diff --git a/build/artoolkit.debug.js b/build/artoolkit.debug.js index c893dae8..82c9659d 100644 --- a/build/artoolkit.debug.js +++ b/build/artoolkit.debug.js @@ -1165,11 +1165,11 @@ function updateGlobalBufferAndViews(buf) { } var STATIC_BASE = 8, - STACK_BASE = 67664, + STACK_BASE = 68512, STACKTOP = STACK_BASE, - STACK_MAX = 5310544, - DYNAMIC_BASE = 5310544, - DYNAMICTOP_PTR = 67472; + STACK_MAX = 5311392, + DYNAMIC_BASE = 5311392, + DYNAMICTOP_PTR = 68320; assert(STACK_BASE % 16 === 0, 'stack must start aligned'); assert(DYNAMIC_BASE % 16 === 0, 'heap must start aligned'); @@ -1575,18 +1575,18 @@ function _emscripten_asm_const_iiiiiiiidddddddddddddddddddddddddi(code, a0, a1, -// STATICTOP = STATIC_BASE + 67656; +// STATICTOP = STATIC_BASE + 68504; /* global initializers */ __ATINIT__.push({ func: function() { __GLOBAL__I_000101() } }, { func: function() { __GLOBAL__sub_I_ARToolKitJS_cpp() } }, { func: function() { ___emscripten_environ_constructor() } }, { func: function() { __GLOBAL__sub_I_bind_cpp() } }, { func: function() { __GLOBAL__sub_I_iostream_cpp() } }); -memoryInitializer = "data:application/octet-stream;base64,AAAAAAAAAAByXQAAeV0AAIVdAACPXQAAnV0AAAAAAAAAAAAAAAAAAP//////////AAAAAAEAAAABAAAAAQAAAAAAAAD/////AAAAAAEAAAABAAAAAQAAAAAAAAD///////////////8AAAABAAEBAQACBP//BQMBAAL/Bgf/AwECAgMCAwIDAwD/BAYHBf8BBAUEBAUFBAUHBgYGBwcHBv8CBAYHBQP/AAEBAQEBAQABAQEAAAEBAQEBAAEBAAEBAQABAQEBAAEBAAEBAQEAAQEBAAEBAAEBAQEBAAABAQEAAQEBAQEBAAD//wP/BQb//wkK/wz//w//ERL/FP//Fxj//xv/HR7//wEC/wT//wcI//8L/w0O/xD//xP/FRb//xka/xz//x8BAAAAAgAAAAQAAAAIAAAAEAAAAAUAAAAKAAAAFAAAAA0AAAAaAAAAEQAAAAcAAAAOAAAAHAAAAB0AAAAfAAAAGwAAABMAAAADAAAABgAAAAwAAAAYAAAAFQAAAA8AAAAeAAAAGQAAABcAAAALAAAAFgAAAAkAAAASAAAAAAAAAAEAAAACAAAABAAAAAgAAAADAAAABgAAAAwAAAALAAAABQAAAAoAAAAHAAAADgAAAA8AAAANAAAACQAAAAAAAAD/////AAAAAAEAAAASAAAAAgAAAAUAAAATAAAACwAAAAMAAAAdAAAABgAAABsAAAAUAAAACAAAAAwAAAAXAAAABAAAAAoAAAAeAAAAEQAAAAcAAAAWAAAAHAAAABoAAAAVAAAAGQAAAAkAAAAQAAAADQAAAA4AAAAYAAAADwAAAP////8AAAAAAQAAAAQAAAACAAAACAAAAAUAAAAKAAAAAwAAAA4AAAAJAAAABwAAAAYAAAANAAAACwAAAAwAAAABAAAAAgAAAAQAAAAIAAAAEAAAACAAAABAAAAAAwAAAAYAAAAMAAAAGAAAADAAAABgAAAAQwAAAAUAAAAKAAAAFAAAACgAAABQAAAAIwAAAEYAAAAPAAAAHgAAADwAAAB4AAAAcwAAAGUAAABJAAAAEQAAACIAAABEAAAACwAAABYAAAAsAAAAWAAAADMAAABmAAAATwAAAB0AAAA6AAAAdAAAAGsAAABVAAAAKQAAAFIAAAAnAAAATgAAAB8AAAA+AAAAfAAAAHsAAAB1AAAAaQAAAFEAAAAhAAAAQgAAAAcAAAAOAAAAHAAAADgAAABwAAAAYwAAAEUAAAAJAAAAEgAAACQAAABIAAAAEwAAACYAAABMAAAAGwAAADYAAABsAAAAWwAAADUAAABqAAAAVwAAAC0AAABaAAAANwAAAG4AAABfAAAAPQAAAHoAAAB3AAAAbQAAAFkAAAAxAAAAYgAAAEcAAAANAAAAGgAAADQAAABoAAAAUwAAACUAAABKAAAAFwAAAC4AAABcAAAAOwAAAHYAAABvAAAAXQAAADkAAAByAAAAZwAAAE0AAAAZAAAAMgAAAGQAAABLAAAAFQAAACoAAABUAAAAKwAAAFYAAAAvAAAAXgAAAD8AAAB+AAAAfwAAAH0AAAB5AAAAcQAAAGEAAABBAAAAAAAAAP////8AAAAAAQAAAAcAAAACAAAADgAAAAgAAAA4AAAAAwAAAD8AAAAPAAAAHwAAAAkAAABaAAAAOQAAABUAAAAEAAAAHAAAAEAAAABDAAAAEAAAAHAAAAAgAAAAYQAAAAoAAABsAAAAWwAAAEYAAAA6AAAAJgAAABYAAAAvAAAABQAAADYAAAAdAAAAEwAAAEEAAABfAAAARAAAAC0AAAARAAAAKwAAAHEAAABzAAAAIQAAAE0AAABiAAAAdQAAAAsAAABXAAAAbQAAACMAAABcAAAASgAAAEcAAABPAAAAOwAAAGgAAAAnAAAAZAAAABcAAABSAAAAMAAAAHcAAAAGAAAAfgAAADcAAAANAAAAHgAAAD4AAAAUAAAAWQAAAEIAAAAbAAAAYAAAAG8AAABFAAAAawAAAC4AAAAlAAAAEgAAADUAAAAsAAAAXgAAAHIAAAAqAAAAdAAAAEwAAAAiAAAAVgAAAE4AAABJAAAAYwAAAGcAAAB2AAAAUQAAAAwAAAB9AAAAWAAAAD0AAABuAAAAGgAAACQAAABqAAAAXQAAADQAAABLAAAAKQAAAEgAAABVAAAAUAAAAGYAAAA8AAAAfAAAAGkAAAAZAAAAKAAAADMAAABlAAAAVAAAABgAAAB7AAAAUwAAADIAAAAxAAAAegAAAHgAAAB5AAAABAAAAIgAAAAFAAAAkAAAAAYAAACYAAAACQAAALAAAAAfZAAAJWQAACpkAAAyZAAAAAAAALK+uT4S3KC+kL45PhLcoL6Qvjm+AAAAgLK+ub4S3KA+kL45vhLcoD6Qvjk+0nIYvwAAAADScpi+OgYEv9JymD46BgS/0nIYPwAAAIDScpg+OgYEP9JymL46BgQ/AAAAgFa4Pb9mTSQ/Vri9vmZNJD9WuL0+AAAAAFa4PT9mTSS/Vri9PmZNJL9WuL2+DOlYPwAAAIAM6dg+mdk7Pwzp2L6Z2Ts/DOlYvwAAAAAM6di+mdk7vwzp2D6Z2Tu/AAAAAPxTbj/xZU6/DVTuPvFlTr8NVO6+AAAAgPxTbr/xZU4/DVTuvvFlTj8NVO4+AACAvwAAAAAAAAC/0LNdvwAAAD/Qs12/AACAPwAAAIAAAAA/0LNdPwAAAL/Qs10/ADcAAAA3AAAANwAAADcAAL2zAADTswAA87MAABi0AAAytAAAUbQAAGa0AACDtAAArbQAAO20AAAMtQAAI7UAADm1AABNtQAAirUAALq1AADWtQAA+bUAADC2AABntgAAfrYAAJ62AADItgAAFbcAADC3AABbtwAAd7cAAJy3AADCtwAA57cAAPq3AAAPuAAAIrgAADW4AABauAAAb7gAAIO4AACkuAAAurgAAOm4AAARuQAAMrkAAFO5AACCuQAAk7kAAK+5AADtuQAAFLoAADu6AABPugAAfboAAKW6AADBugAA5roAAAi7AAAyuwAAXbsAAHu7AACpuwAA0bsAAPi7AAAjvAAAULwAAIC8AACqvAAA17wAAPq8AAAYvQAANr0AAGy9AACWvQAAtb0AANi9AAD/vQAAFL4AACi+AABdvgAAbb4AAKu+AADtvgAAF78AAEO/AABqvwAAhr8AALG/AADMvwAA4L8AAPe/AAAEwAAALMAAAGHAAACdwAAAy8AAAOzAAAATwQAALMEAAFTBAAB3wQAAj8EAALPBAADYwQAA3sEAABfCAABRwgAAcMIAAH/CAACcwgAAusIAANfCAADwwgAACcMAAEvDAACFwwAAu8MAAO/DAAADxAAAGsQAAEDEAABnxAAAqcQAAOXEAAAWxQAAOsUAAGjFAACDxQAAu8UAAObFAAAAAAAAAAAAAAEAAAAIAAAAEAAAAAkAAAACAAAAAwAAAAoAAAARAAAAGAAAACAAAAAZAAAAEgAAAAsAAAAEAAAABQAAAAwAAAATAAAAGgAAACEAAAAoAAAAMAAAACkAAAAiAAAAGwAAABQAAAANAAAABgAAAAcAAAAOAAAAFQAAABwAAAAjAAAAKgAAADEAAAA4AAAAOQAAADIAAAArAAAAJAAAAB0AAAAWAAAADwAAABcAAAAeAAAAJQAAACwAAAAzAAAAOgAAADsAAAA0AAAALQAAACYAAAAfAAAAJwAAAC4AAAA1AAAAPAAAAD0AAAA2AAAALwAAADcAAAA+AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAAAAAAAAQAAAAgAAAAQAAAACQAAAAIAAAADAAAACgAAABEAAAAYAAAAIAAAABkAAAASAAAACwAAAAQAAAAFAAAADAAAABMAAAAaAAAAIQAAACgAAAAwAAAAKQAAACIAAAAbAAAAFAAAAA0AAAAGAAAADgAAABUAAAAcAAAAIwAAACoAAAAxAAAAMgAAACsAAAAkAAAAHQAAABYAAAAeAAAAJQAAACwAAAAzAAAANAAAAC0AAAAmAAAALgAAADUAAAA2AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAAAAAAAAAAAAAAAAAAAAAAABAAAACAAAABAAAAAJAAAAAgAAAAMAAAAKAAAAEQAAABgAAAAgAAAAGQAAABIAAAALAAAABAAAAAUAAAAMAAAAEwAAABoAAAAhAAAAKAAAACkAAAAiAAAAGwAAABQAAAANAAAAFQAAABwAAAAjAAAAKgAAACsAAAAkAAAAHQAAACUAAAAsAAAALQAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAAAAAAAAQAAAAgAAAAQAAAACQAAAAIAAAADAAAACgAAABEAAAAYAAAAIAAAABkAAAASAAAACwAAAAQAAAAMAAAAEwAAABoAAAAhAAAAIgAAABsAAAAUAAAAHAAAACMAAAAkAAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAAAAAAAAAAAAAAAAAAAAAAABAAAACAAAABAAAAAJAAAAAgAAAAMAAAAKAAAAEQAAABgAAAAZAAAAEgAAAAsAAAATAAAAGgAAABsAAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAAAAAAAEAAAAIAAAAEAAAAAkAAAACAAAACgAAABEAAAASAAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAAAAAAAAAAAAAAAAAAAAAAABAAAACAAAAAkAAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAgQEdWg4ChiUQAxQREgQLCBQF2AMXBtoBGQflABwIbwAeCTYAIQoaACMLDQAJDAYACg0DAAwNAQCPD39aJBAlPyYR8iwnEnwgKBO5FyoUghErFe8MLRahCS4XLwcwGFwFMRkGBDMaAwM0G0ACNhyxATgdRAE5HvUAOx+3ADwgigA+IWgAPyJOACAjOwAhCSwApSXhWkAmTEhBJw06QyjxLkQpHyZFKjMfRiuoGUgsGBVJLXcRSi50Dksv+wtNMPgJTjFhCE8yBgcwM80FMjTeBDI1DwQzNmMDNDfUAjU4XAI2OfgBNzqkATg7YAE5PCUBOj32ADs+ywA9P6sAPSCPAMFBEltQQgRNUUMsQVJE2DdTRegvVEY8KVZHeSNXSN8eV0mpGkhKThdISyQUSkycEUpNaw9LTlENTU+2C00wQArQUTJYWFIcTVlTjkNaVN07W1XuNFxWri5dV5opVkcWJdhZcFVfWqlMYFvZRGFcIj5jXSQ4Y160Ml1WFy7fYKhWZWFGT2Zi5UdnY89BaGQ9PGNdXjdpZjFSamcPTGtoOUZnY15B6WonVmxr51BtZ4VLbm2XVW9rT1DubxBacG0iVfBv61lxcR1aAAAAAAAAAAAAAAAAAQAAAAIAAAADAAAAAAAAAAEAAAAFAAAAAgAAAAQAAAAGAAAAAwAAAAcAAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAABgAAAAIAAAAEAAAABwAAAAwAAAADAAAACAAAAAsAAAANAAAACQAAAAoAAAAOAAAADwAAAAAAAAABAAAABQAAAAYAAAAOAAAAAgAAAAQAAAAHAAAADQAAAA8AAAADAAAACAAAAAwAAAAQAAAAFQAAAAkAAAALAAAAEQAAABQAAAAWAAAACgAAABIAAAATAAAAFwAAABgAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAUAAAAGAAAADgAAAA8AAAACAAAABAAAAAcAAAANAAAAEAAAABkAAAADAAAACAAAAAwAAAARAAAAGAAAABoAAAAJAAAACwAAABIAAAAXAAAAGwAAACAAAAAKAAAAEwAAABYAAAAcAAAAHwAAACEAAAAUAAAAFQAAAB0AAAAeAAAAIgAAACMAAAAAAAAAAQAAAAUAAAAGAAAADgAAAA8AAAAbAAAAAgAAAAQAAAAHAAAADQAAABAAAAAaAAAAHAAAAAMAAAAIAAAADAAAABEAAAAZAAAAHQAAACYAAAAJAAAACwAAABIAAAAYAAAAHgAAACUAAAAnAAAACgAAABMAAAAXAAAAHwAAACQAAAAoAAAALQAAABQAAAAWAAAAIAAAACMAAAApAAAALAAAAC4AAAAVAAAAIQAAACIAAAAqAAAAKwAAAC8AAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAABgAAAA4AAAAPAAAAGwAAABwAAAACAAAABAAAAAcAAAANAAAAEAAAABoAAAAdAAAAKgAAAAMAAAAIAAAADAAAABEAAAAZAAAAHgAAACkAAAArAAAACQAAAAsAAAASAAAAGAAAAB8AAAAoAAAALAAAADUAAAAKAAAAEwAAABcAAAAgAAAAJwAAAC0AAAA0AAAANgAAABQAAAAWAAAAIQAAACYAAAAuAAAAMwAAADcAAAA8AAAAFQAAACIAAAAlAAAALwAAADIAAAA4AAAAOwAAAD0AAAAjAAAAJAAAADAAAAAxAAAAOQAAADoAAAA+AAAAPwAAAAAAAAABAAAAAwAAAAcAAAAPAAAAHwAAAD8AAAB/AAAA/wAAAP8BAAD/AwAA/wcAAP8PAAD/HwAA/z8AAP9/AAAAQMVYn1NCSwBASTKjIqgRxVghe/xzYmjFWL9FCzB+GJ9T/HNBbVRin1OzQUEtEhdCS2JoVGJ+WEJLITu6KMMUAEDFWJ9TQksAQEkyoyKoEUkyv0WzQSE7STKCJzcb4A2jIgswQS26KKMiNxu/Eo4JqBF+GBIXwxSoEeANjgnfBAAAAAAAAPA/72FIsVAx9j/Kb02Rruf0P6oRbO9i0PI/AAAAAAAA8D87v6fAaSTpP7sgx3t6UeE/Xaty3lWo0T8AwDDwDMw8/APDM/MPzz//gECwcIxMvHyDQ7Nzj0+/fyDgENAs7BzcI+MT0y/vH9+gYJBQrGycXKNjk1Ovb59fCMg4+ATENPQLyzv7B8c394hIuHiERLR0i0u7e4dHt3co6BjYJOQU1CvrG9sn5xfXqGiYWKRklFSra5tbp2eXVwLCMvIOzj7+AcEx8Q3NPf2CQrJyjk6+foFBsXGNTb19IuIS0i7uHt4h4RHRLe0d3aJiklKubp5eoWGRUa1tnV0Kyjr6BsY29gnJOfkFxTX1ikq6eoZGtnaJSbl5hUW1dSrqGtom5hbWKekZ2SXlFdWqappapmaWVqlpmVmlZZVV3hIElQAAAAD///////////////8AAAAAAAAAAAAAAAACAADAAwAAwAQAAMAFAADABgAAwAcAAMAIAADACQAAwAoAAMALAADADAAAwA0AAMAOAADADwAAwBAAAMARAADAEgAAwBMAAMAUAADAFQAAwBYAAMAXAADAGAAAwBkAAMAaAADAGwAAwBwAAMAdAADAHgAAwB8AAMAAAACzAQAAwwIAAMMDAADDBAAAwwUAAMMGAADDBwAAwwgAAMMJAADDCgAAwwsAAMMMAADDDQAA0w4AAMMPAADDAAAMuwEADMMCAAzDAwAMwwQADNMAAAAA/////////////////////////////////////////////////////////////////wABAgMEBQYHCAn/////////CgsMDQ4PEBESExQVFhcYGRobHB0eHyAhIiP///////8KCwwNDg8QERITFBUWFxgZGhscHR4fICEiI/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////8AAAAAAAAAAAAAAAAAAAARAAoAERERAAAAAAUAAAAAAAAJAAAAAAsAAAAAAAAAABEADwoREREDCgcAARMJCwsAAAkGCwAACwAGEQAAABEREQAAAAAAAAAAAAAAAAAAAAALAAAAAAAAAAARAAoKERERAAoAAAIACQsAAAAJAAsAAAsAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAAAAAAAAAAAAAAADAAAAAAMAAAAAAkMAAAAAAAMAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAA0AAAAEDQAAAAAJDgAAAAAADgAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAPAAAAAA8AAAAACRAAAAAAABAAABAAABIAAAASEhIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEgAAABISEgAAAAAAAAkAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAsAAAAAAAAAAAAAAAoAAAAACgAAAAAJCwAAAAAACwAACwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAAAAAAAAAAAMAAAAAAwAAAAACQwAAAAAAAwAAAwAADAxMjM0NTY3ODlBQkNERUYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgACAAIAAgACAAIAAgACAAIAAyACIAIgAiACIAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAFgBMAEwATABMAEwATABMAEwATABMAEwATABMAEwATACNgI2AjYCNgI2AjYCNgI2AjYCNgEwATABMAEwATABMAEwAjVCNUI1QjVCNUI1QjFCMUIxQjFCMUIxQjFCMUIxQjFCMUIxQjFCMUIxQjFCMUIxQjFCMUEwATABMAEwATABMAI1gjWCNYI1gjWCNYIxgjGCMYIxgjGCMYIxgjGCMYIxgjGCMYIxgjGCMYIxgjGCMYIxgjGBMAEwATABMACAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAgAAAAMAAAAEAAAABQAAAAYAAAAHAAAACAAAAAkAAAAKAAAACwAAAAwAAAANAAAADgAAAA8AAAAQAAAAEQAAABIAAAATAAAAFAAAABUAAAAWAAAAFwAAABgAAAAZAAAAGgAAABsAAAAcAAAAHQAAAB4AAAAfAAAAIAAAACEAAAAiAAAAIwAAACQAAAAlAAAAJgAAACcAAAAoAAAAKQAAACoAAAArAAAALAAAAC0AAAAuAAAALwAAADAAAAAxAAAAMgAAADMAAAA0AAAANQAAADYAAAA3AAAAOAAAADkAAAA6AAAAOwAAADwAAAA9AAAAPgAAAD8AAABAAAAAYQAAAGIAAABjAAAAZAAAAGUAAABmAAAAZwAAAGgAAABpAAAAagAAAGsAAABsAAAAbQAAAG4AAABvAAAAcAAAAHEAAAByAAAAcwAAAHQAAAB1AAAAdgAAAHcAAAB4AAAAeQAAAHoAAABbAAAAXAAAAF0AAABeAAAAXwAAAGAAAABhAAAAYgAAAGMAAABkAAAAZQAAAGYAAABnAAAAaAAAAGkAAABqAAAAawAAAGwAAABtAAAAbgAAAG8AAABwAAAAcQAAAHIAAABzAAAAdAAAAHUAAAB2AAAAdwAAAHgAAAB5AAAAegAAAHsAAAB8AAAAfQAAAH4AAAB/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAgAAAAMAAAAEAAAABQAAAAYAAAAHAAAACAAAAAkAAAAKAAAACwAAAAwAAAANAAAADgAAAA8AAAAQAAAAEQAAABIAAAATAAAAFAAAABUAAAAWAAAAFwAAABgAAAAZAAAAGgAAABsAAAAcAAAAHQAAAB4AAAAfAAAAIAAAACEAAAAiAAAAIwAAACQAAAAlAAAAJgAAACcAAAAoAAAAKQAAACoAAAArAAAALAAAAC0AAAAuAAAALwAAADAAAAAxAAAAMgAAADMAAAA0AAAANQAAADYAAAA3AAAAOAAAADkAAAA6AAAAOwAAADwAAAA9AAAAPgAAAD8AAABAAAAAQQAAAEIAAABDAAAARAAAAEUAAABGAAAARwAAAEgAAABJAAAASgAAAEsAAABMAAAATQAAAE4AAABPAAAAUAAAAFEAAABSAAAAUwAAAFQAAABVAAAAVgAAAFcAAABYAAAAWQAAAFoAAABbAAAAXAAAAF0AAABeAAAAXwAAAGAAAABBAAAAQgAAAEMAAABEAAAARQAAAEYAAABHAAAASAAAAEkAAABKAAAASwAAAEwAAABNAAAATgAAAE8AAABQAAAAUQAAAFIAAABTAAAAVAAAAFUAAABWAAAAVwAAAFgAAABZAAAAWgAAAHsAAAB8AAAAfQAAAH4AAAB/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAZEkQ7Aj8sRxQ9MzAKGwZGS0U3D0kOjhcDQB08aSs2H0otHAEgJSkhCAwVFiIuEDg+CzQxGGR0dXYvQQl/OREjQzJCiYqLBQQmKCcNKh41jAcaSJMTlJUAAAAAAAAAAABJbGxlZ2FsIGJ5dGUgc2VxdWVuY2UARG9tYWluIGVycm9yAFJlc3VsdCBub3QgcmVwcmVzZW50YWJsZQBOb3QgYSB0dHkAUGVybWlzc2lvbiBkZW5pZWQAT3BlcmF0aW9uIG5vdCBwZXJtaXR0ZWQATm8gc3VjaCBmaWxlIG9yIGRpcmVjdG9yeQBObyBzdWNoIHByb2Nlc3MARmlsZSBleGlzdHMAVmFsdWUgdG9vIGxhcmdlIGZvciBkYXRhIHR5cGUATm8gc3BhY2UgbGVmdCBvbiBkZXZpY2UAT3V0IG9mIG1lbW9yeQBSZXNvdXJjZSBidXN5AEludGVycnVwdGVkIHN5c3RlbSBjYWxsAFJlc291cmNlIHRlbXBvcmFyaWx5IHVuYXZhaWxhYmxlAEludmFsaWQgc2VlawBDcm9zcy1kZXZpY2UgbGluawBSZWFkLW9ubHkgZmlsZSBzeXN0ZW0ARGlyZWN0b3J5IG5vdCBlbXB0eQBDb25uZWN0aW9uIHJlc2V0IGJ5IHBlZXIAT3BlcmF0aW9uIHRpbWVkIG91dABDb25uZWN0aW9uIHJlZnVzZWQASG9zdCBpcyBkb3duAEhvc3QgaXMgdW5yZWFjaGFibGUAQWRkcmVzcyBpbiB1c2UAQnJva2VuIHBpcGUASS9PIGVycm9yAE5vIHN1Y2ggZGV2aWNlIG9yIGFkZHJlc3MAQmxvY2sgZGV2aWNlIHJlcXVpcmVkAE5vIHN1Y2ggZGV2aWNlAE5vdCBhIGRpcmVjdG9yeQBJcyBhIGRpcmVjdG9yeQBUZXh0IGZpbGUgYnVzeQBFeGVjIGZvcm1hdCBlcnJvcgBJbnZhbGlkIGFyZ3VtZW50AEFyZ3VtZW50IGxpc3QgdG9vIGxvbmcAU3ltYm9saWMgbGluayBsb29wAEZpbGVuYW1lIHRvbyBsb25nAFRvbyBtYW55IG9wZW4gZmlsZXMgaW4gc3lzdGVtAE5vIGZpbGUgZGVzY3JpcHRvcnMgYXZhaWxhYmxlAEJhZCBmaWxlIGRlc2NyaXB0b3IATm8gY2hpbGQgcHJvY2VzcwBCYWQgYWRkcmVzcwBGaWxlIHRvbyBsYXJnZQBUb28gbWFueSBsaW5rcwBObyBsb2NrcyBhdmFpbGFibGUAUmVzb3VyY2UgZGVhZGxvY2sgd291bGQgb2NjdXIAU3RhdGUgbm90IHJlY292ZXJhYmxlAFByZXZpb3VzIG93bmVyIGRpZWQAT3BlcmF0aW9uIGNhbmNlbGVkAEZ1bmN0aW9uIG5vdCBpbXBsZW1lbnRlZABObyBtZXNzYWdlIG9mIGRlc2lyZWQgdHlwZQBJZGVudGlmaWVyIHJlbW92ZWQARGV2aWNlIG5vdCBhIHN0cmVhbQBObyBkYXRhIGF2YWlsYWJsZQBEZXZpY2UgdGltZW91dABPdXQgb2Ygc3RyZWFtcyByZXNvdXJjZXMATGluayBoYXMgYmVlbiBzZXZlcmVkAFByb3RvY29sIGVycm9yAEJhZCBtZXNzYWdlAEZpbGUgZGVzY3JpcHRvciBpbiBiYWQgc3RhdGUATm90IGEgc29ja2V0AERlc3RpbmF0aW9uIGFkZHJlc3MgcmVxdWlyZWQATWVzc2FnZSB0b28gbGFyZ2UAUHJvdG9jb2wgd3JvbmcgdHlwZSBmb3Igc29ja2V0AFByb3RvY29sIG5vdCBhdmFpbGFibGUAUHJvdG9jb2wgbm90IHN1cHBvcnRlZABTb2NrZXQgdHlwZSBub3Qgc3VwcG9ydGVkAE5vdCBzdXBwb3J0ZWQAUHJvdG9jb2wgZmFtaWx5IG5vdCBzdXBwb3J0ZWQAQWRkcmVzcyBmYW1pbHkgbm90IHN1cHBvcnRlZCBieSBwcm90b2NvbABBZGRyZXNzIG5vdCBhdmFpbGFibGUATmV0d29yayBpcyBkb3duAE5ldHdvcmsgdW5yZWFjaGFibGUAQ29ubmVjdGlvbiByZXNldCBieSBuZXR3b3JrAENvbm5lY3Rpb24gYWJvcnRlZABObyBidWZmZXIgc3BhY2UgYXZhaWxhYmxlAFNvY2tldCBpcyBjb25uZWN0ZWQAU29ja2V0IG5vdCBjb25uZWN0ZWQAQ2Fubm90IHNlbmQgYWZ0ZXIgc29ja2V0IHNodXRkb3duAE9wZXJhdGlvbiBhbHJlYWR5IGluIHByb2dyZXNzAE9wZXJhdGlvbiBpbiBwcm9ncmVzcwBTdGFsZSBmaWxlIGhhbmRsZQBSZW1vdGUgSS9PIGVycm9yAFF1b3RhIGV4Y2VlZGVkAE5vIG1lZGl1bSBmb3VuZABXcm9uZyBtZWRpdW0gdHlwZQBObyBlcnJvciBpbmZvcm1hdGlvbgAAAAAAAAoAAABkAAAA6AMAABAnAACghgEAQEIPAICWmAAA4fUFTENfQ1RZUEUAAAAATENfTlVNRVJJQwAATENfVElNRQAAAAAATENfQ09MTEFURQAATENfTU9ORVRBUlkATENfTUVTU0FHRVMAAAAAAAAAAAAAAAAAAgAAAAMAAAAFAAAABwAAAAsAAAANAAAAEQAAABMAAAAXAAAAHQAAAB8AAAAlAAAAKQAAACsAAAAvAAAANQAAADsAAAA9AAAAQwAAAEcAAABJAAAATwAAAFMAAABZAAAAYQAAAGUAAABnAAAAawAAAG0AAABxAAAAfwAAAIMAAACJAAAAiwAAAJUAAACXAAAAnQAAAKMAAACnAAAArQAAALMAAAC1AAAAvwAAAMEAAADFAAAAxwAAANMAAAABAAAACwAAAA0AAAARAAAAEwAAABcAAAAdAAAAHwAAACUAAAApAAAAKwAAAC8AAAA1AAAAOwAAAD0AAABDAAAARwAAAEkAAABPAAAAUwAAAFkAAABhAAAAZQAAAGcAAABrAAAAbQAAAHEAAAB5AAAAfwAAAIMAAACJAAAAiwAAAI8AAACVAAAAlwAAAJ0AAACjAAAApwAAAKkAAACtAAAAswAAALUAAAC7AAAAvwAAAMEAAADFAAAAxwAAANEAAAAwMTIzNDU2Nzg5YWJjZGVmQUJDREVGeFgrLXBQaUluTgAAAAAAAAAAAAAAAAAAAAAlAAAAbQAAAC8AAAAlAAAAZAAAAC8AAAAlAAAAeQAAACUAAABZAAAALQAAACUAAABtAAAALQAAACUAAABkAAAAJQAAAEkAAAA6AAAAJQAAAE0AAAA6AAAAJQAAAFMAAAAgAAAAJQAAAHAAAAAAAAAAJQAAAEgAAAA6AAAAJQAAAE0AAAAAAAAAAAAAAAAAAAAlAAAASAAAADoAAAAlAAAATQAAADoAAAAlAAAAUwAAACUAAABIAAAAOgAAACUAAABNAAAAOgAAACUAAABTAAAA3EMAAP1sAAAERAAAcXkAAIAzAAAAAAAABEQAAFx8AAA4NgAAAAAAAAREAAALhwAAUEEAAAAAAAAERAAAc5cAAFBBAAAAAAAABEQAAOeXAABQQQAAAAAAAHBEAADNrgAAAAAAAAEAAADwMwAAAAAAANxDAAAMrwAABQAAAAAAAAAAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAEAAAB2BwEAAAAAAAAAAAAAAAAAAgAAAAAAAAAAAAAAAAAA//////8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACQAAAAAAAAAAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAACAAAAAAAAAAEAAAA47wAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP////8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAIAAABI8wAAAAQAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAACv////8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA//////8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA3EMAAC3HAAAERAAAjccAAFA2AAAAAAAABEQAADrHAABgNgAAAAAAANxDAABbxwAABEQAAGjHAABANgAAAAAAAAREAADXxwAAODYAAAAAAAAERAAA58cAAHg2AAAAAAAABEQAAPjHAABQNgAAAAAAAAREAAAayAAAmDYAAAAAAAAERAAAXMgAAFA2AAAAAAAAVEQAAITIAABURAAAhsgAAFREAACIyAAAVEQAAIrIAABURAAAjMgAAFREAACOyAAAVEQAAJDIAABURAAAksgAAFREAACUyAAAVEQAADvnAABURAAAlsgAAFREAACYyAAAVEQAAJrIAAAERAAAnMgAAEA2AAAAAAAABEQAAKDJAABQNwAAAAAAANxDAADPyQAABEQAAHfKAABQNwAAAAAAAAREAAC6ygAAUDcAAAAAAAAERAAAB8sAAFA3AAAAAAAABEQAAE3LAABQNwAAAAAAAAREAAB9ywAAUDcAAAAAAAAERAAAu8sAAFA3AAAAAAAABEQAAOzLAABQNwAAAAAAAAREAAA3zAAAUDcAAAAAAAAERAAAcMwAAFA3AAAAAAAABEQAAKvMAABQNwAAAAAAAAREAADnzAAAUDcAAAAAAAAERAAAH80AAFA3AAAAAAAABEQAAE3NAABQNwAAAAAAAAREAACAzQAAUDcAAAAAAAAERAAAPM4AAFA3AAAAAAAABEQAAGnOAABQNwAAAAAAAAREAACazgAAUDcAAAAAAAAERAAA2M4AAFA3AAAAAAAABEQAAFDPAABQNwAAAAAAAAREAAAVzwAAUDcAAAAAAAAERAAAl88AAFA3AAAAAAAABEQAAODPAABQNwAAAAAAAAREAAA70AAAUDcAAAAAAAAERAAAZtAAAFA3AAAAAAAABEQAAKDQAABQNwAAAAAAAAREAADU0AAAUDcAAAAAAAAERAAAJNEAAFA3AAAAAAAABEQAAFPRAABQNwAAAAAAAAREAACM0QAAUDcAAAAAAAAERAAAxdEAAFA3AAAAAAAABEQAAOrTAABQNwAAAAAAAAREAAA41AAAUDcAAAAAAAAERAAAc9QAAFA3AAAAAAAABEQAAJ/UAABQNwAAAAAAAAREAADp1AAAUDcAAAAAAAAERAAAHtUAAFA3AAAAAAAABEQAAFHVAABQNwAAAAAAAAREAACI1QAAUDcAAAAAAAAERAAAvdUAAFA3AAAAAAAABEQAAFPWAABQNwAAAAAAAAREAACF1gAAUDcAAAAAAAAERAAAt9YAAFA3AAAAAAAABEQAAA/XAABQNwAAAAAAAAREAABX1wAAUDcAAAAAAAAERAAAj9cAAFA3AAAAAAAABEQAAN3XAABQNwAAAAAAAAREAAAc2AAAUDcAAAAAAAAERAAAX9gAAFA3AAAAAAAABEQAAJDYAABQNwAAAAAAAAREAADK2QAAUDcAAAAAAAAERAAACtoAAFA3AAAAAAAABEQAAD3aAABQNwAAAAAAAAREAAB32gAAUDcAAAAAAAAERAAAsNoAAFA3AAAAAAAABEQAAO3aAABQNwAAAAAAAAREAABj2wAAUDcAAAAAAAAERAAAj9sAAFA3AAAAAAAABEQAAMXbAABQNwAAAAAAAAREAAAZ3AAAUDcAAAAAAAAERAAAUdwAAFA3AAAAAAAABEQAAJTcAABQNwAAAAAAAAREAADF3AAAUDcAAAAAAAAERAAA9dwAAFA3AAAAAAAABEQAADDdAABQNwAAAAAAAAREAABy3QAAUDcAAAAAAAAERAAAYd4AAFA3AAAAAAAA3EMAAAniAADcQwAAKOIAANxDAABH4gAA3EMAAGbiAADcQwAAheIAANxDAACk4gAA3EMAAMPiAADcQwAA4uIAANxDAAAB4wAA3EMAACDjAADcQwAAP+MAANxDAABe4wAA3EMAAH3jAABwRAAAkOMAAAAAAAABAAAA8DMAAAAAAABwRAAAz+MAAAAAAAABAAAA8DMAAAAAAAAERAAAIOQAACA8AAAAAAAA3EMAAA7kAAAERAAASuQAACA8AAAAAAAA3EMAAHTkAADcQwAApeQAAHBEAADW5AAAAAAAAAEAAAAQPAAAA/T//3BEAAAF5QAAAAAAAAEAAAAoPAAAA/T//3BEAAA05QAAAAAAAAEAAAAQPAAAA/T//3BEAABj5QAAAAAAAAEAAAAoPAAAA/T//wREAACS5QAAQDwAAAAAAAAERAAAq+UAADg8AAAAAAAABEQAAOrlAABAPAAAAAAAAAREAAAC5gAAODwAAAAAAAAERAAAGuYAAPg8AAAAAAAABEQAAC7mAABIQQAAAAAAAAREAABE5gAA+DwAAAAAAABwRAAAXeYAAAAAAAACAAAA+DwAAAIAAAA4PQAAAAAAAHBEAACh5gAAAAAAAAEAAABQPQAAAAAAANxDAAC35gAAcEQAANDmAAAAAAAAAgAAAPg8AAACAAAAeD0AAAAAAABwRAAAFOcAAAAAAAABAAAAUD0AAAAAAABwRAAAPecAAAAAAAACAAAA+DwAAAIAAACwPQAAAAAAAHBEAACB5wAAAAAAAAEAAADIPQAAAAAAANxDAACX5wAAcEQAALDnAAAAAAAAAgAAAPg8AAACAAAA8D0AAAAAAABwRAAA9OcAAAAAAAABAAAAyD0AAAAAAABwRAAASukAAAAAAAADAAAA+DwAAAIAAAAwPgAAAgAAADg+AAAACAAA3EMAALHpAADcQwAAj+kAAHBEAADE6QAAAAAAAAMAAAD4PAAAAgAAADA+AAACAAAAaD4AAAAIAADcQwAACeoAAHBEAAAr6gAAAAAAAAIAAAD4PAAAAgAAAJA+AAAACAAA3EMAAHDqAABwRAAAheoAAAAAAAACAAAA+DwAAAIAAACQPgAAAAgAAHBEAADK6gAAAAAAAAIAAAD4PAAAAgAAANg+AAACAAAA3EMAAObqAABwRAAA++oAAAAAAAACAAAA+DwAAAIAAADYPgAAAgAAAHBEAAAX6wAAAAAAAAIAAAD4PAAAAgAAANg+AAACAAAAcEQAADPrAAAAAAAAAgAAAPg8AAACAAAA2D4AAAIAAABwRAAAXusAAAAAAAACAAAA+DwAAAIAAABgPwAAAAAAANxDAACk6wAAcEQAAMjrAAAAAAAAAgAAAPg8AAACAAAAiD8AAAAAAADcQwAADuwAAHBEAAAt7AAAAAAAAAIAAAD4PAAAAgAAALA/AAAAAAAA3EMAAHPsAABwRAAAjOwAAAAAAAACAAAA+DwAAAIAAADYPwAAAAAAANxDAADS7AAAcEQAAOvsAAAAAAAAAgAAAPg8AAACAAAAAEAAAAIAAADcQwAAAO0AAHBEAACX7QAAAAAAAAIAAAD4PAAAAgAAAABAAAACAAAABEQAABjtAAA4QAAAAAAAAHBEAAA77QAAAAAAAAIAAAD4PAAAAgAAAFhAAAACAAAA3EMAAF7tAAAERAAAde0AADhAAAAAAAAAcEQAAKztAAAAAAAAAgAAAPg8AAACAAAAWEAAAAIAAABwRAAAzu0AAAAAAAACAAAA+DwAAAIAAABYQAAAAgAAAHBEAADw7QAAAAAAAAIAAAD4PAAAAgAAAFhAAAACAAAABEQAABPuAAD4PAAAAAAAAHBEAAAp7gAAAAAAAAIAAAD4PAAAAgAAAABBAAACAAAA3EMAADvuAABwRAAAUO4AAAAAAAACAAAA+DwAAAIAAAAAQQAAAgAAAAREAABt7gAA+DwAAAAAAAAERAAAgu4AAPg8AAAAAAAA3EMAAJfuAABwRAAAsO4AAAAAAAABAAAASEEAAAAAAAABAAAAAAAAAIgzAAABAAAAAgAAAAAAAACAMwAAAwAAAAQAAAAAAAAAmDMAAAUAAAAGAAAAAQAAALlSjD6OWuc+uVKMPgAAAACoMwAABwAAAAgAAAAJAAAAAQAAAAoAAAAAAAAAuDMAAAcAAAALAAAADAAAAAIAAAANAAAAAAAAAMgzAAAHAAAADgAAAA8AAAADAAAAEAAAAP/////+/////f///8g2AAAANwAAIDcAAMg2AAAANwAAADcAACg3AAAANwAAyDYAAAA3AAAoNwAAADcAAMg2AAAANwAAADcAANgzAAAANwAAADcAAAA3AAAANwAAADcAANgzAAAANwAAADcAAAEAAAAAAAAAAgAAAEAGAACAPgAAAAAAAIgTAABAFgAAFAAAAEMuVVRGLTgAAAAAAAAAAAAAAAAAiEIAAAAAAAAAAAAAAAAAAAAAAAAAAAAA+DMAAIg0AAAYNQAAGDUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAARP8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgGwAAIB8AACAlAABfcIkA/wkvDwAAAABANgAAEQAAABIAAAATAAAAFAAAAAQAAAABAAAAAQAAAAEAAAAAAAAAaDYAABEAAAAVAAAAEwAAABQAAAAEAAAAAgAAAAIAAAACAAAAAAAAAHg2AAAWAAAAFwAAAAQAAAAAAAAAiDYAABYAAAAYAAAABAAAAAAAAAC4NgAAEQAAABkAAAATAAAAFAAAAAUAAAAAAAAAMDcAABEAAAAaAAAAEwAAABQAAAAEAAAAAwAAAAMAAAADAAAAAAAAAEA3AAAEAAAABQAAAAYAAAAHAAAAAQAAAAIAAAADAAAAGwAAABwAAAAAAAAAUDcAAAQAAAAFAAAABgAAAAcAAAABAAAAAgAAAAMAAAAbAAAAHQAAAAAAAABYNwAABAAAAAUAAAAGAAAABwAAAAQAAAACAAAABQAAABsAAAAeAAAAAAAAAGg3AAAEAAAABQAAAAYAAAAHAAAABgAAAAIAAAADAAAAGwAAAB8AAAAAAAAAeDcAAAgAAAAFAAAABgAAAAcAAAAHAAAACAAAAAMAAAAbAAAAIAAAAAAAAACINwAACQAAAAUAAAAGAAAABwAAAAkAAAAKAAAAAwAAABsAAAAhAAAAAAAAAJg3AAAEAAAABQAAAAYAAAAHAAAACwAAAAIAAAAMAAAAGwAAACIAAAAAAAAAqDcAAAQAAAAFAAAABgAAAAcAAAANAAAAAgAAAAMAAAAbAAAAIwAAAAAAAAC4NwAACgAAAAsAAAAMAAAADQAAAA4AAAAPAAAAAwAAABsAAAAkAAAAAAAAAMg3AAAEAAAABQAAAAYAAAAHAAAAEAAAAAIAAAADAAAAGwAAACUAAAAAAAAA2DcAAAQAAAAFAAAABgAAAAcAAAARAAAAAgAAAAMAAAAbAAAAJgAAAAAAAADoNwAABAAAAAUAAAAGAAAABwAAABIAAAACAAAAAwAAABsAAAAnAAAAAAAAAPg3AAAEAAAABQAAAAYAAAAHAAAAEwAAAAIAAAADAAAAGwAAACgAAAAAAAAACDgAAAQAAAAFAAAABgAAAAcAAAAUAAAAAgAAAAMAAAAbAAAAKQAAAAAAAAAYOAAABAAAAAUAAAAGAAAABwAAABUAAAACAAAAAwAAABsAAAAqAAAAAAAAACg4AAAEAAAABQAAAAYAAAAHAAAAFgAAAAIAAAADAAAAGwAAACsAAAAAAAAAODgAAAQAAAAFAAAABgAAAAcAAAAXAAAAAgAAAAMAAAAbAAAALAAAAAAAAABIOAAABAAAAAUAAAAGAAAABwAAABgAAAACAAAAAwAAABsAAAAtAAAAAAAAAFg4AAAEAAAABQAAAAYAAAAHAAAAGQAAAAIAAAADAAAAGwAAAC4AAAAAAAAAaDgAAAQAAAAFAAAABgAAAAcAAAAaAAAAAgAAAAMAAAAbAAAALwAAAAAAAAB4OAAABAAAAAUAAAAGAAAABwAAABsAAAACAAAAAwAAABsAAAAwAAAAAAAAAIg4AAAEAAAABQAAAAYAAAAHAAAAHAAAAAIAAAADAAAAGwAAADEAAAAAAAAAmDgAAAQAAAAFAAAABgAAAAcAAAAdAAAAAgAAAAMAAAAbAAAAMgAAAAAAAACoOAAABAAAAAUAAAAGAAAABwAAAB4AAAACAAAAAwAAABsAAAAzAAAAAAAAALg4AAAEAAAABQAAAAYAAAAHAAAAHwAAAAIAAAADAAAAGwAAADQAAAAAAAAAyDgAAAQAAAAFAAAABgAAAAcAAAAgAAAAAgAAAAMAAAAbAAAANQAAAAAAAADYOAAABAAAAAUAAAAGAAAABwAAACEAAAACAAAAAwAAABsAAAA2AAAAAAAAAOg4AAAEAAAABQAAAAYAAAAHAAAAIgAAAAIAAAADAAAAGwAAADcAAAAAAAAA+DgAAAQAAAAFAAAABgAAAAcAAAAjAAAAAgAAACQAAAAbAAAAOAAAAAAAAAAIOQAABAAAAAUAAAAGAAAABwAAACUAAAACAAAAAwAAABsAAAA5AAAAAAAAABg5AAAEAAAABQAAAAYAAAAHAAAAJgAAAAIAAAADAAAAGwAAADoAAAAAAAAAKDkAAAQAAAAFAAAABgAAAAcAAAAnAAAAAgAAACgAAAAbAAAAOwAAAAAAAAA4OQAABAAAAAUAAAAGAAAABwAAACkAAAACAAAAAwAAABsAAAA8AAAAAAAAAEg5AAAEAAAABQAAAAYAAAAHAAAAKgAAAAIAAAADAAAAGwAAAD0AAAAAAAAAWDkAAAQAAAAFAAAABgAAAAcAAAArAAAAAgAAAAMAAAAbAAAAPgAAAAAAAABoOQAABAAAAAUAAAAGAAAABwAAACwAAAACAAAALQAAABsAAAA/AAAAAAAAAHg5AAAEAAAABQAAAAYAAAAHAAAALgAAAAIAAAADAAAAGwAAAEAAAAAAAAAAiDkAAAQAAAAFAAAABgAAAAcAAAAvAAAAAgAAAAMAAAAbAAAAQQAAAAAAAACYOQAABAAAAAUAAAAGAAAABwAAADAAAAACAAAAAwAAABsAAABCAAAAAAAAAKg5AAAEAAAABQAAAAYAAAAHAAAAMQAAAAIAAAADAAAAGwAAAEMAAAAAAAAAuDkAAAQAAAAFAAAABgAAAAcAAAAyAAAAAgAAAAMAAAAbAAAARAAAAAAAAADIOQAABAAAAAUAAAAGAAAABwAAADMAAAACAAAAAwAAABsAAABFAAAAAAAAANg5AAAEAAAABQAAAAYAAAAHAAAANAAAAAIAAAADAAAAGwAAAEYAAAAAAAAA6DkAAA4AAAAPAAAAEAAAABEAAAA1AAAANgAAAAMAAAAbAAAARwAAAAAAAAD4OQAABAAAAAUAAAAGAAAABwAAADcAAAACAAAAAwAAABsAAABIAAAAAAAAAAg6AAAEAAAABQAAAAYAAAAHAAAAOAAAAAIAAAA5AAAAGwAAAEkAAAAAAAAAGDoAAAQAAAAFAAAABgAAAAcAAAA6AAAAAgAAAAMAAAAbAAAASgAAAAAAAAAoOgAABAAAAAUAAAAGAAAABwAAADsAAAACAAAAAwAAABsAAABLAAAAAAAAADg6AAAEAAAABQAAAAYAAAAHAAAAPAAAAAIAAAADAAAAGwAAAEwAAAAAAAAASDoAAAQAAAAFAAAABgAAAAcAAAA9AAAAAgAAAAMAAAAbAAAATQAAAAAAAABYOgAABAAAAAUAAAAGAAAABwAAAD4AAAACAAAAAwAAABsAAABOAAAAAAAAAGg6AAAEAAAABQAAAAYAAAAHAAAAPwAAAAIAAABAAAAAGwAAAE8AAAAAAAAAeDoAAAQAAAAFAAAABgAAAAcAAABBAAAAAgAAAEIAAAAbAAAAUAAAAAAAAACIOgAAEgAAAAUAAAAGAAAABwAAAEMAAABEAAAAAwAAABsAAABRAAAAAAAAAJg6AAATAAAAFAAAAAYAAAAHAAAARQAAAEYAAAADAAAAGwAAAFIAAAAAAAAAqDoAAAQAAAAFAAAABgAAAAcAAABHAAAAAgAAAAMAAAAbAAAAUwAAAAAAAAC4OgAABAAAAAUAAAAGAAAABwAAAEgAAAACAAAAAwAAABsAAABUAAAAAAAAAMg6AAAVAAAAFgAAABcAAAAHAAAASQAAAEoAAAADAAAAGwAAAFUAAAAAAAAA2DoAAAQAAAAFAAAABgAAAAcAAABLAAAAAgAAAAMAAAAbAAAAVgAAAAAAAADoOgAABAAAAAUAAAAGAAAABwAAAEwAAAACAAAAAwAAABsAAABXAAAAAAAAAPg6AAAYAAAABQAAABkAAAAHAAAATQAAAE4AAAADAAAAGwAAAFgAAAAAAAAACDsAAAQAAAAFAAAABgAAAAcAAABPAAAAAgAAAAMAAAAbAAAAWQAAAAAAAAAYOwAABAAAAAUAAAAGAAAABwAAAFAAAAACAAAAAwAAABsAAABaAAAAAAAAACg7AAAEAAAABQAAAAYAAAAHAAAAUQAAAAIAAAADAAAAGwAAAFsAAAAAAAAAODsAAAQAAAAFAAAABgAAAAcAAABSAAAAAgAAAAMAAAAbAAAAXAAAAAAAAABIOwAAGgAAAAUAAAAbAAAABwAAAFMAAABUAAAAAwAAABsAAABdAAAAAAAAAFg7AAAEAAAABQAAAAYAAAAHAAAAVQAAAAIAAAADAAAAGwAAAF4AAAAAAAAAaDsAAAQAAAAFAAAABgAAAAcAAABWAAAAAgAAAAMAAAAbAAAAXwAAAAAAAAAgPAAAYAAAAGEAAAAAAAAAODwAAGIAAABjAAAAVwAAAAYAAAAEAAAABAAAAAUAAAAGAAAABwAAAAcAAAAIAAAAHAAAAAgAAAAdAAAAAAAAAEA8AABkAAAAZQAAAFgAAAAJAAAABQAAAAUAAAAJAAAACgAAAAoAAAALAAAADAAAAB4AAAALAAAAHwAAAAgAAAAAAAAASDwAAGYAAABnAAAA+P////j///9IPAAAaAAAAGkAAADcUAAA8FAAAAgAAAAAAAAAYDwAAGoAAABrAAAA+P////j///9gPAAAbAAAAG0AAAAMUQAAIFEAAAQAAAAAAAAAeDwAAG4AAABvAAAA/P////z///94PAAAcAAAAHEAAAA8UQAAUFEAAAQAAAAAAAAAkDwAAHIAAABzAAAA/P////z///+QPAAAdAAAAHUAAABsUQAAgFEAAAAAAACoPAAAZAAAAHYAAABZAAAACQAAAAUAAAAFAAAADQAAAAoAAAAKAAAACwAAAAwAAAAeAAAADAAAACAAAAAAAAAAuDwAAGIAAAB3AAAAWgAAAAYAAAAEAAAABAAAAA4AAAAGAAAABwAAAAcAAAAIAAAAHAAAAA0AAAAhAAAAAAAAAMg8AABkAAAAeAAAAFsAAAAJAAAABQAAAAUAAAAJAAAACgAAAAoAAAAPAAAAEAAAACIAAAALAAAAHwAAAAAAAADYPAAAYgAAAHkAAABcAAAABgAAAAQAAAAEAAAABQAAAAYAAAAHAAAAEQAAABIAAAAjAAAACAAAAB0AAAAAAAAA6DwAAHoAAAB7AAAAfAAAAAEAAAAGAAAADgAAAAAAAAAIPQAAfQAAAH4AAAB8AAAAAgAAAAcAAAAPAAAAAAAAABg9AAB/AAAAgAAAAHwAAAABAAAAAgAAAAMAAAAEAAAABQAAAAYAAAAHAAAACAAAAAkAAAAKAAAACwAAAAAAAABYPQAAgQAAAIIAAAB8AAAADAAAAA0AAAAOAAAADwAAABAAAAARAAAAEgAAABMAAAAUAAAAFQAAABYAAAAAAAAAkD0AAIMAAACEAAAAfAAAAAMAAAAEAAAAFwAAAAUAAAAYAAAAAQAAAAIAAAAGAAAAAAAAANA9AACFAAAAhgAAAHwAAAAHAAAACAAAABkAAAAJAAAAGgAAAAMAAAAEAAAACgAAAAAAAAAIPgAAhwAAAIgAAAB8AAAAEwAAABsAAAAcAAAAHQAAAB4AAAAfAAAAAQAAAPj///8IPgAAFAAAABUAAAAWAAAAFwAAABgAAAAZAAAAGgAAAAAAAABAPgAAiQAAAIoAAAB8AAAAGwAAACAAAAAhAAAAIgAAACMAAAAkAAAAAgAAAPj///9APgAAHAAAAB0AAAAeAAAAHwAAACAAAAAhAAAAIgAAACUAAABIAAAAOgAAACUAAABNAAAAOgAAACUAAABTAAAAAAAAACUAAABtAAAALwAAACUAAABkAAAALwAAACUAAAB5AAAAAAAAACUAAABJAAAAOgAAACUAAABNAAAAOgAAACUAAABTAAAAIAAAACUAAABwAAAAAAAAACUAAABhAAAAIAAAACUAAABiAAAAIAAAACUAAABkAAAAIAAAACUAAABIAAAAOgAAACUAAABNAAAAOgAAACUAAABTAAAAIAAAACUAAABZAAAAAAAAAEEAAABNAAAAAAAAAFAAAABNAAAAAAAAAEoAAABhAAAAbgAAAHUAAABhAAAAcgAAAHkAAAAAAAAARgAAAGUAAABiAAAAcgAAAHUAAABhAAAAcgAAAHkAAAAAAAAATQAAAGEAAAByAAAAYwAAAGgAAAAAAAAAQQAAAHAAAAByAAAAaQAAAGwAAAAAAAAATQAAAGEAAAB5AAAAAAAAAEoAAAB1AAAAbgAAAGUAAAAAAAAASgAAAHUAAABsAAAAeQAAAAAAAABBAAAAdQAAAGcAAAB1AAAAcwAAAHQAAAAAAAAAUwAAAGUAAABwAAAAdAAAAGUAAABtAAAAYgAAAGUAAAByAAAAAAAAAE8AAABjAAAAdAAAAG8AAABiAAAAZQAAAHIAAAAAAAAATgAAAG8AAAB2AAAAZQAAAG0AAABiAAAAZQAAAHIAAAAAAAAARAAAAGUAAABjAAAAZQAAAG0AAABiAAAAZQAAAHIAAAAAAAAASgAAAGEAAABuAAAAAAAAAEYAAABlAAAAYgAAAAAAAABNAAAAYQAAAHIAAAAAAAAAQQAAAHAAAAByAAAAAAAAAEoAAAB1AAAAbgAAAAAAAABKAAAAdQAAAGwAAAAAAAAAQQAAAHUAAABnAAAAAAAAAFMAAABlAAAAcAAAAAAAAABPAAAAYwAAAHQAAAAAAAAATgAAAG8AAAB2AAAAAAAAAEQAAABlAAAAYwAAAAAAAABTAAAAdQAAAG4AAABkAAAAYQAAAHkAAAAAAAAATQAAAG8AAABuAAAAZAAAAGEAAAB5AAAAAAAAAFQAAAB1AAAAZQAAAHMAAABkAAAAYQAAAHkAAAAAAAAAVwAAAGUAAABkAAAAbgAAAGUAAABzAAAAZAAAAGEAAAB5AAAAAAAAAFQAAABoAAAAdQAAAHIAAABzAAAAZAAAAGEAAAB5AAAAAAAAAEYAAAByAAAAaQAAAGQAAABhAAAAeQAAAAAAAABTAAAAYQAAAHQAAAB1AAAAcgAAAGQAAABhAAAAeQAAAAAAAABTAAAAdQAAAG4AAAAAAAAATQAAAG8AAABuAAAAAAAAAFQAAAB1AAAAZQAAAAAAAABXAAAAZQAAAGQAAAAAAAAAVAAAAGgAAAB1AAAAAAAAAEYAAAByAAAAaQAAAAAAAABTAAAAYQAAAHQAAAAAAAAAAAAAAHA+AACLAAAAjAAAAHwAAAABAAAAAAAAAJg+AACNAAAAjgAAAHwAAAACAAAAAAAAALg+AACPAAAAkAAAAHwAAAAjAAAAJAAAAF0AAABeAAAAXwAAAGAAAAAlAAAAYQAAAGIAAAAAAAAA4D4AAJEAAACSAAAAfAAAACYAAAAnAAAAYwAAAGQAAABlAAAAZgAAACgAAABnAAAAaAAAAAAAAAAAPwAAkwAAAJQAAAB8AAAAKQAAACoAAABpAAAAagAAAGsAAABsAAAAKwAAAG0AAABuAAAAAAAAACA/AACVAAAAlgAAAHwAAAAsAAAALQAAAG8AAABwAAAAcQAAAHIAAAAuAAAAcwAAAHQAAAAAAAAAQD8AAJcAAACYAAAAfAAAAAMAAAAEAAAAAAAAAGg/AACZAAAAmgAAAHwAAAAFAAAABgAAAAAAAACQPwAAmwAAAJwAAAB8AAAAAQAAACUAAAAAAAAAuD8AAJ0AAACeAAAAfAAAAAIAAAAmAAAAAAAAAOA/AACfAAAAoAAAAHwAAAAQAAAABgAAAHUAAAAAAAAACEAAAKEAAACiAAAAfAAAABEAAAAHAAAAdgAAAAAAAABgQAAAowAAAKQAAAB8AAAAAwAAAAQAAAALAAAALwAAADAAAAAMAAAAMQAAAAAAAAAoQAAAowAAAKUAAAB8AAAAAwAAAAQAAAALAAAALwAAADAAAAAMAAAAMQAAAAAAAACQQAAApgAAAKcAAAB8AAAABQAAAAYAAAANAAAAMgAAADMAAAAOAAAANAAAAAAAAADQQAAAqAAAAKkAAAB8AAAAAAAAAOBAAACqAAAAqwAAAHwAAAAkAAAAEgAAACUAAAATAAAAJgAAAAMAAAAUAAAADwAAAAAAAAAoQQAArAAAAK0AAAB8AAAANQAAADYAAAB3AAAAeAAAAHkAAAAAAAAAOEEAAK4AAACvAAAAfAAAADcAAAA4AAAAegAAAHsAAAB8AAAAZgAAAGEAAABsAAAAcwAAAGUAAAAAAAAAdAAAAHIAAAB1AAAAZQAAAAAAAAAAAAAA+DwAAKMAAACwAAAAfAAAAAAAAAAIQQAAowAAALEAAAB8AAAAFQAAAAQAAAAFAAAABgAAACcAAAAWAAAAKAAAABcAAAApAAAABwAAABgAAAAQAAAAAAAAAHBAAACjAAAAsgAAAHwAAAAHAAAACAAAABEAAAA5AAAAOgAAABIAAAA7AAAAAAAAALBAAACjAAAAswAAAHwAAAAJAAAACgAAABMAAAA8AAAAPQAAABQAAAA+AAAAAAAAADhAAACjAAAAtAAAAHwAAAADAAAABAAAAAsAAAAvAAAAMAAAAAwAAAAxAAAAAAAAADg+AAAUAAAAFQAAABYAAAAXAAAAGAAAABkAAAAaAAAAAAAAAGg+AAAcAAAAHQAAAB4AAAAfAAAAIAAAACEAAAAiAAAARXJyb3I6IGxhYmVsaW5nIHdvcmsgb3ZlcmZsb3cuCgBVbmtub3duIG9yIHVuc3VwcG9ydGVkIGxhYmVsaW5nIHRocmVzaG9sZCBtb2RlIHJlcXVlc3RlZC4gU2V0IHRvIG1hbnVhbC4KAExhYmVsaW5nIHRocmVzaG9sZCBtb2RlIHNldCB0byAlcy4KAE1BTlVBTABBVVRPX01FRElBTgBBVVRPX09UU1UAQVVUT19BREFQVElWRQBBVVRPX0JSQUNLRVRJTkcARXJyb3I6IFVuc3VwcG9ydGVkIHBpeGVsIGZvcm1hdCAoJWQpIHJlcXVlc3RlZC4KAEF1dG8gdGhyZXNob2xkIChicmFja2V0KSBtYXJrZXIgY291bnRzIC1bJTNkOiAlM2RdIFslM2Q6ICUzZF0gWyUzZDogJTNkXSsuCgBBdXRvIHRocmVzaG9sZCAoYnJhY2tldCkgYWRqdXN0ZWQgdGhyZXNob2xkIHRvICVkLgoAbWVkaWFuAE90c3UAQXV0byB0aHJlc2hvbGQgKCVzKSBhZGp1c3RlZCB0aHJlc2hvbGQgdG8gJWQuCgA/Pz8gMQoAPz8/IDIKAD8/PyAzCgBFcnJvcjogdW5zdXBwb3J0ZWQgcGl4ZWwgZm9ybWF0LgoARXJyb3I6IE5VTEwgcGF0dEhhbmRsZS4KAEVycm9yOiBjYW4ndCBsb2FkIHBhdHRlcm4gZnJvbSBOVUxMIGJ1ZmZlci4KAEVycm9yOiBvdXQgb2YgbWVtb3J5LgoAIAkKDQBQYXR0ZXJuIERhdGEgcmVhZCBlcnJvciEhCgBFcnJvciByZWFkaW5nIHBhdHRlcm4gZmlsZSAnJXMnLgoARXJyb3IgKCVkKTogdW5hYmxlIHRvIG9wZW4gY2FtZXJhIHBhcmFtZXRlcnMgZmlsZSAiJXMiIGZvciByZWFkaW5nLgoARXJyb3IgKCVkKTogdW5hYmxlIHRvIGRldGVybWluZSBmaWxlIGxlbmd0aC4ARXJyb3I6IHN1cHBsaWVkIGZpbGUgZG9lcyBub3QgYXBwZWFyIHRvIGJlIGFuIEFSVG9vbEtpdCBjYW1lcmEgcGFyYW1ldGVyIGZpbGUuCgBFcnJvciAoJWQpOiB1bmFibGUgdG8gcmVhZCBmcm9tIGZpbGUuAGFyZ2xDYW1lcmFGcnVzdHVtUkgoKTogYXJQYXJhbURlY29tcE1hdCgpIGluZGljYXRlZCBwYXJhbWV0ZXIgZXJyb3IuCgBFcnJvcjogaWNwR2V0Sl9VX1hjAEVycm9yIDE6IGljcEdldEluaXRYdzJYYwoARXJyb3IgMjogaWNwR2V0SW5pdFh3MlhjCgBFcnJvciAzOiBpY3BHZXRJbml0WHcyWGMKAEVycm9yIDQ6IGljcEdldEluaXRYdzJYYwoARXJyb3IgNTogaWNwR2V0SW5pdFh3MlhjCgBFcnJvciA2OiBpY3BHZXRJbml0WHcyWGMKAEVycm9yIDc6IGljcEdldEluaXRYdzJYYwoARXJyb3I6IHVuYWJsZSB0byBvcGVuIG11bHRpbWFya2VyIGNvbmZpZyBmaWxlICclcycuCgBFcnJvciBwcm9jZXNzaW5nIG11bHRpbWFya2VyIGNvbmZpZyBmaWxlICclcyc6IEZpcnN0IGxpbmUgbXVzdCBiZSBudW1iZXIgb2YgbWFya2VyIGNvbmZpZ3MgdG8gcmVhZC4KACVsbHUlYwBFcnJvciBwcm9jZXNzaW5nIG11bHRpbWFya2VyIGNvbmZpZyBmaWxlICclcyc6IHBhdHRlcm4gJyVzJyBzcGVjaWZpZWQgaW4gbXVsdGltYXJrZXIgY29uZmlndXJhdGlvbiB3aGlsZSBpbiBiYXJjb2RlLW9ubHkgbW9kZS4KAEVycm9yIHByb2Nlc3NpbmcgbXVsdGltYXJrZXIgY29uZmlnIGZpbGUgJyVzJzogVW5hYmxlIHRvIGRldGVybWluZSBkaXJlY3RvcnkgbmFtZS4KAEVycm9yIHByb2Nlc3NpbmcgbXVsdGltYXJrZXIgY29uZmlnIGZpbGUgJyVzJzogVW5hYmxlIHRvIGxvYWQgcGF0dGVybiAnJXMnLgoAJWxmAEVycm9yIHByb2Nlc3NpbmcgbXVsdGltYXJrZXIgY29uZmlnIGZpbGUgJyVzJywgbWFya2VyIGRlZmluaXRpb24gJTNkOiBGaXJzdCBsaW5lIG11c3QgYmUgcGF0dGVybiB3aWR0aC4KACVsZiAlbGYgJWxmICVsZgAlZiAlZgBFcnJvciBwcm9jZXNzaW5nIG11bHRpbWFya2VyIGNvbmZpZyBmaWxlICclcycsIG1hcmtlciBkZWZpbml0aW9uICUzZDogTGluZXMgMiAtIDQgbXVzdCBiZSBtYXJrZXIgdHJhbnNmb3JtLgoAWyVzXSAAZGVidWcAaW5mbwB3YXJuaW5nAGVycm9yACVzJXMALmlzZXQARXJyb3I6IHVuYWJsZSB0byBvcGVuIGZpbGUgJyVzJXMnIGZvciByZWFkaW5nLgoARXJyb3IgcmVhZGluZyBpbWFnZVNldC4KAEltYWdlc2V0IGNvbnRhaW5zICVkIGltYWdlcy4KAEZhbGxpbmcgYmFjayB0byByZWFkaW5nICclcyVzJyBpbiBBUlRvb2xLaXQgdjQueCBmb3JtYXQuCgBFcnJvciByZWFkaW5nIEpQRUcgZmlsZS4KAEVycm9yIHJlYWRpbmcgSlBFRyBmaWxlIGhlYWRlci4KACVmAEZpbGUgb3BlbiBlcnJvci4gJXMKAFJlYWQgZXJyb3IhIQoAcgBFcnJvciBvcGVuaW5nIGZpbGUgJyVzJzogACVzJXMKACVkAAojIyMgU3VyZmFjZSBOby4lZCAjIyMKACVzACAgUmVhZCBJbWFnZVNldC4KAEVycm9yIG9wZW5pbmcgZmlsZSAnJXMuaXNldCcuCgAgICAgZW5kLgoAICBSZWFkIEZlYXR1cmVTZXQuCgBFcnJvciBvcGVuaW5nIGZpbGUgJyVzLmZzZXQnLgoAICBSZWFkIE1hcmtlclNldC4KAG1yawBFcnJvciBvcGVuaW5nIGZpbGUgJyVzLm1yaycuCgAlZiAlZiAlZiAlZgBUcmFuc2Zvcm1hdGlvbiBtYXRyaXggcmVhZCBlcnJvciEhCgBqcGcAa3BtRGVsZXRlUmVmRGF0YVNldCgpOiBOVUxMIHJlZkRhdGFTZXRQdHIxL3JlZkRhdGFTZXRQdHIyLgoAa3BtRGVsZXRlUmVmRGF0YVNldCgpOiBOVUxMIHJlZkRhdGFTZXRQdHIuCgByYgBrcG1Mb2FkUmVmRGF0YVNldCgpOiBOVUxMIGZpbGVuYW1lL3JlZkRhdGFTZXRQdHIuCgBFcnJvciBsb2FkaW5nIEtQTSBkYXRhOiB1bmFibGUgdG8gb3BlbiBmaWxlICclcyVzJXMnIGZvciByZWFkaW5nLgoARXJyb3IgbG9hZGluZyBLUE0gZGF0YTogZXJyb3IgcmVhZGluZyBkYXRhLgoAa3BtQ2hhbmdlUGFnZU5vT2ZSZWZEYXRhU2V0KCk6IE5VTEwgcmVmRGF0YVNldC4KAGtwbVNldFJlZkRhdGFTZXQoKTogTlVMTCBrcG1IYW5kbGUvcmVmRGF0YVNldC4KAGtwbVNldFJlZkRhdGFTZXQoKTogcmVmRGF0YVNldC4KAHBvaW50cy0lZAoAa3BtTWF0Y2hpbmcoKTogTlVMTCBrcG1IYW5kbGUvaW5JbWFnZUx1bWEuCgBQYWdlWyVkXSAgcHJlOiUzZCwgYWZ0OiUzZCwgZXJyb3IgPSAlZgoAJXMuJXMAQXNzZXJ0aW9uIGBweXJhbWlkLT5zaXplKCkgPiAwYCBmYWlsZWQgaW4gAC9zcmMvZW1zY3JpcHRlbi9hcnRvb2xraXQ1L2xpYi9TUkMvS1BNL0ZyZWFrTWF0Y2hlci9kZXRlY3RvcnMvRG9HX3NjYWxlX2ludmFyaWFudF9kZXRlY3Rvci5jcHAAUHlyYW1pZCBpcyBub3QgYWxsb2NhdGVkAE9jdGF2ZSBvdXQgb2YgcmFuZ2UAU2NhbGUgb3V0IG9mIHJhbmdlAEFzc2VydGlvbiBgbUltYWdlcy5zaXplKCkgPiAwYCBmYWlsZWQgaW4gAExhcGxhY2lhbiBweXJhbWlkIGhhcyBub3QgYmVlbiBhbGxvY2F0ZWQAQXNzZXJ0aW9uIGBweXJhbWlkLT5udW1PY3RhdmVzKCkgPiAwYCBmYWlsZWQgaW4gAFB5cmFtaWQgZG9lcyBub3QgY29udGFpbiBhbnkgbGV2ZWxzAEFzc2VydGlvbiBgZHluYW1pY19jYXN0PGNvbnN0IEJpbm9taWFsUHlyYW1pZDMyZio+KHB5cmFtaWQpYCBmYWlsZWQgaW4gAE9ubHkgYmlub21pYWwgcHlyYW1pZCBpcyBzdXBwb3J0ZWQAQXNzZXJ0aW9uIGBkLnR5cGUoKSA9PSBJTUFHRV9GMzJgIGZhaWxlZCBpbiAAT25seSBGMzIgaW1hZ2VzIHN1cHBvcnRlZABBc3NlcnRpb24gYGltMS50eXBlKCkgPT0gSU1BR0VfRjMyYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgaW0yLnR5cGUoKSA9PSBJTUFHRV9GMzJgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGBkLmNoYW5uZWxzKCkgPT0gMWAgZmFpbGVkIGluIABPbmx5IHNpbmdsZSBjaGFubmVsIGltYWdlcyBzdXBwb3J0ZWQAQXNzZXJ0aW9uIGBpbTEuY2hhbm5lbHMoKSA9PSAxYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgaW0yLmNoYW5uZWxzKCkgPT0gMWAgZmFpbGVkIGluIABBc3NlcnRpb24gYGQud2lkdGgoKSA9PSBpbTIud2lkdGgoKWAgZmFpbGVkIGluIABJbWFnZXMgbXVzdCBoYXZlIHRoZSBzYW1lIHdpZHRoAEFzc2VydGlvbiBgZC5oZWlnaHQoKSA9PSBpbTIuaGVpZ2h0KClgIGZhaWxlZCBpbiAASW1hZ2VzIG11c3QgaGF2ZSB0aGUgc2FtZSBoZWlnaHQAQXNzZXJ0aW9uIGBpbTEud2lkdGgoKSA9PSBpbTIud2lkdGgoKWAgZmFpbGVkIGluIABBc3NlcnRpb24gYGltMS5oZWlnaHQoKSA9PSBpbTIuaGVpZ2h0KClgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGByb3cgPCBtSGVpZ2h0YCBmYWlsZWQgaW4gAC9zcmMvZW1zY3JpcHRlbi9hcnRvb2xraXQ1L2xpYi9TUkMvS1BNL0ZyZWFrTWF0Y2hlci9mcmFtZXdvcmsvaW1hZ2UuaAByb3cgb3V0IG9mIGJvdW5kcwBONnZpc2lvbjI1R2F1c3NpYW5TY2FsZVNwYWNlUHlyYW1pZEUARG9HIFB5cmFtaWQATm9uLW1heCBzdXBwcmVzc2lvbgBTdWJwaXhlbABwcnVuZUZlYXR1cmVzAEZpbmQgT3JpZW50YXRpb25zAEFzc2VydGlvbiBgbUJ1Y2tldHMuc2l6ZSgpID09IG1OdW1CdWNrZXRzWGAgZmFpbGVkIGluIABCdWNrZXRzIGFyZSBub3QgYWxsb2NhdGVkAEFzc2VydGlvbiBgbUJ1Y2tldHNbMF0uc2l6ZSgpID09IG1OdW1CdWNrZXRzWWAgZmFpbGVkIGluIABBc3NlcnRpb24gYG1GZWF0dXJlUG9pbnRzLnNpemUoKSA8PSBtTWF4TnVtRmVhdHVyZVBvaW50c2AgZmFpbGVkIGluIABUb28gbWFueSBmZWF0dXJlIHBvaW50cwBBc3NlcnRpb24gYGJ1Y2tldFswXS5maXJzdCA+PSBidWNrZXRbbl0uZmlyc3RgIGZhaWxlZCBpbiAAbnRoX2VsZW1lbnQgZmFpbGVkAEFzc2VydGlvbiBga3Auc2NhbGUgPCBtTGFwbGFjaWFuUHlyYW1pZC5udW1TY2FsZVBlck9jdGF2ZSgpYCBmYWlsZWQgaW4gAEZlYXR1cmUgcG9pbnQgc2NhbGUgaXMgb3V0IG9mIGJvdW5kcwBBc3NlcnRpb24gYGtwLnNjb3JlID09IGxhcDEuZ2V0PGZsb2F0Pih5KVt4XWAgZmFpbGVkIGluIABTY29yZSBpcyBub3QgY29uc2lzdGVudCB3aXRoIHRoZSBEb0cgaW1hZ2UAQXNzZXJ0aW9uIGBsYXAwLmhlaWdodCgpID09IGxhcDEuaGVpZ2h0KCkgPT0gbGFwMi5oZWlnaHQoKWAgZmFpbGVkIGluIAAvc3JjL2Vtc2NyaXB0ZW4vYXJ0b29sa2l0NS9saWIvU1JDL0tQTS9GcmVha01hdGNoZXIvZGV0ZWN0b3JzL0RvR19zY2FsZV9pbnZhcmlhbnRfZGV0ZWN0b3IuaABXaWR0aC9oZWlnaHQgYXJlIG5vdCBjb25zaXN0ZW50AEFzc2VydGlvbiBgKGxhcDAuaGVpZ2h0KCkgPT0gbGFwMS5oZWlnaHQoKSkgJiYgKChsYXAxLmhlaWdodCgpPj4xKSA9PSBsYXAyLmhlaWdodCgpKWAgZmFpbGVkIGluIABBc3NlcnRpb24gYCgobGFwMC53aWR0aCgpPj4xKSA9PSBsYXAxLndpZHRoKCkpICYmIChsYXAxLndpZHRoKCkgPT0gbGFwMi53aWR0aCgpKWAgZmFpbGVkIGluIABJbWFnZSBzaXplcyBhcmUgaW5jb25zaXN0ZW50AEFzc2VydGlvbiBgKHgtMSkgPj0gMCAmJiAoeCsxKSA8IGxhcDEud2lkdGgoKWAgZmFpbGVkIGluIAB4IG91dCBvZiBib3VuZHMAQXNzZXJ0aW9uIGAoeS0xKSA+PSAwICYmICh5KzEpIDwgbGFwMS5oZWlnaHQoKWAgZmFpbGVkIGluIAB5IG91dCBvZiBib3VuZHMAQXNzZXJ0aW9uIGAobGFwMC53aWR0aCgpPj4xKSA9PSBsYXAxLndpZHRoKClgIGZhaWxlZCBpbiAASW1hZ2UgZGltZW5zaW9ucyBpbmNvbnNpc3RlbnQAQXNzZXJ0aW9uIGAobGFwMC53aWR0aCgpPj4xKSA9PSBsYXAyLndpZHRoKClgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGAobGFwMC5oZWlnaHQoKT4+MSkgPT0gbGFwMS5oZWlnaHQoKWAgZmFpbGVkIGluIABBc3NlcnRpb24gYChsYXAwLmhlaWdodCgpPj4xKSA9PSBsYXAyLmhlaWdodCgpYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgKGludClzdGQ6OmZsb29yKHgpID09IChpbnQpeGAgZmFpbGVkIGluIAAvc3JjL2Vtc2NyaXB0ZW4vYXJ0b29sa2l0NS9saWIvU1JDL0tQTS9GcmVha01hdGNoZXIvZGV0ZWN0b3JzL2ludGVycG9sYXRlLmgAZmxvb3IoKSBhbmQgY2FzdCBub3QgdGhlIHNhbWUAQXNzZXJ0aW9uIGAoaW50KXN0ZDo6Zmxvb3IoeSkgPT0gKGludCl5YCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgeXAgPj0gMCAmJiB5cCA8IGhlaWdodGAgZmFpbGVkIGluIAB5cCBvdXQgb2YgYm91bmRzAEFzc2VydGlvbiBgeXBfcGx1c18xID49IDAgJiYgeXBfcGx1c18xIDwgaGVpZ2h0YCBmYWlsZWQgaW4gAHlwX3BsdXNfMSBvdXQgb2YgYm91bmRzAEFzc2VydGlvbiBgeHAgPj0gMCAmJiB4cCA8IHdpZHRoYCBmYWlsZWQgaW4gAHhwIG91dCBvZiBib3VuZHMAQXNzZXJ0aW9uIGB4cF9wbHVzXzEgPj0gMCAmJiB4cF9wbHVzXzEgPCB3aWR0aGAgZmFpbGVkIGluIAB4cF9wbHVzXzEgb3V0IG9mIGJvdW5kcwBBc3NlcnRpb24gYHcwID49IDAgJiYgdzAgPD0gMS4wMDAxYCBmYWlsZWQgaW4gAE91dCBvZiByYW5nZQBBc3NlcnRpb24gYHcxID49IDAgJiYgdzEgPD0gMS4wMDAxYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgdzIgPj0gMCAmJiB3MiA8PSAxLjAwMDFgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGB3MyA+PSAwICYmIHczIDw9IDEuMDAwMWAgZmFpbGVkIGluIABBc3NlcnRpb24gYCh3MCt3MSt3Mit3MykgPD0gMS4wMDAxYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgKHgtMSkgPj0gMCAmJiAoeCsxKSA8IGltLndpZHRoKClgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGAoeS0xKSA+PSAwICYmICh5KzEpIDwgaW0uaGVpZ2h0KClgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGBsYXAwLndpZHRoKCkgPT0gbGFwMS53aWR0aCgpYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgbGFwMC5oZWlnaHQoKSA9PSBsYXAxLmhlaWdodCgpYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgeF9kaXZfMi0wLjVmID49IDBgIGZhaWxlZCBpbiAAeF9kaXZfMiBvdXQgb2YgYm91bmRzIG91dCBvZiBib3VuZHMgZm9yIGludGVycG9sYXRpb24AQXNzZXJ0aW9uIGB5X2Rpdl8yLTAuNWYgPj0gMGAgZmFpbGVkIGluIAB5X2Rpdl8yIG91dCBvZiBib3VuZHMgb3V0IG9mIGJvdW5kcyBmb3IgaW50ZXJwb2xhdGlvbgBBc3NlcnRpb24gYHhfZGl2XzIrMC41ZiA8IGxhcDIud2lkdGgoKWAgZmFpbGVkIGluIABBc3NlcnRpb24gYHlfZGl2XzIrMC41ZiA8IGxhcDIuaGVpZ2h0KClgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGBsYXAwLndpZHRoKCkgPT0gbGFwMi53aWR0aCgpYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgbGFwMC5oZWlnaHQoKSA9PSBsYXAyLmhlaWdodCgpYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgaW0wLmhlaWdodCgpID09IGltMS5oZWlnaHQoKWAgZmFpbGVkIGluIABIZWlnaHQgaXMgaW5jb25zaXN0ZW50AEFzc2VydGlvbiBgaW0wLmhlaWdodCgpID09IGltMi5oZWlnaHQoKWAgZmFpbGVkIGluIABBc3NlcnRpb24gYChpbTEuaGVpZ2h0KCk+PjEpID09IGltMi5oZWlnaHQoKWAgZmFpbGVkIGluIABBc3NlcnRpb24gYChpbTAuaGVpZ2h0KCk+PjEpID09IGltMS5oZWlnaHQoKWAgZmFpbGVkIGluIABBc3NlcnRpb24gYChpbTAuaGVpZ2h0KCk+PjEpID09IGltMi5oZWlnaHQoKWAgZmFpbGVkIGluIABBc3NlcnRpb24gYGluZGV4IDwgbUltYWdlcy5zaXplKClgIGZhaWxlZCBpbiAASW5kZXggaXMgb3V0IG9mIHJhbmdlAE42dmlzaW9uMThCaW5vbWlhbFB5cmFtaWQzMmZFAEFzc2VydGlvbiBgd2lkdGggPj0gNWAgZmFpbGVkIGluIAAvc3JjL2Vtc2NyaXB0ZW4vYXJ0b29sa2l0NS9saWIvU1JDL0tQTS9GcmVha01hdGNoZXIvZGV0ZWN0b3JzL2dhdXNzaWFuX3NjYWxlX3NwYWNlX3B5cmFtaWQuY3BwAEltYWdlIGlzIHRvbyBzbWFsbABBc3NlcnRpb24gYGhlaWdodCA+PSA1YCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgaW1hZ2UudHlwZSgpID09IElNQUdFX1VJTlQ4YCBmYWlsZWQgaW4gAEltYWdlIG11c3QgYmUgZ3JheXNjYWxlAEFzc2VydGlvbiBgaW1hZ2UuY2hhbm5lbHMoKSA9PSAxYCBmYWlsZWQgaW4gAEltYWdlIG11c3QgaGF2ZSAxIGNoYW5uZWwAQXNzZXJ0aW9uIGBtUHlyYW1pZC5zaXplKCkgPT0gbU51bU9jdGF2ZXMqbU51bVNjYWxlc1Blck9jdGF2ZWAgZmFpbGVkIGluIABQeXJhbWlkIGhhcyBub3QgYmVlbiBhbGxvY2F0ZWQgeWV0AEFzc2VydGlvbiBgaW1hZ2Uud2lkdGgoKSA9PSBtUHlyYW1pZFswXS53aWR0aCgpYCBmYWlsZWQgaW4gAEltYWdlIG9mIHdyb25nIHNpemUgZm9yIHB5cmFtaWQAQXNzZXJ0aW9uIGBpbWFnZS5oZWlnaHQoKSA9PSBtUHlyYW1pZFswXS5oZWlnaHQoKWAgZmFpbGVkIGluIABBc3NlcnRpb24gYGRzdC50eXBlKCkgPT0gSU1BR0VfRjMyYCBmYWlsZWQgaW4gAERlc3RpbmF0aW9uIGltYWdlIHNob3VsZCBiZSBhIGZsb2F0AFVua25vd24gaW1hZ2UgdHlwZQBVbnN1cHBvcnRlZCBpbWFnZSB0eXBlAE42dmlzaW9uOUV4Y2VwdGlvbkUAQXNzZXJ0aW9uIGBpbS53aWR0aCgpID09IGltLnN0ZXAoKS9zaXplb2YoZmxvYXQpYCBmYWlsZWQgaW4gAC9zcmMvZW1zY3JpcHRlbi9hcnRvb2xraXQ1L2xpYi9TUkMvS1BNL0ZyZWFrTWF0Y2hlci9kZXRlY3RvcnMvb3JpZW50YXRpb25fYXNzaWdubWVudC5jcHAAU3RlcCBzaXplIG11c3QgYmUgZXF1YWwgdG8gd2lkdGggZm9yIG5vdwBBc3NlcnRpb24gYHggPj0gMGAgZmFpbGVkIGluIAB4IG11c3QgYmUgcG9zaXRpdmUAQXNzZXJ0aW9uIGB4IDwgbUdyYWRpZW50c1tvY3RhdmUqbU51bVNjYWxlc1Blck9jdGF2ZStzY2FsZV0ud2lkdGgoKWAgZmFpbGVkIGluIAB4IG11c3QgYmUgbGVzcyB0aGFuIHRoZSBpbWFnZSB3aWR0aABBc3NlcnRpb24gYHkgPj0gMGAgZmFpbGVkIGluIAB5IG11c3QgYmUgcG9zaXRpdmUAQXNzZXJ0aW9uIGB5IDwgbUdyYWRpZW50c1tvY3RhdmUqbU51bVNjYWxlc1Blck9jdGF2ZStzY2FsZV0uaGVpZ2h0KClgIGZhaWxlZCBpbiAAeSBtdXN0IGJlIGxlc3MgdGhhbiB0aGUgaW1hZ2UgaGVpZ2h0AEFzc2VydGlvbiBgZy5jaGFubmVscygpID09IDJgIGZhaWxlZCBpbiAATnVtYmVyIG9mIGNoYW5uZWxzIHNob3VsZCBiZSAyAEFzc2VydGlvbiBgbWF4X2hlaWdodCA+IDBgIGZhaWxlZCBpbiAATWF4aW11bSBiaW4gc2hvdWxkIGJlIHBvc2l0aXZlAEFzc2VydGlvbiBgaGlzdCAhPSBOVUxMYCBmYWlsZWQgaW4gAC9zcmMvZW1zY3JpcHRlbi9hcnRvb2xraXQ1L2xpYi9TUkMvS1BNL0ZyZWFrTWF0Y2hlci9kZXRlY3RvcnMvb3JpZW50YXRpb25fYXNzaWdubWVudC5oAEhpc3RvZ3JhbSBwb2ludGVyIGlzIE5VTEwAQXNzZXJ0aW9uIGAoZmJpbiswLjVmKSA+IDAgJiYgKGZiaW4tMC41ZikgPCBudW1fYmluc2AgZmFpbGVkIGluIABEZWNpbWFsIGJpbiBwb3NpdGlvbiBpbmRleCBvdXQgb2YgcmFuZ2UAQXNzZXJ0aW9uIGBtYWduaXR1ZGUgPj0gMGAgZmFpbGVkIGluIABNYWduaXR1ZGUgY2Fubm90IGJlIG5lZ2F0aXZlAEFzc2VydGlvbiBgbnVtX2JpbnMgPj0gMGAgZmFpbGVkIGluIABOdW1iZXIgYmlucyBtdXN0IGJlIHBvc2l0aXZlAEFzc2VydGlvbiBgdzEgPj0gMGAgZmFpbGVkIGluIAB3MSBtdXN0IGJlIHBvc2l0aXZlAEFzc2VydGlvbiBgdzIgPj0gMGAgZmFpbGVkIGluIAB3MiBtdXN0IGJlIHBvc2l0aXZlAEFzc2VydGlvbiBgYjEgPj0gMCAmJiBiMSA8IG51bV9iaW5zYCBmYWlsZWQgaW4gAGIxIGJpbiBpbmRleCBvdXQgb2YgcmFuZ2UAQXNzZXJ0aW9uIGBiMiA+PSAwICYmIGIyIDwgbnVtX2JpbnNgIGZhaWxlZCBpbiAAYjIgYmluIGluZGV4IG91dCBvZiByYW5nZQBJRCBhbHJlYWR5IGV4aXN0cwBCdWlsZCBQeXJhbWlkAEV4dHJhY3QgRmVhdHVyZXMAQXNzZXJ0aW9uIGBhc3NpZ25tZW50LnNpemUoKSA9PSBudW1faW5kaWNlc2AgZmFpbGVkIGluIAAvc3JjL2Vtc2NyaXB0ZW4vYXJ0b29sa2l0NS9saWIvU1JDL0tQTS9GcmVha01hdGNoZXIvbWF0Y2hlcnMvYmluYXJ5X2hpZXJhcmNoaWNhbF9jbHVzdGVyaW5nLmgAQXNzaWdubWVudCBzaXplIHdyb25nAEFzc2VydGlvbiBgYXNzaWdubWVudFtpXSAhPSAtMWAgZmFpbGVkIGluIABBc3NpZ25tZW50IGlzIGludmFsaWQAQXNzZXJ0aW9uIGBhc3NpZ25tZW50W2ldIDwgbnVtX2luZGljZXNgIGZhaWxlZCBpbiAAQXNzaWdubWVudCBvdXQgb2YgcmFuZ2UAQXNzZXJ0aW9uIGBpbmRpY2VzW2Fzc2lnbm1lbnRbaV1dIDwgbnVtX2ZlYXR1cmVzYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgaXQtPnNlY29uZC5zaXplKCkgIT0gMGAgZmFpbGVkIGluIABDbHVzdGVyIG11c3QgaGF2ZSBhdGxlYXNldCAxIGZlYXR1cmUAQXNzZXJ0aW9uIGBtSyA9PSBtQ2VudGVycy5zaXplKClgIGZhaWxlZCBpbiAAL3NyYy9lbXNjcmlwdGVuL2FydG9vbGtpdDUvbGliL1NSQy9LUE0vRnJlYWtNYXRjaGVyL21hdGNoZXJzL2ttZWRvaWRzLmgAayBzaG91bGQgbWF0Y2ggdGhlIG51bWJlciBvZiBjbHVzdGVyIGNlbnRlcnMAQXNzZXJ0aW9uIGBudW1fZmVhdHVyZXMgPiAwYCBmYWlsZWQgaW4gAE51bWJlciBvZiBmZWF0dXJlcyBtdXN0IGJlIHBvc2l0aXZlAEFzc2VydGlvbiBgbnVtX2luZGljZXMgPD0gbnVtX2ZlYXR1cmVzYCBmYWlsZWQgaW4gAE1vcmUgaW5kaWNlcyB0aGFuIGZlYXR1cmVzAEFzc2VydGlvbiBgbnVtX2luZGljZXMgPj0gbUtgIGZhaWxlZCBpbiAATm90IGVub3VnaCBmZWF0dXJlcwBBc3NpZ25tZW50IHNpemUgaXMgaW5jb3JyZWN0AEFzc2VydGlvbiBgbnVtX2NlbnRlcnMgPiAwYCBmYWlsZWQgaW4gAFRoZXJlIG11c3QgYmUgYXQgbGVhc3QgMSBjZW50ZXIAL3NyYy9lbXNjcmlwdGVuL2FydG9vbGtpdDUvbGliL1NSQy9LUE0vRnJlYWtNYXRjaGVyL21hdGNoZXJzL3Zpc3VhbF9kYXRhYmFzZS5oAEFzc2VydGlvbiBgZGV0ZWN0b3JgIGZhaWxlZCBpbiAARGV0ZWN0b3IgaXMgTlVMTABBc3NlcnRpb24gYHB5cmFtaWQtPmltYWdlcygpLnNpemUoKSA+IDBgIGZhaWxlZCBpbiAAUHlyYW1pZCBpcyBlbXB0eQBBc3NlcnRpb24gYHB5cmFtaWQtPmltYWdlcygpWzBdLndpZHRoKCkgPT0gZGV0ZWN0b3ItPndpZHRoKClgIGZhaWxlZCBpbiAAUHlyYW1pZCBhbmQgZGV0ZWN0b3Igc2l6ZSBtaXNtYXRjaABBc3NlcnRpb24gYHB5cmFtaWQtPmltYWdlcygpWzBdLmhlaWdodCgpID09IGRldGVjdG9yLT5oZWlnaHQoKWAgZmFpbGVkIGluIABOU3QzX18yMTRkZWZhdWx0X2RlbGV0ZUlONnZpc2lvbjhLZXlmcmFtZUlMaTk2RUVFRUUATlN0M19fMjIwX19zaGFyZWRfcHRyX3BvaW50ZXJJUE42dmlzaW9uOEtleWZyYW1lSUxpOTZFRUVOU18xNGRlZmF1bHRfZGVsZXRlSVMzX0VFTlNfOWFsbG9jYXRvcklTM19FRUVFAFslc10gWyVzXSBbJXNdIDogRm91bmQgJWQgZmVhdHVyZXMgaW4gcXVlcnkAYm9vbCB2aXNpb246OlZpc3VhbERhdGFiYXNlPHZpc2lvbjo6RlJFQUtFeHRyYWN0b3IsIHZpc2lvbjo6QmluYXJ5RmVhdHVyZVN0b3JlLCB2aXNpb246OkJpbmFyeUZlYXR1cmVNYXRjaGVyPDk2PiA+OjpxdWVyeShjb25zdCB2aXNpb246OkdhdXNzaWFuU2NhbGVTcGFjZVB5cmFtaWQgKikgW0ZFQVRVUkVfRVhUUkFDVE9SID0gdmlzaW9uOjpGUkVBS0V4dHJhY3RvciwgU1RPUkUgPSB2aXNpb246OkJpbmFyeUZlYXR1cmVTdG9yZSwgTUFUQ0hFUiA9IHZpc2lvbjo6QmluYXJ5RmVhdHVyZU1hdGNoZXI8OTY+XQBGaW5kIE1hdGNoZXMgKDEpAEhvdWdoIFZvdGluZyAoMSkARmluZCBIb3VnaCBNYXRjaGVzICgxKQBFc3RpbWF0ZSBIb21vZ3JhcGh5ICgxKQBGaW5kIElubGllcnMgKDEpAEZpbmQgTWF0Y2hlcyAoMikASG91Z2ggVm90aW5nICgyKQBGaW5kIEhvdWdoIE1hdGNoZXMgKDIpAEVzdGltYXRlIEhvbW9ncmFwaHkgKDIpAEZpbmQgSW5saWVycyAoMikAQXNzZXJ0aW9uIGAwYCBmYWlsZWQgaW4gAC9zcmMvZW1zY3JpcHRlbi9hcnRvb2xraXQ1L2xpYi9TUkMvS1BNL0ZyZWFrTWF0Y2hlci9tYXRjaGVycy9mZWF0dXJlX21hdGNoZXItaW5saW5lLmgARmFpbGVkIHRvIGNvbXB1dGUgbWF0cml4IGludmVyc2UAQXNzZXJ0aW9uIGBiZXN0X2luZGV4ICE9IHN0ZDo6bnVtZXJpY19saW1pdHM8c2l6ZV90Pjo6bWF4KClgIGZhaWxlZCBpbiAAU29tZXRoaW5nIHN0cmFuZ2UAQXNzZXJ0aW9uIGBtTWF0Y2hlcy5zaXplKCkgPD0gZmVhdHVyZXMxLT5zaXplKClgIGZhaWxlZCBpbiAATnVtYmVyIG9mIG1hdGNoZXMgc2hvdWxkIGJlIGxvd2VyAEFzc2VydGlvbiBgaHlwLnNpemUoKSA+PSA5Km1heF9udW1faHlwb3RoZXNlc2AgZmFpbGVkIGluIAAvc3JjL2Vtc2NyaXB0ZW4vYXJ0b29sa2l0NS9saWIvU1JDL0tQTS9GcmVha01hdGNoZXIvaG9tb2dyYXBoeV9lc3RpbWF0aW9uL3JvYnVzdF9ob21vZ3JhcGh5LmgAaHlwIHZlY3RvciBzaG91bGQgYmUgb2Ygc2l6ZSA5Km1heF9udW1faHlwb3RoZXNlcwBBc3NlcnRpb24gYHRtcF9pLnNpemUoKSA+PSBudW1fcG9pbnRzYCBmYWlsZWQgaW4gAHRtcF9pIHZlY3RvciBzaG91bGQgYmUgb2Ygc2l6ZSBudW1fcG9pbnRzAEFzc2VydGlvbiBgaHlwX2Nvc3RzLnNpemUoKSA+PSBtYXhfbnVtX2h5cG90aGVzZXNgIGZhaWxlZCBpbiAAaHlwX2Nvc3RzIHZlY3RvciBzaG91bGQgYmUgb2Ygc2l6ZSBtYXhfbnVtX2h5cG90aGVzZXMAQXNzZXJ0aW9uIGBuIDw9IGluX21hdGNoZXMuc2l6ZSgpYCBmYWlsZWQgaW4gAFNob3VsZCBiZSB0aGUgc2FtZQBBc3NlcnRpb24gYGRpc3RCaW5BbmdsZSA+PSAwYCBmYWlsZWQgaW4gAGRpc3RCaW5BbmdsZSBtdXN0IG5vdCBiZSBuZWdhdGl2ZQBBc3NlcnRpb24gYG1Sb290LmdldCgpYCBmYWlsZWQgaW4gAFJvb3QgY2Fubm90IGJlIE5VTEwAQXNzZXJ0aW9uIGBtaW5pICE9IC0xYCBmYWlsZWQgaW4gAE1pbmltdW0gaW5kZXggbm90IHNldABBc3NlcnRpb24gYHggPj0gbU1pblhgIGZhaWxlZCBpbiAAL3NyYy9lbXNjcmlwdGVuL2FydG9vbGtpdDUvbGliL1NSQy9LUE0vRnJlYWtNYXRjaGVyL21hdGNoZXJzL2hvdWdoX3NpbWlsYXJpdHlfdm90aW5nLmgAeCBvdXQgb2YgcmFuZ2UAQXNzZXJ0aW9uIGB4IDwgbU1heFhgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGB5ID49IG1NaW5ZYCBmYWlsZWQgaW4gAHkgb3V0IG9mIHJhbmdlAEFzc2VydGlvbiBgeSA8IG1NYXhZYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgYW5nbGUgPiAtUElgIGZhaWxlZCBpbiAAYW5nbGUgb3V0IG9mIHJhbmdlAEFzc2VydGlvbiBgYW5nbGUgPD0gUElgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGBzY2FsZSA+PSBtTWluU2NhbGVgIGZhaWxlZCBpbiAAc2NhbGUgb3V0IG9mIHJhbmdlAEFzc2VydGlvbiBgc2NhbGUgPCBtTWF4U2NhbGVgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGBpbmRleCA+PSAwYCBmYWlsZWQgaW4gAGluZGV4IG91dCBvZiByYW5nZQBBc3NlcnRpb24gYGJpblggPj0gMGAgZmFpbGVkIGluIABiaW5YIG91dCBvZiByYW5nZQBBc3NlcnRpb24gYGJpblggPCBtTnVtWEJpbnNgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGBiaW5ZID49IDBgIGZhaWxlZCBpbiAAYmluWSBvdXQgb2YgcmFuZ2UAQXNzZXJ0aW9uIGBiaW5ZIDwgbU51bVlCaW5zYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgYmluQW5nbGUgPj0gMGAgZmFpbGVkIGluIABiaW5BbmdsZSBvdXQgb2YgcmFuZ2UAQXNzZXJ0aW9uIGBiaW5BbmdsZSA8IG1OdW1BbmdsZUJpbnNgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGBiaW5TY2FsZSA+PSAwYCBmYWlsZWQgaW4gAGJpblNjYWxlIG91dCBvZiByYW5nZQBBc3NlcnRpb24gYGJpblNjYWxlIDwgbU51bVNjYWxlQmluc2AgZmFpbGVkIGluIABBc3NlcnRpb24gYGluZGV4IDw9IChiaW5YICsgYmluWSptTnVtWEJpbnMgKyBiaW5BbmdsZSptTnVtWEJpbnMqbU51bVlCaW5zICsgYmluU2NhbGUqbU51bVhCaW5zKm1OdW1ZQmlucyptTnVtQW5nbGVCaW5zKWAgZmFpbGVkIGluIABBc3NlcnRpb24gYHNpemUgPiAwYCBmYWlsZWQgaW4gAC9zcmMvZW1zY3JpcHRlbi9hcnRvb2xraXQ1L2xpYi9TUkMvS1BNL0ZyZWFrTWF0Y2hlci9tYXRjaGVycy9ob3VnaF9zaW1pbGFyaXR5X3ZvdGluZy5jcHAAc2l6ZSBtdXN0IGJlIHBvc2l0aXZlAEFzc2VydGlvbiBgbVJlZkltYWdlV2lkdGggPiAwYCBmYWlsZWQgaW4gAHdpZHRoIG11c3QgYmUgcG9zaXRpdmUAQXNzZXJ0aW9uIGBtUmVmSW1hZ2VIZWlnaHQgPiAwYCBmYWlsZWQgaW4gAGhlaWdodCBtdXN0IGJlIHBvc2l0aXZlAEFzc2VydGlvbiBgbiA+IDBgIGZhaWxlZCBpbiAAL3NyYy9lbXNjcmlwdGVuL2FydG9vbGtpdDUvbGliL1NSQy9LUE0vRnJlYWtNYXRjaGVyL3V0aWxzL3BhcnRpYWxfc29ydC5oAG4gbXVzdCBiZSBwb3NpdGl2ZQBBc3NlcnRpb24gYGsgPiAwYCBmYWlsZWQgaW4gAGsgbXVzdCBiZSBwb3NpdGl2ZQBBc3NlcnRpb24gYHB5cmFtaWRgIGZhaWxlZCBpbiAAL3NyYy9lbXNjcmlwdGVuL2FydG9vbGtpdDUvbGliL1NSQy9LUE0vRnJlYWtNYXRjaGVyL21hdGNoZXJzL2ZyZWFrLmgAUHlyYW1pZCBpcyBOVUxMAEFzc2VydGlvbiBgc3RvcmUuc2l6ZSgpID09IHBvaW50cy5zaXplKClgIGZhaWxlZCBpbiAARmVhdHVyZSBzdG9yZSBoYXMgbm90IGJlZW4gYWxsb2NhdGVkAEFzc2VydGlvbiBgbnVtX3BvaW50cyA9PSBwb2ludHMuc2l6ZSgpYCBmYWlsZWQgaW4gAFNob3VsZCBiZSBzYW1lIHNpemUAQXNzZXJ0aW9uIGBvY3RhdmUgPj0gMGAgZmFpbGVkIGluIAAvc3JjL2Vtc2NyaXB0ZW4vYXJ0b29sa2l0NS9saWIvU1JDL0tQTS9GcmVha01hdGNoZXIvZGV0ZWN0b3JzL2dhdXNzaWFuX3NjYWxlX3NwYWNlX3B5cmFtaWQuaABPY3RhdmUgbXVzdCBiZSBwb3NpdGl2ZQBBc3NlcnRpb24gYG9jdGF2ZSA8IG1OdW1PY3RhdmVzYCBmYWlsZWQgaW4gAE9jdGF2ZSBtdXN0IGJlIGxlc3MgdGhhbiBudW1iZXIgb2Ygb2N0YXZlcwBBc3NlcnRpb24gYHNjYWxlID49IDBgIGZhaWxlZCBpbiAAU2NhbGUgbXVzdCBiZSBwb3NpdGl2ZQBBc3NlcnRpb24gYHNjYWxlIDwgbU51bVNjYWxlc1Blck9jdGF2ZWAgZmFpbGVkIGluIABTY2FsZSBtdXN0IGJlIGxlc3MgdGhhbiBudW1iZXIgb2Ygc2NhbGUgcGVyIG9jdGF2ZQAlbS0lZC0lWS0lSC0lTS0lUwBBc3NlcnRpb24gYHdpZHRoID4gMGAgZmFpbGVkIGluIAAvc3JjL2Vtc2NyaXB0ZW4vYXJ0b29sa2l0NS9saWIvU1JDL0tQTS9GcmVha01hdGNoZXIvZnJhbWV3b3JrL2ltYWdlLmNwcABXaWR0aCBjYW5ub3QgYmUgemVybwBBc3NlcnRpb24gYGhlaWdodCA+IDBgIGZhaWxlZCBpbiAASGVpZ2h0IGNhbm5vdCBiZSB6ZXJvAEFzc2VydGlvbiBgc3RlcCA+PSB3aWR0aGAgZmFpbGVkIGluIABTdGVwIG11c3QgYmUgZ3JlYXRlciB0aGFuIG9yIGVxdWFsIHRoZSB3aWR0aABBc3NlcnRpb24gYGNoYW5uZWxzID4gMGAgZmFpbGVkIGluIABOdW1iZXIgb2YgY2hhbm5lbHMgY2Fubm90IGJlIHplcm8AQXNzZXJ0aW9uIGBtRGF0YS5nZXQoKWAgZmFpbGVkIGluIABEYXRhIHBvaW50ZXIgaXMgTlVMTABOU3QzX18yMTRkZWZhdWx0X2RlbGV0ZUloRUUATlN0M19fMjIwX19zaGFyZWRfcHRyX3BvaW50ZXJJUGhOU18xNGRlZmF1bHRfZGVsZXRlSWhFRU5TXzlhbGxvY2F0b3JJaEVFRUUASW52YWxpZCBpbWFnZSB0eXBlADE2TnVsbEFycmF5RGVsZXRlckloRQBOU3QzX18yMjBfX3NoYXJlZF9wdHJfcG9pbnRlcklQaDE2TnVsbEFycmF5RGVsZXRlckloRU5TXzlhbGxvY2F0b3JJaEVFRUUAQXNzZXJ0aW9uIGBtU3RhcnRUaW1lID49IDBgIGZhaWxlZCBpbiAAL3NyYy9lbXNjcmlwdGVuL2FydG9vbGtpdDUvbGliL1NSQy9LUE0vRnJlYWtNYXRjaGVyL2ZyYW1ld29yay90aW1lcnMuY3BwACBsaW5lIAA6IABDbG9jayBoYXMgbm90IGJlZW4gc3RhcnRlZABBc3NlcnRpb24gYG1TdG9wVGltZSA+PSAwYCBmYWlsZWQgaW4gAENsb2NrIGhhcyBub3QgYmVlbiBzdG9wcGVkAFslc10gWyVzXSBbJXNdIDogJXM6ICVmIG1zACBJTkZPICAAdmlzaW9uOjpTY29wZWRUaW1lcjo6flNjb3BlZFRpbWVyKCkAc2V0dXAAdGVhcmRvd24Ac2V0dXBBUjIAX2FkZE1hcmtlcgBfYWRkTXVsdGlNYXJrZXIAX2FkZE5GVE1hcmtlcgBnZXRNdWx0aU1hcmtlck51bQBnZXRNdWx0aU1hcmtlckNvdW50AF9sb2FkQ2FtZXJhAHNldE1hcmtlckluZm9EaXIAc2V0TWFya2VySW5mb1ZlcnRleABnZXRUcmFuc01hdFNxdWFyZQBnZXRUcmFuc01hdFNxdWFyZUNvbnQAZ2V0VHJhbnNNYXRNdWx0aVNxdWFyZQBnZXRUcmFuc01hdE11bHRpU3F1YXJlUm9idXN0AGRldGVjdE1hcmtlcgBnZXRNYXJrZXJOdW0AZGV0ZWN0TkZUTWFya2VyAGdldE11bHRpRWFjaE1hcmtlcgBnZXRNYXJrZXIAZ2V0TkZUTWFya2VyAHNldERlYnVnTW9kZQBnZXREZWJ1Z01vZGUAZ2V0UHJvY2Vzc2luZ0ltYWdlAHNldExvZ0xldmVsAGdldExvZ0xldmVsAHNldFByb2plY3Rpb25OZWFyUGxhbmUAZ2V0UHJvamVjdGlvbk5lYXJQbGFuZQBzZXRQcm9qZWN0aW9uRmFyUGxhbmUAZ2V0UHJvamVjdGlvbkZhclBsYW5lAHNldFRocmVzaG9sZE1vZGUAZ2V0VGhyZXNob2xkTW9kZQBzZXRUaHJlc2hvbGQAZ2V0VGhyZXNob2xkAHNldFBhdHRlcm5EZXRlY3Rpb25Nb2RlAGdldFBhdHRlcm5EZXRlY3Rpb25Nb2RlAHNldFBhdHRSYXRpbwBnZXRQYXR0UmF0aW8Ac2V0TWF0cml4Q29kZVR5cGUAZ2V0TWF0cml4Q29kZVR5cGUAc2V0TGFiZWxpbmdNb2RlAGdldExhYmVsaW5nTW9kZQBzZXRJbWFnZVByb2NNb2RlAGdldEltYWdlUHJvY01vZGUARVJST1JfQVJDT05UUk9MTEVSX05PVF9GT1VORABFUlJPUl9NVUxUSU1BUktFUl9OT1RfRk9VTkQARVJST1JfTUFSS0VSX0lOREVYX09VVF9PRl9CT1VORFMAQVJfREVCVUdfRElTQUJMRQBBUl9ERUJVR19FTkFCTEUAQVJfREVGQVVMVF9ERUJVR19NT0RFAEFSX0xBQkVMSU5HX1dISVRFX1JFR0lPTgBBUl9MQUJFTElOR19CTEFDS19SRUdJT04AQVJfREVGQVVMVF9MQUJFTElOR19NT0RFAEFSX0RFRkFVTFRfTEFCRUxJTkdfVEhSRVNIAEFSX0lNQUdFX1BST0NfRlJBTUVfSU1BR0UAQVJfSU1BR0VfUFJPQ19GSUVMRF9JTUFHRQBBUl9ERUZBVUxUX0lNQUdFX1BST0NfTU9ERQBBUl9URU1QTEFURV9NQVRDSElOR19DT0xPUgBBUl9URU1QTEFURV9NQVRDSElOR19NT05PAEFSX01BVFJJWF9DT0RFX0RFVEVDVElPTgBBUl9URU1QTEFURV9NQVRDSElOR19DT0xPUl9BTkRfTUFUUklYAEFSX1RFTVBMQVRFX01BVENISU5HX01PTk9fQU5EX01BVFJJWABBUl9ERUZBVUxUX1BBVFRFUk5fREVURUNUSU9OX01PREUAQVJfVVNFX1RSQUNLSU5HX0hJU1RPUlkAQVJfTk9VU0VfVFJBQ0tJTkdfSElTVE9SWQBBUl9VU0VfVFJBQ0tJTkdfSElTVE9SWV9WMgBBUl9ERUZBVUxUX01BUktFUl9FWFRSQUNUSU9OX01PREUAQVJfTUFYX0xPT1BfQ09VTlQAQVJfTE9PUF9CUkVBS19USFJFU0gAQVJfTE9HX0xFVkVMX0RFQlVHAEFSX0xPR19MRVZFTF9JTkZPAEFSX0xPR19MRVZFTF9XQVJOAEFSX0xPR19MRVZFTF9FUlJPUgBBUl9MT0dfTEVWRUxfUkVMX0lORk8AQVJfTUFUUklYX0NPREVfM3gzAEFSX01BVFJJWF9DT0RFXzN4M19IQU1NSU5HNjMAQVJfTUFUUklYX0NPREVfM3gzX1BBUklUWTY1AEFSX01BVFJJWF9DT0RFXzR4NABBUl9NQVRSSVhfQ09ERV80eDRfQkNIXzEzXzlfMwBBUl9NQVRSSVhfQ09ERV80eDRfQkNIXzEzXzVfNQBBUl9MQUJFTElOR19USFJFU0hfTU9ERV9NQU5VQUwAQVJfTEFCRUxJTkdfVEhSRVNIX01PREVfQVVUT19NRURJQU4AQVJfTEFCRUxJTkdfVEhSRVNIX01PREVfQVVUT19PVFNVAEFSX0xBQkVMSU5HX1RIUkVTSF9NT0RFX0FVVE9fQURBUFRJVkUAQVJfTUFSS0VSX0lORk9fQ1VUT0ZGX1BIQVNFX05PTkUAQVJfTUFSS0VSX0lORk9fQ1VUT0ZGX1BIQVNFX1BBVFRFUk5fRVhUUkFDVElPTgBBUl9NQVJLRVJfSU5GT19DVVRPRkZfUEhBU0VfTUFUQ0hfR0VORVJJQwBBUl9NQVJLRVJfSU5GT19DVVRPRkZfUEhBU0VfTUFUQ0hfQ09OVFJBU1QAQVJfTUFSS0VSX0lORk9fQ1VUT0ZGX1BIQVNFX01BVENIX0JBUkNPREVfTk9UX0ZPVU5EAEFSX01BUktFUl9JTkZPX0NVVE9GRl9QSEFTRV9NQVRDSF9CQVJDT0RFX0VEQ19GQUlMAEFSX01BUktFUl9JTkZPX0NVVE9GRl9QSEFTRV9NQVRDSF9DT05GSURFTkNFAEFSX01BUktFUl9JTkZPX0NVVE9GRl9QSEFTRV9QT1NFX0VSUk9SAEFSX01BUktFUl9JTkZPX0NVVE9GRl9QSEFTRV9QT1NFX0VSUk9SX01VTFRJAEFSX01BUktFUl9JTkZPX0NVVE9GRl9QSEFTRV9IRVVSSVNUSUNfVFJPVUJMRVNPTUVfTUFUUklYX0NPREVTAGFsbG9jYXRvcjxUPjo6YWxsb2NhdGUoc2l6ZV90IG4pICduJyBleGNlZWRzIG1heGltdW0gc3VwcG9ydGVkIHNpemUASW1hZ2UgcHJvYy4gbW9kZSBzZXQgdG8gJWQuCgBMYWJlbGluZyBtb2RlIHNldCB0byAlZAoAdmlpZgBQYXR0ZXJuIHJhdGlvIHNpemUgc2V0IHRvICVmLgoAUGF0dGVybiBkZXRlY3Rpb24gbW9kZSBzZXQgdG8gJWQuCgBUaHJlc2hvbGQgc2V0IHRvICVkCgB2aWlpAFRocmVzaG9sZCBtb2RlIHNldCB0byAlZAoAZGlpAHZpaWQAaWkAdmlpAG9uLgBvZmYuAERlYnVnIG1vZGUgc2V0IHRvICVzCgBUcmFja2luZyBsb3N0LiAlZAoAVHJhY2tlZCBwYWdlICVkIChtYXggJWQpLgoAeyB2YXIgJGEgPSBhcmd1bWVudHM7IHZhciBpID0gMDsgaWYgKCFhcnRvb2xraXRbIk5GVE1hcmtlckluZm8iXSkgeyBhcnRvb2xraXRbIk5GVE1hcmtlckluZm8iXSA9ICh7IGlkOiAwLCBlcnJvcjogLTEsIGZvdW5kOiAwLCBwb3NlOiBbMCwwLDAsMCwgMCwwLDAsMCwgMCwwLDAsMF0gfSk7IH0gdmFyIG1hcmtlckluZm8gPSBhcnRvb2xraXRbIk5GVE1hcmtlckluZm8iXTsgbWFya2VySW5mb1siaWQiXSA9ICRhW2krK107IG1hcmtlckluZm9bImVycm9yIl0gPSAkYVtpKytdOyBtYXJrZXJJbmZvWyJmb3VuZCJdID0gMTsgbWFya2VySW5mb1sicG9zZSJdWzBdID0gJGFbaSsrXTsgbWFya2VySW5mb1sicG9zZSJdWzFdID0gJGFbaSsrXTsgbWFya2VySW5mb1sicG9zZSJdWzJdID0gJGFbaSsrXTsgbWFya2VySW5mb1sicG9zZSJdWzNdID0gJGFbaSsrXTsgbWFya2VySW5mb1sicG9zZSJdWzRdID0gJGFbaSsrXTsgbWFya2VySW5mb1sicG9zZSJdWzVdID0gJGFbaSsrXTsgbWFya2VySW5mb1sicG9zZSJdWzZdID0gJGFbaSsrXTsgbWFya2VySW5mb1sicG9zZSJdWzddID0gJGFbaSsrXTsgbWFya2VySW5mb1sicG9zZSJdWzhdID0gJGFbaSsrXTsgbWFya2VySW5mb1sicG9zZSJdWzldID0gJGFbaSsrXTsgbWFya2VySW5mb1sicG9zZSJdWzEwXSA9ICRhW2krK107IG1hcmtlckluZm9bInBvc2UiXVsxMV0gPSAkYVtpKytdOyB9AHsgdmFyICRhID0gYXJndW1lbnRzOyB2YXIgaSA9IDA7IGlmICghYXJ0b29sa2l0WyJORlRNYXJrZXJJbmZvIl0pIHsgYXJ0b29sa2l0WyJORlRNYXJrZXJJbmZvIl0gPSAoeyBpZDogMCwgZXJyb3I6IC0xLCBmb3VuZDogMCwgcG9zZTogWzAsMCwwLDAsIDAsMCwwLDAsIDAsMCwwLDBdIH0pOyB9IHZhciBtYXJrZXJJbmZvID0gYXJ0b29sa2l0WyJORlRNYXJrZXJJbmZvIl07IG1hcmtlckluZm9bImlkIl0gPSAkYVtpKytdOyBtYXJrZXJJbmZvWyJlcnJvciJdID0gLTE7IG1hcmtlckluZm9bImZvdW5kIl0gPSAwOyBtYXJrZXJJbmZvWyJwb3NlIl1bMF0gPSAwOyBtYXJrZXJJbmZvWyJwb3NlIl1bMV0gPSAwOyBtYXJrZXJJbmZvWyJwb3NlIl1bMl0gPSAwOyBtYXJrZXJJbmZvWyJwb3NlIl1bM10gPSAwOyBtYXJrZXJJbmZvWyJwb3NlIl1bNF0gPSAwOyBtYXJrZXJJbmZvWyJwb3NlIl1bNV0gPSAwOyBtYXJrZXJJbmZvWyJwb3NlIl1bNl0gPSAwOyBtYXJrZXJJbmZvWyJwb3NlIl1bN10gPSAwOyBtYXJrZXJJbmZvWyJwb3NlIl1bOF0gPSAwOyBtYXJrZXJJbmZvWyJwb3NlIl1bOV0gPSAwOyBtYXJrZXJJbmZvWyJwb3NlIl1bMTBdID0gMDsgbWFya2VySW5mb1sicG9zZSJdWzExXSA9IDA7IH0AeyB2YXIgJGEgPSBhcmd1bWVudHM7IHZhciBpID0gMTI7IGlmICghYXJ0b29sa2l0WyJtYXJrZXJJbmZvIl0pIHsgYXJ0b29sa2l0WyJtYXJrZXJJbmZvIl0gPSAoeyBwb3M6IFswLDBdLCBsaW5lOiBbWzAsMCwwXSwgWzAsMCwwXSwgWzAsMCwwXSwgWzAsMCwwXV0sIHZlcnRleDogW1swLDBdLCBbMCwwXSwgWzAsMF0sIFswLDBdXSB9KTsgfSB2YXIgbWFya2VySW5mbyA9IGFydG9vbGtpdFsibWFya2VySW5mbyJdOyBtYXJrZXJJbmZvWyJhcmVhIl0gPSAkMDsgbWFya2VySW5mb1siaWQiXSA9ICQxOyBtYXJrZXJJbmZvWyJpZFBhdHQiXSA9ICQyOyBtYXJrZXJJbmZvWyJpZE1hdHJpeCJdID0gJDM7IG1hcmtlckluZm9bImRpciJdID0gJDQ7IG1hcmtlckluZm9bImRpclBhdHQiXSA9ICQ1OyBtYXJrZXJJbmZvWyJkaXJNYXRyaXgiXSA9ICQ2OyBtYXJrZXJJbmZvWyJjZiJdID0gJDc7IG1hcmtlckluZm9bImNmUGF0dCJdID0gJDg7IG1hcmtlckluZm9bImNmTWF0cml4Il0gPSAkOTsgbWFya2VySW5mb1sicG9zIl1bMF0gPSAkMTA7IG1hcmtlckluZm9bInBvcyJdWzFdID0gJDExOyBtYXJrZXJJbmZvWyJsaW5lIl1bMF1bMF0gPSAkYVtpKytdOyBtYXJrZXJJbmZvWyJsaW5lIl1bMF1bMV0gPSAkYVtpKytdOyBtYXJrZXJJbmZvWyJsaW5lIl1bMF1bMl0gPSAkYVtpKytdOyBtYXJrZXJJbmZvWyJsaW5lIl1bMV1bMF0gPSAkYVtpKytdOyBtYXJrZXJJbmZvWyJsaW5lIl1bMV1bMV0gPSAkYVtpKytdOyBtYXJrZXJJbmZvWyJsaW5lIl1bMV1bMl0gPSAkYVtpKytdOyBtYXJrZXJJbmZvWyJsaW5lIl1bMl1bMF0gPSAkYVtpKytdOyBtYXJrZXJJbmZvWyJsaW5lIl1bMl1bMV0gPSAkYVtpKytdOyBtYXJrZXJJbmZvWyJsaW5lIl1bMl1bMl0gPSAkYVtpKytdOyBtYXJrZXJJbmZvWyJsaW5lIl1bM11bMF0gPSAkYVtpKytdOyBtYXJrZXJJbmZvWyJsaW5lIl1bM11bMV0gPSAkYVtpKytdOyBtYXJrZXJJbmZvWyJsaW5lIl1bM11bMl0gPSAkYVtpKytdOyBtYXJrZXJJbmZvWyJ2ZXJ0ZXgiXVswXVswXSA9ICRhW2krK107IG1hcmtlckluZm9bInZlcnRleCJdWzBdWzFdID0gJGFbaSsrXTsgbWFya2VySW5mb1sidmVydGV4Il1bMV1bMF0gPSAkYVtpKytdOyBtYXJrZXJJbmZvWyJ2ZXJ0ZXgiXVsxXVsxXSA9ICRhW2krK107IG1hcmtlckluZm9bInZlcnRleCJdWzJdWzBdID0gJGFbaSsrXTsgbWFya2VySW5mb1sidmVydGV4Il1bMl1bMV0gPSAkYVtpKytdOyBtYXJrZXJJbmZvWyJ2ZXJ0ZXgiXVszXVswXSA9ICRhW2krK107IG1hcmtlckluZm9bInZlcnRleCJdWzNdWzFdID0gJGFbaSsrXTsgbWFya2VySW5mb1siZXJyb3JDb3JyZWN0ZWQiXSA9ICRhW2krK107IH0AeyBpZiAoIWFydG9vbGtpdFsibXVsdGlFYWNoTWFya2VySW5mbyJdKSB7IGFydG9vbGtpdFsibXVsdGlFYWNoTWFya2VySW5mbyJdID0gKHt9KTsgfSB2YXIgbXVsdGlFYWNoTWFya2VyID0gYXJ0b29sa2l0WyJtdWx0aUVhY2hNYXJrZXJJbmZvIl07IG11bHRpRWFjaE1hcmtlclsndmlzaWJsZSddID0gJDA7IG11bHRpRWFjaE1hcmtlclsncGF0dElkJ10gPSAkMTsgbXVsdGlFYWNoTWFya2VyWydwYXR0VHlwZSddID0gJDI7IG11bHRpRWFjaE1hcmtlclsnd2lkdGgnXSA9ICQzOyB9AGlpaQBOU3QzX18yMTJiYXNpY19zdHJpbmdJY05TXzExY2hhcl90cmFpdHNJY0VFTlNfOWFsbG9jYXRvckljRUVFRQBOU3QzX18yMjFfX2Jhc2ljX3N0cmluZ19jb21tb25JTGIxRUVFAGxvYWRDYW1lcmEoKTogRXJyb3IgbG9hZGluZyBwYXJhbWV0ZXIgZmlsZSAlcyBmb3IgY2FtZXJhLgoAaWlpaQBBUlRvb2xLaXRKUygpOiBVbmFibGUgdG8gc2V0IHVwIE5GVCBtYXJrZXIuCgBSZWFkaW5nICVzLmZzZXQzCgBmc2V0MwBFcnJvciByZWFkaW5nIEtQTSBkYXRhIGZyb20gJXMuZnNldDMKACAgQXNzaWduZWQgcGFnZSBuby4gJWQuCgBFcnJvcjoga3BtQ2hhbmdlUGFnZU5vT2ZSZWZEYXRhU2V0CgBFcnJvcjoga3BtTWVyZ2VSZWZEYXRhU2V0CgAgIERvbmUuCgBSZWFkaW5nICVzLmZzZXQKAGZzZXQARXJyb3IgcmVhZGluZyBkYXRhIGZyb20gJXMuZnNldAoARXJyb3I6IGtwbVNldFJlZkRhdGFTZXQKAExvYWRpbmcgb2YgTkZUIGRhdGEgY29tcGxldGUuCgBBUlRvb2xLaXRKUygpOiBVbmFibGUgdG8gc2V0IHVwIEFSIG11bHRpbWFya2VyLgoAY29uZmlnIGRhdGEgbG9hZCBlcnJvciAhIQoAQVJUb29sS2l0SlMoKTogVW5hYmxlIHRvIHNldCB1cCBBUiBtYXJrZXIuCgBsb2FkTWFya2VyKCk6IEVycm9yIGxvYWRpbmcgcGF0dGVybiBmaWxlICVzLgoARXJyb3I6IGFyMkNyZWF0ZUhhbmRsZS4KAGlpaWlpAHNldHVwKCk6IEVycm9yOiBhclBhdHRDcmVhdGVIYW5kbGUuCgBBbGxvY2F0ZWQgdmlkZW9GcmFtZVNpemUgJWQKAHsgaWYgKCFhcnRvb2xraXRbImZyYW1lTWFsbG9jIl0pIHsgYXJ0b29sa2l0WyJmcmFtZU1hbGxvYyJdID0gKHt9KTsgfSB2YXIgZnJhbWVNYWxsb2MgPSBhcnRvb2xraXRbImZyYW1lTWFsbG9jIl07IGZyYW1lTWFsbG9jWyJmcmFtZXBvaW50ZXIiXSA9ICQxOyBmcmFtZU1hbGxvY1siZnJhbWVzaXplIl0gPSAkMjsgZnJhbWVNYWxsb2NbImNhbWVyYSJdID0gJDM7IGZyYW1lTWFsbG9jWyJ0cmFuc2Zvcm0iXSA9ICQ0OyBmcmFtZU1hbGxvY1sidmlkZW9MdW1hUG9pbnRlciJdID0gJDU7IH0AKioqIENhbWVyYSBQYXJhbWV0ZXIgcmVzaXplZCBmcm9tICVkLCAlZC4gKioqCgBzZXRDYW1lcmEoKTogRXJyb3I6IGFyUGFyYW1MVENyZWF0ZS4KAHNldENhbWVyYSgpOiBFcnJvcjogYXJDcmVhdGVIYW5kbGUuCgBzZXRDYW1lcmEoKTogRXJyb3IgY3JlYXRpbmcgM0QgaGFuZGxlAE91dCBvZiBtZW1vcnkhIQoARXJyb3I6IG1hbGxvYwoAIyMjIEZlYXR1cmUgY2FuZGlkYXRlcyBmb3IgdHJhY2tpbmcgYXJlIG92ZXJmbG93LgoAQm9ndXMgbWVzc2FnZSBjb2RlICVkAEFMSUdOX1RZUEUgaXMgd3JvbmcsIHBsZWFzZSBmaXgATUFYX0FMTE9DX0NIVU5LIGlzIHdyb25nLCBwbGVhc2UgZml4AEJvZ3VzIGJ1ZmZlciBjb250cm9sIG1vZGUASW52YWxpZCBjb21wb25lbnQgSUQgJWQgaW4gU09TAEludmFsaWQgY3JvcCByZXF1ZXN0AERDVCBjb2VmZmljaWVudCBvdXQgb2YgcmFuZ2UARENUIHNjYWxlZCBibG9jayBzaXplICVkeCVkIG5vdCBzdXBwb3J0ZWQAQ29tcG9uZW50IGluZGV4ICVkOiBtaXNtYXRjaGluZyBzYW1wbGluZyByYXRpbyAlZDolZCwgJWQ6JWQsICVjAEJvZ3VzIEh1ZmZtYW4gdGFibGUgZGVmaW5pdGlvbgBCb2d1cyBpbnB1dCBjb2xvcnNwYWNlAEJvZ3VzIEpQRUcgY29sb3JzcGFjZQBCb2d1cyBtYXJrZXIgbGVuZ3RoAFdyb25nIEpQRUcgbGlicmFyeSB2ZXJzaW9uOiBsaWJyYXJ5IGlzICVkLCBjYWxsZXIgZXhwZWN0cyAlZABTYW1wbGluZyBmYWN0b3JzIHRvbyBsYXJnZSBmb3IgaW50ZXJsZWF2ZWQgc2NhbgBJbnZhbGlkIG1lbW9yeSBwb29sIGNvZGUgJWQAVW5zdXBwb3J0ZWQgSlBFRyBkYXRhIHByZWNpc2lvbiAlZABJbnZhbGlkIHByb2dyZXNzaXZlIHBhcmFtZXRlcnMgU3M9JWQgU2U9JWQgQWg9JWQgQWw9JWQASW52YWxpZCBwcm9ncmVzc2l2ZSBwYXJhbWV0ZXJzIGF0IHNjYW4gc2NyaXB0IGVudHJ5ICVkAEJvZ3VzIHNhbXBsaW5nIGZhY3RvcnMASW52YWxpZCBzY2FuIHNjcmlwdCBhdCBlbnRyeSAlZABJbXByb3BlciBjYWxsIHRvIEpQRUcgbGlicmFyeSBpbiBzdGF0ZSAlZABKUEVHIHBhcmFtZXRlciBzdHJ1Y3QgbWlzbWF0Y2g6IGxpYnJhcnkgdGhpbmtzIHNpemUgaXMgJXUsIGNhbGxlciBleHBlY3RzICV1AEJvZ3VzIHZpcnR1YWwgYXJyYXkgYWNjZXNzAEJ1ZmZlciBwYXNzZWQgdG8gSlBFRyBsaWJyYXJ5IGlzIHRvbyBzbWFsbABTdXNwZW5zaW9uIG5vdCBhbGxvd2VkIGhlcmUAQ0NJUjYwMSBzYW1wbGluZyBub3QgaW1wbGVtZW50ZWQgeWV0AFRvbyBtYW55IGNvbG9yIGNvbXBvbmVudHM6ICVkLCBtYXggJWQAVW5zdXBwb3J0ZWQgY29sb3IgY29udmVyc2lvbiByZXF1ZXN0AEJvZ3VzIERBQyBpbmRleCAlZABCb2d1cyBEQUMgdmFsdWUgMHgleABCb2d1cyBESFQgaW5kZXggJWQAQm9ndXMgRFFUIGluZGV4ICVkAEVtcHR5IEpQRUcgaW1hZ2UgKEROTCBub3Qgc3VwcG9ydGVkKQBSZWFkIGZyb20gRU1TIGZhaWxlZABXcml0ZSB0byBFTVMgZmFpbGVkAERpZG4ndCBleHBlY3QgbW9yZSB0aGFuIG9uZSBzY2FuAElucHV0IGZpbGUgcmVhZCBlcnJvcgBPdXRwdXQgZmlsZSB3cml0ZSBlcnJvciAtLS0gb3V0IG9mIGRpc2sgc3BhY2U/AEZyYWN0aW9uYWwgc2FtcGxpbmcgbm90IGltcGxlbWVudGVkIHlldABIdWZmbWFuIGNvZGUgc2l6ZSB0YWJsZSBvdmVyZmxvdwBNaXNzaW5nIEh1ZmZtYW4gY29kZSB0YWJsZSBlbnRyeQBNYXhpbXVtIHN1cHBvcnRlZCBpbWFnZSBkaW1lbnNpb24gaXMgJXUgcGl4ZWxzAEVtcHR5IGlucHV0IGZpbGUAUHJlbWF0dXJlIGVuZCBvZiBpbnB1dCBmaWxlAENhbm5vdCB0cmFuc2NvZGUgZHVlIHRvIG11bHRpcGxlIHVzZSBvZiBxdWFudGl6YXRpb24gdGFibGUgJWQAU2NhbiBzY3JpcHQgZG9lcyBub3QgdHJhbnNtaXQgYWxsIGRhdGEASW52YWxpZCBjb2xvciBxdWFudGl6YXRpb24gbW9kZSBjaGFuZ2UATm90IGltcGxlbWVudGVkIHlldABSZXF1ZXN0ZWQgZmVhdHVyZSB3YXMgb21pdHRlZCBhdCBjb21waWxlIHRpbWUAQXJpdGhtZXRpYyB0YWJsZSAweCUwMnggd2FzIG5vdCBkZWZpbmVkAEJhY2tpbmcgc3RvcmUgbm90IHN1cHBvcnRlZABIdWZmbWFuIHRhYmxlIDB4JTAyeCB3YXMgbm90IGRlZmluZWQASlBFRyBkYXRhc3RyZWFtIGNvbnRhaW5zIG5vIGltYWdlAFF1YW50aXphdGlvbiB0YWJsZSAweCUwMnggd2FzIG5vdCBkZWZpbmVkAE5vdCBhIEpQRUcgZmlsZTogc3RhcnRzIHdpdGggMHglMDJ4IDB4JTAyeABJbnN1ZmZpY2llbnQgbWVtb3J5IChjYXNlICVkKQBDYW5ub3QgcXVhbnRpemUgbW9yZSB0aGFuICVkIGNvbG9yIGNvbXBvbmVudHMAQ2Fubm90IHF1YW50aXplIHRvIGZld2VyIHRoYW4gJWQgY29sb3JzAENhbm5vdCBxdWFudGl6ZSB0byBtb3JlIHRoYW4gJWQgY29sb3JzAEludmFsaWQgSlBFRyBmaWxlIHN0cnVjdHVyZTogJXMgYmVmb3JlIFNPRgBJbnZhbGlkIEpQRUcgZmlsZSBzdHJ1Y3R1cmU6IHR3byBTT0YgbWFya2VycwBJbnZhbGlkIEpQRUcgZmlsZSBzdHJ1Y3R1cmU6IG1pc3NpbmcgU09TIG1hcmtlcgBVbnN1cHBvcnRlZCBKUEVHIHByb2Nlc3M6IFNPRiB0eXBlIDB4JTAyeABJbnZhbGlkIEpQRUcgZmlsZSBzdHJ1Y3R1cmU6IHR3byBTT0kgbWFya2VycwBGYWlsZWQgdG8gY3JlYXRlIHRlbXBvcmFyeSBmaWxlICVzAFJlYWQgZmFpbGVkIG9uIHRlbXBvcmFyeSBmaWxlAFNlZWsgZmFpbGVkIG9uIHRlbXBvcmFyeSBmaWxlAFdyaXRlIGZhaWxlZCBvbiB0ZW1wb3JhcnkgZmlsZSAtLS0gb3V0IG9mIGRpc2sgc3BhY2U/AEFwcGxpY2F0aW9uIHRyYW5zZmVycmVkIHRvbyBmZXcgc2NhbmxpbmVzAFVuc3VwcG9ydGVkIG1hcmtlciB0eXBlIDB4JTAyeABWaXJ0dWFsIGFycmF5IGNvbnRyb2xsZXIgbWVzc2VkIHVwAEltYWdlIHRvbyB3aWRlIGZvciB0aGlzIGltcGxlbWVudGF0aW9uAFJlYWQgZnJvbSBYTVMgZmFpbGVkAFdyaXRlIHRvIFhNUyBmYWlsZWQAQ29weXJpZ2h0IChDKSAyMDE4LCBUaG9tYXMgRy4gTGFuZSwgR3VpZG8gVm9sbGJlZGluZwA5YyAgMTQtSmFuLTIwMTgAQ2F1dGlvbjogcXVhbnRpemF0aW9uIHRhYmxlcyBhcmUgdG9vIGNvYXJzZSBmb3IgYmFzZWxpbmUgSlBFRwBBZG9iZSBBUFAxNCBtYXJrZXI6IHZlcnNpb24gJWQsIGZsYWdzIDB4JTA0eCAweCUwNHgsIHRyYW5zZm9ybSAlZABVbmtub3duIEFQUDAgbWFya2VyIChub3QgSkZJRiksIGxlbmd0aCAldQBVbmtub3duIEFQUDE0IG1hcmtlciAobm90IEFkb2JlKSwgbGVuZ3RoICV1AERlZmluZSBBcml0aG1ldGljIFRhYmxlIDB4JTAyeDogMHglMDJ4AERlZmluZSBIdWZmbWFuIFRhYmxlIDB4JTAyeABEZWZpbmUgUXVhbnRpemF0aW9uIFRhYmxlICVkICBwcmVjaXNpb24gJWQARGVmaW5lIFJlc3RhcnQgSW50ZXJ2YWwgJXUARnJlZWQgRU1TIGhhbmRsZSAldQBPYnRhaW5lZCBFTVMgaGFuZGxlICV1AEVuZCBPZiBJbWFnZQAgICAgICAgICUzZCAlM2QgJTNkICUzZCAlM2QgJTNkICUzZCAlM2QASkZJRiBBUFAwIG1hcmtlcjogdmVyc2lvbiAlZC4lMDJkLCBkZW5zaXR5ICVkeCVkICAlZABXYXJuaW5nOiB0aHVtYm5haWwgaW1hZ2Ugc2l6ZSBkb2VzIG5vdCBtYXRjaCBkYXRhIGxlbmd0aCAldQBKRklGIGV4dGVuc2lvbiBtYXJrZXI6IHR5cGUgMHglMDJ4LCBsZW5ndGggJXUAICAgIHdpdGggJWQgeCAlZCB0aHVtYm5haWwgaW1hZ2UATWlzY2VsbGFuZW91cyBtYXJrZXIgMHglMDJ4LCBsZW5ndGggJXUAVW5leHBlY3RlZCBtYXJrZXIgMHglMDJ4ACAgICAgICAgJTR1ICU0dSAlNHUgJTR1ICU0dSAlNHUgJTR1ICU0dQBRdWFudGl6aW5nIHRvICVkID0gJWQqJWQqJWQgY29sb3JzAFF1YW50aXppbmcgdG8gJWQgY29sb3JzAFNlbGVjdGVkICVkIGNvbG9ycyBmb3IgcXVhbnRpemF0aW9uAEF0IG1hcmtlciAweCUwMngsIHJlY292ZXJ5IGFjdGlvbiAlZABSU1QlZABTbW9vdGhpbmcgbm90IHN1cHBvcnRlZCB3aXRoIG5vbnN0YW5kYXJkIHNhbXBsaW5nIHJhdGlvcwBTdGFydCBPZiBGcmFtZSAweCUwMng6IHdpZHRoPSV1LCBoZWlnaHQ9JXUsIGNvbXBvbmVudHM9JWQAICAgIENvbXBvbmVudCAlZDogJWRoeCVkdiBxPSVkAFN0YXJ0IG9mIEltYWdlAFN0YXJ0IE9mIFNjYW46ICVkIGNvbXBvbmVudHMAICAgIENvbXBvbmVudCAlZDogZGM9JWQgYWM9JWQAICBTcz0lZCwgU2U9JWQsIEFoPSVkLCBBbD0lZABDbG9zZWQgdGVtcG9yYXJ5IGZpbGUgJXMAT3BlbmVkIHRlbXBvcmFyeSBmaWxlICVzAEpGSUYgZXh0ZW5zaW9uIG1hcmtlcjogSlBFRy1jb21wcmVzc2VkIHRodW1ibmFpbCBpbWFnZSwgbGVuZ3RoICV1AEpGSUYgZXh0ZW5zaW9uIG1hcmtlcjogcGFsZXR0ZSB0aHVtYm5haWwgaW1hZ2UsIGxlbmd0aCAldQBKRklGIGV4dGVuc2lvbiBtYXJrZXI6IFJHQiB0aHVtYm5haWwgaW1hZ2UsIGxlbmd0aCAldQBVbnJlY29nbml6ZWQgY29tcG9uZW50IElEcyAlZCAlZCAlZCwgYXNzdW1pbmcgWUNiQ3IARnJlZWQgWE1TIGhhbmRsZSAldQBPYnRhaW5lZCBYTVMgaGFuZGxlICV1AFVua25vd24gQWRvYmUgY29sb3IgdHJhbnNmb3JtIGNvZGUgJWQAQ29ycnVwdCBKUEVHIGRhdGE6IGJhZCBhcml0aG1ldGljIGNvZGUASW5jb25zaXN0ZW50IHByb2dyZXNzaW9uIHNlcXVlbmNlIGZvciBjb21wb25lbnQgJWQgY29lZmZpY2llbnQgJWQAQ29ycnVwdCBKUEVHIGRhdGE6ICV1IGV4dHJhbmVvdXMgYnl0ZXMgYmVmb3JlIG1hcmtlciAweCUwMngAQ29ycnVwdCBKUEVHIGRhdGE6IHByZW1hdHVyZSBlbmQgb2YgZGF0YSBzZWdtZW50AENvcnJ1cHQgSlBFRyBkYXRhOiBiYWQgSHVmZm1hbiBjb2RlAFdhcm5pbmc6IHVua25vd24gSkZJRiByZXZpc2lvbiBudW1iZXIgJWQuJTAyZABQcmVtYXR1cmUgZW5kIG9mIEpQRUcgZmlsZQBDb3JydXB0IEpQRUcgZGF0YTogZm91bmQgbWFya2VyIDB4JTAyeCBpbnN0ZWFkIG9mIFJTVCVkAEludmFsaWQgU09TIHBhcmFtZXRlcnMgZm9yIHNlcXVlbnRpYWwgSlBFRwBBcHBsaWNhdGlvbiB0cmFuc2ZlcnJlZCB0b28gbWFueSBzY2FubGluZXMAU09TAExTRQBKUEVHTUVNACVsZCVjACVzCgAAAQIEBwMGBQAtKyAgIDBYMHgAKG51bGwpAC0wWCswWCAwWC0weCsweCAweABpbmYASU5GAE5BTgBpbmZpbml0eQBuYW4ATENfQUxMAExBTkcAQy5VVEYtOABQT1NJWABNVVNMX0xPQ1BBVEgAcndhAHRlcm1pbmF0aW5nIHdpdGggJXMgZXhjZXB0aW9uIG9mIHR5cGUgJXM6ICVzAHRlcm1pbmF0aW5nIHdpdGggJXMgZXhjZXB0aW9uIG9mIHR5cGUgJXMAdGVybWluYXRpbmcgd2l0aCAlcyBmb3JlaWduIGV4Y2VwdGlvbgB0ZXJtaW5hdGluZwB1bmNhdWdodABTdDlleGNlcHRpb24ATjEwX19jeHhhYml2MTE2X19zaGltX3R5cGVfaW5mb0UAU3Q5dHlwZV9pbmZvAE4xMF9fY3h4YWJpdjEyMF9fc2lfY2xhc3NfdHlwZV9pbmZvRQBOMTBfX2N4eGFiaXYxMTdfX2NsYXNzX3R5cGVfaW5mb0UAdGVybWluYXRlX2hhbmRsZXIgdW5leHBlY3RlZGx5IHJldHVybmVkAFN0MTFsb2dpY19lcnJvcgBTdDEybGVuZ3RoX2Vycm9yAE4xMF9fY3h4YWJpdjExN19fcGJhc2VfdHlwZV9pbmZvRQBOMTBfX2N4eGFiaXYxMTlfX3BvaW50ZXJfdHlwZV9pbmZvRQBQdXJlIHZpcnR1YWwgZnVuY3Rpb24gY2FsbGVkIQBOMTBfX2N4eGFiaXYxMjNfX2Z1bmRhbWVudGFsX3R5cGVfaW5mb0UAdgBiAGMAaABhAHMAdABpAGoAbQBmAGQATjEwX19jeHhhYml2MTIxX192bWlfY2xhc3NfdHlwZV9pbmZvRQBfWgBfX19aAF9ibG9ja19pbnZva2UAaW52b2NhdGlvbiBmdW5jdGlvbiBmb3IgYmxvY2sgaW4gAGxvbmcgbG9uZwBfX2ludDEyOAB1bnNpZ25lZCBfX2ludDEyOABsb25nIGRvdWJsZQBfX2Zsb2F0MTI4AC4uLgBkZWNpbWFsNjQAZGVjaW1hbDEyOABkZWNpbWFsMzIAZGVjaW1hbDE2AGNoYXIzMl90AGNoYXIxNl90AGF1dG8AZGVjbHR5cGUoYXV0bykAc3RkOjpudWxscHRyX3QAW2FiaToAXQBOMTJfR0xPQkFMX19OXzExNml0YW5pdW1fZGVtYW5nbGUxMEFiaVRhZ0F0dHJFAE4xMl9HTE9CQUxfX05fMTE2aXRhbml1bV9kZW1hbmdsZTROb2RlRQBhbGxvY2F0b3IAYmFzaWNfc3RyaW5nAHN0cmluZwBpc3RyZWFtAG9zdHJlYW0AaW9zdHJlYW0Ac3RkOjphbGxvY2F0b3IAc3RkOjpiYXNpY19zdHJpbmcAc3RkOjppc3RyZWFtAHN0ZDo6b3N0cmVhbQBzdGQ6Omlvc3RyZWFtAE4xMl9HTE9CQUxfX05fMTE2aXRhbml1bV9kZW1hbmdsZTE5U3BlY2lhbFN1YnN0aXR1dGlvbkUAIGltYWdpbmFyeQBOMTJfR0xPQkFMX19OXzExNml0YW5pdW1fZGVtYW5nbGUyMFBvc3RmaXhRdWFsaWZpZWRUeXBlRQAgY29tcGxleAApACAAKAAmACYmAE4xMl9HTE9CQUxfX05fMTE2aXRhbml1bV9kZW1hbmdsZTEzUmVmZXJlbmNlVHlwZUUAb2JqY19vYmplY3QAKgBpZDwAPgBOMTJfR0xPQkFMX19OXzExNml0YW5pdW1fZGVtYW5nbGUxMVBvaW50ZXJUeXBlRQBOMTJfR0xPQkFMX19OXzExNml0YW5pdW1fZGVtYW5nbGUyME5hbWVXaXRoVGVtcGxhdGVBcmdzRQA8ACwgAE4xMl9HTE9CQUxfX05fMTE2aXRhbml1bV9kZW1hbmdsZTEyVGVtcGxhdGVBcmdzRQBOMTJfR0xPQkFMX19OXzExNml0YW5pdW1fZGVtYW5nbGUxM1BhcmFtZXRlclBhY2tFAHdjaGFyX3QAYjBFAGIxRQB1AHVsAHVsbABOMTJfR0xPQkFMX19OXzExNml0YW5pdW1fZGVtYW5nbGUxNUludGVnZXJDYXN0RXhwckUAJUxhTABOMTJfR0xPQkFMX19OXzExNml0YW5pdW1fZGVtYW5nbGUxNkZsb2F0TGl0ZXJhbEltcGxJZUVFACVhAE4xMl9HTE9CQUxfX05fMTE2aXRhbml1bV9kZW1hbmdsZTE2RmxvYXRMaXRlcmFsSW1wbElkRUUAJWFmAE4xMl9HTE9CQUxfX05fMTE2aXRhbml1bV9kZW1hbmdsZTE2RmxvYXRMaXRlcmFsSW1wbElmRUUATjEyX0dMT0JBTF9fTl8xMTZpdGFuaXVtX2RlbWFuZ2xlOEJvb2xFeHByRQAtAE4xMl9HTE9CQUxfX05fMTE2aXRhbml1bV9kZW1hbmdsZTE0SW50ZWdlckxpdGVyYWxFAE4xMl9HTE9CQUxfX05fMTE2aXRhbml1bV9kZW1hbmdsZTIwVGVtcGxhdGVBcmd1bWVudFBhY2tFAGdzACY9AD0AYWxpZ25vZiAoACwAfgAuKgAvAC89AF4AXj0APT0APj0APD0APDwAPDw9AC09ACo9AC0tACE9ACEAfHwAfAB8PQAtPioAKwArPQArKwAtPgAlACU9AD4+AD4+PQBzaXplb2YgKAB0eXBlaWQgKAB0aHJvdwB0aHJvdyAATjEyX0dMT0JBTF9fTl8xMTZpdGFuaXVtX2RlbWFuZ2xlOVRocm93RXhwckUATjEyX0dMT0JBTF9fTl8xMTZpdGFuaXVtX2RlbWFuZ2xlMTJJbml0TGlzdEV4cHJFAE4xMl9HTE9CQUxfX05fMTE2aXRhbml1bV9kZW1hbmdsZTEzTm9kZUFycmF5Tm9kZUUAc2l6ZW9mLi4uICgATjEyX0dMT0JBTF9fTl8xMTZpdGFuaXVtX2RlbWFuZ2xlMTNFbmNsb3NpbmdFeHByRQBzaXplb2YuLi4oAE4xMl9HTE9CQUxfX05fMTE2aXRhbml1bV9kZW1hbmdsZTIyUGFyYW1ldGVyUGFja0V4cGFuc2lvbkUATjEyX0dMT0JBTF9fTl8xMTZpdGFuaXVtX2RlbWFuZ2xlMTlTaXplb2ZQYXJhbVBhY2tFeHByRQBzdGF0aWNfY2FzdAA+KABOMTJfR0xPQkFMX19OXzExNml0YW5pdW1fZGVtYW5nbGU4Q2FzdEV4cHJFAHJlaW50ZXJwcmV0X2Nhc3QAKSA/ICgAKSA6ICgATjEyX0dMT0JBTF9fTl8xMTZpdGFuaXVtX2RlbWFuZ2xlMTVDb25kaXRpb25hbEV4cHJFAG5vZXhjZXB0ICgAbncAbmEAcGkAOjpvcGVyYXRvciAAbmV3AFtdAE4xMl9HTE9CQUxfX05fMTE2aXRhbml1bV9kZW1hbmdsZTdOZXdFeHByRQBOMTJfR0xPQkFMX19OXzExNml0YW5pdW1fZGVtYW5nbGUxMVBvc3RmaXhFeHByRQAgLi4uIAAgPSAATjEyX0dMT0JBTF9fTl8xMTZpdGFuaXVtX2RlbWFuZ2xlMTVCcmFjZWRSYW5nZUV4cHJFAE4xMl9HTE9CQUxfX05fMTE2aXRhbml1bV9kZW1hbmdsZTEwQnJhY2VkRXhwckUAX0dMT0JBTF9fTgAoYW5vbnltb3VzIG5hbWVzcGFjZSkATjEyX0dMT0JBTF9fTl8xMTZpdGFuaXVtX2RlbWFuZ2xlOE5hbWVUeXBlRQApWwBOMTJfR0xPQkFMX19OXzExNml0YW5pdW1fZGVtYW5nbGUxOEFycmF5U3Vic2NyaXB0RXhwckUALgBOMTJfR0xPQkFMX19OXzExNml0YW5pdW1fZGVtYW5nbGUxME1lbWJlckV4cHJFAHNyTgBzcgA6OgBOMTJfR0xPQkFMX19OXzExNml0YW5pdW1fZGVtYW5nbGUxOUdsb2JhbFF1YWxpZmllZE5hbWVFAGRuAG9uAG9wZXJhdG9yJiYAb3BlcmF0b3ImAG9wZXJhdG9yJj0Ab3BlcmF0b3I9AG9wZXJhdG9yKCkAb3BlcmF0b3IsAG9wZXJhdG9yfgBvcGVyYXRvciBkZWxldGVbXQBvcGVyYXRvcioAb3BlcmF0b3IvAG9wZXJhdG9yLz0Ab3BlcmF0b3JeAG9wZXJhdG9yXj0Ab3BlcmF0b3I9PQBvcGVyYXRvcj49AG9wZXJhdG9yPgBvcGVyYXRvcltdAG9wZXJhdG9yPD0Ab3BlcmF0b3I8PABvcGVyYXRvcjw8PQBvcGVyYXRvcjwAb3BlcmF0b3ItAG9wZXJhdG9yLT0Ab3BlcmF0b3IqPQBvcGVyYXRvci0tAG9wZXJhdG9yIG5ld1tdAG9wZXJhdG9yIT0Ab3BlcmF0b3IhAG9wZXJhdG9yIG5ldwBvcGVyYXRvcnx8AG9wZXJhdG9yfABvcGVyYXRvcnw9AG9wZXJhdG9yLT4qAG9wZXJhdG9yKwBvcGVyYXRvcis9AG9wZXJhdG9yKysAb3BlcmF0b3ItPgBvcGVyYXRvcj8Ab3BlcmF0b3IlAG9wZXJhdG9yJT0Ab3BlcmF0b3I+PgBvcGVyYXRvcj4+PQBvcGVyYXRvcjw9PgBvcGVyYXRvciIiIABOMTJfR0xPQkFMX19OXzExNml0YW5pdW1fZGVtYW5nbGUxNUxpdGVyYWxPcGVyYXRvckUAb3BlcmF0b3IgZGVsZXRlAG9wZXJhdG9yIABOMTJfR0xPQkFMX19OXzExNml0YW5pdW1fZGVtYW5nbGUyMkNvbnZlcnNpb25PcGVyYXRvclR5cGVFAE4xMl9HTE9CQUxfX05fMTE2aXRhbml1bV9kZW1hbmdsZThEdG9yTmFtZUUATjEyX0dMT0JBTF9fTl8xMTZpdGFuaXVtX2RlbWFuZ2xlMTNRdWFsaWZpZWROYW1lRQBkeW5hbWljX2Nhc3QAZGVsZXRlAFtdIABOMTJfR0xPQkFMX19OXzExNml0YW5pdW1fZGVtYW5nbGUxMERlbGV0ZUV4cHJFAGN2ACkoAE4xMl9HTE9CQUxfX05fMTE2aXRhbml1bV9kZW1hbmdsZTE0Q29udmVyc2lvbkV4cHJFAE4xMl9HTE9CQUxfX05fMTE2aXRhbml1bV9kZW1hbmdsZThDYWxsRXhwckUAY29uc3RfY2FzdABOMTJfR0xPQkFMX19OXzExNml0YW5pdW1fZGVtYW5nbGUxMFByZWZpeEV4cHJFACkgACAoAE4xMl9HTE9CQUxfX05fMTE2aXRhbml1bV9kZW1hbmdsZTEwQmluYXJ5RXhwckUAYWEAYW4AYU4AYVMAY20AZHMAZHYAZFYAZW8AZU8AZXEAZ2UAZ3QAbGUAbHMAbFMAbHQAbWkAbUkAbWwAbUwAbmUAb28Ab3IAb1IAcGwAcEwAcm0Ack0AcnMAclMALi4uIAAgLi4uAE4xMl9HTE9CQUxfX05fMTE2aXRhbml1bV9kZW1hbmdsZThGb2xkRXhwckUAZnAAZkwATjEyX0dMT0JBTF9fTl8xMTZpdGFuaXVtX2RlbWFuZ2xlMTNGdW5jdGlvblBhcmFtRQBOMTJfR0xPQkFMX19OXzExNml0YW5pdW1fZGVtYW5nbGUyNEZvcndhcmRUZW1wbGF0ZVJlZmVyZW5jZUUAVHMAc3RydWN0AFR1AHVuaW9uAFRlAGVudW0ATjEyX0dMT0JBTF9fTl8xMTZpdGFuaXVtX2RlbWFuZ2xlMjJFbGFib3JhdGVkVHlwZVNwZWZUeXBlRQBTdEwAU3QAc3RkOjoATjEyX0dMT0JBTF9fTl8xMTZpdGFuaXVtX2RlbWFuZ2xlMTZTdGRRdWFsaWZpZWROYW1lRQBEQwBOMTJfR0xPQkFMX19OXzExNml0YW5pdW1fZGVtYW5nbGUyMVN0cnVjdHVyZWRCaW5kaW5nTmFtZUUAVXQAVWwAdkUAJ2xhbWJkYQAnKABOMTJfR0xPQkFMX19OXzExNml0YW5pdW1fZGVtYW5nbGUxNUNsb3N1cmVUeXBlTmFtZUUAJ3VubmFtZWQAJwBOMTJfR0xPQkFMX19OXzExNml0YW5pdW1fZGVtYW5nbGUxNVVubmFtZWRUeXBlTmFtZUUAc3RyaW5nIGxpdGVyYWwATjEyX0dMT0JBTF9fTl8xMTZpdGFuaXVtX2RlbWFuZ2xlOUxvY2FsTmFtZUUAc3RkAE4xMl9HTE9CQUxfX05fMTE2aXRhbml1bV9kZW1hbmdsZTEyQ3RvckR0b3JOYW1lRQBiYXNpY19pc3RyZWFtAGJhc2ljX29zdHJlYW0AYmFzaWNfaW9zdHJlYW0Ac3RkOjpiYXNpY19zdHJpbmc8Y2hhciwgc3RkOjpjaGFyX3RyYWl0czxjaGFyPiwgc3RkOjphbGxvY2F0b3I8Y2hhcj4gPgBzdGQ6OmJhc2ljX2lzdHJlYW08Y2hhciwgc3RkOjpjaGFyX3RyYWl0czxjaGFyPiA+AHN0ZDo6YmFzaWNfb3N0cmVhbTxjaGFyLCBzdGQ6OmNoYXJfdHJhaXRzPGNoYXI+ID4Ac3RkOjpiYXNpY19pb3N0cmVhbTxjaGFyLCBzdGQ6OmNoYXJfdHJhaXRzPGNoYXI+ID4ATjEyX0dMT0JBTF9fTl8xMTZpdGFuaXVtX2RlbWFuZ2xlMjdFeHBhbmRlZFNwZWNpYWxTdWJzdGl0dXRpb25FAE4xMl9HTE9CQUxfX05fMTE2aXRhbml1bV9kZW1hbmdsZTEwTmVzdGVkTmFtZUUAOjoqAE4xMl9HTE9CQUxfX05fMTE2aXRhbml1bV9kZW1hbmdsZTE5UG9pbnRlclRvTWVtYmVyVHlwZUUAWwBOMTJfR0xPQkFMX19OXzExNml0YW5pdW1fZGVtYW5nbGU5QXJyYXlUeXBlRQBEdgAgdmVjdG9yWwBOMTJfR0xPQkFMX19OXzExNml0YW5pdW1fZGVtYW5nbGUxMFZlY3RvclR5cGVFAHBpeGVsIHZlY3RvclsATjEyX0dMT0JBTF9fTl8xMTZpdGFuaXVtX2RlbWFuZ2xlMTVQaXhlbFZlY3RvclR5cGVFAGRlY2x0eXBlKAB1bnNpZ25lZCBsb25nIGxvbmcAb2JqY3Byb3RvACBjb25zdAAgdm9sYXRpbGUAIHJlc3RyaWN0AE4xMl9HTE9CQUxfX05fMTE2aXRhbml1bV9kZW1hbmdsZThRdWFsVHlwZUUATjEyX0dMT0JBTF9fTl8xMTZpdGFuaXVtX2RlbWFuZ2xlMTdWZW5kb3JFeHRRdWFsVHlwZUUATjEyX0dMT0JBTF9fTl8xMTZpdGFuaXVtX2RlbWFuZ2xlMTNPYmpDUHJvdG9OYW1lRQBEbwBub2V4Y2VwdABETwBEdwBEeABSRQBPRQAgJgAgJiYATjEyX0dMT0JBTF9fTl8xMTZpdGFuaXVtX2RlbWFuZ2xlMTJGdW5jdGlvblR5cGVFAHRocm93KABOMTJfR0xPQkFMX19OXzExNml0YW5pdW1fZGVtYW5nbGUyMER5bmFtaWNFeGNlcHRpb25TcGVjRQBub2V4Y2VwdCgATjEyX0dMT0JBTF9fTl8xMTZpdGFuaXVtX2RlbWFuZ2xlMTJOb2V4Y2VwdFNwZWNFAE4xMl9HTE9CQUxfX05fMTE2aXRhbml1bV9kZW1hbmdsZTExU3BlY2lhbE5hbWVFAE4xMl9HTE9CQUxfX05fMTE2aXRhbml1bV9kZW1hbmdsZTlEb3RTdWZmaXhFAFVhOWVuYWJsZV9pZkkATjEyX0dMT0JBTF9fTl8xMTZpdGFuaXVtX2RlbWFuZ2xlMTZGdW5jdGlvbkVuY29kaW5nRQAgW2VuYWJsZV9pZjoATjEyX0dMT0JBTF9fTl8xMTZpdGFuaXVtX2RlbWFuZ2xlMTJFbmFibGVJZkF0dHJFAHRocmVhZC1sb2NhbCB3cmFwcGVyIHJvdXRpbmUgZm9yIAByZWZlcmVuY2UgdGVtcG9yYXJ5IGZvciAAZ3VhcmQgdmFyaWFibGUgZm9yIABub24tdmlydHVhbCB0aHVuayB0byAAdmlydHVhbCB0aHVuayB0byAAdGhyZWFkLWxvY2FsIGluaXRpYWxpemF0aW9uIHJvdXRpbmUgZm9yIABjb25zdHJ1Y3Rpb24gdnRhYmxlIGZvciAALWluLQBOMTJfR0xPQkFMX19OXzExNml0YW5pdW1fZGVtYW5nbGUyMUN0b3JWdGFibGVTcGVjaWFsTmFtZUUAY292YXJpYW50IHJldHVybiB0aHVuayB0byAAdHlwZWluZm8gbmFtZSBmb3IgAHR5cGVpbmZvIGZvciAAVlRUIGZvciAAdnRhYmxlIGZvciAAdm9pZABib29sAGNoYXIAc2lnbmVkIGNoYXIAdW5zaWduZWQgY2hhcgBzaG9ydAB1bnNpZ25lZCBzaG9ydABpbnQAdW5zaWduZWQgaW50AGxvbmcAdW5zaWduZWQgbG9uZwBmbG9hdABkb3VibGUAc3RkOjpzdHJpbmcAc3RkOjpiYXNpY19zdHJpbmc8dW5zaWduZWQgY2hhcj4Ac3RkOjp3c3RyaW5nAGVtc2NyaXB0ZW46OnZhbABlbXNjcmlwdGVuOjptZW1vcnlfdmlldzxjaGFyPgBlbXNjcmlwdGVuOjptZW1vcnlfdmlldzxzaWduZWQgY2hhcj4AZW1zY3JpcHRlbjo6bWVtb3J5X3ZpZXc8dW5zaWduZWQgY2hhcj4AZW1zY3JpcHRlbjo6bWVtb3J5X3ZpZXc8c2hvcnQ+AGVtc2NyaXB0ZW46Om1lbW9yeV92aWV3PHVuc2lnbmVkIHNob3J0PgBlbXNjcmlwdGVuOjptZW1vcnlfdmlldzxpbnQ+AGVtc2NyaXB0ZW46Om1lbW9yeV92aWV3PHVuc2lnbmVkIGludD4AZW1zY3JpcHRlbjo6bWVtb3J5X3ZpZXc8bG9uZz4AZW1zY3JpcHRlbjo6bWVtb3J5X3ZpZXc8dW5zaWduZWQgbG9uZz4AZW1zY3JpcHRlbjo6bWVtb3J5X3ZpZXc8aW50OF90PgBlbXNjcmlwdGVuOjptZW1vcnlfdmlldzx1aW50OF90PgBlbXNjcmlwdGVuOjptZW1vcnlfdmlldzxpbnQxNl90PgBlbXNjcmlwdGVuOjptZW1vcnlfdmlldzx1aW50MTZfdD4AZW1zY3JpcHRlbjo6bWVtb3J5X3ZpZXc8aW50MzJfdD4AZW1zY3JpcHRlbjo6bWVtb3J5X3ZpZXc8dWludDMyX3Q+AGVtc2NyaXB0ZW46Om1lbW9yeV92aWV3PGZsb2F0PgBlbXNjcmlwdGVuOjptZW1vcnlfdmlldzxkb3VibGU+AGVtc2NyaXB0ZW46Om1lbW9yeV92aWV3PGxvbmcgZG91YmxlPgBOMTBlbXNjcmlwdGVuMTFtZW1vcnlfdmlld0llRUUATjEwZW1zY3JpcHRlbjExbWVtb3J5X3ZpZXdJZEVFAE4xMGVtc2NyaXB0ZW4xMW1lbW9yeV92aWV3SWZFRQBOMTBlbXNjcmlwdGVuMTFtZW1vcnlfdmlld0ltRUUATjEwZW1zY3JpcHRlbjExbWVtb3J5X3ZpZXdJbEVFAE4xMGVtc2NyaXB0ZW4xMW1lbW9yeV92aWV3SWpFRQBOMTBlbXNjcmlwdGVuMTFtZW1vcnlfdmlld0lpRUUATjEwZW1zY3JpcHRlbjExbWVtb3J5X3ZpZXdJdEVFAE4xMGVtc2NyaXB0ZW4xMW1lbW9yeV92aWV3SXNFRQBOMTBlbXNjcmlwdGVuMTFtZW1vcnlfdmlld0loRUUATjEwZW1zY3JpcHRlbjExbWVtb3J5X3ZpZXdJYUVFAE4xMGVtc2NyaXB0ZW4xMW1lbW9yeV92aWV3SWNFRQBOMTBlbXNjcmlwdGVuM3ZhbEUATlN0M19fMjEyYmFzaWNfc3RyaW5nSXdOU18xMWNoYXJfdHJhaXRzSXdFRU5TXzlhbGxvY2F0b3JJd0VFRUUATlN0M19fMjEyYmFzaWNfc3RyaW5nSWhOU18xMWNoYXJfdHJhaXRzSWhFRU5TXzlhbGxvY2F0b3JJaEVFRUUATlN0M19fMjhpb3NfYmFzZUUATlN0M19fMjliYXNpY19pb3NJY05TXzExY2hhcl90cmFpdHNJY0VFRUUATlN0M19fMjliYXNpY19pb3NJd05TXzExY2hhcl90cmFpdHNJd0VFRUUATlN0M19fMjE1YmFzaWNfc3RyZWFtYnVmSWNOU18xMWNoYXJfdHJhaXRzSWNFRUVFAE5TdDNfXzIxNWJhc2ljX3N0cmVhbWJ1Zkl3TlNfMTFjaGFyX3RyYWl0c0l3RUVFRQBOU3QzX18yMTNiYXNpY19pc3RyZWFtSWNOU18xMWNoYXJfdHJhaXRzSWNFRUVFAE5TdDNfXzIxM2Jhc2ljX2lzdHJlYW1Jd05TXzExY2hhcl90cmFpdHNJd0VFRUUATlN0M19fMjEzYmFzaWNfb3N0cmVhbUljTlNfMTFjaGFyX3RyYWl0c0ljRUVFRQBOU3QzX18yMTNiYXNpY19vc3RyZWFtSXdOU18xMWNoYXJfdHJhaXRzSXdFRUVFAE5TdDNfXzIxMV9fc3Rkb3V0YnVmSXdFRQBOU3QzX18yMTFfX3N0ZG91dGJ1ZkljRUUAdW5zdXBwb3J0ZWQgbG9jYWxlIGZvciBzdGFuZGFyZCBpbnB1dABOU3QzX18yMTBfX3N0ZGluYnVmSXdFRQBOU3QzX18yMTBfX3N0ZGluYnVmSWNFRQBOU3QzX18yN2NvbGxhdGVJY0VFAE5TdDNfXzI2bG9jYWxlNWZhY2V0RQBOU3QzX18yN2NvbGxhdGVJd0VFACVwAEMATlN0M19fMjdudW1fZ2V0SWNOU18xOWlzdHJlYW1idWZfaXRlcmF0b3JJY05TXzExY2hhcl90cmFpdHNJY0VFRUVFRQBOU3QzX18yOV9fbnVtX2dldEljRUUATlN0M19fMjE0X19udW1fZ2V0X2Jhc2VFAE5TdDNfXzI3bnVtX2dldEl3TlNfMTlpc3RyZWFtYnVmX2l0ZXJhdG9ySXdOU18xMWNoYXJfdHJhaXRzSXdFRUVFRUUATlN0M19fMjlfX251bV9nZXRJd0VFACVwAAAAAEwAbGwAJQAAAAAAbABOU3QzX18yN251bV9wdXRJY05TXzE5b3N0cmVhbWJ1Zl9pdGVyYXRvckljTlNfMTFjaGFyX3RyYWl0c0ljRUVFRUVFAE5TdDNfXzI5X19udW1fcHV0SWNFRQBOU3QzX18yMTRfX251bV9wdXRfYmFzZUUATlN0M19fMjdudW1fcHV0SXdOU18xOW9zdHJlYW1idWZfaXRlcmF0b3JJd05TXzExY2hhcl90cmFpdHNJd0VFRUVFRQBOU3QzX18yOV9fbnVtX3B1dEl3RUUAJUg6JU06JVMAJW0vJWQvJXkAJUk6JU06JVMgJXAAJWEgJWIgJWQgJUg6JU06JVMgJVkAQU0AUE0ASmFudWFyeQBGZWJydWFyeQBNYXJjaABBcHJpbABNYXkASnVuZQBKdWx5AEF1Z3VzdABTZXB0ZW1iZXIAT2N0b2JlcgBOb3ZlbWJlcgBEZWNlbWJlcgBKYW4ARmViAE1hcgBBcHIASnVuAEp1bABBdWcAU2VwAE9jdABOb3YARGVjAFN1bmRheQBNb25kYXkAVHVlc2RheQBXZWRuZXNkYXkAVGh1cnNkYXkARnJpZGF5AFNhdHVyZGF5AFN1bgBNb24AVHVlAFdlZABUaHUARnJpAFNhdAAlbS8lZC8leSVZLSVtLSVkJUk6JU06JVMgJXAlSDolTSVIOiVNOiVTJUg6JU06JVNOU3QzX18yOHRpbWVfZ2V0SWNOU18xOWlzdHJlYW1idWZfaXRlcmF0b3JJY05TXzExY2hhcl90cmFpdHNJY0VFRUVFRQBOU3QzX18yMjBfX3RpbWVfZ2V0X2Nfc3RvcmFnZUljRUUATlN0M19fMjl0aW1lX2Jhc2VFAE5TdDNfXzI4dGltZV9nZXRJd05TXzE5aXN0cmVhbWJ1Zl9pdGVyYXRvckl3TlNfMTFjaGFyX3RyYWl0c0l3RUVFRUVFAE5TdDNfXzIyMF9fdGltZV9nZXRfY19zdG9yYWdlSXdFRQBOU3QzX18yOHRpbWVfcHV0SWNOU18xOW9zdHJlYW1idWZfaXRlcmF0b3JJY05TXzExY2hhcl90cmFpdHNJY0VFRUVFRQBOU3QzX18yMTBfX3RpbWVfcHV0RQBOU3QzX18yOHRpbWVfcHV0SXdOU18xOW9zdHJlYW1idWZfaXRlcmF0b3JJd05TXzExY2hhcl90cmFpdHNJd0VFRUVFRQBOU3QzX18yMTBtb25leXB1bmN0SWNMYjBFRUUATlN0M19fMjEwbW9uZXlfYmFzZUUATlN0M19fMjEwbW9uZXlwdW5jdEljTGIxRUVFAE5TdDNfXzIxMG1vbmV5cHVuY3RJd0xiMEVFRQBOU3QzX18yMTBtb25leXB1bmN0SXdMYjFFRUUAMDEyMzQ1Njc4OQAlTGYATlN0M19fMjltb25leV9nZXRJY05TXzE5aXN0cmVhbWJ1Zl9pdGVyYXRvckljTlNfMTFjaGFyX3RyYWl0c0ljRUVFRUVFAE5TdDNfXzIxMV9fbW9uZXlfZ2V0SWNFRQAwMTIzNDU2Nzg5AE5TdDNfXzI5bW9uZXlfZ2V0SXdOU18xOWlzdHJlYW1idWZfaXRlcmF0b3JJd05TXzExY2hhcl90cmFpdHNJd0VFRUVFRQBOU3QzX18yMTFfX21vbmV5X2dldEl3RUUAJS4wTGYATlN0M19fMjltb25leV9wdXRJY05TXzE5b3N0cmVhbWJ1Zl9pdGVyYXRvckljTlNfMTFjaGFyX3RyYWl0c0ljRUVFRUVFAE5TdDNfXzIxMV9fbW9uZXlfcHV0SWNFRQBOU3QzX18yOW1vbmV5X3B1dEl3TlNfMTlvc3RyZWFtYnVmX2l0ZXJhdG9ySXdOU18xMWNoYXJfdHJhaXRzSXdFRUVFRUUATlN0M19fMjExX19tb25leV9wdXRJd0VFAE5TdDNfXzI4bWVzc2FnZXNJY0VFAE5TdDNfXzIxM21lc3NhZ2VzX2Jhc2VFAE5TdDNfXzIxN19fd2lkZW5fZnJvbV91dGY4SUxtMzJFRUUATlN0M19fMjdjb2RlY3Z0SURpYzExX19tYnN0YXRlX3RFRQBOU3QzX18yMTJjb2RlY3Z0X2Jhc2VFAE5TdDNfXzIxNl9fbmFycm93X3RvX3V0ZjhJTG0zMkVFRQBOU3QzX18yOG1lc3NhZ2VzSXdFRQBOU3QzX18yN2NvZGVjdnRJY2MxMV9fbWJzdGF0ZV90RUUATlN0M19fMjdjb2RlY3Z0SXdjMTFfX21ic3RhdGVfdEVFAE5TdDNfXzI3Y29kZWN2dElEc2MxMV9fbWJzdGF0ZV90RUUATlN0M19fMjZsb2NhbGU1X19pbXBFAE5TdDNfXzI1Y3R5cGVJY0VFAE5TdDNfXzIxMGN0eXBlX2Jhc2VFAE5TdDNfXzI1Y3R5cGVJd0VFAGZhbHNlAHRydWUATlN0M19fMjhudW1wdW5jdEljRUUATlN0M19fMjhudW1wdW5jdEl3RUUATlN0M19fMjE0X19zaGFyZWRfY291bnRFAE5TdDNfXzIxOV9fc2hhcmVkX3dlYWtfY291bnRF"; +memoryInitializer = "data:application/octet-stream;base64,AAAAAAAAAAByXQAAeV0AAIVdAACPXQAAnV0AAAAAAAAAAAAAAAAAAP//////////AAAAAAEAAAABAAAAAQAAAAAAAAD/////AAAAAAEAAAABAAAAAQAAAAAAAAD///////////////8AAAABAAEBAQACBP//BQMBAAL/Bgf/AwECAgMCAwIDAwD/BAYHBf8BBAUEBAUFBAUHBgYGBwcHBv8CBAYHBQP/AAEBAQEBAQABAQEAAAEBAQEBAAEBAAEBAQABAQEBAAEBAAEBAQEAAQEBAAEBAAEBAQEBAAABAQEAAQEBAQEBAAD//wP/BQb//wkK/wz//w//ERL/FP//Fxj//xv/HR7//wEC/wT//wcI//8L/w0O/xD//xP/FRb//xka/xz//x8BAAAAAgAAAAQAAAAIAAAAEAAAAAUAAAAKAAAAFAAAAA0AAAAaAAAAEQAAAAcAAAAOAAAAHAAAAB0AAAAfAAAAGwAAABMAAAADAAAABgAAAAwAAAAYAAAAFQAAAA8AAAAeAAAAGQAAABcAAAALAAAAFgAAAAkAAAASAAAAAAAAAAEAAAACAAAABAAAAAgAAAADAAAABgAAAAwAAAALAAAABQAAAAoAAAAHAAAADgAAAA8AAAANAAAACQAAAAAAAAD/////AAAAAAEAAAASAAAAAgAAAAUAAAATAAAACwAAAAMAAAAdAAAABgAAABsAAAAUAAAACAAAAAwAAAAXAAAABAAAAAoAAAAeAAAAEQAAAAcAAAAWAAAAHAAAABoAAAAVAAAAGQAAAAkAAAAQAAAADQAAAA4AAAAYAAAADwAAAP////8AAAAAAQAAAAQAAAACAAAACAAAAAUAAAAKAAAAAwAAAA4AAAAJAAAABwAAAAYAAAANAAAACwAAAAwAAAABAAAAAgAAAAQAAAAIAAAAEAAAACAAAABAAAAAAwAAAAYAAAAMAAAAGAAAADAAAABgAAAAQwAAAAUAAAAKAAAAFAAAACgAAABQAAAAIwAAAEYAAAAPAAAAHgAAADwAAAB4AAAAcwAAAGUAAABJAAAAEQAAACIAAABEAAAACwAAABYAAAAsAAAAWAAAADMAAABmAAAATwAAAB0AAAA6AAAAdAAAAGsAAABVAAAAKQAAAFIAAAAnAAAATgAAAB8AAAA+AAAAfAAAAHsAAAB1AAAAaQAAAFEAAAAhAAAAQgAAAAcAAAAOAAAAHAAAADgAAABwAAAAYwAAAEUAAAAJAAAAEgAAACQAAABIAAAAEwAAACYAAABMAAAAGwAAADYAAABsAAAAWwAAADUAAABqAAAAVwAAAC0AAABaAAAANwAAAG4AAABfAAAAPQAAAHoAAAB3AAAAbQAAAFkAAAAxAAAAYgAAAEcAAAANAAAAGgAAADQAAABoAAAAUwAAACUAAABKAAAAFwAAAC4AAABcAAAAOwAAAHYAAABvAAAAXQAAADkAAAByAAAAZwAAAE0AAAAZAAAAMgAAAGQAAABLAAAAFQAAACoAAABUAAAAKwAAAFYAAAAvAAAAXgAAAD8AAAB+AAAAfwAAAH0AAAB5AAAAcQAAAGEAAABBAAAAAAAAAP////8AAAAAAQAAAAcAAAACAAAADgAAAAgAAAA4AAAAAwAAAD8AAAAPAAAAHwAAAAkAAABaAAAAOQAAABUAAAAEAAAAHAAAAEAAAABDAAAAEAAAAHAAAAAgAAAAYQAAAAoAAABsAAAAWwAAAEYAAAA6AAAAJgAAABYAAAAvAAAABQAAADYAAAAdAAAAEwAAAEEAAABfAAAARAAAAC0AAAARAAAAKwAAAHEAAABzAAAAIQAAAE0AAABiAAAAdQAAAAsAAABXAAAAbQAAACMAAABcAAAASgAAAEcAAABPAAAAOwAAAGgAAAAnAAAAZAAAABcAAABSAAAAMAAAAHcAAAAGAAAAfgAAADcAAAANAAAAHgAAAD4AAAAUAAAAWQAAAEIAAAAbAAAAYAAAAG8AAABFAAAAawAAAC4AAAAlAAAAEgAAADUAAAAsAAAAXgAAAHIAAAAqAAAAdAAAAEwAAAAiAAAAVgAAAE4AAABJAAAAYwAAAGcAAAB2AAAAUQAAAAwAAAB9AAAAWAAAAD0AAABuAAAAGgAAACQAAABqAAAAXQAAADQAAABLAAAAKQAAAEgAAABVAAAAUAAAAGYAAAA8AAAAfAAAAGkAAAAZAAAAKAAAADMAAABlAAAAVAAAABgAAAB7AAAAUwAAADIAAAAxAAAAegAAAHgAAAB5AAAABAAAAIgAAAAFAAAAkAAAAAYAAACYAAAACQAAALAAAAAfZAAAJWQAACpkAAAyZAAAAAAAALK+uT4S3KC+kL45PhLcoL6Qvjm+AAAAgLK+ub4S3KA+kL45vhLcoD6Qvjk+0nIYvwAAAADScpi+OgYEv9JymD46BgS/0nIYPwAAAIDScpg+OgYEP9JymL46BgQ/AAAAgFa4Pb9mTSQ/Vri9vmZNJD9WuL0+AAAAAFa4PT9mTSS/Vri9PmZNJL9WuL2+DOlYPwAAAIAM6dg+mdk7Pwzp2L6Z2Ts/DOlYvwAAAAAM6di+mdk7vwzp2D6Z2Tu/AAAAAPxTbj/xZU6/DVTuPvFlTr8NVO6+AAAAgPxTbr/xZU4/DVTuvvFlTj8NVO4+AACAvwAAAAAAAAC/0LNdvwAAAD/Qs12/AACAPwAAAIAAAAA/0LNdPwAAAL/Qs10/ADcAAAA3AAAANwAAADcAAAAAAAABAAAACAAAABAAAAAJAAAAAgAAAAMAAAAKAAAAEQAAABgAAAAgAAAAGQAAABIAAAALAAAABAAAAAUAAAAMAAAAEwAAABoAAAAhAAAAKAAAADAAAAApAAAAIgAAABsAAAAUAAAADQAAAAYAAAAHAAAADgAAABUAAAAcAAAAIwAAACoAAAAxAAAAOAAAADkAAAAyAAAAKwAAACQAAAAdAAAAFgAAAA8AAAAXAAAAHgAAACUAAAAsAAAAMwAAADoAAAA7AAAANAAAAC0AAAAmAAAAHwAAACcAAAAuAAAANQAAADwAAAA9AAAANgAAAC8AAAA3AAAAPgAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAAAAAAAEAAAAIAAAAEAAAAAkAAAACAAAAAwAAAAoAAAARAAAAGAAAACAAAAAZAAAAEgAAAAsAAAAEAAAABQAAAAwAAAATAAAAGgAAACEAAAAoAAAAMAAAACkAAAAiAAAAGwAAABQAAAANAAAABgAAAA4AAAAVAAAAHAAAACMAAAAqAAAAMQAAADIAAAArAAAAJAAAAB0AAAAWAAAAHgAAACUAAAAsAAAAMwAAADQAAAAtAAAAJgAAAC4AAAA1AAAANgAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAgAAAAQAAAACQAAAAIAAAADAAAACgAAABEAAAAYAAAAIAAAABkAAAASAAAACwAAAAQAAAAFAAAADAAAABMAAAAaAAAAIQAAACgAAAApAAAAIgAAABsAAAAUAAAADQAAABUAAAAcAAAAIwAAACoAAAArAAAAJAAAAB0AAAAlAAAALAAAAC0AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAAAAAAAEAAAAIAAAAEAAAAAkAAAACAAAAAwAAAAoAAAARAAAAGAAAACAAAAAZAAAAEgAAAAsAAAAEAAAADAAAABMAAAAaAAAAIQAAACIAAAAbAAAAFAAAABwAAAAjAAAAJAAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAgAAAAQAAAACQAAAAIAAAADAAAACgAAABEAAAAYAAAAGQAAABIAAAALAAAAEwAAABoAAAAbAAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAAAAAAABAAAACAAAABAAAAAJAAAAAgAAAAoAAAARAAAAEgAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAgAAAAJAAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAIEBHVoOAoYlEAMUERIECwgUBdgDFwbaARkH5QAcCG8AHgk2ACEKGgAjCw0ACQwGAAoNAwAMDQEAjw9/WiQQJT8mEfIsJxJ8ICgTuRcqFIIRKxXvDC0WoQkuFy8HMBhcBTEZBgQzGgMDNBtAAjYcsQE4HUQBOR71ADsftwA8IIoAPiFoAD8iTgAgIzsAIQksAKUl4VpAJkxIQScNOkMo8S5EKR8mRSozH0YrqBlILBgVSS13EUoudA5LL/sLTTD4CU4xYQhPMgYHMDPNBTI03gQyNQ8EMzZjAzQ31AI1OFwCNjn4ATc6pAE4O2ABOTwlATo99gA7PssAPT+rAD0gjwDBQRJbUEIETVFDLEFSRNg3U0XoL1RGPClWR3kjV0jfHldJqRpISk4XSEskFEpMnBFKTWsPS05RDU1PtgtNMEAK0FEyWFhSHE1ZU45DWlTdO1tV7jRcVq4uXVeaKVZHFiXYWXBVX1qpTGBb2URhXCI+Y10kOGNetDJdVhcu32CoVmVhRk9mYuVHZ2PPQWhkPTxjXV43aWYxUmpnD0xraDlGZ2NeQelqJ1Zsa+dQbWeFS25tl1Vva09Q7m8QWnBtIlXwb+tZcXEdWgAAAAAAAAAAB7cAAB23AAA9twAAYrcAAHy3AACbtwAAsLcAAM23AAD3twAAN7gAAFa4AABtuAAAg7gAAJe4AADUuAAABLkAACC5AABDuQAAerkAALG5AADIuQAA6LkAABK6AABfugAAeroAAKW6AADBugAA5roAAAy7AAAxuwAARLsAAFm7AABsuwAAf7sAAKS7AAC5uwAAzbsAAO67AAAEvAAAM7wAAFu8AAB8vAAAnbwAAMy8AADdvAAA+bwAADe9AABevQAAhb0AAJm9AADHvQAA770AAAu+AAAwvgAAUr4AAHy+AACnvgAAxb4AAPO+AAAbvwAAQr8AAG2/AACavwAAyr8AAPS/AAAhwAAARMAAAGLAAACAwAAAtsAAAODAAAD/wAAAIsEAAEnBAABewQAAcsEAAKfBAAC3wQAA9cEAADfCAABhwgAAjcIAALTCAADQwgAA+8IAABbDAAAqwwAAQcMAAE7DAAB2wwAAq8MAAOfDAAAVxAAANsQAAF3EAAB2xAAAnsQAAMHEAADZxAAA/cQAACLFAAAoxQAAYcUAAJvFAAC6xQAAycUAAObFAAAExgAAIcYAADrGAABTxgAAlcYAAM/GAAAFxwAAOccAAE3HAABkxwAAiscAALHHAADzxwAAL8gAAGDIAACEyAAAssgAAM3IAAAFyQAAMMkAAAAAAAAAAAAAAQAAAAIAAAADAAAAAAAAAAEAAAAFAAAAAgAAAAQAAAAGAAAAAwAAAAcAAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAABgAAAAIAAAAEAAAABwAAAAwAAAADAAAACAAAAAsAAAANAAAACQAAAAoAAAAOAAAADwAAAAAAAAABAAAABQAAAAYAAAAOAAAAAgAAAAQAAAAHAAAADQAAAA8AAAADAAAACAAAAAwAAAAQAAAAFQAAAAkAAAALAAAAEQAAABQAAAAWAAAACgAAABIAAAATAAAAFwAAABgAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAUAAAAGAAAADgAAAA8AAAACAAAABAAAAAcAAAANAAAAEAAAABkAAAADAAAACAAAAAwAAAARAAAAGAAAABoAAAAJAAAACwAAABIAAAAXAAAAGwAAACAAAAAKAAAAEwAAABYAAAAcAAAAHwAAACEAAAAUAAAAFQAAAB0AAAAeAAAAIgAAACMAAAAAAAAAAQAAAAUAAAAGAAAADgAAAA8AAAAbAAAAAgAAAAQAAAAHAAAADQAAABAAAAAaAAAAHAAAAAMAAAAIAAAADAAAABEAAAAZAAAAHQAAACYAAAAJAAAACwAAABIAAAAYAAAAHgAAACUAAAAnAAAACgAAABMAAAAXAAAAHwAAACQAAAAoAAAALQAAABQAAAAWAAAAIAAAACMAAAApAAAALAAAAC4AAAAVAAAAIQAAACIAAAAqAAAAKwAAAC8AAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAABgAAAA4AAAAPAAAAGwAAABwAAAACAAAABAAAAAcAAAANAAAAEAAAABoAAAAdAAAAKgAAAAMAAAAIAAAADAAAABEAAAAZAAAAHgAAACkAAAArAAAACQAAAAsAAAASAAAAGAAAAB8AAAAoAAAALAAAADUAAAAKAAAAEwAAABcAAAAgAAAAJwAAAC0AAAA0AAAANgAAABQAAAAWAAAAIQAAACYAAAAuAAAAMwAAADcAAAA8AAAAFQAAACIAAAAlAAAALwAAADIAAAA4AAAAOwAAAD0AAAAjAAAAJAAAADAAAAAxAAAAOQAAADoAAAA+AAAAPwAAAAAAAAABAAAAAwAAAAcAAAAPAAAAHwAAAD8AAAB/AAAA/wAAAP8BAAD/AwAA/wcAAP8PAAD/HwAA/z8AAP9/AAAAwDDwDMw8/APDM/MPzz//gECwcIxMvHyDQ7Nzj0+/fyDgENAs7BzcI+MT0y/vH9+gYJBQrGycXKNjk1Ovb59fCMg4+ATENPQLyzv7B8c394hIuHiERLR0i0u7e4dHt3co6BjYJOQU1CvrG9sn5xfXqGiYWKRklFSra5tbp2eXVwLCMvIOzj7+AcEx8Q3NPf2CQrJyjk6+foFBsXGNTb19IuIS0i7uHt4h4RHRLe0d3aJiklKubp5eoWGRUa1tnV0Kyjr6BsY29gnJOfkFxTX1ikq6eoZGtnaJSbl5hUW1dSrqGtom5hbWKekZ2SXlFdWqappapmaWVqlpmVmlZZVVAEDFWJ9TQksAQEkyoyKoEcVYIXv8c2JoxVi/RQswfhifU/xzQW1UYp9Ts0FBLRIXQktiaFRiflhCSyE7uijDFABAxVifU0JLAEBJMqMiqBFJMr9Fs0EhO0kygic3G+ANoyILMEEtuiijIjcbvxKOCagRfhgSF8MUqBHgDY4J3wQAAAAAAADwP+9hSLFQMfY/ym9Nka7n9D+qEWzvYtDyPwAAAAAAAPA/O7+nwGkk6T+7IMd7elHhP12rct5VqNE/3hIElQAAAAD///////////////8AAAAAAAAAAAAAAAACAADAAwAAwAQAAMAFAADABgAAwAcAAMAIAADACQAAwAoAAMALAADADAAAwA0AAMAOAADADwAAwBAAAMARAADAEgAAwBMAAMAUAADAFQAAwBYAAMAXAADAGAAAwBkAAMAaAADAGwAAwBwAAMAdAADAHgAAwB8AAMAAAACzAQAAwwIAAMMDAADDBAAAwwUAAMMGAADDBwAAwwgAAMMJAADDCgAAwwsAAMMMAADDDQAA0w4AAMMPAADDAAAMuwEADMMCAAzDAwAMwwQADNMAAAAAGRJEOwI/LEcUPTMwChsGRktFNw9JDo4XA0AdPGkrNh9KLRwBICUpIQgMFRYiLhA4Pgs0MRhkdHV2L0EJfzkRI0MyQomKiwUEJignDSoeNYwHGkiTE5SVAAAAAAAAAAAASWxsZWdhbCBieXRlIHNlcXVlbmNlAERvbWFpbiBlcnJvcgBSZXN1bHQgbm90IHJlcHJlc2VudGFibGUATm90IGEgdHR5AFBlcm1pc3Npb24gZGVuaWVkAE9wZXJhdGlvbiBub3QgcGVybWl0dGVkAE5vIHN1Y2ggZmlsZSBvciBkaXJlY3RvcnkATm8gc3VjaCBwcm9jZXNzAEZpbGUgZXhpc3RzAFZhbHVlIHRvbyBsYXJnZSBmb3IgZGF0YSB0eXBlAE5vIHNwYWNlIGxlZnQgb24gZGV2aWNlAE91dCBvZiBtZW1vcnkAUmVzb3VyY2UgYnVzeQBJbnRlcnJ1cHRlZCBzeXN0ZW0gY2FsbABSZXNvdXJjZSB0ZW1wb3JhcmlseSB1bmF2YWlsYWJsZQBJbnZhbGlkIHNlZWsAQ3Jvc3MtZGV2aWNlIGxpbmsAUmVhZC1vbmx5IGZpbGUgc3lzdGVtAERpcmVjdG9yeSBub3QgZW1wdHkAQ29ubmVjdGlvbiByZXNldCBieSBwZWVyAE9wZXJhdGlvbiB0aW1lZCBvdXQAQ29ubmVjdGlvbiByZWZ1c2VkAEhvc3QgaXMgZG93bgBIb3N0IGlzIHVucmVhY2hhYmxlAEFkZHJlc3MgaW4gdXNlAEJyb2tlbiBwaXBlAEkvTyBlcnJvcgBObyBzdWNoIGRldmljZSBvciBhZGRyZXNzAEJsb2NrIGRldmljZSByZXF1aXJlZABObyBzdWNoIGRldmljZQBOb3QgYSBkaXJlY3RvcnkASXMgYSBkaXJlY3RvcnkAVGV4dCBmaWxlIGJ1c3kARXhlYyBmb3JtYXQgZXJyb3IASW52YWxpZCBhcmd1bWVudABBcmd1bWVudCBsaXN0IHRvbyBsb25nAFN5bWJvbGljIGxpbmsgbG9vcABGaWxlbmFtZSB0b28gbG9uZwBUb28gbWFueSBvcGVuIGZpbGVzIGluIHN5c3RlbQBObyBmaWxlIGRlc2NyaXB0b3JzIGF2YWlsYWJsZQBCYWQgZmlsZSBkZXNjcmlwdG9yAE5vIGNoaWxkIHByb2Nlc3MAQmFkIGFkZHJlc3MARmlsZSB0b28gbGFyZ2UAVG9vIG1hbnkgbGlua3MATm8gbG9ja3MgYXZhaWxhYmxlAFJlc291cmNlIGRlYWRsb2NrIHdvdWxkIG9jY3VyAFN0YXRlIG5vdCByZWNvdmVyYWJsZQBQcmV2aW91cyBvd25lciBkaWVkAE9wZXJhdGlvbiBjYW5jZWxlZABGdW5jdGlvbiBub3QgaW1wbGVtZW50ZWQATm8gbWVzc2FnZSBvZiBkZXNpcmVkIHR5cGUASWRlbnRpZmllciByZW1vdmVkAERldmljZSBub3QgYSBzdHJlYW0ATm8gZGF0YSBhdmFpbGFibGUARGV2aWNlIHRpbWVvdXQAT3V0IG9mIHN0cmVhbXMgcmVzb3VyY2VzAExpbmsgaGFzIGJlZW4gc2V2ZXJlZABQcm90b2NvbCBlcnJvcgBCYWQgbWVzc2FnZQBGaWxlIGRlc2NyaXB0b3IgaW4gYmFkIHN0YXRlAE5vdCBhIHNvY2tldABEZXN0aW5hdGlvbiBhZGRyZXNzIHJlcXVpcmVkAE1lc3NhZ2UgdG9vIGxhcmdlAFByb3RvY29sIHdyb25nIHR5cGUgZm9yIHNvY2tldABQcm90b2NvbCBub3QgYXZhaWxhYmxlAFByb3RvY29sIG5vdCBzdXBwb3J0ZWQAU29ja2V0IHR5cGUgbm90IHN1cHBvcnRlZABOb3Qgc3VwcG9ydGVkAFByb3RvY29sIGZhbWlseSBub3Qgc3VwcG9ydGVkAEFkZHJlc3MgZmFtaWx5IG5vdCBzdXBwb3J0ZWQgYnkgcHJvdG9jb2wAQWRkcmVzcyBub3QgYXZhaWxhYmxlAE5ldHdvcmsgaXMgZG93bgBOZXR3b3JrIHVucmVhY2hhYmxlAENvbm5lY3Rpb24gcmVzZXQgYnkgbmV0d29yawBDb25uZWN0aW9uIGFib3J0ZWQATm8gYnVmZmVyIHNwYWNlIGF2YWlsYWJsZQBTb2NrZXQgaXMgY29ubmVjdGVkAFNvY2tldCBub3QgY29ubmVjdGVkAENhbm5vdCBzZW5kIGFmdGVyIHNvY2tldCBzaHV0ZG93bgBPcGVyYXRpb24gYWxyZWFkeSBpbiBwcm9ncmVzcwBPcGVyYXRpb24gaW4gcHJvZ3Jlc3MAU3RhbGUgZmlsZSBoYW5kbGUAUmVtb3RlIEkvTyBlcnJvcgBRdW90YSBleGNlZWRlZABObyBtZWRpdW0gZm91bmQAV3JvbmcgbWVkaXVtIHR5cGUATm8gZXJyb3IgaW5mb3JtYXRpb24AAAAAAABMQ19DVFlQRQAAAABMQ19OVU1FUklDAABMQ19USU1FAAAAAABMQ19DT0xMQVRFAABMQ19NT05FVEFSWQBMQ19NRVNTQUdFUwAAAAAAAAAAAP////////////////////////////////////////////////////////////////8AAQIDBAUGBwgJ/////////woLDA0ODxAREhMUFRYXGBkaGxwdHh8gISIj////////CgsMDQ4PEBESExQVFhcYGRobHB0eHyAhIiP/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////AAAAAAAAAAAAAAAAAAAAEQAKABEREQAAAAAFAAAAAAAACQAAAAALAAAAAAAAAAARAA8KERERAwoHAAETCQsLAAAJBgsAAAsABhEAAAAREREAAAAAAAAAAAAAAAAAAAAACwAAAAAAAAAAEQAKChEREQAKAAACAAkLAAAACQALAAALAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwAAAAAAAAAAAAAAAwAAAAADAAAAAAJDAAAAAAADAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAANAAAABA0AAAAACQ4AAAAAAA4AAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAADwAAAAAPAAAAAAkQAAAAAAAQAAAQAAASAAAAEhISAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABIAAAASEhIAAAAAAAAJAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAALAAAAAAAAAAAAAAAKAAAAAAoAAAAACQsAAAAAAAsAAAsAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAAAAAAAAAAAAAAADAAAAAAMAAAAAAkMAAAAAAAMAAAMAAAwMTIzNDU2Nzg5QUJDREVGAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAgACAAIAAgACAAIAAgACAAMgAiACIAIgAiACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgABYATABMAEwATABMAEwATABMAEwATABMAEwATABMAEwAjYCNgI2AjYCNgI2AjYCNgI2AjYBMAEwATABMAEwATABMAI1QjVCNUI1QjVCNUIxQjFCMUIxQjFCMUIxQjFCMUIxQjFCMUIxQjFCMUIxQjFCMUIxQjFBMAEwATABMAEwATACNYI1gjWCNYI1gjWCMYIxgjGCMYIxgjGCMYIxgjGCMYIxgjGCMYIxgjGCMYIxgjGCMYIxgTABMAEwATAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAIAAAADAAAABAAAAAUAAAAGAAAABwAAAAgAAAAJAAAACgAAAAsAAAAMAAAADQAAAA4AAAAPAAAAEAAAABEAAAASAAAAEwAAABQAAAAVAAAAFgAAABcAAAAYAAAAGQAAABoAAAAbAAAAHAAAAB0AAAAeAAAAHwAAACAAAAAhAAAAIgAAACMAAAAkAAAAJQAAACYAAAAnAAAAKAAAACkAAAAqAAAAKwAAACwAAAAtAAAALgAAAC8AAAAwAAAAMQAAADIAAAAzAAAANAAAADUAAAA2AAAANwAAADgAAAA5AAAAOgAAADsAAAA8AAAAPQAAAD4AAAA/AAAAQAAAAGEAAABiAAAAYwAAAGQAAABlAAAAZgAAAGcAAABoAAAAaQAAAGoAAABrAAAAbAAAAG0AAABuAAAAbwAAAHAAAABxAAAAcgAAAHMAAAB0AAAAdQAAAHYAAAB3AAAAeAAAAHkAAAB6AAAAWwAAAFwAAABdAAAAXgAAAF8AAABgAAAAYQAAAGIAAABjAAAAZAAAAGUAAABmAAAAZwAAAGgAAABpAAAAagAAAGsAAABsAAAAbQAAAG4AAABvAAAAcAAAAHEAAAByAAAAcwAAAHQAAAB1AAAAdgAAAHcAAAB4AAAAeQAAAHoAAAB7AAAAfAAAAH0AAAB+AAAAfwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAIAAAADAAAABAAAAAUAAAAGAAAABwAAAAgAAAAJAAAACgAAAAsAAAAMAAAADQAAAA4AAAAPAAAAEAAAABEAAAASAAAAEwAAABQAAAAVAAAAFgAAABcAAAAYAAAAGQAAABoAAAAbAAAAHAAAAB0AAAAeAAAAHwAAACAAAAAhAAAAIgAAACMAAAAkAAAAJQAAACYAAAAnAAAAKAAAACkAAAAqAAAAKwAAACwAAAAtAAAALgAAAC8AAAAwAAAAMQAAADIAAAAzAAAANAAAADUAAAA2AAAANwAAADgAAAA5AAAAOgAAADsAAAA8AAAAPQAAAD4AAAA/AAAAQAAAAEEAAABCAAAAQwAAAEQAAABFAAAARgAAAEcAAABIAAAASQAAAEoAAABLAAAATAAAAE0AAABOAAAATwAAAFAAAABRAAAAUgAAAFMAAABUAAAAVQAAAFYAAABXAAAAWAAAAFkAAABaAAAAWwAAAFwAAABdAAAAXgAAAF8AAABgAAAAQQAAAEIAAABDAAAARAAAAEUAAABGAAAARwAAAEgAAABJAAAASgAAAEsAAABMAAAATQAAAE4AAABPAAAAUAAAAFEAAABSAAAAUwAAAFQAAABVAAAAVgAAAFcAAABYAAAAWQAAAFoAAAB7AAAAfAAAAH0AAAB+AAAAfwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACgAAAGQAAADoAwAAECcAAKCGAQBAQg8AgJaYAADh9QUAAAAAAgAAAAMAAAAFAAAABwAAAAsAAAANAAAAEQAAABMAAAAXAAAAHQAAAB8AAAAlAAAAKQAAACsAAAAvAAAANQAAADsAAAA9AAAAQwAAAEcAAABJAAAATwAAAFMAAABZAAAAYQAAAGUAAABnAAAAawAAAG0AAABxAAAAfwAAAIMAAACJAAAAiwAAAJUAAACXAAAAnQAAAKMAAACnAAAArQAAALMAAAC1AAAAvwAAAMEAAADFAAAAxwAAANMAAAABAAAACwAAAA0AAAARAAAAEwAAABcAAAAdAAAAHwAAACUAAAApAAAAKwAAAC8AAAA1AAAAOwAAAD0AAABDAAAARwAAAEkAAABPAAAAUwAAAFkAAABhAAAAZQAAAGcAAABrAAAAbQAAAHEAAAB5AAAAfwAAAIMAAACJAAAAiwAAAI8AAACVAAAAlwAAAJ0AAACjAAAApwAAAKkAAACtAAAAswAAALUAAAC7AAAAvwAAAMEAAADFAAAAxwAAANEAAAAwMTIzNDU2Nzg5YWJjZGVmQUJDREVGeFgrLXBQaUluTgAAAAAAAAAAAAAAAAAAAAAlAAAAbQAAAC8AAAAlAAAAZAAAAC8AAAAlAAAAeQAAACUAAABZAAAALQAAACUAAABtAAAALQAAACUAAABkAAAAJQAAAEkAAAA6AAAAJQAAAE0AAAA6AAAAJQAAAFMAAAAgAAAAJQAAAHAAAAAAAAAAJQAAAEgAAAA6AAAAJQAAAE0AAAAAAAAAAAAAAAAAAAAlAAAASAAAADoAAAAlAAAATQAAADoAAAAlAAAAUwAAACUAAABIAAAAOgAAACUAAABNAAAAOgAAACUAAABTAAAA3EMAAEltAAAERAAACXoAAIAzAAAAAAAABEQAABp9AAA4NgAAAAAAAAREAACHiAAAUEEAAAAAAAAERAAAH5oAAFBBAAAAAAAABEQAAJOaAABQQQAAAAAAAHBEAAAXsgAAAAAAAAEAAADwMwAAAAAAANxDAABWsgAACQAAAAAAAAAAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAEAAACI8gAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP////8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAAIAAACY9gAAAAQAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAACv////8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAAEAAADGCgEAAAAAAAAAAAAAAAAAAgAAAAAAAAAAAAAAAAAA//////8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA//////8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA3EMAAHfKAAAERAAA18oAAFA2AAAAAAAABEQAAITKAABgNgAAAAAAANxDAAClygAABEQAALLKAABANgAAAAAAAAREAAAhywAAODYAAAAAAAAERAAAMcsAAHg2AAAAAAAABEQAAELLAABQNgAAAAAAAAREAABkywAAmDYAAAAAAAAERAAApssAAFA2AAAAAAAAVEQAAM7LAABURAAA0MsAAFREAADSywAAVEQAANTLAABURAAA1ssAAFREAADYywAAVEQAANrLAABURAAA3MsAAFREAADeywAAVEQAAIXqAABURAAA4MsAAFREAADiywAAVEQAAOTLAAAERAAA5ssAAEA2AAAAAAAABEQAAOrMAABQNwAAAAAAANxDAAAZzQAABEQAAMHNAABQNwAAAAAAAAREAAAEzgAAUDcAAAAAAAAERAAAUc4AAFA3AAAAAAAABEQAAJfOAABQNwAAAAAAAAREAADHzgAAUDcAAAAAAAAERAAABc8AAFA3AAAAAAAABEQAADbPAABQNwAAAAAAAAREAACBzwAAUDcAAAAAAAAERAAAus8AAFA3AAAAAAAABEQAAPXPAABQNwAAAAAAAAREAAAx0AAAUDcAAAAAAAAERAAAadAAAFA3AAAAAAAABEQAAJfQAABQNwAAAAAAAAREAADK0AAAUDcAAAAAAAAERAAAhtEAAFA3AAAAAAAABEQAALPRAABQNwAAAAAAAAREAADk0QAAUDcAAAAAAAAERAAAItIAAFA3AAAAAAAABEQAAJrSAABQNwAAAAAAAAREAABf0gAAUDcAAAAAAAAERAAA4dIAAFA3AAAAAAAABEQAACrTAABQNwAAAAAAAAREAACF0wAAUDcAAAAAAAAERAAAsNMAAFA3AAAAAAAABEQAAOrTAABQNwAAAAAAAAREAAAe1AAAUDcAAAAAAAAERAAAbtQAAFA3AAAAAAAABEQAAJ3UAABQNwAAAAAAAAREAADW1AAAUDcAAAAAAAAERAAAD9UAAFA3AAAAAAAABEQAADTXAABQNwAAAAAAAAREAACC1wAAUDcAAAAAAAAERAAAvdcAAFA3AAAAAAAABEQAAOnXAABQNwAAAAAAAAREAAAz2AAAUDcAAAAAAAAERAAAaNgAAFA3AAAAAAAABEQAAJvYAABQNwAAAAAAAAREAADS2AAAUDcAAAAAAAAERAAAB9kAAFA3AAAAAAAABEQAAJ3ZAABQNwAAAAAAAAREAADP2QAAUDcAAAAAAAAERAAAAdoAAFA3AAAAAAAABEQAAFnaAABQNwAAAAAAAAREAACh2gAAUDcAAAAAAAAERAAA2doAAFA3AAAAAAAABEQAACfbAABQNwAAAAAAAAREAABm2wAAUDcAAAAAAAAERAAAqdsAAFA3AAAAAAAABEQAANrbAABQNwAAAAAAAAREAAAU3QAAUDcAAAAAAAAERAAAVN0AAFA3AAAAAAAABEQAAIfdAABQNwAAAAAAAAREAADB3QAAUDcAAAAAAAAERAAA+t0AAFA3AAAAAAAABEQAADfeAABQNwAAAAAAAAREAACt3gAAUDcAAAAAAAAERAAA2d4AAFA3AAAAAAAABEQAAA/fAABQNwAAAAAAAAREAABj3wAAUDcAAAAAAAAERAAAm98AAFA3AAAAAAAABEQAAN7fAABQNwAAAAAAAAREAAAP4AAAUDcAAAAAAAAERAAAP+AAAFA3AAAAAAAABEQAAHrgAABQNwAAAAAAAAREAAC84AAAUDcAAAAAAAAERAAAq+EAAFA3AAAAAAAA3EMAAFPlAADcQwAAcuUAANxDAACR5QAA3EMAALDlAADcQwAAz+UAANxDAADu5QAA3EMAAA3mAADcQwAALOYAANxDAABL5gAA3EMAAGrmAADcQwAAieYAANxDAACo5gAA3EMAAMfmAABwRAAA2uYAAAAAAAABAAAA8DMAAAAAAABwRAAAGecAAAAAAAABAAAA8DMAAAAAAAAERAAAaucAACA8AAAAAAAA3EMAAFjnAAAERAAAlOcAACA8AAAAAAAA3EMAAL7nAADcQwAA7+cAAHBEAAAg6AAAAAAAAAEAAAAQPAAAA/T//3BEAABP6AAAAAAAAAEAAAAoPAAAA/T//3BEAAB+6AAAAAAAAAEAAAAQPAAAA/T//3BEAACt6AAAAAAAAAEAAAAoPAAAA/T//wREAADc6AAAQDwAAAAAAAAERAAA9egAADg8AAAAAAAABEQAADTpAABAPAAAAAAAAAREAABM6QAAODwAAAAAAAAERAAAZOkAAPg8AAAAAAAABEQAAHjpAABIQQAAAAAAAAREAACO6QAA+DwAAAAAAABwRAAAp+kAAAAAAAACAAAA+DwAAAIAAAA4PQAAAAAAAHBEAADr6QAAAAAAAAEAAABQPQAAAAAAANxDAAAB6gAAcEQAABrqAAAAAAAAAgAAAPg8AAACAAAAeD0AAAAAAABwRAAAXuoAAAAAAAABAAAAUD0AAAAAAABwRAAAh+oAAAAAAAACAAAA+DwAAAIAAACwPQAAAAAAAHBEAADL6gAAAAAAAAEAAADIPQAAAAAAANxDAADh6gAAcEQAAPrqAAAAAAAAAgAAAPg8AAACAAAA8D0AAAAAAABwRAAAPusAAAAAAAABAAAAyD0AAAAAAABwRAAAlOwAAAAAAAADAAAA+DwAAAIAAAAwPgAAAgAAADg+AAAACAAA3EMAAPvsAADcQwAA2ewAAHBEAAAO7QAAAAAAAAMAAAD4PAAAAgAAADA+AAACAAAAaD4AAAAIAADcQwAAU+0AAHBEAAB17QAAAAAAAAIAAAD4PAAAAgAAAJA+AAAACAAA3EMAALrtAABwRAAAz+0AAAAAAAACAAAA+DwAAAIAAACQPgAAAAgAAHBEAAAU7gAAAAAAAAIAAAD4PAAAAgAAANg+AAACAAAA3EMAADDuAABwRAAARe4AAAAAAAACAAAA+DwAAAIAAADYPgAAAgAAAHBEAABh7gAAAAAAAAIAAAD4PAAAAgAAANg+AAACAAAAcEQAAH3uAAAAAAAAAgAAAPg8AAACAAAA2D4AAAIAAABwRAAAqO4AAAAAAAACAAAA+DwAAAIAAABgPwAAAAAAANxDAADu7gAAcEQAABLvAAAAAAAAAgAAAPg8AAACAAAAiD8AAAAAAADcQwAAWO8AAHBEAAB37wAAAAAAAAIAAAD4PAAAAgAAALA/AAAAAAAA3EMAAL3vAABwRAAA1u8AAAAAAAACAAAA+DwAAAIAAADYPwAAAAAAANxDAAAc8AAAcEQAADXwAAAAAAAAAgAAAPg8AAACAAAAAEAAAAIAAADcQwAASvAAAHBEAADh8AAAAAAAAAIAAAD4PAAAAgAAAABAAAACAAAABEQAAGLwAAA4QAAAAAAAAHBEAACF8AAAAAAAAAIAAAD4PAAAAgAAAFhAAAACAAAA3EMAAKjwAAAERAAAv/AAADhAAAAAAAAAcEQAAPbwAAAAAAAAAgAAAPg8AAACAAAAWEAAAAIAAABwRAAAGPEAAAAAAAACAAAA+DwAAAIAAABYQAAAAgAAAHBEAAA68QAAAAAAAAIAAAD4PAAAAgAAAFhAAAACAAAABEQAAF3xAAD4PAAAAAAAAHBEAABz8QAAAAAAAAIAAAD4PAAAAgAAAABBAAACAAAA3EMAAIXxAABwRAAAmvEAAAAAAAACAAAA+DwAAAIAAAAAQQAAAgAAAAREAAC38QAA+DwAAAAAAAAERAAAzPEAAPg8AAAAAAAA3EMAAOHxAABwRAAA+vEAAAAAAAABAAAASEEAAAAAAAABAAAAAAAAAIgzAAABAAAAAgAAAAAAAACAMwAAAwAAAAQAAAAAAAAAmDMAAAUAAAAGAAAAAQAAALlSjD6OWuc+uVKMPgAAAACoMwAABwAAAAgAAAAJAAAAAQAAAAoAAAAAAAAAuDMAAAcAAAALAAAADAAAAAIAAAANAAAAAAAAAMgzAAAHAAAADgAAAA8AAAADAAAAEAAAAP/////+/////f///8g2AAAANwAAIDcAAMg2AAAANwAAADcAACg3AAAANwAAyDYAAAA3AAAoNwAAADcAAMg2AAAANwAAADcAANgzAAAANwAAADcAAAA3AAAANwAAADcAANgzAAAANwAAADcAAEAGAACAPgAAAAAAAIgTAAABAAAAAAAAAAIAAABAFgAAFAAAAEMuVVRGLTgAAAAAAAAAAAAAAAAAiEIAAAAAAAAAAAAAAAAAAAAAAAAAAAAA+DMAAIg0AACINAAAGDUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArAIBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgIgAA4CYAAOAsAABfcIkA/wkvDwAAAABANgAAEQAAABIAAAATAAAAFAAAAAQAAAABAAAAAQAAAAEAAAAAAAAAaDYAABEAAAAVAAAAEwAAABQAAAAEAAAAAgAAAAIAAAACAAAAAAAAAHg2AAAWAAAAFwAAAAQAAAAAAAAAiDYAABYAAAAYAAAABAAAAAAAAAC4NgAAEQAAABkAAAATAAAAFAAAAAUAAAAAAAAAMDcAABEAAAAaAAAAEwAAABQAAAAEAAAAAwAAAAMAAAADAAAAAAAAAEA3AAAEAAAABQAAAAYAAAAHAAAAAQAAAAIAAAADAAAAGwAAABwAAAAAAAAAUDcAAAQAAAAFAAAABgAAAAcAAAABAAAAAgAAAAMAAAAbAAAAHQAAAAAAAABYNwAABAAAAAUAAAAGAAAABwAAAAQAAAACAAAABQAAABsAAAAeAAAAAAAAAGg3AAAEAAAABQAAAAYAAAAHAAAABgAAAAIAAAADAAAAGwAAAB8AAAAAAAAAeDcAAAgAAAAFAAAABgAAAAcAAAAHAAAACAAAAAMAAAAbAAAAIAAAAAAAAACINwAACQAAAAUAAAAGAAAABwAAAAkAAAAKAAAAAwAAABsAAAAhAAAAAAAAAJg3AAAEAAAABQAAAAYAAAAHAAAACwAAAAIAAAAMAAAAGwAAACIAAAAAAAAAqDcAAAQAAAAFAAAABgAAAAcAAAANAAAAAgAAAAMAAAAbAAAAIwAAAAAAAAC4NwAACgAAAAsAAAAMAAAADQAAAA4AAAAPAAAAAwAAABsAAAAkAAAAAAAAAMg3AAAEAAAABQAAAAYAAAAHAAAAEAAAAAIAAAADAAAAGwAAACUAAAAAAAAA2DcAAAQAAAAFAAAABgAAAAcAAAARAAAAAgAAAAMAAAAbAAAAJgAAAAAAAADoNwAABAAAAAUAAAAGAAAABwAAABIAAAACAAAAAwAAABsAAAAnAAAAAAAAAPg3AAAEAAAABQAAAAYAAAAHAAAAEwAAAAIAAAADAAAAGwAAACgAAAAAAAAACDgAAAQAAAAFAAAABgAAAAcAAAAUAAAAAgAAAAMAAAAbAAAAKQAAAAAAAAAYOAAABAAAAAUAAAAGAAAABwAAABUAAAACAAAAAwAAABsAAAAqAAAAAAAAACg4AAAEAAAABQAAAAYAAAAHAAAAFgAAAAIAAAADAAAAGwAAACsAAAAAAAAAODgAAAQAAAAFAAAABgAAAAcAAAAXAAAAAgAAAAMAAAAbAAAALAAAAAAAAABIOAAABAAAAAUAAAAGAAAABwAAABgAAAACAAAAAwAAABsAAAAtAAAAAAAAAFg4AAAEAAAABQAAAAYAAAAHAAAAGQAAAAIAAAADAAAAGwAAAC4AAAAAAAAAaDgAAAQAAAAFAAAABgAAAAcAAAAaAAAAAgAAAAMAAAAbAAAALwAAAAAAAAB4OAAABAAAAAUAAAAGAAAABwAAABsAAAACAAAAAwAAABsAAAAwAAAAAAAAAIg4AAAEAAAABQAAAAYAAAAHAAAAHAAAAAIAAAADAAAAGwAAADEAAAAAAAAAmDgAAAQAAAAFAAAABgAAAAcAAAAdAAAAAgAAAAMAAAAbAAAAMgAAAAAAAACoOAAABAAAAAUAAAAGAAAABwAAAB4AAAACAAAAAwAAABsAAAAzAAAAAAAAALg4AAAEAAAABQAAAAYAAAAHAAAAHwAAAAIAAAADAAAAGwAAADQAAAAAAAAAyDgAAAQAAAAFAAAABgAAAAcAAAAgAAAAAgAAAAMAAAAbAAAANQAAAAAAAADYOAAABAAAAAUAAAAGAAAABwAAACEAAAACAAAAAwAAABsAAAA2AAAAAAAAAOg4AAAEAAAABQAAAAYAAAAHAAAAIgAAAAIAAAADAAAAGwAAADcAAAAAAAAA+DgAAAQAAAAFAAAABgAAAAcAAAAjAAAAAgAAACQAAAAbAAAAOAAAAAAAAAAIOQAABAAAAAUAAAAGAAAABwAAACUAAAACAAAAAwAAABsAAAA5AAAAAAAAABg5AAAEAAAABQAAAAYAAAAHAAAAJgAAAAIAAAADAAAAGwAAADoAAAAAAAAAKDkAAAQAAAAFAAAABgAAAAcAAAAnAAAAAgAAACgAAAAbAAAAOwAAAAAAAAA4OQAABAAAAAUAAAAGAAAABwAAACkAAAACAAAAAwAAABsAAAA8AAAAAAAAAEg5AAAEAAAABQAAAAYAAAAHAAAAKgAAAAIAAAADAAAAGwAAAD0AAAAAAAAAWDkAAAQAAAAFAAAABgAAAAcAAAArAAAAAgAAAAMAAAAbAAAAPgAAAAAAAABoOQAABAAAAAUAAAAGAAAABwAAACwAAAACAAAALQAAABsAAAA/AAAAAAAAAHg5AAAEAAAABQAAAAYAAAAHAAAALgAAAAIAAAADAAAAGwAAAEAAAAAAAAAAiDkAAAQAAAAFAAAABgAAAAcAAAAvAAAAAgAAAAMAAAAbAAAAQQAAAAAAAACYOQAABAAAAAUAAAAGAAAABwAAADAAAAACAAAAAwAAABsAAABCAAAAAAAAAKg5AAAEAAAABQAAAAYAAAAHAAAAMQAAAAIAAAADAAAAGwAAAEMAAAAAAAAAuDkAAAQAAAAFAAAABgAAAAcAAAAyAAAAAgAAAAMAAAAbAAAARAAAAAAAAADIOQAABAAAAAUAAAAGAAAABwAAADMAAAACAAAAAwAAABsAAABFAAAAAAAAANg5AAAEAAAABQAAAAYAAAAHAAAANAAAAAIAAAADAAAAGwAAAEYAAAAAAAAA6DkAAA4AAAAPAAAAEAAAABEAAAA1AAAANgAAAAMAAAAbAAAARwAAAAAAAAD4OQAABAAAAAUAAAAGAAAABwAAADcAAAACAAAAAwAAABsAAABIAAAAAAAAAAg6AAAEAAAABQAAAAYAAAAHAAAAOAAAAAIAAAA5AAAAGwAAAEkAAAAAAAAAGDoAAAQAAAAFAAAABgAAAAcAAAA6AAAAAgAAAAMAAAAbAAAASgAAAAAAAAAoOgAABAAAAAUAAAAGAAAABwAAADsAAAACAAAAAwAAABsAAABLAAAAAAAAADg6AAAEAAAABQAAAAYAAAAHAAAAPAAAAAIAAAADAAAAGwAAAEwAAAAAAAAASDoAAAQAAAAFAAAABgAAAAcAAAA9AAAAAgAAAAMAAAAbAAAATQAAAAAAAABYOgAABAAAAAUAAAAGAAAABwAAAD4AAAACAAAAAwAAABsAAABOAAAAAAAAAGg6AAAEAAAABQAAAAYAAAAHAAAAPwAAAAIAAABAAAAAGwAAAE8AAAAAAAAAeDoAAAQAAAAFAAAABgAAAAcAAABBAAAAAgAAAEIAAAAbAAAAUAAAAAAAAACIOgAAEgAAAAUAAAAGAAAABwAAAEMAAABEAAAAAwAAABsAAABRAAAAAAAAAJg6AAATAAAAFAAAAAYAAAAHAAAARQAAAEYAAAADAAAAGwAAAFIAAAAAAAAAqDoAAAQAAAAFAAAABgAAAAcAAABHAAAAAgAAAAMAAAAbAAAAUwAAAAAAAAC4OgAABAAAAAUAAAAGAAAABwAAAEgAAAACAAAAAwAAABsAAABUAAAAAAAAAMg6AAAVAAAAFgAAABcAAAAHAAAASQAAAEoAAAADAAAAGwAAAFUAAAAAAAAA2DoAAAQAAAAFAAAABgAAAAcAAABLAAAAAgAAAAMAAAAbAAAAVgAAAAAAAADoOgAABAAAAAUAAAAGAAAABwAAAEwAAAACAAAAAwAAABsAAABXAAAAAAAAAPg6AAAYAAAABQAAABkAAAAHAAAATQAAAE4AAAADAAAAGwAAAFgAAAAAAAAACDsAAAQAAAAFAAAABgAAAAcAAABPAAAAAgAAAAMAAAAbAAAAWQAAAAAAAAAYOwAABAAAAAUAAAAGAAAABwAAAFAAAAACAAAAAwAAABsAAABaAAAAAAAAACg7AAAEAAAABQAAAAYAAAAHAAAAUQAAAAIAAAADAAAAGwAAAFsAAAAAAAAAODsAAAQAAAAFAAAABgAAAAcAAABSAAAAAgAAAAMAAAAbAAAAXAAAAAAAAABIOwAAGgAAAAUAAAAbAAAABwAAAFMAAABUAAAAAwAAABsAAABdAAAAAAAAAFg7AAAEAAAABQAAAAYAAAAHAAAAVQAAAAIAAAADAAAAGwAAAF4AAAAAAAAAaDsAAAQAAAAFAAAABgAAAAcAAABWAAAAAgAAAAMAAAAbAAAAXwAAAAAAAAAgPAAAYAAAAGEAAAAAAAAAODwAAGIAAABjAAAAVwAAAAYAAAAEAAAABAAAAAUAAAAGAAAABwAAAAcAAAAIAAAAHAAAAAgAAAAdAAAAAAAAAEA8AABkAAAAZQAAAFgAAAAJAAAABQAAAAUAAAAJAAAACgAAAAoAAAALAAAADAAAAB4AAAALAAAAHwAAAAgAAAAAAAAASDwAAGYAAABnAAAA+P////j///9IPAAAaAAAAGkAAADcUAAA8FAAAAgAAAAAAAAAYDwAAGoAAABrAAAA+P////j///9gPAAAbAAAAG0AAAAMUQAAIFEAAAQAAAAAAAAAeDwAAG4AAABvAAAA/P////z///94PAAAcAAAAHEAAAA8UQAAUFEAAAQAAAAAAAAAkDwAAHIAAABzAAAA/P////z///+QPAAAdAAAAHUAAABsUQAAgFEAAAAAAACoPAAAZAAAAHYAAABZAAAACQAAAAUAAAAFAAAADQAAAAoAAAAKAAAACwAAAAwAAAAeAAAADAAAACAAAAAAAAAAuDwAAGIAAAB3AAAAWgAAAAYAAAAEAAAABAAAAA4AAAAGAAAABwAAAAcAAAAIAAAAHAAAAA0AAAAhAAAAAAAAAMg8AABkAAAAeAAAAFsAAAAJAAAABQAAAAUAAAAJAAAACgAAAAoAAAAPAAAAEAAAACIAAAALAAAAHwAAAAAAAADYPAAAYgAAAHkAAABcAAAABgAAAAQAAAAEAAAABQAAAAYAAAAHAAAAEQAAABIAAAAjAAAACAAAAB0AAAAAAAAA6DwAAHoAAAB7AAAAfAAAAAEAAAAGAAAADgAAAAAAAAAIPQAAfQAAAH4AAAB8AAAAAgAAAAcAAAAPAAAAAAAAABg9AAB/AAAAgAAAAHwAAAABAAAAAgAAAAMAAAAEAAAABQAAAAYAAAAHAAAACAAAAAkAAAAKAAAACwAAAAAAAABYPQAAgQAAAIIAAAB8AAAADAAAAA0AAAAOAAAADwAAABAAAAARAAAAEgAAABMAAAAUAAAAFQAAABYAAAAAAAAAkD0AAIMAAACEAAAAfAAAAAMAAAAEAAAAFwAAAAUAAAAYAAAAAQAAAAIAAAAGAAAAAAAAANA9AACFAAAAhgAAAHwAAAAHAAAACAAAABkAAAAJAAAAGgAAAAMAAAAEAAAACgAAAAAAAAAIPgAAhwAAAIgAAAB8AAAAEwAAABsAAAAcAAAAHQAAAB4AAAAfAAAAAQAAAPj///8IPgAAFAAAABUAAAAWAAAAFwAAABgAAAAZAAAAGgAAAAAAAABAPgAAiQAAAIoAAAB8AAAAGwAAACAAAAAhAAAAIgAAACMAAAAkAAAAAgAAAPj///9APgAAHAAAAB0AAAAeAAAAHwAAACAAAAAhAAAAIgAAACUAAABIAAAAOgAAACUAAABNAAAAOgAAACUAAABTAAAAAAAAACUAAABtAAAALwAAACUAAABkAAAALwAAACUAAAB5AAAAAAAAACUAAABJAAAAOgAAACUAAABNAAAAOgAAACUAAABTAAAAIAAAACUAAABwAAAAAAAAACUAAABhAAAAIAAAACUAAABiAAAAIAAAACUAAABkAAAAIAAAACUAAABIAAAAOgAAACUAAABNAAAAOgAAACUAAABTAAAAIAAAACUAAABZAAAAAAAAAEEAAABNAAAAAAAAAFAAAABNAAAAAAAAAEoAAABhAAAAbgAAAHUAAABhAAAAcgAAAHkAAAAAAAAARgAAAGUAAABiAAAAcgAAAHUAAABhAAAAcgAAAHkAAAAAAAAATQAAAGEAAAByAAAAYwAAAGgAAAAAAAAAQQAAAHAAAAByAAAAaQAAAGwAAAAAAAAATQAAAGEAAAB5AAAAAAAAAEoAAAB1AAAAbgAAAGUAAAAAAAAASgAAAHUAAABsAAAAeQAAAAAAAABBAAAAdQAAAGcAAAB1AAAAcwAAAHQAAAAAAAAAUwAAAGUAAABwAAAAdAAAAGUAAABtAAAAYgAAAGUAAAByAAAAAAAAAE8AAABjAAAAdAAAAG8AAABiAAAAZQAAAHIAAAAAAAAATgAAAG8AAAB2AAAAZQAAAG0AAABiAAAAZQAAAHIAAAAAAAAARAAAAGUAAABjAAAAZQAAAG0AAABiAAAAZQAAAHIAAAAAAAAASgAAAGEAAABuAAAAAAAAAEYAAABlAAAAYgAAAAAAAABNAAAAYQAAAHIAAAAAAAAAQQAAAHAAAAByAAAAAAAAAEoAAAB1AAAAbgAAAAAAAABKAAAAdQAAAGwAAAAAAAAAQQAAAHUAAABnAAAAAAAAAFMAAABlAAAAcAAAAAAAAABPAAAAYwAAAHQAAAAAAAAATgAAAG8AAAB2AAAAAAAAAEQAAABlAAAAYwAAAAAAAABTAAAAdQAAAG4AAABkAAAAYQAAAHkAAAAAAAAATQAAAG8AAABuAAAAZAAAAGEAAAB5AAAAAAAAAFQAAAB1AAAAZQAAAHMAAABkAAAAYQAAAHkAAAAAAAAAVwAAAGUAAABkAAAAbgAAAGUAAABzAAAAZAAAAGEAAAB5AAAAAAAAAFQAAABoAAAAdQAAAHIAAABzAAAAZAAAAGEAAAB5AAAAAAAAAEYAAAByAAAAaQAAAGQAAABhAAAAeQAAAAAAAABTAAAAYQAAAHQAAAB1AAAAcgAAAGQAAABhAAAAeQAAAAAAAABTAAAAdQAAAG4AAAAAAAAATQAAAG8AAABuAAAAAAAAAFQAAAB1AAAAZQAAAAAAAABXAAAAZQAAAGQAAAAAAAAAVAAAAGgAAAB1AAAAAAAAAEYAAAByAAAAaQAAAAAAAABTAAAAYQAAAHQAAAAAAAAAAAAAAHA+AACLAAAAjAAAAHwAAAABAAAAAAAAAJg+AACNAAAAjgAAAHwAAAACAAAAAAAAALg+AACPAAAAkAAAAHwAAAAjAAAAJAAAAF0AAABeAAAAXwAAAGAAAAAlAAAAYQAAAGIAAAAAAAAA4D4AAJEAAACSAAAAfAAAACYAAAAnAAAAYwAAAGQAAABlAAAAZgAAACgAAABnAAAAaAAAAAAAAAAAPwAAkwAAAJQAAAB8AAAAKQAAACoAAABpAAAAagAAAGsAAABsAAAAKwAAAG0AAABuAAAAAAAAACA/AACVAAAAlgAAAHwAAAAsAAAALQAAAG8AAABwAAAAcQAAAHIAAAAuAAAAcwAAAHQAAAAAAAAAQD8AAJcAAACYAAAAfAAAAAMAAAAEAAAAAAAAAGg/AACZAAAAmgAAAHwAAAAFAAAABgAAAAAAAACQPwAAmwAAAJwAAAB8AAAAAQAAACUAAAAAAAAAuD8AAJ0AAACeAAAAfAAAAAIAAAAmAAAAAAAAAOA/AACfAAAAoAAAAHwAAAAQAAAABgAAAHUAAAAAAAAACEAAAKEAAACiAAAAfAAAABEAAAAHAAAAdgAAAAAAAABgQAAAowAAAKQAAAB8AAAAAwAAAAQAAAALAAAALwAAADAAAAAMAAAAMQAAAAAAAAAoQAAAowAAAKUAAAB8AAAAAwAAAAQAAAALAAAALwAAADAAAAAMAAAAMQAAAAAAAACQQAAApgAAAKcAAAB8AAAABQAAAAYAAAANAAAAMgAAADMAAAAOAAAANAAAAAAAAADQQAAAqAAAAKkAAAB8AAAAAAAAAOBAAACqAAAAqwAAAHwAAAAkAAAAEgAAACUAAAATAAAAJgAAAAMAAAAUAAAADwAAAAAAAAAoQQAArAAAAK0AAAB8AAAANQAAADYAAAB3AAAAeAAAAHkAAAAAAAAAOEEAAK4AAACvAAAAfAAAADcAAAA4AAAAegAAAHsAAAB8AAAAZgAAAGEAAABsAAAAcwAAAGUAAAAAAAAAdAAAAHIAAAB1AAAAZQAAAAAAAAAAAAAA+DwAAKMAAACwAAAAfAAAAAAAAAAIQQAAowAAALEAAAB8AAAAFQAAAAQAAAAFAAAABgAAACcAAAAWAAAAKAAAABcAAAApAAAABwAAABgAAAAQAAAAAAAAAHBAAACjAAAAsgAAAHwAAAAHAAAACAAAABEAAAA5AAAAOgAAABIAAAA7AAAAAAAAALBAAACjAAAAswAAAHwAAAAJAAAACgAAABMAAAA8AAAAPQAAABQAAAA+AAAAAAAAADhAAACjAAAAtAAAAHwAAAADAAAABAAAAAsAAAAvAAAAMAAAAAwAAAAxAAAAAAAAADg+AAAUAAAAFQAAABYAAAAXAAAAGAAAABkAAAAaAAAAAAAAAGg+AAAcAAAAHQAAAB4AAAAfAAAAIAAAACEAAAAiAAAARXJyb3I6IGxhYmVsaW5nIHdvcmsgb3ZlcmZsb3cuCgBVbmtub3duIG9yIHVuc3VwcG9ydGVkIGxhYmVsaW5nIHRocmVzaG9sZCBtb2RlIHJlcXVlc3RlZC4gU2V0IHRvIG1hbnVhbC4KAExhYmVsaW5nIHRocmVzaG9sZCBtb2RlIHNldCB0byAlcy4KAE1BTlVBTABBVVRPX01FRElBTgBBVVRPX09UU1UAQVVUT19BREFQVElWRQBBVVRPX0JSQUNLRVRJTkcARXJyb3I6IFVuc3VwcG9ydGVkIHBpeGVsIGZvcm1hdCAoJWQpIHJlcXVlc3RlZC4KAEF1dG8gdGhyZXNob2xkIChicmFja2V0KSBtYXJrZXIgY291bnRzIC1bJTNkOiAlM2RdIFslM2Q6ICUzZF0gWyUzZDogJTNkXSsuCgBBdXRvIHRocmVzaG9sZCAoYnJhY2tldCkgYWRqdXN0ZWQgdGhyZXNob2xkIHRvICVkLgoAbWVkaWFuAE90c3UAQXV0byB0aHJlc2hvbGQgKCVzKSBhZGp1c3RlZCB0aHJlc2hvbGQgdG8gJWQuCgA/Pz8gMQoAPz8/IDIKAD8/PyAzCgBFcnJvcjogdW5zdXBwb3J0ZWQgcGl4ZWwgZm9ybWF0LgoARXJyb3I6IE5VTEwgcGF0dEhhbmRsZS4KAEVycm9yOiBjYW4ndCBsb2FkIHBhdHRlcm4gZnJvbSBOVUxMIGJ1ZmZlci4KAEVycm9yOiBvdXQgb2YgbWVtb3J5LgoAIAkKDQBQYXR0ZXJuIERhdGEgcmVhZCBlcnJvciEhCgBFcnJvciByZWFkaW5nIHBhdHRlcm4gZmlsZSAnJXMnLgoARXJyb3IgKCVkKTogdW5hYmxlIHRvIG9wZW4gY2FtZXJhIHBhcmFtZXRlcnMgZmlsZSAiJXMiIGZvciByZWFkaW5nLgoARXJyb3IgKCVkKTogdW5hYmxlIHRvIGRldGVybWluZSBmaWxlIGxlbmd0aC4ARXJyb3I6IHN1cHBsaWVkIGZpbGUgZG9lcyBub3QgYXBwZWFyIHRvIGJlIGFuIEFSVG9vbEtpdCBjYW1lcmEgcGFyYW1ldGVyIGZpbGUuCgBFcnJvciAoJWQpOiB1bmFibGUgdG8gcmVhZCBmcm9tIGZpbGUuAGFyZ2xDYW1lcmFGcnVzdHVtUkgoKTogYXJQYXJhbURlY29tcE1hdCgpIGluZGljYXRlZCBwYXJhbWV0ZXIgZXJyb3IuCgBFcnJvcjogaWNwR2V0Sl9VX1hjAEVycm9yIDE6IGljcEdldEluaXRYdzJYYwoARXJyb3IgMjogaWNwR2V0SW5pdFh3MlhjCgBFcnJvciAzOiBpY3BHZXRJbml0WHcyWGMKAEVycm9yIDQ6IGljcEdldEluaXRYdzJYYwoARXJyb3IgNTogaWNwR2V0SW5pdFh3MlhjCgBFcnJvciA2OiBpY3BHZXRJbml0WHcyWGMKAEVycm9yIDc6IGljcEdldEluaXRYdzJYYwoARXJyb3I6IHVuYWJsZSB0byBvcGVuIG11bHRpbWFya2VyIGNvbmZpZyBmaWxlICclcycuCgBFcnJvciBwcm9jZXNzaW5nIG11bHRpbWFya2VyIGNvbmZpZyBmaWxlICclcyc6IEZpcnN0IGxpbmUgbXVzdCBiZSBudW1iZXIgb2YgbWFya2VyIGNvbmZpZ3MgdG8gcmVhZC4KACVsbHUlYwBFcnJvciBwcm9jZXNzaW5nIG11bHRpbWFya2VyIGNvbmZpZyBmaWxlICclcyc6IHBhdHRlcm4gJyVzJyBzcGVjaWZpZWQgaW4gbXVsdGltYXJrZXIgY29uZmlndXJhdGlvbiB3aGlsZSBpbiBiYXJjb2RlLW9ubHkgbW9kZS4KAEVycm9yIHByb2Nlc3NpbmcgbXVsdGltYXJrZXIgY29uZmlnIGZpbGUgJyVzJzogVW5hYmxlIHRvIGRldGVybWluZSBkaXJlY3RvcnkgbmFtZS4KAEVycm9yIHByb2Nlc3NpbmcgbXVsdGltYXJrZXIgY29uZmlnIGZpbGUgJyVzJzogVW5hYmxlIHRvIGxvYWQgcGF0dGVybiAnJXMnLgoAJWxmAEVycm9yIHByb2Nlc3NpbmcgbXVsdGltYXJrZXIgY29uZmlnIGZpbGUgJyVzJywgbWFya2VyIGRlZmluaXRpb24gJTNkOiBGaXJzdCBsaW5lIG11c3QgYmUgcGF0dGVybiB3aWR0aC4KACVsZiAlbGYgJWxmICVsZgAlZiAlZgBFcnJvciBwcm9jZXNzaW5nIG11bHRpbWFya2VyIGNvbmZpZyBmaWxlICclcycsIG1hcmtlciBkZWZpbml0aW9uICUzZDogTGluZXMgMiAtIDQgbXVzdCBiZSBtYXJrZXIgdHJhbnNmb3JtLgoAWyVzXSAAZGVidWcAaW5mbwB3YXJuaW5nAGVycm9yACVzJXMALmlzZXQARXJyb3I6IHVuYWJsZSB0byBvcGVuIGZpbGUgJyVzJXMnIGZvciByZWFkaW5nLgoARXJyb3IgcmVhZGluZyBpbWFnZVNldC4KAEltYWdlc2V0IGNvbnRhaW5zICVkIGltYWdlcy4KAEZhbGxpbmcgYmFjayB0byByZWFkaW5nICclcyVzJyBpbiBBUlRvb2xLaXQgdjQueCBmb3JtYXQuCgBFcnJvciByZWFkaW5nIEpQRUcgZmlsZS4KAEVycm9yIHJlYWRpbmcgSlBFRyBmaWxlIGhlYWRlci4KACVmAEZpbGUgb3BlbiBlcnJvci4gJXMKAFJlYWQgZXJyb3IhIQoAcgBFcnJvciBvcGVuaW5nIGZpbGUgJyVzJzogACVzJXMKACVkAAojIyMgU3VyZmFjZSBOby4lZCAjIyMKACVzACAgUmVhZCBJbWFnZVNldC4KAEVycm9yIG9wZW5pbmcgZmlsZSAnJXMuaXNldCcuCgAgICAgZW5kLgoAICBSZWFkIEZlYXR1cmVTZXQuCgBFcnJvciBvcGVuaW5nIGZpbGUgJyVzLmZzZXQnLgoAICBSZWFkIE1hcmtlclNldC4KAG1yawBFcnJvciBvcGVuaW5nIGZpbGUgJyVzLm1yaycuCgAlZiAlZiAlZiAlZgBUcmFuc2Zvcm1hdGlvbiBtYXRyaXggcmVhZCBlcnJvciEhCgBqcGcAa3BtRGVsZXRlUmVmRGF0YVNldCgpOiBOVUxMIHJlZkRhdGFTZXRQdHIxL3JlZkRhdGFTZXRQdHIyLgoAa3BtRGVsZXRlUmVmRGF0YVNldCgpOiBOVUxMIHJlZkRhdGFTZXRQdHIuCgByYgBrcG1Mb2FkUmVmRGF0YVNldCgpOiBOVUxMIGZpbGVuYW1lL3JlZkRhdGFTZXRQdHIuCgBFcnJvciBsb2FkaW5nIEtQTSBkYXRhOiB1bmFibGUgdG8gb3BlbiBmaWxlICclcyVzJXMnIGZvciByZWFkaW5nLgoARXJyb3IgbG9hZGluZyBLUE0gZGF0YTogZXJyb3IgcmVhZGluZyBkYXRhLgoAa3BtQ2hhbmdlUGFnZU5vT2ZSZWZEYXRhU2V0KCk6IE5VTEwgcmVmRGF0YVNldC4KAGtwbVNldFJlZkRhdGFTZXQoKTogTlVMTCBrcG1IYW5kbGUvcmVmRGF0YVNldC4KAGtwbVNldFJlZkRhdGFTZXQoKTogcmVmRGF0YVNldC4KAHBvaW50cy0lZAoAa3BtTWF0Y2hpbmcoKTogTlVMTCBrcG1IYW5kbGUvaW5JbWFnZUx1bWEuCgBQYWdlWyVkXSAgcHJlOiUzZCwgYWZ0OiUzZCwgZXJyb3IgPSAlZgoAJXMuJXMAQXNzZXJ0aW9uIGBweXJhbWlkLT5zaXplKCkgPiAwYCBmYWlsZWQgaW4gAC9ob21lL3dhbHRlci9rYWx3YWx0LWdpdGh1Yi9qc2FydG9vbGtpdE5GVC9lbXNjcmlwdGVuL2FydG9vbGtpdDUvbGliL1NSQy9LUE0vRnJlYWtNYXRjaGVyL2RldGVjdG9ycy9Eb0dfc2NhbGVfaW52YXJpYW50X2RldGVjdG9yLmNwcABQeXJhbWlkIGlzIG5vdCBhbGxvY2F0ZWQAT2N0YXZlIG91dCBvZiByYW5nZQBTY2FsZSBvdXQgb2YgcmFuZ2UAQXNzZXJ0aW9uIGBtSW1hZ2VzLnNpemUoKSA+IDBgIGZhaWxlZCBpbiAATGFwbGFjaWFuIHB5cmFtaWQgaGFzIG5vdCBiZWVuIGFsbG9jYXRlZABBc3NlcnRpb24gYHB5cmFtaWQtPm51bU9jdGF2ZXMoKSA+IDBgIGZhaWxlZCBpbiAAUHlyYW1pZCBkb2VzIG5vdCBjb250YWluIGFueSBsZXZlbHMAQXNzZXJ0aW9uIGBkeW5hbWljX2Nhc3Q8Y29uc3QgQmlub21pYWxQeXJhbWlkMzJmKj4ocHlyYW1pZClgIGZhaWxlZCBpbiAAT25seSBiaW5vbWlhbCBweXJhbWlkIGlzIHN1cHBvcnRlZABBc3NlcnRpb24gYGQudHlwZSgpID09IElNQUdFX0YzMmAgZmFpbGVkIGluIABPbmx5IEYzMiBpbWFnZXMgc3VwcG9ydGVkAEFzc2VydGlvbiBgaW0xLnR5cGUoKSA9PSBJTUFHRV9GMzJgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGBpbTIudHlwZSgpID09IElNQUdFX0YzMmAgZmFpbGVkIGluIABBc3NlcnRpb24gYGQuY2hhbm5lbHMoKSA9PSAxYCBmYWlsZWQgaW4gAE9ubHkgc2luZ2xlIGNoYW5uZWwgaW1hZ2VzIHN1cHBvcnRlZABBc3NlcnRpb24gYGltMS5jaGFubmVscygpID09IDFgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGBpbTIuY2hhbm5lbHMoKSA9PSAxYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgZC53aWR0aCgpID09IGltMi53aWR0aCgpYCBmYWlsZWQgaW4gAEltYWdlcyBtdXN0IGhhdmUgdGhlIHNhbWUgd2lkdGgAQXNzZXJ0aW9uIGBkLmhlaWdodCgpID09IGltMi5oZWlnaHQoKWAgZmFpbGVkIGluIABJbWFnZXMgbXVzdCBoYXZlIHRoZSBzYW1lIGhlaWdodABBc3NlcnRpb24gYGltMS53aWR0aCgpID09IGltMi53aWR0aCgpYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgaW0xLmhlaWdodCgpID09IGltMi5oZWlnaHQoKWAgZmFpbGVkIGluIABBc3NlcnRpb24gYHJvdyA8IG1IZWlnaHRgIGZhaWxlZCBpbiAAL2hvbWUvd2FsdGVyL2thbHdhbHQtZ2l0aHViL2pzYXJ0b29sa2l0TkZUL2Vtc2NyaXB0ZW4vYXJ0b29sa2l0NS9saWIvU1JDL0tQTS9GcmVha01hdGNoZXIvZnJhbWV3b3JrL2ltYWdlLmgAcm93IG91dCBvZiBib3VuZHMATjZ2aXNpb24yNUdhdXNzaWFuU2NhbGVTcGFjZVB5cmFtaWRFAERvRyBQeXJhbWlkAE5vbi1tYXggc3VwcHJlc3Npb24AU3VicGl4ZWwAcHJ1bmVGZWF0dXJlcwBGaW5kIE9yaWVudGF0aW9ucwBBc3NlcnRpb24gYG1CdWNrZXRzLnNpemUoKSA9PSBtTnVtQnVja2V0c1hgIGZhaWxlZCBpbiAAQnVja2V0cyBhcmUgbm90IGFsbG9jYXRlZABBc3NlcnRpb24gYG1CdWNrZXRzWzBdLnNpemUoKSA9PSBtTnVtQnVja2V0c1lgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGBtRmVhdHVyZVBvaW50cy5zaXplKCkgPD0gbU1heE51bUZlYXR1cmVQb2ludHNgIGZhaWxlZCBpbiAAVG9vIG1hbnkgZmVhdHVyZSBwb2ludHMAQXNzZXJ0aW9uIGBidWNrZXRbMF0uZmlyc3QgPj0gYnVja2V0W25dLmZpcnN0YCBmYWlsZWQgaW4gAG50aF9lbGVtZW50IGZhaWxlZABBc3NlcnRpb24gYGtwLnNjYWxlIDwgbUxhcGxhY2lhblB5cmFtaWQubnVtU2NhbGVQZXJPY3RhdmUoKWAgZmFpbGVkIGluIABGZWF0dXJlIHBvaW50IHNjYWxlIGlzIG91dCBvZiBib3VuZHMAQXNzZXJ0aW9uIGBrcC5zY29yZSA9PSBsYXAxLmdldDxmbG9hdD4oeSlbeF1gIGZhaWxlZCBpbiAAU2NvcmUgaXMgbm90IGNvbnNpc3RlbnQgd2l0aCB0aGUgRG9HIGltYWdlAEFzc2VydGlvbiBgbGFwMC5oZWlnaHQoKSA9PSBsYXAxLmhlaWdodCgpID09IGxhcDIuaGVpZ2h0KClgIGZhaWxlZCBpbiAAL2hvbWUvd2FsdGVyL2thbHdhbHQtZ2l0aHViL2pzYXJ0b29sa2l0TkZUL2Vtc2NyaXB0ZW4vYXJ0b29sa2l0NS9saWIvU1JDL0tQTS9GcmVha01hdGNoZXIvZGV0ZWN0b3JzL0RvR19zY2FsZV9pbnZhcmlhbnRfZGV0ZWN0b3IuaABXaWR0aC9oZWlnaHQgYXJlIG5vdCBjb25zaXN0ZW50AEFzc2VydGlvbiBgKGxhcDAuaGVpZ2h0KCkgPT0gbGFwMS5oZWlnaHQoKSkgJiYgKChsYXAxLmhlaWdodCgpPj4xKSA9PSBsYXAyLmhlaWdodCgpKWAgZmFpbGVkIGluIABBc3NlcnRpb24gYCgobGFwMC53aWR0aCgpPj4xKSA9PSBsYXAxLndpZHRoKCkpICYmIChsYXAxLndpZHRoKCkgPT0gbGFwMi53aWR0aCgpKWAgZmFpbGVkIGluIABJbWFnZSBzaXplcyBhcmUgaW5jb25zaXN0ZW50AEFzc2VydGlvbiBgKHgtMSkgPj0gMCAmJiAoeCsxKSA8IGxhcDEud2lkdGgoKWAgZmFpbGVkIGluIAB4IG91dCBvZiBib3VuZHMAQXNzZXJ0aW9uIGAoeS0xKSA+PSAwICYmICh5KzEpIDwgbGFwMS5oZWlnaHQoKWAgZmFpbGVkIGluIAB5IG91dCBvZiBib3VuZHMAQXNzZXJ0aW9uIGAobGFwMC53aWR0aCgpPj4xKSA9PSBsYXAxLndpZHRoKClgIGZhaWxlZCBpbiAASW1hZ2UgZGltZW5zaW9ucyBpbmNvbnNpc3RlbnQAQXNzZXJ0aW9uIGAobGFwMC53aWR0aCgpPj4xKSA9PSBsYXAyLndpZHRoKClgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGAobGFwMC5oZWlnaHQoKT4+MSkgPT0gbGFwMS5oZWlnaHQoKWAgZmFpbGVkIGluIABBc3NlcnRpb24gYChsYXAwLmhlaWdodCgpPj4xKSA9PSBsYXAyLmhlaWdodCgpYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgKGludClzdGQ6OmZsb29yKHgpID09IChpbnQpeGAgZmFpbGVkIGluIAAvaG9tZS93YWx0ZXIva2Fsd2FsdC1naXRodWIvanNhcnRvb2xraXRORlQvZW1zY3JpcHRlbi9hcnRvb2xraXQ1L2xpYi9TUkMvS1BNL0ZyZWFrTWF0Y2hlci9kZXRlY3RvcnMvaW50ZXJwb2xhdGUuaABmbG9vcigpIGFuZCBjYXN0IG5vdCB0aGUgc2FtZQBBc3NlcnRpb24gYChpbnQpc3RkOjpmbG9vcih5KSA9PSAoaW50KXlgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGB5cCA+PSAwICYmIHlwIDwgaGVpZ2h0YCBmYWlsZWQgaW4gAHlwIG91dCBvZiBib3VuZHMAQXNzZXJ0aW9uIGB5cF9wbHVzXzEgPj0gMCAmJiB5cF9wbHVzXzEgPCBoZWlnaHRgIGZhaWxlZCBpbiAAeXBfcGx1c18xIG91dCBvZiBib3VuZHMAQXNzZXJ0aW9uIGB4cCA+PSAwICYmIHhwIDwgd2lkdGhgIGZhaWxlZCBpbiAAeHAgb3V0IG9mIGJvdW5kcwBBc3NlcnRpb24gYHhwX3BsdXNfMSA+PSAwICYmIHhwX3BsdXNfMSA8IHdpZHRoYCBmYWlsZWQgaW4gAHhwX3BsdXNfMSBvdXQgb2YgYm91bmRzAEFzc2VydGlvbiBgdzAgPj0gMCAmJiB3MCA8PSAxLjAwMDFgIGZhaWxlZCBpbiAAT3V0IG9mIHJhbmdlAEFzc2VydGlvbiBgdzEgPj0gMCAmJiB3MSA8PSAxLjAwMDFgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGB3MiA+PSAwICYmIHcyIDw9IDEuMDAwMWAgZmFpbGVkIGluIABBc3NlcnRpb24gYHczID49IDAgJiYgdzMgPD0gMS4wMDAxYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgKHcwK3cxK3cyK3czKSA8PSAxLjAwMDFgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGAoeC0xKSA+PSAwICYmICh4KzEpIDwgaW0ud2lkdGgoKWAgZmFpbGVkIGluIABBc3NlcnRpb24gYCh5LTEpID49IDAgJiYgKHkrMSkgPCBpbS5oZWlnaHQoKWAgZmFpbGVkIGluIABBc3NlcnRpb24gYGxhcDAud2lkdGgoKSA9PSBsYXAxLndpZHRoKClgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGBsYXAwLmhlaWdodCgpID09IGxhcDEuaGVpZ2h0KClgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGB4X2Rpdl8yLTAuNWYgPj0gMGAgZmFpbGVkIGluIAB4X2Rpdl8yIG91dCBvZiBib3VuZHMgb3V0IG9mIGJvdW5kcyBmb3IgaW50ZXJwb2xhdGlvbgBBc3NlcnRpb24gYHlfZGl2XzItMC41ZiA+PSAwYCBmYWlsZWQgaW4gAHlfZGl2XzIgb3V0IG9mIGJvdW5kcyBvdXQgb2YgYm91bmRzIGZvciBpbnRlcnBvbGF0aW9uAEFzc2VydGlvbiBgeF9kaXZfMiswLjVmIDwgbGFwMi53aWR0aCgpYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgeV9kaXZfMiswLjVmIDwgbGFwMi5oZWlnaHQoKWAgZmFpbGVkIGluIABBc3NlcnRpb24gYGxhcDAud2lkdGgoKSA9PSBsYXAyLndpZHRoKClgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGBsYXAwLmhlaWdodCgpID09IGxhcDIuaGVpZ2h0KClgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGBpbTAuaGVpZ2h0KCkgPT0gaW0xLmhlaWdodCgpYCBmYWlsZWQgaW4gAEhlaWdodCBpcyBpbmNvbnNpc3RlbnQAQXNzZXJ0aW9uIGBpbTAuaGVpZ2h0KCkgPT0gaW0yLmhlaWdodCgpYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgKGltMS5oZWlnaHQoKT4+MSkgPT0gaW0yLmhlaWdodCgpYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgKGltMC5oZWlnaHQoKT4+MSkgPT0gaW0xLmhlaWdodCgpYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgKGltMC5oZWlnaHQoKT4+MSkgPT0gaW0yLmhlaWdodCgpYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgaW5kZXggPCBtSW1hZ2VzLnNpemUoKWAgZmFpbGVkIGluIABJbmRleCBpcyBvdXQgb2YgcmFuZ2UATjZ2aXNpb24xOEJpbm9taWFsUHlyYW1pZDMyZkUAQXNzZXJ0aW9uIGB3aWR0aCA+PSA1YCBmYWlsZWQgaW4gAC9ob21lL3dhbHRlci9rYWx3YWx0LWdpdGh1Yi9qc2FydG9vbGtpdE5GVC9lbXNjcmlwdGVuL2FydG9vbGtpdDUvbGliL1NSQy9LUE0vRnJlYWtNYXRjaGVyL2RldGVjdG9ycy9nYXVzc2lhbl9zY2FsZV9zcGFjZV9weXJhbWlkLmNwcABJbWFnZSBpcyB0b28gc21hbGwAQXNzZXJ0aW9uIGBoZWlnaHQgPj0gNWAgZmFpbGVkIGluIABBc3NlcnRpb24gYGltYWdlLnR5cGUoKSA9PSBJTUFHRV9VSU5UOGAgZmFpbGVkIGluIABJbWFnZSBtdXN0IGJlIGdyYXlzY2FsZQBBc3NlcnRpb24gYGltYWdlLmNoYW5uZWxzKCkgPT0gMWAgZmFpbGVkIGluIABJbWFnZSBtdXN0IGhhdmUgMSBjaGFubmVsAEFzc2VydGlvbiBgbVB5cmFtaWQuc2l6ZSgpID09IG1OdW1PY3RhdmVzKm1OdW1TY2FsZXNQZXJPY3RhdmVgIGZhaWxlZCBpbiAAUHlyYW1pZCBoYXMgbm90IGJlZW4gYWxsb2NhdGVkIHlldABBc3NlcnRpb24gYGltYWdlLndpZHRoKCkgPT0gbVB5cmFtaWRbMF0ud2lkdGgoKWAgZmFpbGVkIGluIABJbWFnZSBvZiB3cm9uZyBzaXplIGZvciBweXJhbWlkAEFzc2VydGlvbiBgaW1hZ2UuaGVpZ2h0KCkgPT0gbVB5cmFtaWRbMF0uaGVpZ2h0KClgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGBkc3QudHlwZSgpID09IElNQUdFX0YzMmAgZmFpbGVkIGluIABEZXN0aW5hdGlvbiBpbWFnZSBzaG91bGQgYmUgYSBmbG9hdABVbmtub3duIGltYWdlIHR5cGUAVW5zdXBwb3J0ZWQgaW1hZ2UgdHlwZQBONnZpc2lvbjlFeGNlcHRpb25FAEFzc2VydGlvbiBgaW0ud2lkdGgoKSA9PSBpbS5zdGVwKCkvc2l6ZW9mKGZsb2F0KWAgZmFpbGVkIGluIAAvaG9tZS93YWx0ZXIva2Fsd2FsdC1naXRodWIvanNhcnRvb2xraXRORlQvZW1zY3JpcHRlbi9hcnRvb2xraXQ1L2xpYi9TUkMvS1BNL0ZyZWFrTWF0Y2hlci9kZXRlY3RvcnMvb3JpZW50YXRpb25fYXNzaWdubWVudC5jcHAAU3RlcCBzaXplIG11c3QgYmUgZXF1YWwgdG8gd2lkdGggZm9yIG5vdwBBc3NlcnRpb24gYHggPj0gMGAgZmFpbGVkIGluIAB4IG11c3QgYmUgcG9zaXRpdmUAQXNzZXJ0aW9uIGB4IDwgbUdyYWRpZW50c1tvY3RhdmUqbU51bVNjYWxlc1Blck9jdGF2ZStzY2FsZV0ud2lkdGgoKWAgZmFpbGVkIGluIAB4IG11c3QgYmUgbGVzcyB0aGFuIHRoZSBpbWFnZSB3aWR0aABBc3NlcnRpb24gYHkgPj0gMGAgZmFpbGVkIGluIAB5IG11c3QgYmUgcG9zaXRpdmUAQXNzZXJ0aW9uIGB5IDwgbUdyYWRpZW50c1tvY3RhdmUqbU51bVNjYWxlc1Blck9jdGF2ZStzY2FsZV0uaGVpZ2h0KClgIGZhaWxlZCBpbiAAeSBtdXN0IGJlIGxlc3MgdGhhbiB0aGUgaW1hZ2UgaGVpZ2h0AEFzc2VydGlvbiBgZy5jaGFubmVscygpID09IDJgIGZhaWxlZCBpbiAATnVtYmVyIG9mIGNoYW5uZWxzIHNob3VsZCBiZSAyAEFzc2VydGlvbiBgbWF4X2hlaWdodCA+IDBgIGZhaWxlZCBpbiAATWF4aW11bSBiaW4gc2hvdWxkIGJlIHBvc2l0aXZlAEFzc2VydGlvbiBgaGlzdCAhPSBOVUxMYCBmYWlsZWQgaW4gAC9ob21lL3dhbHRlci9rYWx3YWx0LWdpdGh1Yi9qc2FydG9vbGtpdE5GVC9lbXNjcmlwdGVuL2FydG9vbGtpdDUvbGliL1NSQy9LUE0vRnJlYWtNYXRjaGVyL2RldGVjdG9ycy9vcmllbnRhdGlvbl9hc3NpZ25tZW50LmgASGlzdG9ncmFtIHBvaW50ZXIgaXMgTlVMTABBc3NlcnRpb24gYChmYmluKzAuNWYpID4gMCAmJiAoZmJpbi0wLjVmKSA8IG51bV9iaW5zYCBmYWlsZWQgaW4gAERlY2ltYWwgYmluIHBvc2l0aW9uIGluZGV4IG91dCBvZiByYW5nZQBBc3NlcnRpb24gYG1hZ25pdHVkZSA+PSAwYCBmYWlsZWQgaW4gAE1hZ25pdHVkZSBjYW5ub3QgYmUgbmVnYXRpdmUAQXNzZXJ0aW9uIGBudW1fYmlucyA+PSAwYCBmYWlsZWQgaW4gAE51bWJlciBiaW5zIG11c3QgYmUgcG9zaXRpdmUAQXNzZXJ0aW9uIGB3MSA+PSAwYCBmYWlsZWQgaW4gAHcxIG11c3QgYmUgcG9zaXRpdmUAQXNzZXJ0aW9uIGB3MiA+PSAwYCBmYWlsZWQgaW4gAHcyIG11c3QgYmUgcG9zaXRpdmUAQXNzZXJ0aW9uIGBiMSA+PSAwICYmIGIxIDwgbnVtX2JpbnNgIGZhaWxlZCBpbiAAYjEgYmluIGluZGV4IG91dCBvZiByYW5nZQBBc3NlcnRpb24gYGIyID49IDAgJiYgYjIgPCBudW1fYmluc2AgZmFpbGVkIGluIABiMiBiaW4gaW5kZXggb3V0IG9mIHJhbmdlAElEIGFscmVhZHkgZXhpc3RzAEJ1aWxkIFB5cmFtaWQARXh0cmFjdCBGZWF0dXJlcwBBc3NlcnRpb24gYGFzc2lnbm1lbnQuc2l6ZSgpID09IG51bV9pbmRpY2VzYCBmYWlsZWQgaW4gAC9ob21lL3dhbHRlci9rYWx3YWx0LWdpdGh1Yi9qc2FydG9vbGtpdE5GVC9lbXNjcmlwdGVuL2FydG9vbGtpdDUvbGliL1NSQy9LUE0vRnJlYWtNYXRjaGVyL21hdGNoZXJzL2JpbmFyeV9oaWVyYXJjaGljYWxfY2x1c3RlcmluZy5oAEFzc2lnbm1lbnQgc2l6ZSB3cm9uZwBBc3NlcnRpb24gYGFzc2lnbm1lbnRbaV0gIT0gLTFgIGZhaWxlZCBpbiAAQXNzaWdubWVudCBpcyBpbnZhbGlkAEFzc2VydGlvbiBgYXNzaWdubWVudFtpXSA8IG51bV9pbmRpY2VzYCBmYWlsZWQgaW4gAEFzc2lnbm1lbnQgb3V0IG9mIHJhbmdlAEFzc2VydGlvbiBgaW5kaWNlc1thc3NpZ25tZW50W2ldXSA8IG51bV9mZWF0dXJlc2AgZmFpbGVkIGluIABBc3NlcnRpb24gYGl0LT5zZWNvbmQuc2l6ZSgpICE9IDBgIGZhaWxlZCBpbiAAQ2x1c3RlciBtdXN0IGhhdmUgYXRsZWFzZXQgMSBmZWF0dXJlAEFzc2VydGlvbiBgbUsgPT0gbUNlbnRlcnMuc2l6ZSgpYCBmYWlsZWQgaW4gAC9ob21lL3dhbHRlci9rYWx3YWx0LWdpdGh1Yi9qc2FydG9vbGtpdE5GVC9lbXNjcmlwdGVuL2FydG9vbGtpdDUvbGliL1NSQy9LUE0vRnJlYWtNYXRjaGVyL21hdGNoZXJzL2ttZWRvaWRzLmgAayBzaG91bGQgbWF0Y2ggdGhlIG51bWJlciBvZiBjbHVzdGVyIGNlbnRlcnMAQXNzZXJ0aW9uIGBudW1fZmVhdHVyZXMgPiAwYCBmYWlsZWQgaW4gAE51bWJlciBvZiBmZWF0dXJlcyBtdXN0IGJlIHBvc2l0aXZlAEFzc2VydGlvbiBgbnVtX2luZGljZXMgPD0gbnVtX2ZlYXR1cmVzYCBmYWlsZWQgaW4gAE1vcmUgaW5kaWNlcyB0aGFuIGZlYXR1cmVzAEFzc2VydGlvbiBgbnVtX2luZGljZXMgPj0gbUtgIGZhaWxlZCBpbiAATm90IGVub3VnaCBmZWF0dXJlcwBBc3NpZ25tZW50IHNpemUgaXMgaW5jb3JyZWN0AEFzc2VydGlvbiBgbnVtX2NlbnRlcnMgPiAwYCBmYWlsZWQgaW4gAFRoZXJlIG11c3QgYmUgYXQgbGVhc3QgMSBjZW50ZXIAL2hvbWUvd2FsdGVyL2thbHdhbHQtZ2l0aHViL2pzYXJ0b29sa2l0TkZUL2Vtc2NyaXB0ZW4vYXJ0b29sa2l0NS9saWIvU1JDL0tQTS9GcmVha01hdGNoZXIvbWF0Y2hlcnMvdmlzdWFsX2RhdGFiYXNlLmgAQXNzZXJ0aW9uIGBkZXRlY3RvcmAgZmFpbGVkIGluIABEZXRlY3RvciBpcyBOVUxMAEFzc2VydGlvbiBgcHlyYW1pZC0+aW1hZ2VzKCkuc2l6ZSgpID4gMGAgZmFpbGVkIGluIABQeXJhbWlkIGlzIGVtcHR5AEFzc2VydGlvbiBgcHlyYW1pZC0+aW1hZ2VzKClbMF0ud2lkdGgoKSA9PSBkZXRlY3Rvci0+d2lkdGgoKWAgZmFpbGVkIGluIABQeXJhbWlkIGFuZCBkZXRlY3RvciBzaXplIG1pc21hdGNoAEFzc2VydGlvbiBgcHlyYW1pZC0+aW1hZ2VzKClbMF0uaGVpZ2h0KCkgPT0gZGV0ZWN0b3ItPmhlaWdodCgpYCBmYWlsZWQgaW4gAE5TdDNfXzIxNGRlZmF1bHRfZGVsZXRlSU42dmlzaW9uOEtleWZyYW1lSUxpOTZFRUVFRQBOU3QzX18yMjBfX3NoYXJlZF9wdHJfcG9pbnRlcklQTjZ2aXNpb244S2V5ZnJhbWVJTGk5NkVFRU5TXzE0ZGVmYXVsdF9kZWxldGVJUzNfRUVOU185YWxsb2NhdG9ySVMzX0VFRUUAWyVzXSBbJXNdIFslc10gOiBGb3VuZCAlZCBmZWF0dXJlcyBpbiBxdWVyeQBib29sIHZpc2lvbjo6VmlzdWFsRGF0YWJhc2U8dmlzaW9uOjpGUkVBS0V4dHJhY3RvciwgdmlzaW9uOjpCaW5hcnlGZWF0dXJlU3RvcmUsIHZpc2lvbjo6QmluYXJ5RmVhdHVyZU1hdGNoZXI8OTY+ID46OnF1ZXJ5KGNvbnN0IHZpc2lvbjo6R2F1c3NpYW5TY2FsZVNwYWNlUHlyYW1pZCAqKSBbRkVBVFVSRV9FWFRSQUNUT1IgPSB2aXNpb246OkZSRUFLRXh0cmFjdG9yLCBTVE9SRSA9IHZpc2lvbjo6QmluYXJ5RmVhdHVyZVN0b3JlLCBNQVRDSEVSID0gdmlzaW9uOjpCaW5hcnlGZWF0dXJlTWF0Y2hlcjw5Nj5dAEZpbmQgTWF0Y2hlcyAoMSkASG91Z2ggVm90aW5nICgxKQBGaW5kIEhvdWdoIE1hdGNoZXMgKDEpAEVzdGltYXRlIEhvbW9ncmFwaHkgKDEpAEZpbmQgSW5saWVycyAoMSkARmluZCBNYXRjaGVzICgyKQBIb3VnaCBWb3RpbmcgKDIpAEZpbmQgSG91Z2ggTWF0Y2hlcyAoMikARXN0aW1hdGUgSG9tb2dyYXBoeSAoMikARmluZCBJbmxpZXJzICgyKQBBc3NlcnRpb24gYDBgIGZhaWxlZCBpbiAAL2hvbWUvd2FsdGVyL2thbHdhbHQtZ2l0aHViL2pzYXJ0b29sa2l0TkZUL2Vtc2NyaXB0ZW4vYXJ0b29sa2l0NS9saWIvU1JDL0tQTS9GcmVha01hdGNoZXIvbWF0Y2hlcnMvZmVhdHVyZV9tYXRjaGVyLWlubGluZS5oAEZhaWxlZCB0byBjb21wdXRlIG1hdHJpeCBpbnZlcnNlAEFzc2VydGlvbiBgYmVzdF9pbmRleCAhPSBzdGQ6Om51bWVyaWNfbGltaXRzPHNpemVfdD46Om1heCgpYCBmYWlsZWQgaW4gAFNvbWV0aGluZyBzdHJhbmdlAEFzc2VydGlvbiBgbU1hdGNoZXMuc2l6ZSgpIDw9IGZlYXR1cmVzMS0+c2l6ZSgpYCBmYWlsZWQgaW4gAE51bWJlciBvZiBtYXRjaGVzIHNob3VsZCBiZSBsb3dlcgBBc3NlcnRpb24gYGh5cC5zaXplKCkgPj0gOSptYXhfbnVtX2h5cG90aGVzZXNgIGZhaWxlZCBpbiAAL2hvbWUvd2FsdGVyL2thbHdhbHQtZ2l0aHViL2pzYXJ0b29sa2l0TkZUL2Vtc2NyaXB0ZW4vYXJ0b29sa2l0NS9saWIvU1JDL0tQTS9GcmVha01hdGNoZXIvaG9tb2dyYXBoeV9lc3RpbWF0aW9uL3JvYnVzdF9ob21vZ3JhcGh5LmgAaHlwIHZlY3RvciBzaG91bGQgYmUgb2Ygc2l6ZSA5Km1heF9udW1faHlwb3RoZXNlcwBBc3NlcnRpb24gYHRtcF9pLnNpemUoKSA+PSBudW1fcG9pbnRzYCBmYWlsZWQgaW4gAHRtcF9pIHZlY3RvciBzaG91bGQgYmUgb2Ygc2l6ZSBudW1fcG9pbnRzAEFzc2VydGlvbiBgaHlwX2Nvc3RzLnNpemUoKSA+PSBtYXhfbnVtX2h5cG90aGVzZXNgIGZhaWxlZCBpbiAAaHlwX2Nvc3RzIHZlY3RvciBzaG91bGQgYmUgb2Ygc2l6ZSBtYXhfbnVtX2h5cG90aGVzZXMAQXNzZXJ0aW9uIGBuIDw9IGluX21hdGNoZXMuc2l6ZSgpYCBmYWlsZWQgaW4gAFNob3VsZCBiZSB0aGUgc2FtZQBBc3NlcnRpb24gYGRpc3RCaW5BbmdsZSA+PSAwYCBmYWlsZWQgaW4gAGRpc3RCaW5BbmdsZSBtdXN0IG5vdCBiZSBuZWdhdGl2ZQBBc3NlcnRpb24gYG1Sb290LmdldCgpYCBmYWlsZWQgaW4gAFJvb3QgY2Fubm90IGJlIE5VTEwAQXNzZXJ0aW9uIGBtaW5pICE9IC0xYCBmYWlsZWQgaW4gAE1pbmltdW0gaW5kZXggbm90IHNldABBc3NlcnRpb24gYHggPj0gbU1pblhgIGZhaWxlZCBpbiAAL2hvbWUvd2FsdGVyL2thbHdhbHQtZ2l0aHViL2pzYXJ0b29sa2l0TkZUL2Vtc2NyaXB0ZW4vYXJ0b29sa2l0NS9saWIvU1JDL0tQTS9GcmVha01hdGNoZXIvbWF0Y2hlcnMvaG91Z2hfc2ltaWxhcml0eV92b3RpbmcuaAB4IG91dCBvZiByYW5nZQBBc3NlcnRpb24gYHggPCBtTWF4WGAgZmFpbGVkIGluIABBc3NlcnRpb24gYHkgPj0gbU1pbllgIGZhaWxlZCBpbiAAeSBvdXQgb2YgcmFuZ2UAQXNzZXJ0aW9uIGB5IDwgbU1heFlgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGBhbmdsZSA+IC1QSWAgZmFpbGVkIGluIABhbmdsZSBvdXQgb2YgcmFuZ2UAQXNzZXJ0aW9uIGBhbmdsZSA8PSBQSWAgZmFpbGVkIGluIABBc3NlcnRpb24gYHNjYWxlID49IG1NaW5TY2FsZWAgZmFpbGVkIGluIABzY2FsZSBvdXQgb2YgcmFuZ2UAQXNzZXJ0aW9uIGBzY2FsZSA8IG1NYXhTY2FsZWAgZmFpbGVkIGluIABBc3NlcnRpb24gYGluZGV4ID49IDBgIGZhaWxlZCBpbiAAaW5kZXggb3V0IG9mIHJhbmdlAEFzc2VydGlvbiBgYmluWCA+PSAwYCBmYWlsZWQgaW4gAGJpblggb3V0IG9mIHJhbmdlAEFzc2VydGlvbiBgYmluWCA8IG1OdW1YQmluc2AgZmFpbGVkIGluIABBc3NlcnRpb24gYGJpblkgPj0gMGAgZmFpbGVkIGluIABiaW5ZIG91dCBvZiByYW5nZQBBc3NlcnRpb24gYGJpblkgPCBtTnVtWUJpbnNgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGBiaW5BbmdsZSA+PSAwYCBmYWlsZWQgaW4gAGJpbkFuZ2xlIG91dCBvZiByYW5nZQBBc3NlcnRpb24gYGJpbkFuZ2xlIDwgbU51bUFuZ2xlQmluc2AgZmFpbGVkIGluIABBc3NlcnRpb24gYGJpblNjYWxlID49IDBgIGZhaWxlZCBpbiAAYmluU2NhbGUgb3V0IG9mIHJhbmdlAEFzc2VydGlvbiBgYmluU2NhbGUgPCBtTnVtU2NhbGVCaW5zYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgaW5kZXggPD0gKGJpblggKyBiaW5ZKm1OdW1YQmlucyArIGJpbkFuZ2xlKm1OdW1YQmlucyptTnVtWUJpbnMgKyBiaW5TY2FsZSptTnVtWEJpbnMqbU51bVlCaW5zKm1OdW1BbmdsZUJpbnMpYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgc2l6ZSA+IDBgIGZhaWxlZCBpbiAAL2hvbWUvd2FsdGVyL2thbHdhbHQtZ2l0aHViL2pzYXJ0b29sa2l0TkZUL2Vtc2NyaXB0ZW4vYXJ0b29sa2l0NS9saWIvU1JDL0tQTS9GcmVha01hdGNoZXIvbWF0Y2hlcnMvaG91Z2hfc2ltaWxhcml0eV92b3RpbmcuY3BwAHNpemUgbXVzdCBiZSBwb3NpdGl2ZQBBc3NlcnRpb24gYG1SZWZJbWFnZVdpZHRoID4gMGAgZmFpbGVkIGluIAB3aWR0aCBtdXN0IGJlIHBvc2l0aXZlAEFzc2VydGlvbiBgbVJlZkltYWdlSGVpZ2h0ID4gMGAgZmFpbGVkIGluIABoZWlnaHQgbXVzdCBiZSBwb3NpdGl2ZQBBc3NlcnRpb24gYG4gPiAwYCBmYWlsZWQgaW4gAC9ob21lL3dhbHRlci9rYWx3YWx0LWdpdGh1Yi9qc2FydG9vbGtpdE5GVC9lbXNjcmlwdGVuL2FydG9vbGtpdDUvbGliL1NSQy9LUE0vRnJlYWtNYXRjaGVyL3V0aWxzL3BhcnRpYWxfc29ydC5oAG4gbXVzdCBiZSBwb3NpdGl2ZQBBc3NlcnRpb24gYGsgPiAwYCBmYWlsZWQgaW4gAGsgbXVzdCBiZSBwb3NpdGl2ZQBBc3NlcnRpb24gYHB5cmFtaWRgIGZhaWxlZCBpbiAAL2hvbWUvd2FsdGVyL2thbHdhbHQtZ2l0aHViL2pzYXJ0b29sa2l0TkZUL2Vtc2NyaXB0ZW4vYXJ0b29sa2l0NS9saWIvU1JDL0tQTS9GcmVha01hdGNoZXIvbWF0Y2hlcnMvZnJlYWsuaABQeXJhbWlkIGlzIE5VTEwAQXNzZXJ0aW9uIGBzdG9yZS5zaXplKCkgPT0gcG9pbnRzLnNpemUoKWAgZmFpbGVkIGluIABGZWF0dXJlIHN0b3JlIGhhcyBub3QgYmVlbiBhbGxvY2F0ZWQAQXNzZXJ0aW9uIGBudW1fcG9pbnRzID09IHBvaW50cy5zaXplKClgIGZhaWxlZCBpbiAAU2hvdWxkIGJlIHNhbWUgc2l6ZQBBc3NlcnRpb24gYG9jdGF2ZSA+PSAwYCBmYWlsZWQgaW4gAC9ob21lL3dhbHRlci9rYWx3YWx0LWdpdGh1Yi9qc2FydG9vbGtpdE5GVC9lbXNjcmlwdGVuL2FydG9vbGtpdDUvbGliL1NSQy9LUE0vRnJlYWtNYXRjaGVyL2RldGVjdG9ycy9nYXVzc2lhbl9zY2FsZV9zcGFjZV9weXJhbWlkLmgAT2N0YXZlIG11c3QgYmUgcG9zaXRpdmUAQXNzZXJ0aW9uIGBvY3RhdmUgPCBtTnVtT2N0YXZlc2AgZmFpbGVkIGluIABPY3RhdmUgbXVzdCBiZSBsZXNzIHRoYW4gbnVtYmVyIG9mIG9jdGF2ZXMAQXNzZXJ0aW9uIGBzY2FsZSA+PSAwYCBmYWlsZWQgaW4gAFNjYWxlIG11c3QgYmUgcG9zaXRpdmUAQXNzZXJ0aW9uIGBzY2FsZSA8IG1OdW1TY2FsZXNQZXJPY3RhdmVgIGZhaWxlZCBpbiAAU2NhbGUgbXVzdCBiZSBsZXNzIHRoYW4gbnVtYmVyIG9mIHNjYWxlIHBlciBvY3RhdmUAJW0tJWQtJVktJUgtJU0tJVMAQXNzZXJ0aW9uIGB3aWR0aCA+IDBgIGZhaWxlZCBpbiAAL2hvbWUvd2FsdGVyL2thbHdhbHQtZ2l0aHViL2pzYXJ0b29sa2l0TkZUL2Vtc2NyaXB0ZW4vYXJ0b29sa2l0NS9saWIvU1JDL0tQTS9GcmVha01hdGNoZXIvZnJhbWV3b3JrL2ltYWdlLmNwcABXaWR0aCBjYW5ub3QgYmUgemVybwBBc3NlcnRpb24gYGhlaWdodCA+IDBgIGZhaWxlZCBpbiAASGVpZ2h0IGNhbm5vdCBiZSB6ZXJvAEFzc2VydGlvbiBgc3RlcCA+PSB3aWR0aGAgZmFpbGVkIGluIABTdGVwIG11c3QgYmUgZ3JlYXRlciB0aGFuIG9yIGVxdWFsIHRoZSB3aWR0aABBc3NlcnRpb24gYGNoYW5uZWxzID4gMGAgZmFpbGVkIGluIABOdW1iZXIgb2YgY2hhbm5lbHMgY2Fubm90IGJlIHplcm8AQXNzZXJ0aW9uIGBtRGF0YS5nZXQoKWAgZmFpbGVkIGluIABEYXRhIHBvaW50ZXIgaXMgTlVMTABOU3QzX18yMTRkZWZhdWx0X2RlbGV0ZUloRUUATlN0M19fMjIwX19zaGFyZWRfcHRyX3BvaW50ZXJJUGhOU18xNGRlZmF1bHRfZGVsZXRlSWhFRU5TXzlhbGxvY2F0b3JJaEVFRUUASW52YWxpZCBpbWFnZSB0eXBlADE2TnVsbEFycmF5RGVsZXRlckloRQBOU3QzX18yMjBfX3NoYXJlZF9wdHJfcG9pbnRlcklQaDE2TnVsbEFycmF5RGVsZXRlckloRU5TXzlhbGxvY2F0b3JJaEVFRUUAQXNzZXJ0aW9uIGBtU3RhcnRUaW1lID49IDBgIGZhaWxlZCBpbiAAL2hvbWUvd2FsdGVyL2thbHdhbHQtZ2l0aHViL2pzYXJ0b29sa2l0TkZUL2Vtc2NyaXB0ZW4vYXJ0b29sa2l0NS9saWIvU1JDL0tQTS9GcmVha01hdGNoZXIvZnJhbWV3b3JrL3RpbWVycy5jcHAAIGxpbmUgADogAENsb2NrIGhhcyBub3QgYmVlbiBzdGFydGVkAEFzc2VydGlvbiBgbVN0b3BUaW1lID49IDBgIGZhaWxlZCBpbiAAQ2xvY2sgaGFzIG5vdCBiZWVuIHN0b3BwZWQAWyVzXSBbJXNdIFslc10gOiAlczogJWYgbXMAIElORk8gIAB2aXNpb246OlNjb3BlZFRpbWVyOjp+U2NvcGVkVGltZXIoKQBzZXR1cAB0ZWFyZG93bgBzZXR1cEFSMgBfYWRkTWFya2VyAF9hZGRNdWx0aU1hcmtlcgBfYWRkTkZUTWFya2VyAGdldE11bHRpTWFya2VyTnVtAGdldE11bHRpTWFya2VyQ291bnQAX2xvYWRDYW1lcmEAc2V0TWFya2VySW5mb0RpcgBzZXRNYXJrZXJJbmZvVmVydGV4AGdldFRyYW5zTWF0U3F1YXJlAGdldFRyYW5zTWF0U3F1YXJlQ29udABnZXRUcmFuc01hdE11bHRpU3F1YXJlAGdldFRyYW5zTWF0TXVsdGlTcXVhcmVSb2J1c3QAZGV0ZWN0TWFya2VyAGdldE1hcmtlck51bQBkZXRlY3RORlRNYXJrZXIAZ2V0TXVsdGlFYWNoTWFya2VyAGdldE1hcmtlcgBnZXRORlRNYXJrZXIAc2V0RGVidWdNb2RlAGdldERlYnVnTW9kZQBnZXRQcm9jZXNzaW5nSW1hZ2UAc2V0TG9nTGV2ZWwAZ2V0TG9nTGV2ZWwAc2V0UHJvamVjdGlvbk5lYXJQbGFuZQBnZXRQcm9qZWN0aW9uTmVhclBsYW5lAHNldFByb2plY3Rpb25GYXJQbGFuZQBnZXRQcm9qZWN0aW9uRmFyUGxhbmUAc2V0VGhyZXNob2xkTW9kZQBnZXRUaHJlc2hvbGRNb2RlAHNldFRocmVzaG9sZABnZXRUaHJlc2hvbGQAc2V0UGF0dGVybkRldGVjdGlvbk1vZGUAZ2V0UGF0dGVybkRldGVjdGlvbk1vZGUAc2V0UGF0dFJhdGlvAGdldFBhdHRSYXRpbwBzZXRNYXRyaXhDb2RlVHlwZQBnZXRNYXRyaXhDb2RlVHlwZQBzZXRMYWJlbGluZ01vZGUAZ2V0TGFiZWxpbmdNb2RlAHNldEltYWdlUHJvY01vZGUAZ2V0SW1hZ2VQcm9jTW9kZQBFUlJPUl9BUkNPTlRST0xMRVJfTk9UX0ZPVU5EAEVSUk9SX01VTFRJTUFSS0VSX05PVF9GT1VORABFUlJPUl9NQVJLRVJfSU5ERVhfT1VUX09GX0JPVU5EUwBBUl9ERUJVR19ESVNBQkxFAEFSX0RFQlVHX0VOQUJMRQBBUl9ERUZBVUxUX0RFQlVHX01PREUAQVJfTEFCRUxJTkdfV0hJVEVfUkVHSU9OAEFSX0xBQkVMSU5HX0JMQUNLX1JFR0lPTgBBUl9ERUZBVUxUX0xBQkVMSU5HX01PREUAQVJfREVGQVVMVF9MQUJFTElOR19USFJFU0gAQVJfSU1BR0VfUFJPQ19GUkFNRV9JTUFHRQBBUl9JTUFHRV9QUk9DX0ZJRUxEX0lNQUdFAEFSX0RFRkFVTFRfSU1BR0VfUFJPQ19NT0RFAEFSX1RFTVBMQVRFX01BVENISU5HX0NPTE9SAEFSX1RFTVBMQVRFX01BVENISU5HX01PTk8AQVJfTUFUUklYX0NPREVfREVURUNUSU9OAEFSX1RFTVBMQVRFX01BVENISU5HX0NPTE9SX0FORF9NQVRSSVgAQVJfVEVNUExBVEVfTUFUQ0hJTkdfTU9OT19BTkRfTUFUUklYAEFSX0RFRkFVTFRfUEFUVEVSTl9ERVRFQ1RJT05fTU9ERQBBUl9VU0VfVFJBQ0tJTkdfSElTVE9SWQBBUl9OT1VTRV9UUkFDS0lOR19ISVNUT1JZAEFSX1VTRV9UUkFDS0lOR19ISVNUT1JZX1YyAEFSX0RFRkFVTFRfTUFSS0VSX0VYVFJBQ1RJT05fTU9ERQBBUl9NQVhfTE9PUF9DT1VOVABBUl9MT09QX0JSRUFLX1RIUkVTSABBUl9MT0dfTEVWRUxfREVCVUcAQVJfTE9HX0xFVkVMX0lORk8AQVJfTE9HX0xFVkVMX1dBUk4AQVJfTE9HX0xFVkVMX0VSUk9SAEFSX0xPR19MRVZFTF9SRUxfSU5GTwBBUl9NQVRSSVhfQ09ERV8zeDMAQVJfTUFUUklYX0NPREVfM3gzX0hBTU1JTkc2MwBBUl9NQVRSSVhfQ09ERV8zeDNfUEFSSVRZNjUAQVJfTUFUUklYX0NPREVfNHg0AEFSX01BVFJJWF9DT0RFXzR4NF9CQ0hfMTNfOV8zAEFSX01BVFJJWF9DT0RFXzR4NF9CQ0hfMTNfNV81AEFSX0xBQkVMSU5HX1RIUkVTSF9NT0RFX01BTlVBTABBUl9MQUJFTElOR19USFJFU0hfTU9ERV9BVVRPX01FRElBTgBBUl9MQUJFTElOR19USFJFU0hfTU9ERV9BVVRPX09UU1UAQVJfTEFCRUxJTkdfVEhSRVNIX01PREVfQVVUT19BREFQVElWRQBBUl9NQVJLRVJfSU5GT19DVVRPRkZfUEhBU0VfTk9ORQBBUl9NQVJLRVJfSU5GT19DVVRPRkZfUEhBU0VfUEFUVEVSTl9FWFRSQUNUSU9OAEFSX01BUktFUl9JTkZPX0NVVE9GRl9QSEFTRV9NQVRDSF9HRU5FUklDAEFSX01BUktFUl9JTkZPX0NVVE9GRl9QSEFTRV9NQVRDSF9DT05UUkFTVABBUl9NQVJLRVJfSU5GT19DVVRPRkZfUEhBU0VfTUFUQ0hfQkFSQ09ERV9OT1RfRk9VTkQAQVJfTUFSS0VSX0lORk9fQ1VUT0ZGX1BIQVNFX01BVENIX0JBUkNPREVfRURDX0ZBSUwAQVJfTUFSS0VSX0lORk9fQ1VUT0ZGX1BIQVNFX01BVENIX0NPTkZJREVOQ0UAQVJfTUFSS0VSX0lORk9fQ1VUT0ZGX1BIQVNFX1BPU0VfRVJST1IAQVJfTUFSS0VSX0lORk9fQ1VUT0ZGX1BIQVNFX1BPU0VfRVJST1JfTVVMVEkAQVJfTUFSS0VSX0lORk9fQ1VUT0ZGX1BIQVNFX0hFVVJJU1RJQ19UUk9VQkxFU09NRV9NQVRSSVhfQ09ERVMAQVJfRklMVEVSX1RSQU5TX01BVF9TQU1QTEVfUkFURV9ERUZBVUxUAEFSX0ZJTFRFUl9UUkFOU19NQVRfQ1VUT0ZGX0ZSRVFfREVGQVVMVABhbGxvY2F0b3I8VD46OmFsbG9jYXRlKHNpemVfdCBuKSAnbicgZXhjZWVkcyBtYXhpbXVtIHN1cHBvcnRlZCBzaXplAEltYWdlIHByb2MuIG1vZGUgc2V0IHRvICVkLgoATGFiZWxpbmcgbW9kZSBzZXQgdG8gJWQKAHZpaWYAUGF0dGVybiByYXRpbyBzaXplIHNldCB0byAlZi4KAFBhdHRlcm4gZGV0ZWN0aW9uIG1vZGUgc2V0IHRvICVkLgoAVGhyZXNob2xkIHNldCB0byAlZAoAdmlpaQBUaHJlc2hvbGQgbW9kZSBzZXQgdG8gJWQKAGRpaQB2aWlkAGlpAHZpaQBvbi4Ab2ZmLgBEZWJ1ZyBtb2RlIHNldCB0byAlcwoAYXJGaWx0ZXJUcmFuc01hdCBlcnJvciB3aXRoIG1hcmtlciAlZC4KAFRyYWNraW5nIGxvc3QuICVkCgBUcmFja2VkIHBhZ2UgJWQgKG1heCAlZCkuCgB7IHZhciAkYSA9IGFyZ3VtZW50czsgdmFyIGkgPSAwOyBpZiAoIWFydG9vbGtpdFsiTkZUTWFya2VySW5mbyJdKSB7IGFydG9vbGtpdFsiTkZUTWFya2VySW5mbyJdID0gKHsgaWQ6IDAsIGVycm9yOiAtMSwgZm91bmQ6IDAsIHBvc2U6IFswLDAsMCwwLCAwLDAsMCwwLCAwLDAsMCwwXSB9KTsgfSB2YXIgbWFya2VySW5mbyA9IGFydG9vbGtpdFsiTkZUTWFya2VySW5mbyJdOyBtYXJrZXJJbmZvWyJpZCJdID0gJGFbaSsrXTsgbWFya2VySW5mb1siZXJyb3IiXSA9ICRhW2krK107IG1hcmtlckluZm9bImZvdW5kIl0gPSAxOyBtYXJrZXJJbmZvWyJwb3NlIl1bMF0gPSAkYVtpKytdOyBtYXJrZXJJbmZvWyJwb3NlIl1bMV0gPSAkYVtpKytdOyBtYXJrZXJJbmZvWyJwb3NlIl1bMl0gPSAkYVtpKytdOyBtYXJrZXJJbmZvWyJwb3NlIl1bM10gPSAkYVtpKytdOyBtYXJrZXJJbmZvWyJwb3NlIl1bNF0gPSAkYVtpKytdOyBtYXJrZXJJbmZvWyJwb3NlIl1bNV0gPSAkYVtpKytdOyBtYXJrZXJJbmZvWyJwb3NlIl1bNl0gPSAkYVtpKytdOyBtYXJrZXJJbmZvWyJwb3NlIl1bN10gPSAkYVtpKytdOyBtYXJrZXJJbmZvWyJwb3NlIl1bOF0gPSAkYVtpKytdOyBtYXJrZXJJbmZvWyJwb3NlIl1bOV0gPSAkYVtpKytdOyBtYXJrZXJJbmZvWyJwb3NlIl1bMTBdID0gJGFbaSsrXTsgbWFya2VySW5mb1sicG9zZSJdWzExXSA9ICRhW2krK107IH0AeyB2YXIgJGEgPSBhcmd1bWVudHM7IHZhciBpID0gMDsgaWYgKCFhcnRvb2xraXRbIk5GVE1hcmtlckluZm8iXSkgeyBhcnRvb2xraXRbIk5GVE1hcmtlckluZm8iXSA9ICh7IGlkOiAwLCBlcnJvcjogLTEsIGZvdW5kOiAwLCBwb3NlOiBbMCwwLDAsMCwgMCwwLDAsMCwgMCwwLDAsMF0gfSk7IH0gdmFyIG1hcmtlckluZm8gPSBhcnRvb2xraXRbIk5GVE1hcmtlckluZm8iXTsgbWFya2VySW5mb1siaWQiXSA9ICRhW2krK107IG1hcmtlckluZm9bImVycm9yIl0gPSAtMTsgbWFya2VySW5mb1siZm91bmQiXSA9IDA7IG1hcmtlckluZm9bInBvc2UiXVswXSA9IDA7IG1hcmtlckluZm9bInBvc2UiXVsxXSA9IDA7IG1hcmtlckluZm9bInBvc2UiXVsyXSA9IDA7IG1hcmtlckluZm9bInBvc2UiXVszXSA9IDA7IG1hcmtlckluZm9bInBvc2UiXVs0XSA9IDA7IG1hcmtlckluZm9bInBvc2UiXVs1XSA9IDA7IG1hcmtlckluZm9bInBvc2UiXVs2XSA9IDA7IG1hcmtlckluZm9bInBvc2UiXVs3XSA9IDA7IG1hcmtlckluZm9bInBvc2UiXVs4XSA9IDA7IG1hcmtlckluZm9bInBvc2UiXVs5XSA9IDA7IG1hcmtlckluZm9bInBvc2UiXVsxMF0gPSAwOyBtYXJrZXJJbmZvWyJwb3NlIl1bMTFdID0gMDsgfQB7IHZhciAkYSA9IGFyZ3VtZW50czsgdmFyIGkgPSAxMjsgaWYgKCFhcnRvb2xraXRbIm1hcmtlckluZm8iXSkgeyBhcnRvb2xraXRbIm1hcmtlckluZm8iXSA9ICh7IHBvczogWzAsMF0sIGxpbmU6IFtbMCwwLDBdLCBbMCwwLDBdLCBbMCwwLDBdLCBbMCwwLDBdXSwgdmVydGV4OiBbWzAsMF0sIFswLDBdLCBbMCwwXSwgWzAsMF1dIH0pOyB9IHZhciBtYXJrZXJJbmZvID0gYXJ0b29sa2l0WyJtYXJrZXJJbmZvIl07IG1hcmtlckluZm9bImFyZWEiXSA9ICQwOyBtYXJrZXJJbmZvWyJpZCJdID0gJDE7IG1hcmtlckluZm9bImlkUGF0dCJdID0gJDI7IG1hcmtlckluZm9bImlkTWF0cml4Il0gPSAkMzsgbWFya2VySW5mb1siZGlyIl0gPSAkNDsgbWFya2VySW5mb1siZGlyUGF0dCJdID0gJDU7IG1hcmtlckluZm9bImRpck1hdHJpeCJdID0gJDY7IG1hcmtlckluZm9bImNmIl0gPSAkNzsgbWFya2VySW5mb1siY2ZQYXR0Il0gPSAkODsgbWFya2VySW5mb1siY2ZNYXRyaXgiXSA9ICQ5OyBtYXJrZXJJbmZvWyJwb3MiXVswXSA9ICQxMDsgbWFya2VySW5mb1sicG9zIl1bMV0gPSAkMTE7IG1hcmtlckluZm9bImxpbmUiXVswXVswXSA9ICRhW2krK107IG1hcmtlckluZm9bImxpbmUiXVswXVsxXSA9ICRhW2krK107IG1hcmtlckluZm9bImxpbmUiXVswXVsyXSA9ICRhW2krK107IG1hcmtlckluZm9bImxpbmUiXVsxXVswXSA9ICRhW2krK107IG1hcmtlckluZm9bImxpbmUiXVsxXVsxXSA9ICRhW2krK107IG1hcmtlckluZm9bImxpbmUiXVsxXVsyXSA9ICRhW2krK107IG1hcmtlckluZm9bImxpbmUiXVsyXVswXSA9ICRhW2krK107IG1hcmtlckluZm9bImxpbmUiXVsyXVsxXSA9ICRhW2krK107IG1hcmtlckluZm9bImxpbmUiXVsyXVsyXSA9ICRhW2krK107IG1hcmtlckluZm9bImxpbmUiXVszXVswXSA9ICRhW2krK107IG1hcmtlckluZm9bImxpbmUiXVszXVsxXSA9ICRhW2krK107IG1hcmtlckluZm9bImxpbmUiXVszXVsyXSA9ICRhW2krK107IG1hcmtlckluZm9bInZlcnRleCJdWzBdWzBdID0gJGFbaSsrXTsgbWFya2VySW5mb1sidmVydGV4Il1bMF1bMV0gPSAkYVtpKytdOyBtYXJrZXJJbmZvWyJ2ZXJ0ZXgiXVsxXVswXSA9ICRhW2krK107IG1hcmtlckluZm9bInZlcnRleCJdWzFdWzFdID0gJGFbaSsrXTsgbWFya2VySW5mb1sidmVydGV4Il1bMl1bMF0gPSAkYVtpKytdOyBtYXJrZXJJbmZvWyJ2ZXJ0ZXgiXVsyXVsxXSA9ICRhW2krK107IG1hcmtlckluZm9bInZlcnRleCJdWzNdWzBdID0gJGFbaSsrXTsgbWFya2VySW5mb1sidmVydGV4Il1bM11bMV0gPSAkYVtpKytdOyBtYXJrZXJJbmZvWyJlcnJvckNvcnJlY3RlZCJdID0gJGFbaSsrXTsgfQB7IGlmICghYXJ0b29sa2l0WyJtdWx0aUVhY2hNYXJrZXJJbmZvIl0pIHsgYXJ0b29sa2l0WyJtdWx0aUVhY2hNYXJrZXJJbmZvIl0gPSAoe30pOyB9IHZhciBtdWx0aUVhY2hNYXJrZXIgPSBhcnRvb2xraXRbIm11bHRpRWFjaE1hcmtlckluZm8iXTsgbXVsdGlFYWNoTWFya2VyWyd2aXNpYmxlJ10gPSAkMDsgbXVsdGlFYWNoTWFya2VyWydwYXR0SWQnXSA9ICQxOyBtdWx0aUVhY2hNYXJrZXJbJ3BhdHRUeXBlJ10gPSAkMjsgbXVsdGlFYWNoTWFya2VyWyd3aWR0aCddID0gJDM7IH0AaWlpAE5TdDNfXzIxMmJhc2ljX3N0cmluZ0ljTlNfMTFjaGFyX3RyYWl0c0ljRUVOU185YWxsb2NhdG9ySWNFRUVFAE5TdDNfXzIyMV9fYmFzaWNfc3RyaW5nX2NvbW1vbklMYjFFRUUAbG9hZENhbWVyYSgpOiBFcnJvciBsb2FkaW5nIHBhcmFtZXRlciBmaWxlICVzIGZvciBjYW1lcmEuCgBpaWlpAEFSVG9vbEtpdEpTKCk6IFVuYWJsZSB0byBzZXQgdXAgTkZUIG1hcmtlci4KAFJlYWRpbmcgJXMuZnNldDMKAGZzZXQzAEVycm9yIHJlYWRpbmcgS1BNIGRhdGEgZnJvbSAlcy5mc2V0MwoAICBBc3NpZ25lZCBwYWdlIG5vLiAlZC4KAEVycm9yOiBrcG1DaGFuZ2VQYWdlTm9PZlJlZkRhdGFTZXQKAEVycm9yOiBrcG1NZXJnZVJlZkRhdGFTZXQKACAgRG9uZS4KAFJlYWRpbmcgJXMuZnNldAoAZnNldABFcnJvciByZWFkaW5nIGRhdGEgZnJvbSAlcy5mc2V0CgBFcnJvcjoga3BtU2V0UmVmRGF0YVNldAoATG9hZGluZyBvZiBORlQgZGF0YSBjb21wbGV0ZS4KAEFSVG9vbEtpdEpTKCk6IFVuYWJsZSB0byBzZXQgdXAgQVIgbXVsdGltYXJrZXIuCgBjb25maWcgZGF0YSBsb2FkIGVycm9yICEhCgBBUlRvb2xLaXRKUygpOiBVbmFibGUgdG8gc2V0IHVwIEFSIG1hcmtlci4KAGxvYWRNYXJrZXIoKTogRXJyb3IgbG9hZGluZyBwYXR0ZXJuIGZpbGUgJXMuCgBFcnJvcjogYXIyQ3JlYXRlSGFuZGxlLgoAaWlpaWkAc2V0dXAoKTogRXJyb3I6IGFyUGF0dENyZWF0ZUhhbmRsZS4KAEFsbG9jYXRlZCB2aWRlb0ZyYW1lU2l6ZSAlZAoAeyBpZiAoIWFydG9vbGtpdFsiZnJhbWVNYWxsb2MiXSkgeyBhcnRvb2xraXRbImZyYW1lTWFsbG9jIl0gPSAoe30pOyB9IHZhciBmcmFtZU1hbGxvYyA9IGFydG9vbGtpdFsiZnJhbWVNYWxsb2MiXTsgZnJhbWVNYWxsb2NbImZyYW1lcG9pbnRlciJdID0gJDE7IGZyYW1lTWFsbG9jWyJmcmFtZXNpemUiXSA9ICQyOyBmcmFtZU1hbGxvY1siY2FtZXJhIl0gPSAkMzsgZnJhbWVNYWxsb2NbInRyYW5zZm9ybSJdID0gJDQ7IGZyYW1lTWFsbG9jWyJ2aWRlb0x1bWFQb2ludGVyIl0gPSAkNTsgfQAqKiogQ2FtZXJhIFBhcmFtZXRlciByZXNpemVkIGZyb20gJWQsICVkLiAqKioKAHNldENhbWVyYSgpOiBFcnJvcjogYXJQYXJhbUxUQ3JlYXRlLgoAc2V0Q2FtZXJhKCk6IEVycm9yOiBhckNyZWF0ZUhhbmRsZS4KAHNldENhbWVyYSgpOiBFcnJvciBjcmVhdGluZyAzRCBoYW5kbGUAT3V0IG9mIG1lbW9yeSEhCgBFcnJvcjogbWFsbG9jCgAjIyMgRmVhdHVyZSBjYW5kaWRhdGVzIGZvciB0cmFja2luZyBhcmUgb3ZlcmZsb3cuCgBCb2d1cyBtZXNzYWdlIGNvZGUgJWQAQUxJR05fVFlQRSBpcyB3cm9uZywgcGxlYXNlIGZpeABNQVhfQUxMT0NfQ0hVTksgaXMgd3JvbmcsIHBsZWFzZSBmaXgAQm9ndXMgYnVmZmVyIGNvbnRyb2wgbW9kZQBJbnZhbGlkIGNvbXBvbmVudCBJRCAlZCBpbiBTT1MASW52YWxpZCBjcm9wIHJlcXVlc3QARENUIGNvZWZmaWNpZW50IG91dCBvZiByYW5nZQBEQ1Qgc2NhbGVkIGJsb2NrIHNpemUgJWR4JWQgbm90IHN1cHBvcnRlZABDb21wb25lbnQgaW5kZXggJWQ6IG1pc21hdGNoaW5nIHNhbXBsaW5nIHJhdGlvICVkOiVkLCAlZDolZCwgJWMAQm9ndXMgSHVmZm1hbiB0YWJsZSBkZWZpbml0aW9uAEJvZ3VzIGlucHV0IGNvbG9yc3BhY2UAQm9ndXMgSlBFRyBjb2xvcnNwYWNlAEJvZ3VzIG1hcmtlciBsZW5ndGgAV3JvbmcgSlBFRyBsaWJyYXJ5IHZlcnNpb246IGxpYnJhcnkgaXMgJWQsIGNhbGxlciBleHBlY3RzICVkAFNhbXBsaW5nIGZhY3RvcnMgdG9vIGxhcmdlIGZvciBpbnRlcmxlYXZlZCBzY2FuAEludmFsaWQgbWVtb3J5IHBvb2wgY29kZSAlZABVbnN1cHBvcnRlZCBKUEVHIGRhdGEgcHJlY2lzaW9uICVkAEludmFsaWQgcHJvZ3Jlc3NpdmUgcGFyYW1ldGVycyBTcz0lZCBTZT0lZCBBaD0lZCBBbD0lZABJbnZhbGlkIHByb2dyZXNzaXZlIHBhcmFtZXRlcnMgYXQgc2NhbiBzY3JpcHQgZW50cnkgJWQAQm9ndXMgc2FtcGxpbmcgZmFjdG9ycwBJbnZhbGlkIHNjYW4gc2NyaXB0IGF0IGVudHJ5ICVkAEltcHJvcGVyIGNhbGwgdG8gSlBFRyBsaWJyYXJ5IGluIHN0YXRlICVkAEpQRUcgcGFyYW1ldGVyIHN0cnVjdCBtaXNtYXRjaDogbGlicmFyeSB0aGlua3Mgc2l6ZSBpcyAldSwgY2FsbGVyIGV4cGVjdHMgJXUAQm9ndXMgdmlydHVhbCBhcnJheSBhY2Nlc3MAQnVmZmVyIHBhc3NlZCB0byBKUEVHIGxpYnJhcnkgaXMgdG9vIHNtYWxsAFN1c3BlbnNpb24gbm90IGFsbG93ZWQgaGVyZQBDQ0lSNjAxIHNhbXBsaW5nIG5vdCBpbXBsZW1lbnRlZCB5ZXQAVG9vIG1hbnkgY29sb3IgY29tcG9uZW50czogJWQsIG1heCAlZABVbnN1cHBvcnRlZCBjb2xvciBjb252ZXJzaW9uIHJlcXVlc3QAQm9ndXMgREFDIGluZGV4ICVkAEJvZ3VzIERBQyB2YWx1ZSAweCV4AEJvZ3VzIERIVCBpbmRleCAlZABCb2d1cyBEUVQgaW5kZXggJWQARW1wdHkgSlBFRyBpbWFnZSAoRE5MIG5vdCBzdXBwb3J0ZWQpAFJlYWQgZnJvbSBFTVMgZmFpbGVkAFdyaXRlIHRvIEVNUyBmYWlsZWQARGlkbid0IGV4cGVjdCBtb3JlIHRoYW4gb25lIHNjYW4ASW5wdXQgZmlsZSByZWFkIGVycm9yAE91dHB1dCBmaWxlIHdyaXRlIGVycm9yIC0tLSBvdXQgb2YgZGlzayBzcGFjZT8ARnJhY3Rpb25hbCBzYW1wbGluZyBub3QgaW1wbGVtZW50ZWQgeWV0AEh1ZmZtYW4gY29kZSBzaXplIHRhYmxlIG92ZXJmbG93AE1pc3NpbmcgSHVmZm1hbiBjb2RlIHRhYmxlIGVudHJ5AE1heGltdW0gc3VwcG9ydGVkIGltYWdlIGRpbWVuc2lvbiBpcyAldSBwaXhlbHMARW1wdHkgaW5wdXQgZmlsZQBQcmVtYXR1cmUgZW5kIG9mIGlucHV0IGZpbGUAQ2Fubm90IHRyYW5zY29kZSBkdWUgdG8gbXVsdGlwbGUgdXNlIG9mIHF1YW50aXphdGlvbiB0YWJsZSAlZABTY2FuIHNjcmlwdCBkb2VzIG5vdCB0cmFuc21pdCBhbGwgZGF0YQBJbnZhbGlkIGNvbG9yIHF1YW50aXphdGlvbiBtb2RlIGNoYW5nZQBOb3QgaW1wbGVtZW50ZWQgeWV0AFJlcXVlc3RlZCBmZWF0dXJlIHdhcyBvbWl0dGVkIGF0IGNvbXBpbGUgdGltZQBBcml0aG1ldGljIHRhYmxlIDB4JTAyeCB3YXMgbm90IGRlZmluZWQAQmFja2luZyBzdG9yZSBub3Qgc3VwcG9ydGVkAEh1ZmZtYW4gdGFibGUgMHglMDJ4IHdhcyBub3QgZGVmaW5lZABKUEVHIGRhdGFzdHJlYW0gY29udGFpbnMgbm8gaW1hZ2UAUXVhbnRpemF0aW9uIHRhYmxlIDB4JTAyeCB3YXMgbm90IGRlZmluZWQATm90IGEgSlBFRyBmaWxlOiBzdGFydHMgd2l0aCAweCUwMnggMHglMDJ4AEluc3VmZmljaWVudCBtZW1vcnkgKGNhc2UgJWQpAENhbm5vdCBxdWFudGl6ZSBtb3JlIHRoYW4gJWQgY29sb3IgY29tcG9uZW50cwBDYW5ub3QgcXVhbnRpemUgdG8gZmV3ZXIgdGhhbiAlZCBjb2xvcnMAQ2Fubm90IHF1YW50aXplIHRvIG1vcmUgdGhhbiAlZCBjb2xvcnMASW52YWxpZCBKUEVHIGZpbGUgc3RydWN0dXJlOiAlcyBiZWZvcmUgU09GAEludmFsaWQgSlBFRyBmaWxlIHN0cnVjdHVyZTogdHdvIFNPRiBtYXJrZXJzAEludmFsaWQgSlBFRyBmaWxlIHN0cnVjdHVyZTogbWlzc2luZyBTT1MgbWFya2VyAFVuc3VwcG9ydGVkIEpQRUcgcHJvY2VzczogU09GIHR5cGUgMHglMDJ4AEludmFsaWQgSlBFRyBmaWxlIHN0cnVjdHVyZTogdHdvIFNPSSBtYXJrZXJzAEZhaWxlZCB0byBjcmVhdGUgdGVtcG9yYXJ5IGZpbGUgJXMAUmVhZCBmYWlsZWQgb24gdGVtcG9yYXJ5IGZpbGUAU2VlayBmYWlsZWQgb24gdGVtcG9yYXJ5IGZpbGUAV3JpdGUgZmFpbGVkIG9uIHRlbXBvcmFyeSBmaWxlIC0tLSBvdXQgb2YgZGlzayBzcGFjZT8AQXBwbGljYXRpb24gdHJhbnNmZXJyZWQgdG9vIGZldyBzY2FubGluZXMAVW5zdXBwb3J0ZWQgbWFya2VyIHR5cGUgMHglMDJ4AFZpcnR1YWwgYXJyYXkgY29udHJvbGxlciBtZXNzZWQgdXAASW1hZ2UgdG9vIHdpZGUgZm9yIHRoaXMgaW1wbGVtZW50YXRpb24AUmVhZCBmcm9tIFhNUyBmYWlsZWQAV3JpdGUgdG8gWE1TIGZhaWxlZABDb3B5cmlnaHQgKEMpIDIwMTgsIFRob21hcyBHLiBMYW5lLCBHdWlkbyBWb2xsYmVkaW5nADljICAxNC1KYW4tMjAxOABDYXV0aW9uOiBxdWFudGl6YXRpb24gdGFibGVzIGFyZSB0b28gY29hcnNlIGZvciBiYXNlbGluZSBKUEVHAEFkb2JlIEFQUDE0IG1hcmtlcjogdmVyc2lvbiAlZCwgZmxhZ3MgMHglMDR4IDB4JTA0eCwgdHJhbnNmb3JtICVkAFVua25vd24gQVBQMCBtYXJrZXIgKG5vdCBKRklGKSwgbGVuZ3RoICV1AFVua25vd24gQVBQMTQgbWFya2VyIChub3QgQWRvYmUpLCBsZW5ndGggJXUARGVmaW5lIEFyaXRobWV0aWMgVGFibGUgMHglMDJ4OiAweCUwMngARGVmaW5lIEh1ZmZtYW4gVGFibGUgMHglMDJ4AERlZmluZSBRdWFudGl6YXRpb24gVGFibGUgJWQgIHByZWNpc2lvbiAlZABEZWZpbmUgUmVzdGFydCBJbnRlcnZhbCAldQBGcmVlZCBFTVMgaGFuZGxlICV1AE9idGFpbmVkIEVNUyBoYW5kbGUgJXUARW5kIE9mIEltYWdlACAgICAgICAgJTNkICUzZCAlM2QgJTNkICUzZCAlM2QgJTNkICUzZABKRklGIEFQUDAgbWFya2VyOiB2ZXJzaW9uICVkLiUwMmQsIGRlbnNpdHkgJWR4JWQgICVkAFdhcm5pbmc6IHRodW1ibmFpbCBpbWFnZSBzaXplIGRvZXMgbm90IG1hdGNoIGRhdGEgbGVuZ3RoICV1AEpGSUYgZXh0ZW5zaW9uIG1hcmtlcjogdHlwZSAweCUwMngsIGxlbmd0aCAldQAgICAgd2l0aCAlZCB4ICVkIHRodW1ibmFpbCBpbWFnZQBNaXNjZWxsYW5lb3VzIG1hcmtlciAweCUwMngsIGxlbmd0aCAldQBVbmV4cGVjdGVkIG1hcmtlciAweCUwMngAICAgICAgICAlNHUgJTR1ICU0dSAlNHUgJTR1ICU0dSAlNHUgJTR1AFF1YW50aXppbmcgdG8gJWQgPSAlZColZColZCBjb2xvcnMAUXVhbnRpemluZyB0byAlZCBjb2xvcnMAU2VsZWN0ZWQgJWQgY29sb3JzIGZvciBxdWFudGl6YXRpb24AQXQgbWFya2VyIDB4JTAyeCwgcmVjb3ZlcnkgYWN0aW9uICVkAFJTVCVkAFNtb290aGluZyBub3Qgc3VwcG9ydGVkIHdpdGggbm9uc3RhbmRhcmQgc2FtcGxpbmcgcmF0aW9zAFN0YXJ0IE9mIEZyYW1lIDB4JTAyeDogd2lkdGg9JXUsIGhlaWdodD0ldSwgY29tcG9uZW50cz0lZAAgICAgQ29tcG9uZW50ICVkOiAlZGh4JWR2IHE9JWQAU3RhcnQgb2YgSW1hZ2UAU3RhcnQgT2YgU2NhbjogJWQgY29tcG9uZW50cwAgICAgQ29tcG9uZW50ICVkOiBkYz0lZCBhYz0lZAAgIFNzPSVkLCBTZT0lZCwgQWg9JWQsIEFsPSVkAENsb3NlZCB0ZW1wb3JhcnkgZmlsZSAlcwBPcGVuZWQgdGVtcG9yYXJ5IGZpbGUgJXMASkZJRiBleHRlbnNpb24gbWFya2VyOiBKUEVHLWNvbXByZXNzZWQgdGh1bWJuYWlsIGltYWdlLCBsZW5ndGggJXUASkZJRiBleHRlbnNpb24gbWFya2VyOiBwYWxldHRlIHRodW1ibmFpbCBpbWFnZSwgbGVuZ3RoICV1AEpGSUYgZXh0ZW5zaW9uIG1hcmtlcjogUkdCIHRodW1ibmFpbCBpbWFnZSwgbGVuZ3RoICV1AFVucmVjb2duaXplZCBjb21wb25lbnQgSURzICVkICVkICVkLCBhc3N1bWluZyBZQ2JDcgBGcmVlZCBYTVMgaGFuZGxlICV1AE9idGFpbmVkIFhNUyBoYW5kbGUgJXUAVW5rbm93biBBZG9iZSBjb2xvciB0cmFuc2Zvcm0gY29kZSAlZABDb3JydXB0IEpQRUcgZGF0YTogYmFkIGFyaXRobWV0aWMgY29kZQBJbmNvbnNpc3RlbnQgcHJvZ3Jlc3Npb24gc2VxdWVuY2UgZm9yIGNvbXBvbmVudCAlZCBjb2VmZmljaWVudCAlZABDb3JydXB0IEpQRUcgZGF0YTogJXUgZXh0cmFuZW91cyBieXRlcyBiZWZvcmUgbWFya2VyIDB4JTAyeABDb3JydXB0IEpQRUcgZGF0YTogcHJlbWF0dXJlIGVuZCBvZiBkYXRhIHNlZ21lbnQAQ29ycnVwdCBKUEVHIGRhdGE6IGJhZCBIdWZmbWFuIGNvZGUAV2FybmluZzogdW5rbm93biBKRklGIHJldmlzaW9uIG51bWJlciAlZC4lMDJkAFByZW1hdHVyZSBlbmQgb2YgSlBFRyBmaWxlAENvcnJ1cHQgSlBFRyBkYXRhOiBmb3VuZCBtYXJrZXIgMHglMDJ4IGluc3RlYWQgb2YgUlNUJWQASW52YWxpZCBTT1MgcGFyYW1ldGVycyBmb3Igc2VxdWVudGlhbCBKUEVHAEFwcGxpY2F0aW9uIHRyYW5zZmVycmVkIHRvbyBtYW55IHNjYW5saW5lcwBTT1MATFNFAEpQRUdNRU0AJWxkJWMAJXMKAExDX0FMTABMQU5HAEMuVVRGLTgAUE9TSVgATVVTTF9MT0NQQVRIAAABAgQHAwYFAC0rICAgMFgweAAobnVsbCkALTBYKzBYIDBYLTB4KzB4IDB4AGluZgBJTkYATkFOAGluZmluaXR5AG5hbgByd2EAdGVybWluYXRpbmcgd2l0aCAlcyBleGNlcHRpb24gb2YgdHlwZSAlczogJXMAdGVybWluYXRpbmcgd2l0aCAlcyBleGNlcHRpb24gb2YgdHlwZSAlcwB0ZXJtaW5hdGluZyB3aXRoICVzIGZvcmVpZ24gZXhjZXB0aW9uAHRlcm1pbmF0aW5nAHVuY2F1Z2h0AFN0OWV4Y2VwdGlvbgBOMTBfX2N4eGFiaXYxMTZfX3NoaW1fdHlwZV9pbmZvRQBTdDl0eXBlX2luZm8ATjEwX19jeHhhYml2MTIwX19zaV9jbGFzc190eXBlX2luZm9FAE4xMF9fY3h4YWJpdjExN19fY2xhc3NfdHlwZV9pbmZvRQB0ZXJtaW5hdGVfaGFuZGxlciB1bmV4cGVjdGVkbHkgcmV0dXJuZWQAU3QxMWxvZ2ljX2Vycm9yAFN0MTJsZW5ndGhfZXJyb3IATjEwX19jeHhhYml2MTE3X19wYmFzZV90eXBlX2luZm9FAE4xMF9fY3h4YWJpdjExOV9fcG9pbnRlcl90eXBlX2luZm9FAFB1cmUgdmlydHVhbCBmdW5jdGlvbiBjYWxsZWQhAE4xMF9fY3h4YWJpdjEyM19fZnVuZGFtZW50YWxfdHlwZV9pbmZvRQB2AGIAYwBoAGEAcwB0AGkAagBtAGYAZABOMTBfX2N4eGFiaXYxMjFfX3ZtaV9jbGFzc190eXBlX2luZm9FAF9aAF9fX1oAX2Jsb2NrX2ludm9rZQBpbnZvY2F0aW9uIGZ1bmN0aW9uIGZvciBibG9jayBpbiAAbG9uZyBsb25nAF9faW50MTI4AHVuc2lnbmVkIF9faW50MTI4AGxvbmcgZG91YmxlAF9fZmxvYXQxMjgALi4uAGRlY2ltYWw2NABkZWNpbWFsMTI4AGRlY2ltYWwzMgBkZWNpbWFsMTYAY2hhcjMyX3QAY2hhcjE2X3QAYXV0bwBkZWNsdHlwZShhdXRvKQBzdGQ6Om51bGxwdHJfdABbYWJpOgBdAE4xMl9HTE9CQUxfX05fMTE2aXRhbml1bV9kZW1hbmdsZTEwQWJpVGFnQXR0ckUATjEyX0dMT0JBTF9fTl8xMTZpdGFuaXVtX2RlbWFuZ2xlNE5vZGVFAGFsbG9jYXRvcgBiYXNpY19zdHJpbmcAc3RyaW5nAGlzdHJlYW0Ab3N0cmVhbQBpb3N0cmVhbQBzdGQ6OmFsbG9jYXRvcgBzdGQ6OmJhc2ljX3N0cmluZwBzdGQ6OmlzdHJlYW0Ac3RkOjpvc3RyZWFtAHN0ZDo6aW9zdHJlYW0ATjEyX0dMT0JBTF9fTl8xMTZpdGFuaXVtX2RlbWFuZ2xlMTlTcGVjaWFsU3Vic3RpdHV0aW9uRQAgaW1hZ2luYXJ5AE4xMl9HTE9CQUxfX05fMTE2aXRhbml1bV9kZW1hbmdsZTIwUG9zdGZpeFF1YWxpZmllZFR5cGVFACBjb21wbGV4ACkAIAAoACYAJiYATjEyX0dMT0JBTF9fTl8xMTZpdGFuaXVtX2RlbWFuZ2xlMTNSZWZlcmVuY2VUeXBlRQBvYmpjX29iamVjdAAqAGlkPAA+AE4xMl9HTE9CQUxfX05fMTE2aXRhbml1bV9kZW1hbmdsZTExUG9pbnRlclR5cGVFAE4xMl9HTE9CQUxfX05fMTE2aXRhbml1bV9kZW1hbmdsZTIwTmFtZVdpdGhUZW1wbGF0ZUFyZ3NFADwALCAATjEyX0dMT0JBTF9fTl8xMTZpdGFuaXVtX2RlbWFuZ2xlMTJUZW1wbGF0ZUFyZ3NFAE4xMl9HTE9CQUxfX05fMTE2aXRhbml1bV9kZW1hbmdsZTEzUGFyYW1ldGVyUGFja0UAd2NoYXJfdABiMEUAYjFFAHUAdWwAdWxsAE4xMl9HTE9CQUxfX05fMTE2aXRhbml1bV9kZW1hbmdsZTE1SW50ZWdlckNhc3RFeHByRQAlTGFMAE4xMl9HTE9CQUxfX05fMTE2aXRhbml1bV9kZW1hbmdsZTE2RmxvYXRMaXRlcmFsSW1wbEllRUUAJWEATjEyX0dMT0JBTF9fTl8xMTZpdGFuaXVtX2RlbWFuZ2xlMTZGbG9hdExpdGVyYWxJbXBsSWRFRQAlYWYATjEyX0dMT0JBTF9fTl8xMTZpdGFuaXVtX2RlbWFuZ2xlMTZGbG9hdExpdGVyYWxJbXBsSWZFRQBOMTJfR0xPQkFMX19OXzExNml0YW5pdW1fZGVtYW5nbGU4Qm9vbEV4cHJFAC0ATjEyX0dMT0JBTF9fTl8xMTZpdGFuaXVtX2RlbWFuZ2xlMTRJbnRlZ2VyTGl0ZXJhbEUATjEyX0dMT0JBTF9fTl8xMTZpdGFuaXVtX2RlbWFuZ2xlMjBUZW1wbGF0ZUFyZ3VtZW50UGFja0UAZ3MAJj0APQBhbGlnbm9mICgALAB+AC4qAC8ALz0AXgBePQA9PQA+PQA8PQA8PAA8PD0ALT0AKj0ALS0AIT0AIQB8fAB8AHw9AC0+KgArACs9ACsrAC0+ACUAJT0APj4APj49AHNpemVvZiAoAHR5cGVpZCAoAHRocm93AHRocm93IABOMTJfR0xPQkFMX19OXzExNml0YW5pdW1fZGVtYW5nbGU5VGhyb3dFeHByRQBOMTJfR0xPQkFMX19OXzExNml0YW5pdW1fZGVtYW5nbGUxMkluaXRMaXN0RXhwckUATjEyX0dMT0JBTF9fTl8xMTZpdGFuaXVtX2RlbWFuZ2xlMTNOb2RlQXJyYXlOb2RlRQBzaXplb2YuLi4gKABOMTJfR0xPQkFMX19OXzExNml0YW5pdW1fZGVtYW5nbGUxM0VuY2xvc2luZ0V4cHJFAHNpemVvZi4uLigATjEyX0dMT0JBTF9fTl8xMTZpdGFuaXVtX2RlbWFuZ2xlMjJQYXJhbWV0ZXJQYWNrRXhwYW5zaW9uRQBOMTJfR0xPQkFMX19OXzExNml0YW5pdW1fZGVtYW5nbGUxOVNpemVvZlBhcmFtUGFja0V4cHJFAHN0YXRpY19jYXN0AD4oAE4xMl9HTE9CQUxfX05fMTE2aXRhbml1bV9kZW1hbmdsZThDYXN0RXhwckUAcmVpbnRlcnByZXRfY2FzdAApID8gKAApIDogKABOMTJfR0xPQkFMX19OXzExNml0YW5pdW1fZGVtYW5nbGUxNUNvbmRpdGlvbmFsRXhwckUAbm9leGNlcHQgKABudwBuYQBwaQA6Om9wZXJhdG9yIABuZXcAW10ATjEyX0dMT0JBTF9fTl8xMTZpdGFuaXVtX2RlbWFuZ2xlN05ld0V4cHJFAE4xMl9HTE9CQUxfX05fMTE2aXRhbml1bV9kZW1hbmdsZTExUG9zdGZpeEV4cHJFACAuLi4gACA9IABOMTJfR0xPQkFMX19OXzExNml0YW5pdW1fZGVtYW5nbGUxNUJyYWNlZFJhbmdlRXhwckUATjEyX0dMT0JBTF9fTl8xMTZpdGFuaXVtX2RlbWFuZ2xlMTBCcmFjZWRFeHByRQBfR0xPQkFMX19OAChhbm9ueW1vdXMgbmFtZXNwYWNlKQBOMTJfR0xPQkFMX19OXzExNml0YW5pdW1fZGVtYW5nbGU4TmFtZVR5cGVFAClbAE4xMl9HTE9CQUxfX05fMTE2aXRhbml1bV9kZW1hbmdsZTE4QXJyYXlTdWJzY3JpcHRFeHByRQAuAE4xMl9HTE9CQUxfX05fMTE2aXRhbml1bV9kZW1hbmdsZTEwTWVtYmVyRXhwckUAc3JOAHNyADo6AE4xMl9HTE9CQUxfX05fMTE2aXRhbml1bV9kZW1hbmdsZTE5R2xvYmFsUXVhbGlmaWVkTmFtZUUAZG4Ab24Ab3BlcmF0b3ImJgBvcGVyYXRvciYAb3BlcmF0b3ImPQBvcGVyYXRvcj0Ab3BlcmF0b3IoKQBvcGVyYXRvciwAb3BlcmF0b3J+AG9wZXJhdG9yIGRlbGV0ZVtdAG9wZXJhdG9yKgBvcGVyYXRvci8Ab3BlcmF0b3IvPQBvcGVyYXRvcl4Ab3BlcmF0b3JePQBvcGVyYXRvcj09AG9wZXJhdG9yPj0Ab3BlcmF0b3I+AG9wZXJhdG9yW10Ab3BlcmF0b3I8PQBvcGVyYXRvcjw8AG9wZXJhdG9yPDw9AG9wZXJhdG9yPABvcGVyYXRvci0Ab3BlcmF0b3ItPQBvcGVyYXRvcio9AG9wZXJhdG9yLS0Ab3BlcmF0b3IgbmV3W10Ab3BlcmF0b3IhPQBvcGVyYXRvciEAb3BlcmF0b3IgbmV3AG9wZXJhdG9yfHwAb3BlcmF0b3J8AG9wZXJhdG9yfD0Ab3BlcmF0b3ItPioAb3BlcmF0b3IrAG9wZXJhdG9yKz0Ab3BlcmF0b3IrKwBvcGVyYXRvci0+AG9wZXJhdG9yPwBvcGVyYXRvciUAb3BlcmF0b3IlPQBvcGVyYXRvcj4+AG9wZXJhdG9yPj49AG9wZXJhdG9yPD0+AG9wZXJhdG9yIiIgAE4xMl9HTE9CQUxfX05fMTE2aXRhbml1bV9kZW1hbmdsZTE1TGl0ZXJhbE9wZXJhdG9yRQBvcGVyYXRvciBkZWxldGUAb3BlcmF0b3IgAE4xMl9HTE9CQUxfX05fMTE2aXRhbml1bV9kZW1hbmdsZTIyQ29udmVyc2lvbk9wZXJhdG9yVHlwZUUATjEyX0dMT0JBTF9fTl8xMTZpdGFuaXVtX2RlbWFuZ2xlOER0b3JOYW1lRQBOMTJfR0xPQkFMX19OXzExNml0YW5pdW1fZGVtYW5nbGUxM1F1YWxpZmllZE5hbWVFAGR5bmFtaWNfY2FzdABkZWxldGUAW10gAE4xMl9HTE9CQUxfX05fMTE2aXRhbml1bV9kZW1hbmdsZTEwRGVsZXRlRXhwckUAY3YAKSgATjEyX0dMT0JBTF9fTl8xMTZpdGFuaXVtX2RlbWFuZ2xlMTRDb252ZXJzaW9uRXhwckUATjEyX0dMT0JBTF9fTl8xMTZpdGFuaXVtX2RlbWFuZ2xlOENhbGxFeHByRQBjb25zdF9jYXN0AE4xMl9HTE9CQUxfX05fMTE2aXRhbml1bV9kZW1hbmdsZTEwUHJlZml4RXhwckUAKSAAICgATjEyX0dMT0JBTF9fTl8xMTZpdGFuaXVtX2RlbWFuZ2xlMTBCaW5hcnlFeHByRQBhYQBhbgBhTgBhUwBjbQBkcwBkdgBkVgBlbwBlTwBlcQBnZQBndABsZQBscwBsUwBsdABtaQBtSQBtbABtTABuZQBvbwBvcgBvUgBwbABwTABybQByTQBycwByUwAuLi4gACAuLi4ATjEyX0dMT0JBTF9fTl8xMTZpdGFuaXVtX2RlbWFuZ2xlOEZvbGRFeHByRQBmcABmTABOMTJfR0xPQkFMX19OXzExNml0YW5pdW1fZGVtYW5nbGUxM0Z1bmN0aW9uUGFyYW1FAE4xMl9HTE9CQUxfX05fMTE2aXRhbml1bV9kZW1hbmdsZTI0Rm9yd2FyZFRlbXBsYXRlUmVmZXJlbmNlRQBUcwBzdHJ1Y3QAVHUAdW5pb24AVGUAZW51bQBOMTJfR0xPQkFMX19OXzExNml0YW5pdW1fZGVtYW5nbGUyMkVsYWJvcmF0ZWRUeXBlU3BlZlR5cGVFAFN0TABTdABzdGQ6OgBOMTJfR0xPQkFMX19OXzExNml0YW5pdW1fZGVtYW5nbGUxNlN0ZFF1YWxpZmllZE5hbWVFAERDAE4xMl9HTE9CQUxfX05fMTE2aXRhbml1bV9kZW1hbmdsZTIxU3RydWN0dXJlZEJpbmRpbmdOYW1lRQBVdABVbAB2RQAnbGFtYmRhACcoAE4xMl9HTE9CQUxfX05fMTE2aXRhbml1bV9kZW1hbmdsZTE1Q2xvc3VyZVR5cGVOYW1lRQAndW5uYW1lZAAnAE4xMl9HTE9CQUxfX05fMTE2aXRhbml1bV9kZW1hbmdsZTE1VW5uYW1lZFR5cGVOYW1lRQBzdHJpbmcgbGl0ZXJhbABOMTJfR0xPQkFMX19OXzExNml0YW5pdW1fZGVtYW5nbGU5TG9jYWxOYW1lRQBzdGQATjEyX0dMT0JBTF9fTl8xMTZpdGFuaXVtX2RlbWFuZ2xlMTJDdG9yRHRvck5hbWVFAGJhc2ljX2lzdHJlYW0AYmFzaWNfb3N0cmVhbQBiYXNpY19pb3N0cmVhbQBzdGQ6OmJhc2ljX3N0cmluZzxjaGFyLCBzdGQ6OmNoYXJfdHJhaXRzPGNoYXI+LCBzdGQ6OmFsbG9jYXRvcjxjaGFyPiA+AHN0ZDo6YmFzaWNfaXN0cmVhbTxjaGFyLCBzdGQ6OmNoYXJfdHJhaXRzPGNoYXI+ID4Ac3RkOjpiYXNpY19vc3RyZWFtPGNoYXIsIHN0ZDo6Y2hhcl90cmFpdHM8Y2hhcj4gPgBzdGQ6OmJhc2ljX2lvc3RyZWFtPGNoYXIsIHN0ZDo6Y2hhcl90cmFpdHM8Y2hhcj4gPgBOMTJfR0xPQkFMX19OXzExNml0YW5pdW1fZGVtYW5nbGUyN0V4cGFuZGVkU3BlY2lhbFN1YnN0aXR1dGlvbkUATjEyX0dMT0JBTF9fTl8xMTZpdGFuaXVtX2RlbWFuZ2xlMTBOZXN0ZWROYW1lRQA6OioATjEyX0dMT0JBTF9fTl8xMTZpdGFuaXVtX2RlbWFuZ2xlMTlQb2ludGVyVG9NZW1iZXJUeXBlRQBbAE4xMl9HTE9CQUxfX05fMTE2aXRhbml1bV9kZW1hbmdsZTlBcnJheVR5cGVFAER2ACB2ZWN0b3JbAE4xMl9HTE9CQUxfX05fMTE2aXRhbml1bV9kZW1hbmdsZTEwVmVjdG9yVHlwZUUAcGl4ZWwgdmVjdG9yWwBOMTJfR0xPQkFMX19OXzExNml0YW5pdW1fZGVtYW5nbGUxNVBpeGVsVmVjdG9yVHlwZUUAZGVjbHR5cGUoAHVuc2lnbmVkIGxvbmcgbG9uZwBvYmpjcHJvdG8AIGNvbnN0ACB2b2xhdGlsZQAgcmVzdHJpY3QATjEyX0dMT0JBTF9fTl8xMTZpdGFuaXVtX2RlbWFuZ2xlOFF1YWxUeXBlRQBOMTJfR0xPQkFMX19OXzExNml0YW5pdW1fZGVtYW5nbGUxN1ZlbmRvckV4dFF1YWxUeXBlRQBOMTJfR0xPQkFMX19OXzExNml0YW5pdW1fZGVtYW5nbGUxM09iakNQcm90b05hbWVFAERvAG5vZXhjZXB0AERPAER3AER4AFJFAE9FACAmACAmJgBOMTJfR0xPQkFMX19OXzExNml0YW5pdW1fZGVtYW5nbGUxMkZ1bmN0aW9uVHlwZUUAdGhyb3coAE4xMl9HTE9CQUxfX05fMTE2aXRhbml1bV9kZW1hbmdsZTIwRHluYW1pY0V4Y2VwdGlvblNwZWNFAG5vZXhjZXB0KABOMTJfR0xPQkFMX19OXzExNml0YW5pdW1fZGVtYW5nbGUxMk5vZXhjZXB0U3BlY0UATjEyX0dMT0JBTF9fTl8xMTZpdGFuaXVtX2RlbWFuZ2xlMTFTcGVjaWFsTmFtZUUATjEyX0dMT0JBTF9fTl8xMTZpdGFuaXVtX2RlbWFuZ2xlOURvdFN1ZmZpeEUAVWE5ZW5hYmxlX2lmSQBOMTJfR0xPQkFMX19OXzExNml0YW5pdW1fZGVtYW5nbGUxNkZ1bmN0aW9uRW5jb2RpbmdFACBbZW5hYmxlX2lmOgBOMTJfR0xPQkFMX19OXzExNml0YW5pdW1fZGVtYW5nbGUxMkVuYWJsZUlmQXR0ckUAdGhyZWFkLWxvY2FsIHdyYXBwZXIgcm91dGluZSBmb3IgAHJlZmVyZW5jZSB0ZW1wb3JhcnkgZm9yIABndWFyZCB2YXJpYWJsZSBmb3IgAG5vbi12aXJ0dWFsIHRodW5rIHRvIAB2aXJ0dWFsIHRodW5rIHRvIAB0aHJlYWQtbG9jYWwgaW5pdGlhbGl6YXRpb24gcm91dGluZSBmb3IgAGNvbnN0cnVjdGlvbiB2dGFibGUgZm9yIAAtaW4tAE4xMl9HTE9CQUxfX05fMTE2aXRhbml1bV9kZW1hbmdsZTIxQ3RvclZ0YWJsZVNwZWNpYWxOYW1lRQBjb3ZhcmlhbnQgcmV0dXJuIHRodW5rIHRvIAB0eXBlaW5mbyBuYW1lIGZvciAAdHlwZWluZm8gZm9yIABWVFQgZm9yIAB2dGFibGUgZm9yIAB2b2lkAGJvb2wAY2hhcgBzaWduZWQgY2hhcgB1bnNpZ25lZCBjaGFyAHNob3J0AHVuc2lnbmVkIHNob3J0AGludAB1bnNpZ25lZCBpbnQAbG9uZwB1bnNpZ25lZCBsb25nAGZsb2F0AGRvdWJsZQBzdGQ6OnN0cmluZwBzdGQ6OmJhc2ljX3N0cmluZzx1bnNpZ25lZCBjaGFyPgBzdGQ6OndzdHJpbmcAZW1zY3JpcHRlbjo6dmFsAGVtc2NyaXB0ZW46Om1lbW9yeV92aWV3PGNoYXI+AGVtc2NyaXB0ZW46Om1lbW9yeV92aWV3PHNpZ25lZCBjaGFyPgBlbXNjcmlwdGVuOjptZW1vcnlfdmlldzx1bnNpZ25lZCBjaGFyPgBlbXNjcmlwdGVuOjptZW1vcnlfdmlldzxzaG9ydD4AZW1zY3JpcHRlbjo6bWVtb3J5X3ZpZXc8dW5zaWduZWQgc2hvcnQ+AGVtc2NyaXB0ZW46Om1lbW9yeV92aWV3PGludD4AZW1zY3JpcHRlbjo6bWVtb3J5X3ZpZXc8dW5zaWduZWQgaW50PgBlbXNjcmlwdGVuOjptZW1vcnlfdmlldzxsb25nPgBlbXNjcmlwdGVuOjptZW1vcnlfdmlldzx1bnNpZ25lZCBsb25nPgBlbXNjcmlwdGVuOjptZW1vcnlfdmlldzxpbnQ4X3Q+AGVtc2NyaXB0ZW46Om1lbW9yeV92aWV3PHVpbnQ4X3Q+AGVtc2NyaXB0ZW46Om1lbW9yeV92aWV3PGludDE2X3Q+AGVtc2NyaXB0ZW46Om1lbW9yeV92aWV3PHVpbnQxNl90PgBlbXNjcmlwdGVuOjptZW1vcnlfdmlldzxpbnQzMl90PgBlbXNjcmlwdGVuOjptZW1vcnlfdmlldzx1aW50MzJfdD4AZW1zY3JpcHRlbjo6bWVtb3J5X3ZpZXc8ZmxvYXQ+AGVtc2NyaXB0ZW46Om1lbW9yeV92aWV3PGRvdWJsZT4AZW1zY3JpcHRlbjo6bWVtb3J5X3ZpZXc8bG9uZyBkb3VibGU+AE4xMGVtc2NyaXB0ZW4xMW1lbW9yeV92aWV3SWVFRQBOMTBlbXNjcmlwdGVuMTFtZW1vcnlfdmlld0lkRUUATjEwZW1zY3JpcHRlbjExbWVtb3J5X3ZpZXdJZkVFAE4xMGVtc2NyaXB0ZW4xMW1lbW9yeV92aWV3SW1FRQBOMTBlbXNjcmlwdGVuMTFtZW1vcnlfdmlld0lsRUUATjEwZW1zY3JpcHRlbjExbWVtb3J5X3ZpZXdJakVFAE4xMGVtc2NyaXB0ZW4xMW1lbW9yeV92aWV3SWlFRQBOMTBlbXNjcmlwdGVuMTFtZW1vcnlfdmlld0l0RUUATjEwZW1zY3JpcHRlbjExbWVtb3J5X3ZpZXdJc0VFAE4xMGVtc2NyaXB0ZW4xMW1lbW9yeV92aWV3SWhFRQBOMTBlbXNjcmlwdGVuMTFtZW1vcnlfdmlld0lhRUUATjEwZW1zY3JpcHRlbjExbWVtb3J5X3ZpZXdJY0VFAE4xMGVtc2NyaXB0ZW4zdmFsRQBOU3QzX18yMTJiYXNpY19zdHJpbmdJd05TXzExY2hhcl90cmFpdHNJd0VFTlNfOWFsbG9jYXRvckl3RUVFRQBOU3QzX18yMTJiYXNpY19zdHJpbmdJaE5TXzExY2hhcl90cmFpdHNJaEVFTlNfOWFsbG9jYXRvckloRUVFRQBOU3QzX18yOGlvc19iYXNlRQBOU3QzX18yOWJhc2ljX2lvc0ljTlNfMTFjaGFyX3RyYWl0c0ljRUVFRQBOU3QzX18yOWJhc2ljX2lvc0l3TlNfMTFjaGFyX3RyYWl0c0l3RUVFRQBOU3QzX18yMTViYXNpY19zdHJlYW1idWZJY05TXzExY2hhcl90cmFpdHNJY0VFRUUATlN0M19fMjE1YmFzaWNfc3RyZWFtYnVmSXdOU18xMWNoYXJfdHJhaXRzSXdFRUVFAE5TdDNfXzIxM2Jhc2ljX2lzdHJlYW1JY05TXzExY2hhcl90cmFpdHNJY0VFRUUATlN0M19fMjEzYmFzaWNfaXN0cmVhbUl3TlNfMTFjaGFyX3RyYWl0c0l3RUVFRQBOU3QzX18yMTNiYXNpY19vc3RyZWFtSWNOU18xMWNoYXJfdHJhaXRzSWNFRUVFAE5TdDNfXzIxM2Jhc2ljX29zdHJlYW1Jd05TXzExY2hhcl90cmFpdHNJd0VFRUUATlN0M19fMjExX19zdGRvdXRidWZJd0VFAE5TdDNfXzIxMV9fc3Rkb3V0YnVmSWNFRQB1bnN1cHBvcnRlZCBsb2NhbGUgZm9yIHN0YW5kYXJkIGlucHV0AE5TdDNfXzIxMF9fc3RkaW5idWZJd0VFAE5TdDNfXzIxMF9fc3RkaW5idWZJY0VFAE5TdDNfXzI3Y29sbGF0ZUljRUUATlN0M19fMjZsb2NhbGU1ZmFjZXRFAE5TdDNfXzI3Y29sbGF0ZUl3RUUAJXAAQwBOU3QzX18yN251bV9nZXRJY05TXzE5aXN0cmVhbWJ1Zl9pdGVyYXRvckljTlNfMTFjaGFyX3RyYWl0c0ljRUVFRUVFAE5TdDNfXzI5X19udW1fZ2V0SWNFRQBOU3QzX18yMTRfX251bV9nZXRfYmFzZUUATlN0M19fMjdudW1fZ2V0SXdOU18xOWlzdHJlYW1idWZfaXRlcmF0b3JJd05TXzExY2hhcl90cmFpdHNJd0VFRUVFRQBOU3QzX18yOV9fbnVtX2dldEl3RUUAJXAAAAAATABsbAAlAAAAAABsAE5TdDNfXzI3bnVtX3B1dEljTlNfMTlvc3RyZWFtYnVmX2l0ZXJhdG9ySWNOU18xMWNoYXJfdHJhaXRzSWNFRUVFRUUATlN0M19fMjlfX251bV9wdXRJY0VFAE5TdDNfXzIxNF9fbnVtX3B1dF9iYXNlRQBOU3QzX18yN251bV9wdXRJd05TXzE5b3N0cmVhbWJ1Zl9pdGVyYXRvckl3TlNfMTFjaGFyX3RyYWl0c0l3RUVFRUVFAE5TdDNfXzI5X19udW1fcHV0SXdFRQAlSDolTTolUwAlbS8lZC8leQAlSTolTTolUyAlcAAlYSAlYiAlZCAlSDolTTolUyAlWQBBTQBQTQBKYW51YXJ5AEZlYnJ1YXJ5AE1hcmNoAEFwcmlsAE1heQBKdW5lAEp1bHkAQXVndXN0AFNlcHRlbWJlcgBPY3RvYmVyAE5vdmVtYmVyAERlY2VtYmVyAEphbgBGZWIATWFyAEFwcgBKdW4ASnVsAEF1ZwBTZXAAT2N0AE5vdgBEZWMAU3VuZGF5AE1vbmRheQBUdWVzZGF5AFdlZG5lc2RheQBUaHVyc2RheQBGcmlkYXkAU2F0dXJkYXkAU3VuAE1vbgBUdWUAV2VkAFRodQBGcmkAU2F0ACVtLyVkLyV5JVktJW0tJWQlSTolTTolUyAlcCVIOiVNJUg6JU06JVMlSDolTTolU05TdDNfXzI4dGltZV9nZXRJY05TXzE5aXN0cmVhbWJ1Zl9pdGVyYXRvckljTlNfMTFjaGFyX3RyYWl0c0ljRUVFRUVFAE5TdDNfXzIyMF9fdGltZV9nZXRfY19zdG9yYWdlSWNFRQBOU3QzX18yOXRpbWVfYmFzZUUATlN0M19fMjh0aW1lX2dldEl3TlNfMTlpc3RyZWFtYnVmX2l0ZXJhdG9ySXdOU18xMWNoYXJfdHJhaXRzSXdFRUVFRUUATlN0M19fMjIwX190aW1lX2dldF9jX3N0b3JhZ2VJd0VFAE5TdDNfXzI4dGltZV9wdXRJY05TXzE5b3N0cmVhbWJ1Zl9pdGVyYXRvckljTlNfMTFjaGFyX3RyYWl0c0ljRUVFRUVFAE5TdDNfXzIxMF9fdGltZV9wdXRFAE5TdDNfXzI4dGltZV9wdXRJd05TXzE5b3N0cmVhbWJ1Zl9pdGVyYXRvckl3TlNfMTFjaGFyX3RyYWl0c0l3RUVFRUVFAE5TdDNfXzIxMG1vbmV5cHVuY3RJY0xiMEVFRQBOU3QzX18yMTBtb25leV9iYXNlRQBOU3QzX18yMTBtb25leXB1bmN0SWNMYjFFRUUATlN0M19fMjEwbW9uZXlwdW5jdEl3TGIwRUVFAE5TdDNfXzIxMG1vbmV5cHVuY3RJd0xiMUVFRQAwMTIzNDU2Nzg5ACVMZgBOU3QzX18yOW1vbmV5X2dldEljTlNfMTlpc3RyZWFtYnVmX2l0ZXJhdG9ySWNOU18xMWNoYXJfdHJhaXRzSWNFRUVFRUUATlN0M19fMjExX19tb25leV9nZXRJY0VFADAxMjM0NTY3ODkATlN0M19fMjltb25leV9nZXRJd05TXzE5aXN0cmVhbWJ1Zl9pdGVyYXRvckl3TlNfMTFjaGFyX3RyYWl0c0l3RUVFRUVFAE5TdDNfXzIxMV9fbW9uZXlfZ2V0SXdFRQAlLjBMZgBOU3QzX18yOW1vbmV5X3B1dEljTlNfMTlvc3RyZWFtYnVmX2l0ZXJhdG9ySWNOU18xMWNoYXJfdHJhaXRzSWNFRUVFRUUATlN0M19fMjExX19tb25leV9wdXRJY0VFAE5TdDNfXzI5bW9uZXlfcHV0SXdOU18xOW9zdHJlYW1idWZfaXRlcmF0b3JJd05TXzExY2hhcl90cmFpdHNJd0VFRUVFRQBOU3QzX18yMTFfX21vbmV5X3B1dEl3RUUATlN0M19fMjhtZXNzYWdlc0ljRUUATlN0M19fMjEzbWVzc2FnZXNfYmFzZUUATlN0M19fMjE3X193aWRlbl9mcm9tX3V0ZjhJTG0zMkVFRQBOU3QzX18yN2NvZGVjdnRJRGljMTFfX21ic3RhdGVfdEVFAE5TdDNfXzIxMmNvZGVjdnRfYmFzZUUATlN0M19fMjE2X19uYXJyb3dfdG9fdXRmOElMbTMyRUVFAE5TdDNfXzI4bWVzc2FnZXNJd0VFAE5TdDNfXzI3Y29kZWN2dEljYzExX19tYnN0YXRlX3RFRQBOU3QzX18yN2NvZGVjdnRJd2MxMV9fbWJzdGF0ZV90RUUATlN0M19fMjdjb2RlY3Z0SURzYzExX19tYnN0YXRlX3RFRQBOU3QzX18yNmxvY2FsZTVfX2ltcEUATlN0M19fMjVjdHlwZUljRUUATlN0M19fMjEwY3R5cGVfYmFzZUUATlN0M19fMjVjdHlwZUl3RUUAZmFsc2UAdHJ1ZQBOU3QzX18yOG51bXB1bmN0SWNFRQBOU3QzX18yOG51bXB1bmN0SXdFRQBOU3QzX18yMTRfX3NoYXJlZF9jb3VudEUATlN0M19fMjE5X19zaGFyZWRfd2Vha19jb3VudEU="; /* no memory initializer */ -var tempDoublePtr = 67648 +var tempDoublePtr = 68496 assert(tempDoublePtr % 8 == 0); function copyTempFloat(ptr) { // functions, because inlining this code increases code size too much @@ -1805,10 +1805,10 @@ function copyTempDouble(ptr) { - var PATH={splitPath:function (filename) { + var PATH={splitPath:function(filename) { var splitPathRe = /^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/; return splitPathRe.exec(filename).slice(1); - },normalizeArray:function (parts, allowAboveRoot) { + },normalizeArray:function(parts, allowAboveRoot) { // if the path tries to go above the root, `up` ends up > 0 var up = 0; for (var i = parts.length - 1; i >= 0; i--) { @@ -1830,7 +1830,7 @@ function copyTempDouble(ptr) { } } return parts; - },normalize:function (path) { + },normalize:function(path) { var isAbsolute = path.charAt(0) === '/', trailingSlash = path.substr(-1) === '/'; // Normalize the path @@ -1844,7 +1844,7 @@ function copyTempDouble(ptr) { path += '/'; } return (isAbsolute ? '/' : '') + path; - },dirname:function (path) { + },dirname:function(path) { var result = PATH.splitPath(path), root = result[0], dir = result[1]; @@ -1857,23 +1857,23 @@ function copyTempDouble(ptr) { dir = dir.substr(0, dir.length - 1); } return root + dir; - },basename:function (path) { + },basename:function(path) { // EMSCRIPTEN return '/'' for '/', not an empty string if (path === '/') return '/'; var lastSlash = path.lastIndexOf('/'); if (lastSlash === -1) return path; return path.substr(lastSlash+1); - },extname:function (path) { + },extname:function(path) { return PATH.splitPath(path)[3]; - },join:function () { + },join:function() { var paths = Array.prototype.slice.call(arguments, 0); return PATH.normalize(paths.join('/')); - },join2:function (l, r) { + },join2:function(l, r) { return PATH.normalize(l + '/' + r); }}; - var PATH_FS={resolve:function () { + var PATH_FS={resolve:function() { var resolvedPath = '', resolvedAbsolute = false; for (var i = arguments.length - 1; i >= -1 && !resolvedAbsolute; i--) { @@ -1893,7 +1893,7 @@ function copyTempDouble(ptr) { return !!p; }), !resolvedAbsolute).join('/'); return ((resolvedAbsolute ? '/' : '') + resolvedPath) || '.'; - },relative:function (from, to) { + },relative:function(from, to) { from = PATH_FS.resolve(from).substr(1); to = PATH_FS.resolve(to).substr(1); function trim(arr) { @@ -1935,7 +1935,7 @@ function copyTempDouble(ptr) { // // with text files until FS.init can be refactored. // process['stdin']['setEncoding']('utf8'); // } - },shutdown:function () { + },shutdown:function() { // https://github.com/emscripten-core/emscripten/pull/1555 // if (ENVIRONMENT_IS_NODE) { // // inolen: any idea as to why node -e 'process.stdin.read()' wouldn't exit immediately (with process.stdin being a tty)? @@ -1945,22 +1945,22 @@ function copyTempDouble(ptr) { // // isaacs: do process.stdin.pause() and i'd think it'd probably close the pending call // process['stdin']['pause'](); // } - },register:function (dev, ops) { + },register:function(dev, ops) { TTY.ttys[dev] = { input: [], output: [], ops: ops }; FS.registerDevice(dev, TTY.stream_ops); - },stream_ops:{open:function (stream) { + },stream_ops:{open:function(stream) { var tty = TTY.ttys[stream.node.rdev]; if (!tty) { throw new FS.ErrnoError(43); } stream.tty = tty; stream.seekable = false; - },close:function (stream) { + },close:function(stream) { // flush any pending line data stream.tty.ops.flush(stream.tty); - },flush:function (stream) { + },flush:function(stream) { stream.tty.ops.flush(stream.tty); - },read:function (stream, buffer, offset, length, pos /* ignored */) { + },read:function(stream, buffer, offset, length, pos /* ignored */) { if (!stream.tty || !stream.tty.ops.get_char) { throw new FS.ErrnoError(60); } @@ -1983,7 +1983,7 @@ function copyTempDouble(ptr) { stream.node.timestamp = Date.now(); } return bytesRead; - },write:function (stream, buffer, offset, length, pos) { + },write:function(stream, buffer, offset, length, pos) { if (!stream.tty || !stream.tty.ops.put_char) { throw new FS.ErrnoError(60); } @@ -1998,7 +1998,7 @@ function copyTempDouble(ptr) { stream.node.timestamp = Date.now(); } return i; - }},default_tty_ops:{get_char:function (tty) { + }},default_tty_ops:{get_char:function(tty) { if (!tty.input.length) { var result = null; if (ENVIRONMENT_IS_NODE) { @@ -2042,35 +2042,35 @@ function copyTempDouble(ptr) { tty.input = intArrayFromString(result, true); } return tty.input.shift(); - },put_char:function (tty, val) { + },put_char:function(tty, val) { if (val === null || val === 10) { out(UTF8ArrayToString(tty.output, 0)); tty.output = []; } else { if (val != 0) tty.output.push(val); // val == 0 would cut text output off in the middle. } - },flush:function (tty) { + },flush:function(tty) { if (tty.output && tty.output.length > 0) { out(UTF8ArrayToString(tty.output, 0)); tty.output = []; } - }},default_tty1_ops:{put_char:function (tty, val) { + }},default_tty1_ops:{put_char:function(tty, val) { if (val === null || val === 10) { err(UTF8ArrayToString(tty.output, 0)); tty.output = []; } else { if (val != 0) tty.output.push(val); } - },flush:function (tty) { + },flush:function(tty) { if (tty.output && tty.output.length > 0) { err(UTF8ArrayToString(tty.output, 0)); tty.output = []; } }}}; - var MEMFS={ops_table:null,mount:function (mount) { + var MEMFS={ops_table:null,mount:function(mount) { return MEMFS.createNode(null, '/', 16384 | 511 /* 0777 */, 0); - },createNode:function (parent, name, mode, dev) { + },createNode:function(parent, name, mode, dev) { if (FS.isBlkdev(mode) || FS.isFIFO(mode)) { // no supported throw new FS.ErrnoError(63); @@ -2150,18 +2150,18 @@ function copyTempDouble(ptr) { parent.contents[name] = node; } return node; - },getFileDataAsRegularArray:function (node) { + },getFileDataAsRegularArray:function(node) { if (node.contents && node.contents.subarray) { var arr = []; for (var i = 0; i < node.usedBytes; ++i) arr.push(node.contents[i]); return arr; // Returns a copy of the original data. } return node.contents; // No-op, the file contents are already in a JS array. Return as-is. - },getFileDataAsTypedArray:function (node) { + },getFileDataAsTypedArray:function(node) { if (!node.contents) return new Uint8Array; if (node.contents.subarray) return node.contents.subarray(0, node.usedBytes); // Make sure to not return excess unused bytes. return new Uint8Array(node.contents); - },expandFileStorage:function (node, newCapacity) { + },expandFileStorage:function(node, newCapacity) { var prevCapacity = node.contents ? node.contents.length : 0; if (prevCapacity >= newCapacity) return; // No need to expand, the storage was already large enough. // Don't expand strictly to the given requested limit if it's only a very small increase, but instead geometrically grow capacity. @@ -2174,7 +2174,7 @@ function copyTempDouble(ptr) { node.contents = new Uint8Array(newCapacity); // Allocate new storage. if (node.usedBytes > 0) node.contents.set(oldContents.subarray(0, node.usedBytes), 0); // Copy old data over to the new storage. return; - },resizeFileStorage:function (node, newSize) { + },resizeFileStorage:function(node, newSize) { if (node.usedBytes == newSize) return; if (newSize == 0) { node.contents = null; // Fully decommit when requesting a resize to zero. @@ -2195,7 +2195,7 @@ function copyTempDouble(ptr) { if (node.contents.length > newSize) node.contents.length = newSize; else while (node.contents.length < newSize) node.contents.push(0); node.usedBytes = newSize; - },node_ops:{getattr:function (node) { + },node_ops:{getattr:function(node) { var attr = {}; // device numbers reuse inode numbers. attr.dev = FS.isChrdev(node.mode) ? node.id : 1; @@ -2222,7 +2222,7 @@ function copyTempDouble(ptr) { attr.blksize = 4096; attr.blocks = Math.ceil(attr.size / attr.blksize); return attr; - },setattr:function (node, attr) { + },setattr:function(node, attr) { if (attr.mode !== undefined) { node.mode = attr.mode; } @@ -2232,11 +2232,11 @@ function copyTempDouble(ptr) { if (attr.size !== undefined) { MEMFS.resizeFileStorage(node, attr.size); } - },lookup:function (parent, name) { + },lookup:function(parent, name) { throw FS.genericErrors[44]; - },mknod:function (parent, name, mode, dev) { + },mknod:function(parent, name, mode, dev) { return MEMFS.createNode(parent, name, mode, dev); - },rename:function (old_node, new_dir, new_name) { + },rename:function(old_node, new_dir, new_name) { // if we're overwriting a directory at new_name, make sure it's empty. if (FS.isDir(old_node.mode)) { var new_node; @@ -2255,15 +2255,15 @@ function copyTempDouble(ptr) { old_node.name = new_name; new_dir.contents[new_name] = old_node; old_node.parent = new_dir; - },unlink:function (parent, name) { + },unlink:function(parent, name) { delete parent.contents[name]; - },rmdir:function (parent, name) { + },rmdir:function(parent, name) { var node = FS.lookupNode(parent, name); for (var i in node.contents) { throw new FS.ErrnoError(55); } delete parent.contents[name]; - },readdir:function (node) { + },readdir:function(node) { var entries = ['.', '..']; for (var key in node.contents) { if (!node.contents.hasOwnProperty(key)) { @@ -2272,16 +2272,16 @@ function copyTempDouble(ptr) { entries.push(key); } return entries; - },symlink:function (parent, newname, oldpath) { + },symlink:function(parent, newname, oldpath) { var node = MEMFS.createNode(parent, newname, 511 /* 0777 */ | 40960, 0); node.link = oldpath; return node; - },readlink:function (node) { + },readlink:function(node) { if (!FS.isLink(node.mode)) { throw new FS.ErrnoError(28); } return node.link; - }},stream_ops:{read:function (stream, buffer, offset, length, position) { + }},stream_ops:{read:function(stream, buffer, offset, length, position) { var contents = stream.node.contents; if (position >= stream.node.usedBytes) return 0; var size = Math.min(stream.node.usedBytes - position, length); @@ -2292,7 +2292,7 @@ function copyTempDouble(ptr) { for (var i = 0; i < size; i++) buffer[offset + i] = contents[position + i]; } return size; - },write:function (stream, buffer, offset, length, position, canOwn) { + },write:function(stream, buffer, offset, length, position, canOwn) { // The data buffer should be a typed array view assert(!(buffer instanceof ArrayBuffer)); // If the buffer is located in main memory (HEAP), and if @@ -2340,7 +2340,7 @@ function copyTempDouble(ptr) { } node.usedBytes = Math.max(node.usedBytes, position+length); return length; - },llseek:function (stream, offset, whence) { + },llseek:function(stream, offset, whence) { var position = offset; if (whence === 1) { position += stream.position; @@ -2353,10 +2353,10 @@ function copyTempDouble(ptr) { throw new FS.ErrnoError(28); } return position; - },allocate:function (stream, offset, length) { + },allocate:function(stream, offset, length) { MEMFS.expandFileStorage(stream.node, offset + length); stream.node.usedBytes = Math.max(stream.node.usedBytes, offset + length); - },mmap:function (stream, buffer, offset, length, position, prot, flags) { + },mmap:function(stream, buffer, offset, length, position, prot, flags) { // The data buffer should be a typed array view assert(!(buffer instanceof ArrayBuffer)); if (!FS.isFile(stream.node.mode)) { @@ -2392,7 +2392,7 @@ function copyTempDouble(ptr) { (fromHeap ? HEAP8 : buffer).set(contents, ptr); } return { ptr: ptr, allocated: allocated }; - },msync:function (stream, buffer, offset, length, mmapFlags) { + },msync:function(stream, buffer, offset, length, mmapFlags) { if (!FS.isFile(stream.node.mode)) { throw new FS.ErrnoError(43); } @@ -2408,10 +2408,10 @@ function copyTempDouble(ptr) { var ERRNO_MESSAGES={0:"Success",1:"Arg list too long",2:"Permission denied",3:"Address already in use",4:"Address not available",5:"Address family not supported by protocol family",6:"No more processes",7:"Socket already connected",8:"Bad file number",9:"Trying to read unreadable message",10:"Mount device busy",11:"Operation canceled",12:"No children",13:"Connection aborted",14:"Connection refused",15:"Connection reset by peer",16:"File locking deadlock error",17:"Destination address required",18:"Math arg out of domain of func",19:"Quota exceeded",20:"File exists",21:"Bad address",22:"File too large",23:"Host is unreachable",24:"Identifier removed",25:"Illegal byte sequence",26:"Connection already in progress",27:"Interrupted system call",28:"Invalid argument",29:"I/O error",30:"Socket is already connected",31:"Is a directory",32:"Too many symbolic links",33:"Too many open files",34:"Too many links",35:"Message too long",36:"Multihop attempted",37:"File or path name too long",38:"Network interface is not configured",39:"Connection reset by network",40:"Network is unreachable",41:"Too many open files in system",42:"No buffer space available",43:"No such device",44:"No such file or directory",45:"Exec format error",46:"No record locks available",47:"The link has been severed",48:"Not enough core",49:"No message of desired type",50:"Protocol not available",51:"No space left on device",52:"Function not implemented",53:"Socket is not connected",54:"Not a directory",55:"Directory not empty",56:"State not recoverable",57:"Socket operation on non-socket",59:"Not a typewriter",60:"No such device or address",61:"Value too large for defined data type",62:"Previous owner died",63:"Not super-user",64:"Broken pipe",65:"Protocol error",66:"Unknown protocol",67:"Protocol wrong type for socket",68:"Math result not representable",69:"Read only file system",70:"Illegal seek",71:"No such process",72:"Stale file handle",73:"Connection timed out",74:"Text file busy",75:"Cross-device link",100:"Device not a stream",101:"Bad font file fmt",102:"Invalid slot",103:"Invalid request code",104:"No anode",105:"Block device required",106:"Channel number out of range",107:"Level 3 halted",108:"Level 3 reset",109:"Link number out of range",110:"Protocol driver not attached",111:"No CSI structure available",112:"Level 2 halted",113:"Invalid exchange",114:"Invalid request descriptor",115:"Exchange full",116:"No data (for no delay io)",117:"Timer expired",118:"Out of streams resources",119:"Machine is not on the network",120:"Package not installed",121:"The object is remote",122:"Advertise error",123:"Srmount error",124:"Communication error on send",125:"Cross mount point (not really error)",126:"Given log. name not unique",127:"f.d. invalid for this operation",128:"Remote address changed",129:"Can access a needed shared lib",130:"Accessing a corrupted shared lib",131:".lib section in a.out corrupted",132:"Attempting to link in too many libs",133:"Attempting to exec a shared library",135:"Streams pipe error",136:"Too many users",137:"Socket type not supported",138:"Not supported",139:"Protocol family not supported",140:"Can't send after socket shutdown",141:"Too many references",142:"Host is down",148:"No medium (in tape drive)",156:"Level 2 not synchronized"}; - var ERRNO_CODES={EPERM:63,ENOENT:44,ESRCH:71,EINTR:27,EIO:29,ENXIO:60,E2BIG:1,ENOEXEC:45,EBADF:8,ECHILD:12,EAGAIN:6,EWOULDBLOCK:6,ENOMEM:48,EACCES:2,EFAULT:21,ENOTBLK:105,EBUSY:10,EEXIST:20,EXDEV:75,ENODEV:43,ENOTDIR:54,EISDIR:31,EINVAL:28,ENFILE:41,EMFILE:33,ENOTTY:59,ETXTBSY:74,EFBIG:22,ENOSPC:51,ESPIPE:70,EROFS:69,EMLINK:34,EPIPE:64,EDOM:18,ERANGE:68,ENOMSG:49,EIDRM:24,ECHRNG:106,EL2NSYNC:156,EL3HLT:107,EL3RST:108,ELNRNG:109,EUNATCH:110,ENOCSI:111,EL2HLT:112,EDEADLK:16,ENOLCK:46,EBADE:113,EBADR:114,EXFULL:115,ENOANO:104,EBADRQC:103,EBADSLT:102,EDEADLOCK:16,EBFONT:101,ENOSTR:100,ENODATA:116,ETIME:117,ENOSR:118,ENONET:119,ENOPKG:120,EREMOTE:121,ENOLINK:47,EADV:122,ESRMNT:123,ECOMM:124,EPROTO:65,EMULTIHOP:36,EDOTDOT:125,EBADMSG:9,ENOTUNIQ:126,EBADFD:127,EREMCHG:128,ELIBACC:129,ELIBBAD:130,ELIBSCN:131,ELIBMAX:132,ELIBEXEC:133,ENOSYS:52,ENOTEMPTY:55,ENAMETOOLONG:37,ELOOP:32,EOPNOTSUPP:138,EPFNOSUPPORT:139,ECONNRESET:15,ENOBUFS:42,EAFNOSUPPORT:5,EPROTOTYPE:67,ENOTSOCK:57,ENOPROTOOPT:50,ESHUTDOWN:140,ECONNREFUSED:14,EADDRINUSE:3,ECONNABORTED:13,ENETUNREACH:40,ENETDOWN:38,ETIMEDOUT:73,EHOSTDOWN:142,EHOSTUNREACH:23,EINPROGRESS:26,EALREADY:7,EDESTADDRREQ:17,EMSGSIZE:35,EPROTONOSUPPORT:66,ESOCKTNOSUPPORT:137,EADDRNOTAVAIL:4,ENETRESET:39,EISCONN:30,ENOTCONN:53,ETOOMANYREFS:141,EUSERS:136,EDQUOT:19,ESTALE:72,ENOTSUP:138,ENOMEDIUM:148,EILSEQ:25,EOVERFLOW:61,ECANCELED:11,ENOTRECOVERABLE:56,EOWNERDEAD:62,ESTRPIPE:135};var FS={root:null,mounts:[],devices:{},streams:[],nextInode:1,nameTable:null,currentPath:"/",initialized:false,ignorePermissions:true,trackingDelegate:{},tracking:{openFlags:{READ:1,WRITE:2}},ErrnoError:null,genericErrors:{},filesystems:null,syncFSRequests:0,handleFSError:function (e) { + var ERRNO_CODES={EPERM:63,ENOENT:44,ESRCH:71,EINTR:27,EIO:29,ENXIO:60,E2BIG:1,ENOEXEC:45,EBADF:8,ECHILD:12,EAGAIN:6,EWOULDBLOCK:6,ENOMEM:48,EACCES:2,EFAULT:21,ENOTBLK:105,EBUSY:10,EEXIST:20,EXDEV:75,ENODEV:43,ENOTDIR:54,EISDIR:31,EINVAL:28,ENFILE:41,EMFILE:33,ENOTTY:59,ETXTBSY:74,EFBIG:22,ENOSPC:51,ESPIPE:70,EROFS:69,EMLINK:34,EPIPE:64,EDOM:18,ERANGE:68,ENOMSG:49,EIDRM:24,ECHRNG:106,EL2NSYNC:156,EL3HLT:107,EL3RST:108,ELNRNG:109,EUNATCH:110,ENOCSI:111,EL2HLT:112,EDEADLK:16,ENOLCK:46,EBADE:113,EBADR:114,EXFULL:115,ENOANO:104,EBADRQC:103,EBADSLT:102,EDEADLOCK:16,EBFONT:101,ENOSTR:100,ENODATA:116,ETIME:117,ENOSR:118,ENONET:119,ENOPKG:120,EREMOTE:121,ENOLINK:47,EADV:122,ESRMNT:123,ECOMM:124,EPROTO:65,EMULTIHOP:36,EDOTDOT:125,EBADMSG:9,ENOTUNIQ:126,EBADFD:127,EREMCHG:128,ELIBACC:129,ELIBBAD:130,ELIBSCN:131,ELIBMAX:132,ELIBEXEC:133,ENOSYS:52,ENOTEMPTY:55,ENAMETOOLONG:37,ELOOP:32,EOPNOTSUPP:138,EPFNOSUPPORT:139,ECONNRESET:15,ENOBUFS:42,EAFNOSUPPORT:5,EPROTOTYPE:67,ENOTSOCK:57,ENOPROTOOPT:50,ESHUTDOWN:140,ECONNREFUSED:14,EADDRINUSE:3,ECONNABORTED:13,ENETUNREACH:40,ENETDOWN:38,ETIMEDOUT:73,EHOSTDOWN:142,EHOSTUNREACH:23,EINPROGRESS:26,EALREADY:7,EDESTADDRREQ:17,EMSGSIZE:35,EPROTONOSUPPORT:66,ESOCKTNOSUPPORT:137,EADDRNOTAVAIL:4,ENETRESET:39,EISCONN:30,ENOTCONN:53,ETOOMANYREFS:141,EUSERS:136,EDQUOT:19,ESTALE:72,ENOTSUP:138,ENOMEDIUM:148,EILSEQ:25,EOVERFLOW:61,ECANCELED:11,ENOTRECOVERABLE:56,EOWNERDEAD:62,ESTRPIPE:135};var FS={root:null,mounts:[],devices:{},streams:[],nextInode:1,nameTable:null,currentPath:"/",initialized:false,ignorePermissions:true,trackingDelegate:{},tracking:{openFlags:{READ:1,WRITE:2}},ErrnoError:null,genericErrors:{},filesystems:null,syncFSRequests:0,handleFSError:function(e) { if (!(e instanceof FS.ErrnoError)) throw e + ' : ' + stackTrace(); return ___setErrNo(e.errno); - },lookupPath:function (path, opts) { + },lookupPath:function(path, opts) { path = PATH_FS.resolve(FS.cwd(), path); opts = opts || {}; @@ -2476,7 +2476,7 @@ function copyTempDouble(ptr) { } return { path: current_path, node: current }; - },getPath:function (node) { + },getPath:function(node) { var path; while (true) { if (FS.isRoot(node)) { @@ -2487,7 +2487,7 @@ function copyTempDouble(ptr) { path = path ? node.name + '/' + path : node.name; node = node.parent; } - },hashName:function (parentid, name) { + },hashName:function(parentid, name) { var hash = 0; @@ -2495,11 +2495,11 @@ function copyTempDouble(ptr) { hash = ((hash << 5) - hash + name.charCodeAt(i)) | 0; } return ((parentid + hash) >>> 0) % FS.nameTable.length; - },hashAddNode:function (node) { + },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) { + },hashRemoveNode:function(node) { var hash = FS.hashName(node.parent.id, node.name); if (FS.nameTable[hash] === node) { FS.nameTable[hash] = node.name_next; @@ -2513,7 +2513,7 @@ function copyTempDouble(ptr) { current = current.name_next; } } - },lookupNode:function (parent, name) { + },lookupNode:function(parent, name) { var err = FS.mayLookup(parent); if (err) { throw new FS.ErrnoError(err, parent); @@ -2527,7 +2527,7 @@ function copyTempDouble(ptr) { } // if we failed to find it in the cache, call into the VFS return FS.lookup(parent, name); - },createNode:function (parent, name, mode, rdev) { + },createNode:function(parent, name, mode, rdev) { if (!FS.FSNode) { FS.FSNode = function(parent, name, mode, rdev) { if (!parent) { @@ -2575,39 +2575,39 @@ function copyTempDouble(ptr) { FS.hashAddNode(node); return node; - },destroyNode:function (node) { + },destroyNode:function(node) { FS.hashRemoveNode(node); - },isRoot:function (node) { + },isRoot:function(node) { return node === node.parent; - },isMountpoint:function (node) { + },isMountpoint:function(node) { return !!node.mounted; - },isFile:function (mode) { + },isFile:function(mode) { return (mode & 61440) === 32768; - },isDir:function (mode) { + },isDir:function(mode) { return (mode & 61440) === 16384; - },isLink:function (mode) { + },isLink:function(mode) { return (mode & 61440) === 40960; - },isChrdev:function (mode) { + },isChrdev:function(mode) { return (mode & 61440) === 8192; - },isBlkdev:function (mode) { + },isBlkdev:function(mode) { return (mode & 61440) === 24576; - },isFIFO:function (mode) { + },isFIFO:function(mode) { return (mode & 61440) === 4096; - },isSocket:function (mode) { + },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) { + },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) { + },flagsToPermissionString:function(flag) { var perms = ['r', 'w', 'rw'][flag & 3]; if ((flag & 512)) { perms += 'w'; } return perms; - },nodePermissions:function (node, perms) { + },nodePermissions:function(node, perms) { if (FS.ignorePermissions) { return 0; } @@ -2620,19 +2620,19 @@ function copyTempDouble(ptr) { return 2; } return 0; - },mayLookup:function (dir) { + },mayLookup:function(dir) { var err = FS.nodePermissions(dir, 'x'); if (err) return err; if (!dir.node_ops.lookup) return 2; return 0; - },mayCreate:function (dir, name) { + },mayCreate:function(dir, name) { try { var node = FS.lookupNode(dir, name); return 20; } catch (e) { } return FS.nodePermissions(dir, 'wx'); - },mayDelete:function (dir, name, isdir) { + },mayDelete:function(dir, name, isdir) { var node; try { node = FS.lookupNode(dir, name); @@ -2656,7 +2656,7 @@ function copyTempDouble(ptr) { } } return 0; - },mayOpen:function (node, flags) { + },mayOpen:function(node, flags) { if (!node) { return 44; } @@ -2669,7 +2669,7 @@ function copyTempDouble(ptr) { } } return FS.nodePermissions(node, FS.flagsToPermissionString(flags)); - },MAX_OPEN_FDS:4096,nextfd:function (fd_start, fd_end) { + },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++) { @@ -2678,9 +2678,9 @@ function copyTempDouble(ptr) { } } throw new FS.ErrnoError(33); - },getStream:function (fd) { + },getStream:function(fd) { return FS.streams[fd]; - },createStream:function (stream, fd_start, fd_end) { + },createStream:function(stream, fd_start, fd_end) { if (!FS.FSStream) { FS.FSStream = function(){}; FS.FSStream.prototype = {}; @@ -2711,9 +2711,9 @@ function copyTempDouble(ptr) { stream.fd = fd; FS.streams[fd] = stream; return stream; - },closeStream:function (fd) { + },closeStream:function(fd) { FS.streams[fd] = null; - },chrdev_stream_ops:{open:function (stream) { + },chrdev_stream_ops:{open:function(stream) { var device = FS.getDevice(stream.node.rdev); // override node's stream ops with the device's stream.stream_ops = device.stream_ops; @@ -2721,19 +2721,19 @@ function copyTempDouble(ptr) { if (stream.stream_ops.open) { stream.stream_ops.open(stream); } - },llseek:function () { + },llseek:function() { throw new FS.ErrnoError(70); - }},major:function (dev) { + }},major:function(dev) { return ((dev) >> 8); - },minor:function (dev) { + },minor:function(dev) { return ((dev) & 0xff); - },makedev:function (ma, mi) { + },makedev:function(ma, mi) { return ((ma) << 8 | (mi)); - },registerDevice:function (dev, ops) { + },registerDevice:function(dev, ops) { FS.devices[dev] = { stream_ops: ops }; - },getDevice:function (dev) { + },getDevice:function(dev) { return FS.devices[dev]; - },getMounts:function (mount) { + },getMounts:function(mount) { var mounts = []; var check = [mount]; @@ -2746,7 +2746,7 @@ function copyTempDouble(ptr) { } return mounts; - },syncfs:function (populate, callback) { + },syncfs:function(populate, callback) { if (typeof(populate) === 'function') { callback = populate; populate = false; @@ -2787,7 +2787,7 @@ function copyTempDouble(ptr) { } mount.type.syncfs(mount, populate, done); }); - },mount:function (type, opts, mountpoint) { + },mount:function(type, opts, mountpoint) { if (typeof type === 'string') { // The filesystem was not included, and instead we have an error // message stored in the variable. @@ -2872,9 +2872,9 @@ function copyTempDouble(ptr) { var idx = node.mount.mounts.indexOf(mount); assert(idx !== -1); node.mount.mounts.splice(idx, 1); - },lookup:function (parent, name) { + },lookup:function(parent, name) { return parent.node_ops.lookup(parent, name); - },mknod:function (path, mode, dev) { + },mknod:function(path, mode, dev) { var lookup = FS.lookupPath(path, { parent: true }); var parent = lookup.node; var name = PATH.basename(path); @@ -2889,17 +2889,17 @@ function copyTempDouble(ptr) { throw new FS.ErrnoError(63); } return parent.node_ops.mknod(parent, name, mode, dev); - },create:function (path, mode) { + },create:function(path, mode) { mode = mode !== undefined ? mode : 438 /* 0666 */; mode &= 4095; mode |= 32768; return FS.mknod(path, mode, 0); - },mkdir:function (path, mode) { + },mkdir:function(path, mode) { mode = mode !== undefined ? mode : 511 /* 0777 */; mode &= 511 | 512; mode |= 16384; return FS.mknod(path, mode, 0); - },mkdirTree:function (path, mode) { + },mkdirTree:function(path, mode) { var dirs = path.split('/'); var d = ''; for (var i = 0; i < dirs.length; ++i) { @@ -2911,14 +2911,14 @@ function copyTempDouble(ptr) { if (e.errno != 20) throw e; } } - },mkdev:function (path, mode, dev) { + },mkdev:function(path, mode, dev) { if (typeof(dev) === 'undefined') { dev = mode; mode = 438 /* 0666 */; } mode |= 8192; return FS.mknod(path, mode, dev); - },symlink:function (oldpath, newpath) { + },symlink:function(oldpath, newpath) { if (!PATH_FS.resolve(oldpath)) { throw new FS.ErrnoError(44); } @@ -2936,7 +2936,7 @@ function copyTempDouble(ptr) { throw new FS.ErrnoError(63); } return parent.node_ops.symlink(parent, newname, oldpath); - },rename:function (old_path, new_path) { + },rename:function(old_path, new_path) { var old_dirname = PATH.dirname(old_path); var new_dirname = PATH.dirname(new_path); var old_name = PATH.basename(old_path); @@ -3030,7 +3030,7 @@ function copyTempDouble(ptr) { } catch(e) { console.log("FS.trackingDelegate['onMovePath']('"+old_path+"', '"+new_path+"') threw an exception: " + e.message); } - },rmdir:function (path) { + },rmdir:function(path) { var lookup = FS.lookupPath(path, { parent: true }); var parent = lookup.node; var name = PATH.basename(path); @@ -3059,14 +3059,14 @@ function copyTempDouble(ptr) { } catch(e) { console.log("FS.trackingDelegate['onDeletePath']('"+path+"') threw an exception: " + e.message); } - },readdir:function (path) { + },readdir:function(path) { var lookup = FS.lookupPath(path, { follow: true }); var node = lookup.node; if (!node.node_ops.readdir) { throw new FS.ErrnoError(54); } return node.node_ops.readdir(node); - },unlink:function (path) { + },unlink:function(path) { var lookup = FS.lookupPath(path, { parent: true }); var parent = lookup.node; var name = PATH.basename(path); @@ -3098,7 +3098,7 @@ function copyTempDouble(ptr) { } catch(e) { console.log("FS.trackingDelegate['onDeletePath']('"+path+"') threw an exception: " + e.message); } - },readlink:function (path) { + },readlink:function(path) { var lookup = FS.lookupPath(path); var link = lookup.node; if (!link) { @@ -3108,7 +3108,7 @@ function copyTempDouble(ptr) { throw new FS.ErrnoError(28); } return PATH_FS.resolve(FS.getPath(link.parent), link.node_ops.readlink(link)); - },stat:function (path, dontFollow) { + },stat:function(path, dontFollow) { var lookup = FS.lookupPath(path, { follow: !dontFollow }); var node = lookup.node; if (!node) { @@ -3118,9 +3118,9 @@ function copyTempDouble(ptr) { throw new FS.ErrnoError(63); } return node.node_ops.getattr(node); - },lstat:function (path) { + },lstat:function(path) { return FS.stat(path, true); - },chmod:function (path, mode, dontFollow) { + },chmod:function(path, mode, dontFollow) { var node; if (typeof path === 'string') { var lookup = FS.lookupPath(path, { follow: !dontFollow }); @@ -3135,15 +3135,15 @@ function copyTempDouble(ptr) { mode: (mode & 4095) | (node.mode & ~4095), timestamp: Date.now() }); - },lchmod:function (path, mode) { + },lchmod:function(path, mode) { FS.chmod(path, mode, true); - },fchmod:function (fd, mode) { + },fchmod:function(fd, mode) { var stream = FS.getStream(fd); if (!stream) { throw new FS.ErrnoError(8); } FS.chmod(stream.node, mode); - },chown:function (path, uid, gid, dontFollow) { + },chown:function(path, uid, gid, dontFollow) { var node; if (typeof path === 'string') { var lookup = FS.lookupPath(path, { follow: !dontFollow }); @@ -3158,15 +3158,15 @@ function copyTempDouble(ptr) { timestamp: Date.now() // we ignore the uid / gid for now }); - },lchown:function (path, uid, gid) { + },lchown:function(path, uid, gid) { FS.chown(path, uid, gid, true); - },fchown:function (fd, uid, gid) { + },fchown:function(fd, uid, gid) { var stream = FS.getStream(fd); if (!stream) { throw new FS.ErrnoError(8); } FS.chown(stream.node, uid, gid); - },truncate:function (path, len) { + },truncate:function(path, len) { if (len < 0) { throw new FS.ErrnoError(28); } @@ -3194,7 +3194,7 @@ function copyTempDouble(ptr) { size: len, timestamp: Date.now() }); - },ftruncate:function (fd, len) { + },ftruncate:function(fd, len) { var stream = FS.getStream(fd); if (!stream) { throw new FS.ErrnoError(8); @@ -3203,13 +3203,13 @@ function copyTempDouble(ptr) { throw new FS.ErrnoError(28); } FS.truncate(stream.node, len); - },utime:function (path, atime, mtime) { + },utime:function(path, atime, mtime) { var lookup = FS.lookupPath(path, { follow: true }); var node = lookup.node; node.node_ops.setattr(node, { timestamp: Math.max(atime, mtime) }); - },open:function (path, flags, mode, fd_start, fd_end) { + },open:function(path, flags, mode, fd_start, fd_end) { if (path === "") { throw new FS.ErrnoError(44); } @@ -3313,7 +3313,7 @@ function copyTempDouble(ptr) { console.log("FS.trackingDelegate['onOpenFile']('"+path+"', flags) threw an exception: " + e.message); } return stream; - },close:function (stream) { + },close:function(stream) { if (FS.isClosed(stream)) { throw new FS.ErrnoError(8); } @@ -3328,9 +3328,9 @@ function copyTempDouble(ptr) { FS.closeStream(stream.fd); } stream.fd = null; - },isClosed:function (stream) { + },isClosed:function(stream) { return stream.fd === null; - },llseek:function (stream, offset, whence) { + },llseek:function(stream, offset, whence) { if (FS.isClosed(stream)) { throw new FS.ErrnoError(8); } @@ -3343,7 +3343,7 @@ function copyTempDouble(ptr) { stream.position = stream.stream_ops.llseek(stream, offset, whence); stream.ungotten = []; return stream.position; - },read:function (stream, buffer, offset, length, position) { + },read:function(stream, buffer, offset, length, position) { if (length < 0 || position < 0) { throw new FS.ErrnoError(28); } @@ -3368,7 +3368,7 @@ function copyTempDouble(ptr) { var bytesRead = stream.stream_ops.read(stream, buffer, offset, length, position); if (!seeking) stream.position += bytesRead; return bytesRead; - },write:function (stream, buffer, offset, length, position, canOwn) { + },write:function(stream, buffer, offset, length, position, canOwn) { if (length < 0 || position < 0) { throw new FS.ErrnoError(28); } @@ -3402,7 +3402,7 @@ function copyTempDouble(ptr) { console.log("FS.trackingDelegate['onWriteToFile']('"+stream.path+"') threw an exception: " + e.message); } return bytesWritten; - },allocate:function (stream, offset, length) { + },allocate:function(stream, offset, length) { if (FS.isClosed(stream)) { throw new FS.ErrnoError(8); } @@ -3419,7 +3419,7 @@ function copyTempDouble(ptr) { throw new FS.ErrnoError(138); } stream.stream_ops.allocate(stream, offset, length); - },mmap:function (stream, buffer, offset, length, position, prot, flags) { + },mmap:function(stream, buffer, offset, length, position, prot, flags) { // User requests writing to file (prot & PROT_WRITE != 0). // Checking if we have permissions to write to the file unless // MAP_PRIVATE flag is set. According to POSIX spec it is possible @@ -3438,19 +3438,19 @@ function copyTempDouble(ptr) { throw new FS.ErrnoError(43); } return stream.stream_ops.mmap(stream, buffer, offset, length, position, prot, flags); - },msync:function (stream, buffer, offset, length, mmapFlags) { + },msync:function(stream, buffer, offset, length, mmapFlags) { if (!stream || !stream.stream_ops.msync) { return 0; } return stream.stream_ops.msync(stream, buffer, offset, length, mmapFlags); - },munmap:function (stream) { + },munmap:function(stream) { return 0; - },ioctl:function (stream, cmd, arg) { + },ioctl:function(stream, cmd, arg) { if (!stream.stream_ops.ioctl) { throw new FS.ErrnoError(59); } return stream.stream_ops.ioctl(stream, cmd, arg); - },readFile:function (path, opts) { + },readFile:function(path, opts) { opts = opts || {}; opts.flags = opts.flags || 'r'; opts.encoding = opts.encoding || 'binary'; @@ -3470,7 +3470,7 @@ function copyTempDouble(ptr) { } FS.close(stream); return ret; - },writeFile:function (path, data, opts) { + },writeFile:function(path, data, opts) { opts = opts || {}; opts.flags = opts.flags || 'w'; var stream = FS.open(path, opts.flags, opts.mode); @@ -3484,9 +3484,9 @@ function copyTempDouble(ptr) { throw new Error('Unsupported data type'); } FS.close(stream); - },cwd:function () { + },cwd:function() { return FS.currentPath; - },chdir:function (path) { + },chdir:function(path) { var lookup = FS.lookupPath(path, { follow: true }); if (lookup.node === null) { throw new FS.ErrnoError(44); @@ -3499,11 +3499,11 @@ function copyTempDouble(ptr) { throw new FS.ErrnoError(err); } FS.currentPath = lookup.path; - },createDefaultDirectories:function () { + },createDefaultDirectories:function() { FS.mkdir('/tmp'); FS.mkdir('/home'); FS.mkdir('/home/web_user'); - },createDefaultDevices:function () { + },createDefaultDevices:function() { // create /dev FS.mkdir('/dev'); // setup /dev/null @@ -3547,7 +3547,7 @@ function copyTempDouble(ptr) { // just create the tmp dirs that reside in it commonly FS.mkdir('/dev/shm'); FS.mkdir('/dev/shm/tmp'); - },createSpecialDirectories:function () { + },createSpecialDirectories:function() { // create /proc/self/fd which allows /proc/self/fd/6 => readlink gives the name of the stream for fd 6 (see test_unistd_ttyname) FS.mkdir('/proc'); FS.mkdir('/proc/self'); @@ -3572,7 +3572,7 @@ function copyTempDouble(ptr) { return node; } }, {}, '/proc/self/fd'); - },createStandardStreams:function () { + },createStandardStreams:function() { // TODO deprecate the old functionality of a single // input / output callback and that utilizes FS.createDevice // and instead require a unique set of stream ops @@ -3604,7 +3604,7 @@ function copyTempDouble(ptr) { assert(stdin.fd === 0, 'invalid handle for stdin (' + stdin.fd + ')'); assert(stdout.fd === 1, 'invalid handle for stdout (' + stdout.fd + ')'); assert(stderr.fd === 2, 'invalid handle for stderr (' + stderr.fd + ')'); - },ensureErrnoError:function () { + },ensureErrnoError:function() { if (FS.ErrnoError) return; FS.ErrnoError = function ErrnoError(errno, node) { this.node = node; @@ -3635,7 +3635,7 @@ function copyTempDouble(ptr) { FS.genericErrors[code] = new FS.ErrnoError(code); FS.genericErrors[code].stack = ''; }); - },staticInit:function () { + },staticInit:function() { FS.ensureErrnoError(); FS.nameTable = new Array(4096); @@ -3649,7 +3649,7 @@ function copyTempDouble(ptr) { FS.filesystems = { 'MEMFS': MEMFS, }; - },init:function (input, output, error) { + },init:function(input, output, error) { assert(!FS.init.initialized, 'FS.init was previously called. If you want to initialize later with custom parameters, remove any earlier calls (note that one is automatically added to the generated code)'); FS.init.initialized = true; @@ -3661,7 +3661,7 @@ function copyTempDouble(ptr) { Module['stderr'] = error || Module['stderr']; FS.createStandardStreams(); - },quit:function () { + },quit:function() { FS.init.initialized = false; // force-flush all streams, so we get musl std streams printed out var fflush = Module['_fflush']; @@ -3674,20 +3674,20 @@ function copyTempDouble(ptr) { } FS.close(stream); } - },getMode:function (canRead, canWrite) { + },getMode:function(canRead, canWrite) { var mode = 0; if (canRead) mode |= 292 | 73; if (canWrite) mode |= 146; return mode; - },joinPath:function (parts, forceRelative) { + },joinPath:function(parts, forceRelative) { var path = PATH.join.apply(null, parts); if (forceRelative && path[0] == '/') path = path.substr(1); return path; - },absolutePath:function (relative, base) { + },absolutePath:function(relative, base) { return PATH_FS.resolve(base, relative); - },standardizePath:function (path) { + },standardizePath:function(path) { return PATH.normalize(path); - },findObject:function (path, dontResolveLastLink) { + },findObject:function(path, dontResolveLastLink) { var ret = FS.analyzePath(path, dontResolveLastLink); if (ret.exists) { return ret.object; @@ -3695,7 +3695,7 @@ function copyTempDouble(ptr) { ___setErrNo(ret.error); return null; } - },analyzePath:function (path, dontResolveLastLink) { + },analyzePath:function(path, dontResolveLastLink) { // operate from within the context of the symlink's target try { var lookup = FS.lookupPath(path, { follow: !dontResolveLastLink }); @@ -3722,11 +3722,11 @@ function copyTempDouble(ptr) { ret.error = e.errno; }; return ret; - },createFolder:function (parent, name, canRead, canWrite) { + },createFolder:function(parent, name, canRead, canWrite) { var path = PATH.join2(typeof parent === 'string' ? parent : FS.getPath(parent), name); var mode = FS.getMode(canRead, canWrite); return FS.mkdir(path, mode); - },createPath:function (parent, path, canRead, canWrite) { + },createPath:function(parent, path, canRead, canWrite) { parent = typeof parent === 'string' ? parent : FS.getPath(parent); var parts = path.split('/').reverse(); while (parts.length) { @@ -3741,11 +3741,11 @@ function copyTempDouble(ptr) { parent = current; } return current; - },createFile:function (parent, name, properties, canRead, canWrite) { + },createFile:function(parent, name, properties, canRead, canWrite) { var path = PATH.join2(typeof parent === 'string' ? parent : FS.getPath(parent), name); var mode = FS.getMode(canRead, canWrite); return FS.create(path, mode); - },createDataFile:function (parent, name, data, canRead, canWrite, canOwn) { + },createDataFile:function(parent, name, data, canRead, canWrite, canOwn) { var path = name ? PATH.join2(typeof parent === 'string' ? parent : FS.getPath(parent), name) : parent; var mode = FS.getMode(canRead, canWrite); var node = FS.create(path, mode); @@ -3763,7 +3763,7 @@ function copyTempDouble(ptr) { FS.chmod(node, mode); } return node; - },createDevice:function (parent, name, input, output) { + },createDevice:function(parent, name, input, output) { var path = PATH.join2(typeof parent === 'string' ? parent : FS.getPath(parent), name); var mode = FS.getMode(!!input, !!output); if (!FS.createDevice.major) FS.createDevice.major = 64; @@ -3816,10 +3816,10 @@ function copyTempDouble(ptr) { } }); return FS.mkdev(path, mode, dev); - },createLink:function (parent, name, target, canRead, canWrite) { + },createLink:function(parent, name, target, canRead, canWrite) { var path = PATH.join2(typeof parent === 'string' ? parent : FS.getPath(parent), name); return FS.symlink(target, path); - },forceLoadFile:function (obj) { + },forceLoadFile:function(obj) { if (obj.isDevice || obj.isFolder || obj.link || obj.contents) return true; var success = true; if (typeof XMLHttpRequest !== 'undefined') { @@ -3839,7 +3839,7 @@ function copyTempDouble(ptr) { } if (!success) ___setErrNo(29); return success; - },createLazyFile:function (parent, name, url, canRead, canWrite) { + },createLazyFile:function(parent, name, url, canRead, canWrite) { // Lazy chunked Uint8Array (implements get and length from Uint8Array). Actual getting is abstracted away for eventual reuse. function LazyUint8Array() { this.lengthKnown = false; @@ -3997,7 +3997,7 @@ function copyTempDouble(ptr) { }; node.stream_ops = stream_ops; return node; - },createPreloadedFile:function (parent, name, url, canRead, canWrite, onload, onerror, dontCreateFile, canOwn, preFinish) { + },createPreloadedFile:function(parent, name, url, canRead, canWrite, onload, onerror, dontCreateFile, canOwn, preFinish) { Browser.init(); // XXX perhaps this method should move onto Browser? // TODO we should allow people to just pass in a complete filename instead // of parent and name being that we just join them anyways @@ -4033,11 +4033,11 @@ function copyTempDouble(ptr) { } else { processData(url); } - },indexedDB:function () { + },indexedDB:function() { return window.indexedDB || window.mozIndexedDB || window.webkitIndexedDB || window.msIndexedDB; - },DB_NAME:function () { + },DB_NAME:function() { return 'EM_FS_' + window.location.pathname; - },DB_VERSION:20,DB_STORE_NAME:"FILE_DATA",saveFilesToDB:function (paths, onload, onerror) { + },DB_VERSION:20,DB_STORE_NAME:"FILE_DATA",saveFilesToDB:function(paths, onload, onerror) { onload = onload || function(){}; onerror = onerror || function(){}; var indexedDB = FS.indexedDB(); @@ -4067,7 +4067,7 @@ function copyTempDouble(ptr) { transaction.onerror = onerror; }; openRequest.onerror = onerror; - },loadFilesFromDB:function (paths, onload, onerror) { + },loadFilesFromDB:function(paths, onload, onerror) { onload = onload || function(){}; onerror = onerror || function(){}; var indexedDB = FS.indexedDB(); @@ -4105,7 +4105,7 @@ function copyTempDouble(ptr) { transaction.onerror = onerror; }; openRequest.onerror = onerror; - }};var SYSCALLS={DEFAULT_POLLMASK:5,mappings:{},umask:511,calculateAt:function (dirfd, path) { + }};var SYSCALLS={DEFAULT_POLLMASK:5,mappings:{},umask:511,calculateAt:function(dirfd, path) { if (path[0] !== '/') { // relative path var dir; @@ -4119,7 +4119,7 @@ function copyTempDouble(ptr) { path = PATH.join2(dir, path); } return path; - },doStat:function (func, path, buf) { + },doStat:function(func, path, buf) { try { var stat = func(path); } catch (e) { @@ -4149,17 +4149,17 @@ function copyTempDouble(ptr) { HEAP32[(((buf)+(76))>>2)]=0; (tempI64 = [stat.ino>>>0,(tempDouble=stat.ino,(+(Math_abs(tempDouble))) >= (+1) ? (tempDouble > (+0) ? ((Math_min((+(Math_floor((tempDouble)/(+4294967296)))), (+4294967295)))|0)>>>0 : (~~((+(Math_ceil((tempDouble - +(((~~(tempDouble)))>>>0))/(+4294967296))))))>>>0) : 0)],HEAP32[(((buf)+(80))>>2)]=tempI64[0],HEAP32[(((buf)+(84))>>2)]=tempI64[1]); return 0; - },doMsync:function (addr, stream, len, flags) { + },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) { + },doMkdir:function(path, mode) { // remove a trailing slash, if one - /a/b/ has basename of '', but // we want to create b in the context of this function 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) { + },doMknod:function(path, mode, dev) { // we don't want this in the JS API as it uses mknod to create all nodes. switch (mode & 61440) { case 32768: @@ -4172,7 +4172,7 @@ function copyTempDouble(ptr) { } FS.mknod(path, mode, dev); return 0; - },doReadlink:function (path, buf, bufsize) { + },doReadlink:function(path, buf, bufsize) { if (bufsize <= 0) return -28; var ret = FS.readlink(path); @@ -4184,7 +4184,7 @@ function copyTempDouble(ptr) { HEAP8[buf+len] = endChar; return len; - },doAccess:function (path, amode) { + },doAccess:function(path, amode) { if (amode & ~7) { // need a valid mode return -28; @@ -4203,11 +4203,11 @@ function copyTempDouble(ptr) { return -2; } return 0; - },doDup:function (path, flags, suggestFD) { + },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) { + },doReadv:function(stream, iov, iovcnt, offset) { var ret = 0; for (var i = 0; i < iovcnt; i++) { var ptr = HEAP32[(((iov)+(i*8))>>2)]; @@ -4218,7 +4218,7 @@ function copyTempDouble(ptr) { if (curr < len) break; // nothing more to read } return ret; - },doWritev:function (stream, iov, iovcnt, offset) { + },doWritev:function(stream, iov, iovcnt, offset) { var ret = 0; for (var i = 0; i < iovcnt; i++) { var ptr = HEAP32[(((iov)+(i*8))>>2)]; @@ -4228,25 +4228,25 @@ function copyTempDouble(ptr) { ret += curr; } return ret; - },varargs:0,get:function (varargs) { + },varargs:0,get:function(varargs) { SYSCALLS.varargs += 4; var ret = HEAP32[(((SYSCALLS.varargs)-(4))>>2)]; return ret; - },getStr:function () { + },getStr:function() { var ret = UTF8ToString(SYSCALLS.get()); return ret; - },getStreamFromFD:function (fd) { + },getStreamFromFD:function(fd) { // TODO: when all syscalls use wasi, can remove the next line if (fd === undefined) fd = SYSCALLS.get(); var stream = FS.getStream(fd); if (!stream) throw new FS.ErrnoError(8); return stream; - },get64:function () { + },get64:function() { var low = SYSCALLS.get(), high = SYSCALLS.get(); if (low >= 0) assert(high === 0); else assert(high === -1); return low; - },getZero:function () { + },getZero:function() { assert(SYSCALLS.get() === 0); }};function ___syscall221(which, varargs) {SYSCALLS.varargs = varargs; try { @@ -4420,7 +4420,8 @@ function copyTempDouble(ptr) { if (typeof FS === 'undefined' || !(e instanceof FS.ErrnoError)) abort(e); return e.errno; } - }function ___wasi_fd_close() { + }function ___wasi_fd_close( + ) { return _fd_close.apply(null, arguments) } @@ -4435,7 +4436,8 @@ function copyTempDouble(ptr) { if (typeof FS === 'undefined' || !(e instanceof FS.ErrnoError)) abort(e); return e.errno; } - }function ___wasi_fd_read() { + }function ___wasi_fd_read( + ) { return _fd_read.apply(null, arguments) } @@ -4461,7 +4463,8 @@ function copyTempDouble(ptr) { if (typeof FS === 'undefined' || !(e instanceof FS.ErrnoError)) abort(e); return e.errno; } - }function ___wasi_fd_seek() { + }function ___wasi_fd_seek( + ) { return _fd_seek.apply(null, arguments) } @@ -4476,7 +4479,8 @@ function copyTempDouble(ptr) { if (typeof FS === 'undefined' || !(e instanceof FS.ErrnoError)) abort(e); return e.errno; } - }function ___wasi_fd_write() { + }function ___wasi_fd_write( + ) { return _fd_write.apply(null, arguments) } @@ -5484,10 +5488,10 @@ function copyTempDouble(ptr) { } - var ___tm_current=67504; + var ___tm_current=68352; - var ___tm_timezone=(stringToUTF8("GMT", 67552, 4), 67552); + var ___tm_timezone=(stringToUTF8("GMT", 68400, 4), 68400); function _tzset() { // TODO: Use (malleable) environment variables instead of system settings. @@ -6196,6 +6200,7 @@ var asm = (/** @suppress {uselessCode} */ function(global, env, buffer) { Math_pow=global.Math.pow, Math_cos=global.Math.cos, Math_sin=global.Math.sin, + Math_acos=global.Math.acos, Math_atan2=global.Math.atan2, Math_log=global.Math.log, Math_ceil=global.Math.ceil, @@ -6331,8 +6336,8 @@ var asm = (/** @suppress {uselessCode} */ function(global, env, buffer) { throwInternalError=env.throwInternalError, throwUnboundTypeError=env.throwUnboundTypeError, whenDependentTypesAreResolved=env.whenDependentTypesAreResolved, - STACKTOP = 67664, - STACK_MAX = 5310544, + STACKTOP = 68512, + STACK_MAX = 5311392, tempFloat = 0.0; function _emscripten_replace_memory(newBuffer) { @@ -6349,89 +6354,88 @@ function _emscripten_replace_memory(newBuffer) { } // EMSCRIPTEN_START_FUNCS - -function _read_markers($0) { - $0 = $0 | 0; - var $$0 = 0, $$0$i = 0, $$0$i46 = 0, $$0$i78 = 0, $$0$i82 = 0, $$0$i92 = 0, $$0134$lcssa$i = 0, $$0134177$i = 0, $$0135$i = 0, $$0136$i = 0, $$0146$i = 0, $$0148$i = 0, $$0158$i = 0, $$0159$i = 0, $$0168$lcssa$i = 0, $$0168199$i = 0, $$0170$ph$i = 0, $$0170220$i = 0, $$0171$i = 0, $$0171177218$i = 0, $$0171177219$i = 0, $$0176$i = 0, $$0177$i = 0, $$0186$lcssa$i = 0, $$0186203$i = 0, $$0189$lcssa$i = 0, $$0189197$i = 0, $$0189206$i = 0, $$0190201$i = 0, $$0193213$i = 0, $$0231$i = 0, $$041$i = 0, $$042$i = 0, $$057$i = 0, $$087$i = 0, $$093$i = 0, $$093$lcssa$i = 0, $$093100$i = 0, $$09397$i = 0, $$1$i = 0, $$1$i43 = 0, $$1$i47 = 0, $$1$i55 = 0, $$1$i66 = 0, $$1$i79 = 0, $$1$i83 = 0, $$1$i93 = 0, $$10$i = 0, $$10241$i = 0, $$11$i = 0, $$11242$i = 0, $$1137$i = 0, $$1145171$i = 0, $$1160$i = 0, $$1178$i = 0, $$1191202$i = 0, $$12$i = 0, $$12243$i = 0, $$1232$i = 0, $$13$i = 0, $$13244$i = 0, $$14$i = 0, $$142$i = 0, $$14245$i = 0, $$143$i = 0, $$15$i = 0, $$15246$i = 0, $$158$i = 0, $$16$i = 0, $$16247$i = 0, $$17$i = 0, $$17248$i = 0, $$18$i = 0, $$18249$i = 0, $$188$i = 0, $$19$i = 0, $$19250$i = 0, $$2$i = 0, $$2$i52 = 0, $$2$i80 = 0, $$2$i84 = 0, $$2$lcssa$i = 0, $$2$lcssa$i62 = 0, $$2$lcssa$i76 = 0, $$20$i = 0, $$20251$i = 0, $$21$i = 0, $$2101$i = 0, $$21252$i = 0, $$2138$lcssa$i = 0, $$2138175$i = 0, $$2161$lcssa$i = 0, $$2161200$i = 0, $$2175194$i = 0, $$2175194$us$i = 0, $$2176$i = 0, $$2179$i = 0, $$2188$i = 0, $$2192205$i = 0, $$22$i = 0, $$2201$i = 0, $$22253$i = 0, $$2233$i = 0, $$23$i = 0, $$23254$i = 0, $$24$i = 0, $$24255$i = 0, $$25$i = 0, $$25256$i = 0, $$259$i = 0, $$289$i = 0, $$289$lcssa$i = 0, $$289102$i = 0, $$28999$i = 0, $$298$i = 0, $$3$i = 0, $$3$i49 = 0, $$3$i56 = 0, $$3$i67 = 0, $$3$i81 = 0, $$3$i85 = 0, $$3$lcssa$i = 0, $$3139$i = 0, $$3162$i = 0, $$3176198$i = 0, $$3180$i = 0, $$3180$lcssa$i = 0, $$3180212$i = 0, $$3180212236$i = 0, $$3180218$i = 0, $$3211$i = 0, $$3211230$i = 0, $$3211233$i = 0, $$3211235$i = 0, $$3217$i = 0, $$3234$i = 0, $$360$i = 0, $$390$i = 0, $$4$1$i = 0, $$4$10$i = 0, $$4$11$i = 0, $$4$12$i = 0, $$4$13$i = 0, $$4$14$i = 0, $$4$15$i = 0, $$4$2$i = 0, $$4$3$i = 0, $$4$4$i = 0, $$4$5$i = 0, $$4$6$i = 0, $$4$7$i = 0, $$4$8$i = 0, $$4$9$i = 0, $$4$i = 0, $$4$i50 = 0, $$4$i58 = 0, $$4$i71 = 0, $$4$i86 = 0, $$4$lcssa$i = 0, $$4$us$i = 0, $$4140$1$i = 0, $$4140$10$i = 0, $$4140$11$i = 0, $$4140$12$i = 0, $$4140$13$i = 0, $$4140$14$i = 0, $$4140$15$i = 0, $$4140$2$i = 0, $$4140$3$i = 0, $$4140$4$i = 0, $$4140$5$i = 0, $$4140$6$i = 0, $$4140$7$i = 0, $$4140$8$i = 0, $$4140$9$i = 0, $$4140$i = 0, $$4140166$i = 0, $$4163$i = 0, $$4163$lcssa$i = 0, $$4163$us$i = 0, $$4163193$i = 0, $$4163193222$i = 0, $$4163196$i = 0, $$4163196$us$i = 0, $$4165$i = 0, $$4181$i = 0, $$4192$i = 0, $$4192221$i = 0, $$4195$i = 0, $$4195$us$i = 0, $$4235$i = 0, $$491$i = 0, $$5$1$i = 0, $$5$10$i = 0, $$5$11$i = 0, $$5$12$i = 0, $$5$13$i = 0, $$5$14$i = 0, $$5$15$i = 0, $$5$2$i = 0, $$5$3$i = 0, $$5$4$i = 0, $$5$5$i = 0, $$5$6$i = 0, $$5$7$i = 0, $$5$8$i = 0, $$5$9$i = 0, $$5$i = 0, $$5$i57 = 0, $$5$i87 = 0, $$5$us$i = 0, $$5141$1$i = 0, $$5141$10$i = 0, $$5141$11$i = 0, $$5141$12$i = 0, $$5141$13$i = 0, $$5141$14$i = 0, $$5141$15$i = 0, $$5141$2$i = 0, $$5141$3$i = 0, $$5141$4$i = 0, $$5141$5$i = 0, $$5141$6$i = 0, $$5141$7$i = 0, $$5141$8$i = 0, $$5141$9$i = 0, $$5141$i = 0, $$5164$us$i = 0, $$5182$i = 0, $$5236$i = 0, $$6$i = 0, $$6$i88 = 0, $$6$lcssa$i = 0, $$6$us$i = 0, $$6142$lcssa$i = 0, $$6142172$i = 0, $$6165$us$i = 0, $$6173$i = 0, $$6183$i = 0, $$6237$i = 0, $$7$i = 0, $$7$i60 = 0, $$7$i70 = 0, $$7$i90 = 0, $$7143$i = 0, $$7166$i = 0, $$7184$i = 0, $$7238$i = 0, $$8$i = 0, $$8$i91 = 0, $$8185$i = 0, $$8239$i = 0, $$9$i = 0, $$9240$i = 0, $$lcssa$i = 0, $$pre$phi$iZ2D = 0, $1 = 0, $10 = 0, $1007 = 0, $1008 = 0, $1011 = 0, $1024 = 0, $1025 = 0, $1028 = 0, $1036 = 0, $1037 = 0, $1049 = 0, $1050 = 0, $1060 = 0, $1061 = 0, $1064 = 0, $107 = 0, $1075 = 0, $1076 = 0, $108 = 0, $1080 = 0, $1089 = 0, $1090 = 0, $1094 = 0, $11 = 0, $1104 = 0, $1105 = 0, $111 = 0, $1115 = 0, $1116 = 0, $1119 = 0, $1127 = 0, $1128 = 0, $1140 = 0, $1141 = 0, $1144 = 0, $1152 = 0, $1153 = 0, $1165 = 0, $1166 = 0, $1176 = 0, $1177 = 0, $1180 = 0, $1188 = 0, $1189 = 0, $119 = 0, $12 = 0, $120 = 0, $1201 = 0, $1202 = 0, $1205 = 0, $1213 = 0, $1214 = 0, $1226 = 0, $1227 = 0, $123 = 0, $1237 = 0, $1238 = 0, $1241 = 0, $1249 = 0, $1250 = 0, $1262 = 0, $1263 = 0, $1266 = 0, $1274 = 0, $1275 = 0, $1280 = 0, $1294 = 0, $13 = 0, $1300 = 0, $1301 = 0, $1302 = 0, $1309 = 0, $131 = 0, $1310 = 0, $1313 = 0, $132 = 0, $1325 = 0, $1326 = 0, $1327 = 0, $133 = 0, $1340 = 0, $1345 = 0, $1346 = 0, $1347 = 0, $1348 = 0, $1349 = 0, $14 = 0, $15 = 0, $151 = 0, $156 = 0, $157 = 0, $158 = 0, $16 = 0, $164 = 0, $165 = 0, $167 = 0, $17 = 0, $176 = 0, $18 = 0, $180 = 0, $184 = 0, $185 = 0, $190 = 0, $192 = 0, $2 = 0, $20 = 0, $205 = 0, $207 = 0, $209 = 0, $210 = 0, $222 = 0, $229 = 0, $230 = 0, $233 = 0, $241 = 0, $242 = 0, $245 = 0, $25 = 0, $256 = 0, $258 = 0, $26 = 0, $260 = 0, $261 = 0, $27 = 0, $275 = 0, $278 = 0, $282 = 0, $283 = 0, $284 = 0, $291 = 0, $292 = 0, $295 = 0, $3 = 0, $305 = 0, $307 = 0, $314 = 0, $315 = 0, $316 = 0, $317 = 0, $324 = 0, $325 = 0, $326 = 0, $335 = 0, $34 = 0, $343 = 0, $346 = 0, $35 = 0, $350 = 0, $357 = 0, $36 = 0, $360 = 0, $361 = 0, $362 = 0, $369 = 0, $37 = 0, $370 = 0, $373 = 0, $381 = 0, $382 = 0, $385 = 0, $386 = 0, $388 = 0, $396 = 0, $397 = 0, $4 = 0, $409 = 0, $410 = 0, $412 = 0, $416 = 0, $423 = 0, $424 = 0, $429 = 0, $430 = 0, $431 = 0, $433 = 0, $434 = 0, $438 = 0, $443 = 0, $445 = 0, $446 = 0, $447 = 0, $448 = 0, $449 = 0, $450 = 0, $451 = 0, $452 = 0, $453 = 0, $454 = 0, $455 = 0, $456 = 0, $457 = 0, $458 = 0, $459 = 0, $460 = 0, $461 = 0, $466 = 0, $47 = 0, $474 = 0, $475 = 0, $48 = 0, $482 = 0, $483 = 0, $490 = 0, $491 = 0, $498 = 0, $499 = 0, $5 = 0, $506 = 0, $507 = 0, $51 = 0, $514 = 0, $515 = 0, $522 = 0, $523 = 0, $530 = 0, $531 = 0, $538 = 0, $539 = 0, $546 = 0, $547 = 0, $554 = 0, $555 = 0, $562 = 0, $563 = 0, $570 = 0, $571 = 0, $578 = 0, $579 = 0, $586 = 0, $587 = 0, $599 = 0, $6 = 0, $60 = 0, $61 = 0, $613 = 0, $614 = 0, $615 = 0, $622 = 0, $623 = 0, $626 = 0, $634 = 0, $635 = 0, $638 = 0, $639 = 0, $641 = 0, $642 = 0, $650 = 0, $651 = 0, $652 = 0, $653 = 0, $66 = 0, $662 = 0, $667 = 0, $668 = 0, $670 = 0, $671 = 0, $673 = 0, $69 = 0, $7 = 0, $8 = 0, $809 = 0, $810 = 0, $813 = 0, $82 = 0, $842 = 0, $847 = 0, $87 = 0, $88 = 0, $889 = 0, $89 = 0, $894 = 0, $897 = 0, $898 = 0, $899 = 0, $9 = 0, $90 = 0, $906 = 0, $907 = 0, $910 = 0, $918 = 0, $919 = 0, $924 = 0, $934 = 0, $935 = 0, $938 = 0, $95 = 0, $950 = 0, $951 = 0, $957 = 0, $958 = 0, $959 = 0, $960 = 0, $965 = 0, $979 = 0, $980 = 0, $983 = 0, $991 = 0, $992 = 0, $997 = 0, $scevgep$i = 0, $scevgep2$i = 0, $scevgep3$i = 0, $spec$select$i = 0, $spec$select$i74 = 0, dest = 0, label = 0, sp = 0, stop = 0; +function _read_markers($cinfo) { + $cinfo = $cinfo | 0; + var $0 = 0, $101 = 0, $102 = 0, $11 = 0, $113 = 0, $117 = 0, $118 = 0, $12 = 0, $122 = 0, $125 = 0, $126 = 0, $129 = 0, $131 = 0, $132 = 0, $144 = 0, $150 = 0, $151 = 0, $158 = 0, $16 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0, $169 = 0, $17 = 0, $170 = 0, $171 = 0, $172 = 0, $173 = 0, $174 = 0, $175 = 0, $176 = 0, $177 = 0, $179 = 0, $21 = 0, $226 = 0, $228 = 0, $23 = 0, $230 = 0, $231 = 0, $243 = 0, $244 = 0, $248 = 0, $251 = 0, $252 = 0, $26 = 0, $267 = 0, $269 = 0, $27 = 0, $279 = 0, $28 = 0, $281 = 0, $282 = 0, $290 = 0, $3 = 0, $300 = 0, $303 = 0, $304 = 0, $305 = 0, $308 = 0, $31 = 0, $320 = 0, $326 = 0, $346 = 0, $353 = 0, $358 = 0, $4 = 0, $420 = 0, $426 = 0, $429 = 0, $430 = 0, $438 = 0, $445 = 0, $45 = 0, $46 = 0, $50 = 0, $59 = 0, $61 = 0, $62 = 0, $63 = 0, $65 = 0, $7 = 0, $73 = 0, $91 = 0, $99 = 0, $Adobe_transform$i = 0, $Ah$i = 0, $Al$i = 0, $CCIR601_sampling$i = 0, $JFIF_major_version$i = 0, $JFIF_minor_version$i = 0, $Se$i = 0, $Ss$i = 0, $X_density$i = 0, $Y_density$i = 0, $ac_tbl_no$i = 0, $add$i = 0, $add$i130 = 0, $add$i196 = 0, $add$i356 = 0, $add$i91 = 0, $add223$i = 0, $add56$i = 0, $add65$1$i = 0, $add65$10$i = 0, $add65$11$i = 0, $add65$12$i = 0, $add65$13$i = 0, $add65$14$i = 0, $add65$15$i = 0, $add65$2$i = 0, $add65$3$i = 0, $add65$4$i = 0, $add65$5$i = 0, $add65$6$i = 0, $add65$7$i = 0, $add65$8$i = 0, $add65$9$i = 0, $add65150$i = 0, $and$i = 0, $and$i202 = 0, $arrayidx59$i = 0, $arrayidx93$i = 0, $bytes_in_buffer$0$i = 0, $bytes_in_buffer$0$i114 = 0, $bytes_in_buffer$0$i178 = 0, $bytes_in_buffer$0$i236 = 0, $bytes_in_buffer$0$i290 = 0, $bytes_in_buffer$0$i338 = 0, $bytes_in_buffer$0$i62 = 0, $bytes_in_buffer$0$i82 = 0, $bytes_in_buffer$1$i = 0, $bytes_in_buffer$1$i128 = 0, $bytes_in_buffer$1$i192 = 0, $bytes_in_buffer$1$i250 = 0, $bytes_in_buffer$1$i298 = 0, $bytes_in_buffer$1$i352 = 0, $bytes_in_buffer$1$i67 = 0, $bytes_in_buffer$1$i90 = 0, $bytes_in_buffer$10$i = 0, $bytes_in_buffer$11$i = 0, $bytes_in_buffer$12$i = 0, $bytes_in_buffer$13$i = 0, $bytes_in_buffer$14$i = 0, $bytes_in_buffer$15$i = 0, $bytes_in_buffer$16$i = 0, $bytes_in_buffer$17$i = 0, $bytes_in_buffer$18$i = 0, $bytes_in_buffer$19$i = 0, $bytes_in_buffer$2$i = 0, $bytes_in_buffer$2$i102 = 0, $bytes_in_buffer$2$i262 = 0, $bytes_in_buffer$2$i301 = 0, $bytes_in_buffer$2$lcssa$i = 0, $bytes_in_buffer$2$lcssa$i160 = 0, $bytes_in_buffer$2$lcssa$i224 = 0, $bytes_in_buffer$20$i = 0, $bytes_in_buffer$21$i = 0, $bytes_in_buffer$2143$i = 0, $bytes_in_buffer$2159$i = 0, $bytes_in_buffer$22$i = 0, $bytes_in_buffer$23$i = 0, $bytes_in_buffer$24$i = 0, $bytes_in_buffer$25$i = 0, $bytes_in_buffer$280$i = 0, $bytes_in_buffer$284$i = 0, $bytes_in_buffer$3$i = 0, $bytes_in_buffer$3$i144 = 0, $bytes_in_buffer$3$i201 = 0, $bytes_in_buffer$3$i264 = 0, $bytes_in_buffer$3$i308 = 0, $bytes_in_buffer$3$i95 = 0, $bytes_in_buffer$3$lcssa$i = 0, $bytes_in_buffer$3168$i = 0, $bytes_in_buffer$3168187$i = 0, $bytes_in_buffer$3168194$i = 0, $bytes_in_buffer$3168198$i = 0, $bytes_in_buffer$3176$i = 0, $bytes_in_buffer$4$1$i = 0, $bytes_in_buffer$4$10$i = 0, $bytes_in_buffer$4$11$i = 0, $bytes_in_buffer$4$12$i = 0, $bytes_in_buffer$4$13$i = 0, $bytes_in_buffer$4$14$i = 0, $bytes_in_buffer$4$15$i = 0, $bytes_in_buffer$4$2$i = 0, $bytes_in_buffer$4$3$i = 0, $bytes_in_buffer$4$4$i = 0, $bytes_in_buffer$4$5$i = 0, $bytes_in_buffer$4$6$i = 0, $bytes_in_buffer$4$7$i = 0, $bytes_in_buffer$4$8$i = 0, $bytes_in_buffer$4$9$i = 0, $bytes_in_buffer$4$i = 0, $bytes_in_buffer$4$i152 = 0, $bytes_in_buffer$4$i214 = 0, $bytes_in_buffer$4$i311 = 0, $bytes_in_buffer$4$i97 = 0, $bytes_in_buffer$4$lcssa$i = 0, $bytes_in_buffer$4$us$i = 0, $bytes_in_buffer$4130$i = 0, $bytes_in_buffer$4148$i = 0, $bytes_in_buffer$4148174$i = 0, $bytes_in_buffer$4152$i = 0, $bytes_in_buffer$4152$us$i = 0, $bytes_in_buffer$5$1$i = 0, $bytes_in_buffer$5$10$i = 0, $bytes_in_buffer$5$11$i = 0, $bytes_in_buffer$5$12$i = 0, $bytes_in_buffer$5$13$i = 0, $bytes_in_buffer$5$14$i = 0, $bytes_in_buffer$5$15$i = 0, $bytes_in_buffer$5$2$i = 0, $bytes_in_buffer$5$3$i = 0, $bytes_in_buffer$5$4$i = 0, $bytes_in_buffer$5$5$i = 0, $bytes_in_buffer$5$6$i = 0, $bytes_in_buffer$5$7$i = 0, $bytes_in_buffer$5$8$i = 0, $bytes_in_buffer$5$9$i = 0, $bytes_in_buffer$5$i = 0, $bytes_in_buffer$5$i151 = 0, $bytes_in_buffer$5$i313 = 0, $bytes_in_buffer$5$us$i = 0, $bytes_in_buffer$6$i = 0, $bytes_in_buffer$6$i316 = 0, $bytes_in_buffer$6$lcssa$i = 0, $bytes_in_buffer$6$us$i = 0, $bytes_in_buffer$6139$i = 0, $bytes_in_buffer$7$i = 0, $bytes_in_buffer$7$i156 = 0, $bytes_in_buffer$7$i212 = 0, $bytes_in_buffer$7$i321 = 0, $bytes_in_buffer$8$i = 0, $bytes_in_buffer$8$i324 = 0, $bytes_in_buffer$9$i = 0, $bytes_in_buffer2$i = 0, $bytes_in_buffer2$i107 = 0, $bytes_in_buffer2$i171 = 0, $bytes_in_buffer2$i229 = 0, $bytes_in_buffer2$i271 = 0, $bytes_in_buffer2$i331 = 0, $bytes_in_buffer2$i51 = 0, $bytes_in_buffer2$i75 = 0, $c$0$lcssa$i = 0, $c$0163$i = 0, $c$2$i = 0, $call196$i = 0, $call63$i = 0, $ci$0160$i = 0, $ci$1162$i = 0, $ci$2165$i = 0, $cmp65170191$i = 0, $cmp65170191202$i = 0, $cmp65170191203$i = 0, $cmp68$i = 0, $cmp68$lcssa$i = 0, $cmp68171$i = 0, $cmp68171201$i = 0, $cmp68178$i = 0, $color_transform$i = 0, $comp_info$i317 = 0, $compptr$0$lcssa$i = 0, $compptr$0155$i = 0, $compptr$0166$i = 0, $conv$i = 0, $conv149$i = 0, $conv21$i = 0, $conv221$i = 0, $conv37$i = 0, $conv37$i145 = 0, $conv38$i = 0, $conv41$i = 0, $conv54$i = 0, $conv64$1$i = 0, $conv64$10$i = 0, $conv64$11$i = 0, $conv64$12$i = 0, $conv64$13$i = 0, $conv64$14$i = 0, $conv64$15$i = 0, $conv64$2$i = 0, $conv64$3$i = 0, $conv64$4$i = 0, $conv64$5$i = 0, $conv64$6$i = 0, $conv64$7$i = 0, $conv64$8$i = 0, $conv64$9$i = 0, $conv64$i = 0, $conv81$i = 0, $count$0$i = 0, $count$0135171$i = 0, $count$0135172$i = 0, $dc_tbl_no$i = 0, $dec$i = 0, $dec$i116 = 0, $dec$i180 = 0, $dec$i238 = 0, $dec$i291 = 0, $dec$i340 = 0, $dec$i63 = 0, $dec$i84 = 0, $dec114$i = 0, $dec118$us$i = 0, $dec135$i = 0, $dec157$i = 0, $dec163$i = 0, $dec18$i = 0, $dec18$i193 = 0, $dec18$i251 = 0, $dec181$i = 0, $dec185$i = 0, $dec202$i = 0, $dec205$i = 0, $dec226$i = 0, $dec23$i = 0, $dec24$i = 0, $dec241$i = 0, $dec263$i = 0, $dec27$i = 0, $dec278$i = 0, $dec300$i = 0, $dec321$i = 0, $dec336$i = 0, $dec35$i = 0, $dec358$i = 0, $dec373$i = 0, $dec38$i = 0, $dec395$i = 0, $dec416$i = 0, $dec431$i = 0, $dec453$i = 0, $dec468$i = 0, $dec50$i = 0, $dec77$i = 0, $dec79$i = 0, $dec92$i = 0, $density_unit$i = 0, $fill_input_buffer27$i = 0, $fill_input_buffer27$i132 = 0, $fill_input_buffer28$i = 0, $fill_input_buffer71$i = 0, $htblptr$0$i = 0, $huffval$i = 0, $i$0172$i = 0, $i$1137$i = 0, $i$2151$i = 0, $i$2151$us$i = 0, $i$3155$i = 0, $incdec$ptr$i = 0, $incdec$ptr$i117 = 0, $incdec$ptr$i181 = 0, $incdec$ptr$i239 = 0, $incdec$ptr$i292 = 0, $incdec$ptr$i341 = 0, $incdec$ptr$i64 = 0, $incdec$ptr$i85 = 0, $incdec$ptr115$i = 0, $incdec$ptr119$us$i = 0, $incdec$ptr123$i = 0, $incdec$ptr136$i = 0, $incdec$ptr158$i = 0, $incdec$ptr164$i = 0, $incdec$ptr182$i = 0, $incdec$ptr186$i = 0, $incdec$ptr19$i = 0, $incdec$ptr19$i194 = 0, $incdec$ptr19$i252 = 0, $incdec$ptr203$i = 0, $incdec$ptr206$i = 0, $incdec$ptr227$i = 0, $incdec$ptr242$i = 0, $incdec$ptr25$i = 0, $incdec$ptr264$i = 0, $incdec$ptr279$i = 0, $incdec$ptr28$i = 0, $incdec$ptr301$i = 0, $incdec$ptr322$i = 0, $incdec$ptr337$i = 0, $incdec$ptr359$i = 0, $incdec$ptr36$i = 0, $incdec$ptr374$i = 0, $incdec$ptr39$i = 0, $incdec$ptr396$i = 0, $incdec$ptr417$i = 0, $incdec$ptr432$i = 0, $incdec$ptr454$i = 0, $incdec$ptr469$i = 0, $incdec$ptr51$i = 0, $incdec$ptr78$i = 0, $incdec$ptr80$i = 0, $incdec$ptr93$i = 0, $index$0$i = 0, $input_scan_number$i = 0, $jpeg_color_space$i = 0, $length$0$i = 0, $length$0$lcssa$i = 0, $length$0$lcssa$i161 = 0, $length$0$lcssa$i222 = 0, $length$0144$i = 0, $length$0157$i = 0, $length$079$i = 0, $length$083$i = 0, $marker = 0, $natural_order$0$ph$i = 0, $natural_order$0173$i = 0, $next_input_byte$0$i = 0, $next_input_byte$0$i115 = 0, $next_input_byte$0$i179 = 0, $next_input_byte$0$i237 = 0, $next_input_byte$0$i289 = 0, $next_input_byte$0$i339 = 0, $next_input_byte$0$i61 = 0, $next_input_byte$0$i83 = 0, $next_input_byte$1$i = 0, $next_input_byte$1$i127 = 0, $next_input_byte$1$i191 = 0, $next_input_byte$1$i249 = 0, $next_input_byte$1$i297 = 0, $next_input_byte$1$i351 = 0, $next_input_byte$1$i66 = 0, $next_input_byte$1$i89 = 0, $next_input_byte$10$i = 0, $next_input_byte$11$i = 0, $next_input_byte$12$i = 0, $next_input_byte$13$i = 0, $next_input_byte$14$i = 0, $next_input_byte$15$i = 0, $next_input_byte$16$i = 0, $next_input_byte$17$i = 0, $next_input_byte$18$i = 0, $next_input_byte$19$i = 0, $next_input_byte$2$i = 0, $next_input_byte$2$i103 = 0, $next_input_byte$2$i261 = 0, $next_input_byte$2$i300 = 0, $next_input_byte$2$lcssa$i = 0, $next_input_byte$2$lcssa$i159 = 0, $next_input_byte$2$lcssa$i223 = 0, $next_input_byte$20$i = 0, $next_input_byte$21$i = 0, $next_input_byte$2142$i = 0, $next_input_byte$2158$i = 0, $next_input_byte$22$i = 0, $next_input_byte$23$i = 0, $next_input_byte$24$i = 0, $next_input_byte$25$i = 0, $next_input_byte$281$i = 0, $next_input_byte$285$i = 0, $next_input_byte$3$i = 0, $next_input_byte$3$i143 = 0, $next_input_byte$3$i200 = 0, $next_input_byte$3$i263 = 0, $next_input_byte$3$i307 = 0, $next_input_byte$3$i94 = 0, $next_input_byte$3$lcssa$i = 0, $next_input_byte$3169$i = 0, $next_input_byte$3169199$i = 0, $next_input_byte$3177$i = 0, $next_input_byte$4$1$i = 0, $next_input_byte$4$10$i = 0, $next_input_byte$4$11$i = 0, $next_input_byte$4$12$i = 0, $next_input_byte$4$13$i = 0, $next_input_byte$4$14$i = 0, $next_input_byte$4$15$i = 0, $next_input_byte$4$2$i = 0, $next_input_byte$4$3$i = 0, $next_input_byte$4$4$i = 0, $next_input_byte$4$5$i = 0, $next_input_byte$4$6$i = 0, $next_input_byte$4$7$i = 0, $next_input_byte$4$8$i = 0, $next_input_byte$4$9$i = 0, $next_input_byte$4$i = 0, $next_input_byte$4$i153 = 0, $next_input_byte$4$i215 = 0, $next_input_byte$4$i310 = 0, $next_input_byte$4$i96 = 0, $next_input_byte$4$lcssa$i = 0, $next_input_byte$4$us$i = 0, $next_input_byte$4131$i = 0, $next_input_byte$4149$i = 0, $next_input_byte$4149175$i = 0, $next_input_byte$4153$i = 0, $next_input_byte$4153$us$i = 0, $next_input_byte$5$1$i = 0, $next_input_byte$5$10$i = 0, $next_input_byte$5$11$i = 0, $next_input_byte$5$12$i = 0, $next_input_byte$5$13$i = 0, $next_input_byte$5$14$i = 0, $next_input_byte$5$15$i = 0, $next_input_byte$5$2$i = 0, $next_input_byte$5$3$i = 0, $next_input_byte$5$4$i = 0, $next_input_byte$5$5$i = 0, $next_input_byte$5$6$i = 0, $next_input_byte$5$7$i = 0, $next_input_byte$5$8$i = 0, $next_input_byte$5$9$i = 0, $next_input_byte$5$i = 0, $next_input_byte$5$i150 = 0, $next_input_byte$5$i312 = 0, $next_input_byte$5$us$i = 0, $next_input_byte$6$i = 0, $next_input_byte$6$i315 = 0, $next_input_byte$6$lcssa$i = 0, $next_input_byte$6$us$i = 0, $next_input_byte$6138$i = 0, $next_input_byte$7$i = 0, $next_input_byte$7$i155 = 0, $next_input_byte$7$i211 = 0, $next_input_byte$7$i320 = 0, $next_input_byte$8$i = 0, $next_input_byte$8$i323 = 0, $next_input_byte$9$i = 0, $num_components$i282 = 0, $restart_interval$i = 0, $retval$0 = 0, $saw_Adobe_marker$i = 0, $saw_JFIF_marker$i = 0, $saw_SOI$i = 0, $saw_SOI8$pre$phi$iZ2D = 0, $scevgep$i = 0, $scevgep2$i = 0, $scevgep3$i = 0, $shl$i = 0, $shl$i119 = 0, $shl$i183 = 0, $shl$i241 = 0, $shl$i294 = 0, $shl$i343 = 0, $shl$i87 = 0, $shl121$us$i = 0, $shl229$i = 0, $shl266$i = 0, $shl324$i = 0, $shl361$i = 0, $shl41$i = 0, $shl419$i = 0, $shl456$i = 0, $shl80$i = 0, $spec$select$i = 0, $spec$select$i220 = 0, $src$i = 0, $sub$i = 0, $sub$i197 = 0, $sub$i357 = 0, $sub171$i = 0, $sub174$i = 0, $sub66$i = 0, $tobool172$i = 0, $tobool69$i = 0, $unread_marker = 0, dest = 0, label = 0, sp = 0, stop = 0; sp = STACKTOP; STACKTOP = STACKTOP + 256 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(256); - $1 = sp; - $2 = $0 + 440 | 0; - $3 = $0 + 464 | 0; - $4 = $0 + 24 | 0; - $scevgep$i = $0 + 232 | 0; - $scevgep2$i = $0 + 248 | 0; - $scevgep3$i = $0 + 264 | 0; - $5 = $0 + 280 | 0; - $6 = $0 + 40 | 0; - $7 = $0 + 304 | 0; - $8 = $0 + 308 | 0; - $9 = $0 + 284 | 0; - $10 = $0 + 288 | 0; - $11 = $0 + 289 | 0; - $12 = $0 + 290 | 0; - $13 = $0 + 292 | 0; - $14 = $0 + 294 | 0; - $15 = $0 + 296 | 0; - $16 = $0 + 300 | 0; - $17 = $0 + 36 | 0; - $18 = $0 + 216 | 0; - $20 = HEAP32[$2 >> 2] | 0; + $huffval$i = sp; + $unread_marker = $cinfo + 440 | 0; + $marker = $cinfo + 464 | 0; + $src$i = $cinfo + 24 | 0; + $scevgep$i = $cinfo + 232 | 0; + $scevgep2$i = $cinfo + 248 | 0; + $scevgep3$i = $cinfo + 264 | 0; + $restart_interval$i = $cinfo + 280 | 0; + $jpeg_color_space$i = $cinfo + 40 | 0; + $color_transform$i = $cinfo + 304 | 0; + $CCIR601_sampling$i = $cinfo + 308 | 0; + $saw_JFIF_marker$i = $cinfo + 284 | 0; + $JFIF_major_version$i = $cinfo + 288 | 0; + $JFIF_minor_version$i = $cinfo + 289 | 0; + $density_unit$i = $cinfo + 290 | 0; + $X_density$i = $cinfo + 292 | 0; + $Y_density$i = $cinfo + 294 | 0; + $saw_Adobe_marker$i = $cinfo + 296 | 0; + $Adobe_transform$i = $cinfo + 300 | 0; + $num_components$i282 = $cinfo + 36 | 0; + $comp_info$i317 = $cinfo + 216 | 0; + $0 = HEAP32[$unread_marker >> 2] | 0; L1 : while (1) { - do if (!$20) { - if (HEAP32[(HEAP32[$3 >> 2] | 0) + 12 >> 2] | 0) { - if (!(_next_marker($0) | 0)) { - $$0 = 0; + do if (!$0) { + if (HEAP32[(HEAP32[$marker >> 2] | 0) + 12 >> 2] | 0) { + if (!(_next_marker($cinfo) | 0)) { + $retval$0 = 0; label = 350; break L1; } - $60 = HEAP32[$2 >> 2] | 0; + $16 = HEAP32[$unread_marker >> 2] | 0; break; } - $25 = HEAP32[$4 >> 2] | 0; - $26 = $25 + 4 | 0; - $27 = HEAP32[$26 >> 2] | 0; - if (!$27) { - if (!(FUNCTION_TABLE_ii[HEAP32[$25 + 12 >> 2] & 127]($0) | 0)) { - $$0 = 0; + $3 = HEAP32[$src$i >> 2] | 0; + $bytes_in_buffer2$i = $3 + 4 | 0; + $4 = HEAP32[$bytes_in_buffer2$i >> 2] | 0; + if (!$4) { + if (!(FUNCTION_TABLE_ii[HEAP32[$3 + 12 >> 2] & 127]($cinfo) | 0)) { + $retval$0 = 0; label = 350; break L1; } - $$0$i = HEAP32[$26 >> 2] | 0; - } else $$0$i = $27; - $$042$i = HEAP32[$25 >> 2] | 0; - $34 = $$0$i + -1 | 0; - $35 = $$042$i + 1 | 0; - $36 = HEAP8[$$042$i >> 0] | 0; - $37 = $36 & 255; - if (!$34) { - if (!(FUNCTION_TABLE_ii[HEAP32[$25 + 12 >> 2] & 127]($0) | 0)) { - $$0 = 0; + $bytes_in_buffer$0$i = HEAP32[$bytes_in_buffer2$i >> 2] | 0; + } else $bytes_in_buffer$0$i = $4; + $next_input_byte$0$i = HEAP32[$3 >> 2] | 0; + $dec$i = $bytes_in_buffer$0$i + -1 | 0; + $incdec$ptr$i = $next_input_byte$0$i + 1 | 0; + $7 = HEAP8[$next_input_byte$0$i >> 0] | 0; + $conv$i = $7 & 255; + if (!$dec$i) { + if (!(FUNCTION_TABLE_ii[HEAP32[$3 + 12 >> 2] & 127]($cinfo) | 0)) { + $retval$0 = 0; label = 350; break L1; } - $$1$i = HEAP32[$26 >> 2] | 0; - $$143$i = HEAP32[$25 >> 2] | 0; + $bytes_in_buffer$1$i = HEAP32[$bytes_in_buffer2$i >> 2] | 0; + $next_input_byte$1$i = HEAP32[$3 >> 2] | 0; } else { - $$1$i = $34; - $$143$i = $35; - } - $47 = HEAP8[$$143$i >> 0] | 0; - $48 = $47 & 255; - if ($36 << 24 >> 24 != -1 | $47 << 24 >> 24 != -40) { - $51 = HEAP32[$0 >> 2] | 0; - HEAP32[$51 + 20 >> 2] = 55; - HEAP32[$51 + 24 >> 2] = $37; - HEAP32[(HEAP32[$0 >> 2] | 0) + 28 >> 2] = $48; - FUNCTION_TABLE_vi[HEAP32[HEAP32[$0 >> 2] >> 2] & 255]($0); - } - HEAP32[$2 >> 2] = $48; - HEAP32[$25 >> 2] = $$143$i + 1; - HEAP32[$26 >> 2] = $$1$i + -1; - $60 = $48; - } else $60 = $20; while (0); - do switch ($60 | 0) { + $bytes_in_buffer$1$i = $dec$i; + $next_input_byte$1$i = $incdec$ptr$i; + } + $11 = HEAP8[$next_input_byte$1$i >> 0] | 0; + $conv21$i = $11 & 255; + if ($7 << 24 >> 24 != -1 | $11 << 24 >> 24 != -40) { + $12 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$12 + 20 >> 2] = 55; + HEAP32[$12 + 24 >> 2] = $conv$i; + HEAP32[(HEAP32[$cinfo >> 2] | 0) + 28 >> 2] = $conv21$i; + FUNCTION_TABLE_vi[HEAP32[HEAP32[$cinfo >> 2] >> 2] & 255]($cinfo); + } + HEAP32[$unread_marker >> 2] = $conv21$i; + HEAP32[$3 >> 2] = $next_input_byte$1$i + 1; + HEAP32[$bytes_in_buffer2$i >> 2] = $bytes_in_buffer$1$i + -1; + $16 = $conv21$i; + } else $16 = $0; while (0); + do switch ($16 | 0) { case 218: { label = 25; @@ -6446,15 +6450,15 @@ function _read_markers($0) { } case 216: { - $61 = HEAP32[$0 >> 2] | 0; - HEAP32[$61 + 20 >> 2] = 104; - FUNCTION_TABLE_vii[HEAP32[$61 + 4 >> 2] & 255]($0, 1); - $66 = (HEAP32[$3 >> 2] | 0) + 12 | 0; - if (!(HEAP32[$66 >> 2] | 0)) $$pre$phi$iZ2D = $66; else { - $69 = HEAP32[$0 >> 2] | 0; - HEAP32[$69 + 20 >> 2] = 64; - FUNCTION_TABLE_vi[HEAP32[$69 >> 2] & 255]($0); - $$pre$phi$iZ2D = (HEAP32[$3 >> 2] | 0) + 12 | 0; + $17 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$17 + 20 >> 2] = 104; + FUNCTION_TABLE_vii[HEAP32[$17 + 4 >> 2] & 255]($cinfo, 1); + $saw_SOI$i = (HEAP32[$marker >> 2] | 0) + 12 | 0; + if (!(HEAP32[$saw_SOI$i >> 2] | 0)) $saw_SOI8$pre$phi$iZ2D = $saw_SOI$i; else { + $21 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$21 + 20 >> 2] = 64; + FUNCTION_TABLE_vi[HEAP32[$21 >> 2] & 255]($cinfo); + $saw_SOI8$pre$phi$iZ2D = (HEAP32[$marker >> 2] | 0) + 12 | 0; } dest = $scevgep$i; stop = dest + 16 | 0; @@ -6474,25 +6478,25 @@ function _read_markers($0) { HEAP8[dest >> 0] = 5; dest = dest + 1 | 0; } while ((dest | 0) < (stop | 0)); - HEAP32[$5 >> 2] = 0; - HEAP32[$6 >> 2] = 0; - HEAP32[$7 >> 2] = 0; - HEAP32[$8 >> 2] = 0; - HEAP32[$9 >> 2] = 0; - HEAP8[$10 >> 0] = 1; - HEAP8[$11 >> 0] = 1; - HEAP8[$12 >> 0] = 0; - HEAP16[$13 >> 1] = 1; - HEAP16[$14 >> 1] = 1; - HEAP32[$15 >> 2] = 0; - HEAP8[$16 >> 0] = 0; - HEAP32[$$pre$phi$iZ2D >> 2] = 1; + HEAP32[$restart_interval$i >> 2] = 0; + HEAP32[$jpeg_color_space$i >> 2] = 0; + HEAP32[$color_transform$i >> 2] = 0; + HEAP32[$CCIR601_sampling$i >> 2] = 0; + HEAP32[$saw_JFIF_marker$i >> 2] = 0; + HEAP8[$JFIF_major_version$i >> 0] = 1; + HEAP8[$JFIF_minor_version$i >> 0] = 1; + HEAP8[$density_unit$i >> 0] = 0; + HEAP16[$X_density$i >> 1] = 1; + HEAP16[$Y_density$i >> 1] = 1; + HEAP32[$saw_Adobe_marker$i >> 2] = 0; + HEAP8[$Adobe_transform$i >> 0] = 0; + HEAP32[$saw_SOI8$pre$phi$iZ2D >> 2] = 1; break; } case 192: { - if (!(_get_sof($0, 1, 0, 0) | 0)) { - $$0 = 0; + if (!(_get_sof($cinfo, 1, 0, 0) | 0)) { + $retval$0 = 0; label = 350; break L1; } @@ -6500,8 +6504,8 @@ function _read_markers($0) { } case 193: { - if (!(_get_sof($0, 0, 0, 0) | 0)) { - $$0 = 0; + if (!(_get_sof($cinfo, 0, 0, 0) | 0)) { + $retval$0 = 0; label = 350; break L1; } @@ -6509,8 +6513,8 @@ function _read_markers($0) { } case 194: { - if (!(_get_sof($0, 0, 1, 0) | 0)) { - $$0 = 0; + if (!(_get_sof($cinfo, 0, 1, 0) | 0)) { + $retval$0 = 0; label = 350; break L1; } @@ -6518,8 +6522,8 @@ function _read_markers($0) { } case 201: { - if (!(_get_sof($0, 0, 0, 1) | 0)) { - $$0 = 0; + if (!(_get_sof($cinfo, 0, 0, 1) | 0)) { + $retval$0 = 0; label = 350; break L1; } @@ -6527,8 +6531,8 @@ function _read_markers($0) { } case 202: { - if (!(_get_sof($0, 0, 1, 1) | 0)) { - $$0 = 0; + if (!(_get_sof($cinfo, 0, 1, 1) | 0)) { + $retval$0 = 0; label = 350; break L1; } @@ -6544,1519 +6548,1519 @@ function _read_markers($0) { case 197: case 195: { - $82 = HEAP32[$0 >> 2] | 0; - HEAP32[$82 + 20 >> 2] = 63; - HEAP32[$82 + 24 >> 2] = $60; - FUNCTION_TABLE_vi[HEAP32[HEAP32[$0 >> 2] >> 2] & 255]($0); + $23 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$23 + 20 >> 2] = 63; + HEAP32[$23 + 24 >> 2] = $16; + FUNCTION_TABLE_vi[HEAP32[HEAP32[$cinfo >> 2] >> 2] & 255]($cinfo); break; } case 204: { - $282 = HEAP32[$4 >> 2] | 0; - $283 = $282 + 4 | 0; - $284 = HEAP32[$283 >> 2] | 0; - if (!$284) { - if (!(FUNCTION_TABLE_ii[HEAP32[$282 + 12 >> 2] & 127]($0) | 0)) { - $$0 = 0; + $101 = HEAP32[$src$i >> 2] | 0; + $bytes_in_buffer2$i75 = $101 + 4 | 0; + $102 = HEAP32[$bytes_in_buffer2$i75 >> 2] | 0; + if (!$102) { + if (!(FUNCTION_TABLE_ii[HEAP32[$101 + 12 >> 2] & 127]($cinfo) | 0)) { + $retval$0 = 0; label = 350; break L1; } - $$0$i46 = HEAP32[$283 >> 2] | 0; - } else $$0$i46 = $284; - $$087$i = HEAP32[$282 >> 2] | 0; - $291 = $$0$i46 + -1 | 0; - $292 = $$087$i + 1 | 0; - $295 = HEAPU8[$$087$i >> 0] << 8; - if (!$291) { - if (!(FUNCTION_TABLE_ii[HEAP32[$282 + 12 >> 2] & 127]($0) | 0)) { - $$0 = 0; + $bytes_in_buffer$0$i82 = HEAP32[$bytes_in_buffer2$i75 >> 2] | 0; + } else $bytes_in_buffer$0$i82 = $102; + $next_input_byte$0$i83 = HEAP32[$101 >> 2] | 0; + $dec$i84 = $bytes_in_buffer$0$i82 + -1 | 0; + $incdec$ptr$i85 = $next_input_byte$0$i83 + 1 | 0; + $shl$i87 = HEAPU8[$next_input_byte$0$i83 >> 0] << 8; + if (!$dec$i84) { + if (!(FUNCTION_TABLE_ii[HEAP32[$101 + 12 >> 2] & 127]($cinfo) | 0)) { + $retval$0 = 0; label = 350; break L1; } - $$1$i47 = HEAP32[$283 >> 2] | 0; - $$188$i = HEAP32[$282 >> 2] | 0; + $bytes_in_buffer$1$i90 = HEAP32[$bytes_in_buffer2$i75 >> 2] | 0; + $next_input_byte$1$i89 = HEAP32[$101 >> 2] | 0; } else { - $$1$i47 = $291; - $$188$i = $292; - } - $305 = $295 | HEAPU8[$$188$i >> 0]; - $$09397$i = $305 + -2 | 0; - $$298$i = $$1$i47 + -1 | 0; - $$28999$i = $$188$i + 1 | 0; - if ($305 >>> 0 > 2) { - $307 = $282 + 12 | 0; - $$093100$i = $$09397$i; - $$2101$i = $$298$i; - $$289102$i = $$28999$i; + $bytes_in_buffer$1$i90 = $dec$i84; + $next_input_byte$1$i89 = $incdec$ptr$i85; + } + $add$i91 = $shl$i87 | HEAPU8[$next_input_byte$1$i89 >> 0]; + $length$079$i = $add$i91 + -2 | 0; + $bytes_in_buffer$280$i = $bytes_in_buffer$1$i90 + -1 | 0; + $next_input_byte$281$i = $next_input_byte$1$i89 + 1 | 0; + if ($add$i91 >>> 0 > 2) { + $fill_input_buffer27$i = $101 + 12 | 0; + $bytes_in_buffer$284$i = $bytes_in_buffer$280$i; + $length$083$i = $length$079$i; + $next_input_byte$285$i = $next_input_byte$281$i; while (1) { - if (!$$2101$i) { - if (!(FUNCTION_TABLE_ii[HEAP32[$307 >> 2] & 127]($0) | 0)) { - $$0 = 0; + if (!$bytes_in_buffer$284$i) { + if (!(FUNCTION_TABLE_ii[HEAP32[$fill_input_buffer27$i >> 2] & 127]($cinfo) | 0)) { + $retval$0 = 0; label = 350; break L1; } - $$3$i49 = HEAP32[$283 >> 2] | 0; - $$390$i = HEAP32[$282 >> 2] | 0; + $bytes_in_buffer$3$i95 = HEAP32[$bytes_in_buffer2$i75 >> 2] | 0; + $next_input_byte$3$i94 = HEAP32[$101 >> 2] | 0; } else { - $$3$i49 = $$2101$i; - $$390$i = $$289102$i; - } - $314 = $$3$i49 + -1 | 0; - $315 = $$390$i + 1 | 0; - $316 = HEAP8[$$390$i >> 0] | 0; - $317 = $316 & 255; - if (!$314) { - if (!(FUNCTION_TABLE_ii[HEAP32[$307 >> 2] & 127]($0) | 0)) { - $$0 = 0; + $bytes_in_buffer$3$i95 = $bytes_in_buffer$284$i; + $next_input_byte$3$i94 = $next_input_byte$285$i; + } + $dec35$i = $bytes_in_buffer$3$i95 + -1 | 0; + $incdec$ptr36$i = $next_input_byte$3$i94 + 1 | 0; + $113 = HEAP8[$next_input_byte$3$i94 >> 0] | 0; + $conv37$i = $113 & 255; + if (!$dec35$i) { + if (!(FUNCTION_TABLE_ii[HEAP32[$fill_input_buffer27$i >> 2] & 127]($cinfo) | 0)) { + $retval$0 = 0; label = 350; break L1; } - $$4$i50 = HEAP32[$283 >> 2] | 0; - $$491$i = HEAP32[$282 >> 2] | 0; + $bytes_in_buffer$4$i97 = HEAP32[$bytes_in_buffer2$i75 >> 2] | 0; + $next_input_byte$4$i96 = HEAP32[$101 >> 2] | 0; } else { - $$4$i50 = $314; - $$491$i = $315; - } - $324 = HEAP8[$$491$i >> 0] | 0; - $325 = $324 & 255; - $326 = HEAP32[$0 >> 2] | 0; - HEAP32[$326 + 20 >> 2] = 81; - HEAP32[$326 + 24 >> 2] = $317; - HEAP32[(HEAP32[$0 >> 2] | 0) + 28 >> 2] = $325; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$0 >> 2] | 0) + 4 >> 2] & 255]($0, 1); - if (($316 & 255) <= 31) if (($316 & 255) <= 15) { - $343 = $325 & 15; - HEAP8[$0 + 232 + $317 >> 0] = $343; - $346 = ($324 & 255) >>> 4; - HEAP8[$0 + 248 + $317 >> 0] = $346; - if ($343 >>> 0 > ($346 & 255) >>> 0) { - $350 = HEAP32[$0 >> 2] | 0; - HEAP32[$350 + 20 >> 2] = 30; - HEAP32[$350 + 24 >> 2] = $325; - FUNCTION_TABLE_vi[HEAP32[HEAP32[$0 >> 2] >> 2] & 255]($0); + $bytes_in_buffer$4$i97 = $dec35$i; + $next_input_byte$4$i96 = $incdec$ptr36$i; + } + $117 = HEAP8[$next_input_byte$4$i96 >> 0] | 0; + $conv54$i = $117 & 255; + $118 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$118 + 20 >> 2] = 81; + HEAP32[$118 + 24 >> 2] = $conv37$i; + HEAP32[(HEAP32[$cinfo >> 2] | 0) + 28 >> 2] = $conv54$i; + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$cinfo >> 2] | 0) + 4 >> 2] & 255]($cinfo, 1); + if (($113 & 255) <= 31) if (($113 & 255) <= 15) { + $and$i = $conv54$i & 15; + HEAP8[$cinfo + 232 + $conv37$i >> 0] = $and$i; + $125 = ($117 & 255) >>> 4; + HEAP8[$cinfo + 248 + $conv37$i >> 0] = $125; + if ($and$i >>> 0 > ($125 & 255) >>> 0) { + $126 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$126 + 20 >> 2] = 30; + HEAP32[$126 + 24 >> 2] = $conv54$i; + FUNCTION_TABLE_vi[HEAP32[HEAP32[$cinfo >> 2] >> 2] & 255]($cinfo); } } else label = 93; else { - $335 = HEAP32[$0 >> 2] | 0; - HEAP32[$335 + 20 >> 2] = 29; - HEAP32[$335 + 24 >> 2] = $317; - FUNCTION_TABLE_vi[HEAP32[HEAP32[$0 >> 2] >> 2] & 255]($0); + $122 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$122 + 20 >> 2] = 29; + HEAP32[$122 + 24 >> 2] = $conv37$i; + FUNCTION_TABLE_vi[HEAP32[HEAP32[$cinfo >> 2] >> 2] & 255]($cinfo); label = 93; } if ((label | 0) == 93) { label = 0; - HEAP8[$317 + -16 + ($0 + 264) >> 0] = $324; - } - $$093$i = $$093100$i + -2 | 0; - $$2$i52 = $$4$i50 + -1 | 0; - $$289$i = $$491$i + 1 | 0; - if (($$093100$i | 0) > 2) { - $$093100$i = $$093$i; - $$2101$i = $$2$i52; - $$289102$i = $$289$i; + HEAP8[$conv37$i + -16 + ($cinfo + 264) >> 0] = $117; + } + $length$0$i = $length$083$i + -2 | 0; + $bytes_in_buffer$2$i102 = $bytes_in_buffer$4$i97 + -1 | 0; + $next_input_byte$2$i103 = $next_input_byte$4$i96 + 1 | 0; + if (($length$083$i | 0) > 2) { + $bytes_in_buffer$284$i = $bytes_in_buffer$2$i102; + $length$083$i = $length$0$i; + $next_input_byte$285$i = $next_input_byte$2$i103; } else { - $$093$lcssa$i = $$093$i; - $$2$lcssa$i = $$2$i52; - $$289$lcssa$i = $$289$i; + $bytes_in_buffer$2$lcssa$i = $bytes_in_buffer$2$i102; + $length$0$lcssa$i = $length$0$i; + $next_input_byte$2$lcssa$i = $next_input_byte$2$i103; break; } } } else { - $$093$lcssa$i = $$09397$i; - $$2$lcssa$i = $$298$i; - $$289$lcssa$i = $$28999$i; + $bytes_in_buffer$2$lcssa$i = $bytes_in_buffer$280$i; + $length$0$lcssa$i = $length$079$i; + $next_input_byte$2$lcssa$i = $next_input_byte$281$i; } - if ($$093$lcssa$i | 0) { - $357 = HEAP32[$0 >> 2] | 0; - HEAP32[$357 + 20 >> 2] = 12; - FUNCTION_TABLE_vi[HEAP32[$357 >> 2] & 255]($0); + if ($length$0$lcssa$i | 0) { + $129 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$129 + 20 >> 2] = 12; + FUNCTION_TABLE_vi[HEAP32[$129 >> 2] & 255]($cinfo); } - HEAP32[$282 >> 2] = $$289$lcssa$i; - HEAP32[$283 >> 2] = $$2$lcssa$i; + HEAP32[$101 >> 2] = $next_input_byte$2$lcssa$i; + HEAP32[$bytes_in_buffer2$i75 >> 2] = $bytes_in_buffer$2$lcssa$i; break; } case 196: { - $360 = HEAP32[$4 >> 2] | 0; - $361 = $360 + 4 | 0; - $362 = HEAP32[$361 >> 2] | 0; - if (!$362) { - if (!(FUNCTION_TABLE_ii[HEAP32[$360 + 12 >> 2] & 127]($0) | 0)) { + $131 = HEAP32[$src$i >> 2] | 0; + $bytes_in_buffer2$i107 = $131 + 4 | 0; + $132 = HEAP32[$bytes_in_buffer2$i107 >> 2] | 0; + if (!$132) { + if (!(FUNCTION_TABLE_ii[HEAP32[$131 + 12 >> 2] & 127]($cinfo) | 0)) { label = 174; break L1; } - $$0135$i = HEAP32[$361 >> 2] | 0; - } else $$0135$i = $362; - $$0136$i = HEAP32[$360 >> 2] | 0; - $369 = $$0135$i + -1 | 0; - $370 = $$0136$i + 1 | 0; - $373 = HEAPU8[$$0136$i >> 0] << 8; - if (!$369) { - if (!(FUNCTION_TABLE_ii[HEAP32[$360 + 12 >> 2] & 127]($0) | 0)) { + $bytes_in_buffer$0$i114 = HEAP32[$bytes_in_buffer2$i107 >> 2] | 0; + } else $bytes_in_buffer$0$i114 = $132; + $next_input_byte$0$i115 = HEAP32[$131 >> 2] | 0; + $dec$i116 = $bytes_in_buffer$0$i114 + -1 | 0; + $incdec$ptr$i117 = $next_input_byte$0$i115 + 1 | 0; + $shl$i119 = HEAPU8[$next_input_byte$0$i115 >> 0] << 8; + if (!$dec$i116) { + if (!(FUNCTION_TABLE_ii[HEAP32[$131 + 12 >> 2] & 127]($cinfo) | 0)) { label = 174; break L1; } - $$1$i55 = HEAP32[$361 >> 2] | 0; - $$1137$i = HEAP32[$360 >> 2] | 0; + $bytes_in_buffer$1$i128 = HEAP32[$bytes_in_buffer2$i107 >> 2] | 0; + $next_input_byte$1$i127 = HEAP32[$131 >> 2] | 0; } else { - $$1$i55 = $369; - $$1137$i = $370; - } - $381 = $$1$i55 + -1 | 0; - $382 = $$1137$i + 1 | 0; - $385 = $373 | HEAPU8[$$1137$i >> 0]; - $386 = $385 + -2 | 0; - if ($385 >>> 0 > 18) { - $388 = $360 + 12 | 0; - $$0134177$i = $386; - $$2138175$i = $382; - $$2176$i = $381; + $bytes_in_buffer$1$i128 = $dec$i116; + $next_input_byte$1$i127 = $incdec$ptr$i117; + } + $dec18$i = $bytes_in_buffer$1$i128 + -1 | 0; + $incdec$ptr19$i = $next_input_byte$1$i127 + 1 | 0; + $add$i130 = $shl$i119 | HEAPU8[$next_input_byte$1$i127 >> 0]; + $sub$i = $add$i130 + -2 | 0; + if ($add$i130 >>> 0 > 18) { + $fill_input_buffer27$i132 = $131 + 12 | 0; + $bytes_in_buffer$2143$i = $dec18$i; + $length$0144$i = $sub$i; + $next_input_byte$2142$i = $incdec$ptr19$i; while (1) { - if (!$$2176$i) { - if (!(FUNCTION_TABLE_ii[HEAP32[$388 >> 2] & 127]($0) | 0)) { + if (!$bytes_in_buffer$2143$i) { + if (!(FUNCTION_TABLE_ii[HEAP32[$fill_input_buffer27$i132 >> 2] & 127]($cinfo) | 0)) { label = 174; break L1; } - $$3$i56 = HEAP32[$361 >> 2] | 0; - $$3139$i = HEAP32[$360 >> 2] | 0; + $bytes_in_buffer$3$i144 = HEAP32[$bytes_in_buffer2$i107 >> 2] | 0; + $next_input_byte$3$i143 = HEAP32[$131 >> 2] | 0; } else { - $$3$i56 = $$2176$i; - $$3139$i = $$2138175$i; - } - $396 = HEAPU8[$$3139$i >> 0] | 0; - $397 = HEAP32[$0 >> 2] | 0; - HEAP32[$397 + 20 >> 2] = 82; - HEAP32[$397 + 24 >> 2] = $396; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$0 >> 2] | 0) + 4 >> 2] & 255]($0, 1); - $$4165$i = $$3$i56 + -1 | 0; - $$4140166$i = $$3139$i + 1 | 0; - if (!$$4165$i) { - if (!(FUNCTION_TABLE_ii[HEAP32[$388 >> 2] & 127]($0) | 0)) { + $bytes_in_buffer$3$i144 = $bytes_in_buffer$2143$i; + $next_input_byte$3$i143 = $next_input_byte$2142$i; + } + $conv37$i145 = HEAPU8[$next_input_byte$3$i143 >> 0] | 0; + $144 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$144 + 20 >> 2] = 82; + HEAP32[$144 + 24 >> 2] = $conv37$i145; + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$cinfo >> 2] | 0) + 4 >> 2] & 255]($cinfo, 1); + $bytes_in_buffer$4130$i = $bytes_in_buffer$3$i144 + -1 | 0; + $next_input_byte$4131$i = $next_input_byte$3$i143 + 1 | 0; + if (!$bytes_in_buffer$4130$i) { + if (!(FUNCTION_TABLE_ii[HEAP32[$fill_input_buffer27$i132 >> 2] & 127]($cinfo) | 0)) { label = 174; break L1; } - $$5$i57 = HEAP32[$361 >> 2] | 0; - $$5141$i = HEAP32[$360 >> 2] | 0; + $bytes_in_buffer$5$i151 = HEAP32[$bytes_in_buffer2$i107 >> 2] | 0; + $next_input_byte$5$i150 = HEAP32[$131 >> 2] | 0; } else { - $$5$i57 = $$4165$i; - $$5141$i = $$4140166$i; - } - $409 = HEAP8[$$5141$i >> 0] | 0; - $410 = $409 & 255; - $$4$i58 = $$5$i57 + -1 | 0; - $$4140$i = $$5141$i + 1 | 0; - if (!$$4$i58) { - if (!(FUNCTION_TABLE_ii[HEAP32[$388 >> 2] & 127]($0) | 0)) { + $bytes_in_buffer$5$i151 = $bytes_in_buffer$4130$i; + $next_input_byte$5$i150 = $next_input_byte$4131$i; + } + $150 = HEAP8[$next_input_byte$5$i150 >> 0] | 0; + $conv64$i = $150 & 255; + $bytes_in_buffer$4$i152 = $bytes_in_buffer$5$i151 + -1 | 0; + $next_input_byte$4$i153 = $next_input_byte$5$i150 + 1 | 0; + if (!$bytes_in_buffer$4$i152) { + if (!(FUNCTION_TABLE_ii[HEAP32[$fill_input_buffer27$i132 >> 2] & 127]($cinfo) | 0)) { label = 174; break L1; } - $$5$1$i = HEAP32[$361 >> 2] | 0; - $$5141$1$i = HEAP32[$360 >> 2] | 0; + $bytes_in_buffer$5$1$i = HEAP32[$bytes_in_buffer2$i107 >> 2] | 0; + $next_input_byte$5$1$i = HEAP32[$131 >> 2] | 0; } else { - $$5$1$i = $$4$i58; - $$5141$1$i = $$4140$i; - } - $447 = HEAP8[$$5141$1$i >> 0] | 0; - $474 = $447 & 255; - $475 = $474 + $410 | 0; - $$4$1$i = $$5$1$i + -1 | 0; - $$4140$1$i = $$5141$1$i + 1 | 0; - if (!$$4$1$i) { - if (!(FUNCTION_TABLE_ii[HEAP32[$388 >> 2] & 127]($0) | 0)) { + $bytes_in_buffer$5$1$i = $bytes_in_buffer$4$i152; + $next_input_byte$5$1$i = $next_input_byte$4$i153; + } + $163 = HEAP8[$next_input_byte$5$1$i >> 0] | 0; + $conv64$1$i = $163 & 255; + $add65$1$i = $conv64$1$i + $conv64$i | 0; + $bytes_in_buffer$4$1$i = $bytes_in_buffer$5$1$i + -1 | 0; + $next_input_byte$4$1$i = $next_input_byte$5$1$i + 1 | 0; + if (!$bytes_in_buffer$4$1$i) { + if (!(FUNCTION_TABLE_ii[HEAP32[$fill_input_buffer27$i132 >> 2] & 127]($cinfo) | 0)) { label = 174; break L1; } - $$5$2$i = HEAP32[$361 >> 2] | 0; - $$5141$2$i = HEAP32[$360 >> 2] | 0; + $bytes_in_buffer$5$2$i = HEAP32[$bytes_in_buffer2$i107 >> 2] | 0; + $next_input_byte$5$2$i = HEAP32[$131 >> 2] | 0; } else { - $$5$2$i = $$4$1$i; - $$5141$2$i = $$4140$1$i; - } - $448 = HEAP8[$$5141$2$i >> 0] | 0; - $482 = $448 & 255; - $483 = $475 + $482 | 0; - $$4$2$i = $$5$2$i + -1 | 0; - $$4140$2$i = $$5141$2$i + 1 | 0; - if (!$$4$2$i) { - if (!(FUNCTION_TABLE_ii[HEAP32[$388 >> 2] & 127]($0) | 0)) { + $bytes_in_buffer$5$2$i = $bytes_in_buffer$4$1$i; + $next_input_byte$5$2$i = $next_input_byte$4$1$i; + } + $164 = HEAP8[$next_input_byte$5$2$i >> 0] | 0; + $conv64$2$i = $164 & 255; + $add65$2$i = $add65$1$i + $conv64$2$i | 0; + $bytes_in_buffer$4$2$i = $bytes_in_buffer$5$2$i + -1 | 0; + $next_input_byte$4$2$i = $next_input_byte$5$2$i + 1 | 0; + if (!$bytes_in_buffer$4$2$i) { + if (!(FUNCTION_TABLE_ii[HEAP32[$fill_input_buffer27$i132 >> 2] & 127]($cinfo) | 0)) { label = 174; break L1; } - $$5$3$i = HEAP32[$361 >> 2] | 0; - $$5141$3$i = HEAP32[$360 >> 2] | 0; + $bytes_in_buffer$5$3$i = HEAP32[$bytes_in_buffer2$i107 >> 2] | 0; + $next_input_byte$5$3$i = HEAP32[$131 >> 2] | 0; } else { - $$5$3$i = $$4$2$i; - $$5141$3$i = $$4140$2$i; - } - $449 = HEAP8[$$5141$3$i >> 0] | 0; - $490 = $449 & 255; - $491 = $483 + $490 | 0; - $$4$3$i = $$5$3$i + -1 | 0; - $$4140$3$i = $$5141$3$i + 1 | 0; - if (!$$4$3$i) { - if (!(FUNCTION_TABLE_ii[HEAP32[$388 >> 2] & 127]($0) | 0)) { + $bytes_in_buffer$5$3$i = $bytes_in_buffer$4$2$i; + $next_input_byte$5$3$i = $next_input_byte$4$2$i; + } + $165 = HEAP8[$next_input_byte$5$3$i >> 0] | 0; + $conv64$3$i = $165 & 255; + $add65$3$i = $add65$2$i + $conv64$3$i | 0; + $bytes_in_buffer$4$3$i = $bytes_in_buffer$5$3$i + -1 | 0; + $next_input_byte$4$3$i = $next_input_byte$5$3$i + 1 | 0; + if (!$bytes_in_buffer$4$3$i) { + if (!(FUNCTION_TABLE_ii[HEAP32[$fill_input_buffer27$i132 >> 2] & 127]($cinfo) | 0)) { label = 174; break L1; } - $$5$4$i = HEAP32[$361 >> 2] | 0; - $$5141$4$i = HEAP32[$360 >> 2] | 0; + $bytes_in_buffer$5$4$i = HEAP32[$bytes_in_buffer2$i107 >> 2] | 0; + $next_input_byte$5$4$i = HEAP32[$131 >> 2] | 0; } else { - $$5$4$i = $$4$3$i; - $$5141$4$i = $$4140$3$i; - } - $450 = HEAP8[$$5141$4$i >> 0] | 0; - $498 = $450 & 255; - $499 = $491 + $498 | 0; - $$4$4$i = $$5$4$i + -1 | 0; - $$4140$4$i = $$5141$4$i + 1 | 0; - if (!$$4$4$i) { - if (!(FUNCTION_TABLE_ii[HEAP32[$388 >> 2] & 127]($0) | 0)) { + $bytes_in_buffer$5$4$i = $bytes_in_buffer$4$3$i; + $next_input_byte$5$4$i = $next_input_byte$4$3$i; + } + $166 = HEAP8[$next_input_byte$5$4$i >> 0] | 0; + $conv64$4$i = $166 & 255; + $add65$4$i = $add65$3$i + $conv64$4$i | 0; + $bytes_in_buffer$4$4$i = $bytes_in_buffer$5$4$i + -1 | 0; + $next_input_byte$4$4$i = $next_input_byte$5$4$i + 1 | 0; + if (!$bytes_in_buffer$4$4$i) { + if (!(FUNCTION_TABLE_ii[HEAP32[$fill_input_buffer27$i132 >> 2] & 127]($cinfo) | 0)) { label = 174; break L1; } - $$5$5$i = HEAP32[$361 >> 2] | 0; - $$5141$5$i = HEAP32[$360 >> 2] | 0; + $bytes_in_buffer$5$5$i = HEAP32[$bytes_in_buffer2$i107 >> 2] | 0; + $next_input_byte$5$5$i = HEAP32[$131 >> 2] | 0; } else { - $$5$5$i = $$4$4$i; - $$5141$5$i = $$4140$4$i; - } - $451 = HEAP8[$$5141$5$i >> 0] | 0; - $506 = $451 & 255; - $507 = $499 + $506 | 0; - $$4$5$i = $$5$5$i + -1 | 0; - $$4140$5$i = $$5141$5$i + 1 | 0; - if (!$$4$5$i) { - if (!(FUNCTION_TABLE_ii[HEAP32[$388 >> 2] & 127]($0) | 0)) { + $bytes_in_buffer$5$5$i = $bytes_in_buffer$4$4$i; + $next_input_byte$5$5$i = $next_input_byte$4$4$i; + } + $167 = HEAP8[$next_input_byte$5$5$i >> 0] | 0; + $conv64$5$i = $167 & 255; + $add65$5$i = $add65$4$i + $conv64$5$i | 0; + $bytes_in_buffer$4$5$i = $bytes_in_buffer$5$5$i + -1 | 0; + $next_input_byte$4$5$i = $next_input_byte$5$5$i + 1 | 0; + if (!$bytes_in_buffer$4$5$i) { + if (!(FUNCTION_TABLE_ii[HEAP32[$fill_input_buffer27$i132 >> 2] & 127]($cinfo) | 0)) { label = 174; break L1; } - $$5$6$i = HEAP32[$361 >> 2] | 0; - $$5141$6$i = HEAP32[$360 >> 2] | 0; + $bytes_in_buffer$5$6$i = HEAP32[$bytes_in_buffer2$i107 >> 2] | 0; + $next_input_byte$5$6$i = HEAP32[$131 >> 2] | 0; } else { - $$5$6$i = $$4$5$i; - $$5141$6$i = $$4140$5$i; - } - $452 = HEAP8[$$5141$6$i >> 0] | 0; - $514 = $452 & 255; - $515 = $507 + $514 | 0; - $$4$6$i = $$5$6$i + -1 | 0; - $$4140$6$i = $$5141$6$i + 1 | 0; - if (!$$4$6$i) { - if (!(FUNCTION_TABLE_ii[HEAP32[$388 >> 2] & 127]($0) | 0)) { + $bytes_in_buffer$5$6$i = $bytes_in_buffer$4$5$i; + $next_input_byte$5$6$i = $next_input_byte$4$5$i; + } + $168 = HEAP8[$next_input_byte$5$6$i >> 0] | 0; + $conv64$6$i = $168 & 255; + $add65$6$i = $add65$5$i + $conv64$6$i | 0; + $bytes_in_buffer$4$6$i = $bytes_in_buffer$5$6$i + -1 | 0; + $next_input_byte$4$6$i = $next_input_byte$5$6$i + 1 | 0; + if (!$bytes_in_buffer$4$6$i) { + if (!(FUNCTION_TABLE_ii[HEAP32[$fill_input_buffer27$i132 >> 2] & 127]($cinfo) | 0)) { label = 174; break L1; } - $$5$7$i = HEAP32[$361 >> 2] | 0; - $$5141$7$i = HEAP32[$360 >> 2] | 0; + $bytes_in_buffer$5$7$i = HEAP32[$bytes_in_buffer2$i107 >> 2] | 0; + $next_input_byte$5$7$i = HEAP32[$131 >> 2] | 0; } else { - $$5$7$i = $$4$6$i; - $$5141$7$i = $$4140$6$i; - } - $453 = HEAP8[$$5141$7$i >> 0] | 0; - $522 = $453 & 255; - $523 = $515 + $522 | 0; - $$4$7$i = $$5$7$i + -1 | 0; - $$4140$7$i = $$5141$7$i + 1 | 0; - if (!$$4$7$i) { - if (!(FUNCTION_TABLE_ii[HEAP32[$388 >> 2] & 127]($0) | 0)) { + $bytes_in_buffer$5$7$i = $bytes_in_buffer$4$6$i; + $next_input_byte$5$7$i = $next_input_byte$4$6$i; + } + $169 = HEAP8[$next_input_byte$5$7$i >> 0] | 0; + $conv64$7$i = $169 & 255; + $add65$7$i = $add65$6$i + $conv64$7$i | 0; + $bytes_in_buffer$4$7$i = $bytes_in_buffer$5$7$i + -1 | 0; + $next_input_byte$4$7$i = $next_input_byte$5$7$i + 1 | 0; + if (!$bytes_in_buffer$4$7$i) { + if (!(FUNCTION_TABLE_ii[HEAP32[$fill_input_buffer27$i132 >> 2] & 127]($cinfo) | 0)) { label = 174; break L1; } - $$5$8$i = HEAP32[$361 >> 2] | 0; - $$5141$8$i = HEAP32[$360 >> 2] | 0; + $bytes_in_buffer$5$8$i = HEAP32[$bytes_in_buffer2$i107 >> 2] | 0; + $next_input_byte$5$8$i = HEAP32[$131 >> 2] | 0; } else { - $$5$8$i = $$4$7$i; - $$5141$8$i = $$4140$7$i; - } - $454 = HEAP8[$$5141$8$i >> 0] | 0; - $530 = $454 & 255; - $531 = $523 + $530 | 0; - $$4$8$i = $$5$8$i + -1 | 0; - $$4140$8$i = $$5141$8$i + 1 | 0; - if (!$$4$8$i) { - if (!(FUNCTION_TABLE_ii[HEAP32[$388 >> 2] & 127]($0) | 0)) { + $bytes_in_buffer$5$8$i = $bytes_in_buffer$4$7$i; + $next_input_byte$5$8$i = $next_input_byte$4$7$i; + } + $170 = HEAP8[$next_input_byte$5$8$i >> 0] | 0; + $conv64$8$i = $170 & 255; + $add65$8$i = $add65$7$i + $conv64$8$i | 0; + $bytes_in_buffer$4$8$i = $bytes_in_buffer$5$8$i + -1 | 0; + $next_input_byte$4$8$i = $next_input_byte$5$8$i + 1 | 0; + if (!$bytes_in_buffer$4$8$i) { + if (!(FUNCTION_TABLE_ii[HEAP32[$fill_input_buffer27$i132 >> 2] & 127]($cinfo) | 0)) { label = 174; break L1; } - $$5$9$i = HEAP32[$361 >> 2] | 0; - $$5141$9$i = HEAP32[$360 >> 2] | 0; + $bytes_in_buffer$5$9$i = HEAP32[$bytes_in_buffer2$i107 >> 2] | 0; + $next_input_byte$5$9$i = HEAP32[$131 >> 2] | 0; } else { - $$5$9$i = $$4$8$i; - $$5141$9$i = $$4140$8$i; - } - $455 = HEAP8[$$5141$9$i >> 0] | 0; - $538 = $455 & 255; - $539 = $531 + $538 | 0; - $$4$9$i = $$5$9$i + -1 | 0; - $$4140$9$i = $$5141$9$i + 1 | 0; - if (!$$4$9$i) { - if (!(FUNCTION_TABLE_ii[HEAP32[$388 >> 2] & 127]($0) | 0)) { + $bytes_in_buffer$5$9$i = $bytes_in_buffer$4$8$i; + $next_input_byte$5$9$i = $next_input_byte$4$8$i; + } + $171 = HEAP8[$next_input_byte$5$9$i >> 0] | 0; + $conv64$9$i = $171 & 255; + $add65$9$i = $add65$8$i + $conv64$9$i | 0; + $bytes_in_buffer$4$9$i = $bytes_in_buffer$5$9$i + -1 | 0; + $next_input_byte$4$9$i = $next_input_byte$5$9$i + 1 | 0; + if (!$bytes_in_buffer$4$9$i) { + if (!(FUNCTION_TABLE_ii[HEAP32[$fill_input_buffer27$i132 >> 2] & 127]($cinfo) | 0)) { label = 174; break L1; } - $$5$10$i = HEAP32[$361 >> 2] | 0; - $$5141$10$i = HEAP32[$360 >> 2] | 0; + $bytes_in_buffer$5$10$i = HEAP32[$bytes_in_buffer2$i107 >> 2] | 0; + $next_input_byte$5$10$i = HEAP32[$131 >> 2] | 0; } else { - $$5$10$i = $$4$9$i; - $$5141$10$i = $$4140$9$i; - } - $456 = HEAP8[$$5141$10$i >> 0] | 0; - $546 = $456 & 255; - $547 = $539 + $546 | 0; - $$4$10$i = $$5$10$i + -1 | 0; - $$4140$10$i = $$5141$10$i + 1 | 0; - if (!$$4$10$i) { - if (!(FUNCTION_TABLE_ii[HEAP32[$388 >> 2] & 127]($0) | 0)) { + $bytes_in_buffer$5$10$i = $bytes_in_buffer$4$9$i; + $next_input_byte$5$10$i = $next_input_byte$4$9$i; + } + $172 = HEAP8[$next_input_byte$5$10$i >> 0] | 0; + $conv64$10$i = $172 & 255; + $add65$10$i = $add65$9$i + $conv64$10$i | 0; + $bytes_in_buffer$4$10$i = $bytes_in_buffer$5$10$i + -1 | 0; + $next_input_byte$4$10$i = $next_input_byte$5$10$i + 1 | 0; + if (!$bytes_in_buffer$4$10$i) { + if (!(FUNCTION_TABLE_ii[HEAP32[$fill_input_buffer27$i132 >> 2] & 127]($cinfo) | 0)) { label = 174; break L1; } - $$5$11$i = HEAP32[$361 >> 2] | 0; - $$5141$11$i = HEAP32[$360 >> 2] | 0; + $bytes_in_buffer$5$11$i = HEAP32[$bytes_in_buffer2$i107 >> 2] | 0; + $next_input_byte$5$11$i = HEAP32[$131 >> 2] | 0; } else { - $$5$11$i = $$4$10$i; - $$5141$11$i = $$4140$10$i; - } - $457 = HEAP8[$$5141$11$i >> 0] | 0; - $554 = $457 & 255; - $555 = $547 + $554 | 0; - $$4$11$i = $$5$11$i + -1 | 0; - $$4140$11$i = $$5141$11$i + 1 | 0; - if (!$$4$11$i) { - if (!(FUNCTION_TABLE_ii[HEAP32[$388 >> 2] & 127]($0) | 0)) { + $bytes_in_buffer$5$11$i = $bytes_in_buffer$4$10$i; + $next_input_byte$5$11$i = $next_input_byte$4$10$i; + } + $173 = HEAP8[$next_input_byte$5$11$i >> 0] | 0; + $conv64$11$i = $173 & 255; + $add65$11$i = $add65$10$i + $conv64$11$i | 0; + $bytes_in_buffer$4$11$i = $bytes_in_buffer$5$11$i + -1 | 0; + $next_input_byte$4$11$i = $next_input_byte$5$11$i + 1 | 0; + if (!$bytes_in_buffer$4$11$i) { + if (!(FUNCTION_TABLE_ii[HEAP32[$fill_input_buffer27$i132 >> 2] & 127]($cinfo) | 0)) { label = 174; break L1; } - $$5$12$i = HEAP32[$361 >> 2] | 0; - $$5141$12$i = HEAP32[$360 >> 2] | 0; + $bytes_in_buffer$5$12$i = HEAP32[$bytes_in_buffer2$i107 >> 2] | 0; + $next_input_byte$5$12$i = HEAP32[$131 >> 2] | 0; } else { - $$5$12$i = $$4$11$i; - $$5141$12$i = $$4140$11$i; - } - $458 = HEAP8[$$5141$12$i >> 0] | 0; - $562 = $458 & 255; - $563 = $555 + $562 | 0; - $$4$12$i = $$5$12$i + -1 | 0; - $$4140$12$i = $$5141$12$i + 1 | 0; - if (!$$4$12$i) { - if (!(FUNCTION_TABLE_ii[HEAP32[$388 >> 2] & 127]($0) | 0)) { + $bytes_in_buffer$5$12$i = $bytes_in_buffer$4$11$i; + $next_input_byte$5$12$i = $next_input_byte$4$11$i; + } + $174 = HEAP8[$next_input_byte$5$12$i >> 0] | 0; + $conv64$12$i = $174 & 255; + $add65$12$i = $add65$11$i + $conv64$12$i | 0; + $bytes_in_buffer$4$12$i = $bytes_in_buffer$5$12$i + -1 | 0; + $next_input_byte$4$12$i = $next_input_byte$5$12$i + 1 | 0; + if (!$bytes_in_buffer$4$12$i) { + if (!(FUNCTION_TABLE_ii[HEAP32[$fill_input_buffer27$i132 >> 2] & 127]($cinfo) | 0)) { label = 174; break L1; } - $$5$13$i = HEAP32[$361 >> 2] | 0; - $$5141$13$i = HEAP32[$360 >> 2] | 0; + $bytes_in_buffer$5$13$i = HEAP32[$bytes_in_buffer2$i107 >> 2] | 0; + $next_input_byte$5$13$i = HEAP32[$131 >> 2] | 0; } else { - $$5$13$i = $$4$12$i; - $$5141$13$i = $$4140$12$i; - } - $459 = HEAP8[$$5141$13$i >> 0] | 0; - $570 = $459 & 255; - $571 = $563 + $570 | 0; - $$4$13$i = $$5$13$i + -1 | 0; - $$4140$13$i = $$5141$13$i + 1 | 0; - if (!$$4$13$i) { - if (!(FUNCTION_TABLE_ii[HEAP32[$388 >> 2] & 127]($0) | 0)) { + $bytes_in_buffer$5$13$i = $bytes_in_buffer$4$12$i; + $next_input_byte$5$13$i = $next_input_byte$4$12$i; + } + $175 = HEAP8[$next_input_byte$5$13$i >> 0] | 0; + $conv64$13$i = $175 & 255; + $add65$13$i = $add65$12$i + $conv64$13$i | 0; + $bytes_in_buffer$4$13$i = $bytes_in_buffer$5$13$i + -1 | 0; + $next_input_byte$4$13$i = $next_input_byte$5$13$i + 1 | 0; + if (!$bytes_in_buffer$4$13$i) { + if (!(FUNCTION_TABLE_ii[HEAP32[$fill_input_buffer27$i132 >> 2] & 127]($cinfo) | 0)) { label = 174; break L1; } - $$5$14$i = HEAP32[$361 >> 2] | 0; - $$5141$14$i = HEAP32[$360 >> 2] | 0; + $bytes_in_buffer$5$14$i = HEAP32[$bytes_in_buffer2$i107 >> 2] | 0; + $next_input_byte$5$14$i = HEAP32[$131 >> 2] | 0; } else { - $$5$14$i = $$4$13$i; - $$5141$14$i = $$4140$13$i; - } - $460 = HEAP8[$$5141$14$i >> 0] | 0; - $578 = $460 & 255; - $579 = $571 + $578 | 0; - $$4$14$i = $$5$14$i + -1 | 0; - $$4140$14$i = $$5141$14$i + 1 | 0; - if (!$$4$14$i) { - if (!(FUNCTION_TABLE_ii[HEAP32[$388 >> 2] & 127]($0) | 0)) { + $bytes_in_buffer$5$14$i = $bytes_in_buffer$4$13$i; + $next_input_byte$5$14$i = $next_input_byte$4$13$i; + } + $176 = HEAP8[$next_input_byte$5$14$i >> 0] | 0; + $conv64$14$i = $176 & 255; + $add65$14$i = $add65$13$i + $conv64$14$i | 0; + $bytes_in_buffer$4$14$i = $bytes_in_buffer$5$14$i + -1 | 0; + $next_input_byte$4$14$i = $next_input_byte$5$14$i + 1 | 0; + if (!$bytes_in_buffer$4$14$i) { + if (!(FUNCTION_TABLE_ii[HEAP32[$fill_input_buffer27$i132 >> 2] & 127]($cinfo) | 0)) { label = 174; break L1; } - $$5$15$i = HEAP32[$361 >> 2] | 0; - $$5141$15$i = HEAP32[$360 >> 2] | 0; + $bytes_in_buffer$5$15$i = HEAP32[$bytes_in_buffer2$i107 >> 2] | 0; + $next_input_byte$5$15$i = HEAP32[$131 >> 2] | 0; } else { - $$5$15$i = $$4$14$i; - $$5141$15$i = $$4140$14$i; - } - $461 = HEAP8[$$5141$15$i >> 0] | 0; - $586 = $461 & 255; - $416 = $579 + $586 | 0; - $$4$15$i = $$5$15$i + -1 | 0; - $$4140$15$i = $$5141$15$i + 1 | 0; - $431 = $$0134177$i + -17 | 0; - $587 = HEAP32[$0 >> 2] | 0; - HEAP32[$587 + 24 >> 2] = $410; - HEAP32[$587 + 28 >> 2] = $474; - HEAP32[$587 + 32 >> 2] = $482; - HEAP32[$587 + 36 >> 2] = $490; - HEAP32[$587 + 40 >> 2] = $498; - HEAP32[$587 + 44 >> 2] = $506; - HEAP32[$587 + 48 >> 2] = $514; - HEAP32[$587 + 52 >> 2] = $522; - HEAP32[$587 + 20 >> 2] = 88; - FUNCTION_TABLE_vii[HEAP32[$587 + 4 >> 2] & 255]($0, 2); - $599 = HEAP32[$0 >> 2] | 0; - HEAP32[$599 + 24 >> 2] = $530; - HEAP32[$599 + 28 >> 2] = $538; - HEAP32[$599 + 32 >> 2] = $546; - HEAP32[$599 + 36 >> 2] = $554; - HEAP32[$599 + 40 >> 2] = $562; - HEAP32[$599 + 44 >> 2] = $570; - HEAP32[$599 + 48 >> 2] = $578; - HEAP32[$599 + 52 >> 2] = $586; - HEAP32[$599 + 20 >> 2] = 88; - FUNCTION_TABLE_vii[HEAP32[$599 + 4 >> 2] & 255]($0, 2); - if ($416 >>> 0 > 256 | ($431 | 0) < ($416 | 0)) { - $412 = HEAP32[$0 >> 2] | 0; - HEAP32[$412 + 20 >> 2] = 9; - FUNCTION_TABLE_vi[HEAP32[$412 >> 2] & 255]($0); - } - _memset($1 | 0, 0, 256) | 0; - if (!$416) { - $$6$lcssa$i = $$4$15$i; - $$6142$lcssa$i = $$4140$15$i; - $430 = 0; + $bytes_in_buffer$5$15$i = $bytes_in_buffer$4$14$i; + $next_input_byte$5$15$i = $next_input_byte$4$14$i; + } + $177 = HEAP8[$next_input_byte$5$15$i >> 0] | 0; + $conv64$15$i = $177 & 255; + $add65$15$i = $add65$14$i + $conv64$15$i | 0; + $bytes_in_buffer$4$15$i = $bytes_in_buffer$5$15$i + -1 | 0; + $next_input_byte$4$15$i = $next_input_byte$5$15$i + 1 | 0; + $sub66$i = $length$0144$i + -17 | 0; + $226 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$226 + 24 >> 2] = $conv64$i; + HEAP32[$226 + 28 >> 2] = $conv64$1$i; + HEAP32[$226 + 32 >> 2] = $conv64$2$i; + HEAP32[$226 + 36 >> 2] = $conv64$3$i; + HEAP32[$226 + 40 >> 2] = $conv64$4$i; + HEAP32[$226 + 44 >> 2] = $conv64$5$i; + HEAP32[$226 + 48 >> 2] = $conv64$6$i; + HEAP32[$226 + 52 >> 2] = $conv64$7$i; + HEAP32[$226 + 20 >> 2] = 88; + FUNCTION_TABLE_vii[HEAP32[$226 + 4 >> 2] & 255]($cinfo, 2); + $228 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$228 + 24 >> 2] = $conv64$8$i; + HEAP32[$228 + 28 >> 2] = $conv64$9$i; + HEAP32[$228 + 32 >> 2] = $conv64$10$i; + HEAP32[$228 + 36 >> 2] = $conv64$11$i; + HEAP32[$228 + 40 >> 2] = $conv64$12$i; + HEAP32[$228 + 44 >> 2] = $conv64$13$i; + HEAP32[$228 + 48 >> 2] = $conv64$14$i; + HEAP32[$228 + 52 >> 2] = $conv64$15$i; + HEAP32[$228 + 20 >> 2] = 88; + FUNCTION_TABLE_vii[HEAP32[$228 + 4 >> 2] & 255]($cinfo, 2); + if ($add65$15$i >>> 0 > 256 | ($sub66$i | 0) < ($add65$15$i | 0)) { + $151 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$151 + 20 >> 2] = 9; + FUNCTION_TABLE_vi[HEAP32[$151 >> 2] & 255]($cinfo); + } + _memset($huffval$i | 0, 0, 256) | 0; + if (!$add65$15$i) { + $add65150$i = 0; + $bytes_in_buffer$6$lcssa$i = $bytes_in_buffer$4$15$i; + $next_input_byte$6$lcssa$i = $next_input_byte$4$15$i; } else { - $$1145171$i = 0; - $$6142172$i = $$4140$15$i; - $$6173$i = $$4$15$i; + $bytes_in_buffer$6139$i = $bytes_in_buffer$4$15$i; + $i$1137$i = 0; + $next_input_byte$6138$i = $next_input_byte$4$15$i; while (1) { - if (!$$6173$i) { - if (!(FUNCTION_TABLE_ii[HEAP32[$388 >> 2] & 127]($0) | 0)) { + if (!$bytes_in_buffer$6139$i) { + if (!(FUNCTION_TABLE_ii[HEAP32[$fill_input_buffer27$i132 >> 2] & 127]($cinfo) | 0)) { label = 174; break L1; } - $$7$i60 = HEAP32[$361 >> 2] | 0; - $$7143$i = HEAP32[$360 >> 2] | 0; + $bytes_in_buffer$7$i156 = HEAP32[$bytes_in_buffer2$i107 >> 2] | 0; + $next_input_byte$7$i155 = HEAP32[$131 >> 2] | 0; } else { - $$7$i60 = $$6173$i; - $$7143$i = $$6142172$i; + $bytes_in_buffer$7$i156 = $bytes_in_buffer$6139$i; + $next_input_byte$7$i155 = $next_input_byte$6138$i; } - $423 = $$7$i60 + -1 | 0; - $424 = $$7143$i + 1 | 0; - HEAP8[$1 + $$1145171$i >> 0] = HEAP8[$$7143$i >> 0] | 0; - $$1145171$i = $$1145171$i + 1 | 0; - if ($$1145171$i >>> 0 >= $416 >>> 0) { - $$6$lcssa$i = $423; - $$6142$lcssa$i = $424; - $430 = $416; + $dec163$i = $bytes_in_buffer$7$i156 + -1 | 0; + $incdec$ptr164$i = $next_input_byte$7$i155 + 1 | 0; + HEAP8[$huffval$i + $i$1137$i >> 0] = HEAP8[$next_input_byte$7$i155 >> 0] | 0; + $i$1137$i = $i$1137$i + 1 | 0; + if ($i$1137$i >>> 0 >= $add65$15$i >>> 0) { + $add65150$i = $add65$15$i; + $bytes_in_buffer$6$lcssa$i = $dec163$i; + $next_input_byte$6$lcssa$i = $incdec$ptr164$i; break; } else { - $$6142172$i = $424; - $$6173$i = $423; + $bytes_in_buffer$6139$i = $dec163$i; + $next_input_byte$6138$i = $incdec$ptr164$i; } } } - $429 = $431 - $430 | 0; - $433 = ($396 & 16 | 0) == 0; - $434 = $396 + -16 | 0; - $$0148$i = $433 ? $396 : $434; - $$0146$i = $433 ? $0 + 180 + ($396 << 2) | 0 : $0 + 196 + ($434 << 2) | 0; - if ($$0148$i >>> 0 > 3) { - $438 = HEAP32[$0 >> 2] | 0; - HEAP32[$438 + 20 >> 2] = 31; - HEAP32[$438 + 24 >> 2] = $$0148$i; - FUNCTION_TABLE_vi[HEAP32[HEAP32[$0 >> 2] >> 2] & 255]($0); - } - $443 = HEAP32[$$0146$i >> 2] | 0; - if (!$443) { - $445 = _jpeg_alloc_huff_table($0) | 0; - HEAP32[$$0146$i >> 2] = $445; - $446 = $445; - } else $446 = $443; - HEAP8[$446 >> 0] = 0; - HEAP8[$446 + 1 >> 0] = $409; - HEAP8[$446 + 2 >> 0] = $447; - HEAP8[$446 + 3 >> 0] = $448; - HEAP8[$446 + 4 >> 0] = $449; - HEAP8[$446 + 5 >> 0] = $450; - HEAP8[$446 + 6 >> 0] = $451; - HEAP8[$446 + 7 >> 0] = $452; - HEAP8[$446 + 8 >> 0] = $453; - HEAP8[$446 + 9 >> 0] = $454; - HEAP8[$446 + 10 >> 0] = $455; - HEAP8[$446 + 11 >> 0] = $456; - HEAP8[$446 + 12 >> 0] = $457; - HEAP8[$446 + 13 >> 0] = $458; - HEAP8[$446 + 14 >> 0] = $459; - HEAP8[$446 + 15 >> 0] = $460; - HEAP8[$446 + 16 >> 0] = $461; - _memcpy((HEAP32[$$0146$i >> 2] | 0) + 17 | 0, $1 | 0, 256) | 0; - if (($429 | 0) > 16) { - $$0134177$i = $429; - $$2138175$i = $$6142$lcssa$i; - $$2176$i = $$6$lcssa$i; + $sub171$i = $sub66$i - $add65150$i | 0; + $tobool172$i = ($conv37$i145 & 16 | 0) == 0; + $sub174$i = $conv37$i145 + -16 | 0; + $index$0$i = $tobool172$i ? $conv37$i145 : $sub174$i; + $htblptr$0$i = $tobool172$i ? $cinfo + 180 + ($conv37$i145 << 2) | 0 : $cinfo + 196 + ($sub174$i << 2) | 0; + if ($index$0$i >>> 0 > 3) { + $158 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$158 + 20 >> 2] = 31; + HEAP32[$158 + 24 >> 2] = $index$0$i; + FUNCTION_TABLE_vi[HEAP32[HEAP32[$cinfo >> 2] >> 2] & 255]($cinfo); + } + $161 = HEAP32[$htblptr$0$i >> 2] | 0; + if (!$161) { + $call196$i = _jpeg_alloc_huff_table($cinfo) | 0; + HEAP32[$htblptr$0$i >> 2] = $call196$i; + $162 = $call196$i; + } else $162 = $161; + HEAP8[$162 >> 0] = 0; + HEAP8[$162 + 1 >> 0] = $150; + HEAP8[$162 + 2 >> 0] = $163; + HEAP8[$162 + 3 >> 0] = $164; + HEAP8[$162 + 4 >> 0] = $165; + HEAP8[$162 + 5 >> 0] = $166; + HEAP8[$162 + 6 >> 0] = $167; + HEAP8[$162 + 7 >> 0] = $168; + HEAP8[$162 + 8 >> 0] = $169; + HEAP8[$162 + 9 >> 0] = $170; + HEAP8[$162 + 10 >> 0] = $171; + HEAP8[$162 + 11 >> 0] = $172; + HEAP8[$162 + 12 >> 0] = $173; + HEAP8[$162 + 13 >> 0] = $174; + HEAP8[$162 + 14 >> 0] = $175; + HEAP8[$162 + 15 >> 0] = $176; + HEAP8[$162 + 16 >> 0] = $177; + _memcpy((HEAP32[$htblptr$0$i >> 2] | 0) + 17 | 0, $huffval$i | 0, 256) | 0; + if (($sub171$i | 0) > 16) { + $bytes_in_buffer$2143$i = $bytes_in_buffer$6$lcssa$i; + $length$0144$i = $sub171$i; + $next_input_byte$2142$i = $next_input_byte$6$lcssa$i; } else { - $$0134$lcssa$i = $429; - $$2$lcssa$i62 = $$6$lcssa$i; - $$2138$lcssa$i = $$6142$lcssa$i; + $bytes_in_buffer$2$lcssa$i160 = $bytes_in_buffer$6$lcssa$i; + $length$0$lcssa$i161 = $sub171$i; + $next_input_byte$2$lcssa$i159 = $next_input_byte$6$lcssa$i; break; } } } else { - $$0134$lcssa$i = $386; - $$2$lcssa$i62 = $381; - $$2138$lcssa$i = $382; + $bytes_in_buffer$2$lcssa$i160 = $dec18$i; + $length$0$lcssa$i161 = $sub$i; + $next_input_byte$2$lcssa$i159 = $incdec$ptr19$i; } - if ($$0134$lcssa$i | 0) { - $466 = HEAP32[$0 >> 2] | 0; - HEAP32[$466 + 20 >> 2] = 12; - FUNCTION_TABLE_vi[HEAP32[$466 >> 2] & 255]($0); + if ($length$0$lcssa$i161 | 0) { + $179 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$179 + 20 >> 2] = 12; + FUNCTION_TABLE_vi[HEAP32[$179 >> 2] & 255]($cinfo); } - HEAP32[$360 >> 2] = $$2138$lcssa$i; - HEAP32[$361 >> 2] = $$2$lcssa$i62; + HEAP32[$131 >> 2] = $next_input_byte$2$lcssa$i159; + HEAP32[$bytes_in_buffer2$i107 >> 2] = $bytes_in_buffer$2$lcssa$i160; break; } case 219: { - $613 = HEAP32[$4 >> 2] | 0; - $614 = $613 + 4 | 0; - $615 = HEAP32[$614 >> 2] | 0; - if (!$615) { - if (!(FUNCTION_TABLE_ii[HEAP32[$613 + 12 >> 2] & 127]($0) | 0)) { - $$0 = 0; + $230 = HEAP32[$src$i >> 2] | 0; + $bytes_in_buffer2$i171 = $230 + 4 | 0; + $231 = HEAP32[$bytes_in_buffer2$i171 >> 2] | 0; + if (!$231) { + if (!(FUNCTION_TABLE_ii[HEAP32[$230 + 12 >> 2] & 127]($cinfo) | 0)) { + $retval$0 = 0; label = 350; break L1; } - $$0158$i = HEAP32[$614 >> 2] | 0; - } else $$0158$i = $615; - $$0159$i = HEAP32[$613 >> 2] | 0; - $622 = $$0158$i + -1 | 0; - $623 = $$0159$i + 1 | 0; - $626 = HEAPU8[$$0159$i >> 0] << 8; - if (!$622) { - if (!(FUNCTION_TABLE_ii[HEAP32[$613 + 12 >> 2] & 127]($0) | 0)) { - $$0 = 0; + $bytes_in_buffer$0$i178 = HEAP32[$bytes_in_buffer2$i171 >> 2] | 0; + } else $bytes_in_buffer$0$i178 = $231; + $next_input_byte$0$i179 = HEAP32[$230 >> 2] | 0; + $dec$i180 = $bytes_in_buffer$0$i178 + -1 | 0; + $incdec$ptr$i181 = $next_input_byte$0$i179 + 1 | 0; + $shl$i183 = HEAPU8[$next_input_byte$0$i179 >> 0] << 8; + if (!$dec$i180) { + if (!(FUNCTION_TABLE_ii[HEAP32[$230 + 12 >> 2] & 127]($cinfo) | 0)) { + $retval$0 = 0; label = 350; break L1; } - $$1$i66 = HEAP32[$614 >> 2] | 0; - $$1160$i = HEAP32[$613 >> 2] | 0; + $bytes_in_buffer$1$i192 = HEAP32[$bytes_in_buffer2$i171 >> 2] | 0; + $next_input_byte$1$i191 = HEAP32[$230 >> 2] | 0; } else { - $$1$i66 = $622; - $$1160$i = $623; - } - $634 = $$1$i66 + -1 | 0; - $635 = $$1160$i + 1 | 0; - $638 = $626 | HEAPU8[$$1160$i >> 0]; - $639 = $638 + -2 | 0; - if ($638 >>> 0 > 2) { - $641 = $613 + 12 | 0; - $$0168199$i = $639; - $$2161200$i = $635; - $$2201$i = $634; + $bytes_in_buffer$1$i192 = $dec$i180; + $next_input_byte$1$i191 = $incdec$ptr$i181; + } + $dec18$i193 = $bytes_in_buffer$1$i192 + -1 | 0; + $incdec$ptr19$i194 = $next_input_byte$1$i191 + 1 | 0; + $add$i196 = $shl$i183 | HEAPU8[$next_input_byte$1$i191 >> 0]; + $sub$i197 = $add$i196 + -2 | 0; + if ($add$i196 >>> 0 > 2) { + $fill_input_buffer28$i = $230 + 12 | 0; + $bytes_in_buffer$2159$i = $dec18$i193; + $length$0157$i = $sub$i197; + $next_input_byte$2158$i = $incdec$ptr19$i194; while (1) { - $642 = $$0168199$i + -1 | 0; - if (!$$2201$i) { - if (!(FUNCTION_TABLE_ii[HEAP32[$641 >> 2] & 127]($0) | 0)) { - $$0 = 0; + $dec23$i = $length$0157$i + -1 | 0; + if (!$bytes_in_buffer$2159$i) { + if (!(FUNCTION_TABLE_ii[HEAP32[$fill_input_buffer28$i >> 2] & 127]($cinfo) | 0)) { + $retval$0 = 0; label = 350; break L1; } - $$3$i67 = HEAP32[$614 >> 2] | 0; - $$3162$i = HEAP32[$613 >> 2] | 0; + $bytes_in_buffer$3$i201 = HEAP32[$bytes_in_buffer2$i171 >> 2] | 0; + $next_input_byte$3$i200 = HEAP32[$230 >> 2] | 0; } else { - $$3$i67 = $$2201$i; - $$3162$i = $$2161200$i; - } - $650 = HEAPU8[$$3162$i >> 0] | 0; - $651 = $650 >>> 4; - $652 = $650 & 15; - $653 = HEAP32[$0 >> 2] | 0; - HEAP32[$653 + 20 >> 2] = 83; - HEAP32[$653 + 24 >> 2] = $652; - HEAP32[(HEAP32[$0 >> 2] | 0) + 28 >> 2] = $651; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$0 >> 2] | 0) + 4 >> 2] & 255]($0, 1); - if ($652 >>> 0 > 3) { - $662 = HEAP32[$0 >> 2] | 0; - HEAP32[$662 + 20 >> 2] = 32; - HEAP32[$662 + 24 >> 2] = $652; - FUNCTION_TABLE_vi[HEAP32[HEAP32[$0 >> 2] >> 2] & 255]($0); - } - $667 = $0 + 164 + ($652 << 2) | 0; - $668 = HEAP32[$667 >> 2] | 0; - if (!$668) { - $670 = _jpeg_alloc_quant_table($0) | 0; - HEAP32[$667 >> 2] = $670; - $673 = $670; - } else $673 = $668; - $671 = ($651 | 0) != 0; - if ($671) if (($$0168199$i | 0) < 129) { - HEAP16[$673 >> 1] = 1; - HEAP16[$673 + 2 >> 1] = 1; - HEAP16[$673 + 4 >> 1] = 1; - HEAP16[$673 + 6 >> 1] = 1; - HEAP16[$673 + 8 >> 1] = 1; - HEAP16[$673 + 10 >> 1] = 1; - HEAP16[$673 + 12 >> 1] = 1; - HEAP16[$673 + 14 >> 1] = 1; - HEAP16[$673 + 16 >> 1] = 1; - HEAP16[$673 + 18 >> 1] = 1; - HEAP16[$673 + 20 >> 1] = 1; - HEAP16[$673 + 22 >> 1] = 1; - HEAP16[$673 + 24 >> 1] = 1; - HEAP16[$673 + 26 >> 1] = 1; - HEAP16[$673 + 28 >> 1] = 1; - HEAP16[$673 + 30 >> 1] = 1; - HEAP16[$673 + 32 >> 1] = 1; - HEAP16[$673 + 34 >> 1] = 1; - HEAP16[$673 + 36 >> 1] = 1; - HEAP16[$673 + 38 >> 1] = 1; - HEAP16[$673 + 40 >> 1] = 1; - HEAP16[$673 + 42 >> 1] = 1; - HEAP16[$673 + 44 >> 1] = 1; - HEAP16[$673 + 46 >> 1] = 1; - HEAP16[$673 + 48 >> 1] = 1; - HEAP16[$673 + 50 >> 1] = 1; - HEAP16[$673 + 52 >> 1] = 1; - HEAP16[$673 + 54 >> 1] = 1; - HEAP16[$673 + 56 >> 1] = 1; - HEAP16[$673 + 58 >> 1] = 1; - HEAP16[$673 + 60 >> 1] = 1; - HEAP16[$673 + 62 >> 1] = 1; - HEAP16[$673 + 64 >> 1] = 1; - HEAP16[$673 + 66 >> 1] = 1; - HEAP16[$673 + 68 >> 1] = 1; - HEAP16[$673 + 70 >> 1] = 1; - HEAP16[$673 + 72 >> 1] = 1; - HEAP16[$673 + 74 >> 1] = 1; - HEAP16[$673 + 76 >> 1] = 1; - HEAP16[$673 + 78 >> 1] = 1; - HEAP16[$673 + 80 >> 1] = 1; - HEAP16[$673 + 82 >> 1] = 1; - HEAP16[$673 + 84 >> 1] = 1; - HEAP16[$673 + 86 >> 1] = 1; - HEAP16[$673 + 88 >> 1] = 1; - HEAP16[$673 + 90 >> 1] = 1; - HEAP16[$673 + 92 >> 1] = 1; - HEAP16[$673 + 94 >> 1] = 1; - HEAP16[$673 + 96 >> 1] = 1; - HEAP16[$673 + 98 >> 1] = 1; - HEAP16[$673 + 100 >> 1] = 1; - HEAP16[$673 + 102 >> 1] = 1; - HEAP16[$673 + 104 >> 1] = 1; - HEAP16[$673 + 106 >> 1] = 1; - HEAP16[$673 + 108 >> 1] = 1; - HEAP16[$673 + 110 >> 1] = 1; - HEAP16[$673 + 112 >> 1] = 1; - HEAP16[$673 + 114 >> 1] = 1; - HEAP16[$673 + 116 >> 1] = 1; - HEAP16[$673 + 118 >> 1] = 1; - HEAP16[$673 + 120 >> 1] = 1; - HEAP16[$673 + 122 >> 1] = 1; - HEAP16[$673 + 124 >> 1] = 1; - HEAP16[$673 + 126 >> 1] = 1; - $$0171$i = $642 >> 1; + $bytes_in_buffer$3$i201 = $bytes_in_buffer$2159$i; + $next_input_byte$3$i200 = $next_input_byte$2158$i; + } + $conv38$i = HEAPU8[$next_input_byte$3$i200 >> 0] | 0; + $243 = $conv38$i >>> 4; + $and$i202 = $conv38$i & 15; + $244 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$244 + 20 >> 2] = 83; + HEAP32[$244 + 24 >> 2] = $and$i202; + HEAP32[(HEAP32[$cinfo >> 2] | 0) + 28 >> 2] = $243; + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$cinfo >> 2] | 0) + 4 >> 2] & 255]($cinfo, 1); + if ($and$i202 >>> 0 > 3) { + $248 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$248 + 20 >> 2] = 32; + HEAP32[$248 + 24 >> 2] = $and$i202; + FUNCTION_TABLE_vi[HEAP32[HEAP32[$cinfo >> 2] >> 2] & 255]($cinfo); + } + $arrayidx59$i = $cinfo + 164 + ($and$i202 << 2) | 0; + $251 = HEAP32[$arrayidx59$i >> 2] | 0; + if (!$251) { + $call63$i = _jpeg_alloc_quant_table($cinfo) | 0; + HEAP32[$arrayidx59$i >> 2] = $call63$i; + $252 = $call63$i; + } else $252 = $251; + $tobool69$i = ($243 | 0) != 0; + if ($tobool69$i) if (($length$0157$i | 0) < 129) { + HEAP16[$252 >> 1] = 1; + HEAP16[$252 + 2 >> 1] = 1; + HEAP16[$252 + 4 >> 1] = 1; + HEAP16[$252 + 6 >> 1] = 1; + HEAP16[$252 + 8 >> 1] = 1; + HEAP16[$252 + 10 >> 1] = 1; + HEAP16[$252 + 12 >> 1] = 1; + HEAP16[$252 + 14 >> 1] = 1; + HEAP16[$252 + 16 >> 1] = 1; + HEAP16[$252 + 18 >> 1] = 1; + HEAP16[$252 + 20 >> 1] = 1; + HEAP16[$252 + 22 >> 1] = 1; + HEAP16[$252 + 24 >> 1] = 1; + HEAP16[$252 + 26 >> 1] = 1; + HEAP16[$252 + 28 >> 1] = 1; + HEAP16[$252 + 30 >> 1] = 1; + HEAP16[$252 + 32 >> 1] = 1; + HEAP16[$252 + 34 >> 1] = 1; + HEAP16[$252 + 36 >> 1] = 1; + HEAP16[$252 + 38 >> 1] = 1; + HEAP16[$252 + 40 >> 1] = 1; + HEAP16[$252 + 42 >> 1] = 1; + HEAP16[$252 + 44 >> 1] = 1; + HEAP16[$252 + 46 >> 1] = 1; + HEAP16[$252 + 48 >> 1] = 1; + HEAP16[$252 + 50 >> 1] = 1; + HEAP16[$252 + 52 >> 1] = 1; + HEAP16[$252 + 54 >> 1] = 1; + HEAP16[$252 + 56 >> 1] = 1; + HEAP16[$252 + 58 >> 1] = 1; + HEAP16[$252 + 60 >> 1] = 1; + HEAP16[$252 + 62 >> 1] = 1; + HEAP16[$252 + 64 >> 1] = 1; + HEAP16[$252 + 66 >> 1] = 1; + HEAP16[$252 + 68 >> 1] = 1; + HEAP16[$252 + 70 >> 1] = 1; + HEAP16[$252 + 72 >> 1] = 1; + HEAP16[$252 + 74 >> 1] = 1; + HEAP16[$252 + 76 >> 1] = 1; + HEAP16[$252 + 78 >> 1] = 1; + HEAP16[$252 + 80 >> 1] = 1; + HEAP16[$252 + 82 >> 1] = 1; + HEAP16[$252 + 84 >> 1] = 1; + HEAP16[$252 + 86 >> 1] = 1; + HEAP16[$252 + 88 >> 1] = 1; + HEAP16[$252 + 90 >> 1] = 1; + HEAP16[$252 + 92 >> 1] = 1; + HEAP16[$252 + 94 >> 1] = 1; + HEAP16[$252 + 96 >> 1] = 1; + HEAP16[$252 + 98 >> 1] = 1; + HEAP16[$252 + 100 >> 1] = 1; + HEAP16[$252 + 102 >> 1] = 1; + HEAP16[$252 + 104 >> 1] = 1; + HEAP16[$252 + 106 >> 1] = 1; + HEAP16[$252 + 108 >> 1] = 1; + HEAP16[$252 + 110 >> 1] = 1; + HEAP16[$252 + 112 >> 1] = 1; + HEAP16[$252 + 114 >> 1] = 1; + HEAP16[$252 + 116 >> 1] = 1; + HEAP16[$252 + 118 >> 1] = 1; + HEAP16[$252 + 120 >> 1] = 1; + HEAP16[$252 + 122 >> 1] = 1; + HEAP16[$252 + 124 >> 1] = 1; + HEAP16[$252 + 126 >> 1] = 1; + $count$0$i = $dec23$i >> 1; label = 196; - } else label = 203; else if (($$0168199$i | 0) < 65) { - HEAP16[$673 >> 1] = 1; - HEAP16[$673 + 2 >> 1] = 1; - HEAP16[$673 + 4 >> 1] = 1; - HEAP16[$673 + 6 >> 1] = 1; - HEAP16[$673 + 8 >> 1] = 1; - HEAP16[$673 + 10 >> 1] = 1; - HEAP16[$673 + 12 >> 1] = 1; - HEAP16[$673 + 14 >> 1] = 1; - HEAP16[$673 + 16 >> 1] = 1; - HEAP16[$673 + 18 >> 1] = 1; - HEAP16[$673 + 20 >> 1] = 1; - HEAP16[$673 + 22 >> 1] = 1; - HEAP16[$673 + 24 >> 1] = 1; - HEAP16[$673 + 26 >> 1] = 1; - HEAP16[$673 + 28 >> 1] = 1; - HEAP16[$673 + 30 >> 1] = 1; - HEAP16[$673 + 32 >> 1] = 1; - HEAP16[$673 + 34 >> 1] = 1; - HEAP16[$673 + 36 >> 1] = 1; - HEAP16[$673 + 38 >> 1] = 1; - HEAP16[$673 + 40 >> 1] = 1; - HEAP16[$673 + 42 >> 1] = 1; - HEAP16[$673 + 44 >> 1] = 1; - HEAP16[$673 + 46 >> 1] = 1; - HEAP16[$673 + 48 >> 1] = 1; - HEAP16[$673 + 50 >> 1] = 1; - HEAP16[$673 + 52 >> 1] = 1; - HEAP16[$673 + 54 >> 1] = 1; - HEAP16[$673 + 56 >> 1] = 1; - HEAP16[$673 + 58 >> 1] = 1; - HEAP16[$673 + 60 >> 1] = 1; - HEAP16[$673 + 62 >> 1] = 1; - HEAP16[$673 + 64 >> 1] = 1; - HEAP16[$673 + 66 >> 1] = 1; - HEAP16[$673 + 68 >> 1] = 1; - HEAP16[$673 + 70 >> 1] = 1; - HEAP16[$673 + 72 >> 1] = 1; - HEAP16[$673 + 74 >> 1] = 1; - HEAP16[$673 + 76 >> 1] = 1; - HEAP16[$673 + 78 >> 1] = 1; - HEAP16[$673 + 80 >> 1] = 1; - HEAP16[$673 + 82 >> 1] = 1; - HEAP16[$673 + 84 >> 1] = 1; - HEAP16[$673 + 86 >> 1] = 1; - HEAP16[$673 + 88 >> 1] = 1; - HEAP16[$673 + 90 >> 1] = 1; - HEAP16[$673 + 92 >> 1] = 1; - HEAP16[$673 + 94 >> 1] = 1; - HEAP16[$673 + 96 >> 1] = 1; - HEAP16[$673 + 98 >> 1] = 1; - HEAP16[$673 + 100 >> 1] = 1; - HEAP16[$673 + 102 >> 1] = 1; - HEAP16[$673 + 104 >> 1] = 1; - HEAP16[$673 + 106 >> 1] = 1; - HEAP16[$673 + 108 >> 1] = 1; - HEAP16[$673 + 110 >> 1] = 1; - HEAP16[$673 + 112 >> 1] = 1; - HEAP16[$673 + 114 >> 1] = 1; - HEAP16[$673 + 116 >> 1] = 1; - HEAP16[$673 + 118 >> 1] = 1; - HEAP16[$673 + 120 >> 1] = 1; - HEAP16[$673 + 122 >> 1] = 1; - HEAP16[$673 + 124 >> 1] = 1; - HEAP16[$673 + 126 >> 1] = 1; - $$0171$i = $642; + } else label = 203; else if (($length$0157$i | 0) < 65) { + HEAP16[$252 >> 1] = 1; + HEAP16[$252 + 2 >> 1] = 1; + HEAP16[$252 + 4 >> 1] = 1; + HEAP16[$252 + 6 >> 1] = 1; + HEAP16[$252 + 8 >> 1] = 1; + HEAP16[$252 + 10 >> 1] = 1; + HEAP16[$252 + 12 >> 1] = 1; + HEAP16[$252 + 14 >> 1] = 1; + HEAP16[$252 + 16 >> 1] = 1; + HEAP16[$252 + 18 >> 1] = 1; + HEAP16[$252 + 20 >> 1] = 1; + HEAP16[$252 + 22 >> 1] = 1; + HEAP16[$252 + 24 >> 1] = 1; + HEAP16[$252 + 26 >> 1] = 1; + HEAP16[$252 + 28 >> 1] = 1; + HEAP16[$252 + 30 >> 1] = 1; + HEAP16[$252 + 32 >> 1] = 1; + HEAP16[$252 + 34 >> 1] = 1; + HEAP16[$252 + 36 >> 1] = 1; + HEAP16[$252 + 38 >> 1] = 1; + HEAP16[$252 + 40 >> 1] = 1; + HEAP16[$252 + 42 >> 1] = 1; + HEAP16[$252 + 44 >> 1] = 1; + HEAP16[$252 + 46 >> 1] = 1; + HEAP16[$252 + 48 >> 1] = 1; + HEAP16[$252 + 50 >> 1] = 1; + HEAP16[$252 + 52 >> 1] = 1; + HEAP16[$252 + 54 >> 1] = 1; + HEAP16[$252 + 56 >> 1] = 1; + HEAP16[$252 + 58 >> 1] = 1; + HEAP16[$252 + 60 >> 1] = 1; + HEAP16[$252 + 62 >> 1] = 1; + HEAP16[$252 + 64 >> 1] = 1; + HEAP16[$252 + 66 >> 1] = 1; + HEAP16[$252 + 68 >> 1] = 1; + HEAP16[$252 + 70 >> 1] = 1; + HEAP16[$252 + 72 >> 1] = 1; + HEAP16[$252 + 74 >> 1] = 1; + HEAP16[$252 + 76 >> 1] = 1; + HEAP16[$252 + 78 >> 1] = 1; + HEAP16[$252 + 80 >> 1] = 1; + HEAP16[$252 + 82 >> 1] = 1; + HEAP16[$252 + 84 >> 1] = 1; + HEAP16[$252 + 86 >> 1] = 1; + HEAP16[$252 + 88 >> 1] = 1; + HEAP16[$252 + 90 >> 1] = 1; + HEAP16[$252 + 92 >> 1] = 1; + HEAP16[$252 + 94 >> 1] = 1; + HEAP16[$252 + 96 >> 1] = 1; + HEAP16[$252 + 98 >> 1] = 1; + HEAP16[$252 + 100 >> 1] = 1; + HEAP16[$252 + 102 >> 1] = 1; + HEAP16[$252 + 104 >> 1] = 1; + HEAP16[$252 + 106 >> 1] = 1; + HEAP16[$252 + 108 >> 1] = 1; + HEAP16[$252 + 110 >> 1] = 1; + HEAP16[$252 + 112 >> 1] = 1; + HEAP16[$252 + 114 >> 1] = 1; + HEAP16[$252 + 116 >> 1] = 1; + HEAP16[$252 + 118 >> 1] = 1; + HEAP16[$252 + 120 >> 1] = 1; + HEAP16[$252 + 122 >> 1] = 1; + HEAP16[$252 + 124 >> 1] = 1; + HEAP16[$252 + 126 >> 1] = 1; + $count$0$i = $dec23$i; label = 196; } else label = 203; L197 : do if ((label | 0) == 196) { label = 0; - switch ($$0171$i | 0) { + switch ($count$0$i | 0) { case 4: { - $$0170$ph$i = 3792; + $natural_order$0$ph$i = 3280; break; } case 9: { - $$0170$ph$i = 3680; + $natural_order$0$ph$i = 3168; break; } case 16: { - $$0170$ph$i = 3552; + $natural_order$0$ph$i = 3040; break; } case 25: { - $$0170$ph$i = 3376; + $natural_order$0$ph$i = 2864; break; } case 36: { - $$0170$ph$i = 3168; + $natural_order$0$ph$i = 2656; break; } case 49: { - $$0170$ph$i = 2896; + $natural_order$0$ph$i = 2384; break; } default: { - $$4192$i = $$3$i67 + -1 | 0; - $$4163193$i = $$3162$i + 1 | 0; - if (($$0171$i | 0) > 0) { - $$0170220$i = 2576; - $$0171177218$i = $$0171$i; - $$4163193222$i = $$4163193$i; - $$4192221$i = $$4192$i; + $bytes_in_buffer$4148$i = $bytes_in_buffer$3$i201 + -1 | 0; + $next_input_byte$4149$i = $next_input_byte$3$i200 + 1 | 0; + if (($count$0$i | 0) > 0) { + $bytes_in_buffer$4148174$i = $bytes_in_buffer$4148$i; + $count$0135171$i = $count$0$i; + $natural_order$0173$i = 2064; + $next_input_byte$4149175$i = $next_input_byte$4149$i; label = 205; break L197; } else { - $$0171177219$i = $$0171$i; - $$4$lcssa$i = $$4192$i; - $$4163$lcssa$i = $$4163193$i; + $bytes_in_buffer$4$lcssa$i = $bytes_in_buffer$4148$i; + $count$0135172$i = $count$0$i; + $next_input_byte$4$lcssa$i = $next_input_byte$4149$i; break L197; } } } - $$0170220$i = $$0170$ph$i; - $$0171177218$i = $$0171$i; - $$4163193222$i = $$3162$i + 1 | 0; - $$4192221$i = $$3$i67 + -1 | 0; + $bytes_in_buffer$4148174$i = $bytes_in_buffer$3$i201 + -1 | 0; + $count$0135171$i = $count$0$i; + $natural_order$0173$i = $natural_order$0$ph$i; + $next_input_byte$4149175$i = $next_input_byte$3$i200 + 1 | 0; label = 205; } else if ((label | 0) == 203) { label = 0; - $$0170220$i = 2576; - $$0171177218$i = 64; - $$4163193222$i = $$3162$i + 1 | 0; - $$4192221$i = $$3$i67 + -1 | 0; + $bytes_in_buffer$4148174$i = $bytes_in_buffer$3$i201 + -1 | 0; + $count$0135171$i = 64; + $natural_order$0173$i = 2064; + $next_input_byte$4149175$i = $next_input_byte$3$i200 + 1 | 0; label = 205; } while (0); L208 : do if ((label | 0) == 205) { label = 0; - if (!$671) { - $$2175194$i = 0; - $$4163196$i = $$4163193222$i; - $$4195$i = $$4192221$i; + if (!$tobool69$i) { + $bytes_in_buffer$4152$i = $bytes_in_buffer$4148174$i; + $i$2151$i = 0; + $next_input_byte$4153$i = $next_input_byte$4149175$i; while (1) { - if (!$$4195$i) { - if (!(FUNCTION_TABLE_ii[HEAP32[$641 >> 2] & 127]($0) | 0)) { - $$0 = 0; + if (!$bytes_in_buffer$4152$i) { + if (!(FUNCTION_TABLE_ii[HEAP32[$fill_input_buffer28$i >> 2] & 127]($cinfo) | 0)) { + $retval$0 = 0; label = 350; break L1; } - $$7$i70 = HEAP32[$614 >> 2] | 0; - $$7166$i = HEAP32[$613 >> 2] | 0; + $bytes_in_buffer$7$i212 = HEAP32[$bytes_in_buffer2$i171 >> 2] | 0; + $next_input_byte$7$i211 = HEAP32[$230 >> 2] | 0; } else { - $$7$i70 = $$4195$i; - $$7166$i = $$4163196$i; + $bytes_in_buffer$7$i212 = $bytes_in_buffer$4152$i; + $next_input_byte$7$i211 = $next_input_byte$4153$i; } - HEAP16[$673 + (HEAP32[$$0170220$i + ($$2175194$i << 2) >> 2] << 1) >> 1] = HEAPU8[$$7166$i >> 0] | 0; - $$2175194$i = $$2175194$i + 1 | 0; - $$4$i71 = $$7$i70 + -1 | 0; - $$4163$i = $$7166$i + 1 | 0; - if (($$2175194$i | 0) >= ($$0171177218$i | 0)) { - $$0171177219$i = $$0171177218$i; - $$4$lcssa$i = $$4$i71; - $$4163$lcssa$i = $$4163$i; + HEAP16[$252 + (HEAP32[$natural_order$0173$i + ($i$2151$i << 2) >> 2] << 1) >> 1] = HEAPU8[$next_input_byte$7$i211 >> 0] | 0; + $i$2151$i = $i$2151$i + 1 | 0; + $bytes_in_buffer$4$i214 = $bytes_in_buffer$7$i212 + -1 | 0; + $next_input_byte$4$i215 = $next_input_byte$7$i211 + 1 | 0; + if (($i$2151$i | 0) >= ($count$0135171$i | 0)) { + $bytes_in_buffer$4$lcssa$i = $bytes_in_buffer$4$i214; + $count$0135172$i = $count$0135171$i; + $next_input_byte$4$lcssa$i = $next_input_byte$4$i215; break L208; } else { - $$4163196$i = $$4163$i; - $$4195$i = $$4$i71; + $bytes_in_buffer$4152$i = $bytes_in_buffer$4$i214; + $next_input_byte$4153$i = $next_input_byte$4$i215; } } } - $$2175194$us$i = 0; - $$4163196$us$i = $$4163193222$i; - $$4195$us$i = $$4192221$i; + $bytes_in_buffer$4152$us$i = $bytes_in_buffer$4148174$i; + $i$2151$us$i = 0; + $next_input_byte$4153$us$i = $next_input_byte$4149175$i; while (1) { - if (!$$4195$us$i) { - if (!(FUNCTION_TABLE_ii[HEAP32[$641 >> 2] & 127]($0) | 0)) { - $$0 = 0; + if (!$bytes_in_buffer$4152$us$i) { + if (!(FUNCTION_TABLE_ii[HEAP32[$fill_input_buffer28$i >> 2] & 127]($cinfo) | 0)) { + $retval$0 = 0; label = 350; break L1; } - $$5$us$i = HEAP32[$614 >> 2] | 0; - $$5164$us$i = HEAP32[$613 >> 2] | 0; + $bytes_in_buffer$5$us$i = HEAP32[$bytes_in_buffer2$i171 >> 2] | 0; + $next_input_byte$5$us$i = HEAP32[$230 >> 2] | 0; } else { - $$5$us$i = $$4195$us$i; - $$5164$us$i = $$4163196$us$i; + $bytes_in_buffer$5$us$i = $bytes_in_buffer$4152$us$i; + $next_input_byte$5$us$i = $next_input_byte$4153$us$i; } - $809 = $$5$us$i + -1 | 0; - $810 = $$5164$us$i + 1 | 0; - $813 = HEAPU8[$$5164$us$i >> 0] << 8; - if (!$809) { - if (!(FUNCTION_TABLE_ii[HEAP32[$641 >> 2] & 127]($0) | 0)) { - $$0 = 0; + $dec118$us$i = $bytes_in_buffer$5$us$i + -1 | 0; + $incdec$ptr119$us$i = $next_input_byte$5$us$i + 1 | 0; + $shl121$us$i = HEAPU8[$next_input_byte$5$us$i >> 0] << 8; + if (!$dec118$us$i) { + if (!(FUNCTION_TABLE_ii[HEAP32[$fill_input_buffer28$i >> 2] & 127]($cinfo) | 0)) { + $retval$0 = 0; label = 350; break L1; } - $$6$us$i = HEAP32[$614 >> 2] | 0; - $$6165$us$i = HEAP32[$613 >> 2] | 0; + $bytes_in_buffer$6$us$i = HEAP32[$bytes_in_buffer2$i171 >> 2] | 0; + $next_input_byte$6$us$i = HEAP32[$230 >> 2] | 0; } else { - $$6$us$i = $809; - $$6165$us$i = $810; + $bytes_in_buffer$6$us$i = $dec118$us$i; + $next_input_byte$6$us$i = $incdec$ptr119$us$i; } - HEAP16[$673 + (HEAP32[$$0170220$i + ($$2175194$us$i << 2) >> 2] << 1) >> 1] = $813 | HEAPU8[$$6165$us$i >> 0]; - $$2175194$us$i = $$2175194$us$i + 1 | 0; - $$4$us$i = $$6$us$i + -1 | 0; - $$4163$us$i = $$6165$us$i + 1 | 0; - if (($$2175194$us$i | 0) >= ($$0171177218$i | 0)) { - $$0171177219$i = $$0171177218$i; - $$4$lcssa$i = $$4$us$i; - $$4163$lcssa$i = $$4163$us$i; + HEAP16[$252 + (HEAP32[$natural_order$0173$i + ($i$2151$us$i << 2) >> 2] << 1) >> 1] = $shl121$us$i | HEAPU8[$next_input_byte$6$us$i >> 0]; + $i$2151$us$i = $i$2151$us$i + 1 | 0; + $bytes_in_buffer$4$us$i = $bytes_in_buffer$6$us$i + -1 | 0; + $next_input_byte$4$us$i = $next_input_byte$6$us$i + 1 | 0; + if (($i$2151$us$i | 0) >= ($count$0135171$i | 0)) { + $bytes_in_buffer$4$lcssa$i = $bytes_in_buffer$4$us$i; + $count$0135172$i = $count$0135171$i; + $next_input_byte$4$lcssa$i = $next_input_byte$4$us$i; break; } else { - $$4163196$us$i = $$4163$us$i; - $$4195$us$i = $$4$us$i; + $bytes_in_buffer$4152$us$i = $bytes_in_buffer$4$us$i; + $next_input_byte$4153$us$i = $next_input_byte$4$us$i; } } } while (0); - $842 = HEAP32[$0 >> 2] | 0; - L230 : do if ((HEAP32[$842 + 104 >> 2] | 0) > 1) { - $$3176198$i = 0; - $847 = $842; + $267 = HEAP32[$cinfo >> 2] | 0; + L230 : do if ((HEAP32[$267 + 104 >> 2] | 0) > 1) { + $269 = $267; + $i$3155$i = 0; while (1) { - HEAP32[$847 + 24 >> 2] = HEAPU16[$673 + ($$3176198$i << 1) >> 1]; - HEAP32[$847 + 28 >> 2] = HEAPU16[$673 + (($$3176198$i | 1) << 1) >> 1]; - HEAP32[$847 + 32 >> 2] = HEAPU16[$673 + (($$3176198$i | 2) << 1) >> 1]; - HEAP32[$847 + 36 >> 2] = HEAPU16[$673 + (($$3176198$i | 3) << 1) >> 1]; - HEAP32[$847 + 40 >> 2] = HEAPU16[$673 + (($$3176198$i | 4) << 1) >> 1]; - HEAP32[$847 + 44 >> 2] = HEAPU16[$673 + (($$3176198$i | 5) << 1) >> 1]; - HEAP32[$847 + 48 >> 2] = HEAPU16[$673 + (($$3176198$i | 6) << 1) >> 1]; - HEAP32[$847 + 52 >> 2] = HEAPU16[$673 + (($$3176198$i | 7) << 1) >> 1]; - HEAP32[$847 + 20 >> 2] = 95; - FUNCTION_TABLE_vii[HEAP32[$847 + 4 >> 2] & 255]($0, 2); - $889 = $$3176198$i + 8 | 0; - if ($889 >>> 0 >= 64) break L230; - $$3176198$i = $889; - $847 = HEAP32[$0 >> 2] | 0; + HEAP32[$269 + 24 >> 2] = HEAPU16[$252 + ($i$3155$i << 1) >> 1]; + HEAP32[$269 + 28 >> 2] = HEAPU16[$252 + (($i$3155$i | 1) << 1) >> 1]; + HEAP32[$269 + 32 >> 2] = HEAPU16[$252 + (($i$3155$i | 2) << 1) >> 1]; + HEAP32[$269 + 36 >> 2] = HEAPU16[$252 + (($i$3155$i | 3) << 1) >> 1]; + HEAP32[$269 + 40 >> 2] = HEAPU16[$252 + (($i$3155$i | 4) << 1) >> 1]; + HEAP32[$269 + 44 >> 2] = HEAPU16[$252 + (($i$3155$i | 5) << 1) >> 1]; + HEAP32[$269 + 48 >> 2] = HEAPU16[$252 + (($i$3155$i | 6) << 1) >> 1]; + HEAP32[$269 + 52 >> 2] = HEAPU16[$252 + (($i$3155$i | 7) << 1) >> 1]; + HEAP32[$269 + 20 >> 2] = 95; + FUNCTION_TABLE_vii[HEAP32[$269 + 4 >> 2] & 255]($cinfo, 2); + $add223$i = $i$3155$i + 8 | 0; + if ($add223$i >>> 0 >= 64) break L230; + $269 = HEAP32[$cinfo >> 2] | 0; + $i$3155$i = $add223$i; } } while (0); - $spec$select$i74 = $642 - $$0171177219$i + ($671 ? 0 - $$0171177219$i | 0 : 0) | 0; - if (($spec$select$i74 | 0) > 0) { - $$0168199$i = $spec$select$i74; - $$2161200$i = $$4163$lcssa$i; - $$2201$i = $$4$lcssa$i; + $spec$select$i220 = $dec23$i - $count$0135172$i + ($tobool69$i ? 0 - $count$0135172$i | 0 : 0) | 0; + if (($spec$select$i220 | 0) > 0) { + $bytes_in_buffer$2159$i = $bytes_in_buffer$4$lcssa$i; + $length$0157$i = $spec$select$i220; + $next_input_byte$2158$i = $next_input_byte$4$lcssa$i; } else { - $$0168$lcssa$i = $spec$select$i74; - $$2$lcssa$i76 = $$4$lcssa$i; - $$2161$lcssa$i = $$4163$lcssa$i; + $bytes_in_buffer$2$lcssa$i224 = $bytes_in_buffer$4$lcssa$i; + $length$0$lcssa$i222 = $spec$select$i220; + $next_input_byte$2$lcssa$i223 = $next_input_byte$4$lcssa$i; break; } } } else { - $$0168$lcssa$i = $639; - $$2$lcssa$i76 = $634; - $$2161$lcssa$i = $635; + $bytes_in_buffer$2$lcssa$i224 = $dec18$i193; + $length$0$lcssa$i222 = $sub$i197; + $next_input_byte$2$lcssa$i223 = $incdec$ptr19$i194; } - if ($$0168$lcssa$i | 0) { - $894 = HEAP32[$0 >> 2] | 0; - HEAP32[$894 + 20 >> 2] = 12; - FUNCTION_TABLE_vi[HEAP32[$894 >> 2] & 255]($0); + if ($length$0$lcssa$i222 | 0) { + $279 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$279 + 20 >> 2] = 12; + FUNCTION_TABLE_vi[HEAP32[$279 >> 2] & 255]($cinfo); } - HEAP32[$613 >> 2] = $$2161$lcssa$i; - HEAP32[$614 >> 2] = $$2$lcssa$i76; + HEAP32[$230 >> 2] = $next_input_byte$2$lcssa$i223; + HEAP32[$bytes_in_buffer2$i171 >> 2] = $bytes_in_buffer$2$lcssa$i224; break; } case 221: { - $897 = HEAP32[$4 >> 2] | 0; - $898 = $897 + 4 | 0; - $899 = HEAP32[$898 >> 2] | 0; - if (!$899) { - if (!(FUNCTION_TABLE_ii[HEAP32[$897 + 12 >> 2] & 127]($0) | 0)) { - $$0 = 0; + $281 = HEAP32[$src$i >> 2] | 0; + $bytes_in_buffer2$i229 = $281 + 4 | 0; + $282 = HEAP32[$bytes_in_buffer2$i229 >> 2] | 0; + if (!$282) { + if (!(FUNCTION_TABLE_ii[HEAP32[$281 + 12 >> 2] & 127]($cinfo) | 0)) { + $retval$0 = 0; label = 350; break L1; } - $$0$i78 = HEAP32[$898 >> 2] | 0; - } else $$0$i78 = $899; - $$057$i = HEAP32[$897 >> 2] | 0; - $906 = $$0$i78 + -1 | 0; - $907 = $$057$i + 1 | 0; - $910 = HEAPU8[$$057$i >> 0] << 8; - if (!$906) { - if (!(FUNCTION_TABLE_ii[HEAP32[$897 + 12 >> 2] & 127]($0) | 0)) { - $$0 = 0; + $bytes_in_buffer$0$i236 = HEAP32[$bytes_in_buffer2$i229 >> 2] | 0; + } else $bytes_in_buffer$0$i236 = $282; + $next_input_byte$0$i237 = HEAP32[$281 >> 2] | 0; + $dec$i238 = $bytes_in_buffer$0$i236 + -1 | 0; + $incdec$ptr$i239 = $next_input_byte$0$i237 + 1 | 0; + $shl$i241 = HEAPU8[$next_input_byte$0$i237 >> 0] << 8; + if (!$dec$i238) { + if (!(FUNCTION_TABLE_ii[HEAP32[$281 + 12 >> 2] & 127]($cinfo) | 0)) { + $retval$0 = 0; label = 350; break L1; } - $$1$i79 = HEAP32[$898 >> 2] | 0; - $$158$i = HEAP32[$897 >> 2] | 0; + $bytes_in_buffer$1$i250 = HEAP32[$bytes_in_buffer2$i229 >> 2] | 0; + $next_input_byte$1$i249 = HEAP32[$281 >> 2] | 0; } else { - $$1$i79 = $906; - $$158$i = $907; - } - $918 = $$1$i79 + -1 | 0; - $919 = $$158$i + 1 | 0; - if (($910 | HEAPU8[$$158$i >> 0] | 0) != 4) { - $924 = HEAP32[$0 >> 2] | 0; - HEAP32[$924 + 20 >> 2] = 12; - FUNCTION_TABLE_vi[HEAP32[$924 >> 2] & 255]($0); - } - if (!$918) { - if (!(FUNCTION_TABLE_ii[HEAP32[$897 + 12 >> 2] & 127]($0) | 0)) { - $$0 = 0; + $bytes_in_buffer$1$i250 = $dec$i238; + $next_input_byte$1$i249 = $incdec$ptr$i239; + } + $dec18$i251 = $bytes_in_buffer$1$i250 + -1 | 0; + $incdec$ptr19$i252 = $next_input_byte$1$i249 + 1 | 0; + if (($shl$i241 | HEAPU8[$next_input_byte$1$i249 >> 0] | 0) != 4) { + $290 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$290 + 20 >> 2] = 12; + FUNCTION_TABLE_vi[HEAP32[$290 >> 2] & 255]($cinfo); + } + if (!$dec18$i251) { + if (!(FUNCTION_TABLE_ii[HEAP32[$281 + 12 >> 2] & 127]($cinfo) | 0)) { + $retval$0 = 0; label = 350; break L1; } - $$2$i80 = HEAP32[$898 >> 2] | 0; - $$259$i = HEAP32[$897 >> 2] | 0; + $bytes_in_buffer$2$i262 = HEAP32[$bytes_in_buffer2$i229 >> 2] | 0; + $next_input_byte$2$i261 = HEAP32[$281 >> 2] | 0; } else { - $$2$i80 = $918; - $$259$i = $919; - } - $934 = $$2$i80 + -1 | 0; - $935 = $$259$i + 1 | 0; - $938 = HEAPU8[$$259$i >> 0] << 8; - if (!$934) { - if (!(FUNCTION_TABLE_ii[HEAP32[$897 + 12 >> 2] & 127]($0) | 0)) { - $$0 = 0; + $bytes_in_buffer$2$i262 = $dec18$i251; + $next_input_byte$2$i261 = $incdec$ptr19$i252; + } + $dec38$i = $bytes_in_buffer$2$i262 + -1 | 0; + $incdec$ptr39$i = $next_input_byte$2$i261 + 1 | 0; + $shl41$i = HEAPU8[$next_input_byte$2$i261 >> 0] << 8; + if (!$dec38$i) { + if (!(FUNCTION_TABLE_ii[HEAP32[$281 + 12 >> 2] & 127]($cinfo) | 0)) { + $retval$0 = 0; label = 350; break L1; } - $$3$i81 = HEAP32[$898 >> 2] | 0; - $$360$i = HEAP32[$897 >> 2] | 0; + $bytes_in_buffer$3$i264 = HEAP32[$bytes_in_buffer2$i229 >> 2] | 0; + $next_input_byte$3$i263 = HEAP32[$281 >> 2] | 0; } else { - $$3$i81 = $934; - $$360$i = $935; + $bytes_in_buffer$3$i264 = $dec38$i; + $next_input_byte$3$i263 = $incdec$ptr39$i; } - $950 = $938 | HEAPU8[$$360$i >> 0]; - $951 = HEAP32[$0 >> 2] | 0; - HEAP32[$951 + 20 >> 2] = 84; - HEAP32[$951 + 24 >> 2] = $950; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$0 >> 2] | 0) + 4 >> 2] & 255]($0, 1); - HEAP32[$5 >> 2] = $950; - HEAP32[$897 >> 2] = $$360$i + 1; - HEAP32[$898 >> 2] = $$3$i81 + -1; + $add56$i = $shl41$i | HEAPU8[$next_input_byte$3$i263 >> 0]; + $300 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$300 + 20 >> 2] = 84; + HEAP32[$300 + 24 >> 2] = $add56$i; + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$cinfo >> 2] | 0) + 4 >> 2] & 255]($cinfo, 1); + HEAP32[$restart_interval$i >> 2] = $add56$i; + HEAP32[$281 >> 2] = $next_input_byte$3$i263 + 1; + HEAP32[$bytes_in_buffer2$i229 >> 2] = $bytes_in_buffer$3$i264 + -1; break; } case 248: { - $957 = HEAP32[$4 >> 2] | 0; - $958 = HEAP32[$957 >> 2] | 0; - $959 = $957 + 4 | 0; - $960 = HEAP32[$959 >> 2] | 0; - if (!(HEAP32[(HEAP32[$3 >> 2] | 0) + 16 >> 2] | 0)) { - $965 = HEAP32[$0 >> 2] | 0; - HEAP32[$965 + 20 >> 2] = 60; - _strncpy($965 + 24 | 0, 50709, 80) | 0; - FUNCTION_TABLE_vi[HEAP32[HEAP32[$0 >> 2] >> 2] & 255]($0); - } - do if ((HEAP32[$17 >> 2] | 0) >= 3) { - if (!$960) { - if (!(FUNCTION_TABLE_ii[HEAP32[$957 + 12 >> 2] & 127]($0) | 0)) { - $$0 = 0; + $303 = HEAP32[$src$i >> 2] | 0; + $304 = HEAP32[$303 >> 2] | 0; + $bytes_in_buffer2$i271 = $303 + 4 | 0; + $305 = HEAP32[$bytes_in_buffer2$i271 >> 2] | 0; + if (!(HEAP32[(HEAP32[$marker >> 2] | 0) + 16 >> 2] | 0)) { + $308 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$308 + 20 >> 2] = 60; + _strncpy($308 + 24 | 0, 51551, 80) | 0; + FUNCTION_TABLE_vi[HEAP32[HEAP32[$cinfo >> 2] >> 2] & 255]($cinfo); + } + do if ((HEAP32[$num_components$i282 >> 2] | 0) >= 3) { + if (!$305) { + if (!(FUNCTION_TABLE_ii[HEAP32[$303 + 12 >> 2] & 127]($cinfo) | 0)) { + $retval$0 = 0; label = 350; break L1; } - $$0$i82 = HEAP32[$959 >> 2] | 0; - $$0231$i = HEAP32[$957 >> 2] | 0; + $bytes_in_buffer$0$i290 = HEAP32[$bytes_in_buffer2$i271 >> 2] | 0; + $next_input_byte$0$i289 = HEAP32[$303 >> 2] | 0; } else { - $$0$i82 = $960; - $$0231$i = $958; - } - $979 = $$0$i82 + -1 | 0; - $980 = $$0231$i + 1 | 0; - $983 = HEAPU8[$$0231$i >> 0] << 8; - if (!$979) { - if (!(FUNCTION_TABLE_ii[HEAP32[$957 + 12 >> 2] & 127]($0) | 0)) { - $$0 = 0; + $bytes_in_buffer$0$i290 = $305; + $next_input_byte$0$i289 = $304; + } + $dec$i291 = $bytes_in_buffer$0$i290 + -1 | 0; + $incdec$ptr$i292 = $next_input_byte$0$i289 + 1 | 0; + $shl$i294 = HEAPU8[$next_input_byte$0$i289 >> 0] << 8; + if (!$dec$i291) { + if (!(FUNCTION_TABLE_ii[HEAP32[$303 + 12 >> 2] & 127]($cinfo) | 0)) { + $retval$0 = 0; label = 350; break L1; } - $$1$i83 = HEAP32[$959 >> 2] | 0; - $$1232$i = HEAP32[$957 >> 2] | 0; + $bytes_in_buffer$1$i298 = HEAP32[$bytes_in_buffer2$i271 >> 2] | 0; + $next_input_byte$1$i297 = HEAP32[$303 >> 2] | 0; } else { - $$1$i83 = $979; - $$1232$i = $980; - } - $991 = $$1$i83 + -1 | 0; - $992 = $$1232$i + 1 | 0; - if (($983 | HEAPU8[$$1232$i >> 0] | 0) != 24) { - $997 = HEAP32[$0 >> 2] | 0; - HEAP32[$997 + 20 >> 2] = 12; - FUNCTION_TABLE_vi[HEAP32[$997 >> 2] & 255]($0); - } - if (!$991) { - if (!(FUNCTION_TABLE_ii[HEAP32[$957 + 12 >> 2] & 127]($0) | 0)) { - $$0 = 0; + $bytes_in_buffer$1$i298 = $dec$i291; + $next_input_byte$1$i297 = $incdec$ptr$i292; + } + $dec27$i = $bytes_in_buffer$1$i298 + -1 | 0; + $incdec$ptr28$i = $next_input_byte$1$i297 + 1 | 0; + if (($shl$i294 | HEAPU8[$next_input_byte$1$i297 >> 0] | 0) != 24) { + $320 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$320 + 20 >> 2] = 12; + FUNCTION_TABLE_vi[HEAP32[$320 >> 2] & 255]($cinfo); + } + if (!$dec27$i) { + if (!(FUNCTION_TABLE_ii[HEAP32[$303 + 12 >> 2] & 127]($cinfo) | 0)) { + $retval$0 = 0; label = 350; break L1; } - $$2$i84 = HEAP32[$959 >> 2] | 0; - $$2233$i = HEAP32[$957 >> 2] | 0; + $bytes_in_buffer$2$i301 = HEAP32[$bytes_in_buffer2$i271 >> 2] | 0; + $next_input_byte$2$i300 = HEAP32[$303 >> 2] | 0; } else { - $$2$i84 = $991; - $$2233$i = $992; - } - $1007 = $$2$i84 + -1 | 0; - $1008 = $$2233$i + 1 | 0; - if ((HEAP8[$$2233$i >> 0] | 0) != 13) { - $1011 = HEAP32[$0 >> 2] | 0; - HEAP32[$1011 + 20 >> 2] = 70; - HEAP32[$1011 + 24 >> 2] = HEAP32[$2 >> 2]; - FUNCTION_TABLE_vi[HEAP32[HEAP32[$0 >> 2] >> 2] & 255]($0); - } - if (!$1007) { - if (!(FUNCTION_TABLE_ii[HEAP32[$957 + 12 >> 2] & 127]($0) | 0)) { - $$0 = 0; + $bytes_in_buffer$2$i301 = $dec27$i; + $next_input_byte$2$i300 = $incdec$ptr28$i; + } + $dec50$i = $bytes_in_buffer$2$i301 + -1 | 0; + $incdec$ptr51$i = $next_input_byte$2$i300 + 1 | 0; + if ((HEAP8[$next_input_byte$2$i300 >> 0] | 0) != 13) { + $326 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$326 + 20 >> 2] = 70; + HEAP32[$326 + 24 >> 2] = HEAP32[$unread_marker >> 2]; + FUNCTION_TABLE_vi[HEAP32[HEAP32[$cinfo >> 2] >> 2] & 255]($cinfo); + } + if (!$dec50$i) { + if (!(FUNCTION_TABLE_ii[HEAP32[$303 + 12 >> 2] & 127]($cinfo) | 0)) { + $retval$0 = 0; label = 350; break L1; } - $$3$i85 = HEAP32[$959 >> 2] | 0; - $$3234$i = HEAP32[$957 >> 2] | 0; + $bytes_in_buffer$3$i308 = HEAP32[$bytes_in_buffer2$i271 >> 2] | 0; + $next_input_byte$3$i307 = HEAP32[$303 >> 2] | 0; } else { - $$3$i85 = $1007; - $$3234$i = $1008; - } - $1024 = $$3$i85 + -1 | 0; - $1025 = $$3234$i + 1 | 0; - $1028 = HEAPU8[$$3234$i >> 0] << 8; - if (!$1024) { - if (!(FUNCTION_TABLE_ii[HEAP32[$957 + 12 >> 2] & 127]($0) | 0)) { - $$0 = 0; + $bytes_in_buffer$3$i308 = $dec50$i; + $next_input_byte$3$i307 = $incdec$ptr51$i; + } + $dec77$i = $bytes_in_buffer$3$i308 + -1 | 0; + $incdec$ptr78$i = $next_input_byte$3$i307 + 1 | 0; + $shl80$i = HEAPU8[$next_input_byte$3$i307 >> 0] << 8; + if (!$dec77$i) { + if (!(FUNCTION_TABLE_ii[HEAP32[$303 + 12 >> 2] & 127]($cinfo) | 0)) { + $retval$0 = 0; label = 350; break L1; } - $$4$i86 = HEAP32[$959 >> 2] | 0; - $$4235$i = HEAP32[$957 >> 2] | 0; + $bytes_in_buffer$4$i311 = HEAP32[$bytes_in_buffer2$i271 >> 2] | 0; + $next_input_byte$4$i310 = HEAP32[$303 >> 2] | 0; } else { - $$4$i86 = $1024; - $$4235$i = $1025; - } - $1036 = $$4$i86 + -1 | 0; - $1037 = $$4235$i + 1 | 0; - if (($1028 | HEAPU8[$$4235$i >> 0] | 0) == 255) { - if (!$1036) { - if (!(FUNCTION_TABLE_ii[HEAP32[$957 + 12 >> 2] & 127]($0) | 0)) { - $$0 = 0; + $bytes_in_buffer$4$i311 = $dec77$i; + $next_input_byte$4$i310 = $incdec$ptr78$i; + } + $dec92$i = $bytes_in_buffer$4$i311 + -1 | 0; + $incdec$ptr93$i = $next_input_byte$4$i310 + 1 | 0; + if (($shl80$i | HEAPU8[$next_input_byte$4$i310 >> 0] | 0) == 255) { + if (!$dec92$i) { + if (!(FUNCTION_TABLE_ii[HEAP32[$303 + 12 >> 2] & 127]($cinfo) | 0)) { + $retval$0 = 0; label = 350; break L1; } - $$5$i87 = HEAP32[$959 >> 2] | 0; - $$5236$i = HEAP32[$957 >> 2] | 0; + $bytes_in_buffer$5$i313 = HEAP32[$bytes_in_buffer2$i271 >> 2] | 0; + $next_input_byte$5$i312 = HEAP32[$303 >> 2] | 0; } else { - $$5$i87 = $1036; - $$5236$i = $1037; - } - $1049 = $$5$i87 + -1 | 0; - $1050 = $$5236$i + 1 | 0; - if ((HEAP8[$$5236$i >> 0] | 0) == 3) { - if (!$1049) { - if (!(FUNCTION_TABLE_ii[HEAP32[$957 + 12 >> 2] & 127]($0) | 0)) { - $$0 = 0; + $bytes_in_buffer$5$i313 = $dec92$i; + $next_input_byte$5$i312 = $incdec$ptr93$i; + } + $dec114$i = $bytes_in_buffer$5$i313 + -1 | 0; + $incdec$ptr115$i = $next_input_byte$5$i312 + 1 | 0; + if ((HEAP8[$next_input_byte$5$i312 >> 0] | 0) == 3) { + if (!$dec114$i) { + if (!(FUNCTION_TABLE_ii[HEAP32[$303 + 12 >> 2] & 127]($cinfo) | 0)) { + $retval$0 = 0; label = 350; break L1; } - $$6$i88 = HEAP32[$959 >> 2] | 0; - $$6237$i = HEAP32[$957 >> 2] | 0; + $bytes_in_buffer$6$i316 = HEAP32[$bytes_in_buffer2$i271 >> 2] | 0; + $next_input_byte$6$i315 = HEAP32[$303 >> 2] | 0; } else { - $$6$i88 = $1049; - $$6237$i = $1050; + $bytes_in_buffer$6$i316 = $dec114$i; + $next_input_byte$6$i315 = $incdec$ptr115$i; } - $1060 = $$6$i88 + -1 | 0; - $1061 = $$6237$i + 1 | 0; - $1064 = HEAP32[$18 >> 2] | 0; - if ((HEAP32[$1064 + 88 >> 2] | 0) == (HEAPU8[$$6237$i >> 0] | 0)) { - if (!$1060) { - if (!(FUNCTION_TABLE_ii[HEAP32[$957 + 12 >> 2] & 127]($0) | 0)) { - $$0 = 0; + $dec135$i = $bytes_in_buffer$6$i316 + -1 | 0; + $incdec$ptr136$i = $next_input_byte$6$i315 + 1 | 0; + $346 = HEAP32[$comp_info$i317 >> 2] | 0; + if ((HEAP32[$346 + 88 >> 2] | 0) == (HEAPU8[$next_input_byte$6$i315 >> 0] | 0)) { + if (!$dec135$i) { + if (!(FUNCTION_TABLE_ii[HEAP32[$303 + 12 >> 2] & 127]($cinfo) | 0)) { + $retval$0 = 0; label = 350; break L1; } - $$7$i90 = HEAP32[$959 >> 2] | 0; - $$7238$i = HEAP32[$957 >> 2] | 0; - $1080 = HEAP32[$18 >> 2] | 0; + $353 = HEAP32[$comp_info$i317 >> 2] | 0; + $bytes_in_buffer$7$i321 = HEAP32[$bytes_in_buffer2$i271 >> 2] | 0; + $next_input_byte$7$i320 = HEAP32[$303 >> 2] | 0; } else { - $$7$i90 = $1060; - $$7238$i = $1061; - $1080 = $1064; + $353 = $346; + $bytes_in_buffer$7$i321 = $dec135$i; + $next_input_byte$7$i320 = $incdec$ptr136$i; } - $1075 = $$7$i90 + -1 | 0; - $1076 = $$7238$i + 1 | 0; - if ((HEAP32[$1080 >> 2] | 0) == (HEAPU8[$$7238$i >> 0] | 0)) { - if (!$1075) { - if (!(FUNCTION_TABLE_ii[HEAP32[$957 + 12 >> 2] & 127]($0) | 0)) { - $$0 = 0; + $dec157$i = $bytes_in_buffer$7$i321 + -1 | 0; + $incdec$ptr158$i = $next_input_byte$7$i320 + 1 | 0; + if ((HEAP32[$353 >> 2] | 0) == (HEAPU8[$next_input_byte$7$i320 >> 0] | 0)) { + if (!$dec157$i) { + if (!(FUNCTION_TABLE_ii[HEAP32[$303 + 12 >> 2] & 127]($cinfo) | 0)) { + $retval$0 = 0; label = 350; break L1; } - $$8$i91 = HEAP32[$959 >> 2] | 0; - $$8239$i = HEAP32[$957 >> 2] | 0; - $1094 = HEAP32[$18 >> 2] | 0; + $358 = HEAP32[$comp_info$i317 >> 2] | 0; + $bytes_in_buffer$8$i324 = HEAP32[$bytes_in_buffer2$i271 >> 2] | 0; + $next_input_byte$8$i323 = HEAP32[$303 >> 2] | 0; } else { - $$8$i91 = $1075; - $$8239$i = $1076; - $1094 = $1080; + $358 = $353; + $bytes_in_buffer$8$i324 = $dec157$i; + $next_input_byte$8$i323 = $incdec$ptr158$i; } - $1089 = $$8$i91 + -1 | 0; - $1090 = $$8239$i + 1 | 0; - if ((HEAP32[$1094 + 176 >> 2] | 0) != (HEAPU8[$$8239$i >> 0] | 0)) { - $$24$i = $1089; - $$24255$i = $1090; + $dec181$i = $bytes_in_buffer$8$i324 + -1 | 0; + $incdec$ptr182$i = $next_input_byte$8$i323 + 1 | 0; + if ((HEAP32[$358 + 176 >> 2] | 0) != (HEAPU8[$next_input_byte$8$i323 >> 0] | 0)) { + $bytes_in_buffer$24$i = $dec181$i; + $next_input_byte$24$i = $incdec$ptr182$i; label = 335; break; } - if (!$1089) { - if (!(FUNCTION_TABLE_ii[HEAP32[$957 + 12 >> 2] & 127]($0) | 0)) { - $$0 = 0; + if (!$dec181$i) { + if (!(FUNCTION_TABLE_ii[HEAP32[$303 + 12 >> 2] & 127]($cinfo) | 0)) { + $retval$0 = 0; label = 350; break L1; } - $$9$i = HEAP32[$959 >> 2] | 0; - $$9240$i = HEAP32[$957 >> 2] | 0; + $bytes_in_buffer$9$i = HEAP32[$bytes_in_buffer2$i271 >> 2] | 0; + $next_input_byte$9$i = HEAP32[$303 >> 2] | 0; } else { - $$9$i = $1089; - $$9240$i = $1090; + $bytes_in_buffer$9$i = $dec181$i; + $next_input_byte$9$i = $incdec$ptr182$i; } - $1104 = $$9$i + -1 | 0; - $1105 = $$9240$i + 1 | 0; - if ((HEAP8[$$9240$i >> 0] | 0) != -128) { - $$24$i = $1104; - $$24255$i = $1105; + $dec205$i = $bytes_in_buffer$9$i + -1 | 0; + $incdec$ptr206$i = $next_input_byte$9$i + 1 | 0; + if ((HEAP8[$next_input_byte$9$i >> 0] | 0) != -128) { + $bytes_in_buffer$24$i = $dec205$i; + $next_input_byte$24$i = $incdec$ptr206$i; label = 335; break; } - if (!$1104) { - if (!(FUNCTION_TABLE_ii[HEAP32[$957 + 12 >> 2] & 127]($0) | 0)) { - $$0 = 0; + if (!$dec205$i) { + if (!(FUNCTION_TABLE_ii[HEAP32[$303 + 12 >> 2] & 127]($cinfo) | 0)) { + $retval$0 = 0; label = 350; break L1; } - $$10$i = HEAP32[$959 >> 2] | 0; - $$10241$i = HEAP32[$957 >> 2] | 0; + $bytes_in_buffer$10$i = HEAP32[$bytes_in_buffer2$i271 >> 2] | 0; + $next_input_byte$10$i = HEAP32[$303 >> 2] | 0; } else { - $$10$i = $1104; - $$10241$i = $1105; + $bytes_in_buffer$10$i = $dec205$i; + $next_input_byte$10$i = $incdec$ptr206$i; } - $1115 = $$10$i + -1 | 0; - $1116 = $$10241$i + 1 | 0; - $1119 = HEAPU8[$$10241$i >> 0] << 8; - if (!$1115) { - if (!(FUNCTION_TABLE_ii[HEAP32[$957 + 12 >> 2] & 127]($0) | 0)) { - $$0 = 0; + $dec226$i = $bytes_in_buffer$10$i + -1 | 0; + $incdec$ptr227$i = $next_input_byte$10$i + 1 | 0; + $shl229$i = HEAPU8[$next_input_byte$10$i >> 0] << 8; + if (!$dec226$i) { + if (!(FUNCTION_TABLE_ii[HEAP32[$303 + 12 >> 2] & 127]($cinfo) | 0)) { + $retval$0 = 0; label = 350; break L1; } - $$11$i = HEAP32[$959 >> 2] | 0; - $$11242$i = HEAP32[$957 >> 2] | 0; + $bytes_in_buffer$11$i = HEAP32[$bytes_in_buffer2$i271 >> 2] | 0; + $next_input_byte$11$i = HEAP32[$303 >> 2] | 0; } else { - $$11$i = $1115; - $$11242$i = $1116; + $bytes_in_buffer$11$i = $dec226$i; + $next_input_byte$11$i = $incdec$ptr227$i; } - $1127 = $$11$i + -1 | 0; - $1128 = $$11242$i + 1 | 0; - if ($1119 | HEAPU8[$$11242$i >> 0] | 0) { - $$24$i = $1127; - $$24255$i = $1128; + $dec241$i = $bytes_in_buffer$11$i + -1 | 0; + $incdec$ptr242$i = $next_input_byte$11$i + 1 | 0; + if ($shl229$i | HEAPU8[$next_input_byte$11$i >> 0] | 0) { + $bytes_in_buffer$24$i = $dec241$i; + $next_input_byte$24$i = $incdec$ptr242$i; label = 335; break; } - if (!$1127) { - if (!(FUNCTION_TABLE_ii[HEAP32[$957 + 12 >> 2] & 127]($0) | 0)) { - $$0 = 0; + if (!$dec241$i) { + if (!(FUNCTION_TABLE_ii[HEAP32[$303 + 12 >> 2] & 127]($cinfo) | 0)) { + $retval$0 = 0; label = 350; break L1; } - $$12$i = HEAP32[$959 >> 2] | 0; - $$12243$i = HEAP32[$957 >> 2] | 0; + $bytes_in_buffer$12$i = HEAP32[$bytes_in_buffer2$i271 >> 2] | 0; + $next_input_byte$12$i = HEAP32[$303 >> 2] | 0; } else { - $$12$i = $1127; - $$12243$i = $1128; + $bytes_in_buffer$12$i = $dec241$i; + $next_input_byte$12$i = $incdec$ptr242$i; } - $1140 = $$12$i + -1 | 0; - $1141 = $$12243$i + 1 | 0; - $1144 = HEAPU8[$$12243$i >> 0] << 8; - if (!$1140) { - if (!(FUNCTION_TABLE_ii[HEAP32[$957 + 12 >> 2] & 127]($0) | 0)) { - $$0 = 0; + $dec263$i = $bytes_in_buffer$12$i + -1 | 0; + $incdec$ptr264$i = $next_input_byte$12$i + 1 | 0; + $shl266$i = HEAPU8[$next_input_byte$12$i >> 0] << 8; + if (!$dec263$i) { + if (!(FUNCTION_TABLE_ii[HEAP32[$303 + 12 >> 2] & 127]($cinfo) | 0)) { + $retval$0 = 0; label = 350; break L1; } - $$13$i = HEAP32[$959 >> 2] | 0; - $$13244$i = HEAP32[$957 >> 2] | 0; + $bytes_in_buffer$13$i = HEAP32[$bytes_in_buffer2$i271 >> 2] | 0; + $next_input_byte$13$i = HEAP32[$303 >> 2] | 0; } else { - $$13$i = $1140; - $$13244$i = $1141; + $bytes_in_buffer$13$i = $dec263$i; + $next_input_byte$13$i = $incdec$ptr264$i; } - $1152 = $$13$i + -1 | 0; - $1153 = $$13244$i + 1 | 0; - if ($1144 | HEAPU8[$$13244$i >> 0] | 0) { - $$24$i = $1152; - $$24255$i = $1153; + $dec278$i = $bytes_in_buffer$13$i + -1 | 0; + $incdec$ptr279$i = $next_input_byte$13$i + 1 | 0; + if ($shl266$i | HEAPU8[$next_input_byte$13$i >> 0] | 0) { + $bytes_in_buffer$24$i = $dec278$i; + $next_input_byte$24$i = $incdec$ptr279$i; label = 335; break; } - if (!$1152) { - if (!(FUNCTION_TABLE_ii[HEAP32[$957 + 12 >> 2] & 127]($0) | 0)) { - $$0 = 0; + if (!$dec278$i) { + if (!(FUNCTION_TABLE_ii[HEAP32[$303 + 12 >> 2] & 127]($cinfo) | 0)) { + $retval$0 = 0; label = 350; break L1; } - $$14$i = HEAP32[$959 >> 2] | 0; - $$14245$i = HEAP32[$957 >> 2] | 0; + $bytes_in_buffer$14$i = HEAP32[$bytes_in_buffer2$i271 >> 2] | 0; + $next_input_byte$14$i = HEAP32[$303 >> 2] | 0; } else { - $$14$i = $1152; - $$14245$i = $1153; + $bytes_in_buffer$14$i = $dec278$i; + $next_input_byte$14$i = $incdec$ptr279$i; } - $1165 = $$14$i + -1 | 0; - $1166 = $$14245$i + 1 | 0; - if (HEAP8[$$14245$i >> 0] | 0) { - $$24$i = $1165; - $$24255$i = $1166; + $dec300$i = $bytes_in_buffer$14$i + -1 | 0; + $incdec$ptr301$i = $next_input_byte$14$i + 1 | 0; + if (HEAP8[$next_input_byte$14$i >> 0] | 0) { + $bytes_in_buffer$24$i = $dec300$i; + $next_input_byte$24$i = $incdec$ptr301$i; label = 335; break; } - if (!$1165) { - if (!(FUNCTION_TABLE_ii[HEAP32[$957 + 12 >> 2] & 127]($0) | 0)) { - $$0 = 0; + if (!$dec300$i) { + if (!(FUNCTION_TABLE_ii[HEAP32[$303 + 12 >> 2] & 127]($cinfo) | 0)) { + $retval$0 = 0; label = 350; break L1; } - $$15$i = HEAP32[$959 >> 2] | 0; - $$15246$i = HEAP32[$957 >> 2] | 0; + $bytes_in_buffer$15$i = HEAP32[$bytes_in_buffer2$i271 >> 2] | 0; + $next_input_byte$15$i = HEAP32[$303 >> 2] | 0; } else { - $$15$i = $1165; - $$15246$i = $1166; + $bytes_in_buffer$15$i = $dec300$i; + $next_input_byte$15$i = $incdec$ptr301$i; } - $1176 = $$15$i + -1 | 0; - $1177 = $$15246$i + 1 | 0; - $1180 = HEAPU8[$$15246$i >> 0] << 8; - if (!$1176) { - if (!(FUNCTION_TABLE_ii[HEAP32[$957 + 12 >> 2] & 127]($0) | 0)) { - $$0 = 0; + $dec321$i = $bytes_in_buffer$15$i + -1 | 0; + $incdec$ptr322$i = $next_input_byte$15$i + 1 | 0; + $shl324$i = HEAPU8[$next_input_byte$15$i >> 0] << 8; + if (!$dec321$i) { + if (!(FUNCTION_TABLE_ii[HEAP32[$303 + 12 >> 2] & 127]($cinfo) | 0)) { + $retval$0 = 0; label = 350; break L1; } - $$16$i = HEAP32[$959 >> 2] | 0; - $$16247$i = HEAP32[$957 >> 2] | 0; + $bytes_in_buffer$16$i = HEAP32[$bytes_in_buffer2$i271 >> 2] | 0; + $next_input_byte$16$i = HEAP32[$303 >> 2] | 0; } else { - $$16$i = $1176; - $$16247$i = $1177; + $bytes_in_buffer$16$i = $dec321$i; + $next_input_byte$16$i = $incdec$ptr322$i; } - $1188 = $$16$i + -1 | 0; - $1189 = $$16247$i + 1 | 0; - if (($1180 | HEAPU8[$$16247$i >> 0] | 0) != 1) { - $$24$i = $1188; - $$24255$i = $1189; + $dec336$i = $bytes_in_buffer$16$i + -1 | 0; + $incdec$ptr337$i = $next_input_byte$16$i + 1 | 0; + if (($shl324$i | HEAPU8[$next_input_byte$16$i >> 0] | 0) != 1) { + $bytes_in_buffer$24$i = $dec336$i; + $next_input_byte$24$i = $incdec$ptr337$i; label = 335; break; } - if (!$1188) { - if (!(FUNCTION_TABLE_ii[HEAP32[$957 + 12 >> 2] & 127]($0) | 0)) { - $$0 = 0; + if (!$dec336$i) { + if (!(FUNCTION_TABLE_ii[HEAP32[$303 + 12 >> 2] & 127]($cinfo) | 0)) { + $retval$0 = 0; label = 350; break L1; } - $$17$i = HEAP32[$959 >> 2] | 0; - $$17248$i = HEAP32[$957 >> 2] | 0; + $bytes_in_buffer$17$i = HEAP32[$bytes_in_buffer2$i271 >> 2] | 0; + $next_input_byte$17$i = HEAP32[$303 >> 2] | 0; } else { - $$17$i = $1188; - $$17248$i = $1189; + $bytes_in_buffer$17$i = $dec336$i; + $next_input_byte$17$i = $incdec$ptr337$i; } - $1201 = $$17$i + -1 | 0; - $1202 = $$17248$i + 1 | 0; - $1205 = HEAPU8[$$17248$i >> 0] << 8; - if (!$1201) { - if (!(FUNCTION_TABLE_ii[HEAP32[$957 + 12 >> 2] & 127]($0) | 0)) { - $$0 = 0; + $dec358$i = $bytes_in_buffer$17$i + -1 | 0; + $incdec$ptr359$i = $next_input_byte$17$i + 1 | 0; + $shl361$i = HEAPU8[$next_input_byte$17$i >> 0] << 8; + if (!$dec358$i) { + if (!(FUNCTION_TABLE_ii[HEAP32[$303 + 12 >> 2] & 127]($cinfo) | 0)) { + $retval$0 = 0; label = 350; break L1; } - $$18$i = HEAP32[$959 >> 2] | 0; - $$18249$i = HEAP32[$957 >> 2] | 0; + $bytes_in_buffer$18$i = HEAP32[$bytes_in_buffer2$i271 >> 2] | 0; + $next_input_byte$18$i = HEAP32[$303 >> 2] | 0; } else { - $$18$i = $1201; - $$18249$i = $1202; + $bytes_in_buffer$18$i = $dec358$i; + $next_input_byte$18$i = $incdec$ptr359$i; } - $1213 = $$18$i + -1 | 0; - $1214 = $$18249$i + 1 | 0; - if ($1205 | HEAPU8[$$18249$i >> 0] | 0) { - $$24$i = $1213; - $$24255$i = $1214; + $dec373$i = $bytes_in_buffer$18$i + -1 | 0; + $incdec$ptr374$i = $next_input_byte$18$i + 1 | 0; + if ($shl361$i | HEAPU8[$next_input_byte$18$i >> 0] | 0) { + $bytes_in_buffer$24$i = $dec373$i; + $next_input_byte$24$i = $incdec$ptr374$i; label = 335; break; } - if (!$1213) { - if (!(FUNCTION_TABLE_ii[HEAP32[$957 + 12 >> 2] & 127]($0) | 0)) { - $$0 = 0; + if (!$dec373$i) { + if (!(FUNCTION_TABLE_ii[HEAP32[$303 + 12 >> 2] & 127]($cinfo) | 0)) { + $retval$0 = 0; label = 350; break L1; } - $$19$i = HEAP32[$959 >> 2] | 0; - $$19250$i = HEAP32[$957 >> 2] | 0; + $bytes_in_buffer$19$i = HEAP32[$bytes_in_buffer2$i271 >> 2] | 0; + $next_input_byte$19$i = HEAP32[$303 >> 2] | 0; } else { - $$19$i = $1213; - $$19250$i = $1214; + $bytes_in_buffer$19$i = $dec373$i; + $next_input_byte$19$i = $incdec$ptr374$i; } - $1226 = $$19$i + -1 | 0; - $1227 = $$19250$i + 1 | 0; - if (HEAP8[$$19250$i >> 0] | 0) { - $$24$i = $1226; - $$24255$i = $1227; + $dec395$i = $bytes_in_buffer$19$i + -1 | 0; + $incdec$ptr396$i = $next_input_byte$19$i + 1 | 0; + if (HEAP8[$next_input_byte$19$i >> 0] | 0) { + $bytes_in_buffer$24$i = $dec395$i; + $next_input_byte$24$i = $incdec$ptr396$i; label = 335; break; } - if (!$1226) { - if (!(FUNCTION_TABLE_ii[HEAP32[$957 + 12 >> 2] & 127]($0) | 0)) { - $$0 = 0; + if (!$dec395$i) { + if (!(FUNCTION_TABLE_ii[HEAP32[$303 + 12 >> 2] & 127]($cinfo) | 0)) { + $retval$0 = 0; label = 350; break L1; } - $$20$i = HEAP32[$959 >> 2] | 0; - $$20251$i = HEAP32[$957 >> 2] | 0; + $bytes_in_buffer$20$i = HEAP32[$bytes_in_buffer2$i271 >> 2] | 0; + $next_input_byte$20$i = HEAP32[$303 >> 2] | 0; } else { - $$20$i = $1226; - $$20251$i = $1227; + $bytes_in_buffer$20$i = $dec395$i; + $next_input_byte$20$i = $incdec$ptr396$i; } - $1237 = $$20$i + -1 | 0; - $1238 = $$20251$i + 1 | 0; - $1241 = HEAPU8[$$20251$i >> 0] << 8; - if (!$1237) { - if (!(FUNCTION_TABLE_ii[HEAP32[$957 + 12 >> 2] & 127]($0) | 0)) { - $$0 = 0; + $dec416$i = $bytes_in_buffer$20$i + -1 | 0; + $incdec$ptr417$i = $next_input_byte$20$i + 1 | 0; + $shl419$i = HEAPU8[$next_input_byte$20$i >> 0] << 8; + if (!$dec416$i) { + if (!(FUNCTION_TABLE_ii[HEAP32[$303 + 12 >> 2] & 127]($cinfo) | 0)) { + $retval$0 = 0; label = 350; break L1; } - $$21$i = HEAP32[$959 >> 2] | 0; - $$21252$i = HEAP32[$957 >> 2] | 0; + $bytes_in_buffer$21$i = HEAP32[$bytes_in_buffer2$i271 >> 2] | 0; + $next_input_byte$21$i = HEAP32[$303 >> 2] | 0; } else { - $$21$i = $1237; - $$21252$i = $1238; + $bytes_in_buffer$21$i = $dec416$i; + $next_input_byte$21$i = $incdec$ptr417$i; } - $1249 = $$21$i + -1 | 0; - $1250 = $$21252$i + 1 | 0; - if (($1241 | HEAPU8[$$21252$i >> 0] | 0) != 1) { - $$24$i = $1249; - $$24255$i = $1250; + $dec431$i = $bytes_in_buffer$21$i + -1 | 0; + $incdec$ptr432$i = $next_input_byte$21$i + 1 | 0; + if (($shl419$i | HEAPU8[$next_input_byte$21$i >> 0] | 0) != 1) { + $bytes_in_buffer$24$i = $dec431$i; + $next_input_byte$24$i = $incdec$ptr432$i; label = 335; break; } - if (!$1249) { - if (!(FUNCTION_TABLE_ii[HEAP32[$957 + 12 >> 2] & 127]($0) | 0)) { - $$0 = 0; + if (!$dec431$i) { + if (!(FUNCTION_TABLE_ii[HEAP32[$303 + 12 >> 2] & 127]($cinfo) | 0)) { + $retval$0 = 0; label = 350; break L1; } - $$22$i = HEAP32[$959 >> 2] | 0; - $$22253$i = HEAP32[$957 >> 2] | 0; + $bytes_in_buffer$22$i = HEAP32[$bytes_in_buffer2$i271 >> 2] | 0; + $next_input_byte$22$i = HEAP32[$303 >> 2] | 0; } else { - $$22$i = $1249; - $$22253$i = $1250; + $bytes_in_buffer$22$i = $dec431$i; + $next_input_byte$22$i = $incdec$ptr432$i; } - $1262 = $$22$i + -1 | 0; - $1263 = $$22253$i + 1 | 0; - $1266 = HEAPU8[$$22253$i >> 0] << 8; - if (!$1262) { - if (!(FUNCTION_TABLE_ii[HEAP32[$957 + 12 >> 2] & 127]($0) | 0)) { - $$0 = 0; + $dec453$i = $bytes_in_buffer$22$i + -1 | 0; + $incdec$ptr454$i = $next_input_byte$22$i + 1 | 0; + $shl456$i = HEAPU8[$next_input_byte$22$i >> 0] << 8; + if (!$dec453$i) { + if (!(FUNCTION_TABLE_ii[HEAP32[$303 + 12 >> 2] & 127]($cinfo) | 0)) { + $retval$0 = 0; label = 350; break L1; } - $$23$i = HEAP32[$959 >> 2] | 0; - $$23254$i = HEAP32[$957 >> 2] | 0; + $bytes_in_buffer$23$i = HEAP32[$bytes_in_buffer2$i271 >> 2] | 0; + $next_input_byte$23$i = HEAP32[$303 >> 2] | 0; } else { - $$23$i = $1262; - $$23254$i = $1263; + $bytes_in_buffer$23$i = $dec453$i; + $next_input_byte$23$i = $incdec$ptr454$i; } - $1274 = $$23$i + -1 | 0; - $1275 = $$23254$i + 1 | 0; - if (!($1266 | HEAPU8[$$23254$i >> 0])) { - $$25$i = $1274; - $$25256$i = $1275; + $dec468$i = $bytes_in_buffer$23$i + -1 | 0; + $incdec$ptr469$i = $next_input_byte$23$i + 1 | 0; + if (!($shl456$i | HEAPU8[$next_input_byte$23$i >> 0])) { + $bytes_in_buffer$25$i = $dec468$i; + $next_input_byte$25$i = $incdec$ptr469$i; } else { - $$24$i = $1274; - $$24255$i = $1275; + $bytes_in_buffer$24$i = $dec468$i; + $next_input_byte$24$i = $incdec$ptr469$i; label = 335; } } else { - $$24$i = $1075; - $$24255$i = $1076; + $bytes_in_buffer$24$i = $dec157$i; + $next_input_byte$24$i = $incdec$ptr158$i; label = 335; } } else { - $$24$i = $1060; - $$24255$i = $1061; + $bytes_in_buffer$24$i = $dec135$i; + $next_input_byte$24$i = $incdec$ptr136$i; label = 335; } } else { - $$24$i = $1049; - $$24255$i = $1050; + $bytes_in_buffer$24$i = $dec114$i; + $next_input_byte$24$i = $incdec$ptr115$i; label = 335; } } else { - $$24$i = $1036; - $$24255$i = $1037; + $bytes_in_buffer$24$i = $dec92$i; + $next_input_byte$24$i = $incdec$ptr93$i; label = 335; } } else { - $$24$i = $960; - $$24255$i = $958; + $bytes_in_buffer$24$i = $305; + $next_input_byte$24$i = $304; label = 335; } while (0); if ((label | 0) == 335) { label = 0; - $1280 = HEAP32[$0 >> 2] | 0; - HEAP32[$1280 + 20 >> 2] = 28; - FUNCTION_TABLE_vi[HEAP32[$1280 >> 2] & 255]($0); - $$25$i = $$24$i; - $$25256$i = $$24255$i; + $420 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$420 + 20 >> 2] = 28; + FUNCTION_TABLE_vi[HEAP32[$420 >> 2] & 255]($cinfo); + $bytes_in_buffer$25$i = $bytes_in_buffer$24$i; + $next_input_byte$25$i = $next_input_byte$24$i; } - HEAP32[$7 >> 2] = 1; - HEAP32[$957 >> 2] = $$25256$i; - HEAP32[$959 >> 2] = $$25$i; + HEAP32[$color_transform$i >> 2] = 1; + HEAP32[$303 >> 2] = $next_input_byte$25$i; + HEAP32[$bytes_in_buffer2$i271 >> 2] = $bytes_in_buffer$25$i; break; } case 239: @@ -8076,8 +8080,8 @@ function _read_markers($0) { case 225: case 224: { - if (!(FUNCTION_TABLE_ii[HEAP32[(HEAP32[$3 >> 2] | 0) + 32 + ($60 + -224 << 2) >> 2] & 127]($0) | 0)) { - $$0 = 0; + if (!(FUNCTION_TABLE_ii[HEAP32[(HEAP32[$marker >> 2] | 0) + 32 + ($16 + -224 << 2) >> 2] & 127]($cinfo) | 0)) { + $retval$0 = 0; label = 350; break L1; } @@ -8085,8 +8089,8 @@ function _read_markers($0) { } case 254: { - if (!(FUNCTION_TABLE_ii[HEAP32[(HEAP32[$3 >> 2] | 0) + 28 >> 2] & 127]($0) | 0)) { - $$0 = 0; + if (!(FUNCTION_TABLE_ii[HEAP32[(HEAP32[$marker >> 2] | 0) + 28 >> 2] & 127]($cinfo) | 0)) { + $retval$0 = 0; label = 350; break L1; } @@ -8102,457 +8106,1787 @@ function _read_markers($0) { case 209: case 208: { - $1294 = HEAP32[$0 >> 2] | 0; - HEAP32[$1294 + 20 >> 2] = 94; - HEAP32[$1294 + 24 >> 2] = $60; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$0 >> 2] | 0) + 4 >> 2] & 255]($0, 1); + $426 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$426 + 20 >> 2] = 94; + HEAP32[$426 + 24 >> 2] = $16; + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$cinfo >> 2] | 0) + 4 >> 2] & 255]($cinfo, 1); break; } case 220: { - $1300 = HEAP32[$4 >> 2] | 0; - $1301 = $1300 + 4 | 0; - $1302 = HEAP32[$1301 >> 2] | 0; - if (!$1302) { - if (!(FUNCTION_TABLE_ii[HEAP32[$1300 + 12 >> 2] & 127]($0) | 0)) { - $$0 = 0; + $429 = HEAP32[$src$i >> 2] | 0; + $bytes_in_buffer2$i331 = $429 + 4 | 0; + $430 = HEAP32[$bytes_in_buffer2$i331 >> 2] | 0; + if (!$430) { + if (!(FUNCTION_TABLE_ii[HEAP32[$429 + 12 >> 2] & 127]($cinfo) | 0)) { + $retval$0 = 0; label = 350; break L1; } - $$0$i92 = HEAP32[$1301 >> 2] | 0; - } else $$0$i92 = $1302; - $$041$i = HEAP32[$1300 >> 2] | 0; - $1309 = $$0$i92 + -1 | 0; - $1310 = $$041$i + 1 | 0; - $1313 = HEAPU8[$$041$i >> 0] << 8; - if (!$1309) { - if (!(FUNCTION_TABLE_ii[HEAP32[$1300 + 12 >> 2] & 127]($0) | 0)) { - $$0 = 0; + $bytes_in_buffer$0$i338 = HEAP32[$bytes_in_buffer2$i331 >> 2] | 0; + } else $bytes_in_buffer$0$i338 = $430; + $next_input_byte$0$i339 = HEAP32[$429 >> 2] | 0; + $dec$i340 = $bytes_in_buffer$0$i338 + -1 | 0; + $incdec$ptr$i341 = $next_input_byte$0$i339 + 1 | 0; + $shl$i343 = HEAPU8[$next_input_byte$0$i339 >> 0] << 8; + if (!$dec$i340) { + if (!(FUNCTION_TABLE_ii[HEAP32[$429 + 12 >> 2] & 127]($cinfo) | 0)) { + $retval$0 = 0; label = 350; break L1; } - $$1$i93 = HEAP32[$1301 >> 2] | 0; - $$142$i = HEAP32[$1300 >> 2] | 0; + $bytes_in_buffer$1$i352 = HEAP32[$bytes_in_buffer2$i331 >> 2] | 0; + $next_input_byte$1$i351 = HEAP32[$429 >> 2] | 0; } else { - $$1$i93 = $1309; - $$142$i = $1310; + $bytes_in_buffer$1$i352 = $dec$i340; + $next_input_byte$1$i351 = $incdec$ptr$i341; } - $1325 = $1313 | HEAPU8[$$142$i >> 0]; - $1326 = $1325 + -2 | 0; - $1327 = HEAP32[$0 >> 2] | 0; - HEAP32[$1327 + 20 >> 2] = 93; - HEAP32[$1327 + 24 >> 2] = HEAP32[$2 >> 2]; - HEAP32[(HEAP32[$0 >> 2] | 0) + 28 >> 2] = $1326; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$0 >> 2] | 0) + 4 >> 2] & 255]($0, 1); - HEAP32[$1300 >> 2] = $$142$i + 1; - HEAP32[$1301 >> 2] = $$1$i93 + -1; - if ($1325 >>> 0 > 2) FUNCTION_TABLE_vii[HEAP32[(HEAP32[$4 >> 2] | 0) + 16 >> 2] & 255]($0, $1326); + $add$i356 = $shl$i343 | HEAPU8[$next_input_byte$1$i351 >> 0]; + $sub$i357 = $add$i356 + -2 | 0; + $438 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$438 + 20 >> 2] = 93; + HEAP32[$438 + 24 >> 2] = HEAP32[$unread_marker >> 2]; + HEAP32[(HEAP32[$cinfo >> 2] | 0) + 28 >> 2] = $sub$i357; + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$cinfo >> 2] | 0) + 4 >> 2] & 255]($cinfo, 1); + HEAP32[$429 >> 2] = $next_input_byte$1$i351 + 1; + HEAP32[$bytes_in_buffer2$i331 >> 2] = $bytes_in_buffer$1$i352 + -1; + if ($add$i356 >>> 0 > 2) FUNCTION_TABLE_vii[HEAP32[(HEAP32[$src$i >> 2] | 0) + 16 >> 2] & 255]($cinfo, $sub$i357); break; } default: { - $1340 = HEAP32[$0 >> 2] | 0; - HEAP32[$1340 + 20 >> 2] = 70; - HEAP32[$1340 + 24 >> 2] = $60; - FUNCTION_TABLE_vi[HEAP32[HEAP32[$0 >> 2] >> 2] & 255]($0); + $445 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$445 + 20 >> 2] = 70; + HEAP32[$445 + 24 >> 2] = $16; + FUNCTION_TABLE_vi[HEAP32[HEAP32[$cinfo >> 2] >> 2] & 255]($cinfo); } } while (0); - HEAP32[$2 >> 2] = 0; - $20 = 0; + HEAP32[$unread_marker >> 2] = 0; + $0 = 0; } if ((label | 0) == 25) { - $87 = HEAP32[$4 >> 2] | 0; - $88 = HEAP32[$87 >> 2] | 0; - $89 = $87 + 4 | 0; - $90 = HEAP32[$89 >> 2] | 0; - if (!(HEAP32[(HEAP32[$3 >> 2] | 0) + 16 >> 2] | 0)) { - $95 = HEAP32[$0 >> 2] | 0; - HEAP32[$95 + 20 >> 2] = 60; - _strncpy($95 + 24 | 0, 50705, 80) | 0; - FUNCTION_TABLE_vi[HEAP32[HEAP32[$0 >> 2] >> 2] & 255]($0); - } - do if (!$90) if (!(FUNCTION_TABLE_ii[HEAP32[$87 + 12 >> 2] & 127]($0) | 0)) { - $$0 = 0; + $26 = HEAP32[$src$i >> 2] | 0; + $27 = HEAP32[$26 >> 2] | 0; + $bytes_in_buffer2$i51 = $26 + 4 | 0; + $28 = HEAP32[$bytes_in_buffer2$i51 >> 2] | 0; + if (!(HEAP32[(HEAP32[$marker >> 2] | 0) + 16 >> 2] | 0)) { + $31 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$31 + 20 >> 2] = 60; + _strncpy($31 + 24 | 0, 51547, 80) | 0; + FUNCTION_TABLE_vi[HEAP32[HEAP32[$cinfo >> 2] >> 2] & 255]($cinfo); + } + do if (!$28) if (!(FUNCTION_TABLE_ii[HEAP32[$26 + 12 >> 2] & 127]($cinfo) | 0)) { + $retval$0 = 0; STACKTOP = sp; - return $$0 | 0; + return $retval$0 | 0; } else { - $$0176$i = HEAP32[$89 >> 2] | 0; - $$0177$i = HEAP32[$87 >> 2] | 0; + $bytes_in_buffer$0$i62 = HEAP32[$bytes_in_buffer2$i51 >> 2] | 0; + $next_input_byte$0$i61 = HEAP32[$26 >> 2] | 0; break; } else { - $$0176$i = $90; - $$0177$i = $88; + $bytes_in_buffer$0$i62 = $28; + $next_input_byte$0$i61 = $27; } while (0); - $107 = $$0176$i + -1 | 0; - $108 = $$0177$i + 1 | 0; - $111 = HEAPU8[$$0177$i >> 0] << 8; - do if (!$107) if (!(FUNCTION_TABLE_ii[HEAP32[$87 + 12 >> 2] & 127]($0) | 0)) { - $$0 = 0; + $dec$i63 = $bytes_in_buffer$0$i62 + -1 | 0; + $incdec$ptr$i64 = $next_input_byte$0$i61 + 1 | 0; + $shl$i = HEAPU8[$next_input_byte$0$i61 >> 0] << 8; + do if (!$dec$i63) if (!(FUNCTION_TABLE_ii[HEAP32[$26 + 12 >> 2] & 127]($cinfo) | 0)) { + $retval$0 = 0; STACKTOP = sp; - return $$0 | 0; + return $retval$0 | 0; } else { - $$1$i43 = HEAP32[$89 >> 2] | 0; - $$1178$i = HEAP32[$87 >> 2] | 0; + $bytes_in_buffer$1$i67 = HEAP32[$bytes_in_buffer2$i51 >> 2] | 0; + $next_input_byte$1$i66 = HEAP32[$26 >> 2] | 0; break; } else { - $$1$i43 = $107; - $$1178$i = $108; + $bytes_in_buffer$1$i67 = $dec$i63; + $next_input_byte$1$i66 = $incdec$ptr$i64; } while (0); - $119 = $$1$i43 + -1 | 0; - $120 = $$1178$i + 1 | 0; - $123 = $111 | HEAPU8[$$1178$i >> 0]; - do if (!$119) if (!(FUNCTION_TABLE_ii[HEAP32[$87 + 12 >> 2] & 127]($0) | 0)) { - $$0 = 0; + $dec24$i = $bytes_in_buffer$1$i67 + -1 | 0; + $incdec$ptr25$i = $next_input_byte$1$i66 + 1 | 0; + $add$i = $shl$i | HEAPU8[$next_input_byte$1$i66 >> 0]; + do if (!$dec24$i) if (!(FUNCTION_TABLE_ii[HEAP32[$26 + 12 >> 2] & 127]($cinfo) | 0)) { + $retval$0 = 0; STACKTOP = sp; - return $$0 | 0; + return $retval$0 | 0; } else { - $$2$i = HEAP32[$89 >> 2] | 0; - $$2179$i = HEAP32[$87 >> 2] | 0; + $bytes_in_buffer$2$i = HEAP32[$bytes_in_buffer2$i51 >> 2] | 0; + $next_input_byte$2$i = HEAP32[$26 >> 2] | 0; break; } else { - $$2$i = $119; - $$2179$i = $120; + $bytes_in_buffer$2$i = $dec24$i; + $next_input_byte$2$i = $incdec$ptr25$i; } while (0); - $131 = HEAP8[$$2179$i >> 0] | 0; - $132 = $131 & 255; - $133 = HEAP32[$0 >> 2] | 0; - HEAP32[$133 + 20 >> 2] = 105; - HEAP32[$133 + 24 >> 2] = $132; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$0 >> 2] | 0) + 4 >> 2] & 255]($0, 1); - do if (!(($131 & 255) > 4 | ($123 | 0) != (($132 << 1) + 6 | 0))) { - if ($131 << 24 >> 24) { - HEAP32[$0 + 340 >> 2] = $132; - $$3211233$i = $$2$i + -1 | 0; - $$3180212236$i = $$2179$i + 1 | 0; - $$3211235$i = $$3211233$i; - $1345 = ($$3211233$i | 0) == 0; + $45 = HEAP8[$next_input_byte$2$i >> 0] | 0; + $conv41$i = $45 & 255; + $46 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$46 + 20 >> 2] = 105; + HEAP32[$46 + 24 >> 2] = $conv41$i; + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$cinfo >> 2] | 0) + 4 >> 2] & 255]($cinfo, 1); + do if (!(($45 & 255) > 4 | ($add$i | 0) != (($conv41$i << 1) + 6 | 0))) { + if ($45 << 24 >> 24) { + HEAP32[$cinfo + 340 >> 2] = $conv41$i; + $bytes_in_buffer$3168194$i = $bytes_in_buffer$2$i + -1 | 0; + $bytes_in_buffer$3168198$i = $bytes_in_buffer$3168194$i; + $cmp68171201$i = ($bytes_in_buffer$3168194$i | 0) == 0; + $next_input_byte$3169199$i = $next_input_byte$2$i + 1 | 0; label = 42; break; } - if (HEAP32[$0 + 224 >> 2] | 0) { - HEAP32[$0 + 340 >> 2] = $132; - $$3211230$i = $$2$i + -1 | 0; - if (!$$3211230$i) { - $1346 = 1; + if (HEAP32[$cinfo + 224 >> 2] | 0) { + HEAP32[$cinfo + 340 >> 2] = $conv41$i; + $bytes_in_buffer$3168187$i = $bytes_in_buffer$2$i + -1 | 0; + if (!$bytes_in_buffer$3168187$i) { + $cmp65170191203$i = 1; label = 64; } else { - $$6$i = $$3211230$i; - $$6183$i = $$2179$i + 1 | 0; - $1347 = 1; + $bytes_in_buffer$6$i = $bytes_in_buffer$3168187$i; + $cmp65170191202$i = 1; + $next_input_byte$6$i = $next_input_byte$2$i + 1 | 0; } } else label = 41; } else label = 41; while (0); if ((label | 0) == 41) { - $151 = HEAP32[$0 >> 2] | 0; - HEAP32[$151 + 20 >> 2] = 12; - FUNCTION_TABLE_vi[HEAP32[$151 >> 2] & 255]($0); - HEAP32[$0 + 340 >> 2] = $132; - $$3211$i = $$2$i + -1 | 0; - $$3180212$i = $$2179$i + 1 | 0; - $156 = ($$3211$i | 0) == 0; - if (!($131 << 24 >> 24)) { - $$3$lcssa$i = $$3211$i; - $$3180$lcssa$i = $$3180212$i; - $$lcssa$i = $156; - $1348 = 1; + $50 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$50 + 20 >> 2] = 12; + FUNCTION_TABLE_vi[HEAP32[$50 >> 2] & 255]($cinfo); + HEAP32[$cinfo + 340 >> 2] = $conv41$i; + $bytes_in_buffer$3168$i = $bytes_in_buffer$2$i + -1 | 0; + $next_input_byte$3169$i = $next_input_byte$2$i + 1 | 0; + $cmp68171$i = ($bytes_in_buffer$3168$i | 0) == 0; + if (!($45 << 24 >> 24)) { + $bytes_in_buffer$3$lcssa$i = $bytes_in_buffer$3168$i; + $cmp65170191$i = 1; + $cmp68$lcssa$i = $cmp68171$i; + $next_input_byte$3$lcssa$i = $next_input_byte$3169$i; label = 63; } else { - $$3180212236$i = $$3180212$i; - $$3211235$i = $$3211$i; - $1345 = $156; + $bytes_in_buffer$3168198$i = $bytes_in_buffer$3168$i; + $cmp68171201$i = $cmp68171$i; + $next_input_byte$3169199$i = $next_input_byte$3169$i; label = 42; } } L436 : do if ((label | 0) == 42) { - $157 = $87 + 12 | 0; - $158 = $0 + 344 | 0; - $$0193213$i = 0; - $$3180218$i = $$3180212236$i; - $$3217$i = $$3211235$i; - $1349 = $1345; + $fill_input_buffer71$i = $26 + 12 | 0; + $arrayidx93$i = $cinfo + 344 | 0; + $bytes_in_buffer$3176$i = $bytes_in_buffer$3168198$i; + $cmp68178$i = $cmp68171201$i; + $i$0172$i = 0; + $next_input_byte$3177$i = $next_input_byte$3169199$i; while (1) { - if ($1349) { - if (!(FUNCTION_TABLE_ii[HEAP32[$157 >> 2] & 127]($0) | 0)) { - $$0 = 0; + if ($cmp68178$i) { + if (!(FUNCTION_TABLE_ii[HEAP32[$fill_input_buffer71$i >> 2] & 127]($cinfo) | 0)) { + $retval$0 = 0; label = 350; break; } - $$4$i = HEAP32[$89 >> 2] | 0; - $$4181$i = HEAP32[$87 >> 2] | 0; + $bytes_in_buffer$4$i = HEAP32[$bytes_in_buffer2$i51 >> 2] | 0; + $next_input_byte$4$i = HEAP32[$26 >> 2] | 0; } else { - $$4$i = $$3217$i; - $$4181$i = $$3180218$i; - } - $164 = $$4$i + -1 | 0; - $165 = $$4181$i + 1 | 0; - $167 = HEAPU8[$$4181$i >> 0] | 0; - L444 : do if (!$$0193213$i) $$2188$i = $167; else { - $$0190201$i = 0; + $bytes_in_buffer$4$i = $bytes_in_buffer$3176$i; + $next_input_byte$4$i = $next_input_byte$3177$i; + } + $dec79$i = $bytes_in_buffer$4$i + -1 | 0; + $incdec$ptr80$i = $next_input_byte$4$i + 1 | 0; + $conv81$i = HEAPU8[$next_input_byte$4$i >> 0] | 0; + L444 : do if (!$i$0172$i) $c$2$i = $conv81$i; else { + $ci$0160$i = 0; while (1) { - if ((HEAP32[HEAP32[$0 + 344 + ($$0190201$i << 2) >> 2] >> 2] | 0) == ($167 | 0)) break; - $$0190201$i = $$0190201$i + 1 | 0; - if ($$0190201$i >>> 0 >= $$0193213$i >>> 0) { - $$2188$i = $167; + if ((HEAP32[HEAP32[$cinfo + 344 + ($ci$0160$i << 2) >> 2] >> 2] | 0) == ($conv81$i | 0)) break; + $ci$0160$i = $ci$0160$i + 1 | 0; + if ($ci$0160$i >>> 0 >= $i$0172$i >>> 0) { + $c$2$i = $conv81$i; break L444; } } - $176 = HEAP32[HEAP32[$158 >> 2] >> 2] | 0; - if ($$0193213$i >>> 0 > 1) { - $$0186203$i = $176; - $$1191202$i = 1; + $59 = HEAP32[HEAP32[$arrayidx93$i >> 2] >> 2] | 0; + if ($i$0172$i >>> 0 > 1) { + $c$0163$i = $59; + $ci$1162$i = 1; while (1) { - $180 = HEAP32[HEAP32[$0 + 344 + ($$1191202$i << 2) >> 2] >> 2] | 0; - $spec$select$i = ($180 | 0) > ($$0186203$i | 0) ? $180 : $$0186203$i; - $$1191202$i = $$1191202$i + 1 | 0; - if (($$1191202$i | 0) == ($$0193213$i | 0)) { - $$0186$lcssa$i = $spec$select$i; + $61 = HEAP32[HEAP32[$cinfo + 344 + ($ci$1162$i << 2) >> 2] >> 2] | 0; + $spec$select$i = ($61 | 0) > ($c$0163$i | 0) ? $61 : $c$0163$i; + $ci$1162$i = $ci$1162$i + 1 | 0; + if (($ci$1162$i | 0) == ($i$0172$i | 0)) { + $c$0$lcssa$i = $spec$select$i; break; - } else $$0186203$i = $spec$select$i; + } else $c$0163$i = $spec$select$i; } - } else $$0186$lcssa$i = $176; - $$2188$i = $$0186$lcssa$i + 1 | 0; + } else $c$0$lcssa$i = $59; + $c$2$i = $c$0$lcssa$i + 1 | 0; } while (0); - $184 = HEAP32[$18 >> 2] | 0; - $185 = HEAP32[$17 >> 2] | 0; - L456 : do if (($185 | 0) > 0) { - $$0189206$i = $184; - $$2192205$i = 0; + $62 = HEAP32[$comp_info$i317 >> 2] | 0; + $63 = HEAP32[$num_components$i282 >> 2] | 0; + L456 : do if (($63 | 0) > 0) { + $ci$2165$i = 0; + $compptr$0166$i = $62; while (1) { - if (($$2188$i | 0) == (HEAP32[$$0189206$i >> 2] | 0)) { - $$0189197$i = $$0189206$i; + if (($c$2$i | 0) == (HEAP32[$compptr$0166$i >> 2] | 0)) { + $compptr$0155$i = $compptr$0166$i; break L456; } - $$2192205$i = $$2192205$i + 1 | 0; - $190 = $$0189206$i + 88 | 0; - if (($$2192205$i | 0) >= ($185 | 0)) { - $$0189$lcssa$i = $190; + $ci$2165$i = $ci$2165$i + 1 | 0; + $incdec$ptr123$i = $compptr$0166$i + 88 | 0; + if (($ci$2165$i | 0) >= ($63 | 0)) { + $compptr$0$lcssa$i = $incdec$ptr123$i; label = 58; break; - } else $$0189206$i = $190; + } else $compptr$0166$i = $incdec$ptr123$i; } } else { - $$0189$lcssa$i = $184; + $compptr$0$lcssa$i = $62; label = 58; } while (0); if ((label | 0) == 58) { label = 0; - $192 = HEAP32[$0 >> 2] | 0; - HEAP32[$192 + 20 >> 2] = 4; - HEAP32[$192 + 24 >> 2] = $$2188$i; - FUNCTION_TABLE_vi[HEAP32[HEAP32[$0 >> 2] >> 2] & 255]($0); - $$0189197$i = $$0189$lcssa$i; - } - HEAP32[$0 + 344 + ($$0193213$i << 2) >> 2] = $$0189197$i; - if (!$164) { - if (!(FUNCTION_TABLE_ii[HEAP32[$157 >> 2] & 127]($0) | 0)) { - $$0 = 0; + $65 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$65 + 20 >> 2] = 4; + HEAP32[$65 + 24 >> 2] = $c$2$i; + FUNCTION_TABLE_vi[HEAP32[HEAP32[$cinfo >> 2] >> 2] & 255]($cinfo); + $compptr$0155$i = $compptr$0$lcssa$i; + } + HEAP32[$cinfo + 344 + ($i$0172$i << 2) >> 2] = $compptr$0155$i; + if (!$dec79$i) { + if (!(FUNCTION_TABLE_ii[HEAP32[$fill_input_buffer71$i >> 2] & 127]($cinfo) | 0)) { + $retval$0 = 0; label = 350; break; } - $$5$i = HEAP32[$89 >> 2] | 0; - $$5182$i = HEAP32[$87 >> 2] | 0; + $bytes_in_buffer$5$i = HEAP32[$bytes_in_buffer2$i51 >> 2] | 0; + $next_input_byte$5$i = HEAP32[$26 >> 2] | 0; } else { - $$5$i = $164; - $$5182$i = $165; - } - $205 = HEAPU8[$$5182$i >> 0] | 0; - $207 = $$0189197$i + 20 | 0; - HEAP32[$207 >> 2] = $205 >>> 4; - $209 = $$0189197$i + 24 | 0; - HEAP32[$209 >> 2] = $205 & 15; - $210 = HEAP32[$0 >> 2] | 0; - HEAP32[$210 + 24 >> 2] = HEAP32[$$0189197$i >> 2]; - HEAP32[$210 + 28 >> 2] = HEAP32[$207 >> 2]; - HEAP32[$210 + 32 >> 2] = HEAP32[$209 >> 2]; - HEAP32[$210 + 20 >> 2] = 106; - FUNCTION_TABLE_vii[HEAP32[$210 + 4 >> 2] & 255]($0, 1); - $$0193213$i = $$0193213$i + 1 | 0; - $$3$i = $$5$i + -1 | 0; - $$3180$i = $$5182$i + 1 | 0; - $222 = ($$3$i | 0) == 0; - if ($$0193213$i >>> 0 >= $132 >>> 0) { - $$3$lcssa$i = $$3$i; - $$3180$lcssa$i = $$3180$i; - $$lcssa$i = $222; - $1348 = 0; + $bytes_in_buffer$5$i = $dec79$i; + $next_input_byte$5$i = $incdec$ptr80$i; + } + $conv149$i = HEAPU8[$next_input_byte$5$i >> 0] | 0; + $dc_tbl_no$i = $compptr$0155$i + 20 | 0; + HEAP32[$dc_tbl_no$i >> 2] = $conv149$i >>> 4; + $ac_tbl_no$i = $compptr$0155$i + 24 | 0; + HEAP32[$ac_tbl_no$i >> 2] = $conv149$i & 15; + $73 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$73 + 24 >> 2] = HEAP32[$compptr$0155$i >> 2]; + HEAP32[$73 + 28 >> 2] = HEAP32[$dc_tbl_no$i >> 2]; + HEAP32[$73 + 32 >> 2] = HEAP32[$ac_tbl_no$i >> 2]; + HEAP32[$73 + 20 >> 2] = 106; + FUNCTION_TABLE_vii[HEAP32[$73 + 4 >> 2] & 255]($cinfo, 1); + $i$0172$i = $i$0172$i + 1 | 0; + $bytes_in_buffer$3$i = $bytes_in_buffer$5$i + -1 | 0; + $next_input_byte$3$i = $next_input_byte$5$i + 1 | 0; + $cmp68$i = ($bytes_in_buffer$3$i | 0) == 0; + if ($i$0172$i >>> 0 >= $conv41$i >>> 0) { + $bytes_in_buffer$3$lcssa$i = $bytes_in_buffer$3$i; + $cmp65170191$i = 0; + $cmp68$lcssa$i = $cmp68$i; + $next_input_byte$3$lcssa$i = $next_input_byte$3$i; label = 63; break L436; } else { - $$3180218$i = $$3180$i; - $$3217$i = $$3$i; - $1349 = $222; + $bytes_in_buffer$3176$i = $bytes_in_buffer$3$i; + $cmp68178$i = $cmp68$i; + $next_input_byte$3177$i = $next_input_byte$3$i; } } if ((label | 0) == 350) { STACKTOP = sp; - return $$0 | 0; + return $retval$0 | 0; } } while (0); - if ((label | 0) == 63) if ($$lcssa$i) { - $1346 = $1348; + if ((label | 0) == 63) if ($cmp68$lcssa$i) { + $cmp65170191203$i = $cmp65170191$i; label = 64; } else { - $$6$i = $$3$lcssa$i; - $$6183$i = $$3180$lcssa$i; - $1347 = $1348; + $bytes_in_buffer$6$i = $bytes_in_buffer$3$lcssa$i; + $cmp65170191202$i = $cmp65170191$i; + $next_input_byte$6$i = $next_input_byte$3$lcssa$i; } - do if ((label | 0) == 64) if (!(FUNCTION_TABLE_ii[HEAP32[$87 + 12 >> 2] & 127]($0) | 0)) { - $$0 = 0; + do if ((label | 0) == 64) if (!(FUNCTION_TABLE_ii[HEAP32[$26 + 12 >> 2] & 127]($cinfo) | 0)) { + $retval$0 = 0; STACKTOP = sp; - return $$0 | 0; + return $retval$0 | 0; } else { - $$6$i = HEAP32[$89 >> 2] | 0; - $$6183$i = HEAP32[$87 >> 2] | 0; - $1347 = $1346; + $bytes_in_buffer$6$i = HEAP32[$bytes_in_buffer2$i51 >> 2] | 0; + $cmp65170191202$i = $cmp65170191203$i; + $next_input_byte$6$i = HEAP32[$26 >> 2] | 0; break; } while (0); - $229 = $$6$i + -1 | 0; - $230 = $$6183$i + 1 | 0; - $233 = $0 + 412 | 0; - HEAP32[$233 >> 2] = HEAPU8[$$6183$i >> 0]; - do if (!$229) if (!(FUNCTION_TABLE_ii[HEAP32[$87 + 12 >> 2] & 127]($0) | 0)) { - $$0 = 0; + $dec185$i = $bytes_in_buffer$6$i + -1 | 0; + $incdec$ptr186$i = $next_input_byte$6$i + 1 | 0; + $Ss$i = $cinfo + 412 | 0; + HEAP32[$Ss$i >> 2] = HEAPU8[$next_input_byte$6$i >> 0]; + do if (!$dec185$i) if (!(FUNCTION_TABLE_ii[HEAP32[$26 + 12 >> 2] & 127]($cinfo) | 0)) { + $retval$0 = 0; STACKTOP = sp; - return $$0 | 0; + return $retval$0 | 0; } else { - $$7$i = HEAP32[$89 >> 2] | 0; - $$7184$i = HEAP32[$87 >> 2] | 0; + $bytes_in_buffer$7$i = HEAP32[$bytes_in_buffer2$i51 >> 2] | 0; + $next_input_byte$7$i = HEAP32[$26 >> 2] | 0; break; } else { - $$7$i = $229; - $$7184$i = $230; + $bytes_in_buffer$7$i = $dec185$i; + $next_input_byte$7$i = $incdec$ptr186$i; } while (0); - $241 = $$7$i + -1 | 0; - $242 = $$7184$i + 1 | 0; - $245 = $0 + 416 | 0; - HEAP32[$245 >> 2] = HEAPU8[$$7184$i >> 0]; - do if (!$241) if (!(FUNCTION_TABLE_ii[HEAP32[$87 + 12 >> 2] & 127]($0) | 0)) { - $$0 = 0; + $dec202$i = $bytes_in_buffer$7$i + -1 | 0; + $incdec$ptr203$i = $next_input_byte$7$i + 1 | 0; + $Se$i = $cinfo + 416 | 0; + HEAP32[$Se$i >> 2] = HEAPU8[$next_input_byte$7$i >> 0]; + do if (!$dec202$i) if (!(FUNCTION_TABLE_ii[HEAP32[$26 + 12 >> 2] & 127]($cinfo) | 0)) { + $retval$0 = 0; STACKTOP = sp; - return $$0 | 0; + return $retval$0 | 0; } else { - $$8$i = HEAP32[$89 >> 2] | 0; - $$8185$i = HEAP32[$87 >> 2] | 0; + $bytes_in_buffer$8$i = HEAP32[$bytes_in_buffer2$i51 >> 2] | 0; + $next_input_byte$8$i = HEAP32[$26 >> 2] | 0; break; } else { - $$8$i = $241; - $$8185$i = $242; + $bytes_in_buffer$8$i = $dec202$i; + $next_input_byte$8$i = $incdec$ptr203$i; } while (0); - $256 = HEAPU8[$$8185$i >> 0] | 0; - $258 = $0 + 420 | 0; - HEAP32[$258 >> 2] = $256 >>> 4; - $260 = $0 + 424 | 0; - HEAP32[$260 >> 2] = $256 & 15; - $261 = HEAP32[$0 >> 2] | 0; - HEAP32[$261 + 24 >> 2] = HEAP32[$233 >> 2]; - HEAP32[$261 + 28 >> 2] = HEAP32[$245 >> 2]; - HEAP32[$261 + 32 >> 2] = HEAP32[$258 >> 2]; - HEAP32[$261 + 36 >> 2] = HEAP32[$260 >> 2]; - HEAP32[$261 + 20 >> 2] = 107; - FUNCTION_TABLE_vii[HEAP32[$261 + 4 >> 2] & 255]($0, 1); - HEAP32[(HEAP32[$3 >> 2] | 0) + 20 >> 2] = 0; - if (!$1347) { - $275 = $0 + 144 | 0; - HEAP32[$275 >> 2] = (HEAP32[$275 >> 2] | 0) + 1; - } - HEAP32[$87 >> 2] = $$8185$i + 1; - HEAP32[$89 >> 2] = $$8$i + -1; - HEAP32[$2 >> 2] = 0; - $$0 = 1; + $conv221$i = HEAPU8[$next_input_byte$8$i >> 0] | 0; + $Ah$i = $cinfo + 420 | 0; + HEAP32[$Ah$i >> 2] = $conv221$i >>> 4; + $Al$i = $cinfo + 424 | 0; + HEAP32[$Al$i >> 2] = $conv221$i & 15; + $91 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$91 + 24 >> 2] = HEAP32[$Ss$i >> 2]; + HEAP32[$91 + 28 >> 2] = HEAP32[$Se$i >> 2]; + HEAP32[$91 + 32 >> 2] = HEAP32[$Ah$i >> 2]; + HEAP32[$91 + 36 >> 2] = HEAP32[$Al$i >> 2]; + HEAP32[$91 + 20 >> 2] = 107; + FUNCTION_TABLE_vii[HEAP32[$91 + 4 >> 2] & 255]($cinfo, 1); + HEAP32[(HEAP32[$marker >> 2] | 0) + 20 >> 2] = 0; + if (!$cmp65170191202$i) { + $input_scan_number$i = $cinfo + 144 | 0; + HEAP32[$input_scan_number$i >> 2] = (HEAP32[$input_scan_number$i >> 2] | 0) + 1; + } + HEAP32[$26 >> 2] = $next_input_byte$8$i + 1; + HEAP32[$bytes_in_buffer2$i51 >> 2] = $bytes_in_buffer$8$i + -1; + HEAP32[$unread_marker >> 2] = 0; + $retval$0 = 1; STACKTOP = sp; - return $$0 | 0; + return $retval$0 | 0; } else if ((label | 0) == 75) { - $278 = HEAP32[$0 >> 2] | 0; - HEAP32[$278 + 20 >> 2] = 87; - FUNCTION_TABLE_vii[HEAP32[$278 + 4 >> 2] & 255]($0, 1); - HEAP32[$2 >> 2] = 0; - $$0 = 2; + $99 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$99 + 20 >> 2] = 87; + FUNCTION_TABLE_vii[HEAP32[$99 + 4 >> 2] & 255]($cinfo, 1); + HEAP32[$unread_marker >> 2] = 0; + $retval$0 = 2; STACKTOP = sp; - return $$0 | 0; + return $retval$0 | 0; } else if ((label | 0) == 174) { - $$0 = 0; + $retval$0 = 0; STACKTOP = sp; - return $$0 | 0; + return $retval$0 | 0; } else if ((label | 0) == 350) { STACKTOP = sp; - return $$0 | 0; + return $retval$0 | 0; } return 0; } - -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseExprEv($0) { - $0 = $0 | 0; - var $$0 = 0, $$1 = 0, $$10 = 0, $$11 = 0, $$12 = 0, $$13 = 0, $$14 = 0, $$15 = 0, $$16 = 0, $$17 = 0, $$2 = 0, $$21 = 0, $$22 = 0, $$23 = 0, $$24 = 0, $$25 = 0, $$26 = 0, $$27 = 0, $$28 = 0, $$29 = 0, $$3 = 0, $$30 = 0, $$31 = 0, $$32 = 0, $$33 = 0, $$34 = 0, $$35 = 0, $$36 = 0, $$37 = 0, $$42 = 0, $$43 = 0, $$47 = 0, $$48 = 0, $$49 = 0, $$7 = 0, $$8 = 0, $$9 = 0, $$byval_copy39 = 0, $1 = 0, $10 = 0, $101 = 0, $102 = 0, $104 = 0, $105 = 0, $107 = 0, $11 = 0, $111 = 0, $114 = 0, $12 = 0, $123 = 0, $127 = 0, $128 = 0, $13 = 0, $130 = 0, $134 = 0, $138 = 0, $14 = 0, $144 = 0, $145 = 0, $147 = 0, $15 = 0, $151 = 0, $152 = 0, $154 = 0, $158 = 0, $16 = 0, $161 = 0, $167 = 0, $17 = 0, $170 = 0, $173 = 0, $179 = 0, $18 = 0, $182 = 0, $188 = 0, $189 = 0, $19 = 0, $191 = 0, $195 = 0, $196 = 0, $199 = 0, $2 = 0, $20 = 0, $206 = 0, $209 = 0, $21 = 0, $212 = 0, $215 = 0, $22 = 0, $221 = 0, $224 = 0, $227 = 0, $23 = 0, $230 = 0, $234 = 0, $237 = 0, $24 = 0, $246 = 0, $249 = 0, $25 = 0, $252 = 0, $256 = 0, $26 = 0, $265 = 0, $268 = 0, $27 = 0, $271 = 0, $277 = 0, $28 = 0, $280 = 0, $283 = 0, $287 = 0, $29 = 0, $290 = 0, $294 = 0, $297 = 0, $298 = 0, $3 = 0, $30 = 0, $300 = 0, $307 = 0, $308 = 0, $31 = 0, $310 = 0, $312 = 0, $319 = 0, $32 = 0, $320 = 0, $322 = 0, $326 = 0, $329 = 0, $33 = 0, $332 = 0, $335 = 0, $34 = 0, $341 = 0, $342 = 0, $344 = 0, $349 = 0, $35 = 0, $356 = 0, $36 = 0, $361 = 0, $367 = 0, $37 = 0, $371 = 0, $375 = 0, $376 = 0, $379 = 0, $38 = 0, $381 = 0, $388 = 0, $39 = 0, $393 = 0, $397 = 0, $398 = 0, $4 = 0, $40 = 0, $400 = 0, $401 = 0, $403 = 0, $41 = 0, $410 = 0, $42 = 0, $43 = 0, $45 = 0, $48 = 0, $5 = 0, $6 = 0, $66 = 0, $69 = 0, $7 = 0, $72 = 0, $75 = 0, $78 = 0, $8 = 0, $82 = 0, $87 = 0, $9 = 0, $94 = 0, $95 = 0, $97 = 0, label = 0, sp = 0; +function _arPattGetImage2($imageProcMode, $pattDetectMode, $patt_size, $sample_size, $image, $xsize, $ysize, $pixelFormat, $paramLTf, $vertex, $pattRatio, $ext_patt) { + $imageProcMode = $imageProcMode | 0; + $pattDetectMode = $pattDetectMode | 0; + $patt_size = $patt_size | 0; + $sample_size = $sample_size | 0; + $image = $image | 0; + $xsize = $xsize | 0; + $ysize = $ysize | 0; + $pixelFormat = $pixelFormat | 0; + $paramLTf = $paramLTf | 0; + $vertex = $vertex | 0; + $pattRatio = +$pattRatio; + $ext_patt = $ext_patt | 0; + var $109 = 0.0, $125 = 0.0, $143 = 0.0, $161 = 0.0, $179 = 0.0, $182 = 0, $186 = 0, $19 = 0.0, $2 = 0.0, $203 = 0.0, $206 = 0, $210 = 0, $227 = 0.0, $234 = 0, $252 = 0.0, $270 = 0.0, $288 = 0.0, $3 = 0.0, $304 = 0.0, $318 = 0.0, $332 = 0.0, $346 = 0.0, $362 = 0.0, $37 = 0.0, $378 = 0.0, $387 = 0, $4 = 0.0, $5 = 0.0, $55 = 0.0, $6 = 0.0, $7 = 0.0, $73 = 0.0, $8 = 0.0, $9 = 0.0, $91 = 0.0, $add1065 = 0.0, $add1071 = 0.0, $add1082 = 0.0, $add1092 = 0.0, $add1208 = 0.0, $add1214 = 0.0, $add1225 = 0.0, $add1235 = 0.0, $add1424 = 0.0, $add1430 = 0.0, $add1441 = 0.0, $add1451 = 0.0, $add1652 = 0.0, $add1658 = 0.0, $add1669 = 0.0, $add1679 = 0.0, $add1811 = 0.0, $add1817 = 0.0, $add1828 = 0.0, $add1838 = 0.0, $add1971 = 0.0, $add1977 = 0.0, $add1988 = 0.0, $add1998 = 0.0, $add206 = 0.0, $add212 = 0.0, $add2157 = 0.0, $add2163 = 0.0, $add2174 = 0.0, $add2184 = 0.0, $add223 = 0.0, $add2288 = 0.0, $add2294 = 0.0, $add2305 = 0.0, $add2315 = 0.0, $add233 = 0.0, $add2419 = 0.0, $add2425 = 0.0, $add2436 = 0.0, $add2446 = 0.0, $add2556 = 0.0, $add2562 = 0.0, $add2573 = 0.0, $add2583 = 0.0, $add2667 = 0.0, $add2673 = 0.0, $add2684 = 0.0, $add2694 = 0.0, $add2780 = 0.0, $add2786 = 0.0, $add2797 = 0.0, $add2807 = 0.0, $add2892 = 0.0, $add2898 = 0.0, $add2909 = 0.0, $add2919 = 0.0, $add3037 = 0.0, $add3043 = 0.0, $add3054 = 0.0, $add3064 = 0.0, $add3182 = 0.0, $add3188 = 0.0, $add3199 = 0.0, $add3209 = 0.0, $add348 = 0.0, $add354 = 0.0, $add365 = 0.0, $add375 = 0.0, $add491 = 0.0, $add497 = 0.0, $add508 = 0.0, $add518 = 0.0, $add634 = 0.0, $add640 = 0.0, $add651 = 0.0, $add661 = 0.0, $add777 = 0.0, $add783 = 0.0, $add794 = 0.0, $add804 = 0.0, $add928 = 0.0, $add934 = 0.0, $add945 = 0.0, $add955 = 0.0, $arrayidx1016 = 0, $arrayidx1024 = 0, $arrayidx1036 = 0, $arrayidx1048 = 0, $arrayidx1084 = 0, $arrayidx1087 = 0, $arrayidx1091 = 0, $arrayidx1101 = 0, $arrayidx1105 = 0, $arrayidx1110 = 0, $arrayidx1113 = 0, $arrayidx1117 = 0, $arrayidx1163 = 0, $arrayidx1177 = 0, $arrayidx1191 = 0, $arrayidx1227 = 0, $arrayidx1230 = 0, $arrayidx1234 = 0, $arrayidx1244 = 0, $arrayidx1248 = 0, $arrayidx1253 = 0, $arrayidx1256 = 0, $arrayidx1260 = 0, $arrayidx1355 = 0, $arrayidx1381 = 0, $arrayidx1407 = 0, $arrayidx1443 = 0, $arrayidx1446 = 0, $arrayidx1450 = 0, $arrayidx1460 = 0, $arrayidx1464 = 0, $arrayidx1469 = 0, $arrayidx1472 = 0, $arrayidx1476 = 0, $arrayidx1583 = 0, $arrayidx1609 = 0, $arrayidx1635 = 0, $arrayidx1671 = 0, $arrayidx1674 = 0, $arrayidx1678 = 0, $arrayidx1688 = 0, $arrayidx1692 = 0, $arrayidx1697 = 0, $arrayidx1700 = 0, $arrayidx1704 = 0, $arrayidx1752 = 0, $arrayidx1778 = 0, $arrayidx1794 = 0, $arrayidx1830 = 0, $arrayidx1833 = 0, $arrayidx1837 = 0, $arrayidx1847 = 0, $arrayidx1851 = 0, $arrayidx1856 = 0, $arrayidx1859 = 0, $arrayidx1863 = 0, $arrayidx1912 = 0, $arrayidx1938 = 0, $arrayidx1954 = 0, $arrayidx1990 = 0, $arrayidx1993 = 0, $arrayidx1997 = 0, $arrayidx2007 = 0, $arrayidx2011 = 0, $arrayidx2016 = 0, $arrayidx2019 = 0, $arrayidx2023 = 0, $arrayidx2071 = 0, $arrayidx2088 = 0, $arrayidx2104 = 0, $arrayidx2176 = 0, $arrayidx2179 = 0, $arrayidx2183 = 0, $arrayidx2193 = 0, $arrayidx2197 = 0, $arrayidx2202 = 0, $arrayidx2205 = 0, $arrayidx2209 = 0, $arrayidx225 = 0, $arrayidx2268 = 0, $arrayidx228 = 0, $arrayidx2307 = 0, $arrayidx2310 = 0, $arrayidx2314 = 0, $arrayidx232 = 0, $arrayidx2324 = 0, $arrayidx2328 = 0, $arrayidx2333 = 0, $arrayidx2336 = 0, $arrayidx2340 = 0, $arrayidx2399 = 0, $arrayidx242 = 0, $arrayidx2438 = 0, $arrayidx2441 = 0, $arrayidx2445 = 0, $arrayidx2455 = 0, $arrayidx2459 = 0, $arrayidx246 = 0, $arrayidx2464 = 0, $arrayidx2467 = 0, $arrayidx2471 = 0, $arrayidx251 = 0, $arrayidx2530 = 0, $arrayidx254 = 0, $arrayidx2575 = 0, $arrayidx2578 = 0, $arrayidx258 = 0, $arrayidx2582 = 0, $arrayidx2592 = 0, $arrayidx2596 = 0, $arrayidx2601 = 0, $arrayidx2604 = 0, $arrayidx2608 = 0, $arrayidx2644 = 0, $arrayidx2650 = 0, $arrayidx2686 = 0, $arrayidx2689 = 0, $arrayidx2693 = 0, $arrayidx2703 = 0, $arrayidx2707 = 0, $arrayidx2712 = 0, $arrayidx2715 = 0, $arrayidx2719 = 0, $arrayidx2757 = 0, $arrayidx2763 = 0, $arrayidx2799 = 0, $arrayidx2802 = 0, $arrayidx2806 = 0, $arrayidx2816 = 0, $arrayidx2820 = 0, $arrayidx2825 = 0, $arrayidx2828 = 0, $arrayidx2832 = 0, $arrayidx2869 = 0, $arrayidx2875 = 0, $arrayidx2911 = 0, $arrayidx2914 = 0, $arrayidx2918 = 0, $arrayidx2928 = 0, $arrayidx2932 = 0, $arrayidx2937 = 0, $arrayidx2940 = 0, $arrayidx2944 = 0, $arrayidx3020 = 0, $arrayidx303 = 0, $arrayidx3056 = 0, $arrayidx3059 = 0, $arrayidx3063 = 0, $arrayidx3073 = 0, $arrayidx3077 = 0, $arrayidx3082 = 0, $arrayidx3085 = 0, $arrayidx3089 = 0, $arrayidx3165 = 0, $arrayidx317 = 0, $arrayidx3201 = 0, $arrayidx3204 = 0, $arrayidx3208 = 0, $arrayidx3218 = 0, $arrayidx3222 = 0, $arrayidx3227 = 0, $arrayidx3230 = 0, $arrayidx3234 = 0, $arrayidx3300 = 0, $arrayidx331 = 0, $arrayidx367 = 0, $arrayidx370 = 0, $arrayidx374 = 0, $arrayidx384 = 0, $arrayidx388 = 0, $arrayidx393 = 0, $arrayidx396 = 0, $arrayidx400 = 0, $arrayidx446 = 0, $arrayidx460 = 0, $arrayidx474 = 0, $arrayidx510 = 0, $arrayidx513 = 0, $arrayidx517 = 0, $arrayidx527 = 0, $arrayidx531 = 0, $arrayidx536 = 0, $arrayidx539 = 0, $arrayidx543 = 0, $arrayidx589 = 0, $arrayidx603 = 0, $arrayidx617 = 0, $arrayidx653 = 0, $arrayidx656 = 0, $arrayidx660 = 0, $arrayidx670 = 0, $arrayidx674 = 0, $arrayidx679 = 0, $arrayidx682 = 0, $arrayidx686 = 0, $arrayidx732 = 0, $arrayidx746 = 0, $arrayidx760 = 0, $arrayidx796 = 0, $arrayidx799 = 0, $arrayidx803 = 0, $arrayidx813 = 0, $arrayidx817 = 0, $arrayidx822 = 0, $arrayidx825 = 0, $arrayidx829 = 0, $arrayidx875 = 0, $arrayidx889 = 0, $arrayidx903 = 0, $arrayidx947 = 0, $arrayidx950 = 0, $arrayidx954 = 0, $arrayidx964 = 0, $arrayidx968 = 0, $arrayidx973 = 0, $arrayidx976 = 0, $arrayidx980 = 0, $call = 0, $call2142 = 0, $cmp1122 = 0, $cmp1265 = 0, $cmp1481 = 0, $cmp1709 = 0, $cmp1868 = 0, $cmp2028 = 0, $cmp2214 = 0, $cmp2345 = 0, $cmp2476 = 0, $cmp2613 = 0, $cmp263 = 0, $cmp2724 = 0, $cmp2837 = 0, $cmp2949 = 0, $cmp3094 = 0, $cmp3239 = 0, $cmp405 = 0, $cmp548 = 0, $cmp691 = 0, $cmp834 = 0, $cmp985 = 0, $cond = 0, $cond1362 = 0, $cond1388 = 0, $cond1564 = 0, $cond1590 = 0, $cond1616 = 0, $conv = 0, $conv1017 = 0, $conv1069 = 0.0, $conv1080 = 0.0, $conv1108 = 0.0, $conv1120 = 0.0, $conv117 = 0, $conv1212 = 0.0, $conv1223 = 0.0, $conv1251 = 0.0, $conv1263 = 0.0, $conv127 = 0, $conv1301 = 0.0, $conv131 = 0, $conv1318 = 0.0, $conv1428 = 0.0, $conv1439 = 0.0, $conv1467 = 0.0, $conv1479 = 0.0, $conv1528 = 0.0, $conv1538 = 0.0, $conv1656 = 0.0, $conv1667 = 0.0, $conv1695 = 0.0, $conv1707 = 0.0, $conv1815 = 0.0, $conv1826 = 0.0, $conv1854 = 0.0, $conv1866 = 0.0, $conv1975 = 0.0, $conv1986 = 0.0, $conv2014 = 0.0, $conv2026 = 0.0, $conv210 = 0.0, $conv2161 = 0.0, $conv2172 = 0.0, $conv2200 = 0.0, $conv221 = 0.0, $conv2212 = 0.0, $conv2292 = 0.0, $conv2303 = 0.0, $conv2331 = 0.0, $conv2343 = 0.0, $conv2423 = 0.0, $conv2434 = 0.0, $conv2462 = 0.0, $conv2474 = 0.0, $conv249 = 0.0, $conv2560 = 0.0, $conv2571 = 0.0, $conv2599 = 0.0, $conv261 = 0.0, $conv2611 = 0.0, $conv2671 = 0.0, $conv2682 = 0.0, $conv2710 = 0.0, $conv2722 = 0.0, $conv2784 = 0.0, $conv2795 = 0.0, $conv2823 = 0.0, $conv2835 = 0.0, $conv2896 = 0.0, $conv2907 = 0.0, $conv2935 = 0.0, $conv2947 = 0.0, $conv2983 = 0, $conv2999 = 0, $conv3041 = 0.0, $conv3052 = 0.0, $conv3080 = 0.0, $conv3092 = 0.0, $conv3128 = 0, $conv3144 = 0, $conv3186 = 0.0, $conv3197 = 0.0, $conv3225 = 0.0, $conv3237 = 0.0, $conv3273 = 0, $conv352 = 0.0, $conv363 = 0.0, $conv391 = 0.0, $conv403 = 0.0, $conv495 = 0.0, $conv506 = 0.0, $conv534 = 0.0, $conv546 = 0.0, $conv638 = 0.0, $conv649 = 0.0, $conv677 = 0.0, $conv689 = 0.0, $conv69 = 0, $conv781 = 0.0, $conv792 = 0.0, $conv820 = 0.0, $conv832 = 0.0, $conv93 = 0, $conv932 = 0.0, $conv943 = 0.0, $conv971 = 0.0, $conv983 = 0.0, $div = 0, $div185 = 0, $i$0 = 0, $i$1 = 0, $i$10 = 0, $i$11 = 0, $i$12 = 0, $i$13 = 0, $i$14 = 0, $i$15 = 0, $i$16 = 0, $i$17 = 0, $i$18 = 0, $i$19 = 0, $i$2 = 0, $i$20 = 0, $i$21 = 0, $i$22 = 0, $i$23 = 0, $i$3 = 0, $i$4 = 0, $i$5 = 0, $i$6 = 0, $i$7 = 0, $i$8 = 0, $i$9 = 0, $j$0 = 0, $j$1 = 0, $j$10 = 0, $j$11 = 0, $j$12 = 0, $j$13 = 0, $j$14 = 0, $j$15 = 0, $j$16 = 0, $j$17 = 0, $j$18 = 0, $j$19 = 0, $j$2 = 0, $j$20 = 0, $j$3 = 0, $j$4 = 0, $j$5 = 0, $j$6 = 0, $j$7 = 0, $j$8 = 0, $j$9 = 0, $local = 0, $mul1022 = 0, $mul1153 = 0, $mul1161 = 0, $mul1294 = 0, $mul1296 = 0, $mul1319 = 0.0, $mul1353 = 0, $mul1511 = 0, $mul1523 = 0, $mul1540 = 0.0, $mul1581 = 0, $mul1740 = 0, $mul1750 = 0, $mul188 = 0.0, $mul189 = 0.0, $mul1899 = 0, $mul1910 = 0, $mul193 = 0, $mul194 = 0, $mul2059 = 0, $mul2069 = 0, $mul2133 = 0, $mul2245 = 0, $mul2376 = 0, $mul2507 = 0, $mul293 = 0, $mul2980 = 0, $mul301 = 0, $mul3125 = 0, $mul3270 = 0, $mul3325 = 0, $mul436 = 0, $mul444 = 0, $mul579 = 0, $mul587 = 0, $mul722 = 0, $mul730 = 0, $mul865 = 0, $mul873 = 0, $para = 0, $retval$0 = 0, $shr = 0, $shr1329 = 0, $shr1334 = 0, $shr1544 = 0, $shr1552 = 0, $shr1558 = 0, $spec$select1338 = 0, $sub = 0.0, $sub109 = 0.0, $sub39 = 0.0, $sub50 = 0.0, $sub61 = 0.0, $sub74 = 0.0, $sub85 = 0.0, $sub98 = 0.0, $vararg_buffer = 0, $vararg_buffer1 = 0, $vararg_buffer3 = 0, $vararg_buffer5 = 0, $world = 0, $xc$0 = 0, $xc$1 = 0, $xc$10 = 0, $xc$11 = 0, $xc$12 = 0, $xc$13 = 0, $xc$14 = 0, $xc$15 = 0, $xc$16 = 0, $xc$17 = 0, $xc$18 = 0, $xc$19 = 0, $xc$2 = 0, $xc$20 = 0, $xc$3 = 0, $xc$4 = 0, $xc$5 = 0, $xc$6 = 0, $xc$7 = 0, $xc$8 = 0, $xc$9 = 0, $xc2 = 0, $xdiv2$0 = 0, $xdiv2$1 = 0, $xdiv2$2 = 0, $yc$0 = 0, $yc$1 = 0, $yc$10 = 0, $yc$11 = 0, $yc$12 = 0, $yc$13 = 0, $yc$14 = 0, $yc$15 = 0, $yc$16 = 0, $yc$17 = 0, $yc$18 = 0, $yc$19 = 0, $yc$2 = 0, $yc$20 = 0, $yc$3 = 0, $yc$4 = 0, $yc$5 = 0, $yc$6 = 0, $yc$7 = 0, $yc$8 = 0, $yc$9 = 0, $yc2 = 0, $ydiv2$0 = 0, $ydiv2$1 = 0, $ydiv2$2 = 0, $ydiv2$3 = 0, label = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 256 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(256); + $vararg_buffer5 = sp + 232 | 0; + $vararg_buffer3 = sp + 224 | 0; + $vararg_buffer1 = sp + 216 | 0; + $vararg_buffer = sp + 208 | 0; + $world = sp + 144 | 0; + $local = sp + 80 | 0; + $para = sp; + $xc2 = sp + 240 | 0; + $yc2 = sp + 236 | 0; + HEAPF64[$world >> 3] = 100.0; + HEAPF64[$world + 8 >> 3] = 100.0; + HEAPF64[$world + 16 >> 3] = 110.0; + HEAPF64[$world + 24 >> 3] = 100.0; + HEAPF64[$world + 32 >> 3] = 110.0; + HEAPF64[$world + 40 >> 3] = 110.0; + HEAPF64[$world + 48 >> 3] = 100.0; + HEAPF64[$world + 56 >> 3] = 110.0; + $i$0 = 0; + while (1) { + if (($i$0 | 0) == 4) break; + HEAPF64[$local + ($i$0 << 4) >> 3] = +HEAPF64[$vertex + ($i$0 << 4) >> 3]; + HEAPF64[$local + ($i$0 << 4) + 8 >> 3] = +HEAPF64[$vertex + ($i$0 << 4) + 8 >> 3]; + $i$0 = $i$0 + 1 | 0; + } + _get_cpara($world, $local, $para); + $2 = +HEAPF64[$local >> 3]; + $3 = +HEAPF64[$local + 16 >> 3]; + $sub = $2 - $3; + $4 = +HEAPF64[$local + 8 >> 3]; + $5 = +HEAPF64[$local + 24 >> 3]; + $sub39 = $4 - $5; + $conv = ~~($sub * $sub + $sub39 * $sub39); + $6 = +HEAPF64[$local + 32 >> 3]; + $7 = +HEAPF64[$local + 48 >> 3]; + $sub50 = $6 - $7; + $8 = +HEAPF64[$local + 40 >> 3]; + $9 = +HEAPF64[$local + 56 >> 3]; + $sub61 = $8 - $9; + $conv69 = ~~($sub50 * $sub50 + $sub61 * $sub61); + $sub74 = $3 - $6; + $sub85 = $5 - $8; + $conv93 = ~~($sub74 * $sub74 + $sub85 * $sub85); + $sub98 = $7 - $2; + $sub109 = $9 - $4; + $conv117 = ~~($sub98 * $sub98 + $sub109 * $sub109); + $conv127 = ~~(+((($conv69 | 0) > ($conv | 0) ? $conv69 : $conv) | 0) * $pattRatio * $pattRatio); + $conv131 = ~~(+((($conv117 | 0) > ($conv93 | 0) ? $conv117 : $conv93) | 0) * $pattRatio * $pattRatio); + if (!$imageProcMode) { + $xdiv2$0 = $patt_size; + while (1) if (($xdiv2$0 | 0) < ($sample_size | 0) & (Math_imul($xdiv2$0, $xdiv2$0) | 0) < ($conv127 | 0)) $xdiv2$0 = $xdiv2$0 << 1; else break; + $ydiv2$0 = $patt_size; + while (1) if (($ydiv2$0 | 0) < ($sample_size | 0) & (Math_imul($ydiv2$0, $ydiv2$0) | 0) < ($conv131 | 0)) $ydiv2$0 = $ydiv2$0 << 1; else { + $xdiv2$2 = $xdiv2$0; + $ydiv2$2 = $ydiv2$0; + break; + } + } else { + $xdiv2$1 = $patt_size; + while (1) if (($xdiv2$1 | 0) < ($sample_size | 0) & (Math_imul($xdiv2$1 << 2, $xdiv2$1) | 0) < ($conv127 | 0)) $xdiv2$1 = $xdiv2$1 << 1; else break; + $ydiv2$1 = $patt_size; + while (1) if (($ydiv2$1 | 0) < ($sample_size | 0) & (Math_imul($ydiv2$1 << 2, $ydiv2$1) | 0) < ($conv131 | 0)) $ydiv2$1 = $ydiv2$1 << 1; else { + $xdiv2$2 = $xdiv2$1; + $ydiv2$2 = $ydiv2$1; + break; + } + } + $spec$select1338 = ($xdiv2$2 | 0) > ($sample_size | 0) ? $sample_size : $xdiv2$2; + $ydiv2$3 = ($ydiv2$2 | 0) > ($sample_size | 0) ? $sample_size : $ydiv2$2; + $div = ($spec$select1338 | 0) / ($patt_size | 0) | 0; + $div185 = ($ydiv2$3 | 0) / ($patt_size | 0) | 0; + $mul188 = (1.0 - $pattRatio) * .5 * 10.0; + $mul189 = $pattRatio * 10.0; + $mul193 = Math_imul($patt_size, $patt_size) | 0; + L19 : do if (!$pattDetectMode) { + $mul194 = $mul193 * 3 | 0; + $call = _calloc($mul194, 4) | 0; + if (!$call) { + _arLog(0, 3, 46772, $vararg_buffer); + _exit(1); + } + L24 : do switch ($pixelFormat | 0) { + case 0: + { + $add206 = $mul188 + 100.0; + $conv210 = +($ydiv2$3 | 0); + $conv221 = +($spec$select1338 | 0); + $arrayidx225 = $para + 48 | 0; + $arrayidx228 = $para + 56 | 0; + $arrayidx232 = $para + 64 | 0; + $arrayidx242 = $para + 8 | 0; + $arrayidx246 = $para + 16 | 0; + $arrayidx251 = $para + 24 | 0; + $arrayidx254 = $para + 32 | 0; + $arrayidx258 = $para + 40 | 0; + $cmp263 = ($imageProcMode | 0) == 1; + $j$0 = 0; + while (1) { + if (($j$0 | 0) >= ($ydiv2$3 | 0)) break L24; + $add212 = $add206 + $mul189 * (+($j$0 | 0) + .5) / $conv210; + $i$1 = 0; + while (1) { + if (($i$1 | 0) >= ($spec$select1338 | 0)) break; + $add223 = $add206 + $mul189 * (+($i$1 | 0) + .5) / $conv221; + $add233 = +HEAPF64[$arrayidx232 >> 3] + ($add223 * +HEAPF64[$arrayidx225 >> 3] + $add212 * +HEAPF64[$arrayidx228 >> 3]); + if ($add233 == 0.0) { + $387 = $call; + label = 306; + break L19; + } + $conv249 = (+HEAPF64[$arrayidx246 >> 3] + ($add223 * +HEAPF64[$para >> 3] + $add212 * +HEAPF64[$arrayidx242 >> 3])) / $add233; + HEAPF32[$xc2 >> 2] = $conv249; + $conv261 = (+HEAPF64[$arrayidx258 >> 3] + ($add223 * +HEAPF64[$arrayidx251 >> 3] + $add212 * +HEAPF64[$arrayidx254 >> 3])) / $add233; + HEAPF32[$yc2 >> 2] = $conv261; + _arParamIdeal2ObservLTf($paramLTf, $conv249, $conv261, $xc2, $yc2) | 0; + $19 = +HEAPF32[$xc2 >> 2]; + if ($cmp263) { + $xc$0 = ((~~($19 + 1.0) | 0) / 2 | 0) << 1; + $yc$0 = ((~~(+HEAPF32[$yc2 >> 2] + 1.0) | 0) / 2 | 0) << 1; + } else { + $xc$0 = ~~($19 + .5); + $yc$0 = ~~(+HEAPF32[$yc2 >> 2] + .5); + } + if (($xc$0 | 0) > -1 ? ($yc$0 | 0) < ($ysize | 0) & (($yc$0 | 0) > -1 & ($xc$0 | 0) < ($xsize | 0)) : 0) { + $mul293 = ((Math_imul($yc$0, $xsize) | 0) + $xc$0 | 0) * 3 | 0; + $mul301 = ((Math_imul(($j$0 | 0) / ($div185 | 0) | 0, $patt_size) | 0) + (($i$1 | 0) / ($div | 0) | 0) | 0) * 3 | 0; + $arrayidx303 = $call + ($mul301 << 2) | 0; + HEAP32[$arrayidx303 >> 2] = (HEAP32[$arrayidx303 >> 2] | 0) + (HEAPU8[$image + ($mul293 + 2) >> 0] | 0); + $arrayidx317 = $call + ($mul301 + 1 << 2) | 0; + HEAP32[$arrayidx317 >> 2] = (HEAP32[$arrayidx317 >> 2] | 0) + (HEAPU8[$image + ($mul293 + 1) >> 0] | 0); + $arrayidx331 = $call + ($mul301 + 2 << 2) | 0; + HEAP32[$arrayidx331 >> 2] = (HEAP32[$arrayidx331 >> 2] | 0) + (HEAPU8[$image + $mul293 >> 0] | 0); + } + $i$1 = $i$1 + 1 | 0; + } + $j$0 = $j$0 + 1 | 0; + } + break; + } + case 1: + { + $add348 = $mul188 + 100.0; + $conv352 = +($ydiv2$3 | 0); + $conv363 = +($spec$select1338 | 0); + $arrayidx367 = $para + 48 | 0; + $arrayidx370 = $para + 56 | 0; + $arrayidx374 = $para + 64 | 0; + $arrayidx384 = $para + 8 | 0; + $arrayidx388 = $para + 16 | 0; + $arrayidx393 = $para + 24 | 0; + $arrayidx396 = $para + 32 | 0; + $arrayidx400 = $para + 40 | 0; + $cmp405 = ($imageProcMode | 0) == 1; + $j$1 = 0; + while (1) { + if (($j$1 | 0) >= ($ydiv2$3 | 0)) break L24; + $add354 = $add348 + $mul189 * (+($j$1 | 0) + .5) / $conv352; + $i$2 = 0; + while (1) { + if (($i$2 | 0) >= ($spec$select1338 | 0)) break; + $add365 = $add348 + $mul189 * (+($i$2 | 0) + .5) / $conv363; + $add375 = +HEAPF64[$arrayidx374 >> 3] + ($add365 * +HEAPF64[$arrayidx367 >> 3] + $add354 * +HEAPF64[$arrayidx370 >> 3]); + if ($add375 == 0.0) { + $387 = $call; + label = 306; + break L19; + } + $conv391 = (+HEAPF64[$arrayidx388 >> 3] + ($add365 * +HEAPF64[$para >> 3] + $add354 * +HEAPF64[$arrayidx384 >> 3])) / $add375; + HEAPF32[$xc2 >> 2] = $conv391; + $conv403 = (+HEAPF64[$arrayidx400 >> 3] + ($add365 * +HEAPF64[$arrayidx393 >> 3] + $add354 * +HEAPF64[$arrayidx396 >> 3])) / $add375; + HEAPF32[$yc2 >> 2] = $conv403; + _arParamIdeal2ObservLTf($paramLTf, $conv391, $conv403, $xc2, $yc2) | 0; + $37 = +HEAPF32[$xc2 >> 2]; + if ($cmp405) { + $xc$1 = ((~~($37 + 1.0) | 0) / 2 | 0) << 1; + $yc$1 = ((~~(+HEAPF32[$yc2 >> 2] + 1.0) | 0) / 2 | 0) << 1; + } else { + $xc$1 = ~~($37 + .5); + $yc$1 = ~~(+HEAPF32[$yc2 >> 2] + .5); + } + if (($xc$1 | 0) > -1 ? ($yc$1 | 0) < ($ysize | 0) & (($yc$1 | 0) > -1 & ($xc$1 | 0) < ($xsize | 0)) : 0) { + $mul436 = ((Math_imul($yc$1, $xsize) | 0) + $xc$1 | 0) * 3 | 0; + $mul444 = ((Math_imul(($j$1 | 0) / ($div185 | 0) | 0, $patt_size) | 0) + (($i$2 | 0) / ($div | 0) | 0) | 0) * 3 | 0; + $arrayidx446 = $call + ($mul444 << 2) | 0; + HEAP32[$arrayidx446 >> 2] = (HEAP32[$arrayidx446 >> 2] | 0) + (HEAPU8[$image + $mul436 >> 0] | 0); + $arrayidx460 = $call + ($mul444 + 1 << 2) | 0; + HEAP32[$arrayidx460 >> 2] = (HEAP32[$arrayidx460 >> 2] | 0) + (HEAPU8[$image + ($mul436 + 1) >> 0] | 0); + $arrayidx474 = $call + ($mul444 + 2 << 2) | 0; + HEAP32[$arrayidx474 >> 2] = (HEAP32[$arrayidx474 >> 2] | 0) + (HEAPU8[$image + ($mul436 + 2) >> 0] | 0); + } + $i$2 = $i$2 + 1 | 0; + } + $j$1 = $j$1 + 1 | 0; + } + break; + } + case 2: + { + $add491 = $mul188 + 100.0; + $conv495 = +($ydiv2$3 | 0); + $conv506 = +($spec$select1338 | 0); + $arrayidx510 = $para + 48 | 0; + $arrayidx513 = $para + 56 | 0; + $arrayidx517 = $para + 64 | 0; + $arrayidx527 = $para + 8 | 0; + $arrayidx531 = $para + 16 | 0; + $arrayidx536 = $para + 24 | 0; + $arrayidx539 = $para + 32 | 0; + $arrayidx543 = $para + 40 | 0; + $cmp548 = ($imageProcMode | 0) == 1; + $j$2 = 0; + while (1) { + if (($j$2 | 0) >= ($ydiv2$3 | 0)) break L24; + $add497 = $add491 + $mul189 * (+($j$2 | 0) + .5) / $conv495; + $i$3 = 0; + while (1) { + if (($i$3 | 0) >= ($spec$select1338 | 0)) break; + $add508 = $add491 + $mul189 * (+($i$3 | 0) + .5) / $conv506; + $add518 = +HEAPF64[$arrayidx517 >> 3] + ($add508 * +HEAPF64[$arrayidx510 >> 3] + $add497 * +HEAPF64[$arrayidx513 >> 3]); + if ($add518 == 0.0) { + $387 = $call; + label = 306; + break L19; + } + $conv534 = (+HEAPF64[$arrayidx531 >> 3] + ($add508 * +HEAPF64[$para >> 3] + $add497 * +HEAPF64[$arrayidx527 >> 3])) / $add518; + HEAPF32[$xc2 >> 2] = $conv534; + $conv546 = (+HEAPF64[$arrayidx543 >> 3] + ($add508 * +HEAPF64[$arrayidx536 >> 3] + $add497 * +HEAPF64[$arrayidx539 >> 3])) / $add518; + HEAPF32[$yc2 >> 2] = $conv546; + _arParamIdeal2ObservLTf($paramLTf, $conv534, $conv546, $xc2, $yc2) | 0; + $55 = +HEAPF32[$xc2 >> 2]; + if ($cmp548) { + $xc$2 = ((~~($55 + 1.0) | 0) / 2 | 0) << 1; + $yc$2 = ((~~(+HEAPF32[$yc2 >> 2] + 1.0) | 0) / 2 | 0) << 1; + } else { + $xc$2 = ~~($55 + .5); + $yc$2 = ~~(+HEAPF32[$yc2 >> 2] + .5); + } + if (($xc$2 | 0) > -1 ? ($yc$2 | 0) < ($ysize | 0) & (($yc$2 | 0) > -1 & ($xc$2 | 0) < ($xsize | 0)) : 0) { + $mul579 = (Math_imul($yc$2, $xsize) | 0) + $xc$2 << 2; + $mul587 = ((Math_imul(($j$2 | 0) / ($div185 | 0) | 0, $patt_size) | 0) + (($i$3 | 0) / ($div | 0) | 0) | 0) * 3 | 0; + $arrayidx589 = $call + ($mul587 << 2) | 0; + HEAP32[$arrayidx589 >> 2] = (HEAP32[$arrayidx589 >> 2] | 0) + (HEAPU8[$image + ($mul579 | 2) >> 0] | 0); + $arrayidx603 = $call + ($mul587 + 1 << 2) | 0; + HEAP32[$arrayidx603 >> 2] = (HEAP32[$arrayidx603 >> 2] | 0) + (HEAPU8[$image + ($mul579 | 1) >> 0] | 0); + $arrayidx617 = $call + ($mul587 + 2 << 2) | 0; + HEAP32[$arrayidx617 >> 2] = (HEAP32[$arrayidx617 >> 2] | 0) + (HEAPU8[$image + $mul579 >> 0] | 0); + } + $i$3 = $i$3 + 1 | 0; + } + $j$2 = $j$2 + 1 | 0; + } + break; + } + case 3: + { + $add634 = $mul188 + 100.0; + $conv638 = +($ydiv2$3 | 0); + $conv649 = +($spec$select1338 | 0); + $arrayidx653 = $para + 48 | 0; + $arrayidx656 = $para + 56 | 0; + $arrayidx660 = $para + 64 | 0; + $arrayidx670 = $para + 8 | 0; + $arrayidx674 = $para + 16 | 0; + $arrayidx679 = $para + 24 | 0; + $arrayidx682 = $para + 32 | 0; + $arrayidx686 = $para + 40 | 0; + $cmp691 = ($imageProcMode | 0) == 1; + $j$3 = 0; + while (1) { + if (($j$3 | 0) >= ($ydiv2$3 | 0)) break L24; + $add640 = $add634 + $mul189 * (+($j$3 | 0) + .5) / $conv638; + $i$4 = 0; + while (1) { + if (($i$4 | 0) >= ($spec$select1338 | 0)) break; + $add651 = $add634 + $mul189 * (+($i$4 | 0) + .5) / $conv649; + $add661 = +HEAPF64[$arrayidx660 >> 3] + ($add651 * +HEAPF64[$arrayidx653 >> 3] + $add640 * +HEAPF64[$arrayidx656 >> 3]); + if ($add661 == 0.0) { + $387 = $call; + label = 306; + break L19; + } + $conv677 = (+HEAPF64[$arrayidx674 >> 3] + ($add651 * +HEAPF64[$para >> 3] + $add640 * +HEAPF64[$arrayidx670 >> 3])) / $add661; + HEAPF32[$xc2 >> 2] = $conv677; + $conv689 = (+HEAPF64[$arrayidx686 >> 3] + ($add651 * +HEAPF64[$arrayidx679 >> 3] + $add640 * +HEAPF64[$arrayidx682 >> 3])) / $add661; + HEAPF32[$yc2 >> 2] = $conv689; + _arParamIdeal2ObservLTf($paramLTf, $conv677, $conv689, $xc2, $yc2) | 0; + $73 = +HEAPF32[$xc2 >> 2]; + if ($cmp691) { + $xc$3 = ((~~($73 + 1.0) | 0) / 2 | 0) << 1; + $yc$3 = ((~~(+HEAPF32[$yc2 >> 2] + 1.0) | 0) / 2 | 0) << 1; + } else { + $xc$3 = ~~($73 + .5); + $yc$3 = ~~(+HEAPF32[$yc2 >> 2] + .5); + } + if (($xc$3 | 0) > -1 ? ($yc$3 | 0) < ($ysize | 0) & (($yc$3 | 0) > -1 & ($xc$3 | 0) < ($xsize | 0)) : 0) { + $mul722 = (Math_imul($yc$3, $xsize) | 0) + $xc$3 << 2; + $mul730 = ((Math_imul(($j$3 | 0) / ($div185 | 0) | 0, $patt_size) | 0) + (($i$4 | 0) / ($div | 0) | 0) | 0) * 3 | 0; + $arrayidx732 = $call + ($mul730 << 2) | 0; + HEAP32[$arrayidx732 >> 2] = (HEAP32[$arrayidx732 >> 2] | 0) + (HEAPU8[$image + $mul722 >> 0] | 0); + $arrayidx746 = $call + ($mul730 + 1 << 2) | 0; + HEAP32[$arrayidx746 >> 2] = (HEAP32[$arrayidx746 >> 2] | 0) + (HEAPU8[$image + ($mul722 | 1) >> 0] | 0); + $arrayidx760 = $call + ($mul730 + 2 << 2) | 0; + HEAP32[$arrayidx760 >> 2] = (HEAP32[$arrayidx760 >> 2] | 0) + (HEAPU8[$image + ($mul722 | 2) >> 0] | 0); + } + $i$4 = $i$4 + 1 | 0; + } + $j$3 = $j$3 + 1 | 0; + } + break; + } + case 4: + { + $add777 = $mul188 + 100.0; + $conv781 = +($ydiv2$3 | 0); + $conv792 = +($spec$select1338 | 0); + $arrayidx796 = $para + 48 | 0; + $arrayidx799 = $para + 56 | 0; + $arrayidx803 = $para + 64 | 0; + $arrayidx813 = $para + 8 | 0; + $arrayidx817 = $para + 16 | 0; + $arrayidx822 = $para + 24 | 0; + $arrayidx825 = $para + 32 | 0; + $arrayidx829 = $para + 40 | 0; + $cmp834 = ($imageProcMode | 0) == 1; + $j$4 = 0; + while (1) { + if (($j$4 | 0) >= ($ydiv2$3 | 0)) break L24; + $add783 = $add777 + $mul189 * (+($j$4 | 0) + .5) / $conv781; + $i$5 = 0; + while (1) { + if (($i$5 | 0) >= ($spec$select1338 | 0)) break; + $add794 = $add777 + $mul189 * (+($i$5 | 0) + .5) / $conv792; + $add804 = +HEAPF64[$arrayidx803 >> 3] + ($add794 * +HEAPF64[$arrayidx796 >> 3] + $add783 * +HEAPF64[$arrayidx799 >> 3]); + if ($add804 == 0.0) { + $387 = $call; + label = 306; + break L19; + } + $conv820 = (+HEAPF64[$arrayidx817 >> 3] + ($add794 * +HEAPF64[$para >> 3] + $add783 * +HEAPF64[$arrayidx813 >> 3])) / $add804; + HEAPF32[$xc2 >> 2] = $conv820; + $conv832 = (+HEAPF64[$arrayidx829 >> 3] + ($add794 * +HEAPF64[$arrayidx822 >> 3] + $add783 * +HEAPF64[$arrayidx825 >> 3])) / $add804; + HEAPF32[$yc2 >> 2] = $conv832; + _arParamIdeal2ObservLTf($paramLTf, $conv820, $conv832, $xc2, $yc2) | 0; + $91 = +HEAPF32[$xc2 >> 2]; + if ($cmp834) { + $xc$4 = ((~~($91 + 1.0) | 0) / 2 | 0) << 1; + $yc$4 = ((~~(+HEAPF32[$yc2 >> 2] + 1.0) | 0) / 2 | 0) << 1; + } else { + $xc$4 = ~~($91 + .5); + $yc$4 = ~~(+HEAPF32[$yc2 >> 2] + .5); + } + if (($xc$4 | 0) > -1 ? ($yc$4 | 0) < ($ysize | 0) & (($yc$4 | 0) > -1 & ($xc$4 | 0) < ($xsize | 0)) : 0) { + $mul865 = (Math_imul($yc$4, $xsize) | 0) + $xc$4 << 2; + $mul873 = ((Math_imul(($j$4 | 0) / ($div185 | 0) | 0, $patt_size) | 0) + (($i$5 | 0) / ($div | 0) | 0) | 0) * 3 | 0; + $arrayidx875 = $call + ($mul873 << 2) | 0; + HEAP32[$arrayidx875 >> 2] = (HEAP32[$arrayidx875 >> 2] | 0) + (HEAPU8[$image + ($mul865 | 1) >> 0] | 0); + $arrayidx889 = $call + ($mul873 + 1 << 2) | 0; + HEAP32[$arrayidx889 >> 2] = (HEAP32[$arrayidx889 >> 2] | 0) + (HEAPU8[$image + ($mul865 | 2) >> 0] | 0); + $arrayidx903 = $call + ($mul873 + 2 << 2) | 0; + HEAP32[$arrayidx903 >> 2] = (HEAP32[$arrayidx903 >> 2] | 0) + (HEAPU8[$image + ($mul865 | 3) >> 0] | 0); + } + $i$5 = $i$5 + 1 | 0; + } + $j$4 = $j$4 + 1 | 0; + } + break; + } + case 5: + case 12: + case 13: + case 14: + { + $add928 = $mul188 + 100.0; + $conv932 = +($ydiv2$3 | 0); + $conv943 = +($spec$select1338 | 0); + $arrayidx947 = $para + 48 | 0; + $arrayidx950 = $para + 56 | 0; + $arrayidx954 = $para + 64 | 0; + $arrayidx964 = $para + 8 | 0; + $arrayidx968 = $para + 16 | 0; + $arrayidx973 = $para + 24 | 0; + $arrayidx976 = $para + 32 | 0; + $arrayidx980 = $para + 40 | 0; + $cmp985 = ($imageProcMode | 0) == 1; + $j$5 = 0; + while (1) { + if (($j$5 | 0) >= ($ydiv2$3 | 0)) break L24; + $add934 = $add928 + $mul189 * (+($j$5 | 0) + .5) / $conv932; + $i$6 = 0; + while (1) { + if (($i$6 | 0) >= ($spec$select1338 | 0)) break; + $add945 = $add928 + $mul189 * (+($i$6 | 0) + .5) / $conv943; + $add955 = +HEAPF64[$arrayidx954 >> 3] + ($add945 * +HEAPF64[$arrayidx947 >> 3] + $add934 * +HEAPF64[$arrayidx950 >> 3]); + if ($add955 == 0.0) { + $387 = $call; + label = 306; + break L19; + } + $conv971 = (+HEAPF64[$arrayidx968 >> 3] + ($add945 * +HEAPF64[$para >> 3] + $add934 * +HEAPF64[$arrayidx964 >> 3])) / $add955; + HEAPF32[$xc2 >> 2] = $conv971; + $conv983 = (+HEAPF64[$arrayidx980 >> 3] + ($add945 * +HEAPF64[$arrayidx973 >> 3] + $add934 * +HEAPF64[$arrayidx976 >> 3])) / $add955; + HEAPF32[$yc2 >> 2] = $conv983; + _arParamIdeal2ObservLTf($paramLTf, $conv971, $conv983, $xc2, $yc2) | 0; + $109 = +HEAPF32[$xc2 >> 2]; + if ($cmp985) { + $xc$5 = ((~~($109 + 1.0) | 0) / 2 | 0) << 1; + $yc$5 = ((~~(+HEAPF32[$yc2 >> 2] + 1.0) | 0) / 2 | 0) << 1; + } else { + $xc$5 = ~~($109 + .5); + $yc$5 = ~~(+HEAPF32[$yc2 >> 2] + .5); + } + if (($xc$5 | 0) > -1 ? ($yc$5 | 0) < ($ysize | 0) & (($yc$5 | 0) > -1 & ($xc$5 | 0) < ($xsize | 0)) : 0) { + $arrayidx1016 = $image + ((Math_imul($yc$5, $xsize) | 0) + $xc$5) | 0; + $conv1017 = HEAPU8[$arrayidx1016 >> 0] | 0; + $mul1022 = ((Math_imul(($j$5 | 0) / ($div185 | 0) | 0, $patt_size) | 0) + (($i$6 | 0) / ($div | 0) | 0) | 0) * 3 | 0; + $arrayidx1024 = $call + ($mul1022 << 2) | 0; + HEAP32[$arrayidx1024 >> 2] = (HEAP32[$arrayidx1024 >> 2] | 0) + $conv1017; + $arrayidx1036 = $call + ($mul1022 + 1 << 2) | 0; + HEAP32[$arrayidx1036 >> 2] = (HEAP32[$arrayidx1036 >> 2] | 0) + $conv1017; + $arrayidx1048 = $call + ($mul1022 + 2 << 2) | 0; + HEAP32[$arrayidx1048 >> 2] = (HEAP32[$arrayidx1048 >> 2] | 0) + $conv1017; + } + $i$6 = $i$6 + 1 | 0; + } + $j$5 = $j$5 + 1 | 0; + } + break; + } + case 6: + { + $add1065 = $mul188 + 100.0; + $conv1069 = +($ydiv2$3 | 0); + $conv1080 = +($spec$select1338 | 0); + $arrayidx1084 = $para + 48 | 0; + $arrayidx1087 = $para + 56 | 0; + $arrayidx1091 = $para + 64 | 0; + $arrayidx1101 = $para + 8 | 0; + $arrayidx1105 = $para + 16 | 0; + $arrayidx1110 = $para + 24 | 0; + $arrayidx1113 = $para + 32 | 0; + $arrayidx1117 = $para + 40 | 0; + $cmp1122 = ($imageProcMode | 0) == 1; + $j$6 = 0; + while (1) { + if (($j$6 | 0) >= ($ydiv2$3 | 0)) break L24; + $add1071 = $add1065 + $mul189 * (+($j$6 | 0) + .5) / $conv1069; + $i$7 = 0; + while (1) { + if (($i$7 | 0) >= ($spec$select1338 | 0)) break; + $add1082 = $add1065 + $mul189 * (+($i$7 | 0) + .5) / $conv1080; + $add1092 = +HEAPF64[$arrayidx1091 >> 3] + ($add1082 * +HEAPF64[$arrayidx1084 >> 3] + $add1071 * +HEAPF64[$arrayidx1087 >> 3]); + if ($add1092 == 0.0) { + $387 = $call; + label = 306; + break L19; + } + $conv1108 = (+HEAPF64[$arrayidx1105 >> 3] + ($add1082 * +HEAPF64[$para >> 3] + $add1071 * +HEAPF64[$arrayidx1101 >> 3])) / $add1092; + HEAPF32[$xc2 >> 2] = $conv1108; + $conv1120 = (+HEAPF64[$arrayidx1117 >> 3] + ($add1082 * +HEAPF64[$arrayidx1110 >> 3] + $add1071 * +HEAPF64[$arrayidx1113 >> 3])) / $add1092; + HEAPF32[$yc2 >> 2] = $conv1120; + _arParamIdeal2ObservLTf($paramLTf, $conv1108, $conv1120, $xc2, $yc2) | 0; + $125 = +HEAPF32[$xc2 >> 2]; + if ($cmp1122) { + $xc$6 = ((~~($125 + 1.0) | 0) / 2 | 0) << 1; + $yc$6 = ((~~(+HEAPF32[$yc2 >> 2] + 1.0) | 0) / 2 | 0) << 1; + } else { + $xc$6 = ~~($125 + .5); + $yc$6 = ~~(+HEAPF32[$yc2 >> 2] + .5); + } + if (($xc$6 | 0) > -1 ? ($yc$6 | 0) < ($ysize | 0) & (($yc$6 | 0) > -1 & ($xc$6 | 0) < ($xsize | 0)) : 0) { + $mul1153 = (Math_imul($yc$6, $xsize) | 0) + $xc$6 << 2; + $mul1161 = ((Math_imul(($j$6 | 0) / ($div185 | 0) | 0, $patt_size) | 0) + (($i$7 | 0) / ($div | 0) | 0) | 0) * 3 | 0; + $arrayidx1163 = $call + ($mul1161 << 2) | 0; + HEAP32[$arrayidx1163 >> 2] = (HEAP32[$arrayidx1163 >> 2] | 0) + (HEAPU8[$image + ($mul1153 | 3) >> 0] | 0); + $arrayidx1177 = $call + ($mul1161 + 1 << 2) | 0; + HEAP32[$arrayidx1177 >> 2] = (HEAP32[$arrayidx1177 >> 2] | 0) + (HEAPU8[$image + ($mul1153 | 2) >> 0] | 0); + $arrayidx1191 = $call + ($mul1161 + 2 << 2) | 0; + HEAP32[$arrayidx1191 >> 2] = (HEAP32[$arrayidx1191 >> 2] | 0) + (HEAPU8[$image + ($mul1153 | 1) >> 0] | 0); + } + $i$7 = $i$7 + 1 | 0; + } + $j$6 = $j$6 + 1 | 0; + } + break; + } + case 7: + { + $add1208 = $mul188 + 100.0; + $conv1212 = +($ydiv2$3 | 0); + $conv1223 = +($spec$select1338 | 0); + $arrayidx1227 = $para + 48 | 0; + $arrayidx1230 = $para + 56 | 0; + $arrayidx1234 = $para + 64 | 0; + $arrayidx1244 = $para + 8 | 0; + $arrayidx1248 = $para + 16 | 0; + $arrayidx1253 = $para + 24 | 0; + $arrayidx1256 = $para + 32 | 0; + $arrayidx1260 = $para + 40 | 0; + $cmp1265 = ($imageProcMode | 0) == 1; + $j$7 = 0; + while (1) { + if (($j$7 | 0) >= ($ydiv2$3 | 0)) break L24; + $add1214 = $add1208 + $mul189 * (+($j$7 | 0) + .5) / $conv1212; + $i$8 = 0; + while (1) { + if (($i$8 | 0) >= ($spec$select1338 | 0)) break; + $add1225 = $add1208 + $mul189 * (+($i$8 | 0) + .5) / $conv1223; + $add1235 = +HEAPF64[$arrayidx1234 >> 3] + ($add1225 * +HEAPF64[$arrayidx1227 >> 3] + $add1214 * +HEAPF64[$arrayidx1230 >> 3]); + if ($add1235 == 0.0) { + $387 = $call; + label = 306; + break L19; + } + $conv1251 = (+HEAPF64[$arrayidx1248 >> 3] + ($add1225 * +HEAPF64[$para >> 3] + $add1214 * +HEAPF64[$arrayidx1244 >> 3])) / $add1235; + HEAPF32[$xc2 >> 2] = $conv1251; + $conv1263 = (+HEAPF64[$arrayidx1260 >> 3] + ($add1225 * +HEAPF64[$arrayidx1253 >> 3] + $add1214 * +HEAPF64[$arrayidx1256 >> 3])) / $add1235; + HEAPF32[$yc2 >> 2] = $conv1263; + _arParamIdeal2ObservLTf($paramLTf, $conv1251, $conv1263, $xc2, $yc2) | 0; + $143 = +HEAPF32[$xc2 >> 2]; + if ($cmp1265) { + $xc$7 = ((~~($143 + 1.0) | 0) / 2 | 0) << 1; + $yc$7 = ((~~(+HEAPF32[$yc2 >> 2] + 1.0) | 0) / 2 | 0) << 1; + } else { + $xc$7 = ~~($143 + .5); + $yc$7 = ~~(+HEAPF32[$yc2 >> 2] + .5); + } + if (($xc$7 | 0) > -1 ? ($yc$7 | 0) < ($ysize | 0) & (($yc$7 | 0) > -1 & ($xc$7 | 0) < ($xsize | 0)) : 0) { + $mul1294 = Math_imul($yc$7, $xsize) | 0; + $mul1296 = ($xc$7 & 65534) + $mul1294 << 1; + $conv1301 = +((HEAPU8[$image + $mul1296 >> 0] | 0) + -128 | 0); + $conv1318 = +((HEAPU8[$image + ($mul1296 + 2) >> 0] | 0) + -128 | 0); + $mul1319 = +((HEAPU8[$image + ($mul1294 + $xc$7 << 1 | 1) >> 0] | 0) + -16 | 0) * 298.0820007324219; + $shr = ~~($conv1301 * 516.4110107421875 + $mul1319) >> 8; + $shr1329 = ~~($mul1319 - $conv1301 * 100.29100036621094 - $conv1318 * 208.1199951171875) >> 8; + $shr1334 = ~~($mul1319 + $conv1318 * 408.5830078125) >> 8; + $cond = ($shr | 0) > 0 ? $shr : 0; + $mul1353 = ((Math_imul(($j$7 | 0) / ($div185 | 0) | 0, $patt_size) | 0) + (($i$8 | 0) / ($div | 0) | 0) | 0) * 3 | 0; + $arrayidx1355 = $call + ($mul1353 << 2) | 0; + HEAP32[$arrayidx1355 >> 2] = (($cond | 0) < 255 ? $cond : 255) + (HEAP32[$arrayidx1355 >> 2] | 0); + $cond1362 = ($shr1329 | 0) > 0 ? $shr1329 : 0; + $arrayidx1381 = $call + ($mul1353 + 1 << 2) | 0; + HEAP32[$arrayidx1381 >> 2] = (($cond1362 | 0) < 255 ? $cond1362 : 255) + (HEAP32[$arrayidx1381 >> 2] | 0); + $cond1388 = ($shr1334 | 0) > 0 ? $shr1334 : 0; + $arrayidx1407 = $call + ($mul1353 + 2 << 2) | 0; + HEAP32[$arrayidx1407 >> 2] = (($cond1388 | 0) < 255 ? $cond1388 : 255) + (HEAP32[$arrayidx1407 >> 2] | 0); + } + $i$8 = $i$8 + 1 | 0; + } + $j$7 = $j$7 + 1 | 0; + } + break; + } + case 8: + { + $add1424 = $mul188 + 100.0; + $conv1428 = +($ydiv2$3 | 0); + $conv1439 = +($spec$select1338 | 0); + $arrayidx1443 = $para + 48 | 0; + $arrayidx1446 = $para + 56 | 0; + $arrayidx1450 = $para + 64 | 0; + $arrayidx1460 = $para + 8 | 0; + $arrayidx1464 = $para + 16 | 0; + $arrayidx1469 = $para + 24 | 0; + $arrayidx1472 = $para + 32 | 0; + $arrayidx1476 = $para + 40 | 0; + $cmp1481 = ($imageProcMode | 0) == 1; + $j$8 = 0; + while (1) { + if (($j$8 | 0) >= ($ydiv2$3 | 0)) break L24; + $add1430 = $add1424 + $mul189 * (+($j$8 | 0) + .5) / $conv1428; + $i$9 = 0; + while (1) { + if (($i$9 | 0) >= ($spec$select1338 | 0)) break; + $add1441 = $add1424 + $mul189 * (+($i$9 | 0) + .5) / $conv1439; + $add1451 = +HEAPF64[$arrayidx1450 >> 3] + ($add1441 * +HEAPF64[$arrayidx1443 >> 3] + $add1430 * +HEAPF64[$arrayidx1446 >> 3]); + if ($add1451 == 0.0) { + $387 = $call; + label = 306; + break L19; + } + $conv1467 = (+HEAPF64[$arrayidx1464 >> 3] + ($add1441 * +HEAPF64[$para >> 3] + $add1430 * +HEAPF64[$arrayidx1460 >> 3])) / $add1451; + HEAPF32[$xc2 >> 2] = $conv1467; + $conv1479 = (+HEAPF64[$arrayidx1476 >> 3] + ($add1441 * +HEAPF64[$arrayidx1469 >> 3] + $add1430 * +HEAPF64[$arrayidx1472 >> 3])) / $add1451; + HEAPF32[$yc2 >> 2] = $conv1479; + _arParamIdeal2ObservLTf($paramLTf, $conv1467, $conv1479, $xc2, $yc2) | 0; + $161 = +HEAPF32[$xc2 >> 2]; + if ($cmp1481) { + $xc$8 = ((~~($161 + 1.0) | 0) / 2 | 0) << 1; + $yc$8 = ((~~(+HEAPF32[$yc2 >> 2] + 1.0) | 0) / 2 | 0) << 1; + } else { + $xc$8 = ~~($161 + .5); + $yc$8 = ~~(+HEAPF32[$yc2 >> 2] + .5); + } + if (($xc$8 | 0) > -1 ? ($yc$8 | 0) < ($ysize | 0) & (($yc$8 | 0) > -1 & ($xc$8 | 0) < ($xsize | 0)) : 0) { + $mul1511 = Math_imul($yc$8, $xsize) | 0; + $mul1523 = ($xc$8 & 65534) + $mul1511 << 1; + $conv1528 = +((HEAPU8[$image + ($mul1523 | 1) >> 0] | 0) + -128 | 0); + $conv1538 = +((HEAPU8[$image + ($mul1523 + 3) >> 0] | 0) + -128 | 0); + $mul1540 = +((HEAPU8[$image + ($mul1511 + $xc$8 << 1) >> 0] | 0) + -16 | 0) * 298.0820007324219; + $shr1544 = ~~($mul1540 + $conv1528 * 516.4110107421875) >> 8; + $shr1552 = ~~($mul1540 - $conv1528 * 100.29100036621094 - $conv1538 * 208.1199951171875) >> 8; + $shr1558 = ~~($mul1540 + $conv1538 * 408.5830078125) >> 8; + $cond1564 = ($shr1544 | 0) > 0 ? $shr1544 : 0; + $mul1581 = ((Math_imul(($j$8 | 0) / ($div185 | 0) | 0, $patt_size) | 0) + (($i$9 | 0) / ($div | 0) | 0) | 0) * 3 | 0; + $arrayidx1583 = $call + ($mul1581 << 2) | 0; + HEAP32[$arrayidx1583 >> 2] = (($cond1564 | 0) < 255 ? $cond1564 : 255) + (HEAP32[$arrayidx1583 >> 2] | 0); + $cond1590 = ($shr1552 | 0) > 0 ? $shr1552 : 0; + $arrayidx1609 = $call + ($mul1581 + 1 << 2) | 0; + HEAP32[$arrayidx1609 >> 2] = (($cond1590 | 0) < 255 ? $cond1590 : 255) + (HEAP32[$arrayidx1609 >> 2] | 0); + $cond1616 = ($shr1558 | 0) > 0 ? $shr1558 : 0; + $arrayidx1635 = $call + ($mul1581 + 2 << 2) | 0; + HEAP32[$arrayidx1635 >> 2] = (($cond1616 | 0) < 255 ? $cond1616 : 255) + (HEAP32[$arrayidx1635 >> 2] | 0); + } + $i$9 = $i$9 + 1 | 0; + } + $j$8 = $j$8 + 1 | 0; + } + break; + } + case 9: + { + $add1652 = $mul188 + 100.0; + $conv1656 = +($ydiv2$3 | 0); + $conv1667 = +($spec$select1338 | 0); + $arrayidx1671 = $para + 48 | 0; + $arrayidx1674 = $para + 56 | 0; + $arrayidx1678 = $para + 64 | 0; + $arrayidx1688 = $para + 8 | 0; + $arrayidx1692 = $para + 16 | 0; + $arrayidx1697 = $para + 24 | 0; + $arrayidx1700 = $para + 32 | 0; + $arrayidx1704 = $para + 40 | 0; + $cmp1709 = ($imageProcMode | 0) == 1; + $j$9 = 0; + while (1) { + if (($j$9 | 0) >= ($ydiv2$3 | 0)) break L24; + $add1658 = $add1652 + $mul189 * (+($j$9 | 0) + .5) / $conv1656; + $i$10 = 0; + while (1) { + if (($i$10 | 0) >= ($spec$select1338 | 0)) break; + $add1669 = $add1652 + $mul189 * (+($i$10 | 0) + .5) / $conv1667; + $add1679 = +HEAPF64[$arrayidx1678 >> 3] + ($add1669 * +HEAPF64[$arrayidx1671 >> 3] + $add1658 * +HEAPF64[$arrayidx1674 >> 3]); + if ($add1679 == 0.0) { + $387 = $call; + label = 306; + break L19; + } + $conv1695 = (+HEAPF64[$arrayidx1692 >> 3] + ($add1669 * +HEAPF64[$para >> 3] + $add1658 * +HEAPF64[$arrayidx1688 >> 3])) / $add1679; + HEAPF32[$xc2 >> 2] = $conv1695; + $conv1707 = (+HEAPF64[$arrayidx1704 >> 3] + ($add1669 * +HEAPF64[$arrayidx1697 >> 3] + $add1658 * +HEAPF64[$arrayidx1700 >> 3])) / $add1679; + HEAPF32[$yc2 >> 2] = $conv1707; + _arParamIdeal2ObservLTf($paramLTf, $conv1695, $conv1707, $xc2, $yc2) | 0; + $179 = +HEAPF32[$xc2 >> 2]; + if ($cmp1709) { + $xc$9 = ((~~($179 + 1.0) | 0) / 2 | 0) << 1; + $yc$9 = ((~~(+HEAPF32[$yc2 >> 2] + 1.0) | 0) / 2 | 0) << 1; + } else { + $xc$9 = ~~($179 + .5); + $yc$9 = ~~(+HEAPF32[$yc2 >> 2] + .5); + } + if (($xc$9 | 0) > -1 ? ($yc$9 | 0) < ($ysize | 0) & (($yc$9 | 0) > -1 & ($xc$9 | 0) < ($xsize | 0)) : 0) { + $mul1740 = (Math_imul($yc$9, $xsize) | 0) + $xc$9 << 1; + $182 = HEAP8[$image + ($mul1740 | 1) >> 0] | 0; + $mul1750 = ((Math_imul(($j$9 | 0) / ($div185 | 0) | 0, $patt_size) | 0) + (($i$10 | 0) / ($div | 0) | 0) | 0) * 3 | 0; + $arrayidx1752 = $call + ($mul1750 << 2) | 0; + HEAP32[$arrayidx1752 >> 2] = (HEAP32[$arrayidx1752 >> 2] | 0) + (($182 << 3 & 255 | 4) & 255); + $186 = HEAP8[$image + $mul1740 >> 0] | 0; + $arrayidx1778 = $call + ($mul1750 + 1 << 2) | 0; + HEAP32[$arrayidx1778 >> 2] = (($182 & -32 & 255) >>> 3 | $186 << 5 & 255 | 2) + (HEAP32[$arrayidx1778 >> 2] | 0); + $arrayidx1794 = $call + ($mul1750 + 2 << 2) | 0; + HEAP32[$arrayidx1794 >> 2] = (HEAP32[$arrayidx1794 >> 2] | 0) + (($186 & -8 | 4) & 255); + } + $i$10 = $i$10 + 1 | 0; + } + $j$9 = $j$9 + 1 | 0; + } + break; + } + case 10: + { + $add1811 = $mul188 + 100.0; + $conv1815 = +($ydiv2$3 | 0); + $conv1826 = +($spec$select1338 | 0); + $arrayidx1830 = $para + 48 | 0; + $arrayidx1833 = $para + 56 | 0; + $arrayidx1837 = $para + 64 | 0; + $arrayidx1847 = $para + 8 | 0; + $arrayidx1851 = $para + 16 | 0; + $arrayidx1856 = $para + 24 | 0; + $arrayidx1859 = $para + 32 | 0; + $arrayidx1863 = $para + 40 | 0; + $cmp1868 = ($imageProcMode | 0) == 1; + $j$10 = 0; + while (1) { + if (($j$10 | 0) >= ($ydiv2$3 | 0)) break L24; + $add1817 = $add1811 + $mul189 * (+($j$10 | 0) + .5) / $conv1815; + $i$11 = 0; + while (1) { + if (($i$11 | 0) >= ($spec$select1338 | 0)) break; + $add1828 = $add1811 + $mul189 * (+($i$11 | 0) + .5) / $conv1826; + $add1838 = +HEAPF64[$arrayidx1837 >> 3] + ($add1828 * +HEAPF64[$arrayidx1830 >> 3] + $add1817 * +HEAPF64[$arrayidx1833 >> 3]); + if ($add1838 == 0.0) { + $387 = $call; + label = 306; + break L19; + } + $conv1854 = (+HEAPF64[$arrayidx1851 >> 3] + ($add1828 * +HEAPF64[$para >> 3] + $add1817 * +HEAPF64[$arrayidx1847 >> 3])) / $add1838; + HEAPF32[$xc2 >> 2] = $conv1854; + $conv1866 = (+HEAPF64[$arrayidx1863 >> 3] + ($add1828 * +HEAPF64[$arrayidx1856 >> 3] + $add1817 * +HEAPF64[$arrayidx1859 >> 3])) / $add1838; + HEAPF32[$yc2 >> 2] = $conv1866; + _arParamIdeal2ObservLTf($paramLTf, $conv1854, $conv1866, $xc2, $yc2) | 0; + $203 = +HEAPF32[$xc2 >> 2]; + if ($cmp1868) { + $xc$10 = ((~~($203 + 1.0) | 0) / 2 | 0) << 1; + $yc$10 = ((~~(+HEAPF32[$yc2 >> 2] + 1.0) | 0) / 2 | 0) << 1; + } else { + $xc$10 = ~~($203 + .5); + $yc$10 = ~~(+HEAPF32[$yc2 >> 2] + .5); + } + if (($xc$10 | 0) > -1 ? ($yc$10 | 0) < ($ysize | 0) & (($yc$10 | 0) > -1 & ($xc$10 | 0) < ($xsize | 0)) : 0) { + $mul1899 = (Math_imul($yc$10, $xsize) | 0) + $xc$10 << 1; + $206 = HEAP8[$image + ($mul1899 | 1) >> 0] | 0; + $mul1910 = ((Math_imul(($j$10 | 0) / ($div185 | 0) | 0, $patt_size) | 0) + (($i$11 | 0) / ($div | 0) | 0) | 0) * 3 | 0; + $arrayidx1912 = $call + ($mul1910 << 2) | 0; + HEAP32[$arrayidx1912 >> 2] = (HEAP32[$arrayidx1912 >> 2] | 0) + (($206 << 2 & 255 | 4) & 255); + $210 = HEAP8[$image + $mul1899 >> 0] | 0; + $arrayidx1938 = $call + ($mul1910 + 1 << 2) | 0; + HEAP32[$arrayidx1938 >> 2] = (($206 & -64 & 255) >>> 3 | $210 << 5 & 255 | 4) + (HEAP32[$arrayidx1938 >> 2] | 0); + $arrayidx1954 = $call + ($mul1910 + 2 << 2) | 0; + HEAP32[$arrayidx1954 >> 2] = (HEAP32[$arrayidx1954 >> 2] | 0) + (($210 & -8 | 4) & 255); + } + $i$11 = $i$11 + 1 | 0; + } + $j$10 = $j$10 + 1 | 0; + } + break; + } + case 11: + { + $add1971 = $mul188 + 100.0; + $conv1975 = +($ydiv2$3 | 0); + $conv1986 = +($spec$select1338 | 0); + $arrayidx1990 = $para + 48 | 0; + $arrayidx1993 = $para + 56 | 0; + $arrayidx1997 = $para + 64 | 0; + $arrayidx2007 = $para + 8 | 0; + $arrayidx2011 = $para + 16 | 0; + $arrayidx2016 = $para + 24 | 0; + $arrayidx2019 = $para + 32 | 0; + $arrayidx2023 = $para + 40 | 0; + $cmp2028 = ($imageProcMode | 0) == 1; + $j$11 = 0; + while (1) { + if (($j$11 | 0) >= ($ydiv2$3 | 0)) break L24; + $add1977 = $add1971 + $mul189 * (+($j$11 | 0) + .5) / $conv1975; + $i$12 = 0; + while (1) { + if (($i$12 | 0) >= ($spec$select1338 | 0)) break; + $add1988 = $add1971 + $mul189 * (+($i$12 | 0) + .5) / $conv1986; + $add1998 = +HEAPF64[$arrayidx1997 >> 3] + ($add1988 * +HEAPF64[$arrayidx1990 >> 3] + $add1977 * +HEAPF64[$arrayidx1993 >> 3]); + if ($add1998 == 0.0) { + $387 = $call; + label = 306; + break L19; + } + $conv2014 = (+HEAPF64[$arrayidx2011 >> 3] + ($add1988 * +HEAPF64[$para >> 3] + $add1977 * +HEAPF64[$arrayidx2007 >> 3])) / $add1998; + HEAPF32[$xc2 >> 2] = $conv2014; + $conv2026 = (+HEAPF64[$arrayidx2023 >> 3] + ($add1988 * +HEAPF64[$arrayidx2016 >> 3] + $add1977 * +HEAPF64[$arrayidx2019 >> 3])) / $add1998; + HEAPF32[$yc2 >> 2] = $conv2026; + _arParamIdeal2ObservLTf($paramLTf, $conv2014, $conv2026, $xc2, $yc2) | 0; + $227 = +HEAPF32[$xc2 >> 2]; + if ($cmp2028) { + $xc$11 = ((~~($227 + 1.0) | 0) / 2 | 0) << 1; + $yc$11 = ((~~(+HEAPF32[$yc2 >> 2] + 1.0) | 0) / 2 | 0) << 1; + } else { + $xc$11 = ~~($227 + .5); + $yc$11 = ~~(+HEAPF32[$yc2 >> 2] + .5); + } + if (($xc$11 | 0) > -1 ? ($yc$11 | 0) < ($ysize | 0) & (($yc$11 | 0) > -1 & ($xc$11 | 0) < ($xsize | 0)) : 0) { + $mul2059 = (Math_imul($yc$11, $xsize) | 0) + $xc$11 << 1; + $mul2069 = ((Math_imul(($j$11 | 0) / ($div185 | 0) | 0, $patt_size) | 0) + (($i$12 | 0) / ($div | 0) | 0) | 0) * 3 | 0; + $arrayidx2071 = $call + ($mul2069 << 2) | 0; + HEAP32[$arrayidx2071 >> 2] = (HEAP32[$arrayidx2071 >> 2] | 0) + ((HEAP8[$image + ($mul2059 | 1) >> 0] & -16 | 8) & 255); + $234 = HEAP8[$image + $mul2059 >> 0] | 0; + $arrayidx2088 = $call + ($mul2069 + 1 << 2) | 0; + HEAP32[$arrayidx2088 >> 2] = (HEAP32[$arrayidx2088 >> 2] | 0) + (($234 << 4 & 255 | 8) & 255); + $arrayidx2104 = $call + ($mul2069 + 2 << 2) | 0; + HEAP32[$arrayidx2104 >> 2] = (HEAP32[$arrayidx2104 >> 2] | 0) + (($234 & -16 | 8) & 255); + } + $i$12 = $i$12 + 1 | 0; + } + $j$11 = $j$11 + 1 | 0; + } + break; + } + default: + { + _arLog(0, 3, 24238, $vararg_buffer1); + $387 = $call; + label = 306; + break L19; + } + } while (0); + $mul2133 = Math_imul($div185, $div) | 0; + $i$13 = 0; + while (1) { + if (($i$13 | 0) == ($mul194 | 0)) break; + HEAP8[$ext_patt + $i$13 >> 0] = ((HEAP32[$call + ($i$13 << 2) >> 2] | 0) >>> 0) / ($mul2133 >>> 0) | 0; + $i$13 = $i$13 + 1 | 0; + } + _free($call); + $retval$0 = 0; + } else { + $call2142 = _calloc($mul193, 4) | 0; + if (!$call2142) { + _arLog(0, 3, 46772, $vararg_buffer3); + _exit(1); + } + L239 : do if ($pixelFormat >>> 0 < 2) { + $add2157 = $mul188 + 100.0; + $conv2161 = +($ydiv2$3 | 0); + $conv2172 = +($spec$select1338 | 0); + $arrayidx2176 = $para + 48 | 0; + $arrayidx2179 = $para + 56 | 0; + $arrayidx2183 = $para + 64 | 0; + $arrayidx2193 = $para + 8 | 0; + $arrayidx2197 = $para + 16 | 0; + $arrayidx2202 = $para + 24 | 0; + $arrayidx2205 = $para + 32 | 0; + $arrayidx2209 = $para + 40 | 0; + $cmp2214 = ($imageProcMode | 0) == 1; + $j$12 = 0; + while (1) { + if (($j$12 | 0) >= ($ydiv2$3 | 0)) break L239; + $add2163 = $add2157 + $mul189 * (+($j$12 | 0) + .5) / $conv2161; + $i$14 = 0; + while (1) { + if (($i$14 | 0) >= ($spec$select1338 | 0)) break; + $add2174 = $add2157 + $mul189 * (+($i$14 | 0) + .5) / $conv2172; + $add2184 = +HEAPF64[$arrayidx2183 >> 3] + ($add2174 * +HEAPF64[$arrayidx2176 >> 3] + $add2163 * +HEAPF64[$arrayidx2179 >> 3]); + if ($add2184 == 0.0) { + $387 = $call2142; + label = 306; + break L19; + } + $conv2200 = (+HEAPF64[$arrayidx2197 >> 3] + ($add2174 * +HEAPF64[$para >> 3] + $add2163 * +HEAPF64[$arrayidx2193 >> 3])) / $add2184; + HEAPF32[$xc2 >> 2] = $conv2200; + $conv2212 = (+HEAPF64[$arrayidx2209 >> 3] + ($add2174 * +HEAPF64[$arrayidx2202 >> 3] + $add2163 * +HEAPF64[$arrayidx2205 >> 3])) / $add2184; + HEAPF32[$yc2 >> 2] = $conv2212; + _arParamIdeal2ObservLTf($paramLTf, $conv2200, $conv2212, $xc2, $yc2) | 0; + $252 = +HEAPF32[$xc2 >> 2]; + if ($cmp2214) { + $xc$12 = ((~~($252 + 1.0) | 0) / 2 | 0) << 1; + $yc$12 = ((~~(+HEAPF32[$yc2 >> 2] + 1.0) | 0) / 2 | 0) << 1; + } else { + $xc$12 = ~~($252 + .5); + $yc$12 = ~~(+HEAPF32[$yc2 >> 2] + .5); + } + if (($xc$12 | 0) > -1 ? ($yc$12 | 0) < ($ysize | 0) & (($yc$12 | 0) > -1 & ($xc$12 | 0) < ($xsize | 0)) : 0) { + $mul2245 = ((Math_imul($yc$12, $xsize) | 0) + $xc$12 | 0) * 3 | 0; + $arrayidx2268 = $call2142 + ((Math_imul(($j$12 | 0) / ($div185 | 0) | 0, $patt_size) | 0) + (($i$14 | 0) / ($div | 0) | 0) << 2) | 0; + HEAP32[$arrayidx2268 >> 2] = (HEAP32[$arrayidx2268 >> 2] | 0) + ((((HEAPU8[$image + ($mul2245 + 1) >> 0] | 0) + (HEAPU8[$image + $mul2245 >> 0] | 0) + (HEAPU8[$image + ($mul2245 + 2) >> 0] | 0) | 0) >>> 0) / 3 | 0); + } + $i$14 = $i$14 + 1 | 0; + } + $j$12 = $j$12 + 1 | 0; + } + } else { + if (($pixelFormat | 1 | 0) == 3) { + $add2288 = $mul188 + 100.0; + $conv2292 = +($ydiv2$3 | 0); + $conv2303 = +($spec$select1338 | 0); + $arrayidx2307 = $para + 48 | 0; + $arrayidx2310 = $para + 56 | 0; + $arrayidx2314 = $para + 64 | 0; + $arrayidx2324 = $para + 8 | 0; + $arrayidx2328 = $para + 16 | 0; + $arrayidx2333 = $para + 24 | 0; + $arrayidx2336 = $para + 32 | 0; + $arrayidx2340 = $para + 40 | 0; + $cmp2345 = ($imageProcMode | 0) == 1; + $j$13 = 0; + while (1) { + if (($j$13 | 0) >= ($ydiv2$3 | 0)) break L239; + $add2294 = $add2288 + $mul189 * (+($j$13 | 0) + .5) / $conv2292; + $i$15 = 0; + while (1) { + if (($i$15 | 0) >= ($spec$select1338 | 0)) break; + $add2305 = $add2288 + $mul189 * (+($i$15 | 0) + .5) / $conv2303; + $add2315 = +HEAPF64[$arrayidx2314 >> 3] + ($add2305 * +HEAPF64[$arrayidx2307 >> 3] + $add2294 * +HEAPF64[$arrayidx2310 >> 3]); + if ($add2315 == 0.0) { + $387 = $call2142; + label = 306; + break L19; + } + $conv2331 = (+HEAPF64[$arrayidx2328 >> 3] + ($add2305 * +HEAPF64[$para >> 3] + $add2294 * +HEAPF64[$arrayidx2324 >> 3])) / $add2315; + HEAPF32[$xc2 >> 2] = $conv2331; + $conv2343 = (+HEAPF64[$arrayidx2340 >> 3] + ($add2305 * +HEAPF64[$arrayidx2333 >> 3] + $add2294 * +HEAPF64[$arrayidx2336 >> 3])) / $add2315; + HEAPF32[$yc2 >> 2] = $conv2343; + _arParamIdeal2ObservLTf($paramLTf, $conv2331, $conv2343, $xc2, $yc2) | 0; + $270 = +HEAPF32[$xc2 >> 2]; + if ($cmp2345) { + $xc$13 = ((~~($270 + 1.0) | 0) / 2 | 0) << 1; + $yc$13 = ((~~(+HEAPF32[$yc2 >> 2] + 1.0) | 0) / 2 | 0) << 1; + } else { + $xc$13 = ~~($270 + .5); + $yc$13 = ~~(+HEAPF32[$yc2 >> 2] + .5); + } + if (($xc$13 | 0) > -1 ? ($yc$13 | 0) < ($ysize | 0) & (($yc$13 | 0) > -1 & ($xc$13 | 0) < ($xsize | 0)) : 0) { + $mul2376 = (Math_imul($yc$13, $xsize) | 0) + $xc$13 << 2; + $arrayidx2399 = $call2142 + ((Math_imul(($j$13 | 0) / ($div185 | 0) | 0, $patt_size) | 0) + (($i$15 | 0) / ($div | 0) | 0) << 2) | 0; + HEAP32[$arrayidx2399 >> 2] = (HEAP32[$arrayidx2399 >> 2] | 0) + ((((HEAPU8[$image + ($mul2376 | 1) >> 0] | 0) + (HEAPU8[$image + $mul2376 >> 0] | 0) + (HEAPU8[$image + ($mul2376 | 2) >> 0] | 0) | 0) >>> 0) / 3 | 0); + } + $i$15 = $i$15 + 1 | 0; + } + $j$13 = $j$13 + 1 | 0; + } + } + if (($pixelFormat | 2 | 0) == 6) { + $add2419 = $mul188 + 100.0; + $conv2423 = +($ydiv2$3 | 0); + $conv2434 = +($spec$select1338 | 0); + $arrayidx2438 = $para + 48 | 0; + $arrayidx2441 = $para + 56 | 0; + $arrayidx2445 = $para + 64 | 0; + $arrayidx2455 = $para + 8 | 0; + $arrayidx2459 = $para + 16 | 0; + $arrayidx2464 = $para + 24 | 0; + $arrayidx2467 = $para + 32 | 0; + $arrayidx2471 = $para + 40 | 0; + $cmp2476 = ($imageProcMode | 0) == 1; + $j$14 = 0; + while (1) { + if (($j$14 | 0) >= ($ydiv2$3 | 0)) break L239; + $add2425 = $add2419 + $mul189 * (+($j$14 | 0) + .5) / $conv2423; + $i$16 = 0; + while (1) { + if (($i$16 | 0) >= ($spec$select1338 | 0)) break; + $add2436 = $add2419 + $mul189 * (+($i$16 | 0) + .5) / $conv2434; + $add2446 = +HEAPF64[$arrayidx2445 >> 3] + ($add2436 * +HEAPF64[$arrayidx2438 >> 3] + $add2425 * +HEAPF64[$arrayidx2441 >> 3]); + if ($add2446 == 0.0) { + $387 = $call2142; + label = 306; + break L19; + } + $conv2462 = (+HEAPF64[$arrayidx2459 >> 3] + ($add2436 * +HEAPF64[$para >> 3] + $add2425 * +HEAPF64[$arrayidx2455 >> 3])) / $add2446; + HEAPF32[$xc2 >> 2] = $conv2462; + $conv2474 = (+HEAPF64[$arrayidx2471 >> 3] + ($add2436 * +HEAPF64[$arrayidx2464 >> 3] + $add2425 * +HEAPF64[$arrayidx2467 >> 3])) / $add2446; + HEAPF32[$yc2 >> 2] = $conv2474; + _arParamIdeal2ObservLTf($paramLTf, $conv2462, $conv2474, $xc2, $yc2) | 0; + $288 = +HEAPF32[$xc2 >> 2]; + if ($cmp2476) { + $xc$14 = ((~~($288 + 1.0) | 0) / 2 | 0) << 1; + $yc$14 = ((~~(+HEAPF32[$yc2 >> 2] + 1.0) | 0) / 2 | 0) << 1; + } else { + $xc$14 = ~~($288 + .5); + $yc$14 = ~~(+HEAPF32[$yc2 >> 2] + .5); + } + if (($xc$14 | 0) > -1 ? ($yc$14 | 0) < ($ysize | 0) & (($yc$14 | 0) > -1 & ($xc$14 | 0) < ($xsize | 0)) : 0) { + $mul2507 = (Math_imul($yc$14, $xsize) | 0) + $xc$14 << 2; + $arrayidx2530 = $call2142 + ((Math_imul(($j$14 | 0) / ($div185 | 0) | 0, $patt_size) | 0) + (($i$16 | 0) / ($div | 0) | 0) << 2) | 0; + HEAP32[$arrayidx2530 >> 2] = (HEAP32[$arrayidx2530 >> 2] | 0) + ((((HEAPU8[$image + ($mul2507 | 2) >> 0] | 0) + (HEAPU8[$image + ($mul2507 | 1) >> 0] | 0) + (HEAPU8[$image + ($mul2507 | 3) >> 0] | 0) | 0) >>> 0) / 3 | 0); + } + $i$16 = $i$16 + 1 | 0; + } + $j$14 = $j$14 + 1 | 0; + } + } + switch ($pixelFormat | 0) { + case 5: + case 12: + case 13: + case 14: + { + $add2556 = $mul188 + 100.0; + $conv2560 = +($ydiv2$3 | 0); + $conv2571 = +($spec$select1338 | 0); + $arrayidx2575 = $para + 48 | 0; + $arrayidx2578 = $para + 56 | 0; + $arrayidx2582 = $para + 64 | 0; + $arrayidx2592 = $para + 8 | 0; + $arrayidx2596 = $para + 16 | 0; + $arrayidx2601 = $para + 24 | 0; + $arrayidx2604 = $para + 32 | 0; + $arrayidx2608 = $para + 40 | 0; + $cmp2613 = ($imageProcMode | 0) == 1; + $j$15 = 0; + while (1) { + if (($j$15 | 0) >= ($ydiv2$3 | 0)) break L239; + $add2562 = $add2556 + $mul189 * (+($j$15 | 0) + .5) / $conv2560; + $i$17 = 0; + while (1) { + if (($i$17 | 0) >= ($spec$select1338 | 0)) break; + $add2573 = $add2556 + $mul189 * (+($i$17 | 0) + .5) / $conv2571; + $add2583 = +HEAPF64[$arrayidx2582 >> 3] + ($add2573 * +HEAPF64[$arrayidx2575 >> 3] + $add2562 * +HEAPF64[$arrayidx2578 >> 3]); + if ($add2583 == 0.0) { + $387 = $call2142; + label = 306; + break L19; + } + $conv2599 = (+HEAPF64[$arrayidx2596 >> 3] + ($add2573 * +HEAPF64[$para >> 3] + $add2562 * +HEAPF64[$arrayidx2592 >> 3])) / $add2583; + HEAPF32[$xc2 >> 2] = $conv2599; + $conv2611 = (+HEAPF64[$arrayidx2608 >> 3] + ($add2573 * +HEAPF64[$arrayidx2601 >> 3] + $add2562 * +HEAPF64[$arrayidx2604 >> 3])) / $add2583; + HEAPF32[$yc2 >> 2] = $conv2611; + _arParamIdeal2ObservLTf($paramLTf, $conv2599, $conv2611, $xc2, $yc2) | 0; + $304 = +HEAPF32[$xc2 >> 2]; + if ($cmp2613) { + $xc$15 = ((~~($304 + 1.0) | 0) / 2 | 0) << 1; + $yc$15 = ((~~(+HEAPF32[$yc2 >> 2] + 1.0) | 0) / 2 | 0) << 1; + } else { + $xc$15 = ~~($304 + .5); + $yc$15 = ~~(+HEAPF32[$yc2 >> 2] + .5); + } + if (($xc$15 | 0) > -1 ? ($yc$15 | 0) < ($ysize | 0) & (($yc$15 | 0) > -1 & ($xc$15 | 0) < ($xsize | 0)) : 0) { + $arrayidx2644 = $image + ((Math_imul($yc$15, $xsize) | 0) + $xc$15) | 0; + $arrayidx2650 = $call2142 + ((Math_imul(($j$15 | 0) / ($div185 | 0) | 0, $patt_size) | 0) + (($i$17 | 0) / ($div | 0) | 0) << 2) | 0; + HEAP32[$arrayidx2650 >> 2] = (HEAP32[$arrayidx2650 >> 2] | 0) + (HEAPU8[$arrayidx2644 >> 0] | 0); + } + $i$17 = $i$17 + 1 | 0; + } + $j$15 = $j$15 + 1 | 0; + } + break; + } + case 7: + { + $add2667 = $mul188 + 100.0; + $conv2671 = +($ydiv2$3 | 0); + $conv2682 = +($spec$select1338 | 0); + $arrayidx2686 = $para + 48 | 0; + $arrayidx2689 = $para + 56 | 0; + $arrayidx2693 = $para + 64 | 0; + $arrayidx2703 = $para + 8 | 0; + $arrayidx2707 = $para + 16 | 0; + $arrayidx2712 = $para + 24 | 0; + $arrayidx2715 = $para + 32 | 0; + $arrayidx2719 = $para + 40 | 0; + $cmp2724 = ($imageProcMode | 0) == 1; + $j$16 = 0; + while (1) { + if (($j$16 | 0) >= ($ydiv2$3 | 0)) break L239; + $add2673 = $add2667 + $mul189 * (+($j$16 | 0) + .5) / $conv2671; + $i$18 = 0; + while (1) { + if (($i$18 | 0) >= ($spec$select1338 | 0)) break; + $add2684 = $add2667 + $mul189 * (+($i$18 | 0) + .5) / $conv2682; + $add2694 = +HEAPF64[$arrayidx2693 >> 3] + ($add2684 * +HEAPF64[$arrayidx2686 >> 3] + $add2673 * +HEAPF64[$arrayidx2689 >> 3]); + if ($add2694 == 0.0) { + $387 = $call2142; + label = 306; + break L19; + } + $conv2710 = (+HEAPF64[$arrayidx2707 >> 3] + ($add2684 * +HEAPF64[$para >> 3] + $add2673 * +HEAPF64[$arrayidx2703 >> 3])) / $add2694; + HEAPF32[$xc2 >> 2] = $conv2710; + $conv2722 = (+HEAPF64[$arrayidx2719 >> 3] + ($add2684 * +HEAPF64[$arrayidx2712 >> 3] + $add2673 * +HEAPF64[$arrayidx2715 >> 3])) / $add2694; + HEAPF32[$yc2 >> 2] = $conv2722; + _arParamIdeal2ObservLTf($paramLTf, $conv2710, $conv2722, $xc2, $yc2) | 0; + $318 = +HEAPF32[$xc2 >> 2]; + if ($cmp2724) { + $xc$16 = ((~~($318 + 1.0) | 0) / 2 | 0) << 1; + $yc$16 = ((~~(+HEAPF32[$yc2 >> 2] + 1.0) | 0) / 2 | 0) << 1; + } else { + $xc$16 = ~~($318 + .5); + $yc$16 = ~~(+HEAPF32[$yc2 >> 2] + .5); + } + if (($xc$16 | 0) > -1 ? ($yc$16 | 0) < ($ysize | 0) & (($yc$16 | 0) > -1 & ($xc$16 | 0) < ($xsize | 0)) : 0) { + $arrayidx2757 = $image + ((Math_imul($yc$16, $xsize) | 0) + $xc$16 << 1 | 1) | 0; + $arrayidx2763 = $call2142 + ((Math_imul(($j$16 | 0) / ($div185 | 0) | 0, $patt_size) | 0) + (($i$18 | 0) / ($div | 0) | 0) << 2) | 0; + HEAP32[$arrayidx2763 >> 2] = (HEAP32[$arrayidx2763 >> 2] | 0) + (HEAPU8[$arrayidx2757 >> 0] | 0); + } + $i$18 = $i$18 + 1 | 0; + } + $j$16 = $j$16 + 1 | 0; + } + break; + } + case 8: + { + $add2780 = $mul188 + 100.0; + $conv2784 = +($ydiv2$3 | 0); + $conv2795 = +($spec$select1338 | 0); + $arrayidx2799 = $para + 48 | 0; + $arrayidx2802 = $para + 56 | 0; + $arrayidx2806 = $para + 64 | 0; + $arrayidx2816 = $para + 8 | 0; + $arrayidx2820 = $para + 16 | 0; + $arrayidx2825 = $para + 24 | 0; + $arrayidx2828 = $para + 32 | 0; + $arrayidx2832 = $para + 40 | 0; + $cmp2837 = ($imageProcMode | 0) == 1; + $j$17 = 0; + while (1) { + if (($j$17 | 0) >= ($ydiv2$3 | 0)) break L239; + $add2786 = $add2780 + $mul189 * (+($j$17 | 0) + .5) / $conv2784; + $i$19 = 0; + while (1) { + if (($i$19 | 0) >= ($spec$select1338 | 0)) break; + $add2797 = $add2780 + $mul189 * (+($i$19 | 0) + .5) / $conv2795; + $add2807 = +HEAPF64[$arrayidx2806 >> 3] + ($add2797 * +HEAPF64[$arrayidx2799 >> 3] + $add2786 * +HEAPF64[$arrayidx2802 >> 3]); + if ($add2807 == 0.0) { + $387 = $call2142; + label = 306; + break L19; + } + $conv2823 = (+HEAPF64[$arrayidx2820 >> 3] + ($add2797 * +HEAPF64[$para >> 3] + $add2786 * +HEAPF64[$arrayidx2816 >> 3])) / $add2807; + HEAPF32[$xc2 >> 2] = $conv2823; + $conv2835 = (+HEAPF64[$arrayidx2832 >> 3] + ($add2797 * +HEAPF64[$arrayidx2825 >> 3] + $add2786 * +HEAPF64[$arrayidx2828 >> 3])) / $add2807; + HEAPF32[$yc2 >> 2] = $conv2835; + _arParamIdeal2ObservLTf($paramLTf, $conv2823, $conv2835, $xc2, $yc2) | 0; + $332 = +HEAPF32[$xc2 >> 2]; + if ($cmp2837) { + $xc$17 = ((~~($332 + 1.0) | 0) / 2 | 0) << 1; + $yc$17 = ((~~(+HEAPF32[$yc2 >> 2] + 1.0) | 0) / 2 | 0) << 1; + } else { + $xc$17 = ~~($332 + .5); + $yc$17 = ~~(+HEAPF32[$yc2 >> 2] + .5); + } + if (($xc$17 | 0) > -1 ? ($yc$17 | 0) < ($ysize | 0) & (($yc$17 | 0) > -1 & ($xc$17 | 0) < ($xsize | 0)) : 0) { + $arrayidx2869 = $image + ((Math_imul($yc$17, $xsize) | 0) + $xc$17 << 1) | 0; + $arrayidx2875 = $call2142 + ((Math_imul(($j$17 | 0) / ($div185 | 0) | 0, $patt_size) | 0) + (($i$19 | 0) / ($div | 0) | 0) << 2) | 0; + HEAP32[$arrayidx2875 >> 2] = (HEAP32[$arrayidx2875 >> 2] | 0) + (HEAPU8[$arrayidx2869 >> 0] | 0); + } + $i$19 = $i$19 + 1 | 0; + } + $j$17 = $j$17 + 1 | 0; + } + break; + } + case 9: + { + $add2892 = $mul188 + 100.0; + $conv2896 = +($ydiv2$3 | 0); + $conv2907 = +($spec$select1338 | 0); + $arrayidx2911 = $para + 48 | 0; + $arrayidx2914 = $para + 56 | 0; + $arrayidx2918 = $para + 64 | 0; + $arrayidx2928 = $para + 8 | 0; + $arrayidx2932 = $para + 16 | 0; + $arrayidx2937 = $para + 24 | 0; + $arrayidx2940 = $para + 32 | 0; + $arrayidx2944 = $para + 40 | 0; + $cmp2949 = ($imageProcMode | 0) == 1; + $j$18 = 0; + while (1) { + if (($j$18 | 0) >= ($ydiv2$3 | 0)) break L239; + $add2898 = $add2892 + $mul189 * (+($j$18 | 0) + .5) / $conv2896; + $i$20 = 0; + while (1) { + if (($i$20 | 0) >= ($spec$select1338 | 0)) break; + $add2909 = $add2892 + $mul189 * (+($i$20 | 0) + .5) / $conv2907; + $add2919 = +HEAPF64[$arrayidx2918 >> 3] + ($add2909 * +HEAPF64[$arrayidx2911 >> 3] + $add2898 * +HEAPF64[$arrayidx2914 >> 3]); + if ($add2919 == 0.0) { + $387 = $call2142; + label = 306; + break L19; + } + $conv2935 = (+HEAPF64[$arrayidx2932 >> 3] + ($add2909 * +HEAPF64[$para >> 3] + $add2898 * +HEAPF64[$arrayidx2928 >> 3])) / $add2919; + HEAPF32[$xc2 >> 2] = $conv2935; + $conv2947 = (+HEAPF64[$arrayidx2944 >> 3] + ($add2909 * +HEAPF64[$arrayidx2937 >> 3] + $add2898 * +HEAPF64[$arrayidx2940 >> 3])) / $add2919; + HEAPF32[$yc2 >> 2] = $conv2947; + _arParamIdeal2ObservLTf($paramLTf, $conv2935, $conv2947, $xc2, $yc2) | 0; + $346 = +HEAPF32[$xc2 >> 2]; + if ($cmp2949) { + $xc$18 = ((~~($346 + 1.0) | 0) / 2 | 0) << 1; + $yc$18 = ((~~(+HEAPF32[$yc2 >> 2] + 1.0) | 0) / 2 | 0) << 1; + } else { + $xc$18 = ~~($346 + .5); + $yc$18 = ~~(+HEAPF32[$yc2 >> 2] + .5); + } + if (($xc$18 | 0) > -1 ? ($yc$18 | 0) < ($ysize | 0) & (($yc$18 | 0) > -1 & ($xc$18 | 0) < ($xsize | 0)) : 0) { + $mul2980 = (Math_imul($yc$18, $xsize) | 0) + $xc$18 << 1; + $conv2983 = HEAPU8[$image + $mul2980 >> 0] | 0; + $conv2999 = HEAPU8[$image + ($mul2980 | 1) >> 0] | 0; + $arrayidx3020 = $call2142 + ((Math_imul(($j$18 | 0) / ($div185 | 0) | 0, $patt_size) | 0) + (($i$20 | 0) / ($div | 0) | 0) << 2) | 0; + HEAP32[$arrayidx3020 >> 2] = (((($conv2983 << 5 & 224 | $conv2999 >>> 3 & 28 | 2) + ($conv2983 & 248 | 4) + ($conv2999 << 3 & 248 | 4) | 0) >>> 0) / 3 | 0) + (HEAP32[$arrayidx3020 >> 2] | 0); + } + $i$20 = $i$20 + 1 | 0; + } + $j$18 = $j$18 + 1 | 0; + } + break; + } + case 10: + { + $add3037 = $mul188 + 100.0; + $conv3041 = +($ydiv2$3 | 0); + $conv3052 = +($spec$select1338 | 0); + $arrayidx3056 = $para + 48 | 0; + $arrayidx3059 = $para + 56 | 0; + $arrayidx3063 = $para + 64 | 0; + $arrayidx3073 = $para + 8 | 0; + $arrayidx3077 = $para + 16 | 0; + $arrayidx3082 = $para + 24 | 0; + $arrayidx3085 = $para + 32 | 0; + $arrayidx3089 = $para + 40 | 0; + $cmp3094 = ($imageProcMode | 0) == 1; + $j$19 = 0; + while (1) { + if (($j$19 | 0) >= ($ydiv2$3 | 0)) break L239; + $add3043 = $add3037 + $mul189 * (+($j$19 | 0) + .5) / $conv3041; + $i$21 = 0; + while (1) { + if (($i$21 | 0) >= ($spec$select1338 | 0)) break; + $add3054 = $add3037 + $mul189 * (+($i$21 | 0) + .5) / $conv3052; + $add3064 = +HEAPF64[$arrayidx3063 >> 3] + ($add3054 * +HEAPF64[$arrayidx3056 >> 3] + $add3043 * +HEAPF64[$arrayidx3059 >> 3]); + if ($add3064 == 0.0) { + $387 = $call2142; + label = 306; + break L19; + } + $conv3080 = (+HEAPF64[$arrayidx3077 >> 3] + ($add3054 * +HEAPF64[$para >> 3] + $add3043 * +HEAPF64[$arrayidx3073 >> 3])) / $add3064; + HEAPF32[$xc2 >> 2] = $conv3080; + $conv3092 = (+HEAPF64[$arrayidx3089 >> 3] + ($add3054 * +HEAPF64[$arrayidx3082 >> 3] + $add3043 * +HEAPF64[$arrayidx3085 >> 3])) / $add3064; + HEAPF32[$yc2 >> 2] = $conv3092; + _arParamIdeal2ObservLTf($paramLTf, $conv3080, $conv3092, $xc2, $yc2) | 0; + $362 = +HEAPF32[$xc2 >> 2]; + if ($cmp3094) { + $xc$19 = ((~~($362 + 1.0) | 0) / 2 | 0) << 1; + $yc$19 = ((~~(+HEAPF32[$yc2 >> 2] + 1.0) | 0) / 2 | 0) << 1; + } else { + $xc$19 = ~~($362 + .5); + $yc$19 = ~~(+HEAPF32[$yc2 >> 2] + .5); + } + if (($xc$19 | 0) > -1 ? ($yc$19 | 0) < ($ysize | 0) & (($yc$19 | 0) > -1 & ($xc$19 | 0) < ($xsize | 0)) : 0) { + $mul3125 = (Math_imul($yc$19, $xsize) | 0) + $xc$19 << 1; + $conv3128 = HEAPU8[$image + $mul3125 >> 0] | 0; + $conv3144 = HEAPU8[$image + ($mul3125 | 1) >> 0] | 0; + $arrayidx3165 = $call2142 + ((Math_imul(($j$19 | 0) / ($div185 | 0) | 0, $patt_size) | 0) + (($i$21 | 0) / ($div | 0) | 0) << 2) | 0; + HEAP32[$arrayidx3165 >> 2] = (((($conv3128 << 5 & 224 | $conv3144 >>> 3 & 24 | 4) + ($conv3128 & 248 | 4) + ($conv3144 << 2 & 248 | 4) | 0) >>> 0) / 3 | 0) + (HEAP32[$arrayidx3165 >> 2] | 0); + } + $i$21 = $i$21 + 1 | 0; + } + $j$19 = $j$19 + 1 | 0; + } + break; + } + case 11: + { + $add3182 = $mul188 + 100.0; + $conv3186 = +($ydiv2$3 | 0); + $conv3197 = +($spec$select1338 | 0); + $arrayidx3201 = $para + 48 | 0; + $arrayidx3204 = $para + 56 | 0; + $arrayidx3208 = $para + 64 | 0; + $arrayidx3218 = $para + 8 | 0; + $arrayidx3222 = $para + 16 | 0; + $arrayidx3227 = $para + 24 | 0; + $arrayidx3230 = $para + 32 | 0; + $arrayidx3234 = $para + 40 | 0; + $cmp3239 = ($imageProcMode | 0) == 1; + $j$20 = 0; + while (1) { + if (($j$20 | 0) >= ($ydiv2$3 | 0)) break L239; + $add3188 = $add3182 + $mul189 * (+($j$20 | 0) + .5) / $conv3186; + $i$22 = 0; + while (1) { + if (($i$22 | 0) >= ($spec$select1338 | 0)) break; + $add3199 = $add3182 + $mul189 * (+($i$22 | 0) + .5) / $conv3197; + $add3209 = +HEAPF64[$arrayidx3208 >> 3] + ($add3199 * +HEAPF64[$arrayidx3201 >> 3] + $add3188 * +HEAPF64[$arrayidx3204 >> 3]); + if ($add3209 == 0.0) { + $387 = $call2142; + label = 306; + break L19; + } + $conv3225 = (+HEAPF64[$arrayidx3222 >> 3] + ($add3199 * +HEAPF64[$para >> 3] + $add3188 * +HEAPF64[$arrayidx3218 >> 3])) / $add3209; + HEAPF32[$xc2 >> 2] = $conv3225; + $conv3237 = (+HEAPF64[$arrayidx3234 >> 3] + ($add3199 * +HEAPF64[$arrayidx3227 >> 3] + $add3188 * +HEAPF64[$arrayidx3230 >> 3])) / $add3209; + HEAPF32[$yc2 >> 2] = $conv3237; + _arParamIdeal2ObservLTf($paramLTf, $conv3225, $conv3237, $xc2, $yc2) | 0; + $378 = +HEAPF32[$xc2 >> 2]; + if ($cmp3239) { + $xc$20 = ((~~($378 + 1.0) | 0) / 2 | 0) << 1; + $yc$20 = ((~~(+HEAPF32[$yc2 >> 2] + 1.0) | 0) / 2 | 0) << 1; + } else { + $xc$20 = ~~($378 + .5); + $yc$20 = ~~(+HEAPF32[$yc2 >> 2] + .5); + } + if (($xc$20 | 0) > -1 ? ($yc$20 | 0) < ($ysize | 0) & (($yc$20 | 0) > -1 & ($xc$20 | 0) < ($xsize | 0)) : 0) { + $mul3270 = (Math_imul($yc$20, $xsize) | 0) + $xc$20 << 1; + $conv3273 = HEAPU8[$image + $mul3270 >> 0] | 0; + $arrayidx3300 = $call2142 + ((Math_imul(($j$20 | 0) / ($div185 | 0) | 0, $patt_size) | 0) + (($i$22 | 0) / ($div | 0) | 0) << 2) | 0; + HEAP32[$arrayidx3300 >> 2] = (((($conv3273 << 4 & 240 | 8) + ($conv3273 & 240 | 8) + ((HEAP8[$image + ($mul3270 | 1) >> 0] & -16 | 8) & 255) | 0) >>> 0) / 3 | 0) + (HEAP32[$arrayidx3300 >> 2] | 0); + } + $i$22 = $i$22 + 1 | 0; + } + $j$20 = $j$20 + 1 | 0; + } + break; + } + default: + { + _arLog(0, 3, 24238, $vararg_buffer5); + $387 = $call2142; + label = 306; + break L19; + } + } + } while (0); + $mul3325 = Math_imul($div185, $div) | 0; + $i$23 = 0; + while (1) { + if (($i$23 | 0) == ($mul193 | 0)) break; + HEAP8[$ext_patt + $i$23 >> 0] = ((HEAP32[$call2142 + ($i$23 << 2) >> 2] | 0) >>> 0) / ($mul3325 >>> 0) | 0; + $i$23 = $i$23 + 1 | 0; + } + _free($call2142); + $retval$0 = 0; + } while (0); + if ((label | 0) == 306) { + _free($387); + $retval$0 = -1; + } + STACKTOP = sp; + return $retval$0 | 0; +} +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseExprEv($this) { + $this = $this | 0; + var $0 = 0, $Ex = 0, $Global = 0, $Names = 0, $Names297 = 0, $Names684 = 0, $Names745 = 0, $RHS538 = 0, $agg$tmp = 0, $agg$tmp121 = 0, $agg$tmp127 = 0, $agg$tmp170 = 0, $agg$tmp225 = 0, $agg$tmp231 = 0, $agg$tmp242 = 0, $agg$tmp248 = 0, $agg$tmp254 = 0, $agg$tmp265 = 0, $agg$tmp271 = 0, $agg$tmp30 = 0, $agg$tmp327 = 0, $agg$tmp333 = 0, $agg$tmp339 = 0, $agg$tmp345 = 0, $agg$tmp356 = 0, $agg$tmp36 = 0, $agg$tmp362 = 0, $agg$tmp368 = 0, $agg$tmp374 = 0, $agg$tmp382 = 0, $agg$tmp405 = 0, $agg$tmp411 = 0, $agg$tmp417 = 0, $agg$tmp42 = 0, $agg$tmp442 = 0, $agg$tmp448 = 0, $agg$tmp454 = 0, $agg$tmp465 = 0, $agg$tmp471 = 0, $agg$tmp477 = 0, $agg$tmp48 = 0, $agg$tmp485 = 0, $agg$tmp500 = 0, $agg$tmp54 = 0, $agg$tmp575 = 0, $agg$tmp581 = 0, $agg$tmp587 = 0, $agg$tmp593 = 0, $agg$tmp593$byval_copy = 0, $call100 = 0, $call101 = 0, $call105 = 0, $call108 = 0, $call120 = 0, $call126 = 0, $call142 = 0, $call152 = 0, $call153 = 0, $call159 = 0, $call169 = 0, $call177 = 0, $call190 = 0, $call191 = 0, $call196 = 0, $call207 = 0, $call208 = 0, $call214 = 0, $call224 = 0, $call230 = 0, $call241 = 0, $call247 = 0, $call253 = 0, $call264 = 0, $call270 = 0, $call281 = 0, $call282 = 0, $call287 = 0, $call29 = 0, $call298 = 0, $call305 = 0, $call326 = 0, $call332 = 0, $call338 = 0, $call344 = 0, $call35 = 0, $call355 = 0, $call361 = 0, $call367 = 0, $call373 = 0, $call381 = 0, $call387 = 0, $call404 = 0, $call41 = 0, $call410 = 0, $call416 = 0, $call424 = 0, $call441 = 0, $call447 = 0, $call453 = 0, $call464 = 0, $call47 = 0, $call470 = 0, $call476 = 0, $call484 = 0, $call490 = 0, $call499 = 0, $call505 = 0, $call506 = 0, $call511 = 0, $call527 = 0, $call528 = 0, $call53 = 0, $call534 = 0, $call540 = 0, $call557 = 0, $call558 = 0, $call564 = 0, $call574 = 0, $call580 = 0, $call586 = 0, $call592 = 0, $call60 = 0, $call604 = 0, $call605 = 0, $call611 = 0, $call622 = 0, $call636 = 0, $call647 = 0, $call662 = 0, $call673 = 0, $call685 = 0, $call691 = 0, $call70 = 0, $call701 = 0, $call718 = 0, $call729 = 0, $call739 = 0, $call740 = 0, $call746 = 0, $call753 = 0, $call775 = 0, $call84 = 0, $call85 = 0, $call90 = 0, $frombool = 0, $retval$0 = 0, $retval$1 = 0, $retval$10 = 0, $retval$11 = 0, $retval$12 = 0, $retval$13 = 0, $retval$14 = 0, $retval$15 = 0, $retval$16 = 0, $retval$17 = 0, $retval$2 = 0, $retval$21 = 0, $retval$22 = 0, $retval$23 = 0, $retval$24 = 0, $retval$25 = 0, $retval$26 = 0, $retval$27 = 0, $retval$28 = 0, $retval$29 = 0, $retval$3 = 0, $retval$30 = 0, $retval$31 = 0, $retval$32 = 0, $retval$33 = 0, $retval$34 = 0, $retval$35 = 0, $retval$36 = 0, $retval$37 = 0, $retval$42 = 0, $retval$43 = 0, $retval$47 = 0, $retval$48 = 0, $retval$49 = 0, $retval$7 = 0, $retval$8 = 0, $retval$9 = 0, label = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 352 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(352); - $$byval_copy39 = sp + 336 | 0; - $1 = sp + 344 | 0; - $2 = sp + 328 | 0; - $3 = sp + 320 | 0; - $4 = sp + 312 | 0; - $5 = sp + 304 | 0; - $6 = sp + 296 | 0; - $7 = sp + 288 | 0; - $8 = sp + 8 | 0; - $9 = sp + 280 | 0; - $10 = sp + 272 | 0; - $11 = sp + 264 | 0; - $12 = sp + 256 | 0; - $13 = sp + 248 | 0; - $14 = sp + 240 | 0; - $15 = sp + 232 | 0; - $16 = sp + 224 | 0; - $17 = sp + 216 | 0; - $18 = sp + 208 | 0; - $19 = sp + 200 | 0; - $20 = sp + 192 | 0; - $21 = sp + 184 | 0; - $22 = sp + 176 | 0; - $23 = sp + 168 | 0; - $24 = sp + 160 | 0; - $25 = sp + 152 | 0; - $26 = sp + 144 | 0; - $27 = sp + 136 | 0; - $28 = sp + 128 | 0; - $29 = sp + 120 | 0; - $30 = sp + 112 | 0; - $31 = sp + 104 | 0; - $32 = sp + 96 | 0; - $33 = sp + 88 | 0; - $34 = sp + 80 | 0; - $35 = sp + 72 | 0; - $36 = sp + 64 | 0; - $37 = sp + 56 | 0; - $38 = sp + 48 | 0; - $39 = sp; - $40 = sp + 40 | 0; - $41 = sp + 32 | 0; - $42 = sp + 24 | 0; - $43 = sp + 16 | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($2, 52665); - HEAP32[$$byval_copy39 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy39 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - $45 = (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($0, $$byval_copy39) | 0) & 1; - HEAP8[$1 >> 0] = $45; - L1 : do if ((__ZNK12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E7numLeftEv($0) | 0) >>> 0 < 2) $$49 = 0; else { - $48 = HEAP32[$0 >> 2] | 0; - do switch (HEAP8[$48 >> 0] | 0) { + $agg$tmp593$byval_copy = sp + 336 | 0; + $Global = sp + 344 | 0; + $agg$tmp = sp + 328 | 0; + $agg$tmp30 = sp + 320 | 0; + $agg$tmp36 = sp + 312 | 0; + $agg$tmp42 = sp + 304 | 0; + $agg$tmp48 = sp + 296 | 0; + $agg$tmp54 = sp + 288 | 0; + $Ex = sp + 8 | 0; + $agg$tmp121 = sp + 280 | 0; + $agg$tmp127 = sp + 272 | 0; + $agg$tmp170 = sp + 264 | 0; + $agg$tmp225 = sp + 256 | 0; + $agg$tmp231 = sp + 248 | 0; + $agg$tmp242 = sp + 240 | 0; + $agg$tmp248 = sp + 232 | 0; + $agg$tmp254 = sp + 224 | 0; + $agg$tmp265 = sp + 216 | 0; + $agg$tmp271 = sp + 208 | 0; + $agg$tmp327 = sp + 200 | 0; + $agg$tmp333 = sp + 192 | 0; + $agg$tmp339 = sp + 184 | 0; + $agg$tmp345 = sp + 176 | 0; + $agg$tmp356 = sp + 168 | 0; + $agg$tmp362 = sp + 160 | 0; + $agg$tmp368 = sp + 152 | 0; + $agg$tmp374 = sp + 144 | 0; + $agg$tmp382 = sp + 136 | 0; + $agg$tmp405 = sp + 128 | 0; + $agg$tmp411 = sp + 120 | 0; + $agg$tmp417 = sp + 112 | 0; + $agg$tmp442 = sp + 104 | 0; + $agg$tmp448 = sp + 96 | 0; + $agg$tmp454 = sp + 88 | 0; + $agg$tmp465 = sp + 80 | 0; + $agg$tmp471 = sp + 72 | 0; + $agg$tmp477 = sp + 64 | 0; + $agg$tmp485 = sp + 56 | 0; + $agg$tmp500 = sp + 48 | 0; + $RHS538 = sp; + $agg$tmp575 = sp + 40 | 0; + $agg$tmp581 = sp + 32 | 0; + $agg$tmp587 = sp + 24 | 0; + $agg$tmp593 = sp + 16 | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, 53507); + HEAP32[$agg$tmp593$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp593$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + $frombool = (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($this, $agg$tmp593$byval_copy) | 0) & 1; + HEAP8[$Global >> 0] = $frombool; + L1 : do if ((__ZNK12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E7numLeftEv($this) | 0) >>> 0 < 2) $retval$49 = 0; else { + $0 = HEAP32[$this >> 2] | 0; + do switch (HEAP8[$0 >> 0] | 0) { case 76: { - $$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E16parseExprPrimaryEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0) | 0; + $retval$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E16parseExprPrimaryEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0) | 0; break L1; break; } case 84: { - $$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E18parseTemplateParamEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0) | 0; + $retval$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E18parseTemplateParamEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0) | 0; break L1; break; } case 102: { - switch ((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($0, 1) | 0) << 24 >> 24) { + switch ((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($this, 1) | 0) << 24 >> 24) { case 112: { label = 7; @@ -8560,102 +9894,102 @@ function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14Mang } case 76: { - if ((((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($0, 2) | 0) << 24 >> 24) + -48 | 0) >>> 0 < 10) label = 7; else label = 8; + if ((((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($this, 2) | 0) << 24 >> 24) + -48 | 0) >>> 0 < 10) label = 7; else label = 8; break; } default: label = 8; } if ((label | 0) == 7) { - $$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E18parseFunctionParamEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0) | 0; + $retval$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E18parseFunctionParamEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0) | 0; break L1; } else if ((label | 0) == 8) { - $$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E13parseFoldExprEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0) | 0; + $retval$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E13parseFoldExprEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0) | 0; break L1; } break; } case 97: { - switch (HEAP8[$48 + 1 >> 0] | 0) { + switch (HEAP8[$0 + 1 >> 0] | 0) { case 97: { - HEAP32[$0 >> 2] = $48 + 2; - $66 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($3, 51972); - HEAP32[$$byval_copy39 >> 2] = HEAP32[$3 >> 2]; - HEAP32[$$byval_copy39 + 4 >> 2] = HEAP32[$3 + 4 >> 2]; - $$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseBinaryExprENS_10StringViewE($66, $$byval_copy39) | 0; + HEAP32[$this >> 2] = $0 + 2; + $call29 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp30, 52814); + HEAP32[$agg$tmp593$byval_copy >> 2] = HEAP32[$agg$tmp30 >> 2]; + HEAP32[$agg$tmp593$byval_copy + 4 >> 2] = HEAP32[$agg$tmp30 + 4 >> 2]; + $retval$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseBinaryExprENS_10StringViewE($call29, $agg$tmp593$byval_copy) | 0; break L1; break; } case 100: { - HEAP32[$0 >> 2] = $48 + 2; - $69 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($4, 51970); - HEAP32[$$byval_copy39 >> 2] = HEAP32[$4 >> 2]; - HEAP32[$$byval_copy39 + 4 >> 2] = HEAP32[$4 + 4 >> 2]; - $$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parsePrefixExprENS_10StringViewE($69, $$byval_copy39) | 0; + HEAP32[$this >> 2] = $0 + 2; + $call35 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp36, 52812); + HEAP32[$agg$tmp593$byval_copy >> 2] = HEAP32[$agg$tmp36 >> 2]; + HEAP32[$agg$tmp593$byval_copy + 4 >> 2] = HEAP32[$agg$tmp36 + 4 >> 2]; + $retval$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parsePrefixExprENS_10StringViewE($call35, $agg$tmp593$byval_copy) | 0; break L1; break; } case 110: { - HEAP32[$0 >> 2] = $48 + 2; - $72 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($5, 51970); - HEAP32[$$byval_copy39 >> 2] = HEAP32[$5 >> 2]; - HEAP32[$$byval_copy39 + 4 >> 2] = HEAP32[$5 + 4 >> 2]; - $$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseBinaryExprENS_10StringViewE($72, $$byval_copy39) | 0; + HEAP32[$this >> 2] = $0 + 2; + $call41 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp42, 52812); + HEAP32[$agg$tmp593$byval_copy >> 2] = HEAP32[$agg$tmp42 >> 2]; + HEAP32[$agg$tmp593$byval_copy + 4 >> 2] = HEAP32[$agg$tmp42 + 4 >> 2]; + $retval$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseBinaryExprENS_10StringViewE($call41, $agg$tmp593$byval_copy) | 0; break L1; break; } case 78: { - HEAP32[$0 >> 2] = $48 + 2; - $75 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($6, 52668); - HEAP32[$$byval_copy39 >> 2] = HEAP32[$6 >> 2]; - HEAP32[$$byval_copy39 + 4 >> 2] = HEAP32[$6 + 4 >> 2]; - $$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseBinaryExprENS_10StringViewE($75, $$byval_copy39) | 0; + HEAP32[$this >> 2] = $0 + 2; + $call47 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp48, 53510); + HEAP32[$agg$tmp593$byval_copy >> 2] = HEAP32[$agg$tmp48 >> 2]; + HEAP32[$agg$tmp593$byval_copy + 4 >> 2] = HEAP32[$agg$tmp48 + 4 >> 2]; + $retval$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseBinaryExprENS_10StringViewE($call47, $agg$tmp593$byval_copy) | 0; break L1; break; } case 83: { - HEAP32[$0 >> 2] = $48 + 2; - $78 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($7, 52671); - HEAP32[$$byval_copy39 >> 2] = HEAP32[$7 >> 2]; - HEAP32[$$byval_copy39 + 4 >> 2] = HEAP32[$7 + 4 >> 2]; - $$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseBinaryExprENS_10StringViewE($78, $$byval_copy39) | 0; + HEAP32[$this >> 2] = $0 + 2; + $call53 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp54, 53513); + HEAP32[$agg$tmp593$byval_copy >> 2] = HEAP32[$agg$tmp54 >> 2]; + HEAP32[$agg$tmp593$byval_copy + 4 >> 2] = HEAP32[$agg$tmp54 + 4 >> 2]; + $retval$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseBinaryExprENS_10StringViewE($call53, $agg$tmp593$byval_copy) | 0; break L1; break; } case 116: { - HEAP32[$0 >> 2] = $48 + 2; - $82 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseTypeEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0) | 0; - HEAP32[$$byval_copy39 >> 2] = $82; - if (!$82) $$0 = 0; else $$0 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_13EnclosingExprEJRA10_KcRPNS0_4NodeERA2_S8_EEESC_DpOT0_($0, 52673, $$byval_copy39) | 0; - $$49 = $$0; + HEAP32[$this >> 2] = $0 + 2; + $call60 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseTypeEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0) | 0; + HEAP32[$agg$tmp593$byval_copy >> 2] = $call60; + if (!$call60) $retval$0 = 0; else $retval$0 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_13EnclosingExprEJRA10_KcRPNS0_4NodeERA2_S8_EEESC_DpOT0_($this, 53515, $agg$tmp593$byval_copy) | 0; + $retval$49 = $retval$0; break L1; break; } case 122: { - HEAP32[$0 >> 2] = $48 + 2; - $87 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseExprEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0) | 0; - HEAP32[$$byval_copy39 >> 2] = $87; - if (!$87) $$1 = 0; else $$1 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_13EnclosingExprEJRA10_KcRPNS0_4NodeERA2_S8_EEESC_DpOT0_($0, 52673, $$byval_copy39) | 0; - $$49 = $$1; + HEAP32[$this >> 2] = $0 + 2; + $call70 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseExprEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0) | 0; + HEAP32[$agg$tmp593$byval_copy >> 2] = $call70; + if (!$call70) $retval$1 = 0; else $retval$1 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_13EnclosingExprEJRA10_KcRPNS0_4NodeERA2_S8_EEESC_DpOT0_($this, 53515, $agg$tmp593$byval_copy) | 0; + $retval$49 = $retval$1; break L1; break; } default: { - $$49 = 0; + $retval$49 = 0; break L1; } } @@ -8663,89 +9997,89 @@ function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14Mang } case 99: { - switch (HEAP8[$48 + 1 >> 0] | 0) { + switch (HEAP8[$0 + 1 >> 0] | 0) { case 99: { - HEAP32[$0 >> 2] = $48 + 2; - $94 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0; - $95 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseTypeEv($94) | 0; - HEAP32[$$byval_copy39 >> 2] = $95; - if (!$95) $$3 = 0; else { - $97 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseExprEv($94) | 0; - HEAP32[$8 >> 2] = $97; - if (!$97) $$2 = 0; else $$2 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8CastExprEJRA11_KcRPNS0_4NodeESD_EEESC_DpOT0_($0, $$byval_copy39, $8) | 0; - $$3 = $$2; - } - $$49 = $$3; + HEAP32[$this >> 2] = $0 + 2; + $call84 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0; + $call85 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseTypeEv($call84) | 0; + HEAP32[$agg$tmp593$byval_copy >> 2] = $call85; + if (!$call85) $retval$3 = 0; else { + $call90 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseExprEv($call84) | 0; + HEAP32[$Ex >> 2] = $call90; + if (!$call90) $retval$2 = 0; else $retval$2 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8CastExprEJRA11_KcRPNS0_4NodeESD_EEESC_DpOT0_($this, $agg$tmp593$byval_copy, $Ex) | 0; + $retval$3 = $retval$2; + } + $retval$49 = $retval$3; break L1; break; } case 108: { - HEAP32[$0 >> 2] = $48 + 2; - $101 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0; - $102 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseExprEv($101) | 0; - HEAP32[$$byval_copy39 >> 2] = $102; - do if ($102) { - $104 = $0 + 8 | 0; - $105 = __ZNK12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE4sizeEv($104) | 0; + HEAP32[$this >> 2] = $0 + 2; + $call100 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0; + $call101 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseExprEv($call100) | 0; + HEAP32[$agg$tmp593$byval_copy >> 2] = $call101; + do if ($call101) { + $Names = $this + 8 | 0; + $call105 = __ZNK12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE4sizeEv($Names) | 0; while (1) { - if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($0, 69) | 0) { + if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($this, 69) | 0) { label = 33; break; } - $107 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseExprEv($101) | 0; - HEAP32[$8 >> 2] = $107; - if (!$107) { + $call108 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseExprEv($call100) | 0; + HEAP32[$Ex >> 2] = $call108; + if (!$call108) { label = 31; break; } - __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE9push_backERKS3_($104, $8); + __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE9push_backERKS3_($Names, $Ex); } if ((label | 0) == 31) { - $$7 = 0; + $retval$7 = 0; break; } else if ((label | 0) == 33) { - __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E20popTrailingNodeArrayEm($8, $0, $105); - $$7 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8CallExprEJRPNS0_4NodeENS0_9NodeArrayEEEES9_DpOT0_($0, $$byval_copy39, $8) | 0; + __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E20popTrailingNodeArrayEm($Ex, $this, $call105); + $retval$7 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8CallExprEJRPNS0_4NodeENS0_9NodeArrayEEEES9_DpOT0_($this, $agg$tmp593$byval_copy, $Ex) | 0; break; } - } else $$7 = 0; while (0); - $$49 = $$7; + } else $retval$7 = 0; while (0); + $retval$49 = $retval$7; break L1; break; } case 109: { - HEAP32[$0 >> 2] = $48 + 2; - $111 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($9, 52683); - HEAP32[$$byval_copy39 >> 2] = HEAP32[$9 >> 2]; - HEAP32[$$byval_copy39 + 4 >> 2] = HEAP32[$9 + 4 >> 2]; - $$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseBinaryExprENS_10StringViewE($111, $$byval_copy39) | 0; + HEAP32[$this >> 2] = $0 + 2; + $call120 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp121, 53525); + HEAP32[$agg$tmp593$byval_copy >> 2] = HEAP32[$agg$tmp121 >> 2]; + HEAP32[$agg$tmp593$byval_copy + 4 >> 2] = HEAP32[$agg$tmp121 + 4 >> 2]; + $retval$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseBinaryExprENS_10StringViewE($call120, $agg$tmp593$byval_copy) | 0; break L1; break; } case 111: { - HEAP32[$0 >> 2] = $48 + 2; - $114 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($10, 52685); - HEAP32[$$byval_copy39 >> 2] = HEAP32[$10 >> 2]; - HEAP32[$$byval_copy39 + 4 >> 2] = HEAP32[$10 + 4 >> 2]; - $$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parsePrefixExprENS_10StringViewE($114, $$byval_copy39) | 0; + HEAP32[$this >> 2] = $0 + 2; + $call126 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp127, 53527); + HEAP32[$agg$tmp593$byval_copy >> 2] = HEAP32[$agg$tmp127 >> 2]; + HEAP32[$agg$tmp593$byval_copy + 4 >> 2] = HEAP32[$agg$tmp127 + 4 >> 2]; + $retval$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parsePrefixExprENS_10StringViewE($call126, $agg$tmp593$byval_copy) | 0; break L1; break; } case 118: { - $$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E19parseConversionExprEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0) | 0; + $retval$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E19parseConversionExprEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0) | 0; break L1; break; } default: { - $$49 = 0; + $retval$49 = 0; break L1; } } @@ -8753,123 +10087,123 @@ function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14Mang } case 100: { - switch (HEAP8[$48 + 1 >> 0] | 0) { + switch (HEAP8[$0 + 1 >> 0] | 0) { case 97: { - HEAP32[$0 >> 2] = $48 + 2; - $123 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseExprEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0) | 0; - HEAP32[$$byval_copy39 >> 2] = $123; - if (!$123) $$8 = 0; else { - HEAP8[$8 >> 0] = 1; - $$8 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_10DeleteExprEJRPNS0_4NodeERbbEEES9_DpOT0_($0, $$byval_copy39, $1, $8) | 0; - } - $$49 = $$8; + HEAP32[$this >> 2] = $0 + 2; + $call142 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseExprEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0) | 0; + HEAP32[$agg$tmp593$byval_copy >> 2] = $call142; + if (!$call142) $retval$8 = 0; else { + HEAP8[$Ex >> 0] = 1; + $retval$8 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_10DeleteExprEJRPNS0_4NodeERbbEEES9_DpOT0_($this, $agg$tmp593$byval_copy, $Global, $Ex) | 0; + } + $retval$49 = $retval$8; break L1; break; } case 99: { - HEAP32[$0 >> 2] = $48 + 2; - $127 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0; - $128 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseTypeEv($127) | 0; - HEAP32[$$byval_copy39 >> 2] = $128; - if (!$128) $$10 = 0; else { - $130 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseExprEv($127) | 0; - HEAP32[$8 >> 2] = $130; - if (!$130) $$9 = 0; else $$9 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8CastExprEJRA13_KcRPNS0_4NodeESD_EEESC_DpOT0_($0, $$byval_copy39, $8) | 0; - $$10 = $$9; - } - $$49 = $$10; + HEAP32[$this >> 2] = $0 + 2; + $call152 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0; + $call153 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseTypeEv($call152) | 0; + HEAP32[$agg$tmp593$byval_copy >> 2] = $call153; + if (!$call153) $retval$10 = 0; else { + $call159 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseExprEv($call152) | 0; + HEAP32[$Ex >> 2] = $call159; + if (!$call159) $retval$9 = 0; else $retval$9 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8CastExprEJRA13_KcRPNS0_4NodeESD_EEESC_DpOT0_($this, $agg$tmp593$byval_copy, $Ex) | 0; + $retval$10 = $retval$9; + } + $retval$49 = $retval$10; break L1; break; } case 101: { - HEAP32[$0 >> 2] = $48 + 2; - $134 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($11, 52037); - HEAP32[$$byval_copy39 >> 2] = HEAP32[$11 >> 2]; - HEAP32[$$byval_copy39 + 4 >> 2] = HEAP32[$11 + 4 >> 2]; - $$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parsePrefixExprENS_10StringViewE($134, $$byval_copy39) | 0; + HEAP32[$this >> 2] = $0 + 2; + $call169 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp170, 52879); + HEAP32[$agg$tmp593$byval_copy >> 2] = HEAP32[$agg$tmp170 >> 2]; + HEAP32[$agg$tmp593$byval_copy + 4 >> 2] = HEAP32[$agg$tmp170 + 4 >> 2]; + $retval$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parsePrefixExprENS_10StringViewE($call169, $agg$tmp593$byval_copy) | 0; break L1; break; } case 108: { - HEAP32[$0 >> 2] = $48 + 2; - $138 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseExprEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0) | 0; - HEAP32[$$byval_copy39 >> 2] = $138; - if (!$138) $$11 = 0; else { - HEAP8[$8 >> 0] = 0; - $$11 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_10DeleteExprEJRPNS0_4NodeERbbEEES9_DpOT0_($0, $$byval_copy39, $1, $8) | 0; - } - $$49 = $$11; + HEAP32[$this >> 2] = $0 + 2; + $call177 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseExprEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0) | 0; + HEAP32[$agg$tmp593$byval_copy >> 2] = $call177; + if (!$call177) $retval$11 = 0; else { + HEAP8[$Ex >> 0] = 0; + $retval$11 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_10DeleteExprEJRPNS0_4NodeERbbEEES9_DpOT0_($this, $agg$tmp593$byval_copy, $Global, $Ex) | 0; + } + $retval$49 = $retval$11; break L1; break; } case 110: { - $$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E19parseUnresolvedNameEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0) | 0; + $retval$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E19parseUnresolvedNameEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0) | 0; break L1; break; } case 115: { - HEAP32[$0 >> 2] = $48 + 2; - $144 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0; - $145 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseExprEv($144) | 0; - HEAP32[$$byval_copy39 >> 2] = $145; - if (!$145) $$13 = 0; else { - $147 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseExprEv($144) | 0; - HEAP32[$8 >> 2] = $147; - if (!$147) $$12 = 0; else $$12 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_10MemberExprEJRPNS0_4NodeERA3_KcSA_EEES9_DpOT0_($0, $$byval_copy39, 52687, $8) | 0; - $$13 = $$12; - } - $$49 = $$13; + HEAP32[$this >> 2] = $0 + 2; + $call190 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0; + $call191 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseExprEv($call190) | 0; + HEAP32[$agg$tmp593$byval_copy >> 2] = $call191; + if (!$call191) $retval$13 = 0; else { + $call196 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseExprEv($call190) | 0; + HEAP32[$Ex >> 2] = $call196; + if (!$call196) $retval$12 = 0; else $retval$12 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_10MemberExprEJRPNS0_4NodeERA3_KcSA_EEES9_DpOT0_($this, $agg$tmp593$byval_copy, 53529, $Ex) | 0; + $retval$13 = $retval$12; + } + $retval$49 = $retval$13; break L1; break; } case 116: { - HEAP32[$0 >> 2] = $48 + 2; - $151 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0; - $152 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseExprEv($151) | 0; - HEAP32[$$byval_copy39 >> 2] = $152; - if (!$152) $$15 = 0; else { - $154 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseExprEv($151) | 0; - HEAP32[$8 >> 2] = $154; - if (!$154) $$14 = 0; else $$14 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_10MemberExprEJRPNS0_4NodeERA2_KcSA_EEES9_DpOT0_($0, $$byval_copy39, $8) | 0; - $$15 = $$14; - } - $$49 = $$15; + HEAP32[$this >> 2] = $0 + 2; + $call207 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0; + $call208 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseExprEv($call207) | 0; + HEAP32[$agg$tmp593$byval_copy >> 2] = $call208; + if (!$call208) $retval$15 = 0; else { + $call214 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseExprEv($call207) | 0; + HEAP32[$Ex >> 2] = $call214; + if (!$call214) $retval$14 = 0; else $retval$14 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_10MemberExprEJRPNS0_4NodeERA2_KcSA_EEES9_DpOT0_($this, $agg$tmp593$byval_copy, $Ex) | 0; + $retval$15 = $retval$14; + } + $retval$49 = $retval$15; break L1; break; } case 118: { - HEAP32[$0 >> 2] = $48 + 2; - $158 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($12, 52690); - HEAP32[$$byval_copy39 >> 2] = HEAP32[$12 >> 2]; - HEAP32[$$byval_copy39 + 4 >> 2] = HEAP32[$12 + 4 >> 2]; - $$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseBinaryExprENS_10StringViewE($158, $$byval_copy39) | 0; + HEAP32[$this >> 2] = $0 + 2; + $call224 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp225, 53532); + HEAP32[$agg$tmp593$byval_copy >> 2] = HEAP32[$agg$tmp225 >> 2]; + HEAP32[$agg$tmp593$byval_copy + 4 >> 2] = HEAP32[$agg$tmp225 + 4 >> 2]; + $retval$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseBinaryExprENS_10StringViewE($call224, $agg$tmp593$byval_copy) | 0; break L1; break; } case 86: { - HEAP32[$0 >> 2] = $48 + 2; - $161 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($13, 52692); - HEAP32[$$byval_copy39 >> 2] = HEAP32[$13 >> 2]; - HEAP32[$$byval_copy39 + 4 >> 2] = HEAP32[$13 + 4 >> 2]; - $$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseBinaryExprENS_10StringViewE($161, $$byval_copy39) | 0; + HEAP32[$this >> 2] = $0 + 2; + $call230 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp231, 53534); + HEAP32[$agg$tmp593$byval_copy >> 2] = HEAP32[$agg$tmp231 >> 2]; + HEAP32[$agg$tmp593$byval_copy + 4 >> 2] = HEAP32[$agg$tmp231 + 4 >> 2]; + $retval$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseBinaryExprENS_10StringViewE($call230, $agg$tmp593$byval_copy) | 0; break L1; break; } default: { - $$49 = 0; + $retval$49 = 0; break L1; } } @@ -8877,43 +10211,43 @@ function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14Mang } case 101: { - switch (HEAP8[$48 + 1 >> 0] | 0) { + switch (HEAP8[$0 + 1 >> 0] | 0) { case 111: { - HEAP32[$0 >> 2] = $48 + 2; - $167 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($14, 52695); - HEAP32[$$byval_copy39 >> 2] = HEAP32[$14 >> 2]; - HEAP32[$$byval_copy39 + 4 >> 2] = HEAP32[$14 + 4 >> 2]; - $$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseBinaryExprENS_10StringViewE($167, $$byval_copy39) | 0; + HEAP32[$this >> 2] = $0 + 2; + $call241 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp242, 53537); + HEAP32[$agg$tmp593$byval_copy >> 2] = HEAP32[$agg$tmp242 >> 2]; + HEAP32[$agg$tmp593$byval_copy + 4 >> 2] = HEAP32[$agg$tmp242 + 4 >> 2]; + $retval$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseBinaryExprENS_10StringViewE($call241, $agg$tmp593$byval_copy) | 0; break L1; break; } case 79: { - HEAP32[$0 >> 2] = $48 + 2; - $170 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($15, 52697); - HEAP32[$$byval_copy39 >> 2] = HEAP32[$15 >> 2]; - HEAP32[$$byval_copy39 + 4 >> 2] = HEAP32[$15 + 4 >> 2]; - $$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseBinaryExprENS_10StringViewE($170, $$byval_copy39) | 0; + HEAP32[$this >> 2] = $0 + 2; + $call247 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp248, 53539); + HEAP32[$agg$tmp593$byval_copy >> 2] = HEAP32[$agg$tmp248 >> 2]; + HEAP32[$agg$tmp593$byval_copy + 4 >> 2] = HEAP32[$agg$tmp248 + 4 >> 2]; + $retval$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseBinaryExprENS_10StringViewE($call247, $agg$tmp593$byval_copy) | 0; break L1; break; } case 113: { - HEAP32[$0 >> 2] = $48 + 2; - $173 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($16, 52700); - HEAP32[$$byval_copy39 >> 2] = HEAP32[$16 >> 2]; - HEAP32[$$byval_copy39 + 4 >> 2] = HEAP32[$16 + 4 >> 2]; - $$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseBinaryExprENS_10StringViewE($173, $$byval_copy39) | 0; + HEAP32[$this >> 2] = $0 + 2; + $call253 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp254, 53542); + HEAP32[$agg$tmp593$byval_copy >> 2] = HEAP32[$agg$tmp254 >> 2]; + HEAP32[$agg$tmp593$byval_copy + 4 >> 2] = HEAP32[$agg$tmp254 + 4 >> 2]; + $retval$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseBinaryExprENS_10StringViewE($call253, $agg$tmp593$byval_copy) | 0; break L1; break; } default: { - $$49 = 0; + $retval$49 = 0; break L1; } } @@ -8921,32 +10255,32 @@ function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14Mang } case 103: { - switch (HEAP8[$48 + 1 >> 0] | 0) { + switch (HEAP8[$0 + 1 >> 0] | 0) { case 101: { - HEAP32[$0 >> 2] = $48 + 2; - $179 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($17, 52703); - HEAP32[$$byval_copy39 >> 2] = HEAP32[$17 >> 2]; - HEAP32[$$byval_copy39 + 4 >> 2] = HEAP32[$17 + 4 >> 2]; - $$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseBinaryExprENS_10StringViewE($179, $$byval_copy39) | 0; + HEAP32[$this >> 2] = $0 + 2; + $call264 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp265, 53545); + HEAP32[$agg$tmp593$byval_copy >> 2] = HEAP32[$agg$tmp265 >> 2]; + HEAP32[$agg$tmp593$byval_copy + 4 >> 2] = HEAP32[$agg$tmp265 + 4 >> 2]; + $retval$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseBinaryExprENS_10StringViewE($call264, $agg$tmp593$byval_copy) | 0; break L1; break; } case 116: { - HEAP32[$0 >> 2] = $48 + 2; - $182 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($18, 52043); - HEAP32[$$byval_copy39 >> 2] = HEAP32[$18 >> 2]; - HEAP32[$$byval_copy39 + 4 >> 2] = HEAP32[$18 + 4 >> 2]; - $$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseBinaryExprENS_10StringViewE($182, $$byval_copy39) | 0; + HEAP32[$this >> 2] = $0 + 2; + $call270 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp271, 52885); + HEAP32[$agg$tmp593$byval_copy >> 2] = HEAP32[$agg$tmp271 >> 2]; + HEAP32[$agg$tmp593$byval_copy + 4 >> 2] = HEAP32[$agg$tmp271 + 4 >> 2]; + $retval$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseBinaryExprENS_10StringViewE($call270, $agg$tmp593$byval_copy) | 0; break L1; break; } default: { - $$49 = 0; + $retval$49 = 0; break L1; } } @@ -8954,20 +10288,20 @@ function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14Mang } case 105: { - switch (HEAP8[$48 + 1 >> 0] | 0) { + switch (HEAP8[$0 + 1 >> 0] | 0) { case 120: { - HEAP32[$0 >> 2] = $48 + 2; - $188 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0; - $189 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseExprEv($188) | 0; - HEAP32[$$byval_copy39 >> 2] = $189; - if (!$189) $$17 = 0; else { - $191 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseExprEv($188) | 0; - HEAP32[$8 >> 2] = $191; - if (!$191) $$16 = 0; else $$16 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_18ArraySubscriptExprEJRPNS0_4NodeESA_EEES9_DpOT0_($0, $$byval_copy39, $8) | 0; - $$17 = $$16; - } - $$49 = $$17; + HEAP32[$this >> 2] = $0 + 2; + $call281 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0; + $call282 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseExprEv($call281) | 0; + HEAP32[$agg$tmp593$byval_copy >> 2] = $call282; + if (!$call282) $retval$17 = 0; else { + $call287 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseExprEv($call281) | 0; + HEAP32[$Ex >> 2] = $call287; + if (!$call287) $retval$16 = 0; else $retval$16 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_18ArraySubscriptExprEJRPNS0_4NodeESA_EEES9_DpOT0_($this, $agg$tmp593$byval_copy, $Ex) | 0; + $retval$17 = $retval$16; + } + $retval$49 = $retval$17; break L1; break; } @@ -8975,86 +10309,86 @@ function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14Mang break; default: { - $$49 = 0; + $retval$49 = 0; break L1; } } - HEAP32[$0 >> 2] = $48 + 2; - $195 = $0 + 8 | 0; - $196 = __ZNK12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE4sizeEv($195) | 0; + HEAP32[$this >> 2] = $0 + 2; + $Names297 = $this + 8 | 0; + $call298 = __ZNK12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE4sizeEv($Names297) | 0; while (1) { - if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($0, 69) | 0) { + if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($this, 69) | 0) { label = 82; break; } - $199 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseBracedExprEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0) | 0; - HEAP32[$$byval_copy39 >> 2] = $199; - if (!$199) { + $call305 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseBracedExprEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0) | 0; + HEAP32[$agg$tmp593$byval_copy >> 2] = $call305; + if (!$call305) { label = 81; break; } - __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE9push_backERKS3_($195, $$byval_copy39); + __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE9push_backERKS3_($Names297, $agg$tmp593$byval_copy); } if ((label | 0) == 81) { - $$49 = 0; + $retval$49 = 0; break L1; } else if ((label | 0) == 82) { - __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E20popTrailingNodeArrayEm($8, $0, $196); - $$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_12InitListExprEJDnNS0_9NodeArrayEEEEPNS0_4NodeEDpOT0_($0, $$byval_copy39, $8) | 0; + __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E20popTrailingNodeArrayEm($Ex, $this, $call298); + $retval$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_12InitListExprEJDnNS0_9NodeArrayEEEEPNS0_4NodeEDpOT0_($this, $agg$tmp593$byval_copy, $Ex) | 0; break L1; } break; } case 108: { - switch (HEAP8[$48 + 1 >> 0] | 0) { + switch (HEAP8[$0 + 1 >> 0] | 0) { case 101: { - HEAP32[$0 >> 2] = $48 + 2; - $206 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($19, 52706); - HEAP32[$$byval_copy39 >> 2] = HEAP32[$19 >> 2]; - HEAP32[$$byval_copy39 + 4 >> 2] = HEAP32[$19 + 4 >> 2]; - $$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseBinaryExprENS_10StringViewE($206, $$byval_copy39) | 0; + HEAP32[$this >> 2] = $0 + 2; + $call326 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp327, 53548); + HEAP32[$agg$tmp593$byval_copy >> 2] = HEAP32[$agg$tmp327 >> 2]; + HEAP32[$agg$tmp593$byval_copy + 4 >> 2] = HEAP32[$agg$tmp327 + 4 >> 2]; + $retval$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseBinaryExprENS_10StringViewE($call326, $agg$tmp593$byval_copy) | 0; break L1; break; } case 115: { - HEAP32[$0 >> 2] = $48 + 2; - $209 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($20, 52709); - HEAP32[$$byval_copy39 >> 2] = HEAP32[$20 >> 2]; - HEAP32[$$byval_copy39 + 4 >> 2] = HEAP32[$20 + 4 >> 2]; - $$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseBinaryExprENS_10StringViewE($209, $$byval_copy39) | 0; + HEAP32[$this >> 2] = $0 + 2; + $call332 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp333, 53551); + HEAP32[$agg$tmp593$byval_copy >> 2] = HEAP32[$agg$tmp333 >> 2]; + HEAP32[$agg$tmp593$byval_copy + 4 >> 2] = HEAP32[$agg$tmp333 + 4 >> 2]; + $retval$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseBinaryExprENS_10StringViewE($call332, $agg$tmp593$byval_copy) | 0; break L1; break; } case 83: { - HEAP32[$0 >> 2] = $48 + 2; - $212 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($21, 52712); - HEAP32[$$byval_copy39 >> 2] = HEAP32[$21 >> 2]; - HEAP32[$$byval_copy39 + 4 >> 2] = HEAP32[$21 + 4 >> 2]; - $$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseBinaryExprENS_10StringViewE($212, $$byval_copy39) | 0; + HEAP32[$this >> 2] = $0 + 2; + $call338 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp339, 53554); + HEAP32[$agg$tmp593$byval_copy >> 2] = HEAP32[$agg$tmp339 >> 2]; + HEAP32[$agg$tmp593$byval_copy + 4 >> 2] = HEAP32[$agg$tmp339 + 4 >> 2]; + $retval$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseBinaryExprENS_10StringViewE($call338, $agg$tmp593$byval_copy) | 0; break L1; break; } case 116: { - HEAP32[$0 >> 2] = $48 + 2; - $215 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($22, 52150); - HEAP32[$$byval_copy39 >> 2] = HEAP32[$22 >> 2]; - HEAP32[$$byval_copy39 + 4 >> 2] = HEAP32[$22 + 4 >> 2]; - $$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseBinaryExprENS_10StringViewE($215, $$byval_copy39) | 0; + HEAP32[$this >> 2] = $0 + 2; + $call344 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp345, 52992); + HEAP32[$agg$tmp593$byval_copy >> 2] = HEAP32[$agg$tmp345 >> 2]; + HEAP32[$agg$tmp593$byval_copy + 4 >> 2] = HEAP32[$agg$tmp345 + 4 >> 2]; + $retval$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseBinaryExprENS_10StringViewE($call344, $agg$tmp593$byval_copy) | 0; break L1; break; } default: { - $$49 = 0; + $retval$49 = 0; break L1; } } @@ -9062,72 +10396,72 @@ function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14Mang } case 109: { - switch (HEAP8[$48 + 1 >> 0] | 0) { + switch (HEAP8[$0 + 1 >> 0] | 0) { case 105: { - HEAP32[$0 >> 2] = $48 + 2; - $221 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($23, 52555); - HEAP32[$$byval_copy39 >> 2] = HEAP32[$23 >> 2]; - HEAP32[$$byval_copy39 + 4 >> 2] = HEAP32[$23 + 4 >> 2]; - $$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseBinaryExprENS_10StringViewE($221, $$byval_copy39) | 0; + HEAP32[$this >> 2] = $0 + 2; + $call355 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp356, 53397); + HEAP32[$agg$tmp593$byval_copy >> 2] = HEAP32[$agg$tmp356 >> 2]; + HEAP32[$agg$tmp593$byval_copy + 4 >> 2] = HEAP32[$agg$tmp356 + 4 >> 2]; + $retval$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseBinaryExprENS_10StringViewE($call355, $agg$tmp593$byval_copy) | 0; break L1; break; } case 73: { - HEAP32[$0 >> 2] = $48 + 2; - $224 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($24, 52716); - HEAP32[$$byval_copy39 >> 2] = HEAP32[$24 >> 2]; - HEAP32[$$byval_copy39 + 4 >> 2] = HEAP32[$24 + 4 >> 2]; - $$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseBinaryExprENS_10StringViewE($224, $$byval_copy39) | 0; + HEAP32[$this >> 2] = $0 + 2; + $call361 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp362, 53558); + HEAP32[$agg$tmp593$byval_copy >> 2] = HEAP32[$agg$tmp362 >> 2]; + HEAP32[$agg$tmp593$byval_copy + 4 >> 2] = HEAP32[$agg$tmp362 + 4 >> 2]; + $retval$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseBinaryExprENS_10StringViewE($call361, $agg$tmp593$byval_copy) | 0; break L1; break; } case 108: { - HEAP32[$0 >> 2] = $48 + 2; - $227 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($25, 52037); - HEAP32[$$byval_copy39 >> 2] = HEAP32[$25 >> 2]; - HEAP32[$$byval_copy39 + 4 >> 2] = HEAP32[$25 + 4 >> 2]; - $$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseBinaryExprENS_10StringViewE($227, $$byval_copy39) | 0; + HEAP32[$this >> 2] = $0 + 2; + $call367 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp368, 52879); + HEAP32[$agg$tmp593$byval_copy >> 2] = HEAP32[$agg$tmp368 >> 2]; + HEAP32[$agg$tmp593$byval_copy + 4 >> 2] = HEAP32[$agg$tmp368 + 4 >> 2]; + $retval$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseBinaryExprENS_10StringViewE($call367, $agg$tmp593$byval_copy) | 0; break L1; break; } case 76: { - HEAP32[$0 >> 2] = $48 + 2; - $230 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($26, 52719); - HEAP32[$$byval_copy39 >> 2] = HEAP32[$26 >> 2]; - HEAP32[$$byval_copy39 + 4 >> 2] = HEAP32[$26 + 4 >> 2]; - $$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseBinaryExprENS_10StringViewE($230, $$byval_copy39) | 0; + HEAP32[$this >> 2] = $0 + 2; + $call373 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp374, 53561); + HEAP32[$agg$tmp593$byval_copy >> 2] = HEAP32[$agg$tmp374 >> 2]; + HEAP32[$agg$tmp593$byval_copy + 4 >> 2] = HEAP32[$agg$tmp374 + 4 >> 2]; + $retval$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseBinaryExprENS_10StringViewE($call373, $agg$tmp593$byval_copy) | 0; break L1; break; } case 109: { - HEAP32[$0 >> 2] = $48 + 2; - if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($0, 95) | 0) { - $234 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($27, 52722); - HEAP32[$$byval_copy39 >> 2] = HEAP32[$27 >> 2]; - HEAP32[$$byval_copy39 + 4 >> 2] = HEAP32[$27 + 4 >> 2]; - $$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parsePrefixExprENS_10StringViewE($234, $$byval_copy39) | 0; + HEAP32[$this >> 2] = $0 + 2; + if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($this, 95) | 0) { + $call381 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp382, 53564); + HEAP32[$agg$tmp593$byval_copy >> 2] = HEAP32[$agg$tmp382 >> 2]; + HEAP32[$agg$tmp593$byval_copy + 4 >> 2] = HEAP32[$agg$tmp382 + 4 >> 2]; + $retval$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parsePrefixExprENS_10StringViewE($call381, $agg$tmp593$byval_copy) | 0; break L1; } - $237 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseExprEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0) | 0; - HEAP32[$$byval_copy39 >> 2] = $237; - if (!$237) $$21 = 0; else $$21 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_11PostfixExprEJRPNS0_4NodeERA3_KcEEES9_DpOT0_($0, $$byval_copy39, 52722) | 0; - $$49 = $$21; + $call387 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseExprEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0) | 0; + HEAP32[$agg$tmp593$byval_copy >> 2] = $call387; + if (!$call387) $retval$21 = 0; else $retval$21 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_11PostfixExprEJRPNS0_4NodeERA3_KcEEES9_DpOT0_($this, $agg$tmp593$byval_copy, 53564) | 0; + $retval$49 = $retval$21; break L1; break; } default: { - $$49 = 0; + $retval$49 = 0; break L1; } } @@ -9135,60 +10469,60 @@ function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14Mang } case 110: { - switch (HEAP8[$48 + 1 >> 0] | 0) { + switch (HEAP8[$0 + 1 >> 0] | 0) { case 119: case 97: { - $$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E12parseNewExprEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0) | 0; + $retval$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E12parseNewExprEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0) | 0; break L1; break; } case 101: { - HEAP32[$0 >> 2] = $48 + 2; - $246 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($28, 52725); - HEAP32[$$byval_copy39 >> 2] = HEAP32[$28 >> 2]; - HEAP32[$$byval_copy39 + 4 >> 2] = HEAP32[$28 + 4 >> 2]; - $$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseBinaryExprENS_10StringViewE($246, $$byval_copy39) | 0; + HEAP32[$this >> 2] = $0 + 2; + $call404 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp405, 53567); + HEAP32[$agg$tmp593$byval_copy >> 2] = HEAP32[$agg$tmp405 >> 2]; + HEAP32[$agg$tmp593$byval_copy + 4 >> 2] = HEAP32[$agg$tmp405 + 4 >> 2]; + $retval$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseBinaryExprENS_10StringViewE($call404, $agg$tmp593$byval_copy) | 0; break L1; break; } case 103: { - HEAP32[$0 >> 2] = $48 + 2; - $249 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($29, 52555); - HEAP32[$$byval_copy39 >> 2] = HEAP32[$29 >> 2]; - HEAP32[$$byval_copy39 + 4 >> 2] = HEAP32[$29 + 4 >> 2]; - $$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parsePrefixExprENS_10StringViewE($249, $$byval_copy39) | 0; + HEAP32[$this >> 2] = $0 + 2; + $call410 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp411, 53397); + HEAP32[$agg$tmp593$byval_copy >> 2] = HEAP32[$agg$tmp411 >> 2]; + HEAP32[$agg$tmp593$byval_copy + 4 >> 2] = HEAP32[$agg$tmp411 + 4 >> 2]; + $retval$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parsePrefixExprENS_10StringViewE($call410, $agg$tmp593$byval_copy) | 0; break L1; break; } case 116: { - HEAP32[$0 >> 2] = $48 + 2; - $252 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($30, 52728); - HEAP32[$$byval_copy39 >> 2] = HEAP32[$30 >> 2]; - HEAP32[$$byval_copy39 + 4 >> 2] = HEAP32[$30 + 4 >> 2]; - $$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parsePrefixExprENS_10StringViewE($252, $$byval_copy39) | 0; + HEAP32[$this >> 2] = $0 + 2; + $call416 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp417, 53570); + HEAP32[$agg$tmp593$byval_copy >> 2] = HEAP32[$agg$tmp417 >> 2]; + HEAP32[$agg$tmp593$byval_copy + 4 >> 2] = HEAP32[$agg$tmp417 + 4 >> 2]; + $retval$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parsePrefixExprENS_10StringViewE($call416, $agg$tmp593$byval_copy) | 0; break L1; break; } case 120: { - HEAP32[$0 >> 2] = $48 + 2; - $256 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseExprEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0) | 0; - HEAP32[$$byval_copy39 >> 2] = $256; - if (!$256) $$22 = 0; else $$22 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_13EnclosingExprEJRA11_KcRPNS0_4NodeERA2_S8_EEESC_DpOT0_($0, $$byval_copy39) | 0; - $$49 = $$22; + HEAP32[$this >> 2] = $0 + 2; + $call424 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseExprEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0) | 0; + HEAP32[$agg$tmp593$byval_copy >> 2] = $call424; + if (!$call424) $retval$22 = 0; else $retval$22 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_13EnclosingExprEJRA11_KcRPNS0_4NodeERA2_S8_EEESC_DpOT0_($this, $agg$tmp593$byval_copy) | 0; + $retval$49 = $retval$22; break L1; break; } default: { - $$49 = 0; + $retval$49 = 0; break L1; } } @@ -9196,49 +10530,49 @@ function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14Mang } case 111: { - switch (HEAP8[$48 + 1 >> 0] | 0) { + switch (HEAP8[$0 + 1 >> 0] | 0) { case 110: { - $$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E19parseUnresolvedNameEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0) | 0; + $retval$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E19parseUnresolvedNameEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0) | 0; break L1; break; } case 111: { - HEAP32[$0 >> 2] = $48 + 2; - $265 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($31, 52730); - HEAP32[$$byval_copy39 >> 2] = HEAP32[$31 >> 2]; - HEAP32[$$byval_copy39 + 4 >> 2] = HEAP32[$31 + 4 >> 2]; - $$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseBinaryExprENS_10StringViewE($265, $$byval_copy39) | 0; + HEAP32[$this >> 2] = $0 + 2; + $call441 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp442, 53572); + HEAP32[$agg$tmp593$byval_copy >> 2] = HEAP32[$agg$tmp442 >> 2]; + HEAP32[$agg$tmp593$byval_copy + 4 >> 2] = HEAP32[$agg$tmp442 + 4 >> 2]; + $retval$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseBinaryExprENS_10StringViewE($call441, $agg$tmp593$byval_copy) | 0; break L1; break; } case 114: { - HEAP32[$0 >> 2] = $48 + 2; - $268 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($32, 52733); - HEAP32[$$byval_copy39 >> 2] = HEAP32[$32 >> 2]; - HEAP32[$$byval_copy39 + 4 >> 2] = HEAP32[$32 + 4 >> 2]; - $$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseBinaryExprENS_10StringViewE($268, $$byval_copy39) | 0; + HEAP32[$this >> 2] = $0 + 2; + $call447 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp448, 53575); + HEAP32[$agg$tmp593$byval_copy >> 2] = HEAP32[$agg$tmp448 >> 2]; + HEAP32[$agg$tmp593$byval_copy + 4 >> 2] = HEAP32[$agg$tmp448 + 4 >> 2]; + $retval$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseBinaryExprENS_10StringViewE($call447, $agg$tmp593$byval_copy) | 0; break L1; break; } case 82: { - HEAP32[$0 >> 2] = $48 + 2; - $271 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($33, 52735); - HEAP32[$$byval_copy39 >> 2] = HEAP32[$33 >> 2]; - HEAP32[$$byval_copy39 + 4 >> 2] = HEAP32[$33 + 4 >> 2]; - $$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseBinaryExprENS_10StringViewE($271, $$byval_copy39) | 0; + HEAP32[$this >> 2] = $0 + 2; + $call453 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp454, 53577); + HEAP32[$agg$tmp593$byval_copy >> 2] = HEAP32[$agg$tmp454 >> 2]; + HEAP32[$agg$tmp593$byval_copy + 4 >> 2] = HEAP32[$agg$tmp454 + 4 >> 2]; + $retval$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseBinaryExprENS_10StringViewE($call453, $agg$tmp593$byval_copy) | 0; break L1; break; } default: { - $$49 = 0; + $retval$49 = 0; break L1; } } @@ -9246,88 +10580,88 @@ function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14Mang } case 112: { - switch (HEAP8[$48 + 1 >> 0] | 0) { + switch (HEAP8[$0 + 1 >> 0] | 0) { case 109: { - HEAP32[$0 >> 2] = $48 + 2; - $277 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($34, 52738); - HEAP32[$$byval_copy39 >> 2] = HEAP32[$34 >> 2]; - HEAP32[$$byval_copy39 + 4 >> 2] = HEAP32[$34 + 4 >> 2]; - $$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseBinaryExprENS_10StringViewE($277, $$byval_copy39) | 0; + HEAP32[$this >> 2] = $0 + 2; + $call464 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp465, 53580); + HEAP32[$agg$tmp593$byval_copy >> 2] = HEAP32[$agg$tmp465 >> 2]; + HEAP32[$agg$tmp593$byval_copy + 4 >> 2] = HEAP32[$agg$tmp465 + 4 >> 2]; + $retval$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseBinaryExprENS_10StringViewE($call464, $agg$tmp593$byval_copy) | 0; break L1; break; } case 108: { - HEAP32[$0 >> 2] = $48 + 2; - $280 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($35, 52742); - HEAP32[$$byval_copy39 >> 2] = HEAP32[$35 >> 2]; - HEAP32[$$byval_copy39 + 4 >> 2] = HEAP32[$35 + 4 >> 2]; - $$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseBinaryExprENS_10StringViewE($280, $$byval_copy39) | 0; + HEAP32[$this >> 2] = $0 + 2; + $call470 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp471, 53584); + HEAP32[$agg$tmp593$byval_copy >> 2] = HEAP32[$agg$tmp471 >> 2]; + HEAP32[$agg$tmp593$byval_copy + 4 >> 2] = HEAP32[$agg$tmp471 + 4 >> 2]; + $retval$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseBinaryExprENS_10StringViewE($call470, $agg$tmp593$byval_copy) | 0; break L1; break; } case 76: { - HEAP32[$0 >> 2] = $48 + 2; - $283 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($36, 52744); - HEAP32[$$byval_copy39 >> 2] = HEAP32[$36 >> 2]; - HEAP32[$$byval_copy39 + 4 >> 2] = HEAP32[$36 + 4 >> 2]; - $$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseBinaryExprENS_10StringViewE($283, $$byval_copy39) | 0; + HEAP32[$this >> 2] = $0 + 2; + $call476 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp477, 53586); + HEAP32[$agg$tmp593$byval_copy >> 2] = HEAP32[$agg$tmp477 >> 2]; + HEAP32[$agg$tmp593$byval_copy + 4 >> 2] = HEAP32[$agg$tmp477 + 4 >> 2]; + $retval$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseBinaryExprENS_10StringViewE($call476, $agg$tmp593$byval_copy) | 0; break L1; break; } case 112: { - HEAP32[$0 >> 2] = $48 + 2; - if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($0, 95) | 0) { - $287 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($37, 52747); - HEAP32[$$byval_copy39 >> 2] = HEAP32[$37 >> 2]; - HEAP32[$$byval_copy39 + 4 >> 2] = HEAP32[$37 + 4 >> 2]; - $$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parsePrefixExprENS_10StringViewE($287, $$byval_copy39) | 0; + HEAP32[$this >> 2] = $0 + 2; + if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($this, 95) | 0) { + $call484 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp485, 53589); + HEAP32[$agg$tmp593$byval_copy >> 2] = HEAP32[$agg$tmp485 >> 2]; + HEAP32[$agg$tmp593$byval_copy + 4 >> 2] = HEAP32[$agg$tmp485 + 4 >> 2]; + $retval$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parsePrefixExprENS_10StringViewE($call484, $agg$tmp593$byval_copy) | 0; break L1; } - $290 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseExprEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0) | 0; - HEAP32[$$byval_copy39 >> 2] = $290; - if (!$290) $$23 = 0; else $$23 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_11PostfixExprEJRPNS0_4NodeERA3_KcEEES9_DpOT0_($0, $$byval_copy39, 52747) | 0; - $$49 = $$23; + $call490 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseExprEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0) | 0; + HEAP32[$agg$tmp593$byval_copy >> 2] = $call490; + if (!$call490) $retval$23 = 0; else $retval$23 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_11PostfixExprEJRPNS0_4NodeERA3_KcEEES9_DpOT0_($this, $agg$tmp593$byval_copy, 53589) | 0; + $retval$49 = $retval$23; break L1; break; } case 115: { - HEAP32[$0 >> 2] = $48 + 2; - $294 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($38, 52742); - HEAP32[$$byval_copy39 >> 2] = HEAP32[$38 >> 2]; - HEAP32[$$byval_copy39 + 4 >> 2] = HEAP32[$38 + 4 >> 2]; - $$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parsePrefixExprENS_10StringViewE($294, $$byval_copy39) | 0; + HEAP32[$this >> 2] = $0 + 2; + $call499 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp500, 53584); + HEAP32[$agg$tmp593$byval_copy >> 2] = HEAP32[$agg$tmp500 >> 2]; + HEAP32[$agg$tmp593$byval_copy + 4 >> 2] = HEAP32[$agg$tmp500 + 4 >> 2]; + $retval$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parsePrefixExprENS_10StringViewE($call499, $agg$tmp593$byval_copy) | 0; break L1; break; } case 116: { - HEAP32[$0 >> 2] = $48 + 2; - $297 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0; - $298 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseExprEv($297) | 0; - HEAP32[$$byval_copy39 >> 2] = $298; - if (!$298) $$25 = 0; else { - $300 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseExprEv($297) | 0; - HEAP32[$8 >> 2] = $300; - if (!$300) $$24 = 0; else $$24 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_10MemberExprEJRPNS0_4NodeERA3_KcSA_EEES9_DpOT0_($0, $$byval_copy39, 52750, $8) | 0; - $$25 = $$24; - } - $$49 = $$25; + HEAP32[$this >> 2] = $0 + 2; + $call505 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0; + $call506 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseExprEv($call505) | 0; + HEAP32[$agg$tmp593$byval_copy >> 2] = $call506; + if (!$call506) $retval$25 = 0; else { + $call511 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseExprEv($call505) | 0; + HEAP32[$Ex >> 2] = $call511; + if (!$call511) $retval$24 = 0; else $retval$24 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_10MemberExprEJRPNS0_4NodeERA3_KcSA_EEES9_DpOT0_($this, $agg$tmp593$byval_copy, 53592, $Ex) | 0; + $retval$25 = $retval$24; + } + $retval$49 = $retval$25; break L1; break; } default: { - $$49 = 0; + $retval$49 = 0; break L1; } } @@ -9335,95 +10669,95 @@ function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14Mang } case 113: { - if ((HEAP8[$48 + 1 >> 0] | 0) != 117) { - $$49 = 0; + if ((HEAP8[$0 + 1 >> 0] | 0) != 117) { + $retval$49 = 0; break L1; } - HEAP32[$0 >> 2] = $48 + 2; - $307 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0; - $308 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseExprEv($307) | 0; - HEAP32[$$byval_copy39 >> 2] = $308; - if (!$308) $$28 = 0; else { - $310 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseExprEv($307) | 0; - HEAP32[$8 >> 2] = $310; - if (!$310) $$27 = 0; else { - $312 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseExprEv($307) | 0; - HEAP32[$39 >> 2] = $312; - if (!$312) $$26 = 0; else $$26 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_15ConditionalExprEJRPNS0_4NodeESA_SA_EEES9_DpOT0_($0, $$byval_copy39, $8, $39) | 0; - $$27 = $$26; - } - $$28 = $$27; - } - $$49 = $$28; + HEAP32[$this >> 2] = $0 + 2; + $call527 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0; + $call528 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseExprEv($call527) | 0; + HEAP32[$agg$tmp593$byval_copy >> 2] = $call528; + if (!$call528) $retval$28 = 0; else { + $call534 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseExprEv($call527) | 0; + HEAP32[$Ex >> 2] = $call534; + if (!$call534) $retval$27 = 0; else { + $call540 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseExprEv($call527) | 0; + HEAP32[$RHS538 >> 2] = $call540; + if (!$call540) $retval$26 = 0; else $retval$26 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_15ConditionalExprEJRPNS0_4NodeESA_SA_EEES9_DpOT0_($this, $agg$tmp593$byval_copy, $Ex, $RHS538) | 0; + $retval$27 = $retval$26; + } + $retval$28 = $retval$27; + } + $retval$49 = $retval$28; break L1; break; } case 114: { - switch (HEAP8[$48 + 1 >> 0] | 0) { + switch (HEAP8[$0 + 1 >> 0] | 0) { case 99: { - HEAP32[$0 >> 2] = $48 + 2; - $319 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0; - $320 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseTypeEv($319) | 0; - HEAP32[$$byval_copy39 >> 2] = $320; - if (!$320) $$30 = 0; else { - $322 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseExprEv($319) | 0; - HEAP32[$8 >> 2] = $322; - if (!$322) $$29 = 0; else $$29 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8CastExprEJRA17_KcRPNS0_4NodeESD_EEESC_DpOT0_($0, $$byval_copy39, $8) | 0; - $$30 = $$29; - } - $$49 = $$30; + HEAP32[$this >> 2] = $0 + 2; + $call557 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0; + $call558 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseTypeEv($call557) | 0; + HEAP32[$agg$tmp593$byval_copy >> 2] = $call558; + if (!$call558) $retval$30 = 0; else { + $call564 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseExprEv($call557) | 0; + HEAP32[$Ex >> 2] = $call564; + if (!$call564) $retval$29 = 0; else $retval$29 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8CastExprEJRA17_KcRPNS0_4NodeESD_EEESC_DpOT0_($this, $agg$tmp593$byval_copy, $Ex) | 0; + $retval$30 = $retval$29; + } + $retval$49 = $retval$30; break L1; break; } case 109: { - HEAP32[$0 >> 2] = $48 + 2; - $326 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($40, 52753); - HEAP32[$$byval_copy39 >> 2] = HEAP32[$40 >> 2]; - HEAP32[$$byval_copy39 + 4 >> 2] = HEAP32[$40 + 4 >> 2]; - $$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseBinaryExprENS_10StringViewE($326, $$byval_copy39) | 0; + HEAP32[$this >> 2] = $0 + 2; + $call574 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp575, 53595); + HEAP32[$agg$tmp593$byval_copy >> 2] = HEAP32[$agg$tmp575 >> 2]; + HEAP32[$agg$tmp593$byval_copy + 4 >> 2] = HEAP32[$agg$tmp575 + 4 >> 2]; + $retval$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseBinaryExprENS_10StringViewE($call574, $agg$tmp593$byval_copy) | 0; break L1; break; } case 77: { - HEAP32[$0 >> 2] = $48 + 2; - $329 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($41, 52755); - HEAP32[$$byval_copy39 >> 2] = HEAP32[$41 >> 2]; - HEAP32[$$byval_copy39 + 4 >> 2] = HEAP32[$41 + 4 >> 2]; - $$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseBinaryExprENS_10StringViewE($329, $$byval_copy39) | 0; + HEAP32[$this >> 2] = $0 + 2; + $call580 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp581, 53597); + HEAP32[$agg$tmp593$byval_copy >> 2] = HEAP32[$agg$tmp581 >> 2]; + HEAP32[$agg$tmp593$byval_copy + 4 >> 2] = HEAP32[$agg$tmp581 + 4 >> 2]; + $retval$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseBinaryExprENS_10StringViewE($call580, $agg$tmp593$byval_copy) | 0; break L1; break; } case 115: { - HEAP32[$0 >> 2] = $48 + 2; - $332 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($42, 52758); - HEAP32[$$byval_copy39 >> 2] = HEAP32[$42 >> 2]; - HEAP32[$$byval_copy39 + 4 >> 2] = HEAP32[$42 + 4 >> 2]; - $$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseBinaryExprENS_10StringViewE($332, $$byval_copy39) | 0; + HEAP32[$this >> 2] = $0 + 2; + $call586 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp587, 53600); + HEAP32[$agg$tmp593$byval_copy >> 2] = HEAP32[$agg$tmp587 >> 2]; + HEAP32[$agg$tmp593$byval_copy + 4 >> 2] = HEAP32[$agg$tmp587 + 4 >> 2]; + $retval$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseBinaryExprENS_10StringViewE($call586, $agg$tmp593$byval_copy) | 0; break L1; break; } case 83: { - HEAP32[$0 >> 2] = $48 + 2; - $335 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($43, 52761); - HEAP32[$$byval_copy39 >> 2] = HEAP32[$43 >> 2]; - HEAP32[$$byval_copy39 + 4 >> 2] = HEAP32[$43 + 4 >> 2]; - $$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseBinaryExprENS_10StringViewE($335, $$byval_copy39) | 0; + HEAP32[$this >> 2] = $0 + 2; + $call592 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp593, 53603); + HEAP32[$agg$tmp593$byval_copy >> 2] = HEAP32[$agg$tmp593 >> 2]; + HEAP32[$agg$tmp593$byval_copy + 4 >> 2] = HEAP32[$agg$tmp593 + 4 >> 2]; + $retval$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseBinaryExprENS_10StringViewE($call592, $agg$tmp593$byval_copy) | 0; break L1; break; } default: { - $$49 = 0; + $retval$49 = 0; break L1; } } @@ -9431,84 +10765,84 @@ function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14Mang } case 115: { - switch (HEAP8[$48 + 1 >> 0] | 0) { + switch (HEAP8[$0 + 1 >> 0] | 0) { case 99: { - HEAP32[$0 >> 2] = $48 + 2; - $341 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0; - $342 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseTypeEv($341) | 0; - HEAP32[$$byval_copy39 >> 2] = $342; - if (!$342) $$32 = 0; else { - $344 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseExprEv($341) | 0; - HEAP32[$8 >> 2] = $344; - if (!$344) $$31 = 0; else $$31 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8CastExprEJRA12_KcRPNS0_4NodeESD_EEESC_DpOT0_($0, $$byval_copy39, $8) | 0; - $$32 = $$31; - } - $$49 = $$32; + HEAP32[$this >> 2] = $0 + 2; + $call604 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0; + $call605 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseTypeEv($call604) | 0; + HEAP32[$agg$tmp593$byval_copy >> 2] = $call605; + if (!$call605) $retval$32 = 0; else { + $call611 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseExprEv($call604) | 0; + HEAP32[$Ex >> 2] = $call611; + if (!$call611) $retval$31 = 0; else $retval$31 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8CastExprEJRA12_KcRPNS0_4NodeESD_EEESC_DpOT0_($this, $agg$tmp593$byval_copy, $Ex) | 0; + $retval$32 = $retval$31; + } + $retval$49 = $retval$32; break L1; break; } case 112: { - HEAP32[$0 >> 2] = $48 + 2; - $349 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseExprEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0) | 0; - HEAP32[$$byval_copy39 >> 2] = $349; - if (!$349) $$33 = 0; else $$33 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_22ParameterPackExpansionEJRPNS0_4NodeEEEES9_DpOT0_($0, $$byval_copy39) | 0; - $$49 = $$33; + HEAP32[$this >> 2] = $0 + 2; + $call622 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseExprEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0) | 0; + HEAP32[$agg$tmp593$byval_copy >> 2] = $call622; + if (!$call622) $retval$33 = 0; else $retval$33 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_22ParameterPackExpansionEJRPNS0_4NodeEEEES9_DpOT0_($this, $agg$tmp593$byval_copy) | 0; + $retval$49 = $retval$33; break L1; break; } case 114: { - $$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E19parseUnresolvedNameEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0) | 0; + $retval$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E19parseUnresolvedNameEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0) | 0; break L1; break; } case 116: { - HEAP32[$0 >> 2] = $48 + 2; - $356 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseTypeEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0) | 0; - HEAP32[$$byval_copy39 >> 2] = $356; - if (!$356) $$34 = 0; else $$34 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_13EnclosingExprEJRA9_KcRPNS0_4NodeERA2_S8_EEESC_DpOT0_($0, 52765, $$byval_copy39) | 0; - $$49 = $$34; + HEAP32[$this >> 2] = $0 + 2; + $call636 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseTypeEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0) | 0; + HEAP32[$agg$tmp593$byval_copy >> 2] = $call636; + if (!$call636) $retval$34 = 0; else $retval$34 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_13EnclosingExprEJRA9_KcRPNS0_4NodeERA2_S8_EEESC_DpOT0_($this, 53607, $agg$tmp593$byval_copy) | 0; + $retval$49 = $retval$34; break L1; break; } case 122: { - HEAP32[$0 >> 2] = $48 + 2; - $361 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseExprEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0) | 0; - HEAP32[$$byval_copy39 >> 2] = $361; - if (!$361) $$35 = 0; else $$35 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_13EnclosingExprEJRA9_KcRPNS0_4NodeERA2_S8_EEESC_DpOT0_($0, 52765, $$byval_copy39) | 0; - $$49 = $$35; + HEAP32[$this >> 2] = $0 + 2; + $call647 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseExprEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0) | 0; + HEAP32[$agg$tmp593$byval_copy >> 2] = $call647; + if (!$call647) $retval$35 = 0; else $retval$35 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_13EnclosingExprEJRA9_KcRPNS0_4NodeERA2_S8_EEESC_DpOT0_($this, 53607, $agg$tmp593$byval_copy) | 0; + $retval$49 = $retval$35; break L1; break; } case 90: { - HEAP32[$0 >> 2] = $48 + 2; - switch ((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($0, 0) | 0) << 24 >> 24) { + HEAP32[$this >> 2] = $0 + 2; + switch ((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($this, 0) | 0) << 24 >> 24) { case 84: { - $367 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E18parseTemplateParamEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0) | 0; - HEAP32[$$byval_copy39 >> 2] = $367; - if (!$367) $$36 = 0; else $$36 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_19SizeofParamPackExprEJRPNS0_4NodeEEEES9_DpOT0_($0, $$byval_copy39) | 0; - $$49 = $$36; + $call662 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E18parseTemplateParamEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0) | 0; + HEAP32[$agg$tmp593$byval_copy >> 2] = $call662; + if (!$call662) $retval$36 = 0; else $retval$36 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_19SizeofParamPackExprEJRPNS0_4NodeEEEES9_DpOT0_($this, $agg$tmp593$byval_copy) | 0; + $retval$49 = $retval$36; break L1; break; } case 102: { - $371 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E18parseFunctionParamEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0) | 0; - HEAP32[$$byval_copy39 >> 2] = $371; - if (!$371) $$37 = 0; else $$37 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_13EnclosingExprEJRA12_KcRPNS0_4NodeERA2_S8_EEESC_DpOT0_($0, $$byval_copy39) | 0; - $$49 = $$37; + $call673 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E18parseFunctionParamEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0) | 0; + HEAP32[$agg$tmp593$byval_copy >> 2] = $call673; + if (!$call673) $retval$37 = 0; else $retval$37 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_13EnclosingExprEJRA12_KcRPNS0_4NodeERA2_S8_EEESC_DpOT0_($this, $agg$tmp593$byval_copy) | 0; + $retval$49 = $retval$37; break L1; break; } default: { - $$49 = 0; + $retval$49 = 0; break L1; } } @@ -9516,37 +10850,37 @@ function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14Mang } case 80: { - HEAP32[$0 >> 2] = $48 + 2; - $375 = $0 + 8 | 0; - $376 = __ZNK12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE4sizeEv($375) | 0; + HEAP32[$this >> 2] = $0 + 2; + $Names684 = $this + 8 | 0; + $call685 = __ZNK12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE4sizeEv($Names684) | 0; while (1) { - if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($0, 69) | 0) { + if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($this, 69) | 0) { label = 172; break; } - $379 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E16parseTemplateArgEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0) | 0; - HEAP32[$$byval_copy39 >> 2] = $379; - if (!$379) { + $call691 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E16parseTemplateArgEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0) | 0; + HEAP32[$agg$tmp593$byval_copy >> 2] = $call691; + if (!$call691) { label = 171; break; } - __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE9push_backERKS3_($375, $$byval_copy39); + __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE9push_backERKS3_($Names684, $agg$tmp593$byval_copy); } if ((label | 0) == 171) { - $$49 = 0; + $retval$49 = 0; break L1; } else if ((label | 0) == 172) { - __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E20popTrailingNodeArrayEm($8, $0, $376); - $381 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_13NodeArrayNodeEJNS0_9NodeArrayEEEEPNS0_4NodeEDpOT0_($0, $8) | 0; - HEAP32[$$byval_copy39 >> 2] = $381; - $$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_13EnclosingExprEJRA12_KcRPNS0_4NodeERA2_S8_EEESC_DpOT0_($0, $$byval_copy39) | 0; + __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E20popTrailingNodeArrayEm($Ex, $this, $call685); + $call701 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_13NodeArrayNodeEJNS0_9NodeArrayEEEEPNS0_4NodeEDpOT0_($this, $Ex) | 0; + HEAP32[$agg$tmp593$byval_copy >> 2] = $call701; + $retval$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_13EnclosingExprEJRA12_KcRPNS0_4NodeERA2_S8_EEESC_DpOT0_($this, $agg$tmp593$byval_copy) | 0; break L1; } break; } default: { - $$49 = 0; + $retval$49 = 0; break L1; } } @@ -9554,82 +10888,82 @@ function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14Mang } case 116: { - switch (HEAP8[$48 + 1 >> 0] | 0) { + switch (HEAP8[$0 + 1 >> 0] | 0) { case 101: { - HEAP32[$0 >> 2] = $48 + 2; - $388 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseExprEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0) | 0; - HEAP32[$$byval_copy39 >> 2] = $388; - if (!$388) $$42 = 0; else $$42 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_13EnclosingExprEJRA9_KcRPNS0_4NodeERA2_S8_EEESC_DpOT0_($0, 52774, $$byval_copy39) | 0; - $$49 = $$42; + HEAP32[$this >> 2] = $0 + 2; + $call718 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseExprEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0) | 0; + HEAP32[$agg$tmp593$byval_copy >> 2] = $call718; + if (!$call718) $retval$42 = 0; else $retval$42 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_13EnclosingExprEJRA9_KcRPNS0_4NodeERA2_S8_EEESC_DpOT0_($this, 53616, $agg$tmp593$byval_copy) | 0; + $retval$49 = $retval$42; break L1; break; } case 105: { - HEAP32[$0 >> 2] = $48 + 2; - $393 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseTypeEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0) | 0; - HEAP32[$$byval_copy39 >> 2] = $393; - if (!$393) $$43 = 0; else $$43 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_13EnclosingExprEJRA9_KcRPNS0_4NodeERA2_S8_EEESC_DpOT0_($0, 52774, $$byval_copy39) | 0; - $$49 = $$43; + HEAP32[$this >> 2] = $0 + 2; + $call729 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseTypeEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0) | 0; + HEAP32[$agg$tmp593$byval_copy >> 2] = $call729; + if (!$call729) $retval$43 = 0; else $retval$43 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_13EnclosingExprEJRA9_KcRPNS0_4NodeERA2_S8_EEESC_DpOT0_($this, 53616, $agg$tmp593$byval_copy) | 0; + $retval$49 = $retval$43; break L1; break; } case 108: { - HEAP32[$0 >> 2] = $48 + 2; - $397 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0; - $398 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseTypeEv($397) | 0; - HEAP32[$$byval_copy39 >> 2] = $398; - do if ($398) { - $400 = $0 + 8 | 0; - $401 = __ZNK12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE4sizeEv($400) | 0; + HEAP32[$this >> 2] = $0 + 2; + $call739 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0; + $call740 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseTypeEv($call739) | 0; + HEAP32[$agg$tmp593$byval_copy >> 2] = $call740; + do if ($call740) { + $Names745 = $this + 8 | 0; + $call746 = __ZNK12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE4sizeEv($Names745) | 0; while (1) { - if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($0, 69) | 0) { + if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($this, 69) | 0) { label = 186; break; } - $403 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseBracedExprEv($397) | 0; - HEAP32[$8 >> 2] = $403; - if (!$403) { + $call753 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseBracedExprEv($call739) | 0; + HEAP32[$Ex >> 2] = $call753; + if (!$call753) { label = 185; break; } - __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE9push_backERKS3_($400, $8); + __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE9push_backERKS3_($Names745, $Ex); } if ((label | 0) == 185) { - $$47 = 0; + $retval$47 = 0; break; } else if ((label | 0) == 186) { - __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E20popTrailingNodeArrayEm($8, $0, $401); - $$47 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_12InitListExprEJRPNS0_4NodeENS0_9NodeArrayEEEES9_DpOT0_($0, $$byval_copy39, $8) | 0; + __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E20popTrailingNodeArrayEm($Ex, $this, $call746); + $retval$47 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_12InitListExprEJRPNS0_4NodeENS0_9NodeArrayEEEES9_DpOT0_($this, $agg$tmp593$byval_copy, $Ex) | 0; break; } - } else $$47 = 0; while (0); - $$49 = $$47; + } else $retval$47 = 0; while (0); + $retval$49 = $retval$47; break L1; break; } case 114: { - HEAP32[$0 >> 2] = $48 + 2; - $$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA6_KcEEEPNS0_4NodeEDpOT0_($0, 52783) | 0; + HEAP32[$this >> 2] = $0 + 2; + $retval$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA6_KcEEEPNS0_4NodeEDpOT0_($this, 53625) | 0; break L1; break; } case 119: { - HEAP32[$0 >> 2] = $48 + 2; - $410 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseExprEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0) | 0; - HEAP32[$$byval_copy39 >> 2] = $410; - if (!$410) $$48 = 0; else $$48 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_9ThrowExprEJRPNS0_4NodeEEEES9_DpOT0_($0, $$byval_copy39) | 0; - $$49 = $$48; + HEAP32[$this >> 2] = $0 + 2; + $call775 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseExprEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0) | 0; + HEAP32[$agg$tmp593$byval_copy >> 2] = $call775; + if (!$call775) $retval$48 = 0; else $retval$48 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_9ThrowExprEJRPNS0_4NodeEEEES9_DpOT0_($this, $agg$tmp593$byval_copy) | 0; + $retval$49 = $retval$48; break L1; break; } default: { - $$49 = 0; + $retval$49 = 0; break L1; } } @@ -9645,5671 +10979,5636 @@ function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14Mang case 50: case 49: { - $$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E19parseUnresolvedNameEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0) | 0; + $retval$49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E19parseUnresolvedNameEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0) | 0; break L1; break; } default: { - $$49 = 0; + $retval$49 = 0; break L1; } } while (0); } while (0); STACKTOP = sp; - return $$49 | 0; + return $retval$49 | 0; } -function _arPattGetImage2($0, $1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - $6 = $6 | 0; - $7 = $7 | 0; - $8 = $8 | 0; - $9 = $9 | 0; - $10 = +$10; - $11 = $11 | 0; - var $$0 = 0, $$01442 = 0, $$01443 = 0, $$01464 = 0, $$01468 = 0, $$01474 = 0, $$01495 = 0, $$1 = 0, $$10 = 0, $$101453 = 0, $$101484 = 0, $$101505 = 0, $$11 = 0, $$111454 = 0, $$111485 = 0, $$111506 = 0, $$11444 = 0, $$11465 = 0, $$11469 = 0, $$11475 = 0, $$11496 = 0, $$12 = 0, $$121455 = 0, $$121486 = 0, $$121507 = 0, $$13 = 0, $$131456 = 0, $$131487 = 0, $$131508 = 0, $$14 = 0, $$141457 = 0, $$141488 = 0, $$141509 = 0, $$15 = 0, $$151458 = 0, $$151489 = 0, $$151510 = 0, $$16 = 0, $$161459 = 0, $$161490 = 0, $$161511 = 0, $$17 = 0, $$171460 = 0, $$171491 = 0, $$171512 = 0, $$18 = 0, $$181461 = 0, $$181492 = 0, $$181513 = 0, $$19 = 0, $$191462 = 0, $$191493 = 0, $$191514 = 0, $$2 = 0, $$20 = 0, $$201463 = 0, $$201494 = 0, $$201515 = 0, $$21 = 0, $$21445 = 0, $$21466 = 0, $$21470 = 0, $$21476 = 0, $$21497 = 0, $$22 = 0, $$23 = 0, $$3 = 0, $$31446 = 0, $$31471 = 0, $$31477 = 0, $$31498 = 0, $$4 = 0, $$41447 = 0, $$41478 = 0, $$41499 = 0, $$5 = 0, $$51448 = 0, $$51479 = 0, $$51500 = 0, $$6 = 0, $$61449 = 0, $$61480 = 0, $$61501 = 0, $$7 = 0, $$71450 = 0, $$71481 = 0, $$71502 = 0, $$8 = 0, $$81451 = 0, $$81482 = 0, $$81503 = 0, $$9 = 0, $$91452 = 0, $$91483 = 0, $$91504 = 0, $101 = 0, $1016 = 0, $102 = 0, $1026 = 0, $1032 = 0.0, $1038 = 0.0, $1039 = 0.0, $1043 = 0, $1049 = 0, $105 = 0.0, $1053 = 0, $1055 = 0, $106 = 0.0, $1061 = 0, $1062 = 0, $1066 = 0, $1070 = 0, $1074 = 0, $1077 = 0, $108 = 0, $1082 = 0.0, $1083 = 0.0, $1084 = 0.0, $1085 = 0, $1086 = 0, $1087 = 0, $1088 = 0, $1089 = 0, $109 = 0, $1090 = 0, $1091 = 0, $1092 = 0, $1093 = 0, $1099 = 0.0, $110 = 0, $1105 = 0.0, $1112 = 0.0, $112 = 0.0, $1122 = 0.0, $113 = 0.0, $1131 = 0.0, $1132 = 0.0, $114 = 0.0, $115 = 0, $1153 = 0, $1156 = 0, $116 = 0, $1164 = 0, $1165 = 0, $1169 = 0, $117 = 0, $1178 = 0, $118 = 0, $1185 = 0, $119 = 0, $1190 = 0.0, $1191 = 0.0, $1192 = 0.0, $1193 = 0, $1194 = 0, $1195 = 0, $1196 = 0, $1197 = 0, $1198 = 0, $1199 = 0, $12 = 0, $120 = 0, $1200 = 0, $1201 = 0, $1207 = 0.0, $121 = 0, $1213 = 0.0, $122 = 0, $1220 = 0.0, $123 = 0, $1230 = 0.0, $1239 = 0.0, $1240 = 0.0, $1261 = 0, $1264 = 0, $1272 = 0, $1273 = 0, $1277 = 0, $1286 = 0, $129 = 0.0, $1293 = 0, $1298 = 0.0, $1299 = 0.0, $13 = 0, $1300 = 0.0, $1301 = 0, $1302 = 0, $1303 = 0, $1304 = 0, $1305 = 0, $1306 = 0, $1307 = 0, $1308 = 0, $1309 = 0, $1315 = 0.0, $1321 = 0.0, $1328 = 0.0, $1338 = 0.0, $1347 = 0.0, $1348 = 0.0, $135 = 0.0, $1369 = 0, $1380 = 0, $1381 = 0, $1385 = 0, $1390 = 0, $1397 = 0, $14 = 0, $1402 = 0, $1409 = 0, $1412 = 0.0, $1413 = 0.0, $1414 = 0.0, $1415 = 0, $1416 = 0, $1417 = 0, $1418 = 0, $1419 = 0, $142 = 0.0, $1420 = 0, $1421 = 0, $1422 = 0, $1423 = 0, $1429 = 0.0, $1435 = 0.0, $1442 = 0.0, $1452 = 0.0, $1461 = 0.0, $1462 = 0.0, $1483 = 0, $15 = 0, $1502 = 0, $1509 = 0.0, $1510 = 0.0, $1511 = 0.0, $1512 = 0, $1513 = 0, $1514 = 0, $1515 = 0, $1516 = 0, $1517 = 0, $1518 = 0, $1519 = 0, $152 = 0.0, $1520 = 0, $1526 = 0.0, $1532 = 0.0, $1539 = 0.0, $1549 = 0.0, $1558 = 0.0, $1559 = 0.0, $1580 = 0, $1599 = 0, $16 = 0, $1606 = 0.0, $1607 = 0.0, $1608 = 0.0, $1609 = 0, $161 = 0.0, $1610 = 0, $1611 = 0, $1612 = 0, $1613 = 0, $1614 = 0, $1615 = 0, $1616 = 0, $1617 = 0, $162 = 0.0, $1623 = 0.0, $1629 = 0.0, $1636 = 0.0, $1646 = 0.0, $1655 = 0.0, $1656 = 0.0, $1677 = 0, $1697 = 0, $1702 = 0.0, $1703 = 0.0, $1704 = 0.0, $1705 = 0, $1706 = 0, $1707 = 0, $1708 = 0, $1709 = 0, $1710 = 0, $1711 = 0, $1712 = 0, $1713 = 0, $1719 = 0.0, $1725 = 0.0, $1732 = 0.0, $1742 = 0.0, $1751 = 0.0, $1752 = 0.0, $1773 = 0, $1780 = 0, $1785 = 0.0, $1786 = 0.0, $1787 = 0.0, $1788 = 0, $1789 = 0, $1790 = 0, $1791 = 0, $1792 = 0, $1793 = 0, $1794 = 0, $1795 = 0, $1796 = 0, $1802 = 0.0, $1808 = 0.0, $1815 = 0.0, $1825 = 0.0, $183 = 0, $1834 = 0.0, $1835 = 0.0, $1858 = 0, $1865 = 0, $1870 = 0.0, $1871 = 0.0, $1872 = 0.0, $1873 = 0, $1874 = 0, $1875 = 0, $1876 = 0, $1877 = 0, $1878 = 0, $1879 = 0, $1880 = 0, $1881 = 0, $1887 = 0.0, $1893 = 0.0, $1900 = 0.0, $1910 = 0.0, $1919 = 0.0, $192 = 0, $1920 = 0.0, $193 = 0, $1942 = 0, $1949 = 0, $1954 = 0.0, $1955 = 0.0, $1956 = 0.0, $1957 = 0, $1958 = 0, $1959 = 0, $1960 = 0, $1961 = 0, $1962 = 0, $1963 = 0, $1964 = 0, $1965 = 0, $1971 = 0.0, $1977 = 0.0, $1984 = 0.0, $1994 = 0.0, $2003 = 0.0, $2004 = 0.0, $201 = 0, $2025 = 0, $2028 = 0, $2036 = 0, $2051 = 0, $2056 = 0.0, $2057 = 0.0, $2058 = 0.0, $2059 = 0, $2060 = 0, $2061 = 0, $2062 = 0, $2063 = 0, $2064 = 0, $2065 = 0, $2066 = 0, $2067 = 0, $2073 = 0.0, $2079 = 0.0, $208 = 0, $2086 = 0.0, $2096 = 0.0, $2105 = 0.0, $2106 = 0.0, $2127 = 0, $213 = 0.0, $2130 = 0, $2138 = 0, $214 = 0.0, $215 = 0.0, $2153 = 0, $2158 = 0.0, $2159 = 0.0, $216 = 0, $2160 = 0.0, $2161 = 0, $2162 = 0, $2163 = 0, $2164 = 0, $2165 = 0, $2166 = 0, $2167 = 0, $2168 = 0, $2169 = 0, $217 = 0, $2175 = 0.0, $218 = 0, $2181 = 0.0, $2188 = 0.0, $219 = 0, $2198 = 0.0, $220 = 0, $2207 = 0.0, $2208 = 0.0, $221 = 0, $222 = 0, $2229 = 0, $223 = 0, $2232 = 0, $224 = 0, $2251 = 0, $2256 = 0, $2263 = 0, $230 = 0.0, $236 = 0.0, $243 = 0.0, $253 = 0.0, $262 = 0.0, $263 = 0.0, $284 = 0, $292 = 0, $293 = 0, $301 = 0, $309 = 0, $31 = 0.0, $314 = 0.0, $315 = 0.0, $316 = 0.0, $317 = 0, $318 = 0, $319 = 0, $320 = 0, $321 = 0, $322 = 0, $323 = 0, $324 = 0, $325 = 0, $33 = 0.0, $331 = 0.0, $337 = 0.0, $34 = 0.0, $344 = 0.0, $354 = 0.0, $363 = 0.0, $364 = 0.0, $37 = 0.0, $385 = 0, $39 = 0.0, $394 = 0, $395 = 0, $40 = 0.0, $403 = 0, $410 = 0, $415 = 0.0, $416 = 0.0, $417 = 0.0, $418 = 0, $419 = 0, $420 = 0, $421 = 0, $422 = 0, $423 = 0, $424 = 0, $425 = 0, $426 = 0, $43 = 0, $432 = 0.0, $438 = 0.0, $445 = 0.0, $45 = 0.0, $455 = 0.0, $464 = 0.0, $465 = 0.0, $47 = 0.0, $48 = 0.0, $486 = 0, $494 = 0, $495 = 0, $503 = 0, $51 = 0.0, $511 = 0, $516 = 0.0, $517 = 0.0, $518 = 0.0, $519 = 0, $520 = 0, $521 = 0, $522 = 0, $523 = 0, $524 = 0, $525 = 0, $526 = 0, $527 = 0, $53 = 0.0, $533 = 0.0, $539 = 0.0, $54 = 0.0, $546 = 0.0, $556 = 0.0, $565 = 0.0, $566 = 0.0, $57 = 0, $58 = 0.0, $587 = 0, $596 = 0, $597 = 0, $60 = 0.0, $605 = 0, $613 = 0, $618 = 0.0, $619 = 0.0, $620 = 0.0, $621 = 0, $622 = 0, $623 = 0, $624 = 0, $625 = 0, $626 = 0, $627 = 0, $628 = 0, $629 = 0, $63 = 0, $635 = 0.0, $64 = 0.0, $641 = 0.0, $648 = 0.0, $658 = 0.0, $66 = 0.0, $667 = 0.0, $668 = 0.0, $689 = 0, $69 = 0, $691 = 0, $696 = 0, $697 = 0, $701 = 0, $705 = 0, $710 = 0.0, $711 = 0.0, $712 = 0.0, $713 = 0, $714 = 0, $715 = 0, $716 = 0, $717 = 0, $718 = 0, $719 = 0, $720 = 0, $721 = 0, $727 = 0.0, $733 = 0.0, $740 = 0.0, $75 = 0, $750 = 0.0, $759 = 0.0, $760 = 0.0, $781 = 0, $79 = 0, $790 = 0, $791 = 0, $799 = 0, $807 = 0, $812 = 0.0, $813 = 0.0, $814 = 0.0, $815 = 0, $816 = 0, $817 = 0, $818 = 0, $819 = 0, $820 = 0, $821 = 0, $822 = 0, $823 = 0, $829 = 0.0, $835 = 0.0, $842 = 0.0, $852 = 0.0, $861 = 0.0, $862 = 0.0, $881 = 0, $884 = 0, $889 = 0.0, $903 = 0.0, $904 = 0.0, $908 = 0, $914 = 0, $918 = 0, $920 = 0, $926 = 0, $927 = 0, $931 = 0, $935 = 0, $939 = 0, $942 = 0, $947 = 0.0, $948 = 0.0, $949 = 0.0, $950 = 0, $951 = 0, $952 = 0, $953 = 0, $954 = 0, $955 = 0, $956 = 0, $957 = 0, $958 = 0, $964 = 0.0, $970 = 0.0, $977 = 0.0, $987 = 0.0, $996 = 0.0, $997 = 0.0, $spec$select1520 = 0, $vararg_buffer = 0, $vararg_buffer1 = 0, $vararg_buffer3 = 0, $vararg_buffer5 = 0, label = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 256 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(256); - $vararg_buffer5 = sp + 232 | 0; - $vararg_buffer3 = sp + 224 | 0; - $vararg_buffer1 = sp + 216 | 0; - $vararg_buffer = sp + 208 | 0; - $12 = sp + 144 | 0; - $13 = sp + 80 | 0; - $14 = sp; - $15 = sp + 240 | 0; - $16 = sp + 236 | 0; - HEAPF64[$12 >> 3] = 100.0; - HEAPF64[$12 + 8 >> 3] = 100.0; - HEAPF64[$12 + 16 >> 3] = 110.0; - HEAPF64[$12 + 24 >> 3] = 100.0; - HEAPF64[$12 + 32 >> 3] = 110.0; - HEAPF64[$12 + 40 >> 3] = 110.0; - HEAPF64[$12 + 48 >> 3] = 100.0; - HEAPF64[$12 + 56 >> 3] = 110.0; - $$01474 = 0; - while (1) { - if (($$01474 | 0) == 4) break; - HEAPF64[$13 + ($$01474 << 4) >> 3] = +HEAPF64[$9 + ($$01474 << 4) >> 3]; - HEAPF64[$13 + ($$01474 << 4) + 8 >> 3] = +HEAPF64[$9 + ($$01474 << 4) + 8 >> 3]; - $$01474 = $$01474 + 1 | 0; - } - _get_cpara($12, $13, $14); - $31 = +HEAPF64[$13 >> 3]; - $33 = +HEAPF64[$13 + 16 >> 3]; - $34 = $31 - $33; - $37 = +HEAPF64[$13 + 8 >> 3]; - $39 = +HEAPF64[$13 + 24 >> 3]; - $40 = $37 - $39; - $43 = ~~($34 * $34 + $40 * $40); - $45 = +HEAPF64[$13 + 32 >> 3]; - $47 = +HEAPF64[$13 + 48 >> 3]; - $48 = $45 - $47; - $51 = +HEAPF64[$13 + 40 >> 3]; - $53 = +HEAPF64[$13 + 56 >> 3]; - $54 = $51 - $53; - $57 = ~~($48 * $48 + $54 * $54); - $58 = $33 - $45; - $60 = $39 - $51; - $63 = ~~($58 * $58 + $60 * $60); - $64 = $47 - $31; - $66 = $53 - $37; - $69 = ~~($64 * $64 + $66 * $66); - $75 = ~~(+((($57 | 0) > ($43 | 0) ? $57 : $43) | 0) * $10 * $10); - $79 = ~~(+((($69 | 0) > ($63 | 0) ? $69 : $63) | 0) * $10 * $10); - if (!$0) { - $$01464 = $2; - while (1) if (($$01464 | 0) < ($3 | 0) & (Math_imul($$01464, $$01464) | 0) < ($75 | 0)) $$01464 = $$01464 << 1; else break; - $$01468 = $2; - while (1) if (($$01468 | 0) < ($3 | 0) & (Math_imul($$01468, $$01468) | 0) < ($79 | 0)) $$01468 = $$01468 << 1; else { - $$21466 = $$01464; - $$21470 = $$01468; - break; - } - } else { - $$11465 = $2; - while (1) if (($$11465 | 0) < ($3 | 0) & (Math_imul($$11465 << 2, $$11465) | 0) < ($75 | 0)) $$11465 = $$11465 << 1; else break; - $$11469 = $2; - while (1) if (($$11469 | 0) < ($3 | 0) & (Math_imul($$11469 << 2, $$11469) | 0) < ($79 | 0)) $$11469 = $$11469 << 1; else { - $$21466 = $$11465; - $$21470 = $$11469; - break; - } - } - $spec$select1520 = ($$21466 | 0) > ($3 | 0) ? $3 : $$21466; - $$31471 = ($$21470 | 0) > ($3 | 0) ? $3 : $$21470; - $101 = ($spec$select1520 | 0) / ($2 | 0) | 0; - $102 = ($$31471 | 0) / ($2 | 0) | 0; - $105 = (1.0 - $10) * .5 * 10.0; - $106 = $10 * 10.0; - $108 = Math_imul($2, $2) | 0; - L19 : do if (!$1) { - $109 = $108 * 3 | 0; - $110 = _calloc($109, 4) | 0; - if (!$110) { - _arLog(0, 3, 45930, $vararg_buffer); - _exit(1); - } - L24 : do switch ($7 | 0) { - case 0: - { - $112 = $105 + 100.0; - $113 = +($$31471 | 0); - $114 = +($spec$select1520 | 0); - $115 = $14 + 48 | 0; - $116 = $14 + 56 | 0; - $117 = $14 + 64 | 0; - $118 = $14 + 8 | 0; - $119 = $14 + 16 | 0; - $120 = $14 + 24 | 0; - $121 = $14 + 32 | 0; - $122 = $14 + 40 | 0; - $123 = ($0 | 0) == 1; - $$01495 = 0; - while (1) { - if (($$01495 | 0) >= ($$31471 | 0)) break L24; - $129 = $112 + $106 * (+($$01495 | 0) + .5) / $113; - $$11475 = 0; - while (1) { - if (($$11475 | 0) >= ($spec$select1520 | 0)) break; - $135 = $112 + $106 * (+($$11475 | 0) + .5) / $114; - $142 = +HEAPF64[$117 >> 3] + ($135 * +HEAPF64[$115 >> 3] + $129 * +HEAPF64[$116 >> 3]); - if ($142 == 0.0) { - $2263 = $110; - label = 306; - break L19; - } - $152 = (+HEAPF64[$119 >> 3] + ($135 * +HEAPF64[$14 >> 3] + $129 * +HEAPF64[$118 >> 3])) / $142; - HEAPF32[$15 >> 2] = $152; - $161 = (+HEAPF64[$122 >> 3] + ($135 * +HEAPF64[$120 >> 3] + $129 * +HEAPF64[$121 >> 3])) / $142; - HEAPF32[$16 >> 2] = $161; - _arParamIdeal2ObservLTf($8, $152, $161, $15, $16) | 0; - $162 = +HEAPF32[$15 >> 2]; - if ($123) { - $$01442 = ((~~($162 + 1.0) | 0) / 2 | 0) << 1; - $$01443 = ((~~(+HEAPF32[$16 >> 2] + 1.0) | 0) / 2 | 0) << 1; - } else { - $$01442 = ~~($162 + .5); - $$01443 = ~~(+HEAPF32[$16 >> 2] + .5); - } - if (($$01442 | 0) > -1 ? ($$01443 | 0) < ($6 | 0) & (($$01443 | 0) > -1 & ($$01442 | 0) < ($5 | 0)) : 0) { - $183 = ((Math_imul($$01443, $5) | 0) + $$01442 | 0) * 3 | 0; - $192 = ((Math_imul(($$01495 | 0) / ($102 | 0) | 0, $2) | 0) + (($$11475 | 0) / ($101 | 0) | 0) | 0) * 3 | 0; - $193 = $110 + ($192 << 2) | 0; - HEAP32[$193 >> 2] = (HEAP32[$193 >> 2] | 0) + (HEAPU8[$4 + ($183 + 2) >> 0] | 0); - $201 = $110 + ($192 + 1 << 2) | 0; - HEAP32[$201 >> 2] = (HEAP32[$201 >> 2] | 0) + (HEAPU8[$4 + ($183 + 1) >> 0] | 0); - $208 = $110 + ($192 + 2 << 2) | 0; - HEAP32[$208 >> 2] = (HEAP32[$208 >> 2] | 0) + (HEAPU8[$4 + $183 >> 0] | 0); - } - $$11475 = $$11475 + 1 | 0; - } - $$01495 = $$01495 + 1 | 0; - } - break; - } - case 1: - { - $213 = $105 + 100.0; - $214 = +($$31471 | 0); - $215 = +($spec$select1520 | 0); - $216 = $14 + 48 | 0; - $217 = $14 + 56 | 0; - $218 = $14 + 64 | 0; - $219 = $14 + 8 | 0; - $220 = $14 + 16 | 0; - $221 = $14 + 24 | 0; - $222 = $14 + 32 | 0; - $223 = $14 + 40 | 0; - $224 = ($0 | 0) == 1; - $$11496 = 0; - while (1) { - if (($$11496 | 0) >= ($$31471 | 0)) break L24; - $230 = $213 + $106 * (+($$11496 | 0) + .5) / $214; - $$21476 = 0; - while (1) { - if (($$21476 | 0) >= ($spec$select1520 | 0)) break; - $236 = $213 + $106 * (+($$21476 | 0) + .5) / $215; - $243 = +HEAPF64[$218 >> 3] + ($236 * +HEAPF64[$216 >> 3] + $230 * +HEAPF64[$217 >> 3]); - if ($243 == 0.0) { - $2263 = $110; - label = 306; - break L19; - } - $253 = (+HEAPF64[$220 >> 3] + ($236 * +HEAPF64[$14 >> 3] + $230 * +HEAPF64[$219 >> 3])) / $243; - HEAPF32[$15 >> 2] = $253; - $262 = (+HEAPF64[$223 >> 3] + ($236 * +HEAPF64[$221 >> 3] + $230 * +HEAPF64[$222 >> 3])) / $243; - HEAPF32[$16 >> 2] = $262; - _arParamIdeal2ObservLTf($8, $253, $262, $15, $16) | 0; - $263 = +HEAPF32[$15 >> 2]; - if ($224) { - $$1 = ((~~($263 + 1.0) | 0) / 2 | 0) << 1; - $$11444 = ((~~(+HEAPF32[$16 >> 2] + 1.0) | 0) / 2 | 0) << 1; - } else { - $$1 = ~~($263 + .5); - $$11444 = ~~(+HEAPF32[$16 >> 2] + .5); - } - if (($$1 | 0) > -1 ? ($$11444 | 0) < ($6 | 0) & (($$11444 | 0) > -1 & ($$1 | 0) < ($5 | 0)) : 0) { - $284 = ((Math_imul($$11444, $5) | 0) + $$1 | 0) * 3 | 0; - $292 = ((Math_imul(($$11496 | 0) / ($102 | 0) | 0, $2) | 0) + (($$21476 | 0) / ($101 | 0) | 0) | 0) * 3 | 0; - $293 = $110 + ($292 << 2) | 0; - HEAP32[$293 >> 2] = (HEAP32[$293 >> 2] | 0) + (HEAPU8[$4 + $284 >> 0] | 0); - $301 = $110 + ($292 + 1 << 2) | 0; - HEAP32[$301 >> 2] = (HEAP32[$301 >> 2] | 0) + (HEAPU8[$4 + ($284 + 1) >> 0] | 0); - $309 = $110 + ($292 + 2 << 2) | 0; - HEAP32[$309 >> 2] = (HEAP32[$309 >> 2] | 0) + (HEAPU8[$4 + ($284 + 2) >> 0] | 0); - } - $$21476 = $$21476 + 1 | 0; - } - $$11496 = $$11496 + 1 | 0; - } - break; - } - case 2: - { - $314 = $105 + 100.0; - $315 = +($$31471 | 0); - $316 = +($spec$select1520 | 0); - $317 = $14 + 48 | 0; - $318 = $14 + 56 | 0; - $319 = $14 + 64 | 0; - $320 = $14 + 8 | 0; - $321 = $14 + 16 | 0; - $322 = $14 + 24 | 0; - $323 = $14 + 32 | 0; - $324 = $14 + 40 | 0; - $325 = ($0 | 0) == 1; - $$21497 = 0; - while (1) { - if (($$21497 | 0) >= ($$31471 | 0)) break L24; - $331 = $314 + $106 * (+($$21497 | 0) + .5) / $315; - $$31477 = 0; - while (1) { - if (($$31477 | 0) >= ($spec$select1520 | 0)) break; - $337 = $314 + $106 * (+($$31477 | 0) + .5) / $316; - $344 = +HEAPF64[$319 >> 3] + ($337 * +HEAPF64[$317 >> 3] + $331 * +HEAPF64[$318 >> 3]); - if ($344 == 0.0) { - $2263 = $110; - label = 306; - break L19; - } - $354 = (+HEAPF64[$321 >> 3] + ($337 * +HEAPF64[$14 >> 3] + $331 * +HEAPF64[$320 >> 3])) / $344; - HEAPF32[$15 >> 2] = $354; - $363 = (+HEAPF64[$324 >> 3] + ($337 * +HEAPF64[$322 >> 3] + $331 * +HEAPF64[$323 >> 3])) / $344; - HEAPF32[$16 >> 2] = $363; - _arParamIdeal2ObservLTf($8, $354, $363, $15, $16) | 0; - $364 = +HEAPF32[$15 >> 2]; - if ($325) { - $$2 = ((~~($364 + 1.0) | 0) / 2 | 0) << 1; - $$21445 = ((~~(+HEAPF32[$16 >> 2] + 1.0) | 0) / 2 | 0) << 1; - } else { - $$2 = ~~($364 + .5); - $$21445 = ~~(+HEAPF32[$16 >> 2] + .5); - } - if (($$2 | 0) > -1 ? ($$21445 | 0) < ($6 | 0) & (($$21445 | 0) > -1 & ($$2 | 0) < ($5 | 0)) : 0) { - $385 = (Math_imul($$21445, $5) | 0) + $$2 << 2; - $394 = ((Math_imul(($$21497 | 0) / ($102 | 0) | 0, $2) | 0) + (($$31477 | 0) / ($101 | 0) | 0) | 0) * 3 | 0; - $395 = $110 + ($394 << 2) | 0; - HEAP32[$395 >> 2] = (HEAP32[$395 >> 2] | 0) + (HEAPU8[$4 + ($385 | 2) >> 0] | 0); - $403 = $110 + ($394 + 1 << 2) | 0; - HEAP32[$403 >> 2] = (HEAP32[$403 >> 2] | 0) + (HEAPU8[$4 + ($385 | 1) >> 0] | 0); - $410 = $110 + ($394 + 2 << 2) | 0; - HEAP32[$410 >> 2] = (HEAP32[$410 >> 2] | 0) + (HEAPU8[$4 + $385 >> 0] | 0); - } - $$31477 = $$31477 + 1 | 0; - } - $$21497 = $$21497 + 1 | 0; - } - break; - } - case 3: - { - $415 = $105 + 100.0; - $416 = +($$31471 | 0); - $417 = +($spec$select1520 | 0); - $418 = $14 + 48 | 0; - $419 = $14 + 56 | 0; - $420 = $14 + 64 | 0; - $421 = $14 + 8 | 0; - $422 = $14 + 16 | 0; - $423 = $14 + 24 | 0; - $424 = $14 + 32 | 0; - $425 = $14 + 40 | 0; - $426 = ($0 | 0) == 1; - $$31498 = 0; - while (1) { - if (($$31498 | 0) >= ($$31471 | 0)) break L24; - $432 = $415 + $106 * (+($$31498 | 0) + .5) / $416; - $$41478 = 0; - while (1) { - if (($$41478 | 0) >= ($spec$select1520 | 0)) break; - $438 = $415 + $106 * (+($$41478 | 0) + .5) / $417; - $445 = +HEAPF64[$420 >> 3] + ($438 * +HEAPF64[$418 >> 3] + $432 * +HEAPF64[$419 >> 3]); - if ($445 == 0.0) { - $2263 = $110; - label = 306; - break L19; - } - $455 = (+HEAPF64[$422 >> 3] + ($438 * +HEAPF64[$14 >> 3] + $432 * +HEAPF64[$421 >> 3])) / $445; - HEAPF32[$15 >> 2] = $455; - $464 = (+HEAPF64[$425 >> 3] + ($438 * +HEAPF64[$423 >> 3] + $432 * +HEAPF64[$424 >> 3])) / $445; - HEAPF32[$16 >> 2] = $464; - _arParamIdeal2ObservLTf($8, $455, $464, $15, $16) | 0; - $465 = +HEAPF32[$15 >> 2]; - if ($426) { - $$3 = ((~~($465 + 1.0) | 0) / 2 | 0) << 1; - $$31446 = ((~~(+HEAPF32[$16 >> 2] + 1.0) | 0) / 2 | 0) << 1; - } else { - $$3 = ~~($465 + .5); - $$31446 = ~~(+HEAPF32[$16 >> 2] + .5); - } - if (($$3 | 0) > -1 ? ($$31446 | 0) < ($6 | 0) & (($$31446 | 0) > -1 & ($$3 | 0) < ($5 | 0)) : 0) { - $486 = (Math_imul($$31446, $5) | 0) + $$3 << 2; - $494 = ((Math_imul(($$31498 | 0) / ($102 | 0) | 0, $2) | 0) + (($$41478 | 0) / ($101 | 0) | 0) | 0) * 3 | 0; - $495 = $110 + ($494 << 2) | 0; - HEAP32[$495 >> 2] = (HEAP32[$495 >> 2] | 0) + (HEAPU8[$4 + $486 >> 0] | 0); - $503 = $110 + ($494 + 1 << 2) | 0; - HEAP32[$503 >> 2] = (HEAP32[$503 >> 2] | 0) + (HEAPU8[$4 + ($486 | 1) >> 0] | 0); - $511 = $110 + ($494 + 2 << 2) | 0; - HEAP32[$511 >> 2] = (HEAP32[$511 >> 2] | 0) + (HEAPU8[$4 + ($486 | 2) >> 0] | 0); - } - $$41478 = $$41478 + 1 | 0; - } - $$31498 = $$31498 + 1 | 0; - } - break; - } - case 4: - { - $516 = $105 + 100.0; - $517 = +($$31471 | 0); - $518 = +($spec$select1520 | 0); - $519 = $14 + 48 | 0; - $520 = $14 + 56 | 0; - $521 = $14 + 64 | 0; - $522 = $14 + 8 | 0; - $523 = $14 + 16 | 0; - $524 = $14 + 24 | 0; - $525 = $14 + 32 | 0; - $526 = $14 + 40 | 0; - $527 = ($0 | 0) == 1; - $$41499 = 0; - while (1) { - if (($$41499 | 0) >= ($$31471 | 0)) break L24; - $533 = $516 + $106 * (+($$41499 | 0) + .5) / $517; - $$51479 = 0; - while (1) { - if (($$51479 | 0) >= ($spec$select1520 | 0)) break; - $539 = $516 + $106 * (+($$51479 | 0) + .5) / $518; - $546 = +HEAPF64[$521 >> 3] + ($539 * +HEAPF64[$519 >> 3] + $533 * +HEAPF64[$520 >> 3]); - if ($546 == 0.0) { - $2263 = $110; - label = 306; - break L19; - } - $556 = (+HEAPF64[$523 >> 3] + ($539 * +HEAPF64[$14 >> 3] + $533 * +HEAPF64[$522 >> 3])) / $546; - HEAPF32[$15 >> 2] = $556; - $565 = (+HEAPF64[$526 >> 3] + ($539 * +HEAPF64[$524 >> 3] + $533 * +HEAPF64[$525 >> 3])) / $546; - HEAPF32[$16 >> 2] = $565; - _arParamIdeal2ObservLTf($8, $556, $565, $15, $16) | 0; - $566 = +HEAPF32[$15 >> 2]; - if ($527) { - $$4 = ((~~($566 + 1.0) | 0) / 2 | 0) << 1; - $$41447 = ((~~(+HEAPF32[$16 >> 2] + 1.0) | 0) / 2 | 0) << 1; - } else { - $$4 = ~~($566 + .5); - $$41447 = ~~(+HEAPF32[$16 >> 2] + .5); - } - if (($$4 | 0) > -1 ? ($$41447 | 0) < ($6 | 0) & (($$41447 | 0) > -1 & ($$4 | 0) < ($5 | 0)) : 0) { - $587 = (Math_imul($$41447, $5) | 0) + $$4 << 2; - $596 = ((Math_imul(($$41499 | 0) / ($102 | 0) | 0, $2) | 0) + (($$51479 | 0) / ($101 | 0) | 0) | 0) * 3 | 0; - $597 = $110 + ($596 << 2) | 0; - HEAP32[$597 >> 2] = (HEAP32[$597 >> 2] | 0) + (HEAPU8[$4 + ($587 | 1) >> 0] | 0); - $605 = $110 + ($596 + 1 << 2) | 0; - HEAP32[$605 >> 2] = (HEAP32[$605 >> 2] | 0) + (HEAPU8[$4 + ($587 | 2) >> 0] | 0); - $613 = $110 + ($596 + 2 << 2) | 0; - HEAP32[$613 >> 2] = (HEAP32[$613 >> 2] | 0) + (HEAPU8[$4 + ($587 | 3) >> 0] | 0); - } - $$51479 = $$51479 + 1 | 0; - } - $$41499 = $$41499 + 1 | 0; - } - break; - } - case 5: - case 12: - case 13: - case 14: - { - $618 = $105 + 100.0; - $619 = +($$31471 | 0); - $620 = +($spec$select1520 | 0); - $621 = $14 + 48 | 0; - $622 = $14 + 56 | 0; - $623 = $14 + 64 | 0; - $624 = $14 + 8 | 0; - $625 = $14 + 16 | 0; - $626 = $14 + 24 | 0; - $627 = $14 + 32 | 0; - $628 = $14 + 40 | 0; - $629 = ($0 | 0) == 1; - $$51500 = 0; - while (1) { - if (($$51500 | 0) >= ($$31471 | 0)) break L24; - $635 = $618 + $106 * (+($$51500 | 0) + .5) / $619; - $$61480 = 0; - while (1) { - if (($$61480 | 0) >= ($spec$select1520 | 0)) break; - $641 = $618 + $106 * (+($$61480 | 0) + .5) / $620; - $648 = +HEAPF64[$623 >> 3] + ($641 * +HEAPF64[$621 >> 3] + $635 * +HEAPF64[$622 >> 3]); - if ($648 == 0.0) { - $2263 = $110; - label = 306; - break L19; - } - $658 = (+HEAPF64[$625 >> 3] + ($641 * +HEAPF64[$14 >> 3] + $635 * +HEAPF64[$624 >> 3])) / $648; - HEAPF32[$15 >> 2] = $658; - $667 = (+HEAPF64[$628 >> 3] + ($641 * +HEAPF64[$626 >> 3] + $635 * +HEAPF64[$627 >> 3])) / $648; - HEAPF32[$16 >> 2] = $667; - _arParamIdeal2ObservLTf($8, $658, $667, $15, $16) | 0; - $668 = +HEAPF32[$15 >> 2]; - if ($629) { - $$5 = ((~~($668 + 1.0) | 0) / 2 | 0) << 1; - $$51448 = ((~~(+HEAPF32[$16 >> 2] + 1.0) | 0) / 2 | 0) << 1; - } else { - $$5 = ~~($668 + .5); - $$51448 = ~~(+HEAPF32[$16 >> 2] + .5); - } - if (($$5 | 0) > -1 ? ($$51448 | 0) < ($6 | 0) & (($$51448 | 0) > -1 & ($$5 | 0) < ($5 | 0)) : 0) { - $689 = $4 + ((Math_imul($$51448, $5) | 0) + $$5) | 0; - $691 = HEAPU8[$689 >> 0] | 0; - $696 = ((Math_imul(($$51500 | 0) / ($102 | 0) | 0, $2) | 0) + (($$61480 | 0) / ($101 | 0) | 0) | 0) * 3 | 0; - $697 = $110 + ($696 << 2) | 0; - HEAP32[$697 >> 2] = (HEAP32[$697 >> 2] | 0) + $691; - $701 = $110 + ($696 + 1 << 2) | 0; - HEAP32[$701 >> 2] = (HEAP32[$701 >> 2] | 0) + $691; - $705 = $110 + ($696 + 2 << 2) | 0; - HEAP32[$705 >> 2] = (HEAP32[$705 >> 2] | 0) + $691; - } - $$61480 = $$61480 + 1 | 0; - } - $$51500 = $$51500 + 1 | 0; - } - break; - } - case 6: - { - $710 = $105 + 100.0; - $711 = +($$31471 | 0); - $712 = +($spec$select1520 | 0); - $713 = $14 + 48 | 0; - $714 = $14 + 56 | 0; - $715 = $14 + 64 | 0; - $716 = $14 + 8 | 0; - $717 = $14 + 16 | 0; - $718 = $14 + 24 | 0; - $719 = $14 + 32 | 0; - $720 = $14 + 40 | 0; - $721 = ($0 | 0) == 1; - $$61501 = 0; - while (1) { - if (($$61501 | 0) >= ($$31471 | 0)) break L24; - $727 = $710 + $106 * (+($$61501 | 0) + .5) / $711; - $$71481 = 0; - while (1) { - if (($$71481 | 0) >= ($spec$select1520 | 0)) break; - $733 = $710 + $106 * (+($$71481 | 0) + .5) / $712; - $740 = +HEAPF64[$715 >> 3] + ($733 * +HEAPF64[$713 >> 3] + $727 * +HEAPF64[$714 >> 3]); - if ($740 == 0.0) { - $2263 = $110; - label = 306; - break L19; - } - $750 = (+HEAPF64[$717 >> 3] + ($733 * +HEAPF64[$14 >> 3] + $727 * +HEAPF64[$716 >> 3])) / $740; - HEAPF32[$15 >> 2] = $750; - $759 = (+HEAPF64[$720 >> 3] + ($733 * +HEAPF64[$718 >> 3] + $727 * +HEAPF64[$719 >> 3])) / $740; - HEAPF32[$16 >> 2] = $759; - _arParamIdeal2ObservLTf($8, $750, $759, $15, $16) | 0; - $760 = +HEAPF32[$15 >> 2]; - if ($721) { - $$6 = ((~~($760 + 1.0) | 0) / 2 | 0) << 1; - $$61449 = ((~~(+HEAPF32[$16 >> 2] + 1.0) | 0) / 2 | 0) << 1; - } else { - $$6 = ~~($760 + .5); - $$61449 = ~~(+HEAPF32[$16 >> 2] + .5); - } - if (($$6 | 0) > -1 ? ($$61449 | 0) < ($6 | 0) & (($$61449 | 0) > -1 & ($$6 | 0) < ($5 | 0)) : 0) { - $781 = (Math_imul($$61449, $5) | 0) + $$6 << 2; - $790 = ((Math_imul(($$61501 | 0) / ($102 | 0) | 0, $2) | 0) + (($$71481 | 0) / ($101 | 0) | 0) | 0) * 3 | 0; - $791 = $110 + ($790 << 2) | 0; - HEAP32[$791 >> 2] = (HEAP32[$791 >> 2] | 0) + (HEAPU8[$4 + ($781 | 3) >> 0] | 0); - $799 = $110 + ($790 + 1 << 2) | 0; - HEAP32[$799 >> 2] = (HEAP32[$799 >> 2] | 0) + (HEAPU8[$4 + ($781 | 2) >> 0] | 0); - $807 = $110 + ($790 + 2 << 2) | 0; - HEAP32[$807 >> 2] = (HEAP32[$807 >> 2] | 0) + (HEAPU8[$4 + ($781 | 1) >> 0] | 0); - } - $$71481 = $$71481 + 1 | 0; - } - $$61501 = $$61501 + 1 | 0; - } - break; - } - case 7: - { - $812 = $105 + 100.0; - $813 = +($$31471 | 0); - $814 = +($spec$select1520 | 0); - $815 = $14 + 48 | 0; - $816 = $14 + 56 | 0; - $817 = $14 + 64 | 0; - $818 = $14 + 8 | 0; - $819 = $14 + 16 | 0; - $820 = $14 + 24 | 0; - $821 = $14 + 32 | 0; - $822 = $14 + 40 | 0; - $823 = ($0 | 0) == 1; - $$71502 = 0; - while (1) { - if (($$71502 | 0) >= ($$31471 | 0)) break L24; - $829 = $812 + $106 * (+($$71502 | 0) + .5) / $813; - $$81482 = 0; - while (1) { - if (($$81482 | 0) >= ($spec$select1520 | 0)) break; - $835 = $812 + $106 * (+($$81482 | 0) + .5) / $814; - $842 = +HEAPF64[$817 >> 3] + ($835 * +HEAPF64[$815 >> 3] + $829 * +HEAPF64[$816 >> 3]); - if ($842 == 0.0) { - $2263 = $110; - label = 306; - break L19; - } - $852 = (+HEAPF64[$819 >> 3] + ($835 * +HEAPF64[$14 >> 3] + $829 * +HEAPF64[$818 >> 3])) / $842; - HEAPF32[$15 >> 2] = $852; - $861 = (+HEAPF64[$822 >> 3] + ($835 * +HEAPF64[$820 >> 3] + $829 * +HEAPF64[$821 >> 3])) / $842; - HEAPF32[$16 >> 2] = $861; - _arParamIdeal2ObservLTf($8, $852, $861, $15, $16) | 0; - $862 = +HEAPF32[$15 >> 2]; - if ($823) { - $$7 = ((~~($862 + 1.0) | 0) / 2 | 0) << 1; - $$71450 = ((~~(+HEAPF32[$16 >> 2] + 1.0) | 0) / 2 | 0) << 1; - } else { - $$7 = ~~($862 + .5); - $$71450 = ~~(+HEAPF32[$16 >> 2] + .5); - } - if (($$7 | 0) > -1 ? ($$71450 | 0) < ($6 | 0) & (($$71450 | 0) > -1 & ($$7 | 0) < ($5 | 0)) : 0) { - $881 = Math_imul($$71450, $5) | 0; - $884 = ($$7 & 65534) + $881 << 1; - $889 = +((HEAPU8[$4 + $884 >> 0] | 0) + -128 | 0); - $903 = +((HEAPU8[$4 + ($884 + 2) >> 0] | 0) + -128 | 0); - $904 = +((HEAPU8[$4 + ($881 + $$7 << 1 | 1) >> 0] | 0) + -16 | 0) * 298.0820007324219; - $908 = ~~($889 * 516.4110107421875 + $904) >> 8; - $914 = ~~($904 - $889 * 100.29100036621094 - $903 * 208.1199951171875) >> 8; - $918 = ~~($904 + $903 * 408.5830078125) >> 8; - $920 = ($908 | 0) > 0 ? $908 : 0; - $926 = ((Math_imul(($$71502 | 0) / ($102 | 0) | 0, $2) | 0) + (($$81482 | 0) / ($101 | 0) | 0) | 0) * 3 | 0; - $927 = $110 + ($926 << 2) | 0; - HEAP32[$927 >> 2] = (($920 | 0) < 255 ? $920 : 255) + (HEAP32[$927 >> 2] | 0); - $931 = ($914 | 0) > 0 ? $914 : 0; - $935 = $110 + ($926 + 1 << 2) | 0; - HEAP32[$935 >> 2] = (($931 | 0) < 255 ? $931 : 255) + (HEAP32[$935 >> 2] | 0); - $939 = ($918 | 0) > 0 ? $918 : 0; - $942 = $110 + ($926 + 2 << 2) | 0; - HEAP32[$942 >> 2] = (($939 | 0) < 255 ? $939 : 255) + (HEAP32[$942 >> 2] | 0); - } - $$81482 = $$81482 + 1 | 0; - } - $$71502 = $$71502 + 1 | 0; - } - break; - } - case 8: - { - $947 = $105 + 100.0; - $948 = +($$31471 | 0); - $949 = +($spec$select1520 | 0); - $950 = $14 + 48 | 0; - $951 = $14 + 56 | 0; - $952 = $14 + 64 | 0; - $953 = $14 + 8 | 0; - $954 = $14 + 16 | 0; - $955 = $14 + 24 | 0; - $956 = $14 + 32 | 0; - $957 = $14 + 40 | 0; - $958 = ($0 | 0) == 1; - $$81503 = 0; - while (1) { - if (($$81503 | 0) >= ($$31471 | 0)) break L24; - $964 = $947 + $106 * (+($$81503 | 0) + .5) / $948; - $$91483 = 0; - while (1) { - if (($$91483 | 0) >= ($spec$select1520 | 0)) break; - $970 = $947 + $106 * (+($$91483 | 0) + .5) / $949; - $977 = +HEAPF64[$952 >> 3] + ($970 * +HEAPF64[$950 >> 3] + $964 * +HEAPF64[$951 >> 3]); - if ($977 == 0.0) { - $2263 = $110; - label = 306; - break L19; - } - $987 = (+HEAPF64[$954 >> 3] + ($970 * +HEAPF64[$14 >> 3] + $964 * +HEAPF64[$953 >> 3])) / $977; - HEAPF32[$15 >> 2] = $987; - $996 = (+HEAPF64[$957 >> 3] + ($970 * +HEAPF64[$955 >> 3] + $964 * +HEAPF64[$956 >> 3])) / $977; - HEAPF32[$16 >> 2] = $996; - _arParamIdeal2ObservLTf($8, $987, $996, $15, $16) | 0; - $997 = +HEAPF32[$15 >> 2]; - if ($958) { - $$8 = ((~~($997 + 1.0) | 0) / 2 | 0) << 1; - $$81451 = ((~~(+HEAPF32[$16 >> 2] + 1.0) | 0) / 2 | 0) << 1; - } else { - $$8 = ~~($997 + .5); - $$81451 = ~~(+HEAPF32[$16 >> 2] + .5); - } - if (($$8 | 0) > -1 ? ($$81451 | 0) < ($6 | 0) & (($$81451 | 0) > -1 & ($$8 | 0) < ($5 | 0)) : 0) { - $1016 = Math_imul($$81451, $5) | 0; - $1026 = ($$8 & 65534) + $1016 << 1; - $1032 = +((HEAPU8[$4 + ($1026 | 1) >> 0] | 0) + -128 | 0); - $1038 = +((HEAPU8[$4 + ($1026 + 3) >> 0] | 0) + -128 | 0); - $1039 = +((HEAPU8[$4 + ($1016 + $$8 << 1) >> 0] | 0) + -16 | 0) * 298.0820007324219; - $1043 = ~~($1039 + $1032 * 516.4110107421875) >> 8; - $1049 = ~~($1039 - $1032 * 100.29100036621094 - $1038 * 208.1199951171875) >> 8; - $1053 = ~~($1039 + $1038 * 408.5830078125) >> 8; - $1055 = ($1043 | 0) > 0 ? $1043 : 0; - $1061 = ((Math_imul(($$81503 | 0) / ($102 | 0) | 0, $2) | 0) + (($$91483 | 0) / ($101 | 0) | 0) | 0) * 3 | 0; - $1062 = $110 + ($1061 << 2) | 0; - HEAP32[$1062 >> 2] = (($1055 | 0) < 255 ? $1055 : 255) + (HEAP32[$1062 >> 2] | 0); - $1066 = ($1049 | 0) > 0 ? $1049 : 0; - $1070 = $110 + ($1061 + 1 << 2) | 0; - HEAP32[$1070 >> 2] = (($1066 | 0) < 255 ? $1066 : 255) + (HEAP32[$1070 >> 2] | 0); - $1074 = ($1053 | 0) > 0 ? $1053 : 0; - $1077 = $110 + ($1061 + 2 << 2) | 0; - HEAP32[$1077 >> 2] = (($1074 | 0) < 255 ? $1074 : 255) + (HEAP32[$1077 >> 2] | 0); - } - $$91483 = $$91483 + 1 | 0; - } - $$81503 = $$81503 + 1 | 0; - } - break; - } - case 9: - { - $1082 = $105 + 100.0; - $1083 = +($$31471 | 0); - $1084 = +($spec$select1520 | 0); - $1085 = $14 + 48 | 0; - $1086 = $14 + 56 | 0; - $1087 = $14 + 64 | 0; - $1088 = $14 + 8 | 0; - $1089 = $14 + 16 | 0; - $1090 = $14 + 24 | 0; - $1091 = $14 + 32 | 0; - $1092 = $14 + 40 | 0; - $1093 = ($0 | 0) == 1; - $$91504 = 0; - while (1) { - if (($$91504 | 0) >= ($$31471 | 0)) break L24; - $1099 = $1082 + $106 * (+($$91504 | 0) + .5) / $1083; - $$101484 = 0; - while (1) { - if (($$101484 | 0) >= ($spec$select1520 | 0)) break; - $1105 = $1082 + $106 * (+($$101484 | 0) + .5) / $1084; - $1112 = +HEAPF64[$1087 >> 3] + ($1105 * +HEAPF64[$1085 >> 3] + $1099 * +HEAPF64[$1086 >> 3]); - if ($1112 == 0.0) { - $2263 = $110; - label = 306; - break L19; - } - $1122 = (+HEAPF64[$1089 >> 3] + ($1105 * +HEAPF64[$14 >> 3] + $1099 * +HEAPF64[$1088 >> 3])) / $1112; - HEAPF32[$15 >> 2] = $1122; - $1131 = (+HEAPF64[$1092 >> 3] + ($1105 * +HEAPF64[$1090 >> 3] + $1099 * +HEAPF64[$1091 >> 3])) / $1112; - HEAPF32[$16 >> 2] = $1131; - _arParamIdeal2ObservLTf($8, $1122, $1131, $15, $16) | 0; - $1132 = +HEAPF32[$15 >> 2]; - if ($1093) { - $$9 = ((~~($1132 + 1.0) | 0) / 2 | 0) << 1; - $$91452 = ((~~(+HEAPF32[$16 >> 2] + 1.0) | 0) / 2 | 0) << 1; - } else { - $$9 = ~~($1132 + .5); - $$91452 = ~~(+HEAPF32[$16 >> 2] + .5); - } - if (($$9 | 0) > -1 ? ($$91452 | 0) < ($6 | 0) & (($$91452 | 0) > -1 & ($$9 | 0) < ($5 | 0)) : 0) { - $1153 = (Math_imul($$91452, $5) | 0) + $$9 << 1; - $1156 = HEAP8[$4 + ($1153 | 1) >> 0] | 0; - $1164 = ((Math_imul(($$91504 | 0) / ($102 | 0) | 0, $2) | 0) + (($$101484 | 0) / ($101 | 0) | 0) | 0) * 3 | 0; - $1165 = $110 + ($1164 << 2) | 0; - HEAP32[$1165 >> 2] = (HEAP32[$1165 >> 2] | 0) + (($1156 << 3 & 255 | 4) & 255); - $1169 = HEAP8[$4 + $1153 >> 0] | 0; - $1178 = $110 + ($1164 + 1 << 2) | 0; - HEAP32[$1178 >> 2] = (($1156 & -32 & 255) >>> 3 | $1169 << 5 & 255 | 2) + (HEAP32[$1178 >> 2] | 0); - $1185 = $110 + ($1164 + 2 << 2) | 0; - HEAP32[$1185 >> 2] = (HEAP32[$1185 >> 2] | 0) + (($1169 & -8 | 4) & 255); - } - $$101484 = $$101484 + 1 | 0; - } - $$91504 = $$91504 + 1 | 0; - } - break; - } - case 10: - { - $1190 = $105 + 100.0; - $1191 = +($$31471 | 0); - $1192 = +($spec$select1520 | 0); - $1193 = $14 + 48 | 0; - $1194 = $14 + 56 | 0; - $1195 = $14 + 64 | 0; - $1196 = $14 + 8 | 0; - $1197 = $14 + 16 | 0; - $1198 = $14 + 24 | 0; - $1199 = $14 + 32 | 0; - $1200 = $14 + 40 | 0; - $1201 = ($0 | 0) == 1; - $$101505 = 0; - while (1) { - if (($$101505 | 0) >= ($$31471 | 0)) break L24; - $1207 = $1190 + $106 * (+($$101505 | 0) + .5) / $1191; - $$111485 = 0; - while (1) { - if (($$111485 | 0) >= ($spec$select1520 | 0)) break; - $1213 = $1190 + $106 * (+($$111485 | 0) + .5) / $1192; - $1220 = +HEAPF64[$1195 >> 3] + ($1213 * +HEAPF64[$1193 >> 3] + $1207 * +HEAPF64[$1194 >> 3]); - if ($1220 == 0.0) { - $2263 = $110; - label = 306; - break L19; - } - $1230 = (+HEAPF64[$1197 >> 3] + ($1213 * +HEAPF64[$14 >> 3] + $1207 * +HEAPF64[$1196 >> 3])) / $1220; - HEAPF32[$15 >> 2] = $1230; - $1239 = (+HEAPF64[$1200 >> 3] + ($1213 * +HEAPF64[$1198 >> 3] + $1207 * +HEAPF64[$1199 >> 3])) / $1220; - HEAPF32[$16 >> 2] = $1239; - _arParamIdeal2ObservLTf($8, $1230, $1239, $15, $16) | 0; - $1240 = +HEAPF32[$15 >> 2]; - if ($1201) { - $$10 = ((~~($1240 + 1.0) | 0) / 2 | 0) << 1; - $$101453 = ((~~(+HEAPF32[$16 >> 2] + 1.0) | 0) / 2 | 0) << 1; - } else { - $$10 = ~~($1240 + .5); - $$101453 = ~~(+HEAPF32[$16 >> 2] + .5); - } - if (($$10 | 0) > -1 ? ($$101453 | 0) < ($6 | 0) & (($$101453 | 0) > -1 & ($$10 | 0) < ($5 | 0)) : 0) { - $1261 = (Math_imul($$101453, $5) | 0) + $$10 << 1; - $1264 = HEAP8[$4 + ($1261 | 1) >> 0] | 0; - $1272 = ((Math_imul(($$101505 | 0) / ($102 | 0) | 0, $2) | 0) + (($$111485 | 0) / ($101 | 0) | 0) | 0) * 3 | 0; - $1273 = $110 + ($1272 << 2) | 0; - HEAP32[$1273 >> 2] = (HEAP32[$1273 >> 2] | 0) + (($1264 << 2 & 255 | 4) & 255); - $1277 = HEAP8[$4 + $1261 >> 0] | 0; - $1286 = $110 + ($1272 + 1 << 2) | 0; - HEAP32[$1286 >> 2] = (($1264 & -64 & 255) >>> 3 | $1277 << 5 & 255 | 4) + (HEAP32[$1286 >> 2] | 0); - $1293 = $110 + ($1272 + 2 << 2) | 0; - HEAP32[$1293 >> 2] = (HEAP32[$1293 >> 2] | 0) + (($1277 & -8 | 4) & 255); - } - $$111485 = $$111485 + 1 | 0; - } - $$101505 = $$101505 + 1 | 0; - } - break; - } - case 11: - { - $1298 = $105 + 100.0; - $1299 = +($$31471 | 0); - $1300 = +($spec$select1520 | 0); - $1301 = $14 + 48 | 0; - $1302 = $14 + 56 | 0; - $1303 = $14 + 64 | 0; - $1304 = $14 + 8 | 0; - $1305 = $14 + 16 | 0; - $1306 = $14 + 24 | 0; - $1307 = $14 + 32 | 0; - $1308 = $14 + 40 | 0; - $1309 = ($0 | 0) == 1; - $$111506 = 0; - while (1) { - if (($$111506 | 0) >= ($$31471 | 0)) break L24; - $1315 = $1298 + $106 * (+($$111506 | 0) + .5) / $1299; - $$121486 = 0; - while (1) { - if (($$121486 | 0) >= ($spec$select1520 | 0)) break; - $1321 = $1298 + $106 * (+($$121486 | 0) + .5) / $1300; - $1328 = +HEAPF64[$1303 >> 3] + ($1321 * +HEAPF64[$1301 >> 3] + $1315 * +HEAPF64[$1302 >> 3]); - if ($1328 == 0.0) { - $2263 = $110; - label = 306; - break L19; - } - $1338 = (+HEAPF64[$1305 >> 3] + ($1321 * +HEAPF64[$14 >> 3] + $1315 * +HEAPF64[$1304 >> 3])) / $1328; - HEAPF32[$15 >> 2] = $1338; - $1347 = (+HEAPF64[$1308 >> 3] + ($1321 * +HEAPF64[$1306 >> 3] + $1315 * +HEAPF64[$1307 >> 3])) / $1328; - HEAPF32[$16 >> 2] = $1347; - _arParamIdeal2ObservLTf($8, $1338, $1347, $15, $16) | 0; - $1348 = +HEAPF32[$15 >> 2]; - if ($1309) { - $$11 = ((~~($1348 + 1.0) | 0) / 2 | 0) << 1; - $$111454 = ((~~(+HEAPF32[$16 >> 2] + 1.0) | 0) / 2 | 0) << 1; - } else { - $$11 = ~~($1348 + .5); - $$111454 = ~~(+HEAPF32[$16 >> 2] + .5); - } - if (($$11 | 0) > -1 ? ($$111454 | 0) < ($6 | 0) & (($$111454 | 0) > -1 & ($$11 | 0) < ($5 | 0)) : 0) { - $1369 = (Math_imul($$111454, $5) | 0) + $$11 << 1; - $1380 = ((Math_imul(($$111506 | 0) / ($102 | 0) | 0, $2) | 0) + (($$121486 | 0) / ($101 | 0) | 0) | 0) * 3 | 0; - $1381 = $110 + ($1380 << 2) | 0; - HEAP32[$1381 >> 2] = (HEAP32[$1381 >> 2] | 0) + ((HEAP8[$4 + ($1369 | 1) >> 0] & -16 | 8) & 255); - $1385 = HEAP8[$4 + $1369 >> 0] | 0; - $1390 = $110 + ($1380 + 1 << 2) | 0; - HEAP32[$1390 >> 2] = (HEAP32[$1390 >> 2] | 0) + (($1385 << 4 & 255 | 8) & 255); - $1397 = $110 + ($1380 + 2 << 2) | 0; - HEAP32[$1397 >> 2] = (HEAP32[$1397 >> 2] | 0) + (($1385 & -16 | 8) & 255); - } - $$121486 = $$121486 + 1 | 0; - } - $$111506 = $$111506 + 1 | 0; - } - break; - } - default: - { - _arLog(0, 3, 24238, $vararg_buffer1); - $2263 = $110; - label = 306; - break L19; - } - } while (0); - $1402 = Math_imul($102, $101) | 0; - $$131487 = 0; - while (1) { - if (($$131487 | 0) == ($109 | 0)) break; - HEAP8[$11 + $$131487 >> 0] = ((HEAP32[$110 + ($$131487 << 2) >> 2] | 0) >>> 0) / ($1402 >>> 0) | 0; - $$131487 = $$131487 + 1 | 0; - } - _free($110); - $$0 = 0; - } else { - $1409 = _calloc($108, 4) | 0; - if (!$1409) { - _arLog(0, 3, 45930, $vararg_buffer3); - _exit(1); - } - L239 : do if ($7 >>> 0 < 2) { - $1412 = $105 + 100.0; - $1413 = +($$31471 | 0); - $1414 = +($spec$select1520 | 0); - $1415 = $14 + 48 | 0; - $1416 = $14 + 56 | 0; - $1417 = $14 + 64 | 0; - $1418 = $14 + 8 | 0; - $1419 = $14 + 16 | 0; - $1420 = $14 + 24 | 0; - $1421 = $14 + 32 | 0; - $1422 = $14 + 40 | 0; - $1423 = ($0 | 0) == 1; - $$121507 = 0; - while (1) { - if (($$121507 | 0) >= ($$31471 | 0)) break L239; - $1429 = $1412 + $106 * (+($$121507 | 0) + .5) / $1413; - $$141488 = 0; - while (1) { - if (($$141488 | 0) >= ($spec$select1520 | 0)) break; - $1435 = $1412 + $106 * (+($$141488 | 0) + .5) / $1414; - $1442 = +HEAPF64[$1417 >> 3] + ($1435 * +HEAPF64[$1415 >> 3] + $1429 * +HEAPF64[$1416 >> 3]); - if ($1442 == 0.0) { - $2263 = $1409; - label = 306; - break L19; - } - $1452 = (+HEAPF64[$1419 >> 3] + ($1435 * +HEAPF64[$14 >> 3] + $1429 * +HEAPF64[$1418 >> 3])) / $1442; - HEAPF32[$15 >> 2] = $1452; - $1461 = (+HEAPF64[$1422 >> 3] + ($1435 * +HEAPF64[$1420 >> 3] + $1429 * +HEAPF64[$1421 >> 3])) / $1442; - HEAPF32[$16 >> 2] = $1461; - _arParamIdeal2ObservLTf($8, $1452, $1461, $15, $16) | 0; - $1462 = +HEAPF32[$15 >> 2]; - if ($1423) { - $$12 = ((~~($1462 + 1.0) | 0) / 2 | 0) << 1; - $$121455 = ((~~(+HEAPF32[$16 >> 2] + 1.0) | 0) / 2 | 0) << 1; - } else { - $$12 = ~~($1462 + .5); - $$121455 = ~~(+HEAPF32[$16 >> 2] + .5); - } - if (($$12 | 0) > -1 ? ($$121455 | 0) < ($6 | 0) & (($$121455 | 0) > -1 & ($$12 | 0) < ($5 | 0)) : 0) { - $1483 = ((Math_imul($$121455, $5) | 0) + $$12 | 0) * 3 | 0; - $1502 = $1409 + ((Math_imul(($$121507 | 0) / ($102 | 0) | 0, $2) | 0) + (($$141488 | 0) / ($101 | 0) | 0) << 2) | 0; - HEAP32[$1502 >> 2] = (HEAP32[$1502 >> 2] | 0) + ((((HEAPU8[$4 + ($1483 + 1) >> 0] | 0) + (HEAPU8[$4 + $1483 >> 0] | 0) + (HEAPU8[$4 + ($1483 + 2) >> 0] | 0) | 0) >>> 0) / 3 | 0); - } - $$141488 = $$141488 + 1 | 0; - } - $$121507 = $$121507 + 1 | 0; - } - } else { - if (($7 | 1 | 0) == 3) { - $1509 = $105 + 100.0; - $1510 = +($$31471 | 0); - $1511 = +($spec$select1520 | 0); - $1512 = $14 + 48 | 0; - $1513 = $14 + 56 | 0; - $1514 = $14 + 64 | 0; - $1515 = $14 + 8 | 0; - $1516 = $14 + 16 | 0; - $1517 = $14 + 24 | 0; - $1518 = $14 + 32 | 0; - $1519 = $14 + 40 | 0; - $1520 = ($0 | 0) == 1; - $$131508 = 0; - while (1) { - if (($$131508 | 0) >= ($$31471 | 0)) break L239; - $1526 = $1509 + $106 * (+($$131508 | 0) + .5) / $1510; - $$151489 = 0; - while (1) { - if (($$151489 | 0) >= ($spec$select1520 | 0)) break; - $1532 = $1509 + $106 * (+($$151489 | 0) + .5) / $1511; - $1539 = +HEAPF64[$1514 >> 3] + ($1532 * +HEAPF64[$1512 >> 3] + $1526 * +HEAPF64[$1513 >> 3]); - if ($1539 == 0.0) { - $2263 = $1409; - label = 306; - break L19; - } - $1549 = (+HEAPF64[$1516 >> 3] + ($1532 * +HEAPF64[$14 >> 3] + $1526 * +HEAPF64[$1515 >> 3])) / $1539; - HEAPF32[$15 >> 2] = $1549; - $1558 = (+HEAPF64[$1519 >> 3] + ($1532 * +HEAPF64[$1517 >> 3] + $1526 * +HEAPF64[$1518 >> 3])) / $1539; - HEAPF32[$16 >> 2] = $1558; - _arParamIdeal2ObservLTf($8, $1549, $1558, $15, $16) | 0; - $1559 = +HEAPF32[$15 >> 2]; - if ($1520) { - $$13 = ((~~($1559 + 1.0) | 0) / 2 | 0) << 1; - $$131456 = ((~~(+HEAPF32[$16 >> 2] + 1.0) | 0) / 2 | 0) << 1; - } else { - $$13 = ~~($1559 + .5); - $$131456 = ~~(+HEAPF32[$16 >> 2] + .5); - } - if (($$13 | 0) > -1 ? ($$131456 | 0) < ($6 | 0) & (($$131456 | 0) > -1 & ($$13 | 0) < ($5 | 0)) : 0) { - $1580 = (Math_imul($$131456, $5) | 0) + $$13 << 2; - $1599 = $1409 + ((Math_imul(($$131508 | 0) / ($102 | 0) | 0, $2) | 0) + (($$151489 | 0) / ($101 | 0) | 0) << 2) | 0; - HEAP32[$1599 >> 2] = (HEAP32[$1599 >> 2] | 0) + ((((HEAPU8[$4 + ($1580 | 1) >> 0] | 0) + (HEAPU8[$4 + $1580 >> 0] | 0) + (HEAPU8[$4 + ($1580 | 2) >> 0] | 0) | 0) >>> 0) / 3 | 0); - } - $$151489 = $$151489 + 1 | 0; - } - $$131508 = $$131508 + 1 | 0; - } - } - if (($7 | 2 | 0) == 6) { - $1606 = $105 + 100.0; - $1607 = +($$31471 | 0); - $1608 = +($spec$select1520 | 0); - $1609 = $14 + 48 | 0; - $1610 = $14 + 56 | 0; - $1611 = $14 + 64 | 0; - $1612 = $14 + 8 | 0; - $1613 = $14 + 16 | 0; - $1614 = $14 + 24 | 0; - $1615 = $14 + 32 | 0; - $1616 = $14 + 40 | 0; - $1617 = ($0 | 0) == 1; - $$141509 = 0; - while (1) { - if (($$141509 | 0) >= ($$31471 | 0)) break L239; - $1623 = $1606 + $106 * (+($$141509 | 0) + .5) / $1607; - $$161490 = 0; - while (1) { - if (($$161490 | 0) >= ($spec$select1520 | 0)) break; - $1629 = $1606 + $106 * (+($$161490 | 0) + .5) / $1608; - $1636 = +HEAPF64[$1611 >> 3] + ($1629 * +HEAPF64[$1609 >> 3] + $1623 * +HEAPF64[$1610 >> 3]); - if ($1636 == 0.0) { - $2263 = $1409; - label = 306; - break L19; - } - $1646 = (+HEAPF64[$1613 >> 3] + ($1629 * +HEAPF64[$14 >> 3] + $1623 * +HEAPF64[$1612 >> 3])) / $1636; - HEAPF32[$15 >> 2] = $1646; - $1655 = (+HEAPF64[$1616 >> 3] + ($1629 * +HEAPF64[$1614 >> 3] + $1623 * +HEAPF64[$1615 >> 3])) / $1636; - HEAPF32[$16 >> 2] = $1655; - _arParamIdeal2ObservLTf($8, $1646, $1655, $15, $16) | 0; - $1656 = +HEAPF32[$15 >> 2]; - if ($1617) { - $$14 = ((~~($1656 + 1.0) | 0) / 2 | 0) << 1; - $$141457 = ((~~(+HEAPF32[$16 >> 2] + 1.0) | 0) / 2 | 0) << 1; - } else { - $$14 = ~~($1656 + .5); - $$141457 = ~~(+HEAPF32[$16 >> 2] + .5); - } - if (($$14 | 0) > -1 ? ($$141457 | 0) < ($6 | 0) & (($$141457 | 0) > -1 & ($$14 | 0) < ($5 | 0)) : 0) { - $1677 = (Math_imul($$141457, $5) | 0) + $$14 << 2; - $1697 = $1409 + ((Math_imul(($$141509 | 0) / ($102 | 0) | 0, $2) | 0) + (($$161490 | 0) / ($101 | 0) | 0) << 2) | 0; - HEAP32[$1697 >> 2] = (HEAP32[$1697 >> 2] | 0) + ((((HEAPU8[$4 + ($1677 | 2) >> 0] | 0) + (HEAPU8[$4 + ($1677 | 1) >> 0] | 0) + (HEAPU8[$4 + ($1677 | 3) >> 0] | 0) | 0) >>> 0) / 3 | 0); - } - $$161490 = $$161490 + 1 | 0; - } - $$141509 = $$141509 + 1 | 0; - } - } - switch ($7 | 0) { - case 5: - case 12: - case 13: - case 14: - { - $1702 = $105 + 100.0; - $1703 = +($$31471 | 0); - $1704 = +($spec$select1520 | 0); - $1705 = $14 + 48 | 0; - $1706 = $14 + 56 | 0; - $1707 = $14 + 64 | 0; - $1708 = $14 + 8 | 0; - $1709 = $14 + 16 | 0; - $1710 = $14 + 24 | 0; - $1711 = $14 + 32 | 0; - $1712 = $14 + 40 | 0; - $1713 = ($0 | 0) == 1; - $$151510 = 0; - while (1) { - if (($$151510 | 0) >= ($$31471 | 0)) break L239; - $1719 = $1702 + $106 * (+($$151510 | 0) + .5) / $1703; - $$171491 = 0; - while (1) { - if (($$171491 | 0) >= ($spec$select1520 | 0)) break; - $1725 = $1702 + $106 * (+($$171491 | 0) + .5) / $1704; - $1732 = +HEAPF64[$1707 >> 3] + ($1725 * +HEAPF64[$1705 >> 3] + $1719 * +HEAPF64[$1706 >> 3]); - if ($1732 == 0.0) { - $2263 = $1409; - label = 306; - break L19; - } - $1742 = (+HEAPF64[$1709 >> 3] + ($1725 * +HEAPF64[$14 >> 3] + $1719 * +HEAPF64[$1708 >> 3])) / $1732; - HEAPF32[$15 >> 2] = $1742; - $1751 = (+HEAPF64[$1712 >> 3] + ($1725 * +HEAPF64[$1710 >> 3] + $1719 * +HEAPF64[$1711 >> 3])) / $1732; - HEAPF32[$16 >> 2] = $1751; - _arParamIdeal2ObservLTf($8, $1742, $1751, $15, $16) | 0; - $1752 = +HEAPF32[$15 >> 2]; - if ($1713) { - $$15 = ((~~($1752 + 1.0) | 0) / 2 | 0) << 1; - $$151458 = ((~~(+HEAPF32[$16 >> 2] + 1.0) | 0) / 2 | 0) << 1; - } else { - $$15 = ~~($1752 + .5); - $$151458 = ~~(+HEAPF32[$16 >> 2] + .5); - } - if (($$15 | 0) > -1 ? ($$151458 | 0) < ($6 | 0) & (($$151458 | 0) > -1 & ($$15 | 0) < ($5 | 0)) : 0) { - $1773 = $4 + ((Math_imul($$151458, $5) | 0) + $$15) | 0; - $1780 = $1409 + ((Math_imul(($$151510 | 0) / ($102 | 0) | 0, $2) | 0) + (($$171491 | 0) / ($101 | 0) | 0) << 2) | 0; - HEAP32[$1780 >> 2] = (HEAP32[$1780 >> 2] | 0) + (HEAPU8[$1773 >> 0] | 0); - } - $$171491 = $$171491 + 1 | 0; - } - $$151510 = $$151510 + 1 | 0; - } - break; - } - case 7: - { - $1785 = $105 + 100.0; - $1786 = +($$31471 | 0); - $1787 = +($spec$select1520 | 0); - $1788 = $14 + 48 | 0; - $1789 = $14 + 56 | 0; - $1790 = $14 + 64 | 0; - $1791 = $14 + 8 | 0; - $1792 = $14 + 16 | 0; - $1793 = $14 + 24 | 0; - $1794 = $14 + 32 | 0; - $1795 = $14 + 40 | 0; - $1796 = ($0 | 0) == 1; - $$161511 = 0; - while (1) { - if (($$161511 | 0) >= ($$31471 | 0)) break L239; - $1802 = $1785 + $106 * (+($$161511 | 0) + .5) / $1786; - $$181492 = 0; - while (1) { - if (($$181492 | 0) >= ($spec$select1520 | 0)) break; - $1808 = $1785 + $106 * (+($$181492 | 0) + .5) / $1787; - $1815 = +HEAPF64[$1790 >> 3] + ($1808 * +HEAPF64[$1788 >> 3] + $1802 * +HEAPF64[$1789 >> 3]); - if ($1815 == 0.0) { - $2263 = $1409; - label = 306; - break L19; - } - $1825 = (+HEAPF64[$1792 >> 3] + ($1808 * +HEAPF64[$14 >> 3] + $1802 * +HEAPF64[$1791 >> 3])) / $1815; - HEAPF32[$15 >> 2] = $1825; - $1834 = (+HEAPF64[$1795 >> 3] + ($1808 * +HEAPF64[$1793 >> 3] + $1802 * +HEAPF64[$1794 >> 3])) / $1815; - HEAPF32[$16 >> 2] = $1834; - _arParamIdeal2ObservLTf($8, $1825, $1834, $15, $16) | 0; - $1835 = +HEAPF32[$15 >> 2]; - if ($1796) { - $$16 = ((~~($1835 + 1.0) | 0) / 2 | 0) << 1; - $$161459 = ((~~(+HEAPF32[$16 >> 2] + 1.0) | 0) / 2 | 0) << 1; - } else { - $$16 = ~~($1835 + .5); - $$161459 = ~~(+HEAPF32[$16 >> 2] + .5); - } - if (($$16 | 0) > -1 ? ($$161459 | 0) < ($6 | 0) & (($$161459 | 0) > -1 & ($$16 | 0) < ($5 | 0)) : 0) { - $1858 = $4 + ((Math_imul($$161459, $5) | 0) + $$16 << 1 | 1) | 0; - $1865 = $1409 + ((Math_imul(($$161511 | 0) / ($102 | 0) | 0, $2) | 0) + (($$181492 | 0) / ($101 | 0) | 0) << 2) | 0; - HEAP32[$1865 >> 2] = (HEAP32[$1865 >> 2] | 0) + (HEAPU8[$1858 >> 0] | 0); - } - $$181492 = $$181492 + 1 | 0; - } - $$161511 = $$161511 + 1 | 0; - } - break; - } - case 8: - { - $1870 = $105 + 100.0; - $1871 = +($$31471 | 0); - $1872 = +($spec$select1520 | 0); - $1873 = $14 + 48 | 0; - $1874 = $14 + 56 | 0; - $1875 = $14 + 64 | 0; - $1876 = $14 + 8 | 0; - $1877 = $14 + 16 | 0; - $1878 = $14 + 24 | 0; - $1879 = $14 + 32 | 0; - $1880 = $14 + 40 | 0; - $1881 = ($0 | 0) == 1; - $$171512 = 0; - while (1) { - if (($$171512 | 0) >= ($$31471 | 0)) break L239; - $1887 = $1870 + $106 * (+($$171512 | 0) + .5) / $1871; - $$191493 = 0; - while (1) { - if (($$191493 | 0) >= ($spec$select1520 | 0)) break; - $1893 = $1870 + $106 * (+($$191493 | 0) + .5) / $1872; - $1900 = +HEAPF64[$1875 >> 3] + ($1893 * +HEAPF64[$1873 >> 3] + $1887 * +HEAPF64[$1874 >> 3]); - if ($1900 == 0.0) { - $2263 = $1409; - label = 306; - break L19; - } - $1910 = (+HEAPF64[$1877 >> 3] + ($1893 * +HEAPF64[$14 >> 3] + $1887 * +HEAPF64[$1876 >> 3])) / $1900; - HEAPF32[$15 >> 2] = $1910; - $1919 = (+HEAPF64[$1880 >> 3] + ($1893 * +HEAPF64[$1878 >> 3] + $1887 * +HEAPF64[$1879 >> 3])) / $1900; - HEAPF32[$16 >> 2] = $1919; - _arParamIdeal2ObservLTf($8, $1910, $1919, $15, $16) | 0; - $1920 = +HEAPF32[$15 >> 2]; - if ($1881) { - $$17 = ((~~($1920 + 1.0) | 0) / 2 | 0) << 1; - $$171460 = ((~~(+HEAPF32[$16 >> 2] + 1.0) | 0) / 2 | 0) << 1; - } else { - $$17 = ~~($1920 + .5); - $$171460 = ~~(+HEAPF32[$16 >> 2] + .5); - } - if (($$17 | 0) > -1 ? ($$171460 | 0) < ($6 | 0) & (($$171460 | 0) > -1 & ($$17 | 0) < ($5 | 0)) : 0) { - $1942 = $4 + ((Math_imul($$171460, $5) | 0) + $$17 << 1) | 0; - $1949 = $1409 + ((Math_imul(($$171512 | 0) / ($102 | 0) | 0, $2) | 0) + (($$191493 | 0) / ($101 | 0) | 0) << 2) | 0; - HEAP32[$1949 >> 2] = (HEAP32[$1949 >> 2] | 0) + (HEAPU8[$1942 >> 0] | 0); - } - $$191493 = $$191493 + 1 | 0; - } - $$171512 = $$171512 + 1 | 0; - } - break; - } - case 9: - { - $1954 = $105 + 100.0; - $1955 = +($$31471 | 0); - $1956 = +($spec$select1520 | 0); - $1957 = $14 + 48 | 0; - $1958 = $14 + 56 | 0; - $1959 = $14 + 64 | 0; - $1960 = $14 + 8 | 0; - $1961 = $14 + 16 | 0; - $1962 = $14 + 24 | 0; - $1963 = $14 + 32 | 0; - $1964 = $14 + 40 | 0; - $1965 = ($0 | 0) == 1; - $$181513 = 0; - while (1) { - if (($$181513 | 0) >= ($$31471 | 0)) break L239; - $1971 = $1954 + $106 * (+($$181513 | 0) + .5) / $1955; - $$201494 = 0; - while (1) { - if (($$201494 | 0) >= ($spec$select1520 | 0)) break; - $1977 = $1954 + $106 * (+($$201494 | 0) + .5) / $1956; - $1984 = +HEAPF64[$1959 >> 3] + ($1977 * +HEAPF64[$1957 >> 3] + $1971 * +HEAPF64[$1958 >> 3]); - if ($1984 == 0.0) { - $2263 = $1409; - label = 306; - break L19; - } - $1994 = (+HEAPF64[$1961 >> 3] + ($1977 * +HEAPF64[$14 >> 3] + $1971 * +HEAPF64[$1960 >> 3])) / $1984; - HEAPF32[$15 >> 2] = $1994; - $2003 = (+HEAPF64[$1964 >> 3] + ($1977 * +HEAPF64[$1962 >> 3] + $1971 * +HEAPF64[$1963 >> 3])) / $1984; - HEAPF32[$16 >> 2] = $2003; - _arParamIdeal2ObservLTf($8, $1994, $2003, $15, $16) | 0; - $2004 = +HEAPF32[$15 >> 2]; - if ($1965) { - $$18 = ((~~($2004 + 1.0) | 0) / 2 | 0) << 1; - $$181461 = ((~~(+HEAPF32[$16 >> 2] + 1.0) | 0) / 2 | 0) << 1; - } else { - $$18 = ~~($2004 + .5); - $$181461 = ~~(+HEAPF32[$16 >> 2] + .5); - } - if (($$18 | 0) > -1 ? ($$181461 | 0) < ($6 | 0) & (($$181461 | 0) > -1 & ($$18 | 0) < ($5 | 0)) : 0) { - $2025 = (Math_imul($$181461, $5) | 0) + $$18 << 1; - $2028 = HEAPU8[$4 + $2025 >> 0] | 0; - $2036 = HEAPU8[$4 + ($2025 | 1) >> 0] | 0; - $2051 = $1409 + ((Math_imul(($$181513 | 0) / ($102 | 0) | 0, $2) | 0) + (($$201494 | 0) / ($101 | 0) | 0) << 2) | 0; - HEAP32[$2051 >> 2] = (((($2028 << 5 & 224 | $2036 >>> 3 & 28 | 2) + ($2028 & 248 | 4) + ($2036 << 3 & 248 | 4) | 0) >>> 0) / 3 | 0) + (HEAP32[$2051 >> 2] | 0); - } - $$201494 = $$201494 + 1 | 0; - } - $$181513 = $$181513 + 1 | 0; - } - break; - } - case 10: - { - $2056 = $105 + 100.0; - $2057 = +($$31471 | 0); - $2058 = +($spec$select1520 | 0); - $2059 = $14 + 48 | 0; - $2060 = $14 + 56 | 0; - $2061 = $14 + 64 | 0; - $2062 = $14 + 8 | 0; - $2063 = $14 + 16 | 0; - $2064 = $14 + 24 | 0; - $2065 = $14 + 32 | 0; - $2066 = $14 + 40 | 0; - $2067 = ($0 | 0) == 1; - $$191514 = 0; - while (1) { - if (($$191514 | 0) >= ($$31471 | 0)) break L239; - $2073 = $2056 + $106 * (+($$191514 | 0) + .5) / $2057; - $$21 = 0; - while (1) { - if (($$21 | 0) >= ($spec$select1520 | 0)) break; - $2079 = $2056 + $106 * (+($$21 | 0) + .5) / $2058; - $2086 = +HEAPF64[$2061 >> 3] + ($2079 * +HEAPF64[$2059 >> 3] + $2073 * +HEAPF64[$2060 >> 3]); - if ($2086 == 0.0) { - $2263 = $1409; - label = 306; - break L19; - } - $2096 = (+HEAPF64[$2063 >> 3] + ($2079 * +HEAPF64[$14 >> 3] + $2073 * +HEAPF64[$2062 >> 3])) / $2086; - HEAPF32[$15 >> 2] = $2096; - $2105 = (+HEAPF64[$2066 >> 3] + ($2079 * +HEAPF64[$2064 >> 3] + $2073 * +HEAPF64[$2065 >> 3])) / $2086; - HEAPF32[$16 >> 2] = $2105; - _arParamIdeal2ObservLTf($8, $2096, $2105, $15, $16) | 0; - $2106 = +HEAPF32[$15 >> 2]; - if ($2067) { - $$19 = ((~~($2106 + 1.0) | 0) / 2 | 0) << 1; - $$191462 = ((~~(+HEAPF32[$16 >> 2] + 1.0) | 0) / 2 | 0) << 1; - } else { - $$19 = ~~($2106 + .5); - $$191462 = ~~(+HEAPF32[$16 >> 2] + .5); - } - if (($$19 | 0) > -1 ? ($$191462 | 0) < ($6 | 0) & (($$191462 | 0) > -1 & ($$19 | 0) < ($5 | 0)) : 0) { - $2127 = (Math_imul($$191462, $5) | 0) + $$19 << 1; - $2130 = HEAPU8[$4 + $2127 >> 0] | 0; - $2138 = HEAPU8[$4 + ($2127 | 1) >> 0] | 0; - $2153 = $1409 + ((Math_imul(($$191514 | 0) / ($102 | 0) | 0, $2) | 0) + (($$21 | 0) / ($101 | 0) | 0) << 2) | 0; - HEAP32[$2153 >> 2] = (((($2130 << 5 & 224 | $2138 >>> 3 & 24 | 4) + ($2130 & 248 | 4) + ($2138 << 2 & 248 | 4) | 0) >>> 0) / 3 | 0) + (HEAP32[$2153 >> 2] | 0); - } - $$21 = $$21 + 1 | 0; - } - $$191514 = $$191514 + 1 | 0; - } - break; - } - case 11: - { - $2158 = $105 + 100.0; - $2159 = +($$31471 | 0); - $2160 = +($spec$select1520 | 0); - $2161 = $14 + 48 | 0; - $2162 = $14 + 56 | 0; - $2163 = $14 + 64 | 0; - $2164 = $14 + 8 | 0; - $2165 = $14 + 16 | 0; - $2166 = $14 + 24 | 0; - $2167 = $14 + 32 | 0; - $2168 = $14 + 40 | 0; - $2169 = ($0 | 0) == 1; - $$201515 = 0; - while (1) { - if (($$201515 | 0) >= ($$31471 | 0)) break L239; - $2175 = $2158 + $106 * (+($$201515 | 0) + .5) / $2159; - $$22 = 0; - while (1) { - if (($$22 | 0) >= ($spec$select1520 | 0)) break; - $2181 = $2158 + $106 * (+($$22 | 0) + .5) / $2160; - $2188 = +HEAPF64[$2163 >> 3] + ($2181 * +HEAPF64[$2161 >> 3] + $2175 * +HEAPF64[$2162 >> 3]); - if ($2188 == 0.0) { - $2263 = $1409; - label = 306; - break L19; - } - $2198 = (+HEAPF64[$2165 >> 3] + ($2181 * +HEAPF64[$14 >> 3] + $2175 * +HEAPF64[$2164 >> 3])) / $2188; - HEAPF32[$15 >> 2] = $2198; - $2207 = (+HEAPF64[$2168 >> 3] + ($2181 * +HEAPF64[$2166 >> 3] + $2175 * +HEAPF64[$2167 >> 3])) / $2188; - HEAPF32[$16 >> 2] = $2207; - _arParamIdeal2ObservLTf($8, $2198, $2207, $15, $16) | 0; - $2208 = +HEAPF32[$15 >> 2]; - if ($2169) { - $$20 = ((~~($2208 + 1.0) | 0) / 2 | 0) << 1; - $$201463 = ((~~(+HEAPF32[$16 >> 2] + 1.0) | 0) / 2 | 0) << 1; - } else { - $$20 = ~~($2208 + .5); - $$201463 = ~~(+HEAPF32[$16 >> 2] + .5); - } - if (($$20 | 0) > -1 ? ($$201463 | 0) < ($6 | 0) & (($$201463 | 0) > -1 & ($$20 | 0) < ($5 | 0)) : 0) { - $2229 = (Math_imul($$201463, $5) | 0) + $$20 << 1; - $2232 = HEAPU8[$4 + $2229 >> 0] | 0; - $2251 = $1409 + ((Math_imul(($$201515 | 0) / ($102 | 0) | 0, $2) | 0) + (($$22 | 0) / ($101 | 0) | 0) << 2) | 0; - HEAP32[$2251 >> 2] = (((($2232 << 4 & 240 | 8) + ($2232 & 240 | 8) + ((HEAP8[$4 + ($2229 | 1) >> 0] & -16 | 8) & 255) | 0) >>> 0) / 3 | 0) + (HEAP32[$2251 >> 2] | 0); - } - $$22 = $$22 + 1 | 0; - } - $$201515 = $$201515 + 1 | 0; - } - break; - } - default: - { - _arLog(0, 3, 24238, $vararg_buffer5); - $2263 = $1409; - label = 306; - break L19; - } - } - } while (0); - $2256 = Math_imul($102, $101) | 0; - $$23 = 0; - while (1) { - if (($$23 | 0) == ($108 | 0)) break; - HEAP8[$11 + $$23 >> 0] = ((HEAP32[$1409 + ($$23 << 2) >> 2] | 0) >>> 0) / ($2256 >>> 0) | 0; - $$23 = $$23 + 1 | 0; - } - _free($1409); - $$0 = 0; - } while (0); - if ((label | 0) == 306) { - _free($2263); - $$0 = -1; - } - STACKTOP = sp; - return $$0 | 0; -} -function _malloc($0) { - $0 = $0 | 0; - var $$0 = 0, $$0$i$i = 0, $$0$i$i$i = 0, $$0$i16$i = 0, $$0187$i = 0, $$0189$i = 0, $$0190$i = 0, $$0191$i = 0, $$0197 = 0, $$0199 = 0, $$02065$i$i = 0, $$0207$lcssa$i$i = 0, $$02074$i$i = 0, $$0211$i$i = 0, $$0212$i$i = 0, $$024372$i = 0, $$0286$i$i = 0, $$028711$i$i = 0, $$0288$lcssa$i$i = 0, $$028810$i$i = 0, $$0294$i$i = 0, $$0295$i$i = 0, $$0340$i = 0, $$034217$i = 0, $$0343$lcssa$i = 0, $$034316$i = 0, $$0345$i = 0, $$0351$i = 0, $$0357$i = 0, $$0358$i = 0, $$0360$i = 0, $$0361$i = 0, $$0367$i = 0, $$1194$i = 0, $$1194$i$be = 0, $$1194$i$ph = 0, $$1196$i = 0, $$1196$i$be = 0, $$1196$i$ph = 0, $$124471$i = 0, $$1290$i$i = 0, $$1290$i$i$be = 0, $$1290$i$i$ph = 0, $$1292$i$i = 0, $$1292$i$i$be = 0, $$1292$i$i$ph = 0, $$1341$i = 0, $$1346$i = 0, $$1362$i = 0, $$1369$i = 0, $$1369$i$be = 0, $$1369$i$ph = 0, $$1373$i = 0, $$1373$i$be = 0, $$1373$i$ph = 0, $$2234243136$i = 0, $$2247$ph$i = 0, $$2253$ph$i = 0, $$2353$i = 0, $$3$i = 0, $$3$i$i = 0, $$3$i203 = 0, $$3$i203218 = 0, $$3348$i = 0, $$3371$i = 0, $$4$lcssa$i = 0, $$420$i = 0, $$420$i$ph = 0, $$4236$i = 0, $$4349$lcssa$i = 0, $$434919$i = 0, $$434919$i$ph = 0, $$4355$i = 0, $$535618$i = 0, $$535618$i$ph = 0, $$723947$i = 0, $$748$i = 0, $$pre$phi$i$iZ2D = 0, $$pre$phi$i18$iZ2D = 0, $$pre$phi$i209Z2D = 0, $$pre$phi$iZ2D = 0, $$pre$phi17$i$iZ2D = 0, $$pre$phiZ2D = 0, $1 = 0, $1000 = 0, $1003 = 0, $1008 = 0, $101 = 0, $1014 = 0, $1017 = 0, $1018 = 0, $102 = 0, $1025 = 0, $1037 = 0, $1042 = 0, $1049 = 0, $1050 = 0, $1051 = 0, $1060 = 0, $1062 = 0, $1063 = 0, $1064 = 0, $1070 = 0, $108 = 0, $112 = 0, $114 = 0, $115 = 0, $117 = 0, $119 = 0, $121 = 0, $123 = 0, $125 = 0, $127 = 0, $129 = 0, $134 = 0, $14 = 0, $140 = 0, $143 = 0, $146 = 0, $149 = 0, $150 = 0, $151 = 0, $153 = 0, $156 = 0, $158 = 0, $16 = 0, $161 = 0, $163 = 0, $166 = 0, $169 = 0, $17 = 0, $170 = 0, $172 = 0, $173 = 0, $175 = 0, $176 = 0, $178 = 0, $179 = 0, $18 = 0, $184 = 0, $185 = 0, $19 = 0, $193 = 0, $198 = 0, $20 = 0, $202 = 0, $208 = 0, $215 = 0, $219 = 0, $228 = 0, $229 = 0, $231 = 0, $232 = 0, $236 = 0, $237 = 0, $245 = 0, $246 = 0, $247 = 0, $249 = 0, $250 = 0, $255 = 0, $256 = 0, $259 = 0, $261 = 0, $264 = 0, $269 = 0, $27 = 0, $276 = 0, $286 = 0, $290 = 0, $299 = 0, $30 = 0, $302 = 0, $306 = 0, $308 = 0, $309 = 0, $311 = 0, $313 = 0, $315 = 0, $317 = 0, $319 = 0, $321 = 0, $323 = 0, $333 = 0, $334 = 0, $336 = 0, $34 = 0, $341 = 0, $346 = 0, $348 = 0, $351 = 0, $353 = 0, $356 = 0, $358 = 0, $361 = 0, $364 = 0, $365 = 0, $367 = 0, $368 = 0, $37 = 0, $370 = 0, $371 = 0, $373 = 0, $374 = 0, $379 = 0, $380 = 0, $385 = 0, $388 = 0, $393 = 0, $397 = 0, $403 = 0, $41 = 0, $410 = 0, $414 = 0, $422 = 0, $425 = 0, $426 = 0, $427 = 0, $431 = 0, $432 = 0, $438 = 0, $44 = 0, $443 = 0, $444 = 0, $447 = 0, $449 = 0, $452 = 0, $457 = 0, $463 = 0, $465 = 0, $467 = 0, $469 = 0, $47 = 0, $475 = 0, $487 = 0, $49 = 0, $492 = 0, $499 = 0, $50 = 0, $500 = 0, $501 = 0, $510 = 0, $512 = 0, $513 = 0, $515 = 0, $52 = 0, $524 = 0, $528 = 0, $530 = 0, $531 = 0, $532 = 0, $54 = 0, $543 = 0, $544 = 0, $545 = 0, $546 = 0, $547 = 0, $548 = 0, $550 = 0, $552 = 0, $553 = 0, $559 = 0, $56 = 0, $561 = 0, $568 = 0, $570 = 0, $572 = 0, $573 = 0, $574 = 0, $58 = 0, $582 = 0, $583 = 0, $586 = 0, $590 = 0, $593 = 0, $596 = 0, $6 = 0, $60 = 0, $602 = 0, $606 = 0, $610 = 0, $619 = 0, $62 = 0, $620 = 0, $626 = 0, $628 = 0, $632 = 0, $635 = 0, $637 = 0, $64 = 0, $641 = 0, $643 = 0, $648 = 0, $649 = 0, $650 = 0, $656 = 0, $658 = 0, $662 = 0, $664 = 0, $67 = 0, $673 = 0, $675 = 0, $680 = 0, $681 = 0, $682 = 0, $688 = 0, $69 = 0, $690 = 0, $694 = 0, $7 = 0, $70 = 0, $700 = 0, $704 = 0, $71 = 0, $710 = 0, $712 = 0, $718 = 0, $72 = 0, $722 = 0, $723 = 0, $728 = 0, $73 = 0, $734 = 0, $739 = 0, $742 = 0, $743 = 0, $746 = 0, $748 = 0, $750 = 0, $753 = 0, $764 = 0, $769 = 0, $77 = 0, $771 = 0, $774 = 0, $776 = 0, $779 = 0, $782 = 0, $783 = 0, $784 = 0, $786 = 0, $788 = 0, $789 = 0, $791 = 0, $792 = 0, $797 = 0, $798 = 0, $8 = 0, $80 = 0, $807 = 0, $812 = 0, $815 = 0, $816 = 0, $822 = 0, $83 = 0, $830 = 0, $836 = 0, $839 = 0, $84 = 0, $840 = 0, $841 = 0, $845 = 0, $846 = 0, $852 = 0, $857 = 0, $858 = 0, $861 = 0, $863 = 0, $866 = 0, $87 = 0, $871 = 0, $877 = 0, $879 = 0, $881 = 0, $882 = 0, $889 = 0, $9 = 0, $901 = 0, $906 = 0, $913 = 0, $914 = 0, $915 = 0, $92 = 0, $923 = 0, $927 = 0, $93 = 0, $931 = 0, $933 = 0, $939 = 0, $940 = 0, $942 = 0, $943 = 0, $945 = 0, $947 = 0, $95 = 0, $952 = 0, $953 = 0, $954 = 0, $96 = 0, $960 = 0, $962 = 0, $968 = 0, $973 = 0, $976 = 0, $977 = 0, $978 = 0, $98 = 0, $982 = 0, $983 = 0, $989 = 0, $994 = 0, $995 = 0, $998 = 0, $spec$select$i205 = 0, $spec$select3$i = 0, $spec$select49$i = 0, label = 0, sp = 0, $962$looptemp = 0; +function _malloc($bytes) { + $bytes = $bytes | 0; + var $$pre$phi$i$iZ2D = 0, $$pre$phi$i185Z2D = 0, $$pre$phi$i48$iZ2D = 0, $$pre$phi$iZ2D = 0, $$pre$phiZ2D = 0, $0 = 0, $1 = 0, $10 = 0, $100 = 0, $101 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $110 = 0, $114 = 0, $115 = 0, $117 = 0, $119 = 0, $120 = 0, $121 = 0, $124 = 0, $126 = 0, $128 = 0, $13 = 0, $131 = 0, $132 = 0, $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $143 = 0, $144 = 0, $145 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0, $151 = 0, $152 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $162 = 0, $163 = 0, $164 = 0, $166 = 0, $167 = 0, $169 = 0, $172 = 0, $173 = 0, $175 = 0, $178 = 0, $179 = 0, $18 = 0, $181 = 0, $183 = 0, $184 = 0, $185 = 0, $187 = 0, $188 = 0, $19 = 0, $190 = 0, $193 = 0, $194 = 0, $196 = 0, $197 = 0, $2 = 0, $21 = 0, $22 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $38 = 0, $39 = 0, $40 = 0, $43 = 0, $44 = 0, $45 = 0, $47 = 0, $48 = 0, $50 = 0, $54 = 0, $57 = 0, $58 = 0, $59 = 0, $60 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $7 = 0, $71 = 0, $72 = 0, $73 = 0, $76 = 0, $77 = 0, $78 = 0, $8 = 0, $80 = 0, $81 = 0, $83 = 0, $86 = 0, $87 = 0, $89 = 0, $9 = 0, $90 = 0, $92 = 0, $93 = 0, $96 = 0, $97 = 0, $98 = 0, $F$0$i$i = 0, $F104$0 = 0, $F197$0$i = 0, $F224$0$i$i = 0, $F290$0$i = 0, $I252$0$i$i = 0, $I316$0$i = 0, $I57$0$i$i = 0, $K105$011$i$i = 0, $K305$010$i$i = 0, $K373$017$i = 0, $R$1$i = 0, $R$1$i$be = 0, $R$1$i$i = 0, $R$1$i$i$be = 0, $R$1$i$i$ph = 0, $R$1$i$ph = 0, $R$1$i173 = 0, $R$1$i173$be = 0, $R$1$i173$ph = 0, $R$3$i = 0, $R$3$i$i = 0, $R$3$i177 = 0, $RP$1$i = 0, $RP$1$i$be = 0, $RP$1$i$i = 0, $RP$1$i$i$be = 0, $RP$1$i$i$ph = 0, $RP$1$i$ph = 0, $RP$1$i172 = 0, $RP$1$i172$be = 0, $RP$1$i172$ph = 0, $T$0$lcssa$i = 0, $T$0$lcssa$i$i = 0, $T$0$lcssa$i50$i = 0, $T$010$i$i = 0, $T$016$i = 0, $T$09$i$i = 0, $add$i$i = 0, $add$i188 = 0, $add$ptr$i = 0, $add$ptr$i$i$i = 0, $add$ptr$i164 = 0, $add$ptr14$i$i = 0, $add$ptr16$i$i = 0, $add$ptr166 = 0, $add$ptr17$i$i = 0, $add$ptr193 = 0, $add$ptr2$i$i = 0, $add$ptr227$i = 0, $add$ptr262$i = 0, $add$ptr4$i$i = 0, $add$ptr4$i$i$i = 0, $add$ptr4$i28$i = 0, $add$ptr4$i57$i = 0, $add$ptr7$i$i = 0, $add$ptr81$i$i = 0, $add$ptr95 = 0, $add144 = 0, $add150$i = 0, $add17$i = 0, $add17$i191 = 0, $add177$i = 0, $add215$i = 0, $add26$i$i = 0, $add268$i = 0, $add278$i$i = 0, $add346$i = 0, $add54$i = 0, $add64 = 0, $add8 = 0, $add83$i$i = 0, $add9$i = 0, $and$i145 = 0, $and104$i = 0, $and11$i = 0, $and12$i = 0, $and13$i = 0, $and145 = 0, $and17$i = 0, $and194$i = 0, $and264$i$i = 0, $and268$i$i = 0, $and273$i$i = 0, $and3$i = 0, $and331$i = 0, $and336$i = 0, $and341$i = 0, $and37$i$i = 0, $and41 = 0, $and46 = 0, $and49 = 0, $and53 = 0, $and57 = 0, $and6$i = 0, $and61 = 0, $and64$i = 0, $and69$i$i = 0, $and73$i = 0, $and73$i$i = 0, $and74 = 0, $and77$i = 0, $and78$i$i = 0, $and8$i = 0, $and80$i = 0, $and81$i = 0, $and85$i = 0, $and89$i = 0, $and9$i = 0, $arrayidx = 0, $arrayidx$i$i = 0, $arrayidx$i39$i = 0, $arrayidx103 = 0, $arrayidx103$i$i = 0, $arrayidx107$i$i = 0, $arrayidx113$i = 0, $arrayidx123$i$i = 0, $arrayidx126$i$i = 0, $arrayidx143$i$i = 0, $arrayidx151$i = 0, $arrayidx155$i = 0, $arrayidx161$i = 0, $arrayidx165$i174 = 0, $arrayidx184$i = 0, $arrayidx196$i = 0, $arrayidx204$i = 0, $arrayidx223$i$i = 0, $arrayidx287$i$i = 0, $arrayidx289$i = 0, $arrayidx325$i$i = 0, $arrayidx355$i = 0, $arrayidx394$i = 0, $arrayidx61$i = 0, $arrayidx65$i = 0, $arrayidx66 = 0, $arrayidx71$i = 0, $arrayidx75$i = 0, $arrayidx91$i$i = 0, $arrayidx94$i = 0, $arrayidx96$i$i = 0, $bk = 0, $bk136$i = 0, $bk47$i = 0, $bk78 = 0, $bk82$i$i = 0, $br$2$ph$i = 0, $call131$i = 0, $call132$i = 0, $call275$i = 0, $call37$i = 0, $call68$i = 0, $call83$i = 0, $child$i$i = 0, $child166$i$i = 0, $child289$i$i = 0, $child357$i = 0, $cmp102$i = 0, $cmp141$i = 0, $cmp32$i = 0, $cond = 0, $cond$i$i$i = 0, $cond$i20$i = 0, $cond$i56$i = 0, $cond115$i = 0, $cond13$i$i = 0, $cond5$i = 0, $fd139$i = 0, $fd148$i$i = 0, $fd344$i$i = 0, $fd416$i = 0, $fd50$i = 0, $fd59$i$i = 0, $fd68$pre$phi$i$iZ2D = 0, $fd69 = 0, $fd85$i$i = 0, $fd9 = 0, $head$i$i = 0, $head179 = 0, $head182$i = 0, $head208$i$i = 0, $head25 = 0, $head274$i = 0, $idx$0$i = 0, $magic$i$i = 0, $nb$0 = 0, $neg$i190 = 0, $oldfirst$0$i$i = 0, $qsize$0$i$i = 0, $retval$0 = 0, $rsize$0$i = 0, $rsize$0$i154 = 0, $rsize$1$i = 0, $rsize$3$i = 0, $rsize$4$lcssa$i = 0, $rsize$420$i = 0, $rsize$420$i$ph = 0, $rst$0$i = 0, $rst$1$i = 0, $shl$i146 = 0, $shl105 = 0, $shl198$i = 0, $shl22 = 0, $shl226$i$i = 0, $shl265$i$i = 0, $shl270$i$i = 0, $shl291$i = 0, $shl294$i$i = 0, $shl333$i = 0, $shl338$i = 0, $shl362$i = 0, $shl37 = 0, $shl39$i$i = 0, $shl60$i = 0, $shl70$i$i = 0, $shl75$i$i = 0, $shl9$i = 0, $shl90 = 0, $shl95$i$i = 0, $shr = 0, $shr$i$i = 0, $shr$i141 = 0, $shr$i36$i = 0, $shr101 = 0, $shr11$i = 0, $shr15$i = 0, $shr194$i = 0, $shr214$i$i = 0, $shr253$i$i = 0, $shr283$i = 0, $shr3 = 0, $shr318$i = 0, $shr4$i = 0, $shr47 = 0, $shr51 = 0, $shr55 = 0, $shr58$i$i = 0, $shr59 = 0, $shr7$i = 0, $shr75$i = 0, $shr79$i = 0, $shr83$i = 0, $shr87$i = 0, $size188$i$le = 0, $size245$i = 0, $sizebits$0$i = 0, $sp$0$i$i = 0, $sp$0$i$i$i = 0, $sp$0116$i = 0, $sp$1115$i = 0, $spec$select$i159 = 0, $spec$select100$i = 0, $spec$select3$i = 0, $ssize$2$ph$i = 0, $sub$i140 = 0, $sub$i189 = 0, $sub$ptr$sub$i = 0, $sub$ptr$sub$i$i = 0, $sub101$i = 0, $sub112$i = 0, $sub16$i$i = 0, $sub160 = 0, $sub172$i = 0, $sub18$i$i = 0, $sub190 = 0, $sub2$i = 0, $sub260$i = 0, $sub31$i = 0, $sub33$i = 0, $sub41$i = 0, $sub44 = 0, $sub5$i$i = 0, $sub5$i$i$i = 0, $sub5$i58$i = 0, $sub70$i = 0, $sub91 = 0, $t$0$i = 0, $t$0$i153 = 0, $t$2$i = 0, $t$4$i = 0, $t$519$i = 0, $t$519$i$ph = 0, $tbase$799$i = 0, $tsize$2687886$i = 0, $tsize$4$i = 0, $tsize$798$i = 0, $v$0$i = 0, $v$0$i155 = 0, $v$1$i = 0, $v$3$i = 0, $v$3$i222 = 0, $v$4$lcssa$i = 0, $v$421$i = 0, $v$421$i$ph = 0, label = 0, sp = 0, $181$looptemp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $1 = sp; - do if ($0 >>> 0 < 245) { - $6 = $0 >>> 0 < 11 ? 16 : $0 + 11 & -8; - $7 = $6 >>> 3; - $8 = HEAP32[16735] | 0; - $9 = $8 >>> $7; - if ($9 & 3 | 0) { - $14 = ($9 & 1 ^ 1) + $7 | 0; - $16 = 66980 + ($14 << 1 << 2) | 0; - $17 = $16 + 8 | 0; - $18 = HEAP32[$17 >> 2] | 0; - $19 = $18 + 8 | 0; - $20 = HEAP32[$19 >> 2] | 0; - do if (($20 | 0) != ($16 | 0)) { - if ((HEAP32[16739] | 0) >>> 0 > $20 >>> 0) _abort(); - $27 = $20 + 12 | 0; - if ((HEAP32[$27 >> 2] | 0) == ($18 | 0)) { - HEAP32[$27 >> 2] = $16; - HEAP32[$17 >> 2] = $20; + $magic$i$i = sp; + do if ($bytes >>> 0 < 245) { + $cond = $bytes >>> 0 < 11 ? 16 : $bytes + 11 & -8; + $shr = $cond >>> 3; + $0 = HEAP32[16947] | 0; + $shr3 = $0 >>> $shr; + if ($shr3 & 3 | 0) { + $add8 = ($shr3 & 1 ^ 1) + $shr | 0; + $arrayidx = 67828 + ($add8 << 1 << 2) | 0; + $1 = $arrayidx + 8 | 0; + $2 = HEAP32[$1 >> 2] | 0; + $fd9 = $2 + 8 | 0; + $3 = HEAP32[$fd9 >> 2] | 0; + do if (($3 | 0) != ($arrayidx | 0)) { + if ((HEAP32[16951] | 0) >>> 0 > $3 >>> 0) _abort(); + $bk = $3 + 12 | 0; + if ((HEAP32[$bk >> 2] | 0) == ($2 | 0)) { + HEAP32[$bk >> 2] = $arrayidx; + HEAP32[$1 >> 2] = $3; break; } else _abort(); - } else HEAP32[16735] = $8 & ~(1 << $14); while (0); - $30 = $14 << 3; - HEAP32[$18 + 4 >> 2] = $30 | 3; - $34 = $18 + $30 + 4 | 0; - HEAP32[$34 >> 2] = HEAP32[$34 >> 2] | 1; - $$0 = $19; + } else HEAP32[16947] = $0 & ~(1 << $add8); while (0); + $shl22 = $add8 << 3; + HEAP32[$2 + 4 >> 2] = $shl22 | 3; + $head25 = $2 + $shl22 + 4 | 0; + HEAP32[$head25 >> 2] = HEAP32[$head25 >> 2] | 1; + $retval$0 = $fd9; STACKTOP = sp; - return $$0 | 0; - } - $37 = HEAP32[16737] | 0; - if ($6 >>> 0 > $37 >>> 0) { - if ($9 | 0) { - $41 = 2 << $7; - $44 = $9 << $7 & ($41 | 0 - $41); - $47 = ($44 & 0 - $44) + -1 | 0; - $49 = $47 >>> 12 & 16; - $50 = $47 >>> $49; - $52 = $50 >>> 5 & 8; - $54 = $50 >>> $52; - $56 = $54 >>> 2 & 4; - $58 = $54 >>> $56; - $60 = $58 >>> 1 & 2; - $62 = $58 >>> $60; - $64 = $62 >>> 1 & 1; - $67 = ($52 | $49 | $56 | $60 | $64) + ($62 >>> $64) | 0; - $69 = 66980 + ($67 << 1 << 2) | 0; - $70 = $69 + 8 | 0; - $71 = HEAP32[$70 >> 2] | 0; - $72 = $71 + 8 | 0; - $73 = HEAP32[$72 >> 2] | 0; - do if (($73 | 0) != ($69 | 0)) { - if ((HEAP32[16739] | 0) >>> 0 > $73 >>> 0) _abort(); - $80 = $73 + 12 | 0; - if ((HEAP32[$80 >> 2] | 0) == ($71 | 0)) { - HEAP32[$80 >> 2] = $69; - HEAP32[$70 >> 2] = $73; - $98 = $8; + return $retval$0 | 0; + } + $7 = HEAP32[16949] | 0; + if ($cond >>> 0 > $7 >>> 0) { + if ($shr3 | 0) { + $shl37 = 2 << $shr; + $and41 = $shr3 << $shr & ($shl37 | 0 - $shl37); + $sub44 = ($and41 & 0 - $and41) + -1 | 0; + $and46 = $sub44 >>> 12 & 16; + $shr47 = $sub44 >>> $and46; + $and49 = $shr47 >>> 5 & 8; + $shr51 = $shr47 >>> $and49; + $and53 = $shr51 >>> 2 & 4; + $shr55 = $shr51 >>> $and53; + $and57 = $shr55 >>> 1 & 2; + $shr59 = $shr55 >>> $and57; + $and61 = $shr59 >>> 1 & 1; + $add64 = ($and49 | $and46 | $and53 | $and57 | $and61) + ($shr59 >>> $and61) | 0; + $arrayidx66 = 67828 + ($add64 << 1 << 2) | 0; + $8 = $arrayidx66 + 8 | 0; + $9 = HEAP32[$8 >> 2] | 0; + $fd69 = $9 + 8 | 0; + $10 = HEAP32[$fd69 >> 2] | 0; + do if (($10 | 0) != ($arrayidx66 | 0)) { + if ((HEAP32[16951] | 0) >>> 0 > $10 >>> 0) _abort(); + $bk78 = $10 + 12 | 0; + if ((HEAP32[$bk78 >> 2] | 0) == ($9 | 0)) { + HEAP32[$bk78 >> 2] = $arrayidx66; + HEAP32[$8 >> 2] = $10; + $14 = $0; break; } else _abort(); } else { - $77 = $8 & ~(1 << $67); - HEAP32[16735] = $77; - $98 = $77; + $and74 = $0 & ~(1 << $add64); + HEAP32[16947] = $and74; + $14 = $and74; } while (0); - $83 = $67 << 3; - $84 = $83 - $6 | 0; - HEAP32[$71 + 4 >> 2] = $6 | 3; - $87 = $71 + $6 | 0; - HEAP32[$87 + 4 >> 2] = $84 | 1; - HEAP32[$71 + $83 >> 2] = $84; - if ($37 | 0) { - $92 = HEAP32[16740] | 0; - $93 = $37 >>> 3; - $95 = 66980 + ($93 << 1 << 2) | 0; - $96 = 1 << $93; - if ($98 & $96) { - $101 = $95 + 8 | 0; - $102 = HEAP32[$101 >> 2] | 0; - if ((HEAP32[16739] | 0) >>> 0 > $102 >>> 0) _abort(); else { - $$0199 = $102; - $$pre$phiZ2D = $101; + $shl90 = $add64 << 3; + $sub91 = $shl90 - $cond | 0; + HEAP32[$9 + 4 >> 2] = $cond | 3; + $add$ptr95 = $9 + $cond | 0; + HEAP32[$add$ptr95 + 4 >> 2] = $sub91 | 1; + HEAP32[$9 + $shl90 >> 2] = $sub91; + if ($7 | 0) { + $13 = HEAP32[16952] | 0; + $shr101 = $7 >>> 3; + $arrayidx103 = 67828 + ($shr101 << 1 << 2) | 0; + $shl105 = 1 << $shr101; + if ($14 & $shl105) { + $15 = $arrayidx103 + 8 | 0; + $16 = HEAP32[$15 >> 2] | 0; + if ((HEAP32[16951] | 0) >>> 0 > $16 >>> 0) _abort(); else { + $$pre$phiZ2D = $15; + $F104$0 = $16; } } else { - HEAP32[16735] = $98 | $96; - $$0199 = $95; - $$pre$phiZ2D = $95 + 8 | 0; - } - HEAP32[$$pre$phiZ2D >> 2] = $92; - HEAP32[$$0199 + 12 >> 2] = $92; - HEAP32[$92 + 8 >> 2] = $$0199; - HEAP32[$92 + 12 >> 2] = $95; - } - HEAP32[16737] = $84; - HEAP32[16740] = $87; - $$0 = $72; + HEAP32[16947] = $14 | $shl105; + $$pre$phiZ2D = $arrayidx103 + 8 | 0; + $F104$0 = $arrayidx103; + } + HEAP32[$$pre$phiZ2D >> 2] = $13; + HEAP32[$F104$0 + 12 >> 2] = $13; + HEAP32[$13 + 8 >> 2] = $F104$0; + HEAP32[$13 + 12 >> 2] = $arrayidx103; + } + HEAP32[16949] = $sub91; + HEAP32[16952] = $add$ptr95; + $retval$0 = $fd69; STACKTOP = sp; - return $$0 | 0; - } - $108 = HEAP32[16736] | 0; - if ($108) { - $112 = ($108 & 0 - $108) + -1 | 0; - $114 = $112 >>> 12 & 16; - $115 = $112 >>> $114; - $117 = $115 >>> 5 & 8; - $119 = $115 >>> $117; - $121 = $119 >>> 2 & 4; - $123 = $119 >>> $121; - $125 = $123 >>> 1 & 2; - $127 = $123 >>> $125; - $129 = $127 >>> 1 & 1; - $134 = HEAP32[67244 + (($117 | $114 | $121 | $125 | $129) + ($127 >>> $129) << 2) >> 2] | 0; - $$0189$i = $134; - $$0190$i = $134; - $$0191$i = (HEAP32[$134 + 4 >> 2] & -8) - $6 | 0; + return $retval$0 | 0; + } + $18 = HEAP32[16948] | 0; + if ($18) { + $sub2$i = ($18 & 0 - $18) + -1 | 0; + $and3$i = $sub2$i >>> 12 & 16; + $shr4$i = $sub2$i >>> $and3$i; + $and6$i = $shr4$i >>> 5 & 8; + $shr7$i = $shr4$i >>> $and6$i; + $and9$i = $shr7$i >>> 2 & 4; + $shr11$i = $shr7$i >>> $and9$i; + $and13$i = $shr11$i >>> 1 & 2; + $shr15$i = $shr11$i >>> $and13$i; + $and17$i = $shr15$i >>> 1 & 1; + $19 = HEAP32[68092 + (($and6$i | $and3$i | $and9$i | $and13$i | $and17$i) + ($shr15$i >>> $and17$i) << 2) >> 2] | 0; + $rsize$0$i = (HEAP32[$19 + 4 >> 2] & -8) - $cond | 0; + $t$0$i = $19; + $v$0$i = $19; while (1) { - $140 = HEAP32[$$0189$i + 16 >> 2] | 0; - if (!$140) { - $143 = HEAP32[$$0189$i + 20 >> 2] | 0; - if (!$143) break; else $146 = $143; - } else $146 = $140; - $149 = (HEAP32[$146 + 4 >> 2] & -8) - $6 | 0; - $150 = $149 >>> 0 < $$0191$i >>> 0; - $$0189$i = $146; - $$0190$i = $150 ? $146 : $$0190$i; - $$0191$i = $150 ? $149 : $$0191$i; - } - $151 = HEAP32[16739] | 0; - if ($151 >>> 0 > $$0190$i >>> 0) _abort(); - $153 = $$0190$i + $6 | 0; - if ($153 >>> 0 <= $$0190$i >>> 0) _abort(); - $156 = HEAP32[$$0190$i + 24 >> 2] | 0; - $158 = HEAP32[$$0190$i + 12 >> 2] | 0; - do if (($158 | 0) == ($$0190$i | 0)) { - $169 = $$0190$i + 20 | 0; - $170 = HEAP32[$169 >> 2] | 0; - if (!$170) { - $172 = $$0190$i + 16 | 0; - $173 = HEAP32[$172 >> 2] | 0; - if (!$173) { - $$3$i = 0; + $21 = HEAP32[$t$0$i + 16 >> 2] | 0; + if (!$21) { + $22 = HEAP32[$t$0$i + 20 >> 2] | 0; + if (!$22) break; else $cond5$i = $22; + } else $cond5$i = $21; + $sub31$i = (HEAP32[$cond5$i + 4 >> 2] & -8) - $cond | 0; + $cmp32$i = $sub31$i >>> 0 < $rsize$0$i >>> 0; + $rsize$0$i = $cmp32$i ? $sub31$i : $rsize$0$i; + $t$0$i = $cond5$i; + $v$0$i = $cmp32$i ? $cond5$i : $v$0$i; + } + $24 = HEAP32[16951] | 0; + if ($24 >>> 0 > $v$0$i >>> 0) _abort(); + $add$ptr$i = $v$0$i + $cond | 0; + if ($add$ptr$i >>> 0 <= $v$0$i >>> 0) _abort(); + $25 = HEAP32[$v$0$i + 24 >> 2] | 0; + $26 = HEAP32[$v$0$i + 12 >> 2] | 0; + do if (($26 | 0) == ($v$0$i | 0)) { + $arrayidx61$i = $v$0$i + 20 | 0; + $30 = HEAP32[$arrayidx61$i >> 2] | 0; + if (!$30) { + $arrayidx65$i = $v$0$i + 16 | 0; + $31 = HEAP32[$arrayidx65$i >> 2] | 0; + if (!$31) { + $R$3$i = 0; break; } else { - $$1194$i$ph = $173; - $$1196$i$ph = $172; + $R$1$i$ph = $31; + $RP$1$i$ph = $arrayidx65$i; } } else { - $$1194$i$ph = $170; - $$1196$i$ph = $169; + $R$1$i$ph = $30; + $RP$1$i$ph = $arrayidx61$i; } - $$1194$i = $$1194$i$ph; - $$1196$i = $$1196$i$ph; + $R$1$i = $R$1$i$ph; + $RP$1$i = $RP$1$i$ph; while (1) { - $175 = $$1194$i + 20 | 0; - $176 = HEAP32[$175 >> 2] | 0; - if (!$176) { - $178 = $$1194$i + 16 | 0; - $179 = HEAP32[$178 >> 2] | 0; - if (!$179) break; else { - $$1194$i$be = $179; - $$1196$i$be = $178; + $arrayidx71$i = $R$1$i + 20 | 0; + $32 = HEAP32[$arrayidx71$i >> 2] | 0; + if (!$32) { + $arrayidx75$i = $R$1$i + 16 | 0; + $33 = HEAP32[$arrayidx75$i >> 2] | 0; + if (!$33) break; else { + $R$1$i$be = $33; + $RP$1$i$be = $arrayidx75$i; } } else { - $$1194$i$be = $176; - $$1196$i$be = $175; + $R$1$i$be = $32; + $RP$1$i$be = $arrayidx71$i; } - $$1194$i = $$1194$i$be; - $$1196$i = $$1196$i$be; + $R$1$i = $R$1$i$be; + $RP$1$i = $RP$1$i$be; } - if ($151 >>> 0 > $$1196$i >>> 0) _abort(); else { - HEAP32[$$1196$i >> 2] = 0; - $$3$i = $$1194$i; + if ($24 >>> 0 > $RP$1$i >>> 0) _abort(); else { + HEAP32[$RP$1$i >> 2] = 0; + $R$3$i = $R$1$i; break; } } else { - $161 = HEAP32[$$0190$i + 8 >> 2] | 0; - if ($151 >>> 0 > $161 >>> 0) _abort(); - $163 = $161 + 12 | 0; - if ((HEAP32[$163 >> 2] | 0) != ($$0190$i | 0)) _abort(); - $166 = $158 + 8 | 0; - if ((HEAP32[$166 >> 2] | 0) == ($$0190$i | 0)) { - HEAP32[$163 >> 2] = $158; - HEAP32[$166 >> 2] = $161; - $$3$i = $158; + $27 = HEAP32[$v$0$i + 8 >> 2] | 0; + if ($24 >>> 0 > $27 >>> 0) _abort(); + $bk47$i = $27 + 12 | 0; + if ((HEAP32[$bk47$i >> 2] | 0) != ($v$0$i | 0)) _abort(); + $fd50$i = $26 + 8 | 0; + if ((HEAP32[$fd50$i >> 2] | 0) == ($v$0$i | 0)) { + HEAP32[$bk47$i >> 2] = $26; + HEAP32[$fd50$i >> 2] = $27; + $R$3$i = $26; break; } else _abort(); } while (0); - L78 : do if ($156 | 0) { - $184 = HEAP32[$$0190$i + 28 >> 2] | 0; - $185 = 67244 + ($184 << 2) | 0; - do if (($$0190$i | 0) == (HEAP32[$185 >> 2] | 0)) { - HEAP32[$185 >> 2] = $$3$i; - if (!$$3$i) { - HEAP32[16736] = $108 & ~(1 << $184); + L78 : do if ($25 | 0) { + $34 = HEAP32[$v$0$i + 28 >> 2] | 0; + $arrayidx94$i = 68092 + ($34 << 2) | 0; + do if (($v$0$i | 0) == (HEAP32[$arrayidx94$i >> 2] | 0)) { + HEAP32[$arrayidx94$i >> 2] = $R$3$i; + if (!$R$3$i) { + HEAP32[16948] = $18 & ~(1 << $34); break L78; } - } else if ((HEAP32[16739] | 0) >>> 0 <= $156 >>> 0) { - $193 = $156 + 16 | 0; - HEAP32[((HEAP32[$193 >> 2] | 0) == ($$0190$i | 0) ? $193 : $156 + 20 | 0) >> 2] = $$3$i; - if (!$$3$i) break L78; else break; + } else if ((HEAP32[16951] | 0) >>> 0 <= $25 >>> 0) { + $arrayidx113$i = $25 + 16 | 0; + HEAP32[((HEAP32[$arrayidx113$i >> 2] | 0) == ($v$0$i | 0) ? $arrayidx113$i : $25 + 20 | 0) >> 2] = $R$3$i; + if (!$R$3$i) break L78; else break; } else _abort(); while (0); - $198 = HEAP32[16739] | 0; - if ($198 >>> 0 > $$3$i >>> 0) _abort(); - HEAP32[$$3$i + 24 >> 2] = $156; - $202 = HEAP32[$$0190$i + 16 >> 2] | 0; - do if ($202 | 0) if ($198 >>> 0 > $202 >>> 0) _abort(); else { - HEAP32[$$3$i + 16 >> 2] = $202; - HEAP32[$202 + 24 >> 2] = $$3$i; + $38 = HEAP32[16951] | 0; + if ($38 >>> 0 > $R$3$i >>> 0) _abort(); + HEAP32[$R$3$i + 24 >> 2] = $25; + $39 = HEAP32[$v$0$i + 16 >> 2] | 0; + do if ($39 | 0) if ($38 >>> 0 > $39 >>> 0) _abort(); else { + HEAP32[$R$3$i + 16 >> 2] = $39; + HEAP32[$39 + 24 >> 2] = $R$3$i; break; } while (0); - $208 = HEAP32[$$0190$i + 20 >> 2] | 0; - if ($208 | 0) if ((HEAP32[16739] | 0) >>> 0 > $208 >>> 0) _abort(); else { - HEAP32[$$3$i + 20 >> 2] = $208; - HEAP32[$208 + 24 >> 2] = $$3$i; + $40 = HEAP32[$v$0$i + 20 >> 2] | 0; + if ($40 | 0) if ((HEAP32[16951] | 0) >>> 0 > $40 >>> 0) _abort(); else { + HEAP32[$R$3$i + 20 >> 2] = $40; + HEAP32[$40 + 24 >> 2] = $R$3$i; break; } } while (0); - if ($$0191$i >>> 0 < 16) { - $215 = $$0191$i + $6 | 0; - HEAP32[$$0190$i + 4 >> 2] = $215 | 3; - $219 = $$0190$i + $215 + 4 | 0; - HEAP32[$219 >> 2] = HEAP32[$219 >> 2] | 1; + if ($rsize$0$i >>> 0 < 16) { + $add177$i = $rsize$0$i + $cond | 0; + HEAP32[$v$0$i + 4 >> 2] = $add177$i | 3; + $head182$i = $v$0$i + $add177$i + 4 | 0; + HEAP32[$head182$i >> 2] = HEAP32[$head182$i >> 2] | 1; } else { - HEAP32[$$0190$i + 4 >> 2] = $6 | 3; - HEAP32[$153 + 4 >> 2] = $$0191$i | 1; - HEAP32[$153 + $$0191$i >> 2] = $$0191$i; - if ($37 | 0) { - $228 = HEAP32[16740] | 0; - $229 = $37 >>> 3; - $231 = 66980 + ($229 << 1 << 2) | 0; - $232 = 1 << $229; - if ($232 & $8) { - $236 = $231 + 8 | 0; - $237 = HEAP32[$236 >> 2] | 0; - if ((HEAP32[16739] | 0) >>> 0 > $237 >>> 0) _abort(); else { - $$0187$i = $237; - $$pre$phi$iZ2D = $236; + HEAP32[$v$0$i + 4 >> 2] = $cond | 3; + HEAP32[$add$ptr$i + 4 >> 2] = $rsize$0$i | 1; + HEAP32[$add$ptr$i + $rsize$0$i >> 2] = $rsize$0$i; + if ($7 | 0) { + $43 = HEAP32[16952] | 0; + $shr194$i = $7 >>> 3; + $arrayidx196$i = 67828 + ($shr194$i << 1 << 2) | 0; + $shl198$i = 1 << $shr194$i; + if ($shl198$i & $0) { + $44 = $arrayidx196$i + 8 | 0; + $45 = HEAP32[$44 >> 2] | 0; + if ((HEAP32[16951] | 0) >>> 0 > $45 >>> 0) _abort(); else { + $$pre$phi$iZ2D = $44; + $F197$0$i = $45; } } else { - HEAP32[16735] = $232 | $8; - $$0187$i = $231; - $$pre$phi$iZ2D = $231 + 8 | 0; + HEAP32[16947] = $shl198$i | $0; + $$pre$phi$iZ2D = $arrayidx196$i + 8 | 0; + $F197$0$i = $arrayidx196$i; } - HEAP32[$$pre$phi$iZ2D >> 2] = $228; - HEAP32[$$0187$i + 12 >> 2] = $228; - HEAP32[$228 + 8 >> 2] = $$0187$i; - HEAP32[$228 + 12 >> 2] = $231; + HEAP32[$$pre$phi$iZ2D >> 2] = $43; + HEAP32[$F197$0$i + 12 >> 2] = $43; + HEAP32[$43 + 8 >> 2] = $F197$0$i; + HEAP32[$43 + 12 >> 2] = $arrayidx196$i; } - HEAP32[16737] = $$0191$i; - HEAP32[16740] = $153; + HEAP32[16949] = $rsize$0$i; + HEAP32[16952] = $add$ptr$i; } - $$0 = $$0190$i + 8 | 0; + $retval$0 = $v$0$i + 8 | 0; STACKTOP = sp; - return $$0 | 0; - } else $$0197 = $6; - } else $$0197 = $6; - } else if ($0 >>> 0 <= 4294967231) { - $245 = $0 + 11 | 0; - $246 = $245 & -8; - $247 = HEAP32[16736] | 0; - if ($247) { - $249 = 0 - $246 | 0; - $250 = $245 >>> 8; - if ($250) if ($246 >>> 0 > 16777215) $$0357$i = 31; else { - $255 = ($250 + 1048320 | 0) >>> 16 & 8; - $256 = $250 << $255; - $259 = ($256 + 520192 | 0) >>> 16 & 4; - $261 = $256 << $259; - $264 = ($261 + 245760 | 0) >>> 16 & 2; - $269 = 14 - ($259 | $255 | $264) + ($261 << $264 >>> 15) | 0; - $$0357$i = $246 >>> ($269 + 7 | 0) & 1 | $269 << 1; - } else $$0357$i = 0; - $276 = HEAP32[67244 + ($$0357$i << 2) >> 2] | 0; - L122 : do if (!$276) { - $$2353$i = 0; - $$3$i203 = 0; - $$3348$i = $249; + return $retval$0 | 0; + } else $nb$0 = $cond; + } else $nb$0 = $cond; + } else if ($bytes >>> 0 <= 4294967231) { + $add144 = $bytes + 11 | 0; + $and145 = $add144 & -8; + $47 = HEAP32[16948] | 0; + if ($47) { + $sub$i140 = 0 - $and145 | 0; + $shr$i141 = $add144 >>> 8; + if ($shr$i141) if ($and145 >>> 0 > 16777215) $idx$0$i = 31; else { + $and$i145 = ($shr$i141 + 1048320 | 0) >>> 16 & 8; + $shl$i146 = $shr$i141 << $and$i145; + $and8$i = ($shl$i146 + 520192 | 0) >>> 16 & 4; + $shl9$i = $shl$i146 << $and8$i; + $and12$i = ($shl9$i + 245760 | 0) >>> 16 & 2; + $add17$i = 14 - ($and8$i | $and$i145 | $and12$i) + ($shl9$i << $and12$i >>> 15) | 0; + $idx$0$i = $and145 >>> ($add17$i + 7 | 0) & 1 | $add17$i << 1; + } else $idx$0$i = 0; + $48 = HEAP32[68092 + ($idx$0$i << 2) >> 2] | 0; + L122 : do if (!$48) { + $rsize$3$i = $sub$i140; + $t$2$i = 0; + $v$3$i = 0; label = 85; } else { - $$0340$i = 0; - $$0345$i = $249; - $$0351$i = $276; - $$0358$i = $246 << (($$0357$i | 0) == 31 ? 0 : 25 - ($$0357$i >>> 1) | 0); - $$0361$i = 0; + $rsize$0$i154 = $sub$i140; + $rst$0$i = 0; + $sizebits$0$i = $and145 << (($idx$0$i | 0) == 31 ? 0 : 25 - ($idx$0$i >>> 1) | 0); + $t$0$i153 = $48; + $v$0$i155 = 0; while (1) { - $286 = (HEAP32[$$0351$i + 4 >> 2] & -8) - $246 | 0; - if ($286 >>> 0 < $$0345$i >>> 0) if (!$286) { - $$420$i$ph = $$0351$i; - $$434919$i$ph = 0; - $$535618$i$ph = $$0351$i; + $sub33$i = (HEAP32[$t$0$i153 + 4 >> 2] & -8) - $and145 | 0; + if ($sub33$i >>> 0 < $rsize$0$i154 >>> 0) if (!$sub33$i) { + $rsize$420$i$ph = 0; + $t$519$i$ph = $t$0$i153; + $v$421$i$ph = $t$0$i153; label = 89; break L122; } else { - $$1341$i = $$0351$i; - $$1346$i = $286; + $rsize$1$i = $sub33$i; + $v$1$i = $t$0$i153; } else { - $$1341$i = $$0340$i; - $$1346$i = $$0345$i; - } - $290 = HEAP32[$$0351$i + 20 >> 2] | 0; - $$0351$i = HEAP32[$$0351$i + 16 + ($$0358$i >>> 31 << 2) >> 2] | 0; - $$1362$i = ($290 | 0) == 0 | ($290 | 0) == ($$0351$i | 0) ? $$0361$i : $290; - if (!$$0351$i) { - $$2353$i = $$1362$i; - $$3$i203 = $$1341$i; - $$3348$i = $$1346$i; + $rsize$1$i = $rsize$0$i154; + $v$1$i = $v$0$i155; + } + $50 = HEAP32[$t$0$i153 + 20 >> 2] | 0; + $t$0$i153 = HEAP32[$t$0$i153 + 16 + ($sizebits$0$i >>> 31 << 2) >> 2] | 0; + $rst$1$i = ($50 | 0) == 0 | ($50 | 0) == ($t$0$i153 | 0) ? $rst$0$i : $50; + if (!$t$0$i153) { + $rsize$3$i = $rsize$1$i; + $t$2$i = $rst$1$i; + $v$3$i = $v$1$i; label = 85; break; } else { - $$0340$i = $$1341$i; - $$0345$i = $$1346$i; - $$0358$i = $$0358$i << 1; - $$0361$i = $$1362$i; + $rsize$0$i154 = $rsize$1$i; + $rst$0$i = $rst$1$i; + $sizebits$0$i = $sizebits$0$i << 1; + $v$0$i155 = $v$1$i; } } } while (0); if ((label | 0) == 85) { - if (($$2353$i | 0) == 0 & ($$3$i203 | 0) == 0) { - $299 = 2 << $$0357$i; - $302 = ($299 | 0 - $299) & $247; - if (!$302) { - $$0197 = $246; + if (($t$2$i | 0) == 0 & ($v$3$i | 0) == 0) { + $shl60$i = 2 << $idx$0$i; + $and64$i = ($shl60$i | 0 - $shl60$i) & $47; + if (!$and64$i) { + $nb$0 = $and145; break; } - $306 = ($302 & 0 - $302) + -1 | 0; - $308 = $306 >>> 12 & 16; - $309 = $306 >>> $308; - $311 = $309 >>> 5 & 8; - $313 = $309 >>> $311; - $315 = $313 >>> 2 & 4; - $317 = $313 >>> $315; - $319 = $317 >>> 1 & 2; - $321 = $317 >>> $319; - $323 = $321 >>> 1 & 1; - $$3$i203218 = 0; - $$4355$i = HEAP32[67244 + (($311 | $308 | $315 | $319 | $323) + ($321 >>> $323) << 2) >> 2] | 0; + $sub70$i = ($and64$i & 0 - $and64$i) + -1 | 0; + $and73$i = $sub70$i >>> 12 & 16; + $shr75$i = $sub70$i >>> $and73$i; + $and77$i = $shr75$i >>> 5 & 8; + $shr79$i = $shr75$i >>> $and77$i; + $and81$i = $shr79$i >>> 2 & 4; + $shr83$i = $shr79$i >>> $and81$i; + $and85$i = $shr83$i >>> 1 & 2; + $shr87$i = $shr83$i >>> $and85$i; + $and89$i = $shr87$i >>> 1 & 1; + $t$4$i = HEAP32[68092 + (($and77$i | $and73$i | $and81$i | $and85$i | $and89$i) + ($shr87$i >>> $and89$i) << 2) >> 2] | 0; + $v$3$i222 = 0; } else { - $$3$i203218 = $$3$i203; - $$4355$i = $$2353$i; + $t$4$i = $t$2$i; + $v$3$i222 = $v$3$i; } - if (!$$4355$i) { - $$4$lcssa$i = $$3$i203218; - $$4349$lcssa$i = $$3348$i; + if (!$t$4$i) { + $rsize$4$lcssa$i = $rsize$3$i; + $v$4$lcssa$i = $v$3$i222; } else { - $$420$i$ph = $$3$i203218; - $$434919$i$ph = $$3348$i; - $$535618$i$ph = $$4355$i; + $rsize$420$i$ph = $rsize$3$i; + $t$519$i$ph = $t$4$i; + $v$421$i$ph = $v$3$i222; label = 89; } } if ((label | 0) == 89) { - $$420$i = $$420$i$ph; - $$434919$i = $$434919$i$ph; - $$535618$i = $$535618$i$ph; + $rsize$420$i = $rsize$420$i$ph; + $t$519$i = $t$519$i$ph; + $v$421$i = $v$421$i$ph; while (1) { - $333 = (HEAP32[$$535618$i + 4 >> 2] & -8) - $246 | 0; - $334 = $333 >>> 0 < $$434919$i >>> 0; - $spec$select$i205 = $334 ? $333 : $$434919$i; - $spec$select3$i = $334 ? $$535618$i : $$420$i; - $336 = HEAP32[$$535618$i + 16 >> 2] | 0; - if (!$336) $341 = HEAP32[$$535618$i + 20 >> 2] | 0; else $341 = $336; - if (!$341) { - $$4$lcssa$i = $spec$select3$i; - $$4349$lcssa$i = $spec$select$i205; + $sub101$i = (HEAP32[$t$519$i + 4 >> 2] & -8) - $and145 | 0; + $cmp102$i = $sub101$i >>> 0 < $rsize$420$i >>> 0; + $spec$select$i159 = $cmp102$i ? $sub101$i : $rsize$420$i; + $spec$select3$i = $cmp102$i ? $t$519$i : $v$421$i; + $54 = HEAP32[$t$519$i + 16 >> 2] | 0; + if (!$54) $cond115$i = HEAP32[$t$519$i + 20 >> 2] | 0; else $cond115$i = $54; + if (!$cond115$i) { + $rsize$4$lcssa$i = $spec$select$i159; + $v$4$lcssa$i = $spec$select3$i; break; } else { - $$420$i = $spec$select3$i; - $$434919$i = $spec$select$i205; - $$535618$i = $341; - } - } - } - if (($$4$lcssa$i | 0) != 0 ? $$4349$lcssa$i >>> 0 < ((HEAP32[16737] | 0) - $246 | 0) >>> 0 : 0) { - $346 = HEAP32[16739] | 0; - if ($346 >>> 0 > $$4$lcssa$i >>> 0) _abort(); - $348 = $$4$lcssa$i + $246 | 0; - if ($348 >>> 0 <= $$4$lcssa$i >>> 0) _abort(); - $351 = HEAP32[$$4$lcssa$i + 24 >> 2] | 0; - $353 = HEAP32[$$4$lcssa$i + 12 >> 2] | 0; - do if (($353 | 0) == ($$4$lcssa$i | 0)) { - $364 = $$4$lcssa$i + 20 | 0; - $365 = HEAP32[$364 >> 2] | 0; - if (!$365) { - $367 = $$4$lcssa$i + 16 | 0; - $368 = HEAP32[$367 >> 2] | 0; - if (!$368) { - $$3371$i = 0; + $rsize$420$i = $spec$select$i159; + $t$519$i = $cond115$i; + $v$421$i = $spec$select3$i; + } + } + } + if (($v$4$lcssa$i | 0) != 0 ? $rsize$4$lcssa$i >>> 0 < ((HEAP32[16949] | 0) - $and145 | 0) >>> 0 : 0) { + $57 = HEAP32[16951] | 0; + if ($57 >>> 0 > $v$4$lcssa$i >>> 0) _abort(); + $add$ptr$i164 = $v$4$lcssa$i + $and145 | 0; + if ($add$ptr$i164 >>> 0 <= $v$4$lcssa$i >>> 0) _abort(); + $58 = HEAP32[$v$4$lcssa$i + 24 >> 2] | 0; + $59 = HEAP32[$v$4$lcssa$i + 12 >> 2] | 0; + do if (($59 | 0) == ($v$4$lcssa$i | 0)) { + $arrayidx151$i = $v$4$lcssa$i + 20 | 0; + $63 = HEAP32[$arrayidx151$i >> 2] | 0; + if (!$63) { + $arrayidx155$i = $v$4$lcssa$i + 16 | 0; + $64 = HEAP32[$arrayidx155$i >> 2] | 0; + if (!$64) { + $R$3$i177 = 0; break; } else { - $$1369$i$ph = $368; - $$1373$i$ph = $367; + $R$1$i173$ph = $64; + $RP$1$i172$ph = $arrayidx155$i; } } else { - $$1369$i$ph = $365; - $$1373$i$ph = $364; + $R$1$i173$ph = $63; + $RP$1$i172$ph = $arrayidx151$i; } - $$1369$i = $$1369$i$ph; - $$1373$i = $$1373$i$ph; + $R$1$i173 = $R$1$i173$ph; + $RP$1$i172 = $RP$1$i172$ph; while (1) { - $370 = $$1369$i + 20 | 0; - $371 = HEAP32[$370 >> 2] | 0; - if (!$371) { - $373 = $$1369$i + 16 | 0; - $374 = HEAP32[$373 >> 2] | 0; - if (!$374) break; else { - $$1369$i$be = $374; - $$1373$i$be = $373; + $arrayidx161$i = $R$1$i173 + 20 | 0; + $65 = HEAP32[$arrayidx161$i >> 2] | 0; + if (!$65) { + $arrayidx165$i174 = $R$1$i173 + 16 | 0; + $66 = HEAP32[$arrayidx165$i174 >> 2] | 0; + if (!$66) break; else { + $R$1$i173$be = $66; + $RP$1$i172$be = $arrayidx165$i174; } } else { - $$1369$i$be = $371; - $$1373$i$be = $370; + $R$1$i173$be = $65; + $RP$1$i172$be = $arrayidx161$i; } - $$1369$i = $$1369$i$be; - $$1373$i = $$1373$i$be; + $R$1$i173 = $R$1$i173$be; + $RP$1$i172 = $RP$1$i172$be; } - if ($346 >>> 0 > $$1373$i >>> 0) _abort(); else { - HEAP32[$$1373$i >> 2] = 0; - $$3371$i = $$1369$i; + if ($57 >>> 0 > $RP$1$i172 >>> 0) _abort(); else { + HEAP32[$RP$1$i172 >> 2] = 0; + $R$3$i177 = $R$1$i173; break; } } else { - $356 = HEAP32[$$4$lcssa$i + 8 >> 2] | 0; - if ($346 >>> 0 > $356 >>> 0) _abort(); - $358 = $356 + 12 | 0; - if ((HEAP32[$358 >> 2] | 0) != ($$4$lcssa$i | 0)) _abort(); - $361 = $353 + 8 | 0; - if ((HEAP32[$361 >> 2] | 0) == ($$4$lcssa$i | 0)) { - HEAP32[$358 >> 2] = $353; - HEAP32[$361 >> 2] = $356; - $$3371$i = $353; + $60 = HEAP32[$v$4$lcssa$i + 8 >> 2] | 0; + if ($57 >>> 0 > $60 >>> 0) _abort(); + $bk136$i = $60 + 12 | 0; + if ((HEAP32[$bk136$i >> 2] | 0) != ($v$4$lcssa$i | 0)) _abort(); + $fd139$i = $59 + 8 | 0; + if ((HEAP32[$fd139$i >> 2] | 0) == ($v$4$lcssa$i | 0)) { + HEAP32[$bk136$i >> 2] = $59; + HEAP32[$fd139$i >> 2] = $60; + $R$3$i177 = $59; break; } else _abort(); } while (0); - L176 : do if ($351) { - $379 = HEAP32[$$4$lcssa$i + 28 >> 2] | 0; - $380 = 67244 + ($379 << 2) | 0; - do if (($$4$lcssa$i | 0) == (HEAP32[$380 >> 2] | 0)) { - HEAP32[$380 >> 2] = $$3371$i; - if (!$$3371$i) { - $385 = $247 & ~(1 << $379); - HEAP32[16736] = $385; - $469 = $385; + L176 : do if ($58) { + $67 = HEAP32[$v$4$lcssa$i + 28 >> 2] | 0; + $arrayidx184$i = 68092 + ($67 << 2) | 0; + do if (($v$4$lcssa$i | 0) == (HEAP32[$arrayidx184$i >> 2] | 0)) { + HEAP32[$arrayidx184$i >> 2] = $R$3$i177; + if (!$R$3$i177) { + $and194$i = $47 & ~(1 << $67); + HEAP32[16948] = $and194$i; + $80 = $and194$i; break L176; } - } else if ((HEAP32[16739] | 0) >>> 0 <= $351 >>> 0) { - $388 = $351 + 16 | 0; - HEAP32[((HEAP32[$388 >> 2] | 0) == ($$4$lcssa$i | 0) ? $388 : $351 + 20 | 0) >> 2] = $$3371$i; - if (!$$3371$i) { - $469 = $247; + } else if ((HEAP32[16951] | 0) >>> 0 <= $58 >>> 0) { + $arrayidx204$i = $58 + 16 | 0; + HEAP32[((HEAP32[$arrayidx204$i >> 2] | 0) == ($v$4$lcssa$i | 0) ? $arrayidx204$i : $58 + 20 | 0) >> 2] = $R$3$i177; + if (!$R$3$i177) { + $80 = $47; break L176; } else break; } else _abort(); while (0); - $393 = HEAP32[16739] | 0; - if ($393 >>> 0 > $$3371$i >>> 0) _abort(); - HEAP32[$$3371$i + 24 >> 2] = $351; - $397 = HEAP32[$$4$lcssa$i + 16 >> 2] | 0; - do if ($397 | 0) if ($393 >>> 0 > $397 >>> 0) _abort(); else { - HEAP32[$$3371$i + 16 >> 2] = $397; - HEAP32[$397 + 24 >> 2] = $$3371$i; + $71 = HEAP32[16951] | 0; + if ($71 >>> 0 > $R$3$i177 >>> 0) _abort(); + HEAP32[$R$3$i177 + 24 >> 2] = $58; + $72 = HEAP32[$v$4$lcssa$i + 16 >> 2] | 0; + do if ($72 | 0) if ($71 >>> 0 > $72 >>> 0) _abort(); else { + HEAP32[$R$3$i177 + 16 >> 2] = $72; + HEAP32[$72 + 24 >> 2] = $R$3$i177; break; } while (0); - $403 = HEAP32[$$4$lcssa$i + 20 >> 2] | 0; - if ($403) if ((HEAP32[16739] | 0) >>> 0 > $403 >>> 0) _abort(); else { - HEAP32[$$3371$i + 20 >> 2] = $403; - HEAP32[$403 + 24 >> 2] = $$3371$i; - $469 = $247; + $73 = HEAP32[$v$4$lcssa$i + 20 >> 2] | 0; + if ($73) if ((HEAP32[16951] | 0) >>> 0 > $73 >>> 0) _abort(); else { + HEAP32[$R$3$i177 + 20 >> 2] = $73; + HEAP32[$73 + 24 >> 2] = $R$3$i177; + $80 = $47; break; - } else $469 = $247; - } else $469 = $247; while (0); - L200 : do if ($$4349$lcssa$i >>> 0 >= 16) { - HEAP32[$$4$lcssa$i + 4 >> 2] = $246 | 3; - HEAP32[$348 + 4 >> 2] = $$4349$lcssa$i | 1; - HEAP32[$348 + $$4349$lcssa$i >> 2] = $$4349$lcssa$i; - $422 = $$4349$lcssa$i >>> 3; - if ($$4349$lcssa$i >>> 0 < 256) { - $425 = 66980 + ($422 << 1 << 2) | 0; - $426 = HEAP32[16735] | 0; - $427 = 1 << $422; - if ($426 & $427) { - $431 = $425 + 8 | 0; - $432 = HEAP32[$431 >> 2] | 0; - if ((HEAP32[16739] | 0) >>> 0 > $432 >>> 0) _abort(); else { - $$0367$i = $432; - $$pre$phi$i209Z2D = $431; + } else $80 = $47; + } else $80 = $47; while (0); + L200 : do if ($rsize$4$lcssa$i >>> 0 >= 16) { + HEAP32[$v$4$lcssa$i + 4 >> 2] = $and145 | 3; + HEAP32[$add$ptr$i164 + 4 >> 2] = $rsize$4$lcssa$i | 1; + HEAP32[$add$ptr$i164 + $rsize$4$lcssa$i >> 2] = $rsize$4$lcssa$i; + $shr283$i = $rsize$4$lcssa$i >>> 3; + if ($rsize$4$lcssa$i >>> 0 < 256) { + $arrayidx289$i = 67828 + ($shr283$i << 1 << 2) | 0; + $76 = HEAP32[16947] | 0; + $shl291$i = 1 << $shr283$i; + if ($76 & $shl291$i) { + $77 = $arrayidx289$i + 8 | 0; + $78 = HEAP32[$77 >> 2] | 0; + if ((HEAP32[16951] | 0) >>> 0 > $78 >>> 0) _abort(); else { + $$pre$phi$i185Z2D = $77; + $F290$0$i = $78; } } else { - HEAP32[16735] = $426 | $427; - $$0367$i = $425; - $$pre$phi$i209Z2D = $425 + 8 | 0; - } - HEAP32[$$pre$phi$i209Z2D >> 2] = $348; - HEAP32[$$0367$i + 12 >> 2] = $348; - HEAP32[$348 + 8 >> 2] = $$0367$i; - HEAP32[$348 + 12 >> 2] = $425; + HEAP32[16947] = $76 | $shl291$i; + $$pre$phi$i185Z2D = $arrayidx289$i + 8 | 0; + $F290$0$i = $arrayidx289$i; + } + HEAP32[$$pre$phi$i185Z2D >> 2] = $add$ptr$i164; + HEAP32[$F290$0$i + 12 >> 2] = $add$ptr$i164; + HEAP32[$add$ptr$i164 + 8 >> 2] = $F290$0$i; + HEAP32[$add$ptr$i164 + 12 >> 2] = $arrayidx289$i; break; } - $438 = $$4349$lcssa$i >>> 8; - if ($438) if ($$4349$lcssa$i >>> 0 > 16777215) $$0360$i = 31; else { - $443 = ($438 + 1048320 | 0) >>> 16 & 8; - $444 = $438 << $443; - $447 = ($444 + 520192 | 0) >>> 16 & 4; - $449 = $444 << $447; - $452 = ($449 + 245760 | 0) >>> 16 & 2; - $457 = 14 - ($447 | $443 | $452) + ($449 << $452 >>> 15) | 0; - $$0360$i = $$4349$lcssa$i >>> ($457 + 7 | 0) & 1 | $457 << 1; - } else $$0360$i = 0; - $463 = 67244 + ($$0360$i << 2) | 0; - HEAP32[$348 + 28 >> 2] = $$0360$i; - $465 = $348 + 16 | 0; - HEAP32[$465 + 4 >> 2] = 0; - HEAP32[$465 >> 2] = 0; - $467 = 1 << $$0360$i; - if (!($469 & $467)) { - HEAP32[16736] = $469 | $467; - HEAP32[$463 >> 2] = $348; - HEAP32[$348 + 24 >> 2] = $463; - HEAP32[$348 + 12 >> 2] = $348; - HEAP32[$348 + 8 >> 2] = $348; + $shr318$i = $rsize$4$lcssa$i >>> 8; + if ($shr318$i) if ($rsize$4$lcssa$i >>> 0 > 16777215) $I316$0$i = 31; else { + $and331$i = ($shr318$i + 1048320 | 0) >>> 16 & 8; + $shl333$i = $shr318$i << $and331$i; + $and336$i = ($shl333$i + 520192 | 0) >>> 16 & 4; + $shl338$i = $shl333$i << $and336$i; + $and341$i = ($shl338$i + 245760 | 0) >>> 16 & 2; + $add346$i = 14 - ($and336$i | $and331$i | $and341$i) + ($shl338$i << $and341$i >>> 15) | 0; + $I316$0$i = $rsize$4$lcssa$i >>> ($add346$i + 7 | 0) & 1 | $add346$i << 1; + } else $I316$0$i = 0; + $arrayidx355$i = 68092 + ($I316$0$i << 2) | 0; + HEAP32[$add$ptr$i164 + 28 >> 2] = $I316$0$i; + $child357$i = $add$ptr$i164 + 16 | 0; + HEAP32[$child357$i + 4 >> 2] = 0; + HEAP32[$child357$i >> 2] = 0; + $shl362$i = 1 << $I316$0$i; + if (!($80 & $shl362$i)) { + HEAP32[16948] = $80 | $shl362$i; + HEAP32[$arrayidx355$i >> 2] = $add$ptr$i164; + HEAP32[$add$ptr$i164 + 24 >> 2] = $arrayidx355$i; + HEAP32[$add$ptr$i164 + 12 >> 2] = $add$ptr$i164; + HEAP32[$add$ptr$i164 + 8 >> 2] = $add$ptr$i164; break; } - $475 = HEAP32[$463 >> 2] | 0; - L218 : do if ((HEAP32[$475 + 4 >> 2] & -8 | 0) != ($$4349$lcssa$i | 0)) { - $$034217$i = $$4349$lcssa$i << (($$0360$i | 0) == 31 ? 0 : 25 - ($$0360$i >>> 1) | 0); - $$034316$i = $475; + $81 = HEAP32[$arrayidx355$i >> 2] | 0; + L218 : do if ((HEAP32[$81 + 4 >> 2] & -8 | 0) != ($rsize$4$lcssa$i | 0)) { + $K373$017$i = $rsize$4$lcssa$i << (($I316$0$i | 0) == 31 ? 0 : 25 - ($I316$0$i >>> 1) | 0); + $T$016$i = $81; while (1) { - $492 = $$034316$i + 16 + ($$034217$i >>> 31 << 2) | 0; - $487 = HEAP32[$492 >> 2] | 0; - if (!$487) break; - if ((HEAP32[$487 + 4 >> 2] & -8 | 0) == ($$4349$lcssa$i | 0)) { - $$0343$lcssa$i = $487; + $arrayidx394$i = $T$016$i + 16 + ($K373$017$i >>> 31 << 2) | 0; + $83 = HEAP32[$arrayidx394$i >> 2] | 0; + if (!$83) break; + if ((HEAP32[$83 + 4 >> 2] & -8 | 0) == ($rsize$4$lcssa$i | 0)) { + $T$0$lcssa$i = $83; break L218; } else { - $$034217$i = $$034217$i << 1; - $$034316$i = $487; + $K373$017$i = $K373$017$i << 1; + $T$016$i = $83; } } - if ((HEAP32[16739] | 0) >>> 0 > $492 >>> 0) _abort(); else { - HEAP32[$492 >> 2] = $348; - HEAP32[$348 + 24 >> 2] = $$034316$i; - HEAP32[$348 + 12 >> 2] = $348; - HEAP32[$348 + 8 >> 2] = $348; + if ((HEAP32[16951] | 0) >>> 0 > $arrayidx394$i >>> 0) _abort(); else { + HEAP32[$arrayidx394$i >> 2] = $add$ptr$i164; + HEAP32[$add$ptr$i164 + 24 >> 2] = $T$016$i; + HEAP32[$add$ptr$i164 + 12 >> 2] = $add$ptr$i164; + HEAP32[$add$ptr$i164 + 8 >> 2] = $add$ptr$i164; break L200; } - } else $$0343$lcssa$i = $475; while (0); - $499 = $$0343$lcssa$i + 8 | 0; - $500 = HEAP32[$499 >> 2] | 0; - $501 = HEAP32[16739] | 0; - if ($501 >>> 0 <= $500 >>> 0 & $501 >>> 0 <= $$0343$lcssa$i >>> 0) { - HEAP32[$500 + 12 >> 2] = $348; - HEAP32[$499 >> 2] = $348; - HEAP32[$348 + 8 >> 2] = $500; - HEAP32[$348 + 12 >> 2] = $$0343$lcssa$i; - HEAP32[$348 + 24 >> 2] = 0; + } else $T$0$lcssa$i = $81; while (0); + $fd416$i = $T$0$lcssa$i + 8 | 0; + $86 = HEAP32[$fd416$i >> 2] | 0; + $87 = HEAP32[16951] | 0; + if ($87 >>> 0 <= $86 >>> 0 & $87 >>> 0 <= $T$0$lcssa$i >>> 0) { + HEAP32[$86 + 12 >> 2] = $add$ptr$i164; + HEAP32[$fd416$i >> 2] = $add$ptr$i164; + HEAP32[$add$ptr$i164 + 8 >> 2] = $86; + HEAP32[$add$ptr$i164 + 12 >> 2] = $T$0$lcssa$i; + HEAP32[$add$ptr$i164 + 24 >> 2] = 0; break; } else _abort(); } else { - $410 = $$4349$lcssa$i + $246 | 0; - HEAP32[$$4$lcssa$i + 4 >> 2] = $410 | 3; - $414 = $$4$lcssa$i + $410 + 4 | 0; - HEAP32[$414 >> 2] = HEAP32[$414 >> 2] | 1; + $add268$i = $rsize$4$lcssa$i + $and145 | 0; + HEAP32[$v$4$lcssa$i + 4 >> 2] = $add268$i | 3; + $head274$i = $v$4$lcssa$i + $add268$i + 4 | 0; + HEAP32[$head274$i >> 2] = HEAP32[$head274$i >> 2] | 1; } while (0); - $$0 = $$4$lcssa$i + 8 | 0; + $retval$0 = $v$4$lcssa$i + 8 | 0; STACKTOP = sp; - return $$0 | 0; - } else $$0197 = $246; - } else $$0197 = $246; - } else $$0197 = -1; while (0); - $510 = HEAP32[16737] | 0; - if ($510 >>> 0 >= $$0197 >>> 0) { - $512 = $510 - $$0197 | 0; - $513 = HEAP32[16740] | 0; - if ($512 >>> 0 > 15) { - $515 = $513 + $$0197 | 0; - HEAP32[16740] = $515; - HEAP32[16737] = $512; - HEAP32[$515 + 4 >> 2] = $512 | 1; - HEAP32[$513 + $510 >> 2] = $512; - HEAP32[$513 + 4 >> 2] = $$0197 | 3; + return $retval$0 | 0; + } else $nb$0 = $and145; + } else $nb$0 = $and145; + } else $nb$0 = -1; while (0); + $89 = HEAP32[16949] | 0; + if ($89 >>> 0 >= $nb$0 >>> 0) { + $sub160 = $89 - $nb$0 | 0; + $90 = HEAP32[16952] | 0; + if ($sub160 >>> 0 > 15) { + $add$ptr166 = $90 + $nb$0 | 0; + HEAP32[16952] = $add$ptr166; + HEAP32[16949] = $sub160; + HEAP32[$add$ptr166 + 4 >> 2] = $sub160 | 1; + HEAP32[$90 + $89 >> 2] = $sub160; + HEAP32[$90 + 4 >> 2] = $nb$0 | 3; } else { - HEAP32[16737] = 0; - HEAP32[16740] = 0; - HEAP32[$513 + 4 >> 2] = $510 | 3; - $524 = $513 + $510 + 4 | 0; - HEAP32[$524 >> 2] = HEAP32[$524 >> 2] | 1; + HEAP32[16949] = 0; + HEAP32[16952] = 0; + HEAP32[$90 + 4 >> 2] = $89 | 3; + $head179 = $90 + $89 + 4 | 0; + HEAP32[$head179 >> 2] = HEAP32[$head179 >> 2] | 1; } - $$0 = $513 + 8 | 0; + $retval$0 = $90 + 8 | 0; STACKTOP = sp; - return $$0 | 0; - } - $528 = HEAP32[16738] | 0; - if ($528 >>> 0 > $$0197 >>> 0) { - $530 = $528 - $$0197 | 0; - HEAP32[16738] = $530; - $531 = HEAP32[16741] | 0; - $532 = $531 + $$0197 | 0; - HEAP32[16741] = $532; - HEAP32[$532 + 4 >> 2] = $530 | 1; - HEAP32[$531 + 4 >> 2] = $$0197 | 3; - $$0 = $531 + 8 | 0; + return $retval$0 | 0; + } + $92 = HEAP32[16950] | 0; + if ($92 >>> 0 > $nb$0 >>> 0) { + $sub190 = $92 - $nb$0 | 0; + HEAP32[16950] = $sub190; + $93 = HEAP32[16953] | 0; + $add$ptr193 = $93 + $nb$0 | 0; + HEAP32[16953] = $add$ptr193; + HEAP32[$add$ptr193 + 4 >> 2] = $sub190 | 1; + HEAP32[$93 + 4 >> 2] = $nb$0 | 3; + $retval$0 = $93 + 8 | 0; STACKTOP = sp; - return $$0 | 0; - } - if (!(HEAP32[16853] | 0)) { - HEAP32[16855] = 4096; - HEAP32[16854] = 4096; - HEAP32[16856] = -1; - HEAP32[16857] = -1; - HEAP32[16858] = 0; - HEAP32[16846] = 0; - HEAP32[16853] = $1 & -16 ^ 1431655768; - $546 = 4096; - } else $546 = HEAP32[16855] | 0; - $543 = $$0197 + 48 | 0; - $544 = $$0197 + 47 | 0; - $545 = $546 + $544 | 0; - $547 = 0 - $546 | 0; - $548 = $545 & $547; - if ($548 >>> 0 <= $$0197 >>> 0) { - $$0 = 0; + return $retval$0 | 0; + } + if (!(HEAP32[17065] | 0)) { + HEAP32[17067] = 4096; + HEAP32[17066] = 4096; + HEAP32[17068] = -1; + HEAP32[17069] = -1; + HEAP32[17070] = 0; + HEAP32[17058] = 0; + HEAP32[17065] = $magic$i$i & -16 ^ 1431655768; + $96 = 4096; + } else $96 = HEAP32[17067] | 0; + $add$i188 = $nb$0 + 48 | 0; + $sub$i189 = $nb$0 + 47 | 0; + $add9$i = $96 + $sub$i189 | 0; + $neg$i190 = 0 - $96 | 0; + $and11$i = $add9$i & $neg$i190; + if ($and11$i >>> 0 <= $nb$0 >>> 0) { + $retval$0 = 0; STACKTOP = sp; - return $$0 | 0; + return $retval$0 | 0; } - $550 = HEAP32[16845] | 0; - if ($550 | 0 ? ($552 = HEAP32[16843] | 0, $553 = $552 + $548 | 0, $553 >>> 0 <= $552 >>> 0 | $553 >>> 0 > $550 >>> 0) : 0) { - $$0 = 0; + $97 = HEAP32[17057] | 0; + if ($97 | 0 ? ($98 = HEAP32[17055] | 0, $add17$i191 = $98 + $and11$i | 0, $add17$i191 >>> 0 <= $98 >>> 0 | $add17$i191 >>> 0 > $97 >>> 0) : 0) { + $retval$0 = 0; STACKTOP = sp; - return $$0 | 0; + return $retval$0 | 0; } - L257 : do if (!(HEAP32[16846] & 4)) { - $559 = HEAP32[16741] | 0; - L259 : do if ($559) { - $$0$i$i = 67388; + L257 : do if (!(HEAP32[17058] & 4)) { + $100 = HEAP32[16953] | 0; + L259 : do if ($100) { + $sp$0$i$i = 68236; while (1) { - $561 = HEAP32[$$0$i$i >> 2] | 0; - if ($561 >>> 0 <= $559 >>> 0 ? ($561 + (HEAP32[$$0$i$i + 4 >> 2] | 0) | 0) >>> 0 > $559 >>> 0 : 0) break; - $568 = HEAP32[$$0$i$i + 8 >> 2] | 0; - if (!$568) { + $101 = HEAP32[$sp$0$i$i >> 2] | 0; + if ($101 >>> 0 <= $100 >>> 0 ? ($101 + (HEAP32[$sp$0$i$i + 4 >> 2] | 0) | 0) >>> 0 > $100 >>> 0 : 0) break; + $103 = HEAP32[$sp$0$i$i + 8 >> 2] | 0; + if (!$103) { label = 173; break L259; - } else $$0$i$i = $568; - } - $593 = $545 - $528 & $547; - if ($593 >>> 0 < 2147483647) { - $596 = _sbrk($593) | 0; - if (($596 | 0) == ((HEAP32[$$0$i$i >> 2] | 0) + (HEAP32[$$0$i$i + 4 >> 2] | 0) | 0)) if (($596 | 0) == (-1 | 0)) $$2234243136$i = $593; else { - $$723947$i = $593; - $$748$i = $596; + } else $sp$0$i$i = $103; + } + $and80$i = $add9$i - $92 & $neg$i190; + if ($and80$i >>> 0 < 2147483647) { + $call83$i = _sbrk($and80$i) | 0; + if (($call83$i | 0) == ((HEAP32[$sp$0$i$i >> 2] | 0) + (HEAP32[$sp$0$i$i + 4 >> 2] | 0) | 0)) if (($call83$i | 0) == (-1 | 0)) $tsize$2687886$i = $and80$i; else { + $tbase$799$i = $call83$i; + $tsize$798$i = $and80$i; label = 190; break L257; } else { - $$2247$ph$i = $596; - $$2253$ph$i = $593; + $br$2$ph$i = $call83$i; + $ssize$2$ph$i = $and80$i; label = 181; } - } else $$2234243136$i = 0; + } else $tsize$2687886$i = 0; } else label = 173; while (0); do if ((label | 0) == 173) { - $570 = _sbrk(0) | 0; - if (($570 | 0) != (-1 | 0) ? ($572 = $570, $573 = HEAP32[16854] | 0, $574 = $573 + -1 | 0, $spec$select49$i = (($574 & $572 | 0) == 0 ? 0 : ($574 + $572 & 0 - $573) - $572 | 0) + $548 | 0, $582 = HEAP32[16843] | 0, $583 = $spec$select49$i + $582 | 0, $spec$select49$i >>> 0 > $$0197 >>> 0 & $spec$select49$i >>> 0 < 2147483647) : 0) { - $586 = HEAP32[16845] | 0; - if ($586 | 0 ? $583 >>> 0 <= $582 >>> 0 | $583 >>> 0 > $586 >>> 0 : 0) { - $$2234243136$i = 0; + $call37$i = _sbrk(0) | 0; + if (($call37$i | 0) != (-1 | 0) ? ($104 = $call37$i, $105 = HEAP32[17066] | 0, $sub41$i = $105 + -1 | 0, $spec$select100$i = (($sub41$i & $104 | 0) == 0 ? 0 : ($sub41$i + $104 & 0 - $105) - $104 | 0) + $and11$i | 0, $106 = HEAP32[17055] | 0, $add54$i = $spec$select100$i + $106 | 0, $spec$select100$i >>> 0 > $nb$0 >>> 0 & $spec$select100$i >>> 0 < 2147483647) : 0) { + $107 = HEAP32[17057] | 0; + if ($107 | 0 ? $add54$i >>> 0 <= $106 >>> 0 | $add54$i >>> 0 > $107 >>> 0 : 0) { + $tsize$2687886$i = 0; break; } - $590 = _sbrk($spec$select49$i) | 0; - if (($590 | 0) == ($570 | 0)) { - $$723947$i = $spec$select49$i; - $$748$i = $570; + $call68$i = _sbrk($spec$select100$i) | 0; + if (($call68$i | 0) == ($call37$i | 0)) { + $tbase$799$i = $call37$i; + $tsize$798$i = $spec$select100$i; label = 190; break L257; } else { - $$2247$ph$i = $590; - $$2253$ph$i = $spec$select49$i; + $br$2$ph$i = $call68$i; + $ssize$2$ph$i = $spec$select100$i; label = 181; } - } else $$2234243136$i = 0; + } else $tsize$2687886$i = 0; } while (0); do if ((label | 0) == 181) { - $602 = 0 - $$2253$ph$i | 0; - if (!($543 >>> 0 > $$2253$ph$i >>> 0 & ($$2253$ph$i >>> 0 < 2147483647 & ($$2247$ph$i | 0) != (-1 | 0)))) if (($$2247$ph$i | 0) == (-1 | 0)) { - $$2234243136$i = 0; + $sub112$i = 0 - $ssize$2$ph$i | 0; + if (!($add$i188 >>> 0 > $ssize$2$ph$i >>> 0 & ($ssize$2$ph$i >>> 0 < 2147483647 & ($br$2$ph$i | 0) != (-1 | 0)))) if (($br$2$ph$i | 0) == (-1 | 0)) { + $tsize$2687886$i = 0; break; } else { - $$723947$i = $$2253$ph$i; - $$748$i = $$2247$ph$i; + $tbase$799$i = $br$2$ph$i; + $tsize$798$i = $ssize$2$ph$i; label = 190; break L257; } - $606 = HEAP32[16855] | 0; - $610 = $544 - $$2253$ph$i + $606 & 0 - $606; - if ($610 >>> 0 >= 2147483647) { - $$723947$i = $$2253$ph$i; - $$748$i = $$2247$ph$i; + $110 = HEAP32[17067] | 0; + $and104$i = $sub$i189 - $ssize$2$ph$i + $110 & 0 - $110; + if ($and104$i >>> 0 >= 2147483647) { + $tbase$799$i = $br$2$ph$i; + $tsize$798$i = $ssize$2$ph$i; label = 190; break L257; } - if ((_sbrk($610) | 0) == (-1 | 0)) { - _sbrk($602) | 0; - $$2234243136$i = 0; + if ((_sbrk($and104$i) | 0) == (-1 | 0)) { + _sbrk($sub112$i) | 0; + $tsize$2687886$i = 0; break; } else { - $$723947$i = $610 + $$2253$ph$i | 0; - $$748$i = $$2247$ph$i; + $tbase$799$i = $br$2$ph$i; + $tsize$798$i = $and104$i + $ssize$2$ph$i | 0; label = 190; break L257; } } while (0); - HEAP32[16846] = HEAP32[16846] | 4; - $$4236$i = $$2234243136$i; + HEAP32[17058] = HEAP32[17058] | 4; + $tsize$4$i = $tsize$2687886$i; label = 188; } else { - $$4236$i = 0; + $tsize$4$i = 0; label = 188; } while (0); - if (((label | 0) == 188 ? $548 >>> 0 < 2147483647 : 0) ? ($619 = _sbrk($548) | 0, $620 = _sbrk(0) | 0, $626 = $620 - $619 | 0, $628 = $626 >>> 0 > ($$0197 + 40 | 0) >>> 0, !(($619 | 0) == (-1 | 0) | $628 ^ 1 | $619 >>> 0 < $620 >>> 0 & (($619 | 0) != (-1 | 0) & ($620 | 0) != (-1 | 0)) ^ 1)) : 0) { - $$723947$i = $628 ? $626 : $$4236$i; - $$748$i = $619; + if (((label | 0) == 188 ? $and11$i >>> 0 < 2147483647 : 0) ? ($call131$i = _sbrk($and11$i) | 0, $call132$i = _sbrk(0) | 0, $sub$ptr$sub$i = $call132$i - $call131$i | 0, $cmp141$i = $sub$ptr$sub$i >>> 0 > ($nb$0 + 40 | 0) >>> 0, !(($call131$i | 0) == (-1 | 0) | $cmp141$i ^ 1 | $call131$i >>> 0 < $call132$i >>> 0 & (($call131$i | 0) != (-1 | 0) & ($call132$i | 0) != (-1 | 0)) ^ 1)) : 0) { + $tbase$799$i = $call131$i; + $tsize$798$i = $cmp141$i ? $sub$ptr$sub$i : $tsize$4$i; label = 190; } if ((label | 0) == 190) { - $632 = (HEAP32[16843] | 0) + $$723947$i | 0; - HEAP32[16843] = $632; - if ($632 >>> 0 > (HEAP32[16844] | 0) >>> 0) HEAP32[16844] = $632; - $635 = HEAP32[16741] | 0; - L294 : do if ($635) { - $$024372$i = 67388; + $add150$i = (HEAP32[17055] | 0) + $tsize$798$i | 0; + HEAP32[17055] = $add150$i; + if ($add150$i >>> 0 > (HEAP32[17056] | 0) >>> 0) HEAP32[17056] = $add150$i; + $114 = HEAP32[16953] | 0; + L294 : do if ($114) { + $sp$0116$i = 68236; while (1) { - $656 = HEAP32[$$024372$i >> 2] | 0; - $658 = HEAP32[$$024372$i + 4 >> 2] | 0; - if (($$748$i | 0) == ($656 + $658 | 0)) { + $119 = HEAP32[$sp$0116$i >> 2] | 0; + $120 = HEAP32[$sp$0116$i + 4 >> 2] | 0; + if (($tbase$799$i | 0) == ($119 + $120 | 0)) { label = 199; break; } - $662 = HEAP32[$$024372$i + 8 >> 2] | 0; - if (!$662) break; else $$024372$i = $662; - } - if (((label | 0) == 199 ? ($664 = $$024372$i + 4 | 0, (HEAP32[$$024372$i + 12 >> 2] & 8 | 0) == 0) : 0) ? $$748$i >>> 0 > $635 >>> 0 & $656 >>> 0 <= $635 >>> 0 : 0) { - HEAP32[$664 >> 2] = $658 + $$723947$i; - $673 = (HEAP32[16738] | 0) + $$723947$i | 0; - $675 = $635 + 8 | 0; - $680 = ($675 & 7 | 0) == 0 ? 0 : 0 - $675 & 7; - $681 = $635 + $680 | 0; - $682 = $673 - $680 | 0; - HEAP32[16741] = $681; - HEAP32[16738] = $682; - HEAP32[$681 + 4 >> 2] = $682 | 1; - HEAP32[$635 + $673 + 4 >> 2] = 40; - HEAP32[16742] = HEAP32[16857]; - break; - } - $688 = HEAP32[16739] | 0; - if ($$748$i >>> 0 < $688 >>> 0) { - HEAP32[16739] = $$748$i; - $753 = $$748$i; - } else $753 = $688; - $690 = $$748$i + $$723947$i | 0; - $$124471$i = 67388; + $121 = HEAP32[$sp$0116$i + 8 >> 2] | 0; + if (!$121) break; else $sp$0116$i = $121; + } + if (((label | 0) == 199 ? ($size188$i$le = $sp$0116$i + 4 | 0, (HEAP32[$sp$0116$i + 12 >> 2] & 8 | 0) == 0) : 0) ? $tbase$799$i >>> 0 > $114 >>> 0 & $119 >>> 0 <= $114 >>> 0 : 0) { + HEAP32[$size188$i$le >> 2] = $120 + $tsize$798$i; + $add215$i = (HEAP32[16950] | 0) + $tsize$798$i | 0; + $124 = $114 + 8 | 0; + $cond$i56$i = ($124 & 7 | 0) == 0 ? 0 : 0 - $124 & 7; + $add$ptr4$i57$i = $114 + $cond$i56$i | 0; + $sub5$i58$i = $add215$i - $cond$i56$i | 0; + HEAP32[16953] = $add$ptr4$i57$i; + HEAP32[16950] = $sub5$i58$i; + HEAP32[$add$ptr4$i57$i + 4 >> 2] = $sub5$i58$i | 1; + HEAP32[$114 + $add215$i + 4 >> 2] = 40; + HEAP32[16954] = HEAP32[17069]; + break; + } + $126 = HEAP32[16951] | 0; + if ($tbase$799$i >>> 0 < $126 >>> 0) { + HEAP32[16951] = $tbase$799$i; + $139 = $tbase$799$i; + } else $139 = $126; + $add$ptr227$i = $tbase$799$i + $tsize$798$i | 0; + $sp$1115$i = 68236; while (1) { - if ((HEAP32[$$124471$i >> 2] | 0) == ($690 | 0)) { + if ((HEAP32[$sp$1115$i >> 2] | 0) == ($add$ptr227$i | 0)) { label = 207; break; } - $694 = HEAP32[$$124471$i + 8 >> 2] | 0; - if (!$694) break; else $$124471$i = $694; - } - if ((label | 0) == 207 ? (HEAP32[$$124471$i + 12 >> 2] & 8 | 0) == 0 : 0) { - HEAP32[$$124471$i >> 2] = $$748$i; - $700 = $$124471$i + 4 | 0; - HEAP32[$700 >> 2] = (HEAP32[$700 >> 2] | 0) + $$723947$i; - $704 = $$748$i + 8 | 0; - $710 = $$748$i + (($704 & 7 | 0) == 0 ? 0 : 0 - $704 & 7) | 0; - $712 = $690 + 8 | 0; - $718 = $690 + (($712 & 7 | 0) == 0 ? 0 : 0 - $712 & 7) | 0; - $722 = $710 + $$0197 | 0; - $723 = $718 - $710 - $$0197 | 0; - HEAP32[$710 + 4 >> 2] = $$0197 | 3; - L317 : do if (($635 | 0) != ($718 | 0)) { - if ((HEAP32[16740] | 0) == ($718 | 0)) { - $734 = (HEAP32[16737] | 0) + $723 | 0; - HEAP32[16737] = $734; - HEAP32[16740] = $722; - HEAP32[$722 + 4 >> 2] = $734 | 1; - HEAP32[$722 + $734 >> 2] = $734; + $128 = HEAP32[$sp$1115$i + 8 >> 2] | 0; + if (!$128) break; else $sp$1115$i = $128; + } + if ((label | 0) == 207 ? (HEAP32[$sp$1115$i + 12 >> 2] & 8 | 0) == 0 : 0) { + HEAP32[$sp$1115$i >> 2] = $tbase$799$i; + $size245$i = $sp$1115$i + 4 | 0; + HEAP32[$size245$i >> 2] = (HEAP32[$size245$i >> 2] | 0) + $tsize$798$i; + $131 = $tbase$799$i + 8 | 0; + $add$ptr4$i28$i = $tbase$799$i + (($131 & 7 | 0) == 0 ? 0 : 0 - $131 & 7) | 0; + $132 = $add$ptr227$i + 8 | 0; + $add$ptr16$i$i = $add$ptr227$i + (($132 & 7 | 0) == 0 ? 0 : 0 - $132 & 7) | 0; + $add$ptr17$i$i = $add$ptr4$i28$i + $nb$0 | 0; + $sub18$i$i = $add$ptr16$i$i - $add$ptr4$i28$i - $nb$0 | 0; + HEAP32[$add$ptr4$i28$i + 4 >> 2] = $nb$0 | 3; + L317 : do if (($114 | 0) != ($add$ptr16$i$i | 0)) { + if ((HEAP32[16952] | 0) == ($add$ptr16$i$i | 0)) { + $add26$i$i = (HEAP32[16949] | 0) + $sub18$i$i | 0; + HEAP32[16949] = $add26$i$i; + HEAP32[16952] = $add$ptr17$i$i; + HEAP32[$add$ptr17$i$i + 4 >> 2] = $add26$i$i | 1; + HEAP32[$add$ptr17$i$i + $add26$i$i >> 2] = $add26$i$i; break; } - $739 = HEAP32[$718 + 4 >> 2] | 0; - if (($739 & 3 | 0) == 1) { - $742 = $739 & -8; - $743 = $739 >>> 3; - L325 : do if ($739 >>> 0 >= 256) { - $769 = HEAP32[$718 + 24 >> 2] | 0; - $771 = HEAP32[$718 + 12 >> 2] | 0; - do if (($771 | 0) == ($718 | 0)) { - $782 = $718 + 16 | 0; - $783 = $782 + 4 | 0; - $784 = HEAP32[$783 >> 2] | 0; - if (!$784) { - $786 = HEAP32[$782 >> 2] | 0; - if (!$786) { - $$3$i$i = 0; + $136 = HEAP32[$add$ptr16$i$i + 4 >> 2] | 0; + if (($136 & 3 | 0) == 1) { + $and37$i$i = $136 & -8; + $shr$i36$i = $136 >>> 3; + L325 : do if ($136 >>> 0 >= 256) { + $143 = HEAP32[$add$ptr16$i$i + 24 >> 2] | 0; + $144 = HEAP32[$add$ptr16$i$i + 12 >> 2] | 0; + do if (($144 | 0) == ($add$ptr16$i$i | 0)) { + $child$i$i = $add$ptr16$i$i + 16 | 0; + $arrayidx96$i$i = $child$i$i + 4 | 0; + $148 = HEAP32[$arrayidx96$i$i >> 2] | 0; + if (!$148) { + $149 = HEAP32[$child$i$i >> 2] | 0; + if (!$149) { + $R$3$i$i = 0; break; } else { - $$1290$i$i$ph = $786; - $$1292$i$i$ph = $782; + $R$1$i$i$ph = $149; + $RP$1$i$i$ph = $child$i$i; } } else { - $$1290$i$i$ph = $784; - $$1292$i$i$ph = $783; + $R$1$i$i$ph = $148; + $RP$1$i$i$ph = $arrayidx96$i$i; } - $$1290$i$i = $$1290$i$i$ph; - $$1292$i$i = $$1292$i$i$ph; + $R$1$i$i = $R$1$i$i$ph; + $RP$1$i$i = $RP$1$i$i$ph; while (1) { - $788 = $$1290$i$i + 20 | 0; - $789 = HEAP32[$788 >> 2] | 0; - if (!$789) { - $791 = $$1290$i$i + 16 | 0; - $792 = HEAP32[$791 >> 2] | 0; - if (!$792) break; else { - $$1290$i$i$be = $792; - $$1292$i$i$be = $791; + $arrayidx103$i$i = $R$1$i$i + 20 | 0; + $150 = HEAP32[$arrayidx103$i$i >> 2] | 0; + if (!$150) { + $arrayidx107$i$i = $R$1$i$i + 16 | 0; + $151 = HEAP32[$arrayidx107$i$i >> 2] | 0; + if (!$151) break; else { + $R$1$i$i$be = $151; + $RP$1$i$i$be = $arrayidx107$i$i; } } else { - $$1290$i$i$be = $789; - $$1292$i$i$be = $788; + $R$1$i$i$be = $150; + $RP$1$i$i$be = $arrayidx103$i$i; } - $$1290$i$i = $$1290$i$i$be; - $$1292$i$i = $$1292$i$i$be; + $R$1$i$i = $R$1$i$i$be; + $RP$1$i$i = $RP$1$i$i$be; } - if ($753 >>> 0 > $$1292$i$i >>> 0) _abort(); else { - HEAP32[$$1292$i$i >> 2] = 0; - $$3$i$i = $$1290$i$i; + if ($139 >>> 0 > $RP$1$i$i >>> 0) _abort(); else { + HEAP32[$RP$1$i$i >> 2] = 0; + $R$3$i$i = $R$1$i$i; break; } } else { - $774 = HEAP32[$718 + 8 >> 2] | 0; - if ($753 >>> 0 > $774 >>> 0) _abort(); - $776 = $774 + 12 | 0; - if ((HEAP32[$776 >> 2] | 0) != ($718 | 0)) _abort(); - $779 = $771 + 8 | 0; - if ((HEAP32[$779 >> 2] | 0) == ($718 | 0)) { - HEAP32[$776 >> 2] = $771; - HEAP32[$779 >> 2] = $774; - $$3$i$i = $771; + $145 = HEAP32[$add$ptr16$i$i + 8 >> 2] | 0; + if ($139 >>> 0 > $145 >>> 0) _abort(); + $bk82$i$i = $145 + 12 | 0; + if ((HEAP32[$bk82$i$i >> 2] | 0) != ($add$ptr16$i$i | 0)) _abort(); + $fd85$i$i = $144 + 8 | 0; + if ((HEAP32[$fd85$i$i >> 2] | 0) == ($add$ptr16$i$i | 0)) { + HEAP32[$bk82$i$i >> 2] = $144; + HEAP32[$fd85$i$i >> 2] = $145; + $R$3$i$i = $144; break; } else _abort(); } while (0); - if (!$769) break; - $797 = HEAP32[$718 + 28 >> 2] | 0; - $798 = 67244 + ($797 << 2) | 0; - do if ((HEAP32[$798 >> 2] | 0) != ($718 | 0)) if ((HEAP32[16739] | 0) >>> 0 <= $769 >>> 0) { - $807 = $769 + 16 | 0; - HEAP32[((HEAP32[$807 >> 2] | 0) == ($718 | 0) ? $807 : $769 + 20 | 0) >> 2] = $$3$i$i; - if (!$$3$i$i) break L325; else break; + if (!$143) break; + $152 = HEAP32[$add$ptr16$i$i + 28 >> 2] | 0; + $arrayidx123$i$i = 68092 + ($152 << 2) | 0; + do if ((HEAP32[$arrayidx123$i$i >> 2] | 0) != ($add$ptr16$i$i | 0)) if ((HEAP32[16951] | 0) >>> 0 <= $143 >>> 0) { + $arrayidx143$i$i = $143 + 16 | 0; + HEAP32[((HEAP32[$arrayidx143$i$i >> 2] | 0) == ($add$ptr16$i$i | 0) ? $arrayidx143$i$i : $143 + 20 | 0) >> 2] = $R$3$i$i; + if (!$R$3$i$i) break L325; else break; } else _abort(); else { - HEAP32[$798 >> 2] = $$3$i$i; - if ($$3$i$i | 0) break; - HEAP32[16736] = HEAP32[16736] & ~(1 << $797); + HEAP32[$arrayidx123$i$i >> 2] = $R$3$i$i; + if ($R$3$i$i | 0) break; + HEAP32[16948] = HEAP32[16948] & ~(1 << $152); break L325; } while (0); - $812 = HEAP32[16739] | 0; - if ($812 >>> 0 > $$3$i$i >>> 0) _abort(); - HEAP32[$$3$i$i + 24 >> 2] = $769; - $815 = $718 + 16 | 0; - $816 = HEAP32[$815 >> 2] | 0; - do if ($816 | 0) if ($812 >>> 0 > $816 >>> 0) _abort(); else { - HEAP32[$$3$i$i + 16 >> 2] = $816; - HEAP32[$816 + 24 >> 2] = $$3$i$i; + $157 = HEAP32[16951] | 0; + if ($157 >>> 0 > $R$3$i$i >>> 0) _abort(); + HEAP32[$R$3$i$i + 24 >> 2] = $143; + $child166$i$i = $add$ptr16$i$i + 16 | 0; + $158 = HEAP32[$child166$i$i >> 2] | 0; + do if ($158 | 0) if ($157 >>> 0 > $158 >>> 0) _abort(); else { + HEAP32[$R$3$i$i + 16 >> 2] = $158; + HEAP32[$158 + 24 >> 2] = $R$3$i$i; break; } while (0); - $822 = HEAP32[$815 + 4 >> 2] | 0; - if (!$822) break; - if ((HEAP32[16739] | 0) >>> 0 > $822 >>> 0) _abort(); else { - HEAP32[$$3$i$i + 20 >> 2] = $822; - HEAP32[$822 + 24 >> 2] = $$3$i$i; + $159 = HEAP32[$child166$i$i + 4 >> 2] | 0; + if (!$159) break; + if ((HEAP32[16951] | 0) >>> 0 > $159 >>> 0) _abort(); else { + HEAP32[$R$3$i$i + 20 >> 2] = $159; + HEAP32[$159 + 24 >> 2] = $R$3$i$i; break; } } else { - $746 = HEAP32[$718 + 8 >> 2] | 0; - $748 = HEAP32[$718 + 12 >> 2] | 0; - $750 = 66980 + ($743 << 1 << 2) | 0; - do if (($746 | 0) != ($750 | 0)) { - if ($753 >>> 0 > $746 >>> 0) _abort(); - if ((HEAP32[$746 + 12 >> 2] | 0) == ($718 | 0)) break; + $137 = HEAP32[$add$ptr16$i$i + 8 >> 2] | 0; + $138 = HEAP32[$add$ptr16$i$i + 12 >> 2] | 0; + $arrayidx$i39$i = 67828 + ($shr$i36$i << 1 << 2) | 0; + do if (($137 | 0) != ($arrayidx$i39$i | 0)) { + if ($139 >>> 0 > $137 >>> 0) _abort(); + if ((HEAP32[$137 + 12 >> 2] | 0) == ($add$ptr16$i$i | 0)) break; _abort(); } while (0); - if (($748 | 0) == ($746 | 0)) { - HEAP32[16735] = HEAP32[16735] & ~(1 << $743); + if (($138 | 0) == ($137 | 0)) { + HEAP32[16947] = HEAP32[16947] & ~(1 << $shr$i36$i); break; } - do if (($748 | 0) == ($750 | 0)) $$pre$phi17$i$iZ2D = $748 + 8 | 0; else { - if ($753 >>> 0 > $748 >>> 0) _abort(); - $764 = $748 + 8 | 0; - if ((HEAP32[$764 >> 2] | 0) == ($718 | 0)) { - $$pre$phi17$i$iZ2D = $764; + do if (($138 | 0) == ($arrayidx$i39$i | 0)) $fd68$pre$phi$i$iZ2D = $138 + 8 | 0; else { + if ($139 >>> 0 > $138 >>> 0) _abort(); + $fd59$i$i = $138 + 8 | 0; + if ((HEAP32[$fd59$i$i >> 2] | 0) == ($add$ptr16$i$i | 0)) { + $fd68$pre$phi$i$iZ2D = $fd59$i$i; break; } _abort(); } while (0); - HEAP32[$746 + 12 >> 2] = $748; - HEAP32[$$pre$phi17$i$iZ2D >> 2] = $746; + HEAP32[$137 + 12 >> 2] = $138; + HEAP32[$fd68$pre$phi$i$iZ2D >> 2] = $137; } while (0); - $$0$i16$i = $718 + $742 | 0; - $$0286$i$i = $742 + $723 | 0; + $oldfirst$0$i$i = $add$ptr16$i$i + $and37$i$i | 0; + $qsize$0$i$i = $and37$i$i + $sub18$i$i | 0; } else { - $$0$i16$i = $718; - $$0286$i$i = $723; - } - $830 = $$0$i16$i + 4 | 0; - HEAP32[$830 >> 2] = HEAP32[$830 >> 2] & -2; - HEAP32[$722 + 4 >> 2] = $$0286$i$i | 1; - HEAP32[$722 + $$0286$i$i >> 2] = $$0286$i$i; - $836 = $$0286$i$i >>> 3; - if ($$0286$i$i >>> 0 < 256) { - $839 = 66980 + ($836 << 1 << 2) | 0; - $840 = HEAP32[16735] | 0; - $841 = 1 << $836; - do if (!($840 & $841)) { - HEAP32[16735] = $840 | $841; - $$0294$i$i = $839; - $$pre$phi$i18$iZ2D = $839 + 8 | 0; + $oldfirst$0$i$i = $add$ptr16$i$i; + $qsize$0$i$i = $sub18$i$i; + } + $head208$i$i = $oldfirst$0$i$i + 4 | 0; + HEAP32[$head208$i$i >> 2] = HEAP32[$head208$i$i >> 2] & -2; + HEAP32[$add$ptr17$i$i + 4 >> 2] = $qsize$0$i$i | 1; + HEAP32[$add$ptr17$i$i + $qsize$0$i$i >> 2] = $qsize$0$i$i; + $shr214$i$i = $qsize$0$i$i >>> 3; + if ($qsize$0$i$i >>> 0 < 256) { + $arrayidx223$i$i = 67828 + ($shr214$i$i << 1 << 2) | 0; + $162 = HEAP32[16947] | 0; + $shl226$i$i = 1 << $shr214$i$i; + do if (!($162 & $shl226$i$i)) { + HEAP32[16947] = $162 | $shl226$i$i; + $$pre$phi$i48$iZ2D = $arrayidx223$i$i + 8 | 0; + $F224$0$i$i = $arrayidx223$i$i; } else { - $845 = $839 + 8 | 0; - $846 = HEAP32[$845 >> 2] | 0; - if ((HEAP32[16739] | 0) >>> 0 <= $846 >>> 0) { - $$0294$i$i = $846; - $$pre$phi$i18$iZ2D = $845; + $163 = $arrayidx223$i$i + 8 | 0; + $164 = HEAP32[$163 >> 2] | 0; + if ((HEAP32[16951] | 0) >>> 0 <= $164 >>> 0) { + $$pre$phi$i48$iZ2D = $163; + $F224$0$i$i = $164; break; } _abort(); } while (0); - HEAP32[$$pre$phi$i18$iZ2D >> 2] = $722; - HEAP32[$$0294$i$i + 12 >> 2] = $722; - HEAP32[$722 + 8 >> 2] = $$0294$i$i; - HEAP32[$722 + 12 >> 2] = $839; + HEAP32[$$pre$phi$i48$iZ2D >> 2] = $add$ptr17$i$i; + HEAP32[$F224$0$i$i + 12 >> 2] = $add$ptr17$i$i; + HEAP32[$add$ptr17$i$i + 8 >> 2] = $F224$0$i$i; + HEAP32[$add$ptr17$i$i + 12 >> 2] = $arrayidx223$i$i; break; } - $852 = $$0286$i$i >>> 8; - do if (!$852) $$0295$i$i = 0; else { - if ($$0286$i$i >>> 0 > 16777215) { - $$0295$i$i = 31; + $shr253$i$i = $qsize$0$i$i >>> 8; + do if (!$shr253$i$i) $I252$0$i$i = 0; else { + if ($qsize$0$i$i >>> 0 > 16777215) { + $I252$0$i$i = 31; break; } - $857 = ($852 + 1048320 | 0) >>> 16 & 8; - $858 = $852 << $857; - $861 = ($858 + 520192 | 0) >>> 16 & 4; - $863 = $858 << $861; - $866 = ($863 + 245760 | 0) >>> 16 & 2; - $871 = 14 - ($861 | $857 | $866) + ($863 << $866 >>> 15) | 0; - $$0295$i$i = $$0286$i$i >>> ($871 + 7 | 0) & 1 | $871 << 1; + $and264$i$i = ($shr253$i$i + 1048320 | 0) >>> 16 & 8; + $shl265$i$i = $shr253$i$i << $and264$i$i; + $and268$i$i = ($shl265$i$i + 520192 | 0) >>> 16 & 4; + $shl270$i$i = $shl265$i$i << $and268$i$i; + $and273$i$i = ($shl270$i$i + 245760 | 0) >>> 16 & 2; + $add278$i$i = 14 - ($and268$i$i | $and264$i$i | $and273$i$i) + ($shl270$i$i << $and273$i$i >>> 15) | 0; + $I252$0$i$i = $qsize$0$i$i >>> ($add278$i$i + 7 | 0) & 1 | $add278$i$i << 1; } while (0); - $877 = 67244 + ($$0295$i$i << 2) | 0; - HEAP32[$722 + 28 >> 2] = $$0295$i$i; - $879 = $722 + 16 | 0; - HEAP32[$879 + 4 >> 2] = 0; - HEAP32[$879 >> 2] = 0; - $881 = HEAP32[16736] | 0; - $882 = 1 << $$0295$i$i; - if (!($881 & $882)) { - HEAP32[16736] = $881 | $882; - HEAP32[$877 >> 2] = $722; - HEAP32[$722 + 24 >> 2] = $877; - HEAP32[$722 + 12 >> 2] = $722; - HEAP32[$722 + 8 >> 2] = $722; + $arrayidx287$i$i = 68092 + ($I252$0$i$i << 2) | 0; + HEAP32[$add$ptr17$i$i + 28 >> 2] = $I252$0$i$i; + $child289$i$i = $add$ptr17$i$i + 16 | 0; + HEAP32[$child289$i$i + 4 >> 2] = 0; + HEAP32[$child289$i$i >> 2] = 0; + $166 = HEAP32[16948] | 0; + $shl294$i$i = 1 << $I252$0$i$i; + if (!($166 & $shl294$i$i)) { + HEAP32[16948] = $166 | $shl294$i$i; + HEAP32[$arrayidx287$i$i >> 2] = $add$ptr17$i$i; + HEAP32[$add$ptr17$i$i + 24 >> 2] = $arrayidx287$i$i; + HEAP32[$add$ptr17$i$i + 12 >> 2] = $add$ptr17$i$i; + HEAP32[$add$ptr17$i$i + 8 >> 2] = $add$ptr17$i$i; break; } - $889 = HEAP32[$877 >> 2] | 0; - L410 : do if ((HEAP32[$889 + 4 >> 2] & -8 | 0) != ($$0286$i$i | 0)) { - $$028711$i$i = $$0286$i$i << (($$0295$i$i | 0) == 31 ? 0 : 25 - ($$0295$i$i >>> 1) | 0); - $$028810$i$i = $889; + $167 = HEAP32[$arrayidx287$i$i >> 2] | 0; + L410 : do if ((HEAP32[$167 + 4 >> 2] & -8 | 0) != ($qsize$0$i$i | 0)) { + $K305$010$i$i = $qsize$0$i$i << (($I252$0$i$i | 0) == 31 ? 0 : 25 - ($I252$0$i$i >>> 1) | 0); + $T$09$i$i = $167; while (1) { - $906 = $$028810$i$i + 16 + ($$028711$i$i >>> 31 << 2) | 0; - $901 = HEAP32[$906 >> 2] | 0; - if (!$901) break; - if ((HEAP32[$901 + 4 >> 2] & -8 | 0) == ($$0286$i$i | 0)) { - $$0288$lcssa$i$i = $901; + $arrayidx325$i$i = $T$09$i$i + 16 + ($K305$010$i$i >>> 31 << 2) | 0; + $169 = HEAP32[$arrayidx325$i$i >> 2] | 0; + if (!$169) break; + if ((HEAP32[$169 + 4 >> 2] & -8 | 0) == ($qsize$0$i$i | 0)) { + $T$0$lcssa$i50$i = $169; break L410; } else { - $$028711$i$i = $$028711$i$i << 1; - $$028810$i$i = $901; + $K305$010$i$i = $K305$010$i$i << 1; + $T$09$i$i = $169; } } - if ((HEAP32[16739] | 0) >>> 0 > $906 >>> 0) _abort(); else { - HEAP32[$906 >> 2] = $722; - HEAP32[$722 + 24 >> 2] = $$028810$i$i; - HEAP32[$722 + 12 >> 2] = $722; - HEAP32[$722 + 8 >> 2] = $722; + if ((HEAP32[16951] | 0) >>> 0 > $arrayidx325$i$i >>> 0) _abort(); else { + HEAP32[$arrayidx325$i$i >> 2] = $add$ptr17$i$i; + HEAP32[$add$ptr17$i$i + 24 >> 2] = $T$09$i$i; + HEAP32[$add$ptr17$i$i + 12 >> 2] = $add$ptr17$i$i; + HEAP32[$add$ptr17$i$i + 8 >> 2] = $add$ptr17$i$i; break L317; } - } else $$0288$lcssa$i$i = $889; while (0); - $913 = $$0288$lcssa$i$i + 8 | 0; - $914 = HEAP32[$913 >> 2] | 0; - $915 = HEAP32[16739] | 0; - if ($915 >>> 0 <= $914 >>> 0 & $915 >>> 0 <= $$0288$lcssa$i$i >>> 0) { - HEAP32[$914 + 12 >> 2] = $722; - HEAP32[$913 >> 2] = $722; - HEAP32[$722 + 8 >> 2] = $914; - HEAP32[$722 + 12 >> 2] = $$0288$lcssa$i$i; - HEAP32[$722 + 24 >> 2] = 0; + } else $T$0$lcssa$i50$i = $167; while (0); + $fd344$i$i = $T$0$lcssa$i50$i + 8 | 0; + $172 = HEAP32[$fd344$i$i >> 2] | 0; + $173 = HEAP32[16951] | 0; + if ($173 >>> 0 <= $172 >>> 0 & $173 >>> 0 <= $T$0$lcssa$i50$i >>> 0) { + HEAP32[$172 + 12 >> 2] = $add$ptr17$i$i; + HEAP32[$fd344$i$i >> 2] = $add$ptr17$i$i; + HEAP32[$add$ptr17$i$i + 8 >> 2] = $172; + HEAP32[$add$ptr17$i$i + 12 >> 2] = $T$0$lcssa$i50$i; + HEAP32[$add$ptr17$i$i + 24 >> 2] = 0; break; } else _abort(); } else { - $728 = (HEAP32[16738] | 0) + $723 | 0; - HEAP32[16738] = $728; - HEAP32[16741] = $722; - HEAP32[$722 + 4 >> 2] = $728 | 1; + $add$i$i = (HEAP32[16950] | 0) + $sub18$i$i | 0; + HEAP32[16950] = $add$i$i; + HEAP32[16953] = $add$ptr17$i$i; + HEAP32[$add$ptr17$i$i + 4 >> 2] = $add$i$i | 1; } while (0); - $$0 = $710 + 8 | 0; + $retval$0 = $add$ptr4$i28$i + 8 | 0; STACKTOP = sp; - return $$0 | 0; + return $retval$0 | 0; } - $$0$i$i$i = 67388; + $sp$0$i$i$i = 68236; while (1) { - $923 = HEAP32[$$0$i$i$i >> 2] | 0; - if ($923 >>> 0 <= $635 >>> 0 ? ($927 = $923 + (HEAP32[$$0$i$i$i + 4 >> 2] | 0) | 0, $927 >>> 0 > $635 >>> 0) : 0) break; - $$0$i$i$i = HEAP32[$$0$i$i$i + 8 >> 2] | 0; - } - $931 = $927 + -47 | 0; - $933 = $931 + 8 | 0; - $939 = $931 + (($933 & 7 | 0) == 0 ? 0 : 0 - $933 & 7) | 0; - $940 = $635 + 16 | 0; - $942 = $939 >>> 0 < $940 >>> 0 ? $635 : $939; - $943 = $942 + 8 | 0; - $945 = $$723947$i + -40 | 0; - $947 = $$748$i + 8 | 0; - $952 = ($947 & 7 | 0) == 0 ? 0 : 0 - $947 & 7; - $953 = $$748$i + $952 | 0; - $954 = $945 - $952 | 0; - HEAP32[16741] = $953; - HEAP32[16738] = $954; - HEAP32[$953 + 4 >> 2] = $954 | 1; - HEAP32[$$748$i + $945 + 4 >> 2] = 40; - HEAP32[16742] = HEAP32[16857]; - $960 = $942 + 4 | 0; - HEAP32[$960 >> 2] = 27; - HEAP32[$943 >> 2] = HEAP32[16847]; - HEAP32[$943 + 4 >> 2] = HEAP32[16848]; - HEAP32[$943 + 8 >> 2] = HEAP32[16849]; - HEAP32[$943 + 12 >> 2] = HEAP32[16850]; - HEAP32[16847] = $$748$i; - HEAP32[16848] = $$723947$i; - HEAP32[16850] = 0; - HEAP32[16849] = $943; - $962 = $942 + 24 | 0; + $175 = HEAP32[$sp$0$i$i$i >> 2] | 0; + if ($175 >>> 0 <= $114 >>> 0 ? ($add$ptr$i$i$i = $175 + (HEAP32[$sp$0$i$i$i + 4 >> 2] | 0) | 0, $add$ptr$i$i$i >>> 0 > $114 >>> 0) : 0) break; + $sp$0$i$i$i = HEAP32[$sp$0$i$i$i + 8 >> 2] | 0; + } + $add$ptr2$i$i = $add$ptr$i$i$i + -47 | 0; + $178 = $add$ptr2$i$i + 8 | 0; + $add$ptr7$i$i = $add$ptr2$i$i + (($178 & 7 | 0) == 0 ? 0 : 0 - $178 & 7) | 0; + $add$ptr81$i$i = $114 + 16 | 0; + $cond13$i$i = $add$ptr7$i$i >>> 0 < $add$ptr81$i$i >>> 0 ? $114 : $add$ptr7$i$i; + $add$ptr14$i$i = $cond13$i$i + 8 | 0; + $sub16$i$i = $tsize$798$i + -40 | 0; + $179 = $tbase$799$i + 8 | 0; + $cond$i$i$i = ($179 & 7 | 0) == 0 ? 0 : 0 - $179 & 7; + $add$ptr4$i$i$i = $tbase$799$i + $cond$i$i$i | 0; + $sub5$i$i$i = $sub16$i$i - $cond$i$i$i | 0; + HEAP32[16953] = $add$ptr4$i$i$i; + HEAP32[16950] = $sub5$i$i$i; + HEAP32[$add$ptr4$i$i$i + 4 >> 2] = $sub5$i$i$i | 1; + HEAP32[$tbase$799$i + $sub16$i$i + 4 >> 2] = 40; + HEAP32[16954] = HEAP32[17069]; + $head$i$i = $cond13$i$i + 4 | 0; + HEAP32[$head$i$i >> 2] = 27; + HEAP32[$add$ptr14$i$i >> 2] = HEAP32[17059]; + HEAP32[$add$ptr14$i$i + 4 >> 2] = HEAP32[17060]; + HEAP32[$add$ptr14$i$i + 8 >> 2] = HEAP32[17061]; + HEAP32[$add$ptr14$i$i + 12 >> 2] = HEAP32[17062]; + HEAP32[17059] = $tbase$799$i; + HEAP32[17060] = $tsize$798$i; + HEAP32[17062] = 0; + HEAP32[17061] = $add$ptr14$i$i; + $181 = $cond13$i$i + 24 | 0; do { - $962$looptemp = $962; - $962 = $962 + 4 | 0; - HEAP32[$962 >> 2] = 7; - } while (($962$looptemp + 8 | 0) >>> 0 < $927 >>> 0); - if (($942 | 0) != ($635 | 0)) { - $968 = $942 - $635 | 0; - HEAP32[$960 >> 2] = HEAP32[$960 >> 2] & -2; - HEAP32[$635 + 4 >> 2] = $968 | 1; - HEAP32[$942 >> 2] = $968; - $973 = $968 >>> 3; - if ($968 >>> 0 < 256) { - $976 = 66980 + ($973 << 1 << 2) | 0; - $977 = HEAP32[16735] | 0; - $978 = 1 << $973; - if ($977 & $978) { - $982 = $976 + 8 | 0; - $983 = HEAP32[$982 >> 2] | 0; - if ((HEAP32[16739] | 0) >>> 0 > $983 >>> 0) _abort(); else { - $$0211$i$i = $983; - $$pre$phi$i$iZ2D = $982; + $181$looptemp = $181; + $181 = $181 + 4 | 0; + HEAP32[$181 >> 2] = 7; + } while (($181$looptemp + 8 | 0) >>> 0 < $add$ptr$i$i$i >>> 0); + if (($cond13$i$i | 0) != ($114 | 0)) { + $sub$ptr$sub$i$i = $cond13$i$i - $114 | 0; + HEAP32[$head$i$i >> 2] = HEAP32[$head$i$i >> 2] & -2; + HEAP32[$114 + 4 >> 2] = $sub$ptr$sub$i$i | 1; + HEAP32[$cond13$i$i >> 2] = $sub$ptr$sub$i$i; + $shr$i$i = $sub$ptr$sub$i$i >>> 3; + if ($sub$ptr$sub$i$i >>> 0 < 256) { + $arrayidx$i$i = 67828 + ($shr$i$i << 1 << 2) | 0; + $183 = HEAP32[16947] | 0; + $shl39$i$i = 1 << $shr$i$i; + if ($183 & $shl39$i$i) { + $184 = $arrayidx$i$i + 8 | 0; + $185 = HEAP32[$184 >> 2] | 0; + if ((HEAP32[16951] | 0) >>> 0 > $185 >>> 0) _abort(); else { + $$pre$phi$i$iZ2D = $184; + $F$0$i$i = $185; } } else { - HEAP32[16735] = $977 | $978; - $$0211$i$i = $976; - $$pre$phi$i$iZ2D = $976 + 8 | 0; - } - HEAP32[$$pre$phi$i$iZ2D >> 2] = $635; - HEAP32[$$0211$i$i + 12 >> 2] = $635; - HEAP32[$635 + 8 >> 2] = $$0211$i$i; - HEAP32[$635 + 12 >> 2] = $976; + HEAP32[16947] = $183 | $shl39$i$i; + $$pre$phi$i$iZ2D = $arrayidx$i$i + 8 | 0; + $F$0$i$i = $arrayidx$i$i; + } + HEAP32[$$pre$phi$i$iZ2D >> 2] = $114; + HEAP32[$F$0$i$i + 12 >> 2] = $114; + HEAP32[$114 + 8 >> 2] = $F$0$i$i; + HEAP32[$114 + 12 >> 2] = $arrayidx$i$i; break; } - $989 = $968 >>> 8; - if ($989) if ($968 >>> 0 > 16777215) $$0212$i$i = 31; else { - $994 = ($989 + 1048320 | 0) >>> 16 & 8; - $995 = $989 << $994; - $998 = ($995 + 520192 | 0) >>> 16 & 4; - $1000 = $995 << $998; - $1003 = ($1000 + 245760 | 0) >>> 16 & 2; - $1008 = 14 - ($998 | $994 | $1003) + ($1000 << $1003 >>> 15) | 0; - $$0212$i$i = $968 >>> ($1008 + 7 | 0) & 1 | $1008 << 1; - } else $$0212$i$i = 0; - $1014 = 67244 + ($$0212$i$i << 2) | 0; - HEAP32[$635 + 28 >> 2] = $$0212$i$i; - HEAP32[$635 + 20 >> 2] = 0; - HEAP32[$940 >> 2] = 0; - $1017 = HEAP32[16736] | 0; - $1018 = 1 << $$0212$i$i; - if (!($1017 & $1018)) { - HEAP32[16736] = $1017 | $1018; - HEAP32[$1014 >> 2] = $635; - HEAP32[$635 + 24 >> 2] = $1014; - HEAP32[$635 + 12 >> 2] = $635; - HEAP32[$635 + 8 >> 2] = $635; + $shr58$i$i = $sub$ptr$sub$i$i >>> 8; + if ($shr58$i$i) if ($sub$ptr$sub$i$i >>> 0 > 16777215) $I57$0$i$i = 31; else { + $and69$i$i = ($shr58$i$i + 1048320 | 0) >>> 16 & 8; + $shl70$i$i = $shr58$i$i << $and69$i$i; + $and73$i$i = ($shl70$i$i + 520192 | 0) >>> 16 & 4; + $shl75$i$i = $shl70$i$i << $and73$i$i; + $and78$i$i = ($shl75$i$i + 245760 | 0) >>> 16 & 2; + $add83$i$i = 14 - ($and73$i$i | $and69$i$i | $and78$i$i) + ($shl75$i$i << $and78$i$i >>> 15) | 0; + $I57$0$i$i = $sub$ptr$sub$i$i >>> ($add83$i$i + 7 | 0) & 1 | $add83$i$i << 1; + } else $I57$0$i$i = 0; + $arrayidx91$i$i = 68092 + ($I57$0$i$i << 2) | 0; + HEAP32[$114 + 28 >> 2] = $I57$0$i$i; + HEAP32[$114 + 20 >> 2] = 0; + HEAP32[$add$ptr81$i$i >> 2] = 0; + $187 = HEAP32[16948] | 0; + $shl95$i$i = 1 << $I57$0$i$i; + if (!($187 & $shl95$i$i)) { + HEAP32[16948] = $187 | $shl95$i$i; + HEAP32[$arrayidx91$i$i >> 2] = $114; + HEAP32[$114 + 24 >> 2] = $arrayidx91$i$i; + HEAP32[$114 + 12 >> 2] = $114; + HEAP32[$114 + 8 >> 2] = $114; break; } - $1025 = HEAP32[$1014 >> 2] | 0; - L451 : do if ((HEAP32[$1025 + 4 >> 2] & -8 | 0) != ($968 | 0)) { - $$02065$i$i = $968 << (($$0212$i$i | 0) == 31 ? 0 : 25 - ($$0212$i$i >>> 1) | 0); - $$02074$i$i = $1025; + $188 = HEAP32[$arrayidx91$i$i >> 2] | 0; + L451 : do if ((HEAP32[$188 + 4 >> 2] & -8 | 0) != ($sub$ptr$sub$i$i | 0)) { + $K105$011$i$i = $sub$ptr$sub$i$i << (($I57$0$i$i | 0) == 31 ? 0 : 25 - ($I57$0$i$i >>> 1) | 0); + $T$010$i$i = $188; while (1) { - $1042 = $$02074$i$i + 16 + ($$02065$i$i >>> 31 << 2) | 0; - $1037 = HEAP32[$1042 >> 2] | 0; - if (!$1037) break; - if ((HEAP32[$1037 + 4 >> 2] & -8 | 0) == ($968 | 0)) { - $$0207$lcssa$i$i = $1037; + $arrayidx126$i$i = $T$010$i$i + 16 + ($K105$011$i$i >>> 31 << 2) | 0; + $190 = HEAP32[$arrayidx126$i$i >> 2] | 0; + if (!$190) break; + if ((HEAP32[$190 + 4 >> 2] & -8 | 0) == ($sub$ptr$sub$i$i | 0)) { + $T$0$lcssa$i$i = $190; break L451; } else { - $$02065$i$i = $$02065$i$i << 1; - $$02074$i$i = $1037; + $K105$011$i$i = $K105$011$i$i << 1; + $T$010$i$i = $190; } } - if ((HEAP32[16739] | 0) >>> 0 > $1042 >>> 0) _abort(); else { - HEAP32[$1042 >> 2] = $635; - HEAP32[$635 + 24 >> 2] = $$02074$i$i; - HEAP32[$635 + 12 >> 2] = $635; - HEAP32[$635 + 8 >> 2] = $635; + if ((HEAP32[16951] | 0) >>> 0 > $arrayidx126$i$i >>> 0) _abort(); else { + HEAP32[$arrayidx126$i$i >> 2] = $114; + HEAP32[$114 + 24 >> 2] = $T$010$i$i; + HEAP32[$114 + 12 >> 2] = $114; + HEAP32[$114 + 8 >> 2] = $114; break L294; } - } else $$0207$lcssa$i$i = $1025; while (0); - $1049 = $$0207$lcssa$i$i + 8 | 0; - $1050 = HEAP32[$1049 >> 2] | 0; - $1051 = HEAP32[16739] | 0; - if ($1051 >>> 0 <= $1050 >>> 0 & $1051 >>> 0 <= $$0207$lcssa$i$i >>> 0) { - HEAP32[$1050 + 12 >> 2] = $635; - HEAP32[$1049 >> 2] = $635; - HEAP32[$635 + 8 >> 2] = $1050; - HEAP32[$635 + 12 >> 2] = $$0207$lcssa$i$i; - HEAP32[$635 + 24 >> 2] = 0; + } else $T$0$lcssa$i$i = $188; while (0); + $fd148$i$i = $T$0$lcssa$i$i + 8 | 0; + $193 = HEAP32[$fd148$i$i >> 2] | 0; + $194 = HEAP32[16951] | 0; + if ($194 >>> 0 <= $193 >>> 0 & $194 >>> 0 <= $T$0$lcssa$i$i >>> 0) { + HEAP32[$193 + 12 >> 2] = $114; + HEAP32[$fd148$i$i >> 2] = $114; + HEAP32[$114 + 8 >> 2] = $193; + HEAP32[$114 + 12 >> 2] = $T$0$lcssa$i$i; + HEAP32[$114 + 24 >> 2] = 0; break; } else _abort(); } } else { - $637 = HEAP32[16739] | 0; - if (($637 | 0) == 0 | $$748$i >>> 0 < $637 >>> 0) HEAP32[16739] = $$748$i; - HEAP32[16847] = $$748$i; - HEAP32[16848] = $$723947$i; - HEAP32[16850] = 0; - HEAP32[16744] = HEAP32[16853]; - HEAP32[16743] = -1; - HEAP32[16748] = 66980; - HEAP32[16747] = 66980; - HEAP32[16750] = 66988; - HEAP32[16749] = 66988; - HEAP32[16752] = 66996; - HEAP32[16751] = 66996; - HEAP32[16754] = 67004; - HEAP32[16753] = 67004; - HEAP32[16756] = 67012; - HEAP32[16755] = 67012; - HEAP32[16758] = 67020; - HEAP32[16757] = 67020; - HEAP32[16760] = 67028; - HEAP32[16759] = 67028; - HEAP32[16762] = 67036; - HEAP32[16761] = 67036; - HEAP32[16764] = 67044; - HEAP32[16763] = 67044; - HEAP32[16766] = 67052; - HEAP32[16765] = 67052; - HEAP32[16768] = 67060; - HEAP32[16767] = 67060; - HEAP32[16770] = 67068; - HEAP32[16769] = 67068; - HEAP32[16772] = 67076; - HEAP32[16771] = 67076; - HEAP32[16774] = 67084; - HEAP32[16773] = 67084; - HEAP32[16776] = 67092; - HEAP32[16775] = 67092; - HEAP32[16778] = 67100; - HEAP32[16777] = 67100; - HEAP32[16780] = 67108; - HEAP32[16779] = 67108; - HEAP32[16782] = 67116; - HEAP32[16781] = 67116; - HEAP32[16784] = 67124; - HEAP32[16783] = 67124; - HEAP32[16786] = 67132; - HEAP32[16785] = 67132; - HEAP32[16788] = 67140; - HEAP32[16787] = 67140; - HEAP32[16790] = 67148; - HEAP32[16789] = 67148; - HEAP32[16792] = 67156; - HEAP32[16791] = 67156; - HEAP32[16794] = 67164; - HEAP32[16793] = 67164; - HEAP32[16796] = 67172; - HEAP32[16795] = 67172; - HEAP32[16798] = 67180; - HEAP32[16797] = 67180; - HEAP32[16800] = 67188; - HEAP32[16799] = 67188; - HEAP32[16802] = 67196; - HEAP32[16801] = 67196; - HEAP32[16804] = 67204; - HEAP32[16803] = 67204; - HEAP32[16806] = 67212; - HEAP32[16805] = 67212; - HEAP32[16808] = 67220; - HEAP32[16807] = 67220; - HEAP32[16810] = 67228; - HEAP32[16809] = 67228; - $641 = $$723947$i + -40 | 0; - $643 = $$748$i + 8 | 0; - $648 = ($643 & 7 | 0) == 0 ? 0 : 0 - $643 & 7; - $649 = $$748$i + $648 | 0; - $650 = $641 - $648 | 0; - HEAP32[16741] = $649; - HEAP32[16738] = $650; - HEAP32[$649 + 4 >> 2] = $650 | 1; - HEAP32[$$748$i + $641 + 4 >> 2] = 40; - HEAP32[16742] = HEAP32[16857]; + $115 = HEAP32[16951] | 0; + if (($115 | 0) == 0 | $tbase$799$i >>> 0 < $115 >>> 0) HEAP32[16951] = $tbase$799$i; + HEAP32[17059] = $tbase$799$i; + HEAP32[17060] = $tsize$798$i; + HEAP32[17062] = 0; + HEAP32[16956] = HEAP32[17065]; + HEAP32[16955] = -1; + HEAP32[16960] = 67828; + HEAP32[16959] = 67828; + HEAP32[16962] = 67836; + HEAP32[16961] = 67836; + HEAP32[16964] = 67844; + HEAP32[16963] = 67844; + HEAP32[16966] = 67852; + HEAP32[16965] = 67852; + HEAP32[16968] = 67860; + HEAP32[16967] = 67860; + HEAP32[16970] = 67868; + HEAP32[16969] = 67868; + HEAP32[16972] = 67876; + HEAP32[16971] = 67876; + HEAP32[16974] = 67884; + HEAP32[16973] = 67884; + HEAP32[16976] = 67892; + HEAP32[16975] = 67892; + HEAP32[16978] = 67900; + HEAP32[16977] = 67900; + HEAP32[16980] = 67908; + HEAP32[16979] = 67908; + HEAP32[16982] = 67916; + HEAP32[16981] = 67916; + HEAP32[16984] = 67924; + HEAP32[16983] = 67924; + HEAP32[16986] = 67932; + HEAP32[16985] = 67932; + HEAP32[16988] = 67940; + HEAP32[16987] = 67940; + HEAP32[16990] = 67948; + HEAP32[16989] = 67948; + HEAP32[16992] = 67956; + HEAP32[16991] = 67956; + HEAP32[16994] = 67964; + HEAP32[16993] = 67964; + HEAP32[16996] = 67972; + HEAP32[16995] = 67972; + HEAP32[16998] = 67980; + HEAP32[16997] = 67980; + HEAP32[17e3] = 67988; + HEAP32[16999] = 67988; + HEAP32[17002] = 67996; + HEAP32[17001] = 67996; + HEAP32[17004] = 68004; + HEAP32[17003] = 68004; + HEAP32[17006] = 68012; + HEAP32[17005] = 68012; + HEAP32[17008] = 68020; + HEAP32[17007] = 68020; + HEAP32[17010] = 68028; + HEAP32[17009] = 68028; + HEAP32[17012] = 68036; + HEAP32[17011] = 68036; + HEAP32[17014] = 68044; + HEAP32[17013] = 68044; + HEAP32[17016] = 68052; + HEAP32[17015] = 68052; + HEAP32[17018] = 68060; + HEAP32[17017] = 68060; + HEAP32[17020] = 68068; + HEAP32[17019] = 68068; + HEAP32[17022] = 68076; + HEAP32[17021] = 68076; + $sub172$i = $tsize$798$i + -40 | 0; + $117 = $tbase$799$i + 8 | 0; + $cond$i20$i = ($117 & 7 | 0) == 0 ? 0 : 0 - $117 & 7; + $add$ptr4$i$i = $tbase$799$i + $cond$i20$i | 0; + $sub5$i$i = $sub172$i - $cond$i20$i | 0; + HEAP32[16953] = $add$ptr4$i$i; + HEAP32[16950] = $sub5$i$i; + HEAP32[$add$ptr4$i$i + 4 >> 2] = $sub5$i$i | 1; + HEAP32[$tbase$799$i + $sub172$i + 4 >> 2] = 40; + HEAP32[16954] = HEAP32[17069]; } while (0); - $1060 = HEAP32[16738] | 0; - if ($1060 >>> 0 > $$0197 >>> 0) { - $1062 = $1060 - $$0197 | 0; - HEAP32[16738] = $1062; - $1063 = HEAP32[16741] | 0; - $1064 = $1063 + $$0197 | 0; - HEAP32[16741] = $1064; - HEAP32[$1064 + 4 >> 2] = $1062 | 1; - HEAP32[$1063 + 4 >> 2] = $$0197 | 3; - $$0 = $1063 + 8 | 0; + $196 = HEAP32[16950] | 0; + if ($196 >>> 0 > $nb$0 >>> 0) { + $sub260$i = $196 - $nb$0 | 0; + HEAP32[16950] = $sub260$i; + $197 = HEAP32[16953] | 0; + $add$ptr262$i = $197 + $nb$0 | 0; + HEAP32[16953] = $add$ptr262$i; + HEAP32[$add$ptr262$i + 4 >> 2] = $sub260$i | 1; + HEAP32[$197 + 4 >> 2] = $nb$0 | 3; + $retval$0 = $197 + 8 | 0; STACKTOP = sp; - return $$0 | 0; + return $retval$0 | 0; } } - $1070 = ___errno_location() | 0; - HEAP32[$1070 >> 2] = 48; - $$0 = 0; + $call275$i = ___errno_location() | 0; + HEAP32[$call275$i >> 2] = 48; + $retval$0 = 0; STACKTOP = sp; - return $$0 | 0; + return $retval$0 | 0; } -function __ZNSt3__29money_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE8__do_getERS4_S4_bRKNS_6localeEjRjRbRKNS_5ctypeIcEERNS_10unique_ptrIcPFvPvEEERPcSM_($0, $1, $2, $3, $4, $5, $6, $7, $8, $9, $10) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - $6 = $6 | 0; - $7 = $7 | 0; - $8 = $8 | 0; - $9 = $9 | 0; - $10 = $10 | 0; - var $$0 = 0, $$0$i$i = 0, $$0$i$i$i$i = 0, $$0$i$i$i$i161 = 0, $$0$i$i$i$i205 = 0, $$0$i$i$i$i221 = 0, $$0$i$i$i$i237 = 0, $$0$i$i$i$i254 = 0, $$0$i$i$i$i269 = 0, $$0$i$i147 = 0, $$0$i$i150 = 0, $$0$i$i153 = 0, $$0$i$i156 = 0, $$0$i$i159 = 0, $$0$i$i160 = 0, $$0$i$i173 = 0, $$0$i$i176 = 0, $$0$i$i182 = 0, $$0$i$i189 = 0, $$0$i$i194 = 0, $$0$i$i2$i$i = 0, $$0$i$i2$i$i167 = 0, $$0$i$i2$i$i211 = 0, $$0$i$i2$i$i227 = 0, $$0$i$i2$i$i243 = 0, $$0$i$i2$i$i260 = 0, $$0$i$i2$i$i275 = 0, $$0$i$i202 = 0, $$0$i$i233 = 0, $$0$i$i249 = 0, $$0$i$i266 = 0, $$0$i$i281 = 0, $$0$i$i284 = 0, $$0124 = 0, $$0129 = 0, $$0131 = 0, $$10 = 0, $$1130 = 0, $$2126$ph = 0, $$pre$phiZ2D = 0, $$sroa$0293$0$ptr = 0, $$sroa$0313$0 = 0, $$sroa$0313$1 = 0, $$sroa$08$0$ptr$i = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $12 = 0, $125 = 0, $128 = 0, $13 = 0, $14 = 0, $141 = 0, $143 = 0, $15 = 0, $155 = 0, $157 = 0, $16 = 0, $17 = 0, $175 = 0, $176 = 0, $177 = 0, $18 = 0, $189 = 0, $19 = 0, $193 = 0, $194 = 0, $198 = 0, $20 = 0, $201 = 0, $203 = 0, $205 = 0, $208 = 0, $21 = 0, $215 = 0, $22 = 0, $222 = 0, $223 = 0, $224 = 0, $23 = 0, $233 = 0, $24 = 0, $245 = 0, $246 = 0, $247 = 0, $25 = 0, $256 = 0, $275 = 0, $276 = 0, $277 = 0, $280 = 0, $286 = 0, $305 = 0, $306 = 0, $307 = 0, $316 = 0, $330 = 0, $331 = 0, $332 = 0, $333 = 0, $335 = 0, $336 = 0, $337 = 0, $338 = 0, $339 = 0, $346 = 0, $348 = 0, $349 = 0, $350 = 0, $351 = 0, $353 = 0, $363 = 0, $364 = 0, $365 = 0, $366 = 0, $367 = 0, $368 = 0, $372 = 0, $375 = 0, $380 = 0, $386 = 0, $387 = 0, $391 = 0, $395 = 0, $398 = 0, $40 = 0, $41 = 0, $411 = 0, $413 = 0, $42 = 0, $425 = 0, $427 = 0, $43 = 0, $44 = 0, $440 = 0, $441 = 0, $442 = 0, $45 = 0, $452 = 0, $453 = 0, $46 = 0, $463 = 0, $466 = 0, $479 = 0, $48 = 0, $481 = 0, $49 = 0, $493 = 0, $495 = 0, $50 = 0, $505 = 0, $51 = 0, $513 = 0, $517 = 0, $519 = 0, $52 = 0, $528 = 0, $53 = 0, $532 = 0, $533 = 0, $534 = 0, $535 = 0, $545 = 0, $55 = 0, $551 = 0, $554 = 0, $557 = 0, $570 = 0, $572 = 0, $58 = 0, $584 = 0, $586 = 0, $601 = 0, $602 = 0, $603 = 0, $614 = 0, $617 = 0, $630 = 0, $632 = 0, $644 = 0, $646 = 0, $669 = 0, $671 = 0, $682 = 0, $686 = 0, $687 = 0, $688 = 0, $70 = 0, $704 = 0, $705 = 0, $706 = 0, $711 = 0, $712 = 0, $715 = 0, $727 = 0, $73 = 0, $730 = 0, $742 = 0, $744 = 0, $759 = 0, $765 = 0, $766 = 0, $767 = 0, $776 = 0, $777 = 0, $783 = 0, $787 = 0, $788 = 0, $789 = 0, $790 = 0, $791 = 0, $792 = 0, $793 = 0, $794 = 0, $795 = 0, $796 = 0, $797 = 0, $798 = 0, $799 = 0, $800 = 0, $801 = 0, $802 = 0, $803 = 0, $804 = 0, $805 = 0, $88 = 0, $90 = 0, label = 0, sp = 0; +function __ZNSt3__29money_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE8__do_getERS4_S4_bRKNS_6localeEjRjRbRKNS_5ctypeIcEERNS_10unique_ptrIcPFvPvEEERPcSM_($__b, $__e, $__intl, $__loc, $__flags, $__err, $__neg, $__ct, $__wb, $__wn, $__we) { + $__b = $__b | 0; + $__e = $__e | 0; + $__intl = $__intl | 0; + $__loc = $__loc | 0; + $__flags = $__flags | 0; + $__err = $__err | 0; + $__neg = $__neg | 0; + $__ct = $__ct | 0; + $__wb = $__wb | 0; + $__wn = $__wn | 0; + $__we = $__we | 0; + var $100 = 0, $105 = 0, $106 = 0, $108 = 0, $109 = 0, $110 = 0, $113 = 0, $114 = 0, $115 = 0, $119 = 0, $120 = 0, $121 = 0, $123 = 0, $126 = 0, $128 = 0, $129 = 0, $130 = 0, $134 = 0, $135 = 0, $139 = 0, $14 = 0, $140 = 0, $145 = 0, $146 = 0, $15 = 0, $150 = 0, $154 = 0, $155 = 0, $159 = 0, $160 = 0, $164 = 0, $165 = 0, $171 = 0, $173 = 0, $174 = 0, $177 = 0, $179 = 0, $180 = 0, $181 = 0, $186 = 0, $188 = 0, $190 = 0, $191 = 0, $195 = 0, $196 = 0, $200 = 0, $201 = 0, $207 = 0, $208 = 0, $21 = 0, $213 = 0, $214 = 0, $218 = 0, $219 = 0, $22 = 0, $223 = 0, $224 = 0, $233 = 0, $234 = 0, $238 = 0, $240 = 0, $241 = 0, $248 = 0, $250 = 0, $251 = 0, $255 = 0, $256 = 0, $260 = 0, $261 = 0, $269 = 0, $27 = 0, $270 = 0, $274 = 0, $275 = 0, $278 = 0, $28 = 0, $280 = 0, $281 = 0, $282 = 0, $283 = 0, $284 = 0, $285 = 0, $286 = 0, $287 = 0, $288 = 0, $289 = 0, $290 = 0, $291 = 0, $292 = 0, $293 = 0, $294 = 0, $295 = 0, $296 = 0, $297 = 0, $298 = 0, $3 = 0, $32 = 0, $33 = 0, $37 = 0, $38 = 0, $4 = 0, $44 = 0, $45 = 0, $49 = 0, $51 = 0, $53 = 0, $54 = 0, $61 = 0, $62 = 0, $66 = 0, $71 = 0, $72 = 0, $76 = 0, $8 = 0, $83 = 0, $84 = 0, $88 = 0, $9 = 0, $95 = 0, $96 = 0, $__dp = 0, $__et = 0, $__fd = 0, $__gb = 0, $__gbuf = 0, $__ge = 0, $__gn = 0, $__grp = 0, $__i$0 = 0, $__i$0$i$i = 0, $__i$0$i$i100 = 0, $__i$0$i$i108 = 0, $__i$0$i$i116 = 0, $__i$0$i$i124 = 0, $__ng$0 = 0, $__ng$2$ph = 0, $__ninp_$i$i = 0, $__ninp_$i$i147 = 0, $__ninp_$i$i224 = 0, $__ninp_$i$i294 = 0, $__ninp_$i$i324 = 0, $__ninp_$i$i367 = 0, $__ninp_$i$i410 = 0, $__ninp_$i$i652 = 0, $__ninp_$i$i755 = 0, $__ninp_$i$i824 = 0, $__ninp_$i$i914 = 0, $__nsn = 0, $__p$0 = 0, $__pat = 0, $__psn = 0, $__size_$i$i = 0, $__size_$i$i$i431 = 0, $__size_$i$i244 = 0, $__size_$i$i464 = 0, $__size_$i$i746 = 0, $__size_$i$i927 = 0, $__size_$i3$i = 0, $__size_$i3$i$i583 = 0, $__size_$i3$i246 = 0, $__size_$i3$i466 = 0, $__size_$i3$i748 = 0, $__size_$i3$i929 = 0, $__spaces = 0, $__sym = 0, $__sym_curr_char$sroa$0$0$ptr = 0, $__sym_space_end$sroa$0$0 = 0, $__sym_space_end$sroa$0$1 = 0, $__tab_$i216 = 0, $__trailing_sign$0 = 0, $__trailing_sign$1 = 0, $__ts = 0, $__we$addr = 0, $add$ptr$i = 0, $add$ptr$i497 = 0, $add$ptr$i497962 = 0, $add$ptr$i552$pre$phiZZZ2D = 0, $agg$tmp26$sroa$0$0$ptr$i = 0, $arrayidx97 = 0, $cmp$i$i282 = 0, $cmp$i$i369 = 0, $cmp102959 = 0, $cmp26 = 0, $cond$i$i$i = 0, $cond$i$i437 = 0, $cond$i$i437992 = 0, $cond$i$i437995 = 0, $cond$i242 = 0, $cond$i250 = 0, $cond$i933 = 0, $conv$i$i468 = 0, $conv$i290 = 0, $conv$i734 = 0, $retval$0$i$i = 0, $retval$0$i$i$i$i = 0, $retval$0$i$i$i$i171 = 0, $retval$0$i$i$i$i511 = 0, $retval$0$i$i$i$i607 = 0, $retval$0$i$i$i$i693 = 0, $retval$0$i$i$i$i779 = 0, $retval$0$i$i$i$i847 = 0, $retval$0$i$i13$i$i = 0, $retval$0$i$i13$i$i192 = 0, $retval$0$i$i13$i$i532 = 0, $retval$0$i$i13$i$i628 = 0, $retval$0$i$i13$i$i714 = 0, $retval$0$i$i13$i$i800 = 0, $retval$0$i$i13$i$i868 = 0, $retval$0$i$i157 = 0, $retval$0$i$i211 = 0, $retval$0$i$i234 = 0, $retval$0$i$i289 = 0, $retval$0$i$i354 = 0, $retval$0$i$i397 = 0, $retval$0$i$i483 = 0, $retval$0$i$i647 = 0, $retval$0$i$i733 = 0, $retval$0$i$i820 = 0, $retval$0$i$i888 = 0, $retval$0$i$i910 = 0, $retval$10 = 0, $sub$ptr$sub$i = 0, $tobool$i$i$i432 = 0, $tobool$i$i$i432991 = 0, $tobool$i$i$i432994 = 0, $tobool$i$i$i581 = 0, $tobool$i$i$i667 = 0, $tobool$i$i465 = 0, label = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 512 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(512); - $11 = sp + 488 | 0; - $12 = sp; - $13 = sp + 480 | 0; - $14 = sp + 472 | 0; - $15 = sp + 468 | 0; - $16 = sp + 496 | 0; - $17 = sp + 493 | 0; - $18 = sp + 492 | 0; - $19 = sp + 456 | 0; - $20 = sp + 444 | 0; - $21 = sp + 432 | 0; - $22 = sp + 420 | 0; - $23 = sp + 408 | 0; - $24 = sp + 404 | 0; - $25 = sp + 400 | 0; - HEAP32[$11 >> 2] = $10; - HEAP32[$13 >> 2] = $12; - HEAP32[$13 + 4 >> 2] = 214; - HEAP32[$14 >> 2] = $12; - HEAP32[$15 >> 2] = $12 + 400; - HEAP32[$19 >> 2] = 0; - HEAP32[$19 + 4 >> 2] = 0; - HEAP32[$19 + 8 >> 2] = 0; - $$0$i$i = 0; + $__we$addr = sp + 488 | 0; + $__gbuf = sp; + $__gb = sp + 480 | 0; + $__gn = sp + 472 | 0; + $__ge = sp + 468 | 0; + $__pat = sp + 496 | 0; + $__dp = sp + 493 | 0; + $__ts = sp + 492 | 0; + $__grp = sp + 456 | 0; + $__sym = sp + 444 | 0; + $__psn = sp + 432 | 0; + $__nsn = sp + 420 | 0; + $__spaces = sp + 408 | 0; + $__fd = sp + 404 | 0; + $__et = sp + 400 | 0; + HEAP32[$__we$addr >> 2] = $__we; + HEAP32[$__gb >> 2] = $__gbuf; + HEAP32[$__gb + 4 >> 2] = 214; + HEAP32[$__gn >> 2] = $__gbuf; + HEAP32[$__ge >> 2] = $__gbuf + 400; + HEAP32[$__grp >> 2] = 0; + HEAP32[$__grp + 4 >> 2] = 0; + HEAP32[$__grp + 8 >> 2] = 0; + $__i$0$i$i = 0; while (1) { - if (($$0$i$i | 0) == 3) break; - HEAP32[$19 + ($$0$i$i << 2) >> 2] = 0; - $$0$i$i = $$0$i$i + 1 | 0; - } - HEAP32[$20 >> 2] = 0; - HEAP32[$20 + 4 >> 2] = 0; - HEAP32[$20 + 8 >> 2] = 0; - $$0$i$i147 = 0; + if (($__i$0$i$i | 0) == 3) break; + HEAP32[$__grp + ($__i$0$i$i << 2) >> 2] = 0; + $__i$0$i$i = $__i$0$i$i + 1 | 0; + } + HEAP32[$__sym >> 2] = 0; + HEAP32[$__sym + 4 >> 2] = 0; + HEAP32[$__sym + 8 >> 2] = 0; + $__i$0$i$i100 = 0; while (1) { - if (($$0$i$i147 | 0) == 3) break; - HEAP32[$20 + ($$0$i$i147 << 2) >> 2] = 0; - $$0$i$i147 = $$0$i$i147 + 1 | 0; - } - HEAP32[$21 >> 2] = 0; - HEAP32[$21 + 4 >> 2] = 0; - HEAP32[$21 + 8 >> 2] = 0; - $$0$i$i150 = 0; + if (($__i$0$i$i100 | 0) == 3) break; + HEAP32[$__sym + ($__i$0$i$i100 << 2) >> 2] = 0; + $__i$0$i$i100 = $__i$0$i$i100 + 1 | 0; + } + HEAP32[$__psn >> 2] = 0; + HEAP32[$__psn + 4 >> 2] = 0; + HEAP32[$__psn + 8 >> 2] = 0; + $__i$0$i$i108 = 0; while (1) { - if (($$0$i$i150 | 0) == 3) break; - HEAP32[$21 + ($$0$i$i150 << 2) >> 2] = 0; - $$0$i$i150 = $$0$i$i150 + 1 | 0; - } - HEAP32[$22 >> 2] = 0; - HEAP32[$22 + 4 >> 2] = 0; - HEAP32[$22 + 8 >> 2] = 0; - $$0$i$i153 = 0; + if (($__i$0$i$i108 | 0) == 3) break; + HEAP32[$__psn + ($__i$0$i$i108 << 2) >> 2] = 0; + $__i$0$i$i108 = $__i$0$i$i108 + 1 | 0; + } + HEAP32[$__nsn >> 2] = 0; + HEAP32[$__nsn + 4 >> 2] = 0; + HEAP32[$__nsn + 8 >> 2] = 0; + $__i$0$i$i116 = 0; while (1) { - if (($$0$i$i153 | 0) == 3) break; - HEAP32[$22 + ($$0$i$i153 << 2) >> 2] = 0; - $$0$i$i153 = $$0$i$i153 + 1 | 0; - } - HEAP32[$23 >> 2] = 0; - HEAP32[$23 + 4 >> 2] = 0; - HEAP32[$23 + 8 >> 2] = 0; - $$0$i$i156 = 0; + if (($__i$0$i$i116 | 0) == 3) break; + HEAP32[$__nsn + ($__i$0$i$i116 << 2) >> 2] = 0; + $__i$0$i$i116 = $__i$0$i$i116 + 1 | 0; + } + HEAP32[$__spaces >> 2] = 0; + HEAP32[$__spaces + 4 >> 2] = 0; + HEAP32[$__spaces + 8 >> 2] = 0; + $__i$0$i$i124 = 0; while (1) { - if (($$0$i$i156 | 0) == 3) break; - HEAP32[$23 + ($$0$i$i156 << 2) >> 2] = 0; - $$0$i$i156 = $$0$i$i156 + 1 | 0; - } - __ZNSt3__211__money_getIcE13__gather_infoEbRKNS_6localeERNS_10money_base7patternERcS8_RNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEESF_SF_SF_Ri($2, $3, $16, $17, $18, $19, $20, $21, $22, $24); - HEAP32[$9 >> 2] = HEAP32[$8 >> 2]; - $40 = $7 + 8 | 0; - $41 = $21 + 11 | 0; - $42 = $21 + 4 | 0; - $43 = $22 + 11 | 0; - $44 = $22 + 4 | 0; - $45 = $19 + 11 | 0; - $46 = $19 + 4 | 0; - $48 = ($4 & 512 | 0) != 0; - $49 = $20 + 11 | 0; - $50 = $16 + 3 | 0; - $51 = $20 + 4 | 0; - $52 = $23 + 11 | 0; - $53 = $23 + 4 | 0; - $$0129 = 0; - $$0131 = 0; + if (($__i$0$i$i124 | 0) == 3) break; + HEAP32[$__spaces + ($__i$0$i$i124 << 2) >> 2] = 0; + $__i$0$i$i124 = $__i$0$i$i124 + 1 | 0; + } + __ZNSt3__211__money_getIcE13__gather_infoEbRKNS_6localeERNS_10money_base7patternERcS8_RNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEESF_SF_SF_Ri($__intl, $__loc, $__pat, $__dp, $__ts, $__grp, $__sym, $__psn, $__nsn, $__fd); + HEAP32[$__wn >> 2] = HEAP32[$__wb >> 2]; + $__tab_$i216 = $__ct + 8 | 0; + $__size_$i$i = $__psn + 11 | 0; + $__size_$i3$i = $__psn + 4 | 0; + $__size_$i$i244 = $__nsn + 11 | 0; + $__size_$i3$i246 = $__nsn + 4 | 0; + $__size_$i$i746 = $__grp + 11 | 0; + $__size_$i3$i748 = $__grp + 4 | 0; + $cmp102959 = ($__flags & 512 | 0) != 0; + $__size_$i$i$i431 = $__sym + 11 | 0; + $arrayidx97 = $__pat + 3 | 0; + $__size_$i3$i$i583 = $__sym + 4 | 0; + $__size_$i$i464 = $__spaces + 11 | 0; + $__size_$i3$i466 = $__spaces + 4 | 0; + $__p$0 = 0; + $__trailing_sign$0 = 0; L21 : while (1) { - if ($$0131 >>> 0 >= 4) { + if ($__p$0 >>> 0 >= 4) { label = 243; break; } - $55 = HEAP32[$0 >> 2] | 0; - do if ($55) { - $58 = HEAP32[$55 + 12 >> 2] | 0; - if (($58 | 0) == (HEAP32[$55 + 16 >> 2] | 0)) $$0$i$i$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$55 >> 2] | 0) + 36 >> 2] & 127]($55) | 0; else $$0$i$i$i$i = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$58 >> 0] | 0) | 0; - if (__ZNSt3__211char_traitsIcE11eq_int_typeEii($$0$i$i$i$i, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { - HEAP32[$0 >> 2] = 0; - $787 = 1; + $3 = HEAP32[$__b >> 2] | 0; + do if ($3) { + $4 = HEAP32[$3 + 12 >> 2] | 0; + if (($4 | 0) == (HEAP32[$3 + 16 >> 2] | 0)) $retval$0$i$i$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$3 >> 2] | 0) + 36 >> 2] & 127]($3) | 0; else $retval$0$i$i$i$i = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$4 >> 0] | 0) | 0; + if (__ZNSt3__211char_traitsIcE11eq_int_typeEii($retval$0$i$i$i$i, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { + HEAP32[$__b >> 2] = 0; + $280 = 1; break; } else { - $787 = (HEAP32[$0 >> 2] | 0) == 0; + $280 = (HEAP32[$__b >> 2] | 0) == 0; break; } - } else $787 = 1; while (0); - $70 = HEAP32[$1 >> 2] | 0; - do if ($70) { - $73 = HEAP32[$70 + 12 >> 2] | 0; - if (($73 | 0) == (HEAP32[$70 + 16 >> 2] | 0)) $$0$i$i2$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$70 >> 2] | 0) + 36 >> 2] & 127]($70) | 0; else $$0$i$i2$i$i = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$73 >> 0] | 0) | 0; - if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii($$0$i$i2$i$i, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if ($787) { - $788 = $70; + } else $280 = 1; while (0); + $8 = HEAP32[$__e >> 2] | 0; + do if ($8) { + $9 = HEAP32[$8 + 12 >> 2] | 0; + if (($9 | 0) == (HEAP32[$8 + 16 >> 2] | 0)) $retval$0$i$i13$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$8 >> 2] | 0) + 36 >> 2] & 127]($8) | 0; else $retval$0$i$i13$i$i = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$9 >> 0] | 0) | 0; + if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii($retval$0$i$i13$i$i, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if ($280) { + $281 = $8; break; } else { label = 243; break L21; } else { - HEAP32[$1 >> 2] = 0; + HEAP32[$__e >> 2] = 0; label = 31; break; } } else label = 31; while (0); if ((label | 0) == 31) { label = 0; - if ($787) { + if ($280) { label = 243; break; - } else $788 = 0; + } else $281 = 0; } - L46 : do switch (HEAP8[$16 + $$0131 >> 0] | 0) { + L46 : do switch (HEAP8[$__pat + $__p$0 >> 0] | 0) { case 1: { - if (($$0131 | 0) == 3) $$1130 = $$0129; else { - $88 = HEAP32[$0 >> 2] | 0; - $90 = HEAP32[$88 + 12 >> 2] | 0; - if (($90 | 0) == (HEAP32[$88 + 16 >> 2] | 0)) $$0$i$i159 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$88 >> 2] | 0) + 36 >> 2] & 127]($88) | 0; else $$0$i$i159 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$90 >> 0] | 0) | 0; - if (($$0$i$i159 & 255) << 24 >> 24 <= -1) { + if (($__p$0 | 0) == 3) $__trailing_sign$1 = $__trailing_sign$0; else { + $14 = HEAP32[$__b >> 2] | 0; + $15 = HEAP32[$14 + 12 >> 2] | 0; + if (($15 | 0) == (HEAP32[$14 + 16 >> 2] | 0)) $retval$0$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$14 >> 2] | 0) + 36 >> 2] & 127]($14) | 0; else $retval$0$i$i = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$15 >> 0] | 0) | 0; + if (($retval$0$i$i & 255) << 24 >> 24 <= -1) { label = 45; break L21; } - if (!(HEAP16[(HEAP32[$40 >> 2] | 0) + ($$0$i$i159 << 24 >> 24 << 1) >> 1] & 8192)) { + if (!(HEAP16[(HEAP32[$__tab_$i216 >> 2] | 0) + ($retval$0$i$i << 24 >> 24 << 1) >> 1] & 8192)) { label = 45; break L21; } - $108 = HEAP32[$0 >> 2] | 0; - $109 = $108 + 12 | 0; - $110 = HEAP32[$109 >> 2] | 0; - if (($110 | 0) == (HEAP32[$108 + 16 >> 2] | 0)) $$0$i$i160 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$108 >> 2] | 0) + 40 >> 2] & 127]($108) | 0; else { - HEAP32[$109 >> 2] = $110 + 1; - $$0$i$i160 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$110 >> 0] | 0) | 0; + $21 = HEAP32[$__b >> 2] | 0; + $__ninp_$i$i147 = $21 + 12 | 0; + $22 = HEAP32[$__ninp_$i$i147 >> 2] | 0; + if (($22 | 0) == (HEAP32[$21 + 16 >> 2] | 0)) $retval$0$i$i157 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$21 >> 2] | 0) + 40 >> 2] & 127]($21) | 0; else { + HEAP32[$__ninp_$i$i147 >> 2] = $22 + 1; + $retval$0$i$i157 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$22 >> 0] | 0) | 0; } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc($23, $$0$i$i160 & 255); + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc($__spaces, $retval$0$i$i157 & 255); label = 47; } break; } case 0: { - if (($$0131 | 0) == 3) $$1130 = $$0129; else label = 47; + if (($__p$0 | 0) == 3) $__trailing_sign$1 = $__trailing_sign$0; else label = 47; break; } case 3: { - $189 = HEAP8[$41 >> 0] | 0; - $193 = $189 << 24 >> 24 < 0 ? HEAP32[$42 >> 2] | 0 : $189 & 255; - $194 = HEAP8[$43 >> 0] | 0; - $198 = $194 << 24 >> 24 < 0 ? HEAP32[$44 >> 2] | 0 : $194 & 255; - if (($193 | 0) == (0 - $198 | 0)) $$1130 = $$0129; else { - $201 = ($193 | 0) == 0; - $203 = HEAP32[$0 >> 2] | 0; - $205 = HEAP32[$203 + 12 >> 2] | 0; - $208 = ($205 | 0) == (HEAP32[$203 + 16 >> 2] | 0); - if ($201 | ($198 | 0) == 0) { - if ($208) $$0$i$i182 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$203 >> 2] | 0) + 36 >> 2] & 127]($203) | 0; else $$0$i$i182 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$205 >> 0] | 0) | 0; - $215 = $$0$i$i182 & 255; - if ($201) { - if ((HEAP8[((HEAP8[$43 >> 0] | 0) < 0 ? HEAP32[$22 >> 2] | 0 : $22) >> 0] | 0) != $215 << 24 >> 24) { - $$1130 = $$0129; + $49 = HEAP8[$__size_$i$i >> 0] | 0; + $cond$i242 = $49 << 24 >> 24 < 0 ? HEAP32[$__size_$i3$i >> 2] | 0 : $49 & 255; + $51 = HEAP8[$__size_$i$i244 >> 0] | 0; + $cond$i250 = $51 << 24 >> 24 < 0 ? HEAP32[$__size_$i3$i246 >> 2] | 0 : $51 & 255; + if (($cond$i242 | 0) == (0 - $cond$i250 | 0)) $__trailing_sign$1 = $__trailing_sign$0; else { + $cmp26 = ($cond$i242 | 0) == 0; + $53 = HEAP32[$__b >> 2] | 0; + $54 = HEAP32[$53 + 12 >> 2] | 0; + $cmp$i$i282 = ($54 | 0) == (HEAP32[$53 + 16 >> 2] | 0); + if ($cmp26 | ($cond$i250 | 0) == 0) { + if ($cmp$i$i282) $retval$0$i$i289 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$53 >> 2] | 0) + 36 >> 2] & 127]($53) | 0; else $retval$0$i$i289 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$54 >> 0] | 0) | 0; + $conv$i290 = $retval$0$i$i289 & 255; + if ($cmp26) { + if ((HEAP8[((HEAP8[$__size_$i$i244 >> 0] | 0) < 0 ? HEAP32[$__nsn >> 2] | 0 : $__nsn) >> 0] | 0) != $conv$i290 << 24 >> 24) { + $__trailing_sign$1 = $__trailing_sign$0; break L46; } - $245 = HEAP32[$0 >> 2] | 0; - $246 = $245 + 12 | 0; - $247 = HEAP32[$246 >> 2] | 0; - if (($247 | 0) == (HEAP32[$245 + 16 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$245 >> 2] | 0) + 40 >> 2] & 127]($245) | 0; else { - HEAP32[$246 >> 2] = $247 + 1; - __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$247 >> 0] | 0) | 0; + $71 = HEAP32[$__b >> 2] | 0; + $__ninp_$i$i324 = $71 + 12 | 0; + $72 = HEAP32[$__ninp_$i$i324 >> 2] | 0; + if (($72 | 0) == (HEAP32[$71 + 16 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$71 >> 2] | 0) + 40 >> 2] & 127]($71) | 0; else { + HEAP32[$__ninp_$i$i324 >> 2] = $72 + 1; + __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$72 >> 0] | 0) | 0; } - HEAP8[$6 >> 0] = 1; - $256 = HEAP8[$43 >> 0] | 0; - $$1130 = ($256 << 24 >> 24 < 0 ? HEAP32[$44 >> 2] | 0 : $256 & 255) >>> 0 > 1 ? $22 : $$0129; + HEAP8[$__neg >> 0] = 1; + $76 = HEAP8[$__size_$i$i244 >> 0] | 0; + $__trailing_sign$1 = ($76 << 24 >> 24 < 0 ? HEAP32[$__size_$i3$i246 >> 2] | 0 : $76 & 255) >>> 0 > 1 ? $__nsn : $__trailing_sign$0; break L46; } - if ((HEAP8[((HEAP8[$41 >> 0] | 0) < 0 ? HEAP32[$21 >> 2] | 0 : $21) >> 0] | 0) != $215 << 24 >> 24) { - HEAP8[$6 >> 0] = 1; - $$1130 = $$0129; + if ((HEAP8[((HEAP8[$__size_$i$i >> 0] | 0) < 0 ? HEAP32[$__psn >> 2] | 0 : $__psn) >> 0] | 0) != $conv$i290 << 24 >> 24) { + HEAP8[$__neg >> 0] = 1; + $__trailing_sign$1 = $__trailing_sign$0; break L46; } - $222 = HEAP32[$0 >> 2] | 0; - $223 = $222 + 12 | 0; - $224 = HEAP32[$223 >> 2] | 0; - if (($224 | 0) == (HEAP32[$222 + 16 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$222 >> 2] | 0) + 40 >> 2] & 127]($222) | 0; else { - HEAP32[$223 >> 2] = $224 + 1; - __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$224 >> 0] | 0) | 0; + $61 = HEAP32[$__b >> 2] | 0; + $__ninp_$i$i294 = $61 + 12 | 0; + $62 = HEAP32[$__ninp_$i$i294 >> 2] | 0; + if (($62 | 0) == (HEAP32[$61 + 16 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$61 >> 2] | 0) + 40 >> 2] & 127]($61) | 0; else { + HEAP32[$__ninp_$i$i294 >> 2] = $62 + 1; + __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$62 >> 0] | 0) | 0; } - $233 = HEAP8[$41 >> 0] | 0; - $$1130 = ($233 << 24 >> 24 < 0 ? HEAP32[$42 >> 2] | 0 : $233 & 255) >>> 0 > 1 ? $21 : $$0129; + $66 = HEAP8[$__size_$i$i >> 0] | 0; + $__trailing_sign$1 = ($66 << 24 >> 24 < 0 ? HEAP32[$__size_$i3$i >> 2] | 0 : $66 & 255) >>> 0 > 1 ? $__psn : $__trailing_sign$0; break L46; } - if ($208) $$0$i$i189 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$203 >> 2] | 0) + 36 >> 2] & 127]($203) | 0; else $$0$i$i189 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$205 >> 0] | 0) | 0; - $275 = HEAP32[$0 >> 2] | 0; - $276 = $275 + 12 | 0; - $277 = HEAP32[$276 >> 2] | 0; - $280 = ($277 | 0) == (HEAP32[$275 + 16 >> 2] | 0); - if ((HEAP8[((HEAP8[$41 >> 0] | 0) < 0 ? HEAP32[$21 >> 2] | 0 : $21) >> 0] | 0) == ($$0$i$i189 & 255) << 24 >> 24) { - if ($280) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$275 >> 2] | 0) + 40 >> 2] & 127]($275) | 0; else { - HEAP32[$276 >> 2] = $277 + 1; - __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$277 >> 0] | 0) | 0; - } - $286 = HEAP8[$41 >> 0] | 0; - $$1130 = ($286 << 24 >> 24 < 0 ? HEAP32[$42 >> 2] | 0 : $286 & 255) >>> 0 > 1 ? $21 : $$0129; + if ($cmp$i$i282) $retval$0$i$i354 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$53 >> 2] | 0) + 36 >> 2] & 127]($53) | 0; else $retval$0$i$i354 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$54 >> 0] | 0) | 0; + $83 = HEAP32[$__b >> 2] | 0; + $__ninp_$i$i367 = $83 + 12 | 0; + $84 = HEAP32[$__ninp_$i$i367 >> 2] | 0; + $cmp$i$i369 = ($84 | 0) == (HEAP32[$83 + 16 >> 2] | 0); + if ((HEAP8[((HEAP8[$__size_$i$i >> 0] | 0) < 0 ? HEAP32[$__psn >> 2] | 0 : $__psn) >> 0] | 0) == ($retval$0$i$i354 & 255) << 24 >> 24) { + if ($cmp$i$i369) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$83 >> 2] | 0) + 40 >> 2] & 127]($83) | 0; else { + HEAP32[$__ninp_$i$i367 >> 2] = $84 + 1; + __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$84 >> 0] | 0) | 0; + } + $88 = HEAP8[$__size_$i$i >> 0] | 0; + $__trailing_sign$1 = ($88 << 24 >> 24 < 0 ? HEAP32[$__size_$i3$i >> 2] | 0 : $88 & 255) >>> 0 > 1 ? $__psn : $__trailing_sign$0; break L46; } - if ($280) $$0$i$i194 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$275 >> 2] | 0) + 36 >> 2] & 127]($275) | 0; else $$0$i$i194 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$277 >> 0] | 0) | 0; - if ((HEAP8[((HEAP8[$43 >> 0] | 0) < 0 ? HEAP32[$22 >> 2] | 0 : $22) >> 0] | 0) != ($$0$i$i194 & 255) << 24 >> 24) { + if ($cmp$i$i369) $retval$0$i$i397 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$83 >> 2] | 0) + 36 >> 2] & 127]($83) | 0; else $retval$0$i$i397 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$84 >> 0] | 0) | 0; + if ((HEAP8[((HEAP8[$__size_$i$i244 >> 0] | 0) < 0 ? HEAP32[$__nsn >> 2] | 0 : $__nsn) >> 0] | 0) != ($retval$0$i$i397 & 255) << 24 >> 24) { label = 105; break L21; } - $305 = HEAP32[$0 >> 2] | 0; - $306 = $305 + 12 | 0; - $307 = HEAP32[$306 >> 2] | 0; - if (($307 | 0) == (HEAP32[$305 + 16 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$305 >> 2] | 0) + 40 >> 2] & 127]($305) | 0; else { - HEAP32[$306 >> 2] = $307 + 1; - __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$307 >> 0] | 0) | 0; + $95 = HEAP32[$__b >> 2] | 0; + $__ninp_$i$i410 = $95 + 12 | 0; + $96 = HEAP32[$__ninp_$i$i410 >> 2] | 0; + if (($96 | 0) == (HEAP32[$95 + 16 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$95 >> 2] | 0) + 40 >> 2] & 127]($95) | 0; else { + HEAP32[$__ninp_$i$i410 >> 2] = $96 + 1; + __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$96 >> 0] | 0) | 0; } - HEAP8[$6 >> 0] = 1; - $316 = HEAP8[$43 >> 0] | 0; - $$1130 = ($316 << 24 >> 24 < 0 ? HEAP32[$44 >> 2] | 0 : $316 & 255) >>> 0 > 1 ? $22 : $$0129; + HEAP8[$__neg >> 0] = 1; + $100 = HEAP8[$__size_$i$i244 >> 0] | 0; + $__trailing_sign$1 = ($100 << 24 >> 24 < 0 ? HEAP32[$__size_$i3$i246 >> 2] | 0 : $100 & 255) >>> 0 > 1 ? $__nsn : $__trailing_sign$0; } break; } case 2: { - if ($$0131 >>> 0 < 2 | ($$0129 | 0) != 0) { - $335 = HEAP8[$49 >> 0] | 0; - $336 = $335 << 24 >> 24 < 0; - $337 = HEAP32[$20 >> 2] | 0; - $338 = $336 ? $337 : $20; - $339 = $338; - if (!$$0131) { - $$sroa$0313$1 = $339; - $793 = $337; - $794 = $335; + if ($__p$0 >>> 0 < 2 | ($__trailing_sign$0 | 0) != 0) { + $108 = HEAP8[$__size_$i$i$i431 >> 0] | 0; + $tobool$i$i$i432 = $108 << 24 >> 24 < 0; + $109 = HEAP32[$__sym >> 2] | 0; + $cond$i$i437 = $tobool$i$i$i432 ? $109 : $__sym; + $110 = $cond$i$i437; + if (!$__p$0) { + $286 = $109; + $287 = $108; + $__sym_space_end$sroa$0$1 = $110; } else { - $346 = $335; - $348 = $336; - $350 = $338; - $364 = $339; - $792 = $337; + $113 = $108; + $119 = $110; + $285 = $109; + $cond$i$i437995 = $cond$i$i437; + $tobool$i$i$i432994 = $tobool$i$i$i432; label = 110; } } else { - if (!($48 | ($$0131 | 0) == 2 & (HEAP8[$50 >> 0] | 0) != 0)) { - $$1130 = 0; + if (!($cmp102959 | ($__p$0 | 0) == 2 & (HEAP8[$arrayidx97 >> 0] | 0) != 0)) { + $__trailing_sign$1 = 0; break L46; } - $330 = HEAP8[$49 >> 0] | 0; - $331 = $330 << 24 >> 24 < 0; - $332 = HEAP32[$20 >> 2] | 0; - $333 = $331 ? $332 : $20; - $346 = $330; - $348 = $331; - $350 = $333; - $364 = $333; - $792 = $332; + $105 = HEAP8[$__size_$i$i$i431 >> 0] | 0; + $tobool$i$i$i432991 = $105 << 24 >> 24 < 0; + $106 = HEAP32[$__sym >> 2] | 0; + $cond$i$i437992 = $tobool$i$i$i432991 ? $106 : $__sym; + $113 = $105; + $119 = $cond$i$i437992; + $285 = $106; + $cond$i$i437995 = $cond$i$i437992; + $tobool$i$i$i432994 = $tobool$i$i$i432991; label = 110; } L109 : do if ((label | 0) == 110) { label = 0; - if ((HEAPU8[$16 + ($$0131 + -1) >> 0] | 0) < 2) { - $349 = $350 + ($348 ? HEAP32[$51 >> 2] | 0 : $346 & 255) | 0; - $$sroa$0313$0 = $364; + if ((HEAPU8[$__pat + ($__p$0 + -1) >> 0] | 0) < 2) { + $add$ptr$i = $cond$i$i437995 + ($tobool$i$i$i432994 ? HEAP32[$__size_$i3$i$i583 >> 2] | 0 : $113 & 255) | 0; + $__sym_space_end$sroa$0$0 = $119; while (1) { - $351 = $$sroa$0313$0; - if (($349 | 0) == ($351 | 0)) break; - $353 = HEAP8[$351 >> 0] | 0; - if ($353 << 24 >> 24 <= -1) break; - if (!(HEAP16[(HEAP32[$40 >> 2] | 0) + ($353 << 24 >> 24 << 1) >> 1] & 8192)) break; - $$sroa$0313$0 = $351 + 1 | 0; - } - $363 = $$sroa$0313$0 - $364 | 0; - $365 = HEAP8[$52 >> 0] | 0; - $366 = $365 << 24 >> 24 < 0; - $367 = HEAP32[$53 >> 2] | 0; - $368 = $365 & 255; - if ($363 >>> 0 <= ($366 ? $367 : $368) >>> 0) { - $372 = (HEAP32[$23 >> 2] | 0) + $367 | 0; - $375 = $23 + $368 | 0; - $$pre$phiZ2D = $366 ? $372 : $375; - $$sroa$08$0$ptr$i = $350; - $380 = $366 ? $372 + (0 - $363) | 0 : $375 + (0 - $363) | 0; + $114 = $__sym_space_end$sroa$0$0; + if (($add$ptr$i | 0) == ($114 | 0)) break; + $115 = HEAP8[$114 >> 0] | 0; + if ($115 << 24 >> 24 <= -1) break; + if (!(HEAP16[(HEAP32[$__tab_$i216 >> 2] | 0) + ($115 << 24 >> 24 << 1) >> 1] & 8192)) break; + $__sym_space_end$sroa$0$0 = $114 + 1 | 0; + } + $sub$ptr$sub$i = $__sym_space_end$sroa$0$0 - $119 | 0; + $120 = HEAP8[$__size_$i$i464 >> 0] | 0; + $tobool$i$i465 = $120 << 24 >> 24 < 0; + $121 = HEAP32[$__size_$i3$i466 >> 2] | 0; + $conv$i$i468 = $120 & 255; + if ($sub$ptr$sub$i >>> 0 <= ($tobool$i$i465 ? $121 : $conv$i$i468) >>> 0) { + $add$ptr$i497962 = (HEAP32[$__spaces >> 2] | 0) + $121 | 0; + $add$ptr$i497 = $__spaces + $conv$i$i468 | 0; + $add$ptr$i552$pre$phiZZZ2D = $tobool$i$i465 ? $add$ptr$i497962 : $add$ptr$i497; + $123 = $tobool$i$i465 ? $add$ptr$i497962 + (0 - $sub$ptr$sub$i) | 0 : $add$ptr$i497 + (0 - $sub$ptr$sub$i) | 0; + $agg$tmp26$sroa$0$0$ptr$i = $cond$i$i437995; while (1) { - if (($380 | 0) == ($$pre$phiZ2D | 0)) { - $$sroa$0313$1 = $$sroa$0313$0; - $793 = $792; - $794 = $346; + if (($123 | 0) == ($add$ptr$i552$pre$phiZZZ2D | 0)) { + $286 = $285; + $287 = $113; + $__sym_space_end$sroa$0$1 = $__sym_space_end$sroa$0$0; break L109; } - if ((HEAP8[$380 >> 0] | 0) != (HEAP8[$$sroa$08$0$ptr$i >> 0] | 0)) { - $$sroa$0313$1 = $364; - $793 = $792; - $794 = $346; + if ((HEAP8[$123 >> 0] | 0) != (HEAP8[$agg$tmp26$sroa$0$0$ptr$i >> 0] | 0)) { + $286 = $285; + $287 = $113; + $__sym_space_end$sroa$0$1 = $119; break L109; } - $$sroa$08$0$ptr$i = $$sroa$08$0$ptr$i + 1 | 0; - $380 = $380 + 1 | 0; + $123 = $123 + 1 | 0; + $agg$tmp26$sroa$0$0$ptr$i = $agg$tmp26$sroa$0$0$ptr$i + 1 | 0; } } else { - $$sroa$0313$1 = $364; - $793 = $792; - $794 = $346; + $286 = $285; + $287 = $113; + $__sym_space_end$sroa$0$1 = $119; } } else { - $$sroa$0313$1 = $364; - $793 = $792; - $794 = $346; + $286 = $285; + $287 = $113; + $__sym_space_end$sroa$0$1 = $119; } } while (0); - $$sroa$0293$0$ptr = $$sroa$0313$1; - $387 = $794; - $391 = $793; - $411 = $788; + $126 = $287; + $128 = $286; + $134 = $281; + $__sym_curr_char$sroa$0$0$ptr = $__sym_space_end$sroa$0$1; L124 : while (1) { - $386 = $387 << 24 >> 24 < 0; - if (($$sroa$0293$0$ptr | 0) == (($386 ? $391 : $20) + ($386 ? HEAP32[$51 >> 2] | 0 : $387 & 255) | 0)) break; - $395 = HEAP32[$0 >> 2] | 0; - do if ($395) { - $398 = HEAP32[$395 + 12 >> 2] | 0; - if (($398 | 0) == (HEAP32[$395 + 16 >> 2] | 0)) $$0$i$i$i$i221 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$395 >> 2] | 0) + 36 >> 2] & 127]($395) | 0; else $$0$i$i$i$i221 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$398 >> 0] | 0) | 0; - if (__ZNSt3__211char_traitsIcE11eq_int_typeEii($$0$i$i$i$i221, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { - HEAP32[$0 >> 2] = 0; - $795 = 1; + $tobool$i$i$i581 = $126 << 24 >> 24 < 0; + if (($__sym_curr_char$sroa$0$0$ptr | 0) == (($tobool$i$i$i581 ? $128 : $__sym) + ($tobool$i$i$i581 ? HEAP32[$__size_$i3$i$i583 >> 2] | 0 : $126 & 255) | 0)) break; + $129 = HEAP32[$__b >> 2] | 0; + do if ($129) { + $130 = HEAP32[$129 + 12 >> 2] | 0; + if (($130 | 0) == (HEAP32[$129 + 16 >> 2] | 0)) $retval$0$i$i$i$i607 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$129 >> 2] | 0) + 36 >> 2] & 127]($129) | 0; else $retval$0$i$i$i$i607 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$130 >> 0] | 0) | 0; + if (__ZNSt3__211char_traitsIcE11eq_int_typeEii($retval$0$i$i$i$i607, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { + HEAP32[$__b >> 2] = 0; + $288 = 1; break; } else { - $795 = (HEAP32[$0 >> 2] | 0) == 0; + $288 = (HEAP32[$__b >> 2] | 0) == 0; break; } - } else $795 = 1; while (0); - do if ($411) { - $413 = HEAP32[$411 + 12 >> 2] | 0; - if (($413 | 0) == (HEAP32[$411 + 16 >> 2] | 0)) $$0$i$i2$i$i227 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$411 >> 2] | 0) + 36 >> 2] & 127]($411) | 0; else $$0$i$i2$i$i227 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$413 >> 0] | 0) | 0; - if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii($$0$i$i2$i$i227, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if ($795) { - $796 = $411; + } else $288 = 1; while (0); + do if ($134) { + $135 = HEAP32[$134 + 12 >> 2] | 0; + if (($135 | 0) == (HEAP32[$134 + 16 >> 2] | 0)) $retval$0$i$i13$i$i628 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$134 >> 2] | 0) + 36 >> 2] & 127]($134) | 0; else $retval$0$i$i13$i$i628 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$135 >> 0] | 0) | 0; + if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii($retval$0$i$i13$i$i628, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if ($288) { + $289 = $134; break; } else break L124; else { - HEAP32[$1 >> 2] = 0; + HEAP32[$__e >> 2] = 0; label = 136; break; } } else label = 136; while (0); if ((label | 0) == 136) { label = 0; - if ($795) break; else $796 = 0; - } - $425 = HEAP32[$0 >> 2] | 0; - $427 = HEAP32[$425 + 12 >> 2] | 0; - if (($427 | 0) == (HEAP32[$425 + 16 >> 2] | 0)) $$0$i$i233 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$425 >> 2] | 0) + 36 >> 2] & 127]($425) | 0; else $$0$i$i233 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$427 >> 0] | 0) | 0; - if ((HEAP8[$$sroa$0293$0$ptr >> 0] | 0) != ($$0$i$i233 & 255) << 24 >> 24) break; - $440 = HEAP32[$0 >> 2] | 0; - $441 = $440 + 12 | 0; - $442 = HEAP32[$441 >> 2] | 0; - if (($442 | 0) == (HEAP32[$440 + 16 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$440 >> 2] | 0) + 40 >> 2] & 127]($440) | 0; else { - HEAP32[$441 >> 2] = $442 + 1; - __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$442 >> 0] | 0) | 0; - } - $$sroa$0293$0$ptr = $$sroa$0293$0$ptr + 1 | 0; - $387 = HEAP8[$49 >> 0] | 0; - $391 = HEAP32[$20 >> 2] | 0; - $411 = $796; - } - if ($48 ? ($452 = HEAP8[$49 >> 0] | 0, $453 = $452 << 24 >> 24 < 0, ($$sroa$0293$0$ptr | 0) != (($453 ? HEAP32[$20 >> 2] | 0 : $20) + ($453 ? HEAP32[$51 >> 2] | 0 : $452 & 255) | 0)) : 0) { + if ($288) break; else $289 = 0; + } + $139 = HEAP32[$__b >> 2] | 0; + $140 = HEAP32[$139 + 12 >> 2] | 0; + if (($140 | 0) == (HEAP32[$139 + 16 >> 2] | 0)) $retval$0$i$i647 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$139 >> 2] | 0) + 36 >> 2] & 127]($139) | 0; else $retval$0$i$i647 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$140 >> 0] | 0) | 0; + if ((HEAP8[$__sym_curr_char$sroa$0$0$ptr >> 0] | 0) != ($retval$0$i$i647 & 255) << 24 >> 24) break; + $145 = HEAP32[$__b >> 2] | 0; + $__ninp_$i$i652 = $145 + 12 | 0; + $146 = HEAP32[$__ninp_$i$i652 >> 2] | 0; + if (($146 | 0) == (HEAP32[$145 + 16 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$145 >> 2] | 0) + 40 >> 2] & 127]($145) | 0; else { + HEAP32[$__ninp_$i$i652 >> 2] = $146 + 1; + __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$146 >> 0] | 0) | 0; + } + $126 = HEAP8[$__size_$i$i$i431 >> 0] | 0; + $128 = HEAP32[$__sym >> 2] | 0; + $134 = $289; + $__sym_curr_char$sroa$0$0$ptr = $__sym_curr_char$sroa$0$0$ptr + 1 | 0; + } + if ($cmp102959 ? ($150 = HEAP8[$__size_$i$i$i431 >> 0] | 0, $tobool$i$i$i667 = $150 << 24 >> 24 < 0, ($__sym_curr_char$sroa$0$0$ptr | 0) != (($tobool$i$i$i667 ? HEAP32[$__sym >> 2] | 0 : $__sym) + ($tobool$i$i$i667 ? HEAP32[$__size_$i3$i$i583 >> 2] | 0 : $150 & 255) | 0)) : 0) { label = 148; break L21; - } else $$1130 = $$0129; + } else $__trailing_sign$1 = $__trailing_sign$0; break; } case 4: { - $$0124 = 0; - $479 = $788; - $789 = $788; + $159 = $281; + $282 = $281; + $__ng$0 = 0; L161 : while (1) { - $463 = HEAP32[$0 >> 2] | 0; - do if ($463) { - $466 = HEAP32[$463 + 12 >> 2] | 0; - if (($466 | 0) == (HEAP32[$463 + 16 >> 2] | 0)) $$0$i$i$i$i237 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$463 >> 2] | 0) + 36 >> 2] & 127]($463) | 0; else $$0$i$i$i$i237 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$466 >> 0] | 0) | 0; - if (__ZNSt3__211char_traitsIcE11eq_int_typeEii($$0$i$i$i$i237, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { - HEAP32[$0 >> 2] = 0; - $797 = 1; + $154 = HEAP32[$__b >> 2] | 0; + do if ($154) { + $155 = HEAP32[$154 + 12 >> 2] | 0; + if (($155 | 0) == (HEAP32[$154 + 16 >> 2] | 0)) $retval$0$i$i$i$i693 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$154 >> 2] | 0) + 36 >> 2] & 127]($154) | 0; else $retval$0$i$i$i$i693 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$155 >> 0] | 0) | 0; + if (__ZNSt3__211char_traitsIcE11eq_int_typeEii($retval$0$i$i$i$i693, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { + HEAP32[$__b >> 2] = 0; + $290 = 1; break; } else { - $797 = (HEAP32[$0 >> 2] | 0) == 0; + $290 = (HEAP32[$__b >> 2] | 0) == 0; break; } - } else $797 = 1; while (0); - do if ($479) { - $481 = HEAP32[$479 + 12 >> 2] | 0; - if (($481 | 0) == (HEAP32[$479 + 16 >> 2] | 0)) $$0$i$i2$i$i243 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$479 >> 2] | 0) + 36 >> 2] & 127]($479) | 0; else $$0$i$i2$i$i243 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$481 >> 0] | 0) | 0; - if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii($$0$i$i2$i$i243, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if ($797) { - $799 = $789; - $800 = $479; + } else $290 = 1; while (0); + do if ($159) { + $160 = HEAP32[$159 + 12 >> 2] | 0; + if (($160 | 0) == (HEAP32[$159 + 16 >> 2] | 0)) $retval$0$i$i13$i$i714 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$159 >> 2] | 0) + 36 >> 2] & 127]($159) | 0; else $retval$0$i$i13$i$i714 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$160 >> 0] | 0) | 0; + if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii($retval$0$i$i13$i$i714, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if ($290) { + $292 = $282; + $293 = $159; break; } else { - $570 = $789; + $195 = $282; break L161; } else { - HEAP32[$1 >> 2] = 0; - $798 = 0; + HEAP32[$__e >> 2] = 0; + $291 = 0; label = 162; break; } } else { - $798 = $789; + $291 = $282; label = 162; } while (0); if ((label | 0) == 162) { label = 0; - if ($797) { - $570 = $798; + if ($290) { + $195 = $291; break; } else { - $799 = $798; - $800 = 0; - } - } - $493 = HEAP32[$0 >> 2] | 0; - $495 = HEAP32[$493 + 12 >> 2] | 0; - if (($495 | 0) == (HEAP32[$493 + 16 >> 2] | 0)) $$0$i$i249 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$493 >> 2] | 0) + 36 >> 2] & 127]($493) | 0; else $$0$i$i249 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$495 >> 0] | 0) | 0; - $505 = $$0$i$i249 & 255; - if ($505 << 24 >> 24 > -1 ? (HEAP16[(HEAP32[$40 >> 2] | 0) + ($$0$i$i249 << 24 >> 24 << 1) >> 1] & 2048) != 0 : 0) { - $513 = HEAP32[$9 >> 2] | 0; - if (($513 | 0) == (HEAP32[$11 >> 2] | 0)) { - __ZNSt3__219__double_or_nothingIcEEvRNS_10unique_ptrIT_PFvPvEEERPS2_S9_($8, $9, $11); - $517 = HEAP32[$9 >> 2] | 0; - } else $517 = $513; - HEAP32[$9 >> 2] = $517 + 1; - HEAP8[$517 >> 0] = $505; - $$2126$ph = $$0124 + 1 | 0; + $292 = $291; + $293 = 0; + } + } + $164 = HEAP32[$__b >> 2] | 0; + $165 = HEAP32[$164 + 12 >> 2] | 0; + if (($165 | 0) == (HEAP32[$164 + 16 >> 2] | 0)) $retval$0$i$i733 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$164 >> 2] | 0) + 36 >> 2] & 127]($164) | 0; else $retval$0$i$i733 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$165 >> 0] | 0) | 0; + $conv$i734 = $retval$0$i$i733 & 255; + if ($conv$i734 << 24 >> 24 > -1 ? (HEAP16[(HEAP32[$__tab_$i216 >> 2] | 0) + ($retval$0$i$i733 << 24 >> 24 << 1) >> 1] & 2048) != 0 : 0) { + $171 = HEAP32[$__wn >> 2] | 0; + if (($171 | 0) == (HEAP32[$__we$addr >> 2] | 0)) { + __ZNSt3__219__double_or_nothingIcEEvRNS_10unique_ptrIT_PFvPvEEERPS2_S9_($__wb, $__wn, $__we$addr); + $173 = HEAP32[$__wn >> 2] | 0; + } else $173 = $171; + HEAP32[$__wn >> 2] = $173 + 1; + HEAP8[$173 >> 0] = $conv$i734; + $__ng$2$ph = $__ng$0 + 1 | 0; } else { - $519 = HEAP8[$45 >> 0] | 0; - if (!((HEAP8[$18 >> 0] | 0) == $505 << 24 >> 24 & ($$0124 | 0 ? (($519 << 24 >> 24 < 0 ? HEAP32[$46 >> 2] | 0 : $519 & 255) | 0) != 0 : 0))) { - $570 = $799; + $174 = HEAP8[$__size_$i$i746 >> 0] | 0; + if (!((HEAP8[$__ts >> 0] | 0) == $conv$i734 << 24 >> 24 & ($__ng$0 | 0 ? (($174 << 24 >> 24 < 0 ? HEAP32[$__size_$i3$i748 >> 2] | 0 : $174 & 255) | 0) != 0 : 0))) { + $195 = $292; break; } - $528 = HEAP32[$14 >> 2] | 0; - if (($528 | 0) == (HEAP32[$15 >> 2] | 0)) { - __ZNSt3__219__double_or_nothingIjEEvRNS_10unique_ptrIT_PFvPvEEERPS2_S9_($13, $14, $15); - $532 = HEAP32[$14 >> 2] | 0; - } else $532 = $528; - HEAP32[$14 >> 2] = $532 + 4; - HEAP32[$532 >> 2] = $$0124; - $$2126$ph = 0; - } - $533 = HEAP32[$0 >> 2] | 0; - $534 = $533 + 12 | 0; - $535 = HEAP32[$534 >> 2] | 0; - if (($535 | 0) == (HEAP32[$533 + 16 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$533 >> 2] | 0) + 40 >> 2] & 127]($533) | 0; else { - HEAP32[$534 >> 2] = $535 + 1; - __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$535 >> 0] | 0) | 0; - } - $$0124 = $$2126$ph; - $479 = $800; - $789 = $799; - } - $545 = HEAP32[$14 >> 2] | 0; - if ($$0124 | 0 ? (HEAP32[$13 >> 2] | 0) != ($545 | 0) : 0) { - if (($545 | 0) == (HEAP32[$15 >> 2] | 0)) { - __ZNSt3__219__double_or_nothingIjEEvRNS_10unique_ptrIT_PFvPvEEERPS2_S9_($13, $14, $15); - $551 = HEAP32[$14 >> 2] | 0; - } else $551 = $545; - HEAP32[$14 >> 2] = $551 + 4; - HEAP32[$551 >> 2] = $$0124; - } - L213 : do if ((HEAP32[$24 >> 2] | 0) > 0) { - $554 = HEAP32[$0 >> 2] | 0; - do if ($554) { - $557 = HEAP32[$554 + 12 >> 2] | 0; - if (($557 | 0) == (HEAP32[$554 + 16 >> 2] | 0)) $$0$i$i$i$i254 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$554 >> 2] | 0) + 36 >> 2] & 127]($554) | 0; else $$0$i$i$i$i254 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$557 >> 0] | 0) | 0; - if (__ZNSt3__211char_traitsIcE11eq_int_typeEii($$0$i$i$i$i254, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { - HEAP32[$0 >> 2] = 0; - $801 = 1; + $177 = HEAP32[$__gn >> 2] | 0; + if (($177 | 0) == (HEAP32[$__ge >> 2] | 0)) { + __ZNSt3__219__double_or_nothingIjEEvRNS_10unique_ptrIT_PFvPvEEERPS2_S9_($__gb, $__gn, $__ge); + $179 = HEAP32[$__gn >> 2] | 0; + } else $179 = $177; + HEAP32[$__gn >> 2] = $179 + 4; + HEAP32[$179 >> 2] = $__ng$0; + $__ng$2$ph = 0; + } + $180 = HEAP32[$__b >> 2] | 0; + $__ninp_$i$i755 = $180 + 12 | 0; + $181 = HEAP32[$__ninp_$i$i755 >> 2] | 0; + if (($181 | 0) == (HEAP32[$180 + 16 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$180 >> 2] | 0) + 40 >> 2] & 127]($180) | 0; else { + HEAP32[$__ninp_$i$i755 >> 2] = $181 + 1; + __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$181 >> 0] | 0) | 0; + } + $159 = $293; + $282 = $292; + $__ng$0 = $__ng$2$ph; + } + $186 = HEAP32[$__gn >> 2] | 0; + if ($__ng$0 | 0 ? (HEAP32[$__gb >> 2] | 0) != ($186 | 0) : 0) { + if (($186 | 0) == (HEAP32[$__ge >> 2] | 0)) { + __ZNSt3__219__double_or_nothingIjEEvRNS_10unique_ptrIT_PFvPvEEERPS2_S9_($__gb, $__gn, $__ge); + $188 = HEAP32[$__gn >> 2] | 0; + } else $188 = $186; + HEAP32[$__gn >> 2] = $188 + 4; + HEAP32[$188 >> 2] = $__ng$0; + } + L213 : do if ((HEAP32[$__fd >> 2] | 0) > 0) { + $190 = HEAP32[$__b >> 2] | 0; + do if ($190) { + $191 = HEAP32[$190 + 12 >> 2] | 0; + if (($191 | 0) == (HEAP32[$190 + 16 >> 2] | 0)) $retval$0$i$i$i$i779 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$190 >> 2] | 0) + 36 >> 2] & 127]($190) | 0; else $retval$0$i$i$i$i779 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$191 >> 0] | 0) | 0; + if (__ZNSt3__211char_traitsIcE11eq_int_typeEii($retval$0$i$i$i$i779, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { + HEAP32[$__b >> 2] = 0; + $294 = 1; break; } else { - $801 = (HEAP32[$0 >> 2] | 0) == 0; + $294 = (HEAP32[$__b >> 2] | 0) == 0; break; } - } else $801 = 1; while (0); - do if ($570) { - $572 = HEAP32[$570 + 12 >> 2] | 0; - if (($572 | 0) == (HEAP32[$570 + 16 >> 2] | 0)) $$0$i$i2$i$i260 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$570 >> 2] | 0) + 36 >> 2] & 127]($570) | 0; else $$0$i$i2$i$i260 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$572 >> 0] | 0) | 0; - if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii($$0$i$i2$i$i260, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if ($801) { - $802 = $570; + } else $294 = 1; while (0); + do if ($195) { + $196 = HEAP32[$195 + 12 >> 2] | 0; + if (($196 | 0) == (HEAP32[$195 + 16 >> 2] | 0)) $retval$0$i$i13$i$i800 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$195 >> 2] | 0) + 36 >> 2] & 127]($195) | 0; else $retval$0$i$i13$i$i800 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$196 >> 0] | 0) | 0; + if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii($retval$0$i$i13$i$i800, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if ($294) { + $295 = $195; break; } else { label = 204; break L21; } else { - HEAP32[$1 >> 2] = 0; + HEAP32[$__e >> 2] = 0; label = 198; break; } } else label = 198; while (0); if ((label | 0) == 198) { label = 0; - if ($801) { + if ($294) { label = 204; break L21; - } else $802 = 0; + } else $295 = 0; } - $584 = HEAP32[$0 >> 2] | 0; - $586 = HEAP32[$584 + 12 >> 2] | 0; - if (($586 | 0) == (HEAP32[$584 + 16 >> 2] | 0)) $$0$i$i266 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$584 >> 2] | 0) + 36 >> 2] & 127]($584) | 0; else $$0$i$i266 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$586 >> 0] | 0) | 0; - if ((HEAP8[$17 >> 0] | 0) != ($$0$i$i266 & 255) << 24 >> 24) { + $200 = HEAP32[$__b >> 2] | 0; + $201 = HEAP32[$200 + 12 >> 2] | 0; + if (($201 | 0) == (HEAP32[$200 + 16 >> 2] | 0)) $retval$0$i$i820 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$200 >> 2] | 0) + 36 >> 2] & 127]($200) | 0; else $retval$0$i$i820 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$201 >> 0] | 0) | 0; + if ((HEAP8[$__dp >> 0] | 0) != ($retval$0$i$i820 & 255) << 24 >> 24) { label = 204; break L21; } - $601 = HEAP32[$0 >> 2] | 0; - $602 = $601 + 12 | 0; - $603 = HEAP32[$602 >> 2] | 0; - if (($603 | 0) == (HEAP32[$601 + 16 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$601 >> 2] | 0) + 40 >> 2] & 127]($601) | 0; else { - HEAP32[$602 >> 2] = $603 + 1; - __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$603 >> 0] | 0) | 0; + $207 = HEAP32[$__b >> 2] | 0; + $__ninp_$i$i824 = $207 + 12 | 0; + $208 = HEAP32[$__ninp_$i$i824 >> 2] | 0; + if (($208 | 0) == (HEAP32[$207 + 16 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$207 >> 2] | 0) + 40 >> 2] & 127]($207) | 0; else { + HEAP32[$__ninp_$i$i824 >> 2] = $208 + 1; + __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$208 >> 0] | 0) | 0; } - $630 = $802; + $218 = $295; while (1) { - if ((HEAP32[$24 >> 2] | 0) <= 0) break L213; - $614 = HEAP32[$0 >> 2] | 0; - do if ($614) { - $617 = HEAP32[$614 + 12 >> 2] | 0; - if (($617 | 0) == (HEAP32[$614 + 16 >> 2] | 0)) $$0$i$i$i$i269 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$614 >> 2] | 0) + 36 >> 2] & 127]($614) | 0; else $$0$i$i$i$i269 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$617 >> 0] | 0) | 0; - if (__ZNSt3__211char_traitsIcE11eq_int_typeEii($$0$i$i$i$i269, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { - HEAP32[$0 >> 2] = 0; - $803 = 1; + if ((HEAP32[$__fd >> 2] | 0) <= 0) break L213; + $213 = HEAP32[$__b >> 2] | 0; + do if ($213) { + $214 = HEAP32[$213 + 12 >> 2] | 0; + if (($214 | 0) == (HEAP32[$213 + 16 >> 2] | 0)) $retval$0$i$i$i$i847 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$213 >> 2] | 0) + 36 >> 2] & 127]($213) | 0; else $retval$0$i$i$i$i847 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$214 >> 0] | 0) | 0; + if (__ZNSt3__211char_traitsIcE11eq_int_typeEii($retval$0$i$i$i$i847, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { + HEAP32[$__b >> 2] = 0; + $296 = 1; break; } else { - $803 = (HEAP32[$0 >> 2] | 0) == 0; + $296 = (HEAP32[$__b >> 2] | 0) == 0; break; } - } else $803 = 1; while (0); - do if ($630) { - $632 = HEAP32[$630 + 12 >> 2] | 0; - if (($632 | 0) == (HEAP32[$630 + 16 >> 2] | 0)) $$0$i$i2$i$i275 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$630 >> 2] | 0) + 36 >> 2] & 127]($630) | 0; else $$0$i$i2$i$i275 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$632 >> 0] | 0) | 0; - if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii($$0$i$i2$i$i275, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if ($803) { - $804 = $630; + } else $296 = 1; while (0); + do if ($218) { + $219 = HEAP32[$218 + 12 >> 2] | 0; + if (($219 | 0) == (HEAP32[$218 + 16 >> 2] | 0)) $retval$0$i$i13$i$i868 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$218 >> 2] | 0) + 36 >> 2] & 127]($218) | 0; else $retval$0$i$i13$i$i868 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$219 >> 0] | 0) | 0; + if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii($retval$0$i$i13$i$i868, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if ($296) { + $297 = $218; break; } else { label = 230; break L21; } else { - HEAP32[$1 >> 2] = 0; + HEAP32[$__e >> 2] = 0; label = 223; break; } } else label = 223; while (0); if ((label | 0) == 223) { label = 0; - if ($803) { + if ($296) { label = 230; break L21; - } else $804 = 0; + } else $297 = 0; } - $644 = HEAP32[$0 >> 2] | 0; - $646 = HEAP32[$644 + 12 >> 2] | 0; - if (($646 | 0) == (HEAP32[$644 + 16 >> 2] | 0)) $$0$i$i281 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$644 >> 2] | 0) + 36 >> 2] & 127]($644) | 0; else $$0$i$i281 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$646 >> 0] | 0) | 0; - if (($$0$i$i281 & 255) << 24 >> 24 <= -1) { + $223 = HEAP32[$__b >> 2] | 0; + $224 = HEAP32[$223 + 12 >> 2] | 0; + if (($224 | 0) == (HEAP32[$223 + 16 >> 2] | 0)) $retval$0$i$i888 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$223 >> 2] | 0) + 36 >> 2] & 127]($223) | 0; else $retval$0$i$i888 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$224 >> 0] | 0) | 0; + if (($retval$0$i$i888 & 255) << 24 >> 24 <= -1) { label = 230; break L21; } - if (!(HEAP16[(HEAP32[$40 >> 2] | 0) + ($$0$i$i281 << 24 >> 24 << 1) >> 1] & 2048)) { + if (!(HEAP16[(HEAP32[$__tab_$i216 >> 2] | 0) + ($retval$0$i$i888 << 24 >> 24 << 1) >> 1] & 2048)) { label = 230; break L21; } - if ((HEAP32[$9 >> 2] | 0) == (HEAP32[$11 >> 2] | 0)) __ZNSt3__219__double_or_nothingIcEEvRNS_10unique_ptrIT_PFvPvEEERPS2_S9_($8, $9, $11); - $669 = HEAP32[$0 >> 2] | 0; - $671 = HEAP32[$669 + 12 >> 2] | 0; - if (($671 | 0) == (HEAP32[$669 + 16 >> 2] | 0)) $$0$i$i284 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$669 >> 2] | 0) + 36 >> 2] & 127]($669) | 0; else $$0$i$i284 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$671 >> 0] | 0) | 0; - $682 = HEAP32[$9 >> 2] | 0; - HEAP32[$9 >> 2] = $682 + 1; - HEAP8[$682 >> 0] = $$0$i$i284; - HEAP32[$24 >> 2] = (HEAP32[$24 >> 2] | 0) + -1; - $686 = HEAP32[$0 >> 2] | 0; - $687 = $686 + 12 | 0; - $688 = HEAP32[$687 >> 2] | 0; - if (($688 | 0) == (HEAP32[$686 + 16 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$686 >> 2] | 0) + 40 >> 2] & 127]($686) | 0; else { - HEAP32[$687 >> 2] = $688 + 1; - __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$688 >> 0] | 0) | 0; - } - $630 = $804; + if ((HEAP32[$__wn >> 2] | 0) == (HEAP32[$__we$addr >> 2] | 0)) __ZNSt3__219__double_or_nothingIcEEvRNS_10unique_ptrIT_PFvPvEEERPS2_S9_($__wb, $__wn, $__we$addr); + $233 = HEAP32[$__b >> 2] | 0; + $234 = HEAP32[$233 + 12 >> 2] | 0; + if (($234 | 0) == (HEAP32[$233 + 16 >> 2] | 0)) $retval$0$i$i910 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$233 >> 2] | 0) + 36 >> 2] & 127]($233) | 0; else $retval$0$i$i910 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$234 >> 0] | 0) | 0; + $238 = HEAP32[$__wn >> 2] | 0; + HEAP32[$__wn >> 2] = $238 + 1; + HEAP8[$238 >> 0] = $retval$0$i$i910; + HEAP32[$__fd >> 2] = (HEAP32[$__fd >> 2] | 0) + -1; + $240 = HEAP32[$__b >> 2] | 0; + $__ninp_$i$i914 = $240 + 12 | 0; + $241 = HEAP32[$__ninp_$i$i914 >> 2] | 0; + if (($241 | 0) == (HEAP32[$240 + 16 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$240 >> 2] | 0) + 40 >> 2] & 127]($240) | 0; else { + HEAP32[$__ninp_$i$i914 >> 2] = $241 + 1; + __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$241 >> 0] | 0) | 0; + } + $218 = $297; } } while (0); - if ((HEAP32[$9 >> 2] | 0) == (HEAP32[$8 >> 2] | 0)) { + if ((HEAP32[$__wn >> 2] | 0) == (HEAP32[$__wb >> 2] | 0)) { label = 241; break L21; - } else $$1130 = $$0129; + } else $__trailing_sign$1 = $__trailing_sign$0; break; } default: - $$1130 = $$0129; + $__trailing_sign$1 = $__trailing_sign$0; } while (0); L289 : do if ((label | 0) == 47) { label = 0; - $141 = $788; + $32 = $281; while (1) { - $125 = HEAP32[$0 >> 2] | 0; - do if ($125) { - $128 = HEAP32[$125 + 12 >> 2] | 0; - if (($128 | 0) == (HEAP32[$125 + 16 >> 2] | 0)) $$0$i$i$i$i161 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$125 >> 2] | 0) + 36 >> 2] & 127]($125) | 0; else $$0$i$i$i$i161 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$128 >> 0] | 0) | 0; - if (__ZNSt3__211char_traitsIcE11eq_int_typeEii($$0$i$i$i$i161, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { - HEAP32[$0 >> 2] = 0; - $790 = 1; + $27 = HEAP32[$__b >> 2] | 0; + do if ($27) { + $28 = HEAP32[$27 + 12 >> 2] | 0; + if (($28 | 0) == (HEAP32[$27 + 16 >> 2] | 0)) $retval$0$i$i$i$i171 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$27 >> 2] | 0) + 36 >> 2] & 127]($27) | 0; else $retval$0$i$i$i$i171 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$28 >> 0] | 0) | 0; + if (__ZNSt3__211char_traitsIcE11eq_int_typeEii($retval$0$i$i$i$i171, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { + HEAP32[$__b >> 2] = 0; + $283 = 1; break; } else { - $790 = (HEAP32[$0 >> 2] | 0) == 0; + $283 = (HEAP32[$__b >> 2] | 0) == 0; break; } - } else $790 = 1; while (0); - do if ($141) { - $143 = HEAP32[$141 + 12 >> 2] | 0; - if (($143 | 0) == (HEAP32[$141 + 16 >> 2] | 0)) $$0$i$i2$i$i167 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$141 >> 2] | 0) + 36 >> 2] & 127]($141) | 0; else $$0$i$i2$i$i167 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$143 >> 0] | 0) | 0; - if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii($$0$i$i2$i$i167, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if ($790) { - $791 = $141; + } else $283 = 1; while (0); + do if ($32) { + $33 = HEAP32[$32 + 12 >> 2] | 0; + if (($33 | 0) == (HEAP32[$32 + 16 >> 2] | 0)) $retval$0$i$i13$i$i192 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$32 >> 2] | 0) + 36 >> 2] & 127]($32) | 0; else $retval$0$i$i13$i$i192 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$33 >> 0] | 0) | 0; + if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii($retval$0$i$i13$i$i192, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if ($283) { + $284 = $32; break; } else { - $$1130 = $$0129; + $__trailing_sign$1 = $__trailing_sign$0; break L289; } else { - HEAP32[$1 >> 2] = 0; + HEAP32[$__e >> 2] = 0; label = 61; break; } } else label = 61; while (0); if ((label | 0) == 61) { label = 0; - if ($790) { - $$1130 = $$0129; + if ($283) { + $__trailing_sign$1 = $__trailing_sign$0; break L289; - } else $791 = 0; + } else $284 = 0; } - $155 = HEAP32[$0 >> 2] | 0; - $157 = HEAP32[$155 + 12 >> 2] | 0; - if (($157 | 0) == (HEAP32[$155 + 16 >> 2] | 0)) $$0$i$i173 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$155 >> 2] | 0) + 36 >> 2] & 127]($155) | 0; else $$0$i$i173 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$157 >> 0] | 0) | 0; - if (($$0$i$i173 & 255) << 24 >> 24 <= -1) { - $$1130 = $$0129; + $37 = HEAP32[$__b >> 2] | 0; + $38 = HEAP32[$37 + 12 >> 2] | 0; + if (($38 | 0) == (HEAP32[$37 + 16 >> 2] | 0)) $retval$0$i$i211 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$37 >> 2] | 0) + 36 >> 2] & 127]($37) | 0; else $retval$0$i$i211 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$38 >> 0] | 0) | 0; + if (($retval$0$i$i211 & 255) << 24 >> 24 <= -1) { + $__trailing_sign$1 = $__trailing_sign$0; break L289; } - if (!(HEAP16[(HEAP32[$40 >> 2] | 0) + ($$0$i$i173 << 24 >> 24 << 1) >> 1] & 8192)) { - $$1130 = $$0129; + if (!(HEAP16[(HEAP32[$__tab_$i216 >> 2] | 0) + ($retval$0$i$i211 << 24 >> 24 << 1) >> 1] & 8192)) { + $__trailing_sign$1 = $__trailing_sign$0; break L289; } - $175 = HEAP32[$0 >> 2] | 0; - $176 = $175 + 12 | 0; - $177 = HEAP32[$176 >> 2] | 0; - if (($177 | 0) == (HEAP32[$175 + 16 >> 2] | 0)) $$0$i$i176 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$175 >> 2] | 0) + 40 >> 2] & 127]($175) | 0; else { - HEAP32[$176 >> 2] = $177 + 1; - $$0$i$i176 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$177 >> 0] | 0) | 0; + $44 = HEAP32[$__b >> 2] | 0; + $__ninp_$i$i224 = $44 + 12 | 0; + $45 = HEAP32[$__ninp_$i$i224 >> 2] | 0; + if (($45 | 0) == (HEAP32[$44 + 16 >> 2] | 0)) $retval$0$i$i234 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$44 >> 2] | 0) + 40 >> 2] & 127]($44) | 0; else { + HEAP32[$__ninp_$i$i224 >> 2] = $45 + 1; + $retval$0$i$i234 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$45 >> 0] | 0) | 0; } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc($23, $$0$i$i176 & 255); - $141 = $791; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc($__spaces, $retval$0$i$i234 & 255); + $32 = $284; } } while (0); - $$0129 = $$1130; - $$0131 = $$0131 + 1 | 0; + $__p$0 = $__p$0 + 1 | 0; + $__trailing_sign$0 = $__trailing_sign$1; } L326 : do if ((label | 0) == 45) { - HEAP32[$5 >> 2] = HEAP32[$5 >> 2] | 4; - $$10 = 0; + HEAP32[$__err >> 2] = HEAP32[$__err >> 2] | 4; + $retval$10 = 0; } else if ((label | 0) == 105) { - HEAP32[$5 >> 2] = HEAP32[$5 >> 2] | 4; - $$10 = 0; + HEAP32[$__err >> 2] = HEAP32[$__err >> 2] | 4; + $retval$10 = 0; } else if ((label | 0) == 148) { - HEAP32[$5 >> 2] = HEAP32[$5 >> 2] | 4; - $$10 = 0; + HEAP32[$__err >> 2] = HEAP32[$__err >> 2] | 4; + $retval$10 = 0; } else if ((label | 0) == 204) { - HEAP32[$5 >> 2] = HEAP32[$5 >> 2] | 4; - $$10 = 0; + HEAP32[$__err >> 2] = HEAP32[$__err >> 2] | 4; + $retval$10 = 0; } else if ((label | 0) == 230) { - HEAP32[$5 >> 2] = HEAP32[$5 >> 2] | 4; - $$10 = 0; + HEAP32[$__err >> 2] = HEAP32[$__err >> 2] | 4; + $retval$10 = 0; } else if ((label | 0) == 241) { - HEAP32[$5 >> 2] = HEAP32[$5 >> 2] | 4; - $$10 = 0; + HEAP32[$__err >> 2] = HEAP32[$__err >> 2] | 4; + $retval$10 = 0; } else if ((label | 0) == 243) { - L328 : do if ($$0129 | 0) { - $704 = $$0129 + 11 | 0; - $705 = $$0129 + 4 | 0; - $$0 = 1; + L328 : do if ($__trailing_sign$0 | 0) { + $__size_$i$i927 = $__trailing_sign$0 + 11 | 0; + $__size_$i3$i929 = $__trailing_sign$0 + 4 | 0; + $__i$0 = 1; L330 : while (1) { - $706 = HEAP8[$704 >> 0] | 0; - if ($706 << 24 >> 24 < 0) $711 = HEAP32[$705 >> 2] | 0; else $711 = $706 & 255; - if ($$0 >>> 0 >= $711 >>> 0) break L328; - $712 = HEAP32[$0 >> 2] | 0; - do if ($712) { - $715 = HEAP32[$712 + 12 >> 2] | 0; - if (($715 | 0) == (HEAP32[$712 + 16 >> 2] | 0)) $$0$i$i$i$i205 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$712 >> 2] | 0) + 36 >> 2] & 127]($712) | 0; else $$0$i$i$i$i205 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$715 >> 0] | 0) | 0; - if (__ZNSt3__211char_traitsIcE11eq_int_typeEii($$0$i$i$i$i205, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { - HEAP32[$0 >> 2] = 0; - $805 = 1; + $248 = HEAP8[$__size_$i$i927 >> 0] | 0; + if ($248 << 24 >> 24 < 0) $cond$i933 = HEAP32[$__size_$i3$i929 >> 2] | 0; else $cond$i933 = $248 & 255; + if ($__i$0 >>> 0 >= $cond$i933 >>> 0) break L328; + $250 = HEAP32[$__b >> 2] | 0; + do if ($250) { + $251 = HEAP32[$250 + 12 >> 2] | 0; + if (($251 | 0) == (HEAP32[$250 + 16 >> 2] | 0)) $retval$0$i$i$i$i511 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$250 >> 2] | 0) + 36 >> 2] & 127]($250) | 0; else $retval$0$i$i$i$i511 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$251 >> 0] | 0) | 0; + if (__ZNSt3__211char_traitsIcE11eq_int_typeEii($retval$0$i$i$i$i511, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { + HEAP32[$__b >> 2] = 0; + $298 = 1; break; } else { - $805 = (HEAP32[$0 >> 2] | 0) == 0; + $298 = (HEAP32[$__b >> 2] | 0) == 0; break; } - } else $805 = 1; while (0); - $727 = HEAP32[$1 >> 2] | 0; - do if ($727) { - $730 = HEAP32[$727 + 12 >> 2] | 0; - if (($730 | 0) == (HEAP32[$727 + 16 >> 2] | 0)) $$0$i$i2$i$i211 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$727 >> 2] | 0) + 36 >> 2] & 127]($727) | 0; else $$0$i$i2$i$i211 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$730 >> 0] | 0) | 0; - if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii($$0$i$i2$i$i211, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if ($805) break; else break L330; else { - HEAP32[$1 >> 2] = 0; + } else $298 = 1; while (0); + $255 = HEAP32[$__e >> 2] | 0; + do if ($255) { + $256 = HEAP32[$255 + 12 >> 2] | 0; + if (($256 | 0) == (HEAP32[$255 + 16 >> 2] | 0)) $retval$0$i$i13$i$i532 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$255 >> 2] | 0) + 36 >> 2] & 127]($255) | 0; else $retval$0$i$i13$i$i532 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$256 >> 0] | 0) | 0; + if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii($retval$0$i$i13$i$i532, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if ($298) break; else break L330; else { + HEAP32[$__e >> 2] = 0; label = 262; break; } } else label = 262; while (0); - if ((label | 0) == 262 ? (label = 0, $805) : 0) break; - $742 = HEAP32[$0 >> 2] | 0; - $744 = HEAP32[$742 + 12 >> 2] | 0; - if (($744 | 0) == (HEAP32[$742 + 16 >> 2] | 0)) $$0$i$i202 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$742 >> 2] | 0) + 36 >> 2] & 127]($742) | 0; else $$0$i$i202 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$744 >> 0] | 0) | 0; - if ((HEAP8[$704 >> 0] | 0) < 0) $759 = HEAP32[$$0129 >> 2] | 0; else $759 = $$0129; - if ((HEAP8[$759 + $$0 >> 0] | 0) != ($$0$i$i202 & 255) << 24 >> 24) break; - $765 = HEAP32[$0 >> 2] | 0; - $766 = $765 + 12 | 0; - $767 = HEAP32[$766 >> 2] | 0; - if (($767 | 0) == (HEAP32[$765 + 16 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$765 >> 2] | 0) + 40 >> 2] & 127]($765) | 0; else { - HEAP32[$766 >> 2] = $767 + 1; - __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$767 >> 0] | 0) | 0; - } - $$0 = $$0 + 1 | 0; - } - HEAP32[$5 >> 2] = HEAP32[$5 >> 2] | 4; - $$10 = 0; + if ((label | 0) == 262 ? (label = 0, $298) : 0) break; + $260 = HEAP32[$__b >> 2] | 0; + $261 = HEAP32[$260 + 12 >> 2] | 0; + if (($261 | 0) == (HEAP32[$260 + 16 >> 2] | 0)) $retval$0$i$i483 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$260 >> 2] | 0) + 36 >> 2] & 127]($260) | 0; else $retval$0$i$i483 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$261 >> 0] | 0) | 0; + if ((HEAP8[$__size_$i$i927 >> 0] | 0) < 0) $cond$i$i$i = HEAP32[$__trailing_sign$0 >> 2] | 0; else $cond$i$i$i = $__trailing_sign$0; + if ((HEAP8[$cond$i$i$i + $__i$0 >> 0] | 0) != ($retval$0$i$i483 & 255) << 24 >> 24) break; + $269 = HEAP32[$__b >> 2] | 0; + $__ninp_$i$i = $269 + 12 | 0; + $270 = HEAP32[$__ninp_$i$i >> 2] | 0; + if (($270 | 0) == (HEAP32[$269 + 16 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$269 >> 2] | 0) + 40 >> 2] & 127]($269) | 0; else { + HEAP32[$__ninp_$i$i >> 2] = $270 + 1; + __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$270 >> 0] | 0) | 0; + } + $__i$0 = $__i$0 + 1 | 0; + } + HEAP32[$__err >> 2] = HEAP32[$__err >> 2] | 4; + $retval$10 = 0; break L326; } while (0); - $776 = HEAP32[$13 >> 2] | 0; - $777 = HEAP32[$14 >> 2] | 0; - if (($776 | 0) != ($777 | 0)) { - HEAP32[$25 >> 2] = 0; - __ZNSt3__216__check_groupingERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjS8_Rj($19, $776, $777, $25); - if (!(HEAP32[$25 >> 2] | 0)) { - $$10 = 1; + $274 = HEAP32[$__gb >> 2] | 0; + $275 = HEAP32[$__gn >> 2] | 0; + if (($274 | 0) != ($275 | 0)) { + HEAP32[$__et >> 2] = 0; + __ZNSt3__216__check_groupingERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjS8_Rj($__grp, $274, $275, $__et); + if (!(HEAP32[$__et >> 2] | 0)) { + $retval$10 = 1; break; } else { - HEAP32[$5 >> 2] = HEAP32[$5 >> 2] | 4; - $$10 = 0; + HEAP32[$__err >> 2] = HEAP32[$__err >> 2] | 4; + $retval$10 = 0; break; } - } else $$10 = 1; + } else $retval$10 = 1; } while (0); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($23); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($22); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($21); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($20); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($19); - $783 = HEAP32[$13 >> 2] | 0; - HEAP32[$13 >> 2] = 0; - if ($783 | 0) FUNCTION_TABLE_vi[HEAP32[$13 + 4 >> 2] & 255]($783); + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($__spaces); + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($__nsn); + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($__psn); + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($__sym); + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($__grp); + $278 = HEAP32[$__gb >> 2] | 0; + HEAP32[$__gb >> 2] = 0; + if ($278 | 0) FUNCTION_TABLE_vi[HEAP32[$__gb + 4 >> 2] & 255]($278); STACKTOP = sp; - return $$10 | 0; + return $retval$10 | 0; } -function __ZN6vision25DoGScaleInvariantDetector15extractFeaturesEPKNS_25GaussianScaleSpacePyramidEPKNS_10DoGPyramidE($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$0750 = 0, $$0752 = 0, $$0753 = 0, $$0754 = 0, $$0756 = 0, $$0757 = 0, $$0759 = 0, $10 = 0, $102 = 0.0, $103 = 0, $105 = 0.0, $11 = 0, $110 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $187 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $260 = 0.0, $262 = 0, $268 = 0, $272 = 0, $275 = 0, $283 = 0, $288 = 0, $292 = 0, $294 = 0, $3 = 0, $302 = 0, $307 = 0, $31 = 0, $311 = 0, $319 = 0, $32 = 0, $327 = 0, $328 = 0.0, $33 = 0, $330 = 0, $331 = 0, $332 = 0, $333 = 0, $334 = 0, $335 = 0, $336 = 0, $337 = 0, $338 = 0.0, $34 = 0, $340 = 0.0, $341 = 0.0, $342 = 0.0, $344 = 0, $348 = 0.0, $35 = 0, $350 = 0.0, $351 = 0.0, $352 = 0, $353 = 0, $359 = 0, $36 = 0, $37 = 0, $4 = 0, $40 = 0, $405 = 0.0, $408 = 0.0, $411 = 0.0, $412 = 0.0, $415 = 0.0, $418 = 0.0, $421 = 0.0, $424 = 0.0, $427 = 0.0, $43 = 0, $430 = 0.0, $433 = 0.0, $439 = 0, $485 = 0.0, $488 = 0.0, $491 = 0.0, $492 = 0.0, $495 = 0.0, $498 = 0.0, $501 = 0.0, $504 = 0.0, $507 = 0.0, $51 = 0, $510 = 0.0, $514 = 0.0, $515 = 0, $522 = 0, $526 = 0, $530 = 0, $538 = 0, $543 = 0, $547 = 0, $549 = 0, $557 = 0, $56 = 0, $562 = 0, $566 = 0, $568 = 0, $570 = 0, $571 = 0.0, $573 = 0, $574 = 0, $575 = 0, $576 = 0, $577 = 0, $578 = 0, $579 = 0, $580 = 0, $583 = 0.0, $584 = 0.0, $585 = 0.0, $586 = 0.0, $588 = 0, $594 = 0.0, $595 = 0.0, $596 = 0, $597 = 0, $6 = 0, $60 = 0, $603 = 0, $61 = 0, $649 = 0.0, $652 = 0.0, $655 = 0.0, $656 = 0.0, $659 = 0.0, $662 = 0.0, $665 = 0.0, $668 = 0.0, $671 = 0.0, $674 = 0.0, $677 = 0.0, $683 = 0, $69 = 0, $729 = 0.0, $732 = 0.0, $735 = 0.0, $736 = 0.0, $739 = 0.0, $74 = 0, $742 = 0.0, $745 = 0.0, $748 = 0.0, $751 = 0.0, $754 = 0.0, $758 = 0.0, $760 = 0, $78 = 0, $80 = 0, $82 = 0, $83 = 0.0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0.0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0.0, $98 = 0, dest = 0, label = 0, sp = 0, src = 0, stop = 0; +function __ZN6vision25DoGScaleInvariantDetector15extractFeaturesEPKNS_25GaussianScaleSpacePyramidEPKNS_10DoGPyramidE($this, $pyramid, $laplacian) { + $this = $this | 0; + $pyramid = $pyramid | 0; + $laplacian = $laplacian | 0; + var $109 = 0.0, $110 = 0.0, $111 = 0.0, $112 = 0.0, $113 = 0.0, $114 = 0.0, $115 = 0.0, $116 = 0.0, $118 = 0, $124 = 0.0, $142 = 0.0, $143 = 0.0, $144 = 0.0, $145 = 0.0, $146 = 0.0, $147 = 0.0, $148 = 0.0, $149 = 0.0, $150 = 0.0, $168 = 0.0, $169 = 0.0, $170 = 0.0, $171 = 0.0, $172 = 0.0, $173 = 0.0, $174 = 0.0, $175 = 0.0, $177 = 0, $5 = 0.0, $57 = 0, $6 = 0.0, $65 = 0.0, $83 = 0.0, $84 = 0.0, $85 = 0.0, $86 = 0.0, $87 = 0.0, $88 = 0.0, $89 = 0.0, $90 = 0.0, $91 = 0.0, $__end_$i$i$i = 0, $__value_$i$i$i$i742 = 0, $add = 0, $add175 = 0, $add346 = 0, $add382 = 0, $add447 = 0.0, $add464 = 0.0, $add485 = 0, $add52 = 0, $add550 = 0.0, $add667 = 0, $add690 = 0.0, $add693 = 0.0, $add702 = 0, $add767 = 0.0, $add784 = 0.0, $add79 = 0, $add805 = 0, $add870 = 0.0, $arrayidx = 0, $arrayidx362 = 0, $arrayidx376 = 0, $arrayidx683 = 0, $arrayidx696 = 0, $call = 0.0, $call$i1$i$i = 0, $call$i1$i$i732 = 0, $call$i1$i$i753 = 0, $call$i1$i$i767 = 0, $call$i1$i$i788 = 0, $call$i1$i$i802 = 0, $call$i2$i$i = 0, $call$i2$i$i735 = 0, $call$i2$i$i756 = 0, $call$i2$i$i770 = 0, $call$i2$i$i791 = 0, $call$i2$i$i805 = 0, $call12 = 0, $call15 = 0, $call24 = 0, $call269 = 0.0, $call27 = 0, $call281 = 0, $call290 = 0, $call299 = 0, $call315 = 0, $call342 = 0, $call344 = 0, $call347 = 0, $call350 = 0, $call352 = 0, $call355 = 0, $call36 = 0, $call4 = 0, $call5 = 0, $call50 = 0, $call51 = 0, $call53 = 0, $call55 = 0, $call56 = 0, $call58 = 0, $call588 = 0.0, $call6 = 0, $call60 = 0, $call61 = 0, $call63 = 0, $call630 = 0, $call646 = 0, $call663 = 0, $call665 = 0, $call668 = 0, $call671 = 0, $call673 = 0, $call676 = 0, $call7 = 0, $call8 = 0, $call9 = 0, $call908 = 0.0, $col$0 = 0, $col356$0 = 0, $col677$0 = 0, $conv = 0.0, $conv271 = 0.0, $conv326 = 0, $conv334 = 0, $conv368 = 0.0, $conv371 = 0.0, $conv587 = 0.0, $conv907 = 0.0, $conv913 = 0.0, $i$0 = 0, $mFeaturePoints = 0, $mLaplacianPyramid = 0, $octave267 = 0, $octave584 = 0, $octave904 = 0, $ref$tmp$i$i797 = 0, $row$0 = 0, $row335$0 = 0, $row656$0 = 0, $scale268 = 0, $scale585 = 0, $scale905 = 0, $score = 0, $score586 = 0, $score906 = 0, $shr = 0, $shr306 = 0, $shr610 = 0, $shr615 = 0, $shr621 = 0, $shr637 = 0, $sigma = 0, $sigma589 = 0, $sigma909 = 0, $sub341 = 0, $sub370 = 0.0, $sub373 = 0.0, $sub375 = 0, $sub42 = 0, $sub438 = 0.0, $sub439 = 0.0, $sub44 = 0, $sub49 = 0, $sub541 = 0.0, $sub653 = 0, $sub655 = 0, $sub662 = 0, $sub695 = 0, $sub72 = 0, $sub758 = 0.0, $sub759 = 0.0, $sub861 = 0.0, $y = 0, $y591 = 0, $y911 = 0, dest = 0, label = 0, sp = 0, src = 0, stop = 0; sp = STACKTOP; STACKTOP = STACKTOP + 48 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); - $3 = sp; - $4 = $0 + 60 | 0; - $6 = $0 + 64 | 0; - HEAP32[$6 >> 2] = HEAP32[$4 >> 2]; - $9 = +__ZN6vision3sqrIfEET_S1_(+HEAPF32[$0 + 52 >> 2]); - $10 = $0 + 32 | 0; - $11 = $3 + 12 | 0; - $12 = $3 + 16 | 0; - $13 = $3 + 24 | 0; - $14 = $3 + 28 | 0; - $15 = $3 + 4 | 0; - $16 = $0 + 68 | 0; - $17 = $3 + 12 | 0; - $18 = $3 + 16 | 0; - $19 = $3 + 24 | 0; - $20 = $3 + 28 | 0; - $21 = $3 + 4 | 0; - $22 = $3 + 12 | 0; - $23 = $3 + 16 | 0; - $24 = $3 + 24 | 0; - $25 = $3 + 28 | 0; - $26 = $3 + 4 | 0; - $$0750 = 1; + $ref$tmp$i$i797 = sp; + $mFeaturePoints = $this + 60 | 0; + $__end_$i$i$i = $this + 64 | 0; + HEAP32[$__end_$i$i$i >> 2] = HEAP32[$mFeaturePoints >> 2]; + $call = +__ZN6vision3sqrIfEET_S1_(+HEAPF32[$this + 52 >> 2]); + $mLaplacianPyramid = $this + 32 | 0; + $octave267 = $ref$tmp$i$i797 + 12 | 0; + $scale268 = $ref$tmp$i$i797 + 16 | 0; + $score = $ref$tmp$i$i797 + 24 | 0; + $sigma = $ref$tmp$i$i797 + 28 | 0; + $y = $ref$tmp$i$i797 + 4 | 0; + $__value_$i$i$i$i742 = $this + 68 | 0; + $octave584 = $ref$tmp$i$i797 + 12 | 0; + $scale585 = $ref$tmp$i$i797 + 16 | 0; + $score586 = $ref$tmp$i$i797 + 24 | 0; + $sigma589 = $ref$tmp$i$i797 + 28 | 0; + $y591 = $ref$tmp$i$i797 + 4 | 0; + $octave904 = $ref$tmp$i$i797 + 12 | 0; + $scale905 = $ref$tmp$i$i797 + 16 | 0; + $score906 = $ref$tmp$i$i797 + 24 | 0; + $sigma909 = $ref$tmp$i$i797 + 28 | 0; + $y911 = $ref$tmp$i$i797 + 4 | 0; + $i$0 = 1; L1 : while (1) { - if ($$0750 >>> 0 >= ((__ZNK6vision10DoGPyramid4sizeEv($10) | 0) + -1 | 0) >>> 0) { + if ($i$0 >>> 0 >= ((__ZNK6vision10DoGPyramid4sizeEv($mLaplacianPyramid) | 0) + -1 | 0) >>> 0) { label = 3; break; } - $31 = __ZNK6vision10DoGPyramid3getEm($2, $$0750 + -1 | 0) | 0; - $32 = __ZNK6vision10DoGPyramid3getEm($2, $$0750) | 0; - $33 = $$0750 + 1 | 0; - $34 = __ZNK6vision10DoGPyramid3getEm($2, $33) | 0; - $35 = __ZNK6vision10DoGPyramid15octaveFromIndexEi($2, $$0750) | 0; - $36 = __ZNK6vision10DoGPyramid14scaleFromIndexEi($2, $$0750) | 0; - $37 = __ZNK6vision5Image5widthEv($31) | 0; - L4 : do if (($37 | 0) == (__ZNK6vision5Image5widthEv($32) | 0) ? ($40 = __ZNK6vision5Image5widthEv($31) | 0, ($40 | 0) == (__ZNK6vision5Image5widthEv($34) | 0)) : 0) { - $43 = __ZNK6vision5Image6heightEv($31) | 0; - if (($43 | 0) != (__ZNK6vision5Image6heightEv($32) | 0)) { + $call4 = __ZNK6vision10DoGPyramid3getEm($laplacian, $i$0 + -1 | 0) | 0; + $call5 = __ZNK6vision10DoGPyramid3getEm($laplacian, $i$0) | 0; + $add = $i$0 + 1 | 0; + $call6 = __ZNK6vision10DoGPyramid3getEm($laplacian, $add) | 0; + $call7 = __ZNK6vision10DoGPyramid15octaveFromIndexEi($laplacian, $i$0) | 0; + $call8 = __ZNK6vision10DoGPyramid14scaleFromIndexEi($laplacian, $i$0) | 0; + $call9 = __ZNK6vision5Image5widthEv($call4) | 0; + L4 : do if (($call9 | 0) == (__ZNK6vision5Image5widthEv($call5) | 0) ? ($call12 = __ZNK6vision5Image5widthEv($call4) | 0, ($call12 | 0) == (__ZNK6vision5Image5widthEv($call6) | 0)) : 0) { + $call15 = __ZNK6vision5Image6heightEv($call4) | 0; + if (($call15 | 0) != (__ZNK6vision5Image6heightEv($call5) | 0)) { label = 7; break L1; } - $61 = __ZNK6vision5Image6heightEv($31) | 0; - if (($61 | 0) != (__ZNK6vision5Image6heightEv($34) | 0)) { + $call27 = __ZNK6vision5Image6heightEv($call4) | 0; + if (($call27 | 0) != (__ZNK6vision5Image6heightEv($call6) | 0)) { label = 9; break L1; } - $80 = (__ZNK6vision5Image5widthEv($32) | 0) + -1 | 0; - $82 = (__ZNK6vision5Image6heightEv($32) | 0) + -1 | 0; - $83 = +($36 | 0); - $$0752 = 1; + $sub42 = (__ZNK6vision5Image5widthEv($call5) | 0) + -1 | 0; + $sub44 = (__ZNK6vision5Image6heightEv($call5) | 0) + -1 | 0; + $conv = +($call8 | 0); + $row$0 = 1; while (1) { - if ($$0752 >>> 0 >= $82 >>> 0) break L4; - $85 = $$0752 + -1 | 0; - $86 = __ZNK6vision5Image3getIfEEPKT_m($31, $85) | 0; - $87 = __ZNK6vision5Image3getIfEEPKT_m($31, $$0752) | 0; - $88 = $$0752 + 1 | 0; - $89 = __ZNK6vision5Image3getIfEEPKT_m($31, $88) | 0; - $90 = __ZNK6vision5Image3getIfEEPKT_m($32, $85) | 0; - $91 = __ZNK6vision5Image3getIfEEPKT_m($32, $$0752) | 0; - $92 = __ZNK6vision5Image3getIfEEPKT_m($32, $88) | 0; - $93 = __ZNK6vision5Image3getIfEEPKT_m($34, $85) | 0; - $94 = __ZNK6vision5Image3getIfEEPKT_m($34, $$0752) | 0; - $95 = __ZNK6vision5Image3getIfEEPKT_m($34, $88) | 0; - $96 = +($$0752 >>> 0); - $$0754 = 1; + if ($row$0 >>> 0 >= $sub44 >>> 0) break L4; + $sub49 = $row$0 + -1 | 0; + $call50 = __ZNK6vision5Image3getIfEEPKT_m($call4, $sub49) | 0; + $call51 = __ZNK6vision5Image3getIfEEPKT_m($call4, $row$0) | 0; + $add52 = $row$0 + 1 | 0; + $call53 = __ZNK6vision5Image3getIfEEPKT_m($call4, $add52) | 0; + $call55 = __ZNK6vision5Image3getIfEEPKT_m($call5, $sub49) | 0; + $call56 = __ZNK6vision5Image3getIfEEPKT_m($call5, $row$0) | 0; + $call58 = __ZNK6vision5Image3getIfEEPKT_m($call5, $add52) | 0; + $call60 = __ZNK6vision5Image3getIfEEPKT_m($call6, $sub49) | 0; + $call61 = __ZNK6vision5Image3getIfEEPKT_m($call6, $row$0) | 0; + $call63 = __ZNK6vision5Image3getIfEEPKT_m($call6, $add52) | 0; + $conv271 = +($row$0 >>> 0); + $col$0 = 1; while (1) { - if ($$0754 >>> 0 >= $80 >>> 0) break; - $98 = $91 + ($$0754 << 2) | 0; - do if (!(+__ZN6vision3sqrIfEET_S1_(+HEAPF32[$98 >> 2]) < $9)) { - $102 = +HEAPF32[$98 >> 2]; - $103 = $$0754 + -1 | 0; - $105 = +HEAPF32[$86 + ($103 << 2) >> 2]; - do if ((((($102 > $105 ? $102 > +HEAPF32[$86 + ($$0754 << 2) >> 2] : 0) ? ($110 = $$0754 + 1 | 0, $102 > +HEAPF32[$86 + ($110 << 2) >> 2]) : 0) ? $102 > +HEAPF32[$87 + ($103 << 2) >> 2] : 0) ? $102 > +HEAPF32[$87 + ($$0754 << 2) >> 2] : 0) ? $102 > +HEAPF32[$87 + ($110 << 2) >> 2] : 0) { - if (!($102 > +HEAPF32[$89 + ($103 << 2) >> 2])) { + if ($col$0 >>> 0 >= $sub42 >>> 0) break; + $arrayidx = $call56 + ($col$0 << 2) | 0; + do if (!(+__ZN6vision3sqrIfEET_S1_(+HEAPF32[$arrayidx >> 2]) < $call)) { + $5 = +HEAPF32[$arrayidx >> 2]; + $sub72 = $col$0 + -1 | 0; + $6 = +HEAPF32[$call50 + ($sub72 << 2) >> 2]; + do if ((((($5 > $6 ? $5 > +HEAPF32[$call50 + ($col$0 << 2) >> 2] : 0) ? ($add79 = $col$0 + 1 | 0, $5 > +HEAPF32[$call50 + ($add79 << 2) >> 2]) : 0) ? $5 > +HEAPF32[$call51 + ($sub72 << 2) >> 2] : 0) ? $5 > +HEAPF32[$call51 + ($col$0 << 2) >> 2] : 0) ? $5 > +HEAPF32[$call51 + ($add79 << 2) >> 2] : 0) { + if (!($5 > +HEAPF32[$call53 + ($sub72 << 2) >> 2])) { label = 42; break; } - if (!($102 > +HEAPF32[$89 + ($$0754 << 2) >> 2])) { + if (!($5 > +HEAPF32[$call53 + ($col$0 << 2) >> 2])) { label = 42; break; } - if (!($102 > +HEAPF32[$89 + ($110 << 2) >> 2])) { + if (!($5 > +HEAPF32[$call53 + ($add79 << 2) >> 2])) { label = 42; break; } - if (!($102 > +HEAPF32[$90 + ($103 << 2) >> 2])) { + if (!($5 > +HEAPF32[$call55 + ($sub72 << 2) >> 2])) { label = 42; break; } - if (!($102 > +HEAPF32[$90 + ($$0754 << 2) >> 2])) { + if (!($5 > +HEAPF32[$call55 + ($col$0 << 2) >> 2])) { label = 42; break; } - if (!($102 > +HEAPF32[$90 + ($110 << 2) >> 2])) { + if (!($5 > +HEAPF32[$call55 + ($add79 << 2) >> 2])) { label = 42; break; } - if (!($102 > +HEAPF32[$91 + ($103 << 2) >> 2])) { + if (!($5 > +HEAPF32[$call56 + ($sub72 << 2) >> 2])) { label = 42; break; } - if (!($102 > +HEAPF32[$91 + ($110 << 2) >> 2])) { + if (!($5 > +HEAPF32[$call56 + ($add79 << 2) >> 2])) { label = 42; break; } - if (!($102 > +HEAPF32[$92 + ($103 << 2) >> 2])) { + if (!($5 > +HEAPF32[$call58 + ($sub72 << 2) >> 2])) { label = 42; break; } - if (!($102 > +HEAPF32[$92 + ($$0754 << 2) >> 2])) { + if (!($5 > +HEAPF32[$call58 + ($col$0 << 2) >> 2])) { label = 42; break; } - if (!($102 > +HEAPF32[$92 + ($110 << 2) >> 2])) { + if (!($5 > +HEAPF32[$call58 + ($add79 << 2) >> 2])) { label = 42; break; } - if (!($102 > +HEAPF32[$93 + ($103 << 2) >> 2])) { + if (!($5 > +HEAPF32[$call60 + ($sub72 << 2) >> 2])) { label = 42; break; } - if (!($102 > +HEAPF32[$93 + ($$0754 << 2) >> 2])) { + if (!($5 > +HEAPF32[$call60 + ($col$0 << 2) >> 2])) { label = 42; break; } - if (!($102 > +HEAPF32[$93 + ($110 << 2) >> 2])) { + if (!($5 > +HEAPF32[$call60 + ($add79 << 2) >> 2])) { label = 42; break; } - if (!($102 > +HEAPF32[$94 + ($103 << 2) >> 2])) { + if (!($5 > +HEAPF32[$call61 + ($sub72 << 2) >> 2])) { label = 42; break; } - if (!($102 > +HEAPF32[$94 + ($$0754 << 2) >> 2])) { + if (!($5 > +HEAPF32[$call61 + ($col$0 << 2) >> 2])) { label = 42; break; } - if (!($102 > +HEAPF32[$94 + ($110 << 2) >> 2])) { + if (!($5 > +HEAPF32[$call61 + ($add79 << 2) >> 2])) { label = 42; break; } - if (!($102 > +HEAPF32[$95 + ($103 << 2) >> 2])) { + if (!($5 > +HEAPF32[$call63 + ($sub72 << 2) >> 2])) { label = 42; break; } - if (!($102 > +HEAPF32[$95 + ($$0754 << 2) >> 2])) { + if (!($5 > +HEAPF32[$call63 + ($col$0 << 2) >> 2])) { label = 42; break; } - if ($102 > +HEAPF32[$95 + ($110 << 2) >> 2]) {} else label = 42; + if ($5 > +HEAPF32[$call63 + ($add79 << 2) >> 2]) {} else label = 42; } else label = 42; while (0); if ((label | 0) == 42) { label = 0; - if (!($102 < $105)) break; - if (!($102 < +HEAPF32[$86 + ($$0754 << 2) >> 2])) break; - $187 = $$0754 + 1 | 0; - if (!($102 < +HEAPF32[$86 + ($187 << 2) >> 2])) break; - if (!($102 < +HEAPF32[$87 + ($103 << 2) >> 2])) break; - if (!($102 < +HEAPF32[$87 + ($$0754 << 2) >> 2])) break; - if (!($102 < +HEAPF32[$87 + ($187 << 2) >> 2])) break; - if (!($102 < +HEAPF32[$89 + ($103 << 2) >> 2])) break; - if (!($102 < +HEAPF32[$89 + ($$0754 << 2) >> 2])) break; - if (!($102 < +HEAPF32[$89 + ($187 << 2) >> 2])) break; - if (!($102 < +HEAPF32[$90 + ($103 << 2) >> 2])) break; - if (!($102 < +HEAPF32[$90 + ($$0754 << 2) >> 2])) break; - if (!($102 < +HEAPF32[$90 + ($187 << 2) >> 2])) break; - if (!($102 < +HEAPF32[$91 + ($103 << 2) >> 2])) break; - if (!($102 < +HEAPF32[$91 + ($187 << 2) >> 2])) break; - if (!($102 < +HEAPF32[$92 + ($103 << 2) >> 2])) break; - if (!($102 < +HEAPF32[$92 + ($$0754 << 2) >> 2])) break; - if (!($102 < +HEAPF32[$92 + ($187 << 2) >> 2])) break; - if (!($102 < +HEAPF32[$93 + ($103 << 2) >> 2])) break; - if (!($102 < +HEAPF32[$93 + ($$0754 << 2) >> 2])) break; - if (!($102 < +HEAPF32[$93 + ($187 << 2) >> 2])) break; - if (!($102 < +HEAPF32[$94 + ($103 << 2) >> 2])) break; - if (!($102 < +HEAPF32[$94 + ($$0754 << 2) >> 2])) break; - if (!($102 < +HEAPF32[$94 + ($187 << 2) >> 2])) break; - if (!($102 < +HEAPF32[$95 + ($103 << 2) >> 2])) break; - if (!($102 < +HEAPF32[$95 + ($$0754 << 2) >> 2])) break; - if (!($102 < +HEAPF32[$95 + ($187 << 2) >> 2])) break; - } - HEAP32[$11 >> 2] = $35; - HEAP32[$12 >> 2] = $36; - HEAPF32[$13 >> 2] = $102; - $260 = +__ZNK6vision25GaussianScaleSpacePyramid14effectiveSigmaEmf($1, $35, $83); - HEAPF32[$14 >> 2] = $260; - __ZN6vision23bilinear_upsample_pointERfS0_ffi($3, $15, +($$0754 >>> 0), $96, $35); - $262 = HEAP32[$6 >> 2] | 0; - if (($262 | 0) == (HEAP32[$16 >> 2] | 0)) { - __ZNSt3__26vectorIN6vision25DoGScaleInvariantDetector12FeaturePointENS_9allocatorIS3_EEE21__push_back_slow_pathIRKS3_EEvOT_($4, $3); + if (!($5 < $6)) break; + if (!($5 < +HEAPF32[$call50 + ($col$0 << 2) >> 2])) break; + $add175 = $col$0 + 1 | 0; + if (!($5 < +HEAPF32[$call50 + ($add175 << 2) >> 2])) break; + if (!($5 < +HEAPF32[$call51 + ($sub72 << 2) >> 2])) break; + if (!($5 < +HEAPF32[$call51 + ($col$0 << 2) >> 2])) break; + if (!($5 < +HEAPF32[$call51 + ($add175 << 2) >> 2])) break; + if (!($5 < +HEAPF32[$call53 + ($sub72 << 2) >> 2])) break; + if (!($5 < +HEAPF32[$call53 + ($col$0 << 2) >> 2])) break; + if (!($5 < +HEAPF32[$call53 + ($add175 << 2) >> 2])) break; + if (!($5 < +HEAPF32[$call55 + ($sub72 << 2) >> 2])) break; + if (!($5 < +HEAPF32[$call55 + ($col$0 << 2) >> 2])) break; + if (!($5 < +HEAPF32[$call55 + ($add175 << 2) >> 2])) break; + if (!($5 < +HEAPF32[$call56 + ($sub72 << 2) >> 2])) break; + if (!($5 < +HEAPF32[$call56 + ($add175 << 2) >> 2])) break; + if (!($5 < +HEAPF32[$call58 + ($sub72 << 2) >> 2])) break; + if (!($5 < +HEAPF32[$call58 + ($col$0 << 2) >> 2])) break; + if (!($5 < +HEAPF32[$call58 + ($add175 << 2) >> 2])) break; + if (!($5 < +HEAPF32[$call60 + ($sub72 << 2) >> 2])) break; + if (!($5 < +HEAPF32[$call60 + ($col$0 << 2) >> 2])) break; + if (!($5 < +HEAPF32[$call60 + ($add175 << 2) >> 2])) break; + if (!($5 < +HEAPF32[$call61 + ($sub72 << 2) >> 2])) break; + if (!($5 < +HEAPF32[$call61 + ($col$0 << 2) >> 2])) break; + if (!($5 < +HEAPF32[$call61 + ($add175 << 2) >> 2])) break; + if (!($5 < +HEAPF32[$call63 + ($sub72 << 2) >> 2])) break; + if (!($5 < +HEAPF32[$call63 + ($col$0 << 2) >> 2])) break; + if (!($5 < +HEAPF32[$call63 + ($add175 << 2) >> 2])) break; + } + HEAP32[$octave267 >> 2] = $call7; + HEAP32[$scale268 >> 2] = $call8; + HEAPF32[$score >> 2] = $5; + $call269 = +__ZNK6vision25GaussianScaleSpacePyramid14effectiveSigmaEmf($pyramid, $call7, $conv); + HEAPF32[$sigma >> 2] = $call269; + __ZN6vision23bilinear_upsample_pointERfS0_ffi($ref$tmp$i$i797, $y, +($col$0 >>> 0), $conv271, $call7); + $57 = HEAP32[$__end_$i$i$i >> 2] | 0; + if (($57 | 0) == (HEAP32[$__value_$i$i$i$i742 >> 2] | 0)) { + __ZNSt3__26vectorIN6vision25DoGScaleInvariantDetector12FeaturePointENS_9allocatorIS3_EEE21__push_back_slow_pathIRKS3_EEvOT_($mFeaturePoints, $ref$tmp$i$i797); break; } else { - dest = $262; - src = $3; + dest = $57; + src = $ref$tmp$i$i797; stop = dest + 36 | 0; do { HEAP32[dest >> 2] = HEAP32[src >> 2]; dest = dest + 4 | 0; src = src + 4 | 0; } while ((dest | 0) < (stop | 0)); - HEAP32[$6 >> 2] = (HEAP32[$6 >> 2] | 0) + 36; + HEAP32[$__end_$i$i$i >> 2] = (HEAP32[$__end_$i$i$i >> 2] | 0) + 36; break; } } while (0); - $$0754 = $$0754 + 1 | 0; + $col$0 = $col$0 + 1 | 0; } - $$0752 = $88; + $row$0 = $add52; } } else label = 72; while (0); L76 : do if ((label | 0) == 72) { label = 0; - $268 = __ZNK6vision5Image5widthEv($31) | 0; - if (($268 | 0) == (__ZNK6vision5Image5widthEv($32) | 0) ? ($272 = (__ZNK6vision5Image5widthEv($32) | 0) >>> 1, ($272 | 0) == (__ZNK6vision5Image5widthEv($34) | 0)) : 0) { - $275 = __ZNK6vision5Image6heightEv($31) | 0; - if (($275 | 0) != (__ZNK6vision5Image6heightEv($32) | 0)) { + $call281 = __ZNK6vision5Image5widthEv($call4) | 0; + if (($call281 | 0) == (__ZNK6vision5Image5widthEv($call5) | 0) ? ($shr = (__ZNK6vision5Image5widthEv($call5) | 0) >>> 1, ($shr | 0) == (__ZNK6vision5Image5widthEv($call6) | 0)) : 0) { + $call290 = __ZNK6vision5Image6heightEv($call4) | 0; + if (($call290 | 0) != (__ZNK6vision5Image6heightEv($call5) | 0)) { label = 75; break L1; } - $294 = (__ZNK6vision5Image6heightEv($32) | 0) >>> 1; - if (($294 | 0) != (__ZNK6vision5Image6heightEv($34) | 0)) { + $shr306 = (__ZNK6vision5Image6heightEv($call5) | 0) >>> 1; + if (($shr306 | 0) != (__ZNK6vision5Image6heightEv($call6) | 0)) { label = 77; break L1; } - $319 = ~~+Math_floor(+((+(((__ZNK6vision5Image5widthEv($34) | 0) + -1 | 0) >>> 0) + -.5) * 2.0 + .5)) >>> 0; - $327 = ~~+Math_floor(+((+(((__ZNK6vision5Image6heightEv($34) | 0) + -1 | 0) >>> 0) + -.5) * 2.0 + .5)) >>> 0; - $328 = +($36 | 0); - $$0756 = 2; + $conv326 = ~~+Math_floor(+((+(((__ZNK6vision5Image5widthEv($call6) | 0) + -1 | 0) >>> 0) + -.5) * 2.0 + .5)) >>> 0; + $conv334 = ~~+Math_floor(+((+(((__ZNK6vision5Image6heightEv($call6) | 0) + -1 | 0) >>> 0) + -.5) * 2.0 + .5)) >>> 0; + $conv587 = +($call8 | 0); + $row335$0 = 2; while (1) { - if ($$0756 >>> 0 >= $327 >>> 0) break L76; - $330 = $$0756 + -1 | 0; - $331 = __ZNK6vision5Image3getIfEEPKT_m($31, $330) | 0; - $332 = __ZNK6vision5Image3getIfEEPKT_m($31, $$0756) | 0; - $333 = $$0756 + 1 | 0; - $334 = __ZNK6vision5Image3getIfEEPKT_m($31, $333) | 0; - $335 = __ZNK6vision5Image3getIfEEPKT_m($32, $330) | 0; - $336 = __ZNK6vision5Image3getIfEEPKT_m($32, $$0756) | 0; - $337 = __ZNK6vision5Image3getIfEEPKT_m($32, $333) | 0; - $338 = +($$0756 >>> 0); - $340 = $338 * .5 + -.25; - $341 = $340 + -.5; - $342 = $340 + .5; - $$0757 = 2; + if ($row335$0 >>> 0 >= $conv334 >>> 0) break L76; + $sub341 = $row335$0 + -1 | 0; + $call342 = __ZNK6vision5Image3getIfEEPKT_m($call4, $sub341) | 0; + $call344 = __ZNK6vision5Image3getIfEEPKT_m($call4, $row335$0) | 0; + $add346 = $row335$0 + 1 | 0; + $call347 = __ZNK6vision5Image3getIfEEPKT_m($call4, $add346) | 0; + $call350 = __ZNK6vision5Image3getIfEEPKT_m($call5, $sub341) | 0; + $call352 = __ZNK6vision5Image3getIfEEPKT_m($call5, $row335$0) | 0; + $call355 = __ZNK6vision5Image3getIfEEPKT_m($call5, $add346) | 0; + $conv371 = +($row335$0 >>> 0); + $sub373 = $conv371 * .5 + -.25; + $sub439 = $sub373 + -.5; + $add464 = $sub373 + .5; + $col356$0 = 2; while (1) { - if ($$0757 >>> 0 >= $319 >>> 0) break; - $344 = $336 + ($$0757 << 2) | 0; - do if (!(+__ZN6vision3sqrIfEET_S1_(+HEAPF32[$344 >> 2]) < $9)) { - $348 = +($$0757 >>> 0); - $350 = $348 * .5 + -.25; - $351 = +HEAPF32[$344 >> 2]; - $352 = $$0757 + -1 | 0; - $353 = $331 + ($352 << 2) | 0; - do if ((($351 > +HEAPF32[$353 >> 2] ? $351 > +HEAPF32[$331 + ($$0757 << 2) >> 2] : 0) ? ($359 = $$0757 + 1 | 0, $351 > +HEAPF32[$331 + ($359 << 2) >> 2]) : 0) ? $351 > +HEAPF32[$332 + ($352 << 2) >> 2] : 0) { - if (!($351 > +HEAPF32[$332 + ($$0757 << 2) >> 2])) { + if ($col356$0 >>> 0 >= $conv326 >>> 0) break; + $arrayidx362 = $call352 + ($col356$0 << 2) | 0; + do if (!(+__ZN6vision3sqrIfEET_S1_(+HEAPF32[$arrayidx362 >> 2]) < $call)) { + $conv368 = +($col356$0 >>> 0); + $sub370 = $conv368 * .5 + -.25; + $65 = +HEAPF32[$arrayidx362 >> 2]; + $sub375 = $col356$0 + -1 | 0; + $arrayidx376 = $call342 + ($sub375 << 2) | 0; + do if ((($65 > +HEAPF32[$arrayidx376 >> 2] ? $65 > +HEAPF32[$call342 + ($col356$0 << 2) >> 2] : 0) ? ($add382 = $col356$0 + 1 | 0, $65 > +HEAPF32[$call342 + ($add382 << 2) >> 2]) : 0) ? $65 > +HEAPF32[$call344 + ($sub375 << 2) >> 2] : 0) { + if (!($65 > +HEAPF32[$call344 + ($col356$0 << 2) >> 2])) { label = 110; break; } - if (!($351 > +HEAPF32[$332 + ($359 << 2) >> 2])) { + if (!($65 > +HEAPF32[$call344 + ($add382 << 2) >> 2])) { label = 110; break; } - if (!($351 > +HEAPF32[$334 + ($352 << 2) >> 2])) { + if (!($65 > +HEAPF32[$call347 + ($sub375 << 2) >> 2])) { label = 110; break; } - if (!($351 > +HEAPF32[$334 + ($$0757 << 2) >> 2])) { + if (!($65 > +HEAPF32[$call347 + ($col356$0 << 2) >> 2])) { label = 110; break; } - if (!($351 > +HEAPF32[$334 + ($359 << 2) >> 2])) { + if (!($65 > +HEAPF32[$call347 + ($add382 << 2) >> 2])) { label = 110; break; } - if (!($351 > +HEAPF32[$335 + ($352 << 2) >> 2])) { + if (!($65 > +HEAPF32[$call350 + ($sub375 << 2) >> 2])) { label = 110; break; } - if (!($351 > +HEAPF32[$335 + ($$0757 << 2) >> 2])) { + if (!($65 > +HEAPF32[$call350 + ($col356$0 << 2) >> 2])) { label = 110; break; } - if (!($351 > +HEAPF32[$335 + ($359 << 2) >> 2])) { + if (!($65 > +HEAPF32[$call350 + ($add382 << 2) >> 2])) { label = 110; break; } - if (!($351 > +HEAPF32[$336 + ($352 << 2) >> 2])) { + if (!($65 > +HEAPF32[$call352 + ($sub375 << 2) >> 2])) { label = 110; break; } - if (!($351 > +HEAPF32[$336 + ($359 << 2) >> 2])) { + if (!($65 > +HEAPF32[$call352 + ($add382 << 2) >> 2])) { label = 110; break; } - if (!($351 > +HEAPF32[$337 + ($352 << 2) >> 2])) { + if (!($65 > +HEAPF32[$call355 + ($sub375 << 2) >> 2])) { label = 110; break; } - if (!($351 > +HEAPF32[$337 + ($$0757 << 2) >> 2])) { + if (!($65 > +HEAPF32[$call355 + ($col356$0 << 2) >> 2])) { label = 110; break; } - if (!($351 > +HEAPF32[$337 + ($359 << 2) >> 2])) { + if (!($65 > +HEAPF32[$call355 + ($add382 << 2) >> 2])) { label = 110; break; } - $405 = $350 + -.5; - if (!($351 > +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff($34, $405, $341))) { + $sub438 = $sub370 + -.5; + if (!($65 > +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff($call6, $sub438, $sub439))) { label = 110; break; } - $408 = +HEAPF32[$344 >> 2]; - if (!($408 > +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff($34, $350, $341))) { + $83 = +HEAPF32[$arrayidx362 >> 2]; + if (!($83 > +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff($call6, $sub370, $sub439))) { label = 110; break; } - $411 = +HEAPF32[$344 >> 2]; - $412 = $350 + .5; - if (!($411 > +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff($34, $412, $341))) { + $84 = +HEAPF32[$arrayidx362 >> 2]; + $add447 = $sub370 + .5; + if (!($84 > +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff($call6, $add447, $sub439))) { label = 110; break; } - $415 = +HEAPF32[$344 >> 2]; - if (!($415 > +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff($34, $405, $340))) { + $85 = +HEAPF32[$arrayidx362 >> 2]; + if (!($85 > +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff($call6, $sub438, $sub373))) { label = 110; break; } - $418 = +HEAPF32[$344 >> 2]; - if (!($418 > +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff($34, $350, $340))) { + $86 = +HEAPF32[$arrayidx362 >> 2]; + if (!($86 > +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff($call6, $sub370, $sub373))) { label = 110; break; } - $421 = +HEAPF32[$344 >> 2]; - if (!($421 > +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff($34, $412, $340))) { + $87 = +HEAPF32[$arrayidx362 >> 2]; + if (!($87 > +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff($call6, $add447, $sub373))) { label = 110; break; } - $424 = +HEAPF32[$344 >> 2]; - if (!($424 > +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff($34, $405, $342))) { + $88 = +HEAPF32[$arrayidx362 >> 2]; + if (!($88 > +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff($call6, $sub438, $add464))) { label = 110; break; } - $427 = +HEAPF32[$344 >> 2]; - if (!($427 > +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff($34, $350, $342))) { + $89 = +HEAPF32[$arrayidx362 >> 2]; + if (!($89 > +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff($call6, $sub370, $add464))) { label = 110; break; } - $430 = +HEAPF32[$344 >> 2]; - if ($430 > +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff($34, $412, $342)) {} else label = 110; + $90 = +HEAPF32[$arrayidx362 >> 2]; + if ($90 > +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff($call6, $add447, $add464)) {} else label = 110; } else label = 110; while (0); if ((label | 0) == 110) { label = 0; - $433 = +HEAPF32[$344 >> 2]; - if (!($433 < +HEAPF32[$353 >> 2])) break; - if (!($433 < +HEAPF32[$331 + ($$0757 << 2) >> 2])) break; - $439 = $$0757 + 1 | 0; - if (!($433 < +HEAPF32[$331 + ($439 << 2) >> 2])) break; - if (!($433 < +HEAPF32[$332 + ($352 << 2) >> 2])) break; - if (!($433 < +HEAPF32[$332 + ($$0757 << 2) >> 2])) break; - if (!($433 < +HEAPF32[$332 + ($439 << 2) >> 2])) break; - if (!($433 < +HEAPF32[$334 + ($352 << 2) >> 2])) break; - if (!($433 < +HEAPF32[$334 + ($$0757 << 2) >> 2])) break; - if (!($433 < +HEAPF32[$334 + ($439 << 2) >> 2])) break; - if (!($433 < +HEAPF32[$335 + ($352 << 2) >> 2])) break; - if (!($433 < +HEAPF32[$335 + ($$0757 << 2) >> 2])) break; - if (!($433 < +HEAPF32[$335 + ($439 << 2) >> 2])) break; - if (!($433 < +HEAPF32[$336 + ($352 << 2) >> 2])) break; - if (!($433 < +HEAPF32[$336 + ($439 << 2) >> 2])) break; - if (!($433 < +HEAPF32[$337 + ($352 << 2) >> 2])) break; - if (!($433 < +HEAPF32[$337 + ($$0757 << 2) >> 2])) break; - if (!($433 < +HEAPF32[$337 + ($439 << 2) >> 2])) break; - $485 = $350 + -.5; - if (!($433 < +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff($34, $485, $341))) break; - $488 = +HEAPF32[$344 >> 2]; - if (!($488 < +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff($34, $350, $341))) break; - $491 = +HEAPF32[$344 >> 2]; - $492 = $350 + .5; - if (!($491 < +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff($34, $492, $341))) break; - $495 = +HEAPF32[$344 >> 2]; - if (!($495 < +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff($34, $485, $340))) break; - $498 = +HEAPF32[$344 >> 2]; - if (!($498 < +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff($34, $350, $340))) break; - $501 = +HEAPF32[$344 >> 2]; - if (!($501 < +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff($34, $492, $340))) break; - $504 = +HEAPF32[$344 >> 2]; - if (!($504 < +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff($34, $485, $342))) break; - $507 = +HEAPF32[$344 >> 2]; - if (!($507 < +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff($34, $350, $342))) break; - $510 = +HEAPF32[$344 >> 2]; - if (!($510 < +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff($34, $492, $342))) break; + $91 = +HEAPF32[$arrayidx362 >> 2]; + if (!($91 < +HEAPF32[$arrayidx376 >> 2])) break; + if (!($91 < +HEAPF32[$call342 + ($col356$0 << 2) >> 2])) break; + $add485 = $col356$0 + 1 | 0; + if (!($91 < +HEAPF32[$call342 + ($add485 << 2) >> 2])) break; + if (!($91 < +HEAPF32[$call344 + ($sub375 << 2) >> 2])) break; + if (!($91 < +HEAPF32[$call344 + ($col356$0 << 2) >> 2])) break; + if (!($91 < +HEAPF32[$call344 + ($add485 << 2) >> 2])) break; + if (!($91 < +HEAPF32[$call347 + ($sub375 << 2) >> 2])) break; + if (!($91 < +HEAPF32[$call347 + ($col356$0 << 2) >> 2])) break; + if (!($91 < +HEAPF32[$call347 + ($add485 << 2) >> 2])) break; + if (!($91 < +HEAPF32[$call350 + ($sub375 << 2) >> 2])) break; + if (!($91 < +HEAPF32[$call350 + ($col356$0 << 2) >> 2])) break; + if (!($91 < +HEAPF32[$call350 + ($add485 << 2) >> 2])) break; + if (!($91 < +HEAPF32[$call352 + ($sub375 << 2) >> 2])) break; + if (!($91 < +HEAPF32[$call352 + ($add485 << 2) >> 2])) break; + if (!($91 < +HEAPF32[$call355 + ($sub375 << 2) >> 2])) break; + if (!($91 < +HEAPF32[$call355 + ($col356$0 << 2) >> 2])) break; + if (!($91 < +HEAPF32[$call355 + ($add485 << 2) >> 2])) break; + $sub541 = $sub370 + -.5; + if (!($91 < +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff($call6, $sub541, $sub439))) break; + $109 = +HEAPF32[$arrayidx362 >> 2]; + if (!($109 < +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff($call6, $sub370, $sub439))) break; + $110 = +HEAPF32[$arrayidx362 >> 2]; + $add550 = $sub370 + .5; + if (!($110 < +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff($call6, $add550, $sub439))) break; + $111 = +HEAPF32[$arrayidx362 >> 2]; + if (!($111 < +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff($call6, $sub541, $sub373))) break; + $112 = +HEAPF32[$arrayidx362 >> 2]; + if (!($112 < +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff($call6, $sub370, $sub373))) break; + $113 = +HEAPF32[$arrayidx362 >> 2]; + if (!($113 < +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff($call6, $add550, $sub373))) break; + $114 = +HEAPF32[$arrayidx362 >> 2]; + if (!($114 < +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff($call6, $sub541, $add464))) break; + $115 = +HEAPF32[$arrayidx362 >> 2]; + if (!($115 < +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff($call6, $sub370, $add464))) break; + $116 = +HEAPF32[$arrayidx362 >> 2]; + if (!($116 < +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff($call6, $add550, $add464))) break; } - HEAP32[$17 >> 2] = $35; - HEAP32[$18 >> 2] = $36; - HEAP32[$19 >> 2] = HEAP32[$344 >> 2]; - $514 = +__ZNK6vision25GaussianScaleSpacePyramid14effectiveSigmaEmf($1, $35, $328); - HEAPF32[$20 >> 2] = $514; - __ZN6vision23bilinear_upsample_pointERfS0_ffi($3, $21, $348, $338, $35); - $515 = HEAP32[$6 >> 2] | 0; - if (($515 | 0) == (HEAP32[$16 >> 2] | 0)) { - __ZNSt3__26vectorIN6vision25DoGScaleInvariantDetector12FeaturePointENS_9allocatorIS3_EEE21__push_back_slow_pathIRKS3_EEvOT_($4, $3); + HEAP32[$octave584 >> 2] = $call7; + HEAP32[$scale585 >> 2] = $call8; + HEAP32[$score586 >> 2] = HEAP32[$arrayidx362 >> 2]; + $call588 = +__ZNK6vision25GaussianScaleSpacePyramid14effectiveSigmaEmf($pyramid, $call7, $conv587); + HEAPF32[$sigma589 >> 2] = $call588; + __ZN6vision23bilinear_upsample_pointERfS0_ffi($ref$tmp$i$i797, $y591, $conv368, $conv371, $call7); + $118 = HEAP32[$__end_$i$i$i >> 2] | 0; + if (($118 | 0) == (HEAP32[$__value_$i$i$i$i742 >> 2] | 0)) { + __ZNSt3__26vectorIN6vision25DoGScaleInvariantDetector12FeaturePointENS_9allocatorIS3_EEE21__push_back_slow_pathIRKS3_EEvOT_($mFeaturePoints, $ref$tmp$i$i797); break; } else { - dest = $515; - src = $3; + dest = $118; + src = $ref$tmp$i$i797; stop = dest + 36 | 0; do { HEAP32[dest >> 2] = HEAP32[src >> 2]; dest = dest + 4 | 0; src = src + 4 | 0; } while ((dest | 0) < (stop | 0)); - HEAP32[$6 >> 2] = (HEAP32[$6 >> 2] | 0) + 36; + HEAP32[$__end_$i$i$i >> 2] = (HEAP32[$__end_$i$i$i >> 2] | 0) + 36; break; } } while (0); - $$0757 = $$0757 + 1 | 0; + $col356$0 = $col356$0 + 1 | 0; } - $$0756 = $333; + $row335$0 = $add346; } } - $522 = (__ZNK6vision5Image5widthEv($31) | 0) >>> 1; - if (($522 | 0) == (__ZNK6vision5Image5widthEv($32) | 0) ? ($526 = (__ZNK6vision5Image5widthEv($31) | 0) >>> 1, ($526 | 0) == (__ZNK6vision5Image5widthEv($34) | 0)) : 0) { - $530 = (__ZNK6vision5Image6heightEv($31) | 0) >>> 1; - if (($530 | 0) != (__ZNK6vision5Image6heightEv($32) | 0)) { + $shr610 = (__ZNK6vision5Image5widthEv($call4) | 0) >>> 1; + if (($shr610 | 0) == (__ZNK6vision5Image5widthEv($call5) | 0) ? ($shr615 = (__ZNK6vision5Image5widthEv($call4) | 0) >>> 1, ($shr615 | 0) == (__ZNK6vision5Image5widthEv($call6) | 0)) : 0) { + $shr621 = (__ZNK6vision5Image6heightEv($call4) | 0) >>> 1; + if (($shr621 | 0) != (__ZNK6vision5Image6heightEv($call5) | 0)) { label = 144; break L1; } - $549 = (__ZNK6vision5Image6heightEv($31) | 0) >>> 1; - if (($549 | 0) != (__ZNK6vision5Image6heightEv($34) | 0)) { + $shr637 = (__ZNK6vision5Image6heightEv($call4) | 0) >>> 1; + if (($shr637 | 0) != (__ZNK6vision5Image6heightEv($call6) | 0)) { label = 146; break L1; } - $568 = (__ZNK6vision5Image5widthEv($32) | 0) + -1 | 0; - $570 = (__ZNK6vision5Image6heightEv($32) | 0) + -1 | 0; - $571 = +($36 | 0); - $$0759 = 1; + $sub653 = (__ZNK6vision5Image5widthEv($call5) | 0) + -1 | 0; + $sub655 = (__ZNK6vision5Image6heightEv($call5) | 0) + -1 | 0; + $conv907 = +($call8 | 0); + $row656$0 = 1; while (1) { - if ($$0759 >>> 0 >= $570 >>> 0) break L76; - $573 = $$0759 + -1 | 0; - $574 = __ZNK6vision5Image3getIfEEPKT_m($32, $573) | 0; - $575 = __ZNK6vision5Image3getIfEEPKT_m($32, $$0759) | 0; - $576 = $$0759 + 1 | 0; - $577 = __ZNK6vision5Image3getIfEEPKT_m($32, $576) | 0; - $578 = __ZNK6vision5Image3getIfEEPKT_m($34, $573) | 0; - $579 = __ZNK6vision5Image3getIfEEPKT_m($34, $$0759) | 0; - $580 = __ZNK6vision5Image3getIfEEPKT_m($34, $576) | 0; - $583 = +($$0759 << 1 >>> 0) + .5; - $584 = +($$0759 >>> 0); - $585 = $583 + -2.0; - $586 = $583 + 2.0; - $$0753 = 1; + if ($row656$0 >>> 0 >= $sub655 >>> 0) break L76; + $sub662 = $row656$0 + -1 | 0; + $call663 = __ZNK6vision5Image3getIfEEPKT_m($call5, $sub662) | 0; + $call665 = __ZNK6vision5Image3getIfEEPKT_m($call5, $row656$0) | 0; + $add667 = $row656$0 + 1 | 0; + $call668 = __ZNK6vision5Image3getIfEEPKT_m($call5, $add667) | 0; + $call671 = __ZNK6vision5Image3getIfEEPKT_m($call6, $sub662) | 0; + $call673 = __ZNK6vision5Image3getIfEEPKT_m($call6, $row656$0) | 0; + $call676 = __ZNK6vision5Image3getIfEEPKT_m($call6, $add667) | 0; + $add693 = +($row656$0 << 1 >>> 0) + .5; + $conv913 = +($row656$0 >>> 0); + $sub759 = $add693 + -2.0; + $add784 = $add693 + 2.0; + $col677$0 = 1; while (1) { - if ($$0753 >>> 0 >= $568 >>> 0) break; - $588 = $575 + ($$0753 << 2) | 0; - do if (!(+__ZN6vision3sqrIfEET_S1_(+HEAPF32[$588 >> 2]) < $9)) { - $594 = +($$0753 << 1 >>> 0) + .5; - $595 = +HEAPF32[$588 >> 2]; - $596 = $$0753 + -1 | 0; - $597 = $574 + ($596 << 2) | 0; - do if ((($595 > +HEAPF32[$597 >> 2] ? $595 > +HEAPF32[$574 + ($$0753 << 2) >> 2] : 0) ? ($603 = $$0753 + 1 | 0, $595 > +HEAPF32[$574 + ($603 << 2) >> 2]) : 0) ? $595 > +HEAPF32[$575 + ($596 << 2) >> 2] : 0) { - if (!($595 > +HEAPF32[$575 + ($603 << 2) >> 2])) { + if ($col677$0 >>> 0 >= $sub653 >>> 0) break; + $arrayidx683 = $call665 + ($col677$0 << 2) | 0; + do if (!(+__ZN6vision3sqrIfEET_S1_(+HEAPF32[$arrayidx683 >> 2]) < $call)) { + $add690 = +($col677$0 << 1 >>> 0) + .5; + $124 = +HEAPF32[$arrayidx683 >> 2]; + $sub695 = $col677$0 + -1 | 0; + $arrayidx696 = $call663 + ($sub695 << 2) | 0; + do if ((($124 > +HEAPF32[$arrayidx696 >> 2] ? $124 > +HEAPF32[$call663 + ($col677$0 << 2) >> 2] : 0) ? ($add702 = $col677$0 + 1 | 0, $124 > +HEAPF32[$call663 + ($add702 << 2) >> 2]) : 0) ? $124 > +HEAPF32[$call665 + ($sub695 << 2) >> 2] : 0) { + if (!($124 > +HEAPF32[$call665 + ($add702 << 2) >> 2])) { label = 179; break; } - if (!($595 > +HEAPF32[$577 + ($596 << 2) >> 2])) { + if (!($124 > +HEAPF32[$call668 + ($sub695 << 2) >> 2])) { label = 179; break; } - if (!($595 > +HEAPF32[$577 + ($$0753 << 2) >> 2])) { + if (!($124 > +HEAPF32[$call668 + ($col677$0 << 2) >> 2])) { label = 179; break; } - if (!($595 > +HEAPF32[$577 + ($603 << 2) >> 2])) { + if (!($124 > +HEAPF32[$call668 + ($add702 << 2) >> 2])) { label = 179; break; } - if (!($595 > +HEAPF32[$578 + ($596 << 2) >> 2])) { + if (!($124 > +HEAPF32[$call671 + ($sub695 << 2) >> 2])) { label = 179; break; } - if (!($595 > +HEAPF32[$578 + ($$0753 << 2) >> 2])) { + if (!($124 > +HEAPF32[$call671 + ($col677$0 << 2) >> 2])) { label = 179; break; } - if (!($595 > +HEAPF32[$578 + ($603 << 2) >> 2])) { + if (!($124 > +HEAPF32[$call671 + ($add702 << 2) >> 2])) { label = 179; break; } - if (!($595 > +HEAPF32[$579 + ($596 << 2) >> 2])) { + if (!($124 > +HEAPF32[$call673 + ($sub695 << 2) >> 2])) { label = 179; break; } - if (!($595 > +HEAPF32[$579 + ($$0753 << 2) >> 2])) { + if (!($124 > +HEAPF32[$call673 + ($col677$0 << 2) >> 2])) { label = 179; break; } - if (!($595 > +HEAPF32[$579 + ($603 << 2) >> 2])) { + if (!($124 > +HEAPF32[$call673 + ($add702 << 2) >> 2])) { label = 179; break; } - if (!($595 > +HEAPF32[$580 + ($596 << 2) >> 2])) { + if (!($124 > +HEAPF32[$call676 + ($sub695 << 2) >> 2])) { label = 179; break; } - if (!($595 > +HEAPF32[$580 + ($$0753 << 2) >> 2])) { + if (!($124 > +HEAPF32[$call676 + ($col677$0 << 2) >> 2])) { label = 179; break; } - if (!($595 > +HEAPF32[$580 + ($603 << 2) >> 2])) { + if (!($124 > +HEAPF32[$call676 + ($add702 << 2) >> 2])) { label = 179; break; } - $649 = $594 + -2.0; - if (!($595 > +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff($31, $649, $585))) { + $sub758 = $add690 + -2.0; + if (!($124 > +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff($call4, $sub758, $sub759))) { label = 179; break; } - $652 = +HEAPF32[$588 >> 2]; - if (!($652 > +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff($31, $594, $585))) { + $142 = +HEAPF32[$arrayidx683 >> 2]; + if (!($142 > +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff($call4, $add690, $sub759))) { label = 179; break; } - $655 = +HEAPF32[$588 >> 2]; - $656 = $594 + 2.0; - if (!($655 > +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff($31, $656, $585))) { + $143 = +HEAPF32[$arrayidx683 >> 2]; + $add767 = $add690 + 2.0; + if (!($143 > +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff($call4, $add767, $sub759))) { label = 179; break; } - $659 = +HEAPF32[$588 >> 2]; - if (!($659 > +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff($31, $649, $583))) { + $144 = +HEAPF32[$arrayidx683 >> 2]; + if (!($144 > +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff($call4, $sub758, $add693))) { label = 179; break; } - $662 = +HEAPF32[$588 >> 2]; - if (!($662 > +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff($31, $594, $583))) { + $145 = +HEAPF32[$arrayidx683 >> 2]; + if (!($145 > +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff($call4, $add690, $add693))) { label = 179; break; } - $665 = +HEAPF32[$588 >> 2]; - if (!($665 > +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff($31, $656, $583))) { + $146 = +HEAPF32[$arrayidx683 >> 2]; + if (!($146 > +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff($call4, $add767, $add693))) { label = 179; break; } - $668 = +HEAPF32[$588 >> 2]; - if (!($668 > +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff($31, $649, $586))) { + $147 = +HEAPF32[$arrayidx683 >> 2]; + if (!($147 > +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff($call4, $sub758, $add784))) { label = 179; break; } - $671 = +HEAPF32[$588 >> 2]; - if (!($671 > +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff($31, $594, $586))) { + $148 = +HEAPF32[$arrayidx683 >> 2]; + if (!($148 > +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff($call4, $add690, $add784))) { label = 179; break; } - $674 = +HEAPF32[$588 >> 2]; - if ($674 > +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff($31, $656, $586)) {} else label = 179; + $149 = +HEAPF32[$arrayidx683 >> 2]; + if ($149 > +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff($call4, $add767, $add784)) {} else label = 179; } else label = 179; while (0); if ((label | 0) == 179) { label = 0; - $677 = +HEAPF32[$588 >> 2]; - if (!($677 < +HEAPF32[$597 >> 2])) break; - if (!($677 < +HEAPF32[$574 + ($$0753 << 2) >> 2])) break; - $683 = $$0753 + 1 | 0; - if (!($677 < +HEAPF32[$574 + ($683 << 2) >> 2])) break; - if (!($677 < +HEAPF32[$575 + ($596 << 2) >> 2])) break; - if (!($677 < +HEAPF32[$575 + ($683 << 2) >> 2])) break; - if (!($677 < +HEAPF32[$577 + ($596 << 2) >> 2])) break; - if (!($677 < +HEAPF32[$577 + ($$0753 << 2) >> 2])) break; - if (!($677 < +HEAPF32[$577 + ($683 << 2) >> 2])) break; - if (!($677 < +HEAPF32[$578 + ($596 << 2) >> 2])) break; - if (!($677 < +HEAPF32[$578 + ($$0753 << 2) >> 2])) break; - if (!($677 < +HEAPF32[$578 + ($683 << 2) >> 2])) break; - if (!($677 < +HEAPF32[$579 + ($596 << 2) >> 2])) break; - if (!($677 < +HEAPF32[$579 + ($$0753 << 2) >> 2])) break; - if (!($677 < +HEAPF32[$579 + ($683 << 2) >> 2])) break; - if (!($677 < +HEAPF32[$580 + ($596 << 2) >> 2])) break; - if (!($677 < +HEAPF32[$580 + ($$0753 << 2) >> 2])) break; - if (!($677 < +HEAPF32[$580 + ($683 << 2) >> 2])) break; - $729 = $594 + -2.0; - if (!($677 < +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff($31, $729, $585))) break; - $732 = +HEAPF32[$588 >> 2]; - if (!($732 < +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff($31, $594, $585))) break; - $735 = +HEAPF32[$588 >> 2]; - $736 = $594 + 2.0; - if (!($735 < +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff($31, $736, $585))) break; - $739 = +HEAPF32[$588 >> 2]; - if (!($739 < +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff($31, $729, $583))) break; - $742 = +HEAPF32[$588 >> 2]; - if (!($742 < +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff($31, $594, $583))) break; - $745 = +HEAPF32[$588 >> 2]; - if (!($745 < +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff($31, $736, $583))) break; - $748 = +HEAPF32[$588 >> 2]; - if (!($748 < +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff($31, $729, $586))) break; - $751 = +HEAPF32[$588 >> 2]; - if (!($751 < +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff($31, $594, $586))) break; - $754 = +HEAPF32[$588 >> 2]; - if (!($754 < +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff($31, $736, $586))) break; + $150 = +HEAPF32[$arrayidx683 >> 2]; + if (!($150 < +HEAPF32[$arrayidx696 >> 2])) break; + if (!($150 < +HEAPF32[$call663 + ($col677$0 << 2) >> 2])) break; + $add805 = $col677$0 + 1 | 0; + if (!($150 < +HEAPF32[$call663 + ($add805 << 2) >> 2])) break; + if (!($150 < +HEAPF32[$call665 + ($sub695 << 2) >> 2])) break; + if (!($150 < +HEAPF32[$call665 + ($add805 << 2) >> 2])) break; + if (!($150 < +HEAPF32[$call668 + ($sub695 << 2) >> 2])) break; + if (!($150 < +HEAPF32[$call668 + ($col677$0 << 2) >> 2])) break; + if (!($150 < +HEAPF32[$call668 + ($add805 << 2) >> 2])) break; + if (!($150 < +HEAPF32[$call671 + ($sub695 << 2) >> 2])) break; + if (!($150 < +HEAPF32[$call671 + ($col677$0 << 2) >> 2])) break; + if (!($150 < +HEAPF32[$call671 + ($add805 << 2) >> 2])) break; + if (!($150 < +HEAPF32[$call673 + ($sub695 << 2) >> 2])) break; + if (!($150 < +HEAPF32[$call673 + ($col677$0 << 2) >> 2])) break; + if (!($150 < +HEAPF32[$call673 + ($add805 << 2) >> 2])) break; + if (!($150 < +HEAPF32[$call676 + ($sub695 << 2) >> 2])) break; + if (!($150 < +HEAPF32[$call676 + ($col677$0 << 2) >> 2])) break; + if (!($150 < +HEAPF32[$call676 + ($add805 << 2) >> 2])) break; + $sub861 = $add690 + -2.0; + if (!($150 < +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff($call4, $sub861, $sub759))) break; + $168 = +HEAPF32[$arrayidx683 >> 2]; + if (!($168 < +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff($call4, $add690, $sub759))) break; + $169 = +HEAPF32[$arrayidx683 >> 2]; + $add870 = $add690 + 2.0; + if (!($169 < +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff($call4, $add870, $sub759))) break; + $170 = +HEAPF32[$arrayidx683 >> 2]; + if (!($170 < +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff($call4, $sub861, $add693))) break; + $171 = +HEAPF32[$arrayidx683 >> 2]; + if (!($171 < +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff($call4, $add690, $add693))) break; + $172 = +HEAPF32[$arrayidx683 >> 2]; + if (!($172 < +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff($call4, $add870, $add693))) break; + $173 = +HEAPF32[$arrayidx683 >> 2]; + if (!($173 < +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff($call4, $sub861, $add784))) break; + $174 = +HEAPF32[$arrayidx683 >> 2]; + if (!($174 < +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff($call4, $add690, $add784))) break; + $175 = +HEAPF32[$arrayidx683 >> 2]; + if (!($175 < +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff($call4, $add870, $add784))) break; } - HEAP32[$22 >> 2] = $35; - HEAP32[$23 >> 2] = $36; - HEAP32[$24 >> 2] = HEAP32[$588 >> 2]; - $758 = +__ZNK6vision25GaussianScaleSpacePyramid14effectiveSigmaEmf($1, $35, $571); - HEAPF32[$25 >> 2] = $758; - __ZN6vision23bilinear_upsample_pointERfS0_ffi($3, $26, +($$0753 >>> 0), $584, $35); - $760 = HEAP32[$6 >> 2] | 0; - if (($760 | 0) == (HEAP32[$16 >> 2] | 0)) { - __ZNSt3__26vectorIN6vision25DoGScaleInvariantDetector12FeaturePointENS_9allocatorIS3_EEE21__push_back_slow_pathIRKS3_EEvOT_($4, $3); + HEAP32[$octave904 >> 2] = $call7; + HEAP32[$scale905 >> 2] = $call8; + HEAP32[$score906 >> 2] = HEAP32[$arrayidx683 >> 2]; + $call908 = +__ZNK6vision25GaussianScaleSpacePyramid14effectiveSigmaEmf($pyramid, $call7, $conv907); + HEAPF32[$sigma909 >> 2] = $call908; + __ZN6vision23bilinear_upsample_pointERfS0_ffi($ref$tmp$i$i797, $y911, +($col677$0 >>> 0), $conv913, $call7); + $177 = HEAP32[$__end_$i$i$i >> 2] | 0; + if (($177 | 0) == (HEAP32[$__value_$i$i$i$i742 >> 2] | 0)) { + __ZNSt3__26vectorIN6vision25DoGScaleInvariantDetector12FeaturePointENS_9allocatorIS3_EEE21__push_back_slow_pathIRKS3_EEvOT_($mFeaturePoints, $ref$tmp$i$i797); break; } else { - dest = $760; - src = $3; + dest = $177; + src = $ref$tmp$i$i797; stop = dest + 36 | 0; do { HEAP32[dest >> 2] = HEAP32[src >> 2]; dest = dest + 4 | 0; src = src + 4 | 0; } while ((dest | 0) < (stop | 0)); - HEAP32[$6 >> 2] = (HEAP32[$6 >> 2] | 0) + 36; + HEAP32[$__end_$i$i$i >> 2] = (HEAP32[$__end_$i$i$i >> 2] | 0) + 36; break; } } while (0); - $$0753 = $$0753 + 1 | 0; + $col677$0 = $col677$0 + 1 | 0; } - $$0759 = $576; + $row656$0 = $add667; } } } while (0); - $$0750 = $33; + $i$0 = $add; } if ((label | 0) == 3) { STACKTOP = sp; return; } else if ((label | 0) == 7) { - $51 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 30723) | 0, 26748) | 0, 39072) | 0, 192) | 0, 39079) | 0, 30775) | 0; - __ZNKSt3__28ios_base6getlocEv($3, $51 + (HEAP32[(HEAP32[$51 >> 2] | 0) + -12 >> 2] | 0) | 0); - $56 = __ZNKSt3__26locale9use_facetERNS0_2idE($3, 66512) | 0; - $60 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$56 >> 2] | 0) + 28 >> 2] & 127]($56, 10) | 0; - __ZNSt3__26localeD2Ev($3); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($51, $60) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($51) | 0; + $call24 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 30875) | 0, 26748) | 0, 39794) | 0, 192) | 0, 39801) | 0, 30927) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i$i797, $call24 + (HEAP32[(HEAP32[$call24 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i$i = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i$i797, 67360) | 0; + $call$i2$i$i = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i$i >> 2] | 0) + 28 >> 2] & 127]($call$i1$i$i, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i$i797); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call24, $call$i2$i$i) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call24) | 0; _abort(); } else if ((label | 0) == 9) { - $69 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 30798) | 0, 26748) | 0, 39072) | 0, 193) | 0, 39079) | 0, 30775) | 0; - __ZNKSt3__28ios_base6getlocEv($3, $69 + (HEAP32[(HEAP32[$69 >> 2] | 0) + -12 >> 2] | 0) | 0); - $74 = __ZNKSt3__26locale9use_facetERNS0_2idE($3, 66512) | 0; - $78 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$74 >> 2] | 0) + 28 >> 2] & 127]($74, 10) | 0; - __ZNSt3__26localeD2Ev($3); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($69, $78) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($69) | 0; + $call36 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 30950) | 0, 26748) | 0, 39794) | 0, 193) | 0, 39801) | 0, 30927) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i$i797, $call36 + (HEAP32[(HEAP32[$call36 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i$i732 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i$i797, 67360) | 0; + $call$i2$i$i735 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i$i732 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i$i732, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i$i797); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call36, $call$i2$i$i735) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call36) | 0; _abort(); } else if ((label | 0) == 75) { - $283 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 30723) | 0, 26748) | 0, 39072) | 0, 277) | 0, 39079) | 0, 30775) | 0; - __ZNKSt3__28ios_base6getlocEv($3, $283 + (HEAP32[(HEAP32[$283 >> 2] | 0) + -12 >> 2] | 0) | 0); - $288 = __ZNKSt3__26locale9use_facetERNS0_2idE($3, 66512) | 0; - $292 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$288 >> 2] | 0) + 28 >> 2] & 127]($288, 10) | 0; - __ZNSt3__26localeD2Ev($3); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($283, $292) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($283) | 0; + $call299 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 30875) | 0, 26748) | 0, 39794) | 0, 277) | 0, 39801) | 0, 30927) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i$i797, $call299 + (HEAP32[(HEAP32[$call299 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i$i753 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i$i797, 67360) | 0; + $call$i2$i$i756 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i$i753 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i$i753, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i$i797); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call299, $call$i2$i$i756) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call299) | 0; _abort(); } else if ((label | 0) == 77) { - $302 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 30850) | 0, 26748) | 0, 39072) | 0, 278) | 0, 39079) | 0, 30775) | 0; - __ZNKSt3__28ios_base6getlocEv($3, $302 + (HEAP32[(HEAP32[$302 >> 2] | 0) + -12 >> 2] | 0) | 0); - $307 = __ZNKSt3__26locale9use_facetERNS0_2idE($3, 66512) | 0; - $311 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$307 >> 2] | 0) + 28 >> 2] & 127]($307, 10) | 0; - __ZNSt3__26localeD2Ev($3); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($302, $311) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($302) | 0; + $call315 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 31002) | 0, 26748) | 0, 39794) | 0, 278) | 0, 39801) | 0, 30927) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i$i797, $call315 + (HEAP32[(HEAP32[$call315 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i$i767 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i$i797, 67360) | 0; + $call$i2$i$i770 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i$i767 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i$i767, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i$i797); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call315, $call$i2$i$i770) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call315) | 0; _abort(); } else if ((label | 0) == 144) { - $538 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 30907) | 0, 26748) | 0, 39072) | 0, 362) | 0, 39079) | 0, 30775) | 0; - __ZNKSt3__28ios_base6getlocEv($3, $538 + (HEAP32[(HEAP32[$538 >> 2] | 0) + -12 >> 2] | 0) | 0); - $543 = __ZNKSt3__26locale9use_facetERNS0_2idE($3, 66512) | 0; - $547 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$543 >> 2] | 0) + 28 >> 2] & 127]($543, 10) | 0; - __ZNSt3__26localeD2Ev($3); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($538, $547) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($538) | 0; + $call630 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 31059) | 0, 26748) | 0, 39794) | 0, 362) | 0, 39801) | 0, 30927) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i$i797, $call630 + (HEAP32[(HEAP32[$call630 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i$i788 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i$i797, 67360) | 0; + $call$i2$i$i791 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i$i788 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i$i788, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i$i797); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call630, $call$i2$i$i791) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call630) | 0; _abort(); } else if ((label | 0) == 146) { - $557 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 30964) | 0, 26748) | 0, 39072) | 0, 363) | 0, 39079) | 0, 30775) | 0; - __ZNKSt3__28ios_base6getlocEv($3, $557 + (HEAP32[(HEAP32[$557 >> 2] | 0) + -12 >> 2] | 0) | 0); - $562 = __ZNKSt3__26locale9use_facetERNS0_2idE($3, 66512) | 0; - $566 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$562 >> 2] | 0) + 28 >> 2] & 127]($562, 10) | 0; - __ZNSt3__26localeD2Ev($3); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($557, $566) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($557) | 0; + $call646 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 31116) | 0, 26748) | 0, 39794) | 0, 363) | 0, 39801) | 0, 30927) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i$i797, $call646 + (HEAP32[(HEAP32[$call646 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i$i802 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i$i797, 67360) | 0; + $call$i2$i$i805 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i$i802 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i$i802, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i$i797); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call646, $call$i2$i$i805) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call646) | 0; _abort(); } } -function __ZNSt3__29money_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE8__do_getERS4_S4_bRKNS_6localeEjRjRbRKNS_5ctypeIwEERNS_10unique_ptrIwPFvPvEEERPwSM_($0, $1, $2, $3, $4, $5, $6, $7, $8, $9, $10) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - $6 = $6 | 0; - $7 = $7 | 0; - $8 = $8 | 0; - $9 = $9 | 0; - $10 = $10 | 0; - var $$0 = 0, $$0$i$i = 0, $$0$i$i$i$i = 0, $$0$i$i$i$i162 = 0, $$0$i$i$i$i207 = 0, $$0$i$i$i$i220 = 0, $$0$i$i$i$i236 = 0, $$0$i$i$i$i251 = 0, $$0$i$i$i$i266 = 0, $$0$i$i149 = 0, $$0$i$i151 = 0, $$0$i$i154 = 0, $$0$i$i157 = 0, $$0$i$i160 = 0, $$0$i$i161 = 0, $$0$i$i174 = 0, $$0$i$i176 = 0, $$0$i$i182 = 0, $$0$i$i189 = 0, $$0$i$i194 = 0, $$0$i$i2$i$i = 0, $$0$i$i2$i$i168 = 0, $$0$i$i2$i$i213 = 0, $$0$i$i2$i$i226 = 0, $$0$i$i2$i$i242 = 0, $$0$i$i2$i$i257 = 0, $$0$i$i2$i$i272 = 0, $$0$i$i203 = 0, $$0$i$i232 = 0, $$0$i$i248 = 0, $$0$i$i263 = 0, $$0$i$i278 = 0, $$0$i$i280 = 0, $$0126 = 0, $$0131 = 0, $$0133 = 0, $$10 = 0, $$1132 = 0, $$2128$ph = 0, $$pre$phiZ2D = 0, $$sroa$0289$0$ptr = 0, $$sroa$0309$0 = 0, $$sroa$0309$1 = 0, $$sroa$08$0$ptr$i = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $12 = 0, $123 = 0, $126 = 0, $13 = 0, $139 = 0, $14 = 0, $141 = 0, $15 = 0, $153 = 0, $155 = 0, $16 = 0, $169 = 0, $17 = 0, $170 = 0, $171 = 0, $18 = 0, $182 = 0, $186 = 0, $187 = 0, $19 = 0, $191 = 0, $194 = 0, $196 = 0, $198 = 0, $20 = 0, $201 = 0, $21 = 0, $214 = 0, $215 = 0, $216 = 0, $22 = 0, $225 = 0, $23 = 0, $237 = 0, $238 = 0, $239 = 0, $24 = 0, $248 = 0, $25 = 0, $266 = 0, $267 = 0, $268 = 0, $271 = 0, $277 = 0, $295 = 0, $296 = 0, $297 = 0, $306 = 0, $320 = 0, $322 = 0, $325 = 0, $327 = 0, $329 = 0, $334 = 0, $335 = 0, $339 = 0, $342 = 0, $352 = 0, $353 = 0, $354 = 0, $355 = 0, $357 = 0, $358 = 0, $359 = 0, $360 = 0, $361 = 0, $365 = 0, $366 = 0, $370 = 0, $376 = 0, $377 = 0, $381 = 0, $385 = 0, $388 = 0, $401 = 0, $403 = 0, $41 = 0, $415 = 0, $417 = 0, $42 = 0, $429 = 0, $430 = 0, $431 = 0, $44 = 0, $441 = 0, $442 = 0, $45 = 0, $452 = 0, $455 = 0, $46 = 0, $468 = 0, $47 = 0, $470 = 0, $482 = 0, $484 = 0, $49 = 0, $498 = 0, $502 = 0, $504 = 0, $51 = 0, $513 = 0, $517 = 0, $518 = 0, $519 = 0, $52 = 0, $520 = 0, $53 = 0, $530 = 0, $536 = 0, $539 = 0, $542 = 0, $55 = 0, $555 = 0, $557 = 0, $56 = 0, $569 = 0, $571 = 0, $58 = 0, $585 = 0, $586 = 0, $587 = 0, $598 = 0, $601 = 0, $61 = 0, $614 = 0, $616 = 0, $628 = 0, $630 = 0, $649 = 0, $651 = 0, $661 = 0, $665 = 0, $666 = 0, $667 = 0, $684 = 0, $685 = 0, $686 = 0, $691 = 0, $692 = 0, $695 = 0, $707 = 0, $710 = 0, $722 = 0, $724 = 0, $73 = 0, $738 = 0, $744 = 0, $745 = 0, $746 = 0, $755 = 0, $756 = 0, $76 = 0, $762 = 0, $766 = 0, $767 = 0, $768 = 0, $769 = 0, $770 = 0, $771 = 0, $772 = 0, $773 = 0, $774 = 0, $775 = 0, $776 = 0, $777 = 0, $778 = 0, $779 = 0, $780 = 0, $781 = 0, $782 = 0, $783 = 0, $784 = 0, $785 = 0, $786 = 0, $91 = 0, $93 = 0, label = 0, sp = 0; +function __ZNSt3__29money_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE8__do_getERS4_S4_bRKNS_6localeEjRjRbRKNS_5ctypeIwEERNS_10unique_ptrIwPFvPvEEERPwSM_($__b, $__e, $__intl, $__loc, $__flags, $__err, $__neg, $__ct, $__wb, $__wn, $__we) { + $__b = $__b | 0; + $__e = $__e | 0; + $__intl = $__intl | 0; + $__loc = $__loc | 0; + $__flags = $__flags | 0; + $__err = $__err | 0; + $__neg = $__neg | 0; + $__ct = $__ct | 0; + $__wb = $__wb | 0; + $__wn = $__wn | 0; + $__we = $__we | 0; + var $102 = 0, $107 = 0, $108 = 0, $110 = 0, $111 = 0, $112 = 0, $114 = 0, $116 = 0, $117 = 0, $12 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $127 = 0, $13 = 0, $130 = 0, $132 = 0, $133 = 0, $134 = 0, $138 = 0, $139 = 0, $143 = 0, $144 = 0, $149 = 0, $150 = 0, $154 = 0, $158 = 0, $159 = 0, $163 = 0, $164 = 0, $168 = 0, $169 = 0, $174 = 0, $176 = 0, $177 = 0, $18 = 0, $180 = 0, $182 = 0, $183 = 0, $184 = 0, $189 = 0, $19 = 0, $191 = 0, $193 = 0, $194 = 0, $198 = 0, $199 = 0, $203 = 0, $204 = 0, $210 = 0, $211 = 0, $216 = 0, $217 = 0, $221 = 0, $222 = 0, $226 = 0, $227 = 0, $235 = 0, $236 = 0, $24 = 0, $240 = 0, $242 = 0, $243 = 0, $25 = 0, $251 = 0, $253 = 0, $254 = 0, $258 = 0, $259 = 0, $263 = 0, $264 = 0, $272 = 0, $273 = 0, $277 = 0, $278 = 0, $281 = 0, $283 = 0, $284 = 0, $285 = 0, $286 = 0, $287 = 0, $288 = 0, $289 = 0, $290 = 0, $291 = 0, $292 = 0, $293 = 0, $294 = 0, $295 = 0, $296 = 0, $297 = 0, $298 = 0, $299 = 0, $30 = 0, $300 = 0, $301 = 0, $302 = 0, $303 = 0, $31 = 0, $35 = 0, $36 = 0, $40 = 0, $41 = 0, $46 = 0, $47 = 0, $51 = 0, $53 = 0, $55 = 0, $56 = 0, $63 = 0, $64 = 0, $68 = 0, $7 = 0, $73 = 0, $74 = 0, $78 = 0, $8 = 0, $85 = 0, $86 = 0, $90 = 0, $97 = 0, $98 = 0, $__dp = 0, $__et = 0, $__fd = 0, $__gb = 0, $__gbuf = 0, $__ge = 0, $__gn = 0, $__grp = 0, $__i$0 = 0, $__i$0$i$i = 0, $__i$0$i$i101 = 0, $__i$0$i$i108 = 0, $__i$0$i$i116 = 0, $__i$0$i$i124 = 0, $__ng$0 = 0, $__ng$2$ph = 0, $__ninp_$i$i = 0, $__ninp_$i$i146 = 0, $__ninp_$i$i215 = 0, $__ninp_$i$i277 = 0, $__ninp_$i$i305 = 0, $__ninp_$i$i345 = 0, $__ninp_$i$i385 = 0, $__ninp_$i$i609 = 0, $__ninp_$i$i701 = 0, $__ninp_$i$i769 = 0, $__ninp_$i$i851 = 0, $__nsn = 0, $__p$0 = 0, $__pat = 0, $__psn = 0, $__size_$i$i = 0, $__size_$i$i$i404 = 0, $__size_$i$i231 = 0, $__size_$i$i428 = 0, $__size_$i$i694 = 0, $__size_$i$i863 = 0, $__size_$i2$i = 0, $__size_$i2$i$i541 = 0, $__size_$i2$i233 = 0, $__size_$i2$i430 = 0, $__size_$i2$i865 = 0, $__size_$i3$i = 0, $__spaces = 0, $__sym = 0, $__sym_curr_char$sroa$0$0$ptr = 0, $__sym_space_end$sroa$0$0 = 0, $__sym_space_end$sroa$0$1 = 0, $__trailing_sign$0 = 0, $__trailing_sign$1 = 0, $__ts = 0, $__we$addr = 0, $add$ptr$i446 = 0, $add$ptr$i446898 = 0, $add$ptr$i458$pre$phiZZZ2D = 0, $agg$tmp26$sroa$0$0$ptr$i = 0, $arrayidx89 = 0, $cmp$i$i266 = 0, $cmp$i$i347 = 0, $cmp26 = 0, $cmp94895 = 0, $cond$i = 0, $cond$i$i$i = 0, $cond$i$i426 = 0, $cond$i237 = 0, $cond$i869 = 0, $conv$i$i432 = 0, $retval$0$i$i = 0, $retval$0$i$i$i$i = 0, $retval$0$i$i$i$i169 = 0, $retval$0$i$i$i$i500 = 0, $retval$0$i$i$i$i565 = 0, $retval$0$i$i$i$i649 = 0, $retval$0$i$i$i$i725 = 0, $retval$0$i$i$i$i792 = 0, $retval$0$i$i13$i$i = 0, $retval$0$i$i13$i$i190 = 0, $retval$0$i$i13$i$i521 = 0, $retval$0$i$i13$i$i586 = 0, $retval$0$i$i13$i$i670 = 0, $retval$0$i$i13$i$i746 = 0, $retval$0$i$i13$i$i813 = 0, $retval$0$i$i156 = 0, $retval$0$i$i209 = 0, $retval$0$i$i225 = 0, $retval$0$i$i273 = 0, $retval$0$i$i334 = 0, $retval$0$i$i374 = 0, $retval$0$i$i471 = 0, $retval$0$i$i605 = 0, $retval$0$i$i689 = 0, $retval$0$i$i766 = 0, $retval$0$i$i833 = 0, $retval$0$i$i848 = 0, $retval$10 = 0, $sub$ptr$div$i = 0, $tobool$i$i$i412 = 0, $tobool$i$i$i539 = 0, $tobool$i$i$i623 = 0, $tobool$i$i429 = 0, label = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 512 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(512); - $11 = sp + 496 | 0; - $12 = sp; - $13 = sp + 488 | 0; - $14 = sp + 480 | 0; - $15 = sp + 476 | 0; - $16 = sp + 500 | 0; - $17 = sp + 472 | 0; - $18 = sp + 468 | 0; - $19 = sp + 456 | 0; - $20 = sp + 444 | 0; - $21 = sp + 432 | 0; - $22 = sp + 420 | 0; - $23 = sp + 408 | 0; - $24 = sp + 404 | 0; - $25 = sp + 400 | 0; - HEAP32[$11 >> 2] = $10; - HEAP32[$13 >> 2] = $12; - HEAP32[$13 + 4 >> 2] = 214; - HEAP32[$14 >> 2] = $12; - HEAP32[$15 >> 2] = $12 + 400; - HEAP32[$19 >> 2] = 0; - HEAP32[$19 + 4 >> 2] = 0; - HEAP32[$19 + 8 >> 2] = 0; - $$0$i$i = 0; + $__we$addr = sp + 496 | 0; + $__gbuf = sp; + $__gb = sp + 488 | 0; + $__gn = sp + 480 | 0; + $__ge = sp + 476 | 0; + $__pat = sp + 500 | 0; + $__dp = sp + 472 | 0; + $__ts = sp + 468 | 0; + $__grp = sp + 456 | 0; + $__sym = sp + 444 | 0; + $__psn = sp + 432 | 0; + $__nsn = sp + 420 | 0; + $__spaces = sp + 408 | 0; + $__fd = sp + 404 | 0; + $__et = sp + 400 | 0; + HEAP32[$__we$addr >> 2] = $__we; + HEAP32[$__gb >> 2] = $__gbuf; + HEAP32[$__gb + 4 >> 2] = 214; + HEAP32[$__gn >> 2] = $__gbuf; + HEAP32[$__ge >> 2] = $__gbuf + 400; + HEAP32[$__grp >> 2] = 0; + HEAP32[$__grp + 4 >> 2] = 0; + HEAP32[$__grp + 8 >> 2] = 0; + $__i$0$i$i = 0; while (1) { - if (($$0$i$i | 0) == 3) break; - HEAP32[$19 + ($$0$i$i << 2) >> 2] = 0; - $$0$i$i = $$0$i$i + 1 | 0; - } - HEAP32[$20 >> 2] = 0; - HEAP32[$20 + 4 >> 2] = 0; - HEAP32[$20 + 8 >> 2] = 0; - $$0$i$i149 = 0; + if (($__i$0$i$i | 0) == 3) break; + HEAP32[$__grp + ($__i$0$i$i << 2) >> 2] = 0; + $__i$0$i$i = $__i$0$i$i + 1 | 0; + } + HEAP32[$__sym >> 2] = 0; + HEAP32[$__sym + 4 >> 2] = 0; + HEAP32[$__sym + 8 >> 2] = 0; + $__i$0$i$i101 = 0; while (1) { - if (($$0$i$i149 | 0) == 3) break; - HEAP32[$20 + ($$0$i$i149 << 2) >> 2] = 0; - $$0$i$i149 = $$0$i$i149 + 1 | 0; - } - HEAP32[$21 >> 2] = 0; - HEAP32[$21 + 4 >> 2] = 0; - HEAP32[$21 + 8 >> 2] = 0; - $$0$i$i151 = 0; + if (($__i$0$i$i101 | 0) == 3) break; + HEAP32[$__sym + ($__i$0$i$i101 << 2) >> 2] = 0; + $__i$0$i$i101 = $__i$0$i$i101 + 1 | 0; + } + HEAP32[$__psn >> 2] = 0; + HEAP32[$__psn + 4 >> 2] = 0; + HEAP32[$__psn + 8 >> 2] = 0; + $__i$0$i$i108 = 0; while (1) { - if (($$0$i$i151 | 0) == 3) break; - HEAP32[$21 + ($$0$i$i151 << 2) >> 2] = 0; - $$0$i$i151 = $$0$i$i151 + 1 | 0; - } - HEAP32[$22 >> 2] = 0; - HEAP32[$22 + 4 >> 2] = 0; - HEAP32[$22 + 8 >> 2] = 0; - $$0$i$i154 = 0; + if (($__i$0$i$i108 | 0) == 3) break; + HEAP32[$__psn + ($__i$0$i$i108 << 2) >> 2] = 0; + $__i$0$i$i108 = $__i$0$i$i108 + 1 | 0; + } + HEAP32[$__nsn >> 2] = 0; + HEAP32[$__nsn + 4 >> 2] = 0; + HEAP32[$__nsn + 8 >> 2] = 0; + $__i$0$i$i116 = 0; while (1) { - if (($$0$i$i154 | 0) == 3) break; - HEAP32[$22 + ($$0$i$i154 << 2) >> 2] = 0; - $$0$i$i154 = $$0$i$i154 + 1 | 0; - } - HEAP32[$23 >> 2] = 0; - HEAP32[$23 + 4 >> 2] = 0; - HEAP32[$23 + 8 >> 2] = 0; - $$0$i$i157 = 0; + if (($__i$0$i$i116 | 0) == 3) break; + HEAP32[$__nsn + ($__i$0$i$i116 << 2) >> 2] = 0; + $__i$0$i$i116 = $__i$0$i$i116 + 1 | 0; + } + HEAP32[$__spaces >> 2] = 0; + HEAP32[$__spaces + 4 >> 2] = 0; + HEAP32[$__spaces + 8 >> 2] = 0; + $__i$0$i$i124 = 0; while (1) { - if (($$0$i$i157 | 0) == 3) break; - HEAP32[$23 + ($$0$i$i157 << 2) >> 2] = 0; - $$0$i$i157 = $$0$i$i157 + 1 | 0; - } - __ZNSt3__211__money_getIwE13__gather_infoEbRKNS_6localeERNS_10money_base7patternERwS8_RNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEERNS9_IwNSA_IwEENSC_IwEEEESJ_SJ_Ri($2, $3, $16, $17, $18, $19, $20, $21, $22, $24); - HEAP32[$9 >> 2] = HEAP32[$8 >> 2]; - $41 = $21 + 8 + 3 | 0; - $42 = $21 + 4 | 0; - $44 = $22 + 8 + 3 | 0; - $45 = $22 + 4 | 0; - $46 = $19 + 11 | 0; - $47 = $19 + 4 | 0; - $49 = ($4 & 512 | 0) != 0; - $51 = $20 + 8 + 3 | 0; - $52 = $16 + 3 | 0; - $53 = $20 + 4 | 0; - $55 = $23 + 8 + 3 | 0; - $56 = $23 + 4 | 0; - $$0131 = 0; - $$0133 = 0; + if (($__i$0$i$i124 | 0) == 3) break; + HEAP32[$__spaces + ($__i$0$i$i124 << 2) >> 2] = 0; + $__i$0$i$i124 = $__i$0$i$i124 + 1 | 0; + } + __ZNSt3__211__money_getIwE13__gather_infoEbRKNS_6localeERNS_10money_base7patternERwS8_RNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEERNS9_IwNSA_IwEENSC_IwEEEESJ_SJ_Ri($__intl, $__loc, $__pat, $__dp, $__ts, $__grp, $__sym, $__psn, $__nsn, $__fd); + HEAP32[$__wn >> 2] = HEAP32[$__wb >> 2]; + $__size_$i$i = $__psn + 8 + 3 | 0; + $__size_$i2$i = $__psn + 4 | 0; + $__size_$i$i231 = $__nsn + 8 + 3 | 0; + $__size_$i2$i233 = $__nsn + 4 | 0; + $__size_$i$i694 = $__grp + 11 | 0; + $__size_$i3$i = $__grp + 4 | 0; + $cmp94895 = ($__flags & 512 | 0) != 0; + $__size_$i$i$i404 = $__sym + 8 + 3 | 0; + $arrayidx89 = $__pat + 3 | 0; + $__size_$i2$i$i541 = $__sym + 4 | 0; + $__size_$i$i428 = $__spaces + 8 + 3 | 0; + $__size_$i2$i430 = $__spaces + 4 | 0; + $__p$0 = 0; + $__trailing_sign$0 = 0; L21 : while (1) { - if ($$0133 >>> 0 >= 4) { + if ($__p$0 >>> 0 >= 4) { label = 239; break; } - $58 = HEAP32[$0 >> 2] | 0; - do if ($58) { - $61 = HEAP32[$58 + 12 >> 2] | 0; - if (($61 | 0) == (HEAP32[$58 + 16 >> 2] | 0)) $$0$i$i$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$58 >> 2] | 0) + 36 >> 2] & 127]($58) | 0; else $$0$i$i$i$i = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$61 >> 2] | 0) | 0; - if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj($$0$i$i$i$i, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { - HEAP32[$0 >> 2] = 0; - $766 = 1; + $7 = HEAP32[$__b >> 2] | 0; + do if ($7) { + $8 = HEAP32[$7 + 12 >> 2] | 0; + if (($8 | 0) == (HEAP32[$7 + 16 >> 2] | 0)) $retval$0$i$i$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$7 >> 2] | 0) + 36 >> 2] & 127]($7) | 0; else $retval$0$i$i$i$i = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$8 >> 2] | 0) | 0; + if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj($retval$0$i$i$i$i, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { + HEAP32[$__b >> 2] = 0; + $283 = 1; break; } else { - $766 = (HEAP32[$0 >> 2] | 0) == 0; + $283 = (HEAP32[$__b >> 2] | 0) == 0; break; } - } else $766 = 1; while (0); - $73 = HEAP32[$1 >> 2] | 0; - do if ($73) { - $76 = HEAP32[$73 + 12 >> 2] | 0; - if (($76 | 0) == (HEAP32[$73 + 16 >> 2] | 0)) $$0$i$i2$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$73 >> 2] | 0) + 36 >> 2] & 127]($73) | 0; else $$0$i$i2$i$i = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$76 >> 2] | 0) | 0; - if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj($$0$i$i2$i$i, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if ($766) { - $767 = $73; + } else $283 = 1; while (0); + $12 = HEAP32[$__e >> 2] | 0; + do if ($12) { + $13 = HEAP32[$12 + 12 >> 2] | 0; + if (($13 | 0) == (HEAP32[$12 + 16 >> 2] | 0)) $retval$0$i$i13$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$12 >> 2] | 0) + 36 >> 2] & 127]($12) | 0; else $retval$0$i$i13$i$i = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$13 >> 2] | 0) | 0; + if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj($retval$0$i$i13$i$i, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if ($283) { + $284 = $12; break; } else { label = 239; break L21; } else { - HEAP32[$1 >> 2] = 0; + HEAP32[$__e >> 2] = 0; label = 31; break; } } else label = 31; while (0); if ((label | 0) == 31) { label = 0; - if ($766) { + if ($283) { label = 239; break; - } else $767 = 0; + } else $284 = 0; } - L46 : do switch (HEAP8[$16 + $$0133 >> 0] | 0) { + L46 : do switch (HEAP8[$__pat + $__p$0 >> 0] | 0) { case 1: { - if (($$0133 | 0) == 3) $$1132 = $$0131; else { - $91 = HEAP32[$0 >> 2] | 0; - $93 = HEAP32[$91 + 12 >> 2] | 0; - if (($93 | 0) == (HEAP32[$91 + 16 >> 2] | 0)) $$0$i$i160 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$91 >> 2] | 0) + 36 >> 2] & 127]($91) | 0; else $$0$i$i160 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$93 >> 2] | 0) | 0; - if (!(FUNCTION_TABLE_iiii[HEAP32[(HEAP32[$7 >> 2] | 0) + 12 >> 2] & 63]($7, 8192, $$0$i$i160) | 0)) { + if (($__p$0 | 0) == 3) $__trailing_sign$1 = $__trailing_sign$0; else { + $18 = HEAP32[$__b >> 2] | 0; + $19 = HEAP32[$18 + 12 >> 2] | 0; + if (($19 | 0) == (HEAP32[$18 + 16 >> 2] | 0)) $retval$0$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$18 >> 2] | 0) + 36 >> 2] & 127]($18) | 0; else $retval$0$i$i = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$19 >> 2] | 0) | 0; + if (!(FUNCTION_TABLE_iiii[HEAP32[(HEAP32[$__ct >> 2] | 0) + 12 >> 2] & 63]($__ct, 8192, $retval$0$i$i) | 0)) { label = 44; break L21; } - $107 = HEAP32[$0 >> 2] | 0; - $108 = $107 + 12 | 0; - $109 = HEAP32[$108 >> 2] | 0; - if (($109 | 0) == (HEAP32[$107 + 16 >> 2] | 0)) $$0$i$i161 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$107 >> 2] | 0) + 40 >> 2] & 127]($107) | 0; else { - HEAP32[$108 >> 2] = $109 + 4; - $$0$i$i161 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$109 >> 2] | 0) | 0; + $24 = HEAP32[$__b >> 2] | 0; + $__ninp_$i$i146 = $24 + 12 | 0; + $25 = HEAP32[$__ninp_$i$i146 >> 2] | 0; + if (($25 | 0) == (HEAP32[$24 + 16 >> 2] | 0)) $retval$0$i$i156 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$24 >> 2] | 0) + 40 >> 2] & 127]($24) | 0; else { + HEAP32[$__ninp_$i$i146 >> 2] = $25 + 4; + $retval$0$i$i156 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$25 >> 2] | 0) | 0; } - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9push_backEw($23, $$0$i$i161); + __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9push_backEw($__spaces, $retval$0$i$i156); label = 46; } break; } case 0: { - if (($$0133 | 0) == 3) $$1132 = $$0131; else label = 46; + if (($__p$0 | 0) == 3) $__trailing_sign$1 = $__trailing_sign$0; else label = 46; break; } case 3: { - $182 = HEAP8[$41 >> 0] | 0; - $186 = $182 << 24 >> 24 < 0 ? HEAP32[$42 >> 2] | 0 : $182 & 255; - $187 = HEAP8[$44 >> 0] | 0; - $191 = $187 << 24 >> 24 < 0 ? HEAP32[$45 >> 2] | 0 : $187 & 255; - if (($186 | 0) == (0 - $191 | 0)) $$1132 = $$0131; else { - $194 = ($186 | 0) == 0; - $196 = HEAP32[$0 >> 2] | 0; - $198 = HEAP32[$196 + 12 >> 2] | 0; - $201 = ($198 | 0) == (HEAP32[$196 + 16 >> 2] | 0); - if ($194 | ($191 | 0) == 0) { - if ($201) $$0$i$i182 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$196 >> 2] | 0) + 36 >> 2] & 127]($196) | 0; else $$0$i$i182 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$198 >> 2] | 0) | 0; - if ($194) { - if (($$0$i$i182 | 0) != (HEAP32[((HEAP8[$44 >> 0] | 0) < 0 ? HEAP32[$22 >> 2] | 0 : $22) >> 2] | 0)) { - $$1132 = $$0131; + $51 = HEAP8[$__size_$i$i >> 0] | 0; + $cond$i = $51 << 24 >> 24 < 0 ? HEAP32[$__size_$i2$i >> 2] | 0 : $51 & 255; + $53 = HEAP8[$__size_$i$i231 >> 0] | 0; + $cond$i237 = $53 << 24 >> 24 < 0 ? HEAP32[$__size_$i2$i233 >> 2] | 0 : $53 & 255; + if (($cond$i | 0) == (0 - $cond$i237 | 0)) $__trailing_sign$1 = $__trailing_sign$0; else { + $cmp26 = ($cond$i | 0) == 0; + $55 = HEAP32[$__b >> 2] | 0; + $56 = HEAP32[$55 + 12 >> 2] | 0; + $cmp$i$i266 = ($56 | 0) == (HEAP32[$55 + 16 >> 2] | 0); + if ($cmp26 | ($cond$i237 | 0) == 0) { + if ($cmp$i$i266) $retval$0$i$i273 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$55 >> 2] | 0) + 36 >> 2] & 127]($55) | 0; else $retval$0$i$i273 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$56 >> 2] | 0) | 0; + if ($cmp26) { + if (($retval$0$i$i273 | 0) != (HEAP32[((HEAP8[$__size_$i$i231 >> 0] | 0) < 0 ? HEAP32[$__nsn >> 2] | 0 : $__nsn) >> 2] | 0)) { + $__trailing_sign$1 = $__trailing_sign$0; break L46; } - $237 = HEAP32[$0 >> 2] | 0; - $238 = $237 + 12 | 0; - $239 = HEAP32[$238 >> 2] | 0; - if (($239 | 0) == (HEAP32[$237 + 16 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$237 >> 2] | 0) + 40 >> 2] & 127]($237) | 0; else { - HEAP32[$238 >> 2] = $239 + 4; - __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$239 >> 2] | 0) | 0; + $73 = HEAP32[$__b >> 2] | 0; + $__ninp_$i$i305 = $73 + 12 | 0; + $74 = HEAP32[$__ninp_$i$i305 >> 2] | 0; + if (($74 | 0) == (HEAP32[$73 + 16 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$73 >> 2] | 0) + 40 >> 2] & 127]($73) | 0; else { + HEAP32[$__ninp_$i$i305 >> 2] = $74 + 4; + __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$74 >> 2] | 0) | 0; } - HEAP8[$6 >> 0] = 1; - $248 = HEAP8[$44 >> 0] | 0; - $$1132 = ($248 << 24 >> 24 < 0 ? HEAP32[$45 >> 2] | 0 : $248 & 255) >>> 0 > 1 ? $22 : $$0131; + HEAP8[$__neg >> 0] = 1; + $78 = HEAP8[$__size_$i$i231 >> 0] | 0; + $__trailing_sign$1 = ($78 << 24 >> 24 < 0 ? HEAP32[$__size_$i2$i233 >> 2] | 0 : $78 & 255) >>> 0 > 1 ? $__nsn : $__trailing_sign$0; break L46; } - if (($$0$i$i182 | 0) != (HEAP32[((HEAP8[$41 >> 0] | 0) < 0 ? HEAP32[$21 >> 2] | 0 : $21) >> 2] | 0)) { - HEAP8[$6 >> 0] = 1; - $$1132 = $$0131; + if (($retval$0$i$i273 | 0) != (HEAP32[((HEAP8[$__size_$i$i >> 0] | 0) < 0 ? HEAP32[$__psn >> 2] | 0 : $__psn) >> 2] | 0)) { + HEAP8[$__neg >> 0] = 1; + $__trailing_sign$1 = $__trailing_sign$0; break L46; } - $214 = HEAP32[$0 >> 2] | 0; - $215 = $214 + 12 | 0; - $216 = HEAP32[$215 >> 2] | 0; - if (($216 | 0) == (HEAP32[$214 + 16 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$214 >> 2] | 0) + 40 >> 2] & 127]($214) | 0; else { - HEAP32[$215 >> 2] = $216 + 4; - __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$216 >> 2] | 0) | 0; + $63 = HEAP32[$__b >> 2] | 0; + $__ninp_$i$i277 = $63 + 12 | 0; + $64 = HEAP32[$__ninp_$i$i277 >> 2] | 0; + if (($64 | 0) == (HEAP32[$63 + 16 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$63 >> 2] | 0) + 40 >> 2] & 127]($63) | 0; else { + HEAP32[$__ninp_$i$i277 >> 2] = $64 + 4; + __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$64 >> 2] | 0) | 0; } - $225 = HEAP8[$41 >> 0] | 0; - $$1132 = ($225 << 24 >> 24 < 0 ? HEAP32[$42 >> 2] | 0 : $225 & 255) >>> 0 > 1 ? $21 : $$0131; + $68 = HEAP8[$__size_$i$i >> 0] | 0; + $__trailing_sign$1 = ($68 << 24 >> 24 < 0 ? HEAP32[$__size_$i2$i >> 2] | 0 : $68 & 255) >>> 0 > 1 ? $__psn : $__trailing_sign$0; break L46; } - if ($201) $$0$i$i189 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$196 >> 2] | 0) + 36 >> 2] & 127]($196) | 0; else $$0$i$i189 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$198 >> 2] | 0) | 0; - $266 = HEAP32[$0 >> 2] | 0; - $267 = $266 + 12 | 0; - $268 = HEAP32[$267 >> 2] | 0; - $271 = ($268 | 0) == (HEAP32[$266 + 16 >> 2] | 0); - if (($$0$i$i189 | 0) == (HEAP32[((HEAP8[$41 >> 0] | 0) < 0 ? HEAP32[$21 >> 2] | 0 : $21) >> 2] | 0)) { - if ($271) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$266 >> 2] | 0) + 40 >> 2] & 127]($266) | 0; else { - HEAP32[$267 >> 2] = $268 + 4; - __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$268 >> 2] | 0) | 0; - } - $277 = HEAP8[$41 >> 0] | 0; - $$1132 = ($277 << 24 >> 24 < 0 ? HEAP32[$42 >> 2] | 0 : $277 & 255) >>> 0 > 1 ? $21 : $$0131; + if ($cmp$i$i266) $retval$0$i$i334 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$55 >> 2] | 0) + 36 >> 2] & 127]($55) | 0; else $retval$0$i$i334 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$56 >> 2] | 0) | 0; + $85 = HEAP32[$__b >> 2] | 0; + $__ninp_$i$i345 = $85 + 12 | 0; + $86 = HEAP32[$__ninp_$i$i345 >> 2] | 0; + $cmp$i$i347 = ($86 | 0) == (HEAP32[$85 + 16 >> 2] | 0); + if (($retval$0$i$i334 | 0) == (HEAP32[((HEAP8[$__size_$i$i >> 0] | 0) < 0 ? HEAP32[$__psn >> 2] | 0 : $__psn) >> 2] | 0)) { + if ($cmp$i$i347) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$85 >> 2] | 0) + 40 >> 2] & 127]($85) | 0; else { + HEAP32[$__ninp_$i$i345 >> 2] = $86 + 4; + __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$86 >> 2] | 0) | 0; + } + $90 = HEAP8[$__size_$i$i >> 0] | 0; + $__trailing_sign$1 = ($90 << 24 >> 24 < 0 ? HEAP32[$__size_$i2$i >> 2] | 0 : $90 & 255) >>> 0 > 1 ? $__psn : $__trailing_sign$0; break L46; } - if ($271) $$0$i$i194 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$266 >> 2] | 0) + 36 >> 2] & 127]($266) | 0; else $$0$i$i194 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$268 >> 2] | 0) | 0; - if (($$0$i$i194 | 0) != (HEAP32[((HEAP8[$44 >> 0] | 0) < 0 ? HEAP32[$22 >> 2] | 0 : $22) >> 2] | 0)) { + if ($cmp$i$i347) $retval$0$i$i374 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$85 >> 2] | 0) + 36 >> 2] & 127]($85) | 0; else $retval$0$i$i374 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$86 >> 2] | 0) | 0; + if (($retval$0$i$i374 | 0) != (HEAP32[((HEAP8[$__size_$i$i231 >> 0] | 0) < 0 ? HEAP32[$__nsn >> 2] | 0 : $__nsn) >> 2] | 0)) { label = 103; break L21; } - $295 = HEAP32[$0 >> 2] | 0; - $296 = $295 + 12 | 0; - $297 = HEAP32[$296 >> 2] | 0; - if (($297 | 0) == (HEAP32[$295 + 16 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$295 >> 2] | 0) + 40 >> 2] & 127]($295) | 0; else { - HEAP32[$296 >> 2] = $297 + 4; - __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$297 >> 2] | 0) | 0; + $97 = HEAP32[$__b >> 2] | 0; + $__ninp_$i$i385 = $97 + 12 | 0; + $98 = HEAP32[$__ninp_$i$i385 >> 2] | 0; + if (($98 | 0) == (HEAP32[$97 + 16 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$97 >> 2] | 0) + 40 >> 2] & 127]($97) | 0; else { + HEAP32[$__ninp_$i$i385 >> 2] = $98 + 4; + __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$98 >> 2] | 0) | 0; } - HEAP8[$6 >> 0] = 1; - $306 = HEAP8[$44 >> 0] | 0; - $$1132 = ($306 << 24 >> 24 < 0 ? HEAP32[$45 >> 2] | 0 : $306 & 255) >>> 0 > 1 ? $22 : $$0131; + HEAP8[$__neg >> 0] = 1; + $102 = HEAP8[$__size_$i$i231 >> 0] | 0; + $__trailing_sign$1 = ($102 << 24 >> 24 < 0 ? HEAP32[$__size_$i2$i233 >> 2] | 0 : $102 & 255) >>> 0 > 1 ? $__nsn : $__trailing_sign$0; } break; } case 2: { - if ($$0133 >>> 0 < 2 | ($$0131 | 0) != 0) { - $325 = HEAP8[$51 >> 0] | 0; - $327 = HEAP32[$20 >> 2] | 0; - $329 = $325 << 24 >> 24 < 0 ? $327 : $20; - if (!$$0133) { - $$sroa$0309$1 = $329; - $774 = $327; - $775 = $325; + if ($__p$0 >>> 0 < 2 | ($__trailing_sign$0 | 0) != 0) { + $110 = HEAP8[$__size_$i$i$i404 >> 0] | 0; + $111 = HEAP32[$__sym >> 2] | 0; + $112 = $110 << 24 >> 24 < 0 ? $111 : $__sym; + if (!$__p$0) { + $291 = $111; + $292 = $110; + $__sym_space_end$sroa$0$1 = $112; } else { - $771 = $329; - $772 = $327; - $773 = $325; + $288 = $112; + $289 = $111; + $290 = $110; label = 108; } } else { - if (!($49 | ($$0133 | 0) == 2 & (HEAP8[$52 >> 0] | 0) != 0)) { - $$1132 = 0; + if (!($cmp94895 | ($__p$0 | 0) == 2 & (HEAP8[$arrayidx89 >> 0] | 0) != 0)) { + $__trailing_sign$1 = 0; break L46; } - $320 = HEAP8[$51 >> 0] | 0; - $322 = HEAP32[$20 >> 2] | 0; - $771 = $320 << 24 >> 24 < 0 ? $322 : $20; - $772 = $322; - $773 = $320; + $107 = HEAP8[$__size_$i$i$i404 >> 0] | 0; + $108 = HEAP32[$__sym >> 2] | 0; + $288 = $107 << 24 >> 24 < 0 ? $108 : $__sym; + $289 = $108; + $290 = $107; label = 108; } L108 : do if ((label | 0) == 108) { label = 0; - if ((HEAPU8[$16 + ($$0133 + -1) >> 0] | 0) < 2) { - $$sroa$0309$0 = $771; - $335 = $773; - $339 = $772; + if ((HEAPU8[$__pat + ($__p$0 + -1) >> 0] | 0) < 2) { + $114 = $290; + $116 = $289; + $__sym_space_end$sroa$0$0 = $288; while (1) { - $334 = $335 << 24 >> 24 < 0; - $342 = $$sroa$0309$0; - if ((($334 ? $339 : $20) + (($334 ? HEAP32[$53 >> 2] | 0 : $335 & 255) << 2) | 0) == ($342 | 0)) { - $352 = $335; - $354 = $339; + $tobool$i$i$i412 = $114 << 24 >> 24 < 0; + $117 = $__sym_space_end$sroa$0$0; + if ((($tobool$i$i$i412 ? $116 : $__sym) + (($tobool$i$i$i412 ? HEAP32[$__size_$i2$i$i541 >> 2] | 0 : $114 & 255) << 2) | 0) == ($117 | 0)) { + $121 = $114; + $122 = $116; break; } - if (!(FUNCTION_TABLE_iiii[HEAP32[(HEAP32[$7 >> 2] | 0) + 12 >> 2] & 63]($7, 8192, HEAP32[$342 >> 2] | 0) | 0)) { + if (!(FUNCTION_TABLE_iiii[HEAP32[(HEAP32[$__ct >> 2] | 0) + 12 >> 2] & 63]($__ct, 8192, HEAP32[$117 >> 2] | 0) | 0)) { label = 112; break; } - $$sroa$0309$0 = $342 + 4 | 0; - $335 = HEAP8[$51 >> 0] | 0; - $339 = HEAP32[$20 >> 2] | 0; + $114 = HEAP8[$__size_$i$i$i404 >> 0] | 0; + $116 = HEAP32[$__sym >> 2] | 0; + $__sym_space_end$sroa$0$0 = $117 + 4 | 0; } if ((label | 0) == 112) { label = 0; - $352 = HEAP8[$51 >> 0] | 0; - $354 = HEAP32[$20 >> 2] | 0; - } - $353 = $352 << 24 >> 24 < 0 ? $354 : $20; - $355 = $353; - $357 = $$sroa$0309$0 - $355 >> 2; - $358 = HEAP8[$55 >> 0] | 0; - $359 = $358 << 24 >> 24 < 0; - $360 = HEAP32[$56 >> 2] | 0; - $361 = $358 & 255; - if ($357 >>> 0 > ($359 ? $360 : $361) >>> 0) { - $$sroa$0309$1 = $355; - $774 = $354; - $775 = $352; + $121 = HEAP8[$__size_$i$i$i404 >> 0] | 0; + $122 = HEAP32[$__sym >> 2] | 0; + } + $cond$i$i426 = $121 << 24 >> 24 < 0 ? $122 : $__sym; + $123 = $cond$i$i426; + $sub$ptr$div$i = $__sym_space_end$sroa$0$0 - $123 >> 2; + $124 = HEAP8[$__size_$i$i428 >> 0] | 0; + $tobool$i$i429 = $124 << 24 >> 24 < 0; + $125 = HEAP32[$__size_$i2$i430 >> 2] | 0; + $conv$i$i432 = $124 & 255; + if ($sub$ptr$div$i >>> 0 > ($tobool$i$i429 ? $125 : $conv$i$i432) >>> 0) { + $291 = $122; + $292 = $121; + $__sym_space_end$sroa$0$1 = $123; } else { - $365 = (HEAP32[$23 >> 2] | 0) + ($360 << 2) | 0; - $366 = $23 + ($361 << 2) | 0; - $$pre$phiZ2D = $359 ? $365 : $366; - $$sroa$08$0$ptr$i = $353; - $370 = ($359 ? $365 : $366) + (0 - $357 << 2) | 0; + $add$ptr$i446898 = (HEAP32[$__spaces >> 2] | 0) + ($125 << 2) | 0; + $add$ptr$i446 = $__spaces + ($conv$i$i432 << 2) | 0; + $add$ptr$i458$pre$phiZZZ2D = $tobool$i$i429 ? $add$ptr$i446898 : $add$ptr$i446; + $127 = ($tobool$i$i429 ? $add$ptr$i446898 : $add$ptr$i446) + (0 - $sub$ptr$div$i << 2) | 0; + $agg$tmp26$sroa$0$0$ptr$i = $cond$i$i426; while (1) { - if (($370 | 0) == ($$pre$phiZ2D | 0)) { - $$sroa$0309$1 = $$sroa$0309$0; - $774 = $354; - $775 = $352; + if (($127 | 0) == ($add$ptr$i458$pre$phiZZZ2D | 0)) { + $291 = $122; + $292 = $121; + $__sym_space_end$sroa$0$1 = $__sym_space_end$sroa$0$0; break L108; } - if ((HEAP32[$370 >> 2] | 0) != (HEAP32[$$sroa$08$0$ptr$i >> 2] | 0)) { - $$sroa$0309$1 = $355; - $774 = $354; - $775 = $352; + if ((HEAP32[$127 >> 2] | 0) != (HEAP32[$agg$tmp26$sroa$0$0$ptr$i >> 2] | 0)) { + $291 = $122; + $292 = $121; + $__sym_space_end$sroa$0$1 = $123; break L108; } - $$sroa$08$0$ptr$i = $$sroa$08$0$ptr$i + 4 | 0; - $370 = $370 + 4 | 0; + $127 = $127 + 4 | 0; + $agg$tmp26$sroa$0$0$ptr$i = $agg$tmp26$sroa$0$0$ptr$i + 4 | 0; } } } else { - $$sroa$0309$1 = $771; - $774 = $772; - $775 = $773; + $291 = $289; + $292 = $290; + $__sym_space_end$sroa$0$1 = $288; } } while (0); - $$sroa$0289$0$ptr = $$sroa$0309$1; - $377 = $775; - $381 = $774; - $401 = $767; + $130 = $292; + $132 = $291; + $138 = $284; + $__sym_curr_char$sroa$0$0$ptr = $__sym_space_end$sroa$0$1; L124 : while (1) { - $376 = $377 << 24 >> 24 < 0; - if (($$sroa$0289$0$ptr | 0) == (($376 ? $381 : $20) + (($376 ? HEAP32[$53 >> 2] | 0 : $377 & 255) << 2) | 0)) break; - $385 = HEAP32[$0 >> 2] | 0; - do if ($385) { - $388 = HEAP32[$385 + 12 >> 2] | 0; - if (($388 | 0) == (HEAP32[$385 + 16 >> 2] | 0)) $$0$i$i$i$i220 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$385 >> 2] | 0) + 36 >> 2] & 127]($385) | 0; else $$0$i$i$i$i220 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$388 >> 2] | 0) | 0; - if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj($$0$i$i$i$i220, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { - HEAP32[$0 >> 2] = 0; - $776 = 1; + $tobool$i$i$i539 = $130 << 24 >> 24 < 0; + if (($__sym_curr_char$sroa$0$0$ptr | 0) == (($tobool$i$i$i539 ? $132 : $__sym) + (($tobool$i$i$i539 ? HEAP32[$__size_$i2$i$i541 >> 2] | 0 : $130 & 255) << 2) | 0)) break; + $133 = HEAP32[$__b >> 2] | 0; + do if ($133) { + $134 = HEAP32[$133 + 12 >> 2] | 0; + if (($134 | 0) == (HEAP32[$133 + 16 >> 2] | 0)) $retval$0$i$i$i$i565 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$133 >> 2] | 0) + 36 >> 2] & 127]($133) | 0; else $retval$0$i$i$i$i565 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$134 >> 2] | 0) | 0; + if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj($retval$0$i$i$i$i565, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { + HEAP32[$__b >> 2] = 0; + $293 = 1; break; } else { - $776 = (HEAP32[$0 >> 2] | 0) == 0; + $293 = (HEAP32[$__b >> 2] | 0) == 0; break; } - } else $776 = 1; while (0); - do if ($401) { - $403 = HEAP32[$401 + 12 >> 2] | 0; - if (($403 | 0) == (HEAP32[$401 + 16 >> 2] | 0)) $$0$i$i2$i$i226 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$401 >> 2] | 0) + 36 >> 2] & 127]($401) | 0; else $$0$i$i2$i$i226 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$403 >> 2] | 0) | 0; - if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj($$0$i$i2$i$i226, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if ($776) { - $777 = $401; + } else $293 = 1; while (0); + do if ($138) { + $139 = HEAP32[$138 + 12 >> 2] | 0; + if (($139 | 0) == (HEAP32[$138 + 16 >> 2] | 0)) $retval$0$i$i13$i$i586 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$138 >> 2] | 0) + 36 >> 2] & 127]($138) | 0; else $retval$0$i$i13$i$i586 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$139 >> 2] | 0) | 0; + if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj($retval$0$i$i13$i$i586, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if ($293) { + $294 = $138; break; } else break L124; else { - HEAP32[$1 >> 2] = 0; + HEAP32[$__e >> 2] = 0; label = 134; break; } } else label = 134; while (0); if ((label | 0) == 134) { label = 0; - if ($776) break; else $777 = 0; - } - $415 = HEAP32[$0 >> 2] | 0; - $417 = HEAP32[$415 + 12 >> 2] | 0; - if (($417 | 0) == (HEAP32[$415 + 16 >> 2] | 0)) $$0$i$i232 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$415 >> 2] | 0) + 36 >> 2] & 127]($415) | 0; else $$0$i$i232 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$417 >> 2] | 0) | 0; - if (($$0$i$i232 | 0) != (HEAP32[$$sroa$0289$0$ptr >> 2] | 0)) break; - $429 = HEAP32[$0 >> 2] | 0; - $430 = $429 + 12 | 0; - $431 = HEAP32[$430 >> 2] | 0; - if (($431 | 0) == (HEAP32[$429 + 16 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$429 >> 2] | 0) + 40 >> 2] & 127]($429) | 0; else { - HEAP32[$430 >> 2] = $431 + 4; - __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$431 >> 2] | 0) | 0; - } - $$sroa$0289$0$ptr = $$sroa$0289$0$ptr + 4 | 0; - $377 = HEAP8[$51 >> 0] | 0; - $381 = HEAP32[$20 >> 2] | 0; - $401 = $777; - } - if ($49 ? ($441 = HEAP8[$51 >> 0] | 0, $442 = $441 << 24 >> 24 < 0, ($$sroa$0289$0$ptr | 0) != (($442 ? HEAP32[$20 >> 2] | 0 : $20) + (($442 ? HEAP32[$53 >> 2] | 0 : $441 & 255) << 2) | 0)) : 0) { + if ($293) break; else $294 = 0; + } + $143 = HEAP32[$__b >> 2] | 0; + $144 = HEAP32[$143 + 12 >> 2] | 0; + if (($144 | 0) == (HEAP32[$143 + 16 >> 2] | 0)) $retval$0$i$i605 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$143 >> 2] | 0) + 36 >> 2] & 127]($143) | 0; else $retval$0$i$i605 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$144 >> 2] | 0) | 0; + if (($retval$0$i$i605 | 0) != (HEAP32[$__sym_curr_char$sroa$0$0$ptr >> 2] | 0)) break; + $149 = HEAP32[$__b >> 2] | 0; + $__ninp_$i$i609 = $149 + 12 | 0; + $150 = HEAP32[$__ninp_$i$i609 >> 2] | 0; + if (($150 | 0) == (HEAP32[$149 + 16 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$149 >> 2] | 0) + 40 >> 2] & 127]($149) | 0; else { + HEAP32[$__ninp_$i$i609 >> 2] = $150 + 4; + __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$150 >> 2] | 0) | 0; + } + $130 = HEAP8[$__size_$i$i$i404 >> 0] | 0; + $132 = HEAP32[$__sym >> 2] | 0; + $138 = $294; + $__sym_curr_char$sroa$0$0$ptr = $__sym_curr_char$sroa$0$0$ptr + 4 | 0; + } + if ($cmp94895 ? ($154 = HEAP8[$__size_$i$i$i404 >> 0] | 0, $tobool$i$i$i623 = $154 << 24 >> 24 < 0, ($__sym_curr_char$sroa$0$0$ptr | 0) != (($tobool$i$i$i623 ? HEAP32[$__sym >> 2] | 0 : $__sym) + (($tobool$i$i$i623 ? HEAP32[$__size_$i2$i$i541 >> 2] | 0 : $154 & 255) << 2) | 0)) : 0) { label = 146; break L21; - } else $$1132 = $$0131; + } else $__trailing_sign$1 = $__trailing_sign$0; break; } case 4: { - $$0126 = 0; - $468 = $767; - $768 = $767; + $163 = $284; + $285 = $284; + $__ng$0 = 0; L161 : while (1) { - $452 = HEAP32[$0 >> 2] | 0; - do if ($452) { - $455 = HEAP32[$452 + 12 >> 2] | 0; - if (($455 | 0) == (HEAP32[$452 + 16 >> 2] | 0)) $$0$i$i$i$i236 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$452 >> 2] | 0) + 36 >> 2] & 127]($452) | 0; else $$0$i$i$i$i236 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$455 >> 2] | 0) | 0; - if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj($$0$i$i$i$i236, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { - HEAP32[$0 >> 2] = 0; - $778 = 1; + $158 = HEAP32[$__b >> 2] | 0; + do if ($158) { + $159 = HEAP32[$158 + 12 >> 2] | 0; + if (($159 | 0) == (HEAP32[$158 + 16 >> 2] | 0)) $retval$0$i$i$i$i649 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$158 >> 2] | 0) + 36 >> 2] & 127]($158) | 0; else $retval$0$i$i$i$i649 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$159 >> 2] | 0) | 0; + if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj($retval$0$i$i$i$i649, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { + HEAP32[$__b >> 2] = 0; + $295 = 1; break; } else { - $778 = (HEAP32[$0 >> 2] | 0) == 0; + $295 = (HEAP32[$__b >> 2] | 0) == 0; break; } - } else $778 = 1; while (0); - do if ($468) { - $470 = HEAP32[$468 + 12 >> 2] | 0; - if (($470 | 0) == (HEAP32[$468 + 16 >> 2] | 0)) $$0$i$i2$i$i242 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$468 >> 2] | 0) + 36 >> 2] & 127]($468) | 0; else $$0$i$i2$i$i242 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$470 >> 2] | 0) | 0; - if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj($$0$i$i2$i$i242, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if ($778) { - $780 = $768; - $781 = $468; + } else $295 = 1; while (0); + do if ($163) { + $164 = HEAP32[$163 + 12 >> 2] | 0; + if (($164 | 0) == (HEAP32[$163 + 16 >> 2] | 0)) $retval$0$i$i13$i$i670 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$163 >> 2] | 0) + 36 >> 2] & 127]($163) | 0; else $retval$0$i$i13$i$i670 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$164 >> 2] | 0) | 0; + if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj($retval$0$i$i13$i$i670, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if ($295) { + $297 = $285; + $298 = $163; break; } else { - $555 = $768; + $198 = $285; break L161; } else { - HEAP32[$1 >> 2] = 0; - $779 = 0; + HEAP32[$__e >> 2] = 0; + $296 = 0; label = 160; break; } } else { - $779 = $768; + $296 = $285; label = 160; } while (0); if ((label | 0) == 160) { label = 0; - if ($778) { - $555 = $779; + if ($295) { + $198 = $296; break; } else { - $780 = $779; - $781 = 0; - } - } - $482 = HEAP32[$0 >> 2] | 0; - $484 = HEAP32[$482 + 12 >> 2] | 0; - if (($484 | 0) == (HEAP32[$482 + 16 >> 2] | 0)) $$0$i$i248 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$482 >> 2] | 0) + 36 >> 2] & 127]($482) | 0; else $$0$i$i248 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$484 >> 2] | 0) | 0; - if (FUNCTION_TABLE_iiii[HEAP32[(HEAP32[$7 >> 2] | 0) + 12 >> 2] & 63]($7, 2048, $$0$i$i248) | 0) { - $498 = HEAP32[$9 >> 2] | 0; - if (($498 | 0) == (HEAP32[$11 >> 2] | 0)) { - __ZNSt3__219__double_or_nothingIwEEvRNS_10unique_ptrIT_PFvPvEEERPS2_S9_($8, $9, $11); - $502 = HEAP32[$9 >> 2] | 0; - } else $502 = $498; - HEAP32[$9 >> 2] = $502 + 4; - HEAP32[$502 >> 2] = $$0$i$i248; - $$2128$ph = $$0126 + 1 | 0; + $297 = $296; + $298 = 0; + } + } + $168 = HEAP32[$__b >> 2] | 0; + $169 = HEAP32[$168 + 12 >> 2] | 0; + if (($169 | 0) == (HEAP32[$168 + 16 >> 2] | 0)) $retval$0$i$i689 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$168 >> 2] | 0) + 36 >> 2] & 127]($168) | 0; else $retval$0$i$i689 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$169 >> 2] | 0) | 0; + if (FUNCTION_TABLE_iiii[HEAP32[(HEAP32[$__ct >> 2] | 0) + 12 >> 2] & 63]($__ct, 2048, $retval$0$i$i689) | 0) { + $174 = HEAP32[$__wn >> 2] | 0; + if (($174 | 0) == (HEAP32[$__we$addr >> 2] | 0)) { + __ZNSt3__219__double_or_nothingIwEEvRNS_10unique_ptrIT_PFvPvEEERPS2_S9_($__wb, $__wn, $__we$addr); + $176 = HEAP32[$__wn >> 2] | 0; + } else $176 = $174; + HEAP32[$__wn >> 2] = $176 + 4; + HEAP32[$176 >> 2] = $retval$0$i$i689; + $__ng$2$ph = $__ng$0 + 1 | 0; } else { - $504 = HEAP8[$46 >> 0] | 0; - if (!(($$0$i$i248 | 0) == (HEAP32[$18 >> 2] | 0) & ($$0126 | 0 ? (($504 << 24 >> 24 < 0 ? HEAP32[$47 >> 2] | 0 : $504 & 255) | 0) != 0 : 0))) { - $555 = $780; + $177 = HEAP8[$__size_$i$i694 >> 0] | 0; + if (!(($retval$0$i$i689 | 0) == (HEAP32[$__ts >> 2] | 0) & ($__ng$0 | 0 ? (($177 << 24 >> 24 < 0 ? HEAP32[$__size_$i3$i >> 2] | 0 : $177 & 255) | 0) != 0 : 0))) { + $198 = $297; break; } - $513 = HEAP32[$14 >> 2] | 0; - if (($513 | 0) == (HEAP32[$15 >> 2] | 0)) { - __ZNSt3__219__double_or_nothingIjEEvRNS_10unique_ptrIT_PFvPvEEERPS2_S9_($13, $14, $15); - $517 = HEAP32[$14 >> 2] | 0; - } else $517 = $513; - HEAP32[$14 >> 2] = $517 + 4; - HEAP32[$517 >> 2] = $$0126; - $$2128$ph = 0; - } - $518 = HEAP32[$0 >> 2] | 0; - $519 = $518 + 12 | 0; - $520 = HEAP32[$519 >> 2] | 0; - if (($520 | 0) == (HEAP32[$518 + 16 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$518 >> 2] | 0) + 40 >> 2] & 127]($518) | 0; else { - HEAP32[$519 >> 2] = $520 + 4; - __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$520 >> 2] | 0) | 0; - } - $$0126 = $$2128$ph; - $468 = $781; - $768 = $780; - } - $530 = HEAP32[$14 >> 2] | 0; - if ($$0126 | 0 ? (HEAP32[$13 >> 2] | 0) != ($530 | 0) : 0) { - if (($530 | 0) == (HEAP32[$15 >> 2] | 0)) { - __ZNSt3__219__double_or_nothingIjEEvRNS_10unique_ptrIT_PFvPvEEERPS2_S9_($13, $14, $15); - $536 = HEAP32[$14 >> 2] | 0; - } else $536 = $530; - HEAP32[$14 >> 2] = $536 + 4; - HEAP32[$536 >> 2] = $$0126; - } - L211 : do if ((HEAP32[$24 >> 2] | 0) > 0) { - $539 = HEAP32[$0 >> 2] | 0; - do if ($539) { - $542 = HEAP32[$539 + 12 >> 2] | 0; - if (($542 | 0) == (HEAP32[$539 + 16 >> 2] | 0)) $$0$i$i$i$i251 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$539 >> 2] | 0) + 36 >> 2] & 127]($539) | 0; else $$0$i$i$i$i251 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$542 >> 2] | 0) | 0; - if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj($$0$i$i$i$i251, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { - HEAP32[$0 >> 2] = 0; - $782 = 1; + $180 = HEAP32[$__gn >> 2] | 0; + if (($180 | 0) == (HEAP32[$__ge >> 2] | 0)) { + __ZNSt3__219__double_or_nothingIjEEvRNS_10unique_ptrIT_PFvPvEEERPS2_S9_($__gb, $__gn, $__ge); + $182 = HEAP32[$__gn >> 2] | 0; + } else $182 = $180; + HEAP32[$__gn >> 2] = $182 + 4; + HEAP32[$182 >> 2] = $__ng$0; + $__ng$2$ph = 0; + } + $183 = HEAP32[$__b >> 2] | 0; + $__ninp_$i$i701 = $183 + 12 | 0; + $184 = HEAP32[$__ninp_$i$i701 >> 2] | 0; + if (($184 | 0) == (HEAP32[$183 + 16 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$183 >> 2] | 0) + 40 >> 2] & 127]($183) | 0; else { + HEAP32[$__ninp_$i$i701 >> 2] = $184 + 4; + __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$184 >> 2] | 0) | 0; + } + $163 = $298; + $285 = $297; + $__ng$0 = $__ng$2$ph; + } + $189 = HEAP32[$__gn >> 2] | 0; + if ($__ng$0 | 0 ? (HEAP32[$__gb >> 2] | 0) != ($189 | 0) : 0) { + if (($189 | 0) == (HEAP32[$__ge >> 2] | 0)) { + __ZNSt3__219__double_or_nothingIjEEvRNS_10unique_ptrIT_PFvPvEEERPS2_S9_($__gb, $__gn, $__ge); + $191 = HEAP32[$__gn >> 2] | 0; + } else $191 = $189; + HEAP32[$__gn >> 2] = $191 + 4; + HEAP32[$191 >> 2] = $__ng$0; + } + L211 : do if ((HEAP32[$__fd >> 2] | 0) > 0) { + $193 = HEAP32[$__b >> 2] | 0; + do if ($193) { + $194 = HEAP32[$193 + 12 >> 2] | 0; + if (($194 | 0) == (HEAP32[$193 + 16 >> 2] | 0)) $retval$0$i$i$i$i725 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$193 >> 2] | 0) + 36 >> 2] & 127]($193) | 0; else $retval$0$i$i$i$i725 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$194 >> 2] | 0) | 0; + if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj($retval$0$i$i$i$i725, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { + HEAP32[$__b >> 2] = 0; + $299 = 1; break; } else { - $782 = (HEAP32[$0 >> 2] | 0) == 0; + $299 = (HEAP32[$__b >> 2] | 0) == 0; break; } - } else $782 = 1; while (0); - do if ($555) { - $557 = HEAP32[$555 + 12 >> 2] | 0; - if (($557 | 0) == (HEAP32[$555 + 16 >> 2] | 0)) $$0$i$i2$i$i257 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$555 >> 2] | 0) + 36 >> 2] & 127]($555) | 0; else $$0$i$i2$i$i257 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$557 >> 2] | 0) | 0; - if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj($$0$i$i2$i$i257, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if ($782) { - $783 = $555; + } else $299 = 1; while (0); + do if ($198) { + $199 = HEAP32[$198 + 12 >> 2] | 0; + if (($199 | 0) == (HEAP32[$198 + 16 >> 2] | 0)) $retval$0$i$i13$i$i746 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$198 >> 2] | 0) + 36 >> 2] & 127]($198) | 0; else $retval$0$i$i13$i$i746 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$199 >> 2] | 0) | 0; + if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj($retval$0$i$i13$i$i746, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if ($299) { + $300 = $198; break; } else { label = 201; break L21; } else { - HEAP32[$1 >> 2] = 0; + HEAP32[$__e >> 2] = 0; label = 195; break; } } else label = 195; while (0); if ((label | 0) == 195) { label = 0; - if ($782) { + if ($299) { label = 201; break L21; - } else $783 = 0; + } else $300 = 0; } - $569 = HEAP32[$0 >> 2] | 0; - $571 = HEAP32[$569 + 12 >> 2] | 0; - if (($571 | 0) == (HEAP32[$569 + 16 >> 2] | 0)) $$0$i$i263 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$569 >> 2] | 0) + 36 >> 2] & 127]($569) | 0; else $$0$i$i263 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$571 >> 2] | 0) | 0; - if (($$0$i$i263 | 0) != (HEAP32[$17 >> 2] | 0)) { + $203 = HEAP32[$__b >> 2] | 0; + $204 = HEAP32[$203 + 12 >> 2] | 0; + if (($204 | 0) == (HEAP32[$203 + 16 >> 2] | 0)) $retval$0$i$i766 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$203 >> 2] | 0) + 36 >> 2] & 127]($203) | 0; else $retval$0$i$i766 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$204 >> 2] | 0) | 0; + if (($retval$0$i$i766 | 0) != (HEAP32[$__dp >> 2] | 0)) { label = 201; break L21; } - $585 = HEAP32[$0 >> 2] | 0; - $586 = $585 + 12 | 0; - $587 = HEAP32[$586 >> 2] | 0; - if (($587 | 0) == (HEAP32[$585 + 16 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$585 >> 2] | 0) + 40 >> 2] & 127]($585) | 0; else { - HEAP32[$586 >> 2] = $587 + 4; - __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$587 >> 2] | 0) | 0; + $210 = HEAP32[$__b >> 2] | 0; + $__ninp_$i$i769 = $210 + 12 | 0; + $211 = HEAP32[$__ninp_$i$i769 >> 2] | 0; + if (($211 | 0) == (HEAP32[$210 + 16 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$210 >> 2] | 0) + 40 >> 2] & 127]($210) | 0; else { + HEAP32[$__ninp_$i$i769 >> 2] = $211 + 4; + __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$211 >> 2] | 0) | 0; } - $614 = $783; + $221 = $300; while (1) { - if ((HEAP32[$24 >> 2] | 0) <= 0) break L211; - $598 = HEAP32[$0 >> 2] | 0; - do if ($598) { - $601 = HEAP32[$598 + 12 >> 2] | 0; - if (($601 | 0) == (HEAP32[$598 + 16 >> 2] | 0)) $$0$i$i$i$i266 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$598 >> 2] | 0) + 36 >> 2] & 127]($598) | 0; else $$0$i$i$i$i266 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$601 >> 2] | 0) | 0; - if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj($$0$i$i$i$i266, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { - HEAP32[$0 >> 2] = 0; - $784 = 1; + if ((HEAP32[$__fd >> 2] | 0) <= 0) break L211; + $216 = HEAP32[$__b >> 2] | 0; + do if ($216) { + $217 = HEAP32[$216 + 12 >> 2] | 0; + if (($217 | 0) == (HEAP32[$216 + 16 >> 2] | 0)) $retval$0$i$i$i$i792 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$216 >> 2] | 0) + 36 >> 2] & 127]($216) | 0; else $retval$0$i$i$i$i792 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$217 >> 2] | 0) | 0; + if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj($retval$0$i$i$i$i792, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { + HEAP32[$__b >> 2] = 0; + $301 = 1; break; } else { - $784 = (HEAP32[$0 >> 2] | 0) == 0; + $301 = (HEAP32[$__b >> 2] | 0) == 0; break; } - } else $784 = 1; while (0); - do if ($614) { - $616 = HEAP32[$614 + 12 >> 2] | 0; - if (($616 | 0) == (HEAP32[$614 + 16 >> 2] | 0)) $$0$i$i2$i$i272 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$614 >> 2] | 0) + 36 >> 2] & 127]($614) | 0; else $$0$i$i2$i$i272 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$616 >> 2] | 0) | 0; - if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj($$0$i$i2$i$i272, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if ($784) { - $785 = $614; + } else $301 = 1; while (0); + do if ($221) { + $222 = HEAP32[$221 + 12 >> 2] | 0; + if (($222 | 0) == (HEAP32[$221 + 16 >> 2] | 0)) $retval$0$i$i13$i$i813 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$221 >> 2] | 0) + 36 >> 2] & 127]($221) | 0; else $retval$0$i$i13$i$i813 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$222 >> 2] | 0) | 0; + if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj($retval$0$i$i13$i$i813, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if ($301) { + $302 = $221; break; } else { label = 226; break L21; } else { - HEAP32[$1 >> 2] = 0; + HEAP32[$__e >> 2] = 0; label = 220; break; } } else label = 220; while (0); if ((label | 0) == 220) { label = 0; - if ($784) { + if ($301) { label = 226; break L21; - } else $785 = 0; + } else $302 = 0; } - $628 = HEAP32[$0 >> 2] | 0; - $630 = HEAP32[$628 + 12 >> 2] | 0; - if (($630 | 0) == (HEAP32[$628 + 16 >> 2] | 0)) $$0$i$i278 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$628 >> 2] | 0) + 36 >> 2] & 127]($628) | 0; else $$0$i$i278 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$630 >> 2] | 0) | 0; - if (!(FUNCTION_TABLE_iiii[HEAP32[(HEAP32[$7 >> 2] | 0) + 12 >> 2] & 63]($7, 2048, $$0$i$i278) | 0)) { + $226 = HEAP32[$__b >> 2] | 0; + $227 = HEAP32[$226 + 12 >> 2] | 0; + if (($227 | 0) == (HEAP32[$226 + 16 >> 2] | 0)) $retval$0$i$i833 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$226 >> 2] | 0) + 36 >> 2] & 127]($226) | 0; else $retval$0$i$i833 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$227 >> 2] | 0) | 0; + if (!(FUNCTION_TABLE_iiii[HEAP32[(HEAP32[$__ct >> 2] | 0) + 12 >> 2] & 63]($__ct, 2048, $retval$0$i$i833) | 0)) { label = 226; break L21; } - if ((HEAP32[$9 >> 2] | 0) == (HEAP32[$11 >> 2] | 0)) __ZNSt3__219__double_or_nothingIwEEvRNS_10unique_ptrIT_PFvPvEEERPS2_S9_($8, $9, $11); - $649 = HEAP32[$0 >> 2] | 0; - $651 = HEAP32[$649 + 12 >> 2] | 0; - if (($651 | 0) == (HEAP32[$649 + 16 >> 2] | 0)) $$0$i$i280 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$649 >> 2] | 0) + 36 >> 2] & 127]($649) | 0; else $$0$i$i280 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$651 >> 2] | 0) | 0; - $661 = HEAP32[$9 >> 2] | 0; - HEAP32[$9 >> 2] = $661 + 4; - HEAP32[$661 >> 2] = $$0$i$i280; - HEAP32[$24 >> 2] = (HEAP32[$24 >> 2] | 0) + -1; - $665 = HEAP32[$0 >> 2] | 0; - $666 = $665 + 12 | 0; - $667 = HEAP32[$666 >> 2] | 0; - if (($667 | 0) == (HEAP32[$665 + 16 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$665 >> 2] | 0) + 40 >> 2] & 127]($665) | 0; else { - HEAP32[$666 >> 2] = $667 + 4; - __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$667 >> 2] | 0) | 0; - } - $614 = $785; + if ((HEAP32[$__wn >> 2] | 0) == (HEAP32[$__we$addr >> 2] | 0)) __ZNSt3__219__double_or_nothingIwEEvRNS_10unique_ptrIT_PFvPvEEERPS2_S9_($__wb, $__wn, $__we$addr); + $235 = HEAP32[$__b >> 2] | 0; + $236 = HEAP32[$235 + 12 >> 2] | 0; + if (($236 | 0) == (HEAP32[$235 + 16 >> 2] | 0)) $retval$0$i$i848 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$235 >> 2] | 0) + 36 >> 2] & 127]($235) | 0; else $retval$0$i$i848 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$236 >> 2] | 0) | 0; + $240 = HEAP32[$__wn >> 2] | 0; + HEAP32[$__wn >> 2] = $240 + 4; + HEAP32[$240 >> 2] = $retval$0$i$i848; + HEAP32[$__fd >> 2] = (HEAP32[$__fd >> 2] | 0) + -1; + $242 = HEAP32[$__b >> 2] | 0; + $__ninp_$i$i851 = $242 + 12 | 0; + $243 = HEAP32[$__ninp_$i$i851 >> 2] | 0; + if (($243 | 0) == (HEAP32[$242 + 16 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$242 >> 2] | 0) + 40 >> 2] & 127]($242) | 0; else { + HEAP32[$__ninp_$i$i851 >> 2] = $243 + 4; + __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$243 >> 2] | 0) | 0; + } + $221 = $302; } } while (0); - if ((HEAP32[$9 >> 2] | 0) == (HEAP32[$8 >> 2] | 0)) { + if ((HEAP32[$__wn >> 2] | 0) == (HEAP32[$__wb >> 2] | 0)) { label = 237; break L21; - } else $$1132 = $$0131; + } else $__trailing_sign$1 = $__trailing_sign$0; break; } default: - $$1132 = $$0131; + $__trailing_sign$1 = $__trailing_sign$0; } while (0); L286 : do if ((label | 0) == 46) { label = 0; - $139 = $767; + $35 = $284; while (1) { - $123 = HEAP32[$0 >> 2] | 0; - do if ($123) { - $126 = HEAP32[$123 + 12 >> 2] | 0; - if (($126 | 0) == (HEAP32[$123 + 16 >> 2] | 0)) $$0$i$i$i$i162 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$123 >> 2] | 0) + 36 >> 2] & 127]($123) | 0; else $$0$i$i$i$i162 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$126 >> 2] | 0) | 0; - if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj($$0$i$i$i$i162, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { - HEAP32[$0 >> 2] = 0; - $769 = 1; + $30 = HEAP32[$__b >> 2] | 0; + do if ($30) { + $31 = HEAP32[$30 + 12 >> 2] | 0; + if (($31 | 0) == (HEAP32[$30 + 16 >> 2] | 0)) $retval$0$i$i$i$i169 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$30 >> 2] | 0) + 36 >> 2] & 127]($30) | 0; else $retval$0$i$i$i$i169 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$31 >> 2] | 0) | 0; + if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj($retval$0$i$i$i$i169, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { + HEAP32[$__b >> 2] = 0; + $286 = 1; break; } else { - $769 = (HEAP32[$0 >> 2] | 0) == 0; + $286 = (HEAP32[$__b >> 2] | 0) == 0; break; } - } else $769 = 1; while (0); - do if ($139) { - $141 = HEAP32[$139 + 12 >> 2] | 0; - if (($141 | 0) == (HEAP32[$139 + 16 >> 2] | 0)) $$0$i$i2$i$i168 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$139 >> 2] | 0) + 36 >> 2] & 127]($139) | 0; else $$0$i$i2$i$i168 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$141 >> 2] | 0) | 0; - if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj($$0$i$i2$i$i168, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if ($769) { - $770 = $139; + } else $286 = 1; while (0); + do if ($35) { + $36 = HEAP32[$35 + 12 >> 2] | 0; + if (($36 | 0) == (HEAP32[$35 + 16 >> 2] | 0)) $retval$0$i$i13$i$i190 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$35 >> 2] | 0) + 36 >> 2] & 127]($35) | 0; else $retval$0$i$i13$i$i190 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$36 >> 2] | 0) | 0; + if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj($retval$0$i$i13$i$i190, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if ($286) { + $287 = $35; break; } else { - $$1132 = $$0131; + $__trailing_sign$1 = $__trailing_sign$0; break L286; } else { - HEAP32[$1 >> 2] = 0; + HEAP32[$__e >> 2] = 0; label = 60; break; } } else label = 60; while (0); if ((label | 0) == 60) { label = 0; - if ($769) { - $$1132 = $$0131; + if ($286) { + $__trailing_sign$1 = $__trailing_sign$0; break L286; - } else $770 = 0; + } else $287 = 0; } - $153 = HEAP32[$0 >> 2] | 0; - $155 = HEAP32[$153 + 12 >> 2] | 0; - if (($155 | 0) == (HEAP32[$153 + 16 >> 2] | 0)) $$0$i$i174 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$153 >> 2] | 0) + 36 >> 2] & 127]($153) | 0; else $$0$i$i174 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$155 >> 2] | 0) | 0; - if (!(FUNCTION_TABLE_iiii[HEAP32[(HEAP32[$7 >> 2] | 0) + 12 >> 2] & 63]($7, 8192, $$0$i$i174) | 0)) { - $$1132 = $$0131; + $40 = HEAP32[$__b >> 2] | 0; + $41 = HEAP32[$40 + 12 >> 2] | 0; + if (($41 | 0) == (HEAP32[$40 + 16 >> 2] | 0)) $retval$0$i$i209 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$40 >> 2] | 0) + 36 >> 2] & 127]($40) | 0; else $retval$0$i$i209 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$41 >> 2] | 0) | 0; + if (!(FUNCTION_TABLE_iiii[HEAP32[(HEAP32[$__ct >> 2] | 0) + 12 >> 2] & 63]($__ct, 8192, $retval$0$i$i209) | 0)) { + $__trailing_sign$1 = $__trailing_sign$0; break L286; } - $169 = HEAP32[$0 >> 2] | 0; - $170 = $169 + 12 | 0; - $171 = HEAP32[$170 >> 2] | 0; - if (($171 | 0) == (HEAP32[$169 + 16 >> 2] | 0)) $$0$i$i176 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$169 >> 2] | 0) + 40 >> 2] & 127]($169) | 0; else { - HEAP32[$170 >> 2] = $171 + 4; - $$0$i$i176 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$171 >> 2] | 0) | 0; + $46 = HEAP32[$__b >> 2] | 0; + $__ninp_$i$i215 = $46 + 12 | 0; + $47 = HEAP32[$__ninp_$i$i215 >> 2] | 0; + if (($47 | 0) == (HEAP32[$46 + 16 >> 2] | 0)) $retval$0$i$i225 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$46 >> 2] | 0) + 40 >> 2] & 127]($46) | 0; else { + HEAP32[$__ninp_$i$i215 >> 2] = $47 + 4; + $retval$0$i$i225 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$47 >> 2] | 0) | 0; } - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9push_backEw($23, $$0$i$i176); - $139 = $770; + __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9push_backEw($__spaces, $retval$0$i$i225); + $35 = $287; } } while (0); - $$0131 = $$1132; - $$0133 = $$0133 + 1 | 0; + $__p$0 = $__p$0 + 1 | 0; + $__trailing_sign$0 = $__trailing_sign$1; } L322 : do if ((label | 0) == 44) { - HEAP32[$5 >> 2] = HEAP32[$5 >> 2] | 4; - $$10 = 0; + HEAP32[$__err >> 2] = HEAP32[$__err >> 2] | 4; + $retval$10 = 0; } else if ((label | 0) == 103) { - HEAP32[$5 >> 2] = HEAP32[$5 >> 2] | 4; - $$10 = 0; + HEAP32[$__err >> 2] = HEAP32[$__err >> 2] | 4; + $retval$10 = 0; } else if ((label | 0) == 146) { - HEAP32[$5 >> 2] = HEAP32[$5 >> 2] | 4; - $$10 = 0; + HEAP32[$__err >> 2] = HEAP32[$__err >> 2] | 4; + $retval$10 = 0; } else if ((label | 0) == 201) { - HEAP32[$5 >> 2] = HEAP32[$5 >> 2] | 4; - $$10 = 0; + HEAP32[$__err >> 2] = HEAP32[$__err >> 2] | 4; + $retval$10 = 0; } else if ((label | 0) == 226) { - HEAP32[$5 >> 2] = HEAP32[$5 >> 2] | 4; - $$10 = 0; + HEAP32[$__err >> 2] = HEAP32[$__err >> 2] | 4; + $retval$10 = 0; } else if ((label | 0) == 237) { - HEAP32[$5 >> 2] = HEAP32[$5 >> 2] | 4; - $$10 = 0; + HEAP32[$__err >> 2] = HEAP32[$__err >> 2] | 4; + $retval$10 = 0; } else if ((label | 0) == 239) { - L324 : do if ($$0131 | 0) { - $684 = $$0131 + 8 + 3 | 0; - $685 = $$0131 + 4 | 0; - $$0 = 1; + L324 : do if ($__trailing_sign$0 | 0) { + $__size_$i$i863 = $__trailing_sign$0 + 8 + 3 | 0; + $__size_$i2$i865 = $__trailing_sign$0 + 4 | 0; + $__i$0 = 1; L326 : while (1) { - $686 = HEAP8[$684 >> 0] | 0; - if ($686 << 24 >> 24 < 0) $691 = HEAP32[$685 >> 2] | 0; else $691 = $686 & 255; - if ($$0 >>> 0 >= $691 >>> 0) break L324; - $692 = HEAP32[$0 >> 2] | 0; - do if ($692) { - $695 = HEAP32[$692 + 12 >> 2] | 0; - if (($695 | 0) == (HEAP32[$692 + 16 >> 2] | 0)) $$0$i$i$i$i207 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$692 >> 2] | 0) + 36 >> 2] & 127]($692) | 0; else $$0$i$i$i$i207 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$695 >> 2] | 0) | 0; - if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj($$0$i$i$i$i207, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { - HEAP32[$0 >> 2] = 0; - $786 = 1; + $251 = HEAP8[$__size_$i$i863 >> 0] | 0; + if ($251 << 24 >> 24 < 0) $cond$i869 = HEAP32[$__size_$i2$i865 >> 2] | 0; else $cond$i869 = $251 & 255; + if ($__i$0 >>> 0 >= $cond$i869 >>> 0) break L324; + $253 = HEAP32[$__b >> 2] | 0; + do if ($253) { + $254 = HEAP32[$253 + 12 >> 2] | 0; + if (($254 | 0) == (HEAP32[$253 + 16 >> 2] | 0)) $retval$0$i$i$i$i500 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$253 >> 2] | 0) + 36 >> 2] & 127]($253) | 0; else $retval$0$i$i$i$i500 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$254 >> 2] | 0) | 0; + if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj($retval$0$i$i$i$i500, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { + HEAP32[$__b >> 2] = 0; + $303 = 1; break; } else { - $786 = (HEAP32[$0 >> 2] | 0) == 0; + $303 = (HEAP32[$__b >> 2] | 0) == 0; break; } - } else $786 = 1; while (0); - $707 = HEAP32[$1 >> 2] | 0; - do if ($707) { - $710 = HEAP32[$707 + 12 >> 2] | 0; - if (($710 | 0) == (HEAP32[$707 + 16 >> 2] | 0)) $$0$i$i2$i$i213 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$707 >> 2] | 0) + 36 >> 2] & 127]($707) | 0; else $$0$i$i2$i$i213 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$710 >> 2] | 0) | 0; - if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj($$0$i$i2$i$i213, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if ($786) break; else break L326; else { - HEAP32[$1 >> 2] = 0; + } else $303 = 1; while (0); + $258 = HEAP32[$__e >> 2] | 0; + do if ($258) { + $259 = HEAP32[$258 + 12 >> 2] | 0; + if (($259 | 0) == (HEAP32[$258 + 16 >> 2] | 0)) $retval$0$i$i13$i$i521 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$258 >> 2] | 0) + 36 >> 2] & 127]($258) | 0; else $retval$0$i$i13$i$i521 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$259 >> 2] | 0) | 0; + if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj($retval$0$i$i13$i$i521, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if ($303) break; else break L326; else { + HEAP32[$__e >> 2] = 0; label = 258; break; } } else label = 258; while (0); - if ((label | 0) == 258 ? (label = 0, $786) : 0) break; - $722 = HEAP32[$0 >> 2] | 0; - $724 = HEAP32[$722 + 12 >> 2] | 0; - if (($724 | 0) == (HEAP32[$722 + 16 >> 2] | 0)) $$0$i$i203 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$722 >> 2] | 0) + 36 >> 2] & 127]($722) | 0; else $$0$i$i203 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$724 >> 2] | 0) | 0; - if ((HEAP8[$684 >> 0] | 0) < 0) $738 = HEAP32[$$0131 >> 2] | 0; else $738 = $$0131; - if (($$0$i$i203 | 0) != (HEAP32[$738 + ($$0 << 2) >> 2] | 0)) break; - $744 = HEAP32[$0 >> 2] | 0; - $745 = $744 + 12 | 0; - $746 = HEAP32[$745 >> 2] | 0; - if (($746 | 0) == (HEAP32[$744 + 16 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$744 >> 2] | 0) + 40 >> 2] & 127]($744) | 0; else { - HEAP32[$745 >> 2] = $746 + 4; - __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$746 >> 2] | 0) | 0; - } - $$0 = $$0 + 1 | 0; - } - HEAP32[$5 >> 2] = HEAP32[$5 >> 2] | 4; - $$10 = 0; + if ((label | 0) == 258 ? (label = 0, $303) : 0) break; + $263 = HEAP32[$__b >> 2] | 0; + $264 = HEAP32[$263 + 12 >> 2] | 0; + if (($264 | 0) == (HEAP32[$263 + 16 >> 2] | 0)) $retval$0$i$i471 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$263 >> 2] | 0) + 36 >> 2] & 127]($263) | 0; else $retval$0$i$i471 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$264 >> 2] | 0) | 0; + if ((HEAP8[$__size_$i$i863 >> 0] | 0) < 0) $cond$i$i$i = HEAP32[$__trailing_sign$0 >> 2] | 0; else $cond$i$i$i = $__trailing_sign$0; + if (($retval$0$i$i471 | 0) != (HEAP32[$cond$i$i$i + ($__i$0 << 2) >> 2] | 0)) break; + $272 = HEAP32[$__b >> 2] | 0; + $__ninp_$i$i = $272 + 12 | 0; + $273 = HEAP32[$__ninp_$i$i >> 2] | 0; + if (($273 | 0) == (HEAP32[$272 + 16 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$272 >> 2] | 0) + 40 >> 2] & 127]($272) | 0; else { + HEAP32[$__ninp_$i$i >> 2] = $273 + 4; + __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$273 >> 2] | 0) | 0; + } + $__i$0 = $__i$0 + 1 | 0; + } + HEAP32[$__err >> 2] = HEAP32[$__err >> 2] | 4; + $retval$10 = 0; break L322; } while (0); - $755 = HEAP32[$13 >> 2] | 0; - $756 = HEAP32[$14 >> 2] | 0; - if (($755 | 0) != ($756 | 0)) { - HEAP32[$25 >> 2] = 0; - __ZNSt3__216__check_groupingERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjS8_Rj($19, $755, $756, $25); - if (!(HEAP32[$25 >> 2] | 0)) { - $$10 = 1; + $277 = HEAP32[$__gb >> 2] | 0; + $278 = HEAP32[$__gn >> 2] | 0; + if (($277 | 0) != ($278 | 0)) { + HEAP32[$__et >> 2] = 0; + __ZNSt3__216__check_groupingERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjS8_Rj($__grp, $277, $278, $__et); + if (!(HEAP32[$__et >> 2] | 0)) { + $retval$10 = 1; break; } else { - HEAP32[$5 >> 2] = HEAP32[$5 >> 2] | 4; - $$10 = 0; + HEAP32[$__err >> 2] = HEAP32[$__err >> 2] | 4; + $retval$10 = 0; break; } - } else $$10 = 1; + } else $retval$10 = 1; } while (0); - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev($23); - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev($22); - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev($21); - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev($20); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($19); - $762 = HEAP32[$13 >> 2] | 0; - HEAP32[$13 >> 2] = 0; - if ($762 | 0) FUNCTION_TABLE_vi[HEAP32[$13 + 4 >> 2] & 255]($762); - STACKTOP = sp; - return $$10 | 0; -} -function _jpeg_make_d_derived_tbl($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $$0122157 = 0, $$0124135$us = 0, $$0124135$us$1 = 0, $$0125134$us = 0, $$0125134$us$1 = 0, $$0129155 = 0, $$1$lcssa = 0, $$1$lcssa$1 = 0, $$1$lcssa$10 = 0, $$1$lcssa$11 = 0, $$1$lcssa$12 = 0, $$1$lcssa$13 = 0, $$1$lcssa$14 = 0, $$1$lcssa$15 = 0, $$1$lcssa$2 = 0, $$1$lcssa$3 = 0, $$1$lcssa$4 = 0, $$1$lcssa$5 = 0, $$1$lcssa$6 = 0, $$1$lcssa$7 = 0, $$1$lcssa$8 = 0, $$1$lcssa$9 = 0, $$1123$lcssa = 0, $$1123148 = 0, $$1127137$us = 0, $$1127137$us$1 = 0, $$1127137$us$2 = 0, $$1127137$us$3 = 0, $$1127137$us$4 = 0, $$1127137$us$5 = 0, $$1127137$us$6 = 0, $$1127137$us$7 = 0, $$2128133 = 0, $$2158 = 0, $$3$lcssa = 0, $$3149 = 0, $$5 = 0, $$5$1 = 0, $$5$10 = 0, $$5$11 = 0, $$5$12 = 0, $$5$13 = 0, $$5$14 = 0, $$5$2 = 0, $$5$3 = 0, $$5$4 = 0, $$5$5 = 0, $$5$6 = 0, $$5$7 = 0, $$5$8 = 0, $$5$9 = 0, $$7$lcssa = 0, $$7$lcssa$1 = 0, $$7$lcssa$2 = 0, $$7$lcssa$3 = 0, $$7$lcssa$4 = 0, $$7$lcssa$5 = 0, $$7$lcssa$6 = 0, $$7138$us = 0, $$7138$us$1 = 0, $$7138$us$2 = 0, $$7138$us$3 = 0, $$7138$us$4 = 0, $$7138$us$5 = 0, $$7138$us$6 = 0, $$7138$us$7 = 0, $$pre$phiZ2D = 0, $$sink = 0, $$sink$1 = 0, $$sink$10 = 0, $$sink$11 = 0, $$sink$12 = 0, $$sink$13 = 0, $$sink$14 = 0, $$sink$15 = 0, $$sink$2 = 0, $$sink$3 = 0, $$sink$4 = 0, $$sink$5 = 0, $$sink$6 = 0, $$sink$7 = 0, $$sink$8 = 0, $$sink$9 = 0, $104 = 0, $112 = 0, $116 = 0, $12 = 0, $121 = 0, $122 = 0, $126 = 0, $130 = 0, $134 = 0, $138 = 0, $142 = 0, $146 = 0, $15 = 0, $150 = 0, $154 = 0, $158 = 0, $162 = 0, $166 = 0, $17 = 0, $170 = 0, $174 = 0, $178 = 0, $182 = 0, $186 = 0, $190 = 0, $194 = 0, $198 = 0, $202 = 0, $206 = 0, $210 = 0, $214 = 0, $218 = 0, $22 = 0, $222 = 0, $226 = 0, $230 = 0, $234 = 0, $238 = 0, $242 = 0, $246 = 0, $251 = 0, $255 = 0, $260 = 0, $261 = 0, $265 = 0, $269 = 0, $27 = 0, $273 = 0, $277 = 0, $281 = 0, $285 = 0, $289 = 0, $29 = 0, $293 = 0, $297 = 0, $301 = 0, $305 = 0, $309 = 0, $31 = 0, $313 = 0, $317 = 0, $32 = 0, $321 = 0, $326 = 0, $330 = 0, $335 = 0, $336 = 0, $340 = 0, $344 = 0, $348 = 0, $35 = 0, $352 = 0, $356 = 0, $36 = 0, $360 = 0, $364 = 0, $369 = 0, $37 = 0, $373 = 0, $378 = 0, $379 = 0, $383 = 0, $387 = 0, $391 = 0, $396 = 0, $4 = 0, $40 = 0, $400 = 0, $405 = 0, $406 = 0, $410 = 0, $415 = 0, $419 = 0, $42 = 0, $423 = 0, $44 = 0, $440 = 0, $445 = 0, $454 = 0, $459 = 0, $46 = 0, $468 = 0, $473 = 0, $48 = 0, $482 = 0, $487 = 0, $496 = 0, $5 = 0, $501 = 0, $510 = 0, $515 = 0, $524 = 0, $529 = 0, $53 = 0, $538 = 0, $543 = 0, $552 = 0, $557 = 0, $566 = 0, $571 = 0, $580 = 0, $585 = 0, $59 = 0, $594 = 0, $599 = 0, $60 = 0, $608 = 0, $613 = 0, $622 = 0, $627 = 0, $645 = 0, $650 = 0, $651 = 0, $652 = 0, $654 = 0, $659 = 0, $660 = 0, $661 = 0, $663 = 0, $668 = 0, $669 = 0, $67 = 0, $670 = 0, $672 = 0, $677 = 0, $678 = 0, $679 = 0, $681 = 0, $686 = 0, $687 = 0, $688 = 0, $690 = 0, $695 = 0, $696 = 0, $697 = 0, $699 = 0, $7 = 0, $704 = 0, $705 = 0, $706 = 0, $708 = 0, $713 = 0, $714 = 0, $715 = 0, $717 = 0, $72 = 0, $722 = 0, $723 = 0, $724 = 0, $726 = 0, $731 = 0, $732 = 0, $733 = 0, $735 = 0, $740 = 0, $741 = 0, $742 = 0, $744 = 0, $749 = 0, $750 = 0, $751 = 0, $753 = 0, $758 = 0, $759 = 0, $760 = 0, $762 = 0, $767 = 0, $768 = 0, $769 = 0, $771 = 0, $78 = 0, $86 = 0, $88 = 0, $91 = 0, $97 = 0, sp = 0; + __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev($__spaces); + __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev($__nsn); + __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev($__psn); + __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev($__sym); + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($__grp); + $281 = HEAP32[$__gb >> 2] | 0; + HEAP32[$__gb >> 2] = 0; + if ($281 | 0) FUNCTION_TABLE_vi[HEAP32[$__gb + 4 >> 2] & 255]($281); + STACKTOP = sp; + return $retval$10 | 0; +} + +function _jpeg_make_d_derived_tbl($cinfo, $isDC, $tblno, $pdtbl) { + $cinfo = $cinfo | 0; + $isDC = $isDC | 0; + $tblno = $tblno | 0; + $pdtbl = $pdtbl | 0; + var $$pre$phiZ2D = 0, $$sink = 0, $$sink$1 = 0, $$sink$10 = 0, $$sink$11 = 0, $$sink$12 = 0, $$sink$13 = 0, $$sink$14 = 0, $$sink$15 = 0, $$sink$2 = 0, $$sink$3 = 0, $$sink$4 = 0, $$sink$5 = 0, $$sink$6 = 0, $$sink$7 = 0, $$sink$8 = 0, $$sink$9 = 0, $1 = 0, $10 = 0, $11 = 0, $113 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $18 = 0, $191 = 0, $193 = 0, $194 = 0, $196 = 0, $197 = 0, $199 = 0, $200 = 0, $202 = 0, $203 = 0, $205 = 0, $206 = 0, $208 = 0, $209 = 0, $211 = 0, $212 = 0, $214 = 0, $215 = 0, $217 = 0, $218 = 0, $220 = 0, $221 = 0, $223 = 0, $224 = 0, $226 = 0, $227 = 0, $229 = 0, $230 = 0, $232 = 0, $233 = 0, $30 = 0, $4 = 0, $7 = 0, $add$1 = 0, $add$10 = 0, $add$11 = 0, $add$12 = 0, $add$13 = 0, $add$14 = 0, $add$15 = 0, $add$2 = 0, $add$3 = 0, $add$4 = 0, $add$5 = 0, $add$6 = 0, $add$7 = 0, $add$8 = 0, $add$9 = 0, $add79$1 = 0, $add79$10 = 0, $add79$11 = 0, $add79$12 = 0, $add79$13 = 0, $add79$14 = 0, $add79$2 = 0, $add79$3 = 0, $add79$4 = 0, $add79$5 = 0, $add79$6 = 0, $add79$7 = 0, $add79$8 = 0, $add79$9 = 0, $arrayidx113$us = 0, $arrayidx113$us$1 = 0, $arrayidx113$us$2 = 0, $arrayidx113$us$3 = 0, $arrayidx113$us$4 = 0, $arrayidx113$us$5 = 0, $arrayidx113$us$6 = 0, $arrayidx71 = 0, $arrayidx71$1 = 0, $arrayidx71$10 = 0, $arrayidx71$11 = 0, $arrayidx71$12 = 0, $arrayidx71$13 = 0, $arrayidx71$14 = 0, $arrayidx71$15 = 0, $arrayidx71$2 = 0, $arrayidx71$3 = 0, $arrayidx71$4 = 0, $arrayidx71$5 = 0, $arrayidx71$6 = 0, $arrayidx71$7 = 0, $arrayidx71$8 = 0, $arrayidx71$9 = 0, $arrayidx97 = 0, $arrayidx97$1 = 0, $arrayidx97$2 = 0, $arrayidx97$3 = 0, $arrayidx97$4 = 0, $arrayidx97$5 = 0, $arrayidx97$6 = 0, $arrayidx97$7 = 0, $call = 0, $code$0123 = 0, $code$1$lcssa = 0, $code$1115 = 0, $cond = 0, $conv = 0, $conv$1 = 0, $conv$10 = 0, $conv$11 = 0, $conv$12 = 0, $conv$13 = 0, $conv$14 = 0, $conv$15 = 0, $conv$2 = 0, $conv$3 = 0, $conv$4 = 0, $conv$5 = 0, $conv$6 = 0, $conv$7 = 0, $conv$8 = 0, $conv$9 = 0, $conv78 = 0, $ctr$0101$us = 0, $ctr$0101$us$1 = 0, $huffcode = 0, $huffsize = 0, $i$1104$us = 0, $i$1104$us$1 = 0, $i$1104$us$2 = 0, $i$1104$us$3 = 0, $i$1104$us$4 = 0, $i$1104$us$5 = 0, $i$1104$us$6 = 0, $i$1104$us$7 = 0, $i$298 = 0, $inc115$us$2 = 0, $inc115$us$2$1 = 0, $inc115$us$2$10 = 0, $inc115$us$2$11 = 0, $inc115$us$2$12 = 0, $inc115$us$2$13 = 0, $inc115$us$2$14 = 0, $inc115$us$2$15 = 0, $inc115$us$2$16 = 0, $inc115$us$2$17 = 0, $inc115$us$2$18 = 0, $inc115$us$2$19 = 0, $inc115$us$2$2 = 0, $inc115$us$2$20 = 0, $inc115$us$2$21 = 0, $inc115$us$2$22 = 0, $inc115$us$2$23 = 0, $inc115$us$2$24 = 0, $inc115$us$2$25 = 0, $inc115$us$2$26 = 0, $inc115$us$2$27 = 0, $inc115$us$2$28 = 0, $inc115$us$2$29 = 0, $inc115$us$2$3 = 0, $inc115$us$2$30 = 0, $inc115$us$2$4 = 0, $inc115$us$2$5 = 0, $inc115$us$2$6 = 0, $inc115$us$2$7 = 0, $inc115$us$2$8 = 0, $inc115$us$2$9 = 0, $inc115$us$3 = 0, $inc115$us$3$1 = 0, $inc115$us$3$10 = 0, $inc115$us$3$11 = 0, $inc115$us$3$12 = 0, $inc115$us$3$13 = 0, $inc115$us$3$14 = 0, $inc115$us$3$2 = 0, $inc115$us$3$3 = 0, $inc115$us$3$4 = 0, $inc115$us$3$5 = 0, $inc115$us$3$6 = 0, $inc115$us$3$7 = 0, $inc115$us$3$8 = 0, $inc115$us$3$9 = 0, $inc115$us$4 = 0, $inc115$us$4$1 = 0, $inc115$us$4$2 = 0, $inc115$us$4$3 = 0, $inc115$us$4$4 = 0, $inc115$us$4$5 = 0, $inc115$us$4$6 = 0, $inc115$us$5 = 0, $inc115$us$5$1 = 0, $inc115$us$5$2 = 0, $inc115$us$6 = 0, $inc121$us = 0, $inc121$us$1 = 0, $inc121$us$2 = 0, $inc121$us$3 = 0, $inc121$us$4 = 0, $inc121$us$5 = 0, $inc121$us$6 = 0, $inc51 = 0, $inc53 = 0, $lookbits$0100$us = 0, $lookbits$0100$us$1 = 0, $p$1$lcssa = 0, $p$1$lcssa$1 = 0, $p$1$lcssa$10 = 0, $p$1$lcssa$11 = 0, $p$1$lcssa$12 = 0, $p$1$lcssa$13 = 0, $p$1$lcssa$14 = 0, $p$1$lcssa$15 = 0, $p$1$lcssa$2 = 0, $p$1$lcssa$3 = 0, $p$1$lcssa$4 = 0, $p$1$lcssa$5 = 0, $p$1$lcssa$6 = 0, $p$1$lcssa$7 = 0, $p$1$lcssa$8 = 0, $p$1$lcssa$9 = 0, $p$2124 = 0, $p$3$lcssa = 0, $p$3116 = 0, $p$5 = 0, $p$5$1 = 0, $p$5$10 = 0, $p$5$11 = 0, $p$5$12 = 0, $p$5$13 = 0, $p$5$14 = 0, $p$5$2 = 0, $p$5$3 = 0, $p$5$4 = 0, $p$5$5 = 0, $p$5$6 = 0, $p$5$7 = 0, $p$5$8 = 0, $p$5$9 = 0, $p$7$lcssa = 0, $p$7$lcssa$1 = 0, $p$7$lcssa$2 = 0, $p$7$lcssa$3 = 0, $p$7$lcssa$4 = 0, $p$7$lcssa$5 = 0, $p$7$lcssa$6 = 0, $p$7105$us = 0, $p$7105$us$1 = 0, $p$7105$us$2 = 0, $p$7105$us$3 = 0, $p$7105$us$4 = 0, $p$7105$us$5 = 0, $p$7105$us$6 = 0, $p$7105$us$7 = 0, $shl104$us$2 = 0, $shl104$us$3 = 0, $shl104$us$4 = 0, $shl104$us$5 = 0, $shl104$us$6 = 0, $si$0121 = 0, $tobool = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 1312 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(1312); - $4 = sp + 1040 | 0; - $5 = sp; - if ($2 >>> 0 > 3) { - $7 = HEAP32[$0 >> 2] | 0; - HEAP32[$7 + 20 >> 2] = 52; - HEAP32[$7 + 24 >> 2] = $2; - FUNCTION_TABLE_vi[HEAP32[HEAP32[$0 >> 2] >> 2] & 255]($0); - } - $12 = ($1 | 0) != 0; - $15 = HEAP32[($12 ? $0 + 180 + ($2 << 2) | 0 : $0 + 196 + ($2 << 2) | 0) >> 2] | 0; - if (!$15) { - $17 = HEAP32[$0 >> 2] | 0; - HEAP32[$17 + 20 >> 2] = 52; - HEAP32[$17 + 24 >> 2] = $2; - FUNCTION_TABLE_vi[HEAP32[HEAP32[$0 >> 2] >> 2] & 255]($0); - } - $22 = HEAP32[$3 >> 2] | 0; - if (!$22) { - $27 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[$0 + 4 >> 2] >> 2] & 63]($0, 1, 1424) | 0; - HEAP32[$3 >> 2] = $27; - $$pre$phiZ2D = $0; - $29 = $27; + $huffsize = sp + 1040 | 0; + $huffcode = sp; + if ($tblno >>> 0 > 3) { + $1 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$1 + 20 >> 2] = 52; + HEAP32[$1 + 24 >> 2] = $tblno; + FUNCTION_TABLE_vi[HEAP32[HEAP32[$cinfo >> 2] >> 2] & 255]($cinfo); + } + $tobool = ($isDC | 0) != 0; + $cond = HEAP32[($tobool ? $cinfo + 180 + ($tblno << 2) | 0 : $cinfo + 196 + ($tblno << 2) | 0) >> 2] | 0; + if (!$cond) { + $4 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$4 + 20 >> 2] = 52; + HEAP32[$4 + 24 >> 2] = $tblno; + FUNCTION_TABLE_vi[HEAP32[HEAP32[$cinfo >> 2] >> 2] & 255]($cinfo); + } + $7 = HEAP32[$pdtbl >> 2] | 0; + if (!$7) { + $call = FUNCTION_TABLE_iiii[HEAP32[HEAP32[$cinfo + 4 >> 2] >> 2] & 63]($cinfo, 1, 1424) | 0; + HEAP32[$pdtbl >> 2] = $call; + $$pre$phiZ2D = $cinfo; + $10 = $call; } else { - $$pre$phiZ2D = $0; - $29 = $22; - } - HEAP32[$29 + 140 >> 2] = $15; - $31 = HEAP8[$15 + 1 >> 0] | 0; - $32 = $31 & 255; - if (!($31 << 24 >> 24)) $$1$lcssa = 0; else { - _memset($4 | 0, 1, $32 | 0) | 0; - $$1$lcssa = $32; - } - $35 = HEAP8[$15 + 2 >> 0] | 0; - $36 = $35 & 255; - $37 = $$1$lcssa + $36 | 0; - if ($37 >>> 0 > 256) { - $645 = HEAP32[$0 >> 2] | 0; - HEAP32[$645 + 20 >> 2] = 9; - FUNCTION_TABLE_vi[HEAP32[$645 >> 2] & 255]($$pre$phiZ2D); - } - if (!($35 << 24 >> 24)) $$1$lcssa$1 = $$1$lcssa; else { - _memset($4 + $$1$lcssa | 0, 2, $36 | 0) | 0; - $$1$lcssa$1 = $37; - } - $650 = HEAP8[$15 + 3 >> 0] | 0; - $651 = $650 & 255; - $652 = $$1$lcssa$1 + $651 | 0; - if (($652 | 0) > 256) { - $654 = HEAP32[$0 >> 2] | 0; - HEAP32[$654 + 20 >> 2] = 9; - FUNCTION_TABLE_vi[HEAP32[$654 >> 2] & 255]($$pre$phiZ2D); - } - if (!($650 << 24 >> 24)) $$1$lcssa$2 = $$1$lcssa$1; else { - _memset($4 + $$1$lcssa$1 | 0, 3, $651 | 0) | 0; - $$1$lcssa$2 = $652; - } - $659 = HEAP8[$15 + 4 >> 0] | 0; - $660 = $659 & 255; - $661 = $$1$lcssa$2 + $660 | 0; - if (($661 | 0) > 256) { - $663 = HEAP32[$0 >> 2] | 0; - HEAP32[$663 + 20 >> 2] = 9; - FUNCTION_TABLE_vi[HEAP32[$663 >> 2] & 255]($$pre$phiZ2D); - } - if (!($659 << 24 >> 24)) $$1$lcssa$3 = $$1$lcssa$2; else { - _memset($4 + $$1$lcssa$2 | 0, 4, $660 | 0) | 0; - $$1$lcssa$3 = $661; - } - $668 = HEAP8[$15 + 5 >> 0] | 0; - $669 = $668 & 255; - $670 = $$1$lcssa$3 + $669 | 0; - if (($670 | 0) > 256) { - $672 = HEAP32[$0 >> 2] | 0; - HEAP32[$672 + 20 >> 2] = 9; - FUNCTION_TABLE_vi[HEAP32[$672 >> 2] & 255]($$pre$phiZ2D); - } - if (!($668 << 24 >> 24)) $$1$lcssa$4 = $$1$lcssa$3; else { - _memset($4 + $$1$lcssa$3 | 0, 5, $669 | 0) | 0; - $$1$lcssa$4 = $670; - } - $677 = HEAP8[$15 + 6 >> 0] | 0; - $678 = $677 & 255; - $679 = $$1$lcssa$4 + $678 | 0; - if (($679 | 0) > 256) { - $681 = HEAP32[$0 >> 2] | 0; - HEAP32[$681 + 20 >> 2] = 9; - FUNCTION_TABLE_vi[HEAP32[$681 >> 2] & 255]($$pre$phiZ2D); - } - if (!($677 << 24 >> 24)) $$1$lcssa$5 = $$1$lcssa$4; else { - _memset($4 + $$1$lcssa$4 | 0, 6, $678 | 0) | 0; - $$1$lcssa$5 = $679; - } - $686 = HEAP8[$15 + 7 >> 0] | 0; - $687 = $686 & 255; - $688 = $$1$lcssa$5 + $687 | 0; - if (($688 | 0) > 256) { - $690 = HEAP32[$0 >> 2] | 0; - HEAP32[$690 + 20 >> 2] = 9; - FUNCTION_TABLE_vi[HEAP32[$690 >> 2] & 255]($$pre$phiZ2D); - } - if (!($686 << 24 >> 24)) $$1$lcssa$6 = $$1$lcssa$5; else { - _memset($4 + $$1$lcssa$5 | 0, 7, $687 | 0) | 0; - $$1$lcssa$6 = $688; - } - $695 = HEAP8[$15 + 8 >> 0] | 0; - $696 = $695 & 255; - $697 = $$1$lcssa$6 + $696 | 0; - if (($697 | 0) > 256) { - $699 = HEAP32[$0 >> 2] | 0; - HEAP32[$699 + 20 >> 2] = 9; - FUNCTION_TABLE_vi[HEAP32[$699 >> 2] & 255]($$pre$phiZ2D); - } - if (!($695 << 24 >> 24)) $$1$lcssa$7 = $$1$lcssa$6; else { - _memset($4 + $$1$lcssa$6 | 0, 8, $696 | 0) | 0; - $$1$lcssa$7 = $697; - } - $704 = HEAP8[$15 + 9 >> 0] | 0; - $705 = $704 & 255; - $706 = $$1$lcssa$7 + $705 | 0; - if (($706 | 0) > 256) { - $708 = HEAP32[$0 >> 2] | 0; - HEAP32[$708 + 20 >> 2] = 9; - FUNCTION_TABLE_vi[HEAP32[$708 >> 2] & 255]($$pre$phiZ2D); - } - if (!($704 << 24 >> 24)) $$1$lcssa$8 = $$1$lcssa$7; else { - _memset($4 + $$1$lcssa$7 | 0, 9, $705 | 0) | 0; - $$1$lcssa$8 = $706; - } - $713 = HEAP8[$15 + 10 >> 0] | 0; - $714 = $713 & 255; - $715 = $$1$lcssa$8 + $714 | 0; - if (($715 | 0) > 256) { - $717 = HEAP32[$0 >> 2] | 0; - HEAP32[$717 + 20 >> 2] = 9; - FUNCTION_TABLE_vi[HEAP32[$717 >> 2] & 255]($$pre$phiZ2D); - } - if (!($713 << 24 >> 24)) $$1$lcssa$9 = $$1$lcssa$8; else { - _memset($4 + $$1$lcssa$8 | 0, 10, $714 | 0) | 0; - $$1$lcssa$9 = $715; - } - $722 = HEAP8[$15 + 11 >> 0] | 0; - $723 = $722 & 255; - $724 = $$1$lcssa$9 + $723 | 0; - if (($724 | 0) > 256) { - $726 = HEAP32[$0 >> 2] | 0; - HEAP32[$726 + 20 >> 2] = 9; - FUNCTION_TABLE_vi[HEAP32[$726 >> 2] & 255]($$pre$phiZ2D); - } - if (!($722 << 24 >> 24)) $$1$lcssa$10 = $$1$lcssa$9; else { - _memset($4 + $$1$lcssa$9 | 0, 11, $723 | 0) | 0; - $$1$lcssa$10 = $724; - } - $731 = HEAP8[$15 + 12 >> 0] | 0; - $732 = $731 & 255; - $733 = $$1$lcssa$10 + $732 | 0; - if (($733 | 0) > 256) { - $735 = HEAP32[$0 >> 2] | 0; - HEAP32[$735 + 20 >> 2] = 9; - FUNCTION_TABLE_vi[HEAP32[$735 >> 2] & 255]($$pre$phiZ2D); - } - if (!($731 << 24 >> 24)) $$1$lcssa$11 = $$1$lcssa$10; else { - _memset($4 + $$1$lcssa$10 | 0, 12, $732 | 0) | 0; - $$1$lcssa$11 = $733; - } - $740 = HEAP8[$15 + 13 >> 0] | 0; - $741 = $740 & 255; - $742 = $$1$lcssa$11 + $741 | 0; - if (($742 | 0) > 256) { - $744 = HEAP32[$0 >> 2] | 0; - HEAP32[$744 + 20 >> 2] = 9; - FUNCTION_TABLE_vi[HEAP32[$744 >> 2] & 255]($$pre$phiZ2D); - } - if (!($740 << 24 >> 24)) $$1$lcssa$12 = $$1$lcssa$11; else { - _memset($4 + $$1$lcssa$11 | 0, 13, $741 | 0) | 0; - $$1$lcssa$12 = $742; - } - $749 = HEAP8[$15 + 14 >> 0] | 0; - $750 = $749 & 255; - $751 = $$1$lcssa$12 + $750 | 0; - if (($751 | 0) > 256) { - $753 = HEAP32[$0 >> 2] | 0; - HEAP32[$753 + 20 >> 2] = 9; - FUNCTION_TABLE_vi[HEAP32[$753 >> 2] & 255]($$pre$phiZ2D); - } - if (!($749 << 24 >> 24)) $$1$lcssa$13 = $$1$lcssa$12; else { - _memset($4 + $$1$lcssa$12 | 0, 14, $750 | 0) | 0; - $$1$lcssa$13 = $751; - } - $758 = HEAP8[$15 + 15 >> 0] | 0; - $759 = $758 & 255; - $760 = $$1$lcssa$13 + $759 | 0; - if (($760 | 0) > 256) { - $762 = HEAP32[$0 >> 2] | 0; - HEAP32[$762 + 20 >> 2] = 9; - FUNCTION_TABLE_vi[HEAP32[$762 >> 2] & 255]($$pre$phiZ2D); - } - if (!($758 << 24 >> 24)) $$1$lcssa$14 = $$1$lcssa$13; else { - _memset($4 + $$1$lcssa$13 | 0, 15, $759 | 0) | 0; - $$1$lcssa$14 = $760; - } - $767 = HEAP8[$15 + 16 >> 0] | 0; - $768 = $767 & 255; - $769 = $$1$lcssa$14 + $768 | 0; - if (($769 | 0) > 256) { - $771 = HEAP32[$0 >> 2] | 0; - HEAP32[$771 + 20 >> 2] = 9; - FUNCTION_TABLE_vi[HEAP32[$771 >> 2] & 255]($$pre$phiZ2D); - } - if (!($767 << 24 >> 24)) $$1$lcssa$15 = $$1$lcssa$14; else { - _memset($4 + $$1$lcssa$14 | 0, 16, $768 | 0) | 0; - $$1$lcssa$15 = $769; - } - HEAP8[$4 + $$1$lcssa$15 >> 0] = 0; - $40 = HEAP8[$4 >> 0] | 0; - if ($40 << 24 >> 24) { - $$0122157 = 0; - $$0129155 = $40 << 24 >> 24; - $$2158 = 0; - $42 = $40; + $$pre$phiZ2D = $cinfo; + $10 = $7; + } + HEAP32[$10 + 140 >> 2] = $cond; + $11 = HEAP8[$cond + 1 >> 0] | 0; + $conv = $11 & 255; + if (!($11 << 24 >> 24)) $p$1$lcssa = 0; else { + _memset($huffsize | 0, 1, $conv | 0) | 0; + $p$1$lcssa = $conv; + } + $12 = HEAP8[$cond + 2 >> 0] | 0; + $conv$1 = $12 & 255; + $add$1 = $p$1$lcssa + $conv$1 | 0; + if ($add$1 >>> 0 > 256) { + $191 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$191 + 20 >> 2] = 9; + FUNCTION_TABLE_vi[HEAP32[$191 >> 2] & 255]($$pre$phiZ2D); + } + if (!($12 << 24 >> 24)) $p$1$lcssa$1 = $p$1$lcssa; else { + _memset($huffsize + $p$1$lcssa | 0, 2, $conv$1 | 0) | 0; + $p$1$lcssa$1 = $add$1; + } + $193 = HEAP8[$cond + 3 >> 0] | 0; + $conv$2 = $193 & 255; + $add$2 = $p$1$lcssa$1 + $conv$2 | 0; + if (($add$2 | 0) > 256) { + $194 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$194 + 20 >> 2] = 9; + FUNCTION_TABLE_vi[HEAP32[$194 >> 2] & 255]($$pre$phiZ2D); + } + if (!($193 << 24 >> 24)) $p$1$lcssa$2 = $p$1$lcssa$1; else { + _memset($huffsize + $p$1$lcssa$1 | 0, 3, $conv$2 | 0) | 0; + $p$1$lcssa$2 = $add$2; + } + $196 = HEAP8[$cond + 4 >> 0] | 0; + $conv$3 = $196 & 255; + $add$3 = $p$1$lcssa$2 + $conv$3 | 0; + if (($add$3 | 0) > 256) { + $197 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$197 + 20 >> 2] = 9; + FUNCTION_TABLE_vi[HEAP32[$197 >> 2] & 255]($$pre$phiZ2D); + } + if (!($196 << 24 >> 24)) $p$1$lcssa$3 = $p$1$lcssa$2; else { + _memset($huffsize + $p$1$lcssa$2 | 0, 4, $conv$3 | 0) | 0; + $p$1$lcssa$3 = $add$3; + } + $199 = HEAP8[$cond + 5 >> 0] | 0; + $conv$4 = $199 & 255; + $add$4 = $p$1$lcssa$3 + $conv$4 | 0; + if (($add$4 | 0) > 256) { + $200 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$200 + 20 >> 2] = 9; + FUNCTION_TABLE_vi[HEAP32[$200 >> 2] & 255]($$pre$phiZ2D); + } + if (!($199 << 24 >> 24)) $p$1$lcssa$4 = $p$1$lcssa$3; else { + _memset($huffsize + $p$1$lcssa$3 | 0, 5, $conv$4 | 0) | 0; + $p$1$lcssa$4 = $add$4; + } + $202 = HEAP8[$cond + 6 >> 0] | 0; + $conv$5 = $202 & 255; + $add$5 = $p$1$lcssa$4 + $conv$5 | 0; + if (($add$5 | 0) > 256) { + $203 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$203 + 20 >> 2] = 9; + FUNCTION_TABLE_vi[HEAP32[$203 >> 2] & 255]($$pre$phiZ2D); + } + if (!($202 << 24 >> 24)) $p$1$lcssa$5 = $p$1$lcssa$4; else { + _memset($huffsize + $p$1$lcssa$4 | 0, 6, $conv$5 | 0) | 0; + $p$1$lcssa$5 = $add$5; + } + $205 = HEAP8[$cond + 7 >> 0] | 0; + $conv$6 = $205 & 255; + $add$6 = $p$1$lcssa$5 + $conv$6 | 0; + if (($add$6 | 0) > 256) { + $206 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$206 + 20 >> 2] = 9; + FUNCTION_TABLE_vi[HEAP32[$206 >> 2] & 255]($$pre$phiZ2D); + } + if (!($205 << 24 >> 24)) $p$1$lcssa$6 = $p$1$lcssa$5; else { + _memset($huffsize + $p$1$lcssa$5 | 0, 7, $conv$6 | 0) | 0; + $p$1$lcssa$6 = $add$6; + } + $208 = HEAP8[$cond + 8 >> 0] | 0; + $conv$7 = $208 & 255; + $add$7 = $p$1$lcssa$6 + $conv$7 | 0; + if (($add$7 | 0) > 256) { + $209 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$209 + 20 >> 2] = 9; + FUNCTION_TABLE_vi[HEAP32[$209 >> 2] & 255]($$pre$phiZ2D); + } + if (!($208 << 24 >> 24)) $p$1$lcssa$7 = $p$1$lcssa$6; else { + _memset($huffsize + $p$1$lcssa$6 | 0, 8, $conv$7 | 0) | 0; + $p$1$lcssa$7 = $add$7; + } + $211 = HEAP8[$cond + 9 >> 0] | 0; + $conv$8 = $211 & 255; + $add$8 = $p$1$lcssa$7 + $conv$8 | 0; + if (($add$8 | 0) > 256) { + $212 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$212 + 20 >> 2] = 9; + FUNCTION_TABLE_vi[HEAP32[$212 >> 2] & 255]($$pre$phiZ2D); + } + if (!($211 << 24 >> 24)) $p$1$lcssa$8 = $p$1$lcssa$7; else { + _memset($huffsize + $p$1$lcssa$7 | 0, 9, $conv$8 | 0) | 0; + $p$1$lcssa$8 = $add$8; + } + $214 = HEAP8[$cond + 10 >> 0] | 0; + $conv$9 = $214 & 255; + $add$9 = $p$1$lcssa$8 + $conv$9 | 0; + if (($add$9 | 0) > 256) { + $215 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$215 + 20 >> 2] = 9; + FUNCTION_TABLE_vi[HEAP32[$215 >> 2] & 255]($$pre$phiZ2D); + } + if (!($214 << 24 >> 24)) $p$1$lcssa$9 = $p$1$lcssa$8; else { + _memset($huffsize + $p$1$lcssa$8 | 0, 10, $conv$9 | 0) | 0; + $p$1$lcssa$9 = $add$9; + } + $217 = HEAP8[$cond + 11 >> 0] | 0; + $conv$10 = $217 & 255; + $add$10 = $p$1$lcssa$9 + $conv$10 | 0; + if (($add$10 | 0) > 256) { + $218 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$218 + 20 >> 2] = 9; + FUNCTION_TABLE_vi[HEAP32[$218 >> 2] & 255]($$pre$phiZ2D); + } + if (!($217 << 24 >> 24)) $p$1$lcssa$10 = $p$1$lcssa$9; else { + _memset($huffsize + $p$1$lcssa$9 | 0, 11, $conv$10 | 0) | 0; + $p$1$lcssa$10 = $add$10; + } + $220 = HEAP8[$cond + 12 >> 0] | 0; + $conv$11 = $220 & 255; + $add$11 = $p$1$lcssa$10 + $conv$11 | 0; + if (($add$11 | 0) > 256) { + $221 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$221 + 20 >> 2] = 9; + FUNCTION_TABLE_vi[HEAP32[$221 >> 2] & 255]($$pre$phiZ2D); + } + if (!($220 << 24 >> 24)) $p$1$lcssa$11 = $p$1$lcssa$10; else { + _memset($huffsize + $p$1$lcssa$10 | 0, 12, $conv$11 | 0) | 0; + $p$1$lcssa$11 = $add$11; + } + $223 = HEAP8[$cond + 13 >> 0] | 0; + $conv$12 = $223 & 255; + $add$12 = $p$1$lcssa$11 + $conv$12 | 0; + if (($add$12 | 0) > 256) { + $224 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$224 + 20 >> 2] = 9; + FUNCTION_TABLE_vi[HEAP32[$224 >> 2] & 255]($$pre$phiZ2D); + } + if (!($223 << 24 >> 24)) $p$1$lcssa$12 = $p$1$lcssa$11; else { + _memset($huffsize + $p$1$lcssa$11 | 0, 13, $conv$12 | 0) | 0; + $p$1$lcssa$12 = $add$12; + } + $226 = HEAP8[$cond + 14 >> 0] | 0; + $conv$13 = $226 & 255; + $add$13 = $p$1$lcssa$12 + $conv$13 | 0; + if (($add$13 | 0) > 256) { + $227 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$227 + 20 >> 2] = 9; + FUNCTION_TABLE_vi[HEAP32[$227 >> 2] & 255]($$pre$phiZ2D); + } + if (!($226 << 24 >> 24)) $p$1$lcssa$13 = $p$1$lcssa$12; else { + _memset($huffsize + $p$1$lcssa$12 | 0, 14, $conv$13 | 0) | 0; + $p$1$lcssa$13 = $add$13; + } + $229 = HEAP8[$cond + 15 >> 0] | 0; + $conv$14 = $229 & 255; + $add$14 = $p$1$lcssa$13 + $conv$14 | 0; + if (($add$14 | 0) > 256) { + $230 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$230 + 20 >> 2] = 9; + FUNCTION_TABLE_vi[HEAP32[$230 >> 2] & 255]($$pre$phiZ2D); + } + if (!($229 << 24 >> 24)) $p$1$lcssa$14 = $p$1$lcssa$13; else { + _memset($huffsize + $p$1$lcssa$13 | 0, 15, $conv$14 | 0) | 0; + $p$1$lcssa$14 = $add$14; + } + $232 = HEAP8[$cond + 16 >> 0] | 0; + $conv$15 = $232 & 255; + $add$15 = $p$1$lcssa$14 + $conv$15 | 0; + if (($add$15 | 0) > 256) { + $233 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$233 + 20 >> 2] = 9; + FUNCTION_TABLE_vi[HEAP32[$233 >> 2] & 255]($$pre$phiZ2D); + } + if (!($232 << 24 >> 24)) $p$1$lcssa$15 = $p$1$lcssa$14; else { + _memset($huffsize + $p$1$lcssa$14 | 0, 16, $conv$15 | 0) | 0; + $p$1$lcssa$15 = $add$15; + } + HEAP8[$huffsize + $p$1$lcssa$15 >> 0] = 0; + $13 = HEAP8[$huffsize >> 0] | 0; + if ($13 << 24 >> 24) { + $14 = $13; + $code$0123 = 0; + $p$2124 = 0; + $si$0121 = $13 << 24 >> 24; while (1) { - if (($$0129155 | 0) == ($42 << 24 >> 24 | 0)) { - $$1123148 = $$0122157; - $$3149 = $$2158; + if (($si$0121 | 0) == ($14 << 24 >> 24 | 0)) { + $code$1115 = $code$0123; + $p$3116 = $p$2124; while (1) { - $44 = $$3149 + 1 | 0; - HEAP32[$5 + ($$3149 << 2) >> 2] = $$1123148; - $46 = $$1123148 + 1 | 0; - $48 = HEAP8[$4 + $44 >> 0] | 0; - if (($$0129155 | 0) == ($48 << 24 >> 24 | 0)) { - $$1123148 = $46; - $$3149 = $44; + $inc51 = $p$3116 + 1 | 0; + HEAP32[$huffcode + ($p$3116 << 2) >> 2] = $code$1115; + $inc53 = $code$1115 + 1 | 0; + $15 = HEAP8[$huffsize + $inc51 >> 0] | 0; + if (($si$0121 | 0) == ($15 << 24 >> 24 | 0)) { + $code$1115 = $inc53; + $p$3116 = $inc51; } else { - $$1123$lcssa = $46; - $$3$lcssa = $44; - $59 = $48; + $18 = $15; + $code$1$lcssa = $inc53; + $p$3$lcssa = $inc51; break; } } } else { - $$1123$lcssa = $$0122157; - $$3$lcssa = $$2158; - $59 = $42; + $18 = $14; + $code$1$lcssa = $code$0123; + $p$3$lcssa = $p$2124; } - if (($$1123$lcssa | 0) >= (1 << $$0129155 | 0)) { - $53 = HEAP32[$0 >> 2] | 0; - HEAP32[$53 + 20 >> 2] = 9; - FUNCTION_TABLE_vi[HEAP32[$53 >> 2] & 255]($$pre$phiZ2D); + if (($code$1$lcssa | 0) >= (1 << $si$0121 | 0)) { + $16 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$16 + 20 >> 2] = 9; + FUNCTION_TABLE_vi[HEAP32[$16 >> 2] & 255]($$pre$phiZ2D); } - if (!($59 << 24 >> 24)) break; else { - $$0122157 = $$1123$lcssa << 1; - $$0129155 = $$0129155 + 1 | 0; - $$2158 = $$3$lcssa; - $42 = $59; + if (!($18 << 24 >> 24)) break; else { + $14 = $18; + $code$0123 = $code$1$lcssa << 1; + $p$2124 = $p$3$lcssa; + $si$0121 = $si$0121 + 1 | 0; } } } - $60 = $15 + 1 | 0; - if (!(HEAP8[$60 >> 0] | 0)) { - $$5 = 0; + $arrayidx71 = $cond + 1 | 0; + if (!(HEAP8[$arrayidx71 >> 0] | 0)) { $$sink = -1; + $p$5 = 0; } else { - HEAP32[$29 + 76 >> 2] = 0 - (HEAP32[$5 >> 2] | 0); - $67 = HEAPU8[$60 >> 0] | 0; - $$5 = $67; - $$sink = HEAP32[$5 + ($67 + -1 << 2) >> 2] | 0; - } - HEAP32[$29 + 4 >> 2] = $$sink; - $72 = $15 + 2 | 0; - if (!(HEAP8[$72 >> 0] | 0)) { - $$5$1 = $$5; + HEAP32[$10 + 76 >> 2] = 0 - (HEAP32[$huffcode >> 2] | 0); + $conv78 = HEAPU8[$arrayidx71 >> 0] | 0; + $$sink = HEAP32[$huffcode + ($conv78 + -1 << 2) >> 2] | 0; + $p$5 = $conv78; + } + HEAP32[$10 + 4 >> 2] = $$sink; + $arrayidx71$1 = $cond + 2 | 0; + if (!(HEAP8[$arrayidx71$1 >> 0] | 0)) { $$sink$1 = -1; + $p$5$1 = $p$5; } else { - HEAP32[$29 + 80 >> 2] = $$5 - (HEAP32[$5 + ($$5 << 2) >> 2] | 0); - $440 = $$5 + (HEAPU8[$72 >> 0] | 0) | 0; - $$5$1 = $440; - $$sink$1 = HEAP32[$5 + ($440 + -1 << 2) >> 2] | 0; - } - HEAP32[$29 + 8 >> 2] = $$sink$1; - $445 = $15 + 3 | 0; - if (!(HEAP8[$445 >> 0] | 0)) { - $$5$2 = $$5$1; + HEAP32[$10 + 80 >> 2] = $p$5 - (HEAP32[$huffcode + ($p$5 << 2) >> 2] | 0); + $add79$1 = $p$5 + (HEAPU8[$arrayidx71$1 >> 0] | 0) | 0; + $$sink$1 = HEAP32[$huffcode + ($add79$1 + -1 << 2) >> 2] | 0; + $p$5$1 = $add79$1; + } + HEAP32[$10 + 8 >> 2] = $$sink$1; + $arrayidx71$2 = $cond + 3 | 0; + if (!(HEAP8[$arrayidx71$2 >> 0] | 0)) { $$sink$2 = -1; + $p$5$2 = $p$5$1; } else { - HEAP32[$29 + 84 >> 2] = $$5$1 - (HEAP32[$5 + ($$5$1 << 2) >> 2] | 0); - $454 = $$5$1 + (HEAPU8[$445 >> 0] | 0) | 0; - $$5$2 = $454; - $$sink$2 = HEAP32[$5 + ($454 + -1 << 2) >> 2] | 0; - } - HEAP32[$29 + 12 >> 2] = $$sink$2; - $459 = $15 + 4 | 0; - if (!(HEAP8[$459 >> 0] | 0)) { - $$5$3 = $$5$2; + HEAP32[$10 + 84 >> 2] = $p$5$1 - (HEAP32[$huffcode + ($p$5$1 << 2) >> 2] | 0); + $add79$2 = $p$5$1 + (HEAPU8[$arrayidx71$2 >> 0] | 0) | 0; + $$sink$2 = HEAP32[$huffcode + ($add79$2 + -1 << 2) >> 2] | 0; + $p$5$2 = $add79$2; + } + HEAP32[$10 + 12 >> 2] = $$sink$2; + $arrayidx71$3 = $cond + 4 | 0; + if (!(HEAP8[$arrayidx71$3 >> 0] | 0)) { $$sink$3 = -1; + $p$5$3 = $p$5$2; } else { - HEAP32[$29 + 88 >> 2] = $$5$2 - (HEAP32[$5 + ($$5$2 << 2) >> 2] | 0); - $468 = $$5$2 + (HEAPU8[$459 >> 0] | 0) | 0; - $$5$3 = $468; - $$sink$3 = HEAP32[$5 + ($468 + -1 << 2) >> 2] | 0; - } - HEAP32[$29 + 16 >> 2] = $$sink$3; - $473 = $15 + 5 | 0; - if (!(HEAP8[$473 >> 0] | 0)) { - $$5$4 = $$5$3; + HEAP32[$10 + 88 >> 2] = $p$5$2 - (HEAP32[$huffcode + ($p$5$2 << 2) >> 2] | 0); + $add79$3 = $p$5$2 + (HEAPU8[$arrayidx71$3 >> 0] | 0) | 0; + $$sink$3 = HEAP32[$huffcode + ($add79$3 + -1 << 2) >> 2] | 0; + $p$5$3 = $add79$3; + } + HEAP32[$10 + 16 >> 2] = $$sink$3; + $arrayidx71$4 = $cond + 5 | 0; + if (!(HEAP8[$arrayidx71$4 >> 0] | 0)) { $$sink$4 = -1; + $p$5$4 = $p$5$3; } else { - HEAP32[$29 + 92 >> 2] = $$5$3 - (HEAP32[$5 + ($$5$3 << 2) >> 2] | 0); - $482 = $$5$3 + (HEAPU8[$473 >> 0] | 0) | 0; - $$5$4 = $482; - $$sink$4 = HEAP32[$5 + ($482 + -1 << 2) >> 2] | 0; - } - HEAP32[$29 + 20 >> 2] = $$sink$4; - $487 = $15 + 6 | 0; - if (!(HEAP8[$487 >> 0] | 0)) { - $$5$5 = $$5$4; + HEAP32[$10 + 92 >> 2] = $p$5$3 - (HEAP32[$huffcode + ($p$5$3 << 2) >> 2] | 0); + $add79$4 = $p$5$3 + (HEAPU8[$arrayidx71$4 >> 0] | 0) | 0; + $$sink$4 = HEAP32[$huffcode + ($add79$4 + -1 << 2) >> 2] | 0; + $p$5$4 = $add79$4; + } + HEAP32[$10 + 20 >> 2] = $$sink$4; + $arrayidx71$5 = $cond + 6 | 0; + if (!(HEAP8[$arrayidx71$5 >> 0] | 0)) { $$sink$5 = -1; + $p$5$5 = $p$5$4; } else { - HEAP32[$29 + 96 >> 2] = $$5$4 - (HEAP32[$5 + ($$5$4 << 2) >> 2] | 0); - $496 = $$5$4 + (HEAPU8[$487 >> 0] | 0) | 0; - $$5$5 = $496; - $$sink$5 = HEAP32[$5 + ($496 + -1 << 2) >> 2] | 0; - } - HEAP32[$29 + 24 >> 2] = $$sink$5; - $501 = $15 + 7 | 0; - if (!(HEAP8[$501 >> 0] | 0)) { - $$5$6 = $$5$5; + HEAP32[$10 + 96 >> 2] = $p$5$4 - (HEAP32[$huffcode + ($p$5$4 << 2) >> 2] | 0); + $add79$5 = $p$5$4 + (HEAPU8[$arrayidx71$5 >> 0] | 0) | 0; + $$sink$5 = HEAP32[$huffcode + ($add79$5 + -1 << 2) >> 2] | 0; + $p$5$5 = $add79$5; + } + HEAP32[$10 + 24 >> 2] = $$sink$5; + $arrayidx71$6 = $cond + 7 | 0; + if (!(HEAP8[$arrayidx71$6 >> 0] | 0)) { $$sink$6 = -1; + $p$5$6 = $p$5$5; } else { - HEAP32[$29 + 100 >> 2] = $$5$5 - (HEAP32[$5 + ($$5$5 << 2) >> 2] | 0); - $510 = $$5$5 + (HEAPU8[$501 >> 0] | 0) | 0; - $$5$6 = $510; - $$sink$6 = HEAP32[$5 + ($510 + -1 << 2) >> 2] | 0; - } - HEAP32[$29 + 28 >> 2] = $$sink$6; - $515 = $15 + 8 | 0; - if (!(HEAP8[$515 >> 0] | 0)) { - $$5$7 = $$5$6; + HEAP32[$10 + 100 >> 2] = $p$5$5 - (HEAP32[$huffcode + ($p$5$5 << 2) >> 2] | 0); + $add79$6 = $p$5$5 + (HEAPU8[$arrayidx71$6 >> 0] | 0) | 0; + $$sink$6 = HEAP32[$huffcode + ($add79$6 + -1 << 2) >> 2] | 0; + $p$5$6 = $add79$6; + } + HEAP32[$10 + 28 >> 2] = $$sink$6; + $arrayidx71$7 = $cond + 8 | 0; + if (!(HEAP8[$arrayidx71$7 >> 0] | 0)) { $$sink$7 = -1; + $p$5$7 = $p$5$6; } else { - HEAP32[$29 + 104 >> 2] = $$5$6 - (HEAP32[$5 + ($$5$6 << 2) >> 2] | 0); - $524 = $$5$6 + (HEAPU8[$515 >> 0] | 0) | 0; - $$5$7 = $524; - $$sink$7 = HEAP32[$5 + ($524 + -1 << 2) >> 2] | 0; - } - HEAP32[$29 + 32 >> 2] = $$sink$7; - $529 = $15 + 9 | 0; - if (!(HEAP8[$529 >> 0] | 0)) { - $$5$8 = $$5$7; + HEAP32[$10 + 104 >> 2] = $p$5$6 - (HEAP32[$huffcode + ($p$5$6 << 2) >> 2] | 0); + $add79$7 = $p$5$6 + (HEAPU8[$arrayidx71$7 >> 0] | 0) | 0; + $$sink$7 = HEAP32[$huffcode + ($add79$7 + -1 << 2) >> 2] | 0; + $p$5$7 = $add79$7; + } + HEAP32[$10 + 32 >> 2] = $$sink$7; + $arrayidx71$8 = $cond + 9 | 0; + if (!(HEAP8[$arrayidx71$8 >> 0] | 0)) { $$sink$8 = -1; + $p$5$8 = $p$5$7; } else { - HEAP32[$29 + 108 >> 2] = $$5$7 - (HEAP32[$5 + ($$5$7 << 2) >> 2] | 0); - $538 = $$5$7 + (HEAPU8[$529 >> 0] | 0) | 0; - $$5$8 = $538; - $$sink$8 = HEAP32[$5 + ($538 + -1 << 2) >> 2] | 0; - } - HEAP32[$29 + 36 >> 2] = $$sink$8; - $543 = $15 + 10 | 0; - if (!(HEAP8[$543 >> 0] | 0)) { - $$5$9 = $$5$8; + HEAP32[$10 + 108 >> 2] = $p$5$7 - (HEAP32[$huffcode + ($p$5$7 << 2) >> 2] | 0); + $add79$8 = $p$5$7 + (HEAPU8[$arrayidx71$8 >> 0] | 0) | 0; + $$sink$8 = HEAP32[$huffcode + ($add79$8 + -1 << 2) >> 2] | 0; + $p$5$8 = $add79$8; + } + HEAP32[$10 + 36 >> 2] = $$sink$8; + $arrayidx71$9 = $cond + 10 | 0; + if (!(HEAP8[$arrayidx71$9 >> 0] | 0)) { $$sink$9 = -1; + $p$5$9 = $p$5$8; } else { - HEAP32[$29 + 112 >> 2] = $$5$8 - (HEAP32[$5 + ($$5$8 << 2) >> 2] | 0); - $552 = $$5$8 + (HEAPU8[$543 >> 0] | 0) | 0; - $$5$9 = $552; - $$sink$9 = HEAP32[$5 + ($552 + -1 << 2) >> 2] | 0; - } - HEAP32[$29 + 40 >> 2] = $$sink$9; - $557 = $15 + 11 | 0; - if (!(HEAP8[$557 >> 0] | 0)) { - $$5$10 = $$5$9; + HEAP32[$10 + 112 >> 2] = $p$5$8 - (HEAP32[$huffcode + ($p$5$8 << 2) >> 2] | 0); + $add79$9 = $p$5$8 + (HEAPU8[$arrayidx71$9 >> 0] | 0) | 0; + $$sink$9 = HEAP32[$huffcode + ($add79$9 + -1 << 2) >> 2] | 0; + $p$5$9 = $add79$9; + } + HEAP32[$10 + 40 >> 2] = $$sink$9; + $arrayidx71$10 = $cond + 11 | 0; + if (!(HEAP8[$arrayidx71$10 >> 0] | 0)) { $$sink$10 = -1; + $p$5$10 = $p$5$9; } else { - HEAP32[$29 + 116 >> 2] = $$5$9 - (HEAP32[$5 + ($$5$9 << 2) >> 2] | 0); - $566 = $$5$9 + (HEAPU8[$557 >> 0] | 0) | 0; - $$5$10 = $566; - $$sink$10 = HEAP32[$5 + ($566 + -1 << 2) >> 2] | 0; - } - HEAP32[$29 + 44 >> 2] = $$sink$10; - $571 = $15 + 12 | 0; - if (!(HEAP8[$571 >> 0] | 0)) { - $$5$11 = $$5$10; + HEAP32[$10 + 116 >> 2] = $p$5$9 - (HEAP32[$huffcode + ($p$5$9 << 2) >> 2] | 0); + $add79$10 = $p$5$9 + (HEAPU8[$arrayidx71$10 >> 0] | 0) | 0; + $$sink$10 = HEAP32[$huffcode + ($add79$10 + -1 << 2) >> 2] | 0; + $p$5$10 = $add79$10; + } + HEAP32[$10 + 44 >> 2] = $$sink$10; + $arrayidx71$11 = $cond + 12 | 0; + if (!(HEAP8[$arrayidx71$11 >> 0] | 0)) { $$sink$11 = -1; + $p$5$11 = $p$5$10; } else { - HEAP32[$29 + 120 >> 2] = $$5$10 - (HEAP32[$5 + ($$5$10 << 2) >> 2] | 0); - $580 = $$5$10 + (HEAPU8[$571 >> 0] | 0) | 0; - $$5$11 = $580; - $$sink$11 = HEAP32[$5 + ($580 + -1 << 2) >> 2] | 0; - } - HEAP32[$29 + 48 >> 2] = $$sink$11; - $585 = $15 + 13 | 0; - if (!(HEAP8[$585 >> 0] | 0)) { - $$5$12 = $$5$11; + HEAP32[$10 + 120 >> 2] = $p$5$10 - (HEAP32[$huffcode + ($p$5$10 << 2) >> 2] | 0); + $add79$11 = $p$5$10 + (HEAPU8[$arrayidx71$11 >> 0] | 0) | 0; + $$sink$11 = HEAP32[$huffcode + ($add79$11 + -1 << 2) >> 2] | 0; + $p$5$11 = $add79$11; + } + HEAP32[$10 + 48 >> 2] = $$sink$11; + $arrayidx71$12 = $cond + 13 | 0; + if (!(HEAP8[$arrayidx71$12 >> 0] | 0)) { $$sink$12 = -1; + $p$5$12 = $p$5$11; } else { - HEAP32[$29 + 124 >> 2] = $$5$11 - (HEAP32[$5 + ($$5$11 << 2) >> 2] | 0); - $594 = $$5$11 + (HEAPU8[$585 >> 0] | 0) | 0; - $$5$12 = $594; - $$sink$12 = HEAP32[$5 + ($594 + -1 << 2) >> 2] | 0; - } - HEAP32[$29 + 52 >> 2] = $$sink$12; - $599 = $15 + 14 | 0; - if (!(HEAP8[$599 >> 0] | 0)) { - $$5$13 = $$5$12; + HEAP32[$10 + 124 >> 2] = $p$5$11 - (HEAP32[$huffcode + ($p$5$11 << 2) >> 2] | 0); + $add79$12 = $p$5$11 + (HEAPU8[$arrayidx71$12 >> 0] | 0) | 0; + $$sink$12 = HEAP32[$huffcode + ($add79$12 + -1 << 2) >> 2] | 0; + $p$5$12 = $add79$12; + } + HEAP32[$10 + 52 >> 2] = $$sink$12; + $arrayidx71$13 = $cond + 14 | 0; + if (!(HEAP8[$arrayidx71$13 >> 0] | 0)) { $$sink$13 = -1; + $p$5$13 = $p$5$12; } else { - HEAP32[$29 + 128 >> 2] = $$5$12 - (HEAP32[$5 + ($$5$12 << 2) >> 2] | 0); - $608 = $$5$12 + (HEAPU8[$599 >> 0] | 0) | 0; - $$5$13 = $608; - $$sink$13 = HEAP32[$5 + ($608 + -1 << 2) >> 2] | 0; - } - HEAP32[$29 + 56 >> 2] = $$sink$13; - $613 = $15 + 15 | 0; - if (!(HEAP8[$613 >> 0] | 0)) { - $$5$14 = $$5$13; + HEAP32[$10 + 128 >> 2] = $p$5$12 - (HEAP32[$huffcode + ($p$5$12 << 2) >> 2] | 0); + $add79$13 = $p$5$12 + (HEAPU8[$arrayidx71$13 >> 0] | 0) | 0; + $$sink$13 = HEAP32[$huffcode + ($add79$13 + -1 << 2) >> 2] | 0; + $p$5$13 = $add79$13; + } + HEAP32[$10 + 56 >> 2] = $$sink$13; + $arrayidx71$14 = $cond + 15 | 0; + if (!(HEAP8[$arrayidx71$14 >> 0] | 0)) { $$sink$14 = -1; + $p$5$14 = $p$5$13; } else { - HEAP32[$29 + 132 >> 2] = $$5$13 - (HEAP32[$5 + ($$5$13 << 2) >> 2] | 0); - $622 = $$5$13 + (HEAPU8[$613 >> 0] | 0) | 0; - $$5$14 = $622; - $$sink$14 = HEAP32[$5 + ($622 + -1 << 2) >> 2] | 0; - } - HEAP32[$29 + 60 >> 2] = $$sink$14; - $627 = $15 + 16 | 0; - if (!(HEAP8[$627 >> 0] | 0)) $$sink$15 = -1; else { - HEAP32[$29 + 136 >> 2] = $$5$14 - (HEAP32[$5 + ($$5$14 << 2) >> 2] | 0); - $$sink$15 = HEAP32[$5 + ($$5$14 + (HEAPU8[$627 >> 0] | 0) + -1 << 2) >> 2] | 0; - } - HEAP32[$29 + 64 >> 2] = $$sink$15; - HEAP32[$29 + 68 >> 2] = 1048575; - _memset($29 + 144 | 0, 0, 1024) | 0; - $88 = $15 + 1 | 0; - if (!(HEAP8[$88 >> 0] | 0)) $$7$lcssa = 0; else { - $$1127137$us = 1; - $$7138$us = 0; + HEAP32[$10 + 132 >> 2] = $p$5$13 - (HEAP32[$huffcode + ($p$5$13 << 2) >> 2] | 0); + $add79$14 = $p$5$13 + (HEAPU8[$arrayidx71$14 >> 0] | 0) | 0; + $$sink$14 = HEAP32[$huffcode + ($add79$14 + -1 << 2) >> 2] | 0; + $p$5$14 = $add79$14; + } + HEAP32[$10 + 60 >> 2] = $$sink$14; + $arrayidx71$15 = $cond + 16 | 0; + if (!(HEAP8[$arrayidx71$15 >> 0] | 0)) $$sink$15 = -1; else { + HEAP32[$10 + 136 >> 2] = $p$5$14 - (HEAP32[$huffcode + ($p$5$14 << 2) >> 2] | 0); + $$sink$15 = HEAP32[$huffcode + ($p$5$14 + (HEAPU8[$arrayidx71$15 >> 0] | 0) + -1 << 2) >> 2] | 0; + } + HEAP32[$10 + 64 >> 2] = $$sink$15; + HEAP32[$10 + 68 >> 2] = 1048575; + _memset($10 + 144 | 0, 0, 1024) | 0; + $arrayidx97 = $cond + 1 | 0; + if (!(HEAP8[$arrayidx97 >> 0] | 0)) $p$7$lcssa = 0; else { + $i$1104$us = 1; + $p$7105$us = 0; while (1) { - $78 = $15 + 17 + $$7138$us | 0; - $$0124135$us = 128; - $$0125134$us = HEAP32[$5 + ($$7138$us << 2) >> 2] << 7; + $arrayidx113$us = $cond + 17 + $p$7105$us | 0; + $ctr$0101$us = 128; + $lookbits$0100$us = HEAP32[$huffcode + ($p$7105$us << 2) >> 2] << 7; while (1) { - HEAP32[$29 + 144 + ($$0125134$us << 2) >> 2] = 1; - HEAP8[$29 + 1168 + $$0125134$us >> 0] = HEAP8[$78 >> 0] | 0; - if (($$0124135$us | 0) > 1) { - $$0124135$us = $$0124135$us + -1 | 0; - $$0125134$us = $$0125134$us + 1 | 0; + HEAP32[$10 + 144 + ($lookbits$0100$us << 2) >> 2] = 1; + HEAP8[$10 + 1168 + $lookbits$0100$us >> 0] = HEAP8[$arrayidx113$us >> 0] | 0; + if (($ctr$0101$us | 0) > 1) { + $ctr$0101$us = $ctr$0101$us + -1 | 0; + $lookbits$0100$us = $lookbits$0100$us + 1 | 0; } else break; } - $86 = $$7138$us + 1 | 0; - if ($$1127137$us >>> 0 < (HEAPU8[$88 >> 0] | 0) >>> 0) { - $$1127137$us = $$1127137$us + 1 | 0; - $$7138$us = $86; + $inc121$us = $p$7105$us + 1 | 0; + if ($i$1104$us >>> 0 < (HEAPU8[$arrayidx97 >> 0] | 0) >>> 0) { + $i$1104$us = $i$1104$us + 1 | 0; + $p$7105$us = $inc121$us; } else { - $$7$lcssa = $86; + $p$7$lcssa = $inc121$us; break; } } } - $91 = $15 + 2 | 0; - if (!(HEAP8[$91 >> 0] | 0)) $$7$lcssa$1 = $$7$lcssa; else { - $$1127137$us$1 = 1; - $$7138$us$1 = $$7$lcssa; + $arrayidx97$1 = $cond + 2 | 0; + if (!(HEAP8[$arrayidx97$1 >> 0] | 0)) $p$7$lcssa$1 = $p$7$lcssa; else { + $i$1104$us$1 = 1; + $p$7105$us$1 = $p$7$lcssa; while (1) { - $104 = $15 + 17 + $$7138$us$1 | 0; - $$0124135$us$1 = 64; - $$0125134$us$1 = HEAP32[$5 + ($$7138$us$1 << 2) >> 2] << 6; + $arrayidx113$us$1 = $cond + 17 + $p$7105$us$1 | 0; + $ctr$0101$us$1 = 64; + $lookbits$0100$us$1 = HEAP32[$huffcode + ($p$7105$us$1 << 2) >> 2] << 6; while (1) { - HEAP32[$29 + 144 + ($$0125134$us$1 << 2) >> 2] = 2; - HEAP8[$29 + 1168 + $$0125134$us$1 >> 0] = HEAP8[$104 >> 0] | 0; - if (($$0124135$us$1 | 0) > 1) { - $$0124135$us$1 = $$0124135$us$1 + -1 | 0; - $$0125134$us$1 = $$0125134$us$1 + 1 | 0; + HEAP32[$10 + 144 + ($lookbits$0100$us$1 << 2) >> 2] = 2; + HEAP8[$10 + 1168 + $lookbits$0100$us$1 >> 0] = HEAP8[$arrayidx113$us$1 >> 0] | 0; + if (($ctr$0101$us$1 | 0) > 1) { + $ctr$0101$us$1 = $ctr$0101$us$1 + -1 | 0; + $lookbits$0100$us$1 = $lookbits$0100$us$1 + 1 | 0; } else break; } - $112 = $$7138$us$1 + 1 | 0; - if ($$1127137$us$1 >>> 0 < (HEAPU8[$91 >> 0] | 0) >>> 0) { - $$1127137$us$1 = $$1127137$us$1 + 1 | 0; - $$7138$us$1 = $112; + $inc121$us$1 = $p$7105$us$1 + 1 | 0; + if ($i$1104$us$1 >>> 0 < (HEAPU8[$arrayidx97$1 >> 0] | 0) >>> 0) { + $i$1104$us$1 = $i$1104$us$1 + 1 | 0; + $p$7105$us$1 = $inc121$us$1; } else { - $$7$lcssa$1 = $112; + $p$7$lcssa$1 = $inc121$us$1; break; } } } - $116 = $15 + 3 | 0; - if (!(HEAP8[$116 >> 0] | 0)) $$7$lcssa$2 = $$7$lcssa$1; else { - $$1127137$us$2 = 1; - $$7138$us$2 = $$7$lcssa$1; + $arrayidx97$2 = $cond + 3 | 0; + if (!(HEAP8[$arrayidx97$2 >> 0] | 0)) $p$7$lcssa$2 = $p$7$lcssa$1; else { + $i$1104$us$2 = 1; + $p$7105$us$2 = $p$7$lcssa$1; while (1) { - $121 = HEAP32[$5 + ($$7138$us$2 << 2) >> 2] << 5; - $122 = $15 + 17 + $$7138$us$2 | 0; - HEAP32[$29 + 144 + ($121 << 2) >> 2] = 3; - HEAP8[$29 + 1168 + $121 >> 0] = HEAP8[$122 >> 0] | 0; - $126 = $121 | 1; - HEAP32[$29 + 144 + ($126 << 2) >> 2] = 3; - HEAP8[$29 + 1168 + $126 >> 0] = HEAP8[$122 >> 0] | 0; - $130 = $126 + 1 | 0; - HEAP32[$29 + 144 + ($130 << 2) >> 2] = 3; - HEAP8[$29 + 1168 + $130 >> 0] = HEAP8[$122 >> 0] | 0; - $134 = $121 | 3; - HEAP32[$29 + 144 + ($134 << 2) >> 2] = 3; - HEAP8[$29 + 1168 + $134 >> 0] = HEAP8[$122 >> 0] | 0; - $138 = $134 + 1 | 0; - HEAP32[$29 + 144 + ($138 << 2) >> 2] = 3; - HEAP8[$29 + 1168 + $138 >> 0] = HEAP8[$122 >> 0] | 0; - $142 = $134 + 2 | 0; - HEAP32[$29 + 144 + ($142 << 2) >> 2] = 3; - HEAP8[$29 + 1168 + $142 >> 0] = HEAP8[$122 >> 0] | 0; - $146 = $134 + 3 | 0; - HEAP32[$29 + 144 + ($146 << 2) >> 2] = 3; - HEAP8[$29 + 1168 + $146 >> 0] = HEAP8[$122 >> 0] | 0; - $150 = $121 | 7; - HEAP32[$29 + 144 + ($150 << 2) >> 2] = 3; - HEAP8[$29 + 1168 + $150 >> 0] = HEAP8[$122 >> 0] | 0; - $154 = $150 + 1 | 0; - HEAP32[$29 + 144 + ($154 << 2) >> 2] = 3; - HEAP8[$29 + 1168 + $154 >> 0] = HEAP8[$122 >> 0] | 0; - $158 = $150 + 2 | 0; - HEAP32[$29 + 144 + ($158 << 2) >> 2] = 3; - HEAP8[$29 + 1168 + $158 >> 0] = HEAP8[$122 >> 0] | 0; - $162 = $150 + 3 | 0; - HEAP32[$29 + 144 + ($162 << 2) >> 2] = 3; - HEAP8[$29 + 1168 + $162 >> 0] = HEAP8[$122 >> 0] | 0; - $166 = $150 + 4 | 0; - HEAP32[$29 + 144 + ($166 << 2) >> 2] = 3; - HEAP8[$29 + 1168 + $166 >> 0] = HEAP8[$122 >> 0] | 0; - $170 = $150 + 5 | 0; - HEAP32[$29 + 144 + ($170 << 2) >> 2] = 3; - HEAP8[$29 + 1168 + $170 >> 0] = HEAP8[$122 >> 0] | 0; - $174 = $150 + 6 | 0; - HEAP32[$29 + 144 + ($174 << 2) >> 2] = 3; - HEAP8[$29 + 1168 + $174 >> 0] = HEAP8[$122 >> 0] | 0; - $178 = $150 + 7 | 0; - HEAP32[$29 + 144 + ($178 << 2) >> 2] = 3; - HEAP8[$29 + 1168 + $178 >> 0] = HEAP8[$122 >> 0] | 0; - $182 = $121 | 15; - HEAP32[$29 + 144 + ($182 << 2) >> 2] = 3; - HEAP8[$29 + 1168 + $182 >> 0] = HEAP8[$122 >> 0] | 0; - $186 = $182 + 1 | 0; - HEAP32[$29 + 144 + ($186 << 2) >> 2] = 3; - HEAP8[$29 + 1168 + $186 >> 0] = HEAP8[$122 >> 0] | 0; - $190 = $182 + 2 | 0; - HEAP32[$29 + 144 + ($190 << 2) >> 2] = 3; - HEAP8[$29 + 1168 + $190 >> 0] = HEAP8[$122 >> 0] | 0; - $194 = $182 + 3 | 0; - HEAP32[$29 + 144 + ($194 << 2) >> 2] = 3; - HEAP8[$29 + 1168 + $194 >> 0] = HEAP8[$122 >> 0] | 0; - $198 = $182 + 4 | 0; - HEAP32[$29 + 144 + ($198 << 2) >> 2] = 3; - HEAP8[$29 + 1168 + $198 >> 0] = HEAP8[$122 >> 0] | 0; - $202 = $182 + 5 | 0; - HEAP32[$29 + 144 + ($202 << 2) >> 2] = 3; - HEAP8[$29 + 1168 + $202 >> 0] = HEAP8[$122 >> 0] | 0; - $206 = $182 + 6 | 0; - HEAP32[$29 + 144 + ($206 << 2) >> 2] = 3; - HEAP8[$29 + 1168 + $206 >> 0] = HEAP8[$122 >> 0] | 0; - $210 = $182 + 7 | 0; - HEAP32[$29 + 144 + ($210 << 2) >> 2] = 3; - HEAP8[$29 + 1168 + $210 >> 0] = HEAP8[$122 >> 0] | 0; - $214 = $182 + 8 | 0; - HEAP32[$29 + 144 + ($214 << 2) >> 2] = 3; - HEAP8[$29 + 1168 + $214 >> 0] = HEAP8[$122 >> 0] | 0; - $218 = $182 + 9 | 0; - HEAP32[$29 + 144 + ($218 << 2) >> 2] = 3; - HEAP8[$29 + 1168 + $218 >> 0] = HEAP8[$122 >> 0] | 0; - $222 = $182 + 10 | 0; - HEAP32[$29 + 144 + ($222 << 2) >> 2] = 3; - HEAP8[$29 + 1168 + $222 >> 0] = HEAP8[$122 >> 0] | 0; - $226 = $182 + 11 | 0; - HEAP32[$29 + 144 + ($226 << 2) >> 2] = 3; - HEAP8[$29 + 1168 + $226 >> 0] = HEAP8[$122 >> 0] | 0; - $230 = $182 + 12 | 0; - HEAP32[$29 + 144 + ($230 << 2) >> 2] = 3; - HEAP8[$29 + 1168 + $230 >> 0] = HEAP8[$122 >> 0] | 0; - $234 = $182 + 13 | 0; - HEAP32[$29 + 144 + ($234 << 2) >> 2] = 3; - HEAP8[$29 + 1168 + $234 >> 0] = HEAP8[$122 >> 0] | 0; - $238 = $182 + 14 | 0; - HEAP32[$29 + 144 + ($238 << 2) >> 2] = 3; - HEAP8[$29 + 1168 + $238 >> 0] = HEAP8[$122 >> 0] | 0; - $242 = $182 + 15 | 0; - HEAP32[$29 + 144 + ($242 << 2) >> 2] = 3; - HEAP8[$29 + 1168 + $242 >> 0] = HEAP8[$122 >> 0] | 0; - $246 = $121 | 31; - HEAP32[$29 + 144 + ($246 << 2) >> 2] = 3; - HEAP8[$29 + 1168 + $246 >> 0] = HEAP8[$122 >> 0] | 0; - $251 = $$7138$us$2 + 1 | 0; - if ($$1127137$us$2 >>> 0 < (HEAPU8[$116 >> 0] | 0) >>> 0) { - $$1127137$us$2 = $$1127137$us$2 + 1 | 0; - $$7138$us$2 = $251; + $shl104$us$2 = HEAP32[$huffcode + ($p$7105$us$2 << 2) >> 2] << 5; + $arrayidx113$us$2 = $cond + 17 + $p$7105$us$2 | 0; + HEAP32[$10 + 144 + ($shl104$us$2 << 2) >> 2] = 3; + HEAP8[$10 + 1168 + $shl104$us$2 >> 0] = HEAP8[$arrayidx113$us$2 >> 0] | 0; + $inc115$us$2 = $shl104$us$2 | 1; + HEAP32[$10 + 144 + ($inc115$us$2 << 2) >> 2] = 3; + HEAP8[$10 + 1168 + $inc115$us$2 >> 0] = HEAP8[$arrayidx113$us$2 >> 0] | 0; + $inc115$us$2$1 = $inc115$us$2 + 1 | 0; + HEAP32[$10 + 144 + ($inc115$us$2$1 << 2) >> 2] = 3; + HEAP8[$10 + 1168 + $inc115$us$2$1 >> 0] = HEAP8[$arrayidx113$us$2 >> 0] | 0; + $inc115$us$2$2 = $shl104$us$2 | 3; + HEAP32[$10 + 144 + ($inc115$us$2$2 << 2) >> 2] = 3; + HEAP8[$10 + 1168 + $inc115$us$2$2 >> 0] = HEAP8[$arrayidx113$us$2 >> 0] | 0; + $inc115$us$2$3 = $inc115$us$2$2 + 1 | 0; + HEAP32[$10 + 144 + ($inc115$us$2$3 << 2) >> 2] = 3; + HEAP8[$10 + 1168 + $inc115$us$2$3 >> 0] = HEAP8[$arrayidx113$us$2 >> 0] | 0; + $inc115$us$2$4 = $inc115$us$2$2 + 2 | 0; + HEAP32[$10 + 144 + ($inc115$us$2$4 << 2) >> 2] = 3; + HEAP8[$10 + 1168 + $inc115$us$2$4 >> 0] = HEAP8[$arrayidx113$us$2 >> 0] | 0; + $inc115$us$2$5 = $inc115$us$2$2 + 3 | 0; + HEAP32[$10 + 144 + ($inc115$us$2$5 << 2) >> 2] = 3; + HEAP8[$10 + 1168 + $inc115$us$2$5 >> 0] = HEAP8[$arrayidx113$us$2 >> 0] | 0; + $inc115$us$2$6 = $shl104$us$2 | 7; + HEAP32[$10 + 144 + ($inc115$us$2$6 << 2) >> 2] = 3; + HEAP8[$10 + 1168 + $inc115$us$2$6 >> 0] = HEAP8[$arrayidx113$us$2 >> 0] | 0; + $inc115$us$2$7 = $inc115$us$2$6 + 1 | 0; + HEAP32[$10 + 144 + ($inc115$us$2$7 << 2) >> 2] = 3; + HEAP8[$10 + 1168 + $inc115$us$2$7 >> 0] = HEAP8[$arrayidx113$us$2 >> 0] | 0; + $inc115$us$2$8 = $inc115$us$2$6 + 2 | 0; + HEAP32[$10 + 144 + ($inc115$us$2$8 << 2) >> 2] = 3; + HEAP8[$10 + 1168 + $inc115$us$2$8 >> 0] = HEAP8[$arrayidx113$us$2 >> 0] | 0; + $inc115$us$2$9 = $inc115$us$2$6 + 3 | 0; + HEAP32[$10 + 144 + ($inc115$us$2$9 << 2) >> 2] = 3; + HEAP8[$10 + 1168 + $inc115$us$2$9 >> 0] = HEAP8[$arrayidx113$us$2 >> 0] | 0; + $inc115$us$2$10 = $inc115$us$2$6 + 4 | 0; + HEAP32[$10 + 144 + ($inc115$us$2$10 << 2) >> 2] = 3; + HEAP8[$10 + 1168 + $inc115$us$2$10 >> 0] = HEAP8[$arrayidx113$us$2 >> 0] | 0; + $inc115$us$2$11 = $inc115$us$2$6 + 5 | 0; + HEAP32[$10 + 144 + ($inc115$us$2$11 << 2) >> 2] = 3; + HEAP8[$10 + 1168 + $inc115$us$2$11 >> 0] = HEAP8[$arrayidx113$us$2 >> 0] | 0; + $inc115$us$2$12 = $inc115$us$2$6 + 6 | 0; + HEAP32[$10 + 144 + ($inc115$us$2$12 << 2) >> 2] = 3; + HEAP8[$10 + 1168 + $inc115$us$2$12 >> 0] = HEAP8[$arrayidx113$us$2 >> 0] | 0; + $inc115$us$2$13 = $inc115$us$2$6 + 7 | 0; + HEAP32[$10 + 144 + ($inc115$us$2$13 << 2) >> 2] = 3; + HEAP8[$10 + 1168 + $inc115$us$2$13 >> 0] = HEAP8[$arrayidx113$us$2 >> 0] | 0; + $inc115$us$2$14 = $shl104$us$2 | 15; + HEAP32[$10 + 144 + ($inc115$us$2$14 << 2) >> 2] = 3; + HEAP8[$10 + 1168 + $inc115$us$2$14 >> 0] = HEAP8[$arrayidx113$us$2 >> 0] | 0; + $inc115$us$2$15 = $inc115$us$2$14 + 1 | 0; + HEAP32[$10 + 144 + ($inc115$us$2$15 << 2) >> 2] = 3; + HEAP8[$10 + 1168 + $inc115$us$2$15 >> 0] = HEAP8[$arrayidx113$us$2 >> 0] | 0; + $inc115$us$2$16 = $inc115$us$2$14 + 2 | 0; + HEAP32[$10 + 144 + ($inc115$us$2$16 << 2) >> 2] = 3; + HEAP8[$10 + 1168 + $inc115$us$2$16 >> 0] = HEAP8[$arrayidx113$us$2 >> 0] | 0; + $inc115$us$2$17 = $inc115$us$2$14 + 3 | 0; + HEAP32[$10 + 144 + ($inc115$us$2$17 << 2) >> 2] = 3; + HEAP8[$10 + 1168 + $inc115$us$2$17 >> 0] = HEAP8[$arrayidx113$us$2 >> 0] | 0; + $inc115$us$2$18 = $inc115$us$2$14 + 4 | 0; + HEAP32[$10 + 144 + ($inc115$us$2$18 << 2) >> 2] = 3; + HEAP8[$10 + 1168 + $inc115$us$2$18 >> 0] = HEAP8[$arrayidx113$us$2 >> 0] | 0; + $inc115$us$2$19 = $inc115$us$2$14 + 5 | 0; + HEAP32[$10 + 144 + ($inc115$us$2$19 << 2) >> 2] = 3; + HEAP8[$10 + 1168 + $inc115$us$2$19 >> 0] = HEAP8[$arrayidx113$us$2 >> 0] | 0; + $inc115$us$2$20 = $inc115$us$2$14 + 6 | 0; + HEAP32[$10 + 144 + ($inc115$us$2$20 << 2) >> 2] = 3; + HEAP8[$10 + 1168 + $inc115$us$2$20 >> 0] = HEAP8[$arrayidx113$us$2 >> 0] | 0; + $inc115$us$2$21 = $inc115$us$2$14 + 7 | 0; + HEAP32[$10 + 144 + ($inc115$us$2$21 << 2) >> 2] = 3; + HEAP8[$10 + 1168 + $inc115$us$2$21 >> 0] = HEAP8[$arrayidx113$us$2 >> 0] | 0; + $inc115$us$2$22 = $inc115$us$2$14 + 8 | 0; + HEAP32[$10 + 144 + ($inc115$us$2$22 << 2) >> 2] = 3; + HEAP8[$10 + 1168 + $inc115$us$2$22 >> 0] = HEAP8[$arrayidx113$us$2 >> 0] | 0; + $inc115$us$2$23 = $inc115$us$2$14 + 9 | 0; + HEAP32[$10 + 144 + ($inc115$us$2$23 << 2) >> 2] = 3; + HEAP8[$10 + 1168 + $inc115$us$2$23 >> 0] = HEAP8[$arrayidx113$us$2 >> 0] | 0; + $inc115$us$2$24 = $inc115$us$2$14 + 10 | 0; + HEAP32[$10 + 144 + ($inc115$us$2$24 << 2) >> 2] = 3; + HEAP8[$10 + 1168 + $inc115$us$2$24 >> 0] = HEAP8[$arrayidx113$us$2 >> 0] | 0; + $inc115$us$2$25 = $inc115$us$2$14 + 11 | 0; + HEAP32[$10 + 144 + ($inc115$us$2$25 << 2) >> 2] = 3; + HEAP8[$10 + 1168 + $inc115$us$2$25 >> 0] = HEAP8[$arrayidx113$us$2 >> 0] | 0; + $inc115$us$2$26 = $inc115$us$2$14 + 12 | 0; + HEAP32[$10 + 144 + ($inc115$us$2$26 << 2) >> 2] = 3; + HEAP8[$10 + 1168 + $inc115$us$2$26 >> 0] = HEAP8[$arrayidx113$us$2 >> 0] | 0; + $inc115$us$2$27 = $inc115$us$2$14 + 13 | 0; + HEAP32[$10 + 144 + ($inc115$us$2$27 << 2) >> 2] = 3; + HEAP8[$10 + 1168 + $inc115$us$2$27 >> 0] = HEAP8[$arrayidx113$us$2 >> 0] | 0; + $inc115$us$2$28 = $inc115$us$2$14 + 14 | 0; + HEAP32[$10 + 144 + ($inc115$us$2$28 << 2) >> 2] = 3; + HEAP8[$10 + 1168 + $inc115$us$2$28 >> 0] = HEAP8[$arrayidx113$us$2 >> 0] | 0; + $inc115$us$2$29 = $inc115$us$2$14 + 15 | 0; + HEAP32[$10 + 144 + ($inc115$us$2$29 << 2) >> 2] = 3; + HEAP8[$10 + 1168 + $inc115$us$2$29 >> 0] = HEAP8[$arrayidx113$us$2 >> 0] | 0; + $inc115$us$2$30 = $shl104$us$2 | 31; + HEAP32[$10 + 144 + ($inc115$us$2$30 << 2) >> 2] = 3; + HEAP8[$10 + 1168 + $inc115$us$2$30 >> 0] = HEAP8[$arrayidx113$us$2 >> 0] | 0; + $inc121$us$2 = $p$7105$us$2 + 1 | 0; + if ($i$1104$us$2 >>> 0 < (HEAPU8[$arrayidx97$2 >> 0] | 0) >>> 0) { + $i$1104$us$2 = $i$1104$us$2 + 1 | 0; + $p$7105$us$2 = $inc121$us$2; } else { - $$7$lcssa$2 = $251; + $p$7$lcssa$2 = $inc121$us$2; break; } } } - $255 = $15 + 4 | 0; - if (!(HEAP8[$255 >> 0] | 0)) $$7$lcssa$3 = $$7$lcssa$2; else { - $$1127137$us$3 = 1; - $$7138$us$3 = $$7$lcssa$2; + $arrayidx97$3 = $cond + 4 | 0; + if (!(HEAP8[$arrayidx97$3 >> 0] | 0)) $p$7$lcssa$3 = $p$7$lcssa$2; else { + $i$1104$us$3 = 1; + $p$7105$us$3 = $p$7$lcssa$2; while (1) { - $260 = HEAP32[$5 + ($$7138$us$3 << 2) >> 2] << 4; - $261 = $15 + 17 + $$7138$us$3 | 0; - HEAP32[$29 + 144 + ($260 << 2) >> 2] = 4; - HEAP8[$29 + 1168 + $260 >> 0] = HEAP8[$261 >> 0] | 0; - $265 = $260 | 1; - HEAP32[$29 + 144 + ($265 << 2) >> 2] = 4; - HEAP8[$29 + 1168 + $265 >> 0] = HEAP8[$261 >> 0] | 0; - $269 = $265 + 1 | 0; - HEAP32[$29 + 144 + ($269 << 2) >> 2] = 4; - HEAP8[$29 + 1168 + $269 >> 0] = HEAP8[$261 >> 0] | 0; - $273 = $260 | 3; - HEAP32[$29 + 144 + ($273 << 2) >> 2] = 4; - HEAP8[$29 + 1168 + $273 >> 0] = HEAP8[$261 >> 0] | 0; - $277 = $273 + 1 | 0; - HEAP32[$29 + 144 + ($277 << 2) >> 2] = 4; - HEAP8[$29 + 1168 + $277 >> 0] = HEAP8[$261 >> 0] | 0; - $281 = $273 + 2 | 0; - HEAP32[$29 + 144 + ($281 << 2) >> 2] = 4; - HEAP8[$29 + 1168 + $281 >> 0] = HEAP8[$261 >> 0] | 0; - $285 = $273 + 3 | 0; - HEAP32[$29 + 144 + ($285 << 2) >> 2] = 4; - HEAP8[$29 + 1168 + $285 >> 0] = HEAP8[$261 >> 0] | 0; - $289 = $260 | 7; - HEAP32[$29 + 144 + ($289 << 2) >> 2] = 4; - HEAP8[$29 + 1168 + $289 >> 0] = HEAP8[$261 >> 0] | 0; - $293 = $289 + 1 | 0; - HEAP32[$29 + 144 + ($293 << 2) >> 2] = 4; - HEAP8[$29 + 1168 + $293 >> 0] = HEAP8[$261 >> 0] | 0; - $297 = $289 + 2 | 0; - HEAP32[$29 + 144 + ($297 << 2) >> 2] = 4; - HEAP8[$29 + 1168 + $297 >> 0] = HEAP8[$261 >> 0] | 0; - $301 = $289 + 3 | 0; - HEAP32[$29 + 144 + ($301 << 2) >> 2] = 4; - HEAP8[$29 + 1168 + $301 >> 0] = HEAP8[$261 >> 0] | 0; - $305 = $289 + 4 | 0; - HEAP32[$29 + 144 + ($305 << 2) >> 2] = 4; - HEAP8[$29 + 1168 + $305 >> 0] = HEAP8[$261 >> 0] | 0; - $309 = $289 + 5 | 0; - HEAP32[$29 + 144 + ($309 << 2) >> 2] = 4; - HEAP8[$29 + 1168 + $309 >> 0] = HEAP8[$261 >> 0] | 0; - $313 = $289 + 6 | 0; - HEAP32[$29 + 144 + ($313 << 2) >> 2] = 4; - HEAP8[$29 + 1168 + $313 >> 0] = HEAP8[$261 >> 0] | 0; - $317 = $289 + 7 | 0; - HEAP32[$29 + 144 + ($317 << 2) >> 2] = 4; - HEAP8[$29 + 1168 + $317 >> 0] = HEAP8[$261 >> 0] | 0; - $321 = $260 | 15; - HEAP32[$29 + 144 + ($321 << 2) >> 2] = 4; - HEAP8[$29 + 1168 + $321 >> 0] = HEAP8[$261 >> 0] | 0; - $326 = $$7138$us$3 + 1 | 0; - if ($$1127137$us$3 >>> 0 < (HEAPU8[$255 >> 0] | 0) >>> 0) { - $$1127137$us$3 = $$1127137$us$3 + 1 | 0; - $$7138$us$3 = $326; + $shl104$us$3 = HEAP32[$huffcode + ($p$7105$us$3 << 2) >> 2] << 4; + $arrayidx113$us$3 = $cond + 17 + $p$7105$us$3 | 0; + HEAP32[$10 + 144 + ($shl104$us$3 << 2) >> 2] = 4; + HEAP8[$10 + 1168 + $shl104$us$3 >> 0] = HEAP8[$arrayidx113$us$3 >> 0] | 0; + $inc115$us$3 = $shl104$us$3 | 1; + HEAP32[$10 + 144 + ($inc115$us$3 << 2) >> 2] = 4; + HEAP8[$10 + 1168 + $inc115$us$3 >> 0] = HEAP8[$arrayidx113$us$3 >> 0] | 0; + $inc115$us$3$1 = $inc115$us$3 + 1 | 0; + HEAP32[$10 + 144 + ($inc115$us$3$1 << 2) >> 2] = 4; + HEAP8[$10 + 1168 + $inc115$us$3$1 >> 0] = HEAP8[$arrayidx113$us$3 >> 0] | 0; + $inc115$us$3$2 = $shl104$us$3 | 3; + HEAP32[$10 + 144 + ($inc115$us$3$2 << 2) >> 2] = 4; + HEAP8[$10 + 1168 + $inc115$us$3$2 >> 0] = HEAP8[$arrayidx113$us$3 >> 0] | 0; + $inc115$us$3$3 = $inc115$us$3$2 + 1 | 0; + HEAP32[$10 + 144 + ($inc115$us$3$3 << 2) >> 2] = 4; + HEAP8[$10 + 1168 + $inc115$us$3$3 >> 0] = HEAP8[$arrayidx113$us$3 >> 0] | 0; + $inc115$us$3$4 = $inc115$us$3$2 + 2 | 0; + HEAP32[$10 + 144 + ($inc115$us$3$4 << 2) >> 2] = 4; + HEAP8[$10 + 1168 + $inc115$us$3$4 >> 0] = HEAP8[$arrayidx113$us$3 >> 0] | 0; + $inc115$us$3$5 = $inc115$us$3$2 + 3 | 0; + HEAP32[$10 + 144 + ($inc115$us$3$5 << 2) >> 2] = 4; + HEAP8[$10 + 1168 + $inc115$us$3$5 >> 0] = HEAP8[$arrayidx113$us$3 >> 0] | 0; + $inc115$us$3$6 = $shl104$us$3 | 7; + HEAP32[$10 + 144 + ($inc115$us$3$6 << 2) >> 2] = 4; + HEAP8[$10 + 1168 + $inc115$us$3$6 >> 0] = HEAP8[$arrayidx113$us$3 >> 0] | 0; + $inc115$us$3$7 = $inc115$us$3$6 + 1 | 0; + HEAP32[$10 + 144 + ($inc115$us$3$7 << 2) >> 2] = 4; + HEAP8[$10 + 1168 + $inc115$us$3$7 >> 0] = HEAP8[$arrayidx113$us$3 >> 0] | 0; + $inc115$us$3$8 = $inc115$us$3$6 + 2 | 0; + HEAP32[$10 + 144 + ($inc115$us$3$8 << 2) >> 2] = 4; + HEAP8[$10 + 1168 + $inc115$us$3$8 >> 0] = HEAP8[$arrayidx113$us$3 >> 0] | 0; + $inc115$us$3$9 = $inc115$us$3$6 + 3 | 0; + HEAP32[$10 + 144 + ($inc115$us$3$9 << 2) >> 2] = 4; + HEAP8[$10 + 1168 + $inc115$us$3$9 >> 0] = HEAP8[$arrayidx113$us$3 >> 0] | 0; + $inc115$us$3$10 = $inc115$us$3$6 + 4 | 0; + HEAP32[$10 + 144 + ($inc115$us$3$10 << 2) >> 2] = 4; + HEAP8[$10 + 1168 + $inc115$us$3$10 >> 0] = HEAP8[$arrayidx113$us$3 >> 0] | 0; + $inc115$us$3$11 = $inc115$us$3$6 + 5 | 0; + HEAP32[$10 + 144 + ($inc115$us$3$11 << 2) >> 2] = 4; + HEAP8[$10 + 1168 + $inc115$us$3$11 >> 0] = HEAP8[$arrayidx113$us$3 >> 0] | 0; + $inc115$us$3$12 = $inc115$us$3$6 + 6 | 0; + HEAP32[$10 + 144 + ($inc115$us$3$12 << 2) >> 2] = 4; + HEAP8[$10 + 1168 + $inc115$us$3$12 >> 0] = HEAP8[$arrayidx113$us$3 >> 0] | 0; + $inc115$us$3$13 = $inc115$us$3$6 + 7 | 0; + HEAP32[$10 + 144 + ($inc115$us$3$13 << 2) >> 2] = 4; + HEAP8[$10 + 1168 + $inc115$us$3$13 >> 0] = HEAP8[$arrayidx113$us$3 >> 0] | 0; + $inc115$us$3$14 = $shl104$us$3 | 15; + HEAP32[$10 + 144 + ($inc115$us$3$14 << 2) >> 2] = 4; + HEAP8[$10 + 1168 + $inc115$us$3$14 >> 0] = HEAP8[$arrayidx113$us$3 >> 0] | 0; + $inc121$us$3 = $p$7105$us$3 + 1 | 0; + if ($i$1104$us$3 >>> 0 < (HEAPU8[$arrayidx97$3 >> 0] | 0) >>> 0) { + $i$1104$us$3 = $i$1104$us$3 + 1 | 0; + $p$7105$us$3 = $inc121$us$3; } else { - $$7$lcssa$3 = $326; + $p$7$lcssa$3 = $inc121$us$3; break; } } } - $330 = $15 + 5 | 0; - if (!(HEAP8[$330 >> 0] | 0)) $$7$lcssa$4 = $$7$lcssa$3; else { - $$1127137$us$4 = 1; - $$7138$us$4 = $$7$lcssa$3; + $arrayidx97$4 = $cond + 5 | 0; + if (!(HEAP8[$arrayidx97$4 >> 0] | 0)) $p$7$lcssa$4 = $p$7$lcssa$3; else { + $i$1104$us$4 = 1; + $p$7105$us$4 = $p$7$lcssa$3; while (1) { - $335 = HEAP32[$5 + ($$7138$us$4 << 2) >> 2] << 3; - $336 = $15 + 17 + $$7138$us$4 | 0; - HEAP32[$29 + 144 + ($335 << 2) >> 2] = 5; - HEAP8[$29 + 1168 + $335 >> 0] = HEAP8[$336 >> 0] | 0; - $340 = $335 | 1; - HEAP32[$29 + 144 + ($340 << 2) >> 2] = 5; - HEAP8[$29 + 1168 + $340 >> 0] = HEAP8[$336 >> 0] | 0; - $344 = $340 + 1 | 0; - HEAP32[$29 + 144 + ($344 << 2) >> 2] = 5; - HEAP8[$29 + 1168 + $344 >> 0] = HEAP8[$336 >> 0] | 0; - $348 = $335 | 3; - HEAP32[$29 + 144 + ($348 << 2) >> 2] = 5; - HEAP8[$29 + 1168 + $348 >> 0] = HEAP8[$336 >> 0] | 0; - $352 = $348 + 1 | 0; - HEAP32[$29 + 144 + ($352 << 2) >> 2] = 5; - HEAP8[$29 + 1168 + $352 >> 0] = HEAP8[$336 >> 0] | 0; - $356 = $348 + 2 | 0; - HEAP32[$29 + 144 + ($356 << 2) >> 2] = 5; - HEAP8[$29 + 1168 + $356 >> 0] = HEAP8[$336 >> 0] | 0; - $360 = $348 + 3 | 0; - HEAP32[$29 + 144 + ($360 << 2) >> 2] = 5; - HEAP8[$29 + 1168 + $360 >> 0] = HEAP8[$336 >> 0] | 0; - $364 = $335 | 7; - HEAP32[$29 + 144 + ($364 << 2) >> 2] = 5; - HEAP8[$29 + 1168 + $364 >> 0] = HEAP8[$336 >> 0] | 0; - $369 = $$7138$us$4 + 1 | 0; - if ($$1127137$us$4 >>> 0 < (HEAPU8[$330 >> 0] | 0) >>> 0) { - $$1127137$us$4 = $$1127137$us$4 + 1 | 0; - $$7138$us$4 = $369; + $shl104$us$4 = HEAP32[$huffcode + ($p$7105$us$4 << 2) >> 2] << 3; + $arrayidx113$us$4 = $cond + 17 + $p$7105$us$4 | 0; + HEAP32[$10 + 144 + ($shl104$us$4 << 2) >> 2] = 5; + HEAP8[$10 + 1168 + $shl104$us$4 >> 0] = HEAP8[$arrayidx113$us$4 >> 0] | 0; + $inc115$us$4 = $shl104$us$4 | 1; + HEAP32[$10 + 144 + ($inc115$us$4 << 2) >> 2] = 5; + HEAP8[$10 + 1168 + $inc115$us$4 >> 0] = HEAP8[$arrayidx113$us$4 >> 0] | 0; + $inc115$us$4$1 = $inc115$us$4 + 1 | 0; + HEAP32[$10 + 144 + ($inc115$us$4$1 << 2) >> 2] = 5; + HEAP8[$10 + 1168 + $inc115$us$4$1 >> 0] = HEAP8[$arrayidx113$us$4 >> 0] | 0; + $inc115$us$4$2 = $shl104$us$4 | 3; + HEAP32[$10 + 144 + ($inc115$us$4$2 << 2) >> 2] = 5; + HEAP8[$10 + 1168 + $inc115$us$4$2 >> 0] = HEAP8[$arrayidx113$us$4 >> 0] | 0; + $inc115$us$4$3 = $inc115$us$4$2 + 1 | 0; + HEAP32[$10 + 144 + ($inc115$us$4$3 << 2) >> 2] = 5; + HEAP8[$10 + 1168 + $inc115$us$4$3 >> 0] = HEAP8[$arrayidx113$us$4 >> 0] | 0; + $inc115$us$4$4 = $inc115$us$4$2 + 2 | 0; + HEAP32[$10 + 144 + ($inc115$us$4$4 << 2) >> 2] = 5; + HEAP8[$10 + 1168 + $inc115$us$4$4 >> 0] = HEAP8[$arrayidx113$us$4 >> 0] | 0; + $inc115$us$4$5 = $inc115$us$4$2 + 3 | 0; + HEAP32[$10 + 144 + ($inc115$us$4$5 << 2) >> 2] = 5; + HEAP8[$10 + 1168 + $inc115$us$4$5 >> 0] = HEAP8[$arrayidx113$us$4 >> 0] | 0; + $inc115$us$4$6 = $shl104$us$4 | 7; + HEAP32[$10 + 144 + ($inc115$us$4$6 << 2) >> 2] = 5; + HEAP8[$10 + 1168 + $inc115$us$4$6 >> 0] = HEAP8[$arrayidx113$us$4 >> 0] | 0; + $inc121$us$4 = $p$7105$us$4 + 1 | 0; + if ($i$1104$us$4 >>> 0 < (HEAPU8[$arrayidx97$4 >> 0] | 0) >>> 0) { + $i$1104$us$4 = $i$1104$us$4 + 1 | 0; + $p$7105$us$4 = $inc121$us$4; } else { - $$7$lcssa$4 = $369; + $p$7$lcssa$4 = $inc121$us$4; break; } } } - $373 = $15 + 6 | 0; - if (!(HEAP8[$373 >> 0] | 0)) $$7$lcssa$5 = $$7$lcssa$4; else { - $$1127137$us$5 = 1; - $$7138$us$5 = $$7$lcssa$4; + $arrayidx97$5 = $cond + 6 | 0; + if (!(HEAP8[$arrayidx97$5 >> 0] | 0)) $p$7$lcssa$5 = $p$7$lcssa$4; else { + $i$1104$us$5 = 1; + $p$7105$us$5 = $p$7$lcssa$4; while (1) { - $378 = HEAP32[$5 + ($$7138$us$5 << 2) >> 2] << 2; - $379 = $15 + 17 + $$7138$us$5 | 0; - HEAP32[$29 + 144 + ($378 << 2) >> 2] = 6; - HEAP8[$29 + 1168 + $378 >> 0] = HEAP8[$379 >> 0] | 0; - $383 = $378 | 1; - HEAP32[$29 + 144 + ($383 << 2) >> 2] = 6; - HEAP8[$29 + 1168 + $383 >> 0] = HEAP8[$379 >> 0] | 0; - $387 = $383 + 1 | 0; - HEAP32[$29 + 144 + ($387 << 2) >> 2] = 6; - HEAP8[$29 + 1168 + $387 >> 0] = HEAP8[$379 >> 0] | 0; - $391 = $378 | 3; - HEAP32[$29 + 144 + ($391 << 2) >> 2] = 6; - HEAP8[$29 + 1168 + $391 >> 0] = HEAP8[$379 >> 0] | 0; - $396 = $$7138$us$5 + 1 | 0; - if ($$1127137$us$5 >>> 0 < (HEAPU8[$373 >> 0] | 0) >>> 0) { - $$1127137$us$5 = $$1127137$us$5 + 1 | 0; - $$7138$us$5 = $396; + $shl104$us$5 = HEAP32[$huffcode + ($p$7105$us$5 << 2) >> 2] << 2; + $arrayidx113$us$5 = $cond + 17 + $p$7105$us$5 | 0; + HEAP32[$10 + 144 + ($shl104$us$5 << 2) >> 2] = 6; + HEAP8[$10 + 1168 + $shl104$us$5 >> 0] = HEAP8[$arrayidx113$us$5 >> 0] | 0; + $inc115$us$5 = $shl104$us$5 | 1; + HEAP32[$10 + 144 + ($inc115$us$5 << 2) >> 2] = 6; + HEAP8[$10 + 1168 + $inc115$us$5 >> 0] = HEAP8[$arrayidx113$us$5 >> 0] | 0; + $inc115$us$5$1 = $inc115$us$5 + 1 | 0; + HEAP32[$10 + 144 + ($inc115$us$5$1 << 2) >> 2] = 6; + HEAP8[$10 + 1168 + $inc115$us$5$1 >> 0] = HEAP8[$arrayidx113$us$5 >> 0] | 0; + $inc115$us$5$2 = $shl104$us$5 | 3; + HEAP32[$10 + 144 + ($inc115$us$5$2 << 2) >> 2] = 6; + HEAP8[$10 + 1168 + $inc115$us$5$2 >> 0] = HEAP8[$arrayidx113$us$5 >> 0] | 0; + $inc121$us$5 = $p$7105$us$5 + 1 | 0; + if ($i$1104$us$5 >>> 0 < (HEAPU8[$arrayidx97$5 >> 0] | 0) >>> 0) { + $i$1104$us$5 = $i$1104$us$5 + 1 | 0; + $p$7105$us$5 = $inc121$us$5; } else { - $$7$lcssa$5 = $396; + $p$7$lcssa$5 = $inc121$us$5; break; } } } - $400 = $15 + 7 | 0; - if (!(HEAP8[$400 >> 0] | 0)) $$7$lcssa$6 = $$7$lcssa$5; else { - $$1127137$us$6 = 1; - $$7138$us$6 = $$7$lcssa$5; + $arrayidx97$6 = $cond + 7 | 0; + if (!(HEAP8[$arrayidx97$6 >> 0] | 0)) $p$7$lcssa$6 = $p$7$lcssa$5; else { + $i$1104$us$6 = 1; + $p$7105$us$6 = $p$7$lcssa$5; while (1) { - $405 = HEAP32[$5 + ($$7138$us$6 << 2) >> 2] << 1; - $406 = $15 + 17 + $$7138$us$6 | 0; - HEAP32[$29 + 144 + ($405 << 2) >> 2] = 7; - HEAP8[$29 + 1168 + $405 >> 0] = HEAP8[$406 >> 0] | 0; - $410 = $405 | 1; - HEAP32[$29 + 144 + ($410 << 2) >> 2] = 7; - HEAP8[$29 + 1168 + $410 >> 0] = HEAP8[$406 >> 0] | 0; - $415 = $$7138$us$6 + 1 | 0; - if ($$1127137$us$6 >>> 0 < (HEAPU8[$400 >> 0] | 0) >>> 0) { - $$1127137$us$6 = $$1127137$us$6 + 1 | 0; - $$7138$us$6 = $415; + $shl104$us$6 = HEAP32[$huffcode + ($p$7105$us$6 << 2) >> 2] << 1; + $arrayidx113$us$6 = $cond + 17 + $p$7105$us$6 | 0; + HEAP32[$10 + 144 + ($shl104$us$6 << 2) >> 2] = 7; + HEAP8[$10 + 1168 + $shl104$us$6 >> 0] = HEAP8[$arrayidx113$us$6 >> 0] | 0; + $inc115$us$6 = $shl104$us$6 | 1; + HEAP32[$10 + 144 + ($inc115$us$6 << 2) >> 2] = 7; + HEAP8[$10 + 1168 + $inc115$us$6 >> 0] = HEAP8[$arrayidx113$us$6 >> 0] | 0; + $inc121$us$6 = $p$7105$us$6 + 1 | 0; + if ($i$1104$us$6 >>> 0 < (HEAPU8[$arrayidx97$6 >> 0] | 0) >>> 0) { + $i$1104$us$6 = $i$1104$us$6 + 1 | 0; + $p$7105$us$6 = $inc121$us$6; } else { - $$7$lcssa$6 = $415; + $p$7$lcssa$6 = $inc121$us$6; break; } } } - $419 = $15 + 8 | 0; - if (HEAP8[$419 >> 0] | 0) { - $$1127137$us$7 = 1; - $$7138$us$7 = $$7$lcssa$6; + $arrayidx97$7 = $cond + 8 | 0; + if (HEAP8[$arrayidx97$7 >> 0] | 0) { + $i$1104$us$7 = 1; + $p$7105$us$7 = $p$7$lcssa$6; while (1) { - $423 = HEAP32[$5 + ($$7138$us$7 << 2) >> 2] | 0; - HEAP32[$29 + 144 + ($423 << 2) >> 2] = 8; - HEAP8[$29 + 1168 + $423 >> 0] = HEAP8[$15 + 17 + $$7138$us$7 >> 0] | 0; - if ($$1127137$us$7 >>> 0 < (HEAPU8[$419 >> 0] | 0) >>> 0) { - $$1127137$us$7 = $$1127137$us$7 + 1 | 0; - $$7138$us$7 = $$7138$us$7 + 1 | 0; + $113 = HEAP32[$huffcode + ($p$7105$us$7 << 2) >> 2] | 0; + HEAP32[$10 + 144 + ($113 << 2) >> 2] = 8; + HEAP8[$10 + 1168 + $113 >> 0] = HEAP8[$cond + 17 + $p$7105$us$7 >> 0] | 0; + if ($i$1104$us$7 >>> 0 < (HEAPU8[$arrayidx97$7 >> 0] | 0) >>> 0) { + $i$1104$us$7 = $i$1104$us$7 + 1 | 0; + $p$7105$us$7 = $p$7105$us$7 + 1 | 0; } else break; } } - if (!($12 & ($$1$lcssa$15 | 0) > 0)) { + if (!($tobool & ($p$1$lcssa$15 | 0) > 0)) { STACKTOP = sp; return; } - $$2128133 = 0; + $i$298 = 0; do { - if ((HEAPU8[$15 + 17 + $$2128133 >> 0] | 0) > 15) { - $97 = HEAP32[$0 >> 2] | 0; - HEAP32[$97 + 20 >> 2] = 9; - FUNCTION_TABLE_vi[HEAP32[$97 >> 2] & 255]($$pre$phiZ2D); + if ((HEAPU8[$cond + 17 + $i$298 >> 0] | 0) > 15) { + $30 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$30 + 20 >> 2] = 9; + FUNCTION_TABLE_vi[HEAP32[$30 >> 2] & 255]($$pre$phiZ2D); } - $$2128133 = $$2128133 + 1 | 0; - } while (($$2128133 | 0) != ($$1$lcssa$15 | 0)); + $i$298 = $i$298 + 1 | 0; + } while (($i$298 | 0) != ($p$1$lcssa$15 | 0)); STACKTOP = sp; return; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E13parseFoldExprEv($0) { - $0 = $0 | 0; - var $$0 = 0, $$1 = 0, $$2 = 0, $$3 = 0, $$byval_copy30 = 0, $1 = 0, $10 = 0, $100 = 0, $101 = 0, $106 = 0, $11 = 0, $111 = 0, $112 = 0, $117 = 0, $12 = 0, $122 = 0, $123 = 0, $128 = 0, $13 = 0, $133 = 0, $134 = 0, $139 = 0, $14 = 0, $144 = 0, $145 = 0, $15 = 0, $150 = 0, $155 = 0, $156 = 0, $16 = 0, $161 = 0, $166 = 0, $167 = 0, $17 = 0, $172 = 0, $177 = 0, $178 = 0, $18 = 0, $183 = 0, $188 = 0, $189 = 0, $19 = 0, $194 = 0, $199 = 0, $2 = 0, $20 = 0, $200 = 0, $205 = 0, $21 = 0, $210 = 0, $211 = 0, $216 = 0, $22 = 0, $221 = 0, $222 = 0, $227 = 0, $23 = 0, $232 = 0, $233 = 0, $238 = 0, $24 = 0, $243 = 0, $244 = 0, $249 = 0, $25 = 0, $254 = 0, $255 = 0, $26 = 0, $260 = 0, $265 = 0, $266 = 0, $27 = 0, $271 = 0, $276 = 0, $277 = 0, $28 = 0, $282 = 0, $287 = 0, $288 = 0, $29 = 0, $293 = 0, $298 = 0, $299 = 0, $3 = 0, $30 = 0, $304 = 0, $309 = 0, $31 = 0, $310 = 0, $315 = 0, $32 = 0, $320 = 0, $321 = 0, $326 = 0, $33 = 0, $331 = 0, $332 = 0, $337 = 0, $34 = 0, $342 = 0, $343 = 0, $348 = 0, $353 = 0, $354 = 0, $359 = 0, $36 = 0, $364 = 0, $365 = 0, $370 = 0, $375 = 0, $376 = 0, $380 = 0, $381 = 0, $383 = 0, $384 = 0, $4 = 0, $40 = 0, $45 = 0, $46 = 0, $5 = 0, $51 = 0, $56 = 0, $57 = 0, $6 = 0, $62 = 0, $67 = 0, $68 = 0, $7 = 0, $73 = 0, $78 = 0, $79 = 0, $8 = 0, $84 = 0, $89 = 0, $9 = 0, $90 = 0, $95 = 0, $storemerge = 0, label = 0, sp = 0; +function __ZNSt3__212__next_primeEm($n) { + $n = $n | 0; + var $2 = 0, $add108 = 0, $add117 = 0, $add126 = 0, $add135 = 0, $add144 = 0, $add153 = 0, $add162 = 0, $add171 = 0, $add180 = 0, $add189 = 0, $add198 = 0, $add207 = 0, $add216 = 0, $add225 = 0, $add234 = 0, $add243 = 0, $add252 = 0, $add261 = 0, $add27 = 0, $add270 = 0, $add279 = 0, $add288 = 0, $add297 = 0, $add306 = 0, $add315 = 0, $add324 = 0, $add333 = 0, $add342 = 0, $add351 = 0, $add36 = 0, $add360 = 0, $add369 = 0, $add378 = 0, $add387 = 0, $add396 = 0, $add405 = 0, $add414 = 0, $add423 = 0, $add432 = 0, $add441 = 0, $add45 = 0, $add464 = 0, $add54 = 0, $add63 = 0, $add72 = 0, $add81 = 0, $add90 = 0, $add99 = 0, $agg$tmp1$i314 = 0, $call$i$i = 0, $cleanup$dest$slot$2 = 0, $cmp443 = 0, $cmp447 = 0, $cmp458 = 0, $div = 0, $div100 = 0, $div109 = 0, $div118 = 0, $div127 = 0, $div136 = 0, $div145 = 0, $div154 = 0, $div163 = 0, $div172 = 0, $div181 = 0, $div19 = 0, $div190 = 0, $div199 = 0, $div208 = 0, $div217 = 0, $div226 = 0, $div235 = 0, $div244 = 0, $div253 = 0, $div262 = 0, $div271 = 0, $div28 = 0, $div280 = 0, $div289 = 0, $div298 = 0, $div307 = 0, $div316 = 0, $div325 = 0, $div334 = 0, $div343 = 0, $div352 = 0, $div361 = 0, $div37 = 0, $div370 = 0, $div379 = 0, $div388 = 0, $div397 = 0, $div406 = 0, $div415 = 0, $div424 = 0, $div433 = 0, $div442 = 0, $div46 = 0, $div5 = 0, $div55 = 0, $div64 = 0, $div73 = 0, $div82 = 0, $div91 = 0, $i$0 = 0, $i$1 = 0, $inc457 = 0, $j$0 = 0, $k0$0 = 0, $mul = 0, $mul462$sink = 0, $n$addr = 0, $ref$tmp = 0, $retval$0 = 0, $retval$4 = 0, $retval$5 = 0, $retval$6 = 0, $retval$8 = 0, $spec$select = 0, $spec$select311$sink = 0, label = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $agg$tmp1$i314 = sp; + $n$addr = sp + 8 | 0; + $ref$tmp = sp + 4 | 0; + HEAP32[$n$addr >> 2] = $n; + do if ($n >>> 0 >= 212) { + $div = ($n >>> 0) / 210 | 0; + $mul = $div * 210 | 0; + HEAP32[$ref$tmp >> 2] = $n - $mul; + $k0$0 = $div; + $mul462$sink = $mul; + $retval$0 = 0; + $spec$select311$sink = (__ZNSt3__213__lower_boundIRNS_6__lessIjmEEPKjmEET0_S6_S6_RKT1_T_(12736, 12928, $ref$tmp, $agg$tmp1$i314) | 0) - 12736 >> 2; + L4 : while (1) { + $add464 = (HEAP32[12736 + ($spec$select311$sink << 2) >> 2] | 0) + $mul462$sink | 0; + $j$0 = 5; + while (1) { + if ($j$0 >>> 0 >= 47) { + label = 6; + break; + } + $2 = HEAP32[12544 + ($j$0 << 2) >> 2] | 0; + $div5 = ($add464 >>> 0) / ($2 >>> 0) | 0; + if ($div5 >>> 0 < $2 >>> 0) { + label = 107; + break L4; + } + if (($add464 | 0) == (Math_imul($div5, $2) | 0)) { + $retval$6 = $retval$0; + break; + } else $j$0 = $j$0 + 1 | 0; + } + L10 : do if ((label | 0) == 6) { + label = 0; + $i$0 = 211; + $retval$4 = $retval$0; + L12 : while (1) { + $div19 = ($add464 >>> 0) / ($i$0 >>> 0) | 0; + do if ($div19 >>> 0 >= $i$0 >>> 0) if (($add464 | 0) != (Math_imul($div19, $i$0) | 0)) { + $add27 = $i$0 + 10 | 0; + $div28 = ($add464 >>> 0) / ($add27 >>> 0) | 0; + if ($div28 >>> 0 >= $add27 >>> 0) if (($add464 | 0) != (Math_imul($div28, $add27) | 0)) { + $add36 = $i$0 + 12 | 0; + $div37 = ($add464 >>> 0) / ($add36 >>> 0) | 0; + if ($div37 >>> 0 >= $add36 >>> 0) if (($add464 | 0) != (Math_imul($div37, $add36) | 0)) { + $add45 = $i$0 + 16 | 0; + $div46 = ($add464 >>> 0) / ($add45 >>> 0) | 0; + if ($div46 >>> 0 >= $add45 >>> 0) if (($add464 | 0) != (Math_imul($div46, $add45) | 0)) { + $add54 = $i$0 + 18 | 0; + $div55 = ($add464 >>> 0) / ($add54 >>> 0) | 0; + if ($div55 >>> 0 >= $add54 >>> 0) if (($add464 | 0) != (Math_imul($div55, $add54) | 0)) { + $add63 = $i$0 + 22 | 0; + $div64 = ($add464 >>> 0) / ($add63 >>> 0) | 0; + if ($div64 >>> 0 >= $add63 >>> 0) if (($add464 | 0) != (Math_imul($div64, $add63) | 0)) { + $add72 = $i$0 + 28 | 0; + $div73 = ($add464 >>> 0) / ($add72 >>> 0) | 0; + if ($div73 >>> 0 >= $add72 >>> 0) if (($add464 | 0) == (Math_imul($div73, $add72) | 0)) { + $cleanup$dest$slot$2 = 9; + $i$1 = $add72; + $retval$5 = $retval$4; + } else { + $add81 = $i$0 + 30 | 0; + $div82 = ($add464 >>> 0) / ($add81 >>> 0) | 0; + if ($div82 >>> 0 < $add81 >>> 0) { + $cleanup$dest$slot$2 = 1; + $i$1 = $add81; + $retval$5 = $add464; + break; + } + if (($add464 | 0) == (Math_imul($div82, $add81) | 0)) { + $cleanup$dest$slot$2 = 9; + $i$1 = $add81; + $retval$5 = $retval$4; + break; + } + $add90 = $i$0 + 36 | 0; + $div91 = ($add464 >>> 0) / ($add90 >>> 0) | 0; + if ($div91 >>> 0 < $add90 >>> 0) { + $cleanup$dest$slot$2 = 1; + $i$1 = $add90; + $retval$5 = $add464; + break; + } + if (($add464 | 0) == (Math_imul($div91, $add90) | 0)) { + $cleanup$dest$slot$2 = 9; + $i$1 = $add90; + $retval$5 = $retval$4; + break; + } + $add99 = $i$0 + 40 | 0; + $div100 = ($add464 >>> 0) / ($add99 >>> 0) | 0; + if ($div100 >>> 0 < $add99 >>> 0) { + $cleanup$dest$slot$2 = 1; + $i$1 = $add99; + $retval$5 = $add464; + break; + } + if (($add464 | 0) == (Math_imul($div100, $add99) | 0)) { + $cleanup$dest$slot$2 = 9; + $i$1 = $add99; + $retval$5 = $retval$4; + break; + } + $add108 = $i$0 + 42 | 0; + $div109 = ($add464 >>> 0) / ($add108 >>> 0) | 0; + if ($div109 >>> 0 < $add108 >>> 0) { + $cleanup$dest$slot$2 = 1; + $i$1 = $add108; + $retval$5 = $add464; + break; + } + if (($add464 | 0) == (Math_imul($div109, $add108) | 0)) { + $cleanup$dest$slot$2 = 9; + $i$1 = $add108; + $retval$5 = $retval$4; + break; + } + $add117 = $i$0 + 46 | 0; + $div118 = ($add464 >>> 0) / ($add117 >>> 0) | 0; + if ($div118 >>> 0 < $add117 >>> 0) { + $cleanup$dest$slot$2 = 1; + $i$1 = $add117; + $retval$5 = $add464; + break; + } + if (($add464 | 0) == (Math_imul($div118, $add117) | 0)) { + $cleanup$dest$slot$2 = 9; + $i$1 = $add117; + $retval$5 = $retval$4; + break; + } + $add126 = $i$0 + 52 | 0; + $div127 = ($add464 >>> 0) / ($add126 >>> 0) | 0; + if ($div127 >>> 0 < $add126 >>> 0) { + $cleanup$dest$slot$2 = 1; + $i$1 = $add126; + $retval$5 = $add464; + break; + } + if (($add464 | 0) == (Math_imul($div127, $add126) | 0)) { + $cleanup$dest$slot$2 = 9; + $i$1 = $add126; + $retval$5 = $retval$4; + break; + } + $add135 = $i$0 + 58 | 0; + $div136 = ($add464 >>> 0) / ($add135 >>> 0) | 0; + if ($div136 >>> 0 < $add135 >>> 0) { + $cleanup$dest$slot$2 = 1; + $i$1 = $add135; + $retval$5 = $add464; + break; + } + if (($add464 | 0) == (Math_imul($div136, $add135) | 0)) { + $cleanup$dest$slot$2 = 9; + $i$1 = $add135; + $retval$5 = $retval$4; + break; + } + $add144 = $i$0 + 60 | 0; + $div145 = ($add464 >>> 0) / ($add144 >>> 0) | 0; + if ($div145 >>> 0 < $add144 >>> 0) { + $cleanup$dest$slot$2 = 1; + $i$1 = $add144; + $retval$5 = $add464; + break; + } + if (($add464 | 0) == (Math_imul($div145, $add144) | 0)) { + $cleanup$dest$slot$2 = 9; + $i$1 = $add144; + $retval$5 = $retval$4; + break; + } + $add153 = $i$0 + 66 | 0; + $div154 = ($add464 >>> 0) / ($add153 >>> 0) | 0; + if ($div154 >>> 0 < $add153 >>> 0) { + $cleanup$dest$slot$2 = 1; + $i$1 = $add153; + $retval$5 = $add464; + break; + } + if (($add464 | 0) == (Math_imul($div154, $add153) | 0)) { + $cleanup$dest$slot$2 = 9; + $i$1 = $add153; + $retval$5 = $retval$4; + break; + } + $add162 = $i$0 + 70 | 0; + $div163 = ($add464 >>> 0) / ($add162 >>> 0) | 0; + if ($div163 >>> 0 < $add162 >>> 0) { + $cleanup$dest$slot$2 = 1; + $i$1 = $add162; + $retval$5 = $add464; + break; + } + if (($add464 | 0) == (Math_imul($div163, $add162) | 0)) { + $cleanup$dest$slot$2 = 9; + $i$1 = $add162; + $retval$5 = $retval$4; + break; + } + $add171 = $i$0 + 72 | 0; + $div172 = ($add464 >>> 0) / ($add171 >>> 0) | 0; + if ($div172 >>> 0 < $add171 >>> 0) { + $cleanup$dest$slot$2 = 1; + $i$1 = $add171; + $retval$5 = $add464; + break; + } + if (($add464 | 0) == (Math_imul($div172, $add171) | 0)) { + $cleanup$dest$slot$2 = 9; + $i$1 = $add171; + $retval$5 = $retval$4; + break; + } + $add180 = $i$0 + 78 | 0; + $div181 = ($add464 >>> 0) / ($add180 >>> 0) | 0; + if ($div181 >>> 0 < $add180 >>> 0) { + $cleanup$dest$slot$2 = 1; + $i$1 = $add180; + $retval$5 = $add464; + break; + } + if (($add464 | 0) == (Math_imul($div181, $add180) | 0)) { + $cleanup$dest$slot$2 = 9; + $i$1 = $add180; + $retval$5 = $retval$4; + break; + } + $add189 = $i$0 + 82 | 0; + $div190 = ($add464 >>> 0) / ($add189 >>> 0) | 0; + if ($div190 >>> 0 < $add189 >>> 0) { + $cleanup$dest$slot$2 = 1; + $i$1 = $add189; + $retval$5 = $add464; + break; + } + if (($add464 | 0) == (Math_imul($div190, $add189) | 0)) { + $cleanup$dest$slot$2 = 9; + $i$1 = $add189; + $retval$5 = $retval$4; + break; + } + $add198 = $i$0 + 88 | 0; + $div199 = ($add464 >>> 0) / ($add198 >>> 0) | 0; + if ($div199 >>> 0 < $add198 >>> 0) { + $cleanup$dest$slot$2 = 1; + $i$1 = $add198; + $retval$5 = $add464; + break; + } + if (($add464 | 0) == (Math_imul($div199, $add198) | 0)) { + $cleanup$dest$slot$2 = 9; + $i$1 = $add198; + $retval$5 = $retval$4; + break; + } + $add207 = $i$0 + 96 | 0; + $div208 = ($add464 >>> 0) / ($add207 >>> 0) | 0; + if ($div208 >>> 0 < $add207 >>> 0) { + $cleanup$dest$slot$2 = 1; + $i$1 = $add207; + $retval$5 = $add464; + break; + } + if (($add464 | 0) == (Math_imul($div208, $add207) | 0)) { + $cleanup$dest$slot$2 = 9; + $i$1 = $add207; + $retval$5 = $retval$4; + break; + } + $add216 = $i$0 + 100 | 0; + $div217 = ($add464 >>> 0) / ($add216 >>> 0) | 0; + if ($div217 >>> 0 < $add216 >>> 0) { + $cleanup$dest$slot$2 = 1; + $i$1 = $add216; + $retval$5 = $add464; + break; + } + if (($add464 | 0) == (Math_imul($div217, $add216) | 0)) { + $cleanup$dest$slot$2 = 9; + $i$1 = $add216; + $retval$5 = $retval$4; + break; + } + $add225 = $i$0 + 102 | 0; + $div226 = ($add464 >>> 0) / ($add225 >>> 0) | 0; + if ($div226 >>> 0 < $add225 >>> 0) { + $cleanup$dest$slot$2 = 1; + $i$1 = $add225; + $retval$5 = $add464; + break; + } + if (($add464 | 0) == (Math_imul($div226, $add225) | 0)) { + $cleanup$dest$slot$2 = 9; + $i$1 = $add225; + $retval$5 = $retval$4; + break; + } + $add234 = $i$0 + 106 | 0; + $div235 = ($add464 >>> 0) / ($add234 >>> 0) | 0; + if ($div235 >>> 0 < $add234 >>> 0) { + $cleanup$dest$slot$2 = 1; + $i$1 = $add234; + $retval$5 = $add464; + break; + } + if (($add464 | 0) == (Math_imul($div235, $add234) | 0)) { + $cleanup$dest$slot$2 = 9; + $i$1 = $add234; + $retval$5 = $retval$4; + break; + } + $add243 = $i$0 + 108 | 0; + $div244 = ($add464 >>> 0) / ($add243 >>> 0) | 0; + if ($div244 >>> 0 < $add243 >>> 0) { + $cleanup$dest$slot$2 = 1; + $i$1 = $add243; + $retval$5 = $add464; + break; + } + if (($add464 | 0) == (Math_imul($div244, $add243) | 0)) { + $cleanup$dest$slot$2 = 9; + $i$1 = $add243; + $retval$5 = $retval$4; + break; + } + $add252 = $i$0 + 112 | 0; + $div253 = ($add464 >>> 0) / ($add252 >>> 0) | 0; + if ($div253 >>> 0 < $add252 >>> 0) { + $cleanup$dest$slot$2 = 1; + $i$1 = $add252; + $retval$5 = $add464; + break; + } + if (($add464 | 0) == (Math_imul($div253, $add252) | 0)) { + $cleanup$dest$slot$2 = 9; + $i$1 = $add252; + $retval$5 = $retval$4; + break; + } + $add261 = $i$0 + 120 | 0; + $div262 = ($add464 >>> 0) / ($add261 >>> 0) | 0; + if ($div262 >>> 0 < $add261 >>> 0) { + $cleanup$dest$slot$2 = 1; + $i$1 = $add261; + $retval$5 = $add464; + break; + } + if (($add464 | 0) == (Math_imul($div262, $add261) | 0)) { + $cleanup$dest$slot$2 = 9; + $i$1 = $add261; + $retval$5 = $retval$4; + break; + } + $add270 = $i$0 + 126 | 0; + $div271 = ($add464 >>> 0) / ($add270 >>> 0) | 0; + if ($div271 >>> 0 < $add270 >>> 0) { + $cleanup$dest$slot$2 = 1; + $i$1 = $add270; + $retval$5 = $add464; + break; + } + if (($add464 | 0) == (Math_imul($div271, $add270) | 0)) { + $cleanup$dest$slot$2 = 9; + $i$1 = $add270; + $retval$5 = $retval$4; + break; + } + $add279 = $i$0 + 130 | 0; + $div280 = ($add464 >>> 0) / ($add279 >>> 0) | 0; + if ($div280 >>> 0 < $add279 >>> 0) { + $cleanup$dest$slot$2 = 1; + $i$1 = $add279; + $retval$5 = $add464; + break; + } + if (($add464 | 0) == (Math_imul($div280, $add279) | 0)) { + $cleanup$dest$slot$2 = 9; + $i$1 = $add279; + $retval$5 = $retval$4; + break; + } + $add288 = $i$0 + 136 | 0; + $div289 = ($add464 >>> 0) / ($add288 >>> 0) | 0; + if ($div289 >>> 0 < $add288 >>> 0) { + $cleanup$dest$slot$2 = 1; + $i$1 = $add288; + $retval$5 = $add464; + break; + } + if (($add464 | 0) == (Math_imul($div289, $add288) | 0)) { + $cleanup$dest$slot$2 = 9; + $i$1 = $add288; + $retval$5 = $retval$4; + break; + } + $add297 = $i$0 + 138 | 0; + $div298 = ($add464 >>> 0) / ($add297 >>> 0) | 0; + if ($div298 >>> 0 < $add297 >>> 0) { + $cleanup$dest$slot$2 = 1; + $i$1 = $add297; + $retval$5 = $add464; + break; + } + if (($add464 | 0) == (Math_imul($div298, $add297) | 0)) { + $cleanup$dest$slot$2 = 9; + $i$1 = $add297; + $retval$5 = $retval$4; + break; + } + $add306 = $i$0 + 142 | 0; + $div307 = ($add464 >>> 0) / ($add306 >>> 0) | 0; + if ($div307 >>> 0 < $add306 >>> 0) { + $cleanup$dest$slot$2 = 1; + $i$1 = $add306; + $retval$5 = $add464; + break; + } + if (($add464 | 0) == (Math_imul($div307, $add306) | 0)) { + $cleanup$dest$slot$2 = 9; + $i$1 = $add306; + $retval$5 = $retval$4; + break; + } + $add315 = $i$0 + 148 | 0; + $div316 = ($add464 >>> 0) / ($add315 >>> 0) | 0; + if ($div316 >>> 0 < $add315 >>> 0) { + $cleanup$dest$slot$2 = 1; + $i$1 = $add315; + $retval$5 = $add464; + break; + } + if (($add464 | 0) == (Math_imul($div316, $add315) | 0)) { + $cleanup$dest$slot$2 = 9; + $i$1 = $add315; + $retval$5 = $retval$4; + break; + } + $add324 = $i$0 + 150 | 0; + $div325 = ($add464 >>> 0) / ($add324 >>> 0) | 0; + if ($div325 >>> 0 < $add324 >>> 0) { + $cleanup$dest$slot$2 = 1; + $i$1 = $add324; + $retval$5 = $add464; + break; + } + if (($add464 | 0) == (Math_imul($div325, $add324) | 0)) { + $cleanup$dest$slot$2 = 9; + $i$1 = $add324; + $retval$5 = $retval$4; + break; + } + $add333 = $i$0 + 156 | 0; + $div334 = ($add464 >>> 0) / ($add333 >>> 0) | 0; + if ($div334 >>> 0 < $add333 >>> 0) { + $cleanup$dest$slot$2 = 1; + $i$1 = $add333; + $retval$5 = $add464; + break; + } + if (($add464 | 0) == (Math_imul($div334, $add333) | 0)) { + $cleanup$dest$slot$2 = 9; + $i$1 = $add333; + $retval$5 = $retval$4; + break; + } + $add342 = $i$0 + 162 | 0; + $div343 = ($add464 >>> 0) / ($add342 >>> 0) | 0; + if ($div343 >>> 0 < $add342 >>> 0) { + $cleanup$dest$slot$2 = 1; + $i$1 = $add342; + $retval$5 = $add464; + break; + } + if (($add464 | 0) == (Math_imul($div343, $add342) | 0)) { + $cleanup$dest$slot$2 = 9; + $i$1 = $add342; + $retval$5 = $retval$4; + break; + } + $add351 = $i$0 + 166 | 0; + $div352 = ($add464 >>> 0) / ($add351 >>> 0) | 0; + if ($div352 >>> 0 < $add351 >>> 0) { + $cleanup$dest$slot$2 = 1; + $i$1 = $add351; + $retval$5 = $add464; + break; + } + if (($add464 | 0) == (Math_imul($div352, $add351) | 0)) { + $cleanup$dest$slot$2 = 9; + $i$1 = $add351; + $retval$5 = $retval$4; + break; + } + $add360 = $i$0 + 168 | 0; + $div361 = ($add464 >>> 0) / ($add360 >>> 0) | 0; + if ($div361 >>> 0 < $add360 >>> 0) { + $cleanup$dest$slot$2 = 1; + $i$1 = $add360; + $retval$5 = $add464; + break; + } + if (($add464 | 0) == (Math_imul($div361, $add360) | 0)) { + $cleanup$dest$slot$2 = 9; + $i$1 = $add360; + $retval$5 = $retval$4; + break; + } + $add369 = $i$0 + 172 | 0; + $div370 = ($add464 >>> 0) / ($add369 >>> 0) | 0; + if ($div370 >>> 0 < $add369 >>> 0) { + $cleanup$dest$slot$2 = 1; + $i$1 = $add369; + $retval$5 = $add464; + break; + } + if (($add464 | 0) == (Math_imul($div370, $add369) | 0)) { + $cleanup$dest$slot$2 = 9; + $i$1 = $add369; + $retval$5 = $retval$4; + break; + } + $add378 = $i$0 + 178 | 0; + $div379 = ($add464 >>> 0) / ($add378 >>> 0) | 0; + if ($div379 >>> 0 < $add378 >>> 0) { + $cleanup$dest$slot$2 = 1; + $i$1 = $add378; + $retval$5 = $add464; + break; + } + if (($add464 | 0) == (Math_imul($div379, $add378) | 0)) { + $cleanup$dest$slot$2 = 9; + $i$1 = $add378; + $retval$5 = $retval$4; + break; + } + $add387 = $i$0 + 180 | 0; + $div388 = ($add464 >>> 0) / ($add387 >>> 0) | 0; + if ($div388 >>> 0 < $add387 >>> 0) { + $cleanup$dest$slot$2 = 1; + $i$1 = $add387; + $retval$5 = $add464; + break; + } + if (($add464 | 0) == (Math_imul($div388, $add387) | 0)) { + $cleanup$dest$slot$2 = 9; + $i$1 = $add387; + $retval$5 = $retval$4; + break; + } + $add396 = $i$0 + 186 | 0; + $div397 = ($add464 >>> 0) / ($add396 >>> 0) | 0; + if ($div397 >>> 0 < $add396 >>> 0) { + $cleanup$dest$slot$2 = 1; + $i$1 = $add396; + $retval$5 = $add464; + break; + } + if (($add464 | 0) == (Math_imul($div397, $add396) | 0)) { + $cleanup$dest$slot$2 = 9; + $i$1 = $add396; + $retval$5 = $retval$4; + break; + } + $add405 = $i$0 + 190 | 0; + $div406 = ($add464 >>> 0) / ($add405 >>> 0) | 0; + if ($div406 >>> 0 < $add405 >>> 0) { + $cleanup$dest$slot$2 = 1; + $i$1 = $add405; + $retval$5 = $add464; + break; + } + if (($add464 | 0) == (Math_imul($div406, $add405) | 0)) { + $cleanup$dest$slot$2 = 9; + $i$1 = $add405; + $retval$5 = $retval$4; + break; + } + $add414 = $i$0 + 192 | 0; + $div415 = ($add464 >>> 0) / ($add414 >>> 0) | 0; + if ($div415 >>> 0 < $add414 >>> 0) { + $cleanup$dest$slot$2 = 1; + $i$1 = $add414; + $retval$5 = $add464; + break; + } + if (($add464 | 0) == (Math_imul($div415, $add414) | 0)) { + $cleanup$dest$slot$2 = 9; + $i$1 = $add414; + $retval$5 = $retval$4; + break; + } + $add423 = $i$0 + 196 | 0; + $div424 = ($add464 >>> 0) / ($add423 >>> 0) | 0; + if ($div424 >>> 0 < $add423 >>> 0) { + $cleanup$dest$slot$2 = 1; + $i$1 = $add423; + $retval$5 = $add464; + break; + } + if (($add464 | 0) == (Math_imul($div424, $add423) | 0)) { + $cleanup$dest$slot$2 = 9; + $i$1 = $add423; + $retval$5 = $retval$4; + break; + } + $add432 = $i$0 + 198 | 0; + $div433 = ($add464 >>> 0) / ($add432 >>> 0) | 0; + if ($div433 >>> 0 < $add432 >>> 0) { + $cleanup$dest$slot$2 = 1; + $i$1 = $add432; + $retval$5 = $add464; + break; + } + if (($add464 | 0) == (Math_imul($div433, $add432) | 0)) { + $cleanup$dest$slot$2 = 9; + $i$1 = $add432; + $retval$5 = $retval$4; + break; + } + $add441 = $i$0 + 208 | 0; + $div442 = ($add464 >>> 0) / ($add441 >>> 0) | 0; + $cmp443 = $div442 >>> 0 < $add441 >>> 0; + $cmp447 = ($add464 | 0) == (Math_imul($div442, $add441) | 0); + $cleanup$dest$slot$2 = $cmp443 ? 1 : $cmp447 ? 9 : 0; + $i$1 = $cmp443 | $cmp447 ? $add441 : $i$0 + 210 | 0; + $retval$5 = $cmp443 ? $add464 : $retval$4; + } else { + $cleanup$dest$slot$2 = 1; + $i$1 = $add72; + $retval$5 = $add464; + } + } else { + $cleanup$dest$slot$2 = 9; + $i$1 = $add63; + $retval$5 = $retval$4; + } else { + $cleanup$dest$slot$2 = 1; + $i$1 = $add63; + $retval$5 = $add464; + } + } else { + $cleanup$dest$slot$2 = 9; + $i$1 = $add54; + $retval$5 = $retval$4; + } else { + $cleanup$dest$slot$2 = 1; + $i$1 = $add54; + $retval$5 = $add464; + } + } else { + $cleanup$dest$slot$2 = 9; + $i$1 = $add45; + $retval$5 = $retval$4; + } else { + $cleanup$dest$slot$2 = 1; + $i$1 = $add45; + $retval$5 = $add464; + } + } else { + $cleanup$dest$slot$2 = 9; + $i$1 = $add36; + $retval$5 = $retval$4; + } else { + $cleanup$dest$slot$2 = 1; + $i$1 = $add36; + $retval$5 = $add464; + } + } else { + $cleanup$dest$slot$2 = 9; + $i$1 = $add27; + $retval$5 = $retval$4; + } else { + $cleanup$dest$slot$2 = 1; + $i$1 = $add27; + $retval$5 = $add464; + } + } else { + $cleanup$dest$slot$2 = 9; + $i$1 = $i$0; + $retval$5 = $retval$4; + } else { + $cleanup$dest$slot$2 = 1; + $i$1 = $i$0; + $retval$5 = $add464; + } while (0); + switch ($cleanup$dest$slot$2 & 15) { + case 9: + { + $retval$6 = $retval$5; + break L10; + break; + } + case 0: + { + $i$0 = $i$1; + $retval$4 = $retval$5; + break; + } + default: + break L12; + } + } + if (!$cleanup$dest$slot$2) $retval$6 = $retval$5; else { + label = 108; + break L4; + } + } while (0); + $inc457 = $spec$select311$sink + 1 | 0; + $cmp458 = ($inc457 | 0) == 48; + $spec$select = $k0$0 + ($cmp458 & 1) | 0; + $k0$0 = $spec$select; + $mul462$sink = $spec$select * 210 | 0; + $retval$0 = $retval$6; + $spec$select311$sink = $cmp458 ? 0 : $inc457; + } + if ((label | 0) == 107) { + HEAP32[$n$addr >> 2] = $add464; + $retval$8 = $add464; + break; + } else if ((label | 0) == 108) { + HEAP32[$n$addr >> 2] = $add464; + $retval$8 = $retval$5; + break; + } + } else { + $call$i$i = __ZNSt3__213__lower_boundIRNS_6__lessIjmEEPKjmEET0_S6_S6_RKT1_T_(12544, 12736, $n$addr, $agg$tmp1$i314) | 0; + $retval$8 = HEAP32[$call$i$i >> 2] | 0; + } while (0); + STACKTOP = sp; + return $retval$8 | 0; +} + +function _fill_inverse_cmap($cinfo, $c0, $c1, $c2) { + $cinfo = $cinfo | 0; + $c0 = $c0 | 0; + $c1 = $c1 | 0; + $c2 = $c2 | 0; + var $1 = 0, $14 = 0, $15 = 0, $5 = 0, $54 = 0, $6 = 0, $7 = 0, $71 = 0, $8 = 0, $9 = 0, $add = 0, $add$i = 0, $add$i38 = 0, $add19$1 = 0, $add19$2 = 0, $add19$3 = 0, $add19$4 = 0, $add19$5 = 0, $add19$6 = 0, $add19$7 = 0, $add2$i = 0, $add26$i = 0, $add28$i = 0, $add45$1$1$i = 0, $add45$1$2$i = 0, $add45$1$3$i = 0, $add45$1$4$i = 0, $add45$1$5$i = 0, $add45$1$6$i = 0, $add45$1$7$i = 0, $add45$1$i = 0, $add45$175$i = 0, $add45$2$1$i = 0, $add45$2$2$i = 0, $add45$2$3$i = 0, $add45$2$4$i = 0, $add45$2$5$i = 0, $add45$2$6$i = 0, $add45$2$7$i = 0, $add45$2$i = 0, $add45$282$i = 0, $add45$3$i = 0, $add45$4$i = 0, $add45$5$i = 0, $add45$6$i = 0, $add45$7$i = 0, $add45$i = 0, $add46$1$i = 0, $add46$i = 0, $add5$i = 0, $add52$1$i = 0, $add52$2$i = 0, $add52$3$i = 0, $add52$4$i = 0, $add52$5$i = 0, $add52$6$i = 0, $add52$i = 0, $add53$1$i = 0, $add53$2$i = 0, $add53$3$i = 0, $add53$4$i = 0, $add53$5$i = 0, $add53$i = 0, $add6 = 0, $add8 = 0, $arrayidx = 0, $arrayidx21 = 0, $arrayidx21$1 = 0, $arrayidx21$2 = 0, $arrayidx21$3 = 0, $arrayidx21$4 = 0, $arrayidx21$5 = 0, $arrayidx21$6 = 0, $arrayidx21$7 = 0, $bestcolor = 0, $bestdist$i = 0, $bptr$161$i = 0, $colorlist = 0, $colormap$i31 = 0, $conv$i = 0, $conv$i32 = 0, $conv40$i = 0, $conv83$i = 0, $cptr$049 = 0, $cptr$062$i = 0, $dist0$063$i = 0, $i$0127$i = 0, $i$1124$i = 0, $i$167$i = 0, $ic0$048 = 0, $ic0$065$i = 0, $incdec$ptr47$1$1$i = 0, $incdec$ptr47$1$2$i = 0, $incdec$ptr47$1$3$i = 0, $incdec$ptr47$1$4$i = 0, $incdec$ptr47$1$5$i = 0, $incdec$ptr47$1$6$i = 0, $incdec$ptr47$1$7$i = 0, $incdec$ptr47$1$i = 0, $incdec$ptr47$177$i = 0, $incdec$ptr47$2$1$i = 0, $incdec$ptr47$2$2$i = 0, $incdec$ptr47$2$3$i = 0, $incdec$ptr47$2$4$i = 0, $incdec$ptr47$2$5$i = 0, $incdec$ptr47$2$6$i = 0, $incdec$ptr47$2$7$i = 0, $incdec$ptr47$2$i = 0, $incdec$ptr47$284$i = 0, $incdec$ptr47$3$i = 0, $incdec$ptr47$4$i = 0, $incdec$ptr47$5$i = 0, $incdec$ptr47$6$i = 0, $incdec$ptr47$7$i = 0, $incdec$ptr47$i = 0, $max_dist$0$i = 0, $max_dist$1$i = 0, $max_dist$2$i = 0, $min_dist$0$i = 0, $min_dist$1$i = 0, $min_dist$2$i = 0, $minmaxdist$0128$i = 0, $mul$i = 0, $mul$i34 = 0, $mul13$i = 0, $mul13$i36 = 0, $mul19$i = 0, $mul22$i = 0, $mul25$i = 0, $mul27$i = 0, $mul29$i = 0, $mul33$i = 0, $mul45$i = 0, $mul49$i = 0, $mul50$pn$i = 0, $mul57$i = 0, $mul61$i = 0, $mul69$i = 0, $mul7$i = 0, $mul74$i = 0, $mul93$pn$i = 0, $ncolors$0$lcssa$i = 0, $ncolors$0125$i = 0, $ncolors$1$i = 0, $scevgep$1$i = 0, $scevgep$2$i = 0, $scevgep$3$i = 0, $scevgep$4$i = 0, $scevgep$5$i = 0, $scevgep$6$i = 0, $scevgep$i = 0, $shl = 0, $shl11 = 0, $shl12 = 0, $shl13 = 0, $shl5 = 0, $shl7 = 0, $shr$i = 0, $shr4$i = 0, $shr7$i = 0, $sub$i33 = 0, $sub103$i = 0, $sub111$i = 0, $sub116$i = 0, $sub12$i35 = 0, $sub19$i = 0, $sub87$i = 0, $sub91$i = 0, $sub99$i = 0, $xx0$064$i = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 1408 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(1408); + $bestdist$i = sp + 384 | 0; + $colorlist = sp + 128 | 0; + $bestcolor = sp; + $1 = HEAP32[(HEAP32[$cinfo + 484 >> 2] | 0) + 24 >> 2] | 0; + $shl = $c0 >>> 2 << 5; + $add = $shl | 4; + $shl5 = $c1 >>> 3 << 5; + $add6 = $shl5 | 2; + $shl7 = $c2 >>> 2 << 5; + $add8 = $shl7 | 4; + $5 = HEAP32[$cinfo + 132 >> 2] | 0; + $add$i = $shl | 28; + $shr$i = $add$i + $add >> 1; + $add2$i = $shl5 | 30; + $shr4$i = $add2$i + $add6 >> 1; + $add5$i = $shl7 | 28; + $shr7$i = $add5$i + $add8 >> 1; + if (($5 | 0) > 0) { + $6 = HEAP32[$cinfo + 136 >> 2] | 0; + $7 = HEAP32[$6 >> 2] | 0; + $8 = HEAP32[$6 + 4 >> 2] | 0; + $9 = HEAP32[$6 + 8 >> 2] | 0; + $i$0127$i = 0; + $minmaxdist$0128$i = 2147483647; + do { + $conv$i = HEAPU8[$7 + $i$0127$i >> 0] | 0; + do if (($add | 0) <= ($conv$i | 0)) { + if (($add$i | 0) < ($conv$i | 0)) { + $mul19$i = $conv$i - $add$i << 1; + $mul22$i = $conv$i - $add << 1; + $max_dist$0$i = Math_imul($mul22$i, $mul22$i) | 0; + $min_dist$0$i = Math_imul($mul19$i, $mul19$i) | 0; + break; + } + if (($shr$i | 0) < ($conv$i | 0)) { + $mul33$i = $conv$i - $add << 1; + $max_dist$0$i = Math_imul($mul33$i, $mul33$i) | 0; + $min_dist$0$i = 0; + break; + } else { + $mul29$i = $conv$i - $add$i << 1; + $max_dist$0$i = Math_imul($mul29$i, $mul29$i) | 0; + $min_dist$0$i = 0; + break; + } + } else { + $mul$i = $conv$i - $add << 1; + $mul13$i = $conv$i - $add$i << 1; + $max_dist$0$i = Math_imul($mul13$i, $mul13$i) | 0; + $min_dist$0$i = Math_imul($mul$i, $mul$i) | 0; + } while (0); + $conv40$i = HEAPU8[$8 + $i$0127$i >> 0] | 0; + do if (($add6 | 0) <= ($conv40$i | 0)) { + if (($add2$i | 0) < ($conv40$i | 0)) { + $mul57$i = ($conv40$i - $add2$i | 0) * 3 | 0; + $mul61$i = ($conv40$i - $add6 | 0) * 3 | 0; + $min_dist$1$i = (Math_imul($mul57$i, $mul57$i) | 0) + $min_dist$0$i | 0; + $mul50$pn$i = Math_imul($mul61$i, $mul61$i) | 0; + break; + } + if (($shr4$i | 0) < ($conv40$i | 0)) { + $mul74$i = ($conv40$i - $add6 | 0) * 3 | 0; + $min_dist$1$i = $min_dist$0$i; + $mul50$pn$i = Math_imul($mul74$i, $mul74$i) | 0; + break; + } else { + $mul69$i = ($conv40$i - $add2$i | 0) * 3 | 0; + $min_dist$1$i = $min_dist$0$i; + $mul50$pn$i = Math_imul($mul69$i, $mul69$i) | 0; + break; + } + } else { + $mul45$i = ($conv40$i - $add6 | 0) * 3 | 0; + $mul49$i = ($conv40$i - $add2$i | 0) * 3 | 0; + $min_dist$1$i = (Math_imul($mul45$i, $mul45$i) | 0) + $min_dist$0$i | 0; + $mul50$pn$i = Math_imul($mul49$i, $mul49$i) | 0; + } while (0); + $max_dist$1$i = $mul50$pn$i + $max_dist$0$i | 0; + $conv83$i = HEAPU8[$9 + $i$0127$i >> 0] | 0; + do if (($add8 | 0) <= ($conv83$i | 0)) { + if (($add5$i | 0) < ($conv83$i | 0)) { + $sub99$i = $conv83$i - $add5$i | 0; + $sub103$i = $conv83$i - $add8 | 0; + $min_dist$2$i = (Math_imul($sub99$i, $sub99$i) | 0) + $min_dist$1$i | 0; + $mul93$pn$i = Math_imul($sub103$i, $sub103$i) | 0; + break; + } + if (($shr7$i | 0) < ($conv83$i | 0)) { + $sub116$i = $conv83$i - $add8 | 0; + $min_dist$2$i = $min_dist$1$i; + $mul93$pn$i = Math_imul($sub116$i, $sub116$i) | 0; + break; + } else { + $sub111$i = $conv83$i - $add5$i | 0; + $min_dist$2$i = $min_dist$1$i; + $mul93$pn$i = Math_imul($sub111$i, $sub111$i) | 0; + break; + } + } else { + $sub87$i = $conv83$i - $add8 | 0; + $sub91$i = $conv83$i - $add5$i | 0; + $min_dist$2$i = (Math_imul($sub87$i, $sub87$i) | 0) + $min_dist$1$i | 0; + $mul93$pn$i = Math_imul($sub91$i, $sub91$i) | 0; + } while (0); + $max_dist$2$i = $max_dist$1$i + $mul93$pn$i | 0; + HEAP32[$bestdist$i + ($i$0127$i << 2) >> 2] = $min_dist$2$i; + $minmaxdist$0128$i = ($max_dist$2$i | 0) < ($minmaxdist$0128$i | 0) ? $max_dist$2$i : $minmaxdist$0128$i; + $i$0127$i = $i$0127$i + 1 | 0; + } while (($i$0127$i | 0) != ($5 | 0)); + $i$1124$i = 0; + $ncolors$0125$i = 0; + while (1) { + if ((HEAP32[$bestdist$i + ($i$1124$i << 2) >> 2] | 0) > ($minmaxdist$0128$i | 0)) $ncolors$1$i = $ncolors$0125$i; else { + HEAP8[$colorlist + $ncolors$0125$i >> 0] = $i$1124$i; + $ncolors$1$i = $ncolors$0125$i + 1 | 0; + } + $i$1124$i = $i$1124$i + 1 | 0; + if (($i$1124$i | 0) == ($5 | 0)) { + $ncolors$0$lcssa$i = $ncolors$1$i; + break; + } else $ncolors$0125$i = $ncolors$1$i; + } + } else $ncolors$0$lcssa$i = 0; + HEAP32[$bestdist$i >> 2] = 2147483647; + HEAP32[$bestdist$i + 4 >> 2] = 2147483647; + HEAP32[$bestdist$i + 8 >> 2] = 2147483647; + HEAP32[$bestdist$i + 12 >> 2] = 2147483647; + HEAP32[$bestdist$i + 16 >> 2] = 2147483647; + HEAP32[$bestdist$i + 20 >> 2] = 2147483647; + HEAP32[$bestdist$i + 24 >> 2] = 2147483647; + HEAP32[$bestdist$i + 28 >> 2] = 2147483647; + HEAP32[$bestdist$i + 32 >> 2] = 2147483647; + HEAP32[$bestdist$i + 36 >> 2] = 2147483647; + HEAP32[$bestdist$i + 40 >> 2] = 2147483647; + HEAP32[$bestdist$i + 44 >> 2] = 2147483647; + HEAP32[$bestdist$i + 48 >> 2] = 2147483647; + HEAP32[$bestdist$i + 52 >> 2] = 2147483647; + HEAP32[$bestdist$i + 56 >> 2] = 2147483647; + HEAP32[$bestdist$i + 60 >> 2] = 2147483647; + HEAP32[$bestdist$i + 64 >> 2] = 2147483647; + HEAP32[$bestdist$i + 68 >> 2] = 2147483647; + HEAP32[$bestdist$i + 72 >> 2] = 2147483647; + HEAP32[$bestdist$i + 76 >> 2] = 2147483647; + HEAP32[$bestdist$i + 80 >> 2] = 2147483647; + HEAP32[$bestdist$i + 84 >> 2] = 2147483647; + HEAP32[$bestdist$i + 88 >> 2] = 2147483647; + HEAP32[$bestdist$i + 92 >> 2] = 2147483647; + HEAP32[$bestdist$i + 96 >> 2] = 2147483647; + HEAP32[$bestdist$i + 100 >> 2] = 2147483647; + HEAP32[$bestdist$i + 104 >> 2] = 2147483647; + HEAP32[$bestdist$i + 108 >> 2] = 2147483647; + HEAP32[$bestdist$i + 112 >> 2] = 2147483647; + HEAP32[$bestdist$i + 116 >> 2] = 2147483647; + HEAP32[$bestdist$i + 120 >> 2] = 2147483647; + HEAP32[$bestdist$i + 124 >> 2] = 2147483647; + HEAP32[$bestdist$i + 128 >> 2] = 2147483647; + HEAP32[$bestdist$i + 132 >> 2] = 2147483647; + HEAP32[$bestdist$i + 136 >> 2] = 2147483647; + HEAP32[$bestdist$i + 140 >> 2] = 2147483647; + HEAP32[$bestdist$i + 144 >> 2] = 2147483647; + HEAP32[$bestdist$i + 148 >> 2] = 2147483647; + HEAP32[$bestdist$i + 152 >> 2] = 2147483647; + HEAP32[$bestdist$i + 156 >> 2] = 2147483647; + HEAP32[$bestdist$i + 160 >> 2] = 2147483647; + HEAP32[$bestdist$i + 164 >> 2] = 2147483647; + HEAP32[$bestdist$i + 168 >> 2] = 2147483647; + HEAP32[$bestdist$i + 172 >> 2] = 2147483647; + HEAP32[$bestdist$i + 176 >> 2] = 2147483647; + HEAP32[$bestdist$i + 180 >> 2] = 2147483647; + HEAP32[$bestdist$i + 184 >> 2] = 2147483647; + HEAP32[$bestdist$i + 188 >> 2] = 2147483647; + HEAP32[$bestdist$i + 192 >> 2] = 2147483647; + HEAP32[$bestdist$i + 196 >> 2] = 2147483647; + HEAP32[$bestdist$i + 200 >> 2] = 2147483647; + HEAP32[$bestdist$i + 204 >> 2] = 2147483647; + HEAP32[$bestdist$i + 208 >> 2] = 2147483647; + HEAP32[$bestdist$i + 212 >> 2] = 2147483647; + HEAP32[$bestdist$i + 216 >> 2] = 2147483647; + HEAP32[$bestdist$i + 220 >> 2] = 2147483647; + HEAP32[$bestdist$i + 224 >> 2] = 2147483647; + HEAP32[$bestdist$i + 228 >> 2] = 2147483647; + HEAP32[$bestdist$i + 232 >> 2] = 2147483647; + HEAP32[$bestdist$i + 236 >> 2] = 2147483647; + HEAP32[$bestdist$i + 240 >> 2] = 2147483647; + HEAP32[$bestdist$i + 244 >> 2] = 2147483647; + HEAP32[$bestdist$i + 248 >> 2] = 2147483647; + HEAP32[$bestdist$i + 252 >> 2] = 2147483647; + HEAP32[$bestdist$i + 256 >> 2] = 2147483647; + HEAP32[$bestdist$i + 260 >> 2] = 2147483647; + HEAP32[$bestdist$i + 264 >> 2] = 2147483647; + HEAP32[$bestdist$i + 268 >> 2] = 2147483647; + HEAP32[$bestdist$i + 272 >> 2] = 2147483647; + HEAP32[$bestdist$i + 276 >> 2] = 2147483647; + HEAP32[$bestdist$i + 280 >> 2] = 2147483647; + HEAP32[$bestdist$i + 284 >> 2] = 2147483647; + HEAP32[$bestdist$i + 288 >> 2] = 2147483647; + HEAP32[$bestdist$i + 292 >> 2] = 2147483647; + HEAP32[$bestdist$i + 296 >> 2] = 2147483647; + HEAP32[$bestdist$i + 300 >> 2] = 2147483647; + HEAP32[$bestdist$i + 304 >> 2] = 2147483647; + HEAP32[$bestdist$i + 308 >> 2] = 2147483647; + HEAP32[$bestdist$i + 312 >> 2] = 2147483647; + HEAP32[$bestdist$i + 316 >> 2] = 2147483647; + HEAP32[$bestdist$i + 320 >> 2] = 2147483647; + HEAP32[$bestdist$i + 324 >> 2] = 2147483647; + HEAP32[$bestdist$i + 328 >> 2] = 2147483647; + HEAP32[$bestdist$i + 332 >> 2] = 2147483647; + HEAP32[$bestdist$i + 336 >> 2] = 2147483647; + HEAP32[$bestdist$i + 340 >> 2] = 2147483647; + HEAP32[$bestdist$i + 344 >> 2] = 2147483647; + HEAP32[$bestdist$i + 348 >> 2] = 2147483647; + HEAP32[$bestdist$i + 352 >> 2] = 2147483647; + HEAP32[$bestdist$i + 356 >> 2] = 2147483647; + HEAP32[$bestdist$i + 360 >> 2] = 2147483647; + HEAP32[$bestdist$i + 364 >> 2] = 2147483647; + HEAP32[$bestdist$i + 368 >> 2] = 2147483647; + HEAP32[$bestdist$i + 372 >> 2] = 2147483647; + HEAP32[$bestdist$i + 376 >> 2] = 2147483647; + HEAP32[$bestdist$i + 380 >> 2] = 2147483647; + HEAP32[$bestdist$i + 384 >> 2] = 2147483647; + HEAP32[$bestdist$i + 388 >> 2] = 2147483647; + HEAP32[$bestdist$i + 392 >> 2] = 2147483647; + HEAP32[$bestdist$i + 396 >> 2] = 2147483647; + HEAP32[$bestdist$i + 400 >> 2] = 2147483647; + HEAP32[$bestdist$i + 404 >> 2] = 2147483647; + HEAP32[$bestdist$i + 408 >> 2] = 2147483647; + HEAP32[$bestdist$i + 412 >> 2] = 2147483647; + HEAP32[$bestdist$i + 416 >> 2] = 2147483647; + HEAP32[$bestdist$i + 420 >> 2] = 2147483647; + HEAP32[$bestdist$i + 424 >> 2] = 2147483647; + HEAP32[$bestdist$i + 428 >> 2] = 2147483647; + HEAP32[$bestdist$i + 432 >> 2] = 2147483647; + HEAP32[$bestdist$i + 436 >> 2] = 2147483647; + HEAP32[$bestdist$i + 440 >> 2] = 2147483647; + HEAP32[$bestdist$i + 444 >> 2] = 2147483647; + HEAP32[$bestdist$i + 448 >> 2] = 2147483647; + HEAP32[$bestdist$i + 452 >> 2] = 2147483647; + HEAP32[$bestdist$i + 456 >> 2] = 2147483647; + HEAP32[$bestdist$i + 460 >> 2] = 2147483647; + HEAP32[$bestdist$i + 464 >> 2] = 2147483647; + HEAP32[$bestdist$i + 468 >> 2] = 2147483647; + HEAP32[$bestdist$i + 472 >> 2] = 2147483647; + HEAP32[$bestdist$i + 476 >> 2] = 2147483647; + HEAP32[$bestdist$i + 480 >> 2] = 2147483647; + HEAP32[$bestdist$i + 484 >> 2] = 2147483647; + HEAP32[$bestdist$i + 488 >> 2] = 2147483647; + HEAP32[$bestdist$i + 492 >> 2] = 2147483647; + HEAP32[$bestdist$i + 496 >> 2] = 2147483647; + HEAP32[$bestdist$i + 500 >> 2] = 2147483647; + HEAP32[$bestdist$i + 504 >> 2] = 2147483647; + HEAP32[$bestdist$i + 508 >> 2] = 2147483647; + if (($ncolors$0$lcssa$i | 0) > 0) { + $colormap$i31 = $cinfo + 136 | 0; + $i$167$i = 0; + do { + $14 = HEAP8[$colorlist + $i$167$i >> 0] | 0; + $conv$i32 = $14 & 255; + $15 = HEAP32[$colormap$i31 >> 2] | 0; + $sub$i33 = $add - (HEAPU8[(HEAP32[$15 >> 2] | 0) + $conv$i32 >> 0] | 0) | 0; + $mul$i34 = $sub$i33 << 1; + $mul7$i = Math_imul($mul$i34, $mul$i34) | 0; + $sub12$i35 = $add6 - (HEAPU8[(HEAP32[$15 + 4 >> 2] | 0) + $conv$i32 >> 0] | 0) | 0; + $mul13$i36 = $sub12$i35 * 3 | 0; + $add$i38 = (Math_imul($mul13$i36, $mul13$i36) | 0) + $mul7$i | 0; + $sub19$i = $add8 - (HEAPU8[(HEAP32[$15 + 8 >> 2] | 0) + $conv$i32 >> 0] | 0) | 0; + $mul25$i = $sub12$i35 * 72 | 0; + $add26$i = $mul25$i + 144 | 0; + $mul27$i = $sub19$i << 4; + $add28$i = $mul27$i + 64 | 0; + $add46$i = $mul27$i + 192 | 0; + $add46$1$i = $mul27$i + 320 | 0; + $add53$i = $mul25$i + 432 | 0; + $add53$1$i = $mul25$i + 720 | 0; + $add53$2$i = $mul25$i + 1008 | 0; + $add53$3$i = $mul25$i + 1296 | 0; + $add53$4$i = $mul25$i + 1584 | 0; + $add53$5$i = $mul25$i + 1872 | 0; + $bptr$161$i = $bestdist$i; + $cptr$062$i = $bestcolor; + $dist0$063$i = $add$i38 + (Math_imul($sub19$i, $sub19$i) | 0) | 0; + $ic0$065$i = 3; + $xx0$064$i = ($sub$i33 << 6) + 256 | 0; + while (1) { + $scevgep$i = $bptr$161$i + 16 | 0; + if (($dist0$063$i | 0) < (HEAP32[$bptr$161$i >> 2] | 0)) { + HEAP32[$bptr$161$i >> 2] = $dist0$063$i; + HEAP8[$cptr$062$i >> 0] = $14; + } + $add45$i = $dist0$063$i + $add28$i | 0; + $incdec$ptr47$i = $bptr$161$i + 4 | 0; + if (($add45$i | 0) < (HEAP32[$incdec$ptr47$i >> 2] | 0)) { + HEAP32[$incdec$ptr47$i >> 2] = $add45$i; + HEAP8[$cptr$062$i + 1 >> 0] = $14; + } + $add45$1$i = $add45$i + $add46$i | 0; + $incdec$ptr47$1$i = $bptr$161$i + 8 | 0; + if (($add45$1$i | 0) < (HEAP32[$incdec$ptr47$1$i >> 2] | 0)) { + HEAP32[$incdec$ptr47$1$i >> 2] = $add45$1$i; + HEAP8[$cptr$062$i + 2 >> 0] = $14; + } + $add45$2$i = $add45$1$i + $add46$1$i | 0; + $incdec$ptr47$2$i = $bptr$161$i + 12 | 0; + if (($add45$2$i | 0) < (HEAP32[$incdec$ptr47$2$i >> 2] | 0)) { + HEAP32[$incdec$ptr47$2$i >> 2] = $add45$2$i; + HEAP8[$cptr$062$i + 3 >> 0] = $14; + } + $add52$i = $add26$i + $dist0$063$i | 0; + $scevgep$1$i = $bptr$161$i + 32 | 0; + if (($add52$i | 0) < (HEAP32[$scevgep$i >> 2] | 0)) { + HEAP32[$scevgep$i >> 2] = $add52$i; + HEAP8[$cptr$062$i + 4 >> 0] = $14; + } + $add45$175$i = $add52$i + $add28$i | 0; + $incdec$ptr47$177$i = $bptr$161$i + 20 | 0; + if (($add45$175$i | 0) < (HEAP32[$incdec$ptr47$177$i >> 2] | 0)) { + HEAP32[$incdec$ptr47$177$i >> 2] = $add45$175$i; + HEAP8[$cptr$062$i + 5 >> 0] = $14; + } + $add45$1$1$i = $add45$175$i + $add46$i | 0; + $incdec$ptr47$1$1$i = $bptr$161$i + 24 | 0; + if (($add45$1$1$i | 0) < (HEAP32[$incdec$ptr47$1$1$i >> 2] | 0)) { + HEAP32[$incdec$ptr47$1$1$i >> 2] = $add45$1$1$i; + HEAP8[$cptr$062$i + 6 >> 0] = $14; + } + $add45$2$1$i = $add45$1$1$i + $add46$1$i | 0; + $incdec$ptr47$2$1$i = $bptr$161$i + 28 | 0; + if (($add45$2$1$i | 0) < (HEAP32[$incdec$ptr47$2$1$i >> 2] | 0)) { + HEAP32[$incdec$ptr47$2$1$i >> 2] = $add45$2$1$i; + HEAP8[$cptr$062$i + 7 >> 0] = $14; + } + $add52$1$i = $add53$i + $add52$i | 0; + $scevgep$2$i = $bptr$161$i + 48 | 0; + if (($add52$1$i | 0) < (HEAP32[$scevgep$1$i >> 2] | 0)) { + HEAP32[$scevgep$1$i >> 2] = $add52$1$i; + HEAP8[$cptr$062$i + 8 >> 0] = $14; + } + $add45$282$i = $add52$1$i + $add28$i | 0; + $incdec$ptr47$284$i = $bptr$161$i + 36 | 0; + if (($add45$282$i | 0) < (HEAP32[$incdec$ptr47$284$i >> 2] | 0)) { + HEAP32[$incdec$ptr47$284$i >> 2] = $add45$282$i; + HEAP8[$cptr$062$i + 9 >> 0] = $14; + } + $add45$1$2$i = $add45$282$i + $add46$i | 0; + $incdec$ptr47$1$2$i = $bptr$161$i + 40 | 0; + if (($add45$1$2$i | 0) < (HEAP32[$incdec$ptr47$1$2$i >> 2] | 0)) { + HEAP32[$incdec$ptr47$1$2$i >> 2] = $add45$1$2$i; + HEAP8[$cptr$062$i + 10 >> 0] = $14; + } + $add45$2$2$i = $add45$1$2$i + $add46$1$i | 0; + $incdec$ptr47$2$2$i = $bptr$161$i + 44 | 0; + if (($add45$2$2$i | 0) < (HEAP32[$incdec$ptr47$2$2$i >> 2] | 0)) { + HEAP32[$incdec$ptr47$2$2$i >> 2] = $add45$2$2$i; + HEAP8[$cptr$062$i + 11 >> 0] = $14; + } + $add52$2$i = $add53$1$i + $add52$1$i | 0; + $scevgep$3$i = $bptr$161$i + 64 | 0; + if (($add52$2$i | 0) < (HEAP32[$scevgep$2$i >> 2] | 0)) { + HEAP32[$scevgep$2$i >> 2] = $add52$2$i; + HEAP8[$cptr$062$i + 12 >> 0] = $14; + } + $add45$3$i = $add52$2$i + $add28$i | 0; + $incdec$ptr47$3$i = $bptr$161$i + 52 | 0; + if (($add45$3$i | 0) < (HEAP32[$incdec$ptr47$3$i >> 2] | 0)) { + HEAP32[$incdec$ptr47$3$i >> 2] = $add45$3$i; + HEAP8[$cptr$062$i + 13 >> 0] = $14; + } + $add45$1$3$i = $add45$3$i + $add46$i | 0; + $incdec$ptr47$1$3$i = $bptr$161$i + 56 | 0; + if (($add45$1$3$i | 0) < (HEAP32[$incdec$ptr47$1$3$i >> 2] | 0)) { + HEAP32[$incdec$ptr47$1$3$i >> 2] = $add45$1$3$i; + HEAP8[$cptr$062$i + 14 >> 0] = $14; + } + $add45$2$3$i = $add45$1$3$i + $add46$1$i | 0; + $incdec$ptr47$2$3$i = $bptr$161$i + 60 | 0; + if (($add45$2$3$i | 0) < (HEAP32[$incdec$ptr47$2$3$i >> 2] | 0)) { + HEAP32[$incdec$ptr47$2$3$i >> 2] = $add45$2$3$i; + HEAP8[$cptr$062$i + 15 >> 0] = $14; + } + $add52$3$i = $add53$2$i + $add52$2$i | 0; + $scevgep$4$i = $bptr$161$i + 80 | 0; + if (($add52$3$i | 0) < (HEAP32[$scevgep$3$i >> 2] | 0)) { + HEAP32[$scevgep$3$i >> 2] = $add52$3$i; + HEAP8[$cptr$062$i + 16 >> 0] = $14; + } + $add45$4$i = $add52$3$i + $add28$i | 0; + $incdec$ptr47$4$i = $bptr$161$i + 68 | 0; + if (($add45$4$i | 0) < (HEAP32[$incdec$ptr47$4$i >> 2] | 0)) { + HEAP32[$incdec$ptr47$4$i >> 2] = $add45$4$i; + HEAP8[$cptr$062$i + 17 >> 0] = $14; + } + $add45$1$4$i = $add45$4$i + $add46$i | 0; + $incdec$ptr47$1$4$i = $bptr$161$i + 72 | 0; + if (($add45$1$4$i | 0) < (HEAP32[$incdec$ptr47$1$4$i >> 2] | 0)) { + HEAP32[$incdec$ptr47$1$4$i >> 2] = $add45$1$4$i; + HEAP8[$cptr$062$i + 18 >> 0] = $14; + } + $add45$2$4$i = $add45$1$4$i + $add46$1$i | 0; + $incdec$ptr47$2$4$i = $bptr$161$i + 76 | 0; + if (($add45$2$4$i | 0) < (HEAP32[$incdec$ptr47$2$4$i >> 2] | 0)) { + HEAP32[$incdec$ptr47$2$4$i >> 2] = $add45$2$4$i; + HEAP8[$cptr$062$i + 19 >> 0] = $14; + } + $add52$4$i = $add53$3$i + $add52$3$i | 0; + $scevgep$5$i = $bptr$161$i + 96 | 0; + if (($add52$4$i | 0) < (HEAP32[$scevgep$4$i >> 2] | 0)) { + HEAP32[$scevgep$4$i >> 2] = $add52$4$i; + HEAP8[$cptr$062$i + 20 >> 0] = $14; + } + $add45$5$i = $add52$4$i + $add28$i | 0; + $incdec$ptr47$5$i = $bptr$161$i + 84 | 0; + if (($add45$5$i | 0) < (HEAP32[$incdec$ptr47$5$i >> 2] | 0)) { + HEAP32[$incdec$ptr47$5$i >> 2] = $add45$5$i; + HEAP8[$cptr$062$i + 21 >> 0] = $14; + } + $add45$1$5$i = $add45$5$i + $add46$i | 0; + $incdec$ptr47$1$5$i = $bptr$161$i + 88 | 0; + if (($add45$1$5$i | 0) < (HEAP32[$incdec$ptr47$1$5$i >> 2] | 0)) { + HEAP32[$incdec$ptr47$1$5$i >> 2] = $add45$1$5$i; + HEAP8[$cptr$062$i + 22 >> 0] = $14; + } + $add45$2$5$i = $add45$1$5$i + $add46$1$i | 0; + $incdec$ptr47$2$5$i = $bptr$161$i + 92 | 0; + if (($add45$2$5$i | 0) < (HEAP32[$incdec$ptr47$2$5$i >> 2] | 0)) { + HEAP32[$incdec$ptr47$2$5$i >> 2] = $add45$2$5$i; + HEAP8[$cptr$062$i + 23 >> 0] = $14; + } + $add52$5$i = $add53$4$i + $add52$4$i | 0; + $scevgep$6$i = $bptr$161$i + 112 | 0; + if (($add52$5$i | 0) < (HEAP32[$scevgep$5$i >> 2] | 0)) { + HEAP32[$scevgep$5$i >> 2] = $add52$5$i; + HEAP8[$cptr$062$i + 24 >> 0] = $14; + } + $add45$6$i = $add52$5$i + $add28$i | 0; + $incdec$ptr47$6$i = $bptr$161$i + 100 | 0; + if (($add45$6$i | 0) < (HEAP32[$incdec$ptr47$6$i >> 2] | 0)) { + HEAP32[$incdec$ptr47$6$i >> 2] = $add45$6$i; + HEAP8[$cptr$062$i + 25 >> 0] = $14; + } + $add45$1$6$i = $add45$6$i + $add46$i | 0; + $incdec$ptr47$1$6$i = $bptr$161$i + 104 | 0; + if (($add45$1$6$i | 0) < (HEAP32[$incdec$ptr47$1$6$i >> 2] | 0)) { + HEAP32[$incdec$ptr47$1$6$i >> 2] = $add45$1$6$i; + HEAP8[$cptr$062$i + 26 >> 0] = $14; + } + $add45$2$6$i = $add45$1$6$i + $add46$1$i | 0; + $incdec$ptr47$2$6$i = $bptr$161$i + 108 | 0; + if (($add45$2$6$i | 0) < (HEAP32[$incdec$ptr47$2$6$i >> 2] | 0)) { + HEAP32[$incdec$ptr47$2$6$i >> 2] = $add45$2$6$i; + HEAP8[$cptr$062$i + 27 >> 0] = $14; + } + $add52$6$i = $add53$5$i + $add52$5$i | 0; + if (($add52$6$i | 0) < (HEAP32[$scevgep$6$i >> 2] | 0)) { + HEAP32[$scevgep$6$i >> 2] = $add52$6$i; + HEAP8[$cptr$062$i + 28 >> 0] = $14; + } + $add45$7$i = $add52$6$i + $add28$i | 0; + $incdec$ptr47$7$i = $bptr$161$i + 116 | 0; + if (($add45$7$i | 0) < (HEAP32[$incdec$ptr47$7$i >> 2] | 0)) { + HEAP32[$incdec$ptr47$7$i >> 2] = $add45$7$i; + HEAP8[$cptr$062$i + 29 >> 0] = $14; + } + $add45$1$7$i = $add45$7$i + $add46$i | 0; + $incdec$ptr47$1$7$i = $bptr$161$i + 120 | 0; + if (($add45$1$7$i | 0) < (HEAP32[$incdec$ptr47$1$7$i >> 2] | 0)) { + HEAP32[$incdec$ptr47$1$7$i >> 2] = $add45$1$7$i; + HEAP8[$cptr$062$i + 30 >> 0] = $14; + } + $add45$2$7$i = $add45$1$7$i + $add46$1$i | 0; + $incdec$ptr47$2$7$i = $bptr$161$i + 124 | 0; + if (($add45$2$7$i | 0) < (HEAP32[$incdec$ptr47$2$7$i >> 2] | 0)) { + HEAP32[$incdec$ptr47$2$7$i >> 2] = $add45$2$7$i; + HEAP8[$cptr$062$i + 31 >> 0] = $14; + } + if (!$ic0$065$i) break; else { + $bptr$161$i = $bptr$161$i + 128 | 0; + $cptr$062$i = $cptr$062$i + 32 | 0; + $dist0$063$i = $dist0$063$i + $xx0$064$i | 0; + $ic0$065$i = $ic0$065$i + -1 | 0; + $xx0$064$i = $xx0$064$i + 512 | 0; + } + } + $i$167$i = $i$167$i + 1 | 0; + } while (($i$167$i | 0) != ($ncolors$0$lcssa$i | 0)); + } + $shl11 = $c0 & -4; + $shl12 = $c1 & -8; + $shl13 = $c2 & -4; + $add19$1 = $shl12 | 1; + $add19$2 = $shl12 | 2; + $add19$3 = $shl12 | 3; + $add19$4 = $shl12 | 4; + $add19$5 = $shl12 | 5; + $add19$6 = $shl12 | 6; + $add19$7 = $c1 | 7; + $cptr$049 = $bestcolor; + $ic0$048 = 0; + while (1) { + $arrayidx = $1 + ($ic0$048 + $shl11 << 2) | 0; + $54 = HEAP32[$arrayidx >> 2] | 0; + $arrayidx21 = $54 + ($shl12 << 6) + ($shl13 << 1) | 0; + HEAP16[$arrayidx21 >> 1] = (HEAPU8[$cptr$049 >> 0] | 0) + 1; + HEAP16[$arrayidx21 + 2 >> 1] = (HEAPU8[$cptr$049 + 1 >> 0] | 0) + 1; + HEAP16[$arrayidx21 + 4 >> 1] = (HEAPU8[$cptr$049 + 2 >> 0] | 0) + 1; + HEAP16[$arrayidx21 + 6 >> 1] = (HEAPU8[$cptr$049 + 3 >> 0] | 0) + 1; + $arrayidx21$1 = $54 + ($add19$1 << 6) + ($shl13 << 1) | 0; + HEAP16[$arrayidx21$1 >> 1] = (HEAPU8[$cptr$049 + 4 >> 0] | 0) + 1; + HEAP16[$arrayidx21$1 + 2 >> 1] = (HEAPU8[$cptr$049 + 5 >> 0] | 0) + 1; + HEAP16[$arrayidx21$1 + 4 >> 1] = (HEAPU8[$cptr$049 + 6 >> 0] | 0) + 1; + HEAP16[$arrayidx21$1 + 6 >> 1] = (HEAPU8[$cptr$049 + 7 >> 0] | 0) + 1; + $arrayidx21$2 = $54 + ($add19$2 << 6) + ($shl13 << 1) | 0; + HEAP16[$arrayidx21$2 >> 1] = (HEAPU8[$cptr$049 + 8 >> 0] | 0) + 1; + HEAP16[$arrayidx21$2 + 2 >> 1] = (HEAPU8[$cptr$049 + 9 >> 0] | 0) + 1; + HEAP16[$arrayidx21$2 + 4 >> 1] = (HEAPU8[$cptr$049 + 10 >> 0] | 0) + 1; + HEAP16[$arrayidx21$2 + 6 >> 1] = (HEAPU8[$cptr$049 + 11 >> 0] | 0) + 1; + $arrayidx21$3 = $54 + ($add19$3 << 6) + ($shl13 << 1) | 0; + HEAP16[$arrayidx21$3 >> 1] = (HEAPU8[$cptr$049 + 12 >> 0] | 0) + 1; + HEAP16[$arrayidx21$3 + 2 >> 1] = (HEAPU8[$cptr$049 + 13 >> 0] | 0) + 1; + HEAP16[$arrayidx21$3 + 4 >> 1] = (HEAPU8[$cptr$049 + 14 >> 0] | 0) + 1; + HEAP16[$arrayidx21$3 + 6 >> 1] = (HEAPU8[$cptr$049 + 15 >> 0] | 0) + 1; + $71 = HEAP32[$arrayidx >> 2] | 0; + $arrayidx21$4 = $71 + ($add19$4 << 6) + ($shl13 << 1) | 0; + HEAP16[$arrayidx21$4 >> 1] = (HEAPU8[$cptr$049 + 16 >> 0] | 0) + 1; + HEAP16[$arrayidx21$4 + 2 >> 1] = (HEAPU8[$cptr$049 + 17 >> 0] | 0) + 1; + HEAP16[$arrayidx21$4 + 4 >> 1] = (HEAPU8[$cptr$049 + 18 >> 0] | 0) + 1; + HEAP16[$arrayidx21$4 + 6 >> 1] = (HEAPU8[$cptr$049 + 19 >> 0] | 0) + 1; + $arrayidx21$5 = $71 + ($add19$5 << 6) + ($shl13 << 1) | 0; + HEAP16[$arrayidx21$5 >> 1] = (HEAPU8[$cptr$049 + 20 >> 0] | 0) + 1; + HEAP16[$arrayidx21$5 + 2 >> 1] = (HEAPU8[$cptr$049 + 21 >> 0] | 0) + 1; + HEAP16[$arrayidx21$5 + 4 >> 1] = (HEAPU8[$cptr$049 + 22 >> 0] | 0) + 1; + HEAP16[$arrayidx21$5 + 6 >> 1] = (HEAPU8[$cptr$049 + 23 >> 0] | 0) + 1; + $arrayidx21$6 = $71 + ($add19$6 << 6) + ($shl13 << 1) | 0; + HEAP16[$arrayidx21$6 >> 1] = (HEAPU8[$cptr$049 + 24 >> 0] | 0) + 1; + HEAP16[$arrayidx21$6 + 2 >> 1] = (HEAPU8[$cptr$049 + 25 >> 0] | 0) + 1; + HEAP16[$arrayidx21$6 + 4 >> 1] = (HEAPU8[$cptr$049 + 26 >> 0] | 0) + 1; + HEAP16[$arrayidx21$6 + 6 >> 1] = (HEAPU8[$cptr$049 + 27 >> 0] | 0) + 1; + $arrayidx21$7 = $71 + ($add19$7 << 6) + ($shl13 << 1) | 0; + HEAP16[$arrayidx21$7 >> 1] = (HEAPU8[$cptr$049 + 28 >> 0] | 0) + 1; + HEAP16[$arrayidx21$7 + 2 >> 1] = (HEAPU8[$cptr$049 + 29 >> 0] | 0) + 1; + HEAP16[$arrayidx21$7 + 4 >> 1] = (HEAPU8[$cptr$049 + 30 >> 0] | 0) + 1; + HEAP16[$arrayidx21$7 + 6 >> 1] = (HEAPU8[$cptr$049 + 31 >> 0] | 0) + 1; + $ic0$048 = $ic0$048 + 1 | 0; + if (($ic0$048 | 0) == 4) break; else $cptr$049 = $cptr$049 + 32 | 0; + } + STACKTOP = sp; + return; +} + +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E13parseFoldExprEv($this) { + $this = $this | 0; + var $1 = 0, $101 = 0, $106 = 0, $107 = 0, $11 = 0, $111 = 0, $116 = 0, $117 = 0, $121 = 0, $126 = 0, $127 = 0, $131 = 0, $136 = 0, $137 = 0, $141 = 0, $146 = 0, $147 = 0, $151 = 0, $156 = 0, $157 = 0, $16 = 0, $161 = 0, $166 = 0, $167 = 0, $17 = 0, $171 = 0, $176 = 0, $177 = 0, $181 = 0, $186 = 0, $187 = 0, $191 = 0, $196 = 0, $197 = 0, $201 = 0, $206 = 0, $207 = 0, $21 = 0, $211 = 0, $216 = 0, $217 = 0, $221 = 0, $226 = 0, $227 = 0, $231 = 0, $236 = 0, $237 = 0, $241 = 0, $246 = 0, $247 = 0, $251 = 0, $256 = 0, $257 = 0, $26 = 0, $261 = 0, $266 = 0, $267 = 0, $27 = 0, $271 = 0, $276 = 0, $277 = 0, $281 = 0, $286 = 0, $287 = 0, $291 = 0, $296 = 0, $297 = 0, $301 = 0, $306 = 0, $307 = 0, $31 = 0, $311 = 0, $36 = 0, $37 = 0, $41 = 0, $46 = 0, $47 = 0, $51 = 0, $56 = 0, $57 = 0, $6 = 0, $61 = 0, $66 = 0, $67 = 0, $7 = 0, $71 = 0, $76 = 0, $77 = 0, $81 = 0, $86 = 0, $87 = 0, $91 = 0, $96 = 0, $97 = 0, $Init = 0, $IsLeftFold = 0, $OperatorName = 0, $agg$tmp = 0, $agg$tmp102 = 0, $agg$tmp107 = 0, $agg$tmp112 = 0, $agg$tmp117 = 0, $agg$tmp122 = 0, $agg$tmp127 = 0, $agg$tmp132 = 0, $agg$tmp137 = 0, $agg$tmp142 = 0, $agg$tmp147 = 0, $agg$tmp152 = 0, $agg$tmp157 = 0, $agg$tmp162 = 0, $agg$tmp167 = 0, $agg$tmp167$byval_copy = 0, $agg$tmp22 = 0, $agg$tmp27 = 0, $agg$tmp32 = 0, $agg$tmp37 = 0, $agg$tmp42 = 0, $agg$tmp47 = 0, $agg$tmp52 = 0, $agg$tmp57 = 0, $agg$tmp62 = 0, $agg$tmp67 = 0, $agg$tmp72 = 0, $agg$tmp77 = 0, $agg$tmp82 = 0, $agg$tmp87 = 0, $agg$tmp92 = 0, $agg$tmp97 = 0, $call2 = 0, $call203 = 0, $call204 = 0, $call210 = 0, $retval$0 = 0, $retval$1 = 0, $retval$2 = 0, $retval$3 = 0, $storemerge = 0, label = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 288 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(288); - $$byval_copy30 = sp + 8 | 0; - $1 = sp + 272 | 0; - $2 = sp; - $3 = sp + 264 | 0; - $4 = sp + 256 | 0; - $5 = sp + 248 | 0; - $6 = sp + 240 | 0; - $7 = sp + 232 | 0; - $8 = sp + 224 | 0; - $9 = sp + 216 | 0; - $10 = sp + 208 | 0; - $11 = sp + 200 | 0; - $12 = sp + 192 | 0; - $13 = sp + 184 | 0; - $14 = sp + 176 | 0; - $15 = sp + 168 | 0; - $16 = sp + 160 | 0; - $17 = sp + 152 | 0; - $18 = sp + 144 | 0; - $19 = sp + 136 | 0; - $20 = sp + 128 | 0; - $21 = sp + 120 | 0; - $22 = sp + 112 | 0; - $23 = sp + 104 | 0; - $24 = sp + 96 | 0; - $25 = sp + 88 | 0; - $26 = sp + 80 | 0; - $27 = sp + 72 | 0; - $28 = sp + 64 | 0; - $29 = sp + 56 | 0; - $30 = sp + 48 | 0; - $31 = sp + 40 | 0; - $32 = sp + 32 | 0; - $33 = sp + 24 | 0; - $34 = sp + 16 | 0; - if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($0, 102) | 0) { - $36 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($0, 0) | 0; - switch ($36 << 24 >> 24) { + $agg$tmp167$byval_copy = sp + 8 | 0; + $IsLeftFold = sp + 272 | 0; + $OperatorName = sp; + $agg$tmp = sp + 264 | 0; + $agg$tmp22 = sp + 256 | 0; + $agg$tmp27 = sp + 248 | 0; + $agg$tmp32 = sp + 240 | 0; + $agg$tmp37 = sp + 232 | 0; + $agg$tmp42 = sp + 224 | 0; + $agg$tmp47 = sp + 216 | 0; + $agg$tmp52 = sp + 208 | 0; + $agg$tmp57 = sp + 200 | 0; + $agg$tmp62 = sp + 192 | 0; + $agg$tmp67 = sp + 184 | 0; + $agg$tmp72 = sp + 176 | 0; + $agg$tmp77 = sp + 168 | 0; + $agg$tmp82 = sp + 160 | 0; + $agg$tmp87 = sp + 152 | 0; + $agg$tmp92 = sp + 144 | 0; + $agg$tmp97 = sp + 136 | 0; + $agg$tmp102 = sp + 128 | 0; + $agg$tmp107 = sp + 120 | 0; + $agg$tmp112 = sp + 112 | 0; + $agg$tmp117 = sp + 104 | 0; + $agg$tmp122 = sp + 96 | 0; + $agg$tmp127 = sp + 88 | 0; + $agg$tmp132 = sp + 80 | 0; + $agg$tmp137 = sp + 72 | 0; + $agg$tmp142 = sp + 64 | 0; + $agg$tmp147 = sp + 56 | 0; + $agg$tmp152 = sp + 48 | 0; + $agg$tmp157 = sp + 40 | 0; + $agg$tmp162 = sp + 32 | 0; + $agg$tmp167 = sp + 24 | 0; + $Init = sp + 16 | 0; + if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($this, 102) | 0) { + $call2 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($this, 0) | 0; + switch ($call2 << 24 >> 24) { case 76: case 108: { @@ -15325,481 +16624,1266 @@ function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14Mang break; } default: - $$2 = 0; + $retval$2 = 0; } if ((label | 0) == 4) { - HEAP8[$1 >> 0] = $storemerge; - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 1; - __ZN12_GLOBAL__N_110StringViewC2Ev($2); - __ZN12_GLOBAL__N_110StringViewC2EPKc($3, 54764); - HEAP32[$$byval_copy30 >> 2] = HEAP32[$3 >> 2]; - HEAP32[$$byval_copy30 + 4 >> 2] = HEAP32[$3 + 4 >> 2]; - do if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($0, $$byval_copy30) | 0) { - __ZN12_GLOBAL__N_110StringViewC2EPKc($$byval_copy30, 51972); - $40 = $$byval_copy30; - $45 = HEAP32[$40 + 4 >> 2] | 0; - $46 = $2; - HEAP32[$46 >> 2] = HEAP32[$40 >> 2]; - HEAP32[$46 + 4 >> 2] = $45; + HEAP8[$IsLeftFold >> 0] = $storemerge; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 1; + __ZN12_GLOBAL__N_110StringViewC2Ev($OperatorName); + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, 55606); + HEAP32[$agg$tmp167$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp167$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + do if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($this, $agg$tmp167$byval_copy) | 0) { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp167$byval_copy, 52814); + $1 = $agg$tmp167$byval_copy; + $6 = HEAP32[$1 + 4 >> 2] | 0; + $7 = $OperatorName; + HEAP32[$7 >> 2] = HEAP32[$1 >> 2]; + HEAP32[$7 + 4 >> 2] = $6; label = 66; } else { - __ZN12_GLOBAL__N_110StringViewC2EPKc($4, 54767); - HEAP32[$$byval_copy30 >> 2] = HEAP32[$4 >> 2]; - HEAP32[$$byval_copy30 + 4 >> 2] = HEAP32[$4 + 4 >> 2]; - if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($0, $$byval_copy30) | 0) { - __ZN12_GLOBAL__N_110StringViewC2EPKc($$byval_copy30, 51970); - $51 = $$byval_copy30; - $56 = HEAP32[$51 + 4 >> 2] | 0; - $57 = $2; - HEAP32[$57 >> 2] = HEAP32[$51 >> 2]; - HEAP32[$57 + 4 >> 2] = $56; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp22, 55609); + HEAP32[$agg$tmp167$byval_copy >> 2] = HEAP32[$agg$tmp22 >> 2]; + HEAP32[$agg$tmp167$byval_copy + 4 >> 2] = HEAP32[$agg$tmp22 + 4 >> 2]; + if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($this, $agg$tmp167$byval_copy) | 0) { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp167$byval_copy, 52812); + $11 = $agg$tmp167$byval_copy; + $16 = HEAP32[$11 + 4 >> 2] | 0; + $17 = $OperatorName; + HEAP32[$17 >> 2] = HEAP32[$11 >> 2]; + HEAP32[$17 + 4 >> 2] = $16; label = 66; break; } - __ZN12_GLOBAL__N_110StringViewC2EPKc($5, 54770); - HEAP32[$$byval_copy30 >> 2] = HEAP32[$5 >> 2]; - HEAP32[$$byval_copy30 + 4 >> 2] = HEAP32[$5 + 4 >> 2]; - if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($0, $$byval_copy30) | 0) { - __ZN12_GLOBAL__N_110StringViewC2EPKc($$byval_copy30, 52668); - $62 = $$byval_copy30; - $67 = HEAP32[$62 + 4 >> 2] | 0; - $68 = $2; - HEAP32[$68 >> 2] = HEAP32[$62 >> 2]; - HEAP32[$68 + 4 >> 2] = $67; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp27, 55612); + HEAP32[$agg$tmp167$byval_copy >> 2] = HEAP32[$agg$tmp27 >> 2]; + HEAP32[$agg$tmp167$byval_copy + 4 >> 2] = HEAP32[$agg$tmp27 + 4 >> 2]; + if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($this, $agg$tmp167$byval_copy) | 0) { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp167$byval_copy, 53510); + $21 = $agg$tmp167$byval_copy; + $26 = HEAP32[$21 + 4 >> 2] | 0; + $27 = $OperatorName; + HEAP32[$27 >> 2] = HEAP32[$21 >> 2]; + HEAP32[$27 + 4 >> 2] = $26; label = 66; break; } - __ZN12_GLOBAL__N_110StringViewC2EPKc($6, 54773); - HEAP32[$$byval_copy30 >> 2] = HEAP32[$6 >> 2]; - HEAP32[$$byval_copy30 + 4 >> 2] = HEAP32[$6 + 4 >> 2]; - if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($0, $$byval_copy30) | 0) { - __ZN12_GLOBAL__N_110StringViewC2EPKc($$byval_copy30, 52671); - $73 = $$byval_copy30; - $78 = HEAP32[$73 + 4 >> 2] | 0; - $79 = $2; - HEAP32[$79 >> 2] = HEAP32[$73 >> 2]; - HEAP32[$79 + 4 >> 2] = $78; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp32, 55615); + HEAP32[$agg$tmp167$byval_copy >> 2] = HEAP32[$agg$tmp32 >> 2]; + HEAP32[$agg$tmp167$byval_copy + 4 >> 2] = HEAP32[$agg$tmp32 + 4 >> 2]; + if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($this, $agg$tmp167$byval_copy) | 0) { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp167$byval_copy, 53513); + $31 = $agg$tmp167$byval_copy; + $36 = HEAP32[$31 + 4 >> 2] | 0; + $37 = $OperatorName; + HEAP32[$37 >> 2] = HEAP32[$31 >> 2]; + HEAP32[$37 + 4 >> 2] = $36; + label = 66; + break; + } + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp37, 55618); + HEAP32[$agg$tmp167$byval_copy >> 2] = HEAP32[$agg$tmp37 >> 2]; + HEAP32[$agg$tmp167$byval_copy + 4 >> 2] = HEAP32[$agg$tmp37 + 4 >> 2]; + if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($this, $agg$tmp167$byval_copy) | 0) { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp167$byval_copy, 53525); + $41 = $agg$tmp167$byval_copy; + $46 = HEAP32[$41 + 4 >> 2] | 0; + $47 = $OperatorName; + HEAP32[$47 >> 2] = HEAP32[$41 >> 2]; + HEAP32[$47 + 4 >> 2] = $46; + label = 66; + break; + } + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp42, 55621); + HEAP32[$agg$tmp167$byval_copy >> 2] = HEAP32[$agg$tmp42 >> 2]; + HEAP32[$agg$tmp167$byval_copy + 4 >> 2] = HEAP32[$agg$tmp42 + 4 >> 2]; + if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($this, $agg$tmp167$byval_copy) | 0) { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp167$byval_copy, 53529); + $51 = $agg$tmp167$byval_copy; + $56 = HEAP32[$51 + 4 >> 2] | 0; + $57 = $OperatorName; + HEAP32[$57 >> 2] = HEAP32[$51 >> 2]; + HEAP32[$57 + 4 >> 2] = $56; label = 66; break; } - __ZN12_GLOBAL__N_110StringViewC2EPKc($7, 54776); - HEAP32[$$byval_copy30 >> 2] = HEAP32[$7 >> 2]; - HEAP32[$$byval_copy30 + 4 >> 2] = HEAP32[$7 + 4 >> 2]; - if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($0, $$byval_copy30) | 0) { - __ZN12_GLOBAL__N_110StringViewC2EPKc($$byval_copy30, 52683); - $84 = $$byval_copy30; - $89 = HEAP32[$84 + 4 >> 2] | 0; - $90 = $2; - HEAP32[$90 >> 2] = HEAP32[$84 >> 2]; - HEAP32[$90 + 4 >> 2] = $89; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp47, 55624); + HEAP32[$agg$tmp167$byval_copy >> 2] = HEAP32[$agg$tmp47 >> 2]; + HEAP32[$agg$tmp167$byval_copy + 4 >> 2] = HEAP32[$agg$tmp47 + 4 >> 2]; + if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($this, $agg$tmp167$byval_copy) | 0) { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp167$byval_copy, 53532); + $61 = $agg$tmp167$byval_copy; + $66 = HEAP32[$61 + 4 >> 2] | 0; + $67 = $OperatorName; + HEAP32[$67 >> 2] = HEAP32[$61 >> 2]; + HEAP32[$67 + 4 >> 2] = $66; label = 66; break; } - __ZN12_GLOBAL__N_110StringViewC2EPKc($8, 54779); - HEAP32[$$byval_copy30 >> 2] = HEAP32[$8 >> 2]; - HEAP32[$$byval_copy30 + 4 >> 2] = HEAP32[$8 + 4 >> 2]; - if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($0, $$byval_copy30) | 0) { - __ZN12_GLOBAL__N_110StringViewC2EPKc($$byval_copy30, 52687); - $95 = $$byval_copy30; - $100 = HEAP32[$95 + 4 >> 2] | 0; - $101 = $2; - HEAP32[$101 >> 2] = HEAP32[$95 >> 2]; - HEAP32[$101 + 4 >> 2] = $100; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp52, 55627); + HEAP32[$agg$tmp167$byval_copy >> 2] = HEAP32[$agg$tmp52 >> 2]; + HEAP32[$agg$tmp167$byval_copy + 4 >> 2] = HEAP32[$agg$tmp52 + 4 >> 2]; + if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($this, $agg$tmp167$byval_copy) | 0) { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp167$byval_copy, 53534); + $71 = $agg$tmp167$byval_copy; + $76 = HEAP32[$71 + 4 >> 2] | 0; + $77 = $OperatorName; + HEAP32[$77 >> 2] = HEAP32[$71 >> 2]; + HEAP32[$77 + 4 >> 2] = $76; label = 66; break; } - __ZN12_GLOBAL__N_110StringViewC2EPKc($9, 54782); - HEAP32[$$byval_copy30 >> 2] = HEAP32[$9 >> 2]; - HEAP32[$$byval_copy30 + 4 >> 2] = HEAP32[$9 + 4 >> 2]; - if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($0, $$byval_copy30) | 0) { - __ZN12_GLOBAL__N_110StringViewC2EPKc($$byval_copy30, 52690); - $106 = $$byval_copy30; - $111 = HEAP32[$106 + 4 >> 2] | 0; - $112 = $2; - HEAP32[$112 >> 2] = HEAP32[$106 >> 2]; - HEAP32[$112 + 4 >> 2] = $111; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp57, 55630); + HEAP32[$agg$tmp167$byval_copy >> 2] = HEAP32[$agg$tmp57 >> 2]; + HEAP32[$agg$tmp167$byval_copy + 4 >> 2] = HEAP32[$agg$tmp57 + 4 >> 2]; + if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($this, $agg$tmp167$byval_copy) | 0) { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp167$byval_copy, 53537); + $81 = $agg$tmp167$byval_copy; + $86 = HEAP32[$81 + 4 >> 2] | 0; + $87 = $OperatorName; + HEAP32[$87 >> 2] = HEAP32[$81 >> 2]; + HEAP32[$87 + 4 >> 2] = $86; label = 66; break; } - __ZN12_GLOBAL__N_110StringViewC2EPKc($10, 54785); - HEAP32[$$byval_copy30 >> 2] = HEAP32[$10 >> 2]; - HEAP32[$$byval_copy30 + 4 >> 2] = HEAP32[$10 + 4 >> 2]; - if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($0, $$byval_copy30) | 0) { - __ZN12_GLOBAL__N_110StringViewC2EPKc($$byval_copy30, 52692); - $117 = $$byval_copy30; - $122 = HEAP32[$117 + 4 >> 2] | 0; - $123 = $2; - HEAP32[$123 >> 2] = HEAP32[$117 >> 2]; - HEAP32[$123 + 4 >> 2] = $122; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp62, 55633); + HEAP32[$agg$tmp167$byval_copy >> 2] = HEAP32[$agg$tmp62 >> 2]; + HEAP32[$agg$tmp167$byval_copy + 4 >> 2] = HEAP32[$agg$tmp62 + 4 >> 2]; + if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($this, $agg$tmp167$byval_copy) | 0) { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp167$byval_copy, 53539); + $91 = $agg$tmp167$byval_copy; + $96 = HEAP32[$91 + 4 >> 2] | 0; + $97 = $OperatorName; + HEAP32[$97 >> 2] = HEAP32[$91 >> 2]; + HEAP32[$97 + 4 >> 2] = $96; label = 66; break; } - __ZN12_GLOBAL__N_110StringViewC2EPKc($11, 54788); - HEAP32[$$byval_copy30 >> 2] = HEAP32[$11 >> 2]; - HEAP32[$$byval_copy30 + 4 >> 2] = HEAP32[$11 + 4 >> 2]; - if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($0, $$byval_copy30) | 0) { - __ZN12_GLOBAL__N_110StringViewC2EPKc($$byval_copy30, 52695); - $128 = $$byval_copy30; - $133 = HEAP32[$128 + 4 >> 2] | 0; - $134 = $2; - HEAP32[$134 >> 2] = HEAP32[$128 >> 2]; - HEAP32[$134 + 4 >> 2] = $133; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp67, 55636); + HEAP32[$agg$tmp167$byval_copy >> 2] = HEAP32[$agg$tmp67 >> 2]; + HEAP32[$agg$tmp167$byval_copy + 4 >> 2] = HEAP32[$agg$tmp67 + 4 >> 2]; + if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($this, $agg$tmp167$byval_copy) | 0) { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp167$byval_copy, 53542); + $101 = $agg$tmp167$byval_copy; + $106 = HEAP32[$101 + 4 >> 2] | 0; + $107 = $OperatorName; + HEAP32[$107 >> 2] = HEAP32[$101 >> 2]; + HEAP32[$107 + 4 >> 2] = $106; label = 66; break; } - __ZN12_GLOBAL__N_110StringViewC2EPKc($12, 54791); - HEAP32[$$byval_copy30 >> 2] = HEAP32[$12 >> 2]; - HEAP32[$$byval_copy30 + 4 >> 2] = HEAP32[$12 + 4 >> 2]; - if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($0, $$byval_copy30) | 0) { - __ZN12_GLOBAL__N_110StringViewC2EPKc($$byval_copy30, 52697); - $139 = $$byval_copy30; - $144 = HEAP32[$139 + 4 >> 2] | 0; - $145 = $2; - HEAP32[$145 >> 2] = HEAP32[$139 >> 2]; - HEAP32[$145 + 4 >> 2] = $144; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp72, 55639); + HEAP32[$agg$tmp167$byval_copy >> 2] = HEAP32[$agg$tmp72 >> 2]; + HEAP32[$agg$tmp167$byval_copy + 4 >> 2] = HEAP32[$agg$tmp72 + 4 >> 2]; + if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($this, $agg$tmp167$byval_copy) | 0) { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp167$byval_copy, 53545); + $111 = $agg$tmp167$byval_copy; + $116 = HEAP32[$111 + 4 >> 2] | 0; + $117 = $OperatorName; + HEAP32[$117 >> 2] = HEAP32[$111 >> 2]; + HEAP32[$117 + 4 >> 2] = $116; label = 66; break; } - __ZN12_GLOBAL__N_110StringViewC2EPKc($13, 54794); - HEAP32[$$byval_copy30 >> 2] = HEAP32[$13 >> 2]; - HEAP32[$$byval_copy30 + 4 >> 2] = HEAP32[$13 + 4 >> 2]; - if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($0, $$byval_copy30) | 0) { - __ZN12_GLOBAL__N_110StringViewC2EPKc($$byval_copy30, 52700); - $150 = $$byval_copy30; - $155 = HEAP32[$150 + 4 >> 2] | 0; - $156 = $2; - HEAP32[$156 >> 2] = HEAP32[$150 >> 2]; - HEAP32[$156 + 4 >> 2] = $155; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp77, 55642); + HEAP32[$agg$tmp167$byval_copy >> 2] = HEAP32[$agg$tmp77 >> 2]; + HEAP32[$agg$tmp167$byval_copy + 4 >> 2] = HEAP32[$agg$tmp77 + 4 >> 2]; + if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($this, $agg$tmp167$byval_copy) | 0) { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp167$byval_copy, 52885); + $121 = $agg$tmp167$byval_copy; + $126 = HEAP32[$121 + 4 >> 2] | 0; + $127 = $OperatorName; + HEAP32[$127 >> 2] = HEAP32[$121 >> 2]; + HEAP32[$127 + 4 >> 2] = $126; label = 66; break; } - __ZN12_GLOBAL__N_110StringViewC2EPKc($14, 54797); - HEAP32[$$byval_copy30 >> 2] = HEAP32[$14 >> 2]; - HEAP32[$$byval_copy30 + 4 >> 2] = HEAP32[$14 + 4 >> 2]; - if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($0, $$byval_copy30) | 0) { - __ZN12_GLOBAL__N_110StringViewC2EPKc($$byval_copy30, 52703); - $161 = $$byval_copy30; - $166 = HEAP32[$161 + 4 >> 2] | 0; - $167 = $2; - HEAP32[$167 >> 2] = HEAP32[$161 >> 2]; - HEAP32[$167 + 4 >> 2] = $166; - label = 66; - break; - } - __ZN12_GLOBAL__N_110StringViewC2EPKc($15, 54800); - HEAP32[$$byval_copy30 >> 2] = HEAP32[$15 >> 2]; - HEAP32[$$byval_copy30 + 4 >> 2] = HEAP32[$15 + 4 >> 2]; - if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($0, $$byval_copy30) | 0) { - __ZN12_GLOBAL__N_110StringViewC2EPKc($$byval_copy30, 52043); - $172 = $$byval_copy30; - $177 = HEAP32[$172 + 4 >> 2] | 0; - $178 = $2; - HEAP32[$178 >> 2] = HEAP32[$172 >> 2]; - HEAP32[$178 + 4 >> 2] = $177; - label = 66; - break; - } - __ZN12_GLOBAL__N_110StringViewC2EPKc($16, 54803); - HEAP32[$$byval_copy30 >> 2] = HEAP32[$16 >> 2]; - HEAP32[$$byval_copy30 + 4 >> 2] = HEAP32[$16 + 4 >> 2]; - if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($0, $$byval_copy30) | 0) { - __ZN12_GLOBAL__N_110StringViewC2EPKc($$byval_copy30, 52706); - $183 = $$byval_copy30; - $188 = HEAP32[$183 + 4 >> 2] | 0; - $189 = $2; - HEAP32[$189 >> 2] = HEAP32[$183 >> 2]; - HEAP32[$189 + 4 >> 2] = $188; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp82, 55645); + HEAP32[$agg$tmp167$byval_copy >> 2] = HEAP32[$agg$tmp82 >> 2]; + HEAP32[$agg$tmp167$byval_copy + 4 >> 2] = HEAP32[$agg$tmp82 + 4 >> 2]; + if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($this, $agg$tmp167$byval_copy) | 0) { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp167$byval_copy, 53548); + $131 = $agg$tmp167$byval_copy; + $136 = HEAP32[$131 + 4 >> 2] | 0; + $137 = $OperatorName; + HEAP32[$137 >> 2] = HEAP32[$131 >> 2]; + HEAP32[$137 + 4 >> 2] = $136; label = 66; break; } - __ZN12_GLOBAL__N_110StringViewC2EPKc($17, 54806); - HEAP32[$$byval_copy30 >> 2] = HEAP32[$17 >> 2]; - HEAP32[$$byval_copy30 + 4 >> 2] = HEAP32[$17 + 4 >> 2]; - if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($0, $$byval_copy30) | 0) { - __ZN12_GLOBAL__N_110StringViewC2EPKc($$byval_copy30, 52709); - $194 = $$byval_copy30; - $199 = HEAP32[$194 + 4 >> 2] | 0; - $200 = $2; - HEAP32[$200 >> 2] = HEAP32[$194 >> 2]; - HEAP32[$200 + 4 >> 2] = $199; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp87, 55648); + HEAP32[$agg$tmp167$byval_copy >> 2] = HEAP32[$agg$tmp87 >> 2]; + HEAP32[$agg$tmp167$byval_copy + 4 >> 2] = HEAP32[$agg$tmp87 + 4 >> 2]; + if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($this, $agg$tmp167$byval_copy) | 0) { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp167$byval_copy, 53551); + $141 = $agg$tmp167$byval_copy; + $146 = HEAP32[$141 + 4 >> 2] | 0; + $147 = $OperatorName; + HEAP32[$147 >> 2] = HEAP32[$141 >> 2]; + HEAP32[$147 + 4 >> 2] = $146; label = 66; break; } - __ZN12_GLOBAL__N_110StringViewC2EPKc($18, 54809); - HEAP32[$$byval_copy30 >> 2] = HEAP32[$18 >> 2]; - HEAP32[$$byval_copy30 + 4 >> 2] = HEAP32[$18 + 4 >> 2]; - if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($0, $$byval_copy30) | 0) { - __ZN12_GLOBAL__N_110StringViewC2EPKc($$byval_copy30, 52712); - $205 = $$byval_copy30; - $210 = HEAP32[$205 + 4 >> 2] | 0; - $211 = $2; - HEAP32[$211 >> 2] = HEAP32[$205 >> 2]; - HEAP32[$211 + 4 >> 2] = $210; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp92, 55651); + HEAP32[$agg$tmp167$byval_copy >> 2] = HEAP32[$agg$tmp92 >> 2]; + HEAP32[$agg$tmp167$byval_copy + 4 >> 2] = HEAP32[$agg$tmp92 + 4 >> 2]; + if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($this, $agg$tmp167$byval_copy) | 0) { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp167$byval_copy, 53554); + $151 = $agg$tmp167$byval_copy; + $156 = HEAP32[$151 + 4 >> 2] | 0; + $157 = $OperatorName; + HEAP32[$157 >> 2] = HEAP32[$151 >> 2]; + HEAP32[$157 + 4 >> 2] = $156; label = 66; break; } - __ZN12_GLOBAL__N_110StringViewC2EPKc($19, 54812); - HEAP32[$$byval_copy30 >> 2] = HEAP32[$19 >> 2]; - HEAP32[$$byval_copy30 + 4 >> 2] = HEAP32[$19 + 4 >> 2]; - if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($0, $$byval_copy30) | 0) { - __ZN12_GLOBAL__N_110StringViewC2EPKc($$byval_copy30, 52150); - $216 = $$byval_copy30; - $221 = HEAP32[$216 + 4 >> 2] | 0; - $222 = $2; - HEAP32[$222 >> 2] = HEAP32[$216 >> 2]; - HEAP32[$222 + 4 >> 2] = $221; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp97, 55654); + HEAP32[$agg$tmp167$byval_copy >> 2] = HEAP32[$agg$tmp97 >> 2]; + HEAP32[$agg$tmp167$byval_copy + 4 >> 2] = HEAP32[$agg$tmp97 + 4 >> 2]; + if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($this, $agg$tmp167$byval_copy) | 0) { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp167$byval_copy, 52992); + $161 = $agg$tmp167$byval_copy; + $166 = HEAP32[$161 + 4 >> 2] | 0; + $167 = $OperatorName; + HEAP32[$167 >> 2] = HEAP32[$161 >> 2]; + HEAP32[$167 + 4 >> 2] = $166; label = 66; break; } - __ZN12_GLOBAL__N_110StringViewC2EPKc($20, 54815); - HEAP32[$$byval_copy30 >> 2] = HEAP32[$20 >> 2]; - HEAP32[$$byval_copy30 + 4 >> 2] = HEAP32[$20 + 4 >> 2]; - if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($0, $$byval_copy30) | 0) { - __ZN12_GLOBAL__N_110StringViewC2EPKc($$byval_copy30, 52555); - $227 = $$byval_copy30; - $232 = HEAP32[$227 + 4 >> 2] | 0; - $233 = $2; - HEAP32[$233 >> 2] = HEAP32[$227 >> 2]; - HEAP32[$233 + 4 >> 2] = $232; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp102, 55657); + HEAP32[$agg$tmp167$byval_copy >> 2] = HEAP32[$agg$tmp102 >> 2]; + HEAP32[$agg$tmp167$byval_copy + 4 >> 2] = HEAP32[$agg$tmp102 + 4 >> 2]; + if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($this, $agg$tmp167$byval_copy) | 0) { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp167$byval_copy, 53397); + $171 = $agg$tmp167$byval_copy; + $176 = HEAP32[$171 + 4 >> 2] | 0; + $177 = $OperatorName; + HEAP32[$177 >> 2] = HEAP32[$171 >> 2]; + HEAP32[$177 + 4 >> 2] = $176; label = 66; break; } - __ZN12_GLOBAL__N_110StringViewC2EPKc($21, 54818); - HEAP32[$$byval_copy30 >> 2] = HEAP32[$21 >> 2]; - HEAP32[$$byval_copy30 + 4 >> 2] = HEAP32[$21 + 4 >> 2]; - if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($0, $$byval_copy30) | 0) { - __ZN12_GLOBAL__N_110StringViewC2EPKc($$byval_copy30, 52716); - $238 = $$byval_copy30; - $243 = HEAP32[$238 + 4 >> 2] | 0; - $244 = $2; - HEAP32[$244 >> 2] = HEAP32[$238 >> 2]; - HEAP32[$244 + 4 >> 2] = $243; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp107, 55660); + HEAP32[$agg$tmp167$byval_copy >> 2] = HEAP32[$agg$tmp107 >> 2]; + HEAP32[$agg$tmp167$byval_copy + 4 >> 2] = HEAP32[$agg$tmp107 + 4 >> 2]; + if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($this, $agg$tmp167$byval_copy) | 0) { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp167$byval_copy, 53558); + $181 = $agg$tmp167$byval_copy; + $186 = HEAP32[$181 + 4 >> 2] | 0; + $187 = $OperatorName; + HEAP32[$187 >> 2] = HEAP32[$181 >> 2]; + HEAP32[$187 + 4 >> 2] = $186; label = 66; break; } - __ZN12_GLOBAL__N_110StringViewC2EPKc($22, 54821); - HEAP32[$$byval_copy30 >> 2] = HEAP32[$22 >> 2]; - HEAP32[$$byval_copy30 + 4 >> 2] = HEAP32[$22 + 4 >> 2]; - if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($0, $$byval_copy30) | 0) { - __ZN12_GLOBAL__N_110StringViewC2EPKc($$byval_copy30, 52037); - $249 = $$byval_copy30; - $254 = HEAP32[$249 + 4 >> 2] | 0; - $255 = $2; - HEAP32[$255 >> 2] = HEAP32[$249 >> 2]; - HEAP32[$255 + 4 >> 2] = $254; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp112, 55663); + HEAP32[$agg$tmp167$byval_copy >> 2] = HEAP32[$agg$tmp112 >> 2]; + HEAP32[$agg$tmp167$byval_copy + 4 >> 2] = HEAP32[$agg$tmp112 + 4 >> 2]; + if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($this, $agg$tmp167$byval_copy) | 0) { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp167$byval_copy, 52879); + $191 = $agg$tmp167$byval_copy; + $196 = HEAP32[$191 + 4 >> 2] | 0; + $197 = $OperatorName; + HEAP32[$197 >> 2] = HEAP32[$191 >> 2]; + HEAP32[$197 + 4 >> 2] = $196; label = 66; break; } - __ZN12_GLOBAL__N_110StringViewC2EPKc($23, 54824); - HEAP32[$$byval_copy30 >> 2] = HEAP32[$23 >> 2]; - HEAP32[$$byval_copy30 + 4 >> 2] = HEAP32[$23 + 4 >> 2]; - if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($0, $$byval_copy30) | 0) { - __ZN12_GLOBAL__N_110StringViewC2EPKc($$byval_copy30, 52719); - $260 = $$byval_copy30; - $265 = HEAP32[$260 + 4 >> 2] | 0; - $266 = $2; - HEAP32[$266 >> 2] = HEAP32[$260 >> 2]; - HEAP32[$266 + 4 >> 2] = $265; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp117, 55666); + HEAP32[$agg$tmp167$byval_copy >> 2] = HEAP32[$agg$tmp117 >> 2]; + HEAP32[$agg$tmp167$byval_copy + 4 >> 2] = HEAP32[$agg$tmp117 + 4 >> 2]; + if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($this, $agg$tmp167$byval_copy) | 0) { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp167$byval_copy, 53561); + $201 = $agg$tmp167$byval_copy; + $206 = HEAP32[$201 + 4 >> 2] | 0; + $207 = $OperatorName; + HEAP32[$207 >> 2] = HEAP32[$201 >> 2]; + HEAP32[$207 + 4 >> 2] = $206; label = 66; break; } - __ZN12_GLOBAL__N_110StringViewC2EPKc($24, 54827); - HEAP32[$$byval_copy30 >> 2] = HEAP32[$24 >> 2]; - HEAP32[$$byval_copy30 + 4 >> 2] = HEAP32[$24 + 4 >> 2]; - if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($0, $$byval_copy30) | 0) { - __ZN12_GLOBAL__N_110StringViewC2EPKc($$byval_copy30, 52725); - $271 = $$byval_copy30; - $276 = HEAP32[$271 + 4 >> 2] | 0; - $277 = $2; - HEAP32[$277 >> 2] = HEAP32[$271 >> 2]; - HEAP32[$277 + 4 >> 2] = $276; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp122, 55669); + HEAP32[$agg$tmp167$byval_copy >> 2] = HEAP32[$agg$tmp122 >> 2]; + HEAP32[$agg$tmp167$byval_copy + 4 >> 2] = HEAP32[$agg$tmp122 + 4 >> 2]; + if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($this, $agg$tmp167$byval_copy) | 0) { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp167$byval_copy, 53567); + $211 = $agg$tmp167$byval_copy; + $216 = HEAP32[$211 + 4 >> 2] | 0; + $217 = $OperatorName; + HEAP32[$217 >> 2] = HEAP32[$211 >> 2]; + HEAP32[$217 + 4 >> 2] = $216; label = 66; break; } - __ZN12_GLOBAL__N_110StringViewC2EPKc($25, 54830); - HEAP32[$$byval_copy30 >> 2] = HEAP32[$25 >> 2]; - HEAP32[$$byval_copy30 + 4 >> 2] = HEAP32[$25 + 4 >> 2]; - if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($0, $$byval_copy30) | 0) { - __ZN12_GLOBAL__N_110StringViewC2EPKc($$byval_copy30, 52730); - $282 = $$byval_copy30; - $287 = HEAP32[$282 + 4 >> 2] | 0; - $288 = $2; - HEAP32[$288 >> 2] = HEAP32[$282 >> 2]; - HEAP32[$288 + 4 >> 2] = $287; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp127, 55672); + HEAP32[$agg$tmp167$byval_copy >> 2] = HEAP32[$agg$tmp127 >> 2]; + HEAP32[$agg$tmp167$byval_copy + 4 >> 2] = HEAP32[$agg$tmp127 + 4 >> 2]; + if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($this, $agg$tmp167$byval_copy) | 0) { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp167$byval_copy, 53572); + $221 = $agg$tmp167$byval_copy; + $226 = HEAP32[$221 + 4 >> 2] | 0; + $227 = $OperatorName; + HEAP32[$227 >> 2] = HEAP32[$221 >> 2]; + HEAP32[$227 + 4 >> 2] = $226; label = 66; break; } - __ZN12_GLOBAL__N_110StringViewC2EPKc($26, 54833); - HEAP32[$$byval_copy30 >> 2] = HEAP32[$26 >> 2]; - HEAP32[$$byval_copy30 + 4 >> 2] = HEAP32[$26 + 4 >> 2]; - if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($0, $$byval_copy30) | 0) { - __ZN12_GLOBAL__N_110StringViewC2EPKc($$byval_copy30, 52733); - $293 = $$byval_copy30; - $298 = HEAP32[$293 + 4 >> 2] | 0; - $299 = $2; - HEAP32[$299 >> 2] = HEAP32[$293 >> 2]; - HEAP32[$299 + 4 >> 2] = $298; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp132, 55675); + HEAP32[$agg$tmp167$byval_copy >> 2] = HEAP32[$agg$tmp132 >> 2]; + HEAP32[$agg$tmp167$byval_copy + 4 >> 2] = HEAP32[$agg$tmp132 + 4 >> 2]; + if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($this, $agg$tmp167$byval_copy) | 0) { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp167$byval_copy, 53575); + $231 = $agg$tmp167$byval_copy; + $236 = HEAP32[$231 + 4 >> 2] | 0; + $237 = $OperatorName; + HEAP32[$237 >> 2] = HEAP32[$231 >> 2]; + HEAP32[$237 + 4 >> 2] = $236; label = 66; break; } - __ZN12_GLOBAL__N_110StringViewC2EPKc($27, 54836); - HEAP32[$$byval_copy30 >> 2] = HEAP32[$27 >> 2]; - HEAP32[$$byval_copy30 + 4 >> 2] = HEAP32[$27 + 4 >> 2]; - if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($0, $$byval_copy30) | 0) { - __ZN12_GLOBAL__N_110StringViewC2EPKc($$byval_copy30, 52735); - $304 = $$byval_copy30; - $309 = HEAP32[$304 + 4 >> 2] | 0; - $310 = $2; - HEAP32[$310 >> 2] = HEAP32[$304 >> 2]; - HEAP32[$310 + 4 >> 2] = $309; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp137, 55678); + HEAP32[$agg$tmp167$byval_copy >> 2] = HEAP32[$agg$tmp137 >> 2]; + HEAP32[$agg$tmp167$byval_copy + 4 >> 2] = HEAP32[$agg$tmp137 + 4 >> 2]; + if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($this, $agg$tmp167$byval_copy) | 0) { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp167$byval_copy, 53577); + $241 = $agg$tmp167$byval_copy; + $246 = HEAP32[$241 + 4 >> 2] | 0; + $247 = $OperatorName; + HEAP32[$247 >> 2] = HEAP32[$241 >> 2]; + HEAP32[$247 + 4 >> 2] = $246; label = 66; break; } - __ZN12_GLOBAL__N_110StringViewC2EPKc($28, 54839); - HEAP32[$$byval_copy30 >> 2] = HEAP32[$28 >> 2]; - HEAP32[$$byval_copy30 + 4 >> 2] = HEAP32[$28 + 4 >> 2]; - if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($0, $$byval_copy30) | 0) { - __ZN12_GLOBAL__N_110StringViewC2EPKc($$byval_copy30, 52742); - $315 = $$byval_copy30; - $320 = HEAP32[$315 + 4 >> 2] | 0; - $321 = $2; - HEAP32[$321 >> 2] = HEAP32[$315 >> 2]; - HEAP32[$321 + 4 >> 2] = $320; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp142, 55681); + HEAP32[$agg$tmp167$byval_copy >> 2] = HEAP32[$agg$tmp142 >> 2]; + HEAP32[$agg$tmp167$byval_copy + 4 >> 2] = HEAP32[$agg$tmp142 + 4 >> 2]; + if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($this, $agg$tmp167$byval_copy) | 0) { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp167$byval_copy, 53584); + $251 = $agg$tmp167$byval_copy; + $256 = HEAP32[$251 + 4 >> 2] | 0; + $257 = $OperatorName; + HEAP32[$257 >> 2] = HEAP32[$251 >> 2]; + HEAP32[$257 + 4 >> 2] = $256; label = 66; break; } - __ZN12_GLOBAL__N_110StringViewC2EPKc($29, 54842); - HEAP32[$$byval_copy30 >> 2] = HEAP32[$29 >> 2]; - HEAP32[$$byval_copy30 + 4 >> 2] = HEAP32[$29 + 4 >> 2]; - if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($0, $$byval_copy30) | 0) { - __ZN12_GLOBAL__N_110StringViewC2EPKc($$byval_copy30, 52744); - $326 = $$byval_copy30; - $331 = HEAP32[$326 + 4 >> 2] | 0; - $332 = $2; - HEAP32[$332 >> 2] = HEAP32[$326 >> 2]; - HEAP32[$332 + 4 >> 2] = $331; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp147, 55684); + HEAP32[$agg$tmp167$byval_copy >> 2] = HEAP32[$agg$tmp147 >> 2]; + HEAP32[$agg$tmp167$byval_copy + 4 >> 2] = HEAP32[$agg$tmp147 + 4 >> 2]; + if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($this, $agg$tmp167$byval_copy) | 0) { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp167$byval_copy, 53586); + $261 = $agg$tmp167$byval_copy; + $266 = HEAP32[$261 + 4 >> 2] | 0; + $267 = $OperatorName; + HEAP32[$267 >> 2] = HEAP32[$261 >> 2]; + HEAP32[$267 + 4 >> 2] = $266; label = 66; break; } - __ZN12_GLOBAL__N_110StringViewC2EPKc($30, 54845); - HEAP32[$$byval_copy30 >> 2] = HEAP32[$30 >> 2]; - HEAP32[$$byval_copy30 + 4 >> 2] = HEAP32[$30 + 4 >> 2]; - if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($0, $$byval_copy30) | 0) { - __ZN12_GLOBAL__N_110StringViewC2EPKc($$byval_copy30, 52753); - $337 = $$byval_copy30; - $342 = HEAP32[$337 + 4 >> 2] | 0; - $343 = $2; - HEAP32[$343 >> 2] = HEAP32[$337 >> 2]; - HEAP32[$343 + 4 >> 2] = $342; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp152, 55687); + HEAP32[$agg$tmp167$byval_copy >> 2] = HEAP32[$agg$tmp152 >> 2]; + HEAP32[$agg$tmp167$byval_copy + 4 >> 2] = HEAP32[$agg$tmp152 + 4 >> 2]; + if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($this, $agg$tmp167$byval_copy) | 0) { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp167$byval_copy, 53595); + $271 = $agg$tmp167$byval_copy; + $276 = HEAP32[$271 + 4 >> 2] | 0; + $277 = $OperatorName; + HEAP32[$277 >> 2] = HEAP32[$271 >> 2]; + HEAP32[$277 + 4 >> 2] = $276; label = 66; break; } - __ZN12_GLOBAL__N_110StringViewC2EPKc($31, 54848); - HEAP32[$$byval_copy30 >> 2] = HEAP32[$31 >> 2]; - HEAP32[$$byval_copy30 + 4 >> 2] = HEAP32[$31 + 4 >> 2]; - if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($0, $$byval_copy30) | 0) { - __ZN12_GLOBAL__N_110StringViewC2EPKc($$byval_copy30, 52755); - $348 = $$byval_copy30; - $353 = HEAP32[$348 + 4 >> 2] | 0; - $354 = $2; - HEAP32[$354 >> 2] = HEAP32[$348 >> 2]; - HEAP32[$354 + 4 >> 2] = $353; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp157, 55690); + HEAP32[$agg$tmp167$byval_copy >> 2] = HEAP32[$agg$tmp157 >> 2]; + HEAP32[$agg$tmp167$byval_copy + 4 >> 2] = HEAP32[$agg$tmp157 + 4 >> 2]; + if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($this, $agg$tmp167$byval_copy) | 0) { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp167$byval_copy, 53597); + $281 = $agg$tmp167$byval_copy; + $286 = HEAP32[$281 + 4 >> 2] | 0; + $287 = $OperatorName; + HEAP32[$287 >> 2] = HEAP32[$281 >> 2]; + HEAP32[$287 + 4 >> 2] = $286; label = 66; break; } - __ZN12_GLOBAL__N_110StringViewC2EPKc($32, 54851); - HEAP32[$$byval_copy30 >> 2] = HEAP32[$32 >> 2]; - HEAP32[$$byval_copy30 + 4 >> 2] = HEAP32[$32 + 4 >> 2]; - if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($0, $$byval_copy30) | 0) { - __ZN12_GLOBAL__N_110StringViewC2EPKc($$byval_copy30, 52758); - $359 = $$byval_copy30; - $364 = HEAP32[$359 + 4 >> 2] | 0; - $365 = $2; - HEAP32[$365 >> 2] = HEAP32[$359 >> 2]; - HEAP32[$365 + 4 >> 2] = $364; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp162, 55693); + HEAP32[$agg$tmp167$byval_copy >> 2] = HEAP32[$agg$tmp162 >> 2]; + HEAP32[$agg$tmp167$byval_copy + 4 >> 2] = HEAP32[$agg$tmp162 + 4 >> 2]; + if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($this, $agg$tmp167$byval_copy) | 0) { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp167$byval_copy, 53600); + $291 = $agg$tmp167$byval_copy; + $296 = HEAP32[$291 + 4 >> 2] | 0; + $297 = $OperatorName; + HEAP32[$297 >> 2] = HEAP32[$291 >> 2]; + HEAP32[$297 + 4 >> 2] = $296; label = 66; break; } - __ZN12_GLOBAL__N_110StringViewC2EPKc($33, 54854); - HEAP32[$$byval_copy30 >> 2] = HEAP32[$33 >> 2]; - HEAP32[$$byval_copy30 + 4 >> 2] = HEAP32[$33 + 4 >> 2]; - if (!(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($0, $$byval_copy30) | 0)) { - $$1 = 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp167, 55696); + HEAP32[$agg$tmp167$byval_copy >> 2] = HEAP32[$agg$tmp167 >> 2]; + HEAP32[$agg$tmp167$byval_copy + 4 >> 2] = HEAP32[$agg$tmp167 + 4 >> 2]; + if (!(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($this, $agg$tmp167$byval_copy) | 0)) { + $retval$1 = 0; break; } - __ZN12_GLOBAL__N_110StringViewC2EPKc($$byval_copy30, 52761); - $370 = $$byval_copy30; - $375 = HEAP32[$370 + 4 >> 2] | 0; - $376 = $2; - HEAP32[$376 >> 2] = HEAP32[$370 >> 2]; - HEAP32[$376 + 4 >> 2] = $375; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp167$byval_copy, 53603); + $301 = $agg$tmp167$byval_copy; + $306 = HEAP32[$301 + 4 >> 2] | 0; + $307 = $OperatorName; + HEAP32[$307 >> 2] = HEAP32[$301 >> 2]; + HEAP32[$307 + 4 >> 2] = $306; label = 66; } while (0); if ((label | 0) == 66) { - $380 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0; - $381 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseExprEv($380) | 0; - HEAP32[$$byval_copy30 >> 2] = $381; - HEAP32[$34 >> 2] = 0; - $383 = $381; - L100 : do if (!$381) $$0 = 0; else { - switch ($36 << 24 >> 24) { + $call203 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0; + $call204 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseExprEv($call203) | 0; + HEAP32[$agg$tmp167$byval_copy >> 2] = $call204; + HEAP32[$Init >> 2] = 0; + $311 = $call204; + L100 : do if (!$call204) $retval$0 = 0; else { + switch ($call2 << 24 >> 24) { case 76: case 82: { - $384 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseExprEv($380) | 0; - HEAP32[$34 >> 2] = $384; - if (!$384) { - $$0 = 0; + $call210 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseExprEv($call203) | 0; + HEAP32[$Init >> 2] = $call210; + if (!$call210) { + $retval$0 = 0; break L100; } if ($storemerge << 24 >> 24) { - HEAP32[$$byval_copy30 >> 2] = $384; - HEAP32[$34 >> 2] = $383; + HEAP32[$agg$tmp167$byval_copy >> 2] = $call210; + HEAP32[$Init >> 2] = $311; } break; } default: {} } - $$0 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8FoldExprEJRbRNS_10StringViewERPNS0_4NodeESD_EEESC_DpOT0_($0, $1, $2, $$byval_copy30, $34) | 0; + $retval$0 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8FoldExprEJRbRNS_10StringViewERPNS0_4NodeESD_EEESC_DpOT0_($this, $IsLeftFold, $OperatorName, $agg$tmp167$byval_copy, $Init) | 0; } while (0); - $$1 = $$0; + $retval$1 = $retval$0; } - $$2 = $$1; + $retval$2 = $retval$1; } - $$3 = $$2; - } else $$3 = 0; + $retval$3 = $retval$2; + } else $retval$3 = 0; STACKTOP = sp; - return $$3 | 0; + return $retval$3 | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseTypeEv($0) { - $0 = $0 | 0; - var $$033 = 0, $$10 = 0, $$131 = 0, $$942$ph = 0, $1 = 0, $117 = 0, $119 = 0, $123 = 0, $125 = 0, $127 = 0, $129 = 0, $131 = 0, $133 = 0, $136 = 0, $137 = 0, $138 = 0, $145 = 0, $147 = 0, $151 = 0, $153 = 0, $157 = 0, $159 = 0, $163 = 0, $165 = 0, $169 = 0, $17 = 0, $171 = 0, $175 = 0, $177 = 0, $179 = 0, $180 = 0, $187 = 0, $189 = 0, $19 = 0, $191 = 0, $193 = 0, $2 = 0, $3 = 0, $4 = 0, $6 = 0, $8 = 0, $spec$select = 0, $spec$select43 = 0, label = 0, sp = 0; +function _vfscanf($f, $fmt, $ap) { + $f = $f | 0; + $fmt = $fmt | 0; + $ap = $ap | 0; + var $$compoundliteral$sroa$2$0$$sroa_idx8 = 0, $$compoundliteral333 = 0, $$ph$ph = 0, $1 = 0, $10 = 0, $102 = 0, $109 = 0, $116 = 0, $119 = 0, $120 = 0, $127 = 0, $128 = 0, $129 = 0, $131 = 0, $134 = 0, $139 = 0, $145 = 0, $147 = 0, $150 = 0, $155 = 0, $160 = 0, $17 = 0, $170 = 0, $171 = 0, $172 = 0, $174 = 0, $177 = 0, $178 = 0, $179 = 0, $180 = 0, $181 = 0, $182 = 0, $183 = 0, $184 = 0, $185 = 0, $186 = 0, $187 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $24 = 0, $27 = 0, $28 = 0, $34 = 0, $4 = 0, $43 = 0, $44 = 0, $48 = 0, $49 = 0, $54 = 0, $60 = 0, $67 = 0, $70 = 0, $72 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $94 = 0, $98 = 0, $add$ptr = 0, $alloc$0 = 0, $alloc$1 = 0, $alloc$2 = 0, $arrayidx = 0, $arrayidx213 = 0, $arrayidx218 = 0, $arrayidx239 = 0, $arrayidx248 = 0, $arrayidx263 = 0, $arrayidx34 = 0, $base$0 = 0, $c$0304 = 0, $call310 = 0, $call352 = 0, $call365 = 0, $call395 = 0, $call529 = 0.0, $cmp112 = 0, $cmp120 = 0, $cmp132 = 0, $cmp202 = 0, $cmp223 = 0, $cmp304 = 0, $cmp32 = 0, $cond = 0, $cond155 = 0, $cond16 = 0, $cond303 = 0, $cond328 = 0, $cond381 = 0, $cond419 = 0, $cond441 = 0, $cond53 = 0, $conv131 = 0, $conv238 = 0, $conv247 = 0, $conv289$pre$phiZ2D = 0, $dest$0 = 0, $i$0$ph = 0, $i$0$ph$ph = 0, $i$1 = 0, $i$2 = 0, $i$2$ph = 0, $i$3 = 0, $i$4 = 0, $incdec$ptr106 = 0, $incdec$ptr109$pre$phiZZ2D = 0, $incdec$ptr164 = 0, $incdec$ptr221 = 0, $incdec$ptr25 = 0, $incdec$ptr454 = 0, $incdec$ptr99 = 0, $invert$0 = 0, $k$0$ph$ph = 0, $k$2$ph = 0, $matches$0308 = 0, $matches$1 = 0, $matches$2 = 0, $matches$3 = 0, $p$0312 = 0, $p$1 = 0, $p$10 = 0, $p$11 = 0, $p$12 = 0, $p$2 = 0, $p$3$lcssa = 0, $p$3299 = 0, $p$4 = 0, $p$5 = 0, $p$6 = 0, $p$7 = 0, $p$8 = 0, $p$9 = 0, $rend = 0, $rpos42 = 0, $s$0306 = 0, $s$1 = 0, $s$10 = 0, $s$2$ph = 0, $s$5 = 0, $s$6 = 0, $s$7 = 0, $s$8 = 0, $s$9 = 0, $scanset = 0, $shcnt = 0, $shend43 = 0, $size$0 = 0, $spec$select = 0, $spec$select219 = 0, $st = 0, $sub$ptr$sub = 0, $sub$ptr$sub172 = 0, $sub$ptr$sub462 = 0, $sub$ptr$sub514 = 0, $sub$ptr$sub535 = 0, $sub$ptr$sub555 = 0, $sub98 = 0, $tobool307 = 0, $tobool339 = 0, $trunc = 0, $wc = 0, $wcs$6 = 0, $width$0$lcssa = 0, $width$0300 = 0, $width$1 = 0, label = 0, sp = 0, $i$2$looptemp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 288 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(288); + $st = sp + 264 | 0; + $scanset = sp; + $wc = sp + 260 | 0; + $$compoundliteral333 = sp + 272 | 0; + if ((HEAP32[$f + 76 >> 2] | 0) > -1) $cond = ___lockfile($f) | 0; else $cond = 0; + $1 = HEAP8[$fmt >> 0] | 0; + L4 : do if ($1 << 24 >> 24) { + $rpos42 = $f + 4 | 0; + $shend43 = $f + 104 | 0; + $shcnt = $f + 120 | 0; + $rend = $f + 8 | 0; + $arrayidx213 = $scanset + 10 | 0; + $arrayidx218 = $scanset + 33 | 0; + $arrayidx239 = $scanset + 46 | 0; + $arrayidx248 = $scanset + 94 | 0; + $$compoundliteral$sroa$2$0$$sroa_idx8 = $st + 4 | 0; + $178 = 0; + $2 = $1; + $20 = 0; + $21 = 0; + $matches$0308 = 0; + $p$0312 = $fmt; + $s$0306 = 0; + L6 : while (1) { + L8 : do if (!(_isspace($2 & 255) | 0)) { + $cmp32 = (HEAP8[$p$0312 >> 0] | 0) == 37; + L10 : do if ($cmp32) { + $arrayidx34 = $p$0312 + 1 | 0; + $27 = HEAP8[$arrayidx34 >> 0] | 0; + L12 : do switch ($27 << 24 >> 24) { + case 37: + { + break L10; + break; + } + case 42: + { + $dest$0 = 0; + $p$2 = $p$0312 + 2 | 0; + break; + } + default: + { + if (_isdigit($27 & 255) | 0 ? (HEAP8[$p$0312 + 2 >> 0] | 0) == 36 : 0) { + $dest$0 = _arg_n_767($ap, (HEAPU8[$arrayidx34 >> 0] | 0) + -48 | 0) | 0; + $p$2 = $p$0312 + 3 | 0; + break L12; + } + $43 = (HEAP32[$ap >> 2] | 0) + (4 - 1) & ~(4 - 1); + $44 = HEAP32[$43 >> 2] | 0; + HEAP32[$ap >> 2] = $43 + 4; + $dest$0 = $44; + $p$2 = $arrayidx34; + } + } while (0); + if (!(_isdigit(HEAPU8[$p$2 >> 0] | 0) | 0)) { + $p$3$lcssa = $p$2; + $width$0$lcssa = 0; + } else { + $p$3299 = $p$2; + $width$0300 = 0; + while (1) { + $sub98 = ($width$0300 * 10 | 0) + -48 + (HEAPU8[$p$3299 >> 0] | 0) | 0; + $incdec$ptr99 = $p$3299 + 1 | 0; + if (!(_isdigit(HEAPU8[$incdec$ptr99 >> 0] | 0) | 0)) { + $p$3$lcssa = $incdec$ptr99; + $width$0$lcssa = $sub98; + break; + } else { + $p$3299 = $incdec$ptr99; + $width$0300 = $sub98; + } + } + } + $48 = HEAP8[$p$3$lcssa >> 0] | 0; + $incdec$ptr106 = $p$3$lcssa + 1 | 0; + if ($48 << 24 >> 24 == 109) { + $183 = 0; + $49 = HEAP8[$incdec$ptr106 >> 0] | 0; + $alloc$0 = ($dest$0 | 0) != 0 & 1; + $incdec$ptr109$pre$phiZZ2D = $p$3$lcssa + 2 | 0; + $p$4 = $incdec$ptr106; + $s$1 = 0; + } else { + $183 = $178; + $49 = $48; + $alloc$0 = 0; + $incdec$ptr109$pre$phiZZ2D = $incdec$ptr106; + $p$4 = $p$3$lcssa; + $s$1 = $s$0306; + } + switch ($49 << 24 >> 24) { + case 104: + { + $cmp112 = (HEAP8[$incdec$ptr109$pre$phiZZ2D >> 0] | 0) == 104; + $p$5 = $cmp112 ? $p$4 + 2 | 0 : $incdec$ptr109$pre$phiZZ2D; + $size$0 = $cmp112 ? -2 : -1; + break; + } + case 108: + { + $cmp120 = (HEAP8[$incdec$ptr109$pre$phiZZ2D >> 0] | 0) == 108; + $p$5 = $cmp120 ? $p$4 + 2 | 0 : $incdec$ptr109$pre$phiZZ2D; + $size$0 = $cmp120 ? 3 : 1; + break; + } + case 106: + { + $p$5 = $incdec$ptr109$pre$phiZZ2D; + $size$0 = 3; + break; + } + case 116: + case 122: + { + $p$5 = $incdec$ptr109$pre$phiZZ2D; + $size$0 = 1; + break; + } + case 76: + { + $p$5 = $incdec$ptr109$pre$phiZZ2D; + $size$0 = 2; + 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: + { + $p$5 = $p$4; + $size$0 = 0; + break; + } + default: + { + $184 = $183; + $s$8 = $s$1; + label = 143; + break L6; + } + } + $conv131 = HEAPU8[$p$5 >> 0] | 0; + $cmp132 = ($conv131 & 47 | 0) == 3; + $spec$select = $cmp132 ? $conv131 | 32 : $conv131; + $spec$select219 = $cmp132 ? 1 : $size$0; + $trunc = $spec$select & 255; + switch ($trunc << 24 >> 24) { + case 99: + { + $170 = $20; + $171 = $21; + $width$1 = ($width$0$lcssa | 0) > 1 ? $width$0$lcssa : 1; + break; + } + case 91: + { + $170 = $20; + $171 = $21; + $width$1 = $width$0$lcssa; + break; + } + case 110: + { + _store_int_768($dest$0, $spec$select219, $20, $21); + $179 = $183; + $180 = $20; + $181 = $21; + $matches$1 = $matches$0308; + $p$12 = $p$5; + $s$7 = $s$1; + break L8; + break; + } + default: + { + ___shlim($f, 0, 0); + do { + $54 = HEAP32[$rpos42 >> 2] | 0; + if ($54 >>> 0 < (HEAP32[$shend43 >> 2] | 0) >>> 0) { + HEAP32[$rpos42 >> 2] = $54 + 1; + $cond155 = HEAPU8[$54 >> 0] | 0; + } else $cond155 = ___shgetc($f) | 0; + } while ((_isspace($cond155) | 0) != 0); + if (!(HEAP32[$shend43 >> 2] | 0)) $67 = HEAP32[$rpos42 >> 2] | 0; else { + $incdec$ptr164 = (HEAP32[$rpos42 >> 2] | 0) + -1 | 0; + HEAP32[$rpos42 >> 2] = $incdec$ptr164; + $67 = $incdec$ptr164; + } + $60 = $shcnt; + $sub$ptr$sub172 = $67 - (HEAP32[$rend >> 2] | 0) | 0; + $70 = _i64Add(HEAP32[$60 >> 2] | 0, HEAP32[$60 + 4 >> 2] | 0, $20 | 0, $21 | 0) | 0; + $72 = _i64Add($70 | 0, getTempRet0() | 0, $sub$ptr$sub172 | 0, (($sub$ptr$sub172 | 0) < 0) << 31 >> 31 | 0) | 0; + $170 = $72; + $171 = getTempRet0() | 0; + $width$1 = $width$0$lcssa; + } + } + $75 = (($width$1 | 0) < 0) << 31 >> 31; + ___shlim($f, $width$1, $75); + $76 = HEAP32[$rpos42 >> 2] | 0; + $77 = HEAP32[$shend43 >> 2] | 0; + if ($76 >>> 0 < $77 >>> 0) { + HEAP32[$rpos42 >> 2] = $76 + 1; + $78 = $77; + } else { + if ((___shgetc($f) | 0) < 0) { + $184 = $183; + $s$8 = $s$1; + label = 143; + break L6; + } + $78 = HEAP32[$shend43 >> 2] | 0; + } + if ($78 | 0) HEAP32[$rpos42 >> 2] = (HEAP32[$rpos42 >> 2] | 0) + -1; + L59 : do switch ($trunc << 24 >> 24) { + case 91: + case 99: + case 115: + { + $cmp202 = ($spec$select | 0) == 99; + L61 : do if (($spec$select | 16 | 0) == 115) { + _memset($scanset | 0, -1, 257) | 0; + HEAP8[$scanset >> 0] = 0; + if (($spec$select | 0) == 115) { + HEAP8[$arrayidx218 >> 0] = 0; + HEAP16[$arrayidx213 >> 1] = 0; + HEAP16[$arrayidx213 + 2 >> 1] = 0; + HEAP8[$arrayidx213 + 4 >> 0] = 0; + $p$10 = $p$5; + } else $p$10 = $p$5; + } else { + $incdec$ptr221 = $p$5 + 1 | 0; + $cmp223 = (HEAP8[$incdec$ptr221 >> 0] | 0) == 94; + $invert$0 = $cmp223 & 1; + $p$6 = $cmp223 ? $p$5 + 2 | 0 : $incdec$ptr221; + _memset($scanset | 0, $invert$0 | 0, 257) | 0; + HEAP8[$scanset >> 0] = 0; + switch (HEAP8[$p$6 >> 0] | 0) { + case 45: + { + $conv238 = ($invert$0 ^ 1) & 255; + HEAP8[$arrayidx239 >> 0] = $conv238; + $conv289$pre$phiZ2D = $conv238; + $p$7 = $p$6 + 1 | 0; + break; + } + case 93: + { + $conv247 = ($invert$0 ^ 1) & 255; + HEAP8[$arrayidx248 >> 0] = $conv247; + $conv289$pre$phiZ2D = $conv247; + $p$7 = $p$6 + 1 | 0; + break; + } + default: + { + $conv289$pre$phiZ2D = ($invert$0 ^ 1) & 255; + $p$7 = $p$6; + } + } + $p$8 = $p$7; + while (1) { + $84 = HEAP8[$p$8 >> 0] | 0; + L72 : do switch ($84 << 24 >> 24) { + case 0: + { + $184 = $183; + $s$8 = $s$1; + label = 143; + break L6; + break; + } + case 93: + { + $p$10 = $p$8; + break L61; + break; + } + case 45: + { + $arrayidx263 = $p$8 + 1 | 0; + $85 = HEAP8[$arrayidx263 >> 0] | 0; + switch ($85 << 24 >> 24) { + case 93: + case 0: + { + $88 = 45; + $p$9 = $p$8; + break L72; + break; + } + default: + {} + } + $86 = HEAP8[$p$8 + -1 >> 0] | 0; + if (($86 & 255) < ($85 & 255)) { + $c$0304 = $86 & 255; + do { + $c$0304 = $c$0304 + 1 | 0; + HEAP8[$scanset + $c$0304 >> 0] = $conv289$pre$phiZ2D; + $87 = HEAP8[$arrayidx263 >> 0] | 0; + } while ($c$0304 >>> 0 < ($87 & 255) >>> 0); + $88 = $87; + $p$9 = $arrayidx263; + } else { + $88 = $85; + $p$9 = $arrayidx263; + } + break; + } + default: + { + $88 = $84; + $p$9 = $p$8; + } + } while (0); + HEAP8[$scanset + (($88 & 255) + 1) >> 0] = $conv289$pre$phiZ2D; + $p$8 = $p$9 + 1 | 0; + } + } while (0); + $cond303 = $cmp202 ? $width$1 + 1 | 0 : 31; + $cmp304 = ($spec$select219 | 0) == 1; + $tobool307 = ($alloc$0 | 0) != 0; + L80 : do if ($cmp304) { + if ($tobool307) { + $call310 = _malloc($cond303 << 2) | 0; + if (!$call310) { + $184 = 0; + $s$8 = 0; + label = 143; + break L6; + } else $186 = $call310; + } else $186 = $dest$0; + HEAP32[$st >> 2] = 0; + HEAP32[$$compoundliteral$sroa$2$0$$sroa_idx8 >> 2] = 0; + $$ph$ph = $186; + $i$0$ph$ph = 0; + $k$0$ph$ph = $cond303; + L85 : while (1) { + $tobool339 = ($$ph$ph | 0) == 0; + $i$0$ph = $i$0$ph$ph; + while (1) { + L89 : while (1) { + $89 = HEAP32[$rpos42 >> 2] | 0; + if ($89 >>> 0 < (HEAP32[$shend43 >> 2] | 0) >>> 0) { + HEAP32[$rpos42 >> 2] = $89 + 1; + $cond328 = HEAPU8[$89 >> 0] | 0; + } else $cond328 = ___shgetc($f) | 0; + if (!(HEAP8[$scanset + ($cond328 + 1) >> 0] | 0)) break L85; + HEAP8[$$compoundliteral333 >> 0] = $cond328; + switch (_mbrtowc($wc, $$compoundliteral333, 1, $st) | 0) { + case -1: + { + $184 = $$ph$ph; + $s$8 = 0; + label = 143; + break L6; + break; + } + case -2: + break; + default: + break L89; + } + } + if ($tobool339) $i$1 = $i$0$ph; else { + HEAP32[$$ph$ph + ($i$0$ph << 2) >> 2] = HEAP32[$wc >> 2]; + $i$1 = $i$0$ph + 1 | 0; + } + if ($tobool307 & ($i$1 | 0) == ($k$0$ph$ph | 0)) break; else $i$0$ph = $i$1; + } + $k$0$ph$ph = $k$0$ph$ph << 1 | 1; + $call352 = _realloc($$ph$ph, $k$0$ph$ph << 2) | 0; + if (!$call352) { + $184 = $$ph$ph; + $s$8 = 0; + label = 143; + break L6; + } else { + $$ph$ph = $call352; + $i$0$ph$ph = $i$1; + } + } + if (!(_mbsinit($st) | 0)) { + $184 = $$ph$ph; + $s$8 = 0; + label = 143; + break L6; + } else { + $187 = $$ph$ph; + $i$4 = $i$0$ph; + $s$5 = 0; + $wcs$6 = $$ph$ph; + } + } else { + if ($tobool307) { + $call365 = _malloc($cond303) | 0; + if (!$call365) { + $184 = 0; + $s$8 = 0; + label = 143; + break L6; + } + $i$2$ph = 0; + $k$2$ph = $cond303; + $s$2$ph = $call365; + while (1) { + $i$2 = $i$2$ph; + do { + $94 = HEAP32[$rpos42 >> 2] | 0; + if ($94 >>> 0 < (HEAP32[$shend43 >> 2] | 0) >>> 0) { + HEAP32[$rpos42 >> 2] = $94 + 1; + $cond381 = HEAPU8[$94 >> 0] | 0; + } else $cond381 = ___shgetc($f) | 0; + if (!(HEAP8[$scanset + ($cond381 + 1) >> 0] | 0)) { + $187 = 0; + $i$4 = $i$2; + $s$5 = $s$2$ph; + $wcs$6 = 0; + break L80; + } + $i$2$looptemp = $i$2; + $i$2 = $i$2 + 1 | 0; + HEAP8[$s$2$ph + $i$2$looptemp >> 0] = $cond381; + } while (($i$2 | 0) != ($k$2$ph | 0)); + $k$2$ph = $k$2$ph << 1 | 1; + $call395 = _realloc($s$2$ph, $k$2$ph) | 0; + if (!$call395) { + $184 = 0; + $s$8 = $s$2$ph; + label = 143; + break L6; + } else { + $i$2$ph = $i$2; + $s$2$ph = $call395; + } + } + } + if (!$dest$0) while (1) { + $102 = HEAP32[$rpos42 >> 2] | 0; + if ($102 >>> 0 < (HEAP32[$shend43 >> 2] | 0) >>> 0) { + HEAP32[$rpos42 >> 2] = $102 + 1; + $cond441 = HEAPU8[$102 >> 0] | 0; + } else $cond441 = ___shgetc($f) | 0; + if (!(HEAP8[$scanset + ($cond441 + 1) >> 0] | 0)) { + $187 = 0; + $i$4 = 0; + $s$5 = 0; + $wcs$6 = 0; + break L80; + } + } + $i$3 = 0; + while (1) { + $98 = HEAP32[$rpos42 >> 2] | 0; + if ($98 >>> 0 < (HEAP32[$shend43 >> 2] | 0) >>> 0) { + HEAP32[$rpos42 >> 2] = $98 + 1; + $cond419 = HEAPU8[$98 >> 0] | 0; + } else $cond419 = ___shgetc($f) | 0; + if (!(HEAP8[$scanset + ($cond419 + 1) >> 0] | 0)) { + $187 = 0; + $i$4 = $i$3; + $s$5 = $dest$0; + $wcs$6 = 0; + break L80; + } + HEAP8[$dest$0 + $i$3 >> 0] = $cond419; + $i$3 = $i$3 + 1 | 0; + } + } while (0); + if (!(HEAP32[$shend43 >> 2] | 0)) $116 = HEAP32[$rpos42 >> 2] | 0; else { + $incdec$ptr454 = (HEAP32[$rpos42 >> 2] | 0) + -1 | 0; + HEAP32[$rpos42 >> 2] = $incdec$ptr454; + $116 = $incdec$ptr454; + } + $109 = $shcnt; + $sub$ptr$sub462 = $116 - (HEAP32[$rend >> 2] | 0) | 0; + $119 = _i64Add(HEAP32[$109 >> 2] | 0, HEAP32[$109 + 4 >> 2] | 0, $sub$ptr$sub462 | 0, (($sub$ptr$sub462 | 0) < 0) << 31 >> 31 | 0) | 0; + $120 = getTempRet0() | 0; + if (($119 | 0) == 0 & ($120 | 0) == 0) { + $177 = $187; + $alloc$2 = $alloc$0; + $matches$2 = $matches$0308; + $s$10 = $s$5; + break L6; + } + if (!(($119 | 0) == ($width$1 | 0) & ($120 | 0) == ($75 | 0) | $cmp202 ^ 1)) { + $177 = $187; + $alloc$2 = $alloc$0; + $matches$2 = $matches$0308; + $s$10 = $s$5; + break L6; + } + do if ($tobool307) if ($cmp304) { + HEAP32[$dest$0 >> 2] = $wcs$6; + break; + } else { + HEAP32[$dest$0 >> 2] = $s$5; + break; + } while (0); + if ($cmp202) { + $185 = $187; + $p$11 = $p$10; + $s$6 = $s$5; + } else { + if ($wcs$6 | 0) HEAP32[$wcs$6 + ($i$4 << 2) >> 2] = 0; + if (!$s$5) { + $185 = $187; + $p$11 = $p$10; + $s$6 = 0; + break L59; + } + HEAP8[$s$5 + $i$4 >> 0] = 0; + $185 = $187; + $p$11 = $p$10; + $s$6 = $s$5; + } + break; + } + case 120: + case 88: + case 112: + { + $base$0 = 16; + label = 131; + break; + } + case 111: + { + $base$0 = 8; + label = 131; + break; + } + case 117: + case 100: + { + $base$0 = 10; + label = 131; + break; + } + case 105: + { + $base$0 = 0; + label = 131; + break; + } + case 71: + case 103: + case 70: + case 102: + case 69: + case 101: + case 65: + case 97: + { + $call529 = +___floatscan($f, $spec$select219, 0); + $145 = $shcnt; + $147 = HEAP32[$145 >> 2] | 0; + $150 = HEAP32[$145 + 4 >> 2] | 0; + $sub$ptr$sub535 = (HEAP32[$rpos42 >> 2] | 0) - (HEAP32[$rend >> 2] | 0) | 0; + $155 = _i64Subtract(0, 0, $sub$ptr$sub535 | 0, (($sub$ptr$sub535 | 0) < 0) << 31 >> 31 | 0) | 0; + if (($147 | 0) == ($155 | 0) & ($150 | 0) == (getTempRet0() | 0)) { + $177 = $183; + $alloc$2 = $alloc$0; + $matches$2 = $matches$0308; + $s$10 = $s$1; + break L6; + } + if (!$dest$0) { + $185 = $183; + $p$11 = $p$5; + $s$6 = $s$1; + } else switch ($spec$select219 | 0) { + case 0: + { + HEAPF32[$dest$0 >> 2] = $call529; + $185 = $183; + $p$11 = $p$5; + $s$6 = $s$1; + break L59; + break; + } + case 1: + { + HEAPF64[$dest$0 >> 3] = $call529; + $185 = $183; + $p$11 = $p$5; + $s$6 = $s$1; + break L59; + break; + } + case 2: + { + HEAPF64[$dest$0 >> 3] = $call529; + $185 = $183; + $p$11 = $p$5; + $s$6 = $s$1; + break L59; + break; + } + default: + { + $185 = $183; + $p$11 = $p$5; + $s$6 = $s$1; + break L59; + } + } + break; + } + default: + { + $185 = $183; + $p$11 = $p$5; + $s$6 = $s$1; + } + } while (0); + do if ((label | 0) == 131) { + label = 0; + $127 = ___intscan($f, $base$0, 0, -1, -1) | 0; + $128 = getTempRet0() | 0; + $129 = $shcnt; + $131 = HEAP32[$129 >> 2] | 0; + $134 = HEAP32[$129 + 4 >> 2] | 0; + $sub$ptr$sub514 = (HEAP32[$rpos42 >> 2] | 0) - (HEAP32[$rend >> 2] | 0) | 0; + $139 = _i64Subtract(0, 0, $sub$ptr$sub514 | 0, (($sub$ptr$sub514 | 0) < 0) << 31 >> 31 | 0) | 0; + if (($131 | 0) == ($139 | 0) & ($134 | 0) == (getTempRet0() | 0)) { + $177 = $183; + $alloc$2 = $alloc$0; + $matches$2 = $matches$0308; + $s$10 = $s$1; + break L6; + } + if (($dest$0 | 0) != 0 & ($spec$select | 0) == 112) { + HEAP32[$dest$0 >> 2] = $127; + $185 = $183; + $p$11 = $p$5; + $s$6 = $s$1; + break; + } else { + _store_int_768($dest$0, $spec$select219, $127, $128); + $185 = $183; + $p$11 = $p$5; + $s$6 = $s$1; + break; + } + } while (0); + $160 = $shcnt; + $sub$ptr$sub555 = (HEAP32[$rpos42 >> 2] | 0) - (HEAP32[$rend >> 2] | 0) | 0; + $172 = _i64Add(HEAP32[$160 >> 2] | 0, HEAP32[$160 + 4 >> 2] | 0, $170 | 0, $171 | 0) | 0; + $174 = _i64Add($172 | 0, getTempRet0() | 0, $sub$ptr$sub555 | 0, (($sub$ptr$sub555 | 0) < 0) << 31 >> 31 | 0) | 0; + $179 = $185; + $180 = $174; + $181 = getTempRet0() | 0; + $matches$1 = $matches$0308 + (($dest$0 | 0) != 0 & 1) | 0; + $p$12 = $p$11; + $s$7 = $s$6; + break L8; + } while (0); + $add$ptr = $p$0312 + ($cmp32 & 1) | 0; + ___shlim($f, 0, 0); + $28 = HEAP32[$rpos42 >> 2] | 0; + if ($28 >>> 0 < (HEAP32[$shend43 >> 2] | 0) >>> 0) { + HEAP32[$rpos42 >> 2] = $28 + 1; + $cond53 = HEAPU8[$28 >> 0] | 0; + } else $cond53 = ___shgetc($f) | 0; + if (($cond53 | 0) != (HEAPU8[$add$ptr >> 0] | 0)) { + label = 23; + break L6; + } + $34 = _i64Add($20 | 0, $21 | 0, 1, 0) | 0; + $179 = $178; + $180 = $34; + $181 = getTempRet0() | 0; + $matches$1 = $matches$0308; + $p$12 = $add$ptr; + $s$7 = $s$0306; + } else { + $p$1 = $p$0312; + while (1) { + $arrayidx = $p$1 + 1 | 0; + if (!(_isspace(HEAPU8[$arrayidx >> 0] | 0) | 0)) break; else $p$1 = $arrayidx; + } + ___shlim($f, 0, 0); + do { + $4 = HEAP32[$rpos42 >> 2] | 0; + if ($4 >>> 0 < (HEAP32[$shend43 >> 2] | 0) >>> 0) { + HEAP32[$rpos42 >> 2] = $4 + 1; + $cond16 = HEAPU8[$4 >> 0] | 0; + } else $cond16 = ___shgetc($f) | 0; + } while ((_isspace($cond16) | 0) != 0); + if (!(HEAP32[$shend43 >> 2] | 0)) $17 = HEAP32[$rpos42 >> 2] | 0; else { + $incdec$ptr25 = (HEAP32[$rpos42 >> 2] | 0) + -1 | 0; + HEAP32[$rpos42 >> 2] = $incdec$ptr25; + $17 = $incdec$ptr25; + } + $10 = $shcnt; + $sub$ptr$sub = $17 - (HEAP32[$rend >> 2] | 0) | 0; + $22 = _i64Add(HEAP32[$10 >> 2] | 0, HEAP32[$10 + 4 >> 2] | 0, $20 | 0, $21 | 0) | 0; + $24 = _i64Add($22 | 0, getTempRet0() | 0, $sub$ptr$sub | 0, (($sub$ptr$sub | 0) < 0) << 31 >> 31 | 0) | 0; + $179 = $178; + $180 = $24; + $181 = getTempRet0() | 0; + $matches$1 = $matches$0308; + $p$12 = $p$1; + $s$7 = $s$0306; + } while (0); + $p$0312 = $p$12 + 1 | 0; + $2 = HEAP8[$p$0312 >> 0] | 0; + if (!($2 << 24 >> 24)) { + $matches$3 = $matches$1; + break L4; + } else { + $178 = $179; + $20 = $180; + $21 = $181; + $matches$0308 = $matches$1; + $s$0306 = $s$7; + } + } + if ((label | 0) == 23) { + if (HEAP32[$shend43 >> 2] | 0) HEAP32[$rpos42 >> 2] = (HEAP32[$rpos42 >> 2] | 0) + -1; + if (($matches$0308 | 0) != 0 | ($cond53 | 0) > -1) { + $matches$3 = $matches$0308; + break; + } else { + $182 = $178; + $alloc$1 = 0; + $s$9 = $s$0306; + label = 144; + } + } else if ((label | 0) == 143) if (!$matches$0308) { + $182 = $184; + $alloc$1 = $alloc$0; + $s$9 = $s$8; + label = 144; + } else { + $177 = $184; + $alloc$2 = $alloc$0; + $matches$2 = $matches$0308; + $s$10 = $s$8; + } + if ((label | 0) == 144) { + $177 = $182; + $alloc$2 = $alloc$1; + $matches$2 = -1; + $s$10 = $s$9; + } + if (!$alloc$2) $matches$3 = $matches$2; else { + _free($s$10); + _free($177); + $matches$3 = $matches$2; + } + } else $matches$3 = 0; while (0); + if ($cond | 0) ___unlockfile($f); + STACKTOP = sp; + return $matches$3 | 0; +} + +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseTypeEv($this) { + $this = $this | 0; + var $39 = 0, $AfterQuals$1 = 0, $Res = 0, $Result = 0, $call = 0, $call177 = 0, $call180 = 0, $call185 = 0, $call188 = 0, $call193 = 0, $call196 = 0, $call199 = 0, $call202 = 0, $call217 = 0, $call219 = 0, $call220 = 0, $call231 = 0, $call235 = 0, $call244 = 0, $call248 = 0, $call255 = 0, $call259 = 0, $call267 = 0, $call272 = 0, $call279 = 0, $call283 = 0, $call291 = 0, $call295 = 0, $call306 = 0, $call307 = 0, $call320 = 0, $call324 = 0, $call331 = 0, $call42 = 0, $call46 = 0, $cmp = 0, $cmp6 = 0, $ref$tmp = 0, $retval$0 = 0, $retval$10 = 0, $retval$9$ph = 0, $spec$select = 0, $spec$select28 = 0, label = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 32 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $1 = sp + 16 | 0; - $2 = sp + 8 | 0; - $3 = sp; - HEAP32[$1 >> 2] = 0; - $4 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($0, 0) | 0; - L1 : do switch ($4 << 24 >> 24 | 0) { + $Result = sp + 16 | 0; + $Res = sp + 8 | 0; + $ref$tmp = sp; + HEAP32[$Result >> 2] = 0; + $call = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($this, 0) | 0; + L1 : do switch ($call << 24 >> 24 | 0) { case 75: case 86: case 114: { - $6 = $4 << 24 >> 24 == 114; - $spec$select = $6 & 1; - $8 = (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($0, $spec$select) | 0) << 24 >> 24 == 86; - $$131 = $8 ? ($6 ? 2 : 1) : $spec$select; - $spec$select43 = $$131 + ((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($0, $$131) | 0) << 24 >> 24 == 75 & 1) | 0; - switch ((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($0, $spec$select43) | 0) << 24 >> 24) { + $cmp = $call << 24 >> 24 == 114; + $spec$select = $cmp & 1; + $cmp6 = (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($this, $spec$select) | 0) << 24 >> 24 == 86; + $AfterQuals$1 = $cmp6 ? ($cmp ? 2 : 1) : $spec$select; + $spec$select28 = $AfterQuals$1 + ((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($this, $AfterQuals$1) | 0) << 24 >> 24 == 75 & 1) | 0; + switch ((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($this, $spec$select28) | 0) << 24 >> 24) { case 70: break; case 68: { - switch ((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($0, $spec$select43 + 1 | 0) | 0) << 24 >> 24) { + switch ((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($this, $spec$select28 + 1 | 0) | 0) << 24 >> 24) { case 120: case 119: case 79: @@ -15819,9 +17903,9 @@ function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14Mang break L1; } } - $17 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E17parseFunctionTypeEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0) | 0; - HEAP32[$1 >> 2] = $17; - $193 = $17; + $call42 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E17parseFunctionTypeEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0) | 0; + HEAP32[$Result >> 2] = $call42; + $39 = $call42; label = 81; break; } @@ -15832,234 +17916,234 @@ function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14Mang } case 118: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 1; - $$10 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA5_KcEEEPNS0_4NodeEDpOT0_($0, 57068) | 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 1; + $retval$10 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA5_KcEEEPNS0_4NodeEDpOT0_($this, 57910) | 0; break; } case 119: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 1; - $$10 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA8_KcEEEPNS0_4NodeEDpOT0_($0) | 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 1; + $retval$10 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA8_KcEEEPNS0_4NodeEDpOT0_($this) | 0; break; } case 98: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 1; - $$10 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA5_KcEEEPNS0_4NodeEDpOT0_($0, 57073) | 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 1; + $retval$10 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA5_KcEEEPNS0_4NodeEDpOT0_($this, 57915) | 0; break; } case 99: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 1; - $$10 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA5_KcEEEPNS0_4NodeEDpOT0_($0, 57078) | 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 1; + $retval$10 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA5_KcEEEPNS0_4NodeEDpOT0_($this, 57920) | 0; break; } case 97: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 1; - $$10 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA12_KcEEEPNS0_4NodeEDpOT0_($0, 57083) | 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 1; + $retval$10 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA12_KcEEEPNS0_4NodeEDpOT0_($this, 57925) | 0; break; } case 104: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 1; - $$10 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA14_KcEEEPNS0_4NodeEDpOT0_($0, 57095) | 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 1; + $retval$10 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA14_KcEEEPNS0_4NodeEDpOT0_($this, 57937) | 0; break; } case 115: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 1; - $$10 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA6_KcEEEPNS0_4NodeEDpOT0_($0, 57109) | 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 1; + $retval$10 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA6_KcEEEPNS0_4NodeEDpOT0_($this, 57951) | 0; break; } case 116: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 1; - $$10 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA15_KcEEEPNS0_4NodeEDpOT0_($0, 57115) | 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 1; + $retval$10 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA15_KcEEEPNS0_4NodeEDpOT0_($this, 57957) | 0; break; } case 105: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 1; - $$10 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA4_KcEEEPNS0_4NodeEDpOT0_($0, 57130) | 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 1; + $retval$10 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA4_KcEEEPNS0_4NodeEDpOT0_($this, 57972) | 0; break; } case 106: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 1; - $$10 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA13_KcEEEPNS0_4NodeEDpOT0_($0, 57134) | 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 1; + $retval$10 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA13_KcEEEPNS0_4NodeEDpOT0_($this, 57976) | 0; break; } case 108: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 1; - $$10 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA5_KcEEEPNS0_4NodeEDpOT0_($0, 57147) | 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 1; + $retval$10 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA5_KcEEEPNS0_4NodeEDpOT0_($this, 57989) | 0; break; } case 109: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 1; - $$10 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA14_KcEEEPNS0_4NodeEDpOT0_($0, 57152) | 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 1; + $retval$10 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA14_KcEEEPNS0_4NodeEDpOT0_($this, 57994) | 0; break; } case 120: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 1; - $$10 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA10_KcEEEPNS0_4NodeEDpOT0_($0, 51450) | 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 1; + $retval$10 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA10_KcEEEPNS0_4NodeEDpOT0_($this, 52292) | 0; break; } case 121: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 1; - $$10 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA19_KcEEEPNS0_4NodeEDpOT0_($0) | 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 1; + $retval$10 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA19_KcEEEPNS0_4NodeEDpOT0_($this) | 0; break; } case 110: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 1; - $$10 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA9_KcEEEPNS0_4NodeEDpOT0_($0, 51460) | 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 1; + $retval$10 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA9_KcEEEPNS0_4NodeEDpOT0_($this, 52302) | 0; break; } case 111: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 1; - $$10 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA18_KcEEEPNS0_4NodeEDpOT0_($0, 51469) | 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 1; + $retval$10 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA18_KcEEEPNS0_4NodeEDpOT0_($this, 52311) | 0; break; } case 102: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 1; - $$10 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA6_KcEEEPNS0_4NodeEDpOT0_($0, 57166) | 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 1; + $retval$10 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA6_KcEEEPNS0_4NodeEDpOT0_($this, 58008) | 0; break; } case 100: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 1; - $$10 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA7_KcEEEPNS0_4NodeEDpOT0_($0) | 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 1; + $retval$10 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA7_KcEEEPNS0_4NodeEDpOT0_($this) | 0; break; } case 101: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 1; - $$10 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA12_KcEEEPNS0_4NodeEDpOT0_($0, 51487) | 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 1; + $retval$10 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA12_KcEEEPNS0_4NodeEDpOT0_($this, 52329) | 0; break; } case 103: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 1; - $$10 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA11_KcEEEPNS0_4NodeEDpOT0_($0, 51499) | 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 1; + $retval$10 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA11_KcEEEPNS0_4NodeEDpOT0_($this, 52341) | 0; break; } case 122: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 1; - $$10 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA4_KcEEEPNS0_4NodeEDpOT0_($0, 51510) | 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 1; + $retval$10 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA4_KcEEEPNS0_4NodeEDpOT0_($this, 52352) | 0; break; } case 117: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 1; - __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E19parseBareSourceNameEv($2, $0); - if (__ZNK12_GLOBAL__N_110StringView5emptyEv($2) | 0) $$033 = 0; else $$033 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRNS_10StringViewEEEEPNS0_4NodeEDpOT0_($0, $2) | 0; - $$10 = $$033; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 1; + __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E19parseBareSourceNameEv($Res, $this); + if (__ZNK12_GLOBAL__N_110StringView5emptyEv($Res) | 0) $retval$0 = 0; else $retval$0 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRNS_10StringViewEEEEPNS0_4NodeEDpOT0_($this, $Res) | 0; + $retval$10 = $retval$0; break; } case 68: { - do switch ((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($0, 1) | 0) << 24 >> 24 | 0) { + do switch ((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($this, 1) | 0) << 24 >> 24 | 0) { case 100: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 2; - $$10 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA10_KcEEEPNS0_4NodeEDpOT0_($0, 51514) | 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 2; + $retval$10 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA10_KcEEEPNS0_4NodeEDpOT0_($this, 52356) | 0; break L1; break; } case 101: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 2; - $$10 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA11_KcEEEPNS0_4NodeEDpOT0_($0, 51524) | 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 2; + $retval$10 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA11_KcEEEPNS0_4NodeEDpOT0_($this, 52366) | 0; break L1; break; } case 102: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 2; - $$10 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA10_KcEEEPNS0_4NodeEDpOT0_($0, 51535) | 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 2; + $retval$10 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA10_KcEEEPNS0_4NodeEDpOT0_($this, 52377) | 0; break L1; break; } case 104: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 2; - $$10 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA10_KcEEEPNS0_4NodeEDpOT0_($0, 51545) | 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 2; + $retval$10 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA10_KcEEEPNS0_4NodeEDpOT0_($this, 52387) | 0; break L1; break; } case 105: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 2; - $$10 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA9_KcEEEPNS0_4NodeEDpOT0_($0, 51555) | 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 2; + $retval$10 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA9_KcEEEPNS0_4NodeEDpOT0_($this, 52397) | 0; break L1; break; } case 115: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 2; - $$10 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA9_KcEEEPNS0_4NodeEDpOT0_($0, 51564) | 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 2; + $retval$10 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA9_KcEEEPNS0_4NodeEDpOT0_($this, 52406) | 0; break L1; break; } case 97: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 2; - $$10 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA5_KcEEEPNS0_4NodeEDpOT0_($0, 51573) | 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 2; + $retval$10 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA5_KcEEEPNS0_4NodeEDpOT0_($this, 52415) | 0; break L1; break; } case 99: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 2; - $$10 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA15_KcEEEPNS0_4NodeEDpOT0_($0, 51578) | 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 2; + $retval$10 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA15_KcEEEPNS0_4NodeEDpOT0_($this, 52420) | 0; break L1; break; } case 110: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 2; - $$10 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA15_KcEEEPNS0_4NodeEDpOT0_($0, 51593) | 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 2; + $retval$10 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA15_KcEEEPNS0_4NodeEDpOT0_($this, 52435) | 0; break L1; break; } case 84: case 116: { - $117 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E13parseDecltypeEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0) | 0; - HEAP32[$1 >> 2] = $117; - $193 = $117; + $call177 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E13parseDecltypeEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0) | 0; + HEAP32[$Result >> 2] = $call177; + $39 = $call177; label = 81; break L1; break; } case 118: { - $119 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseVectorTypeEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0) | 0; - HEAP32[$1 >> 2] = $119; - $193 = $119; + $call180 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseVectorTypeEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0) | 0; + HEAP32[$Result >> 2] = $call180; + $39 = $call180; label = 81; break L1; break; } case 112: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 2; - $123 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseTypeEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0) | 0; - HEAP32[$2 >> 2] = $123; - if (!$123) { - $$10 = 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 2; + $call185 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseTypeEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0) | 0; + HEAP32[$Res >> 2] = $call185; + if (!$call185) { + $retval$10 = 0; break L1; } else { - $125 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_22ParameterPackExpansionEJRPNS0_4NodeEEEES9_DpOT0_($0, $2) | 0; - HEAP32[$1 >> 2] = $125; + $call188 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_22ParameterPackExpansionEJRPNS0_4NodeEEEES9_DpOT0_($this, $Res) | 0; + HEAP32[$Result >> 2] = $call188; label = 82; break L1; } @@ -16070,16 +18154,16 @@ function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14Mang case 79: case 111: { - $127 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E17parseFunctionTypeEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0) | 0; - HEAP32[$1 >> 2] = $127; - $193 = $127; + $call193 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E17parseFunctionTypeEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0) | 0; + HEAP32[$Result >> 2] = $call193; + $39 = $call193; label = 81; break L1; break; } default: { - $$10 = 0; + $retval$10 = 0; break L1; } } while (0); @@ -16087,38 +18171,38 @@ function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14Mang } case 70: { - $129 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E17parseFunctionTypeEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0) | 0; - HEAP32[$1 >> 2] = $129; - $193 = $129; + $call196 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E17parseFunctionTypeEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0) | 0; + HEAP32[$Result >> 2] = $call196; + $39 = $call196; label = 81; break; } case 65: { - $131 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E14parseArrayTypeEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0) | 0; - HEAP32[$1 >> 2] = $131; - $193 = $131; + $call199 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E14parseArrayTypeEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0) | 0; + HEAP32[$Result >> 2] = $call199; + $39 = $call199; label = 81; break; } case 77: { - $133 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E24parsePointerToMemberTypeEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0) | 0; - HEAP32[$1 >> 2] = $133; - $193 = $133; + $call202 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E24parsePointerToMemberTypeEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0) | 0; + HEAP32[$Result >> 2] = $call202; + $39 = $call202; label = 81; break; } case 84: { - switch ((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($0, 1) | 0) << 24 >> 24) { + switch ((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($this, 1) | 0) << 24 >> 24) { case 101: case 117: case 115: { - $136 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E18parseClassEnumTypeEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0) | 0; - HEAP32[$1 >> 2] = $136; - $193 = $136; + $call217 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E18parseClassEnumTypeEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0) | 0; + HEAP32[$Result >> 2] = $call217; + $39 = $call217; label = 81; break L1; break; @@ -16126,35 +18210,35 @@ function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14Mang default: {} } - $137 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0; - $138 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E18parseTemplateParamEv($137) | 0; - HEAP32[$1 >> 2] = $138; - if ($138) if ((HEAP8[$0 + 360 >> 0] | 0) != 0 ? (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($0, 0) | 0) << 24 >> 24 == 73 : 0) { - $145 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E17parseTemplateArgsEb($137, 0) | 0; - HEAP32[$2 >> 2] = $145; - if (!$145) { - $$10 = 0; + $call219 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0; + $call220 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E18parseTemplateParamEv($call219) | 0; + HEAP32[$Result >> 2] = $call220; + if ($call220) if ((HEAP8[$this + 360 >> 0] | 0) != 0 ? (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($this, 0) | 0) << 24 >> 24 == 73 : 0) { + $call231 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E17parseTemplateArgsEb($call219, 0) | 0; + HEAP32[$Res >> 2] = $call231; + if (!$call231) { + $retval$10 = 0; break L1; } else { - $147 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_20NameWithTemplateArgsEJRPNS0_4NodeESA_EEES9_DpOT0_($0, $1, $2) | 0; - HEAP32[$1 >> 2] = $147; + $call235 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_20NameWithTemplateArgsEJRPNS0_4NodeESA_EEES9_DpOT0_($this, $Result, $Res) | 0; + HEAP32[$Result >> 2] = $call235; label = 82; break L1; } - } else label = 82; else $$10 = 0; + } else label = 82; else $retval$10 = 0; break; } case 80: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 1; - $151 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseTypeEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0) | 0; - HEAP32[$2 >> 2] = $151; - if (!$151) { - $$10 = 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 1; + $call244 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseTypeEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0) | 0; + HEAP32[$Res >> 2] = $call244; + if (!$call244) { + $retval$10 = 0; break L1; } else { - $153 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_11PointerTypeEJRPNS0_4NodeEEEES9_DpOT0_($0, $2) | 0; - HEAP32[$1 >> 2] = $153; + $call248 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_11PointerTypeEJRPNS0_4NodeEEEES9_DpOT0_($this, $Res) | 0; + HEAP32[$Result >> 2] = $call248; label = 82; break L1; } @@ -16162,16 +18246,16 @@ function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14Mang } case 82: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 1; - $157 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseTypeEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0) | 0; - HEAP32[$2 >> 2] = $157; - if (!$157) { - $$10 = 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 1; + $call255 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseTypeEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0) | 0; + HEAP32[$Res >> 2] = $call255; + if (!$call255) { + $retval$10 = 0; break L1; } else { - HEAP32[$3 >> 2] = 0; - $159 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_13ReferenceTypeEJRPNS0_4NodeENS0_13ReferenceKindEEEES9_DpOT0_($0, $2, $3) | 0; - HEAP32[$1 >> 2] = $159; + HEAP32[$ref$tmp >> 2] = 0; + $call259 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_13ReferenceTypeEJRPNS0_4NodeENS0_13ReferenceKindEEEES9_DpOT0_($this, $Res, $ref$tmp) | 0; + HEAP32[$Result >> 2] = $call259; label = 82; break L1; } @@ -16179,16 +18263,16 @@ function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14Mang } case 79: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 1; - $163 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseTypeEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0) | 0; - HEAP32[$2 >> 2] = $163; - if (!$163) { - $$10 = 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 1; + $call267 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseTypeEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0) | 0; + HEAP32[$Res >> 2] = $call267; + if (!$call267) { + $retval$10 = 0; break L1; } else { - HEAP32[$3 >> 2] = 1; - $165 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_13ReferenceTypeEJRPNS0_4NodeENS0_13ReferenceKindEEEES9_DpOT0_($0, $2, $3) | 0; - HEAP32[$1 >> 2] = $165; + HEAP32[$ref$tmp >> 2] = 1; + $call272 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_13ReferenceTypeEJRPNS0_4NodeENS0_13ReferenceKindEEEES9_DpOT0_($this, $Res, $ref$tmp) | 0; + HEAP32[$Result >> 2] = $call272; label = 82; break L1; } @@ -16196,15 +18280,15 @@ function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14Mang } case 67: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 1; - $169 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseTypeEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0) | 0; - HEAP32[$2 >> 2] = $169; - if (!$169) { - $$10 = 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 1; + $call279 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseTypeEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0) | 0; + HEAP32[$Res >> 2] = $call279; + if (!$call279) { + $retval$10 = 0; break L1; } else { - $171 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_20PostfixQualifiedTypeEJRPNS0_4NodeERA9_KcEEES9_DpOT0_($0, $2) | 0; - HEAP32[$1 >> 2] = $171; + $call283 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_20PostfixQualifiedTypeEJRPNS0_4NodeERA9_KcEEES9_DpOT0_($this, $Res) | 0; + HEAP32[$Result >> 2] = $call283; label = 82; break L1; } @@ -16212,15 +18296,15 @@ function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14Mang } case 71: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 1; - $175 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseTypeEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0) | 0; - HEAP32[$2 >> 2] = $175; - if (!$175) { - $$10 = 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 1; + $call291 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseTypeEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0) | 0; + HEAP32[$Res >> 2] = $call291; + if (!$call291) { + $retval$10 = 0; break L1; } else { - $177 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_20PostfixQualifiedTypeEJRPNS0_4NodeERA11_KcEEES9_DpOT0_($0, $2) | 0; - HEAP32[$1 >> 2] = $177; + $call295 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_20PostfixQualifiedTypeEJRPNS0_4NodeERA11_KcEEES9_DpOT0_($this, $Res) | 0; + HEAP32[$Result >> 2] = $call295; label = 82; break L1; } @@ -16228,7 +18312,7 @@ function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14Mang } case 83: { - switch ((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($0, 1) | 0) << 24 >> 24) { + switch ((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($this, 1) | 0) << 24 >> 24) { case 116: case 0: { @@ -16239,2174 +18323,674 @@ function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14Mang default: {} } - $179 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0; - $180 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E17parseSubstitutionEv($179) | 0; - HEAP32[$2 >> 2] = $180; - if ($180) if ((HEAP8[$0 + 360 >> 0] | 0) != 0 ? (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($0, 0) | 0) << 24 >> 24 == 73 : 0) { - $187 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E17parseTemplateArgsEb($179, 0) | 0; - HEAP32[$3 >> 2] = $187; - if (!$187) { - $$10 = 0; + $call306 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0; + $call307 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E17parseSubstitutionEv($call306) | 0; + HEAP32[$Res >> 2] = $call307; + if ($call307) if ((HEAP8[$this + 360 >> 0] | 0) != 0 ? (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($this, 0) | 0) << 24 >> 24 == 73 : 0) { + $call320 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E17parseTemplateArgsEb($call306, 0) | 0; + HEAP32[$ref$tmp >> 2] = $call320; + if (!$call320) { + $retval$10 = 0; break L1; } else { - $189 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_20NameWithTemplateArgsEJRPNS0_4NodeESA_EEES9_DpOT0_($0, $2, $3) | 0; - HEAP32[$1 >> 2] = $189; + $call324 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_20NameWithTemplateArgsEJRPNS0_4NodeESA_EEES9_DpOT0_($this, $Res, $ref$tmp) | 0; + HEAP32[$Result >> 2] = $call324; label = 82; break L1; } - } else $$942$ph = $180; else $$942$ph = 0; - $$10 = $$942$ph; + } else $retval$9$ph = $call307; else $retval$9$ph = 0; + $retval$10 = $retval$9$ph; break; } default: label = 80; } while (0); if ((label | 0) == 5) { - $19 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E18parseQualifiedTypeEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0) | 0; - HEAP32[$1 >> 2] = $19; - $193 = $19; + $call46 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E18parseQualifiedTypeEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0) | 0; + HEAP32[$Result >> 2] = $call46; + $39 = $call46; label = 81; } else if ((label | 0) == 80) { - $191 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E18parseClassEnumTypeEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0) | 0; - HEAP32[$1 >> 2] = $191; - $193 = $191; + $call331 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E18parseClassEnumTypeEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0) | 0; + HEAP32[$Result >> 2] = $call331; + $39 = $call331; label = 81; } - if ((label | 0) == 81) if (!$193) $$10 = 0; else label = 82; + if ((label | 0) == 81) if (!$39) $retval$10 = 0; else label = 82; if ((label | 0) == 82) { - __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE9push_backERKS3_($0 + 148 | 0, $1); - $$10 = HEAP32[$1 >> 2] | 0; + __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE9push_backERKS3_($this + 148 | 0, $Result); + $retval$10 = HEAP32[$Result >> 2] | 0; } STACKTOP = sp; - return $$10 | 0; + return $retval$10 | 0; } - -function _vfscanf($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$0266$lcssa = 0, $$0266407 = 0, $$0268 = 0, $$0270 = 0, $$0272 = 0, $$0273418 = 0, $$0276$ph$ph = 0, $$0280$ph = 0, $$0280$ph$ph = 0, $$0288409 = 0, $$0290414 = 0, $$0294 = 0, $$0295 = 0, $$0308412 = 0, $$10 = 0, $$10318 = 0, $$11 = 0, $$12 = 0, $$1267 = 0, $$1271 = 0, $$1274 = 0, $$1281 = 0, $$1291 = 0, $$1309 = 0, $$2 = 0, $$2275 = 0, $$2278$ph = 0, $$2282 = 0, $$2282$ph = 0, $$2292 = 0, $$2310$ph = 0, $$3$lcssa = 0, $$3283 = 0, $$3293 = 0, $$3406 = 0, $$4 = 0, $$4284 = 0, $$5 = 0, $$5313 = 0, $$6 = 0, $$6302 = 0, $$6314 = 0, $$7 = 0, $$7315 = 0, $$8 = 0, $$8316 = 0, $$9 = 0, $$9317 = 0, $$ph$ph = 0, $$pre$phi491Z2D = 0, $$pre$phiZ2D = 0, $$sroa$2$0$$sroa_idx13 = 0, $104 = 0, $105 = 0, $11 = 0, $114 = 0, $115 = 0, $120 = 0, $122 = 0, $125 = 0, $127 = 0, $13 = 0, $130 = 0, $133 = 0, $135 = 0, $138 = 0, $14 = 0, $145 = 0, $15 = 0, $151 = 0, $153 = 0, $16 = 0, $160 = 0, $161 = 0, $164 = 0, $166 = 0, $169 = 0, $17 = 0, $170 = 0, $171 = 0, $177 = 0, $18 = 0, $180 = 0, $184 = 0, $186 = 0, $19 = 0, $191 = 0, $194 = 0, $195 = 0, $196 = 0, $197 = 0, $199 = 0, $20 = 0, $204 = 0, $208 = 0, $213 = 0, $214 = 0, $215 = 0, $217 = 0, $219 = 0, $22 = 0, $220 = 0, $228 = 0, $240 = 0, $244 = 0, $246 = 0, $25 = 0, $254 = 0, $263 = 0, $266 = 0, $274 = 0, $281 = 0, $289 = 0, $296 = 0, $298 = 0, $3 = 0, $30 = 0, $305 = 0, $306 = 0, $309 = 0, $310 = 0, $321 = 0, $322 = 0, $323 = 0, $325 = 0, $328 = 0, $331 = 0, $334 = 0, $342 = 0.0, $343 = 0, $345 = 0, $348 = 0, $351 = 0, $354 = 0, $361 = 0, $369 = 0, $37 = 0, $372 = 0, $373 = 0, $374 = 0, $376 = 0, $384 = 0, $386 = 0, $387 = 0, $388 = 0, $389 = 0, $390 = 0, $391 = 0, $392 = 0, $393 = 0, $394 = 0, $395 = 0, $396 = 0, $4 = 0, $43 = 0, $45 = 0, $5 = 0, $52 = 0, $53 = 0, $56 = 0, $57 = 0, $58 = 0, $6 = 0, $60 = 0, $63 = 0, $64 = 0, $65 = 0, $67 = 0, $68 = 0, $78 = 0, $85 = 0, $spec$select = 0, $spec$select319 = 0, $trunc = 0, label = 0, sp = 0, $$2282$looptemp = 0; +function _fmt_fp($f, $y, $w, $p, $fl, $t) { + $f = $f | 0; + $y = +$y; + $w = $w | 0; + $p = $p | 0; + $fl = $fl | 0; + $t = $t | 0; + var $$pr = 0, $$pr415 = 0, $$pre517 = 0, $0 = 0, $1 = 0, $15 = 0, $18 = 0, $25 = 0, $28 = 0, $3 = 0, $30 = 0, $31 = 0, $34 = 0, $36 = 0, $40 = 0, $43 = 0, $46 = 0, $50 = 0, $51 = 0, $53 = 0, $56 = 0, $58 = 0, $62 = 0, $65 = 0, $70 = 0, $75 = 0, $8 = 0, $81 = 0, $83 = 0, $85 = 0, $a$1$lcssa = 0, $a$1502 = 0, $a$2 = 0, $a$3$lcssa = 0, $a$3488 = 0, $a$5$lcssa = 0, $a$5471 = 0, $a$6 = 0, $a$8 = 0, $a$9 = 0, $add = 0, $add$ptr358 = 0, $add$ptr442 = 0, $add$ptr671 = 0, $add$ptr756 = 0, $add165 = 0, $add275 = 0, $add355 = 0, $add414 = 0, $add653 = 0, $add653$sink524 = 0, $add67 = 0, $and62 = 0, $arrayidx = 0, $arrayidx251 = 0, $arrayidx453 = 0, $big = 0, $buf = 0, $carry$0493 = 0, $carry262$0484 = 0, $cmp131 = 0, $cmp299 = 0, $cmp338 = 0, $cmp374 = 0, $cmp403 = 0, $cmp450$lcssa = 0, $cmp614 = 0, $cond100 = 0, $cond233 = 0, $cond271 = 0, $cond304 = 0, $cond629 = 0, $conv116 = 0, $conv216 = 0, $d$0491 = 0, $d$0494 = 0, $d$1483 = 0, $d$2$lcssa = 0, $d$2470 = 0, $d$4 = 0, $d$5438 = 0, $d$6432 = 0, $d$7444 = 0, $div356 = 0, $div378 = 0, $div384 = 0, $e$0480 = 0, $e$1 = 0, $e$2467 = 0, $e$4 = 0, $e$5 = 0, $e2 = 0, $ebuf0 = 0, $estr$0 = 0, $estr$1$lcssa = 0, $estr$1450 = 0, $estr$2 = 0, $i$0479 = 0, $i$1$lcssa = 0, $i$1475 = 0, $i$2466 = 0, $i$3455 = 0, $inc = 0, $inc425 = 0, $inc438 = 0, $inc500 = 0, $incdec$ptr106 = 0, $incdec$ptr115 = 0, $incdec$ptr122 = 0, $incdec$ptr246 = 0, $incdec$ptr419 = 0, $incdec$ptr423 = 0, $incdec$ptr639 = 0, $incdec$ptr647 = 0, $incdec$ptr681 = 0, $incdec$ptr689 = 0, $incdec$ptr725 = 0, $incdec$ptr763 = 0, $incdec$ptr773 = 0, $incdec$ptr776 = 0, $j$0$in476 = 0, $j$1456 = 0, $j$2 = 0, $l$0 = 0, $mul = 0.0, $mul322 = 0, $mul367 = 0, $mul431 = 0, $mul513 = 0, $or = 0, $p$addr$2 = 0, $p$addr$3 = 0, $p$addr$4$lcssa = 0, $p$addr$4433 = 0, $p$addr$5$lcssa = 0, $p$addr$5445 = 0, $pl$0 = 0, $prefix$0 = 0, $re$1426 = 0, $round$0425 = 0.0, $round377$1 = 0.0, $s$0 = 0, $s$1 = 0, $s668$0436 = 0, $s668$1 = 0, $s715$0$lcssa = 0, $s715$0428 = 0, $s753$0 = 0, $s753$1440 = 0, $s753$2 = 0, $shr285 = 0, $small$1 = 0.0, $spec$select = 0, $spec$select395 = 0, $spec$select396 = 0, $spec$select396523 = 0, $spec$select397 = 0, $spec$select399 = 0.0, $spec$select402 = 0, $spec$select403 = 0, $spec$select405 = 0, $spec$select408 = 0, $spec$select410 = 0, $spec$select418 = 0.0, $sub = 0.0, $sub$ptr$lhs$cast151 = 0, $sub$ptr$lhs$cast160 = 0, $sub$ptr$lhs$cast173$pre$phiZZZZ2D = 0, $sub$ptr$lhs$cast633 = 0, $sub$ptr$lhs$cast694 = 0, $sub$ptr$lhs$cast787 = 0, $sub$ptr$rhs$cast$le = 0, $sub$ptr$rhs$cast152 = 0, $sub$ptr$rhs$cast161 = 0, $sub$ptr$rhs$cast174$pre$phiZZZZ2D = 0, $sub$ptr$rhs$cast345 = 0, $sub$ptr$sub172 = 0, $sub$ptr$sub175 = 0, $sub$ptr$sub650$pn = 0, $sub$ptr$sub789 = 0, $sub203 = 0, $sub256 = 0, $sub264 = 0, $sub281 = 0, $sub343 = 0, $sub409 = 0, $sub514 = 0, $sub562 = 0, $sub626 = 0, $sub735 = 0, $sub74 = 0, $sub806 = 0, $t$addr$0 = 0, $t$addr$1 = 0, $tobool135 = 0, $tobool341 = 0, $tobool37 = 0, $tobool56 = 0, $tobool609 = 0, $tobool781 = 0, $y$addr$0 = 0.0, $y$addr$1 = 0.0, $y$addr$2 = 0.0, $y$addr$3 = 0.0, $y$addr$4 = 0.0, $z$0 = 0, $z$1 = 0, $z$2$lcssa = 0, $z$2501 = 0, $z$3$lcssa = 0, $z$3497 = 0, $z$4$lcssa = 0, $z$4487 = 0, $z$5 = 0, $z$8 = 0, $z$9$lcssa = 0, $z$9459 = 0, label = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 288 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(288); - $3 = sp + 264 | 0; - $4 = sp; - $5 = sp + 260 | 0; - $6 = sp + 272 | 0; - if ((HEAP32[$0 + 76 >> 2] | 0) > -1) $386 = ___lockfile($0) | 0; else $386 = 0; - $11 = HEAP8[$1 >> 0] | 0; - L4 : do if ($11 << 24 >> 24) { - $13 = $0 + 4 | 0; - $14 = $0 + 104 | 0; - $15 = $0 + 120 | 0; - $16 = $0 + 8 | 0; - $17 = $4 + 10 | 0; - $18 = $4 + 33 | 0; - $19 = $4 + 46 | 0; - $20 = $4 + 94 | 0; - $$sroa$2$0$$sroa_idx13 = $3 + 4 | 0; - $$0273418 = $1; - $$0290414 = 0; - $$0308412 = 0; - $22 = $11; - $387 = 0; - $56 = 0; - $57 = 0; - L6 : while (1) { - L8 : do if (!(_isspace($22 & 255) | 0)) { - $63 = (HEAP8[$$0273418 >> 0] | 0) == 37; - L10 : do if ($63) { - $64 = $$0273418 + 1 | 0; - $65 = HEAP8[$64 >> 0] | 0; - L12 : do switch ($65 << 24 >> 24) { - case 37: - { - break L10; - break; + STACKTOP = STACKTOP + 560 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(560); + $big = sp + 32 | 0; + $e2 = sp + 536 | 0; + $buf = sp; + $sub$ptr$rhs$cast$le = $buf; + $ebuf0 = sp + 540 | 0; + HEAP32[$e2 >> 2] = 0; + $arrayidx = $ebuf0 + 12 | 0; + $0 = ___DOUBLE_BITS_788($y) | 0; + $1 = getTempRet0() | 0; + if (($1 | 0) < 0) { + $sub = -$y; + $3 = ___DOUBLE_BITS_788($sub) | 0; + $8 = getTempRet0() | 0; + $85 = $3; + $pl$0 = 1; + $prefix$0 = 51638; + $y$addr$0 = $sub; + } else { + $8 = $1; + $85 = $0; + $pl$0 = ($fl & 2049 | 0) != 0 & 1; + $prefix$0 = ($fl & 2048 | 0) == 0 ? (($fl & 1 | 0) == 0 ? 51639 : 51644) : 51641; + $y$addr$0 = $y; + } + do if (0 == 0 & ($8 & 2146435072 | 0) == 2146435072) { + $tobool37 = ($t & 32 | 0) != 0; + $add = $pl$0 + 3 | 0; + _pad_785($f, 32, $w, $add, $fl & -65537); + _out_779($f, $prefix$0, $pl$0); + _out_779($f, $y$addr$0 != $y$addr$0 | 0.0 != 0.0 ? ($tobool37 ? 51678 : 51665) : $tobool37 ? 51657 : 51661, 3); + _pad_785($f, 32, $w, $add, $fl ^ 8192); + $add653$sink524 = $add; + } else { + $mul = +_frexp($y$addr$0, $e2) * 2.0; + $tobool56 = $mul != 0.0; + if ($tobool56) HEAP32[$e2 >> 2] = (HEAP32[$e2 >> 2] | 0) + -1; + $or = $t | 32; + if (($or | 0) == 97) { + $and62 = $t & 32; + $spec$select = ($and62 | 0) == 0 ? $prefix$0 : $prefix$0 + 9 | 0; + $add67 = $pl$0 | 2; + $sub74 = 12 - $p | 0; + do if (!($p >>> 0 > 11 | ($sub74 | 0) == 0)) { + $re$1426 = $sub74; + $round$0425 = 8.0; + do { + $re$1426 = $re$1426 + -1 | 0; + $round$0425 = $round$0425 * 16.0; + } while (($re$1426 | 0) != 0); + if ((HEAP8[$spec$select >> 0] | 0) == 45) { + $y$addr$1 = -($round$0425 + (-$mul - $round$0425)); + break; + } else { + $y$addr$1 = $mul + $round$0425 - $round$0425; + break; + } + } else $y$addr$1 = $mul; while (0); + $15 = HEAP32[$e2 >> 2] | 0; + $cond100 = ($15 | 0) < 0 ? 0 - $15 | 0 : $15; + $18 = _fmt_u($cond100, (($cond100 | 0) < 0) << 31 >> 31, $arrayidx) | 0; + if (($18 | 0) == ($arrayidx | 0)) { + $incdec$ptr106 = $ebuf0 + 11 | 0; + HEAP8[$incdec$ptr106 >> 0] = 48; + $estr$0 = $incdec$ptr106; + } else $estr$0 = $18; + HEAP8[$estr$0 + -1 >> 0] = ($15 >> 31 & 2) + 43; + $incdec$ptr115 = $estr$0 + -2 | 0; + HEAP8[$incdec$ptr115 >> 0] = $t + 15; + $cmp131 = ($p | 0) < 1; + $tobool135 = ($fl & 8 | 0) == 0; + $s$0 = $buf; + $y$addr$2 = $y$addr$1; + while (1) { + $conv116 = ~~$y$addr$2; + $incdec$ptr122 = $s$0 + 1 | 0; + HEAP8[$s$0 >> 0] = $and62 | HEAPU8[8656 + $conv116 >> 0]; + $y$addr$2 = ($y$addr$2 - +($conv116 | 0)) * 16.0; + if (($incdec$ptr122 - $sub$ptr$rhs$cast$le | 0) == 1 ? !($tobool135 & ($cmp131 & $y$addr$2 == 0.0)) : 0) { + HEAP8[$incdec$ptr122 >> 0] = 46; + $s$1 = $s$0 + 2 | 0; + } else $s$1 = $incdec$ptr122; + if (!($y$addr$2 != 0.0)) break; else $s$0 = $s$1; + } + $$pre517 = $s$1; + if (($p | 0) != 0 ? (-2 - $sub$ptr$rhs$cast$le + $$pre517 | 0) < ($p | 0) : 0) { + $sub$ptr$lhs$cast151 = $arrayidx; + $sub$ptr$rhs$cast152 = $incdec$ptr115; + $l$0 = $p + 2 + $sub$ptr$lhs$cast151 - $sub$ptr$rhs$cast152 | 0; + $sub$ptr$lhs$cast173$pre$phiZZZZ2D = $sub$ptr$lhs$cast151; + $sub$ptr$rhs$cast174$pre$phiZZZZ2D = $sub$ptr$rhs$cast152; + } else { + $sub$ptr$lhs$cast160 = $arrayidx; + $sub$ptr$rhs$cast161 = $incdec$ptr115; + $l$0 = $sub$ptr$lhs$cast160 - $sub$ptr$rhs$cast$le - $sub$ptr$rhs$cast161 + $$pre517 | 0; + $sub$ptr$lhs$cast173$pre$phiZZZZ2D = $sub$ptr$lhs$cast160; + $sub$ptr$rhs$cast174$pre$phiZZZZ2D = $sub$ptr$rhs$cast161; + } + $add165 = $l$0 + $add67 | 0; + _pad_785($f, 32, $w, $add165, $fl); + _out_779($f, $spec$select, $add67); + _pad_785($f, 48, $w, $add165, $fl ^ 65536); + $sub$ptr$sub172 = $$pre517 - $sub$ptr$rhs$cast$le | 0; + _out_779($f, $buf, $sub$ptr$sub172); + $sub$ptr$sub175 = $sub$ptr$lhs$cast173$pre$phiZZZZ2D - $sub$ptr$rhs$cast174$pre$phiZZZZ2D | 0; + _pad_785($f, 48, $l$0 - ($sub$ptr$sub172 + $sub$ptr$sub175) | 0, 0, 0); + _out_779($f, $incdec$ptr115, $sub$ptr$sub175); + _pad_785($f, 32, $w, $add165, $fl ^ 8192); + $add653$sink524 = $add165; + break; + } + $spec$select395 = ($p | 0) < 0 ? 6 : $p; + if ($tobool56) { + $sub203 = (HEAP32[$e2 >> 2] | 0) + -28 | 0; + HEAP32[$e2 >> 2] = $sub203; + $$pr = $sub203; + $y$addr$3 = $mul * 268435456.0; + } else { + $$pr = HEAP32[$e2 >> 2] | 0; + $y$addr$3 = $mul; + } + $z$0 = ($$pr | 0) < 0 ? $big : $big + 288 | 0; + $y$addr$4 = $y$addr$3; + $z$1 = $z$0; + do { + $conv216 = ~~$y$addr$4 >>> 0; + HEAP32[$z$1 >> 2] = $conv216; + $z$1 = $z$1 + 4 | 0; + $y$addr$4 = ($y$addr$4 - +($conv216 >>> 0)) * 1.0e9; + } while ($y$addr$4 != 0.0); + $sub$ptr$rhs$cast345 = $z$0; + if (($$pr | 0) > 0) { + $25 = $$pr; + $a$1502 = $z$0; + $z$2501 = $z$1; + while (1) { + $cond233 = ($25 | 0) < 29 ? $25 : 29; + $d$0491 = $z$2501 + -4 | 0; + if ($d$0491 >>> 0 >= $a$1502 >>> 0) { + $carry$0493 = 0; + $d$0494 = $d$0491; + do { + $28 = _bitshift64Shl(HEAP32[$d$0494 >> 2] | 0, 0, $cond233 | 0) | 0; + $30 = _i64Add($28 | 0, getTempRet0() | 0, $carry$0493 | 0, 0) | 0; + $31 = getTempRet0() | 0; + $carry$0493 = ___udivdi3($30 | 0, $31 | 0, 1e9, 0) | 0; + $34 = ___muldi3($carry$0493 | 0, getTempRet0() | 0, 1e9, 0) | 0; + $36 = _i64Subtract($30 | 0, $31 | 0, $34 | 0, getTempRet0() | 0) | 0; + getTempRet0() | 0; + HEAP32[$d$0494 >> 2] = $36; + $d$0494 = $d$0494 + -4 | 0; + } while ($d$0494 >>> 0 >= $a$1502 >>> 0); + if ($carry$0493) { + $incdec$ptr246 = $a$1502 + -4 | 0; + HEAP32[$incdec$ptr246 >> 2] = $carry$0493; + $a$2 = $incdec$ptr246; + } else $a$2 = $a$1502; + } else $a$2 = $a$1502; + L57 : do if ($z$2501 >>> 0 > $a$2 >>> 0) { + $z$3497 = $z$2501; + while (1) { + $arrayidx251 = $z$3497 + -4 | 0; + if (HEAP32[$arrayidx251 >> 2] | 0) { + $z$3$lcssa = $z$3497; + break L57; } - case 42: - { - $$0295 = 0; - $$2275 = $$0273418 + 2 | 0; + if ($arrayidx251 >>> 0 > $a$2 >>> 0) $z$3497 = $arrayidx251; else { + $z$3$lcssa = $arrayidx251; break; } - default: - { - if (_isdigit($65 & 255) | 0 ? (HEAP8[$$0273418 + 2 >> 0] | 0) == 36 : 0) { - $$0295 = _arg_n($2, (HEAPU8[$64 >> 0] | 0) + -48 | 0) | 0; - $$2275 = $$0273418 + 3 | 0; - break L12; - } - $104 = (HEAP32[$2 >> 2] | 0) + (4 - 1) & ~(4 - 1); - $105 = HEAP32[$104 >> 2] | 0; - HEAP32[$2 >> 2] = $104 + 4; - $$0295 = $105; - $$2275 = $64; - } - } while (0); - if (!(_isdigit(HEAPU8[$$2275 >> 0] | 0) | 0)) { - $$0266$lcssa = 0; - $$3$lcssa = $$2275; + } + } else $z$3$lcssa = $z$2501; while (0); + $sub256 = (HEAP32[$e2 >> 2] | 0) - $cond233 | 0; + HEAP32[$e2 >> 2] = $sub256; + if (($sub256 | 0) > 0) { + $25 = $sub256; + $a$1502 = $a$2; + $z$2501 = $z$3$lcssa; + } else { + $$pr415 = $sub256; + $a$1$lcssa = $a$2; + $z$2$lcssa = $z$3$lcssa; + break; + } + } + } else { + $$pr415 = $$pr; + $a$1$lcssa = $z$0; + $z$2$lcssa = $z$1; + } + if (($$pr415 | 0) < 0) { + $add275 = (($spec$select395 + 25 | 0) / 9 | 0) + 1 | 0; + $cmp299 = ($or | 0) == 102; + $40 = $$pr415; + $a$3488 = $a$1$lcssa; + $z$4487 = $z$2$lcssa; + while (1) { + $sub264 = 0 - $40 | 0; + $cond271 = ($sub264 | 0) < 9 ? $sub264 : 9; + if ($a$3488 >>> 0 < $z$4487 >>> 0) { + $sub281 = (1 << $cond271) + -1 | 0; + $shr285 = 1e9 >>> $cond271; + $carry262$0484 = 0; + $d$1483 = $a$3488; + do { + $43 = HEAP32[$d$1483 >> 2] | 0; + HEAP32[$d$1483 >> 2] = ($43 >>> $cond271) + $carry262$0484; + $carry262$0484 = Math_imul($43 & $sub281, $shr285) | 0; + $d$1483 = $d$1483 + 4 | 0; + } while ($d$1483 >>> 0 < $z$4487 >>> 0); + $spec$select396 = (HEAP32[$a$3488 >> 2] | 0) == 0 ? $a$3488 + 4 | 0 : $a$3488; + if (!$carry262$0484) { + $spec$select396523 = $spec$select396; + $z$5 = $z$4487; + } else { + HEAP32[$z$4487 >> 2] = $carry262$0484; + $spec$select396523 = $spec$select396; + $z$5 = $z$4487 + 4 | 0; + } + } else { + $spec$select396523 = (HEAP32[$a$3488 >> 2] | 0) == 0 ? $a$3488 + 4 | 0 : $a$3488; + $z$5 = $z$4487; + } + $cond304 = $cmp299 ? $z$0 : $spec$select396523; + $spec$select397 = ($z$5 - $cond304 >> 2 | 0) > ($add275 | 0) ? $cond304 + ($add275 << 2) | 0 : $z$5; + $40 = (HEAP32[$e2 >> 2] | 0) + $cond271 | 0; + HEAP32[$e2 >> 2] = $40; + if (($40 | 0) >= 0) { + $a$3$lcssa = $spec$select396523; + $z$4$lcssa = $spec$select397; + break; + } else { + $a$3488 = $spec$select396523; + $z$4487 = $spec$select397; + } + } + } else { + $a$3$lcssa = $a$1$lcssa; + $z$4$lcssa = $z$2$lcssa; + } + if ($a$3$lcssa >>> 0 < $z$4$lcssa >>> 0) { + $mul322 = ($sub$ptr$rhs$cast345 - $a$3$lcssa >> 2) * 9 | 0; + $46 = HEAP32[$a$3$lcssa >> 2] | 0; + if ($46 >>> 0 < 10) $e$1 = $mul322; else { + $e$0480 = $mul322; + $i$0479 = 10; + while (1) { + $i$0479 = $i$0479 * 10 | 0; + $inc = $e$0480 + 1 | 0; + if ($46 >>> 0 < $i$0479 >>> 0) { + $e$1 = $inc; + break; + } else $e$0480 = $inc; + } + } + } else $e$1 = 0; + $cmp338 = ($or | 0) == 103; + $tobool341 = ($spec$select395 | 0) != 0; + $sub343 = $spec$select395 - (($or | 0) == 102 ? 0 : $e$1) + (($tobool341 & $cmp338) << 31 >> 31) | 0; + if (($sub343 | 0) < ((($z$4$lcssa - $sub$ptr$rhs$cast345 >> 2) * 9 | 0) + -9 | 0)) { + $add355 = $sub343 + 9216 | 0; + $div356 = ($add355 | 0) / 9 | 0; + $add$ptr358 = $z$0 + 4 + ($div356 + -1024 << 2) | 0; + $50 = $add355 - ($div356 * 9 | 0) | 0; + if (($50 | 0) < 8) { + $i$1475 = 10; + $j$0$in476 = $50; + while (1) { + $mul367 = $i$1475 * 10 | 0; + if (($j$0$in476 | 0) < 7) { + $i$1475 = $mul367; + $j$0$in476 = $j$0$in476 + 1 | 0; } else { - $$0266407 = 0; - $$3406 = $$2275; + $i$1$lcssa = $mul367; + break; + } + } + } else $i$1$lcssa = 10; + $51 = HEAP32[$add$ptr358 >> 2] | 0; + $div378 = ($51 >>> 0) / ($i$1$lcssa >>> 0) | 0; + $53 = $51 - (Math_imul($div378, $i$1$lcssa) | 0) | 0; + $cmp374 = ($add$ptr358 + 4 | 0) == ($z$4$lcssa | 0); + if (!($cmp374 & ($53 | 0) == 0)) { + $spec$select399 = ($div378 & 1 | 0) == 0 ? 9007199254740992.0 : 9007199254740994.0; + $div384 = $i$1$lcssa >>> 1; + $spec$select418 = $53 >>> 0 < $div384 >>> 0 ? .5 : $cmp374 & ($53 | 0) == ($div384 | 0) ? 1.0 : 1.5; + if (!$pl$0) { + $round377$1 = $spec$select399; + $small$1 = $spec$select418; + } else { + $cmp403 = (HEAP8[$prefix$0 >> 0] | 0) == 45; + $round377$1 = $cmp403 ? -$spec$select399 : $spec$select399; + $small$1 = $cmp403 ? -$spec$select418 : $spec$select418; + } + $sub409 = $51 - $53 | 0; + HEAP32[$add$ptr358 >> 2] = $sub409; + if ($round377$1 + $small$1 != $round377$1) { + $add414 = $sub409 + $i$1$lcssa | 0; + HEAP32[$add$ptr358 >> 2] = $add414; + if ($add414 >>> 0 > 999999999) { + $a$5471 = $a$3$lcssa; + $d$2470 = $add$ptr358; while (1) { - $114 = ($$0266407 * 10 | 0) + -48 + (HEAPU8[$$3406 >> 0] | 0) | 0; - $115 = $$3406 + 1 | 0; - if (!(_isdigit(HEAPU8[$115 >> 0] | 0) | 0)) { - $$0266$lcssa = $114; - $$3$lcssa = $115; - break; + $incdec$ptr419 = $d$2470 + -4 | 0; + HEAP32[$d$2470 >> 2] = 0; + if ($incdec$ptr419 >>> 0 < $a$5471 >>> 0) { + $incdec$ptr423 = $a$5471 + -4 | 0; + HEAP32[$incdec$ptr423 >> 2] = 0; + $a$6 = $incdec$ptr423; + } else $a$6 = $a$5471; + $inc425 = (HEAP32[$incdec$ptr419 >> 2] | 0) + 1 | 0; + HEAP32[$incdec$ptr419 >> 2] = $inc425; + if ($inc425 >>> 0 > 999999999) { + $a$5471 = $a$6; + $d$2470 = $incdec$ptr419; } else { - $$0266407 = $114; - $$3406 = $115; + $a$5$lcssa = $a$6; + $d$2$lcssa = $incdec$ptr419; + break; } } - } - $120 = HEAP8[$$3$lcssa >> 0] | 0; - $122 = $$3$lcssa + 1 | 0; - if ($120 << 24 >> 24 == 109) { - $$0270 = ($$0295 | 0) != 0 & 1; - $$1309 = 0; - $$4 = $122; - $$pre$phiZ2D = $$3$lcssa + 2 | 0; - $125 = HEAP8[$122 >> 0] | 0; - $392 = 0; } else { - $$0270 = 0; - $$1309 = $$0308412; - $$4 = $$3$lcssa; - $$pre$phiZ2D = $122; - $125 = $120; - $392 = $387; - } - switch ($125 << 24 >> 24) { - case 104: - { - $127 = (HEAP8[$$pre$phiZ2D >> 0] | 0) == 104; - $$0268 = $127 ? -2 : -1; - $$5 = $127 ? $$4 + 2 | 0 : $$pre$phiZ2D; - break; - } - case 108: - { - $130 = (HEAP8[$$pre$phiZ2D >> 0] | 0) == 108; - $$0268 = $130 ? 3 : 1; - $$5 = $130 ? $$4 + 2 | 0 : $$pre$phiZ2D; - break; - } - case 106: - { - $$0268 = 3; - $$5 = $$pre$phiZ2D; - break; - } - case 116: - case 122: - { - $$0268 = 1; - $$5 = $$pre$phiZ2D; - break; + $a$5$lcssa = $a$3$lcssa; + $d$2$lcssa = $add$ptr358; + } + $mul431 = ($sub$ptr$rhs$cast345 - $a$5$lcssa >> 2) * 9 | 0; + $56 = HEAP32[$a$5$lcssa >> 2] | 0; + if ($56 >>> 0 < 10) { + $a$8 = $a$5$lcssa; + $d$4 = $d$2$lcssa; + $e$4 = $mul431; + } else { + $e$2467 = $mul431; + $i$2466 = 10; + while (1) { + $i$2466 = $i$2466 * 10 | 0; + $inc438 = $e$2467 + 1 | 0; + if ($56 >>> 0 < $i$2466 >>> 0) { + $a$8 = $a$5$lcssa; + $d$4 = $d$2$lcssa; + $e$4 = $inc438; + break; + } else $e$2467 = $inc438; } - case 76: - { - $$0268 = 2; - $$5 = $$pre$phiZ2D; + } + } else { + $a$8 = $a$3$lcssa; + $d$4 = $add$ptr358; + $e$4 = $e$1; + } + } else { + $a$8 = $a$3$lcssa; + $d$4 = $add$ptr358; + $e$4 = $e$1; + } + $add$ptr442 = $d$4 + 4 | 0; + $a$9 = $a$8; + $e$5 = $e$4; + $z$8 = $z$4$lcssa >>> 0 > $add$ptr442 >>> 0 ? $add$ptr442 : $z$4$lcssa; + } else { + $a$9 = $a$3$lcssa; + $e$5 = $e$1; + $z$8 = $z$4$lcssa; + } + $sub626 = 0 - $e$5 | 0; + L109 : do if ($z$8 >>> 0 > $a$9 >>> 0) { + $z$9459 = $z$8; + while (1) { + $arrayidx453 = $z$9459 + -4 | 0; + if (HEAP32[$arrayidx453 >> 2] | 0) { + $cmp450$lcssa = 1; + $z$9$lcssa = $z$9459; + break L109; + } + if ($arrayidx453 >>> 0 > $a$9 >>> 0) $z$9459 = $arrayidx453; else { + $cmp450$lcssa = 0; + $z$9$lcssa = $arrayidx453; + break; + } + } + } else { + $cmp450$lcssa = 0; + $z$9$lcssa = $z$8; + } while (0); + do if ($cmp338) { + $spec$select402 = $spec$select395 + (($tobool341 ^ 1) & 1) | 0; + if (($spec$select402 | 0) > ($e$5 | 0) & ($e$5 | 0) > -5) { + $p$addr$2 = $spec$select402 + -1 - $e$5 | 0; + $t$addr$0 = $t + -1 | 0; + } else { + $p$addr$2 = $spec$select402 + -1 | 0; + $t$addr$0 = $t + -2 | 0; + } + if (!($fl & 8)) { + if ($cmp450$lcssa ? ($58 = HEAP32[$z$9$lcssa + -4 >> 2] | 0, ($58 | 0) != 0) : 0) if (!(($58 >>> 0) % 10 | 0)) { + $i$3455 = 10; + $j$1456 = 0; + while (1) { + $i$3455 = $i$3455 * 10 | 0; + $inc500 = $j$1456 + 1 | 0; + if (($58 >>> 0) % ($i$3455 >>> 0) | 0 | 0) { + $j$2 = $inc500; 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: - { - $$0268 = 0; - $$5 = $$4; + } else $j$1456 = $inc500; + } + } else $j$2 = 0; else $j$2 = 9; + $mul513 = (($z$9$lcssa - $sub$ptr$rhs$cast345 >> 2) * 9 | 0) + -9 | 0; + if (($t$addr$0 | 32 | 0) == 102) { + $sub514 = $mul513 - $j$2 | 0; + $spec$select403 = ($sub514 | 0) > 0 ? $sub514 : 0; + $p$addr$3 = ($p$addr$2 | 0) < ($spec$select403 | 0) ? $p$addr$2 : $spec$select403; + $t$addr$1 = $t$addr$0; + break; + } else { + $sub562 = $mul513 + $e$5 - $j$2 | 0; + $spec$select405 = ($sub562 | 0) > 0 ? $sub562 : 0; + $p$addr$3 = ($p$addr$2 | 0) < ($spec$select405 | 0) ? $p$addr$2 : $spec$select405; + $t$addr$1 = $t$addr$0; + break; + } + } else { + $p$addr$3 = $p$addr$2; + $t$addr$1 = $t$addr$0; + } + } else { + $p$addr$3 = $spec$select395; + $t$addr$1 = $t; + } while (0); + $tobool609 = ($p$addr$3 | 0) != 0; + $62 = $tobool609 ? 1 : $fl >>> 3 & 1; + $cmp614 = ($t$addr$1 | 32 | 0) == 102; + if ($cmp614) { + $estr$2 = 0; + $sub$ptr$sub650$pn = ($e$5 | 0) > 0 ? $e$5 : 0; + } else { + $cond629 = ($e$5 | 0) < 0 ? $sub626 : $e$5; + $65 = _fmt_u($cond629, (($cond629 | 0) < 0) << 31 >> 31, $arrayidx) | 0; + $sub$ptr$lhs$cast633 = $arrayidx; + if (($sub$ptr$lhs$cast633 - $65 | 0) < 2) { + $estr$1450 = $65; + while (1) { + $incdec$ptr639 = $estr$1450 + -1 | 0; + HEAP8[$incdec$ptr639 >> 0] = 48; + if (($sub$ptr$lhs$cast633 - $incdec$ptr639 | 0) < 2) $estr$1450 = $incdec$ptr639; else { + $estr$1$lcssa = $incdec$ptr639; + break; + } + } + } else $estr$1$lcssa = $65; + HEAP8[$estr$1$lcssa + -1 >> 0] = ($e$5 >> 31 & 2) + 43; + $incdec$ptr647 = $estr$1$lcssa + -2 | 0; + HEAP8[$incdec$ptr647 >> 0] = $t$addr$1; + $estr$2 = $incdec$ptr647; + $sub$ptr$sub650$pn = $sub$ptr$lhs$cast633 - $incdec$ptr647 | 0; + } + $add653 = $pl$0 + 1 + $p$addr$3 + $62 + $sub$ptr$sub650$pn | 0; + _pad_785($f, 32, $w, $add653, $fl); + _out_779($f, $prefix$0, $pl$0); + _pad_785($f, 48, $w, $add653, $fl ^ 65536); + if ($cmp614) { + $spec$select408 = $a$9 >>> 0 > $z$0 >>> 0 ? $z$0 : $a$9; + $add$ptr671 = $buf + 9 | 0; + $sub$ptr$lhs$cast694 = $add$ptr671; + $incdec$ptr689 = $buf + 8 | 0; + $d$5438 = $spec$select408; + do { + $70 = _fmt_u(HEAP32[$d$5438 >> 2] | 0, 0, $add$ptr671) | 0; + if (($d$5438 | 0) == ($spec$select408 | 0)) if (($70 | 0) == ($add$ptr671 | 0)) { + HEAP8[$incdec$ptr689 >> 0] = 48; + $s668$1 = $incdec$ptr689; + } else $s668$1 = $70; else if ($70 >>> 0 > $buf >>> 0) { + _memset($buf | 0, 48, $70 - $sub$ptr$rhs$cast$le | 0) | 0; + $s668$0436 = $70; + while (1) { + $incdec$ptr681 = $s668$0436 + -1 | 0; + if ($incdec$ptr681 >>> 0 > $buf >>> 0) $s668$0436 = $incdec$ptr681; else { + $s668$1 = $incdec$ptr681; break; } - default: - { - $$8316 = $$1309; - $393 = $392; - label = 143; - break L6; - } } - $133 = HEAPU8[$$5 >> 0] | 0; - $135 = ($133 & 47 | 0) == 3; - $spec$select = $135 ? $133 | 32 : $133; - $spec$select319 = $135 ? 1 : $$0268; - $trunc = $spec$select & 255; - switch ($trunc << 24 >> 24) { - case 99: - { - $$1267 = ($$0266$lcssa | 0) > 1 ? $$0266$lcssa : 1; - $372 = $56; - $373 = $57; - break; + } else $s668$1 = $70; + _out_779($f, $s668$1, $sub$ptr$lhs$cast694 - $s668$1 | 0); + $d$5438 = $d$5438 + 4 | 0; + } while ($d$5438 >>> 0 <= $z$0 >>> 0); + if (!(($fl & 8 | 0) == 0 & ($tobool609 ^ 1))) _out_779($f, 54484, 1); + if ($d$5438 >>> 0 < $z$9$lcssa >>> 0 & ($p$addr$3 | 0) > 0) { + $d$6432 = $d$5438; + $p$addr$4433 = $p$addr$3; + while (1) { + $75 = _fmt_u(HEAP32[$d$6432 >> 2] | 0, 0, $add$ptr671) | 0; + if ($75 >>> 0 > $buf >>> 0) { + _memset($buf | 0, 48, $75 - $sub$ptr$rhs$cast$le | 0) | 0; + $s715$0428 = $75; + while (1) { + $incdec$ptr725 = $s715$0428 + -1 | 0; + if ($incdec$ptr725 >>> 0 > $buf >>> 0) $s715$0428 = $incdec$ptr725; else { + $s715$0$lcssa = $incdec$ptr725; + break; + } } - case 91: - { - $$1267 = $$0266$lcssa; - $372 = $56; - $373 = $57; + } else $s715$0$lcssa = $75; + _out_779($f, $s715$0$lcssa, ($p$addr$4433 | 0) < 9 ? $p$addr$4433 : 9); + $d$6432 = $d$6432 + 4 | 0; + $sub735 = $p$addr$4433 + -9 | 0; + if (!($d$6432 >>> 0 < $z$9$lcssa >>> 0 & ($p$addr$4433 | 0) > 9)) { + $p$addr$4$lcssa = $sub735; + break; + } else $p$addr$4433 = $sub735; + } + } else $p$addr$4$lcssa = $p$addr$3; + _pad_785($f, 48, $p$addr$4$lcssa + 9 | 0, 9, 0); + } else { + $spec$select410 = $cmp450$lcssa ? $z$9$lcssa : $a$9 + 4 | 0; + if ($a$9 >>> 0 < $spec$select410 >>> 0 & ($p$addr$3 | 0) > -1) { + $add$ptr756 = $buf + 9 | 0; + $tobool781 = ($fl & 8 | 0) == 0; + $sub$ptr$lhs$cast787 = $add$ptr756; + $81 = 0 - $sub$ptr$rhs$cast$le | 0; + $incdec$ptr763 = $buf + 8 | 0; + $d$7444 = $a$9; + $p$addr$5445 = $p$addr$3; + while (1) { + $83 = _fmt_u(HEAP32[$d$7444 >> 2] | 0, 0, $add$ptr756) | 0; + if (($83 | 0) == ($add$ptr756 | 0)) { + HEAP8[$incdec$ptr763 >> 0] = 48; + $s753$0 = $incdec$ptr763; + } else $s753$0 = $83; + do if (($d$7444 | 0) == ($a$9 | 0)) { + $incdec$ptr776 = $s753$0 + 1 | 0; + _out_779($f, $s753$0, 1); + if ($tobool781 & ($p$addr$5445 | 0) < 1) { + $s753$2 = $incdec$ptr776; break; } - case 110: - { - _store_int($$0295, $spec$select319, $56, $57); - $$12 = $$5; - $$1291 = $$0290414; - $$7315 = $$1309; - $388 = $392; - $389 = $56; - $390 = $57; - break L8; + _out_779($f, 54484, 1); + $s753$2 = $incdec$ptr776; + } else { + if ($s753$0 >>> 0 <= $buf >>> 0) { + $s753$2 = $s753$0; break; } - default: - { - ___shlim($0, 0, 0); - do { - $138 = HEAP32[$13 >> 2] | 0; - if ($138 >>> 0 < (HEAP32[$14 >> 2] | 0) >>> 0) { - HEAP32[$13 >> 2] = $138 + 1; - $145 = HEAPU8[$138 >> 0] | 0; - } else $145 = ___shgetc($0) | 0; - } while ((_isspace($145) | 0) != 0); - if (!(HEAP32[$14 >> 2] | 0)) $161 = HEAP32[$13 >> 2] | 0; else { - $151 = (HEAP32[$13 >> 2] | 0) + -1 | 0; - HEAP32[$13 >> 2] = $151; - $161 = $151; - } - $153 = $15; - $160 = $161 - (HEAP32[$16 >> 2] | 0) | 0; - $164 = _i64Add(HEAP32[$153 >> 2] | 0, HEAP32[$153 + 4 >> 2] | 0, $56 | 0, $57 | 0) | 0; - $166 = _i64Add($164 | 0, getTempRet0() | 0, $160 | 0, (($160 | 0) < 0) << 31 >> 31 | 0) | 0; - $$1267 = $$0266$lcssa; - $372 = $166; - $373 = getTempRet0() | 0; - } - } - $169 = (($$1267 | 0) < 0) << 31 >> 31; - ___shlim($0, $$1267, $169); - $170 = HEAP32[$13 >> 2] | 0; - $171 = HEAP32[$14 >> 2] | 0; - if ($170 >>> 0 < $171 >>> 0) { - HEAP32[$13 >> 2] = $170 + 1; - $177 = $171; - } else { - if ((___shgetc($0) | 0) < 0) { - $$8316 = $$1309; - $393 = $392; - label = 143; - break L6; - } - $177 = HEAP32[$14 >> 2] | 0; - } - if ($177 | 0) HEAP32[$13 >> 2] = (HEAP32[$13 >> 2] | 0) + -1; - L59 : do switch ($trunc << 24 >> 24) { - case 91: - case 99: - case 115: - { - $180 = ($spec$select | 0) == 99; - L61 : do if (($spec$select | 16 | 0) == 115) { - _memset($4 | 0, -1, 257) | 0; - HEAP8[$4 >> 0] = 0; - if (($spec$select | 0) == 115) { - HEAP8[$18 >> 0] = 0; - HEAP16[$17 >> 1] = 0; - HEAP16[$17 + 2 >> 1] = 0; - HEAP8[$17 + 4 >> 0] = 0; - $$10 = $$5; - } else $$10 = $$5; - } else { - $184 = $$5 + 1 | 0; - $186 = (HEAP8[$184 >> 0] | 0) == 94; - $$0294 = $186 & 1; - $$6 = $186 ? $$5 + 2 | 0 : $184; - _memset($4 | 0, $$0294 | 0, 257) | 0; - HEAP8[$4 >> 0] = 0; - switch (HEAP8[$$6 >> 0] | 0) { - case 45: - { - $191 = ($$0294 ^ 1) & 255; - HEAP8[$19 >> 0] = $191; - $$7 = $$6 + 1 | 0; - $$pre$phi491Z2D = $191; - break; - } - case 93: - { - $194 = ($$0294 ^ 1) & 255; - HEAP8[$20 >> 0] = $194; - $$7 = $$6 + 1 | 0; - $$pre$phi491Z2D = $194; - break; - } - default: - { - $$7 = $$6; - $$pre$phi491Z2D = ($$0294 ^ 1) & 255; - } - } - $$8 = $$7; - while (1) { - $195 = HEAP8[$$8 >> 0] | 0; - L72 : do switch ($195 << 24 >> 24) { - case 0: - { - $$8316 = $$1309; - $393 = $392; - label = 143; - break L6; - break; - } - case 93: - { - $$10 = $$8; - break L61; - break; - } - case 45: - { - $196 = $$8 + 1 | 0; - $197 = HEAP8[$196 >> 0] | 0; - switch ($197 << 24 >> 24) { - case 93: - case 0: - { - $$9 = $$8; - $208 = 45; - break L72; - break; - } - default: - {} - } - $199 = HEAP8[$$8 + -1 >> 0] | 0; - if (($199 & 255) < ($197 & 255)) { - $$0288409 = $199 & 255; - do { - $$0288409 = $$0288409 + 1 | 0; - HEAP8[$4 + $$0288409 >> 0] = $$pre$phi491Z2D; - $204 = HEAP8[$196 >> 0] | 0; - } while ($$0288409 >>> 0 < ($204 & 255) >>> 0); - $$9 = $196; - $208 = $204; - } else { - $$9 = $196; - $208 = $197; - } - break; - } - default: - { - $$9 = $$8; - $208 = $195; - } - } while (0); - HEAP8[$4 + (($208 & 255) + 1) >> 0] = $$pre$phi491Z2D; - $$8 = $$9 + 1 | 0; - } - } while (0); - $213 = $180 ? $$1267 + 1 | 0 : 31; - $214 = ($spec$select319 | 0) == 1; - $215 = ($$0270 | 0) != 0; - L80 : do if ($214) { - if ($215) { - $217 = _malloc($213 << 2) | 0; - if (!$217) { - $$8316 = 0; - $393 = 0; - label = 143; - break L6; - } else $395 = $217; - } else $395 = $$0295; - HEAP32[$3 >> 2] = 0; - HEAP32[$$sroa$2$0$$sroa_idx13 >> 2] = 0; - $$0276$ph$ph = $213; - $$0280$ph$ph = 0; - $$ph$ph = $395; - L85 : while (1) { - $219 = ($$ph$ph | 0) == 0; - $$0280$ph = $$0280$ph$ph; - while (1) { - L89 : while (1) { - $220 = HEAP32[$13 >> 2] | 0; - if ($220 >>> 0 < (HEAP32[$14 >> 2] | 0) >>> 0) { - HEAP32[$13 >> 2] = $220 + 1; - $228 = HEAPU8[$220 >> 0] | 0; - } else $228 = ___shgetc($0) | 0; - if (!(HEAP8[$4 + ($228 + 1) >> 0] | 0)) break L85; - HEAP8[$6 >> 0] = $228; - switch (_mbrtowc($5, $6, 1, $3) | 0) { - case -1: - { - $$8316 = 0; - $393 = $$ph$ph; - label = 143; - break L6; - break; - } - case -2: - break; - default: - break L89; - } - } - if ($219) $$1281 = $$0280$ph; else { - HEAP32[$$ph$ph + ($$0280$ph << 2) >> 2] = HEAP32[$5 >> 2]; - $$1281 = $$0280$ph + 1 | 0; - } - if ($215 & ($$1281 | 0) == ($$0276$ph$ph | 0)) break; else $$0280$ph = $$1281; - } - $$0276$ph$ph = $$0276$ph$ph << 1 | 1; - $240 = _realloc($$ph$ph, $$0276$ph$ph << 2) | 0; - if (!$240) { - $$8316 = 0; - $393 = $$ph$ph; - label = 143; - break L6; - } else { - $$0280$ph$ph = $$1281; - $$ph$ph = $240; - } - } - if (!(_mbsinit($3) | 0)) { - $$8316 = 0; - $393 = $$ph$ph; - label = 143; - break L6; - } else { - $$4284 = $$0280$ph; - $$5313 = 0; - $$6302 = $$ph$ph; - $396 = $$ph$ph; - } - } else { - if ($215) { - $244 = _malloc($213) | 0; - if (!$244) { - $$8316 = 0; - $393 = 0; - label = 143; - break L6; - } - $$2278$ph = $213; - $$2282$ph = 0; - $$2310$ph = $244; - while (1) { - $$2282 = $$2282$ph; - do { - $246 = HEAP32[$13 >> 2] | 0; - if ($246 >>> 0 < (HEAP32[$14 >> 2] | 0) >>> 0) { - HEAP32[$13 >> 2] = $246 + 1; - $254 = HEAPU8[$246 >> 0] | 0; - } else $254 = ___shgetc($0) | 0; - if (!(HEAP8[$4 + ($254 + 1) >> 0] | 0)) { - $$4284 = $$2282; - $$5313 = $$2310$ph; - $$6302 = 0; - $396 = 0; - break L80; - } - $$2282$looptemp = $$2282; - $$2282 = $$2282 + 1 | 0; - HEAP8[$$2310$ph + $$2282$looptemp >> 0] = $254; - } while (($$2282 | 0) != ($$2278$ph | 0)); - $$2278$ph = $$2278$ph << 1 | 1; - $263 = _realloc($$2310$ph, $$2278$ph) | 0; - if (!$263) { - $$8316 = $$2310$ph; - $393 = 0; - label = 143; - break L6; - } else { - $$2282$ph = $$2282; - $$2310$ph = $263; - } - } - } - if (!$$0295) while (1) { - $281 = HEAP32[$13 >> 2] | 0; - if ($281 >>> 0 < (HEAP32[$14 >> 2] | 0) >>> 0) { - HEAP32[$13 >> 2] = $281 + 1; - $289 = HEAPU8[$281 >> 0] | 0; - } else $289 = ___shgetc($0) | 0; - if (!(HEAP8[$4 + ($289 + 1) >> 0] | 0)) { - $$4284 = 0; - $$5313 = 0; - $$6302 = 0; - $396 = 0; - break L80; - } - } - $$3283 = 0; - while (1) { - $266 = HEAP32[$13 >> 2] | 0; - if ($266 >>> 0 < (HEAP32[$14 >> 2] | 0) >>> 0) { - HEAP32[$13 >> 2] = $266 + 1; - $274 = HEAPU8[$266 >> 0] | 0; - } else $274 = ___shgetc($0) | 0; - if (!(HEAP8[$4 + ($274 + 1) >> 0] | 0)) { - $$4284 = $$3283; - $$5313 = $$0295; - $$6302 = 0; - $396 = 0; - break L80; - } - HEAP8[$$0295 + $$3283 >> 0] = $274; - $$3283 = $$3283 + 1 | 0; - } - } while (0); - if (!(HEAP32[$14 >> 2] | 0)) $306 = HEAP32[$13 >> 2] | 0; else { - $296 = (HEAP32[$13 >> 2] | 0) + -1 | 0; - HEAP32[$13 >> 2] = $296; - $306 = $296; - } - $298 = $15; - $305 = $306 - (HEAP32[$16 >> 2] | 0) | 0; - $309 = _i64Add(HEAP32[$298 >> 2] | 0, HEAP32[$298 + 4 >> 2] | 0, $305 | 0, (($305 | 0) < 0) << 31 >> 31 | 0) | 0; - $310 = getTempRet0() | 0; - if (($309 | 0) == 0 & ($310 | 0) == 0) { - $$10318 = $$5313; - $$2 = $$0270; - $$2292 = $$0290414; - $384 = $396; - break L6; - } - if (!(($309 | 0) == ($$1267 | 0) & ($310 | 0) == ($169 | 0) | $180 ^ 1)) { - $$10318 = $$5313; - $$2 = $$0270; - $$2292 = $$0290414; - $384 = $396; - break L6; - } - do if ($215) if ($214) { - HEAP32[$$0295 >> 2] = $$6302; - break; - } else { - HEAP32[$$0295 >> 2] = $$5313; + _memset($buf | 0, 48, $s753$0 + $81 | 0) | 0; + $s753$1440 = $s753$0; + while (1) { + $incdec$ptr773 = $s753$1440 + -1 | 0; + if ($incdec$ptr773 >>> 0 > $buf >>> 0) $s753$1440 = $incdec$ptr773; else { + $s753$2 = $incdec$ptr773; break; - } while (0); - if ($180) { - $$11 = $$10; - $$6314 = $$5313; - $394 = $396; - } else { - if ($$6302 | 0) HEAP32[$$6302 + ($$4284 << 2) >> 2] = 0; - if (!$$5313) { - $$11 = $$10; - $$6314 = 0; - $394 = $396; - break L59; - } - HEAP8[$$5313 + $$4284 >> 0] = 0; - $$11 = $$10; - $$6314 = $$5313; - $394 = $396; - } - break; - } - case 120: - case 88: - case 112: - { - $$0272 = 16; - label = 131; - break; - } - case 111: - { - $$0272 = 8; - label = 131; - break; - } - case 117: - case 100: - { - $$0272 = 10; - label = 131; - break; - } - case 105: - { - $$0272 = 0; - label = 131; - break; - } - case 71: - case 103: - case 70: - case 102: - case 69: - case 101: - case 65: - case 97: - { - $342 = +___floatscan($0, $spec$select319, 0); - $343 = $15; - $345 = HEAP32[$343 >> 2] | 0; - $348 = HEAP32[$343 + 4 >> 2] | 0; - $351 = (HEAP32[$13 >> 2] | 0) - (HEAP32[$16 >> 2] | 0) | 0; - $354 = _i64Subtract(0, 0, $351 | 0, (($351 | 0) < 0) << 31 >> 31 | 0) | 0; - if (($345 | 0) == ($354 | 0) & ($348 | 0) == (getTempRet0() | 0)) { - $$10318 = $$1309; - $$2 = $$0270; - $$2292 = $$0290414; - $384 = $392; - break L6; - } - if (!$$0295) { - $$11 = $$5; - $$6314 = $$1309; - $394 = $392; - } else switch ($spec$select319 | 0) { - case 0: - { - HEAPF32[$$0295 >> 2] = $342; - $$11 = $$5; - $$6314 = $$1309; - $394 = $392; - break L59; - break; - } - case 1: - { - HEAPF64[$$0295 >> 3] = $342; - $$11 = $$5; - $$6314 = $$1309; - $394 = $392; - break L59; - break; - } - case 2: - { - HEAPF64[$$0295 >> 3] = $342; - $$11 = $$5; - $$6314 = $$1309; - $394 = $392; - break L59; - break; - } - default: - { - $$11 = $$5; - $$6314 = $$1309; - $394 = $392; - break L59; - } - } - break; - } - default: - { - $$11 = $$5; - $$6314 = $$1309; - $394 = $392; - } - } while (0); - do if ((label | 0) == 131) { - label = 0; - $321 = ___intscan($0, $$0272, 0, -1, -1) | 0; - $322 = getTempRet0() | 0; - $323 = $15; - $325 = HEAP32[$323 >> 2] | 0; - $328 = HEAP32[$323 + 4 >> 2] | 0; - $331 = (HEAP32[$13 >> 2] | 0) - (HEAP32[$16 >> 2] | 0) | 0; - $334 = _i64Subtract(0, 0, $331 | 0, (($331 | 0) < 0) << 31 >> 31 | 0) | 0; - if (($325 | 0) == ($334 | 0) & ($328 | 0) == (getTempRet0() | 0)) { - $$10318 = $$1309; - $$2 = $$0270; - $$2292 = $$0290414; - $384 = $392; - break L6; - } - if (($$0295 | 0) != 0 & ($spec$select | 0) == 112) { - HEAP32[$$0295 >> 2] = $321; - $$11 = $$5; - $$6314 = $$1309; - $394 = $392; - break; - } else { - _store_int($$0295, $spec$select319, $321, $322); - $$11 = $$5; - $$6314 = $$1309; - $394 = $392; - break; - } - } while (0); - $361 = $15; - $369 = (HEAP32[$13 >> 2] | 0) - (HEAP32[$16 >> 2] | 0) | 0; - $374 = _i64Add(HEAP32[$361 >> 2] | 0, HEAP32[$361 + 4 >> 2] | 0, $372 | 0, $373 | 0) | 0; - $376 = _i64Add($374 | 0, getTempRet0() | 0, $369 | 0, (($369 | 0) < 0) << 31 >> 31 | 0) | 0; - $$12 = $$11; - $$1291 = $$0290414 + (($$0295 | 0) != 0 & 1) | 0; - $$7315 = $$6314; - $388 = $394; - $389 = $376; - $390 = getTempRet0() | 0; - break L8; - } while (0); - $67 = $$0273418 + ($63 & 1) | 0; - ___shlim($0, 0, 0); - $68 = HEAP32[$13 >> 2] | 0; - if ($68 >>> 0 < (HEAP32[$14 >> 2] | 0) >>> 0) { - HEAP32[$13 >> 2] = $68 + 1; - $78 = HEAPU8[$68 >> 0] | 0; - } else $78 = ___shgetc($0) | 0; - if (($78 | 0) != (HEAPU8[$67 >> 0] | 0)) { - label = 23; - break L6; - } - $85 = _i64Add($56 | 0, $57 | 0, 1, 0) | 0; - $$12 = $67; - $$1291 = $$0290414; - $$7315 = $$0308412; - $388 = $387; - $389 = $85; - $390 = getTempRet0() | 0; - } else { - $$1274 = $$0273418; - while (1) { - $25 = $$1274 + 1 | 0; - if (!(_isspace(HEAPU8[$25 >> 0] | 0) | 0)) break; else $$1274 = $25; - } - ___shlim($0, 0, 0); - do { - $30 = HEAP32[$13 >> 2] | 0; - if ($30 >>> 0 < (HEAP32[$14 >> 2] | 0) >>> 0) { - HEAP32[$13 >> 2] = $30 + 1; - $37 = HEAPU8[$30 >> 0] | 0; - } else $37 = ___shgetc($0) | 0; - } while ((_isspace($37) | 0) != 0); - if (!(HEAP32[$14 >> 2] | 0)) $53 = HEAP32[$13 >> 2] | 0; else { - $43 = (HEAP32[$13 >> 2] | 0) + -1 | 0; - HEAP32[$13 >> 2] = $43; - $53 = $43; - } - $45 = $15; - $52 = $53 - (HEAP32[$16 >> 2] | 0) | 0; - $58 = _i64Add(HEAP32[$45 >> 2] | 0, HEAP32[$45 + 4 >> 2] | 0, $56 | 0, $57 | 0) | 0; - $60 = _i64Add($58 | 0, getTempRet0() | 0, $52 | 0, (($52 | 0) < 0) << 31 >> 31 | 0) | 0; - $$12 = $$1274; - $$1291 = $$0290414; - $$7315 = $$0308412; - $388 = $387; - $389 = $60; - $390 = getTempRet0() | 0; - } while (0); - $$0273418 = $$12 + 1 | 0; - $22 = HEAP8[$$0273418 >> 0] | 0; - if (!($22 << 24 >> 24)) { - $$3293 = $$1291; - break L4; - } else { - $$0290414 = $$1291; - $$0308412 = $$7315; - $387 = $388; - $56 = $389; - $57 = $390; - } - } - if ((label | 0) == 23) { - if (HEAP32[$14 >> 2] | 0) HEAP32[$13 >> 2] = (HEAP32[$13 >> 2] | 0) + -1; - if (($$0290414 | 0) != 0 | ($78 | 0) > -1) { - $$3293 = $$0290414; - break; - } else { - $$1271 = 0; - $$9317 = $$0308412; - $391 = $387; - label = 144; - } - } else if ((label | 0) == 143) if (!$$0290414) { - $$1271 = $$0270; - $$9317 = $$8316; - $391 = $393; - label = 144; - } else { - $$10318 = $$8316; - $$2 = $$0270; - $$2292 = $$0290414; - $384 = $393; - } - if ((label | 0) == 144) { - $$10318 = $$9317; - $$2 = $$1271; - $$2292 = -1; - $384 = $391; - } - if (!$$2) $$3293 = $$2292; else { - _free($$10318); - _free($384); - $$3293 = $$2292; - } - } else $$3293 = 0; while (0); - if ($386 | 0) ___unlockfile($0); - STACKTOP = sp; - return $$3293 | 0; -} - -function __ZNSt3__212__next_primeEm($0) { - $0 = $0 | 0; - var $$0 = 0, $$0328 = 0, $$0334 = 0, $$0337 = 0, $$1 = 0, $$2332 = 0, $$4 = 0, $$5 = 0, $$6 = 0, $$8 = 0, $$sink369 = 0, $1 = 0, $100 = 0, $104 = 0, $105 = 0, $109 = 0, $110 = 0, $114 = 0, $115 = 0, $119 = 0, $120 = 0, $124 = 0, $125 = 0, $129 = 0, $130 = 0, $134 = 0, $135 = 0, $139 = 0, $140 = 0, $144 = 0, $145 = 0, $149 = 0, $150 = 0, $154 = 0, $155 = 0, $159 = 0, $16 = 0, $160 = 0, $164 = 0, $165 = 0, $169 = 0, $170 = 0, $174 = 0, $175 = 0, $179 = 0, $180 = 0, $184 = 0, $185 = 0, $189 = 0, $19 = 0, $190 = 0, $194 = 0, $195 = 0, $199 = 0, $2 = 0, $20 = 0, $200 = 0, $204 = 0, $205 = 0, $209 = 0, $210 = 0, $214 = 0, $215 = 0, $219 = 0, $220 = 0, $224 = 0, $225 = 0, $229 = 0, $230 = 0, $234 = 0, $235 = 0, $239 = 0, $240 = 0, $244 = 0, $245 = 0, $249 = 0, $25 = 0, $250 = 0, $254 = 0, $255 = 0, $259 = 0, $260 = 0, $261 = 0, $263 = 0, $266 = 0, $267 = 0, $29 = 0, $3 = 0, $30 = 0, $34 = 0, $35 = 0, $39 = 0, $40 = 0, $44 = 0, $45 = 0, $49 = 0, $5 = 0, $50 = 0, $54 = 0, $55 = 0, $59 = 0, $60 = 0, $64 = 0, $65 = 0, $69 = 0, $7 = 0, $70 = 0, $74 = 0, $75 = 0, $79 = 0, $8 = 0, $80 = 0, $84 = 0, $85 = 0, $89 = 0, $90 = 0, $94 = 0, $95 = 0, $99 = 0, $spec$select = 0, $spec$select339$sink = 0, label = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $1 = sp; - $2 = sp + 8 | 0; - $3 = sp + 4 | 0; - HEAP32[$2 >> 2] = $0; - do if ($0 >>> 0 >= 212) { - $7 = ($0 >>> 0) / 210 | 0; - $8 = $7 * 210 | 0; - HEAP32[$3 >> 2] = $0 - $8; - $$0328 = 0; - $$0337 = $7; - $$sink369 = $8; - $spec$select339$sink = (__ZNSt3__213__lower_boundIRNS_6__lessIjmEEPKjmEET0_S6_S6_RKT1_T_(12736, 12928, $3, $1) | 0) - 12736 >> 2; - L4 : while (1) { - $16 = (HEAP32[12736 + ($spec$select339$sink << 2) >> 2] | 0) + $$sink369 | 0; - $$0334 = 5; - while (1) { - if ($$0334 >>> 0 >= 47) { - label = 6; - break; - } - $19 = HEAP32[12544 + ($$0334 << 2) >> 2] | 0; - $20 = ($16 >>> 0) / ($19 >>> 0) | 0; - if ($20 >>> 0 < $19 >>> 0) { - label = 107; - break L4; - } - if (($16 | 0) == (Math_imul($20, $19) | 0)) { - $$6 = $$0328; - break; - } else $$0334 = $$0334 + 1 | 0; - } - L10 : do if ((label | 0) == 6) { - label = 0; - $$0 = 211; - $$4 = $$0328; - L12 : while (1) { - $25 = ($16 >>> 0) / ($$0 >>> 0) | 0; - do if ($25 >>> 0 >= $$0 >>> 0) if (($16 | 0) != (Math_imul($25, $$0) | 0)) { - $29 = $$0 + 10 | 0; - $30 = ($16 >>> 0) / ($29 >>> 0) | 0; - if ($30 >>> 0 >= $29 >>> 0) if (($16 | 0) != (Math_imul($30, $29) | 0)) { - $34 = $$0 + 12 | 0; - $35 = ($16 >>> 0) / ($34 >>> 0) | 0; - if ($35 >>> 0 >= $34 >>> 0) if (($16 | 0) != (Math_imul($35, $34) | 0)) { - $39 = $$0 + 16 | 0; - $40 = ($16 >>> 0) / ($39 >>> 0) | 0; - if ($40 >>> 0 >= $39 >>> 0) if (($16 | 0) != (Math_imul($40, $39) | 0)) { - $44 = $$0 + 18 | 0; - $45 = ($16 >>> 0) / ($44 >>> 0) | 0; - if ($45 >>> 0 >= $44 >>> 0) if (($16 | 0) != (Math_imul($45, $44) | 0)) { - $49 = $$0 + 22 | 0; - $50 = ($16 >>> 0) / ($49 >>> 0) | 0; - if ($50 >>> 0 >= $49 >>> 0) if (($16 | 0) != (Math_imul($50, $49) | 0)) { - $54 = $$0 + 28 | 0; - $55 = ($16 >>> 0) / ($54 >>> 0) | 0; - if ($55 >>> 0 >= $54 >>> 0) if (($16 | 0) == (Math_imul($55, $54) | 0)) { - $$1 = $54; - $$2332 = 9; - $$5 = $$4; - } else { - $59 = $$0 + 30 | 0; - $60 = ($16 >>> 0) / ($59 >>> 0) | 0; - if ($60 >>> 0 < $59 >>> 0) { - $$1 = $59; - $$2332 = 1; - $$5 = $16; - break; - } - if (($16 | 0) == (Math_imul($60, $59) | 0)) { - $$1 = $59; - $$2332 = 9; - $$5 = $$4; - break; - } - $64 = $$0 + 36 | 0; - $65 = ($16 >>> 0) / ($64 >>> 0) | 0; - if ($65 >>> 0 < $64 >>> 0) { - $$1 = $64; - $$2332 = 1; - $$5 = $16; - break; - } - if (($16 | 0) == (Math_imul($65, $64) | 0)) { - $$1 = $64; - $$2332 = 9; - $$5 = $$4; - break; - } - $69 = $$0 + 40 | 0; - $70 = ($16 >>> 0) / ($69 >>> 0) | 0; - if ($70 >>> 0 < $69 >>> 0) { - $$1 = $69; - $$2332 = 1; - $$5 = $16; - break; - } - if (($16 | 0) == (Math_imul($70, $69) | 0)) { - $$1 = $69; - $$2332 = 9; - $$5 = $$4; - break; - } - $74 = $$0 + 42 | 0; - $75 = ($16 >>> 0) / ($74 >>> 0) | 0; - if ($75 >>> 0 < $74 >>> 0) { - $$1 = $74; - $$2332 = 1; - $$5 = $16; - break; - } - if (($16 | 0) == (Math_imul($75, $74) | 0)) { - $$1 = $74; - $$2332 = 9; - $$5 = $$4; - break; - } - $79 = $$0 + 46 | 0; - $80 = ($16 >>> 0) / ($79 >>> 0) | 0; - if ($80 >>> 0 < $79 >>> 0) { - $$1 = $79; - $$2332 = 1; - $$5 = $16; - break; - } - if (($16 | 0) == (Math_imul($80, $79) | 0)) { - $$1 = $79; - $$2332 = 9; - $$5 = $$4; - break; - } - $84 = $$0 + 52 | 0; - $85 = ($16 >>> 0) / ($84 >>> 0) | 0; - if ($85 >>> 0 < $84 >>> 0) { - $$1 = $84; - $$2332 = 1; - $$5 = $16; - break; - } - if (($16 | 0) == (Math_imul($85, $84) | 0)) { - $$1 = $84; - $$2332 = 9; - $$5 = $$4; - break; - } - $89 = $$0 + 58 | 0; - $90 = ($16 >>> 0) / ($89 >>> 0) | 0; - if ($90 >>> 0 < $89 >>> 0) { - $$1 = $89; - $$2332 = 1; - $$5 = $16; - break; - } - if (($16 | 0) == (Math_imul($90, $89) | 0)) { - $$1 = $89; - $$2332 = 9; - $$5 = $$4; - break; - } - $94 = $$0 + 60 | 0; - $95 = ($16 >>> 0) / ($94 >>> 0) | 0; - if ($95 >>> 0 < $94 >>> 0) { - $$1 = $94; - $$2332 = 1; - $$5 = $16; - break; - } - if (($16 | 0) == (Math_imul($95, $94) | 0)) { - $$1 = $94; - $$2332 = 9; - $$5 = $$4; - break; - } - $99 = $$0 + 66 | 0; - $100 = ($16 >>> 0) / ($99 >>> 0) | 0; - if ($100 >>> 0 < $99 >>> 0) { - $$1 = $99; - $$2332 = 1; - $$5 = $16; - break; - } - if (($16 | 0) == (Math_imul($100, $99) | 0)) { - $$1 = $99; - $$2332 = 9; - $$5 = $$4; - break; - } - $104 = $$0 + 70 | 0; - $105 = ($16 >>> 0) / ($104 >>> 0) | 0; - if ($105 >>> 0 < $104 >>> 0) { - $$1 = $104; - $$2332 = 1; - $$5 = $16; - break; - } - if (($16 | 0) == (Math_imul($105, $104) | 0)) { - $$1 = $104; - $$2332 = 9; - $$5 = $$4; - break; - } - $109 = $$0 + 72 | 0; - $110 = ($16 >>> 0) / ($109 >>> 0) | 0; - if ($110 >>> 0 < $109 >>> 0) { - $$1 = $109; - $$2332 = 1; - $$5 = $16; - break; - } - if (($16 | 0) == (Math_imul($110, $109) | 0)) { - $$1 = $109; - $$2332 = 9; - $$5 = $$4; - break; - } - $114 = $$0 + 78 | 0; - $115 = ($16 >>> 0) / ($114 >>> 0) | 0; - if ($115 >>> 0 < $114 >>> 0) { - $$1 = $114; - $$2332 = 1; - $$5 = $16; - break; - } - if (($16 | 0) == (Math_imul($115, $114) | 0)) { - $$1 = $114; - $$2332 = 9; - $$5 = $$4; - break; - } - $119 = $$0 + 82 | 0; - $120 = ($16 >>> 0) / ($119 >>> 0) | 0; - if ($120 >>> 0 < $119 >>> 0) { - $$1 = $119; - $$2332 = 1; - $$5 = $16; - break; - } - if (($16 | 0) == (Math_imul($120, $119) | 0)) { - $$1 = $119; - $$2332 = 9; - $$5 = $$4; - break; - } - $124 = $$0 + 88 | 0; - $125 = ($16 >>> 0) / ($124 >>> 0) | 0; - if ($125 >>> 0 < $124 >>> 0) { - $$1 = $124; - $$2332 = 1; - $$5 = $16; - break; - } - if (($16 | 0) == (Math_imul($125, $124) | 0)) { - $$1 = $124; - $$2332 = 9; - $$5 = $$4; - break; - } - $129 = $$0 + 96 | 0; - $130 = ($16 >>> 0) / ($129 >>> 0) | 0; - if ($130 >>> 0 < $129 >>> 0) { - $$1 = $129; - $$2332 = 1; - $$5 = $16; - break; - } - if (($16 | 0) == (Math_imul($130, $129) | 0)) { - $$1 = $129; - $$2332 = 9; - $$5 = $$4; - break; - } - $134 = $$0 + 100 | 0; - $135 = ($16 >>> 0) / ($134 >>> 0) | 0; - if ($135 >>> 0 < $134 >>> 0) { - $$1 = $134; - $$2332 = 1; - $$5 = $16; - break; - } - if (($16 | 0) == (Math_imul($135, $134) | 0)) { - $$1 = $134; - $$2332 = 9; - $$5 = $$4; - break; - } - $139 = $$0 + 102 | 0; - $140 = ($16 >>> 0) / ($139 >>> 0) | 0; - if ($140 >>> 0 < $139 >>> 0) { - $$1 = $139; - $$2332 = 1; - $$5 = $16; - break; - } - if (($16 | 0) == (Math_imul($140, $139) | 0)) { - $$1 = $139; - $$2332 = 9; - $$5 = $$4; - break; - } - $144 = $$0 + 106 | 0; - $145 = ($16 >>> 0) / ($144 >>> 0) | 0; - if ($145 >>> 0 < $144 >>> 0) { - $$1 = $144; - $$2332 = 1; - $$5 = $16; - break; - } - if (($16 | 0) == (Math_imul($145, $144) | 0)) { - $$1 = $144; - $$2332 = 9; - $$5 = $$4; - break; - } - $149 = $$0 + 108 | 0; - $150 = ($16 >>> 0) / ($149 >>> 0) | 0; - if ($150 >>> 0 < $149 >>> 0) { - $$1 = $149; - $$2332 = 1; - $$5 = $16; - break; - } - if (($16 | 0) == (Math_imul($150, $149) | 0)) { - $$1 = $149; - $$2332 = 9; - $$5 = $$4; - break; - } - $154 = $$0 + 112 | 0; - $155 = ($16 >>> 0) / ($154 >>> 0) | 0; - if ($155 >>> 0 < $154 >>> 0) { - $$1 = $154; - $$2332 = 1; - $$5 = $16; - break; - } - if (($16 | 0) == (Math_imul($155, $154) | 0)) { - $$1 = $154; - $$2332 = 9; - $$5 = $$4; - break; - } - $159 = $$0 + 120 | 0; - $160 = ($16 >>> 0) / ($159 >>> 0) | 0; - if ($160 >>> 0 < $159 >>> 0) { - $$1 = $159; - $$2332 = 1; - $$5 = $16; - break; - } - if (($16 | 0) == (Math_imul($160, $159) | 0)) { - $$1 = $159; - $$2332 = 9; - $$5 = $$4; - break; - } - $164 = $$0 + 126 | 0; - $165 = ($16 >>> 0) / ($164 >>> 0) | 0; - if ($165 >>> 0 < $164 >>> 0) { - $$1 = $164; - $$2332 = 1; - $$5 = $16; - break; - } - if (($16 | 0) == (Math_imul($165, $164) | 0)) { - $$1 = $164; - $$2332 = 9; - $$5 = $$4; - break; - } - $169 = $$0 + 130 | 0; - $170 = ($16 >>> 0) / ($169 >>> 0) | 0; - if ($170 >>> 0 < $169 >>> 0) { - $$1 = $169; - $$2332 = 1; - $$5 = $16; - break; - } - if (($16 | 0) == (Math_imul($170, $169) | 0)) { - $$1 = $169; - $$2332 = 9; - $$5 = $$4; - break; - } - $174 = $$0 + 136 | 0; - $175 = ($16 >>> 0) / ($174 >>> 0) | 0; - if ($175 >>> 0 < $174 >>> 0) { - $$1 = $174; - $$2332 = 1; - $$5 = $16; - break; - } - if (($16 | 0) == (Math_imul($175, $174) | 0)) { - $$1 = $174; - $$2332 = 9; - $$5 = $$4; - break; - } - $179 = $$0 + 138 | 0; - $180 = ($16 >>> 0) / ($179 >>> 0) | 0; - if ($180 >>> 0 < $179 >>> 0) { - $$1 = $179; - $$2332 = 1; - $$5 = $16; - break; - } - if (($16 | 0) == (Math_imul($180, $179) | 0)) { - $$1 = $179; - $$2332 = 9; - $$5 = $$4; - break; - } - $184 = $$0 + 142 | 0; - $185 = ($16 >>> 0) / ($184 >>> 0) | 0; - if ($185 >>> 0 < $184 >>> 0) { - $$1 = $184; - $$2332 = 1; - $$5 = $16; - break; - } - if (($16 | 0) == (Math_imul($185, $184) | 0)) { - $$1 = $184; - $$2332 = 9; - $$5 = $$4; - break; - } - $189 = $$0 + 148 | 0; - $190 = ($16 >>> 0) / ($189 >>> 0) | 0; - if ($190 >>> 0 < $189 >>> 0) { - $$1 = $189; - $$2332 = 1; - $$5 = $16; - break; - } - if (($16 | 0) == (Math_imul($190, $189) | 0)) { - $$1 = $189; - $$2332 = 9; - $$5 = $$4; - break; - } - $194 = $$0 + 150 | 0; - $195 = ($16 >>> 0) / ($194 >>> 0) | 0; - if ($195 >>> 0 < $194 >>> 0) { - $$1 = $194; - $$2332 = 1; - $$5 = $16; - break; - } - if (($16 | 0) == (Math_imul($195, $194) | 0)) { - $$1 = $194; - $$2332 = 9; - $$5 = $$4; - break; - } - $199 = $$0 + 156 | 0; - $200 = ($16 >>> 0) / ($199 >>> 0) | 0; - if ($200 >>> 0 < $199 >>> 0) { - $$1 = $199; - $$2332 = 1; - $$5 = $16; - break; - } - if (($16 | 0) == (Math_imul($200, $199) | 0)) { - $$1 = $199; - $$2332 = 9; - $$5 = $$4; - break; - } - $204 = $$0 + 162 | 0; - $205 = ($16 >>> 0) / ($204 >>> 0) | 0; - if ($205 >>> 0 < $204 >>> 0) { - $$1 = $204; - $$2332 = 1; - $$5 = $16; - break; - } - if (($16 | 0) == (Math_imul($205, $204) | 0)) { - $$1 = $204; - $$2332 = 9; - $$5 = $$4; - break; - } - $209 = $$0 + 166 | 0; - $210 = ($16 >>> 0) / ($209 >>> 0) | 0; - if ($210 >>> 0 < $209 >>> 0) { - $$1 = $209; - $$2332 = 1; - $$5 = $16; - break; - } - if (($16 | 0) == (Math_imul($210, $209) | 0)) { - $$1 = $209; - $$2332 = 9; - $$5 = $$4; - break; - } - $214 = $$0 + 168 | 0; - $215 = ($16 >>> 0) / ($214 >>> 0) | 0; - if ($215 >>> 0 < $214 >>> 0) { - $$1 = $214; - $$2332 = 1; - $$5 = $16; - break; - } - if (($16 | 0) == (Math_imul($215, $214) | 0)) { - $$1 = $214; - $$2332 = 9; - $$5 = $$4; - break; - } - $219 = $$0 + 172 | 0; - $220 = ($16 >>> 0) / ($219 >>> 0) | 0; - if ($220 >>> 0 < $219 >>> 0) { - $$1 = $219; - $$2332 = 1; - $$5 = $16; - break; - } - if (($16 | 0) == (Math_imul($220, $219) | 0)) { - $$1 = $219; - $$2332 = 9; - $$5 = $$4; - break; - } - $224 = $$0 + 178 | 0; - $225 = ($16 >>> 0) / ($224 >>> 0) | 0; - if ($225 >>> 0 < $224 >>> 0) { - $$1 = $224; - $$2332 = 1; - $$5 = $16; - break; - } - if (($16 | 0) == (Math_imul($225, $224) | 0)) { - $$1 = $224; - $$2332 = 9; - $$5 = $$4; - break; - } - $229 = $$0 + 180 | 0; - $230 = ($16 >>> 0) / ($229 >>> 0) | 0; - if ($230 >>> 0 < $229 >>> 0) { - $$1 = $229; - $$2332 = 1; - $$5 = $16; - break; - } - if (($16 | 0) == (Math_imul($230, $229) | 0)) { - $$1 = $229; - $$2332 = 9; - $$5 = $$4; - break; - } - $234 = $$0 + 186 | 0; - $235 = ($16 >>> 0) / ($234 >>> 0) | 0; - if ($235 >>> 0 < $234 >>> 0) { - $$1 = $234; - $$2332 = 1; - $$5 = $16; - break; - } - if (($16 | 0) == (Math_imul($235, $234) | 0)) { - $$1 = $234; - $$2332 = 9; - $$5 = $$4; - break; - } - $239 = $$0 + 190 | 0; - $240 = ($16 >>> 0) / ($239 >>> 0) | 0; - if ($240 >>> 0 < $239 >>> 0) { - $$1 = $239; - $$2332 = 1; - $$5 = $16; - break; - } - if (($16 | 0) == (Math_imul($240, $239) | 0)) { - $$1 = $239; - $$2332 = 9; - $$5 = $$4; - break; - } - $244 = $$0 + 192 | 0; - $245 = ($16 >>> 0) / ($244 >>> 0) | 0; - if ($245 >>> 0 < $244 >>> 0) { - $$1 = $244; - $$2332 = 1; - $$5 = $16; - break; - } - if (($16 | 0) == (Math_imul($245, $244) | 0)) { - $$1 = $244; - $$2332 = 9; - $$5 = $$4; - break; - } - $249 = $$0 + 196 | 0; - $250 = ($16 >>> 0) / ($249 >>> 0) | 0; - if ($250 >>> 0 < $249 >>> 0) { - $$1 = $249; - $$2332 = 1; - $$5 = $16; - break; - } - if (($16 | 0) == (Math_imul($250, $249) | 0)) { - $$1 = $249; - $$2332 = 9; - $$5 = $$4; - break; - } - $254 = $$0 + 198 | 0; - $255 = ($16 >>> 0) / ($254 >>> 0) | 0; - if ($255 >>> 0 < $254 >>> 0) { - $$1 = $254; - $$2332 = 1; - $$5 = $16; - break; - } - if (($16 | 0) == (Math_imul($255, $254) | 0)) { - $$1 = $254; - $$2332 = 9; - $$5 = $$4; - break; - } - $259 = $$0 + 208 | 0; - $260 = ($16 >>> 0) / ($259 >>> 0) | 0; - $261 = $260 >>> 0 < $259 >>> 0; - $263 = ($16 | 0) == (Math_imul($260, $259) | 0); - $$1 = $261 | $263 ? $259 : $$0 + 210 | 0; - $$2332 = $261 ? 1 : $263 ? 9 : 0; - $$5 = $261 ? $16 : $$4; - } else { - $$1 = $54; - $$2332 = 1; - $$5 = $16; - } - } else { - $$1 = $49; - $$2332 = 9; - $$5 = $$4; - } else { - $$1 = $49; - $$2332 = 1; - $$5 = $16; - } - } else { - $$1 = $44; - $$2332 = 9; - $$5 = $$4; - } else { - $$1 = $44; - $$2332 = 1; - $$5 = $16; - } - } else { - $$1 = $39; - $$2332 = 9; - $$5 = $$4; - } else { - $$1 = $39; - $$2332 = 1; - $$5 = $16; - } - } else { - $$1 = $34; - $$2332 = 9; - $$5 = $$4; - } else { - $$1 = $34; - $$2332 = 1; - $$5 = $16; } - } else { - $$1 = $29; - $$2332 = 9; - $$5 = $$4; - } else { - $$1 = $29; - $$2332 = 1; - $$5 = $16; } - } else { - $$1 = $$0; - $$2332 = 9; - $$5 = $$4; - } else { - $$1 = $$0; - $$2332 = 1; - $$5 = $16; } while (0); - switch ($$2332 & 15) { - case 9: - { - $$6 = $$5; - break L10; - break; - } - case 0: - { - $$0 = $$1; - $$4 = $$5; - break; - } - default: - break L12; - } - } - if (!$$2332) $$6 = $$5; else { - label = 108; - break L4; + $sub$ptr$sub789 = $sub$ptr$lhs$cast787 - $s753$2 | 0; + _out_779($f, $s753$2, ($p$addr$5445 | 0) > ($sub$ptr$sub789 | 0) ? $sub$ptr$sub789 : $p$addr$5445); + $sub806 = $p$addr$5445 - $sub$ptr$sub789 | 0; + $d$7444 = $d$7444 + 4 | 0; + if (!($d$7444 >>> 0 < $spec$select410 >>> 0 & ($sub806 | 0) > -1)) { + $p$addr$5$lcssa = $sub806; + break; + } else $p$addr$5445 = $sub806; } - } while (0); - $266 = $spec$select339$sink + 1 | 0; - $267 = ($266 | 0) == 48; - $spec$select = $$0337 + ($267 & 1) | 0; - $$0328 = $$6; - $$0337 = $spec$select; - $$sink369 = $spec$select * 210 | 0; - $spec$select339$sink = $267 ? 0 : $266; - } - if ((label | 0) == 107) { - HEAP32[$2 >> 2] = $16; - $$8 = $16; - break; - } else if ((label | 0) == 108) { - HEAP32[$2 >> 2] = $16; - $$8 = $$5; - break; + } else $p$addr$5$lcssa = $p$addr$3; + _pad_785($f, 48, $p$addr$5$lcssa + 18 | 0, 18, 0); + _out_779($f, $estr$2, $arrayidx - $estr$2 | 0); } - } else { - $5 = __ZNSt3__213__lower_boundIRNS_6__lessIjmEEPKjmEET0_S6_S6_RKT1_T_(12544, 12736, $2, $1) | 0; - $$8 = HEAP32[$5 >> 2] | 0; + _pad_785($f, 32, $w, $add653, $fl ^ 8192); + $add653$sink524 = $add653; } while (0); STACKTOP = sp; - return $$8 | 0; + return (($add653$sink524 | 0) < ($w | 0) ? $w : $add653$sink524) | 0; } -function _fill_inverse_cmap($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $$0$i = 0, $$0115$i = 0, $$0153$i = 0, $$0156166$i = 0, $$0158$lcssa$i = 0, $$0158164$i = 0, $$0160165$i = 0, $$05466 = 0, $$05765 = 0, $$089114$i = 0, $$092113$i = 0, $$093112$i = 0, $$1$i = 0, $$1154$i = 0, $$1159$i = 0, $$1161163$i = 0, $$195111$i = 0, $$199116$i = 0, $$2$i = 0, $$2155$i = 0, $$pn$i = 0, $$pn162$i = 0, $10 = 0, $102 = 0, $105 = 0, $107 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $21 = 0, $22 = 0, $24 = 0, $247 = 0, $249 = 0, $25 = 0, $250 = 0, $251 = 0, $256 = 0, $257 = 0, $258 = 0, $264 = 0, $265 = 0, $267 = 0, $27 = 0, $273 = 0, $278 = 0, $279 = 0, $28 = 0, $280 = 0, $281 = 0, $282 = 0, $283 = 0, $284 = 0, $285 = 0, $286 = 0, $287 = 0, $288 = 0, $289 = 0, $292 = 0, $293 = 0, $298 = 0, $299 = 0, $30 = 0, $303 = 0, $304 = 0, $308 = 0, $311 = 0, $312 = 0, $316 = 0, $317 = 0, $321 = 0, $322 = 0, $326 = 0, $329 = 0, $33 = 0, $330 = 0, $334 = 0, $335 = 0, $339 = 0, $34 = 0, $340 = 0, $344 = 0, $347 = 0, $348 = 0, $352 = 0, $353 = 0, $357 = 0, $358 = 0, $36 = 0, $362 = 0, $365 = 0, $366 = 0, $370 = 0, $371 = 0, $375 = 0, $376 = 0, $38 = 0, $380 = 0, $383 = 0, $384 = 0, $388 = 0, $389 = 0, $393 = 0, $394 = 0, $398 = 0, $4 = 0, $401 = 0, $402 = 0, $406 = 0, $407 = 0, $41 = 0, $411 = 0, $412 = 0, $416 = 0, $419 = 0, $420 = 0, $424 = 0, $425 = 0, $429 = 0, $430 = 0, $438 = 0, $439 = 0, $44 = 0, $440 = 0, $441 = 0, $442 = 0, $443 = 0, $444 = 0, $445 = 0, $446 = 0, $447 = 0, $449 = 0, $450 = 0, $451 = 0, $47 = 0, $474 = 0, $497 = 0, $5 = 0, $51 = 0, $520 = 0, $54 = 0, $543 = 0, $544 = 0, $567 = 0, $58 = 0, $590 = 0, $6 = 0, $61 = 0, $613 = 0, $65 = 0, $68 = 0, $72 = 0, $76 = 0, $80 = 0, $84 = 0, $87 = 0, $91 = 0, $93 = 0, $96 = 0, $99 = 0, $scevgep$1$i = 0, $scevgep$2$i = 0, $scevgep$3$i = 0, $scevgep$4$i = 0, $scevgep$5$i = 0, $scevgep$6$i = 0, $scevgep$i = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 1408 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(1408); - $4 = sp + 384 | 0; - $5 = sp + 128 | 0; - $6 = sp; - $10 = HEAP32[(HEAP32[$0 + 484 >> 2] | 0) + 24 >> 2] | 0; - $14 = $1 >>> 2 << 5; - $15 = $14 | 4; - $16 = $2 >>> 3 << 5; - $17 = $16 | 2; - $18 = $3 >>> 2 << 5; - $19 = $18 | 4; - $21 = HEAP32[$0 + 132 >> 2] | 0; - $22 = $14 | 28; - $24 = $22 + $15 >> 1; - $25 = $16 | 30; - $27 = $25 + $17 >> 1; - $28 = $18 | 28; - $30 = $28 + $19 >> 1; - if (($21 | 0) > 0) { - $33 = HEAP32[$0 + 136 >> 2] | 0; - $34 = HEAP32[$33 >> 2] | 0; - $36 = HEAP32[$33 + 4 >> 2] | 0; - $38 = HEAP32[$33 + 8 >> 2] | 0; - $$0156166$i = 2147483647; - $$0160165$i = 0; - do { - $41 = HEAPU8[$34 + $$0160165$i >> 0] | 0; - do if (($15 | 0) <= ($41 | 0)) { - if (($22 | 0) < ($41 | 0)) { - $51 = $41 - $22 << 1; - $54 = $41 - $15 << 1; - $$0$i = Math_imul($54, $54) | 0; - $$0153$i = Math_imul($51, $51) | 0; - break; - } - if (($24 | 0) < ($41 | 0)) { - $61 = $41 - $15 << 1; - $$0$i = Math_imul($61, $61) | 0; - $$0153$i = 0; - break; - } else { - $58 = $41 - $22 << 1; - $$0$i = Math_imul($58, $58) | 0; - $$0153$i = 0; - break; - } - } else { - $44 = $41 - $15 << 1; - $47 = $41 - $22 << 1; - $$0$i = Math_imul($47, $47) | 0; - $$0153$i = Math_imul($44, $44) | 0; - } while (0); - $65 = HEAPU8[$36 + $$0160165$i >> 0] | 0; - do if (($17 | 0) <= ($65 | 0)) { - if (($25 | 0) < ($65 | 0)) { - $76 = ($65 - $25 | 0) * 3 | 0; - $80 = ($65 - $17 | 0) * 3 | 0; - $$1154$i = (Math_imul($76, $76) | 0) + $$0153$i | 0; - $$pn$i = Math_imul($80, $80) | 0; - break; - } - if (($27 | 0) < ($65 | 0)) { - $87 = ($65 - $17 | 0) * 3 | 0; - $$1154$i = $$0153$i; - $$pn$i = Math_imul($87, $87) | 0; - break; - } else { - $84 = ($65 - $25 | 0) * 3 | 0; - $$1154$i = $$0153$i; - $$pn$i = Math_imul($84, $84) | 0; - break; - } - } else { - $68 = ($65 - $17 | 0) * 3 | 0; - $72 = ($65 - $25 | 0) * 3 | 0; - $$1154$i = (Math_imul($68, $68) | 0) + $$0153$i | 0; - $$pn$i = Math_imul($72, $72) | 0; - } while (0); - $$1$i = $$pn$i + $$0$i | 0; - $91 = HEAPU8[$38 + $$0160165$i >> 0] | 0; - do if (($19 | 0) <= ($91 | 0)) { - if (($28 | 0) < ($91 | 0)) { - $99 = $91 - $28 | 0; - $102 = $91 - $19 | 0; - $$2155$i = (Math_imul($99, $99) | 0) + $$1154$i | 0; - $$pn162$i = Math_imul($102, $102) | 0; - break; - } - if (($30 | 0) < ($91 | 0)) { - $107 = $91 - $19 | 0; - $$2155$i = $$1154$i; - $$pn162$i = Math_imul($107, $107) | 0; - break; - } else { - $105 = $91 - $28 | 0; - $$2155$i = $$1154$i; - $$pn162$i = Math_imul($105, $105) | 0; - break; - } - } else { - $93 = $91 - $19 | 0; - $96 = $91 - $28 | 0; - $$2155$i = (Math_imul($93, $93) | 0) + $$1154$i | 0; - $$pn162$i = Math_imul($96, $96) | 0; - } while (0); - $$2$i = $$1$i + $$pn162$i | 0; - HEAP32[$4 + ($$0160165$i << 2) >> 2] = $$2155$i; - $$0156166$i = ($$2$i | 0) < ($$0156166$i | 0) ? $$2$i : $$0156166$i; - $$0160165$i = $$0160165$i + 1 | 0; - } while (($$0160165$i | 0) != ($21 | 0)); - $$0158164$i = 0; - $$1161163$i = 0; - while (1) { - if ((HEAP32[$4 + ($$1161163$i << 2) >> 2] | 0) > ($$0156166$i | 0)) $$1159$i = $$0158164$i; else { - HEAP8[$5 + $$0158164$i >> 0] = $$1161163$i; - $$1159$i = $$0158164$i + 1 | 0; - } - $$1161163$i = $$1161163$i + 1 | 0; - if (($$1161163$i | 0) == ($21 | 0)) { - $$0158$lcssa$i = $$1159$i; - break; - } else $$0158164$i = $$1159$i; - } - } else $$0158$lcssa$i = 0; - HEAP32[$4 >> 2] = 2147483647; - HEAP32[$4 + 4 >> 2] = 2147483647; - HEAP32[$4 + 8 >> 2] = 2147483647; - HEAP32[$4 + 12 >> 2] = 2147483647; - HEAP32[$4 + 16 >> 2] = 2147483647; - HEAP32[$4 + 20 >> 2] = 2147483647; - HEAP32[$4 + 24 >> 2] = 2147483647; - HEAP32[$4 + 28 >> 2] = 2147483647; - HEAP32[$4 + 32 >> 2] = 2147483647; - HEAP32[$4 + 36 >> 2] = 2147483647; - HEAP32[$4 + 40 >> 2] = 2147483647; - HEAP32[$4 + 44 >> 2] = 2147483647; - HEAP32[$4 + 48 >> 2] = 2147483647; - HEAP32[$4 + 52 >> 2] = 2147483647; - HEAP32[$4 + 56 >> 2] = 2147483647; - HEAP32[$4 + 60 >> 2] = 2147483647; - HEAP32[$4 + 64 >> 2] = 2147483647; - HEAP32[$4 + 68 >> 2] = 2147483647; - HEAP32[$4 + 72 >> 2] = 2147483647; - HEAP32[$4 + 76 >> 2] = 2147483647; - HEAP32[$4 + 80 >> 2] = 2147483647; - HEAP32[$4 + 84 >> 2] = 2147483647; - HEAP32[$4 + 88 >> 2] = 2147483647; - HEAP32[$4 + 92 >> 2] = 2147483647; - HEAP32[$4 + 96 >> 2] = 2147483647; - HEAP32[$4 + 100 >> 2] = 2147483647; - HEAP32[$4 + 104 >> 2] = 2147483647; - HEAP32[$4 + 108 >> 2] = 2147483647; - HEAP32[$4 + 112 >> 2] = 2147483647; - HEAP32[$4 + 116 >> 2] = 2147483647; - HEAP32[$4 + 120 >> 2] = 2147483647; - HEAP32[$4 + 124 >> 2] = 2147483647; - HEAP32[$4 + 128 >> 2] = 2147483647; - HEAP32[$4 + 132 >> 2] = 2147483647; - HEAP32[$4 + 136 >> 2] = 2147483647; - HEAP32[$4 + 140 >> 2] = 2147483647; - HEAP32[$4 + 144 >> 2] = 2147483647; - HEAP32[$4 + 148 >> 2] = 2147483647; - HEAP32[$4 + 152 >> 2] = 2147483647; - HEAP32[$4 + 156 >> 2] = 2147483647; - HEAP32[$4 + 160 >> 2] = 2147483647; - HEAP32[$4 + 164 >> 2] = 2147483647; - HEAP32[$4 + 168 >> 2] = 2147483647; - HEAP32[$4 + 172 >> 2] = 2147483647; - HEAP32[$4 + 176 >> 2] = 2147483647; - HEAP32[$4 + 180 >> 2] = 2147483647; - HEAP32[$4 + 184 >> 2] = 2147483647; - HEAP32[$4 + 188 >> 2] = 2147483647; - HEAP32[$4 + 192 >> 2] = 2147483647; - HEAP32[$4 + 196 >> 2] = 2147483647; - HEAP32[$4 + 200 >> 2] = 2147483647; - HEAP32[$4 + 204 >> 2] = 2147483647; - HEAP32[$4 + 208 >> 2] = 2147483647; - HEAP32[$4 + 212 >> 2] = 2147483647; - HEAP32[$4 + 216 >> 2] = 2147483647; - HEAP32[$4 + 220 >> 2] = 2147483647; - HEAP32[$4 + 224 >> 2] = 2147483647; - HEAP32[$4 + 228 >> 2] = 2147483647; - HEAP32[$4 + 232 >> 2] = 2147483647; - HEAP32[$4 + 236 >> 2] = 2147483647; - HEAP32[$4 + 240 >> 2] = 2147483647; - HEAP32[$4 + 244 >> 2] = 2147483647; - HEAP32[$4 + 248 >> 2] = 2147483647; - HEAP32[$4 + 252 >> 2] = 2147483647; - HEAP32[$4 + 256 >> 2] = 2147483647; - HEAP32[$4 + 260 >> 2] = 2147483647; - HEAP32[$4 + 264 >> 2] = 2147483647; - HEAP32[$4 + 268 >> 2] = 2147483647; - HEAP32[$4 + 272 >> 2] = 2147483647; - HEAP32[$4 + 276 >> 2] = 2147483647; - HEAP32[$4 + 280 >> 2] = 2147483647; - HEAP32[$4 + 284 >> 2] = 2147483647; - HEAP32[$4 + 288 >> 2] = 2147483647; - HEAP32[$4 + 292 >> 2] = 2147483647; - HEAP32[$4 + 296 >> 2] = 2147483647; - HEAP32[$4 + 300 >> 2] = 2147483647; - HEAP32[$4 + 304 >> 2] = 2147483647; - HEAP32[$4 + 308 >> 2] = 2147483647; - HEAP32[$4 + 312 >> 2] = 2147483647; - HEAP32[$4 + 316 >> 2] = 2147483647; - HEAP32[$4 + 320 >> 2] = 2147483647; - HEAP32[$4 + 324 >> 2] = 2147483647; - HEAP32[$4 + 328 >> 2] = 2147483647; - HEAP32[$4 + 332 >> 2] = 2147483647; - HEAP32[$4 + 336 >> 2] = 2147483647; - HEAP32[$4 + 340 >> 2] = 2147483647; - HEAP32[$4 + 344 >> 2] = 2147483647; - HEAP32[$4 + 348 >> 2] = 2147483647; - HEAP32[$4 + 352 >> 2] = 2147483647; - HEAP32[$4 + 356 >> 2] = 2147483647; - HEAP32[$4 + 360 >> 2] = 2147483647; - HEAP32[$4 + 364 >> 2] = 2147483647; - HEAP32[$4 + 368 >> 2] = 2147483647; - HEAP32[$4 + 372 >> 2] = 2147483647; - HEAP32[$4 + 376 >> 2] = 2147483647; - HEAP32[$4 + 380 >> 2] = 2147483647; - HEAP32[$4 + 384 >> 2] = 2147483647; - HEAP32[$4 + 388 >> 2] = 2147483647; - HEAP32[$4 + 392 >> 2] = 2147483647; - HEAP32[$4 + 396 >> 2] = 2147483647; - HEAP32[$4 + 400 >> 2] = 2147483647; - HEAP32[$4 + 404 >> 2] = 2147483647; - HEAP32[$4 + 408 >> 2] = 2147483647; - HEAP32[$4 + 412 >> 2] = 2147483647; - HEAP32[$4 + 416 >> 2] = 2147483647; - HEAP32[$4 + 420 >> 2] = 2147483647; - HEAP32[$4 + 424 >> 2] = 2147483647; - HEAP32[$4 + 428 >> 2] = 2147483647; - HEAP32[$4 + 432 >> 2] = 2147483647; - HEAP32[$4 + 436 >> 2] = 2147483647; - HEAP32[$4 + 440 >> 2] = 2147483647; - HEAP32[$4 + 444 >> 2] = 2147483647; - HEAP32[$4 + 448 >> 2] = 2147483647; - HEAP32[$4 + 452 >> 2] = 2147483647; - HEAP32[$4 + 456 >> 2] = 2147483647; - HEAP32[$4 + 460 >> 2] = 2147483647; - HEAP32[$4 + 464 >> 2] = 2147483647; - HEAP32[$4 + 468 >> 2] = 2147483647; - HEAP32[$4 + 472 >> 2] = 2147483647; - HEAP32[$4 + 476 >> 2] = 2147483647; - HEAP32[$4 + 480 >> 2] = 2147483647; - HEAP32[$4 + 484 >> 2] = 2147483647; - HEAP32[$4 + 488 >> 2] = 2147483647; - HEAP32[$4 + 492 >> 2] = 2147483647; - HEAP32[$4 + 496 >> 2] = 2147483647; - HEAP32[$4 + 500 >> 2] = 2147483647; - HEAP32[$4 + 504 >> 2] = 2147483647; - HEAP32[$4 + 508 >> 2] = 2147483647; - if (($$0158$lcssa$i | 0) > 0) { - $247 = $0 + 136 | 0; - $$199116$i = 0; - do { - $249 = HEAP8[$5 + $$199116$i >> 0] | 0; - $250 = $249 & 255; - $251 = HEAP32[$247 >> 2] | 0; - $256 = $15 - (HEAPU8[(HEAP32[$251 >> 2] | 0) + $250 >> 0] | 0) | 0; - $257 = $256 << 1; - $258 = Math_imul($257, $257) | 0; - $264 = $17 - (HEAPU8[(HEAP32[$251 + 4 >> 2] | 0) + $250 >> 0] | 0) | 0; - $265 = $264 * 3 | 0; - $267 = (Math_imul($265, $265) | 0) + $258 | 0; - $273 = $19 - (HEAPU8[(HEAP32[$251 + 8 >> 2] | 0) + $250 >> 0] | 0) | 0; - $278 = $264 * 72 | 0; - $279 = $278 + 144 | 0; - $280 = $273 << 4; - $281 = $280 + 64 | 0; - $282 = $280 + 192 | 0; - $283 = $280 + 320 | 0; - $284 = $278 + 432 | 0; - $285 = $278 + 720 | 0; - $286 = $278 + 1008 | 0; - $287 = $278 + 1296 | 0; - $288 = $278 + 1584 | 0; - $289 = $278 + 1872 | 0; - $$0115$i = 3; - $$089114$i = ($256 << 6) + 256 | 0; - $$092113$i = $267 + (Math_imul($273, $273) | 0) | 0; - $$093112$i = $6; - $$195111$i = $4; - while (1) { - $scevgep$i = $$195111$i + 16 | 0; - if (($$092113$i | 0) < (HEAP32[$$195111$i >> 2] | 0)) { - HEAP32[$$195111$i >> 2] = $$092113$i; - HEAP8[$$093112$i >> 0] = $249; - } - $292 = $$092113$i + $281 | 0; - $293 = $$195111$i + 4 | 0; - if (($292 | 0) < (HEAP32[$293 >> 2] | 0)) { - HEAP32[$293 >> 2] = $292; - HEAP8[$$093112$i + 1 >> 0] = $249; - } - $298 = $292 + $282 | 0; - $299 = $$195111$i + 8 | 0; - if (($298 | 0) < (HEAP32[$299 >> 2] | 0)) { - HEAP32[$299 >> 2] = $298; - HEAP8[$$093112$i + 2 >> 0] = $249; - } - $303 = $298 + $283 | 0; - $304 = $$195111$i + 12 | 0; - if (($303 | 0) < (HEAP32[$304 >> 2] | 0)) { - HEAP32[$304 >> 2] = $303; - HEAP8[$$093112$i + 3 >> 0] = $249; - } - $308 = $279 + $$092113$i | 0; - $scevgep$1$i = $$195111$i + 32 | 0; - if (($308 | 0) < (HEAP32[$scevgep$i >> 2] | 0)) { - HEAP32[$scevgep$i >> 2] = $308; - HEAP8[$$093112$i + 4 >> 0] = $249; - } - $311 = $308 + $281 | 0; - $312 = $$195111$i + 20 | 0; - if (($311 | 0) < (HEAP32[$312 >> 2] | 0)) { - HEAP32[$312 >> 2] = $311; - HEAP8[$$093112$i + 5 >> 0] = $249; - } - $316 = $311 + $282 | 0; - $317 = $$195111$i + 24 | 0; - if (($316 | 0) < (HEAP32[$317 >> 2] | 0)) { - HEAP32[$317 >> 2] = $316; - HEAP8[$$093112$i + 6 >> 0] = $249; - } - $321 = $316 + $283 | 0; - $322 = $$195111$i + 28 | 0; - if (($321 | 0) < (HEAP32[$322 >> 2] | 0)) { - HEAP32[$322 >> 2] = $321; - HEAP8[$$093112$i + 7 >> 0] = $249; - } - $326 = $284 + $308 | 0; - $scevgep$2$i = $$195111$i + 48 | 0; - if (($326 | 0) < (HEAP32[$scevgep$1$i >> 2] | 0)) { - HEAP32[$scevgep$1$i >> 2] = $326; - HEAP8[$$093112$i + 8 >> 0] = $249; - } - $329 = $326 + $281 | 0; - $330 = $$195111$i + 36 | 0; - if (($329 | 0) < (HEAP32[$330 >> 2] | 0)) { - HEAP32[$330 >> 2] = $329; - HEAP8[$$093112$i + 9 >> 0] = $249; - } - $334 = $329 + $282 | 0; - $335 = $$195111$i + 40 | 0; - if (($334 | 0) < (HEAP32[$335 >> 2] | 0)) { - HEAP32[$335 >> 2] = $334; - HEAP8[$$093112$i + 10 >> 0] = $249; - } - $339 = $334 + $283 | 0; - $340 = $$195111$i + 44 | 0; - if (($339 | 0) < (HEAP32[$340 >> 2] | 0)) { - HEAP32[$340 >> 2] = $339; - HEAP8[$$093112$i + 11 >> 0] = $249; - } - $344 = $285 + $326 | 0; - $scevgep$3$i = $$195111$i + 64 | 0; - if (($344 | 0) < (HEAP32[$scevgep$2$i >> 2] | 0)) { - HEAP32[$scevgep$2$i >> 2] = $344; - HEAP8[$$093112$i + 12 >> 0] = $249; - } - $347 = $344 + $281 | 0; - $348 = $$195111$i + 52 | 0; - if (($347 | 0) < (HEAP32[$348 >> 2] | 0)) { - HEAP32[$348 >> 2] = $347; - HEAP8[$$093112$i + 13 >> 0] = $249; - } - $352 = $347 + $282 | 0; - $353 = $$195111$i + 56 | 0; - if (($352 | 0) < (HEAP32[$353 >> 2] | 0)) { - HEAP32[$353 >> 2] = $352; - HEAP8[$$093112$i + 14 >> 0] = $249; - } - $357 = $352 + $283 | 0; - $358 = $$195111$i + 60 | 0; - if (($357 | 0) < (HEAP32[$358 >> 2] | 0)) { - HEAP32[$358 >> 2] = $357; - HEAP8[$$093112$i + 15 >> 0] = $249; - } - $362 = $286 + $344 | 0; - $scevgep$4$i = $$195111$i + 80 | 0; - if (($362 | 0) < (HEAP32[$scevgep$3$i >> 2] | 0)) { - HEAP32[$scevgep$3$i >> 2] = $362; - HEAP8[$$093112$i + 16 >> 0] = $249; - } - $365 = $362 + $281 | 0; - $366 = $$195111$i + 68 | 0; - if (($365 | 0) < (HEAP32[$366 >> 2] | 0)) { - HEAP32[$366 >> 2] = $365; - HEAP8[$$093112$i + 17 >> 0] = $249; - } - $370 = $365 + $282 | 0; - $371 = $$195111$i + 72 | 0; - if (($370 | 0) < (HEAP32[$371 >> 2] | 0)) { - HEAP32[$371 >> 2] = $370; - HEAP8[$$093112$i + 18 >> 0] = $249; - } - $375 = $370 + $283 | 0; - $376 = $$195111$i + 76 | 0; - if (($375 | 0) < (HEAP32[$376 >> 2] | 0)) { - HEAP32[$376 >> 2] = $375; - HEAP8[$$093112$i + 19 >> 0] = $249; - } - $380 = $287 + $362 | 0; - $scevgep$5$i = $$195111$i + 96 | 0; - if (($380 | 0) < (HEAP32[$scevgep$4$i >> 2] | 0)) { - HEAP32[$scevgep$4$i >> 2] = $380; - HEAP8[$$093112$i + 20 >> 0] = $249; - } - $383 = $380 + $281 | 0; - $384 = $$195111$i + 84 | 0; - if (($383 | 0) < (HEAP32[$384 >> 2] | 0)) { - HEAP32[$384 >> 2] = $383; - HEAP8[$$093112$i + 21 >> 0] = $249; - } - $388 = $383 + $282 | 0; - $389 = $$195111$i + 88 | 0; - if (($388 | 0) < (HEAP32[$389 >> 2] | 0)) { - HEAP32[$389 >> 2] = $388; - HEAP8[$$093112$i + 22 >> 0] = $249; - } - $393 = $388 + $283 | 0; - $394 = $$195111$i + 92 | 0; - if (($393 | 0) < (HEAP32[$394 >> 2] | 0)) { - HEAP32[$394 >> 2] = $393; - HEAP8[$$093112$i + 23 >> 0] = $249; - } - $398 = $288 + $380 | 0; - $scevgep$6$i = $$195111$i + 112 | 0; - if (($398 | 0) < (HEAP32[$scevgep$5$i >> 2] | 0)) { - HEAP32[$scevgep$5$i >> 2] = $398; - HEAP8[$$093112$i + 24 >> 0] = $249; - } - $401 = $398 + $281 | 0; - $402 = $$195111$i + 100 | 0; - if (($401 | 0) < (HEAP32[$402 >> 2] | 0)) { - HEAP32[$402 >> 2] = $401; - HEAP8[$$093112$i + 25 >> 0] = $249; - } - $406 = $401 + $282 | 0; - $407 = $$195111$i + 104 | 0; - if (($406 | 0) < (HEAP32[$407 >> 2] | 0)) { - HEAP32[$407 >> 2] = $406; - HEAP8[$$093112$i + 26 >> 0] = $249; - } - $411 = $406 + $283 | 0; - $412 = $$195111$i + 108 | 0; - if (($411 | 0) < (HEAP32[$412 >> 2] | 0)) { - HEAP32[$412 >> 2] = $411; - HEAP8[$$093112$i + 27 >> 0] = $249; - } - $416 = $289 + $398 | 0; - if (($416 | 0) < (HEAP32[$scevgep$6$i >> 2] | 0)) { - HEAP32[$scevgep$6$i >> 2] = $416; - HEAP8[$$093112$i + 28 >> 0] = $249; - } - $419 = $416 + $281 | 0; - $420 = $$195111$i + 116 | 0; - if (($419 | 0) < (HEAP32[$420 >> 2] | 0)) { - HEAP32[$420 >> 2] = $419; - HEAP8[$$093112$i + 29 >> 0] = $249; - } - $424 = $419 + $282 | 0; - $425 = $$195111$i + 120 | 0; - if (($424 | 0) < (HEAP32[$425 >> 2] | 0)) { - HEAP32[$425 >> 2] = $424; - HEAP8[$$093112$i + 30 >> 0] = $249; - } - $429 = $424 + $283 | 0; - $430 = $$195111$i + 124 | 0; - if (($429 | 0) < (HEAP32[$430 >> 2] | 0)) { - HEAP32[$430 >> 2] = $429; - HEAP8[$$093112$i + 31 >> 0] = $249; - } - $$092113$i = $$092113$i + $$089114$i | 0; - if (!$$0115$i) break; else { - $$0115$i = $$0115$i + -1 | 0; - $$089114$i = $$089114$i + 512 | 0; - $$093112$i = $$093112$i + 32 | 0; - $$195111$i = $$195111$i + 128 | 0; - } - } - $$199116$i = $$199116$i + 1 | 0; - } while (($$199116$i | 0) != ($$0158$lcssa$i | 0)); - } - $438 = $1 & -4; - $439 = $2 & -8; - $440 = $3 & -4; - $441 = $439 | 1; - $442 = $439 | 2; - $443 = $439 | 3; - $444 = $439 | 4; - $445 = $439 | 5; - $446 = $439 | 6; - $447 = $2 | 7; - $$05466 = $6; - $$05765 = 0; - while (1) { - $449 = $10 + ($$05765 + $438 << 2) | 0; - $450 = HEAP32[$449 >> 2] | 0; - $451 = $450 + ($439 << 6) + ($440 << 1) | 0; - HEAP16[$451 >> 1] = (HEAPU8[$$05466 >> 0] | 0) + 1; - HEAP16[$451 + 2 >> 1] = (HEAPU8[$$05466 + 1 >> 0] | 0) + 1; - HEAP16[$451 + 4 >> 1] = (HEAPU8[$$05466 + 2 >> 0] | 0) + 1; - HEAP16[$451 + 6 >> 1] = (HEAPU8[$$05466 + 3 >> 0] | 0) + 1; - $474 = $450 + ($441 << 6) + ($440 << 1) | 0; - HEAP16[$474 >> 1] = (HEAPU8[$$05466 + 4 >> 0] | 0) + 1; - HEAP16[$474 + 2 >> 1] = (HEAPU8[$$05466 + 5 >> 0] | 0) + 1; - HEAP16[$474 + 4 >> 1] = (HEAPU8[$$05466 + 6 >> 0] | 0) + 1; - HEAP16[$474 + 6 >> 1] = (HEAPU8[$$05466 + 7 >> 0] | 0) + 1; - $497 = $450 + ($442 << 6) + ($440 << 1) | 0; - HEAP16[$497 >> 1] = (HEAPU8[$$05466 + 8 >> 0] | 0) + 1; - HEAP16[$497 + 2 >> 1] = (HEAPU8[$$05466 + 9 >> 0] | 0) + 1; - HEAP16[$497 + 4 >> 1] = (HEAPU8[$$05466 + 10 >> 0] | 0) + 1; - HEAP16[$497 + 6 >> 1] = (HEAPU8[$$05466 + 11 >> 0] | 0) + 1; - $520 = $450 + ($443 << 6) + ($440 << 1) | 0; - HEAP16[$520 >> 1] = (HEAPU8[$$05466 + 12 >> 0] | 0) + 1; - HEAP16[$520 + 2 >> 1] = (HEAPU8[$$05466 + 13 >> 0] | 0) + 1; - HEAP16[$520 + 4 >> 1] = (HEAPU8[$$05466 + 14 >> 0] | 0) + 1; - HEAP16[$520 + 6 >> 1] = (HEAPU8[$$05466 + 15 >> 0] | 0) + 1; - $543 = HEAP32[$449 >> 2] | 0; - $544 = $543 + ($444 << 6) + ($440 << 1) | 0; - HEAP16[$544 >> 1] = (HEAPU8[$$05466 + 16 >> 0] | 0) + 1; - HEAP16[$544 + 2 >> 1] = (HEAPU8[$$05466 + 17 >> 0] | 0) + 1; - HEAP16[$544 + 4 >> 1] = (HEAPU8[$$05466 + 18 >> 0] | 0) + 1; - HEAP16[$544 + 6 >> 1] = (HEAPU8[$$05466 + 19 >> 0] | 0) + 1; - $567 = $543 + ($445 << 6) + ($440 << 1) | 0; - HEAP16[$567 >> 1] = (HEAPU8[$$05466 + 20 >> 0] | 0) + 1; - HEAP16[$567 + 2 >> 1] = (HEAPU8[$$05466 + 21 >> 0] | 0) + 1; - HEAP16[$567 + 4 >> 1] = (HEAPU8[$$05466 + 22 >> 0] | 0) + 1; - HEAP16[$567 + 6 >> 1] = (HEAPU8[$$05466 + 23 >> 0] | 0) + 1; - $590 = $543 + ($446 << 6) + ($440 << 1) | 0; - HEAP16[$590 >> 1] = (HEAPU8[$$05466 + 24 >> 0] | 0) + 1; - HEAP16[$590 + 2 >> 1] = (HEAPU8[$$05466 + 25 >> 0] | 0) + 1; - HEAP16[$590 + 4 >> 1] = (HEAPU8[$$05466 + 26 >> 0] | 0) + 1; - HEAP16[$590 + 6 >> 1] = (HEAPU8[$$05466 + 27 >> 0] | 0) + 1; - $613 = $543 + ($447 << 6) + ($440 << 1) | 0; - HEAP16[$613 >> 1] = (HEAPU8[$$05466 + 28 >> 0] | 0) + 1; - HEAP16[$613 + 2 >> 1] = (HEAPU8[$$05466 + 29 >> 0] | 0) + 1; - HEAP16[$613 + 4 >> 1] = (HEAPU8[$$05466 + 30 >> 0] | 0) + 1; - HEAP16[$613 + 6 >> 1] = (HEAPU8[$$05466 + 31 >> 0] | 0) + 1; - $$05765 = $$05765 + 1 | 0; - if (($$05765 | 0) == 4) break; else $$05466 = $$05466 + 32 | 0; - } - STACKTOP = sp; - return; -} - -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E17parseOperatorNameEPNS5_9NameStateE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $$1 = 0, $$2 = 0, $$3 = 0, $199 = 0, $2 = 0, $3 = 0, $35 = 0, $38 = 0, $4 = 0, $41 = 0, $93 = 0, sp = 0; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E17parseOperatorNameEPNS5_9NameStateE($this, $State) { + $this = $this | 0; + $State = $State | 0; + var $PermitForwardTemplateReferences = 0, $SavePermit = 0, $SaveTemplate = 0, $Ty = 0, $call121 = 0, $call280 = 0, $call38 = 0, $cmp = 0, $retval$0 = 0, $retval$1 = 0, $retval$2 = 0, $retval$3 = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 32 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $2 = sp + 16 | 0; - $3 = sp + 8 | 0; - $4 = sp; - L1 : do switch ((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($0, 0) | 0) << 24 >> 24 | 0) { + $SaveTemplate = sp + 16 | 0; + $SavePermit = sp + 8 | 0; + $Ty = sp; + L1 : do switch ((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($this, 0) | 0) << 24 >> 24 | 0) { case 97: { - switch ((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($0, 1) | 0) << 24 >> 24 | 0) { + switch ((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($this, 1) | 0) << 24 >> 24 | 0) { case 97: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 2; - $$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA11_KcEEEPNS0_4NodeEDpOT0_($0, 53763) | 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 2; + $retval$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA11_KcEEEPNS0_4NodeEDpOT0_($this, 54605) | 0; break L1; break; } case 110: case 100: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 2; - $$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA10_KcEEEPNS0_4NodeEDpOT0_($0, 53774) | 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 2; + $retval$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA10_KcEEEPNS0_4NodeEDpOT0_($this, 54616) | 0; break L1; break; } case 78: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 2; - $$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA11_KcEEEPNS0_4NodeEDpOT0_($0, 53784) | 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 2; + $retval$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA11_KcEEEPNS0_4NodeEDpOT0_($this, 54626) | 0; break L1; break; } case 83: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 2; - $$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA10_KcEEEPNS0_4NodeEDpOT0_($0, 53795) | 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 2; + $retval$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA10_KcEEEPNS0_4NodeEDpOT0_($this, 54637) | 0; break L1; break; } default: { - $$3 = 0; + $retval$3 = 0; break L1; } } @@ -18414,50 +18998,50 @@ function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14Mang } case 99: { - switch ((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($0, 1) | 0) << 24 >> 24 | 0) { + switch ((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($this, 1) | 0) << 24 >> 24 | 0) { case 108: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 2; - $$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA11_KcEEEPNS0_4NodeEDpOT0_($0, 53805) | 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 2; + $retval$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA11_KcEEEPNS0_4NodeEDpOT0_($this, 54647) | 0; break L1; break; } case 109: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 2; - $$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA10_KcEEEPNS0_4NodeEDpOT0_($0, 53816) | 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 2; + $retval$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA10_KcEEEPNS0_4NodeEDpOT0_($this, 54658) | 0; break L1; break; } case 111: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 2; - $$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA10_KcEEEPNS0_4NodeEDpOT0_($0, 53826) | 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 2; + $retval$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA10_KcEEEPNS0_4NodeEDpOT0_($this, 54668) | 0; break L1; break; } case 118: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 2; - __ZN12_GLOBAL__N_114SwapAndRestoreIbEC2ERbb($2, $0 + 360 | 0, 0); - $35 = $0 + 361 | 0; - $38 = ($1 | 0) != 0; - __ZN12_GLOBAL__N_114SwapAndRestoreIbEC2ERbb($3, $35, $38 | (HEAP8[$35 >> 0] | 0) != 0); - $41 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseTypeEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0) | 0; - HEAP32[$4 >> 2] = $41; - if (!$41) $$0 = 0; else { - if ($38) HEAP8[$1 >> 0] = 1; - $$0 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_22ConversionOperatorTypeEJRPNS0_4NodeEEEES9_DpOT0_($0, $4) | 0; - } - __ZN12_GLOBAL__N_114SwapAndRestoreIbED2Ev($3); - __ZN12_GLOBAL__N_114SwapAndRestoreIbED2Ev($2); - $$3 = $$0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 2; + __ZN12_GLOBAL__N_114SwapAndRestoreIbEC2ERbb($SaveTemplate, $this + 360 | 0, 0); + $PermitForwardTemplateReferences = $this + 361 | 0; + $cmp = ($State | 0) != 0; + __ZN12_GLOBAL__N_114SwapAndRestoreIbEC2ERbb($SavePermit, $PermitForwardTemplateReferences, $cmp | (HEAP8[$PermitForwardTemplateReferences >> 0] | 0) != 0); + $call38 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseTypeEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0) | 0; + HEAP32[$Ty >> 2] = $call38; + if (!$call38) $retval$0 = 0; else { + if ($cmp) HEAP8[$State >> 0] = 1; + $retval$0 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_22ConversionOperatorTypeEJRPNS0_4NodeEEEES9_DpOT0_($this, $Ty) | 0; + } + __ZN12_GLOBAL__N_114SwapAndRestoreIbED2Ev($SavePermit); + __ZN12_GLOBAL__N_114SwapAndRestoreIbED2Ev($SaveTemplate); + $retval$3 = $retval$0; break L1; break; } default: { - $$3 = 0; + $retval$3 = 0; break L1; } } @@ -18465,45 +19049,45 @@ function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14Mang } case 100: { - switch ((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($0, 1) | 0) << 24 >> 24 | 0) { + switch ((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($this, 1) | 0) << 24 >> 24 | 0) { case 97: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 2; - $$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA18_KcEEEPNS0_4NodeEDpOT0_($0, 53836) | 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 2; + $retval$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA18_KcEEEPNS0_4NodeEDpOT0_($this, 54678) | 0; break L1; break; } case 101: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 2; - $$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA10_KcEEEPNS0_4NodeEDpOT0_($0, 53854) | 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 2; + $retval$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA10_KcEEEPNS0_4NodeEDpOT0_($this, 54696) | 0; break L1; break; } case 108: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 2; - $$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA16_KcEEEPNS0_4NodeEDpOT0_($0) | 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 2; + $retval$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA16_KcEEEPNS0_4NodeEDpOT0_($this) | 0; break L1; break; } case 118: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 2; - $$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA10_KcEEEPNS0_4NodeEDpOT0_($0, 53864) | 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 2; + $retval$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA10_KcEEEPNS0_4NodeEDpOT0_($this, 54706) | 0; break L1; break; } case 86: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 2; - $$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA11_KcEEEPNS0_4NodeEDpOT0_($0, 53874) | 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 2; + $retval$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA11_KcEEEPNS0_4NodeEDpOT0_($this, 54716) | 0; break L1; break; } default: { - $$3 = 0; + $retval$3 = 0; break L1; } } @@ -18511,31 +19095,31 @@ function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14Mang } case 101: { - switch ((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($0, 1) | 0) << 24 >> 24 | 0) { + switch ((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($this, 1) | 0) << 24 >> 24 | 0) { case 111: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 2; - $$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA10_KcEEEPNS0_4NodeEDpOT0_($0, 53885) | 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 2; + $retval$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA10_KcEEEPNS0_4NodeEDpOT0_($this, 54727) | 0; break L1; break; } case 79: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 2; - $$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA11_KcEEEPNS0_4NodeEDpOT0_($0, 53895) | 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 2; + $retval$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA11_KcEEEPNS0_4NodeEDpOT0_($this, 54737) | 0; break L1; break; } case 113: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 2; - $$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA11_KcEEEPNS0_4NodeEDpOT0_($0, 53906) | 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 2; + $retval$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA11_KcEEEPNS0_4NodeEDpOT0_($this, 54748) | 0; break L1; break; } default: { - $$3 = 0; + $retval$3 = 0; break L1; } } @@ -18543,24 +19127,24 @@ function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14Mang } case 103: { - switch ((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($0, 1) | 0) << 24 >> 24 | 0) { + switch ((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($this, 1) | 0) << 24 >> 24 | 0) { case 101: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 2; - $$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA11_KcEEEPNS0_4NodeEDpOT0_($0, 53917) | 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 2; + $retval$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA11_KcEEEPNS0_4NodeEDpOT0_($this, 54759) | 0; break L1; break; } case 116: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 2; - $$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA10_KcEEEPNS0_4NodeEDpOT0_($0, 53928) | 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 2; + $retval$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA10_KcEEEPNS0_4NodeEDpOT0_($this, 54770) | 0; break L1; break; } default: { - $$3 = 0; + $retval$3 = 0; break L1; } } @@ -18568,56 +19152,56 @@ function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14Mang } case 105: { - if ((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($0, 1) | 0) << 24 >> 24 == 120) { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 2; - $$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA11_KcEEEPNS0_4NodeEDpOT0_($0, 53938) | 0; - } else $$3 = 0; + if ((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($this, 1) | 0) << 24 >> 24 == 120) { + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 2; + $retval$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA11_KcEEEPNS0_4NodeEDpOT0_($this, 54780) | 0; + } else $retval$3 = 0; break; } case 108: { - switch ((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($0, 1) | 0) << 24 >> 24 | 0) { + switch ((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($this, 1) | 0) << 24 >> 24 | 0) { case 101: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 2; - $$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA11_KcEEEPNS0_4NodeEDpOT0_($0, 53949) | 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 2; + $retval$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA11_KcEEEPNS0_4NodeEDpOT0_($this, 54791) | 0; break L1; break; } case 105: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 2; - $93 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseSourceNameEPNS5_9NameStateE(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0) | 0; - HEAP32[$2 >> 2] = $93; - if (!$93) $$1 = 0; else $$1 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_15LiteralOperatorEJRPNS0_4NodeEEEES9_DpOT0_($0, $2) | 0; - $$3 = $$1; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 2; + $call121 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseSourceNameEPNS5_9NameStateE(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0) | 0; + HEAP32[$SaveTemplate >> 2] = $call121; + if (!$call121) $retval$1 = 0; else $retval$1 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_15LiteralOperatorEJRPNS0_4NodeEEEES9_DpOT0_($this, $SaveTemplate) | 0; + $retval$3 = $retval$1; break L1; break; } case 115: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 2; - $$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA11_KcEEEPNS0_4NodeEDpOT0_($0, 53960) | 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 2; + $retval$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA11_KcEEEPNS0_4NodeEDpOT0_($this, 54802) | 0; break L1; break; } case 83: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 2; - $$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA12_KcEEEPNS0_4NodeEDpOT0_($0, 53971) | 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 2; + $retval$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA12_KcEEEPNS0_4NodeEDpOT0_($this, 54813) | 0; break L1; break; } case 116: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 2; - $$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA10_KcEEEPNS0_4NodeEDpOT0_($0, 53983) | 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 2; + $retval$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA10_KcEEEPNS0_4NodeEDpOT0_($this, 54825) | 0; break L1; break; } default: { - $$3 = 0; + $retval$3 = 0; break L1; } } @@ -18625,45 +19209,45 @@ function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14Mang } case 109: { - switch ((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($0, 1) | 0) << 24 >> 24 | 0) { + switch ((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($this, 1) | 0) << 24 >> 24 | 0) { case 105: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 2; - $$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA10_KcEEEPNS0_4NodeEDpOT0_($0, 53993) | 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 2; + $retval$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA10_KcEEEPNS0_4NodeEDpOT0_($this, 54835) | 0; break L1; break; } case 73: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 2; - $$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA11_KcEEEPNS0_4NodeEDpOT0_($0, 54003) | 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 2; + $retval$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA11_KcEEEPNS0_4NodeEDpOT0_($this, 54845) | 0; break L1; break; } case 108: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 2; - $$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA10_KcEEEPNS0_4NodeEDpOT0_($0, 53854) | 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 2; + $retval$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA10_KcEEEPNS0_4NodeEDpOT0_($this, 54696) | 0; break L1; break; } case 76: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 2; - $$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA11_KcEEEPNS0_4NodeEDpOT0_($0, 54014) | 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 2; + $retval$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA11_KcEEEPNS0_4NodeEDpOT0_($this, 54856) | 0; break L1; break; } case 109: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 2; - $$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA11_KcEEEPNS0_4NodeEDpOT0_($0, 54025) | 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 2; + $retval$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA11_KcEEEPNS0_4NodeEDpOT0_($this, 54867) | 0; break L1; break; } default: { - $$3 = 0; + $retval$3 = 0; break L1; } } @@ -18671,45 +19255,45 @@ function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14Mang } case 110: { - switch ((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($0, 1) | 0) << 24 >> 24 | 0) { + switch ((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($this, 1) | 0) << 24 >> 24 | 0) { case 97: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 2; - $$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA15_KcEEEPNS0_4NodeEDpOT0_($0, 54036) | 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 2; + $retval$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA15_KcEEEPNS0_4NodeEDpOT0_($this, 54878) | 0; break L1; break; } case 101: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 2; - $$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA11_KcEEEPNS0_4NodeEDpOT0_($0, 54051) | 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 2; + $retval$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA11_KcEEEPNS0_4NodeEDpOT0_($this, 54893) | 0; break L1; break; } case 103: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 2; - $$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA10_KcEEEPNS0_4NodeEDpOT0_($0, 53993) | 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 2; + $retval$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA10_KcEEEPNS0_4NodeEDpOT0_($this, 54835) | 0; break L1; break; } case 116: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 2; - $$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA10_KcEEEPNS0_4NodeEDpOT0_($0, 54062) | 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 2; + $retval$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA10_KcEEEPNS0_4NodeEDpOT0_($this, 54904) | 0; break L1; break; } case 119: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 2; - $$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA13_KcEEEPNS0_4NodeEDpOT0_($0, 54072) | 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 2; + $retval$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA13_KcEEEPNS0_4NodeEDpOT0_($this, 54914) | 0; break L1; break; } default: { - $$3 = 0; + $retval$3 = 0; break L1; } } @@ -18717,31 +19301,31 @@ function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14Mang } case 111: { - switch ((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($0, 1) | 0) << 24 >> 24 | 0) { + switch ((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($this, 1) | 0) << 24 >> 24 | 0) { case 111: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 2; - $$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA11_KcEEEPNS0_4NodeEDpOT0_($0, 54085) | 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 2; + $retval$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA11_KcEEEPNS0_4NodeEDpOT0_($this, 54927) | 0; break L1; break; } case 114: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 2; - $$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA10_KcEEEPNS0_4NodeEDpOT0_($0, 54096) | 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 2; + $retval$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA10_KcEEEPNS0_4NodeEDpOT0_($this, 54938) | 0; break L1; break; } case 82: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 2; - $$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA11_KcEEEPNS0_4NodeEDpOT0_($0, 54106) | 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 2; + $retval$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA11_KcEEEPNS0_4NodeEDpOT0_($this, 54948) | 0; break L1; break; } default: { - $$3 = 0; + $retval$3 = 0; break L1; } } @@ -18749,52 +19333,52 @@ function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14Mang } case 112: { - switch ((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($0, 1) | 0) << 24 >> 24 | 0) { + switch ((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($this, 1) | 0) << 24 >> 24 | 0) { case 109: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 2; - $$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA12_KcEEEPNS0_4NodeEDpOT0_($0, 54117) | 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 2; + $retval$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA12_KcEEEPNS0_4NodeEDpOT0_($this, 54959) | 0; break L1; break; } case 108: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 2; - $$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA10_KcEEEPNS0_4NodeEDpOT0_($0, 54129) | 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 2; + $retval$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA10_KcEEEPNS0_4NodeEDpOT0_($this, 54971) | 0; break L1; break; } case 76: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 2; - $$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA11_KcEEEPNS0_4NodeEDpOT0_($0, 54139) | 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 2; + $retval$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA11_KcEEEPNS0_4NodeEDpOT0_($this, 54981) | 0; break L1; break; } case 112: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 2; - $$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA11_KcEEEPNS0_4NodeEDpOT0_($0, 54150) | 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 2; + $retval$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA11_KcEEEPNS0_4NodeEDpOT0_($this, 54992) | 0; break L1; break; } case 115: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 2; - $$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA10_KcEEEPNS0_4NodeEDpOT0_($0, 54129) | 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 2; + $retval$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA10_KcEEEPNS0_4NodeEDpOT0_($this, 54971) | 0; break L1; break; } case 116: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 2; - $$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA11_KcEEEPNS0_4NodeEDpOT0_($0, 54161) | 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 2; + $retval$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA11_KcEEEPNS0_4NodeEDpOT0_($this, 55003) | 0; break L1; break; } default: { - $$3 = 0; + $retval$3 = 0; break L1; } } @@ -18802,46 +19386,46 @@ function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14Mang } case 113: { - if ((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($0, 1) | 0) << 24 >> 24 == 117) { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 2; - $$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA10_KcEEEPNS0_4NodeEDpOT0_($0, 54172) | 0; - } else $$3 = 0; + if ((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($this, 1) | 0) << 24 >> 24 == 117) { + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 2; + $retval$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA10_KcEEEPNS0_4NodeEDpOT0_($this, 55014) | 0; + } else $retval$3 = 0; break; } case 114: { - switch ((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($0, 1) | 0) << 24 >> 24 | 0) { + switch ((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($this, 1) | 0) << 24 >> 24 | 0) { case 109: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 2; - $$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA10_KcEEEPNS0_4NodeEDpOT0_($0, 54182) | 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 2; + $retval$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA10_KcEEEPNS0_4NodeEDpOT0_($this, 55024) | 0; break L1; break; } case 77: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 2; - $$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA11_KcEEEPNS0_4NodeEDpOT0_($0, 54192) | 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 2; + $retval$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA11_KcEEEPNS0_4NodeEDpOT0_($this, 55034) | 0; break L1; break; } case 115: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 2; - $$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA11_KcEEEPNS0_4NodeEDpOT0_($0, 54203) | 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 2; + $retval$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA11_KcEEEPNS0_4NodeEDpOT0_($this, 55045) | 0; break L1; break; } case 83: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 2; - $$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA12_KcEEEPNS0_4NodeEDpOT0_($0, 54214) | 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 2; + $retval$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA12_KcEEEPNS0_4NodeEDpOT0_($this, 55056) | 0; break L1; break; } default: { - $$3 = 0; + $retval$3 = 0; break L1; } } @@ -18849,631 +19433,496 @@ function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14Mang } case 115: { - if ((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($0, 1) | 0) << 24 >> 24 == 115) { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 2; - $$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA12_KcEEEPNS0_4NodeEDpOT0_($0, 54226) | 0; - } else $$3 = 0; + if ((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($this, 1) | 0) << 24 >> 24 == 115) { + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 2; + $retval$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA12_KcEEEPNS0_4NodeEDpOT0_($this, 55068) | 0; + } else $retval$3 = 0; break; } case 118: { - if ((((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($0, 1) | 0) << 24 >> 24) + -48 | 0) >>> 0 < 10) { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 2; - $199 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseSourceNameEPNS5_9NameStateE(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0) | 0; - HEAP32[$2 >> 2] = $199; - if (!$199) $$2 = 0; else $$2 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_22ConversionOperatorTypeEJRPNS0_4NodeEEEES9_DpOT0_($0, $2) | 0; - $$3 = $$2; - } else $$3 = 0; + if ((((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($this, 1) | 0) << 24 >> 24) + -48 | 0) >>> 0 < 10) { + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 2; + $call280 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseSourceNameEPNS5_9NameStateE(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0) | 0; + HEAP32[$SaveTemplate >> 2] = $call280; + if (!$call280) $retval$2 = 0; else $retval$2 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_22ConversionOperatorTypeEJRPNS0_4NodeEEEES9_DpOT0_($this, $SaveTemplate) | 0; + $retval$3 = $retval$2; + } else $retval$3 = 0; break; } default: - $$3 = 0; + $retval$3 = 0; } while (0); STACKTOP = sp; - return $$3 | 0; + return $retval$3 | 0; } -function _fmt_fp($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = +$1; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$0 = 0, $$0463$lcssa = 0, $$0463588 = 0, $$0464599 = 0, $$0471 = 0.0, $$0479 = 0, $$0487657 = 0, $$0488669 = 0, $$0488671 = 0, $$0497670 = 0, $$0498 = 0, $$0511586 = 0.0, $$0513 = 0, $$0516652 = 0, $$0522 = 0, $$0523 = 0, $$0525 = 0, $$0527 = 0, $$0529$in646 = 0, $$0532651 = 0, $$1465 = 0, $$1467 = 0.0, $$1469 = 0.0, $$1472 = 0.0, $$1480 = 0, $$1482$lcssa = 0, $$1482683 = 0, $$1489656 = 0, $$1499 = 0, $$1510587 = 0, $$1514$lcssa = 0, $$1514614 = 0, $$1517 = 0, $$1526 = 0, $$1530621 = 0, $$1533$lcssa = 0, $$1533645 = 0, $$1604 = 0, $$2 = 0, $$2473 = 0.0, $$2476 = 0, $$2483 = 0, $$2490$lcssa = 0, $$2490638 = 0, $$2500$lcssa = 0, $$2500682 = 0, $$2515 = 0, $$2518634 = 0, $$2531 = 0, $$2534633 = 0, $$3 = 0.0, $$3477 = 0, $$3484$lcssa = 0, $$3484663 = 0, $$3501$lcssa = 0, $$3501676 = 0, $$3535620 = 0, $$4 = 0.0, $$4478$lcssa = 0, $$4478594 = 0, $$4492 = 0, $$4502$lcssa = 0, $$4502662 = 0, $$4520 = 0, $$5$lcssa = 0, $$5486$lcssa = 0, $$5486639 = 0, $$5493603 = 0, $$5503 = 0, $$5521 = 0, $$5609 = 0, $$6 = 0, $$6494593 = 0, $$7495608 = 0, $$8 = 0, $$8506 = 0, $$9 = 0, $$9507$lcssa = 0, $$9507625 = 0, $$lcssa583 = 0, $$pn = 0, $$pr = 0, $$pr564 = 0, $$pre$phi717Z2D = 0, $$pre$phi718Z2D = 0, $$pre720 = 0, $$sink757 = 0, $10 = 0, $103 = 0, $104 = 0, $108 = 0, $109 = 0, $11 = 0, $113 = 0, $115 = 0, $116 = 0, $12 = 0, $123 = 0, $126 = 0, $13 = 0, $132 = 0, $135 = 0, $136 = 0, $139 = 0, $141 = 0, $142 = 0, $145 = 0, $147 = 0, $15 = 0.0, $151 = 0, $154 = 0, $158 = 0, $16 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $168 = 0, $174 = 0, $175 = 0, $176 = 0, $188 = 0, $202 = 0, $203 = 0, $206 = 0, $211 = 0, $212 = 0, $214 = 0, $222 = 0, $223 = 0, $225 = 0, $227 = 0, $229 = 0, $231 = 0, $232 = 0, $234 = 0, $237 = 0, $240 = 0, $245 = 0, $248 = 0, $25 = 0, $251 = 0, $253 = 0, $255 = 0, $257 = 0, $262 = 0, $263 = 0, $266 = 0, $268 = 0, $270 = 0, $273 = 0, $286 = 0, $291 = 0, $30 = 0, $300 = 0, $301 = 0, $305 = 0, $308 = 0, $310 = 0, $312 = 0, $316 = 0, $319 = 0, $320 = 0, $324 = 0, $334 = 0, $339 = 0, $34 = 0, $342 = 0, $343 = 0, $344 = 0, $346 = 0, $351 = 0, $364 = 0, $368 = 0, $373 = 0, $38 = 0.0, $382 = 0, $384 = 0, $385 = 0, $386 = 0, $387 = 0, $389 = 0, $39 = 0, $393 = 0, $395 = 0, $398 = 0, $401 = 0, $412 = 0, $42 = 0, $44 = 0, $47 = 0, $49 = 0, $6 = 0, $63 = 0, $66 = 0, $69 = 0, $7 = 0, $71 = 0, $79 = 0, $8 = 0, $80 = 0, $82 = 0, $83 = 0, $89 = 0, $9 = 0, $spec$select = 0, $spec$select539 = 0, $spec$select540 = 0, $spec$select540723 = 0, $spec$select541 = 0, $spec$select544 = 0.0, $spec$select548 = 0, $spec$select549 = 0, $spec$select551 = 0, $spec$select554 = 0, $spec$select557 = 0, $spec$select567 = 0.0, label = 0, sp = 0; +function _arDetectMarker($arHandle, $frame) { + $arHandle = $arHandle | 0; + $frame = $frame | 0; + var $$pre415 = 0, $$pre416 = 0, $$pre417 = 0, $0 = 0, $1 = 0, $102 = 0.0, $104 = 0.0, $106 = 0.0, $115 = 0, $116 = 0, $117 = 0, $120 = 0, $121 = 0, $128 = 0, $129 = 0, $130 = 0, $2 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $43 = 0, $47 = 0, $53 = 0, $54 = 0, $55 = 0, $84 = 0, $85 = 0, $92 = 0, $94 = 0.0, $95 = 0, $add = 0, $arImageProcInfo = 0, $arImageProcMode = 0, $arImageProcMode208 = 0, $arImageProcMode219$pre$phiZ2D = 0, $arLabelingMode = 0, $arLabelingThresh = 0, $arLabelingThresh182 = 0, $arLabelingThreshAutoBracketOver = 0, $arLabelingThreshAutoBracketUnder = 0, $arLabelingThreshAutoIntervalTTL = 0, $arLabelingThreshAutoIntervalTTL158 = 0, $arLabelingThreshMode = 0, $arMarkerExtractionMode = 0, $arParamLT = 0, $arPatternDetectionMode = 0, $arPatternDetectionMode333 = 0, $arPixelFormat = 0, $area = 0, $area756 = 0, $arraydecay = 0, $arraydecay221 = 0, $arraydecay39 = 0, $arrayidx284 = 0, $arrayidx304 = 0, $arrayidx690 = 0, $arrayidx778 = 0, $arrayidx799 = 0, $buffLuma = 0, $buffLuma132 = 0, $call133 = 0, $call144 = 0, $cdir$0 = 0, $cdir$1 = 0, $cdir$2 = 0, $cf = 0, $cfMatrix514 = 0, $cfMatrix542$pre$phiZ2D = 0, $cfPatt504 = 0, $cid$0 = 0, $cid$1 = 0, $cmp621 = 0, $cond = 0, $conv = 0, $conv269 = 0.0, $conv761 = 0.0, $count = 0, $diff$0 = 0.0, $diff$1 = 0.0, $diffmin$0 = 0.0, $diffmin$1 = 0.0, $diffmin$2 = 0.0, $dir = 0, $div = 0.0, $div322 = 0.0, $div762 = 0.0, $history_num = 0, $i$0 = 0, $i$1 = 0, $i$2 = 0, $i$3 = 0, $i$4 = 0, $inc69 = 0, $inc725 = 0, $inc79 = 0, $inc836 = 0, $j$0 = 0, $j$1 = 0, $j$2 = 0, $j$3 = 0, $j$4 = 0, $j$5 = 0, $j$6 = 0, $k$0 = 0, $k$1 = 0, $labelInfo = 0, $labelInfo142 = 0, $labelInfo209 = 0, $labelInfo218$pre$phiZ2D = 0, $marker2_num = 0, $marker2_num222 = 0, $marker_num = 0, $marker_nums = 0, $matrixCodeType = 0, $pattHandle = 0, $pattRatio = 0, $rem = 0, $rem568 = 0, $ret164$0 = 0, $retval$4 = 0, $rlenmin$0 = 0.0, $rlenmin$1 = 0.0, $spec$select = 0, $storemerge = 0, $storemerge402 = 0, $sub = 0, $sub107 = 0, $sub285 = 0.0, $sub305 = 0.0, $sub386 = 0.0, $sub415 = 0.0, $sub571 = 0.0, $sub600 = 0.0, $sub632 = 0, $sub779 = 0.0, $sub800 = 0.0, $thresholds = 0, $vararg_buffer = 0, $vararg_buffer6 = 0, $vararg_buffer9 = 0, $xsize = 0, $xsize203 = 0, $xsize216$pre$phiZ2D = 0, $ysize = 0, $ysize204 = 0, $ysize217$pre$phiZ2D = 0, label = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 560 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(560); - $6 = sp + 32 | 0; - $7 = sp + 536 | 0; - $8 = sp; - $9 = $8; - $10 = sp + 540 | 0; - HEAP32[$7 >> 2] = 0; - $11 = $10 + 12 | 0; - $12 = ___DOUBLE_BITS_670($1) | 0; - $13 = getTempRet0() | 0; - if (($13 | 0) < 0) { - $15 = -$1; - $16 = ___DOUBLE_BITS_670($15) | 0; - $$0471 = $15; - $$0522 = 1; - $$0523 = 50757; - $25 = getTempRet0() | 0; - $412 = $16; - } else { - $$0471 = $1; - $$0522 = ($4 & 2049 | 0) != 0 & 1; - $$0523 = ($4 & 2048 | 0) == 0 ? (($4 & 1 | 0) == 0 ? 50758 : 50763) : 50760; - $25 = $13; - $412 = $12; - } - do if (0 == 0 & ($25 & 2146435072 | 0) == 2146435072) { - $30 = ($5 & 32 | 0) != 0; - $34 = $$0522 + 3 | 0; - _pad_667($0, 32, $2, $34, $4 & -65537); - _out($0, $$0523, $$0522); - _out($0, $$0471 != $$0471 | 0.0 != 0.0 ? ($30 ? 50797 : 50784) : $30 ? 50776 : 50780, 3); - _pad_667($0, 32, $2, $34, $4 ^ 8192); - $$sink757 = $34; - } else { - $38 = +_frexp($$0471, $7) * 2.0; - $39 = $38 != 0.0; - if ($39) HEAP32[$7 >> 2] = (HEAP32[$7 >> 2] | 0) + -1; - $42 = $5 | 32; - if (($42 | 0) == 97) { - $44 = $5 & 32; - $spec$select = ($44 | 0) == 0 ? $$0523 : $$0523 + 9 | 0; - $47 = $$0522 | 2; - $49 = 12 - $3 | 0; - do if (!($3 >>> 0 > 11 | ($49 | 0) == 0)) { - $$0511586 = 8.0; - $$1510587 = $49; - do { - $$1510587 = $$1510587 + -1 | 0; - $$0511586 = $$0511586 * 16.0; - } while (($$1510587 | 0) != 0); - if ((HEAP8[$spec$select >> 0] | 0) == 45) { - $$1472 = -($$0511586 + (-$38 - $$0511586)); - break; - } else { - $$1472 = $38 + $$0511586 - $$0511586; - break; + STACKTOP = STACKTOP + 64 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(64); + $vararg_buffer9 = sp + 32 | 0; + $vararg_buffer6 = sp + 24 | 0; + $vararg_buffer = sp; + $thresholds = sp + 52 | 0; + $marker_nums = sp + 40 | 0; + L1 : do if (($arHandle | 0) != 0 & ($frame | 0) != 0) { + $marker_num = $arHandle + 44 | 0; + HEAP32[$marker_num >> 2] = 0; + $arLabelingThreshMode = $arHandle + 7062388 | 0; + $0 = HEAP32[$arLabelingThreshMode >> 2] | 0; + L3 : do if (($0 | 0) == 4) { + $arLabelingThreshAutoIntervalTTL = $arHandle + 7062396 | 0; + $1 = HEAP32[$arLabelingThreshAutoIntervalTTL >> 2] | 0; + do if (($1 | 0) > 0) HEAP32[$arLabelingThreshAutoIntervalTTL >> 2] = $1 + -1; else { + $arLabelingThresh = $arHandle + 16 | 0; + $2 = HEAP32[$arLabelingThresh >> 2] | 0; + $arLabelingThreshAutoBracketOver = $arHandle + 7062400 | 0; + $add = (HEAP32[$arLabelingThreshAutoBracketOver >> 2] | 0) + $2 | 0; + $spec$select = ($add | 0) < 255 ? $add : 255; + HEAP32[$thresholds >> 2] = $spec$select; + $arLabelingThreshAutoBracketUnder = $arHandle + 7062404 | 0; + $sub = $2 - (HEAP32[$arLabelingThreshAutoBracketUnder >> 2] | 0) | 0; + $storemerge402 = ($sub | 0) > 0 ? $sub : 0; + HEAP32[$thresholds + 4 >> 2] = $storemerge402; + HEAP32[$thresholds + 8 >> 2] = $2; + $buffLuma = $frame + 12 | 0; + $xsize = $arHandle + 36 | 0; + $ysize = $arHandle + 40 | 0; + $arLabelingMode = $arHandle + 12 | 0; + $arImageProcMode = $arHandle + 20 | 0; + $labelInfo = $arHandle + 4834144 | 0; + $arraydecay = $arHandle + 15416 | 0; + $marker2_num = $arHandle + 15408 | 0; + $arPixelFormat = $arHandle + 4 | 0; + $pattHandle = $arHandle + 7062384 | 0; + $arPatternDetectionMode = $arHandle + 24 | 0; + $arParamLT = $arHandle + 32 | 0; + $pattRatio = $arHandle + 7062416 | 0; + $arraydecay39 = $arHandle + 48 | 0; + $matrixCodeType = $arHandle + 7062424 | 0; + $i$0 = 0; + while (1) { + if ($i$0 >>> 0 >= 3) break; + if ((_arLabeling(HEAP32[$buffLuma >> 2] | 0, HEAP32[$xsize >> 2] | 0, HEAP32[$ysize >> 2] | 0, HEAP32[$arHandle >> 2] | 0, HEAP32[$arLabelingMode >> 2] | 0, HEAP32[$thresholds + ($i$0 << 2) >> 2] | 0, HEAP32[$arImageProcMode >> 2] | 0, $labelInfo, 0) | 0) < 0) { + label = 29; + break; + } + if ((_arDetectMarker2(HEAP32[$xsize >> 2] | 0, HEAP32[$ysize >> 2] | 0, $labelInfo, HEAP32[$arImageProcMode >> 2] | 0, 1e6, 70, 1.0, $arraydecay, $marker2_num) | 0) < 0) { + label = 29; + break; + } + if ((_arGetMarkerInfo(HEAP32[$frame >> 2] | 0, HEAP32[$xsize >> 2] | 0, HEAP32[$ysize >> 2] | 0, HEAP32[$arPixelFormat >> 2] | 0, $arraydecay, HEAP32[$marker2_num >> 2] | 0, HEAP32[$pattHandle >> 2] | 0, HEAP32[$arImageProcMode >> 2] | 0, HEAP32[$arPatternDetectionMode >> 2] | 0, (HEAP32[$arParamLT >> 2] | 0) + 184 | 0, +HEAPF64[$pattRatio >> 3], $arraydecay39, $marker_num, HEAP32[$matrixCodeType >> 2] | 0) | 0) < 0) { + label = 29; + break; + } + HEAP32[$marker_nums + ($i$0 << 2) >> 2] = HEAP32[$marker_num >> 2]; + $i$0 = $i$0 + 1 | 0; } - } else $$1472 = $38; while (0); - $63 = HEAP32[$7 >> 2] | 0; - $66 = ($63 | 0) < 0 ? 0 - $63 | 0 : $63; - $69 = _fmt_u($66, (($66 | 0) < 0) << 31 >> 31, $11) | 0; - if (($69 | 0) == ($11 | 0)) { - $71 = $10 + 11 | 0; - HEAP8[$71 >> 0] = 48; - $$0513 = $71; - } else $$0513 = $69; - HEAP8[$$0513 + -1 >> 0] = ($63 >> 31 & 2) + 43; - $79 = $$0513 + -2 | 0; - HEAP8[$79 >> 0] = $5 + 15; - $80 = ($3 | 0) < 1; - $82 = ($4 & 8 | 0) == 0; - $$0525 = $8; - $$2473 = $$1472; - while (1) { - $83 = ~~$$2473; - $89 = $$0525 + 1 | 0; - HEAP8[$$0525 >> 0] = $44 | HEAPU8[6672 + $83 >> 0]; - $$2473 = ($$2473 - +($83 | 0)) * 16.0; - if (($89 - $9 | 0) == 1 ? !($82 & ($80 & $$2473 == 0.0)) : 0) { - HEAP8[$89 >> 0] = 46; - $$1526 = $$0525 + 2 | 0; - } else $$1526 = $89; - if (!($$2473 != 0.0)) break; else $$0525 = $$1526; - } - $$pre720 = $$1526; - if (($3 | 0) != 0 ? (-2 - $9 + $$pre720 | 0) < ($3 | 0) : 0) { - $103 = $11; - $104 = $79; - $$0527 = $3 + 2 + $103 - $104 | 0; - $$pre$phi717Z2D = $103; - $$pre$phi718Z2D = $104; - } else { - $108 = $11; - $109 = $79; - $$0527 = $108 - $9 - $109 + $$pre720 | 0; - $$pre$phi717Z2D = $108; - $$pre$phi718Z2D = $109; - } - $113 = $$0527 + $47 | 0; - _pad_667($0, 32, $2, $113, $4); - _out($0, $spec$select, $47); - _pad_667($0, 48, $2, $113, $4 ^ 65536); - $115 = $$pre720 - $9 | 0; - _out($0, $8, $115); - $116 = $$pre$phi717Z2D - $$pre$phi718Z2D | 0; - _pad_667($0, 48, $$0527 - ($115 + $116) | 0, 0, 0); - _out($0, $79, $116); - _pad_667($0, 32, $2, $113, $4 ^ 8192); - $$sink757 = $113; - break; - } - $spec$select539 = ($3 | 0) < 0 ? 6 : $3; - if ($39) { - $123 = (HEAP32[$7 >> 2] | 0) + -28 | 0; - HEAP32[$7 >> 2] = $123; - $$3 = $38 * 268435456.0; - $$pr = $123; - } else { - $$3 = $38; - $$pr = HEAP32[$7 >> 2] | 0; - } - $$0498 = ($$pr | 0) < 0 ? $6 : $6 + 288 | 0; - $$1499 = $$0498; - $$4 = $$3; - do { - $126 = ~~$$4 >>> 0; - HEAP32[$$1499 >> 2] = $126; - $$1499 = $$1499 + 4 | 0; - $$4 = ($$4 - +($126 >>> 0)) * 1.0e9; - } while ($$4 != 0.0); - $132 = $$0498; - if (($$pr | 0) > 0) { - $$1482683 = $$0498; - $$2500682 = $$1499; - $135 = $$pr; - while (1) { - $136 = ($135 | 0) < 29 ? $135 : 29; - $$0488669 = $$2500682 + -4 | 0; - if ($$0488669 >>> 0 >= $$1482683 >>> 0) { - $$0488671 = $$0488669; - $$0497670 = 0; - do { - $139 = _bitshift64Shl(HEAP32[$$0488671 >> 2] | 0, 0, $136 | 0) | 0; - $141 = _i64Add($139 | 0, getTempRet0() | 0, $$0497670 | 0, 0) | 0; - $142 = getTempRet0() | 0; - $$0497670 = ___udivdi3($141 | 0, $142 | 0, 1e9, 0) | 0; - $145 = ___muldi3($$0497670 | 0, getTempRet0() | 0, 1e9, 0) | 0; - $147 = _i64Subtract($141 | 0, $142 | 0, $145 | 0, getTempRet0() | 0) | 0; - getTempRet0() | 0; - HEAP32[$$0488671 >> 2] = $147; - $$0488671 = $$0488671 + -4 | 0; - } while ($$0488671 >>> 0 >= $$1482683 >>> 0); - if ($$0497670) { - $151 = $$1482683 + -4 | 0; - HEAP32[$151 >> 2] = $$0497670; - $$2483 = $151; - } else $$2483 = $$1482683; - } else $$2483 = $$1482683; - L57 : do if ($$2500682 >>> 0 > $$2483 >>> 0) { - $$3501676 = $$2500682; - while (1) { - $154 = $$3501676 + -4 | 0; - if (HEAP32[$154 >> 2] | 0) { - $$3501$lcssa = $$3501676; - break L57; - } - if ($154 >>> 0 > $$2483 >>> 0) $$3501676 = $154; else { - $$3501$lcssa = $154; - break; - } - } - } else $$3501$lcssa = $$2500682; while (0); - $158 = (HEAP32[$7 >> 2] | 0) - $136 | 0; - HEAP32[$7 >> 2] = $158; - if (($158 | 0) > 0) { - $$1482683 = $$2483; - $$2500682 = $$3501$lcssa; - $135 = $158; - } else { - $$1482$lcssa = $$2483; - $$2500$lcssa = $$3501$lcssa; - $$pr564 = $158; - break; + if ((label | 0) == 29) { + $retval$4 = -1; + break L1; } - } - } else { - $$1482$lcssa = $$0498; - $$2500$lcssa = $$1499; - $$pr564 = $$pr; - } - if (($$pr564 | 0) < 0) { - $163 = (($spec$select539 + 25 | 0) / 9 | 0) + 1 | 0; - $164 = ($42 | 0) == 102; - $$3484663 = $$1482$lcssa; - $$4502662 = $$2500$lcssa; - $166 = $$pr564; - while (1) { - $165 = 0 - $166 | 0; - $168 = ($165 | 0) < 9 ? $165 : 9; - if ($$3484663 >>> 0 < $$4502662 >>> 0) { - $174 = (1 << $168) + -1 | 0; - $175 = 1e9 >>> $168; - $$0487657 = 0; - $$1489656 = $$3484663; - do { - $176 = HEAP32[$$1489656 >> 2] | 0; - HEAP32[$$1489656 >> 2] = ($176 >>> $168) + $$0487657; - $$0487657 = Math_imul($176 & $174, $175) | 0; - $$1489656 = $$1489656 + 4 | 0; - } while ($$1489656 >>> 0 < $$4502662 >>> 0); - $spec$select540 = (HEAP32[$$3484663 >> 2] | 0) == 0 ? $$3484663 + 4 | 0 : $$3484663; - if (!$$0487657) { - $$5503 = $$4502662; - $spec$select540723 = $spec$select540; + if ((HEAP32[$arHandle >> 2] | 0) == 1) { + $30 = HEAP32[$marker_nums + 4 >> 2] | 0; + $31 = HEAP32[$marker_nums + 8 >> 2] | 0; + $32 = HEAP32[$marker_nums >> 2] | 0; + HEAP32[$vararg_buffer >> 2] = $storemerge402; + HEAP32[$vararg_buffer + 4 >> 2] = $30; + HEAP32[$vararg_buffer + 8 >> 2] = $2; + HEAP32[$vararg_buffer + 12 >> 2] = $31; + HEAP32[$vararg_buffer + 16 >> 2] = $spec$select; + HEAP32[$vararg_buffer + 20 >> 2] = $32; + _arLog(0, 3, 24030, $vararg_buffer); + $33 = $32; + $34 = $31; + } else { + $33 = HEAP32[$marker_nums >> 2] | 0; + $34 = HEAP32[$marker_nums + 8 >> 2] | 0; + } + $$pre415 = HEAP32[$marker_nums + 4 >> 2] | 0; + if (($33 | 0) > ($34 | 0) | ($$pre415 | 0) > ($34 | 0)) { + $cond = ($33 | 0) < ($$pre415 | 0) ? $storemerge402 : $spec$select; + HEAP32[$arLabelingThresh >> 2] = $cond; + $sub107 = $cond - $2 | 0; + if (($sub107 | 0) > 0) { + HEAP32[$arLabelingThreshAutoBracketOver >> 2] = $sub107; + $storemerge = 1; } else { - HEAP32[$$4502662 >> 2] = $$0487657; - $$5503 = $$4502662 + 4 | 0; - $spec$select540723 = $spec$select540; + HEAP32[$arLabelingThreshAutoBracketOver >> 2] = 1; + $storemerge = 0 - $sub107 | 0; } - } else { - $$5503 = $$4502662; - $spec$select540723 = (HEAP32[$$3484663 >> 2] | 0) == 0 ? $$3484663 + 4 | 0 : $$3484663; - } - $188 = $164 ? $$0498 : $spec$select540723; - $spec$select541 = ($$5503 - $188 >> 2 | 0) > ($163 | 0) ? $188 + ($163 << 2) | 0 : $$5503; - $166 = (HEAP32[$7 >> 2] | 0) + $168 | 0; - HEAP32[$7 >> 2] = $166; - if (($166 | 0) >= 0) { - $$3484$lcssa = $spec$select540723; - $$4502$lcssa = $spec$select541; - break; - } else { - $$3484663 = $spec$select540723; - $$4502662 = $spec$select541; - } - } - } else { - $$3484$lcssa = $$1482$lcssa; - $$4502$lcssa = $$2500$lcssa; - } - if ($$3484$lcssa >>> 0 < $$4502$lcssa >>> 0) { - $202 = ($132 - $$3484$lcssa >> 2) * 9 | 0; - $203 = HEAP32[$$3484$lcssa >> 2] | 0; - if ($203 >>> 0 < 10) $$1517 = $202; else { - $$0516652 = $202; - $$0532651 = 10; - while (1) { - $$0532651 = $$0532651 * 10 | 0; - $206 = $$0516652 + 1 | 0; - if ($203 >>> 0 < $$0532651 >>> 0) { - $$1517 = $206; + HEAP32[$arLabelingThreshAutoBracketUnder >> 2] = $storemerge; + if ((HEAP32[$arHandle >> 2] | 0) == 1) { + HEAP32[$vararg_buffer6 >> 2] = $cond; + _arLog(0, 3, 24106, $vararg_buffer6); + HEAP32[$arLabelingThreshAutoIntervalTTL >> 2] = HEAP32[$arHandle + 7062392 >> 2]; break; - } else $$0516652 = $206; - } - } - } else $$1517 = 0; - $211 = ($42 | 0) == 103; - $212 = ($spec$select539 | 0) != 0; - $214 = $spec$select539 - (($42 | 0) == 102 ? 0 : $$1517) + (($212 & $211) << 31 >> 31) | 0; - if (($214 | 0) < ((($$4502$lcssa - $132 >> 2) * 9 | 0) + -9 | 0)) { - $222 = $214 + 9216 | 0; - $223 = ($222 | 0) / 9 | 0; - $225 = $$0498 + 4 + ($223 + -1024 << 2) | 0; - $227 = $222 - ($223 * 9 | 0) | 0; - if (($227 | 0) < 8) { - $$0529$in646 = $227; - $$1533645 = 10; - while (1) { - $229 = $$1533645 * 10 | 0; - if (($$0529$in646 | 0) < 7) { - $$0529$in646 = $$0529$in646 + 1 | 0; - $$1533645 = $229; } else { - $$1533$lcssa = $229; + HEAP32[$arLabelingThreshAutoIntervalTTL >> 2] = HEAP32[$arHandle + 7062392 >> 2]; break; } } - } else $$1533$lcssa = 10; - $231 = HEAP32[$225 >> 2] | 0; - $232 = ($231 >>> 0) / ($$1533$lcssa >>> 0) | 0; - $234 = $231 - (Math_imul($232, $$1533$lcssa) | 0) | 0; - $237 = ($225 + 4 | 0) == ($$4502$lcssa | 0); - if (!($237 & ($234 | 0) == 0)) { - $spec$select544 = ($232 & 1 | 0) == 0 ? 9007199254740992.0 : 9007199254740994.0; - $240 = $$1533$lcssa >>> 1; - $spec$select567 = $234 >>> 0 < $240 >>> 0 ? .5 : $237 & ($234 | 0) == ($240 | 0) ? 1.0 : 1.5; - if (!$$0522) { - $$1467 = $spec$select567; - $$1469 = $spec$select544; + $35 = HEAP32[$arLabelingThreshAutoBracketOver >> 2] | 0; + $36 = HEAP32[$arLabelingThreshAutoBracketUnder >> 2] | 0; + do if (($35 | 0) >= ($36 | 0)) if (($35 | 0) > ($36 | 0)) { + HEAP32[$arLabelingThreshAutoBracketUnder >> 2] = $36 + 1; + $37 = $35; + break; } else { - $245 = (HEAP8[$$0523 >> 0] | 0) == 45; - $$1467 = $245 ? -$spec$select567 : $spec$select567; - $$1469 = $245 ? -$spec$select544 : $spec$select544; - } - $248 = $231 - $234 | 0; - HEAP32[$225 >> 2] = $248; - if ($$1469 + $$1467 != $$1469) { - $251 = $248 + $$1533$lcssa | 0; - HEAP32[$225 >> 2] = $251; - if ($251 >>> 0 > 999999999) { - $$2490638 = $225; - $$5486639 = $$3484$lcssa; - while (1) { - $253 = $$2490638 + -4 | 0; - HEAP32[$$2490638 >> 2] = 0; - if ($253 >>> 0 < $$5486639 >>> 0) { - $255 = $$5486639 + -4 | 0; - HEAP32[$255 >> 2] = 0; - $$6 = $255; - } else $$6 = $$5486639; - $257 = (HEAP32[$253 >> 2] | 0) + 1 | 0; - HEAP32[$253 >> 2] = $257; - if ($257 >>> 0 > 999999999) { - $$2490638 = $253; - $$5486639 = $$6; - } else { - $$2490$lcssa = $253; - $$5486$lcssa = $$6; - break; - } - } - } else { - $$2490$lcssa = $225; - $$5486$lcssa = $$3484$lcssa; - } - $262 = ($132 - $$5486$lcssa >> 2) * 9 | 0; - $263 = HEAP32[$$5486$lcssa >> 2] | 0; - if ($263 >>> 0 < 10) { - $$4492 = $$2490$lcssa; - $$4520 = $262; - $$8 = $$5486$lcssa; - } else { - $$2518634 = $262; - $$2534633 = 10; - while (1) { - $$2534633 = $$2534633 * 10 | 0; - $266 = $$2518634 + 1 | 0; - if ($263 >>> 0 < $$2534633 >>> 0) { - $$4492 = $$2490$lcssa; - $$4520 = $266; - $$8 = $$5486$lcssa; - break; - } else $$2518634 = $266; - } - } + $inc79 = $35 + 1 | 0; + HEAP32[$arLabelingThreshAutoBracketOver >> 2] = $inc79; + HEAP32[$arLabelingThreshAutoBracketUnder >> 2] = $36 + 1; + $37 = $inc79; + break; } else { - $$4492 = $225; - $$4520 = $$1517; - $$8 = $$3484$lcssa; - } - } else { - $$4492 = $225; - $$4520 = $$1517; - $$8 = $$3484$lcssa; - } - $268 = $$4492 + 4 | 0; - $$5521 = $$4520; - $$8506 = $$4502$lcssa >>> 0 > $268 >>> 0 ? $268 : $$4502$lcssa; - $$9 = $$8; + $inc69 = $35 + 1 | 0; + HEAP32[$arLabelingThreshAutoBracketOver >> 2] = $inc69; + $37 = $inc69; + } while (0); + if (($37 + $2 | 0) > 254) { + HEAP32[$arLabelingThreshAutoBracketOver >> 2] = 1; + $38 = 1; + } else $38 = $37; + if (($2 | 0) <= ($38 | 0)) HEAP32[$arLabelingThreshAutoBracketUnder >> 2] = 1; + HEAP32[$arLabelingThreshAutoIntervalTTL >> 2] = HEAP32[$arHandle + 7062392 >> 2]; + break L3; + } while (0); + $43 = HEAP32[$arLabelingThreshMode >> 2] | 0; + label = 33; } else { - $$5521 = $$1517; - $$8506 = $$4502$lcssa; - $$9 = $$3484$lcssa; - } - $270 = 0 - $$5521 | 0; - L109 : do if ($$8506 >>> 0 > $$9 >>> 0) { - $$9507625 = $$8506; - while (1) { - $273 = $$9507625 + -4 | 0; - if (HEAP32[$273 >> 2] | 0) { - $$9507$lcssa = $$9507625; - $$lcssa583 = 1; - break L109; + $43 = $0; + label = 33; + } while (0); + if ((label | 0) == 33) { + L47 : do switch ($43 | 0) { + case 3: + { + $arImageProcInfo = $arHandle + 7062408 | 0; + $buffLuma132 = $frame + 12 | 0; + $call133 = _arImageProcLumaHistAndBoxFilterWithBias(HEAP32[$arImageProcInfo >> 2] | 0, HEAP32[$buffLuma132 >> 2] | 0, 9, -7) | 0; + if (($call133 | 0) < 0) { + $retval$4 = $call133; + break L1; + } + $47 = HEAP32[$arImageProcInfo >> 2] | 0; + $labelInfo142 = $arHandle + 4834144 | 0; + $call144 = _arLabeling(HEAP32[$buffLuma132 >> 2] | 0, HEAP32[$47 + 4 >> 2] | 0, HEAP32[$47 + 8 >> 2] | 0, HEAP32[$arHandle >> 2] | 0, HEAP32[$arHandle + 12 >> 2] | 0, 0, 0, $labelInfo142, HEAP32[$47 >> 2] | 0) | 0; + if (($call144 | 0) < 0) { + $retval$4 = $call144; + break L1; + } + $arImageProcMode219$pre$phiZ2D = $arHandle + 20 | 0; + $labelInfo218$pre$phiZ2D = $labelInfo142; + $xsize216$pre$phiZ2D = $arHandle + 36 | 0; + $ysize217$pre$phiZ2D = $arHandle + 40 | 0; + break; + } + case 2: + case 1: + { + $arLabelingThreshAutoIntervalTTL158 = $arHandle + 7062396 | 0; + $53 = HEAP32[$arLabelingThreshAutoIntervalTTL158 >> 2] | 0; + if (($53 | 0) > 0) { + HEAP32[$arLabelingThreshAutoIntervalTTL158 >> 2] = $53 + -1; + label = 48; + break L47; + } + $54 = HEAP32[$arHandle + 7062408 >> 2] | 0; + $55 = HEAP32[$frame + 12 >> 2] | 0; + if (($43 | 0) == 1) $ret164$0 = _arImageProcLumaHistAndCDFAndMedian($54, $55, $thresholds) | 0; else $ret164$0 = _arImageProcLumaHistAndOtsu($54, $55, $thresholds) | 0; + if (($ret164$0 | 0) < 0) { + $retval$4 = $ret164$0; + break L1; + } + $arLabelingThresh182 = $arHandle + 16 | 0; + if ((HEAP32[$arHandle >> 2] | 0) == 1 ? ($conv = HEAPU8[$thresholds >> 0] | 0, (HEAP32[$arLabelingThresh182 >> 2] | 0) != ($conv | 0)) : 0) { + HEAP32[$vararg_buffer9 >> 2] = (HEAP32[$arLabelingThreshMode >> 2] | 0) == 1 ? 24158 : 24165; + HEAP32[$vararg_buffer9 + 4 >> 2] = $conv; + _arLog(0, 3, 24170, $vararg_buffer9); + } + HEAP32[$arLabelingThresh182 >> 2] = HEAPU8[$thresholds >> 0]; + HEAP32[$arLabelingThreshAutoIntervalTTL158 >> 2] = HEAP32[$arHandle + 7062392 >> 2]; + label = 48; + break; } - if ($273 >>> 0 > $$9 >>> 0) $$9507625 = $273; else { - $$9507$lcssa = $273; - $$lcssa583 = 0; + default: + label = 48; + } while (0); + if ((label | 0) == 48) { + $xsize203 = $arHandle + 36 | 0; + $ysize204 = $arHandle + 40 | 0; + $arImageProcMode208 = $arHandle + 20 | 0; + $labelInfo209 = $arHandle + 4834144 | 0; + if ((_arLabeling(HEAP32[$frame + 12 >> 2] | 0, HEAP32[$xsize203 >> 2] | 0, HEAP32[$ysize204 >> 2] | 0, HEAP32[$arHandle >> 2] | 0, HEAP32[$arHandle + 12 >> 2] | 0, HEAP32[$arHandle + 16 >> 2] | 0, HEAP32[$arImageProcMode208 >> 2] | 0, $labelInfo209, 0) | 0) < 0) { + $retval$4 = -1; break; + } else { + $arImageProcMode219$pre$phiZ2D = $arImageProcMode208; + $labelInfo218$pre$phiZ2D = $labelInfo209; + $xsize216$pre$phiZ2D = $xsize203; + $ysize217$pre$phiZ2D = $ysize204; } } - } else { - $$9507$lcssa = $$8506; - $$lcssa583 = 0; - } while (0); - do if ($211) { - $spec$select548 = $spec$select539 + (($212 ^ 1) & 1) | 0; - if (($spec$select548 | 0) > ($$5521 | 0) & ($$5521 | 0) > -5) { - $$0479 = $5 + -1 | 0; - $$2476 = $spec$select548 + -1 - $$5521 | 0; - } else { - $$0479 = $5 + -2 | 0; - $$2476 = $spec$select548 + -1 | 0; + $arraydecay221 = $arHandle + 15416 | 0; + $marker2_num222 = $arHandle + 15408 | 0; + if ((_arDetectMarker2(HEAP32[$xsize216$pre$phiZ2D >> 2] | 0, HEAP32[$ysize217$pre$phiZ2D >> 2] | 0, $labelInfo218$pre$phiZ2D, HEAP32[$arImageProcMode219$pre$phiZ2D >> 2] | 0, 1e6, 70, 1.0, $arraydecay221, $marker2_num222) | 0) < 0) { + $retval$4 = -1; + break; } - if (!($4 & 8)) { - if ($$lcssa583 ? ($286 = HEAP32[$$9507$lcssa + -4 >> 2] | 0, ($286 | 0) != 0) : 0) if (!(($286 >>> 0) % 10 | 0)) { - $$1530621 = 0; - $$3535620 = 10; - while (1) { - $$3535620 = $$3535620 * 10 | 0; - $291 = $$1530621 + 1 | 0; - if (($286 >>> 0) % ($$3535620 >>> 0) | 0 | 0) { - $$2531 = $291; - break; - } else $$1530621 = $291; - } - } else $$2531 = 0; else $$2531 = 9; - $300 = (($$9507$lcssa - $132 >> 2) * 9 | 0) + -9 | 0; - if (($$0479 | 32 | 0) == 102) { - $301 = $300 - $$2531 | 0; - $spec$select549 = ($301 | 0) > 0 ? $301 : 0; - $$1480 = $$0479; - $$3477 = ($$2476 | 0) < ($spec$select549 | 0) ? $$2476 : $spec$select549; - break; + if ((_arGetMarkerInfo(HEAP32[$frame >> 2] | 0, HEAP32[$xsize216$pre$phiZ2D >> 2] | 0, HEAP32[$ysize217$pre$phiZ2D >> 2] | 0, HEAP32[$arHandle + 4 >> 2] | 0, $arraydecay221, HEAP32[$marker2_num222 >> 2] | 0, HEAP32[$arHandle + 7062384 >> 2] | 0, HEAP32[$arImageProcMode219$pre$phiZ2D >> 2] | 0, HEAP32[$arHandle + 24 >> 2] | 0, (HEAP32[$arHandle + 32 >> 2] | 0) + 184 | 0, +HEAPF64[$arHandle + 7062416 >> 3], $arHandle + 48 | 0, $marker_num, HEAP32[$arHandle + 7062424 >> 2] | 0) | 0) < 0) { + $retval$4 = -1; + break; + } + } + $arMarkerExtractionMode = $arHandle + 28 | 0; + if ((HEAP32[$arMarkerExtractionMode >> 2] | 0) == 1) { + _confidenceCutoff($arHandle); + $retval$4 = 0; + break; + } + $history_num = $arHandle + 4818296 | 0; + $84 = HEAP32[$history_num >> 2] | 0; + $arPatternDetectionMode333 = $arHandle + 24 | 0; + $i$1 = 0; + while (1) { + if (($i$1 | 0) >= ($84 | 0)) break; + $85 = HEAP32[$marker_num >> 2] | 0; + $area = $arHandle + 4818304 + ($i$1 * 264 | 0) | 0; + $arrayidx284 = $arHandle + 4818304 + ($i$1 * 264 | 0) + 56 | 0; + $arrayidx304 = $arHandle + 4818304 + ($i$1 * 264 | 0) + 64 | 0; + $cid$0 = -1; + $j$0 = 0; + $rlenmin$0 = .5; + while (1) { + if (($j$0 | 0) >= ($85 | 0)) break; + $conv269 = +(HEAP32[$arHandle + 48 + ($j$0 << 8) >> 2] | 0); + $div = +(HEAP32[$area >> 2] | 0) / $conv269; + if (!($div < .7 | $div > 1.43) ? ($sub285 = +HEAPF64[$arHandle + 48 + ($j$0 << 8) + 56 >> 3] - +HEAPF64[$arrayidx284 >> 3], $sub305 = +HEAPF64[$arHandle + 48 + ($j$0 << 8) + 64 >> 3] - +HEAPF64[$arrayidx304 >> 3], $div322 = ($sub285 * $sub285 + $sub305 * $sub305) / $conv269, $div322 < $rlenmin$0) : 0) { + $cid$1 = $j$0; + $rlenmin$1 = $div322; } else { - $305 = $300 + $$5521 - $$2531 | 0; - $spec$select551 = ($305 | 0) > 0 ? $305 : 0; - $$1480 = $$0479; - $$3477 = ($$2476 | 0) < ($spec$select551 | 0) ? $$2476 : $spec$select551; - break; + $cid$1 = $cid$0; + $rlenmin$1 = $rlenmin$0; } - } else { - $$1480 = $$0479; - $$3477 = $$2476; + $cid$0 = $cid$1; + $j$0 = $j$0 + 1 | 0; + $rlenmin$0 = $rlenmin$1; } - } else { - $$1480 = $5; - $$3477 = $spec$select539; - } while (0); - $308 = ($$3477 | 0) != 0; - $310 = $308 ? 1 : $4 >>> 3 & 1; - $312 = ($$1480 | 32 | 0) == 102; - if ($312) { - $$2515 = 0; - $$pn = ($$5521 | 0) > 0 ? $$5521 : 0; - } else { - $316 = ($$5521 | 0) < 0 ? $270 : $$5521; - $319 = _fmt_u($316, (($316 | 0) < 0) << 31 >> 31, $11) | 0; - $320 = $11; - if (($320 - $319 | 0) < 2) { - $$1514614 = $319; - while (1) { - $324 = $$1514614 + -1 | 0; - HEAP8[$324 >> 0] = 48; - if (($320 - $324 | 0) < 2) $$1514614 = $324; else { - $$1514$lcssa = $324; + L85 : do if (($cid$0 | 0) > -1) { + $92 = HEAP32[$arPatternDetectionMode333 >> 2] | 0; + switch ($92 | 0) { + case 2: + case 1: + case 0: + break; + case 4: + case 3: + { + $cfPatt504 = $arHandle + 48 + ($cid$0 << 8) + 40 | 0; + $102 = +HEAPF64[$arHandle + 4818304 + ($i$1 * 264 | 0) + 40 >> 3]; + if (!(+HEAPF64[$cfPatt504 >> 3] < $102)) { + $cfMatrix514 = $arHandle + 48 + ($cid$0 << 8) + 48 | 0; + $104 = +HEAPF64[$arHandle + 4818304 + ($i$1 * 264 | 0) + 48 >> 3]; + if (+HEAPF64[$cfMatrix514 >> 3] < $104) { + $106 = $104; + $cfMatrix542$pre$phiZ2D = $cfMatrix514; + } else break L85; + } else { + $106 = +HEAPF64[$arHandle + 4818304 + ($i$1 * 264 | 0) + 48 >> 3]; + $cfMatrix542$pre$phiZ2D = $arHandle + 48 + ($cid$0 << 8) + 48 | 0; + } + HEAPF64[$cfPatt504 >> 3] = $102; + HEAP32[$arHandle + 48 + ($cid$0 << 8) + 8 >> 2] = HEAP32[$arHandle + 4818304 + ($i$1 * 264 | 0) + 8 >> 2]; + HEAPF64[$cfMatrix542$pre$phiZ2D >> 3] = $106; + HEAP32[$arHandle + 48 + ($cid$0 << 8) + 12 >> 2] = HEAP32[$arHandle + 4818304 + ($i$1 * 264 | 0) + 12 >> 2]; + $cdir$2 = -1; + $diffmin$2 = 1.0e8; + $j$2 = 0; + while (1) { + if (($j$2 | 0) == 4) break; + $diff$1 = 0.0; + $k$1 = 0; + while (1) { + if (($k$1 | 0) == 4) break; + $rem568 = $k$1 + $j$2 & 3; + $sub571 = +HEAPF64[$arHandle + 4818304 + ($i$1 * 264 | 0) + 168 + ($k$1 << 4) >> 3] - +HEAPF64[$arHandle + 48 + ($cid$0 << 8) + 168 + ($rem568 << 4) >> 3]; + $sub600 = +HEAPF64[$arHandle + 4818304 + ($i$1 * 264 | 0) + 168 + ($k$1 << 4) + 8 >> 3] - +HEAPF64[$arHandle + 48 + ($cid$0 << 8) + 168 + ($rem568 << 4) + 8 >> 3]; + $diff$1 = $diff$1 + ($sub571 * $sub571 + $sub600 * $sub600); + $k$1 = $k$1 + 1 | 0; + } + $cmp621 = $diff$1 < $diffmin$2; + $cdir$2 = $cmp621 ? $j$2 : $cdir$2; + $diffmin$2 = $cmp621 ? $diff$1 : $diffmin$2; + $j$2 = $j$2 + 1 | 0; + } + $sub632 = 4 - $cdir$2 | 0; + HEAP32[$arHandle + 48 + ($cid$0 << 8) + 20 >> 2] = ($sub632 + (HEAP32[$arHandle + 4818304 + ($i$1 * 264 | 0) + 20 >> 2] | 0) | 0) % 4 | 0; + HEAP32[$arHandle + 48 + ($cid$0 << 8) + 24 >> 2] = ($sub632 + (HEAP32[$arHandle + 4818304 + ($i$1 * 264 | 0) + 24 >> 2] | 0) | 0) % 4 | 0; + break L85; break; } + default: + { + $retval$4 = -1; + break L1; + } } - } else $$1514$lcssa = $319; - HEAP8[$$1514$lcssa + -1 >> 0] = ($$5521 >> 31 & 2) + 43; - $334 = $$1514$lcssa + -2 | 0; - HEAP8[$334 >> 0] = $$1480; - $$2515 = $334; - $$pn = $320 - $334 | 0; - } - $339 = $$0522 + 1 + $$3477 + $310 + $$pn | 0; - _pad_667($0, 32, $2, $339, $4); - _out($0, $$0523, $$0522); - _pad_667($0, 48, $2, $339, $4 ^ 65536); - if ($312) { - $spec$select554 = $$9 >>> 0 > $$0498 >>> 0 ? $$0498 : $$9; - $342 = $8 + 9 | 0; - $343 = $342; - $344 = $8 + 8 | 0; - $$5493603 = $spec$select554; - do { - $346 = _fmt_u(HEAP32[$$5493603 >> 2] | 0, 0, $342) | 0; - if (($$5493603 | 0) == ($spec$select554 | 0)) if (($346 | 0) == ($342 | 0)) { - HEAP8[$344 >> 0] = 48; - $$1465 = $344; - } else $$1465 = $346; else if ($346 >>> 0 > $8 >>> 0) { - _memset($8 | 0, 48, $346 - $9 | 0) | 0; - $$0464599 = $346; + $cf = $arHandle + 48 + ($cid$0 << 8) + 32 | 0; + $94 = +HEAPF64[$arHandle + 4818304 + ($i$1 * 264 | 0) + 32 >> 3]; + if (+HEAPF64[$cf >> 3] < $94) { + HEAPF64[$cf >> 3] = $94; + $95 = HEAP32[$arHandle + 4818304 + ($i$1 * 264 | 0) + 4 >> 2] | 0; + HEAP32[$arHandle + 48 + ($cid$0 << 8) + 4 >> 2] = $95; + $dir = $arHandle + 4818304 + ($i$1 * 264 | 0) + 16 | 0; + $cdir$0 = -1; + $diffmin$0 = 1.0e8; + $j$1 = 0; while (1) { - $351 = $$0464599 + -1 | 0; - if ($351 >>> 0 > $8 >>> 0) $$0464599 = $351; else { - $$1465 = $351; - break; - } - } - } else $$1465 = $346; - _out($0, $$1465, $343 - $$1465 | 0); - $$5493603 = $$5493603 + 4 | 0; - } while ($$5493603 >>> 0 <= $$0498 >>> 0); - if (!(($4 & 8 | 0) == 0 & ($308 ^ 1))) _out($0, 53642, 1); - if ($$5493603 >>> 0 < $$9507$lcssa >>> 0 & ($$3477 | 0) > 0) { - $$4478594 = $$3477; - $$6494593 = $$5493603; - while (1) { - $364 = _fmt_u(HEAP32[$$6494593 >> 2] | 0, 0, $342) | 0; - if ($364 >>> 0 > $8 >>> 0) { - _memset($8 | 0, 48, $364 - $9 | 0) | 0; - $$0463588 = $364; + if (($j$1 | 0) == 4) break; + $diff$0 = 0.0; + $k$0 = 0; while (1) { - $368 = $$0463588 + -1 | 0; - if ($368 >>> 0 > $8 >>> 0) $$0463588 = $368; else { - $$0463$lcssa = $368; - break; - } - } - } else $$0463$lcssa = $364; - _out($0, $$0463$lcssa, ($$4478594 | 0) < 9 ? $$4478594 : 9); - $$6494593 = $$6494593 + 4 | 0; - $373 = $$4478594 + -9 | 0; - if (!($$6494593 >>> 0 < $$9507$lcssa >>> 0 & ($$4478594 | 0) > 9)) { - $$4478$lcssa = $373; + if (($k$0 | 0) == 4) break; + $rem = $k$0 + $j$1 & 3; + $sub386 = +HEAPF64[$arHandle + 4818304 + ($i$1 * 264 | 0) + 168 + ($k$0 << 4) >> 3] - +HEAPF64[$arHandle + 48 + ($cid$0 << 8) + 168 + ($rem << 4) >> 3]; + $sub415 = +HEAPF64[$arHandle + 4818304 + ($i$1 * 264 | 0) + 168 + ($k$0 << 4) + 8 >> 3] - +HEAPF64[$arHandle + 48 + ($cid$0 << 8) + 168 + ($rem << 4) + 8 >> 3]; + $diff$0 = $diff$0 + ($sub386 * $sub386 + $sub415 * $sub415); + $k$0 = $k$0 + 1 | 0; + } + if ($diff$0 < $diffmin$0) { + $cdir$1 = (4 - $j$1 + (HEAP32[$dir >> 2] | 0) | 0) % 4 | 0; + $diffmin$1 = $diff$0; + } else { + $cdir$1 = $cdir$0; + $diffmin$1 = $diffmin$0; + } + $cdir$0 = $cdir$1; + $diffmin$0 = $diffmin$1; + $j$1 = $j$1 + 1 | 0; + } + HEAP32[$arHandle + 48 + ($cid$0 << 8) + 16 >> 2] = $cdir$0; + if ($92 >>> 0 < 2) { + HEAP32[$arHandle + 48 + ($cid$0 << 8) + 8 >> 2] = $95; + HEAPF64[$arHandle + 48 + ($cid$0 << 8) + 40 >> 3] = $94; + HEAP32[$arHandle + 48 + ($cid$0 << 8) + 20 >> 2] = $cdir$0; break; - } else $$4478594 = $373; - } - } else $$4478$lcssa = $$3477; - _pad_667($0, 48, $$4478$lcssa + 9 | 0, 9, 0); - } else { - $spec$select557 = $$lcssa583 ? $$9507$lcssa : $$9 + 4 | 0; - if ($$9 >>> 0 < $spec$select557 >>> 0 & ($$3477 | 0) > -1) { - $382 = $8 + 9 | 0; - $384 = ($4 & 8 | 0) == 0; - $385 = $382; - $386 = 0 - $9 | 0; - $387 = $8 + 8 | 0; - $$5609 = $$3477; - $$7495608 = $$9; - while (1) { - $389 = _fmt_u(HEAP32[$$7495608 >> 2] | 0, 0, $382) | 0; - if (($389 | 0) == ($382 | 0)) { - HEAP8[$387 >> 0] = 48; - $$0 = $387; - } else $$0 = $389; - do if (($$7495608 | 0) == ($$9 | 0)) { - $395 = $$0 + 1 | 0; - _out($0, $$0, 1); - if ($384 & ($$5609 | 0) < 1) { - $$2 = $395; - break; - } - _out($0, 53642, 1); - $$2 = $395; } else { - if ($$0 >>> 0 <= $8 >>> 0) { - $$2 = $$0; - break; - } - _memset($8 | 0, 48, $$0 + $386 | 0) | 0; - $$1604 = $$0; - while (1) { - $393 = $$1604 + -1 | 0; - if ($393 >>> 0 > $8 >>> 0) $$1604 = $393; else { - $$2 = $393; - break; - } - } - } while (0); - $398 = $385 - $$2 | 0; - _out($0, $$2, ($$5609 | 0) > ($398 | 0) ? $398 : $$5609); - $401 = $$5609 - $398 | 0; - $$7495608 = $$7495608 + 4 | 0; - if (!($$7495608 >>> 0 < $spec$select557 >>> 0 & ($401 | 0) > -1)) { - $$5$lcssa = $401; + HEAP32[$arHandle + 48 + ($cid$0 << 8) + 12 >> 2] = $95; + HEAPF64[$arHandle + 48 + ($cid$0 << 8) + 48 >> 3] = $94; + HEAP32[$arHandle + 48 + ($cid$0 << 8) + 24 >> 2] = $cdir$0; break; - } else $$5609 = $401; + } } - } else $$5$lcssa = $$3477; - _pad_667($0, 48, $$5$lcssa + 18 | 0, 18, 0); - _out($0, $$2515, $11 - $$2515 | 0); + } while (0); + $i$1 = $i$1 + 1 | 0; } - _pad_667($0, 32, $2, $339, $4 ^ 8192); - $$sink757 = $339; - } while (0); + _confidenceCutoff($arHandle); + $i$2 = 0; + $j$3 = 0; + while (1) { + if (($i$2 | 0) >= (HEAP32[$history_num >> 2] | 0)) break; + $count = $arHandle + 4818304 + ($i$2 * 264 | 0) + 256 | 0; + $115 = HEAP32[$count >> 2] | 0; + HEAP32[$count >> 2] = $115 + 1; + if (($115 | 0) < 3) { + if (($i$2 | 0) != ($j$3 | 0)) _memcpy($arHandle + 4818304 + ($j$3 * 264 | 0) | 0, $arHandle + 4818304 + ($i$2 * 264 | 0) | 0, 264) | 0; + $j$4 = $j$3 + 1 | 0; + } else $j$4 = $j$3; + $i$2 = $i$2 + 1 | 0; + $j$3 = $j$4; + } + HEAP32[$history_num >> 2] = $j$3; + $$pre416 = HEAP32[$marker_num >> 2] | 0; + $117 = $j$3; + $i$3 = 0; + while (1) { + if (($i$3 | 0) >= ($$pre416 | 0)) break; + $arrayidx690 = $arHandle + 48 + ($i$3 << 8) | 0; + $116 = HEAP32[$arHandle + 48 + ($i$3 << 8) + 4 >> 2] | 0; + if (($116 | 0) < 0) $128 = $117; else { + $j$5 = 0; + while (1) { + if (($j$5 | 0) >= ($117 | 0)) break; + if ((HEAP32[$arHandle + 4818304 + ($j$5 * 264 | 0) + 4 >> 2] | 0) == ($116 | 0)) break; + $j$5 = $j$5 + 1 | 0; + } + if (($j$5 | 0) == ($117 | 0)) { + if (($117 | 0) == 60) break; + $inc725 = $117 + 1 | 0; + HEAP32[$history_num >> 2] = $inc725; + $129 = $inc725; + } else $129 = $117; + _memcpy($arHandle + 4818304 + ($j$5 * 264 | 0) | 0, $arrayidx690 | 0, 256) | 0; + HEAP32[$arHandle + 4818304 + ($j$5 * 264 | 0) + 256 >> 2] = 1; + $128 = $129; + } + $117 = $128; + $i$3 = $i$3 + 1 | 0; + } + if ((HEAP32[$arMarkerExtractionMode >> 2] | 0) == 2) $retval$4 = 0; else { + $120 = $117; + $121 = $$pre416; + $i$4 = 0; + while (1) { + if (($i$4 | 0) >= ($120 | 0)) { + $retval$4 = 0; + break L1; + } + $area756 = $arHandle + 4818304 + ($i$4 * 264 | 0) | 0; + $arrayidx778 = $arHandle + 4818304 + ($i$4 * 264 | 0) + 56 | 0; + $arrayidx799 = $arHandle + 4818304 + ($i$4 * 264 | 0) + 64 | 0; + $j$6 = 0; + while (1) { + if (($j$6 | 0) >= ($121 | 0)) break; + $conv761 = +(HEAP32[$arHandle + 48 + ($j$6 << 8) >> 2] | 0); + $div762 = +(HEAP32[$area756 >> 2] | 0) / $conv761; + if (!($div762 < .7 | $div762 > 1.43) ? ($sub779 = +HEAPF64[$arHandle + 48 + ($j$6 << 8) + 56 >> 3] - +HEAPF64[$arrayidx778 >> 3], $sub800 = +HEAPF64[$arHandle + 48 + ($j$6 << 8) + 64 >> 3] - +HEAPF64[$arrayidx799 >> 3], ($sub779 * $sub779 + $sub800 * $sub800) / $conv761 < .5) : 0) break; + $j$6 = $j$6 + 1 | 0; + } + if (($j$6 | 0) == ($121 | 0)) { + _memcpy($arHandle + 48 + ($121 << 8) | 0, $arHandle + 4818304 + ($i$4 * 264 | 0) | 0, 256) | 0; + $inc836 = $121 + 1 | 0; + HEAP32[$marker_num >> 2] = $inc836; + $$pre417 = HEAP32[$history_num >> 2] | 0; + $130 = $inc836; + } else { + $$pre417 = $120; + $130 = $121; + } + $120 = $$pre417; + $121 = $130; + $i$4 = $i$4 + 1 | 0; + } + } + } else $retval$4 = -1; while (0); STACKTOP = sp; - return (($$sink757 | 0) < ($2 | 0) ? $2 : $$sink757) | 0; + return $retval$4 | 0; } -function _decfloat($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$0324 = 0, $$0324$be = 0, $$0327480 = 0, $$0328 = 0, $$0329 = 0, $$0331476 = 0, $$0335486 = 0, $$0336$lcssa = 0, $$0336453 = 0, $$0336454 = 0, $$0336455 = 0, $$0336503 = 0, $$0340$lcssa = 0, $$0340457 = 0, $$0340458 = 0, $$0340459 = 0, $$0340502 = 0, $$0345$lcssa540 = 0, $$0345484 = 0, $$0355 = 0.0, $$0356 = 0.0, $$0360474 = 0.0, $$0367 = 0, $$0376 = 0, $$0376$ph = 0, $$0381$lcssa539 = 0, $$0381483 = 0, $$0390 = 0, $$0393 = 0, $$0398$lcssa = 0, $$0398463 = 0, $$0398464 = 0, $$0398465 = 0, $$0398499 = 0, $$1 = 0.0, $$10473 = 0, $$11 = 0, $$1330 = 0, $$1357 = 0.0, $$1361 = 0.0, $$1377 = 0, $$1377$ph = 0, $$1377$ph$ph = 0, $$1391$lcssa = 0, $$1391501 = 0, $$2 = 0, $$2338 = 0, $$2342 = 0, $$2362 = 0.0, $$2369 = 0, $$2369$ph = 0, $$2369$ph579 = 0, $$2392 = 0, $$2395 = 0, $$2400 = 0, $$3$lcssa = 0, $$3339493 = 0, $$3343 = 0, $$3348$ph = 0, $$3348$ph580 = 0, $$3359 = 0.0, $$3363 = 0.0, $$3370 = 0, $$3379 = 0, $$3384$ph = 0, $$3384$ph578 = 0, $$3396$lcssa = 0, $$3396500 = 0, $$3504 = 0, $$4344485 = 0, $$4380 = 0, $$4397 = 0, $$4475 = 0, $$5 = 0, $$5$in = 0, $$5350 = 0, $$5350$ph = 0, $$5350$ph$ph = 0, $$5372 = 0, $$5386$ph = 0, $$5386$ph576 = 0, $$5386$ph576$ph = 0, $$6351478 = 0, $$6387477 = 0, $$6479 = 0, $$7374$ph$ph = 0, $$pre = 0, $$sink$off0 = 0, $10 = 0, $104 = 0, $105 = 0, $11 = 0, $110 = 0, $111 = 0, $113 = 0, $114 = 0, $127 = 0, $129 = 0, $135 = 0, $139 = 0, $141 = 0, $147 = 0, $153 = 0, $155 = 0, $177 = 0, $18 = 0, $189 = 0, $193 = 0, $196 = 0, $198 = 0, $199 = 0, $200 = 0, $201 = 0, $203 = 0, $204 = 0, $218 = 0, $219 = 0, $220 = 0, $224 = 0, $226 = 0, $228 = 0, $229 = 0, $235 = 0, $237 = 0, $239 = 0, $244 = 0, $247 = 0, $251 = 0, $254 = 0, $257 = 0, $26 = 0, $264 = 0, $267 = 0, $269 = 0, $27 = 0, $274 = 0, $277 = 0, $278 = 0, $279 = 0, $28 = 0, $280 = 0, $283 = 0, $29 = 0, $294 = 0, $297 = 0, $30 = 0, $302 = 0, $306 = 0, $309 = 0, $31 = 0, $318 = 0.0, $319 = 0.0, $320 = 0, $321 = 0, $322 = 0, $327 = 0.0, $330 = 0.0, $334 = 0, $337 = 0, $361 = 0.0, $366 = 0, $373 = 0, $375 = 0, $376 = 0, $377 = 0, $378 = 0, $379 = 0, $380 = 0, $381 = 0, $382 = 0, $383 = 0, $384 = 0, $385 = 0, $386 = 0, $387 = 0, $388 = 0, $389 = 0, $39 = 0, $390 = 0, $391 = 0, $392 = 0, $393 = 0, $394 = 0, $40 = 0, $42 = 0, $44 = 0, $47 = 0, $48 = 0, $49 = 0, $50 = 0, $51 = 0, $53 = 0, $58 = 0, $59 = 0, $6 = 0, $63 = 0, $7 = 0, $71 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $85 = 0, $86 = 0, $9 = 0, $95 = 0, $96 = 0, $97 = 0, $or$cond417 = 0, $or$cond421 = 0, $spec$select420 = 0, $spec$select441 = 0, $storemerge446 = 0, label = 0, sp = 0; +function _decfloat($f, $c, $bits, $emin, $sign, $pok) { + $f = $f | 0; + $c = $c | 0; + $bits = $bits | 0; + $emin = $emin | 0; + $sign = $sign | 0; + $pok = $pok | 0; + var $$pre = 0, $0 = 0, $1 = 0, $10 = 0, $100 = 0, $104 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0, $116 = 0, $117 = 0, $118 = 0, $119 = 0, $120 = 0, $121 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $21 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $30 = 0, $31 = 0, $32 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $44 = 0, $45 = 0, $47 = 0, $48 = 0, $50 = 0, $58 = 0, $65 = 0, $7 = 0, $75 = 0, $76 = 0, $78 = 0, $8 = 0, $81 = 0, $83 = 0, $84 = 0, $9 = 0, $90 = 0, $92 = 0, $94 = 0, $98 = 0, $99 = 0, $a$0$lcssa379 = 0, $a$0333 = 0, $a$3$ph = 0, $a$3$ph406 = 0, $a$5 = 0, $a$5$ph = 0, $a$5$ph$ph = 0, $a$6326 = 0, $add265 = 0, $add307$sink$off0 = 0, $add400 = 0, $add412 = 0, $add478 = 0, $and347 = 0, $and352 = 0, $and368 = 0, $and434 = 0, $and458 = 0, $and463 = 0, $and504 = 0, $arrayidx186 = 0, $arrayidx261 = 0, $arrayidx294 = 0, $arrayidx304 = 0, $arrayidx356 = 0, $arrayidx406 = 0, $arrayidx444 = 0, $arrayidx64 = 0, $arrayidx77 = 0, $bias$0 = 0.0, $bits$addr$0 = 0, $c$addr$0 = 0, $c$addr$0$be = 0, $c$addr$2 = 0, $c$addr$3$lcssa = 0, $c$addr$3352 = 0, $call135 = 0, $call165 = 0, $call175 = 0, $call496 = 0.0, $call499 = 0.0, $call594 = 0, $carry$0335 = 0, $carry298$0 = 0, $carry298$1 = 0, $carry362$0328 = 0, $cmp289 = 0, $cmp292 = 0, $cmp325 = 0, $cmp392 = 0, $cmp40344 = 0, $cmp40354 = 0, $cmp480 = 0, $cmp51 = 0, $cmp572 = 0, $cmp67 = 0, $cond17 = 0, $cond254 = 0, $cond34 = 0, $cond93 = 0, $conv476 = 0.0, $div = 0, $div264 = 0, $div267 = 0, $e2$0 = 0, $e2$0$ph = 0, $e2$1 = 0, $e2$1$ph = 0, $e2$1$ph$ph = 0, $e2$3 = 0, $e2$4 = 0, $frac$0 = 0.0, $frac$1 = 0.0, $frac$3 = 0.0, $gotdig$0 = 0, $gotdig$2 = 0, $gotdig$3$lcssa = 0, $gotdig$3348 = 0, $gotdig$4 = 0, $gotrad$0 = 0, $gotrad$1$lcssa = 0, $gotrad$1349 = 0, $gotrad$2 = 0, $i$0323 = 0, $i$4322 = 0, $inc66 = 0, $j$0$lcssa = 0, $j$0300 = 0, $j$0301 = 0, $j$0302 = 0, $j$0351 = 0, $j$2 = 0, $j$3340 = 0, $k$0$lcssa = 0, $k$0304 = 0, $k$0305 = 0, $k$0306 = 0, $k$0350 = 0, $k$2 = 0, $k$3 = 0, $k$4334 = 0, $k$5 = 0, $k$5$in = 0, $k$6327 = 0, $lnz$0$lcssa = 0, $lnz$0310 = 0, $lnz$0311 = 0, $lnz$0312 = 0, $lnz$0347 = 0, $lnz$2 = 0, $mul187341 = 0, $mul477 = 0.0, $or$cond262 = 0, $or$cond266 = 0, $rem = 0, $retval$1 = 0.0, $rp$0$lcssa378 = 0, $rp$0332 = 0, $rp$3$ph = 0, $rp$3$ph404 = 0, $rp$5$ph = 0, $rp$5$ph403 = 0, $rp$5$ph403$ph = 0, $rp$6325 = 0, $rpos = 0, $shend = 0, $shr414 = 0, $spec$select265 = 0, $spec$select292 = 0, $storemerge296 = 0, $sub1 = 0, $sub170 = 0, $sub225 = 0, $sub299 = 0, $sub37342 = 0, $sub37353 = 0, $sub408 = 0, $sub479 = 0, $sub564 = 0.0, $tobool95 = 0, $tobool98 = 0, $tobool98274 = 0, $tobool98275277 = 0, $x = 0, $y$0321 = 0.0, $y$1 = 0.0, $y$2 = 0.0, $y$3 = 0.0, $z$0 = 0, $z$10320 = 0, $z$11 = 0, $z$2 = 0, $z$2$ph = 0, $z$2$ph405 = 0, $z$3 = 0, $z$5 = 0, $z$7$ph$ph = 0, label = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 512 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(512); - $6 = sp; - $7 = $3 + $2 | 0; - $8 = 0 - $7 | 0; - $9 = $0 + 4 | 0; - $10 = $0 + 104 | 0; - $$0324 = $1; - $$0393 = 0; + $x = sp; + $0 = $emin + $bits | 0; + $sub1 = 0 - $0 | 0; + $rpos = $f + 4 | 0; + $shend = $f + 104 | 0; + $c$addr$0 = $c; + $gotdig$0 = 0; L1 : while (1) { - switch ($$0324 | 0) { + switch ($c$addr$0 | 0) { case 46: { label = 7; @@ -19484,1100 +19933,653 @@ function _decfloat($0, $1, $2, $3, $4, $5) { break; default: { - $$0390 = 0; - $$2 = $$0324; - $$2395 = $$0393; - $375 = 0; - $376 = 0; + $106 = 0; + $107 = 0; + $c$addr$2 = $c$addr$0; + $gotdig$2 = $gotdig$0; + $gotrad$0 = 0; break L1; } } - $11 = HEAP32[$9 >> 2] | 0; - if ($11 >>> 0 < (HEAP32[$10 >> 2] | 0) >>> 0) { - HEAP32[$9 >> 2] = $11 + 1; - $$0324$be = HEAPU8[$11 >> 0] | 0; - } else $$0324$be = ___shgetc($0) | 0; - $$0324 = $$0324$be; - $$0393 = 1; + $1 = HEAP32[$rpos >> 2] | 0; + if ($1 >>> 0 < (HEAP32[$shend >> 2] | 0) >>> 0) { + HEAP32[$rpos >> 2] = $1 + 1; + $c$addr$0$be = HEAPU8[$1 >> 0] | 0; + } else $c$addr$0$be = ___shgetc($f) | 0; + $c$addr$0 = $c$addr$0$be; + $gotdig$0 = 1; } if ((label | 0) == 7) { - $18 = HEAP32[$9 >> 2] | 0; - if ($18 >>> 0 < (HEAP32[$10 >> 2] | 0) >>> 0) { - HEAP32[$9 >> 2] = $18 + 1; - $26 = HEAPU8[$18 >> 0] | 0; - } else $26 = ___shgetc($0) | 0; - if (($26 | 0) == 48) { - $27 = 0; - $28 = 0; + $4 = HEAP32[$rpos >> 2] | 0; + if ($4 >>> 0 < (HEAP32[$shend >> 2] | 0) >>> 0) { + HEAP32[$rpos >> 2] = $4 + 1; + $cond17 = HEAPU8[$4 >> 0] | 0; + } else $cond17 = ___shgetc($f) | 0; + if (($cond17 | 0) == 48) { + $7 = 0; + $8 = 0; while (1) { - $29 = _i64Add($27 | 0, $28 | 0, -1, -1) | 0; - $30 = getTempRet0() | 0; - $31 = HEAP32[$9 >> 2] | 0; - if ($31 >>> 0 < (HEAP32[$10 >> 2] | 0) >>> 0) { - HEAP32[$9 >> 2] = $31 + 1; - $39 = HEAPU8[$31 >> 0] | 0; - } else $39 = ___shgetc($0) | 0; - if (($39 | 0) == 48) { - $27 = $29; - $28 = $30; + $9 = _i64Add($7 | 0, $8 | 0, -1, -1) | 0; + $10 = getTempRet0() | 0; + $11 = HEAP32[$rpos >> 2] | 0; + if ($11 >>> 0 < (HEAP32[$shend >> 2] | 0) >>> 0) { + HEAP32[$rpos >> 2] = $11 + 1; + $cond34 = HEAPU8[$11 >> 0] | 0; + } else $cond34 = ___shgetc($f) | 0; + if (($cond34 | 0) == 48) { + $7 = $9; + $8 = $10; } else { - $$0390 = 1; - $$2 = $39; - $$2395 = 1; - $375 = $29; - $376 = $30; + $106 = $9; + $107 = $10; + $c$addr$2 = $cond34; + $gotdig$2 = 1; + $gotrad$0 = 1; break; } } } else { - $$0390 = 1; - $$2 = $26; - $$2395 = $$0393; - $375 = 0; - $376 = 0; - } - } - HEAP32[$6 >> 2] = 0; - $40 = $$2 + -48 | 0; - $42 = ($$2 | 0) == 46; - L22 : do if ($42 | $40 >>> 0 < 10) { - $44 = $6 + 496 | 0; - $$0336503 = 0; - $$0340502 = 0; - $$0398499 = 0; - $$1391501 = $$0390; - $$3396500 = $$2395; - $$3504 = $$2; - $377 = $42; - $378 = $40; - $379 = $375; - $380 = $376; - $47 = 0; - $48 = 0; + $106 = 0; + $107 = 0; + $c$addr$2 = $cond17; + $gotdig$2 = $gotdig$0; + $gotrad$0 = 1; + } + } + HEAP32[$x >> 2] = 0; + $sub37342 = $c$addr$2 + -48 | 0; + $cmp40344 = ($c$addr$2 | 0) == 46; + L22 : do if ($cmp40344 | $sub37342 >>> 0 < 10) { + $arrayidx77 = $x + 496 | 0; + $108 = $106; + $109 = $107; + $15 = 0; + $16 = 0; + $c$addr$3352 = $c$addr$2; + $cmp40354 = $cmp40344; + $gotdig$3348 = $gotdig$2; + $gotrad$1349 = $gotrad$0; + $j$0351 = 0; + $k$0350 = 0; + $lnz$0347 = 0; + $sub37353 = $sub37342; L24 : while (1) { - do if ($377) if (!$$1391501) { - $$2338 = $$0336503; - $$2342 = $$0340502; - $$2392 = 1; - $$2400 = $$0398499; - $$4397 = $$3396500; - $381 = $47; - $382 = $48; - $383 = $47; - $384 = $48; + do if ($cmp40354) if (!$gotrad$1349) { + $110 = $15; + $111 = $16; + $112 = $15; + $113 = $16; + $gotdig$4 = $gotdig$3348; + $gotrad$2 = 1; + $j$2 = $j$0351; + $k$2 = $k$0350; + $lnz$2 = $lnz$0347; } else break L24; else { - $49 = _i64Add($47 | 0, $48 | 0, 1, 0) | 0; - $50 = getTempRet0() | 0; - $51 = ($$3504 | 0) != 48; - if (($$0340502 | 0) >= 125) { - if (!$51) { - $$2338 = $$0336503; - $$2342 = $$0340502; - $$2392 = $$1391501; - $$2400 = $$0398499; - $$4397 = $$3396500; - $381 = $379; - $382 = $380; - $383 = $49; - $384 = $50; + $17 = _i64Add($15 | 0, $16 | 0, 1, 0) | 0; + $18 = getTempRet0() | 0; + $cmp51 = ($c$addr$3352 | 0) != 48; + if (($k$0350 | 0) >= 125) { + if (!$cmp51) { + $110 = $108; + $111 = $109; + $112 = $17; + $113 = $18; + $gotdig$4 = $gotdig$3348; + $gotrad$2 = $gotrad$1349; + $j$2 = $j$0351; + $k$2 = $k$0350; + $lnz$2 = $lnz$0347; break; } - HEAP32[$44 >> 2] = HEAP32[$44 >> 2] | 1; - $$2338 = $$0336503; - $$2342 = $$0340502; - $$2392 = $$1391501; - $$2400 = $$0398499; - $$4397 = $$3396500; - $381 = $379; - $382 = $380; - $383 = $49; - $384 = $50; + HEAP32[$arrayidx77 >> 2] = HEAP32[$arrayidx77 >> 2] | 1; + $110 = $108; + $111 = $109; + $112 = $17; + $113 = $18; + $gotdig$4 = $gotdig$3348; + $gotrad$2 = $gotrad$1349; + $j$2 = $j$0351; + $k$2 = $k$0350; + $lnz$2 = $lnz$0347; break; } - $53 = $6 + ($$0340502 << 2) | 0; - if (!$$0336503) $storemerge446 = $378; else $storemerge446 = $$3504 + -48 + ((HEAP32[$53 >> 2] | 0) * 10 | 0) | 0; - HEAP32[$53 >> 2] = $storemerge446; - $58 = $$0336503 + 1 | 0; - $59 = ($58 | 0) == 9; - $$2338 = $59 ? 0 : $58; - $$2342 = $$0340502 + ($59 & 1) | 0; - $$2392 = $$1391501; - $$2400 = $51 ? $49 : $$0398499; - $$4397 = 1; - $381 = $379; - $382 = $380; - $383 = $49; - $384 = $50; + $arrayidx64 = $x + ($k$0350 << 2) | 0; + if (!$j$0351) $storemerge296 = $sub37353; else $storemerge296 = $c$addr$3352 + -48 + ((HEAP32[$arrayidx64 >> 2] | 0) * 10 | 0) | 0; + HEAP32[$arrayidx64 >> 2] = $storemerge296; + $inc66 = $j$0351 + 1 | 0; + $cmp67 = ($inc66 | 0) == 9; + $110 = $108; + $111 = $109; + $112 = $17; + $113 = $18; + $gotdig$4 = 1; + $gotrad$2 = $gotrad$1349; + $j$2 = $cmp67 ? 0 : $inc66; + $k$2 = $k$0350 + ($cmp67 & 1) | 0; + $lnz$2 = $cmp51 ? $17 : $lnz$0347; } while (0); - $63 = HEAP32[$9 >> 2] | 0; - if ($63 >>> 0 < (HEAP32[$10 >> 2] | 0) >>> 0) { - HEAP32[$9 >> 2] = $63 + 1; - $71 = HEAPU8[$63 >> 0] | 0; - } else $71 = ___shgetc($0) | 0; - $378 = $71 + -48 | 0; - $377 = ($71 | 0) == 46; - if (!($377 | $378 >>> 0 < 10)) { - $$0336$lcssa = $$2338; - $$0340$lcssa = $$2342; - $$0398$lcssa = $$2400; - $$1391$lcssa = $$2392; - $$3$lcssa = $71; - $$3396$lcssa = $$4397; - $77 = $383; - $78 = $381; - $80 = $384; - $81 = $382; + $21 = HEAP32[$rpos >> 2] | 0; + if ($21 >>> 0 < (HEAP32[$shend >> 2] | 0) >>> 0) { + HEAP32[$rpos >> 2] = $21 + 1; + $cond93 = HEAPU8[$21 >> 0] | 0; + } else $cond93 = ___shgetc($f) | 0; + $sub37353 = $cond93 + -48 | 0; + $cmp40354 = ($cond93 | 0) == 46; + if (!($cmp40354 | $sub37353 >>> 0 < 10)) { + $25 = $110; + $26 = $112; + $28 = $111; + $29 = $113; + $c$addr$3$lcssa = $cond93; + $gotdig$3$lcssa = $gotdig$4; + $gotrad$1$lcssa = $gotrad$2; + $j$0$lcssa = $j$2; + $k$0$lcssa = $k$2; + $lnz$0$lcssa = $lnz$2; label = 31; break L22; } else { - $$0336503 = $$2338; - $$0340502 = $$2342; - $$0398499 = $$2400; - $$1391501 = $$2392; - $$3396500 = $$4397; - $$3504 = $71; - $379 = $381; - $380 = $382; - $47 = $383; - $48 = $384; - } - } - $$0336455 = $$0336503; - $$0340459 = $$0340502; - $$0398465 = $$0398499; - $385 = $47; - $386 = $48; - $387 = $379; - $388 = $380; - $389 = ($$3396500 | 0) != 0; + $108 = $110; + $109 = $111; + $15 = $112; + $16 = $113; + $c$addr$3352 = $cond93; + $gotdig$3348 = $gotdig$4; + $gotrad$1349 = $gotrad$2; + $j$0351 = $j$2; + $k$0350 = $k$2; + $lnz$0347 = $lnz$2; + } + } + $114 = $15; + $115 = $16; + $116 = $108; + $117 = $109; + $j$0302 = $j$0351; + $k$0306 = $k$0350; + $lnz$0312 = $lnz$0347; + $tobool98275277 = ($gotdig$3348 | 0) != 0; label = 39; } else { - $$0336$lcssa = 0; - $$0340$lcssa = 0; - $$0398$lcssa = 0; - $$1391$lcssa = $$0390; - $$3$lcssa = $$2; - $$3396$lcssa = $$2395; - $77 = 0; - $78 = $375; - $80 = 0; - $81 = $376; + $25 = $106; + $26 = 0; + $28 = $107; + $29 = 0; + $c$addr$3$lcssa = $c$addr$2; + $gotdig$3$lcssa = $gotdig$2; + $gotrad$1$lcssa = $gotrad$0; + $j$0$lcssa = 0; + $k$0$lcssa = 0; + $lnz$0$lcssa = 0; label = 31; } while (0); do if ((label | 0) == 31) { - $75 = ($$1391$lcssa | 0) == 0; - $76 = $75 ? $77 : $78; - $79 = $75 ? $80 : $81; - $82 = ($$3396$lcssa | 0) != 0; - if (!($82 & ($$3$lcssa | 32 | 0) == 101)) if (($$3$lcssa | 0) > -1) { - $$0336455 = $$0336$lcssa; - $$0340459 = $$0340$lcssa; - $$0398465 = $$0398$lcssa; - $385 = $77; - $386 = $80; - $387 = $76; - $388 = $79; - $389 = $82; + $tobool95 = ($gotrad$1$lcssa | 0) == 0; + $27 = $tobool95 ? $26 : $25; + $30 = $tobool95 ? $29 : $28; + $tobool98 = ($gotdig$3$lcssa | 0) != 0; + if (!($tobool98 & ($c$addr$3$lcssa | 32 | 0) == 101)) if (($c$addr$3$lcssa | 0) > -1) { + $114 = $26; + $115 = $29; + $116 = $27; + $117 = $30; + $j$0302 = $j$0$lcssa; + $k$0306 = $k$0$lcssa; + $lnz$0312 = $lnz$0$lcssa; + $tobool98275277 = $tobool98; label = 39; break; } else { - $$0336454 = $$0336$lcssa; - $$0340458 = $$0340$lcssa; - $$0398464 = $$0398$lcssa; - $390 = $77; - $391 = $80; - $392 = $82; - $393 = $76; - $394 = $79; + $118 = $26; + $119 = $29; + $120 = $27; + $121 = $30; + $j$0301 = $j$0$lcssa; + $k$0305 = $k$0$lcssa; + $lnz$0311 = $lnz$0$lcssa; + $tobool98274 = $tobool98; label = 41; break; } - $85 = _scanexp($0, $5) | 0; - $86 = getTempRet0() | 0; - if (($85 | 0) == 0 & ($86 | 0) == -2147483648) { - if (!$5) { - ___shlim($0, 0, 0); - $$1 = 0.0; + $31 = _scanexp($f, $pok) | 0; + $32 = getTempRet0() | 0; + if (($31 | 0) == 0 & ($32 | 0) == -2147483648) { + if (!$pok) { + ___shlim($f, 0, 0); + $retval$1 = 0.0; break; } - if (!(HEAP32[$10 >> 2] | 0)) { - $95 = 0; - $96 = 0; + if (!(HEAP32[$shend >> 2] | 0)) { + $38 = 0; + $39 = 0; } else { - HEAP32[$9 >> 2] = (HEAP32[$9 >> 2] | 0) + -1; - $95 = 0; - $96 = 0; + HEAP32[$rpos >> 2] = (HEAP32[$rpos >> 2] | 0) + -1; + $38 = 0; + $39 = 0; } } else { - $95 = $85; - $96 = $86; - } - $97 = _i64Add($95 | 0, $96 | 0, $76 | 0, $79 | 0) | 0; - $$0336453 = $$0336$lcssa; - $$0340457 = $$0340$lcssa; - $$0398463 = $$0398$lcssa; - $110 = $97; - $111 = $77; - $113 = getTempRet0() | 0; - $114 = $80; + $38 = $31; + $39 = $32; + } + $40 = _i64Add($38 | 0, $39 | 0, $27 | 0, $30 | 0) | 0; + $45 = $40; + $47 = $26; + $48 = getTempRet0() | 0; + $50 = $29; + $j$0300 = $j$0$lcssa; + $k$0304 = $k$0$lcssa; + $lnz$0310 = $lnz$0$lcssa; label = 43; } while (0); - if ((label | 0) == 39) if (HEAP32[$10 >> 2] | 0) { - HEAP32[$9 >> 2] = (HEAP32[$9 >> 2] | 0) + -1; - if ($389) { - $$0336453 = $$0336455; - $$0340457 = $$0340459; - $$0398463 = $$0398465; - $110 = $387; - $111 = $385; - $113 = $388; - $114 = $386; + if ((label | 0) == 39) if (HEAP32[$shend >> 2] | 0) { + HEAP32[$rpos >> 2] = (HEAP32[$rpos >> 2] | 0) + -1; + if ($tobool98275277) { + $45 = $116; + $47 = $114; + $48 = $117; + $50 = $115; + $j$0300 = $j$0302; + $k$0304 = $k$0306; + $lnz$0310 = $lnz$0312; label = 43; } else label = 42; } else { - $$0336454 = $$0336455; - $$0340458 = $$0340459; - $$0398464 = $$0398465; - $390 = $385; - $391 = $386; - $392 = $389; - $393 = $387; - $394 = $388; + $118 = $114; + $119 = $115; + $120 = $116; + $121 = $117; + $j$0301 = $j$0302; + $k$0305 = $k$0306; + $lnz$0311 = $lnz$0312; + $tobool98274 = $tobool98275277; label = 41; } - if ((label | 0) == 41) if ($392) { - $$0336453 = $$0336454; - $$0340457 = $$0340458; - $$0398463 = $$0398464; - $110 = $393; - $111 = $390; - $113 = $394; - $114 = $391; + if ((label | 0) == 41) if ($tobool98274) { + $45 = $120; + $47 = $118; + $48 = $121; + $50 = $119; + $j$0300 = $j$0301; + $k$0304 = $k$0305; + $lnz$0310 = $lnz$0311; label = 43; } else label = 42; do if ((label | 0) == 42) { - $104 = ___errno_location() | 0; - HEAP32[$104 >> 2] = 28; - ___shlim($0, 0, 0); - $$1 = 0.0; + $call135 = ___errno_location() | 0; + HEAP32[$call135 >> 2] = 28; + ___shlim($f, 0, 0); + $retval$1 = 0.0; } else if ((label | 0) == 43) { - $105 = HEAP32[$6 >> 2] | 0; - if (!$105) { - $$1 = +($4 | 0) * 0.0; + $44 = HEAP32[$x >> 2] | 0; + if (!$44) { + $retval$1 = +($sign | 0) * 0.0; break; } - if ((($114 | 0) < 0 | ($114 | 0) == 0 & $111 >>> 0 < 10) & (($110 | 0) == ($111 | 0) & ($113 | 0) == ($114 | 0)) ? ($2 | 0) > 30 | ($105 >>> $2 | 0) == 0 : 0) { - $$1 = +($4 | 0) * +($105 >>> 0); + if ((($50 | 0) < 0 | ($50 | 0) == 0 & $47 >>> 0 < 10) & (($45 | 0) == ($47 | 0) & ($48 | 0) == ($50 | 0)) ? ($bits | 0) > 30 | ($44 >>> $bits | 0) == 0 : 0) { + $retval$1 = +($sign | 0) * +($44 >>> 0); break; } - $127 = ($3 | 0) / -2 | 0; - $129 = (($127 | 0) < 0) << 31 >> 31; - if (($113 | 0) > ($129 | 0) | ($113 | 0) == ($129 | 0) & $110 >>> 0 > $127 >>> 0) { - $135 = ___errno_location() | 0; - HEAP32[$135 >> 2] = 68; - $$1 = +($4 | 0) * 1797693134862315708145274.0e284 * 1797693134862315708145274.0e284; + $div = ($emin | 0) / -2 | 0; + $58 = (($div | 0) < 0) << 31 >> 31; + if (($48 | 0) > ($58 | 0) | ($48 | 0) == ($58 | 0) & $45 >>> 0 > $div >>> 0) { + $call165 = ___errno_location() | 0; + HEAP32[$call165 >> 2] = 68; + $retval$1 = +($sign | 0) * 1797693134862315708145274.0e284 * 1797693134862315708145274.0e284; break; } - $139 = $3 + -106 | 0; - $141 = (($139 | 0) < 0) << 31 >> 31; - if (($113 | 0) < ($141 | 0) | ($113 | 0) == ($141 | 0) & $110 >>> 0 < $139 >>> 0) { - $147 = ___errno_location() | 0; - HEAP32[$147 >> 2] = 68; - $$1 = +($4 | 0) * 2.2250738585072014e-308 * 2.2250738585072014e-308; + $sub170 = $emin + -106 | 0; + $65 = (($sub170 | 0) < 0) << 31 >> 31; + if (($48 | 0) < ($65 | 0) | ($48 | 0) == ($65 | 0) & $45 >>> 0 < $sub170 >>> 0) { + $call175 = ___errno_location() | 0; + HEAP32[$call175 >> 2] = 68; + $retval$1 = +($sign | 0) * 2.2250738585072014e-308 * 2.2250738585072014e-308; break; } - if (!$$0336453) $$3343 = $$0340457; else { - if (($$0336453 | 0) < 9) { - $153 = $6 + ($$0340457 << 2) | 0; - $$3339493 = $$0336453; - $155 = HEAP32[$153 >> 2] | 0; + if (!$j$0300) $k$3 = $k$0304; else { + if (($j$0300 | 0) < 9) { + $arrayidx186 = $x + ($k$0304 << 2) | 0; + $j$3340 = $j$0300; + $mul187341 = HEAP32[$arrayidx186 >> 2] | 0; while (1) { - $155 = $155 * 10 | 0; - if (($$3339493 | 0) >= 8) break; else $$3339493 = $$3339493 + 1 | 0; + $mul187341 = $mul187341 * 10 | 0; + if (($j$3340 | 0) >= 8) break; else $j$3340 = $j$3340 + 1 | 0; } - HEAP32[$153 >> 2] = $155; + HEAP32[$arrayidx186 >> 2] = $mul187341; } - $$3343 = $$0340457 + 1 | 0; + $k$3 = $k$0304 + 1 | 0; } - if (($$0398463 | 0) < 9 ? ($$0398463 | 0) <= ($110 | 0) & ($110 | 0) < 18 : 0) { - if (($110 | 0) == 9) { - $$1 = +($4 | 0) * +((HEAP32[$6 >> 2] | 0) >>> 0); + if (($lnz$0310 | 0) < 9 ? ($lnz$0310 | 0) <= ($45 | 0) & ($45 | 0) < 18 : 0) { + if (($45 | 0) == 9) { + $retval$1 = +($sign | 0) * +((HEAP32[$x >> 2] | 0) >>> 0); break; } - if (($110 | 0) < 9) { - $$1 = +($4 | 0) * +((HEAP32[$6 >> 2] | 0) >>> 0) / +(HEAP32[12432 + (8 - $110 << 2) >> 2] | 0); + if (($45 | 0) < 9) { + $retval$1 = +($sign | 0) * +((HEAP32[$x >> 2] | 0) >>> 0) / +(HEAP32[12512 + (8 - $45 << 2) >> 2] | 0); break; } - $177 = $2 + 27 + (Math_imul($110, -3) | 0) | 0; - $$pre = HEAP32[$6 >> 2] | 0; - if (($177 | 0) > 30 | ($$pre >>> $177 | 0) == 0) { - $$1 = +($4 | 0) * +($$pre >>> 0) * +(HEAP32[12432 + ($110 + -10 << 2) >> 2] | 0); + $sub225 = $bits + 27 + (Math_imul($45, -3) | 0) | 0; + $$pre = HEAP32[$x >> 2] | 0; + if (($sub225 | 0) > 30 | ($$pre >>> $sub225 | 0) == 0) { + $retval$1 = +($sign | 0) * +($$pre >>> 0) * +(HEAP32[12512 + ($45 + -10 << 2) >> 2] | 0); break; } } - $189 = ($110 | 0) % 9 | 0; - if (!$189) { - $$2369$ph = $$3343; - $$3348$ph = 0; - $$3384$ph = $110; + $rem = ($45 | 0) % 9 | 0; + if (!$rem) { + $a$3$ph = 0; + $rp$3$ph = $45; + $z$2$ph = $k$3; } else { - $193 = ($110 | 0) > -1 ? $189 : $189 + 9 | 0; - $196 = HEAP32[12432 + (8 - $193 << 2) >> 2] | 0; - if ($$3343) { - $198 = 1e9 / ($196 | 0) | 0; - $$0335486 = 0; - $$0345484 = 0; - $$0381483 = $110; - $$4344485 = 0; + $cond254 = ($45 | 0) > -1 ? $rem : $rem + 9 | 0; + $75 = HEAP32[12512 + (8 - $cond254 << 2) >> 2] | 0; + if ($k$3) { + $div267 = 1e9 / ($75 | 0) | 0; + $a$0333 = 0; + $carry$0335 = 0; + $k$4334 = 0; + $rp$0332 = $45; do { - $199 = $6 + ($$4344485 << 2) | 0; - $200 = HEAP32[$199 >> 2] | 0; - $201 = ($200 >>> 0) / ($196 >>> 0) | 0; - $203 = $200 - (Math_imul($201, $196) | 0) | 0; - $204 = $201 + $$0335486 | 0; - HEAP32[$199 >> 2] = $204; - $$0335486 = Math_imul($198, $203) | 0; - $or$cond417 = ($$4344485 | 0) == ($$0345484 | 0) & ($204 | 0) == 0; - $$0381483 = $or$cond417 ? $$0381483 + -9 | 0 : $$0381483; - $$0345484 = $or$cond417 ? $$0345484 + 1 & 127 : $$0345484; - $$4344485 = $$4344485 + 1 | 0; - } while (($$4344485 | 0) != ($$3343 | 0)); - if (!$$0335486) { - $$0345$lcssa540 = $$0345484; - $$0367 = $$3343; - $$0381$lcssa539 = $$0381483; + $arrayidx261 = $x + ($k$4334 << 2) | 0; + $76 = HEAP32[$arrayidx261 >> 2] | 0; + $div264 = ($76 >>> 0) / ($75 >>> 0) | 0; + $78 = $76 - (Math_imul($div264, $75) | 0) | 0; + $add265 = $div264 + $carry$0335 | 0; + HEAP32[$arrayidx261 >> 2] = $add265; + $carry$0335 = Math_imul($div267, $78) | 0; + $or$cond262 = ($k$4334 | 0) == ($a$0333 | 0) & ($add265 | 0) == 0; + $rp$0332 = $or$cond262 ? $rp$0332 + -9 | 0 : $rp$0332; + $a$0333 = $or$cond262 ? $a$0333 + 1 & 127 : $a$0333; + $k$4334 = $k$4334 + 1 | 0; + } while (($k$4334 | 0) != ($k$3 | 0)); + if (!$carry$0335) { + $a$0$lcssa379 = $a$0333; + $rp$0$lcssa378 = $rp$0332; + $z$0 = $k$3; } else { - HEAP32[$6 + ($$3343 << 2) >> 2] = $$0335486; - $$0345$lcssa540 = $$0345484; - $$0367 = $$3343 + 1 | 0; - $$0381$lcssa539 = $$0381483; + HEAP32[$x + ($k$3 << 2) >> 2] = $carry$0335; + $a$0$lcssa379 = $a$0333; + $rp$0$lcssa378 = $rp$0332; + $z$0 = $k$3 + 1 | 0; } } else { - $$0345$lcssa540 = 0; - $$0367 = 0; - $$0381$lcssa539 = $110; - } - $$2369$ph = $$0367; - $$3348$ph = $$0345$lcssa540; - $$3384$ph = 9 - $193 + $$0381$lcssa539 | 0; - } - $$0376$ph = 0; - $$2369$ph579 = $$2369$ph; - $$3348$ph580 = $$3348$ph; - $$3384$ph578 = $$3384$ph; + $a$0$lcssa379 = 0; + $rp$0$lcssa378 = $45; + $z$0 = 0; + } + $a$3$ph = $a$0$lcssa379; + $rp$3$ph = 9 - $cond254 + $rp$0$lcssa378 | 0; + $z$2$ph = $z$0; + } + $a$3$ph406 = $a$3$ph; + $e2$0$ph = 0; + $rp$3$ph404 = $rp$3$ph; + $z$2$ph405 = $z$2$ph; L104 : while (1) { - $218 = ($$3384$ph578 | 0) < 18; - $219 = ($$3384$ph578 | 0) == 18; - $220 = $6 + ($$3348$ph580 << 2) | 0; - $$0376 = $$0376$ph; - $$2369 = $$2369$ph579; + $cmp289 = ($rp$3$ph404 | 0) < 18; + $cmp292 = ($rp$3$ph404 | 0) == 18; + $arrayidx294 = $x + ($a$3$ph406 << 2) | 0; + $e2$0 = $e2$0$ph; + $z$2 = $z$2$ph405; while (1) { - if (!$218) { - if (!$219) { - $$5386$ph = $$3384$ph578; + if (!$cmp289) { + if (!$cmp292) { + $rp$5$ph = $rp$3$ph404; break L104; } - if ((HEAP32[$220 >> 2] | 0) >>> 0 >= 9007199) { - $$5386$ph = 18; + if ((HEAP32[$arrayidx294 >> 2] | 0) >>> 0 >= 9007199) { + $rp$5$ph = 18; break L104; } } - $$0329 = 0; - $$3370 = $$2369; - $$5$in = $$2369 + 127 | 0; + $carry298$0 = 0; + $k$5$in = $z$2 + 127 | 0; + $z$3 = $z$2; while (1) { - $$5 = $$5$in & 127; - $224 = $6 + ($$5 << 2) | 0; - $226 = _bitshift64Shl(HEAP32[$224 >> 2] | 0, 0, 29) | 0; - $228 = _i64Add($226 | 0, getTempRet0() | 0, $$0329 | 0, 0) | 0; - $229 = getTempRet0() | 0; - if ($229 >>> 0 > 0 | ($229 | 0) == 0 & $228 >>> 0 > 1e9) { - $235 = ___udivdi3($228 | 0, $229 | 0, 1e9, 0) | 0; - $237 = ___muldi3($235 | 0, getTempRet0() | 0, 1e9, 0) | 0; - $239 = _i64Subtract($228 | 0, $229 | 0, $237 | 0, getTempRet0() | 0) | 0; + $k$5 = $k$5$in & 127; + $arrayidx304 = $x + ($k$5 << 2) | 0; + $81 = _bitshift64Shl(HEAP32[$arrayidx304 >> 2] | 0, 0, 29) | 0; + $83 = _i64Add($81 | 0, getTempRet0() | 0, $carry298$0 | 0, 0) | 0; + $84 = getTempRet0() | 0; + if ($84 >>> 0 > 0 | ($84 | 0) == 0 & $83 >>> 0 > 1e9) { + $90 = ___udivdi3($83 | 0, $84 | 0, 1e9, 0) | 0; + $92 = ___muldi3($90 | 0, getTempRet0() | 0, 1e9, 0) | 0; + $94 = _i64Subtract($83 | 0, $84 | 0, $92 | 0, getTempRet0() | 0) | 0; getTempRet0() | 0; - $$1330 = $235; - $$sink$off0 = $239; + $add307$sink$off0 = $94; + $carry298$1 = $90; } else { - $$1330 = 0; - $$sink$off0 = $228; - } - HEAP32[$224 >> 2] = $$sink$off0; - $244 = ($$5 | 0) == ($$3348$ph580 | 0); - $spec$select441 = ($$5 | 0) != ($$3370 + 127 & 127 | 0) | $244 ? $$3370 : ($$sink$off0 | 0) == 0 ? $$5 : $$3370; - if ($244) break; else { - $$0329 = $$1330; - $$3370 = $spec$select441; - $$5$in = $$5 + -1 | 0; - } - } - $247 = $$0376 + -29 | 0; - if (!$$1330) { - $$0376 = $247; - $$2369 = $$3370; + $add307$sink$off0 = $83; + $carry298$1 = 0; + } + HEAP32[$arrayidx304 >> 2] = $add307$sink$off0; + $cmp325 = ($k$5 | 0) == ($a$3$ph406 | 0); + $spec$select292 = ($k$5 | 0) != ($z$3 + 127 & 127 | 0) | $cmp325 ? $z$3 : ($add307$sink$off0 | 0) == 0 ? $k$5 : $z$3; + if ($cmp325) break; else { + $carry298$0 = $carry298$1; + $k$5$in = $k$5 + -1 | 0; + $z$3 = $spec$select292; + } + } + $sub299 = $e2$0 + -29 | 0; + if (!$carry298$1) { + $e2$0 = $sub299; + $z$2 = $z$3; } else break; } - $251 = $$3348$ph580 + 127 & 127; - $254 = $spec$select441 + 127 & 127; - $257 = $6 + (($spec$select441 + 126 & 127) << 2) | 0; - if (($251 | 0) == ($spec$select441 | 0)) { - HEAP32[$257 >> 2] = HEAP32[$257 >> 2] | HEAP32[$6 + ($254 << 2) >> 2]; - $$5372 = $254; - } else $$5372 = $$3370; - HEAP32[$6 + ($251 << 2) >> 2] = $$1330; - $$0376$ph = $247; - $$2369$ph579 = $$5372; - $$3348$ph580 = $251; - $$3384$ph578 = $$3384$ph578 + 9 | 0; - } - $$1377$ph$ph = $$0376; - $$5350$ph$ph = $$3348$ph580; - $$5386$ph576$ph = $$5386$ph; - $$7374$ph$ph = $$2369; + $and347 = $a$3$ph406 + 127 & 127; + $and352 = $spec$select292 + 127 & 127; + $arrayidx356 = $x + (($spec$select292 + 126 & 127) << 2) | 0; + if (($and347 | 0) == ($spec$select292 | 0)) { + HEAP32[$arrayidx356 >> 2] = HEAP32[$arrayidx356 >> 2] | HEAP32[$x + ($and352 << 2) >> 2]; + $z$5 = $and352; + } else $z$5 = $z$3; + HEAP32[$x + ($and347 << 2) >> 2] = $carry298$1; + $a$3$ph406 = $and347; + $e2$0$ph = $sub299; + $rp$3$ph404 = $rp$3$ph404 + 9 | 0; + $z$2$ph405 = $z$5; + } + $a$5$ph$ph = $a$3$ph406; + $e2$1$ph$ph = $e2$0; + $rp$5$ph403$ph = $rp$5$ph; + $z$7$ph$ph = $z$2; L123 : while (1) { - $297 = $$7374$ph$ph + 1 & 127; - $302 = $6 + (($$7374$ph$ph + 127 & 127) << 2) | 0; - $$1377$ph = $$1377$ph$ph; - $$5350$ph = $$5350$ph$ph; - $$5386$ph576 = $$5386$ph576$ph; + $and434 = $z$7$ph$ph + 1 & 127; + $arrayidx444 = $x + (($z$7$ph$ph + 127 & 127) << 2) | 0; + $a$5$ph = $a$5$ph$ph; + $e2$1$ph = $e2$1$ph$ph; + $rp$5$ph403 = $rp$5$ph403$ph; while (1) { - $294 = ($$5386$ph576 | 0) == 18; - $spec$select420 = ($$5386$ph576 | 0) > 27 ? 9 : 1; - $$1377 = $$1377$ph; - $$5350 = $$5350$ph; + $cmp392 = ($rp$5$ph403 | 0) == 18; + $spec$select265 = ($rp$5$ph403 | 0) > 27 ? 9 : 1; + $a$5 = $a$5$ph; + $e2$1 = $e2$1$ph; while (1) { - $$0331476 = 0; + $i$0323 = 0; while (1) { - $264 = $$0331476 + $$5350 & 127; - if (($264 | 0) == ($$7374$ph$ph | 0)) { + $and368 = $i$0323 + $a$5 & 127; + if (($and368 | 0) == ($z$7$ph$ph | 0)) { label = 92; break; } - $267 = HEAP32[$6 + ($264 << 2) >> 2] | 0; - $269 = HEAP32[17356 + ($$0331476 << 2) >> 2] | 0; - if ($267 >>> 0 < $269 >>> 0) { + $98 = HEAP32[$x + ($and368 << 2) >> 2] | 0; + $99 = HEAP32[17356 + ($i$0323 << 2) >> 2] | 0; + if ($98 >>> 0 < $99 >>> 0) { label = 92; break; } - if ($267 >>> 0 > $269 >>> 0) break; - if (($$0331476 + 1 | 0) >>> 0 < 2) $$0331476 = 1; else { + if ($98 >>> 0 > $99 >>> 0) break; + if (($i$0323 + 1 | 0) >>> 0 < 2) $i$0323 = 1; else { label = 92; break; } } - if ((label | 0) == 92 ? (label = 0, $294) : 0) break L123; - $274 = $spec$select420 + $$1377 | 0; - if (($$5350 | 0) == ($$7374$ph$ph | 0)) { - $$1377 = $274; - $$5350 = $$7374$ph$ph; + if ((label | 0) == 92 ? (label = 0, $cmp392) : 0) break L123; + $add400 = $spec$select265 + $e2$1 | 0; + if (($a$5 | 0) == ($z$7$ph$ph | 0)) { + $a$5 = $z$7$ph$ph; + $e2$1 = $add400; } else break; } - $277 = (1 << $spec$select420) + -1 | 0; - $278 = 1e9 >>> $spec$select420; - $$0327480 = 0; - $$6351478 = $$5350; - $$6387477 = $$5386$ph576; - $$6479 = $$5350; + $sub408 = (1 << $spec$select265) + -1 | 0; + $shr414 = 1e9 >>> $spec$select265; + $a$6326 = $a$5; + $carry362$0328 = 0; + $k$6327 = $a$5; + $rp$6325 = $rp$5$ph403; do { - $279 = $6 + ($$6479 << 2) | 0; - $280 = HEAP32[$279 >> 2] | 0; - $283 = ($280 >>> $spec$select420) + $$0327480 | 0; - HEAP32[$279 >> 2] = $283; - $$0327480 = Math_imul($280 & $277, $278) | 0; - $or$cond421 = ($$6479 | 0) == ($$6351478 | 0) & ($283 | 0) == 0; - $$6387477 = $or$cond421 ? $$6387477 + -9 | 0 : $$6387477; - $$6351478 = $or$cond421 ? $$6351478 + 1 & 127 : $$6351478; - $$6479 = $$6479 + 1 & 127; - } while (($$6479 | 0) != ($$7374$ph$ph | 0)); - if ($$0327480 | 0) { - if (($297 | 0) != ($$6351478 | 0)) break; - HEAP32[$302 >> 2] = HEAP32[$302 >> 2] | 1; - } - $$1377$ph = $274; - $$5350$ph = $$6351478; - $$5386$ph576 = $$6387477; - } - HEAP32[$6 + ($$7374$ph$ph << 2) >> 2] = $$0327480; - $$1377$ph$ph = $274; - $$5350$ph$ph = $$6351478; - $$5386$ph576$ph = $$6387477; - $$7374$ph$ph = $297; - } - $$0360474 = 0.0; - $$10473 = $$7374$ph$ph; - $$4475 = 0; + $arrayidx406 = $x + ($k$6327 << 2) | 0; + $100 = HEAP32[$arrayidx406 >> 2] | 0; + $add412 = ($100 >>> $spec$select265) + $carry362$0328 | 0; + HEAP32[$arrayidx406 >> 2] = $add412; + $carry362$0328 = Math_imul($100 & $sub408, $shr414) | 0; + $or$cond266 = ($k$6327 | 0) == ($a$6326 | 0) & ($add412 | 0) == 0; + $rp$6325 = $or$cond266 ? $rp$6325 + -9 | 0 : $rp$6325; + $a$6326 = $or$cond266 ? $a$6326 + 1 & 127 : $a$6326; + $k$6327 = $k$6327 + 1 & 127; + } while (($k$6327 | 0) != ($z$7$ph$ph | 0)); + if ($carry362$0328 | 0) { + if (($and434 | 0) != ($a$6326 | 0)) break; + HEAP32[$arrayidx444 >> 2] = HEAP32[$arrayidx444 >> 2] | 1; + } + $a$5$ph = $a$6326; + $e2$1$ph = $add400; + $rp$5$ph403 = $rp$6325; + } + HEAP32[$x + ($z$7$ph$ph << 2) >> 2] = $carry362$0328; + $a$5$ph$ph = $a$6326; + $e2$1$ph$ph = $add400; + $rp$5$ph403$ph = $rp$6325; + $z$7$ph$ph = $and434; + } + $i$4322 = 0; + $y$0321 = 0.0; + $z$10320 = $z$7$ph$ph; while (1) { - $306 = $$4475 + $$5350 & 127; - $309 = $$10473 + 1 & 127; - if (($306 | 0) == ($$10473 | 0)) { - HEAP32[$6 + ($309 + -1 << 2) >> 2] = 0; - $$11 = $309; - } else $$11 = $$10473; - $$0360474 = $$0360474 * 1.0e9 + +((HEAP32[$6 + ($306 << 2) >> 2] | 0) >>> 0); - $$4475 = $$4475 + 1 | 0; - if (($$4475 | 0) == 2) break; else $$10473 = $$11; - } - $318 = +($4 | 0); - $319 = $$0360474 * $318; - $320 = $$1377 + 53 | 0; - $321 = $320 - $3 | 0; - $322 = ($321 | 0) < ($2 | 0); - $$0328 = $322 ? (($321 | 0) > 0 ? $321 : 0) : $2; - if (($$0328 | 0) < 53) { - $327 = +_copysignl(+_scalbn(1.0, 105 - $$0328 | 0), $319); - $330 = +_fmodl($319, +_scalbn(1.0, 53 - $$0328 | 0)); - $$0355 = $327; - $$0356 = $330; - $$1361 = $327 + ($319 - $330); + $and458 = $i$4322 + $a$5 & 127; + $and463 = $z$10320 + 1 & 127; + if (($and458 | 0) == ($z$10320 | 0)) { + HEAP32[$x + ($and463 + -1 << 2) >> 2] = 0; + $z$11 = $and463; + } else $z$11 = $z$10320; + $y$0321 = $y$0321 * 1.0e9 + +((HEAP32[$x + ($and458 << 2) >> 2] | 0) >>> 0); + $i$4322 = $i$4322 + 1 | 0; + if (($i$4322 | 0) == 2) break; else $z$10320 = $z$11; + } + $conv476 = +($sign | 0); + $mul477 = $y$0321 * $conv476; + $add478 = $e2$1 + 53 | 0; + $sub479 = $add478 - $emin | 0; + $cmp480 = ($sub479 | 0) < ($bits | 0); + $bits$addr$0 = $cmp480 ? (($sub479 | 0) > 0 ? $sub479 : 0) : $bits; + if (($bits$addr$0 | 0) < 53) { + $call496 = +_copysignl(+_scalbn(1.0, 105 - $bits$addr$0 | 0), $mul477); + $call499 = +_fmodl($mul477, +_scalbn(1.0, 53 - $bits$addr$0 | 0)); + $bias$0 = $call496; + $frac$0 = $call499; + $y$1 = $call496 + ($mul477 - $call499); } else { - $$0355 = 0.0; - $$0356 = 0.0; - $$1361 = $319; - } - $334 = $$5350 + 2 & 127; - if (($334 | 0) != ($$11 | 0)) { - $337 = HEAP32[$6 + ($334 << 2) >> 2] | 0; - do if ($337 >>> 0 >= 5e8) { - if (($337 | 0) != 5e8) { - $$1357 = $318 * .75 + $$0356; + $bias$0 = 0.0; + $frac$0 = 0.0; + $y$1 = $mul477; + } + $and504 = $a$5 + 2 & 127; + if (($and504 | 0) != ($z$11 | 0)) { + $104 = HEAP32[$x + ($and504 << 2) >> 2] | 0; + do if ($104 >>> 0 >= 5e8) { + if (($104 | 0) != 5e8) { + $frac$1 = $conv476 * .75 + $frac$0; break; } - if (($$5350 + 3 & 127 | 0) == ($$11 | 0)) { - $$1357 = $318 * .5 + $$0356; + if (($a$5 + 3 & 127 | 0) == ($z$11 | 0)) { + $frac$1 = $conv476 * .5 + $frac$0; break; } else { - $$1357 = $318 * .75 + $$0356; + $frac$1 = $conv476 * .75 + $frac$0; break; } } else { - if (($337 | 0) == 0 ? ($$5350 + 3 & 127 | 0) == ($$11 | 0) : 0) { - $$1357 = $$0356; + if (($104 | 0) == 0 ? ($a$5 + 3 & 127 | 0) == ($z$11 | 0) : 0) { + $frac$1 = $frac$0; break; } - $$1357 = $318 * .25 + $$0356; + $frac$1 = $conv476 * .25 + $frac$0; } while (0); - if ((53 - $$0328 | 0) > 1 ? !(+_fmodl($$1357, 1.0) != 0.0) : 0) $$3359 = $$1357 + 1.0; else $$3359 = $$1357; - } else $$3359 = $$0356; - $361 = $$1361 + $$3359 - $$0355; - do if (($320 & 2147483647 | 0) > (-2 - $7 | 0)) { - $366 = !(+Math_abs(+$361) >= 9007199254740992.0); - $$3379 = $$1377 + (($366 ^ 1) & 1) | 0; - $$2362 = $366 ? $361 : $361 * .5; - if (($$3379 + 50 | 0) <= ($8 | 0) ? !($$3359 != 0.0 & ($322 & (($$0328 | 0) != ($321 | 0) | $366))) : 0) { - $$3363 = $$2362; - $$4380 = $$3379; - break; - } - $373 = ___errno_location() | 0; - HEAP32[$373 >> 2] = 68; - $$3363 = $$2362; - $$4380 = $$3379; + if ((53 - $bits$addr$0 | 0) > 1 ? !(+_fmodl($frac$1, 1.0) != 0.0) : 0) $frac$3 = $frac$1 + 1.0; else $frac$3 = $frac$1; + } else $frac$3 = $frac$0; + $sub564 = $y$1 + $frac$3 - $bias$0; + do if (($add478 & 2147483647 | 0) > (-2 - $0 | 0)) { + $cmp572 = !(+Math_abs(+$sub564) >= 9007199254740992.0); + $e2$3 = $e2$1 + (($cmp572 ^ 1) & 1) | 0; + $y$2 = $cmp572 ? $sub564 : $sub564 * .5; + if (($e2$3 + 50 | 0) <= ($sub1 | 0) ? !($frac$3 != 0.0 & ($cmp480 & (($bits$addr$0 | 0) != ($sub479 | 0) | $cmp572))) : 0) { + $e2$4 = $e2$3; + $y$3 = $y$2; + break; + } + $call594 = ___errno_location() | 0; + HEAP32[$call594 >> 2] = 68; + $e2$4 = $e2$3; + $y$3 = $y$2; } else { - $$3363 = $361; - $$4380 = $$1377; + $e2$4 = $e2$1; + $y$3 = $sub564; } while (0); - $$1 = +_scalbnl($$3363, $$4380); + $retval$1 = +_scalbnl($y$3, $e2$4); } while (0); STACKTOP = sp; - return +$$1; -} - -function _arDetectMarker($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $$0440 = 0, $$0442 = 0, $$0447 = 0, $$0452 = 0, $$0456 = 0, $$0458 = 0.0, $$0462 = 0.0, $$0464 = 0.0, $$1441 = 0, $$1443 = 0, $$1448 = 0, $$1453 = 0, $$1457 = 0, $$1459 = 0.0, $$1463 = 0.0, $$1465 = 0.0, $$2444 = 0, $$2449 = 0, $$2454 = 0, $$2460 = 0.0, $$3445 = 0, $$3450 = 0, $$3455 = 0, $$4 = 0, $$4446 = 0, $$4451 = 0, $$5 = 0, $$6 = 0, $$pre$phi495Z2D = 0, $$pre$phi501Z2D = 0, $$pre$phi503Z2D = 0, $$pre$phi505Z2D = 0, $$pre$phiZ2D = 0, $$pre486 = 0, $$pre487 = 0, $$pre488 = 0, $10 = 0, $100 = 0, $11 = 0, $111 = 0, $112 = 0, $114 = 0, $116 = 0, $119 = 0, $127 = 0, $129 = 0, $131 = 0, $132 = 0, $137 = 0, $139 = 0, $14 = 0, $145 = 0, $148 = 0, $15 = 0, $159 = 0, $16 = 0, $161 = 0, $168 = 0, $170 = 0, $176 = 0, $177 = 0, $18 = 0, $2 = 0, $20 = 0, $201 = 0, $204 = 0, $205 = 0, $206 = 0, $208 = 0, $209 = 0, $210 = 0, $211 = 0, $217 = 0.0, $218 = 0.0, $22 = 0, $224 = 0.0, $229 = 0.0, $232 = 0.0, $236 = 0, $237 = 0, $240 = 0.0, $243 = 0, $245 = 0, $249 = 0, $252 = 0.0, $258 = 0.0, $26 = 0, $27 = 0, $276 = 0, $279 = 0.0, $28 = 0, $281 = 0, $284 = 0.0, $289 = 0.0, $29 = 0, $296 = 0, $299 = 0.0, $3 = 0, $30 = 0, $305 = 0.0, $31 = 0, $310 = 0, $314 = 0, $32 = 0, $326 = 0, $327 = 0, $33 = 0, $336 = 0, $338 = 0, $34 = 0, $341 = 0, $348 = 0, $35 = 0, $355 = 0, $356 = 0, $357 = 0, $358 = 0, $36 = 0, $360 = 0, $365 = 0.0, $366 = 0.0, $37 = 0, $372 = 0.0, $377 = 0.0, $38 = 0, $386 = 0, $388 = 0, $389 = 0, $39 = 0, $390 = 0, $40 = 0, $6 = 0, $7 = 0, $77 = 0, $79 = 0, $8 = 0, $80 = 0, $82 = 0, $83 = 0, $85 = 0, $86 = 0, $88 = 0, $91 = 0, $94 = 0, $97 = 0, $99 = 0, $spec$select = 0, $storemerge = 0, $storemerge466 = 0, $vararg_buffer = 0, $vararg_buffer6 = 0, $vararg_buffer9 = 0, label = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 64 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(64); - $vararg_buffer9 = sp + 32 | 0; - $vararg_buffer6 = sp + 24 | 0; - $vararg_buffer = sp; - $2 = sp + 52 | 0; - $3 = sp + 40 | 0; - L1 : do if (($0 | 0) != 0 & ($1 | 0) != 0) { - $6 = $0 + 44 | 0; - HEAP32[$6 >> 2] = 0; - $7 = $0 + 7062388 | 0; - $8 = HEAP32[$7 >> 2] | 0; - L3 : do if (($8 | 0) == 4) { - $10 = $0 + 7062396 | 0; - $11 = HEAP32[$10 >> 2] | 0; - do if (($11 | 0) > 0) HEAP32[$10 >> 2] = $11 + -1; else { - $14 = $0 + 16 | 0; - $15 = HEAP32[$14 >> 2] | 0; - $16 = $0 + 7062400 | 0; - $18 = (HEAP32[$16 >> 2] | 0) + $15 | 0; - $spec$select = ($18 | 0) < 255 ? $18 : 255; - HEAP32[$2 >> 2] = $spec$select; - $20 = $0 + 7062404 | 0; - $22 = $15 - (HEAP32[$20 >> 2] | 0) | 0; - $storemerge466 = ($22 | 0) > 0 ? $22 : 0; - HEAP32[$2 + 4 >> 2] = $storemerge466; - HEAP32[$2 + 8 >> 2] = $15; - $26 = $1 + 12 | 0; - $27 = $0 + 36 | 0; - $28 = $0 + 40 | 0; - $29 = $0 + 12 | 0; - $30 = $0 + 20 | 0; - $31 = $0 + 4834144 | 0; - $32 = $0 + 15416 | 0; - $33 = $0 + 15408 | 0; - $34 = $0 + 4 | 0; - $35 = $0 + 7062384 | 0; - $36 = $0 + 24 | 0; - $37 = $0 + 32 | 0; - $38 = $0 + 7062416 | 0; - $39 = $0 + 48 | 0; - $40 = $0 + 7062424 | 0; - $$0447 = 0; - while (1) { - if ($$0447 >>> 0 >= 3) break; - if ((_arLabeling(HEAP32[$26 >> 2] | 0, HEAP32[$27 >> 2] | 0, HEAP32[$28 >> 2] | 0, HEAP32[$0 >> 2] | 0, HEAP32[$29 >> 2] | 0, HEAP32[$2 + ($$0447 << 2) >> 2] | 0, HEAP32[$30 >> 2] | 0, $31, 0) | 0) < 0) { - label = 29; - break; - } - if ((_arDetectMarker2(HEAP32[$27 >> 2] | 0, HEAP32[$28 >> 2] | 0, $31, HEAP32[$30 >> 2] | 0, 1e6, 70, 1.0, $32, $33) | 0) < 0) { - label = 29; - break; - } - if ((_arGetMarkerInfo(HEAP32[$1 >> 2] | 0, HEAP32[$27 >> 2] | 0, HEAP32[$28 >> 2] | 0, HEAP32[$34 >> 2] | 0, $32, HEAP32[$33 >> 2] | 0, HEAP32[$35 >> 2] | 0, HEAP32[$30 >> 2] | 0, HEAP32[$36 >> 2] | 0, (HEAP32[$37 >> 2] | 0) + 184 | 0, +HEAPF64[$38 >> 3], $39, $6, HEAP32[$40 >> 2] | 0) | 0) < 0) { - label = 29; - break; - } - HEAP32[$3 + ($$0447 << 2) >> 2] = HEAP32[$6 >> 2]; - $$0447 = $$0447 + 1 | 0; - } - if ((label | 0) == 29) { - $$4 = -1; - break L1; - } - if ((HEAP32[$0 >> 2] | 0) == 1) { - $77 = HEAP32[$3 + 4 >> 2] | 0; - $79 = HEAP32[$3 + 8 >> 2] | 0; - $80 = HEAP32[$3 >> 2] | 0; - HEAP32[$vararg_buffer >> 2] = $storemerge466; - HEAP32[$vararg_buffer + 4 >> 2] = $77; - HEAP32[$vararg_buffer + 8 >> 2] = $15; - HEAP32[$vararg_buffer + 12 >> 2] = $79; - HEAP32[$vararg_buffer + 16 >> 2] = $spec$select; - HEAP32[$vararg_buffer + 20 >> 2] = $80; - _arLog(0, 3, 24030, $vararg_buffer); - $82 = $80; - $83 = $79; - } else { - $82 = HEAP32[$3 >> 2] | 0; - $83 = HEAP32[$3 + 8 >> 2] | 0; - } - $$pre486 = HEAP32[$3 + 4 >> 2] | 0; - if (($82 | 0) > ($83 | 0) | ($$pre486 | 0) > ($83 | 0)) { - $99 = ($82 | 0) < ($$pre486 | 0) ? $storemerge466 : $spec$select; - HEAP32[$14 >> 2] = $99; - $100 = $99 - $15 | 0; - if (($100 | 0) > 0) { - HEAP32[$16 >> 2] = $100; - $storemerge = 1; - } else { - HEAP32[$16 >> 2] = 1; - $storemerge = 0 - $100 | 0; - } - HEAP32[$20 >> 2] = $storemerge; - if ((HEAP32[$0 >> 2] | 0) == 1) { - HEAP32[$vararg_buffer6 >> 2] = $99; - _arLog(0, 3, 24106, $vararg_buffer6); - HEAP32[$10 >> 2] = HEAP32[$0 + 7062392 >> 2]; - break; - } else { - HEAP32[$10 >> 2] = HEAP32[$0 + 7062392 >> 2]; - break; - } - } - $85 = HEAP32[$16 >> 2] | 0; - $86 = HEAP32[$20 >> 2] | 0; - do if (($85 | 0) >= ($86 | 0)) if (($85 | 0) > ($86 | 0)) { - HEAP32[$20 >> 2] = $86 + 1; - $94 = $85; - break; - } else { - $91 = $85 + 1 | 0; - HEAP32[$16 >> 2] = $91; - HEAP32[$20 >> 2] = $86 + 1; - $94 = $91; - break; - } else { - $88 = $85 + 1 | 0; - HEAP32[$16 >> 2] = $88; - $94 = $88; - } while (0); - if (($94 + $15 | 0) > 254) { - HEAP32[$16 >> 2] = 1; - $97 = 1; - } else $97 = $94; - if (($15 | 0) <= ($97 | 0)) HEAP32[$20 >> 2] = 1; - HEAP32[$10 >> 2] = HEAP32[$0 + 7062392 >> 2]; - break L3; - } while (0); - $111 = HEAP32[$7 >> 2] | 0; - label = 33; - } else { - $111 = $8; - label = 33; - } while (0); - if ((label | 0) == 33) { - L47 : do switch ($111 | 0) { - case 3: - { - $112 = $0 + 7062408 | 0; - $114 = $1 + 12 | 0; - $116 = _arImageProcLumaHistAndBoxFilterWithBias(HEAP32[$112 >> 2] | 0, HEAP32[$114 >> 2] | 0, 9, -7) | 0; - if (($116 | 0) < 0) { - $$4 = $116; - break L1; - } - $119 = HEAP32[$112 >> 2] | 0; - $127 = $0 + 4834144 | 0; - $129 = _arLabeling(HEAP32[$114 >> 2] | 0, HEAP32[$119 + 4 >> 2] | 0, HEAP32[$119 + 8 >> 2] | 0, HEAP32[$0 >> 2] | 0, HEAP32[$0 + 12 >> 2] | 0, 0, 0, $127, HEAP32[$119 >> 2] | 0) | 0; - if (($129 | 0) < 0) { - $$4 = $129; - break L1; - } - $$pre$phi501Z2D = $0 + 36 | 0; - $$pre$phi503Z2D = $0 + 40 | 0; - $$pre$phi505Z2D = $0 + 20 | 0; - $$pre$phiZ2D = $127; - break; - } - case 2: - case 1: - { - $131 = $0 + 7062396 | 0; - $132 = HEAP32[$131 >> 2] | 0; - if (($132 | 0) > 0) { - HEAP32[$131 >> 2] = $132 + -1; - label = 48; - break L47; - } - $137 = HEAP32[$0 + 7062408 >> 2] | 0; - $139 = HEAP32[$1 + 12 >> 2] | 0; - if (($111 | 0) == 1) $$0 = _arImageProcLumaHistAndCDFAndMedian($137, $139, $2) | 0; else $$0 = _arImageProcLumaHistAndOtsu($137, $139, $2) | 0; - if (($$0 | 0) < 0) { - $$4 = $$0; - break L1; - } - $145 = $0 + 16 | 0; - if ((HEAP32[$0 >> 2] | 0) == 1 ? ($148 = HEAPU8[$2 >> 0] | 0, (HEAP32[$145 >> 2] | 0) != ($148 | 0)) : 0) { - HEAP32[$vararg_buffer9 >> 2] = (HEAP32[$7 >> 2] | 0) == 1 ? 24158 : 24165; - HEAP32[$vararg_buffer9 + 4 >> 2] = $148; - _arLog(0, 3, 24170, $vararg_buffer9); - } - HEAP32[$145 >> 2] = HEAPU8[$2 >> 0]; - HEAP32[$131 >> 2] = HEAP32[$0 + 7062392 >> 2]; - label = 48; - break; - } - default: - label = 48; - } while (0); - if ((label | 0) == 48) { - $159 = $0 + 36 | 0; - $161 = $0 + 40 | 0; - $168 = $0 + 20 | 0; - $170 = $0 + 4834144 | 0; - if ((_arLabeling(HEAP32[$1 + 12 >> 2] | 0, HEAP32[$159 >> 2] | 0, HEAP32[$161 >> 2] | 0, HEAP32[$0 >> 2] | 0, HEAP32[$0 + 12 >> 2] | 0, HEAP32[$0 + 16 >> 2] | 0, HEAP32[$168 >> 2] | 0, $170, 0) | 0) < 0) { - $$4 = -1; - break; - } else { - $$pre$phi501Z2D = $159; - $$pre$phi503Z2D = $161; - $$pre$phi505Z2D = $168; - $$pre$phiZ2D = $170; - } - } - $176 = $0 + 15416 | 0; - $177 = $0 + 15408 | 0; - if ((_arDetectMarker2(HEAP32[$$pre$phi501Z2D >> 2] | 0, HEAP32[$$pre$phi503Z2D >> 2] | 0, $$pre$phiZ2D, HEAP32[$$pre$phi505Z2D >> 2] | 0, 1e6, 70, 1.0, $176, $177) | 0) < 0) { - $$4 = -1; - break; - } - if ((_arGetMarkerInfo(HEAP32[$1 >> 2] | 0, HEAP32[$$pre$phi501Z2D >> 2] | 0, HEAP32[$$pre$phi503Z2D >> 2] | 0, HEAP32[$0 + 4 >> 2] | 0, $176, HEAP32[$177 >> 2] | 0, HEAP32[$0 + 7062384 >> 2] | 0, HEAP32[$$pre$phi505Z2D >> 2] | 0, HEAP32[$0 + 24 >> 2] | 0, (HEAP32[$0 + 32 >> 2] | 0) + 184 | 0, +HEAPF64[$0 + 7062416 >> 3], $0 + 48 | 0, $6, HEAP32[$0 + 7062424 >> 2] | 0) | 0) < 0) { - $$4 = -1; - break; - } - } - $201 = $0 + 28 | 0; - if ((HEAP32[$201 >> 2] | 0) == 1) { - _confidenceCutoff($0); - $$4 = 0; - break; - } - $204 = $0 + 4818296 | 0; - $205 = HEAP32[$204 >> 2] | 0; - $206 = $0 + 24 | 0; - $$1448 = 0; - while (1) { - if (($$1448 | 0) >= ($205 | 0)) break; - $208 = HEAP32[$6 >> 2] | 0; - $209 = $0 + 4818304 + ($$1448 * 264 | 0) | 0; - $210 = $0 + 4818304 + ($$1448 * 264 | 0) + 56 | 0; - $211 = $0 + 4818304 + ($$1448 * 264 | 0) + 64 | 0; - $$0442 = 0; - $$0456 = -1; - $$0464 = .5; - while (1) { - if (($$0442 | 0) >= ($208 | 0)) break; - $217 = +(HEAP32[$0 + 48 + ($$0442 << 8) >> 2] | 0); - $218 = +(HEAP32[$209 >> 2] | 0) / $217; - if (!($218 < .7 | $218 > 1.43) ? ($224 = +HEAPF64[$0 + 48 + ($$0442 << 8) + 56 >> 3] - +HEAPF64[$210 >> 3], $229 = +HEAPF64[$0 + 48 + ($$0442 << 8) + 64 >> 3] - +HEAPF64[$211 >> 3], $232 = ($224 * $224 + $229 * $229) / $217, $232 < $$0464) : 0) { - $$1457 = $$0442; - $$1465 = $232; - } else { - $$1457 = $$0456; - $$1465 = $$0464; - } - $$0442 = $$0442 + 1 | 0; - $$0456 = $$1457; - $$0464 = $$1465; - } - L85 : do if (($$0456 | 0) > -1) { - $236 = HEAP32[$206 >> 2] | 0; - switch ($236 | 0) { - case 2: - case 1: - case 0: - break; - case 4: - case 3: - { - $276 = $0 + 48 + ($$0456 << 8) + 40 | 0; - $279 = +HEAPF64[$0 + 4818304 + ($$1448 * 264 | 0) + 40 >> 3]; - if (!(+HEAPF64[$276 >> 3] < $279)) { - $281 = $0 + 48 + ($$0456 << 8) + 48 | 0; - $284 = +HEAPF64[$0 + 4818304 + ($$1448 * 264 | 0) + 48 >> 3]; - if (+HEAPF64[$281 >> 3] < $284) { - $$pre$phi495Z2D = $281; - $289 = $284; - } else break L85; - } else { - $$pre$phi495Z2D = $0 + 48 + ($$0456 << 8) + 48 | 0; - $289 = +HEAPF64[$0 + 4818304 + ($$1448 * 264 | 0) + 48 >> 3]; - } - HEAPF64[$276 >> 3] = $279; - HEAP32[$0 + 48 + ($$0456 << 8) + 8 >> 2] = HEAP32[$0 + 4818304 + ($$1448 * 264 | 0) + 8 >> 2]; - HEAPF64[$$pre$phi495Z2D >> 3] = $289; - HEAP32[$0 + 48 + ($$0456 << 8) + 12 >> 2] = HEAP32[$0 + 4818304 + ($$1448 * 264 | 0) + 12 >> 2]; - $$2444 = 0; - $$2454 = -1; - $$2460 = 1.0e8; - while (1) { - if (($$2444 | 0) == 4) break; - $$1441 = 0; - $$1463 = 0.0; - while (1) { - if (($$1441 | 0) == 4) break; - $296 = $$1441 + $$2444 & 3; - $299 = +HEAPF64[$0 + 4818304 + ($$1448 * 264 | 0) + 168 + ($$1441 << 4) >> 3] - +HEAPF64[$0 + 48 + ($$0456 << 8) + 168 + ($296 << 4) >> 3]; - $305 = +HEAPF64[$0 + 4818304 + ($$1448 * 264 | 0) + 168 + ($$1441 << 4) + 8 >> 3] - +HEAPF64[$0 + 48 + ($$0456 << 8) + 168 + ($296 << 4) + 8 >> 3]; - $$1441 = $$1441 + 1 | 0; - $$1463 = $$1463 + ($299 * $299 + $305 * $305); - } - $310 = $$1463 < $$2460; - $$3455 = $310 ? $$2444 : $$2454; - $$2444 = $$2444 + 1 | 0; - $$2454 = $$3455; - $$2460 = $310 ? $$1463 : $$2460; - } - $314 = 4 - $$2454 | 0; - HEAP32[$0 + 48 + ($$0456 << 8) + 20 >> 2] = ($314 + (HEAP32[$0 + 4818304 + ($$1448 * 264 | 0) + 20 >> 2] | 0) | 0) % 4 | 0; - HEAP32[$0 + 48 + ($$0456 << 8) + 24 >> 2] = ($314 + (HEAP32[$0 + 4818304 + ($$1448 * 264 | 0) + 24 >> 2] | 0) | 0) % 4 | 0; - break L85; - break; - } - default: - { - $$4 = -1; - break L1; - } - } - $237 = $0 + 48 + ($$0456 << 8) + 32 | 0; - $240 = +HEAPF64[$0 + 4818304 + ($$1448 * 264 | 0) + 32 >> 3]; - if (+HEAPF64[$237 >> 3] < $240) { - HEAPF64[$237 >> 3] = $240; - $243 = HEAP32[$0 + 4818304 + ($$1448 * 264 | 0) + 4 >> 2] | 0; - HEAP32[$0 + 48 + ($$0456 << 8) + 4 >> 2] = $243; - $245 = $0 + 4818304 + ($$1448 * 264 | 0) + 16 | 0; - $$0452 = -1; - $$0458 = 1.0e8; - $$1443 = 0; - while (1) { - if (($$1443 | 0) == 4) break; - $$0440 = 0; - $$0462 = 0.0; - while (1) { - if (($$0440 | 0) == 4) break; - $249 = $$0440 + $$1443 & 3; - $252 = +HEAPF64[$0 + 4818304 + ($$1448 * 264 | 0) + 168 + ($$0440 << 4) >> 3] - +HEAPF64[$0 + 48 + ($$0456 << 8) + 168 + ($249 << 4) >> 3]; - $258 = +HEAPF64[$0 + 4818304 + ($$1448 * 264 | 0) + 168 + ($$0440 << 4) + 8 >> 3] - +HEAPF64[$0 + 48 + ($$0456 << 8) + 168 + ($249 << 4) + 8 >> 3]; - $$0440 = $$0440 + 1 | 0; - $$0462 = $$0462 + ($252 * $252 + $258 * $258); - } - if ($$0462 < $$0458) { - $$1453 = (4 - $$1443 + (HEAP32[$245 >> 2] | 0) | 0) % 4 | 0; - $$1459 = $$0462; - } else { - $$1453 = $$0452; - $$1459 = $$0458; - } - $$0452 = $$1453; - $$0458 = $$1459; - $$1443 = $$1443 + 1 | 0; - } - HEAP32[$0 + 48 + ($$0456 << 8) + 16 >> 2] = $$0452; - if ($236 >>> 0 < 2) { - HEAP32[$0 + 48 + ($$0456 << 8) + 8 >> 2] = $243; - HEAPF64[$0 + 48 + ($$0456 << 8) + 40 >> 3] = $240; - HEAP32[$0 + 48 + ($$0456 << 8) + 20 >> 2] = $$0452; - break; - } else { - HEAP32[$0 + 48 + ($$0456 << 8) + 12 >> 2] = $243; - HEAPF64[$0 + 48 + ($$0456 << 8) + 48 >> 3] = $240; - HEAP32[$0 + 48 + ($$0456 << 8) + 24 >> 2] = $$0452; - break; - } - } - } while (0); - $$1448 = $$1448 + 1 | 0; - } - _confidenceCutoff($0); - $$2449 = 0; - $$3445 = 0; - while (1) { - if (($$2449 | 0) >= (HEAP32[$204 >> 2] | 0)) break; - $326 = $0 + 4818304 + ($$2449 * 264 | 0) + 256 | 0; - $327 = HEAP32[$326 >> 2] | 0; - HEAP32[$326 >> 2] = $327 + 1; - if (($327 | 0) < 3) { - if (($$2449 | 0) != ($$3445 | 0)) _memcpy($0 + 4818304 + ($$3445 * 264 | 0) | 0, $0 + 4818304 + ($$2449 * 264 | 0) | 0, 264) | 0; - $$4446 = $$3445 + 1 | 0; - } else $$4446 = $$3445; - $$2449 = $$2449 + 1 | 0; - $$3445 = $$4446; - } - HEAP32[$204 >> 2] = $$3445; - $$pre487 = HEAP32[$6 >> 2] | 0; - $$3450 = 0; - $341 = $$3445; - while (1) { - if (($$3450 | 0) >= ($$pre487 | 0)) break; - $336 = $0 + 48 + ($$3450 << 8) | 0; - $338 = HEAP32[$0 + 48 + ($$3450 << 8) + 4 >> 2] | 0; - if (($338 | 0) < 0) $388 = $341; else { - $$5 = 0; - while (1) { - if (($$5 | 0) >= ($341 | 0)) break; - if ((HEAP32[$0 + 4818304 + ($$5 * 264 | 0) + 4 >> 2] | 0) == ($338 | 0)) break; - $$5 = $$5 + 1 | 0; - } - if (($$5 | 0) == ($341 | 0)) { - if (($341 | 0) == 60) break; - $348 = $341 + 1 | 0; - HEAP32[$204 >> 2] = $348; - $389 = $348; - } else $389 = $341; - _memcpy($0 + 4818304 + ($$5 * 264 | 0) | 0, $336 | 0, 256) | 0; - HEAP32[$0 + 4818304 + ($$5 * 264 | 0) + 256 >> 2] = 1; - $388 = $389; - } - $$3450 = $$3450 + 1 | 0; - $341 = $388; - } - if ((HEAP32[$201 >> 2] | 0) == 2) $$4 = 0; else { - $$4451 = 0; - $355 = $341; - $360 = $$pre487; - while (1) { - if (($$4451 | 0) >= ($355 | 0)) { - $$4 = 0; - break L1; - } - $356 = $0 + 4818304 + ($$4451 * 264 | 0) | 0; - $357 = $0 + 4818304 + ($$4451 * 264 | 0) + 56 | 0; - $358 = $0 + 4818304 + ($$4451 * 264 | 0) + 64 | 0; - $$6 = 0; - while (1) { - if (($$6 | 0) >= ($360 | 0)) break; - $365 = +(HEAP32[$0 + 48 + ($$6 << 8) >> 2] | 0); - $366 = +(HEAP32[$356 >> 2] | 0) / $365; - if (!($366 < .7 | $366 > 1.43) ? ($372 = +HEAPF64[$0 + 48 + ($$6 << 8) + 56 >> 3] - +HEAPF64[$357 >> 3], $377 = +HEAPF64[$0 + 48 + ($$6 << 8) + 64 >> 3] - +HEAPF64[$358 >> 3], ($372 * $372 + $377 * $377) / $365 < .5) : 0) break; - $$6 = $$6 + 1 | 0; - } - if (($$6 | 0) == ($360 | 0)) { - _memcpy($0 + 48 + ($360 << 8) | 0, $0 + 4818304 + ($$4451 * 264 | 0) | 0, 256) | 0; - $386 = $360 + 1 | 0; - HEAP32[$6 >> 2] = $386; - $$pre488 = HEAP32[$204 >> 2] | 0; - $390 = $386; - } else { - $$pre488 = $355; - $390 = $360; - } - $$4451 = $$4451 + 1 | 0; - $355 = $$pre488; - $360 = $390; - } - } - } else $$4 = -1; while (0); - STACKTOP = sp; - return $$4 | 0; + return +$retval$1; } -function _printf_core($0, $1, $2, $3, $4, $5, $6) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - $6 = $6 | 0; - var $$0 = 0, $$0231 = 0, $$0232336 = 0, $$0234 = 0, $$0237 = 0, $$0239 = 0, $$0242315 = 0, $$0242315373 = 0, $$0242335 = 0, $$0245 = 0, $$0245$ph = 0, $$0245$ph$be = 0, $$0249 = 0, $$0249$ph = 0, $$0251$lcssa = 0, $$0251323 = 0, $$0254 = 0, $$0255 = 0, $$0256 = 0, $$0261 = 0, $$0264$lcssa = 0, $$0264330 = 0, $$0271$ph = 0, $$1 = 0, $$1233342 = 0, $$1235 = 0, $$1238 = 0, $$1240 = 0, $$1243341 = 0, $$1250 = 0, $$1257 = 0, $$1262 = 0, $$1265 = 0, $$1272 = 0, $$2236 = 0, $$2241 = 0, $$2244322 = 0, $$2258 = 0, $$2263 = 0, $$2273 = 0, $$3267 = 0, $$3274 = 0, $$3319 = 0, $$4260372 = 0, $$4268 = 0, $$5 = 0, $$6270 = 0, $$lcssa310 = 0, $$pre$phiZ2D = 0, $$pre362 = 0, $$pre365 = 0, $$sink = 0, $10 = 0, $104 = 0, $105 = 0, $108 = 0, $11 = 0, $111 = 0, $114 = 0, $116 = 0, $12 = 0, $124 = 0, $128 = 0, $13 = 0, $139 = 0, $14 = 0, $143 = 0, $15 = 0, $150 = 0, $151 = 0, $153 = 0, $154 = 0, $156 = 0, $16 = 0, $165 = 0, $166 = 0, $171 = 0, $174 = 0, $179 = 0, $180 = 0, $185 = 0, $187 = 0, $194 = 0, $195 = 0, $20 = 0, $206 = 0, $218 = 0, $22 = 0, $225 = 0, $23 = 0, $232 = 0, $233 = 0, $246 = 0, $25 = 0, $252 = 0, $256 = 0, $26 = 0, $260 = 0, $262 = 0, $265 = 0, $267 = 0, $268 = 0, $269 = 0, $27 = 0, $279 = 0, $280 = 0, $284 = 0, $29 = 0, $292 = 0, $298 = 0, $307 = 0, $309 = 0, $310 = 0, $311 = 0, $32 = 0, $324 = 0, $326 = 0, $327 = 0, $331 = 0, $335 = 0, $337 = 0, $348 = 0, $350 = 0, $357 = 0, $360 = 0, $367 = 0, $368 = 0, $45 = 0, $53 = 0, $54 = 0, $56 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $7 = 0, $78 = 0, $8 = 0, $82 = 0, $9 = 0, $or$cond = 0, $or$cond280 = 0, $spec$select = 0, $spec$select286 = 0, $storemerge275$lcssa = 0, $storemerge275329 = 0, $storemerge276 = 0, label = 0, sp = 0, $156$looptemp = 0; +function _printf_core($f, $fmt, $ap, $nl_arg, $nl_type, $fmt_fp, $pop_arg_long_double) { + $f = $f | 0; + $fmt = $fmt | 0; + $ap = $ap | 0; + $nl_arg = $nl_arg | 0; + $nl_type = $nl_type | 0; + $fmt_fp = $fmt_fp | 0; + $pop_arg_long_double = $pop_arg_long_double | 0; + var $$lcssa213 = 0, $$pre261 = 0, $$pre263 = 0, $$sink = 0, $0 = 0, $1 = 0, $102 = 0, $103 = 0, $11 = 0, $112 = 0, $118 = 0, $12 = 0, $120 = 0, $122 = 0, $125 = 0, $127 = 0, $128 = 0, $129 = 0, $135 = 0, $136 = 0, $138 = 0, $14 = 0, $146 = 0, $154 = 0, $162 = 0, $164 = 0, $166 = 0, $2 = 0, $29 = 0, $3 = 0, $30 = 0, $33 = 0, $36 = 0, $4 = 0, $42 = 0, $51 = 0, $52 = 0, $55 = 0, $57 = 0, $59 = 0, $64 = 0, $65 = 0, $69 = 0, $71 = 0, $82 = 0, $92 = 0, $96 = 0, $a$0 = 0, $a$1 = 0, $add$ptr139 = 0, $add$ptr150 = 0, $add$ptr206 = 0, $add$ptr341 = 0, $add323 = 0, $add390 = 0, $add436 = 0, $and220 = 0, $arg = 0, $argpos$0 = 0, $arrayidx114 = 0, $arrayidx129 = 0, $arrayidx365 = 0, $arrayidx78 = 0, $buf = 0, $call = 0, $call104 = 0, $call160 = 0, $call351 = 0, $call379 = 0, $call406 = 0, $cmp185 = 0, $cmp380 = 0, $cmp97 = 0, $cnt$0 = 0, $cnt$0$ph = 0, $cnt$1 = 0, $cond = 0, $cond149 = 0, $cond350 = 0, $conv175 = 0, $conv208 = 0, $fl$0$lcssa = 0, $fl$0237 = 0, $fl$1 = 0, $fl$3 = 0, $fl$4 = 0, $fl$6 = 0, $i$0217 = 0, $i$0217271 = 0, $i$0243 = 0, $i$1248 = 0, $i$2224 = 0, $i$3221 = 0, $inc = 0, $incdec$ptr = 0, $incdec$ptr23 = 0, $incdec$ptr45 = 0, $incdec$ptr62 = 0, $l$0 = 0, $l$0$ph = 0, $l$0$ph$be = 0, $l10n$0$ph = 0, $l10n$1 = 0, $l10n$2 = 0, $l10n$3 = 0, $mb = 0, $or = 0, $or$cond = 0, $or$cond190 = 0, $p$0 = 0, $p$1 = 0, $p$2 = 0, $p$4269 = 0, $p$5 = 0, $pl$0 = 0, $pl$1 = 0, $pl$2 = 0, $prefix$0 = 0, $prefix$1 = 0, $prefix$2 = 0, $retval$0 = 0, $s = 0, $spec$select = 0, $spec$select195 = 0, $st$0 = 0, $storemerge187$lcssa = 0, $storemerge187236 = 0, $storemerge188 = 0, $sub$ptr$lhs$cast318 = 0, $sub$ptr$lhs$cast426$pre$phiZZZZ2D = 0, $sub$ptr$sub269 = 0, $sub$ptr$sub428 = 0, $sub49230 = 0, $sub49238 = 0, $t$0 = 0, $t$1 = 0, $tobool25 = 0, $tobool34 = 0, $tobool352 = 0, $w$0 = 0, $w$1 = 0, $w$2 = 0, $wc = 0, $ws$0244 = 0, $ws$1249 = 0, $z$0$lcssa = 0, $z$0226 = 0, label = 0, sp = 0, $55$looptemp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 64 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(64); - $7 = sp + 56 | 0; - $8 = sp + 40 | 0; - $9 = sp; - $10 = sp + 48 | 0; - $11 = sp + 60 | 0; - HEAP32[$7 >> 2] = $1; - $12 = ($0 | 0) != 0; - $13 = $9 + 40 | 0; - $14 = $13; - $15 = $9 + 39 | 0; - $16 = $10 + 4 | 0; - $$0245$ph = 0; - $$0249$ph = 0; - $$0271$ph = 0; + $s = sp + 56 | 0; + $arg = sp + 40 | 0; + $buf = sp; + $wc = sp + 48 | 0; + $mb = sp + 60 | 0; + HEAP32[$s >> 2] = $fmt; + $tobool25 = ($f | 0) != 0; + $add$ptr206 = $buf + 40 | 0; + $sub$ptr$lhs$cast318 = $add$ptr206; + $add$ptr341 = $buf + 39 | 0; + $arrayidx365 = $wc + 4 | 0; + $cnt$0$ph = 0; + $l$0$ph = 0; + $l10n$0$ph = 0; L1 : while (1) { - $$0245 = $$0245$ph; - $$0249 = $$0249$ph; + $cnt$0 = $cnt$0$ph; + $l$0 = $l$0$ph; while (1) { - do if (($$0249 | 0) > -1) if (($$0245 | 0) > (2147483647 - $$0249 | 0)) { - $20 = ___errno_location() | 0; - HEAP32[$20 >> 2] = 61; - $$1250 = -1; + do if (($cnt$0 | 0) > -1) if (($l$0 | 0) > (2147483647 - $cnt$0 | 0)) { + $call = ___errno_location() | 0; + HEAP32[$call >> 2] = 61; + $cnt$1 = -1; break; } else { - $$1250 = $$0245 + $$0249 | 0; + $cnt$1 = $l$0 + $cnt$0 | 0; break; - } else $$1250 = $$0249; while (0); - $22 = HEAP32[$7 >> 2] | 0; - $23 = HEAP8[$22 >> 0] | 0; - if (!($23 << 24 >> 24)) { + } else $cnt$1 = $cnt$0; while (0); + $0 = HEAP32[$s >> 2] | 0; + $1 = HEAP8[$0 >> 0] | 0; + if (!($1 << 24 >> 24)) { label = 92; break L1; } - $25 = $23; - $27 = $22; + $2 = $1; + $3 = $0; L12 : while (1) { - switch ($25 << 24 >> 24) { + switch ($2 << 24 >> 24) { case 37: { label = 10; @@ -20586,270 +20588,270 @@ function _printf_core($0, $1, $2, $3, $4, $5, $6) { } case 0: { - $$0251$lcssa = $27; + $z$0$lcssa = $3; break L12; break; } default: {} } - $26 = $27 + 1 | 0; - HEAP32[$7 >> 2] = $26; - $25 = HEAP8[$26 >> 0] | 0; - $27 = $26; + $incdec$ptr = $3 + 1 | 0; + HEAP32[$s >> 2] = $incdec$ptr; + $2 = HEAP8[$incdec$ptr >> 0] | 0; + $3 = $incdec$ptr; } L15 : do if ((label | 0) == 10) { label = 0; - $$0251323 = $27; - $29 = $27; + $4 = $3; + $z$0226 = $3; while (1) { - if ((HEAP8[$29 + 1 >> 0] | 0) != 37) { - $$0251$lcssa = $$0251323; + if ((HEAP8[$4 + 1 >> 0] | 0) != 37) { + $z$0$lcssa = $z$0226; break L15; } - $32 = $$0251323 + 1 | 0; - $29 = $29 + 2 | 0; - HEAP32[$7 >> 2] = $29; - if ((HEAP8[$29 >> 0] | 0) != 37) { - $$0251$lcssa = $32; + $incdec$ptr23 = $z$0226 + 1 | 0; + $4 = $4 + 2 | 0; + HEAP32[$s >> 2] = $4; + if ((HEAP8[$4 >> 0] | 0) != 37) { + $z$0$lcssa = $incdec$ptr23; break; - } else $$0251323 = $32; + } else $z$0226 = $incdec$ptr23; } } while (0); - $$0245 = $$0251$lcssa - $22 | 0; - if ($12) _out($0, $22, $$0245); - if (!$$0245) break; else $$0249 = $$1250; - } - $45 = (_isdigit(HEAP8[(HEAP32[$7 >> 2] | 0) + 1 >> 0] | 0) | 0) == 0; - $$pre362 = HEAP32[$7 >> 2] | 0; - if (!$45 ? (HEAP8[$$pre362 + 2 >> 0] | 0) == 36 : 0) { - $$0255 = (HEAP8[$$pre362 + 1 >> 0] | 0) + -48 | 0; - $$1272 = 1; + $l$0 = $z$0$lcssa - $0 | 0; + if ($tobool25) _out_779($f, $0, $l$0); + if (!$l$0) break; else $cnt$0 = $cnt$1; + } + $tobool34 = (_isdigit(HEAP8[(HEAP32[$s >> 2] | 0) + 1 >> 0] | 0) | 0) == 0; + $$pre261 = HEAP32[$s >> 2] | 0; + if (!$tobool34 ? (HEAP8[$$pre261 + 2 >> 0] | 0) == 36 : 0) { $$sink = 3; + $argpos$0 = (HEAP8[$$pre261 + 1 >> 0] | 0) + -48 | 0; + $l10n$1 = 1; } else { - $$0255 = -1; - $$1272 = $$0271$ph; $$sink = 1; - } - $53 = $$pre362 + $$sink | 0; - HEAP32[$7 >> 2] = $53; - $54 = HEAP8[$53 >> 0] | 0; - $56 = ($54 << 24 >> 24) + -32 | 0; - if ($56 >>> 0 > 31 | (1 << $56 & 75913 | 0) == 0) { - $$0264$lcssa = 0; - $$lcssa310 = $54; - $storemerge275$lcssa = $53; + $argpos$0 = -1; + $l10n$1 = $l10n$0$ph; + } + $incdec$ptr45 = $$pre261 + $$sink | 0; + HEAP32[$s >> 2] = $incdec$ptr45; + $11 = HEAP8[$incdec$ptr45 >> 0] | 0; + $sub49230 = ($11 << 24 >> 24) + -32 | 0; + if ($sub49230 >>> 0 > 31 | (1 << $sub49230 & 75913 | 0) == 0) { + $$lcssa213 = $11; + $fl$0$lcssa = 0; + $storemerge187$lcssa = $incdec$ptr45; } else { - $$0264330 = 0; - $62 = $56; - $storemerge275329 = $53; + $fl$0237 = 0; + $storemerge187236 = $incdec$ptr45; + $sub49238 = $sub49230; while (1) { - $63 = 1 << $62 | $$0264330; - $64 = $storemerge275329 + 1 | 0; - HEAP32[$7 >> 2] = $64; - $65 = HEAP8[$64 >> 0] | 0; - $62 = ($65 << 24 >> 24) + -32 | 0; - if ($62 >>> 0 > 31 | (1 << $62 & 75913 | 0) == 0) { - $$0264$lcssa = $63; - $$lcssa310 = $65; - $storemerge275$lcssa = $64; + $or = 1 << $sub49238 | $fl$0237; + $incdec$ptr62 = $storemerge187236 + 1 | 0; + HEAP32[$s >> 2] = $incdec$ptr62; + $12 = HEAP8[$incdec$ptr62 >> 0] | 0; + $sub49238 = ($12 << 24 >> 24) + -32 | 0; + if ($sub49238 >>> 0 > 31 | (1 << $sub49238 & 75913 | 0) == 0) { + $$lcssa213 = $12; + $fl$0$lcssa = $or; + $storemerge187$lcssa = $incdec$ptr62; break; } else { - $$0264330 = $63; - $storemerge275329 = $64; + $fl$0237 = $or; + $storemerge187236 = $incdec$ptr62; } } } - if ($$lcssa310 << 24 >> 24 == 42) { - if ((_isdigit(HEAP8[$storemerge275$lcssa + 1 >> 0] | 0) | 0) != 0 ? ($78 = HEAP32[$7 >> 2] | 0, (HEAP8[$78 + 2 >> 0] | 0) == 36) : 0) { - $82 = $78 + 1 | 0; - HEAP32[$4 + ((HEAP8[$82 >> 0] | 0) + -48 << 2) >> 2] = 10; - $$0261 = HEAP32[$3 + ((HEAP8[$82 >> 0] | 0) + -48 << 3) >> 2] | 0; - $$2273 = 1; - $storemerge276 = $78 + 3 | 0; + if ($$lcssa213 << 24 >> 24 == 42) { + if ((_isdigit(HEAP8[$storemerge187$lcssa + 1 >> 0] | 0) | 0) != 0 ? ($14 = HEAP32[$s >> 2] | 0, (HEAP8[$14 + 2 >> 0] | 0) == 36) : 0) { + $arrayidx78 = $14 + 1 | 0; + HEAP32[$nl_type + ((HEAP8[$arrayidx78 >> 0] | 0) + -48 << 2) >> 2] = 10; + $l10n$2 = 1; + $storemerge188 = $14 + 3 | 0; + $w$0 = HEAP32[$nl_arg + ((HEAP8[$arrayidx78 >> 0] | 0) + -48 << 3) >> 2] | 0; } else { - if ($$1272 | 0) { - $$0 = -1; + if ($l10n$1 | 0) { + $retval$0 = -1; break; } - if ($12) { - $104 = (HEAP32[$2 >> 2] | 0) + (4 - 1) & ~(4 - 1); - $105 = HEAP32[$104 >> 2] | 0; - HEAP32[$2 >> 2] = $104 + 4; - $367 = $105; - } else $367 = 0; - $$0261 = $367; - $$2273 = 0; - $storemerge276 = (HEAP32[$7 >> 2] | 0) + 1 | 0; - } - HEAP32[$7 >> 2] = $storemerge276; - $108 = ($$0261 | 0) < 0; - $$1262 = $108 ? 0 - $$0261 | 0 : $$0261; - $$1265 = $108 ? $$0264$lcssa | 8192 : $$0264$lcssa; - $$3274 = $$2273; - $114 = $storemerge276; + if ($tobool25) { + $29 = (HEAP32[$ap >> 2] | 0) + (4 - 1) & ~(4 - 1); + $30 = HEAP32[$29 >> 2] | 0; + HEAP32[$ap >> 2] = $29 + 4; + $cond = $30; + } else $cond = 0; + $l10n$2 = 0; + $storemerge188 = (HEAP32[$s >> 2] | 0) + 1 | 0; + $w$0 = $cond; + } + HEAP32[$s >> 2] = $storemerge188; + $cmp97 = ($w$0 | 0) < 0; + $33 = $storemerge188; + $fl$1 = $cmp97 ? $fl$0$lcssa | 8192 : $fl$0$lcssa; + $l10n$3 = $l10n$2; + $w$1 = $cmp97 ? 0 - $w$0 | 0 : $w$0; } else { - $111 = _getint($7) | 0; - if (($111 | 0) < 0) { - $$0 = -1; + $call104 = _getint_780($s) | 0; + if (($call104 | 0) < 0) { + $retval$0 = -1; break; } - $$1262 = $111; - $$1265 = $$0264$lcssa; - $$3274 = $$1272; - $114 = HEAP32[$7 >> 2] | 0; + $33 = HEAP32[$s >> 2] | 0; + $fl$1 = $fl$0$lcssa; + $l10n$3 = $l10n$1; + $w$1 = $call104; } - do if ((HEAP8[$114 >> 0] | 0) == 46) { - $116 = $114 + 1 | 0; - if ((HEAP8[$116 >> 0] | 0) != 42) { - HEAP32[$7 >> 2] = $116; - $154 = _getint($7) | 0; - $$0256 = $154; - $$pre365 = HEAP32[$7 >> 2] | 0; + do if ((HEAP8[$33 >> 0] | 0) == 46) { + $arrayidx114 = $33 + 1 | 0; + if ((HEAP8[$arrayidx114 >> 0] | 0) != 42) { + HEAP32[$s >> 2] = $arrayidx114; + $call160 = _getint_780($s) | 0; + $$pre263 = HEAP32[$s >> 2] | 0; + $p$0 = $call160; break; } - if (_isdigit(HEAP8[$114 + 2 >> 0] | 0) | 0 ? ($124 = HEAP32[$7 >> 2] | 0, (HEAP8[$124 + 3 >> 0] | 0) == 36) : 0) { - $128 = $124 + 2 | 0; - HEAP32[$4 + ((HEAP8[$128 >> 0] | 0) + -48 << 2) >> 2] = 10; - $139 = HEAP32[$3 + ((HEAP8[$128 >> 0] | 0) + -48 << 3) >> 2] | 0; - $143 = $124 + 4 | 0; - HEAP32[$7 >> 2] = $143; - $$0256 = $139; - $$pre365 = $143; + if (_isdigit(HEAP8[$33 + 2 >> 0] | 0) | 0 ? ($36 = HEAP32[$s >> 2] | 0, (HEAP8[$36 + 3 >> 0] | 0) == 36) : 0) { + $arrayidx129 = $36 + 2 | 0; + HEAP32[$nl_type + ((HEAP8[$arrayidx129 >> 0] | 0) + -48 << 2) >> 2] = 10; + $42 = HEAP32[$nl_arg + ((HEAP8[$arrayidx129 >> 0] | 0) + -48 << 3) >> 2] | 0; + $add$ptr139 = $36 + 4 | 0; + HEAP32[$s >> 2] = $add$ptr139; + $$pre263 = $add$ptr139; + $p$0 = $42; break; } - if ($$3274 | 0) { - $$0 = -1; + if ($l10n$3 | 0) { + $retval$0 = -1; break L1; } - if ($12) { - $150 = (HEAP32[$2 >> 2] | 0) + (4 - 1) & ~(4 - 1); - $151 = HEAP32[$150 >> 2] | 0; - HEAP32[$2 >> 2] = $150 + 4; - $368 = $151; - } else $368 = 0; - $153 = (HEAP32[$7 >> 2] | 0) + 2 | 0; - HEAP32[$7 >> 2] = $153; - $$0256 = $368; - $$pre365 = $153; + if ($tobool25) { + $51 = (HEAP32[$ap >> 2] | 0) + (4 - 1) & ~(4 - 1); + $52 = HEAP32[$51 >> 2] | 0; + HEAP32[$ap >> 2] = $51 + 4; + $cond149 = $52; + } else $cond149 = 0; + $add$ptr150 = (HEAP32[$s >> 2] | 0) + 2 | 0; + HEAP32[$s >> 2] = $add$ptr150; + $$pre263 = $add$ptr150; + $p$0 = $cond149; } else { - $$0256 = -1; - $$pre365 = $114; + $$pre263 = $33; + $p$0 = -1; } while (0); - $$0254 = 0; - $156 = $$pre365; + $55 = $$pre263; + $st$0 = 0; while (1) { - if (((HEAP8[$156 >> 0] | 0) + -65 | 0) >>> 0 > 57) { - $$0 = -1; + if (((HEAP8[$55 >> 0] | 0) + -65 | 0) >>> 0 > 57) { + $retval$0 = -1; break L1; } - $156$looptemp = $156; - $156 = $156 + 1 | 0; - HEAP32[$7 >> 2] = $156; - $165 = HEAP8[(HEAP8[$156$looptemp >> 0] | 0) + -65 + (6208 + ($$0254 * 58 | 0)) >> 0] | 0; - $166 = $165 & 255; - if (($166 + -1 | 0) >>> 0 >= 8) break; else $$0254 = $166; + $55$looptemp = $55; + $55 = $55 + 1 | 0; + HEAP32[$s >> 2] = $55; + $57 = HEAP8[(HEAP8[$55$looptemp >> 0] | 0) + -65 + (8192 + ($st$0 * 58 | 0)) >> 0] | 0; + $conv175 = $57 & 255; + if (($conv175 + -1 | 0) >>> 0 >= 8) break; else $st$0 = $conv175; } - if (!($165 << 24 >> 24)) { - $$0 = -1; + if (!($57 << 24 >> 24)) { + $retval$0 = -1; break; } - $171 = ($$0255 | 0) > -1; - do if ($165 << 24 >> 24 == 19) if ($171) { - $$0 = -1; + $cmp185 = ($argpos$0 | 0) > -1; + do if ($57 << 24 >> 24 == 19) if ($cmp185) { + $retval$0 = -1; break L1; } else label = 54; else { - if ($171) { - HEAP32[$4 + ($$0255 << 2) >> 2] = $166; - $174 = $3 + ($$0255 << 3) | 0; - $179 = HEAP32[$174 + 4 >> 2] | 0; - $180 = $8; - HEAP32[$180 >> 2] = HEAP32[$174 >> 2]; - HEAP32[$180 + 4 >> 2] = $179; + if ($cmp185) { + HEAP32[$nl_type + ($argpos$0 << 2) >> 2] = $conv175; + $59 = $nl_arg + ($argpos$0 << 3) | 0; + $64 = HEAP32[$59 + 4 >> 2] | 0; + $65 = $arg; + HEAP32[$65 >> 2] = HEAP32[$59 >> 2]; + HEAP32[$65 + 4 >> 2] = $64; label = 54; break; } - if (!$12) { - $$0 = 0; + if (!$tobool25) { + $retval$0 = 0; break L1; } - _pop_arg($8, $166, $2, $6); - $185 = HEAP32[$7 >> 2] | 0; + _pop_arg_782($arg, $conv175, $ap, $pop_arg_long_double); + $69 = HEAP32[$s >> 2] | 0; label = 55; } while (0); if ((label | 0) == 54) { label = 0; - if ($12) { - $185 = $156; + if ($tobool25) { + $69 = $55; label = 55; - } else $$0245$ph$be = 0; + } else $l$0$ph$be = 0; } L77 : do if ((label | 0) == 55) { label = 0; - $187 = HEAP8[$185 + -1 >> 0] | 0; - $$0237 = ($$0254 | 0) != 0 & ($187 & 15 | 0) == 3 ? $187 & -33 : $187; - $194 = $$1265 & -65537; - $spec$select = ($$1265 & 8192 | 0) == 0 ? $$1265 : $194; - L79 : do switch ($$0237 | 0) { + $conv208 = HEAP8[$69 + -1 >> 0] | 0; + $t$0 = ($st$0 | 0) != 0 & ($conv208 & 15 | 0) == 3 ? $conv208 & -33 : $conv208; + $and220 = $fl$1 & -65537; + $spec$select = ($fl$1 & 8192 | 0) == 0 ? $fl$1 : $and220; + L79 : do switch ($t$0 | 0) { case 110: { - switch (($$0254 & 255) << 24 >> 24) { + switch (($st$0 & 255) << 24 >> 24) { case 0: { - HEAP32[HEAP32[$8 >> 2] >> 2] = $$1250; - $$0245$ph$be = 0; + HEAP32[HEAP32[$arg >> 2] >> 2] = $cnt$1; + $l$0$ph$be = 0; break L77; break; } case 1: { - HEAP32[HEAP32[$8 >> 2] >> 2] = $$1250; - $$0245$ph$be = 0; + HEAP32[HEAP32[$arg >> 2] >> 2] = $cnt$1; + $l$0$ph$be = 0; break L77; break; } case 2: { - $206 = HEAP32[$8 >> 2] | 0; - HEAP32[$206 >> 2] = $$1250; - HEAP32[$206 + 4 >> 2] = (($$1250 | 0) < 0) << 31 >> 31; - $$0245$ph$be = 0; + $82 = HEAP32[$arg >> 2] | 0; + HEAP32[$82 >> 2] = $cnt$1; + HEAP32[$82 + 4 >> 2] = (($cnt$1 | 0) < 0) << 31 >> 31; + $l$0$ph$be = 0; break L77; break; } case 3: { - HEAP16[HEAP32[$8 >> 2] >> 1] = $$1250; - $$0245$ph$be = 0; + HEAP16[HEAP32[$arg >> 2] >> 1] = $cnt$1; + $l$0$ph$be = 0; break L77; break; } case 4: { - HEAP8[HEAP32[$8 >> 2] >> 0] = $$1250; - $$0245$ph$be = 0; + HEAP8[HEAP32[$arg >> 2] >> 0] = $cnt$1; + $l$0$ph$be = 0; break L77; break; } case 6: { - HEAP32[HEAP32[$8 >> 2] >> 2] = $$1250; - $$0245$ph$be = 0; + HEAP32[HEAP32[$arg >> 2] >> 2] = $cnt$1; + $l$0$ph$be = 0; break L77; break; } case 7: { - $218 = HEAP32[$8 >> 2] | 0; - HEAP32[$218 >> 2] = $$1250; - HEAP32[$218 + 4 >> 2] = (($$1250 | 0) < 0) << 31 >> 31; - $$0245$ph$be = 0; + $92 = HEAP32[$arg >> 2] | 0; + HEAP32[$92 >> 2] = $cnt$1; + HEAP32[$92 + 4 >> 2] = (($cnt$1 | 0) < 0) << 31 >> 31; + $l$0$ph$be = 0; break L77; break; } default: { - $$0245$ph$be = 0; + $l$0$ph$be = 0; break L77; } } @@ -20857,57 +20859,57 @@ function _printf_core($0, $1, $2, $3, $4, $5, $6) { } case 112: { - $$1238 = 120; - $$1257 = $$0256 >>> 0 > 8 ? $$0256 : 8; - $$3267 = $spec$select | 8; + $fl$3 = $spec$select | 8; + $p$1 = $p$0 >>> 0 > 8 ? $p$0 : 8; + $t$1 = 120; label = 67; break; } case 88: case 120: { - $$1238 = $$0237; - $$1257 = $$0256; - $$3267 = $spec$select; + $fl$3 = $spec$select; + $p$1 = $p$0; + $t$1 = $t$0; label = 67; break; } case 111: { - $246 = $8; - $252 = _fmt_o(HEAP32[$246 >> 2] | 0, HEAP32[$246 + 4 >> 2] | 0, $13) | 0; - $256 = $14 - $252 | 0; - $$0231 = $252; - $$1235 = 0; - $$1240 = 50740; - $$2258 = ($spec$select & 8 | 0) == 0 | ($$0256 | 0) > ($256 | 0) ? $$0256 : $256 + 1 | 0; - $$4268 = $spec$select; + $112 = $arg; + $118 = _fmt_o(HEAP32[$112 >> 2] | 0, HEAP32[$112 + 4 >> 2] | 0, $add$ptr206) | 0; + $sub$ptr$sub269 = $sub$ptr$lhs$cast318 - $118 | 0; + $a$0 = $118; + $fl$4 = $spec$select; + $p$2 = ($spec$select & 8 | 0) == 0 | ($p$0 | 0) > ($sub$ptr$sub269 | 0) ? $p$0 : $sub$ptr$sub269 + 1 | 0; + $pl$1 = 0; + $prefix$1 = 51621; label = 73; break; } case 105: case 100: { - $260 = $8; - $262 = HEAP32[$260 >> 2] | 0; - $265 = HEAP32[$260 + 4 >> 2] | 0; - if (($265 | 0) < 0) { - $267 = _i64Subtract(0, 0, $262 | 0, $265 | 0) | 0; - $268 = getTempRet0() | 0; - $269 = $8; - HEAP32[$269 >> 2] = $267; - HEAP32[$269 + 4 >> 2] = $268; - $$0234 = 1; - $$0239 = 50740; - $279 = $267; - $280 = $268; + $120 = $arg; + $122 = HEAP32[$120 >> 2] | 0; + $125 = HEAP32[$120 + 4 >> 2] | 0; + if (($125 | 0) < 0) { + $127 = _i64Subtract(0, 0, $122 | 0, $125 | 0) | 0; + $128 = getTempRet0() | 0; + $129 = $arg; + HEAP32[$129 >> 2] = $127; + HEAP32[$129 + 4 >> 2] = $128; + $135 = $127; + $136 = $128; + $pl$0 = 1; + $prefix$0 = 51621; label = 72; break L79; } else { - $$0234 = ($spec$select & 2049 | 0) != 0 & 1; - $$0239 = ($spec$select & 2048 | 0) == 0 ? (($spec$select & 1 | 0) == 0 ? 50740 : 50742) : 50741; - $279 = $262; - $280 = $265; + $135 = $122; + $136 = $125; + $pl$0 = ($spec$select & 2049 | 0) != 0 & 1; + $prefix$0 = ($spec$select & 2048 | 0) == 0 ? (($spec$select & 1 | 0) == 0 ? 51621 : 51623) : 51622; label = 72; break L79; } @@ -20915,56 +20917,56 @@ function _printf_core($0, $1, $2, $3, $4, $5, $6) { } case 117: { - $195 = $8; - $$0234 = 0; - $$0239 = 50740; - $279 = HEAP32[$195 >> 2] | 0; - $280 = HEAP32[$195 + 4 >> 2] | 0; + $71 = $arg; + $135 = HEAP32[$71 >> 2] | 0; + $136 = HEAP32[$71 + 4 >> 2] | 0; + $pl$0 = 0; + $prefix$0 = 51621; label = 72; break; } case 99: { - HEAP8[$15 >> 0] = HEAP32[$8 >> 2]; - $$1 = $15; - $$2236 = 0; - $$2241 = 50740; - $$5 = 1; - $$6270 = $194; - $$pre$phiZ2D = $14; + HEAP8[$add$ptr341 >> 0] = HEAP32[$arg >> 2]; + $a$1 = $add$ptr341; + $fl$6 = $and220; + $p$5 = 1; + $pl$2 = 0; + $prefix$2 = 51621; + $sub$ptr$lhs$cast426$pre$phiZZZZ2D = $sub$ptr$lhs$cast318; break; } case 115: { - $307 = HEAP32[$8 >> 2] | 0; - $309 = ($307 | 0) == 0 ? 50750 : $307; - $310 = _memchr($309, 0, $$0256) | 0; - $311 = ($310 | 0) == 0; - $$1 = $309; - $$2236 = 0; - $$2241 = 50740; - $$5 = $311 ? $$0256 : $310 - $309 | 0; - $$6270 = $194; - $$pre$phiZ2D = $311 ? $309 + $$0256 | 0 : $310; + $154 = HEAP32[$arg >> 2] | 0; + $cond350 = ($154 | 0) == 0 ? 51631 : $154; + $call351 = _memchr($cond350, 0, $p$0) | 0; + $tobool352 = ($call351 | 0) == 0; + $a$1 = $cond350; + $fl$6 = $and220; + $p$5 = $tobool352 ? $p$0 : $call351 - $cond350 | 0; + $pl$2 = 0; + $prefix$2 = 51621; + $sub$ptr$lhs$cast426$pre$phiZZZZ2D = $tobool352 ? $cond350 + $p$0 | 0 : $call351; break; } case 67: { - HEAP32[$10 >> 2] = HEAP32[$8 >> 2]; - HEAP32[$16 >> 2] = 0; - HEAP32[$8 >> 2] = $10; - $$4260372 = -1; + HEAP32[$wc >> 2] = HEAP32[$arg >> 2]; + HEAP32[$arrayidx365 >> 2] = 0; + HEAP32[$arg >> 2] = $wc; + $p$4269 = -1; label = 79; break; } case 83: { - if (!$$0256) { - _pad_667($0, 32, $$1262, 0, $spec$select); - $$0242315373 = 0; + if (!$p$0) { + _pad_785($f, 32, $w$1, 0, $spec$select); + $i$0217271 = 0; label = 89; } else { - $$4260372 = $$0256; + $p$4269 = $p$0; label = 79; } break; @@ -20978,9234 +20980,8094 @@ function _printf_core($0, $1, $2, $3, $4, $5, $6) { case 102: case 101: { - $$0245$ph$be = FUNCTION_TABLE_iidiiii[$5 & 1]($0, +HEAPF64[$8 >> 3], $$1262, $$0256, $spec$select, $$0237) | 0; + $l$0$ph$be = FUNCTION_TABLE_iidiiii[$fmt_fp & 1]($f, +HEAPF64[$arg >> 3], $w$1, $p$0, $spec$select, $t$0) | 0; break L77; break; } default: { - $$1 = $22; - $$2236 = 0; - $$2241 = 50740; - $$5 = $$0256; - $$6270 = $spec$select; - $$pre$phiZ2D = $14; + $a$1 = $0; + $fl$6 = $spec$select; + $p$5 = $p$0; + $pl$2 = 0; + $prefix$2 = 51621; + $sub$ptr$lhs$cast426$pre$phiZZZZ2D = $sub$ptr$lhs$cast318; } } while (0); L102 : do if ((label | 0) == 67) { label = 0; - $225 = $8; - $232 = _fmt_x(HEAP32[$225 >> 2] | 0, HEAP32[$225 + 4 >> 2] | 0, $13, $$1238 & 32) | 0; - $233 = $8; - $or$cond280 = ($$3267 & 8 | 0) == 0 | (HEAP32[$233 >> 2] | 0) == 0 & (HEAP32[$233 + 4 >> 2] | 0) == 0; - $$0231 = $232; - $$1235 = $or$cond280 ? 0 : 2; - $$1240 = $or$cond280 ? 50740 : 50740 + ($$1238 >>> 4) | 0; - $$2258 = $$1257; - $$4268 = $$3267; + $96 = $arg; + $102 = _fmt_x(HEAP32[$96 >> 2] | 0, HEAP32[$96 + 4 >> 2] | 0, $add$ptr206, $t$1 & 32) | 0; + $103 = $arg; + $or$cond190 = ($fl$3 & 8 | 0) == 0 | (HEAP32[$103 >> 2] | 0) == 0 & (HEAP32[$103 + 4 >> 2] | 0) == 0; + $a$0 = $102; + $fl$4 = $fl$3; + $p$2 = $p$1; + $pl$1 = $or$cond190 ? 0 : 2; + $prefix$1 = $or$cond190 ? 51621 : 51621 + ($t$1 >>> 4) | 0; label = 73; } else if ((label | 0) == 72) { label = 0; - $$0231 = _fmt_u($279, $280, $13) | 0; - $$1235 = $$0234; - $$1240 = $$0239; - $$2258 = $$0256; - $$4268 = $spec$select; + $a$0 = _fmt_u($135, $136, $add$ptr206) | 0; + $fl$4 = $spec$select; + $p$2 = $p$0; + $pl$1 = $pl$0; + $prefix$1 = $prefix$0; label = 73; } else if ((label | 0) == 79) { label = 0; - $$0232336 = HEAP32[$8 >> 2] | 0; - $$0242335 = 0; + $i$0243 = 0; + $ws$0244 = HEAP32[$arg >> 2] | 0; while (1) { - $324 = HEAP32[$$0232336 >> 2] | 0; - if (!$324) { - $$0242315 = $$0242335; + $162 = HEAP32[$ws$0244 >> 2] | 0; + if (!$162) { + $i$0217 = $i$0243; break; } - $326 = _wctomb($11, $324) | 0; - $327 = ($326 | 0) < 0; - if ($327 | $326 >>> 0 > ($$4260372 - $$0242335 | 0) >>> 0) { + $call379 = _wctomb($mb, $162) | 0; + $cmp380 = ($call379 | 0) < 0; + if ($cmp380 | $call379 >>> 0 > ($p$4269 - $i$0243 | 0) >>> 0) { label = 83; break; } - $331 = $326 + $$0242335 | 0; - if ($$4260372 >>> 0 > $331 >>> 0) { - $$0232336 = $$0232336 + 4 | 0; - $$0242335 = $331; + $add390 = $call379 + $i$0243 | 0; + if ($p$4269 >>> 0 > $add390 >>> 0) { + $i$0243 = $add390; + $ws$0244 = $ws$0244 + 4 | 0; } else { - $$0242315 = $331; + $i$0217 = $add390; break; } } if ((label | 0) == 83) { label = 0; - if ($327) { - $$0 = -1; + if ($cmp380) { + $retval$0 = -1; break L1; - } else $$0242315 = $$0242335; + } else $i$0217 = $i$0243; } - _pad_667($0, 32, $$1262, $$0242315, $spec$select); - if (!$$0242315) { - $$0242315373 = 0; + _pad_785($f, 32, $w$1, $i$0217, $spec$select); + if (!$i$0217) { + $i$0217271 = 0; label = 89; } else { - $$1233342 = HEAP32[$8 >> 2] | 0; - $$1243341 = 0; + $i$1248 = 0; + $ws$1249 = HEAP32[$arg >> 2] | 0; while (1) { - $335 = HEAP32[$$1233342 >> 2] | 0; - if (!$335) { - $$0242315373 = $$0242315; + $164 = HEAP32[$ws$1249 >> 2] | 0; + if (!$164) { + $i$0217271 = $i$0217; label = 89; break L102; } - $337 = _wctomb($11, $335) | 0; - $$1243341 = $337 + $$1243341 | 0; - if (($$1243341 | 0) > ($$0242315 | 0)) { - $$0242315373 = $$0242315; + $call406 = _wctomb($mb, $164) | 0; + $i$1248 = $call406 + $i$1248 | 0; + if (($i$1248 | 0) > ($i$0217 | 0)) { + $i$0217271 = $i$0217; label = 89; break L102; } - _out($0, $11, $337); - if ($$1243341 >>> 0 >= $$0242315 >>> 0) { - $$0242315373 = $$0242315; + _out_779($f, $mb, $call406); + if ($i$1248 >>> 0 >= $i$0217 >>> 0) { + $i$0217271 = $i$0217; label = 89; break; - } else $$1233342 = $$1233342 + 4 | 0; + } else $ws$1249 = $ws$1249 + 4 | 0; } } } while (0); if ((label | 0) == 73) { label = 0; - $284 = $8; - $292 = (HEAP32[$284 >> 2] | 0) != 0 | (HEAP32[$284 + 4 >> 2] | 0) != 0; - $or$cond = ($$2258 | 0) != 0 | $292; - $298 = $14 - $$0231 + (($292 ^ 1) & 1) | 0; - $$1 = $or$cond ? $$0231 : $13; - $$2236 = $$1235; - $$2241 = $$1240; - $$5 = $or$cond ? (($$2258 | 0) > ($298 | 0) ? $$2258 : $298) : 0; - $$6270 = ($$2258 | 0) > -1 ? $$4268 & -65537 : $$4268; - $$pre$phiZ2D = $14; + $138 = $arg; + $146 = (HEAP32[$138 >> 2] | 0) != 0 | (HEAP32[$138 + 4 >> 2] | 0) != 0; + $or$cond = ($p$2 | 0) != 0 | $146; + $add323 = $sub$ptr$lhs$cast318 - $a$0 + (($146 ^ 1) & 1) | 0; + $a$1 = $or$cond ? $a$0 : $add$ptr206; + $fl$6 = ($p$2 | 0) > -1 ? $fl$4 & -65537 : $fl$4; + $p$5 = $or$cond ? (($p$2 | 0) > ($add323 | 0) ? $p$2 : $add323) : 0; + $pl$2 = $pl$1; + $prefix$2 = $prefix$1; + $sub$ptr$lhs$cast426$pre$phiZZZZ2D = $sub$ptr$lhs$cast318; } else if ((label | 0) == 89) { label = 0; - _pad_667($0, 32, $$1262, $$0242315373, $spec$select ^ 8192); - $$0245$ph$be = ($$1262 | 0) > ($$0242315373 | 0) ? $$1262 : $$0242315373; - break; - } - $348 = $$pre$phiZ2D - $$1 | 0; - $spec$select286 = ($$5 | 0) < ($348 | 0) ? $348 : $$5; - $350 = $spec$select286 + $$2236 | 0; - $$2263 = ($$1262 | 0) < ($350 | 0) ? $350 : $$1262; - _pad_667($0, 32, $$2263, $350, $$6270); - _out($0, $$2241, $$2236); - _pad_667($0, 48, $$2263, $350, $$6270 ^ 65536); - _pad_667($0, 48, $spec$select286, $348, 0); - _out($0, $$1, $348); - _pad_667($0, 32, $$2263, $350, $$6270 ^ 8192); - $$0245$ph$be = $$2263; + _pad_785($f, 32, $w$1, $i$0217271, $spec$select ^ 8192); + $l$0$ph$be = ($w$1 | 0) > ($i$0217271 | 0) ? $w$1 : $i$0217271; + break; + } + $sub$ptr$sub428 = $sub$ptr$lhs$cast426$pre$phiZZZZ2D - $a$1 | 0; + $spec$select195 = ($p$5 | 0) < ($sub$ptr$sub428 | 0) ? $sub$ptr$sub428 : $p$5; + $add436 = $spec$select195 + $pl$2 | 0; + $w$2 = ($w$1 | 0) < ($add436 | 0) ? $add436 : $w$1; + _pad_785($f, 32, $w$2, $add436, $fl$6); + _out_779($f, $prefix$2, $pl$2); + _pad_785($f, 48, $w$2, $add436, $fl$6 ^ 65536); + _pad_785($f, 48, $spec$select195, $sub$ptr$sub428, 0); + _out_779($f, $a$1, $sub$ptr$sub428); + _pad_785($f, 32, $w$2, $add436, $fl$6 ^ 8192); + $l$0$ph$be = $w$2; } while (0); - $$0245$ph = $$0245$ph$be; - $$0249$ph = $$1250; - $$0271$ph = $$3274; + $cnt$0$ph = $cnt$1; + $l$0$ph = $l$0$ph$be; + $l10n$0$ph = $l10n$3; } - L123 : do if ((label | 0) == 92) if (!$0) if (!$$0271$ph) $$0 = 0; else { - $$2244322 = 1; + L123 : do if ((label | 0) == 92) if (!$f) if (!$l10n$0$ph) $retval$0 = 0; else { + $i$2224 = 1; while (1) { - $357 = HEAP32[$4 + ($$2244322 << 2) >> 2] | 0; - if (!$357) break; - _pop_arg($3 + ($$2244322 << 3) | 0, $357, $2, $6); - $360 = $$2244322 + 1 | 0; - if ($360 >>> 0 < 10) $$2244322 = $360; else { - $$0 = 1; + $166 = HEAP32[$nl_type + ($i$2224 << 2) >> 2] | 0; + if (!$166) break; + _pop_arg_782($nl_arg + ($i$2224 << 3) | 0, $166, $ap, $pop_arg_long_double); + $inc = $i$2224 + 1 | 0; + if ($inc >>> 0 < 10) $i$2224 = $inc; else { + $retval$0 = 1; break L123; } } - $$3319 = $$2244322; + $i$3221 = $i$2224; while (1) { - if (HEAP32[$4 + ($$3319 << 2) >> 2] | 0) { - $$0 = -1; + if (HEAP32[$nl_type + ($i$3221 << 2) >> 2] | 0) { + $retval$0 = -1; break L123; } - $$3319 = $$3319 + 1 | 0; - if ($$3319 >>> 0 >= 10) { - $$0 = 1; + $i$3221 = $i$3221 + 1 | 0; + if ($i$3221 >>> 0 >= 10) { + $retval$0 = 1; break; } } - } else $$0 = $$1250; while (0); + } else $retval$0 = $cnt$1; while (0); STACKTOP = sp; - return $$0 | 0; + return $retval$0 | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E16parseExprPrimaryEv($0) { - $0 = $0 | 0; - var $$1 = 0, $$2 = 0, $$3 = 0, $$byval_copy16 = 0, $1 = 0, $10 = 0, $100 = 0, $102 = 0, $103 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $2 = 0, $24 = 0, $3 = 0, $32 = 0, $36 = 0, $4 = 0, $40 = 0, $44 = 0, $48 = 0, $5 = 0, $52 = 0, $56 = 0, $6 = 0, $60 = 0, $64 = 0, $68 = 0, $7 = 0, $72 = 0, $76 = 0, $8 = 0, $80 = 0, $9 = 0, $96 = 0, sp = 0; + +function __ZN6vision20SamplePyramidFREAK84EPfPKNS_25GaussianScaleSpacePyramidERKNS_12FeaturePointEPKfS8_S8_S8_S8_S8_ffffffff($samples, $pyramid, $point, $points_ring0, $points_ring1, $points_ring2, $points_ring3, $points_ring4, $points_ring5, $sigma_center, $sigma_ring0, $sigma_ring1, $sigma_ring2, $sigma_ring3, $sigma_ring4, $sigma_ring5, $expansion_factor) { + $samples = $samples | 0; + $pyramid = $pyramid | 0; + $point = $point | 0; + $points_ring0 = $points_ring0 | 0; + $points_ring1 = $points_ring1 | 0; + $points_ring2 = $points_ring2 | 0; + $points_ring3 = $points_ring3 | 0; + $points_ring4 = $points_ring4 | 0; + $points_ring5 = $points_ring5 | 0; + $sigma_center = +$sigma_center; + $sigma_ring0 = +$sigma_ring0; + $sigma_ring1 = +$sigma_ring1; + $sigma_ring2 = +$sigma_ring2; + $sigma_ring3 = +$sigma_ring3; + $sigma_ring4 = +$sigma_ring4; + $sigma_ring5 = +$sigma_ring5; + $expansion_factor = +$expansion_factor; + var $4 = 0.0, $5 = 0.0, $S = 0, $add$ptr = 0, $add$ptr103 = 0, $add$ptr107 = 0, $add$ptr11 = 0, $add$ptr111 = 0, $add$ptr117 = 0, $add$ptr121 = 0, $add$ptr125 = 0, $add$ptr129 = 0, $add$ptr133 = 0, $add$ptr15 = 0, $add$ptr19 = 0, $add$ptr23 = 0, $add$ptr29 = 0, $add$ptr33 = 0, $add$ptr37 = 0, $add$ptr41 = 0, $add$ptr45 = 0, $add$ptr51 = 0, $add$ptr55 = 0, $add$ptr59 = 0, $add$ptr63 = 0, $add$ptr67 = 0, $add$ptr73 = 0, $add$ptr77 = 0, $add$ptr81 = 0, $add$ptr85 = 0, $add$ptr89 = 0, $add$ptr95 = 0, $add$ptr99 = 0, $call = 0.0, $call148 = 0.0, $call152 = 0.0, $call156 = 0.0, $call160 = 0.0, $call164 = 0.0, $call168 = 0.0, $call172 = 0.0, $call176 = 0.0, $call180 = 0.0, $call184 = 0.0, $call188 = 0.0, $call192 = 0.0, $call196 = 0.0, $call200 = 0.0, $call204 = 0.0, $call208 = 0.0, $call212 = 0.0, $call216 = 0.0, $call220 = 0.0, $call224 = 0.0, $call228 = 0.0, $call232 = 0.0, $call236 = 0.0, $call240 = 0.0, $call244 = 0.0, $call248 = 0.0, $call252 = 0.0, $call256 = 0.0, $call260 = 0.0, $call264 = 0.0, $call268 = 0.0, $call272 = 0.0, $call276 = 0.0, $call280 = 0.0, $call284 = 0.0, $call288 = 0.0, $mul = 0.0, $octave = 0, $r0 = 0, $r1 = 0, $r2 = 0, $r3 = 0, $r4 = 0, $r5 = 0, $scale = 0, $transform_scale$0 = 0.0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 336 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(336); + $S = sp + 288 | 0; + $r0 = sp + 240 | 0; + $r1 = sp + 192 | 0; + $r2 = sp + 144 | 0; + $r3 = sp + 96 | 0; + $r4 = sp + 48 | 0; + $r5 = sp; + $octave = sp + 328 | 0; + $scale = sp + 324 | 0; + $mul = +HEAPF32[$point + 12 >> 2] * $expansion_factor; + $transform_scale$0 = $mul < 1.0 ? 1.0 : $mul; + __ZN6vision10SimilarityIfEEvPT_S1_S1_S1_S1_($S, +HEAPF32[$point >> 2], +HEAPF32[$point + 4 >> 2], +HEAPF32[$point + 8 >> 2], $transform_scale$0); + $4 = +HEAPF32[$S + 8 >> 2]; + $5 = +HEAPF32[$S + 20 >> 2]; + __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_($r0, $S, $points_ring0); + $add$ptr = $r0 + 8 | 0; + __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_($add$ptr, $S, $points_ring0 + 8 | 0); + $add$ptr11 = $r0 + 16 | 0; + __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_($add$ptr11, $S, $points_ring0 + 16 | 0); + $add$ptr15 = $r0 + 24 | 0; + __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_($add$ptr15, $S, $points_ring0 + 24 | 0); + $add$ptr19 = $r0 + 32 | 0; + __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_($add$ptr19, $S, $points_ring0 + 32 | 0); + $add$ptr23 = $r0 + 40 | 0; + __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_($add$ptr23, $S, $points_ring0 + 40 | 0); + __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_($r1, $S, $points_ring1); + $add$ptr29 = $r1 + 8 | 0; + __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_($add$ptr29, $S, $points_ring1 + 8 | 0); + $add$ptr33 = $r1 + 16 | 0; + __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_($add$ptr33, $S, $points_ring1 + 16 | 0); + $add$ptr37 = $r1 + 24 | 0; + __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_($add$ptr37, $S, $points_ring1 + 24 | 0); + $add$ptr41 = $r1 + 32 | 0; + __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_($add$ptr41, $S, $points_ring1 + 32 | 0); + $add$ptr45 = $r1 + 40 | 0; + __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_($add$ptr45, $S, $points_ring1 + 40 | 0); + __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_($r2, $S, $points_ring2); + $add$ptr51 = $r2 + 8 | 0; + __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_($add$ptr51, $S, $points_ring2 + 8 | 0); + $add$ptr55 = $r2 + 16 | 0; + __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_($add$ptr55, $S, $points_ring2 + 16 | 0); + $add$ptr59 = $r2 + 24 | 0; + __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_($add$ptr59, $S, $points_ring2 + 24 | 0); + $add$ptr63 = $r2 + 32 | 0; + __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_($add$ptr63, $S, $points_ring2 + 32 | 0); + $add$ptr67 = $r2 + 40 | 0; + __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_($add$ptr67, $S, $points_ring2 + 40 | 0); + __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_($r3, $S, $points_ring3); + $add$ptr73 = $r3 + 8 | 0; + __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_($add$ptr73, $S, $points_ring3 + 8 | 0); + $add$ptr77 = $r3 + 16 | 0; + __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_($add$ptr77, $S, $points_ring3 + 16 | 0); + $add$ptr81 = $r3 + 24 | 0; + __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_($add$ptr81, $S, $points_ring3 + 24 | 0); + $add$ptr85 = $r3 + 32 | 0; + __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_($add$ptr85, $S, $points_ring3 + 32 | 0); + $add$ptr89 = $r3 + 40 | 0; + __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_($add$ptr89, $S, $points_ring3 + 40 | 0); + __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_($r4, $S, $points_ring4); + $add$ptr95 = $r4 + 8 | 0; + __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_($add$ptr95, $S, $points_ring4 + 8 | 0); + $add$ptr99 = $r4 + 16 | 0; + __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_($add$ptr99, $S, $points_ring4 + 16 | 0); + $add$ptr103 = $r4 + 24 | 0; + __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_($add$ptr103, $S, $points_ring4 + 24 | 0); + $add$ptr107 = $r4 + 32 | 0; + __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_($add$ptr107, $S, $points_ring4 + 32 | 0); + $add$ptr111 = $r4 + 40 | 0; + __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_($add$ptr111, $S, $points_ring4 + 40 | 0); + __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_($r5, $S, $points_ring5); + $add$ptr117 = $r5 + 8 | 0; + __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_($add$ptr117, $S, $points_ring5 + 8 | 0); + $add$ptr121 = $r5 + 16 | 0; + __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_($add$ptr121, $S, $points_ring5 + 16 | 0); + $add$ptr125 = $r5 + 24 | 0; + __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_($add$ptr125, $S, $points_ring5 + 24 | 0); + $add$ptr129 = $r5 + 32 | 0; + __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_($add$ptr129, $S, $points_ring5 + 32 | 0); + $add$ptr133 = $r5 + 40 | 0; + __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_($add$ptr133, $S, $points_ring5 + 40 | 0); + __ZNK6vision25GaussianScaleSpacePyramid6locateERiS1_f($pyramid, $octave, $scale, $transform_scale$0 * $sigma_ring5); + $call = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii($pyramid, +HEAPF32[$r5 >> 2], +HEAPF32[$r5 + 4 >> 2], HEAP32[$octave >> 2] | 0, HEAP32[$scale >> 2] | 0); + HEAPF32[$samples >> 2] = $call; + $call148 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii($pyramid, +HEAPF32[$add$ptr117 >> 2], +HEAPF32[$r5 + 12 >> 2], HEAP32[$octave >> 2] | 0, HEAP32[$scale >> 2] | 0); + HEAPF32[$samples + 4 >> 2] = $call148; + $call152 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii($pyramid, +HEAPF32[$add$ptr121 >> 2], +HEAPF32[$r5 + 20 >> 2], HEAP32[$octave >> 2] | 0, HEAP32[$scale >> 2] | 0); + HEAPF32[$samples + 8 >> 2] = $call152; + $call156 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii($pyramid, +HEAPF32[$add$ptr125 >> 2], +HEAPF32[$r5 + 28 >> 2], HEAP32[$octave >> 2] | 0, HEAP32[$scale >> 2] | 0); + HEAPF32[$samples + 12 >> 2] = $call156; + $call160 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii($pyramid, +HEAPF32[$add$ptr129 >> 2], +HEAPF32[$r5 + 36 >> 2], HEAP32[$octave >> 2] | 0, HEAP32[$scale >> 2] | 0); + HEAPF32[$samples + 16 >> 2] = $call160; + $call164 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii($pyramid, +HEAPF32[$add$ptr133 >> 2], +HEAPF32[$r5 + 44 >> 2], HEAP32[$octave >> 2] | 0, HEAP32[$scale >> 2] | 0); + HEAPF32[$samples + 20 >> 2] = $call164; + __ZNK6vision25GaussianScaleSpacePyramid6locateERiS1_f($pyramid, $octave, $scale, $transform_scale$0 * $sigma_ring4); + $call168 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii($pyramid, +HEAPF32[$r4 >> 2], +HEAPF32[$r4 + 4 >> 2], HEAP32[$octave >> 2] | 0, HEAP32[$scale >> 2] | 0); + HEAPF32[$samples + 24 >> 2] = $call168; + $call172 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii($pyramid, +HEAPF32[$add$ptr95 >> 2], +HEAPF32[$r4 + 12 >> 2], HEAP32[$octave >> 2] | 0, HEAP32[$scale >> 2] | 0); + HEAPF32[$samples + 28 >> 2] = $call172; + $call176 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii($pyramid, +HEAPF32[$add$ptr99 >> 2], +HEAPF32[$r4 + 20 >> 2], HEAP32[$octave >> 2] | 0, HEAP32[$scale >> 2] | 0); + HEAPF32[$samples + 32 >> 2] = $call176; + $call180 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii($pyramid, +HEAPF32[$add$ptr103 >> 2], +HEAPF32[$r4 + 28 >> 2], HEAP32[$octave >> 2] | 0, HEAP32[$scale >> 2] | 0); + HEAPF32[$samples + 36 >> 2] = $call180; + $call184 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii($pyramid, +HEAPF32[$add$ptr107 >> 2], +HEAPF32[$r4 + 36 >> 2], HEAP32[$octave >> 2] | 0, HEAP32[$scale >> 2] | 0); + HEAPF32[$samples + 40 >> 2] = $call184; + $call188 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii($pyramid, +HEAPF32[$add$ptr111 >> 2], +HEAPF32[$r4 + 44 >> 2], HEAP32[$octave >> 2] | 0, HEAP32[$scale >> 2] | 0); + HEAPF32[$samples + 44 >> 2] = $call188; + __ZNK6vision25GaussianScaleSpacePyramid6locateERiS1_f($pyramid, $octave, $scale, $transform_scale$0 * $sigma_ring3); + $call192 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii($pyramid, +HEAPF32[$r3 >> 2], +HEAPF32[$r3 + 4 >> 2], HEAP32[$octave >> 2] | 0, HEAP32[$scale >> 2] | 0); + HEAPF32[$samples + 48 >> 2] = $call192; + $call196 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii($pyramid, +HEAPF32[$add$ptr73 >> 2], +HEAPF32[$r3 + 12 >> 2], HEAP32[$octave >> 2] | 0, HEAP32[$scale >> 2] | 0); + HEAPF32[$samples + 52 >> 2] = $call196; + $call200 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii($pyramid, +HEAPF32[$add$ptr77 >> 2], +HEAPF32[$r3 + 20 >> 2], HEAP32[$octave >> 2] | 0, HEAP32[$scale >> 2] | 0); + HEAPF32[$samples + 56 >> 2] = $call200; + $call204 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii($pyramid, +HEAPF32[$add$ptr81 >> 2], +HEAPF32[$r3 + 28 >> 2], HEAP32[$octave >> 2] | 0, HEAP32[$scale >> 2] | 0); + HEAPF32[$samples + 60 >> 2] = $call204; + $call208 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii($pyramid, +HEAPF32[$add$ptr85 >> 2], +HEAPF32[$r3 + 36 >> 2], HEAP32[$octave >> 2] | 0, HEAP32[$scale >> 2] | 0); + HEAPF32[$samples + 64 >> 2] = $call208; + $call212 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii($pyramid, +HEAPF32[$add$ptr89 >> 2], +HEAPF32[$r3 + 44 >> 2], HEAP32[$octave >> 2] | 0, HEAP32[$scale >> 2] | 0); + HEAPF32[$samples + 68 >> 2] = $call212; + __ZNK6vision25GaussianScaleSpacePyramid6locateERiS1_f($pyramid, $octave, $scale, $transform_scale$0 * $sigma_ring2); + $call216 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii($pyramid, +HEAPF32[$r2 >> 2], +HEAPF32[$r2 + 4 >> 2], HEAP32[$octave >> 2] | 0, HEAP32[$scale >> 2] | 0); + HEAPF32[$samples + 72 >> 2] = $call216; + $call220 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii($pyramid, +HEAPF32[$add$ptr51 >> 2], +HEAPF32[$r2 + 12 >> 2], HEAP32[$octave >> 2] | 0, HEAP32[$scale >> 2] | 0); + HEAPF32[$samples + 76 >> 2] = $call220; + $call224 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii($pyramid, +HEAPF32[$add$ptr55 >> 2], +HEAPF32[$r2 + 20 >> 2], HEAP32[$octave >> 2] | 0, HEAP32[$scale >> 2] | 0); + HEAPF32[$samples + 80 >> 2] = $call224; + $call228 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii($pyramid, +HEAPF32[$add$ptr59 >> 2], +HEAPF32[$r2 + 28 >> 2], HEAP32[$octave >> 2] | 0, HEAP32[$scale >> 2] | 0); + HEAPF32[$samples + 84 >> 2] = $call228; + $call232 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii($pyramid, +HEAPF32[$add$ptr63 >> 2], +HEAPF32[$r2 + 36 >> 2], HEAP32[$octave >> 2] | 0, HEAP32[$scale >> 2] | 0); + HEAPF32[$samples + 88 >> 2] = $call232; + $call236 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii($pyramid, +HEAPF32[$add$ptr67 >> 2], +HEAPF32[$r2 + 44 >> 2], HEAP32[$octave >> 2] | 0, HEAP32[$scale >> 2] | 0); + HEAPF32[$samples + 92 >> 2] = $call236; + __ZNK6vision25GaussianScaleSpacePyramid6locateERiS1_f($pyramid, $octave, $scale, $transform_scale$0 * $sigma_ring1); + $call240 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii($pyramid, +HEAPF32[$r1 >> 2], +HEAPF32[$r1 + 4 >> 2], HEAP32[$octave >> 2] | 0, HEAP32[$scale >> 2] | 0); + HEAPF32[$samples + 96 >> 2] = $call240; + $call244 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii($pyramid, +HEAPF32[$add$ptr29 >> 2], +HEAPF32[$r1 + 12 >> 2], HEAP32[$octave >> 2] | 0, HEAP32[$scale >> 2] | 0); + HEAPF32[$samples + 100 >> 2] = $call244; + $call248 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii($pyramid, +HEAPF32[$add$ptr33 >> 2], +HEAPF32[$r1 + 20 >> 2], HEAP32[$octave >> 2] | 0, HEAP32[$scale >> 2] | 0); + HEAPF32[$samples + 104 >> 2] = $call248; + $call252 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii($pyramid, +HEAPF32[$add$ptr37 >> 2], +HEAPF32[$r1 + 28 >> 2], HEAP32[$octave >> 2] | 0, HEAP32[$scale >> 2] | 0); + HEAPF32[$samples + 108 >> 2] = $call252; + $call256 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii($pyramid, +HEAPF32[$add$ptr41 >> 2], +HEAPF32[$r1 + 36 >> 2], HEAP32[$octave >> 2] | 0, HEAP32[$scale >> 2] | 0); + HEAPF32[$samples + 112 >> 2] = $call256; + $call260 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii($pyramid, +HEAPF32[$add$ptr45 >> 2], +HEAPF32[$r1 + 44 >> 2], HEAP32[$octave >> 2] | 0, HEAP32[$scale >> 2] | 0); + HEAPF32[$samples + 116 >> 2] = $call260; + __ZNK6vision25GaussianScaleSpacePyramid6locateERiS1_f($pyramid, $octave, $scale, $transform_scale$0 * $sigma_ring0); + $call264 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii($pyramid, +HEAPF32[$r0 >> 2], +HEAPF32[$r0 + 4 >> 2], HEAP32[$octave >> 2] | 0, HEAP32[$scale >> 2] | 0); + HEAPF32[$samples + 120 >> 2] = $call264; + $call268 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii($pyramid, +HEAPF32[$add$ptr >> 2], +HEAPF32[$r0 + 12 >> 2], HEAP32[$octave >> 2] | 0, HEAP32[$scale >> 2] | 0); + HEAPF32[$samples + 124 >> 2] = $call268; + $call272 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii($pyramid, +HEAPF32[$add$ptr11 >> 2], +HEAPF32[$r0 + 20 >> 2], HEAP32[$octave >> 2] | 0, HEAP32[$scale >> 2] | 0); + HEAPF32[$samples + 128 >> 2] = $call272; + $call276 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii($pyramid, +HEAPF32[$add$ptr15 >> 2], +HEAPF32[$r0 + 28 >> 2], HEAP32[$octave >> 2] | 0, HEAP32[$scale >> 2] | 0); + HEAPF32[$samples + 132 >> 2] = $call276; + $call280 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii($pyramid, +HEAPF32[$add$ptr19 >> 2], +HEAPF32[$r0 + 36 >> 2], HEAP32[$octave >> 2] | 0, HEAP32[$scale >> 2] | 0); + HEAPF32[$samples + 136 >> 2] = $call280; + $call284 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii($pyramid, +HEAPF32[$add$ptr23 >> 2], +HEAPF32[$r0 + 44 >> 2], HEAP32[$octave >> 2] | 0, HEAP32[$scale >> 2] | 0); + HEAPF32[$samples + 140 >> 2] = $call284; + __ZNK6vision25GaussianScaleSpacePyramid6locateERiS1_f($pyramid, $octave, $scale, $transform_scale$0 * $sigma_center); + $call288 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii($pyramid, $4, $5, HEAP32[$octave >> 2] | 0, HEAP32[$scale >> 2] | 0); + HEAPF32[$samples + 144 >> 2] = $call288; + STACKTOP = sp; + return 1; +} + +function _decode_mcu_sub($cinfo, $MCU_data) { + $cinfo = $cinfo | 0; + $MCU_data = $MCU_data | 0; + var $$in = 0, $0 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $17 = 0, $18 = 0, $19 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $29 = 0, $30 = 0, $33 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $45 = 0, $50 = 0, $51 = 0, $52 = 0, $59 = 0, $61 = 0, $add = 0, $add128 = 0, $and = 0, $and101 = 0, $and125 = 0, $and142 = 0, $and201 = 0, $and225 = 0, $and65 = 0, $arrayidx74 = 0, $bits_left$0$lcssa = 0, $bits_left$0205 = 0, $bits_left$1 = 0, $bits_left$11$ph = 0, $bits_left$12 = 0, $bits_left$13 = 0, $bits_left$14 = 0, $bits_left$15 = 0, $bits_left$16198 = 0, $bits_left$17 = 0, $bits_left$18 = 0, $bits_left$2 = 0, $bits_left$20$ph = 0, $bits_left$21 = 0, $bits_left$22 = 0, $bits_left$24 = 0, $bits_left$4$ph = 0, $bits_left$5 = 0, $bits_left$6 = 0, $bits_left$7192 = 0, $bits_left$8 = 0, $bits_left$9 = 0, $bits_left$i$i = 0, $bits_left16 = 0, $bits_left26 = 0, $blkn$0207 = 0, $blocks_in_MCU = 0, $br_state = 0, $bytes_in_buffer13 = 0, $call112 = 0, $call212 = 0, $call36 = 0, $ci$014$i = 0, $comps_in_scan$i = 0, $discarded_bytes$i$i = 0, $get_buffer$0$lcssa = 0, $get_buffer$0206 = 0, $get_buffer$1 = 0, $get_buffer$11$ph = 0, $get_buffer$12 = 0, $get_buffer$13 = 0, $get_buffer$14 = 0, $get_buffer$15 = 0, $get_buffer$16199 = 0, $get_buffer$17 = 0, $get_buffer$18 = 0, $get_buffer$2 = 0, $get_buffer$20$ph = 0, $get_buffer$21 = 0, $get_buffer$22 = 0, $get_buffer$24 = 0, $get_buffer$4$ph = 0, $get_buffer$5 = 0, $get_buffer$6 = 0, $get_buffer$7193 = 0, $get_buffer$8 = 0, $get_buffer$9 = 0, $get_buffer14 = 0, $get_buffer25 = 0, $inc = 0, $k$0191 = 0, $k$1 = 0, $k$2 = 0, $k$3197 = 0, $nb$0 = 0, $nb183$0 = 0, $nb83$0 = 0, $restart_interval = 0, $restarts_to_go = 0, $restarts_to_go274 = 0, $retval$9 = 0, $s$11$ph = 0, $s$2$ph = 0, $s$3 = 0, $s$6$ph = 0, $saved = 0, $shr124174 = 0, $shr224$pn = 0, $shr224173 = 0, $src = 0, $state = 0, $sub139 = 0, $sub62 = 0, $tobool50 = 0, label = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 48 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); + $br_state = sp + 20 | 0; + $state = sp; + $0 = HEAP32[$cinfo + 468 >> 2] | 0; + $restart_interval = $cinfo + 280 | 0; + if (HEAP32[$restart_interval >> 2] | 0 ? ($restarts_to_go = $0 + 44 | 0, (HEAP32[$restarts_to_go >> 2] | 0) == 0) : 0) { + $bits_left$i$i = $0 + 16 | 0; + $4 = HEAP32[$cinfo + 464 >> 2] | 0; + $discarded_bytes$i$i = $4 + 24 | 0; + HEAP32[$discarded_bytes$i$i >> 2] = (HEAP32[$discarded_bytes$i$i >> 2] | 0) + ((HEAP32[$bits_left$i$i >> 2] | 0) / 8 | 0); + HEAP32[$bits_left$i$i >> 2] = 0; + if (!(FUNCTION_TABLE_ii[HEAP32[$4 + 8 >> 2] & 127]($cinfo) | 0)) { + $retval$9 = 0; + STACKTOP = sp; + return $retval$9 | 0; + } + $comps_in_scan$i = $cinfo + 340 | 0; + if ((HEAP32[$comps_in_scan$i >> 2] | 0) > 0) { + $ci$014$i = 0; + do { + HEAP32[$0 + 24 + ($ci$014$i << 2) >> 2] = 0; + $ci$014$i = $ci$014$i + 1 | 0; + } while (($ci$014$i | 0) < (HEAP32[$comps_in_scan$i >> 2] | 0)); + } + HEAP32[$0 + 20 >> 2] = 0; + HEAP32[$restarts_to_go >> 2] = HEAP32[$restart_interval >> 2]; + if (!(HEAP32[$cinfo + 440 >> 2] | 0)) HEAP32[$0 + 40 >> 2] = 0; + } + if (!(HEAP32[$0 + 40 >> 2] | 0)) { + $12 = HEAP32[$cinfo + 432 >> 2] | 0; + $13 = HEAP32[$cinfo + 436 >> 2] | 0; + HEAP32[$br_state + 16 >> 2] = $cinfo; + $src = $cinfo + 24 | 0; + $14 = HEAP32[$src >> 2] | 0; + $15 = HEAP32[$14 >> 2] | 0; + HEAP32[$br_state >> 2] = $15; + $17 = HEAP32[$14 + 4 >> 2] | 0; + $bytes_in_buffer13 = $br_state + 4 | 0; + HEAP32[$bytes_in_buffer13 >> 2] = $17; + $get_buffer14 = $0 + 12 | 0; + $18 = HEAP32[$get_buffer14 >> 2] | 0; + $bits_left16 = $0 + 16 | 0; + $19 = HEAP32[$bits_left16 >> 2] | 0; + $saved = $0 + 20 | 0; + HEAP32[$state >> 2] = HEAP32[$saved >> 2]; + HEAP32[$state + 4 >> 2] = HEAP32[$saved + 4 >> 2]; + HEAP32[$state + 8 >> 2] = HEAP32[$saved + 8 >> 2]; + HEAP32[$state + 12 >> 2] = HEAP32[$saved + 12 >> 2]; + HEAP32[$state + 16 >> 2] = HEAP32[$saved + 16 >> 2]; + $blocks_in_MCU = $cinfo + 368 | 0; + do if ((HEAP32[$blocks_in_MCU >> 2] | 0) > 0) { + $get_buffer25 = $br_state + 8 | 0; + $bits_left26 = $br_state + 12 | 0; + $bits_left$0205 = $19; + $blkn$0207 = 0; + $get_buffer$0206 = $18; + L18 : while (1) { + $21 = HEAP32[$MCU_data + ($blkn$0207 << 2) >> 2] | 0; + $22 = HEAP32[$0 + 100 + ($blkn$0207 << 2) >> 2] | 0; + if (($bits_left$0205 | 0) < 8) { + if (!(_jpeg_fill_bit_buffer($br_state, $get_buffer$0206, $bits_left$0205, 0) | 0)) { + $retval$9 = 0; + label = 67; + break; + } + $23 = HEAP32[$get_buffer25 >> 2] | 0; + $24 = HEAP32[$bits_left26 >> 2] | 0; + if (($24 | 0) < 8) { + $bits_left$2 = $24; + $get_buffer$2 = $23; + $nb$0 = 1; + label = 17; + } else { + $bits_left$1 = $24; + $get_buffer$1 = $23; + label = 15; + } + } else { + $bits_left$1 = $bits_left$0205; + $get_buffer$1 = $get_buffer$0206; + label = 15; + } + if ((label | 0) == 15) { + label = 0; + $and = $get_buffer$1 >> $bits_left$1 + -8 & 255; + $25 = HEAP32[$22 + 144 + ($and << 2) >> 2] | 0; + if (!$25) { + $bits_left$2 = $bits_left$1; + $get_buffer$2 = $get_buffer$1; + $nb$0 = 9; + label = 17; + } else { + $bits_left$4$ph = $bits_left$1 - $25 | 0; + $get_buffer$4$ph = $get_buffer$1; + $s$2$ph = HEAPU8[$22 + 1168 + $and >> 0] | 0; + } + } + if ((label | 0) == 17) { + label = 0; + $call36 = _jpeg_huff_decode($br_state, $get_buffer$2, $bits_left$2, $22, $nb$0) | 0; + if (($call36 | 0) < 0) { + $retval$9 = 0; + label = 67; + break; + } + $bits_left$4$ph = HEAP32[$bits_left26 >> 2] | 0; + $get_buffer$4$ph = HEAP32[$get_buffer25 >> 2] | 0; + $s$2$ph = $call36; + } + $29 = HEAP32[$0 + 140 + ($blkn$0207 << 2) >> 2] | 0; + $30 = HEAP32[$0 + 180 + ($blkn$0207 << 2) >> 2] | 0; + $tobool50 = ($s$2$ph | 0) != 0; + L30 : do if (!$30) if ($tobool50) { + if (($bits_left$4$ph | 0) < ($s$2$ph | 0)) { + if (!(_jpeg_fill_bit_buffer($br_state, $get_buffer$4$ph, $bits_left$4$ph, $s$2$ph) | 0)) { + $retval$9 = 0; + label = 67; + break L18; + } + $bits_left$14 = HEAP32[$bits_left26 >> 2] | 0; + $get_buffer$14 = HEAP32[$get_buffer25 >> 2] | 0; + } else { + $bits_left$14 = $bits_left$4$ph; + $get_buffer$14 = $get_buffer$4$ph; + } + $bits_left$15 = $bits_left$14 - $s$2$ph | 0; + $get_buffer$15 = $get_buffer$14; + $k$2 = 1; + label = 47; + } else { + $bits_left$15 = $bits_left$4$ph; + $get_buffer$15 = $get_buffer$4$ph; + $k$2 = 1; + label = 47; + } else { + if ($tobool50) { + if (($bits_left$4$ph | 0) < ($s$2$ph | 0)) { + if (!(_jpeg_fill_bit_buffer($br_state, $get_buffer$4$ph, $bits_left$4$ph, $s$2$ph) | 0)) { + $retval$9 = 0; + label = 67; + break L18; + } + $bits_left$5 = HEAP32[$bits_left26 >> 2] | 0; + $get_buffer$5 = HEAP32[$get_buffer25 >> 2] | 0; + } else { + $bits_left$5 = $bits_left$4$ph; + $get_buffer$5 = $get_buffer$4$ph; + } + $sub62 = $bits_left$5 - $s$2$ph | 0; + $33 = HEAP32[5184 + ($s$2$ph << 2) >> 2] | 0; + $and65 = $get_buffer$5 >> $sub62 & $33; + $bits_left$6 = $sub62; + $get_buffer$6 = $get_buffer$5; + $s$3 = $and65 - (($and65 | 0) > (HEAP32[5184 + ($s$2$ph + -1 << 2) >> 2] | 0) ? 0 : $33) | 0; + } else { + $bits_left$6 = $bits_left$4$ph; + $get_buffer$6 = $get_buffer$4$ph; + $s$3 = 0; + } + $arrayidx74 = $state + 4 + (HEAP32[$cinfo + 372 + ($blkn$0207 << 2) >> 2] << 2) | 0; + $add = (HEAP32[$arrayidx74 >> 2] | 0) + $s$3 | 0; + HEAP32[$arrayidx74 >> 2] = $add; + HEAP16[$21 >> 1] = $add; + if (($30 | 0) > 1) { + $bits_left$7192 = $bits_left$6; + $get_buffer$7193 = $get_buffer$6; + $k$0191 = 1; + while (1) { + if (($bits_left$7192 | 0) < 8) { + if (!(_jpeg_fill_bit_buffer($br_state, $get_buffer$7193, $bits_left$7192, 0) | 0)) { + $retval$9 = 0; + label = 67; + break L18; + } + $37 = HEAP32[$get_buffer25 >> 2] | 0; + $38 = HEAP32[$bits_left26 >> 2] | 0; + if (($38 | 0) < 8) { + $bits_left$9 = $38; + $get_buffer$9 = $37; + $nb83$0 = 1; + label = 32; + } else { + $bits_left$8 = $38; + $get_buffer$8 = $37; + label = 30; + } + } else { + $bits_left$8 = $bits_left$7192; + $get_buffer$8 = $get_buffer$7193; + label = 30; + } + if ((label | 0) == 30) { + label = 0; + $and101 = $get_buffer$8 >> $bits_left$8 + -8 & 255; + $39 = HEAP32[$29 + 144 + ($and101 << 2) >> 2] | 0; + if (!$39) { + $bits_left$9 = $bits_left$8; + $get_buffer$9 = $get_buffer$8; + $nb83$0 = 9; + label = 32; + } else { + $bits_left$11$ph = $bits_left$8 - $39 | 0; + $get_buffer$11$ph = $get_buffer$8; + $s$6$ph = HEAPU8[$29 + 1168 + $and101 >> 0] | 0; + } + } + if ((label | 0) == 32) { + label = 0; + $call112 = _jpeg_huff_decode($br_state, $get_buffer$9, $bits_left$9, $29, $nb83$0) | 0; + if (($call112 | 0) < 0) { + $retval$9 = 0; + label = 67; + break L18; + } + $bits_left$11$ph = HEAP32[$bits_left26 >> 2] | 0; + $get_buffer$11$ph = HEAP32[$get_buffer25 >> 2] | 0; + $s$6$ph = $call112; + } + $shr124174 = $s$6$ph >>> 4; + $and125 = $s$6$ph & 15; + if (!$and125) { + if (($shr124174 | 0) != 15) { + $bits_left$24 = $bits_left$11$ph; + $get_buffer$24 = $get_buffer$11$ph; + break L30; + } + $bits_left$13 = $bits_left$11$ph; + $get_buffer$13 = $get_buffer$11$ph; + $k$1 = $k$0191 + 15 | 0; + } else { + $add128 = $shr124174 + $k$0191 | 0; + if (($bits_left$11$ph | 0) < ($and125 | 0)) { + if (!(_jpeg_fill_bit_buffer($br_state, $get_buffer$11$ph, $bits_left$11$ph, $and125) | 0)) { + $retval$9 = 0; + label = 67; + break L18; + } + $bits_left$12 = HEAP32[$bits_left26 >> 2] | 0; + $get_buffer$12 = HEAP32[$get_buffer25 >> 2] | 0; + } else { + $bits_left$12 = $bits_left$11$ph; + $get_buffer$12 = $get_buffer$11$ph; + } + $sub139 = $bits_left$12 - $and125 | 0; + $45 = HEAP32[5184 + ($and125 << 2) >> 2] | 0; + $and142 = $get_buffer$12 >> $sub139 & $45; + HEAP16[$21 + (HEAP32[$12 + ($add128 << 2) >> 2] << 1) >> 1] = $and142 - (($and142 | 0) > (HEAP32[5184 + ($and125 + -1 << 2) >> 2] | 0) ? 0 : $45); + $bits_left$13 = $sub139; + $get_buffer$13 = $get_buffer$12; + $k$1 = $add128; + } + $inc = $k$1 + 1 | 0; + if (($inc | 0) < ($30 | 0)) { + $bits_left$7192 = $bits_left$13; + $get_buffer$7193 = $get_buffer$13; + $k$0191 = $inc; + } else { + $bits_left$15 = $bits_left$13; + $get_buffer$15 = $get_buffer$13; + $k$2 = $inc; + label = 47; + break; + } + } + } else { + $bits_left$15 = $bits_left$6; + $get_buffer$15 = $get_buffer$6; + $k$2 = 1; + label = 47; + } + } while (0); + L67 : do if ((label | 0) == 47) { + label = 0; + if (($k$2 | 0) > ($13 | 0)) { + $bits_left$24 = $bits_left$15; + $get_buffer$24 = $get_buffer$15; + } else { + $bits_left$16198 = $bits_left$15; + $get_buffer$16199 = $get_buffer$15; + $k$3197 = $k$2; + while (1) { + if (($bits_left$16198 | 0) < 8) { + if (!(_jpeg_fill_bit_buffer($br_state, $get_buffer$16199, $bits_left$16198, 0) | 0)) { + $retval$9 = 0; + label = 67; + break L18; + } + $50 = HEAP32[$get_buffer25 >> 2] | 0; + $51 = HEAP32[$bits_left26 >> 2] | 0; + if (($51 | 0) < 8) { + $bits_left$18 = $51; + $get_buffer$18 = $50; + $nb183$0 = 1; + label = 54; + } else { + $bits_left$17 = $51; + $get_buffer$17 = $50; + label = 52; + } + } else { + $bits_left$17 = $bits_left$16198; + $get_buffer$17 = $get_buffer$16199; + label = 52; + } + if ((label | 0) == 52) { + label = 0; + $and201 = $get_buffer$17 >> $bits_left$17 + -8 & 255; + $52 = HEAP32[$29 + 144 + ($and201 << 2) >> 2] | 0; + if (!$52) { + $bits_left$18 = $bits_left$17; + $get_buffer$18 = $get_buffer$17; + $nb183$0 = 9; + label = 54; + } else { + $bits_left$20$ph = $bits_left$17 - $52 | 0; + $get_buffer$20$ph = $get_buffer$17; + $s$11$ph = HEAPU8[$29 + 1168 + $and201 >> 0] | 0; + } + } + if ((label | 0) == 54) { + label = 0; + $call212 = _jpeg_huff_decode($br_state, $get_buffer$18, $bits_left$18, $29, $nb183$0) | 0; + if (($call212 | 0) < 0) { + $retval$9 = 0; + label = 67; + break L18; + } + $bits_left$20$ph = HEAP32[$bits_left26 >> 2] | 0; + $get_buffer$20$ph = HEAP32[$get_buffer25 >> 2] | 0; + $s$11$ph = $call212; + } + $shr224173 = $s$11$ph >>> 4; + $and225 = $s$11$ph & 15; + if (!$and225) if (($shr224173 | 0) == 15) { + $bits_left$22 = $bits_left$20$ph; + $get_buffer$22 = $get_buffer$20$ph; + $shr224$pn = 15; + } else { + $bits_left$24 = $bits_left$20$ph; + $get_buffer$24 = $get_buffer$20$ph; + break L67; + } else { + if (($bits_left$20$ph | 0) < ($and225 | 0)) { + if (!(_jpeg_fill_bit_buffer($br_state, $get_buffer$20$ph, $bits_left$20$ph, $and225) | 0)) { + $retval$9 = 0; + label = 67; + break L18; + } + $bits_left$21 = HEAP32[$bits_left26 >> 2] | 0; + $get_buffer$21 = HEAP32[$get_buffer25 >> 2] | 0; + } else { + $bits_left$21 = $bits_left$20$ph; + $get_buffer$21 = $get_buffer$20$ph; + } + $bits_left$22 = $bits_left$21 - $and225 | 0; + $get_buffer$22 = $get_buffer$21; + $shr224$pn = $shr224173; + } + $k$3197 = $k$3197 + 1 + $shr224$pn | 0; + if (($k$3197 | 0) > ($13 | 0)) { + $bits_left$24 = $bits_left$22; + $get_buffer$24 = $get_buffer$22; + break; + } else { + $bits_left$16198 = $bits_left$22; + $get_buffer$16199 = $get_buffer$22; + } + } + } + } while (0); + $blkn$0207 = $blkn$0207 + 1 | 0; + if (($blkn$0207 | 0) >= (HEAP32[$blocks_in_MCU >> 2] | 0)) { + label = 64; + break; + } else { + $bits_left$0205 = $bits_left$24; + $get_buffer$0206 = $get_buffer$24; + } + } + if ((label | 0) == 64) { + $$in = HEAP32[$src >> 2] | 0; + $59 = HEAP32[$br_state >> 2] | 0; + $61 = HEAP32[$bytes_in_buffer13 >> 2] | 0; + $bits_left$0$lcssa = $bits_left$24; + $get_buffer$0$lcssa = $get_buffer$24; + break; + } else if ((label | 0) == 67) { + STACKTOP = sp; + return $retval$9 | 0; + } + } else { + $$in = $14; + $59 = $15; + $61 = $17; + $bits_left$0$lcssa = $19; + $get_buffer$0$lcssa = $18; + } while (0); + HEAP32[$$in >> 2] = $59; + HEAP32[$$in + 4 >> 2] = $61; + HEAP32[$get_buffer14 >> 2] = $get_buffer$0$lcssa; + HEAP32[$bits_left16 >> 2] = $bits_left$0$lcssa; + HEAP32[$saved >> 2] = HEAP32[$state >> 2]; + HEAP32[$saved + 4 >> 2] = HEAP32[$state + 4 >> 2]; + HEAP32[$saved + 8 >> 2] = HEAP32[$state + 8 >> 2]; + HEAP32[$saved + 12 >> 2] = HEAP32[$state + 12 >> 2]; + HEAP32[$saved + 16 >> 2] = HEAP32[$state + 16 >> 2]; + } + $restarts_to_go274 = $0 + 44 | 0; + HEAP32[$restarts_to_go274 >> 2] = (HEAP32[$restarts_to_go274 >> 2] | 0) + -1; + $retval$9 = 1; + STACKTOP = sp; + return $retval$9 | 0; +} + +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E16parseExprPrimaryEv($this) { + $this = $this | 0; + var $N = 0, $agg$tmp = 0, $agg$tmp11 = 0, $agg$tmp111 = 0, $agg$tmp111$byval_copy = 0, $agg$tmp21 = 0, $agg$tmp27 = 0, $agg$tmp33 = 0, $agg$tmp39 = 0, $agg$tmp45 = 0, $agg$tmp51 = 0, $agg$tmp57 = 0, $agg$tmp6 = 0, $agg$tmp63 = 0, $agg$tmp69 = 0, $agg$tmp75 = 0, $agg$tmp81 = 0, $agg$tmp87 = 0, $agg$tmp93 = 0, $call115 = 0, $call122 = 0, $call126 = 0, $call133 = 0, $call20 = 0, $call26 = 0, $call3 = 0, $call32 = 0, $call38 = 0, $call44 = 0, $call50 = 0, $call56 = 0, $call62 = 0, $call68 = 0, $call74 = 0, $call80 = 0, $call86 = 0, $call92 = 0, $retval$1 = 0, $retval$2 = 0, $retval$3 = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 160 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(160); - $$byval_copy16 = sp + 144 | 0; - $1 = sp + 136 | 0; - $2 = sp + 128 | 0; - $3 = sp + 120 | 0; - $4 = sp + 112 | 0; - $5 = sp + 104 | 0; - $6 = sp + 96 | 0; - $7 = sp + 88 | 0; - $8 = sp + 80 | 0; - $9 = sp + 72 | 0; - $10 = sp + 64 | 0; - $11 = sp + 56 | 0; - $12 = sp + 48 | 0; - $13 = sp + 40 | 0; - $14 = sp + 32 | 0; - $15 = sp + 24 | 0; - $16 = sp + 16 | 0; - $17 = sp + 8 | 0; - $18 = sp; - L1 : do if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($0, 76) | 0) do switch ((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($0, 0) | 0) << 24 >> 24 | 0) { + $agg$tmp111$byval_copy = sp + 144 | 0; + $agg$tmp = sp + 136 | 0; + $agg$tmp6 = sp + 128 | 0; + $agg$tmp11 = sp + 120 | 0; + $agg$tmp21 = sp + 112 | 0; + $agg$tmp27 = sp + 104 | 0; + $agg$tmp33 = sp + 96 | 0; + $agg$tmp39 = sp + 88 | 0; + $agg$tmp45 = sp + 80 | 0; + $agg$tmp51 = sp + 72 | 0; + $agg$tmp57 = sp + 64 | 0; + $agg$tmp63 = sp + 56 | 0; + $agg$tmp69 = sp + 48 | 0; + $agg$tmp75 = sp + 40 | 0; + $agg$tmp81 = sp + 32 | 0; + $agg$tmp87 = sp + 24 | 0; + $agg$tmp93 = sp + 16 | 0; + $agg$tmp111 = sp + 8 | 0; + $N = sp; + L1 : do if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($this, 76) | 0) do switch ((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($this, 0) | 0) << 24 >> 24 | 0) { case 84: { - $$3 = 0; + $retval$3 = 0; break L1; break; } case 119: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 1; - $24 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($1, 52254); - HEAP32[$$byval_copy16 >> 2] = HEAP32[$1 >> 2]; - HEAP32[$$byval_copy16 + 4 >> 2] = HEAP32[$1 + 4 >> 2]; - $$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E19parseIntegerLiteralENS_10StringViewE($24, $$byval_copy16) | 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 1; + $call3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, 53096); + HEAP32[$agg$tmp111$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp111$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + $retval$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E19parseIntegerLiteralENS_10StringViewE($call3, $agg$tmp111$byval_copy) | 0; break L1; break; } case 98: { - __ZN12_GLOBAL__N_110StringViewC2EPKc($2, 52262); - HEAP32[$$byval_copy16 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy16 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($0, $$byval_copy16) | 0) { - HEAP32[$$byval_copy16 >> 2] = 0; - $$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8BoolExprEJiEEEPNS0_4NodeEDpOT0_($0, $$byval_copy16) | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp6, 53104); + HEAP32[$agg$tmp111$byval_copy >> 2] = HEAP32[$agg$tmp6 >> 2]; + HEAP32[$agg$tmp111$byval_copy + 4 >> 2] = HEAP32[$agg$tmp6 + 4 >> 2]; + if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($this, $agg$tmp111$byval_copy) | 0) { + HEAP32[$agg$tmp111$byval_copy >> 2] = 0; + $retval$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8BoolExprEJiEEEPNS0_4NodeEDpOT0_($this, $agg$tmp111$byval_copy) | 0; break L1; } - __ZN12_GLOBAL__N_110StringViewC2EPKc($3, 52266); - HEAP32[$$byval_copy16 >> 2] = HEAP32[$3 >> 2]; - HEAP32[$$byval_copy16 + 4 >> 2] = HEAP32[$3 + 4 >> 2]; - if (!(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($0, $$byval_copy16) | 0)) { - $$3 = 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp11, 53108); + HEAP32[$agg$tmp111$byval_copy >> 2] = HEAP32[$agg$tmp11 >> 2]; + HEAP32[$agg$tmp111$byval_copy + 4 >> 2] = HEAP32[$agg$tmp11 + 4 >> 2]; + if (!(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($this, $agg$tmp111$byval_copy) | 0)) { + $retval$3 = 0; break L1; } - HEAP32[$$byval_copy16 >> 2] = 1; - $$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8BoolExprEJiEEEPNS0_4NodeEDpOT0_($0, $$byval_copy16) | 0; + HEAP32[$agg$tmp111$byval_copy >> 2] = 1; + $retval$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8BoolExprEJiEEEPNS0_4NodeEDpOT0_($this, $agg$tmp111$byval_copy) | 0; break L1; break; } case 99: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 1; - $32 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($4, 57078); - HEAP32[$$byval_copy16 >> 2] = HEAP32[$4 >> 2]; - HEAP32[$$byval_copy16 + 4 >> 2] = HEAP32[$4 + 4 >> 2]; - $$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E19parseIntegerLiteralENS_10StringViewE($32, $$byval_copy16) | 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 1; + $call20 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp21, 57920); + HEAP32[$agg$tmp111$byval_copy >> 2] = HEAP32[$agg$tmp21 >> 2]; + HEAP32[$agg$tmp111$byval_copy + 4 >> 2] = HEAP32[$agg$tmp21 + 4 >> 2]; + $retval$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E19parseIntegerLiteralENS_10StringViewE($call20, $agg$tmp111$byval_copy) | 0; break L1; break; } case 97: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 1; - $36 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($5, 57083); - HEAP32[$$byval_copy16 >> 2] = HEAP32[$5 >> 2]; - HEAP32[$$byval_copy16 + 4 >> 2] = HEAP32[$5 + 4 >> 2]; - $$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E19parseIntegerLiteralENS_10StringViewE($36, $$byval_copy16) | 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 1; + $call26 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp27, 57925); + HEAP32[$agg$tmp111$byval_copy >> 2] = HEAP32[$agg$tmp27 >> 2]; + HEAP32[$agg$tmp111$byval_copy + 4 >> 2] = HEAP32[$agg$tmp27 + 4 >> 2]; + $retval$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E19parseIntegerLiteralENS_10StringViewE($call26, $agg$tmp111$byval_copy) | 0; break L1; break; } case 104: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 1; - $40 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($6, 57095); - HEAP32[$$byval_copy16 >> 2] = HEAP32[$6 >> 2]; - HEAP32[$$byval_copy16 + 4 >> 2] = HEAP32[$6 + 4 >> 2]; - $$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E19parseIntegerLiteralENS_10StringViewE($40, $$byval_copy16) | 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 1; + $call32 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp33, 57937); + HEAP32[$agg$tmp111$byval_copy >> 2] = HEAP32[$agg$tmp33 >> 2]; + HEAP32[$agg$tmp111$byval_copy + 4 >> 2] = HEAP32[$agg$tmp33 + 4 >> 2]; + $retval$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E19parseIntegerLiteralENS_10StringViewE($call32, $agg$tmp111$byval_copy) | 0; break L1; break; } case 115: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 1; - $44 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($7, 57109); - HEAP32[$$byval_copy16 >> 2] = HEAP32[$7 >> 2]; - HEAP32[$$byval_copy16 + 4 >> 2] = HEAP32[$7 + 4 >> 2]; - $$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E19parseIntegerLiteralENS_10StringViewE($44, $$byval_copy16) | 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 1; + $call38 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp39, 57951); + HEAP32[$agg$tmp111$byval_copy >> 2] = HEAP32[$agg$tmp39 >> 2]; + HEAP32[$agg$tmp111$byval_copy + 4 >> 2] = HEAP32[$agg$tmp39 + 4 >> 2]; + $retval$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E19parseIntegerLiteralENS_10StringViewE($call38, $agg$tmp111$byval_copy) | 0; break L1; break; } case 116: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 1; - $48 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($8, 57115); - HEAP32[$$byval_copy16 >> 2] = HEAP32[$8 >> 2]; - HEAP32[$$byval_copy16 + 4 >> 2] = HEAP32[$8 + 4 >> 2]; - $$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E19parseIntegerLiteralENS_10StringViewE($48, $$byval_copy16) | 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 1; + $call44 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp45, 57957); + HEAP32[$agg$tmp111$byval_copy >> 2] = HEAP32[$agg$tmp45 >> 2]; + HEAP32[$agg$tmp111$byval_copy + 4 >> 2] = HEAP32[$agg$tmp45 + 4 >> 2]; + $retval$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E19parseIntegerLiteralENS_10StringViewE($call44, $agg$tmp111$byval_copy) | 0; break L1; break; } case 105: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 1; - $52 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($9, 67447); - HEAP32[$$byval_copy16 >> 2] = HEAP32[$9 >> 2]; - HEAP32[$$byval_copy16 + 4 >> 2] = HEAP32[$9 + 4 >> 2]; - $$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E19parseIntegerLiteralENS_10StringViewE($52, $$byval_copy16) | 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 1; + $call50 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp51, 68295); + HEAP32[$agg$tmp111$byval_copy >> 2] = HEAP32[$agg$tmp51 >> 2]; + HEAP32[$agg$tmp111$byval_copy + 4 >> 2] = HEAP32[$agg$tmp51 + 4 >> 2]; + $retval$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E19parseIntegerLiteralENS_10StringViewE($call50, $agg$tmp111$byval_copy) | 0; break L1; break; } case 106: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 1; - $56 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($10, 52270); - HEAP32[$$byval_copy16 >> 2] = HEAP32[$10 >> 2]; - HEAP32[$$byval_copy16 + 4 >> 2] = HEAP32[$10 + 4 >> 2]; - $$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E19parseIntegerLiteralENS_10StringViewE($56, $$byval_copy16) | 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 1; + $call56 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp57, 53112); + HEAP32[$agg$tmp111$byval_copy >> 2] = HEAP32[$agg$tmp57 >> 2]; + HEAP32[$agg$tmp111$byval_copy + 4 >> 2] = HEAP32[$agg$tmp57 + 4 >> 2]; + $retval$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E19parseIntegerLiteralENS_10StringViewE($call56, $agg$tmp111$byval_copy) | 0; break L1; break; } case 108: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 1; - $60 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($11, 59195); - HEAP32[$$byval_copy16 >> 2] = HEAP32[$11 >> 2]; - HEAP32[$$byval_copy16 + 4 >> 2] = HEAP32[$11 + 4 >> 2]; - $$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E19parseIntegerLiteralENS_10StringViewE($60, $$byval_copy16) | 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 1; + $call62 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp63, 60037); + HEAP32[$agg$tmp111$byval_copy >> 2] = HEAP32[$agg$tmp63 >> 2]; + HEAP32[$agg$tmp111$byval_copy + 4 >> 2] = HEAP32[$agg$tmp63 + 4 >> 2]; + $retval$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E19parseIntegerLiteralENS_10StringViewE($call62, $agg$tmp111$byval_copy) | 0; break L1; break; } case 109: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 1; - $64 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($12, 52272); - HEAP32[$$byval_copy16 >> 2] = HEAP32[$12 >> 2]; - HEAP32[$$byval_copy16 + 4 >> 2] = HEAP32[$12 + 4 >> 2]; - $$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E19parseIntegerLiteralENS_10StringViewE($64, $$byval_copy16) | 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 1; + $call68 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp69, 53114); + HEAP32[$agg$tmp111$byval_copy >> 2] = HEAP32[$agg$tmp69 >> 2]; + HEAP32[$agg$tmp111$byval_copy + 4 >> 2] = HEAP32[$agg$tmp69 + 4 >> 2]; + $retval$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E19parseIntegerLiteralENS_10StringViewE($call68, $agg$tmp111$byval_copy) | 0; break L1; break; } case 120: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 1; - $68 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($13, 59186); - HEAP32[$$byval_copy16 >> 2] = HEAP32[$13 >> 2]; - HEAP32[$$byval_copy16 + 4 >> 2] = HEAP32[$13 + 4 >> 2]; - $$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E19parseIntegerLiteralENS_10StringViewE($68, $$byval_copy16) | 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 1; + $call74 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp75, 60028); + HEAP32[$agg$tmp111$byval_copy >> 2] = HEAP32[$agg$tmp75 >> 2]; + HEAP32[$agg$tmp111$byval_copy + 4 >> 2] = HEAP32[$agg$tmp75 + 4 >> 2]; + $retval$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E19parseIntegerLiteralENS_10StringViewE($call74, $agg$tmp111$byval_copy) | 0; break L1; break; } case 121: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 1; - $72 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($14, 52275); - HEAP32[$$byval_copy16 >> 2] = HEAP32[$14 >> 2]; - HEAP32[$$byval_copy16 + 4 >> 2] = HEAP32[$14 + 4 >> 2]; - $$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E19parseIntegerLiteralENS_10StringViewE($72, $$byval_copy16) | 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 1; + $call80 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp81, 53117); + HEAP32[$agg$tmp111$byval_copy >> 2] = HEAP32[$agg$tmp81 >> 2]; + HEAP32[$agg$tmp111$byval_copy + 4 >> 2] = HEAP32[$agg$tmp81 + 4 >> 2]; + $retval$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E19parseIntegerLiteralENS_10StringViewE($call80, $agg$tmp111$byval_copy) | 0; break L1; break; } case 110: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 1; - $76 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($15, 51460); - HEAP32[$$byval_copy16 >> 2] = HEAP32[$15 >> 2]; - HEAP32[$$byval_copy16 + 4 >> 2] = HEAP32[$15 + 4 >> 2]; - $$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E19parseIntegerLiteralENS_10StringViewE($76, $$byval_copy16) | 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 1; + $call86 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp87, 52302); + HEAP32[$agg$tmp111$byval_copy >> 2] = HEAP32[$agg$tmp87 >> 2]; + HEAP32[$agg$tmp111$byval_copy + 4 >> 2] = HEAP32[$agg$tmp87 + 4 >> 2]; + $retval$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E19parseIntegerLiteralENS_10StringViewE($call86, $agg$tmp111$byval_copy) | 0; break L1; break; } case 111: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 1; - $80 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($16, 51469); - HEAP32[$$byval_copy16 >> 2] = HEAP32[$16 >> 2]; - HEAP32[$$byval_copy16 + 4 >> 2] = HEAP32[$16 + 4 >> 2]; - $$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E19parseIntegerLiteralENS_10StringViewE($80, $$byval_copy16) | 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 1; + $call92 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp93, 52311); + HEAP32[$agg$tmp111$byval_copy >> 2] = HEAP32[$agg$tmp93 >> 2]; + HEAP32[$agg$tmp111$byval_copy + 4 >> 2] = HEAP32[$agg$tmp93 + 4 >> 2]; + $retval$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E19parseIntegerLiteralENS_10StringViewE($call92, $agg$tmp111$byval_copy) | 0; break L1; break; } case 102: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 1; - $$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E20parseFloatingLiteralIfEEPNS0_4NodeEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0) | 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 1; + $retval$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E20parseFloatingLiteralIfEEPNS0_4NodeEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0) | 0; break L1; break; } case 100: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 1; - $$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E20parseFloatingLiteralIdEEPNS0_4NodeEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0) | 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 1; + $retval$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E20parseFloatingLiteralIdEEPNS0_4NodeEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0) | 0; break L1; break; } case 101: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 1; - $$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E20parseFloatingLiteralIeEEPNS0_4NodeEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0) | 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 1; + $retval$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E20parseFloatingLiteralIeEEPNS0_4NodeEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0) | 0; break L1; break; } case 95: { - __ZN12_GLOBAL__N_110StringViewC2EPKc($17, 51394); - HEAP32[$$byval_copy16 >> 2] = HEAP32[$17 >> 2]; - HEAP32[$$byval_copy16 + 4 >> 2] = HEAP32[$17 + 4 >> 2]; - if (!(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($0, $$byval_copy16) | 0)) { - $$3 = 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp111, 52236); + HEAP32[$agg$tmp111$byval_copy >> 2] = HEAP32[$agg$tmp111 >> 2]; + HEAP32[$agg$tmp111$byval_copy + 4 >> 2] = HEAP32[$agg$tmp111 + 4 >> 2]; + if (!(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($this, $agg$tmp111$byval_copy) | 0)) { + $retval$3 = 0; break L1; } - $96 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E13parseEncodingEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0) | 0; - if ($96 | 0 ? __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($0, 69) | 0 : 0) { - $$3 = $96; + $call115 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E13parseEncodingEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0) | 0; + if ($call115 | 0 ? __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($this, 69) | 0 : 0) { + $retval$3 = $call115; break L1; } - $$3 = 0; + $retval$3 = 0; break L1; break; } default: { - $100 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseTypeEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0) | 0; - HEAP32[$$byval_copy16 >> 2] = $100; - if (!$100) $$2 = 0; else { - __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E11parseNumberEb($18, $0, 0); - $102 = __ZNK12_GLOBAL__N_110StringView5emptyEv($18) | 0; - $103 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($0, 69) | 0; - if (!$102) if ($103) $$1 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_15IntegerCastExprEJRPNS0_4NodeERNS_10StringViewEEEES9_DpOT0_($0, $$byval_copy16, $18) | 0; else $$1 = 0; else $$1 = $103 ? $100 : 0; - $$2 = $$1; - } - $$3 = $$2; + $call122 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseTypeEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0) | 0; + HEAP32[$agg$tmp111$byval_copy >> 2] = $call122; + if (!$call122) $retval$2 = 0; else { + __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E11parseNumberEb($N, $this, 0); + $call126 = __ZNK12_GLOBAL__N_110StringView5emptyEv($N) | 0; + $call133 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($this, 69) | 0; + if (!$call126) if ($call133) $retval$1 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_15IntegerCastExprEJRPNS0_4NodeERNS_10StringViewEEEES9_DpOT0_($this, $agg$tmp111$byval_copy, $N) | 0; else $retval$1 = 0; else $retval$1 = $call133 ? $call122 : 0; + $retval$2 = $retval$1; + } + $retval$3 = $retval$2; break L1; } - } while (0); else $$3 = 0; while (0); - STACKTOP = sp; - return $$3 | 0; -} - -function __ZN6vision20SamplePyramidFREAK84EPfPKNS_25GaussianScaleSpacePyramidERKNS_12FeaturePointEPKfS8_S8_S8_S8_S8_ffffffff($0, $1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - $6 = $6 | 0; - $7 = $7 | 0; - $8 = $8 | 0; - $9 = +$9; - $10 = +$10; - $11 = +$11; - $12 = +$12; - $13 = +$13; - $14 = +$14; - $15 = +$15; - $16 = +$16; - var $$0 = 0.0, $111 = 0.0, $117 = 0.0, $124 = 0.0, $131 = 0.0, $138 = 0.0, $145 = 0.0, $152 = 0.0, $159 = 0.0, $166 = 0.0, $17 = 0, $173 = 0.0, $18 = 0, $180 = 0.0, $187 = 0.0, $19 = 0, $194 = 0.0, $20 = 0, $201 = 0.0, $208 = 0.0, $21 = 0, $215 = 0.0, $22 = 0, $222 = 0.0, $229 = 0.0, $23 = 0, $236 = 0.0, $24 = 0, $243 = 0.0, $25 = 0, $250 = 0.0, $257 = 0.0, $264 = 0.0, $271 = 0.0, $278 = 0.0, $28 = 0.0, $285 = 0.0, $292 = 0.0, $299 = 0.0, $306 = 0.0, $313 = 0.0, $320 = 0.0, $327 = 0.0, $334 = 0.0, $341 = 0.0, $348 = 0.0, $355 = 0.0, $359 = 0.0, $36 = 0.0, $38 = 0.0, $39 = 0, $41 = 0, $43 = 0, $45 = 0, $47 = 0, $49 = 0, $51 = 0, $53 = 0, $55 = 0, $57 = 0, $59 = 0, $61 = 0, $63 = 0, $65 = 0, $67 = 0, $69 = 0, $71 = 0, $73 = 0, $75 = 0, $77 = 0, $79 = 0, $81 = 0, $83 = 0, $85 = 0, $87 = 0, $89 = 0, $91 = 0, $93 = 0, $95 = 0, $97 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 336 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(336); - $17 = sp + 288 | 0; - $18 = sp + 240 | 0; - $19 = sp + 192 | 0; - $20 = sp + 144 | 0; - $21 = sp + 96 | 0; - $22 = sp + 48 | 0; - $23 = sp; - $24 = sp + 328 | 0; - $25 = sp + 324 | 0; - $28 = +HEAPF32[$2 + 12 >> 2] * $16; - $$0 = $28 < 1.0 ? 1.0 : $28; - __ZN6vision10SimilarityIfEEvPT_S1_S1_S1_S1_($17, +HEAPF32[$2 >> 2], +HEAPF32[$2 + 4 >> 2], +HEAPF32[$2 + 8 >> 2], $$0); - $36 = +HEAPF32[$17 + 8 >> 2]; - $38 = +HEAPF32[$17 + 20 >> 2]; - __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_($18, $17, $3); - $39 = $18 + 8 | 0; - __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_($39, $17, $3 + 8 | 0); - $41 = $18 + 16 | 0; - __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_($41, $17, $3 + 16 | 0); - $43 = $18 + 24 | 0; - __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_($43, $17, $3 + 24 | 0); - $45 = $18 + 32 | 0; - __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_($45, $17, $3 + 32 | 0); - $47 = $18 + 40 | 0; - __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_($47, $17, $3 + 40 | 0); - __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_($19, $17, $4); - $49 = $19 + 8 | 0; - __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_($49, $17, $4 + 8 | 0); - $51 = $19 + 16 | 0; - __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_($51, $17, $4 + 16 | 0); - $53 = $19 + 24 | 0; - __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_($53, $17, $4 + 24 | 0); - $55 = $19 + 32 | 0; - __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_($55, $17, $4 + 32 | 0); - $57 = $19 + 40 | 0; - __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_($57, $17, $4 + 40 | 0); - __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_($20, $17, $5); - $59 = $20 + 8 | 0; - __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_($59, $17, $5 + 8 | 0); - $61 = $20 + 16 | 0; - __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_($61, $17, $5 + 16 | 0); - $63 = $20 + 24 | 0; - __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_($63, $17, $5 + 24 | 0); - $65 = $20 + 32 | 0; - __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_($65, $17, $5 + 32 | 0); - $67 = $20 + 40 | 0; - __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_($67, $17, $5 + 40 | 0); - __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_($21, $17, $6); - $69 = $21 + 8 | 0; - __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_($69, $17, $6 + 8 | 0); - $71 = $21 + 16 | 0; - __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_($71, $17, $6 + 16 | 0); - $73 = $21 + 24 | 0; - __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_($73, $17, $6 + 24 | 0); - $75 = $21 + 32 | 0; - __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_($75, $17, $6 + 32 | 0); - $77 = $21 + 40 | 0; - __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_($77, $17, $6 + 40 | 0); - __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_($22, $17, $7); - $79 = $22 + 8 | 0; - __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_($79, $17, $7 + 8 | 0); - $81 = $22 + 16 | 0; - __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_($81, $17, $7 + 16 | 0); - $83 = $22 + 24 | 0; - __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_($83, $17, $7 + 24 | 0); - $85 = $22 + 32 | 0; - __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_($85, $17, $7 + 32 | 0); - $87 = $22 + 40 | 0; - __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_($87, $17, $7 + 40 | 0); - __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_($23, $17, $8); - $89 = $23 + 8 | 0; - __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_($89, $17, $8 + 8 | 0); - $91 = $23 + 16 | 0; - __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_($91, $17, $8 + 16 | 0); - $93 = $23 + 24 | 0; - __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_($93, $17, $8 + 24 | 0); - $95 = $23 + 32 | 0; - __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_($95, $17, $8 + 32 | 0); - $97 = $23 + 40 | 0; - __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_($97, $17, $8 + 40 | 0); - __ZNK6vision25GaussianScaleSpacePyramid6locateERiS1_f($1, $24, $25, $$0 * $15); - $111 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii($1, +HEAPF32[$23 >> 2], +HEAPF32[$23 + 4 >> 2], HEAP32[$24 >> 2] | 0, HEAP32[$25 >> 2] | 0); - HEAPF32[$0 >> 2] = $111; - $117 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii($1, +HEAPF32[$89 >> 2], +HEAPF32[$23 + 12 >> 2], HEAP32[$24 >> 2] | 0, HEAP32[$25 >> 2] | 0); - HEAPF32[$0 + 4 >> 2] = $117; - $124 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii($1, +HEAPF32[$91 >> 2], +HEAPF32[$23 + 20 >> 2], HEAP32[$24 >> 2] | 0, HEAP32[$25 >> 2] | 0); - HEAPF32[$0 + 8 >> 2] = $124; - $131 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii($1, +HEAPF32[$93 >> 2], +HEAPF32[$23 + 28 >> 2], HEAP32[$24 >> 2] | 0, HEAP32[$25 >> 2] | 0); - HEAPF32[$0 + 12 >> 2] = $131; - $138 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii($1, +HEAPF32[$95 >> 2], +HEAPF32[$23 + 36 >> 2], HEAP32[$24 >> 2] | 0, HEAP32[$25 >> 2] | 0); - HEAPF32[$0 + 16 >> 2] = $138; - $145 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii($1, +HEAPF32[$97 >> 2], +HEAPF32[$23 + 44 >> 2], HEAP32[$24 >> 2] | 0, HEAP32[$25 >> 2] | 0); - HEAPF32[$0 + 20 >> 2] = $145; - __ZNK6vision25GaussianScaleSpacePyramid6locateERiS1_f($1, $24, $25, $$0 * $14); - $152 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii($1, +HEAPF32[$22 >> 2], +HEAPF32[$22 + 4 >> 2], HEAP32[$24 >> 2] | 0, HEAP32[$25 >> 2] | 0); - HEAPF32[$0 + 24 >> 2] = $152; - $159 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii($1, +HEAPF32[$79 >> 2], +HEAPF32[$22 + 12 >> 2], HEAP32[$24 >> 2] | 0, HEAP32[$25 >> 2] | 0); - HEAPF32[$0 + 28 >> 2] = $159; - $166 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii($1, +HEAPF32[$81 >> 2], +HEAPF32[$22 + 20 >> 2], HEAP32[$24 >> 2] | 0, HEAP32[$25 >> 2] | 0); - HEAPF32[$0 + 32 >> 2] = $166; - $173 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii($1, +HEAPF32[$83 >> 2], +HEAPF32[$22 + 28 >> 2], HEAP32[$24 >> 2] | 0, HEAP32[$25 >> 2] | 0); - HEAPF32[$0 + 36 >> 2] = $173; - $180 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii($1, +HEAPF32[$85 >> 2], +HEAPF32[$22 + 36 >> 2], HEAP32[$24 >> 2] | 0, HEAP32[$25 >> 2] | 0); - HEAPF32[$0 + 40 >> 2] = $180; - $187 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii($1, +HEAPF32[$87 >> 2], +HEAPF32[$22 + 44 >> 2], HEAP32[$24 >> 2] | 0, HEAP32[$25 >> 2] | 0); - HEAPF32[$0 + 44 >> 2] = $187; - __ZNK6vision25GaussianScaleSpacePyramid6locateERiS1_f($1, $24, $25, $$0 * $13); - $194 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii($1, +HEAPF32[$21 >> 2], +HEAPF32[$21 + 4 >> 2], HEAP32[$24 >> 2] | 0, HEAP32[$25 >> 2] | 0); - HEAPF32[$0 + 48 >> 2] = $194; - $201 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii($1, +HEAPF32[$69 >> 2], +HEAPF32[$21 + 12 >> 2], HEAP32[$24 >> 2] | 0, HEAP32[$25 >> 2] | 0); - HEAPF32[$0 + 52 >> 2] = $201; - $208 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii($1, +HEAPF32[$71 >> 2], +HEAPF32[$21 + 20 >> 2], HEAP32[$24 >> 2] | 0, HEAP32[$25 >> 2] | 0); - HEAPF32[$0 + 56 >> 2] = $208; - $215 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii($1, +HEAPF32[$73 >> 2], +HEAPF32[$21 + 28 >> 2], HEAP32[$24 >> 2] | 0, HEAP32[$25 >> 2] | 0); - HEAPF32[$0 + 60 >> 2] = $215; - $222 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii($1, +HEAPF32[$75 >> 2], +HEAPF32[$21 + 36 >> 2], HEAP32[$24 >> 2] | 0, HEAP32[$25 >> 2] | 0); - HEAPF32[$0 + 64 >> 2] = $222; - $229 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii($1, +HEAPF32[$77 >> 2], +HEAPF32[$21 + 44 >> 2], HEAP32[$24 >> 2] | 0, HEAP32[$25 >> 2] | 0); - HEAPF32[$0 + 68 >> 2] = $229; - __ZNK6vision25GaussianScaleSpacePyramid6locateERiS1_f($1, $24, $25, $$0 * $12); - $236 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii($1, +HEAPF32[$20 >> 2], +HEAPF32[$20 + 4 >> 2], HEAP32[$24 >> 2] | 0, HEAP32[$25 >> 2] | 0); - HEAPF32[$0 + 72 >> 2] = $236; - $243 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii($1, +HEAPF32[$59 >> 2], +HEAPF32[$20 + 12 >> 2], HEAP32[$24 >> 2] | 0, HEAP32[$25 >> 2] | 0); - HEAPF32[$0 + 76 >> 2] = $243; - $250 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii($1, +HEAPF32[$61 >> 2], +HEAPF32[$20 + 20 >> 2], HEAP32[$24 >> 2] | 0, HEAP32[$25 >> 2] | 0); - HEAPF32[$0 + 80 >> 2] = $250; - $257 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii($1, +HEAPF32[$63 >> 2], +HEAPF32[$20 + 28 >> 2], HEAP32[$24 >> 2] | 0, HEAP32[$25 >> 2] | 0); - HEAPF32[$0 + 84 >> 2] = $257; - $264 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii($1, +HEAPF32[$65 >> 2], +HEAPF32[$20 + 36 >> 2], HEAP32[$24 >> 2] | 0, HEAP32[$25 >> 2] | 0); - HEAPF32[$0 + 88 >> 2] = $264; - $271 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii($1, +HEAPF32[$67 >> 2], +HEAPF32[$20 + 44 >> 2], HEAP32[$24 >> 2] | 0, HEAP32[$25 >> 2] | 0); - HEAPF32[$0 + 92 >> 2] = $271; - __ZNK6vision25GaussianScaleSpacePyramid6locateERiS1_f($1, $24, $25, $$0 * $11); - $278 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii($1, +HEAPF32[$19 >> 2], +HEAPF32[$19 + 4 >> 2], HEAP32[$24 >> 2] | 0, HEAP32[$25 >> 2] | 0); - HEAPF32[$0 + 96 >> 2] = $278; - $285 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii($1, +HEAPF32[$49 >> 2], +HEAPF32[$19 + 12 >> 2], HEAP32[$24 >> 2] | 0, HEAP32[$25 >> 2] | 0); - HEAPF32[$0 + 100 >> 2] = $285; - $292 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii($1, +HEAPF32[$51 >> 2], +HEAPF32[$19 + 20 >> 2], HEAP32[$24 >> 2] | 0, HEAP32[$25 >> 2] | 0); - HEAPF32[$0 + 104 >> 2] = $292; - $299 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii($1, +HEAPF32[$53 >> 2], +HEAPF32[$19 + 28 >> 2], HEAP32[$24 >> 2] | 0, HEAP32[$25 >> 2] | 0); - HEAPF32[$0 + 108 >> 2] = $299; - $306 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii($1, +HEAPF32[$55 >> 2], +HEAPF32[$19 + 36 >> 2], HEAP32[$24 >> 2] | 0, HEAP32[$25 >> 2] | 0); - HEAPF32[$0 + 112 >> 2] = $306; - $313 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii($1, +HEAPF32[$57 >> 2], +HEAPF32[$19 + 44 >> 2], HEAP32[$24 >> 2] | 0, HEAP32[$25 >> 2] | 0); - HEAPF32[$0 + 116 >> 2] = $313; - __ZNK6vision25GaussianScaleSpacePyramid6locateERiS1_f($1, $24, $25, $$0 * $10); - $320 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii($1, +HEAPF32[$18 >> 2], +HEAPF32[$18 + 4 >> 2], HEAP32[$24 >> 2] | 0, HEAP32[$25 >> 2] | 0); - HEAPF32[$0 + 120 >> 2] = $320; - $327 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii($1, +HEAPF32[$39 >> 2], +HEAPF32[$18 + 12 >> 2], HEAP32[$24 >> 2] | 0, HEAP32[$25 >> 2] | 0); - HEAPF32[$0 + 124 >> 2] = $327; - $334 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii($1, +HEAPF32[$41 >> 2], +HEAPF32[$18 + 20 >> 2], HEAP32[$24 >> 2] | 0, HEAP32[$25 >> 2] | 0); - HEAPF32[$0 + 128 >> 2] = $334; - $341 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii($1, +HEAPF32[$43 >> 2], +HEAPF32[$18 + 28 >> 2], HEAP32[$24 >> 2] | 0, HEAP32[$25 >> 2] | 0); - HEAPF32[$0 + 132 >> 2] = $341; - $348 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii($1, +HEAPF32[$45 >> 2], +HEAPF32[$18 + 36 >> 2], HEAP32[$24 >> 2] | 0, HEAP32[$25 >> 2] | 0); - HEAPF32[$0 + 136 >> 2] = $348; - $355 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii($1, +HEAPF32[$47 >> 2], +HEAPF32[$18 + 44 >> 2], HEAP32[$24 >> 2] | 0, HEAP32[$25 >> 2] | 0); - HEAPF32[$0 + 140 >> 2] = $355; - __ZNK6vision25GaussianScaleSpacePyramid6locateERiS1_f($1, $24, $25, $$0 * $9); - $359 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii($1, $36, $38, HEAP32[$24 >> 2] | 0, HEAP32[$25 >> 2] | 0); - HEAPF32[$0 + 144 >> 2] = $359; + } while (0); else $retval$3 = 0; while (0); STACKTOP = sp; - return 1; + return $retval$3 | 0; } -function _ar2TrackingMod($ar2Handle, $surfaceSet, $dataPtr, $trans, $err) { - $ar2Handle = $ar2Handle | 0; - $surfaceSet = $surfaceSet | 0; - $dataPtr = $dataPtr | 0; - $trans = $trans | 0; - $err = $err | 0; - var $27 = 0, $38 = 0, $arraydecay = 0, $arraydecay13 = 0, $arraydecay222 = 0, $arraydecay224 = 0, $arraydecay23 = 0, $arraydecay279 = 0, $arraydecay281 = 0, $arraydecay34 = 0, $arraydecay35 = 0, $arraydecay40 = 0, $arraydecay42 = 0, $arraydecay45$pre$phiZ2D = 0, $arraydecay50 = 0, $arraydecay51 = 0, $arraydecay60$pre$phiZ2D = 0, $arrayidx206 = 0, $arrayidx208 = 0, $arrayidx69 = 0, $call104 = 0, $call225 = 0.0, $call235 = 0.0, $call246 = 0.0, $call257 = 0.0, $call268 = 0.0, $call282 = 0.0, $call290 = 0.0, $call298 = 0.0, $call306 = 0.0, $call314 = 0.0, $call54 = 0, $call67 = 0, $candidatePtr$0 = 0, $candidatePtr$1 = 0, $candidatePtr$2 = 0, $candidatePtr$3 = 0, $cmp216 = 0, $contNum = 0, $cp = 0, $cparamLT = 0, $cparamLT115$pre$phiZ2D = 0, $i$0 = 0, $i$1 = 0, $i$2 = 0, $i$3 = 0, $i$4 = 0, $i$5 = 0, $i$6 = 0, $icpHandle = 0, $inc91 = 0, $j$0 = 0, $j$1 = 0, $j$2 = 0, $j$3 = 0, $j$4 = 0, $k$0 = 0, $num$0 = 0, $num$1 = 0, $num$2 = 0, $num2$0 = 0, $num5 = 0, $pos2d0 = 0, $pos2d1 = 0, $result = 0, $retval$0 = 0, $searchFeatureNum = 0, $simThresh = 0, $threadNum = 0, $trackingThresh = 0, $trackingThresh283 = 0, $xsize = 0, $xsize52$pre$phiZ2D = 0, $ysize = 0, $ysize53$pre$phiZ2D = 0, sp = 0; +function _decode_mcu($cinfo, $MCU_data) { + $cinfo = $cinfo | 0; + $MCU_data = $MCU_data | 0; + var $$in = 0, $0 = 0, $12 = 0, $13 = 0, $15 = 0, $16 = 0, $17 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $27 = 0, $28 = 0, $31 = 0, $35 = 0, $36 = 0, $37 = 0, $4 = 0, $43 = 0, $48 = 0, $49 = 0, $50 = 0, $57 = 0, $59 = 0, $add = 0, $add127 = 0, $and = 0, $and100 = 0, $and124 = 0, $and141 = 0, $and200 = 0, $and224 = 0, $and64 = 0, $arrayidx73 = 0, $bits_left$0$lcssa = 0, $bits_left$0201 = 0, $bits_left$1 = 0, $bits_left$11$ph = 0, $bits_left$12 = 0, $bits_left$13 = 0, $bits_left$14 = 0, $bits_left$16194 = 0, $bits_left$16194$ph = 0, $bits_left$17 = 0, $bits_left$18 = 0, $bits_left$2 = 0, $bits_left$20$ph = 0, $bits_left$21 = 0, $bits_left$22 = 0, $bits_left$24 = 0, $bits_left$4$ph = 0, $bits_left$5 = 0, $bits_left$6 = 0, $bits_left$7188 = 0, $bits_left$8 = 0, $bits_left$9 = 0, $bits_left$i$i = 0, $bits_left15 = 0, $bits_left25 = 0, $blkn$0203 = 0, $blocks_in_MCU = 0, $br_state = 0, $bytes_in_buffer12 = 0, $call111 = 0, $call211 = 0, $call35 = 0, $ci$014$i = 0, $comps_in_scan$i = 0, $discarded_bytes$i$i = 0, $get_buffer$0$lcssa = 0, $get_buffer$0202 = 0, $get_buffer$1 = 0, $get_buffer$11$ph = 0, $get_buffer$12 = 0, $get_buffer$13 = 0, $get_buffer$14 = 0, $get_buffer$16195 = 0, $get_buffer$16195$ph = 0, $get_buffer$17 = 0, $get_buffer$18 = 0, $get_buffer$2 = 0, $get_buffer$20$ph = 0, $get_buffer$21 = 0, $get_buffer$22 = 0, $get_buffer$24 = 0, $get_buffer$4$ph = 0, $get_buffer$5 = 0, $get_buffer$6 = 0, $get_buffer$7189 = 0, $get_buffer$8 = 0, $get_buffer$9 = 0, $get_buffer13 = 0, $get_buffer24 = 0, $k$0187 = 0, $k$1 = 0, $k$3193 = 0, $k$3193$ph = 0, $nb$0 = 0, $nb182$0 = 0, $nb82$0 = 0, $restart_interval = 0, $restarts_to_go = 0, $restarts_to_go273 = 0, $retval$9 = 0, $s$11$ph = 0, $s$2$ph = 0, $s$3 = 0, $s$6$ph = 0, $saved = 0, $shr123170 = 0, $shr223$pn = 0, $shr223169 = 0, $src = 0, $state = 0, $sub138 = 0, $sub61 = 0, $tobool49 = 0, label = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 48 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); - $cp = sp; - $pos2d0 = sp + 40 | 0; - $pos2d1 = sp + 32 | 0; - L1 : do if (($ar2Handle | 0) != 0 & ($surfaceSet | 0) != 0 & ($dataPtr | 0) != 0 & ($trans | 0) != 0 & ($err | 0) != 0) { - $contNum = $surfaceSet + 152 | 0; - if ((HEAP32[$contNum >> 2] | 0) < 1) $retval$0 = -2; else { - HEAPF32[$err >> 2] = 0.0; - $num5 = $surfaceSet + 4 | 0; - $arraydecay = $surfaceSet + 8 | 0; - $arraydecay13 = $surfaceSet + 56 | 0; - $arraydecay23 = $surfaceSet + 104 | 0; - $i$0 = 0; - while (1) { - if (($i$0 | 0) >= (HEAP32[$num5 >> 2] | 0)) break; - _arUtilMatMulf($arraydecay, (HEAP32[$surfaceSet >> 2] | 0) + ($i$0 * 112 | 0) + 12 | 0, $ar2Handle + 48 + ($i$0 * 48 | 0) | 0) | 0; - if ((HEAP32[$contNum >> 2] | 0) > 1 ? (_arUtilMatMulf($arraydecay13, (HEAP32[$surfaceSet >> 2] | 0) + ($i$0 * 112 | 0) + 12 | 0, $ar2Handle + 528 + ($i$0 * 48 | 0) | 0) | 0, (HEAP32[$contNum >> 2] | 0) > 2) : 0) _arUtilMatMulf($arraydecay23, (HEAP32[$surfaceSet >> 2] | 0) + ($i$0 * 112 | 0) + 12 | 0, $ar2Handle + 1008 + ($i$0 * 48 | 0) | 0) | 0; - $i$0 = $i$0 + 1 | 0; - } - if ((HEAP32[$ar2Handle >> 2] | 0) == 1) { - $cparamLT = $ar2Handle + 12 | 0; - $arraydecay34 = $ar2Handle + 2672 | 0; - $arraydecay35 = $ar2Handle + 7496 | 0; - _extractVisibleFeatures_171(HEAP32[$cparamLT >> 2] | 0, $ar2Handle + 48 | 0, $surfaceSet, $arraydecay34, $arraydecay35); - $arraydecay45$pre$phiZ2D = $arraydecay34; - $arraydecay60$pre$phiZ2D = $arraydecay35; - $cparamLT115$pre$phiZ2D = $cparamLT; - $xsize52$pre$phiZ2D = $ar2Handle + 4 | 0; - $ysize53$pre$phiZ2D = $ar2Handle + 8 | 0; - } else { - $xsize = $ar2Handle + 4 | 0; - $ysize = $ar2Handle + 8 | 0; - $arraydecay40 = $ar2Handle + 2672 | 0; - $arraydecay42 = $ar2Handle + 7496 | 0; - _extractVisibleFeaturesHomography_172(HEAP32[$xsize >> 2] | 0, HEAP32[$ysize >> 2] | 0, $ar2Handle + 48 | 0, $surfaceSet, $arraydecay40, $arraydecay42); - $arraydecay45$pre$phiZ2D = $arraydecay40; - $arraydecay60$pre$phiZ2D = $arraydecay42; - $cparamLT115$pre$phiZ2D = $ar2Handle + 12 | 0; - $xsize52$pre$phiZ2D = $xsize; - $ysize53$pre$phiZ2D = $ysize; - } - $searchFeatureNum = $ar2Handle + 36 | 0; - $threadNum = $ar2Handle + 13280 | 0; - $arraydecay50 = $surfaceSet + 156 | 0; - $arraydecay51 = $ar2Handle + 1488 | 0; - $simThresh = $ar2Handle + 40 | 0; - $candidatePtr$0 = $arraydecay45$pre$phiZ2D; - $i$1 = 0; - $num$0 = 0; - while (1) { - if (($i$1 | 0) >= (HEAP32[$searchFeatureNum >> 2] | 0)) break; - $candidatePtr$1 = $candidatePtr$0; - $i$2 = $i$1; - $j$0 = 0; - $num2$0 = $num$0; - while (1) { - if (($j$0 | 0) >= (HEAP32[$threadNum >> 2] | 0)) { - $candidatePtr$3 = $candidatePtr$1; + $br_state = sp + 20 | 0; + $state = sp; + $0 = HEAP32[$cinfo + 468 >> 2] | 0; + $restart_interval = $cinfo + 280 | 0; + if (HEAP32[$restart_interval >> 2] | 0 ? ($restarts_to_go = $0 + 44 | 0, (HEAP32[$restarts_to_go >> 2] | 0) == 0) : 0) { + $bits_left$i$i = $0 + 16 | 0; + $4 = HEAP32[$cinfo + 464 >> 2] | 0; + $discarded_bytes$i$i = $4 + 24 | 0; + HEAP32[$discarded_bytes$i$i >> 2] = (HEAP32[$discarded_bytes$i$i >> 2] | 0) + ((HEAP32[$bits_left$i$i >> 2] | 0) / 8 | 0); + HEAP32[$bits_left$i$i >> 2] = 0; + if (!(FUNCTION_TABLE_ii[HEAP32[$4 + 8 >> 2] & 127]($cinfo) | 0)) { + $retval$9 = 0; + STACKTOP = sp; + return $retval$9 | 0; + } + $comps_in_scan$i = $cinfo + 340 | 0; + if ((HEAP32[$comps_in_scan$i >> 2] | 0) > 0) { + $ci$014$i = 0; + do { + HEAP32[$0 + 24 + ($ci$014$i << 2) >> 2] = 0; + $ci$014$i = $ci$014$i + 1 | 0; + } while (($ci$014$i | 0) < (HEAP32[$comps_in_scan$i >> 2] | 0)); + } + HEAP32[$0 + 20 >> 2] = 0; + HEAP32[$restarts_to_go >> 2] = HEAP32[$restart_interval >> 2]; + if (!(HEAP32[$cinfo + 440 >> 2] | 0)) HEAP32[$0 + 40 >> 2] = 0; + } + if (!(HEAP32[$0 + 40 >> 2] | 0)) { + HEAP32[$br_state + 16 >> 2] = $cinfo; + $src = $cinfo + 24 | 0; + $12 = HEAP32[$src >> 2] | 0; + $13 = HEAP32[$12 >> 2] | 0; + HEAP32[$br_state >> 2] = $13; + $15 = HEAP32[$12 + 4 >> 2] | 0; + $bytes_in_buffer12 = $br_state + 4 | 0; + HEAP32[$bytes_in_buffer12 >> 2] = $15; + $get_buffer13 = $0 + 12 | 0; + $16 = HEAP32[$get_buffer13 >> 2] | 0; + $bits_left15 = $0 + 16 | 0; + $17 = HEAP32[$bits_left15 >> 2] | 0; + $saved = $0 + 20 | 0; + HEAP32[$state >> 2] = HEAP32[$saved >> 2]; + HEAP32[$state + 4 >> 2] = HEAP32[$saved + 4 >> 2]; + HEAP32[$state + 8 >> 2] = HEAP32[$saved + 8 >> 2]; + HEAP32[$state + 12 >> 2] = HEAP32[$saved + 12 >> 2]; + HEAP32[$state + 16 >> 2] = HEAP32[$saved + 16 >> 2]; + $blocks_in_MCU = $cinfo + 368 | 0; + do if ((HEAP32[$blocks_in_MCU >> 2] | 0) > 0) { + $get_buffer24 = $br_state + 8 | 0; + $bits_left25 = $br_state + 12 | 0; + $bits_left$0201 = $17; + $blkn$0203 = 0; + $get_buffer$0202 = $16; + L18 : while (1) { + $19 = HEAP32[$MCU_data + ($blkn$0203 << 2) >> 2] | 0; + $20 = HEAP32[$0 + 100 + ($blkn$0203 << 2) >> 2] | 0; + if (($bits_left$0201 | 0) < 8) { + if (!(_jpeg_fill_bit_buffer($br_state, $get_buffer$0202, $bits_left$0201, 0) | 0)) { + $retval$9 = 0; + label = 67; break; } - if (($i$2 | 0) == (HEAP32[$searchFeatureNum >> 2] | 0)) { - $candidatePtr$3 = $candidatePtr$1; + $21 = HEAP32[$get_buffer24 >> 2] | 0; + $22 = HEAP32[$bits_left25 >> 2] | 0; + if (($22 | 0) < 8) { + $bits_left$2 = $22; + $get_buffer$2 = $21; + $nb$0 = 1; + label = 17; + } else { + $bits_left$1 = $22; + $get_buffer$1 = $21; + label = 15; + } + } else { + $bits_left$1 = $bits_left$0201; + $get_buffer$1 = $get_buffer$0202; + label = 15; + } + if ((label | 0) == 15) { + label = 0; + $and = $get_buffer$1 >> $bits_left$1 + -8 & 255; + $23 = HEAP32[$20 + 144 + ($and << 2) >> 2] | 0; + if (!$23) { + $bits_left$2 = $bits_left$1; + $get_buffer$2 = $get_buffer$1; + $nb$0 = 9; + label = 17; + } else { + $bits_left$4$ph = $bits_left$1 - $23 | 0; + $get_buffer$4$ph = $get_buffer$1; + $s$2$ph = HEAPU8[$20 + 1168 + $and >> 0] | 0; + } + } + if ((label | 0) == 17) { + label = 0; + $call35 = _jpeg_huff_decode($br_state, $get_buffer$2, $bits_left$2, $20, $nb$0) | 0; + if (($call35 | 0) < 0) { + $retval$9 = 0; + label = 67; break; } - $call54 = _ar2SelectTemplate($candidatePtr$1, $arraydecay50, $num2$0, $arraydecay51, HEAP32[$xsize52$pre$phiZ2D >> 2] | 0, HEAP32[$ysize53$pre$phiZ2D >> 2] | 0) | 0; - if (($call54 | 0) < 0) { - if (($candidatePtr$1 | 0) != ($arraydecay45$pre$phiZ2D | 0)) { - $candidatePtr$3 = $candidatePtr$1; - break; + $bits_left$4$ph = HEAP32[$bits_left25 >> 2] | 0; + $get_buffer$4$ph = HEAP32[$get_buffer24 >> 2] | 0; + $s$2$ph = $call35; + } + $27 = HEAP32[$0 + 140 + ($blkn$0203 << 2) >> 2] | 0; + $28 = HEAP32[$0 + 180 + ($blkn$0203 << 2) >> 2] | 0; + $tobool49 = ($s$2$ph | 0) != 0; + L30 : do if (!$28) if ($tobool49) { + if (($bits_left$4$ph | 0) < ($s$2$ph | 0)) { + if (!(_jpeg_fill_bit_buffer($br_state, $get_buffer$4$ph, $bits_left$4$ph, $s$2$ph) | 0)) { + $retval$9 = 0; + label = 67; + break L18; } - $call67 = _ar2SelectTemplate($arraydecay60$pre$phiZ2D, $arraydecay50, $num2$0, $arraydecay51, HEAP32[$xsize52$pre$phiZ2D >> 2] | 0, HEAP32[$ysize53$pre$phiZ2D >> 2] | 0) | 0; - if (($call67 | 0) < 0) { - $candidatePtr$3 = $arraydecay60$pre$phiZ2D; - break; + $bits_left$14 = HEAP32[$bits_left25 >> 2] | 0; + $get_buffer$14 = HEAP32[$get_buffer24 >> 2] | 0; + } else { + $bits_left$14 = $bits_left$4$ph; + $get_buffer$14 = $get_buffer$4$ph; + } + $bits_left$16194$ph = $bits_left$14 - $s$2$ph | 0; + $get_buffer$16195$ph = $get_buffer$14; + $k$3193$ph = 1; + label = 48; + } else { + $bits_left$16194$ph = $bits_left$4$ph; + $get_buffer$16195$ph = $get_buffer$4$ph; + $k$3193$ph = 1; + label = 48; + } else { + if ($tobool49) { + if (($bits_left$4$ph | 0) < ($s$2$ph | 0)) { + if (!(_jpeg_fill_bit_buffer($br_state, $get_buffer$4$ph, $bits_left$4$ph, $s$2$ph) | 0)) { + $retval$9 = 0; + label = 67; + break L18; + } + $bits_left$5 = HEAP32[$bits_left25 >> 2] | 0; + $get_buffer$5 = HEAP32[$get_buffer24 >> 2] | 0; + } else { + $bits_left$5 = $bits_left$4$ph; + $get_buffer$5 = $get_buffer$4$ph; + } + $sub61 = $bits_left$5 - $s$2$ph | 0; + $31 = HEAP32[5184 + ($s$2$ph << 2) >> 2] | 0; + $and64 = $get_buffer$5 >> $sub61 & $31; + $bits_left$6 = $sub61; + $get_buffer$6 = $get_buffer$5; + $s$3 = $and64 - (($and64 | 0) > (HEAP32[5184 + ($s$2$ph + -1 << 2) >> 2] | 0) ? 0 : $31) | 0; + } else { + $bits_left$6 = $bits_left$4$ph; + $get_buffer$6 = $get_buffer$4$ph; + $s$3 = 0; + } + $arrayidx73 = $state + 4 + (HEAP32[$cinfo + 372 + ($blkn$0203 << 2) >> 2] << 2) | 0; + $add = (HEAP32[$arrayidx73 >> 2] | 0) + $s$3 | 0; + HEAP32[$arrayidx73 >> 2] = $add; + HEAP16[$19 >> 1] = $add; + if (($28 | 0) > 1) { + $bits_left$7188 = $bits_left$6; + $get_buffer$7189 = $get_buffer$6; + $k$0187 = 1; + while (1) { + if (($bits_left$7188 | 0) < 8) { + if (!(_jpeg_fill_bit_buffer($br_state, $get_buffer$7189, $bits_left$7188, 0) | 0)) { + $retval$9 = 0; + label = 67; + break L18; + } + $35 = HEAP32[$get_buffer24 >> 2] | 0; + $36 = HEAP32[$bits_left25 >> 2] | 0; + if (($36 | 0) < 8) { + $bits_left$9 = $36; + $get_buffer$9 = $35; + $nb82$0 = 1; + label = 32; + } else { + $bits_left$8 = $36; + $get_buffer$8 = $35; + label = 30; + } + } else { + $bits_left$8 = $bits_left$7188; + $get_buffer$8 = $get_buffer$7189; + label = 30; + } + if ((label | 0) == 30) { + label = 0; + $and100 = $get_buffer$8 >> $bits_left$8 + -8 & 255; + $37 = HEAP32[$27 + 144 + ($and100 << 2) >> 2] | 0; + if (!$37) { + $bits_left$9 = $bits_left$8; + $get_buffer$9 = $get_buffer$8; + $nb82$0 = 9; + label = 32; + } else { + $bits_left$11$ph = $bits_left$8 - $37 | 0; + $get_buffer$11$ph = $get_buffer$8; + $s$6$ph = HEAPU8[$27 + 1168 + $and100 >> 0] | 0; + } + } + if ((label | 0) == 32) { + label = 0; + $call111 = _jpeg_huff_decode($br_state, $get_buffer$9, $bits_left$9, $27, $nb82$0) | 0; + if (($call111 | 0) < 0) { + $retval$9 = 0; + label = 67; + break L18; + } + $bits_left$11$ph = HEAP32[$bits_left25 >> 2] | 0; + $get_buffer$11$ph = HEAP32[$get_buffer24 >> 2] | 0; + $s$6$ph = $call111; + } + $shr123170 = $s$6$ph >>> 4; + $and124 = $s$6$ph & 15; + if (!$and124) { + if (($shr123170 | 0) != 15) { + $bits_left$24 = $bits_left$11$ph; + $get_buffer$24 = $get_buffer$11$ph; + break L30; + } + $bits_left$13 = $bits_left$11$ph; + $get_buffer$13 = $get_buffer$11$ph; + $k$1 = $k$0187 + 15 | 0; + } else { + $add127 = $shr123170 + $k$0187 | 0; + if (($bits_left$11$ph | 0) < ($and124 | 0)) { + if (!(_jpeg_fill_bit_buffer($br_state, $get_buffer$11$ph, $bits_left$11$ph, $and124) | 0)) { + $retval$9 = 0; + label = 67; + break L18; + } + $bits_left$12 = HEAP32[$bits_left25 >> 2] | 0; + $get_buffer$12 = HEAP32[$get_buffer24 >> 2] | 0; + } else { + $bits_left$12 = $bits_left$11$ph; + $get_buffer$12 = $get_buffer$11$ph; + } + $sub138 = $bits_left$12 - $and124 | 0; + $43 = HEAP32[5184 + ($and124 << 2) >> 2] | 0; + $and141 = $get_buffer$12 >> $sub138 & $43; + HEAP16[$19 + (HEAP32[2064 + ($add127 << 2) >> 2] << 1) >> 1] = $and141 - (($and141 | 0) > (HEAP32[5184 + ($and124 + -1 << 2) >> 2] | 0) ? 0 : $43); + $bits_left$13 = $sub138; + $get_buffer$13 = $get_buffer$12; + $k$1 = $add127; + } + $k$0187 = $k$1 + 1 | 0; + if (($k$0187 | 0) >= ($28 | 0)) break; else { + $bits_left$7188 = $bits_left$13; + $get_buffer$7189 = $get_buffer$13; + } + } + if (($k$1 | 0) < 63) { + $bits_left$16194$ph = $bits_left$13; + $get_buffer$16195$ph = $get_buffer$13; + $k$3193$ph = $k$0187; + label = 48; } else { - $candidatePtr$2 = $arraydecay60$pre$phiZ2D; - $k$0 = $call67; + $bits_left$24 = $bits_left$13; + $get_buffer$24 = $get_buffer$13; } } else { - $candidatePtr$2 = $candidatePtr$1; - $k$0 = $call54; + $bits_left$16194$ph = $bits_left$6; + $get_buffer$16195$ph = $get_buffer$6; + $k$3193$ph = 1; + label = 48; } - $arrayidx69 = $candidatePtr$2 + ($k$0 * 24 | 0) | 0; - HEAP32[$cp + ($j$0 << 2) >> 2] = $arrayidx69; - HEAP32[$ar2Handle + 1488 + ($num2$0 << 3) >> 2] = HEAP32[$candidatePtr$2 + ($k$0 * 24 | 0) + 16 >> 2]; - HEAP32[$ar2Handle + 1488 + ($num2$0 << 3) + 4 >> 2] = HEAP32[$candidatePtr$2 + ($k$0 * 24 | 0) + 20 >> 2]; - HEAP32[$ar2Handle + 13284 + ($j$0 * 52 | 0) >> 2] = $ar2Handle; - HEAP32[$ar2Handle + 13284 + ($j$0 * 52 | 0) + 4 >> 2] = $surfaceSet; - HEAP32[$ar2Handle + 13284 + ($j$0 * 52 | 0) + 8 >> 2] = $arrayidx69; - HEAP32[$ar2Handle + 13284 + ($j$0 * 52 | 0) + 12 >> 2] = $dataPtr; - $inc91 = $num2$0 + 1 | 0; - $candidatePtr$1 = $candidatePtr$2; - $i$2 = $i$2 + 1 | 0; - $j$0 = $j$0 + 1 | 0; - $num2$0 = ($inc91 | 0) == 5 ? $num$0 : $inc91; - } - if (!$j$0) break; - $j$1 = 0; - $num$1 = $num$0; - while (1) { - if (($j$1 | 0) == ($j$0 | 0)) break; - $result = $ar2Handle + 13284 + ($j$1 * 52 | 0) + 24 | 0; - $call104 = _ar2Tracking2dSub(HEAP32[$ar2Handle + 13284 + ($j$1 * 52 | 0) >> 2] | 0, HEAP32[$ar2Handle + 13284 + ($j$1 * 52 | 0) + 4 >> 2] | 0, HEAP32[$ar2Handle + 13284 + ($j$1 * 52 | 0) + 8 >> 2] | 0, HEAP32[$ar2Handle + 13284 + ($j$1 * 52 | 0) + 12 >> 2] | 0, HEAP32[$ar2Handle + 13284 + ($j$1 * 52 | 0) + 16 >> 2] | 0, $ar2Handle + 13284 + ($j$1 * 52 | 0) + 20 | 0, $result) | 0; - HEAP32[$ar2Handle + 13284 + ($j$1 * 52 | 0) + 48 >> 2] = $call104; - if (($call104 | 0) == 0 ? +HEAPF32[$result >> 2] > +HEAPF32[$simThresh >> 2] : 0) { - if ((HEAP32[$ar2Handle >> 2] | 0) == 1) { - $27 = HEAP32[$cparamLT115$pre$phiZ2D >> 2] | 0; - _arParamObserv2Ideal($27 + 104 | 0, +HEAPF32[$ar2Handle + 13284 + ($j$1 * 52 | 0) + 28 >> 2], +HEAPF32[$ar2Handle + 13284 + ($j$1 * 52 | 0) + 32 >> 2], $pos2d0, $pos2d1, HEAP32[$27 + 176 >> 2] | 0) | 0; - HEAPF32[$ar2Handle + 1872 + ($num$1 << 3) >> 2] = +HEAPF64[$pos2d0 >> 3]; - HEAPF32[$ar2Handle + 1872 + ($num$1 << 3) + 4 >> 2] = +HEAPF64[$pos2d1 >> 3]; + } while (0); + L68 : do if ((label | 0) == 48) { + label = 0; + $bits_left$16194 = $bits_left$16194$ph; + $get_buffer$16195 = $get_buffer$16195$ph; + $k$3193 = $k$3193$ph; + while (1) { + if (($bits_left$16194 | 0) < 8) { + if (!(_jpeg_fill_bit_buffer($br_state, $get_buffer$16195, $bits_left$16194, 0) | 0)) { + $retval$9 = 0; + label = 67; + break L18; + } + $48 = HEAP32[$get_buffer24 >> 2] | 0; + $49 = HEAP32[$bits_left25 >> 2] | 0; + if (($49 | 0) < 8) { + $bits_left$18 = $49; + $get_buffer$18 = $48; + $nb182$0 = 1; + label = 54; + } else { + $bits_left$17 = $49; + $get_buffer$17 = $48; + label = 52; + } } else { - HEAP32[$ar2Handle + 1872 + ($num$1 << 3) >> 2] = HEAP32[$ar2Handle + 13284 + ($j$1 * 52 | 0) + 28 >> 2]; - HEAP32[$ar2Handle + 1872 + ($num$1 << 3) + 4 >> 2] = HEAP32[$ar2Handle + 13284 + ($j$1 * 52 | 0) + 32 >> 2]; + $bits_left$17 = $bits_left$16194; + $get_buffer$17 = $get_buffer$16195; + label = 52; } - HEAP32[$ar2Handle + 2192 + ($num$1 * 12 | 0) >> 2] = HEAP32[$ar2Handle + 13284 + ($j$1 * 52 | 0) + 36 >> 2]; - HEAP32[$ar2Handle + 2192 + ($num$1 * 12 | 0) + 4 >> 2] = HEAP32[$ar2Handle + 13284 + ($j$1 * 52 | 0) + 40 >> 2]; - HEAP32[$ar2Handle + 2192 + ($num$1 * 12 | 0) + 8 >> 2] = HEAP32[$ar2Handle + 13284 + ($j$1 * 52 | 0) + 44 >> 2]; - $38 = HEAP32[$cp + ($j$1 << 2) >> 2] | 0; - HEAP32[$ar2Handle + 1488 + ($num$1 << 3) >> 2] = HEAP32[$38 + 16 >> 2]; - HEAP32[$ar2Handle + 1488 + ($num$1 << 3) + 4 >> 2] = HEAP32[$38 + 20 >> 2]; - HEAP32[$ar2Handle + 12320 + ($num$1 * 24 | 0) >> 2] = HEAP32[$38 >> 2]; - HEAP32[$ar2Handle + 12320 + ($num$1 * 24 | 0) + 4 >> 2] = HEAP32[$38 + 4 >> 2]; - HEAP32[$ar2Handle + 12320 + ($num$1 * 24 | 0) + 8 >> 2] = HEAP32[$38 + 8 >> 2]; - HEAP32[$ar2Handle + 12320 + ($num$1 * 24 | 0) + 12 >> 2] = 0; - $num$2 = $num$1 + 1 | 0; - } else $num$2 = $num$1; - $j$1 = $j$1 + 1 | 0; - $num$1 = $num$2; + if ((label | 0) == 52) { + label = 0; + $and200 = $get_buffer$17 >> $bits_left$17 + -8 & 255; + $50 = HEAP32[$27 + 144 + ($and200 << 2) >> 2] | 0; + if (!$50) { + $bits_left$18 = $bits_left$17; + $get_buffer$18 = $get_buffer$17; + $nb182$0 = 9; + label = 54; + } else { + $bits_left$20$ph = $bits_left$17 - $50 | 0; + $get_buffer$20$ph = $get_buffer$17; + $s$11$ph = HEAPU8[$27 + 1168 + $and200 >> 0] | 0; + } + } + if ((label | 0) == 54) { + label = 0; + $call211 = _jpeg_huff_decode($br_state, $get_buffer$18, $bits_left$18, $27, $nb182$0) | 0; + if (($call211 | 0) < 0) { + $retval$9 = 0; + label = 67; + break L18; + } + $bits_left$20$ph = HEAP32[$bits_left25 >> 2] | 0; + $get_buffer$20$ph = HEAP32[$get_buffer24 >> 2] | 0; + $s$11$ph = $call211; + } + $shr223169 = $s$11$ph >>> 4; + $and224 = $s$11$ph & 15; + if (!$and224) if (($shr223169 | 0) == 15) { + $bits_left$22 = $bits_left$20$ph; + $get_buffer$22 = $get_buffer$20$ph; + $shr223$pn = 15; + } else { + $bits_left$24 = $bits_left$20$ph; + $get_buffer$24 = $get_buffer$20$ph; + break L68; + } else { + if (($bits_left$20$ph | 0) < ($and224 | 0)) { + if (!(_jpeg_fill_bit_buffer($br_state, $get_buffer$20$ph, $bits_left$20$ph, $and224) | 0)) { + $retval$9 = 0; + label = 67; + break L18; + } + $bits_left$21 = HEAP32[$bits_left25 >> 2] | 0; + $get_buffer$21 = HEAP32[$get_buffer24 >> 2] | 0; + } else { + $bits_left$21 = $bits_left$20$ph; + $get_buffer$21 = $get_buffer$20$ph; + } + $bits_left$22 = $bits_left$21 - $and224 | 0; + $get_buffer$22 = $get_buffer$21; + $shr223$pn = $shr223169; + } + $k$3193 = $k$3193 + 1 + $shr223$pn | 0; + if (($k$3193 | 0) >= 64) { + $bits_left$24 = $bits_left$22; + $get_buffer$24 = $get_buffer$22; + break; + } else { + $bits_left$16194 = $bits_left$22; + $get_buffer$16195 = $get_buffer$22; + } + } + } while (0); + $blkn$0203 = $blkn$0203 + 1 | 0; + if (($blkn$0203 | 0) >= (HEAP32[$blocks_in_MCU >> 2] | 0)) { + label = 64; + break; + } else { + $bits_left$0201 = $bits_left$24; + $get_buffer$0202 = $get_buffer$24; } - $candidatePtr$0 = $candidatePtr$3; - $i$1 = $i$2; - $num$0 = $num$1; } - $i$3 = 0; - while (1) { - if (($i$3 | 0) >= ($num$0 | 0)) break; - $arrayidx206 = $surfaceSet + 156 + ($i$3 * 24 | 0) | 0; - $arrayidx208 = $ar2Handle + 12320 + ($i$3 * 24 | 0) | 0; - HEAP32[$arrayidx206 >> 2] = HEAP32[$arrayidx208 >> 2]; - HEAP32[$arrayidx206 + 4 >> 2] = HEAP32[$arrayidx208 + 4 >> 2]; - HEAP32[$arrayidx206 + 8 >> 2] = HEAP32[$arrayidx208 + 8 >> 2]; - HEAP32[$arrayidx206 + 12 >> 2] = HEAP32[$arrayidx208 + 12 >> 2]; - HEAP32[$arrayidx206 + 16 >> 2] = HEAP32[$arrayidx208 + 16 >> 2]; - HEAP32[$arrayidx206 + 20 >> 2] = HEAP32[$arrayidx208 + 20 >> 2]; - $i$3 = $i$3 + 1 | 0; + if ((label | 0) == 64) { + $$in = HEAP32[$src >> 2] | 0; + $57 = HEAP32[$br_state >> 2] | 0; + $59 = HEAP32[$bytes_in_buffer12 >> 2] | 0; + $bits_left$0$lcssa = $bits_left$24; + $get_buffer$0$lcssa = $get_buffer$24; + break; + } else if ((label | 0) == 67) { + STACKTOP = sp; + return $retval$9 | 0; } - HEAP32[$surfaceSet + 156 + ($num$0 * 24 | 0) + 12 >> 2] = -1; - $cmp216 = ($num$0 | 0) < 3; - if ((HEAP32[$ar2Handle >> 2] | 0) == 1) { - if ($cmp216) { - HEAP32[$contNum >> 2] = 0; - $retval$0 = -3; - break; - } - $icpHandle = $ar2Handle + 16 | 0; - $arraydecay222 = $ar2Handle + 1872 | 0; - $arraydecay224 = $ar2Handle + 2192 | 0; - $call225 = +_ar2GetTransMat_175(HEAP32[$icpHandle >> 2] | 0, $arraydecay, $arraydecay222, $arraydecay224, $num$0, $trans, 0); - HEAPF32[$err >> 2] = $call225; - $trackingThresh = $ar2Handle + 44 | 0; - if (((($call225 > +HEAPF32[$trackingThresh >> 2] ? (_icpSetInlierProbability(HEAP32[$icpHandle >> 2] | 0, .800000011920929) | 0, $call235 = +_ar2GetTransMat_175(HEAP32[$icpHandle >> 2] | 0, $trans, $arraydecay222, $arraydecay224, $num$0, $trans, 1), HEAPF32[$err >> 2] = $call235, $call235 > +HEAPF32[$trackingThresh >> 2]) : 0) ? (_icpSetInlierProbability(HEAP32[$icpHandle >> 2] | 0, .6000000238418579) | 0, $call246 = +_ar2GetTransMat_175(HEAP32[$icpHandle >> 2] | 0, $trans, $arraydecay222, $arraydecay224, $num$0, $trans, 1), HEAPF32[$err >> 2] = $call246, $call246 > +HEAPF32[$trackingThresh >> 2]) : 0) ? (_icpSetInlierProbability(HEAP32[$icpHandle >> 2] | 0, .4000000059604645) | 0, $call257 = +_ar2GetTransMat_175(HEAP32[$icpHandle >> 2] | 0, $trans, $arraydecay222, $arraydecay224, $num$0, $trans, 1), HEAPF32[$err >> 2] = $call257, $call257 > +HEAPF32[$trackingThresh >> 2]) : 0) ? (_icpSetInlierProbability(HEAP32[$icpHandle >> 2] | 0, 0.0) | 0, $call268 = +_ar2GetTransMat_175(HEAP32[$icpHandle >> 2] | 0, $trans, $arraydecay222, $arraydecay224, $num$0, $trans, 1), HEAPF32[$err >> 2] = $call268, $call268 > +HEAPF32[$trackingThresh >> 2]) : 0) { - HEAP32[$contNum >> 2] = 0; - $retval$0 = -4; + } else { + $$in = $12; + $57 = $13; + $59 = $15; + $bits_left$0$lcssa = $17; + $get_buffer$0$lcssa = $16; + } while (0); + HEAP32[$$in >> 2] = $57; + HEAP32[$$in + 4 >> 2] = $59; + HEAP32[$get_buffer13 >> 2] = $get_buffer$0$lcssa; + HEAP32[$bits_left15 >> 2] = $bits_left$0$lcssa; + HEAP32[$saved >> 2] = HEAP32[$state >> 2]; + HEAP32[$saved + 4 >> 2] = HEAP32[$state + 4 >> 2]; + HEAP32[$saved + 8 >> 2] = HEAP32[$state + 8 >> 2]; + HEAP32[$saved + 12 >> 2] = HEAP32[$state + 12 >> 2]; + HEAP32[$saved + 16 >> 2] = HEAP32[$state + 16 >> 2]; + } + $restarts_to_go273 = $0 + 44 | 0; + HEAP32[$restarts_to_go273 >> 2] = (HEAP32[$restarts_to_go273 >> 2] | 0) + -1; + $retval$9 = 1; + STACKTOP = sp; + return $retval$9 | 0; +} + +function __ZNSt3__213__nth_elementIRNS_7greaterINS_4pairIfmEEEENS_11__wrap_iterIPS3_EEEEvT0_S9_S9_T_($__first, $__nth, $__last, $__comp) { + $__first = $__first | 0; + $__nth = $__nth | 0; + $__last = $__last | 0; + $__comp = $__comp | 0; + var $$cast427 = 0, $$pre = 0, $$pre$phiZ2D = 0, $$pre468 = 0, $0 = 0, $1 = 0, $10 = 0, $11 = 0, $16 = 0, $17 = 0.0, $18 = 0.0, $2 = 0, $21 = 0, $22 = 0.0, $23 = 0.0, $26 = 0.0, $27 = 0, $30 = 0, $33 = 0.0, $34 = 0, $35 = 0.0, $39 = 0, $4 = 0, $40 = 0.0, $45 = 0, $47 = 0, $5 = 0.0, $50 = 0, $51 = 0.0, $53 = 0, $54 = 0, $56 = 0, $58 = 0, $59 = 0, $6 = 0, $61 = 0, $62 = 0, $64 = 0, $65 = 0.0, $66 = 0, $67 = 0.0, $7 = 0.0, $71 = 0, $72 = 0.0, $75 = 0, $77 = 0, $79 = 0, $8 = 0, $84 = 0.0, $85 = 0.0, $86 = 0, $87 = 0, $89 = 0, $9 = 0, $91 = 0, $92 = 0, $93 = 0.0, $94 = 0.0, $97 = 0.0, $98 = 0.0, $__i$sroa$0$0$ptr = 0, $__i$sroa$0$1 = 0, $__i$sroa$0$2 = 0, $__i$sroa$0$3 = 0, $__i$sroa$0$4 = 0, $__i$sroa$0$5 = 0, $__i$sroa$0$6 = 0, $__i$sroa$0$6$ptr = 0, $__j$sroa$0$0$ptr = 0, $__j$sroa$0$1 = 0, $__j$sroa$0$1$ptr = 0, $__j$sroa$0$2$ptr = 0, $__j$sroa$0$3$in = 0, $__j$sroa$0$4 = 0, $__j$sroa$0$4$ptr = 0, $__j$sroa$0$5$ptr = 0, $__m21$sroa$0$0 = 0, $__m21$sroa$0$2$ptr = 0, $__m21$sroa$0$3$ptr = 0, $__m21$sroa$0$4$ptr = 0, $__n_swaps$2 = 0, $__n_swaps$3 = 0, $__n_swaps$4 = 0, $__n_swaps$5 = 0, $add$ptr$i$i = 0, $agg$tmp = 0, $agg$tmp12 = 0, $agg$tmp14 = 0, $agg$tmp18 = 0, $agg$tmp19 = 0, $agg$tmp23 = 0, $agg$tmp23$byval_copy = 0, $agg$tmp24 = 0, $agg$tmp24$byval_copy = 0, $agg$tmp25 = 0, $agg$tmp25$byval_copy = 0, $call27 = 0, $div344 = 0, $incdec$ptr$i116 = 0, $incdec$ptr$i157 = 0, $incdec$ptr$i214 = 0, $incdec$ptr$i219 = 0, $incdec$ptr$i233 = 0, $incdec$ptr$i31 = 0, $incdec$ptr$i48 = 0, $incdec$ptr$i97 = 0, $second$i$i$i105 = 0, $second$i$i$i204 = 0, $second$i$i$i250 = 0, $second$i$i$i62 = 0, $second$i$i$phi$trans$insert = 0, $second$i$i$pre$phiZZZ2D = 0, $second$i$i117 = 0, $second$i$i138 = 0, $second$i$i180$phi$trans$insert = 0, $second$i$i180$pre$phiZZZ2D = 0, $second$i$i241$phi$trans$insert = 0, $second$i$i241$pre$phiZZZ2D = 0, $second$i$i77 = 0, $second3$i$i$phi$trans$insert = 0, $second3$i$i$pre$phiZZZ2D = 0, $second3$i$i118$phi$trans$insert = 0, $second3$i$i118$pre$phiZZZ2D = 0, $second3$i$i139 = 0, $second3$i$i78 = 0, $second5$i$i$i167 = 0, $second5$i$i$i190$pre$phiZZZZ2D = 0, $second5$i$i$i205 = 0, $second5$i$i$i63 = 0, $sub$ptr$div$i = 0, $sub$ptr$sub$i = 0, label = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 48 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); + $agg$tmp25$byval_copy = sp + 40 | 0; + $agg$tmp24$byval_copy = sp + 36 | 0; + $agg$tmp23$byval_copy = sp + 32 | 0; + $agg$tmp = sp + 28 | 0; + $agg$tmp12 = sp + 24 | 0; + $agg$tmp14 = sp + 20 | 0; + $agg$tmp18 = sp + 16 | 0; + $agg$tmp19 = sp + 12 | 0; + $agg$tmp23 = sp + 8 | 0; + $agg$tmp24 = sp + 4 | 0; + $agg$tmp25 = sp; + $0 = HEAP32[$__nth >> 2] | 0; + L1 : while (1) { + $1 = HEAP32[$__last >> 2] | 0; + $$cast427 = $1; + $incdec$ptr$i233 = $1 + -8 | 0; + $2 = $incdec$ptr$i233; + $second$i$i$i204 = $1 + -4 | 0; + if (($0 | 0) == ($1 | 0)) break; + $$pre = HEAP32[$__first >> 2] | 0; + $4 = $$pre; + $6 = $$pre; + L4 : while (1) { + $sub$ptr$sub$i = $$cast427 - $4 | 0; + $sub$ptr$div$i = $sub$ptr$sub$i >> 3; + switch ($sub$ptr$div$i | 0) { + case 1: + case 0: + { + break L1; break; } - } else { - if ($cmp216) { - HEAP32[$contNum >> 2] = 0; - $retval$0 = -3; + case 2: + { + label = 5; + break L1; break; } - $arraydecay279 = $ar2Handle + 1872 | 0; - $arraydecay281 = $ar2Handle + 2192 | 0; - $call282 = +_ar2GetTransMatHomography_176($arraydecay, $arraydecay279, $arraydecay281, $num$0, $trans, 0, 1.0); - HEAPF32[$err >> 2] = $call282; - $trackingThresh283 = $ar2Handle + 44 | 0; - if (((($call282 > +HEAPF32[$trackingThresh283 >> 2] ? ($call290 = +_ar2GetTransMatHomography_176($trans, $arraydecay279, $arraydecay281, $num$0, $trans, 1, .800000011920929), HEAPF32[$err >> 2] = $call290, $call290 > +HEAPF32[$trackingThresh283 >> 2]) : 0) ? ($call298 = +_ar2GetTransMatHomography_176($trans, $arraydecay279, $arraydecay281, $num$0, $trans, 1, .6000000238418579), HEAPF32[$err >> 2] = $call298, $call298 > +HEAPF32[$trackingThresh283 >> 2]) : 0) ? ($call306 = +_ar2GetTransMatHomography_176($trans, $arraydecay279, $arraydecay281, $num$0, $trans, 1, .4000000059604645), HEAPF32[$err >> 2] = $call306, $call306 > +HEAPF32[$trackingThresh283 >> 2]) : 0) ? ($call314 = +_ar2GetTransMatHomography_176($trans, $arraydecay279, $arraydecay281, $num$0, $trans, 1, 0.0), HEAPF32[$err >> 2] = $call314, $call314 > +HEAPF32[$trackingThresh283 >> 2]) : 0) { - HEAP32[$contNum >> 2] = 0; - $retval$0 = -4; + case 3: + { + label = 10; + break L1; break; } + default: + {} } - HEAP32[$contNum >> 2] = (HEAP32[$contNum >> 2] | 0) + 1; - $j$2 = 0; + if (($sub$ptr$sub$i | 0) < 64) { + label = 12; + break L1; + } + $div344 = $sub$ptr$div$i >>> 1; + $add$ptr$i$i = $6 + ($div344 << 3) | 0; + HEAP32[$agg$tmp23 >> 2] = $4; + HEAP32[$agg$tmp24 >> 2] = $add$ptr$i$i; + HEAP32[$agg$tmp25 >> 2] = $2; + HEAP32[$agg$tmp23$byval_copy >> 2] = HEAP32[$agg$tmp23 >> 2]; + HEAP32[$agg$tmp24$byval_copy >> 2] = HEAP32[$agg$tmp24 >> 2]; + HEAP32[$agg$tmp25$byval_copy >> 2] = HEAP32[$agg$tmp25 >> 2]; + $call27 = __ZNSt3__27__sort3IRNS_7greaterINS_4pairIfmEEEENS_11__wrap_iterIPS3_EEEEjT0_S9_S9_T_($agg$tmp23$byval_copy, $agg$tmp24$byval_copy, $agg$tmp25$byval_copy, $__comp) | 0; + $16 = $4; + $17 = +HEAPF32[$add$ptr$i$i >> 2]; + $18 = +HEAPF32[$16 >> 2]; + if ($17 < $18) { + label = 53; + break; + } + $$pre468 = $6 + ($div344 << 3) + 4 | 0; + if (!($18 < $17) ? (HEAP32[$$pre468 >> 2] | 0) >>> 0 < (HEAP32[$16 + 4 >> 2] | 0) >>> 0 : 0) { + label = 53; + break; + } + $__j$sroa$0$0$ptr = $incdec$ptr$i233; while (1) { - if (($j$2 | 0) == 3) break; - $i$4 = 0; + $incdec$ptr$i219 = $__j$sroa$0$0$ptr + -8 | 0; + if (($incdec$ptr$i219 | 0) == ($16 | 0)) break; + $51 = +HEAPF32[$incdec$ptr$i219 >> 2]; + if ($17 < $51) { + label = 47; + break L4; + } + if (!($51 < $17) ? ($53 = HEAP32[$__j$sroa$0$0$ptr + -4 >> 2] | 0, (HEAP32[$$pre468 >> 2] | 0) >>> 0 < $53 >>> 0) : 0) { + label = 51; + break L4; + } + $__j$sroa$0$0$ptr = $incdec$ptr$i219; + } + $incdec$ptr$i214 = $16 + 8 | 0; + $21 = $incdec$ptr$i214; + $22 = +HEAPF32[$incdec$ptr$i233 >> 2]; + $23 = +HEAPF32[$6 >> 2]; + do if ($22 < $23) $__i$sroa$0$1 = $21; else { + if (!($23 < $22)) { + $second5$i$i$i205 = $6 + 4 | 0; + if ((HEAP32[$second$i$i$i204 >> 2] | 0) >>> 0 < (HEAP32[$second5$i$i$i205 >> 2] | 0) >>> 0) { + $__i$sroa$0$1 = $21; + break; + } else $second5$i$i$i190$pre$phiZZZZ2D = $second5$i$i$i205; + } else $second5$i$i$i190$pre$phiZZZZ2D = $6 + 4 | 0; + $__i$sroa$0$0$ptr = $incdec$ptr$i214; while (1) { - if (($i$4 | 0) == 4) break; - HEAP32[$surfaceSet + 104 + ($j$2 << 4) + ($i$4 << 2) >> 2] = HEAP32[$surfaceSet + 56 + ($j$2 << 4) + ($i$4 << 2) >> 2]; - $i$4 = $i$4 + 1 | 0; + if (($__i$sroa$0$0$ptr | 0) == ($incdec$ptr$i233 | 0)) break L1; + $26 = +HEAPF32[$__i$sroa$0$0$ptr >> 2]; + if ($26 < $23) { + label = 25; + break; + } + if (!($23 < $26) ? ($27 = HEAP32[$__i$sroa$0$0$ptr + 4 >> 2] | 0, $27 >>> 0 < (HEAP32[$second5$i$i$i190$pre$phiZZZZ2D >> 2] | 0) >>> 0) : 0) { + label = 28; + break; + } + $__i$sroa$0$0$ptr = $__i$sroa$0$0$ptr + 8 | 0; } - $j$2 = $j$2 + 1 | 0; - } - $j$3 = 0; + if ((label | 0) == 25) { + label = 0; + $second$i$i180$phi$trans$insert = $__i$sroa$0$0$ptr + 4 | 0; + $30 = HEAP32[$second$i$i180$phi$trans$insert >> 2] | 0; + $second$i$i180$pre$phiZZZ2D = $second$i$i180$phi$trans$insert; + } else if ((label | 0) == 28) { + label = 0; + $30 = $27; + $second$i$i180$pre$phiZZZ2D = $__i$sroa$0$0$ptr + 4 | 0; + } + HEAPF32[$__i$sroa$0$0$ptr >> 2] = $22; + HEAPF32[$incdec$ptr$i233 >> 2] = $26; + HEAP32[$second$i$i180$pre$phiZZZ2D >> 2] = HEAP32[$second$i$i$i204 >> 2]; + HEAP32[$second$i$i$i204 >> 2] = $30; + $__i$sroa$0$1 = $__i$sroa$0$0$ptr + 8 | 0; + } while (0); + if (($incdec$ptr$i233 | 0) == ($__i$sroa$0$1 | 0)) break L1; + $second5$i$i$i167 = $6 + 4 | 0; + $__i$sroa$0$2 = $__i$sroa$0$1; + $__j$sroa$0$1 = $2; while (1) { - if (($j$3 | 0) == 3) break; - $i$5 = 0; + $__j$sroa$0$1$ptr = $__j$sroa$0$1; + $33 = +HEAPF32[$6 >> 2]; + $__i$sroa$0$3 = $__i$sroa$0$2; while (1) { - if (($i$5 | 0) == 4) break; - HEAP32[$surfaceSet + 56 + ($j$3 << 4) + ($i$5 << 2) >> 2] = HEAP32[$surfaceSet + 8 + ($j$3 << 4) + ($i$5 << 2) >> 2]; - $i$5 = $i$5 + 1 | 0; - } - $j$3 = $j$3 + 1 | 0; - } - $j$4 = 0; + $34 = $__i$sroa$0$3; + $35 = +HEAPF32[$34 >> 2]; + if ($35 < $33) break; + if (!($33 < $35) ? (HEAP32[$34 + 4 >> 2] | 0) >>> 0 < (HEAP32[$second5$i$i$i167 >> 2] | 0) >>> 0 : 0) break; + $__i$sroa$0$3 = $34 + 8 | 0; + } + $39 = $__i$sroa$0$3; + $__j$sroa$0$2$ptr = $__j$sroa$0$1$ptr; + while (1) { + $incdec$ptr$i157 = $__j$sroa$0$2$ptr + -8 | 0; + $40 = +HEAPF32[$incdec$ptr$i157 >> 2]; + if (!($40 < $33)) { + if ($33 < $40) break; + if ((HEAP32[$__j$sroa$0$2$ptr + -4 >> 2] | 0) >>> 0 >= (HEAP32[$second5$i$i$i167 >> 2] | 0) >>> 0) break; + } + $__j$sroa$0$2$ptr = $incdec$ptr$i157; + } + if ($incdec$ptr$i157 >>> 0 <= $39 >>> 0) break; + $45 = HEAP32[$__i$sroa$0$3 >> 2] | 0; + HEAPF32[$__i$sroa$0$3 >> 2] = $40; + HEAP32[$incdec$ptr$i157 >> 2] = $45; + $second$i$i138 = $39 + 4 | 0; + $second3$i$i139 = $__j$sroa$0$2$ptr + -4 | 0; + $47 = HEAP32[$second$i$i138 >> 2] | 0; + HEAP32[$second$i$i138 >> 2] = HEAP32[$second3$i$i139 >> 2]; + HEAP32[$second3$i$i139 >> 2] = $47; + $__i$sroa$0$2 = $39 + 8 | 0; + $__j$sroa$0$1 = $incdec$ptr$i157; + } + $50 = $__i$sroa$0$3; + if ($0 >>> 0 < $50 >>> 0) break L1; + HEAP32[$__first >> 2] = $__i$sroa$0$3; + $4 = $__i$sroa$0$3; + $6 = $50; + } + if ((label | 0) == 47) { + label = 0; + $second3$i$i118$phi$trans$insert = $__j$sroa$0$0$ptr + -4 | 0; + $59 = HEAP32[$second3$i$i118$phi$trans$insert >> 2] | 0; + $second3$i$i118$pre$phiZZZ2D = $second3$i$i118$phi$trans$insert; + label = 52; + } else if ((label | 0) == 51) { + label = 0; + $59 = $53; + $second3$i$i118$pre$phiZZZ2D = $__j$sroa$0$0$ptr + -4 | 0; + label = 52; + } else if ((label | 0) == 53) { + label = 0; + $61 = $4; + $__j$sroa$0$3$in = $incdec$ptr$i233; + $__n_swaps$2 = $call27; + } + if ((label | 0) == 52) { + label = 0; + $54 = $4; + $56 = HEAP32[$4 >> 2] | 0; + HEAPF32[$4 >> 2] = $51; + HEAP32[$incdec$ptr$i219 >> 2] = $56; + $second$i$i117 = $54 + 4 | 0; + $58 = HEAP32[$second$i$i117 >> 2] | 0; + HEAP32[$second$i$i117 >> 2] = $59; + HEAP32[$second3$i$i118$pre$phiZZZ2D >> 2] = $58; + $61 = $54; + $__j$sroa$0$3$in = $incdec$ptr$i219; + $__n_swaps$2 = $call27 + 1 | 0; + } + $incdec$ptr$i116 = $61 + 8 | 0; + $62 = $incdec$ptr$i116; + if ($incdec$ptr$i116 >>> 0 < $__j$sroa$0$3$in >>> 0) { + $__i$sroa$0$4 = $62; + $__j$sroa$0$4 = $__j$sroa$0$3$in; + $__m21$sroa$0$0 = $add$ptr$i$i; + $__n_swaps$3 = $__n_swaps$2; while (1) { - if (($j$4 | 0) == 3) { - $retval$0 = 0; - break L1; + $__j$sroa$0$4$ptr = $__j$sroa$0$4; + $64 = $__m21$sroa$0$0; + $second$i$i$i105 = $64 + 4 | 0; + $65 = +HEAPF32[$64 >> 2]; + $__i$sroa$0$5 = $__i$sroa$0$4; + while (1) { + $66 = $__i$sroa$0$5; + $67 = +HEAPF32[$66 >> 2]; + if (!($65 < $67)) { + if ($67 < $65) break; + if ((HEAP32[$second$i$i$i105 >> 2] | 0) >>> 0 >= (HEAP32[$66 + 4 >> 2] | 0) >>> 0) break; + } + $__i$sroa$0$5 = $66 + 8 | 0; } - $i$6 = 0; + $71 = $__i$sroa$0$5; + $__j$sroa$0$5$ptr = $__j$sroa$0$4$ptr; while (1) { - if (($i$6 | 0) == 4) break; - HEAP32[$surfaceSet + 8 + ($j$4 << 4) + ($i$6 << 2) >> 2] = HEAP32[$trans + ($j$4 << 4) + ($i$6 << 2) >> 2]; - $i$6 = $i$6 + 1 | 0; + $incdec$ptr$i97 = $__j$sroa$0$5$ptr + -8 | 0; + $72 = +HEAPF32[$incdec$ptr$i97 >> 2]; + if ($65 < $72) break; + if (!($72 < $65) ? (HEAP32[$second$i$i$i105 >> 2] | 0) >>> 0 < (HEAP32[$__j$sroa$0$5$ptr + -4 >> 2] | 0) >>> 0 : 0) break; + $__j$sroa$0$5$ptr = $incdec$ptr$i97; + } + $75 = $incdec$ptr$i97; + if ($incdec$ptr$i97 >>> 0 <= $71 >>> 0) break; + $77 = HEAP32[$__i$sroa$0$5 >> 2] | 0; + HEAPF32[$__i$sroa$0$5 >> 2] = $72; + HEAP32[$incdec$ptr$i97 >> 2] = $77; + $second$i$i77 = $71 + 4 | 0; + $second3$i$i78 = $__j$sroa$0$5$ptr + -4 | 0; + $79 = HEAP32[$second$i$i77 >> 2] | 0; + HEAP32[$second$i$i77 >> 2] = HEAP32[$second3$i$i78 >> 2]; + HEAP32[$second3$i$i78 >> 2] = $79; + $__i$sroa$0$4 = $71 + 8 | 0; + $__j$sroa$0$4 = $75; + $__m21$sroa$0$0 = ($64 | 0) == ($71 | 0) ? $75 : $__m21$sroa$0$0; + $__n_swaps$3 = $__n_swaps$3 + 1 | 0; + } + $$pre$phiZ2D = $__i$sroa$0$5; + $__i$sroa$0$6 = $__i$sroa$0$5; + $__m21$sroa$0$2$ptr = $__m21$sroa$0$0; + $__n_swaps$4 = $__n_swaps$3; + } else { + $$pre$phiZ2D = $incdec$ptr$i116; + $__i$sroa$0$6 = $62; + $__m21$sroa$0$2$ptr = $add$ptr$i$i; + $__n_swaps$4 = $__n_swaps$2; + } + $__i$sroa$0$6$ptr = $__i$sroa$0$6; + do if (($__m21$sroa$0$2$ptr | 0) == ($$pre$phiZ2D | 0)) $__n_swaps$5 = $__n_swaps$4; else { + $84 = +HEAPF32[$$pre$phiZ2D >> 2]; + $85 = +HEAPF32[$__m21$sroa$0$2$ptr >> 2]; + if (!($84 < $85)) { + if ($85 < $84) { + $__n_swaps$5 = $__n_swaps$4; + break; } - $j$4 = $j$4 + 1 | 0; + $second$i$i$i62 = $$pre$phiZ2D + 4 | 0; + $86 = HEAP32[$second$i$i$i62 >> 2] | 0; + $second5$i$i$i63 = $__m21$sroa$0$2$ptr + 4 | 0; + $87 = HEAP32[$second5$i$i$i63 >> 2] | 0; + if ($86 >>> 0 < $87 >>> 0) { + $91 = $87; + $92 = $86; + $second$i$i$pre$phiZZZ2D = $second$i$i$i62; + $second3$i$i$pre$phiZZZ2D = $second5$i$i$i63; + } else { + $__n_swaps$5 = $__n_swaps$4; + break; + } + } else { + $second$i$i$phi$trans$insert = $$pre$phiZ2D + 4 | 0; + $second3$i$i$phi$trans$insert = $__m21$sroa$0$2$ptr + 4 | 0; + $91 = HEAP32[$second3$i$i$phi$trans$insert >> 2] | 0; + $92 = HEAP32[$second$i$i$phi$trans$insert >> 2] | 0; + $second$i$i$pre$phiZZZ2D = $second$i$i$phi$trans$insert; + $second3$i$i$pre$phiZZZ2D = $second3$i$i$phi$trans$insert; + } + $89 = HEAP32[$__i$sroa$0$6 >> 2] | 0; + HEAPF32[$__i$sroa$0$6 >> 2] = $85; + HEAP32[$__m21$sroa$0$2$ptr >> 2] = $89; + HEAP32[$second$i$i$pre$phiZZZ2D >> 2] = $91; + HEAP32[$second3$i$i$pre$phiZZZ2D >> 2] = $92; + $__n_swaps$5 = $__n_swaps$4 + 1 | 0; + } while (0); + if (($0 | 0) == ($$pre$phiZ2D | 0)) break; + L95 : do if (!$__n_swaps$5) if ($0 >>> 0 < $$pre$phiZ2D >>> 0) { + $__m21$sroa$0$3$ptr = $61; + while (1) { + $incdec$ptr$i48 = $__m21$sroa$0$3$ptr + 8 | 0; + if (($incdec$ptr$i48 | 0) == ($$pre$phiZ2D | 0)) break L1; + $93 = +HEAPF32[$__m21$sroa$0$3$ptr >> 2]; + $94 = +HEAPF32[$incdec$ptr$i48 >> 2]; + if ($93 < $94) break L95; + if (!($94 < $93) ? (HEAP32[$__m21$sroa$0$3$ptr + 4 >> 2] | 0) >>> 0 < (HEAP32[$__m21$sroa$0$3$ptr + 12 >> 2] | 0) >>> 0 : 0) break L95; + $__m21$sroa$0$3$ptr = $incdec$ptr$i48; } - } - } else $retval$0 = -1; while (0); + } else { + $__m21$sroa$0$4$ptr = $__i$sroa$0$6$ptr; + while (1) { + $incdec$ptr$i31 = $__m21$sroa$0$4$ptr + 8 | 0; + if (($incdec$ptr$i31 | 0) == ($1 | 0)) break L1; + $97 = +HEAPF32[$__m21$sroa$0$4$ptr >> 2]; + $98 = +HEAPF32[$incdec$ptr$i31 >> 2]; + if ($97 < $98) break L95; + if (!($98 < $97) ? (HEAP32[$__m21$sroa$0$4$ptr + 4 >> 2] | 0) >>> 0 < (HEAP32[$__m21$sroa$0$4$ptr + 12 >> 2] | 0) >>> 0 : 0) break L95; + $__m21$sroa$0$4$ptr = $incdec$ptr$i31; + } + } while (0); + if ($0 >>> 0 < $$pre$phiZ2D >>> 0) HEAP32[$__last >> 2] = $__i$sroa$0$6; else HEAP32[$__first >> 2] = $$pre$phiZ2D + 8; + } + do if ((label | 0) == 5) { + HEAP32[$__last >> 2] = $incdec$ptr$i233; + $5 = +HEAPF32[$6 >> 2]; + $7 = +HEAPF32[$incdec$ptr$i233 >> 2]; + if (!($5 < $7)) { + if ($7 < $5) break; + $second$i$i$i250 = $6 + 4 | 0; + $8 = HEAP32[$second$i$i$i250 >> 2] | 0; + $9 = HEAP32[$second$i$i$i204 >> 2] | 0; + if ($8 >>> 0 < $9 >>> 0) { + $10 = $9; + $11 = $8; + $second$i$i241$pre$phiZZZ2D = $second$i$i$i250; + } else break; + } else { + $second$i$i241$phi$trans$insert = $6 + 4 | 0; + $10 = HEAP32[$second$i$i$i204 >> 2] | 0; + $11 = HEAP32[$second$i$i241$phi$trans$insert >> 2] | 0; + $second$i$i241$pre$phiZZZ2D = $second$i$i241$phi$trans$insert; + } + HEAPF32[$6 >> 2] = $7; + HEAPF32[$incdec$ptr$i233 >> 2] = $5; + HEAP32[$second$i$i241$pre$phiZZZ2D >> 2] = $10; + HEAP32[$second$i$i$i204 >> 2] = $11; + } else if ((label | 0) == 10) { + HEAP32[$agg$tmp >> 2] = $4; + HEAP32[$agg$tmp12 >> 2] = $4 + 8; + HEAP32[$__last >> 2] = $incdec$ptr$i233; + HEAP32[$agg$tmp14 >> 2] = $incdec$ptr$i233; + HEAP32[$agg$tmp23$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp24$byval_copy >> 2] = HEAP32[$agg$tmp12 >> 2]; + HEAP32[$agg$tmp25$byval_copy >> 2] = HEAP32[$agg$tmp14 >> 2]; + __ZNSt3__27__sort3IRNS_7greaterINS_4pairIfmEEEENS_11__wrap_iterIPS3_EEEEjT0_S9_S9_T_($agg$tmp23$byval_copy, $agg$tmp24$byval_copy, $agg$tmp25$byval_copy, $__comp) | 0; + } else if ((label | 0) == 12) { + HEAP32[$agg$tmp18 >> 2] = $4; + HEAP32[$agg$tmp19 >> 2] = $1; + HEAP32[$agg$tmp24$byval_copy >> 2] = HEAP32[$agg$tmp18 >> 2]; + HEAP32[$agg$tmp25$byval_copy >> 2] = HEAP32[$agg$tmp19 >> 2]; + __ZNSt3__216__selection_sortIRNS_7greaterINS_4pairIfmEEEENS_11__wrap_iterIPS3_EEEEvT0_S9_T_($agg$tmp24$byval_copy, $agg$tmp25$byval_copy, $__comp); + } while (0); STACKTOP = sp; - return $retval$0 | 0; + return; } -function _arGetTransMatMultiSquare2($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $$0 = 0, $$0389 = 0, $$0394 = 0, $$0404 = 0.0, $$0405 = 0, $$0407 = 0, $$0410 = 0, $$0413 = 0.0, $$1 = 0, $$10 = 0, $$1390 = 0, $$1395 = 0, $$1406 = 0, $$1408 = 0, $$1411 = 0, $$1414 = 0.0, $$2 = 0, $$2391 = 0, $$2396 = 0, $$2409 = 0, $$2412 = 0, $$2415 = 0.0, $$3 = 0, $$3392 = 0, $$3397 = 0, $$3416 = 0.0, $$4 = 0, $$4393 = 0, $$4398 = 0, $$4417 = 0.0, $$5 = 0, $$5399 = 0, $$5418 = 0.0, $$6 = 0, $$6400 = 0, $$6419 = 0.0, $$7 = 0, $$7401 = 0, $$8 = 0, $$8402 = 0, $$9 = 0, $$9403 = 0, $$pre441 = 0, $10 = 0, $109 = 0, $111 = 0, $114 = 0, $116 = 0, $118 = 0, $12 = 0, $120 = 0, $123 = 0, $125 = 0, $128 = 0, $135 = 0, $145 = 0, $155 = 0, $16 = 0, $166 = 0, $214 = 0, $217 = 0, $218 = 0, $219 = 0.0, $222 = 0.0, $225 = 0.0, $228 = 0.0, $23 = 0.0, $232 = 0.0, $233 = 0, $234 = 0.0, $235 = 0, $243 = 0.0, $244 = 0.0, $253 = 0.0, $254 = 0.0, $263 = 0.0, $264 = 0.0, $273 = 0.0, $274 = 0.0, $287 = 0, $291 = 0, $293 = 0, $36 = 0, $39 = 0, $42 = 0, $44 = 0, $47 = 0, $5 = 0, $51 = 0, $6 = 0, $63 = 0.0, $7 = 0, $78 = 0, $79 = 0, $8 = 0, $81 = 0, $83 = 0, $9 = 0, $90 = 0, $vararg_buffer = 0, $vararg_buffer1 = 0, label = 0, sp = 0; +function _arGetTransMatMultiSquare2($handle, $marker_info, $marker_num, $config, $robustFlag) { + $handle = $handle | 0; + $marker_info = $marker_info | 0; + $marker_num = $marker_num | 0; + $config = $config | 0; + $robustFlag = $robustFlag | 0; + var $$pre378 = 0, $0 = 0, $1 = 0, $10 = 0, $12 = 0, $15 = 0, $19 = 0, $29 = 0.0, $33 = 0, $34 = 0, $35 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $5 = 0.0, $81 = 0, $83 = 0, $9 = 0, $arraydecay353 = 0, $arraydecay409 = 0, $arrayidx101 = 0, $call156 = 0, $call163 = 0, $call354 = 0.0, $call362 = 0.0, $call371 = 0.0, $call380 = 0.0, $call407 = 0.0, $call413 = 0.0, $call441 = 0.0, $call447 = 0.0, $call475 = 0.0, $call481 = 0.0, $call509 = 0.0, $call515 = 0.0, $call543 = 0.0, $call549 = 0.0, $cfMatrixCutoff = 0, $cfPattCutoff = 0, $cmp414 = 0, $cutoffPhase = 0, $cutoffPhase623 = 0, $err$0 = 0.0, $err$1 = 0.0, $err$2 = 0.0, $err$3 = 0.0, $err$4 = 0.0, $err$5 = 0.0, $err$6 = 0.0, $globalID46 = 0, $i$0 = 0, $i$1 = 0, $i$2 = 0, $i$3 = 0, $i$4 = 0, $i$5 = 0, $i$6 = 0, $i$7 = 0, $i$8 = 0, $i$9 = 0, $j$0 = 0, $j$1 = 0, $j$10 = 0, $j$2 = 0, $j$3 = 0, $j$4 = 0, $j$5 = 0, $j$6 = 0, $j$7 = 0, $j$8 = 0, $j$9 = 0, $k$0 = 0, $k$1 = 0, $k$2 = 0, $k$3 = 0, $k$4 = 0, $marker_num1 = 0, $max$0 = 0, $max$1 = 0, $max$2 = 0, $maxArea$0 = 0, $maxArea$1 = 0, $maxArea$2 = 0, $mul = 0, $mul182 = 0, $mul252 = 0, $patt_id = 0, $prevF347 = 0, $rem = 0, $rem196 = 0, $rem214 = 0, $rem232 = 0, $retval$0 = 0.0, $tobool = 0, $trans1 = 0, $trans2 = 0, $vararg_buffer = 0, $vararg_buffer1 = 0, $vnum$0 = 0, $vnum$1 = 0, label = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 208 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(208); $vararg_buffer1 = sp + 200 | 0; $vararg_buffer = sp + 192 | 0; - $5 = sp + 96 | 0; - $6 = sp; - $7 = $3 + 4 | 0; - $8 = HEAP32[$7 >> 2] | 0; - $9 = $3 + 112 | 0; - $10 = $3 + 120 | 0; - $$0394 = 0; + $trans1 = sp + 96 | 0; + $trans2 = sp; + $marker_num1 = $config + 4 | 0; + $0 = HEAP32[$marker_num1 >> 2] | 0; + $cfPattCutoff = $config + 112 | 0; + $cfMatrixCutoff = $config + 120 | 0; + $i$0 = 0; while (1) { - if (($$0394 | 0) >= ($8 | 0)) break; - $12 = HEAP32[$3 >> 2] | 0; - $16 = $12 + ($$0394 * 320 | 0) | 0; - if (!(HEAP32[$12 + ($$0394 * 320 | 0) + 4 >> 2] | 0)) { - $$0 = -1; - $$0389 = 0; + if (($i$0 | 0) >= ($0 | 0)) break; + $1 = HEAP32[$config >> 2] | 0; + $patt_id = $1 + ($i$0 * 320 | 0) | 0; + if (!(HEAP32[$1 + ($i$0 * 320 | 0) + 4 >> 2] | 0)) { + $j$0 = 0; + $k$0 = -1; while (1) { - if (($$0389 | 0) >= ($2 | 0)) break; - if ((HEAP32[$1 + ($$0389 << 8) + 8 >> 2] | 0) == (HEAP32[$16 >> 2] | 0) ? ($23 = +HEAPF64[$1 + ($$0389 << 8) + 40 >> 3], !($23 < +HEAPF64[$9 >> 3])) : 0) if (($$0 | 0) != -1 ? !(+HEAPF64[$1 + ($$0 << 8) + 40 >> 3] < $23) : 0) $$1 = $$0; else $$1 = $$0389; else $$1 = $$0; - $$0 = $$1; - $$0389 = $$0389 + 1 | 0; + if (($j$0 | 0) >= ($marker_num | 0)) break; + if ((HEAP32[$marker_info + ($j$0 << 8) + 8 >> 2] | 0) == (HEAP32[$patt_id >> 2] | 0) ? ($5 = +HEAPF64[$marker_info + ($j$0 << 8) + 40 >> 3], !($5 < +HEAPF64[$cfPattCutoff >> 3])) : 0) if (($k$0 | 0) != -1 ? !(+HEAPF64[$marker_info + ($k$0 << 8) + 40 >> 3] < $5) : 0) $k$1 = $k$0; else $k$1 = $j$0; else $k$1 = $k$0; + $j$0 = $j$0 + 1 | 0; + $k$0 = $k$1; } - HEAP32[$12 + ($$0394 * 320 | 0) + 304 >> 2] = $$0; - if (($$0 | 0) > -1) HEAP32[$1 + ($$0 << 8) + 16 >> 2] = HEAP32[$1 + ($$0 << 8) + 20 >> 2]; + HEAP32[$1 + ($i$0 * 320 | 0) + 304 >> 2] = $k$0; + if (($k$0 | 0) > -1) HEAP32[$marker_info + ($k$0 << 8) + 16 >> 2] = HEAP32[$marker_info + ($k$0 << 8) + 20 >> 2]; } else { - $36 = $12 + ($$0394 * 320 | 0) + 312 | 0; - $$1390 = 0; - $$2 = -1; + $globalID46 = $1 + ($i$0 * 320 | 0) + 312 | 0; + $j$1 = 0; + $k$2 = -1; while (1) { - if (($$1390 | 0) >= ($2 | 0)) break; - $39 = HEAP32[$1 + ($$1390 << 8) + 12 >> 2] | 0; - if (($39 | 0) == 0 ? ($42 = $1 + ($$1390 << 8) + 248 | 0, $44 = HEAP32[$42 >> 2] | 0, $47 = HEAP32[$42 + 4 >> 2] | 0, !(($44 | 0) == 0 & ($47 | 0) == 0)) : 0) { - $51 = $36; - if (($44 | 0) == (HEAP32[$51 >> 2] | 0) ? ($47 | 0) == (HEAP32[$51 + 4 >> 2] | 0) : 0) label = 20; else $$3 = $$2; - } else if (($39 | 0) == (HEAP32[$16 >> 2] | 0)) label = 20; else $$3 = $$2; + if (($j$1 | 0) >= ($marker_num | 0)) break; + $9 = HEAP32[$marker_info + ($j$1 << 8) + 12 >> 2] | 0; + if (($9 | 0) == 0 ? ($10 = $marker_info + ($j$1 << 8) + 248 | 0, $12 = HEAP32[$10 >> 2] | 0, $15 = HEAP32[$10 + 4 >> 2] | 0, !(($12 | 0) == 0 & ($15 | 0) == 0)) : 0) { + $19 = $globalID46; + if (($12 | 0) == (HEAP32[$19 >> 2] | 0) ? ($15 | 0) == (HEAP32[$19 + 4 >> 2] | 0) : 0) label = 20; else $k$3 = $k$2; + } else if (($9 | 0) == (HEAP32[$patt_id >> 2] | 0)) label = 20; else $k$3 = $k$2; if ((label | 0) == 20) { label = 0; - $63 = +HEAPF64[$1 + ($$1390 << 8) + 48 >> 3]; - if (!($63 < +HEAPF64[$10 >> 3])) if (($$2 | 0) != -1 ? !(+HEAPF64[$1 + ($$2 << 8) + 48 >> 3] < $63) : 0) $$3 = $$2; else $$3 = $$1390; else $$3 = $$2; + $29 = +HEAPF64[$marker_info + ($j$1 << 8) + 48 >> 3]; + if (!($29 < +HEAPF64[$cfMatrixCutoff >> 3])) if (($k$2 | 0) != -1 ? !(+HEAPF64[$marker_info + ($k$2 << 8) + 48 >> 3] < $29) : 0) $k$3 = $k$2; else $k$3 = $j$1; else $k$3 = $k$2; } - $$1390 = $$1390 + 1 | 0; - $$2 = $$3; + $j$1 = $j$1 + 1 | 0; + $k$2 = $k$3; } - HEAP32[$12 + ($$0394 * 320 | 0) + 304 >> 2] = $$2; - if (($$2 | 0) > -1) HEAP32[$1 + ($$2 << 8) + 16 >> 2] = HEAP32[$1 + ($$2 << 8) + 24 >> 2]; + HEAP32[$1 + ($i$0 * 320 | 0) + 304 >> 2] = $k$2; + if (($k$2 | 0) > -1) HEAP32[$marker_info + ($k$2 << 8) + 16 >> 2] = HEAP32[$marker_info + ($k$2 << 8) + 24 >> 2]; } - $$0394 = $$0394 + 1 | 0; + $i$0 = $i$0 + 1 | 0; } - $$0405 = 0; - $$0407 = 0; - $$0410 = 0; - $$1395 = 0; - $78 = $8; + $33 = $0; + $i$1 = 0; + $max$0 = 0; + $maxArea$0 = 0; + $vnum$0 = 0; while (1) { - if (($$1395 | 0) >= ($78 | 0)) break; - $79 = HEAP32[$3 >> 2] | 0; - $81 = HEAP32[$79 + ($$1395 * 320 | 0) + 304 >> 2] | 0; - do if (($81 | 0) < 0) { - $$1406 = $$0405; - $$2409 = $$0407; - $$2412 = $$0410; + if (($i$1 | 0) >= ($33 | 0)) break; + $34 = HEAP32[$config >> 2] | 0; + $35 = HEAP32[$34 + ($i$1 * 320 | 0) + 304 >> 2] | 0; + do if (($35 | 0) < 0) { + $max$2 = $max$0; + $maxArea$2 = $maxArea$0; + $vnum$1 = $vnum$0; } else { - $83 = $1 + ($81 << 8) | 0; - if (+_arGetTransMatSquare($0, $83, +HEAPF64[$79 + ($$1395 * 320 | 0) + 8 >> 3], $6) > 4.0) { - HEAP32[(HEAP32[$3 >> 2] | 0) + ($$1395 * 320 | 0) + 304 >> 2] = -1; - $90 = $1 + ($81 << 8) + 236 | 0; - if (HEAP32[$90 >> 2] | 0) { - $$1406 = $$0405; - $$2409 = $$0407; - $$2412 = $$0410; + $arrayidx101 = $marker_info + ($35 << 8) | 0; + if (+_arGetTransMatSquare($handle, $arrayidx101, +HEAPF64[$34 + ($i$1 * 320 | 0) + 8 >> 3], $trans2) > 4.0) { + HEAP32[(HEAP32[$config >> 2] | 0) + ($i$1 * 320 | 0) + 304 >> 2] = -1; + $cutoffPhase = $marker_info + ($35 << 8) + 236 | 0; + if (HEAP32[$cutoffPhase >> 2] | 0) { + $max$2 = $max$0; + $maxArea$2 = $maxArea$0; + $vnum$1 = $vnum$0; break; } - HEAP32[$90 >> 2] = 7; - $$1406 = $$0405; - $$2409 = $$0407; - $$2412 = $$0410; + HEAP32[$cutoffPhase >> 2] = 7; + $max$2 = $max$0; + $maxArea$2 = $maxArea$0; + $vnum$1 = $vnum$0; break; } - $$pre441 = HEAP32[$83 >> 2] | 0; - L45 : do if (($$0405 | 0) == 0 | ($$0407 | 0) < ($$pre441 | 0)) { - $$2391 = 0; + $$pre378 = HEAP32[$arrayidx101 >> 2] | 0; + L45 : do if (($vnum$0 | 0) == 0 | ($maxArea$0 | 0) < ($$pre378 | 0)) { + $j$2 = 0; while (1) { - if (($$2391 | 0) == 3) { - $$1408 = $$pre441; - $$1411 = $$1395; + if (($j$2 | 0) == 3) { + $max$1 = $i$1; + $maxArea$1 = $$pre378; break L45; } - $$4 = 0; + $k$4 = 0; while (1) { - if (($$4 | 0) == 4) break; - HEAPF64[$5 + ($$2391 << 5) + ($$4 << 3) >> 3] = +HEAPF64[$6 + ($$2391 << 5) + ($$4 << 3) >> 3]; - $$4 = $$4 + 1 | 0; + if (($k$4 | 0) == 4) break; + HEAPF64[$trans1 + ($j$2 << 5) + ($k$4 << 3) >> 3] = +HEAPF64[$trans2 + ($j$2 << 5) + ($k$4 << 3) >> 3]; + $k$4 = $k$4 + 1 | 0; } - $$2391 = $$2391 + 1 | 0; + $j$2 = $j$2 + 1 | 0; } } else { - $$1408 = $$0407; - $$1411 = $$0410; + $max$1 = $max$0; + $maxArea$1 = $maxArea$0; } while (0); - $$1406 = $$0405 + 1 | 0; - $$2409 = $$1408; - $$2412 = $$1411; + $max$2 = $max$1; + $maxArea$2 = $maxArea$1; + $vnum$1 = $vnum$0 + 1 | 0; } while (0); - $$0405 = $$1406; - $$0407 = $$2409; - $$0410 = $$2412; - $$1395 = $$1395 + 1 | 0; - $78 = HEAP32[$7 >> 2] | 0; - } - L57 : do if (($$0405 | 0) != 0 ? ($$0405 | 0) >= (HEAP32[$3 + 128 >> 2] | 0) : 0) { - _arUtilMatMul($5, (HEAP32[$3 >> 2] | 0) + ($$0410 * 320 | 0) + 112 | 0, $6) | 0; - $109 = $$0405 << 2; - $111 = _malloc($$0405 << 6) | 0; - if (!$111) { - _arLog(0, 3, 45930, $vararg_buffer); + $33 = HEAP32[$marker_num1 >> 2] | 0; + $i$1 = $i$1 + 1 | 0; + $max$0 = $max$2; + $maxArea$0 = $maxArea$2; + $vnum$0 = $vnum$1; + } + L57 : do if (($vnum$0 | 0) != 0 ? ($vnum$0 | 0) >= (HEAP32[$config + 128 >> 2] | 0) : 0) { + _arUtilMatMul($trans1, (HEAP32[$config >> 2] | 0) + ($max$0 * 320 | 0) + 112 | 0, $trans2) | 0; + $mul = $vnum$0 << 2; + $call156 = _malloc($vnum$0 << 6) | 0; + if (!$call156) { + _arLog(0, 3, 46772, $vararg_buffer); _exit(1); } - $114 = _malloc($$0405 * 96 | 0) | 0; - if (!$114) { - _arLog(0, 3, 45930, $vararg_buffer1); + $call163 = _malloc($vnum$0 * 96 | 0) | 0; + if (!$call163) { + _arLog(0, 3, 46772, $vararg_buffer1); _exit(1); } - $116 = HEAP32[$7 >> 2] | 0; - $$2396 = 0; - $$3392 = 0; + $42 = HEAP32[$marker_num1 >> 2] | 0; + $i$2 = 0; + $j$3 = 0; while (1) { - if (($$2396 | 0) >= ($116 | 0)) break; - $118 = HEAP32[$3 >> 2] | 0; - $120 = HEAP32[$118 + ($$2396 * 320 | 0) + 304 >> 2] | 0; - if (($120 | 0) < 0) $$4393 = $$3392; else { - $123 = HEAP32[$1 + ($120 << 8) + 16 >> 2] | 0; - $125 = (4 - $123 | 0) % 4 | 0; - $128 = $$3392 << 3; - HEAPF64[$111 + ($128 << 3) >> 3] = +HEAPF64[$1 + ($120 << 8) + 168 + ($125 << 4) >> 3]; - HEAPF64[$111 + (($128 | 1) << 3) >> 3] = +HEAPF64[$1 + ($120 << 8) + 168 + ($125 << 4) + 8 >> 3]; - $135 = (5 - $123 | 0) % 4 | 0; - HEAPF64[$111 + (($128 | 2) << 3) >> 3] = +HEAPF64[$1 + ($120 << 8) + 168 + ($135 << 4) >> 3]; - HEAPF64[$111 + (($128 | 3) << 3) >> 3] = +HEAPF64[$1 + ($120 << 8) + 168 + ($135 << 4) + 8 >> 3]; - $145 = (6 - $123 | 0) % 4 | 0; - HEAPF64[$111 + (($128 | 4) << 3) >> 3] = +HEAPF64[$1 + ($120 << 8) + 168 + ($145 << 4) >> 3]; - HEAPF64[$111 + (($128 | 5) << 3) >> 3] = +HEAPF64[$1 + ($120 << 8) + 168 + ($145 << 4) + 8 >> 3]; - $155 = (7 - $123 | 0) % 4 | 0; - HEAPF64[$111 + (($128 | 6) << 3) >> 3] = +HEAPF64[$1 + ($120 << 8) + 168 + ($155 << 4) >> 3]; - HEAPF64[$111 + (($128 | 7) << 3) >> 3] = +HEAPF64[$1 + ($120 << 8) + 168 + ($155 << 4) + 8 >> 3]; - $166 = $$3392 * 12 | 0; - HEAPF64[$114 + ($166 << 3) >> 3] = +HEAPF64[$118 + ($$2396 * 320 | 0) + 208 >> 3]; - HEAPF64[$114 + (($166 | 1) << 3) >> 3] = +HEAPF64[$118 + ($$2396 * 320 | 0) + 216 >> 3]; - HEAPF64[$114 + (($166 | 2) << 3) >> 3] = +HEAPF64[$118 + ($$2396 * 320 | 0) + 224 >> 3]; - HEAPF64[$114 + (($166 | 3) << 3) >> 3] = +HEAPF64[$118 + ($$2396 * 320 | 0) + 232 >> 3]; - HEAPF64[$114 + ($166 + 4 << 3) >> 3] = +HEAPF64[$118 + ($$2396 * 320 | 0) + 240 >> 3]; - HEAPF64[$114 + ($166 + 5 << 3) >> 3] = +HEAPF64[$118 + ($$2396 * 320 | 0) + 248 >> 3]; - HEAPF64[$114 + ($166 + 6 << 3) >> 3] = +HEAPF64[$118 + ($$2396 * 320 | 0) + 256 >> 3]; - HEAPF64[$114 + ($166 + 7 << 3) >> 3] = +HEAPF64[$118 + ($$2396 * 320 | 0) + 264 >> 3]; - HEAPF64[$114 + ($166 + 8 << 3) >> 3] = +HEAPF64[$118 + ($$2396 * 320 | 0) + 272 >> 3]; - HEAPF64[$114 + ($166 + 9 << 3) >> 3] = +HEAPF64[$118 + ($$2396 * 320 | 0) + 280 >> 3]; - HEAPF64[$114 + ($166 + 10 << 3) >> 3] = +HEAPF64[$118 + ($$2396 * 320 | 0) + 288 >> 3]; - HEAPF64[$114 + ($166 + 11 << 3) >> 3] = +HEAPF64[$118 + ($$2396 * 320 | 0) + 296 >> 3]; - $$4393 = $$3392 + 1 | 0; - } - $$2396 = $$2396 + 1 | 0; - $$3392 = $$4393; - } - $214 = $3 + 104 | 0; - $217 = ($4 | 0) != 0; - if (!(HEAP32[$214 >> 2] | 0)) { - $218 = $3 + 8 | 0; - $219 = +_arGetTransMat($0, $6, $111, $114, $109, $218); - if ($217 & $219 >= 20.0) { - _icpSetInlierProbability(HEAP32[$0 >> 2] | 0, .8) | 0; - $222 = +_arGetTransMatRobust($0, $6, $111, $114, $109, $218); - if ($222 >= 20.0) { - _icpSetInlierProbability(HEAP32[$0 >> 2] | 0, .6) | 0; - $225 = +_arGetTransMatRobust($0, $6, $111, $114, $109, $218); - if ($225 >= 20.0) { - _icpSetInlierProbability(HEAP32[$0 >> 2] | 0, .4) | 0; - $228 = +_arGetTransMatRobust($0, $6, $111, $114, $109, $218); - if (!($228 >= 20.0)) $$0413 = $228; else { - _icpSetInlierProbability(HEAP32[$0 >> 2] | 0, 0.0) | 0; - $$0413 = +_arGetTransMatRobust($0, $6, $111, $114, $109, $218); - } - } else $$0413 = $225; - } else $$0413 = $222; - } else $$0413 = $219; - _free($114); - _free($111); - $$6419 = $$0413; + if (($i$2 | 0) >= ($42 | 0)) break; + $43 = HEAP32[$config >> 2] | 0; + $44 = HEAP32[$43 + ($i$2 * 320 | 0) + 304 >> 2] | 0; + if (($44 | 0) < 0) $j$4 = $j$3; else { + $45 = HEAP32[$marker_info + ($44 << 8) + 16 >> 2] | 0; + $rem = (4 - $45 | 0) % 4 | 0; + $mul182 = $j$3 << 3; + HEAPF64[$call156 + ($mul182 << 3) >> 3] = +HEAPF64[$marker_info + ($44 << 8) + 168 + ($rem << 4) >> 3]; + HEAPF64[$call156 + (($mul182 | 1) << 3) >> 3] = +HEAPF64[$marker_info + ($44 << 8) + 168 + ($rem << 4) + 8 >> 3]; + $rem196 = (5 - $45 | 0) % 4 | 0; + HEAPF64[$call156 + (($mul182 | 2) << 3) >> 3] = +HEAPF64[$marker_info + ($44 << 8) + 168 + ($rem196 << 4) >> 3]; + HEAPF64[$call156 + (($mul182 | 3) << 3) >> 3] = +HEAPF64[$marker_info + ($44 << 8) + 168 + ($rem196 << 4) + 8 >> 3]; + $rem214 = (6 - $45 | 0) % 4 | 0; + HEAPF64[$call156 + (($mul182 | 4) << 3) >> 3] = +HEAPF64[$marker_info + ($44 << 8) + 168 + ($rem214 << 4) >> 3]; + HEAPF64[$call156 + (($mul182 | 5) << 3) >> 3] = +HEAPF64[$marker_info + ($44 << 8) + 168 + ($rem214 << 4) + 8 >> 3]; + $rem232 = (7 - $45 | 0) % 4 | 0; + HEAPF64[$call156 + (($mul182 | 6) << 3) >> 3] = +HEAPF64[$marker_info + ($44 << 8) + 168 + ($rem232 << 4) >> 3]; + HEAPF64[$call156 + (($mul182 | 7) << 3) >> 3] = +HEAPF64[$marker_info + ($44 << 8) + 168 + ($rem232 << 4) + 8 >> 3]; + $mul252 = $j$3 * 12 | 0; + HEAPF64[$call163 + ($mul252 << 3) >> 3] = +HEAPF64[$43 + ($i$2 * 320 | 0) + 208 >> 3]; + HEAPF64[$call163 + (($mul252 | 1) << 3) >> 3] = +HEAPF64[$43 + ($i$2 * 320 | 0) + 216 >> 3]; + HEAPF64[$call163 + (($mul252 | 2) << 3) >> 3] = +HEAPF64[$43 + ($i$2 * 320 | 0) + 224 >> 3]; + HEAPF64[$call163 + (($mul252 | 3) << 3) >> 3] = +HEAPF64[$43 + ($i$2 * 320 | 0) + 232 >> 3]; + HEAPF64[$call163 + ($mul252 + 4 << 3) >> 3] = +HEAPF64[$43 + ($i$2 * 320 | 0) + 240 >> 3]; + HEAPF64[$call163 + ($mul252 + 5 << 3) >> 3] = +HEAPF64[$43 + ($i$2 * 320 | 0) + 248 >> 3]; + HEAPF64[$call163 + ($mul252 + 6 << 3) >> 3] = +HEAPF64[$43 + ($i$2 * 320 | 0) + 256 >> 3]; + HEAPF64[$call163 + ($mul252 + 7 << 3) >> 3] = +HEAPF64[$43 + ($i$2 * 320 | 0) + 264 >> 3]; + HEAPF64[$call163 + ($mul252 + 8 << 3) >> 3] = +HEAPF64[$43 + ($i$2 * 320 | 0) + 272 >> 3]; + HEAPF64[$call163 + ($mul252 + 9 << 3) >> 3] = +HEAPF64[$43 + ($i$2 * 320 | 0) + 280 >> 3]; + HEAPF64[$call163 + ($mul252 + 10 << 3) >> 3] = +HEAPF64[$43 + ($i$2 * 320 | 0) + 288 >> 3]; + HEAPF64[$call163 + ($mul252 + 11 << 3) >> 3] = +HEAPF64[$43 + ($i$2 * 320 | 0) + 296 >> 3]; + $j$4 = $j$3 + 1 | 0; + } + $i$2 = $i$2 + 1 | 0; + $j$3 = $j$4; + } + $prevF347 = $config + 104 | 0; + $tobool = ($robustFlag | 0) != 0; + if (!(HEAP32[$prevF347 >> 2] | 0)) { + $arraydecay353 = $config + 8 | 0; + $call354 = +_arGetTransMat($handle, $trans2, $call156, $call163, $mul, $arraydecay353); + if ($tobool & $call354 >= 20.0) { + _icpSetInlierProbability(HEAP32[$handle >> 2] | 0, .8) | 0; + $call362 = +_arGetTransMatRobust($handle, $trans2, $call156, $call163, $mul, $arraydecay353); + if ($call362 >= 20.0) { + _icpSetInlierProbability(HEAP32[$handle >> 2] | 0, .6) | 0; + $call371 = +_arGetTransMatRobust($handle, $trans2, $call156, $call163, $mul, $arraydecay353); + if ($call371 >= 20.0) { + _icpSetInlierProbability(HEAP32[$handle >> 2] | 0, .4) | 0; + $call380 = +_arGetTransMatRobust($handle, $trans2, $call156, $call163, $mul, $arraydecay353); + if (!($call380 >= 20.0)) $err$0 = $call380; else { + _icpSetInlierProbability(HEAP32[$handle >> 2] | 0, 0.0) | 0; + $err$0 = +_arGetTransMatRobust($handle, $trans2, $call156, $call163, $mul, $arraydecay353); + } + } else $err$0 = $call371; + } else $err$0 = $call362; + } else $err$0 = $call354; + _free($call163); + _free($call156); + $err$6 = $err$0; } else { - $232 = +_arGetTransMat($0, $6, $111, $114, $109, $5); - $233 = $3 + 8 | 0; - $234 = +_arGetTransMat($0, $233, $111, $114, $109, $233); - $235 = $232 < $234; - L82 : do if ($217) { - L84 : do if ($235) { - $$5 = 0; + $call407 = +_arGetTransMat($handle, $trans2, $call156, $call163, $mul, $trans1); + $arraydecay409 = $config + 8 | 0; + $call413 = +_arGetTransMat($handle, $arraydecay409, $call156, $call163, $mul, $arraydecay409); + $cmp414 = $call407 < $call413; + L82 : do if ($tobool) { + L84 : do if ($cmp414) { + $j$5 = 0; while (1) { - if (($$5 | 0) == 3) { - $$1414 = $232; + if (($j$5 | 0) == 3) { + $err$1 = $call407; break L84; } - $$3397 = 0; + $i$3 = 0; while (1) { - if (($$3397 | 0) == 4) break; - HEAPF64[$3 + 8 + ($$5 << 5) + ($$3397 << 3) >> 3] = +HEAPF64[$5 + ($$5 << 5) + ($$3397 << 3) >> 3]; - $$3397 = $$3397 + 1 | 0; - } - $$5 = $$5 + 1 | 0; - } - } else $$1414 = $234; while (0); - if ($$1414 >= 20.0) { - _icpSetInlierProbability(HEAP32[$0 >> 2] | 0, .8) | 0; - $243 = +_arGetTransMatRobust($0, $6, $111, $114, $109, $5); - $244 = +_arGetTransMatRobust($0, $233, $111, $114, $109, $233); - L95 : do if ($243 < $244) { - $$6 = 0; + if (($i$3 | 0) == 4) break; + HEAPF64[$config + 8 + ($j$5 << 5) + ($i$3 << 3) >> 3] = +HEAPF64[$trans1 + ($j$5 << 5) + ($i$3 << 3) >> 3]; + $i$3 = $i$3 + 1 | 0; + } + $j$5 = $j$5 + 1 | 0; + } + } else $err$1 = $call413; while (0); + if ($err$1 >= 20.0) { + _icpSetInlierProbability(HEAP32[$handle >> 2] | 0, .8) | 0; + $call441 = +_arGetTransMatRobust($handle, $trans2, $call156, $call163, $mul, $trans1); + $call447 = +_arGetTransMatRobust($handle, $arraydecay409, $call156, $call163, $mul, $arraydecay409); + L95 : do if ($call441 < $call447) { + $j$6 = 0; while (1) { - if (($$6 | 0) == 3) { - $$2415 = $243; + if (($j$6 | 0) == 3) { + $err$2 = $call441; break L95; } - $$4398 = 0; + $i$4 = 0; while (1) { - if (($$4398 | 0) == 4) break; - HEAPF64[$3 + 8 + ($$6 << 5) + ($$4398 << 3) >> 3] = +HEAPF64[$5 + ($$6 << 5) + ($$4398 << 3) >> 3]; - $$4398 = $$4398 + 1 | 0; + if (($i$4 | 0) == 4) break; + HEAPF64[$config + 8 + ($j$6 << 5) + ($i$4 << 3) >> 3] = +HEAPF64[$trans1 + ($j$6 << 5) + ($i$4 << 3) >> 3]; + $i$4 = $i$4 + 1 | 0; } - $$6 = $$6 + 1 | 0; - } - } else $$2415 = $244; while (0); - if ($$2415 >= 20.0) { - _icpSetInlierProbability(HEAP32[$0 >> 2] | 0, .6) | 0; - $253 = +_arGetTransMatRobust($0, $6, $111, $114, $109, $5); - $254 = +_arGetTransMatRobust($0, $233, $111, $114, $109, $233); - L106 : do if ($253 < $254) { - $$7 = 0; + $j$6 = $j$6 + 1 | 0; + } + } else $err$2 = $call447; while (0); + if ($err$2 >= 20.0) { + _icpSetInlierProbability(HEAP32[$handle >> 2] | 0, .6) | 0; + $call475 = +_arGetTransMatRobust($handle, $trans2, $call156, $call163, $mul, $trans1); + $call481 = +_arGetTransMatRobust($handle, $arraydecay409, $call156, $call163, $mul, $arraydecay409); + L106 : do if ($call475 < $call481) { + $j$7 = 0; while (1) { - if (($$7 | 0) == 3) { - $$3416 = $253; + if (($j$7 | 0) == 3) { + $err$3 = $call475; break L106; } - $$5399 = 0; + $i$5 = 0; while (1) { - if (($$5399 | 0) == 4) break; - HEAPF64[$3 + 8 + ($$7 << 5) + ($$5399 << 3) >> 3] = +HEAPF64[$5 + ($$7 << 5) + ($$5399 << 3) >> 3]; - $$5399 = $$5399 + 1 | 0; + if (($i$5 | 0) == 4) break; + HEAPF64[$config + 8 + ($j$7 << 5) + ($i$5 << 3) >> 3] = +HEAPF64[$trans1 + ($j$7 << 5) + ($i$5 << 3) >> 3]; + $i$5 = $i$5 + 1 | 0; } - $$7 = $$7 + 1 | 0; + $j$7 = $j$7 + 1 | 0; } - } else $$3416 = $254; while (0); - if ($$3416 >= 20.0) { - _icpSetInlierProbability(HEAP32[$0 >> 2] | 0, .4) | 0; - $263 = +_arGetTransMatRobust($0, $6, $111, $114, $109, $5); - $264 = +_arGetTransMatRobust($0, $233, $111, $114, $109, $233); - L117 : do if ($263 < $264) { - $$8 = 0; + } else $err$3 = $call481; while (0); + if ($err$3 >= 20.0) { + _icpSetInlierProbability(HEAP32[$handle >> 2] | 0, .4) | 0; + $call509 = +_arGetTransMatRobust($handle, $trans2, $call156, $call163, $mul, $trans1); + $call515 = +_arGetTransMatRobust($handle, $arraydecay409, $call156, $call163, $mul, $arraydecay409); + L117 : do if ($call509 < $call515) { + $j$8 = 0; while (1) { - if (($$8 | 0) == 3) { - $$4417 = $263; + if (($j$8 | 0) == 3) { + $err$4 = $call509; break L117; } - $$6400 = 0; + $i$6 = 0; while (1) { - if (($$6400 | 0) == 4) break; - HEAPF64[$3 + 8 + ($$8 << 5) + ($$6400 << 3) >> 3] = +HEAPF64[$5 + ($$8 << 5) + ($$6400 << 3) >> 3]; - $$6400 = $$6400 + 1 | 0; + if (($i$6 | 0) == 4) break; + HEAPF64[$config + 8 + ($j$8 << 5) + ($i$6 << 3) >> 3] = +HEAPF64[$trans1 + ($j$8 << 5) + ($i$6 << 3) >> 3]; + $i$6 = $i$6 + 1 | 0; } - $$8 = $$8 + 1 | 0; + $j$8 = $j$8 + 1 | 0; } - } else $$4417 = $264; while (0); - if ($$4417 >= 20.0) { - _icpSetInlierProbability(HEAP32[$0 >> 2] | 0, 0.0) | 0; - $273 = +_arGetTransMatRobust($0, $6, $111, $114, $109, $5); - $274 = +_arGetTransMatRobust($0, $233, $111, $114, $109, $233); - if ($273 < $274) { - $$9 = 0; + } else $err$4 = $call515; while (0); + if ($err$4 >= 20.0) { + _icpSetInlierProbability(HEAP32[$handle >> 2] | 0, 0.0) | 0; + $call543 = +_arGetTransMatRobust($handle, $trans2, $call156, $call163, $mul, $trans1); + $call549 = +_arGetTransMatRobust($handle, $arraydecay409, $call156, $call163, $mul, $arraydecay409); + if ($call543 < $call549) { + $j$9 = 0; while (1) { - if (($$9 | 0) == 3) { - $$5418 = $273; + if (($j$9 | 0) == 3) { + $err$5 = $call543; break L82; } - $$7401 = 0; + $i$7 = 0; while (1) { - if (($$7401 | 0) == 4) break; - HEAPF64[$3 + 8 + ($$9 << 5) + ($$7401 << 3) >> 3] = +HEAPF64[$5 + ($$9 << 5) + ($$7401 << 3) >> 3]; - $$7401 = $$7401 + 1 | 0; + if (($i$7 | 0) == 4) break; + HEAPF64[$config + 8 + ($j$9 << 5) + ($i$7 << 3) >> 3] = +HEAPF64[$trans1 + ($j$9 << 5) + ($i$7 << 3) >> 3]; + $i$7 = $i$7 + 1 | 0; } - $$9 = $$9 + 1 | 0; + $j$9 = $j$9 + 1 | 0; } - } else $$5418 = $274; - } else $$5418 = $$4417; - } else $$5418 = $$3416; - } else $$5418 = $$2415; - } else $$5418 = $$1414; - } else if ($235) { - $$10 = 0; + } else $err$5 = $call549; + } else $err$5 = $err$4; + } else $err$5 = $err$3; + } else $err$5 = $err$2; + } else $err$5 = $err$1; + } else if ($cmp414) { + $j$10 = 0; while (1) { - if (($$10 | 0) == 3) { - $$5418 = $232; + if (($j$10 | 0) == 3) { + $err$5 = $call407; break L82; } - $$8402 = 0; + $i$8 = 0; while (1) { - if (($$8402 | 0) == 4) break; - HEAPF64[$3 + 8 + ($$10 << 5) + ($$8402 << 3) >> 3] = +HEAPF64[$5 + ($$10 << 5) + ($$8402 << 3) >> 3]; - $$8402 = $$8402 + 1 | 0; + if (($i$8 | 0) == 4) break; + HEAPF64[$config + 8 + ($j$10 << 5) + ($i$8 << 3) >> 3] = +HEAPF64[$trans1 + ($j$10 << 5) + ($i$8 << 3) >> 3]; + $i$8 = $i$8 + 1 | 0; } - $$10 = $$10 + 1 | 0; + $j$10 = $j$10 + 1 | 0; } - } else $$5418 = $234; while (0); - _free($114); - _free($111); - $$6419 = $$5418; + } else $err$5 = $call413; while (0); + _free($call163); + _free($call156); + $err$6 = $err$5; } - if ($$6419 < 20.0) { - HEAP32[$214 >> 2] = 1; - $$0404 = $$6419; + if ($err$6 < 20.0) { + HEAP32[$prevF347 >> 2] = 1; + $retval$0 = $err$6; break; } - HEAP32[$214 >> 2] = 0; - $287 = HEAP32[$7 >> 2] | 0; - $$9403 = 0; + HEAP32[$prevF347 >> 2] = 0; + $81 = HEAP32[$marker_num1 >> 2] | 0; + $i$9 = 0; while (1) { - if (($$9403 | 0) >= ($287 | 0)) { - $$0404 = $$6419; + if (($i$9 | 0) >= ($81 | 0)) { + $retval$0 = $err$6; break L57; } - $291 = HEAP32[(HEAP32[$3 >> 2] | 0) + ($$9403 * 320 | 0) + 304 >> 2] | 0; - if (($291 | 0) >= 0 ? ($293 = $1 + ($291 << 8) + 236 | 0, (HEAP32[$293 >> 2] | 0) == 0) : 0) HEAP32[$293 >> 2] = 8; - $$9403 = $$9403 + 1 | 0; + $83 = HEAP32[(HEAP32[$config >> 2] | 0) + ($i$9 * 320 | 0) + 304 >> 2] | 0; + if (($83 | 0) >= 0 ? ($cutoffPhase623 = $marker_info + ($83 << 8) + 236 | 0, (HEAP32[$cutoffPhase623 >> 2] | 0) == 0) : 0) HEAP32[$cutoffPhase623 >> 2] = 8; + $i$9 = $i$9 + 1 | 0; } } else label = 45; while (0); if ((label | 0) == 45) { - HEAP32[$3 + 104 >> 2] = 0; - $$0404 = -1.0; + HEAP32[$config + 104 >> 2] = 0; + $retval$0 = -1.0; } STACKTOP = sp; - return +$$0404; + return +$retval$0; } -function __ZN6vision36ComputeSubpixelHessianFineOctavePairEPfS0_RKNS_5ImageES3_S3_ii($0, $1, $2, $3, $4, $5, $6) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - $6 = $6 | 0; - var $10 = 0, $104 = 0, $108 = 0, $11 = 0, $110 = 0, $118 = 0, $12 = 0, $123 = 0, $127 = 0, $129 = 0, $13 = 0, $131 = 0, $133 = 0, $135 = 0, $138 = 0.0, $14 = 0, $146 = 0, $151 = 0, $155 = 0, $164 = 0, $169 = 0, $173 = 0, $183 = 0, $188 = 0, $192 = 0, $194 = 0.0, $203 = 0, $208 = 0, $212 = 0, $215 = 0.0, $216 = 0.0, $222 = 0.0, $224 = 0.0, $229 = 0.0, $231 = 0.0, $238 = 0.0, $239 = 0.0, $24 = 0, $244 = 0.0, $245 = 0.0, $252 = 0.0, $254 = 0, $29 = 0, $33 = 0, $34 = 0, $36 = 0, $44 = 0, $49 = 0, $53 = 0, $54 = 0, $62 = 0, $67 = 0, $7 = 0, $71 = 0, $73 = 0, $8 = 0, $81 = 0, $86 = 0, $9 = 0, $90 = 0, $91 = 0, $99 = 0, sp = 0; +function __ZN6vision36ComputeSubpixelHessianFineOctavePairEPfS0_RKNS_5ImageES3_S3_ii($H, $b, $lap0, $lap1, $lap2, $x, $y) { + $H = $H | 0; + $b = $b | 0; + $lap0 = $lap0 | 0; + $lap1 = $lap1 | 0; + $lap2 = $lap2 | 0; + $x = $x | 0; + $y = $y | 0; + var $15 = 0.0, $17 = 0.0, $20 = 0.0, $23 = 0.0, $26 = 0.0, $30 = 0, $6 = 0.0, $Dx = 0, $Dxx = 0, $Dxy = 0, $Dy = 0, $Dyy = 0, $add13 = 0, $add143 = 0.0, $add165 = 0.0, $add169 = 0.0, $add179 = 0.0, $arrayidx = 0, $arrayidx91 = 0, $arrayidx94 = 0, $arrayidx96 = 0, $call$i1$i$i = 0, $call$i1$i$i106 = 0, $call$i1$i$i120 = 0, $call$i1$i$i134 = 0, $call$i1$i$i148 = 0, $call$i1$i$i162 = 0, $call$i1$i$i176 = 0, $call$i1$i$i64 = 0, $call$i1$i$i78 = 0, $call$i1$i$i92 = 0, $call$i2$i$i = 0, $call$i2$i$i109 = 0, $call$i2$i$i123 = 0, $call$i2$i$i137 = 0, $call$i2$i$i151 = 0, $call$i2$i$i165 = 0, $call$i2$i$i179 = 0, $call$i2$i$i67 = 0, $call$i2$i$i81 = 0, $call$i2$i$i95 = 0, $call107 = 0, $call121 = 0, $call137 = 0, $call153 = 0, $call158 = 0.0, $call22 = 0, $call28 = 0, $call37 = 0, $call52 = 0, $call58 = 0, $call67 = 0, $call7 = 0, $call83 = 0, $mul175 = 0.0, $mul185 = 0.0, $ref$tmp$i$i171 = 0, $shr = 0, $shr74 = 0, $sub10 = 0, $x_div_2 = 0, $y_div_2 = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 32 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $7 = sp + 28 | 0; - $8 = sp + 24 | 0; - $9 = sp + 20 | 0; - $10 = sp + 16 | 0; - $11 = sp + 12 | 0; - $12 = sp + 8 | 0; - $13 = sp + 4 | 0; - $14 = sp; - if (($5 | 0) > 0 ? ($5 + 1 | 0) >>> 0 < (__ZNK6vision5Image5widthEv($3) | 0) >>> 0 : 0) { - $34 = $6 + -1 | 0; - if (($6 | 0) > 0 ? ($36 = $6 + 1 | 0, $36 >>> 0 < (__ZNK6vision5Image6heightEv($3) | 0) >>> 0) : 0) { - $54 = __ZNK6vision5Image5widthEv($2) | 0; - if (($54 | 0) != (__ZNK6vision5Image5widthEv($3) | 0)) { - $62 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 30218) | 0, 28600) | 0, 39072) | 0, 415) | 0, 39079) | 0, 29150) | 0; - __ZNKSt3__28ios_base6getlocEv($7, $62 + (HEAP32[(HEAP32[$62 >> 2] | 0) + -12 >> 2] | 0) | 0); - $67 = __ZNKSt3__26locale9use_facetERNS0_2idE($7, 66512) | 0; - $71 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$67 >> 2] | 0) + 28 >> 2] & 127]($67, 10) | 0; - __ZNSt3__26localeD2Ev($7); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($62, $71) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($62) | 0; + $ref$tmp$i$i171 = sp + 28 | 0; + $x_div_2 = sp + 24 | 0; + $y_div_2 = sp + 20 | 0; + $Dx = sp + 16 | 0; + $Dy = sp + 12 | 0; + $Dxx = sp + 8 | 0; + $Dyy = sp + 4 | 0; + $Dxy = sp; + if (($x | 0) > 0 ? ($x + 1 | 0) >>> 0 < (__ZNK6vision5Image5widthEv($lap1) | 0) >>> 0 : 0) { + $sub10 = $y + -1 | 0; + if (($y | 0) > 0 ? ($add13 = $y + 1 | 0, $add13 >>> 0 < (__ZNK6vision5Image6heightEv($lap1) | 0) >>> 0) : 0) { + $call28 = __ZNK6vision5Image5widthEv($lap0) | 0; + if (($call28 | 0) != (__ZNK6vision5Image5widthEv($lap1) | 0)) { + $call37 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 30370) | 0, 28676) | 0, 39794) | 0, 415) | 0, 39801) | 0, 29264) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i$i171, $call37 + (HEAP32[(HEAP32[$call37 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i$i78 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i$i171, 67360) | 0; + $call$i2$i$i81 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i$i78 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i$i78, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i$i171); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call37, $call$i2$i$i81) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call37) | 0; _abort(); } - $73 = (__ZNK6vision5Image5widthEv($2) | 0) >>> 1; - if (($73 | 0) != (__ZNK6vision5Image5widthEv($4) | 0)) { - $81 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 29180) | 0, 28600) | 0, 39072) | 0, 416) | 0, 39079) | 0, 29150) | 0; - __ZNKSt3__28ios_base6getlocEv($7, $81 + (HEAP32[(HEAP32[$81 >> 2] | 0) + -12 >> 2] | 0) | 0); - $86 = __ZNKSt3__26locale9use_facetERNS0_2idE($7, 66512) | 0; - $90 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$86 >> 2] | 0) + 28 >> 2] & 127]($86, 10) | 0; - __ZNSt3__26localeD2Ev($7); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($81, $90) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($81) | 0; + $shr = (__ZNK6vision5Image5widthEv($lap0) | 0) >>> 1; + if (($shr | 0) != (__ZNK6vision5Image5widthEv($lap2) | 0)) { + $call52 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 29294) | 0, 28676) | 0, 39794) | 0, 416) | 0, 39801) | 0, 29264) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i$i171, $call52 + (HEAP32[(HEAP32[$call52 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i$i92 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i$i171, 67360) | 0; + $call$i2$i$i95 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i$i92 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i$i92, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i$i171); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call52, $call$i2$i$i95) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call52) | 0; _abort(); } - $91 = __ZNK6vision5Image6heightEv($2) | 0; - if (($91 | 0) != (__ZNK6vision5Image6heightEv($3) | 0)) { - $99 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 30270) | 0, 28600) | 0, 39072) | 0, 417) | 0, 39079) | 0, 29150) | 0; - __ZNKSt3__28ios_base6getlocEv($7, $99 + (HEAP32[(HEAP32[$99 >> 2] | 0) + -12 >> 2] | 0) | 0); - $104 = __ZNKSt3__26locale9use_facetERNS0_2idE($7, 66512) | 0; - $108 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$104 >> 2] | 0) + 28 >> 2] & 127]($104, 10) | 0; - __ZNSt3__26localeD2Ev($7); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($99, $108) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($99) | 0; + $call58 = __ZNK6vision5Image6heightEv($lap0) | 0; + if (($call58 | 0) != (__ZNK6vision5Image6heightEv($lap1) | 0)) { + $call67 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 30422) | 0, 28676) | 0, 39794) | 0, 417) | 0, 39801) | 0, 29264) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i$i171, $call67 + (HEAP32[(HEAP32[$call67 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i$i106 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i$i171, 67360) | 0; + $call$i2$i$i109 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i$i106 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i$i106, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i$i171); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call67, $call$i2$i$i109) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call67) | 0; _abort(); } - $110 = (__ZNK6vision5Image6heightEv($2) | 0) >>> 1; - if (($110 | 0) != (__ZNK6vision5Image6heightEv($4) | 0)) { - $118 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 29296) | 0, 28600) | 0, 39072) | 0, 418) | 0, 39079) | 0, 29150) | 0; - __ZNKSt3__28ios_base6getlocEv($7, $118 + (HEAP32[(HEAP32[$118 >> 2] | 0) + -12 >> 2] | 0) | 0); - $123 = __ZNKSt3__26locale9use_facetERNS0_2idE($7, 66512) | 0; - $127 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$123 >> 2] | 0) + 28 >> 2] & 127]($123, 10) | 0; - __ZNSt3__26localeD2Ev($7); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($118, $127) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($118) | 0; + $shr74 = (__ZNK6vision5Image6heightEv($lap0) | 0) >>> 1; + if (($shr74 | 0) != (__ZNK6vision5Image6heightEv($lap2) | 0)) { + $call83 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 29410) | 0, 28676) | 0, 39794) | 0, 418) | 0, 39801) | 0, 29264) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i$i171, $call83 + (HEAP32[(HEAP32[$call83 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i$i120 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i$i171, 67360) | 0; + $call$i2$i$i123 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i$i120 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i$i120, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i$i171); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call83, $call$i2$i$i123) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call83) | 0; _abort(); } - $129 = (__ZNK6vision5Image3getIfEEPKT_m($2, $34) | 0) + ($5 << 2) | 0; - $131 = (__ZNK6vision5Image3getIfEEPKT_m($2, $6) | 0) + ($5 << 2) | 0; - $133 = (__ZNK6vision5Image3getIfEEPKT_m($2, $36) | 0) + ($5 << 2) | 0; - $135 = (__ZNK6vision5Image3getIfEEPKT_m($3, $6) | 0) + ($5 << 2) | 0; - __ZN6vision25bilinear_downsample_pointERfS0_ffi($8, $9, +($5 | 0), +($6 | 0), 1); - $138 = +HEAPF32[$8 >> 2]; - if (!($138 + -.5 >= 0.0)) { - $146 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 30324) | 0, 28600) | 0, 39072) | 0, 428) | 0, 39079) | 0, 30365) | 0; - __ZNKSt3__28ios_base6getlocEv($7, $146 + (HEAP32[(HEAP32[$146 >> 2] | 0) + -12 >> 2] | 0) | 0); - $151 = __ZNKSt3__26locale9use_facetERNS0_2idE($7, 66512) | 0; - $155 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$151 >> 2] | 0) + 28 >> 2] & 127]($151, 10) | 0; - __ZNSt3__26localeD2Ev($7); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($146, $155) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($146) | 0; + $arrayidx = (__ZNK6vision5Image3getIfEEPKT_m($lap0, $sub10) | 0) + ($x << 2) | 0; + $arrayidx91 = (__ZNK6vision5Image3getIfEEPKT_m($lap0, $y) | 0) + ($x << 2) | 0; + $arrayidx94 = (__ZNK6vision5Image3getIfEEPKT_m($lap0, $add13) | 0) + ($x << 2) | 0; + $arrayidx96 = (__ZNK6vision5Image3getIfEEPKT_m($lap1, $y) | 0) + ($x << 2) | 0; + __ZN6vision25bilinear_downsample_pointERfS0_ffi($x_div_2, $y_div_2, +($x | 0), +($y | 0), 1); + $6 = +HEAPF32[$x_div_2 >> 2]; + if (!($6 + -.5 >= 0.0)) { + $call107 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 30476) | 0, 28676) | 0, 39794) | 0, 428) | 0, 39801) | 0, 30517) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i$i171, $call107 + (HEAP32[(HEAP32[$call107 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i$i134 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i$i171, 67360) | 0; + $call$i2$i$i137 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i$i134 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i$i134, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i$i171); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call107, $call$i2$i$i137) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call107) | 0; _abort(); } - if (!(+HEAPF32[$9 >> 2] + -.5 >= 0.0)) { - $164 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 30419) | 0, 28600) | 0, 39072) | 0, 429) | 0, 39079) | 0, 30460) | 0; - __ZNKSt3__28ios_base6getlocEv($7, $164 + (HEAP32[(HEAP32[$164 >> 2] | 0) + -12 >> 2] | 0) | 0); - $169 = __ZNKSt3__26locale9use_facetERNS0_2idE($7, 66512) | 0; - $173 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$169 >> 2] | 0) + 28 >> 2] & 127]($169, 10) | 0; - __ZNSt3__26localeD2Ev($7); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($164, $173) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($164) | 0; + if (!(+HEAPF32[$y_div_2 >> 2] + -.5 >= 0.0)) { + $call121 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 30571) | 0, 28676) | 0, 39794) | 0, 429) | 0, 39801) | 0, 30612) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i$i171, $call121 + (HEAP32[(HEAP32[$call121 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i$i148 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i$i171, 67360) | 0; + $call$i2$i$i151 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i$i148 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i$i148, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i$i171); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call121, $call$i2$i$i151) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call121) | 0; _abort(); } - if (!($138 + .5 < +((__ZNK6vision5Image5widthEv($4) | 0) >>> 0))) { - $183 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 30514) | 0, 28600) | 0, 39072) | 0, 430) | 0, 39079) | 0, 30365) | 0; - __ZNKSt3__28ios_base6getlocEv($7, $183 + (HEAP32[(HEAP32[$183 >> 2] | 0) + -12 >> 2] | 0) | 0); - $188 = __ZNKSt3__26locale9use_facetERNS0_2idE($7, 66512) | 0; - $192 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$188 >> 2] | 0) + 28 >> 2] & 127]($188, 10) | 0; - __ZNSt3__26localeD2Ev($7); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($183, $192) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($183) | 0; + if (!($6 + .5 < +((__ZNK6vision5Image5widthEv($lap2) | 0) >>> 0))) { + $call137 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 30666) | 0, 28676) | 0, 39794) | 0, 430) | 0, 39801) | 0, 30517) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i$i171, $call137 + (HEAP32[(HEAP32[$call137 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i$i162 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i$i171, 67360) | 0; + $call$i2$i$i165 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i$i162 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i$i162, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i$i171); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call137, $call$i2$i$i165) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call137) | 0; _abort(); } - $194 = +HEAPF32[$9 >> 2] + .5; - if ($194 < +((__ZNK6vision5Image6heightEv($4) | 0) >>> 0)) { - __ZN6vision26ComputeSubpixelDerivativesERfS0_S0_S0_S0_RKNS_5ImageEii($10, $11, $12, $13, $14, $3, $5, $6); - $215 = +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff($4, +HEAPF32[$8 >> 2], +HEAPF32[$9 >> 2]); - $216 = +HEAPF32[$131 >> 2]; - $222 = $215 + ($216 - +HEAPF32[$135 >> 2] * 2.0); - $224 = +HEAPF32[$131 + -4 >> 2]; - $229 = $224 + +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff($4, +HEAPF32[$8 >> 2] + .5, +HEAPF32[$9 >> 2]); - $231 = +HEAPF32[$131 + 4 >> 2]; - $238 = ($229 - ($231 + +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff($4, +HEAPF32[$8 >> 2] + -.5, +HEAPF32[$9 >> 2]))) * .25; - $239 = +HEAPF32[$129 >> 2]; - $244 = $239 + +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff($4, +HEAPF32[$8 >> 2], +HEAPF32[$9 >> 2] + .5); - $245 = +HEAPF32[$133 >> 2]; - $252 = ($244 - ($245 + +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff($4, +HEAPF32[$8 >> 2], +HEAPF32[$9 >> 2] + -.5))) * .25; - HEAP32[$0 >> 2] = HEAP32[$12 >> 2]; - $254 = HEAP32[$14 >> 2] | 0; - HEAP32[$0 + 4 >> 2] = $254; - HEAPF32[$0 + 8 >> 2] = $238; - HEAP32[$0 + 12 >> 2] = $254; - HEAP32[$0 + 16 >> 2] = HEAP32[$13 >> 2]; - HEAPF32[$0 + 20 >> 2] = $252; - HEAPF32[$0 + 24 >> 2] = $238; - HEAPF32[$0 + 28 >> 2] = $252; - HEAPF32[$0 + 32 >> 2] = $222; - HEAPF32[$1 >> 2] = -+HEAPF32[$10 >> 2]; - HEAPF32[$1 + 4 >> 2] = -+HEAPF32[$11 >> 2]; - HEAPF32[$1 + 8 >> 2] = -(($215 - $216) * .5); + $add143 = +HEAPF32[$y_div_2 >> 2] + .5; + if ($add143 < +((__ZNK6vision5Image6heightEv($lap2) | 0) >>> 0)) { + __ZN6vision26ComputeSubpixelDerivativesERfS0_S0_S0_S0_RKNS_5ImageEii($Dx, $Dy, $Dxx, $Dyy, $Dxy, $lap1, $x, $y); + $call158 = +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff($lap2, +HEAPF32[$x_div_2 >> 2], +HEAPF32[$y_div_2 >> 2]); + $15 = +HEAPF32[$arrayidx91 >> 2]; + $add165 = $call158 + ($15 - +HEAPF32[$arrayidx96 >> 2] * 2.0); + $17 = +HEAPF32[$arrayidx91 + -4 >> 2]; + $add169 = $17 + +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff($lap2, +HEAPF32[$x_div_2 >> 2] + .5, +HEAPF32[$y_div_2 >> 2]); + $20 = +HEAPF32[$arrayidx91 + 4 >> 2]; + $mul175 = ($add169 - ($20 + +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff($lap2, +HEAPF32[$x_div_2 >> 2] + -.5, +HEAPF32[$y_div_2 >> 2]))) * .25; + $23 = +HEAPF32[$arrayidx >> 2]; + $add179 = $23 + +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff($lap2, +HEAPF32[$x_div_2 >> 2], +HEAPF32[$y_div_2 >> 2] + .5); + $26 = +HEAPF32[$arrayidx94 >> 2]; + $mul185 = ($add179 - ($26 + +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff($lap2, +HEAPF32[$x_div_2 >> 2], +HEAPF32[$y_div_2 >> 2] + -.5))) * .25; + HEAP32[$H >> 2] = HEAP32[$Dxx >> 2]; + $30 = HEAP32[$Dxy >> 2] | 0; + HEAP32[$H + 4 >> 2] = $30; + HEAPF32[$H + 8 >> 2] = $mul175; + HEAP32[$H + 12 >> 2] = $30; + HEAP32[$H + 16 >> 2] = HEAP32[$Dyy >> 2]; + HEAPF32[$H + 20 >> 2] = $mul185; + HEAPF32[$H + 24 >> 2] = $mul175; + HEAPF32[$H + 28 >> 2] = $mul185; + HEAPF32[$H + 32 >> 2] = $add165; + HEAPF32[$b >> 2] = -+HEAPF32[$Dx >> 2]; + HEAPF32[$b + 4 >> 2] = -+HEAPF32[$Dy >> 2]; + HEAPF32[$b + 8 >> 2] = -(($call158 - $15) * .5); STACKTOP = sp; return; } else { - $203 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 30565) | 0, 28600) | 0, 39072) | 0, 431) | 0, 39079) | 0, 30460) | 0; - __ZNKSt3__28ios_base6getlocEv($7, $203 + (HEAP32[(HEAP32[$203 >> 2] | 0) + -12 >> 2] | 0) | 0); - $208 = __ZNKSt3__26locale9use_facetERNS0_2idE($7, 66512) | 0; - $212 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$208 >> 2] | 0) + 28 >> 2] & 127]($208, 10) | 0; - __ZNSt3__26localeD2Ev($7); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($203, $212) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($203) | 0; + $call153 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 30717) | 0, 28676) | 0, 39794) | 0, 431) | 0, 39801) | 0, 30612) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i$i171, $call153 + (HEAP32[(HEAP32[$call153 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i$i176 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i$i171, 67360) | 0; + $call$i2$i$i179 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i$i176 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i$i176, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i$i171); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call153, $call$i2$i$i179) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call153) | 0; _abort(); } } - $44 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 29018) | 0, 28600) | 0, 39072) | 0, 414) | 0, 39079) | 0, 29077) | 0; - __ZNKSt3__28ios_base6getlocEv($7, $44 + (HEAP32[(HEAP32[$44 >> 2] | 0) + -12 >> 2] | 0) | 0); - $49 = __ZNKSt3__26locale9use_facetERNS0_2idE($7, 66512) | 0; - $53 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$49 >> 2] | 0) + 28 >> 2] & 127]($49, 10) | 0; - __ZNSt3__26localeD2Ev($7); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($44, $53) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($44) | 0; + $call22 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 29132) | 0, 28676) | 0, 39794) | 0, 414) | 0, 39801) | 0, 29191) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i$i171, $call22 + (HEAP32[(HEAP32[$call22 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i$i64 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i$i171, 67360) | 0; + $call$i2$i$i67 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i$i64 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i$i64, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i$i171); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call22, $call$i2$i$i67) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call22) | 0; _abort(); } - $24 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 28944) | 0, 28600) | 0, 39072) | 0, 413) | 0, 39079) | 0, 29002) | 0; - __ZNKSt3__28ios_base6getlocEv($7, $24 + (HEAP32[(HEAP32[$24 >> 2] | 0) + -12 >> 2] | 0) | 0); - $29 = __ZNKSt3__26locale9use_facetERNS0_2idE($7, 66512) | 0; - $33 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$29 >> 2] | 0) + 28 >> 2] & 127]($29, 10) | 0; - __ZNSt3__26localeD2Ev($7); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($24, $33) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($24) | 0; + $call7 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 29058) | 0, 28676) | 0, 39794) | 0, 413) | 0, 39801) | 0, 29116) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i$i171, $call7 + (HEAP32[(HEAP32[$call7 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i$i = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i$i171, 67360) | 0; + $call$i2$i$i = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i$i >> 2] | 0) + 28 >> 2] & 127]($call$i1$i$i, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i$i171); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call7, $call$i2$i$i) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call7) | 0; _abort(); } -function __ZNSt3__213__nth_elementIRNS_7greaterINS_4pairIfmEEEENS_11__wrap_iterIPS3_EEEEvT0_S9_S9_T_($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $$2 = 0, $$3 = 0, $$4 = 0, $$5 = 0, $$byval_copy5 = 0, $$byval_copy6 = 0, $$byval_copy7 = 0, $$cast222 = 0, $$phi$trans$insert = 0, $$phi$trans$insert262 = 0, $$phi$trans$insert264 = 0, $$phi$trans$insert266 = 0, $$phi$trans$insert268 = 0, $$pre = 0, $$pre$phi270Z2D = 0, $$pre$phi271Z2D = 0, $$pre$phi272Z2D = 0, $$pre$phi273Z2D = 0, $$pre$phi275Z2D = 0, $$pre$phi279Z2D = 0, $$pre$phiZ2D = 0, $$pre276 = 0, $$sroa$0$0$ptr = 0, $$sroa$0$1 = 0, $$sroa$0$1$ptr = 0, $$sroa$0$2$ptr = 0, $$sroa$0$3$in = 0, $$sroa$0$4 = 0, $$sroa$0$4$ptr = 0, $$sroa$0$5$ptr = 0, $$sroa$0107$0 = 0, $$sroa$0107$2$ptr = 0, $$sroa$0107$3$ptr = 0, $$sroa$0107$4$ptr = 0, $$sroa$068$0$ptr = 0, $$sroa$068$1 = 0, $$sroa$068$2 = 0, $$sroa$068$3 = 0, $$sroa$068$4 = 0, $$sroa$068$5 = 0, $$sroa$068$6 = 0, $$sroa$068$6$ptr = 0, $10 = 0, $103 = 0, $105 = 0, $106 = 0, $107 = 0, $11 = 0, $111 = 0, $113 = 0.0, $118 = 0, $12 = 0, $121 = 0, $123 = 0, $125 = 0, $126 = 0, $127 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $135 = 0, $136 = 0, $137 = 0.0, $138 = 0, $139 = 0.0, $148 = 0, $149 = 0, $15 = 0, $150 = 0.0, $157 = 0, $16 = 0, $160 = 0, $162 = 0, $163 = 0, $164 = 0, $17 = 0, $173 = 0.0, $174 = 0.0, $177 = 0, $178 = 0, $179 = 0, $180 = 0, $183 = 0, $185 = 0, $186 = 0, $19 = 0, $191 = 0, $193 = 0.0, $194 = 0.0, $20 = 0, $202 = 0, $204 = 0.0, $205 = 0.0, $21 = 0, $22 = 0.0, $23 = 0, $24 = 0.0, $27 = 0, $28 = 0, $29 = 0, $31 = 0, $32 = 0, $38 = 0, $39 = 0, $4 = 0, $41 = 0, $42 = 0, $43 = 0.0, $44 = 0.0, $5 = 0, $51 = 0, $53 = 0, $54 = 0, $55 = 0.0, $56 = 0.0, $6 = 0, $60 = 0, $64 = 0.0, $68 = 0, $7 = 0, $73 = 0, $79 = 0, $8 = 0, $80 = 0.0, $81 = 0, $82 = 0.0, $9 = 0, $91 = 0, $92 = 0, $93 = 0.0, label = 0, sp = 0; +function _arLabelingSubEWZ($image, $xsize, $ysize, $image_thresh, $labelInfo) { + $image = $image | 0; + $xsize = $xsize | 0; + $ysize = $ysize | 0; + $image_thresh = $image_thresh | 0; + $labelInfo = $labelInfo | 0; + var $0 = 0, $10 = 0, $11 = 0, $12 = 0, $15 = 0, $16 = 0, $20 = 0, $21 = 0, $22 = 0, $25 = 0, $26 = 0, $30 = 0, $35 = 0, $4 = 0, $40 = 0, $41 = 0, $46 = 0, $5 = 0, $56 = 0, $58 = 0, $60 = 0, $62 = 0, $63 = 0, $9 = 0, $add = 0, $arraydecay = 0, $arrayidx120 = 0, $arrayidx123 = 0, $arrayidx126 = 0, $arrayidx187 = 0, $arrayidx190 = 0, $arrayidx193 = 0, $arrayidx201 = 0, $arrayidx204 = 0, $arrayidx207 = 0, $arrayidx210 = 0, $arrayidx232 = 0, $arrayidx235 = 0, $arrayidx238 = 0, $arrayidx241 = 0, $arrayidx261 = 0, $arrayidx264 = 0, $arrayidx267 = 0, $arrayidx270 = 0, $arrayidx325 = 0, $arrayidx382 = 0, $arrayidx390 = 0, $arrayidx398 = 0, $arrayidx402 = 0, $arrayidx41 = 0, $arrayidx418 = 0, $arrayidx434 = 0, $arrayidx450 = 0, $arrayidx475 = 0, $arrayidx480 = 0, $arrayidx50 = 0, $arrayidx53 = 0, $arrayidx56 = 0, $cmp67 = 0, $cond = 0, $conv472 = 0.0, $conv61 = 0, $conv66 = 0, $dpnt$0 = 0, $dpnt$1 = 0, $i$0 = 0, $i$1 = 0, $i$2 = 0, $i$3 = 0, $i$4 = 0, $i$5 = 0, $i$6 = 0, $inc278 = 0, $j$0 = 0, $j$1 = 0, $j$2 = 0, $k$0 = 0, $k$1 = 0, $k$2 = 0, $k$3 = 0, $label_num323 = 0, $mul288 = 0, $mul358 = 0, $mul379 = 0, $mul388 = 0, $mul400 = 0, $mul473 = 0, $pnt$0 = 0, $pnt$1 = 0, $pnt1$0 = 0, $pnt1$1 = 0, $pnt2$0 = 0, $pnt2$1 = 0, $pnt2$2 = 0, $pnt2$3 = 0, $pnt_thresh$0 = 0, $pnt_thresh$1 = 0, $retval$0 = 0, $sub = 0, $sub346 = 0, $sub378 = 0, $sub40 = 0, $sub7 = 0, $vararg_buffer = 0, $wk$0 = 0, $wk$1 = 0, $wk$2 = 0, $wk$3 = 0, $wk$4 = 0, $wk_max$0 = 0, $wk_max$1 = 0, $wk_max$2 = 0, label = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 48 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); - $$byval_copy7 = sp + 40 | 0; - $$byval_copy6 = sp + 36 | 0; - $$byval_copy5 = sp + 32 | 0; - $4 = sp + 28 | 0; - $5 = sp + 24 | 0; - $6 = sp + 20 | 0; - $7 = sp + 16 | 0; - $8 = sp + 12 | 0; - $9 = sp + 8 | 0; - $10 = sp + 4 | 0; - $11 = sp; - $12 = HEAP32[$1 >> 2] | 0; - L1 : while (1) { - $13 = HEAP32[$2 >> 2] | 0; - $$cast222 = $13; - $15 = $13 + -8 | 0; - $16 = $15; - $17 = $13 + -4 | 0; - if (($12 | 0) == ($13 | 0)) break; - $$pre = HEAP32[$0 >> 2] | 0; - $20 = $$pre; - $23 = $$pre; - L4 : while (1) { - $19 = $$cast222 - $20 | 0; - $21 = $19 >> 3; - switch ($21 | 0) { - case 1: - case 0: - { - break L1; - break; - } - case 2: - { - label = 5; - break L1; - break; - } - case 3: - { - label = 10; - break L1; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $vararg_buffer = sp; + $0 = HEAP32[$labelInfo >> 2] | 0; + $sub = $ysize + -1 | 0; + $i$0 = 0; + $pnt1$0 = $0; + $pnt2$0 = $0 + ((Math_imul($sub, $xsize) | 0) << 1) | 0; + while (1) { + if (($i$0 | 0) >= ($xsize | 0)) break; + HEAP16[$pnt2$0 >> 1] = 0; + HEAP16[$pnt1$0 >> 1] = 0; + $i$0 = $i$0 + 1 | 0; + $pnt1$0 = $pnt1$0 + 2 | 0; + $pnt2$0 = $pnt2$0 + 2 | 0; + } + $sub7 = $xsize + -1 | 0; + $i$1 = 0; + $pnt1$1 = $0; + $pnt2$1 = $0 + ($sub7 << 1) | 0; + while (1) { + if (($i$1 | 0) >= ($ysize | 0)) break; + HEAP16[$pnt2$1 >> 1] = 0; + HEAP16[$pnt1$1 >> 1] = 0; + $i$1 = $i$1 + 1 | 0; + $pnt1$1 = $pnt1$1 + ($xsize << 1) | 0; + $pnt2$1 = $pnt2$1 + ($xsize << 1) | 0; + } + $arraydecay = $labelInfo + 1179664 | 0; + $add = $xsize + 1 | 0; + $sub40 = 0 - $xsize | 0; + $dpnt$0 = (HEAP32[$labelInfo + 4 >> 2] | 0) + $add | 0; + $j$0 = 1; + $pnt$0 = $image + $add | 0; + $pnt2$2 = $0 + ($add << 1) | 0; + $pnt_thresh$0 = $image_thresh + $add | 0; + $wk_max$0 = 0; + L9 : while (1) { + if (($j$0 | 0) >= ($sub | 0)) { + label = 59; + break; + } + $dpnt$1 = $dpnt$0; + $i$2 = 1; + $pnt$1 = $pnt$0; + $pnt2$3 = $pnt2$2; + $pnt_thresh$1 = $pnt_thresh$0; + $wk_max$1 = $wk_max$0; + while (1) { + if (($i$2 | 0) >= ($sub7 | 0)) break; + do if ((HEAPU8[$pnt$1 >> 0] | 0) > (HEAPU8[$pnt_thresh$1 >> 0] | 0)) { + HEAP8[$dpnt$1 >> 0] = -1; + $arrayidx41 = $pnt2$3 + ($sub40 << 1) | 0; + $4 = HEAP16[$arrayidx41 >> 1] | 0; + if ($4 << 16 >> 16 > 0) { + HEAP16[$pnt2$3 >> 1] = $4; + $5 = ($4 << 16 >> 16) * 7 | 0; + $arrayidx50 = $labelInfo + 1310736 + ($5 + -7 << 2) | 0; + HEAP32[$arrayidx50 >> 2] = (HEAP32[$arrayidx50 >> 2] | 0) + 1; + $arrayidx53 = $labelInfo + 1310736 + ($5 + -6 << 2) | 0; + HEAP32[$arrayidx53 >> 2] = (HEAP32[$arrayidx53 >> 2] | 0) + $i$2; + $arrayidx56 = $labelInfo + 1310736 + ($5 + -5 << 2) | 0; + HEAP32[$arrayidx56 >> 2] = (HEAP32[$arrayidx56 >> 2] | 0) + $j$0; + HEAP32[$labelInfo + 1310736 + ($5 + -1 << 2) >> 2] = $j$0; + $wk_max$2 = $wk_max$1; break; } - default: - {} - } - if (($19 | 0) < 64) { - label = 12; - break L1; - } - $38 = $21 >>> 1; - $39 = $23 + ($38 << 3) | 0; - HEAP32[$9 >> 2] = $20; - HEAP32[$10 >> 2] = $39; - HEAP32[$11 >> 2] = $16; - HEAP32[$$byval_copy5 >> 2] = HEAP32[$9 >> 2]; - HEAP32[$$byval_copy6 >> 2] = HEAP32[$10 >> 2]; - HEAP32[$$byval_copy7 >> 2] = HEAP32[$11 >> 2]; - $41 = __ZNSt3__27__sort3IRNS_7greaterINS_4pairIfmEEEENS_11__wrap_iterIPS3_EEEEjT0_S9_S9_T_($$byval_copy5, $$byval_copy6, $$byval_copy7, $3) | 0; - $42 = $20; - $43 = +HEAPF32[$39 >> 2]; - $44 = +HEAPF32[$42 >> 2]; - if ($43 < $44) { - label = 53; - break; - } - $$pre276 = $23 + ($38 << 3) + 4 | 0; - if (!($44 < $43) ? (HEAP32[$$pre276 >> 2] | 0) >>> 0 < (HEAP32[$42 + 4 >> 2] | 0) >>> 0 : 0) { - label = 53; - break; - } - $$sroa$0$0$ptr = $15; - while (1) { - $51 = $$sroa$0$0$ptr + -8 | 0; - if (($51 | 0) == ($42 | 0)) break; - $113 = +HEAPF32[$51 >> 2]; - if ($43 < $113) { - label = 47; - break L4; - } - if (!($113 < $43) ? ($118 = HEAP32[$$sroa$0$0$ptr + -4 >> 2] | 0, (HEAP32[$$pre276 >> 2] | 0) >>> 0 < $118 >>> 0) : 0) { - label = 51; - break L4; - } - $$sroa$0$0$ptr = $51; - } - $53 = $42 + 8 | 0; - $54 = $53; - $55 = +HEAPF32[$15 >> 2]; - $56 = +HEAPF32[$23 >> 2]; - do if ($55 < $56) $$sroa$068$1 = $54; else { - if (!($56 < $55)) { - $60 = $23 + 4 | 0; - if ((HEAP32[$17 >> 2] | 0) >>> 0 < (HEAP32[$60 >> 2] | 0) >>> 0) { - $$sroa$068$1 = $54; - break; - } else $$pre$phi279Z2D = $60; - } else $$pre$phi279Z2D = $23 + 4 | 0; - $$sroa$068$0$ptr = $53; - while (1) { - if (($$sroa$068$0$ptr | 0) == ($15 | 0)) break L1; - $64 = +HEAPF32[$$sroa$068$0$ptr >> 2]; - if ($64 < $56) { - label = 25; + $9 = HEAP16[$arrayidx41 + 2 >> 1] | 0; + $conv61 = $9 << 16 >> 16; + $10 = HEAP16[$arrayidx41 + -2 >> 1] | 0; + $conv66 = $10 << 16 >> 16; + $cmp67 = $10 << 16 >> 16 > 0; + if ($9 << 16 >> 16 <= 0) { + if ($cmp67) { + HEAP16[$pnt2$3 >> 1] = $10; + $35 = $conv66 * 7 | 0; + $arrayidx232 = $labelInfo + 1310736 + ($35 + -7 << 2) | 0; + HEAP32[$arrayidx232 >> 2] = (HEAP32[$arrayidx232 >> 2] | 0) + 1; + $arrayidx235 = $labelInfo + 1310736 + ($35 + -6 << 2) | 0; + HEAP32[$arrayidx235 >> 2] = (HEAP32[$arrayidx235 >> 2] | 0) + $i$2; + $arrayidx238 = $labelInfo + 1310736 + ($35 + -5 << 2) | 0; + HEAP32[$arrayidx238 >> 2] = (HEAP32[$arrayidx238 >> 2] | 0) + $j$0; + $arrayidx241 = $labelInfo + 1310736 + ($35 + -3 << 2) | 0; + if ((HEAP32[$arrayidx241 >> 2] | 0) < ($i$2 | 0)) HEAP32[$arrayidx241 >> 2] = $i$2; + HEAP32[$labelInfo + 1310736 + ($35 + -1 << 2) >> 2] = $j$0; + $wk_max$2 = $wk_max$1; break; } - if (!($56 < $64) ? ($68 = HEAP32[$$sroa$068$0$ptr + 4 >> 2] | 0, $68 >>> 0 < (HEAP32[$$pre$phi279Z2D >> 2] | 0) >>> 0) : 0) { - label = 28; + $40 = HEAP16[$pnt2$3 + -2 >> 1] | 0; + if ($40 << 16 >> 16 > 0) { + HEAP16[$pnt2$3 >> 1] = $40; + $41 = ($40 << 16 >> 16) * 7 | 0; + $arrayidx261 = $labelInfo + 1310736 + ($41 + -7 << 2) | 0; + HEAP32[$arrayidx261 >> 2] = (HEAP32[$arrayidx261 >> 2] | 0) + 1; + $arrayidx264 = $labelInfo + 1310736 + ($41 + -6 << 2) | 0; + HEAP32[$arrayidx264 >> 2] = (HEAP32[$arrayidx264 >> 2] | 0) + $i$2; + $arrayidx267 = $labelInfo + 1310736 + ($41 + -5 << 2) | 0; + HEAP32[$arrayidx267 >> 2] = (HEAP32[$arrayidx267 >> 2] | 0) + $j$0; + $arrayidx270 = $labelInfo + 1310736 + ($41 + -3 << 2) | 0; + if ((HEAP32[$arrayidx270 >> 2] | 0) >= ($i$2 | 0)) { + $wk_max$2 = $wk_max$1; + break; + } + HEAP32[$arrayidx270 >> 2] = $i$2; + $wk_max$2 = $wk_max$1; + break; + } else { + $inc278 = $wk_max$1 + 1 | 0; + if (($wk_max$1 | 0) > 32767) { + label = 54; + break L9; + } + HEAP16[$pnt2$3 >> 1] = $inc278; + HEAP32[$labelInfo + 1179664 + ($wk_max$1 << 2) >> 2] = $inc278 << 16 >> 16; + $mul288 = $wk_max$1 * 7 | 0; + HEAP32[$labelInfo + 1310736 + ($mul288 << 2) >> 2] = 1; + HEAP32[$labelInfo + 1310736 + ($mul288 + 1 << 2) >> 2] = $i$2; + HEAP32[$labelInfo + 1310736 + ($mul288 + 2 << 2) >> 2] = $j$0; + HEAP32[$labelInfo + 1310736 + ($mul288 + 3 << 2) >> 2] = $i$2; + HEAP32[$labelInfo + 1310736 + ($mul288 + 4 << 2) >> 2] = $i$2; + HEAP32[$labelInfo + 1310736 + ($mul288 + 5 << 2) >> 2] = $j$0; + HEAP32[$labelInfo + 1310736 + ($mul288 + 6 << 2) >> 2] = $j$0; + $wk_max$2 = $inc278; break; } - $$sroa$068$0$ptr = $$sroa$068$0$ptr + 8 | 0; - } - if ((label | 0) == 25) { - label = 0; - $$phi$trans$insert264 = $$sroa$068$0$ptr + 4 | 0; - $$pre$phi271Z2D = $$phi$trans$insert264; - $73 = HEAP32[$$phi$trans$insert264 >> 2] | 0; - } else if ((label | 0) == 28) { - label = 0; - $$pre$phi271Z2D = $$sroa$068$0$ptr + 4 | 0; - $73 = $68; - } - HEAPF32[$$sroa$068$0$ptr >> 2] = $55; - HEAPF32[$15 >> 2] = $64; - HEAP32[$$pre$phi271Z2D >> 2] = HEAP32[$17 >> 2]; - HEAP32[$17 >> 2] = $73; - $$sroa$068$1 = $$sroa$068$0$ptr + 8 | 0; - } while (0); - if (($15 | 0) == ($$sroa$068$1 | 0)) break L1; - $79 = $23 + 4 | 0; - $$sroa$0$1 = $16; - $$sroa$068$2 = $$sroa$068$1; - while (1) { - $$sroa$0$1$ptr = $$sroa$0$1; - $80 = +HEAPF32[$23 >> 2]; - $$sroa$068$3 = $$sroa$068$2; - while (1) { - $81 = $$sroa$068$3; - $82 = +HEAPF32[$81 >> 2]; - if ($82 < $80) break; - if (!($80 < $82) ? (HEAP32[$81 + 4 >> 2] | 0) >>> 0 < (HEAP32[$79 >> 2] | 0) >>> 0 : 0) break; - $$sroa$068$3 = $81 + 8 | 0; - } - $91 = $$sroa$068$3; - $$sroa$0$2$ptr = $$sroa$0$1$ptr; - while (1) { - $92 = $$sroa$0$2$ptr + -8 | 0; - $93 = +HEAPF32[$92 >> 2]; - if (!($93 < $80)) { - if ($80 < $93) break; - if ((HEAP32[$$sroa$0$2$ptr + -4 >> 2] | 0) >>> 0 >= (HEAP32[$79 >> 2] | 0) >>> 0) break; - } - $$sroa$0$2$ptr = $92; - } - if ($92 >>> 0 <= $91 >>> 0) break; - $103 = HEAP32[$$sroa$068$3 >> 2] | 0; - HEAPF32[$$sroa$068$3 >> 2] = $93; - HEAP32[$92 >> 2] = $103; - $105 = $91 + 4 | 0; - $106 = $$sroa$0$2$ptr + -4 | 0; - $107 = HEAP32[$105 >> 2] | 0; - HEAP32[$105 >> 2] = HEAP32[$106 >> 2]; - HEAP32[$106 >> 2] = $107; - $$sroa$0$1 = $92; - $$sroa$068$2 = $91 + 8 | 0; - } - $111 = $$sroa$068$3; - if ($12 >>> 0 < $111 >>> 0) break L1; - HEAP32[$0 >> 2] = $$sroa$068$3; - $20 = $$sroa$068$3; - $23 = $111; - } - if ((label | 0) == 47) { - label = 0; - $$phi$trans$insert262 = $$sroa$0$0$ptr + -4 | 0; - $$pre$phi272Z2D = $$phi$trans$insert262; - $127 = HEAP32[$$phi$trans$insert262 >> 2] | 0; - label = 52; - } else if ((label | 0) == 51) { - label = 0; - $$pre$phi272Z2D = $$sroa$0$0$ptr + -4 | 0; - $127 = $118; - label = 52; - } else if ((label | 0) == 53) { - label = 0; - $$2 = $41; - $$sroa$0$3$in = $15; - $131 = $20; - } - if ((label | 0) == 52) { - label = 0; - $121 = $20; - $123 = HEAP32[$20 >> 2] | 0; - HEAPF32[$20 >> 2] = $113; - HEAP32[$51 >> 2] = $123; - $125 = $121 + 4 | 0; - $126 = HEAP32[$125 >> 2] | 0; - HEAP32[$125 >> 2] = $127; - HEAP32[$$pre$phi272Z2D >> 2] = $126; - $$2 = $41 + 1 | 0; - $$sroa$0$3$in = $51; - $131 = $121; - } - $130 = $131 + 8 | 0; - $132 = $130; - if ($130 >>> 0 < $$sroa$0$3$in >>> 0) { - $$3 = $$2; - $$sroa$0$4 = $$sroa$0$3$in; - $$sroa$0107$0 = $39; - $$sroa$068$4 = $132; - while (1) { - $$sroa$0$4$ptr = $$sroa$0$4; - $135 = $$sroa$0107$0; - $136 = $135 + 4 | 0; - $137 = +HEAPF32[$135 >> 2]; - $$sroa$068$5 = $$sroa$068$4; - while (1) { - $138 = $$sroa$068$5; - $139 = +HEAPF32[$138 >> 2]; - if (!($137 < $139)) { - if ($139 < $137) break; - if ((HEAP32[$136 >> 2] | 0) >>> 0 >= (HEAP32[$138 + 4 >> 2] | 0) >>> 0) break; - } - $$sroa$068$5 = $138 + 8 | 0; } - $148 = $$sroa$068$5; - $$sroa$0$5$ptr = $$sroa$0$4$ptr; - while (1) { - $149 = $$sroa$0$5$ptr + -8 | 0; - $150 = +HEAPF32[$149 >> 2]; - if ($137 < $150) break; - if (!($150 < $137) ? (HEAP32[$136 >> 2] | 0) >>> 0 < (HEAP32[$$sroa$0$5$ptr + -4 >> 2] | 0) >>> 0 : 0) break; - $$sroa$0$5$ptr = $149; - } - $157 = $149; - if ($149 >>> 0 <= $148 >>> 0) break; - $160 = HEAP32[$$sroa$068$5 >> 2] | 0; - HEAPF32[$$sroa$068$5 >> 2] = $150; - HEAP32[$149 >> 2] = $160; - $162 = $148 + 4 | 0; - $163 = $$sroa$0$5$ptr + -4 | 0; - $164 = HEAP32[$162 >> 2] | 0; - HEAP32[$162 >> 2] = HEAP32[$163 >> 2]; - HEAP32[$163 >> 2] = $164; - $$3 = $$3 + 1 | 0; - $$sroa$0$4 = $157; - $$sroa$0107$0 = ($135 | 0) == ($148 | 0) ? $157 : $$sroa$0107$0; - $$sroa$068$4 = $148 + 8 | 0; - } - $$4 = $$3; - $$pre$phi275Z2D = $$sroa$068$5; - $$sroa$0107$2$ptr = $$sroa$0107$0; - $$sroa$068$6 = $$sroa$068$5; - } else { - $$4 = $$2; - $$pre$phi275Z2D = $130; - $$sroa$0107$2$ptr = $39; - $$sroa$068$6 = $132; - } - $$sroa$068$6$ptr = $$sroa$068$6; - do if (($$sroa$0107$2$ptr | 0) == ($$pre$phi275Z2D | 0)) $$5 = $$4; else { - $173 = +HEAPF32[$$pre$phi275Z2D >> 2]; - $174 = +HEAPF32[$$sroa$0107$2$ptr >> 2]; - if (!($173 < $174)) { - if ($174 < $173) { - $$5 = $$4; + if ($cmp67) { + $11 = HEAP32[$labelInfo + 1179664 + ($conv61 + -1 << 2) >> 2] | 0; + $12 = HEAP32[$labelInfo + 1179664 + ($conv66 + -1 << 2) >> 2] | 0; + L36 : do if (($11 | 0) <= ($12 | 0)) { + HEAP16[$pnt2$3 >> 1] = $11; + if (($11 | 0) < ($12 | 0)) { + $k$1 = 0; + $wk$1 = $arraydecay; + while (1) { + if (($k$1 | 0) >= ($wk_max$1 | 0)) { + $15 = $11; + break L36; + } + if ((HEAP32[$wk$1 >> 2] | 0) == ($12 | 0)) HEAP32[$wk$1 >> 2] = $11; + $k$1 = $k$1 + 1 | 0; + $wk$1 = $wk$1 + 4 | 0; + } + } else $15 = $11; + } else { + HEAP16[$pnt2$3 >> 1] = $12; + $k$0 = 0; + $wk$0 = $arraydecay; + while (1) { + if (($k$0 | 0) >= ($wk_max$1 | 0)) { + $15 = $12; + break L36; + } + if ((HEAP32[$wk$0 >> 2] | 0) == ($11 | 0)) HEAP32[$wk$0 >> 2] = $12; + $k$0 = $k$0 + 1 | 0; + $wk$0 = $wk$0 + 4 | 0; + } + } while (0); + $16 = ($15 << 16 >> 16) * 7 | 0; + $arrayidx120 = $labelInfo + 1310736 + ($16 + -7 << 2) | 0; + HEAP32[$arrayidx120 >> 2] = (HEAP32[$arrayidx120 >> 2] | 0) + 1; + $arrayidx123 = $labelInfo + 1310736 + ($16 + -6 << 2) | 0; + HEAP32[$arrayidx123 >> 2] = (HEAP32[$arrayidx123 >> 2] | 0) + $i$2; + $arrayidx126 = $labelInfo + 1310736 + ($16 + -5 << 2) | 0; + HEAP32[$arrayidx126 >> 2] = (HEAP32[$arrayidx126 >> 2] | 0) + $j$0; + HEAP32[$labelInfo + 1310736 + ($16 + -1 << 2) >> 2] = $j$0; + $wk_max$2 = $wk_max$1; break; } - $177 = $$pre$phi275Z2D + 4 | 0; - $178 = HEAP32[$177 >> 2] | 0; - $179 = $$sroa$0107$2$ptr + 4 | 0; - $180 = HEAP32[$179 >> 2] | 0; - if ($178 >>> 0 < $180 >>> 0) { - $$pre$phi270Z2D = $179; - $$pre$phiZ2D = $177; - $185 = $180; - $186 = $178; - } else { - $$5 = $$4; + $20 = HEAP16[$pnt2$3 + -2 >> 1] | 0; + if ($20 << 16 >> 16 <= 0) { + HEAP16[$pnt2$3 >> 1] = $9; + $30 = $conv61 * 7 | 0; + $arrayidx201 = $labelInfo + 1310736 + ($30 + -7 << 2) | 0; + HEAP32[$arrayidx201 >> 2] = (HEAP32[$arrayidx201 >> 2] | 0) + 1; + $arrayidx204 = $labelInfo + 1310736 + ($30 + -6 << 2) | 0; + HEAP32[$arrayidx204 >> 2] = (HEAP32[$arrayidx204 >> 2] | 0) + $i$2; + $arrayidx207 = $labelInfo + 1310736 + ($30 + -5 << 2) | 0; + HEAP32[$arrayidx207 >> 2] = (HEAP32[$arrayidx207 >> 2] | 0) + $j$0; + $arrayidx210 = $labelInfo + 1310736 + ($30 + -4 << 2) | 0; + if ((HEAP32[$arrayidx210 >> 2] | 0) > ($i$2 | 0)) HEAP32[$arrayidx210 >> 2] = $i$2; + HEAP32[$labelInfo + 1310736 + ($30 + -1 << 2) >> 2] = $j$0; + $wk_max$2 = $wk_max$1; break; } + $21 = HEAP32[$labelInfo + 1179664 + ($conv61 + -1 << 2) >> 2] | 0; + $22 = HEAP32[$labelInfo + 1179664 + (($20 << 16 >> 16) + -1 << 2) >> 2] | 0; + L60 : do if (($21 | 0) <= ($22 | 0)) { + HEAP16[$pnt2$3 >> 1] = $21; + if (($21 | 0) < ($22 | 0)) { + $k$3 = 0; + $wk$3 = $arraydecay; + while (1) { + if (($k$3 | 0) >= ($wk_max$1 | 0)) { + $25 = $21; + break L60; + } + if ((HEAP32[$wk$3 >> 2] | 0) == ($22 | 0)) HEAP32[$wk$3 >> 2] = $21; + $k$3 = $k$3 + 1 | 0; + $wk$3 = $wk$3 + 4 | 0; + } + } else $25 = $21; + } else { + HEAP16[$pnt2$3 >> 1] = $22; + $k$2 = 0; + $wk$2 = $arraydecay; + while (1) { + if (($k$2 | 0) >= ($wk_max$1 | 0)) { + $25 = $22; + break L60; + } + if ((HEAP32[$wk$2 >> 2] | 0) == ($21 | 0)) HEAP32[$wk$2 >> 2] = $22; + $k$2 = $k$2 + 1 | 0; + $wk$2 = $wk$2 + 4 | 0; + } + } while (0); + $26 = ($25 << 16 >> 16) * 7 | 0; + $arrayidx187 = $labelInfo + 1310736 + ($26 + -7 << 2) | 0; + HEAP32[$arrayidx187 >> 2] = (HEAP32[$arrayidx187 >> 2] | 0) + 1; + $arrayidx190 = $labelInfo + 1310736 + ($26 + -6 << 2) | 0; + HEAP32[$arrayidx190 >> 2] = (HEAP32[$arrayidx190 >> 2] | 0) + $i$2; + $arrayidx193 = $labelInfo + 1310736 + ($26 + -5 << 2) | 0; + HEAP32[$arrayidx193 >> 2] = (HEAP32[$arrayidx193 >> 2] | 0) + $j$0; + $wk_max$2 = $wk_max$1; } else { - $$phi$trans$insert266 = $$pre$phi275Z2D + 4 | 0; - $$phi$trans$insert268 = $$sroa$0107$2$ptr + 4 | 0; - $$pre$phi270Z2D = $$phi$trans$insert268; - $$pre$phiZ2D = $$phi$trans$insert266; - $185 = HEAP32[$$phi$trans$insert268 >> 2] | 0; - $186 = HEAP32[$$phi$trans$insert266 >> 2] | 0; - } - $183 = HEAP32[$$sroa$068$6 >> 2] | 0; - HEAPF32[$$sroa$068$6 >> 2] = $174; - HEAP32[$$sroa$0107$2$ptr >> 2] = $183; - HEAP32[$$pre$phiZ2D >> 2] = $185; - HEAP32[$$pre$phi270Z2D >> 2] = $186; - $$5 = $$4 + 1 | 0; - } while (0); - if (($12 | 0) == ($$pre$phi275Z2D | 0)) break; - L95 : do if (!$$5) if ($12 >>> 0 < $$pre$phi275Z2D >>> 0) { - $$sroa$0107$3$ptr = $131; - while (1) { - $191 = $$sroa$0107$3$ptr + 8 | 0; - if (($191 | 0) == ($$pre$phi275Z2D | 0)) break L1; - $193 = +HEAPF32[$$sroa$0107$3$ptr >> 2]; - $194 = +HEAPF32[$191 >> 2]; - if ($193 < $194) break L95; - if (!($194 < $193) ? (HEAP32[$$sroa$0107$3$ptr + 4 >> 2] | 0) >>> 0 < (HEAP32[$$sroa$0107$3$ptr + 12 >> 2] | 0) >>> 0 : 0) break L95; - $$sroa$0107$3$ptr = $191; + HEAP16[$pnt2$3 >> 1] = 0; + HEAP8[$dpnt$1 >> 0] = 0; + $wk_max$2 = $wk_max$1; + } while (0); + $dpnt$1 = $dpnt$1 + 1 | 0; + $i$2 = $i$2 + 1 | 0; + $pnt$1 = $pnt$1 + 1 | 0; + $pnt2$3 = $pnt2$3 + 2 | 0; + $pnt_thresh$1 = $pnt_thresh$1 + 1 | 0; + $wk_max$1 = $wk_max$2; + } + $dpnt$0 = $dpnt$1 + 2 | 0; + $j$0 = $j$0 + 1 | 0; + $pnt$0 = $pnt$1 + 2 | 0; + $pnt2$2 = $pnt2$3 + 4 | 0; + $pnt_thresh$0 = $pnt_thresh$1 + 2 | 0; + $wk_max$0 = $wk_max$1; + } + L80 : do if ((label | 0) == 54) { + _arLog(0, 3, 23780, $vararg_buffer); + $retval$0 = -1; + } else if ((label | 0) == 59) { + $arrayidx325 = $labelInfo + 12 | 0; + $i$3 = 1; + $j$1 = 1; + $wk$4 = $arraydecay; + while (1) { + if (($i$3 | 0) > ($wk_max$0 | 0)) break; + $46 = HEAP32[$wk$4 >> 2] | 0; + if (($46 | 0) == ($i$3 | 0)) { + $cond = $j$1; + $j$2 = $j$1 + 1 | 0; + } else { + $cond = HEAP32[$labelInfo + 1179664 + ($46 + -1 << 2) >> 2] | 0; + $j$2 = $j$1; } - } else { - $$sroa$0107$4$ptr = $$sroa$068$6$ptr; + HEAP32[$wk$4 >> 2] = $cond; + $i$3 = $i$3 + 1 | 0; + $j$1 = $j$2; + $wk$4 = $wk$4 + 4 | 0; + } + $label_num323 = $labelInfo + 8 | 0; + $sub346 = $j$1 + -1 | 0; + HEAP32[$label_num323 >> 2] = $sub346; + if (!$sub346) $retval$0 = 0; else { + _memset($arrayidx325 | 0, 0, $sub346 << 2 | 0) | 0; + _memset($labelInfo + 655376 | 0, 0, $sub346 << 4 | 0) | 0; + $i$4 = 0; while (1) { - $202 = $$sroa$0107$4$ptr + 8 | 0; - if (($202 | 0) == ($13 | 0)) break L1; - $204 = +HEAPF32[$$sroa$0107$4$ptr >> 2]; - $205 = +HEAPF32[$202 >> 2]; - if ($204 < $205) break L95; - if (!($205 < $204) ? (HEAP32[$$sroa$0107$4$ptr + 4 >> 2] | 0) >>> 0 < (HEAP32[$$sroa$0107$4$ptr + 12 >> 2] | 0) >>> 0 : 0) break L95; - $$sroa$0107$4$ptr = $202; + if (($i$4 | 0) >= ($sub346 | 0)) break; + $mul358 = $i$4 << 2; + HEAP32[$labelInfo + 131084 + ($mul358 << 2) >> 2] = $xsize; + HEAP32[$labelInfo + 131084 + (($mul358 | 1) << 2) >> 2] = 0; + HEAP32[$labelInfo + 131084 + (($mul358 | 2) << 2) >> 2] = $ysize; + HEAP32[$labelInfo + 131084 + (($mul358 | 3) << 2) >> 2] = 0; + $i$4 = $i$4 + 1 | 0; + } + $i$5 = 0; + while (1) { + if (($i$5 | 0) >= ($wk_max$0 | 0)) break; + $sub378 = (HEAP32[$labelInfo + 1179664 + ($i$5 << 2) >> 2] | 0) + -1 | 0; + $mul379 = $i$5 * 7 | 0; + $arrayidx382 = $labelInfo + 12 + ($sub378 << 2) | 0; + HEAP32[$arrayidx382 >> 2] = (HEAP32[$arrayidx382 >> 2] | 0) + (HEAP32[$labelInfo + 1310736 + ($mul379 << 2) >> 2] | 0); + $mul388 = $sub378 << 1; + $arrayidx390 = $labelInfo + 655376 + ($mul388 << 3) | 0; + HEAPF64[$arrayidx390 >> 3] = +HEAPF64[$arrayidx390 >> 3] + +(HEAP32[$labelInfo + 1310736 + ($mul379 + 1 << 2) >> 2] | 0); + $arrayidx398 = $labelInfo + 655376 + (($mul388 | 1) << 3) | 0; + HEAPF64[$arrayidx398 >> 3] = +HEAPF64[$arrayidx398 >> 3] + +(HEAP32[$labelInfo + 1310736 + ($mul379 + 2 << 2) >> 2] | 0); + $mul400 = $sub378 << 2; + $arrayidx402 = $labelInfo + 131084 + ($mul400 << 2) | 0; + $56 = HEAP32[$labelInfo + 1310736 + ($mul379 + 3 << 2) >> 2] | 0; + if ((HEAP32[$arrayidx402 >> 2] | 0) > ($56 | 0)) HEAP32[$arrayidx402 >> 2] = $56; + $arrayidx418 = $labelInfo + 131084 + (($mul400 | 1) << 2) | 0; + $58 = HEAP32[$labelInfo + 1310736 + ($mul379 + 4 << 2) >> 2] | 0; + if ((HEAP32[$arrayidx418 >> 2] | 0) < ($58 | 0)) HEAP32[$arrayidx418 >> 2] = $58; + $arrayidx434 = $labelInfo + 131084 + (($mul400 | 2) << 2) | 0; + $60 = HEAP32[$labelInfo + 1310736 + ($mul379 + 5 << 2) >> 2] | 0; + if ((HEAP32[$arrayidx434 >> 2] | 0) > ($60 | 0)) HEAP32[$arrayidx434 >> 2] = $60; + $arrayidx450 = $labelInfo + 131084 + (($mul400 | 3) << 2) | 0; + $62 = HEAP32[$labelInfo + 1310736 + ($mul379 + 6 << 2) >> 2] | 0; + if ((HEAP32[$arrayidx450 >> 2] | 0) < ($62 | 0)) HEAP32[$arrayidx450 >> 2] = $62; + $i$5 = $i$5 + 1 | 0; + } + $63 = HEAP32[$label_num323 >> 2] | 0; + $i$6 = 0; + while (1) { + if (($i$6 | 0) >= ($63 | 0)) { + $retval$0 = 0; + break L80; + } + $conv472 = +(HEAP32[$labelInfo + 12 + ($i$6 << 2) >> 2] | 0); + $mul473 = $i$6 << 1; + $arrayidx475 = $labelInfo + 655376 + ($mul473 << 3) | 0; + HEAPF64[$arrayidx475 >> 3] = +HEAPF64[$arrayidx475 >> 3] / $conv472; + $arrayidx480 = $labelInfo + 655376 + (($mul473 | 1) << 3) | 0; + HEAPF64[$arrayidx480 >> 3] = +HEAPF64[$arrayidx480 >> 3] / $conv472; + $i$6 = $i$6 + 1 | 0; } - } while (0); - if ($12 >>> 0 < $$pre$phi275Z2D >>> 0) HEAP32[$2 >> 2] = $$sroa$068$6; else HEAP32[$0 >> 2] = $$pre$phi275Z2D + 8; - } - do if ((label | 0) == 5) { - HEAP32[$2 >> 2] = $15; - $22 = +HEAPF32[$23 >> 2]; - $24 = +HEAPF32[$15 >> 2]; - if (!($22 < $24)) { - if ($24 < $22) break; - $27 = $23 + 4 | 0; - $28 = HEAP32[$27 >> 2] | 0; - $29 = HEAP32[$17 >> 2] | 0; - if ($28 >>> 0 < $29 >>> 0) { - $$pre$phi273Z2D = $27; - $31 = $29; - $32 = $28; - } else break; - } else { - $$phi$trans$insert = $23 + 4 | 0; - $$pre$phi273Z2D = $$phi$trans$insert; - $31 = HEAP32[$17 >> 2] | 0; - $32 = HEAP32[$$phi$trans$insert >> 2] | 0; - } - HEAPF32[$23 >> 2] = $24; - HEAPF32[$15 >> 2] = $22; - HEAP32[$$pre$phi273Z2D >> 2] = $31; - HEAP32[$17 >> 2] = $32; - } else if ((label | 0) == 10) { - HEAP32[$4 >> 2] = $20; - HEAP32[$5 >> 2] = $20 + 8; - HEAP32[$2 >> 2] = $15; - HEAP32[$6 >> 2] = $15; - HEAP32[$$byval_copy5 >> 2] = HEAP32[$4 >> 2]; - HEAP32[$$byval_copy6 >> 2] = HEAP32[$5 >> 2]; - HEAP32[$$byval_copy7 >> 2] = HEAP32[$6 >> 2]; - __ZNSt3__27__sort3IRNS_7greaterINS_4pairIfmEEEENS_11__wrap_iterIPS3_EEEEjT0_S9_S9_T_($$byval_copy5, $$byval_copy6, $$byval_copy7, $3) | 0; - } else if ((label | 0) == 12) { - HEAP32[$7 >> 2] = $20; - HEAP32[$8 >> 2] = $13; - HEAP32[$$byval_copy6 >> 2] = HEAP32[$7 >> 2]; - HEAP32[$$byval_copy7 >> 2] = HEAP32[$8 >> 2]; - __ZNSt3__216__selection_sortIRNS_7greaterINS_4pairIfmEEEENS_11__wrap_iterIPS3_EEEEvT0_S9_T_($$byval_copy6, $$byval_copy7, $3); + } } while (0); STACKTOP = sp; - return; + return $retval$0 | 0; } -function _decode_mcu_sub($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$017$i = 0, $$0196 = 0, $$0197304 = 0, $$0198 = 0, $$0199$lcssa = 0, $$0199303 = 0, $$0209 = 0, $$0210$lcssa = 0, $$0210302 = 0, $$0239288 = 0, $$11$ph = 0, $$11221$ph = 0, $$11255$ph = 0, $$12 = 0, $$1200 = 0, $$1211 = 0, $$12222 = 0, $$1240 = 0, $$13 = 0, $$13223 = 0, $$14 = 0, $$14224 = 0, $$15 = 0, $$15225 = 0, $$16226294 = 0, $$16295 = 0, $$17 = 0, $$17227 = 0, $$18 = 0, $$18228 = 0, $$20$ph = 0, $$20230$ph = 0, $$21 = 0, $$21231 = 0, $$22 = 0, $$2201 = 0, $$2212 = 0, $$22232 = 0, $$2241 = 0, $$2246$ph = 0, $$24 = 0, $$24234 = 0, $$3242293 = 0, $$3247 = 0, $$4203$ph = 0, $$4214$ph = 0, $$5204 = 0, $$5215 = 0, $$6205 = 0, $$6216 = 0, $$6250$ph = 0, $$7206290 = 0, $$7217289 = 0, $$8207 = 0, $$8218 = 0, $$9 = 0, $$9208 = 0, $$9219 = 0, $$in = 0, $$pn = 0, $100 = 0, $108 = 0, $110 = 0, $116 = 0, $117 = 0, $12 = 0, $121 = 0, $123 = 0, $129 = 0, $133 = 0, $134 = 0, $136 = 0, $142 = 0, $145 = 0, $146 = 0, $158 = 0, $16 = 0, $17 = 0, $170 = 0, $171 = 0, $175 = 0, $177 = 0, $183 = 0, $187 = 0, $188 = 0, $2 = 0, $202 = 0, $204 = 0, $205 = 0, $24 = 0, $3 = 0, $41 = 0, $43 = 0, $45 = 0, $46 = 0, $47 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $59 = 0, $6 = 0, $60 = 0, $62 = 0, $64 = 0, $68 = 0, $69 = 0, $73 = 0, $75 = 0, $81 = 0, $86 = 0, $88 = 0, $9 = 0, $90 = 0, $96 = 0, $99 = 0, label = 0, sp = 0; +function _arLabelingSubEBZ($image, $xsize, $ysize, $image_thresh, $labelInfo) { + $image = $image | 0; + $xsize = $xsize | 0; + $ysize = $ysize | 0; + $image_thresh = $image_thresh | 0; + $labelInfo = $labelInfo | 0; + var $0 = 0, $10 = 0, $11 = 0, $12 = 0, $15 = 0, $16 = 0, $20 = 0, $21 = 0, $22 = 0, $25 = 0, $26 = 0, $30 = 0, $35 = 0, $4 = 0, $40 = 0, $41 = 0, $46 = 0, $5 = 0, $56 = 0, $58 = 0, $60 = 0, $62 = 0, $63 = 0, $9 = 0, $add = 0, $arraydecay = 0, $arrayidx120 = 0, $arrayidx123 = 0, $arrayidx126 = 0, $arrayidx187 = 0, $arrayidx190 = 0, $arrayidx193 = 0, $arrayidx201 = 0, $arrayidx204 = 0, $arrayidx207 = 0, $arrayidx210 = 0, $arrayidx232 = 0, $arrayidx235 = 0, $arrayidx238 = 0, $arrayidx241 = 0, $arrayidx261 = 0, $arrayidx264 = 0, $arrayidx267 = 0, $arrayidx270 = 0, $arrayidx325 = 0, $arrayidx382 = 0, $arrayidx390 = 0, $arrayidx398 = 0, $arrayidx402 = 0, $arrayidx41 = 0, $arrayidx418 = 0, $arrayidx434 = 0, $arrayidx450 = 0, $arrayidx475 = 0, $arrayidx480 = 0, $arrayidx50 = 0, $arrayidx53 = 0, $arrayidx56 = 0, $cmp67 = 0, $cond = 0, $conv472 = 0.0, $conv61 = 0, $conv66 = 0, $dpnt$0 = 0, $dpnt$1 = 0, $i$0 = 0, $i$1 = 0, $i$2 = 0, $i$3 = 0, $i$4 = 0, $i$5 = 0, $i$6 = 0, $inc278 = 0, $j$0 = 0, $j$1 = 0, $j$2 = 0, $k$0 = 0, $k$1 = 0, $k$2 = 0, $k$3 = 0, $label_num323 = 0, $mul288 = 0, $mul358 = 0, $mul379 = 0, $mul388 = 0, $mul400 = 0, $mul473 = 0, $pnt$0 = 0, $pnt$1 = 0, $pnt1$0 = 0, $pnt1$1 = 0, $pnt2$0 = 0, $pnt2$1 = 0, $pnt2$2 = 0, $pnt2$3 = 0, $pnt_thresh$0 = 0, $pnt_thresh$1 = 0, $retval$0 = 0, $sub = 0, $sub346 = 0, $sub378 = 0, $sub40 = 0, $sub7 = 0, $vararg_buffer = 0, $wk$0 = 0, $wk$1 = 0, $wk$2 = 0, $wk$3 = 0, $wk$4 = 0, $wk_max$0 = 0, $wk_max$1 = 0, $wk_max$2 = 0, label = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 48 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); - $2 = sp + 20 | 0; - $3 = sp; - $5 = HEAP32[$0 + 468 >> 2] | 0; - $6 = $0 + 280 | 0; - if (HEAP32[$6 >> 2] | 0 ? ($9 = $5 + 44 | 0, (HEAP32[$9 >> 2] | 0) == 0) : 0) { - $12 = $5 + 16 | 0; - $16 = HEAP32[$0 + 464 >> 2] | 0; - $17 = $16 + 24 | 0; - HEAP32[$17 >> 2] = (HEAP32[$17 >> 2] | 0) + ((HEAP32[$12 >> 2] | 0) / 8 | 0); - HEAP32[$12 >> 2] = 0; - if (!(FUNCTION_TABLE_ii[HEAP32[$16 + 8 >> 2] & 127]($0) | 0)) { - $$9 = 0; - STACKTOP = sp; - return $$9 | 0; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $vararg_buffer = sp; + $0 = HEAP32[$labelInfo >> 2] | 0; + $sub = $ysize + -1 | 0; + $i$0 = 0; + $pnt1$0 = $0; + $pnt2$0 = $0 + ((Math_imul($sub, $xsize) | 0) << 1) | 0; + while (1) { + if (($i$0 | 0) >= ($xsize | 0)) break; + HEAP16[$pnt2$0 >> 1] = 0; + HEAP16[$pnt1$0 >> 1] = 0; + $i$0 = $i$0 + 1 | 0; + $pnt1$0 = $pnt1$0 + 2 | 0; + $pnt2$0 = $pnt2$0 + 2 | 0; + } + $sub7 = $xsize + -1 | 0; + $i$1 = 0; + $pnt1$1 = $0; + $pnt2$1 = $0 + ($sub7 << 1) | 0; + while (1) { + if (($i$1 | 0) >= ($ysize | 0)) break; + HEAP16[$pnt2$1 >> 1] = 0; + HEAP16[$pnt1$1 >> 1] = 0; + $i$1 = $i$1 + 1 | 0; + $pnt1$1 = $pnt1$1 + ($xsize << 1) | 0; + $pnt2$1 = $pnt2$1 + ($xsize << 1) | 0; + } + $arraydecay = $labelInfo + 1179664 | 0; + $add = $xsize + 1 | 0; + $sub40 = 0 - $xsize | 0; + $dpnt$0 = (HEAP32[$labelInfo + 4 >> 2] | 0) + $add | 0; + $j$0 = 1; + $pnt$0 = $image + $add | 0; + $pnt2$2 = $0 + ($add << 1) | 0; + $pnt_thresh$0 = $image_thresh + $add | 0; + $wk_max$0 = 0; + L9 : while (1) { + if (($j$0 | 0) >= ($sub | 0)) { + label = 59; + break; } - $24 = $0 + 340 | 0; - if ((HEAP32[$24 >> 2] | 0) > 0) { - $$017$i = 0; - do { - HEAP32[$5 + 24 + ($$017$i << 2) >> 2] = 0; - $$017$i = $$017$i + 1 | 0; - } while (($$017$i | 0) < (HEAP32[$24 >> 2] | 0)); - } - HEAP32[$5 + 20 >> 2] = 0; - HEAP32[$9 >> 2] = HEAP32[$6 >> 2]; - if (!(HEAP32[$0 + 440 >> 2] | 0)) HEAP32[$5 + 40 >> 2] = 0; - } - if (!(HEAP32[$5 + 40 >> 2] | 0)) { - $41 = HEAP32[$0 + 432 >> 2] | 0; - $43 = HEAP32[$0 + 436 >> 2] | 0; - HEAP32[$2 + 16 >> 2] = $0; - $45 = $0 + 24 | 0; - $46 = HEAP32[$45 >> 2] | 0; - $47 = HEAP32[$46 >> 2] | 0; - HEAP32[$2 >> 2] = $47; - $49 = HEAP32[$46 + 4 >> 2] | 0; - $50 = $2 + 4 | 0; - HEAP32[$50 >> 2] = $49; - $51 = $5 + 12 | 0; - $52 = HEAP32[$51 >> 2] | 0; - $53 = $5 + 16 | 0; - $54 = HEAP32[$53 >> 2] | 0; - $55 = $5 + 20 | 0; - HEAP32[$3 >> 2] = HEAP32[$55 >> 2]; - HEAP32[$3 + 4 >> 2] = HEAP32[$55 + 4 >> 2]; - HEAP32[$3 + 8 >> 2] = HEAP32[$55 + 8 >> 2]; - HEAP32[$3 + 12 >> 2] = HEAP32[$55 + 12 >> 2]; - HEAP32[$3 + 16 >> 2] = HEAP32[$55 + 16 >> 2]; - $56 = $0 + 368 | 0; - do if ((HEAP32[$56 >> 2] | 0) > 0) { - $59 = $2 + 8 | 0; - $60 = $2 + 12 | 0; - $$0197304 = 0; - $$0199303 = $52; - $$0210302 = $54; - L18 : while (1) { - $62 = HEAP32[$1 + ($$0197304 << 2) >> 2] | 0; - $64 = HEAP32[$5 + 100 + ($$0197304 << 2) >> 2] | 0; - if (($$0210302 | 0) < 8) { - if (!(_jpeg_fill_bit_buffer($2, $$0199303, $$0210302, 0) | 0)) { - $$9 = 0; - label = 67; + $dpnt$1 = $dpnt$0; + $i$2 = 1; + $pnt$1 = $pnt$0; + $pnt2$3 = $pnt2$2; + $pnt_thresh$1 = $pnt_thresh$0; + $wk_max$1 = $wk_max$0; + while (1) { + if (($i$2 | 0) >= ($sub7 | 0)) break; + do if ((HEAPU8[$pnt$1 >> 0] | 0) > (HEAPU8[$pnt_thresh$1 >> 0] | 0)) { + HEAP16[$pnt2$3 >> 1] = 0; + HEAP8[$dpnt$1 >> 0] = 0; + $wk_max$2 = $wk_max$1; + } else { + HEAP8[$dpnt$1 >> 0] = -1; + $arrayidx41 = $pnt2$3 + ($sub40 << 1) | 0; + $4 = HEAP16[$arrayidx41 >> 1] | 0; + if ($4 << 16 >> 16 > 0) { + HEAP16[$pnt2$3 >> 1] = $4; + $5 = ($4 << 16 >> 16) * 7 | 0; + $arrayidx50 = $labelInfo + 1310736 + ($5 + -7 << 2) | 0; + HEAP32[$arrayidx50 >> 2] = (HEAP32[$arrayidx50 >> 2] | 0) + 1; + $arrayidx53 = $labelInfo + 1310736 + ($5 + -6 << 2) | 0; + HEAP32[$arrayidx53 >> 2] = (HEAP32[$arrayidx53 >> 2] | 0) + $i$2; + $arrayidx56 = $labelInfo + 1310736 + ($5 + -5 << 2) | 0; + HEAP32[$arrayidx56 >> 2] = (HEAP32[$arrayidx56 >> 2] | 0) + $j$0; + HEAP32[$labelInfo + 1310736 + ($5 + -1 << 2) >> 2] = $j$0; + $wk_max$2 = $wk_max$1; + break; + } + $9 = HEAP16[$arrayidx41 + 2 >> 1] | 0; + $conv61 = $9 << 16 >> 16; + $10 = HEAP16[$arrayidx41 + -2 >> 1] | 0; + $conv66 = $10 << 16 >> 16; + $cmp67 = $10 << 16 >> 16 > 0; + if ($9 << 16 >> 16 <= 0) { + if ($cmp67) { + HEAP16[$pnt2$3 >> 1] = $10; + $35 = $conv66 * 7 | 0; + $arrayidx232 = $labelInfo + 1310736 + ($35 + -7 << 2) | 0; + HEAP32[$arrayidx232 >> 2] = (HEAP32[$arrayidx232 >> 2] | 0) + 1; + $arrayidx235 = $labelInfo + 1310736 + ($35 + -6 << 2) | 0; + HEAP32[$arrayidx235 >> 2] = (HEAP32[$arrayidx235 >> 2] | 0) + $i$2; + $arrayidx238 = $labelInfo + 1310736 + ($35 + -5 << 2) | 0; + HEAP32[$arrayidx238 >> 2] = (HEAP32[$arrayidx238 >> 2] | 0) + $j$0; + $arrayidx241 = $labelInfo + 1310736 + ($35 + -3 << 2) | 0; + if ((HEAP32[$arrayidx241 >> 2] | 0) < ($i$2 | 0)) HEAP32[$arrayidx241 >> 2] = $i$2; + HEAP32[$labelInfo + 1310736 + ($35 + -1 << 2) >> 2] = $j$0; + $wk_max$2 = $wk_max$1; break; } - $68 = HEAP32[$59 >> 2] | 0; - $69 = HEAP32[$60 >> 2] | 0; - if (($69 | 0) < 8) { - $$0209 = 1; - $$2201 = $68; - $$2212 = $69; - label = 17; + $40 = HEAP16[$pnt2$3 + -2 >> 1] | 0; + if ($40 << 16 >> 16 > 0) { + HEAP16[$pnt2$3 >> 1] = $40; + $41 = ($40 << 16 >> 16) * 7 | 0; + $arrayidx261 = $labelInfo + 1310736 + ($41 + -7 << 2) | 0; + HEAP32[$arrayidx261 >> 2] = (HEAP32[$arrayidx261 >> 2] | 0) + 1; + $arrayidx264 = $labelInfo + 1310736 + ($41 + -6 << 2) | 0; + HEAP32[$arrayidx264 >> 2] = (HEAP32[$arrayidx264 >> 2] | 0) + $i$2; + $arrayidx267 = $labelInfo + 1310736 + ($41 + -5 << 2) | 0; + HEAP32[$arrayidx267 >> 2] = (HEAP32[$arrayidx267 >> 2] | 0) + $j$0; + $arrayidx270 = $labelInfo + 1310736 + ($41 + -3 << 2) | 0; + if ((HEAP32[$arrayidx270 >> 2] | 0) >= ($i$2 | 0)) { + $wk_max$2 = $wk_max$1; + break; + } + HEAP32[$arrayidx270 >> 2] = $i$2; + $wk_max$2 = $wk_max$1; + break; } else { - $$1200 = $68; - $$1211 = $69; - label = 15; + $inc278 = $wk_max$1 + 1 | 0; + if (($wk_max$1 | 0) > 32767) { + label = 54; + break L9; + } + HEAP16[$pnt2$3 >> 1] = $inc278; + HEAP32[$labelInfo + 1179664 + ($wk_max$1 << 2) >> 2] = $inc278 << 16 >> 16; + $mul288 = $wk_max$1 * 7 | 0; + HEAP32[$labelInfo + 1310736 + ($mul288 << 2) >> 2] = 1; + HEAP32[$labelInfo + 1310736 + ($mul288 + 1 << 2) >> 2] = $i$2; + HEAP32[$labelInfo + 1310736 + ($mul288 + 2 << 2) >> 2] = $j$0; + HEAP32[$labelInfo + 1310736 + ($mul288 + 3 << 2) >> 2] = $i$2; + HEAP32[$labelInfo + 1310736 + ($mul288 + 4 << 2) >> 2] = $i$2; + HEAP32[$labelInfo + 1310736 + ($mul288 + 5 << 2) >> 2] = $j$0; + HEAP32[$labelInfo + 1310736 + ($mul288 + 6 << 2) >> 2] = $j$0; + $wk_max$2 = $inc278; + break; } - } else { - $$1200 = $$0199303; - $$1211 = $$0210302; - label = 15; } - if ((label | 0) == 15) { - label = 0; - $73 = $$1200 >> $$1211 + -8 & 255; - $75 = HEAP32[$64 + 144 + ($73 << 2) >> 2] | 0; - if (!$75) { - $$0209 = 9; - $$2201 = $$1200; - $$2212 = $$1211; - label = 17; - } else { - $$2246$ph = HEAPU8[$64 + 1168 + $73 >> 0] | 0; - $$4203$ph = $$1200; - $$4214$ph = $$1211 - $75 | 0; - } - } - if ((label | 0) == 17) { - label = 0; - $81 = _jpeg_huff_decode($2, $$2201, $$2212, $64, $$0209) | 0; - if (($81 | 0) < 0) { - $$9 = 0; - label = 67; - break; - } - $$2246$ph = $81; - $$4203$ph = HEAP32[$59 >> 2] | 0; - $$4214$ph = HEAP32[$60 >> 2] | 0; - } - $86 = HEAP32[$5 + 140 + ($$0197304 << 2) >> 2] | 0; - $88 = HEAP32[$5 + 180 + ($$0197304 << 2) >> 2] | 0; - $90 = ($$2246$ph | 0) != 0; - L30 : do if (!$88) if ($90) { - if (($$4214$ph | 0) < ($$2246$ph | 0)) { - if (!(_jpeg_fill_bit_buffer($2, $$4203$ph, $$4214$ph, $$2246$ph) | 0)) { - $$9 = 0; - label = 67; - break L18; - } - $$14 = HEAP32[$59 >> 2] | 0; - $$14224 = HEAP32[$60 >> 2] | 0; - } else { - $$14 = $$4203$ph; - $$14224 = $$4214$ph; - } - $$15 = $$14; - $$15225 = $$14224 - $$2246$ph | 0; - $$2241 = 1; - label = 47; - } else { - $$15 = $$4203$ph; - $$15225 = $$4214$ph; - $$2241 = 1; - label = 47; - } else { - if ($90) { - if (($$4214$ph | 0) < ($$2246$ph | 0)) { - if (!(_jpeg_fill_bit_buffer($2, $$4203$ph, $$4214$ph, $$2246$ph) | 0)) { - $$9 = 0; - label = 67; - break L18; - } - $$5204 = HEAP32[$59 >> 2] | 0; - $$5215 = HEAP32[$60 >> 2] | 0; - } else { - $$5204 = $$4203$ph; - $$5215 = $$4214$ph; - } - $96 = $$5215 - $$2246$ph | 0; - $99 = HEAP32[5184 + ($$2246$ph << 2) >> 2] | 0; - $100 = $$5204 >> $96 & $99; - $$3247 = $100 - (($100 | 0) > (HEAP32[5184 + ($$2246$ph + -1 << 2) >> 2] | 0) ? 0 : $99) | 0; - $$6205 = $$5204; - $$6216 = $96; - } else { - $$3247 = 0; - $$6205 = $$4203$ph; - $$6216 = $$4214$ph; - } - $108 = $3 + 4 + (HEAP32[$0 + 372 + ($$0197304 << 2) >> 2] << 2) | 0; - $110 = (HEAP32[$108 >> 2] | 0) + $$3247 | 0; - HEAP32[$108 >> 2] = $110; - HEAP16[$62 >> 1] = $110; - if (($88 | 0) > 1) { - $$0239288 = 1; - $$7206290 = $$6205; - $$7217289 = $$6216; - while (1) { - if (($$7217289 | 0) < 8) { - if (!(_jpeg_fill_bit_buffer($2, $$7206290, $$7217289, 0) | 0)) { - $$9 = 0; - label = 67; - break L18; - } - $116 = HEAP32[$59 >> 2] | 0; - $117 = HEAP32[$60 >> 2] | 0; - if (($117 | 0) < 8) { - $$0198 = 1; - $$9208 = $116; - $$9219 = $117; - label = 32; - } else { - $$8207 = $116; - $$8218 = $117; - label = 30; - } - } else { - $$8207 = $$7206290; - $$8218 = $$7217289; - label = 30; - } - if ((label | 0) == 30) { - label = 0; - $121 = $$8207 >> $$8218 + -8 & 255; - $123 = HEAP32[$86 + 144 + ($121 << 2) >> 2] | 0; - if (!$123) { - $$0198 = 9; - $$9208 = $$8207; - $$9219 = $$8218; - label = 32; - } else { - $$11$ph = $$8207; - $$11221$ph = $$8218 - $123 | 0; - $$6250$ph = HEAPU8[$86 + 1168 + $121 >> 0] | 0; - } - } - if ((label | 0) == 32) { - label = 0; - $129 = _jpeg_huff_decode($2, $$9208, $$9219, $86, $$0198) | 0; - if (($129 | 0) < 0) { - $$9 = 0; - label = 67; - break L18; - } - $$11$ph = HEAP32[$59 >> 2] | 0; - $$11221$ph = HEAP32[$60 >> 2] | 0; - $$6250$ph = $129; - } - $133 = $$6250$ph >>> 4; - $134 = $$6250$ph & 15; - if (!$134) { - if (($133 | 0) != 15) { - $$24 = $$11$ph; - $$24234 = $$11221$ph; - break L30; - } - $$1240 = $$0239288 + 15 | 0; - $$13 = $$11$ph; - $$13223 = $$11221$ph; - } else { - $136 = $133 + $$0239288 | 0; - if (($$11221$ph | 0) < ($134 | 0)) { - if (!(_jpeg_fill_bit_buffer($2, $$11$ph, $$11221$ph, $134) | 0)) { - $$9 = 0; - label = 67; - break L18; - } - $$12 = HEAP32[$59 >> 2] | 0; - $$12222 = HEAP32[$60 >> 2] | 0; - } else { - $$12 = $$11$ph; - $$12222 = $$11221$ph; + if ($cmp67) { + $11 = HEAP32[$labelInfo + 1179664 + ($conv61 + -1 << 2) >> 2] | 0; + $12 = HEAP32[$labelInfo + 1179664 + ($conv66 + -1 << 2) >> 2] | 0; + L37 : do if (($11 | 0) <= ($12 | 0)) { + HEAP16[$pnt2$3 >> 1] = $11; + if (($11 | 0) < ($12 | 0)) { + $k$1 = 0; + $wk$1 = $arraydecay; + while (1) { + if (($k$1 | 0) >= ($wk_max$1 | 0)) { + $15 = $11; + break L37; } - $142 = $$12222 - $134 | 0; - $145 = HEAP32[5184 + ($134 << 2) >> 2] | 0; - $146 = $$12 >> $142 & $145; - HEAP16[$62 + (HEAP32[$41 + ($136 << 2) >> 2] << 1) >> 1] = $146 - (($146 | 0) > (HEAP32[5184 + ($134 + -1 << 2) >> 2] | 0) ? 0 : $145); - $$1240 = $136; - $$13 = $$12; - $$13223 = $142; - } - $158 = $$1240 + 1 | 0; - if (($158 | 0) < ($88 | 0)) { - $$0239288 = $158; - $$7206290 = $$13; - $$7217289 = $$13223; - } else { - $$15 = $$13; - $$15225 = $$13223; - $$2241 = $158; - label = 47; - break; + if ((HEAP32[$wk$1 >> 2] | 0) == ($12 | 0)) HEAP32[$wk$1 >> 2] = $11; + $k$1 = $k$1 + 1 | 0; + $wk$1 = $wk$1 + 4 | 0; } - } - } else { - $$15 = $$6205; - $$15225 = $$6216; - $$2241 = 1; - label = 47; - } - } while (0); - L67 : do if ((label | 0) == 47) { - label = 0; - if (($$2241 | 0) > ($43 | 0)) { - $$24 = $$15; - $$24234 = $$15225; + } else $15 = $11; } else { - $$16226294 = $$15225; - $$16295 = $$15; - $$3242293 = $$2241; + HEAP16[$pnt2$3 >> 1] = $12; + $k$0 = 0; + $wk$0 = $arraydecay; while (1) { - if (($$16226294 | 0) < 8) { - if (!(_jpeg_fill_bit_buffer($2, $$16295, $$16226294, 0) | 0)) { - $$9 = 0; - label = 67; - break L18; - } - $170 = HEAP32[$59 >> 2] | 0; - $171 = HEAP32[$60 >> 2] | 0; - if (($171 | 0) < 8) { - $$0196 = 1; - $$18 = $170; - $$18228 = $171; - label = 54; - } else { - $$17 = $170; - $$17227 = $171; - label = 52; - } - } else { - $$17 = $$16295; - $$17227 = $$16226294; - label = 52; - } - if ((label | 0) == 52) { - label = 0; - $175 = $$17 >> $$17227 + -8 & 255; - $177 = HEAP32[$86 + 144 + ($175 << 2) >> 2] | 0; - if (!$177) { - $$0196 = 9; - $$18 = $$17; - $$18228 = $$17227; - label = 54; - } else { - $$11255$ph = HEAPU8[$86 + 1168 + $175 >> 0] | 0; - $$20$ph = $$17; - $$20230$ph = $$17227 - $177 | 0; - } - } - if ((label | 0) == 54) { - label = 0; - $183 = _jpeg_huff_decode($2, $$18, $$18228, $86, $$0196) | 0; - if (($183 | 0) < 0) { - $$9 = 0; - label = 67; - break L18; - } - $$11255$ph = $183; - $$20$ph = HEAP32[$59 >> 2] | 0; - $$20230$ph = HEAP32[$60 >> 2] | 0; - } - $187 = $$11255$ph >>> 4; - $188 = $$11255$ph & 15; - if (!$188) if (($187 | 0) == 15) { - $$22 = $$20$ph; - $$22232 = $$20230$ph; - $$pn = 15; - } else { - $$24 = $$20$ph; - $$24234 = $$20230$ph; - break L67; - } else { - if (($$20230$ph | 0) < ($188 | 0)) { - if (!(_jpeg_fill_bit_buffer($2, $$20$ph, $$20230$ph, $188) | 0)) { - $$9 = 0; - label = 67; - break L18; - } - $$21 = HEAP32[$59 >> 2] | 0; - $$21231 = HEAP32[$60 >> 2] | 0; - } else { - $$21 = $$20$ph; - $$21231 = $$20230$ph; - } - $$22 = $$21; - $$22232 = $$21231 - $188 | 0; - $$pn = $187; - } - $$3242293 = $$3242293 + 1 + $$pn | 0; - if (($$3242293 | 0) > ($43 | 0)) { - $$24 = $$22; - $$24234 = $$22232; - break; - } else { - $$16226294 = $$22232; - $$16295 = $$22; + if (($k$0 | 0) >= ($wk_max$1 | 0)) { + $15 = $12; + break L37; } + if ((HEAP32[$wk$0 >> 2] | 0) == ($11 | 0)) HEAP32[$wk$0 >> 2] = $12; + $k$0 = $k$0 + 1 | 0; + $wk$0 = $wk$0 + 4 | 0; } - } - } while (0); - $$0197304 = $$0197304 + 1 | 0; - if (($$0197304 | 0) >= (HEAP32[$56 >> 2] | 0)) { - label = 64; + } while (0); + $16 = ($15 << 16 >> 16) * 7 | 0; + $arrayidx120 = $labelInfo + 1310736 + ($16 + -7 << 2) | 0; + HEAP32[$arrayidx120 >> 2] = (HEAP32[$arrayidx120 >> 2] | 0) + 1; + $arrayidx123 = $labelInfo + 1310736 + ($16 + -6 << 2) | 0; + HEAP32[$arrayidx123 >> 2] = (HEAP32[$arrayidx123 >> 2] | 0) + $i$2; + $arrayidx126 = $labelInfo + 1310736 + ($16 + -5 << 2) | 0; + HEAP32[$arrayidx126 >> 2] = (HEAP32[$arrayidx126 >> 2] | 0) + $j$0; + HEAP32[$labelInfo + 1310736 + ($16 + -1 << 2) >> 2] = $j$0; + $wk_max$2 = $wk_max$1; break; - } else { - $$0199303 = $$24; - $$0210302 = $$24234; - } - } - if ((label | 0) == 64) { - $$0199$lcssa = $$24; - $$0210$lcssa = $$24234; - $$in = HEAP32[$45 >> 2] | 0; - $202 = HEAP32[$2 >> 2] | 0; - $204 = HEAP32[$50 >> 2] | 0; - break; - } else if ((label | 0) == 67) { - STACKTOP = sp; - return $$9 | 0; - } - } else { - $$0199$lcssa = $52; - $$0210$lcssa = $54; - $$in = $46; - $202 = $47; - $204 = $49; - } while (0); - HEAP32[$$in >> 2] = $202; - HEAP32[$$in + 4 >> 2] = $204; - HEAP32[$51 >> 2] = $$0199$lcssa; - HEAP32[$53 >> 2] = $$0210$lcssa; - HEAP32[$55 >> 2] = HEAP32[$3 >> 2]; - HEAP32[$55 + 4 >> 2] = HEAP32[$3 + 4 >> 2]; - HEAP32[$55 + 8 >> 2] = HEAP32[$3 + 8 >> 2]; - HEAP32[$55 + 12 >> 2] = HEAP32[$3 + 12 >> 2]; - HEAP32[$55 + 16 >> 2] = HEAP32[$3 + 16 >> 2]; - } - $205 = $5 + 44 | 0; - HEAP32[$205 >> 2] = (HEAP32[$205 >> 2] | 0) + -1; - $$9 = 1; - STACKTOP = sp; - return $$9 | 0; -} - -function _decode_mcu_66($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$017$i = 0, $$0188 = 0, $$0189296 = 0, $$0190 = 0, $$0191$lcssa = 0, $$0191295 = 0, $$0201 = 0, $$0202$lcssa = 0, $$0202294 = 0, $$0231280 = 0, $$11$ph = 0, $$11213$ph = 0, $$11247$ph = 0, $$1192 = 0, $$12 = 0, $$1203 = 0, $$12214 = 0, $$1232 = 0, $$13 = 0, $$13215 = 0, $$14 = 0, $$14216 = 0, $$16218286 = 0, $$16218286$ph = 0, $$16287 = 0, $$16287$ph = 0, $$17 = 0, $$17219 = 0, $$18 = 0, $$18220 = 0, $$20$ph = 0, $$20222$ph = 0, $$21 = 0, $$21223 = 0, $$2193 = 0, $$22 = 0, $$2204 = 0, $$22224 = 0, $$2238$ph = 0, $$24 = 0, $$24226 = 0, $$3234285 = 0, $$3234285$ph = 0, $$3239 = 0, $$4195$ph = 0, $$4206$ph = 0, $$5196 = 0, $$5207 = 0, $$6197 = 0, $$6208 = 0, $$6242$ph = 0, $$7198282 = 0, $$7209281 = 0, $$8199 = 0, $$8210 = 0, $$9 = 0, $$9200 = 0, $$9211 = 0, $$in = 0, $$pn = 0, $104 = 0, $106 = 0, $112 = 0, $113 = 0, $117 = 0, $119 = 0, $12 = 0, $125 = 0, $129 = 0, $130 = 0, $132 = 0, $138 = 0, $141 = 0, $142 = 0, $16 = 0, $166 = 0, $167 = 0, $17 = 0, $171 = 0, $173 = 0, $179 = 0, $183 = 0, $184 = 0, $198 = 0, $2 = 0, $200 = 0, $201 = 0, $24 = 0, $3 = 0, $41 = 0, $42 = 0, $43 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $55 = 0, $56 = 0, $58 = 0, $6 = 0, $60 = 0, $64 = 0, $65 = 0, $69 = 0, $71 = 0, $77 = 0, $82 = 0, $84 = 0, $86 = 0, $9 = 0, $92 = 0, $95 = 0, $96 = 0, label = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 48 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); - $2 = sp + 20 | 0; - $3 = sp; - $5 = HEAP32[$0 + 468 >> 2] | 0; - $6 = $0 + 280 | 0; - if (HEAP32[$6 >> 2] | 0 ? ($9 = $5 + 44 | 0, (HEAP32[$9 >> 2] | 0) == 0) : 0) { - $12 = $5 + 16 | 0; - $16 = HEAP32[$0 + 464 >> 2] | 0; - $17 = $16 + 24 | 0; - HEAP32[$17 >> 2] = (HEAP32[$17 >> 2] | 0) + ((HEAP32[$12 >> 2] | 0) / 8 | 0); - HEAP32[$12 >> 2] = 0; - if (!(FUNCTION_TABLE_ii[HEAP32[$16 + 8 >> 2] & 127]($0) | 0)) { - $$9 = 0; - STACKTOP = sp; - return $$9 | 0; - } - $24 = $0 + 340 | 0; - if ((HEAP32[$24 >> 2] | 0) > 0) { - $$017$i = 0; - do { - HEAP32[$5 + 24 + ($$017$i << 2) >> 2] = 0; - $$017$i = $$017$i + 1 | 0; - } while (($$017$i | 0) < (HEAP32[$24 >> 2] | 0)); - } - HEAP32[$5 + 20 >> 2] = 0; - HEAP32[$9 >> 2] = HEAP32[$6 >> 2]; - if (!(HEAP32[$0 + 440 >> 2] | 0)) HEAP32[$5 + 40 >> 2] = 0; - } - if (!(HEAP32[$5 + 40 >> 2] | 0)) { - HEAP32[$2 + 16 >> 2] = $0; - $41 = $0 + 24 | 0; - $42 = HEAP32[$41 >> 2] | 0; - $43 = HEAP32[$42 >> 2] | 0; - HEAP32[$2 >> 2] = $43; - $45 = HEAP32[$42 + 4 >> 2] | 0; - $46 = $2 + 4 | 0; - HEAP32[$46 >> 2] = $45; - $47 = $5 + 12 | 0; - $48 = HEAP32[$47 >> 2] | 0; - $49 = $5 + 16 | 0; - $50 = HEAP32[$49 >> 2] | 0; - $51 = $5 + 20 | 0; - HEAP32[$3 >> 2] = HEAP32[$51 >> 2]; - HEAP32[$3 + 4 >> 2] = HEAP32[$51 + 4 >> 2]; - HEAP32[$3 + 8 >> 2] = HEAP32[$51 + 8 >> 2]; - HEAP32[$3 + 12 >> 2] = HEAP32[$51 + 12 >> 2]; - HEAP32[$3 + 16 >> 2] = HEAP32[$51 + 16 >> 2]; - $52 = $0 + 368 | 0; - do if ((HEAP32[$52 >> 2] | 0) > 0) { - $55 = $2 + 8 | 0; - $56 = $2 + 12 | 0; - $$0189296 = 0; - $$0191295 = $48; - $$0202294 = $50; - L18 : while (1) { - $58 = HEAP32[$1 + ($$0189296 << 2) >> 2] | 0; - $60 = HEAP32[$5 + 100 + ($$0189296 << 2) >> 2] | 0; - if (($$0202294 | 0) < 8) { - if (!(_jpeg_fill_bit_buffer($2, $$0191295, $$0202294, 0) | 0)) { - $$9 = 0; - label = 67; - break; - } - $64 = HEAP32[$55 >> 2] | 0; - $65 = HEAP32[$56 >> 2] | 0; - if (($65 | 0) < 8) { - $$0201 = 1; - $$2193 = $64; - $$2204 = $65; - label = 17; - } else { - $$1192 = $64; - $$1203 = $65; - label = 15; - } - } else { - $$1192 = $$0191295; - $$1203 = $$0202294; - label = 15; } - if ((label | 0) == 15) { - label = 0; - $69 = $$1192 >> $$1203 + -8 & 255; - $71 = HEAP32[$60 + 144 + ($69 << 2) >> 2] | 0; - if (!$71) { - $$0201 = 9; - $$2193 = $$1192; - $$2204 = $$1203; - label = 17; - } else { - $$2238$ph = HEAPU8[$60 + 1168 + $69 >> 0] | 0; - $$4195$ph = $$1192; - $$4206$ph = $$1203 - $71 | 0; - } + $20 = HEAP16[$pnt2$3 + -2 >> 1] | 0; + if ($20 << 16 >> 16 <= 0) { + HEAP16[$pnt2$3 >> 1] = $9; + $30 = $conv61 * 7 | 0; + $arrayidx201 = $labelInfo + 1310736 + ($30 + -7 << 2) | 0; + HEAP32[$arrayidx201 >> 2] = (HEAP32[$arrayidx201 >> 2] | 0) + 1; + $arrayidx204 = $labelInfo + 1310736 + ($30 + -6 << 2) | 0; + HEAP32[$arrayidx204 >> 2] = (HEAP32[$arrayidx204 >> 2] | 0) + $i$2; + $arrayidx207 = $labelInfo + 1310736 + ($30 + -5 << 2) | 0; + HEAP32[$arrayidx207 >> 2] = (HEAP32[$arrayidx207 >> 2] | 0) + $j$0; + $arrayidx210 = $labelInfo + 1310736 + ($30 + -4 << 2) | 0; + if ((HEAP32[$arrayidx210 >> 2] | 0) > ($i$2 | 0)) HEAP32[$arrayidx210 >> 2] = $i$2; + HEAP32[$labelInfo + 1310736 + ($30 + -1 << 2) >> 2] = $j$0; + $wk_max$2 = $wk_max$1; + break; } - if ((label | 0) == 17) { - label = 0; - $77 = _jpeg_huff_decode($2, $$2193, $$2204, $60, $$0201) | 0; - if (($77 | 0) < 0) { - $$9 = 0; - label = 67; - break; - } - $$2238$ph = $77; - $$4195$ph = HEAP32[$55 >> 2] | 0; - $$4206$ph = HEAP32[$56 >> 2] | 0; - } - $82 = HEAP32[$5 + 140 + ($$0189296 << 2) >> 2] | 0; - $84 = HEAP32[$5 + 180 + ($$0189296 << 2) >> 2] | 0; - $86 = ($$2238$ph | 0) != 0; - L30 : do if (!$84) if ($86) { - if (($$4206$ph | 0) < ($$2238$ph | 0)) { - if (!(_jpeg_fill_bit_buffer($2, $$4195$ph, $$4206$ph, $$2238$ph) | 0)) { - $$9 = 0; - label = 67; - break L18; - } - $$14 = HEAP32[$55 >> 2] | 0; - $$14216 = HEAP32[$56 >> 2] | 0; - } else { - $$14 = $$4195$ph; - $$14216 = $$4206$ph; - } - $$16218286$ph = $$14216 - $$2238$ph | 0; - $$16287$ph = $$14; - $$3234285$ph = 1; - label = 48; - } else { - $$16218286$ph = $$4206$ph; - $$16287$ph = $$4195$ph; - $$3234285$ph = 1; - label = 48; - } else { - if ($86) { - if (($$4206$ph | 0) < ($$2238$ph | 0)) { - if (!(_jpeg_fill_bit_buffer($2, $$4195$ph, $$4206$ph, $$2238$ph) | 0)) { - $$9 = 0; - label = 67; - break L18; - } - $$5196 = HEAP32[$55 >> 2] | 0; - $$5207 = HEAP32[$56 >> 2] | 0; - } else { - $$5196 = $$4195$ph; - $$5207 = $$4206$ph; - } - $92 = $$5207 - $$2238$ph | 0; - $95 = HEAP32[5184 + ($$2238$ph << 2) >> 2] | 0; - $96 = $$5196 >> $92 & $95; - $$3239 = $96 - (($96 | 0) > (HEAP32[5184 + ($$2238$ph + -1 << 2) >> 2] | 0) ? 0 : $95) | 0; - $$6197 = $$5196; - $$6208 = $92; - } else { - $$3239 = 0; - $$6197 = $$4195$ph; - $$6208 = $$4206$ph; - } - $104 = $3 + 4 + (HEAP32[$0 + 372 + ($$0189296 << 2) >> 2] << 2) | 0; - $106 = (HEAP32[$104 >> 2] | 0) + $$3239 | 0; - HEAP32[$104 >> 2] = $106; - HEAP16[$58 >> 1] = $106; - if (($84 | 0) > 1) { - $$0231280 = 1; - $$7198282 = $$6197; - $$7209281 = $$6208; + $21 = HEAP32[$labelInfo + 1179664 + ($conv61 + -1 << 2) >> 2] | 0; + $22 = HEAP32[$labelInfo + 1179664 + (($20 << 16 >> 16) + -1 << 2) >> 2] | 0; + L61 : do if (($21 | 0) <= ($22 | 0)) { + HEAP16[$pnt2$3 >> 1] = $21; + if (($21 | 0) < ($22 | 0)) { + $k$3 = 0; + $wk$3 = $arraydecay; while (1) { - if (($$7209281 | 0) < 8) { - if (!(_jpeg_fill_bit_buffer($2, $$7198282, $$7209281, 0) | 0)) { - $$9 = 0; - label = 67; - break L18; - } - $112 = HEAP32[$55 >> 2] | 0; - $113 = HEAP32[$56 >> 2] | 0; - if (($113 | 0) < 8) { - $$0190 = 1; - $$9200 = $112; - $$9211 = $113; - label = 32; - } else { - $$8199 = $112; - $$8210 = $113; - label = 30; - } - } else { - $$8199 = $$7198282; - $$8210 = $$7209281; - label = 30; - } - if ((label | 0) == 30) { - label = 0; - $117 = $$8199 >> $$8210 + -8 & 255; - $119 = HEAP32[$82 + 144 + ($117 << 2) >> 2] | 0; - if (!$119) { - $$0190 = 9; - $$9200 = $$8199; - $$9211 = $$8210; - label = 32; - } else { - $$11$ph = $$8199; - $$11213$ph = $$8210 - $119 | 0; - $$6242$ph = HEAPU8[$82 + 1168 + $117 >> 0] | 0; - } - } - if ((label | 0) == 32) { - label = 0; - $125 = _jpeg_huff_decode($2, $$9200, $$9211, $82, $$0190) | 0; - if (($125 | 0) < 0) { - $$9 = 0; - label = 67; - break L18; - } - $$11$ph = HEAP32[$55 >> 2] | 0; - $$11213$ph = HEAP32[$56 >> 2] | 0; - $$6242$ph = $125; - } - $129 = $$6242$ph >>> 4; - $130 = $$6242$ph & 15; - if (!$130) { - if (($129 | 0) != 15) { - $$24 = $$11$ph; - $$24226 = $$11213$ph; - break L30; - } - $$1232 = $$0231280 + 15 | 0; - $$13 = $$11$ph; - $$13215 = $$11213$ph; - } else { - $132 = $129 + $$0231280 | 0; - if (($$11213$ph | 0) < ($130 | 0)) { - if (!(_jpeg_fill_bit_buffer($2, $$11$ph, $$11213$ph, $130) | 0)) { - $$9 = 0; - label = 67; - break L18; - } - $$12 = HEAP32[$55 >> 2] | 0; - $$12214 = HEAP32[$56 >> 2] | 0; - } else { - $$12 = $$11$ph; - $$12214 = $$11213$ph; - } - $138 = $$12214 - $130 | 0; - $141 = HEAP32[5184 + ($130 << 2) >> 2] | 0; - $142 = $$12 >> $138 & $141; - HEAP16[$58 + (HEAP32[2576 + ($132 << 2) >> 2] << 1) >> 1] = $142 - (($142 | 0) > (HEAP32[5184 + ($130 + -1 << 2) >> 2] | 0) ? 0 : $141); - $$1232 = $132; - $$13 = $$12; - $$13215 = $138; - } - $$0231280 = $$1232 + 1 | 0; - if (($$0231280 | 0) >= ($84 | 0)) break; else { - $$7198282 = $$13; - $$7209281 = $$13215; + if (($k$3 | 0) >= ($wk_max$1 | 0)) { + $25 = $21; + break L61; } + if ((HEAP32[$wk$3 >> 2] | 0) == ($22 | 0)) HEAP32[$wk$3 >> 2] = $21; + $k$3 = $k$3 + 1 | 0; + $wk$3 = $wk$3 + 4 | 0; } - if (($$1232 | 0) < 63) { - $$16218286$ph = $$13215; - $$16287$ph = $$13; - $$3234285$ph = $$0231280; - label = 48; - } else { - $$24 = $$13; - $$24226 = $$13215; - } - } else { - $$16218286$ph = $$6208; - $$16287$ph = $$6197; - $$3234285$ph = 1; - label = 48; - } - } while (0); - L68 : do if ((label | 0) == 48) { - label = 0; - $$16218286 = $$16218286$ph; - $$16287 = $$16287$ph; - $$3234285 = $$3234285$ph; + } else $25 = $21; + } else { + HEAP16[$pnt2$3 >> 1] = $22; + $k$2 = 0; + $wk$2 = $arraydecay; while (1) { - if (($$16218286 | 0) < 8) { - if (!(_jpeg_fill_bit_buffer($2, $$16287, $$16218286, 0) | 0)) { - $$9 = 0; - label = 67; - break L18; - } - $166 = HEAP32[$55 >> 2] | 0; - $167 = HEAP32[$56 >> 2] | 0; - if (($167 | 0) < 8) { - $$0188 = 1; - $$18 = $166; - $$18220 = $167; - label = 54; - } else { - $$17 = $166; - $$17219 = $167; - label = 52; - } - } else { - $$17 = $$16287; - $$17219 = $$16218286; - label = 52; - } - if ((label | 0) == 52) { - label = 0; - $171 = $$17 >> $$17219 + -8 & 255; - $173 = HEAP32[$82 + 144 + ($171 << 2) >> 2] | 0; - if (!$173) { - $$0188 = 9; - $$18 = $$17; - $$18220 = $$17219; - label = 54; - } else { - $$11247$ph = HEAPU8[$82 + 1168 + $171 >> 0] | 0; - $$20$ph = $$17; - $$20222$ph = $$17219 - $173 | 0; - } - } - if ((label | 0) == 54) { - label = 0; - $179 = _jpeg_huff_decode($2, $$18, $$18220, $82, $$0188) | 0; - if (($179 | 0) < 0) { - $$9 = 0; - label = 67; - break L18; - } - $$11247$ph = $179; - $$20$ph = HEAP32[$55 >> 2] | 0; - $$20222$ph = HEAP32[$56 >> 2] | 0; - } - $183 = $$11247$ph >>> 4; - $184 = $$11247$ph & 15; - if (!$184) if (($183 | 0) == 15) { - $$22 = $$20$ph; - $$22224 = $$20222$ph; - $$pn = 15; - } else { - $$24 = $$20$ph; - $$24226 = $$20222$ph; - break L68; - } else { - if (($$20222$ph | 0) < ($184 | 0)) { - if (!(_jpeg_fill_bit_buffer($2, $$20$ph, $$20222$ph, $184) | 0)) { - $$9 = 0; - label = 67; - break L18; - } - $$21 = HEAP32[$55 >> 2] | 0; - $$21223 = HEAP32[$56 >> 2] | 0; - } else { - $$21 = $$20$ph; - $$21223 = $$20222$ph; - } - $$22 = $$21; - $$22224 = $$21223 - $184 | 0; - $$pn = $183; - } - $$3234285 = $$3234285 + 1 + $$pn | 0; - if (($$3234285 | 0) >= 64) { - $$24 = $$22; - $$24226 = $$22224; - break; - } else { - $$16218286 = $$22224; - $$16287 = $$22; + if (($k$2 | 0) >= ($wk_max$1 | 0)) { + $25 = $22; + break L61; } + if ((HEAP32[$wk$2 >> 2] | 0) == ($21 | 0)) HEAP32[$wk$2 >> 2] = $22; + $k$2 = $k$2 + 1 | 0; + $wk$2 = $wk$2 + 4 | 0; } } while (0); - $$0189296 = $$0189296 + 1 | 0; - if (($$0189296 | 0) >= (HEAP32[$52 >> 2] | 0)) { - label = 64; - break; - } else { - $$0191295 = $$24; - $$0202294 = $$24226; - } - } - if ((label | 0) == 64) { - $$0191$lcssa = $$24; - $$0202$lcssa = $$24226; - $$in = HEAP32[$41 >> 2] | 0; - $198 = HEAP32[$2 >> 2] | 0; - $200 = HEAP32[$46 >> 2] | 0; - break; - } else if ((label | 0) == 67) { - STACKTOP = sp; - return $$9 | 0; - } - } else { - $$0191$lcssa = $48; - $$0202$lcssa = $50; - $$in = $42; - $198 = $43; - $200 = $45; - } while (0); - HEAP32[$$in >> 2] = $198; - HEAP32[$$in + 4 >> 2] = $200; - HEAP32[$47 >> 2] = $$0191$lcssa; - HEAP32[$49 >> 2] = $$0202$lcssa; - HEAP32[$51 >> 2] = HEAP32[$3 >> 2]; - HEAP32[$51 + 4 >> 2] = HEAP32[$3 + 4 >> 2]; - HEAP32[$51 + 8 >> 2] = HEAP32[$3 + 8 >> 2]; - HEAP32[$51 + 12 >> 2] = HEAP32[$3 + 12 >> 2]; - HEAP32[$51 + 16 >> 2] = HEAP32[$3 + 16 >> 2]; - } - $201 = $5 + 44 | 0; - HEAP32[$201 >> 2] = (HEAP32[$201 >> 2] | 0) + -1; - $$9 = 1; - STACKTOP = sp; - return $$9 | 0; -} - -function _free($0) { - $0 = $0 | 0; - var $$0211$i = 0, $$0211$in$i = 0, $$0381438 = 0, $$0382$lcssa = 0, $$0382437 = 0, $$0394 = 0, $$0401 = 0, $$1 = 0, $$1380 = 0, $$1385 = 0, $$1385$be = 0, $$1385$ph = 0, $$1388 = 0, $$1388$be = 0, $$1388$ph = 0, $$1396 = 0, $$1396$be = 0, $$1396$ph = 0, $$1400 = 0, $$1400$be = 0, $$1400$ph = 0, $$2 = 0, $$3 = 0, $$3398 = 0, $$pre$phi444Z2D = 0, $$pre$phi446Z2D = 0, $$pre$phiZ2D = 0, $10 = 0, $105 = 0, $106 = 0, $114 = 0, $115 = 0, $116 = 0, $124 = 0, $13 = 0, $132 = 0, $137 = 0, $138 = 0, $141 = 0, $143 = 0, $145 = 0, $16 = 0, $160 = 0, $165 = 0, $167 = 0, $17 = 0, $170 = 0, $173 = 0, $176 = 0, $179 = 0, $180 = 0, $181 = 0, $183 = 0, $185 = 0, $186 = 0, $188 = 0, $189 = 0, $195 = 0, $196 = 0, $2 = 0, $205 = 0, $21 = 0, $210 = 0, $213 = 0, $214 = 0, $220 = 0, $235 = 0, $238 = 0, $239 = 0, $24 = 0, $240 = 0, $244 = 0, $245 = 0, $251 = 0, $256 = 0, $257 = 0, $26 = 0, $260 = 0, $262 = 0, $265 = 0, $270 = 0, $276 = 0, $28 = 0, $280 = 0, $281 = 0, $288 = 0, $3 = 0, $300 = 0, $305 = 0, $312 = 0, $313 = 0, $314 = 0, $323 = 0, $41 = 0, $46 = 0, $48 = 0, $51 = 0, $53 = 0, $56 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $63 = 0, $65 = 0, $66 = 0, $68 = 0, $69 = 0, $7 = 0, $74 = 0, $75 = 0, $84 = 0, $89 = 0, $9 = 0, $92 = 0, $93 = 0, $99 = 0; - if (!$0) return; - $2 = $0 + -8 | 0; - $3 = HEAP32[16739] | 0; - if ($2 >>> 0 < $3 >>> 0) _abort(); - $6 = HEAP32[$0 + -4 >> 2] | 0; - $7 = $6 & 3; - if (($7 | 0) == 1) _abort(); - $9 = $6 & -8; - $10 = $2 + $9 | 0; - L10 : do if (!($6 & 1)) { - $13 = HEAP32[$2 >> 2] | 0; - if (!$7) return; - $16 = $2 + (0 - $13) | 0; - $17 = $13 + $9 | 0; - if ($16 >>> 0 < $3 >>> 0) _abort(); - if ((HEAP32[16740] | 0) == ($16 | 0)) { - $105 = $10 + 4 | 0; - $106 = HEAP32[$105 >> 2] | 0; - if (($106 & 3 | 0) != 3) { - $$1 = $16; - $$1380 = $17; - $114 = $16; - break; - } - HEAP32[16737] = $17; - HEAP32[$105 >> 2] = $106 & -2; - HEAP32[$16 + 4 >> 2] = $17 | 1; - HEAP32[$16 + $17 >> 2] = $17; - return; - } - $21 = $13 >>> 3; - if ($13 >>> 0 < 256) { - $24 = HEAP32[$16 + 8 >> 2] | 0; - $26 = HEAP32[$16 + 12 >> 2] | 0; - $28 = 66980 + ($21 << 1 << 2) | 0; - if (($24 | 0) != ($28 | 0)) { - if ($3 >>> 0 > $24 >>> 0) _abort(); - if ((HEAP32[$24 + 12 >> 2] | 0) != ($16 | 0)) _abort(); - } - if (($26 | 0) == ($24 | 0)) { - HEAP32[16735] = HEAP32[16735] & ~(1 << $21); - $$1 = $16; - $$1380 = $17; - $114 = $16; - break; - } - if (($26 | 0) != ($28 | 0)) { - if ($3 >>> 0 > $26 >>> 0) _abort(); - $41 = $26 + 8 | 0; - if ((HEAP32[$41 >> 2] | 0) == ($16 | 0)) $$pre$phi446Z2D = $41; else _abort(); - } else $$pre$phi446Z2D = $26 + 8 | 0; - HEAP32[$24 + 12 >> 2] = $26; - HEAP32[$$pre$phi446Z2D >> 2] = $24; - $$1 = $16; - $$1380 = $17; - $114 = $16; - break; - } - $46 = HEAP32[$16 + 24 >> 2] | 0; - $48 = HEAP32[$16 + 12 >> 2] | 0; - do if (($48 | 0) == ($16 | 0)) { - $59 = $16 + 16 | 0; - $60 = $59 + 4 | 0; - $61 = HEAP32[$60 >> 2] | 0; - if (!$61) { - $63 = HEAP32[$59 >> 2] | 0; - if (!$63) { - $$3 = 0; - break; - } else { - $$1385$ph = $63; - $$1388$ph = $59; - } - } else { - $$1385$ph = $61; - $$1388$ph = $60; - } - $$1385 = $$1385$ph; - $$1388 = $$1388$ph; - while (1) { - $65 = $$1385 + 20 | 0; - $66 = HEAP32[$65 >> 2] | 0; - if (!$66) { - $68 = $$1385 + 16 | 0; - $69 = HEAP32[$68 >> 2] | 0; - if (!$69) break; else { - $$1385$be = $69; - $$1388$be = $68; - } - } else { - $$1385$be = $66; - $$1388$be = $65; - } - $$1385 = $$1385$be; - $$1388 = $$1388$be; - } - if ($3 >>> 0 > $$1388 >>> 0) _abort(); else { - HEAP32[$$1388 >> 2] = 0; - $$3 = $$1385; - break; - } - } else { - $51 = HEAP32[$16 + 8 >> 2] | 0; - if ($3 >>> 0 > $51 >>> 0) _abort(); - $53 = $51 + 12 | 0; - if ((HEAP32[$53 >> 2] | 0) != ($16 | 0)) _abort(); - $56 = $48 + 8 | 0; - if ((HEAP32[$56 >> 2] | 0) == ($16 | 0)) { - HEAP32[$53 >> 2] = $48; - HEAP32[$56 >> 2] = $51; - $$3 = $48; - break; - } else _abort(); - } while (0); - if ($46) { - $74 = HEAP32[$16 + 28 >> 2] | 0; - $75 = 67244 + ($74 << 2) | 0; - do if ((HEAP32[$75 >> 2] | 0) == ($16 | 0)) { - HEAP32[$75 >> 2] = $$3; - if (!$$3) { - HEAP32[16736] = HEAP32[16736] & ~(1 << $74); - $$1 = $16; - $$1380 = $17; - $114 = $16; - break L10; - } - } else if ((HEAP32[16739] | 0) >>> 0 <= $46 >>> 0) { - $84 = $46 + 16 | 0; - HEAP32[((HEAP32[$84 >> 2] | 0) == ($16 | 0) ? $84 : $46 + 20 | 0) >> 2] = $$3; - if (!$$3) { - $$1 = $16; - $$1380 = $17; - $114 = $16; - break L10; - } else break; - } else _abort(); while (0); - $89 = HEAP32[16739] | 0; - if ($89 >>> 0 > $$3 >>> 0) _abort(); - HEAP32[$$3 + 24 >> 2] = $46; - $92 = $16 + 16 | 0; - $93 = HEAP32[$92 >> 2] | 0; - do if ($93 | 0) if ($89 >>> 0 > $93 >>> 0) _abort(); else { - HEAP32[$$3 + 16 >> 2] = $93; - HEAP32[$93 + 24 >> 2] = $$3; - break; + $26 = ($25 << 16 >> 16) * 7 | 0; + $arrayidx187 = $labelInfo + 1310736 + ($26 + -7 << 2) | 0; + HEAP32[$arrayidx187 >> 2] = (HEAP32[$arrayidx187 >> 2] | 0) + 1; + $arrayidx190 = $labelInfo + 1310736 + ($26 + -6 << 2) | 0; + HEAP32[$arrayidx190 >> 2] = (HEAP32[$arrayidx190 >> 2] | 0) + $i$2; + $arrayidx193 = $labelInfo + 1310736 + ($26 + -5 << 2) | 0; + HEAP32[$arrayidx193 >> 2] = (HEAP32[$arrayidx193 >> 2] | 0) + $j$0; + $wk_max$2 = $wk_max$1; } while (0); - $99 = HEAP32[$92 + 4 >> 2] | 0; - if ($99) if ((HEAP32[16739] | 0) >>> 0 > $99 >>> 0) _abort(); else { - HEAP32[$$3 + 20 >> 2] = $99; - HEAP32[$99 + 24 >> 2] = $$3; - $$1 = $16; - $$1380 = $17; - $114 = $16; - break; - } else { - $$1 = $16; - $$1380 = $17; - $114 = $16; - } - } else { - $$1 = $16; - $$1380 = $17; - $114 = $16; - } - } else { - $$1 = $2; - $$1380 = $9; - $114 = $2; - } while (0); - if ($114 >>> 0 >= $10 >>> 0) _abort(); - $115 = $10 + 4 | 0; - $116 = HEAP32[$115 >> 2] | 0; - if (!($116 & 1)) _abort(); - if (!($116 & 2)) { - if ((HEAP32[16741] | 0) == ($10 | 0)) { - $124 = (HEAP32[16738] | 0) + $$1380 | 0; - HEAP32[16738] = $124; - HEAP32[16741] = $$1; - HEAP32[$$1 + 4 >> 2] = $124 | 1; - if (($$1 | 0) != (HEAP32[16740] | 0)) return; - HEAP32[16740] = 0; - HEAP32[16737] = 0; - return; - } - if ((HEAP32[16740] | 0) == ($10 | 0)) { - $132 = (HEAP32[16737] | 0) + $$1380 | 0; - HEAP32[16737] = $132; - HEAP32[16740] = $114; - HEAP32[$$1 + 4 >> 2] = $132 | 1; - HEAP32[$114 + $132 >> 2] = $132; - return; + $dpnt$1 = $dpnt$1 + 1 | 0; + $i$2 = $i$2 + 1 | 0; + $pnt$1 = $pnt$1 + 1 | 0; + $pnt2$3 = $pnt2$3 + 2 | 0; + $pnt_thresh$1 = $pnt_thresh$1 + 1 | 0; + $wk_max$1 = $wk_max$2; } - $137 = ($116 & -8) + $$1380 | 0; - $138 = $116 >>> 3; - L111 : do if ($116 >>> 0 >= 256) { - $165 = HEAP32[$10 + 24 >> 2] | 0; - $167 = HEAP32[$10 + 12 >> 2] | 0; - do if (($167 | 0) == ($10 | 0)) { - $179 = $10 + 16 | 0; - $180 = $179 + 4 | 0; - $181 = HEAP32[$180 >> 2] | 0; - if (!$181) { - $183 = HEAP32[$179 >> 2] | 0; - if (!$183) { - $$3398 = 0; - break; - } else { - $$1396$ph = $183; - $$1400$ph = $179; - } - } else { - $$1396$ph = $181; - $$1400$ph = $180; - } - $$1396 = $$1396$ph; - $$1400 = $$1400$ph; - while (1) { - $185 = $$1396 + 20 | 0; - $186 = HEAP32[$185 >> 2] | 0; - if (!$186) { - $188 = $$1396 + 16 | 0; - $189 = HEAP32[$188 >> 2] | 0; - if (!$189) break; else { - $$1396$be = $189; - $$1400$be = $188; - } - } else { - $$1396$be = $186; - $$1400$be = $185; - } - $$1396 = $$1396$be; - $$1400 = $$1400$be; - } - if ((HEAP32[16739] | 0) >>> 0 > $$1400 >>> 0) _abort(); else { - HEAP32[$$1400 >> 2] = 0; - $$3398 = $$1396; - break; - } + $dpnt$0 = $dpnt$1 + 2 | 0; + $j$0 = $j$0 + 1 | 0; + $pnt$0 = $pnt$1 + 2 | 0; + $pnt2$2 = $pnt2$3 + 4 | 0; + $pnt_thresh$0 = $pnt_thresh$1 + 2 | 0; + $wk_max$0 = $wk_max$1; + } + L80 : do if ((label | 0) == 54) { + _arLog(0, 3, 23780, $vararg_buffer); + $retval$0 = -1; + } else if ((label | 0) == 59) { + $arrayidx325 = $labelInfo + 12 | 0; + $i$3 = 1; + $j$1 = 1; + $wk$4 = $arraydecay; + while (1) { + if (($i$3 | 0) > ($wk_max$0 | 0)) break; + $46 = HEAP32[$wk$4 >> 2] | 0; + if (($46 | 0) == ($i$3 | 0)) { + $cond = $j$1; + $j$2 = $j$1 + 1 | 0; } else { - $170 = HEAP32[$10 + 8 >> 2] | 0; - if ((HEAP32[16739] | 0) >>> 0 > $170 >>> 0) _abort(); - $173 = $170 + 12 | 0; - if ((HEAP32[$173 >> 2] | 0) != ($10 | 0)) _abort(); - $176 = $167 + 8 | 0; - if ((HEAP32[$176 >> 2] | 0) == ($10 | 0)) { - HEAP32[$173 >> 2] = $167; - HEAP32[$176 >> 2] = $170; - $$3398 = $167; - break; - } else _abort(); - } while (0); - if ($165 | 0) { - $195 = HEAP32[$10 + 28 >> 2] | 0; - $196 = 67244 + ($195 << 2) | 0; - do if ((HEAP32[$196 >> 2] | 0) == ($10 | 0)) { - HEAP32[$196 >> 2] = $$3398; - if (!$$3398) { - HEAP32[16736] = HEAP32[16736] & ~(1 << $195); - break L111; - } - } else if ((HEAP32[16739] | 0) >>> 0 <= $165 >>> 0) { - $205 = $165 + 16 | 0; - HEAP32[((HEAP32[$205 >> 2] | 0) == ($10 | 0) ? $205 : $165 + 20 | 0) >> 2] = $$3398; - if (!$$3398) break L111; else break; - } else _abort(); while (0); - $210 = HEAP32[16739] | 0; - if ($210 >>> 0 > $$3398 >>> 0) _abort(); - HEAP32[$$3398 + 24 >> 2] = $165; - $213 = $10 + 16 | 0; - $214 = HEAP32[$213 >> 2] | 0; - do if ($214 | 0) if ($210 >>> 0 > $214 >>> 0) _abort(); else { - HEAP32[$$3398 + 16 >> 2] = $214; - HEAP32[$214 + 24 >> 2] = $$3398; - break; - } while (0); - $220 = HEAP32[$213 + 4 >> 2] | 0; - if ($220 | 0) if ((HEAP32[16739] | 0) >>> 0 > $220 >>> 0) _abort(); else { - HEAP32[$$3398 + 20 >> 2] = $220; - HEAP32[$220 + 24 >> 2] = $$3398; - break; - } - } - } else { - $141 = HEAP32[$10 + 8 >> 2] | 0; - $143 = HEAP32[$10 + 12 >> 2] | 0; - $145 = 66980 + ($138 << 1 << 2) | 0; - if (($141 | 0) != ($145 | 0)) { - if ((HEAP32[16739] | 0) >>> 0 > $141 >>> 0) _abort(); - if ((HEAP32[$141 + 12 >> 2] | 0) != ($10 | 0)) _abort(); - } - if (($143 | 0) == ($141 | 0)) { - HEAP32[16735] = HEAP32[16735] & ~(1 << $138); - break; - } - if (($143 | 0) != ($145 | 0)) { - if ((HEAP32[16739] | 0) >>> 0 > $143 >>> 0) _abort(); - $160 = $143 + 8 | 0; - if ((HEAP32[$160 >> 2] | 0) == ($10 | 0)) $$pre$phi444Z2D = $160; else _abort(); - } else $$pre$phi444Z2D = $143 + 8 | 0; - HEAP32[$141 + 12 >> 2] = $143; - HEAP32[$$pre$phi444Z2D >> 2] = $141; - } while (0); - HEAP32[$$1 + 4 >> 2] = $137 | 1; - HEAP32[$114 + $137 >> 2] = $137; - if (($$1 | 0) == (HEAP32[16740] | 0)) { - HEAP32[16737] = $137; - return; - } else $$2 = $137; - } else { - HEAP32[$115 >> 2] = $116 & -2; - HEAP32[$$1 + 4 >> 2] = $$1380 | 1; - HEAP32[$114 + $$1380 >> 2] = $$1380; - $$2 = $$1380; - } - $235 = $$2 >>> 3; - if ($$2 >>> 0 < 256) { - $238 = 66980 + ($235 << 1 << 2) | 0; - $239 = HEAP32[16735] | 0; - $240 = 1 << $235; - if ($239 & $240) { - $244 = $238 + 8 | 0; - $245 = HEAP32[$244 >> 2] | 0; - if ((HEAP32[16739] | 0) >>> 0 > $245 >>> 0) _abort(); else { - $$0401 = $245; - $$pre$phiZ2D = $244; + $cond = HEAP32[$labelInfo + 1179664 + ($46 + -1 << 2) >> 2] | 0; + $j$2 = $j$1; } - } else { - HEAP32[16735] = $239 | $240; - $$0401 = $238; - $$pre$phiZ2D = $238 + 8 | 0; - } - HEAP32[$$pre$phiZ2D >> 2] = $$1; - HEAP32[$$0401 + 12 >> 2] = $$1; - HEAP32[$$1 + 8 >> 2] = $$0401; - HEAP32[$$1 + 12 >> 2] = $238; - return; - } - $251 = $$2 >>> 8; - if ($251) if ($$2 >>> 0 > 16777215) $$0394 = 31; else { - $256 = ($251 + 1048320 | 0) >>> 16 & 8; - $257 = $251 << $256; - $260 = ($257 + 520192 | 0) >>> 16 & 4; - $262 = $257 << $260; - $265 = ($262 + 245760 | 0) >>> 16 & 2; - $270 = 14 - ($260 | $256 | $265) + ($262 << $265 >>> 15) | 0; - $$0394 = $$2 >>> ($270 + 7 | 0) & 1 | $270 << 1; - } else $$0394 = 0; - $276 = 67244 + ($$0394 << 2) | 0; - HEAP32[$$1 + 28 >> 2] = $$0394; - HEAP32[$$1 + 20 >> 2] = 0; - HEAP32[$$1 + 16 >> 2] = 0; - $280 = HEAP32[16736] | 0; - $281 = 1 << $$0394; - L197 : do if ($280 & $281) { - $288 = HEAP32[$276 >> 2] | 0; - L200 : do if ((HEAP32[$288 + 4 >> 2] & -8 | 0) != ($$2 | 0)) { - $$0381438 = $$2 << (($$0394 | 0) == 31 ? 0 : 25 - ($$0394 >>> 1) | 0); - $$0382437 = $288; + HEAP32[$wk$4 >> 2] = $cond; + $i$3 = $i$3 + 1 | 0; + $j$1 = $j$2; + $wk$4 = $wk$4 + 4 | 0; + } + $label_num323 = $labelInfo + 8 | 0; + $sub346 = $j$1 + -1 | 0; + HEAP32[$label_num323 >> 2] = $sub346; + if (!$sub346) $retval$0 = 0; else { + _memset($arrayidx325 | 0, 0, $sub346 << 2 | 0) | 0; + _memset($labelInfo + 655376 | 0, 0, $sub346 << 4 | 0) | 0; + $i$4 = 0; while (1) { - $305 = $$0382437 + 16 + ($$0381438 >>> 31 << 2) | 0; - $300 = HEAP32[$305 >> 2] | 0; - if (!$300) break; - if ((HEAP32[$300 + 4 >> 2] & -8 | 0) == ($$2 | 0)) { - $$0382$lcssa = $300; - break L200; - } else { - $$0381438 = $$0381438 << 1; - $$0382437 = $300; + if (($i$4 | 0) >= ($sub346 | 0)) break; + $mul358 = $i$4 << 2; + HEAP32[$labelInfo + 131084 + ($mul358 << 2) >> 2] = $xsize; + HEAP32[$labelInfo + 131084 + (($mul358 | 1) << 2) >> 2] = 0; + HEAP32[$labelInfo + 131084 + (($mul358 | 2) << 2) >> 2] = $ysize; + HEAP32[$labelInfo + 131084 + (($mul358 | 3) << 2) >> 2] = 0; + $i$4 = $i$4 + 1 | 0; + } + $i$5 = 0; + while (1) { + if (($i$5 | 0) >= ($wk_max$0 | 0)) break; + $sub378 = (HEAP32[$labelInfo + 1179664 + ($i$5 << 2) >> 2] | 0) + -1 | 0; + $mul379 = $i$5 * 7 | 0; + $arrayidx382 = $labelInfo + 12 + ($sub378 << 2) | 0; + HEAP32[$arrayidx382 >> 2] = (HEAP32[$arrayidx382 >> 2] | 0) + (HEAP32[$labelInfo + 1310736 + ($mul379 << 2) >> 2] | 0); + $mul388 = $sub378 << 1; + $arrayidx390 = $labelInfo + 655376 + ($mul388 << 3) | 0; + HEAPF64[$arrayidx390 >> 3] = +HEAPF64[$arrayidx390 >> 3] + +(HEAP32[$labelInfo + 1310736 + ($mul379 + 1 << 2) >> 2] | 0); + $arrayidx398 = $labelInfo + 655376 + (($mul388 | 1) << 3) | 0; + HEAPF64[$arrayidx398 >> 3] = +HEAPF64[$arrayidx398 >> 3] + +(HEAP32[$labelInfo + 1310736 + ($mul379 + 2 << 2) >> 2] | 0); + $mul400 = $sub378 << 2; + $arrayidx402 = $labelInfo + 131084 + ($mul400 << 2) | 0; + $56 = HEAP32[$labelInfo + 1310736 + ($mul379 + 3 << 2) >> 2] | 0; + if ((HEAP32[$arrayidx402 >> 2] | 0) > ($56 | 0)) HEAP32[$arrayidx402 >> 2] = $56; + $arrayidx418 = $labelInfo + 131084 + (($mul400 | 1) << 2) | 0; + $58 = HEAP32[$labelInfo + 1310736 + ($mul379 + 4 << 2) >> 2] | 0; + if ((HEAP32[$arrayidx418 >> 2] | 0) < ($58 | 0)) HEAP32[$arrayidx418 >> 2] = $58; + $arrayidx434 = $labelInfo + 131084 + (($mul400 | 2) << 2) | 0; + $60 = HEAP32[$labelInfo + 1310736 + ($mul379 + 5 << 2) >> 2] | 0; + if ((HEAP32[$arrayidx434 >> 2] | 0) > ($60 | 0)) HEAP32[$arrayidx434 >> 2] = $60; + $arrayidx450 = $labelInfo + 131084 + (($mul400 | 3) << 2) | 0; + $62 = HEAP32[$labelInfo + 1310736 + ($mul379 + 6 << 2) >> 2] | 0; + if ((HEAP32[$arrayidx450 >> 2] | 0) < ($62 | 0)) HEAP32[$arrayidx450 >> 2] = $62; + $i$5 = $i$5 + 1 | 0; + } + $63 = HEAP32[$label_num323 >> 2] | 0; + $i$6 = 0; + while (1) { + if (($i$6 | 0) >= ($63 | 0)) { + $retval$0 = 0; + break L80; } + $conv472 = +(HEAP32[$labelInfo + 12 + ($i$6 << 2) >> 2] | 0); + $mul473 = $i$6 << 1; + $arrayidx475 = $labelInfo + 655376 + ($mul473 << 3) | 0; + HEAPF64[$arrayidx475 >> 3] = +HEAPF64[$arrayidx475 >> 3] / $conv472; + $arrayidx480 = $labelInfo + 655376 + (($mul473 | 1) << 3) | 0; + HEAPF64[$arrayidx480 >> 3] = +HEAPF64[$arrayidx480 >> 3] / $conv472; + $i$6 = $i$6 + 1 | 0; } - if ((HEAP32[16739] | 0) >>> 0 > $305 >>> 0) _abort(); else { - HEAP32[$305 >> 2] = $$1; - HEAP32[$$1 + 24 >> 2] = $$0382437; - HEAP32[$$1 + 12 >> 2] = $$1; - HEAP32[$$1 + 8 >> 2] = $$1; - break L197; - } - } else $$0382$lcssa = $288; while (0); - $312 = $$0382$lcssa + 8 | 0; - $313 = HEAP32[$312 >> 2] | 0; - $314 = HEAP32[16739] | 0; - if ($314 >>> 0 <= $313 >>> 0 & $314 >>> 0 <= $$0382$lcssa >>> 0) { - HEAP32[$313 + 12 >> 2] = $$1; - HEAP32[$312 >> 2] = $$1; - HEAP32[$$1 + 8 >> 2] = $313; - HEAP32[$$1 + 12 >> 2] = $$0382$lcssa; - HEAP32[$$1 + 24 >> 2] = 0; - break; - } else _abort(); - } else { - HEAP32[16736] = $280 | $281; - HEAP32[$276 >> 2] = $$1; - HEAP32[$$1 + 24 >> 2] = $276; - HEAP32[$$1 + 12 >> 2] = $$1; - HEAP32[$$1 + 8 >> 2] = $$1; + } } while (0); - $323 = (HEAP32[16743] | 0) + -1 | 0; - HEAP32[16743] = $323; - if ($323 | 0) return; - $$0211$in$i = 67396; - while (1) { - $$0211$i = HEAP32[$$0211$in$i >> 2] | 0; - if (!$$0211$i) break; else $$0211$in$i = $$0211$i + 8 | 0; - } - HEAP32[16743] = -1; - return; + STACKTOP = sp; + return $retval$0 | 0; } -function _arLabelingSubEWZ($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $$0 = 0, $$0373 = 0, $$0374 = 0, $$0376 = 0, $$0378 = 0, $$0380 = 0, $$0384 = 0, $$0387 = 0, $$0392 = 0, $$0395 = 0, $$0399 = 0, $$1 = 0, $$1375 = 0, $$1377 = 0, $$1379 = 0, $$1381 = 0, $$1385 = 0, $$1388 = 0, $$1393 = 0, $$1396 = 0, $$1400 = 0, $$2 = 0, $$2382 = 0, $$2386 = 0, $$2389 = 0, $$2394 = 0, $$2397 = 0, $$3 = 0, $$3383 = 0, $$3390 = 0, $$3398 = 0, $$4 = 0, $$4391 = 0, $$5 = 0, $$6 = 0, $103 = 0, $106 = 0, $121 = 0, $123 = 0, $125 = 0, $129 = 0, $13 = 0, $133 = 0, $136 = 0, $138 = 0, $142 = 0, $146 = 0, $150 = 0, $155 = 0, $157 = 0, $161 = 0, $165 = 0, $169 = 0, $175 = 0, $178 = 0, $180 = 0, $184 = 0, $188 = 0, $19 = 0, $192 = 0, $195 = 0, $20 = 0, $200 = 0, $224 = 0, $226 = 0, $232 = 0, $235 = 0, $236 = 0, $242 = 0, $254 = 0, $255 = 0, $258 = 0, $265 = 0, $266 = 0, $27 = 0, $274 = 0, $277 = 0, $278 = 0, $282 = 0, $285 = 0, $289 = 0, $292 = 0, $296 = 0, $299 = 0, $303 = 0, $306 = 0, $310 = 0.0, $311 = 0, $312 = 0, $316 = 0, $33 = 0, $34 = 0, $37 = 0, $39 = 0, $43 = 0, $47 = 0, $5 = 0, $53 = 0, $54 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $62 = 0, $65 = 0, $80 = 0, $82 = 0, $84 = 0, $88 = 0, $92 = 0, $98 = 0, $vararg_buffer = 0, label = 0, sp = 0; +function _arLabelingSubEWIC($image, $xsize, $ysize, $labelingThresh, $labelInfo) { + $image = $image | 0; + $xsize = $xsize | 0; + $ysize = $ysize | 0; + $labelingThresh = $labelingThresh | 0; + $labelInfo = $labelInfo | 0; + var $0 = 0, $10 = 0, $11 = 0, $14 = 0, $15 = 0, $19 = 0, $20 = 0, $21 = 0, $24 = 0, $25 = 0, $29 = 0, $3 = 0, $34 = 0, $39 = 0, $4 = 0, $40 = 0, $45 = 0, $55 = 0, $57 = 0, $59 = 0, $61 = 0, $62 = 0, $8 = 0, $9 = 0, $add = 0, $arraydecay = 0, $arrayidx118 = 0, $arrayidx121 = 0, $arrayidx124 = 0, $arrayidx185 = 0, $arrayidx188 = 0, $arrayidx191 = 0, $arrayidx199 = 0, $arrayidx202 = 0, $arrayidx205 = 0, $arrayidx208 = 0, $arrayidx230 = 0, $arrayidx233 = 0, $arrayidx236 = 0, $arrayidx239 = 0, $arrayidx259 = 0, $arrayidx262 = 0, $arrayidx265 = 0, $arrayidx268 = 0, $arrayidx323 = 0, $arrayidx380 = 0, $arrayidx388 = 0, $arrayidx39 = 0, $arrayidx396 = 0, $arrayidx400 = 0, $arrayidx416 = 0, $arrayidx432 = 0, $arrayidx448 = 0, $arrayidx473 = 0, $arrayidx479 = 0, $arrayidx48 = 0, $arrayidx51 = 0, $arrayidx54 = 0, $cmp65 = 0, $cond = 0, $conv470 = 0.0, $conv59 = 0, $conv64 = 0, $div = 0, $div1 = 0, $dpnt$0 = 0, $dpnt$1 = 0, $i$0 = 0, $i$1 = 0, $i$2 = 0, $i$3 = 0, $i$4 = 0, $i$5 = 0, $i$6 = 0, $inc276 = 0, $j$0 = 0, $j$1 = 0, $j$2 = 0, $k$0 = 0, $k$1 = 0, $k$2 = 0, $k$3 = 0, $label_num321 = 0, $mul286 = 0, $mul356 = 0, $mul377 = 0, $mul386 = 0, $mul398 = 0, $mul471 = 0, $pnt$0 = 0, $pnt$1 = 0, $pnt1$0 = 0, $pnt1$1 = 0, $pnt2$0 = 0, $pnt2$1 = 0, $pnt2$2 = 0, $pnt2$3 = 0, $retval$0 = 0, $sub = 0, $sub344 = 0, $sub376 = 0, $sub38 = 0, $sub8 = 0, $vararg_buffer = 0, $wk$0 = 0, $wk$1 = 0, $wk$2 = 0, $wk$3 = 0, $wk$4 = 0, $wk_max$0 = 0, $wk_max$1 = 0, $wk_max$2 = 0, label = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); $vararg_buffer = sp; - $5 = HEAP32[$4 >> 2] | 0; - $6 = $2 + -1 | 0; - $$0376 = $5; - $$0387 = 0; - $$0395 = $5 + ((Math_imul($6, $1) | 0) << 1) | 0; + $div = ($xsize | 0) / 2 | 0; + $div1 = ($ysize | 0) / 2 | 0; + $0 = HEAP32[$labelInfo >> 2] | 0; + $sub = $div1 + -1 | 0; + $i$0 = 0; + $pnt1$0 = $0; + $pnt2$0 = $0 + ((Math_imul($sub, $div) | 0) << 1) | 0; while (1) { - if (($$0387 | 0) >= ($1 | 0)) break; - HEAP16[$$0395 >> 1] = 0; - HEAP16[$$0376 >> 1] = 0; - $$0376 = $$0376 + 2 | 0; - $$0387 = $$0387 + 1 | 0; - $$0395 = $$0395 + 2 | 0; - } - $13 = $1 + -1 | 0; - $$1377 = $5; - $$1388 = 0; - $$1396 = $5 + ($13 << 1) | 0; + if (($i$0 | 0) >= ($div | 0)) break; + HEAP16[$pnt2$0 >> 1] = 0; + HEAP16[$pnt1$0 >> 1] = 0; + $i$0 = $i$0 + 1 | 0; + $pnt1$0 = $pnt1$0 + 2 | 0; + $pnt2$0 = $pnt2$0 + 2 | 0; + } + $sub8 = $div + -1 | 0; + $i$1 = 0; + $pnt1$1 = $0; + $pnt2$1 = $0 + ($sub8 << 1) | 0; while (1) { - if (($$1388 | 0) >= ($2 | 0)) break; - HEAP16[$$1396 >> 1] = 0; - HEAP16[$$1377 >> 1] = 0; - $$1377 = $$1377 + ($1 << 1) | 0; - $$1388 = $$1388 + 1 | 0; - $$1396 = $$1396 + ($1 << 1) | 0; - } - $19 = $4 + 1179664 | 0; - $20 = $1 + 1 | 0; - $27 = 0 - $1 | 0; - $$0373 = $0 + $20 | 0; - $$0374 = $3 + $20 | 0; - $$0384 = 1; - $$0392 = 0; - $$0399 = (HEAP32[$4 + 4 >> 2] | 0) + $20 | 0; - $$2397 = $5 + ($20 << 1) | 0; + if (($i$1 | 0) >= ($div1 | 0)) break; + HEAP16[$pnt2$1 >> 1] = 0; + HEAP16[$pnt1$1 >> 1] = 0; + $i$1 = $i$1 + 1 | 0; + $pnt1$1 = $pnt1$1 + ($div << 1) | 0; + $pnt2$1 = $pnt2$1 + ($div << 1) | 0; + } + $arraydecay = $labelInfo + 1179664 | 0; + $add = $div + 1 | 0; + $sub38 = 0 - $div | 0; + $dpnt$0 = (HEAP32[$labelInfo + 4 >> 2] | 0) + $add | 0; + $j$0 = 1; + $pnt$0 = $image + (($xsize << 1) + 2) | 0; + $pnt2$2 = $0 + ($add << 1) | 0; + $wk_max$0 = 0; L9 : while (1) { - if (($$0384 | 0) >= ($6 | 0)) { + if (($j$0 | 0) >= ($sub | 0)) { label = 59; break; } - $$1 = $$0373; - $$1375 = $$0374; - $$1393 = $$0392; - $$1400 = $$0399; - $$2389 = 1; - $$3398 = $$2397; + $dpnt$1 = $dpnt$0; + $i$2 = 1; + $pnt$1 = $pnt$0; + $pnt2$3 = $pnt2$2; + $wk_max$1 = $wk_max$0; while (1) { - if (($$2389 | 0) >= ($13 | 0)) break; - do if ((HEAPU8[$$1 >> 0] | 0) > (HEAPU8[$$1375 >> 0] | 0)) { - HEAP8[$$1400 >> 0] = -1; - $33 = $$3398 + ($27 << 1) | 0; - $34 = HEAP16[$33 >> 1] | 0; - if ($34 << 16 >> 16 > 0) { - HEAP16[$$3398 >> 1] = $34; - $37 = ($34 << 16 >> 16) * 7 | 0; - $39 = $4 + 1310736 + ($37 + -7 << 2) | 0; - HEAP32[$39 >> 2] = (HEAP32[$39 >> 2] | 0) + 1; - $43 = $4 + 1310736 + ($37 + -6 << 2) | 0; - HEAP32[$43 >> 2] = (HEAP32[$43 >> 2] | 0) + $$2389; - $47 = $4 + 1310736 + ($37 + -5 << 2) | 0; - HEAP32[$47 >> 2] = (HEAP32[$47 >> 2] | 0) + $$0384; - HEAP32[$4 + 1310736 + ($37 + -1 << 2) >> 2] = $$0384; - $$2394 = $$1393; + if (($i$2 | 0) >= ($sub8 | 0)) break; + do if ((HEAPU8[$pnt$1 >> 0] | 0 | 0) > ($labelingThresh | 0)) { + HEAP8[$dpnt$1 >> 0] = -1; + $arrayidx39 = $pnt2$3 + ($sub38 << 1) | 0; + $3 = HEAP16[$arrayidx39 >> 1] | 0; + if ($3 << 16 >> 16 > 0) { + HEAP16[$pnt2$3 >> 1] = $3; + $4 = ($3 << 16 >> 16) * 7 | 0; + $arrayidx48 = $labelInfo + 1310736 + ($4 + -7 << 2) | 0; + HEAP32[$arrayidx48 >> 2] = (HEAP32[$arrayidx48 >> 2] | 0) + 1; + $arrayidx51 = $labelInfo + 1310736 + ($4 + -6 << 2) | 0; + HEAP32[$arrayidx51 >> 2] = (HEAP32[$arrayidx51 >> 2] | 0) + $i$2; + $arrayidx54 = $labelInfo + 1310736 + ($4 + -5 << 2) | 0; + HEAP32[$arrayidx54 >> 2] = (HEAP32[$arrayidx54 >> 2] | 0) + $j$0; + HEAP32[$labelInfo + 1310736 + ($4 + -1 << 2) >> 2] = $j$0; + $wk_max$2 = $wk_max$1; break; } - $53 = HEAP16[$33 + 2 >> 1] | 0; - $54 = $53 << 16 >> 16; - $57 = HEAP16[$33 + -2 >> 1] | 0; - $58 = $57 << 16 >> 16; - $59 = $57 << 16 >> 16 > 0; - if ($53 << 16 >> 16 <= 0) { - if ($59) { - HEAP16[$$3398 >> 1] = $57; - $155 = $58 * 7 | 0; - $157 = $4 + 1310736 + ($155 + -7 << 2) | 0; - HEAP32[$157 >> 2] = (HEAP32[$157 >> 2] | 0) + 1; - $161 = $4 + 1310736 + ($155 + -6 << 2) | 0; - HEAP32[$161 >> 2] = (HEAP32[$161 >> 2] | 0) + $$2389; - $165 = $4 + 1310736 + ($155 + -5 << 2) | 0; - HEAP32[$165 >> 2] = (HEAP32[$165 >> 2] | 0) + $$0384; - $169 = $4 + 1310736 + ($155 + -3 << 2) | 0; - if ((HEAP32[$169 >> 2] | 0) < ($$2389 | 0)) HEAP32[$169 >> 2] = $$2389; - HEAP32[$4 + 1310736 + ($155 + -1 << 2) >> 2] = $$0384; - $$2394 = $$1393; + $8 = HEAP16[$arrayidx39 + 2 >> 1] | 0; + $conv59 = $8 << 16 >> 16; + $9 = HEAP16[$arrayidx39 + -2 >> 1] | 0; + $conv64 = $9 << 16 >> 16; + $cmp65 = $9 << 16 >> 16 > 0; + if ($8 << 16 >> 16 <= 0) { + if ($cmp65) { + HEAP16[$pnt2$3 >> 1] = $9; + $34 = $conv64 * 7 | 0; + $arrayidx230 = $labelInfo + 1310736 + ($34 + -7 << 2) | 0; + HEAP32[$arrayidx230 >> 2] = (HEAP32[$arrayidx230 >> 2] | 0) + 1; + $arrayidx233 = $labelInfo + 1310736 + ($34 + -6 << 2) | 0; + HEAP32[$arrayidx233 >> 2] = (HEAP32[$arrayidx233 >> 2] | 0) + $i$2; + $arrayidx236 = $labelInfo + 1310736 + ($34 + -5 << 2) | 0; + HEAP32[$arrayidx236 >> 2] = (HEAP32[$arrayidx236 >> 2] | 0) + $j$0; + $arrayidx239 = $labelInfo + 1310736 + ($34 + -3 << 2) | 0; + if ((HEAP32[$arrayidx239 >> 2] | 0) < ($i$2 | 0)) HEAP32[$arrayidx239 >> 2] = $i$2; + HEAP32[$labelInfo + 1310736 + ($34 + -1 << 2) >> 2] = $j$0; + $wk_max$2 = $wk_max$1; break; } - $175 = HEAP16[$$3398 + -2 >> 1] | 0; - if ($175 << 16 >> 16 > 0) { - HEAP16[$$3398 >> 1] = $175; - $178 = ($175 << 16 >> 16) * 7 | 0; - $180 = $4 + 1310736 + ($178 + -7 << 2) | 0; - HEAP32[$180 >> 2] = (HEAP32[$180 >> 2] | 0) + 1; - $184 = $4 + 1310736 + ($178 + -6 << 2) | 0; - HEAP32[$184 >> 2] = (HEAP32[$184 >> 2] | 0) + $$2389; - $188 = $4 + 1310736 + ($178 + -5 << 2) | 0; - HEAP32[$188 >> 2] = (HEAP32[$188 >> 2] | 0) + $$0384; - $192 = $4 + 1310736 + ($178 + -3 << 2) | 0; - if ((HEAP32[$192 >> 2] | 0) >= ($$2389 | 0)) { - $$2394 = $$1393; + $39 = HEAP16[$pnt2$3 + -2 >> 1] | 0; + if ($39 << 16 >> 16 > 0) { + HEAP16[$pnt2$3 >> 1] = $39; + $40 = ($39 << 16 >> 16) * 7 | 0; + $arrayidx259 = $labelInfo + 1310736 + ($40 + -7 << 2) | 0; + HEAP32[$arrayidx259 >> 2] = (HEAP32[$arrayidx259 >> 2] | 0) + 1; + $arrayidx262 = $labelInfo + 1310736 + ($40 + -6 << 2) | 0; + HEAP32[$arrayidx262 >> 2] = (HEAP32[$arrayidx262 >> 2] | 0) + $i$2; + $arrayidx265 = $labelInfo + 1310736 + ($40 + -5 << 2) | 0; + HEAP32[$arrayidx265 >> 2] = (HEAP32[$arrayidx265 >> 2] | 0) + $j$0; + $arrayidx268 = $labelInfo + 1310736 + ($40 + -3 << 2) | 0; + if ((HEAP32[$arrayidx268 >> 2] | 0) >= ($i$2 | 0)) { + $wk_max$2 = $wk_max$1; break; } - HEAP32[$192 >> 2] = $$2389; - $$2394 = $$1393; + HEAP32[$arrayidx268 >> 2] = $i$2; + $wk_max$2 = $wk_max$1; break; } else { - $195 = $$1393 + 1 | 0; - if (($$1393 | 0) > 32767) { + $inc276 = $wk_max$1 + 1 | 0; + if (($wk_max$1 | 0) > 32767) { label = 54; break L9; } - HEAP16[$$3398 >> 1] = $195; - HEAP32[$4 + 1179664 + ($$1393 << 2) >> 2] = $195 << 16 >> 16; - $200 = $$1393 * 7 | 0; - HEAP32[$4 + 1310736 + ($200 << 2) >> 2] = 1; - HEAP32[$4 + 1310736 + ($200 + 1 << 2) >> 2] = $$2389; - HEAP32[$4 + 1310736 + ($200 + 2 << 2) >> 2] = $$0384; - HEAP32[$4 + 1310736 + ($200 + 3 << 2) >> 2] = $$2389; - HEAP32[$4 + 1310736 + ($200 + 4 << 2) >> 2] = $$2389; - HEAP32[$4 + 1310736 + ($200 + 5 << 2) >> 2] = $$0384; - HEAP32[$4 + 1310736 + ($200 + 6 << 2) >> 2] = $$0384; - $$2394 = $195; + HEAP16[$pnt2$3 >> 1] = $inc276; + HEAP32[$labelInfo + 1179664 + ($wk_max$1 << 2) >> 2] = $inc276 << 16 >> 16; + $mul286 = $wk_max$1 * 7 | 0; + HEAP32[$labelInfo + 1310736 + ($mul286 << 2) >> 2] = 1; + HEAP32[$labelInfo + 1310736 + ($mul286 + 1 << 2) >> 2] = $i$2; + HEAP32[$labelInfo + 1310736 + ($mul286 + 2 << 2) >> 2] = $j$0; + HEAP32[$labelInfo + 1310736 + ($mul286 + 3 << 2) >> 2] = $i$2; + HEAP32[$labelInfo + 1310736 + ($mul286 + 4 << 2) >> 2] = $i$2; + HEAP32[$labelInfo + 1310736 + ($mul286 + 5 << 2) >> 2] = $j$0; + HEAP32[$labelInfo + 1310736 + ($mul286 + 6 << 2) >> 2] = $j$0; + $wk_max$2 = $inc276; break; } } - if ($59) { - $62 = HEAP32[$4 + 1179664 + ($54 + -1 << 2) >> 2] | 0; - $65 = HEAP32[$4 + 1179664 + ($58 + -1 << 2) >> 2] | 0; - L36 : do if (($62 | 0) <= ($65 | 0)) { - HEAP16[$$3398 >> 1] = $62; - if (($62 | 0) < ($65 | 0)) { - $$1379 = $19; - $$1381 = 0; + if ($cmp65) { + $10 = HEAP32[$labelInfo + 1179664 + ($conv59 + -1 << 2) >> 2] | 0; + $11 = HEAP32[$labelInfo + 1179664 + ($conv64 + -1 << 2) >> 2] | 0; + L36 : do if (($10 | 0) <= ($11 | 0)) { + HEAP16[$pnt2$3 >> 1] = $10; + if (($10 | 0) < ($11 | 0)) { + $k$1 = 0; + $wk$1 = $arraydecay; while (1) { - if (($$1381 | 0) >= ($$1393 | 0)) { - $80 = $62; + if (($k$1 | 0) >= ($wk_max$1 | 0)) { + $14 = $10; break L36; } - if ((HEAP32[$$1379 >> 2] | 0) == ($65 | 0)) HEAP32[$$1379 >> 2] = $62; - $$1379 = $$1379 + 4 | 0; - $$1381 = $$1381 + 1 | 0; + if ((HEAP32[$wk$1 >> 2] | 0) == ($11 | 0)) HEAP32[$wk$1 >> 2] = $10; + $k$1 = $k$1 + 1 | 0; + $wk$1 = $wk$1 + 4 | 0; } - } else $80 = $62; + } else $14 = $10; } else { - HEAP16[$$3398 >> 1] = $65; - $$0378 = $19; - $$0380 = 0; + HEAP16[$pnt2$3 >> 1] = $11; + $k$0 = 0; + $wk$0 = $arraydecay; while (1) { - if (($$0380 | 0) >= ($$1393 | 0)) { - $80 = $65; + if (($k$0 | 0) >= ($wk_max$1 | 0)) { + $14 = $11; break L36; } - if ((HEAP32[$$0378 >> 2] | 0) == ($62 | 0)) HEAP32[$$0378 >> 2] = $65; - $$0378 = $$0378 + 4 | 0; - $$0380 = $$0380 + 1 | 0; + if ((HEAP32[$wk$0 >> 2] | 0) == ($10 | 0)) HEAP32[$wk$0 >> 2] = $11; + $k$0 = $k$0 + 1 | 0; + $wk$0 = $wk$0 + 4 | 0; } } while (0); - $82 = ($80 << 16 >> 16) * 7 | 0; - $84 = $4 + 1310736 + ($82 + -7 << 2) | 0; - HEAP32[$84 >> 2] = (HEAP32[$84 >> 2] | 0) + 1; - $88 = $4 + 1310736 + ($82 + -6 << 2) | 0; - HEAP32[$88 >> 2] = (HEAP32[$88 >> 2] | 0) + $$2389; - $92 = $4 + 1310736 + ($82 + -5 << 2) | 0; - HEAP32[$92 >> 2] = (HEAP32[$92 >> 2] | 0) + $$0384; - HEAP32[$4 + 1310736 + ($82 + -1 << 2) >> 2] = $$0384; - $$2394 = $$1393; + $15 = ($14 << 16 >> 16) * 7 | 0; + $arrayidx118 = $labelInfo + 1310736 + ($15 + -7 << 2) | 0; + HEAP32[$arrayidx118 >> 2] = (HEAP32[$arrayidx118 >> 2] | 0) + 1; + $arrayidx121 = $labelInfo + 1310736 + ($15 + -6 << 2) | 0; + HEAP32[$arrayidx121 >> 2] = (HEAP32[$arrayidx121 >> 2] | 0) + $i$2; + $arrayidx124 = $labelInfo + 1310736 + ($15 + -5 << 2) | 0; + HEAP32[$arrayidx124 >> 2] = (HEAP32[$arrayidx124 >> 2] | 0) + $j$0; + HEAP32[$labelInfo + 1310736 + ($15 + -1 << 2) >> 2] = $j$0; + $wk_max$2 = $wk_max$1; break; } - $98 = HEAP16[$$3398 + -2 >> 1] | 0; - if ($98 << 16 >> 16 <= 0) { - HEAP16[$$3398 >> 1] = $53; - $136 = $54 * 7 | 0; - $138 = $4 + 1310736 + ($136 + -7 << 2) | 0; - HEAP32[$138 >> 2] = (HEAP32[$138 >> 2] | 0) + 1; - $142 = $4 + 1310736 + ($136 + -6 << 2) | 0; - HEAP32[$142 >> 2] = (HEAP32[$142 >> 2] | 0) + $$2389; - $146 = $4 + 1310736 + ($136 + -5 << 2) | 0; - HEAP32[$146 >> 2] = (HEAP32[$146 >> 2] | 0) + $$0384; - $150 = $4 + 1310736 + ($136 + -4 << 2) | 0; - if ((HEAP32[$150 >> 2] | 0) > ($$2389 | 0)) HEAP32[$150 >> 2] = $$2389; - HEAP32[$4 + 1310736 + ($136 + -1 << 2) >> 2] = $$0384; - $$2394 = $$1393; + $19 = HEAP16[$pnt2$3 + -2 >> 1] | 0; + if ($19 << 16 >> 16 <= 0) { + HEAP16[$pnt2$3 >> 1] = $8; + $29 = $conv59 * 7 | 0; + $arrayidx199 = $labelInfo + 1310736 + ($29 + -7 << 2) | 0; + HEAP32[$arrayidx199 >> 2] = (HEAP32[$arrayidx199 >> 2] | 0) + 1; + $arrayidx202 = $labelInfo + 1310736 + ($29 + -6 << 2) | 0; + HEAP32[$arrayidx202 >> 2] = (HEAP32[$arrayidx202 >> 2] | 0) + $i$2; + $arrayidx205 = $labelInfo + 1310736 + ($29 + -5 << 2) | 0; + HEAP32[$arrayidx205 >> 2] = (HEAP32[$arrayidx205 >> 2] | 0) + $j$0; + $arrayidx208 = $labelInfo + 1310736 + ($29 + -4 << 2) | 0; + if ((HEAP32[$arrayidx208 >> 2] | 0) > ($i$2 | 0)) HEAP32[$arrayidx208 >> 2] = $i$2; + HEAP32[$labelInfo + 1310736 + ($29 + -1 << 2) >> 2] = $j$0; + $wk_max$2 = $wk_max$1; break; } - $103 = HEAP32[$4 + 1179664 + ($54 + -1 << 2) >> 2] | 0; - $106 = HEAP32[$4 + 1179664 + (($98 << 16 >> 16) + -1 << 2) >> 2] | 0; - L60 : do if (($103 | 0) <= ($106 | 0)) { - HEAP16[$$3398 >> 1] = $103; - if (($103 | 0) < ($106 | 0)) { - $$3 = $19; - $$3383 = 0; + $20 = HEAP32[$labelInfo + 1179664 + ($conv59 + -1 << 2) >> 2] | 0; + $21 = HEAP32[$labelInfo + 1179664 + (($19 << 16 >> 16) + -1 << 2) >> 2] | 0; + L60 : do if (($20 | 0) <= ($21 | 0)) { + HEAP16[$pnt2$3 >> 1] = $20; + if (($20 | 0) < ($21 | 0)) { + $k$3 = 0; + $wk$3 = $arraydecay; while (1) { - if (($$3383 | 0) >= ($$1393 | 0)) { - $121 = $103; + if (($k$3 | 0) >= ($wk_max$1 | 0)) { + $24 = $20; break L60; } - if ((HEAP32[$$3 >> 2] | 0) == ($106 | 0)) HEAP32[$$3 >> 2] = $103; - $$3 = $$3 + 4 | 0; - $$3383 = $$3383 + 1 | 0; + if ((HEAP32[$wk$3 >> 2] | 0) == ($21 | 0)) HEAP32[$wk$3 >> 2] = $20; + $k$3 = $k$3 + 1 | 0; + $wk$3 = $wk$3 + 4 | 0; } - } else $121 = $103; + } else $24 = $20; } else { - HEAP16[$$3398 >> 1] = $106; - $$2 = $19; - $$2382 = 0; + HEAP16[$pnt2$3 >> 1] = $21; + $k$2 = 0; + $wk$2 = $arraydecay; while (1) { - if (($$2382 | 0) >= ($$1393 | 0)) { - $121 = $106; + if (($k$2 | 0) >= ($wk_max$1 | 0)) { + $24 = $21; break L60; } - if ((HEAP32[$$2 >> 2] | 0) == ($103 | 0)) HEAP32[$$2 >> 2] = $106; - $$2 = $$2 + 4 | 0; - $$2382 = $$2382 + 1 | 0; + if ((HEAP32[$wk$2 >> 2] | 0) == ($20 | 0)) HEAP32[$wk$2 >> 2] = $21; + $k$2 = $k$2 + 1 | 0; + $wk$2 = $wk$2 + 4 | 0; } } while (0); - $123 = ($121 << 16 >> 16) * 7 | 0; - $125 = $4 + 1310736 + ($123 + -7 << 2) | 0; - HEAP32[$125 >> 2] = (HEAP32[$125 >> 2] | 0) + 1; - $129 = $4 + 1310736 + ($123 + -6 << 2) | 0; - HEAP32[$129 >> 2] = (HEAP32[$129 >> 2] | 0) + $$2389; - $133 = $4 + 1310736 + ($123 + -5 << 2) | 0; - HEAP32[$133 >> 2] = (HEAP32[$133 >> 2] | 0) + $$0384; - $$2394 = $$1393; + $25 = ($24 << 16 >> 16) * 7 | 0; + $arrayidx185 = $labelInfo + 1310736 + ($25 + -7 << 2) | 0; + HEAP32[$arrayidx185 >> 2] = (HEAP32[$arrayidx185 >> 2] | 0) + 1; + $arrayidx188 = $labelInfo + 1310736 + ($25 + -6 << 2) | 0; + HEAP32[$arrayidx188 >> 2] = (HEAP32[$arrayidx188 >> 2] | 0) + $i$2; + $arrayidx191 = $labelInfo + 1310736 + ($25 + -5 << 2) | 0; + HEAP32[$arrayidx191 >> 2] = (HEAP32[$arrayidx191 >> 2] | 0) + $j$0; + $wk_max$2 = $wk_max$1; } else { - HEAP16[$$3398 >> 1] = 0; - HEAP8[$$1400 >> 0] = 0; - $$2394 = $$1393; + HEAP16[$pnt2$3 >> 1] = 0; + HEAP8[$dpnt$1 >> 0] = 0; + $wk_max$2 = $wk_max$1; } while (0); - $$1 = $$1 + 1 | 0; - $$1375 = $$1375 + 1 | 0; - $$1393 = $$2394; - $$1400 = $$1400 + 1 | 0; - $$2389 = $$2389 + 1 | 0; - $$3398 = $$3398 + 2 | 0; - } - $$0373 = $$1 + 2 | 0; - $$0374 = $$1375 + 2 | 0; - $$0384 = $$0384 + 1 | 0; - $$0392 = $$1393; - $$0399 = $$1400 + 2 | 0; - $$2397 = $$3398 + 4 | 0; + $dpnt$1 = $dpnt$1 + 1 | 0; + $i$2 = $i$2 + 1 | 0; + $pnt$1 = $pnt$1 + 2 | 0; + $pnt2$3 = $pnt2$3 + 2 | 0; + $wk_max$1 = $wk_max$2; + } + $dpnt$0 = $dpnt$1 + 2 | 0; + $j$0 = $j$0 + 1 | 0; + $pnt$0 = $pnt$1 + $xsize + 4 | 0; + $pnt2$2 = $pnt2$3 + 4 | 0; + $wk_max$0 = $wk_max$1; } L80 : do if ((label | 0) == 54) { _arLog(0, 3, 23780, $vararg_buffer); - $$0 = -1; + $retval$0 = -1; } else if ((label | 0) == 59) { - $224 = $4 + 12 | 0; - $$1385 = 1; - $$3390 = 1; - $$4 = $19; + $arrayidx323 = $labelInfo + 12 | 0; + $i$3 = 1; + $j$1 = 1; + $wk$4 = $arraydecay; while (1) { - if (($$3390 | 0) > ($$0392 | 0)) break; - $226 = HEAP32[$$4 >> 2] | 0; - if (($226 | 0) == ($$3390 | 0)) { - $$2386 = $$1385 + 1 | 0; - $232 = $$1385; + if (($i$3 | 0) > ($wk_max$0 | 0)) break; + $45 = HEAP32[$wk$4 >> 2] | 0; + if (($45 | 0) == ($i$3 | 0)) { + $cond = $j$1; + $j$2 = $j$1 + 1 | 0; } else { - $$2386 = $$1385; - $232 = HEAP32[$4 + 1179664 + ($226 + -1 << 2) >> 2] | 0; - } - HEAP32[$$4 >> 2] = $232; - $$1385 = $$2386; - $$3390 = $$3390 + 1 | 0; - $$4 = $$4 + 4 | 0; - } - $235 = $4 + 8 | 0; - $236 = $$1385 + -1 | 0; - HEAP32[$235 >> 2] = $236; - if (!$236) $$0 = 0; else { - _memset($224 | 0, 0, $236 << 2 | 0) | 0; - _memset($4 + 655376 | 0, 0, $236 << 4 | 0) | 0; - $$4391 = 0; + $cond = HEAP32[$labelInfo + 1179664 + ($45 + -1 << 2) >> 2] | 0; + $j$2 = $j$1; + } + HEAP32[$wk$4 >> 2] = $cond; + $i$3 = $i$3 + 1 | 0; + $j$1 = $j$2; + $wk$4 = $wk$4 + 4 | 0; + } + $label_num321 = $labelInfo + 8 | 0; + $sub344 = $j$1 + -1 | 0; + HEAP32[$label_num321 >> 2] = $sub344; + if (!$sub344) $retval$0 = 0; else { + _memset($arrayidx323 | 0, 0, $sub344 << 2 | 0) | 0; + _memset($labelInfo + 655376 | 0, 0, $sub344 << 4 | 0) | 0; + $i$4 = 0; while (1) { - if (($$4391 | 0) >= ($236 | 0)) break; - $242 = $$4391 << 2; - HEAP32[$4 + 131084 + ($242 << 2) >> 2] = $1; - HEAP32[$4 + 131084 + (($242 | 1) << 2) >> 2] = 0; - HEAP32[$4 + 131084 + (($242 | 2) << 2) >> 2] = $2; - HEAP32[$4 + 131084 + (($242 | 3) << 2) >> 2] = 0; - $$4391 = $$4391 + 1 | 0; - } - $$5 = 0; + if (($i$4 | 0) >= ($sub344 | 0)) break; + $mul356 = $i$4 << 2; + HEAP32[$labelInfo + 131084 + ($mul356 << 2) >> 2] = $div; + HEAP32[$labelInfo + 131084 + (($mul356 | 1) << 2) >> 2] = 0; + HEAP32[$labelInfo + 131084 + (($mul356 | 2) << 2) >> 2] = $div1; + HEAP32[$labelInfo + 131084 + (($mul356 | 3) << 2) >> 2] = 0; + $i$4 = $i$4 + 1 | 0; + } + $i$5 = 0; while (1) { - if (($$5 | 0) >= ($$0392 | 0)) break; - $254 = (HEAP32[$4 + 1179664 + ($$5 << 2) >> 2] | 0) + -1 | 0; - $255 = $$5 * 7 | 0; - $258 = $4 + 12 + ($254 << 2) | 0; - HEAP32[$258 >> 2] = (HEAP32[$258 >> 2] | 0) + (HEAP32[$4 + 1310736 + ($255 << 2) >> 2] | 0); - $265 = $254 << 1; - $266 = $4 + 655376 + ($265 << 3) | 0; - HEAPF64[$266 >> 3] = +HEAPF64[$266 >> 3] + +(HEAP32[$4 + 1310736 + ($255 + 1 << 2) >> 2] | 0); - $274 = $4 + 655376 + (($265 | 1) << 3) | 0; - HEAPF64[$274 >> 3] = +HEAPF64[$274 >> 3] + +(HEAP32[$4 + 1310736 + ($255 + 2 << 2) >> 2] | 0); - $277 = $254 << 2; - $278 = $4 + 131084 + ($277 << 2) | 0; - $282 = HEAP32[$4 + 1310736 + ($255 + 3 << 2) >> 2] | 0; - if ((HEAP32[$278 >> 2] | 0) > ($282 | 0)) HEAP32[$278 >> 2] = $282; - $285 = $4 + 131084 + (($277 | 1) << 2) | 0; - $289 = HEAP32[$4 + 1310736 + ($255 + 4 << 2) >> 2] | 0; - if ((HEAP32[$285 >> 2] | 0) < ($289 | 0)) HEAP32[$285 >> 2] = $289; - $292 = $4 + 131084 + (($277 | 2) << 2) | 0; - $296 = HEAP32[$4 + 1310736 + ($255 + 5 << 2) >> 2] | 0; - if ((HEAP32[$292 >> 2] | 0) > ($296 | 0)) HEAP32[$292 >> 2] = $296; - $299 = $4 + 131084 + (($277 | 3) << 2) | 0; - $303 = HEAP32[$4 + 1310736 + ($255 + 6 << 2) >> 2] | 0; - if ((HEAP32[$299 >> 2] | 0) < ($303 | 0)) HEAP32[$299 >> 2] = $303; - $$5 = $$5 + 1 | 0; - } - $306 = HEAP32[$235 >> 2] | 0; - $$6 = 0; + if (($i$5 | 0) >= ($wk_max$0 | 0)) break; + $sub376 = (HEAP32[$labelInfo + 1179664 + ($i$5 << 2) >> 2] | 0) + -1 | 0; + $mul377 = $i$5 * 7 | 0; + $arrayidx380 = $labelInfo + 12 + ($sub376 << 2) | 0; + HEAP32[$arrayidx380 >> 2] = (HEAP32[$arrayidx380 >> 2] | 0) + (HEAP32[$labelInfo + 1310736 + ($mul377 << 2) >> 2] | 0); + $mul386 = $sub376 << 1; + $arrayidx388 = $labelInfo + 655376 + ($mul386 << 3) | 0; + HEAPF64[$arrayidx388 >> 3] = +HEAPF64[$arrayidx388 >> 3] + +(HEAP32[$labelInfo + 1310736 + ($mul377 + 1 << 2) >> 2] | 0); + $arrayidx396 = $labelInfo + 655376 + (($mul386 | 1) << 3) | 0; + HEAPF64[$arrayidx396 >> 3] = +HEAPF64[$arrayidx396 >> 3] + +(HEAP32[$labelInfo + 1310736 + ($mul377 + 2 << 2) >> 2] | 0); + $mul398 = $sub376 << 2; + $arrayidx400 = $labelInfo + 131084 + ($mul398 << 2) | 0; + $55 = HEAP32[$labelInfo + 1310736 + ($mul377 + 3 << 2) >> 2] | 0; + if ((HEAP32[$arrayidx400 >> 2] | 0) > ($55 | 0)) HEAP32[$arrayidx400 >> 2] = $55; + $arrayidx416 = $labelInfo + 131084 + (($mul398 | 1) << 2) | 0; + $57 = HEAP32[$labelInfo + 1310736 + ($mul377 + 4 << 2) >> 2] | 0; + if ((HEAP32[$arrayidx416 >> 2] | 0) < ($57 | 0)) HEAP32[$arrayidx416 >> 2] = $57; + $arrayidx432 = $labelInfo + 131084 + (($mul398 | 2) << 2) | 0; + $59 = HEAP32[$labelInfo + 1310736 + ($mul377 + 5 << 2) >> 2] | 0; + if ((HEAP32[$arrayidx432 >> 2] | 0) > ($59 | 0)) HEAP32[$arrayidx432 >> 2] = $59; + $arrayidx448 = $labelInfo + 131084 + (($mul398 | 3) << 2) | 0; + $61 = HEAP32[$labelInfo + 1310736 + ($mul377 + 6 << 2) >> 2] | 0; + if ((HEAP32[$arrayidx448 >> 2] | 0) < ($61 | 0)) HEAP32[$arrayidx448 >> 2] = $61; + $i$5 = $i$5 + 1 | 0; + } + $62 = HEAP32[$label_num321 >> 2] | 0; + $i$6 = 0; while (1) { - if (($$6 | 0) >= ($306 | 0)) { - $$0 = 0; + if (($i$6 | 0) >= ($62 | 0)) { + $retval$0 = 0; break L80; } - $310 = +(HEAP32[$4 + 12 + ($$6 << 2) >> 2] | 0); - $311 = $$6 << 1; - $312 = $4 + 655376 + ($311 << 3) | 0; - HEAPF64[$312 >> 3] = +HEAPF64[$312 >> 3] / $310; - $316 = $4 + 655376 + (($311 | 1) << 3) | 0; - HEAPF64[$316 >> 3] = +HEAPF64[$316 >> 3] / $310; - $$6 = $$6 + 1 | 0; + $conv470 = +(HEAP32[$labelInfo + 12 + ($i$6 << 2) >> 2] | 0); + $mul471 = $i$6 << 1; + $arrayidx473 = $labelInfo + 655376 + ($mul471 << 3) | 0; + HEAPF64[$arrayidx473 >> 3] = +HEAPF64[$arrayidx473 >> 3] / $conv470; + $arrayidx479 = $labelInfo + 655376 + (($mul471 | 1) << 3) | 0; + HEAPF64[$arrayidx479 >> 3] = +HEAPF64[$arrayidx479 >> 3] / $conv470; + $i$6 = $i$6 + 1 | 0; } } } while (0); STACKTOP = sp; - return $$0 | 0; + return $retval$0 | 0; } -function _arLabelingSubEBZ($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $$0 = 0, $$0373 = 0, $$0374 = 0, $$0376 = 0, $$0378 = 0, $$0380 = 0, $$0384 = 0, $$0387 = 0, $$0392 = 0, $$0395 = 0, $$0399 = 0, $$1 = 0, $$1375 = 0, $$1377 = 0, $$1379 = 0, $$1381 = 0, $$1385 = 0, $$1388 = 0, $$1393 = 0, $$1396 = 0, $$1400 = 0, $$2 = 0, $$2382 = 0, $$2386 = 0, $$2389 = 0, $$2394 = 0, $$2397 = 0, $$3 = 0, $$3383 = 0, $$3390 = 0, $$3398 = 0, $$4 = 0, $$4391 = 0, $$5 = 0, $$6 = 0, $103 = 0, $106 = 0, $121 = 0, $123 = 0, $125 = 0, $129 = 0, $13 = 0, $133 = 0, $136 = 0, $138 = 0, $142 = 0, $146 = 0, $150 = 0, $155 = 0, $157 = 0, $161 = 0, $165 = 0, $169 = 0, $175 = 0, $178 = 0, $180 = 0, $184 = 0, $188 = 0, $19 = 0, $192 = 0, $195 = 0, $20 = 0, $200 = 0, $224 = 0, $226 = 0, $232 = 0, $235 = 0, $236 = 0, $242 = 0, $254 = 0, $255 = 0, $258 = 0, $265 = 0, $266 = 0, $27 = 0, $274 = 0, $277 = 0, $278 = 0, $282 = 0, $285 = 0, $289 = 0, $292 = 0, $296 = 0, $299 = 0, $303 = 0, $306 = 0, $310 = 0.0, $311 = 0, $312 = 0, $316 = 0, $33 = 0, $34 = 0, $37 = 0, $39 = 0, $43 = 0, $47 = 0, $5 = 0, $53 = 0, $54 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $62 = 0, $65 = 0, $80 = 0, $82 = 0, $84 = 0, $88 = 0, $92 = 0, $98 = 0, $vararg_buffer = 0, label = 0, sp = 0; +function _arLabelingSubEBIC($image, $xsize, $ysize, $labelingThresh, $labelInfo) { + $image = $image | 0; + $xsize = $xsize | 0; + $ysize = $ysize | 0; + $labelingThresh = $labelingThresh | 0; + $labelInfo = $labelInfo | 0; + var $0 = 0, $10 = 0, $11 = 0, $14 = 0, $15 = 0, $19 = 0, $20 = 0, $21 = 0, $24 = 0, $25 = 0, $29 = 0, $3 = 0, $34 = 0, $39 = 0, $4 = 0, $40 = 0, $45 = 0, $55 = 0, $57 = 0, $59 = 0, $61 = 0, $62 = 0, $8 = 0, $9 = 0, $add = 0, $arraydecay = 0, $arrayidx118 = 0, $arrayidx121 = 0, $arrayidx124 = 0, $arrayidx185 = 0, $arrayidx188 = 0, $arrayidx191 = 0, $arrayidx199 = 0, $arrayidx202 = 0, $arrayidx205 = 0, $arrayidx208 = 0, $arrayidx230 = 0, $arrayidx233 = 0, $arrayidx236 = 0, $arrayidx239 = 0, $arrayidx259 = 0, $arrayidx262 = 0, $arrayidx265 = 0, $arrayidx268 = 0, $arrayidx323 = 0, $arrayidx380 = 0, $arrayidx388 = 0, $arrayidx39 = 0, $arrayidx396 = 0, $arrayidx400 = 0, $arrayidx416 = 0, $arrayidx432 = 0, $arrayidx448 = 0, $arrayidx473 = 0, $arrayidx479 = 0, $arrayidx48 = 0, $arrayidx51 = 0, $arrayidx54 = 0, $cmp65 = 0, $cond = 0, $conv470 = 0.0, $conv59 = 0, $conv64 = 0, $div = 0, $div1 = 0, $dpnt$0 = 0, $dpnt$1 = 0, $i$0 = 0, $i$1 = 0, $i$2 = 0, $i$3 = 0, $i$4 = 0, $i$5 = 0, $i$6 = 0, $inc276 = 0, $j$0 = 0, $j$1 = 0, $j$2 = 0, $k$0 = 0, $k$1 = 0, $k$2 = 0, $k$3 = 0, $label_num321 = 0, $mul286 = 0, $mul356 = 0, $mul377 = 0, $mul386 = 0, $mul398 = 0, $mul471 = 0, $pnt$0 = 0, $pnt$1 = 0, $pnt1$0 = 0, $pnt1$1 = 0, $pnt2$0 = 0, $pnt2$1 = 0, $pnt2$2 = 0, $pnt2$3 = 0, $retval$0 = 0, $sub = 0, $sub344 = 0, $sub376 = 0, $sub38 = 0, $sub8 = 0, $vararg_buffer = 0, $wk$0 = 0, $wk$1 = 0, $wk$2 = 0, $wk$3 = 0, $wk$4 = 0, $wk_max$0 = 0, $wk_max$1 = 0, $wk_max$2 = 0, label = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); $vararg_buffer = sp; - $5 = HEAP32[$4 >> 2] | 0; - $6 = $2 + -1 | 0; - $$0376 = $5; - $$0387 = 0; - $$0395 = $5 + ((Math_imul($6, $1) | 0) << 1) | 0; + $div = ($xsize | 0) / 2 | 0; + $div1 = ($ysize | 0) / 2 | 0; + $0 = HEAP32[$labelInfo >> 2] | 0; + $sub = $div1 + -1 | 0; + $i$0 = 0; + $pnt1$0 = $0; + $pnt2$0 = $0 + ((Math_imul($sub, $div) | 0) << 1) | 0; while (1) { - if (($$0387 | 0) >= ($1 | 0)) break; - HEAP16[$$0395 >> 1] = 0; - HEAP16[$$0376 >> 1] = 0; - $$0376 = $$0376 + 2 | 0; - $$0387 = $$0387 + 1 | 0; - $$0395 = $$0395 + 2 | 0; - } - $13 = $1 + -1 | 0; - $$1377 = $5; - $$1388 = 0; - $$1396 = $5 + ($13 << 1) | 0; + if (($i$0 | 0) >= ($div | 0)) break; + HEAP16[$pnt2$0 >> 1] = 0; + HEAP16[$pnt1$0 >> 1] = 0; + $i$0 = $i$0 + 1 | 0; + $pnt1$0 = $pnt1$0 + 2 | 0; + $pnt2$0 = $pnt2$0 + 2 | 0; + } + $sub8 = $div + -1 | 0; + $i$1 = 0; + $pnt1$1 = $0; + $pnt2$1 = $0 + ($sub8 << 1) | 0; while (1) { - if (($$1388 | 0) >= ($2 | 0)) break; - HEAP16[$$1396 >> 1] = 0; - HEAP16[$$1377 >> 1] = 0; - $$1377 = $$1377 + ($1 << 1) | 0; - $$1388 = $$1388 + 1 | 0; - $$1396 = $$1396 + ($1 << 1) | 0; - } - $19 = $4 + 1179664 | 0; - $20 = $1 + 1 | 0; - $27 = 0 - $1 | 0; - $$0373 = $0 + $20 | 0; - $$0374 = $3 + $20 | 0; - $$0384 = 1; - $$0392 = 0; - $$0399 = (HEAP32[$4 + 4 >> 2] | 0) + $20 | 0; - $$2397 = $5 + ($20 << 1) | 0; + if (($i$1 | 0) >= ($div1 | 0)) break; + HEAP16[$pnt2$1 >> 1] = 0; + HEAP16[$pnt1$1 >> 1] = 0; + $i$1 = $i$1 + 1 | 0; + $pnt1$1 = $pnt1$1 + ($div << 1) | 0; + $pnt2$1 = $pnt2$1 + ($div << 1) | 0; + } + $arraydecay = $labelInfo + 1179664 | 0; + $add = $div + 1 | 0; + $sub38 = 0 - $div | 0; + $dpnt$0 = (HEAP32[$labelInfo + 4 >> 2] | 0) + $add | 0; + $j$0 = 1; + $pnt$0 = $image + (($xsize << 1) + 2) | 0; + $pnt2$2 = $0 + ($add << 1) | 0; + $wk_max$0 = 0; L9 : while (1) { - if (($$0384 | 0) >= ($6 | 0)) { + if (($j$0 | 0) >= ($sub | 0)) { label = 59; break; } - $$1 = $$0373; - $$1375 = $$0374; - $$1393 = $$0392; - $$1400 = $$0399; - $$2389 = 1; - $$3398 = $$2397; + $dpnt$1 = $dpnt$0; + $i$2 = 1; + $pnt$1 = $pnt$0; + $pnt2$3 = $pnt2$2; + $wk_max$1 = $wk_max$0; while (1) { - if (($$2389 | 0) >= ($13 | 0)) break; - do if ((HEAPU8[$$1 >> 0] | 0) > (HEAPU8[$$1375 >> 0] | 0)) { - HEAP16[$$3398 >> 1] = 0; - HEAP8[$$1400 >> 0] = 0; - $$2394 = $$1393; + if (($i$2 | 0) >= ($sub8 | 0)) break; + do if ((HEAPU8[$pnt$1 >> 0] | 0 | 0) > ($labelingThresh | 0)) { + HEAP16[$pnt2$3 >> 1] = 0; + HEAP8[$dpnt$1 >> 0] = 0; + $wk_max$2 = $wk_max$1; } else { - HEAP8[$$1400 >> 0] = -1; - $33 = $$3398 + ($27 << 1) | 0; - $34 = HEAP16[$33 >> 1] | 0; - if ($34 << 16 >> 16 > 0) { - HEAP16[$$3398 >> 1] = $34; - $37 = ($34 << 16 >> 16) * 7 | 0; - $39 = $4 + 1310736 + ($37 + -7 << 2) | 0; - HEAP32[$39 >> 2] = (HEAP32[$39 >> 2] | 0) + 1; - $43 = $4 + 1310736 + ($37 + -6 << 2) | 0; - HEAP32[$43 >> 2] = (HEAP32[$43 >> 2] | 0) + $$2389; - $47 = $4 + 1310736 + ($37 + -5 << 2) | 0; - HEAP32[$47 >> 2] = (HEAP32[$47 >> 2] | 0) + $$0384; - HEAP32[$4 + 1310736 + ($37 + -1 << 2) >> 2] = $$0384; - $$2394 = $$1393; + HEAP8[$dpnt$1 >> 0] = -1; + $arrayidx39 = $pnt2$3 + ($sub38 << 1) | 0; + $3 = HEAP16[$arrayidx39 >> 1] | 0; + if ($3 << 16 >> 16 > 0) { + HEAP16[$pnt2$3 >> 1] = $3; + $4 = ($3 << 16 >> 16) * 7 | 0; + $arrayidx48 = $labelInfo + 1310736 + ($4 + -7 << 2) | 0; + HEAP32[$arrayidx48 >> 2] = (HEAP32[$arrayidx48 >> 2] | 0) + 1; + $arrayidx51 = $labelInfo + 1310736 + ($4 + -6 << 2) | 0; + HEAP32[$arrayidx51 >> 2] = (HEAP32[$arrayidx51 >> 2] | 0) + $i$2; + $arrayidx54 = $labelInfo + 1310736 + ($4 + -5 << 2) | 0; + HEAP32[$arrayidx54 >> 2] = (HEAP32[$arrayidx54 >> 2] | 0) + $j$0; + HEAP32[$labelInfo + 1310736 + ($4 + -1 << 2) >> 2] = $j$0; + $wk_max$2 = $wk_max$1; break; } - $53 = HEAP16[$33 + 2 >> 1] | 0; - $54 = $53 << 16 >> 16; - $57 = HEAP16[$33 + -2 >> 1] | 0; - $58 = $57 << 16 >> 16; - $59 = $57 << 16 >> 16 > 0; - if ($53 << 16 >> 16 <= 0) { - if ($59) { - HEAP16[$$3398 >> 1] = $57; - $155 = $58 * 7 | 0; - $157 = $4 + 1310736 + ($155 + -7 << 2) | 0; - HEAP32[$157 >> 2] = (HEAP32[$157 >> 2] | 0) + 1; - $161 = $4 + 1310736 + ($155 + -6 << 2) | 0; - HEAP32[$161 >> 2] = (HEAP32[$161 >> 2] | 0) + $$2389; - $165 = $4 + 1310736 + ($155 + -5 << 2) | 0; - HEAP32[$165 >> 2] = (HEAP32[$165 >> 2] | 0) + $$0384; - $169 = $4 + 1310736 + ($155 + -3 << 2) | 0; - if ((HEAP32[$169 >> 2] | 0) < ($$2389 | 0)) HEAP32[$169 >> 2] = $$2389; - HEAP32[$4 + 1310736 + ($155 + -1 << 2) >> 2] = $$0384; - $$2394 = $$1393; + $8 = HEAP16[$arrayidx39 + 2 >> 1] | 0; + $conv59 = $8 << 16 >> 16; + $9 = HEAP16[$arrayidx39 + -2 >> 1] | 0; + $conv64 = $9 << 16 >> 16; + $cmp65 = $9 << 16 >> 16 > 0; + if ($8 << 16 >> 16 <= 0) { + if ($cmp65) { + HEAP16[$pnt2$3 >> 1] = $9; + $34 = $conv64 * 7 | 0; + $arrayidx230 = $labelInfo + 1310736 + ($34 + -7 << 2) | 0; + HEAP32[$arrayidx230 >> 2] = (HEAP32[$arrayidx230 >> 2] | 0) + 1; + $arrayidx233 = $labelInfo + 1310736 + ($34 + -6 << 2) | 0; + HEAP32[$arrayidx233 >> 2] = (HEAP32[$arrayidx233 >> 2] | 0) + $i$2; + $arrayidx236 = $labelInfo + 1310736 + ($34 + -5 << 2) | 0; + HEAP32[$arrayidx236 >> 2] = (HEAP32[$arrayidx236 >> 2] | 0) + $j$0; + $arrayidx239 = $labelInfo + 1310736 + ($34 + -3 << 2) | 0; + if ((HEAP32[$arrayidx239 >> 2] | 0) < ($i$2 | 0)) HEAP32[$arrayidx239 >> 2] = $i$2; + HEAP32[$labelInfo + 1310736 + ($34 + -1 << 2) >> 2] = $j$0; + $wk_max$2 = $wk_max$1; break; } - $175 = HEAP16[$$3398 + -2 >> 1] | 0; - if ($175 << 16 >> 16 > 0) { - HEAP16[$$3398 >> 1] = $175; - $178 = ($175 << 16 >> 16) * 7 | 0; - $180 = $4 + 1310736 + ($178 + -7 << 2) | 0; - HEAP32[$180 >> 2] = (HEAP32[$180 >> 2] | 0) + 1; - $184 = $4 + 1310736 + ($178 + -6 << 2) | 0; - HEAP32[$184 >> 2] = (HEAP32[$184 >> 2] | 0) + $$2389; - $188 = $4 + 1310736 + ($178 + -5 << 2) | 0; - HEAP32[$188 >> 2] = (HEAP32[$188 >> 2] | 0) + $$0384; - $192 = $4 + 1310736 + ($178 + -3 << 2) | 0; - if ((HEAP32[$192 >> 2] | 0) >= ($$2389 | 0)) { - $$2394 = $$1393; + $39 = HEAP16[$pnt2$3 + -2 >> 1] | 0; + if ($39 << 16 >> 16 > 0) { + HEAP16[$pnt2$3 >> 1] = $39; + $40 = ($39 << 16 >> 16) * 7 | 0; + $arrayidx259 = $labelInfo + 1310736 + ($40 + -7 << 2) | 0; + HEAP32[$arrayidx259 >> 2] = (HEAP32[$arrayidx259 >> 2] | 0) + 1; + $arrayidx262 = $labelInfo + 1310736 + ($40 + -6 << 2) | 0; + HEAP32[$arrayidx262 >> 2] = (HEAP32[$arrayidx262 >> 2] | 0) + $i$2; + $arrayidx265 = $labelInfo + 1310736 + ($40 + -5 << 2) | 0; + HEAP32[$arrayidx265 >> 2] = (HEAP32[$arrayidx265 >> 2] | 0) + $j$0; + $arrayidx268 = $labelInfo + 1310736 + ($40 + -3 << 2) | 0; + if ((HEAP32[$arrayidx268 >> 2] | 0) >= ($i$2 | 0)) { + $wk_max$2 = $wk_max$1; break; } - HEAP32[$192 >> 2] = $$2389; - $$2394 = $$1393; + HEAP32[$arrayidx268 >> 2] = $i$2; + $wk_max$2 = $wk_max$1; break; } else { - $195 = $$1393 + 1 | 0; - if (($$1393 | 0) > 32767) { + $inc276 = $wk_max$1 + 1 | 0; + if (($wk_max$1 | 0) > 32767) { label = 54; break L9; } - HEAP16[$$3398 >> 1] = $195; - HEAP32[$4 + 1179664 + ($$1393 << 2) >> 2] = $195 << 16 >> 16; - $200 = $$1393 * 7 | 0; - HEAP32[$4 + 1310736 + ($200 << 2) >> 2] = 1; - HEAP32[$4 + 1310736 + ($200 + 1 << 2) >> 2] = $$2389; - HEAP32[$4 + 1310736 + ($200 + 2 << 2) >> 2] = $$0384; - HEAP32[$4 + 1310736 + ($200 + 3 << 2) >> 2] = $$2389; - HEAP32[$4 + 1310736 + ($200 + 4 << 2) >> 2] = $$2389; - HEAP32[$4 + 1310736 + ($200 + 5 << 2) >> 2] = $$0384; - HEAP32[$4 + 1310736 + ($200 + 6 << 2) >> 2] = $$0384; - $$2394 = $195; + HEAP16[$pnt2$3 >> 1] = $inc276; + HEAP32[$labelInfo + 1179664 + ($wk_max$1 << 2) >> 2] = $inc276 << 16 >> 16; + $mul286 = $wk_max$1 * 7 | 0; + HEAP32[$labelInfo + 1310736 + ($mul286 << 2) >> 2] = 1; + HEAP32[$labelInfo + 1310736 + ($mul286 + 1 << 2) >> 2] = $i$2; + HEAP32[$labelInfo + 1310736 + ($mul286 + 2 << 2) >> 2] = $j$0; + HEAP32[$labelInfo + 1310736 + ($mul286 + 3 << 2) >> 2] = $i$2; + HEAP32[$labelInfo + 1310736 + ($mul286 + 4 << 2) >> 2] = $i$2; + HEAP32[$labelInfo + 1310736 + ($mul286 + 5 << 2) >> 2] = $j$0; + HEAP32[$labelInfo + 1310736 + ($mul286 + 6 << 2) >> 2] = $j$0; + $wk_max$2 = $inc276; break; } } - if ($59) { - $62 = HEAP32[$4 + 1179664 + ($54 + -1 << 2) >> 2] | 0; - $65 = HEAP32[$4 + 1179664 + ($58 + -1 << 2) >> 2] | 0; - L37 : do if (($62 | 0) <= ($65 | 0)) { - HEAP16[$$3398 >> 1] = $62; - if (($62 | 0) < ($65 | 0)) { - $$1379 = $19; - $$1381 = 0; + if ($cmp65) { + $10 = HEAP32[$labelInfo + 1179664 + ($conv59 + -1 << 2) >> 2] | 0; + $11 = HEAP32[$labelInfo + 1179664 + ($conv64 + -1 << 2) >> 2] | 0; + L37 : do if (($10 | 0) <= ($11 | 0)) { + HEAP16[$pnt2$3 >> 1] = $10; + if (($10 | 0) < ($11 | 0)) { + $k$1 = 0; + $wk$1 = $arraydecay; while (1) { - if (($$1381 | 0) >= ($$1393 | 0)) { - $80 = $62; + if (($k$1 | 0) >= ($wk_max$1 | 0)) { + $14 = $10; break L37; } - if ((HEAP32[$$1379 >> 2] | 0) == ($65 | 0)) HEAP32[$$1379 >> 2] = $62; - $$1379 = $$1379 + 4 | 0; - $$1381 = $$1381 + 1 | 0; + if ((HEAP32[$wk$1 >> 2] | 0) == ($11 | 0)) HEAP32[$wk$1 >> 2] = $10; + $k$1 = $k$1 + 1 | 0; + $wk$1 = $wk$1 + 4 | 0; } - } else $80 = $62; + } else $14 = $10; } else { - HEAP16[$$3398 >> 1] = $65; - $$0378 = $19; - $$0380 = 0; + HEAP16[$pnt2$3 >> 1] = $11; + $k$0 = 0; + $wk$0 = $arraydecay; while (1) { - if (($$0380 | 0) >= ($$1393 | 0)) { - $80 = $65; + if (($k$0 | 0) >= ($wk_max$1 | 0)) { + $14 = $11; break L37; } - if ((HEAP32[$$0378 >> 2] | 0) == ($62 | 0)) HEAP32[$$0378 >> 2] = $65; - $$0378 = $$0378 + 4 | 0; - $$0380 = $$0380 + 1 | 0; + if ((HEAP32[$wk$0 >> 2] | 0) == ($10 | 0)) HEAP32[$wk$0 >> 2] = $11; + $k$0 = $k$0 + 1 | 0; + $wk$0 = $wk$0 + 4 | 0; } } while (0); - $82 = ($80 << 16 >> 16) * 7 | 0; - $84 = $4 + 1310736 + ($82 + -7 << 2) | 0; - HEAP32[$84 >> 2] = (HEAP32[$84 >> 2] | 0) + 1; - $88 = $4 + 1310736 + ($82 + -6 << 2) | 0; - HEAP32[$88 >> 2] = (HEAP32[$88 >> 2] | 0) + $$2389; - $92 = $4 + 1310736 + ($82 + -5 << 2) | 0; - HEAP32[$92 >> 2] = (HEAP32[$92 >> 2] | 0) + $$0384; - HEAP32[$4 + 1310736 + ($82 + -1 << 2) >> 2] = $$0384; - $$2394 = $$1393; + $15 = ($14 << 16 >> 16) * 7 | 0; + $arrayidx118 = $labelInfo + 1310736 + ($15 + -7 << 2) | 0; + HEAP32[$arrayidx118 >> 2] = (HEAP32[$arrayidx118 >> 2] | 0) + 1; + $arrayidx121 = $labelInfo + 1310736 + ($15 + -6 << 2) | 0; + HEAP32[$arrayidx121 >> 2] = (HEAP32[$arrayidx121 >> 2] | 0) + $i$2; + $arrayidx124 = $labelInfo + 1310736 + ($15 + -5 << 2) | 0; + HEAP32[$arrayidx124 >> 2] = (HEAP32[$arrayidx124 >> 2] | 0) + $j$0; + HEAP32[$labelInfo + 1310736 + ($15 + -1 << 2) >> 2] = $j$0; + $wk_max$2 = $wk_max$1; break; } - $98 = HEAP16[$$3398 + -2 >> 1] | 0; - if ($98 << 16 >> 16 <= 0) { - HEAP16[$$3398 >> 1] = $53; - $136 = $54 * 7 | 0; - $138 = $4 + 1310736 + ($136 + -7 << 2) | 0; - HEAP32[$138 >> 2] = (HEAP32[$138 >> 2] | 0) + 1; - $142 = $4 + 1310736 + ($136 + -6 << 2) | 0; - HEAP32[$142 >> 2] = (HEAP32[$142 >> 2] | 0) + $$2389; - $146 = $4 + 1310736 + ($136 + -5 << 2) | 0; - HEAP32[$146 >> 2] = (HEAP32[$146 >> 2] | 0) + $$0384; - $150 = $4 + 1310736 + ($136 + -4 << 2) | 0; - if ((HEAP32[$150 >> 2] | 0) > ($$2389 | 0)) HEAP32[$150 >> 2] = $$2389; - HEAP32[$4 + 1310736 + ($136 + -1 << 2) >> 2] = $$0384; - $$2394 = $$1393; + $19 = HEAP16[$pnt2$3 + -2 >> 1] | 0; + if ($19 << 16 >> 16 <= 0) { + HEAP16[$pnt2$3 >> 1] = $8; + $29 = $conv59 * 7 | 0; + $arrayidx199 = $labelInfo + 1310736 + ($29 + -7 << 2) | 0; + HEAP32[$arrayidx199 >> 2] = (HEAP32[$arrayidx199 >> 2] | 0) + 1; + $arrayidx202 = $labelInfo + 1310736 + ($29 + -6 << 2) | 0; + HEAP32[$arrayidx202 >> 2] = (HEAP32[$arrayidx202 >> 2] | 0) + $i$2; + $arrayidx205 = $labelInfo + 1310736 + ($29 + -5 << 2) | 0; + HEAP32[$arrayidx205 >> 2] = (HEAP32[$arrayidx205 >> 2] | 0) + $j$0; + $arrayidx208 = $labelInfo + 1310736 + ($29 + -4 << 2) | 0; + if ((HEAP32[$arrayidx208 >> 2] | 0) > ($i$2 | 0)) HEAP32[$arrayidx208 >> 2] = $i$2; + HEAP32[$labelInfo + 1310736 + ($29 + -1 << 2) >> 2] = $j$0; + $wk_max$2 = $wk_max$1; break; } - $103 = HEAP32[$4 + 1179664 + ($54 + -1 << 2) >> 2] | 0; - $106 = HEAP32[$4 + 1179664 + (($98 << 16 >> 16) + -1 << 2) >> 2] | 0; - L61 : do if (($103 | 0) <= ($106 | 0)) { - HEAP16[$$3398 >> 1] = $103; - if (($103 | 0) < ($106 | 0)) { - $$3 = $19; - $$3383 = 0; + $20 = HEAP32[$labelInfo + 1179664 + ($conv59 + -1 << 2) >> 2] | 0; + $21 = HEAP32[$labelInfo + 1179664 + (($19 << 16 >> 16) + -1 << 2) >> 2] | 0; + L61 : do if (($20 | 0) <= ($21 | 0)) { + HEAP16[$pnt2$3 >> 1] = $20; + if (($20 | 0) < ($21 | 0)) { + $k$3 = 0; + $wk$3 = $arraydecay; while (1) { - if (($$3383 | 0) >= ($$1393 | 0)) { - $121 = $103; + if (($k$3 | 0) >= ($wk_max$1 | 0)) { + $24 = $20; break L61; } - if ((HEAP32[$$3 >> 2] | 0) == ($106 | 0)) HEAP32[$$3 >> 2] = $103; - $$3 = $$3 + 4 | 0; - $$3383 = $$3383 + 1 | 0; + if ((HEAP32[$wk$3 >> 2] | 0) == ($21 | 0)) HEAP32[$wk$3 >> 2] = $20; + $k$3 = $k$3 + 1 | 0; + $wk$3 = $wk$3 + 4 | 0; } - } else $121 = $103; + } else $24 = $20; } else { - HEAP16[$$3398 >> 1] = $106; - $$2 = $19; - $$2382 = 0; + HEAP16[$pnt2$3 >> 1] = $21; + $k$2 = 0; + $wk$2 = $arraydecay; while (1) { - if (($$2382 | 0) >= ($$1393 | 0)) { - $121 = $106; + if (($k$2 | 0) >= ($wk_max$1 | 0)) { + $24 = $21; break L61; } - if ((HEAP32[$$2 >> 2] | 0) == ($103 | 0)) HEAP32[$$2 >> 2] = $106; - $$2 = $$2 + 4 | 0; - $$2382 = $$2382 + 1 | 0; + if ((HEAP32[$wk$2 >> 2] | 0) == ($20 | 0)) HEAP32[$wk$2 >> 2] = $21; + $k$2 = $k$2 + 1 | 0; + $wk$2 = $wk$2 + 4 | 0; } } while (0); - $123 = ($121 << 16 >> 16) * 7 | 0; - $125 = $4 + 1310736 + ($123 + -7 << 2) | 0; - HEAP32[$125 >> 2] = (HEAP32[$125 >> 2] | 0) + 1; - $129 = $4 + 1310736 + ($123 + -6 << 2) | 0; - HEAP32[$129 >> 2] = (HEAP32[$129 >> 2] | 0) + $$2389; - $133 = $4 + 1310736 + ($123 + -5 << 2) | 0; - HEAP32[$133 >> 2] = (HEAP32[$133 >> 2] | 0) + $$0384; - $$2394 = $$1393; + $25 = ($24 << 16 >> 16) * 7 | 0; + $arrayidx185 = $labelInfo + 1310736 + ($25 + -7 << 2) | 0; + HEAP32[$arrayidx185 >> 2] = (HEAP32[$arrayidx185 >> 2] | 0) + 1; + $arrayidx188 = $labelInfo + 1310736 + ($25 + -6 << 2) | 0; + HEAP32[$arrayidx188 >> 2] = (HEAP32[$arrayidx188 >> 2] | 0) + $i$2; + $arrayidx191 = $labelInfo + 1310736 + ($25 + -5 << 2) | 0; + HEAP32[$arrayidx191 >> 2] = (HEAP32[$arrayidx191 >> 2] | 0) + $j$0; + $wk_max$2 = $wk_max$1; } while (0); - $$1 = $$1 + 1 | 0; - $$1375 = $$1375 + 1 | 0; - $$1393 = $$2394; - $$1400 = $$1400 + 1 | 0; - $$2389 = $$2389 + 1 | 0; - $$3398 = $$3398 + 2 | 0; - } - $$0373 = $$1 + 2 | 0; - $$0374 = $$1375 + 2 | 0; - $$0384 = $$0384 + 1 | 0; - $$0392 = $$1393; - $$0399 = $$1400 + 2 | 0; - $$2397 = $$3398 + 4 | 0; + $dpnt$1 = $dpnt$1 + 1 | 0; + $i$2 = $i$2 + 1 | 0; + $pnt$1 = $pnt$1 + 2 | 0; + $pnt2$3 = $pnt2$3 + 2 | 0; + $wk_max$1 = $wk_max$2; + } + $dpnt$0 = $dpnt$1 + 2 | 0; + $j$0 = $j$0 + 1 | 0; + $pnt$0 = $pnt$1 + $xsize + 4 | 0; + $pnt2$2 = $pnt2$3 + 4 | 0; + $wk_max$0 = $wk_max$1; } L80 : do if ((label | 0) == 54) { _arLog(0, 3, 23780, $vararg_buffer); - $$0 = -1; + $retval$0 = -1; } else if ((label | 0) == 59) { - $224 = $4 + 12 | 0; - $$1385 = 1; - $$3390 = 1; - $$4 = $19; + $arrayidx323 = $labelInfo + 12 | 0; + $i$3 = 1; + $j$1 = 1; + $wk$4 = $arraydecay; while (1) { - if (($$3390 | 0) > ($$0392 | 0)) break; - $226 = HEAP32[$$4 >> 2] | 0; - if (($226 | 0) == ($$3390 | 0)) { - $$2386 = $$1385 + 1 | 0; - $232 = $$1385; + if (($i$3 | 0) > ($wk_max$0 | 0)) break; + $45 = HEAP32[$wk$4 >> 2] | 0; + if (($45 | 0) == ($i$3 | 0)) { + $cond = $j$1; + $j$2 = $j$1 + 1 | 0; } else { - $$2386 = $$1385; - $232 = HEAP32[$4 + 1179664 + ($226 + -1 << 2) >> 2] | 0; - } - HEAP32[$$4 >> 2] = $232; - $$1385 = $$2386; - $$3390 = $$3390 + 1 | 0; - $$4 = $$4 + 4 | 0; - } - $235 = $4 + 8 | 0; - $236 = $$1385 + -1 | 0; - HEAP32[$235 >> 2] = $236; - if (!$236) $$0 = 0; else { - _memset($224 | 0, 0, $236 << 2 | 0) | 0; - _memset($4 + 655376 | 0, 0, $236 << 4 | 0) | 0; - $$4391 = 0; + $cond = HEAP32[$labelInfo + 1179664 + ($45 + -1 << 2) >> 2] | 0; + $j$2 = $j$1; + } + HEAP32[$wk$4 >> 2] = $cond; + $i$3 = $i$3 + 1 | 0; + $j$1 = $j$2; + $wk$4 = $wk$4 + 4 | 0; + } + $label_num321 = $labelInfo + 8 | 0; + $sub344 = $j$1 + -1 | 0; + HEAP32[$label_num321 >> 2] = $sub344; + if (!$sub344) $retval$0 = 0; else { + _memset($arrayidx323 | 0, 0, $sub344 << 2 | 0) | 0; + _memset($labelInfo + 655376 | 0, 0, $sub344 << 4 | 0) | 0; + $i$4 = 0; while (1) { - if (($$4391 | 0) >= ($236 | 0)) break; - $242 = $$4391 << 2; - HEAP32[$4 + 131084 + ($242 << 2) >> 2] = $1; - HEAP32[$4 + 131084 + (($242 | 1) << 2) >> 2] = 0; - HEAP32[$4 + 131084 + (($242 | 2) << 2) >> 2] = $2; - HEAP32[$4 + 131084 + (($242 | 3) << 2) >> 2] = 0; - $$4391 = $$4391 + 1 | 0; - } - $$5 = 0; + if (($i$4 | 0) >= ($sub344 | 0)) break; + $mul356 = $i$4 << 2; + HEAP32[$labelInfo + 131084 + ($mul356 << 2) >> 2] = $div; + HEAP32[$labelInfo + 131084 + (($mul356 | 1) << 2) >> 2] = 0; + HEAP32[$labelInfo + 131084 + (($mul356 | 2) << 2) >> 2] = $div1; + HEAP32[$labelInfo + 131084 + (($mul356 | 3) << 2) >> 2] = 0; + $i$4 = $i$4 + 1 | 0; + } + $i$5 = 0; while (1) { - if (($$5 | 0) >= ($$0392 | 0)) break; - $254 = (HEAP32[$4 + 1179664 + ($$5 << 2) >> 2] | 0) + -1 | 0; - $255 = $$5 * 7 | 0; - $258 = $4 + 12 + ($254 << 2) | 0; - HEAP32[$258 >> 2] = (HEAP32[$258 >> 2] | 0) + (HEAP32[$4 + 1310736 + ($255 << 2) >> 2] | 0); - $265 = $254 << 1; - $266 = $4 + 655376 + ($265 << 3) | 0; - HEAPF64[$266 >> 3] = +HEAPF64[$266 >> 3] + +(HEAP32[$4 + 1310736 + ($255 + 1 << 2) >> 2] | 0); - $274 = $4 + 655376 + (($265 | 1) << 3) | 0; - HEAPF64[$274 >> 3] = +HEAPF64[$274 >> 3] + +(HEAP32[$4 + 1310736 + ($255 + 2 << 2) >> 2] | 0); - $277 = $254 << 2; - $278 = $4 + 131084 + ($277 << 2) | 0; - $282 = HEAP32[$4 + 1310736 + ($255 + 3 << 2) >> 2] | 0; - if ((HEAP32[$278 >> 2] | 0) > ($282 | 0)) HEAP32[$278 >> 2] = $282; - $285 = $4 + 131084 + (($277 | 1) << 2) | 0; - $289 = HEAP32[$4 + 1310736 + ($255 + 4 << 2) >> 2] | 0; - if ((HEAP32[$285 >> 2] | 0) < ($289 | 0)) HEAP32[$285 >> 2] = $289; - $292 = $4 + 131084 + (($277 | 2) << 2) | 0; - $296 = HEAP32[$4 + 1310736 + ($255 + 5 << 2) >> 2] | 0; - if ((HEAP32[$292 >> 2] | 0) > ($296 | 0)) HEAP32[$292 >> 2] = $296; - $299 = $4 + 131084 + (($277 | 3) << 2) | 0; - $303 = HEAP32[$4 + 1310736 + ($255 + 6 << 2) >> 2] | 0; - if ((HEAP32[$299 >> 2] | 0) < ($303 | 0)) HEAP32[$299 >> 2] = $303; - $$5 = $$5 + 1 | 0; - } - $306 = HEAP32[$235 >> 2] | 0; - $$6 = 0; + if (($i$5 | 0) >= ($wk_max$0 | 0)) break; + $sub376 = (HEAP32[$labelInfo + 1179664 + ($i$5 << 2) >> 2] | 0) + -1 | 0; + $mul377 = $i$5 * 7 | 0; + $arrayidx380 = $labelInfo + 12 + ($sub376 << 2) | 0; + HEAP32[$arrayidx380 >> 2] = (HEAP32[$arrayidx380 >> 2] | 0) + (HEAP32[$labelInfo + 1310736 + ($mul377 << 2) >> 2] | 0); + $mul386 = $sub376 << 1; + $arrayidx388 = $labelInfo + 655376 + ($mul386 << 3) | 0; + HEAPF64[$arrayidx388 >> 3] = +HEAPF64[$arrayidx388 >> 3] + +(HEAP32[$labelInfo + 1310736 + ($mul377 + 1 << 2) >> 2] | 0); + $arrayidx396 = $labelInfo + 655376 + (($mul386 | 1) << 3) | 0; + HEAPF64[$arrayidx396 >> 3] = +HEAPF64[$arrayidx396 >> 3] + +(HEAP32[$labelInfo + 1310736 + ($mul377 + 2 << 2) >> 2] | 0); + $mul398 = $sub376 << 2; + $arrayidx400 = $labelInfo + 131084 + ($mul398 << 2) | 0; + $55 = HEAP32[$labelInfo + 1310736 + ($mul377 + 3 << 2) >> 2] | 0; + if ((HEAP32[$arrayidx400 >> 2] | 0) > ($55 | 0)) HEAP32[$arrayidx400 >> 2] = $55; + $arrayidx416 = $labelInfo + 131084 + (($mul398 | 1) << 2) | 0; + $57 = HEAP32[$labelInfo + 1310736 + ($mul377 + 4 << 2) >> 2] | 0; + if ((HEAP32[$arrayidx416 >> 2] | 0) < ($57 | 0)) HEAP32[$arrayidx416 >> 2] = $57; + $arrayidx432 = $labelInfo + 131084 + (($mul398 | 2) << 2) | 0; + $59 = HEAP32[$labelInfo + 1310736 + ($mul377 + 5 << 2) >> 2] | 0; + if ((HEAP32[$arrayidx432 >> 2] | 0) > ($59 | 0)) HEAP32[$arrayidx432 >> 2] = $59; + $arrayidx448 = $labelInfo + 131084 + (($mul398 | 3) << 2) | 0; + $61 = HEAP32[$labelInfo + 1310736 + ($mul377 + 6 << 2) >> 2] | 0; + if ((HEAP32[$arrayidx448 >> 2] | 0) < ($61 | 0)) HEAP32[$arrayidx448 >> 2] = $61; + $i$5 = $i$5 + 1 | 0; + } + $62 = HEAP32[$label_num321 >> 2] | 0; + $i$6 = 0; while (1) { - if (($$6 | 0) >= ($306 | 0)) { - $$0 = 0; + if (($i$6 | 0) >= ($62 | 0)) { + $retval$0 = 0; break L80; } - $310 = +(HEAP32[$4 + 12 + ($$6 << 2) >> 2] | 0); - $311 = $$6 << 1; - $312 = $4 + 655376 + ($311 << 3) | 0; - HEAPF64[$312 >> 3] = +HEAPF64[$312 >> 3] / $310; - $316 = $4 + 655376 + (($311 | 1) << 3) | 0; - HEAPF64[$316 >> 3] = +HEAPF64[$316 >> 3] / $310; - $$6 = $$6 + 1 | 0; + $conv470 = +(HEAP32[$labelInfo + 12 + ($i$6 << 2) >> 2] | 0); + $mul471 = $i$6 << 1; + $arrayidx473 = $labelInfo + 655376 + ($mul471 << 3) | 0; + HEAPF64[$arrayidx473 >> 3] = +HEAPF64[$arrayidx473 >> 3] / $conv470; + $arrayidx479 = $labelInfo + 655376 + (($mul471 | 1) << 3) | 0; + HEAPF64[$arrayidx479 >> 3] = +HEAPF64[$arrayidx479 >> 3] / $conv470; + $i$6 = $i$6 + 1 | 0; } } } while (0); STACKTOP = sp; - return $$0 | 0; + return $retval$0 | 0; } -function _arLabelingSubEWIC($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $$0 = 0, $$0369 = 0, $$0370 = 0, $$0372 = 0, $$0374 = 0, $$0378 = 0, $$0382 = 0, $$0385 = 0, $$0390 = 0, $$0393 = 0, $$1 = 0, $$1371 = 0, $$1373 = 0, $$1375 = 0, $$1379 = 0, $$1383 = 0, $$1386 = 0, $$1391 = 0, $$1394 = 0, $$2 = 0, $$2376 = 0, $$2380 = 0, $$2384 = 0, $$2387 = 0, $$2392 = 0, $$3 = 0, $$3377 = 0, $$3381 = 0, $$3388 = 0, $$4 = 0, $$4389 = 0, $$5 = 0, $$6 = 0, $101 = 0, $106 = 0, $109 = 0, $124 = 0, $126 = 0, $128 = 0, $132 = 0, $136 = 0, $139 = 0, $141 = 0, $145 = 0, $149 = 0, $15 = 0, $153 = 0, $158 = 0, $160 = 0, $164 = 0, $168 = 0, $172 = 0, $178 = 0, $181 = 0, $183 = 0, $187 = 0, $191 = 0, $195 = 0, $198 = 0, $203 = 0, $21 = 0, $22 = 0, $226 = 0, $228 = 0, $234 = 0, $237 = 0, $238 = 0, $244 = 0, $256 = 0, $257 = 0, $260 = 0, $267 = 0, $268 = 0, $276 = 0, $279 = 0, $280 = 0, $284 = 0, $287 = 0, $291 = 0, $294 = 0, $298 = 0, $30 = 0, $301 = 0, $305 = 0, $308 = 0, $312 = 0.0, $313 = 0, $314 = 0, $318 = 0, $36 = 0, $37 = 0, $40 = 0, $42 = 0, $46 = 0, $5 = 0, $50 = 0, $56 = 0, $57 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $65 = 0, $68 = 0, $7 = 0, $8 = 0, $83 = 0, $85 = 0, $87 = 0, $91 = 0, $95 = 0, $vararg_buffer = 0, label = 0, sp = 0; +function _jpeg_idct_5x5($cinfo, $compptr, $coef_block, $output_buf, $output_col) { + $cinfo = $cinfo | 0; + $compptr = $compptr | 0; + $coef_block = $coef_block | 0; + $output_buf = $output_buf | 0; + $output_col = $output_col | 0; + var $0 = 0, $1 = 0, $100 = 0, $101 = 0, $103 = 0, $104 = 0, $118 = 0, $119 = 0, $121 = 0, $122 = 0, $136 = 0, $137 = 0, $139 = 0, $140 = 0, $64 = 0, $65 = 0, $67 = 0, $68 = 0, $82 = 0, $83 = 0, $85 = 0, $86 = 0, $add = 0, $add$1 = 0, $add$2 = 0, $add$3 = 0, $add$4 = 0, $add$ptr = 0, $add$ptr53 = 0, $add$ptr53$1 = 0, $add$ptr53$2 = 0, $add$ptr53$3 = 0, $add$ptr53$4 = 0, $add13 = 0, $add13$1 = 0, $add13$2 = 0, $add13$3 = 0, $add13$4 = 0, $add14 = 0, $add14$1 = 0, $add14$2 = 0, $add14$3 = 0, $add14$4 = 0, $add29 = 0, $add29$1 = 0, $add29$2 = 0, $add29$3 = 0, $add29$4 = 0, $add63 = 0, $add63$1 = 0, $add63$2 = 0, $add63$3 = 0, $add63$4 = 0, $add64 = 0, $add64$1 = 0, $add64$2 = 0, $add64$3 = 0, $add64$4 = 0, $add73 = 0, $add73$1 = 0, $add73$2 = 0, $add73$3 = 0, $add73$4 = 0, $arrayidx39 = 0, $incdec$ptr46 = 0, $mul11 = 0, $mul11$1 = 0, $mul11$2 = 0, $mul11$3 = 0, $mul11$4 = 0, $mul21 = 0, $mul21$1 = 0, $mul21$2 = 0, $mul21$3 = 0, $mul21$4 = 0, $mul25 = 0, $mul25$1 = 0, $mul25$2 = 0, $mul25$3 = 0, $mul25$4 = 0, $mul27 = 0, $mul27$1 = 0, $mul27$2 = 0, $mul27$3 = 0, $mul27$4 = 0, $mul5 = 0, $mul5$1 = 0, $mul5$2 = 0, $mul5$3 = 0, $mul5$4 = 0, $mul60 = 0, $mul60$1 = 0, $mul60$2 = 0, $mul60$3 = 0, $mul60$4 = 0, $mul71 = 0, $mul71$1 = 0, $mul71$2 = 0, $mul71$3 = 0, $mul71$4 = 0, $mul9 = 0, $mul9$1 = 0, $mul9$2 = 0, $mul9$3 = 0, $mul9$4 = 0, $shl56 = 0, $shl56$1 = 0, $shl56$2 = 0, $shl56$3 = 0, $shl56$4 = 0, $sub = 0, $sub$1 = 0, $sub$2 = 0, $sub$3 = 0, $sub$4 = 0, $sub15 = 0, $sub15$1 = 0, $sub15$2 = 0, $sub15$3 = 0, $sub15$4 = 0, $sub17 = 0, $sub17$1 = 0, $sub17$2 = 0, $sub17$3 = 0, $sub17$4 = 0, $sub31 = 0, $sub31$1 = 0, $sub31$2 = 0, $sub31$3 = 0, $sub31$4 = 0, $sub61 = 0, $sub61$1 = 0, $sub61$2 = 0, $sub61$3 = 0, $sub61$4 = 0, $sub65 = 0, $sub65$1 = 0, $sub65$2 = 0, $sub65$3 = 0, $sub65$4 = 0, $sub67 = 0, $sub67$1 = 0, $sub67$2 = 0, $sub67$3 = 0, $sub67$4 = 0, $sub75 = 0, $sub75$1 = 0, $sub75$2 = 0, $sub75$3 = 0, $sub75$4 = 0, $workspace = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 112 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(112); + $workspace = sp; + $0 = HEAP32[$cinfo + 336 >> 2] | 0; + $1 = HEAP32[$compptr + 84 >> 2] | 0; + $add = Math_imul(HEAP16[$coef_block >> 1] << 13, HEAP32[$1 >> 2] | 0) | 0 | 1024; + $mul5 = Math_imul(HEAP32[$1 + 64 >> 2] | 0, HEAP16[$coef_block + 32 >> 1] | 0) | 0; + $mul9 = Math_imul(HEAP32[$1 + 128 >> 2] | 0, HEAP16[$coef_block + 64 >> 1] | 0) | 0; + $mul11 = ($mul9 + $mul5 | 0) * 6476 | 0; + $sub = $mul5 - $mul9 | 0; + $add13 = ($sub * 2896 | 0) + $add | 0; + $add14 = $add13 + $mul11 | 0; + $sub15 = $add13 - $mul11 | 0; + $sub17 = (Math_imul($sub, -11584) | 0) + $add | 0; + $mul21 = Math_imul(HEAP32[$1 + 32 >> 2] | 0, HEAP16[$coef_block + 16 >> 1] | 0) | 0; + $mul25 = Math_imul(HEAP32[$1 + 96 >> 2] | 0, HEAP16[$coef_block + 48 >> 1] | 0) | 0; + $mul27 = ($mul25 + $mul21 | 0) * 6810 | 0; + $add29 = $mul27 + ($mul21 * 4209 | 0) | 0; + $sub31 = $mul27 + (Math_imul($mul25, -17828) | 0) | 0; + HEAP32[$workspace >> 2] = $add29 + $add14 >> 11; + HEAP32[$workspace + 80 >> 2] = $add14 - $add29 >> 11; + $arrayidx39 = $workspace + 20 | 0; + HEAP32[$arrayidx39 >> 2] = $sub31 + $sub15 >> 11; + HEAP32[$workspace + 60 >> 2] = $sub15 - $sub31 >> 11; + HEAP32[$workspace + 40 >> 2] = $sub17 >> 11; + $incdec$ptr46 = $workspace + 4 | 0; + $add$1 = Math_imul(HEAP16[$coef_block + 2 >> 1] << 13, HEAP32[$1 + 4 >> 2] | 0) | 0 | 1024; + $mul5$1 = Math_imul(HEAP32[$1 + 68 >> 2] | 0, HEAP16[$coef_block + 34 >> 1] | 0) | 0; + $mul9$1 = Math_imul(HEAP32[$1 + 132 >> 2] | 0, HEAP16[$coef_block + 66 >> 1] | 0) | 0; + $mul11$1 = ($mul9$1 + $mul5$1 | 0) * 6476 | 0; + $sub$1 = $mul5$1 - $mul9$1 | 0; + $add13$1 = ($sub$1 * 2896 | 0) + $add$1 | 0; + $add14$1 = $add13$1 + $mul11$1 | 0; + $sub15$1 = $add13$1 - $mul11$1 | 0; + $sub17$1 = (Math_imul($sub$1, -11584) | 0) + $add$1 | 0; + $mul21$1 = Math_imul(HEAP32[$1 + 36 >> 2] | 0, HEAP16[$coef_block + 18 >> 1] | 0) | 0; + $mul25$1 = Math_imul(HEAP32[$1 + 100 >> 2] | 0, HEAP16[$coef_block + 50 >> 1] | 0) | 0; + $mul27$1 = ($mul25$1 + $mul21$1 | 0) * 6810 | 0; + $add29$1 = $mul27$1 + ($mul21$1 * 4209 | 0) | 0; + $sub31$1 = $mul27$1 + (Math_imul($mul25$1, -17828) | 0) | 0; + HEAP32[$incdec$ptr46 >> 2] = $add29$1 + $add14$1 >> 11; + HEAP32[$workspace + 84 >> 2] = $add14$1 - $add29$1 >> 11; + HEAP32[$workspace + 24 >> 2] = $sub31$1 + $sub15$1 >> 11; + HEAP32[$workspace + 64 >> 2] = $sub15$1 - $sub31$1 >> 11; + HEAP32[$workspace + 44 >> 2] = $sub17$1 >> 11; + $add$2 = Math_imul(HEAP16[$coef_block + 4 >> 1] << 13, HEAP32[$1 + 8 >> 2] | 0) | 0 | 1024; + $mul5$2 = Math_imul(HEAP32[$1 + 72 >> 2] | 0, HEAP16[$coef_block + 36 >> 1] | 0) | 0; + $mul9$2 = Math_imul(HEAP32[$1 + 136 >> 2] | 0, HEAP16[$coef_block + 68 >> 1] | 0) | 0; + $mul11$2 = ($mul9$2 + $mul5$2 | 0) * 6476 | 0; + $sub$2 = $mul5$2 - $mul9$2 | 0; + $add13$2 = ($sub$2 * 2896 | 0) + $add$2 | 0; + $add14$2 = $add13$2 + $mul11$2 | 0; + $sub15$2 = $add13$2 - $mul11$2 | 0; + $sub17$2 = (Math_imul($sub$2, -11584) | 0) + $add$2 | 0; + $mul21$2 = Math_imul(HEAP32[$1 + 40 >> 2] | 0, HEAP16[$coef_block + 20 >> 1] | 0) | 0; + $mul25$2 = Math_imul(HEAP32[$1 + 104 >> 2] | 0, HEAP16[$coef_block + 52 >> 1] | 0) | 0; + $mul27$2 = ($mul25$2 + $mul21$2 | 0) * 6810 | 0; + $add29$2 = $mul27$2 + ($mul21$2 * 4209 | 0) | 0; + $sub31$2 = $mul27$2 + (Math_imul($mul25$2, -17828) | 0) | 0; + HEAP32[$workspace + 8 >> 2] = $add29$2 + $add14$2 >> 11; + HEAP32[$workspace + 88 >> 2] = $add14$2 - $add29$2 >> 11; + HEAP32[$workspace + 28 >> 2] = $sub31$2 + $sub15$2 >> 11; + HEAP32[$workspace + 68 >> 2] = $sub15$2 - $sub31$2 >> 11; + HEAP32[$workspace + 48 >> 2] = $sub17$2 >> 11; + $add$3 = Math_imul(HEAP16[$coef_block + 6 >> 1] << 13, HEAP32[$1 + 12 >> 2] | 0) | 0 | 1024; + $mul5$3 = Math_imul(HEAP32[$1 + 76 >> 2] | 0, HEAP16[$coef_block + 38 >> 1] | 0) | 0; + $mul9$3 = Math_imul(HEAP32[$1 + 140 >> 2] | 0, HEAP16[$coef_block + 70 >> 1] | 0) | 0; + $mul11$3 = ($mul9$3 + $mul5$3 | 0) * 6476 | 0; + $sub$3 = $mul5$3 - $mul9$3 | 0; + $add13$3 = ($sub$3 * 2896 | 0) + $add$3 | 0; + $add14$3 = $add13$3 + $mul11$3 | 0; + $sub15$3 = $add13$3 - $mul11$3 | 0; + $sub17$3 = (Math_imul($sub$3, -11584) | 0) + $add$3 | 0; + $mul21$3 = Math_imul(HEAP32[$1 + 44 >> 2] | 0, HEAP16[$coef_block + 22 >> 1] | 0) | 0; + $mul25$3 = Math_imul(HEAP32[$1 + 108 >> 2] | 0, HEAP16[$coef_block + 54 >> 1] | 0) | 0; + $mul27$3 = ($mul25$3 + $mul21$3 | 0) * 6810 | 0; + $add29$3 = $mul27$3 + ($mul21$3 * 4209 | 0) | 0; + $sub31$3 = $mul27$3 + (Math_imul($mul25$3, -17828) | 0) | 0; + HEAP32[$workspace + 12 >> 2] = $add29$3 + $add14$3 >> 11; + HEAP32[$workspace + 92 >> 2] = $add14$3 - $add29$3 >> 11; + HEAP32[$workspace + 32 >> 2] = $sub31$3 + $sub15$3 >> 11; + HEAP32[$workspace + 72 >> 2] = $sub15$3 - $sub31$3 >> 11; + HEAP32[$workspace + 52 >> 2] = $sub17$3 >> 11; + $add$4 = Math_imul(HEAP16[$coef_block + 8 >> 1] << 13, HEAP32[$1 + 16 >> 2] | 0) | 0 | 1024; + $mul5$4 = Math_imul(HEAP32[$1 + 80 >> 2] | 0, HEAP16[$coef_block + 40 >> 1] | 0) | 0; + $mul9$4 = Math_imul(HEAP32[$1 + 144 >> 2] | 0, HEAP16[$coef_block + 72 >> 1] | 0) | 0; + $mul11$4 = ($mul9$4 + $mul5$4 | 0) * 6476 | 0; + $sub$4 = $mul5$4 - $mul9$4 | 0; + $add13$4 = ($sub$4 * 2896 | 0) + $add$4 | 0; + $add14$4 = $add13$4 + $mul11$4 | 0; + $sub15$4 = $add13$4 - $mul11$4 | 0; + $sub17$4 = (Math_imul($sub$4, -11584) | 0) + $add$4 | 0; + $mul21$4 = Math_imul(HEAP32[$1 + 48 >> 2] | 0, HEAP16[$coef_block + 24 >> 1] | 0) | 0; + $mul25$4 = Math_imul(HEAP32[$1 + 112 >> 2] | 0, HEAP16[$coef_block + 56 >> 1] | 0) | 0; + $mul27$4 = ($mul25$4 + $mul21$4 | 0) * 6810 | 0; + $add29$4 = $mul27$4 + ($mul21$4 * 4209 | 0) | 0; + $sub31$4 = $mul27$4 + (Math_imul($mul25$4, -17828) | 0) | 0; + HEAP32[$workspace + 16 >> 2] = $add29$4 + $add14$4 >> 11; + HEAP32[$workspace + 96 >> 2] = $add14$4 - $add29$4 >> 11; + HEAP32[$workspace + 36 >> 2] = $sub31$4 + $sub15$4 >> 11; + HEAP32[$workspace + 76 >> 2] = $sub15$4 - $sub31$4 >> 11; + HEAP32[$workspace + 56 >> 2] = $sub17$4 >> 11; + $add$ptr = $0 + -384 | 0; + $add$ptr53 = (HEAP32[$output_buf >> 2] | 0) + $output_col | 0; + $shl56 = (HEAP32[$workspace >> 2] << 13) + 134348800 | 0; + $64 = HEAP32[$workspace + 8 >> 2] | 0; + $65 = HEAP32[$workspace + 16 >> 2] | 0; + $mul60 = ($65 + $64 | 0) * 6476 | 0; + $sub61 = $64 - $65 | 0; + $add63 = ($sub61 * 2896 | 0) + $shl56 | 0; + $add64 = $add63 + $mul60 | 0; + $sub65 = $add63 - $mul60 | 0; + $sub67 = (Math_imul($sub61, -11584) | 0) + $shl56 | 0; + $67 = HEAP32[$incdec$ptr46 >> 2] | 0; + $68 = HEAP32[$workspace + 12 >> 2] | 0; + $mul71 = ($68 + $67 | 0) * 6810 | 0; + $add73 = $mul71 + ($67 * 4209 | 0) | 0; + $sub75 = $mul71 + (Math_imul($68, -17828) | 0) | 0; + HEAP8[$add$ptr53 >> 0] = HEAP8[$add$ptr + (($add73 + $add64 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr53 + 4 >> 0] = HEAP8[$add$ptr + (($add64 - $add73 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr53 + 1 >> 0] = HEAP8[$add$ptr + (($sub75 + $sub65 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr53 + 3 >> 0] = HEAP8[$add$ptr + (($sub65 - $sub75 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr53 + 2 >> 0] = HEAP8[$add$ptr + ($sub67 >>> 18 & 1023) >> 0] | 0; + $add$ptr53$1 = (HEAP32[$output_buf + 4 >> 2] | 0) + $output_col | 0; + $shl56$1 = (HEAP32[$arrayidx39 >> 2] << 13) + 134348800 | 0; + $82 = HEAP32[$workspace + 28 >> 2] | 0; + $83 = HEAP32[$workspace + 36 >> 2] | 0; + $mul60$1 = ($83 + $82 | 0) * 6476 | 0; + $sub61$1 = $82 - $83 | 0; + $add63$1 = ($sub61$1 * 2896 | 0) + $shl56$1 | 0; + $add64$1 = $add63$1 + $mul60$1 | 0; + $sub65$1 = $add63$1 - $mul60$1 | 0; + $sub67$1 = (Math_imul($sub61$1, -11584) | 0) + $shl56$1 | 0; + $85 = HEAP32[$workspace + 24 >> 2] | 0; + $86 = HEAP32[$workspace + 32 >> 2] | 0; + $mul71$1 = ($86 + $85 | 0) * 6810 | 0; + $add73$1 = $mul71$1 + ($85 * 4209 | 0) | 0; + $sub75$1 = $mul71$1 + (Math_imul($86, -17828) | 0) | 0; + HEAP8[$add$ptr53$1 >> 0] = HEAP8[$add$ptr + (($add73$1 + $add64$1 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr53$1 + 4 >> 0] = HEAP8[$add$ptr + (($add64$1 - $add73$1 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr53$1 + 1 >> 0] = HEAP8[$add$ptr + (($sub75$1 + $sub65$1 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr53$1 + 3 >> 0] = HEAP8[$add$ptr + (($sub65$1 - $sub75$1 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr53$1 + 2 >> 0] = HEAP8[$add$ptr + ($sub67$1 >>> 18 & 1023) >> 0] | 0; + $add$ptr53$2 = (HEAP32[$output_buf + 8 >> 2] | 0) + $output_col | 0; + $shl56$2 = (HEAP32[$workspace + 40 >> 2] << 13) + 134348800 | 0; + $100 = HEAP32[$workspace + 48 >> 2] | 0; + $101 = HEAP32[$workspace + 56 >> 2] | 0; + $mul60$2 = ($101 + $100 | 0) * 6476 | 0; + $sub61$2 = $100 - $101 | 0; + $add63$2 = ($sub61$2 * 2896 | 0) + $shl56$2 | 0; + $add64$2 = $add63$2 + $mul60$2 | 0; + $sub65$2 = $add63$2 - $mul60$2 | 0; + $sub67$2 = (Math_imul($sub61$2, -11584) | 0) + $shl56$2 | 0; + $103 = HEAP32[$workspace + 44 >> 2] | 0; + $104 = HEAP32[$workspace + 52 >> 2] | 0; + $mul71$2 = ($104 + $103 | 0) * 6810 | 0; + $add73$2 = $mul71$2 + ($103 * 4209 | 0) | 0; + $sub75$2 = $mul71$2 + (Math_imul($104, -17828) | 0) | 0; + HEAP8[$add$ptr53$2 >> 0] = HEAP8[$add$ptr + (($add73$2 + $add64$2 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr53$2 + 4 >> 0] = HEAP8[$add$ptr + (($add64$2 - $add73$2 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr53$2 + 1 >> 0] = HEAP8[$add$ptr + (($sub75$2 + $sub65$2 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr53$2 + 3 >> 0] = HEAP8[$add$ptr + (($sub65$2 - $sub75$2 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr53$2 + 2 >> 0] = HEAP8[$add$ptr + ($sub67$2 >>> 18 & 1023) >> 0] | 0; + $add$ptr53$3 = (HEAP32[$output_buf + 12 >> 2] | 0) + $output_col | 0; + $shl56$3 = (HEAP32[$workspace + 60 >> 2] << 13) + 134348800 | 0; + $118 = HEAP32[$workspace + 68 >> 2] | 0; + $119 = HEAP32[$workspace + 76 >> 2] | 0; + $mul60$3 = ($119 + $118 | 0) * 6476 | 0; + $sub61$3 = $118 - $119 | 0; + $add63$3 = ($sub61$3 * 2896 | 0) + $shl56$3 | 0; + $add64$3 = $add63$3 + $mul60$3 | 0; + $sub65$3 = $add63$3 - $mul60$3 | 0; + $sub67$3 = (Math_imul($sub61$3, -11584) | 0) + $shl56$3 | 0; + $121 = HEAP32[$workspace + 64 >> 2] | 0; + $122 = HEAP32[$workspace + 72 >> 2] | 0; + $mul71$3 = ($122 + $121 | 0) * 6810 | 0; + $add73$3 = $mul71$3 + ($121 * 4209 | 0) | 0; + $sub75$3 = $mul71$3 + (Math_imul($122, -17828) | 0) | 0; + HEAP8[$add$ptr53$3 >> 0] = HEAP8[$add$ptr + (($add73$3 + $add64$3 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr53$3 + 4 >> 0] = HEAP8[$add$ptr + (($add64$3 - $add73$3 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr53$3 + 1 >> 0] = HEAP8[$add$ptr + (($sub75$3 + $sub65$3 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr53$3 + 3 >> 0] = HEAP8[$add$ptr + (($sub65$3 - $sub75$3 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr53$3 + 2 >> 0] = HEAP8[$add$ptr + ($sub67$3 >>> 18 & 1023) >> 0] | 0; + $add$ptr53$4 = (HEAP32[$output_buf + 16 >> 2] | 0) + $output_col | 0; + $shl56$4 = (HEAP32[$workspace + 80 >> 2] << 13) + 134348800 | 0; + $136 = HEAP32[$workspace + 88 >> 2] | 0; + $137 = HEAP32[$workspace + 96 >> 2] | 0; + $mul60$4 = ($137 + $136 | 0) * 6476 | 0; + $sub61$4 = $136 - $137 | 0; + $add63$4 = ($sub61$4 * 2896 | 0) + $shl56$4 | 0; + $add64$4 = $add63$4 + $mul60$4 | 0; + $sub65$4 = $add63$4 - $mul60$4 | 0; + $sub67$4 = (Math_imul($sub61$4, -11584) | 0) + $shl56$4 | 0; + $139 = HEAP32[$workspace + 84 >> 2] | 0; + $140 = HEAP32[$workspace + 92 >> 2] | 0; + $mul71$4 = ($140 + $139 | 0) * 6810 | 0; + $add73$4 = $mul71$4 + ($139 * 4209 | 0) | 0; + $sub75$4 = $mul71$4 + (Math_imul($140, -17828) | 0) | 0; + HEAP8[$add$ptr53$4 >> 0] = HEAP8[$add$ptr + (($add73$4 + $add64$4 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr53$4 + 4 >> 0] = HEAP8[$add$ptr + (($add64$4 - $add73$4 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr53$4 + 1 >> 0] = HEAP8[$add$ptr + (($sub75$4 + $sub65$4 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr53$4 + 3 >> 0] = HEAP8[$add$ptr + (($sub65$4 - $sub75$4 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr53$4 + 2 >> 0] = HEAP8[$add$ptr + ($sub67$4 >>> 18 & 1023) >> 0] | 0; + STACKTOP = sp; + return; +} + +function _arLabelingSubEWRC($image, $xsize, $ysize, $labelingThresh, $labelInfo) { + $image = $image | 0; + $xsize = $xsize | 0; + $ysize = $ysize | 0; + $labelingThresh = $labelingThresh | 0; + $labelInfo = $labelInfo | 0; + var $0 = 0, $10 = 0, $11 = 0, $14 = 0, $15 = 0, $19 = 0, $20 = 0, $21 = 0, $24 = 0, $25 = 0, $29 = 0, $3 = 0, $34 = 0, $39 = 0, $4 = 0, $40 = 0, $45 = 0, $55 = 0, $57 = 0, $59 = 0, $61 = 0, $62 = 0, $8 = 0, $9 = 0, $add = 0, $arraydecay = 0, $arrayidx116 = 0, $arrayidx119 = 0, $arrayidx122 = 0, $arrayidx183 = 0, $arrayidx186 = 0, $arrayidx189 = 0, $arrayidx197 = 0, $arrayidx200 = 0, $arrayidx203 = 0, $arrayidx206 = 0, $arrayidx228 = 0, $arrayidx231 = 0, $arrayidx234 = 0, $arrayidx237 = 0, $arrayidx257 = 0, $arrayidx260 = 0, $arrayidx263 = 0, $arrayidx266 = 0, $arrayidx319 = 0, $arrayidx37 = 0, $arrayidx376 = 0, $arrayidx384 = 0, $arrayidx392 = 0, $arrayidx396 = 0, $arrayidx412 = 0, $arrayidx428 = 0, $arrayidx444 = 0, $arrayidx46 = 0, $arrayidx469 = 0, $arrayidx474 = 0, $arrayidx49 = 0, $arrayidx52 = 0, $cmp63 = 0, $cond = 0, $conv466 = 0.0, $conv57 = 0, $conv62 = 0, $dpnt$0 = 0, $dpnt$1 = 0, $i$0 = 0, $i$1 = 0, $i$2 = 0, $i$3 = 0, $i$4 = 0, $i$5 = 0, $i$6 = 0, $inc274 = 0, $j$0 = 0, $j$1 = 0, $j$2 = 0, $k$0 = 0, $k$1 = 0, $k$2 = 0, $k$3 = 0, $label_num317 = 0, $mul284 = 0, $mul352 = 0, $mul373 = 0, $mul382 = 0, $mul394 = 0, $mul467 = 0, $pnt$0 = 0, $pnt$1 = 0, $pnt1$0 = 0, $pnt1$1 = 0, $pnt2$0 = 0, $pnt2$1 = 0, $pnt2$2 = 0, $pnt2$3 = 0, $retval$0 = 0, $sub = 0, $sub340 = 0, $sub36 = 0, $sub372 = 0, $sub7 = 0, $vararg_buffer = 0, $wk$0 = 0, $wk$1 = 0, $wk$2 = 0, $wk$3 = 0, $wk$4 = 0, $wk_max$0 = 0, $wk_max$1 = 0, $wk_max$2 = 0, label = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); $vararg_buffer = sp; - $5 = ($1 | 0) / 2 | 0; - $6 = ($2 | 0) / 2 | 0; - $7 = HEAP32[$4 >> 2] | 0; - $8 = $6 + -1 | 0; - $$0370 = $7; - $$0372 = $7 + ((Math_imul($8, $5) | 0) << 1) | 0; - $$0385 = 0; + $0 = HEAP32[$labelInfo >> 2] | 0; + $sub = $ysize + -1 | 0; + $i$0 = 0; + $pnt1$0 = $0; + $pnt2$0 = $0 + ((Math_imul($sub, $xsize) | 0) << 1) | 0; while (1) { - if (($$0385 | 0) >= ($5 | 0)) break; - HEAP16[$$0372 >> 1] = 0; - HEAP16[$$0370 >> 1] = 0; - $$0370 = $$0370 + 2 | 0; - $$0372 = $$0372 + 2 | 0; - $$0385 = $$0385 + 1 | 0; - } - $15 = $5 + -1 | 0; - $$1371 = $7; - $$1373 = $7 + ($15 << 1) | 0; - $$1386 = 0; + if (($i$0 | 0) >= ($xsize | 0)) break; + HEAP16[$pnt2$0 >> 1] = 0; + HEAP16[$pnt1$0 >> 1] = 0; + $i$0 = $i$0 + 1 | 0; + $pnt1$0 = $pnt1$0 + 2 | 0; + $pnt2$0 = $pnt2$0 + 2 | 0; + } + $sub7 = $xsize + -1 | 0; + $i$1 = 0; + $pnt1$1 = $0; + $pnt2$1 = $0 + ($sub7 << 1) | 0; while (1) { - if (($$1386 | 0) >= ($6 | 0)) break; - HEAP16[$$1373 >> 1] = 0; - HEAP16[$$1371 >> 1] = 0; - $$1371 = $$1371 + ($5 << 1) | 0; - $$1373 = $$1373 + ($5 << 1) | 0; - $$1386 = $$1386 + 1 | 0; - } - $21 = $4 + 1179664 | 0; - $22 = $5 + 1 | 0; - $30 = 0 - $5 | 0; - $$0369 = $0 + (($1 << 1) + 2) | 0; - $$0382 = 1; - $$0390 = 0; - $$0393 = (HEAP32[$4 + 4 >> 2] | 0) + $22 | 0; - $$2 = $7 + ($22 << 1) | 0; + if (($i$1 | 0) >= ($ysize | 0)) break; + HEAP16[$pnt2$1 >> 1] = 0; + HEAP16[$pnt1$1 >> 1] = 0; + $i$1 = $i$1 + 1 | 0; + $pnt1$1 = $pnt1$1 + ($xsize << 1) | 0; + $pnt2$1 = $pnt2$1 + ($xsize << 1) | 0; + } + $arraydecay = $labelInfo + 1179664 | 0; + $add = $xsize + 1 | 0; + $sub36 = 0 - $xsize | 0; + $dpnt$0 = (HEAP32[$labelInfo + 4 >> 2] | 0) + $add | 0; + $j$0 = 1; + $pnt$0 = $image + $add | 0; + $pnt2$2 = $0 + ($add << 1) | 0; + $wk_max$0 = 0; L9 : while (1) { - if (($$0382 | 0) >= ($8 | 0)) { + if (($j$0 | 0) >= ($sub | 0)) { label = 59; break; } - $$1 = $$0369; - $$1391 = $$0390; - $$1394 = $$0393; - $$2387 = 1; - $$3 = $$2; + $dpnt$1 = $dpnt$0; + $i$2 = 1; + $pnt$1 = $pnt$0; + $pnt2$3 = $pnt2$2; + $wk_max$1 = $wk_max$0; while (1) { - if (($$2387 | 0) >= ($15 | 0)) break; - do if ((HEAPU8[$$1 >> 0] | 0 | 0) > ($3 | 0)) { - HEAP8[$$1394 >> 0] = -1; - $36 = $$3 + ($30 << 1) | 0; - $37 = HEAP16[$36 >> 1] | 0; - if ($37 << 16 >> 16 > 0) { - HEAP16[$$3 >> 1] = $37; - $40 = ($37 << 16 >> 16) * 7 | 0; - $42 = $4 + 1310736 + ($40 + -7 << 2) | 0; - HEAP32[$42 >> 2] = (HEAP32[$42 >> 2] | 0) + 1; - $46 = $4 + 1310736 + ($40 + -6 << 2) | 0; - HEAP32[$46 >> 2] = (HEAP32[$46 >> 2] | 0) + $$2387; - $50 = $4 + 1310736 + ($40 + -5 << 2) | 0; - HEAP32[$50 >> 2] = (HEAP32[$50 >> 2] | 0) + $$0382; - HEAP32[$4 + 1310736 + ($40 + -1 << 2) >> 2] = $$0382; - $$2392 = $$1391; + if (($i$2 | 0) >= ($sub7 | 0)) break; + do if ((HEAPU8[$pnt$1 >> 0] | 0 | 0) > ($labelingThresh | 0)) { + HEAP8[$dpnt$1 >> 0] = -1; + $arrayidx37 = $pnt2$3 + ($sub36 << 1) | 0; + $3 = HEAP16[$arrayidx37 >> 1] | 0; + if ($3 << 16 >> 16 > 0) { + HEAP16[$pnt2$3 >> 1] = $3; + $4 = ($3 << 16 >> 16) * 7 | 0; + $arrayidx46 = $labelInfo + 1310736 + ($4 + -7 << 2) | 0; + HEAP32[$arrayidx46 >> 2] = (HEAP32[$arrayidx46 >> 2] | 0) + 1; + $arrayidx49 = $labelInfo + 1310736 + ($4 + -6 << 2) | 0; + HEAP32[$arrayidx49 >> 2] = (HEAP32[$arrayidx49 >> 2] | 0) + $i$2; + $arrayidx52 = $labelInfo + 1310736 + ($4 + -5 << 2) | 0; + HEAP32[$arrayidx52 >> 2] = (HEAP32[$arrayidx52 >> 2] | 0) + $j$0; + HEAP32[$labelInfo + 1310736 + ($4 + -1 << 2) >> 2] = $j$0; + $wk_max$2 = $wk_max$1; break; } - $56 = HEAP16[$36 + 2 >> 1] | 0; - $57 = $56 << 16 >> 16; - $60 = HEAP16[$36 + -2 >> 1] | 0; - $61 = $60 << 16 >> 16; - $62 = $60 << 16 >> 16 > 0; - if ($56 << 16 >> 16 <= 0) { - if ($62) { - HEAP16[$$3 >> 1] = $60; - $158 = $61 * 7 | 0; - $160 = $4 + 1310736 + ($158 + -7 << 2) | 0; - HEAP32[$160 >> 2] = (HEAP32[$160 >> 2] | 0) + 1; - $164 = $4 + 1310736 + ($158 + -6 << 2) | 0; - HEAP32[$164 >> 2] = (HEAP32[$164 >> 2] | 0) + $$2387; - $168 = $4 + 1310736 + ($158 + -5 << 2) | 0; - HEAP32[$168 >> 2] = (HEAP32[$168 >> 2] | 0) + $$0382; - $172 = $4 + 1310736 + ($158 + -3 << 2) | 0; - if ((HEAP32[$172 >> 2] | 0) < ($$2387 | 0)) HEAP32[$172 >> 2] = $$2387; - HEAP32[$4 + 1310736 + ($158 + -1 << 2) >> 2] = $$0382; - $$2392 = $$1391; + $8 = HEAP16[$arrayidx37 + 2 >> 1] | 0; + $conv57 = $8 << 16 >> 16; + $9 = HEAP16[$arrayidx37 + -2 >> 1] | 0; + $conv62 = $9 << 16 >> 16; + $cmp63 = $9 << 16 >> 16 > 0; + if ($8 << 16 >> 16 <= 0) { + if ($cmp63) { + HEAP16[$pnt2$3 >> 1] = $9; + $34 = $conv62 * 7 | 0; + $arrayidx228 = $labelInfo + 1310736 + ($34 + -7 << 2) | 0; + HEAP32[$arrayidx228 >> 2] = (HEAP32[$arrayidx228 >> 2] | 0) + 1; + $arrayidx231 = $labelInfo + 1310736 + ($34 + -6 << 2) | 0; + HEAP32[$arrayidx231 >> 2] = (HEAP32[$arrayidx231 >> 2] | 0) + $i$2; + $arrayidx234 = $labelInfo + 1310736 + ($34 + -5 << 2) | 0; + HEAP32[$arrayidx234 >> 2] = (HEAP32[$arrayidx234 >> 2] | 0) + $j$0; + $arrayidx237 = $labelInfo + 1310736 + ($34 + -3 << 2) | 0; + if ((HEAP32[$arrayidx237 >> 2] | 0) < ($i$2 | 0)) HEAP32[$arrayidx237 >> 2] = $i$2; + HEAP32[$labelInfo + 1310736 + ($34 + -1 << 2) >> 2] = $j$0; + $wk_max$2 = $wk_max$1; break; } - $178 = HEAP16[$$3 + -2 >> 1] | 0; - if ($178 << 16 >> 16 > 0) { - HEAP16[$$3 >> 1] = $178; - $181 = ($178 << 16 >> 16) * 7 | 0; - $183 = $4 + 1310736 + ($181 + -7 << 2) | 0; - HEAP32[$183 >> 2] = (HEAP32[$183 >> 2] | 0) + 1; - $187 = $4 + 1310736 + ($181 + -6 << 2) | 0; - HEAP32[$187 >> 2] = (HEAP32[$187 >> 2] | 0) + $$2387; - $191 = $4 + 1310736 + ($181 + -5 << 2) | 0; - HEAP32[$191 >> 2] = (HEAP32[$191 >> 2] | 0) + $$0382; - $195 = $4 + 1310736 + ($181 + -3 << 2) | 0; - if ((HEAP32[$195 >> 2] | 0) >= ($$2387 | 0)) { - $$2392 = $$1391; + $39 = HEAP16[$pnt2$3 + -2 >> 1] | 0; + if ($39 << 16 >> 16 > 0) { + HEAP16[$pnt2$3 >> 1] = $39; + $40 = ($39 << 16 >> 16) * 7 | 0; + $arrayidx257 = $labelInfo + 1310736 + ($40 + -7 << 2) | 0; + HEAP32[$arrayidx257 >> 2] = (HEAP32[$arrayidx257 >> 2] | 0) + 1; + $arrayidx260 = $labelInfo + 1310736 + ($40 + -6 << 2) | 0; + HEAP32[$arrayidx260 >> 2] = (HEAP32[$arrayidx260 >> 2] | 0) + $i$2; + $arrayidx263 = $labelInfo + 1310736 + ($40 + -5 << 2) | 0; + HEAP32[$arrayidx263 >> 2] = (HEAP32[$arrayidx263 >> 2] | 0) + $j$0; + $arrayidx266 = $labelInfo + 1310736 + ($40 + -3 << 2) | 0; + if ((HEAP32[$arrayidx266 >> 2] | 0) >= ($i$2 | 0)) { + $wk_max$2 = $wk_max$1; break; } - HEAP32[$195 >> 2] = $$2387; - $$2392 = $$1391; + HEAP32[$arrayidx266 >> 2] = $i$2; + $wk_max$2 = $wk_max$1; break; } else { - $198 = $$1391 + 1 | 0; - if (($$1391 | 0) > 32767) { + $inc274 = $wk_max$1 + 1 | 0; + if (($wk_max$1 | 0) > 32767) { label = 54; break L9; } - HEAP16[$$3 >> 1] = $198; - HEAP32[$4 + 1179664 + ($$1391 << 2) >> 2] = $198 << 16 >> 16; - $203 = $$1391 * 7 | 0; - HEAP32[$4 + 1310736 + ($203 << 2) >> 2] = 1; - HEAP32[$4 + 1310736 + ($203 + 1 << 2) >> 2] = $$2387; - HEAP32[$4 + 1310736 + ($203 + 2 << 2) >> 2] = $$0382; - HEAP32[$4 + 1310736 + ($203 + 3 << 2) >> 2] = $$2387; - HEAP32[$4 + 1310736 + ($203 + 4 << 2) >> 2] = $$2387; - HEAP32[$4 + 1310736 + ($203 + 5 << 2) >> 2] = $$0382; - HEAP32[$4 + 1310736 + ($203 + 6 << 2) >> 2] = $$0382; - $$2392 = $198; + HEAP16[$pnt2$3 >> 1] = $inc274; + HEAP32[$labelInfo + 1179664 + ($wk_max$1 << 2) >> 2] = $inc274 << 16 >> 16; + $mul284 = $wk_max$1 * 7 | 0; + HEAP32[$labelInfo + 1310736 + ($mul284 << 2) >> 2] = 1; + HEAP32[$labelInfo + 1310736 + ($mul284 + 1 << 2) >> 2] = $i$2; + HEAP32[$labelInfo + 1310736 + ($mul284 + 2 << 2) >> 2] = $j$0; + HEAP32[$labelInfo + 1310736 + ($mul284 + 3 << 2) >> 2] = $i$2; + HEAP32[$labelInfo + 1310736 + ($mul284 + 4 << 2) >> 2] = $i$2; + HEAP32[$labelInfo + 1310736 + ($mul284 + 5 << 2) >> 2] = $j$0; + HEAP32[$labelInfo + 1310736 + ($mul284 + 6 << 2) >> 2] = $j$0; + $wk_max$2 = $inc274; break; } } - if ($62) { - $65 = HEAP32[$4 + 1179664 + ($57 + -1 << 2) >> 2] | 0; - $68 = HEAP32[$4 + 1179664 + ($61 + -1 << 2) >> 2] | 0; - L36 : do if (($65 | 0) <= ($68 | 0)) { - HEAP16[$$3 >> 1] = $65; - if (($65 | 0) < ($68 | 0)) { - $$1375 = $21; - $$1379 = 0; + if ($cmp63) { + $10 = HEAP32[$labelInfo + 1179664 + ($conv57 + -1 << 2) >> 2] | 0; + $11 = HEAP32[$labelInfo + 1179664 + ($conv62 + -1 << 2) >> 2] | 0; + L36 : do if (($10 | 0) <= ($11 | 0)) { + HEAP16[$pnt2$3 >> 1] = $10; + if (($10 | 0) < ($11 | 0)) { + $k$1 = 0; + $wk$1 = $arraydecay; while (1) { - if (($$1379 | 0) >= ($$1391 | 0)) { - $83 = $65; + if (($k$1 | 0) >= ($wk_max$1 | 0)) { + $14 = $10; break L36; } - if ((HEAP32[$$1375 >> 2] | 0) == ($68 | 0)) HEAP32[$$1375 >> 2] = $65; - $$1375 = $$1375 + 4 | 0; - $$1379 = $$1379 + 1 | 0; + if ((HEAP32[$wk$1 >> 2] | 0) == ($11 | 0)) HEAP32[$wk$1 >> 2] = $10; + $k$1 = $k$1 + 1 | 0; + $wk$1 = $wk$1 + 4 | 0; } - } else $83 = $65; + } else $14 = $10; } else { - HEAP16[$$3 >> 1] = $68; - $$0374 = $21; - $$0378 = 0; + HEAP16[$pnt2$3 >> 1] = $11; + $k$0 = 0; + $wk$0 = $arraydecay; while (1) { - if (($$0378 | 0) >= ($$1391 | 0)) { - $83 = $68; + if (($k$0 | 0) >= ($wk_max$1 | 0)) { + $14 = $11; break L36; } - if ((HEAP32[$$0374 >> 2] | 0) == ($65 | 0)) HEAP32[$$0374 >> 2] = $68; - $$0374 = $$0374 + 4 | 0; - $$0378 = $$0378 + 1 | 0; + if ((HEAP32[$wk$0 >> 2] | 0) == ($10 | 0)) HEAP32[$wk$0 >> 2] = $11; + $k$0 = $k$0 + 1 | 0; + $wk$0 = $wk$0 + 4 | 0; } } while (0); - $85 = ($83 << 16 >> 16) * 7 | 0; - $87 = $4 + 1310736 + ($85 + -7 << 2) | 0; - HEAP32[$87 >> 2] = (HEAP32[$87 >> 2] | 0) + 1; - $91 = $4 + 1310736 + ($85 + -6 << 2) | 0; - HEAP32[$91 >> 2] = (HEAP32[$91 >> 2] | 0) + $$2387; - $95 = $4 + 1310736 + ($85 + -5 << 2) | 0; - HEAP32[$95 >> 2] = (HEAP32[$95 >> 2] | 0) + $$0382; - HEAP32[$4 + 1310736 + ($85 + -1 << 2) >> 2] = $$0382; - $$2392 = $$1391; + $15 = ($14 << 16 >> 16) * 7 | 0; + $arrayidx116 = $labelInfo + 1310736 + ($15 + -7 << 2) | 0; + HEAP32[$arrayidx116 >> 2] = (HEAP32[$arrayidx116 >> 2] | 0) + 1; + $arrayidx119 = $labelInfo + 1310736 + ($15 + -6 << 2) | 0; + HEAP32[$arrayidx119 >> 2] = (HEAP32[$arrayidx119 >> 2] | 0) + $i$2; + $arrayidx122 = $labelInfo + 1310736 + ($15 + -5 << 2) | 0; + HEAP32[$arrayidx122 >> 2] = (HEAP32[$arrayidx122 >> 2] | 0) + $j$0; + HEAP32[$labelInfo + 1310736 + ($15 + -1 << 2) >> 2] = $j$0; + $wk_max$2 = $wk_max$1; break; } - $101 = HEAP16[$$3 + -2 >> 1] | 0; - if ($101 << 16 >> 16 <= 0) { - HEAP16[$$3 >> 1] = $56; - $139 = $57 * 7 | 0; - $141 = $4 + 1310736 + ($139 + -7 << 2) | 0; - HEAP32[$141 >> 2] = (HEAP32[$141 >> 2] | 0) + 1; - $145 = $4 + 1310736 + ($139 + -6 << 2) | 0; - HEAP32[$145 >> 2] = (HEAP32[$145 >> 2] | 0) + $$2387; - $149 = $4 + 1310736 + ($139 + -5 << 2) | 0; - HEAP32[$149 >> 2] = (HEAP32[$149 >> 2] | 0) + $$0382; - $153 = $4 + 1310736 + ($139 + -4 << 2) | 0; - if ((HEAP32[$153 >> 2] | 0) > ($$2387 | 0)) HEAP32[$153 >> 2] = $$2387; - HEAP32[$4 + 1310736 + ($139 + -1 << 2) >> 2] = $$0382; - $$2392 = $$1391; + $19 = HEAP16[$pnt2$3 + -2 >> 1] | 0; + if ($19 << 16 >> 16 <= 0) { + HEAP16[$pnt2$3 >> 1] = $8; + $29 = $conv57 * 7 | 0; + $arrayidx197 = $labelInfo + 1310736 + ($29 + -7 << 2) | 0; + HEAP32[$arrayidx197 >> 2] = (HEAP32[$arrayidx197 >> 2] | 0) + 1; + $arrayidx200 = $labelInfo + 1310736 + ($29 + -6 << 2) | 0; + HEAP32[$arrayidx200 >> 2] = (HEAP32[$arrayidx200 >> 2] | 0) + $i$2; + $arrayidx203 = $labelInfo + 1310736 + ($29 + -5 << 2) | 0; + HEAP32[$arrayidx203 >> 2] = (HEAP32[$arrayidx203 >> 2] | 0) + $j$0; + $arrayidx206 = $labelInfo + 1310736 + ($29 + -4 << 2) | 0; + if ((HEAP32[$arrayidx206 >> 2] | 0) > ($i$2 | 0)) HEAP32[$arrayidx206 >> 2] = $i$2; + HEAP32[$labelInfo + 1310736 + ($29 + -1 << 2) >> 2] = $j$0; + $wk_max$2 = $wk_max$1; break; } - $106 = HEAP32[$4 + 1179664 + ($57 + -1 << 2) >> 2] | 0; - $109 = HEAP32[$4 + 1179664 + (($101 << 16 >> 16) + -1 << 2) >> 2] | 0; - L60 : do if (($106 | 0) <= ($109 | 0)) { - HEAP16[$$3 >> 1] = $106; - if (($106 | 0) < ($109 | 0)) { - $$3377 = $21; - $$3381 = 0; + $20 = HEAP32[$labelInfo + 1179664 + ($conv57 + -1 << 2) >> 2] | 0; + $21 = HEAP32[$labelInfo + 1179664 + (($19 << 16 >> 16) + -1 << 2) >> 2] | 0; + L60 : do if (($20 | 0) <= ($21 | 0)) { + HEAP16[$pnt2$3 >> 1] = $20; + if (($20 | 0) < ($21 | 0)) { + $k$3 = 0; + $wk$3 = $arraydecay; while (1) { - if (($$3381 | 0) >= ($$1391 | 0)) { - $124 = $106; + if (($k$3 | 0) >= ($wk_max$1 | 0)) { + $24 = $20; break L60; } - if ((HEAP32[$$3377 >> 2] | 0) == ($109 | 0)) HEAP32[$$3377 >> 2] = $106; - $$3377 = $$3377 + 4 | 0; - $$3381 = $$3381 + 1 | 0; + if ((HEAP32[$wk$3 >> 2] | 0) == ($21 | 0)) HEAP32[$wk$3 >> 2] = $20; + $k$3 = $k$3 + 1 | 0; + $wk$3 = $wk$3 + 4 | 0; } - } else $124 = $106; + } else $24 = $20; } else { - HEAP16[$$3 >> 1] = $109; - $$2376 = $21; - $$2380 = 0; + HEAP16[$pnt2$3 >> 1] = $21; + $k$2 = 0; + $wk$2 = $arraydecay; while (1) { - if (($$2380 | 0) >= ($$1391 | 0)) { - $124 = $109; + if (($k$2 | 0) >= ($wk_max$1 | 0)) { + $24 = $21; break L60; } - if ((HEAP32[$$2376 >> 2] | 0) == ($106 | 0)) HEAP32[$$2376 >> 2] = $109; - $$2376 = $$2376 + 4 | 0; - $$2380 = $$2380 + 1 | 0; + if ((HEAP32[$wk$2 >> 2] | 0) == ($20 | 0)) HEAP32[$wk$2 >> 2] = $21; + $k$2 = $k$2 + 1 | 0; + $wk$2 = $wk$2 + 4 | 0; } } while (0); - $126 = ($124 << 16 >> 16) * 7 | 0; - $128 = $4 + 1310736 + ($126 + -7 << 2) | 0; - HEAP32[$128 >> 2] = (HEAP32[$128 >> 2] | 0) + 1; - $132 = $4 + 1310736 + ($126 + -6 << 2) | 0; - HEAP32[$132 >> 2] = (HEAP32[$132 >> 2] | 0) + $$2387; - $136 = $4 + 1310736 + ($126 + -5 << 2) | 0; - HEAP32[$136 >> 2] = (HEAP32[$136 >> 2] | 0) + $$0382; - $$2392 = $$1391; + $25 = ($24 << 16 >> 16) * 7 | 0; + $arrayidx183 = $labelInfo + 1310736 + ($25 + -7 << 2) | 0; + HEAP32[$arrayidx183 >> 2] = (HEAP32[$arrayidx183 >> 2] | 0) + 1; + $arrayidx186 = $labelInfo + 1310736 + ($25 + -6 << 2) | 0; + HEAP32[$arrayidx186 >> 2] = (HEAP32[$arrayidx186 >> 2] | 0) + $i$2; + $arrayidx189 = $labelInfo + 1310736 + ($25 + -5 << 2) | 0; + HEAP32[$arrayidx189 >> 2] = (HEAP32[$arrayidx189 >> 2] | 0) + $j$0; + $wk_max$2 = $wk_max$1; } else { - HEAP16[$$3 >> 1] = 0; - HEAP8[$$1394 >> 0] = 0; - $$2392 = $$1391; + HEAP16[$pnt2$3 >> 1] = 0; + HEAP8[$dpnt$1 >> 0] = 0; + $wk_max$2 = $wk_max$1; } while (0); - $$1 = $$1 + 2 | 0; - $$1391 = $$2392; - $$1394 = $$1394 + 1 | 0; - $$2387 = $$2387 + 1 | 0; - $$3 = $$3 + 2 | 0; - } - $$0369 = $$1 + $1 + 4 | 0; - $$0382 = $$0382 + 1 | 0; - $$0390 = $$1391; - $$0393 = $$1394 + 2 | 0; - $$2 = $$3 + 4 | 0; + $dpnt$1 = $dpnt$1 + 1 | 0; + $i$2 = $i$2 + 1 | 0; + $pnt$1 = $pnt$1 + 1 | 0; + $pnt2$3 = $pnt2$3 + 2 | 0; + $wk_max$1 = $wk_max$2; + } + $dpnt$0 = $dpnt$1 + 2 | 0; + $j$0 = $j$0 + 1 | 0; + $pnt$0 = $pnt$1 + 2 | 0; + $pnt2$2 = $pnt2$3 + 4 | 0; + $wk_max$0 = $wk_max$1; } L80 : do if ((label | 0) == 54) { _arLog(0, 3, 23780, $vararg_buffer); - $$0 = -1; + $retval$0 = -1; } else if ((label | 0) == 59) { - $226 = $4 + 12 | 0; - $$1383 = 1; - $$3388 = 1; - $$4 = $21; + $arrayidx319 = $labelInfo + 12 | 0; + $i$3 = 1; + $j$1 = 1; + $wk$4 = $arraydecay; while (1) { - if (($$3388 | 0) > ($$0390 | 0)) break; - $228 = HEAP32[$$4 >> 2] | 0; - if (($228 | 0) == ($$3388 | 0)) { - $$2384 = $$1383 + 1 | 0; - $234 = $$1383; + if (($i$3 | 0) > ($wk_max$0 | 0)) break; + $45 = HEAP32[$wk$4 >> 2] | 0; + if (($45 | 0) == ($i$3 | 0)) { + $cond = $j$1; + $j$2 = $j$1 + 1 | 0; } else { - $$2384 = $$1383; - $234 = HEAP32[$4 + 1179664 + ($228 + -1 << 2) >> 2] | 0; - } - HEAP32[$$4 >> 2] = $234; - $$1383 = $$2384; - $$3388 = $$3388 + 1 | 0; - $$4 = $$4 + 4 | 0; - } - $237 = $4 + 8 | 0; - $238 = $$1383 + -1 | 0; - HEAP32[$237 >> 2] = $238; - if (!$238) $$0 = 0; else { - _memset($226 | 0, 0, $238 << 2 | 0) | 0; - _memset($4 + 655376 | 0, 0, $238 << 4 | 0) | 0; - $$4389 = 0; + $cond = HEAP32[$labelInfo + 1179664 + ($45 + -1 << 2) >> 2] | 0; + $j$2 = $j$1; + } + HEAP32[$wk$4 >> 2] = $cond; + $i$3 = $i$3 + 1 | 0; + $j$1 = $j$2; + $wk$4 = $wk$4 + 4 | 0; + } + $label_num317 = $labelInfo + 8 | 0; + $sub340 = $j$1 + -1 | 0; + HEAP32[$label_num317 >> 2] = $sub340; + if (!$sub340) $retval$0 = 0; else { + _memset($arrayidx319 | 0, 0, $sub340 << 2 | 0) | 0; + _memset($labelInfo + 655376 | 0, 0, $sub340 << 4 | 0) | 0; + $i$4 = 0; while (1) { - if (($$4389 | 0) >= ($238 | 0)) break; - $244 = $$4389 << 2; - HEAP32[$4 + 131084 + ($244 << 2) >> 2] = $5; - HEAP32[$4 + 131084 + (($244 | 1) << 2) >> 2] = 0; - HEAP32[$4 + 131084 + (($244 | 2) << 2) >> 2] = $6; - HEAP32[$4 + 131084 + (($244 | 3) << 2) >> 2] = 0; - $$4389 = $$4389 + 1 | 0; - } - $$5 = 0; + if (($i$4 | 0) >= ($sub340 | 0)) break; + $mul352 = $i$4 << 2; + HEAP32[$labelInfo + 131084 + ($mul352 << 2) >> 2] = $xsize; + HEAP32[$labelInfo + 131084 + (($mul352 | 1) << 2) >> 2] = 0; + HEAP32[$labelInfo + 131084 + (($mul352 | 2) << 2) >> 2] = $ysize; + HEAP32[$labelInfo + 131084 + (($mul352 | 3) << 2) >> 2] = 0; + $i$4 = $i$4 + 1 | 0; + } + $i$5 = 0; while (1) { - if (($$5 | 0) >= ($$0390 | 0)) break; - $256 = (HEAP32[$4 + 1179664 + ($$5 << 2) >> 2] | 0) + -1 | 0; - $257 = $$5 * 7 | 0; - $260 = $4 + 12 + ($256 << 2) | 0; - HEAP32[$260 >> 2] = (HEAP32[$260 >> 2] | 0) + (HEAP32[$4 + 1310736 + ($257 << 2) >> 2] | 0); - $267 = $256 << 1; - $268 = $4 + 655376 + ($267 << 3) | 0; - HEAPF64[$268 >> 3] = +HEAPF64[$268 >> 3] + +(HEAP32[$4 + 1310736 + ($257 + 1 << 2) >> 2] | 0); - $276 = $4 + 655376 + (($267 | 1) << 3) | 0; - HEAPF64[$276 >> 3] = +HEAPF64[$276 >> 3] + +(HEAP32[$4 + 1310736 + ($257 + 2 << 2) >> 2] | 0); - $279 = $256 << 2; - $280 = $4 + 131084 + ($279 << 2) | 0; - $284 = HEAP32[$4 + 1310736 + ($257 + 3 << 2) >> 2] | 0; - if ((HEAP32[$280 >> 2] | 0) > ($284 | 0)) HEAP32[$280 >> 2] = $284; - $287 = $4 + 131084 + (($279 | 1) << 2) | 0; - $291 = HEAP32[$4 + 1310736 + ($257 + 4 << 2) >> 2] | 0; - if ((HEAP32[$287 >> 2] | 0) < ($291 | 0)) HEAP32[$287 >> 2] = $291; - $294 = $4 + 131084 + (($279 | 2) << 2) | 0; - $298 = HEAP32[$4 + 1310736 + ($257 + 5 << 2) >> 2] | 0; - if ((HEAP32[$294 >> 2] | 0) > ($298 | 0)) HEAP32[$294 >> 2] = $298; - $301 = $4 + 131084 + (($279 | 3) << 2) | 0; - $305 = HEAP32[$4 + 1310736 + ($257 + 6 << 2) >> 2] | 0; - if ((HEAP32[$301 >> 2] | 0) < ($305 | 0)) HEAP32[$301 >> 2] = $305; - $$5 = $$5 + 1 | 0; - } - $308 = HEAP32[$237 >> 2] | 0; - $$6 = 0; + if (($i$5 | 0) >= ($wk_max$0 | 0)) break; + $sub372 = (HEAP32[$labelInfo + 1179664 + ($i$5 << 2) >> 2] | 0) + -1 | 0; + $mul373 = $i$5 * 7 | 0; + $arrayidx376 = $labelInfo + 12 + ($sub372 << 2) | 0; + HEAP32[$arrayidx376 >> 2] = (HEAP32[$arrayidx376 >> 2] | 0) + (HEAP32[$labelInfo + 1310736 + ($mul373 << 2) >> 2] | 0); + $mul382 = $sub372 << 1; + $arrayidx384 = $labelInfo + 655376 + ($mul382 << 3) | 0; + HEAPF64[$arrayidx384 >> 3] = +HEAPF64[$arrayidx384 >> 3] + +(HEAP32[$labelInfo + 1310736 + ($mul373 + 1 << 2) >> 2] | 0); + $arrayidx392 = $labelInfo + 655376 + (($mul382 | 1) << 3) | 0; + HEAPF64[$arrayidx392 >> 3] = +HEAPF64[$arrayidx392 >> 3] + +(HEAP32[$labelInfo + 1310736 + ($mul373 + 2 << 2) >> 2] | 0); + $mul394 = $sub372 << 2; + $arrayidx396 = $labelInfo + 131084 + ($mul394 << 2) | 0; + $55 = HEAP32[$labelInfo + 1310736 + ($mul373 + 3 << 2) >> 2] | 0; + if ((HEAP32[$arrayidx396 >> 2] | 0) > ($55 | 0)) HEAP32[$arrayidx396 >> 2] = $55; + $arrayidx412 = $labelInfo + 131084 + (($mul394 | 1) << 2) | 0; + $57 = HEAP32[$labelInfo + 1310736 + ($mul373 + 4 << 2) >> 2] | 0; + if ((HEAP32[$arrayidx412 >> 2] | 0) < ($57 | 0)) HEAP32[$arrayidx412 >> 2] = $57; + $arrayidx428 = $labelInfo + 131084 + (($mul394 | 2) << 2) | 0; + $59 = HEAP32[$labelInfo + 1310736 + ($mul373 + 5 << 2) >> 2] | 0; + if ((HEAP32[$arrayidx428 >> 2] | 0) > ($59 | 0)) HEAP32[$arrayidx428 >> 2] = $59; + $arrayidx444 = $labelInfo + 131084 + (($mul394 | 3) << 2) | 0; + $61 = HEAP32[$labelInfo + 1310736 + ($mul373 + 6 << 2) >> 2] | 0; + if ((HEAP32[$arrayidx444 >> 2] | 0) < ($61 | 0)) HEAP32[$arrayidx444 >> 2] = $61; + $i$5 = $i$5 + 1 | 0; + } + $62 = HEAP32[$label_num317 >> 2] | 0; + $i$6 = 0; while (1) { - if (($$6 | 0) >= ($308 | 0)) { - $$0 = 0; + if (($i$6 | 0) >= ($62 | 0)) { + $retval$0 = 0; break L80; } - $312 = +(HEAP32[$4 + 12 + ($$6 << 2) >> 2] | 0); - $313 = $$6 << 1; - $314 = $4 + 655376 + ($313 << 3) | 0; - HEAPF64[$314 >> 3] = +HEAPF64[$314 >> 3] / $312; - $318 = $4 + 655376 + (($313 | 1) << 3) | 0; - HEAPF64[$318 >> 3] = +HEAPF64[$318 >> 3] / $312; - $$6 = $$6 + 1 | 0; + $conv466 = +(HEAP32[$labelInfo + 12 + ($i$6 << 2) >> 2] | 0); + $mul467 = $i$6 << 1; + $arrayidx469 = $labelInfo + 655376 + ($mul467 << 3) | 0; + HEAPF64[$arrayidx469 >> 3] = +HEAPF64[$arrayidx469 >> 3] / $conv466; + $arrayidx474 = $labelInfo + 655376 + (($mul467 | 1) << 3) | 0; + HEAPF64[$arrayidx474 >> 3] = +HEAPF64[$arrayidx474 >> 3] / $conv466; + $i$6 = $i$6 + 1 | 0; } } } while (0); STACKTOP = sp; - return $$0 | 0; + return $retval$0 | 0; } -function _arLabelingSubEBIC($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $$0 = 0, $$0369 = 0, $$0370 = 0, $$0372 = 0, $$0374 = 0, $$0378 = 0, $$0382 = 0, $$0385 = 0, $$0390 = 0, $$0393 = 0, $$1 = 0, $$1371 = 0, $$1373 = 0, $$1375 = 0, $$1379 = 0, $$1383 = 0, $$1386 = 0, $$1391 = 0, $$1394 = 0, $$2 = 0, $$2376 = 0, $$2380 = 0, $$2384 = 0, $$2387 = 0, $$2392 = 0, $$3 = 0, $$3377 = 0, $$3381 = 0, $$3388 = 0, $$4 = 0, $$4389 = 0, $$5 = 0, $$6 = 0, $101 = 0, $106 = 0, $109 = 0, $124 = 0, $126 = 0, $128 = 0, $132 = 0, $136 = 0, $139 = 0, $141 = 0, $145 = 0, $149 = 0, $15 = 0, $153 = 0, $158 = 0, $160 = 0, $164 = 0, $168 = 0, $172 = 0, $178 = 0, $181 = 0, $183 = 0, $187 = 0, $191 = 0, $195 = 0, $198 = 0, $203 = 0, $21 = 0, $22 = 0, $226 = 0, $228 = 0, $234 = 0, $237 = 0, $238 = 0, $244 = 0, $256 = 0, $257 = 0, $260 = 0, $267 = 0, $268 = 0, $276 = 0, $279 = 0, $280 = 0, $284 = 0, $287 = 0, $291 = 0, $294 = 0, $298 = 0, $30 = 0, $301 = 0, $305 = 0, $308 = 0, $312 = 0.0, $313 = 0, $314 = 0, $318 = 0, $36 = 0, $37 = 0, $40 = 0, $42 = 0, $46 = 0, $5 = 0, $50 = 0, $56 = 0, $57 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $65 = 0, $68 = 0, $7 = 0, $8 = 0, $83 = 0, $85 = 0, $87 = 0, $91 = 0, $95 = 0, $vararg_buffer = 0, label = 0, sp = 0; +function _arLabelingSubEBRC($image, $xsize, $ysize, $labelingThresh, $labelInfo) { + $image = $image | 0; + $xsize = $xsize | 0; + $ysize = $ysize | 0; + $labelingThresh = $labelingThresh | 0; + $labelInfo = $labelInfo | 0; + var $0 = 0, $10 = 0, $11 = 0, $14 = 0, $15 = 0, $19 = 0, $20 = 0, $21 = 0, $24 = 0, $25 = 0, $29 = 0, $3 = 0, $34 = 0, $39 = 0, $4 = 0, $40 = 0, $45 = 0, $55 = 0, $57 = 0, $59 = 0, $61 = 0, $62 = 0, $8 = 0, $9 = 0, $add = 0, $arraydecay = 0, $arrayidx116 = 0, $arrayidx119 = 0, $arrayidx122 = 0, $arrayidx183 = 0, $arrayidx186 = 0, $arrayidx189 = 0, $arrayidx197 = 0, $arrayidx200 = 0, $arrayidx203 = 0, $arrayidx206 = 0, $arrayidx228 = 0, $arrayidx231 = 0, $arrayidx234 = 0, $arrayidx237 = 0, $arrayidx257 = 0, $arrayidx260 = 0, $arrayidx263 = 0, $arrayidx266 = 0, $arrayidx319 = 0, $arrayidx37 = 0, $arrayidx376 = 0, $arrayidx384 = 0, $arrayidx392 = 0, $arrayidx396 = 0, $arrayidx412 = 0, $arrayidx428 = 0, $arrayidx444 = 0, $arrayidx46 = 0, $arrayidx469 = 0, $arrayidx474 = 0, $arrayidx49 = 0, $arrayidx52 = 0, $cmp63 = 0, $cond = 0, $conv466 = 0.0, $conv57 = 0, $conv62 = 0, $dpnt$0 = 0, $dpnt$1 = 0, $i$0 = 0, $i$1 = 0, $i$2 = 0, $i$3 = 0, $i$4 = 0, $i$5 = 0, $i$6 = 0, $inc274 = 0, $j$0 = 0, $j$1 = 0, $j$2 = 0, $k$0 = 0, $k$1 = 0, $k$2 = 0, $k$3 = 0, $label_num317 = 0, $mul284 = 0, $mul352 = 0, $mul373 = 0, $mul382 = 0, $mul394 = 0, $mul467 = 0, $pnt$0 = 0, $pnt$1 = 0, $pnt1$0 = 0, $pnt1$1 = 0, $pnt2$0 = 0, $pnt2$1 = 0, $pnt2$2 = 0, $pnt2$3 = 0, $retval$0 = 0, $sub = 0, $sub340 = 0, $sub36 = 0, $sub372 = 0, $sub7 = 0, $vararg_buffer = 0, $wk$0 = 0, $wk$1 = 0, $wk$2 = 0, $wk$3 = 0, $wk$4 = 0, $wk_max$0 = 0, $wk_max$1 = 0, $wk_max$2 = 0, label = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); $vararg_buffer = sp; - $5 = ($1 | 0) / 2 | 0; - $6 = ($2 | 0) / 2 | 0; - $7 = HEAP32[$4 >> 2] | 0; - $8 = $6 + -1 | 0; - $$0370 = $7; - $$0372 = $7 + ((Math_imul($8, $5) | 0) << 1) | 0; - $$0385 = 0; + $0 = HEAP32[$labelInfo >> 2] | 0; + $sub = $ysize + -1 | 0; + $i$0 = 0; + $pnt1$0 = $0; + $pnt2$0 = $0 + ((Math_imul($sub, $xsize) | 0) << 1) | 0; while (1) { - if (($$0385 | 0) >= ($5 | 0)) break; - HEAP16[$$0372 >> 1] = 0; - HEAP16[$$0370 >> 1] = 0; - $$0370 = $$0370 + 2 | 0; - $$0372 = $$0372 + 2 | 0; - $$0385 = $$0385 + 1 | 0; - } - $15 = $5 + -1 | 0; - $$1371 = $7; - $$1373 = $7 + ($15 << 1) | 0; - $$1386 = 0; + if (($i$0 | 0) >= ($xsize | 0)) break; + HEAP16[$pnt2$0 >> 1] = 0; + HEAP16[$pnt1$0 >> 1] = 0; + $i$0 = $i$0 + 1 | 0; + $pnt1$0 = $pnt1$0 + 2 | 0; + $pnt2$0 = $pnt2$0 + 2 | 0; + } + $sub7 = $xsize + -1 | 0; + $i$1 = 0; + $pnt1$1 = $0; + $pnt2$1 = $0 + ($sub7 << 1) | 0; while (1) { - if (($$1386 | 0) >= ($6 | 0)) break; - HEAP16[$$1373 >> 1] = 0; - HEAP16[$$1371 >> 1] = 0; - $$1371 = $$1371 + ($5 << 1) | 0; - $$1373 = $$1373 + ($5 << 1) | 0; - $$1386 = $$1386 + 1 | 0; - } - $21 = $4 + 1179664 | 0; - $22 = $5 + 1 | 0; - $30 = 0 - $5 | 0; - $$0369 = $0 + (($1 << 1) + 2) | 0; - $$0382 = 1; - $$0390 = 0; - $$0393 = (HEAP32[$4 + 4 >> 2] | 0) + $22 | 0; - $$2 = $7 + ($22 << 1) | 0; + if (($i$1 | 0) >= ($ysize | 0)) break; + HEAP16[$pnt2$1 >> 1] = 0; + HEAP16[$pnt1$1 >> 1] = 0; + $i$1 = $i$1 + 1 | 0; + $pnt1$1 = $pnt1$1 + ($xsize << 1) | 0; + $pnt2$1 = $pnt2$1 + ($xsize << 1) | 0; + } + $arraydecay = $labelInfo + 1179664 | 0; + $add = $xsize + 1 | 0; + $sub36 = 0 - $xsize | 0; + $dpnt$0 = (HEAP32[$labelInfo + 4 >> 2] | 0) + $add | 0; + $j$0 = 1; + $pnt$0 = $image + $add | 0; + $pnt2$2 = $0 + ($add << 1) | 0; + $wk_max$0 = 0; L9 : while (1) { - if (($$0382 | 0) >= ($8 | 0)) { + if (($j$0 | 0) >= ($sub | 0)) { label = 59; break; } - $$1 = $$0369; - $$1391 = $$0390; - $$1394 = $$0393; - $$2387 = 1; - $$3 = $$2; + $dpnt$1 = $dpnt$0; + $i$2 = 1; + $pnt$1 = $pnt$0; + $pnt2$3 = $pnt2$2; + $wk_max$1 = $wk_max$0; while (1) { - if (($$2387 | 0) >= ($15 | 0)) break; - do if ((HEAPU8[$$1 >> 0] | 0 | 0) > ($3 | 0)) { - HEAP16[$$3 >> 1] = 0; - HEAP8[$$1394 >> 0] = 0; - $$2392 = $$1391; + if (($i$2 | 0) >= ($sub7 | 0)) break; + do if ((HEAPU8[$pnt$1 >> 0] | 0 | 0) > ($labelingThresh | 0)) { + HEAP16[$pnt2$3 >> 1] = 0; + HEAP8[$dpnt$1 >> 0] = 0; + $wk_max$2 = $wk_max$1; } else { - HEAP8[$$1394 >> 0] = -1; - $36 = $$3 + ($30 << 1) | 0; - $37 = HEAP16[$36 >> 1] | 0; - if ($37 << 16 >> 16 > 0) { - HEAP16[$$3 >> 1] = $37; - $40 = ($37 << 16 >> 16) * 7 | 0; - $42 = $4 + 1310736 + ($40 + -7 << 2) | 0; - HEAP32[$42 >> 2] = (HEAP32[$42 >> 2] | 0) + 1; - $46 = $4 + 1310736 + ($40 + -6 << 2) | 0; - HEAP32[$46 >> 2] = (HEAP32[$46 >> 2] | 0) + $$2387; - $50 = $4 + 1310736 + ($40 + -5 << 2) | 0; - HEAP32[$50 >> 2] = (HEAP32[$50 >> 2] | 0) + $$0382; - HEAP32[$4 + 1310736 + ($40 + -1 << 2) >> 2] = $$0382; - $$2392 = $$1391; + HEAP8[$dpnt$1 >> 0] = -1; + $arrayidx37 = $pnt2$3 + ($sub36 << 1) | 0; + $3 = HEAP16[$arrayidx37 >> 1] | 0; + if ($3 << 16 >> 16 > 0) { + HEAP16[$pnt2$3 >> 1] = $3; + $4 = ($3 << 16 >> 16) * 7 | 0; + $arrayidx46 = $labelInfo + 1310736 + ($4 + -7 << 2) | 0; + HEAP32[$arrayidx46 >> 2] = (HEAP32[$arrayidx46 >> 2] | 0) + 1; + $arrayidx49 = $labelInfo + 1310736 + ($4 + -6 << 2) | 0; + HEAP32[$arrayidx49 >> 2] = (HEAP32[$arrayidx49 >> 2] | 0) + $i$2; + $arrayidx52 = $labelInfo + 1310736 + ($4 + -5 << 2) | 0; + HEAP32[$arrayidx52 >> 2] = (HEAP32[$arrayidx52 >> 2] | 0) + $j$0; + HEAP32[$labelInfo + 1310736 + ($4 + -1 << 2) >> 2] = $j$0; + $wk_max$2 = $wk_max$1; break; } - $56 = HEAP16[$36 + 2 >> 1] | 0; - $57 = $56 << 16 >> 16; - $60 = HEAP16[$36 + -2 >> 1] | 0; - $61 = $60 << 16 >> 16; - $62 = $60 << 16 >> 16 > 0; - if ($56 << 16 >> 16 <= 0) { - if ($62) { - HEAP16[$$3 >> 1] = $60; - $158 = $61 * 7 | 0; - $160 = $4 + 1310736 + ($158 + -7 << 2) | 0; - HEAP32[$160 >> 2] = (HEAP32[$160 >> 2] | 0) + 1; - $164 = $4 + 1310736 + ($158 + -6 << 2) | 0; - HEAP32[$164 >> 2] = (HEAP32[$164 >> 2] | 0) + $$2387; - $168 = $4 + 1310736 + ($158 + -5 << 2) | 0; - HEAP32[$168 >> 2] = (HEAP32[$168 >> 2] | 0) + $$0382; - $172 = $4 + 1310736 + ($158 + -3 << 2) | 0; - if ((HEAP32[$172 >> 2] | 0) < ($$2387 | 0)) HEAP32[$172 >> 2] = $$2387; - HEAP32[$4 + 1310736 + ($158 + -1 << 2) >> 2] = $$0382; - $$2392 = $$1391; + $8 = HEAP16[$arrayidx37 + 2 >> 1] | 0; + $conv57 = $8 << 16 >> 16; + $9 = HEAP16[$arrayidx37 + -2 >> 1] | 0; + $conv62 = $9 << 16 >> 16; + $cmp63 = $9 << 16 >> 16 > 0; + if ($8 << 16 >> 16 <= 0) { + if ($cmp63) { + HEAP16[$pnt2$3 >> 1] = $9; + $34 = $conv62 * 7 | 0; + $arrayidx228 = $labelInfo + 1310736 + ($34 + -7 << 2) | 0; + HEAP32[$arrayidx228 >> 2] = (HEAP32[$arrayidx228 >> 2] | 0) + 1; + $arrayidx231 = $labelInfo + 1310736 + ($34 + -6 << 2) | 0; + HEAP32[$arrayidx231 >> 2] = (HEAP32[$arrayidx231 >> 2] | 0) + $i$2; + $arrayidx234 = $labelInfo + 1310736 + ($34 + -5 << 2) | 0; + HEAP32[$arrayidx234 >> 2] = (HEAP32[$arrayidx234 >> 2] | 0) + $j$0; + $arrayidx237 = $labelInfo + 1310736 + ($34 + -3 << 2) | 0; + if ((HEAP32[$arrayidx237 >> 2] | 0) < ($i$2 | 0)) HEAP32[$arrayidx237 >> 2] = $i$2; + HEAP32[$labelInfo + 1310736 + ($34 + -1 << 2) >> 2] = $j$0; + $wk_max$2 = $wk_max$1; break; } - $178 = HEAP16[$$3 + -2 >> 1] | 0; - if ($178 << 16 >> 16 > 0) { - HEAP16[$$3 >> 1] = $178; - $181 = ($178 << 16 >> 16) * 7 | 0; - $183 = $4 + 1310736 + ($181 + -7 << 2) | 0; - HEAP32[$183 >> 2] = (HEAP32[$183 >> 2] | 0) + 1; - $187 = $4 + 1310736 + ($181 + -6 << 2) | 0; - HEAP32[$187 >> 2] = (HEAP32[$187 >> 2] | 0) + $$2387; - $191 = $4 + 1310736 + ($181 + -5 << 2) | 0; - HEAP32[$191 >> 2] = (HEAP32[$191 >> 2] | 0) + $$0382; - $195 = $4 + 1310736 + ($181 + -3 << 2) | 0; - if ((HEAP32[$195 >> 2] | 0) >= ($$2387 | 0)) { - $$2392 = $$1391; + $39 = HEAP16[$pnt2$3 + -2 >> 1] | 0; + if ($39 << 16 >> 16 > 0) { + HEAP16[$pnt2$3 >> 1] = $39; + $40 = ($39 << 16 >> 16) * 7 | 0; + $arrayidx257 = $labelInfo + 1310736 + ($40 + -7 << 2) | 0; + HEAP32[$arrayidx257 >> 2] = (HEAP32[$arrayidx257 >> 2] | 0) + 1; + $arrayidx260 = $labelInfo + 1310736 + ($40 + -6 << 2) | 0; + HEAP32[$arrayidx260 >> 2] = (HEAP32[$arrayidx260 >> 2] | 0) + $i$2; + $arrayidx263 = $labelInfo + 1310736 + ($40 + -5 << 2) | 0; + HEAP32[$arrayidx263 >> 2] = (HEAP32[$arrayidx263 >> 2] | 0) + $j$0; + $arrayidx266 = $labelInfo + 1310736 + ($40 + -3 << 2) | 0; + if ((HEAP32[$arrayidx266 >> 2] | 0) >= ($i$2 | 0)) { + $wk_max$2 = $wk_max$1; break; } - HEAP32[$195 >> 2] = $$2387; - $$2392 = $$1391; + HEAP32[$arrayidx266 >> 2] = $i$2; + $wk_max$2 = $wk_max$1; break; } else { - $198 = $$1391 + 1 | 0; - if (($$1391 | 0) > 32767) { + $inc274 = $wk_max$1 + 1 | 0; + if (($wk_max$1 | 0) > 32767) { label = 54; break L9; } - HEAP16[$$3 >> 1] = $198; - HEAP32[$4 + 1179664 + ($$1391 << 2) >> 2] = $198 << 16 >> 16; - $203 = $$1391 * 7 | 0; - HEAP32[$4 + 1310736 + ($203 << 2) >> 2] = 1; - HEAP32[$4 + 1310736 + ($203 + 1 << 2) >> 2] = $$2387; - HEAP32[$4 + 1310736 + ($203 + 2 << 2) >> 2] = $$0382; - HEAP32[$4 + 1310736 + ($203 + 3 << 2) >> 2] = $$2387; - HEAP32[$4 + 1310736 + ($203 + 4 << 2) >> 2] = $$2387; - HEAP32[$4 + 1310736 + ($203 + 5 << 2) >> 2] = $$0382; - HEAP32[$4 + 1310736 + ($203 + 6 << 2) >> 2] = $$0382; - $$2392 = $198; + HEAP16[$pnt2$3 >> 1] = $inc274; + HEAP32[$labelInfo + 1179664 + ($wk_max$1 << 2) >> 2] = $inc274 << 16 >> 16; + $mul284 = $wk_max$1 * 7 | 0; + HEAP32[$labelInfo + 1310736 + ($mul284 << 2) >> 2] = 1; + HEAP32[$labelInfo + 1310736 + ($mul284 + 1 << 2) >> 2] = $i$2; + HEAP32[$labelInfo + 1310736 + ($mul284 + 2 << 2) >> 2] = $j$0; + HEAP32[$labelInfo + 1310736 + ($mul284 + 3 << 2) >> 2] = $i$2; + HEAP32[$labelInfo + 1310736 + ($mul284 + 4 << 2) >> 2] = $i$2; + HEAP32[$labelInfo + 1310736 + ($mul284 + 5 << 2) >> 2] = $j$0; + HEAP32[$labelInfo + 1310736 + ($mul284 + 6 << 2) >> 2] = $j$0; + $wk_max$2 = $inc274; break; } } - if ($62) { - $65 = HEAP32[$4 + 1179664 + ($57 + -1 << 2) >> 2] | 0; - $68 = HEAP32[$4 + 1179664 + ($61 + -1 << 2) >> 2] | 0; - L37 : do if (($65 | 0) <= ($68 | 0)) { - HEAP16[$$3 >> 1] = $65; - if (($65 | 0) < ($68 | 0)) { - $$1375 = $21; - $$1379 = 0; + if ($cmp63) { + $10 = HEAP32[$labelInfo + 1179664 + ($conv57 + -1 << 2) >> 2] | 0; + $11 = HEAP32[$labelInfo + 1179664 + ($conv62 + -1 << 2) >> 2] | 0; + L37 : do if (($10 | 0) <= ($11 | 0)) { + HEAP16[$pnt2$3 >> 1] = $10; + if (($10 | 0) < ($11 | 0)) { + $k$1 = 0; + $wk$1 = $arraydecay; while (1) { - if (($$1379 | 0) >= ($$1391 | 0)) { - $83 = $65; + if (($k$1 | 0) >= ($wk_max$1 | 0)) { + $14 = $10; break L37; } - if ((HEAP32[$$1375 >> 2] | 0) == ($68 | 0)) HEAP32[$$1375 >> 2] = $65; - $$1375 = $$1375 + 4 | 0; - $$1379 = $$1379 + 1 | 0; + if ((HEAP32[$wk$1 >> 2] | 0) == ($11 | 0)) HEAP32[$wk$1 >> 2] = $10; + $k$1 = $k$1 + 1 | 0; + $wk$1 = $wk$1 + 4 | 0; } - } else $83 = $65; + } else $14 = $10; } else { - HEAP16[$$3 >> 1] = $68; - $$0374 = $21; - $$0378 = 0; + HEAP16[$pnt2$3 >> 1] = $11; + $k$0 = 0; + $wk$0 = $arraydecay; while (1) { - if (($$0378 | 0) >= ($$1391 | 0)) { - $83 = $68; + if (($k$0 | 0) >= ($wk_max$1 | 0)) { + $14 = $11; break L37; } - if ((HEAP32[$$0374 >> 2] | 0) == ($65 | 0)) HEAP32[$$0374 >> 2] = $68; - $$0374 = $$0374 + 4 | 0; - $$0378 = $$0378 + 1 | 0; + if ((HEAP32[$wk$0 >> 2] | 0) == ($10 | 0)) HEAP32[$wk$0 >> 2] = $11; + $k$0 = $k$0 + 1 | 0; + $wk$0 = $wk$0 + 4 | 0; } } while (0); - $85 = ($83 << 16 >> 16) * 7 | 0; - $87 = $4 + 1310736 + ($85 + -7 << 2) | 0; - HEAP32[$87 >> 2] = (HEAP32[$87 >> 2] | 0) + 1; - $91 = $4 + 1310736 + ($85 + -6 << 2) | 0; - HEAP32[$91 >> 2] = (HEAP32[$91 >> 2] | 0) + $$2387; - $95 = $4 + 1310736 + ($85 + -5 << 2) | 0; - HEAP32[$95 >> 2] = (HEAP32[$95 >> 2] | 0) + $$0382; - HEAP32[$4 + 1310736 + ($85 + -1 << 2) >> 2] = $$0382; - $$2392 = $$1391; + $15 = ($14 << 16 >> 16) * 7 | 0; + $arrayidx116 = $labelInfo + 1310736 + ($15 + -7 << 2) | 0; + HEAP32[$arrayidx116 >> 2] = (HEAP32[$arrayidx116 >> 2] | 0) + 1; + $arrayidx119 = $labelInfo + 1310736 + ($15 + -6 << 2) | 0; + HEAP32[$arrayidx119 >> 2] = (HEAP32[$arrayidx119 >> 2] | 0) + $i$2; + $arrayidx122 = $labelInfo + 1310736 + ($15 + -5 << 2) | 0; + HEAP32[$arrayidx122 >> 2] = (HEAP32[$arrayidx122 >> 2] | 0) + $j$0; + HEAP32[$labelInfo + 1310736 + ($15 + -1 << 2) >> 2] = $j$0; + $wk_max$2 = $wk_max$1; break; } - $101 = HEAP16[$$3 + -2 >> 1] | 0; - if ($101 << 16 >> 16 <= 0) { - HEAP16[$$3 >> 1] = $56; - $139 = $57 * 7 | 0; - $141 = $4 + 1310736 + ($139 + -7 << 2) | 0; - HEAP32[$141 >> 2] = (HEAP32[$141 >> 2] | 0) + 1; - $145 = $4 + 1310736 + ($139 + -6 << 2) | 0; - HEAP32[$145 >> 2] = (HEAP32[$145 >> 2] | 0) + $$2387; - $149 = $4 + 1310736 + ($139 + -5 << 2) | 0; - HEAP32[$149 >> 2] = (HEAP32[$149 >> 2] | 0) + $$0382; - $153 = $4 + 1310736 + ($139 + -4 << 2) | 0; - if ((HEAP32[$153 >> 2] | 0) > ($$2387 | 0)) HEAP32[$153 >> 2] = $$2387; - HEAP32[$4 + 1310736 + ($139 + -1 << 2) >> 2] = $$0382; - $$2392 = $$1391; + $19 = HEAP16[$pnt2$3 + -2 >> 1] | 0; + if ($19 << 16 >> 16 <= 0) { + HEAP16[$pnt2$3 >> 1] = $8; + $29 = $conv57 * 7 | 0; + $arrayidx197 = $labelInfo + 1310736 + ($29 + -7 << 2) | 0; + HEAP32[$arrayidx197 >> 2] = (HEAP32[$arrayidx197 >> 2] | 0) + 1; + $arrayidx200 = $labelInfo + 1310736 + ($29 + -6 << 2) | 0; + HEAP32[$arrayidx200 >> 2] = (HEAP32[$arrayidx200 >> 2] | 0) + $i$2; + $arrayidx203 = $labelInfo + 1310736 + ($29 + -5 << 2) | 0; + HEAP32[$arrayidx203 >> 2] = (HEAP32[$arrayidx203 >> 2] | 0) + $j$0; + $arrayidx206 = $labelInfo + 1310736 + ($29 + -4 << 2) | 0; + if ((HEAP32[$arrayidx206 >> 2] | 0) > ($i$2 | 0)) HEAP32[$arrayidx206 >> 2] = $i$2; + HEAP32[$labelInfo + 1310736 + ($29 + -1 << 2) >> 2] = $j$0; + $wk_max$2 = $wk_max$1; break; } - $106 = HEAP32[$4 + 1179664 + ($57 + -1 << 2) >> 2] | 0; - $109 = HEAP32[$4 + 1179664 + (($101 << 16 >> 16) + -1 << 2) >> 2] | 0; - L61 : do if (($106 | 0) <= ($109 | 0)) { - HEAP16[$$3 >> 1] = $106; - if (($106 | 0) < ($109 | 0)) { - $$3377 = $21; - $$3381 = 0; + $20 = HEAP32[$labelInfo + 1179664 + ($conv57 + -1 << 2) >> 2] | 0; + $21 = HEAP32[$labelInfo + 1179664 + (($19 << 16 >> 16) + -1 << 2) >> 2] | 0; + L61 : do if (($20 | 0) <= ($21 | 0)) { + HEAP16[$pnt2$3 >> 1] = $20; + if (($20 | 0) < ($21 | 0)) { + $k$3 = 0; + $wk$3 = $arraydecay; while (1) { - if (($$3381 | 0) >= ($$1391 | 0)) { - $124 = $106; + if (($k$3 | 0) >= ($wk_max$1 | 0)) { + $24 = $20; break L61; } - if ((HEAP32[$$3377 >> 2] | 0) == ($109 | 0)) HEAP32[$$3377 >> 2] = $106; - $$3377 = $$3377 + 4 | 0; - $$3381 = $$3381 + 1 | 0; + if ((HEAP32[$wk$3 >> 2] | 0) == ($21 | 0)) HEAP32[$wk$3 >> 2] = $20; + $k$3 = $k$3 + 1 | 0; + $wk$3 = $wk$3 + 4 | 0; } - } else $124 = $106; + } else $24 = $20; } else { - HEAP16[$$3 >> 1] = $109; - $$2376 = $21; - $$2380 = 0; + HEAP16[$pnt2$3 >> 1] = $21; + $k$2 = 0; + $wk$2 = $arraydecay; while (1) { - if (($$2380 | 0) >= ($$1391 | 0)) { - $124 = $109; + if (($k$2 | 0) >= ($wk_max$1 | 0)) { + $24 = $21; break L61; } - if ((HEAP32[$$2376 >> 2] | 0) == ($106 | 0)) HEAP32[$$2376 >> 2] = $109; - $$2376 = $$2376 + 4 | 0; - $$2380 = $$2380 + 1 | 0; + if ((HEAP32[$wk$2 >> 2] | 0) == ($20 | 0)) HEAP32[$wk$2 >> 2] = $21; + $k$2 = $k$2 + 1 | 0; + $wk$2 = $wk$2 + 4 | 0; } } while (0); - $126 = ($124 << 16 >> 16) * 7 | 0; - $128 = $4 + 1310736 + ($126 + -7 << 2) | 0; - HEAP32[$128 >> 2] = (HEAP32[$128 >> 2] | 0) + 1; - $132 = $4 + 1310736 + ($126 + -6 << 2) | 0; - HEAP32[$132 >> 2] = (HEAP32[$132 >> 2] | 0) + $$2387; - $136 = $4 + 1310736 + ($126 + -5 << 2) | 0; - HEAP32[$136 >> 2] = (HEAP32[$136 >> 2] | 0) + $$0382; - $$2392 = $$1391; + $25 = ($24 << 16 >> 16) * 7 | 0; + $arrayidx183 = $labelInfo + 1310736 + ($25 + -7 << 2) | 0; + HEAP32[$arrayidx183 >> 2] = (HEAP32[$arrayidx183 >> 2] | 0) + 1; + $arrayidx186 = $labelInfo + 1310736 + ($25 + -6 << 2) | 0; + HEAP32[$arrayidx186 >> 2] = (HEAP32[$arrayidx186 >> 2] | 0) + $i$2; + $arrayidx189 = $labelInfo + 1310736 + ($25 + -5 << 2) | 0; + HEAP32[$arrayidx189 >> 2] = (HEAP32[$arrayidx189 >> 2] | 0) + $j$0; + $wk_max$2 = $wk_max$1; } while (0); - $$1 = $$1 + 2 | 0; - $$1391 = $$2392; - $$1394 = $$1394 + 1 | 0; - $$2387 = $$2387 + 1 | 0; - $$3 = $$3 + 2 | 0; - } - $$0369 = $$1 + $1 + 4 | 0; - $$0382 = $$0382 + 1 | 0; - $$0390 = $$1391; - $$0393 = $$1394 + 2 | 0; - $$2 = $$3 + 4 | 0; + $dpnt$1 = $dpnt$1 + 1 | 0; + $i$2 = $i$2 + 1 | 0; + $pnt$1 = $pnt$1 + 1 | 0; + $pnt2$3 = $pnt2$3 + 2 | 0; + $wk_max$1 = $wk_max$2; + } + $dpnt$0 = $dpnt$1 + 2 | 0; + $j$0 = $j$0 + 1 | 0; + $pnt$0 = $pnt$1 + 2 | 0; + $pnt2$2 = $pnt2$3 + 4 | 0; + $wk_max$0 = $wk_max$1; } L80 : do if ((label | 0) == 54) { _arLog(0, 3, 23780, $vararg_buffer); - $$0 = -1; + $retval$0 = -1; } else if ((label | 0) == 59) { - $226 = $4 + 12 | 0; - $$1383 = 1; - $$3388 = 1; - $$4 = $21; + $arrayidx319 = $labelInfo + 12 | 0; + $i$3 = 1; + $j$1 = 1; + $wk$4 = $arraydecay; while (1) { - if (($$3388 | 0) > ($$0390 | 0)) break; - $228 = HEAP32[$$4 >> 2] | 0; - if (($228 | 0) == ($$3388 | 0)) { - $$2384 = $$1383 + 1 | 0; - $234 = $$1383; + if (($i$3 | 0) > ($wk_max$0 | 0)) break; + $45 = HEAP32[$wk$4 >> 2] | 0; + if (($45 | 0) == ($i$3 | 0)) { + $cond = $j$1; + $j$2 = $j$1 + 1 | 0; } else { - $$2384 = $$1383; - $234 = HEAP32[$4 + 1179664 + ($228 + -1 << 2) >> 2] | 0; - } - HEAP32[$$4 >> 2] = $234; - $$1383 = $$2384; - $$3388 = $$3388 + 1 | 0; - $$4 = $$4 + 4 | 0; - } - $237 = $4 + 8 | 0; - $238 = $$1383 + -1 | 0; - HEAP32[$237 >> 2] = $238; - if (!$238) $$0 = 0; else { - _memset($226 | 0, 0, $238 << 2 | 0) | 0; - _memset($4 + 655376 | 0, 0, $238 << 4 | 0) | 0; - $$4389 = 0; + $cond = HEAP32[$labelInfo + 1179664 + ($45 + -1 << 2) >> 2] | 0; + $j$2 = $j$1; + } + HEAP32[$wk$4 >> 2] = $cond; + $i$3 = $i$3 + 1 | 0; + $j$1 = $j$2; + $wk$4 = $wk$4 + 4 | 0; + } + $label_num317 = $labelInfo + 8 | 0; + $sub340 = $j$1 + -1 | 0; + HEAP32[$label_num317 >> 2] = $sub340; + if (!$sub340) $retval$0 = 0; else { + _memset($arrayidx319 | 0, 0, $sub340 << 2 | 0) | 0; + _memset($labelInfo + 655376 | 0, 0, $sub340 << 4 | 0) | 0; + $i$4 = 0; while (1) { - if (($$4389 | 0) >= ($238 | 0)) break; - $244 = $$4389 << 2; - HEAP32[$4 + 131084 + ($244 << 2) >> 2] = $5; - HEAP32[$4 + 131084 + (($244 | 1) << 2) >> 2] = 0; - HEAP32[$4 + 131084 + (($244 | 2) << 2) >> 2] = $6; - HEAP32[$4 + 131084 + (($244 | 3) << 2) >> 2] = 0; - $$4389 = $$4389 + 1 | 0; - } - $$5 = 0; + if (($i$4 | 0) >= ($sub340 | 0)) break; + $mul352 = $i$4 << 2; + HEAP32[$labelInfo + 131084 + ($mul352 << 2) >> 2] = $xsize; + HEAP32[$labelInfo + 131084 + (($mul352 | 1) << 2) >> 2] = 0; + HEAP32[$labelInfo + 131084 + (($mul352 | 2) << 2) >> 2] = $ysize; + HEAP32[$labelInfo + 131084 + (($mul352 | 3) << 2) >> 2] = 0; + $i$4 = $i$4 + 1 | 0; + } + $i$5 = 0; while (1) { - if (($$5 | 0) >= ($$0390 | 0)) break; - $256 = (HEAP32[$4 + 1179664 + ($$5 << 2) >> 2] | 0) + -1 | 0; - $257 = $$5 * 7 | 0; - $260 = $4 + 12 + ($256 << 2) | 0; - HEAP32[$260 >> 2] = (HEAP32[$260 >> 2] | 0) + (HEAP32[$4 + 1310736 + ($257 << 2) >> 2] | 0); - $267 = $256 << 1; - $268 = $4 + 655376 + ($267 << 3) | 0; - HEAPF64[$268 >> 3] = +HEAPF64[$268 >> 3] + +(HEAP32[$4 + 1310736 + ($257 + 1 << 2) >> 2] | 0); - $276 = $4 + 655376 + (($267 | 1) << 3) | 0; - HEAPF64[$276 >> 3] = +HEAPF64[$276 >> 3] + +(HEAP32[$4 + 1310736 + ($257 + 2 << 2) >> 2] | 0); - $279 = $256 << 2; - $280 = $4 + 131084 + ($279 << 2) | 0; - $284 = HEAP32[$4 + 1310736 + ($257 + 3 << 2) >> 2] | 0; - if ((HEAP32[$280 >> 2] | 0) > ($284 | 0)) HEAP32[$280 >> 2] = $284; - $287 = $4 + 131084 + (($279 | 1) << 2) | 0; - $291 = HEAP32[$4 + 1310736 + ($257 + 4 << 2) >> 2] | 0; - if ((HEAP32[$287 >> 2] | 0) < ($291 | 0)) HEAP32[$287 >> 2] = $291; - $294 = $4 + 131084 + (($279 | 2) << 2) | 0; - $298 = HEAP32[$4 + 1310736 + ($257 + 5 << 2) >> 2] | 0; - if ((HEAP32[$294 >> 2] | 0) > ($298 | 0)) HEAP32[$294 >> 2] = $298; - $301 = $4 + 131084 + (($279 | 3) << 2) | 0; - $305 = HEAP32[$4 + 1310736 + ($257 + 6 << 2) >> 2] | 0; - if ((HEAP32[$301 >> 2] | 0) < ($305 | 0)) HEAP32[$301 >> 2] = $305; - $$5 = $$5 + 1 | 0; - } - $308 = HEAP32[$237 >> 2] | 0; - $$6 = 0; + if (($i$5 | 0) >= ($wk_max$0 | 0)) break; + $sub372 = (HEAP32[$labelInfo + 1179664 + ($i$5 << 2) >> 2] | 0) + -1 | 0; + $mul373 = $i$5 * 7 | 0; + $arrayidx376 = $labelInfo + 12 + ($sub372 << 2) | 0; + HEAP32[$arrayidx376 >> 2] = (HEAP32[$arrayidx376 >> 2] | 0) + (HEAP32[$labelInfo + 1310736 + ($mul373 << 2) >> 2] | 0); + $mul382 = $sub372 << 1; + $arrayidx384 = $labelInfo + 655376 + ($mul382 << 3) | 0; + HEAPF64[$arrayidx384 >> 3] = +HEAPF64[$arrayidx384 >> 3] + +(HEAP32[$labelInfo + 1310736 + ($mul373 + 1 << 2) >> 2] | 0); + $arrayidx392 = $labelInfo + 655376 + (($mul382 | 1) << 3) | 0; + HEAPF64[$arrayidx392 >> 3] = +HEAPF64[$arrayidx392 >> 3] + +(HEAP32[$labelInfo + 1310736 + ($mul373 + 2 << 2) >> 2] | 0); + $mul394 = $sub372 << 2; + $arrayidx396 = $labelInfo + 131084 + ($mul394 << 2) | 0; + $55 = HEAP32[$labelInfo + 1310736 + ($mul373 + 3 << 2) >> 2] | 0; + if ((HEAP32[$arrayidx396 >> 2] | 0) > ($55 | 0)) HEAP32[$arrayidx396 >> 2] = $55; + $arrayidx412 = $labelInfo + 131084 + (($mul394 | 1) << 2) | 0; + $57 = HEAP32[$labelInfo + 1310736 + ($mul373 + 4 << 2) >> 2] | 0; + if ((HEAP32[$arrayidx412 >> 2] | 0) < ($57 | 0)) HEAP32[$arrayidx412 >> 2] = $57; + $arrayidx428 = $labelInfo + 131084 + (($mul394 | 2) << 2) | 0; + $59 = HEAP32[$labelInfo + 1310736 + ($mul373 + 5 << 2) >> 2] | 0; + if ((HEAP32[$arrayidx428 >> 2] | 0) > ($59 | 0)) HEAP32[$arrayidx428 >> 2] = $59; + $arrayidx444 = $labelInfo + 131084 + (($mul394 | 3) << 2) | 0; + $61 = HEAP32[$labelInfo + 1310736 + ($mul373 + 6 << 2) >> 2] | 0; + if ((HEAP32[$arrayidx444 >> 2] | 0) < ($61 | 0)) HEAP32[$arrayidx444 >> 2] = $61; + $i$5 = $i$5 + 1 | 0; + } + $62 = HEAP32[$label_num317 >> 2] | 0; + $i$6 = 0; while (1) { - if (($$6 | 0) >= ($308 | 0)) { - $$0 = 0; + if (($i$6 | 0) >= ($62 | 0)) { + $retval$0 = 0; break L80; } - $312 = +(HEAP32[$4 + 12 + ($$6 << 2) >> 2] | 0); - $313 = $$6 << 1; - $314 = $4 + 655376 + ($313 << 3) | 0; - HEAPF64[$314 >> 3] = +HEAPF64[$314 >> 3] / $312; - $318 = $4 + 655376 + (($313 | 1) << 3) | 0; - HEAPF64[$318 >> 3] = +HEAPF64[$318 >> 3] / $312; - $$6 = $$6 + 1 | 0; + $conv466 = +(HEAP32[$labelInfo + 12 + ($i$6 << 2) >> 2] | 0); + $mul467 = $i$6 << 1; + $arrayidx469 = $labelInfo + 655376 + ($mul467 << 3) | 0; + HEAPF64[$arrayidx469 >> 3] = +HEAPF64[$arrayidx469 >> 3] / $conv466; + $arrayidx474 = $labelInfo + 655376 + (($mul467 | 1) << 3) | 0; + HEAPF64[$arrayidx474 >> 3] = +HEAPF64[$arrayidx474 >> 3] / $conv466; + $i$6 = $i$6 + 1 | 0; } } } while (0); STACKTOP = sp; - return $$0 | 0; + return $retval$0 | 0; } -function __ZN6vision21HoughSimilarityVoting4voteEffff($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = +$1; - $2 = +$2; - $3 = +$3; - $4 = +$4; - var $$0 = 0, $10 = 0.0, $102 = 0, $106 = 0, $113 = 0, $118 = 0, $122 = 0, $129 = 0, $13 = 0.0, $134 = 0, $138 = 0, $145 = 0, $150 = 0, $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $16 = 0.0, $162 = 0, $166 = 0, $170 = 0, $174 = 0, $176 = 0, $178 = 0, $18 = 0.0, $180 = 0, $185 = 0, $190 = 0, $195 = 0, $22 = 0.0, $25 = 0.0, $33 = 0, $38 = 0, $42 = 0, $49 = 0, $5 = 0, $54 = 0, $58 = 0, $65 = 0, $7 = 0.0, $70 = 0, $74 = 0, $81 = 0, $86 = 0, $90 = 0, $97 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $5 = sp; - $7 = +HEAPF32[$0 + 20 >> 2]; - if ((((((!($7 > $1) ? ($10 = +HEAPF32[$0 + 24 >> 2], !($10 <= $1)) : 0) ? ($13 = +HEAPF32[$0 + 28 >> 2], !($13 > $2)) : 0) ? ($16 = +HEAPF32[$0 + 32 >> 2], !($16 <= $2)) : 0) ? ($18 = $3, !($18 <= -3.141592653589793 | $18 > 3.141592653589793)) : 0) ? ($22 = +HEAPF32[$0 + 36 >> 2], !($22 > $4)) : 0) ? ($25 = +HEAPF32[$0 + 40 >> 2], !($25 <= $4)) : 0) { - if (!($7 <= $1)) { - $33 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 36193) | 0, 36227) | 0, 39072) | 0, 360) | 0, 39079) | 0, 36314) | 0; - __ZNKSt3__28ios_base6getlocEv($5, $33 + (HEAP32[(HEAP32[$33 >> 2] | 0) + -12 >> 2] | 0) | 0); - $38 = __ZNKSt3__26locale9use_facetERNS0_2idE($5, 66512) | 0; - $42 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$38 >> 2] | 0) + 28 >> 2] & 127]($38, 10) | 0; - __ZNSt3__26localeD2Ev($5); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($33, $42) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($33) | 0; - _abort(); - } - if (!($10 > $1)) { - $49 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 36329) | 0, 36227) | 0, 39072) | 0, 361) | 0, 39079) | 0, 36314) | 0; - __ZNKSt3__28ios_base6getlocEv($5, $49 + (HEAP32[(HEAP32[$49 >> 2] | 0) + -12 >> 2] | 0) | 0); - $54 = __ZNKSt3__26locale9use_facetERNS0_2idE($5, 66512) | 0; - $58 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$54 >> 2] | 0) + 28 >> 2] & 127]($54, 10) | 0; - __ZNSt3__26localeD2Ev($5); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($49, $58) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($49) | 0; - _abort(); - } - if (!($13 <= $2)) { - $65 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 36362) | 0, 36227) | 0, 39072) | 0, 362) | 0, 39079) | 0, 36396) | 0; - __ZNKSt3__28ios_base6getlocEv($5, $65 + (HEAP32[(HEAP32[$65 >> 2] | 0) + -12 >> 2] | 0) | 0); - $70 = __ZNKSt3__26locale9use_facetERNS0_2idE($5, 66512) | 0; - $74 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$70 >> 2] | 0) + 28 >> 2] & 127]($70, 10) | 0; - __ZNSt3__26localeD2Ev($5); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($65, $74) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($65) | 0; - _abort(); - } - if (!($16 > $2)) { - $81 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 36411) | 0, 36227) | 0, 39072) | 0, 363) | 0, 39079) | 0, 36396) | 0; - __ZNKSt3__28ios_base6getlocEv($5, $81 + (HEAP32[(HEAP32[$81 >> 2] | 0) + -12 >> 2] | 0) | 0); - $86 = __ZNKSt3__26locale9use_facetERNS0_2idE($5, 66512) | 0; - $90 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$86 >> 2] | 0) + 28 >> 2] & 127]($86, 10) | 0; - __ZNSt3__26localeD2Ev($5); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($81, $90) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($81) | 0; - _abort(); - } - if (!($18 > -3.141592653589793)) { - $97 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 36444) | 0, 36227) | 0, 39072) | 0, 364) | 0, 39079) | 0, 36479) | 0; - __ZNKSt3__28ios_base6getlocEv($5, $97 + (HEAP32[(HEAP32[$97 >> 2] | 0) + -12 >> 2] | 0) | 0); - $102 = __ZNKSt3__26locale9use_facetERNS0_2idE($5, 66512) | 0; - $106 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$102 >> 2] | 0) + 28 >> 2] & 127]($102, 10) | 0; - __ZNSt3__26localeD2Ev($5); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($97, $106) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($97) | 0; - _abort(); - } - if (!($18 <= 3.141592653589793)) { - $113 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 36498) | 0, 36227) | 0, 39072) | 0, 365) | 0, 39079) | 0, 36479) | 0; - __ZNKSt3__28ios_base6getlocEv($5, $113 + (HEAP32[(HEAP32[$113 >> 2] | 0) + -12 >> 2] | 0) | 0); - $118 = __ZNKSt3__26locale9use_facetERNS0_2idE($5, 66512) | 0; - $122 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$118 >> 2] | 0) + 28 >> 2] & 127]($118, 10) | 0; - __ZNSt3__26localeD2Ev($5); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($113, $122) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($113) | 0; - _abort(); - } - if (!($22 <= $4)) { - $129 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 36533) | 0, 36227) | 0, 39072) | 0, 366) | 0, 39079) | 0, 36575) | 0; - __ZNKSt3__28ios_base6getlocEv($5, $129 + (HEAP32[(HEAP32[$129 >> 2] | 0) + -12 >> 2] | 0) | 0); - $134 = __ZNKSt3__26locale9use_facetERNS0_2idE($5, 66512) | 0; - $138 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$134 >> 2] | 0) + 28 >> 2] & 127]($134, 10) | 0; - __ZNSt3__26localeD2Ev($5); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($129, $138) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($129) | 0; - _abort(); - } - if (!($25 > $4)) { - $145 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 36594) | 0, 36227) | 0, 39072) | 0, 367) | 0, 39079) | 0, 36575) | 0; - __ZNKSt3__28ios_base6getlocEv($5, $145 + (HEAP32[(HEAP32[$145 >> 2] | 0) + -12 >> 2] | 0) | 0); - $150 = __ZNKSt3__26locale9use_facetERNS0_2idE($5, 66512) | 0; - $154 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$150 >> 2] | 0) + 28 >> 2] & 127]($150, 10) | 0; - __ZNSt3__26localeD2Ev($5); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($145, $154) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($145) | 0; - _abort(); - } - $155 = $0 + 68 | 0; - $156 = $0 + 72 | 0; - $157 = $0 + 76 | 0; - $158 = $0 + 80 | 0; - __ZNK6vision21HoughSimilarityVoting12mapVoteToBinERfS1_S1_S1_ffff($0, $155, $156, $157, $158, $1, $2, $3, $4); - $162 = ~~+Math_floor(+(+HEAPF32[$155 >> 2] + -.5)); - $166 = ~~+Math_floor(+(+HEAPF32[$156 >> 2] + -.5)); - $170 = ~~+Math_floor(+(+HEAPF32[$157 >> 2] + -.5)); - $174 = ~~+Math_floor(+(+HEAPF32[$158 >> 2] + -.5)); - $176 = HEAP32[$0 + 60 >> 2] | 0; - $178 = ($176 + $170 | 0) % ($176 | 0) | 0; - if (((($162 | 0) >= 0 ? ($180 = $162 + 1 | 0, !(($166 | 0) < 0 ? 1 : ($180 | 0) >= (HEAP32[$0 + 52 >> 2] | 0))) : 0) ? ($185 = $166 + 1 | 0, !(($174 | 0) < 0 ? 1 : ($185 | 0) >= (HEAP32[$0 + 56 >> 2] | 0))) : 0) ? ($190 = $174 + 1 | 0, ($190 | 0) < (HEAP32[$0 + 64 >> 2] | 0)) : 0) { - $195 = ($178 + 1 | 0) % ($176 | 0) | 0; - __ZN6vision21HoughSimilarityVoting11voteAtIndexEij($0, __ZNK6vision21HoughSimilarityVoting11getBinIndexEiiii($0, $162, $166, $178, $174) | 0, 1); - __ZN6vision21HoughSimilarityVoting11voteAtIndexEij($0, __ZNK6vision21HoughSimilarityVoting11getBinIndexEiiii($0, $180, $166, $178, $174) | 0, 1); - __ZN6vision21HoughSimilarityVoting11voteAtIndexEij($0, __ZNK6vision21HoughSimilarityVoting11getBinIndexEiiii($0, $180, $185, $178, $174) | 0, 1); - __ZN6vision21HoughSimilarityVoting11voteAtIndexEij($0, __ZNK6vision21HoughSimilarityVoting11getBinIndexEiiii($0, $180, $185, $195, $174) | 0, 1); - __ZN6vision21HoughSimilarityVoting11voteAtIndexEij($0, __ZNK6vision21HoughSimilarityVoting11getBinIndexEiiii($0, $180, $185, $195, $190) | 0, 1); - __ZN6vision21HoughSimilarityVoting11voteAtIndexEij($0, __ZNK6vision21HoughSimilarityVoting11getBinIndexEiiii($0, $180, $185, $178, $190) | 0, 1); - __ZN6vision21HoughSimilarityVoting11voteAtIndexEij($0, __ZNK6vision21HoughSimilarityVoting11getBinIndexEiiii($0, $180, $166, $195, $174) | 0, 1); - __ZN6vision21HoughSimilarityVoting11voteAtIndexEij($0, __ZNK6vision21HoughSimilarityVoting11getBinIndexEiiii($0, $180, $166, $195, $190) | 0, 1); - __ZN6vision21HoughSimilarityVoting11voteAtIndexEij($0, __ZNK6vision21HoughSimilarityVoting11getBinIndexEiiii($0, $180, $166, $178, $190) | 0, 1); - __ZN6vision21HoughSimilarityVoting11voteAtIndexEij($0, __ZNK6vision21HoughSimilarityVoting11getBinIndexEiiii($0, $162, $185, $178, $174) | 0, 1); - __ZN6vision21HoughSimilarityVoting11voteAtIndexEij($0, __ZNK6vision21HoughSimilarityVoting11getBinIndexEiiii($0, $162, $185, $195, $174) | 0, 1); - __ZN6vision21HoughSimilarityVoting11voteAtIndexEij($0, __ZNK6vision21HoughSimilarityVoting11getBinIndexEiiii($0, $162, $185, $195, $190) | 0, 1); - __ZN6vision21HoughSimilarityVoting11voteAtIndexEij($0, __ZNK6vision21HoughSimilarityVoting11getBinIndexEiiii($0, $162, $185, $178, $190) | 0, 1); - __ZN6vision21HoughSimilarityVoting11voteAtIndexEij($0, __ZNK6vision21HoughSimilarityVoting11getBinIndexEiiii($0, $162, $166, $195, $174) | 0, 1); - __ZN6vision21HoughSimilarityVoting11voteAtIndexEij($0, __ZNK6vision21HoughSimilarityVoting11getBinIndexEiiii($0, $162, $166, $195, $190) | 0, 1); - __ZN6vision21HoughSimilarityVoting11voteAtIndexEij($0, __ZNK6vision21HoughSimilarityVoting11getBinIndexEiiii($0, $162, $166, $178, $190) | 0, 1); - $$0 = 1; - } else $$0 = 0; - } else $$0 = 0; - STACKTOP = sp; - return $$0 | 0; -} - -function _arLabelingSubEWRC($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $$0 = 0, $$0367 = 0, $$0368 = 0, $$0370 = 0, $$0372 = 0, $$0376 = 0, $$0380 = 0, $$0383 = 0, $$0388 = 0, $$0391 = 0, $$1 = 0, $$1369 = 0, $$1371 = 0, $$1373 = 0, $$1377 = 0, $$1381 = 0, $$1384 = 0, $$1389 = 0, $$1392 = 0, $$2 = 0, $$2374 = 0, $$2378 = 0, $$2382 = 0, $$2385 = 0, $$2390 = 0, $$3 = 0, $$3375 = 0, $$3379 = 0, $$3386 = 0, $$4 = 0, $$4387 = 0, $$5 = 0, $$6 = 0, $102 = 0, $105 = 0, $120 = 0, $122 = 0, $124 = 0, $128 = 0, $13 = 0, $132 = 0, $135 = 0, $137 = 0, $141 = 0, $145 = 0, $149 = 0, $154 = 0, $156 = 0, $160 = 0, $164 = 0, $168 = 0, $174 = 0, $177 = 0, $179 = 0, $183 = 0, $187 = 0, $19 = 0, $191 = 0, $194 = 0, $199 = 0, $20 = 0, $221 = 0, $223 = 0, $229 = 0, $232 = 0, $233 = 0, $239 = 0, $251 = 0, $252 = 0, $255 = 0, $26 = 0, $262 = 0, $263 = 0, $271 = 0, $274 = 0, $275 = 0, $279 = 0, $282 = 0, $286 = 0, $289 = 0, $293 = 0, $296 = 0, $300 = 0, $303 = 0, $307 = 0.0, $308 = 0, $309 = 0, $313 = 0, $32 = 0, $33 = 0, $36 = 0, $38 = 0, $42 = 0, $46 = 0, $5 = 0, $52 = 0, $53 = 0, $56 = 0, $57 = 0, $58 = 0, $6 = 0, $61 = 0, $64 = 0, $79 = 0, $81 = 0, $83 = 0, $87 = 0, $91 = 0, $97 = 0, $vararg_buffer = 0, label = 0, sp = 0; +function _arLabelingSubDWZ($image, $xsize, $ysize, $image_thresh, $labelInfo) { + $image = $image | 0; + $xsize = $xsize | 0; + $ysize = $ysize | 0; + $image_thresh = $image_thresh | 0; + $labelInfo = $labelInfo | 0; + var $0 = 0, $10 = 0, $11 = 0, $14 = 0, $15 = 0, $19 = 0, $20 = 0, $21 = 0, $24 = 0, $25 = 0, $29 = 0, $3 = 0, $34 = 0, $39 = 0, $4 = 0, $40 = 0, $45 = 0, $55 = 0, $57 = 0, $59 = 0, $61 = 0, $62 = 0, $8 = 0, $9 = 0, $add = 0, $arraydecay = 0, $arrayidx118 = 0, $arrayidx121 = 0, $arrayidx124 = 0, $arrayidx185 = 0, $arrayidx188 = 0, $arrayidx191 = 0, $arrayidx199 = 0, $arrayidx202 = 0, $arrayidx205 = 0, $arrayidx208 = 0, $arrayidx230 = 0, $arrayidx233 = 0, $arrayidx236 = 0, $arrayidx239 = 0, $arrayidx259 = 0, $arrayidx262 = 0, $arrayidx265 = 0, $arrayidx268 = 0, $arrayidx321 = 0, $arrayidx378 = 0, $arrayidx386 = 0, $arrayidx39 = 0, $arrayidx394 = 0, $arrayidx398 = 0, $arrayidx414 = 0, $arrayidx430 = 0, $arrayidx446 = 0, $arrayidx471 = 0, $arrayidx476 = 0, $arrayidx48 = 0, $arrayidx51 = 0, $arrayidx54 = 0, $cmp65 = 0, $cond = 0, $conv468 = 0.0, $conv59 = 0, $conv64 = 0, $i$0 = 0, $i$1 = 0, $i$2 = 0, $i$3 = 0, $i$4 = 0, $i$5 = 0, $i$6 = 0, $inc276 = 0, $j$0 = 0, $j$1 = 0, $j$2 = 0, $k$0 = 0, $k$1 = 0, $k$2 = 0, $k$3 = 0, $label_num319 = 0, $mul286 = 0, $mul354 = 0, $mul375 = 0, $mul384 = 0, $mul396 = 0, $mul469 = 0, $pnt$0 = 0, $pnt$1 = 0, $pnt1$0 = 0, $pnt1$1 = 0, $pnt2$0 = 0, $pnt2$1 = 0, $pnt2$2 = 0, $pnt2$3 = 0, $pnt_thresh$0 = 0, $pnt_thresh$1 = 0, $retval$0 = 0, $sub = 0, $sub342 = 0, $sub374 = 0, $sub38 = 0, $sub7 = 0, $vararg_buffer = 0, $wk$0 = 0, $wk$1 = 0, $wk$2 = 0, $wk$3 = 0, $wk$4 = 0, $wk_max$0 = 0, $wk_max$1 = 0, $wk_max$2 = 0, label = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); $vararg_buffer = sp; - $5 = HEAP32[$4 >> 2] | 0; - $6 = $2 + -1 | 0; - $$0368 = $5; - $$0370 = $5 + ((Math_imul($6, $1) | 0) << 1) | 0; - $$0383 = 0; + $0 = HEAP32[$labelInfo >> 2] | 0; + $sub = $ysize + -1 | 0; + $i$0 = 0; + $pnt1$0 = $0; + $pnt2$0 = $0 + ((Math_imul($sub, $xsize) | 0) << 1) | 0; while (1) { - if (($$0383 | 0) >= ($1 | 0)) break; - HEAP16[$$0370 >> 1] = 0; - HEAP16[$$0368 >> 1] = 0; - $$0368 = $$0368 + 2 | 0; - $$0370 = $$0370 + 2 | 0; - $$0383 = $$0383 + 1 | 0; - } - $13 = $1 + -1 | 0; - $$1369 = $5; - $$1371 = $5 + ($13 << 1) | 0; - $$1384 = 0; + if (($i$0 | 0) >= ($xsize | 0)) break; + HEAP16[$pnt2$0 >> 1] = 0; + HEAP16[$pnt1$0 >> 1] = 0; + $i$0 = $i$0 + 1 | 0; + $pnt1$0 = $pnt1$0 + 2 | 0; + $pnt2$0 = $pnt2$0 + 2 | 0; + } + $sub7 = $xsize + -1 | 0; + $i$1 = 0; + $pnt1$1 = $0; + $pnt2$1 = $0 + ($sub7 << 1) | 0; while (1) { - if (($$1384 | 0) >= ($2 | 0)) break; - HEAP16[$$1371 >> 1] = 0; - HEAP16[$$1369 >> 1] = 0; - $$1369 = $$1369 + ($1 << 1) | 0; - $$1371 = $$1371 + ($1 << 1) | 0; - $$1384 = $$1384 + 1 | 0; - } - $19 = $4 + 1179664 | 0; - $20 = $1 + 1 | 0; - $26 = 0 - $1 | 0; - $$0367 = $0 + $20 | 0; - $$0380 = 1; - $$0388 = 0; - $$0391 = (HEAP32[$4 + 4 >> 2] | 0) + $20 | 0; - $$2 = $5 + ($20 << 1) | 0; + if (($i$1 | 0) >= ($ysize | 0)) break; + HEAP16[$pnt2$1 >> 1] = 0; + HEAP16[$pnt1$1 >> 1] = 0; + $i$1 = $i$1 + 1 | 0; + $pnt1$1 = $pnt1$1 + ($xsize << 1) | 0; + $pnt2$1 = $pnt2$1 + ($xsize << 1) | 0; + } + $arraydecay = $labelInfo + 1179664 | 0; + $add = $xsize + 1 | 0; + $sub38 = 0 - $xsize | 0; + $j$0 = 1; + $pnt$0 = $image + $add | 0; + $pnt2$2 = $0 + ($add << 1) | 0; + $pnt_thresh$0 = $image_thresh + $add | 0; + $wk_max$0 = 0; L9 : while (1) { - if (($$0380 | 0) >= ($6 | 0)) { + if (($j$0 | 0) >= ($sub | 0)) { label = 59; break; } - $$1 = $$0367; - $$1389 = $$0388; - $$1392 = $$0391; - $$2385 = 1; - $$3 = $$2; + $i$2 = 1; + $pnt$1 = $pnt$0; + $pnt2$3 = $pnt2$2; + $pnt_thresh$1 = $pnt_thresh$0; + $wk_max$1 = $wk_max$0; while (1) { - if (($$2385 | 0) >= ($13 | 0)) break; - do if ((HEAPU8[$$1 >> 0] | 0 | 0) > ($3 | 0)) { - HEAP8[$$1392 >> 0] = -1; - $32 = $$3 + ($26 << 1) | 0; - $33 = HEAP16[$32 >> 1] | 0; - if ($33 << 16 >> 16 > 0) { - HEAP16[$$3 >> 1] = $33; - $36 = ($33 << 16 >> 16) * 7 | 0; - $38 = $4 + 1310736 + ($36 + -7 << 2) | 0; - HEAP32[$38 >> 2] = (HEAP32[$38 >> 2] | 0) + 1; - $42 = $4 + 1310736 + ($36 + -6 << 2) | 0; - HEAP32[$42 >> 2] = (HEAP32[$42 >> 2] | 0) + $$2385; - $46 = $4 + 1310736 + ($36 + -5 << 2) | 0; - HEAP32[$46 >> 2] = (HEAP32[$46 >> 2] | 0) + $$0380; - HEAP32[$4 + 1310736 + ($36 + -1 << 2) >> 2] = $$0380; - $$2390 = $$1389; + if (($i$2 | 0) >= ($sub7 | 0)) break; + do if ((HEAPU8[$pnt$1 >> 0] | 0) > (HEAPU8[$pnt_thresh$1 >> 0] | 0)) { + $arrayidx39 = $pnt2$3 + ($sub38 << 1) | 0; + $3 = HEAP16[$arrayidx39 >> 1] | 0; + if ($3 << 16 >> 16 > 0) { + HEAP16[$pnt2$3 >> 1] = $3; + $4 = ($3 << 16 >> 16) * 7 | 0; + $arrayidx48 = $labelInfo + 1310736 + ($4 + -7 << 2) | 0; + HEAP32[$arrayidx48 >> 2] = (HEAP32[$arrayidx48 >> 2] | 0) + 1; + $arrayidx51 = $labelInfo + 1310736 + ($4 + -6 << 2) | 0; + HEAP32[$arrayidx51 >> 2] = (HEAP32[$arrayidx51 >> 2] | 0) + $i$2; + $arrayidx54 = $labelInfo + 1310736 + ($4 + -5 << 2) | 0; + HEAP32[$arrayidx54 >> 2] = (HEAP32[$arrayidx54 >> 2] | 0) + $j$0; + HEAP32[$labelInfo + 1310736 + ($4 + -1 << 2) >> 2] = $j$0; + $wk_max$2 = $wk_max$1; break; } - $52 = HEAP16[$32 + 2 >> 1] | 0; - $53 = $52 << 16 >> 16; - $56 = HEAP16[$32 + -2 >> 1] | 0; - $57 = $56 << 16 >> 16; - $58 = $56 << 16 >> 16 > 0; - if ($52 << 16 >> 16 <= 0) { - if ($58) { - HEAP16[$$3 >> 1] = $56; - $154 = $57 * 7 | 0; - $156 = $4 + 1310736 + ($154 + -7 << 2) | 0; - HEAP32[$156 >> 2] = (HEAP32[$156 >> 2] | 0) + 1; - $160 = $4 + 1310736 + ($154 + -6 << 2) | 0; - HEAP32[$160 >> 2] = (HEAP32[$160 >> 2] | 0) + $$2385; - $164 = $4 + 1310736 + ($154 + -5 << 2) | 0; - HEAP32[$164 >> 2] = (HEAP32[$164 >> 2] | 0) + $$0380; - $168 = $4 + 1310736 + ($154 + -3 << 2) | 0; - if ((HEAP32[$168 >> 2] | 0) < ($$2385 | 0)) HEAP32[$168 >> 2] = $$2385; - HEAP32[$4 + 1310736 + ($154 + -1 << 2) >> 2] = $$0380; - $$2390 = $$1389; + $8 = HEAP16[$arrayidx39 + 2 >> 1] | 0; + $conv59 = $8 << 16 >> 16; + $9 = HEAP16[$arrayidx39 + -2 >> 1] | 0; + $conv64 = $9 << 16 >> 16; + $cmp65 = $9 << 16 >> 16 > 0; + if ($8 << 16 >> 16 <= 0) { + if ($cmp65) { + HEAP16[$pnt2$3 >> 1] = $9; + $34 = $conv64 * 7 | 0; + $arrayidx230 = $labelInfo + 1310736 + ($34 + -7 << 2) | 0; + HEAP32[$arrayidx230 >> 2] = (HEAP32[$arrayidx230 >> 2] | 0) + 1; + $arrayidx233 = $labelInfo + 1310736 + ($34 + -6 << 2) | 0; + HEAP32[$arrayidx233 >> 2] = (HEAP32[$arrayidx233 >> 2] | 0) + $i$2; + $arrayidx236 = $labelInfo + 1310736 + ($34 + -5 << 2) | 0; + HEAP32[$arrayidx236 >> 2] = (HEAP32[$arrayidx236 >> 2] | 0) + $j$0; + $arrayidx239 = $labelInfo + 1310736 + ($34 + -3 << 2) | 0; + if ((HEAP32[$arrayidx239 >> 2] | 0) < ($i$2 | 0)) HEAP32[$arrayidx239 >> 2] = $i$2; + HEAP32[$labelInfo + 1310736 + ($34 + -1 << 2) >> 2] = $j$0; + $wk_max$2 = $wk_max$1; break; } - $174 = HEAP16[$$3 + -2 >> 1] | 0; - if ($174 << 16 >> 16 > 0) { - HEAP16[$$3 >> 1] = $174; - $177 = ($174 << 16 >> 16) * 7 | 0; - $179 = $4 + 1310736 + ($177 + -7 << 2) | 0; - HEAP32[$179 >> 2] = (HEAP32[$179 >> 2] | 0) + 1; - $183 = $4 + 1310736 + ($177 + -6 << 2) | 0; - HEAP32[$183 >> 2] = (HEAP32[$183 >> 2] | 0) + $$2385; - $187 = $4 + 1310736 + ($177 + -5 << 2) | 0; - HEAP32[$187 >> 2] = (HEAP32[$187 >> 2] | 0) + $$0380; - $191 = $4 + 1310736 + ($177 + -3 << 2) | 0; - if ((HEAP32[$191 >> 2] | 0) >= ($$2385 | 0)) { - $$2390 = $$1389; + $39 = HEAP16[$pnt2$3 + -2 >> 1] | 0; + if ($39 << 16 >> 16 > 0) { + HEAP16[$pnt2$3 >> 1] = $39; + $40 = ($39 << 16 >> 16) * 7 | 0; + $arrayidx259 = $labelInfo + 1310736 + ($40 + -7 << 2) | 0; + HEAP32[$arrayidx259 >> 2] = (HEAP32[$arrayidx259 >> 2] | 0) + 1; + $arrayidx262 = $labelInfo + 1310736 + ($40 + -6 << 2) | 0; + HEAP32[$arrayidx262 >> 2] = (HEAP32[$arrayidx262 >> 2] | 0) + $i$2; + $arrayidx265 = $labelInfo + 1310736 + ($40 + -5 << 2) | 0; + HEAP32[$arrayidx265 >> 2] = (HEAP32[$arrayidx265 >> 2] | 0) + $j$0; + $arrayidx268 = $labelInfo + 1310736 + ($40 + -3 << 2) | 0; + if ((HEAP32[$arrayidx268 >> 2] | 0) >= ($i$2 | 0)) { + $wk_max$2 = $wk_max$1; break; } - HEAP32[$191 >> 2] = $$2385; - $$2390 = $$1389; + HEAP32[$arrayidx268 >> 2] = $i$2; + $wk_max$2 = $wk_max$1; break; } else { - $194 = $$1389 + 1 | 0; - if (($$1389 | 0) > 32767) { + $inc276 = $wk_max$1 + 1 | 0; + if (($wk_max$1 | 0) > 32767) { label = 54; break L9; } - HEAP16[$$3 >> 1] = $194; - HEAP32[$4 + 1179664 + ($$1389 << 2) >> 2] = $194 << 16 >> 16; - $199 = $$1389 * 7 | 0; - HEAP32[$4 + 1310736 + ($199 << 2) >> 2] = 1; - HEAP32[$4 + 1310736 + ($199 + 1 << 2) >> 2] = $$2385; - HEAP32[$4 + 1310736 + ($199 + 2 << 2) >> 2] = $$0380; - HEAP32[$4 + 1310736 + ($199 + 3 << 2) >> 2] = $$2385; - HEAP32[$4 + 1310736 + ($199 + 4 << 2) >> 2] = $$2385; - HEAP32[$4 + 1310736 + ($199 + 5 << 2) >> 2] = $$0380; - HEAP32[$4 + 1310736 + ($199 + 6 << 2) >> 2] = $$0380; - $$2390 = $194; + HEAP16[$pnt2$3 >> 1] = $inc276; + HEAP32[$labelInfo + 1179664 + ($wk_max$1 << 2) >> 2] = $inc276 << 16 >> 16; + $mul286 = $wk_max$1 * 7 | 0; + HEAP32[$labelInfo + 1310736 + ($mul286 << 2) >> 2] = 1; + HEAP32[$labelInfo + 1310736 + ($mul286 + 1 << 2) >> 2] = $i$2; + HEAP32[$labelInfo + 1310736 + ($mul286 + 2 << 2) >> 2] = $j$0; + HEAP32[$labelInfo + 1310736 + ($mul286 + 3 << 2) >> 2] = $i$2; + HEAP32[$labelInfo + 1310736 + ($mul286 + 4 << 2) >> 2] = $i$2; + HEAP32[$labelInfo + 1310736 + ($mul286 + 5 << 2) >> 2] = $j$0; + HEAP32[$labelInfo + 1310736 + ($mul286 + 6 << 2) >> 2] = $j$0; + $wk_max$2 = $inc276; break; } } - if ($58) { - $61 = HEAP32[$4 + 1179664 + ($53 + -1 << 2) >> 2] | 0; - $64 = HEAP32[$4 + 1179664 + ($57 + -1 << 2) >> 2] | 0; - L36 : do if (($61 | 0) <= ($64 | 0)) { - HEAP16[$$3 >> 1] = $61; - if (($61 | 0) < ($64 | 0)) { - $$1373 = $19; - $$1377 = 0; + if ($cmp65) { + $10 = HEAP32[$labelInfo + 1179664 + ($conv59 + -1 << 2) >> 2] | 0; + $11 = HEAP32[$labelInfo + 1179664 + ($conv64 + -1 << 2) >> 2] | 0; + L36 : do if (($10 | 0) <= ($11 | 0)) { + HEAP16[$pnt2$3 >> 1] = $10; + if (($10 | 0) < ($11 | 0)) { + $k$1 = 0; + $wk$1 = $arraydecay; while (1) { - if (($$1377 | 0) >= ($$1389 | 0)) { - $79 = $61; + if (($k$1 | 0) >= ($wk_max$1 | 0)) { + $14 = $10; break L36; } - if ((HEAP32[$$1373 >> 2] | 0) == ($64 | 0)) HEAP32[$$1373 >> 2] = $61; - $$1373 = $$1373 + 4 | 0; - $$1377 = $$1377 + 1 | 0; + if ((HEAP32[$wk$1 >> 2] | 0) == ($11 | 0)) HEAP32[$wk$1 >> 2] = $10; + $k$1 = $k$1 + 1 | 0; + $wk$1 = $wk$1 + 4 | 0; } - } else $79 = $61; + } else $14 = $10; } else { - HEAP16[$$3 >> 1] = $64; - $$0372 = $19; - $$0376 = 0; + HEAP16[$pnt2$3 >> 1] = $11; + $k$0 = 0; + $wk$0 = $arraydecay; while (1) { - if (($$0376 | 0) >= ($$1389 | 0)) { - $79 = $64; + if (($k$0 | 0) >= ($wk_max$1 | 0)) { + $14 = $11; break L36; } - if ((HEAP32[$$0372 >> 2] | 0) == ($61 | 0)) HEAP32[$$0372 >> 2] = $64; - $$0372 = $$0372 + 4 | 0; - $$0376 = $$0376 + 1 | 0; + if ((HEAP32[$wk$0 >> 2] | 0) == ($10 | 0)) HEAP32[$wk$0 >> 2] = $11; + $k$0 = $k$0 + 1 | 0; + $wk$0 = $wk$0 + 4 | 0; } } while (0); - $81 = ($79 << 16 >> 16) * 7 | 0; - $83 = $4 + 1310736 + ($81 + -7 << 2) | 0; - HEAP32[$83 >> 2] = (HEAP32[$83 >> 2] | 0) + 1; - $87 = $4 + 1310736 + ($81 + -6 << 2) | 0; - HEAP32[$87 >> 2] = (HEAP32[$87 >> 2] | 0) + $$2385; - $91 = $4 + 1310736 + ($81 + -5 << 2) | 0; - HEAP32[$91 >> 2] = (HEAP32[$91 >> 2] | 0) + $$0380; - HEAP32[$4 + 1310736 + ($81 + -1 << 2) >> 2] = $$0380; - $$2390 = $$1389; + $15 = ($14 << 16 >> 16) * 7 | 0; + $arrayidx118 = $labelInfo + 1310736 + ($15 + -7 << 2) | 0; + HEAP32[$arrayidx118 >> 2] = (HEAP32[$arrayidx118 >> 2] | 0) + 1; + $arrayidx121 = $labelInfo + 1310736 + ($15 + -6 << 2) | 0; + HEAP32[$arrayidx121 >> 2] = (HEAP32[$arrayidx121 >> 2] | 0) + $i$2; + $arrayidx124 = $labelInfo + 1310736 + ($15 + -5 << 2) | 0; + HEAP32[$arrayidx124 >> 2] = (HEAP32[$arrayidx124 >> 2] | 0) + $j$0; + HEAP32[$labelInfo + 1310736 + ($15 + -1 << 2) >> 2] = $j$0; + $wk_max$2 = $wk_max$1; break; } - $97 = HEAP16[$$3 + -2 >> 1] | 0; - if ($97 << 16 >> 16 <= 0) { - HEAP16[$$3 >> 1] = $52; - $135 = $53 * 7 | 0; - $137 = $4 + 1310736 + ($135 + -7 << 2) | 0; - HEAP32[$137 >> 2] = (HEAP32[$137 >> 2] | 0) + 1; - $141 = $4 + 1310736 + ($135 + -6 << 2) | 0; - HEAP32[$141 >> 2] = (HEAP32[$141 >> 2] | 0) + $$2385; - $145 = $4 + 1310736 + ($135 + -5 << 2) | 0; - HEAP32[$145 >> 2] = (HEAP32[$145 >> 2] | 0) + $$0380; - $149 = $4 + 1310736 + ($135 + -4 << 2) | 0; - if ((HEAP32[$149 >> 2] | 0) > ($$2385 | 0)) HEAP32[$149 >> 2] = $$2385; - HEAP32[$4 + 1310736 + ($135 + -1 << 2) >> 2] = $$0380; - $$2390 = $$1389; + $19 = HEAP16[$pnt2$3 + -2 >> 1] | 0; + if ($19 << 16 >> 16 <= 0) { + HEAP16[$pnt2$3 >> 1] = $8; + $29 = $conv59 * 7 | 0; + $arrayidx199 = $labelInfo + 1310736 + ($29 + -7 << 2) | 0; + HEAP32[$arrayidx199 >> 2] = (HEAP32[$arrayidx199 >> 2] | 0) + 1; + $arrayidx202 = $labelInfo + 1310736 + ($29 + -6 << 2) | 0; + HEAP32[$arrayidx202 >> 2] = (HEAP32[$arrayidx202 >> 2] | 0) + $i$2; + $arrayidx205 = $labelInfo + 1310736 + ($29 + -5 << 2) | 0; + HEAP32[$arrayidx205 >> 2] = (HEAP32[$arrayidx205 >> 2] | 0) + $j$0; + $arrayidx208 = $labelInfo + 1310736 + ($29 + -4 << 2) | 0; + if ((HEAP32[$arrayidx208 >> 2] | 0) > ($i$2 | 0)) HEAP32[$arrayidx208 >> 2] = $i$2; + HEAP32[$labelInfo + 1310736 + ($29 + -1 << 2) >> 2] = $j$0; + $wk_max$2 = $wk_max$1; break; } - $102 = HEAP32[$4 + 1179664 + ($53 + -1 << 2) >> 2] | 0; - $105 = HEAP32[$4 + 1179664 + (($97 << 16 >> 16) + -1 << 2) >> 2] | 0; - L60 : do if (($102 | 0) <= ($105 | 0)) { - HEAP16[$$3 >> 1] = $102; - if (($102 | 0) < ($105 | 0)) { - $$3375 = $19; - $$3379 = 0; + $20 = HEAP32[$labelInfo + 1179664 + ($conv59 + -1 << 2) >> 2] | 0; + $21 = HEAP32[$labelInfo + 1179664 + (($19 << 16 >> 16) + -1 << 2) >> 2] | 0; + L60 : do if (($20 | 0) <= ($21 | 0)) { + HEAP16[$pnt2$3 >> 1] = $20; + if (($20 | 0) < ($21 | 0)) { + $k$3 = 0; + $wk$3 = $arraydecay; while (1) { - if (($$3379 | 0) >= ($$1389 | 0)) { - $120 = $102; + if (($k$3 | 0) >= ($wk_max$1 | 0)) { + $24 = $20; break L60; } - if ((HEAP32[$$3375 >> 2] | 0) == ($105 | 0)) HEAP32[$$3375 >> 2] = $102; - $$3375 = $$3375 + 4 | 0; - $$3379 = $$3379 + 1 | 0; + if ((HEAP32[$wk$3 >> 2] | 0) == ($21 | 0)) HEAP32[$wk$3 >> 2] = $20; + $k$3 = $k$3 + 1 | 0; + $wk$3 = $wk$3 + 4 | 0; } - } else $120 = $102; + } else $24 = $20; } else { - HEAP16[$$3 >> 1] = $105; - $$2374 = $19; - $$2378 = 0; + HEAP16[$pnt2$3 >> 1] = $21; + $k$2 = 0; + $wk$2 = $arraydecay; while (1) { - if (($$2378 | 0) >= ($$1389 | 0)) { - $120 = $105; + if (($k$2 | 0) >= ($wk_max$1 | 0)) { + $24 = $21; break L60; } - if ((HEAP32[$$2374 >> 2] | 0) == ($102 | 0)) HEAP32[$$2374 >> 2] = $105; - $$2374 = $$2374 + 4 | 0; - $$2378 = $$2378 + 1 | 0; + if ((HEAP32[$wk$2 >> 2] | 0) == ($20 | 0)) HEAP32[$wk$2 >> 2] = $21; + $k$2 = $k$2 + 1 | 0; + $wk$2 = $wk$2 + 4 | 0; } } while (0); - $122 = ($120 << 16 >> 16) * 7 | 0; - $124 = $4 + 1310736 + ($122 + -7 << 2) | 0; - HEAP32[$124 >> 2] = (HEAP32[$124 >> 2] | 0) + 1; - $128 = $4 + 1310736 + ($122 + -6 << 2) | 0; - HEAP32[$128 >> 2] = (HEAP32[$128 >> 2] | 0) + $$2385; - $132 = $4 + 1310736 + ($122 + -5 << 2) | 0; - HEAP32[$132 >> 2] = (HEAP32[$132 >> 2] | 0) + $$0380; - $$2390 = $$1389; + $25 = ($24 << 16 >> 16) * 7 | 0; + $arrayidx185 = $labelInfo + 1310736 + ($25 + -7 << 2) | 0; + HEAP32[$arrayidx185 >> 2] = (HEAP32[$arrayidx185 >> 2] | 0) + 1; + $arrayidx188 = $labelInfo + 1310736 + ($25 + -6 << 2) | 0; + HEAP32[$arrayidx188 >> 2] = (HEAP32[$arrayidx188 >> 2] | 0) + $i$2; + $arrayidx191 = $labelInfo + 1310736 + ($25 + -5 << 2) | 0; + HEAP32[$arrayidx191 >> 2] = (HEAP32[$arrayidx191 >> 2] | 0) + $j$0; + $wk_max$2 = $wk_max$1; } else { - HEAP16[$$3 >> 1] = 0; - HEAP8[$$1392 >> 0] = 0; - $$2390 = $$1389; + HEAP16[$pnt2$3 >> 1] = 0; + $wk_max$2 = $wk_max$1; } while (0); - $$1 = $$1 + 1 | 0; - $$1389 = $$2390; - $$1392 = $$1392 + 1 | 0; - $$2385 = $$2385 + 1 | 0; - $$3 = $$3 + 2 | 0; - } - $$0367 = $$1 + 2 | 0; - $$0380 = $$0380 + 1 | 0; - $$0388 = $$1389; - $$0391 = $$1392 + 2 | 0; - $$2 = $$3 + 4 | 0; + $i$2 = $i$2 + 1 | 0; + $pnt$1 = $pnt$1 + 1 | 0; + $pnt2$3 = $pnt2$3 + 2 | 0; + $pnt_thresh$1 = $pnt_thresh$1 + 1 | 0; + $wk_max$1 = $wk_max$2; + } + $j$0 = $j$0 + 1 | 0; + $pnt$0 = $pnt$1 + 2 | 0; + $pnt2$2 = $pnt2$3 + 4 | 0; + $pnt_thresh$0 = $pnt_thresh$1 + 2 | 0; + $wk_max$0 = $wk_max$1; } L80 : do if ((label | 0) == 54) { _arLog(0, 3, 23780, $vararg_buffer); - $$0 = -1; + $retval$0 = -1; } else if ((label | 0) == 59) { - $221 = $4 + 12 | 0; - $$1381 = 1; - $$3386 = 1; - $$4 = $19; + $arrayidx321 = $labelInfo + 12 | 0; + $i$3 = 1; + $j$1 = 1; + $wk$4 = $arraydecay; while (1) { - if (($$3386 | 0) > ($$0388 | 0)) break; - $223 = HEAP32[$$4 >> 2] | 0; - if (($223 | 0) == ($$3386 | 0)) { - $$2382 = $$1381 + 1 | 0; - $229 = $$1381; + if (($i$3 | 0) > ($wk_max$0 | 0)) break; + $45 = HEAP32[$wk$4 >> 2] | 0; + if (($45 | 0) == ($i$3 | 0)) { + $cond = $j$1; + $j$2 = $j$1 + 1 | 0; } else { - $$2382 = $$1381; - $229 = HEAP32[$4 + 1179664 + ($223 + -1 << 2) >> 2] | 0; - } - HEAP32[$$4 >> 2] = $229; - $$1381 = $$2382; - $$3386 = $$3386 + 1 | 0; - $$4 = $$4 + 4 | 0; - } - $232 = $4 + 8 | 0; - $233 = $$1381 + -1 | 0; - HEAP32[$232 >> 2] = $233; - if (!$233) $$0 = 0; else { - _memset($221 | 0, 0, $233 << 2 | 0) | 0; - _memset($4 + 655376 | 0, 0, $233 << 4 | 0) | 0; - $$4387 = 0; + $cond = HEAP32[$labelInfo + 1179664 + ($45 + -1 << 2) >> 2] | 0; + $j$2 = $j$1; + } + HEAP32[$wk$4 >> 2] = $cond; + $i$3 = $i$3 + 1 | 0; + $j$1 = $j$2; + $wk$4 = $wk$4 + 4 | 0; + } + $label_num319 = $labelInfo + 8 | 0; + $sub342 = $j$1 + -1 | 0; + HEAP32[$label_num319 >> 2] = $sub342; + if (!$sub342) $retval$0 = 0; else { + _memset($arrayidx321 | 0, 0, $sub342 << 2 | 0) | 0; + _memset($labelInfo + 655376 | 0, 0, $sub342 << 4 | 0) | 0; + $i$4 = 0; while (1) { - if (($$4387 | 0) >= ($233 | 0)) break; - $239 = $$4387 << 2; - HEAP32[$4 + 131084 + ($239 << 2) >> 2] = $1; - HEAP32[$4 + 131084 + (($239 | 1) << 2) >> 2] = 0; - HEAP32[$4 + 131084 + (($239 | 2) << 2) >> 2] = $2; - HEAP32[$4 + 131084 + (($239 | 3) << 2) >> 2] = 0; - $$4387 = $$4387 + 1 | 0; - } - $$5 = 0; + if (($i$4 | 0) >= ($sub342 | 0)) break; + $mul354 = $i$4 << 2; + HEAP32[$labelInfo + 131084 + ($mul354 << 2) >> 2] = $xsize; + HEAP32[$labelInfo + 131084 + (($mul354 | 1) << 2) >> 2] = 0; + HEAP32[$labelInfo + 131084 + (($mul354 | 2) << 2) >> 2] = $ysize; + HEAP32[$labelInfo + 131084 + (($mul354 | 3) << 2) >> 2] = 0; + $i$4 = $i$4 + 1 | 0; + } + $i$5 = 0; while (1) { - if (($$5 | 0) >= ($$0388 | 0)) break; - $251 = (HEAP32[$4 + 1179664 + ($$5 << 2) >> 2] | 0) + -1 | 0; - $252 = $$5 * 7 | 0; - $255 = $4 + 12 + ($251 << 2) | 0; - HEAP32[$255 >> 2] = (HEAP32[$255 >> 2] | 0) + (HEAP32[$4 + 1310736 + ($252 << 2) >> 2] | 0); - $262 = $251 << 1; - $263 = $4 + 655376 + ($262 << 3) | 0; - HEAPF64[$263 >> 3] = +HEAPF64[$263 >> 3] + +(HEAP32[$4 + 1310736 + ($252 + 1 << 2) >> 2] | 0); - $271 = $4 + 655376 + (($262 | 1) << 3) | 0; - HEAPF64[$271 >> 3] = +HEAPF64[$271 >> 3] + +(HEAP32[$4 + 1310736 + ($252 + 2 << 2) >> 2] | 0); - $274 = $251 << 2; - $275 = $4 + 131084 + ($274 << 2) | 0; - $279 = HEAP32[$4 + 1310736 + ($252 + 3 << 2) >> 2] | 0; - if ((HEAP32[$275 >> 2] | 0) > ($279 | 0)) HEAP32[$275 >> 2] = $279; - $282 = $4 + 131084 + (($274 | 1) << 2) | 0; - $286 = HEAP32[$4 + 1310736 + ($252 + 4 << 2) >> 2] | 0; - if ((HEAP32[$282 >> 2] | 0) < ($286 | 0)) HEAP32[$282 >> 2] = $286; - $289 = $4 + 131084 + (($274 | 2) << 2) | 0; - $293 = HEAP32[$4 + 1310736 + ($252 + 5 << 2) >> 2] | 0; - if ((HEAP32[$289 >> 2] | 0) > ($293 | 0)) HEAP32[$289 >> 2] = $293; - $296 = $4 + 131084 + (($274 | 3) << 2) | 0; - $300 = HEAP32[$4 + 1310736 + ($252 + 6 << 2) >> 2] | 0; - if ((HEAP32[$296 >> 2] | 0) < ($300 | 0)) HEAP32[$296 >> 2] = $300; - $$5 = $$5 + 1 | 0; - } - $303 = HEAP32[$232 >> 2] | 0; - $$6 = 0; + if (($i$5 | 0) >= ($wk_max$0 | 0)) break; + $sub374 = (HEAP32[$labelInfo + 1179664 + ($i$5 << 2) >> 2] | 0) + -1 | 0; + $mul375 = $i$5 * 7 | 0; + $arrayidx378 = $labelInfo + 12 + ($sub374 << 2) | 0; + HEAP32[$arrayidx378 >> 2] = (HEAP32[$arrayidx378 >> 2] | 0) + (HEAP32[$labelInfo + 1310736 + ($mul375 << 2) >> 2] | 0); + $mul384 = $sub374 << 1; + $arrayidx386 = $labelInfo + 655376 + ($mul384 << 3) | 0; + HEAPF64[$arrayidx386 >> 3] = +HEAPF64[$arrayidx386 >> 3] + +(HEAP32[$labelInfo + 1310736 + ($mul375 + 1 << 2) >> 2] | 0); + $arrayidx394 = $labelInfo + 655376 + (($mul384 | 1) << 3) | 0; + HEAPF64[$arrayidx394 >> 3] = +HEAPF64[$arrayidx394 >> 3] + +(HEAP32[$labelInfo + 1310736 + ($mul375 + 2 << 2) >> 2] | 0); + $mul396 = $sub374 << 2; + $arrayidx398 = $labelInfo + 131084 + ($mul396 << 2) | 0; + $55 = HEAP32[$labelInfo + 1310736 + ($mul375 + 3 << 2) >> 2] | 0; + if ((HEAP32[$arrayidx398 >> 2] | 0) > ($55 | 0)) HEAP32[$arrayidx398 >> 2] = $55; + $arrayidx414 = $labelInfo + 131084 + (($mul396 | 1) << 2) | 0; + $57 = HEAP32[$labelInfo + 1310736 + ($mul375 + 4 << 2) >> 2] | 0; + if ((HEAP32[$arrayidx414 >> 2] | 0) < ($57 | 0)) HEAP32[$arrayidx414 >> 2] = $57; + $arrayidx430 = $labelInfo + 131084 + (($mul396 | 2) << 2) | 0; + $59 = HEAP32[$labelInfo + 1310736 + ($mul375 + 5 << 2) >> 2] | 0; + if ((HEAP32[$arrayidx430 >> 2] | 0) > ($59 | 0)) HEAP32[$arrayidx430 >> 2] = $59; + $arrayidx446 = $labelInfo + 131084 + (($mul396 | 3) << 2) | 0; + $61 = HEAP32[$labelInfo + 1310736 + ($mul375 + 6 << 2) >> 2] | 0; + if ((HEAP32[$arrayidx446 >> 2] | 0) < ($61 | 0)) HEAP32[$arrayidx446 >> 2] = $61; + $i$5 = $i$5 + 1 | 0; + } + $62 = HEAP32[$label_num319 >> 2] | 0; + $i$6 = 0; while (1) { - if (($$6 | 0) >= ($303 | 0)) { - $$0 = 0; + if (($i$6 | 0) >= ($62 | 0)) { + $retval$0 = 0; break L80; } - $307 = +(HEAP32[$4 + 12 + ($$6 << 2) >> 2] | 0); - $308 = $$6 << 1; - $309 = $4 + 655376 + ($308 << 3) | 0; - HEAPF64[$309 >> 3] = +HEAPF64[$309 >> 3] / $307; - $313 = $4 + 655376 + (($308 | 1) << 3) | 0; - HEAPF64[$313 >> 3] = +HEAPF64[$313 >> 3] / $307; - $$6 = $$6 + 1 | 0; + $conv468 = +(HEAP32[$labelInfo + 12 + ($i$6 << 2) >> 2] | 0); + $mul469 = $i$6 << 1; + $arrayidx471 = $labelInfo + 655376 + ($mul469 << 3) | 0; + HEAPF64[$arrayidx471 >> 3] = +HEAPF64[$arrayidx471 >> 3] / $conv468; + $arrayidx476 = $labelInfo + 655376 + (($mul469 | 1) << 3) | 0; + HEAPF64[$arrayidx476 >> 3] = +HEAPF64[$arrayidx476 >> 3] / $conv468; + $i$6 = $i$6 + 1 | 0; } } } while (0); STACKTOP = sp; - return $$0 | 0; + return $retval$0 | 0; } -function _arLabelingSubEBRC($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $$0 = 0, $$0367 = 0, $$0368 = 0, $$0370 = 0, $$0372 = 0, $$0376 = 0, $$0380 = 0, $$0383 = 0, $$0388 = 0, $$0391 = 0, $$1 = 0, $$1369 = 0, $$1371 = 0, $$1373 = 0, $$1377 = 0, $$1381 = 0, $$1384 = 0, $$1389 = 0, $$1392 = 0, $$2 = 0, $$2374 = 0, $$2378 = 0, $$2382 = 0, $$2385 = 0, $$2390 = 0, $$3 = 0, $$3375 = 0, $$3379 = 0, $$3386 = 0, $$4 = 0, $$4387 = 0, $$5 = 0, $$6 = 0, $102 = 0, $105 = 0, $120 = 0, $122 = 0, $124 = 0, $128 = 0, $13 = 0, $132 = 0, $135 = 0, $137 = 0, $141 = 0, $145 = 0, $149 = 0, $154 = 0, $156 = 0, $160 = 0, $164 = 0, $168 = 0, $174 = 0, $177 = 0, $179 = 0, $183 = 0, $187 = 0, $19 = 0, $191 = 0, $194 = 0, $199 = 0, $20 = 0, $221 = 0, $223 = 0, $229 = 0, $232 = 0, $233 = 0, $239 = 0, $251 = 0, $252 = 0, $255 = 0, $26 = 0, $262 = 0, $263 = 0, $271 = 0, $274 = 0, $275 = 0, $279 = 0, $282 = 0, $286 = 0, $289 = 0, $293 = 0, $296 = 0, $300 = 0, $303 = 0, $307 = 0.0, $308 = 0, $309 = 0, $313 = 0, $32 = 0, $33 = 0, $36 = 0, $38 = 0, $42 = 0, $46 = 0, $5 = 0, $52 = 0, $53 = 0, $56 = 0, $57 = 0, $58 = 0, $6 = 0, $61 = 0, $64 = 0, $79 = 0, $81 = 0, $83 = 0, $87 = 0, $91 = 0, $97 = 0, $vararg_buffer = 0, label = 0, sp = 0; +function _arLabelingSubDBZ($image, $xsize, $ysize, $image_thresh, $labelInfo) { + $image = $image | 0; + $xsize = $xsize | 0; + $ysize = $ysize | 0; + $image_thresh = $image_thresh | 0; + $labelInfo = $labelInfo | 0; + var $0 = 0, $10 = 0, $11 = 0, $14 = 0, $15 = 0, $19 = 0, $20 = 0, $21 = 0, $24 = 0, $25 = 0, $29 = 0, $3 = 0, $34 = 0, $39 = 0, $4 = 0, $40 = 0, $45 = 0, $55 = 0, $57 = 0, $59 = 0, $61 = 0, $62 = 0, $8 = 0, $9 = 0, $add = 0, $arraydecay = 0, $arrayidx118 = 0, $arrayidx121 = 0, $arrayidx124 = 0, $arrayidx185 = 0, $arrayidx188 = 0, $arrayidx191 = 0, $arrayidx199 = 0, $arrayidx202 = 0, $arrayidx205 = 0, $arrayidx208 = 0, $arrayidx230 = 0, $arrayidx233 = 0, $arrayidx236 = 0, $arrayidx239 = 0, $arrayidx259 = 0, $arrayidx262 = 0, $arrayidx265 = 0, $arrayidx268 = 0, $arrayidx321 = 0, $arrayidx378 = 0, $arrayidx386 = 0, $arrayidx39 = 0, $arrayidx394 = 0, $arrayidx398 = 0, $arrayidx414 = 0, $arrayidx430 = 0, $arrayidx446 = 0, $arrayidx471 = 0, $arrayidx476 = 0, $arrayidx48 = 0, $arrayidx51 = 0, $arrayidx54 = 0, $cmp65 = 0, $cond = 0, $conv468 = 0.0, $conv59 = 0, $conv64 = 0, $i$0 = 0, $i$1 = 0, $i$2 = 0, $i$3 = 0, $i$4 = 0, $i$5 = 0, $i$6 = 0, $inc276 = 0, $j$0 = 0, $j$1 = 0, $j$2 = 0, $k$0 = 0, $k$1 = 0, $k$2 = 0, $k$3 = 0, $label_num319 = 0, $mul286 = 0, $mul354 = 0, $mul375 = 0, $mul384 = 0, $mul396 = 0, $mul469 = 0, $pnt$0 = 0, $pnt$1 = 0, $pnt1$0 = 0, $pnt1$1 = 0, $pnt2$0 = 0, $pnt2$1 = 0, $pnt2$2 = 0, $pnt2$3 = 0, $pnt_thresh$0 = 0, $pnt_thresh$1 = 0, $retval$0 = 0, $sub = 0, $sub342 = 0, $sub374 = 0, $sub38 = 0, $sub7 = 0, $vararg_buffer = 0, $wk$0 = 0, $wk$1 = 0, $wk$2 = 0, $wk$3 = 0, $wk$4 = 0, $wk_max$0 = 0, $wk_max$1 = 0, $wk_max$2 = 0, label = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); $vararg_buffer = sp; - $5 = HEAP32[$4 >> 2] | 0; - $6 = $2 + -1 | 0; - $$0368 = $5; - $$0370 = $5 + ((Math_imul($6, $1) | 0) << 1) | 0; - $$0383 = 0; + $0 = HEAP32[$labelInfo >> 2] | 0; + $sub = $ysize + -1 | 0; + $i$0 = 0; + $pnt1$0 = $0; + $pnt2$0 = $0 + ((Math_imul($sub, $xsize) | 0) << 1) | 0; while (1) { - if (($$0383 | 0) >= ($1 | 0)) break; - HEAP16[$$0370 >> 1] = 0; - HEAP16[$$0368 >> 1] = 0; - $$0368 = $$0368 + 2 | 0; - $$0370 = $$0370 + 2 | 0; - $$0383 = $$0383 + 1 | 0; - } - $13 = $1 + -1 | 0; - $$1369 = $5; - $$1371 = $5 + ($13 << 1) | 0; - $$1384 = 0; + if (($i$0 | 0) >= ($xsize | 0)) break; + HEAP16[$pnt2$0 >> 1] = 0; + HEAP16[$pnt1$0 >> 1] = 0; + $i$0 = $i$0 + 1 | 0; + $pnt1$0 = $pnt1$0 + 2 | 0; + $pnt2$0 = $pnt2$0 + 2 | 0; + } + $sub7 = $xsize + -1 | 0; + $i$1 = 0; + $pnt1$1 = $0; + $pnt2$1 = $0 + ($sub7 << 1) | 0; while (1) { - if (($$1384 | 0) >= ($2 | 0)) break; - HEAP16[$$1371 >> 1] = 0; - HEAP16[$$1369 >> 1] = 0; - $$1369 = $$1369 + ($1 << 1) | 0; - $$1371 = $$1371 + ($1 << 1) | 0; - $$1384 = $$1384 + 1 | 0; - } - $19 = $4 + 1179664 | 0; - $20 = $1 + 1 | 0; - $26 = 0 - $1 | 0; - $$0367 = $0 + $20 | 0; - $$0380 = 1; - $$0388 = 0; - $$0391 = (HEAP32[$4 + 4 >> 2] | 0) + $20 | 0; - $$2 = $5 + ($20 << 1) | 0; + if (($i$1 | 0) >= ($ysize | 0)) break; + HEAP16[$pnt2$1 >> 1] = 0; + HEAP16[$pnt1$1 >> 1] = 0; + $i$1 = $i$1 + 1 | 0; + $pnt1$1 = $pnt1$1 + ($xsize << 1) | 0; + $pnt2$1 = $pnt2$1 + ($xsize << 1) | 0; + } + $arraydecay = $labelInfo + 1179664 | 0; + $add = $xsize + 1 | 0; + $sub38 = 0 - $xsize | 0; + $j$0 = 1; + $pnt$0 = $image + $add | 0; + $pnt2$2 = $0 + ($add << 1) | 0; + $pnt_thresh$0 = $image_thresh + $add | 0; + $wk_max$0 = 0; L9 : while (1) { - if (($$0380 | 0) >= ($6 | 0)) { + if (($j$0 | 0) >= ($sub | 0)) { label = 59; break; } - $$1 = $$0367; - $$1389 = $$0388; - $$1392 = $$0391; - $$2385 = 1; - $$3 = $$2; + $i$2 = 1; + $pnt$1 = $pnt$0; + $pnt2$3 = $pnt2$2; + $pnt_thresh$1 = $pnt_thresh$0; + $wk_max$1 = $wk_max$0; while (1) { - if (($$2385 | 0) >= ($13 | 0)) break; - do if ((HEAPU8[$$1 >> 0] | 0 | 0) > ($3 | 0)) { - HEAP16[$$3 >> 1] = 0; - HEAP8[$$1392 >> 0] = 0; - $$2390 = $$1389; + if (($i$2 | 0) >= ($sub7 | 0)) break; + do if ((HEAPU8[$pnt$1 >> 0] | 0) > (HEAPU8[$pnt_thresh$1 >> 0] | 0)) { + HEAP16[$pnt2$3 >> 1] = 0; + $wk_max$2 = $wk_max$1; } else { - HEAP8[$$1392 >> 0] = -1; - $32 = $$3 + ($26 << 1) | 0; - $33 = HEAP16[$32 >> 1] | 0; - if ($33 << 16 >> 16 > 0) { - HEAP16[$$3 >> 1] = $33; - $36 = ($33 << 16 >> 16) * 7 | 0; - $38 = $4 + 1310736 + ($36 + -7 << 2) | 0; - HEAP32[$38 >> 2] = (HEAP32[$38 >> 2] | 0) + 1; - $42 = $4 + 1310736 + ($36 + -6 << 2) | 0; - HEAP32[$42 >> 2] = (HEAP32[$42 >> 2] | 0) + $$2385; - $46 = $4 + 1310736 + ($36 + -5 << 2) | 0; - HEAP32[$46 >> 2] = (HEAP32[$46 >> 2] | 0) + $$0380; - HEAP32[$4 + 1310736 + ($36 + -1 << 2) >> 2] = $$0380; - $$2390 = $$1389; + $arrayidx39 = $pnt2$3 + ($sub38 << 1) | 0; + $3 = HEAP16[$arrayidx39 >> 1] | 0; + if ($3 << 16 >> 16 > 0) { + HEAP16[$pnt2$3 >> 1] = $3; + $4 = ($3 << 16 >> 16) * 7 | 0; + $arrayidx48 = $labelInfo + 1310736 + ($4 + -7 << 2) | 0; + HEAP32[$arrayidx48 >> 2] = (HEAP32[$arrayidx48 >> 2] | 0) + 1; + $arrayidx51 = $labelInfo + 1310736 + ($4 + -6 << 2) | 0; + HEAP32[$arrayidx51 >> 2] = (HEAP32[$arrayidx51 >> 2] | 0) + $i$2; + $arrayidx54 = $labelInfo + 1310736 + ($4 + -5 << 2) | 0; + HEAP32[$arrayidx54 >> 2] = (HEAP32[$arrayidx54 >> 2] | 0) + $j$0; + HEAP32[$labelInfo + 1310736 + ($4 + -1 << 2) >> 2] = $j$0; + $wk_max$2 = $wk_max$1; break; } - $52 = HEAP16[$32 + 2 >> 1] | 0; - $53 = $52 << 16 >> 16; - $56 = HEAP16[$32 + -2 >> 1] | 0; - $57 = $56 << 16 >> 16; - $58 = $56 << 16 >> 16 > 0; - if ($52 << 16 >> 16 <= 0) { - if ($58) { - HEAP16[$$3 >> 1] = $56; - $154 = $57 * 7 | 0; - $156 = $4 + 1310736 + ($154 + -7 << 2) | 0; - HEAP32[$156 >> 2] = (HEAP32[$156 >> 2] | 0) + 1; - $160 = $4 + 1310736 + ($154 + -6 << 2) | 0; - HEAP32[$160 >> 2] = (HEAP32[$160 >> 2] | 0) + $$2385; - $164 = $4 + 1310736 + ($154 + -5 << 2) | 0; - HEAP32[$164 >> 2] = (HEAP32[$164 >> 2] | 0) + $$0380; - $168 = $4 + 1310736 + ($154 + -3 << 2) | 0; - if ((HEAP32[$168 >> 2] | 0) < ($$2385 | 0)) HEAP32[$168 >> 2] = $$2385; - HEAP32[$4 + 1310736 + ($154 + -1 << 2) >> 2] = $$0380; - $$2390 = $$1389; + $8 = HEAP16[$arrayidx39 + 2 >> 1] | 0; + $conv59 = $8 << 16 >> 16; + $9 = HEAP16[$arrayidx39 + -2 >> 1] | 0; + $conv64 = $9 << 16 >> 16; + $cmp65 = $9 << 16 >> 16 > 0; + if ($8 << 16 >> 16 <= 0) { + if ($cmp65) { + HEAP16[$pnt2$3 >> 1] = $9; + $34 = $conv64 * 7 | 0; + $arrayidx230 = $labelInfo + 1310736 + ($34 + -7 << 2) | 0; + HEAP32[$arrayidx230 >> 2] = (HEAP32[$arrayidx230 >> 2] | 0) + 1; + $arrayidx233 = $labelInfo + 1310736 + ($34 + -6 << 2) | 0; + HEAP32[$arrayidx233 >> 2] = (HEAP32[$arrayidx233 >> 2] | 0) + $i$2; + $arrayidx236 = $labelInfo + 1310736 + ($34 + -5 << 2) | 0; + HEAP32[$arrayidx236 >> 2] = (HEAP32[$arrayidx236 >> 2] | 0) + $j$0; + $arrayidx239 = $labelInfo + 1310736 + ($34 + -3 << 2) | 0; + if ((HEAP32[$arrayidx239 >> 2] | 0) < ($i$2 | 0)) HEAP32[$arrayidx239 >> 2] = $i$2; + HEAP32[$labelInfo + 1310736 + ($34 + -1 << 2) >> 2] = $j$0; + $wk_max$2 = $wk_max$1; break; } - $174 = HEAP16[$$3 + -2 >> 1] | 0; - if ($174 << 16 >> 16 > 0) { - HEAP16[$$3 >> 1] = $174; - $177 = ($174 << 16 >> 16) * 7 | 0; - $179 = $4 + 1310736 + ($177 + -7 << 2) | 0; - HEAP32[$179 >> 2] = (HEAP32[$179 >> 2] | 0) + 1; - $183 = $4 + 1310736 + ($177 + -6 << 2) | 0; - HEAP32[$183 >> 2] = (HEAP32[$183 >> 2] | 0) + $$2385; - $187 = $4 + 1310736 + ($177 + -5 << 2) | 0; - HEAP32[$187 >> 2] = (HEAP32[$187 >> 2] | 0) + $$0380; - $191 = $4 + 1310736 + ($177 + -3 << 2) | 0; - if ((HEAP32[$191 >> 2] | 0) >= ($$2385 | 0)) { - $$2390 = $$1389; + $39 = HEAP16[$pnt2$3 + -2 >> 1] | 0; + if ($39 << 16 >> 16 > 0) { + HEAP16[$pnt2$3 >> 1] = $39; + $40 = ($39 << 16 >> 16) * 7 | 0; + $arrayidx259 = $labelInfo + 1310736 + ($40 + -7 << 2) | 0; + HEAP32[$arrayidx259 >> 2] = (HEAP32[$arrayidx259 >> 2] | 0) + 1; + $arrayidx262 = $labelInfo + 1310736 + ($40 + -6 << 2) | 0; + HEAP32[$arrayidx262 >> 2] = (HEAP32[$arrayidx262 >> 2] | 0) + $i$2; + $arrayidx265 = $labelInfo + 1310736 + ($40 + -5 << 2) | 0; + HEAP32[$arrayidx265 >> 2] = (HEAP32[$arrayidx265 >> 2] | 0) + $j$0; + $arrayidx268 = $labelInfo + 1310736 + ($40 + -3 << 2) | 0; + if ((HEAP32[$arrayidx268 >> 2] | 0) >= ($i$2 | 0)) { + $wk_max$2 = $wk_max$1; break; } - HEAP32[$191 >> 2] = $$2385; - $$2390 = $$1389; + HEAP32[$arrayidx268 >> 2] = $i$2; + $wk_max$2 = $wk_max$1; break; } else { - $194 = $$1389 + 1 | 0; - if (($$1389 | 0) > 32767) { + $inc276 = $wk_max$1 + 1 | 0; + if (($wk_max$1 | 0) > 32767) { label = 54; break L9; } - HEAP16[$$3 >> 1] = $194; - HEAP32[$4 + 1179664 + ($$1389 << 2) >> 2] = $194 << 16 >> 16; - $199 = $$1389 * 7 | 0; - HEAP32[$4 + 1310736 + ($199 << 2) >> 2] = 1; - HEAP32[$4 + 1310736 + ($199 + 1 << 2) >> 2] = $$2385; - HEAP32[$4 + 1310736 + ($199 + 2 << 2) >> 2] = $$0380; - HEAP32[$4 + 1310736 + ($199 + 3 << 2) >> 2] = $$2385; - HEAP32[$4 + 1310736 + ($199 + 4 << 2) >> 2] = $$2385; - HEAP32[$4 + 1310736 + ($199 + 5 << 2) >> 2] = $$0380; - HEAP32[$4 + 1310736 + ($199 + 6 << 2) >> 2] = $$0380; - $$2390 = $194; + HEAP16[$pnt2$3 >> 1] = $inc276; + HEAP32[$labelInfo + 1179664 + ($wk_max$1 << 2) >> 2] = $inc276 << 16 >> 16; + $mul286 = $wk_max$1 * 7 | 0; + HEAP32[$labelInfo + 1310736 + ($mul286 << 2) >> 2] = 1; + HEAP32[$labelInfo + 1310736 + ($mul286 + 1 << 2) >> 2] = $i$2; + HEAP32[$labelInfo + 1310736 + ($mul286 + 2 << 2) >> 2] = $j$0; + HEAP32[$labelInfo + 1310736 + ($mul286 + 3 << 2) >> 2] = $i$2; + HEAP32[$labelInfo + 1310736 + ($mul286 + 4 << 2) >> 2] = $i$2; + HEAP32[$labelInfo + 1310736 + ($mul286 + 5 << 2) >> 2] = $j$0; + HEAP32[$labelInfo + 1310736 + ($mul286 + 6 << 2) >> 2] = $j$0; + $wk_max$2 = $inc276; break; } } - if ($58) { - $61 = HEAP32[$4 + 1179664 + ($53 + -1 << 2) >> 2] | 0; - $64 = HEAP32[$4 + 1179664 + ($57 + -1 << 2) >> 2] | 0; - L37 : do if (($61 | 0) <= ($64 | 0)) { - HEAP16[$$3 >> 1] = $61; - if (($61 | 0) < ($64 | 0)) { - $$1373 = $19; - $$1377 = 0; + if ($cmp65) { + $10 = HEAP32[$labelInfo + 1179664 + ($conv59 + -1 << 2) >> 2] | 0; + $11 = HEAP32[$labelInfo + 1179664 + ($conv64 + -1 << 2) >> 2] | 0; + L37 : do if (($10 | 0) <= ($11 | 0)) { + HEAP16[$pnt2$3 >> 1] = $10; + if (($10 | 0) < ($11 | 0)) { + $k$1 = 0; + $wk$1 = $arraydecay; while (1) { - if (($$1377 | 0) >= ($$1389 | 0)) { - $79 = $61; + if (($k$1 | 0) >= ($wk_max$1 | 0)) { + $14 = $10; break L37; } - if ((HEAP32[$$1373 >> 2] | 0) == ($64 | 0)) HEAP32[$$1373 >> 2] = $61; - $$1373 = $$1373 + 4 | 0; - $$1377 = $$1377 + 1 | 0; + if ((HEAP32[$wk$1 >> 2] | 0) == ($11 | 0)) HEAP32[$wk$1 >> 2] = $10; + $k$1 = $k$1 + 1 | 0; + $wk$1 = $wk$1 + 4 | 0; } - } else $79 = $61; + } else $14 = $10; } else { - HEAP16[$$3 >> 1] = $64; - $$0372 = $19; - $$0376 = 0; + HEAP16[$pnt2$3 >> 1] = $11; + $k$0 = 0; + $wk$0 = $arraydecay; while (1) { - if (($$0376 | 0) >= ($$1389 | 0)) { - $79 = $64; + if (($k$0 | 0) >= ($wk_max$1 | 0)) { + $14 = $11; break L37; } - if ((HEAP32[$$0372 >> 2] | 0) == ($61 | 0)) HEAP32[$$0372 >> 2] = $64; - $$0372 = $$0372 + 4 | 0; - $$0376 = $$0376 + 1 | 0; + if ((HEAP32[$wk$0 >> 2] | 0) == ($10 | 0)) HEAP32[$wk$0 >> 2] = $11; + $k$0 = $k$0 + 1 | 0; + $wk$0 = $wk$0 + 4 | 0; } } while (0); - $81 = ($79 << 16 >> 16) * 7 | 0; - $83 = $4 + 1310736 + ($81 + -7 << 2) | 0; - HEAP32[$83 >> 2] = (HEAP32[$83 >> 2] | 0) + 1; - $87 = $4 + 1310736 + ($81 + -6 << 2) | 0; - HEAP32[$87 >> 2] = (HEAP32[$87 >> 2] | 0) + $$2385; - $91 = $4 + 1310736 + ($81 + -5 << 2) | 0; - HEAP32[$91 >> 2] = (HEAP32[$91 >> 2] | 0) + $$0380; - HEAP32[$4 + 1310736 + ($81 + -1 << 2) >> 2] = $$0380; - $$2390 = $$1389; + $15 = ($14 << 16 >> 16) * 7 | 0; + $arrayidx118 = $labelInfo + 1310736 + ($15 + -7 << 2) | 0; + HEAP32[$arrayidx118 >> 2] = (HEAP32[$arrayidx118 >> 2] | 0) + 1; + $arrayidx121 = $labelInfo + 1310736 + ($15 + -6 << 2) | 0; + HEAP32[$arrayidx121 >> 2] = (HEAP32[$arrayidx121 >> 2] | 0) + $i$2; + $arrayidx124 = $labelInfo + 1310736 + ($15 + -5 << 2) | 0; + HEAP32[$arrayidx124 >> 2] = (HEAP32[$arrayidx124 >> 2] | 0) + $j$0; + HEAP32[$labelInfo + 1310736 + ($15 + -1 << 2) >> 2] = $j$0; + $wk_max$2 = $wk_max$1; break; } - $97 = HEAP16[$$3 + -2 >> 1] | 0; - if ($97 << 16 >> 16 <= 0) { - HEAP16[$$3 >> 1] = $52; - $135 = $53 * 7 | 0; - $137 = $4 + 1310736 + ($135 + -7 << 2) | 0; - HEAP32[$137 >> 2] = (HEAP32[$137 >> 2] | 0) + 1; - $141 = $4 + 1310736 + ($135 + -6 << 2) | 0; - HEAP32[$141 >> 2] = (HEAP32[$141 >> 2] | 0) + $$2385; - $145 = $4 + 1310736 + ($135 + -5 << 2) | 0; - HEAP32[$145 >> 2] = (HEAP32[$145 >> 2] | 0) + $$0380; - $149 = $4 + 1310736 + ($135 + -4 << 2) | 0; - if ((HEAP32[$149 >> 2] | 0) > ($$2385 | 0)) HEAP32[$149 >> 2] = $$2385; - HEAP32[$4 + 1310736 + ($135 + -1 << 2) >> 2] = $$0380; - $$2390 = $$1389; + $19 = HEAP16[$pnt2$3 + -2 >> 1] | 0; + if ($19 << 16 >> 16 <= 0) { + HEAP16[$pnt2$3 >> 1] = $8; + $29 = $conv59 * 7 | 0; + $arrayidx199 = $labelInfo + 1310736 + ($29 + -7 << 2) | 0; + HEAP32[$arrayidx199 >> 2] = (HEAP32[$arrayidx199 >> 2] | 0) + 1; + $arrayidx202 = $labelInfo + 1310736 + ($29 + -6 << 2) | 0; + HEAP32[$arrayidx202 >> 2] = (HEAP32[$arrayidx202 >> 2] | 0) + $i$2; + $arrayidx205 = $labelInfo + 1310736 + ($29 + -5 << 2) | 0; + HEAP32[$arrayidx205 >> 2] = (HEAP32[$arrayidx205 >> 2] | 0) + $j$0; + $arrayidx208 = $labelInfo + 1310736 + ($29 + -4 << 2) | 0; + if ((HEAP32[$arrayidx208 >> 2] | 0) > ($i$2 | 0)) HEAP32[$arrayidx208 >> 2] = $i$2; + HEAP32[$labelInfo + 1310736 + ($29 + -1 << 2) >> 2] = $j$0; + $wk_max$2 = $wk_max$1; break; } - $102 = HEAP32[$4 + 1179664 + ($53 + -1 << 2) >> 2] | 0; - $105 = HEAP32[$4 + 1179664 + (($97 << 16 >> 16) + -1 << 2) >> 2] | 0; - L61 : do if (($102 | 0) <= ($105 | 0)) { - HEAP16[$$3 >> 1] = $102; - if (($102 | 0) < ($105 | 0)) { - $$3375 = $19; - $$3379 = 0; + $20 = HEAP32[$labelInfo + 1179664 + ($conv59 + -1 << 2) >> 2] | 0; + $21 = HEAP32[$labelInfo + 1179664 + (($19 << 16 >> 16) + -1 << 2) >> 2] | 0; + L61 : do if (($20 | 0) <= ($21 | 0)) { + HEAP16[$pnt2$3 >> 1] = $20; + if (($20 | 0) < ($21 | 0)) { + $k$3 = 0; + $wk$3 = $arraydecay; while (1) { - if (($$3379 | 0) >= ($$1389 | 0)) { - $120 = $102; + if (($k$3 | 0) >= ($wk_max$1 | 0)) { + $24 = $20; break L61; } - if ((HEAP32[$$3375 >> 2] | 0) == ($105 | 0)) HEAP32[$$3375 >> 2] = $102; - $$3375 = $$3375 + 4 | 0; - $$3379 = $$3379 + 1 | 0; + if ((HEAP32[$wk$3 >> 2] | 0) == ($21 | 0)) HEAP32[$wk$3 >> 2] = $20; + $k$3 = $k$3 + 1 | 0; + $wk$3 = $wk$3 + 4 | 0; } - } else $120 = $102; + } else $24 = $20; } else { - HEAP16[$$3 >> 1] = $105; - $$2374 = $19; - $$2378 = 0; + HEAP16[$pnt2$3 >> 1] = $21; + $k$2 = 0; + $wk$2 = $arraydecay; while (1) { - if (($$2378 | 0) >= ($$1389 | 0)) { - $120 = $105; + if (($k$2 | 0) >= ($wk_max$1 | 0)) { + $24 = $21; break L61; } - if ((HEAP32[$$2374 >> 2] | 0) == ($102 | 0)) HEAP32[$$2374 >> 2] = $105; - $$2374 = $$2374 + 4 | 0; - $$2378 = $$2378 + 1 | 0; + if ((HEAP32[$wk$2 >> 2] | 0) == ($20 | 0)) HEAP32[$wk$2 >> 2] = $21; + $k$2 = $k$2 + 1 | 0; + $wk$2 = $wk$2 + 4 | 0; } } while (0); - $122 = ($120 << 16 >> 16) * 7 | 0; - $124 = $4 + 1310736 + ($122 + -7 << 2) | 0; - HEAP32[$124 >> 2] = (HEAP32[$124 >> 2] | 0) + 1; - $128 = $4 + 1310736 + ($122 + -6 << 2) | 0; - HEAP32[$128 >> 2] = (HEAP32[$128 >> 2] | 0) + $$2385; - $132 = $4 + 1310736 + ($122 + -5 << 2) | 0; - HEAP32[$132 >> 2] = (HEAP32[$132 >> 2] | 0) + $$0380; - $$2390 = $$1389; + $25 = ($24 << 16 >> 16) * 7 | 0; + $arrayidx185 = $labelInfo + 1310736 + ($25 + -7 << 2) | 0; + HEAP32[$arrayidx185 >> 2] = (HEAP32[$arrayidx185 >> 2] | 0) + 1; + $arrayidx188 = $labelInfo + 1310736 + ($25 + -6 << 2) | 0; + HEAP32[$arrayidx188 >> 2] = (HEAP32[$arrayidx188 >> 2] | 0) + $i$2; + $arrayidx191 = $labelInfo + 1310736 + ($25 + -5 << 2) | 0; + HEAP32[$arrayidx191 >> 2] = (HEAP32[$arrayidx191 >> 2] | 0) + $j$0; + $wk_max$2 = $wk_max$1; } while (0); - $$1 = $$1 + 1 | 0; - $$1389 = $$2390; - $$1392 = $$1392 + 1 | 0; - $$2385 = $$2385 + 1 | 0; - $$3 = $$3 + 2 | 0; - } - $$0367 = $$1 + 2 | 0; - $$0380 = $$0380 + 1 | 0; - $$0388 = $$1389; - $$0391 = $$1392 + 2 | 0; - $$2 = $$3 + 4 | 0; + $i$2 = $i$2 + 1 | 0; + $pnt$1 = $pnt$1 + 1 | 0; + $pnt2$3 = $pnt2$3 + 2 | 0; + $pnt_thresh$1 = $pnt_thresh$1 + 1 | 0; + $wk_max$1 = $wk_max$2; + } + $j$0 = $j$0 + 1 | 0; + $pnt$0 = $pnt$1 + 2 | 0; + $pnt2$2 = $pnt2$3 + 4 | 0; + $pnt_thresh$0 = $pnt_thresh$1 + 2 | 0; + $wk_max$0 = $wk_max$1; } L80 : do if ((label | 0) == 54) { _arLog(0, 3, 23780, $vararg_buffer); - $$0 = -1; + $retval$0 = -1; } else if ((label | 0) == 59) { - $221 = $4 + 12 | 0; - $$1381 = 1; - $$3386 = 1; - $$4 = $19; + $arrayidx321 = $labelInfo + 12 | 0; + $i$3 = 1; + $j$1 = 1; + $wk$4 = $arraydecay; while (1) { - if (($$3386 | 0) > ($$0388 | 0)) break; - $223 = HEAP32[$$4 >> 2] | 0; - if (($223 | 0) == ($$3386 | 0)) { - $$2382 = $$1381 + 1 | 0; - $229 = $$1381; + if (($i$3 | 0) > ($wk_max$0 | 0)) break; + $45 = HEAP32[$wk$4 >> 2] | 0; + if (($45 | 0) == ($i$3 | 0)) { + $cond = $j$1; + $j$2 = $j$1 + 1 | 0; } else { - $$2382 = $$1381; - $229 = HEAP32[$4 + 1179664 + ($223 + -1 << 2) >> 2] | 0; - } - HEAP32[$$4 >> 2] = $229; - $$1381 = $$2382; - $$3386 = $$3386 + 1 | 0; - $$4 = $$4 + 4 | 0; - } - $232 = $4 + 8 | 0; - $233 = $$1381 + -1 | 0; - HEAP32[$232 >> 2] = $233; - if (!$233) $$0 = 0; else { - _memset($221 | 0, 0, $233 << 2 | 0) | 0; - _memset($4 + 655376 | 0, 0, $233 << 4 | 0) | 0; - $$4387 = 0; + $cond = HEAP32[$labelInfo + 1179664 + ($45 + -1 << 2) >> 2] | 0; + $j$2 = $j$1; + } + HEAP32[$wk$4 >> 2] = $cond; + $i$3 = $i$3 + 1 | 0; + $j$1 = $j$2; + $wk$4 = $wk$4 + 4 | 0; + } + $label_num319 = $labelInfo + 8 | 0; + $sub342 = $j$1 + -1 | 0; + HEAP32[$label_num319 >> 2] = $sub342; + if (!$sub342) $retval$0 = 0; else { + _memset($arrayidx321 | 0, 0, $sub342 << 2 | 0) | 0; + _memset($labelInfo + 655376 | 0, 0, $sub342 << 4 | 0) | 0; + $i$4 = 0; while (1) { - if (($$4387 | 0) >= ($233 | 0)) break; - $239 = $$4387 << 2; - HEAP32[$4 + 131084 + ($239 << 2) >> 2] = $1; - HEAP32[$4 + 131084 + (($239 | 1) << 2) >> 2] = 0; - HEAP32[$4 + 131084 + (($239 | 2) << 2) >> 2] = $2; - HEAP32[$4 + 131084 + (($239 | 3) << 2) >> 2] = 0; - $$4387 = $$4387 + 1 | 0; - } - $$5 = 0; + if (($i$4 | 0) >= ($sub342 | 0)) break; + $mul354 = $i$4 << 2; + HEAP32[$labelInfo + 131084 + ($mul354 << 2) >> 2] = $xsize; + HEAP32[$labelInfo + 131084 + (($mul354 | 1) << 2) >> 2] = 0; + HEAP32[$labelInfo + 131084 + (($mul354 | 2) << 2) >> 2] = $ysize; + HEAP32[$labelInfo + 131084 + (($mul354 | 3) << 2) >> 2] = 0; + $i$4 = $i$4 + 1 | 0; + } + $i$5 = 0; while (1) { - if (($$5 | 0) >= ($$0388 | 0)) break; - $251 = (HEAP32[$4 + 1179664 + ($$5 << 2) >> 2] | 0) + -1 | 0; - $252 = $$5 * 7 | 0; - $255 = $4 + 12 + ($251 << 2) | 0; - HEAP32[$255 >> 2] = (HEAP32[$255 >> 2] | 0) + (HEAP32[$4 + 1310736 + ($252 << 2) >> 2] | 0); - $262 = $251 << 1; - $263 = $4 + 655376 + ($262 << 3) | 0; - HEAPF64[$263 >> 3] = +HEAPF64[$263 >> 3] + +(HEAP32[$4 + 1310736 + ($252 + 1 << 2) >> 2] | 0); - $271 = $4 + 655376 + (($262 | 1) << 3) | 0; - HEAPF64[$271 >> 3] = +HEAPF64[$271 >> 3] + +(HEAP32[$4 + 1310736 + ($252 + 2 << 2) >> 2] | 0); - $274 = $251 << 2; - $275 = $4 + 131084 + ($274 << 2) | 0; - $279 = HEAP32[$4 + 1310736 + ($252 + 3 << 2) >> 2] | 0; - if ((HEAP32[$275 >> 2] | 0) > ($279 | 0)) HEAP32[$275 >> 2] = $279; - $282 = $4 + 131084 + (($274 | 1) << 2) | 0; - $286 = HEAP32[$4 + 1310736 + ($252 + 4 << 2) >> 2] | 0; - if ((HEAP32[$282 >> 2] | 0) < ($286 | 0)) HEAP32[$282 >> 2] = $286; - $289 = $4 + 131084 + (($274 | 2) << 2) | 0; - $293 = HEAP32[$4 + 1310736 + ($252 + 5 << 2) >> 2] | 0; - if ((HEAP32[$289 >> 2] | 0) > ($293 | 0)) HEAP32[$289 >> 2] = $293; - $296 = $4 + 131084 + (($274 | 3) << 2) | 0; - $300 = HEAP32[$4 + 1310736 + ($252 + 6 << 2) >> 2] | 0; - if ((HEAP32[$296 >> 2] | 0) < ($300 | 0)) HEAP32[$296 >> 2] = $300; - $$5 = $$5 + 1 | 0; - } - $303 = HEAP32[$232 >> 2] | 0; - $$6 = 0; + if (($i$5 | 0) >= ($wk_max$0 | 0)) break; + $sub374 = (HEAP32[$labelInfo + 1179664 + ($i$5 << 2) >> 2] | 0) + -1 | 0; + $mul375 = $i$5 * 7 | 0; + $arrayidx378 = $labelInfo + 12 + ($sub374 << 2) | 0; + HEAP32[$arrayidx378 >> 2] = (HEAP32[$arrayidx378 >> 2] | 0) + (HEAP32[$labelInfo + 1310736 + ($mul375 << 2) >> 2] | 0); + $mul384 = $sub374 << 1; + $arrayidx386 = $labelInfo + 655376 + ($mul384 << 3) | 0; + HEAPF64[$arrayidx386 >> 3] = +HEAPF64[$arrayidx386 >> 3] + +(HEAP32[$labelInfo + 1310736 + ($mul375 + 1 << 2) >> 2] | 0); + $arrayidx394 = $labelInfo + 655376 + (($mul384 | 1) << 3) | 0; + HEAPF64[$arrayidx394 >> 3] = +HEAPF64[$arrayidx394 >> 3] + +(HEAP32[$labelInfo + 1310736 + ($mul375 + 2 << 2) >> 2] | 0); + $mul396 = $sub374 << 2; + $arrayidx398 = $labelInfo + 131084 + ($mul396 << 2) | 0; + $55 = HEAP32[$labelInfo + 1310736 + ($mul375 + 3 << 2) >> 2] | 0; + if ((HEAP32[$arrayidx398 >> 2] | 0) > ($55 | 0)) HEAP32[$arrayidx398 >> 2] = $55; + $arrayidx414 = $labelInfo + 131084 + (($mul396 | 1) << 2) | 0; + $57 = HEAP32[$labelInfo + 1310736 + ($mul375 + 4 << 2) >> 2] | 0; + if ((HEAP32[$arrayidx414 >> 2] | 0) < ($57 | 0)) HEAP32[$arrayidx414 >> 2] = $57; + $arrayidx430 = $labelInfo + 131084 + (($mul396 | 2) << 2) | 0; + $59 = HEAP32[$labelInfo + 1310736 + ($mul375 + 5 << 2) >> 2] | 0; + if ((HEAP32[$arrayidx430 >> 2] | 0) > ($59 | 0)) HEAP32[$arrayidx430 >> 2] = $59; + $arrayidx446 = $labelInfo + 131084 + (($mul396 | 3) << 2) | 0; + $61 = HEAP32[$labelInfo + 1310736 + ($mul375 + 6 << 2) >> 2] | 0; + if ((HEAP32[$arrayidx446 >> 2] | 0) < ($61 | 0)) HEAP32[$arrayidx446 >> 2] = $61; + $i$5 = $i$5 + 1 | 0; + } + $62 = HEAP32[$label_num319 >> 2] | 0; + $i$6 = 0; while (1) { - if (($$6 | 0) >= ($303 | 0)) { - $$0 = 0; + if (($i$6 | 0) >= ($62 | 0)) { + $retval$0 = 0; break L80; } - $307 = +(HEAP32[$4 + 12 + ($$6 << 2) >> 2] | 0); - $308 = $$6 << 1; - $309 = $4 + 655376 + ($308 << 3) | 0; - HEAPF64[$309 >> 3] = +HEAPF64[$309 >> 3] / $307; - $313 = $4 + 655376 + (($308 | 1) << 3) | 0; - HEAPF64[$313 >> 3] = +HEAPF64[$313 >> 3] / $307; - $$6 = $$6 + 1 | 0; + $conv468 = +(HEAP32[$labelInfo + 12 + ($i$6 << 2) >> 2] | 0); + $mul469 = $i$6 << 1; + $arrayidx471 = $labelInfo + 655376 + ($mul469 << 3) | 0; + HEAPF64[$arrayidx471 >> 3] = +HEAPF64[$arrayidx471 >> 3] / $conv468; + $arrayidx476 = $labelInfo + 655376 + (($mul469 | 1) << 3) | 0; + HEAPF64[$arrayidx476 >> 3] = +HEAPF64[$arrayidx476 >> 3] / $conv468; + $i$6 = $i$6 + 1 | 0; } } } while (0); STACKTOP = sp; - return $$0 | 0; + return $retval$0 | 0; } -function _arLabelingSubDWZ($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $$0 = 0, $$0364 = 0, $$0365 = 0, $$0367 = 0, $$0369 = 0, $$0371 = 0, $$0375 = 0, $$0378 = 0, $$0383 = 0, $$0386 = 0, $$1 = 0, $$1366 = 0, $$1368 = 0, $$1370 = 0, $$1372 = 0, $$1376 = 0, $$1379 = 0, $$1384 = 0, $$1387 = 0, $$2 = 0, $$2373 = 0, $$2377 = 0, $$2380 = 0, $$2385 = 0, $$2388 = 0, $$3 = 0, $$3374 = 0, $$3381 = 0, $$3389 = 0, $$4 = 0, $$4382 = 0, $$5 = 0, $$6 = 0, $100 = 0, $103 = 0, $118 = 0, $120 = 0, $122 = 0, $126 = 0, $13 = 0, $130 = 0, $133 = 0, $135 = 0, $139 = 0, $143 = 0, $147 = 0, $152 = 0, $154 = 0, $158 = 0, $162 = 0, $166 = 0, $172 = 0, $175 = 0, $177 = 0, $181 = 0, $185 = 0, $189 = 0, $19 = 0, $192 = 0, $197 = 0, $20 = 0, $219 = 0, $221 = 0, $227 = 0, $230 = 0, $231 = 0, $237 = 0, $24 = 0, $249 = 0, $250 = 0, $253 = 0, $260 = 0, $261 = 0, $269 = 0, $272 = 0, $273 = 0, $277 = 0, $280 = 0, $284 = 0, $287 = 0, $291 = 0, $294 = 0, $298 = 0, $30 = 0, $301 = 0, $305 = 0.0, $306 = 0, $307 = 0, $31 = 0, $311 = 0, $34 = 0, $36 = 0, $40 = 0, $44 = 0, $5 = 0, $50 = 0, $51 = 0, $54 = 0, $55 = 0, $56 = 0, $59 = 0, $6 = 0, $62 = 0, $77 = 0, $79 = 0, $81 = 0, $85 = 0, $89 = 0, $95 = 0, $vararg_buffer = 0, label = 0, sp = 0; +function __ZNSt3__211__money_putIcE13__gather_infoEbbRKNS_6localeERNS_10money_base7patternERcS8_RNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEESF_SF_Ri($__intl, $__neg, $__loc, $__pat, $__dp, $__ts, $__grp, $__sym, $__sn, $__fd) { + $__intl = $__intl | 0; + $__neg = $__neg | 0; + $__loc = $__loc | 0; + $__pat = $__pat | 0; + $__dp = $__dp | 0; + $__ts = $__ts | 0; + $__grp = $__grp | 0; + $__sym = $__sym | 0; + $__sn = $__sn | 0; + $__fd = $__fd | 0; + var $$pre$phi244Z2D = 0, $$pre$phiZ2D = 0, $1 = 0, $11 = 0, $18 = 0, $23 = 0, $28 = 0, $31 = 0, $35 = 0, $38 = 0, $4 = 0, $45 = 0, $50 = 0, $8 = 0, $__cap_$i$i$i$i$i = 0, $__cap_$i$i$i$i$i111 = 0, $__cap_$i$i$i$i$i143 = 0, $__cap_$i$i$i$i$i171 = 0, $__cap_$i$i$i$i$i203 = 0, $__cap_$i$i$i$i$i229 = 0, $__cap_$i$i$i$i$i53 = 0, $__cap_$i$i$i$i$i85 = 0, $__i$0$i$i$i = 0, $__i$0$i$i$i116 = 0, $__i$0$i$i$i148 = 0, $__i$0$i$i$i176 = 0, $__i$0$i$i$i208 = 0, $__i$0$i$i$i234 = 0, $__i$0$i$i$i58 = 0, $__i$0$i$i$i90 = 0, $__size_$i1$i$i$i$i = 0, $__size_$i1$i$i$i$i102 = 0, $__size_$i1$i$i$i$i134 = 0, $__size_$i1$i$i$i$i162 = 0, $__size_$i1$i$i$i$i194 = 0, $__size_$i1$i$i$i$i220 = 0, $__size_$i1$i$i$i$i44 = 0, $__size_$i1$i$i$i$i76 = 0, $call$i = 0, $call$i126 = 0, $call$i185 = 0, $call$i188 = 0, $call$i67 = 0, $call$i70 = 0, $ref$tmp$i$i$i$i217 = 0, $ref$tmp4 = 0, $storemerge = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $vararg_buffer = sp; - $5 = HEAP32[$4 >> 2] | 0; - $6 = $2 + -1 | 0; - $$0367 = $5; - $$0378 = 0; - $$0386 = $5 + ((Math_imul($6, $1) | 0) << 1) | 0; - while (1) { - if (($$0378 | 0) >= ($1 | 0)) break; - HEAP16[$$0386 >> 1] = 0; - HEAP16[$$0367 >> 1] = 0; - $$0367 = $$0367 + 2 | 0; - $$0378 = $$0378 + 1 | 0; - $$0386 = $$0386 + 2 | 0; - } - $13 = $1 + -1 | 0; - $$1368 = $5; - $$1379 = 0; - $$1387 = $5 + ($13 << 1) | 0; - while (1) { - if (($$1379 | 0) >= ($2 | 0)) break; - HEAP16[$$1387 >> 1] = 0; - HEAP16[$$1368 >> 1] = 0; - $$1368 = $$1368 + ($1 << 1) | 0; - $$1379 = $$1379 + 1 | 0; - $$1387 = $$1387 + ($1 << 1) | 0; - } - $19 = $4 + 1179664 | 0; - $20 = $1 + 1 | 0; - $24 = 0 - $1 | 0; - $$0364 = $0 + $20 | 0; - $$0365 = $3 + $20 | 0; - $$0375 = 1; - $$0383 = 0; - $$2388 = $5 + ($20 << 1) | 0; - L9 : while (1) { - if (($$0375 | 0) >= ($6 | 0)) { - label = 59; - break; - } - $$1 = $$0364; - $$1366 = $$0365; - $$1384 = $$0383; - $$2380 = 1; - $$3389 = $$2388; - while (1) { - if (($$2380 | 0) >= ($13 | 0)) break; - do if ((HEAPU8[$$1 >> 0] | 0) > (HEAPU8[$$1366 >> 0] | 0)) { - $30 = $$3389 + ($24 << 1) | 0; - $31 = HEAP16[$30 >> 1] | 0; - if ($31 << 16 >> 16 > 0) { - HEAP16[$$3389 >> 1] = $31; - $34 = ($31 << 16 >> 16) * 7 | 0; - $36 = $4 + 1310736 + ($34 + -7 << 2) | 0; - HEAP32[$36 >> 2] = (HEAP32[$36 >> 2] | 0) + 1; - $40 = $4 + 1310736 + ($34 + -6 << 2) | 0; - HEAP32[$40 >> 2] = (HEAP32[$40 >> 2] | 0) + $$2380; - $44 = $4 + 1310736 + ($34 + -5 << 2) | 0; - HEAP32[$44 >> 2] = (HEAP32[$44 >> 2] | 0) + $$0375; - HEAP32[$4 + 1310736 + ($34 + -1 << 2) >> 2] = $$0375; - $$2385 = $$1384; - break; + $ref$tmp$i$i$i$i217 = sp + 12 | 0; + $ref$tmp4 = sp; + if ($__intl) { + $call$i = __ZNKSt3__26locale9use_facetERNS0_2idE($__loc, 67592) | 0; + if ($__neg) { + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$call$i >> 2] | 0) + 44 >> 2] & 255]($ref$tmp$i$i$i$i217, $call$i); + $1 = HEAP32[$ref$tmp$i$i$i$i217 >> 2] | 0; + HEAP8[$__pat >> 0] = $1; + HEAP8[$__pat + 1 >> 0] = $1 >> 8; + HEAP8[$__pat + 2 >> 0] = $1 >> 16; + HEAP8[$__pat + 3 >> 0] = $1 >> 24; + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$call$i >> 2] | 0) + 32 >> 2] & 255]($ref$tmp4, $call$i); + $__size_$i1$i$i$i$i = $__sn + 11 | 0; + if ((HEAP8[$__size_$i1$i$i$i$i >> 0] | 0) < 0) { + $4 = HEAP32[$__sn >> 2] | 0; + HEAP8[$ref$tmp$i$i$i$i217 >> 0] = 0; + __ZNSt3__211char_traitsIcE6assignERcRKc($4, $ref$tmp$i$i$i$i217); + HEAP32[$__sn + 4 >> 2] = 0; + if ((HEAP8[$__size_$i1$i$i$i$i >> 0] | 0) < 0) { + $__cap_$i$i$i$i$i = $__sn + 8 | 0; + __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm(HEAP32[$__sn >> 2] | 0, HEAP32[$__cap_$i$i$i$i$i >> 2] & 2147483647); + HEAP32[$__cap_$i$i$i$i$i >> 2] = 0; } - $50 = HEAP16[$30 + 2 >> 1] | 0; - $51 = $50 << 16 >> 16; - $54 = HEAP16[$30 + -2 >> 1] | 0; - $55 = $54 << 16 >> 16; - $56 = $54 << 16 >> 16 > 0; - if ($50 << 16 >> 16 <= 0) { - if ($56) { - HEAP16[$$3389 >> 1] = $54; - $152 = $55 * 7 | 0; - $154 = $4 + 1310736 + ($152 + -7 << 2) | 0; - HEAP32[$154 >> 2] = (HEAP32[$154 >> 2] | 0) + 1; - $158 = $4 + 1310736 + ($152 + -6 << 2) | 0; - HEAP32[$158 >> 2] = (HEAP32[$158 >> 2] | 0) + $$2380; - $162 = $4 + 1310736 + ($152 + -5 << 2) | 0; - HEAP32[$162 >> 2] = (HEAP32[$162 >> 2] | 0) + $$0375; - $166 = $4 + 1310736 + ($152 + -3 << 2) | 0; - if ((HEAP32[$166 >> 2] | 0) < ($$2380 | 0)) HEAP32[$166 >> 2] = $$2380; - HEAP32[$4 + 1310736 + ($152 + -1 << 2) >> 2] = $$0375; - $$2385 = $$1384; - break; - } - $172 = HEAP16[$$3389 + -2 >> 1] | 0; - if ($172 << 16 >> 16 > 0) { - HEAP16[$$3389 >> 1] = $172; - $175 = ($172 << 16 >> 16) * 7 | 0; - $177 = $4 + 1310736 + ($175 + -7 << 2) | 0; - HEAP32[$177 >> 2] = (HEAP32[$177 >> 2] | 0) + 1; - $181 = $4 + 1310736 + ($175 + -6 << 2) | 0; - HEAP32[$181 >> 2] = (HEAP32[$181 >> 2] | 0) + $$2380; - $185 = $4 + 1310736 + ($175 + -5 << 2) | 0; - HEAP32[$185 >> 2] = (HEAP32[$185 >> 2] | 0) + $$0375; - $189 = $4 + 1310736 + ($175 + -3 << 2) | 0; - if ((HEAP32[$189 >> 2] | 0) >= ($$2380 | 0)) { - $$2385 = $$1384; - break; - } - HEAP32[$189 >> 2] = $$2380; - $$2385 = $$1384; - break; - } else { - $192 = $$1384 + 1 | 0; - if (($$1384 | 0) > 32767) { - label = 54; - break L9; - } - HEAP16[$$3389 >> 1] = $192; - HEAP32[$4 + 1179664 + ($$1384 << 2) >> 2] = $192 << 16 >> 16; - $197 = $$1384 * 7 | 0; - HEAP32[$4 + 1310736 + ($197 << 2) >> 2] = 1; - HEAP32[$4 + 1310736 + ($197 + 1 << 2) >> 2] = $$2380; - HEAP32[$4 + 1310736 + ($197 + 2 << 2) >> 2] = $$0375; - HEAP32[$4 + 1310736 + ($197 + 3 << 2) >> 2] = $$2380; - HEAP32[$4 + 1310736 + ($197 + 4 << 2) >> 2] = $$2380; - HEAP32[$4 + 1310736 + ($197 + 5 << 2) >> 2] = $$0375; - HEAP32[$4 + 1310736 + ($197 + 6 << 2) >> 2] = $$0375; - $$2385 = $192; - break; - } + } else { + HEAP8[$ref$tmp$i$i$i$i217 >> 0] = 0; + __ZNSt3__211char_traitsIcE6assignERcRKc($__sn, $ref$tmp$i$i$i$i217); + HEAP8[$__size_$i1$i$i$i$i >> 0] = 0; + }; + HEAP32[$__sn >> 2] = HEAP32[$ref$tmp4 >> 2]; + HEAP32[$__sn + 4 >> 2] = HEAP32[$ref$tmp4 + 4 >> 2]; + HEAP32[$__sn + 8 >> 2] = HEAP32[$ref$tmp4 + 8 >> 2]; + $__i$0$i$i$i = 0; + while (1) { + if (($__i$0$i$i$i | 0) == 3) break; + HEAP32[$ref$tmp4 + ($__i$0$i$i$i << 2) >> 2] = 0; + $__i$0$i$i$i = $__i$0$i$i$i + 1 | 0; + } + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($ref$tmp4); + $$pre$phiZ2D = $call$i; + } else { + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$call$i >> 2] | 0) + 40 >> 2] & 255]($ref$tmp$i$i$i$i217, $call$i); + $8 = HEAP32[$ref$tmp$i$i$i$i217 >> 2] | 0; + HEAP8[$__pat >> 0] = $8; + HEAP8[$__pat + 1 >> 0] = $8 >> 8; + HEAP8[$__pat + 2 >> 0] = $8 >> 16; + HEAP8[$__pat + 3 >> 0] = $8 >> 24; + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$call$i >> 2] | 0) + 28 >> 2] & 255]($ref$tmp4, $call$i); + $__size_$i1$i$i$i$i44 = $__sn + 11 | 0; + if ((HEAP8[$__size_$i1$i$i$i$i44 >> 0] | 0) < 0) { + $11 = HEAP32[$__sn >> 2] | 0; + HEAP8[$ref$tmp$i$i$i$i217 >> 0] = 0; + __ZNSt3__211char_traitsIcE6assignERcRKc($11, $ref$tmp$i$i$i$i217); + HEAP32[$__sn + 4 >> 2] = 0; + if ((HEAP8[$__size_$i1$i$i$i$i44 >> 0] | 0) < 0) { + $__cap_$i$i$i$i$i53 = $__sn + 8 | 0; + __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm(HEAP32[$__sn >> 2] | 0, HEAP32[$__cap_$i$i$i$i$i53 >> 2] & 2147483647); + HEAP32[$__cap_$i$i$i$i$i53 >> 2] = 0; } - if ($56) { - $59 = HEAP32[$4 + 1179664 + ($51 + -1 << 2) >> 2] | 0; - $62 = HEAP32[$4 + 1179664 + ($55 + -1 << 2) >> 2] | 0; - L36 : do if (($59 | 0) <= ($62 | 0)) { - HEAP16[$$3389 >> 1] = $59; - if (($59 | 0) < ($62 | 0)) { - $$1370 = $19; - $$1372 = 0; - while (1) { - if (($$1372 | 0) >= ($$1384 | 0)) { - $77 = $59; - break L36; - } - if ((HEAP32[$$1370 >> 2] | 0) == ($62 | 0)) HEAP32[$$1370 >> 2] = $59; - $$1370 = $$1370 + 4 | 0; - $$1372 = $$1372 + 1 | 0; - } - } else $77 = $59; - } else { - HEAP16[$$3389 >> 1] = $62; - $$0369 = $19; - $$0371 = 0; - while (1) { - if (($$0371 | 0) >= ($$1384 | 0)) { - $77 = $62; - break L36; - } - if ((HEAP32[$$0369 >> 2] | 0) == ($59 | 0)) HEAP32[$$0369 >> 2] = $62; - $$0369 = $$0369 + 4 | 0; - $$0371 = $$0371 + 1 | 0; - } - } while (0); - $79 = ($77 << 16 >> 16) * 7 | 0; - $81 = $4 + 1310736 + ($79 + -7 << 2) | 0; - HEAP32[$81 >> 2] = (HEAP32[$81 >> 2] | 0) + 1; - $85 = $4 + 1310736 + ($79 + -6 << 2) | 0; - HEAP32[$85 >> 2] = (HEAP32[$85 >> 2] | 0) + $$2380; - $89 = $4 + 1310736 + ($79 + -5 << 2) | 0; - HEAP32[$89 >> 2] = (HEAP32[$89 >> 2] | 0) + $$0375; - HEAP32[$4 + 1310736 + ($79 + -1 << 2) >> 2] = $$0375; - $$2385 = $$1384; - break; - } - $95 = HEAP16[$$3389 + -2 >> 1] | 0; - if ($95 << 16 >> 16 <= 0) { - HEAP16[$$3389 >> 1] = $50; - $133 = $51 * 7 | 0; - $135 = $4 + 1310736 + ($133 + -7 << 2) | 0; - HEAP32[$135 >> 2] = (HEAP32[$135 >> 2] | 0) + 1; - $139 = $4 + 1310736 + ($133 + -6 << 2) | 0; - HEAP32[$139 >> 2] = (HEAP32[$139 >> 2] | 0) + $$2380; - $143 = $4 + 1310736 + ($133 + -5 << 2) | 0; - HEAP32[$143 >> 2] = (HEAP32[$143 >> 2] | 0) + $$0375; - $147 = $4 + 1310736 + ($133 + -4 << 2) | 0; - if ((HEAP32[$147 >> 2] | 0) > ($$2380 | 0)) HEAP32[$147 >> 2] = $$2380; - HEAP32[$4 + 1310736 + ($133 + -1 << 2) >> 2] = $$0375; - $$2385 = $$1384; - break; - } - $100 = HEAP32[$4 + 1179664 + ($51 + -1 << 2) >> 2] | 0; - $103 = HEAP32[$4 + 1179664 + (($95 << 16 >> 16) + -1 << 2) >> 2] | 0; - L60 : do if (($100 | 0) <= ($103 | 0)) { - HEAP16[$$3389 >> 1] = $100; - if (($100 | 0) < ($103 | 0)) { - $$3 = $19; - $$3374 = 0; - while (1) { - if (($$3374 | 0) >= ($$1384 | 0)) { - $118 = $100; - break L60; - } - if ((HEAP32[$$3 >> 2] | 0) == ($103 | 0)) HEAP32[$$3 >> 2] = $100; - $$3 = $$3 + 4 | 0; - $$3374 = $$3374 + 1 | 0; - } - } else $118 = $100; - } else { - HEAP16[$$3389 >> 1] = $103; - $$2 = $19; - $$2373 = 0; - while (1) { - if (($$2373 | 0) >= ($$1384 | 0)) { - $118 = $103; - break L60; - } - if ((HEAP32[$$2 >> 2] | 0) == ($100 | 0)) HEAP32[$$2 >> 2] = $103; - $$2 = $$2 + 4 | 0; - $$2373 = $$2373 + 1 | 0; - } - } while (0); - $120 = ($118 << 16 >> 16) * 7 | 0; - $122 = $4 + 1310736 + ($120 + -7 << 2) | 0; - HEAP32[$122 >> 2] = (HEAP32[$122 >> 2] | 0) + 1; - $126 = $4 + 1310736 + ($120 + -6 << 2) | 0; - HEAP32[$126 >> 2] = (HEAP32[$126 >> 2] | 0) + $$2380; - $130 = $4 + 1310736 + ($120 + -5 << 2) | 0; - HEAP32[$130 >> 2] = (HEAP32[$130 >> 2] | 0) + $$0375; - $$2385 = $$1384; - } else { - HEAP16[$$3389 >> 1] = 0; - $$2385 = $$1384; - } while (0); - $$1 = $$1 + 1 | 0; - $$1366 = $$1366 + 1 | 0; - $$1384 = $$2385; - $$2380 = $$2380 + 1 | 0; - $$3389 = $$3389 + 2 | 0; - } - $$0364 = $$1 + 2 | 0; - $$0365 = $$1366 + 2 | 0; - $$0375 = $$0375 + 1 | 0; - $$0383 = $$1384; - $$2388 = $$3389 + 4 | 0; - } - L80 : do if ((label | 0) == 54) { - _arLog(0, 3, 23780, $vararg_buffer); - $$0 = -1; - } else if ((label | 0) == 59) { - $219 = $4 + 12 | 0; - $$1376 = 1; - $$3381 = 1; - $$4 = $19; - while (1) { - if (($$3381 | 0) > ($$0383 | 0)) break; - $221 = HEAP32[$$4 >> 2] | 0; - if (($221 | 0) == ($$3381 | 0)) { - $$2377 = $$1376 + 1 | 0; - $227 = $$1376; } else { - $$2377 = $$1376; - $227 = HEAP32[$4 + 1179664 + ($221 + -1 << 2) >> 2] | 0; - } - HEAP32[$$4 >> 2] = $227; - $$1376 = $$2377; - $$3381 = $$3381 + 1 | 0; - $$4 = $$4 + 4 | 0; - } - $230 = $4 + 8 | 0; - $231 = $$1376 + -1 | 0; - HEAP32[$230 >> 2] = $231; - if (!$231) $$0 = 0; else { - _memset($219 | 0, 0, $231 << 2 | 0) | 0; - _memset($4 + 655376 | 0, 0, $231 << 4 | 0) | 0; - $$4382 = 0; - while (1) { - if (($$4382 | 0) >= ($231 | 0)) break; - $237 = $$4382 << 2; - HEAP32[$4 + 131084 + ($237 << 2) >> 2] = $1; - HEAP32[$4 + 131084 + (($237 | 1) << 2) >> 2] = 0; - HEAP32[$4 + 131084 + (($237 | 2) << 2) >> 2] = $2; - HEAP32[$4 + 131084 + (($237 | 3) << 2) >> 2] = 0; - $$4382 = $$4382 + 1 | 0; - } - $$5 = 0; - while (1) { - if (($$5 | 0) >= ($$0383 | 0)) break; - $249 = (HEAP32[$4 + 1179664 + ($$5 << 2) >> 2] | 0) + -1 | 0; - $250 = $$5 * 7 | 0; - $253 = $4 + 12 + ($249 << 2) | 0; - HEAP32[$253 >> 2] = (HEAP32[$253 >> 2] | 0) + (HEAP32[$4 + 1310736 + ($250 << 2) >> 2] | 0); - $260 = $249 << 1; - $261 = $4 + 655376 + ($260 << 3) | 0; - HEAPF64[$261 >> 3] = +HEAPF64[$261 >> 3] + +(HEAP32[$4 + 1310736 + ($250 + 1 << 2) >> 2] | 0); - $269 = $4 + 655376 + (($260 | 1) << 3) | 0; - HEAPF64[$269 >> 3] = +HEAPF64[$269 >> 3] + +(HEAP32[$4 + 1310736 + ($250 + 2 << 2) >> 2] | 0); - $272 = $249 << 2; - $273 = $4 + 131084 + ($272 << 2) | 0; - $277 = HEAP32[$4 + 1310736 + ($250 + 3 << 2) >> 2] | 0; - if ((HEAP32[$273 >> 2] | 0) > ($277 | 0)) HEAP32[$273 >> 2] = $277; - $280 = $4 + 131084 + (($272 | 1) << 2) | 0; - $284 = HEAP32[$4 + 1310736 + ($250 + 4 << 2) >> 2] | 0; - if ((HEAP32[$280 >> 2] | 0) < ($284 | 0)) HEAP32[$280 >> 2] = $284; - $287 = $4 + 131084 + (($272 | 2) << 2) | 0; - $291 = HEAP32[$4 + 1310736 + ($250 + 5 << 2) >> 2] | 0; - if ((HEAP32[$287 >> 2] | 0) > ($291 | 0)) HEAP32[$287 >> 2] = $291; - $294 = $4 + 131084 + (($272 | 3) << 2) | 0; - $298 = HEAP32[$4 + 1310736 + ($250 + 6 << 2) >> 2] | 0; - if ((HEAP32[$294 >> 2] | 0) < ($298 | 0)) HEAP32[$294 >> 2] = $298; - $$5 = $$5 + 1 | 0; - } - $301 = HEAP32[$230 >> 2] | 0; - $$6 = 0; + HEAP8[$ref$tmp$i$i$i$i217 >> 0] = 0; + __ZNSt3__211char_traitsIcE6assignERcRKc($__sn, $ref$tmp$i$i$i$i217); + HEAP8[$__size_$i1$i$i$i$i44 >> 0] = 0; + }; + HEAP32[$__sn >> 2] = HEAP32[$ref$tmp4 >> 2]; + HEAP32[$__sn + 4 >> 2] = HEAP32[$ref$tmp4 + 4 >> 2]; + HEAP32[$__sn + 8 >> 2] = HEAP32[$ref$tmp4 + 8 >> 2]; + $__i$0$i$i$i58 = 0; while (1) { - if (($$6 | 0) >= ($301 | 0)) { - $$0 = 0; - break L80; - } - $305 = +(HEAP32[$4 + 12 + ($$6 << 2) >> 2] | 0); - $306 = $$6 << 1; - $307 = $4 + 655376 + ($306 << 3) | 0; - HEAPF64[$307 >> 3] = +HEAPF64[$307 >> 3] / $305; - $311 = $4 + 655376 + (($306 | 1) << 3) | 0; - HEAPF64[$311 >> 3] = +HEAPF64[$311 >> 3] / $305; - $$6 = $$6 + 1 | 0; + if (($__i$0$i$i$i58 | 0) == 3) break; + HEAP32[$ref$tmp4 + ($__i$0$i$i$i58 << 2) >> 2] = 0; + $__i$0$i$i$i58 = $__i$0$i$i$i58 + 1 | 0; + } + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($ref$tmp4); + $$pre$phiZ2D = $call$i; + } + $call$i67 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$call$i >> 2] | 0) + 12 >> 2] & 127]($call$i) | 0; + HEAP8[$__dp >> 0] = $call$i67; + $call$i70 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$call$i >> 2] | 0) + 16 >> 2] & 127]($call$i) | 0; + HEAP8[$__ts >> 0] = $call$i70; + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$$pre$phiZ2D >> 2] | 0) + 20 >> 2] & 255]($ref$tmp4, $call$i); + $__size_$i1$i$i$i$i76 = $__grp + 11 | 0; + if ((HEAP8[$__size_$i1$i$i$i$i76 >> 0] | 0) < 0) { + $18 = HEAP32[$__grp >> 2] | 0; + HEAP8[$ref$tmp$i$i$i$i217 >> 0] = 0; + __ZNSt3__211char_traitsIcE6assignERcRKc($18, $ref$tmp$i$i$i$i217); + HEAP32[$__grp + 4 >> 2] = 0; + if ((HEAP8[$__size_$i1$i$i$i$i76 >> 0] | 0) < 0) { + $__cap_$i$i$i$i$i85 = $__grp + 8 | 0; + __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm(HEAP32[$__grp >> 2] | 0, HEAP32[$__cap_$i$i$i$i$i85 >> 2] & 2147483647); + HEAP32[$__cap_$i$i$i$i$i85 >> 2] = 0; } - } - } while (0); - STACKTOP = sp; - return $$0 | 0; -} - -function _arLabelingSubDBZ($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $$0 = 0, $$0364 = 0, $$0365 = 0, $$0367 = 0, $$0369 = 0, $$0371 = 0, $$0375 = 0, $$0378 = 0, $$0383 = 0, $$0386 = 0, $$1 = 0, $$1366 = 0, $$1368 = 0, $$1370 = 0, $$1372 = 0, $$1376 = 0, $$1379 = 0, $$1384 = 0, $$1387 = 0, $$2 = 0, $$2373 = 0, $$2377 = 0, $$2380 = 0, $$2385 = 0, $$2388 = 0, $$3 = 0, $$3374 = 0, $$3381 = 0, $$3389 = 0, $$4 = 0, $$4382 = 0, $$5 = 0, $$6 = 0, $100 = 0, $103 = 0, $118 = 0, $120 = 0, $122 = 0, $126 = 0, $13 = 0, $130 = 0, $133 = 0, $135 = 0, $139 = 0, $143 = 0, $147 = 0, $152 = 0, $154 = 0, $158 = 0, $162 = 0, $166 = 0, $172 = 0, $175 = 0, $177 = 0, $181 = 0, $185 = 0, $189 = 0, $19 = 0, $192 = 0, $197 = 0, $20 = 0, $219 = 0, $221 = 0, $227 = 0, $230 = 0, $231 = 0, $237 = 0, $24 = 0, $249 = 0, $250 = 0, $253 = 0, $260 = 0, $261 = 0, $269 = 0, $272 = 0, $273 = 0, $277 = 0, $280 = 0, $284 = 0, $287 = 0, $291 = 0, $294 = 0, $298 = 0, $30 = 0, $301 = 0, $305 = 0.0, $306 = 0, $307 = 0, $31 = 0, $311 = 0, $34 = 0, $36 = 0, $40 = 0, $44 = 0, $5 = 0, $50 = 0, $51 = 0, $54 = 0, $55 = 0, $56 = 0, $59 = 0, $6 = 0, $62 = 0, $77 = 0, $79 = 0, $81 = 0, $85 = 0, $89 = 0, $95 = 0, $vararg_buffer = 0, label = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $vararg_buffer = sp; - $5 = HEAP32[$4 >> 2] | 0; - $6 = $2 + -1 | 0; - $$0367 = $5; - $$0378 = 0; - $$0386 = $5 + ((Math_imul($6, $1) | 0) << 1) | 0; - while (1) { - if (($$0378 | 0) >= ($1 | 0)) break; - HEAP16[$$0386 >> 1] = 0; - HEAP16[$$0367 >> 1] = 0; - $$0367 = $$0367 + 2 | 0; - $$0378 = $$0378 + 1 | 0; - $$0386 = $$0386 + 2 | 0; - } - $13 = $1 + -1 | 0; - $$1368 = $5; - $$1379 = 0; - $$1387 = $5 + ($13 << 1) | 0; - while (1) { - if (($$1379 | 0) >= ($2 | 0)) break; - HEAP16[$$1387 >> 1] = 0; - HEAP16[$$1368 >> 1] = 0; - $$1368 = $$1368 + ($1 << 1) | 0; - $$1379 = $$1379 + 1 | 0; - $$1387 = $$1387 + ($1 << 1) | 0; - } - $19 = $4 + 1179664 | 0; - $20 = $1 + 1 | 0; - $24 = 0 - $1 | 0; - $$0364 = $0 + $20 | 0; - $$0365 = $3 + $20 | 0; - $$0375 = 1; - $$0383 = 0; - $$2388 = $5 + ($20 << 1) | 0; - L9 : while (1) { - if (($$0375 | 0) >= ($6 | 0)) { - label = 59; - break; - } - $$1 = $$0364; - $$1366 = $$0365; - $$1384 = $$0383; - $$2380 = 1; - $$3389 = $$2388; + } else { + HEAP8[$ref$tmp$i$i$i$i217 >> 0] = 0; + __ZNSt3__211char_traitsIcE6assignERcRKc($__grp, $ref$tmp$i$i$i$i217); + HEAP8[$__size_$i1$i$i$i$i76 >> 0] = 0; + }; + HEAP32[$__grp >> 2] = HEAP32[$ref$tmp4 >> 2]; + HEAP32[$__grp + 4 >> 2] = HEAP32[$ref$tmp4 + 4 >> 2]; + HEAP32[$__grp + 8 >> 2] = HEAP32[$ref$tmp4 + 8 >> 2]; + $__i$0$i$i$i90 = 0; while (1) { - if (($$2380 | 0) >= ($13 | 0)) break; - do if ((HEAPU8[$$1 >> 0] | 0) > (HEAPU8[$$1366 >> 0] | 0)) { - HEAP16[$$3389 >> 1] = 0; - $$2385 = $$1384; - } else { - $30 = $$3389 + ($24 << 1) | 0; - $31 = HEAP16[$30 >> 1] | 0; - if ($31 << 16 >> 16 > 0) { - HEAP16[$$3389 >> 1] = $31; - $34 = ($31 << 16 >> 16) * 7 | 0; - $36 = $4 + 1310736 + ($34 + -7 << 2) | 0; - HEAP32[$36 >> 2] = (HEAP32[$36 >> 2] | 0) + 1; - $40 = $4 + 1310736 + ($34 + -6 << 2) | 0; - HEAP32[$40 >> 2] = (HEAP32[$40 >> 2] | 0) + $$2380; - $44 = $4 + 1310736 + ($34 + -5 << 2) | 0; - HEAP32[$44 >> 2] = (HEAP32[$44 >> 2] | 0) + $$0375; - HEAP32[$4 + 1310736 + ($34 + -1 << 2) >> 2] = $$0375; - $$2385 = $$1384; - break; - } - $50 = HEAP16[$30 + 2 >> 1] | 0; - $51 = $50 << 16 >> 16; - $54 = HEAP16[$30 + -2 >> 1] | 0; - $55 = $54 << 16 >> 16; - $56 = $54 << 16 >> 16 > 0; - if ($50 << 16 >> 16 <= 0) { - if ($56) { - HEAP16[$$3389 >> 1] = $54; - $152 = $55 * 7 | 0; - $154 = $4 + 1310736 + ($152 + -7 << 2) | 0; - HEAP32[$154 >> 2] = (HEAP32[$154 >> 2] | 0) + 1; - $158 = $4 + 1310736 + ($152 + -6 << 2) | 0; - HEAP32[$158 >> 2] = (HEAP32[$158 >> 2] | 0) + $$2380; - $162 = $4 + 1310736 + ($152 + -5 << 2) | 0; - HEAP32[$162 >> 2] = (HEAP32[$162 >> 2] | 0) + $$0375; - $166 = $4 + 1310736 + ($152 + -3 << 2) | 0; - if ((HEAP32[$166 >> 2] | 0) < ($$2380 | 0)) HEAP32[$166 >> 2] = $$2380; - HEAP32[$4 + 1310736 + ($152 + -1 << 2) >> 2] = $$0375; - $$2385 = $$1384; - break; - } - $172 = HEAP16[$$3389 + -2 >> 1] | 0; - if ($172 << 16 >> 16 > 0) { - HEAP16[$$3389 >> 1] = $172; - $175 = ($172 << 16 >> 16) * 7 | 0; - $177 = $4 + 1310736 + ($175 + -7 << 2) | 0; - HEAP32[$177 >> 2] = (HEAP32[$177 >> 2] | 0) + 1; - $181 = $4 + 1310736 + ($175 + -6 << 2) | 0; - HEAP32[$181 >> 2] = (HEAP32[$181 >> 2] | 0) + $$2380; - $185 = $4 + 1310736 + ($175 + -5 << 2) | 0; - HEAP32[$185 >> 2] = (HEAP32[$185 >> 2] | 0) + $$0375; - $189 = $4 + 1310736 + ($175 + -3 << 2) | 0; - if ((HEAP32[$189 >> 2] | 0) >= ($$2380 | 0)) { - $$2385 = $$1384; - break; - } - HEAP32[$189 >> 2] = $$2380; - $$2385 = $$1384; - break; - } else { - $192 = $$1384 + 1 | 0; - if (($$1384 | 0) > 32767) { - label = 54; - break L9; - } - HEAP16[$$3389 >> 1] = $192; - HEAP32[$4 + 1179664 + ($$1384 << 2) >> 2] = $192 << 16 >> 16; - $197 = $$1384 * 7 | 0; - HEAP32[$4 + 1310736 + ($197 << 2) >> 2] = 1; - HEAP32[$4 + 1310736 + ($197 + 1 << 2) >> 2] = $$2380; - HEAP32[$4 + 1310736 + ($197 + 2 << 2) >> 2] = $$0375; - HEAP32[$4 + 1310736 + ($197 + 3 << 2) >> 2] = $$2380; - HEAP32[$4 + 1310736 + ($197 + 4 << 2) >> 2] = $$2380; - HEAP32[$4 + 1310736 + ($197 + 5 << 2) >> 2] = $$0375; - HEAP32[$4 + 1310736 + ($197 + 6 << 2) >> 2] = $$0375; - $$2385 = $192; - break; - } - } - if ($56) { - $59 = HEAP32[$4 + 1179664 + ($51 + -1 << 2) >> 2] | 0; - $62 = HEAP32[$4 + 1179664 + ($55 + -1 << 2) >> 2] | 0; - L37 : do if (($59 | 0) <= ($62 | 0)) { - HEAP16[$$3389 >> 1] = $59; - if (($59 | 0) < ($62 | 0)) { - $$1370 = $19; - $$1372 = 0; - while (1) { - if (($$1372 | 0) >= ($$1384 | 0)) { - $77 = $59; - break L37; - } - if ((HEAP32[$$1370 >> 2] | 0) == ($62 | 0)) HEAP32[$$1370 >> 2] = $59; - $$1370 = $$1370 + 4 | 0; - $$1372 = $$1372 + 1 | 0; - } - } else $77 = $59; - } else { - HEAP16[$$3389 >> 1] = $62; - $$0369 = $19; - $$0371 = 0; - while (1) { - if (($$0371 | 0) >= ($$1384 | 0)) { - $77 = $62; - break L37; - } - if ((HEAP32[$$0369 >> 2] | 0) == ($59 | 0)) HEAP32[$$0369 >> 2] = $62; - $$0369 = $$0369 + 4 | 0; - $$0371 = $$0371 + 1 | 0; - } - } while (0); - $79 = ($77 << 16 >> 16) * 7 | 0; - $81 = $4 + 1310736 + ($79 + -7 << 2) | 0; - HEAP32[$81 >> 2] = (HEAP32[$81 >> 2] | 0) + 1; - $85 = $4 + 1310736 + ($79 + -6 << 2) | 0; - HEAP32[$85 >> 2] = (HEAP32[$85 >> 2] | 0) + $$2380; - $89 = $4 + 1310736 + ($79 + -5 << 2) | 0; - HEAP32[$89 >> 2] = (HEAP32[$89 >> 2] | 0) + $$0375; - HEAP32[$4 + 1310736 + ($79 + -1 << 2) >> 2] = $$0375; - $$2385 = $$1384; - break; - } - $95 = HEAP16[$$3389 + -2 >> 1] | 0; - if ($95 << 16 >> 16 <= 0) { - HEAP16[$$3389 >> 1] = $50; - $133 = $51 * 7 | 0; - $135 = $4 + 1310736 + ($133 + -7 << 2) | 0; - HEAP32[$135 >> 2] = (HEAP32[$135 >> 2] | 0) + 1; - $139 = $4 + 1310736 + ($133 + -6 << 2) | 0; - HEAP32[$139 >> 2] = (HEAP32[$139 >> 2] | 0) + $$2380; - $143 = $4 + 1310736 + ($133 + -5 << 2) | 0; - HEAP32[$143 >> 2] = (HEAP32[$143 >> 2] | 0) + $$0375; - $147 = $4 + 1310736 + ($133 + -4 << 2) | 0; - if ((HEAP32[$147 >> 2] | 0) > ($$2380 | 0)) HEAP32[$147 >> 2] = $$2380; - HEAP32[$4 + 1310736 + ($133 + -1 << 2) >> 2] = $$0375; - $$2385 = $$1384; - break; - } - $100 = HEAP32[$4 + 1179664 + ($51 + -1 << 2) >> 2] | 0; - $103 = HEAP32[$4 + 1179664 + (($95 << 16 >> 16) + -1 << 2) >> 2] | 0; - L61 : do if (($100 | 0) <= ($103 | 0)) { - HEAP16[$$3389 >> 1] = $100; - if (($100 | 0) < ($103 | 0)) { - $$3 = $19; - $$3374 = 0; - while (1) { - if (($$3374 | 0) >= ($$1384 | 0)) { - $118 = $100; - break L61; - } - if ((HEAP32[$$3 >> 2] | 0) == ($103 | 0)) HEAP32[$$3 >> 2] = $100; - $$3 = $$3 + 4 | 0; - $$3374 = $$3374 + 1 | 0; - } - } else $118 = $100; - } else { - HEAP16[$$3389 >> 1] = $103; - $$2 = $19; - $$2373 = 0; - while (1) { - if (($$2373 | 0) >= ($$1384 | 0)) { - $118 = $103; - break L61; - } - if ((HEAP32[$$2 >> 2] | 0) == ($100 | 0)) HEAP32[$$2 >> 2] = $103; - $$2 = $$2 + 4 | 0; - $$2373 = $$2373 + 1 | 0; - } - } while (0); - $120 = ($118 << 16 >> 16) * 7 | 0; - $122 = $4 + 1310736 + ($120 + -7 << 2) | 0; - HEAP32[$122 >> 2] = (HEAP32[$122 >> 2] | 0) + 1; - $126 = $4 + 1310736 + ($120 + -6 << 2) | 0; - HEAP32[$126 >> 2] = (HEAP32[$126 >> 2] | 0) + $$2380; - $130 = $4 + 1310736 + ($120 + -5 << 2) | 0; - HEAP32[$130 >> 2] = (HEAP32[$130 >> 2] | 0) + $$0375; - $$2385 = $$1384; - } while (0); - $$1 = $$1 + 1 | 0; - $$1366 = $$1366 + 1 | 0; - $$1384 = $$2385; - $$2380 = $$2380 + 1 | 0; - $$3389 = $$3389 + 2 | 0; - } - $$0364 = $$1 + 2 | 0; - $$0365 = $$1366 + 2 | 0; - $$0375 = $$0375 + 1 | 0; - $$0383 = $$1384; - $$2388 = $$3389 + 4 | 0; - } - L80 : do if ((label | 0) == 54) { - _arLog(0, 3, 23780, $vararg_buffer); - $$0 = -1; - } else if ((label | 0) == 59) { - $219 = $4 + 12 | 0; - $$1376 = 1; - $$3381 = 1; - $$4 = $19; + if (($__i$0$i$i$i90 | 0) == 3) break; + HEAP32[$ref$tmp4 + ($__i$0$i$i$i90 << 2) >> 2] = 0; + $__i$0$i$i$i90 = $__i$0$i$i$i90 + 1 | 0; + } + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($ref$tmp4); + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$$pre$phiZ2D >> 2] | 0) + 24 >> 2] & 255]($ref$tmp4, $call$i); + $__size_$i1$i$i$i$i102 = $__sym + 11 | 0; + if ((HEAP8[$__size_$i1$i$i$i$i102 >> 0] | 0) < 0) { + $23 = HEAP32[$__sym >> 2] | 0; + HEAP8[$ref$tmp$i$i$i$i217 >> 0] = 0; + __ZNSt3__211char_traitsIcE6assignERcRKc($23, $ref$tmp$i$i$i$i217); + HEAP32[$__sym + 4 >> 2] = 0; + if ((HEAP8[$__size_$i1$i$i$i$i102 >> 0] | 0) < 0) { + $__cap_$i$i$i$i$i111 = $__sym + 8 | 0; + __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm(HEAP32[$__sym >> 2] | 0, HEAP32[$__cap_$i$i$i$i$i111 >> 2] & 2147483647); + HEAP32[$__cap_$i$i$i$i$i111 >> 2] = 0; + } + } else { + HEAP8[$ref$tmp$i$i$i$i217 >> 0] = 0; + __ZNSt3__211char_traitsIcE6assignERcRKc($__sym, $ref$tmp$i$i$i$i217); + HEAP8[$__size_$i1$i$i$i$i102 >> 0] = 0; + }; + HEAP32[$__sym >> 2] = HEAP32[$ref$tmp4 >> 2]; + HEAP32[$__sym + 4 >> 2] = HEAP32[$ref$tmp4 + 4 >> 2]; + HEAP32[$__sym + 8 >> 2] = HEAP32[$ref$tmp4 + 8 >> 2]; + $__i$0$i$i$i116 = 0; while (1) { - if (($$3381 | 0) > ($$0383 | 0)) break; - $221 = HEAP32[$$4 >> 2] | 0; - if (($221 | 0) == ($$3381 | 0)) { - $$2377 = $$1376 + 1 | 0; - $227 = $$1376; + if (($__i$0$i$i$i116 | 0) == 3) break; + HEAP32[$ref$tmp4 + ($__i$0$i$i$i116 << 2) >> 2] = 0; + $__i$0$i$i$i116 = $__i$0$i$i$i116 + 1 | 0; + } + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($ref$tmp4); + $storemerge = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$call$i >> 2] | 0) + 36 >> 2] & 127]($call$i) | 0; + } else { + $call$i126 = __ZNKSt3__26locale9use_facetERNS0_2idE($__loc, 67584) | 0; + if ($__neg) { + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$call$i126 >> 2] | 0) + 44 >> 2] & 255]($ref$tmp$i$i$i$i217, $call$i126); + $28 = HEAP32[$ref$tmp$i$i$i$i217 >> 2] | 0; + HEAP8[$__pat >> 0] = $28; + HEAP8[$__pat + 1 >> 0] = $28 >> 8; + HEAP8[$__pat + 2 >> 0] = $28 >> 16; + HEAP8[$__pat + 3 >> 0] = $28 >> 24; + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$call$i126 >> 2] | 0) + 32 >> 2] & 255]($ref$tmp4, $call$i126); + $__size_$i1$i$i$i$i134 = $__sn + 11 | 0; + if ((HEAP8[$__size_$i1$i$i$i$i134 >> 0] | 0) < 0) { + $31 = HEAP32[$__sn >> 2] | 0; + HEAP8[$ref$tmp$i$i$i$i217 >> 0] = 0; + __ZNSt3__211char_traitsIcE6assignERcRKc($31, $ref$tmp$i$i$i$i217); + HEAP32[$__sn + 4 >> 2] = 0; + if ((HEAP8[$__size_$i1$i$i$i$i134 >> 0] | 0) < 0) { + $__cap_$i$i$i$i$i143 = $__sn + 8 | 0; + __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm(HEAP32[$__sn >> 2] | 0, HEAP32[$__cap_$i$i$i$i$i143 >> 2] & 2147483647); + HEAP32[$__cap_$i$i$i$i$i143 >> 2] = 0; + } } else { - $$2377 = $$1376; - $227 = HEAP32[$4 + 1179664 + ($221 + -1 << 2) >> 2] | 0; - } - HEAP32[$$4 >> 2] = $227; - $$1376 = $$2377; - $$3381 = $$3381 + 1 | 0; - $$4 = $$4 + 4 | 0; - } - $230 = $4 + 8 | 0; - $231 = $$1376 + -1 | 0; - HEAP32[$230 >> 2] = $231; - if (!$231) $$0 = 0; else { - _memset($219 | 0, 0, $231 << 2 | 0) | 0; - _memset($4 + 655376 | 0, 0, $231 << 4 | 0) | 0; - $$4382 = 0; - while (1) { - if (($$4382 | 0) >= ($231 | 0)) break; - $237 = $$4382 << 2; - HEAP32[$4 + 131084 + ($237 << 2) >> 2] = $1; - HEAP32[$4 + 131084 + (($237 | 1) << 2) >> 2] = 0; - HEAP32[$4 + 131084 + (($237 | 2) << 2) >> 2] = $2; - HEAP32[$4 + 131084 + (($237 | 3) << 2) >> 2] = 0; - $$4382 = $$4382 + 1 | 0; - } - $$5 = 0; - while (1) { - if (($$5 | 0) >= ($$0383 | 0)) break; - $249 = (HEAP32[$4 + 1179664 + ($$5 << 2) >> 2] | 0) + -1 | 0; - $250 = $$5 * 7 | 0; - $253 = $4 + 12 + ($249 << 2) | 0; - HEAP32[$253 >> 2] = (HEAP32[$253 >> 2] | 0) + (HEAP32[$4 + 1310736 + ($250 << 2) >> 2] | 0); - $260 = $249 << 1; - $261 = $4 + 655376 + ($260 << 3) | 0; - HEAPF64[$261 >> 3] = +HEAPF64[$261 >> 3] + +(HEAP32[$4 + 1310736 + ($250 + 1 << 2) >> 2] | 0); - $269 = $4 + 655376 + (($260 | 1) << 3) | 0; - HEAPF64[$269 >> 3] = +HEAPF64[$269 >> 3] + +(HEAP32[$4 + 1310736 + ($250 + 2 << 2) >> 2] | 0); - $272 = $249 << 2; - $273 = $4 + 131084 + ($272 << 2) | 0; - $277 = HEAP32[$4 + 1310736 + ($250 + 3 << 2) >> 2] | 0; - if ((HEAP32[$273 >> 2] | 0) > ($277 | 0)) HEAP32[$273 >> 2] = $277; - $280 = $4 + 131084 + (($272 | 1) << 2) | 0; - $284 = HEAP32[$4 + 1310736 + ($250 + 4 << 2) >> 2] | 0; - if ((HEAP32[$280 >> 2] | 0) < ($284 | 0)) HEAP32[$280 >> 2] = $284; - $287 = $4 + 131084 + (($272 | 2) << 2) | 0; - $291 = HEAP32[$4 + 1310736 + ($250 + 5 << 2) >> 2] | 0; - if ((HEAP32[$287 >> 2] | 0) > ($291 | 0)) HEAP32[$287 >> 2] = $291; - $294 = $4 + 131084 + (($272 | 3) << 2) | 0; - $298 = HEAP32[$4 + 1310736 + ($250 + 6 << 2) >> 2] | 0; - if ((HEAP32[$294 >> 2] | 0) < ($298 | 0)) HEAP32[$294 >> 2] = $298; - $$5 = $$5 + 1 | 0; - } - $301 = HEAP32[$230 >> 2] | 0; - $$6 = 0; + HEAP8[$ref$tmp$i$i$i$i217 >> 0] = 0; + __ZNSt3__211char_traitsIcE6assignERcRKc($__sn, $ref$tmp$i$i$i$i217); + HEAP8[$__size_$i1$i$i$i$i134 >> 0] = 0; + }; + HEAP32[$__sn >> 2] = HEAP32[$ref$tmp4 >> 2]; + HEAP32[$__sn + 4 >> 2] = HEAP32[$ref$tmp4 + 4 >> 2]; + HEAP32[$__sn + 8 >> 2] = HEAP32[$ref$tmp4 + 8 >> 2]; + $__i$0$i$i$i148 = 0; while (1) { - if (($$6 | 0) >= ($301 | 0)) { - $$0 = 0; - break L80; + if (($__i$0$i$i$i148 | 0) == 3) break; + HEAP32[$ref$tmp4 + ($__i$0$i$i$i148 << 2) >> 2] = 0; + $__i$0$i$i$i148 = $__i$0$i$i$i148 + 1 | 0; + } + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($ref$tmp4); + $$pre$phi244Z2D = $call$i126; + } else { + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$call$i126 >> 2] | 0) + 40 >> 2] & 255]($ref$tmp$i$i$i$i217, $call$i126); + $35 = HEAP32[$ref$tmp$i$i$i$i217 >> 2] | 0; + HEAP8[$__pat >> 0] = $35; + HEAP8[$__pat + 1 >> 0] = $35 >> 8; + HEAP8[$__pat + 2 >> 0] = $35 >> 16; + HEAP8[$__pat + 3 >> 0] = $35 >> 24; + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$call$i126 >> 2] | 0) + 28 >> 2] & 255]($ref$tmp4, $call$i126); + $__size_$i1$i$i$i$i162 = $__sn + 11 | 0; + if ((HEAP8[$__size_$i1$i$i$i$i162 >> 0] | 0) < 0) { + $38 = HEAP32[$__sn >> 2] | 0; + HEAP8[$ref$tmp$i$i$i$i217 >> 0] = 0; + __ZNSt3__211char_traitsIcE6assignERcRKc($38, $ref$tmp$i$i$i$i217); + HEAP32[$__sn + 4 >> 2] = 0; + if ((HEAP8[$__size_$i1$i$i$i$i162 >> 0] | 0) < 0) { + $__cap_$i$i$i$i$i171 = $__sn + 8 | 0; + __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm(HEAP32[$__sn >> 2] | 0, HEAP32[$__cap_$i$i$i$i$i171 >> 2] & 2147483647); + HEAP32[$__cap_$i$i$i$i$i171 >> 2] = 0; } - $305 = +(HEAP32[$4 + 12 + ($$6 << 2) >> 2] | 0); - $306 = $$6 << 1; - $307 = $4 + 655376 + ($306 << 3) | 0; - HEAPF64[$307 >> 3] = +HEAPF64[$307 >> 3] / $305; - $311 = $4 + 655376 + (($306 | 1) << 3) | 0; - HEAPF64[$311 >> 3] = +HEAPF64[$311 >> 3] / $305; - $$6 = $$6 + 1 | 0; + } else { + HEAP8[$ref$tmp$i$i$i$i217 >> 0] = 0; + __ZNSt3__211char_traitsIcE6assignERcRKc($__sn, $ref$tmp$i$i$i$i217); + HEAP8[$__size_$i1$i$i$i$i162 >> 0] = 0; + }; + HEAP32[$__sn >> 2] = HEAP32[$ref$tmp4 >> 2]; + HEAP32[$__sn + 4 >> 2] = HEAP32[$ref$tmp4 + 4 >> 2]; + HEAP32[$__sn + 8 >> 2] = HEAP32[$ref$tmp4 + 8 >> 2]; + $__i$0$i$i$i176 = 0; + while (1) { + if (($__i$0$i$i$i176 | 0) == 3) break; + HEAP32[$ref$tmp4 + ($__i$0$i$i$i176 << 2) >> 2] = 0; + $__i$0$i$i$i176 = $__i$0$i$i$i176 + 1 | 0; + } + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($ref$tmp4); + $$pre$phi244Z2D = $call$i126; + } + $call$i185 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$call$i126 >> 2] | 0) + 12 >> 2] & 127]($call$i126) | 0; + HEAP8[$__dp >> 0] = $call$i185; + $call$i188 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$call$i126 >> 2] | 0) + 16 >> 2] & 127]($call$i126) | 0; + HEAP8[$__ts >> 0] = $call$i188; + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$$pre$phi244Z2D >> 2] | 0) + 20 >> 2] & 255]($ref$tmp4, $call$i126); + $__size_$i1$i$i$i$i194 = $__grp + 11 | 0; + if ((HEAP8[$__size_$i1$i$i$i$i194 >> 0] | 0) < 0) { + $45 = HEAP32[$__grp >> 2] | 0; + HEAP8[$ref$tmp$i$i$i$i217 >> 0] = 0; + __ZNSt3__211char_traitsIcE6assignERcRKc($45, $ref$tmp$i$i$i$i217); + HEAP32[$__grp + 4 >> 2] = 0; + if ((HEAP8[$__size_$i1$i$i$i$i194 >> 0] | 0) < 0) { + $__cap_$i$i$i$i$i203 = $__grp + 8 | 0; + __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm(HEAP32[$__grp >> 2] | 0, HEAP32[$__cap_$i$i$i$i$i203 >> 2] & 2147483647); + HEAP32[$__cap_$i$i$i$i$i203 >> 2] = 0; + } + } else { + HEAP8[$ref$tmp$i$i$i$i217 >> 0] = 0; + __ZNSt3__211char_traitsIcE6assignERcRKc($__grp, $ref$tmp$i$i$i$i217); + HEAP8[$__size_$i1$i$i$i$i194 >> 0] = 0; + }; + HEAP32[$__grp >> 2] = HEAP32[$ref$tmp4 >> 2]; + HEAP32[$__grp + 4 >> 2] = HEAP32[$ref$tmp4 + 4 >> 2]; + HEAP32[$__grp + 8 >> 2] = HEAP32[$ref$tmp4 + 8 >> 2]; + $__i$0$i$i$i208 = 0; + while (1) { + if (($__i$0$i$i$i208 | 0) == 3) break; + HEAP32[$ref$tmp4 + ($__i$0$i$i$i208 << 2) >> 2] = 0; + $__i$0$i$i$i208 = $__i$0$i$i$i208 + 1 | 0; + } + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($ref$tmp4); + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$$pre$phi244Z2D >> 2] | 0) + 24 >> 2] & 255]($ref$tmp4, $call$i126); + $__size_$i1$i$i$i$i220 = $__sym + 11 | 0; + if ((HEAP8[$__size_$i1$i$i$i$i220 >> 0] | 0) < 0) { + $50 = HEAP32[$__sym >> 2] | 0; + HEAP8[$ref$tmp$i$i$i$i217 >> 0] = 0; + __ZNSt3__211char_traitsIcE6assignERcRKc($50, $ref$tmp$i$i$i$i217); + HEAP32[$__sym + 4 >> 2] = 0; + if ((HEAP8[$__size_$i1$i$i$i$i220 >> 0] | 0) < 0) { + $__cap_$i$i$i$i$i229 = $__sym + 8 | 0; + __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm(HEAP32[$__sym >> 2] | 0, HEAP32[$__cap_$i$i$i$i$i229 >> 2] & 2147483647); + HEAP32[$__cap_$i$i$i$i$i229 >> 2] = 0; } + } else { + HEAP8[$ref$tmp$i$i$i$i217 >> 0] = 0; + __ZNSt3__211char_traitsIcE6assignERcRKc($__sym, $ref$tmp$i$i$i$i217); + HEAP8[$__size_$i1$i$i$i$i220 >> 0] = 0; + }; + HEAP32[$__sym >> 2] = HEAP32[$ref$tmp4 >> 2]; + HEAP32[$__sym + 4 >> 2] = HEAP32[$ref$tmp4 + 4 >> 2]; + HEAP32[$__sym + 8 >> 2] = HEAP32[$ref$tmp4 + 8 >> 2]; + $__i$0$i$i$i234 = 0; + while (1) { + if (($__i$0$i$i$i234 | 0) == 3) break; + HEAP32[$ref$tmp4 + ($__i$0$i$i$i234 << 2) >> 2] = 0; + $__i$0$i$i$i234 = $__i$0$i$i$i234 + 1 | 0; } - } while (0); - STACKTOP = sp; - return $$0 | 0; -} - -function __ZN6vision22bilinear_interpolationIffEET0_PKT_mmmff($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = +$4; - $5 = +$5; - var $103 = 0, $108 = 0, $112 = 0, $114 = 0, $115 = 0, $117 = 0.0, $119 = 0.0, $120 = 0.0, $122 = 0.0, $123 = 0.0, $125 = 0.0, $126 = 0.0, $127 = 0.0, $136 = 0, $141 = 0, $145 = 0, $154 = 0, $159 = 0, $16 = 0, $163 = 0, $172 = 0, $177 = 0, $181 = 0, $190 = 0, $195 = 0, $199 = 0, $21 = 0, $210 = 0, $215 = 0, $219 = 0, $25 = 0, $27 = 0, $35 = 0, $40 = 0, $44 = 0, $45 = 0, $46 = 0, $54 = 0, $59 = 0, $6 = 0, $63 = 0, $70 = 0, $75 = 0, $79 = 0, $8 = 0, $87 = 0, $92 = 0, $96 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $6 = sp; - $8 = ~~+Math_floor(+$4); - if (($8 | 0) != (~~$4 | 0)) { - $16 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 29355) | 0, 29407) | 0, 39072) | 0, 69) | 0, 39079) | 0, 29483) | 0; - __ZNKSt3__28ios_base6getlocEv($6, $16 + (HEAP32[(HEAP32[$16 >> 2] | 0) + -12 >> 2] | 0) | 0); - $21 = __ZNKSt3__26locale9use_facetERNS0_2idE($6, 66512) | 0; - $25 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$21 >> 2] | 0) + 28 >> 2] & 127]($21, 10) | 0; - __ZNSt3__26localeD2Ev($6); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($16, $25) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($16) | 0; - _abort(); - } - $27 = ~~+Math_floor(+$5); - if (($27 | 0) != (~~$5 | 0)) { - $35 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 29513) | 0, 29407) | 0, 39072) | 0, 70) | 0, 39079) | 0, 29483) | 0; - __ZNKSt3__28ios_base6getlocEv($6, $35 + (HEAP32[(HEAP32[$35 >> 2] | 0) + -12 >> 2] | 0) | 0); - $40 = __ZNKSt3__26locale9use_facetERNS0_2idE($6, 66512) | 0; - $44 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$40 >> 2] | 0) + 28 >> 2] & 127]($40, 10) | 0; - __ZNSt3__26localeD2Ev($6); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($35, $44) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($35) | 0; - _abort(); - } - $45 = $8 + 1 | 0; - $46 = $27 + 1 | 0; - if (!(($27 | 0) > -1 & $27 >>> 0 < $2 >>> 0)) { - $54 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 29565) | 0, 29407) | 0, 39072) | 0, 79) | 0, 39079) | 0, 29611) | 0; - __ZNKSt3__28ios_base6getlocEv($6, $54 + (HEAP32[(HEAP32[$54 >> 2] | 0) + -12 >> 2] | 0) | 0); - $59 = __ZNKSt3__26locale9use_facetERNS0_2idE($6, 66512) | 0; - $63 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$59 >> 2] | 0) + 28 >> 2] & 127]($59, 10) | 0; - __ZNSt3__26localeD2Ev($6); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($54, $63) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($54) | 0; - _abort(); - } - if ($46 >>> 0 >= $2 >>> 0) { - $70 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 29628) | 0, 29407) | 0, 39072) | 0, 80) | 0, 39079) | 0, 29688) | 0; - __ZNKSt3__28ios_base6getlocEv($6, $70 + (HEAP32[(HEAP32[$70 >> 2] | 0) + -12 >> 2] | 0) | 0); - $75 = __ZNKSt3__26locale9use_facetERNS0_2idE($6, 66512) | 0; - $79 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$75 >> 2] | 0) + 28 >> 2] & 127]($75, 10) | 0; - __ZNSt3__26localeD2Ev($6); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($70, $79) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($70) | 0; - _abort(); - } - if (!(($8 | 0) > -1 & $8 >>> 0 < $1 >>> 0)) { - $87 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 29712) | 0, 29407) | 0, 39072) | 0, 81) | 0, 39079) | 0, 29757) | 0; - __ZNKSt3__28ios_base6getlocEv($6, $87 + (HEAP32[(HEAP32[$87 >> 2] | 0) + -12 >> 2] | 0) | 0); - $92 = __ZNKSt3__26locale9use_facetERNS0_2idE($6, 66512) | 0; - $96 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$92 >> 2] | 0) + 28 >> 2] & 127]($92, 10) | 0; - __ZNSt3__26localeD2Ev($6); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($87, $96) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($87) | 0; - _abort(); - } - if ($45 >>> 0 >= $1 >>> 0) { - $103 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 29774) | 0, 29407) | 0, 39072) | 0, 82) | 0, 39079) | 0, 29833) | 0; - __ZNKSt3__28ios_base6getlocEv($6, $103 + (HEAP32[(HEAP32[$103 >> 2] | 0) + -12 >> 2] | 0) | 0); - $108 = __ZNKSt3__26locale9use_facetERNS0_2idE($6, 66512) | 0; - $112 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$108 >> 2] | 0) + 28 >> 2] & 127]($108, 10) | 0; - __ZNSt3__26localeD2Ev($6); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($103, $112) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($103) | 0; - _abort(); - } - $114 = $0 + (Math_imul($27, $3) | 0) | 0; - $115 = $114 + $3 | 0; - $117 = +($45 | 0) - $4; - $119 = +($46 | 0) - $5; - $120 = $117 * $119; - $122 = $4 - +($8 | 0); - $123 = $122 * $119; - $125 = $5 - +($27 | 0); - $126 = $117 * $125; - $127 = $122 * $125; - if (!($120 >= 0.0) | !($120 <= 1.0001)) { - $136 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 29857) | 0, 29407) | 0, 39072) | 0, 94) | 0, 39079) | 0, 29904) | 0; - __ZNKSt3__28ios_base6getlocEv($6, $136 + (HEAP32[(HEAP32[$136 >> 2] | 0) + -12 >> 2] | 0) | 0); - $141 = __ZNKSt3__26locale9use_facetERNS0_2idE($6, 66512) | 0; - $145 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$141 >> 2] | 0) + 28 >> 2] & 127]($141, 10) | 0; - __ZNSt3__26localeD2Ev($6); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($136, $145) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($136) | 0; - _abort(); + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($ref$tmp4); + $storemerge = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$call$i126 >> 2] | 0) + 36 >> 2] & 127]($call$i126) | 0; } - if (!($123 >= 0.0) | !($123 <= 1.0001)) { - $154 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 29917) | 0, 29407) | 0, 39072) | 0, 95) | 0, 39079) | 0, 29904) | 0; - __ZNKSt3__28ios_base6getlocEv($6, $154 + (HEAP32[(HEAP32[$154 >> 2] | 0) + -12 >> 2] | 0) | 0); - $159 = __ZNKSt3__26locale9use_facetERNS0_2idE($6, 66512) | 0; - $163 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$159 >> 2] | 0) + 28 >> 2] & 127]($159, 10) | 0; - __ZNSt3__26localeD2Ev($6); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($154, $163) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($154) | 0; - _abort(); - } - if (!($126 >= 0.0) | !($126 <= 1.0001)) { - $172 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 29964) | 0, 29407) | 0, 39072) | 0, 96) | 0, 39079) | 0, 29904) | 0; - __ZNKSt3__28ios_base6getlocEv($6, $172 + (HEAP32[(HEAP32[$172 >> 2] | 0) + -12 >> 2] | 0) | 0); - $177 = __ZNKSt3__26locale9use_facetERNS0_2idE($6, 66512) | 0; - $181 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$177 >> 2] | 0) + 28 >> 2] & 127]($177, 10) | 0; - __ZNSt3__26localeD2Ev($6); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($172, $181) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($172) | 0; - _abort(); - } - if (!($127 >= 0.0) | !($127 <= 1.0001)) { - $190 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 30011) | 0, 29407) | 0, 39072) | 0, 97) | 0, 39079) | 0, 29904) | 0; - __ZNKSt3__28ios_base6getlocEv($6, $190 + (HEAP32[(HEAP32[$190 >> 2] | 0) + -12 >> 2] | 0) | 0); - $195 = __ZNKSt3__26locale9use_facetERNS0_2idE($6, 66512) | 0; - $199 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$195 >> 2] | 0) + 28 >> 2] & 127]($195, 10) | 0; - __ZNSt3__26localeD2Ev($6); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($190, $199) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($190) | 0; - _abort(); - } - if (!($127 + ($126 + ($120 + $123)) <= 1.0001)) { - $210 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 30058) | 0, 29407) | 0, 39072) | 0, 98) | 0, 39079) | 0, 29904) | 0; - __ZNKSt3__28ios_base6getlocEv($6, $210 + (HEAP32[(HEAP32[$210 >> 2] | 0) + -12 >> 2] | 0) | 0); - $215 = __ZNKSt3__26locale9use_facetERNS0_2idE($6, 66512) | 0; - $219 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$215 >> 2] | 0) + 28 >> 2] & 127]($215, 10) | 0; - __ZNSt3__26localeD2Ev($6); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($210, $219) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($210) | 0; - _abort(); - } else { - STACKTOP = sp; - return +($120 * +HEAPF32[$114 + ($8 << 2) >> 2] + $123 * +HEAPF32[$114 + ($45 << 2) >> 2] + $126 * +HEAPF32[$115 + ($8 << 2) >> 2] + $127 * +HEAPF32[$115 + ($45 << 2) >> 2]); - } - return +(0.0); + HEAP32[$__fd >> 2] = $storemerge; + STACKTOP = sp; + return; } -function _arLabelingSubDWIC($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $$0 = 0, $$0360 = 0, $$0361 = 0, $$0363 = 0, $$0365 = 0, $$0369 = 0, $$0373 = 0, $$0376 = 0, $$0381 = 0, $$1 = 0, $$1362 = 0, $$1364 = 0, $$1366 = 0, $$1370 = 0, $$1374 = 0, $$1377 = 0, $$1382 = 0, $$2 = 0, $$2367 = 0, $$2371 = 0, $$2375 = 0, $$2378 = 0, $$2383 = 0, $$3 = 0, $$3368 = 0, $$3372 = 0, $$3379 = 0, $$4 = 0, $$4380 = 0, $$5 = 0, $$6 = 0, $103 = 0, $106 = 0, $121 = 0, $123 = 0, $125 = 0, $129 = 0, $133 = 0, $136 = 0, $138 = 0, $142 = 0, $146 = 0, $15 = 0, $150 = 0, $155 = 0, $157 = 0, $161 = 0, $165 = 0, $169 = 0, $175 = 0, $178 = 0, $180 = 0, $184 = 0, $188 = 0, $192 = 0, $195 = 0, $200 = 0, $21 = 0, $221 = 0, $223 = 0, $229 = 0, $232 = 0, $233 = 0, $239 = 0, $251 = 0, $252 = 0, $255 = 0, $262 = 0, $263 = 0, $27 = 0, $271 = 0, $274 = 0, $275 = 0, $279 = 0, $282 = 0, $286 = 0, $289 = 0, $293 = 0, $296 = 0, $300 = 0, $303 = 0, $307 = 0.0, $308 = 0, $309 = 0, $313 = 0, $33 = 0, $34 = 0, $37 = 0, $39 = 0, $43 = 0, $47 = 0, $5 = 0, $53 = 0, $54 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $62 = 0, $65 = 0, $7 = 0, $8 = 0, $80 = 0, $82 = 0, $84 = 0, $88 = 0, $92 = 0, $98 = 0, $vararg_buffer = 0, label = 0, sp = 0; +function _arLabelingSubDWIC($image, $xsize, $ysize, $labelingThresh, $labelInfo) { + $image = $image | 0; + $xsize = $xsize | 0; + $ysize = $ysize | 0; + $labelingThresh = $labelingThresh | 0; + $labelInfo = $labelInfo | 0; + var $0 = 0, $10 = 0, $13 = 0, $14 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $23 = 0, $24 = 0, $28 = 0, $3 = 0, $33 = 0, $38 = 0, $39 = 0, $44 = 0, $54 = 0, $56 = 0, $58 = 0, $60 = 0, $61 = 0, $7 = 0, $8 = 0, $9 = 0, $arraydecay = 0, $arrayidx116 = 0, $arrayidx119 = 0, $arrayidx122 = 0, $arrayidx183 = 0, $arrayidx186 = 0, $arrayidx189 = 0, $arrayidx197 = 0, $arrayidx200 = 0, $arrayidx203 = 0, $arrayidx206 = 0, $arrayidx228 = 0, $arrayidx231 = 0, $arrayidx234 = 0, $arrayidx237 = 0, $arrayidx257 = 0, $arrayidx260 = 0, $arrayidx263 = 0, $arrayidx266 = 0, $arrayidx319 = 0, $arrayidx37 = 0, $arrayidx376 = 0, $arrayidx384 = 0, $arrayidx392 = 0, $arrayidx396 = 0, $arrayidx412 = 0, $arrayidx428 = 0, $arrayidx444 = 0, $arrayidx46 = 0, $arrayidx469 = 0, $arrayidx475 = 0, $arrayidx49 = 0, $arrayidx52 = 0, $cmp63 = 0, $cond = 0, $conv466 = 0.0, $conv57 = 0, $conv62 = 0, $div = 0, $div1 = 0, $i$0 = 0, $i$1 = 0, $i$2 = 0, $i$3 = 0, $i$4 = 0, $i$5 = 0, $i$6 = 0, $inc274 = 0, $j$0 = 0, $j$1 = 0, $j$2 = 0, $k$0 = 0, $k$1 = 0, $k$2 = 0, $k$3 = 0, $label_num317 = 0, $mul284 = 0, $mul352 = 0, $mul373 = 0, $mul382 = 0, $mul394 = 0, $mul467 = 0, $pnt$0 = 0, $pnt$1 = 0, $pnt1$0 = 0, $pnt1$1 = 0, $pnt2$0 = 0, $pnt2$1 = 0, $pnt2$2 = 0, $pnt2$3 = 0, $retval$0 = 0, $sub = 0, $sub340 = 0, $sub36 = 0, $sub372 = 0, $sub8 = 0, $vararg_buffer = 0, $wk$0 = 0, $wk$1 = 0, $wk$2 = 0, $wk$3 = 0, $wk$4 = 0, $wk_max$0 = 0, $wk_max$1 = 0, $wk_max$2 = 0, label = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); $vararg_buffer = sp; - $5 = ($1 | 0) / 2 | 0; - $6 = ($2 | 0) / 2 | 0; - $7 = HEAP32[$4 >> 2] | 0; - $8 = $6 + -1 | 0; - $$0361 = $7; - $$0363 = $7 + ((Math_imul($8, $5) | 0) << 1) | 0; - $$0376 = 0; + $div = ($xsize | 0) / 2 | 0; + $div1 = ($ysize | 0) / 2 | 0; + $0 = HEAP32[$labelInfo >> 2] | 0; + $sub = $div1 + -1 | 0; + $i$0 = 0; + $pnt1$0 = $0; + $pnt2$0 = $0 + ((Math_imul($sub, $div) | 0) << 1) | 0; while (1) { - if (($$0376 | 0) >= ($5 | 0)) break; - HEAP16[$$0363 >> 1] = 0; - HEAP16[$$0361 >> 1] = 0; - $$0361 = $$0361 + 2 | 0; - $$0363 = $$0363 + 2 | 0; - $$0376 = $$0376 + 1 | 0; - } - $15 = $5 + -1 | 0; - $$1362 = $7; - $$1364 = $7 + ($15 << 1) | 0; - $$1377 = 0; + if (($i$0 | 0) >= ($div | 0)) break; + HEAP16[$pnt2$0 >> 1] = 0; + HEAP16[$pnt1$0 >> 1] = 0; + $i$0 = $i$0 + 1 | 0; + $pnt1$0 = $pnt1$0 + 2 | 0; + $pnt2$0 = $pnt2$0 + 2 | 0; + } + $sub8 = $div + -1 | 0; + $i$1 = 0; + $pnt1$1 = $0; + $pnt2$1 = $0 + ($sub8 << 1) | 0; while (1) { - if (($$1377 | 0) >= ($6 | 0)) break; - HEAP16[$$1364 >> 1] = 0; - HEAP16[$$1362 >> 1] = 0; - $$1362 = $$1362 + ($5 << 1) | 0; - $$1364 = $$1364 + ($5 << 1) | 0; - $$1377 = $$1377 + 1 | 0; - } - $21 = $4 + 1179664 | 0; - $27 = 0 - $5 | 0; - $$0360 = $0 + (($1 << 1) + 2) | 0; - $$0373 = 1; - $$0381 = 0; - $$2 = $7 + ($5 + 1 << 1) | 0; + if (($i$1 | 0) >= ($div1 | 0)) break; + HEAP16[$pnt2$1 >> 1] = 0; + HEAP16[$pnt1$1 >> 1] = 0; + $i$1 = $i$1 + 1 | 0; + $pnt1$1 = $pnt1$1 + ($div << 1) | 0; + $pnt2$1 = $pnt2$1 + ($div << 1) | 0; + } + $arraydecay = $labelInfo + 1179664 | 0; + $sub36 = 0 - $div | 0; + $j$0 = 1; + $pnt$0 = $image + (($xsize << 1) + 2) | 0; + $pnt2$2 = $0 + ($div + 1 << 1) | 0; + $wk_max$0 = 0; L9 : while (1) { - if (($$0373 | 0) >= ($8 | 0)) { + if (($j$0 | 0) >= ($sub | 0)) { label = 59; break; } - $$1 = $$0360; - $$1382 = $$0381; - $$2378 = 1; - $$3 = $$2; + $i$2 = 1; + $pnt$1 = $pnt$0; + $pnt2$3 = $pnt2$2; + $wk_max$1 = $wk_max$0; while (1) { - if (($$2378 | 0) >= ($15 | 0)) break; - do if ((HEAPU8[$$1 >> 0] | 0 | 0) > ($3 | 0)) { - $33 = $$3 + ($27 << 1) | 0; - $34 = HEAP16[$33 >> 1] | 0; - if ($34 << 16 >> 16 > 0) { - HEAP16[$$3 >> 1] = $34; - $37 = ($34 << 16 >> 16) * 7 | 0; - $39 = $4 + 1310736 + ($37 + -7 << 2) | 0; - HEAP32[$39 >> 2] = (HEAP32[$39 >> 2] | 0) + 1; - $43 = $4 + 1310736 + ($37 + -6 << 2) | 0; - HEAP32[$43 >> 2] = (HEAP32[$43 >> 2] | 0) + $$2378; - $47 = $4 + 1310736 + ($37 + -5 << 2) | 0; - HEAP32[$47 >> 2] = (HEAP32[$47 >> 2] | 0) + $$0373; - HEAP32[$4 + 1310736 + ($37 + -1 << 2) >> 2] = $$0373; - $$2383 = $$1382; + if (($i$2 | 0) >= ($sub8 | 0)) break; + do if ((HEAPU8[$pnt$1 >> 0] | 0 | 0) > ($labelingThresh | 0)) { + $arrayidx37 = $pnt2$3 + ($sub36 << 1) | 0; + $2 = HEAP16[$arrayidx37 >> 1] | 0; + if ($2 << 16 >> 16 > 0) { + HEAP16[$pnt2$3 >> 1] = $2; + $3 = ($2 << 16 >> 16) * 7 | 0; + $arrayidx46 = $labelInfo + 1310736 + ($3 + -7 << 2) | 0; + HEAP32[$arrayidx46 >> 2] = (HEAP32[$arrayidx46 >> 2] | 0) + 1; + $arrayidx49 = $labelInfo + 1310736 + ($3 + -6 << 2) | 0; + HEAP32[$arrayidx49 >> 2] = (HEAP32[$arrayidx49 >> 2] | 0) + $i$2; + $arrayidx52 = $labelInfo + 1310736 + ($3 + -5 << 2) | 0; + HEAP32[$arrayidx52 >> 2] = (HEAP32[$arrayidx52 >> 2] | 0) + $j$0; + HEAP32[$labelInfo + 1310736 + ($3 + -1 << 2) >> 2] = $j$0; + $wk_max$2 = $wk_max$1; break; } - $53 = HEAP16[$33 + 2 >> 1] | 0; - $54 = $53 << 16 >> 16; - $57 = HEAP16[$33 + -2 >> 1] | 0; - $58 = $57 << 16 >> 16; - $59 = $57 << 16 >> 16 > 0; - if ($53 << 16 >> 16 <= 0) { - if ($59) { - HEAP16[$$3 >> 1] = $57; - $155 = $58 * 7 | 0; - $157 = $4 + 1310736 + ($155 + -7 << 2) | 0; - HEAP32[$157 >> 2] = (HEAP32[$157 >> 2] | 0) + 1; - $161 = $4 + 1310736 + ($155 + -6 << 2) | 0; - HEAP32[$161 >> 2] = (HEAP32[$161 >> 2] | 0) + $$2378; - $165 = $4 + 1310736 + ($155 + -5 << 2) | 0; - HEAP32[$165 >> 2] = (HEAP32[$165 >> 2] | 0) + $$0373; - $169 = $4 + 1310736 + ($155 + -3 << 2) | 0; - if ((HEAP32[$169 >> 2] | 0) < ($$2378 | 0)) HEAP32[$169 >> 2] = $$2378; - HEAP32[$4 + 1310736 + ($155 + -1 << 2) >> 2] = $$0373; - $$2383 = $$1382; + $7 = HEAP16[$arrayidx37 + 2 >> 1] | 0; + $conv57 = $7 << 16 >> 16; + $8 = HEAP16[$arrayidx37 + -2 >> 1] | 0; + $conv62 = $8 << 16 >> 16; + $cmp63 = $8 << 16 >> 16 > 0; + if ($7 << 16 >> 16 <= 0) { + if ($cmp63) { + HEAP16[$pnt2$3 >> 1] = $8; + $33 = $conv62 * 7 | 0; + $arrayidx228 = $labelInfo + 1310736 + ($33 + -7 << 2) | 0; + HEAP32[$arrayidx228 >> 2] = (HEAP32[$arrayidx228 >> 2] | 0) + 1; + $arrayidx231 = $labelInfo + 1310736 + ($33 + -6 << 2) | 0; + HEAP32[$arrayidx231 >> 2] = (HEAP32[$arrayidx231 >> 2] | 0) + $i$2; + $arrayidx234 = $labelInfo + 1310736 + ($33 + -5 << 2) | 0; + HEAP32[$arrayidx234 >> 2] = (HEAP32[$arrayidx234 >> 2] | 0) + $j$0; + $arrayidx237 = $labelInfo + 1310736 + ($33 + -3 << 2) | 0; + if ((HEAP32[$arrayidx237 >> 2] | 0) < ($i$2 | 0)) HEAP32[$arrayidx237 >> 2] = $i$2; + HEAP32[$labelInfo + 1310736 + ($33 + -1 << 2) >> 2] = $j$0; + $wk_max$2 = $wk_max$1; break; } - $175 = HEAP16[$$3 + -2 >> 1] | 0; - if ($175 << 16 >> 16 > 0) { - HEAP16[$$3 >> 1] = $175; - $178 = ($175 << 16 >> 16) * 7 | 0; - $180 = $4 + 1310736 + ($178 + -7 << 2) | 0; - HEAP32[$180 >> 2] = (HEAP32[$180 >> 2] | 0) + 1; - $184 = $4 + 1310736 + ($178 + -6 << 2) | 0; - HEAP32[$184 >> 2] = (HEAP32[$184 >> 2] | 0) + $$2378; - $188 = $4 + 1310736 + ($178 + -5 << 2) | 0; - HEAP32[$188 >> 2] = (HEAP32[$188 >> 2] | 0) + $$0373; - $192 = $4 + 1310736 + ($178 + -3 << 2) | 0; - if ((HEAP32[$192 >> 2] | 0) >= ($$2378 | 0)) { - $$2383 = $$1382; + $38 = HEAP16[$pnt2$3 + -2 >> 1] | 0; + if ($38 << 16 >> 16 > 0) { + HEAP16[$pnt2$3 >> 1] = $38; + $39 = ($38 << 16 >> 16) * 7 | 0; + $arrayidx257 = $labelInfo + 1310736 + ($39 + -7 << 2) | 0; + HEAP32[$arrayidx257 >> 2] = (HEAP32[$arrayidx257 >> 2] | 0) + 1; + $arrayidx260 = $labelInfo + 1310736 + ($39 + -6 << 2) | 0; + HEAP32[$arrayidx260 >> 2] = (HEAP32[$arrayidx260 >> 2] | 0) + $i$2; + $arrayidx263 = $labelInfo + 1310736 + ($39 + -5 << 2) | 0; + HEAP32[$arrayidx263 >> 2] = (HEAP32[$arrayidx263 >> 2] | 0) + $j$0; + $arrayidx266 = $labelInfo + 1310736 + ($39 + -3 << 2) | 0; + if ((HEAP32[$arrayidx266 >> 2] | 0) >= ($i$2 | 0)) { + $wk_max$2 = $wk_max$1; break; } - HEAP32[$192 >> 2] = $$2378; - $$2383 = $$1382; + HEAP32[$arrayidx266 >> 2] = $i$2; + $wk_max$2 = $wk_max$1; break; } else { - $195 = $$1382 + 1 | 0; - if (($$1382 | 0) > 32767) { + $inc274 = $wk_max$1 + 1 | 0; + if (($wk_max$1 | 0) > 32767) { label = 54; break L9; } - HEAP16[$$3 >> 1] = $195; - HEAP32[$4 + 1179664 + ($$1382 << 2) >> 2] = $195 << 16 >> 16; - $200 = $$1382 * 7 | 0; - HEAP32[$4 + 1310736 + ($200 << 2) >> 2] = 1; - HEAP32[$4 + 1310736 + ($200 + 1 << 2) >> 2] = $$2378; - HEAP32[$4 + 1310736 + ($200 + 2 << 2) >> 2] = $$0373; - HEAP32[$4 + 1310736 + ($200 + 3 << 2) >> 2] = $$2378; - HEAP32[$4 + 1310736 + ($200 + 4 << 2) >> 2] = $$2378; - HEAP32[$4 + 1310736 + ($200 + 5 << 2) >> 2] = $$0373; - HEAP32[$4 + 1310736 + ($200 + 6 << 2) >> 2] = $$0373; - $$2383 = $195; + HEAP16[$pnt2$3 >> 1] = $inc274; + HEAP32[$labelInfo + 1179664 + ($wk_max$1 << 2) >> 2] = $inc274 << 16 >> 16; + $mul284 = $wk_max$1 * 7 | 0; + HEAP32[$labelInfo + 1310736 + ($mul284 << 2) >> 2] = 1; + HEAP32[$labelInfo + 1310736 + ($mul284 + 1 << 2) >> 2] = $i$2; + HEAP32[$labelInfo + 1310736 + ($mul284 + 2 << 2) >> 2] = $j$0; + HEAP32[$labelInfo + 1310736 + ($mul284 + 3 << 2) >> 2] = $i$2; + HEAP32[$labelInfo + 1310736 + ($mul284 + 4 << 2) >> 2] = $i$2; + HEAP32[$labelInfo + 1310736 + ($mul284 + 5 << 2) >> 2] = $j$0; + HEAP32[$labelInfo + 1310736 + ($mul284 + 6 << 2) >> 2] = $j$0; + $wk_max$2 = $inc274; break; } } - if ($59) { - $62 = HEAP32[$4 + 1179664 + ($54 + -1 << 2) >> 2] | 0; - $65 = HEAP32[$4 + 1179664 + ($58 + -1 << 2) >> 2] | 0; - L36 : do if (($62 | 0) <= ($65 | 0)) { - HEAP16[$$3 >> 1] = $62; - if (($62 | 0) < ($65 | 0)) { - $$1366 = $21; - $$1370 = 0; + if ($cmp63) { + $9 = HEAP32[$labelInfo + 1179664 + ($conv57 + -1 << 2) >> 2] | 0; + $10 = HEAP32[$labelInfo + 1179664 + ($conv62 + -1 << 2) >> 2] | 0; + L36 : do if (($9 | 0) <= ($10 | 0)) { + HEAP16[$pnt2$3 >> 1] = $9; + if (($9 | 0) < ($10 | 0)) { + $k$1 = 0; + $wk$1 = $arraydecay; while (1) { - if (($$1370 | 0) >= ($$1382 | 0)) { - $80 = $62; + if (($k$1 | 0) >= ($wk_max$1 | 0)) { + $13 = $9; break L36; } - if ((HEAP32[$$1366 >> 2] | 0) == ($65 | 0)) HEAP32[$$1366 >> 2] = $62; - $$1366 = $$1366 + 4 | 0; - $$1370 = $$1370 + 1 | 0; + if ((HEAP32[$wk$1 >> 2] | 0) == ($10 | 0)) HEAP32[$wk$1 >> 2] = $9; + $k$1 = $k$1 + 1 | 0; + $wk$1 = $wk$1 + 4 | 0; } - } else $80 = $62; + } else $13 = $9; } else { - HEAP16[$$3 >> 1] = $65; - $$0365 = $21; - $$0369 = 0; + HEAP16[$pnt2$3 >> 1] = $10; + $k$0 = 0; + $wk$0 = $arraydecay; while (1) { - if (($$0369 | 0) >= ($$1382 | 0)) { - $80 = $65; + if (($k$0 | 0) >= ($wk_max$1 | 0)) { + $13 = $10; break L36; } - if ((HEAP32[$$0365 >> 2] | 0) == ($62 | 0)) HEAP32[$$0365 >> 2] = $65; - $$0365 = $$0365 + 4 | 0; - $$0369 = $$0369 + 1 | 0; + if ((HEAP32[$wk$0 >> 2] | 0) == ($9 | 0)) HEAP32[$wk$0 >> 2] = $10; + $k$0 = $k$0 + 1 | 0; + $wk$0 = $wk$0 + 4 | 0; } } while (0); - $82 = ($80 << 16 >> 16) * 7 | 0; - $84 = $4 + 1310736 + ($82 + -7 << 2) | 0; - HEAP32[$84 >> 2] = (HEAP32[$84 >> 2] | 0) + 1; - $88 = $4 + 1310736 + ($82 + -6 << 2) | 0; - HEAP32[$88 >> 2] = (HEAP32[$88 >> 2] | 0) + $$2378; - $92 = $4 + 1310736 + ($82 + -5 << 2) | 0; - HEAP32[$92 >> 2] = (HEAP32[$92 >> 2] | 0) + $$0373; - HEAP32[$4 + 1310736 + ($82 + -1 << 2) >> 2] = $$0373; - $$2383 = $$1382; + $14 = ($13 << 16 >> 16) * 7 | 0; + $arrayidx116 = $labelInfo + 1310736 + ($14 + -7 << 2) | 0; + HEAP32[$arrayidx116 >> 2] = (HEAP32[$arrayidx116 >> 2] | 0) + 1; + $arrayidx119 = $labelInfo + 1310736 + ($14 + -6 << 2) | 0; + HEAP32[$arrayidx119 >> 2] = (HEAP32[$arrayidx119 >> 2] | 0) + $i$2; + $arrayidx122 = $labelInfo + 1310736 + ($14 + -5 << 2) | 0; + HEAP32[$arrayidx122 >> 2] = (HEAP32[$arrayidx122 >> 2] | 0) + $j$0; + HEAP32[$labelInfo + 1310736 + ($14 + -1 << 2) >> 2] = $j$0; + $wk_max$2 = $wk_max$1; break; } - $98 = HEAP16[$$3 + -2 >> 1] | 0; - if ($98 << 16 >> 16 <= 0) { - HEAP16[$$3 >> 1] = $53; - $136 = $54 * 7 | 0; - $138 = $4 + 1310736 + ($136 + -7 << 2) | 0; - HEAP32[$138 >> 2] = (HEAP32[$138 >> 2] | 0) + 1; - $142 = $4 + 1310736 + ($136 + -6 << 2) | 0; - HEAP32[$142 >> 2] = (HEAP32[$142 >> 2] | 0) + $$2378; - $146 = $4 + 1310736 + ($136 + -5 << 2) | 0; - HEAP32[$146 >> 2] = (HEAP32[$146 >> 2] | 0) + $$0373; - $150 = $4 + 1310736 + ($136 + -4 << 2) | 0; - if ((HEAP32[$150 >> 2] | 0) > ($$2378 | 0)) HEAP32[$150 >> 2] = $$2378; - HEAP32[$4 + 1310736 + ($136 + -1 << 2) >> 2] = $$0373; - $$2383 = $$1382; + $18 = HEAP16[$pnt2$3 + -2 >> 1] | 0; + if ($18 << 16 >> 16 <= 0) { + HEAP16[$pnt2$3 >> 1] = $7; + $28 = $conv57 * 7 | 0; + $arrayidx197 = $labelInfo + 1310736 + ($28 + -7 << 2) | 0; + HEAP32[$arrayidx197 >> 2] = (HEAP32[$arrayidx197 >> 2] | 0) + 1; + $arrayidx200 = $labelInfo + 1310736 + ($28 + -6 << 2) | 0; + HEAP32[$arrayidx200 >> 2] = (HEAP32[$arrayidx200 >> 2] | 0) + $i$2; + $arrayidx203 = $labelInfo + 1310736 + ($28 + -5 << 2) | 0; + HEAP32[$arrayidx203 >> 2] = (HEAP32[$arrayidx203 >> 2] | 0) + $j$0; + $arrayidx206 = $labelInfo + 1310736 + ($28 + -4 << 2) | 0; + if ((HEAP32[$arrayidx206 >> 2] | 0) > ($i$2 | 0)) HEAP32[$arrayidx206 >> 2] = $i$2; + HEAP32[$labelInfo + 1310736 + ($28 + -1 << 2) >> 2] = $j$0; + $wk_max$2 = $wk_max$1; break; } - $103 = HEAP32[$4 + 1179664 + ($54 + -1 << 2) >> 2] | 0; - $106 = HEAP32[$4 + 1179664 + (($98 << 16 >> 16) + -1 << 2) >> 2] | 0; - L60 : do if (($103 | 0) <= ($106 | 0)) { - HEAP16[$$3 >> 1] = $103; - if (($103 | 0) < ($106 | 0)) { - $$3368 = $21; - $$3372 = 0; + $19 = HEAP32[$labelInfo + 1179664 + ($conv57 + -1 << 2) >> 2] | 0; + $20 = HEAP32[$labelInfo + 1179664 + (($18 << 16 >> 16) + -1 << 2) >> 2] | 0; + L60 : do if (($19 | 0) <= ($20 | 0)) { + HEAP16[$pnt2$3 >> 1] = $19; + if (($19 | 0) < ($20 | 0)) { + $k$3 = 0; + $wk$3 = $arraydecay; while (1) { - if (($$3372 | 0) >= ($$1382 | 0)) { - $121 = $103; + if (($k$3 | 0) >= ($wk_max$1 | 0)) { + $23 = $19; break L60; } - if ((HEAP32[$$3368 >> 2] | 0) == ($106 | 0)) HEAP32[$$3368 >> 2] = $103; - $$3368 = $$3368 + 4 | 0; - $$3372 = $$3372 + 1 | 0; + if ((HEAP32[$wk$3 >> 2] | 0) == ($20 | 0)) HEAP32[$wk$3 >> 2] = $19; + $k$3 = $k$3 + 1 | 0; + $wk$3 = $wk$3 + 4 | 0; } - } else $121 = $103; + } else $23 = $19; } else { - HEAP16[$$3 >> 1] = $106; - $$2367 = $21; - $$2371 = 0; + HEAP16[$pnt2$3 >> 1] = $20; + $k$2 = 0; + $wk$2 = $arraydecay; while (1) { - if (($$2371 | 0) >= ($$1382 | 0)) { - $121 = $106; + if (($k$2 | 0) >= ($wk_max$1 | 0)) { + $23 = $20; break L60; } - if ((HEAP32[$$2367 >> 2] | 0) == ($103 | 0)) HEAP32[$$2367 >> 2] = $106; - $$2367 = $$2367 + 4 | 0; - $$2371 = $$2371 + 1 | 0; + if ((HEAP32[$wk$2 >> 2] | 0) == ($19 | 0)) HEAP32[$wk$2 >> 2] = $20; + $k$2 = $k$2 + 1 | 0; + $wk$2 = $wk$2 + 4 | 0; } } while (0); - $123 = ($121 << 16 >> 16) * 7 | 0; - $125 = $4 + 1310736 + ($123 + -7 << 2) | 0; - HEAP32[$125 >> 2] = (HEAP32[$125 >> 2] | 0) + 1; - $129 = $4 + 1310736 + ($123 + -6 << 2) | 0; - HEAP32[$129 >> 2] = (HEAP32[$129 >> 2] | 0) + $$2378; - $133 = $4 + 1310736 + ($123 + -5 << 2) | 0; - HEAP32[$133 >> 2] = (HEAP32[$133 >> 2] | 0) + $$0373; - $$2383 = $$1382; + $24 = ($23 << 16 >> 16) * 7 | 0; + $arrayidx183 = $labelInfo + 1310736 + ($24 + -7 << 2) | 0; + HEAP32[$arrayidx183 >> 2] = (HEAP32[$arrayidx183 >> 2] | 0) + 1; + $arrayidx186 = $labelInfo + 1310736 + ($24 + -6 << 2) | 0; + HEAP32[$arrayidx186 >> 2] = (HEAP32[$arrayidx186 >> 2] | 0) + $i$2; + $arrayidx189 = $labelInfo + 1310736 + ($24 + -5 << 2) | 0; + HEAP32[$arrayidx189 >> 2] = (HEAP32[$arrayidx189 >> 2] | 0) + $j$0; + $wk_max$2 = $wk_max$1; } else { - HEAP16[$$3 >> 1] = 0; - $$2383 = $$1382; + HEAP16[$pnt2$3 >> 1] = 0; + $wk_max$2 = $wk_max$1; } while (0); - $$1 = $$1 + 2 | 0; - $$1382 = $$2383; - $$2378 = $$2378 + 1 | 0; - $$3 = $$3 + 2 | 0; + $i$2 = $i$2 + 1 | 0; + $pnt$1 = $pnt$1 + 2 | 0; + $pnt2$3 = $pnt2$3 + 2 | 0; + $wk_max$1 = $wk_max$2; } - $$0360 = $$1 + $1 + 4 | 0; - $$0373 = $$0373 + 1 | 0; - $$0381 = $$1382; - $$2 = $$3 + 4 | 0; + $j$0 = $j$0 + 1 | 0; + $pnt$0 = $pnt$1 + $xsize + 4 | 0; + $pnt2$2 = $pnt2$3 + 4 | 0; + $wk_max$0 = $wk_max$1; } L80 : do if ((label | 0) == 54) { _arLog(0, 3, 23780, $vararg_buffer); - $$0 = -1; + $retval$0 = -1; } else if ((label | 0) == 59) { - $221 = $4 + 12 | 0; - $$1374 = 1; - $$3379 = 1; - $$4 = $21; + $arrayidx319 = $labelInfo + 12 | 0; + $i$3 = 1; + $j$1 = 1; + $wk$4 = $arraydecay; while (1) { - if (($$3379 | 0) > ($$0381 | 0)) break; - $223 = HEAP32[$$4 >> 2] | 0; - if (($223 | 0) == ($$3379 | 0)) { - $$2375 = $$1374 + 1 | 0; - $229 = $$1374; + if (($i$3 | 0) > ($wk_max$0 | 0)) break; + $44 = HEAP32[$wk$4 >> 2] | 0; + if (($44 | 0) == ($i$3 | 0)) { + $cond = $j$1; + $j$2 = $j$1 + 1 | 0; } else { - $$2375 = $$1374; - $229 = HEAP32[$4 + 1179664 + ($223 + -1 << 2) >> 2] | 0; - } - HEAP32[$$4 >> 2] = $229; - $$1374 = $$2375; - $$3379 = $$3379 + 1 | 0; - $$4 = $$4 + 4 | 0; - } - $232 = $4 + 8 | 0; - $233 = $$1374 + -1 | 0; - HEAP32[$232 >> 2] = $233; - if (!$233) $$0 = 0; else { - _memset($221 | 0, 0, $233 << 2 | 0) | 0; - _memset($4 + 655376 | 0, 0, $233 << 4 | 0) | 0; - $$4380 = 0; + $cond = HEAP32[$labelInfo + 1179664 + ($44 + -1 << 2) >> 2] | 0; + $j$2 = $j$1; + } + HEAP32[$wk$4 >> 2] = $cond; + $i$3 = $i$3 + 1 | 0; + $j$1 = $j$2; + $wk$4 = $wk$4 + 4 | 0; + } + $label_num317 = $labelInfo + 8 | 0; + $sub340 = $j$1 + -1 | 0; + HEAP32[$label_num317 >> 2] = $sub340; + if (!$sub340) $retval$0 = 0; else { + _memset($arrayidx319 | 0, 0, $sub340 << 2 | 0) | 0; + _memset($labelInfo + 655376 | 0, 0, $sub340 << 4 | 0) | 0; + $i$4 = 0; while (1) { - if (($$4380 | 0) >= ($233 | 0)) break; - $239 = $$4380 << 2; - HEAP32[$4 + 131084 + ($239 << 2) >> 2] = $5; - HEAP32[$4 + 131084 + (($239 | 1) << 2) >> 2] = 0; - HEAP32[$4 + 131084 + (($239 | 2) << 2) >> 2] = $6; - HEAP32[$4 + 131084 + (($239 | 3) << 2) >> 2] = 0; - $$4380 = $$4380 + 1 | 0; - } - $$5 = 0; + if (($i$4 | 0) >= ($sub340 | 0)) break; + $mul352 = $i$4 << 2; + HEAP32[$labelInfo + 131084 + ($mul352 << 2) >> 2] = $div; + HEAP32[$labelInfo + 131084 + (($mul352 | 1) << 2) >> 2] = 0; + HEAP32[$labelInfo + 131084 + (($mul352 | 2) << 2) >> 2] = $div1; + HEAP32[$labelInfo + 131084 + (($mul352 | 3) << 2) >> 2] = 0; + $i$4 = $i$4 + 1 | 0; + } + $i$5 = 0; while (1) { - if (($$5 | 0) >= ($$0381 | 0)) break; - $251 = (HEAP32[$4 + 1179664 + ($$5 << 2) >> 2] | 0) + -1 | 0; - $252 = $$5 * 7 | 0; - $255 = $4 + 12 + ($251 << 2) | 0; - HEAP32[$255 >> 2] = (HEAP32[$255 >> 2] | 0) + (HEAP32[$4 + 1310736 + ($252 << 2) >> 2] | 0); - $262 = $251 << 1; - $263 = $4 + 655376 + ($262 << 3) | 0; - HEAPF64[$263 >> 3] = +HEAPF64[$263 >> 3] + +(HEAP32[$4 + 1310736 + ($252 + 1 << 2) >> 2] | 0); - $271 = $4 + 655376 + (($262 | 1) << 3) | 0; - HEAPF64[$271 >> 3] = +HEAPF64[$271 >> 3] + +(HEAP32[$4 + 1310736 + ($252 + 2 << 2) >> 2] | 0); - $274 = $251 << 2; - $275 = $4 + 131084 + ($274 << 2) | 0; - $279 = HEAP32[$4 + 1310736 + ($252 + 3 << 2) >> 2] | 0; - if ((HEAP32[$275 >> 2] | 0) > ($279 | 0)) HEAP32[$275 >> 2] = $279; - $282 = $4 + 131084 + (($274 | 1) << 2) | 0; - $286 = HEAP32[$4 + 1310736 + ($252 + 4 << 2) >> 2] | 0; - if ((HEAP32[$282 >> 2] | 0) < ($286 | 0)) HEAP32[$282 >> 2] = $286; - $289 = $4 + 131084 + (($274 | 2) << 2) | 0; - $293 = HEAP32[$4 + 1310736 + ($252 + 5 << 2) >> 2] | 0; - if ((HEAP32[$289 >> 2] | 0) > ($293 | 0)) HEAP32[$289 >> 2] = $293; - $296 = $4 + 131084 + (($274 | 3) << 2) | 0; - $300 = HEAP32[$4 + 1310736 + ($252 + 6 << 2) >> 2] | 0; - if ((HEAP32[$296 >> 2] | 0) < ($300 | 0)) HEAP32[$296 >> 2] = $300; - $$5 = $$5 + 1 | 0; - } - $303 = HEAP32[$232 >> 2] | 0; - $$6 = 0; + if (($i$5 | 0) >= ($wk_max$0 | 0)) break; + $sub372 = (HEAP32[$labelInfo + 1179664 + ($i$5 << 2) >> 2] | 0) + -1 | 0; + $mul373 = $i$5 * 7 | 0; + $arrayidx376 = $labelInfo + 12 + ($sub372 << 2) | 0; + HEAP32[$arrayidx376 >> 2] = (HEAP32[$arrayidx376 >> 2] | 0) + (HEAP32[$labelInfo + 1310736 + ($mul373 << 2) >> 2] | 0); + $mul382 = $sub372 << 1; + $arrayidx384 = $labelInfo + 655376 + ($mul382 << 3) | 0; + HEAPF64[$arrayidx384 >> 3] = +HEAPF64[$arrayidx384 >> 3] + +(HEAP32[$labelInfo + 1310736 + ($mul373 + 1 << 2) >> 2] | 0); + $arrayidx392 = $labelInfo + 655376 + (($mul382 | 1) << 3) | 0; + HEAPF64[$arrayidx392 >> 3] = +HEAPF64[$arrayidx392 >> 3] + +(HEAP32[$labelInfo + 1310736 + ($mul373 + 2 << 2) >> 2] | 0); + $mul394 = $sub372 << 2; + $arrayidx396 = $labelInfo + 131084 + ($mul394 << 2) | 0; + $54 = HEAP32[$labelInfo + 1310736 + ($mul373 + 3 << 2) >> 2] | 0; + if ((HEAP32[$arrayidx396 >> 2] | 0) > ($54 | 0)) HEAP32[$arrayidx396 >> 2] = $54; + $arrayidx412 = $labelInfo + 131084 + (($mul394 | 1) << 2) | 0; + $56 = HEAP32[$labelInfo + 1310736 + ($mul373 + 4 << 2) >> 2] | 0; + if ((HEAP32[$arrayidx412 >> 2] | 0) < ($56 | 0)) HEAP32[$arrayidx412 >> 2] = $56; + $arrayidx428 = $labelInfo + 131084 + (($mul394 | 2) << 2) | 0; + $58 = HEAP32[$labelInfo + 1310736 + ($mul373 + 5 << 2) >> 2] | 0; + if ((HEAP32[$arrayidx428 >> 2] | 0) > ($58 | 0)) HEAP32[$arrayidx428 >> 2] = $58; + $arrayidx444 = $labelInfo + 131084 + (($mul394 | 3) << 2) | 0; + $60 = HEAP32[$labelInfo + 1310736 + ($mul373 + 6 << 2) >> 2] | 0; + if ((HEAP32[$arrayidx444 >> 2] | 0) < ($60 | 0)) HEAP32[$arrayidx444 >> 2] = $60; + $i$5 = $i$5 + 1 | 0; + } + $61 = HEAP32[$label_num317 >> 2] | 0; + $i$6 = 0; while (1) { - if (($$6 | 0) >= ($303 | 0)) { - $$0 = 0; + if (($i$6 | 0) >= ($61 | 0)) { + $retval$0 = 0; break L80; } - $307 = +(HEAP32[$4 + 12 + ($$6 << 2) >> 2] | 0); - $308 = $$6 << 1; - $309 = $4 + 655376 + ($308 << 3) | 0; - HEAPF64[$309 >> 3] = +HEAPF64[$309 >> 3] / $307; - $313 = $4 + 655376 + (($308 | 1) << 3) | 0; - HEAPF64[$313 >> 3] = +HEAPF64[$313 >> 3] / $307; - $$6 = $$6 + 1 | 0; + $conv466 = +(HEAP32[$labelInfo + 12 + ($i$6 << 2) >> 2] | 0); + $mul467 = $i$6 << 1; + $arrayidx469 = $labelInfo + 655376 + ($mul467 << 3) | 0; + HEAPF64[$arrayidx469 >> 3] = +HEAPF64[$arrayidx469 >> 3] / $conv466; + $arrayidx475 = $labelInfo + 655376 + (($mul467 | 1) << 3) | 0; + HEAPF64[$arrayidx475 >> 3] = +HEAPF64[$arrayidx475 >> 3] / $conv466; + $i$6 = $i$6 + 1 | 0; } } } while (0); STACKTOP = sp; - return $$0 | 0; + return $retval$0 | 0; } -function _arLabelingSubDBIC($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $$0 = 0, $$0360 = 0, $$0361 = 0, $$0363 = 0, $$0365 = 0, $$0369 = 0, $$0373 = 0, $$0376 = 0, $$0381 = 0, $$1 = 0, $$1362 = 0, $$1364 = 0, $$1366 = 0, $$1370 = 0, $$1374 = 0, $$1377 = 0, $$1382 = 0, $$2 = 0, $$2367 = 0, $$2371 = 0, $$2375 = 0, $$2378 = 0, $$2383 = 0, $$3 = 0, $$3368 = 0, $$3372 = 0, $$3379 = 0, $$4 = 0, $$4380 = 0, $$5 = 0, $$6 = 0, $103 = 0, $106 = 0, $121 = 0, $123 = 0, $125 = 0, $129 = 0, $133 = 0, $136 = 0, $138 = 0, $142 = 0, $146 = 0, $15 = 0, $150 = 0, $155 = 0, $157 = 0, $161 = 0, $165 = 0, $169 = 0, $175 = 0, $178 = 0, $180 = 0, $184 = 0, $188 = 0, $192 = 0, $195 = 0, $200 = 0, $21 = 0, $221 = 0, $223 = 0, $229 = 0, $232 = 0, $233 = 0, $239 = 0, $251 = 0, $252 = 0, $255 = 0, $262 = 0, $263 = 0, $27 = 0, $271 = 0, $274 = 0, $275 = 0, $279 = 0, $282 = 0, $286 = 0, $289 = 0, $293 = 0, $296 = 0, $300 = 0, $303 = 0, $307 = 0.0, $308 = 0, $309 = 0, $313 = 0, $33 = 0, $34 = 0, $37 = 0, $39 = 0, $43 = 0, $47 = 0, $5 = 0, $53 = 0, $54 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $62 = 0, $65 = 0, $7 = 0, $8 = 0, $80 = 0, $82 = 0, $84 = 0, $88 = 0, $92 = 0, $98 = 0, $vararg_buffer = 0, label = 0, sp = 0; +function _arLabelingSubDBIC($image, $xsize, $ysize, $labelingThresh, $labelInfo) { + $image = $image | 0; + $xsize = $xsize | 0; + $ysize = $ysize | 0; + $labelingThresh = $labelingThresh | 0; + $labelInfo = $labelInfo | 0; + var $0 = 0, $10 = 0, $13 = 0, $14 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $23 = 0, $24 = 0, $28 = 0, $3 = 0, $33 = 0, $38 = 0, $39 = 0, $44 = 0, $54 = 0, $56 = 0, $58 = 0, $60 = 0, $61 = 0, $7 = 0, $8 = 0, $9 = 0, $arraydecay = 0, $arrayidx116 = 0, $arrayidx119 = 0, $arrayidx122 = 0, $arrayidx183 = 0, $arrayidx186 = 0, $arrayidx189 = 0, $arrayidx197 = 0, $arrayidx200 = 0, $arrayidx203 = 0, $arrayidx206 = 0, $arrayidx228 = 0, $arrayidx231 = 0, $arrayidx234 = 0, $arrayidx237 = 0, $arrayidx257 = 0, $arrayidx260 = 0, $arrayidx263 = 0, $arrayidx266 = 0, $arrayidx319 = 0, $arrayidx37 = 0, $arrayidx376 = 0, $arrayidx384 = 0, $arrayidx392 = 0, $arrayidx396 = 0, $arrayidx412 = 0, $arrayidx428 = 0, $arrayidx444 = 0, $arrayidx46 = 0, $arrayidx469 = 0, $arrayidx475 = 0, $arrayidx49 = 0, $arrayidx52 = 0, $cmp63 = 0, $cond = 0, $conv466 = 0.0, $conv57 = 0, $conv62 = 0, $div = 0, $div1 = 0, $i$0 = 0, $i$1 = 0, $i$2 = 0, $i$3 = 0, $i$4 = 0, $i$5 = 0, $i$6 = 0, $inc274 = 0, $j$0 = 0, $j$1 = 0, $j$2 = 0, $k$0 = 0, $k$1 = 0, $k$2 = 0, $k$3 = 0, $label_num317 = 0, $mul284 = 0, $mul352 = 0, $mul373 = 0, $mul382 = 0, $mul394 = 0, $mul467 = 0, $pnt$0 = 0, $pnt$1 = 0, $pnt1$0 = 0, $pnt1$1 = 0, $pnt2$0 = 0, $pnt2$1 = 0, $pnt2$2 = 0, $pnt2$3 = 0, $retval$0 = 0, $sub = 0, $sub340 = 0, $sub36 = 0, $sub372 = 0, $sub8 = 0, $vararg_buffer = 0, $wk$0 = 0, $wk$1 = 0, $wk$2 = 0, $wk$3 = 0, $wk$4 = 0, $wk_max$0 = 0, $wk_max$1 = 0, $wk_max$2 = 0, label = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); $vararg_buffer = sp; - $5 = ($1 | 0) / 2 | 0; - $6 = ($2 | 0) / 2 | 0; - $7 = HEAP32[$4 >> 2] | 0; - $8 = $6 + -1 | 0; - $$0361 = $7; - $$0363 = $7 + ((Math_imul($8, $5) | 0) << 1) | 0; - $$0376 = 0; + $div = ($xsize | 0) / 2 | 0; + $div1 = ($ysize | 0) / 2 | 0; + $0 = HEAP32[$labelInfo >> 2] | 0; + $sub = $div1 + -1 | 0; + $i$0 = 0; + $pnt1$0 = $0; + $pnt2$0 = $0 + ((Math_imul($sub, $div) | 0) << 1) | 0; while (1) { - if (($$0376 | 0) >= ($5 | 0)) break; - HEAP16[$$0363 >> 1] = 0; - HEAP16[$$0361 >> 1] = 0; - $$0361 = $$0361 + 2 | 0; - $$0363 = $$0363 + 2 | 0; - $$0376 = $$0376 + 1 | 0; - } - $15 = $5 + -1 | 0; - $$1362 = $7; - $$1364 = $7 + ($15 << 1) | 0; - $$1377 = 0; + if (($i$0 | 0) >= ($div | 0)) break; + HEAP16[$pnt2$0 >> 1] = 0; + HEAP16[$pnt1$0 >> 1] = 0; + $i$0 = $i$0 + 1 | 0; + $pnt1$0 = $pnt1$0 + 2 | 0; + $pnt2$0 = $pnt2$0 + 2 | 0; + } + $sub8 = $div + -1 | 0; + $i$1 = 0; + $pnt1$1 = $0; + $pnt2$1 = $0 + ($sub8 << 1) | 0; while (1) { - if (($$1377 | 0) >= ($6 | 0)) break; - HEAP16[$$1364 >> 1] = 0; - HEAP16[$$1362 >> 1] = 0; - $$1362 = $$1362 + ($5 << 1) | 0; - $$1364 = $$1364 + ($5 << 1) | 0; - $$1377 = $$1377 + 1 | 0; - } - $21 = $4 + 1179664 | 0; - $27 = 0 - $5 | 0; - $$0360 = $0 + (($1 << 1) + 2) | 0; - $$0373 = 1; - $$0381 = 0; - $$2 = $7 + ($5 + 1 << 1) | 0; + if (($i$1 | 0) >= ($div1 | 0)) break; + HEAP16[$pnt2$1 >> 1] = 0; + HEAP16[$pnt1$1 >> 1] = 0; + $i$1 = $i$1 + 1 | 0; + $pnt1$1 = $pnt1$1 + ($div << 1) | 0; + $pnt2$1 = $pnt2$1 + ($div << 1) | 0; + } + $arraydecay = $labelInfo + 1179664 | 0; + $sub36 = 0 - $div | 0; + $j$0 = 1; + $pnt$0 = $image + (($xsize << 1) + 2) | 0; + $pnt2$2 = $0 + ($div + 1 << 1) | 0; + $wk_max$0 = 0; L9 : while (1) { - if (($$0373 | 0) >= ($8 | 0)) { + if (($j$0 | 0) >= ($sub | 0)) { label = 59; break; } - $$1 = $$0360; - $$1382 = $$0381; - $$2378 = 1; - $$3 = $$2; + $i$2 = 1; + $pnt$1 = $pnt$0; + $pnt2$3 = $pnt2$2; + $wk_max$1 = $wk_max$0; while (1) { - if (($$2378 | 0) >= ($15 | 0)) break; - do if ((HEAPU8[$$1 >> 0] | 0 | 0) > ($3 | 0)) { - HEAP16[$$3 >> 1] = 0; - $$2383 = $$1382; + if (($i$2 | 0) >= ($sub8 | 0)) break; + do if ((HEAPU8[$pnt$1 >> 0] | 0 | 0) > ($labelingThresh | 0)) { + HEAP16[$pnt2$3 >> 1] = 0; + $wk_max$2 = $wk_max$1; } else { - $33 = $$3 + ($27 << 1) | 0; - $34 = HEAP16[$33 >> 1] | 0; - if ($34 << 16 >> 16 > 0) { - HEAP16[$$3 >> 1] = $34; - $37 = ($34 << 16 >> 16) * 7 | 0; - $39 = $4 + 1310736 + ($37 + -7 << 2) | 0; - HEAP32[$39 >> 2] = (HEAP32[$39 >> 2] | 0) + 1; - $43 = $4 + 1310736 + ($37 + -6 << 2) | 0; - HEAP32[$43 >> 2] = (HEAP32[$43 >> 2] | 0) + $$2378; - $47 = $4 + 1310736 + ($37 + -5 << 2) | 0; - HEAP32[$47 >> 2] = (HEAP32[$47 >> 2] | 0) + $$0373; - HEAP32[$4 + 1310736 + ($37 + -1 << 2) >> 2] = $$0373; - $$2383 = $$1382; + $arrayidx37 = $pnt2$3 + ($sub36 << 1) | 0; + $2 = HEAP16[$arrayidx37 >> 1] | 0; + if ($2 << 16 >> 16 > 0) { + HEAP16[$pnt2$3 >> 1] = $2; + $3 = ($2 << 16 >> 16) * 7 | 0; + $arrayidx46 = $labelInfo + 1310736 + ($3 + -7 << 2) | 0; + HEAP32[$arrayidx46 >> 2] = (HEAP32[$arrayidx46 >> 2] | 0) + 1; + $arrayidx49 = $labelInfo + 1310736 + ($3 + -6 << 2) | 0; + HEAP32[$arrayidx49 >> 2] = (HEAP32[$arrayidx49 >> 2] | 0) + $i$2; + $arrayidx52 = $labelInfo + 1310736 + ($3 + -5 << 2) | 0; + HEAP32[$arrayidx52 >> 2] = (HEAP32[$arrayidx52 >> 2] | 0) + $j$0; + HEAP32[$labelInfo + 1310736 + ($3 + -1 << 2) >> 2] = $j$0; + $wk_max$2 = $wk_max$1; break; } - $53 = HEAP16[$33 + 2 >> 1] | 0; - $54 = $53 << 16 >> 16; - $57 = HEAP16[$33 + -2 >> 1] | 0; - $58 = $57 << 16 >> 16; - $59 = $57 << 16 >> 16 > 0; - if ($53 << 16 >> 16 <= 0) { - if ($59) { - HEAP16[$$3 >> 1] = $57; - $155 = $58 * 7 | 0; - $157 = $4 + 1310736 + ($155 + -7 << 2) | 0; - HEAP32[$157 >> 2] = (HEAP32[$157 >> 2] | 0) + 1; - $161 = $4 + 1310736 + ($155 + -6 << 2) | 0; - HEAP32[$161 >> 2] = (HEAP32[$161 >> 2] | 0) + $$2378; - $165 = $4 + 1310736 + ($155 + -5 << 2) | 0; - HEAP32[$165 >> 2] = (HEAP32[$165 >> 2] | 0) + $$0373; - $169 = $4 + 1310736 + ($155 + -3 << 2) | 0; - if ((HEAP32[$169 >> 2] | 0) < ($$2378 | 0)) HEAP32[$169 >> 2] = $$2378; - HEAP32[$4 + 1310736 + ($155 + -1 << 2) >> 2] = $$0373; - $$2383 = $$1382; + $7 = HEAP16[$arrayidx37 + 2 >> 1] | 0; + $conv57 = $7 << 16 >> 16; + $8 = HEAP16[$arrayidx37 + -2 >> 1] | 0; + $conv62 = $8 << 16 >> 16; + $cmp63 = $8 << 16 >> 16 > 0; + if ($7 << 16 >> 16 <= 0) { + if ($cmp63) { + HEAP16[$pnt2$3 >> 1] = $8; + $33 = $conv62 * 7 | 0; + $arrayidx228 = $labelInfo + 1310736 + ($33 + -7 << 2) | 0; + HEAP32[$arrayidx228 >> 2] = (HEAP32[$arrayidx228 >> 2] | 0) + 1; + $arrayidx231 = $labelInfo + 1310736 + ($33 + -6 << 2) | 0; + HEAP32[$arrayidx231 >> 2] = (HEAP32[$arrayidx231 >> 2] | 0) + $i$2; + $arrayidx234 = $labelInfo + 1310736 + ($33 + -5 << 2) | 0; + HEAP32[$arrayidx234 >> 2] = (HEAP32[$arrayidx234 >> 2] | 0) + $j$0; + $arrayidx237 = $labelInfo + 1310736 + ($33 + -3 << 2) | 0; + if ((HEAP32[$arrayidx237 >> 2] | 0) < ($i$2 | 0)) HEAP32[$arrayidx237 >> 2] = $i$2; + HEAP32[$labelInfo + 1310736 + ($33 + -1 << 2) >> 2] = $j$0; + $wk_max$2 = $wk_max$1; break; } - $175 = HEAP16[$$3 + -2 >> 1] | 0; - if ($175 << 16 >> 16 > 0) { - HEAP16[$$3 >> 1] = $175; - $178 = ($175 << 16 >> 16) * 7 | 0; - $180 = $4 + 1310736 + ($178 + -7 << 2) | 0; - HEAP32[$180 >> 2] = (HEAP32[$180 >> 2] | 0) + 1; - $184 = $4 + 1310736 + ($178 + -6 << 2) | 0; - HEAP32[$184 >> 2] = (HEAP32[$184 >> 2] | 0) + $$2378; - $188 = $4 + 1310736 + ($178 + -5 << 2) | 0; - HEAP32[$188 >> 2] = (HEAP32[$188 >> 2] | 0) + $$0373; - $192 = $4 + 1310736 + ($178 + -3 << 2) | 0; - if ((HEAP32[$192 >> 2] | 0) >= ($$2378 | 0)) { - $$2383 = $$1382; + $38 = HEAP16[$pnt2$3 + -2 >> 1] | 0; + if ($38 << 16 >> 16 > 0) { + HEAP16[$pnt2$3 >> 1] = $38; + $39 = ($38 << 16 >> 16) * 7 | 0; + $arrayidx257 = $labelInfo + 1310736 + ($39 + -7 << 2) | 0; + HEAP32[$arrayidx257 >> 2] = (HEAP32[$arrayidx257 >> 2] | 0) + 1; + $arrayidx260 = $labelInfo + 1310736 + ($39 + -6 << 2) | 0; + HEAP32[$arrayidx260 >> 2] = (HEAP32[$arrayidx260 >> 2] | 0) + $i$2; + $arrayidx263 = $labelInfo + 1310736 + ($39 + -5 << 2) | 0; + HEAP32[$arrayidx263 >> 2] = (HEAP32[$arrayidx263 >> 2] | 0) + $j$0; + $arrayidx266 = $labelInfo + 1310736 + ($39 + -3 << 2) | 0; + if ((HEAP32[$arrayidx266 >> 2] | 0) >= ($i$2 | 0)) { + $wk_max$2 = $wk_max$1; break; } - HEAP32[$192 >> 2] = $$2378; - $$2383 = $$1382; + HEAP32[$arrayidx266 >> 2] = $i$2; + $wk_max$2 = $wk_max$1; break; } else { - $195 = $$1382 + 1 | 0; - if (($$1382 | 0) > 32767) { + $inc274 = $wk_max$1 + 1 | 0; + if (($wk_max$1 | 0) > 32767) { label = 54; break L9; } - HEAP16[$$3 >> 1] = $195; - HEAP32[$4 + 1179664 + ($$1382 << 2) >> 2] = $195 << 16 >> 16; - $200 = $$1382 * 7 | 0; - HEAP32[$4 + 1310736 + ($200 << 2) >> 2] = 1; - HEAP32[$4 + 1310736 + ($200 + 1 << 2) >> 2] = $$2378; - HEAP32[$4 + 1310736 + ($200 + 2 << 2) >> 2] = $$0373; - HEAP32[$4 + 1310736 + ($200 + 3 << 2) >> 2] = $$2378; - HEAP32[$4 + 1310736 + ($200 + 4 << 2) >> 2] = $$2378; - HEAP32[$4 + 1310736 + ($200 + 5 << 2) >> 2] = $$0373; - HEAP32[$4 + 1310736 + ($200 + 6 << 2) >> 2] = $$0373; - $$2383 = $195; + HEAP16[$pnt2$3 >> 1] = $inc274; + HEAP32[$labelInfo + 1179664 + ($wk_max$1 << 2) >> 2] = $inc274 << 16 >> 16; + $mul284 = $wk_max$1 * 7 | 0; + HEAP32[$labelInfo + 1310736 + ($mul284 << 2) >> 2] = 1; + HEAP32[$labelInfo + 1310736 + ($mul284 + 1 << 2) >> 2] = $i$2; + HEAP32[$labelInfo + 1310736 + ($mul284 + 2 << 2) >> 2] = $j$0; + HEAP32[$labelInfo + 1310736 + ($mul284 + 3 << 2) >> 2] = $i$2; + HEAP32[$labelInfo + 1310736 + ($mul284 + 4 << 2) >> 2] = $i$2; + HEAP32[$labelInfo + 1310736 + ($mul284 + 5 << 2) >> 2] = $j$0; + HEAP32[$labelInfo + 1310736 + ($mul284 + 6 << 2) >> 2] = $j$0; + $wk_max$2 = $inc274; break; } } - if ($59) { - $62 = HEAP32[$4 + 1179664 + ($54 + -1 << 2) >> 2] | 0; - $65 = HEAP32[$4 + 1179664 + ($58 + -1 << 2) >> 2] | 0; - L37 : do if (($62 | 0) <= ($65 | 0)) { - HEAP16[$$3 >> 1] = $62; - if (($62 | 0) < ($65 | 0)) { - $$1366 = $21; - $$1370 = 0; + if ($cmp63) { + $9 = HEAP32[$labelInfo + 1179664 + ($conv57 + -1 << 2) >> 2] | 0; + $10 = HEAP32[$labelInfo + 1179664 + ($conv62 + -1 << 2) >> 2] | 0; + L37 : do if (($9 | 0) <= ($10 | 0)) { + HEAP16[$pnt2$3 >> 1] = $9; + if (($9 | 0) < ($10 | 0)) { + $k$1 = 0; + $wk$1 = $arraydecay; while (1) { - if (($$1370 | 0) >= ($$1382 | 0)) { - $80 = $62; + if (($k$1 | 0) >= ($wk_max$1 | 0)) { + $13 = $9; break L37; } - if ((HEAP32[$$1366 >> 2] | 0) == ($65 | 0)) HEAP32[$$1366 >> 2] = $62; - $$1366 = $$1366 + 4 | 0; - $$1370 = $$1370 + 1 | 0; + if ((HEAP32[$wk$1 >> 2] | 0) == ($10 | 0)) HEAP32[$wk$1 >> 2] = $9; + $k$1 = $k$1 + 1 | 0; + $wk$1 = $wk$1 + 4 | 0; } - } else $80 = $62; + } else $13 = $9; } else { - HEAP16[$$3 >> 1] = $65; - $$0365 = $21; - $$0369 = 0; + HEAP16[$pnt2$3 >> 1] = $10; + $k$0 = 0; + $wk$0 = $arraydecay; while (1) { - if (($$0369 | 0) >= ($$1382 | 0)) { - $80 = $65; + if (($k$0 | 0) >= ($wk_max$1 | 0)) { + $13 = $10; break L37; } - if ((HEAP32[$$0365 >> 2] | 0) == ($62 | 0)) HEAP32[$$0365 >> 2] = $65; - $$0365 = $$0365 + 4 | 0; - $$0369 = $$0369 + 1 | 0; + if ((HEAP32[$wk$0 >> 2] | 0) == ($9 | 0)) HEAP32[$wk$0 >> 2] = $10; + $k$0 = $k$0 + 1 | 0; + $wk$0 = $wk$0 + 4 | 0; } } while (0); - $82 = ($80 << 16 >> 16) * 7 | 0; - $84 = $4 + 1310736 + ($82 + -7 << 2) | 0; - HEAP32[$84 >> 2] = (HEAP32[$84 >> 2] | 0) + 1; - $88 = $4 + 1310736 + ($82 + -6 << 2) | 0; - HEAP32[$88 >> 2] = (HEAP32[$88 >> 2] | 0) + $$2378; - $92 = $4 + 1310736 + ($82 + -5 << 2) | 0; - HEAP32[$92 >> 2] = (HEAP32[$92 >> 2] | 0) + $$0373; - HEAP32[$4 + 1310736 + ($82 + -1 << 2) >> 2] = $$0373; - $$2383 = $$1382; + $14 = ($13 << 16 >> 16) * 7 | 0; + $arrayidx116 = $labelInfo + 1310736 + ($14 + -7 << 2) | 0; + HEAP32[$arrayidx116 >> 2] = (HEAP32[$arrayidx116 >> 2] | 0) + 1; + $arrayidx119 = $labelInfo + 1310736 + ($14 + -6 << 2) | 0; + HEAP32[$arrayidx119 >> 2] = (HEAP32[$arrayidx119 >> 2] | 0) + $i$2; + $arrayidx122 = $labelInfo + 1310736 + ($14 + -5 << 2) | 0; + HEAP32[$arrayidx122 >> 2] = (HEAP32[$arrayidx122 >> 2] | 0) + $j$0; + HEAP32[$labelInfo + 1310736 + ($14 + -1 << 2) >> 2] = $j$0; + $wk_max$2 = $wk_max$1; break; } - $98 = HEAP16[$$3 + -2 >> 1] | 0; - if ($98 << 16 >> 16 <= 0) { - HEAP16[$$3 >> 1] = $53; - $136 = $54 * 7 | 0; - $138 = $4 + 1310736 + ($136 + -7 << 2) | 0; - HEAP32[$138 >> 2] = (HEAP32[$138 >> 2] | 0) + 1; - $142 = $4 + 1310736 + ($136 + -6 << 2) | 0; - HEAP32[$142 >> 2] = (HEAP32[$142 >> 2] | 0) + $$2378; - $146 = $4 + 1310736 + ($136 + -5 << 2) | 0; - HEAP32[$146 >> 2] = (HEAP32[$146 >> 2] | 0) + $$0373; - $150 = $4 + 1310736 + ($136 + -4 << 2) | 0; - if ((HEAP32[$150 >> 2] | 0) > ($$2378 | 0)) HEAP32[$150 >> 2] = $$2378; - HEAP32[$4 + 1310736 + ($136 + -1 << 2) >> 2] = $$0373; - $$2383 = $$1382; + $18 = HEAP16[$pnt2$3 + -2 >> 1] | 0; + if ($18 << 16 >> 16 <= 0) { + HEAP16[$pnt2$3 >> 1] = $7; + $28 = $conv57 * 7 | 0; + $arrayidx197 = $labelInfo + 1310736 + ($28 + -7 << 2) | 0; + HEAP32[$arrayidx197 >> 2] = (HEAP32[$arrayidx197 >> 2] | 0) + 1; + $arrayidx200 = $labelInfo + 1310736 + ($28 + -6 << 2) | 0; + HEAP32[$arrayidx200 >> 2] = (HEAP32[$arrayidx200 >> 2] | 0) + $i$2; + $arrayidx203 = $labelInfo + 1310736 + ($28 + -5 << 2) | 0; + HEAP32[$arrayidx203 >> 2] = (HEAP32[$arrayidx203 >> 2] | 0) + $j$0; + $arrayidx206 = $labelInfo + 1310736 + ($28 + -4 << 2) | 0; + if ((HEAP32[$arrayidx206 >> 2] | 0) > ($i$2 | 0)) HEAP32[$arrayidx206 >> 2] = $i$2; + HEAP32[$labelInfo + 1310736 + ($28 + -1 << 2) >> 2] = $j$0; + $wk_max$2 = $wk_max$1; break; } - $103 = HEAP32[$4 + 1179664 + ($54 + -1 << 2) >> 2] | 0; - $106 = HEAP32[$4 + 1179664 + (($98 << 16 >> 16) + -1 << 2) >> 2] | 0; - L61 : do if (($103 | 0) <= ($106 | 0)) { - HEAP16[$$3 >> 1] = $103; - if (($103 | 0) < ($106 | 0)) { - $$3368 = $21; - $$3372 = 0; + $19 = HEAP32[$labelInfo + 1179664 + ($conv57 + -1 << 2) >> 2] | 0; + $20 = HEAP32[$labelInfo + 1179664 + (($18 << 16 >> 16) + -1 << 2) >> 2] | 0; + L61 : do if (($19 | 0) <= ($20 | 0)) { + HEAP16[$pnt2$3 >> 1] = $19; + if (($19 | 0) < ($20 | 0)) { + $k$3 = 0; + $wk$3 = $arraydecay; while (1) { - if (($$3372 | 0) >= ($$1382 | 0)) { - $121 = $103; + if (($k$3 | 0) >= ($wk_max$1 | 0)) { + $23 = $19; break L61; } - if ((HEAP32[$$3368 >> 2] | 0) == ($106 | 0)) HEAP32[$$3368 >> 2] = $103; - $$3368 = $$3368 + 4 | 0; - $$3372 = $$3372 + 1 | 0; + if ((HEAP32[$wk$3 >> 2] | 0) == ($20 | 0)) HEAP32[$wk$3 >> 2] = $19; + $k$3 = $k$3 + 1 | 0; + $wk$3 = $wk$3 + 4 | 0; } - } else $121 = $103; + } else $23 = $19; } else { - HEAP16[$$3 >> 1] = $106; - $$2367 = $21; - $$2371 = 0; + HEAP16[$pnt2$3 >> 1] = $20; + $k$2 = 0; + $wk$2 = $arraydecay; while (1) { - if (($$2371 | 0) >= ($$1382 | 0)) { - $121 = $106; + if (($k$2 | 0) >= ($wk_max$1 | 0)) { + $23 = $20; break L61; } - if ((HEAP32[$$2367 >> 2] | 0) == ($103 | 0)) HEAP32[$$2367 >> 2] = $106; - $$2367 = $$2367 + 4 | 0; - $$2371 = $$2371 + 1 | 0; + if ((HEAP32[$wk$2 >> 2] | 0) == ($19 | 0)) HEAP32[$wk$2 >> 2] = $20; + $k$2 = $k$2 + 1 | 0; + $wk$2 = $wk$2 + 4 | 0; } } while (0); - $123 = ($121 << 16 >> 16) * 7 | 0; - $125 = $4 + 1310736 + ($123 + -7 << 2) | 0; - HEAP32[$125 >> 2] = (HEAP32[$125 >> 2] | 0) + 1; - $129 = $4 + 1310736 + ($123 + -6 << 2) | 0; - HEAP32[$129 >> 2] = (HEAP32[$129 >> 2] | 0) + $$2378; - $133 = $4 + 1310736 + ($123 + -5 << 2) | 0; - HEAP32[$133 >> 2] = (HEAP32[$133 >> 2] | 0) + $$0373; - $$2383 = $$1382; + $24 = ($23 << 16 >> 16) * 7 | 0; + $arrayidx183 = $labelInfo + 1310736 + ($24 + -7 << 2) | 0; + HEAP32[$arrayidx183 >> 2] = (HEAP32[$arrayidx183 >> 2] | 0) + 1; + $arrayidx186 = $labelInfo + 1310736 + ($24 + -6 << 2) | 0; + HEAP32[$arrayidx186 >> 2] = (HEAP32[$arrayidx186 >> 2] | 0) + $i$2; + $arrayidx189 = $labelInfo + 1310736 + ($24 + -5 << 2) | 0; + HEAP32[$arrayidx189 >> 2] = (HEAP32[$arrayidx189 >> 2] | 0) + $j$0; + $wk_max$2 = $wk_max$1; } while (0); - $$1 = $$1 + 2 | 0; - $$1382 = $$2383; - $$2378 = $$2378 + 1 | 0; - $$3 = $$3 + 2 | 0; + $i$2 = $i$2 + 1 | 0; + $pnt$1 = $pnt$1 + 2 | 0; + $pnt2$3 = $pnt2$3 + 2 | 0; + $wk_max$1 = $wk_max$2; } - $$0360 = $$1 + $1 + 4 | 0; - $$0373 = $$0373 + 1 | 0; - $$0381 = $$1382; - $$2 = $$3 + 4 | 0; + $j$0 = $j$0 + 1 | 0; + $pnt$0 = $pnt$1 + $xsize + 4 | 0; + $pnt2$2 = $pnt2$3 + 4 | 0; + $wk_max$0 = $wk_max$1; } L80 : do if ((label | 0) == 54) { _arLog(0, 3, 23780, $vararg_buffer); - $$0 = -1; + $retval$0 = -1; } else if ((label | 0) == 59) { - $221 = $4 + 12 | 0; - $$1374 = 1; - $$3379 = 1; - $$4 = $21; + $arrayidx319 = $labelInfo + 12 | 0; + $i$3 = 1; + $j$1 = 1; + $wk$4 = $arraydecay; while (1) { - if (($$3379 | 0) > ($$0381 | 0)) break; - $223 = HEAP32[$$4 >> 2] | 0; - if (($223 | 0) == ($$3379 | 0)) { - $$2375 = $$1374 + 1 | 0; - $229 = $$1374; + if (($i$3 | 0) > ($wk_max$0 | 0)) break; + $44 = HEAP32[$wk$4 >> 2] | 0; + if (($44 | 0) == ($i$3 | 0)) { + $cond = $j$1; + $j$2 = $j$1 + 1 | 0; } else { - $$2375 = $$1374; - $229 = HEAP32[$4 + 1179664 + ($223 + -1 << 2) >> 2] | 0; - } - HEAP32[$$4 >> 2] = $229; - $$1374 = $$2375; - $$3379 = $$3379 + 1 | 0; - $$4 = $$4 + 4 | 0; - } - $232 = $4 + 8 | 0; - $233 = $$1374 + -1 | 0; - HEAP32[$232 >> 2] = $233; - if (!$233) $$0 = 0; else { - _memset($221 | 0, 0, $233 << 2 | 0) | 0; - _memset($4 + 655376 | 0, 0, $233 << 4 | 0) | 0; - $$4380 = 0; + $cond = HEAP32[$labelInfo + 1179664 + ($44 + -1 << 2) >> 2] | 0; + $j$2 = $j$1; + } + HEAP32[$wk$4 >> 2] = $cond; + $i$3 = $i$3 + 1 | 0; + $j$1 = $j$2; + $wk$4 = $wk$4 + 4 | 0; + } + $label_num317 = $labelInfo + 8 | 0; + $sub340 = $j$1 + -1 | 0; + HEAP32[$label_num317 >> 2] = $sub340; + if (!$sub340) $retval$0 = 0; else { + _memset($arrayidx319 | 0, 0, $sub340 << 2 | 0) | 0; + _memset($labelInfo + 655376 | 0, 0, $sub340 << 4 | 0) | 0; + $i$4 = 0; while (1) { - if (($$4380 | 0) >= ($233 | 0)) break; - $239 = $$4380 << 2; - HEAP32[$4 + 131084 + ($239 << 2) >> 2] = $5; - HEAP32[$4 + 131084 + (($239 | 1) << 2) >> 2] = 0; - HEAP32[$4 + 131084 + (($239 | 2) << 2) >> 2] = $6; - HEAP32[$4 + 131084 + (($239 | 3) << 2) >> 2] = 0; - $$4380 = $$4380 + 1 | 0; - } - $$5 = 0; + if (($i$4 | 0) >= ($sub340 | 0)) break; + $mul352 = $i$4 << 2; + HEAP32[$labelInfo + 131084 + ($mul352 << 2) >> 2] = $div; + HEAP32[$labelInfo + 131084 + (($mul352 | 1) << 2) >> 2] = 0; + HEAP32[$labelInfo + 131084 + (($mul352 | 2) << 2) >> 2] = $div1; + HEAP32[$labelInfo + 131084 + (($mul352 | 3) << 2) >> 2] = 0; + $i$4 = $i$4 + 1 | 0; + } + $i$5 = 0; while (1) { - if (($$5 | 0) >= ($$0381 | 0)) break; - $251 = (HEAP32[$4 + 1179664 + ($$5 << 2) >> 2] | 0) + -1 | 0; - $252 = $$5 * 7 | 0; - $255 = $4 + 12 + ($251 << 2) | 0; - HEAP32[$255 >> 2] = (HEAP32[$255 >> 2] | 0) + (HEAP32[$4 + 1310736 + ($252 << 2) >> 2] | 0); - $262 = $251 << 1; - $263 = $4 + 655376 + ($262 << 3) | 0; - HEAPF64[$263 >> 3] = +HEAPF64[$263 >> 3] + +(HEAP32[$4 + 1310736 + ($252 + 1 << 2) >> 2] | 0); - $271 = $4 + 655376 + (($262 | 1) << 3) | 0; - HEAPF64[$271 >> 3] = +HEAPF64[$271 >> 3] + +(HEAP32[$4 + 1310736 + ($252 + 2 << 2) >> 2] | 0); - $274 = $251 << 2; - $275 = $4 + 131084 + ($274 << 2) | 0; - $279 = HEAP32[$4 + 1310736 + ($252 + 3 << 2) >> 2] | 0; - if ((HEAP32[$275 >> 2] | 0) > ($279 | 0)) HEAP32[$275 >> 2] = $279; - $282 = $4 + 131084 + (($274 | 1) << 2) | 0; - $286 = HEAP32[$4 + 1310736 + ($252 + 4 << 2) >> 2] | 0; - if ((HEAP32[$282 >> 2] | 0) < ($286 | 0)) HEAP32[$282 >> 2] = $286; - $289 = $4 + 131084 + (($274 | 2) << 2) | 0; - $293 = HEAP32[$4 + 1310736 + ($252 + 5 << 2) >> 2] | 0; - if ((HEAP32[$289 >> 2] | 0) > ($293 | 0)) HEAP32[$289 >> 2] = $293; - $296 = $4 + 131084 + (($274 | 3) << 2) | 0; - $300 = HEAP32[$4 + 1310736 + ($252 + 6 << 2) >> 2] | 0; - if ((HEAP32[$296 >> 2] | 0) < ($300 | 0)) HEAP32[$296 >> 2] = $300; - $$5 = $$5 + 1 | 0; - } - $303 = HEAP32[$232 >> 2] | 0; - $$6 = 0; + if (($i$5 | 0) >= ($wk_max$0 | 0)) break; + $sub372 = (HEAP32[$labelInfo + 1179664 + ($i$5 << 2) >> 2] | 0) + -1 | 0; + $mul373 = $i$5 * 7 | 0; + $arrayidx376 = $labelInfo + 12 + ($sub372 << 2) | 0; + HEAP32[$arrayidx376 >> 2] = (HEAP32[$arrayidx376 >> 2] | 0) + (HEAP32[$labelInfo + 1310736 + ($mul373 << 2) >> 2] | 0); + $mul382 = $sub372 << 1; + $arrayidx384 = $labelInfo + 655376 + ($mul382 << 3) | 0; + HEAPF64[$arrayidx384 >> 3] = +HEAPF64[$arrayidx384 >> 3] + +(HEAP32[$labelInfo + 1310736 + ($mul373 + 1 << 2) >> 2] | 0); + $arrayidx392 = $labelInfo + 655376 + (($mul382 | 1) << 3) | 0; + HEAPF64[$arrayidx392 >> 3] = +HEAPF64[$arrayidx392 >> 3] + +(HEAP32[$labelInfo + 1310736 + ($mul373 + 2 << 2) >> 2] | 0); + $mul394 = $sub372 << 2; + $arrayidx396 = $labelInfo + 131084 + ($mul394 << 2) | 0; + $54 = HEAP32[$labelInfo + 1310736 + ($mul373 + 3 << 2) >> 2] | 0; + if ((HEAP32[$arrayidx396 >> 2] | 0) > ($54 | 0)) HEAP32[$arrayidx396 >> 2] = $54; + $arrayidx412 = $labelInfo + 131084 + (($mul394 | 1) << 2) | 0; + $56 = HEAP32[$labelInfo + 1310736 + ($mul373 + 4 << 2) >> 2] | 0; + if ((HEAP32[$arrayidx412 >> 2] | 0) < ($56 | 0)) HEAP32[$arrayidx412 >> 2] = $56; + $arrayidx428 = $labelInfo + 131084 + (($mul394 | 2) << 2) | 0; + $58 = HEAP32[$labelInfo + 1310736 + ($mul373 + 5 << 2) >> 2] | 0; + if ((HEAP32[$arrayidx428 >> 2] | 0) > ($58 | 0)) HEAP32[$arrayidx428 >> 2] = $58; + $arrayidx444 = $labelInfo + 131084 + (($mul394 | 3) << 2) | 0; + $60 = HEAP32[$labelInfo + 1310736 + ($mul373 + 6 << 2) >> 2] | 0; + if ((HEAP32[$arrayidx444 >> 2] | 0) < ($60 | 0)) HEAP32[$arrayidx444 >> 2] = $60; + $i$5 = $i$5 + 1 | 0; + } + $61 = HEAP32[$label_num317 >> 2] | 0; + $i$6 = 0; while (1) { - if (($$6 | 0) >= ($303 | 0)) { - $$0 = 0; + if (($i$6 | 0) >= ($61 | 0)) { + $retval$0 = 0; break L80; } - $307 = +(HEAP32[$4 + 12 + ($$6 << 2) >> 2] | 0); - $308 = $$6 << 1; - $309 = $4 + 655376 + ($308 << 3) | 0; - HEAPF64[$309 >> 3] = +HEAPF64[$309 >> 3] / $307; - $313 = $4 + 655376 + (($308 | 1) << 3) | 0; - HEAPF64[$313 >> 3] = +HEAPF64[$313 >> 3] / $307; - $$6 = $$6 + 1 | 0; + $conv466 = +(HEAP32[$labelInfo + 12 + ($i$6 << 2) >> 2] | 0); + $mul467 = $i$6 << 1; + $arrayidx469 = $labelInfo + 655376 + ($mul467 << 3) | 0; + HEAPF64[$arrayidx469 >> 3] = +HEAPF64[$arrayidx469 >> 3] / $conv466; + $arrayidx475 = $labelInfo + 655376 + (($mul467 | 1) << 3) | 0; + HEAPF64[$arrayidx475 >> 3] = +HEAPF64[$arrayidx475 >> 3] / $conv466; + $i$6 = $i$6 + 1 | 0; } } } while (0); STACKTOP = sp; - return $$0 | 0; + return $retval$0 | 0; } -function _arLabelingSubDWRC($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $$0 = 0, $$0358 = 0, $$0359 = 0, $$0361 = 0, $$0363 = 0, $$0367 = 0, $$0371 = 0, $$0374 = 0, $$0379 = 0, $$1 = 0, $$1360 = 0, $$1362 = 0, $$1364 = 0, $$1368 = 0, $$1372 = 0, $$1375 = 0, $$1380 = 0, $$2 = 0, $$2365 = 0, $$2369 = 0, $$2373 = 0, $$2376 = 0, $$2381 = 0, $$3 = 0, $$3366 = 0, $$3370 = 0, $$3377 = 0, $$4 = 0, $$4378 = 0, $$5 = 0, $$6 = 0, $102 = 0, $117 = 0, $119 = 0, $121 = 0, $125 = 0, $129 = 0, $13 = 0, $132 = 0, $134 = 0, $138 = 0, $142 = 0, $146 = 0, $151 = 0, $153 = 0, $157 = 0, $161 = 0, $165 = 0, $171 = 0, $174 = 0, $176 = 0, $180 = 0, $184 = 0, $188 = 0, $19 = 0, $191 = 0, $196 = 0, $20 = 0, $216 = 0, $218 = 0, $224 = 0, $227 = 0, $228 = 0, $23 = 0, $234 = 0, $246 = 0, $247 = 0, $250 = 0, $257 = 0, $258 = 0, $266 = 0, $269 = 0, $270 = 0, $274 = 0, $277 = 0, $281 = 0, $284 = 0, $288 = 0, $29 = 0, $291 = 0, $295 = 0, $298 = 0, $30 = 0, $302 = 0.0, $303 = 0, $304 = 0, $308 = 0, $33 = 0, $35 = 0, $39 = 0, $43 = 0, $49 = 0, $5 = 0, $50 = 0, $53 = 0, $54 = 0, $55 = 0, $58 = 0, $6 = 0, $61 = 0, $76 = 0, $78 = 0, $80 = 0, $84 = 0, $88 = 0, $94 = 0, $99 = 0, $vararg_buffer = 0, label = 0, sp = 0; +function _arLabelingSubDWRC($image, $xsize, $ysize, $labelingThresh, $labelInfo) { + $image = $image | 0; + $xsize = $xsize | 0; + $ysize = $ysize | 0; + $labelingThresh = $labelingThresh | 0; + $labelInfo = $labelInfo | 0; + var $0 = 0, $10 = 0, $13 = 0, $14 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $23 = 0, $24 = 0, $28 = 0, $3 = 0, $33 = 0, $38 = 0, $39 = 0, $44 = 0, $54 = 0, $56 = 0, $58 = 0, $60 = 0, $61 = 0, $7 = 0, $8 = 0, $9 = 0, $add = 0, $arraydecay = 0, $arrayidx114 = 0, $arrayidx117 = 0, $arrayidx120 = 0, $arrayidx181 = 0, $arrayidx184 = 0, $arrayidx187 = 0, $arrayidx195 = 0, $arrayidx198 = 0, $arrayidx201 = 0, $arrayidx204 = 0, $arrayidx226 = 0, $arrayidx229 = 0, $arrayidx232 = 0, $arrayidx235 = 0, $arrayidx255 = 0, $arrayidx258 = 0, $arrayidx261 = 0, $arrayidx264 = 0, $arrayidx315 = 0, $arrayidx35 = 0, $arrayidx372 = 0, $arrayidx380 = 0, $arrayidx388 = 0, $arrayidx392 = 0, $arrayidx408 = 0, $arrayidx424 = 0, $arrayidx44 = 0, $arrayidx440 = 0, $arrayidx465 = 0, $arrayidx47 = 0, $arrayidx470 = 0, $arrayidx50 = 0, $cmp61 = 0, $cond = 0, $conv462 = 0.0, $conv55 = 0, $conv60 = 0, $i$0 = 0, $i$1 = 0, $i$2 = 0, $i$3 = 0, $i$4 = 0, $i$5 = 0, $i$6 = 0, $inc272 = 0, $j$0 = 0, $j$1 = 0, $j$2 = 0, $k$0 = 0, $k$1 = 0, $k$2 = 0, $k$3 = 0, $label_num313 = 0, $mul282 = 0, $mul348 = 0, $mul369 = 0, $mul378 = 0, $mul390 = 0, $mul463 = 0, $pnt$0 = 0, $pnt$1 = 0, $pnt1$0 = 0, $pnt1$1 = 0, $pnt2$0 = 0, $pnt2$1 = 0, $pnt2$2 = 0, $pnt2$3 = 0, $retval$0 = 0, $sub = 0, $sub336 = 0, $sub34 = 0, $sub368 = 0, $sub7 = 0, $vararg_buffer = 0, $wk$0 = 0, $wk$1 = 0, $wk$2 = 0, $wk$3 = 0, $wk$4 = 0, $wk_max$0 = 0, $wk_max$1 = 0, $wk_max$2 = 0, label = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); $vararg_buffer = sp; - $5 = HEAP32[$4 >> 2] | 0; - $6 = $2 + -1 | 0; - $$0359 = $5; - $$0361 = $5 + ((Math_imul($6, $1) | 0) << 1) | 0; - $$0374 = 0; + $0 = HEAP32[$labelInfo >> 2] | 0; + $sub = $ysize + -1 | 0; + $i$0 = 0; + $pnt1$0 = $0; + $pnt2$0 = $0 + ((Math_imul($sub, $xsize) | 0) << 1) | 0; while (1) { - if (($$0374 | 0) >= ($1 | 0)) break; - HEAP16[$$0361 >> 1] = 0; - HEAP16[$$0359 >> 1] = 0; - $$0359 = $$0359 + 2 | 0; - $$0361 = $$0361 + 2 | 0; - $$0374 = $$0374 + 1 | 0; - } - $13 = $1 + -1 | 0; - $$1360 = $5; - $$1362 = $5 + ($13 << 1) | 0; - $$1375 = 0; + if (($i$0 | 0) >= ($xsize | 0)) break; + HEAP16[$pnt2$0 >> 1] = 0; + HEAP16[$pnt1$0 >> 1] = 0; + $i$0 = $i$0 + 1 | 0; + $pnt1$0 = $pnt1$0 + 2 | 0; + $pnt2$0 = $pnt2$0 + 2 | 0; + } + $sub7 = $xsize + -1 | 0; + $i$1 = 0; + $pnt1$1 = $0; + $pnt2$1 = $0 + ($sub7 << 1) | 0; while (1) { - if (($$1375 | 0) >= ($2 | 0)) break; - HEAP16[$$1362 >> 1] = 0; - HEAP16[$$1360 >> 1] = 0; - $$1360 = $$1360 + ($1 << 1) | 0; - $$1362 = $$1362 + ($1 << 1) | 0; - $$1375 = $$1375 + 1 | 0; - } - $19 = $4 + 1179664 | 0; - $20 = $1 + 1 | 0; - $23 = 0 - $1 | 0; - $$0358 = $0 + $20 | 0; - $$0371 = 1; - $$0379 = 0; - $$2 = $5 + ($20 << 1) | 0; + if (($i$1 | 0) >= ($ysize | 0)) break; + HEAP16[$pnt2$1 >> 1] = 0; + HEAP16[$pnt1$1 >> 1] = 0; + $i$1 = $i$1 + 1 | 0; + $pnt1$1 = $pnt1$1 + ($xsize << 1) | 0; + $pnt2$1 = $pnt2$1 + ($xsize << 1) | 0; + } + $arraydecay = $labelInfo + 1179664 | 0; + $add = $xsize + 1 | 0; + $sub34 = 0 - $xsize | 0; + $j$0 = 1; + $pnt$0 = $image + $add | 0; + $pnt2$2 = $0 + ($add << 1) | 0; + $wk_max$0 = 0; L9 : while (1) { - if (($$0371 | 0) >= ($6 | 0)) { + if (($j$0 | 0) >= ($sub | 0)) { label = 59; break; } - $$1 = $$0358; - $$1380 = $$0379; - $$2376 = 1; - $$3 = $$2; + $i$2 = 1; + $pnt$1 = $pnt$0; + $pnt2$3 = $pnt2$2; + $wk_max$1 = $wk_max$0; while (1) { - if (($$2376 | 0) >= ($13 | 0)) break; - do if ((HEAPU8[$$1 >> 0] | 0 | 0) > ($3 | 0)) { - $29 = $$3 + ($23 << 1) | 0; - $30 = HEAP16[$29 >> 1] | 0; - if ($30 << 16 >> 16 > 0) { - HEAP16[$$3 >> 1] = $30; - $33 = ($30 << 16 >> 16) * 7 | 0; - $35 = $4 + 1310736 + ($33 + -7 << 2) | 0; - HEAP32[$35 >> 2] = (HEAP32[$35 >> 2] | 0) + 1; - $39 = $4 + 1310736 + ($33 + -6 << 2) | 0; - HEAP32[$39 >> 2] = (HEAP32[$39 >> 2] | 0) + $$2376; - $43 = $4 + 1310736 + ($33 + -5 << 2) | 0; - HEAP32[$43 >> 2] = (HEAP32[$43 >> 2] | 0) + $$0371; - HEAP32[$4 + 1310736 + ($33 + -1 << 2) >> 2] = $$0371; - $$2381 = $$1380; + if (($i$2 | 0) >= ($sub7 | 0)) break; + do if ((HEAPU8[$pnt$1 >> 0] | 0 | 0) > ($labelingThresh | 0)) { + $arrayidx35 = $pnt2$3 + ($sub34 << 1) | 0; + $2 = HEAP16[$arrayidx35 >> 1] | 0; + if ($2 << 16 >> 16 > 0) { + HEAP16[$pnt2$3 >> 1] = $2; + $3 = ($2 << 16 >> 16) * 7 | 0; + $arrayidx44 = $labelInfo + 1310736 + ($3 + -7 << 2) | 0; + HEAP32[$arrayidx44 >> 2] = (HEAP32[$arrayidx44 >> 2] | 0) + 1; + $arrayidx47 = $labelInfo + 1310736 + ($3 + -6 << 2) | 0; + HEAP32[$arrayidx47 >> 2] = (HEAP32[$arrayidx47 >> 2] | 0) + $i$2; + $arrayidx50 = $labelInfo + 1310736 + ($3 + -5 << 2) | 0; + HEAP32[$arrayidx50 >> 2] = (HEAP32[$arrayidx50 >> 2] | 0) + $j$0; + HEAP32[$labelInfo + 1310736 + ($3 + -1 << 2) >> 2] = $j$0; + $wk_max$2 = $wk_max$1; break; } - $49 = HEAP16[$29 + 2 >> 1] | 0; - $50 = $49 << 16 >> 16; - $53 = HEAP16[$29 + -2 >> 1] | 0; - $54 = $53 << 16 >> 16; - $55 = $53 << 16 >> 16 > 0; - if ($49 << 16 >> 16 <= 0) { - if ($55) { - HEAP16[$$3 >> 1] = $53; - $151 = $54 * 7 | 0; - $153 = $4 + 1310736 + ($151 + -7 << 2) | 0; - HEAP32[$153 >> 2] = (HEAP32[$153 >> 2] | 0) + 1; - $157 = $4 + 1310736 + ($151 + -6 << 2) | 0; - HEAP32[$157 >> 2] = (HEAP32[$157 >> 2] | 0) + $$2376; - $161 = $4 + 1310736 + ($151 + -5 << 2) | 0; - HEAP32[$161 >> 2] = (HEAP32[$161 >> 2] | 0) + $$0371; - $165 = $4 + 1310736 + ($151 + -3 << 2) | 0; - if ((HEAP32[$165 >> 2] | 0) < ($$2376 | 0)) HEAP32[$165 >> 2] = $$2376; - HEAP32[$4 + 1310736 + ($151 + -1 << 2) >> 2] = $$0371; - $$2381 = $$1380; + $7 = HEAP16[$arrayidx35 + 2 >> 1] | 0; + $conv55 = $7 << 16 >> 16; + $8 = HEAP16[$arrayidx35 + -2 >> 1] | 0; + $conv60 = $8 << 16 >> 16; + $cmp61 = $8 << 16 >> 16 > 0; + if ($7 << 16 >> 16 <= 0) { + if ($cmp61) { + HEAP16[$pnt2$3 >> 1] = $8; + $33 = $conv60 * 7 | 0; + $arrayidx226 = $labelInfo + 1310736 + ($33 + -7 << 2) | 0; + HEAP32[$arrayidx226 >> 2] = (HEAP32[$arrayidx226 >> 2] | 0) + 1; + $arrayidx229 = $labelInfo + 1310736 + ($33 + -6 << 2) | 0; + HEAP32[$arrayidx229 >> 2] = (HEAP32[$arrayidx229 >> 2] | 0) + $i$2; + $arrayidx232 = $labelInfo + 1310736 + ($33 + -5 << 2) | 0; + HEAP32[$arrayidx232 >> 2] = (HEAP32[$arrayidx232 >> 2] | 0) + $j$0; + $arrayidx235 = $labelInfo + 1310736 + ($33 + -3 << 2) | 0; + if ((HEAP32[$arrayidx235 >> 2] | 0) < ($i$2 | 0)) HEAP32[$arrayidx235 >> 2] = $i$2; + HEAP32[$labelInfo + 1310736 + ($33 + -1 << 2) >> 2] = $j$0; + $wk_max$2 = $wk_max$1; break; } - $171 = HEAP16[$$3 + -2 >> 1] | 0; - if ($171 << 16 >> 16 > 0) { - HEAP16[$$3 >> 1] = $171; - $174 = ($171 << 16 >> 16) * 7 | 0; - $176 = $4 + 1310736 + ($174 + -7 << 2) | 0; - HEAP32[$176 >> 2] = (HEAP32[$176 >> 2] | 0) + 1; - $180 = $4 + 1310736 + ($174 + -6 << 2) | 0; - HEAP32[$180 >> 2] = (HEAP32[$180 >> 2] | 0) + $$2376; - $184 = $4 + 1310736 + ($174 + -5 << 2) | 0; - HEAP32[$184 >> 2] = (HEAP32[$184 >> 2] | 0) + $$0371; - $188 = $4 + 1310736 + ($174 + -3 << 2) | 0; - if ((HEAP32[$188 >> 2] | 0) >= ($$2376 | 0)) { - $$2381 = $$1380; + $38 = HEAP16[$pnt2$3 + -2 >> 1] | 0; + if ($38 << 16 >> 16 > 0) { + HEAP16[$pnt2$3 >> 1] = $38; + $39 = ($38 << 16 >> 16) * 7 | 0; + $arrayidx255 = $labelInfo + 1310736 + ($39 + -7 << 2) | 0; + HEAP32[$arrayidx255 >> 2] = (HEAP32[$arrayidx255 >> 2] | 0) + 1; + $arrayidx258 = $labelInfo + 1310736 + ($39 + -6 << 2) | 0; + HEAP32[$arrayidx258 >> 2] = (HEAP32[$arrayidx258 >> 2] | 0) + $i$2; + $arrayidx261 = $labelInfo + 1310736 + ($39 + -5 << 2) | 0; + HEAP32[$arrayidx261 >> 2] = (HEAP32[$arrayidx261 >> 2] | 0) + $j$0; + $arrayidx264 = $labelInfo + 1310736 + ($39 + -3 << 2) | 0; + if ((HEAP32[$arrayidx264 >> 2] | 0) >= ($i$2 | 0)) { + $wk_max$2 = $wk_max$1; break; } - HEAP32[$188 >> 2] = $$2376; - $$2381 = $$1380; + HEAP32[$arrayidx264 >> 2] = $i$2; + $wk_max$2 = $wk_max$1; break; } else { - $191 = $$1380 + 1 | 0; - if (($$1380 | 0) > 32767) { + $inc272 = $wk_max$1 + 1 | 0; + if (($wk_max$1 | 0) > 32767) { label = 54; break L9; } - HEAP16[$$3 >> 1] = $191; - HEAP32[$4 + 1179664 + ($$1380 << 2) >> 2] = $191 << 16 >> 16; - $196 = $$1380 * 7 | 0; - HEAP32[$4 + 1310736 + ($196 << 2) >> 2] = 1; - HEAP32[$4 + 1310736 + ($196 + 1 << 2) >> 2] = $$2376; - HEAP32[$4 + 1310736 + ($196 + 2 << 2) >> 2] = $$0371; - HEAP32[$4 + 1310736 + ($196 + 3 << 2) >> 2] = $$2376; - HEAP32[$4 + 1310736 + ($196 + 4 << 2) >> 2] = $$2376; - HEAP32[$4 + 1310736 + ($196 + 5 << 2) >> 2] = $$0371; - HEAP32[$4 + 1310736 + ($196 + 6 << 2) >> 2] = $$0371; - $$2381 = $191; + HEAP16[$pnt2$3 >> 1] = $inc272; + HEAP32[$labelInfo + 1179664 + ($wk_max$1 << 2) >> 2] = $inc272 << 16 >> 16; + $mul282 = $wk_max$1 * 7 | 0; + HEAP32[$labelInfo + 1310736 + ($mul282 << 2) >> 2] = 1; + HEAP32[$labelInfo + 1310736 + ($mul282 + 1 << 2) >> 2] = $i$2; + HEAP32[$labelInfo + 1310736 + ($mul282 + 2 << 2) >> 2] = $j$0; + HEAP32[$labelInfo + 1310736 + ($mul282 + 3 << 2) >> 2] = $i$2; + HEAP32[$labelInfo + 1310736 + ($mul282 + 4 << 2) >> 2] = $i$2; + HEAP32[$labelInfo + 1310736 + ($mul282 + 5 << 2) >> 2] = $j$0; + HEAP32[$labelInfo + 1310736 + ($mul282 + 6 << 2) >> 2] = $j$0; + $wk_max$2 = $inc272; break; } } - if ($55) { - $58 = HEAP32[$4 + 1179664 + ($50 + -1 << 2) >> 2] | 0; - $61 = HEAP32[$4 + 1179664 + ($54 + -1 << 2) >> 2] | 0; - L36 : do if (($58 | 0) <= ($61 | 0)) { - HEAP16[$$3 >> 1] = $58; - if (($58 | 0) < ($61 | 0)) { - $$1364 = $19; - $$1368 = 0; + if ($cmp61) { + $9 = HEAP32[$labelInfo + 1179664 + ($conv55 + -1 << 2) >> 2] | 0; + $10 = HEAP32[$labelInfo + 1179664 + ($conv60 + -1 << 2) >> 2] | 0; + L36 : do if (($9 | 0) <= ($10 | 0)) { + HEAP16[$pnt2$3 >> 1] = $9; + if (($9 | 0) < ($10 | 0)) { + $k$1 = 0; + $wk$1 = $arraydecay; while (1) { - if (($$1368 | 0) >= ($$1380 | 0)) { - $76 = $58; + if (($k$1 | 0) >= ($wk_max$1 | 0)) { + $13 = $9; break L36; } - if ((HEAP32[$$1364 >> 2] | 0) == ($61 | 0)) HEAP32[$$1364 >> 2] = $58; - $$1364 = $$1364 + 4 | 0; - $$1368 = $$1368 + 1 | 0; + if ((HEAP32[$wk$1 >> 2] | 0) == ($10 | 0)) HEAP32[$wk$1 >> 2] = $9; + $k$1 = $k$1 + 1 | 0; + $wk$1 = $wk$1 + 4 | 0; } - } else $76 = $58; + } else $13 = $9; } else { - HEAP16[$$3 >> 1] = $61; - $$0363 = $19; - $$0367 = 0; + HEAP16[$pnt2$3 >> 1] = $10; + $k$0 = 0; + $wk$0 = $arraydecay; while (1) { - if (($$0367 | 0) >= ($$1380 | 0)) { - $76 = $61; + if (($k$0 | 0) >= ($wk_max$1 | 0)) { + $13 = $10; break L36; } - if ((HEAP32[$$0363 >> 2] | 0) == ($58 | 0)) HEAP32[$$0363 >> 2] = $61; - $$0363 = $$0363 + 4 | 0; - $$0367 = $$0367 + 1 | 0; + if ((HEAP32[$wk$0 >> 2] | 0) == ($9 | 0)) HEAP32[$wk$0 >> 2] = $10; + $k$0 = $k$0 + 1 | 0; + $wk$0 = $wk$0 + 4 | 0; } } while (0); - $78 = ($76 << 16 >> 16) * 7 | 0; - $80 = $4 + 1310736 + ($78 + -7 << 2) | 0; - HEAP32[$80 >> 2] = (HEAP32[$80 >> 2] | 0) + 1; - $84 = $4 + 1310736 + ($78 + -6 << 2) | 0; - HEAP32[$84 >> 2] = (HEAP32[$84 >> 2] | 0) + $$2376; - $88 = $4 + 1310736 + ($78 + -5 << 2) | 0; - HEAP32[$88 >> 2] = (HEAP32[$88 >> 2] | 0) + $$0371; - HEAP32[$4 + 1310736 + ($78 + -1 << 2) >> 2] = $$0371; - $$2381 = $$1380; + $14 = ($13 << 16 >> 16) * 7 | 0; + $arrayidx114 = $labelInfo + 1310736 + ($14 + -7 << 2) | 0; + HEAP32[$arrayidx114 >> 2] = (HEAP32[$arrayidx114 >> 2] | 0) + 1; + $arrayidx117 = $labelInfo + 1310736 + ($14 + -6 << 2) | 0; + HEAP32[$arrayidx117 >> 2] = (HEAP32[$arrayidx117 >> 2] | 0) + $i$2; + $arrayidx120 = $labelInfo + 1310736 + ($14 + -5 << 2) | 0; + HEAP32[$arrayidx120 >> 2] = (HEAP32[$arrayidx120 >> 2] | 0) + $j$0; + HEAP32[$labelInfo + 1310736 + ($14 + -1 << 2) >> 2] = $j$0; + $wk_max$2 = $wk_max$1; break; } - $94 = HEAP16[$$3 + -2 >> 1] | 0; - if ($94 << 16 >> 16 <= 0) { - HEAP16[$$3 >> 1] = $49; - $132 = $50 * 7 | 0; - $134 = $4 + 1310736 + ($132 + -7 << 2) | 0; - HEAP32[$134 >> 2] = (HEAP32[$134 >> 2] | 0) + 1; - $138 = $4 + 1310736 + ($132 + -6 << 2) | 0; - HEAP32[$138 >> 2] = (HEAP32[$138 >> 2] | 0) + $$2376; - $142 = $4 + 1310736 + ($132 + -5 << 2) | 0; - HEAP32[$142 >> 2] = (HEAP32[$142 >> 2] | 0) + $$0371; - $146 = $4 + 1310736 + ($132 + -4 << 2) | 0; - if ((HEAP32[$146 >> 2] | 0) > ($$2376 | 0)) HEAP32[$146 >> 2] = $$2376; - HEAP32[$4 + 1310736 + ($132 + -1 << 2) >> 2] = $$0371; - $$2381 = $$1380; + $18 = HEAP16[$pnt2$3 + -2 >> 1] | 0; + if ($18 << 16 >> 16 <= 0) { + HEAP16[$pnt2$3 >> 1] = $7; + $28 = $conv55 * 7 | 0; + $arrayidx195 = $labelInfo + 1310736 + ($28 + -7 << 2) | 0; + HEAP32[$arrayidx195 >> 2] = (HEAP32[$arrayidx195 >> 2] | 0) + 1; + $arrayidx198 = $labelInfo + 1310736 + ($28 + -6 << 2) | 0; + HEAP32[$arrayidx198 >> 2] = (HEAP32[$arrayidx198 >> 2] | 0) + $i$2; + $arrayidx201 = $labelInfo + 1310736 + ($28 + -5 << 2) | 0; + HEAP32[$arrayidx201 >> 2] = (HEAP32[$arrayidx201 >> 2] | 0) + $j$0; + $arrayidx204 = $labelInfo + 1310736 + ($28 + -4 << 2) | 0; + if ((HEAP32[$arrayidx204 >> 2] | 0) > ($i$2 | 0)) HEAP32[$arrayidx204 >> 2] = $i$2; + HEAP32[$labelInfo + 1310736 + ($28 + -1 << 2) >> 2] = $j$0; + $wk_max$2 = $wk_max$1; break; } - $99 = HEAP32[$4 + 1179664 + ($50 + -1 << 2) >> 2] | 0; - $102 = HEAP32[$4 + 1179664 + (($94 << 16 >> 16) + -1 << 2) >> 2] | 0; - L60 : do if (($99 | 0) <= ($102 | 0)) { - HEAP16[$$3 >> 1] = $99; - if (($99 | 0) < ($102 | 0)) { - $$3366 = $19; - $$3370 = 0; + $19 = HEAP32[$labelInfo + 1179664 + ($conv55 + -1 << 2) >> 2] | 0; + $20 = HEAP32[$labelInfo + 1179664 + (($18 << 16 >> 16) + -1 << 2) >> 2] | 0; + L60 : do if (($19 | 0) <= ($20 | 0)) { + HEAP16[$pnt2$3 >> 1] = $19; + if (($19 | 0) < ($20 | 0)) { + $k$3 = 0; + $wk$3 = $arraydecay; while (1) { - if (($$3370 | 0) >= ($$1380 | 0)) { - $117 = $99; + if (($k$3 | 0) >= ($wk_max$1 | 0)) { + $23 = $19; break L60; } - if ((HEAP32[$$3366 >> 2] | 0) == ($102 | 0)) HEAP32[$$3366 >> 2] = $99; - $$3366 = $$3366 + 4 | 0; - $$3370 = $$3370 + 1 | 0; + if ((HEAP32[$wk$3 >> 2] | 0) == ($20 | 0)) HEAP32[$wk$3 >> 2] = $19; + $k$3 = $k$3 + 1 | 0; + $wk$3 = $wk$3 + 4 | 0; } - } else $117 = $99; + } else $23 = $19; } else { - HEAP16[$$3 >> 1] = $102; - $$2365 = $19; - $$2369 = 0; + HEAP16[$pnt2$3 >> 1] = $20; + $k$2 = 0; + $wk$2 = $arraydecay; while (1) { - if (($$2369 | 0) >= ($$1380 | 0)) { - $117 = $102; + if (($k$2 | 0) >= ($wk_max$1 | 0)) { + $23 = $20; break L60; } - if ((HEAP32[$$2365 >> 2] | 0) == ($99 | 0)) HEAP32[$$2365 >> 2] = $102; - $$2365 = $$2365 + 4 | 0; - $$2369 = $$2369 + 1 | 0; + if ((HEAP32[$wk$2 >> 2] | 0) == ($19 | 0)) HEAP32[$wk$2 >> 2] = $20; + $k$2 = $k$2 + 1 | 0; + $wk$2 = $wk$2 + 4 | 0; } } while (0); - $119 = ($117 << 16 >> 16) * 7 | 0; - $121 = $4 + 1310736 + ($119 + -7 << 2) | 0; - HEAP32[$121 >> 2] = (HEAP32[$121 >> 2] | 0) + 1; - $125 = $4 + 1310736 + ($119 + -6 << 2) | 0; - HEAP32[$125 >> 2] = (HEAP32[$125 >> 2] | 0) + $$2376; - $129 = $4 + 1310736 + ($119 + -5 << 2) | 0; - HEAP32[$129 >> 2] = (HEAP32[$129 >> 2] | 0) + $$0371; - $$2381 = $$1380; + $24 = ($23 << 16 >> 16) * 7 | 0; + $arrayidx181 = $labelInfo + 1310736 + ($24 + -7 << 2) | 0; + HEAP32[$arrayidx181 >> 2] = (HEAP32[$arrayidx181 >> 2] | 0) + 1; + $arrayidx184 = $labelInfo + 1310736 + ($24 + -6 << 2) | 0; + HEAP32[$arrayidx184 >> 2] = (HEAP32[$arrayidx184 >> 2] | 0) + $i$2; + $arrayidx187 = $labelInfo + 1310736 + ($24 + -5 << 2) | 0; + HEAP32[$arrayidx187 >> 2] = (HEAP32[$arrayidx187 >> 2] | 0) + $j$0; + $wk_max$2 = $wk_max$1; } else { - HEAP16[$$3 >> 1] = 0; - $$2381 = $$1380; + HEAP16[$pnt2$3 >> 1] = 0; + $wk_max$2 = $wk_max$1; } while (0); - $$1 = $$1 + 1 | 0; - $$1380 = $$2381; - $$2376 = $$2376 + 1 | 0; - $$3 = $$3 + 2 | 0; + $i$2 = $i$2 + 1 | 0; + $pnt$1 = $pnt$1 + 1 | 0; + $pnt2$3 = $pnt2$3 + 2 | 0; + $wk_max$1 = $wk_max$2; } - $$0358 = $$1 + 2 | 0; - $$0371 = $$0371 + 1 | 0; - $$0379 = $$1380; - $$2 = $$3 + 4 | 0; + $j$0 = $j$0 + 1 | 0; + $pnt$0 = $pnt$1 + 2 | 0; + $pnt2$2 = $pnt2$3 + 4 | 0; + $wk_max$0 = $wk_max$1; } L80 : do if ((label | 0) == 54) { _arLog(0, 3, 23780, $vararg_buffer); - $$0 = -1; + $retval$0 = -1; } else if ((label | 0) == 59) { - $216 = $4 + 12 | 0; - $$1372 = 1; - $$3377 = 1; - $$4 = $19; + $arrayidx315 = $labelInfo + 12 | 0; + $i$3 = 1; + $j$1 = 1; + $wk$4 = $arraydecay; while (1) { - if (($$3377 | 0) > ($$0379 | 0)) break; - $218 = HEAP32[$$4 >> 2] | 0; - if (($218 | 0) == ($$3377 | 0)) { - $$2373 = $$1372 + 1 | 0; - $224 = $$1372; + if (($i$3 | 0) > ($wk_max$0 | 0)) break; + $44 = HEAP32[$wk$4 >> 2] | 0; + if (($44 | 0) == ($i$3 | 0)) { + $cond = $j$1; + $j$2 = $j$1 + 1 | 0; } else { - $$2373 = $$1372; - $224 = HEAP32[$4 + 1179664 + ($218 + -1 << 2) >> 2] | 0; - } - HEAP32[$$4 >> 2] = $224; - $$1372 = $$2373; - $$3377 = $$3377 + 1 | 0; - $$4 = $$4 + 4 | 0; - } - $227 = $4 + 8 | 0; - $228 = $$1372 + -1 | 0; - HEAP32[$227 >> 2] = $228; - if (!$228) $$0 = 0; else { - _memset($216 | 0, 0, $228 << 2 | 0) | 0; - _memset($4 + 655376 | 0, 0, $228 << 4 | 0) | 0; - $$4378 = 0; + $cond = HEAP32[$labelInfo + 1179664 + ($44 + -1 << 2) >> 2] | 0; + $j$2 = $j$1; + } + HEAP32[$wk$4 >> 2] = $cond; + $i$3 = $i$3 + 1 | 0; + $j$1 = $j$2; + $wk$4 = $wk$4 + 4 | 0; + } + $label_num313 = $labelInfo + 8 | 0; + $sub336 = $j$1 + -1 | 0; + HEAP32[$label_num313 >> 2] = $sub336; + if (!$sub336) $retval$0 = 0; else { + _memset($arrayidx315 | 0, 0, $sub336 << 2 | 0) | 0; + _memset($labelInfo + 655376 | 0, 0, $sub336 << 4 | 0) | 0; + $i$4 = 0; while (1) { - if (($$4378 | 0) >= ($228 | 0)) break; - $234 = $$4378 << 2; - HEAP32[$4 + 131084 + ($234 << 2) >> 2] = $1; - HEAP32[$4 + 131084 + (($234 | 1) << 2) >> 2] = 0; - HEAP32[$4 + 131084 + (($234 | 2) << 2) >> 2] = $2; - HEAP32[$4 + 131084 + (($234 | 3) << 2) >> 2] = 0; - $$4378 = $$4378 + 1 | 0; - } - $$5 = 0; + if (($i$4 | 0) >= ($sub336 | 0)) break; + $mul348 = $i$4 << 2; + HEAP32[$labelInfo + 131084 + ($mul348 << 2) >> 2] = $xsize; + HEAP32[$labelInfo + 131084 + (($mul348 | 1) << 2) >> 2] = 0; + HEAP32[$labelInfo + 131084 + (($mul348 | 2) << 2) >> 2] = $ysize; + HEAP32[$labelInfo + 131084 + (($mul348 | 3) << 2) >> 2] = 0; + $i$4 = $i$4 + 1 | 0; + } + $i$5 = 0; while (1) { - if (($$5 | 0) >= ($$0379 | 0)) break; - $246 = (HEAP32[$4 + 1179664 + ($$5 << 2) >> 2] | 0) + -1 | 0; - $247 = $$5 * 7 | 0; - $250 = $4 + 12 + ($246 << 2) | 0; - HEAP32[$250 >> 2] = (HEAP32[$250 >> 2] | 0) + (HEAP32[$4 + 1310736 + ($247 << 2) >> 2] | 0); - $257 = $246 << 1; - $258 = $4 + 655376 + ($257 << 3) | 0; - HEAPF64[$258 >> 3] = +HEAPF64[$258 >> 3] + +(HEAP32[$4 + 1310736 + ($247 + 1 << 2) >> 2] | 0); - $266 = $4 + 655376 + (($257 | 1) << 3) | 0; - HEAPF64[$266 >> 3] = +HEAPF64[$266 >> 3] + +(HEAP32[$4 + 1310736 + ($247 + 2 << 2) >> 2] | 0); - $269 = $246 << 2; - $270 = $4 + 131084 + ($269 << 2) | 0; - $274 = HEAP32[$4 + 1310736 + ($247 + 3 << 2) >> 2] | 0; - if ((HEAP32[$270 >> 2] | 0) > ($274 | 0)) HEAP32[$270 >> 2] = $274; - $277 = $4 + 131084 + (($269 | 1) << 2) | 0; - $281 = HEAP32[$4 + 1310736 + ($247 + 4 << 2) >> 2] | 0; - if ((HEAP32[$277 >> 2] | 0) < ($281 | 0)) HEAP32[$277 >> 2] = $281; - $284 = $4 + 131084 + (($269 | 2) << 2) | 0; - $288 = HEAP32[$4 + 1310736 + ($247 + 5 << 2) >> 2] | 0; - if ((HEAP32[$284 >> 2] | 0) > ($288 | 0)) HEAP32[$284 >> 2] = $288; - $291 = $4 + 131084 + (($269 | 3) << 2) | 0; - $295 = HEAP32[$4 + 1310736 + ($247 + 6 << 2) >> 2] | 0; - if ((HEAP32[$291 >> 2] | 0) < ($295 | 0)) HEAP32[$291 >> 2] = $295; - $$5 = $$5 + 1 | 0; - } - $298 = HEAP32[$227 >> 2] | 0; - $$6 = 0; + if (($i$5 | 0) >= ($wk_max$0 | 0)) break; + $sub368 = (HEAP32[$labelInfo + 1179664 + ($i$5 << 2) >> 2] | 0) + -1 | 0; + $mul369 = $i$5 * 7 | 0; + $arrayidx372 = $labelInfo + 12 + ($sub368 << 2) | 0; + HEAP32[$arrayidx372 >> 2] = (HEAP32[$arrayidx372 >> 2] | 0) + (HEAP32[$labelInfo + 1310736 + ($mul369 << 2) >> 2] | 0); + $mul378 = $sub368 << 1; + $arrayidx380 = $labelInfo + 655376 + ($mul378 << 3) | 0; + HEAPF64[$arrayidx380 >> 3] = +HEAPF64[$arrayidx380 >> 3] + +(HEAP32[$labelInfo + 1310736 + ($mul369 + 1 << 2) >> 2] | 0); + $arrayidx388 = $labelInfo + 655376 + (($mul378 | 1) << 3) | 0; + HEAPF64[$arrayidx388 >> 3] = +HEAPF64[$arrayidx388 >> 3] + +(HEAP32[$labelInfo + 1310736 + ($mul369 + 2 << 2) >> 2] | 0); + $mul390 = $sub368 << 2; + $arrayidx392 = $labelInfo + 131084 + ($mul390 << 2) | 0; + $54 = HEAP32[$labelInfo + 1310736 + ($mul369 + 3 << 2) >> 2] | 0; + if ((HEAP32[$arrayidx392 >> 2] | 0) > ($54 | 0)) HEAP32[$arrayidx392 >> 2] = $54; + $arrayidx408 = $labelInfo + 131084 + (($mul390 | 1) << 2) | 0; + $56 = HEAP32[$labelInfo + 1310736 + ($mul369 + 4 << 2) >> 2] | 0; + if ((HEAP32[$arrayidx408 >> 2] | 0) < ($56 | 0)) HEAP32[$arrayidx408 >> 2] = $56; + $arrayidx424 = $labelInfo + 131084 + (($mul390 | 2) << 2) | 0; + $58 = HEAP32[$labelInfo + 1310736 + ($mul369 + 5 << 2) >> 2] | 0; + if ((HEAP32[$arrayidx424 >> 2] | 0) > ($58 | 0)) HEAP32[$arrayidx424 >> 2] = $58; + $arrayidx440 = $labelInfo + 131084 + (($mul390 | 3) << 2) | 0; + $60 = HEAP32[$labelInfo + 1310736 + ($mul369 + 6 << 2) >> 2] | 0; + if ((HEAP32[$arrayidx440 >> 2] | 0) < ($60 | 0)) HEAP32[$arrayidx440 >> 2] = $60; + $i$5 = $i$5 + 1 | 0; + } + $61 = HEAP32[$label_num313 >> 2] | 0; + $i$6 = 0; while (1) { - if (($$6 | 0) >= ($298 | 0)) { - $$0 = 0; + if (($i$6 | 0) >= ($61 | 0)) { + $retval$0 = 0; break L80; } - $302 = +(HEAP32[$4 + 12 + ($$6 << 2) >> 2] | 0); - $303 = $$6 << 1; - $304 = $4 + 655376 + ($303 << 3) | 0; - HEAPF64[$304 >> 3] = +HEAPF64[$304 >> 3] / $302; - $308 = $4 + 655376 + (($303 | 1) << 3) | 0; - HEAPF64[$308 >> 3] = +HEAPF64[$308 >> 3] / $302; - $$6 = $$6 + 1 | 0; + $conv462 = +(HEAP32[$labelInfo + 12 + ($i$6 << 2) >> 2] | 0); + $mul463 = $i$6 << 1; + $arrayidx465 = $labelInfo + 655376 + ($mul463 << 3) | 0; + HEAPF64[$arrayidx465 >> 3] = +HEAPF64[$arrayidx465 >> 3] / $conv462; + $arrayidx470 = $labelInfo + 655376 + (($mul463 | 1) << 3) | 0; + HEAPF64[$arrayidx470 >> 3] = +HEAPF64[$arrayidx470 >> 3] / $conv462; + $i$6 = $i$6 + 1 | 0; } } } while (0); STACKTOP = sp; - return $$0 | 0; + return $retval$0 | 0; } -function _arLabelingSubDBRC($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $$0 = 0, $$0358 = 0, $$0359 = 0, $$0361 = 0, $$0363 = 0, $$0367 = 0, $$0371 = 0, $$0374 = 0, $$0379 = 0, $$1 = 0, $$1360 = 0, $$1362 = 0, $$1364 = 0, $$1368 = 0, $$1372 = 0, $$1375 = 0, $$1380 = 0, $$2 = 0, $$2365 = 0, $$2369 = 0, $$2373 = 0, $$2376 = 0, $$2381 = 0, $$3 = 0, $$3366 = 0, $$3370 = 0, $$3377 = 0, $$4 = 0, $$4378 = 0, $$5 = 0, $$6 = 0, $102 = 0, $117 = 0, $119 = 0, $121 = 0, $125 = 0, $129 = 0, $13 = 0, $132 = 0, $134 = 0, $138 = 0, $142 = 0, $146 = 0, $151 = 0, $153 = 0, $157 = 0, $161 = 0, $165 = 0, $171 = 0, $174 = 0, $176 = 0, $180 = 0, $184 = 0, $188 = 0, $19 = 0, $191 = 0, $196 = 0, $20 = 0, $216 = 0, $218 = 0, $224 = 0, $227 = 0, $228 = 0, $23 = 0, $234 = 0, $246 = 0, $247 = 0, $250 = 0, $257 = 0, $258 = 0, $266 = 0, $269 = 0, $270 = 0, $274 = 0, $277 = 0, $281 = 0, $284 = 0, $288 = 0, $29 = 0, $291 = 0, $295 = 0, $298 = 0, $30 = 0, $302 = 0.0, $303 = 0, $304 = 0, $308 = 0, $33 = 0, $35 = 0, $39 = 0, $43 = 0, $49 = 0, $5 = 0, $50 = 0, $53 = 0, $54 = 0, $55 = 0, $58 = 0, $6 = 0, $61 = 0, $76 = 0, $78 = 0, $80 = 0, $84 = 0, $88 = 0, $94 = 0, $99 = 0, $vararg_buffer = 0, label = 0, sp = 0; +function _arLabelingSubDBRC($image, $xsize, $ysize, $labelingThresh, $labelInfo) { + $image = $image | 0; + $xsize = $xsize | 0; + $ysize = $ysize | 0; + $labelingThresh = $labelingThresh | 0; + $labelInfo = $labelInfo | 0; + var $0 = 0, $10 = 0, $13 = 0, $14 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $23 = 0, $24 = 0, $28 = 0, $3 = 0, $33 = 0, $38 = 0, $39 = 0, $44 = 0, $54 = 0, $56 = 0, $58 = 0, $60 = 0, $61 = 0, $7 = 0, $8 = 0, $9 = 0, $add = 0, $arraydecay = 0, $arrayidx114 = 0, $arrayidx117 = 0, $arrayidx120 = 0, $arrayidx181 = 0, $arrayidx184 = 0, $arrayidx187 = 0, $arrayidx195 = 0, $arrayidx198 = 0, $arrayidx201 = 0, $arrayidx204 = 0, $arrayidx226 = 0, $arrayidx229 = 0, $arrayidx232 = 0, $arrayidx235 = 0, $arrayidx255 = 0, $arrayidx258 = 0, $arrayidx261 = 0, $arrayidx264 = 0, $arrayidx315 = 0, $arrayidx35 = 0, $arrayidx372 = 0, $arrayidx380 = 0, $arrayidx388 = 0, $arrayidx392 = 0, $arrayidx408 = 0, $arrayidx424 = 0, $arrayidx44 = 0, $arrayidx440 = 0, $arrayidx465 = 0, $arrayidx47 = 0, $arrayidx470 = 0, $arrayidx50 = 0, $cmp61 = 0, $cond = 0, $conv462 = 0.0, $conv55 = 0, $conv60 = 0, $i$0 = 0, $i$1 = 0, $i$2 = 0, $i$3 = 0, $i$4 = 0, $i$5 = 0, $i$6 = 0, $inc272 = 0, $j$0 = 0, $j$1 = 0, $j$2 = 0, $k$0 = 0, $k$1 = 0, $k$2 = 0, $k$3 = 0, $label_num313 = 0, $mul282 = 0, $mul348 = 0, $mul369 = 0, $mul378 = 0, $mul390 = 0, $mul463 = 0, $pnt$0 = 0, $pnt$1 = 0, $pnt1$0 = 0, $pnt1$1 = 0, $pnt2$0 = 0, $pnt2$1 = 0, $pnt2$2 = 0, $pnt2$3 = 0, $retval$0 = 0, $sub = 0, $sub336 = 0, $sub34 = 0, $sub368 = 0, $sub7 = 0, $vararg_buffer = 0, $wk$0 = 0, $wk$1 = 0, $wk$2 = 0, $wk$3 = 0, $wk$4 = 0, $wk_max$0 = 0, $wk_max$1 = 0, $wk_max$2 = 0, label = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); $vararg_buffer = sp; - $5 = HEAP32[$4 >> 2] | 0; - $6 = $2 + -1 | 0; - $$0359 = $5; - $$0361 = $5 + ((Math_imul($6, $1) | 0) << 1) | 0; - $$0374 = 0; + $0 = HEAP32[$labelInfo >> 2] | 0; + $sub = $ysize + -1 | 0; + $i$0 = 0; + $pnt1$0 = $0; + $pnt2$0 = $0 + ((Math_imul($sub, $xsize) | 0) << 1) | 0; while (1) { - if (($$0374 | 0) >= ($1 | 0)) break; - HEAP16[$$0361 >> 1] = 0; - HEAP16[$$0359 >> 1] = 0; - $$0359 = $$0359 + 2 | 0; - $$0361 = $$0361 + 2 | 0; - $$0374 = $$0374 + 1 | 0; - } - $13 = $1 + -1 | 0; - $$1360 = $5; - $$1362 = $5 + ($13 << 1) | 0; - $$1375 = 0; + if (($i$0 | 0) >= ($xsize | 0)) break; + HEAP16[$pnt2$0 >> 1] = 0; + HEAP16[$pnt1$0 >> 1] = 0; + $i$0 = $i$0 + 1 | 0; + $pnt1$0 = $pnt1$0 + 2 | 0; + $pnt2$0 = $pnt2$0 + 2 | 0; + } + $sub7 = $xsize + -1 | 0; + $i$1 = 0; + $pnt1$1 = $0; + $pnt2$1 = $0 + ($sub7 << 1) | 0; while (1) { - if (($$1375 | 0) >= ($2 | 0)) break; - HEAP16[$$1362 >> 1] = 0; - HEAP16[$$1360 >> 1] = 0; - $$1360 = $$1360 + ($1 << 1) | 0; - $$1362 = $$1362 + ($1 << 1) | 0; - $$1375 = $$1375 + 1 | 0; - } - $19 = $4 + 1179664 | 0; - $20 = $1 + 1 | 0; - $23 = 0 - $1 | 0; - $$0358 = $0 + $20 | 0; - $$0371 = 1; - $$0379 = 0; - $$2 = $5 + ($20 << 1) | 0; + if (($i$1 | 0) >= ($ysize | 0)) break; + HEAP16[$pnt2$1 >> 1] = 0; + HEAP16[$pnt1$1 >> 1] = 0; + $i$1 = $i$1 + 1 | 0; + $pnt1$1 = $pnt1$1 + ($xsize << 1) | 0; + $pnt2$1 = $pnt2$1 + ($xsize << 1) | 0; + } + $arraydecay = $labelInfo + 1179664 | 0; + $add = $xsize + 1 | 0; + $sub34 = 0 - $xsize | 0; + $j$0 = 1; + $pnt$0 = $image + $add | 0; + $pnt2$2 = $0 + ($add << 1) | 0; + $wk_max$0 = 0; L9 : while (1) { - if (($$0371 | 0) >= ($6 | 0)) { + if (($j$0 | 0) >= ($sub | 0)) { label = 59; break; } - $$1 = $$0358; - $$1380 = $$0379; - $$2376 = 1; - $$3 = $$2; + $i$2 = 1; + $pnt$1 = $pnt$0; + $pnt2$3 = $pnt2$2; + $wk_max$1 = $wk_max$0; while (1) { - if (($$2376 | 0) >= ($13 | 0)) break; - do if ((HEAPU8[$$1 >> 0] | 0 | 0) > ($3 | 0)) { - HEAP16[$$3 >> 1] = 0; - $$2381 = $$1380; + if (($i$2 | 0) >= ($sub7 | 0)) break; + do if ((HEAPU8[$pnt$1 >> 0] | 0 | 0) > ($labelingThresh | 0)) { + HEAP16[$pnt2$3 >> 1] = 0; + $wk_max$2 = $wk_max$1; } else { - $29 = $$3 + ($23 << 1) | 0; - $30 = HEAP16[$29 >> 1] | 0; - if ($30 << 16 >> 16 > 0) { - HEAP16[$$3 >> 1] = $30; - $33 = ($30 << 16 >> 16) * 7 | 0; - $35 = $4 + 1310736 + ($33 + -7 << 2) | 0; - HEAP32[$35 >> 2] = (HEAP32[$35 >> 2] | 0) + 1; - $39 = $4 + 1310736 + ($33 + -6 << 2) | 0; - HEAP32[$39 >> 2] = (HEAP32[$39 >> 2] | 0) + $$2376; - $43 = $4 + 1310736 + ($33 + -5 << 2) | 0; - HEAP32[$43 >> 2] = (HEAP32[$43 >> 2] | 0) + $$0371; - HEAP32[$4 + 1310736 + ($33 + -1 << 2) >> 2] = $$0371; - $$2381 = $$1380; + $arrayidx35 = $pnt2$3 + ($sub34 << 1) | 0; + $2 = HEAP16[$arrayidx35 >> 1] | 0; + if ($2 << 16 >> 16 > 0) { + HEAP16[$pnt2$3 >> 1] = $2; + $3 = ($2 << 16 >> 16) * 7 | 0; + $arrayidx44 = $labelInfo + 1310736 + ($3 + -7 << 2) | 0; + HEAP32[$arrayidx44 >> 2] = (HEAP32[$arrayidx44 >> 2] | 0) + 1; + $arrayidx47 = $labelInfo + 1310736 + ($3 + -6 << 2) | 0; + HEAP32[$arrayidx47 >> 2] = (HEAP32[$arrayidx47 >> 2] | 0) + $i$2; + $arrayidx50 = $labelInfo + 1310736 + ($3 + -5 << 2) | 0; + HEAP32[$arrayidx50 >> 2] = (HEAP32[$arrayidx50 >> 2] | 0) + $j$0; + HEAP32[$labelInfo + 1310736 + ($3 + -1 << 2) >> 2] = $j$0; + $wk_max$2 = $wk_max$1; break; } - $49 = HEAP16[$29 + 2 >> 1] | 0; - $50 = $49 << 16 >> 16; - $53 = HEAP16[$29 + -2 >> 1] | 0; - $54 = $53 << 16 >> 16; - $55 = $53 << 16 >> 16 > 0; - if ($49 << 16 >> 16 <= 0) { - if ($55) { - HEAP16[$$3 >> 1] = $53; - $151 = $54 * 7 | 0; - $153 = $4 + 1310736 + ($151 + -7 << 2) | 0; - HEAP32[$153 >> 2] = (HEAP32[$153 >> 2] | 0) + 1; - $157 = $4 + 1310736 + ($151 + -6 << 2) | 0; - HEAP32[$157 >> 2] = (HEAP32[$157 >> 2] | 0) + $$2376; - $161 = $4 + 1310736 + ($151 + -5 << 2) | 0; - HEAP32[$161 >> 2] = (HEAP32[$161 >> 2] | 0) + $$0371; - $165 = $4 + 1310736 + ($151 + -3 << 2) | 0; - if ((HEAP32[$165 >> 2] | 0) < ($$2376 | 0)) HEAP32[$165 >> 2] = $$2376; - HEAP32[$4 + 1310736 + ($151 + -1 << 2) >> 2] = $$0371; - $$2381 = $$1380; + $7 = HEAP16[$arrayidx35 + 2 >> 1] | 0; + $conv55 = $7 << 16 >> 16; + $8 = HEAP16[$arrayidx35 + -2 >> 1] | 0; + $conv60 = $8 << 16 >> 16; + $cmp61 = $8 << 16 >> 16 > 0; + if ($7 << 16 >> 16 <= 0) { + if ($cmp61) { + HEAP16[$pnt2$3 >> 1] = $8; + $33 = $conv60 * 7 | 0; + $arrayidx226 = $labelInfo + 1310736 + ($33 + -7 << 2) | 0; + HEAP32[$arrayidx226 >> 2] = (HEAP32[$arrayidx226 >> 2] | 0) + 1; + $arrayidx229 = $labelInfo + 1310736 + ($33 + -6 << 2) | 0; + HEAP32[$arrayidx229 >> 2] = (HEAP32[$arrayidx229 >> 2] | 0) + $i$2; + $arrayidx232 = $labelInfo + 1310736 + ($33 + -5 << 2) | 0; + HEAP32[$arrayidx232 >> 2] = (HEAP32[$arrayidx232 >> 2] | 0) + $j$0; + $arrayidx235 = $labelInfo + 1310736 + ($33 + -3 << 2) | 0; + if ((HEAP32[$arrayidx235 >> 2] | 0) < ($i$2 | 0)) HEAP32[$arrayidx235 >> 2] = $i$2; + HEAP32[$labelInfo + 1310736 + ($33 + -1 << 2) >> 2] = $j$0; + $wk_max$2 = $wk_max$1; break; } - $171 = HEAP16[$$3 + -2 >> 1] | 0; - if ($171 << 16 >> 16 > 0) { - HEAP16[$$3 >> 1] = $171; - $174 = ($171 << 16 >> 16) * 7 | 0; - $176 = $4 + 1310736 + ($174 + -7 << 2) | 0; - HEAP32[$176 >> 2] = (HEAP32[$176 >> 2] | 0) + 1; - $180 = $4 + 1310736 + ($174 + -6 << 2) | 0; - HEAP32[$180 >> 2] = (HEAP32[$180 >> 2] | 0) + $$2376; - $184 = $4 + 1310736 + ($174 + -5 << 2) | 0; - HEAP32[$184 >> 2] = (HEAP32[$184 >> 2] | 0) + $$0371; - $188 = $4 + 1310736 + ($174 + -3 << 2) | 0; - if ((HEAP32[$188 >> 2] | 0) >= ($$2376 | 0)) { - $$2381 = $$1380; + $38 = HEAP16[$pnt2$3 + -2 >> 1] | 0; + if ($38 << 16 >> 16 > 0) { + HEAP16[$pnt2$3 >> 1] = $38; + $39 = ($38 << 16 >> 16) * 7 | 0; + $arrayidx255 = $labelInfo + 1310736 + ($39 + -7 << 2) | 0; + HEAP32[$arrayidx255 >> 2] = (HEAP32[$arrayidx255 >> 2] | 0) + 1; + $arrayidx258 = $labelInfo + 1310736 + ($39 + -6 << 2) | 0; + HEAP32[$arrayidx258 >> 2] = (HEAP32[$arrayidx258 >> 2] | 0) + $i$2; + $arrayidx261 = $labelInfo + 1310736 + ($39 + -5 << 2) | 0; + HEAP32[$arrayidx261 >> 2] = (HEAP32[$arrayidx261 >> 2] | 0) + $j$0; + $arrayidx264 = $labelInfo + 1310736 + ($39 + -3 << 2) | 0; + if ((HEAP32[$arrayidx264 >> 2] | 0) >= ($i$2 | 0)) { + $wk_max$2 = $wk_max$1; break; } - HEAP32[$188 >> 2] = $$2376; - $$2381 = $$1380; + HEAP32[$arrayidx264 >> 2] = $i$2; + $wk_max$2 = $wk_max$1; break; } else { - $191 = $$1380 + 1 | 0; - if (($$1380 | 0) > 32767) { + $inc272 = $wk_max$1 + 1 | 0; + if (($wk_max$1 | 0) > 32767) { label = 54; break L9; } - HEAP16[$$3 >> 1] = $191; - HEAP32[$4 + 1179664 + ($$1380 << 2) >> 2] = $191 << 16 >> 16; - $196 = $$1380 * 7 | 0; - HEAP32[$4 + 1310736 + ($196 << 2) >> 2] = 1; - HEAP32[$4 + 1310736 + ($196 + 1 << 2) >> 2] = $$2376; - HEAP32[$4 + 1310736 + ($196 + 2 << 2) >> 2] = $$0371; - HEAP32[$4 + 1310736 + ($196 + 3 << 2) >> 2] = $$2376; - HEAP32[$4 + 1310736 + ($196 + 4 << 2) >> 2] = $$2376; - HEAP32[$4 + 1310736 + ($196 + 5 << 2) >> 2] = $$0371; - HEAP32[$4 + 1310736 + ($196 + 6 << 2) >> 2] = $$0371; - $$2381 = $191; + HEAP16[$pnt2$3 >> 1] = $inc272; + HEAP32[$labelInfo + 1179664 + ($wk_max$1 << 2) >> 2] = $inc272 << 16 >> 16; + $mul282 = $wk_max$1 * 7 | 0; + HEAP32[$labelInfo + 1310736 + ($mul282 << 2) >> 2] = 1; + HEAP32[$labelInfo + 1310736 + ($mul282 + 1 << 2) >> 2] = $i$2; + HEAP32[$labelInfo + 1310736 + ($mul282 + 2 << 2) >> 2] = $j$0; + HEAP32[$labelInfo + 1310736 + ($mul282 + 3 << 2) >> 2] = $i$2; + HEAP32[$labelInfo + 1310736 + ($mul282 + 4 << 2) >> 2] = $i$2; + HEAP32[$labelInfo + 1310736 + ($mul282 + 5 << 2) >> 2] = $j$0; + HEAP32[$labelInfo + 1310736 + ($mul282 + 6 << 2) >> 2] = $j$0; + $wk_max$2 = $inc272; break; } } - if ($55) { - $58 = HEAP32[$4 + 1179664 + ($50 + -1 << 2) >> 2] | 0; - $61 = HEAP32[$4 + 1179664 + ($54 + -1 << 2) >> 2] | 0; - L37 : do if (($58 | 0) <= ($61 | 0)) { - HEAP16[$$3 >> 1] = $58; - if (($58 | 0) < ($61 | 0)) { - $$1364 = $19; - $$1368 = 0; + if ($cmp61) { + $9 = HEAP32[$labelInfo + 1179664 + ($conv55 + -1 << 2) >> 2] | 0; + $10 = HEAP32[$labelInfo + 1179664 + ($conv60 + -1 << 2) >> 2] | 0; + L37 : do if (($9 | 0) <= ($10 | 0)) { + HEAP16[$pnt2$3 >> 1] = $9; + if (($9 | 0) < ($10 | 0)) { + $k$1 = 0; + $wk$1 = $arraydecay; while (1) { - if (($$1368 | 0) >= ($$1380 | 0)) { - $76 = $58; + if (($k$1 | 0) >= ($wk_max$1 | 0)) { + $13 = $9; break L37; } - if ((HEAP32[$$1364 >> 2] | 0) == ($61 | 0)) HEAP32[$$1364 >> 2] = $58; - $$1364 = $$1364 + 4 | 0; - $$1368 = $$1368 + 1 | 0; + if ((HEAP32[$wk$1 >> 2] | 0) == ($10 | 0)) HEAP32[$wk$1 >> 2] = $9; + $k$1 = $k$1 + 1 | 0; + $wk$1 = $wk$1 + 4 | 0; } - } else $76 = $58; + } else $13 = $9; } else { - HEAP16[$$3 >> 1] = $61; - $$0363 = $19; - $$0367 = 0; + HEAP16[$pnt2$3 >> 1] = $10; + $k$0 = 0; + $wk$0 = $arraydecay; while (1) { - if (($$0367 | 0) >= ($$1380 | 0)) { - $76 = $61; + if (($k$0 | 0) >= ($wk_max$1 | 0)) { + $13 = $10; break L37; } - if ((HEAP32[$$0363 >> 2] | 0) == ($58 | 0)) HEAP32[$$0363 >> 2] = $61; - $$0363 = $$0363 + 4 | 0; - $$0367 = $$0367 + 1 | 0; + if ((HEAP32[$wk$0 >> 2] | 0) == ($9 | 0)) HEAP32[$wk$0 >> 2] = $10; + $k$0 = $k$0 + 1 | 0; + $wk$0 = $wk$0 + 4 | 0; } } while (0); - $78 = ($76 << 16 >> 16) * 7 | 0; - $80 = $4 + 1310736 + ($78 + -7 << 2) | 0; - HEAP32[$80 >> 2] = (HEAP32[$80 >> 2] | 0) + 1; - $84 = $4 + 1310736 + ($78 + -6 << 2) | 0; - HEAP32[$84 >> 2] = (HEAP32[$84 >> 2] | 0) + $$2376; - $88 = $4 + 1310736 + ($78 + -5 << 2) | 0; - HEAP32[$88 >> 2] = (HEAP32[$88 >> 2] | 0) + $$0371; - HEAP32[$4 + 1310736 + ($78 + -1 << 2) >> 2] = $$0371; - $$2381 = $$1380; + $14 = ($13 << 16 >> 16) * 7 | 0; + $arrayidx114 = $labelInfo + 1310736 + ($14 + -7 << 2) | 0; + HEAP32[$arrayidx114 >> 2] = (HEAP32[$arrayidx114 >> 2] | 0) + 1; + $arrayidx117 = $labelInfo + 1310736 + ($14 + -6 << 2) | 0; + HEAP32[$arrayidx117 >> 2] = (HEAP32[$arrayidx117 >> 2] | 0) + $i$2; + $arrayidx120 = $labelInfo + 1310736 + ($14 + -5 << 2) | 0; + HEAP32[$arrayidx120 >> 2] = (HEAP32[$arrayidx120 >> 2] | 0) + $j$0; + HEAP32[$labelInfo + 1310736 + ($14 + -1 << 2) >> 2] = $j$0; + $wk_max$2 = $wk_max$1; break; } - $94 = HEAP16[$$3 + -2 >> 1] | 0; - if ($94 << 16 >> 16 <= 0) { - HEAP16[$$3 >> 1] = $49; - $132 = $50 * 7 | 0; - $134 = $4 + 1310736 + ($132 + -7 << 2) | 0; - HEAP32[$134 >> 2] = (HEAP32[$134 >> 2] | 0) + 1; - $138 = $4 + 1310736 + ($132 + -6 << 2) | 0; - HEAP32[$138 >> 2] = (HEAP32[$138 >> 2] | 0) + $$2376; - $142 = $4 + 1310736 + ($132 + -5 << 2) | 0; - HEAP32[$142 >> 2] = (HEAP32[$142 >> 2] | 0) + $$0371; - $146 = $4 + 1310736 + ($132 + -4 << 2) | 0; - if ((HEAP32[$146 >> 2] | 0) > ($$2376 | 0)) HEAP32[$146 >> 2] = $$2376; - HEAP32[$4 + 1310736 + ($132 + -1 << 2) >> 2] = $$0371; - $$2381 = $$1380; + $18 = HEAP16[$pnt2$3 + -2 >> 1] | 0; + if ($18 << 16 >> 16 <= 0) { + HEAP16[$pnt2$3 >> 1] = $7; + $28 = $conv55 * 7 | 0; + $arrayidx195 = $labelInfo + 1310736 + ($28 + -7 << 2) | 0; + HEAP32[$arrayidx195 >> 2] = (HEAP32[$arrayidx195 >> 2] | 0) + 1; + $arrayidx198 = $labelInfo + 1310736 + ($28 + -6 << 2) | 0; + HEAP32[$arrayidx198 >> 2] = (HEAP32[$arrayidx198 >> 2] | 0) + $i$2; + $arrayidx201 = $labelInfo + 1310736 + ($28 + -5 << 2) | 0; + HEAP32[$arrayidx201 >> 2] = (HEAP32[$arrayidx201 >> 2] | 0) + $j$0; + $arrayidx204 = $labelInfo + 1310736 + ($28 + -4 << 2) | 0; + if ((HEAP32[$arrayidx204 >> 2] | 0) > ($i$2 | 0)) HEAP32[$arrayidx204 >> 2] = $i$2; + HEAP32[$labelInfo + 1310736 + ($28 + -1 << 2) >> 2] = $j$0; + $wk_max$2 = $wk_max$1; break; } - $99 = HEAP32[$4 + 1179664 + ($50 + -1 << 2) >> 2] | 0; - $102 = HEAP32[$4 + 1179664 + (($94 << 16 >> 16) + -1 << 2) >> 2] | 0; - L61 : do if (($99 | 0) <= ($102 | 0)) { - HEAP16[$$3 >> 1] = $99; - if (($99 | 0) < ($102 | 0)) { - $$3366 = $19; - $$3370 = 0; + $19 = HEAP32[$labelInfo + 1179664 + ($conv55 + -1 << 2) >> 2] | 0; + $20 = HEAP32[$labelInfo + 1179664 + (($18 << 16 >> 16) + -1 << 2) >> 2] | 0; + L61 : do if (($19 | 0) <= ($20 | 0)) { + HEAP16[$pnt2$3 >> 1] = $19; + if (($19 | 0) < ($20 | 0)) { + $k$3 = 0; + $wk$3 = $arraydecay; while (1) { - if (($$3370 | 0) >= ($$1380 | 0)) { - $117 = $99; + if (($k$3 | 0) >= ($wk_max$1 | 0)) { + $23 = $19; break L61; } - if ((HEAP32[$$3366 >> 2] | 0) == ($102 | 0)) HEAP32[$$3366 >> 2] = $99; - $$3366 = $$3366 + 4 | 0; - $$3370 = $$3370 + 1 | 0; + if ((HEAP32[$wk$3 >> 2] | 0) == ($20 | 0)) HEAP32[$wk$3 >> 2] = $19; + $k$3 = $k$3 + 1 | 0; + $wk$3 = $wk$3 + 4 | 0; } - } else $117 = $99; + } else $23 = $19; } else { - HEAP16[$$3 >> 1] = $102; - $$2365 = $19; - $$2369 = 0; + HEAP16[$pnt2$3 >> 1] = $20; + $k$2 = 0; + $wk$2 = $arraydecay; while (1) { - if (($$2369 | 0) >= ($$1380 | 0)) { - $117 = $102; + if (($k$2 | 0) >= ($wk_max$1 | 0)) { + $23 = $20; break L61; } - if ((HEAP32[$$2365 >> 2] | 0) == ($99 | 0)) HEAP32[$$2365 >> 2] = $102; - $$2365 = $$2365 + 4 | 0; - $$2369 = $$2369 + 1 | 0; + if ((HEAP32[$wk$2 >> 2] | 0) == ($19 | 0)) HEAP32[$wk$2 >> 2] = $20; + $k$2 = $k$2 + 1 | 0; + $wk$2 = $wk$2 + 4 | 0; } } while (0); - $119 = ($117 << 16 >> 16) * 7 | 0; - $121 = $4 + 1310736 + ($119 + -7 << 2) | 0; - HEAP32[$121 >> 2] = (HEAP32[$121 >> 2] | 0) + 1; - $125 = $4 + 1310736 + ($119 + -6 << 2) | 0; - HEAP32[$125 >> 2] = (HEAP32[$125 >> 2] | 0) + $$2376; - $129 = $4 + 1310736 + ($119 + -5 << 2) | 0; - HEAP32[$129 >> 2] = (HEAP32[$129 >> 2] | 0) + $$0371; - $$2381 = $$1380; + $24 = ($23 << 16 >> 16) * 7 | 0; + $arrayidx181 = $labelInfo + 1310736 + ($24 + -7 << 2) | 0; + HEAP32[$arrayidx181 >> 2] = (HEAP32[$arrayidx181 >> 2] | 0) + 1; + $arrayidx184 = $labelInfo + 1310736 + ($24 + -6 << 2) | 0; + HEAP32[$arrayidx184 >> 2] = (HEAP32[$arrayidx184 >> 2] | 0) + $i$2; + $arrayidx187 = $labelInfo + 1310736 + ($24 + -5 << 2) | 0; + HEAP32[$arrayidx187 >> 2] = (HEAP32[$arrayidx187 >> 2] | 0) + $j$0; + $wk_max$2 = $wk_max$1; } while (0); - $$1 = $$1 + 1 | 0; - $$1380 = $$2381; - $$2376 = $$2376 + 1 | 0; - $$3 = $$3 + 2 | 0; + $i$2 = $i$2 + 1 | 0; + $pnt$1 = $pnt$1 + 1 | 0; + $pnt2$3 = $pnt2$3 + 2 | 0; + $wk_max$1 = $wk_max$2; } - $$0358 = $$1 + 2 | 0; - $$0371 = $$0371 + 1 | 0; - $$0379 = $$1380; - $$2 = $$3 + 4 | 0; + $j$0 = $j$0 + 1 | 0; + $pnt$0 = $pnt$1 + 2 | 0; + $pnt2$2 = $pnt2$3 + 4 | 0; + $wk_max$0 = $wk_max$1; } L80 : do if ((label | 0) == 54) { _arLog(0, 3, 23780, $vararg_buffer); - $$0 = -1; + $retval$0 = -1; } else if ((label | 0) == 59) { - $216 = $4 + 12 | 0; - $$1372 = 1; - $$3377 = 1; - $$4 = $19; + $arrayidx315 = $labelInfo + 12 | 0; + $i$3 = 1; + $j$1 = 1; + $wk$4 = $arraydecay; while (1) { - if (($$3377 | 0) > ($$0379 | 0)) break; - $218 = HEAP32[$$4 >> 2] | 0; - if (($218 | 0) == ($$3377 | 0)) { - $$2373 = $$1372 + 1 | 0; - $224 = $$1372; + if (($i$3 | 0) > ($wk_max$0 | 0)) break; + $44 = HEAP32[$wk$4 >> 2] | 0; + if (($44 | 0) == ($i$3 | 0)) { + $cond = $j$1; + $j$2 = $j$1 + 1 | 0; } else { - $$2373 = $$1372; - $224 = HEAP32[$4 + 1179664 + ($218 + -1 << 2) >> 2] | 0; - } - HEAP32[$$4 >> 2] = $224; - $$1372 = $$2373; - $$3377 = $$3377 + 1 | 0; - $$4 = $$4 + 4 | 0; - } - $227 = $4 + 8 | 0; - $228 = $$1372 + -1 | 0; - HEAP32[$227 >> 2] = $228; - if (!$228) $$0 = 0; else { - _memset($216 | 0, 0, $228 << 2 | 0) | 0; - _memset($4 + 655376 | 0, 0, $228 << 4 | 0) | 0; - $$4378 = 0; + $cond = HEAP32[$labelInfo + 1179664 + ($44 + -1 << 2) >> 2] | 0; + $j$2 = $j$1; + } + HEAP32[$wk$4 >> 2] = $cond; + $i$3 = $i$3 + 1 | 0; + $j$1 = $j$2; + $wk$4 = $wk$4 + 4 | 0; + } + $label_num313 = $labelInfo + 8 | 0; + $sub336 = $j$1 + -1 | 0; + HEAP32[$label_num313 >> 2] = $sub336; + if (!$sub336) $retval$0 = 0; else { + _memset($arrayidx315 | 0, 0, $sub336 << 2 | 0) | 0; + _memset($labelInfo + 655376 | 0, 0, $sub336 << 4 | 0) | 0; + $i$4 = 0; while (1) { - if (($$4378 | 0) >= ($228 | 0)) break; - $234 = $$4378 << 2; - HEAP32[$4 + 131084 + ($234 << 2) >> 2] = $1; - HEAP32[$4 + 131084 + (($234 | 1) << 2) >> 2] = 0; - HEAP32[$4 + 131084 + (($234 | 2) << 2) >> 2] = $2; - HEAP32[$4 + 131084 + (($234 | 3) << 2) >> 2] = 0; - $$4378 = $$4378 + 1 | 0; - } - $$5 = 0; + if (($i$4 | 0) >= ($sub336 | 0)) break; + $mul348 = $i$4 << 2; + HEAP32[$labelInfo + 131084 + ($mul348 << 2) >> 2] = $xsize; + HEAP32[$labelInfo + 131084 + (($mul348 | 1) << 2) >> 2] = 0; + HEAP32[$labelInfo + 131084 + (($mul348 | 2) << 2) >> 2] = $ysize; + HEAP32[$labelInfo + 131084 + (($mul348 | 3) << 2) >> 2] = 0; + $i$4 = $i$4 + 1 | 0; + } + $i$5 = 0; while (1) { - if (($$5 | 0) >= ($$0379 | 0)) break; - $246 = (HEAP32[$4 + 1179664 + ($$5 << 2) >> 2] | 0) + -1 | 0; - $247 = $$5 * 7 | 0; - $250 = $4 + 12 + ($246 << 2) | 0; - HEAP32[$250 >> 2] = (HEAP32[$250 >> 2] | 0) + (HEAP32[$4 + 1310736 + ($247 << 2) >> 2] | 0); - $257 = $246 << 1; - $258 = $4 + 655376 + ($257 << 3) | 0; - HEAPF64[$258 >> 3] = +HEAPF64[$258 >> 3] + +(HEAP32[$4 + 1310736 + ($247 + 1 << 2) >> 2] | 0); - $266 = $4 + 655376 + (($257 | 1) << 3) | 0; - HEAPF64[$266 >> 3] = +HEAPF64[$266 >> 3] + +(HEAP32[$4 + 1310736 + ($247 + 2 << 2) >> 2] | 0); - $269 = $246 << 2; - $270 = $4 + 131084 + ($269 << 2) | 0; - $274 = HEAP32[$4 + 1310736 + ($247 + 3 << 2) >> 2] | 0; - if ((HEAP32[$270 >> 2] | 0) > ($274 | 0)) HEAP32[$270 >> 2] = $274; - $277 = $4 + 131084 + (($269 | 1) << 2) | 0; - $281 = HEAP32[$4 + 1310736 + ($247 + 4 << 2) >> 2] | 0; - if ((HEAP32[$277 >> 2] | 0) < ($281 | 0)) HEAP32[$277 >> 2] = $281; - $284 = $4 + 131084 + (($269 | 2) << 2) | 0; - $288 = HEAP32[$4 + 1310736 + ($247 + 5 << 2) >> 2] | 0; - if ((HEAP32[$284 >> 2] | 0) > ($288 | 0)) HEAP32[$284 >> 2] = $288; - $291 = $4 + 131084 + (($269 | 3) << 2) | 0; - $295 = HEAP32[$4 + 1310736 + ($247 + 6 << 2) >> 2] | 0; - if ((HEAP32[$291 >> 2] | 0) < ($295 | 0)) HEAP32[$291 >> 2] = $295; - $$5 = $$5 + 1 | 0; - } - $298 = HEAP32[$227 >> 2] | 0; - $$6 = 0; + if (($i$5 | 0) >= ($wk_max$0 | 0)) break; + $sub368 = (HEAP32[$labelInfo + 1179664 + ($i$5 << 2) >> 2] | 0) + -1 | 0; + $mul369 = $i$5 * 7 | 0; + $arrayidx372 = $labelInfo + 12 + ($sub368 << 2) | 0; + HEAP32[$arrayidx372 >> 2] = (HEAP32[$arrayidx372 >> 2] | 0) + (HEAP32[$labelInfo + 1310736 + ($mul369 << 2) >> 2] | 0); + $mul378 = $sub368 << 1; + $arrayidx380 = $labelInfo + 655376 + ($mul378 << 3) | 0; + HEAPF64[$arrayidx380 >> 3] = +HEAPF64[$arrayidx380 >> 3] + +(HEAP32[$labelInfo + 1310736 + ($mul369 + 1 << 2) >> 2] | 0); + $arrayidx388 = $labelInfo + 655376 + (($mul378 | 1) << 3) | 0; + HEAPF64[$arrayidx388 >> 3] = +HEAPF64[$arrayidx388 >> 3] + +(HEAP32[$labelInfo + 1310736 + ($mul369 + 2 << 2) >> 2] | 0); + $mul390 = $sub368 << 2; + $arrayidx392 = $labelInfo + 131084 + ($mul390 << 2) | 0; + $54 = HEAP32[$labelInfo + 1310736 + ($mul369 + 3 << 2) >> 2] | 0; + if ((HEAP32[$arrayidx392 >> 2] | 0) > ($54 | 0)) HEAP32[$arrayidx392 >> 2] = $54; + $arrayidx408 = $labelInfo + 131084 + (($mul390 | 1) << 2) | 0; + $56 = HEAP32[$labelInfo + 1310736 + ($mul369 + 4 << 2) >> 2] | 0; + if ((HEAP32[$arrayidx408 >> 2] | 0) < ($56 | 0)) HEAP32[$arrayidx408 >> 2] = $56; + $arrayidx424 = $labelInfo + 131084 + (($mul390 | 2) << 2) | 0; + $58 = HEAP32[$labelInfo + 1310736 + ($mul369 + 5 << 2) >> 2] | 0; + if ((HEAP32[$arrayidx424 >> 2] | 0) > ($58 | 0)) HEAP32[$arrayidx424 >> 2] = $58; + $arrayidx440 = $labelInfo + 131084 + (($mul390 | 3) << 2) | 0; + $60 = HEAP32[$labelInfo + 1310736 + ($mul369 + 6 << 2) >> 2] | 0; + if ((HEAP32[$arrayidx440 >> 2] | 0) < ($60 | 0)) HEAP32[$arrayidx440 >> 2] = $60; + $i$5 = $i$5 + 1 | 0; + } + $61 = HEAP32[$label_num313 >> 2] | 0; + $i$6 = 0; while (1) { - if (($$6 | 0) >= ($298 | 0)) { - $$0 = 0; + if (($i$6 | 0) >= ($61 | 0)) { + $retval$0 = 0; break L80; } - $302 = +(HEAP32[$4 + 12 + ($$6 << 2) >> 2] | 0); - $303 = $$6 << 1; - $304 = $4 + 655376 + ($303 << 3) | 0; - HEAPF64[$304 >> 3] = +HEAPF64[$304 >> 3] / $302; - $308 = $4 + 655376 + (($303 | 1) << 3) | 0; - HEAPF64[$308 >> 3] = +HEAPF64[$308 >> 3] / $302; - $$6 = $$6 + 1 | 0; + $conv462 = +(HEAP32[$labelInfo + 12 + ($i$6 << 2) >> 2] | 0); + $mul463 = $i$6 << 1; + $arrayidx465 = $labelInfo + 655376 + ($mul463 << 3) | 0; + HEAPF64[$arrayidx465 >> 3] = +HEAPF64[$arrayidx465 >> 3] / $conv462; + $arrayidx470 = $labelInfo + 655376 + (($mul463 | 1) << 3) | 0; + HEAPF64[$arrayidx470 >> 3] = +HEAPF64[$arrayidx470 >> 3] / $conv462; + $i$6 = $i$6 + 1 | 0; } } } while (0); STACKTOP = sp; - return $$0 | 0; + return $retval$0 | 0; } -function _dispose_chunk($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$041722 = 0, $$0418$lcssa = 0, $$041821 = 0, $$0429 = 0, $$0436 = 0, $$1 = 0, $$1416 = 0, $$1424 = 0, $$1424$be = 0, $$1424$ph = 0, $$1427 = 0, $$1427$be = 0, $$1427$ph = 0, $$1431 = 0, $$1431$be = 0, $$1431$ph = 0, $$1435 = 0, $$1435$be = 0, $$1435$ph = 0, $$2 = 0, $$3 = 0, $$3433 = 0, $$pre$phi28Z2D = 0, $$pre$phi30Z2D = 0, $$pre$phiZ2D = 0, $101 = 0, $102 = 0, $108 = 0, $11 = 0, $110 = 0, $111 = 0, $117 = 0, $12 = 0, $125 = 0, $13 = 0, $130 = 0, $131 = 0, $134 = 0, $136 = 0, $138 = 0, $151 = 0, $156 = 0, $158 = 0, $161 = 0, $163 = 0, $166 = 0, $169 = 0, $17 = 0, $170 = 0, $171 = 0, $173 = 0, $175 = 0, $176 = 0, $178 = 0, $179 = 0, $184 = 0, $185 = 0, $194 = 0, $199 = 0, $2 = 0, $20 = 0, $202 = 0, $203 = 0, $209 = 0, $22 = 0, $224 = 0, $227 = 0, $228 = 0, $229 = 0, $233 = 0, $234 = 0, $24 = 0, $240 = 0, $245 = 0, $246 = 0, $249 = 0, $251 = 0, $254 = 0, $259 = 0, $265 = 0, $269 = 0, $270 = 0, $277 = 0, $289 = 0, $294 = 0, $301 = 0, $302 = 0, $303 = 0, $37 = 0, $4 = 0, $42 = 0, $44 = 0, $47 = 0, $49 = 0, $52 = 0, $55 = 0, $56 = 0, $57 = 0, $59 = 0, $61 = 0, $62 = 0, $64 = 0, $65 = 0, $7 = 0, $70 = 0, $71 = 0, $80 = 0, $85 = 0, $88 = 0, $89 = 0, $95 = 0; - $2 = $0 + $1 | 0; - $4 = HEAP32[$0 + 4 >> 2] | 0; - L1 : do if (!($4 & 1)) { - $7 = HEAP32[$0 >> 2] | 0; - if (!($4 & 3)) return; - $11 = $0 + (0 - $7) | 0; - $12 = $7 + $1 | 0; - $13 = HEAP32[16739] | 0; - if ($11 >>> 0 < $13 >>> 0) _abort(); - if ((HEAP32[16740] | 0) == ($11 | 0)) { - $101 = $2 + 4 | 0; - $102 = HEAP32[$101 >> 2] | 0; - if (($102 & 3 | 0) != 3) { - $$1 = $11; - $$1416 = $12; - break; - } - HEAP32[16737] = $12; - HEAP32[$101 >> 2] = $102 & -2; - HEAP32[$11 + 4 >> 2] = $12 | 1; - HEAP32[$2 >> 2] = $12; +function _free($mem) { + $mem = $mem | 0; + var $$pre$phiZ2D = 0, $0 = 0, $1 = 0, $10 = 0, $11 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $2 = 0, $23 = 0, $24 = 0, $25 = 0, $27 = 0, $28 = 0, $29 = 0, $35 = 0, $36 = 0, $4 = 0, $42 = 0, $43 = 0, $44 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $53 = 0, $58 = 0, $59 = 0, $60 = 0, $63 = 0, $64 = 0, $65 = 0, $67 = 0, $68 = 0, $70 = 0, $73 = 0, $74 = 0, $9 = 0, $F510$0 = 0, $I534$0 = 0, $K583$0312 = 0, $R$1 = 0, $R$1$be = 0, $R$1$ph = 0, $R$3 = 0, $R332$1 = 0, $R332$1$be = 0, $R332$1$ph = 0, $R332$3 = 0, $RP$1 = 0, $RP$1$be = 0, $RP$1$ph = 0, $RP360$1 = 0, $RP360$1$be = 0, $RP360$1$ph = 0, $T$0$lcssa = 0, $T$0311 = 0, $add$ptr = 0, $add$ptr16 = 0, $add$ptr6 = 0, $add17 = 0, $add246 = 0, $add258 = 0, $add267 = 0, $add559 = 0, $and = 0, $and5 = 0, $and545 = 0, $and549 = 0, $and554 = 0, $arrayidx = 0, $arrayidx108 = 0, $arrayidx113 = 0, $arrayidx130 = 0, $arrayidx149 = 0, $arrayidx279 = 0, $arrayidx362 = 0, $arrayidx374 = 0, $arrayidx379 = 0, $arrayidx400 = 0, $arrayidx419 = 0, $arrayidx509 = 0, $arrayidx567 = 0, $arrayidx599 = 0, $arrayidx99 = 0, $bk343 = 0, $bk82 = 0, $child = 0, $child171 = 0, $child361 = 0, $child443 = 0, $dec = 0, $fd311 = 0, $fd322$pre$phiZ2D = 0, $fd347 = 0, $fd56 = 0, $fd620 = 0, $fd67$pre$phiZ2D = 0, $fd86 = 0, $head209 = 0, $head231 = 0, $p$1 = 0, $psize$1 = 0, $psize$2 = 0, $shl511 = 0, $shl546 = 0, $shl551 = 0, $shl573 = 0, $shr = 0, $shr268 = 0, $shr501 = 0, $shr535 = 0, $sp$0$i = 0, $sp$0$in$i = 0; + if (!$mem) return; + $add$ptr = $mem + -8 | 0; + $0 = HEAP32[16951] | 0; + if ($add$ptr >>> 0 < $0 >>> 0) _abort(); + $1 = HEAP32[$mem + -4 >> 2] | 0; + $and = $1 & 3; + if (($and | 0) == 1) _abort(); + $and5 = $1 & -8; + $add$ptr6 = $add$ptr + $and5 | 0; + L10 : do if (!($1 & 1)) { + $2 = HEAP32[$add$ptr >> 2] | 0; + if (!$and) return; + $add$ptr16 = $add$ptr + (0 - $2) | 0; + $add17 = $2 + $and5 | 0; + if ($add$ptr16 >>> 0 < $0 >>> 0) _abort(); + if ((HEAP32[16952] | 0) == ($add$ptr16 | 0)) { + $head209 = $add$ptr6 + 4 | 0; + $27 = HEAP32[$head209 >> 2] | 0; + if (($27 & 3 | 0) != 3) { + $28 = $add$ptr16; + $p$1 = $add$ptr16; + $psize$1 = $add17; + break; + } + HEAP32[16949] = $add17; + HEAP32[$head209 >> 2] = $27 & -2; + HEAP32[$add$ptr16 + 4 >> 2] = $add17 | 1; + HEAP32[$add$ptr16 + $add17 >> 2] = $add17; return; } - $17 = $7 >>> 3; - if ($7 >>> 0 < 256) { - $20 = HEAP32[$11 + 8 >> 2] | 0; - $22 = HEAP32[$11 + 12 >> 2] | 0; - $24 = 66980 + ($17 << 1 << 2) | 0; - if (($20 | 0) != ($24 | 0)) { - if ($13 >>> 0 > $20 >>> 0) _abort(); - if ((HEAP32[$20 + 12 >> 2] | 0) != ($11 | 0)) _abort(); - } - if (($22 | 0) == ($20 | 0)) { - HEAP32[16735] = HEAP32[16735] & ~(1 << $17); - $$1 = $11; - $$1416 = $12; - break; - } - if (($22 | 0) != ($24 | 0)) { - if ($13 >>> 0 > $22 >>> 0) _abort(); - $37 = $22 + 8 | 0; - if ((HEAP32[$37 >> 2] | 0) == ($11 | 0)) $$pre$phi30Z2D = $37; else _abort(); - } else $$pre$phi30Z2D = $22 + 8 | 0; - HEAP32[$20 + 12 >> 2] = $22; - HEAP32[$$pre$phi30Z2D >> 2] = $20; - $$1 = $11; - $$1416 = $12; - break; - } - $42 = HEAP32[$11 + 24 >> 2] | 0; - $44 = HEAP32[$11 + 12 >> 2] | 0; - do if (($44 | 0) == ($11 | 0)) { - $55 = $11 + 16 | 0; - $56 = $55 + 4 | 0; - $57 = HEAP32[$56 >> 2] | 0; - if (!$57) { - $59 = HEAP32[$55 >> 2] | 0; - if (!$59) { - $$3 = 0; + $shr = $2 >>> 3; + if ($2 >>> 0 < 256) { + $4 = HEAP32[$add$ptr16 + 8 >> 2] | 0; + $5 = HEAP32[$add$ptr16 + 12 >> 2] | 0; + $arrayidx = 67828 + ($shr << 1 << 2) | 0; + if (($4 | 0) != ($arrayidx | 0)) { + if ($0 >>> 0 > $4 >>> 0) _abort(); + if ((HEAP32[$4 + 12 >> 2] | 0) != ($add$ptr16 | 0)) _abort(); + } + if (($5 | 0) == ($4 | 0)) { + HEAP32[16947] = HEAP32[16947] & ~(1 << $shr); + $28 = $add$ptr16; + $p$1 = $add$ptr16; + $psize$1 = $add17; + break; + } + if (($5 | 0) != ($arrayidx | 0)) { + if ($0 >>> 0 > $5 >>> 0) _abort(); + $fd56 = $5 + 8 | 0; + if ((HEAP32[$fd56 >> 2] | 0) == ($add$ptr16 | 0)) $fd67$pre$phiZ2D = $fd56; else _abort(); + } else $fd67$pre$phiZ2D = $5 + 8 | 0; + HEAP32[$4 + 12 >> 2] = $5; + HEAP32[$fd67$pre$phiZ2D >> 2] = $4; + $28 = $add$ptr16; + $p$1 = $add$ptr16; + $psize$1 = $add17; + break; + } + $9 = HEAP32[$add$ptr16 + 24 >> 2] | 0; + $10 = HEAP32[$add$ptr16 + 12 >> 2] | 0; + do if (($10 | 0) == ($add$ptr16 | 0)) { + $child = $add$ptr16 + 16 | 0; + $arrayidx99 = $child + 4 | 0; + $14 = HEAP32[$arrayidx99 >> 2] | 0; + if (!$14) { + $15 = HEAP32[$child >> 2] | 0; + if (!$15) { + $R$3 = 0; break; } else { - $$1424$ph = $59; - $$1427$ph = $55; + $R$1$ph = $15; + $RP$1$ph = $child; } } else { - $$1424$ph = $57; - $$1427$ph = $56; + $R$1$ph = $14; + $RP$1$ph = $arrayidx99; } - $$1424 = $$1424$ph; - $$1427 = $$1427$ph; + $R$1 = $R$1$ph; + $RP$1 = $RP$1$ph; while (1) { - $61 = $$1424 + 20 | 0; - $62 = HEAP32[$61 >> 2] | 0; - if (!$62) { - $64 = $$1424 + 16 | 0; - $65 = HEAP32[$64 >> 2] | 0; - if (!$65) break; else { - $$1424$be = $65; - $$1427$be = $64; + $arrayidx108 = $R$1 + 20 | 0; + $16 = HEAP32[$arrayidx108 >> 2] | 0; + if (!$16) { + $arrayidx113 = $R$1 + 16 | 0; + $17 = HEAP32[$arrayidx113 >> 2] | 0; + if (!$17) break; else { + $R$1$be = $17; + $RP$1$be = $arrayidx113; } } else { - $$1424$be = $62; - $$1427$be = $61; + $R$1$be = $16; + $RP$1$be = $arrayidx108; } - $$1424 = $$1424$be; - $$1427 = $$1427$be; + $R$1 = $R$1$be; + $RP$1 = $RP$1$be; } - if ($13 >>> 0 > $$1427 >>> 0) _abort(); else { - HEAP32[$$1427 >> 2] = 0; - $$3 = $$1424; + if ($0 >>> 0 > $RP$1 >>> 0) _abort(); else { + HEAP32[$RP$1 >> 2] = 0; + $R$3 = $R$1; break; } } else { - $47 = HEAP32[$11 + 8 >> 2] | 0; - if ($13 >>> 0 > $47 >>> 0) _abort(); - $49 = $47 + 12 | 0; - if ((HEAP32[$49 >> 2] | 0) != ($11 | 0)) _abort(); - $52 = $44 + 8 | 0; - if ((HEAP32[$52 >> 2] | 0) == ($11 | 0)) { - HEAP32[$49 >> 2] = $44; - HEAP32[$52 >> 2] = $47; - $$3 = $44; + $11 = HEAP32[$add$ptr16 + 8 >> 2] | 0; + if ($0 >>> 0 > $11 >>> 0) _abort(); + $bk82 = $11 + 12 | 0; + if ((HEAP32[$bk82 >> 2] | 0) != ($add$ptr16 | 0)) _abort(); + $fd86 = $10 + 8 | 0; + if ((HEAP32[$fd86 >> 2] | 0) == ($add$ptr16 | 0)) { + HEAP32[$bk82 >> 2] = $10; + HEAP32[$fd86 >> 2] = $11; + $R$3 = $10; break; } else _abort(); } while (0); - if ($42) { - $70 = HEAP32[$11 + 28 >> 2] | 0; - $71 = 67244 + ($70 << 2) | 0; - do if ((HEAP32[$71 >> 2] | 0) == ($11 | 0)) { - HEAP32[$71 >> 2] = $$3; - if (!$$3) { - HEAP32[16736] = HEAP32[16736] & ~(1 << $70); - $$1 = $11; - $$1416 = $12; - break L1; + if ($9) { + $18 = HEAP32[$add$ptr16 + 28 >> 2] | 0; + $arrayidx130 = 68092 + ($18 << 2) | 0; + do if ((HEAP32[$arrayidx130 >> 2] | 0) == ($add$ptr16 | 0)) { + HEAP32[$arrayidx130 >> 2] = $R$3; + if (!$R$3) { + HEAP32[16948] = HEAP32[16948] & ~(1 << $18); + $28 = $add$ptr16; + $p$1 = $add$ptr16; + $psize$1 = $add17; + break L10; } - } else if ((HEAP32[16739] | 0) >>> 0 <= $42 >>> 0) { - $80 = $42 + 16 | 0; - HEAP32[((HEAP32[$80 >> 2] | 0) == ($11 | 0) ? $80 : $42 + 20 | 0) >> 2] = $$3; - if (!$$3) { - $$1 = $11; - $$1416 = $12; - break L1; + } else if ((HEAP32[16951] | 0) >>> 0 <= $9 >>> 0) { + $arrayidx149 = $9 + 16 | 0; + HEAP32[((HEAP32[$arrayidx149 >> 2] | 0) == ($add$ptr16 | 0) ? $arrayidx149 : $9 + 20 | 0) >> 2] = $R$3; + if (!$R$3) { + $28 = $add$ptr16; + $p$1 = $add$ptr16; + $psize$1 = $add17; + break L10; } else break; } else _abort(); while (0); - $85 = HEAP32[16739] | 0; - if ($85 >>> 0 > $$3 >>> 0) _abort(); - HEAP32[$$3 + 24 >> 2] = $42; - $88 = $11 + 16 | 0; - $89 = HEAP32[$88 >> 2] | 0; - do if ($89 | 0) if ($85 >>> 0 > $89 >>> 0) _abort(); else { - HEAP32[$$3 + 16 >> 2] = $89; - HEAP32[$89 + 24 >> 2] = $$3; + $23 = HEAP32[16951] | 0; + if ($23 >>> 0 > $R$3 >>> 0) _abort(); + HEAP32[$R$3 + 24 >> 2] = $9; + $child171 = $add$ptr16 + 16 | 0; + $24 = HEAP32[$child171 >> 2] | 0; + do if ($24 | 0) if ($23 >>> 0 > $24 >>> 0) _abort(); else { + HEAP32[$R$3 + 16 >> 2] = $24; + HEAP32[$24 + 24 >> 2] = $R$3; break; } while (0); - $95 = HEAP32[$88 + 4 >> 2] | 0; - if ($95) if ((HEAP32[16739] | 0) >>> 0 > $95 >>> 0) _abort(); else { - HEAP32[$$3 + 20 >> 2] = $95; - HEAP32[$95 + 24 >> 2] = $$3; - $$1 = $11; - $$1416 = $12; + $25 = HEAP32[$child171 + 4 >> 2] | 0; + if ($25) if ((HEAP32[16951] | 0) >>> 0 > $25 >>> 0) _abort(); else { + HEAP32[$R$3 + 20 >> 2] = $25; + HEAP32[$25 + 24 >> 2] = $R$3; + $28 = $add$ptr16; + $p$1 = $add$ptr16; + $psize$1 = $add17; break; } else { - $$1 = $11; - $$1416 = $12; + $28 = $add$ptr16; + $p$1 = $add$ptr16; + $psize$1 = $add17; } } else { - $$1 = $11; - $$1416 = $12; + $28 = $add$ptr16; + $p$1 = $add$ptr16; + $psize$1 = $add17; } } else { - $$1 = $0; - $$1416 = $1; + $28 = $add$ptr; + $p$1 = $add$ptr; + $psize$1 = $and5; } while (0); - $108 = HEAP32[16739] | 0; - if ($2 >>> 0 < $108 >>> 0) _abort(); - $110 = $2 + 4 | 0; - $111 = HEAP32[$110 >> 2] | 0; - if (!($111 & 2)) { - if ((HEAP32[16741] | 0) == ($2 | 0)) { - $117 = (HEAP32[16738] | 0) + $$1416 | 0; - HEAP32[16738] = $117; - HEAP32[16741] = $$1; - HEAP32[$$1 + 4 >> 2] = $117 | 1; - if (($$1 | 0) != (HEAP32[16740] | 0)) return; - HEAP32[16740] = 0; - HEAP32[16737] = 0; + if ($28 >>> 0 >= $add$ptr6 >>> 0) _abort(); + $head231 = $add$ptr6 + 4 | 0; + $29 = HEAP32[$head231 >> 2] | 0; + if (!($29 & 1)) _abort(); + if (!($29 & 2)) { + if ((HEAP32[16953] | 0) == ($add$ptr6 | 0)) { + $add246 = (HEAP32[16950] | 0) + $psize$1 | 0; + HEAP32[16950] = $add246; + HEAP32[16953] = $p$1; + HEAP32[$p$1 + 4 >> 2] = $add246 | 1; + if (($p$1 | 0) != (HEAP32[16952] | 0)) return; + HEAP32[16952] = 0; + HEAP32[16949] = 0; return; } - if ((HEAP32[16740] | 0) == ($2 | 0)) { - $125 = (HEAP32[16737] | 0) + $$1416 | 0; - HEAP32[16737] = $125; - HEAP32[16740] = $$1; - HEAP32[$$1 + 4 >> 2] = $125 | 1; - HEAP32[$$1 + $125 >> 2] = $125; + if ((HEAP32[16952] | 0) == ($add$ptr6 | 0)) { + $add258 = (HEAP32[16949] | 0) + $psize$1 | 0; + HEAP32[16949] = $add258; + HEAP32[16952] = $28; + HEAP32[$p$1 + 4 >> 2] = $add258 | 1; + HEAP32[$28 + $add258 >> 2] = $add258; return; } - $130 = ($111 & -8) + $$1416 | 0; - $131 = $111 >>> 3; - L99 : do if ($111 >>> 0 >= 256) { - $156 = HEAP32[$2 + 24 >> 2] | 0; - $158 = HEAP32[$2 + 12 >> 2] | 0; - do if (($158 | 0) == ($2 | 0)) { - $169 = $2 + 16 | 0; - $170 = $169 + 4 | 0; - $171 = HEAP32[$170 >> 2] | 0; - if (!$171) { - $173 = HEAP32[$169 >> 2] | 0; - if (!$173) { - $$3433 = 0; + $add267 = ($29 & -8) + $psize$1 | 0; + $shr268 = $29 >>> 3; + L111 : do if ($29 >>> 0 >= 256) { + $42 = HEAP32[$add$ptr6 + 24 >> 2] | 0; + $43 = HEAP32[$add$ptr6 + 12 >> 2] | 0; + do if (($43 | 0) == ($add$ptr6 | 0)) { + $child361 = $add$ptr6 + 16 | 0; + $arrayidx362 = $child361 + 4 | 0; + $48 = HEAP32[$arrayidx362 >> 2] | 0; + if (!$48) { + $49 = HEAP32[$child361 >> 2] | 0; + if (!$49) { + $R332$3 = 0; break; } else { - $$1431$ph = $173; - $$1435$ph = $169; + $R332$1$ph = $49; + $RP360$1$ph = $child361; } } else { - $$1431$ph = $171; - $$1435$ph = $170; + $R332$1$ph = $48; + $RP360$1$ph = $arrayidx362; } - $$1431 = $$1431$ph; - $$1435 = $$1435$ph; + $R332$1 = $R332$1$ph; + $RP360$1 = $RP360$1$ph; while (1) { - $175 = $$1431 + 20 | 0; - $176 = HEAP32[$175 >> 2] | 0; - if (!$176) { - $178 = $$1431 + 16 | 0; - $179 = HEAP32[$178 >> 2] | 0; - if (!$179) break; else { - $$1431$be = $179; - $$1435$be = $178; + $arrayidx374 = $R332$1 + 20 | 0; + $50 = HEAP32[$arrayidx374 >> 2] | 0; + if (!$50) { + $arrayidx379 = $R332$1 + 16 | 0; + $51 = HEAP32[$arrayidx379 >> 2] | 0; + if (!$51) break; else { + $R332$1$be = $51; + $RP360$1$be = $arrayidx379; } } else { - $$1431$be = $176; - $$1435$be = $175; + $R332$1$be = $50; + $RP360$1$be = $arrayidx374; } - $$1431 = $$1431$be; - $$1435 = $$1435$be; + $R332$1 = $R332$1$be; + $RP360$1 = $RP360$1$be; } - if ($108 >>> 0 > $$1435 >>> 0) _abort(); else { - HEAP32[$$1435 >> 2] = 0; - $$3433 = $$1431; + if ((HEAP32[16951] | 0) >>> 0 > $RP360$1 >>> 0) _abort(); else { + HEAP32[$RP360$1 >> 2] = 0; + $R332$3 = $R332$1; break; } } else { - $161 = HEAP32[$2 + 8 >> 2] | 0; - if ($108 >>> 0 > $161 >>> 0) _abort(); - $163 = $161 + 12 | 0; - if ((HEAP32[$163 >> 2] | 0) != ($2 | 0)) _abort(); - $166 = $158 + 8 | 0; - if ((HEAP32[$166 >> 2] | 0) == ($2 | 0)) { - HEAP32[$163 >> 2] = $158; - HEAP32[$166 >> 2] = $161; - $$3433 = $158; + $44 = HEAP32[$add$ptr6 + 8 >> 2] | 0; + if ((HEAP32[16951] | 0) >>> 0 > $44 >>> 0) _abort(); + $bk343 = $44 + 12 | 0; + if ((HEAP32[$bk343 >> 2] | 0) != ($add$ptr6 | 0)) _abort(); + $fd347 = $43 + 8 | 0; + if ((HEAP32[$fd347 >> 2] | 0) == ($add$ptr6 | 0)) { + HEAP32[$bk343 >> 2] = $43; + HEAP32[$fd347 >> 2] = $44; + $R332$3 = $43; break; } else _abort(); } while (0); - if ($156 | 0) { - $184 = HEAP32[$2 + 28 >> 2] | 0; - $185 = 67244 + ($184 << 2) | 0; - do if ((HEAP32[$185 >> 2] | 0) == ($2 | 0)) { - HEAP32[$185 >> 2] = $$3433; - if (!$$3433) { - HEAP32[16736] = HEAP32[16736] & ~(1 << $184); - break L99; + if ($42 | 0) { + $53 = HEAP32[$add$ptr6 + 28 >> 2] | 0; + $arrayidx400 = 68092 + ($53 << 2) | 0; + do if ((HEAP32[$arrayidx400 >> 2] | 0) == ($add$ptr6 | 0)) { + HEAP32[$arrayidx400 >> 2] = $R332$3; + if (!$R332$3) { + HEAP32[16948] = HEAP32[16948] & ~(1 << $53); + break L111; } - } else if ((HEAP32[16739] | 0) >>> 0 <= $156 >>> 0) { - $194 = $156 + 16 | 0; - HEAP32[((HEAP32[$194 >> 2] | 0) == ($2 | 0) ? $194 : $156 + 20 | 0) >> 2] = $$3433; - if (!$$3433) break L99; else break; + } else if ((HEAP32[16951] | 0) >>> 0 <= $42 >>> 0) { + $arrayidx419 = $42 + 16 | 0; + HEAP32[((HEAP32[$arrayidx419 >> 2] | 0) == ($add$ptr6 | 0) ? $arrayidx419 : $42 + 20 | 0) >> 2] = $R332$3; + if (!$R332$3) break L111; else break; } else _abort(); while (0); - $199 = HEAP32[16739] | 0; - if ($199 >>> 0 > $$3433 >>> 0) _abort(); - HEAP32[$$3433 + 24 >> 2] = $156; - $202 = $2 + 16 | 0; - $203 = HEAP32[$202 >> 2] | 0; - do if ($203 | 0) if ($199 >>> 0 > $203 >>> 0) _abort(); else { - HEAP32[$$3433 + 16 >> 2] = $203; - HEAP32[$203 + 24 >> 2] = $$3433; + $58 = HEAP32[16951] | 0; + if ($58 >>> 0 > $R332$3 >>> 0) _abort(); + HEAP32[$R332$3 + 24 >> 2] = $42; + $child443 = $add$ptr6 + 16 | 0; + $59 = HEAP32[$child443 >> 2] | 0; + do if ($59 | 0) if ($58 >>> 0 > $59 >>> 0) _abort(); else { + HEAP32[$R332$3 + 16 >> 2] = $59; + HEAP32[$59 + 24 >> 2] = $R332$3; break; } while (0); - $209 = HEAP32[$202 + 4 >> 2] | 0; - if ($209 | 0) if ((HEAP32[16739] | 0) >>> 0 > $209 >>> 0) _abort(); else { - HEAP32[$$3433 + 20 >> 2] = $209; - HEAP32[$209 + 24 >> 2] = $$3433; + $60 = HEAP32[$child443 + 4 >> 2] | 0; + if ($60 | 0) if ((HEAP32[16951] | 0) >>> 0 > $60 >>> 0) _abort(); else { + HEAP32[$R332$3 + 20 >> 2] = $60; + HEAP32[$60 + 24 >> 2] = $R332$3; break; } } } else { - $134 = HEAP32[$2 + 8 >> 2] | 0; - $136 = HEAP32[$2 + 12 >> 2] | 0; - $138 = 66980 + ($131 << 1 << 2) | 0; - if (($134 | 0) != ($138 | 0)) { - if ($108 >>> 0 > $134 >>> 0) _abort(); - if ((HEAP32[$134 + 12 >> 2] | 0) != ($2 | 0)) _abort(); - } - if (($136 | 0) == ($134 | 0)) { - HEAP32[16735] = HEAP32[16735] & ~(1 << $131); - break; - } - if (($136 | 0) != ($138 | 0)) { - if ($108 >>> 0 > $136 >>> 0) _abort(); - $151 = $136 + 8 | 0; - if ((HEAP32[$151 >> 2] | 0) == ($2 | 0)) $$pre$phi28Z2D = $151; else _abort(); - } else $$pre$phi28Z2D = $136 + 8 | 0; - HEAP32[$134 + 12 >> 2] = $136; - HEAP32[$$pre$phi28Z2D >> 2] = $134; + $35 = HEAP32[$add$ptr6 + 8 >> 2] | 0; + $36 = HEAP32[$add$ptr6 + 12 >> 2] | 0; + $arrayidx279 = 67828 + ($shr268 << 1 << 2) | 0; + if (($35 | 0) != ($arrayidx279 | 0)) { + if ((HEAP32[16951] | 0) >>> 0 > $35 >>> 0) _abort(); + if ((HEAP32[$35 + 12 >> 2] | 0) != ($add$ptr6 | 0)) _abort(); + } + if (($36 | 0) == ($35 | 0)) { + HEAP32[16947] = HEAP32[16947] & ~(1 << $shr268); + break; + } + if (($36 | 0) != ($arrayidx279 | 0)) { + if ((HEAP32[16951] | 0) >>> 0 > $36 >>> 0) _abort(); + $fd311 = $36 + 8 | 0; + if ((HEAP32[$fd311 >> 2] | 0) == ($add$ptr6 | 0)) $fd322$pre$phiZ2D = $fd311; else _abort(); + } else $fd322$pre$phiZ2D = $36 + 8 | 0; + HEAP32[$35 + 12 >> 2] = $36; + HEAP32[$fd322$pre$phiZ2D >> 2] = $35; } while (0); - HEAP32[$$1 + 4 >> 2] = $130 | 1; - HEAP32[$$1 + $130 >> 2] = $130; - if (($$1 | 0) == (HEAP32[16740] | 0)) { - HEAP32[16737] = $130; + HEAP32[$p$1 + 4 >> 2] = $add267 | 1; + HEAP32[$28 + $add267 >> 2] = $add267; + if (($p$1 | 0) == (HEAP32[16952] | 0)) { + HEAP32[16949] = $add267; return; - } else $$2 = $130; + } else $psize$2 = $add267; } else { - HEAP32[$110 >> 2] = $111 & -2; - HEAP32[$$1 + 4 >> 2] = $$1416 | 1; - HEAP32[$$1 + $$1416 >> 2] = $$1416; - $$2 = $$1416; - } - $224 = $$2 >>> 3; - if ($$2 >>> 0 < 256) { - $227 = 66980 + ($224 << 1 << 2) | 0; - $228 = HEAP32[16735] | 0; - $229 = 1 << $224; - if ($228 & $229) { - $233 = $227 + 8 | 0; - $234 = HEAP32[$233 >> 2] | 0; - if ((HEAP32[16739] | 0) >>> 0 > $234 >>> 0) _abort(); else { - $$0436 = $234; - $$pre$phiZ2D = $233; + HEAP32[$head231 >> 2] = $29 & -2; + HEAP32[$p$1 + 4 >> 2] = $psize$1 | 1; + HEAP32[$28 + $psize$1 >> 2] = $psize$1; + $psize$2 = $psize$1; + } + $shr501 = $psize$2 >>> 3; + if ($psize$2 >>> 0 < 256) { + $arrayidx509 = 67828 + ($shr501 << 1 << 2) | 0; + $63 = HEAP32[16947] | 0; + $shl511 = 1 << $shr501; + if ($63 & $shl511) { + $64 = $arrayidx509 + 8 | 0; + $65 = HEAP32[$64 >> 2] | 0; + if ((HEAP32[16951] | 0) >>> 0 > $65 >>> 0) _abort(); else { + $$pre$phiZ2D = $64; + $F510$0 = $65; } } else { - HEAP32[16735] = $228 | $229; - $$0436 = $227; - $$pre$phiZ2D = $227 + 8 | 0; - } - HEAP32[$$pre$phiZ2D >> 2] = $$1; - HEAP32[$$0436 + 12 >> 2] = $$1; - HEAP32[$$1 + 8 >> 2] = $$0436; - HEAP32[$$1 + 12 >> 2] = $227; - return; - } - $240 = $$2 >>> 8; - if ($240) if ($$2 >>> 0 > 16777215) $$0429 = 31; else { - $245 = ($240 + 1048320 | 0) >>> 16 & 8; - $246 = $240 << $245; - $249 = ($246 + 520192 | 0) >>> 16 & 4; - $251 = $246 << $249; - $254 = ($251 + 245760 | 0) >>> 16 & 2; - $259 = 14 - ($249 | $245 | $254) + ($251 << $254 >>> 15) | 0; - $$0429 = $$2 >>> ($259 + 7 | 0) & 1 | $259 << 1; - } else $$0429 = 0; - $265 = 67244 + ($$0429 << 2) | 0; - HEAP32[$$1 + 28 >> 2] = $$0429; - HEAP32[$$1 + 20 >> 2] = 0; - HEAP32[$$1 + 16 >> 2] = 0; - $269 = HEAP32[16736] | 0; - $270 = 1 << $$0429; - if (!($269 & $270)) { - HEAP32[16736] = $269 | $270; - HEAP32[$265 >> 2] = $$1; - HEAP32[$$1 + 24 >> 2] = $265; - HEAP32[$$1 + 12 >> 2] = $$1; - HEAP32[$$1 + 8 >> 2] = $$1; - return; - } - $277 = HEAP32[$265 >> 2] | 0; - L189 : do if ((HEAP32[$277 + 4 >> 2] & -8 | 0) == ($$2 | 0)) $$0418$lcssa = $277; else { - $$041722 = $$2 << (($$0429 | 0) == 31 ? 0 : 25 - ($$0429 >>> 1) | 0); - $$041821 = $277; - while (1) { - $294 = $$041821 + 16 + ($$041722 >>> 31 << 2) | 0; - $289 = HEAP32[$294 >> 2] | 0; - if (!$289) break; - if ((HEAP32[$289 + 4 >> 2] & -8 | 0) == ($$2 | 0)) { - $$0418$lcssa = $289; - break L189; - } else { - $$041722 = $$041722 << 1; - $$041821 = $289; - } - } - if ((HEAP32[16739] | 0) >>> 0 > $294 >>> 0) _abort(); - HEAP32[$294 >> 2] = $$1; - HEAP32[$$1 + 24 >> 2] = $$041821; - HEAP32[$$1 + 12 >> 2] = $$1; - HEAP32[$$1 + 8 >> 2] = $$1; + HEAP32[16947] = $63 | $shl511; + $$pre$phiZ2D = $arrayidx509 + 8 | 0; + $F510$0 = $arrayidx509; + } + HEAP32[$$pre$phiZ2D >> 2] = $p$1; + HEAP32[$F510$0 + 12 >> 2] = $p$1; + HEAP32[$p$1 + 8 >> 2] = $F510$0; + HEAP32[$p$1 + 12 >> 2] = $arrayidx509; return; - } while (0); - $301 = $$0418$lcssa + 8 | 0; - $302 = HEAP32[$301 >> 2] | 0; - $303 = HEAP32[16739] | 0; - if (!($303 >>> 0 <= $302 >>> 0 & $303 >>> 0 <= $$0418$lcssa >>> 0)) _abort(); - HEAP32[$302 + 12 >> 2] = $$1; - HEAP32[$301 >> 2] = $$1; - HEAP32[$$1 + 8 >> 2] = $302; - HEAP32[$$1 + 12 >> 2] = $$0418$lcssa; - HEAP32[$$1 + 24 >> 2] = 0; - return; -} - -function __ZN6vision21OrientationAssignment7computeEPfRiiifff($0, $1, $2, $3, $4, $5, $6, $7) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = +$5; - $6 = +$6; - $7 = +$7; - var $$0 = 0, $$0148 = 0, $$0149 = 0, $$0150 = 0.0, $$0152 = 0, $$0153 = 0, $$pre = 0, $10 = 0, $107 = 0, $11 = 0, $112 = 0, $116 = 0, $118 = 0, $12 = 0, $120 = 0, $13 = 0, $130 = 0.0, $133 = 0.0, $136 = 0.0, $138 = 0.0, $14 = 0, $140 = 0, $145 = 0, $148 = 0, $149 = 0, $152 = 0, $153 = 0, $154 = 0, $159 = 0, $161 = 0, $164 = 0.0, $165 = 0, $171 = 0.0, $174 = 0, $177 = 0.0, $178 = 0, $191 = 0, $192 = 0, $199 = 0.0, $208 = 0, $21 = 0, $213 = 0, $217 = 0, $218 = 0, $219 = 0, $220 = 0, $221 = 0, $223 = 0, $224 = 0.0, $225 = 0, $226 = 0, $227 = 0, $228 = 0, $233 = 0, $234 = 0, $239 = 0, $244 = 0.0, $245 = 0.0, $256 = 0.0, $26 = 0, $263 = 0, $30 = 0, $31 = 0, $34 = 0, $35 = 0, $46 = 0, $51 = 0, $55 = 0, $62 = 0, $67 = 0, $71 = 0, $74 = 0, $8 = 0, $85 = 0, $9 = 0, $90 = 0, $94 = 0, $97 = 0, $99 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 48 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); - $8 = sp + 32 | 0; - $9 = sp + 24 | 0; - $10 = sp + 16 | 0; - $11 = sp + 12 | 0; - $12 = sp + 8 | 0; - $13 = sp + 4 | 0; - $14 = sp; - if (!($5 >= 0.0)) { - $21 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 32047) | 0, 31917) | 0, 39072) | 0, 119) | 0, 39079) | 0, 32077) | 0; - __ZNKSt3__28ios_base6getlocEv($8, $21 + (HEAP32[(HEAP32[$21 >> 2] | 0) + -12 >> 2] | 0) | 0); - $26 = __ZNKSt3__26locale9use_facetERNS0_2idE($8, 66512) | 0; - $30 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$26 >> 2] | 0) + 28 >> 2] & 127]($26, 10) | 0; - __ZNSt3__26localeD2Ev($8); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($21, $30) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($21) | 0; - _abort(); - } - $31 = $0 + 4 | 0; - $34 = (Math_imul(HEAP32[$31 >> 2] | 0, $3) | 0) + $4 | 0; - $35 = $0 + 40 | 0; - if (!(+((__ZNK6vision5Image5widthEv((HEAP32[$35 >> 2] | 0) + ($34 << 5) | 0) | 0) >>> 0) > $5)) { - $46 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 32096) | 0, 31917) | 0, 39072) | 0, 120) | 0, 39079) | 0, 32176) | 0; - __ZNKSt3__28ios_base6getlocEv($8, $46 + (HEAP32[(HEAP32[$46 >> 2] | 0) + -12 >> 2] | 0) | 0); - $51 = __ZNKSt3__26locale9use_facetERNS0_2idE($8, 66512) | 0; - $55 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$51 >> 2] | 0) + 28 >> 2] & 127]($51, 10) | 0; - __ZNSt3__26localeD2Ev($8); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($46, $55) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($46) | 0; - _abort(); } - if (!($6 >= 0.0)) { - $62 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 32212) | 0, 31917) | 0, 39072) | 0, 121) | 0, 39079) | 0, 32242) | 0; - __ZNKSt3__28ios_base6getlocEv($8, $62 + (HEAP32[(HEAP32[$62 >> 2] | 0) + -12 >> 2] | 0) | 0); - $67 = __ZNKSt3__26locale9use_facetERNS0_2idE($8, 66512) | 0; - $71 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$67 >> 2] | 0) + 28 >> 2] & 127]($67, 10) | 0; - __ZNSt3__26localeD2Ev($8); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($62, $71) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($62) | 0; - _abort(); - } - $74 = (Math_imul(HEAP32[$31 >> 2] | 0, $3) | 0) + $4 | 0; - if (!(+((__ZNK6vision5Image6heightEv((HEAP32[$35 >> 2] | 0) + ($74 << 5) | 0) | 0) >>> 0) > $6)) { - $85 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 32261) | 0, 31917) | 0, 39072) | 0, 122) | 0, 39079) | 0, 32342) | 0; - __ZNKSt3__28ios_base6getlocEv($8, $85 + (HEAP32[(HEAP32[$85 >> 2] | 0) + -12 >> 2] | 0) | 0); - $90 = __ZNKSt3__26locale9use_facetERNS0_2idE($8, 66512) | 0; - $94 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$90 >> 2] | 0) + 28 >> 2] & 127]($90, 10) | 0; - __ZNSt3__26localeD2Ev($8); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($85, $94) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($85) | 0; - _abort(); - } - $97 = (Math_imul(HEAP32[$31 >> 2] | 0, $3) | 0) + $4 | 0; - $99 = (HEAP32[$35 >> 2] | 0) + ($97 << 5) | 0; - if ((__ZNK6vision5Image8channelsEv($99) | 0) != 2) { - $107 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 32379) | 0, 31917) | 0, 39072) | 0, 126) | 0, 39079) | 0, 32420) | 0; - __ZNKSt3__28ios_base6getlocEv($8, $107 + (HEAP32[(HEAP32[$107 >> 2] | 0) + -12 >> 2] | 0) | 0); - $112 = __ZNKSt3__26locale9use_facetERNS0_2idE($8, 66512) | 0; - $116 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$112 >> 2] | 0) + 28 >> 2] & 127]($112, 10) | 0; - __ZNSt3__26localeD2Ev($8); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($107, $116) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($107) | 0; - _abort(); - } - HEAP32[$2 >> 2] = 0; - $118 = ~~($5 + .5); - $120 = ~~($6 + .5); - L16 : do if ((($118 | 0) >= 0 ? !(($120 | 0) < 0 | (__ZNK6vision5Image5widthEv($99) | 0) >>> 0 <= $118 >>> 0) : 0) ? (__ZNK6vision5Image6heightEv($99) | 0) >>> 0 > $120 >>> 0 : 0) { - $130 = +__ZN6vision4max2IfEET_S1_S1_(1.0, +HEAPF32[$0 + 12 >> 2] * $7); - $133 = -1.0 / (+__ZN6vision3sqrIfEET_S1_($130) * 2.0); - $136 = $130 * +HEAPF32[$0 + 16 >> 2]; - $138 = +Math_ceil(+(+__ZN6vision3sqrIfEET_S1_($136))); - $140 = ~~($136 + .5); - $145 = __ZN6vision4max2IiEET_S1_S1_(0, $118 - $140 | 0) | 0; - $148 = __ZN6vision4min2IiEET_S1_S1_($140 + $118 | 0, (__ZNK6vision5Image5widthEv($99) | 0) + -1 | 0) | 0; - $149 = __ZN6vision4max2IiEET_S1_S1_(0, $120 - $140 | 0) | 0; - $152 = __ZN6vision4min2IiEET_S1_S1_($140 + $120 | 0, (__ZNK6vision5Image6heightEv($99) | 0) + -1 | 0) | 0; - $153 = $0 + 28 | 0; - $154 = HEAP32[$153 >> 2] | 0; - __ZN6vision10ZeroVectorIfEEvPT_m($154, (HEAP32[$0 + 32 >> 2] | 0) - $154 >> 2); - $159 = $0 + 8 | 0; - $$0152 = $149; - while (1) { - if (($$0152 | 0) > ($152 | 0)) break; - $164 = +__ZN6vision3sqrIfEET_S1_(+($$0152 | 0) - $6); - $165 = __ZNK6vision5Image3getIfEEPKT_m($99, $$0152) | 0; - $$0153 = $145; + $shr535 = $psize$2 >>> 8; + if ($shr535) if ($psize$2 >>> 0 > 16777215) $I534$0 = 31; else { + $and545 = ($shr535 + 1048320 | 0) >>> 16 & 8; + $shl546 = $shr535 << $and545; + $and549 = ($shl546 + 520192 | 0) >>> 16 & 4; + $shl551 = $shl546 << $and549; + $and554 = ($shl551 + 245760 | 0) >>> 16 & 2; + $add559 = 14 - ($and549 | $and545 | $and554) + ($shl551 << $and554 >>> 15) | 0; + $I534$0 = $psize$2 >>> ($add559 + 7 | 0) & 1 | $add559 << 1; + } else $I534$0 = 0; + $arrayidx567 = 68092 + ($I534$0 << 2) | 0; + HEAP32[$p$1 + 28 >> 2] = $I534$0; + HEAP32[$p$1 + 20 >> 2] = 0; + HEAP32[$p$1 + 16 >> 2] = 0; + $67 = HEAP32[16948] | 0; + $shl573 = 1 << $I534$0; + L197 : do if ($67 & $shl573) { + $68 = HEAP32[$arrayidx567 >> 2] | 0; + L200 : do if ((HEAP32[$68 + 4 >> 2] & -8 | 0) != ($psize$2 | 0)) { + $K583$0312 = $psize$2 << (($I534$0 | 0) == 31 ? 0 : 25 - ($I534$0 >>> 1) | 0); + $T$0311 = $68; while (1) { - if (($$0153 | 0) > ($148 | 0)) break; - $171 = $164 + +__ZN6vision3sqrIfEET_S1_(+($$0153 | 0) - $5); - if (!($171 > $138)) { - $174 = $165 + ($$0153 << 1 << 2) | 0; - $177 = +__ZN6vision8fastexp6IfEET_S1_($133 * $171); - $178 = HEAP32[$159 >> 2] | 0; - __ZN6vision25bilinear_histogram_updateEPfffi(HEAP32[$153 >> 2] | 0, +HEAPF32[$174 >> 2] * +($178 | 0) * .159154943091895, $177 * +HEAPF32[$174 + 4 >> 2], $178); + $arrayidx599 = $T$0311 + 16 + ($K583$0312 >>> 31 << 2) | 0; + $70 = HEAP32[$arrayidx599 >> 2] | 0; + if (!$70) break; + if ((HEAP32[$70 + 4 >> 2] & -8 | 0) == ($psize$2 | 0)) { + $T$0$lcssa = $70; + break L200; + } else { + $K583$0312 = $K583$0312 << 1; + $T$0311 = $70; } - $$0153 = $$0153 + 1 | 0; - } - $$0152 = $$0152 + 1 | 0; - } - $161 = $0 + 20 | 0; - $$0149 = 0; - while (1) { - if (($$0149 | 0) >= (HEAP32[$161 >> 2] | 0)) break; - $192 = HEAP32[$153 >> 2] | 0; - __ZN6vision26SmoothOrientationHistogramIfEEvPT_PKS1_mS4_($192, $192, HEAP32[$159 >> 2] | 0, 16800); - $$0149 = $$0149 + 1 | 0; - } - $191 = HEAP32[$159 >> 2] | 0; - $$0148 = 0; - $$0150 = 0.0; - while (1) { - if (($$0148 | 0) >= ($191 | 0)) break; - $199 = +HEAPF32[(HEAP32[$153 >> 2] | 0) + ($$0148 << 2) >> 2]; - $$0148 = $$0148 + 1 | 0; - $$0150 = $199 > $$0150 ? $199 : $$0150; - } - if (!($$0150 == 0.0)) { - if (!($$0150 > 0.0)) { - $208 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 32451) | 0, 31917) | 0, 39072) | 0, 218) | 0, 39079) | 0, 32489) | 0; - __ZNKSt3__28ios_base6getlocEv($8, $208 + (HEAP32[(HEAP32[$208 >> 2] | 0) + -12 >> 2] | 0) | 0); - $213 = __ZNKSt3__26locale9use_facetERNS0_2idE($8, 66512) | 0; - $217 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$213 >> 2] | 0) + 28 >> 2] & 127]($213, 10) | 0; - __ZNSt3__26localeD2Ev($8); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($208, $217) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($208) | 0; - _abort(); } - $218 = $8 + 4 | 0; - $219 = $9 + 4 | 0; - $220 = $10 + 4 | 0; - $221 = $0 + 24 | 0; - $$0 = 0; - $223 = $191; - while (1) { - if (($$0 | 0) >= ($223 | 0)) break L16; - $224 = +($$0 | 0); - HEAPF32[$8 >> 2] = $224; - $225 = HEAP32[$153 >> 2] | 0; - $226 = $225 + ($$0 << 2) | 0; - $227 = HEAP32[$226 >> 2] | 0; - HEAP32[$218 >> 2] = $227; - $228 = $$0 + -1 | 0; - HEAPF32[$9 >> 2] = +($228 | 0); - $233 = HEAP32[$225 + ((($228 + $223 | 0) % ($223 | 0) | 0) << 2) >> 2] | 0; - HEAP32[$219 >> 2] = $233; - $234 = $$0 + 1 | 0; - HEAPF32[$10 >> 2] = +($234 | 0); - $239 = HEAP32[$225 + ((($234 + $223 | 0) % ($223 | 0) | 0) << 2) >> 2] | 0; - HEAP32[$220 >> 2] = $239; - $244 = (HEAP32[tempDoublePtr >> 2] = $227, +HEAPF32[tempDoublePtr >> 2]); - if (+HEAPF32[$226 >> 2] > $$0150 * +HEAPF32[$221 >> 2] ? ($245 = (HEAP32[tempDoublePtr >> 2] = $239, +HEAPF32[tempDoublePtr >> 2]), $244 > (HEAP32[tempDoublePtr >> 2] = $233, +HEAPF32[tempDoublePtr >> 2]) & $244 > $245) : 0) { - HEAPF32[$14 >> 2] = $224; - if (__ZN6vision16Quadratic3PointsIfEEbRT_S2_S2_PKS1_S4_S4_($11, $12, $13, $9, $8, $10) | 0) __ZN6vision22QuadraticCriticalPointIfEEbRT_S1_S1_S1_($14, +HEAPF32[$11 >> 2], +HEAPF32[$12 >> 2], +HEAPF32[$13 >> 2]) | 0; - $256 = +(HEAP32[$159 >> 2] | 0); - $263 = HEAP32[$2 >> 2] | 0; - HEAPF32[$1 + ($263 << 2) >> 2] = (+HEAPF32[$14 >> 2] + .5 + $256) / $256 * 6.283185307179586 % 6.283185307179586; - HEAP32[$2 >> 2] = $263 + 1; - $$pre = HEAP32[$159 >> 2] | 0; - } else $$pre = $223; - $$0 = $234; - $223 = $$pre; + if ((HEAP32[16951] | 0) >>> 0 > $arrayidx599 >>> 0) _abort(); else { + HEAP32[$arrayidx599 >> 2] = $p$1; + HEAP32[$p$1 + 24 >> 2] = $T$0311; + HEAP32[$p$1 + 12 >> 2] = $p$1; + HEAP32[$p$1 + 8 >> 2] = $p$1; + break L197; } - } + } else $T$0$lcssa = $68; while (0); + $fd620 = $T$0$lcssa + 8 | 0; + $73 = HEAP32[$fd620 >> 2] | 0; + $74 = HEAP32[16951] | 0; + if ($74 >>> 0 <= $73 >>> 0 & $74 >>> 0 <= $T$0$lcssa >>> 0) { + HEAP32[$73 + 12 >> 2] = $p$1; + HEAP32[$fd620 >> 2] = $p$1; + HEAP32[$p$1 + 8 >> 2] = $73; + HEAP32[$p$1 + 12 >> 2] = $T$0$lcssa; + HEAP32[$p$1 + 24 >> 2] = 0; + break; + } else _abort(); + } else { + HEAP32[16948] = $67 | $shl573; + HEAP32[$arrayidx567 >> 2] = $p$1; + HEAP32[$p$1 + 24 >> 2] = $arrayidx567; + HEAP32[$p$1 + 12 >> 2] = $p$1; + HEAP32[$p$1 + 8 >> 2] = $p$1; } while (0); - STACKTOP = sp; + $dec = (HEAP32[16955] | 0) + -1 | 0; + HEAP32[16955] = $dec; + if ($dec | 0) return; + $sp$0$in$i = 68244; + while (1) { + $sp$0$i = HEAP32[$sp$0$in$i >> 2] | 0; + if (!$sp$0$i) break; else $sp$0$in$i = $sp$0$i + 8 | 0; + } + HEAP32[16955] = -1; return; } -function _jpeg_idct_5x5($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $103 = 0, $109 = 0, $111 = 0, $113 = 0, $115 = 0, $137 = 0, $143 = 0, $149 = 0, $15 = 0, $151 = 0, $152 = 0, $154 = 0, $155 = 0, $156 = 0, $158 = 0, $164 = 0, $170 = 0, $172 = 0, $174 = 0, $176 = 0, $198 = 0, $204 = 0, $21 = 0, $210 = 0, $212 = 0, $213 = 0, $215 = 0, $216 = 0, $217 = 0, $219 = 0, $225 = 0, $231 = 0, $233 = 0, $235 = 0, $237 = 0, $259 = 0, $265 = 0, $27 = 0, $271 = 0, $273 = 0, $274 = 0, $276 = 0, $277 = 0, $278 = 0, $280 = 0, $286 = 0, $29 = 0, $292 = 0, $294 = 0, $296 = 0, $298 = 0, $30 = 0, $312 = 0, $314 = 0, $317 = 0, $319 = 0, $32 = 0, $321 = 0, $323 = 0, $324 = 0, $326 = 0, $327 = 0, $328 = 0, $33 = 0, $330 = 0, $331 = 0, $333 = 0, $335 = 0, $337 = 0, $339 = 0, $34 = 0, $36 = 0, $370 = 0, $373 = 0, $375 = 0, $377 = 0, $379 = 0, $380 = 0, $382 = 0, $383 = 0, $384 = 0, $386 = 0, $388 = 0, $390 = 0, $392 = 0, $394 = 0, $396 = 0, $42 = 0, $428 = 0, $431 = 0, $433 = 0, $435 = 0, $437 = 0, $438 = 0, $440 = 0, $441 = 0, $442 = 0, $444 = 0, $446 = 0, $448 = 0, $450 = 0, $452 = 0, $454 = 0, $48 = 0, $486 = 0, $489 = 0, $491 = 0, $493 = 0, $495 = 0, $496 = 0, $498 = 0, $499 = 0, $5 = 0, $50 = 0, $500 = 0, $502 = 0, $504 = 0, $506 = 0, $508 = 0, $510 = 0, $512 = 0, $52 = 0, $54 = 0, $544 = 0, $547 = 0, $549 = 0, $551 = 0, $553 = 0, $554 = 0, $556 = 0, $557 = 0, $558 = 0, $560 = 0, $562 = 0, $564 = 0, $566 = 0, $568 = 0, $570 = 0, $62 = 0, $7 = 0, $70 = 0, $76 = 0, $82 = 0, $88 = 0, $9 = 0, $90 = 0, $91 = 0, $93 = 0, $94 = 0, $95 = 0, $97 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 112 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(112); - $5 = sp; - $7 = HEAP32[$0 + 336 >> 2] | 0; - $9 = HEAP32[$1 + 84 >> 2] | 0; - $15 = Math_imul(HEAP16[$2 >> 1] << 13, HEAP32[$9 >> 2] | 0) | 0 | 1024; - $21 = Math_imul(HEAP32[$9 + 64 >> 2] | 0, HEAP16[$2 + 32 >> 1] | 0) | 0; - $27 = Math_imul(HEAP32[$9 + 128 >> 2] | 0, HEAP16[$2 + 64 >> 1] | 0) | 0; - $29 = ($27 + $21 | 0) * 6476 | 0; - $30 = $21 - $27 | 0; - $32 = ($30 * 2896 | 0) + $15 | 0; - $33 = $32 + $29 | 0; - $34 = $32 - $29 | 0; - $36 = (Math_imul($30, -11584) | 0) + $15 | 0; - $42 = Math_imul(HEAP32[$9 + 32 >> 2] | 0, HEAP16[$2 + 16 >> 1] | 0) | 0; - $48 = Math_imul(HEAP32[$9 + 96 >> 2] | 0, HEAP16[$2 + 48 >> 1] | 0) | 0; - $50 = ($48 + $42 | 0) * 6810 | 0; - $52 = $50 + ($42 * 4209 | 0) | 0; - $54 = $50 + (Math_imul($48, -17828) | 0) | 0; - HEAP32[$5 >> 2] = $52 + $33 >> 11; - HEAP32[$5 + 80 >> 2] = $33 - $52 >> 11; - $62 = $5 + 20 | 0; - HEAP32[$62 >> 2] = $54 + $34 >> 11; - HEAP32[$5 + 60 >> 2] = $34 - $54 >> 11; - HEAP32[$5 + 40 >> 2] = $36 >> 11; - $70 = $5 + 4 | 0; - $76 = Math_imul(HEAP16[$2 + 2 >> 1] << 13, HEAP32[$9 + 4 >> 2] | 0) | 0 | 1024; - $82 = Math_imul(HEAP32[$9 + 68 >> 2] | 0, HEAP16[$2 + 34 >> 1] | 0) | 0; - $88 = Math_imul(HEAP32[$9 + 132 >> 2] | 0, HEAP16[$2 + 66 >> 1] | 0) | 0; - $90 = ($88 + $82 | 0) * 6476 | 0; - $91 = $82 - $88 | 0; - $93 = ($91 * 2896 | 0) + $76 | 0; - $94 = $93 + $90 | 0; - $95 = $93 - $90 | 0; - $97 = (Math_imul($91, -11584) | 0) + $76 | 0; - $103 = Math_imul(HEAP32[$9 + 36 >> 2] | 0, HEAP16[$2 + 18 >> 1] | 0) | 0; - $109 = Math_imul(HEAP32[$9 + 100 >> 2] | 0, HEAP16[$2 + 50 >> 1] | 0) | 0; - $111 = ($109 + $103 | 0) * 6810 | 0; - $113 = $111 + ($103 * 4209 | 0) | 0; - $115 = $111 + (Math_imul($109, -17828) | 0) | 0; - HEAP32[$70 >> 2] = $113 + $94 >> 11; - HEAP32[$5 + 84 >> 2] = $94 - $113 >> 11; - HEAP32[$5 + 24 >> 2] = $115 + $95 >> 11; - HEAP32[$5 + 64 >> 2] = $95 - $115 >> 11; - HEAP32[$5 + 44 >> 2] = $97 >> 11; - $137 = Math_imul(HEAP16[$2 + 4 >> 1] << 13, HEAP32[$9 + 8 >> 2] | 0) | 0 | 1024; - $143 = Math_imul(HEAP32[$9 + 72 >> 2] | 0, HEAP16[$2 + 36 >> 1] | 0) | 0; - $149 = Math_imul(HEAP32[$9 + 136 >> 2] | 0, HEAP16[$2 + 68 >> 1] | 0) | 0; - $151 = ($149 + $143 | 0) * 6476 | 0; - $152 = $143 - $149 | 0; - $154 = ($152 * 2896 | 0) + $137 | 0; - $155 = $154 + $151 | 0; - $156 = $154 - $151 | 0; - $158 = (Math_imul($152, -11584) | 0) + $137 | 0; - $164 = Math_imul(HEAP32[$9 + 40 >> 2] | 0, HEAP16[$2 + 20 >> 1] | 0) | 0; - $170 = Math_imul(HEAP32[$9 + 104 >> 2] | 0, HEAP16[$2 + 52 >> 1] | 0) | 0; - $172 = ($170 + $164 | 0) * 6810 | 0; - $174 = $172 + ($164 * 4209 | 0) | 0; - $176 = $172 + (Math_imul($170, -17828) | 0) | 0; - HEAP32[$5 + 8 >> 2] = $174 + $155 >> 11; - HEAP32[$5 + 88 >> 2] = $155 - $174 >> 11; - HEAP32[$5 + 28 >> 2] = $176 + $156 >> 11; - HEAP32[$5 + 68 >> 2] = $156 - $176 >> 11; - HEAP32[$5 + 48 >> 2] = $158 >> 11; - $198 = Math_imul(HEAP16[$2 + 6 >> 1] << 13, HEAP32[$9 + 12 >> 2] | 0) | 0 | 1024; - $204 = Math_imul(HEAP32[$9 + 76 >> 2] | 0, HEAP16[$2 + 38 >> 1] | 0) | 0; - $210 = Math_imul(HEAP32[$9 + 140 >> 2] | 0, HEAP16[$2 + 70 >> 1] | 0) | 0; - $212 = ($210 + $204 | 0) * 6476 | 0; - $213 = $204 - $210 | 0; - $215 = ($213 * 2896 | 0) + $198 | 0; - $216 = $215 + $212 | 0; - $217 = $215 - $212 | 0; - $219 = (Math_imul($213, -11584) | 0) + $198 | 0; - $225 = Math_imul(HEAP32[$9 + 44 >> 2] | 0, HEAP16[$2 + 22 >> 1] | 0) | 0; - $231 = Math_imul(HEAP32[$9 + 108 >> 2] | 0, HEAP16[$2 + 54 >> 1] | 0) | 0; - $233 = ($231 + $225 | 0) * 6810 | 0; - $235 = $233 + ($225 * 4209 | 0) | 0; - $237 = $233 + (Math_imul($231, -17828) | 0) | 0; - HEAP32[$5 + 12 >> 2] = $235 + $216 >> 11; - HEAP32[$5 + 92 >> 2] = $216 - $235 >> 11; - HEAP32[$5 + 32 >> 2] = $237 + $217 >> 11; - HEAP32[$5 + 72 >> 2] = $217 - $237 >> 11; - HEAP32[$5 + 52 >> 2] = $219 >> 11; - $259 = Math_imul(HEAP16[$2 + 8 >> 1] << 13, HEAP32[$9 + 16 >> 2] | 0) | 0 | 1024; - $265 = Math_imul(HEAP32[$9 + 80 >> 2] | 0, HEAP16[$2 + 40 >> 1] | 0) | 0; - $271 = Math_imul(HEAP32[$9 + 144 >> 2] | 0, HEAP16[$2 + 72 >> 1] | 0) | 0; - $273 = ($271 + $265 | 0) * 6476 | 0; - $274 = $265 - $271 | 0; - $276 = ($274 * 2896 | 0) + $259 | 0; - $277 = $276 + $273 | 0; - $278 = $276 - $273 | 0; - $280 = (Math_imul($274, -11584) | 0) + $259 | 0; - $286 = Math_imul(HEAP32[$9 + 48 >> 2] | 0, HEAP16[$2 + 24 >> 1] | 0) | 0; - $292 = Math_imul(HEAP32[$9 + 112 >> 2] | 0, HEAP16[$2 + 56 >> 1] | 0) | 0; - $294 = ($292 + $286 | 0) * 6810 | 0; - $296 = $294 + ($286 * 4209 | 0) | 0; - $298 = $294 + (Math_imul($292, -17828) | 0) | 0; - HEAP32[$5 + 16 >> 2] = $296 + $277 >> 11; - HEAP32[$5 + 96 >> 2] = $277 - $296 >> 11; - HEAP32[$5 + 36 >> 2] = $298 + $278 >> 11; - HEAP32[$5 + 76 >> 2] = $278 - $298 >> 11; - HEAP32[$5 + 56 >> 2] = $280 >> 11; - $312 = $7 + -384 | 0; - $314 = (HEAP32[$3 >> 2] | 0) + $4 | 0; - $317 = (HEAP32[$5 >> 2] << 13) + 134348800 | 0; - $319 = HEAP32[$5 + 8 >> 2] | 0; - $321 = HEAP32[$5 + 16 >> 2] | 0; - $323 = ($321 + $319 | 0) * 6476 | 0; - $324 = $319 - $321 | 0; - $326 = ($324 * 2896 | 0) + $317 | 0; - $327 = $326 + $323 | 0; - $328 = $326 - $323 | 0; - $330 = (Math_imul($324, -11584) | 0) + $317 | 0; - $331 = HEAP32[$70 >> 2] | 0; - $333 = HEAP32[$5 + 12 >> 2] | 0; - $335 = ($333 + $331 | 0) * 6810 | 0; - $337 = $335 + ($331 * 4209 | 0) | 0; - $339 = $335 + (Math_imul($333, -17828) | 0) | 0; - HEAP8[$314 >> 0] = HEAP8[$312 + (($337 + $327 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$314 + 4 >> 0] = HEAP8[$312 + (($327 - $337 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$314 + 1 >> 0] = HEAP8[$312 + (($339 + $328 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$314 + 3 >> 0] = HEAP8[$312 + (($328 - $339 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$314 + 2 >> 0] = HEAP8[$312 + ($330 >>> 18 & 1023) >> 0] | 0; - $370 = (HEAP32[$3 + 4 >> 2] | 0) + $4 | 0; - $373 = (HEAP32[$62 >> 2] << 13) + 134348800 | 0; - $375 = HEAP32[$5 + 28 >> 2] | 0; - $377 = HEAP32[$5 + 36 >> 2] | 0; - $379 = ($377 + $375 | 0) * 6476 | 0; - $380 = $375 - $377 | 0; - $382 = ($380 * 2896 | 0) + $373 | 0; - $383 = $382 + $379 | 0; - $384 = $382 - $379 | 0; - $386 = (Math_imul($380, -11584) | 0) + $373 | 0; - $388 = HEAP32[$5 + 24 >> 2] | 0; - $390 = HEAP32[$5 + 32 >> 2] | 0; - $392 = ($390 + $388 | 0) * 6810 | 0; - $394 = $392 + ($388 * 4209 | 0) | 0; - $396 = $392 + (Math_imul($390, -17828) | 0) | 0; - HEAP8[$370 >> 0] = HEAP8[$312 + (($394 + $383 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$370 + 4 >> 0] = HEAP8[$312 + (($383 - $394 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$370 + 1 >> 0] = HEAP8[$312 + (($396 + $384 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$370 + 3 >> 0] = HEAP8[$312 + (($384 - $396 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$370 + 2 >> 0] = HEAP8[$312 + ($386 >>> 18 & 1023) >> 0] | 0; - $428 = (HEAP32[$3 + 8 >> 2] | 0) + $4 | 0; - $431 = (HEAP32[$5 + 40 >> 2] << 13) + 134348800 | 0; - $433 = HEAP32[$5 + 48 >> 2] | 0; - $435 = HEAP32[$5 + 56 >> 2] | 0; - $437 = ($435 + $433 | 0) * 6476 | 0; - $438 = $433 - $435 | 0; - $440 = ($438 * 2896 | 0) + $431 | 0; - $441 = $440 + $437 | 0; - $442 = $440 - $437 | 0; - $444 = (Math_imul($438, -11584) | 0) + $431 | 0; - $446 = HEAP32[$5 + 44 >> 2] | 0; - $448 = HEAP32[$5 + 52 >> 2] | 0; - $450 = ($448 + $446 | 0) * 6810 | 0; - $452 = $450 + ($446 * 4209 | 0) | 0; - $454 = $450 + (Math_imul($448, -17828) | 0) | 0; - HEAP8[$428 >> 0] = HEAP8[$312 + (($452 + $441 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$428 + 4 >> 0] = HEAP8[$312 + (($441 - $452 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$428 + 1 >> 0] = HEAP8[$312 + (($454 + $442 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$428 + 3 >> 0] = HEAP8[$312 + (($442 - $454 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$428 + 2 >> 0] = HEAP8[$312 + ($444 >>> 18 & 1023) >> 0] | 0; - $486 = (HEAP32[$3 + 12 >> 2] | 0) + $4 | 0; - $489 = (HEAP32[$5 + 60 >> 2] << 13) + 134348800 | 0; - $491 = HEAP32[$5 + 68 >> 2] | 0; - $493 = HEAP32[$5 + 76 >> 2] | 0; - $495 = ($493 + $491 | 0) * 6476 | 0; - $496 = $491 - $493 | 0; - $498 = ($496 * 2896 | 0) + $489 | 0; - $499 = $498 + $495 | 0; - $500 = $498 - $495 | 0; - $502 = (Math_imul($496, -11584) | 0) + $489 | 0; - $504 = HEAP32[$5 + 64 >> 2] | 0; - $506 = HEAP32[$5 + 72 >> 2] | 0; - $508 = ($506 + $504 | 0) * 6810 | 0; - $510 = $508 + ($504 * 4209 | 0) | 0; - $512 = $508 + (Math_imul($506, -17828) | 0) | 0; - HEAP8[$486 >> 0] = HEAP8[$312 + (($510 + $499 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$486 + 4 >> 0] = HEAP8[$312 + (($499 - $510 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$486 + 1 >> 0] = HEAP8[$312 + (($512 + $500 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$486 + 3 >> 0] = HEAP8[$312 + (($500 - $512 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$486 + 2 >> 0] = HEAP8[$312 + ($502 >>> 18 & 1023) >> 0] | 0; - $544 = (HEAP32[$3 + 16 >> 2] | 0) + $4 | 0; - $547 = (HEAP32[$5 + 80 >> 2] << 13) + 134348800 | 0; - $549 = HEAP32[$5 + 88 >> 2] | 0; - $551 = HEAP32[$5 + 96 >> 2] | 0; - $553 = ($551 + $549 | 0) * 6476 | 0; - $554 = $549 - $551 | 0; - $556 = ($554 * 2896 | 0) + $547 | 0; - $557 = $556 + $553 | 0; - $558 = $556 - $553 | 0; - $560 = (Math_imul($554, -11584) | 0) + $547 | 0; - $562 = HEAP32[$5 + 84 >> 2] | 0; - $564 = HEAP32[$5 + 92 >> 2] | 0; - $566 = ($564 + $562 | 0) * 6810 | 0; - $568 = $566 + ($562 * 4209 | 0) | 0; - $570 = $566 + (Math_imul($564, -17828) | 0) | 0; - HEAP8[$544 >> 0] = HEAP8[$312 + (($568 + $557 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$544 + 4 >> 0] = HEAP8[$312 + (($557 - $568 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$544 + 1 >> 0] = HEAP8[$312 + (($570 + $558 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$544 + 3 >> 0] = HEAP8[$312 + (($558 - $570 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$544 + 2 >> 0] = HEAP8[$312 + ($560 >>> 18 & 1023) >> 0] | 0; - STACKTOP = sp; - return; -} - -function __ZN6vision10DoGPyramid25difference_image_binomialERNS_5ImageERKS1_S4_($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $$0 = 0, $$041 = 0, $102 = 0, $106 = 0, $107 = 0, $115 = 0, $12 = 0, $120 = 0, $124 = 0, $125 = 0, $133 = 0, $138 = 0, $142 = 0, $143 = 0, $151 = 0, $156 = 0, $160 = 0, $161 = 0, $169 = 0, $17 = 0, $174 = 0, $178 = 0, $181 = 0, $182 = 0, $183 = 0, $21 = 0, $29 = 0, $34 = 0, $38 = 0, $4 = 0, $46 = 0, $51 = 0, $55 = 0, $63 = 0, $68 = 0, $72 = 0, $80 = 0, $85 = 0, $89 = 0, $97 = 0, sp = 0; +function __ZN6vision22bilinear_interpolationIffEET0_PKT_mmmff($im, $width, $height, $step, $x, $y) { + $im = $im | 0; + $width = $width | 0; + $height = $height | 0; + $step = $step | 0; + $x = +$x; + $y = +$y; + var $add = 0, $add$ptr = 0, $add$ptr87 = 0, $add27 = 0, $call$i1$i$i = 0, $call$i1$i$i113 = 0, $call$i1$i$i127 = 0, $call$i1$i$i141 = 0, $call$i1$i$i155 = 0, $call$i1$i$i169 = 0, $call$i1$i$i183 = 0, $call$i1$i$i197 = 0, $call$i1$i$i71 = 0, $call$i1$i$i85 = 0, $call$i1$i$i99 = 0, $call$i2$i$i = 0, $call$i2$i$i102 = 0, $call$i2$i$i116 = 0, $call$i2$i$i130 = 0, $call$i2$i$i144 = 0, $call$i2$i$i158 = 0, $call$i2$i$i172 = 0, $call$i2$i$i186 = 0, $call$i2$i$i200 = 0, $call$i2$i$i74 = 0, $call$i2$i$i88 = 0, $call118 = 0, $call134 = 0, $call150 = 0, $call166 = 0, $call183 = 0, $call20 = 0, $call37 = 0, $call52 = 0, $call67 = 0, $call7 = 0, $call82 = 0, $conv = 0, $conv11 = 0, $mul101 = 0.0, $mul106 = 0.0, $mul91 = 0.0, $mul96 = 0.0, $ref$tmp$i$i192 = 0, $sub = 0.0, $sub100 = 0.0, $sub90 = 0.0, $sub93 = 0.0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $4 = sp; - if ((__ZNK6vision5Image4typeEv($1) | 0) != 2) { - $12 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 27182) | 0, 26748) | 0, 39072) | 0, 86) | 0, 39079) | 0, 27227) | 0; - __ZNKSt3__28ios_base6getlocEv($4, $12 + (HEAP32[(HEAP32[$12 >> 2] | 0) + -12 >> 2] | 0) | 0); - $17 = __ZNKSt3__26locale9use_facetERNS0_2idE($4, 66512) | 0; - $21 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$17 >> 2] | 0) + 28 >> 2] & 127]($17, 10) | 0; - __ZNSt3__26localeD2Ev($4); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($12, $21) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($12) | 0; + $ref$tmp$i$i192 = sp; + $conv = ~~+Math_floor(+$x); + if (($conv | 0) != (~~$x | 0)) { + $call7 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 29469) | 0, 29521) | 0, 39794) | 0, 69) | 0, 39801) | 0, 29635) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i$i192, $call7 + (HEAP32[(HEAP32[$call7 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i$i71 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i$i192, 67360) | 0; + $call$i2$i$i74 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i$i71 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i$i71, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i$i192); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call7, $call$i2$i$i74) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call7) | 0; _abort(); } - if ((__ZNK6vision5Image4typeEv($2) | 0) != 2) { - $29 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 27253) | 0, 26748) | 0, 39072) | 0, 87) | 0, 39079) | 0, 27227) | 0; - __ZNKSt3__28ios_base6getlocEv($4, $29 + (HEAP32[(HEAP32[$29 >> 2] | 0) + -12 >> 2] | 0) | 0); - $34 = __ZNKSt3__26locale9use_facetERNS0_2idE($4, 66512) | 0; - $38 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$34 >> 2] | 0) + 28 >> 2] & 127]($34, 10) | 0; - __ZNSt3__26localeD2Ev($4); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($29, $38) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($29) | 0; + $conv11 = ~~+Math_floor(+$y); + if (($conv11 | 0) != (~~$y | 0)) { + $call20 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 29665) | 0, 29521) | 0, 39794) | 0, 70) | 0, 39801) | 0, 29635) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i$i192, $call20 + (HEAP32[(HEAP32[$call20 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i$i85 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i$i192, 67360) | 0; + $call$i2$i$i88 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i$i85 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i$i85, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i$i192); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call20, $call$i2$i$i88) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call20) | 0; _abort(); } - if ((__ZNK6vision5Image4typeEv($3) | 0) != 2) { - $46 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 27300) | 0, 26748) | 0, 39072) | 0, 88) | 0, 39079) | 0, 27227) | 0; - __ZNKSt3__28ios_base6getlocEv($4, $46 + (HEAP32[(HEAP32[$46 >> 2] | 0) + -12 >> 2] | 0) | 0); - $51 = __ZNKSt3__26locale9use_facetERNS0_2idE($4, 66512) | 0; - $55 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$51 >> 2] | 0) + 28 >> 2] & 127]($51, 10) | 0; - __ZNSt3__26localeD2Ev($4); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($46, $55) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($46) | 0; + $add = $conv + 1 | 0; + $add27 = $conv11 + 1 | 0; + if (!(($conv11 | 0) > -1 & $conv11 >>> 0 < $height >>> 0)) { + $call37 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 29717) | 0, 29521) | 0, 39794) | 0, 79) | 0, 39801) | 0, 29763) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i$i192, $call37 + (HEAP32[(HEAP32[$call37 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i$i99 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i$i192, 67360) | 0; + $call$i2$i$i102 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i$i99 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i$i99, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i$i192); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call37, $call$i2$i$i102) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call37) | 0; _abort(); } - if ((__ZNK6vision5Image8channelsEv($1) | 0) != 1) { - $63 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 27347) | 0, 26748) | 0, 39072) | 0, 89) | 0, 39079) | 0, 27388) | 0; - __ZNKSt3__28ios_base6getlocEv($4, $63 + (HEAP32[(HEAP32[$63 >> 2] | 0) + -12 >> 2] | 0) | 0); - $68 = __ZNKSt3__26locale9use_facetERNS0_2idE($4, 66512) | 0; - $72 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$68 >> 2] | 0) + 28 >> 2] & 127]($68, 10) | 0; - __ZNSt3__26localeD2Ev($4); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($63, $72) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($63) | 0; + if ($add27 >>> 0 >= $height >>> 0) { + $call52 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 29780) | 0, 29521) | 0, 39794) | 0, 80) | 0, 39801) | 0, 29840) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i$i192, $call52 + (HEAP32[(HEAP32[$call52 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i$i113 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i$i192, 67360) | 0; + $call$i2$i$i116 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i$i113 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i$i113, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i$i192); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call52, $call$i2$i$i116) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call52) | 0; _abort(); } - if ((__ZNK6vision5Image8channelsEv($2) | 0) != 1) { - $80 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 27425) | 0, 26748) | 0, 39072) | 0, 90) | 0, 39079) | 0, 27388) | 0; - __ZNKSt3__28ios_base6getlocEv($4, $80 + (HEAP32[(HEAP32[$80 >> 2] | 0) + -12 >> 2] | 0) | 0); - $85 = __ZNKSt3__26locale9use_facetERNS0_2idE($4, 66512) | 0; - $89 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$85 >> 2] | 0) + 28 >> 2] & 127]($85, 10) | 0; - __ZNSt3__26localeD2Ev($4); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($80, $89) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($80) | 0; + if (!(($conv | 0) > -1 & $conv >>> 0 < $width >>> 0)) { + $call67 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 29864) | 0, 29521) | 0, 39794) | 0, 81) | 0, 39801) | 0, 29909) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i$i192, $call67 + (HEAP32[(HEAP32[$call67 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i$i127 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i$i192, 67360) | 0; + $call$i2$i$i130 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i$i127 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i$i127, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i$i192); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call67, $call$i2$i$i130) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call67) | 0; _abort(); } - if ((__ZNK6vision5Image8channelsEv($3) | 0) != 1) { - $97 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 27468) | 0, 26748) | 0, 39072) | 0, 91) | 0, 39079) | 0, 27388) | 0; - __ZNKSt3__28ios_base6getlocEv($4, $97 + (HEAP32[(HEAP32[$97 >> 2] | 0) + -12 >> 2] | 0) | 0); - $102 = __ZNKSt3__26locale9use_facetERNS0_2idE($4, 66512) | 0; - $106 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$102 >> 2] | 0) + 28 >> 2] & 127]($102, 10) | 0; - __ZNSt3__26localeD2Ev($4); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($97, $106) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($97) | 0; + if ($add >>> 0 >= $width >>> 0) { + $call82 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 29926) | 0, 29521) | 0, 39794) | 0, 82) | 0, 39801) | 0, 29985) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i$i192, $call82 + (HEAP32[(HEAP32[$call82 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i$i141 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i$i192, 67360) | 0; + $call$i2$i$i144 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i$i141 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i$i141, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i$i192); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call82, $call$i2$i$i144) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call82) | 0; _abort(); } - $107 = __ZNK6vision5Image5widthEv($1) | 0; - if (($107 | 0) != (__ZNK6vision5Image5widthEv($3) | 0)) { - $115 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 27511) | 0, 26748) | 0, 39072) | 0, 92) | 0, 39079) | 0, 27559) | 0; - __ZNKSt3__28ios_base6getlocEv($4, $115 + (HEAP32[(HEAP32[$115 >> 2] | 0) + -12 >> 2] | 0) | 0); - $120 = __ZNKSt3__26locale9use_facetERNS0_2idE($4, 66512) | 0; - $124 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$120 >> 2] | 0) + 28 >> 2] & 127]($120, 10) | 0; - __ZNSt3__26localeD2Ev($4); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($115, $124) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($115) | 0; + $add$ptr = $im + (Math_imul($conv11, $step) | 0) | 0; + $add$ptr87 = $add$ptr + $step | 0; + $sub = +($add | 0) - $x; + $sub90 = +($add27 | 0) - $y; + $mul91 = $sub * $sub90; + $sub93 = $x - +($conv | 0); + $mul96 = $sub93 * $sub90; + $sub100 = $y - +($conv11 | 0); + $mul101 = $sub * $sub100; + $mul106 = $sub93 * $sub100; + if (!($mul91 >= 0.0) | !($mul91 <= 1.0001)) { + $call118 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 30009) | 0, 29521) | 0, 39794) | 0, 94) | 0, 39801) | 0, 30056) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i$i192, $call118 + (HEAP32[(HEAP32[$call118 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i$i155 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i$i192, 67360) | 0; + $call$i2$i$i158 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i$i155 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i$i155, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i$i192); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call118, $call$i2$i$i158) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call118) | 0; _abort(); } - $125 = __ZNK6vision5Image6heightEv($1) | 0; - if (($125 | 0) != (__ZNK6vision5Image6heightEv($3) | 0)) { - $133 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 27591) | 0, 26748) | 0, 39072) | 0, 93) | 0, 39079) | 0, 27641) | 0; - __ZNKSt3__28ios_base6getlocEv($4, $133 + (HEAP32[(HEAP32[$133 >> 2] | 0) + -12 >> 2] | 0) | 0); - $138 = __ZNKSt3__26locale9use_facetERNS0_2idE($4, 66512) | 0; - $142 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$138 >> 2] | 0) + 28 >> 2] & 127]($138, 10) | 0; - __ZNSt3__26localeD2Ev($4); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($133, $142) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($133) | 0; + if (!($mul96 >= 0.0) | !($mul96 <= 1.0001)) { + $call134 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 30069) | 0, 29521) | 0, 39794) | 0, 95) | 0, 39801) | 0, 30056) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i$i192, $call134 + (HEAP32[(HEAP32[$call134 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i$i169 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i$i192, 67360) | 0; + $call$i2$i$i172 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i$i169 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i$i169, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i$i192); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call134, $call$i2$i$i172) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call134) | 0; _abort(); } - $143 = __ZNK6vision5Image5widthEv($2) | 0; - if (($143 | 0) != (__ZNK6vision5Image5widthEv($3) | 0)) { - $151 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 27674) | 0, 26748) | 0, 39072) | 0, 94) | 0, 39079) | 0, 27559) | 0; - __ZNKSt3__28ios_base6getlocEv($4, $151 + (HEAP32[(HEAP32[$151 >> 2] | 0) + -12 >> 2] | 0) | 0); - $156 = __ZNKSt3__26locale9use_facetERNS0_2idE($4, 66512) | 0; - $160 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$156 >> 2] | 0) + 28 >> 2] & 127]($156, 10) | 0; - __ZNSt3__26localeD2Ev($4); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($151, $160) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($151) | 0; + if (!($mul101 >= 0.0) | !($mul101 <= 1.0001)) { + $call150 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 30116) | 0, 29521) | 0, 39794) | 0, 96) | 0, 39801) | 0, 30056) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i$i192, $call150 + (HEAP32[(HEAP32[$call150 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i$i183 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i$i192, 67360) | 0; + $call$i2$i$i186 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i$i183 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i$i183, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i$i192); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call150, $call$i2$i$i186) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call150) | 0; _abort(); } - $161 = __ZNK6vision5Image6heightEv($2) | 0; - if (($161 | 0) != (__ZNK6vision5Image6heightEv($3) | 0)) { - $169 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 27724) | 0, 26748) | 0, 39072) | 0, 95) | 0, 39079) | 0, 27641) | 0; - __ZNKSt3__28ios_base6getlocEv($4, $169 + (HEAP32[(HEAP32[$169 >> 2] | 0) + -12 >> 2] | 0) | 0); - $174 = __ZNKSt3__26locale9use_facetERNS0_2idE($4, 66512) | 0; - $178 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$174 >> 2] | 0) + 28 >> 2] & 127]($174, 10) | 0; - __ZNSt3__26localeD2Ev($4); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($169, $178) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($169) | 0; + if (!($mul106 >= 0.0) | !($mul106 <= 1.0001)) { + $call166 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 30163) | 0, 29521) | 0, 39794) | 0, 97) | 0, 39801) | 0, 30056) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i$i192, $call166 + (HEAP32[(HEAP32[$call166 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i$i197 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i$i192, 67360) | 0; + $call$i2$i$i200 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i$i197 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i$i197, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i$i192); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call166, $call$i2$i$i200) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call166) | 0; _abort(); } - $$041 = 0; - while (1) { - if ($$041 >>> 0 >= (__ZNK6vision5Image6heightEv($2) | 0) >>> 0) break; - $181 = __ZN6vision5Image3getIfEEPT_m($1, $$041) | 0; - $182 = __ZNK6vision5Image3getIfEEPKT_m($2, $$041) | 0; - $183 = __ZNK6vision5Image3getIfEEPKT_m($3, $$041) | 0; - $$0 = 0; - while (1) { - if ($$0 >>> 0 >= (__ZNK6vision5Image5widthEv($2) | 0) >>> 0) break; - HEAPF32[$181 + ($$0 << 2) >> 2] = +HEAPF32[$182 + ($$0 << 2) >> 2] - +HEAPF32[$183 + ($$0 << 2) >> 2]; - $$0 = $$0 + 1 | 0; - } - $$041 = $$041 + 1 | 0; + if (!($mul106 + ($mul101 + ($mul91 + $mul96)) <= 1.0001)) { + $call183 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 30210) | 0, 29521) | 0, 39794) | 0, 98) | 0, 39801) | 0, 30056) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i$i192, $call183 + (HEAP32[(HEAP32[$call183 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i$i = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i$i192, 67360) | 0; + $call$i2$i$i = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i$i >> 2] | 0) + 28 >> 2] & 127]($call$i1$i$i, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i$i192); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call183, $call$i2$i$i) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call183) | 0; + _abort(); + } else { + STACKTOP = sp; + return +($mul91 * +HEAPF32[$add$ptr + ($conv << 2) >> 2] + $mul96 * +HEAPF32[$add$ptr + ($add << 2) >> 2] + $mul101 * +HEAPF32[$add$ptr87 + ($conv << 2) >> 2] + $mul106 * +HEAPF32[$add$ptr87 + ($add << 2) >> 2]); } - STACKTOP = sp; - return; + return +(0.0); } -function ___intscan($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $$0154215 = 0, $$0157 = 0, $$0159 = 0, $$1155184 = 0, $$1158 = 0, $$1160 = 0, $$1160170 = 0, $$1165 = 0, $$1165168 = 0, $$1165169 = 0, $$2156202 = 0, $$3162208 = 0, $$4163$lcssa = 0, $$6$lcssa = 0, $$7190 = 0, $$8 = 0, $$pre$phi237Z2D = 0, $$pre$phi239Z2D = 0, $104 = 0, $112 = 0, $128 = 0, $130 = 0, $131 = 0, $135 = 0, $136 = 0, $144 = 0, $145 = 0, $150 = 0, $151 = 0, $154 = 0, $156 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $165 = 0, $166 = 0, $167 = 0, $175 = 0, $185 = 0, $186 = 0, $190 = 0, $191 = 0, $199 = 0, $20 = 0, $200 = 0, $206 = 0, $207 = 0, $209 = 0, $21 = 0, $211 = 0, $215 = 0, $216 = 0, $217 = 0, $218 = 0, $225 = 0, $226 = 0, $227 = 0, $235 = 0, $243 = 0, $251 = 0, $255 = 0, $265 = 0, $267 = 0, $276 = 0, $277 = 0, $28 = 0, $284 = 0, $286 = 0, $289 = 0, $291 = 0, $292 = 0, $293 = 0, $294 = 0, $295 = 0, $296 = 0, $297 = 0, $298 = 0, $32 = 0, $40 = 0, $42 = 0, $50 = 0, $54 = 0, $6 = 0, $68 = 0, $7 = 0, $70 = 0, $74 = 0, $75 = 0, $8 = 0, $83 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $93 = 0, $94 = 0, $96 = 0, $spec$select166 = 0, label = 0; - L1 : do if ($1 >>> 0 > 36) { - $6 = ___errno_location() | 0; - HEAP32[$6 >> 2] = 28; - $291 = 0; - $292 = 0; - } else { - $7 = $0 + 4 | 0; - $8 = $0 + 104 | 0; - do { - $9 = HEAP32[$7 >> 2] | 0; - if ($9 >>> 0 < (HEAP32[$8 >> 2] | 0) >>> 0) { - HEAP32[$7 >> 2] = $9 + 1; - $16 = HEAPU8[$9 >> 0] | 0; - } else $16 = ___shgetc($0) | 0; - } while ((_isspace($16) | 0) != 0); - L11 : do switch ($16 | 0) { - case 43: - case 45: - { - $20 = (($16 | 0) == 45) << 31 >> 31; - $21 = HEAP32[$7 >> 2] | 0; - if ($21 >>> 0 < (HEAP32[$8 >> 2] | 0) >>> 0) { - HEAP32[$7 >> 2] = $21 + 1; - $$0157 = $20; - $$0159 = HEAPU8[$21 >> 0] | 0; - break L11; - } else { - $$0157 = $20; - $$0159 = ___shgetc($0) | 0; - break L11; - } - break; - } - default: - { - $$0157 = 0; - $$0159 = $16; - } - } while (0); - $28 = ($1 | 0) == 0; - do if (($1 | 16 | 0) == 16 & ($$0159 | 0) == 48) { - $32 = HEAP32[$7 >> 2] | 0; - if ($32 >>> 0 < (HEAP32[$8 >> 2] | 0) >>> 0) { - HEAP32[$7 >> 2] = $32 + 1; - $40 = HEAPU8[$32 >> 0] | 0; - } else $40 = ___shgetc($0) | 0; - if (($40 | 32 | 0) != 120) if ($28) { - $$1160170 = $40; - $$1165168 = 8; - label = 47; - break; - } else { - $$1160 = $40; - $$1165 = $1; - label = 32; - break; - } - $42 = HEAP32[$7 >> 2] | 0; - if ($42 >>> 0 < (HEAP32[$8 >> 2] | 0) >>> 0) { - HEAP32[$7 >> 2] = $42 + 1; - $50 = HEAPU8[$42 >> 0] | 0; - } else $50 = ___shgetc($0) | 0; - if ((HEAPU8[5937 + $50 >> 0] | 0) > 15) { - $54 = (HEAP32[$8 >> 2] | 0) == 0; - if (!$54) HEAP32[$7 >> 2] = (HEAP32[$7 >> 2] | 0) + -1; - if (!$2) { - ___shlim($0, 0, 0); - $291 = 0; - $292 = 0; - break L1; - } - if ($54) { - $291 = 0; - $292 = 0; - break L1; - } - HEAP32[$7 >> 2] = (HEAP32[$7 >> 2] | 0) + -1; - $291 = 0; - $292 = 0; - break L1; - } else { - $$1160170 = $50; - $$1165168 = 16; - label = 47; - } - } else { - $spec$select166 = $28 ? 10 : $1; - if ($spec$select166 >>> 0 > (HEAPU8[5937 + $$0159 >> 0] | 0) >>> 0) { - $$1160 = $$0159; - $$1165 = $spec$select166; - label = 32; - } else { - if (HEAP32[$8 >> 2] | 0) HEAP32[$7 >> 2] = (HEAP32[$7 >> 2] | 0) + -1; - ___shlim($0, 0, 0); - $68 = ___errno_location() | 0; - HEAP32[$68 >> 2] = 28; - $291 = 0; - $292 = 0; - break L1; - } - } while (0); - L43 : do if ((label | 0) == 32) if (($$1165 | 0) == 10) { - $70 = $$1160 + -48 | 0; - if ($70 >>> 0 < 10) { - $$0154215 = 0; - $74 = $70; - do { - $$0154215 = ($$0154215 * 10 | 0) + $74 | 0; - $75 = HEAP32[$7 >> 2] | 0; - if ($75 >>> 0 < (HEAP32[$8 >> 2] | 0) >>> 0) { - HEAP32[$7 >> 2] = $75 + 1; - $83 = HEAPU8[$75 >> 0] | 0; - } else $83 = ___shgetc($0) | 0; - $74 = $83 + -48 | 0; - } while ($74 >>> 0 < 10 & $$0154215 >>> 0 < 429496729); - if ($74 >>> 0 < 10) { - $$3162208 = $83; - $88 = $$0154215; - $89 = 0; - $93 = $74; - while (1) { - $90 = ___muldi3($88 | 0, $89 | 0, 10, 0) | 0; - $91 = getTempRet0() | 0; - $94 = (($93 | 0) < 0) << 31 >> 31; - $96 = ~$94; - if ($91 >>> 0 > $96 >>> 0 | ($91 | 0) == ($96 | 0) & $90 >>> 0 > ~$93 >>> 0) { - $$1165169 = 10; - $$8 = $$3162208; - $293 = $88; - $294 = $89; - label = 76; - break L43; - } - $88 = _i64Add($90 | 0, $91 | 0, $93 | 0, $94 | 0) | 0; - $89 = getTempRet0() | 0; - $104 = HEAP32[$7 >> 2] | 0; - if ($104 >>> 0 < (HEAP32[$8 >> 2] | 0) >>> 0) { - HEAP32[$7 >> 2] = $104 + 1; - $112 = HEAPU8[$104 >> 0] | 0; - } else $112 = ___shgetc($0) | 0; - $93 = $112 + -48 | 0; - if (!($93 >>> 0 < 10 & ($89 >>> 0 < 429496729 | ($89 | 0) == 429496729 & $88 >>> 0 < 2576980378))) break; else $$3162208 = $112; - } - if ($93 >>> 0 > 9) { - $$1158 = $$0157; - $265 = $89; - $267 = $88; - } else { - $$1165169 = 10; - $$8 = $112; - $293 = $88; - $294 = $89; - label = 76; - } - } else { - $$1158 = $$0157; - $265 = 0; - $267 = $$0154215; - } - } else { - $$1158 = $$0157; - $265 = 0; - $267 = 0; - } - } else { - $$1160170 = $$1160; - $$1165168 = $$1165; - label = 47; - } while (0); - L63 : do if ((label | 0) == 47) { - if (!($$1165168 + -1 & $$1165168)) { - $128 = HEAP8[50731 + (($$1165168 * 23 | 0) >>> 5 & 7) >> 0] | 0; - $130 = HEAP8[5937 + $$1160170 >> 0] | 0; - $131 = $130 & 255; - if ($$1165168 >>> 0 > $131 >>> 0) { - $$1155184 = 0; - $135 = $131; - do { - $$1155184 = $135 | $$1155184 << $128; - $136 = HEAP32[$7 >> 2] | 0; - if ($136 >>> 0 < (HEAP32[$8 >> 2] | 0) >>> 0) { - HEAP32[$7 >> 2] = $136 + 1; - $144 = HEAPU8[$136 >> 0] | 0; - } else $144 = ___shgetc($0) | 0; - $145 = HEAP8[5937 + $144 >> 0] | 0; - $135 = $145 & 255; - } while ($$1155184 >>> 0 < 134217728 & $$1165168 >>> 0 > $135 >>> 0); - $$4163$lcssa = $144; - $$pre$phi237Z2D = $135; - $154 = 0; - $156 = $$1155184; - $295 = $145; - } else { - $$4163$lcssa = $$1160170; - $$pre$phi237Z2D = $131; - $154 = 0; - $156 = 0; - $295 = $130; - } - $150 = _bitshift64Lshr(-1, -1, $128 | 0) | 0; - $151 = getTempRet0() | 0; - if ($$1165168 >>> 0 <= $$pre$phi237Z2D >>> 0 | ($151 >>> 0 < $154 >>> 0 | ($151 | 0) == ($154 | 0) & $150 >>> 0 < $156 >>> 0)) { - $$1165169 = $$1165168; - $$8 = $$4163$lcssa; - $293 = $156; - $294 = $154; - label = 76; - break; - } - $160 = $156; - $161 = $154; - $165 = $295; - while (1) { - $162 = _bitshift64Shl($160 | 0, $161 | 0, $128 | 0) | 0; - $163 = getTempRet0() | 0; - $166 = $162 | $165 & 255; - $167 = HEAP32[$7 >> 2] | 0; - if ($167 >>> 0 < (HEAP32[$8 >> 2] | 0) >>> 0) { - HEAP32[$7 >> 2] = $167 + 1; - $175 = HEAPU8[$167 >> 0] | 0; - } else $175 = ___shgetc($0) | 0; - $165 = HEAP8[5937 + $175 >> 0] | 0; - if ($$1165168 >>> 0 <= ($165 & 255) >>> 0 | ($163 >>> 0 > $151 >>> 0 | ($163 | 0) == ($151 | 0) & $166 >>> 0 > $150 >>> 0)) { - $$1165169 = $$1165168; - $$8 = $175; - $293 = $166; - $294 = $163; - label = 76; - break L63; - } else { - $160 = $166; - $161 = $163; - } - } - } - $185 = HEAP8[5937 + $$1160170 >> 0] | 0; - $186 = $185 & 255; - if ($$1165168 >>> 0 > $186 >>> 0) { - $$2156202 = 0; - $190 = $186; - do { - $$2156202 = $190 + (Math_imul($$2156202, $$1165168) | 0) | 0; - $191 = HEAP32[$7 >> 2] | 0; - if ($191 >>> 0 < (HEAP32[$8 >> 2] | 0) >>> 0) { - HEAP32[$7 >> 2] = $191 + 1; - $199 = HEAPU8[$191 >> 0] | 0; - } else $199 = ___shgetc($0) | 0; - $200 = HEAP8[5937 + $199 >> 0] | 0; - $190 = $200 & 255; - } while ($$2156202 >>> 0 < 119304647 & $$1165168 >>> 0 > $190 >>> 0); - $$6$lcssa = $199; - $$pre$phi239Z2D = $190; - $296 = $200; - $297 = $$2156202; - $298 = 0; - } else { - $$6$lcssa = $$1160170; - $$pre$phi239Z2D = $186; - $296 = $185; - $297 = 0; - $298 = 0; - } - if ($$1165168 >>> 0 > $$pre$phi239Z2D >>> 0) { - $206 = ___udivdi3(-1, -1, $$1165168 | 0, 0) | 0; - $207 = getTempRet0() | 0; - $$7190 = $$6$lcssa; - $209 = $298; - $211 = $297; - $218 = $296; - while (1) { - if ($209 >>> 0 > $207 >>> 0 | ($209 | 0) == ($207 | 0) & $211 >>> 0 > $206 >>> 0) { - $$1165169 = $$1165168; - $$8 = $$7190; - $293 = $211; - $294 = $209; - label = 76; - break L63; - } - $215 = ___muldi3($211 | 0, $209 | 0, $$1165168 | 0, 0) | 0; - $216 = getTempRet0() | 0; - $217 = $218 & 255; - if ($216 >>> 0 > 4294967295 | ($216 | 0) == -1 & $215 >>> 0 > ~$217 >>> 0) { - $$1165169 = $$1165168; - $$8 = $$7190; - $293 = $211; - $294 = $209; - label = 76; - break L63; - } - $225 = _i64Add($215 | 0, $216 | 0, $217 | 0, 0) | 0; - $226 = getTempRet0() | 0; - $227 = HEAP32[$7 >> 2] | 0; - if ($227 >>> 0 < (HEAP32[$8 >> 2] | 0) >>> 0) { - HEAP32[$7 >> 2] = $227 + 1; - $235 = HEAPU8[$227 >> 0] | 0; - } else $235 = ___shgetc($0) | 0; - $218 = HEAP8[5937 + $235 >> 0] | 0; - if ($$1165168 >>> 0 <= ($218 & 255) >>> 0) { - $$1165169 = $$1165168; - $$8 = $235; - $293 = $225; - $294 = $226; - label = 76; - break; - } else { - $$7190 = $235; - $209 = $226; - $211 = $225; - } - } - } else { - $$1165169 = $$1165168; - $$8 = $$6$lcssa; - $293 = $297; - $294 = $298; - label = 76; - } - } while (0); - if ((label | 0) == 76) if ($$1165169 >>> 0 > (HEAPU8[5937 + $$8 >> 0] | 0) >>> 0) { - do { - $243 = HEAP32[$7 >> 2] | 0; - if ($243 >>> 0 < (HEAP32[$8 >> 2] | 0) >>> 0) { - HEAP32[$7 >> 2] = $243 + 1; - $251 = HEAPU8[$243 >> 0] | 0; - } else $251 = ___shgetc($0) | 0; - } while ($$1165169 >>> 0 > (HEAPU8[5937 + $251 >> 0] | 0) >>> 0); - $255 = ___errno_location() | 0; - HEAP32[$255 >> 2] = 68; - $$1158 = ($3 & 1 | 0) == 0 & 0 == 0 ? $$0157 : 0; - $265 = $4; - $267 = $3; - } else { - $$1158 = $$0157; - $265 = $294; - $267 = $293; +function __ZN6vision21HoughSimilarityVoting4voteEffff($this, $x, $y, $angle, $scale) { + $this = $this | 0; + $x = +$x; + $y = +$y; + $angle = +$angle; + $scale = +$scale; + var $0 = 0.0, $1 = 0.0, $2 = 0.0, $22 = 0, $3 = 0.0, $4 = 0.0, $5 = 0.0, $add142 = 0, $add147 = 0, $add152 = 0, $call$i1$i = 0, $call$i1$i145 = 0, $call$i1$i153 = 0, $call$i1$i161 = 0, $call$i1$i169 = 0, $call$i1$i177 = 0, $call$i1$i185 = 0, $call$i1$i193 = 0, $call$i2$i = 0, $call$i2$i148 = 0, $call$i2$i156 = 0, $call$i2$i164 = 0, $call$i2$i172 = 0, $call$i2$i180 = 0, $call$i2$i188 = 0, $call$i2$i196 = 0, $call105 = 0, $call119 = 0, $call23 = 0, $call35 = 0, $call49 = 0, $call63 = 0, $call77 = 0, $call91 = 0, $conv = 0.0, $conv126 = 0, $conv130 = 0, $conv134 = 0, $conv138 = 0, $mfBinAngle = 0, $mfBinScale = 0, $mfBinX = 0, $mfBinY = 0, $ref$tmp$i192 = 0, $rem = 0, $rem161 = 0, $retval$0 = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $ref$tmp$i192 = sp; + $0 = +HEAPF32[$this + 20 >> 2]; + if ((((((!($0 > $x) ? ($1 = +HEAPF32[$this + 24 >> 2], !($1 <= $x)) : 0) ? ($2 = +HEAPF32[$this + 28 >> 2], !($2 > $y)) : 0) ? ($3 = +HEAPF32[$this + 32 >> 2], !($3 <= $y)) : 0) ? ($conv = $angle, !($conv <= -3.141592653589793 | $conv > 3.141592653589793)) : 0) ? ($4 = +HEAPF32[$this + 36 >> 2], !($4 > $scale)) : 0) ? ($5 = +HEAPF32[$this + 40 >> 2], !($5 <= $scale)) : 0) { + if (!($0 <= $x)) { + $call23 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 36649) | 0, 36683) | 0, 39794) | 0, 360) | 0, 39801) | 0, 36808) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i192, $call23 + (HEAP32[(HEAP32[$call23 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i145 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i192, 67360) | 0; + $call$i2$i148 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i145 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i145, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i192); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call23, $call$i2$i148) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call23) | 0; + _abort(); } - if (HEAP32[$8 >> 2] | 0) HEAP32[$7 >> 2] = (HEAP32[$7 >> 2] | 0) + -1; - if (!($265 >>> 0 < $4 >>> 0 | ($265 | 0) == ($4 | 0) & $267 >>> 0 < $3 >>> 0)) { - if (!(($3 & 1 | 0) != 0 | 0 != 0 | ($$1158 | 0) != 0)) { - $276 = ___errno_location() | 0; - HEAP32[$276 >> 2] = 68; - $277 = _i64Add($3 | 0, $4 | 0, -1, -1) | 0; - $291 = getTempRet0() | 0; - $292 = $277; - break; - } - if ($265 >>> 0 > $4 >>> 0 | ($265 | 0) == ($4 | 0) & $267 >>> 0 > $3 >>> 0) { - $284 = ___errno_location() | 0; - HEAP32[$284 >> 2] = 68; - $291 = $4; - $292 = $3; - break; - } + if (!($1 > $x)) { + $call35 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 36823) | 0, 36683) | 0, 39794) | 0, 361) | 0, 39801) | 0, 36808) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i192, $call35 + (HEAP32[(HEAP32[$call35 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i153 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i192, 67360) | 0; + $call$i2$i156 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i153 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i153, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i192); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call35, $call$i2$i156) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call35) | 0; + _abort(); } - $286 = (($$1158 | 0) < 0) << 31 >> 31; - $289 = _i64Subtract($267 ^ $$1158 | 0, $265 ^ $286 | 0, $$1158 | 0, $286 | 0) | 0; - $291 = getTempRet0() | 0; - $292 = $289; - } while (0); - setTempRet0($291 | 0); - return $292 | 0; -} - -function _ar2GetBestMatchingSubFine($0, $1, $2, $3, $4, $5, $6) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - $6 = $6 | 0; - var $$0231 = 0, $$0232 = 0, $$0239 = 0, $$0251 = 0, $$0257 = 0, $$0263 = 0, $$0282 = 0, $$1 = 0, $$10 = 0, $$10249 = 0, $$10273 = 0, $$10292 = 0, $$11 = 0, $$11250 = 0, $$11274 = 0, $$11293 = 0, $$12 = 0, $$12275 = 0, $$12294 = 0, $$1233 = 0, $$1240 = 0, $$1252 = 0, $$1258 = 0, $$1264 = 0, $$1283 = 0, $$13 = 0, $$13276 = 0, $$13295 = 0, $$14 = 0, $$14277 = 0, $$14296 = 0, $$15 = 0, $$15278 = 0, $$15297 = 0, $$16 = 0, $$16279 = 0, $$16298 = 0, $$17 = 0, $$17280 = 0, $$17299 = 0, $$18 = 0, $$18281 = 0, $$18300 = 0, $$2 = 0, $$2234 = 0, $$2241 = 0, $$2253 = 0, $$2259 = 0, $$2265 = 0, $$2284 = 0, $$3 = 0, $$3235 = 0, $$3242 = 0, $$3254 = 0, $$3260 = 0, $$3266 = 0, $$3285 = 0, $$4 = 0, $$4236 = 0, $$4243 = 0, $$4255 = 0, $$4261 = 0, $$4267 = 0, $$4286 = 0, $$5 = 0, $$5237 = 0, $$5244 = 0, $$5256 = 0, $$5262 = 0, $$5268 = 0, $$5287 = 0, $$6 = 0, $$6238 = 0, $$6245 = 0, $$6269 = 0, $$6288 = 0, $$7 = 0, $$7246 = 0, $$7270 = 0, $$7289 = 0, $$8 = 0, $$8247 = 0, $$8271 = 0, $$8290 = 0, $$9 = 0, $$9248 = 0, $$9272 = 0, $$9291 = 0, $101 = 0, $102 = 0, $108 = 0, $11 = 0, $110 = 0, $123 = 0, $13 = 0, $139 = 0, $140 = 0, $141 = 0, $146 = 0, $147 = 0, $153 = 0, $155 = 0, $16 = 0, $169 = 0, $18 = 0, $183 = 0, $184 = 0, $185 = 0, $190 = 0, $191 = 0, $197 = 0, $199 = 0, $204 = 0, $218 = 0, $219 = 0, $220 = 0, $225 = 0, $226 = 0, $232 = 0, $234 = 0, $238 = 0, $249 = 0, $252 = 0, $259 = 0, $26 = 0, $29 = 0, $33 = 0, $49 = 0, $50 = 0, $51 = 0, $56 = 0, $57 = 0, $63 = 0, $65 = 0, $78 = 0, $8 = 0, $94 = 0, $95 = 0, $96 = 0, $storemerge = 0; - $8 = HEAP32[$3 + 24 >> 2] | 0; - L1 : do switch ($2 | 0) { - case 5: - case 12: - case 13: - case 14: - { - $11 = 0 - (HEAP32[$3 + 8 >> 2] | 0) | 0; - $13 = HEAP32[$3 + 12 >> 2] | 0; - $16 = 0 - (HEAP32[$3 + 16 >> 2] | 0) | 0; - $18 = HEAP32[$3 + 20 >> 2] | 0; - $26 = $1 << 1; - $$0231 = $8; - $$0232 = $0 + (($11 << 1) + $4 + (Math_imul(($16 << 1) + $5 | 0, $1) | 0)) | 0; - $$0239 = 0; - $$0251 = $16; - $$0263 = 0; - $$0282 = 0; - while (1) { - if (($$0251 | 0) > ($18 | 0)) { - $$18 = $$0239; - $$18281 = $$0263; - $$18300 = $$0282; - break L1; - } - $$0257 = $11; - $$1 = $$0231; - $$1233 = $$0232; - $$1240 = $$0239; - $$1264 = $$0263; - $$1283 = $$0282; - while (1) { - if (($$0257 | 0) > ($13 | 0)) break; - $29 = HEAP16[$$1 >> 1] | 0; - if ($29 << 16 >> 16 == 4096) { - $$2241 = $$1240; - $$2265 = $$1264; - $$2284 = $$1283; - } else { - $33 = HEAPU8[$$1233 >> 0] | 0; - $$2241 = $$1240 + $33 | 0; - $$2265 = (Math_imul($33, $33) | 0) + $$1264 | 0; - $$2284 = (Math_imul($33, $29 & 65535) | 0) + $$1283 | 0; - } - $$0257 = $$0257 + 1 | 0; - $$1 = $$1 + 2 | 0; - $$1233 = $$1233 + 2 | 0; - $$1240 = $$2241; - $$1264 = $$2265; - $$1283 = $$2284; - } - $$0231 = $$1; - $$0232 = $$0232 + $26 | 0; - $$0239 = $$1240; - $$0251 = $$0251 + 1 | 0; - $$0263 = $$1264; - $$0282 = $$1283; - } - break; + if (!($2 <= $y)) { + $call49 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 36856) | 0, 36683) | 0, 39794) | 0, 362) | 0, 39801) | 0, 36890) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i192, $call49 + (HEAP32[(HEAP32[$call49 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i161 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i192, 67360) | 0; + $call$i2$i164 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i161 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i161, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i192); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call49, $call$i2$i164) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call49) | 0; + _abort(); } - default: - { - if ($2 >>> 0 < 2) { - $49 = HEAP32[$3 + 20 >> 2] | 0; - $50 = $3 + 8 | 0; - $51 = $3 + 12 | 0; - $$1252 = 0 - (HEAP32[$3 + 16 >> 2] | 0) | 0; - $$2 = $8; - $$3242 = 0; - $$3266 = 0; - $$3285 = 0; - while (1) { - if (($$1252 | 0) > ($49 | 0)) { - $$18 = $$3242; - $$18281 = $$3266; - $$18300 = $$3285; - break L1; - } - $56 = (Math_imul(($$1252 << 1) + $5 | 0, $1) | 0) + $4 | 0; - $57 = HEAP32[$50 >> 2] | 0; - $63 = HEAP32[$51 >> 2] | 0; - $$1258 = 0 - $57 | 0; - $$2234 = $0 + (($56 - ($57 << 1) | 0) * 3 | 0) | 0; - $$3 = $$2; - $$4243 = $$3242; - $$4267 = $$3266; - $$4286 = $$3285; - while (1) { - if (($$1258 | 0) > ($63 | 0)) break; - $65 = HEAP16[$$3 >> 1] | 0; - if ($65 << 16 >> 16 == 4096) { - $$5244 = $$4243; - $$5268 = $$4267; - $$5287 = $$4286; - } else { - $78 = (((HEAPU8[$$2234 + 1 >> 0] | 0) + (HEAPU8[$$2234 >> 0] | 0) + (HEAPU8[$$2234 + 2 >> 0] | 0) | 0) >>> 0) / 3 | 0; - $$5244 = $78 + $$4243 | 0; - $$5268 = (Math_imul($78, $78) | 0) + $$4267 | 0; - $$5287 = (Math_imul($78, $65 & 65535) | 0) + $$4286 | 0; - } - $$1258 = $$1258 + 1 | 0; - $$2234 = $$2234 + 6 | 0; - $$3 = $$3 + 2 | 0; - $$4243 = $$5244; - $$4267 = $$5268; - $$4286 = $$5287; - } - $$1252 = $$1252 + 1 | 0; - $$2 = $$3; - $$3242 = $$4243; - $$3266 = $$4267; - $$3285 = $$4286; - } - } - if (($2 | 1 | 0) == 3) { - $94 = HEAP32[$3 + 20 >> 2] | 0; - $95 = $3 + 8 | 0; - $96 = $3 + 12 | 0; - $$2253 = 0 - (HEAP32[$3 + 16 >> 2] | 0) | 0; - $$4 = $8; - $$6245 = 0; - $$6269 = 0; - $$6288 = 0; - while (1) { - if (($$2253 | 0) > ($94 | 0)) { - $$18 = $$6245; - $$18281 = $$6269; - $$18300 = $$6288; - break L1; - } - $101 = (Math_imul(($$2253 << 1) + $5 | 0, $1) | 0) + $4 | 0; - $102 = HEAP32[$95 >> 2] | 0; - $108 = HEAP32[$96 >> 2] | 0; - $$2259 = 0 - $102 | 0; - $$3235 = $0 + ($101 - ($102 << 1) << 2) | 0; - $$5 = $$4; - $$7246 = $$6245; - $$7270 = $$6269; - $$7289 = $$6288; - while (1) { - if (($$2259 | 0) > ($108 | 0)) break; - $110 = HEAP16[$$5 >> 1] | 0; - if ($110 << 16 >> 16 == 4096) { - $$8247 = $$7246; - $$8271 = $$7270; - $$8290 = $$7289; - } else { - $123 = (((HEAPU8[$$3235 + 1 >> 0] | 0) + (HEAPU8[$$3235 >> 0] | 0) + (HEAPU8[$$3235 + 2 >> 0] | 0) | 0) >>> 0) / 3 | 0; - $$8247 = $123 + $$7246 | 0; - $$8271 = (Math_imul($123, $123) | 0) + $$7270 | 0; - $$8290 = (Math_imul($123, $110 & 65535) | 0) + $$7289 | 0; - } - $$2259 = $$2259 + 1 | 0; - $$3235 = $$3235 + 8 | 0; - $$5 = $$5 + 2 | 0; - $$7246 = $$8247; - $$7270 = $$8271; - $$7289 = $$8290; - } - $$2253 = $$2253 + 1 | 0; - $$4 = $$5; - $$6245 = $$7246; - $$6269 = $$7270; - $$6288 = $$7289; - } - } - if (($2 | 2 | 0) == 6) { - $139 = HEAP32[$3 + 20 >> 2] | 0; - $140 = $3 + 8 | 0; - $141 = $3 + 12 | 0; - $$3254 = 0 - (HEAP32[$3 + 16 >> 2] | 0) | 0; - $$6 = $8; - $$9248 = 0; - $$9272 = 0; - $$9291 = 0; - while (1) { - if (($$3254 | 0) > ($139 | 0)) { - $$18 = $$9248; - $$18281 = $$9272; - $$18300 = $$9291; - break L1; - } - $146 = (Math_imul(($$3254 << 1) + $5 | 0, $1) | 0) + $4 | 0; - $147 = HEAP32[$140 >> 2] | 0; - $153 = HEAP32[$141 >> 2] | 0; - $$10249 = $$9248; - $$10273 = $$9272; - $$10292 = $$9291; - $$3260 = 0 - $147 | 0; - $$4236 = $0 + ($146 - ($147 << 1) << 2) | 0; - $$7 = $$6; - while (1) { - if (($$3260 | 0) > ($153 | 0)) break; - $155 = HEAP16[$$7 >> 1] | 0; - if ($155 << 16 >> 16 == 4096) { - $$11250 = $$10249; - $$11274 = $$10273; - $$11293 = $$10292; - } else { - $169 = (((HEAPU8[$$4236 + 2 >> 0] | 0) + (HEAPU8[$$4236 + 1 >> 0] | 0) + (HEAPU8[$$4236 + 3 >> 0] | 0) | 0) >>> 0) / 3 | 0; - $$11250 = $169 + $$10249 | 0; - $$11274 = (Math_imul($169, $169) | 0) + $$10273 | 0; - $$11293 = (Math_imul($169, $155 & 65535) | 0) + $$10292 | 0; - } - $$10249 = $$11250; - $$10273 = $$11274; - $$10292 = $$11293; - $$3260 = $$3260 + 1 | 0; - $$4236 = $$4236 + 8 | 0; - $$7 = $$7 + 2 | 0; - } - $$3254 = $$3254 + 1 | 0; - $$6 = $$7; - $$9248 = $$10249; - $$9272 = $$10273; - $$9291 = $$10292; - } - } - switch ($2 | 0) { - case 7: - { - $183 = HEAP32[$3 + 20 >> 2] | 0; - $184 = $3 + 8 | 0; - $185 = $3 + 12 | 0; - $$12 = 0; - $$12275 = 0; - $$12294 = 0; - $$4255 = 0 - (HEAP32[$3 + 16 >> 2] | 0) | 0; - $$8 = $8; - while (1) { - if (($$4255 | 0) > ($183 | 0)) { - $$18 = $$12; - $$18281 = $$12275; - $$18300 = $$12294; - break L1; - } - $190 = (Math_imul(($$4255 << 1) + $5 | 0, $1) | 0) + $4 | 0; - $191 = HEAP32[$184 >> 2] | 0; - $197 = HEAP32[$185 >> 2] | 0; - $$13 = $$12; - $$13276 = $$12275; - $$13295 = $$12294; - $$4261 = 0 - $191 | 0; - $$5237 = $0 + ($190 - ($191 << 1) << 1) | 0; - $$9 = $$8; - while (1) { - if (($$4261 | 0) > ($197 | 0)) break; - $199 = HEAP16[$$9 >> 1] | 0; - if ($199 << 16 >> 16 == 4096) { - $$14 = $$13; - $$14277 = $$13276; - $$14296 = $$13295; - } else { - $204 = HEAPU8[$$5237 + 1 >> 0] | 0; - $$14 = $$13 + $204 | 0; - $$14277 = (Math_imul($204, $204) | 0) + $$13276 | 0; - $$14296 = (Math_imul($204, $199 & 65535) | 0) + $$13295 | 0; - } - $$13 = $$14; - $$13276 = $$14277; - $$13295 = $$14296; - $$4261 = $$4261 + 1 | 0; - $$5237 = $$5237 + 4 | 0; - $$9 = $$9 + 2 | 0; - } - $$12 = $$13; - $$12275 = $$13276; - $$12294 = $$13295; - $$4255 = $$4255 + 1 | 0; - $$8 = $$9; - } - break; - } - case 8: - { - $218 = HEAP32[$3 + 20 >> 2] | 0; - $219 = $3 + 8 | 0; - $220 = $3 + 12 | 0; - $$10 = $8; - $$15 = 0; - $$15278 = 0; - $$15297 = 0; - $$5256 = 0 - (HEAP32[$3 + 16 >> 2] | 0) | 0; - while (1) { - if (($$5256 | 0) > ($218 | 0)) { - $$18 = $$15; - $$18281 = $$15278; - $$18300 = $$15297; - break L1; - } - $225 = (Math_imul(($$5256 << 1) + $5 | 0, $1) | 0) + $4 | 0; - $226 = HEAP32[$219 >> 2] | 0; - $232 = HEAP32[$220 >> 2] | 0; - $$11 = $$10; - $$16 = $$15; - $$16279 = $$15278; - $$16298 = $$15297; - $$5262 = 0 - $226 | 0; - $$6238 = $0 + ($225 - ($226 << 1) << 1) | 0; - while (1) { - if (($$5262 | 0) > ($232 | 0)) break; - $234 = HEAP16[$$11 >> 1] | 0; - if ($234 << 16 >> 16 == 4096) { - $$17 = $$16; - $$17280 = $$16279; - $$17299 = $$16298; - } else { - $238 = HEAPU8[$$6238 >> 0] | 0; - $$17 = $$16 + $238 | 0; - $$17280 = (Math_imul($238, $238) | 0) + $$16279 | 0; - $$17299 = (Math_imul($238, $234 & 65535) | 0) + $$16298 | 0; - } - $$11 = $$11 + 2 | 0; - $$16 = $$17; - $$16279 = $$17280; - $$16298 = $$17299; - $$5262 = $$5262 + 1 | 0; - $$6238 = $$6238 + 4 | 0; - } - $$10 = $$11; - $$15 = $$16; - $$15278 = $$16279; - $$15297 = $$16298; - $$5256 = $$5256 + 1 | 0; - } - break; - } - default: - { - $$18 = 0; - $$18281 = 0; - $$18300 = 0; - break L1; - } - } + if (!($3 > $y)) { + $call63 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 36905) | 0, 36683) | 0, 39794) | 0, 363) | 0, 39801) | 0, 36890) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i192, $call63 + (HEAP32[(HEAP32[$call63 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i169 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i192, 67360) | 0; + $call$i2$i172 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i169 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i169, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i192); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call63, $call$i2$i172) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call63) | 0; + _abort(); } - } while (0); - $249 = HEAP32[$3 + 36 >> 2] | 0; - $252 = $$18281 - ((Math_imul($$18, $$18) | 0) / ($249 | 0) | 0) | 0; - if (!$252) $storemerge = 0; else { - $259 = ($$18300 - ((Math_imul(HEAP32[$3 + 32 >> 2] | 0, $$18) | 0) / ($249 | 0) | 0) | 0) * 100 | 0; - $storemerge = ((($259 | 0) / (HEAP32[$3 + 28 >> 2] | 0) | 0) * 100 | 0) / (~~+Math_sqrt(+(+($252 | 0))) | 0) | 0; - } - HEAP32[$6 >> 2] = $storemerge; - return; + if (!($conv > -3.141592653589793)) { + $call77 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 36938) | 0, 36683) | 0, 39794) | 0, 364) | 0, 39801) | 0, 36973) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i192, $call77 + (HEAP32[(HEAP32[$call77 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i177 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i192, 67360) | 0; + $call$i2$i180 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i177 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i177, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i192); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call77, $call$i2$i180) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call77) | 0; + _abort(); + } + if (!($conv <= 3.141592653589793)) { + $call91 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 36992) | 0, 36683) | 0, 39794) | 0, 365) | 0, 39801) | 0, 36973) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i192, $call91 + (HEAP32[(HEAP32[$call91 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i185 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i192, 67360) | 0; + $call$i2$i188 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i185 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i185, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i192); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call91, $call$i2$i188) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call91) | 0; + _abort(); + } + if (!($4 <= $scale)) { + $call105 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 37027) | 0, 36683) | 0, 39794) | 0, 366) | 0, 39801) | 0, 37069) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i192, $call105 + (HEAP32[(HEAP32[$call105 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i193 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i192, 67360) | 0; + $call$i2$i196 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i193 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i193, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i192); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call105, $call$i2$i196) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call105) | 0; + _abort(); + } + if (!($5 > $scale)) { + $call119 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 37088) | 0, 36683) | 0, 39794) | 0, 367) | 0, 39801) | 0, 37069) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i192, $call119 + (HEAP32[(HEAP32[$call119 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i192, 67360) | 0; + $call$i2$i = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i >> 2] | 0) + 28 >> 2] & 127]($call$i1$i, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i192); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call119, $call$i2$i) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call119) | 0; + _abort(); + } + $mfBinX = $this + 68 | 0; + $mfBinY = $this + 72 | 0; + $mfBinAngle = $this + 76 | 0; + $mfBinScale = $this + 80 | 0; + __ZNK6vision21HoughSimilarityVoting12mapVoteToBinERfS1_S1_S1_ffff($this, $mfBinX, $mfBinY, $mfBinAngle, $mfBinScale, $x, $y, $angle, $scale); + $conv126 = ~~+Math_floor(+(+HEAPF32[$mfBinX >> 2] + -.5)); + $conv130 = ~~+Math_floor(+(+HEAPF32[$mfBinY >> 2] + -.5)); + $conv134 = ~~+Math_floor(+(+HEAPF32[$mfBinAngle >> 2] + -.5)); + $conv138 = ~~+Math_floor(+(+HEAPF32[$mfBinScale >> 2] + -.5)); + $22 = HEAP32[$this + 60 >> 2] | 0; + $rem = ($22 + $conv134 | 0) % ($22 | 0) | 0; + if (((($conv126 | 0) >= 0 ? ($add142 = $conv126 + 1 | 0, !(($conv130 | 0) < 0 ? 1 : ($add142 | 0) >= (HEAP32[$this + 52 >> 2] | 0))) : 0) ? ($add147 = $conv130 + 1 | 0, !(($conv138 | 0) < 0 ? 1 : ($add147 | 0) >= (HEAP32[$this + 56 >> 2] | 0))) : 0) ? ($add152 = $conv138 + 1 | 0, ($add152 | 0) < (HEAP32[$this + 64 >> 2] | 0)) : 0) { + $rem161 = ($rem + 1 | 0) % ($22 | 0) | 0; + __ZN6vision21HoughSimilarityVoting11voteAtIndexEij($this, __ZNK6vision21HoughSimilarityVoting11getBinIndexEiiii($this, $conv126, $conv130, $rem, $conv138) | 0, 1); + __ZN6vision21HoughSimilarityVoting11voteAtIndexEij($this, __ZNK6vision21HoughSimilarityVoting11getBinIndexEiiii($this, $add142, $conv130, $rem, $conv138) | 0, 1); + __ZN6vision21HoughSimilarityVoting11voteAtIndexEij($this, __ZNK6vision21HoughSimilarityVoting11getBinIndexEiiii($this, $add142, $add147, $rem, $conv138) | 0, 1); + __ZN6vision21HoughSimilarityVoting11voteAtIndexEij($this, __ZNK6vision21HoughSimilarityVoting11getBinIndexEiiii($this, $add142, $add147, $rem161, $conv138) | 0, 1); + __ZN6vision21HoughSimilarityVoting11voteAtIndexEij($this, __ZNK6vision21HoughSimilarityVoting11getBinIndexEiiii($this, $add142, $add147, $rem161, $add152) | 0, 1); + __ZN6vision21HoughSimilarityVoting11voteAtIndexEij($this, __ZNK6vision21HoughSimilarityVoting11getBinIndexEiiii($this, $add142, $add147, $rem, $add152) | 0, 1); + __ZN6vision21HoughSimilarityVoting11voteAtIndexEij($this, __ZNK6vision21HoughSimilarityVoting11getBinIndexEiiii($this, $add142, $conv130, $rem161, $conv138) | 0, 1); + __ZN6vision21HoughSimilarityVoting11voteAtIndexEij($this, __ZNK6vision21HoughSimilarityVoting11getBinIndexEiiii($this, $add142, $conv130, $rem161, $add152) | 0, 1); + __ZN6vision21HoughSimilarityVoting11voteAtIndexEij($this, __ZNK6vision21HoughSimilarityVoting11getBinIndexEiiii($this, $add142, $conv130, $rem, $add152) | 0, 1); + __ZN6vision21HoughSimilarityVoting11voteAtIndexEij($this, __ZNK6vision21HoughSimilarityVoting11getBinIndexEiiii($this, $conv126, $add147, $rem, $conv138) | 0, 1); + __ZN6vision21HoughSimilarityVoting11voteAtIndexEij($this, __ZNK6vision21HoughSimilarityVoting11getBinIndexEiiii($this, $conv126, $add147, $rem161, $conv138) | 0, 1); + __ZN6vision21HoughSimilarityVoting11voteAtIndexEij($this, __ZNK6vision21HoughSimilarityVoting11getBinIndexEiiii($this, $conv126, $add147, $rem161, $add152) | 0, 1); + __ZN6vision21HoughSimilarityVoting11voteAtIndexEij($this, __ZNK6vision21HoughSimilarityVoting11getBinIndexEiiii($this, $conv126, $add147, $rem, $add152) | 0, 1); + __ZN6vision21HoughSimilarityVoting11voteAtIndexEij($this, __ZNK6vision21HoughSimilarityVoting11getBinIndexEiiii($this, $conv126, $conv130, $rem161, $conv138) | 0, 1); + __ZN6vision21HoughSimilarityVoting11voteAtIndexEij($this, __ZNK6vision21HoughSimilarityVoting11getBinIndexEiiii($this, $conv126, $conv130, $rem161, $add152) | 0, 1); + __ZN6vision21HoughSimilarityVoting11voteAtIndexEij($this, __ZNK6vision21HoughSimilarityVoting11getBinIndexEiiii($this, $conv126, $conv130, $rem, $add152) | 0, 1); + $retval$0 = 1; + } else $retval$0 = 0; + } else $retval$0 = 0; + STACKTOP = sp; + return $retval$0 | 0; } -function __ZNSt3__211__money_putIcE13__gather_infoEbbRKNS_6localeERNS_10money_base7patternERcS8_RNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEESF_SF_Ri($0, $1, $2, $3, $4, $5, $6, $7, $8, $9) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - $6 = $6 | 0; - $7 = $7 | 0; - $8 = $8 | 0; - $9 = $9 | 0; - var $$0$i$i$i = 0, $$0$i$i$i51 = 0, $$0$i$i$i59 = 0, $$0$i$i$i67 = 0, $$0$i$i$i75 = 0, $$0$i$i$i83 = 0, $$0$i$i$i91 = 0, $$0$i$i$i99 = 0, $$pre$phi102Z2D = 0, $$pre$phiZ2D = 0, $10 = 0, $101 = 0, $104 = 0, $108 = 0, $11 = 0, $116 = 0, $12 = 0, $120 = 0, $123 = 0, $127 = 0, $135 = 0, $139 = 0, $143 = 0, $146 = 0, $150 = 0, $158 = 0, $16 = 0, $161 = 0, $165 = 0, $20 = 0, $23 = 0, $27 = 0, $35 = 0, $39 = 0, $42 = 0, $46 = 0, $54 = 0, $58 = 0, $62 = 0, $65 = 0, $69 = 0, $77 = 0, $80 = 0, $84 = 0, $93 = 0, $97 = 0, $storemerge = 0, sp = 0; +function __ZNSt3__211__money_putIwE13__gather_infoEbbRKNS_6localeERNS_10money_base7patternERwS8_RNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEERNS9_IwNSA_IwEENSC_IwEEEESJ_Ri($__intl, $__neg, $__loc, $__pat, $__dp, $__ts, $__grp, $__sym, $__sn, $__fd) { + $__intl = $__intl | 0; + $__neg = $__neg | 0; + $__loc = $__loc | 0; + $__pat = $__pat | 0; + $__dp = $__dp | 0; + $__ts = $__ts | 0; + $__grp = $__grp | 0; + $__sym = $__sym | 0; + $__sn = $__sn | 0; + $__fd = $__fd | 0; + var $1 = 0, $11 = 0, $13 = 0, $20 = 0, $24 = 0, $26 = 0, $3 = 0, $31 = 0, $33 = 0, $35 = 0, $39 = 0, $41 = 0, $43 = 0, $5 = 0, $50 = 0, $54 = 0, $56 = 0, $9 = 0, $__cap_$i$i$i$i$i = 0, $__cap_$i$i$i$i$i187 = 0, $__i$0$i$i$i = 0, $__i$0$i$i$i104 = 0, $__i$0$i$i$i134 = 0, $__i$0$i$i$i160 = 0, $__i$0$i$i$i192 = 0, $__i$0$i$i$i216 = 0, $__i$0$i$i$i56 = 0, $__i$0$i$i$i81 = 0, $__size_$i1$i$i$i$i = 0, $__size_$i1$i$i$i$i121 = 0, $__size_$i1$i$i$i$i147 = 0, $__size_$i1$i$i$i$i178 = 0, $__size_$i1$i$i$i$i203 = 0, $__size_$i1$i$i$i$i43 = 0, $__size_$i1$i$i$i$i73 = 0, $__size_$i1$i$i$i$i91 = 0, $call$i = 0, $call$i114 = 0, $call$i169 = 0, $call$i172 = 0, $call$i65 = 0, $call$i68 = 0, $ref$tmp$i$i$i$i201 = 0, $ref$tmp4 = 0, $storemerge = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $10 = sp + 12 | 0; - $11 = sp; - if ($0) { - $12 = __ZNKSt3__26locale9use_facetERNS0_2idE($2, 66744) | 0; - if ($1) { - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$12 >> 2] | 0) + 44 >> 2] & 255]($10, $12); - $16 = HEAP32[$10 >> 2] | 0; - HEAP8[$3 >> 0] = $16; - HEAP8[$3 + 1 >> 0] = $16 >> 8; - HEAP8[$3 + 2 >> 0] = $16 >> 16; - HEAP8[$3 + 3 >> 0] = $16 >> 24; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$12 >> 2] | 0) + 32 >> 2] & 255]($11, $12); - $20 = $8 + 11 | 0; - if ((HEAP8[$20 >> 0] | 0) < 0) { - $23 = HEAP32[$8 >> 2] | 0; - HEAP8[$10 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc($23, $10); - HEAP32[$8 + 4 >> 2] = 0; - if ((HEAP8[$20 >> 0] | 0) < 0) { - $27 = $8 + 8 | 0; - __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm(HEAP32[$8 >> 2] | 0, HEAP32[$27 >> 2] & 2147483647); - HEAP32[$27 >> 2] = 0; + $ref$tmp$i$i$i$i201 = sp + 12 | 0; + $ref$tmp4 = sp; + if ($__intl) { + $call$i = __ZNKSt3__26locale9use_facetERNS0_2idE($__loc, 67608) | 0; + if ($__neg) { + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$call$i >> 2] | 0) + 44 >> 2] & 255]($ref$tmp$i$i$i$i201, $call$i); + $1 = HEAP32[$ref$tmp$i$i$i$i201 >> 2] | 0; + HEAP8[$__pat >> 0] = $1; + HEAP8[$__pat + 1 >> 0] = $1 >> 8; + HEAP8[$__pat + 2 >> 0] = $1 >> 16; + HEAP8[$__pat + 3 >> 0] = $1 >> 24; + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$call$i >> 2] | 0) + 32 >> 2] & 255]($ref$tmp4, $call$i); + $3 = $__sn + 8 | 0; + $__size_$i1$i$i$i$i = $3 + 3 | 0; + if ((HEAP8[$__size_$i1$i$i$i$i >> 0] | 0) < 0) { + $5 = HEAP32[$__sn >> 2] | 0; + HEAP32[$ref$tmp$i$i$i$i201 >> 2] = 0; + __ZNSt3__211char_traitsIwE6assignERwRKw($5, $ref$tmp$i$i$i$i201); + HEAP32[$__sn + 4 >> 2] = 0; + if ((HEAP8[$__size_$i1$i$i$i$i >> 0] | 0) < 0) { + __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm(HEAP32[$__sn >> 2] | 0, HEAP32[$3 >> 2] << 2); + HEAP32[$3 >> 2] = 0; } } else { - HEAP8[$10 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc($8, $10); - HEAP8[$20 >> 0] = 0; + HEAP32[$ref$tmp$i$i$i$i201 >> 2] = 0; + __ZNSt3__211char_traitsIwE6assignERwRKw($__sn, $ref$tmp$i$i$i$i201); + HEAP8[$__size_$i1$i$i$i$i >> 0] = 0; }; - HEAP32[$8 >> 2] = HEAP32[$11 >> 2]; - HEAP32[$8 + 4 >> 2] = HEAP32[$11 + 4 >> 2]; - HEAP32[$8 + 8 >> 2] = HEAP32[$11 + 8 >> 2]; - $$0$i$i$i = 0; + HEAP32[$__sn >> 2] = HEAP32[$ref$tmp4 >> 2]; + HEAP32[$__sn + 4 >> 2] = HEAP32[$ref$tmp4 + 4 >> 2]; + HEAP32[$__sn + 8 >> 2] = HEAP32[$ref$tmp4 + 8 >> 2]; + $__i$0$i$i$i = 0; while (1) { - if (($$0$i$i$i | 0) == 3) break; - HEAP32[$11 + ($$0$i$i$i << 2) >> 2] = 0; - $$0$i$i$i = $$0$i$i$i + 1 | 0; + if (($__i$0$i$i$i | 0) == 3) break; + HEAP32[$ref$tmp4 + ($__i$0$i$i$i << 2) >> 2] = 0; + $__i$0$i$i$i = $__i$0$i$i$i + 1 | 0; } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($11); - $$pre$phiZ2D = $12; + __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev($ref$tmp4); } else { - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$12 >> 2] | 0) + 40 >> 2] & 255]($10, $12); - $35 = HEAP32[$10 >> 2] | 0; - HEAP8[$3 >> 0] = $35; - HEAP8[$3 + 1 >> 0] = $35 >> 8; - HEAP8[$3 + 2 >> 0] = $35 >> 16; - HEAP8[$3 + 3 >> 0] = $35 >> 24; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$12 >> 2] | 0) + 28 >> 2] & 255]($11, $12); - $39 = $8 + 11 | 0; - if ((HEAP8[$39 >> 0] | 0) < 0) { - $42 = HEAP32[$8 >> 2] | 0; - HEAP8[$10 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc($42, $10); - HEAP32[$8 + 4 >> 2] = 0; - if ((HEAP8[$39 >> 0] | 0) < 0) { - $46 = $8 + 8 | 0; - __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm(HEAP32[$8 >> 2] | 0, HEAP32[$46 >> 2] & 2147483647); - HEAP32[$46 >> 2] = 0; + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$call$i >> 2] | 0) + 40 >> 2] & 255]($ref$tmp$i$i$i$i201, $call$i); + $9 = HEAP32[$ref$tmp$i$i$i$i201 >> 2] | 0; + HEAP8[$__pat >> 0] = $9; + HEAP8[$__pat + 1 >> 0] = $9 >> 8; + HEAP8[$__pat + 2 >> 0] = $9 >> 16; + HEAP8[$__pat + 3 >> 0] = $9 >> 24; + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$call$i >> 2] | 0) + 28 >> 2] & 255]($ref$tmp4, $call$i); + $11 = $__sn + 8 | 0; + $__size_$i1$i$i$i$i43 = $11 + 3 | 0; + if ((HEAP8[$__size_$i1$i$i$i$i43 >> 0] | 0) < 0) { + $13 = HEAP32[$__sn >> 2] | 0; + HEAP32[$ref$tmp$i$i$i$i201 >> 2] = 0; + __ZNSt3__211char_traitsIwE6assignERwRKw($13, $ref$tmp$i$i$i$i201); + HEAP32[$__sn + 4 >> 2] = 0; + if ((HEAP8[$__size_$i1$i$i$i$i43 >> 0] | 0) < 0) { + __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm(HEAP32[$__sn >> 2] | 0, HEAP32[$11 >> 2] << 2); + HEAP32[$11 >> 2] = 0; } } else { - HEAP8[$10 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc($8, $10); - HEAP8[$39 >> 0] = 0; + HEAP32[$ref$tmp$i$i$i$i201 >> 2] = 0; + __ZNSt3__211char_traitsIwE6assignERwRKw($__sn, $ref$tmp$i$i$i$i201); + HEAP8[$__size_$i1$i$i$i$i43 >> 0] = 0; }; - HEAP32[$8 >> 2] = HEAP32[$11 >> 2]; - HEAP32[$8 + 4 >> 2] = HEAP32[$11 + 4 >> 2]; - HEAP32[$8 + 8 >> 2] = HEAP32[$11 + 8 >> 2]; - $$0$i$i$i51 = 0; + HEAP32[$__sn >> 2] = HEAP32[$ref$tmp4 >> 2]; + HEAP32[$__sn + 4 >> 2] = HEAP32[$ref$tmp4 + 4 >> 2]; + HEAP32[$__sn + 8 >> 2] = HEAP32[$ref$tmp4 + 8 >> 2]; + $__i$0$i$i$i56 = 0; while (1) { - if (($$0$i$i$i51 | 0) == 3) break; - HEAP32[$11 + ($$0$i$i$i51 << 2) >> 2] = 0; - $$0$i$i$i51 = $$0$i$i$i51 + 1 | 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($11); - $$pre$phiZ2D = $12; - } - $54 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$12 >> 2] | 0) + 12 >> 2] & 127]($12) | 0; - HEAP8[$4 >> 0] = $54; - $58 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$12 >> 2] | 0) + 16 >> 2] & 127]($12) | 0; - HEAP8[$5 >> 0] = $58; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$$pre$phiZ2D >> 2] | 0) + 20 >> 2] & 255]($11, $12); - $62 = $6 + 11 | 0; - if ((HEAP8[$62 >> 0] | 0) < 0) { - $65 = HEAP32[$6 >> 2] | 0; - HEAP8[$10 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc($65, $10); - HEAP32[$6 + 4 >> 2] = 0; - if ((HEAP8[$62 >> 0] | 0) < 0) { - $69 = $6 + 8 | 0; - __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm(HEAP32[$6 >> 2] | 0, HEAP32[$69 >> 2] & 2147483647); - HEAP32[$69 >> 2] = 0; + if (($__i$0$i$i$i56 | 0) == 3) break; + HEAP32[$ref$tmp4 + ($__i$0$i$i$i56 << 2) >> 2] = 0; + $__i$0$i$i$i56 = $__i$0$i$i$i56 + 1 | 0; + } + __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev($ref$tmp4); + } + $call$i65 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$call$i >> 2] | 0) + 12 >> 2] & 127]($call$i) | 0; + HEAP32[$__dp >> 2] = $call$i65; + $call$i68 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$call$i >> 2] | 0) + 16 >> 2] & 127]($call$i) | 0; + HEAP32[$__ts >> 2] = $call$i68; + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$call$i >> 2] | 0) + 20 >> 2] & 255]($ref$tmp4, $call$i); + $__size_$i1$i$i$i$i73 = $__grp + 11 | 0; + if ((HEAP8[$__size_$i1$i$i$i$i73 >> 0] | 0) < 0) { + $20 = HEAP32[$__grp >> 2] | 0; + HEAP8[$ref$tmp$i$i$i$i201 >> 0] = 0; + __ZNSt3__211char_traitsIcE6assignERcRKc($20, $ref$tmp$i$i$i$i201); + HEAP32[$__grp + 4 >> 2] = 0; + if ((HEAP8[$__size_$i1$i$i$i$i73 >> 0] | 0) < 0) { + $__cap_$i$i$i$i$i = $__grp + 8 | 0; + __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm(HEAP32[$__grp >> 2] | 0, HEAP32[$__cap_$i$i$i$i$i >> 2] & 2147483647); + HEAP32[$__cap_$i$i$i$i$i >> 2] = 0; } } else { - HEAP8[$10 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc($6, $10); - HEAP8[$62 >> 0] = 0; + HEAP8[$ref$tmp$i$i$i$i201 >> 0] = 0; + __ZNSt3__211char_traitsIcE6assignERcRKc($__grp, $ref$tmp$i$i$i$i201); + HEAP8[$__size_$i1$i$i$i$i73 >> 0] = 0; }; - HEAP32[$6 >> 2] = HEAP32[$11 >> 2]; - HEAP32[$6 + 4 >> 2] = HEAP32[$11 + 4 >> 2]; - HEAP32[$6 + 8 >> 2] = HEAP32[$11 + 8 >> 2]; - $$0$i$i$i59 = 0; + HEAP32[$__grp >> 2] = HEAP32[$ref$tmp4 >> 2]; + HEAP32[$__grp + 4 >> 2] = HEAP32[$ref$tmp4 + 4 >> 2]; + HEAP32[$__grp + 8 >> 2] = HEAP32[$ref$tmp4 + 8 >> 2]; + $__i$0$i$i$i81 = 0; while (1) { - if (($$0$i$i$i59 | 0) == 3) break; - HEAP32[$11 + ($$0$i$i$i59 << 2) >> 2] = 0; - $$0$i$i$i59 = $$0$i$i$i59 + 1 | 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($11); - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$$pre$phiZ2D >> 2] | 0) + 24 >> 2] & 255]($11, $12); - $77 = $7 + 11 | 0; - if ((HEAP8[$77 >> 0] | 0) < 0) { - $80 = HEAP32[$7 >> 2] | 0; - HEAP8[$10 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc($80, $10); - HEAP32[$7 + 4 >> 2] = 0; - if ((HEAP8[$77 >> 0] | 0) < 0) { - $84 = $7 + 8 | 0; - __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm(HEAP32[$7 >> 2] | 0, HEAP32[$84 >> 2] & 2147483647); - HEAP32[$84 >> 2] = 0; + if (($__i$0$i$i$i81 | 0) == 3) break; + HEAP32[$ref$tmp4 + ($__i$0$i$i$i81 << 2) >> 2] = 0; + $__i$0$i$i$i81 = $__i$0$i$i$i81 + 1 | 0; + } + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($ref$tmp4); + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$call$i >> 2] | 0) + 24 >> 2] & 255]($ref$tmp4, $call$i); + $24 = $__sym + 8 | 0; + $__size_$i1$i$i$i$i91 = $24 + 3 | 0; + if ((HEAP8[$__size_$i1$i$i$i$i91 >> 0] | 0) < 0) { + $26 = HEAP32[$__sym >> 2] | 0; + HEAP32[$ref$tmp$i$i$i$i201 >> 2] = 0; + __ZNSt3__211char_traitsIwE6assignERwRKw($26, $ref$tmp$i$i$i$i201); + HEAP32[$__sym + 4 >> 2] = 0; + if ((HEAP8[$__size_$i1$i$i$i$i91 >> 0] | 0) < 0) { + __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm(HEAP32[$__sym >> 2] | 0, HEAP32[$24 >> 2] << 2); + HEAP32[$24 >> 2] = 0; } } else { - HEAP8[$10 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc($7, $10); - HEAP8[$77 >> 0] = 0; + HEAP32[$ref$tmp$i$i$i$i201 >> 2] = 0; + __ZNSt3__211char_traitsIwE6assignERwRKw($__sym, $ref$tmp$i$i$i$i201); + HEAP8[$__size_$i1$i$i$i$i91 >> 0] = 0; }; - HEAP32[$7 >> 2] = HEAP32[$11 >> 2]; - HEAP32[$7 + 4 >> 2] = HEAP32[$11 + 4 >> 2]; - HEAP32[$7 + 8 >> 2] = HEAP32[$11 + 8 >> 2]; - $$0$i$i$i67 = 0; + HEAP32[$__sym >> 2] = HEAP32[$ref$tmp4 >> 2]; + HEAP32[$__sym + 4 >> 2] = HEAP32[$ref$tmp4 + 4 >> 2]; + HEAP32[$__sym + 8 >> 2] = HEAP32[$ref$tmp4 + 8 >> 2]; + $__i$0$i$i$i104 = 0; while (1) { - if (($$0$i$i$i67 | 0) == 3) break; - HEAP32[$11 + ($$0$i$i$i67 << 2) >> 2] = 0; - $$0$i$i$i67 = $$0$i$i$i67 + 1 | 0; + if (($__i$0$i$i$i104 | 0) == 3) break; + HEAP32[$ref$tmp4 + ($__i$0$i$i$i104 << 2) >> 2] = 0; + $__i$0$i$i$i104 = $__i$0$i$i$i104 + 1 | 0; } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($11); - $storemerge = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$12 >> 2] | 0) + 36 >> 2] & 127]($12) | 0; + __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev($ref$tmp4); + $storemerge = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$call$i >> 2] | 0) + 36 >> 2] & 127]($call$i) | 0; } else { - $93 = __ZNKSt3__26locale9use_facetERNS0_2idE($2, 66736) | 0; - if ($1) { - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$93 >> 2] | 0) + 44 >> 2] & 255]($10, $93); - $97 = HEAP32[$10 >> 2] | 0; - HEAP8[$3 >> 0] = $97; - HEAP8[$3 + 1 >> 0] = $97 >> 8; - HEAP8[$3 + 2 >> 0] = $97 >> 16; - HEAP8[$3 + 3 >> 0] = $97 >> 24; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$93 >> 2] | 0) + 32 >> 2] & 255]($11, $93); - $101 = $8 + 11 | 0; - if ((HEAP8[$101 >> 0] | 0) < 0) { - $104 = HEAP32[$8 >> 2] | 0; - HEAP8[$10 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc($104, $10); - HEAP32[$8 + 4 >> 2] = 0; - if ((HEAP8[$101 >> 0] | 0) < 0) { - $108 = $8 + 8 | 0; - __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm(HEAP32[$8 >> 2] | 0, HEAP32[$108 >> 2] & 2147483647); - HEAP32[$108 >> 2] = 0; + $call$i114 = __ZNKSt3__26locale9use_facetERNS0_2idE($__loc, 67600) | 0; + if ($__neg) { + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$call$i114 >> 2] | 0) + 44 >> 2] & 255]($ref$tmp$i$i$i$i201, $call$i114); + $31 = HEAP32[$ref$tmp$i$i$i$i201 >> 2] | 0; + HEAP8[$__pat >> 0] = $31; + HEAP8[$__pat + 1 >> 0] = $31 >> 8; + HEAP8[$__pat + 2 >> 0] = $31 >> 16; + HEAP8[$__pat + 3 >> 0] = $31 >> 24; + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$call$i114 >> 2] | 0) + 32 >> 2] & 255]($ref$tmp4, $call$i114); + $33 = $__sn + 8 | 0; + $__size_$i1$i$i$i$i121 = $33 + 3 | 0; + if ((HEAP8[$__size_$i1$i$i$i$i121 >> 0] | 0) < 0) { + $35 = HEAP32[$__sn >> 2] | 0; + HEAP32[$ref$tmp$i$i$i$i201 >> 2] = 0; + __ZNSt3__211char_traitsIwE6assignERwRKw($35, $ref$tmp$i$i$i$i201); + HEAP32[$__sn + 4 >> 2] = 0; + if ((HEAP8[$__size_$i1$i$i$i$i121 >> 0] | 0) < 0) { + __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm(HEAP32[$__sn >> 2] | 0, HEAP32[$33 >> 2] << 2); + HEAP32[$33 >> 2] = 0; } } else { - HEAP8[$10 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc($8, $10); - HEAP8[$101 >> 0] = 0; + HEAP32[$ref$tmp$i$i$i$i201 >> 2] = 0; + __ZNSt3__211char_traitsIwE6assignERwRKw($__sn, $ref$tmp$i$i$i$i201); + HEAP8[$__size_$i1$i$i$i$i121 >> 0] = 0; }; - HEAP32[$8 >> 2] = HEAP32[$11 >> 2]; - HEAP32[$8 + 4 >> 2] = HEAP32[$11 + 4 >> 2]; - HEAP32[$8 + 8 >> 2] = HEAP32[$11 + 8 >> 2]; - $$0$i$i$i75 = 0; + HEAP32[$__sn >> 2] = HEAP32[$ref$tmp4 >> 2]; + HEAP32[$__sn + 4 >> 2] = HEAP32[$ref$tmp4 + 4 >> 2]; + HEAP32[$__sn + 8 >> 2] = HEAP32[$ref$tmp4 + 8 >> 2]; + $__i$0$i$i$i134 = 0; while (1) { - if (($$0$i$i$i75 | 0) == 3) break; - HEAP32[$11 + ($$0$i$i$i75 << 2) >> 2] = 0; - $$0$i$i$i75 = $$0$i$i$i75 + 1 | 0; + if (($__i$0$i$i$i134 | 0) == 3) break; + HEAP32[$ref$tmp4 + ($__i$0$i$i$i134 << 2) >> 2] = 0; + $__i$0$i$i$i134 = $__i$0$i$i$i134 + 1 | 0; } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($11); - $$pre$phi102Z2D = $93; + __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev($ref$tmp4); } else { - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$93 >> 2] | 0) + 40 >> 2] & 255]($10, $93); - $116 = HEAP32[$10 >> 2] | 0; - HEAP8[$3 >> 0] = $116; - HEAP8[$3 + 1 >> 0] = $116 >> 8; - HEAP8[$3 + 2 >> 0] = $116 >> 16; - HEAP8[$3 + 3 >> 0] = $116 >> 24; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$93 >> 2] | 0) + 28 >> 2] & 255]($11, $93); - $120 = $8 + 11 | 0; - if ((HEAP8[$120 >> 0] | 0) < 0) { - $123 = HEAP32[$8 >> 2] | 0; - HEAP8[$10 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc($123, $10); - HEAP32[$8 + 4 >> 2] = 0; - if ((HEAP8[$120 >> 0] | 0) < 0) { - $127 = $8 + 8 | 0; - __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm(HEAP32[$8 >> 2] | 0, HEAP32[$127 >> 2] & 2147483647); - HEAP32[$127 >> 2] = 0; + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$call$i114 >> 2] | 0) + 40 >> 2] & 255]($ref$tmp$i$i$i$i201, $call$i114); + $39 = HEAP32[$ref$tmp$i$i$i$i201 >> 2] | 0; + HEAP8[$__pat >> 0] = $39; + HEAP8[$__pat + 1 >> 0] = $39 >> 8; + HEAP8[$__pat + 2 >> 0] = $39 >> 16; + HEAP8[$__pat + 3 >> 0] = $39 >> 24; + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$call$i114 >> 2] | 0) + 28 >> 2] & 255]($ref$tmp4, $call$i114); + $41 = $__sn + 8 | 0; + $__size_$i1$i$i$i$i147 = $41 + 3 | 0; + if ((HEAP8[$__size_$i1$i$i$i$i147 >> 0] | 0) < 0) { + $43 = HEAP32[$__sn >> 2] | 0; + HEAP32[$ref$tmp$i$i$i$i201 >> 2] = 0; + __ZNSt3__211char_traitsIwE6assignERwRKw($43, $ref$tmp$i$i$i$i201); + HEAP32[$__sn + 4 >> 2] = 0; + if ((HEAP8[$__size_$i1$i$i$i$i147 >> 0] | 0) < 0) { + __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm(HEAP32[$__sn >> 2] | 0, HEAP32[$41 >> 2] << 2); + HEAP32[$41 >> 2] = 0; } } else { - HEAP8[$10 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc($8, $10); - HEAP8[$120 >> 0] = 0; + HEAP32[$ref$tmp$i$i$i$i201 >> 2] = 0; + __ZNSt3__211char_traitsIwE6assignERwRKw($__sn, $ref$tmp$i$i$i$i201); + HEAP8[$__size_$i1$i$i$i$i147 >> 0] = 0; }; - HEAP32[$8 >> 2] = HEAP32[$11 >> 2]; - HEAP32[$8 + 4 >> 2] = HEAP32[$11 + 4 >> 2]; - HEAP32[$8 + 8 >> 2] = HEAP32[$11 + 8 >> 2]; - $$0$i$i$i83 = 0; + HEAP32[$__sn >> 2] = HEAP32[$ref$tmp4 >> 2]; + HEAP32[$__sn + 4 >> 2] = HEAP32[$ref$tmp4 + 4 >> 2]; + HEAP32[$__sn + 8 >> 2] = HEAP32[$ref$tmp4 + 8 >> 2]; + $__i$0$i$i$i160 = 0; while (1) { - if (($$0$i$i$i83 | 0) == 3) break; - HEAP32[$11 + ($$0$i$i$i83 << 2) >> 2] = 0; - $$0$i$i$i83 = $$0$i$i$i83 + 1 | 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($11); - $$pre$phi102Z2D = $93; - } - $135 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$93 >> 2] | 0) + 12 >> 2] & 127]($93) | 0; - HEAP8[$4 >> 0] = $135; - $139 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$93 >> 2] | 0) + 16 >> 2] & 127]($93) | 0; - HEAP8[$5 >> 0] = $139; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$$pre$phi102Z2D >> 2] | 0) + 20 >> 2] & 255]($11, $93); - $143 = $6 + 11 | 0; - if ((HEAP8[$143 >> 0] | 0) < 0) { - $146 = HEAP32[$6 >> 2] | 0; - HEAP8[$10 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc($146, $10); - HEAP32[$6 + 4 >> 2] = 0; - if ((HEAP8[$143 >> 0] | 0) < 0) { - $150 = $6 + 8 | 0; - __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm(HEAP32[$6 >> 2] | 0, HEAP32[$150 >> 2] & 2147483647); - HEAP32[$150 >> 2] = 0; + if (($__i$0$i$i$i160 | 0) == 3) break; + HEAP32[$ref$tmp4 + ($__i$0$i$i$i160 << 2) >> 2] = 0; + $__i$0$i$i$i160 = $__i$0$i$i$i160 + 1 | 0; + } + __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev($ref$tmp4); + } + $call$i169 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$call$i114 >> 2] | 0) + 12 >> 2] & 127]($call$i114) | 0; + HEAP32[$__dp >> 2] = $call$i169; + $call$i172 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$call$i114 >> 2] | 0) + 16 >> 2] & 127]($call$i114) | 0; + HEAP32[$__ts >> 2] = $call$i172; + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$call$i114 >> 2] | 0) + 20 >> 2] & 255]($ref$tmp4, $call$i114); + $__size_$i1$i$i$i$i178 = $__grp + 11 | 0; + if ((HEAP8[$__size_$i1$i$i$i$i178 >> 0] | 0) < 0) { + $50 = HEAP32[$__grp >> 2] | 0; + HEAP8[$ref$tmp$i$i$i$i201 >> 0] = 0; + __ZNSt3__211char_traitsIcE6assignERcRKc($50, $ref$tmp$i$i$i$i201); + HEAP32[$__grp + 4 >> 2] = 0; + if ((HEAP8[$__size_$i1$i$i$i$i178 >> 0] | 0) < 0) { + $__cap_$i$i$i$i$i187 = $__grp + 8 | 0; + __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm(HEAP32[$__grp >> 2] | 0, HEAP32[$__cap_$i$i$i$i$i187 >> 2] & 2147483647); + HEAP32[$__cap_$i$i$i$i$i187 >> 2] = 0; } } else { - HEAP8[$10 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc($6, $10); - HEAP8[$143 >> 0] = 0; + HEAP8[$ref$tmp$i$i$i$i201 >> 0] = 0; + __ZNSt3__211char_traitsIcE6assignERcRKc($__grp, $ref$tmp$i$i$i$i201); + HEAP8[$__size_$i1$i$i$i$i178 >> 0] = 0; }; - HEAP32[$6 >> 2] = HEAP32[$11 >> 2]; - HEAP32[$6 + 4 >> 2] = HEAP32[$11 + 4 >> 2]; - HEAP32[$6 + 8 >> 2] = HEAP32[$11 + 8 >> 2]; - $$0$i$i$i91 = 0; + HEAP32[$__grp >> 2] = HEAP32[$ref$tmp4 >> 2]; + HEAP32[$__grp + 4 >> 2] = HEAP32[$ref$tmp4 + 4 >> 2]; + HEAP32[$__grp + 8 >> 2] = HEAP32[$ref$tmp4 + 8 >> 2]; + $__i$0$i$i$i192 = 0; while (1) { - if (($$0$i$i$i91 | 0) == 3) break; - HEAP32[$11 + ($$0$i$i$i91 << 2) >> 2] = 0; - $$0$i$i$i91 = $$0$i$i$i91 + 1 | 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($11); - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$$pre$phi102Z2D >> 2] | 0) + 24 >> 2] & 255]($11, $93); - $158 = $7 + 11 | 0; - if ((HEAP8[$158 >> 0] | 0) < 0) { - $161 = HEAP32[$7 >> 2] | 0; - HEAP8[$10 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc($161, $10); - HEAP32[$7 + 4 >> 2] = 0; - if ((HEAP8[$158 >> 0] | 0) < 0) { - $165 = $7 + 8 | 0; - __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm(HEAP32[$7 >> 2] | 0, HEAP32[$165 >> 2] & 2147483647); - HEAP32[$165 >> 2] = 0; + if (($__i$0$i$i$i192 | 0) == 3) break; + HEAP32[$ref$tmp4 + ($__i$0$i$i$i192 << 2) >> 2] = 0; + $__i$0$i$i$i192 = $__i$0$i$i$i192 + 1 | 0; + } + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($ref$tmp4); + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$call$i114 >> 2] | 0) + 24 >> 2] & 255]($ref$tmp4, $call$i114); + $54 = $__sym + 8 | 0; + $__size_$i1$i$i$i$i203 = $54 + 3 | 0; + if ((HEAP8[$__size_$i1$i$i$i$i203 >> 0] | 0) < 0) { + $56 = HEAP32[$__sym >> 2] | 0; + HEAP32[$ref$tmp$i$i$i$i201 >> 2] = 0; + __ZNSt3__211char_traitsIwE6assignERwRKw($56, $ref$tmp$i$i$i$i201); + HEAP32[$__sym + 4 >> 2] = 0; + if ((HEAP8[$__size_$i1$i$i$i$i203 >> 0] | 0) < 0) { + __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm(HEAP32[$__sym >> 2] | 0, HEAP32[$54 >> 2] << 2); + HEAP32[$54 >> 2] = 0; } } else { - HEAP8[$10 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc($7, $10); - HEAP8[$158 >> 0] = 0; + HEAP32[$ref$tmp$i$i$i$i201 >> 2] = 0; + __ZNSt3__211char_traitsIwE6assignERwRKw($__sym, $ref$tmp$i$i$i$i201); + HEAP8[$__size_$i1$i$i$i$i203 >> 0] = 0; }; - HEAP32[$7 >> 2] = HEAP32[$11 >> 2]; - HEAP32[$7 + 4 >> 2] = HEAP32[$11 + 4 >> 2]; - HEAP32[$7 + 8 >> 2] = HEAP32[$11 + 8 >> 2]; - $$0$i$i$i99 = 0; + HEAP32[$__sym >> 2] = HEAP32[$ref$tmp4 >> 2]; + HEAP32[$__sym + 4 >> 2] = HEAP32[$ref$tmp4 + 4 >> 2]; + HEAP32[$__sym + 8 >> 2] = HEAP32[$ref$tmp4 + 8 >> 2]; + $__i$0$i$i$i216 = 0; while (1) { - if (($$0$i$i$i99 | 0) == 3) break; - HEAP32[$11 + ($$0$i$i$i99 << 2) >> 2] = 0; - $$0$i$i$i99 = $$0$i$i$i99 + 1 | 0; + if (($__i$0$i$i$i216 | 0) == 3) break; + HEAP32[$ref$tmp4 + ($__i$0$i$i$i216 << 2) >> 2] = 0; + $__i$0$i$i$i216 = $__i$0$i$i$i216 + 1 | 0; } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($11); - $storemerge = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$93 >> 2] | 0) + 36 >> 2] & 127]($93) | 0; + __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev($ref$tmp4); + $storemerge = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$call$i114 >> 2] | 0) + 36 >> 2] & 127]($call$i114) | 0; } - HEAP32[$9 >> 2] = $storemerge; + HEAP32[$__fd >> 2] = $storemerge; STACKTOP = sp; return; } -function _consume_markers($0) { - $0 = $0 | 0; - var $$0 = 0, $$0160168$i = 0, $$0169$i = 0, $$1161166$i = 0, $$1167$i = 0, $$pre183$i = 0, $1 = 0, $10 = 0, $103 = 0, $105 = 0, $108 = 0, $11 = 0, $111 = 0, $113 = 0, $116 = 0, $119 = 0, $12 = 0, $121 = 0, $125 = 0, $129 = 0, $13 = 0, $131 = 0, $135 = 0, $137 = 0, $14 = 0, $141 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0, $16 = 0, $160 = 0, $163 = 0, $17 = 0, $174 = 0, $177 = 0, $18 = 0, $180 = 0, $182 = 0, $183 = 0, $184 = 0, $185 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $3 = 0, $32 = 0, $38 = 0, $43 = 0, $45 = 0, $50 = 0, $52 = 0, $6 = 0, $60 = 0, $62 = 0, $63 = 0, $65 = 0, $67 = 0, $7 = 0, $71 = 0, $72 = 0, $74 = 0, $75 = 0, $8 = 0, $80 = 0, $88 = 0, $9 = 0, label = 0; - $1 = $0 + 460 | 0; - $2 = HEAP32[$1 >> 2] | 0; - $3 = $2 + 20 | 0; - if (HEAP32[$3 >> 2] | 0) { - $$0 = 2; - return $$0 | 0; - } - $6 = $0 + 464 | 0; - $7 = $2 + 24 | 0; - $8 = $0 + 340 | 0; - $9 = $2 + 16 | 0; - $10 = $0 + 32 | 0; - $11 = $0 + 212 | 0; - $12 = $0 + 28 | 0; - $13 = $0 + 36 | 0; - $14 = $0 + 316 | 0; - $15 = $0 + 320 | 0; - $16 = $0 + 216 | 0; - $17 = $0 + 220 | 0; - $18 = $0 + 224 | 0; - $19 = $0 + 324 | 0; - $20 = $0 + 328 | 0; - $21 = $0 + 428 | 0; - $22 = $0 + 432 | 0; - $23 = $0 + 436 | 0; - $24 = $0 + 416 | 0; - $25 = $0 + 332 | 0; - $26 = $0 + 412 | 0; - $27 = $0 + 420 | 0; - $28 = $0 + 424 | 0; - L4 : while (1) { - $32 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$6 >> 2] | 0) + 4 >> 2] & 127]($0) | 0; - switch ($32 | 0) { - case 2: - { - label = 58; - break L4; - break; - } - case 1: - break; - default: - { - $$0 = $32; - label = 63; +function _ar2TrackingMod($ar2Handle, $surfaceSet, $dataPtr, $trans, $err) { + $ar2Handle = $ar2Handle | 0; + $surfaceSet = $surfaceSet | 0; + $dataPtr = $dataPtr | 0; + $trans = $trans | 0; + $err = $err | 0; + var $27 = 0, $38 = 0, $arraydecay = 0, $arraydecay19 = 0, $arraydecay266 = 0, $arraydecay268 = 0, $arraydecay31 = 0, $arraydecay336 = 0, $arraydecay338 = 0, $arraydecay44 = 0, $arraydecay45 = 0, $arraydecay50 = 0, $arraydecay52 = 0, $arraydecay56$pre$phiZ2D = 0, $arraydecay65 = 0, $arraydecay66 = 0, $arraydecay77$pre$phiZ2D = 0, $arrayidx245 = 0, $arrayidx247 = 0, $arrayidx91 = 0, $call134 = 0, $call269 = 0.0, $call280 = 0.0, $call292 = 0.0, $call304 = 0.0, $call316 = 0.0, $call339 = 0.0, $call348 = 0.0, $call357 = 0.0, $call366 = 0.0, $call375 = 0.0, $call69 = 0, $call84 = 0, $candidatePtr$0 = 0, $candidatePtr$1 = 0, $candidatePtr$2 = 0, $candidatePtr$3 = 0, $cmp258 = 0, $contNum = 0, $cp = 0, $cparamLT = 0, $cparamLT147$pre$phiZ2D = 0, $i$0 = 0, $i$1 = 0, $i$2 = 0, $i$3 = 0, $i$4 = 0, $i$5 = 0, $i$6 = 0, $icpHandle = 0, $inc113 = 0, $j$0 = 0, $j$1 = 0, $j$2 = 0, $j$3 = 0, $j$4 = 0, $k$0 = 0, $num$0 = 0, $num$1 = 0, $num$2 = 0, $num10 = 0, $num2$0 = 0, $pos2d0 = 0, $pos2d1 = 0, $result = 0, $retval$0 = 0, $searchFeatureNum = 0, $simThresh = 0, $threadNum = 0, $trackingThresh = 0, $trackingThresh340 = 0, $xsize = 0, $xsize67$pre$phiZ2D = 0, $ysize = 0, $ysize68$pre$phiZ2D = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 48 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); + $cp = sp; + $pos2d0 = sp + 40 | 0; + $pos2d1 = sp + 32 | 0; + L1 : do if (($ar2Handle | 0) != 0 & ($surfaceSet | 0) != 0 & ($dataPtr | 0) != 0 & ($trans | 0) != 0 & ($err | 0) != 0) { + $contNum = $surfaceSet + 152 | 0; + if ((HEAP32[$contNum >> 2] | 0) < 1) $retval$0 = -2; else { + HEAPF32[$err >> 2] = 0.0; + $num10 = $surfaceSet + 4 | 0; + $arraydecay = $surfaceSet + 8 | 0; + $arraydecay19 = $surfaceSet + 56 | 0; + $arraydecay31 = $surfaceSet + 104 | 0; + $i$0 = 0; + while (1) { + if (($i$0 | 0) >= (HEAP32[$num10 >> 2] | 0)) break; + _arUtilMatMulf($arraydecay, (HEAP32[$surfaceSet >> 2] | 0) + ($i$0 * 112 | 0) + 12 | 0, $ar2Handle + 48 + ($i$0 * 48 | 0) | 0) | 0; + if ((HEAP32[$contNum >> 2] | 0) > 1 ? (_arUtilMatMulf($arraydecay19, (HEAP32[$surfaceSet >> 2] | 0) + ($i$0 * 112 | 0) + 12 | 0, $ar2Handle + 528 + ($i$0 * 48 | 0) | 0) | 0, (HEAP32[$contNum >> 2] | 0) > 2) : 0) _arUtilMatMulf($arraydecay31, (HEAP32[$surfaceSet >> 2] | 0) + ($i$0 * 112 | 0) + 12 | 0, $ar2Handle + 1008 + ($i$0 * 48 | 0) | 0) | 0; + $i$0 = $i$0 + 1 | 0; + } + if ((HEAP32[$ar2Handle >> 2] | 0) == 1) { + $cparamLT = $ar2Handle + 12 | 0; + $arraydecay44 = $ar2Handle + 2672 | 0; + $arraydecay45 = $ar2Handle + 7496 | 0; + _extractVisibleFeatures_175(HEAP32[$cparamLT >> 2] | 0, $ar2Handle + 48 | 0, $surfaceSet, $arraydecay44, $arraydecay45); + $arraydecay56$pre$phiZ2D = $arraydecay44; + $arraydecay77$pre$phiZ2D = $arraydecay45; + $cparamLT147$pre$phiZ2D = $cparamLT; + $xsize67$pre$phiZ2D = $ar2Handle + 4 | 0; + $ysize68$pre$phiZ2D = $ar2Handle + 8 | 0; + } else { + $xsize = $ar2Handle + 4 | 0; + $ysize = $ar2Handle + 8 | 0; + $arraydecay50 = $ar2Handle + 2672 | 0; + $arraydecay52 = $ar2Handle + 7496 | 0; + _extractVisibleFeaturesHomography_176(HEAP32[$xsize >> 2] | 0, HEAP32[$ysize >> 2] | 0, $ar2Handle + 48 | 0, $surfaceSet, $arraydecay50, $arraydecay52); + $arraydecay56$pre$phiZ2D = $arraydecay50; + $arraydecay77$pre$phiZ2D = $arraydecay52; + $cparamLT147$pre$phiZ2D = $ar2Handle + 12 | 0; + $xsize67$pre$phiZ2D = $xsize; + $ysize68$pre$phiZ2D = $ysize; + } + $searchFeatureNum = $ar2Handle + 36 | 0; + $threadNum = $ar2Handle + 13280 | 0; + $arraydecay65 = $surfaceSet + 156 | 0; + $arraydecay66 = $ar2Handle + 1488 | 0; + $simThresh = $ar2Handle + 40 | 0; + $candidatePtr$0 = $arraydecay56$pre$phiZ2D; + $i$1 = 0; + $num$0 = 0; + while (1) { + if (($i$1 | 0) >= (HEAP32[$searchFeatureNum >> 2] | 0)) break; + $candidatePtr$1 = $candidatePtr$0; + $i$2 = $i$1; + $j$0 = 0; + $num2$0 = $num$0; + while (1) { + if (($j$0 | 0) >= (HEAP32[$threadNum >> 2] | 0)) { + $candidatePtr$3 = $candidatePtr$1; + break; + } + if (($i$2 | 0) == (HEAP32[$searchFeatureNum >> 2] | 0)) { + $candidatePtr$3 = $candidatePtr$1; + break; + } + $call69 = _ar2SelectTemplate($candidatePtr$1, $arraydecay65, $num2$0, $arraydecay66, HEAP32[$xsize67$pre$phiZ2D >> 2] | 0, HEAP32[$ysize68$pre$phiZ2D >> 2] | 0) | 0; + if (($call69 | 0) < 0) { + if (($candidatePtr$1 | 0) != ($arraydecay56$pre$phiZ2D | 0)) { + $candidatePtr$3 = $candidatePtr$1; + break; + } + $call84 = _ar2SelectTemplate($arraydecay77$pre$phiZ2D, $arraydecay65, $num2$0, $arraydecay66, HEAP32[$xsize67$pre$phiZ2D >> 2] | 0, HEAP32[$ysize68$pre$phiZ2D >> 2] | 0) | 0; + if (($call84 | 0) < 0) { + $candidatePtr$3 = $arraydecay77$pre$phiZ2D; + break; + } else { + $candidatePtr$2 = $arraydecay77$pre$phiZ2D; + $k$0 = $call84; + } + } else { + $candidatePtr$2 = $candidatePtr$1; + $k$0 = $call69; + } + $arrayidx91 = $candidatePtr$2 + ($k$0 * 24 | 0) | 0; + HEAP32[$cp + ($j$0 << 2) >> 2] = $arrayidx91; + HEAP32[$ar2Handle + 1488 + ($num2$0 << 3) >> 2] = HEAP32[$candidatePtr$2 + ($k$0 * 24 | 0) + 16 >> 2]; + HEAP32[$ar2Handle + 1488 + ($num2$0 << 3) + 4 >> 2] = HEAP32[$candidatePtr$2 + ($k$0 * 24 | 0) + 20 >> 2]; + HEAP32[$ar2Handle + 13284 + ($j$0 * 52 | 0) >> 2] = $ar2Handle; + HEAP32[$ar2Handle + 13284 + ($j$0 * 52 | 0) + 4 >> 2] = $surfaceSet; + HEAP32[$ar2Handle + 13284 + ($j$0 * 52 | 0) + 8 >> 2] = $arrayidx91; + HEAP32[$ar2Handle + 13284 + ($j$0 * 52 | 0) + 12 >> 2] = $dataPtr; + $inc113 = $num2$0 + 1 | 0; + $candidatePtr$1 = $candidatePtr$2; + $i$2 = $i$2 + 1 | 0; + $j$0 = $j$0 + 1 | 0; + $num2$0 = ($inc113 | 0) == 5 ? $num$0 : $inc113; + } + if (!$j$0) break; + $j$1 = 0; + $num$1 = $num$0; + while (1) { + if (($j$1 | 0) == ($j$0 | 0)) break; + $result = $ar2Handle + 13284 + ($j$1 * 52 | 0) + 24 | 0; + $call134 = _ar2Tracking2dSub(HEAP32[$ar2Handle + 13284 + ($j$1 * 52 | 0) >> 2] | 0, HEAP32[$ar2Handle + 13284 + ($j$1 * 52 | 0) + 4 >> 2] | 0, HEAP32[$ar2Handle + 13284 + ($j$1 * 52 | 0) + 8 >> 2] | 0, HEAP32[$ar2Handle + 13284 + ($j$1 * 52 | 0) + 12 >> 2] | 0, HEAP32[$ar2Handle + 13284 + ($j$1 * 52 | 0) + 16 >> 2] | 0, $ar2Handle + 13284 + ($j$1 * 52 | 0) + 20 | 0, $result) | 0; + HEAP32[$ar2Handle + 13284 + ($j$1 * 52 | 0) + 48 >> 2] = $call134; + if (($call134 | 0) == 0 ? +HEAPF32[$result >> 2] > +HEAPF32[$simThresh >> 2] : 0) { + if ((HEAP32[$ar2Handle >> 2] | 0) == 1) { + $27 = HEAP32[$cparamLT147$pre$phiZ2D >> 2] | 0; + _arParamObserv2Ideal($27 + 104 | 0, +HEAPF32[$ar2Handle + 13284 + ($j$1 * 52 | 0) + 28 >> 2], +HEAPF32[$ar2Handle + 13284 + ($j$1 * 52 | 0) + 32 >> 2], $pos2d0, $pos2d1, HEAP32[$27 + 176 >> 2] | 0) | 0; + HEAPF32[$ar2Handle + 1872 + ($num$1 << 3) >> 2] = +HEAPF64[$pos2d0 >> 3]; + HEAPF32[$ar2Handle + 1872 + ($num$1 << 3) + 4 >> 2] = +HEAPF64[$pos2d1 >> 3]; + } else { + HEAP32[$ar2Handle + 1872 + ($num$1 << 3) >> 2] = HEAP32[$ar2Handle + 13284 + ($j$1 * 52 | 0) + 28 >> 2]; + HEAP32[$ar2Handle + 1872 + ($num$1 << 3) + 4 >> 2] = HEAP32[$ar2Handle + 13284 + ($j$1 * 52 | 0) + 32 >> 2]; + } + HEAP32[$ar2Handle + 2192 + ($num$1 * 12 | 0) >> 2] = HEAP32[$ar2Handle + 13284 + ($j$1 * 52 | 0) + 36 >> 2]; + HEAP32[$ar2Handle + 2192 + ($num$1 * 12 | 0) + 4 >> 2] = HEAP32[$ar2Handle + 13284 + ($j$1 * 52 | 0) + 40 >> 2]; + HEAP32[$ar2Handle + 2192 + ($num$1 * 12 | 0) + 8 >> 2] = HEAP32[$ar2Handle + 13284 + ($j$1 * 52 | 0) + 44 >> 2]; + $38 = HEAP32[$cp + ($j$1 << 2) >> 2] | 0; + HEAP32[$ar2Handle + 1488 + ($num$1 << 3) >> 2] = HEAP32[$38 + 16 >> 2]; + HEAP32[$ar2Handle + 1488 + ($num$1 << 3) + 4 >> 2] = HEAP32[$38 + 20 >> 2]; + HEAP32[$ar2Handle + 12320 + ($num$1 * 24 | 0) >> 2] = HEAP32[$38 >> 2]; + HEAP32[$ar2Handle + 12320 + ($num$1 * 24 | 0) + 4 >> 2] = HEAP32[$38 + 4 >> 2]; + HEAP32[$ar2Handle + 12320 + ($num$1 * 24 | 0) + 8 >> 2] = HEAP32[$38 + 8 >> 2]; + HEAP32[$ar2Handle + 12320 + ($num$1 * 24 | 0) + 12 >> 2] = 0; + $num$2 = $num$1 + 1 | 0; + } else $num$2 = $num$1; + $j$1 = $j$1 + 1 | 0; + $num$1 = $num$2; + } + $candidatePtr$0 = $candidatePtr$3; + $i$1 = $i$2; + $num$0 = $num$1; + } + $i$3 = 0; + while (1) { + if (($i$3 | 0) >= ($num$0 | 0)) break; + $arrayidx245 = $surfaceSet + 156 + ($i$3 * 24 | 0) | 0; + $arrayidx247 = $ar2Handle + 12320 + ($i$3 * 24 | 0) | 0; + HEAP32[$arrayidx245 >> 2] = HEAP32[$arrayidx247 >> 2]; + HEAP32[$arrayidx245 + 4 >> 2] = HEAP32[$arrayidx247 + 4 >> 2]; + HEAP32[$arrayidx245 + 8 >> 2] = HEAP32[$arrayidx247 + 8 >> 2]; + HEAP32[$arrayidx245 + 12 >> 2] = HEAP32[$arrayidx247 + 12 >> 2]; + HEAP32[$arrayidx245 + 16 >> 2] = HEAP32[$arrayidx247 + 16 >> 2]; + HEAP32[$arrayidx245 + 20 >> 2] = HEAP32[$arrayidx247 + 20 >> 2]; + $i$3 = $i$3 + 1 | 0; + } + HEAP32[$surfaceSet + 156 + ($num$0 * 24 | 0) + 12 >> 2] = -1; + $cmp258 = ($num$0 | 0) < 3; + if ((HEAP32[$ar2Handle >> 2] | 0) == 1) { + if ($cmp258) { + HEAP32[$contNum >> 2] = 0; + $retval$0 = -3; + break; + } + $icpHandle = $ar2Handle + 16 | 0; + $arraydecay266 = $ar2Handle + 1872 | 0; + $arraydecay268 = $ar2Handle + 2192 | 0; + $call269 = +_ar2GetTransMat_179(HEAP32[$icpHandle >> 2] | 0, $arraydecay, $arraydecay266, $arraydecay268, $num$0, $trans, 0); + HEAPF32[$err >> 2] = $call269; + $trackingThresh = $ar2Handle + 44 | 0; + if (((($call269 > +HEAPF32[$trackingThresh >> 2] ? (_icpSetInlierProbability(HEAP32[$icpHandle >> 2] | 0, .800000011920929) | 0, $call280 = +_ar2GetTransMat_179(HEAP32[$icpHandle >> 2] | 0, $trans, $arraydecay266, $arraydecay268, $num$0, $trans, 1), HEAPF32[$err >> 2] = $call280, $call280 > +HEAPF32[$trackingThresh >> 2]) : 0) ? (_icpSetInlierProbability(HEAP32[$icpHandle >> 2] | 0, .6000000238418579) | 0, $call292 = +_ar2GetTransMat_179(HEAP32[$icpHandle >> 2] | 0, $trans, $arraydecay266, $arraydecay268, $num$0, $trans, 1), HEAPF32[$err >> 2] = $call292, $call292 > +HEAPF32[$trackingThresh >> 2]) : 0) ? (_icpSetInlierProbability(HEAP32[$icpHandle >> 2] | 0, .4000000059604645) | 0, $call304 = +_ar2GetTransMat_179(HEAP32[$icpHandle >> 2] | 0, $trans, $arraydecay266, $arraydecay268, $num$0, $trans, 1), HEAPF32[$err >> 2] = $call304, $call304 > +HEAPF32[$trackingThresh >> 2]) : 0) ? (_icpSetInlierProbability(HEAP32[$icpHandle >> 2] | 0, 0.0) | 0, $call316 = +_ar2GetTransMat_179(HEAP32[$icpHandle >> 2] | 0, $trans, $arraydecay266, $arraydecay268, $num$0, $trans, 1), HEAPF32[$err >> 2] = $call316, $call316 > +HEAPF32[$trackingThresh >> 2]) : 0) { + HEAP32[$contNum >> 2] = 0; + $retval$0 = -4; + break; + } + } else { + if ($cmp258) { + HEAP32[$contNum >> 2] = 0; + $retval$0 = -3; + break; + } + $arraydecay336 = $ar2Handle + 1872 | 0; + $arraydecay338 = $ar2Handle + 2192 | 0; + $call339 = +_ar2GetTransMatHomography_180($arraydecay, $arraydecay336, $arraydecay338, $num$0, $trans, 0, 1.0); + HEAPF32[$err >> 2] = $call339; + $trackingThresh340 = $ar2Handle + 44 | 0; + if (((($call339 > +HEAPF32[$trackingThresh340 >> 2] ? ($call348 = +_ar2GetTransMatHomography_180($trans, $arraydecay336, $arraydecay338, $num$0, $trans, 1, .800000011920929), HEAPF32[$err >> 2] = $call348, $call348 > +HEAPF32[$trackingThresh340 >> 2]) : 0) ? ($call357 = +_ar2GetTransMatHomography_180($trans, $arraydecay336, $arraydecay338, $num$0, $trans, 1, .6000000238418579), HEAPF32[$err >> 2] = $call357, $call357 > +HEAPF32[$trackingThresh340 >> 2]) : 0) ? ($call366 = +_ar2GetTransMatHomography_180($trans, $arraydecay336, $arraydecay338, $num$0, $trans, 1, .4000000059604645), HEAPF32[$err >> 2] = $call366, $call366 > +HEAPF32[$trackingThresh340 >> 2]) : 0) ? ($call375 = +_ar2GetTransMatHomography_180($trans, $arraydecay336, $arraydecay338, $num$0, $trans, 1, 0.0), HEAPF32[$err >> 2] = $call375, $call375 > +HEAPF32[$trackingThresh340 >> 2]) : 0) { + HEAP32[$contNum >> 2] = 0; + $retval$0 = -4; + break; + } + } + HEAP32[$contNum >> 2] = (HEAP32[$contNum >> 2] | 0) + 1; + $j$2 = 0; + while (1) { + if (($j$2 | 0) == 3) break; + $i$4 = 0; + while (1) { + if (($i$4 | 0) == 4) break; + HEAP32[$surfaceSet + 104 + ($j$2 << 4) + ($i$4 << 2) >> 2] = HEAP32[$surfaceSet + 56 + ($j$2 << 4) + ($i$4 << 2) >> 2]; + $i$4 = $i$4 + 1 | 0; + } + $j$2 = $j$2 + 1 | 0; + } + $j$3 = 0; + while (1) { + if (($j$3 | 0) == 3) break; + $i$5 = 0; + while (1) { + if (($i$5 | 0) == 4) break; + HEAP32[$surfaceSet + 56 + ($j$3 << 4) + ($i$5 << 2) >> 2] = HEAP32[$surfaceSet + 8 + ($j$3 << 4) + ($i$5 << 2) >> 2]; + $i$5 = $i$5 + 1 | 0; + } + $j$3 = $j$3 + 1 | 0; + } + $j$4 = 0; + while (1) { + if (($j$4 | 0) == 3) { + $retval$0 = 0; + break L1; + } + $i$6 = 0; + while (1) { + if (($i$6 | 0) == 4) break; + HEAP32[$surfaceSet + 8 + ($j$4 << 4) + ($i$6 << 2) >> 2] = HEAP32[$trans + ($j$4 << 4) + ($i$6 << 2) >> 2]; + $i$6 = $i$6 + 1 | 0; + } + $j$4 = $j$4 + 1 | 0; + } + } + } else $retval$0 = -1; while (0); + STACKTOP = sp; + return $retval$0 | 0; +} + +function _consume_markers($cinfo) { + $cinfo = $cinfo | 0; + var $$pre175$i = 0, $0 = 0, $10 = 0, $12 = 0, $15 = 0, $16 = 0, $20 = 0, $22 = 0, $24 = 0, $26 = 0, $28 = 0, $29 = 0, $30 = 0, $31 = 0, $32 = 0, $37 = 0, $47 = 0, $48 = 0, $50 = 0, $67 = 0, $68 = 0, $7 = 0, $73 = 0, $75 = 0, $81 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $Ah$i = 0, $Al$i = 0, $Se$i = 0, $Ss$i = 0, $block_size$i = 0, $call = 0, $call$i = 0, $call184$i = 0, $call189$i = 0, $call194$i = 0, $call203$i = 0, $ci$0166$i = 0, $ci$1163$i = 0, $comp_info$i = 0, $compptr$0167$i = 0, $compptr$1164$i = 0, $comps_in_scan = 0, $data_precision$i = 0, $eoi_reached = 0, $h_samp_factor$i = 0, $h_samp_factor174$i = 0, $has_multiple_scans = 0, $image_height$i = 0, $image_width$i = 0, $inc196$i = 0, $inheaders = 0, $inputctl1 = 0, $is_baseline$i = 0, $lim_Se$i = 0, $marker = 0, $max_h_samp_factor$i = 0, $max_v_samp_factor$i = 0, $min_DCT_h_scaled_size$i = 0, $min_DCT_v_scaled_size$i = 0, $mul$i = 0, $mul180$i = 0, $mul187$i = 0, $mul192$i = 0, $natural_order$i = 0, $num_components$i = 0, $output_scan_number = 0, $progressive_mode$i = 0, $retval$0 = 0, $total_iMCU_rows$i = 0, $v_samp_factor179$i = 0, label = 0; + $inputctl1 = $cinfo + 460 | 0; + $0 = HEAP32[$inputctl1 >> 2] | 0; + $eoi_reached = $0 + 20 | 0; + if (HEAP32[$eoi_reached >> 2] | 0) { + $retval$0 = 2; + return $retval$0 | 0; + } + $marker = $cinfo + 464 | 0; + $inheaders = $0 + 24 | 0; + $comps_in_scan = $cinfo + 340 | 0; + $has_multiple_scans = $0 + 16 | 0; + $image_height$i = $cinfo + 32 | 0; + $data_precision$i = $cinfo + 212 | 0; + $image_width$i = $cinfo + 28 | 0; + $num_components$i = $cinfo + 36 | 0; + $max_h_samp_factor$i = $cinfo + 316 | 0; + $max_v_samp_factor$i = $cinfo + 320 | 0; + $comp_info$i = $cinfo + 216 | 0; + $is_baseline$i = $cinfo + 220 | 0; + $progressive_mode$i = $cinfo + 224 | 0; + $min_DCT_h_scaled_size$i = $cinfo + 324 | 0; + $min_DCT_v_scaled_size$i = $cinfo + 328 | 0; + $block_size$i = $cinfo + 428 | 0; + $natural_order$i = $cinfo + 432 | 0; + $lim_Se$i = $cinfo + 436 | 0; + $Se$i = $cinfo + 416 | 0; + $total_iMCU_rows$i = $cinfo + 332 | 0; + $Ss$i = $cinfo + 412 | 0; + $Ah$i = $cinfo + 420 | 0; + $Al$i = $cinfo + 424 | 0; + L4 : while (1) { + $call = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$marker >> 2] | 0) + 4 >> 2] & 127]($cinfo) | 0; + switch ($call | 0) { + case 2: + { + label = 58; + break L4; + break; + } + case 1: + break; + default: + { + $retval$0 = $call; + label = 63; break L4; } } - L7 : do switch (HEAP32[$7 >> 2] | 0) { + L7 : do switch (HEAP32[$inheaders >> 2] | 0) { case 0: { - if (!(HEAP32[$9 >> 2] | 0)) { - $163 = HEAP32[$0 >> 2] | 0; - HEAP32[$163 + 20 >> 2] = 36; - FUNCTION_TABLE_vi[HEAP32[$163 >> 2] & 255]($0); + if (!(HEAP32[$has_multiple_scans >> 2] | 0)) { + $75 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$75 + 20 >> 2] = 36; + FUNCTION_TABLE_vi[HEAP32[$75 >> 2] & 255]($cinfo); } - if (HEAP32[$8 >> 2] | 0) { + if (HEAP32[$comps_in_scan >> 2] | 0) { label = 57; break L4; } @@ -30213,1041 +29075,1493 @@ function _consume_markers($0) { } case 1: { - if ((HEAP32[$10 >> 2] | 0) <= 65500 ? (HEAP32[$12 >> 2] | 0) <= 65500 : 0) {} else { - $38 = HEAP32[$0 >> 2] | 0; - HEAP32[$38 + 20 >> 2] = 42; - HEAP32[$38 + 24 >> 2] = 65500; - FUNCTION_TABLE_vi[HEAP32[HEAP32[$0 >> 2] >> 2] & 255]($0); - } - $43 = HEAP32[$11 >> 2] | 0; - if (($43 + -8 | 0) >>> 0 > 4) { - $45 = HEAP32[$0 >> 2] | 0; - HEAP32[$45 + 20 >> 2] = 16; - HEAP32[$45 + 24 >> 2] = $43; - FUNCTION_TABLE_vi[HEAP32[HEAP32[$0 >> 2] >> 2] & 255]($0); - } - $50 = HEAP32[$13 >> 2] | 0; - if (($50 | 0) > 10) { - $52 = HEAP32[$0 >> 2] | 0; - HEAP32[$52 + 20 >> 2] = 27; - HEAP32[$52 + 24 >> 2] = $50; - HEAP32[(HEAP32[$0 >> 2] | 0) + 28 >> 2] = 10; - FUNCTION_TABLE_vi[HEAP32[HEAP32[$0 >> 2] >> 2] & 255]($0); - $60 = HEAP32[$13 >> 2] | 0; - } else $60 = $50; - HEAP32[$14 >> 2] = 1; - HEAP32[$15 >> 2] = 1; - if (($60 | 0) > 0) { - $$0160168$i = 0; - $$0169$i = HEAP32[$16 >> 2] | 0; - $183 = $60; - $184 = 1; - $185 = 1; + if ((HEAP32[$image_height$i >> 2] | 0) <= 65500 ? (HEAP32[$image_width$i >> 2] | 0) <= 65500 : 0) {} else { + $7 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$7 + 20 >> 2] = 42; + HEAP32[$7 + 24 >> 2] = 65500; + FUNCTION_TABLE_vi[HEAP32[HEAP32[$cinfo >> 2] >> 2] & 255]($cinfo); + } + $10 = HEAP32[$data_precision$i >> 2] | 0; + if (($10 + -8 | 0) >>> 0 > 4) { + $12 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$12 + 20 >> 2] = 16; + HEAP32[$12 + 24 >> 2] = $10; + FUNCTION_TABLE_vi[HEAP32[HEAP32[$cinfo >> 2] >> 2] & 255]($cinfo); + } + $15 = HEAP32[$num_components$i >> 2] | 0; + if (($15 | 0) > 10) { + $16 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$16 + 20 >> 2] = 27; + HEAP32[$16 + 24 >> 2] = $15; + HEAP32[(HEAP32[$cinfo >> 2] | 0) + 28 >> 2] = 10; + FUNCTION_TABLE_vi[HEAP32[HEAP32[$cinfo >> 2] >> 2] & 255]($cinfo); + $20 = HEAP32[$num_components$i >> 2] | 0; + } else $20 = $15; + HEAP32[$max_h_samp_factor$i >> 2] = 1; + HEAP32[$max_v_samp_factor$i >> 2] = 1; + if (($20 | 0) > 0) { + $86 = $20; + $87 = 1; + $88 = 1; + $ci$0166$i = 0; + $compptr$0167$i = HEAP32[$comp_info$i >> 2] | 0; while (1) { - $62 = $$0169$i + 8 | 0; - $63 = HEAP32[$62 >> 2] | 0; - $$pre183$i = $$0169$i + 12 | 0; - if (($63 + -1 | 0) >>> 0 <= 3 ? ($65 = HEAP32[$$pre183$i >> 2] | 0, ($65 + -1 | 0) >>> 0 <= 3) : 0) { - $71 = $185; - $72 = $63; - $74 = $184; - $75 = $65; - $80 = $183; + $h_samp_factor$i = $compptr$0167$i + 8 | 0; + $22 = HEAP32[$h_samp_factor$i >> 2] | 0; + $$pre175$i = $compptr$0167$i + 12 | 0; + if (($22 + -1 | 0) >>> 0 <= 3 ? ($24 = HEAP32[$$pre175$i >> 2] | 0, ($24 + -1 | 0) >>> 0 <= 3) : 0) { + $28 = $88; + $29 = $22; + $30 = $87; + $31 = $24; + $32 = $86; } else { - $67 = HEAP32[$0 >> 2] | 0; - HEAP32[$67 + 20 >> 2] = 19; - FUNCTION_TABLE_vi[HEAP32[$67 >> 2] & 255]($0); - $71 = HEAP32[$14 >> 2] | 0; - $72 = HEAP32[$62 >> 2] | 0; - $74 = HEAP32[$15 >> 2] | 0; - $75 = HEAP32[$$pre183$i >> 2] | 0; - $80 = HEAP32[$13 >> 2] | 0; - } - $185 = ($71 | 0) > ($72 | 0) ? $71 : $72; - HEAP32[$14 >> 2] = $185; - $184 = ($74 | 0) > ($75 | 0) ? $74 : $75; - HEAP32[$15 >> 2] = $184; - $$0160168$i = $$0160168$i + 1 | 0; - if (($$0160168$i | 0) >= ($80 | 0)) { - $182 = $80; + $26 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$26 + 20 >> 2] = 19; + FUNCTION_TABLE_vi[HEAP32[$26 >> 2] & 255]($cinfo); + $28 = HEAP32[$max_h_samp_factor$i >> 2] | 0; + $29 = HEAP32[$h_samp_factor$i >> 2] | 0; + $30 = HEAP32[$max_v_samp_factor$i >> 2] | 0; + $31 = HEAP32[$$pre175$i >> 2] | 0; + $32 = HEAP32[$num_components$i >> 2] | 0; + } + $88 = ($28 | 0) > ($29 | 0) ? $28 : $29; + HEAP32[$max_h_samp_factor$i >> 2] = $88; + $87 = ($30 | 0) > ($31 | 0) ? $30 : $31; + HEAP32[$max_v_samp_factor$i >> 2] = $87; + $ci$0166$i = $ci$0166$i + 1 | 0; + if (($ci$0166$i | 0) >= ($32 | 0)) { + $85 = $32; break; } else { - $$0169$i = $$0169$i + 88 | 0; - $183 = $80; + $86 = $32; + $compptr$0167$i = $compptr$0167$i + 88 | 0; } } - } else $182 = $60; - L35 : do if (!(HEAP32[$17 >> 2] | 0)) { - if (HEAP32[$18 >> 2] | 0 ? HEAP32[$8 >> 2] | 0 : 0) { + } else $85 = $20; + L35 : do if (!(HEAP32[$is_baseline$i >> 2] | 0)) { + if (HEAP32[$progressive_mode$i >> 2] | 0 ? HEAP32[$comps_in_scan >> 2] | 0 : 0) { label = 22; break; } - do switch (HEAP32[$24 >> 2] | 0) { + do switch (HEAP32[$Se$i >> 2] | 0) { case 0: { - HEAP32[$21 >> 2] = 1; - HEAP32[$22 >> 2] = 2576; - HEAP32[$23 >> 2] = 0; - $103 = 1; - $105 = $182; + HEAP32[$block_size$i >> 2] = 1; + HEAP32[$natural_order$i >> 2] = 2064; + HEAP32[$lim_Se$i >> 2] = 0; + $47 = 1; + $48 = $85; break L35; break; } case 3: { - HEAP32[$21 >> 2] = 2; - HEAP32[$22 >> 2] = 3792; - HEAP32[$23 >> 2] = 3; - $103 = 2; - $105 = $182; + HEAP32[$block_size$i >> 2] = 2; + HEAP32[$natural_order$i >> 2] = 3280; + HEAP32[$lim_Se$i >> 2] = 3; + $47 = 2; + $48 = $85; break L35; break; } case 8: { - HEAP32[$21 >> 2] = 3; - HEAP32[$22 >> 2] = 3680; - HEAP32[$23 >> 2] = 8; - $103 = 3; - $105 = $182; + HEAP32[$block_size$i >> 2] = 3; + HEAP32[$natural_order$i >> 2] = 3168; + HEAP32[$lim_Se$i >> 2] = 8; + $47 = 3; + $48 = $85; break L35; break; } case 15: { - HEAP32[$21 >> 2] = 4; - HEAP32[$22 >> 2] = 3552; - HEAP32[$23 >> 2] = 15; - $103 = 4; - $105 = $182; + HEAP32[$block_size$i >> 2] = 4; + HEAP32[$natural_order$i >> 2] = 3040; + HEAP32[$lim_Se$i >> 2] = 15; + $47 = 4; + $48 = $85; break L35; break; } case 24: { - HEAP32[$21 >> 2] = 5; - HEAP32[$22 >> 2] = 3376; - HEAP32[$23 >> 2] = 24; - $103 = 5; - $105 = $182; + HEAP32[$block_size$i >> 2] = 5; + HEAP32[$natural_order$i >> 2] = 2864; + HEAP32[$lim_Se$i >> 2] = 24; + $47 = 5; + $48 = $85; break L35; break; } case 35: { - HEAP32[$21 >> 2] = 6; - HEAP32[$22 >> 2] = 3168; - HEAP32[$23 >> 2] = 35; - $103 = 6; - $105 = $182; + HEAP32[$block_size$i >> 2] = 6; + HEAP32[$natural_order$i >> 2] = 2656; + HEAP32[$lim_Se$i >> 2] = 35; + $47 = 6; + $48 = $85; break L35; break; } case 48: { - HEAP32[$21 >> 2] = 7; - HEAP32[$22 >> 2] = 2896; - HEAP32[$23 >> 2] = 48; - $103 = 7; - $105 = $182; + HEAP32[$block_size$i >> 2] = 7; + HEAP32[$natural_order$i >> 2] = 2384; + HEAP32[$lim_Se$i >> 2] = 48; + $47 = 7; + $48 = $85; break L35; break; } case 63: { - HEAP32[$21 >> 2] = 8; - HEAP32[$22 >> 2] = 2576; - HEAP32[$23 >> 2] = 63; - $103 = 8; - $105 = $182; + HEAP32[$block_size$i >> 2] = 8; + HEAP32[$natural_order$i >> 2] = 2064; + HEAP32[$lim_Se$i >> 2] = 63; + $47 = 8; + $48 = $85; break L35; break; } case 80: { - HEAP32[$21 >> 2] = 9; - HEAP32[$22 >> 2] = 2576; - HEAP32[$23 >> 2] = 63; - $103 = 9; - $105 = $182; + HEAP32[$block_size$i >> 2] = 9; + HEAP32[$natural_order$i >> 2] = 2064; + HEAP32[$lim_Se$i >> 2] = 63; + $47 = 9; + $48 = $85; break L35; break; } case 99: { - HEAP32[$21 >> 2] = 10; - HEAP32[$22 >> 2] = 2576; - HEAP32[$23 >> 2] = 63; - $103 = 10; - $105 = $182; + HEAP32[$block_size$i >> 2] = 10; + HEAP32[$natural_order$i >> 2] = 2064; + HEAP32[$lim_Se$i >> 2] = 63; + $47 = 10; + $48 = $85; break L35; break; } case 120: { - HEAP32[$21 >> 2] = 11; - HEAP32[$22 >> 2] = 2576; - HEAP32[$23 >> 2] = 63; - $103 = 11; - $105 = $182; + HEAP32[$block_size$i >> 2] = 11; + HEAP32[$natural_order$i >> 2] = 2064; + HEAP32[$lim_Se$i >> 2] = 63; + $47 = 11; + $48 = $85; break L35; break; } case 143: { - HEAP32[$21 >> 2] = 12; - HEAP32[$22 >> 2] = 2576; - HEAP32[$23 >> 2] = 63; - $103 = 12; - $105 = $182; + HEAP32[$block_size$i >> 2] = 12; + HEAP32[$natural_order$i >> 2] = 2064; + HEAP32[$lim_Se$i >> 2] = 63; + $47 = 12; + $48 = $85; break L35; break; } case 168: { - HEAP32[$21 >> 2] = 13; - HEAP32[$22 >> 2] = 2576; - HEAP32[$23 >> 2] = 63; - $103 = 13; - $105 = $182; + HEAP32[$block_size$i >> 2] = 13; + HEAP32[$natural_order$i >> 2] = 2064; + HEAP32[$lim_Se$i >> 2] = 63; + $47 = 13; + $48 = $85; break L35; break; } case 195: { - HEAP32[$21 >> 2] = 14; - HEAP32[$22 >> 2] = 2576; - HEAP32[$23 >> 2] = 63; - $103 = 14; - $105 = $182; + HEAP32[$block_size$i >> 2] = 14; + HEAP32[$natural_order$i >> 2] = 2064; + HEAP32[$lim_Se$i >> 2] = 63; + $47 = 14; + $48 = $85; break L35; break; } case 224: { - HEAP32[$21 >> 2] = 15; - HEAP32[$22 >> 2] = 2576; - HEAP32[$23 >> 2] = 63; - $103 = 15; - $105 = $182; + HEAP32[$block_size$i >> 2] = 15; + HEAP32[$natural_order$i >> 2] = 2064; + HEAP32[$lim_Se$i >> 2] = 63; + $47 = 15; + $48 = $85; break L35; break; } case 255: { - HEAP32[$21 >> 2] = 16; - HEAP32[$22 >> 2] = 2576; - HEAP32[$23 >> 2] = 63; - $103 = 16; - $105 = $182; + HEAP32[$block_size$i >> 2] = 16; + HEAP32[$natural_order$i >> 2] = 2064; + HEAP32[$lim_Se$i >> 2] = 63; + $47 = 16; + $48 = $85; break L35; break; } default: { - $88 = HEAP32[$0 >> 2] | 0; - HEAP32[$88 + 20 >> 2] = 17; - HEAP32[$88 + 24 >> 2] = HEAP32[$26 >> 2]; - HEAP32[(HEAP32[$0 >> 2] | 0) + 28 >> 2] = HEAP32[$24 >> 2]; - HEAP32[(HEAP32[$0 >> 2] | 0) + 32 >> 2] = HEAP32[$27 >> 2]; - HEAP32[(HEAP32[$0 >> 2] | 0) + 36 >> 2] = HEAP32[$28 >> 2]; - FUNCTION_TABLE_vi[HEAP32[HEAP32[$0 >> 2] >> 2] & 255]($0); - $103 = HEAP32[$21 >> 2] | 0; - $105 = HEAP32[$13 >> 2] | 0; + $37 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$37 + 20 >> 2] = 17; + HEAP32[$37 + 24 >> 2] = HEAP32[$Ss$i >> 2]; + HEAP32[(HEAP32[$cinfo >> 2] | 0) + 28 >> 2] = HEAP32[$Se$i >> 2]; + HEAP32[(HEAP32[$cinfo >> 2] | 0) + 32 >> 2] = HEAP32[$Ah$i >> 2]; + HEAP32[(HEAP32[$cinfo >> 2] | 0) + 36 >> 2] = HEAP32[$Al$i >> 2]; + FUNCTION_TABLE_vi[HEAP32[HEAP32[$cinfo >> 2] >> 2] & 255]($cinfo); + $47 = HEAP32[$block_size$i >> 2] | 0; + $48 = HEAP32[$num_components$i >> 2] | 0; break L35; } } while (0); } else label = 22; while (0); if ((label | 0) == 22) { label = 0; - HEAP32[$21 >> 2] = 8; - HEAP32[$22 >> 2] = 2576; - HEAP32[$23 >> 2] = 63; - $103 = 8; - $105 = $182; - } - HEAP32[$19 >> 2] = $103; - HEAP32[$20 >> 2] = $103; - if (($105 | 0) > 0) { - $$1161166$i = 0; - $$1167$i = HEAP32[$16 >> 2] | 0; - $108 = $103; + HEAP32[$block_size$i >> 2] = 8; + HEAP32[$natural_order$i >> 2] = 2064; + HEAP32[$lim_Se$i >> 2] = 63; + $47 = 8; + $48 = $85; + } + HEAP32[$min_DCT_h_scaled_size$i >> 2] = $47; + HEAP32[$min_DCT_v_scaled_size$i >> 2] = $47; + if (($48 | 0) > 0) { + $50 = $47; + $ci$1163$i = 0; + $compptr$1164$i = HEAP32[$comp_info$i >> 2] | 0; while (1) { - HEAP32[$$1167$i + 36 >> 2] = $108; - HEAP32[$$1167$i + 40 >> 2] = $108; - $111 = $$1167$i + 8 | 0; - $113 = Math_imul(HEAP32[$111 >> 2] | 0, HEAP32[$12 >> 2] | 0) | 0; - $116 = _jdiv_round_up($113, Math_imul(HEAP32[$14 >> 2] | 0, $108) | 0) | 0; - HEAP32[$$1167$i + 28 >> 2] = $116; - $119 = $$1167$i + 12 | 0; - $121 = Math_imul(HEAP32[$119 >> 2] | 0, HEAP32[$10 >> 2] | 0) | 0; - $125 = _jdiv_round_up($121, Math_imul(HEAP32[$21 >> 2] | 0, HEAP32[$15 >> 2] | 0) | 0) | 0; - HEAP32[$$1167$i + 32 >> 2] = $125; - $129 = Math_imul(HEAP32[$111 >> 2] | 0, HEAP32[$12 >> 2] | 0) | 0; - $131 = _jdiv_round_up($129, HEAP32[$14 >> 2] | 0) | 0; - HEAP32[$$1167$i + 44 >> 2] = $131; - $135 = Math_imul(HEAP32[$119 >> 2] | 0, HEAP32[$10 >> 2] | 0) | 0; - $137 = _jdiv_round_up($135, HEAP32[$15 >> 2] | 0) | 0; - HEAP32[$$1167$i + 48 >> 2] = $137; - HEAP32[$$1167$i + 52 >> 2] = 1; - HEAP32[$$1167$i + 80 >> 2] = 0; - $141 = $$1161166$i + 1 | 0; - if (($141 | 0) >= (HEAP32[$13 >> 2] | 0)) break; - $$1161166$i = $141; - $$1167$i = $$1167$i + 88 | 0; - $108 = HEAP32[$21 >> 2] | 0; - } - $148 = HEAP32[$21 >> 2] | 0; - } else $148 = $103; - $149 = _jdiv_round_up(HEAP32[$10 >> 2] | 0, Math_imul($148, HEAP32[$15 >> 2] | 0) | 0) | 0; - HEAP32[$25 >> 2] = $149; - $150 = HEAP32[$8 >> 2] | 0; - if (($150 | 0) >= (HEAP32[$13 >> 2] | 0) ? (HEAP32[$18 >> 2] | 0) == 0 : 0) { - HEAP32[(HEAP32[$1 >> 2] | 0) + 16 >> 2] = 0; - $160 = $150; + HEAP32[$compptr$1164$i + 36 >> 2] = $50; + HEAP32[$compptr$1164$i + 40 >> 2] = $50; + $h_samp_factor174$i = $compptr$1164$i + 8 | 0; + $mul$i = Math_imul(HEAP32[$h_samp_factor174$i >> 2] | 0, HEAP32[$image_width$i >> 2] | 0) | 0; + $call$i = _jdiv_round_up($mul$i, Math_imul(HEAP32[$max_h_samp_factor$i >> 2] | 0, $50) | 0) | 0; + HEAP32[$compptr$1164$i + 28 >> 2] = $call$i; + $v_samp_factor179$i = $compptr$1164$i + 12 | 0; + $mul180$i = Math_imul(HEAP32[$v_samp_factor179$i >> 2] | 0, HEAP32[$image_height$i >> 2] | 0) | 0; + $call184$i = _jdiv_round_up($mul180$i, Math_imul(HEAP32[$block_size$i >> 2] | 0, HEAP32[$max_v_samp_factor$i >> 2] | 0) | 0) | 0; + HEAP32[$compptr$1164$i + 32 >> 2] = $call184$i; + $mul187$i = Math_imul(HEAP32[$h_samp_factor174$i >> 2] | 0, HEAP32[$image_width$i >> 2] | 0) | 0; + $call189$i = _jdiv_round_up($mul187$i, HEAP32[$max_h_samp_factor$i >> 2] | 0) | 0; + HEAP32[$compptr$1164$i + 44 >> 2] = $call189$i; + $mul192$i = Math_imul(HEAP32[$v_samp_factor179$i >> 2] | 0, HEAP32[$image_height$i >> 2] | 0) | 0; + $call194$i = _jdiv_round_up($mul192$i, HEAP32[$max_v_samp_factor$i >> 2] | 0) | 0; + HEAP32[$compptr$1164$i + 48 >> 2] = $call194$i; + HEAP32[$compptr$1164$i + 52 >> 2] = 1; + HEAP32[$compptr$1164$i + 80 >> 2] = 0; + $inc196$i = $ci$1163$i + 1 | 0; + if (($inc196$i | 0) >= (HEAP32[$num_components$i >> 2] | 0)) break; + $50 = HEAP32[$block_size$i >> 2] | 0; + $ci$1163$i = $inc196$i; + $compptr$1164$i = $compptr$1164$i + 88 | 0; + } + $67 = HEAP32[$block_size$i >> 2] | 0; + } else $67 = $47; + $call203$i = _jdiv_round_up(HEAP32[$image_height$i >> 2] | 0, Math_imul($67, HEAP32[$max_v_samp_factor$i >> 2] | 0) | 0) | 0; + HEAP32[$total_iMCU_rows$i >> 2] = $call203$i; + $68 = HEAP32[$comps_in_scan >> 2] | 0; + if (($68 | 0) >= (HEAP32[$num_components$i >> 2] | 0) ? (HEAP32[$progressive_mode$i >> 2] | 0) == 0 : 0) { + HEAP32[(HEAP32[$inputctl1 >> 2] | 0) + 16 >> 2] = 0; + $73 = $68; label = 50; break L7; } - HEAP32[(HEAP32[$1 >> 2] | 0) + 16 >> 2] = 1; - $160 = $150; + HEAP32[(HEAP32[$inputctl1 >> 2] | 0) + 16 >> 2] = 1; + $73 = $68; label = 50; break; } default: { - $160 = HEAP32[$8 >> 2] | 0; + $73 = HEAP32[$comps_in_scan >> 2] | 0; label = 50; } } while (0); if ((label | 0) == 50) { label = 0; - if ($160 | 0) { + if ($73 | 0) { label = 52; break; } - HEAP32[$7 >> 2] = 2; + HEAP32[$inheaders >> 2] = 2; } } if ((label | 0) == 52) { - HEAP32[$7 >> 2] = 0; - $$0 = 1; - return $$0 | 0; + HEAP32[$inheaders >> 2] = 0; + $retval$0 = 1; + return $retval$0 | 0; } else if ((label | 0) == 57) { - _start_input_pass_79($0); - $$0 = 1; - return $$0 | 0; + _start_input_pass_84($cinfo); + $retval$0 = 1; + return $retval$0 | 0; } else if ((label | 0) == 58) { - HEAP32[$3 >> 2] = 1; - if (!(HEAP32[$7 >> 2] | 0)) { - $177 = $0 + 152 | 0; - $180 = HEAP32[$0 + 144 >> 2] | 0; - if ((HEAP32[$177 >> 2] | 0) <= ($180 | 0)) { - $$0 = 2; - return $$0 | 0; - } - HEAP32[$177 >> 2] = $180; - $$0 = 2; - return $$0 | 0; + HEAP32[$eoi_reached >> 2] = 1; + if (!(HEAP32[$inheaders >> 2] | 0)) { + $output_scan_number = $cinfo + 152 | 0; + $84 = HEAP32[$cinfo + 144 >> 2] | 0; + if ((HEAP32[$output_scan_number >> 2] | 0) <= ($84 | 0)) { + $retval$0 = 2; + return $retval$0 | 0; + } + HEAP32[$output_scan_number >> 2] = $84; + $retval$0 = 2; + return $retval$0 | 0; } else { - if (!(HEAP32[(HEAP32[$6 >> 2] | 0) + 16 >> 2] | 0)) { - $$0 = 2; - return $$0 | 0; + if (!(HEAP32[(HEAP32[$marker >> 2] | 0) + 16 >> 2] | 0)) { + $retval$0 = 2; + return $retval$0 | 0; } - $174 = HEAP32[$0 >> 2] | 0; - HEAP32[$174 + 20 >> 2] = 62; - FUNCTION_TABLE_vi[HEAP32[$174 >> 2] & 255]($0); - $$0 = 2; - return $$0 | 0; + $81 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$81 + 20 >> 2] = 62; + FUNCTION_TABLE_vi[HEAP32[$81 >> 2] & 255]($cinfo); + $retval$0 = 2; + return $retval$0 | 0; } - } else if ((label | 0) == 63) return $$0 | 0; + } else if ((label | 0) == 63) return $retval$0 | 0; return 0; } - -function __ZNSt3__211__money_putIwE13__gather_infoEbbRKNS_6localeERNS_10money_base7patternERwS8_RNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEERNS9_IwNSA_IwEENSC_IwEEEESJ_Ri($0, $1, $2, $3, $4, $5, $6, $7, $8, $9) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - $6 = $6 | 0; - $7 = $7 | 0; - $8 = $8 | 0; - $9 = $9 | 0; - var $$0$i$i$i = 0, $$0$i$i$i51 = 0, $$0$i$i$i55 = 0, $$0$i$i$i62 = 0, $$0$i$i$i70 = 0, $$0$i$i$i78 = 0, $$0$i$i$i86 = 0, $$0$i$i$i94 = 0, $10 = 0, $101 = 0, $102 = 0, $105 = 0, $11 = 0, $116 = 0, $12 = 0, $120 = 0, $121 = 0, $124 = 0, $135 = 0, $139 = 0, $143 = 0, $146 = 0, $150 = 0, $158 = 0, $159 = 0, $16 = 0, $162 = 0, $20 = 0, $21 = 0, $24 = 0, $35 = 0, $39 = 0, $40 = 0, $43 = 0, $54 = 0, $58 = 0, $62 = 0, $65 = 0, $69 = 0, $77 = 0, $78 = 0, $81 = 0, $93 = 0, $97 = 0, $storemerge = 0, sp = 0; +function __ZN6vision21OrientationAssignment7computeEPfRiiifff($this, $angles, $num_angles, $octave, $scale, $x, $y, $sigma) { + $this = $this | 0; + $angles = $angles | 0; + $num_angles = $num_angles | 0; + $octave = $octave | 0; + $scale = $scale | 0; + $x = +$x; + $y = +$y; + $sigma = +$sigma; + var $$pre = 0, $13 = 0.0, $14 = 0, $16 = 0, $21 = 0, $22 = 0, $25 = 0.0, $27 = 0, $28 = 0, $29 = 0, $30 = 0, $31 = 0, $34 = 0.0, $35 = 0.0, $42 = 0, $A = 0, $B = 0, $C = 0, $__begin_$i = 0, $__begin_$i145 = 0, $add = 0, $add130 = 0.0, $add219 = 0, $add40 = 0, $add58 = 0, $arrayidx = 0, $arrayidx$i130 = 0, $arrayidx$i168 = 0, $arrayinit$element = 0, $arrayinit$element211 = 0, $arrayinit$element221 = 0, $call$i1$i$i = 0, $call$i1$i$i104 = 0, $call$i1$i$i120 = 0, $call$i1$i$i136 = 0, $call$i1$i$i158 = 0, $call$i1$i$i90 = 0, $call$i2$i$i = 0, $call$i2$i$i107 = 0, $call$i2$i$i123 = 0, $call$i2$i$i139 = 0, $call$i2$i$i161 = 0, $call$i2$i$i93 = 0, $call107 = 0, $call110 = 0, $call111 = 0, $call114 = 0, $call121 = 0.0, $call122 = 0, $call138 = 0.0, $call18 = 0, $call194 = 0, $call31 = 0, $call51 = 0, $call6 = 0, $call70 = 0, $call90 = 0.0, $conv205 = 0.0, $conv251 = 0.0, $conv76 = 0, $conv78 = 0, $conv97 = 0, $div = 0.0, $fbin241 = 0, $i$0 = 0, $i199$0 = 0, $iter$0 = 0, $mNumBins = 0, $mNumScalesPerOctave = 0, $mNumSmoothingIterations = 0, $mPeakThreshold = 0, $max_height$0 = 0.0, $mul93 = 0.0, $pm1 = 0, $pp1 = 0, $ref$tmp$i$i153 = 0, $sub209 = 0, $xp$0 = 0, $yp$0 = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $10 = sp + 12 | 0; - $11 = sp; - if ($0) { - $12 = __ZNKSt3__26locale9use_facetERNS0_2idE($2, 66760) | 0; - if ($1) { - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$12 >> 2] | 0) + 44 >> 2] & 255]($10, $12); - $16 = HEAP32[$10 >> 2] | 0; - HEAP8[$3 >> 0] = $16; - HEAP8[$3 + 1 >> 0] = $16 >> 8; - HEAP8[$3 + 2 >> 0] = $16 >> 16; - HEAP8[$3 + 3 >> 0] = $16 >> 24; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$12 >> 2] | 0) + 32 >> 2] & 255]($11, $12); - $20 = $8 + 8 | 0; - $21 = $20 + 3 | 0; - if ((HEAP8[$21 >> 0] | 0) < 0) { - $24 = HEAP32[$8 >> 2] | 0; - HEAP32[$10 >> 2] = 0; - __ZNSt3__211char_traitsIwE6assignERwRKw($24, $10); - HEAP32[$8 + 4 >> 2] = 0; - if ((HEAP8[$21 >> 0] | 0) < 0) { - __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm(HEAP32[$8 >> 2] | 0, HEAP32[$20 >> 2] << 2); - HEAP32[$20 >> 2] = 0; + STACKTOP = STACKTOP + 48 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); + $ref$tmp$i$i153 = sp + 32 | 0; + $pm1 = sp + 24 | 0; + $pp1 = sp + 16 | 0; + $A = sp + 12 | 0; + $B = sp + 8 | 0; + $C = sp + 4 | 0; + $fbin241 = sp; + if (!($x >= 0.0)) { + $call6 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 32275) | 0, 32107) | 0, 39794) | 0, 119) | 0, 39801) | 0, 32305) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i$i153, $call6 + (HEAP32[(HEAP32[$call6 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i$i = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i$i153, 67360) | 0; + $call$i2$i$i = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i$i >> 2] | 0) + 28 >> 2] & 127]($call$i1$i$i, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i$i153); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call6, $call$i2$i$i) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call6) | 0; + _abort(); + } + $mNumScalesPerOctave = $this + 4 | 0; + $add = (Math_imul(HEAP32[$mNumScalesPerOctave >> 2] | 0, $octave) | 0) + $scale | 0; + $__begin_$i = $this + 40 | 0; + if (!(+((__ZNK6vision5Image5widthEv((HEAP32[$__begin_$i >> 2] | 0) + ($add << 5) | 0) | 0) >>> 0) > $x)) { + $call18 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 32324) | 0, 32107) | 0, 39794) | 0, 120) | 0, 39801) | 0, 32404) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i$i153, $call18 + (HEAP32[(HEAP32[$call18 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i$i90 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i$i153, 67360) | 0; + $call$i2$i$i93 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i$i90 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i$i90, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i$i153); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call18, $call$i2$i$i93) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call18) | 0; + _abort(); + } + if (!($y >= 0.0)) { + $call31 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 32440) | 0, 32107) | 0, 39794) | 0, 121) | 0, 39801) | 0, 32470) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i$i153, $call31 + (HEAP32[(HEAP32[$call31 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i$i104 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i$i153, 67360) | 0; + $call$i2$i$i107 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i$i104 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i$i104, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i$i153); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call31, $call$i2$i$i107) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call31) | 0; + _abort(); + } + $add40 = (Math_imul(HEAP32[$mNumScalesPerOctave >> 2] | 0, $octave) | 0) + $scale | 0; + if (!(+((__ZNK6vision5Image6heightEv((HEAP32[$__begin_$i >> 2] | 0) + ($add40 << 5) | 0) | 0) >>> 0) > $y)) { + $call51 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 32489) | 0, 32107) | 0, 39794) | 0, 122) | 0, 39801) | 0, 32570) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i$i153, $call51 + (HEAP32[(HEAP32[$call51 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i$i120 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i$i153, 67360) | 0; + $call$i2$i$i123 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i$i120 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i$i120, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i$i153); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call51, $call$i2$i$i123) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call51) | 0; + _abort(); + } + $add58 = (Math_imul(HEAP32[$mNumScalesPerOctave >> 2] | 0, $octave) | 0) + $scale | 0; + $arrayidx$i130 = (HEAP32[$__begin_$i >> 2] | 0) + ($add58 << 5) | 0; + if ((__ZNK6vision5Image8channelsEv($arrayidx$i130) | 0) != 2) { + $call70 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 32607) | 0, 32107) | 0, 39794) | 0, 126) | 0, 39801) | 0, 32648) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i$i153, $call70 + (HEAP32[(HEAP32[$call70 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i$i136 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i$i153, 67360) | 0; + $call$i2$i$i139 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i$i136 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i$i136, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i$i153); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call70, $call$i2$i$i139) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call70) | 0; + _abort(); + } + HEAP32[$num_angles >> 2] = 0; + $conv76 = ~~($x + .5); + $conv78 = ~~($y + .5); + L16 : do if ((($conv76 | 0) >= 0 ? !(($conv78 | 0) < 0 | (__ZNK6vision5Image5widthEv($arrayidx$i130) | 0) >>> 0 <= $conv76 >>> 0) : 0) ? (__ZNK6vision5Image6heightEv($arrayidx$i130) | 0) >>> 0 > $conv78 >>> 0 : 0) { + $call90 = +__ZN6vision4max2IfEET_S1_S1_(1.0, +HEAPF32[$this + 12 >> 2] * $sigma); + $div = -1.0 / (+__ZN6vision3sqrIfEET_S1_($call90) * 2.0); + $mul93 = $call90 * +HEAPF32[$this + 16 >> 2]; + $13 = +Math_ceil(+(+__ZN6vision3sqrIfEET_S1_($mul93))); + $conv97 = ~~($mul93 + .5); + $call107 = __ZN6vision4max2IiEET_S1_S1_(0, $conv76 - $conv97 | 0) | 0; + $call110 = __ZN6vision4min2IiEET_S1_S1_($conv97 + $conv76 | 0, (__ZNK6vision5Image5widthEv($arrayidx$i130) | 0) + -1 | 0) | 0; + $call111 = __ZN6vision4max2IiEET_S1_S1_(0, $conv78 - $conv97 | 0) | 0; + $call114 = __ZN6vision4min2IiEET_S1_S1_($conv97 + $conv78 | 0, (__ZNK6vision5Image6heightEv($arrayidx$i130) | 0) + -1 | 0) | 0; + $__begin_$i145 = $this + 28 | 0; + $14 = HEAP32[$__begin_$i145 >> 2] | 0; + __ZN6vision10ZeroVectorIfEEvPT_m($14, (HEAP32[$this + 32 >> 2] | 0) - $14 >> 2); + $mNumBins = $this + 8 | 0; + $yp$0 = $call111; + while (1) { + if (($yp$0 | 0) > ($call114 | 0)) break; + $call121 = +__ZN6vision3sqrIfEET_S1_(+($yp$0 | 0) - $y); + $call122 = __ZNK6vision5Image3getIfEEPKT_m($arrayidx$i130, $yp$0) | 0; + $xp$0 = $call107; + while (1) { + if (($xp$0 | 0) > ($call110 | 0)) break; + $add130 = $call121 + +__ZN6vision3sqrIfEET_S1_(+($xp$0 | 0) - $x); + if (!($add130 > $13)) { + $arrayidx = $call122 + ($xp$0 << 1 << 2) | 0; + $call138 = +__ZN6vision8fastexp6IfEET_S1_($div * $add130); + $16 = HEAP32[$mNumBins >> 2] | 0; + __ZN6vision25bilinear_histogram_updateEPfffi(HEAP32[$__begin_$i145 >> 2] | 0, +HEAPF32[$arrayidx >> 2] * +($16 | 0) * .159154943091895, $call138 * +HEAPF32[$arrayidx + 4 >> 2], $16); + } + $xp$0 = $xp$0 + 1 | 0; + } + $yp$0 = $yp$0 + 1 | 0; + } + $mNumSmoothingIterations = $this + 20 | 0; + $iter$0 = 0; + while (1) { + if (($iter$0 | 0) >= (HEAP32[$mNumSmoothingIterations >> 2] | 0)) break; + $22 = HEAP32[$__begin_$i145 >> 2] | 0; + __ZN6vision26SmoothOrientationHistogramIfEEvPT_PKS1_mS4_($22, $22, HEAP32[$mNumBins >> 2] | 0, 16800); + $iter$0 = $iter$0 + 1 | 0; + } + $21 = HEAP32[$mNumBins >> 2] | 0; + $i$0 = 0; + $max_height$0 = 0.0; + while (1) { + if (($i$0 | 0) >= ($21 | 0)) break; + $25 = +HEAPF32[(HEAP32[$__begin_$i145 >> 2] | 0) + ($i$0 << 2) >> 2]; + $i$0 = $i$0 + 1 | 0; + $max_height$0 = $25 > $max_height$0 ? $25 : $max_height$0; + } + if (!($max_height$0 == 0.0)) { + if (!($max_height$0 > 0.0)) { + $call194 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 32679) | 0, 32107) | 0, 39794) | 0, 218) | 0, 39801) | 0, 32717) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i$i153, $call194 + (HEAP32[(HEAP32[$call194 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i$i158 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i$i153, 67360) | 0; + $call$i2$i$i161 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i$i158 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i$i158, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i$i153); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call194, $call$i2$i$i161) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call194) | 0; + _abort(); + } + $arrayinit$element = $ref$tmp$i$i153 + 4 | 0; + $arrayinit$element211 = $pm1 + 4 | 0; + $arrayinit$element221 = $pp1 + 4 | 0; + $mPeakThreshold = $this + 24 | 0; + $27 = $21; + $i199$0 = 0; + while (1) { + if (($i199$0 | 0) >= ($27 | 0)) break L16; + $conv205 = +($i199$0 | 0); + HEAPF32[$ref$tmp$i$i153 >> 2] = $conv205; + $28 = HEAP32[$__begin_$i145 >> 2] | 0; + $arrayidx$i168 = $28 + ($i199$0 << 2) | 0; + $29 = HEAP32[$arrayidx$i168 >> 2] | 0; + HEAP32[$arrayinit$element >> 2] = $29; + $sub209 = $i199$0 + -1 | 0; + HEAPF32[$pm1 >> 2] = +($sub209 | 0); + $30 = HEAP32[$28 + ((($sub209 + $27 | 0) % ($27 | 0) | 0) << 2) >> 2] | 0; + HEAP32[$arrayinit$element211 >> 2] = $30; + $add219 = $i199$0 + 1 | 0; + HEAPF32[$pp1 >> 2] = +($add219 | 0); + $31 = HEAP32[$28 + ((($add219 + $27 | 0) % ($27 | 0) | 0) << 2) >> 2] | 0; + HEAP32[$arrayinit$element221 >> 2] = $31; + $34 = (HEAP32[tempDoublePtr >> 2] = $29, +HEAPF32[tempDoublePtr >> 2]); + if (+HEAPF32[$arrayidx$i168 >> 2] > $max_height$0 * +HEAPF32[$mPeakThreshold >> 2] ? ($35 = (HEAP32[tempDoublePtr >> 2] = $31, +HEAPF32[tempDoublePtr >> 2]), $34 > (HEAP32[tempDoublePtr >> 2] = $30, +HEAPF32[tempDoublePtr >> 2]) & $34 > $35) : 0) { + HEAPF32[$fbin241 >> 2] = $conv205; + if (__ZN6vision16Quadratic3PointsIfEEbRT_S2_S2_PKS1_S4_S4_($A, $B, $C, $pm1, $ref$tmp$i$i153, $pp1) | 0) __ZN6vision22QuadraticCriticalPointIfEEbRT_S1_S1_S1_($fbin241, +HEAPF32[$A >> 2], +HEAPF32[$B >> 2], +HEAPF32[$C >> 2]) | 0; + $conv251 = +(HEAP32[$mNumBins >> 2] | 0); + $42 = HEAP32[$num_angles >> 2] | 0; + HEAPF32[$angles + ($42 << 2) >> 2] = (+HEAPF32[$fbin241 >> 2] + .5 + $conv251) / $conv251 * 6.283185307179586 % 6.283185307179586; + HEAP32[$num_angles >> 2] = $42 + 1; + $$pre = HEAP32[$mNumBins >> 2] | 0; + } else $$pre = $27; + $27 = $$pre; + $i199$0 = $add219; + } + } + } while (0); + STACKTOP = sp; + return; +} + +function _dispose_chunk($p, $psize) { + $p = $p | 0; + $psize = $psize | 0; + var $$pre$phiZ2D = 0, $0 = 0, $1 = 0, $10 = 0, $11 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $2 = 0, $23 = 0, $24 = 0, $25 = 0, $27 = 0, $28 = 0, $29 = 0, $35 = 0, $36 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $54 = 0, $55 = 0, $56 = 0, $59 = 0, $60 = 0, $61 = 0, $63 = 0, $64 = 0, $66 = 0, $69 = 0, $70 = 0, $9 = 0, $F517$0 = 0, $I545$0 = 0, $K597$013 = 0, $R$1 = 0, $R$1$be = 0, $R$1$ph = 0, $R$3 = 0, $R328$1 = 0, $R328$1$be = 0, $R328$1$ph = 0, $R328$3 = 0, $RP$1 = 0, $RP$1$be = 0, $RP$1$ph = 0, $RP357$1 = 0, $RP357$1$be = 0, $RP357$1$ph = 0, $T$0$lcssa = 0, $T$012 = 0, $add$ptr = 0, $add$ptr5 = 0, $add230 = 0, $add248 = 0, $add258 = 0, $add570 = 0, $add6 = 0, $and556 = 0, $and560 = 0, $and565 = 0, $arrayidx = 0, $arrayidx100 = 0, $arrayidx118 = 0, $arrayidx138 = 0, $arrayidx271 = 0, $arrayidx359 = 0, $arrayidx371 = 0, $arrayidx376 = 0, $arrayidx399 = 0, $arrayidx420 = 0, $arrayidx516 = 0, $arrayidx579 = 0, $arrayidx613 = 0, $arrayidx86 = 0, $arrayidx95 = 0, $bk340 = 0, $bk70 = 0, $child = 0, $child161 = 0, $child358 = 0, $child445 = 0, $fd307 = 0, $fd318$pre$phiZ2D = 0, $fd344 = 0, $fd43 = 0, $fd53$pre$phiZ2D = 0, $fd635 = 0, $fd74 = 0, $head201 = 0, $head223 = 0, $p$addr$1 = 0, $psize$addr$1 = 0, $psize$addr$2 = 0, $shl519 = 0, $shl557 = 0, $shl562 = 0, $shl586 = 0, $shr = 0, $shr259 = 0, $shr507 = 0, $shr546 = 0; + $add$ptr = $p + $psize | 0; + $0 = HEAP32[$p + 4 >> 2] | 0; + L1 : do if (!($0 & 1)) { + $1 = HEAP32[$p >> 2] | 0; + if (!($0 & 3)) return; + $add$ptr5 = $p + (0 - $1) | 0; + $add6 = $1 + $psize | 0; + $2 = HEAP32[16951] | 0; + if ($add$ptr5 >>> 0 < $2 >>> 0) _abort(); + if ((HEAP32[16952] | 0) == ($add$ptr5 | 0)) { + $head201 = $add$ptr + 4 | 0; + $27 = HEAP32[$head201 >> 2] | 0; + if (($27 & 3 | 0) != 3) { + $p$addr$1 = $add$ptr5; + $psize$addr$1 = $add6; + break; + } + HEAP32[16949] = $add6; + HEAP32[$head201 >> 2] = $27 & -2; + HEAP32[$add$ptr5 + 4 >> 2] = $add6 | 1; + HEAP32[$add$ptr >> 2] = $add6; + return; + } + $shr = $1 >>> 3; + if ($1 >>> 0 < 256) { + $4 = HEAP32[$add$ptr5 + 8 >> 2] | 0; + $5 = HEAP32[$add$ptr5 + 12 >> 2] | 0; + $arrayidx = 67828 + ($shr << 1 << 2) | 0; + if (($4 | 0) != ($arrayidx | 0)) { + if ($2 >>> 0 > $4 >>> 0) _abort(); + if ((HEAP32[$4 + 12 >> 2] | 0) != ($add$ptr5 | 0)) _abort(); + } + if (($5 | 0) == ($4 | 0)) { + HEAP32[16947] = HEAP32[16947] & ~(1 << $shr); + $p$addr$1 = $add$ptr5; + $psize$addr$1 = $add6; + break; + } + if (($5 | 0) != ($arrayidx | 0)) { + if ($2 >>> 0 > $5 >>> 0) _abort(); + $fd43 = $5 + 8 | 0; + if ((HEAP32[$fd43 >> 2] | 0) == ($add$ptr5 | 0)) $fd53$pre$phiZ2D = $fd43; else _abort(); + } else $fd53$pre$phiZ2D = $5 + 8 | 0; + HEAP32[$4 + 12 >> 2] = $5; + HEAP32[$fd53$pre$phiZ2D >> 2] = $4; + $p$addr$1 = $add$ptr5; + $psize$addr$1 = $add6; + break; + } + $9 = HEAP32[$add$ptr5 + 24 >> 2] | 0; + $10 = HEAP32[$add$ptr5 + 12 >> 2] | 0; + do if (($10 | 0) == ($add$ptr5 | 0)) { + $child = $add$ptr5 + 16 | 0; + $arrayidx86 = $child + 4 | 0; + $14 = HEAP32[$arrayidx86 >> 2] | 0; + if (!$14) { + $15 = HEAP32[$child >> 2] | 0; + if (!$15) { + $R$3 = 0; + break; + } else { + $R$1$ph = $15; + $RP$1$ph = $child; } } else { - HEAP32[$10 >> 2] = 0; - __ZNSt3__211char_traitsIwE6assignERwRKw($8, $10); - HEAP8[$21 >> 0] = 0; - }; - HEAP32[$8 >> 2] = HEAP32[$11 >> 2]; - HEAP32[$8 + 4 >> 2] = HEAP32[$11 + 4 >> 2]; - HEAP32[$8 + 8 >> 2] = HEAP32[$11 + 8 >> 2]; - $$0$i$i$i = 0; + $R$1$ph = $14; + $RP$1$ph = $arrayidx86; + } + $R$1 = $R$1$ph; + $RP$1 = $RP$1$ph; while (1) { - if (($$0$i$i$i | 0) == 3) break; - HEAP32[$11 + ($$0$i$i$i << 2) >> 2] = 0; - $$0$i$i$i = $$0$i$i$i + 1 | 0; + $arrayidx95 = $R$1 + 20 | 0; + $16 = HEAP32[$arrayidx95 >> 2] | 0; + if (!$16) { + $arrayidx100 = $R$1 + 16 | 0; + $17 = HEAP32[$arrayidx100 >> 2] | 0; + if (!$17) break; else { + $R$1$be = $17; + $RP$1$be = $arrayidx100; + } + } else { + $R$1$be = $16; + $RP$1$be = $arrayidx95; + } + $R$1 = $R$1$be; + $RP$1 = $RP$1$be; + } + if ($2 >>> 0 > $RP$1 >>> 0) _abort(); else { + HEAP32[$RP$1 >> 2] = 0; + $R$3 = $R$1; + break; } - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev($11); } else { - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$12 >> 2] | 0) + 40 >> 2] & 255]($10, $12); - $35 = HEAP32[$10 >> 2] | 0; - HEAP8[$3 >> 0] = $35; - HEAP8[$3 + 1 >> 0] = $35 >> 8; - HEAP8[$3 + 2 >> 0] = $35 >> 16; - HEAP8[$3 + 3 >> 0] = $35 >> 24; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$12 >> 2] | 0) + 28 >> 2] & 255]($11, $12); - $39 = $8 + 8 | 0; - $40 = $39 + 3 | 0; - if ((HEAP8[$40 >> 0] | 0) < 0) { - $43 = HEAP32[$8 >> 2] | 0; - HEAP32[$10 >> 2] = 0; - __ZNSt3__211char_traitsIwE6assignERwRKw($43, $10); - HEAP32[$8 + 4 >> 2] = 0; - if ((HEAP8[$40 >> 0] | 0) < 0) { - __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm(HEAP32[$8 >> 2] | 0, HEAP32[$39 >> 2] << 2); - HEAP32[$39 >> 2] = 0; + $11 = HEAP32[$add$ptr5 + 8 >> 2] | 0; + if ($2 >>> 0 > $11 >>> 0) _abort(); + $bk70 = $11 + 12 | 0; + if ((HEAP32[$bk70 >> 2] | 0) != ($add$ptr5 | 0)) _abort(); + $fd74 = $10 + 8 | 0; + if ((HEAP32[$fd74 >> 2] | 0) == ($add$ptr5 | 0)) { + HEAP32[$bk70 >> 2] = $10; + HEAP32[$fd74 >> 2] = $11; + $R$3 = $10; + break; + } else _abort(); + } while (0); + if ($9) { + $18 = HEAP32[$add$ptr5 + 28 >> 2] | 0; + $arrayidx118 = 68092 + ($18 << 2) | 0; + do if ((HEAP32[$arrayidx118 >> 2] | 0) == ($add$ptr5 | 0)) { + HEAP32[$arrayidx118 >> 2] = $R$3; + if (!$R$3) { + HEAP32[16948] = HEAP32[16948] & ~(1 << $18); + $p$addr$1 = $add$ptr5; + $psize$addr$1 = $add6; + break L1; } + } else if ((HEAP32[16951] | 0) >>> 0 <= $9 >>> 0) { + $arrayidx138 = $9 + 16 | 0; + HEAP32[((HEAP32[$arrayidx138 >> 2] | 0) == ($add$ptr5 | 0) ? $arrayidx138 : $9 + 20 | 0) >> 2] = $R$3; + if (!$R$3) { + $p$addr$1 = $add$ptr5; + $psize$addr$1 = $add6; + break L1; + } else break; + } else _abort(); while (0); + $23 = HEAP32[16951] | 0; + if ($23 >>> 0 > $R$3 >>> 0) _abort(); + HEAP32[$R$3 + 24 >> 2] = $9; + $child161 = $add$ptr5 + 16 | 0; + $24 = HEAP32[$child161 >> 2] | 0; + do if ($24 | 0) if ($23 >>> 0 > $24 >>> 0) _abort(); else { + HEAP32[$R$3 + 16 >> 2] = $24; + HEAP32[$24 + 24 >> 2] = $R$3; + break; + } while (0); + $25 = HEAP32[$child161 + 4 >> 2] | 0; + if ($25) if ((HEAP32[16951] | 0) >>> 0 > $25 >>> 0) _abort(); else { + HEAP32[$R$3 + 20 >> 2] = $25; + HEAP32[$25 + 24 >> 2] = $R$3; + $p$addr$1 = $add$ptr5; + $psize$addr$1 = $add6; + break; } else { - HEAP32[$10 >> 2] = 0; - __ZNSt3__211char_traitsIwE6assignERwRKw($8, $10); - HEAP8[$40 >> 0] = 0; - }; - HEAP32[$8 >> 2] = HEAP32[$11 >> 2]; - HEAP32[$8 + 4 >> 2] = HEAP32[$11 + 4 >> 2]; - HEAP32[$8 + 8 >> 2] = HEAP32[$11 + 8 >> 2]; - $$0$i$i$i51 = 0; - while (1) { - if (($$0$i$i$i51 | 0) == 3) break; - HEAP32[$11 + ($$0$i$i$i51 << 2) >> 2] = 0; - $$0$i$i$i51 = $$0$i$i$i51 + 1 | 0; - } - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev($11); - } - $54 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$12 >> 2] | 0) + 12 >> 2] & 127]($12) | 0; - HEAP32[$4 >> 2] = $54; - $58 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$12 >> 2] | 0) + 16 >> 2] & 127]($12) | 0; - HEAP32[$5 >> 2] = $58; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$12 >> 2] | 0) + 20 >> 2] & 255]($11, $12); - $62 = $6 + 11 | 0; - if ((HEAP8[$62 >> 0] | 0) < 0) { - $65 = HEAP32[$6 >> 2] | 0; - HEAP8[$10 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc($65, $10); - HEAP32[$6 + 4 >> 2] = 0; - if ((HEAP8[$62 >> 0] | 0) < 0) { - $69 = $6 + 8 | 0; - __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm(HEAP32[$6 >> 2] | 0, HEAP32[$69 >> 2] & 2147483647); - HEAP32[$69 >> 2] = 0; + $p$addr$1 = $add$ptr5; + $psize$addr$1 = $add6; + } + } else { + $p$addr$1 = $add$ptr5; + $psize$addr$1 = $add6; + } + } else { + $p$addr$1 = $p; + $psize$addr$1 = $psize; + } while (0); + $28 = HEAP32[16951] | 0; + if ($add$ptr >>> 0 < $28 >>> 0) _abort(); + $head223 = $add$ptr + 4 | 0; + $29 = HEAP32[$head223 >> 2] | 0; + if (!($29 & 2)) { + if ((HEAP32[16953] | 0) == ($add$ptr | 0)) { + $add230 = (HEAP32[16950] | 0) + $psize$addr$1 | 0; + HEAP32[16950] = $add230; + HEAP32[16953] = $p$addr$1; + HEAP32[$p$addr$1 + 4 >> 2] = $add230 | 1; + if (($p$addr$1 | 0) != (HEAP32[16952] | 0)) return; + HEAP32[16952] = 0; + HEAP32[16949] = 0; + return; + } + if ((HEAP32[16952] | 0) == ($add$ptr | 0)) { + $add248 = (HEAP32[16949] | 0) + $psize$addr$1 | 0; + HEAP32[16949] = $add248; + HEAP32[16952] = $p$addr$1; + HEAP32[$p$addr$1 + 4 >> 2] = $add248 | 1; + HEAP32[$p$addr$1 + $add248 >> 2] = $add248; + return; + } + $add258 = ($29 & -8) + $psize$addr$1 | 0; + $shr259 = $29 >>> 3; + L99 : do if ($29 >>> 0 >= 256) { + $40 = HEAP32[$add$ptr + 24 >> 2] | 0; + $41 = HEAP32[$add$ptr + 12 >> 2] | 0; + do if (($41 | 0) == ($add$ptr | 0)) { + $child358 = $add$ptr + 16 | 0; + $arrayidx359 = $child358 + 4 | 0; + $45 = HEAP32[$arrayidx359 >> 2] | 0; + if (!$45) { + $46 = HEAP32[$child358 >> 2] | 0; + if (!$46) { + $R328$3 = 0; + break; + } else { + $R328$1$ph = $46; + $RP357$1$ph = $child358; + } + } else { + $R328$1$ph = $45; + $RP357$1$ph = $arrayidx359; + } + $R328$1 = $R328$1$ph; + $RP357$1 = $RP357$1$ph; + while (1) { + $arrayidx371 = $R328$1 + 20 | 0; + $47 = HEAP32[$arrayidx371 >> 2] | 0; + if (!$47) { + $arrayidx376 = $R328$1 + 16 | 0; + $48 = HEAP32[$arrayidx376 >> 2] | 0; + if (!$48) break; else { + $R328$1$be = $48; + $RP357$1$be = $arrayidx376; + } + } else { + $R328$1$be = $47; + $RP357$1$be = $arrayidx371; + } + $R328$1 = $R328$1$be; + $RP357$1 = $RP357$1$be; + } + if ($28 >>> 0 > $RP357$1 >>> 0) _abort(); else { + HEAP32[$RP357$1 >> 2] = 0; + $R328$3 = $R328$1; + break; + } + } else { + $42 = HEAP32[$add$ptr + 8 >> 2] | 0; + if ($28 >>> 0 > $42 >>> 0) _abort(); + $bk340 = $42 + 12 | 0; + if ((HEAP32[$bk340 >> 2] | 0) != ($add$ptr | 0)) _abort(); + $fd344 = $41 + 8 | 0; + if ((HEAP32[$fd344 >> 2] | 0) == ($add$ptr | 0)) { + HEAP32[$bk340 >> 2] = $41; + HEAP32[$fd344 >> 2] = $42; + $R328$3 = $41; + break; + } else _abort(); + } while (0); + if ($40 | 0) { + $49 = HEAP32[$add$ptr + 28 >> 2] | 0; + $arrayidx399 = 68092 + ($49 << 2) | 0; + do if ((HEAP32[$arrayidx399 >> 2] | 0) == ($add$ptr | 0)) { + HEAP32[$arrayidx399 >> 2] = $R328$3; + if (!$R328$3) { + HEAP32[16948] = HEAP32[16948] & ~(1 << $49); + break L99; + } + } else if ((HEAP32[16951] | 0) >>> 0 <= $40 >>> 0) { + $arrayidx420 = $40 + 16 | 0; + HEAP32[((HEAP32[$arrayidx420 >> 2] | 0) == ($add$ptr | 0) ? $arrayidx420 : $40 + 20 | 0) >> 2] = $R328$3; + if (!$R328$3) break L99; else break; + } else _abort(); while (0); + $54 = HEAP32[16951] | 0; + if ($54 >>> 0 > $R328$3 >>> 0) _abort(); + HEAP32[$R328$3 + 24 >> 2] = $40; + $child445 = $add$ptr + 16 | 0; + $55 = HEAP32[$child445 >> 2] | 0; + do if ($55 | 0) if ($54 >>> 0 > $55 >>> 0) _abort(); else { + HEAP32[$R328$3 + 16 >> 2] = $55; + HEAP32[$55 + 24 >> 2] = $R328$3; + break; + } while (0); + $56 = HEAP32[$child445 + 4 >> 2] | 0; + if ($56 | 0) if ((HEAP32[16951] | 0) >>> 0 > $56 >>> 0) _abort(); else { + HEAP32[$R328$3 + 20 >> 2] = $56; + HEAP32[$56 + 24 >> 2] = $R328$3; + break; + } + } + } else { + $35 = HEAP32[$add$ptr + 8 >> 2] | 0; + $36 = HEAP32[$add$ptr + 12 >> 2] | 0; + $arrayidx271 = 67828 + ($shr259 << 1 << 2) | 0; + if (($35 | 0) != ($arrayidx271 | 0)) { + if ($28 >>> 0 > $35 >>> 0) _abort(); + if ((HEAP32[$35 + 12 >> 2] | 0) != ($add$ptr | 0)) _abort(); + } + if (($36 | 0) == ($35 | 0)) { + HEAP32[16947] = HEAP32[16947] & ~(1 << $shr259); + break; + } + if (($36 | 0) != ($arrayidx271 | 0)) { + if ($28 >>> 0 > $36 >>> 0) _abort(); + $fd307 = $36 + 8 | 0; + if ((HEAP32[$fd307 >> 2] | 0) == ($add$ptr | 0)) $fd318$pre$phiZ2D = $fd307; else _abort(); + } else $fd318$pre$phiZ2D = $36 + 8 | 0; + HEAP32[$35 + 12 >> 2] = $36; + HEAP32[$fd318$pre$phiZ2D >> 2] = $35; + } while (0); + HEAP32[$p$addr$1 + 4 >> 2] = $add258 | 1; + HEAP32[$p$addr$1 + $add258 >> 2] = $add258; + if (($p$addr$1 | 0) == (HEAP32[16952] | 0)) { + HEAP32[16949] = $add258; + return; + } else $psize$addr$2 = $add258; + } else { + HEAP32[$head223 >> 2] = $29 & -2; + HEAP32[$p$addr$1 + 4 >> 2] = $psize$addr$1 | 1; + HEAP32[$p$addr$1 + $psize$addr$1 >> 2] = $psize$addr$1; + $psize$addr$2 = $psize$addr$1; + } + $shr507 = $psize$addr$2 >>> 3; + if ($psize$addr$2 >>> 0 < 256) { + $arrayidx516 = 67828 + ($shr507 << 1 << 2) | 0; + $59 = HEAP32[16947] | 0; + $shl519 = 1 << $shr507; + if ($59 & $shl519) { + $60 = $arrayidx516 + 8 | 0; + $61 = HEAP32[$60 >> 2] | 0; + if ((HEAP32[16951] | 0) >>> 0 > $61 >>> 0) _abort(); else { + $$pre$phiZ2D = $60; + $F517$0 = $61; + } + } else { + HEAP32[16947] = $59 | $shl519; + $$pre$phiZ2D = $arrayidx516 + 8 | 0; + $F517$0 = $arrayidx516; + } + HEAP32[$$pre$phiZ2D >> 2] = $p$addr$1; + HEAP32[$F517$0 + 12 >> 2] = $p$addr$1; + HEAP32[$p$addr$1 + 8 >> 2] = $F517$0; + HEAP32[$p$addr$1 + 12 >> 2] = $arrayidx516; + return; + } + $shr546 = $psize$addr$2 >>> 8; + if ($shr546) if ($psize$addr$2 >>> 0 > 16777215) $I545$0 = 31; else { + $and556 = ($shr546 + 1048320 | 0) >>> 16 & 8; + $shl557 = $shr546 << $and556; + $and560 = ($shl557 + 520192 | 0) >>> 16 & 4; + $shl562 = $shl557 << $and560; + $and565 = ($shl562 + 245760 | 0) >>> 16 & 2; + $add570 = 14 - ($and560 | $and556 | $and565) + ($shl562 << $and565 >>> 15) | 0; + $I545$0 = $psize$addr$2 >>> ($add570 + 7 | 0) & 1 | $add570 << 1; + } else $I545$0 = 0; + $arrayidx579 = 68092 + ($I545$0 << 2) | 0; + HEAP32[$p$addr$1 + 28 >> 2] = $I545$0; + HEAP32[$p$addr$1 + 20 >> 2] = 0; + HEAP32[$p$addr$1 + 16 >> 2] = 0; + $63 = HEAP32[16948] | 0; + $shl586 = 1 << $I545$0; + if (!($63 & $shl586)) { + HEAP32[16948] = $63 | $shl586; + HEAP32[$arrayidx579 >> 2] = $p$addr$1; + HEAP32[$p$addr$1 + 24 >> 2] = $arrayidx579; + HEAP32[$p$addr$1 + 12 >> 2] = $p$addr$1; + HEAP32[$p$addr$1 + 8 >> 2] = $p$addr$1; + return; + } + $64 = HEAP32[$arrayidx579 >> 2] | 0; + L189 : do if ((HEAP32[$64 + 4 >> 2] & -8 | 0) == ($psize$addr$2 | 0)) $T$0$lcssa = $64; else { + $K597$013 = $psize$addr$2 << (($I545$0 | 0) == 31 ? 0 : 25 - ($I545$0 >>> 1) | 0); + $T$012 = $64; + while (1) { + $arrayidx613 = $T$012 + 16 + ($K597$013 >>> 31 << 2) | 0; + $66 = HEAP32[$arrayidx613 >> 2] | 0; + if (!$66) break; + if ((HEAP32[$66 + 4 >> 2] & -8 | 0) == ($psize$addr$2 | 0)) { + $T$0$lcssa = $66; + break L189; + } else { + $K597$013 = $K597$013 << 1; + $T$012 = $66; + } + } + if ((HEAP32[16951] | 0) >>> 0 > $arrayidx613 >>> 0) _abort(); + HEAP32[$arrayidx613 >> 2] = $p$addr$1; + HEAP32[$p$addr$1 + 24 >> 2] = $T$012; + HEAP32[$p$addr$1 + 12 >> 2] = $p$addr$1; + HEAP32[$p$addr$1 + 8 >> 2] = $p$addr$1; + return; + } while (0); + $fd635 = $T$0$lcssa + 8 | 0; + $69 = HEAP32[$fd635 >> 2] | 0; + $70 = HEAP32[16951] | 0; + if (!($70 >>> 0 <= $69 >>> 0 & $70 >>> 0 <= $T$0$lcssa >>> 0)) _abort(); + HEAP32[$69 + 12 >> 2] = $p$addr$1; + HEAP32[$fd635 >> 2] = $p$addr$1; + HEAP32[$p$addr$1 + 8 >> 2] = $69; + HEAP32[$p$addr$1 + 12 >> 2] = $T$0$lcssa; + HEAP32[$p$addr$1 + 24 >> 2] = 0; + return; +} + +function __ZNSt3__211__money_getIcE13__gather_infoEbRKNS_6localeERNS_10money_base7patternERcS8_RNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEESF_SF_SF_Ri($__intl, $__loc, $__pat, $__dp, $__ts, $__grp, $__sym, $__psn, $__nsn, $__fd) { + $__intl = $__intl | 0; + $__loc = $__loc | 0; + $__pat = $__pat | 0; + $__dp = $__dp | 0; + $__ts = $__ts | 0; + $__grp = $__grp | 0; + $__sym = $__sym | 0; + $__psn = $__psn | 0; + $__nsn = $__nsn | 0; + $__fd = $__fd | 0; + var $1 = 0, $16 = 0, $21 = 0, $26 = 0, $29 = 0, $34 = 0, $4 = 0, $41 = 0, $46 = 0, $9 = 0, $__cap_$i$i$i$i$i = 0, $__cap_$i$i$i$i$i101 = 0, $__cap_$i$i$i$i$i133 = 0, $__cap_$i$i$i$i$i159 = 0, $__cap_$i$i$i$i$i191 = 0, $__cap_$i$i$i$i$i217 = 0, $__cap_$i$i$i$i$i43 = 0, $__cap_$i$i$i$i$i75 = 0, $__i$0$i$i$i = 0, $__i$0$i$i$i106 = 0, $__i$0$i$i$i138 = 0, $__i$0$i$i$i164 = 0, $__i$0$i$i$i196 = 0, $__i$0$i$i$i222 = 0, $__i$0$i$i$i48 = 0, $__i$0$i$i$i80 = 0, $__size_$i1$i$i$i$i = 0, $__size_$i1$i$i$i$i124 = 0, $__size_$i1$i$i$i$i150 = 0, $__size_$i1$i$i$i$i182 = 0, $__size_$i1$i$i$i$i208 = 0, $__size_$i1$i$i$i$i34 = 0, $__size_$i1$i$i$i$i66 = 0, $__size_$i1$i$i$i$i92 = 0, $call$i = 0, $call$i116 = 0, $call$i173 = 0, $call$i176 = 0, $call$i57 = 0, $call$i60 = 0, $ref$tmp$i$i$i$i205 = 0, $ref$tmp1 = 0, $storemerge = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $ref$tmp$i$i$i$i205 = sp + 12 | 0; + $ref$tmp1 = sp; + if ($__intl) { + $call$i = __ZNKSt3__26locale9use_facetERNS0_2idE($__loc, 67592) | 0; + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$call$i >> 2] | 0) + 44 >> 2] & 255]($ref$tmp$i$i$i$i205, $call$i); + $1 = HEAP32[$ref$tmp$i$i$i$i205 >> 2] | 0; + HEAP8[$__pat >> 0] = $1; + HEAP8[$__pat + 1 >> 0] = $1 >> 8; + HEAP8[$__pat + 2 >> 0] = $1 >> 16; + HEAP8[$__pat + 3 >> 0] = $1 >> 24; + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$call$i >> 2] | 0) + 32 >> 2] & 255]($ref$tmp1, $call$i); + $__size_$i1$i$i$i$i = $__nsn + 11 | 0; + if ((HEAP8[$__size_$i1$i$i$i$i >> 0] | 0) < 0) { + $4 = HEAP32[$__nsn >> 2] | 0; + HEAP8[$ref$tmp$i$i$i$i205 >> 0] = 0; + __ZNSt3__211char_traitsIcE6assignERcRKc($4, $ref$tmp$i$i$i$i205); + HEAP32[$__nsn + 4 >> 2] = 0; + if ((HEAP8[$__size_$i1$i$i$i$i >> 0] | 0) < 0) { + $__cap_$i$i$i$i$i = $__nsn + 8 | 0; + __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm(HEAP32[$__nsn >> 2] | 0, HEAP32[$__cap_$i$i$i$i$i >> 2] & 2147483647); + HEAP32[$__cap_$i$i$i$i$i >> 2] = 0; + } + } else { + HEAP8[$ref$tmp$i$i$i$i205 >> 0] = 0; + __ZNSt3__211char_traitsIcE6assignERcRKc($__nsn, $ref$tmp$i$i$i$i205); + HEAP8[$__size_$i1$i$i$i$i >> 0] = 0; + }; + HEAP32[$__nsn >> 2] = HEAP32[$ref$tmp1 >> 2]; + HEAP32[$__nsn + 4 >> 2] = HEAP32[$ref$tmp1 + 4 >> 2]; + HEAP32[$__nsn + 8 >> 2] = HEAP32[$ref$tmp1 + 8 >> 2]; + $__i$0$i$i$i = 0; + while (1) { + if (($__i$0$i$i$i | 0) == 3) break; + HEAP32[$ref$tmp1 + ($__i$0$i$i$i << 2) >> 2] = 0; + $__i$0$i$i$i = $__i$0$i$i$i + 1 | 0; + } + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($ref$tmp1); + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$call$i >> 2] | 0) + 28 >> 2] & 255]($ref$tmp1, $call$i); + $__size_$i1$i$i$i$i34 = $__psn + 11 | 0; + if ((HEAP8[$__size_$i1$i$i$i$i34 >> 0] | 0) < 0) { + $9 = HEAP32[$__psn >> 2] | 0; + HEAP8[$ref$tmp$i$i$i$i205 >> 0] = 0; + __ZNSt3__211char_traitsIcE6assignERcRKc($9, $ref$tmp$i$i$i$i205); + HEAP32[$__psn + 4 >> 2] = 0; + if ((HEAP8[$__size_$i1$i$i$i$i34 >> 0] | 0) < 0) { + $__cap_$i$i$i$i$i43 = $__psn + 8 | 0; + __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm(HEAP32[$__psn >> 2] | 0, HEAP32[$__cap_$i$i$i$i$i43 >> 2] & 2147483647); + HEAP32[$__cap_$i$i$i$i$i43 >> 2] = 0; + } + } else { + HEAP8[$ref$tmp$i$i$i$i205 >> 0] = 0; + __ZNSt3__211char_traitsIcE6assignERcRKc($__psn, $ref$tmp$i$i$i$i205); + HEAP8[$__size_$i1$i$i$i$i34 >> 0] = 0; + }; + HEAP32[$__psn >> 2] = HEAP32[$ref$tmp1 >> 2]; + HEAP32[$__psn + 4 >> 2] = HEAP32[$ref$tmp1 + 4 >> 2]; + HEAP32[$__psn + 8 >> 2] = HEAP32[$ref$tmp1 + 8 >> 2]; + $__i$0$i$i$i48 = 0; + while (1) { + if (($__i$0$i$i$i48 | 0) == 3) break; + HEAP32[$ref$tmp1 + ($__i$0$i$i$i48 << 2) >> 2] = 0; + $__i$0$i$i$i48 = $__i$0$i$i$i48 + 1 | 0; + } + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($ref$tmp1); + $call$i57 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$call$i >> 2] | 0) + 12 >> 2] & 127]($call$i) | 0; + HEAP8[$__dp >> 0] = $call$i57; + $call$i60 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$call$i >> 2] | 0) + 16 >> 2] & 127]($call$i) | 0; + HEAP8[$__ts >> 0] = $call$i60; + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$call$i >> 2] | 0) + 20 >> 2] & 255]($ref$tmp1, $call$i); + $__size_$i1$i$i$i$i66 = $__grp + 11 | 0; + if ((HEAP8[$__size_$i1$i$i$i$i66 >> 0] | 0) < 0) { + $16 = HEAP32[$__grp >> 2] | 0; + HEAP8[$ref$tmp$i$i$i$i205 >> 0] = 0; + __ZNSt3__211char_traitsIcE6assignERcRKc($16, $ref$tmp$i$i$i$i205); + HEAP32[$__grp + 4 >> 2] = 0; + if ((HEAP8[$__size_$i1$i$i$i$i66 >> 0] | 0) < 0) { + $__cap_$i$i$i$i$i75 = $__grp + 8 | 0; + __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm(HEAP32[$__grp >> 2] | 0, HEAP32[$__cap_$i$i$i$i$i75 >> 2] & 2147483647); + HEAP32[$__cap_$i$i$i$i$i75 >> 2] = 0; } } else { - HEAP8[$10 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc($6, $10); - HEAP8[$62 >> 0] = 0; + HEAP8[$ref$tmp$i$i$i$i205 >> 0] = 0; + __ZNSt3__211char_traitsIcE6assignERcRKc($__grp, $ref$tmp$i$i$i$i205); + HEAP8[$__size_$i1$i$i$i$i66 >> 0] = 0; }; - HEAP32[$6 >> 2] = HEAP32[$11 >> 2]; - HEAP32[$6 + 4 >> 2] = HEAP32[$11 + 4 >> 2]; - HEAP32[$6 + 8 >> 2] = HEAP32[$11 + 8 >> 2]; - $$0$i$i$i55 = 0; + HEAP32[$__grp >> 2] = HEAP32[$ref$tmp1 >> 2]; + HEAP32[$__grp + 4 >> 2] = HEAP32[$ref$tmp1 + 4 >> 2]; + HEAP32[$__grp + 8 >> 2] = HEAP32[$ref$tmp1 + 8 >> 2]; + $__i$0$i$i$i80 = 0; while (1) { - if (($$0$i$i$i55 | 0) == 3) break; - HEAP32[$11 + ($$0$i$i$i55 << 2) >> 2] = 0; - $$0$i$i$i55 = $$0$i$i$i55 + 1 | 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($11); - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$12 >> 2] | 0) + 24 >> 2] & 255]($11, $12); - $77 = $7 + 8 | 0; - $78 = $77 + 3 | 0; - if ((HEAP8[$78 >> 0] | 0) < 0) { - $81 = HEAP32[$7 >> 2] | 0; - HEAP32[$10 >> 2] = 0; - __ZNSt3__211char_traitsIwE6assignERwRKw($81, $10); - HEAP32[$7 + 4 >> 2] = 0; - if ((HEAP8[$78 >> 0] | 0) < 0) { - __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm(HEAP32[$7 >> 2] | 0, HEAP32[$77 >> 2] << 2); - HEAP32[$77 >> 2] = 0; + if (($__i$0$i$i$i80 | 0) == 3) break; + HEAP32[$ref$tmp1 + ($__i$0$i$i$i80 << 2) >> 2] = 0; + $__i$0$i$i$i80 = $__i$0$i$i$i80 + 1 | 0; + } + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($ref$tmp1); + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$call$i >> 2] | 0) + 24 >> 2] & 255]($ref$tmp1, $call$i); + $__size_$i1$i$i$i$i92 = $__sym + 11 | 0; + if ((HEAP8[$__size_$i1$i$i$i$i92 >> 0] | 0) < 0) { + $21 = HEAP32[$__sym >> 2] | 0; + HEAP8[$ref$tmp$i$i$i$i205 >> 0] = 0; + __ZNSt3__211char_traitsIcE6assignERcRKc($21, $ref$tmp$i$i$i$i205); + HEAP32[$__sym + 4 >> 2] = 0; + if ((HEAP8[$__size_$i1$i$i$i$i92 >> 0] | 0) < 0) { + $__cap_$i$i$i$i$i101 = $__sym + 8 | 0; + __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm(HEAP32[$__sym >> 2] | 0, HEAP32[$__cap_$i$i$i$i$i101 >> 2] & 2147483647); + HEAP32[$__cap_$i$i$i$i$i101 >> 2] = 0; } } else { - HEAP32[$10 >> 2] = 0; - __ZNSt3__211char_traitsIwE6assignERwRKw($7, $10); - HEAP8[$78 >> 0] = 0; + HEAP8[$ref$tmp$i$i$i$i205 >> 0] = 0; + __ZNSt3__211char_traitsIcE6assignERcRKc($__sym, $ref$tmp$i$i$i$i205); + HEAP8[$__size_$i1$i$i$i$i92 >> 0] = 0; }; - HEAP32[$7 >> 2] = HEAP32[$11 >> 2]; - HEAP32[$7 + 4 >> 2] = HEAP32[$11 + 4 >> 2]; - HEAP32[$7 + 8 >> 2] = HEAP32[$11 + 8 >> 2]; - $$0$i$i$i62 = 0; + HEAP32[$__sym >> 2] = HEAP32[$ref$tmp1 >> 2]; + HEAP32[$__sym + 4 >> 2] = HEAP32[$ref$tmp1 + 4 >> 2]; + HEAP32[$__sym + 8 >> 2] = HEAP32[$ref$tmp1 + 8 >> 2]; + $__i$0$i$i$i106 = 0; while (1) { - if (($$0$i$i$i62 | 0) == 3) break; - HEAP32[$11 + ($$0$i$i$i62 << 2) >> 2] = 0; - $$0$i$i$i62 = $$0$i$i$i62 + 1 | 0; + if (($__i$0$i$i$i106 | 0) == 3) break; + HEAP32[$ref$tmp1 + ($__i$0$i$i$i106 << 2) >> 2] = 0; + $__i$0$i$i$i106 = $__i$0$i$i$i106 + 1 | 0; } - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev($11); - $storemerge = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$12 >> 2] | 0) + 36 >> 2] & 127]($12) | 0; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($ref$tmp1); + $storemerge = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$call$i >> 2] | 0) + 36 >> 2] & 127]($call$i) | 0; } else { - $93 = __ZNKSt3__26locale9use_facetERNS0_2idE($2, 66752) | 0; - if ($1) { - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$93 >> 2] | 0) + 44 >> 2] & 255]($10, $93); - $97 = HEAP32[$10 >> 2] | 0; - HEAP8[$3 >> 0] = $97; - HEAP8[$3 + 1 >> 0] = $97 >> 8; - HEAP8[$3 + 2 >> 0] = $97 >> 16; - HEAP8[$3 + 3 >> 0] = $97 >> 24; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$93 >> 2] | 0) + 32 >> 2] & 255]($11, $93); - $101 = $8 + 8 | 0; - $102 = $101 + 3 | 0; - if ((HEAP8[$102 >> 0] | 0) < 0) { - $105 = HEAP32[$8 >> 2] | 0; - HEAP32[$10 >> 2] = 0; - __ZNSt3__211char_traitsIwE6assignERwRKw($105, $10); - HEAP32[$8 + 4 >> 2] = 0; - if ((HEAP8[$102 >> 0] | 0) < 0) { - __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm(HEAP32[$8 >> 2] | 0, HEAP32[$101 >> 2] << 2); - HEAP32[$101 >> 2] = 0; - } - } else { - HEAP32[$10 >> 2] = 0; - __ZNSt3__211char_traitsIwE6assignERwRKw($8, $10); - HEAP8[$102 >> 0] = 0; - }; - HEAP32[$8 >> 2] = HEAP32[$11 >> 2]; - HEAP32[$8 + 4 >> 2] = HEAP32[$11 + 4 >> 2]; - HEAP32[$8 + 8 >> 2] = HEAP32[$11 + 8 >> 2]; - $$0$i$i$i70 = 0; - while (1) { - if (($$0$i$i$i70 | 0) == 3) break; - HEAP32[$11 + ($$0$i$i$i70 << 2) >> 2] = 0; - $$0$i$i$i70 = $$0$i$i$i70 + 1 | 0; + $call$i116 = __ZNKSt3__26locale9use_facetERNS0_2idE($__loc, 67584) | 0; + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$call$i116 >> 2] | 0) + 44 >> 2] & 255]($ref$tmp$i$i$i$i205, $call$i116); + $26 = HEAP32[$ref$tmp$i$i$i$i205 >> 2] | 0; + HEAP8[$__pat >> 0] = $26; + HEAP8[$__pat + 1 >> 0] = $26 >> 8; + HEAP8[$__pat + 2 >> 0] = $26 >> 16; + HEAP8[$__pat + 3 >> 0] = $26 >> 24; + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$call$i116 >> 2] | 0) + 32 >> 2] & 255]($ref$tmp1, $call$i116); + $__size_$i1$i$i$i$i124 = $__nsn + 11 | 0; + if ((HEAP8[$__size_$i1$i$i$i$i124 >> 0] | 0) < 0) { + $29 = HEAP32[$__nsn >> 2] | 0; + HEAP8[$ref$tmp$i$i$i$i205 >> 0] = 0; + __ZNSt3__211char_traitsIcE6assignERcRKc($29, $ref$tmp$i$i$i$i205); + HEAP32[$__nsn + 4 >> 2] = 0; + if ((HEAP8[$__size_$i1$i$i$i$i124 >> 0] | 0) < 0) { + $__cap_$i$i$i$i$i133 = $__nsn + 8 | 0; + __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm(HEAP32[$__nsn >> 2] | 0, HEAP32[$__cap_$i$i$i$i$i133 >> 2] & 2147483647); + HEAP32[$__cap_$i$i$i$i$i133 >> 2] = 0; } - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev($11); } else { - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$93 >> 2] | 0) + 40 >> 2] & 255]($10, $93); - $116 = HEAP32[$10 >> 2] | 0; - HEAP8[$3 >> 0] = $116; - HEAP8[$3 + 1 >> 0] = $116 >> 8; - HEAP8[$3 + 2 >> 0] = $116 >> 16; - HEAP8[$3 + 3 >> 0] = $116 >> 24; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$93 >> 2] | 0) + 28 >> 2] & 255]($11, $93); - $120 = $8 + 8 | 0; - $121 = $120 + 3 | 0; - if ((HEAP8[$121 >> 0] | 0) < 0) { - $124 = HEAP32[$8 >> 2] | 0; - HEAP32[$10 >> 2] = 0; - __ZNSt3__211char_traitsIwE6assignERwRKw($124, $10); - HEAP32[$8 + 4 >> 2] = 0; - if ((HEAP8[$121 >> 0] | 0) < 0) { - __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm(HEAP32[$8 >> 2] | 0, HEAP32[$120 >> 2] << 2); - HEAP32[$120 >> 2] = 0; - } - } else { - HEAP32[$10 >> 2] = 0; - __ZNSt3__211char_traitsIwE6assignERwRKw($8, $10); - HEAP8[$121 >> 0] = 0; - }; - HEAP32[$8 >> 2] = HEAP32[$11 >> 2]; - HEAP32[$8 + 4 >> 2] = HEAP32[$11 + 4 >> 2]; - HEAP32[$8 + 8 >> 2] = HEAP32[$11 + 8 >> 2]; - $$0$i$i$i78 = 0; - while (1) { - if (($$0$i$i$i78 | 0) == 3) break; - HEAP32[$11 + ($$0$i$i$i78 << 2) >> 2] = 0; - $$0$i$i$i78 = $$0$i$i$i78 + 1 | 0; - } - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev($11); - } - $135 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$93 >> 2] | 0) + 12 >> 2] & 127]($93) | 0; - HEAP32[$4 >> 2] = $135; - $139 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$93 >> 2] | 0) + 16 >> 2] & 127]($93) | 0; - HEAP32[$5 >> 2] = $139; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$93 >> 2] | 0) + 20 >> 2] & 255]($11, $93); - $143 = $6 + 11 | 0; - if ((HEAP8[$143 >> 0] | 0) < 0) { - $146 = HEAP32[$6 >> 2] | 0; - HEAP8[$10 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc($146, $10); - HEAP32[$6 + 4 >> 2] = 0; - if ((HEAP8[$143 >> 0] | 0) < 0) { - $150 = $6 + 8 | 0; - __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm(HEAP32[$6 >> 2] | 0, HEAP32[$150 >> 2] & 2147483647); - HEAP32[$150 >> 2] = 0; + HEAP8[$ref$tmp$i$i$i$i205 >> 0] = 0; + __ZNSt3__211char_traitsIcE6assignERcRKc($__nsn, $ref$tmp$i$i$i$i205); + HEAP8[$__size_$i1$i$i$i$i124 >> 0] = 0; + }; + HEAP32[$__nsn >> 2] = HEAP32[$ref$tmp1 >> 2]; + HEAP32[$__nsn + 4 >> 2] = HEAP32[$ref$tmp1 + 4 >> 2]; + HEAP32[$__nsn + 8 >> 2] = HEAP32[$ref$tmp1 + 8 >> 2]; + $__i$0$i$i$i138 = 0; + while (1) { + if (($__i$0$i$i$i138 | 0) == 3) break; + HEAP32[$ref$tmp1 + ($__i$0$i$i$i138 << 2) >> 2] = 0; + $__i$0$i$i$i138 = $__i$0$i$i$i138 + 1 | 0; + } + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($ref$tmp1); + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$call$i116 >> 2] | 0) + 28 >> 2] & 255]($ref$tmp1, $call$i116); + $__size_$i1$i$i$i$i150 = $__psn + 11 | 0; + if ((HEAP8[$__size_$i1$i$i$i$i150 >> 0] | 0) < 0) { + $34 = HEAP32[$__psn >> 2] | 0; + HEAP8[$ref$tmp$i$i$i$i205 >> 0] = 0; + __ZNSt3__211char_traitsIcE6assignERcRKc($34, $ref$tmp$i$i$i$i205); + HEAP32[$__psn + 4 >> 2] = 0; + if ((HEAP8[$__size_$i1$i$i$i$i150 >> 0] | 0) < 0) { + $__cap_$i$i$i$i$i159 = $__psn + 8 | 0; + __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm(HEAP32[$__psn >> 2] | 0, HEAP32[$__cap_$i$i$i$i$i159 >> 2] & 2147483647); + HEAP32[$__cap_$i$i$i$i$i159 >> 2] = 0; + } + } else { + HEAP8[$ref$tmp$i$i$i$i205 >> 0] = 0; + __ZNSt3__211char_traitsIcE6assignERcRKc($__psn, $ref$tmp$i$i$i$i205); + HEAP8[$__size_$i1$i$i$i$i150 >> 0] = 0; + }; + HEAP32[$__psn >> 2] = HEAP32[$ref$tmp1 >> 2]; + HEAP32[$__psn + 4 >> 2] = HEAP32[$ref$tmp1 + 4 >> 2]; + HEAP32[$__psn + 8 >> 2] = HEAP32[$ref$tmp1 + 8 >> 2]; + $__i$0$i$i$i164 = 0; + while (1) { + if (($__i$0$i$i$i164 | 0) == 3) break; + HEAP32[$ref$tmp1 + ($__i$0$i$i$i164 << 2) >> 2] = 0; + $__i$0$i$i$i164 = $__i$0$i$i$i164 + 1 | 0; + } + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($ref$tmp1); + $call$i173 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$call$i116 >> 2] | 0) + 12 >> 2] & 127]($call$i116) | 0; + HEAP8[$__dp >> 0] = $call$i173; + $call$i176 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$call$i116 >> 2] | 0) + 16 >> 2] & 127]($call$i116) | 0; + HEAP8[$__ts >> 0] = $call$i176; + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$call$i116 >> 2] | 0) + 20 >> 2] & 255]($ref$tmp1, $call$i116); + $__size_$i1$i$i$i$i182 = $__grp + 11 | 0; + if ((HEAP8[$__size_$i1$i$i$i$i182 >> 0] | 0) < 0) { + $41 = HEAP32[$__grp >> 2] | 0; + HEAP8[$ref$tmp$i$i$i$i205 >> 0] = 0; + __ZNSt3__211char_traitsIcE6assignERcRKc($41, $ref$tmp$i$i$i$i205); + HEAP32[$__grp + 4 >> 2] = 0; + if ((HEAP8[$__size_$i1$i$i$i$i182 >> 0] | 0) < 0) { + $__cap_$i$i$i$i$i191 = $__grp + 8 | 0; + __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm(HEAP32[$__grp >> 2] | 0, HEAP32[$__cap_$i$i$i$i$i191 >> 2] & 2147483647); + HEAP32[$__cap_$i$i$i$i$i191 >> 2] = 0; } } else { - HEAP8[$10 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc($6, $10); - HEAP8[$143 >> 0] = 0; + HEAP8[$ref$tmp$i$i$i$i205 >> 0] = 0; + __ZNSt3__211char_traitsIcE6assignERcRKc($__grp, $ref$tmp$i$i$i$i205); + HEAP8[$__size_$i1$i$i$i$i182 >> 0] = 0; }; - HEAP32[$6 >> 2] = HEAP32[$11 >> 2]; - HEAP32[$6 + 4 >> 2] = HEAP32[$11 + 4 >> 2]; - HEAP32[$6 + 8 >> 2] = HEAP32[$11 + 8 >> 2]; - $$0$i$i$i86 = 0; + HEAP32[$__grp >> 2] = HEAP32[$ref$tmp1 >> 2]; + HEAP32[$__grp + 4 >> 2] = HEAP32[$ref$tmp1 + 4 >> 2]; + HEAP32[$__grp + 8 >> 2] = HEAP32[$ref$tmp1 + 8 >> 2]; + $__i$0$i$i$i196 = 0; while (1) { - if (($$0$i$i$i86 | 0) == 3) break; - HEAP32[$11 + ($$0$i$i$i86 << 2) >> 2] = 0; - $$0$i$i$i86 = $$0$i$i$i86 + 1 | 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($11); - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$93 >> 2] | 0) + 24 >> 2] & 255]($11, $93); - $158 = $7 + 8 | 0; - $159 = $158 + 3 | 0; - if ((HEAP8[$159 >> 0] | 0) < 0) { - $162 = HEAP32[$7 >> 2] | 0; - HEAP32[$10 >> 2] = 0; - __ZNSt3__211char_traitsIwE6assignERwRKw($162, $10); - HEAP32[$7 + 4 >> 2] = 0; - if ((HEAP8[$159 >> 0] | 0) < 0) { - __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm(HEAP32[$7 >> 2] | 0, HEAP32[$158 >> 2] << 2); - HEAP32[$158 >> 2] = 0; + if (($__i$0$i$i$i196 | 0) == 3) break; + HEAP32[$ref$tmp1 + ($__i$0$i$i$i196 << 2) >> 2] = 0; + $__i$0$i$i$i196 = $__i$0$i$i$i196 + 1 | 0; + } + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($ref$tmp1); + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$call$i116 >> 2] | 0) + 24 >> 2] & 255]($ref$tmp1, $call$i116); + $__size_$i1$i$i$i$i208 = $__sym + 11 | 0; + if ((HEAP8[$__size_$i1$i$i$i$i208 >> 0] | 0) < 0) { + $46 = HEAP32[$__sym >> 2] | 0; + HEAP8[$ref$tmp$i$i$i$i205 >> 0] = 0; + __ZNSt3__211char_traitsIcE6assignERcRKc($46, $ref$tmp$i$i$i$i205); + HEAP32[$__sym + 4 >> 2] = 0; + if ((HEAP8[$__size_$i1$i$i$i$i208 >> 0] | 0) < 0) { + $__cap_$i$i$i$i$i217 = $__sym + 8 | 0; + __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm(HEAP32[$__sym >> 2] | 0, HEAP32[$__cap_$i$i$i$i$i217 >> 2] & 2147483647); + HEAP32[$__cap_$i$i$i$i$i217 >> 2] = 0; } } else { - HEAP32[$10 >> 2] = 0; - __ZNSt3__211char_traitsIwE6assignERwRKw($7, $10); - HEAP8[$159 >> 0] = 0; + HEAP8[$ref$tmp$i$i$i$i205 >> 0] = 0; + __ZNSt3__211char_traitsIcE6assignERcRKc($__sym, $ref$tmp$i$i$i$i205); + HEAP8[$__size_$i1$i$i$i$i208 >> 0] = 0; }; - HEAP32[$7 >> 2] = HEAP32[$11 >> 2]; - HEAP32[$7 + 4 >> 2] = HEAP32[$11 + 4 >> 2]; - HEAP32[$7 + 8 >> 2] = HEAP32[$11 + 8 >> 2]; - $$0$i$i$i94 = 0; + HEAP32[$__sym >> 2] = HEAP32[$ref$tmp1 >> 2]; + HEAP32[$__sym + 4 >> 2] = HEAP32[$ref$tmp1 + 4 >> 2]; + HEAP32[$__sym + 8 >> 2] = HEAP32[$ref$tmp1 + 8 >> 2]; + $__i$0$i$i$i222 = 0; while (1) { - if (($$0$i$i$i94 | 0) == 3) break; - HEAP32[$11 + ($$0$i$i$i94 << 2) >> 2] = 0; - $$0$i$i$i94 = $$0$i$i$i94 + 1 | 0; + if (($__i$0$i$i$i222 | 0) == 3) break; + HEAP32[$ref$tmp1 + ($__i$0$i$i$i222 << 2) >> 2] = 0; + $__i$0$i$i$i222 = $__i$0$i$i$i222 + 1 | 0; } - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev($11); - $storemerge = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$93 >> 2] | 0) + 36 >> 2] & 127]($93) | 0; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($ref$tmp1); + $storemerge = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$call$i116 >> 2] | 0) + 36 >> 2] & 127]($call$i116) | 0; } - HEAP32[$9 >> 2] = $storemerge; + HEAP32[$__fd >> 2] = $storemerge; STACKTOP = sp; return; } -function _ar2GetBestMatching($0, $1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - $6 = $6 | 0; - $7 = $7 | 0; - $8 = $8 | 0; - $9 = $9 | 0; - $10 = $10 | 0; - $11 = $11 | 0; - var $$0 = 0, $$0282 = 0, $$0284 = 0, $$0286 = 0, $$0288 = 0, $$0289 = 0, $$0293 = 0, $$0295 = 0, $$0299 = 0, $$0305 = 0, $$0306 = 0, $$0315 = 0, $$0317 = 0, $$0318 = 0, $$1 = 0, $$10 = 0, $$11 = 0, $$12 = 0, $$1285 = 0, $$1287 = 0, $$1290 = 0, $$1294 = 0, $$1296 = 0, $$13 = 0, $$1300 = 0, $$1307 = 0, $$1316 = 0, $$1319 = 0, $$14 = 0, $$2 = 0, $$2291 = 0, $$2297 = 0, $$2301 = 0, $$2308 = 0, $$2320 = 0, $$3 = 0, $$3292 = 0, $$3298 = 0, $$3302 = 0, $$3309 = 0, $$3321 = 0, $$4 = 0, $$4303 = 0, $$4310 = 0, $$4322 = 0, $$5 = 0, $$5304 = 0, $$5323 = 0, $$6 = 0, $$6312 = 0, $$7 = 0, $$7313 = 0, $$8 = 0, $$8314 = 0, $$9 = 0, $101 = 0, $102 = 0, $104 = 0, $106 = 0, $110 = 0, $111 = 0, $114 = 0, $115 = 0, $119 = 0, $12 = 0, $126 = 0, $127 = 0, $13 = 0, $131 = 0, $139 = 0, $14 = 0, $141 = 0, $142 = 0, $15 = 0, $151 = 0, $153 = 0, $16 = 0, $162 = 0, $169 = 0, $17 = 0, $171 = 0, $177 = 0, $18 = 0, $19 = 0, $192 = 0, $193 = 0, $195 = 0, $197 = 0, $198 = 0, $199 = 0, $20 = 0, $201 = 0, $21 = 0, $214 = 0, $215 = 0, $216 = 0, $219 = 0, $22 = 0, $23 = 0, $24 = 0, $27 = 0, $30 = 0, $35 = 0, $36 = 0, $38 = 0, $40 = 0, $42 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $59 = 0, $63 = 0, $68 = 0, $70 = 0, $71 = 0, $72 = 0, $77 = 0, $87 = 0, $96 = 0, $scevgep = 0, $spec$select = 0, $spec$store$select = 0, $vararg_buffer = 0, $vararg_buffer1 = 0, label = 0, sp = 0; +function _decompress_smooth_data($cinfo, $output_buf) { + $cinfo = $cinfo | 0; + $output_buf = $output_buf | 0; + var $0 = 0, $17 = 0, $18 = 0, $2 = 0, $20 = 0, $21 = 0, $3 = 0, $30 = 0, $38 = 0, $40 = 0, $50 = 0, $52 = 0, $54 = 0, $56 = 0, $58 = 0, $6 = 0, $8 = 0, $9 = 0, $DC1$0231 = 0, $DC1$0231$phi = 0, $DC2$0232 = 0, $DC3$1 = 0, $DC4$0233 = 0, $DC4$0233$phi = 0, $DC5$0234 = 0, $DC6$1 = 0, $DC7$0235 = 0, $DC7$0235$phi = 0, $DC8$0236 = 0, $DC9$1 = 0, $DCT_h_scaled_size = 0, $DCT_v_scaled_size = 0, $Ss = 0, $access_rows$0 = 0, $add$ptr45 = 0, $arrayidx115 = 0, $arrayidx119 = 0, $arrayidx162 = 0, $arrayidx166 = 0, $arrayidx211 = 0, $arrayidx215 = 0, $arrayidx262 = 0, $arrayidx266 = 0, $arrayidx313 = 0, $arrayidx317 = 0, $block_num$0230 = 0, $block_row$0239 = 0, $block_rows$1 = 0, $buffer$0 = 0, $buffer_ptr$0229 = 0, $call35 = 0, $ci$0242 = 0, $coef_bits_latch = 0, $compptr$0241 = 0, $conv = 0, $conv49 = 0, $conv52 = 0, $conv55 = 0, $conv58 = 0, $conv61 = 0, $conv90 = 0, $conv93 = 0, $conv96 = 0, $div = 0, $div146 = 0, $div180 = 0, $div195 = 0, $div231 = 0, $div246 = 0, $div282 = 0, $div297 = 0, $div333 = 0, $div348 = 0, $first_row$0 = 0, $idct = 0, $inc377 = 0, $input_iMCU_row = 0, $input_scan_number = 0, $inputctl = 0, $last_row$0 = 0, $mem38 = 0, $mul124 = 0, $mul126 = 0, $mul173 = 0, $mul220 = 0, $mul224 = 0, $mul271 = 0, $mul275 = 0, $mul326 = 0, $mul34 = 0, $next_block_row$0 = 0, $next_block_row$1227 = 0, $num_components = 0, $output_col$0226 = 0, $output_iMCU_row = 0, $output_iMCU_row17 = 0, $output_iMCU_row376$pre$phiZ2D = 0, $output_ptr$0238 = 0, $output_scan_number = 0, $pred$1 = 0, $pred$3 = 0, $pred$5 = 0, $pred$7 = 0, $pred$9 = 0, $prev_block_row$0 = 0, $prev_block_row$1228 = 0, $rem = 0, $retval$0 = 0, $shl = 0, $shl131 = 0, $shl135 = 0, $shl150 = 0, $shl177 = 0, $shl179 = 0, $shl184 = 0, $shl199 = 0, $shl228 = 0, $shl230 = 0, $shl235 = 0, $shl250 = 0, $shl279 = 0, $shl281 = 0, $shl286 = 0, $shl301 = 0, $shl330 = 0, $shl332 = 0, $shl337 = 0, $shl352 = 0, $spec$select = 0, $sub = 0, $sub80 = 0, $sub97 = 0, $tobool70 = 0, $tobool78 = 0, $total_iMCU_rows = 0, $width_in_blocks = 0, $workspace = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 80 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(80); - $vararg_buffer1 = sp + 8 | 0; - $vararg_buffer = sp; - $12 = sp + 72 | 0; - $13 = sp + 60 | 0; - $14 = sp + 48 | 0; - $15 = sp + 36 | 0; - $16 = sp + 32 | 0; - $17 = sp + 24 | 0; - $18 = sp + 16 | 0; - $19 = $5 + 16 | 0; - $20 = HEAP32[$19 >> 2] | 0; - $21 = $5 + 20 | 0; - $22 = HEAP32[$21 >> 2] | 0; - $23 = $2 + -1 | 0; - $24 = $3 + -1 | 0; - $$0315 = 0; - while (1) { - if ($$0315 >>> 0 >= 3) break; - $27 = HEAP32[$8 + ($$0315 << 3) >> 2] | 0; - if (($27 | 0) < 0) break; - $30 = $27 & -4 | 2; - $35 = ((HEAP32[$8 + ($$0315 << 3) + 4 >> 2] | 0) / 4 | 0) << 2 | 2; - $36 = $30 - $6 | 0; - $spec$store$select = ($36 | 0) > 0 ? $36 : 0; - $38 = $30 + $6 | 0; - $spec$select = ($38 | 0) < ($2 | 0) ? $38 : $23; - $40 = $35 - $7 | 0; - $42 = $35 + $7 | 0; - $$0288 = ($42 | 0) < ($3 | 0) ? $42 : $24; - $$0318 = ($40 | 0) > 0 ? $40 : 0; + STACKTOP = STACKTOP + 128 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(128); + $workspace = sp; + $0 = HEAP32[$cinfo + 452 >> 2] | 0; + $total_iMCU_rows = $cinfo + 332 | 0; + $sub = (HEAP32[$total_iMCU_rows >> 2] | 0) + -1 | 0; + $input_scan_number = $cinfo + 144 | 0; + $2 = HEAP32[$input_scan_number >> 2] | 0; + $output_scan_number = $cinfo + 152 | 0; + $3 = HEAP32[$output_scan_number >> 2] | 0; + L1 : do if (($2 | 0) <= ($3 | 0)) { + $inputctl = $cinfo + 460 | 0; + $Ss = $cinfo + 412 | 0; + $input_iMCU_row = $cinfo + 148 | 0; + $output_iMCU_row = $cinfo + 156 | 0; + $8 = $2; + $9 = $3; while (1) { - if (($$0318 | 0) > ($$0288 | 0)) break; - $$0299 = $spec$store$select; - $$0305 = $1 + ((Math_imul($$0318, $2) | 0) + $spec$store$select) | 0; - while (1) { - if (($$0299 | 0) > ($spec$select | 0)) break; - HEAP8[$$0305 >> 0] = 0; - $$0299 = $$0299 + 1 | 0; - $$0305 = $$0305 + 1 | 0; - } - $$0318 = $$0318 + 1 | 0; - } - $$0315 = $$0315 + 1 | 0; - } - HEAP32[$12 >> 2] = 0; - $53 = $22 << 1; - $54 = $20 << 1; - $55 = $5 + 12 | 0; - $56 = $5 + 8 | 0; - $$0306 = 1; - $$1316 = 0; - while (1) { - if ($$1316 >>> 0 >= 3) { - label = 28; - break; - } - $59 = HEAP32[$8 + ($$1316 << 3) >> 2] | 0; - if (($59 | 0) < 0) { - label = 14; - break; - } - $63 = $59 & -4 | 2; - $68 = ((HEAP32[$8 + ($$1316 << 3) + 4 >> 2] | 0) / 4 | 0) << 2 | 2; - $70 = $68 + $7 | 0; - $71 = $63 - $6 | 0; - $72 = $63 + $6 | 0; - $$1307 = $$0306; - $$1319 = $68 - $7 | 0; - L18 : while (1) { - if (($$1319 | 0) > ($70 | 0)) break; - L21 : do if (($$1319 | 0) < ($54 | 0)) $$4310 = $$1307; else { - if (($$1319 + $53 | 0) >= ($3 | 0)) break L18; - $77 = Math_imul($$1319, $2) | 0; - $$1300 = $71; - $$2308 = $$1307; - while (1) { - if (($$1300 | 0) > ($72 | 0)) { - $$4310 = $$2308; - break L21; - } - if (($$1300 | 0) >= (HEAP32[$56 >> 2] << 1 | 0)) { - if (((HEAP32[$55 >> 2] << 1) + $$1300 | 0) >= ($2 | 0)) { - $$4310 = $$2308; - break L21; - } - $87 = $1 + ($$1300 + $77) | 0; - if (!(HEAP8[$87 >> 0] | 0)) { - HEAP8[$87 >> 0] = 1; - _ar2GetBestMatchingSubFine($0, $2, $4, $5, $$1300, $$1319, $16); - _updateCandidate($$1300, $$1319, HEAP32[$16 >> 2] | 0, $12, $13, $14, $15); - $$3309 = 0; - } else $$3309 = $$2308; - } else $$3309 = $$2308; - $$1300 = $$1300 + 4 | 0; - $$2308 = $$3309; - } - } while (0); - $$1307 = $$4310; - $$1319 = $$1319 + 4 | 0; - } - $$0306 = $$1307; - $$1316 = $$1316 + 1 | 0; - } - if ((label | 0) == 14) if (!$$0306) label = 28; else $$0 = -1; - if ((label | 0) == 28) { - $96 = $5 + 4 | 0; - $101 = Math_imul((HEAP32[$5 >> 2] << 3) + 32 | 0, (HEAP32[$96 >> 2] << 1) + 8 | 0) | 0; - $102 = _malloc($101) | 0; - if (!$102) { - _arLog(0, 3, 45930, $vararg_buffer); - _exit(1); - } - $104 = _malloc($101) | 0; - if (!$104) { - _arLog(0, 3, 45930, $vararg_buffer1); - _exit(1); + $6 = HEAP32[$inputctl >> 2] | 0; + if (HEAP32[$6 + 20 >> 2] | 0) break L1; + if (($8 | 0) == ($9 | 0) ? (HEAP32[$input_iMCU_row >> 2] | 0) >>> 0 > ((HEAP32[$output_iMCU_row >> 2] | 0) + ((HEAP32[$Ss >> 2] | 0) == 0 & 1) | 0) >>> 0 : 0) break L1; + if (!(FUNCTION_TABLE_ii[HEAP32[$6 >> 2] & 127]($cinfo) | 0)) { + $retval$0 = 0; + break; + } + $8 = HEAP32[$input_scan_number >> 2] | 0; + $9 = HEAP32[$output_scan_number >> 2] | 0; + if (($8 | 0) > ($9 | 0)) break L1; } - $106 = $5 + 36 | 0; - $$0289 = 0; - $$0317 = 0; - $$6312 = -1; + STACKTOP = sp; + return $retval$0 | 0; + } while (0); + $num_components = $cinfo + 36 | 0; + if ((HEAP32[$num_components >> 2] | 0) > 0) { + $output_iMCU_row17 = $cinfo + 156 | 0; + $mem38 = $cinfo + 4 | 0; + $coef_bits_latch = $0 + 112 | 0; + $idct = $cinfo + 472 | 0; + $arrayidx119 = $workspace + 2 | 0; + $arrayidx166 = $workspace + 16 | 0; + $arrayidx215 = $workspace + 32 | 0; + $arrayidx266 = $workspace + 18 | 0; + $arrayidx317 = $workspace + 4 | 0; + $ci$0242 = 0; + $compptr$0241 = HEAP32[$cinfo + 216 >> 2] | 0; while (1) { - if (($$0317 | 0) >= (HEAP32[$12 >> 2] | 0)) break; - $110 = HEAP32[$5 >> 2] | 0; - $111 = HEAP32[$96 >> 2] | 0; - L47 : do if ((HEAP32[$106 >> 2] | 0) == (Math_imul($111, $110) | 0)) { - switch ($4 | 0) { - case 5: - case 12: - case 13: - case 14: - break; - default: - { - label = 40; - break L47; - } - } - $114 = $14 + ($$0317 << 2) | 0; - $115 = HEAP32[$114 >> 2] | 0; - $119 = $115 + -3 - (HEAP32[$19 >> 2] << 1) | 0; - if (((($119 | 0) >= 0 ? ($115 + 3 + (HEAP32[$21 >> 2] << 1) | 0) < ($3 | 0) : 0) ? ($126 = $13 + ($$0317 << 2) | 0, $127 = HEAP32[$126 >> 2] | 0, $131 = $127 + -3 - (HEAP32[$56 >> 2] << 1) | 0, ($131 | 0) >= 0) : 0) ? ($127 + 3 + (HEAP32[$55 >> 2] << 1) | 0) < ($2 | 0) : 0) { - $169 = ($111 << 1) + 6 | 0; - $171 = ($110 << 2) + 16 | 0; - $$0286 = $104; - $$0295 = $102; - $$3321 = 0; - while (1) { - if (($$3321 | 0) >= ($171 | 0)) break; - HEAP32[$$0295 >> 2] = 0; - HEAP32[$$0286 >> 2] = 0; - $$0286 = $$0286 + 4 | 0; - $$0295 = $$0295 + 4 | 0; - $$3321 = $$3321 + 1 | 0; - } - $177 = ($110 << 1) + 6 | 0; - $$0282 = $0 + ($131 + (Math_imul($119, $2) | 0)) | 0; - $$0284 = $104; - $$0293 = $102; - $$1287 = $$0286; - $$1296 = $$0295; - $$4322 = 0; - while (1) { - if (($$4322 | 0) >= ($169 | 0)) break; - $scevgep = $$1296 + 8 | 0; - $$2 = $$1287; - $$2297 = $$1296; - $$3302 = 0; - while (1) { - if (($$3302 | 0) == 2) break; - HEAP32[$$2297 >> 2] = 0; - HEAP32[$$2 >> 2] = 0; - HEAP32[$17 + ($$3302 << 2) >> 2] = 0; - HEAP32[$18 + ($$3302 << 2) >> 2] = 0; - $$2 = $$2 + 4 | 0; - $$2297 = $$2297 + 4 | 0; - $$3302 = $$3302 + 1 | 0; - } - $$1 = $$0282; - $$1285 = $$0284 + 8 | 0; - $$1294 = $$0293 + 8 | 0; - $$3 = $$1287 + 8 | 0; - $$3298 = $scevgep; - $$4303 = 0; - while (1) { - if (($$4303 | 0) >= ($177 | 0)) break; - $192 = $$4303 & 1; - $193 = $17 + ($192 << 2) | 0; - $195 = (HEAP32[$193 >> 2] | 0) + (HEAPU8[$$1 >> 0] | 0) | 0; - HEAP32[$193 >> 2] = $195; - $197 = HEAPU8[$$1 >> 0] | 0; - $198 = Math_imul($197, $197) | 0; - $199 = $18 + ($192 << 2) | 0; - $201 = $198 + (HEAP32[$199 >> 2] | 0) | 0; - HEAP32[$199 >> 2] = $201; - HEAP32[$$3298 >> 2] = (HEAP32[$$1294 >> 2] | 0) + $195; - HEAP32[$$3 >> 2] = (HEAP32[$$1285 >> 2] | 0) + $201; - $$1 = $$1 + 1 | 0; - $$1285 = $$1285 + 4 | 0; - $$1294 = $$1294 + 4 | 0; - $$3 = $$3 + 4 | 0; - $$3298 = $$3298 + 4 | 0; - $$4303 = $$4303 + 1 | 0; - } - $$0282 = $$0282 + $2 | 0; - $$0284 = $$1285; - $$0293 = $$1294; - $$1287 = $$3; - $$1296 = $$3298; - $$4322 = $$4322 + 1 | 0; - } - $$11 = $$6312; - $$5 = $$0289; - $$5323 = 0; + if (HEAP32[$compptr$0241 + 52 >> 2] | 0) { + $17 = HEAP32[$output_iMCU_row17 >> 2] | 0; + if ($17 >>> 0 < $sub >>> 0) { + $18 = HEAP32[$compptr$0241 + 12 >> 2] | 0; + $21 = $18; + $access_rows$0 = $18 << 1; + $block_rows$1 = $18; + $last_row$0 = 0; + } else { + $20 = HEAP32[$compptr$0241 + 12 >> 2] | 0; + $rem = ((HEAP32[$compptr$0241 + 32 >> 2] | 0) >>> 0) % ($20 >>> 0) | 0; + $spec$select = ($rem | 0) == 0 ? $20 : $rem; + $21 = $20; + $access_rows$0 = $spec$select; + $block_rows$1 = $spec$select; + $last_row$0 = 1; + } + if (!$17) { + $buffer$0 = FUNCTION_TABLE_iiiiii[HEAP32[(HEAP32[$mem38 >> 2] | 0) + 32 >> 2] & 31]($cinfo, HEAP32[$0 + 72 + ($ci$0242 << 2) >> 2] | 0, 0, $access_rows$0, 0) | 0; + $first_row$0 = 1; + } else { + $mul34 = Math_imul($21, $17 + -1 | 0) | 0; + $call35 = FUNCTION_TABLE_iiiiii[HEAP32[(HEAP32[$mem38 >> 2] | 0) + 32 >> 2] & 31]($cinfo, HEAP32[$0 + 72 + ($ci$0242 << 2) >> 2] | 0, $mul34, $21 + $access_rows$0 | 0, 0) | 0; + $buffer$0 = $call35 + (HEAP32[$compptr$0241 + 12 >> 2] << 2) | 0; + $first_row$0 = 0; + } + $add$ptr45 = (HEAP32[$coef_bits_latch >> 2] | 0) + ($ci$0242 * 6 << 2) | 0; + $30 = HEAP32[$compptr$0241 + 80 >> 2] | 0; + $conv = HEAPU16[$30 >> 1] | 0; + $conv49 = HEAPU16[$30 + 2 >> 1] | 0; + $conv52 = HEAPU16[$30 + 16 >> 1] | 0; + $conv55 = HEAPU16[$30 + 32 >> 1] | 0; + $conv58 = HEAPU16[$30 + 18 >> 1] | 0; + $conv61 = HEAPU16[$30 + 4 >> 1] | 0; + $38 = HEAP32[(HEAP32[$idct >> 2] | 0) + 4 + ($ci$0242 << 2) >> 2] | 0; + if (($block_rows$1 | 0) > 0) { + $tobool70 = ($first_row$0 | 0) != 0; + $tobool78 = ($last_row$0 | 0) != 0; + $sub80 = $block_rows$1 + -1 | 0; + $width_in_blocks = $compptr$0241 + 28 | 0; + $arrayidx115 = $add$ptr45 + 4 | 0; + $arrayidx162 = $add$ptr45 + 8 | 0; + $arrayidx211 = $add$ptr45 + 12 | 0; + $mul124 = $conv * 36 | 0; + $shl = $conv49 << 7; + $arrayidx262 = $add$ptr45 + 16 | 0; + $shl177 = $conv52 << 7; + $shl131 = $conv49 << 8; + $arrayidx313 = $add$ptr45 + 20 | 0; + $mul220 = $conv * 9 | 0; + $shl228 = $conv55 << 7; + $shl179 = $conv52 << 8; + $DCT_h_scaled_size = $compptr$0241 + 36 | 0; + $mul271 = $conv * 5 | 0; + $shl279 = $conv58 << 7; + $shl230 = $conv55 << 8; + $shl330 = $conv61 << 7; + $shl281 = $conv58 << 8; + $shl332 = $conv61 << 8; + $DCT_v_scaled_size = $compptr$0241 + 40 | 0; + $block_row$0239 = 0; + $output_ptr$0238 = HEAP32[$output_buf + ($ci$0242 << 2) >> 2] | 0; while (1) { - if (($$5323 | 0) == 7) { - $$14 = $$11; - $$8 = $$5; - break L47; - } - $214 = $$5323 + $119 | 0; - $215 = $$5323 + 2 | 0; - $216 = $$5323 + -3 | 0; - $$12 = $$11; - $$5304 = 0; - $$6 = $$5; + $40 = HEAP32[$buffer$0 + ($block_row$0239 << 2) >> 2] | 0; + if ($tobool70 & ($block_row$0239 | 0) == 0) $prev_block_row$0 = $40; else $prev_block_row$0 = HEAP32[$buffer$0 + ($block_row$0239 + -1 << 2) >> 2] | 0; + if ($tobool78 & ($block_row$0239 | 0) == ($sub80 | 0)) $next_block_row$0 = $40; else $next_block_row$0 = HEAP32[$buffer$0 + ($block_row$0239 + 1 << 2) >> 2] | 0; + $conv90 = HEAP16[$prev_block_row$0 >> 1] | 0; + $conv93 = HEAP16[$40 >> 1] | 0; + $conv96 = HEAP16[$next_block_row$0 >> 1] | 0; + $sub97 = (HEAP32[$width_in_blocks >> 2] | 0) + -1 | 0; + $DC1$0231 = $conv90; + $DC2$0232 = $conv90; + $DC4$0233 = $conv93; + $DC5$0234 = $conv93; + $DC7$0235 = $conv96; + $DC8$0236 = $conv96; + $block_num$0230 = 0; + $buffer_ptr$0229 = $40; + $next_block_row$1227 = $next_block_row$0; + $output_col$0226 = 0; + $prev_block_row$1228 = $prev_block_row$0; while (1) { - if (($$5304 | 0) == 7) break; - _ar2GetBestMatchingSubFineOpt($0, $2, $$5304 + $131 | 0, $214, $5, $102, $104, $$5304 + 2 | 0, $215, $16); - $219 = HEAP32[$16 >> 2] | 0; - if (($219 | 0) > ($$6 | 0)) { - HEAP32[$9 >> 2] = $$5304 + -3 + (HEAP32[$126 >> 2] | 0); - HEAP32[$10 >> 2] = $216 + (HEAP32[$114 >> 2] | 0); - HEAPF32[$11 >> 2] = +($219 | 0) / 1.0e4; - $$13 = 0; - $$7 = $219; + _jcopy_block_row($buffer_ptr$0229, $workspace, 1); + if ($block_num$0230 >>> 0 < $sub97 >>> 0) { + $DC3$1 = HEAP16[$prev_block_row$1228 + 128 >> 1] | 0; + $DC6$1 = HEAP16[$buffer_ptr$0229 + 128 >> 1] | 0; + $DC9$1 = HEAP16[$next_block_row$1227 + 128 >> 1] | 0; } else { - $$13 = $$12; - $$7 = $$6; + $DC3$1 = $DC2$0232; + $DC6$1 = $DC5$0234; + $DC9$1 = $DC8$0236; } - $$12 = $$13; - $$5304 = $$5304 + 1 | 0; - $$6 = $$7; - } - $$11 = $$12; - $$5 = $$6; - $$5323 = $$5323 + 1 | 0; - } - } else label = 40; - } else label = 40; while (0); - L80 : do if ((label | 0) == 40) { - label = 0; - $139 = HEAP32[$14 + ($$0317 << 2) >> 2] | 0; - $141 = $139 + 3 | 0; - $142 = $13 + ($$0317 << 2) | 0; - $$1290 = $$0289; - $$2320 = $139 + -3 | 0; - $$7313 = $$6312; - while (1) { - if (($$2320 | 0) > ($141 | 0)) { - $$14 = $$7313; - $$8 = $$1290; - break L80; - } - L85 : do if (($$2320 | 0) < (HEAP32[$19 >> 2] << 1 | 0)) { - $$10 = $$7313; - $$4 = $$1290; - } else { - if (((HEAP32[$21 >> 2] << 1) + $$2320 | 0) >= ($3 | 0)) { - $$14 = $$7313; - $$8 = $$1290; - break L80; - } - $151 = HEAP32[$142 >> 2] | 0; - $153 = $151 + 3 | 0; - $$2291 = $$1290; - $$2301 = $151 + -3 | 0; - $$8314 = $$7313; - while (1) { - if (($$2301 | 0) > ($153 | 0)) { - $$10 = $$8314; - $$4 = $$2291; - break L85; + $50 = HEAP32[$arrayidx115 >> 2] | 0; + if (($50 | 0) != 0 & (HEAP16[$arrayidx119 >> 1] | 0) == 0) { + $mul126 = Math_imul($mul124, $DC4$0233 - $DC6$1 | 0) | 0; + if (($mul126 | 0) > -1) { + $div = ($mul126 + $shl | 0) / ($shl131 | 0) | 0; + $shl135 = 1 << $50; + $pred$1 = ($50 | 0) > 0 ? (($div | 0) < ($shl135 | 0) ? $div : $shl135 + -1 | 0) : $div; + } else { + $div146 = ($shl - $mul126 | 0) / ($shl131 | 0) | 0; + $shl150 = 1 << $50; + $pred$1 = 0 - (($50 | 0) > 0 ? (($div146 | 0) < ($shl150 | 0) ? $div146 : $shl150 + -1 | 0) : $div146) | 0; + } + HEAP16[$arrayidx119 >> 1] = $pred$1; } - if (($$2301 | 0) >= (HEAP32[$56 >> 2] << 1 | 0)) { - if (((HEAP32[$55 >> 2] << 1) + $$2301 | 0) >= ($2 | 0)) { - $$10 = $$8314; - $$4 = $$2291; - break L85; + $52 = HEAP32[$arrayidx162 >> 2] | 0; + if (($52 | 0) != 0 & (HEAP16[$arrayidx166 >> 1] | 0) == 0) { + $mul173 = Math_imul($mul124, $DC2$0232 - $DC8$0236 | 0) | 0; + if (($mul173 | 0) > -1) { + $div180 = ($mul173 + $shl177 | 0) / ($shl179 | 0) | 0; + $shl184 = 1 << $52; + $pred$3 = ($52 | 0) > 0 ? (($div180 | 0) < ($shl184 | 0) ? $div180 : $shl184 + -1 | 0) : $div180; + } else { + $div195 = ($shl177 - $mul173 | 0) / ($shl179 | 0) | 0; + $shl199 = 1 << $52; + $pred$3 = 0 - (($52 | 0) > 0 ? (($div195 | 0) < ($shl199 | 0) ? $div195 : $shl199 + -1 | 0) : $div195) | 0; } - _ar2GetBestMatchingSubFine($0, $2, $4, $5, $$2301, $$2320, $16); - $162 = HEAP32[$16 >> 2] | 0; - if (($162 | 0) > ($$2291 | 0)) { - HEAP32[$9 >> 2] = $$2301; - HEAP32[$10 >> 2] = $$2320; - HEAPF32[$11 >> 2] = +($162 | 0) / 1.0e4; - $$3292 = $162; - $$9 = 0; + HEAP16[$arrayidx166 >> 1] = $pred$3; + } + $54 = HEAP32[$arrayidx211 >> 2] | 0; + if (($54 | 0) != 0 & (HEAP16[$arrayidx215 >> 1] | 0) == 0) { + $mul224 = Math_imul($mul220, $DC2$0232 - ($DC5$0234 << 1) + $DC8$0236 | 0) | 0; + if (($mul224 | 0) > -1) { + $div231 = ($mul224 + $shl228 | 0) / ($shl230 | 0) | 0; + $shl235 = 1 << $54; + $pred$5 = ($54 | 0) > 0 ? (($div231 | 0) < ($shl235 | 0) ? $div231 : $shl235 + -1 | 0) : $div231; } else { - $$3292 = $$2291; - $$9 = $$8314; + $div246 = ($shl228 - $mul224 | 0) / ($shl230 | 0) | 0; + $shl250 = 1 << $54; + $pred$5 = 0 - (($54 | 0) > 0 ? (($div246 | 0) < ($shl250 | 0) ? $div246 : $shl250 + -1 | 0) : $div246) | 0; } - } else { - $$3292 = $$2291; - $$9 = $$8314; + HEAP16[$arrayidx215 >> 1] = $pred$5; + } + $56 = HEAP32[$arrayidx262 >> 2] | 0; + if (($56 | 0) != 0 & (HEAP16[$arrayidx266 >> 1] | 0) == 0) { + $mul275 = Math_imul($mul271, $DC1$0231 - $DC7$0235 - $DC3$1 + $DC9$1 | 0) | 0; + if (($mul275 | 0) > -1) { + $div282 = ($mul275 + $shl279 | 0) / ($shl281 | 0) | 0; + $shl286 = 1 << $56; + $pred$7 = ($56 | 0) > 0 ? (($div282 | 0) < ($shl286 | 0) ? $div282 : $shl286 + -1 | 0) : $div282; + } else { + $div297 = ($shl279 - $mul275 | 0) / ($shl281 | 0) | 0; + $shl301 = 1 << $56; + $pred$7 = 0 - (($56 | 0) > 0 ? (($div297 | 0) < ($shl301 | 0) ? $div297 : $shl301 + -1 | 0) : $div297) | 0; + } + HEAP16[$arrayidx266 >> 1] = $pred$7; + } + $58 = HEAP32[$arrayidx313 >> 2] | 0; + if (($58 | 0) != 0 & (HEAP16[$arrayidx317 >> 1] | 0) == 0) { + $mul326 = Math_imul($mul220, $DC4$0233 - ($DC5$0234 << 1) + $DC6$1 | 0) | 0; + if (($mul326 | 0) > -1) { + $div333 = ($mul326 + $shl330 | 0) / ($shl332 | 0) | 0; + $shl337 = 1 << $58; + $pred$9 = ($58 | 0) > 0 ? (($div333 | 0) < ($shl337 | 0) ? $div333 : $shl337 + -1 | 0) : $div333; + } else { + $div348 = ($shl330 - $mul326 | 0) / ($shl332 | 0) | 0; + $shl352 = 1 << $58; + $pred$9 = 0 - (($58 | 0) > 0 ? (($div348 | 0) < ($shl352 | 0) ? $div348 : $shl352 + -1 | 0) : $div348) | 0; + } + HEAP16[$arrayidx317 >> 1] = $pred$9; + } + FUNCTION_TABLE_viiiii[$38 & 63]($cinfo, $compptr$0241, $workspace, $output_ptr$0238, $output_col$0226); + $block_num$0230 = $block_num$0230 + 1 | 0; + if ($block_num$0230 >>> 0 > $sub97 >>> 0) break; else { + $DC7$0235$phi = $DC8$0236; + $DC4$0233$phi = $DC5$0234; + $DC1$0231$phi = $DC2$0232; + $DC2$0232 = $DC3$1; + $DC5$0234 = $DC6$1; + $DC8$0236 = $DC9$1; + $buffer_ptr$0229 = $buffer_ptr$0229 + 128 | 0; + $next_block_row$1227 = $next_block_row$1227 + 128 | 0; + $output_col$0226 = (HEAP32[$DCT_h_scaled_size >> 2] | 0) + $output_col$0226 | 0; + $prev_block_row$1228 = $prev_block_row$1228 + 128 | 0; + $DC7$0235 = $DC7$0235$phi; + $DC4$0233 = $DC4$0233$phi; + $DC1$0231 = $DC1$0231$phi; } - $$2291 = $$3292; - $$2301 = $$2301 + 1 | 0; - $$8314 = $$9; } - } while (0); - $$1290 = $$4; - $$2320 = $$2320 + 1 | 0; - $$7313 = $$10; + $block_row$0239 = $block_row$0239 + 1 | 0; + if (($block_row$0239 | 0) == ($block_rows$1 | 0)) break; else $output_ptr$0238 = $output_ptr$0238 + (HEAP32[$DCT_v_scaled_size >> 2] << 2) | 0; + } } - } while (0); - $$0289 = $$8; - $$0317 = $$0317 + 1 | 0; - $$6312 = $$14; + } + $ci$0242 = $ci$0242 + 1 | 0; + if (($ci$0242 | 0) >= (HEAP32[$num_components >> 2] | 0)) { + $output_iMCU_row376$pre$phiZ2D = $output_iMCU_row17; + break; + } else $compptr$0241 = $compptr$0241 + 88 | 0; } - _free($102); - _free($104); - $$0 = $$6312; - } + } else $output_iMCU_row376$pre$phiZ2D = $cinfo + 156 | 0; + $inc377 = (HEAP32[$output_iMCU_row376$pre$phiZ2D >> 2] | 0) + 1 | 0; + HEAP32[$output_iMCU_row376$pre$phiZ2D >> 2] = $inc377; + $retval$0 = $inc377 >>> 0 < (HEAP32[$total_iMCU_rows >> 2] | 0) >>> 0 ? 3 : 4; STACKTOP = sp; - return $$0 | 0; + return $retval$0 | 0; } -function __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_RNS_8ios_baseERjP2tmcc($0, $1, $2, $3, $4, $5, $6, $7) { +function __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_RNS_8ios_baseERjP2tmcc($this, $__b, $__e, $__iob, $__err, $__tm, $__fmt, $0) { + $this = $this | 0; + $__b = $__b | 0; + $__e = $__e | 0; + $__iob = $__iob | 0; + $__err = $__err | 0; + $__tm = $__tm | 0; + $__fmt = $__fmt | 0; $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - $6 = $6 | 0; - $7 = $7 | 0; - var $$byval_copy26 = 0, $$byval_copy30 = 0, $$sroa$095$0 = 0, $10 = 0, $103 = 0, $107 = 0, $11 = 0, $112 = 0, $113 = 0, $118 = 0, $12 = 0, $120 = 0, $121 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $45 = 0, $49 = 0, $54 = 0, $55 = 0, $60 = 0, $62 = 0, $63 = 0, $68 = 0, $71 = 0, $8 = 0, $87 = 0, $9 = 0, $90 = 0, $94 = 0, $99 = 0, label = 0, sp = 0; + var $30 = 0, $37 = 0, $7 = 0, $add$ptr = 0, $add$ptr12 = 0, $add$ptr77 = 0, $add$ptr87 = 0, $agg$tmp = 0, $agg$tmp15 = 0, $agg$tmp18 = 0, $agg$tmp19 = 0, $agg$tmp24 = 0, $agg$tmp25 = 0, $agg$tmp29 = 0, $agg$tmp3 = 0, $agg$tmp32 = 0, $agg$tmp34 = 0, $agg$tmp37 = 0, $agg$tmp39 = 0, $agg$tmp41 = 0, $agg$tmp44 = 0, $agg$tmp47 = 0, $agg$tmp48 = 0, $agg$tmp53 = 0, $agg$tmp54 = 0, $agg$tmp58 = 0, $agg$tmp61 = 0, $agg$tmp62 = 0, $agg$tmp67 = 0, $agg$tmp7 = 0, $agg$tmp71 = 0, $agg$tmp72 = 0, $agg$tmp8 = 0, $agg$tmp82 = 0, $agg$tmp82$byval_copy = 0, $agg$tmp83 = 0, $agg$tmp91 = 0, $agg$tmp94 = 0, $agg$tmp96 = 0, $agg$tmp96$byval_copy = 0, $call$i = 0, $call13 = 0, $call20 = 0, $call26 = 0, $call49 = 0, $call5 = 0, $call55 = 0, $call63 = 0, $call80 = 0, $call88 = 0, $cond$i$i103123 = 0, $cond$i$i87117 = 0, $retval$sroa$0$0 = 0, $tobool$i$i$i = 0, $tobool$i$i$i90 = 0, label = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 144 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(144); - $$byval_copy30 = sp + 128 | 0; - $$byval_copy26 = sp + 112 | 0; - $8 = sp + 124 | 0; - $9 = sp + 120 | 0; - $10 = sp + 116 | 0; - $11 = sp + 108 | 0; - $12 = sp + 104 | 0; - $13 = sp + 100 | 0; - $14 = sp + 96 | 0; - $15 = sp + 92 | 0; - $16 = sp + 88 | 0; - $17 = sp + 84 | 0; - $18 = sp + 80 | 0; - $19 = sp + 76 | 0; - $20 = sp + 72 | 0; - $21 = sp + 68 | 0; - $22 = sp + 64 | 0; - $23 = sp + 60 | 0; - $24 = sp + 56 | 0; - $25 = sp + 52 | 0; - $26 = sp + 48 | 0; - $27 = sp + 44 | 0; - $28 = sp + 40 | 0; - $29 = sp + 36 | 0; - $30 = sp + 32 | 0; - $31 = sp + 28 | 0; - $32 = sp + 24 | 0; - $33 = sp + 20 | 0; - $34 = sp + 16 | 0; - $35 = sp + 12 | 0; - $36 = sp + 8 | 0; - $37 = sp + 4 | 0; - $38 = sp; - HEAP32[$4 >> 2] = 0; - __ZNKSt3__28ios_base6getlocEv($$byval_copy30, $3); - $39 = __ZNKSt3__26locale9use_facetERNS0_2idE($$byval_copy30, 66544) | 0; - __ZNSt3__26localeD2Ev($$byval_copy30); - do switch ($6 << 24 >> 24 | 0) { + $agg$tmp96$byval_copy = sp + 128 | 0; + $agg$tmp82$byval_copy = sp + 112 | 0; + $agg$tmp = sp + 124 | 0; + $agg$tmp3 = sp + 120 | 0; + $agg$tmp7 = sp + 116 | 0; + $agg$tmp8 = sp + 108 | 0; + $agg$tmp15 = sp + 104 | 0; + $agg$tmp18 = sp + 100 | 0; + $agg$tmp19 = sp + 96 | 0; + $agg$tmp24 = sp + 92 | 0; + $agg$tmp25 = sp + 88 | 0; + $agg$tmp29 = sp + 84 | 0; + $agg$tmp32 = sp + 80 | 0; + $agg$tmp34 = sp + 76 | 0; + $agg$tmp37 = sp + 72 | 0; + $agg$tmp39 = sp + 68 | 0; + $agg$tmp41 = sp + 64 | 0; + $agg$tmp44 = sp + 60 | 0; + $agg$tmp47 = sp + 56 | 0; + $agg$tmp48 = sp + 52 | 0; + $agg$tmp53 = sp + 48 | 0; + $agg$tmp54 = sp + 44 | 0; + $agg$tmp58 = sp + 40 | 0; + $agg$tmp61 = sp + 36 | 0; + $agg$tmp62 = sp + 32 | 0; + $agg$tmp67 = sp + 28 | 0; + $agg$tmp71 = sp + 24 | 0; + $agg$tmp72 = sp + 20 | 0; + $agg$tmp82 = sp + 16 | 0; + $agg$tmp83 = sp + 12 | 0; + $agg$tmp91 = sp + 8 | 0; + $agg$tmp94 = sp + 4 | 0; + $agg$tmp96 = sp; + HEAP32[$__err >> 2] = 0; + __ZNKSt3__28ios_base6getlocEv($agg$tmp96$byval_copy, $__iob); + $call$i = __ZNKSt3__26locale9use_facetERNS0_2idE($agg$tmp96$byval_copy, 67392) | 0; + __ZNSt3__26localeD2Ev($agg$tmp96$byval_copy); + do switch ($__fmt << 24 >> 24 | 0) { case 65: case 97: { - HEAP32[$8 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy30 >> 2] = HEAP32[$8 >> 2]; - __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE17__get_weekdaynameERiRS4_S4_RjRKNS_5ctypeIwEE($0, $5 + 24 | 0, $1, $$byval_copy30, $4, $39); + HEAP32[$agg$tmp >> 2] = HEAP32[$__e >> 2]; + HEAP32[$agg$tmp96$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE17__get_weekdaynameERiRS4_S4_RjRKNS_5ctypeIwEE($this, $__tm + 24 | 0, $__b, $agg$tmp96$byval_copy, $__err, $call$i); label = 26; break; } @@ -31255,285 +30569,285 @@ function __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE case 66: case 98: { - HEAP32[$9 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy30 >> 2] = HEAP32[$9 >> 2]; - __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE15__get_monthnameERiRS4_S4_RjRKNS_5ctypeIwEE($0, $5 + 16 | 0, $1, $$byval_copy30, $4, $39); + HEAP32[$agg$tmp3 >> 2] = HEAP32[$__e >> 2]; + HEAP32[$agg$tmp96$byval_copy >> 2] = HEAP32[$agg$tmp3 >> 2]; + __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE15__get_monthnameERiRS4_S4_RjRKNS_5ctypeIwEE($this, $__tm + 16 | 0, $__b, $agg$tmp96$byval_copy, $__err, $call$i); label = 26; break; } case 99: { - $45 = $0 + 8 | 0; - $49 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$45 >> 2] | 0) + 12 >> 2] & 127]($45) | 0; - HEAP32[$10 >> 2] = HEAP32[$1 >> 2]; - HEAP32[$11 >> 2] = HEAP32[$2 >> 2]; - $54 = HEAP8[$49 + 8 + 3 >> 0] | 0; - $55 = $54 << 24 >> 24 < 0; - $60 = $55 ? HEAP32[$49 >> 2] | 0 : $49; - $62 = $60 + (($55 ? HEAP32[$49 + 4 >> 2] | 0 : $54 & 255) << 2) | 0; - HEAP32[$$byval_copy26 >> 2] = HEAP32[$10 >> 2]; - HEAP32[$$byval_copy30 >> 2] = HEAP32[$11 >> 2]; - $63 = __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE3getES4_S4_RNS_8ios_baseERjP2tmPKwSC_($0, $$byval_copy26, $$byval_copy30, $3, $4, $5, $60, $62) | 0; - HEAP32[$1 >> 2] = $63; + $add$ptr = $this + 8 | 0; + $call5 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$add$ptr >> 2] | 0) + 12 >> 2] & 127]($add$ptr) | 0; + HEAP32[$agg$tmp7 >> 2] = HEAP32[$__b >> 2]; + HEAP32[$agg$tmp8 >> 2] = HEAP32[$__e >> 2]; + $7 = HEAP8[$call5 + 8 + 3 >> 0] | 0; + $tobool$i$i$i = $7 << 24 >> 24 < 0; + $cond$i$i87117 = $tobool$i$i$i ? HEAP32[$call5 >> 2] | 0 : $call5; + $add$ptr12 = $cond$i$i87117 + (($tobool$i$i$i ? HEAP32[$call5 + 4 >> 2] | 0 : $7 & 255) << 2) | 0; + HEAP32[$agg$tmp82$byval_copy >> 2] = HEAP32[$agg$tmp7 >> 2]; + HEAP32[$agg$tmp96$byval_copy >> 2] = HEAP32[$agg$tmp8 >> 2]; + $call13 = __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE3getES4_S4_RNS_8ios_baseERjP2tmPKwSC_($this, $agg$tmp82$byval_copy, $agg$tmp96$byval_copy, $__iob, $__err, $__tm, $cond$i$i87117, $add$ptr12) | 0; + HEAP32[$__b >> 2] = $call13; label = 26; break; } case 101: case 100: { - HEAP32[$12 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy30 >> 2] = HEAP32[$12 >> 2]; - __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE9__get_dayERiRS4_S4_RjRKNS_5ctypeIwEE($0, $5 + 12 | 0, $1, $$byval_copy30, $4, $39); + HEAP32[$agg$tmp15 >> 2] = HEAP32[$__e >> 2]; + HEAP32[$agg$tmp96$byval_copy >> 2] = HEAP32[$agg$tmp15 >> 2]; + __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE9__get_dayERiRS4_S4_RjRKNS_5ctypeIwEE($this, $__tm + 12 | 0, $__b, $agg$tmp96$byval_copy, $__err, $call$i); label = 26; break; } case 68: { - HEAP32[$13 >> 2] = HEAP32[$1 >> 2]; - HEAP32[$14 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy26 >> 2] = HEAP32[$13 >> 2]; - HEAP32[$$byval_copy30 >> 2] = HEAP32[$14 >> 2]; - $68 = __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE3getES4_S4_RNS_8ios_baseERjP2tmPKwSC_($0, $$byval_copy26, $$byval_copy30, $3, $4, $5, 12976, 13008) | 0; - HEAP32[$1 >> 2] = $68; + HEAP32[$agg$tmp18 >> 2] = HEAP32[$__b >> 2]; + HEAP32[$agg$tmp19 >> 2] = HEAP32[$__e >> 2]; + HEAP32[$agg$tmp82$byval_copy >> 2] = HEAP32[$agg$tmp18 >> 2]; + HEAP32[$agg$tmp96$byval_copy >> 2] = HEAP32[$agg$tmp19 >> 2]; + $call20 = __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE3getES4_S4_RNS_8ios_baseERjP2tmPKwSC_($this, $agg$tmp82$byval_copy, $agg$tmp96$byval_copy, $__iob, $__err, $__tm, 12976, 13008) | 0; + HEAP32[$__b >> 2] = $call20; label = 26; break; } case 70: { - HEAP32[$15 >> 2] = HEAP32[$1 >> 2]; - HEAP32[$16 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy26 >> 2] = HEAP32[$15 >> 2]; - HEAP32[$$byval_copy30 >> 2] = HEAP32[$16 >> 2]; - $71 = __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE3getES4_S4_RNS_8ios_baseERjP2tmPKwSC_($0, $$byval_copy26, $$byval_copy30, $3, $4, $5, 13008, 13040) | 0; - HEAP32[$1 >> 2] = $71; + HEAP32[$agg$tmp24 >> 2] = HEAP32[$__b >> 2]; + HEAP32[$agg$tmp25 >> 2] = HEAP32[$__e >> 2]; + HEAP32[$agg$tmp82$byval_copy >> 2] = HEAP32[$agg$tmp24 >> 2]; + HEAP32[$agg$tmp96$byval_copy >> 2] = HEAP32[$agg$tmp25 >> 2]; + $call26 = __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE3getES4_S4_RNS_8ios_baseERjP2tmPKwSC_($this, $agg$tmp82$byval_copy, $agg$tmp96$byval_copy, $__iob, $__err, $__tm, 13008, 13040) | 0; + HEAP32[$__b >> 2] = $call26; label = 26; break; } case 72: { - HEAP32[$17 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy30 >> 2] = HEAP32[$17 >> 2]; - __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE10__get_hourERiRS4_S4_RjRKNS_5ctypeIwEE($0, $5 + 8 | 0, $1, $$byval_copy30, $4, $39); + HEAP32[$agg$tmp29 >> 2] = HEAP32[$__e >> 2]; + HEAP32[$agg$tmp96$byval_copy >> 2] = HEAP32[$agg$tmp29 >> 2]; + __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE10__get_hourERiRS4_S4_RjRKNS_5ctypeIwEE($this, $__tm + 8 | 0, $__b, $agg$tmp96$byval_copy, $__err, $call$i); label = 26; break; } case 73: { - HEAP32[$18 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy30 >> 2] = HEAP32[$18 >> 2]; - __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE13__get_12_hourERiRS4_S4_RjRKNS_5ctypeIwEE($0, $5 + 8 | 0, $1, $$byval_copy30, $4, $39); + HEAP32[$agg$tmp32 >> 2] = HEAP32[$__e >> 2]; + HEAP32[$agg$tmp96$byval_copy >> 2] = HEAP32[$agg$tmp32 >> 2]; + __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE13__get_12_hourERiRS4_S4_RjRKNS_5ctypeIwEE($this, $__tm + 8 | 0, $__b, $agg$tmp96$byval_copy, $__err, $call$i); label = 26; break; } case 106: { - HEAP32[$19 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy30 >> 2] = HEAP32[$19 >> 2]; - __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE18__get_day_year_numERiRS4_S4_RjRKNS_5ctypeIwEE($0, $5 + 28 | 0, $1, $$byval_copy30, $4, $39); + HEAP32[$agg$tmp34 >> 2] = HEAP32[$__e >> 2]; + HEAP32[$agg$tmp96$byval_copy >> 2] = HEAP32[$agg$tmp34 >> 2]; + __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE18__get_day_year_numERiRS4_S4_RjRKNS_5ctypeIwEE($this, $__tm + 28 | 0, $__b, $agg$tmp96$byval_copy, $__err, $call$i); label = 26; break; } case 109: { - HEAP32[$20 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy30 >> 2] = HEAP32[$20 >> 2]; - __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE11__get_monthERiRS4_S4_RjRKNS_5ctypeIwEE($0, $5 + 16 | 0, $1, $$byval_copy30, $4, $39); + HEAP32[$agg$tmp37 >> 2] = HEAP32[$__e >> 2]; + HEAP32[$agg$tmp96$byval_copy >> 2] = HEAP32[$agg$tmp37 >> 2]; + __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE11__get_monthERiRS4_S4_RjRKNS_5ctypeIwEE($this, $__tm + 16 | 0, $__b, $agg$tmp96$byval_copy, $__err, $call$i); label = 26; break; } case 77: { - HEAP32[$21 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy30 >> 2] = HEAP32[$21 >> 2]; - __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE12__get_minuteERiRS4_S4_RjRKNS_5ctypeIwEE($0, $5 + 4 | 0, $1, $$byval_copy30, $4, $39); + HEAP32[$agg$tmp39 >> 2] = HEAP32[$__e >> 2]; + HEAP32[$agg$tmp96$byval_copy >> 2] = HEAP32[$agg$tmp39 >> 2]; + __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE12__get_minuteERiRS4_S4_RjRKNS_5ctypeIwEE($this, $__tm + 4 | 0, $__b, $agg$tmp96$byval_copy, $__err, $call$i); label = 26; break; } case 116: case 110: { - HEAP32[$22 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy30 >> 2] = HEAP32[$22 >> 2]; - __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE17__get_white_spaceERS4_S4_RjRKNS_5ctypeIwEE($0, $1, $$byval_copy30, $4, $39); + HEAP32[$agg$tmp41 >> 2] = HEAP32[$__e >> 2]; + HEAP32[$agg$tmp96$byval_copy >> 2] = HEAP32[$agg$tmp41 >> 2]; + __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE17__get_white_spaceERS4_S4_RjRKNS_5ctypeIwEE($this, $__b, $agg$tmp96$byval_copy, $__err, $call$i); label = 26; break; } case 112: { - HEAP32[$23 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy30 >> 2] = HEAP32[$23 >> 2]; - __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE11__get_am_pmERiRS4_S4_RjRKNS_5ctypeIwEE($0, $5 + 8 | 0, $1, $$byval_copy30, $4, $39); + HEAP32[$agg$tmp44 >> 2] = HEAP32[$__e >> 2]; + HEAP32[$agg$tmp96$byval_copy >> 2] = HEAP32[$agg$tmp44 >> 2]; + __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE11__get_am_pmERiRS4_S4_RjRKNS_5ctypeIwEE($this, $__tm + 8 | 0, $__b, $agg$tmp96$byval_copy, $__err, $call$i); label = 26; break; } case 114: { - HEAP32[$24 >> 2] = HEAP32[$1 >> 2]; - HEAP32[$25 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy26 >> 2] = HEAP32[$24 >> 2]; - HEAP32[$$byval_copy30 >> 2] = HEAP32[$25 >> 2]; - $87 = __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE3getES4_S4_RNS_8ios_baseERjP2tmPKwSC_($0, $$byval_copy26, $$byval_copy30, $3, $4, $5, 13040, 13084) | 0; - HEAP32[$1 >> 2] = $87; + HEAP32[$agg$tmp47 >> 2] = HEAP32[$__b >> 2]; + HEAP32[$agg$tmp48 >> 2] = HEAP32[$__e >> 2]; + HEAP32[$agg$tmp82$byval_copy >> 2] = HEAP32[$agg$tmp47 >> 2]; + HEAP32[$agg$tmp96$byval_copy >> 2] = HEAP32[$agg$tmp48 >> 2]; + $call49 = __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE3getES4_S4_RNS_8ios_baseERjP2tmPKwSC_($this, $agg$tmp82$byval_copy, $agg$tmp96$byval_copy, $__iob, $__err, $__tm, 13040, 13084) | 0; + HEAP32[$__b >> 2] = $call49; label = 26; break; } case 82: { - HEAP32[$26 >> 2] = HEAP32[$1 >> 2]; - HEAP32[$27 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy26 >> 2] = HEAP32[$26 >> 2]; - HEAP32[$$byval_copy30 >> 2] = HEAP32[$27 >> 2]; - $90 = __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE3getES4_S4_RNS_8ios_baseERjP2tmPKwSC_($0, $$byval_copy26, $$byval_copy30, $3, $4, $5, 13088, 13108) | 0; - HEAP32[$1 >> 2] = $90; + HEAP32[$agg$tmp53 >> 2] = HEAP32[$__b >> 2]; + HEAP32[$agg$tmp54 >> 2] = HEAP32[$__e >> 2]; + HEAP32[$agg$tmp82$byval_copy >> 2] = HEAP32[$agg$tmp53 >> 2]; + HEAP32[$agg$tmp96$byval_copy >> 2] = HEAP32[$agg$tmp54 >> 2]; + $call55 = __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE3getES4_S4_RNS_8ios_baseERjP2tmPKwSC_($this, $agg$tmp82$byval_copy, $agg$tmp96$byval_copy, $__iob, $__err, $__tm, 13088, 13108) | 0; + HEAP32[$__b >> 2] = $call55; label = 26; break; } case 83: { - HEAP32[$28 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy30 >> 2] = HEAP32[$28 >> 2]; - __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE12__get_secondERiRS4_S4_RjRKNS_5ctypeIwEE($0, $5, $1, $$byval_copy30, $4, $39); + HEAP32[$agg$tmp58 >> 2] = HEAP32[$__e >> 2]; + HEAP32[$agg$tmp96$byval_copy >> 2] = HEAP32[$agg$tmp58 >> 2]; + __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE12__get_secondERiRS4_S4_RjRKNS_5ctypeIwEE($this, $__tm, $__b, $agg$tmp96$byval_copy, $__err, $call$i); label = 26; break; } case 84: { - HEAP32[$29 >> 2] = HEAP32[$1 >> 2]; - HEAP32[$30 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy26 >> 2] = HEAP32[$29 >> 2]; - HEAP32[$$byval_copy30 >> 2] = HEAP32[$30 >> 2]; - $94 = __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE3getES4_S4_RNS_8ios_baseERjP2tmPKwSC_($0, $$byval_copy26, $$byval_copy30, $3, $4, $5, 13120, 13152) | 0; - HEAP32[$1 >> 2] = $94; + HEAP32[$agg$tmp61 >> 2] = HEAP32[$__b >> 2]; + HEAP32[$agg$tmp62 >> 2] = HEAP32[$__e >> 2]; + HEAP32[$agg$tmp82$byval_copy >> 2] = HEAP32[$agg$tmp61 >> 2]; + HEAP32[$agg$tmp96$byval_copy >> 2] = HEAP32[$agg$tmp62 >> 2]; + $call63 = __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE3getES4_S4_RNS_8ios_baseERjP2tmPKwSC_($this, $agg$tmp82$byval_copy, $agg$tmp96$byval_copy, $__iob, $__err, $__tm, 13120, 13152) | 0; + HEAP32[$__b >> 2] = $call63; label = 26; break; } case 119: { - HEAP32[$31 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy30 >> 2] = HEAP32[$31 >> 2]; - __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE13__get_weekdayERiRS4_S4_RjRKNS_5ctypeIwEE($0, $5 + 24 | 0, $1, $$byval_copy30, $4, $39); + HEAP32[$agg$tmp67 >> 2] = HEAP32[$__e >> 2]; + HEAP32[$agg$tmp96$byval_copy >> 2] = HEAP32[$agg$tmp67 >> 2]; + __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE13__get_weekdayERiRS4_S4_RjRKNS_5ctypeIwEE($this, $__tm + 24 | 0, $__b, $agg$tmp96$byval_copy, $__err, $call$i); label = 26; break; } case 120: { - $99 = HEAP32[(HEAP32[$0 >> 2] | 0) + 20 >> 2] | 0; - HEAP32[$32 >> 2] = HEAP32[$1 >> 2]; - HEAP32[$33 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy26 >> 2] = HEAP32[$32 >> 2]; - HEAP32[$$byval_copy30 >> 2] = HEAP32[$33 >> 2]; - $$sroa$095$0 = FUNCTION_TABLE_iiiiiii[$99 & 63]($0, $$byval_copy26, $$byval_copy30, $3, $4, $5) | 0; + $30 = HEAP32[(HEAP32[$this >> 2] | 0) + 20 >> 2] | 0; + HEAP32[$agg$tmp71 >> 2] = HEAP32[$__b >> 2]; + HEAP32[$agg$tmp72 >> 2] = HEAP32[$__e >> 2]; + HEAP32[$agg$tmp82$byval_copy >> 2] = HEAP32[$agg$tmp71 >> 2]; + HEAP32[$agg$tmp96$byval_copy >> 2] = HEAP32[$agg$tmp72 >> 2]; + $retval$sroa$0$0 = FUNCTION_TABLE_iiiiiii[$30 & 63]($this, $agg$tmp82$byval_copy, $agg$tmp96$byval_copy, $__iob, $__err, $__tm) | 0; break; } case 88: { - $103 = $0 + 8 | 0; - $107 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$103 >> 2] | 0) + 24 >> 2] & 127]($103) | 0; - HEAP32[$34 >> 2] = HEAP32[$1 >> 2]; - HEAP32[$35 >> 2] = HEAP32[$2 >> 2]; - $112 = HEAP8[$107 + 8 + 3 >> 0] | 0; - $113 = $112 << 24 >> 24 < 0; - $118 = $113 ? HEAP32[$107 >> 2] | 0 : $107; - $120 = $118 + (($113 ? HEAP32[$107 + 4 >> 2] | 0 : $112 & 255) << 2) | 0; - HEAP32[$$byval_copy26 >> 2] = HEAP32[$34 >> 2]; - HEAP32[$$byval_copy30 >> 2] = HEAP32[$35 >> 2]; - $121 = __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE3getES4_S4_RNS_8ios_baseERjP2tmPKwSC_($0, $$byval_copy26, $$byval_copy30, $3, $4, $5, $118, $120) | 0; - HEAP32[$1 >> 2] = $121; + $add$ptr77 = $this + 8 | 0; + $call80 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$add$ptr77 >> 2] | 0) + 24 >> 2] & 127]($add$ptr77) | 0; + HEAP32[$agg$tmp82 >> 2] = HEAP32[$__b >> 2]; + HEAP32[$agg$tmp83 >> 2] = HEAP32[$__e >> 2]; + $37 = HEAP8[$call80 + 8 + 3 >> 0] | 0; + $tobool$i$i$i90 = $37 << 24 >> 24 < 0; + $cond$i$i103123 = $tobool$i$i$i90 ? HEAP32[$call80 >> 2] | 0 : $call80; + $add$ptr87 = $cond$i$i103123 + (($tobool$i$i$i90 ? HEAP32[$call80 + 4 >> 2] | 0 : $37 & 255) << 2) | 0; + HEAP32[$agg$tmp82$byval_copy >> 2] = HEAP32[$agg$tmp82 >> 2]; + HEAP32[$agg$tmp96$byval_copy >> 2] = HEAP32[$agg$tmp83 >> 2]; + $call88 = __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE3getES4_S4_RNS_8ios_baseERjP2tmPKwSC_($this, $agg$tmp82$byval_copy, $agg$tmp96$byval_copy, $__iob, $__err, $__tm, $cond$i$i103123, $add$ptr87) | 0; + HEAP32[$__b >> 2] = $call88; label = 26; break; } case 121: { - HEAP32[$36 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy30 >> 2] = HEAP32[$36 >> 2]; - __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE10__get_yearERiRS4_S4_RjRKNS_5ctypeIwEE($0, $5 + 20 | 0, $1, $$byval_copy30, $4, $39); + HEAP32[$agg$tmp91 >> 2] = HEAP32[$__e >> 2]; + HEAP32[$agg$tmp96$byval_copy >> 2] = HEAP32[$agg$tmp91 >> 2]; + __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE10__get_yearERiRS4_S4_RjRKNS_5ctypeIwEE($this, $__tm + 20 | 0, $__b, $agg$tmp96$byval_copy, $__err, $call$i); label = 26; break; } case 89: { - HEAP32[$37 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy30 >> 2] = HEAP32[$37 >> 2]; - __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE11__get_year4ERiRS4_S4_RjRKNS_5ctypeIwEE($0, $5 + 20 | 0, $1, $$byval_copy30, $4, $39); + HEAP32[$agg$tmp94 >> 2] = HEAP32[$__e >> 2]; + HEAP32[$agg$tmp96$byval_copy >> 2] = HEAP32[$agg$tmp94 >> 2]; + __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE11__get_year4ERiRS4_S4_RjRKNS_5ctypeIwEE($this, $__tm + 20 | 0, $__b, $agg$tmp96$byval_copy, $__err, $call$i); label = 26; break; } case 37: { - HEAP32[$38 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy30 >> 2] = HEAP32[$38 >> 2]; - __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE13__get_percentERS4_S4_RjRKNS_5ctypeIwEE($0, $1, $$byval_copy30, $4, $39); + HEAP32[$agg$tmp96 >> 2] = HEAP32[$__e >> 2]; + HEAP32[$agg$tmp96$byval_copy >> 2] = HEAP32[$agg$tmp96 >> 2]; + __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE13__get_percentERS4_S4_RjRKNS_5ctypeIwEE($this, $__b, $agg$tmp96$byval_copy, $__err, $call$i); label = 26; break; } default: { - HEAP32[$4 >> 2] = HEAP32[$4 >> 2] | 4; + HEAP32[$__err >> 2] = HEAP32[$__err >> 2] | 4; label = 26; } } while (0); - if ((label | 0) == 26) $$sroa$095$0 = HEAP32[$1 >> 2] | 0; + if ((label | 0) == 26) $retval$sroa$0$0 = HEAP32[$__b >> 2] | 0; STACKTOP = sp; - return $$sroa$095$0 | 0; + return $retval$sroa$0$0 | 0; } -function __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_RNS_8ios_baseERjP2tmcc($0, $1, $2, $3, $4, $5, $6, $7) { +function __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_RNS_8ios_baseERjP2tmcc($this, $__b, $__e, $__iob, $__err, $__tm, $__fmt, $0) { + $this = $this | 0; + $__b = $__b | 0; + $__e = $__e | 0; + $__iob = $__iob | 0; + $__err = $__err | 0; + $__tm = $__tm | 0; + $__fmt = $__fmt | 0; $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - $6 = $6 | 0; - $7 = $7 | 0; - var $$byval_copy26 = 0, $$byval_copy30 = 0, $$sroa$095$0 = 0, $10 = 0, $102 = 0, $106 = 0, $11 = 0, $110 = 0, $111 = 0, $116 = 0, $118 = 0, $119 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $45 = 0, $49 = 0, $53 = 0, $54 = 0, $59 = 0, $61 = 0, $62 = 0, $67 = 0, $70 = 0, $8 = 0, $86 = 0, $89 = 0, $9 = 0, $93 = 0, $98 = 0, label = 0, sp = 0; + var $29 = 0, $35 = 0, $6 = 0, $add$ptr = 0, $add$ptr12 = 0, $add$ptr77 = 0, $add$ptr87 = 0, $agg$tmp = 0, $agg$tmp15 = 0, $agg$tmp18 = 0, $agg$tmp19 = 0, $agg$tmp24 = 0, $agg$tmp25 = 0, $agg$tmp29 = 0, $agg$tmp3 = 0, $agg$tmp32 = 0, $agg$tmp34 = 0, $agg$tmp37 = 0, $agg$tmp39 = 0, $agg$tmp41 = 0, $agg$tmp44 = 0, $agg$tmp47 = 0, $agg$tmp48 = 0, $agg$tmp53 = 0, $agg$tmp54 = 0, $agg$tmp58 = 0, $agg$tmp61 = 0, $agg$tmp62 = 0, $agg$tmp67 = 0, $agg$tmp7 = 0, $agg$tmp71 = 0, $agg$tmp72 = 0, $agg$tmp8 = 0, $agg$tmp82 = 0, $agg$tmp82$byval_copy = 0, $agg$tmp83 = 0, $agg$tmp91 = 0, $agg$tmp94 = 0, $agg$tmp96 = 0, $agg$tmp96$byval_copy = 0, $call$i = 0, $call13 = 0, $call20 = 0, $call26 = 0, $call49 = 0, $call5 = 0, $call55 = 0, $call63 = 0, $call80 = 0, $call88 = 0, $cond$i$i106127 = 0, $cond$i$i88121 = 0, $retval$sroa$0$0 = 0, $tobool$i$i$i = 0, $tobool$i$i$i92 = 0, label = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 144 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(144); - $$byval_copy30 = sp + 128 | 0; - $$byval_copy26 = sp + 112 | 0; - $8 = sp + 124 | 0; - $9 = sp + 120 | 0; - $10 = sp + 116 | 0; - $11 = sp + 108 | 0; - $12 = sp + 104 | 0; - $13 = sp + 100 | 0; - $14 = sp + 96 | 0; - $15 = sp + 92 | 0; - $16 = sp + 88 | 0; - $17 = sp + 84 | 0; - $18 = sp + 80 | 0; - $19 = sp + 76 | 0; - $20 = sp + 72 | 0; - $21 = sp + 68 | 0; - $22 = sp + 64 | 0; - $23 = sp + 60 | 0; - $24 = sp + 56 | 0; - $25 = sp + 52 | 0; - $26 = sp + 48 | 0; - $27 = sp + 44 | 0; - $28 = sp + 40 | 0; - $29 = sp + 36 | 0; - $30 = sp + 32 | 0; - $31 = sp + 28 | 0; - $32 = sp + 24 | 0; - $33 = sp + 20 | 0; - $34 = sp + 16 | 0; - $35 = sp + 12 | 0; - $36 = sp + 8 | 0; - $37 = sp + 4 | 0; - $38 = sp; - HEAP32[$4 >> 2] = 0; - __ZNKSt3__28ios_base6getlocEv($$byval_copy30, $3); - $39 = __ZNKSt3__26locale9use_facetERNS0_2idE($$byval_copy30, 66512) | 0; - __ZNSt3__26localeD2Ev($$byval_copy30); - do switch ($6 << 24 >> 24 | 0) { + $agg$tmp96$byval_copy = sp + 128 | 0; + $agg$tmp82$byval_copy = sp + 112 | 0; + $agg$tmp = sp + 124 | 0; + $agg$tmp3 = sp + 120 | 0; + $agg$tmp7 = sp + 116 | 0; + $agg$tmp8 = sp + 108 | 0; + $agg$tmp15 = sp + 104 | 0; + $agg$tmp18 = sp + 100 | 0; + $agg$tmp19 = sp + 96 | 0; + $agg$tmp24 = sp + 92 | 0; + $agg$tmp25 = sp + 88 | 0; + $agg$tmp29 = sp + 84 | 0; + $agg$tmp32 = sp + 80 | 0; + $agg$tmp34 = sp + 76 | 0; + $agg$tmp37 = sp + 72 | 0; + $agg$tmp39 = sp + 68 | 0; + $agg$tmp41 = sp + 64 | 0; + $agg$tmp44 = sp + 60 | 0; + $agg$tmp47 = sp + 56 | 0; + $agg$tmp48 = sp + 52 | 0; + $agg$tmp53 = sp + 48 | 0; + $agg$tmp54 = sp + 44 | 0; + $agg$tmp58 = sp + 40 | 0; + $agg$tmp61 = sp + 36 | 0; + $agg$tmp62 = sp + 32 | 0; + $agg$tmp67 = sp + 28 | 0; + $agg$tmp71 = sp + 24 | 0; + $agg$tmp72 = sp + 20 | 0; + $agg$tmp82 = sp + 16 | 0; + $agg$tmp83 = sp + 12 | 0; + $agg$tmp91 = sp + 8 | 0; + $agg$tmp94 = sp + 4 | 0; + $agg$tmp96 = sp; + HEAP32[$__err >> 2] = 0; + __ZNKSt3__28ios_base6getlocEv($agg$tmp96$byval_copy, $__iob); + $call$i = __ZNKSt3__26locale9use_facetERNS0_2idE($agg$tmp96$byval_copy, 67360) | 0; + __ZNSt3__26localeD2Ev($agg$tmp96$byval_copy); + do switch ($__fmt << 24 >> 24 | 0) { case 65: case 97: { - HEAP32[$8 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy30 >> 2] = HEAP32[$8 >> 2]; - __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE17__get_weekdaynameERiRS4_S4_RjRKNS_5ctypeIcEE($0, $5 + 24 | 0, $1, $$byval_copy30, $4, $39); + HEAP32[$agg$tmp >> 2] = HEAP32[$__e >> 2]; + HEAP32[$agg$tmp96$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE17__get_weekdaynameERiRS4_S4_RjRKNS_5ctypeIcEE($this, $__tm + 24 | 0, $__b, $agg$tmp96$byval_copy, $__err, $call$i); label = 26; break; } @@ -31541,1053 +30855,2881 @@ function __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE case 66: case 98: { - HEAP32[$9 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy30 >> 2] = HEAP32[$9 >> 2]; - __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE15__get_monthnameERiRS4_S4_RjRKNS_5ctypeIcEE($0, $5 + 16 | 0, $1, $$byval_copy30, $4, $39); + HEAP32[$agg$tmp3 >> 2] = HEAP32[$__e >> 2]; + HEAP32[$agg$tmp96$byval_copy >> 2] = HEAP32[$agg$tmp3 >> 2]; + __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE15__get_monthnameERiRS4_S4_RjRKNS_5ctypeIcEE($this, $__tm + 16 | 0, $__b, $agg$tmp96$byval_copy, $__err, $call$i); label = 26; break; } case 99: { - $45 = $0 + 8 | 0; - $49 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$45 >> 2] | 0) + 12 >> 2] & 127]($45) | 0; - HEAP32[$10 >> 2] = HEAP32[$1 >> 2]; - HEAP32[$11 >> 2] = HEAP32[$2 >> 2]; - $53 = HEAP8[$49 + 11 >> 0] | 0; - $54 = $53 << 24 >> 24 < 0; - $59 = $54 ? HEAP32[$49 >> 2] | 0 : $49; - $61 = $59 + ($54 ? HEAP32[$49 + 4 >> 2] | 0 : $53 & 255) | 0; - HEAP32[$$byval_copy26 >> 2] = HEAP32[$10 >> 2]; - HEAP32[$$byval_copy30 >> 2] = HEAP32[$11 >> 2]; - $62 = __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE3getES4_S4_RNS_8ios_baseERjP2tmPKcSC_($0, $$byval_copy26, $$byval_copy30, $3, $4, $5, $59, $61) | 0; - HEAP32[$1 >> 2] = $62; + $add$ptr = $this + 8 | 0; + $call5 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$add$ptr >> 2] | 0) + 12 >> 2] & 127]($add$ptr) | 0; + HEAP32[$agg$tmp7 >> 2] = HEAP32[$__b >> 2]; + HEAP32[$agg$tmp8 >> 2] = HEAP32[$__e >> 2]; + $6 = HEAP8[$call5 + 11 >> 0] | 0; + $tobool$i$i$i = $6 << 24 >> 24 < 0; + $cond$i$i88121 = $tobool$i$i$i ? HEAP32[$call5 >> 2] | 0 : $call5; + $add$ptr12 = $cond$i$i88121 + ($tobool$i$i$i ? HEAP32[$call5 + 4 >> 2] | 0 : $6 & 255) | 0; + HEAP32[$agg$tmp82$byval_copy >> 2] = HEAP32[$agg$tmp7 >> 2]; + HEAP32[$agg$tmp96$byval_copy >> 2] = HEAP32[$agg$tmp8 >> 2]; + $call13 = __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE3getES4_S4_RNS_8ios_baseERjP2tmPKcSC_($this, $agg$tmp82$byval_copy, $agg$tmp96$byval_copy, $__iob, $__err, $__tm, $cond$i$i88121, $add$ptr12) | 0; + HEAP32[$__b >> 2] = $call13; label = 26; break; } case 101: case 100: { - HEAP32[$12 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy30 >> 2] = HEAP32[$12 >> 2]; - __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE9__get_dayERiRS4_S4_RjRKNS_5ctypeIcEE($0, $5 + 12 | 0, $1, $$byval_copy30, $4, $39); + HEAP32[$agg$tmp15 >> 2] = HEAP32[$__e >> 2]; + HEAP32[$agg$tmp96$byval_copy >> 2] = HEAP32[$agg$tmp15 >> 2]; + __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE9__get_dayERiRS4_S4_RjRKNS_5ctypeIcEE($this, $__tm + 12 | 0, $__b, $agg$tmp96$byval_copy, $__err, $call$i); label = 26; break; } case 68: { - HEAP32[$13 >> 2] = HEAP32[$1 >> 2]; - HEAP32[$14 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy26 >> 2] = HEAP32[$13 >> 2]; - HEAP32[$$byval_copy30 >> 2] = HEAP32[$14 >> 2]; - $67 = __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE3getES4_S4_RNS_8ios_baseERjP2tmPKcSC_($0, $$byval_copy26, $$byval_copy30, $3, $4, $5, 59674, 59682) | 0; - HEAP32[$1 >> 2] = $67; + HEAP32[$agg$tmp18 >> 2] = HEAP32[$__b >> 2]; + HEAP32[$agg$tmp19 >> 2] = HEAP32[$__e >> 2]; + HEAP32[$agg$tmp82$byval_copy >> 2] = HEAP32[$agg$tmp18 >> 2]; + HEAP32[$agg$tmp96$byval_copy >> 2] = HEAP32[$agg$tmp19 >> 2]; + $call20 = __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE3getES4_S4_RNS_8ios_baseERjP2tmPKcSC_($this, $agg$tmp82$byval_copy, $agg$tmp96$byval_copy, $__iob, $__err, $__tm, 60516, 60524) | 0; + HEAP32[$__b >> 2] = $call20; label = 26; break; } case 70: { - HEAP32[$15 >> 2] = HEAP32[$1 >> 2]; - HEAP32[$16 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy26 >> 2] = HEAP32[$15 >> 2]; - HEAP32[$$byval_copy30 >> 2] = HEAP32[$16 >> 2]; - $70 = __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE3getES4_S4_RNS_8ios_baseERjP2tmPKcSC_($0, $$byval_copy26, $$byval_copy30, $3, $4, $5, 59682, 59690) | 0; - HEAP32[$1 >> 2] = $70; + HEAP32[$agg$tmp24 >> 2] = HEAP32[$__b >> 2]; + HEAP32[$agg$tmp25 >> 2] = HEAP32[$__e >> 2]; + HEAP32[$agg$tmp82$byval_copy >> 2] = HEAP32[$agg$tmp24 >> 2]; + HEAP32[$agg$tmp96$byval_copy >> 2] = HEAP32[$agg$tmp25 >> 2]; + $call26 = __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE3getES4_S4_RNS_8ios_baseERjP2tmPKcSC_($this, $agg$tmp82$byval_copy, $agg$tmp96$byval_copy, $__iob, $__err, $__tm, 60524, 60532) | 0; + HEAP32[$__b >> 2] = $call26; label = 26; break; } case 72: { - HEAP32[$17 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy30 >> 2] = HEAP32[$17 >> 2]; - __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE10__get_hourERiRS4_S4_RjRKNS_5ctypeIcEE($0, $5 + 8 | 0, $1, $$byval_copy30, $4, $39); + HEAP32[$agg$tmp29 >> 2] = HEAP32[$__e >> 2]; + HEAP32[$agg$tmp96$byval_copy >> 2] = HEAP32[$agg$tmp29 >> 2]; + __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE10__get_hourERiRS4_S4_RjRKNS_5ctypeIcEE($this, $__tm + 8 | 0, $__b, $agg$tmp96$byval_copy, $__err, $call$i); label = 26; break; } case 73: { - HEAP32[$18 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy30 >> 2] = HEAP32[$18 >> 2]; - __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE13__get_12_hourERiRS4_S4_RjRKNS_5ctypeIcEE($0, $5 + 8 | 0, $1, $$byval_copy30, $4, $39); + HEAP32[$agg$tmp32 >> 2] = HEAP32[$__e >> 2]; + HEAP32[$agg$tmp96$byval_copy >> 2] = HEAP32[$agg$tmp32 >> 2]; + __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE13__get_12_hourERiRS4_S4_RjRKNS_5ctypeIcEE($this, $__tm + 8 | 0, $__b, $agg$tmp96$byval_copy, $__err, $call$i); label = 26; break; } case 106: { - HEAP32[$19 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy30 >> 2] = HEAP32[$19 >> 2]; - __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE18__get_day_year_numERiRS4_S4_RjRKNS_5ctypeIcEE($0, $5 + 28 | 0, $1, $$byval_copy30, $4, $39); + HEAP32[$agg$tmp34 >> 2] = HEAP32[$__e >> 2]; + HEAP32[$agg$tmp96$byval_copy >> 2] = HEAP32[$agg$tmp34 >> 2]; + __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE18__get_day_year_numERiRS4_S4_RjRKNS_5ctypeIcEE($this, $__tm + 28 | 0, $__b, $agg$tmp96$byval_copy, $__err, $call$i); label = 26; break; } case 109: { - HEAP32[$20 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy30 >> 2] = HEAP32[$20 >> 2]; - __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE11__get_monthERiRS4_S4_RjRKNS_5ctypeIcEE($0, $5 + 16 | 0, $1, $$byval_copy30, $4, $39); + HEAP32[$agg$tmp37 >> 2] = HEAP32[$__e >> 2]; + HEAP32[$agg$tmp96$byval_copy >> 2] = HEAP32[$agg$tmp37 >> 2]; + __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE11__get_monthERiRS4_S4_RjRKNS_5ctypeIcEE($this, $__tm + 16 | 0, $__b, $agg$tmp96$byval_copy, $__err, $call$i); label = 26; break; } case 77: { - HEAP32[$21 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy30 >> 2] = HEAP32[$21 >> 2]; - __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE12__get_minuteERiRS4_S4_RjRKNS_5ctypeIcEE($0, $5 + 4 | 0, $1, $$byval_copy30, $4, $39); + HEAP32[$agg$tmp39 >> 2] = HEAP32[$__e >> 2]; + HEAP32[$agg$tmp96$byval_copy >> 2] = HEAP32[$agg$tmp39 >> 2]; + __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE12__get_minuteERiRS4_S4_RjRKNS_5ctypeIcEE($this, $__tm + 4 | 0, $__b, $agg$tmp96$byval_copy, $__err, $call$i); label = 26; break; } case 116: case 110: { - HEAP32[$22 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy30 >> 2] = HEAP32[$22 >> 2]; - __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE17__get_white_spaceERS4_S4_RjRKNS_5ctypeIcEE($0, $1, $$byval_copy30, $4, $39); + HEAP32[$agg$tmp41 >> 2] = HEAP32[$__e >> 2]; + HEAP32[$agg$tmp96$byval_copy >> 2] = HEAP32[$agg$tmp41 >> 2]; + __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE17__get_white_spaceERS4_S4_RjRKNS_5ctypeIcEE($this, $__b, $agg$tmp96$byval_copy, $__err, $call$i); label = 26; break; } case 112: { - HEAP32[$23 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy30 >> 2] = HEAP32[$23 >> 2]; - __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE11__get_am_pmERiRS4_S4_RjRKNS_5ctypeIcEE($0, $5 + 8 | 0, $1, $$byval_copy30, $4, $39); + HEAP32[$agg$tmp44 >> 2] = HEAP32[$__e >> 2]; + HEAP32[$agg$tmp96$byval_copy >> 2] = HEAP32[$agg$tmp44 >> 2]; + __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE11__get_am_pmERiRS4_S4_RjRKNS_5ctypeIcEE($this, $__tm + 8 | 0, $__b, $agg$tmp96$byval_copy, $__err, $call$i); label = 26; break; } case 114: { - HEAP32[$24 >> 2] = HEAP32[$1 >> 2]; - HEAP32[$25 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy26 >> 2] = HEAP32[$24 >> 2]; - HEAP32[$$byval_copy30 >> 2] = HEAP32[$25 >> 2]; - $86 = __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE3getES4_S4_RNS_8ios_baseERjP2tmPKcSC_($0, $$byval_copy26, $$byval_copy30, $3, $4, $5, 59690, 59701) | 0; - HEAP32[$1 >> 2] = $86; + HEAP32[$agg$tmp47 >> 2] = HEAP32[$__b >> 2]; + HEAP32[$agg$tmp48 >> 2] = HEAP32[$__e >> 2]; + HEAP32[$agg$tmp82$byval_copy >> 2] = HEAP32[$agg$tmp47 >> 2]; + HEAP32[$agg$tmp96$byval_copy >> 2] = HEAP32[$agg$tmp48 >> 2]; + $call49 = __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE3getES4_S4_RNS_8ios_baseERjP2tmPKcSC_($this, $agg$tmp82$byval_copy, $agg$tmp96$byval_copy, $__iob, $__err, $__tm, 60532, 60543) | 0; + HEAP32[$__b >> 2] = $call49; label = 26; break; } case 82: { - HEAP32[$26 >> 2] = HEAP32[$1 >> 2]; - HEAP32[$27 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy26 >> 2] = HEAP32[$26 >> 2]; - HEAP32[$$byval_copy30 >> 2] = HEAP32[$27 >> 2]; - $89 = __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE3getES4_S4_RNS_8ios_baseERjP2tmPKcSC_($0, $$byval_copy26, $$byval_copy30, $3, $4, $5, 59701, 59706) | 0; - HEAP32[$1 >> 2] = $89; + HEAP32[$agg$tmp53 >> 2] = HEAP32[$__b >> 2]; + HEAP32[$agg$tmp54 >> 2] = HEAP32[$__e >> 2]; + HEAP32[$agg$tmp82$byval_copy >> 2] = HEAP32[$agg$tmp53 >> 2]; + HEAP32[$agg$tmp96$byval_copy >> 2] = HEAP32[$agg$tmp54 >> 2]; + $call55 = __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE3getES4_S4_RNS_8ios_baseERjP2tmPKcSC_($this, $agg$tmp82$byval_copy, $agg$tmp96$byval_copy, $__iob, $__err, $__tm, 60543, 60548) | 0; + HEAP32[$__b >> 2] = $call55; label = 26; break; } case 83: { - HEAP32[$28 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy30 >> 2] = HEAP32[$28 >> 2]; - __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE12__get_secondERiRS4_S4_RjRKNS_5ctypeIcEE($0, $5, $1, $$byval_copy30, $4, $39); + HEAP32[$agg$tmp58 >> 2] = HEAP32[$__e >> 2]; + HEAP32[$agg$tmp96$byval_copy >> 2] = HEAP32[$agg$tmp58 >> 2]; + __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE12__get_secondERiRS4_S4_RjRKNS_5ctypeIcEE($this, $__tm, $__b, $agg$tmp96$byval_copy, $__err, $call$i); label = 26; break; } case 84: { - HEAP32[$29 >> 2] = HEAP32[$1 >> 2]; - HEAP32[$30 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy26 >> 2] = HEAP32[$29 >> 2]; - HEAP32[$$byval_copy30 >> 2] = HEAP32[$30 >> 2]; - $93 = __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE3getES4_S4_RNS_8ios_baseERjP2tmPKcSC_($0, $$byval_copy26, $$byval_copy30, $3, $4, $5, 59706, 59714) | 0; - HEAP32[$1 >> 2] = $93; + HEAP32[$agg$tmp61 >> 2] = HEAP32[$__b >> 2]; + HEAP32[$agg$tmp62 >> 2] = HEAP32[$__e >> 2]; + HEAP32[$agg$tmp82$byval_copy >> 2] = HEAP32[$agg$tmp61 >> 2]; + HEAP32[$agg$tmp96$byval_copy >> 2] = HEAP32[$agg$tmp62 >> 2]; + $call63 = __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE3getES4_S4_RNS_8ios_baseERjP2tmPKcSC_($this, $agg$tmp82$byval_copy, $agg$tmp96$byval_copy, $__iob, $__err, $__tm, 60548, 60556) | 0; + HEAP32[$__b >> 2] = $call63; label = 26; break; } case 119: { - HEAP32[$31 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy30 >> 2] = HEAP32[$31 >> 2]; - __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE13__get_weekdayERiRS4_S4_RjRKNS_5ctypeIcEE($0, $5 + 24 | 0, $1, $$byval_copy30, $4, $39); + HEAP32[$agg$tmp67 >> 2] = HEAP32[$__e >> 2]; + HEAP32[$agg$tmp96$byval_copy >> 2] = HEAP32[$agg$tmp67 >> 2]; + __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE13__get_weekdayERiRS4_S4_RjRKNS_5ctypeIcEE($this, $__tm + 24 | 0, $__b, $agg$tmp96$byval_copy, $__err, $call$i); label = 26; break; } case 120: { - $98 = HEAP32[(HEAP32[$0 >> 2] | 0) + 20 >> 2] | 0; - HEAP32[$32 >> 2] = HEAP32[$1 >> 2]; - HEAP32[$33 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy26 >> 2] = HEAP32[$32 >> 2]; - HEAP32[$$byval_copy30 >> 2] = HEAP32[$33 >> 2]; - $$sroa$095$0 = FUNCTION_TABLE_iiiiiii[$98 & 63]($0, $$byval_copy26, $$byval_copy30, $3, $4, $5) | 0; + $29 = HEAP32[(HEAP32[$this >> 2] | 0) + 20 >> 2] | 0; + HEAP32[$agg$tmp71 >> 2] = HEAP32[$__b >> 2]; + HEAP32[$agg$tmp72 >> 2] = HEAP32[$__e >> 2]; + HEAP32[$agg$tmp82$byval_copy >> 2] = HEAP32[$agg$tmp71 >> 2]; + HEAP32[$agg$tmp96$byval_copy >> 2] = HEAP32[$agg$tmp72 >> 2]; + $retval$sroa$0$0 = FUNCTION_TABLE_iiiiiii[$29 & 63]($this, $agg$tmp82$byval_copy, $agg$tmp96$byval_copy, $__iob, $__err, $__tm) | 0; break; } case 88: { - $102 = $0 + 8 | 0; - $106 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$102 >> 2] | 0) + 24 >> 2] & 127]($102) | 0; - HEAP32[$34 >> 2] = HEAP32[$1 >> 2]; - HEAP32[$35 >> 2] = HEAP32[$2 >> 2]; - $110 = HEAP8[$106 + 11 >> 0] | 0; - $111 = $110 << 24 >> 24 < 0; - $116 = $111 ? HEAP32[$106 >> 2] | 0 : $106; - $118 = $116 + ($111 ? HEAP32[$106 + 4 >> 2] | 0 : $110 & 255) | 0; - HEAP32[$$byval_copy26 >> 2] = HEAP32[$34 >> 2]; - HEAP32[$$byval_copy30 >> 2] = HEAP32[$35 >> 2]; - $119 = __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE3getES4_S4_RNS_8ios_baseERjP2tmPKcSC_($0, $$byval_copy26, $$byval_copy30, $3, $4, $5, $116, $118) | 0; - HEAP32[$1 >> 2] = $119; + $add$ptr77 = $this + 8 | 0; + $call80 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$add$ptr77 >> 2] | 0) + 24 >> 2] & 127]($add$ptr77) | 0; + HEAP32[$agg$tmp82 >> 2] = HEAP32[$__b >> 2]; + HEAP32[$agg$tmp83 >> 2] = HEAP32[$__e >> 2]; + $35 = HEAP8[$call80 + 11 >> 0] | 0; + $tobool$i$i$i92 = $35 << 24 >> 24 < 0; + $cond$i$i106127 = $tobool$i$i$i92 ? HEAP32[$call80 >> 2] | 0 : $call80; + $add$ptr87 = $cond$i$i106127 + ($tobool$i$i$i92 ? HEAP32[$call80 + 4 >> 2] | 0 : $35 & 255) | 0; + HEAP32[$agg$tmp82$byval_copy >> 2] = HEAP32[$agg$tmp82 >> 2]; + HEAP32[$agg$tmp96$byval_copy >> 2] = HEAP32[$agg$tmp83 >> 2]; + $call88 = __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE3getES4_S4_RNS_8ios_baseERjP2tmPKcSC_($this, $agg$tmp82$byval_copy, $agg$tmp96$byval_copy, $__iob, $__err, $__tm, $cond$i$i106127, $add$ptr87) | 0; + HEAP32[$__b >> 2] = $call88; label = 26; break; } case 121: { - HEAP32[$36 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy30 >> 2] = HEAP32[$36 >> 2]; - __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE10__get_yearERiRS4_S4_RjRKNS_5ctypeIcEE($0, $5 + 20 | 0, $1, $$byval_copy30, $4, $39); + HEAP32[$agg$tmp91 >> 2] = HEAP32[$__e >> 2]; + HEAP32[$agg$tmp96$byval_copy >> 2] = HEAP32[$agg$tmp91 >> 2]; + __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE10__get_yearERiRS4_S4_RjRKNS_5ctypeIcEE($this, $__tm + 20 | 0, $__b, $agg$tmp96$byval_copy, $__err, $call$i); label = 26; break; } case 89: { - HEAP32[$37 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy30 >> 2] = HEAP32[$37 >> 2]; - __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE11__get_year4ERiRS4_S4_RjRKNS_5ctypeIcEE($0, $5 + 20 | 0, $1, $$byval_copy30, $4, $39); + HEAP32[$agg$tmp94 >> 2] = HEAP32[$__e >> 2]; + HEAP32[$agg$tmp96$byval_copy >> 2] = HEAP32[$agg$tmp94 >> 2]; + __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE11__get_year4ERiRS4_S4_RjRKNS_5ctypeIcEE($this, $__tm + 20 | 0, $__b, $agg$tmp96$byval_copy, $__err, $call$i); label = 26; break; } case 37: { - HEAP32[$38 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy30 >> 2] = HEAP32[$38 >> 2]; - __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE13__get_percentERS4_S4_RjRKNS_5ctypeIcEE($0, $1, $$byval_copy30, $4, $39); + HEAP32[$agg$tmp96 >> 2] = HEAP32[$__e >> 2]; + HEAP32[$agg$tmp96$byval_copy >> 2] = HEAP32[$agg$tmp96 >> 2]; + __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE13__get_percentERS4_S4_RjRKNS_5ctypeIcEE($this, $__b, $agg$tmp96$byval_copy, $__err, $call$i); label = 26; break; } default: { - HEAP32[$4 >> 2] = HEAP32[$4 >> 2] | 4; + HEAP32[$__err >> 2] = HEAP32[$__err >> 2] | 4; label = 26; } } while (0); - if ((label | 0) == 26) $$sroa$095$0 = HEAP32[$1 >> 2] | 0; + if ((label | 0) == 26) $retval$sroa$0$0 = HEAP32[$__b >> 2] | 0; STACKTOP = sp; - return $$sroa$095$0 | 0; + return $retval$sroa$0$0 | 0; } -function _jpgread($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $$0$reg2mem$0 = 0, $$033$reg2mem99$0 = 0, $$034$reg2mem101$0 = 0, $$reg2mem103$0 = 0, $10 = 0, $11 = 0, $13 = 0, $14 = 0, $15 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $30 = 0, $31 = 0, $32 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $45 = 0, $47 = 0, $48 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $69 = 0, $7 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $9 = 0, $91 = 0, $93 = 0, $99 = 0, $vararg_buffer = 0, $vararg_buffer105 = 0, $vararg_buffer107 = 0, _setjmpTable = 0, _setjmpTableSize = 0, label = 0, sp = 0; +function _jpeg_idct_4x8($cinfo, $compptr, $coef_block, $output_buf, $output_col) { + $cinfo = $cinfo | 0; + $compptr = $compptr | 0; + $coef_block = $coef_block | 0; + $output_buf = $output_buf | 0; + $output_col = $output_col | 0; + var $$sink = 0, $0 = 0, $101 = 0, $102 = 0, $103 = 0, $115 = 0, $116 = 0, $117 = 0, $129 = 0, $130 = 0, $131 = 0, $17 = 0, $2 = 0, $3 = 0, $31 = 0, $32 = 0, $33 = 0, $45 = 0, $46 = 0, $47 = 0, $59 = 0, $60 = 0, $61 = 0, $73 = 0, $74 = 0, $75 = 0, $87 = 0, $88 = 0, $89 = 0, $add = 0, $add$ptr = 0, $add$ptr146 = 0, $add$ptr146$1 = 0, $add$ptr146$2 = 0, $add$ptr146$3 = 0, $add$ptr146$4 = 0, $add$ptr146$5 = 0, $add$ptr146$6 = 0, $add$ptr146$7 = 0, $add103 = 0, $add105 = 0, $add111 = 0, $add113 = 0, $add148 = 0, $add148$1 = 0, $add148$2 = 0, $add148$3 = 0, $add148$4 = 0, $add148$5 = 0, $add148$6 = 0, $add148$7 = 0, $add159 = 0, $add159$1 = 0, $add159$2 = 0, $add159$3 = 0, $add159$4 = 0, $add159$5 = 0, $add159$6 = 0, $add159$7 = 0, $add55 = 0, $add67 = 0, $add70 = 0, $add72 = 0, $add90 = 0, $add91 = 0, $add96 = 0, $add97 = 0, $ctr$0166 = 0, $inptr$0163 = 0, $mul107 = 0, $mul157 = 0, $mul157$1 = 0, $mul157$2 = 0, $mul157$3 = 0, $mul157$4 = 0, $mul157$5 = 0, $mul157$6 = 0, $mul157$7 = 0, $mul59 = 0, $mul63 = 0, $mul65 = 0, $mul77 = 0, $mul81 = 0, $mul85 = 0, $mul89 = 0, $mul93 = 0, $mul99 = 0, $quantptr$0164 = 0, $shl = 0, $shl151 = 0, $shl151$1 = 0, $shl151$2 = 0, $shl151$3 = 0, $shl151$4 = 0, $shl151$5 = 0, $shl151$6 = 0, $shl151$7 = 0, $shl153 = 0, $shl153$1 = 0, $shl153$2 = 0, $shl153$3 = 0, $shl153$4 = 0, $shl153$5 = 0, $shl153$6 = 0, $shl153$7 = 0, $shl54 = 0, $shr135$sink = 0, $sub = 0, $sub161 = 0, $sub161$1 = 0, $sub161$2 = 0, $sub161$3 = 0, $sub161$4 = 0, $sub161$5 = 0, $sub161$6 = 0, $sub161$7 = 0, $sub69 = 0, $sub71 = 0, $sub73 = 0, $workspace = 0, $wsptr$0165 = 0, label = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 832 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(832); - $vararg_buffer107 = sp + 528 | 0; - $vararg_buffer105 = sp + 520 | 0; - $vararg_buffer = sp + 512 | 0; - _setjmpTableSize = 4; - _setjmpTable = _malloc(40) | 0; - HEAP32[_setjmpTable >> 2] = 0; - $5 = sp + 24 | 0; - $6 = sp + 536 | 0; - $7 = sp; - _memset($5 | 0, 0, 488) | 0; - __THREW__ = 0; - $8 = invoke_ii(63, $6 | 0) | 0; - $9 = __THREW__; - __THREW__ = 0; - if (($9 | 0) != 0 & (threwValue | 0) != 0) { - $10 = _testSetjmp(HEAP32[$9 >> 2] | 0, _setjmpTable | 0, _setjmpTableSize | 0) | 0; - if (!$10) _longjmp($9 | 0, threwValue | 0); - setTempRet0(threwValue | 0); - } else $10 = -1; - $11 = getTempRet0() | 0; - if (($10 | 0) != 1) { - HEAP32[$5 >> 2] = $8; - HEAP32[$6 >> 2] = 181; - _setjmpTable = _saveSetjmp($6 + 132 | 0, 1, _setjmpTable | 0, _setjmpTableSize | 0) | 0; - _setjmpTableSize = getTempRet0() | 0; - __THREW__ = 0; - $13 = __THREW__; - __THREW__ = 0; - if (($13 | 0) != 0 & (threwValue | 0) != 0) { - $14 = _testSetjmp(HEAP32[$13 >> 2] | 0, _setjmpTable | 0, _setjmpTableSize | 0) | 0; - if (!$14) _longjmp($13 | 0, threwValue | 0); - setTempRet0(threwValue | 0); - } else $14 = -1; - $15 = getTempRet0() | 0; - if (($14 | 0) == 1) $$reg2mem103$0 = $15; else $$reg2mem103$0 = 0; - } else $$reg2mem103$0 = $11; - L4 : while (1) { - if ($$reg2mem103$0 | 0) { - __THREW__ = 0; - invoke_vi(182, $5 | 0); - $17 = __THREW__; - __THREW__ = 0; - if (($17 | 0) != 0 & (threwValue | 0) != 0) { - $18 = _testSetjmp(HEAP32[$17 >> 2] | 0, _setjmpTable | 0, _setjmpTableSize | 0) | 0; - if (!$18) _longjmp($17 | 0, threwValue | 0); - setTempRet0(threwValue | 0); - } else $18 = -1; - $19 = getTempRet0() | 0; - if (($18 | 0) == 1) { - $$reg2mem103$0 = $19; - continue; - } - __THREW__ = 0; - invoke_viiii(8, 0, 3, 25828, $vararg_buffer | 0); - $20 = __THREW__; - __THREW__ = 0; - if (($20 | 0) != 0 & (threwValue | 0) != 0) { - $21 = _testSetjmp(HEAP32[$20 >> 2] | 0, _setjmpTable | 0, _setjmpTableSize | 0) | 0; - if (!$21) _longjmp($20 | 0, threwValue | 0); - setTempRet0(threwValue | 0); - } else $21 = -1; - $22 = getTempRet0() | 0; - if (($21 | 0) == 1) { - $$reg2mem103$0 = $22; - continue; - } else { - label = 7; - break; - } - } - __THREW__ = 0; - invoke_viii(1, $5 | 0, 90, 488); - $23 = __THREW__; - __THREW__ = 0; - if (($23 | 0) != 0 & (threwValue | 0) != 0) { - $24 = _testSetjmp(HEAP32[$23 >> 2] | 0, _setjmpTable | 0, _setjmpTableSize | 0) | 0; - if (!$24) _longjmp($23 | 0, threwValue | 0); - setTempRet0(threwValue | 0); - } else $24 = -1; - $25 = getTempRet0() | 0; - if (($24 | 0) == 1) { - $$reg2mem103$0 = $25; - continue; - } - __THREW__ = 0; - invoke_vii(125, $5 | 0, $0 | 0); - $26 = __THREW__; - __THREW__ = 0; - if (($26 | 0) != 0 & (threwValue | 0) != 0) { - $27 = _testSetjmp(HEAP32[$26 >> 2] | 0, _setjmpTable | 0, _setjmpTableSize | 0) | 0; - if (!$27) _longjmp($26 | 0, threwValue | 0); - setTempRet0(threwValue | 0); - } else $27 = -1; - $28 = getTempRet0() | 0; - if (($27 | 0) == 1) { - $$reg2mem103$0 = $28; - continue; - } - __THREW__ = 0; - $29 = invoke_iii(43, $5 | 0, 1) | 0; - $30 = __THREW__; - __THREW__ = 0; - if (($30 | 0) != 0 & (threwValue | 0) != 0) { - $31 = _testSetjmp(HEAP32[$30 >> 2] | 0, _setjmpTable | 0, _setjmpTableSize | 0) | 0; - if (!$31) _longjmp($30 | 0, threwValue | 0); - setTempRet0(threwValue | 0); - } else $31 = -1; - $32 = getTempRet0() | 0; - if (($31 | 0) == 1) { - $$reg2mem103$0 = $32; - continue; + STACKTOP = STACKTOP + 128 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(128); + $workspace = sp; + $0 = HEAP32[$cinfo + 336 >> 2] | 0; + $ctr$0166 = 4; + $inptr$0163 = $coef_block; + $quantptr$0164 = HEAP32[$compptr + 84 >> 2] | 0; + $wsptr$0165 = $workspace; + while (1) { + $2 = HEAP16[$inptr$0163 + 16 >> 1] | 0; + $3 = HEAP16[$inptr$0163 + 32 >> 1] | 0; + if (!(($2 | $3) << 16 >> 16)) if (((((HEAP16[$inptr$0163 + 48 >> 1] | 0) == 0 ? (HEAP16[$inptr$0163 + 64 >> 1] | 0) == 0 : 0) ? (HEAP16[$inptr$0163 + 80 >> 1] | 0) == 0 : 0) ? (HEAP16[$inptr$0163 + 96 >> 1] | 0) == 0 : 0) ? (HEAP16[$inptr$0163 + 112 >> 1] | 0) == 0 : 0) { + $shl = Math_imul(HEAP16[$inptr$0163 >> 1] << 2, HEAP32[$quantptr$0164 >> 2] | 0) | 0; + HEAP32[$wsptr$0165 >> 2] = $shl; + HEAP32[$wsptr$0165 + 16 >> 2] = $shl; + HEAP32[$wsptr$0165 + 32 >> 2] = $shl; + HEAP32[$wsptr$0165 + 48 >> 2] = $shl; + HEAP32[$wsptr$0165 + 64 >> 2] = $shl; + HEAP32[$wsptr$0165 + 80 >> 2] = $shl; + HEAP32[$wsptr$0165 + 96 >> 2] = $shl; + $$sink = 28; + $shr135$sink = $shl; + } else { + $17 = 0; + label = 9; + } else { + $17 = $3; + label = 9; } - if (($29 | 0) != 1) { - __THREW__ = 0; - invoke_viiii(8, 0, 3, 25854, $vararg_buffer105 | 0); - $34 = __THREW__; - __THREW__ = 0; - if (($34 | 0) != 0 & (threwValue | 0) != 0) { - $35 = _testSetjmp(HEAP32[$34 >> 2] | 0, _setjmpTable | 0, _setjmpTableSize | 0) | 0; - if (!$35) _longjmp($34 | 0, threwValue | 0); - setTempRet0(threwValue | 0); - } else $35 = -1; - $36 = getTempRet0() | 0; - if (($35 | 0) == 1) { - $$reg2mem103$0 = $36; - continue; + if ((label | 0) == 9) { + label = 0; + $shl54 = Math_imul(HEAP16[$inptr$0163 + 64 >> 1] << 13, HEAP32[$quantptr$0164 + 128 >> 2] | 0) | 0; + $add = Math_imul(HEAP16[$inptr$0163 >> 1] << 13, HEAP32[$quantptr$0164 >> 2] | 0) | 0 | 1024; + $add55 = $shl54 + $add | 0; + $sub = $add - $shl54 | 0; + $mul59 = Math_imul(HEAP32[$quantptr$0164 + 64 >> 2] | 0, $17 << 16 >> 16) | 0; + $mul63 = Math_imul(HEAP32[$quantptr$0164 + 192 >> 2] | 0, HEAP16[$inptr$0163 + 96 >> 1] | 0) | 0; + $mul65 = ($mul63 + $mul59 | 0) * 4433 | 0; + $add67 = $mul65 + ($mul59 * 6270 | 0) | 0; + $sub69 = $mul65 + (Math_imul($mul63, -15137) | 0) | 0; + $add70 = $add67 + $add55 | 0; + $sub71 = $add55 - $add67 | 0; + $add72 = $sub69 + $sub | 0; + $sub73 = $sub - $sub69 | 0; + $mul77 = Math_imul(HEAP32[$quantptr$0164 + 224 >> 2] | 0, HEAP16[$inptr$0163 + 112 >> 1] | 0) | 0; + $mul81 = Math_imul(HEAP32[$quantptr$0164 + 160 >> 2] | 0, HEAP16[$inptr$0163 + 80 >> 1] | 0) | 0; + $mul85 = Math_imul(HEAP32[$quantptr$0164 + 96 >> 2] | 0, HEAP16[$inptr$0163 + 48 >> 1] | 0) | 0; + $mul89 = Math_imul(HEAP32[$quantptr$0164 + 32 >> 2] | 0, $2 << 16 >> 16) | 0; + $add90 = $mul85 + $mul77 | 0; + $add91 = $mul89 + $mul81 | 0; + $mul93 = ($add91 + $add90 | 0) * 9633 | 0; + $add96 = $mul93 + (Math_imul($add90, -16069) | 0) | 0; + $add97 = $mul93 + (Math_imul($add91, -3196) | 0) | 0; + $mul99 = Math_imul($mul89 + $mul77 | 0, -7373) | 0; + $add103 = $mul99 + ($mul77 * 2446 | 0) + $add96 | 0; + $add105 = $mul99 + ($mul89 * 12299 | 0) + $add97 | 0; + $mul107 = Math_imul($mul85 + $mul81 | 0, -20995) | 0; + $add111 = $mul107 + ($mul81 * 16819 | 0) + $add97 | 0; + $add113 = $mul107 + ($mul85 * 25172 | 0) + $add96 | 0; + HEAP32[$wsptr$0165 >> 2] = $add105 + $add70 >> 11; + HEAP32[$wsptr$0165 + 112 >> 2] = $add70 - $add105 >> 11; + HEAP32[$wsptr$0165 + 16 >> 2] = $add113 + $add72 >> 11; + HEAP32[$wsptr$0165 + 96 >> 2] = $add72 - $add113 >> 11; + HEAP32[$wsptr$0165 + 32 >> 2] = $add111 + $sub73 >> 11; + HEAP32[$wsptr$0165 + 80 >> 2] = $sub73 - $add111 >> 11; + HEAP32[$wsptr$0165 + 48 >> 2] = $add103 + $sub71 >> 11; + $$sink = 16; + $shr135$sink = $sub71 - $add103 >> 11; + } + HEAP32[$wsptr$0165 + ($$sink << 2) >> 2] = $shr135$sink; + if ($ctr$0166 >>> 0 > 1) { + $ctr$0166 = $ctr$0166 + -1 | 0; + $inptr$0163 = $inptr$0163 + 2 | 0; + $quantptr$0164 = $quantptr$0164 + 4 | 0; + $wsptr$0165 = $wsptr$0165 + 4 | 0; + } else break; + } + $add$ptr = $0 + -384 | 0; + $add$ptr146 = (HEAP32[$output_buf >> 2] | 0) + $output_col | 0; + $add148 = (HEAP32[$workspace >> 2] | 0) + 16400 | 0; + $31 = HEAP32[$workspace + 8 >> 2] | 0; + $shl151 = $add148 + $31 << 13; + $shl153 = $add148 - $31 << 13; + $32 = HEAP32[$workspace + 4 >> 2] | 0; + $33 = HEAP32[$workspace + 12 >> 2] | 0; + $mul157 = ($33 + $32 | 0) * 4433 | 0; + $add159 = $mul157 + ($32 * 6270 | 0) | 0; + $sub161 = $mul157 + (Math_imul($33, -15137) | 0) | 0; + HEAP8[$add$ptr146 >> 0] = HEAP8[$add$ptr + (($add159 + $shl151 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr146 + 3 >> 0] = HEAP8[$add$ptr + (($shl151 - $add159 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr146 + 1 >> 0] = HEAP8[$add$ptr + (($sub161 + $shl153 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr146 + 2 >> 0] = HEAP8[$add$ptr + (($shl153 - $sub161 | 0) >>> 18 & 1023) >> 0] | 0; + $add$ptr146$1 = (HEAP32[$output_buf + 4 >> 2] | 0) + $output_col | 0; + $add148$1 = (HEAP32[$workspace + 16 >> 2] | 0) + 16400 | 0; + $45 = HEAP32[$workspace + 24 >> 2] | 0; + $shl151$1 = $add148$1 + $45 << 13; + $shl153$1 = $add148$1 - $45 << 13; + $46 = HEAP32[$workspace + 20 >> 2] | 0; + $47 = HEAP32[$workspace + 28 >> 2] | 0; + $mul157$1 = ($47 + $46 | 0) * 4433 | 0; + $add159$1 = $mul157$1 + ($46 * 6270 | 0) | 0; + $sub161$1 = $mul157$1 + (Math_imul($47, -15137) | 0) | 0; + HEAP8[$add$ptr146$1 >> 0] = HEAP8[$add$ptr + (($add159$1 + $shl151$1 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr146$1 + 3 >> 0] = HEAP8[$add$ptr + (($shl151$1 - $add159$1 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr146$1 + 1 >> 0] = HEAP8[$add$ptr + (($sub161$1 + $shl153$1 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr146$1 + 2 >> 0] = HEAP8[$add$ptr + (($shl153$1 - $sub161$1 | 0) >>> 18 & 1023) >> 0] | 0; + $add$ptr146$2 = (HEAP32[$output_buf + 8 >> 2] | 0) + $output_col | 0; + $add148$2 = (HEAP32[$workspace + 32 >> 2] | 0) + 16400 | 0; + $59 = HEAP32[$workspace + 40 >> 2] | 0; + $shl151$2 = $add148$2 + $59 << 13; + $shl153$2 = $add148$2 - $59 << 13; + $60 = HEAP32[$workspace + 36 >> 2] | 0; + $61 = HEAP32[$workspace + 44 >> 2] | 0; + $mul157$2 = ($61 + $60 | 0) * 4433 | 0; + $add159$2 = $mul157$2 + ($60 * 6270 | 0) | 0; + $sub161$2 = $mul157$2 + (Math_imul($61, -15137) | 0) | 0; + HEAP8[$add$ptr146$2 >> 0] = HEAP8[$add$ptr + (($add159$2 + $shl151$2 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr146$2 + 3 >> 0] = HEAP8[$add$ptr + (($shl151$2 - $add159$2 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr146$2 + 1 >> 0] = HEAP8[$add$ptr + (($sub161$2 + $shl153$2 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr146$2 + 2 >> 0] = HEAP8[$add$ptr + (($shl153$2 - $sub161$2 | 0) >>> 18 & 1023) >> 0] | 0; + $add$ptr146$3 = (HEAP32[$output_buf + 12 >> 2] | 0) + $output_col | 0; + $add148$3 = (HEAP32[$workspace + 48 >> 2] | 0) + 16400 | 0; + $73 = HEAP32[$workspace + 56 >> 2] | 0; + $shl151$3 = $add148$3 + $73 << 13; + $shl153$3 = $add148$3 - $73 << 13; + $74 = HEAP32[$workspace + 52 >> 2] | 0; + $75 = HEAP32[$workspace + 60 >> 2] | 0; + $mul157$3 = ($75 + $74 | 0) * 4433 | 0; + $add159$3 = $mul157$3 + ($74 * 6270 | 0) | 0; + $sub161$3 = $mul157$3 + (Math_imul($75, -15137) | 0) | 0; + HEAP8[$add$ptr146$3 >> 0] = HEAP8[$add$ptr + (($add159$3 + $shl151$3 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr146$3 + 3 >> 0] = HEAP8[$add$ptr + (($shl151$3 - $add159$3 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr146$3 + 1 >> 0] = HEAP8[$add$ptr + (($sub161$3 + $shl153$3 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr146$3 + 2 >> 0] = HEAP8[$add$ptr + (($shl153$3 - $sub161$3 | 0) >>> 18 & 1023) >> 0] | 0; + $add$ptr146$4 = (HEAP32[$output_buf + 16 >> 2] | 0) + $output_col | 0; + $add148$4 = (HEAP32[$workspace + 64 >> 2] | 0) + 16400 | 0; + $87 = HEAP32[$workspace + 72 >> 2] | 0; + $shl151$4 = $add148$4 + $87 << 13; + $shl153$4 = $add148$4 - $87 << 13; + $88 = HEAP32[$workspace + 68 >> 2] | 0; + $89 = HEAP32[$workspace + 76 >> 2] | 0; + $mul157$4 = ($89 + $88 | 0) * 4433 | 0; + $add159$4 = $mul157$4 + ($88 * 6270 | 0) | 0; + $sub161$4 = $mul157$4 + (Math_imul($89, -15137) | 0) | 0; + HEAP8[$add$ptr146$4 >> 0] = HEAP8[$add$ptr + (($add159$4 + $shl151$4 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr146$4 + 3 >> 0] = HEAP8[$add$ptr + (($shl151$4 - $add159$4 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr146$4 + 1 >> 0] = HEAP8[$add$ptr + (($sub161$4 + $shl153$4 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr146$4 + 2 >> 0] = HEAP8[$add$ptr + (($shl153$4 - $sub161$4 | 0) >>> 18 & 1023) >> 0] | 0; + $add$ptr146$5 = (HEAP32[$output_buf + 20 >> 2] | 0) + $output_col | 0; + $add148$5 = (HEAP32[$workspace + 80 >> 2] | 0) + 16400 | 0; + $101 = HEAP32[$workspace + 88 >> 2] | 0; + $shl151$5 = $add148$5 + $101 << 13; + $shl153$5 = $add148$5 - $101 << 13; + $102 = HEAP32[$workspace + 84 >> 2] | 0; + $103 = HEAP32[$workspace + 92 >> 2] | 0; + $mul157$5 = ($103 + $102 | 0) * 4433 | 0; + $add159$5 = $mul157$5 + ($102 * 6270 | 0) | 0; + $sub161$5 = $mul157$5 + (Math_imul($103, -15137) | 0) | 0; + HEAP8[$add$ptr146$5 >> 0] = HEAP8[$add$ptr + (($add159$5 + $shl151$5 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr146$5 + 3 >> 0] = HEAP8[$add$ptr + (($shl151$5 - $add159$5 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr146$5 + 1 >> 0] = HEAP8[$add$ptr + (($sub161$5 + $shl153$5 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr146$5 + 2 >> 0] = HEAP8[$add$ptr + (($shl153$5 - $sub161$5 | 0) >>> 18 & 1023) >> 0] | 0; + $add$ptr146$6 = (HEAP32[$output_buf + 24 >> 2] | 0) + $output_col | 0; + $add148$6 = (HEAP32[$workspace + 96 >> 2] | 0) + 16400 | 0; + $115 = HEAP32[$workspace + 104 >> 2] | 0; + $shl151$6 = $add148$6 + $115 << 13; + $shl153$6 = $add148$6 - $115 << 13; + $116 = HEAP32[$workspace + 100 >> 2] | 0; + $117 = HEAP32[$workspace + 108 >> 2] | 0; + $mul157$6 = ($117 + $116 | 0) * 4433 | 0; + $add159$6 = $mul157$6 + ($116 * 6270 | 0) | 0; + $sub161$6 = $mul157$6 + (Math_imul($117, -15137) | 0) | 0; + HEAP8[$add$ptr146$6 >> 0] = HEAP8[$add$ptr + (($add159$6 + $shl151$6 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr146$6 + 3 >> 0] = HEAP8[$add$ptr + (($shl151$6 - $add159$6 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr146$6 + 1 >> 0] = HEAP8[$add$ptr + (($sub161$6 + $shl153$6 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr146$6 + 2 >> 0] = HEAP8[$add$ptr + (($shl153$6 - $sub161$6 | 0) >>> 18 & 1023) >> 0] | 0; + $add$ptr146$7 = (HEAP32[$output_buf + 28 >> 2] | 0) + $output_col | 0; + $add148$7 = (HEAP32[$workspace + 112 >> 2] | 0) + 16400 | 0; + $129 = HEAP32[$workspace + 120 >> 2] | 0; + $shl151$7 = $add148$7 + $129 << 13; + $shl153$7 = $add148$7 - $129 << 13; + $130 = HEAP32[$workspace + 116 >> 2] | 0; + $131 = HEAP32[$workspace + 124 >> 2] | 0; + $mul157$7 = ($131 + $130 | 0) * 4433 | 0; + $add159$7 = $mul157$7 + ($130 * 6270 | 0) | 0; + $sub161$7 = $mul157$7 + (Math_imul($131, -15137) | 0) | 0; + HEAP8[$add$ptr146$7 >> 0] = HEAP8[$add$ptr + (($add159$7 + $shl151$7 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr146$7 + 3 >> 0] = HEAP8[$add$ptr + (($shl151$7 - $add159$7 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr146$7 + 1 >> 0] = HEAP8[$add$ptr + (($sub161$7 + $shl153$7 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr146$7 + 2 >> 0] = HEAP8[$add$ptr + (($shl153$7 - $sub161$7 | 0) >>> 18 & 1023) >> 0] | 0; + STACKTOP = sp; + return; +} + +function __ZNSt3__211__money_getIwE13__gather_infoEbRKNS_6localeERNS_10money_base7patternERwS8_RNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEERNS9_IwNSA_IwEENSC_IwEEEESJ_SJ_Ri($__intl, $__loc, $__pat, $__dp, $__ts, $__grp, $__sym, $__psn, $__nsn, $__fd) { + $__intl = $__intl | 0; + $__loc = $__loc | 0; + $__pat = $__pat | 0; + $__dp = $__dp | 0; + $__ts = $__ts | 0; + $__grp = $__grp | 0; + $__sym = $__sym | 0; + $__psn = $__psn | 0; + $__nsn = $__nsn | 0; + $__fd = $__fd | 0; + var $1 = 0, $11 = 0, $18 = 0, $22 = 0, $24 = 0, $29 = 0, $3 = 0, $31 = 0, $33 = 0, $37 = 0, $39 = 0, $46 = 0, $5 = 0, $50 = 0, $52 = 0, $9 = 0, $__cap_$i$i$i$i$i = 0, $__cap_$i$i$i$i$i175 = 0, $__i$0$i$i$i = 0, $__i$0$i$i$i124 = 0, $__i$0$i$i$i148 = 0, $__i$0$i$i$i180 = 0, $__i$0$i$i$i204 = 0, $__i$0$i$i$i46 = 0, $__i$0$i$i$i71 = 0, $__i$0$i$i$i94 = 0, $__size_$i1$i$i$i$i = 0, $__size_$i1$i$i$i$i111 = 0, $__size_$i1$i$i$i$i135 = 0, $__size_$i1$i$i$i$i166 = 0, $__size_$i1$i$i$i$i191 = 0, $__size_$i1$i$i$i$i33 = 0, $__size_$i1$i$i$i$i63 = 0, $__size_$i1$i$i$i$i81 = 0, $call$i = 0, $call$i104 = 0, $call$i157 = 0, $call$i160 = 0, $call$i55 = 0, $call$i58 = 0, $ref$tmp$i$i$i$i189 = 0, $ref$tmp1 = 0, $storemerge = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $ref$tmp$i$i$i$i189 = sp + 12 | 0; + $ref$tmp1 = sp; + if ($__intl) { + $call$i = __ZNKSt3__26locale9use_facetERNS0_2idE($__loc, 67608) | 0; + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$call$i >> 2] | 0) + 44 >> 2] & 255]($ref$tmp$i$i$i$i189, $call$i); + $1 = HEAP32[$ref$tmp$i$i$i$i189 >> 2] | 0; + HEAP8[$__pat >> 0] = $1; + HEAP8[$__pat + 1 >> 0] = $1 >> 8; + HEAP8[$__pat + 2 >> 0] = $1 >> 16; + HEAP8[$__pat + 3 >> 0] = $1 >> 24; + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$call$i >> 2] | 0) + 32 >> 2] & 255]($ref$tmp1, $call$i); + $3 = $__nsn + 8 | 0; + $__size_$i1$i$i$i$i = $3 + 3 | 0; + if ((HEAP8[$__size_$i1$i$i$i$i >> 0] | 0) < 0) { + $5 = HEAP32[$__nsn >> 2] | 0; + HEAP32[$ref$tmp$i$i$i$i189 >> 2] = 0; + __ZNSt3__211char_traitsIwE6assignERwRKw($5, $ref$tmp$i$i$i$i189); + HEAP32[$__nsn + 4 >> 2] = 0; + if ((HEAP8[$__size_$i1$i$i$i$i >> 0] | 0) < 0) { + __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm(HEAP32[$__nsn >> 2] | 0, HEAP32[$3 >> 2] << 2); + HEAP32[$3 >> 2] = 0; } - __THREW__ = 0; - invoke_vi(182, $5 | 0); - $37 = __THREW__; - __THREW__ = 0; - if (($37 | 0) != 0 & (threwValue | 0) != 0) { - $38 = _testSetjmp(HEAP32[$37 >> 2] | 0, _setjmpTable | 0, _setjmpTableSize | 0) | 0; - if (!$38) _longjmp($37 | 0, threwValue | 0); - setTempRet0(threwValue | 0); - } else $38 = -1; - $39 = getTempRet0() | 0; - if (($38 | 0) == 1) { - $$reg2mem103$0 = $39; - continue; - } else { - label = 14; - break; + } else { + HEAP32[$ref$tmp$i$i$i$i189 >> 2] = 0; + __ZNSt3__211char_traitsIwE6assignERwRKw($__nsn, $ref$tmp$i$i$i$i189); + HEAP8[$__size_$i1$i$i$i$i >> 0] = 0; + }; + HEAP32[$__nsn >> 2] = HEAP32[$ref$tmp1 >> 2]; + HEAP32[$__nsn + 4 >> 2] = HEAP32[$ref$tmp1 + 4 >> 2]; + HEAP32[$__nsn + 8 >> 2] = HEAP32[$ref$tmp1 + 8 >> 2]; + $__i$0$i$i$i = 0; + while (1) { + if (($__i$0$i$i$i | 0) == 3) break; + HEAP32[$ref$tmp1 + ($__i$0$i$i$i << 2) >> 2] = 0; + $__i$0$i$i$i = $__i$0$i$i$i + 1 | 0; + } + __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev($ref$tmp1); + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$call$i >> 2] | 0) + 28 >> 2] & 255]($ref$tmp1, $call$i); + $9 = $__psn + 8 | 0; + $__size_$i1$i$i$i$i33 = $9 + 3 | 0; + if ((HEAP8[$__size_$i1$i$i$i$i33 >> 0] | 0) < 0) { + $11 = HEAP32[$__psn >> 2] | 0; + HEAP32[$ref$tmp$i$i$i$i189 >> 2] = 0; + __ZNSt3__211char_traitsIwE6assignERwRKw($11, $ref$tmp$i$i$i$i189); + HEAP32[$__psn + 4 >> 2] = 0; + if ((HEAP8[$__size_$i1$i$i$i$i33 >> 0] | 0) < 0) { + __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm(HEAP32[$__psn >> 2] | 0, HEAP32[$9 >> 2] << 2); + HEAP32[$9 >> 2] = 0; } - } - __THREW__ = 0; - invoke_ii(64, $5 | 0) | 0; - $40 = __THREW__; - __THREW__ = 0; - if (($40 | 0) != 0 & (threwValue | 0) != 0) { - $41 = _testSetjmp(HEAP32[$40 >> 2] | 0, _setjmpTable | 0, _setjmpTableSize | 0) | 0; - if (!$41) _longjmp($40 | 0, threwValue | 0); - setTempRet0(threwValue | 0); - } else $41 = -1; - $42 = getTempRet0() | 0; - if (($41 | 0) == 1) { - $$reg2mem103$0 = $42; - continue; - } - $43 = $5 + 36 | 0; - $45 = $5 + 28 | 0; - $47 = Math_imul(HEAP32[$45 >> 2] | 0, HEAP32[$43 >> 2] | 0) | 0; - $48 = $5 + 32 | 0; - $50 = Math_imul($47, HEAP32[$48 >> 2] | 0) | 0; - __THREW__ = 0; - $51 = invoke_ii(65, $50 | 0) | 0; - $52 = __THREW__; - __THREW__ = 0; - if (($52 | 0) != 0 & (threwValue | 0) != 0) { - $53 = _testSetjmp(HEAP32[$52 >> 2] | 0, _setjmpTable | 0, _setjmpTableSize | 0) | 0; - if (!$53) _longjmp($52 | 0, threwValue | 0); - setTempRet0(threwValue | 0); - } else $53 = -1; - $54 = getTempRet0() | 0; - if (($53 | 0) == 1) { - $$reg2mem103$0 = $54; - continue; - } - if (!$51) { - __THREW__ = 0; - invoke_viiii(8, 0, 3, 45930, $vararg_buffer107 | 0); - $56 = __THREW__; - __THREW__ = 0; - if (($56 | 0) != 0 & (threwValue | 0) != 0) { - $57 = _testSetjmp(HEAP32[$56 >> 2] | 0, _setjmpTable | 0, _setjmpTableSize | 0) | 0; - if (!$57) _longjmp($56 | 0, threwValue | 0); - setTempRet0(threwValue | 0); - } else $57 = -1; - $58 = getTempRet0() | 0; - if (($57 | 0) == 1) { - $$reg2mem103$0 = $58; - continue; + } else { + HEAP32[$ref$tmp$i$i$i$i189 >> 2] = 0; + __ZNSt3__211char_traitsIwE6assignERwRKw($__psn, $ref$tmp$i$i$i$i189); + HEAP8[$__size_$i1$i$i$i$i33 >> 0] = 0; + }; + HEAP32[$__psn >> 2] = HEAP32[$ref$tmp1 >> 2]; + HEAP32[$__psn + 4 >> 2] = HEAP32[$ref$tmp1 + 4 >> 2]; + HEAP32[$__psn + 8 >> 2] = HEAP32[$ref$tmp1 + 8 >> 2]; + $__i$0$i$i$i46 = 0; + while (1) { + if (($__i$0$i$i$i46 | 0) == 3) break; + HEAP32[$ref$tmp1 + ($__i$0$i$i$i46 << 2) >> 2] = 0; + $__i$0$i$i$i46 = $__i$0$i$i$i46 + 1 | 0; + } + __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev($ref$tmp1); + $call$i55 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$call$i >> 2] | 0) + 12 >> 2] & 127]($call$i) | 0; + HEAP32[$__dp >> 2] = $call$i55; + $call$i58 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$call$i >> 2] | 0) + 16 >> 2] & 127]($call$i) | 0; + HEAP32[$__ts >> 2] = $call$i58; + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$call$i >> 2] | 0) + 20 >> 2] & 255]($ref$tmp1, $call$i); + $__size_$i1$i$i$i$i63 = $__grp + 11 | 0; + if ((HEAP8[$__size_$i1$i$i$i$i63 >> 0] | 0) < 0) { + $18 = HEAP32[$__grp >> 2] | 0; + HEAP8[$ref$tmp$i$i$i$i189 >> 0] = 0; + __ZNSt3__211char_traitsIcE6assignERcRKc($18, $ref$tmp$i$i$i$i189); + HEAP32[$__grp + 4 >> 2] = 0; + if ((HEAP8[$__size_$i1$i$i$i$i63 >> 0] | 0) < 0) { + $__cap_$i$i$i$i$i = $__grp + 8 | 0; + __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm(HEAP32[$__grp >> 2] | 0, HEAP32[$__cap_$i$i$i$i$i >> 2] & 2147483647); + HEAP32[$__cap_$i$i$i$i$i >> 2] = 0; } - __THREW__ = 0; - invoke_vi(182, $5 | 0); - $59 = __THREW__; - __THREW__ = 0; - if (($59 | 0) != 0 & (threwValue | 0) != 0) { - $60 = _testSetjmp(HEAP32[$59 >> 2] | 0, _setjmpTable | 0, _setjmpTableSize | 0) | 0; - if (!$60) _longjmp($59 | 0, threwValue | 0); - setTempRet0(threwValue | 0); - } else $60 = -1; - $61 = getTempRet0() | 0; - if (($60 | 0) == 1) { - $$reg2mem103$0 = $61; - continue; - } else { - label = 20; - break; + } else { + HEAP8[$ref$tmp$i$i$i$i189 >> 0] = 0; + __ZNSt3__211char_traitsIcE6assignERcRKc($__grp, $ref$tmp$i$i$i$i189); + HEAP8[$__size_$i1$i$i$i$i63 >> 0] = 0; + }; + HEAP32[$__grp >> 2] = HEAP32[$ref$tmp1 >> 2]; + HEAP32[$__grp + 4 >> 2] = HEAP32[$ref$tmp1 + 4 >> 2]; + HEAP32[$__grp + 8 >> 2] = HEAP32[$ref$tmp1 + 8 >> 2]; + $__i$0$i$i$i71 = 0; + while (1) { + if (($__i$0$i$i$i71 | 0) == 3) break; + HEAP32[$ref$tmp1 + ($__i$0$i$i$i71 << 2) >> 2] = 0; + $__i$0$i$i$i71 = $__i$0$i$i$i71 + 1 | 0; + } + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($ref$tmp1); + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$call$i >> 2] | 0) + 24 >> 2] & 255]($ref$tmp1, $call$i); + $22 = $__sym + 8 | 0; + $__size_$i1$i$i$i$i81 = $22 + 3 | 0; + if ((HEAP8[$__size_$i1$i$i$i$i81 >> 0] | 0) < 0) { + $24 = HEAP32[$__sym >> 2] | 0; + HEAP32[$ref$tmp$i$i$i$i189 >> 2] = 0; + __ZNSt3__211char_traitsIwE6assignERwRKw($24, $ref$tmp$i$i$i$i189); + HEAP32[$__sym + 4 >> 2] = 0; + if ((HEAP8[$__size_$i1$i$i$i$i81 >> 0] | 0) < 0) { + __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm(HEAP32[$__sym >> 2] | 0, HEAP32[$22 >> 2] << 2); + HEAP32[$22 >> 2] = 0; } + } else { + HEAP32[$ref$tmp$i$i$i$i189 >> 2] = 0; + __ZNSt3__211char_traitsIwE6assignERwRKw($__sym, $ref$tmp$i$i$i$i189); + HEAP8[$__size_$i1$i$i$i$i81 >> 0] = 0; + }; + HEAP32[$__sym >> 2] = HEAP32[$ref$tmp1 >> 2]; + HEAP32[$__sym + 4 >> 2] = HEAP32[$ref$tmp1 + 4 >> 2]; + HEAP32[$__sym + 8 >> 2] = HEAP32[$ref$tmp1 + 8 >> 2]; + $__i$0$i$i$i94 = 0; + while (1) { + if (($__i$0$i$i$i94 | 0) == 3) break; + HEAP32[$ref$tmp1 + ($__i$0$i$i$i94 << 2) >> 2] = 0; + $__i$0$i$i$i94 = $__i$0$i$i$i94 + 1 | 0; } - $62 = $5 + 140 | 0; - $63 = $5 + 116 | 0; - $$034$reg2mem101$0 = 0; + __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev($ref$tmp1); + $storemerge = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$call$i >> 2] | 0) + 36 >> 2] & 127]($call$i) | 0; + } else { + $call$i104 = __ZNKSt3__26locale9use_facetERNS0_2idE($__loc, 67600) | 0; + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$call$i104 >> 2] | 0) + 44 >> 2] & 255]($ref$tmp$i$i$i$i189, $call$i104); + $29 = HEAP32[$ref$tmp$i$i$i$i189 >> 2] | 0; + HEAP8[$__pat >> 0] = $29; + HEAP8[$__pat + 1 >> 0] = $29 >> 8; + HEAP8[$__pat + 2 >> 0] = $29 >> 16; + HEAP8[$__pat + 3 >> 0] = $29 >> 24; + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$call$i104 >> 2] | 0) + 32 >> 2] & 255]($ref$tmp1, $call$i104); + $31 = $__nsn + 8 | 0; + $__size_$i1$i$i$i$i111 = $31 + 3 | 0; + if ((HEAP8[$__size_$i1$i$i$i$i111 >> 0] | 0) < 0) { + $33 = HEAP32[$__nsn >> 2] | 0; + HEAP32[$ref$tmp$i$i$i$i189 >> 2] = 0; + __ZNSt3__211char_traitsIwE6assignERwRKw($33, $ref$tmp$i$i$i$i189); + HEAP32[$__nsn + 4 >> 2] = 0; + if ((HEAP8[$__size_$i1$i$i$i$i111 >> 0] | 0) < 0) { + __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm(HEAP32[$__nsn >> 2] | 0, HEAP32[$31 >> 2] << 2); + HEAP32[$31 >> 2] = 0; + } + } else { + HEAP32[$ref$tmp$i$i$i$i189 >> 2] = 0; + __ZNSt3__211char_traitsIwE6assignERwRKw($__nsn, $ref$tmp$i$i$i$i189); + HEAP8[$__size_$i1$i$i$i$i111 >> 0] = 0; + }; + HEAP32[$__nsn >> 2] = HEAP32[$ref$tmp1 >> 2]; + HEAP32[$__nsn + 4 >> 2] = HEAP32[$ref$tmp1 + 4 >> 2]; + HEAP32[$__nsn + 8 >> 2] = HEAP32[$ref$tmp1 + 8 >> 2]; + $__i$0$i$i$i124 = 0; while (1) { - if ((HEAP32[$62 >> 2] | 0) >>> 0 >= (HEAP32[$63 >> 2] | 0) >>> 0) break; - $$033$reg2mem99$0 = 0; - while (1) { - if (($$033$reg2mem99$0 | 0) == 5) break; - $69 = $51 + (Math_imul($$033$reg2mem99$0 + $$034$reg2mem101$0 | 0, $47) | 0) | 0; - HEAP32[$7 + ($$033$reg2mem99$0 << 2) >> 2] = $69; - $$033$reg2mem99$0 = $$033$reg2mem99$0 + 1 | 0; + if (($__i$0$i$i$i124 | 0) == 3) break; + HEAP32[$ref$tmp1 + ($__i$0$i$i$i124 << 2) >> 2] = 0; + $__i$0$i$i$i124 = $__i$0$i$i$i124 + 1 | 0; + } + __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev($ref$tmp1); + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$call$i104 >> 2] | 0) + 28 >> 2] & 255]($ref$tmp1, $call$i104); + $37 = $__psn + 8 | 0; + $__size_$i1$i$i$i$i135 = $37 + 3 | 0; + if ((HEAP8[$__size_$i1$i$i$i$i135 >> 0] | 0) < 0) { + $39 = HEAP32[$__psn >> 2] | 0; + HEAP32[$ref$tmp$i$i$i$i189 >> 2] = 0; + __ZNSt3__211char_traitsIwE6assignERwRKw($39, $ref$tmp$i$i$i$i189); + HEAP32[$__psn + 4 >> 2] = 0; + if ((HEAP8[$__size_$i1$i$i$i$i135 >> 0] | 0) < 0) { + __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm(HEAP32[$__psn >> 2] | 0, HEAP32[$37 >> 2] << 2); + HEAP32[$37 >> 2] = 0; } - __THREW__ = 0; - $72 = invoke_iiii(25, $5 | 0, $7 | 0, 5) | 0; - $73 = __THREW__; - __THREW__ = 0; - if (($73 | 0) != 0 & (threwValue | 0) != 0) { - $74 = _testSetjmp(HEAP32[$73 >> 2] | 0, _setjmpTable | 0, _setjmpTableSize | 0) | 0; - if (!$74) _longjmp($73 | 0, threwValue | 0); - setTempRet0(threwValue | 0); - } else $74 = -1; - $75 = getTempRet0() | 0; - if (($74 | 0) == 1) { - $$reg2mem103$0 = $75; - continue L4; + } else { + HEAP32[$ref$tmp$i$i$i$i189 >> 2] = 0; + __ZNSt3__211char_traitsIwE6assignERwRKw($__psn, $ref$tmp$i$i$i$i189); + HEAP8[$__size_$i1$i$i$i$i135 >> 0] = 0; + }; + HEAP32[$__psn >> 2] = HEAP32[$ref$tmp1 >> 2]; + HEAP32[$__psn + 4 >> 2] = HEAP32[$ref$tmp1 + 4 >> 2]; + HEAP32[$__psn + 8 >> 2] = HEAP32[$ref$tmp1 + 8 >> 2]; + $__i$0$i$i$i148 = 0; + while (1) { + if (($__i$0$i$i$i148 | 0) == 3) break; + HEAP32[$ref$tmp1 + ($__i$0$i$i$i148 << 2) >> 2] = 0; + $__i$0$i$i$i148 = $__i$0$i$i$i148 + 1 | 0; + } + __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev($ref$tmp1); + $call$i157 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$call$i104 >> 2] | 0) + 12 >> 2] & 127]($call$i104) | 0; + HEAP32[$__dp >> 2] = $call$i157; + $call$i160 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$call$i104 >> 2] | 0) + 16 >> 2] & 127]($call$i104) | 0; + HEAP32[$__ts >> 2] = $call$i160; + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$call$i104 >> 2] | 0) + 20 >> 2] & 255]($ref$tmp1, $call$i104); + $__size_$i1$i$i$i$i166 = $__grp + 11 | 0; + if ((HEAP8[$__size_$i1$i$i$i$i166 >> 0] | 0) < 0) { + $46 = HEAP32[$__grp >> 2] | 0; + HEAP8[$ref$tmp$i$i$i$i189 >> 0] = 0; + __ZNSt3__211char_traitsIcE6assignERcRKc($46, $ref$tmp$i$i$i$i189); + HEAP32[$__grp + 4 >> 2] = 0; + if ((HEAP8[$__size_$i1$i$i$i$i166 >> 0] | 0) < 0) { + $__cap_$i$i$i$i$i175 = $__grp + 8 | 0; + __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm(HEAP32[$__grp >> 2] | 0, HEAP32[$__cap_$i$i$i$i$i175 >> 2] & 2147483647); + HEAP32[$__cap_$i$i$i$i$i175 >> 2] = 0; } - $$034$reg2mem101$0 = $72 + $$034$reg2mem101$0 | 0; - } - __THREW__ = 0; - invoke_ii(66, $5 | 0) | 0; - $77 = __THREW__; - __THREW__ = 0; - if (($77 | 0) != 0 & (threwValue | 0) != 0) { - $78 = _testSetjmp(HEAP32[$77 >> 2] | 0, _setjmpTable | 0, _setjmpTableSize | 0) | 0; - if (!$78) _longjmp($77 | 0, threwValue | 0); - setTempRet0(threwValue | 0); - } else $78 = -1; - $79 = getTempRet0() | 0; - if (($78 | 0) == 1) { - $$reg2mem103$0 = $79; - continue; + } else { + HEAP8[$ref$tmp$i$i$i$i189 >> 0] = 0; + __ZNSt3__211char_traitsIcE6assignERcRKc($__grp, $ref$tmp$i$i$i$i189); + HEAP8[$__size_$i1$i$i$i$i166 >> 0] = 0; + }; + HEAP32[$__grp >> 2] = HEAP32[$ref$tmp1 >> 2]; + HEAP32[$__grp + 4 >> 2] = HEAP32[$ref$tmp1 + 4 >> 2]; + HEAP32[$__grp + 8 >> 2] = HEAP32[$ref$tmp1 + 8 >> 2]; + $__i$0$i$i$i180 = 0; + while (1) { + if (($__i$0$i$i$i180 | 0) == 3) break; + HEAP32[$ref$tmp1 + ($__i$0$i$i$i180 << 2) >> 2] = 0; + $__i$0$i$i$i180 = $__i$0$i$i$i180 + 1 | 0; + } + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($ref$tmp1); + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$call$i104 >> 2] | 0) + 24 >> 2] & 255]($ref$tmp1, $call$i104); + $50 = $__sym + 8 | 0; + $__size_$i1$i$i$i$i191 = $50 + 3 | 0; + if ((HEAP8[$__size_$i1$i$i$i$i191 >> 0] | 0) < 0) { + $52 = HEAP32[$__sym >> 2] | 0; + HEAP32[$ref$tmp$i$i$i$i189 >> 2] = 0; + __ZNSt3__211char_traitsIwE6assignERwRKw($52, $ref$tmp$i$i$i$i189); + HEAP32[$__sym + 4 >> 2] = 0; + if ((HEAP8[$__size_$i1$i$i$i$i191 >> 0] | 0) < 0) { + __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm(HEAP32[$__sym >> 2] | 0, HEAP32[$50 >> 2] << 2); + HEAP32[$50 >> 2] = 0; + } + } else { + HEAP32[$ref$tmp$i$i$i$i189 >> 2] = 0; + __ZNSt3__211char_traitsIwE6assignERwRKw($__sym, $ref$tmp$i$i$i$i189); + HEAP8[$__size_$i1$i$i$i$i191 >> 0] = 0; + }; + HEAP32[$__sym >> 2] = HEAP32[$ref$tmp1 >> 2]; + HEAP32[$__sym + 4 >> 2] = HEAP32[$ref$tmp1 + 4 >> 2]; + HEAP32[$__sym + 8 >> 2] = HEAP32[$ref$tmp1 + 8 >> 2]; + $__i$0$i$i$i204 = 0; + while (1) { + if (($__i$0$i$i$i204 | 0) == 3) break; + HEAP32[$ref$tmp1 + ($__i$0$i$i$i204 << 2) >> 2] = 0; + $__i$0$i$i$i204 = $__i$0$i$i$i204 + 1 | 0; } - __THREW__ = 0; - invoke_vi(182, $5 | 0); - $80 = __THREW__; - __THREW__ = 0; - if (($80 | 0) != 0 & (threwValue | 0) != 0) { - $81 = _testSetjmp(HEAP32[$80 >> 2] | 0, _setjmpTable | 0, _setjmpTableSize | 0) | 0; - if (!$81) _longjmp($80 | 0, threwValue | 0); - setTempRet0(threwValue | 0); - } else $81 = -1; - $$reg2mem103$0 = getTempRet0() | 0; - if (($81 | 0) != 1) { - label = 30; - break; + __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev($ref$tmp1); + $storemerge = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$call$i104 >> 2] | 0) + 36 >> 2] & 127]($call$i104) | 0; + } + HEAP32[$__fd >> 2] = $storemerge; + STACKTOP = sp; + return; +} + +function __ZN6vision10DoGPyramid25difference_image_binomialERNS_5ImageERKS1_S4_($this, $d, $im1, $im2) { + $this = $this | 0; + $d = $d | 0; + $im1 = $im1 | 0; + $im2 = $im2 | 0; + var $call$i1$i$i = 0, $call$i1$i$i105 = 0, $call$i1$i$i119 = 0, $call$i1$i$i133 = 0, $call$i1$i$i147 = 0, $call$i1$i$i35 = 0, $call$i1$i$i49 = 0, $call$i1$i$i63 = 0, $call$i1$i$i77 = 0, $call$i1$i$i91 = 0, $call$i2$i$i = 0, $call$i2$i$i108 = 0, $call$i2$i$i122 = 0, $call$i2$i$i136 = 0, $call$i2$i$i150 = 0, $call$i2$i$i38 = 0, $call$i2$i$i52 = 0, $call$i2$i$i66 = 0, $call$i2$i$i80 = 0, $call$i2$i$i94 = 0, $call103 = 0, $call112 = 0, $call117 = 0, $call126 = 0, $call132 = 0, $call133 = 0, $call134 = 0, $call18 = 0, $call31 = 0, $call44 = 0, $call57 = 0, $call7 = 0, $call70 = 0, $call75 = 0, $call84 = 0, $call89 = 0, $call98 = 0, $i$0 = 0, $j$0 = 0, $ref$tmp$i$i142 = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $ref$tmp$i$i142 = sp; + if ((__ZNK6vision5Image4typeEv($d) | 0) != 2) { + $call7 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 27220) | 0, 26748) | 0, 39794) | 0, 86) | 0, 39801) | 0, 27265) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i$i142, $call7 + (HEAP32[(HEAP32[$call7 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i$i = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i$i142, 67360) | 0; + $call$i2$i$i = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i$i >> 2] | 0) + 28 >> 2] & 127]($call$i1$i$i, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i$i142); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call7, $call$i2$i$i) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call7) | 0; + _abort(); + } + if ((__ZNK6vision5Image4typeEv($im1) | 0) != 2) { + $call18 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 27291) | 0, 26748) | 0, 39794) | 0, 87) | 0, 39801) | 0, 27265) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i$i142, $call18 + (HEAP32[(HEAP32[$call18 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i$i35 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i$i142, 67360) | 0; + $call$i2$i$i38 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i$i35 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i$i35, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i$i142); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call18, $call$i2$i$i38) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call18) | 0; + _abort(); + } + if ((__ZNK6vision5Image4typeEv($im2) | 0) != 2) { + $call31 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 27338) | 0, 26748) | 0, 39794) | 0, 88) | 0, 39801) | 0, 27265) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i$i142, $call31 + (HEAP32[(HEAP32[$call31 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i$i49 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i$i142, 67360) | 0; + $call$i2$i$i52 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i$i49 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i$i49, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i$i142); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call31, $call$i2$i$i52) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call31) | 0; + _abort(); + } + if ((__ZNK6vision5Image8channelsEv($d) | 0) != 1) { + $call44 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 27385) | 0, 26748) | 0, 39794) | 0, 89) | 0, 39801) | 0, 27426) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i$i142, $call44 + (HEAP32[(HEAP32[$call44 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i$i63 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i$i142, 67360) | 0; + $call$i2$i$i66 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i$i63 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i$i63, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i$i142); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call44, $call$i2$i$i66) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call44) | 0; + _abort(); + } + if ((__ZNK6vision5Image8channelsEv($im1) | 0) != 1) { + $call57 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 27463) | 0, 26748) | 0, 39794) | 0, 90) | 0, 39801) | 0, 27426) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i$i142, $call57 + (HEAP32[(HEAP32[$call57 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i$i77 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i$i142, 67360) | 0; + $call$i2$i$i80 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i$i77 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i$i77, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i$i142); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call57, $call$i2$i$i80) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call57) | 0; + _abort(); + } + if ((__ZNK6vision5Image8channelsEv($im2) | 0) != 1) { + $call70 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 27506) | 0, 26748) | 0, 39794) | 0, 91) | 0, 39801) | 0, 27426) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i$i142, $call70 + (HEAP32[(HEAP32[$call70 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i$i91 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i$i142, 67360) | 0; + $call$i2$i$i94 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i$i91 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i$i91, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i$i142); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call70, $call$i2$i$i94) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call70) | 0; + _abort(); + } + $call75 = __ZNK6vision5Image5widthEv($d) | 0; + if (($call75 | 0) != (__ZNK6vision5Image5widthEv($im2) | 0)) { + $call84 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 27549) | 0, 26748) | 0, 39794) | 0, 92) | 0, 39801) | 0, 27597) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i$i142, $call84 + (HEAP32[(HEAP32[$call84 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i$i105 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i$i142, 67360) | 0; + $call$i2$i$i108 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i$i105 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i$i105, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i$i142); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call84, $call$i2$i$i108) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call84) | 0; + _abort(); + } + $call89 = __ZNK6vision5Image6heightEv($d) | 0; + if (($call89 | 0) != (__ZNK6vision5Image6heightEv($im2) | 0)) { + $call98 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 27629) | 0, 26748) | 0, 39794) | 0, 93) | 0, 39801) | 0, 27679) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i$i142, $call98 + (HEAP32[(HEAP32[$call98 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i$i119 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i$i142, 67360) | 0; + $call$i2$i$i122 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i$i119 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i$i119, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i$i142); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call98, $call$i2$i$i122) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call98) | 0; + _abort(); + } + $call103 = __ZNK6vision5Image5widthEv($im1) | 0; + if (($call103 | 0) != (__ZNK6vision5Image5widthEv($im2) | 0)) { + $call112 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 27712) | 0, 26748) | 0, 39794) | 0, 94) | 0, 39801) | 0, 27597) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i$i142, $call112 + (HEAP32[(HEAP32[$call112 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i$i133 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i$i142, 67360) | 0; + $call$i2$i$i136 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i$i133 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i$i133, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i$i142); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call112, $call$i2$i$i136) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call112) | 0; + _abort(); + } + $call117 = __ZNK6vision5Image6heightEv($im1) | 0; + if (($call117 | 0) != (__ZNK6vision5Image6heightEv($im2) | 0)) { + $call126 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 27762) | 0, 26748) | 0, 39794) | 0, 95) | 0, 39801) | 0, 27679) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i$i142, $call126 + (HEAP32[(HEAP32[$call126 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i$i147 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i$i142, 67360) | 0; + $call$i2$i$i150 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i$i147 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i$i147, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i$i142); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call126, $call$i2$i$i150) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call126) | 0; + _abort(); + } + $i$0 = 0; + while (1) { + if ($i$0 >>> 0 >= (__ZNK6vision5Image6heightEv($im1) | 0) >>> 0) break; + $call132 = __ZN6vision5Image3getIfEEPT_m($d, $i$0) | 0; + $call133 = __ZNK6vision5Image3getIfEEPKT_m($im1, $i$0) | 0; + $call134 = __ZNK6vision5Image3getIfEEPKT_m($im2, $i$0) | 0; + $j$0 = 0; + while (1) { + if ($j$0 >>> 0 >= (__ZNK6vision5Image5widthEv($im1) | 0) >>> 0) break; + HEAPF32[$call132 + ($j$0 << 2) >> 2] = +HEAPF32[$call133 + ($j$0 << 2) >> 2] - +HEAPF32[$call134 + ($j$0 << 2) >> 2]; + $j$0 = $j$0 + 1 | 0; } + $i$0 = $i$0 + 1 | 0; } - L33 : do if ((label | 0) == 7) $$0$reg2mem$0 = 0; else if ((label | 0) == 14) $$0$reg2mem$0 = 0; else if ((label | 0) == 20) $$0$reg2mem$0 = 0; else if ((label | 0) == 30) { - if ($1 | 0) HEAP32[$1 >> 2] = HEAP32[$45 >> 2]; - if ($2 | 0) HEAP32[$2 >> 2] = HEAP32[$48 >> 2]; - if ($3 | 0) HEAP32[$3 >> 2] = HEAP32[$43 >> 2]; - if (!$4) $$0$reg2mem$0 = $51; else { - $91 = HEAP8[$5 + 290 >> 0] | 0; - switch ($91 << 24 >> 24) { - case 1: - { - $93 = HEAP16[$5 + 292 >> 1] | 0; - if ($93 << 16 >> 16 == (HEAP16[$5 + 294 >> 1] | 0)) { - HEAPF32[$4 >> 2] = +($93 & 65535); - $$0$reg2mem$0 = $51; - break L33; + STACKTOP = sp; + return; +} + +function _decode_mcu_AC_refine($cinfo, $MCU_data) { + $cinfo = $cinfo | 0; + $MCU_data = $MCU_data | 0; + var $0 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $31 = 0, $4 = 0, $45 = 0, $46 = 0, $54 = 0, $56 = 0, $EOBRUN$0136 = 0, $EOBRUN$1 = 0, $EOBRUN20 = 0, $add = 0, $add$ptr = 0, $add$ptr164 = 0, $and = 0, $bits_left$0 = 0, $bits_left$1 = 0, $bits_left$10 = 0, $bits_left$11 = 0, $bits_left$12138 = 0, $bits_left$13 = 0, $bits_left$14 = 0, $bits_left$15 = 0, $bits_left$16 = 0, $bits_left$2 = 0, $bits_left$4$ph = 0, $bits_left$5 = 0, $bits_left$6 = 0, $bits_left$7 = 0, $bits_left$8 = 0, $bits_left$9 = 0, $bits_left$i$i = 0, $bits_left19 = 0, $bits_left30 = 0, $br_state = 0, $bytes_in_buffer16 = 0, $call40 = 0, $ci$014$i = 0, $comps_in_scan$i = 0, $conv118 = 0, $conv182 = 0, $discarded_bytes$i$i = 0, $get_buffer$0 = 0, $get_buffer$1 = 0, $get_buffer$10 = 0, $get_buffer$11 = 0, $get_buffer$12137 = 0, $get_buffer$13 = 0, $get_buffer$14 = 0, $get_buffer$15 = 0, $get_buffer$16 = 0, $get_buffer$2 = 0, $get_buffer$4$ph = 0, $get_buffer$5 = 0, $get_buffer$6 = 0, $get_buffer$7 = 0, $get_buffer$8 = 0, $get_buffer$9 = 0, $get_buffer17 = 0, $get_buffer29 = 0, $inc = 0, $k$0 = 0, $k$1 = 0, $k$2 = 0, $k$3139 = 0, $k$4 = 0, $nb$0 = 0, $newnz_pos = 0, $num_newnz$0 = 0, $num_newnz$1 = 0, $num_newnz$2140 = 0, $num_newnz$3 = 0, $num_newnz$4157 = 0, $r$0 = 0, $r$1 = 0, $restart_interval = 0, $restarts_to_go = 0, $restarts_to_go222 = 0, $retval$0 = 0, $s$2$ph = 0, $s$3 = 0, $shl = 0, $shl11 = 0, $shl79 = 0, $shr49141 = 0, $src = 0, $sub113 = 0, $sub177 = 0, $sub68 = 0, $sub92 = 0, label = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 288 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(288); + $br_state = sp + 256 | 0; + $newnz_pos = sp; + $0 = HEAP32[$cinfo + 468 >> 2] | 0; + $restart_interval = $cinfo + 280 | 0; + if (HEAP32[$restart_interval >> 2] | 0 ? ($restarts_to_go = $0 + 44 | 0, (HEAP32[$restarts_to_go >> 2] | 0) == 0) : 0) { + $bits_left$i$i = $0 + 16 | 0; + $4 = HEAP32[$cinfo + 464 >> 2] | 0; + $discarded_bytes$i$i = $4 + 24 | 0; + HEAP32[$discarded_bytes$i$i >> 2] = (HEAP32[$discarded_bytes$i$i >> 2] | 0) + ((HEAP32[$bits_left$i$i >> 2] | 0) / 8 | 0); + HEAP32[$bits_left$i$i >> 2] = 0; + if (!(FUNCTION_TABLE_ii[HEAP32[$4 + 8 >> 2] & 127]($cinfo) | 0)) { + $retval$0 = 0; + STACKTOP = sp; + return $retval$0 | 0; + } + $comps_in_scan$i = $cinfo + 340 | 0; + if ((HEAP32[$comps_in_scan$i >> 2] | 0) > 0) { + $ci$014$i = 0; + do { + HEAP32[$0 + 24 + ($ci$014$i << 2) >> 2] = 0; + $ci$014$i = $ci$014$i + 1 | 0; + } while (($ci$014$i | 0) < (HEAP32[$comps_in_scan$i >> 2] | 0)); + } + HEAP32[$0 + 20 >> 2] = 0; + HEAP32[$restarts_to_go >> 2] = HEAP32[$restart_interval >> 2]; + if (!(HEAP32[$cinfo + 440 >> 2] | 0)) HEAP32[$0 + 40 >> 2] = 0; + } + do if (!(HEAP32[$0 + 40 >> 2] | 0)) { + $12 = HEAP32[$cinfo + 416 >> 2] | 0; + $13 = HEAP32[$cinfo + 424 >> 2] | 0; + $shl = 1 << $13; + $shl11 = -1 << $13; + $14 = HEAP32[$cinfo + 432 >> 2] | 0; + HEAP32[$br_state + 16 >> 2] = $cinfo; + $src = $cinfo + 24 | 0; + $15 = HEAP32[$src >> 2] | 0; + HEAP32[$br_state >> 2] = HEAP32[$15 >> 2]; + $bytes_in_buffer16 = $br_state + 4 | 0; + HEAP32[$bytes_in_buffer16 >> 2] = HEAP32[$15 + 4 >> 2]; + $get_buffer17 = $0 + 12 | 0; + $19 = HEAP32[$get_buffer17 >> 2] | 0; + $bits_left19 = $0 + 16 | 0; + $20 = HEAP32[$bits_left19 >> 2] | 0; + $EOBRUN20 = $0 + 20 | 0; + $21 = HEAP32[$EOBRUN20 >> 2] | 0; + $22 = HEAP32[$MCU_data >> 2] | 0; + $23 = HEAP32[$0 + 64 >> 2] | 0; + $24 = HEAP32[$cinfo + 412 >> 2] | 0; + $get_buffer29 = $br_state + 8 | 0; + $bits_left30 = $br_state + 12 | 0; + L16 : do if (!$21) { + $bits_left$0 = $20; + $get_buffer$0 = $19; + $k$0 = $24; + $num_newnz$0 = 0; + L18 : while (1) { + if (($bits_left$0 | 0) < 8) { + if (!(_jpeg_fill_bit_buffer($br_state, $get_buffer$0, $bits_left$0, 0) | 0)) { + $num_newnz$3 = $num_newnz$0; + break L16; } - break; + $25 = HEAP32[$get_buffer29 >> 2] | 0; + $26 = HEAP32[$bits_left30 >> 2] | 0; + if (($26 | 0) < 8) { + $bits_left$2 = $26; + $get_buffer$2 = $25; + $nb$0 = 1; + label = 17; + } else { + $bits_left$1 = $26; + $get_buffer$1 = $25; + label = 15; + } + } else { + $bits_left$1 = $bits_left$0; + $get_buffer$1 = $get_buffer$0; + label = 15; } - case 2: - { - $99 = HEAP16[$5 + 292 >> 1] | 0; - if ($99 << 16 >> 16 == (HEAP16[$5 + 294 >> 1] | 0)) { - HEAPF32[$4 >> 2] = +($99 & 65535) * 2.5399999618530273; - $$0$reg2mem$0 = $51; - break L33; + if ((label | 0) == 15) { + label = 0; + $and = $get_buffer$1 >> $bits_left$1 + -8 & 255; + $27 = HEAP32[$23 + 144 + ($and << 2) >> 2] | 0; + if (!$27) { + $bits_left$2 = $bits_left$1; + $get_buffer$2 = $get_buffer$1; + $nb$0 = 9; + label = 17; + } else { + $bits_left$4$ph = $bits_left$1 - $27 | 0; + $get_buffer$4$ph = $get_buffer$1; + $s$2$ph = HEAPU8[$23 + 1168 + $and >> 0] | 0; } - break; } - default: - if ((($91 & 255) > 2 ? (HEAP16[$5 + 292 >> 1] | 0) == 0 : 0) ? (HEAP16[$5 + 294 >> 1] | 0) == 0 : 0) { - HEAPF32[$4 >> 2] = +($91 & 255); - $$0$reg2mem$0 = $51; - break L33; + if ((label | 0) == 17) { + label = 0; + $call40 = _jpeg_huff_decode($br_state, $get_buffer$2, $bits_left$2, $23, $nb$0) | 0; + if (($call40 | 0) < 0) { + $num_newnz$3 = $num_newnz$0; + break L16; + } + $bits_left$4$ph = HEAP32[$bits_left30 >> 2] | 0; + $get_buffer$4$ph = HEAP32[$get_buffer29 >> 2] | 0; + $s$2$ph = $call40; + } + $shr49141 = $s$2$ph >>> 4; + switch ($s$2$ph & 15) { + case 0: + { + if (($shr49141 | 0) == 15) { + $bits_left$7 = $bits_left$4$ph; + $get_buffer$7 = $get_buffer$4$ph; + $s$3 = 0; + } else break L18; + break; + } + case 1: + { + label = 21; + break; + } + default: + { + $31 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$31 + 20 >> 2] = 121; + FUNCTION_TABLE_vii[HEAP32[$31 + 4 >> 2] & 255]($cinfo, -1); + label = 21; + } + } + if ((label | 0) == 21) { + label = 0; + if (($bits_left$4$ph | 0) < 1) { + if (!(_jpeg_fill_bit_buffer($br_state, $get_buffer$4$ph, $bits_left$4$ph, 1) | 0)) { + $num_newnz$3 = $num_newnz$0; + break L16; + } + $bits_left$5 = HEAP32[$bits_left30 >> 2] | 0; + $get_buffer$5 = HEAP32[$get_buffer29 >> 2] | 0; + } else { + $bits_left$5 = $bits_left$4$ph; + $get_buffer$5 = $get_buffer$4$ph; + } + $sub68 = $bits_left$5 + -1 | 0; + $bits_left$7 = $sub68; + $get_buffer$7 = $get_buffer$5; + $s$3 = (1 << $sub68 & $get_buffer$5 | 0) == 0 ? $shl11 : $shl; + } + $bits_left$8 = $bits_left$7; + $get_buffer$8 = $get_buffer$7; + $k$1 = $k$0; + $r$0 = $shr49141; + L40 : while (1) { + $add$ptr = $22 + (HEAP32[$14 + ($k$1 << 2) >> 2] << 1) | 0; + do if (!(HEAP16[$add$ptr >> 1] | 0)) if (($r$0 | 0) < 1) { + $bits_left$11 = $bits_left$8; + $get_buffer$11 = $get_buffer$8; + $k$2 = $k$1; + break L40; + } else { + $bits_left$10 = $bits_left$8; + $get_buffer$10 = $get_buffer$8; + $r$1 = $r$0 + -1 | 0; + } else { + if (($bits_left$8 | 0) < 1) { + if (!(_jpeg_fill_bit_buffer($br_state, $get_buffer$8, $bits_left$8, 1) | 0)) { + $num_newnz$3 = $num_newnz$0; + break L16; + } + $bits_left$9 = HEAP32[$bits_left30 >> 2] | 0; + $get_buffer$9 = HEAP32[$get_buffer29 >> 2] | 0; + } else { + $bits_left$9 = $bits_left$8; + $get_buffer$9 = $get_buffer$8; + } + $sub113 = $bits_left$9 + -1 | 0; + if ((1 << $sub113 & $get_buffer$9 | 0) != 0 ? ($45 = HEAP16[$add$ptr >> 1] | 0, $conv118 = $45 << 16 >> 16, ($shl & $conv118 | 0) == 0) : 0) if ($45 << 16 >> 16 > -1) { + HEAP16[$add$ptr >> 1] = $shl + $conv118; + $bits_left$10 = $sub113; + $get_buffer$10 = $get_buffer$9; + $r$1 = $r$0; + break; + } else { + HEAP16[$add$ptr >> 1] = $shl11 + $conv118; + $bits_left$10 = $sub113; + $get_buffer$10 = $get_buffer$9; + $r$1 = $r$0; + break; + } else { + $bits_left$10 = $sub113; + $get_buffer$10 = $get_buffer$9; + $r$1 = $r$0; + } + } while (0); + $inc = $k$1 + 1 | 0; + if (($k$1 | 0) < ($12 | 0)) { + $bits_left$8 = $bits_left$10; + $get_buffer$8 = $get_buffer$10; + $k$1 = $inc; + $r$0 = $r$1; + } else { + $bits_left$11 = $bits_left$10; + $get_buffer$11 = $get_buffer$10; + $k$2 = $inc; + break; + } + } + if (!$s$3) $num_newnz$1 = $num_newnz$0; else { + $46 = HEAP32[$14 + ($k$2 << 2) >> 2] | 0; + HEAP16[$22 + ($46 << 1) >> 1] = $s$3; + HEAP32[$newnz_pos + ($num_newnz$0 << 2) >> 2] = $46; + $num_newnz$1 = $num_newnz$0 + 1 | 0; + } + if (($k$2 | 0) < ($12 | 0)) { + $bits_left$0 = $bits_left$11; + $get_buffer$0 = $get_buffer$11; + $k$0 = $k$2 + 1 | 0; + $num_newnz$0 = $num_newnz$1; + } else { + $EOBRUN$1 = 0; + $bits_left$16 = $bits_left$11; + $get_buffer$16 = $get_buffer$11; + label = 58; + break L16; } } - HEAPF32[$4 >> 2] = 0.0; - $$0$reg2mem$0 = $51; + $shl79 = 1 << $shr49141; + if ($shr49141) { + if (($bits_left$4$ph | 0) < ($shr49141 | 0)) { + if (!(_jpeg_fill_bit_buffer($br_state, $get_buffer$4$ph, $bits_left$4$ph, $shr49141) | 0)) { + $num_newnz$3 = $num_newnz$0; + break; + } + $bits_left$6 = HEAP32[$bits_left30 >> 2] | 0; + $get_buffer$6 = HEAP32[$get_buffer29 >> 2] | 0; + } else { + $bits_left$6 = $bits_left$4$ph; + $get_buffer$6 = $get_buffer$4$ph; + } + $sub92 = $bits_left$6 - $shr49141 | 0; + $add = ($get_buffer$6 >> $sub92 & HEAP32[5184 + ($shr49141 << 2) >> 2]) + $shl79 | 0; + if (!$add) { + $EOBRUN$1 = 0; + $bits_left$16 = $sub92; + $get_buffer$16 = $get_buffer$6; + label = 58; + } else { + $EOBRUN$0136 = $add; + $bits_left$12138 = $sub92; + $get_buffer$12137 = $get_buffer$6; + $k$3139 = $k$0; + $num_newnz$2140 = $num_newnz$0; + label = 46; + } + } else { + $EOBRUN$0136 = 1; + $bits_left$12138 = $bits_left$4$ph; + $get_buffer$12137 = $get_buffer$4$ph; + $k$3139 = $k$0; + $num_newnz$2140 = $num_newnz$0; + label = 46; + } + } else { + $EOBRUN$0136 = $21; + $bits_left$12138 = $20; + $get_buffer$12137 = $19; + $k$3139 = $24; + $num_newnz$2140 = 0; + label = 46; + } while (0); + L65 : do if ((label | 0) == 46) { + $bits_left$13 = $bits_left$12138; + $get_buffer$13 = $get_buffer$12137; + $k$4 = $k$3139; + while (1) { + $add$ptr164 = $22 + (HEAP32[$14 + ($k$4 << 2) >> 2] << 1) | 0; + do if (HEAP16[$add$ptr164 >> 1] | 0) { + if (($bits_left$13 | 0) < 1) { + if (!(_jpeg_fill_bit_buffer($br_state, $get_buffer$13, $bits_left$13, 1) | 0)) { + $num_newnz$3 = $num_newnz$2140; + break L65; + } + $bits_left$14 = HEAP32[$bits_left30 >> 2] | 0; + $get_buffer$14 = HEAP32[$get_buffer29 >> 2] | 0; + } else { + $bits_left$14 = $bits_left$13; + $get_buffer$14 = $get_buffer$13; + } + $sub177 = $bits_left$14 + -1 | 0; + if ((1 << $sub177 & $get_buffer$14 | 0) != 0 ? ($54 = HEAP16[$add$ptr164 >> 1] | 0, $conv182 = $54 << 16 >> 16, ($shl & $conv182 | 0) == 0) : 0) if ($54 << 16 >> 16 > -1) { + HEAP16[$add$ptr164 >> 1] = $shl + $conv182; + $bits_left$15 = $sub177; + $get_buffer$15 = $get_buffer$14; + break; + } else { + HEAP16[$add$ptr164 >> 1] = $shl11 + $conv182; + $bits_left$15 = $sub177; + $get_buffer$15 = $get_buffer$14; + break; + } else { + $bits_left$15 = $sub177; + $get_buffer$15 = $get_buffer$14; + } + } else { + $bits_left$15 = $bits_left$13; + $get_buffer$15 = $get_buffer$13; + } while (0); + if (($k$4 | 0) < ($12 | 0)) { + $bits_left$13 = $bits_left$15; + $get_buffer$13 = $get_buffer$15; + $k$4 = $k$4 + 1 | 0; + } else break; + } + $EOBRUN$1 = $EOBRUN$0136 + -1 | 0; + $bits_left$16 = $bits_left$15; + $get_buffer$16 = $get_buffer$15; + label = 58; + } while (0); + if ((label | 0) == 58) { + $56 = HEAP32[$src >> 2] | 0; + HEAP32[$56 >> 2] = HEAP32[$br_state >> 2]; + HEAP32[$56 + 4 >> 2] = HEAP32[$bytes_in_buffer16 >> 2]; + HEAP32[$get_buffer17 >> 2] = $get_buffer$16; + HEAP32[$bits_left19 >> 2] = $bits_left$16; + HEAP32[$EOBRUN20 >> 2] = $EOBRUN$1; + break; + } + if (!$num_newnz$3) { + $retval$0 = 0; + STACKTOP = sp; + return $retval$0 | 0; } + $num_newnz$4157 = $num_newnz$3; + do { + $num_newnz$4157 = $num_newnz$4157 + -1 | 0; + HEAP16[$22 + (HEAP32[$newnz_pos + ($num_newnz$4157 << 2) >> 2] << 1) >> 1] = 0; + } while (($num_newnz$4157 | 0) != 0); + $retval$0 = 0; + STACKTOP = sp; + return $retval$0 | 0; } while (0); - _free(_setjmpTable | 0); + $restarts_to_go222 = $0 + 44 | 0; + HEAP32[$restarts_to_go222 >> 2] = (HEAP32[$restarts_to_go222 >> 2] | 0) + -1; + $retval$0 = 1; STACKTOP = sp; - return $$0$reg2mem$0 | 0; + return $retval$0 | 0; } -function _decompress_smooth_data($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0284 = 0, $$0288350 = 0, $$0289349 = 0, $$0289349$phi = 0, $$0292348 = 0, $$0293347 = 0, $$0293347$phi = 0, $$0296346 = 0, $$0297345 = 0, $$0297345$phi = 0, $$0298344 = 0, $$0299354 = 0, $$0300352 = 0, $$0303 = 0, $$0304 = 0, $$0305343 = 0, $$0306 = 0, $$0308 = 0, $$0309 = 0, $$0310 = 0, $$0312353 = 0, $$0313340 = 0, $$0314351 = 0, $$1 = 0, $$1287 = 0, $$1291 = 0, $$1295 = 0, $$1302 = 0, $$1307342 = 0, $$1311341 = 0, $$3 = 0, $$5 = 0, $$7 = 0, $$9 = 0, $$pre$phiZ2D = 0, $10 = 0, $100 = 0, $103 = 0, $106 = 0, $109 = 0, $11 = 0, $113 = 0, $114 = 0, $115 = 0, $116 = 0, $117 = 0, $118 = 0, $119 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0, $134 = 0, $135 = 0, $136 = 0, $138 = 0, $14 = 0, $148 = 0, $15 = 0, $150 = 0, $152 = 0, $154 = 0, $16 = 0, $165 = 0, $170 = 0, $173 = 0, $175 = 0, $179 = 0, $181 = 0, $186 = 0, $191 = 0, $194 = 0, $196 = 0, $2 = 0, $20 = 0, $200 = 0, $202 = 0, $207 = 0, $214 = 0, $217 = 0, $219 = 0, $223 = 0, $225 = 0, $230 = 0, $237 = 0, $240 = 0, $242 = 0, $246 = 0, $248 = 0, $25 = 0, $253 = 0, $26 = 0, $260 = 0, $263 = 0, $265 = 0, $269 = 0, $271 = 0, $291 = 0, $37 = 0, $4 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $54 = 0, $57 = 0, $62 = 0, $63 = 0, $68 = 0, $7 = 0, $75 = 0, $76 = 0, $8 = 0, $87 = 0, $89 = 0, $9 = 0, $91 = 0, $94 = 0, $97 = 0, $spec$select = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 128 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(128); - $2 = sp; - $4 = HEAP32[$0 + 452 >> 2] | 0; - $5 = $0 + 332 | 0; - $7 = (HEAP32[$5 >> 2] | 0) + -1 | 0; - $8 = $0 + 144 | 0; - $9 = HEAP32[$8 >> 2] | 0; - $10 = $0 + 152 | 0; - $11 = HEAP32[$10 >> 2] | 0; - L1 : do if (($9 | 0) <= ($11 | 0)) { - $13 = $0 + 460 | 0; - $14 = $0 + 412 | 0; - $15 = $0 + 148 | 0; - $16 = $0 + 156 | 0; - $25 = $9; - $26 = $11; +function _realize_virt_arrays($cinfo) { + $cinfo = $cinfo | 0; + var $0 = 0, $12 = 0, $13 = 0, $15 = 0, $16 = 0, $17 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $25 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $37 = 0, $38 = 0, $40 = 0, $41 = 0, $42 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $50 = 0, $55 = 0, $56 = 0, $57 = 0, $7 = 0, $add = 0, $add12$i = 0, $add12$i135 = 0, $add17 = 0, $arrayidx18$i = 0, $arrayidx18$i144 = 0, $blocksperrow89 = 0, $blocksperrow94$pre$phiZ2D = 0, $bptr$0157 = 0, $bptr$0161 = 0, $bptr$1149 = 0, $bptr$1151 = 0, $call = 0, $call$i = 0, $call$i102 = 0, $call$i136 = 0, $call$i90 = 0, $currow$039$i = 0, $currow$039$i106 = 0, $currow$1$lcssa$i = 0, $currow$1$lcssa$i125 = 0, $currow$134$i = 0, $currow$134$i117 = 0, $div = 0, $div$i = 0, $div$i93 = 0, $div$numrows$i = 0, $div$numrows$i99 = 0, $i$035$i = 0, $i$035$i116 = 0, $last_rowsperchunk = 0, $last_rowsperchunk98 = 0, $max_minheights$0 = 0, $maximum_space$0$lcssa = 0, $maximum_space$0165 = 0, $maximum_space$1 = 0, $maximum_space$2$lcssa = 0, $maximum_space$2159 = 0, $maximum_space$3 = 0, $mem1 = 0, $mul$i = 0, $mul11$i = 0, $mul12$i = 0, $mul52 = 0, $mul85 = 0, $rem$i = 0, $rows_in_mem53 = 0, $rows_in_mem86 = 0, $rowsperchunk$138$i = 0, $rowsperchunk$138$i107 = 0, $samplesperrow55 = 0, $samplesperrow59$pre$phiZ2D = 0, $sizeofobject$addr$0$i = 0, $space_per_minheight$0$lcssa = 0, $space_per_minheight$0166 = 0, $space_per_minheight$1 = 0, $space_per_minheight$2$lcssa = 0, $space_per_minheight$2160 = 0, $space_per_minheight$3 = 0, $sptr$0163 = 0, $sptr$0167 = 0, $sptr$1153 = 0, $sptr$1155 = 0, $sub$i = 0, $sub$i108 = 0, $total_space_allocated$i = 0, $total_space_allocated$i142 = 0, $virt_barray_list = 0, $virt_sarray_list = 0, $workspace$036$i = 0, $workspace$036$i115 = 0, $rowsperchunk$138$i$looptemp = 0, $rowsperchunk$138$i107$looptemp = 0; + $mem1 = $cinfo + 4 | 0; + $0 = HEAP32[$mem1 >> 2] | 0; + $virt_sarray_list = $0 + 68 | 0; + $sptr$0163 = HEAP32[$virt_sarray_list >> 2] | 0; + if (!$sptr$0163) { + $maximum_space$0$lcssa = 0; + $space_per_minheight$0$lcssa = 0; + } else { + $maximum_space$0165 = 0; + $space_per_minheight$0166 = 0; + $sptr$0167 = $sptr$0163; while (1) { - $20 = HEAP32[$13 >> 2] | 0; - if (HEAP32[$20 + 20 >> 2] | 0) break L1; - if (($25 | 0) == ($26 | 0) ? (HEAP32[$15 >> 2] | 0) >>> 0 > ((HEAP32[$16 >> 2] | 0) + ((HEAP32[$14 >> 2] | 0) == 0 & 1) | 0) >>> 0 : 0) break L1; - if (!(FUNCTION_TABLE_ii[HEAP32[$20 >> 2] & 127]($0) | 0)) { - $$0284 = 0; + if (!(HEAP32[$sptr$0167 >> 2] | 0)) { + $3 = HEAP32[$sptr$0167 + 8 >> 2] | 0; + $add = (Math_imul($3, HEAP32[$sptr$0167 + 12 >> 2] | 0) | 0) + $space_per_minheight$0166 | 0; + $maximum_space$1 = (Math_imul(HEAP32[$sptr$0167 + 4 >> 2] | 0, $3) | 0) + $maximum_space$0165 | 0; + $space_per_minheight$1 = $add; + } else { + $maximum_space$1 = $maximum_space$0165; + $space_per_minheight$1 = $space_per_minheight$0166; + } + $sptr$0167 = HEAP32[$sptr$0167 + 44 >> 2] | 0; + if (!$sptr$0167) { + $maximum_space$0$lcssa = $maximum_space$1; + $space_per_minheight$0$lcssa = $space_per_minheight$1; break; + } else { + $maximum_space$0165 = $maximum_space$1; + $space_per_minheight$0166 = $space_per_minheight$1; } - $25 = HEAP32[$8 >> 2] | 0; - $26 = HEAP32[$10 >> 2] | 0; - if (($25 | 0) > ($26 | 0)) break L1; } - STACKTOP = sp; - return $$0284 | 0; - } while (0); - $37 = $0 + 36 | 0; - if ((HEAP32[$37 >> 2] | 0) > 0) { - $42 = $0 + 156 | 0; - $43 = $0 + 4 | 0; - $44 = $4 + 112 | 0; - $45 = $0 + 472 | 0; - $46 = $2 + 2 | 0; - $47 = $2 + 16 | 0; - $48 = $2 + 32 | 0; - $49 = $2 + 18 | 0; - $50 = $2 + 4 | 0; - $$0299354 = 0; - $$0312353 = HEAP32[$0 + 216 >> 2] | 0; + } + $virt_barray_list = $0 + 72 | 0; + $bptr$0157 = HEAP32[$virt_barray_list >> 2] | 0; + if (!$bptr$0157) { + $maximum_space$2$lcssa = $maximum_space$0$lcssa; + $space_per_minheight$2$lcssa = $space_per_minheight$0$lcssa; + } else { + $bptr$0161 = $bptr$0157; + $maximum_space$2159 = $maximum_space$0$lcssa; + $space_per_minheight$2160 = $space_per_minheight$0$lcssa; while (1) { - if (HEAP32[$$0312353 + 52 >> 2] | 0) { - $54 = HEAP32[$42 >> 2] | 0; - if ($54 >>> 0 < $7 >>> 0) { - $57 = HEAP32[$$0312353 + 12 >> 2] | 0; - $$0303 = $57 << 1; - $$0308 = 0; - $$1302 = $57; - $68 = $57; - } else { - $62 = HEAP32[$$0312353 + 12 >> 2] | 0; - $63 = ((HEAP32[$$0312353 + 32 >> 2] | 0) >>> 0) % ($62 >>> 0) | 0; - $spec$select = ($63 | 0) == 0 ? $62 : $63; - $$0303 = $spec$select; - $$0308 = 1; - $$1302 = $spec$select; - $68 = $62; - } - if (!$54) { - $$0304 = FUNCTION_TABLE_iiiiii[HEAP32[(HEAP32[$43 >> 2] | 0) + 32 >> 2] & 31]($0, HEAP32[$4 + 72 + ($$0299354 << 2) >> 2] | 0, 0, $$0303, 0) | 0; - $$0309 = 1; + if (!(HEAP32[$bptr$0161 >> 2] | 0)) { + $7 = HEAP32[$bptr$0161 + 8 >> 2] | 0; + $add17 = (Math_imul(HEAP32[$bptr$0161 + 12 >> 2] << 7, $7) | 0) + $space_per_minheight$2160 | 0; + $maximum_space$3 = (Math_imul($7 << 7, HEAP32[$bptr$0161 + 4 >> 2] | 0) | 0) + $maximum_space$2159 | 0; + $space_per_minheight$3 = $add17; + } else { + $maximum_space$3 = $maximum_space$2159; + $space_per_minheight$3 = $space_per_minheight$2160; + } + $bptr$0161 = HEAP32[$bptr$0161 + 44 >> 2] | 0; + if (!$bptr$0161) { + $maximum_space$2$lcssa = $maximum_space$3; + $space_per_minheight$2$lcssa = $space_per_minheight$3; + break; + } else { + $maximum_space$2159 = $maximum_space$3; + $space_per_minheight$2160 = $space_per_minheight$3; + } + } + } + if (($space_per_minheight$2$lcssa | 0) < 1) return; + $call = _jpeg_mem_available($cinfo, $space_per_minheight$2$lcssa, $maximum_space$2$lcssa, HEAP32[$0 + 76 >> 2] | 0) | 0; + if (($call | 0) < ($maximum_space$2$lcssa | 0)) { + $div = ($call | 0) / ($space_per_minheight$2$lcssa | 0) | 0; + $max_minheights$0 = ($div | 0) > 1 ? $div : 1; + } else $max_minheights$0 = 1e9; + $sptr$1153 = HEAP32[$virt_sarray_list >> 2] | 0; + if ($sptr$1153 | 0) { + $last_rowsperchunk = $0 + 80 | 0; + $sptr$1155 = $sptr$1153; + do { + if (!(HEAP32[$sptr$1155 >> 2] | 0)) { + $12 = HEAP32[$sptr$1155 + 4 >> 2] | 0; + $13 = HEAP32[$sptr$1155 + 12 >> 2] | 0; + if ((((($12 + -1 | 0) >>> 0) / ($13 >>> 0) | 0) + 1 | 0) > ($max_minheights$0 | 0)) { + $mul52 = Math_imul($13, $max_minheights$0) | 0; + $rows_in_mem53 = $sptr$1155 + 16 | 0; + HEAP32[$rows_in_mem53 >> 2] = $mul52; + $samplesperrow55 = $sptr$1155 + 8 | 0; + _jpeg_open_backing_store($cinfo, $sptr$1155 + 48 | 0, Math_imul(HEAP32[$samplesperrow55 >> 2] | 0, $12) | 0); + HEAP32[$sptr$1155 + 40 >> 2] = 1; + $19 = HEAP32[$rows_in_mem53 >> 2] | 0; + $samplesperrow59$pre$phiZ2D = $samplesperrow55; } else { - $75 = Math_imul($68, $54 + -1 | 0) | 0; - $76 = FUNCTION_TABLE_iiiiii[HEAP32[(HEAP32[$43 >> 2] | 0) + 32 >> 2] & 31]($0, HEAP32[$4 + 72 + ($$0299354 << 2) >> 2] | 0, $75, $68 + $$0303 | 0, 0) | 0; - $$0304 = $76 + (HEAP32[$$0312353 + 12 >> 2] << 2) | 0; - $$0309 = 0; - } - $87 = (HEAP32[$44 >> 2] | 0) + ($$0299354 * 6 << 2) | 0; - $89 = HEAP32[$$0312353 + 80 >> 2] | 0; - $91 = HEAPU16[$89 >> 1] | 0; - $94 = HEAPU16[$89 + 2 >> 1] | 0; - $97 = HEAPU16[$89 + 16 >> 1] | 0; - $100 = HEAPU16[$89 + 32 >> 1] | 0; - $103 = HEAPU16[$89 + 18 >> 1] | 0; - $106 = HEAPU16[$89 + 4 >> 1] | 0; - $109 = HEAP32[(HEAP32[$45 >> 2] | 0) + 4 + ($$0299354 << 2) >> 2] | 0; - if (($$1302 | 0) > 0) { - $113 = ($$0309 | 0) != 0; - $114 = ($$0308 | 0) != 0; - $115 = $$1302 + -1 | 0; - $116 = $$0312353 + 28 | 0; - $117 = $87 + 4 | 0; - $118 = $87 + 8 | 0; - $119 = $87 + 12 | 0; - $120 = $91 * 36 | 0; - $121 = $94 << 7; - $122 = $87 + 16 | 0; - $123 = $97 << 7; - $124 = $94 << 8; - $125 = $87 + 20 | 0; - $126 = $91 * 9 | 0; - $127 = $100 << 7; - $128 = $97 << 8; - $129 = $$0312353 + 36 | 0; - $130 = $91 * 5 | 0; - $131 = $103 << 7; - $132 = $100 << 8; - $133 = $106 << 7; - $134 = $103 << 8; - $135 = $106 << 8; - $136 = $$0312353 + 40 | 0; - $$0300352 = 0; - $$0314351 = HEAP32[$1 + ($$0299354 << 2) >> 2] | 0; + HEAP32[$sptr$1155 + 16 >> 2] = $12; + $19 = $12; + $samplesperrow59$pre$phiZ2D = $sptr$1155 + 8 | 0; + } + $15 = HEAP32[$samplesperrow59$pre$phiZ2D >> 2] | 0; + $16 = HEAP32[$mem1 >> 2] | 0; + $div$i = 999999984 / ($15 >>> 0) | 0; + if ($15 >>> 0 > 999999984) { + $17 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$17 + 20 >> 2] = 72; + FUNCTION_TABLE_vi[HEAP32[$17 >> 2] & 255]($cinfo); + } + $div$numrows$i = ($div$i | 0) < ($19 | 0) ? $div$i : $19; + HEAP32[$16 + 80 >> 2] = $div$numrows$i; + $call$i = _alloc_small($cinfo, 1, $19 << 2) | 0; + if ($19 | 0) { + $20 = ~$19; + $currow$039$i = 0; + $rowsperchunk$138$i = $div$numrows$i; while (1) { - $138 = HEAP32[$$0304 + ($$0300352 << 2) >> 2] | 0; - if ($113 & ($$0300352 | 0) == 0) $$0306 = $138; else $$0306 = HEAP32[$$0304 + ($$0300352 + -1 << 2) >> 2] | 0; - if ($114 & ($$0300352 | 0) == ($115 | 0)) $$0310 = $138; else $$0310 = HEAP32[$$0304 + ($$0300352 + 1 << 2) >> 2] | 0; - $148 = HEAP16[$$0306 >> 1] | 0; - $150 = HEAP16[$138 >> 1] | 0; - $152 = HEAP16[$$0310 >> 1] | 0; - $154 = (HEAP32[$116 >> 2] | 0) + -1 | 0; - $$0288350 = $152; - $$0289349 = $152; - $$0292348 = $150; - $$0293347 = $150; - $$0296346 = $148; - $$0297345 = $148; - $$0298344 = 0; - $$0305343 = $138; - $$0313340 = 0; - $$1307342 = $$0306; - $$1311341 = $$0310; - while (1) { - _jcopy_block_row($$0305343, $2, 1); - if ($$0298344 >>> 0 < $154 >>> 0) { - $$1287 = HEAP16[$$1311341 + 128 >> 1] | 0; - $$1291 = HEAP16[$$0305343 + 128 >> 1] | 0; - $$1295 = HEAP16[$$1307342 + 128 >> 1] | 0; - } else { - $$1287 = $$0288350; - $$1291 = $$0292348; - $$1295 = $$0296346; - } - $165 = HEAP32[$117 >> 2] | 0; - if (($165 | 0) != 0 & (HEAP16[$46 >> 1] | 0) == 0) { - $170 = Math_imul($120, $$0293347 - $$1291 | 0) | 0; - if (($170 | 0) > -1) { - $173 = ($170 + $121 | 0) / ($124 | 0) | 0; - $175 = 1 << $165; - $$1 = ($165 | 0) > 0 ? (($173 | 0) < ($175 | 0) ? $173 : $175 + -1 | 0) : $173; - } else { - $179 = ($121 - $170 | 0) / ($124 | 0) | 0; - $181 = 1 << $165; - $$1 = 0 - (($165 | 0) > 0 ? (($179 | 0) < ($181 | 0) ? $179 : $181 + -1 | 0) : $179) | 0; - } - HEAP16[$46 >> 1] = $$1; - } - $186 = HEAP32[$118 >> 2] | 0; - if (($186 | 0) != 0 & (HEAP16[$47 >> 1] | 0) == 0) { - $191 = Math_imul($120, $$0296346 - $$0288350 | 0) | 0; - if (($191 | 0) > -1) { - $194 = ($191 + $123 | 0) / ($128 | 0) | 0; - $196 = 1 << $186; - $$3 = ($186 | 0) > 0 ? (($194 | 0) < ($196 | 0) ? $194 : $196 + -1 | 0) : $194; - } else { - $200 = ($123 - $191 | 0) / ($128 | 0) | 0; - $202 = 1 << $186; - $$3 = 0 - (($186 | 0) > 0 ? (($200 | 0) < ($202 | 0) ? $200 : $202 + -1 | 0) : $200) | 0; - } - HEAP16[$47 >> 1] = $$3; - } - $207 = HEAP32[$119 >> 2] | 0; - if (($207 | 0) != 0 & (HEAP16[$48 >> 1] | 0) == 0) { - $214 = Math_imul($126, $$0296346 - ($$0292348 << 1) + $$0288350 | 0) | 0; - if (($214 | 0) > -1) { - $217 = ($214 + $127 | 0) / ($132 | 0) | 0; - $219 = 1 << $207; - $$5 = ($207 | 0) > 0 ? (($217 | 0) < ($219 | 0) ? $217 : $219 + -1 | 0) : $217; - } else { - $223 = ($127 - $214 | 0) / ($132 | 0) | 0; - $225 = 1 << $207; - $$5 = 0 - (($207 | 0) > 0 ? (($223 | 0) < ($225 | 0) ? $223 : $225 + -1 | 0) : $223) | 0; - } - HEAP16[$48 >> 1] = $$5; - } - $230 = HEAP32[$122 >> 2] | 0; - if (($230 | 0) != 0 & (HEAP16[$49 >> 1] | 0) == 0) { - $237 = Math_imul($130, $$0297345 - $$0289349 - $$1295 + $$1287 | 0) | 0; - if (($237 | 0) > -1) { - $240 = ($237 + $131 | 0) / ($134 | 0) | 0; - $242 = 1 << $230; - $$7 = ($230 | 0) > 0 ? (($240 | 0) < ($242 | 0) ? $240 : $242 + -1 | 0) : $240; - } else { - $246 = ($131 - $237 | 0) / ($134 | 0) | 0; - $248 = 1 << $230; - $$7 = 0 - (($230 | 0) > 0 ? (($246 | 0) < ($248 | 0) ? $246 : $248 + -1 | 0) : $246) | 0; - } - HEAP16[$49 >> 1] = $$7; - } - $253 = HEAP32[$125 >> 2] | 0; - if (($253 | 0) != 0 & (HEAP16[$50 >> 1] | 0) == 0) { - $260 = Math_imul($126, $$0293347 - ($$0292348 << 1) + $$1291 | 0) | 0; - if (($260 | 0) > -1) { - $263 = ($260 + $133 | 0) / ($135 | 0) | 0; - $265 = 1 << $253; - $$9 = ($253 | 0) > 0 ? (($263 | 0) < ($265 | 0) ? $263 : $265 + -1 | 0) : $263; - } else { - $269 = ($133 - $260 | 0) / ($135 | 0) | 0; - $271 = 1 << $253; - $$9 = 0 - (($253 | 0) > 0 ? (($269 | 0) < ($271 | 0) ? $269 : $271 + -1 | 0) : $269) | 0; + $sub$i = $19 - $currow$039$i | 0; + $rowsperchunk$138$i$looptemp = $rowsperchunk$138$i; + $rowsperchunk$138$i = $rowsperchunk$138$i >>> 0 < $sub$i >>> 0 ? $rowsperchunk$138$i : $sub$i; + $mul11$i = Math_imul($rowsperchunk$138$i, $15) | 0; + $21 = HEAP32[$mem1 >> 2] | 0; + if ($mul11$i >>> 0 > 999999984) { + $22 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$22 + 20 >> 2] = 56; + HEAP32[$22 + 24 >> 2] = 3; + FUNCTION_TABLE_vi[HEAP32[HEAP32[$cinfo >> 2] >> 2] & 255]($cinfo); + } + $rem$i = $mul11$i & 7; + $sizeofobject$addr$0$i = (($rem$i | 0) == 0 ? 0 : 8 - $rem$i | 0) + $mul11$i | 0; + $add12$i = $sizeofobject$addr$0$i + 16 | 0; + $call$i90 = _jpeg_get_large($cinfo, $add12$i) | 0; + if (!$call$i90) { + $25 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$25 + 20 >> 2] = 56; + HEAP32[$25 + 24 >> 2] = 4; + FUNCTION_TABLE_vi[HEAP32[HEAP32[$cinfo >> 2] >> 2] & 255]($cinfo); + } + $total_space_allocated$i = $21 + 76 | 0; + HEAP32[$total_space_allocated$i >> 2] = (HEAP32[$total_space_allocated$i >> 2] | 0) + $add12$i; + $arrayidx18$i = $21 + 64 | 0; + HEAP32[$call$i90 >> 2] = HEAP32[$arrayidx18$i >> 2]; + HEAP32[$call$i90 + 4 >> 2] = $sizeofobject$addr$0$i; + HEAP32[$call$i90 + 8 >> 2] = 0; + HEAP32[$arrayidx18$i >> 2] = $call$i90; + if (!$rowsperchunk$138$i) $currow$1$lcssa$i = $currow$039$i; else { + $30 = $currow$039$i + $20 | 0; + $31 = ~$rowsperchunk$138$i$looptemp; + $32 = $30 >>> 0 > $31 >>> 0; + $currow$134$i = $currow$039$i; + $i$035$i = $rowsperchunk$138$i; + $workspace$036$i = $call$i90 + 16 | 0; + while (1) { + HEAP32[$call$i + ($currow$134$i << 2) >> 2] = $workspace$036$i; + $i$035$i = $i$035$i + -1 | 0; + if (!$i$035$i) break; else { + $currow$134$i = $currow$134$i + 1 | 0; + $workspace$036$i = $workspace$036$i + $15 | 0; } - HEAP16[$50 >> 1] = $$9; } - FUNCTION_TABLE_viiiii[$109 & 63]($0, $$0312353, $2, $$0314351, $$0313340); - $$0298344 = $$0298344 + 1 | 0; - if ($$0298344 >>> 0 > $154 >>> 0) break; else { - $$0297345$phi = $$0296346; - $$0293347$phi = $$0292348; - $$0289349$phi = $$0288350; - $$0288350 = $$1287; - $$0292348 = $$1291; - $$0296346 = $$1295; - $$0305343 = $$0305343 + 128 | 0; - $$0313340 = (HEAP32[$129 >> 2] | 0) + $$0313340 | 0; - $$1307342 = $$1307342 + 128 | 0; - $$1311341 = $$1311341 + 128 | 0; - $$0297345 = $$0297345$phi; - $$0293347 = $$0293347$phi; - $$0289349 = $$0289349$phi; + $currow$1$lcssa$i = $currow$039$i + -1 - ($32 ? $30 : $31) | 0; + } + if ($currow$1$lcssa$i >>> 0 >= $19 >>> 0) break; else $currow$039$i = $currow$1$lcssa$i; + } + } + HEAP32[$sptr$1155 >> 2] = $call$i; + HEAP32[$sptr$1155 + 20 >> 2] = HEAP32[$last_rowsperchunk >> 2]; + HEAP32[$sptr$1155 + 24 >> 2] = 0; + HEAP32[$sptr$1155 + 28 >> 2] = 0; + HEAP32[$sptr$1155 + 36 >> 2] = 0; + } + $sptr$1155 = HEAP32[$sptr$1155 + 44 >> 2] | 0; + } while (($sptr$1155 | 0) != 0); + } + $bptr$1149 = HEAP32[$virt_barray_list >> 2] | 0; + if (!$bptr$1149) return; + $last_rowsperchunk98 = $0 + 80 | 0; + $bptr$1151 = $bptr$1149; + do { + if (!(HEAP32[$bptr$1151 >> 2] | 0)) { + $37 = HEAP32[$bptr$1151 + 4 >> 2] | 0; + $38 = HEAP32[$bptr$1151 + 12 >> 2] | 0; + if ((((($37 + -1 | 0) >>> 0) / ($38 >>> 0) | 0) + 1 | 0) > ($max_minheights$0 | 0)) { + $mul85 = Math_imul($38, $max_minheights$0) | 0; + $rows_in_mem86 = $bptr$1151 + 16 | 0; + HEAP32[$rows_in_mem86 >> 2] = $mul85; + $blocksperrow89 = $bptr$1151 + 8 | 0; + _jpeg_open_backing_store($cinfo, $bptr$1151 + 48 | 0, Math_imul($37 << 7, HEAP32[$blocksperrow89 >> 2] | 0) | 0); + HEAP32[$bptr$1151 + 40 >> 2] = 1; + $44 = HEAP32[$rows_in_mem86 >> 2] | 0; + $blocksperrow94$pre$phiZ2D = $blocksperrow89; + } else { + HEAP32[$bptr$1151 + 16 >> 2] = $37; + $44 = $37; + $blocksperrow94$pre$phiZ2D = $bptr$1151 + 8 | 0; + } + $40 = HEAP32[$blocksperrow94$pre$phiZ2D >> 2] | 0; + $41 = HEAP32[$mem1 >> 2] | 0; + $mul$i = $40 << 7; + $div$i93 = 999999984 / ($mul$i >>> 0) | 0; + if ($mul$i >>> 0 > 999999984) { + $42 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$42 + 20 >> 2] = 72; + FUNCTION_TABLE_vi[HEAP32[$42 >> 2] & 255]($cinfo); + } + $div$numrows$i99 = ($div$i93 | 0) < ($44 | 0) ? $div$i93 : $44; + HEAP32[$41 + 80 >> 2] = $div$numrows$i99; + $call$i102 = _alloc_small($cinfo, 1, $44 << 2) | 0; + if ($44 | 0) { + $45 = ~$44; + $currow$039$i106 = 0; + $rowsperchunk$138$i107 = $div$numrows$i99; + while (1) { + $sub$i108 = $44 - $currow$039$i106 | 0; + $rowsperchunk$138$i107$looptemp = $rowsperchunk$138$i107; + $rowsperchunk$138$i107 = $rowsperchunk$138$i107 >>> 0 < $sub$i108 >>> 0 ? $rowsperchunk$138$i107 : $sub$i108; + $mul12$i = Math_imul($rowsperchunk$138$i107, $mul$i) | 0; + $46 = HEAP32[$mem1 >> 2] | 0; + if ($mul12$i >>> 0 > 999999984) { + $47 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$47 + 20 >> 2] = 56; + HEAP32[$47 + 24 >> 2] = 3; + FUNCTION_TABLE_vi[HEAP32[HEAP32[$cinfo >> 2] >> 2] & 255]($cinfo); + } + $add12$i135 = $mul12$i | 16; + $call$i136 = _jpeg_get_large($cinfo, $add12$i135) | 0; + if (!$call$i136) { + $50 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$50 + 20 >> 2] = 56; + HEAP32[$50 + 24 >> 2] = 4; + FUNCTION_TABLE_vi[HEAP32[HEAP32[$cinfo >> 2] >> 2] & 255]($cinfo); + } + $total_space_allocated$i142 = $46 + 76 | 0; + HEAP32[$total_space_allocated$i142 >> 2] = (HEAP32[$total_space_allocated$i142 >> 2] | 0) + $add12$i135; + $arrayidx18$i144 = $46 + 64 | 0; + HEAP32[$call$i136 >> 2] = HEAP32[$arrayidx18$i144 >> 2]; + HEAP32[$call$i136 + 4 >> 2] = $mul12$i; + HEAP32[$call$i136 + 8 >> 2] = 0; + HEAP32[$arrayidx18$i144 >> 2] = $call$i136; + if (!$rowsperchunk$138$i107) $currow$1$lcssa$i125 = $currow$039$i106; else { + $55 = $currow$039$i106 + $45 | 0; + $56 = ~$rowsperchunk$138$i107$looptemp; + $57 = $55 >>> 0 > $56 >>> 0; + $currow$134$i117 = $currow$039$i106; + $i$035$i116 = $rowsperchunk$138$i107; + $workspace$036$i115 = $call$i136 + 16 | 0; + while (1) { + HEAP32[$call$i102 + ($currow$134$i117 << 2) >> 2] = $workspace$036$i115; + $i$035$i116 = $i$035$i116 + -1 | 0; + if (!$i$035$i116) break; else { + $currow$134$i117 = $currow$134$i117 + 1 | 0; + $workspace$036$i115 = $workspace$036$i115 + ($40 << 7) | 0; } } - $$0300352 = $$0300352 + 1 | 0; - if (($$0300352 | 0) == ($$1302 | 0)) break; else $$0314351 = $$0314351 + (HEAP32[$136 >> 2] << 2) | 0; + $currow$1$lcssa$i125 = $currow$039$i106 + -1 - ($57 ? $55 : $56) | 0; } + if ($currow$1$lcssa$i125 >>> 0 >= $44 >>> 0) break; else $currow$039$i106 = $currow$1$lcssa$i125; } } - $$0299354 = $$0299354 + 1 | 0; - if (($$0299354 | 0) >= (HEAP32[$37 >> 2] | 0)) { - $$pre$phiZ2D = $42; - break; - } else $$0312353 = $$0312353 + 88 | 0; + HEAP32[$bptr$1151 >> 2] = $call$i102; + HEAP32[$bptr$1151 + 20 >> 2] = HEAP32[$last_rowsperchunk98 >> 2]; + HEAP32[$bptr$1151 + 24 >> 2] = 0; + HEAP32[$bptr$1151 + 28 >> 2] = 0; + HEAP32[$bptr$1151 + 36 >> 2] = 0; } - } else $$pre$phiZ2D = $0 + 156 | 0; - $291 = (HEAP32[$$pre$phiZ2D >> 2] | 0) + 1 | 0; - HEAP32[$$pre$phiZ2D >> 2] = $291; - $$0284 = $291 >>> 0 < (HEAP32[$5 >> 2] | 0) >>> 0 ? 3 : 4; - STACKTOP = sp; - return $$0284 | 0; + $bptr$1151 = HEAP32[$bptr$1151 + 44 >> 2] | 0; + } while (($bptr$1151 | 0) != 0); + return; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E16parseSpecialNameEv($0) { +function ___intscan($f, $base, $pok, $0, $1) { + $f = $f | 0; + $base = $base | 0; + $pok = $pok | 0; $0 = $0 | 0; - var $$0 = 0, $$1 = 0, $$11 = 0, $$12 = 0, $$13 = 0, $$14 = 0, $$2 = 0, $$3 = 0, $$4 = 0, $$5 = 0, $$6 = 0, $$7 = 0, $$8 = 0, $$9 = 0, $1 = 0, $10 = 0, $16 = 0, $2 = 0, $22 = 0, $28 = 0, $36 = 0, $41 = 0, $42 = 0, $46 = 0, $52 = 0, $58 = 0, $64 = 0, $67 = 0, $76 = 0, $82 = 0, $84 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $1 = sp + 8 | 0; - $2 = sp; - L1 : do switch ((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($0, 0) | 0) << 24 >> 24 | 0) { - case 84: - { - switch ((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($0, 1) | 0) << 24 >> 24 | 0) { - case 86: - { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 2; - $10 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseTypeEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0) | 0; - HEAP32[$1 >> 2] = $10; - if (!$10) $$0 = 0; else $$0 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_11SpecialNameEJRA12_KcRPNS0_4NodeEEEESC_DpOT0_($0, $1) | 0; - $$14 = $$0; - break L1; - break; + $1 = $1 | 0; + var $10 = 0, $100 = 0, $107 = 0, $108 = 0, $109 = 0, $114 = 0, $124 = 0, $126 = 0, $13 = 0, $135 = 0, $143 = 0, $146 = 0, $148 = 0, $149 = 0, $150 = 0, $151 = 0, $152 = 0, $153 = 0, $154 = 0, $155 = 0, $2 = 0, $23 = 0, $27 = 0, $28 = 0, $29 = 0, $30 = 0, $32 = 0, $34 = 0, $42 = 0, $5 = 0, $51 = 0, $52 = 0, $55 = 0, $57 = 0, $58 = 0, $60 = 0, $62 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $71 = 0, $72 = 0, $73 = 0, $82 = 0, $83 = 0, $86 = 0, $88 = 0, $89 = 0, $90 = 0, $92 = 0, $97 = 0, $98 = 0, $99 = 0, $base$addr$1 = 0, $base$addr$1135 = 0, $base$addr$1136 = 0, $c$0 = 0, $c$1 = 0, $c$1137 = 0, $c$3185 = 0, $c$4$lcssa = 0, $c$6$lcssa = 0, $c$7168 = 0, $c$8 = 0, $call = 0, $call105 = 0, $call330 = 0, $call351 = 0, $call357 = 0, $cmp25 = 0, $cond = 0, $cond128 = 0, $cond162 = 0, $cond202 = 0, $cond233 = 0, $cond262 = 0, $cond301 = 0, $cond328 = 0, $cond44 = 0, $cond59 = 0, $conv176 = 0, $conv179159 = 0, $conv179162 = 0, $conv207152$pre$phiZ2D = 0, $conv238177 = 0, $conv238180 = 0, $conv267166$pre$phiZ2D = 0, $neg$0 = 0, $neg$1 = 0, $rpos = 0, $shend = 0, $spec$select132 = 0, $sub = 0, $sub111191 = 0, $sub111194 = 0, $sub131187 = 0, $tobool65 = 0, $x$0193 = 0, $x$1161 = 0, $x$2179 = 0, label = 0; + L1 : do if ($base >>> 0 > 36) { + $call = ___errno_location() | 0; + HEAP32[$call >> 2] = 28; + $148 = 0; + $149 = 0; + } else { + $rpos = $f + 4 | 0; + $shend = $f + 104 | 0; + do { + $2 = HEAP32[$rpos >> 2] | 0; + if ($2 >>> 0 < (HEAP32[$shend >> 2] | 0) >>> 0) { + HEAP32[$rpos >> 2] = $2 + 1; + $cond = HEAPU8[$2 >> 0] | 0; + } else $cond = ___shgetc($f) | 0; + } while ((_isspace($cond) | 0) != 0); + L11 : do switch ($cond | 0) { + case 43: + case 45: + { + $sub = (($cond | 0) == 45) << 31 >> 31; + $5 = HEAP32[$rpos >> 2] | 0; + if ($5 >>> 0 < (HEAP32[$shend >> 2] | 0) >>> 0) { + HEAP32[$rpos >> 2] = $5 + 1; + $c$0 = HEAPU8[$5 >> 0] | 0; + $neg$0 = $sub; + break L11; + } else { + $c$0 = ___shgetc($f) | 0; + $neg$0 = $sub; + break L11; } - case 84: - { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 2; - $16 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseTypeEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0) | 0; - HEAP32[$1 >> 2] = $16; - if (!$16) $$1 = 0; else $$1 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_11SpecialNameEJRA9_KcRPNS0_4NodeEEEESC_DpOT0_($0, $1) | 0; - $$14 = $$1; + break; + } + default: + { + $c$0 = $cond; + $neg$0 = 0; + } + } while (0); + $cmp25 = ($base | 0) == 0; + do if (($base | 16 | 0) == 16 & ($c$0 | 0) == 48) { + $10 = HEAP32[$rpos >> 2] | 0; + if ($10 >>> 0 < (HEAP32[$shend >> 2] | 0) >>> 0) { + HEAP32[$rpos >> 2] = $10 + 1; + $cond44 = HEAPU8[$10 >> 0] | 0; + } else $cond44 = ___shgetc($f) | 0; + if (($cond44 | 32 | 0) != 120) if ($cmp25) { + $base$addr$1135 = 8; + $c$1137 = $cond44; + label = 47; + break; + } else { + $base$addr$1 = $base; + $c$1 = $cond44; + label = 32; + break; + } + $13 = HEAP32[$rpos >> 2] | 0; + if ($13 >>> 0 < (HEAP32[$shend >> 2] | 0) >>> 0) { + HEAP32[$rpos >> 2] = $13 + 1; + $cond59 = HEAPU8[$13 >> 0] | 0; + } else $cond59 = ___shgetc($f) | 0; + if ((HEAPU8[7921 + $cond59 >> 0] | 0) > 15) { + $tobool65 = (HEAP32[$shend >> 2] | 0) == 0; + if (!$tobool65) HEAP32[$rpos >> 2] = (HEAP32[$rpos >> 2] | 0) + -1; + if (!$pok) { + ___shlim($f, 0, 0); + $148 = 0; + $149 = 0; break L1; - break; } - case 73: - { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 2; - $22 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseTypeEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0) | 0; - HEAP32[$1 >> 2] = $22; - if (!$22) $$2 = 0; else $$2 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_11SpecialNameEJRA14_KcRPNS0_4NodeEEEESC_DpOT0_($0, $1) | 0; - $$14 = $$2; + if ($tobool65) { + $148 = 0; + $149 = 0; break L1; - break; } - case 83: - { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 2; - $28 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseTypeEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0) | 0; - HEAP32[$1 >> 2] = $28; - if (!$28) $$3 = 0; else $$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_11SpecialNameEJRA19_KcRPNS0_4NodeEEEESC_DpOT0_($0, $1) | 0; - $$14 = $$3; - break L1; + HEAP32[$rpos >> 2] = (HEAP32[$rpos >> 2] | 0) + -1; + $148 = 0; + $149 = 0; + break L1; + } else { + $base$addr$1135 = 16; + $c$1137 = $cond59; + label = 47; + } + } else { + $spec$select132 = $cmp25 ? 10 : $base; + if ($spec$select132 >>> 0 > (HEAPU8[7921 + $c$0 >> 0] | 0) >>> 0) { + $base$addr$1 = $spec$select132; + $c$1 = $c$0; + label = 32; + } else { + if (HEAP32[$shend >> 2] | 0) HEAP32[$rpos >> 2] = (HEAP32[$rpos >> 2] | 0) + -1; + ___shlim($f, 0, 0); + $call105 = ___errno_location() | 0; + HEAP32[$call105 >> 2] = 28; + $148 = 0; + $149 = 0; + break L1; + } + } while (0); + L43 : do if ((label | 0) == 32) if (($base$addr$1 | 0) == 10) { + $sub111191 = $c$1 + -48 | 0; + if ($sub111191 >>> 0 < 10) { + $sub111194 = $sub111191; + $x$0193 = 0; + do { + $x$0193 = ($x$0193 * 10 | 0) + $sub111194 | 0; + $23 = HEAP32[$rpos >> 2] | 0; + if ($23 >>> 0 < (HEAP32[$shend >> 2] | 0) >>> 0) { + HEAP32[$rpos >> 2] = $23 + 1; + $cond128 = HEAPU8[$23 >> 0] | 0; + } else $cond128 = ___shgetc($f) | 0; + $sub111194 = $cond128 + -48 | 0; + } while ($sub111194 >>> 0 < 10 & $x$0193 >>> 0 < 429496729); + if ($sub111194 >>> 0 < 10) { + $27 = $x$0193; + $28 = 0; + $c$3185 = $cond128; + $sub131187 = $sub111194; + while (1) { + $29 = ___muldi3($27 | 0, $28 | 0, 10, 0) | 0; + $30 = getTempRet0() | 0; + $32 = (($sub131187 | 0) < 0) << 31 >> 31; + $34 = ~$32; + if ($30 >>> 0 > $34 >>> 0 | ($30 | 0) == ($34 | 0) & $29 >>> 0 > ~$sub131187 >>> 0) { + $150 = $27; + $151 = $28; + $base$addr$1136 = 10; + $c$8 = $c$3185; + label = 76; + break L43; + } + $27 = _i64Add($29 | 0, $30 | 0, $sub131187 | 0, $32 | 0) | 0; + $28 = getTempRet0() | 0; + $42 = HEAP32[$rpos >> 2] | 0; + if ($42 >>> 0 < (HEAP32[$shend >> 2] | 0) >>> 0) { + HEAP32[$rpos >> 2] = $42 + 1; + $cond162 = HEAPU8[$42 >> 0] | 0; + } else $cond162 = ___shgetc($f) | 0; + $sub131187 = $cond162 + -48 | 0; + if (!($sub131187 >>> 0 < 10 & ($28 >>> 0 < 429496729 | ($28 | 0) == 429496729 & $27 >>> 0 < 2576980378))) break; else $c$3185 = $cond162; + } + if ($sub131187 >>> 0 > 9) { + $124 = $28; + $126 = $27; + $neg$1 = $neg$0; + } else { + $150 = $27; + $151 = $28; + $base$addr$1136 = 10; + $c$8 = $cond162; + label = 76; + } + } else { + $124 = 0; + $126 = $x$0193; + $neg$1 = $neg$0; + } + } else { + $124 = 0; + $126 = 0; + $neg$1 = $neg$0; + } + } else { + $base$addr$1135 = $base$addr$1; + $c$1137 = $c$1; + label = 47; + } while (0); + L63 : do if ((label | 0) == 47) { + if (!($base$addr$1135 + -1 & $base$addr$1135)) { + $conv176 = HEAP8[51612 + (($base$addr$1135 * 23 | 0) >>> 5 & 7) >> 0] | 0; + $51 = HEAP8[7921 + $c$1137 >> 0] | 0; + $conv179159 = $51 & 255; + if ($base$addr$1135 >>> 0 > $conv179159 >>> 0) { + $conv179162 = $conv179159; + $x$1161 = 0; + do { + $x$1161 = $conv179162 | $x$1161 << $conv176; + $52 = HEAP32[$rpos >> 2] | 0; + if ($52 >>> 0 < (HEAP32[$shend >> 2] | 0) >>> 0) { + HEAP32[$rpos >> 2] = $52 + 1; + $cond202 = HEAPU8[$52 >> 0] | 0; + } else $cond202 = ___shgetc($f) | 0; + $55 = HEAP8[7921 + $cond202 >> 0] | 0; + $conv179162 = $55 & 255; + } while ($x$1161 >>> 0 < 134217728 & $base$addr$1135 >>> 0 > $conv179162 >>> 0); + $152 = $55; + $60 = 0; + $62 = $x$1161; + $c$4$lcssa = $cond202; + $conv207152$pre$phiZ2D = $conv179162; + } else { + $152 = $51; + $60 = 0; + $62 = 0; + $c$4$lcssa = $c$1137; + $conv207152$pre$phiZ2D = $conv179159; + } + $57 = _bitshift64Lshr(-1, -1, $conv176 | 0) | 0; + $58 = getTempRet0() | 0; + if ($base$addr$1135 >>> 0 <= $conv207152$pre$phiZ2D >>> 0 | ($58 >>> 0 < $60 >>> 0 | ($58 | 0) == ($60 | 0) & $57 >>> 0 < $62 >>> 0)) { + $150 = $62; + $151 = $60; + $base$addr$1136 = $base$addr$1135; + $c$8 = $c$4$lcssa; + label = 76; break; } - case 99: - { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 2; - if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseCallOffsetEv($0) | 0) { - $$14 = 0; - break L1; + $66 = $62; + $67 = $60; + $71 = $152; + while (1) { + $68 = _bitshift64Shl($66 | 0, $67 | 0, $conv176 | 0) | 0; + $69 = getTempRet0() | 0; + $72 = $68 | $71 & 255; + $73 = HEAP32[$rpos >> 2] | 0; + if ($73 >>> 0 < (HEAP32[$shend >> 2] | 0) >>> 0) { + HEAP32[$rpos >> 2] = $73 + 1; + $cond233 = HEAPU8[$73 >> 0] | 0; + } else $cond233 = ___shgetc($f) | 0; + $71 = HEAP8[7921 + $cond233 >> 0] | 0; + if ($base$addr$1135 >>> 0 <= ($71 & 255) >>> 0 | ($69 >>> 0 > $58 >>> 0 | ($69 | 0) == ($58 | 0) & $72 >>> 0 > $57 >>> 0)) { + $150 = $72; + $151 = $69; + $base$addr$1136 = $base$addr$1135; + $c$8 = $cond233; + label = 76; + break L63; + } else { + $66 = $72; + $67 = $69; } - if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseCallOffsetEv($0) | 0) { - $$14 = 0; - break L1; + } + } + $82 = HEAP8[7921 + $c$1137 >> 0] | 0; + $conv238177 = $82 & 255; + if ($base$addr$1135 >>> 0 > $conv238177 >>> 0) { + $conv238180 = $conv238177; + $x$2179 = 0; + do { + $x$2179 = $conv238180 + (Math_imul($x$2179, $base$addr$1135) | 0) | 0; + $83 = HEAP32[$rpos >> 2] | 0; + if ($83 >>> 0 < (HEAP32[$shend >> 2] | 0) >>> 0) { + HEAP32[$rpos >> 2] = $83 + 1; + $cond262 = HEAPU8[$83 >> 0] | 0; + } else $cond262 = ___shgetc($f) | 0; + $86 = HEAP8[7921 + $cond262 >> 0] | 0; + $conv238180 = $86 & 255; + } while ($x$2179 >>> 0 < 119304647 & $base$addr$1135 >>> 0 > $conv238180 >>> 0); + $153 = $86; + $154 = $x$2179; + $155 = 0; + $c$6$lcssa = $cond262; + $conv267166$pre$phiZ2D = $conv238180; + } else { + $153 = $82; + $154 = 0; + $155 = 0; + $c$6$lcssa = $c$1137; + $conv267166$pre$phiZ2D = $conv238177; + } + if ($base$addr$1135 >>> 0 > $conv267166$pre$phiZ2D >>> 0) { + $88 = ___udivdi3(-1, -1, $base$addr$1135 | 0, 0) | 0; + $89 = getTempRet0() | 0; + $100 = $153; + $90 = $155; + $92 = $154; + $c$7168 = $c$6$lcssa; + while (1) { + if ($90 >>> 0 > $89 >>> 0 | ($90 | 0) == ($89 | 0) & $92 >>> 0 > $88 >>> 0) { + $150 = $92; + $151 = $90; + $base$addr$1136 = $base$addr$1135; + $c$8 = $c$7168; + label = 76; + break L63; + } + $97 = ___muldi3($92 | 0, $90 | 0, $base$addr$1135 | 0, 0) | 0; + $98 = getTempRet0() | 0; + $99 = $100 & 255; + if ($98 >>> 0 > 4294967295 | ($98 | 0) == -1 & $97 >>> 0 > ~$99 >>> 0) { + $150 = $92; + $151 = $90; + $base$addr$1136 = $base$addr$1135; + $c$8 = $c$7168; + label = 76; + break L63; + } + $107 = _i64Add($97 | 0, $98 | 0, $99 | 0, 0) | 0; + $108 = getTempRet0() | 0; + $109 = HEAP32[$rpos >> 2] | 0; + if ($109 >>> 0 < (HEAP32[$shend >> 2] | 0) >>> 0) { + HEAP32[$rpos >> 2] = $109 + 1; + $cond301 = HEAPU8[$109 >> 0] | 0; + } else $cond301 = ___shgetc($f) | 0; + $100 = HEAP8[7921 + $cond301 >> 0] | 0; + if ($base$addr$1135 >>> 0 <= ($100 & 255) >>> 0) { + $150 = $107; + $151 = $108; + $base$addr$1136 = $base$addr$1135; + $c$8 = $cond301; + label = 76; + break; + } else { + $90 = $108; + $92 = $107; + $c$7168 = $cond301; } - $36 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E13parseEncodingEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0) | 0; - HEAP32[$1 >> 2] = $36; - if (!$36) $$4 = 0; else $$4 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_11SpecialNameEJRA27_KcRPNS0_4NodeEEEESC_DpOT0_($0, $1) | 0; - $$14 = $$4; - break L1; - break; } - case 67: - { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 2; - $41 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0; - $42 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseTypeEv($41) | 0; - HEAP32[$1 >> 2] = $42; - do if ($42) { - __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E11parseNumberEb($2, $0, 1); - if (__ZNK12_GLOBAL__N_110StringView5emptyEv($2) | 0) { - $$6 = 0; - break; - } - if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($0, 95) | 0) { - $46 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseTypeEv($41) | 0; - HEAP32[$2 >> 2] = $46; - if (!$46) $$5 = 0; else $$5 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_21CtorVtableSpecialNameEJRPNS0_4NodeESA_EEES9_DpOT0_($0, $2, $1) | 0; - $$6 = $$5; - } else $$6 = 0; - } else $$6 = 0; while (0); - $$14 = $$6; - break L1; + } else { + $150 = $154; + $151 = $155; + $base$addr$1136 = $base$addr$1135; + $c$8 = $c$6$lcssa; + label = 76; + } + } while (0); + if ((label | 0) == 76) if ($base$addr$1136 >>> 0 > (HEAPU8[7921 + $c$8 >> 0] | 0) >>> 0) { + do { + $114 = HEAP32[$rpos >> 2] | 0; + if ($114 >>> 0 < (HEAP32[$shend >> 2] | 0) >>> 0) { + HEAP32[$rpos >> 2] = $114 + 1; + $cond328 = HEAPU8[$114 >> 0] | 0; + } else $cond328 = ___shgetc($f) | 0; + } while ($base$addr$1136 >>> 0 > (HEAPU8[7921 + $cond328 >> 0] | 0) >>> 0); + $call330 = ___errno_location() | 0; + HEAP32[$call330 >> 2] = 68; + $124 = $1; + $126 = $0; + $neg$1 = ($0 & 1 | 0) == 0 & 0 == 0 ? $neg$0 : 0; + } else { + $124 = $151; + $126 = $150; + $neg$1 = $neg$0; + } + if (HEAP32[$shend >> 2] | 0) HEAP32[$rpos >> 2] = (HEAP32[$rpos >> 2] | 0) + -1; + if (!($124 >>> 0 < $1 >>> 0 | ($124 | 0) == ($1 | 0) & $126 >>> 0 < $0 >>> 0)) { + if (!(($0 & 1 | 0) != 0 | 0 != 0 | ($neg$1 | 0) != 0)) { + $call351 = ___errno_location() | 0; + HEAP32[$call351 >> 2] = 68; + $135 = _i64Add($0 | 0, $1 | 0, -1, -1) | 0; + $148 = getTempRet0() | 0; + $149 = $135; + break; + } + if ($124 >>> 0 > $1 >>> 0 | ($124 | 0) == ($1 | 0) & $126 >>> 0 > $0 >>> 0) { + $call357 = ___errno_location() | 0; + HEAP32[$call357 >> 2] = 68; + $148 = $1; + $149 = $0; + break; + } + } + $143 = (($neg$1 | 0) < 0) << 31 >> 31; + $146 = _i64Subtract($126 ^ $neg$1 | 0, $124 ^ $143 | 0, $neg$1 | 0, $143 | 0) | 0; + $148 = getTempRet0() | 0; + $149 = $146; + } while (0); + setTempRet0($148 | 0); + return $149 | 0; +} + +function _get_sof($cinfo, $is_baseline, $is_prog, $is_arith) { + $cinfo = $cinfo | 0; + $is_baseline = $is_baseline | 0; + $is_prog = $is_prog | 0; + $is_arith = $is_arith | 0; + var $0 = 0, $1 = 0, $2 = 0, $23 = 0, $32 = 0, $37 = 0, $45 = 0, $49 = 0, $50 = 0, $52 = 0, $53 = 0, $64 = 0, $66 = 0, $67 = 0, $77 = 0, $add = 0, $bytes_in_buffer$0 = 0, $bytes_in_buffer$1 = 0, $bytes_in_buffer$10 = 0, $bytes_in_buffer$11 = 0, $bytes_in_buffer$2 = 0, $bytes_in_buffer$3 = 0, $bytes_in_buffer$4 = 0, $bytes_in_buffer$5 = 0, $bytes_in_buffer$6 = 0, $bytes_in_buffer$7 = 0, $bytes_in_buffer$8 = 0, $bytes_in_buffer$8$lcssa = 0, $bytes_in_buffer$8183 = 0, $bytes_in_buffer$8190 = 0, $bytes_in_buffer$9 = 0, $bytes_in_buffer2 = 0, $c$0$lcssa = 0, $c$0179 = 0, $c$2 = 0, $call172 = 0, $ci$0186 = 0, $comp_info = 0, $compptr$0175 = 0, $compptr$1$lcssa = 0, $compptr$1176 = 0, $compptr$1180 = 0, $compptr$2 = 0, $conv192 = 0, $conv238 = 0, $dec = 0, $dec100 = 0, $dec19 = 0, $dec190 = 0, $dec236 = 0, $dec34 = 0, $dec51 = 0, $dec66 = 0, $dec85 = 0, $fill_input_buffer182 = 0, $h_samp_factor = 0, $i$0174 = 0, $i$1178 = 0, $image_height = 0, $image_width = 0, $incdec$ptr = 0, $incdec$ptr101 = 0, $incdec$ptr191 = 0, $incdec$ptr20 = 0, $incdec$ptr221 = 0, $incdec$ptr237 = 0, $incdec$ptr35 = 0, $incdec$ptr52 = 0, $incdec$ptr67 = 0, $incdec$ptr86 = 0, $marker = 0, $next_input_byte$0 = 0, $next_input_byte$1 = 0, $next_input_byte$10 = 0, $next_input_byte$11 = 0, $next_input_byte$2 = 0, $next_input_byte$3 = 0, $next_input_byte$4 = 0, $next_input_byte$5 = 0, $next_input_byte$6 = 0, $next_input_byte$7 = 0, $next_input_byte$8 = 0, $next_input_byte$8$lcssa = 0, $next_input_byte$8184 = 0, $next_input_byte$8191 = 0, $next_input_byte$9 = 0, $num_components = 0, $quant_tbl_no = 0, $retval$0 = 0, $shl = 0, $shl54 = 0, $shl88 = 0, $sub = 0, $v_samp_factor = 0, label = 0; + $0 = HEAP32[$cinfo + 24 >> 2] | 0; + $1 = HEAP32[$0 >> 2] | 0; + $bytes_in_buffer2 = $0 + 4 | 0; + $2 = HEAP32[$bytes_in_buffer2 >> 2] | 0; + HEAP32[$cinfo + 220 >> 2] = $is_baseline; + HEAP32[$cinfo + 224 >> 2] = $is_prog; + HEAP32[$cinfo + 228 >> 2] = $is_arith; + do if (!$2) if (!(FUNCTION_TABLE_ii[HEAP32[$0 + 12 >> 2] & 127]($cinfo) | 0)) { + $retval$0 = 0; + return $retval$0 | 0; + } else { + $bytes_in_buffer$0 = HEAP32[$bytes_in_buffer2 >> 2] | 0; + $next_input_byte$0 = HEAP32[$0 >> 2] | 0; + break; + } else { + $bytes_in_buffer$0 = $2; + $next_input_byte$0 = $1; + } while (0); + $dec = $bytes_in_buffer$0 + -1 | 0; + $incdec$ptr = $next_input_byte$0 + 1 | 0; + $shl = (HEAPU8[$next_input_byte$0 >> 0] | 0) << 8; + do if (!$dec) if (!(FUNCTION_TABLE_ii[HEAP32[$0 + 12 >> 2] & 127]($cinfo) | 0)) { + $retval$0 = 0; + return $retval$0 | 0; + } else { + $bytes_in_buffer$1 = HEAP32[$bytes_in_buffer2 >> 2] | 0; + $next_input_byte$1 = HEAP32[$0 >> 2] | 0; + break; + } else { + $bytes_in_buffer$1 = $dec; + $next_input_byte$1 = $incdec$ptr; + } while (0); + $dec19 = $bytes_in_buffer$1 + -1 | 0; + $incdec$ptr20 = $next_input_byte$1 + 1 | 0; + $add = $shl | (HEAPU8[$next_input_byte$1 >> 0] | 0); + do if (!$dec19) if (!(FUNCTION_TABLE_ii[HEAP32[$0 + 12 >> 2] & 127]($cinfo) | 0)) { + $retval$0 = 0; + return $retval$0 | 0; + } else { + $bytes_in_buffer$2 = HEAP32[$bytes_in_buffer2 >> 2] | 0; + $next_input_byte$2 = HEAP32[$0 >> 2] | 0; + break; + } else { + $bytes_in_buffer$2 = $dec19; + $next_input_byte$2 = $incdec$ptr20; + } while (0); + $dec34 = $bytes_in_buffer$2 + -1 | 0; + $incdec$ptr35 = $next_input_byte$2 + 1 | 0; + HEAP32[$cinfo + 212 >> 2] = HEAPU8[$next_input_byte$2 >> 0]; + do if (!$dec34) if (!(FUNCTION_TABLE_ii[HEAP32[$0 + 12 >> 2] & 127]($cinfo) | 0)) { + $retval$0 = 0; + return $retval$0 | 0; + } else { + $bytes_in_buffer$3 = HEAP32[$bytes_in_buffer2 >> 2] | 0; + $next_input_byte$3 = HEAP32[$0 >> 2] | 0; + break; + } else { + $bytes_in_buffer$3 = $dec34; + $next_input_byte$3 = $incdec$ptr35; + } while (0); + $dec51 = $bytes_in_buffer$3 + -1 | 0; + $incdec$ptr52 = $next_input_byte$3 + 1 | 0; + $shl54 = (HEAPU8[$next_input_byte$3 >> 0] | 0) << 8; + $image_height = $cinfo + 32 | 0; + HEAP32[$image_height >> 2] = $shl54; + do if (!$dec51) if (!(FUNCTION_TABLE_ii[HEAP32[$0 + 12 >> 2] & 127]($cinfo) | 0)) { + $retval$0 = 0; + return $retval$0 | 0; + } else { + $23 = HEAP32[$image_height >> 2] | 0; + $bytes_in_buffer$4 = HEAP32[$bytes_in_buffer2 >> 2] | 0; + $next_input_byte$4 = HEAP32[$0 >> 2] | 0; + break; + } else { + $23 = $shl54; + $bytes_in_buffer$4 = $dec51; + $next_input_byte$4 = $incdec$ptr52; + } while (0); + $dec66 = $bytes_in_buffer$4 + -1 | 0; + $incdec$ptr67 = $next_input_byte$4 + 1 | 0; + HEAP32[$image_height >> 2] = $23 + (HEAPU8[$next_input_byte$4 >> 0] | 0); + do if (!$dec66) if (!(FUNCTION_TABLE_ii[HEAP32[$0 + 12 >> 2] & 127]($cinfo) | 0)) { + $retval$0 = 0; + return $retval$0 | 0; + } else { + $bytes_in_buffer$5 = HEAP32[$bytes_in_buffer2 >> 2] | 0; + $next_input_byte$5 = HEAP32[$0 >> 2] | 0; + break; + } else { + $bytes_in_buffer$5 = $dec66; + $next_input_byte$5 = $incdec$ptr67; + } while (0); + $dec85 = $bytes_in_buffer$5 + -1 | 0; + $incdec$ptr86 = $next_input_byte$5 + 1 | 0; + $shl88 = (HEAPU8[$next_input_byte$5 >> 0] | 0) << 8; + $image_width = $cinfo + 28 | 0; + HEAP32[$image_width >> 2] = $shl88; + do if (!$dec85) if (!(FUNCTION_TABLE_ii[HEAP32[$0 + 12 >> 2] & 127]($cinfo) | 0)) { + $retval$0 = 0; + return $retval$0 | 0; + } else { + $32 = HEAP32[$image_width >> 2] | 0; + $bytes_in_buffer$6 = HEAP32[$bytes_in_buffer2 >> 2] | 0; + $next_input_byte$6 = HEAP32[$0 >> 2] | 0; + break; + } else { + $32 = $shl88; + $bytes_in_buffer$6 = $dec85; + $next_input_byte$6 = $incdec$ptr86; + } while (0); + $dec100 = $bytes_in_buffer$6 + -1 | 0; + $incdec$ptr101 = $next_input_byte$6 + 1 | 0; + HEAP32[$image_width >> 2] = $32 + (HEAPU8[$next_input_byte$6 >> 0] | 0); + do if (!$dec100) if (!(FUNCTION_TABLE_ii[HEAP32[$0 + 12 >> 2] & 127]($cinfo) | 0)) { + $retval$0 = 0; + return $retval$0 | 0; + } else { + $bytes_in_buffer$7 = HEAP32[$bytes_in_buffer2 >> 2] | 0; + $next_input_byte$7 = HEAP32[$0 >> 2] | 0; + break; + } else { + $bytes_in_buffer$7 = $dec100; + $next_input_byte$7 = $incdec$ptr101; + } while (0); + $num_components = $cinfo + 36 | 0; + HEAP32[$num_components >> 2] = HEAPU8[$next_input_byte$7 >> 0]; + $sub = $add + -8 | 0; + $37 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$37 + 24 >> 2] = HEAP32[$cinfo + 440 >> 2]; + HEAP32[$37 + 28 >> 2] = HEAP32[$image_width >> 2]; + HEAP32[$37 + 32 >> 2] = HEAP32[$image_height >> 2]; + HEAP32[$37 + 36 >> 2] = HEAP32[$num_components >> 2]; + HEAP32[$37 + 20 >> 2] = 102; + FUNCTION_TABLE_vii[HEAP32[$37 + 4 >> 2] & 255]($cinfo, 1); + $marker = $cinfo + 464 | 0; + if (HEAP32[(HEAP32[$marker >> 2] | 0) + 16 >> 2] | 0) { + $45 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$45 + 20 >> 2] = 61; + FUNCTION_TABLE_vi[HEAP32[$45 >> 2] & 255]($cinfo); + } + if (((HEAP32[$image_height >> 2] | 0) != 0 ? (HEAP32[$image_width >> 2] | 0) != 0 : 0) ? ($49 = HEAP32[$num_components >> 2] | 0, ($49 | 0) >= 1) : 0) $52 = $49; else { + $50 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$50 + 20 >> 2] = 33; + FUNCTION_TABLE_vi[HEAP32[$50 >> 2] & 255]($cinfo); + $52 = HEAP32[$num_components >> 2] | 0; + } + if (($sub | 0) != ($52 * 3 | 0)) { + $53 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$53 + 20 >> 2] = 12; + FUNCTION_TABLE_vi[HEAP32[$53 >> 2] & 255]($cinfo); + } + $comp_info = $cinfo + 216 | 0; + if (!(HEAP32[$comp_info >> 2] | 0)) { + $call172 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[$cinfo + 4 >> 2] >> 2] & 63]($cinfo, 1, (HEAP32[$num_components >> 2] | 0) * 88 | 0) | 0; + HEAP32[$comp_info >> 2] = $call172; + } + $bytes_in_buffer$8183 = $bytes_in_buffer$7 + -1 | 0; + $next_input_byte$8184 = $next_input_byte$7 + 1 | 0; + L64 : do if ((HEAP32[$num_components >> 2] | 0) > 0) { + $fill_input_buffer182 = $0 + 12 | 0; + $bytes_in_buffer$8190 = $bytes_in_buffer$8183; + $ci$0186 = 0; + $next_input_byte$8191 = $next_input_byte$8184; + while (1) { + if (!$bytes_in_buffer$8190) { + if (!(FUNCTION_TABLE_ii[HEAP32[$fill_input_buffer182 >> 2] & 127]($cinfo) | 0)) { + $retval$0 = 0; + label = 57; break; } - case 87: - { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 2; - $52 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseNameEPNS5_9NameStateE(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0, 0) | 0; - HEAP32[$1 >> 2] = $52; - if (!$52) $$7 = 0; else $$7 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_11SpecialNameEJRA34_KcRPNS0_4NodeEEEESC_DpOT0_($0, 56739, $1) | 0; - $$14 = $$7; - break L1; - break; + $bytes_in_buffer$9 = HEAP32[$bytes_in_buffer2 >> 2] | 0; + $next_input_byte$9 = HEAP32[$0 >> 2] | 0; + } else { + $bytes_in_buffer$9 = $bytes_in_buffer$8190; + $next_input_byte$9 = $next_input_byte$8191; + } + $dec190 = $bytes_in_buffer$9 + -1 | 0; + $incdec$ptr191 = $next_input_byte$9 + 1 | 0; + $conv192 = HEAPU8[$next_input_byte$9 >> 0] | 0; + $64 = HEAP32[$comp_info >> 2] | 0; + L72 : do if (!$ci$0186) { + $c$2 = $conv192; + $compptr$2 = $64; + } else { + $compptr$0175 = $64; + $i$0174 = 0; + while (1) { + if ((HEAP32[$compptr$0175 >> 2] | 0) == ($conv192 | 0)) break; + $i$0174 = $i$0174 + 1 | 0; + $incdec$ptr221 = $compptr$0175 + 88 | 0; + if ($i$0174 >>> 0 >= $ci$0186 >>> 0) { + $c$2 = $conv192; + $compptr$2 = $incdec$ptr221; + break L72; + } else $compptr$0175 = $incdec$ptr221; + } + $66 = HEAP32[$64 >> 2] | 0; + $compptr$1176 = $64 + 88 | 0; + if ($ci$0186 >>> 0 > 1) { + $c$0179 = $66; + $compptr$1180 = $compptr$1176; + $i$1178 = 1; + while (1) { + $67 = HEAP32[$compptr$1180 >> 2] | 0; + $c$0179 = ($67 | 0) > ($c$0179 | 0) ? $67 : $c$0179; + $i$1178 = $i$1178 + 1 | 0; + if (($i$1178 | 0) == ($ci$0186 | 0)) break; else $compptr$1180 = $compptr$1180 + 88 | 0; + } + $c$0$lcssa = $c$0179; + $compptr$1$lcssa = $64 + ($ci$0186 * 88 | 0) | 0; + } else { + $c$0$lcssa = $66; + $compptr$1$lcssa = $compptr$1176; } - case 72: - { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 2; - $58 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseNameEPNS5_9NameStateE(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0, 0) | 0; - HEAP32[$1 >> 2] = $58; - if (!$58) $$8 = 0; else $$8 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_11SpecialNameEJRA41_KcRPNS0_4NodeEEEESC_DpOT0_($0, $1) | 0; - $$14 = $$8; - break L1; + $c$2 = $c$0$lcssa + 1 | 0; + $compptr$2 = $compptr$1$lcssa; + } while (0); + HEAP32[$compptr$2 >> 2] = $c$2; + HEAP32[$compptr$2 + 4 >> 2] = $ci$0186; + if (!$dec190) { + if (!(FUNCTION_TABLE_ii[HEAP32[$fill_input_buffer182 >> 2] & 127]($cinfo) | 0)) { + $retval$0 = 0; + label = 57; break; } - default: - { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 1; - $64 = (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($0, 0) | 0) << 24 >> 24 == 118; - if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseCallOffsetEv($0) | 0) { - $$14 = 0; - break L1; - } - $67 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E13parseEncodingEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0) | 0; - HEAP32[$1 >> 2] = $67; - do if ($67) if ($64) { - $$9 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_11SpecialNameEJRA18_KcRPNS0_4NodeEEEESC_DpOT0_($0, $1) | 0; - break; - } else { - $$9 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_11SpecialNameEJRA22_KcRPNS0_4NodeEEEESC_DpOT0_($0, $1) | 0; - break; - } else $$9 = 0; while (0); - $$14 = $$9; - break L1; + $bytes_in_buffer$10 = HEAP32[$bytes_in_buffer2 >> 2] | 0; + $next_input_byte$10 = HEAP32[$0 >> 2] | 0; + } else { + $bytes_in_buffer$10 = $dec190; + $next_input_byte$10 = $incdec$ptr191; + } + $dec236 = $bytes_in_buffer$10 + -1 | 0; + $incdec$ptr237 = $next_input_byte$10 + 1 | 0; + $conv238 = HEAPU8[$next_input_byte$10 >> 0] | 0; + $h_samp_factor = $compptr$2 + 8 | 0; + HEAP32[$h_samp_factor >> 2] = $conv238 >>> 4; + $v_samp_factor = $compptr$2 + 12 | 0; + HEAP32[$v_samp_factor >> 2] = $conv238 & 15; + if (!$dec236) { + if (!(FUNCTION_TABLE_ii[HEAP32[$fill_input_buffer182 >> 2] & 127]($cinfo) | 0)) { + $retval$0 = 0; + label = 57; + break; } + $bytes_in_buffer$11 = HEAP32[$bytes_in_buffer2 >> 2] | 0; + $next_input_byte$11 = HEAP32[$0 >> 2] | 0; + } else { + $bytes_in_buffer$11 = $dec236; + $next_input_byte$11 = $incdec$ptr237; + } + $quant_tbl_no = $compptr$2 + 16 | 0; + HEAP32[$quant_tbl_no >> 2] = HEAPU8[$next_input_byte$11 >> 0]; + $77 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$77 + 24 >> 2] = HEAP32[$compptr$2 >> 2]; + HEAP32[$77 + 28 >> 2] = HEAP32[$h_samp_factor >> 2]; + HEAP32[$77 + 32 >> 2] = HEAP32[$v_samp_factor >> 2]; + HEAP32[$77 + 36 >> 2] = HEAP32[$quant_tbl_no >> 2]; + HEAP32[$77 + 20 >> 2] = 103; + FUNCTION_TABLE_vii[HEAP32[$77 + 4 >> 2] & 255]($cinfo, 1); + $ci$0186 = $ci$0186 + 1 | 0; + $bytes_in_buffer$8 = $bytes_in_buffer$11 + -1 | 0; + $next_input_byte$8 = $next_input_byte$11 + 1 | 0; + if (($ci$0186 | 0) >= (HEAP32[$num_components >> 2] | 0)) { + $bytes_in_buffer$8$lcssa = $bytes_in_buffer$8; + $next_input_byte$8$lcssa = $next_input_byte$8; + break L64; + } else { + $bytes_in_buffer$8190 = $bytes_in_buffer$8; + $next_input_byte$8191 = $next_input_byte$8; } - break; } - case 71: + if ((label | 0) == 57) return $retval$0 | 0; + } else { + $bytes_in_buffer$8$lcssa = $bytes_in_buffer$8183; + $next_input_byte$8$lcssa = $next_input_byte$8184; + } while (0); + HEAP32[(HEAP32[$marker >> 2] | 0) + 16 >> 2] = 1; + HEAP32[$0 >> 2] = $next_input_byte$8$lcssa; + HEAP32[$bytes_in_buffer2 >> 2] = $bytes_in_buffer$8$lcssa; + $retval$0 = 1; + return $retval$0 | 0; +} + +function _ar2GetBestMatchingSubFine($img, $xsize, $pixFormat, $mtemp, $sx, $sy, $val) { + $img = $img | 0; + $xsize = $xsize | 0; + $pixFormat = $pixFormat | 0; + $mtemp = $mtemp | 0; + $sx = $sx | 0; + $sy = $sy | 0; + $val = $val | 0; + var $0 = 0, $10 = 0, $11 = 0, $12 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $29 = 0, $30 = 0, $31 = 0, $32 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $48 = 0, $5 = 0, $9 = 0, $add106 = 0, $add164 = 0, $add219 = 0, $add267 = 0, $add49 = 0, $conv18 = 0, $conv237 = 0, $conv284 = 0, $div = 0, $div131 = 0, $div189 = 0, $i$0 = 0, $i$1 = 0, $i$2 = 0, $i$3 = 0, $i$4 = 0, $i$5 = 0, $j$0 = 0, $j$1 = 0, $j$2 = 0, $j$3 = 0, $j$4 = 0, $j$5 = 0, $mul28 = 0, $mul317 = 0, $p1$0 = 0, $p1$1 = 0, $p1$10 = 0, $p1$11 = 0, $p1$2 = 0, $p1$3 = 0, $p1$4 = 0, $p1$5 = 0, $p1$6 = 0, $p1$7 = 0, $p1$8 = 0, $p1$9 = 0, $p2$0 = 0, $p2$1 = 0, $p2$2 = 0, $p2$3 = 0, $p2$4 = 0, $p2$5 = 0, $p2$6 = 0, $storemerge = 0, $sub = 0, $sub312 = 0, $sub6 = 0, $sum1$0 = 0, $sum1$1 = 0, $sum1$10 = 0, $sum1$11 = 0, $sum1$12 = 0, $sum1$13 = 0, $sum1$14 = 0, $sum1$15 = 0, $sum1$16 = 0, $sum1$17 = 0, $sum1$18 = 0, $sum1$2 = 0, $sum1$3 = 0, $sum1$4 = 0, $sum1$5 = 0, $sum1$6 = 0, $sum1$7 = 0, $sum1$8 = 0, $sum1$9 = 0, $sum2$0 = 0, $sum2$1 = 0, $sum2$10 = 0, $sum2$11 = 0, $sum2$12 = 0, $sum2$13 = 0, $sum2$14 = 0, $sum2$15 = 0, $sum2$16 = 0, $sum2$17 = 0, $sum2$18 = 0, $sum2$2 = 0, $sum2$3 = 0, $sum2$4 = 0, $sum2$5 = 0, $sum2$6 = 0, $sum2$7 = 0, $sum2$8 = 0, $sum2$9 = 0, $sum3$0 = 0, $sum3$1 = 0, $sum3$10 = 0, $sum3$11 = 0, $sum3$12 = 0, $sum3$13 = 0, $sum3$14 = 0, $sum3$15 = 0, $sum3$16 = 0, $sum3$17 = 0, $sum3$18 = 0, $sum3$2 = 0, $sum3$3 = 0, $sum3$4 = 0, $sum3$5 = 0, $sum3$6 = 0, $sum3$7 = 0, $sum3$8 = 0, $sum3$9 = 0, $xts1107 = 0, $xts1165 = 0, $xts1220 = 0, $xts1268 = 0, $xts150 = 0, $xts2115 = 0, $xts2173 = 0, $xts2228 = 0, $xts2276 = 0, $xts258 = 0; + $0 = HEAP32[$mtemp + 24 >> 2] | 0; + L1 : do switch ($pixFormat | 0) { + case 5: + case 12: + case 13: + case 14: { - switch ((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($0, 1) | 0) << 24 >> 24 | 0) { - case 86: - { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 2; - $76 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseNameEPNS5_9NameStateE(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0, 0) | 0; - HEAP32[$1 >> 2] = $76; - if (!$76) $$11 = 0; else $$11 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_11SpecialNameEJRA20_KcRPNS0_4NodeEEEESC_DpOT0_($0, $1) | 0; - $$14 = $$11; + $sub = 0 - (HEAP32[$mtemp + 8 >> 2] | 0) | 0; + $2 = HEAP32[$mtemp + 12 >> 2] | 0; + $sub6 = 0 - (HEAP32[$mtemp + 16 >> 2] | 0) | 0; + $4 = HEAP32[$mtemp + 20 >> 2] | 0; + $mul28 = $xsize << 1; + $j$0 = $sub6; + $p1$0 = $0; + $p2$0 = $img + (($sub << 1) + $sx + (Math_imul(($sub6 << 1) + $sy | 0, $xsize) | 0)) | 0; + $sum1$0 = 0; + $sum2$0 = 0; + $sum3$0 = 0; + while (1) { + if (($j$0 | 0) > ($4 | 0)) { + $sum1$18 = $sum1$0; + $sum2$18 = $sum2$0; + $sum3$18 = $sum3$0; break L1; - break; } - case 82: - break; - default: - { - $$14 = 0; - break L1; + $i$0 = $sub; + $p1$1 = $p1$0; + $p2$1 = $p2$0; + $sum1$1 = $sum1$0; + $sum2$1 = $sum2$0; + $sum3$1 = $sum3$0; + while (1) { + if (($i$0 | 0) > ($2 | 0)) break; + $5 = HEAP16[$p1$1 >> 1] | 0; + if ($5 << 16 >> 16 == 4096) { + $sum1$2 = $sum1$1; + $sum2$2 = $sum2$1; + $sum3$2 = $sum3$1; + } else { + $conv18 = HEAPU8[$p2$1 >> 0] | 0; + $sum1$2 = $sum1$1 + $conv18 | 0; + $sum2$2 = (Math_imul($conv18, $conv18) | 0) + $sum2$1 | 0; + $sum3$2 = (Math_imul($conv18, $5 & 65535) | 0) + $sum3$1 | 0; + } + $i$0 = $i$0 + 1 | 0; + $p1$1 = $p1$1 + 2 | 0; + $p2$1 = $p2$1 + 2 | 0; + $sum1$1 = $sum1$2; + $sum2$1 = $sum2$2; + $sum3$1 = $sum3$2; } + $j$0 = $j$0 + 1 | 0; + $p1$0 = $p1$1; + $p2$0 = $p2$0 + $mul28 | 0; + $sum1$0 = $sum1$1; + $sum2$0 = $sum2$1; + $sum3$0 = $sum3$1; } - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 2; - $82 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseNameEPNS5_9NameStateE(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0, 0) | 0; - HEAP32[$1 >> 2] = $82; - if (!$82) $$13 = 0; else { - $84 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10parseSeqIdEPm($0, $2) | 0; - if ($84 | (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($0, 95) | 0)) $$12 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_11SpecialNameEJRA25_KcRPNS0_4NodeEEEESC_DpOT0_($0, $1) | 0; else $$12 = 0; - $$13 = $$12; - } - $$14 = $$13; break; } default: - $$14 = 0; - } while (0); - STACKTOP = sp; - return $$14 | 0; -} - -function _ar2SelectTemplate($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$0248 = 0, $$0250 = 0, $$0253 = 0, $$0255 = 0, $$0256 = 0, $$0257 = 0, $$0258 = 0, $$0259 = 0.0, $$0261 = 0.0, $$0263 = 0, $$0265 = 0, $$0266 = 0.0, $$0268 = 0, $$0270 = 0, $$0271 = 0.0, $$0273 = 0, $$0274 = 0, $$1 = 0, $$1249 = 0, $$1251 = 0, $$1254 = 0, $$1260 = 0.0, $$1262 = 0.0, $$1264 = 0, $$1267 = 0.0, $$1269 = 0, $$1272 = 0.0, $$1275 = 0, $$2 = 0, $$2252 = 0, $$279 = 0, $$280 = 0, $$3 = 0, $$4 = 0, $$pre = 0.0, $10 = 0, $101 = 0.0, $104 = 0.0, $11 = 0, $111 = 0.0, $112 = 0.0, $120 = 0.0, $123 = 0.0, $125 = 0.0, $128 = 0.0, $129 = 0, $130 = 0, $131 = 0.0, $132 = 0.0, $133 = 0.0, $134 = 0.0, $135 = 0.0, $136 = 0.0, $138 = 0, $14 = 0.0, $140 = 0, $144 = 0.0, $147 = 0, $148 = 0.0, $153 = 0.0, $160 = 0, $161 = 0.0, $162 = 0.0, $163 = 0.0, $169 = 0, $17 = 0.0, $176 = 0.0, $181 = 0, $183 = 0, $184 = 0, $185 = 0, $186 = 0, $19 = 0.0, $203 = 0, $206 = 0, $207 = 0, $219 = 0, $22 = 0.0, $220 = 0, $221 = 0, $24 = 0.0, $26 = 0.0, $30 = 0.0, $34 = 0.0, $37 = 0.0, $39 = 0.0, $41 = 0.0, $47 = 0.0, $50 = 0.0, $52 = 0.0, $55 = 0.0, $56 = 0, $6 = 0, $60 = 0.0, $64 = 0.0, $68 = 0.0, $7 = 0, $71 = 0.0, $73 = 0.0, $79 = 0.0, $8 = 0, $82 = 0.0, $84 = 0.0, $87 = 0.0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $94 = 0.0, $98 = 0.0, label = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $6 = sp + 20 | 0; - $7 = sp + 16 | 0; - $8 = sp + 12 | 0; - $9 = sp + 8 | 0; - $10 = sp + 4 | 0; - $11 = sp; - L1 : do if (($2 | 0) < 0) $$1 = -1; else switch ($2 | 0) { - case 0: { - $14 = +(($4 | 0) / 8 | 0 | 0); - $17 = +(($4 * 7 | 0) / 8 | 0 | 0); - $19 = +(($5 | 0) / 8 | 0 | 0); - $22 = +(($5 * 7 | 0) / 8 | 0 | 0); - $24 = +(($4 | 0) / 2 | 0 | 0); - $26 = +(($5 | 0) / 2 | 0 | 0); - $$0259 = 0.0; - $$0273 = 0; - $$0274 = -1; - L38 : while (1) { - switch (HEAP32[$0 + ($$0273 * 24 | 0) + 12 >> 2] | 0) { - case -1: - { - break L38; - break; + if ($pixFormat >>> 0 < 2) { + $9 = HEAP32[$mtemp + 20 >> 2] | 0; + $xts150 = $mtemp + 8 | 0; + $xts258 = $mtemp + 12 | 0; + $j$1 = 0 - (HEAP32[$mtemp + 16 >> 2] | 0) | 0; + $p1$2 = $0; + $sum1$3 = 0; + $sum2$3 = 0; + $sum3$3 = 0; + while (1) { + if (($j$1 | 0) > ($9 | 0)) { + $sum1$18 = $sum1$3; + $sum2$18 = $sum2$3; + $sum3$18 = $sum3$3; + break L1; } - case 0: - { - $30 = +HEAPF32[$0 + ($$0273 * 24 | 0) + 16 >> 2]; - if ((!($30 < $14 | $30 > $17) ? ($34 = +HEAPF32[$0 + ($$0273 * 24 | 0) + 20 >> 2], !($34 < $19 | $34 > $22)) : 0) ? ($37 = $30 - $24, $39 = $34 - $26, $41 = $37 * $37 + $39 * $39, $41 > $$0259) : 0) { - $$1260 = $41; - $$1275 = $$0273; + $add49 = (Math_imul(($j$1 << 1) + $sy | 0, $xsize) | 0) + $sx | 0; + $10 = HEAP32[$xts150 >> 2] | 0; + $11 = HEAP32[$xts258 >> 2] | 0; + $i$1 = 0 - $10 | 0; + $p1$3 = $p1$2; + $p2$2 = $img + (($add49 - ($10 << 1) | 0) * 3 | 0) | 0; + $sum1$4 = $sum1$3; + $sum2$4 = $sum2$3; + $sum3$4 = $sum3$3; + while (1) { + if (($i$1 | 0) > ($11 | 0)) break; + $12 = HEAP16[$p1$3 >> 1] | 0; + if ($12 << 16 >> 16 == 4096) { + $sum1$5 = $sum1$4; + $sum2$5 = $sum2$4; + $sum3$5 = $sum3$4; } else { - $$1260 = $$0259; - $$1275 = $$0274; - } - break; - } - default: - { - $$1260 = $$0259; - $$1275 = $$0274; + $div = (((HEAPU8[$p2$2 + 1 >> 0] | 0) + (HEAPU8[$p2$2 >> 0] | 0) + (HEAPU8[$p2$2 + 2 >> 0] | 0) | 0) >>> 0) / 3 | 0; + $sum1$5 = $div + $sum1$4 | 0; + $sum2$5 = (Math_imul($div, $div) | 0) + $sum2$4 | 0; + $sum3$5 = (Math_imul($div, $12 & 65535) | 0) + $sum3$4 | 0; + } + $i$1 = $i$1 + 1 | 0; + $p1$3 = $p1$3 + 2 | 0; + $p2$2 = $p2$2 + 6 | 0; + $sum1$4 = $sum1$5; + $sum2$4 = $sum2$5; + $sum3$4 = $sum3$5; } + $j$1 = $j$1 + 1 | 0; + $p1$2 = $p1$3; + $sum1$3 = $sum1$4; + $sum2$3 = $sum2$4; + $sum3$3 = $sum3$4; + } + } + if (($pixFormat | 1 | 0) == 3) { + $19 = HEAP32[$mtemp + 20 >> 2] | 0; + $xts1107 = $mtemp + 8 | 0; + $xts2115 = $mtemp + 12 | 0; + $j$2 = 0 - (HEAP32[$mtemp + 16 >> 2] | 0) | 0; + $p1$4 = $0; + $sum1$6 = 0; + $sum2$6 = 0; + $sum3$6 = 0; + while (1) { + if (($j$2 | 0) > ($19 | 0)) { + $sum1$18 = $sum1$6; + $sum2$18 = $sum2$6; + $sum3$18 = $sum3$6; + break L1; + } + $add106 = (Math_imul(($j$2 << 1) + $sy | 0, $xsize) | 0) + $sx | 0; + $20 = HEAP32[$xts1107 >> 2] | 0; + $21 = HEAP32[$xts2115 >> 2] | 0; + $i$2 = 0 - $20 | 0; + $p1$5 = $p1$4; + $p2$3 = $img + ($add106 - ($20 << 1) << 2) | 0; + $sum1$7 = $sum1$6; + $sum2$7 = $sum2$6; + $sum3$7 = $sum3$6; + while (1) { + if (($i$2 | 0) > ($21 | 0)) break; + $22 = HEAP16[$p1$5 >> 1] | 0; + if ($22 << 16 >> 16 == 4096) { + $sum1$8 = $sum1$7; + $sum2$8 = $sum2$7; + $sum3$8 = $sum3$7; + } else { + $div131 = (((HEAPU8[$p2$3 + 1 >> 0] | 0) + (HEAPU8[$p2$3 >> 0] | 0) + (HEAPU8[$p2$3 + 2 >> 0] | 0) | 0) >>> 0) / 3 | 0; + $sum1$8 = $div131 + $sum1$7 | 0; + $sum2$8 = (Math_imul($div131, $div131) | 0) + $sum2$7 | 0; + $sum3$8 = (Math_imul($div131, $22 & 65535) | 0) + $sum3$7 | 0; + } + $i$2 = $i$2 + 1 | 0; + $p1$5 = $p1$5 + 2 | 0; + $p2$3 = $p2$3 + 8 | 0; + $sum1$7 = $sum1$8; + $sum2$7 = $sum2$8; + $sum3$7 = $sum3$8; + } + $j$2 = $j$2 + 1 | 0; + $p1$4 = $p1$5; + $sum1$6 = $sum1$7; + $sum2$6 = $sum2$7; + $sum3$6 = $sum3$7; + } + } + if (($pixFormat | 2 | 0) == 6) { + $29 = HEAP32[$mtemp + 20 >> 2] | 0; + $xts1165 = $mtemp + 8 | 0; + $xts2173 = $mtemp + 12 | 0; + $j$3 = 0 - (HEAP32[$mtemp + 16 >> 2] | 0) | 0; + $p1$6 = $0; + $sum1$9 = 0; + $sum2$9 = 0; + $sum3$9 = 0; + while (1) { + if (($j$3 | 0) > ($29 | 0)) { + $sum1$18 = $sum1$9; + $sum2$18 = $sum2$9; + $sum3$18 = $sum3$9; + break L1; + } + $add164 = (Math_imul(($j$3 << 1) + $sy | 0, $xsize) | 0) + $sx | 0; + $30 = HEAP32[$xts1165 >> 2] | 0; + $31 = HEAP32[$xts2173 >> 2] | 0; + $i$3 = 0 - $30 | 0; + $p1$7 = $p1$6; + $p2$4 = $img + ($add164 - ($30 << 1) << 2) | 0; + $sum1$10 = $sum1$9; + $sum2$10 = $sum2$9; + $sum3$10 = $sum3$9; + while (1) { + if (($i$3 | 0) > ($31 | 0)) break; + $32 = HEAP16[$p1$7 >> 1] | 0; + if ($32 << 16 >> 16 == 4096) { + $sum1$11 = $sum1$10; + $sum2$11 = $sum2$10; + $sum3$11 = $sum3$10; + } else { + $div189 = (((HEAPU8[$p2$4 + 2 >> 0] | 0) + (HEAPU8[$p2$4 + 1 >> 0] | 0) + (HEAPU8[$p2$4 + 3 >> 0] | 0) | 0) >>> 0) / 3 | 0; + $sum1$11 = $div189 + $sum1$10 | 0; + $sum2$11 = (Math_imul($div189, $div189) | 0) + $sum2$10 | 0; + $sum3$11 = (Math_imul($div189, $32 & 65535) | 0) + $sum3$10 | 0; + } + $i$3 = $i$3 + 1 | 0; + $p1$7 = $p1$7 + 2 | 0; + $p2$4 = $p2$4 + 8 | 0; + $sum1$10 = $sum1$11; + $sum2$10 = $sum2$11; + $sum3$10 = $sum3$11; + } + $j$3 = $j$3 + 1 | 0; + $p1$6 = $p1$7; + $sum1$9 = $sum1$10; + $sum2$9 = $sum2$10; + $sum3$9 = $sum3$10; + } + } + switch ($pixFormat | 0) { + case 7: + { + $37 = HEAP32[$mtemp + 20 >> 2] | 0; + $xts1220 = $mtemp + 8 | 0; + $xts2228 = $mtemp + 12 | 0; + $j$4 = 0 - (HEAP32[$mtemp + 16 >> 2] | 0) | 0; + $p1$8 = $0; + $sum1$12 = 0; + $sum2$12 = 0; + $sum3$12 = 0; + while (1) { + if (($j$4 | 0) > ($37 | 0)) { + $sum1$18 = $sum1$12; + $sum2$18 = $sum2$12; + $sum3$18 = $sum3$12; + break L1; + } + $add219 = (Math_imul(($j$4 << 1) + $sy | 0, $xsize) | 0) + $sx | 0; + $38 = HEAP32[$xts1220 >> 2] | 0; + $39 = HEAP32[$xts2228 >> 2] | 0; + $i$4 = 0 - $38 | 0; + $p1$9 = $p1$8; + $p2$5 = $img + ($add219 - ($38 << 1) << 1) | 0; + $sum1$13 = $sum1$12; + $sum2$13 = $sum2$12; + $sum3$13 = $sum3$12; + while (1) { + if (($i$4 | 0) > ($39 | 0)) break; + $40 = HEAP16[$p1$9 >> 1] | 0; + if ($40 << 16 >> 16 == 4096) { + $sum1$14 = $sum1$13; + $sum2$14 = $sum2$13; + $sum3$14 = $sum3$13; + } else { + $conv237 = HEAPU8[$p2$5 + 1 >> 0] | 0; + $sum1$14 = $sum1$13 + $conv237 | 0; + $sum2$14 = (Math_imul($conv237, $conv237) | 0) + $sum2$13 | 0; + $sum3$14 = (Math_imul($conv237, $40 & 65535) | 0) + $sum3$13 | 0; + } + $i$4 = $i$4 + 1 | 0; + $p1$9 = $p1$9 + 2 | 0; + $p2$5 = $p2$5 + 4 | 0; + $sum1$13 = $sum1$14; + $sum2$13 = $sum2$14; + $sum3$13 = $sum3$14; + } + $j$4 = $j$4 + 1 | 0; + $p1$8 = $p1$9; + $sum1$12 = $sum1$13; + $sum2$12 = $sum2$13; + $sum3$12 = $sum3$13; + } + break; + } + case 8: + { + $43 = HEAP32[$mtemp + 20 >> 2] | 0; + $xts1268 = $mtemp + 8 | 0; + $xts2276 = $mtemp + 12 | 0; + $j$5 = 0 - (HEAP32[$mtemp + 16 >> 2] | 0) | 0; + $p1$10 = $0; + $sum1$15 = 0; + $sum2$15 = 0; + $sum3$15 = 0; + while (1) { + if (($j$5 | 0) > ($43 | 0)) { + $sum1$18 = $sum1$15; + $sum2$18 = $sum2$15; + $sum3$18 = $sum3$15; + break L1; + } + $add267 = (Math_imul(($j$5 << 1) + $sy | 0, $xsize) | 0) + $sx | 0; + $44 = HEAP32[$xts1268 >> 2] | 0; + $45 = HEAP32[$xts2276 >> 2] | 0; + $i$5 = 0 - $44 | 0; + $p1$11 = $p1$10; + $p2$6 = $img + ($add267 - ($44 << 1) << 1) | 0; + $sum1$16 = $sum1$15; + $sum2$16 = $sum2$15; + $sum3$16 = $sum3$15; + while (1) { + if (($i$5 | 0) > ($45 | 0)) break; + $46 = HEAP16[$p1$11 >> 1] | 0; + if ($46 << 16 >> 16 == 4096) { + $sum1$17 = $sum1$16; + $sum2$17 = $sum2$16; + $sum3$17 = $sum3$16; + } else { + $conv284 = HEAPU8[$p2$6 >> 0] | 0; + $sum1$17 = $sum1$16 + $conv284 | 0; + $sum2$17 = (Math_imul($conv284, $conv284) | 0) + $sum2$16 | 0; + $sum3$17 = (Math_imul($conv284, $46 & 65535) | 0) + $sum3$16 | 0; + } + $i$5 = $i$5 + 1 | 0; + $p1$11 = $p1$11 + 2 | 0; + $p2$6 = $p2$6 + 4 | 0; + $sum1$16 = $sum1$17; + $sum2$16 = $sum2$17; + $sum3$16 = $sum3$17; + } + $j$5 = $j$5 + 1 | 0; + $p1$10 = $p1$11; + $sum1$15 = $sum1$16; + $sum2$15 = $sum2$16; + $sum3$15 = $sum3$16; + } + break; + } + default: + { + $sum1$18 = 0; + $sum2$18 = 0; + $sum3$18 = 0; + break L1; + } + } + } + } while (0); + $48 = HEAP32[$mtemp + 36 >> 2] | 0; + $sub312 = $sum2$18 - ((Math_imul($sum1$18, $sum1$18) | 0) / ($48 | 0) | 0) | 0; + if (!$sub312) $storemerge = 0; else { + $mul317 = ($sum3$18 - ((Math_imul(HEAP32[$mtemp + 32 >> 2] | 0, $sum1$18) | 0) / ($48 | 0) | 0) | 0) * 100 | 0; + $storemerge = ((($mul317 | 0) / (HEAP32[$mtemp + 28 >> 2] | 0) | 0) * 100 | 0) / (~~+Math_sqrt(+(+($sub312 | 0))) | 0) | 0; + } + HEAP32[$val >> 2] = $storemerge; + return; +} + +function _ar2GetBestMatching($img, $mfImage, $xsize, $ysize, $pixFormat, $mtemp, $rx, $ry, $search, $bx, $by, $val) { + $img = $img | 0; + $mfImage = $mfImage | 0; + $xsize = $xsize | 0; + $ysize = $ysize | 0; + $pixFormat = $pixFormat | 0; + $mtemp = $mtemp | 0; + $rx = $rx | 0; + $ry = $ry | 0; + $search = $search | 0; + $bx = $bx | 0; + $by = $by | 0; + $val = $val | 0; + var $0 = 0, $1 = 0, $16 = 0, $17 = 0, $18 = 0, $2 = 0, $21 = 0, $24 = 0, $27 = 0, $30 = 0, $37 = 0, $6 = 0, $add = 0, $add15 = 0, $add19 = 0, $add198 = 0, $add217 = 0, $add253 = 0, $add28 = 0, $add300 = 0, $add306 = 0, $add330 = 0, $add332 = 0, $add65 = 0, $add70 = 0, $add73 = 0, $add88 = 0, $arrayidx103 = 0, $arrayidx166 = 0, $arrayidx180 = 0, $arrayidx213 = 0, $arrayidx299 = 0, $arrayidx305 = 0, $call134 = 0, $call148 = 0, $conv301 = 0, $cval = 0, $cx = 0, $cy = 0, $ey$0 = 0, $i$0 = 0, $i$1 = 0, $i$2 = 0, $i$3 = 0, $i$4 = 0, $i$5 = 0, $ii$0 = 0, $ii$1 = 0, $j$0 = 0, $j$1 = 0, $j$2 = 0, $j$3 = 0, $j$4 = 0, $j$5 = 0, $keep_num = 0, $l$0 = 0, $mul101 = 0, $mul133 = 0, $mul266 = 0, $mul303 = 0, $mul76 = 0, $mul81 = 0, $p11$0 = 0, $p11$1 = 0, $p11$2 = 0, $p11$3 = 0, $p12$0 = 0, $p12$1 = 0, $p21$0 = 0, $p21$1 = 0, $p21$2 = 0, $p21$3 = 0, $p22$0 = 0, $p22$1 = 0, $p3$0 = 0, $p3$1 = 0, $pmf$0 = 0, $rem = 0, $ret$0 = 0, $ret$1 = 0, $ret$10 = 0, $ret$11 = 0, $ret$12 = 0, $ret$13 = 0, $ret$14 = 0, $ret$2 = 0, $ret$3 = 0, $ret$4 = 0, $ret$6 = 0, $ret$7 = 0, $ret$8 = 0, $ret$9 = 0, $retval$0 = 0, $scevgep = 0, $spec$select = 0, $spec$store$select = 0, $sub = 0, $sub170 = 0, $sub184 = 0, $sub22 = 0, $sub24 = 0, $sub264 = 0, $sub31 = 0, $sub345 = 0, $sub86 = 0, $subImage11 = 0, $subImage21 = 0, $validNum = 0, $vararg_buffer = 0, $vararg_buffer1 = 0, $wval = 0, $wval2$0 = 0, $wval2$1 = 0, $wval2$2 = 0, $wval2$3 = 0, $wval2$4 = 0, $wval2$5 = 0, $wval2$6 = 0, $wval2$7 = 0, $wval2$8 = 0, $xts1 = 0, $xts2 = 0, $ysize128 = 0, $yts11 = 0, $yts22 = 0, label = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 80 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(80); + $vararg_buffer1 = sp + 8 | 0; + $vararg_buffer = sp; + $keep_num = sp + 72 | 0; + $cx = sp + 60 | 0; + $cy = sp + 48 | 0; + $cval = sp + 36 | 0; + $wval = sp + 32 | 0; + $subImage11 = sp + 24 | 0; + $subImage21 = sp + 16 | 0; + $yts11 = $mtemp + 16 | 0; + $0 = HEAP32[$yts11 >> 2] | 0; + $yts22 = $mtemp + 20 | 0; + $1 = HEAP32[$yts22 >> 2] | 0; + $sub22 = $xsize + -1 | 0; + $sub31 = $ysize + -1 | 0; + $ii$0 = 0; + while (1) { + if ($ii$0 >>> 0 >= 3) break; + $2 = HEAP32[$search + ($ii$0 << 3) >> 2] | 0; + if (($2 | 0) < 0) break; + $add = $2 & -4 | 2; + $add15 = ((HEAP32[$search + ($ii$0 << 3) + 4 >> 2] | 0) / 4 | 0) << 2 | 2; + $sub = $add - $rx | 0; + $spec$store$select = ($sub | 0) > 0 ? $sub : 0; + $add19 = $add + $rx | 0; + $spec$select = ($add19 | 0) < ($xsize | 0) ? $add19 : $sub22; + $sub24 = $add15 - $ry | 0; + $add28 = $add15 + $ry | 0; + $ey$0 = ($add28 | 0) < ($ysize | 0) ? $add28 : $sub31; + $j$0 = ($sub24 | 0) > 0 ? $sub24 : 0; + while (1) { + if (($j$0 | 0) > ($ey$0 | 0)) break; + $i$0 = $spec$store$select; + $pmf$0 = $mfImage + ((Math_imul($j$0, $xsize) | 0) + $spec$store$select) | 0; + while (1) { + if (($i$0 | 0) > ($spec$select | 0)) break; + HEAP8[$pmf$0 >> 0] = 0; + $i$0 = $i$0 + 1 | 0; + $pmf$0 = $pmf$0 + 1 | 0; + } + $j$0 = $j$0 + 1 | 0; + } + $ii$0 = $ii$0 + 1 | 0; + } + HEAP32[$keep_num >> 2] = 0; + $mul81 = $1 << 1; + $mul76 = $0 << 1; + $xts2 = $mtemp + 12 | 0; + $xts1 = $mtemp + 8 | 0; + $ii$1 = 0; + $ret$0 = 1; + while (1) { + if ($ii$1 >>> 0 >= 3) { + label = 28; + break; + } + $6 = HEAP32[$search + ($ii$1 << 3) >> 2] | 0; + if (($6 | 0) < 0) { + label = 14; + break; + } + $add65 = $6 & -4 | 2; + $add70 = ((HEAP32[$search + ($ii$1 << 3) + 4 >> 2] | 0) / 4 | 0) << 2 | 2; + $add73 = $add70 + $ry | 0; + $sub86 = $add65 - $rx | 0; + $add88 = $add65 + $rx | 0; + $j$1 = $add70 - $ry | 0; + $ret$1 = $ret$0; + L18 : while (1) { + if (($j$1 | 0) > ($add73 | 0)) break; + L21 : do if (($j$1 | 0) < ($mul76 | 0)) $ret$4 = $ret$1; else { + if (($j$1 + $mul81 | 0) >= ($ysize | 0)) break L18; + $mul101 = Math_imul($j$1, $xsize) | 0; + $i$1 = $sub86; + $ret$2 = $ret$1; + while (1) { + if (($i$1 | 0) > ($add88 | 0)) { + $ret$4 = $ret$2; + break L21; + } + if (($i$1 | 0) >= (HEAP32[$xts1 >> 2] << 1 | 0)) { + if (((HEAP32[$xts2 >> 2] << 1) + $i$1 | 0) >= ($xsize | 0)) { + $ret$4 = $ret$2; + break L21; + } + $arrayidx103 = $mfImage + ($i$1 + $mul101) | 0; + if (!(HEAP8[$arrayidx103 >> 0] | 0)) { + HEAP8[$arrayidx103 >> 0] = 1; + _ar2GetBestMatchingSubFine($img, $xsize, $pixFormat, $mtemp, $i$1, $j$1, $wval); + _updateCandidate($i$1, $j$1, HEAP32[$wval >> 2] | 0, $keep_num, $cx, $cy, $cval); + $ret$3 = 0; + } else $ret$3 = $ret$2; + } else $ret$3 = $ret$2; + $i$1 = $i$1 + 4 | 0; + $ret$2 = $ret$3; + } + } while (0); + $j$1 = $j$1 + 4 | 0; + $ret$1 = $ret$4; + } + $ii$1 = $ii$1 + 1 | 0; + $ret$0 = $ret$1; + } + if ((label | 0) == 14) if (!$ret$0) label = 28; else $retval$0 = -1; + if ((label | 0) == 28) { + $ysize128 = $mtemp + 4 | 0; + $mul133 = Math_imul((HEAP32[$mtemp >> 2] << 3) + 32 | 0, (HEAP32[$ysize128 >> 2] << 1) + 8 | 0) | 0; + $call134 = _malloc($mul133) | 0; + if (!$call134) { + _arLog(0, 3, 46772, $vararg_buffer); + _exit(1); + } + $call148 = _malloc($mul133) | 0; + if (!$call148) { + _arLog(0, 3, 46772, $vararg_buffer1); + _exit(1); + } + $validNum = $mtemp + 36 | 0; + $l$0 = 0; + $ret$6 = -1; + $wval2$0 = 0; + while (1) { + if (($l$0 | 0) >= (HEAP32[$keep_num >> 2] | 0)) break; + $16 = HEAP32[$mtemp >> 2] | 0; + $17 = HEAP32[$ysize128 >> 2] | 0; + L47 : do if ((HEAP32[$validNum >> 2] | 0) == (Math_imul($17, $16) | 0)) { + switch ($pixFormat | 0) { + case 5: + case 12: + case 13: + case 14: + break; + default: + { + label = 40; + break L47; + } + } + $arrayidx166 = $cy + ($l$0 << 2) | 0; + $18 = HEAP32[$arrayidx166 >> 2] | 0; + $sub170 = $18 + -3 - (HEAP32[$yts11 >> 2] << 1) | 0; + if (((($sub170 | 0) >= 0 ? ($18 + 3 + (HEAP32[$yts22 >> 2] << 1) | 0) < ($ysize | 0) : 0) ? ($arrayidx180 = $cx + ($l$0 << 2) | 0, $21 = HEAP32[$arrayidx180 >> 2] | 0, $sub184 = $21 + -3 - (HEAP32[$xts1 >> 2] << 1) | 0, ($sub184 | 0) >= 0) : 0) ? ($21 + 3 + (HEAP32[$xts2 >> 2] << 1) | 0) < ($xsize | 0) : 0) { + $add253 = ($17 << 1) + 6 | 0; + $mul266 = ($16 << 2) + 16 | 0; + $j$3 = 0; + $p11$0 = $call134; + $p21$0 = $call148; + while (1) { + if (($j$3 | 0) >= ($mul266 | 0)) break; + HEAP32[$p11$0 >> 2] = 0; + HEAP32[$p21$0 >> 2] = 0; + $j$3 = $j$3 + 1 | 0; + $p11$0 = $p11$0 + 4 | 0; + $p21$0 = $p21$0 + 4 | 0; + } + $sub264 = ($16 << 1) + 6 | 0; + $j$4 = 0; + $p11$1 = $p11$0; + $p12$0 = $call134; + $p21$1 = $p21$0; + $p22$0 = $call148; + $p3$0 = $img + ($sub184 + (Math_imul($sub170, $xsize) | 0)) | 0; + while (1) { + if (($j$4 | 0) >= ($add253 | 0)) break; + $scevgep = $p11$1 + 8 | 0; + $i$3 = 0; + $p11$2 = $p11$1; + $p21$2 = $p21$1; + while (1) { + if (($i$3 | 0) == 2) break; + HEAP32[$p11$2 >> 2] = 0; + HEAP32[$p21$2 >> 2] = 0; + HEAP32[$subImage11 + ($i$3 << 2) >> 2] = 0; + HEAP32[$subImage21 + ($i$3 << 2) >> 2] = 0; + $i$3 = $i$3 + 1 | 0; + $p11$2 = $p11$2 + 4 | 0; + $p21$2 = $p21$2 + 4 | 0; + } + $i$4 = 0; + $p11$3 = $scevgep; + $p12$1 = $p12$0 + 8 | 0; + $p21$3 = $p21$1 + 8 | 0; + $p22$1 = $p22$0 + 8 | 0; + $p3$1 = $p3$0; + while (1) { + if (($i$4 | 0) >= ($sub264 | 0)) break; + $rem = $i$4 & 1; + $arrayidx299 = $subImage11 + ($rem << 2) | 0; + $add300 = (HEAP32[$arrayidx299 >> 2] | 0) + (HEAPU8[$p3$1 >> 0] | 0) | 0; + HEAP32[$arrayidx299 >> 2] = $add300; + $conv301 = HEAPU8[$p3$1 >> 0] | 0; + $mul303 = Math_imul($conv301, $conv301) | 0; + $arrayidx305 = $subImage21 + ($rem << 2) | 0; + $add306 = $mul303 + (HEAP32[$arrayidx305 >> 2] | 0) | 0; + HEAP32[$arrayidx305 >> 2] = $add306; + HEAP32[$p11$3 >> 2] = (HEAP32[$p12$1 >> 2] | 0) + $add300; + HEAP32[$p21$3 >> 2] = (HEAP32[$p22$1 >> 2] | 0) + $add306; + $i$4 = $i$4 + 1 | 0; + $p11$3 = $p11$3 + 4 | 0; + $p12$1 = $p12$1 + 4 | 0; + $p21$3 = $p21$3 + 4 | 0; + $p22$1 = $p22$1 + 4 | 0; + $p3$1 = $p3$1 + 1 | 0; + } + $j$4 = $j$4 + 1 | 0; + $p11$1 = $p11$3; + $p12$0 = $p12$1; + $p21$1 = $p21$3; + $p22$0 = $p22$1; + $p3$0 = $p3$0 + $xsize | 0; + } + $j$5 = 0; + $ret$11 = $ret$6; + $wval2$5 = $wval2$0; + while (1) { + if (($j$5 | 0) == 7) { + $ret$14 = $ret$11; + $wval2$8 = $wval2$5; + break L47; + } + $add330 = $j$5 + $sub170 | 0; + $add332 = $j$5 + 2 | 0; + $sub345 = $j$5 + -3 | 0; + $i$5 = 0; + $ret$12 = $ret$11; + $wval2$6 = $wval2$5; + while (1) { + if (($i$5 | 0) == 7) break; + _ar2GetBestMatchingSubFineOpt($img, $xsize, $i$5 + $sub184 | 0, $add330, $mtemp, $call134, $call148, $i$5 + 2 | 0, $add332, $wval); + $37 = HEAP32[$wval >> 2] | 0; + if (($37 | 0) > ($wval2$6 | 0)) { + HEAP32[$bx >> 2] = $i$5 + -3 + (HEAP32[$arrayidx180 >> 2] | 0); + HEAP32[$by >> 2] = $sub345 + (HEAP32[$arrayidx166 >> 2] | 0); + HEAPF32[$val >> 2] = +($37 | 0) / 1.0e4; + $ret$13 = 0; + $wval2$7 = $37; + } else { + $ret$13 = $ret$12; + $wval2$7 = $wval2$6; + } + $i$5 = $i$5 + 1 | 0; + $ret$12 = $ret$13; + $wval2$6 = $wval2$7; + } + $j$5 = $j$5 + 1 | 0; + $ret$11 = $ret$12; + $wval2$5 = $wval2$6; + } + } else label = 40; + } else label = 40; while (0); + L80 : do if ((label | 0) == 40) { + label = 0; + $24 = HEAP32[$cy + ($l$0 << 2) >> 2] | 0; + $add198 = $24 + 3 | 0; + $arrayidx213 = $cx + ($l$0 << 2) | 0; + $j$2 = $24 + -3 | 0; + $ret$7 = $ret$6; + $wval2$1 = $wval2$0; + while (1) { + if (($j$2 | 0) > ($add198 | 0)) { + $ret$14 = $ret$7; + $wval2$8 = $wval2$1; + break L80; + } + L85 : do if (($j$2 | 0) < (HEAP32[$yts11 >> 2] << 1 | 0)) { + $ret$10 = $ret$7; + $wval2$4 = $wval2$1; + } else { + if (((HEAP32[$yts22 >> 2] << 1) + $j$2 | 0) >= ($ysize | 0)) { + $ret$14 = $ret$7; + $wval2$8 = $wval2$1; + break L80; + } + $27 = HEAP32[$arrayidx213 >> 2] | 0; + $add217 = $27 + 3 | 0; + $i$2 = $27 + -3 | 0; + $ret$8 = $ret$7; + $wval2$2 = $wval2$1; + while (1) { + if (($i$2 | 0) > ($add217 | 0)) { + $ret$10 = $ret$8; + $wval2$4 = $wval2$2; + break L85; + } + if (($i$2 | 0) >= (HEAP32[$xts1 >> 2] << 1 | 0)) { + if (((HEAP32[$xts2 >> 2] << 1) + $i$2 | 0) >= ($xsize | 0)) { + $ret$10 = $ret$8; + $wval2$4 = $wval2$2; + break L85; + } + _ar2GetBestMatchingSubFine($img, $xsize, $pixFormat, $mtemp, $i$2, $j$2, $wval); + $30 = HEAP32[$wval >> 2] | 0; + if (($30 | 0) > ($wval2$2 | 0)) { + HEAP32[$bx >> 2] = $i$2; + HEAP32[$by >> 2] = $j$2; + HEAPF32[$val >> 2] = +($30 | 0) / 1.0e4; + $ret$9 = 0; + $wval2$3 = $30; + } else { + $ret$9 = $ret$8; + $wval2$3 = $wval2$2; + } + } else { + $ret$9 = $ret$8; + $wval2$3 = $wval2$2; + } + $i$2 = $i$2 + 1 | 0; + $ret$8 = $ret$9; + $wval2$2 = $wval2$3; + } + } while (0); + $j$2 = $j$2 + 1 | 0; + $ret$7 = $ret$10; + $wval2$1 = $wval2$4; } - $$0259 = $$1260; - $$0273 = $$0273 + 1 | 0; - $$0274 = $$1275; + } while (0); + $l$0 = $l$0 + 1 | 0; + $ret$6 = $ret$14; + $wval2$0 = $wval2$8; + } + _free($call134); + _free($call148); + $retval$0 = $ret$6; + } + STACKTOP = sp; + return $retval$0 | 0; +} + +function _ar2SelectTemplate($candidate, $prevFeature, $num, $pos, $xsize, $ysize) { + $candidate = $candidate | 0; + $prevFeature = $prevFeature | 0; + $num = $num | 0; + $pos = $pos | 0; + $xsize = $xsize | 0; + $ysize = $ysize | 0; + var $$203 = 0, $$204 = 0, $$pre = 0.0, $1 = 0.0, $10 = 0.0, $11 = 0.0, $13 = 0.0, $15 = 0.0, $16 = 0.0, $17 = 0.0, $18 = 0.0, $2 = 0.0, $20 = 0.0, $21 = 0.0, $23 = 0.0, $24 = 0.0, $33 = 0, $34 = 0, $36 = 0, $4 = 0.0, $5 = 0.0, $9 = 0.0, $add = 0.0, $add137 = 0.0, $arrayidx129 = 0, $arrayidx208 = 0, $arrayidx210 = 0, $arrayidx219 = 0, $arrayidx299 = 0, $arrayidx303 = 0, $call374 = 0.0, $cmp312 = 0, $cmp323 = 0, $cmp338 = 0, $cmp344 = 0, $conv = 0.0, $conv102 = 0.0, $conv110 = 0.0, $conv15 = 0.0, $conv174 = 0.0, $conv182 = 0.0, $conv189 = 0.0, $conv197 = 0.0, $conv21 = 0.0, $conv268 = 0.0, $conv276 = 0.0, $conv283 = 0.0, $conv29 = 0.0, $conv291 = 0.0, $conv37 = 0.0, $conv47 = 0.0, $conv487 = 0, $conv87 = 0.0, $conv95 = 0.0, $dmax$0 = 0.0, $dmax$1 = 0.0, $dmax156$0 = 0.0, $dmax156$1 = 0.0, $dmax69$0 = 0.0, $dmax69$1 = 0.0, $flag393 = 0, $flag407 = 0, $flag490 = 0, $i$0 = 0, $i157$0 = 0, $i243$0 = 0, $i389$0 = 0, $i389$1 = 0, $i389$2 = 0, $i70$0 = 0, $inc457 = 0, $j$0 = 0, $j$1 = 0, $j158$0 = 0, $j158$1 = 0, $j244$0 = 0, $j244$1 = 0, $j390$0 = 0, $j390$1 = 0, $j390$2 = 0, $j390$3 = 0, $j390$4 = 0, $j71$0 = 0, $j71$1 = 0, $level = 0, $mul225 = 0.0, $mul309 = 0.0, $mul310 = 0.0, $mul329 = 0.0, $mul330 = 0.0, $num429 = 0, $p2cosf = 0, $p2sinf = 0, $p3cosf = 0, $p3sinf = 0, $p4cosf = 0, $p4sinf = 0, $q1$0 = 0, $r1$0 = 0, $r2$0 = 0, $retval$1 = 0, $smax$0 = 0.0, $smax$1 = 0.0, $snum = 0, $sub = 0.0, $sub119 = 0.0, $sub130 = 0.0, $sub224 = 0.0, $sub48 = 0.0, $sy281 = 0, label = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 32 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); + $p2sinf = sp + 20 | 0; + $p2cosf = sp + 16 | 0; + $p3sinf = sp + 12 | 0; + $p3cosf = sp + 8 | 0; + $p4sinf = sp + 4 | 0; + $p4cosf = sp; + L1 : do if (($num | 0) < 0) $retval$1 = -1; else switch ($num | 0) { + case 0: + { + $conv = +(($xsize | 0) / 8 | 0 | 0); + $conv15 = +(($xsize * 7 | 0) / 8 | 0 | 0); + $conv21 = +(($ysize | 0) / 8 | 0 | 0); + $conv29 = +(($ysize * 7 | 0) / 8 | 0 | 0); + $conv37 = +(($xsize | 0) / 2 | 0 | 0); + $conv47 = +(($ysize | 0) / 2 | 0 | 0); + $dmax$0 = 0.0; + $i$0 = 0; + $j$0 = -1; + L38 : while (1) { + switch (HEAP32[$candidate + ($i$0 * 24 | 0) + 12 >> 2] | 0) { + case -1: + { + break L38; + break; + } + case 0: + { + $1 = +HEAPF32[$candidate + ($i$0 * 24 | 0) + 16 >> 2]; + if ((!($1 < $conv | $1 > $conv15) ? ($2 = +HEAPF32[$candidate + ($i$0 * 24 | 0) + 20 >> 2], !($2 < $conv21 | $2 > $conv29)) : 0) ? ($sub = $1 - $conv37, $sub48 = $2 - $conv47, $add = $sub * $sub + $sub48 * $sub48, $add > $dmax$0) : 0) { + $dmax$1 = $add; + $j$1 = $i$0; + } else { + $dmax$1 = $dmax$0; + $j$1 = $j$0; + } + break; + } + default: + { + $dmax$1 = $dmax$0; + $j$1 = $j$0; + } + } + $dmax$0 = $dmax$1; + $i$0 = $i$0 + 1 | 0; + $j$0 = $j$1; } - if (($$0274 | 0) == -1) { - $$1 = -1; + if (($j$0 | 0) == -1) { + $retval$1 = -1; break L1; } - HEAP32[$0 + ($$0274 * 24 | 0) + 12 >> 2] = 1; - $$1 = $$0274; + HEAP32[$candidate + ($j$0 * 24 | 0) + 12 >> 2] = 1; + $retval$1 = $j$0; break L1; break; } case 1: { - $47 = +(($4 | 0) / 8 | 0 | 0); - $50 = +(($4 * 7 | 0) / 8 | 0 | 0); - $52 = +(($5 | 0) / 8 | 0 | 0); - $55 = +(($5 * 7 | 0) / 8 | 0 | 0); - $56 = $3 + 4 | 0; - $$0268 = -1; - $$0270 = 0; - $$0271 = 0.0; + $conv87 = +(($xsize | 0) / 8 | 0 | 0); + $conv95 = +(($xsize * 7 | 0) / 8 | 0 | 0); + $conv102 = +(($ysize | 0) / 8 | 0 | 0); + $conv110 = +(($ysize * 7 | 0) / 8 | 0 | 0); + $arrayidx129 = $pos + 4 | 0; + $dmax69$0 = 0.0; + $i70$0 = 0; + $j71$0 = -1; L49 : while (1) { - switch (HEAP32[$0 + ($$0270 * 24 | 0) + 12 >> 2] | 0) { + switch (HEAP32[$candidate + ($i70$0 * 24 | 0) + 12 >> 2] | 0) { case -1: { break L49; @@ -32595,49 +33737,49 @@ function _ar2SelectTemplate($0, $1, $2, $3, $4, $5) { } case 0: { - $60 = +HEAPF32[$0 + ($$0270 * 24 | 0) + 16 >> 2]; - if ((!($60 < $47 | $60 > $50) ? ($64 = +HEAPF32[$0 + ($$0270 * 24 | 0) + 20 >> 2], !($64 < $52 | $64 > $55)) : 0) ? ($68 = $60 - +HEAPF32[$3 >> 2], $71 = $64 - +HEAPF32[$56 >> 2], $73 = $68 * $68 + $71 * $71, $73 > $$0271) : 0) { - $$1269 = $$0270; - $$1272 = $73; + $4 = +HEAPF32[$candidate + ($i70$0 * 24 | 0) + 16 >> 2]; + if ((!($4 < $conv87 | $4 > $conv95) ? ($5 = +HEAPF32[$candidate + ($i70$0 * 24 | 0) + 20 >> 2], !($5 < $conv102 | $5 > $conv110)) : 0) ? ($sub119 = $4 - +HEAPF32[$pos >> 2], $sub130 = $5 - +HEAPF32[$arrayidx129 >> 2], $add137 = $sub119 * $sub119 + $sub130 * $sub130, $add137 > $dmax69$0) : 0) { + $dmax69$1 = $add137; + $j71$1 = $i70$0; } else { - $$1269 = $$0268; - $$1272 = $$0271; + $dmax69$1 = $dmax69$0; + $j71$1 = $j71$0; } break; } default: { - $$1269 = $$0268; - $$1272 = $$0271; + $dmax69$1 = $dmax69$0; + $j71$1 = $j71$0; } } - $$0268 = $$1269; - $$0270 = $$0270 + 1 | 0; - $$0271 = $$1272; + $dmax69$0 = $dmax69$1; + $i70$0 = $i70$0 + 1 | 0; + $j71$0 = $j71$1; } - if (($$0268 | 0) == -1) { - $$1 = -1; + if (($j71$0 | 0) == -1) { + $retval$1 = -1; break L1; } - HEAP32[$0 + ($$0268 * 24 | 0) + 12 >> 2] = 1; - $$1 = $$0268; + HEAP32[$candidate + ($j71$0 * 24 | 0) + 12 >> 2] = 1; + $retval$1 = $j71$0; break L1; break; } case 2: { - $79 = +(($4 | 0) / 8 | 0 | 0); - $82 = +(($4 * 7 | 0) / 8 | 0 | 0); - $84 = +(($5 | 0) / 8 | 0 | 0); - $87 = +(($5 * 7 | 0) / 8 | 0 | 0); - $88 = $3 + 12 | 0; - $89 = $3 + 4 | 0; - $90 = $3 + 8 | 0; - $$0263 = -1; - $$0265 = 0; - $$0266 = 0.0; + $conv174 = +(($xsize | 0) / 8 | 0 | 0); + $conv182 = +(($xsize * 7 | 0) / 8 | 0 | 0); + $conv189 = +(($ysize | 0) / 8 | 0 | 0); + $conv197 = +(($ysize * 7 | 0) / 8 | 0 | 0); + $arrayidx208 = $pos + 12 | 0; + $arrayidx210 = $pos + 4 | 0; + $arrayidx219 = $pos + 8 | 0; + $dmax156$0 = 0.0; + $i157$0 = 0; + $j158$0 = -1; L60 : while (1) { - switch (HEAP32[$0 + ($$0265 * 24 | 0) + 12 >> 2] | 0) { + switch (HEAP32[$candidate + ($i157$0 * 24 | 0) + 12 >> 2] | 0) { case -1: { break L60; @@ -32645,60 +33787,60 @@ function _ar2SelectTemplate($0, $1, $2, $3, $4, $5) { } case 0: { - $94 = +HEAPF32[$0 + ($$0265 * 24 | 0) + 16 >> 2]; - if ((!($94 < $79 | $94 > $82) ? ($98 = +HEAPF32[$0 + ($$0265 * 24 | 0) + 20 >> 2], !($98 < $84 | $98 > $87)) : 0) ? ($101 = +HEAPF32[$3 >> 2], $104 = +HEAPF32[$89 >> 2], $111 = ($94 - $101) * (+HEAPF32[$88 >> 2] - $104) - ($98 - $104) * (+HEAPF32[$90 >> 2] - $101), $112 = $111 * $111, $112 > $$0266) : 0) { - $$1264 = $$0265; - $$1267 = $112; + $9 = +HEAPF32[$candidate + ($i157$0 * 24 | 0) + 16 >> 2]; + if ((!($9 < $conv174 | $9 > $conv182) ? ($10 = +HEAPF32[$candidate + ($i157$0 * 24 | 0) + 20 >> 2], !($10 < $conv189 | $10 > $conv197)) : 0) ? ($11 = +HEAPF32[$pos >> 2], $13 = +HEAPF32[$arrayidx210 >> 2], $sub224 = ($9 - $11) * (+HEAPF32[$arrayidx208 >> 2] - $13) - ($10 - $13) * (+HEAPF32[$arrayidx219 >> 2] - $11), $mul225 = $sub224 * $sub224, $mul225 > $dmax156$0) : 0) { + $dmax156$1 = $mul225; + $j158$1 = $i157$0; } else { - $$1264 = $$0263; - $$1267 = $$0266; + $dmax156$1 = $dmax156$0; + $j158$1 = $j158$0; } break; } default: { - $$1264 = $$0263; - $$1267 = $$0266; + $dmax156$1 = $dmax156$0; + $j158$1 = $j158$0; } } - $$0263 = $$1264; - $$0265 = $$0265 + 1 | 0; - $$0266 = $$1267; + $dmax156$0 = $dmax156$1; + $i157$0 = $i157$0 + 1 | 0; + $j158$0 = $j158$1; } - if (($$0263 | 0) == -1) { - $$1 = -1; + if (($j158$0 | 0) == -1) { + $retval$1 = -1; break L1; } - HEAP32[$0 + ($$0263 * 24 | 0) + 12 >> 2] = 1; - $$1 = $$0263; + HEAP32[$candidate + ($j158$0 * 24 | 0) + 12 >> 2] = 1; + $retval$1 = $j158$0; break L1; break; } case 3: { - _ar2GetVectorAngle($3, $3 + 8 | 0, $6, $7); - _ar2GetVectorAngle($3, $3 + 16 | 0, $8, $9); - $120 = +(($4 | 0) / 8 | 0 | 0); - $123 = +(($4 * 7 | 0) / 8 | 0 | 0); - $125 = +(($5 | 0) / 8 | 0 | 0); - $128 = +(($5 * 7 | 0) / 8 | 0 | 0); - $129 = $3 + 24 | 0; - $130 = $3 + 28 | 0; - $131 = +HEAPF32[$8 >> 2]; - $132 = +HEAPF32[$7 >> 2]; - $133 = $131 * $132; - $134 = +HEAPF32[$9 >> 2]; - $135 = +HEAPF32[$6 >> 2]; - $136 = $134 * $135; - $138 = !($133 - $136 >= 0.0); - $140 = !($136 - $133 >= 0.0); - $$279 = $138 ? 2 : 1; - $$280 = $138 ? 1 : 2; - $$0253 = -1; - $$0255 = 0; - $$0261 = 0.0; + _ar2GetVectorAngle($pos, $pos + 8 | 0, $p2sinf, $p2cosf); + _ar2GetVectorAngle($pos, $pos + 16 | 0, $p3sinf, $p3cosf); + $conv268 = +(($xsize | 0) / 8 | 0 | 0); + $conv276 = +(($xsize * 7 | 0) / 8 | 0 | 0); + $conv283 = +(($ysize | 0) / 8 | 0 | 0); + $conv291 = +(($ysize * 7 | 0) / 8 | 0 | 0); + $arrayidx299 = $pos + 24 | 0; + $arrayidx303 = $pos + 28 | 0; + $15 = +HEAPF32[$p3sinf >> 2]; + $16 = +HEAPF32[$p2cosf >> 2]; + $mul309 = $15 * $16; + $17 = +HEAPF32[$p3cosf >> 2]; + $18 = +HEAPF32[$p2sinf >> 2]; + $mul310 = $17 * $18; + $cmp312 = !($mul309 - $mul310 >= 0.0); + $cmp338 = !($mul310 - $mul309 >= 0.0); + $$203 = $cmp312 ? 2 : 1; + $$204 = $cmp312 ? 1 : 2; + $i243$0 = 0; + $j244$0 = -1; + $smax$0 = 0.0; L71 : while (1) { - L73 : do switch (HEAP32[$0 + ($$0255 * 24 | 0) + 12 >> 2] | 0) { + L73 : do switch (HEAP32[$candidate + ($i243$0 * 24 | 0) + 12 >> 2] | 0) { case -1: { break L71; @@ -32706,83 +33848,83 @@ function _ar2SelectTemplate($0, $1, $2, $3, $4, $5) { } case 0: { - $144 = +HEAPF32[$0 + ($$0255 * 24 | 0) + 16 >> 2]; - if (!($144 < $120 | $144 > $123) ? ($147 = $0 + ($$0255 * 24 | 0) + 20 | 0, $148 = +HEAPF32[$147 >> 2], !($148 < $125 | $148 > $128)) : 0) { - HEAPF32[$129 >> 2] = $144; - HEAP32[$130 >> 2] = HEAP32[$147 >> 2]; - _ar2GetVectorAngle($3, $129, $10, $11); - $$pre = +HEAPF32[$10 >> 2]; - if (!$138) { - $153 = +HEAPF32[$11 >> 2]; - if (!($132 * $$pre - $135 * $153 >= 0.0)) { - $163 = $153; + $20 = +HEAPF32[$candidate + ($i243$0 * 24 | 0) + 16 >> 2]; + if (!($20 < $conv268 | $20 > $conv276) ? ($sy281 = $candidate + ($i243$0 * 24 | 0) + 20 | 0, $21 = +HEAPF32[$sy281 >> 2], !($21 < $conv283 | $21 > $conv291)) : 0) { + HEAPF32[$arrayidx299 >> 2] = $20; + HEAP32[$arrayidx303 >> 2] = HEAP32[$sy281 >> 2]; + _ar2GetVectorAngle($pos, $arrayidx299, $p4sinf, $p4cosf); + $$pre = +HEAPF32[$p4sinf >> 2]; + if (!$cmp312) { + $23 = +HEAPF32[$p4cosf >> 2]; + if (!($16 * $$pre - $18 * $23 >= 0.0)) { + $24 = $23; label = 39; } else { - $160 = !($134 * $$pre - $131 * $153 >= 0.0); - $$0256 = $160 ? 2 : 3; - $$0257 = $160 ? 3 : 2; - $$0258 = 1; + $cmp323 = !($17 * $$pre - $15 * $23 >= 0.0); + $q1$0 = 1; + $r1$0 = $cmp323 ? 3 : 2; + $r2$0 = $cmp323 ? 2 : 3; } } else { - $163 = +HEAPF32[$11 >> 2]; + $24 = +HEAPF32[$p4cosf >> 2]; label = 39; } do if ((label | 0) == 39) { label = 0; - $161 = $134 * $$pre; - $162 = $131 * $163; - if ($140 | !($161 - $162 >= 0.0)) if ($162 - $161 >= 0.0 ? !($135 * $163 - $132 * $$pre >= 0.0) : 1) { - $$1254 = $$0253; - $$1262 = $$0261; + $mul329 = $17 * $$pre; + $mul330 = $15 * $24; + if ($cmp338 | !($mul329 - $mul330 >= 0.0)) if ($mul330 - $mul329 >= 0.0 ? !($18 * $24 - $16 * $$pre >= 0.0) : 1) { + $j244$1 = $j244$0; + $smax$1 = $smax$0; break L73; } else { - $$0256 = $$280; - $$0257 = $$279; - $$0258 = 3; + $q1$0 = 3; + $r1$0 = $$203; + $r2$0 = $$204; break; } else { - $169 = !($132 * $$pre - $135 * $163 >= 0.0); - $$0256 = $169 ? 1 : 3; - $$0257 = $169 ? 3 : 1; - $$0258 = 2; + $cmp344 = !($16 * $$pre - $18 * $24 >= 0.0); + $q1$0 = 2; + $r1$0 = $cmp344 ? 3 : 1; + $r2$0 = $cmp344 ? 1 : 3; break; } } while (0); - $176 = +_ar2GetRegionArea($3, $$0258, $$0257, $$0256); - if ($176 > $$0261) { - $$1254 = $$0255; - $$1262 = $176; + $call374 = +_ar2GetRegionArea($pos, $q1$0, $r1$0, $r2$0); + if ($call374 > $smax$0) { + $j244$1 = $i243$0; + $smax$1 = $call374; } else { - $$1254 = $$0253; - $$1262 = $$0261; + $j244$1 = $j244$0; + $smax$1 = $smax$0; } } else { - $$1254 = $$0253; - $$1262 = $$0261; + $j244$1 = $j244$0; + $smax$1 = $smax$0; } break; } default: { - $$1254 = $$0253; - $$1262 = $$0261; + $j244$1 = $j244$0; + $smax$1 = $smax$0; } } while (0); - $$0253 = $$1254; - $$0255 = $$0255 + 1 | 0; - $$0261 = $$1262; + $i243$0 = $i243$0 + 1 | 0; + $j244$0 = $j244$1; + $smax$0 = $smax$1; } - if (($$0253 | 0) != -1) HEAP32[$0 + ($$0253 * 24 | 0) + 12 >> 2] = 1; - $$1 = $$0253; + if (($j244$0 | 0) != -1) HEAP32[$candidate + ($j244$0 * 24 | 0) + 12 >> 2] = 1; + $retval$1 = $j244$0; break L1; break; } default: { - $$0250 = 0; + $i389$0 = 0; L5 : while (1) { - $181 = $1 + ($$0250 * 24 | 0) + 12 | 0; - L7 : do switch (HEAP32[$181 >> 2] | 0) { + $flag393 = $prevFeature + ($i389$0 * 24 | 0) + 12 | 0; + L7 : do switch (HEAP32[$flag393 >> 2] | 0) { case -1: { break L5; @@ -32790,14 +33932,14 @@ function _ar2SelectTemplate($0, $1, $2, $3, $4, $5) { } case 0: { - HEAP32[$181 >> 2] = 1; - $183 = $1 + ($$0250 * 24 | 0) | 0; - $184 = $1 + ($$0250 * 24 | 0) + 4 | 0; - $185 = $1 + ($$0250 * 24 | 0) + 8 | 0; - $$0248 = 0; + HEAP32[$flag393 >> 2] = 1; + $snum = $prevFeature + ($i389$0 * 24 | 0) | 0; + $level = $prevFeature + ($i389$0 * 24 | 0) + 4 | 0; + $num429 = $prevFeature + ($i389$0 * 24 | 0) + 8 | 0; + $j390$0 = 0; while (1) { - $186 = $0 + ($$0248 * 24 | 0) + 12 | 0; - switch (HEAP32[$186 >> 2] | 0) { + $flag407 = $candidate + ($j390$0 * 24 | 0) + 12 | 0; + switch (HEAP32[$flag407 >> 2] | 0) { case -1: { break L7; @@ -32805,7 +33947,7 @@ function _ar2SelectTemplate($0, $1, $2, $3, $4, $5) { } case 0: { - if (((HEAP32[$183 >> 2] | 0) == (HEAP32[$0 + ($$0248 * 24 | 0) >> 2] | 0) ? (HEAP32[$184 >> 2] | 0) == (HEAP32[$0 + ($$0248 * 24 | 0) + 4 >> 2] | 0) : 0) ? (HEAP32[$185 >> 2] | 0) == (HEAP32[$0 + ($$0248 * 24 | 0) + 8 >> 2] | 0) : 0) { + if (((HEAP32[$snum >> 2] | 0) == (HEAP32[$candidate + ($j390$0 * 24 | 0) >> 2] | 0) ? (HEAP32[$level >> 2] | 0) == (HEAP32[$candidate + ($j390$0 * 24 | 0) + 4 >> 2] | 0) : 0) ? (HEAP32[$num429 >> 2] | 0) == (HEAP32[$candidate + ($j390$0 * 24 | 0) + 8 >> 2] | 0) : 0) { label = 55; break L5; } @@ -32814,32 +33956,32 @@ function _ar2SelectTemplate($0, $1, $2, $3, $4, $5) { default: {} } - $$0248 = $$0248 + 1 | 0; + $j390$0 = $j390$0 + 1 | 0; } break; } default: {} } while (0); - $$0250 = $$0250 + 1 | 0; + $i389$0 = $i389$0 + 1 | 0; } if ((label | 0) == 55) { - HEAP32[$186 >> 2] = 1; - $$1 = $$0248; + HEAP32[$flag407 >> 2] = 1; + $retval$1 = $j390$0; break L1; } - HEAP32[$1 + 12 >> 2] = -1; - $203 = HEAP32[16309] | 0; - if (!$203) { + HEAP32[$prevFeature + 12 >> 2] = -1; + $33 = HEAP32[16521] | 0; + if (!$33) { _srand(_time(0) | 0); - $207 = HEAP32[16309] | 0; - } else $207 = $203; - $206 = $207 + 1 | 0; - HEAP32[16309] = ($206 | 0) == 128 ? 0 : $206; - $$1249 = 0; - $$1251 = 0; + $34 = HEAP32[16521] | 0; + } else $34 = $33; + $inc457 = $34 + 1 | 0; + HEAP32[16521] = ($inc457 | 0) == 128 ? 0 : $inc457; + $i389$1 = 0; + $j390$1 = 0; L23 : while (1) { - switch (HEAP32[$0 + ($$1251 * 24 | 0) + 12 >> 2] | 0) { + switch (HEAP32[$candidate + ($i389$1 * 24 | 0) + 12 >> 2] | 0) { case -1: { break L23; @@ -32847,1479 +33989,350 @@ function _ar2SelectTemplate($0, $1, $2, $3, $4, $5) { } case 0: { - $$2 = $$1249 + 1 | 0; + $j390$2 = $j390$1 + 1 | 0; break; } default: - $$2 = $$1249; + $j390$2 = $j390$1; } - $$1249 = $$2; - $$1251 = $$1251 + 1 | 0; + $i389$1 = $i389$1 + 1 | 0; + $j390$1 = $j390$2; } - if (!$$1249) { - $$1 = -1; + if (!$j390$1) { + $retval$1 = -1; break L1; } - $219 = ~~(+($$1249 | 0) * +(_rand() | 0) * 4.656612873077393e-10); - $$2252 = 0; - $$3 = 0; + $conv487 = ~~(+($j390$1 | 0) * +(_rand() | 0) * 4.656612873077393e-10); + $i389$2 = 0; + $j390$3 = 0; L30 : while (1) { - $220 = $0 + ($$2252 * 24 | 0) + 12 | 0; - $221 = HEAP32[$220 >> 2] | 0; - switch ($221 | 0) { + $flag490 = $candidate + ($i389$2 * 24 | 0) + 12 | 0; + $36 = HEAP32[$flag490 >> 2] | 0; + switch ($36 | 0) { case -1: { - $$1 = $221; + $retval$1 = $36; break L1; break; } case 0: { - if (($$3 | 0) == ($219 | 0)) break L30; - $$4 = $$3 + 1 | 0; + if (($j390$3 | 0) == ($conv487 | 0)) break L30; + $j390$4 = $j390$3 + 1 | 0; break; } default: - $$4 = $$3; + $j390$4 = $j390$3; } - $$2252 = $$2252 + 1 | 0; - $$3 = $$4; + $i389$2 = $i389$2 + 1 | 0; + $j390$3 = $j390$4; } - HEAP32[$220 >> 2] = 1; - $$1 = $$2252; + HEAP32[$flag490 >> 2] = 1; + $retval$1 = $i389$2; break L1; } } while (0); STACKTOP = sp; - return $$1 | 0; -} - -function _jpeg_idct_4x8($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $$0199209 = 0, $$0201208 = 0, $$0203207 = 0, $$0210 = 0, $$sink = 0, $$sink212 = 0, $100 = 0, $101 = 0, $103 = 0, $106 = 0, $107 = 0, $109 = 0, $11 = 0, $113 = 0, $115 = 0, $117 = 0, $121 = 0, $123 = 0, $13 = 0, $149 = 0, $151 = 0, $153 = 0, $155 = 0, $157 = 0, $159 = 0, $161 = 0, $163 = 0, $165 = 0, $167 = 0, $169 = 0, $196 = 0, $198 = 0, $200 = 0, $202 = 0, $204 = 0, $206 = 0, $208 = 0, $210 = 0, $212 = 0, $214 = 0, $241 = 0, $243 = 0, $245 = 0, $247 = 0, $249 = 0, $251 = 0, $253 = 0, $255 = 0, $257 = 0, $259 = 0, $286 = 0, $288 = 0, $290 = 0, $292 = 0, $294 = 0, $296 = 0, $298 = 0, $300 = 0, $302 = 0, $304 = 0, $331 = 0, $333 = 0, $335 = 0, $337 = 0, $339 = 0, $341 = 0, $343 = 0, $345 = 0, $347 = 0, $349 = 0, $35 = 0, $376 = 0, $378 = 0, $380 = 0, $382 = 0, $384 = 0, $386 = 0, $388 = 0, $390 = 0, $392 = 0, $394 = 0, $421 = 0, $423 = 0, $425 = 0, $427 = 0, $429 = 0, $431 = 0, $433 = 0, $435 = 0, $437 = 0, $439 = 0, $466 = 0, $468 = 0, $470 = 0, $472 = 0, $474 = 0, $476 = 0, $478 = 0, $480 = 0, $482 = 0, $484 = 0, $5 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $58 = 0, $61 = 0, $67 = 0, $69 = 0, $7 = 0, $71 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $83 = 0, $89 = 0, $95 = 0, $99 = 0, label = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 128 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(128); - $5 = sp; - $7 = HEAP32[$0 + 336 >> 2] | 0; - $$0199209 = $5; - $$0201208 = HEAP32[$1 + 84 >> 2] | 0; - $$0203207 = $2; - $$0210 = 4; - while (1) { - $11 = HEAP16[$$0203207 + 16 >> 1] | 0; - $13 = HEAP16[$$0203207 + 32 >> 1] | 0; - if (!(($11 | $13) << 16 >> 16)) if (((((HEAP16[$$0203207 + 48 >> 1] | 0) == 0 ? (HEAP16[$$0203207 + 64 >> 1] | 0) == 0 : 0) ? (HEAP16[$$0203207 + 80 >> 1] | 0) == 0 : 0) ? (HEAP16[$$0203207 + 96 >> 1] | 0) == 0 : 0) ? (HEAP16[$$0203207 + 112 >> 1] | 0) == 0 : 0) { - $35 = Math_imul(HEAP16[$$0203207 >> 1] << 2, HEAP32[$$0201208 >> 2] | 0) | 0; - HEAP32[$$0199209 >> 2] = $35; - HEAP32[$$0199209 + 16 >> 2] = $35; - HEAP32[$$0199209 + 32 >> 2] = $35; - HEAP32[$$0199209 + 48 >> 2] = $35; - HEAP32[$$0199209 + 64 >> 2] = $35; - HEAP32[$$0199209 + 80 >> 2] = $35; - HEAP32[$$0199209 + 96 >> 2] = $35; - $$sink = $35; - $$sink212 = 28; - } else { - $58 = 0; - label = 9; - } else { - $58 = $13; - label = 9; - } - if ((label | 0) == 9) { - label = 0; - $53 = Math_imul(HEAP16[$$0203207 + 64 >> 1] << 13, HEAP32[$$0201208 + 128 >> 2] | 0) | 0; - $54 = Math_imul(HEAP16[$$0203207 >> 1] << 13, HEAP32[$$0201208 >> 2] | 0) | 0 | 1024; - $55 = $53 + $54 | 0; - $56 = $54 - $53 | 0; - $61 = Math_imul(HEAP32[$$0201208 + 64 >> 2] | 0, $58 << 16 >> 16) | 0; - $67 = Math_imul(HEAP32[$$0201208 + 192 >> 2] | 0, HEAP16[$$0203207 + 96 >> 1] | 0) | 0; - $69 = ($67 + $61 | 0) * 4433 | 0; - $71 = $69 + ($61 * 6270 | 0) | 0; - $73 = $69 + (Math_imul($67, -15137) | 0) | 0; - $74 = $71 + $55 | 0; - $75 = $55 - $71 | 0; - $76 = $73 + $56 | 0; - $77 = $56 - $73 | 0; - $83 = Math_imul(HEAP32[$$0201208 + 224 >> 2] | 0, HEAP16[$$0203207 + 112 >> 1] | 0) | 0; - $89 = Math_imul(HEAP32[$$0201208 + 160 >> 2] | 0, HEAP16[$$0203207 + 80 >> 1] | 0) | 0; - $95 = Math_imul(HEAP32[$$0201208 + 96 >> 2] | 0, HEAP16[$$0203207 + 48 >> 1] | 0) | 0; - $99 = Math_imul(HEAP32[$$0201208 + 32 >> 2] | 0, $11 << 16 >> 16) | 0; - $100 = $95 + $83 | 0; - $101 = $99 + $89 | 0; - $103 = ($101 + $100 | 0) * 9633 | 0; - $106 = $103 + (Math_imul($100, -16069) | 0) | 0; - $107 = $103 + (Math_imul($101, -3196) | 0) | 0; - $109 = Math_imul($99 + $83 | 0, -7373) | 0; - $113 = $109 + ($83 * 2446 | 0) + $106 | 0; - $115 = $109 + ($99 * 12299 | 0) + $107 | 0; - $117 = Math_imul($95 + $89 | 0, -20995) | 0; - $121 = $117 + ($89 * 16819 | 0) + $107 | 0; - $123 = $117 + ($95 * 25172 | 0) + $106 | 0; - HEAP32[$$0199209 >> 2] = $115 + $74 >> 11; - HEAP32[$$0199209 + 112 >> 2] = $74 - $115 >> 11; - HEAP32[$$0199209 + 16 >> 2] = $123 + $76 >> 11; - HEAP32[$$0199209 + 96 >> 2] = $76 - $123 >> 11; - HEAP32[$$0199209 + 32 >> 2] = $121 + $77 >> 11; - HEAP32[$$0199209 + 80 >> 2] = $77 - $121 >> 11; - HEAP32[$$0199209 + 48 >> 2] = $113 + $75 >> 11; - $$sink = $75 - $113 >> 11; - $$sink212 = 16; - } - HEAP32[$$0199209 + ($$sink212 << 2) >> 2] = $$sink; - if ($$0210 >>> 0 > 1) { - $$0199209 = $$0199209 + 4 | 0; - $$0201208 = $$0201208 + 4 | 0; - $$0203207 = $$0203207 + 2 | 0; - $$0210 = $$0210 + -1 | 0; - } else break; - } - $149 = $7 + -384 | 0; - $151 = (HEAP32[$3 >> 2] | 0) + $4 | 0; - $153 = (HEAP32[$5 >> 2] | 0) + 16400 | 0; - $155 = HEAP32[$5 + 8 >> 2] | 0; - $157 = $153 + $155 << 13; - $159 = $153 - $155 << 13; - $161 = HEAP32[$5 + 4 >> 2] | 0; - $163 = HEAP32[$5 + 12 >> 2] | 0; - $165 = ($163 + $161 | 0) * 4433 | 0; - $167 = $165 + ($161 * 6270 | 0) | 0; - $169 = $165 + (Math_imul($163, -15137) | 0) | 0; - HEAP8[$151 >> 0] = HEAP8[$149 + (($167 + $157 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$151 + 3 >> 0] = HEAP8[$149 + (($157 - $167 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$151 + 1 >> 0] = HEAP8[$149 + (($169 + $159 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$151 + 2 >> 0] = HEAP8[$149 + (($159 - $169 | 0) >>> 18 & 1023) >> 0] | 0; - $196 = (HEAP32[$3 + 4 >> 2] | 0) + $4 | 0; - $198 = (HEAP32[$5 + 16 >> 2] | 0) + 16400 | 0; - $200 = HEAP32[$5 + 24 >> 2] | 0; - $202 = $198 + $200 << 13; - $204 = $198 - $200 << 13; - $206 = HEAP32[$5 + 20 >> 2] | 0; - $208 = HEAP32[$5 + 28 >> 2] | 0; - $210 = ($208 + $206 | 0) * 4433 | 0; - $212 = $210 + ($206 * 6270 | 0) | 0; - $214 = $210 + (Math_imul($208, -15137) | 0) | 0; - HEAP8[$196 >> 0] = HEAP8[$149 + (($212 + $202 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$196 + 3 >> 0] = HEAP8[$149 + (($202 - $212 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$196 + 1 >> 0] = HEAP8[$149 + (($214 + $204 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$196 + 2 >> 0] = HEAP8[$149 + (($204 - $214 | 0) >>> 18 & 1023) >> 0] | 0; - $241 = (HEAP32[$3 + 8 >> 2] | 0) + $4 | 0; - $243 = (HEAP32[$5 + 32 >> 2] | 0) + 16400 | 0; - $245 = HEAP32[$5 + 40 >> 2] | 0; - $247 = $243 + $245 << 13; - $249 = $243 - $245 << 13; - $251 = HEAP32[$5 + 36 >> 2] | 0; - $253 = HEAP32[$5 + 44 >> 2] | 0; - $255 = ($253 + $251 | 0) * 4433 | 0; - $257 = $255 + ($251 * 6270 | 0) | 0; - $259 = $255 + (Math_imul($253, -15137) | 0) | 0; - HEAP8[$241 >> 0] = HEAP8[$149 + (($257 + $247 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$241 + 3 >> 0] = HEAP8[$149 + (($247 - $257 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$241 + 1 >> 0] = HEAP8[$149 + (($259 + $249 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$241 + 2 >> 0] = HEAP8[$149 + (($249 - $259 | 0) >>> 18 & 1023) >> 0] | 0; - $286 = (HEAP32[$3 + 12 >> 2] | 0) + $4 | 0; - $288 = (HEAP32[$5 + 48 >> 2] | 0) + 16400 | 0; - $290 = HEAP32[$5 + 56 >> 2] | 0; - $292 = $288 + $290 << 13; - $294 = $288 - $290 << 13; - $296 = HEAP32[$5 + 52 >> 2] | 0; - $298 = HEAP32[$5 + 60 >> 2] | 0; - $300 = ($298 + $296 | 0) * 4433 | 0; - $302 = $300 + ($296 * 6270 | 0) | 0; - $304 = $300 + (Math_imul($298, -15137) | 0) | 0; - HEAP8[$286 >> 0] = HEAP8[$149 + (($302 + $292 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$286 + 3 >> 0] = HEAP8[$149 + (($292 - $302 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$286 + 1 >> 0] = HEAP8[$149 + (($304 + $294 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$286 + 2 >> 0] = HEAP8[$149 + (($294 - $304 | 0) >>> 18 & 1023) >> 0] | 0; - $331 = (HEAP32[$3 + 16 >> 2] | 0) + $4 | 0; - $333 = (HEAP32[$5 + 64 >> 2] | 0) + 16400 | 0; - $335 = HEAP32[$5 + 72 >> 2] | 0; - $337 = $333 + $335 << 13; - $339 = $333 - $335 << 13; - $341 = HEAP32[$5 + 68 >> 2] | 0; - $343 = HEAP32[$5 + 76 >> 2] | 0; - $345 = ($343 + $341 | 0) * 4433 | 0; - $347 = $345 + ($341 * 6270 | 0) | 0; - $349 = $345 + (Math_imul($343, -15137) | 0) | 0; - HEAP8[$331 >> 0] = HEAP8[$149 + (($347 + $337 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$331 + 3 >> 0] = HEAP8[$149 + (($337 - $347 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$331 + 1 >> 0] = HEAP8[$149 + (($349 + $339 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$331 + 2 >> 0] = HEAP8[$149 + (($339 - $349 | 0) >>> 18 & 1023) >> 0] | 0; - $376 = (HEAP32[$3 + 20 >> 2] | 0) + $4 | 0; - $378 = (HEAP32[$5 + 80 >> 2] | 0) + 16400 | 0; - $380 = HEAP32[$5 + 88 >> 2] | 0; - $382 = $378 + $380 << 13; - $384 = $378 - $380 << 13; - $386 = HEAP32[$5 + 84 >> 2] | 0; - $388 = HEAP32[$5 + 92 >> 2] | 0; - $390 = ($388 + $386 | 0) * 4433 | 0; - $392 = $390 + ($386 * 6270 | 0) | 0; - $394 = $390 + (Math_imul($388, -15137) | 0) | 0; - HEAP8[$376 >> 0] = HEAP8[$149 + (($392 + $382 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$376 + 3 >> 0] = HEAP8[$149 + (($382 - $392 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$376 + 1 >> 0] = HEAP8[$149 + (($394 + $384 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$376 + 2 >> 0] = HEAP8[$149 + (($384 - $394 | 0) >>> 18 & 1023) >> 0] | 0; - $421 = (HEAP32[$3 + 24 >> 2] | 0) + $4 | 0; - $423 = (HEAP32[$5 + 96 >> 2] | 0) + 16400 | 0; - $425 = HEAP32[$5 + 104 >> 2] | 0; - $427 = $423 + $425 << 13; - $429 = $423 - $425 << 13; - $431 = HEAP32[$5 + 100 >> 2] | 0; - $433 = HEAP32[$5 + 108 >> 2] | 0; - $435 = ($433 + $431 | 0) * 4433 | 0; - $437 = $435 + ($431 * 6270 | 0) | 0; - $439 = $435 + (Math_imul($433, -15137) | 0) | 0; - HEAP8[$421 >> 0] = HEAP8[$149 + (($437 + $427 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$421 + 3 >> 0] = HEAP8[$149 + (($427 - $437 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$421 + 1 >> 0] = HEAP8[$149 + (($439 + $429 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$421 + 2 >> 0] = HEAP8[$149 + (($429 - $439 | 0) >>> 18 & 1023) >> 0] | 0; - $466 = (HEAP32[$3 + 28 >> 2] | 0) + $4 | 0; - $468 = (HEAP32[$5 + 112 >> 2] | 0) + 16400 | 0; - $470 = HEAP32[$5 + 120 >> 2] | 0; - $472 = $468 + $470 << 13; - $474 = $468 - $470 << 13; - $476 = HEAP32[$5 + 116 >> 2] | 0; - $478 = HEAP32[$5 + 124 >> 2] | 0; - $480 = ($478 + $476 | 0) * 4433 | 0; - $482 = $480 + ($476 * 6270 | 0) | 0; - $484 = $480 + (Math_imul($478, -15137) | 0) | 0; - HEAP8[$466 >> 0] = HEAP8[$149 + (($482 + $472 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$466 + 3 >> 0] = HEAP8[$149 + (($472 - $482 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$466 + 1 >> 0] = HEAP8[$149 + (($484 + $474 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$466 + 2 >> 0] = HEAP8[$149 + (($474 - $484 | 0) >>> 18 & 1023) >> 0] | 0; - STACKTOP = sp; - return; -} - -function __ZNSt3__211__money_getIcE13__gather_infoEbRKNS_6localeERNS_10money_base7patternERcS8_RNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEESF_SF_SF_Ri($0, $1, $2, $3, $4, $5, $6, $7, $8, $9) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - $6 = $6 | 0; - $7 = $7 | 0; - $8 = $8 | 0; - $9 = $9 | 0; - var $$0$i$i$i = 0, $$0$i$i$i43 = 0, $$0$i$i$i51 = 0, $$0$i$i$i59 = 0, $$0$i$i$i67 = 0, $$0$i$i$i75 = 0, $$0$i$i$i83 = 0, $$0$i$i$i91 = 0, $10 = 0, $100 = 0, $104 = 0, $11 = 0, $112 = 0, $115 = 0, $119 = 0, $12 = 0, $127 = 0, $131 = 0, $135 = 0, $138 = 0, $142 = 0, $150 = 0, $153 = 0, $157 = 0, $16 = 0, $20 = 0, $23 = 0, $27 = 0, $35 = 0, $38 = 0, $42 = 0, $50 = 0, $54 = 0, $58 = 0, $61 = 0, $65 = 0, $73 = 0, $76 = 0, $80 = 0, $89 = 0, $93 = 0, $97 = 0, $storemerge = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $10 = sp + 12 | 0; - $11 = sp; - if ($0) { - $12 = __ZNKSt3__26locale9use_facetERNS0_2idE($1, 66744) | 0; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$12 >> 2] | 0) + 44 >> 2] & 255]($10, $12); - $16 = HEAP32[$10 >> 2] | 0; - HEAP8[$2 >> 0] = $16; - HEAP8[$2 + 1 >> 0] = $16 >> 8; - HEAP8[$2 + 2 >> 0] = $16 >> 16; - HEAP8[$2 + 3 >> 0] = $16 >> 24; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$12 >> 2] | 0) + 32 >> 2] & 255]($11, $12); - $20 = $8 + 11 | 0; - if ((HEAP8[$20 >> 0] | 0) < 0) { - $23 = HEAP32[$8 >> 2] | 0; - HEAP8[$10 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc($23, $10); - HEAP32[$8 + 4 >> 2] = 0; - if ((HEAP8[$20 >> 0] | 0) < 0) { - $27 = $8 + 8 | 0; - __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm(HEAP32[$8 >> 2] | 0, HEAP32[$27 >> 2] & 2147483647); - HEAP32[$27 >> 2] = 0; - } - } else { - HEAP8[$10 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc($8, $10); - HEAP8[$20 >> 0] = 0; - }; - HEAP32[$8 >> 2] = HEAP32[$11 >> 2]; - HEAP32[$8 + 4 >> 2] = HEAP32[$11 + 4 >> 2]; - HEAP32[$8 + 8 >> 2] = HEAP32[$11 + 8 >> 2]; - $$0$i$i$i = 0; - while (1) { - if (($$0$i$i$i | 0) == 3) break; - HEAP32[$11 + ($$0$i$i$i << 2) >> 2] = 0; - $$0$i$i$i = $$0$i$i$i + 1 | 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($11); - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$12 >> 2] | 0) + 28 >> 2] & 255]($11, $12); - $35 = $7 + 11 | 0; - if ((HEAP8[$35 >> 0] | 0) < 0) { - $38 = HEAP32[$7 >> 2] | 0; - HEAP8[$10 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc($38, $10); - HEAP32[$7 + 4 >> 2] = 0; - if ((HEAP8[$35 >> 0] | 0) < 0) { - $42 = $7 + 8 | 0; - __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm(HEAP32[$7 >> 2] | 0, HEAP32[$42 >> 2] & 2147483647); - HEAP32[$42 >> 2] = 0; - } - } else { - HEAP8[$10 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc($7, $10); - HEAP8[$35 >> 0] = 0; - }; - HEAP32[$7 >> 2] = HEAP32[$11 >> 2]; - HEAP32[$7 + 4 >> 2] = HEAP32[$11 + 4 >> 2]; - HEAP32[$7 + 8 >> 2] = HEAP32[$11 + 8 >> 2]; - $$0$i$i$i43 = 0; - while (1) { - if (($$0$i$i$i43 | 0) == 3) break; - HEAP32[$11 + ($$0$i$i$i43 << 2) >> 2] = 0; - $$0$i$i$i43 = $$0$i$i$i43 + 1 | 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($11); - $50 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$12 >> 2] | 0) + 12 >> 2] & 127]($12) | 0; - HEAP8[$3 >> 0] = $50; - $54 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$12 >> 2] | 0) + 16 >> 2] & 127]($12) | 0; - HEAP8[$4 >> 0] = $54; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$12 >> 2] | 0) + 20 >> 2] & 255]($11, $12); - $58 = $5 + 11 | 0; - if ((HEAP8[$58 >> 0] | 0) < 0) { - $61 = HEAP32[$5 >> 2] | 0; - HEAP8[$10 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc($61, $10); - HEAP32[$5 + 4 >> 2] = 0; - if ((HEAP8[$58 >> 0] | 0) < 0) { - $65 = $5 + 8 | 0; - __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm(HEAP32[$5 >> 2] | 0, HEAP32[$65 >> 2] & 2147483647); - HEAP32[$65 >> 2] = 0; - } - } else { - HEAP8[$10 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc($5, $10); - HEAP8[$58 >> 0] = 0; - }; - HEAP32[$5 >> 2] = HEAP32[$11 >> 2]; - HEAP32[$5 + 4 >> 2] = HEAP32[$11 + 4 >> 2]; - HEAP32[$5 + 8 >> 2] = HEAP32[$11 + 8 >> 2]; - $$0$i$i$i51 = 0; - while (1) { - if (($$0$i$i$i51 | 0) == 3) break; - HEAP32[$11 + ($$0$i$i$i51 << 2) >> 2] = 0; - $$0$i$i$i51 = $$0$i$i$i51 + 1 | 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($11); - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$12 >> 2] | 0) + 24 >> 2] & 255]($11, $12); - $73 = $6 + 11 | 0; - if ((HEAP8[$73 >> 0] | 0) < 0) { - $76 = HEAP32[$6 >> 2] | 0; - HEAP8[$10 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc($76, $10); - HEAP32[$6 + 4 >> 2] = 0; - if ((HEAP8[$73 >> 0] | 0) < 0) { - $80 = $6 + 8 | 0; - __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm(HEAP32[$6 >> 2] | 0, HEAP32[$80 >> 2] & 2147483647); - HEAP32[$80 >> 2] = 0; - } - } else { - HEAP8[$10 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc($6, $10); - HEAP8[$73 >> 0] = 0; - }; - HEAP32[$6 >> 2] = HEAP32[$11 >> 2]; - HEAP32[$6 + 4 >> 2] = HEAP32[$11 + 4 >> 2]; - HEAP32[$6 + 8 >> 2] = HEAP32[$11 + 8 >> 2]; - $$0$i$i$i59 = 0; - while (1) { - if (($$0$i$i$i59 | 0) == 3) break; - HEAP32[$11 + ($$0$i$i$i59 << 2) >> 2] = 0; - $$0$i$i$i59 = $$0$i$i$i59 + 1 | 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($11); - $storemerge = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$12 >> 2] | 0) + 36 >> 2] & 127]($12) | 0; - } else { - $89 = __ZNKSt3__26locale9use_facetERNS0_2idE($1, 66736) | 0; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$89 >> 2] | 0) + 44 >> 2] & 255]($10, $89); - $93 = HEAP32[$10 >> 2] | 0; - HEAP8[$2 >> 0] = $93; - HEAP8[$2 + 1 >> 0] = $93 >> 8; - HEAP8[$2 + 2 >> 0] = $93 >> 16; - HEAP8[$2 + 3 >> 0] = $93 >> 24; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$89 >> 2] | 0) + 32 >> 2] & 255]($11, $89); - $97 = $8 + 11 | 0; - if ((HEAP8[$97 >> 0] | 0) < 0) { - $100 = HEAP32[$8 >> 2] | 0; - HEAP8[$10 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc($100, $10); - HEAP32[$8 + 4 >> 2] = 0; - if ((HEAP8[$97 >> 0] | 0) < 0) { - $104 = $8 + 8 | 0; - __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm(HEAP32[$8 >> 2] | 0, HEAP32[$104 >> 2] & 2147483647); - HEAP32[$104 >> 2] = 0; - } - } else { - HEAP8[$10 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc($8, $10); - HEAP8[$97 >> 0] = 0; - }; - HEAP32[$8 >> 2] = HEAP32[$11 >> 2]; - HEAP32[$8 + 4 >> 2] = HEAP32[$11 + 4 >> 2]; - HEAP32[$8 + 8 >> 2] = HEAP32[$11 + 8 >> 2]; - $$0$i$i$i67 = 0; - while (1) { - if (($$0$i$i$i67 | 0) == 3) break; - HEAP32[$11 + ($$0$i$i$i67 << 2) >> 2] = 0; - $$0$i$i$i67 = $$0$i$i$i67 + 1 | 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($11); - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$89 >> 2] | 0) + 28 >> 2] & 255]($11, $89); - $112 = $7 + 11 | 0; - if ((HEAP8[$112 >> 0] | 0) < 0) { - $115 = HEAP32[$7 >> 2] | 0; - HEAP8[$10 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc($115, $10); - HEAP32[$7 + 4 >> 2] = 0; - if ((HEAP8[$112 >> 0] | 0) < 0) { - $119 = $7 + 8 | 0; - __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm(HEAP32[$7 >> 2] | 0, HEAP32[$119 >> 2] & 2147483647); - HEAP32[$119 >> 2] = 0; - } - } else { - HEAP8[$10 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc($7, $10); - HEAP8[$112 >> 0] = 0; - }; - HEAP32[$7 >> 2] = HEAP32[$11 >> 2]; - HEAP32[$7 + 4 >> 2] = HEAP32[$11 + 4 >> 2]; - HEAP32[$7 + 8 >> 2] = HEAP32[$11 + 8 >> 2]; - $$0$i$i$i75 = 0; - while (1) { - if (($$0$i$i$i75 | 0) == 3) break; - HEAP32[$11 + ($$0$i$i$i75 << 2) >> 2] = 0; - $$0$i$i$i75 = $$0$i$i$i75 + 1 | 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($11); - $127 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$89 >> 2] | 0) + 12 >> 2] & 127]($89) | 0; - HEAP8[$3 >> 0] = $127; - $131 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$89 >> 2] | 0) + 16 >> 2] & 127]($89) | 0; - HEAP8[$4 >> 0] = $131; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$89 >> 2] | 0) + 20 >> 2] & 255]($11, $89); - $135 = $5 + 11 | 0; - if ((HEAP8[$135 >> 0] | 0) < 0) { - $138 = HEAP32[$5 >> 2] | 0; - HEAP8[$10 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc($138, $10); - HEAP32[$5 + 4 >> 2] = 0; - if ((HEAP8[$135 >> 0] | 0) < 0) { - $142 = $5 + 8 | 0; - __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm(HEAP32[$5 >> 2] | 0, HEAP32[$142 >> 2] & 2147483647); - HEAP32[$142 >> 2] = 0; - } - } else { - HEAP8[$10 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc($5, $10); - HEAP8[$135 >> 0] = 0; - }; - HEAP32[$5 >> 2] = HEAP32[$11 >> 2]; - HEAP32[$5 + 4 >> 2] = HEAP32[$11 + 4 >> 2]; - HEAP32[$5 + 8 >> 2] = HEAP32[$11 + 8 >> 2]; - $$0$i$i$i83 = 0; - while (1) { - if (($$0$i$i$i83 | 0) == 3) break; - HEAP32[$11 + ($$0$i$i$i83 << 2) >> 2] = 0; - $$0$i$i$i83 = $$0$i$i$i83 + 1 | 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($11); - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$89 >> 2] | 0) + 24 >> 2] & 255]($11, $89); - $150 = $6 + 11 | 0; - if ((HEAP8[$150 >> 0] | 0) < 0) { - $153 = HEAP32[$6 >> 2] | 0; - HEAP8[$10 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc($153, $10); - HEAP32[$6 + 4 >> 2] = 0; - if ((HEAP8[$150 >> 0] | 0) < 0) { - $157 = $6 + 8 | 0; - __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm(HEAP32[$6 >> 2] | 0, HEAP32[$157 >> 2] & 2147483647); - HEAP32[$157 >> 2] = 0; - } - } else { - HEAP8[$10 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc($6, $10); - HEAP8[$150 >> 0] = 0; - }; - HEAP32[$6 >> 2] = HEAP32[$11 >> 2]; - HEAP32[$6 + 4 >> 2] = HEAP32[$11 + 4 >> 2]; - HEAP32[$6 + 8 >> 2] = HEAP32[$11 + 8 >> 2]; - $$0$i$i$i91 = 0; - while (1) { - if (($$0$i$i$i91 | 0) == 3) break; - HEAP32[$11 + ($$0$i$i$i91 << 2) >> 2] = 0; - $$0$i$i$i91 = $$0$i$i$i91 + 1 | 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($11); - $storemerge = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$89 >> 2] | 0) + 36 >> 2] & 127]($89) | 0; - } - HEAP32[$9 >> 2] = $storemerge; - STACKTOP = sp; - return; + return $retval$1 | 0; } -function __ZNSt3__211__money_getIwE13__gather_infoEbRKNS_6localeERNS_10money_base7patternERwS8_RNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEERNS9_IwNSA_IwEENSC_IwEEEESJ_SJ_Ri($0, $1, $2, $3, $4, $5, $6, $7, $8, $9) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - $6 = $6 | 0; - $7 = $7 | 0; - $8 = $8 | 0; - $9 = $9 | 0; - var $$0$i$i$i = 0, $$0$i$i$i43 = 0, $$0$i$i$i47 = 0, $$0$i$i$i54 = 0, $$0$i$i$i62 = 0, $$0$i$i$i70 = 0, $$0$i$i$i78 = 0, $$0$i$i$i86 = 0, $10 = 0, $101 = 0, $11 = 0, $112 = 0, $113 = 0, $116 = 0, $12 = 0, $127 = 0, $131 = 0, $135 = 0, $138 = 0, $142 = 0, $150 = 0, $151 = 0, $154 = 0, $16 = 0, $20 = 0, $21 = 0, $24 = 0, $35 = 0, $36 = 0, $39 = 0, $50 = 0, $54 = 0, $58 = 0, $61 = 0, $65 = 0, $73 = 0, $74 = 0, $77 = 0, $89 = 0, $93 = 0, $97 = 0, $98 = 0, $storemerge = 0, sp = 0; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E16parseSpecialNameEv($this) { + $this = $this | 0; + var $Ty = 0, $call104 = 0, $call121 = 0, $call13 = 0, $call132 = 0, $call136 = 0, $call24 = 0, $call35 = 0, $call49 = 0, $call58 = 0, $call59 = 0, $call6 = 0, $call68 = 0, $call79 = 0, $call90 = 0, $cmp99 = 0, $ref$tmp = 0, $retval$0 = 0, $retval$1 = 0, $retval$11 = 0, $retval$12 = 0, $retval$13 = 0, $retval$14 = 0, $retval$2 = 0, $retval$3 = 0, $retval$4 = 0, $retval$5 = 0, $retval$6 = 0, $retval$7 = 0, $retval$8 = 0, $retval$9 = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $10 = sp + 12 | 0; - $11 = sp; - if ($0) { - $12 = __ZNKSt3__26locale9use_facetERNS0_2idE($1, 66760) | 0; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$12 >> 2] | 0) + 44 >> 2] & 255]($10, $12); - $16 = HEAP32[$10 >> 2] | 0; - HEAP8[$2 >> 0] = $16; - HEAP8[$2 + 1 >> 0] = $16 >> 8; - HEAP8[$2 + 2 >> 0] = $16 >> 16; - HEAP8[$2 + 3 >> 0] = $16 >> 24; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$12 >> 2] | 0) + 32 >> 2] & 255]($11, $12); - $20 = $8 + 8 | 0; - $21 = $20 + 3 | 0; - if ((HEAP8[$21 >> 0] | 0) < 0) { - $24 = HEAP32[$8 >> 2] | 0; - HEAP32[$10 >> 2] = 0; - __ZNSt3__211char_traitsIwE6assignERwRKw($24, $10); - HEAP32[$8 + 4 >> 2] = 0; - if ((HEAP8[$21 >> 0] | 0) < 0) { - __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm(HEAP32[$8 >> 2] | 0, HEAP32[$20 >> 2] << 2); - HEAP32[$20 >> 2] = 0; - } - } else { - HEAP32[$10 >> 2] = 0; - __ZNSt3__211char_traitsIwE6assignERwRKw($8, $10); - HEAP8[$21 >> 0] = 0; - }; - HEAP32[$8 >> 2] = HEAP32[$11 >> 2]; - HEAP32[$8 + 4 >> 2] = HEAP32[$11 + 4 >> 2]; - HEAP32[$8 + 8 >> 2] = HEAP32[$11 + 8 >> 2]; - $$0$i$i$i = 0; - while (1) { - if (($$0$i$i$i | 0) == 3) break; - HEAP32[$11 + ($$0$i$i$i << 2) >> 2] = 0; - $$0$i$i$i = $$0$i$i$i + 1 | 0; - } - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev($11); - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$12 >> 2] | 0) + 28 >> 2] & 255]($11, $12); - $35 = $7 + 8 | 0; - $36 = $35 + 3 | 0; - if ((HEAP8[$36 >> 0] | 0) < 0) { - $39 = HEAP32[$7 >> 2] | 0; - HEAP32[$10 >> 2] = 0; - __ZNSt3__211char_traitsIwE6assignERwRKw($39, $10); - HEAP32[$7 + 4 >> 2] = 0; - if ((HEAP8[$36 >> 0] | 0) < 0) { - __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm(HEAP32[$7 >> 2] | 0, HEAP32[$35 >> 2] << 2); - HEAP32[$35 >> 2] = 0; - } - } else { - HEAP32[$10 >> 2] = 0; - __ZNSt3__211char_traitsIwE6assignERwRKw($7, $10); - HEAP8[$36 >> 0] = 0; - }; - HEAP32[$7 >> 2] = HEAP32[$11 >> 2]; - HEAP32[$7 + 4 >> 2] = HEAP32[$11 + 4 >> 2]; - HEAP32[$7 + 8 >> 2] = HEAP32[$11 + 8 >> 2]; - $$0$i$i$i43 = 0; - while (1) { - if (($$0$i$i$i43 | 0) == 3) break; - HEAP32[$11 + ($$0$i$i$i43 << 2) >> 2] = 0; - $$0$i$i$i43 = $$0$i$i$i43 + 1 | 0; - } - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev($11); - $50 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$12 >> 2] | 0) + 12 >> 2] & 127]($12) | 0; - HEAP32[$3 >> 2] = $50; - $54 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$12 >> 2] | 0) + 16 >> 2] & 127]($12) | 0; - HEAP32[$4 >> 2] = $54; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$12 >> 2] | 0) + 20 >> 2] & 255]($11, $12); - $58 = $5 + 11 | 0; - if ((HEAP8[$58 >> 0] | 0) < 0) { - $61 = HEAP32[$5 >> 2] | 0; - HEAP8[$10 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc($61, $10); - HEAP32[$5 + 4 >> 2] = 0; - if ((HEAP8[$58 >> 0] | 0) < 0) { - $65 = $5 + 8 | 0; - __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm(HEAP32[$5 >> 2] | 0, HEAP32[$65 >> 2] & 2147483647); - HEAP32[$65 >> 2] = 0; - } - } else { - HEAP8[$10 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc($5, $10); - HEAP8[$58 >> 0] = 0; - }; - HEAP32[$5 >> 2] = HEAP32[$11 >> 2]; - HEAP32[$5 + 4 >> 2] = HEAP32[$11 + 4 >> 2]; - HEAP32[$5 + 8 >> 2] = HEAP32[$11 + 8 >> 2]; - $$0$i$i$i47 = 0; - while (1) { - if (($$0$i$i$i47 | 0) == 3) break; - HEAP32[$11 + ($$0$i$i$i47 << 2) >> 2] = 0; - $$0$i$i$i47 = $$0$i$i$i47 + 1 | 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($11); - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$12 >> 2] | 0) + 24 >> 2] & 255]($11, $12); - $73 = $6 + 8 | 0; - $74 = $73 + 3 | 0; - if ((HEAP8[$74 >> 0] | 0) < 0) { - $77 = HEAP32[$6 >> 2] | 0; - HEAP32[$10 >> 2] = 0; - __ZNSt3__211char_traitsIwE6assignERwRKw($77, $10); - HEAP32[$6 + 4 >> 2] = 0; - if ((HEAP8[$74 >> 0] | 0) < 0) { - __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm(HEAP32[$6 >> 2] | 0, HEAP32[$73 >> 2] << 2); - HEAP32[$73 >> 2] = 0; - } - } else { - HEAP32[$10 >> 2] = 0; - __ZNSt3__211char_traitsIwE6assignERwRKw($6, $10); - HEAP8[$74 >> 0] = 0; - }; - HEAP32[$6 >> 2] = HEAP32[$11 >> 2]; - HEAP32[$6 + 4 >> 2] = HEAP32[$11 + 4 >> 2]; - HEAP32[$6 + 8 >> 2] = HEAP32[$11 + 8 >> 2]; - $$0$i$i$i54 = 0; - while (1) { - if (($$0$i$i$i54 | 0) == 3) break; - HEAP32[$11 + ($$0$i$i$i54 << 2) >> 2] = 0; - $$0$i$i$i54 = $$0$i$i$i54 + 1 | 0; - } - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev($11); - $storemerge = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$12 >> 2] | 0) + 36 >> 2] & 127]($12) | 0; - } else { - $89 = __ZNKSt3__26locale9use_facetERNS0_2idE($1, 66752) | 0; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$89 >> 2] | 0) + 44 >> 2] & 255]($10, $89); - $93 = HEAP32[$10 >> 2] | 0; - HEAP8[$2 >> 0] = $93; - HEAP8[$2 + 1 >> 0] = $93 >> 8; - HEAP8[$2 + 2 >> 0] = $93 >> 16; - HEAP8[$2 + 3 >> 0] = $93 >> 24; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$89 >> 2] | 0) + 32 >> 2] & 255]($11, $89); - $97 = $8 + 8 | 0; - $98 = $97 + 3 | 0; - if ((HEAP8[$98 >> 0] | 0) < 0) { - $101 = HEAP32[$8 >> 2] | 0; - HEAP32[$10 >> 2] = 0; - __ZNSt3__211char_traitsIwE6assignERwRKw($101, $10); - HEAP32[$8 + 4 >> 2] = 0; - if ((HEAP8[$98 >> 0] | 0) < 0) { - __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm(HEAP32[$8 >> 2] | 0, HEAP32[$97 >> 2] << 2); - HEAP32[$97 >> 2] = 0; - } - } else { - HEAP32[$10 >> 2] = 0; - __ZNSt3__211char_traitsIwE6assignERwRKw($8, $10); - HEAP8[$98 >> 0] = 0; - }; - HEAP32[$8 >> 2] = HEAP32[$11 >> 2]; - HEAP32[$8 + 4 >> 2] = HEAP32[$11 + 4 >> 2]; - HEAP32[$8 + 8 >> 2] = HEAP32[$11 + 8 >> 2]; - $$0$i$i$i62 = 0; - while (1) { - if (($$0$i$i$i62 | 0) == 3) break; - HEAP32[$11 + ($$0$i$i$i62 << 2) >> 2] = 0; - $$0$i$i$i62 = $$0$i$i$i62 + 1 | 0; - } - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev($11); - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$89 >> 2] | 0) + 28 >> 2] & 255]($11, $89); - $112 = $7 + 8 | 0; - $113 = $112 + 3 | 0; - if ((HEAP8[$113 >> 0] | 0) < 0) { - $116 = HEAP32[$7 >> 2] | 0; - HEAP32[$10 >> 2] = 0; - __ZNSt3__211char_traitsIwE6assignERwRKw($116, $10); - HEAP32[$7 + 4 >> 2] = 0; - if ((HEAP8[$113 >> 0] | 0) < 0) { - __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm(HEAP32[$7 >> 2] | 0, HEAP32[$112 >> 2] << 2); - HEAP32[$112 >> 2] = 0; - } - } else { - HEAP32[$10 >> 2] = 0; - __ZNSt3__211char_traitsIwE6assignERwRKw($7, $10); - HEAP8[$113 >> 0] = 0; - }; - HEAP32[$7 >> 2] = HEAP32[$11 >> 2]; - HEAP32[$7 + 4 >> 2] = HEAP32[$11 + 4 >> 2]; - HEAP32[$7 + 8 >> 2] = HEAP32[$11 + 8 >> 2]; - $$0$i$i$i70 = 0; - while (1) { - if (($$0$i$i$i70 | 0) == 3) break; - HEAP32[$11 + ($$0$i$i$i70 << 2) >> 2] = 0; - $$0$i$i$i70 = $$0$i$i$i70 + 1 | 0; - } - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev($11); - $127 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$89 >> 2] | 0) + 12 >> 2] & 127]($89) | 0; - HEAP32[$3 >> 2] = $127; - $131 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$89 >> 2] | 0) + 16 >> 2] & 127]($89) | 0; - HEAP32[$4 >> 2] = $131; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$89 >> 2] | 0) + 20 >> 2] & 255]($11, $89); - $135 = $5 + 11 | 0; - if ((HEAP8[$135 >> 0] | 0) < 0) { - $138 = HEAP32[$5 >> 2] | 0; - HEAP8[$10 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc($138, $10); - HEAP32[$5 + 4 >> 2] = 0; - if ((HEAP8[$135 >> 0] | 0) < 0) { - $142 = $5 + 8 | 0; - __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm(HEAP32[$5 >> 2] | 0, HEAP32[$142 >> 2] & 2147483647); - HEAP32[$142 >> 2] = 0; - } - } else { - HEAP8[$10 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc($5, $10); - HEAP8[$135 >> 0] = 0; - }; - HEAP32[$5 >> 2] = HEAP32[$11 >> 2]; - HEAP32[$5 + 4 >> 2] = HEAP32[$11 + 4 >> 2]; - HEAP32[$5 + 8 >> 2] = HEAP32[$11 + 8 >> 2]; - $$0$i$i$i78 = 0; - while (1) { - if (($$0$i$i$i78 | 0) == 3) break; - HEAP32[$11 + ($$0$i$i$i78 << 2) >> 2] = 0; - $$0$i$i$i78 = $$0$i$i$i78 + 1 | 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($11); - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$89 >> 2] | 0) + 24 >> 2] & 255]($11, $89); - $150 = $6 + 8 | 0; - $151 = $150 + 3 | 0; - if ((HEAP8[$151 >> 0] | 0) < 0) { - $154 = HEAP32[$6 >> 2] | 0; - HEAP32[$10 >> 2] = 0; - __ZNSt3__211char_traitsIwE6assignERwRKw($154, $10); - HEAP32[$6 + 4 >> 2] = 0; - if ((HEAP8[$151 >> 0] | 0) < 0) { - __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm(HEAP32[$6 >> 2] | 0, HEAP32[$150 >> 2] << 2); - HEAP32[$150 >> 2] = 0; - } - } else { - HEAP32[$10 >> 2] = 0; - __ZNSt3__211char_traitsIwE6assignERwRKw($6, $10); - HEAP8[$151 >> 0] = 0; - }; - HEAP32[$6 >> 2] = HEAP32[$11 >> 2]; - HEAP32[$6 + 4 >> 2] = HEAP32[$11 + 4 >> 2]; - HEAP32[$6 + 8 >> 2] = HEAP32[$11 + 8 >> 2]; - $$0$i$i$i86 = 0; - while (1) { - if (($$0$i$i$i86 | 0) == 3) break; - HEAP32[$11 + ($$0$i$i$i86 << 2) >> 2] = 0; - $$0$i$i$i86 = $$0$i$i$i86 + 1 | 0; - } - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev($11); - $storemerge = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$89 >> 2] | 0) + 36 >> 2] & 127]($89) | 0; - } - HEAP32[$9 >> 2] = $storemerge; - STACKTOP = sp; - return; -} - -function _ar2GetTransMatHomographyRobust_178($initConv, $pos2d, $pos3d, $num, $conv, $inlierProb) { - $initConv = $initConv | 0; - $pos2d = $pos2d | 0; - $pos3d = $pos3d | 0; - $num = $num | 0; - $conv = $conv | 0; - $inlierProb = +$inlierProb; - var $21 = 0.0, $22 = 0.0, $5 = 0.0, $7 = 0.0, $K2$0 = 0.0, $add49 = 0.0, $add63 = 0.0, $add75 = 0.0, $add95 = 0.0, $arrayidx181 = 0, $arrayidx2 = 0, $arrayidx368 = 0, $arrayidx372 = 0, $arrayidx376 = 0, $arrayidx380 = 0, $arrayidx384 = 0, $arrayidx388 = 0, $arrayidx392 = 0, $arrayidx43 = 0, $arrayidx48 = 0, $arrayidx51 = 0, $arrayidx56 = 0, $arrayidx62 = 0, $arrayidx65 = 0, $arrayidx70 = 0, $call = 0, $call13 = 0, $call17 = 0, $call21 = 0, $conv5 = 0.0, $dH = 0, $div100 = 0.0, $div106 = 0.0, $div110 = 0.0, $div190 = 0.0, $div190$pn = 0.0, $div209 = 0.0, $err0$0 = 0.0, $err1$0 = 0.0, $i$0 = 0, $i$1 = 0, $j$0 = 0, $j$1 = 0, $j$2 = 0, $j$3 = 0, $k$0 = 0, $k$1 = 0, $mul101 = 0, $mul16 = 0, $mul182 = 0.0, $mul232 = 0.0, $mul233 = 0, $mul237 = 0, $mul345 = 0, $mul78 = 0.0, $mul87 = 0, $retval$0 = 0.0, $spec$store$select = 0, $sub = 0, $sub195 = 0.0, $sub228 = 0.0, $sub83 = 0.0, $sub86 = 0.0, $vararg_buffer = 0, $vararg_buffer1 = 0, $vararg_buffer3 = 0, $vararg_buffer5 = 0, label = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 64 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(64); - $vararg_buffer5 = sp + 56 | 0; - $vararg_buffer3 = sp + 48 | 0; - $vararg_buffer1 = sp + 40 | 0; - $vararg_buffer = sp + 32 | 0; - $dH = sp; - do if (($num | 0) >= 4 ? ($arrayidx2 = $initConv + 44 | 0, !(+HEAPF32[$arrayidx2 >> 2] == 0.0)) : 0) { - $conv5 = +($num | 0); - $sub = ~~($conv5 * $inlierProb) + -1 | 0; - $spec$store$select = ($sub | 0) > 4 ? $sub : 4; - $call = _malloc($num << 6) | 0; - if (!$call) { - _arLog(0, 3, 45947, $vararg_buffer); - $retval$0 = -1.0; - break; - } - $call13 = _malloc($num << 3) | 0; - if (!$call13) { - _arLog(0, 3, 45947, $vararg_buffer1); - _free($call); - $retval$0 = -1.0; - break; - } - $mul16 = $num << 2; - $call17 = _malloc($mul16) | 0; - if (!$call17) { - _arLog(0, 3, 45947, $vararg_buffer3); - _free($call); - _free($call13); - $retval$0 = -1.0; - break; - } - $call21 = _malloc($mul16) | 0; - if (!$call21) { - _arLog(0, 3, 45947, $vararg_buffer5); - _free($call); - _free($call13); - _free($call17); - $retval$0 = -1.0; - break; - } - $j$0 = 0; - while (1) { - if (($j$0 | 0) == 3) break; - $i$0 = 0; - while (1) { - if (($i$0 | 0) == 4) break; - HEAPF32[$conv + ($j$0 << 4) + ($i$0 << 2) >> 2] = +HEAPF32[$initConv + ($j$0 << 4) + ($i$0 << 2) >> 2] / +HEAPF32[$arrayidx2 >> 2]; - $i$0 = $i$0 + 1 | 0; - } - $j$0 = $j$0 + 1 | 0; - } - $arrayidx43 = $conv + 4 | 0; - $arrayidx48 = $conv + 12 | 0; - $arrayidx51 = $conv + 16 | 0; - $arrayidx56 = $conv + 20 | 0; - $arrayidx62 = $conv + 28 | 0; - $arrayidx65 = $conv + 32 | 0; - $arrayidx70 = $conv + 36 | 0; - $arrayidx181 = $call21 + ($spec$store$select << 2) | 0; - $arrayidx368 = $dH + 4 | 0; - $arrayidx372 = $dH + 8 | 0; - $arrayidx376 = $dH + 12 | 0; - $arrayidx380 = $dH + 16 | 0; - $arrayidx384 = $dH + 20 | 0; - $arrayidx388 = $dH + 24 | 0; - $arrayidx392 = $dH + 28 | 0; - $err0$0 = 0.0; - $i$1 = 0; - L24 : while (1) { - $j$1 = 0; - while (1) { - if (($j$1 | 0) >= ($num | 0)) break; - $5 = +HEAPF32[$pos3d + ($j$1 * 12 | 0) >> 2]; - $7 = +HEAPF32[$pos3d + ($j$1 * 12 | 0) + 4 >> 2]; - $add49 = +HEAPF32[$arrayidx48 >> 2] + (+HEAPF32[$conv >> 2] * $5 + +HEAPF32[$arrayidx43 >> 2] * $7); - $add63 = +HEAPF32[$arrayidx62 >> 2] + ($5 * +HEAPF32[$arrayidx51 >> 2] + $7 * +HEAPF32[$arrayidx56 >> 2]); - $add75 = $5 * +HEAPF32[$arrayidx65 >> 2] + $7 * +HEAPF32[$arrayidx70 >> 2] + 1.0; - if ($add75 == 0.0) { - label = 21; - break L24; + $Ty = sp + 8 | 0; + $ref$tmp = sp; + L1 : do switch ((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($this, 0) | 0) << 24 >> 24 | 0) { + case 84: + { + switch ((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($this, 1) | 0) << 24 >> 24 | 0) { + case 86: + { + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 2; + $call6 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseTypeEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0) | 0; + HEAP32[$Ty >> 2] = $call6; + if (!$call6) $retval$0 = 0; else $retval$0 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_11SpecialNameEJRA12_KcRPNS0_4NodeEEEESC_DpOT0_($this, $Ty) | 0; + $retval$14 = $retval$0; + break L1; + break; } - $mul78 = $add75 * $add75; - $sub83 = +HEAPF32[$pos2d + ($j$1 << 3) >> 2] - $add49 / $add75; - $sub86 = +HEAPF32[$pos2d + ($j$1 << 3) + 4 >> 2] - $add63 / $add75; - $mul87 = $j$1 << 1; - HEAPF32[$call13 + ($mul87 << 2) >> 2] = $sub83; - HEAPF32[$call13 + (($mul87 | 1) << 2) >> 2] = $sub86; - $add95 = $sub83 * $sub83 + $sub86 * $sub86; - HEAPF32[$call21 + ($j$1 << 2) >> 2] = $add95; - HEAPF32[$call17 + ($j$1 << 2) >> 2] = $add95; - $div100 = $5 / $add75; - $mul101 = $j$1 << 4; - HEAPF32[$call + ($mul101 << 2) >> 2] = $div100; - $div106 = $7 / $add75; - HEAPF32[$call + (($mul101 | 1) << 2) >> 2] = $div106; - $div110 = 1.0 / $add75; - HEAPF32[$call + (($mul101 | 2) << 2) >> 2] = $div110; - HEAPF32[$call + (($mul101 | 3) << 2) >> 2] = 0.0; - HEAPF32[$call + (($mul101 | 4) << 2) >> 2] = 0.0; - HEAPF32[$call + (($mul101 | 5) << 2) >> 2] = 0.0; - HEAPF32[$call + (($mul101 | 6) << 2) >> 2] = -($5 * $add49) / $mul78; - HEAPF32[$call + (($mul101 | 7) << 2) >> 2] = -($7 * $add49) / $mul78; - HEAPF32[$call + (($mul101 | 8) << 2) >> 2] = 0.0; - HEAPF32[$call + (($mul101 | 9) << 2) >> 2] = 0.0; - HEAPF32[$call + (($mul101 | 10) << 2) >> 2] = 0.0; - HEAPF32[$call + (($mul101 | 11) << 2) >> 2] = $div100; - HEAPF32[$call + (($mul101 | 12) << 2) >> 2] = $div106; - HEAPF32[$call + (($mul101 | 13) << 2) >> 2] = $div110; - HEAPF32[$call + (($mul101 | 14) << 2) >> 2] = -($5 * $add63) / $mul78; - HEAPF32[$call + (($mul101 | 15) << 2) >> 2] = -($7 * $add63) / $mul78; - $j$1 = $j$1 + 1 | 0; - } - _qsort($call21, $num, 4, 56); - $mul182 = +HEAPF32[$arrayidx181 >> 2] * 4.0; - $K2$0 = $mul182 < 16.0 ? 16.0 : $mul182; - $div190 = $K2$0 / 6.0; - $err1$0 = 0.0; - $j$2 = 0; - while (1) { - if (($j$2 | 0) == ($num | 0)) break; - $21 = +HEAPF32[$call21 + ($j$2 << 2) >> 2]; - if ($21 > $K2$0) $div190$pn = $div190; else { - $sub195 = 1.0 - $21 / $K2$0; - $div190$pn = $div190 * (1.0 - $sub195 * ($sub195 * $sub195)); + case 84: + { + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 2; + $call13 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseTypeEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0) | 0; + HEAP32[$Ty >> 2] = $call13; + if (!$call13) $retval$1 = 0; else $retval$1 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_11SpecialNameEJRA9_KcRPNS0_4NodeEEEESC_DpOT0_($this, $Ty) | 0; + $retval$14 = $retval$1; + break L1; + break; } - $err1$0 = $err1$0 + $div190$pn; - $j$2 = $j$2 + 1 | 0; - } - $div209 = $err1$0 / $conv5; - if ($div209 < .10000000149011612) { - label = 42; - break; - } - if (($i$1 | 0) != 0 & $div209 < 4.0) { - if (($i$1 | 0) == 10 | $div209 / $err0$0 > .9900000095367432) { - label = 42; + case 73: + { + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 2; + $call24 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseTypeEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0) | 0; + HEAP32[$Ty >> 2] = $call24; + if (!$call24) $retval$2 = 0; else $retval$2 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_11SpecialNameEJRA14_KcRPNS0_4NodeEEEESC_DpOT0_($this, $Ty) | 0; + $retval$14 = $retval$2; + break L1; break; } - } else if (($i$1 | 0) == 10) { - label = 42; - break; - } - $j$3 = 0; - $k$0 = 0; - while (1) { - if (($j$3 | 0) == ($num | 0)) break; - $22 = +HEAPF32[$call17 + ($j$3 << 2) >> 2]; - if (!($22 <= $K2$0)) $k$1 = $k$0; else { - $sub228 = 1.0 - $22 / $K2$0; - $mul232 = $sub228 * $sub228; - $mul233 = $j$3 << 4; - $mul237 = $k$0 << 3; - HEAPF32[$call + ($mul237 << 2) >> 2] = $mul232 * +HEAPF32[$call + ($mul233 << 2) >> 2]; - HEAPF32[$call + (($mul237 | 1) << 2) >> 2] = $mul232 * +HEAPF32[$call + (($mul233 | 1) << 2) >> 2]; - HEAPF32[$call + (($mul237 | 2) << 2) >> 2] = $mul232 * +HEAPF32[$call + (($mul233 | 2) << 2) >> 2]; - HEAPF32[$call + (($mul237 | 3) << 2) >> 2] = $mul232 * +HEAPF32[$call + (($mul233 | 3) << 2) >> 2]; - HEAPF32[$call + (($mul237 | 4) << 2) >> 2] = $mul232 * +HEAPF32[$call + (($mul233 | 4) << 2) >> 2]; - HEAPF32[$call + (($mul237 | 5) << 2) >> 2] = $mul232 * +HEAPF32[$call + (($mul233 | 5) << 2) >> 2]; - HEAPF32[$call + (($mul237 | 6) << 2) >> 2] = $mul232 * +HEAPF32[$call + (($mul233 | 6) << 2) >> 2]; - HEAPF32[$call + (($mul237 | 7) << 2) >> 2] = $mul232 * +HEAPF32[$call + (($mul233 | 7) << 2) >> 2]; - HEAPF32[$call + ($mul237 + 8 << 2) >> 2] = $mul232 * +HEAPF32[$call + (($mul233 | 8) << 2) >> 2]; - HEAPF32[$call + ($mul237 + 9 << 2) >> 2] = $mul232 * +HEAPF32[$call + (($mul233 | 9) << 2) >> 2]; - HEAPF32[$call + ($mul237 + 10 << 2) >> 2] = $mul232 * +HEAPF32[$call + (($mul233 | 10) << 2) >> 2]; - HEAPF32[$call + ($mul237 + 11 << 2) >> 2] = $mul232 * +HEAPF32[$call + (($mul233 | 11) << 2) >> 2]; - HEAPF32[$call + ($mul237 + 12 << 2) >> 2] = $mul232 * +HEAPF32[$call + (($mul233 | 12) << 2) >> 2]; - HEAPF32[$call + ($mul237 + 13 << 2) >> 2] = $mul232 * +HEAPF32[$call + (($mul233 | 13) << 2) >> 2]; - HEAPF32[$call + ($mul237 + 14 << 2) >> 2] = $mul232 * +HEAPF32[$call + (($mul233 | 14) << 2) >> 2]; - HEAPF32[$call + ($mul237 + 15 << 2) >> 2] = $mul232 * +HEAPF32[$call + (($mul233 | 15) << 2) >> 2]; - $mul345 = $j$3 << 1; - HEAPF32[$call13 + ($k$0 << 2) >> 2] = $mul232 * +HEAPF32[$call13 + ($mul345 << 2) >> 2]; - HEAPF32[$call13 + ($k$0 + 1 << 2) >> 2] = $mul232 * +HEAPF32[$call13 + (($mul345 | 1) << 2) >> 2]; - $k$1 = $k$0 + 2 | 0; + case 83: + { + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 2; + $call35 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseTypeEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0) | 0; + HEAP32[$Ty >> 2] = $call35; + if (!$call35) $retval$3 = 0; else $retval$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_11SpecialNameEJRA19_KcRPNS0_4NodeEEEESC_DpOT0_($this, $Ty) | 0; + $retval$14 = $retval$3; + break L1; + break; + } + case 99: + { + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 2; + if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseCallOffsetEv($this) | 0) { + $retval$14 = 0; + break L1; + } + if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseCallOffsetEv($this) | 0) { + $retval$14 = 0; + break L1; + } + $call49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E13parseEncodingEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0) | 0; + HEAP32[$Ty >> 2] = $call49; + if (!$call49) $retval$4 = 0; else $retval$4 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_11SpecialNameEJRA27_KcRPNS0_4NodeEEEESC_DpOT0_($this, $Ty) | 0; + $retval$14 = $retval$4; + break L1; + break; + } + case 67: + { + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 2; + $call58 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0; + $call59 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseTypeEv($call58) | 0; + HEAP32[$Ty >> 2] = $call59; + do if ($call59) { + __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E11parseNumberEb($ref$tmp, $this, 1); + if (__ZNK12_GLOBAL__N_110StringView5emptyEv($ref$tmp) | 0) { + $retval$6 = 0; + break; + } + if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($this, 95) | 0) { + $call68 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseTypeEv($call58) | 0; + HEAP32[$ref$tmp >> 2] = $call68; + if (!$call68) $retval$5 = 0; else $retval$5 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_21CtorVtableSpecialNameEJRPNS0_4NodeESA_EEES9_DpOT0_($this, $ref$tmp, $Ty) | 0; + $retval$6 = $retval$5; + } else $retval$6 = 0; + } else $retval$6 = 0; while (0); + $retval$14 = $retval$6; + break L1; + break; + } + case 87: + { + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 2; + $call79 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseNameEPNS5_9NameStateE(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0, 0) | 0; + HEAP32[$Ty >> 2] = $call79; + if (!$call79) $retval$7 = 0; else $retval$7 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_11SpecialNameEJRA34_KcRPNS0_4NodeEEEESC_DpOT0_($this, 57581, $Ty) | 0; + $retval$14 = $retval$7; + break L1; + break; + } + case 72: + { + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 2; + $call90 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseNameEPNS5_9NameStateE(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0, 0) | 0; + HEAP32[$Ty >> 2] = $call90; + if (!$call90) $retval$8 = 0; else $retval$8 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_11SpecialNameEJRA41_KcRPNS0_4NodeEEEESC_DpOT0_($this, $Ty) | 0; + $retval$14 = $retval$8; + break L1; + break; + } + default: + { + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 1; + $cmp99 = (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($this, 0) | 0) << 24 >> 24 == 118; + if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseCallOffsetEv($this) | 0) { + $retval$14 = 0; + break L1; + } + $call104 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E13parseEncodingEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0) | 0; + HEAP32[$Ty >> 2] = $call104; + do if ($call104) if ($cmp99) { + $retval$9 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_11SpecialNameEJRA18_KcRPNS0_4NodeEEEESC_DpOT0_($this, $Ty) | 0; + break; + } else { + $retval$9 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_11SpecialNameEJRA22_KcRPNS0_4NodeEEEESC_DpOT0_($this, $Ty) | 0; + break; + } else $retval$9 = 0; while (0); + $retval$14 = $retval$9; + break L1; } - $j$3 = $j$3 + 1 | 0; - $k$0 = $k$1; } - if (($k$0 | 0) < 6) { - label = 38; + break; + } + case 71: + { + switch ((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($this, 1) | 0) << 24 >> 24 | 0) { + case 86: + { + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 2; + $call121 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseNameEPNS5_9NameStateE(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0, 0) | 0; + HEAP32[$Ty >> 2] = $call121; + if (!$call121) $retval$11 = 0; else $retval$11 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_11SpecialNameEJRA20_KcRPNS0_4NodeEEEESC_DpOT0_($this, $Ty) | 0; + $retval$14 = $retval$11; + break L1; + break; + } + case 82: break; + default: + { + $retval$14 = 0; + break L1; + } } - if ((_getDeltaS_181($dH, $call13, $call, $k$0) | 0) < 0) { - label = 40; - break; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 2; + $call132 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseNameEPNS5_9NameStateE(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0, 0) | 0; + HEAP32[$Ty >> 2] = $call132; + if (!$call132) $retval$13 = 0; else { + $call136 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10parseSeqIdEPm($this, $ref$tmp) | 0; + if ($call136 | (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($this, 95) | 0)) $retval$12 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_11SpecialNameEJRA25_KcRPNS0_4NodeEEEESC_DpOT0_($this, $Ty) | 0; else $retval$12 = 0; + $retval$13 = $retval$12; } - HEAPF32[$conv >> 2] = +HEAPF32[$dH >> 2] + +HEAPF32[$conv >> 2]; - HEAPF32[$arrayidx43 >> 2] = +HEAPF32[$arrayidx368 >> 2] + +HEAPF32[$arrayidx43 >> 2]; - HEAPF32[$arrayidx48 >> 2] = +HEAPF32[$arrayidx372 >> 2] + +HEAPF32[$arrayidx48 >> 2]; - HEAPF32[$arrayidx51 >> 2] = +HEAPF32[$arrayidx376 >> 2] + +HEAPF32[$arrayidx51 >> 2]; - HEAPF32[$arrayidx56 >> 2] = +HEAPF32[$arrayidx380 >> 2] + +HEAPF32[$arrayidx56 >> 2]; - HEAPF32[$arrayidx62 >> 2] = +HEAPF32[$arrayidx384 >> 2] + +HEAPF32[$arrayidx62 >> 2]; - HEAPF32[$arrayidx65 >> 2] = +HEAPF32[$arrayidx388 >> 2] + +HEAPF32[$arrayidx65 >> 2]; - HEAPF32[$arrayidx70 >> 2] = +HEAPF32[$arrayidx392 >> 2] + +HEAPF32[$arrayidx70 >> 2]; - $err0$0 = $div209; - $i$1 = $i$1 + 1 | 0; - } - if ((label | 0) == 21) { - _free($call); - _free($call13); - _free($call17); - _free($call21); - $retval$0 = 1.0e8; - break; - } else if ((label | 0) == 38) { - _free($call); - _free($call13); - _free($call17); - _free($call21); - $retval$0 = -1.0; - break; - } else if ((label | 0) == 40) { - _free($call); - _free($call13); - _free($call17); - _free($call21); - $retval$0 = 1.0e8; - break; - } else if ((label | 0) == 42) { - _free($call); - _free($call13); - _free($call17); - _free($call21); - $retval$0 = $div209; + $retval$14 = $retval$13; break; } - } else $retval$0 = 1.0e8; while (0); + default: + $retval$14 = 0; + } while (0); STACKTOP = sp; - return +$retval$0; + return $retval$14 | 0; } -function _decode_bch($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $$ = 0, $$0 = 0, $$0235 = 0, $$0237 = 0, $$0238 = 0, $$0240 = 0, $$0242 = 0, $$0245 = 0, $$0251 = 0, $$0253 = 0, $$0259 = 0, $$0261 = 0, $$0268 = 0, $$10 = 0, $$11 = 0, $$12 = 0, $$1236 = 0, $$1239 = 0, $$1241 = 0, $$1243 = 0, $$1246 = 0, $$1252 = 0, $$1254 = 0, $$1256 = 0, $$1260 = 0, $$1262 = 0, $$1264 = 0, $$2 = 0, $$2244 = 0, $$2247 = 0, $$2257 = 0, $$2265 = 0, $$3 = 0, $$3248 = 0, $$3258 = 0, $$3266 = 0, $$4 = 0, $$4249 = 0, $$5 = 0, $$5250 = 0, $$6 = 0, $$7 = 0, $$8 = 0, $$9 = 0, $$pre$phiZ2D = 0, $$pre280 = 0, $$sink = 0, $10 = 0, $105 = 0, $106 = 0, $107 = 0, $11 = 0, $114 = 0, $118 = 0, $12 = 0, $122 = 0, $126 = 0, $129 = 0, $137 = 0, $138 = 0, $14 = 0, $145 = 0, $157 = 0, $158 = 0, $161 = 0, $17 = 0, $175 = 0, $179 = 0, $18 = 0, $188 = 0, $189 = 0, $190 = 0, $192 = 0, $193 = 0, $194 = 0, $195 = 0, $196 = 0, $200 = 0, $205 = 0, $206 = 0, $21 = 0, $23 = 0, $30 = 0, $32 = 0, $33 = 0, $39 = 0, $41 = 0, $5 = 0, $52 = 0, $53 = 0, $55 = 0, $57 = 0, $58 = 0, $6 = 0, $66 = 0, $7 = 0, $79 = 0, $8 = 0, $81 = 0, $82 = 0, $84 = 0, $89 = 0, $9 = 0, $90 = 0, $93 = 0, label = 0, sp = 0, $$1243$looptemp = 0, $$0240$looptemp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 2384 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(2384); - $5 = sp + 2320 | 0; - $6 = sp + 880 | 0; - $7 = sp + 800 | 0; - $8 = sp + 720 | 0; - $9 = sp + 640 | 0; - $10 = sp + 560 | 0; - $11 = sp + 48 | 0; - $12 = sp; - switch ($0 | 0) { - case 2830: - { - $$0268 = $3; - $$1252 = 1200; - $$1254 = 688; - $$1260 = 120; - $$1262 = 127; - $$3258 = 64; - $$3266 = 9; - label = 8; - break; - } - case 772: - { - $$0251 = 624; - $$0253 = 432; - $$0259 = 13; - $$0261 = 15; - $$2257 = 9; - $$2265 = 1; - label = 5; - break; - } - case 1028: +function _jinit_color_deconverter($cinfo) { + $cinfo = $cinfo | 0; + var $$sink = 0, $10 = 0, $13 = 0, $17 = 0, $19 = 0, $21 = 0, $22 = 0, $24 = 0, $26 = 0, $29 = 0, $32 = 0, $4 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $53 = 0, $54 = 0, $55 = 0, $57 = 0, $59 = 0, $63 = 0, $65 = 0, $68 = 0, $7 = 0, $77 = 0, $78 = 0, $79 = 0, $80 = 0, $84 = 0, $88 = 0, $Cb_b_tab$i = 0, $Cb_b_tab$i107 = 0, $Cb_b_tab$i141 = 0, $Cr_g_tab$i = 0, $Cr_g_tab$i110 = 0, $Cr_g_tab$i144 = 0, $Cr_r_tab$i = 0, $Cr_r_tab$i104 = 0, $Cr_r_tab$i138 = 0, $add21$i = 0, $add21$i128 = 0, $add21$i162 = 0, $call = 0, $call$i = 0, $call$i103 = 0, $call$i137 = 0, $call$i94 = 0, $call10$i = 0, $call10$i112 = 0, $call10$i146 = 0, $call4$i = 0, $call4$i106 = 0, $call4$i140 = 0, $call7$i = 0, $call7$i109 = 0, $call7$i143 = 0, $cconvert1 = 0, $ci$0174 = 0, $color_transform = 0, $i$015$i = 0, $i$028$i = 0, $i$028$i116 = 0, $i$028$i150 = 0, $jpeg_color_space = 0, $mem = 0, $mul17$i = 0, $mul17$i125 = 0, $mul17$i159 = 0, $x$029$i = 0, $x$029$i115 = 0, $x$029$i149 = 0; + $mem = $cinfo + 4 | 0; + $call = FUNCTION_TABLE_iiii[HEAP32[HEAP32[$mem >> 2] >> 2] & 63]($cinfo, 1, 28) | 0; + $cconvert1 = $cinfo + 480 | 0; + HEAP32[$cconvert1 >> 2] = $call; + HEAP32[$call >> 2] = 196; + $jpeg_color_space = $cinfo + 40 | 0; + switch (HEAP32[$jpeg_color_space >> 2] | 0) { + case 1: { - $$0251 = 624; - $$0253 = 432; - $$0259 = 13; - $$0261 = 15; - $$2257 = 5; - $$2265 = 2; - label = 5; + if ((HEAP32[$cinfo + 36 >> 2] | 0) != 1) { + $4 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$4 + 20 >> 2] = 11; + FUNCTION_TABLE_vi[HEAP32[$4 >> 2] & 255]($cinfo); + } break; } - case 1029: + case 7: + case 6: + case 3: + case 2: { - $$1256 = 12; - $$1264 = 2; - label = 4; + if ((HEAP32[$cinfo + 36 >> 2] | 0) != 3) { + $7 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$7 + 20 >> 2] = 11; + FUNCTION_TABLE_vi[HEAP32[$7 >> 2] & 255]($cinfo); + } break; } - case 1285: + case 5: + case 4: { - $$1256 = 7; - $$1264 = 3; - label = 4; + if ((HEAP32[$cinfo + 36 >> 2] | 0) != 4) { + $10 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$10 + 20 >> 2] = 11; + FUNCTION_TABLE_vi[HEAP32[$10 >> 2] & 255]($cinfo); + } break; } default: - $$0237 = -1; - } - if ((label | 0) == 4) { - $$0251 = 496; - $$0253 = 304; - $$0259 = 22; - $$0261 = 31; - $$2257 = $$1256; - $$2265 = $$1264; - label = 5; + if ((HEAP32[$cinfo + 36 >> 2] | 0) < 1) { + $13 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$13 + 20 >> 2] = 11; + FUNCTION_TABLE_vi[HEAP32[$13 >> 2] & 255]($cinfo); + } } - L6 : do if ((label | 0) == 5) { - $$0245 = 0; - $14 = $1; - $17 = $2; - while (1) { - if (($$0245 | 0) == ($$0259 | 0)) { - $$0268 = $5; - $$1252 = $$0251; - $$1254 = $$0253; - $$1260 = $$0259; - $$1262 = $$0261; - $$3258 = $$2257; - $$3266 = $$2265; - label = 8; - break L6; + $color_transform = $cinfo + 304 | 0; + L11 : do if (HEAP32[$color_transform >> 2] | 0) { + switch (HEAP32[$jpeg_color_space >> 2] | 0) { + case 6: + case 2: + { + break L11; + break; } - HEAP8[$5 + $$0245 >> 0] = $14 & 1; - $18 = _bitshift64Lshr($14 | 0, $17 | 0, 1) | 0; - $$0245 = $$0245 + 1 | 0; - $14 = $18; - $17 = getTempRet0() | 0; + default: + {} } + $17 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$17 + 20 >> 2] = 28; + FUNCTION_TABLE_vi[HEAP32[$17 >> 2] & 255]($cinfo); } while (0); - L11 : do if ((label | 0) == 8) { - $21 = $$3266 << 1; - $$0 = 0; - $$1246 = 1; - while (1) { - if (($$1246 | 0) > ($21 | 0)) break; - $23 = $10 + ($$1246 << 2) | 0; - HEAP32[$23 >> 2] = 0; - $$0242 = 0; - $33 = 0; - while (1) { - if (($$0242 | 0) >= ($$1260 | 0)) break; - if (!(HEAP8[$$0268 + $$0242 >> 0] | 0)) $205 = $33; else { - $30 = $$1254 + (((Math_imul($$0242, $$1246) | 0) % ($$1262 | 0) | 0) << 2) | 0; - $32 = $33 ^ HEAP32[$30 >> 2]; - HEAP32[$23 >> 2] = $32; - $205 = $32; - } - $$0242 = $$0242 + 1 | 0; - $33 = $205; - } - HEAP32[$23 >> 2] = HEAP32[$$1252 + ($33 << 2) >> 2]; - $$0 = ($33 | 0) == 0 ? $$0 : 1; - $$1246 = $$1246 + 1 | 0; - } - $39 = ($$0 | 0) != 0; - L24 : do if ($39) { - HEAP32[$7 >> 2] = 0; - $41 = HEAP32[$10 + 4 >> 2] | 0; - HEAP32[$7 + 4 >> 2] = $41; - HEAP32[$6 >> 2] = 0; - HEAP32[$6 + 72 >> 2] = 1; - $$2247 = 1; - while (1) { - if (($$2247 | 0) >= ($21 | 0)) break; - HEAP32[$6 + ($$2247 << 2) >> 2] = -1; - HEAP32[$6 + 72 + ($$2247 << 2) >> 2] = 0; - $$2247 = $$2247 + 1 | 0; - } - HEAP32[$8 >> 2] = 0; - HEAP32[$8 + 4 >> 2] = 0; - HEAP32[$9 >> 2] = -1; - HEAP32[$9 + 4 >> 2] = 0; - $$0240 = 0; - $52 = $41; - $55 = 0; - while (1) { - $$0240$looptemp = $$0240; - $$0240 = $$0240 + 1 | 0; - L32 : do if (($52 | 0) == -1) { - $53 = $$0240$looptemp + 2 | 0; - HEAP32[$8 + ($53 << 2) >> 2] = $55; - $$3248 = 0; - while (1) { - if (($$3248 | 0) > ($55 | 0)) { - $$pre$phiZ2D = $53; - $114 = $55; - break L32; - } - $57 = $6 + ($$0240 * 72 | 0) + ($$3248 << 2) | 0; - $58 = HEAP32[$57 >> 2] | 0; - HEAP32[$6 + ($53 * 72 | 0) + ($$3248 << 2) >> 2] = $58; - HEAP32[$57 >> 2] = HEAP32[$$1252 + ($58 << 2) >> 2]; - $$3248 = $$3248 + 1 | 0; - } - } else { - $$0238 = $$0240$looptemp; - while (1) { - $66 = ($$0238 | 0) > 0; - if ($66 & (HEAP32[$7 + ($$0238 << 2) >> 2] | 0) == -1) $$0238 = $$0238 + -1 | 0; else break; - } - if ($66) { - $$1239 = $$0238; - $$1243 = $$0238; - while (1) { - $$1243$looptemp = $$1243; - $$1243 = $$1243 + -1 | 0; - if ((HEAP32[$7 + ($$1243 << 2) >> 2] | 0) == -1) $$2 = $$1239; else $$2 = (HEAP32[$9 + ($$1239 << 2) >> 2] | 0) < (HEAP32[$9 + ($$1243 << 2) >> 2] | 0) ? $$1243 : $$1239; - if (($$1243$looptemp | 0) <= 1) { - $$3 = $$2; - break; - } else $$1239 = $$2; - } - } else $$3 = $$0238; - $79 = $8 + ($$3 << 2) | 0; - $81 = $$0240 - $$3 | 0; - $82 = $81 + (HEAP32[$79 >> 2] | 0) | 0; - $84 = $$0240$looptemp + 2 | 0; - $$ = ($55 | 0) > ($82 | 0) ? $55 : $82; - HEAP32[$8 + ($84 << 2) >> 2] = $$; - $$4249 = 0; - while (1) { - if (($$4249 | 0) >= ($21 | 0)) break; - HEAP32[$6 + ($84 * 72 | 0) + ($$4249 << 2) >> 2] = 0; - $$4249 = $$4249 + 1 | 0; - } - $89 = $52 + $$1262 | 0; - $90 = $7 + ($$3 << 2) | 0; - $$pre280 = HEAP32[$79 >> 2] | 0; - $$5250 = 0; - while (1) { - if (($$5250 | 0) > ($$pre280 | 0)) break; - $93 = HEAP32[$6 + ($$3 * 72 | 0) + ($$5250 << 2) >> 2] | 0; - if (($93 | 0) != -1) HEAP32[$6 + ($84 * 72 | 0) + ($81 + $$5250 << 2) >> 2] = HEAP32[$$1254 + ((($89 + $93 - (HEAP32[$90 >> 2] | 0) | 0) % ($$1262 | 0) | 0) << 2) >> 2]; - $$5250 = $$5250 + 1 | 0; - } - $$6 = 0; - while (1) { - if (($$6 | 0) > ($55 | 0)) { - $$pre$phiZ2D = $84; - $114 = $$; - break L32; - } - $105 = $6 + ($$0240 * 72 | 0) + ($$6 << 2) | 0; - $106 = HEAP32[$105 >> 2] | 0; - $107 = $6 + ($84 * 72 | 0) + ($$6 << 2) | 0; - HEAP32[$107 >> 2] = HEAP32[$107 >> 2] ^ $106; - HEAP32[$105 >> 2] = HEAP32[$$1252 + ($106 << 2) >> 2]; - $$6 = $$6 + 1 | 0; - } - } while (0); - HEAP32[$9 + ($$pre$phiZ2D << 2) >> 2] = $$0240 - $114; - if (($$0240 | 0) >= ($21 | 0)) break; - $118 = HEAP32[$10 + ($$pre$phiZ2D << 2) >> 2] | 0; - if (($118 | 0) == -1) $$sink = 0; else $$sink = HEAP32[$$1254 + ($118 << 2) >> 2] | 0; - $122 = $7 + ($$pre$phiZ2D << 2) | 0; - HEAP32[$122 >> 2] = $$sink; - $$7 = 1; - $138 = $$sink; - while (1) { - if (($$7 | 0) > ($114 | 0)) break; - $126 = HEAP32[$10 + ($$pre$phiZ2D - $$7 << 2) >> 2] | 0; - if (($126 | 0) != -1 ? ($129 = HEAP32[$6 + ($$pre$phiZ2D * 72 | 0) + ($$7 << 2) >> 2] | 0, ($129 | 0) != 0) : 0) { - $137 = $138 ^ HEAP32[$$1254 + ((((HEAP32[$$1252 + ($129 << 2) >> 2] | 0) + $126 | 0) % ($$1262 | 0) | 0) << 2) >> 2]; - HEAP32[$122 >> 2] = $137; - $206 = $137; - } else $206 = $138; - $$7 = $$7 + 1 | 0; - $138 = $206; - } - $52 = HEAP32[$$1252 + ($138 << 2) >> 2] | 0; - HEAP32[$122 >> 2] = $52; - if (($114 | 0) > ($$3266 | 0)) break; else $55 = $114; - } - if (($114 | 0) > ($$3266 | 0)) { - $$0237 = -1; - break L11; - } - $$8 = 0; - while (1) { - if (($$8 | 0) > ($114 | 0)) break; - $145 = $6 + ($$pre$phiZ2D * 72 | 0) + ($$8 << 2) | 0; - HEAP32[$145 >> 2] = HEAP32[$$1252 + (HEAP32[$145 >> 2] << 2) >> 2]; - $$8 = $$8 + 1 | 0; - } - $$9 = 1; - while (1) { - if (($$9 | 0) > ($114 | 0)) break; - HEAP32[$12 + ($$9 << 2) >> 2] = HEAP32[$6 + ($$pre$phiZ2D * 72 | 0) + ($$9 << 2) >> 2]; - $$9 = $$9 + 1 | 0; - } - $$0235 = 0; - $$10 = 1; - while (1) { - if (($$1262 | 0) < ($$10 | 0)) break; - $$2244 = 1; - $$4 = 1; - while (1) { - if (($$2244 | 0) > ($114 | 0)) break; - $157 = $12 + ($$2244 << 2) | 0; - $158 = HEAP32[$157 >> 2] | 0; - if (($158 | 0) == -1) $$5 = $$4; else { - $161 = ($158 + $$2244 | 0) % ($$1262 | 0) | 0; - HEAP32[$157 >> 2] = $161; - $$5 = HEAP32[$$1254 + ($161 << 2) >> 2] ^ $$4; - } - $$2244 = $$2244 + 1 | 0; - $$4 = $$5; - } - if (!$$4) { - HEAP32[$11 + ($$0235 << 2) >> 2] = $$1262 - $$10; - $$1236 = $$0235 + 1 | 0; - } else $$1236 = $$0235; - $$0235 = $$1236; - $$10 = $$10 + 1 | 0; - } - if (($$0235 | 0) != ($114 | 0)) { - $$0237 = -1; - break L11; - } - $$11 = 0; - while (1) { - if (($$11 | 0) >= ($114 | 0)) { - $$1241 = $$pre$phiZ2D; - break L24; - } - $175 = $$0268 + (HEAP32[$11 + ($$11 << 2) >> 2] | 0) | 0; - HEAP8[$175 >> 0] = HEAP8[$175 >> 0] ^ 1; - $$11 = $$11 + 1 | 0; - } - } else $$1241 = 0; while (0); - $179 = $4; - HEAP32[$179 >> 2] = 0; - HEAP32[$179 + 4 >> 2] = 0; - $$12 = $$1260 - $$3258 | 0; - $188 = 1; - $189 = 0; - $192 = 0; - $193 = 0; - while (1) { - if (($$12 | 0) >= ($$1260 | 0)) break; - $190 = ___muldi3($188 | 0, $189 | 0, HEAPU8[$$0268 + $$12 >> 0] | 0, 0) | 0; - $194 = _i64Add($190 | 0, getTempRet0() | 0, $192 | 0, $193 | 0) | 0; - $195 = getTempRet0() | 0; - $196 = $4; - HEAP32[$196 >> 2] = $194; - HEAP32[$196 + 4 >> 2] = $195; - $200 = _bitshift64Shl($188 | 0, $189 | 0, 1) | 0; - $$12 = $$12 + 1 | 0; - $188 = $200; - $189 = getTempRet0() | 0; - $192 = $194; - $193 = $195; - } - if ($39) $$0237 = HEAP32[$8 + ($$1241 << 2) >> 2] | 0; else $$0237 = 0; - } while (0); - STACKTOP = sp; - return $$0237 | 0; -} - -function _jinit_color_deconverter($0) { - $0 = $0 | 0; - var $$0107 = 0, $$019$i = 0, $$03233$i = 0, $$03233$i100 = 0, $$03233$i96 = 0, $$034$i = 0, $$034$i95 = 0, $$034$i99 = 0, $$sink = 0, $1 = 0, $108 = 0, $11 = 0, $111 = 0, $116 = 0, $119 = 0, $120 = 0, $123 = 0, $124 = 0, $127 = 0, $128 = 0, $131 = 0, $133 = 0, $134 = 0, $135 = 0, $144 = 0, $147 = 0, $154 = 0, $157 = 0, $166 = 0, $169 = 0, $17 = 0, $175 = 0, $178 = 0, $179 = 0, $182 = 0, $183 = 0, $186 = 0, $187 = 0, $190 = 0, $192 = 0, $193 = 0, $194 = 0, $203 = 0, $206 = 0, $211 = 0, $220 = 0, $228 = 0, $23 = 0, $29 = 0, $32 = 0, $36 = 0, $4 = 0, $40 = 0, $45 = 0, $48 = 0, $5 = 0, $55 = 0, $58 = 0, $6 = 0, $61 = 0, $73 = 0, $80 = 0, $83 = 0, $84 = 0, $87 = 0, $88 = 0, $91 = 0, $92 = 0, $95 = 0, $97 = 0, $98 = 0, $99 = 0; - $1 = $0 + 4 | 0; - $4 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[$1 >> 2] >> 2] & 63]($0, 1, 28) | 0; - $5 = $0 + 480 | 0; - HEAP32[$5 >> 2] = $4; - HEAP32[$4 >> 2] = 190; - $6 = $0 + 40 | 0; - switch (HEAP32[$6 >> 2] | 0) { - case 1: - { - if ((HEAP32[$0 + 36 >> 2] | 0) != 1) { - $11 = HEAP32[$0 >> 2] | 0; - HEAP32[$11 + 20 >> 2] = 11; - FUNCTION_TABLE_vi[HEAP32[$11 >> 2] & 255]($0); - } - break; - } - case 7: - case 6: - case 3: - case 2: - { - if ((HEAP32[$0 + 36 >> 2] | 0) != 3) { - $17 = HEAP32[$0 >> 2] | 0; - HEAP32[$17 + 20 >> 2] = 11; - FUNCTION_TABLE_vi[HEAP32[$17 >> 2] & 255]($0); - } - break; - } - case 5: - case 4: - { - if ((HEAP32[$0 + 36 >> 2] | 0) != 4) { - $23 = HEAP32[$0 >> 2] | 0; - HEAP32[$23 + 20 >> 2] = 11; - FUNCTION_TABLE_vi[HEAP32[$23 >> 2] & 255]($0); - } - break; - } - default: - if ((HEAP32[$0 + 36 >> 2] | 0) < 1) { - $29 = HEAP32[$0 >> 2] | 0; - HEAP32[$29 + 20 >> 2] = 11; - FUNCTION_TABLE_vi[HEAP32[$29 >> 2] & 255]($0); - } - } - $32 = $0 + 304 | 0; - L11 : do if (HEAP32[$32 >> 2] | 0) { - switch (HEAP32[$6 >> 2] | 0) { - case 6: - case 2: - { - break L11; - break; - } - default: - {} - } - $36 = HEAP32[$0 >> 2] | 0; - HEAP32[$36 + 20 >> 2] = 28; - FUNCTION_TABLE_vi[HEAP32[$36 >> 2] & 255]($0); - } while (0); - $40 = HEAP32[$0 + 44 >> 2] | 0; - L15 : do switch ($40 | 0) { + $19 = HEAP32[$cinfo + 44 >> 2] | 0; + L15 : do switch ($19 | 0) { case 1: { - HEAP32[$0 + 120 >> 2] = 1; - switch (HEAP32[$6 >> 2] | 0) { + HEAP32[$cinfo + 120 >> 2] = 1; + switch (HEAP32[$jpeg_color_space >> 2] | 0) { case 7: case 3: case 1: { - HEAP32[$4 + 4 >> 2] = 4; - $45 = HEAP32[$0 + 36 >> 2] | 0; - if (($45 | 0) <= 1) break L15; - $48 = HEAP32[$0 + 216 >> 2] | 0; - $$0107 = 1; + HEAP32[$call + 4 >> 2] = 4; + $21 = HEAP32[$cinfo + 36 >> 2] | 0; + if (($21 | 0) <= 1) break L15; + $22 = HEAP32[$cinfo + 216 >> 2] | 0; + $ci$0174 = 1; do { - HEAP32[$48 + ($$0107 * 88 | 0) + 52 >> 2] = 0; - $$0107 = $$0107 + 1 | 0; - } while (($$0107 | 0) < ($45 | 0)); + HEAP32[$22 + ($ci$0174 * 88 | 0) + 52 >> 2] = 0; + $ci$0174 = $ci$0174 + 1 | 0; + } while (($ci$0174 | 0) < ($21 | 0)); break; } case 2: { - switch (HEAP32[$32 >> 2] | 0) { + switch (HEAP32[$color_transform >> 2] | 0) { case 0: { - HEAP32[$4 + 4 >> 2] = 5; + HEAP32[$call + 4 >> 2] = 5; break; } case 1: { - HEAP32[$4 + 4 >> 2] = 6; + HEAP32[$call + 4 >> 2] = 6; break; } default: { - $55 = HEAP32[$0 >> 2] | 0; - HEAP32[$55 + 20 >> 2] = 28; - FUNCTION_TABLE_vi[HEAP32[$55 >> 2] & 255]($0); + $24 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$24 + 20 >> 2] = 28; + FUNCTION_TABLE_vi[HEAP32[$24 >> 2] & 255]($cinfo); } } - $58 = HEAP32[$5 >> 2] | 0; - $61 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[$1 >> 2] >> 2] & 63]($0, 1, 3072) | 0; - HEAP32[$58 + 24 >> 2] = $61; - $$019$i = 0; + $26 = HEAP32[$cconvert1 >> 2] | 0; + $call$i = FUNCTION_TABLE_iiii[HEAP32[HEAP32[$mem >> 2] >> 2] & 63]($cinfo, 1, 3072) | 0; + HEAP32[$26 + 24 >> 2] = $call$i; + $i$015$i = 0; do { - HEAP32[$61 + ($$019$i << 2) >> 2] = $$019$i * 19595; - HEAP32[$61 + ($$019$i + 256 << 2) >> 2] = $$019$i * 38470; - HEAP32[$61 + ($$019$i + 512 << 2) >> 2] = ($$019$i * 7471 | 0) + 32768; - $$019$i = $$019$i + 1 | 0; - } while (($$019$i | 0) != 256); + HEAP32[$call$i + ($i$015$i << 2) >> 2] = $i$015$i * 19595; + HEAP32[$call$i + ($i$015$i + 256 << 2) >> 2] = $i$015$i * 38470; + HEAP32[$call$i + ($i$015$i + 512 << 2) >> 2] = ($i$015$i * 7471 | 0) + 32768; + $i$015$i = $i$015$i + 1 | 0; + } while (($i$015$i | 0) != 256); break; } default: { - $73 = HEAP32[$0 >> 2] | 0; - HEAP32[$73 + 20 >> 2] = 28; - FUNCTION_TABLE_vi[HEAP32[$73 >> 2] & 255]($0); + $29 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$29 + 20 >> 2] = 28; + FUNCTION_TABLE_vi[HEAP32[$29 >> 2] & 255]($cinfo); break L15; } } @@ -34327,98 +34340,98 @@ function _jinit_color_deconverter($0) { } case 2: { - HEAP32[$0 + 120 >> 2] = 3; - switch (HEAP32[$6 >> 2] | 0) { + HEAP32[$cinfo + 120 >> 2] = 3; + switch (HEAP32[$jpeg_color_space >> 2] | 0) { case 1: { - HEAP32[$4 + 4 >> 2] = 7; + HEAP32[$call + 4 >> 2] = 7; break L15; break; } case 3: { - HEAP32[$4 + 4 >> 2] = 8; - $80 = HEAP32[$5 >> 2] | 0; - $83 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[$1 >> 2] >> 2] & 63]($0, 1, 1024) | 0; - $84 = $80 + 8 | 0; - HEAP32[$84 >> 2] = $83; - $87 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[$1 >> 2] >> 2] & 63]($0, 1, 1024) | 0; - $88 = $80 + 12 | 0; - HEAP32[$88 >> 2] = $87; - $91 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[$1 >> 2] >> 2] & 63]($0, 1, 1024) | 0; - $92 = $80 + 16 | 0; - HEAP32[$92 >> 2] = $91; - $95 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[$1 >> 2] >> 2] & 63]($0, 1, 1024) | 0; - HEAP32[$80 + 20 >> 2] = $95; - $97 = HEAP32[$84 >> 2] | 0; - $98 = HEAP32[$88 >> 2] | 0; - $99 = HEAP32[$92 >> 2] | 0; - $$03233$i = 0; - $$034$i = -128; + HEAP32[$call + 4 >> 2] = 8; + $32 = HEAP32[$cconvert1 >> 2] | 0; + $call$i94 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[$mem >> 2] >> 2] & 63]($cinfo, 1, 1024) | 0; + $Cr_r_tab$i = $32 + 8 | 0; + HEAP32[$Cr_r_tab$i >> 2] = $call$i94; + $call4$i = FUNCTION_TABLE_iiii[HEAP32[HEAP32[$mem >> 2] >> 2] & 63]($cinfo, 1, 1024) | 0; + $Cb_b_tab$i = $32 + 12 | 0; + HEAP32[$Cb_b_tab$i >> 2] = $call4$i; + $call7$i = FUNCTION_TABLE_iiii[HEAP32[HEAP32[$mem >> 2] >> 2] & 63]($cinfo, 1, 1024) | 0; + $Cr_g_tab$i = $32 + 16 | 0; + HEAP32[$Cr_g_tab$i >> 2] = $call7$i; + $call10$i = FUNCTION_TABLE_iiii[HEAP32[HEAP32[$mem >> 2] >> 2] & 63]($cinfo, 1, 1024) | 0; + HEAP32[$32 + 20 >> 2] = $call10$i; + $41 = HEAP32[$Cr_r_tab$i >> 2] | 0; + $42 = HEAP32[$Cb_b_tab$i >> 2] | 0; + $43 = HEAP32[$Cr_g_tab$i >> 2] | 0; + $i$028$i = 0; + $x$029$i = -128; while (1) { - HEAP32[$97 + ($$03233$i << 2) >> 2] = ($$034$i * 91881 | 0) + 32768 >> 16; - HEAP32[$98 + ($$03233$i << 2) >> 2] = ($$034$i * 116130 | 0) + 32768 >> 16; - $108 = Math_imul($$034$i, -46802) | 0; - HEAP32[$99 + ($$03233$i << 2) >> 2] = $108; - $111 = (Math_imul($$034$i, -22553) | 0) + 32768 | 0; - HEAP32[$95 + ($$03233$i << 2) >> 2] = $111; - $$03233$i = $$03233$i + 1 | 0; - if (($$03233$i | 0) == 256) break; else $$034$i = $$034$i + 1 | 0; + HEAP32[$41 + ($i$028$i << 2) >> 2] = ($x$029$i * 91881 | 0) + 32768 >> 16; + HEAP32[$42 + ($i$028$i << 2) >> 2] = ($x$029$i * 116130 | 0) + 32768 >> 16; + $mul17$i = Math_imul($x$029$i, -46802) | 0; + HEAP32[$43 + ($i$028$i << 2) >> 2] = $mul17$i; + $add21$i = (Math_imul($x$029$i, -22553) | 0) + 32768 | 0; + HEAP32[$call10$i + ($i$028$i << 2) >> 2] = $add21$i; + $i$028$i = $i$028$i + 1 | 0; + if (($i$028$i | 0) == 256) break; else $x$029$i = $x$029$i + 1 | 0; } break; } case 7: { - HEAP32[$4 + 4 >> 2] = 8; - $116 = HEAP32[$5 >> 2] | 0; - $119 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[$1 >> 2] >> 2] & 63]($0, 1, 1024) | 0; - $120 = $116 + 8 | 0; - HEAP32[$120 >> 2] = $119; - $123 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[$1 >> 2] >> 2] & 63]($0, 1, 1024) | 0; - $124 = $116 + 12 | 0; - HEAP32[$124 >> 2] = $123; - $127 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[$1 >> 2] >> 2] & 63]($0, 1, 1024) | 0; - $128 = $116 + 16 | 0; - HEAP32[$128 >> 2] = $127; - $131 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[$1 >> 2] >> 2] & 63]($0, 1, 1024) | 0; - HEAP32[$116 + 20 >> 2] = $131; - $133 = HEAP32[$120 >> 2] | 0; - $134 = HEAP32[$124 >> 2] | 0; - $135 = HEAP32[$128 >> 2] | 0; - $$03233$i96 = 0; - $$034$i95 = -128; + HEAP32[$call + 4 >> 2] = 8; + $44 = HEAP32[$cconvert1 >> 2] | 0; + $call$i103 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[$mem >> 2] >> 2] & 63]($cinfo, 1, 1024) | 0; + $Cr_r_tab$i104 = $44 + 8 | 0; + HEAP32[$Cr_r_tab$i104 >> 2] = $call$i103; + $call4$i106 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[$mem >> 2] >> 2] & 63]($cinfo, 1, 1024) | 0; + $Cb_b_tab$i107 = $44 + 12 | 0; + HEAP32[$Cb_b_tab$i107 >> 2] = $call4$i106; + $call7$i109 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[$mem >> 2] >> 2] & 63]($cinfo, 1, 1024) | 0; + $Cr_g_tab$i110 = $44 + 16 | 0; + HEAP32[$Cr_g_tab$i110 >> 2] = $call7$i109; + $call10$i112 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[$mem >> 2] >> 2] & 63]($cinfo, 1, 1024) | 0; + HEAP32[$44 + 20 >> 2] = $call10$i112; + $53 = HEAP32[$Cr_r_tab$i104 >> 2] | 0; + $54 = HEAP32[$Cb_b_tab$i107 >> 2] | 0; + $55 = HEAP32[$Cr_g_tab$i110 >> 2] | 0; + $i$028$i116 = 0; + $x$029$i115 = -128; while (1) { - HEAP32[$133 + ($$03233$i96 << 2) >> 2] = ($$034$i95 * 183763 | 0) + 32768 >> 16; - HEAP32[$134 + ($$03233$i96 << 2) >> 2] = ($$034$i95 * 232260 | 0) + 32768 >> 16; - $144 = Math_imul($$034$i95, -93603) | 0; - HEAP32[$135 + ($$03233$i96 << 2) >> 2] = $144; - $147 = (Math_imul($$034$i95, -45107) | 0) + 32768 | 0; - HEAP32[$131 + ($$03233$i96 << 2) >> 2] = $147; - $$03233$i96 = $$03233$i96 + 1 | 0; - if (($$03233$i96 | 0) == 256) break; else $$034$i95 = $$034$i95 + 1 | 0; + HEAP32[$53 + ($i$028$i116 << 2) >> 2] = ($x$029$i115 * 183763 | 0) + 32768 >> 16; + HEAP32[$54 + ($i$028$i116 << 2) >> 2] = ($x$029$i115 * 232260 | 0) + 32768 >> 16; + $mul17$i125 = Math_imul($x$029$i115, -93603) | 0; + HEAP32[$55 + ($i$028$i116 << 2) >> 2] = $mul17$i125; + $add21$i128 = (Math_imul($x$029$i115, -45107) | 0) + 32768 | 0; + HEAP32[$call10$i112 + ($i$028$i116 << 2) >> 2] = $add21$i128; + $i$028$i116 = $i$028$i116 + 1 | 0; + if (($i$028$i116 | 0) == 256) break; else $x$029$i115 = $x$029$i115 + 1 | 0; } break; } case 2: { - switch (HEAP32[$32 >> 2] | 0) { + switch (HEAP32[$color_transform >> 2] | 0) { case 0: { - HEAP32[$4 + 4 >> 2] = 9; + HEAP32[$call + 4 >> 2] = 9; break L15; break; } case 1: { - HEAP32[$4 + 4 >> 2] = 10; + HEAP32[$call + 4 >> 2] = 10; break L15; break; } default: { - $154 = HEAP32[$0 >> 2] | 0; - HEAP32[$154 + 20 >> 2] = 28; - FUNCTION_TABLE_vi[HEAP32[$154 >> 2] & 255]($0); + $57 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$57 + 20 >> 2] = 28; + FUNCTION_TABLE_vi[HEAP32[$57 >> 2] & 255]($cinfo); break L15; } } @@ -34426,9 +34439,9 @@ function _jinit_color_deconverter($0) { } default: { - $157 = HEAP32[$0 >> 2] | 0; - HEAP32[$157 + 20 >> 2] = 28; - FUNCTION_TABLE_vi[HEAP32[$157 >> 2] & 255]($0); + $59 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$59 + 20 >> 2] = 28; + FUNCTION_TABLE_vi[HEAP32[$59 >> 2] & 255]($cinfo); break L15; } } @@ -34436,31 +34449,31 @@ function _jinit_color_deconverter($0) { } case 6: { - HEAP32[$0 + 120 >> 2] = 3; - if ((HEAP32[$6 >> 2] | 0) != 6) { - $169 = HEAP32[$0 >> 2] | 0; - HEAP32[$169 + 20 >> 2] = 28; - FUNCTION_TABLE_vi[HEAP32[$169 >> 2] & 255]($0); + HEAP32[$cinfo + 120 >> 2] = 3; + if ((HEAP32[$jpeg_color_space >> 2] | 0) != 6) { + $65 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$65 + 20 >> 2] = 28; + FUNCTION_TABLE_vi[HEAP32[$65 >> 2] & 255]($cinfo); break L15; } - switch (HEAP32[$32 >> 2] | 0) { + switch (HEAP32[$color_transform >> 2] | 0) { case 0: { - HEAP32[$4 + 4 >> 2] = 9; + HEAP32[$call + 4 >> 2] = 9; break L15; break; } case 1: { - HEAP32[$4 + 4 >> 2] = 10; + HEAP32[$call + 4 >> 2] = 10; break L15; break; } default: { - $166 = HEAP32[$0 >> 2] | 0; - HEAP32[$166 + 20 >> 2] = 28; - FUNCTION_TABLE_vi[HEAP32[$166 >> 2] & 255]($0); + $63 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$63 + 20 >> 2] = 28; + FUNCTION_TABLE_vi[HEAP32[$63 >> 2] & 255]($cinfo); break L15; } } @@ -34468,619 +34481,752 @@ function _jinit_color_deconverter($0) { } case 4: { - HEAP32[$0 + 120 >> 2] = 4; - switch (HEAP32[$6 >> 2] | 0) { + HEAP32[$cinfo + 120 >> 2] = 4; + switch (HEAP32[$jpeg_color_space >> 2] | 0) { case 5: { - HEAP32[$4 + 4 >> 2] = 11; - $175 = HEAP32[$5 >> 2] | 0; - $178 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[$1 >> 2] >> 2] & 63]($0, 1, 1024) | 0; - $179 = $175 + 8 | 0; - HEAP32[$179 >> 2] = $178; - $182 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[$1 >> 2] >> 2] & 63]($0, 1, 1024) | 0; - $183 = $175 + 12 | 0; - HEAP32[$183 >> 2] = $182; - $186 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[$1 >> 2] >> 2] & 63]($0, 1, 1024) | 0; - $187 = $175 + 16 | 0; - HEAP32[$187 >> 2] = $186; - $190 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[$1 >> 2] >> 2] & 63]($0, 1, 1024) | 0; - HEAP32[$175 + 20 >> 2] = $190; - $192 = HEAP32[$179 >> 2] | 0; - $193 = HEAP32[$183 >> 2] | 0; - $194 = HEAP32[$187 >> 2] | 0; - $$03233$i100 = 0; - $$034$i99 = -128; + HEAP32[$call + 4 >> 2] = 11; + $68 = HEAP32[$cconvert1 >> 2] | 0; + $call$i137 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[$mem >> 2] >> 2] & 63]($cinfo, 1, 1024) | 0; + $Cr_r_tab$i138 = $68 + 8 | 0; + HEAP32[$Cr_r_tab$i138 >> 2] = $call$i137; + $call4$i140 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[$mem >> 2] >> 2] & 63]($cinfo, 1, 1024) | 0; + $Cb_b_tab$i141 = $68 + 12 | 0; + HEAP32[$Cb_b_tab$i141 >> 2] = $call4$i140; + $call7$i143 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[$mem >> 2] >> 2] & 63]($cinfo, 1, 1024) | 0; + $Cr_g_tab$i144 = $68 + 16 | 0; + HEAP32[$Cr_g_tab$i144 >> 2] = $call7$i143; + $call10$i146 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[$mem >> 2] >> 2] & 63]($cinfo, 1, 1024) | 0; + HEAP32[$68 + 20 >> 2] = $call10$i146; + $77 = HEAP32[$Cr_r_tab$i138 >> 2] | 0; + $78 = HEAP32[$Cb_b_tab$i141 >> 2] | 0; + $79 = HEAP32[$Cr_g_tab$i144 >> 2] | 0; + $i$028$i150 = 0; + $x$029$i149 = -128; while (1) { - HEAP32[$192 + ($$03233$i100 << 2) >> 2] = ($$034$i99 * 91881 | 0) + 32768 >> 16; - HEAP32[$193 + ($$03233$i100 << 2) >> 2] = ($$034$i99 * 116130 | 0) + 32768 >> 16; - $203 = Math_imul($$034$i99, -46802) | 0; - HEAP32[$194 + ($$03233$i100 << 2) >> 2] = $203; - $206 = (Math_imul($$034$i99, -22553) | 0) + 32768 | 0; - HEAP32[$190 + ($$03233$i100 << 2) >> 2] = $206; - $$03233$i100 = $$03233$i100 + 1 | 0; - if (($$03233$i100 | 0) == 256) break; else $$034$i99 = $$034$i99 + 1 | 0; + HEAP32[$77 + ($i$028$i150 << 2) >> 2] = ($x$029$i149 * 91881 | 0) + 32768 >> 16; + HEAP32[$78 + ($i$028$i150 << 2) >> 2] = ($x$029$i149 * 116130 | 0) + 32768 >> 16; + $mul17$i159 = Math_imul($x$029$i149, -46802) | 0; + HEAP32[$79 + ($i$028$i150 << 2) >> 2] = $mul17$i159; + $add21$i162 = (Math_imul($x$029$i149, -22553) | 0) + 32768 | 0; + HEAP32[$call10$i146 + ($i$028$i150 << 2) >> 2] = $add21$i162; + $i$028$i150 = $i$028$i150 + 1 | 0; + if (($i$028$i150 | 0) == 256) break; else $x$029$i149 = $x$029$i149 + 1 | 0; } break; } case 4: { - HEAP32[$4 + 4 >> 2] = 12; + HEAP32[$call + 4 >> 2] = 12; break L15; break; } default: { - $211 = HEAP32[$0 >> 2] | 0; - HEAP32[$211 + 20 >> 2] = 28; - FUNCTION_TABLE_vi[HEAP32[$211 >> 2] & 255]($0); + $80 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$80 + 20 >> 2] = 28; + FUNCTION_TABLE_vi[HEAP32[$80 >> 2] & 255]($cinfo); break L15; } } break; } default: - if (($40 | 0) == (HEAP32[$6 >> 2] | 0)) { - HEAP32[$0 + 120 >> 2] = HEAP32[$0 + 36 >> 2]; - HEAP32[$4 + 4 >> 2] = 12; + if (($19 | 0) == (HEAP32[$jpeg_color_space >> 2] | 0)) { + HEAP32[$cinfo + 120 >> 2] = HEAP32[$cinfo + 36 >> 2]; + HEAP32[$call + 4 >> 2] = 12; break L15; } else { - $220 = HEAP32[$0 >> 2] | 0; - HEAP32[$220 + 20 >> 2] = 28; - FUNCTION_TABLE_vi[HEAP32[$220 >> 2] & 255]($0); + $84 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$84 + 20 >> 2] = 28; + FUNCTION_TABLE_vi[HEAP32[$84 >> 2] & 255]($cinfo); break L15; } } while (0); - if (HEAP32[$0 + 84 >> 2] | 0) { + if (HEAP32[$cinfo + 84 >> 2] | 0) { $$sink = 1; - $228 = $0 + 124 | 0; - HEAP32[$228 >> 2] = $$sink; + $88 = $cinfo + 124 | 0; + HEAP32[$88 >> 2] = $$sink; return; } - $$sink = HEAP32[$0 + 120 >> 2] | 0; - $228 = $0 + 124 | 0; - HEAP32[$228 >> 2] = $$sink; + $$sink = HEAP32[$cinfo + 120 >> 2] | 0; + $88 = $cinfo + 124 | 0; + HEAP32[$88 >> 2] = $$sink; return; } -function _decode_mcu_AC_refine_65($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $$0164 = 0, $$0166 = 0, $$017$i = 0, $$0170 = 0, $$0175 = 0, $$0180 = 0, $$0197 = 0, $$0199205 = 0, $$10 = 0, $$10190 = 0, $$11 = 0, $$11191 = 0, $$1167 = 0, $$1171 = 0, $$1176 = 0, $$1181 = 0, $$1198 = 0, $$1200 = 0, $$12192206 = 0, $$12207 = 0, $$13 = 0, $$13193 = 0, $$14 = 0, $$14194 = 0, $$15 = 0, $$15195 = 0, $$16 = 0, $$16196 = 0, $$2$ph = 0, $$2168209 = 0, $$2172 = 0, $$2177 = 0, $$2182 = 0, $$3 = 0, $$3169 = 0, $$3173208 = 0, $$4174 = 0, $$4179$ph = 0, $$4184$ph = 0, $$4226 = 0, $$5 = 0, $$5185 = 0, $$6 = 0, $$6186 = 0, $$7 = 0, $$7187 = 0, $$8 = 0, $$8188 = 0, $$9 = 0, $$9189 = 0, $104 = 0, $113 = 0, $12 = 0, $121 = 0, $125 = 0, $126 = 0, $136 = 0, $140 = 0, $147 = 0, $152 = 0, $156 = 0, $16 = 0, $164 = 0, $168 = 0, $169 = 0, $17 = 0, $181 = 0, $184 = 0, $2 = 0, $24 = 0, $3 = 0, $41 = 0, $43 = 0, $44 = 0, $45 = 0, $47 = 0, $49 = 0, $5 = 0, $50 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $63 = 0, $65 = 0, $67 = 0, $68 = 0, $72 = 0, $73 = 0, $77 = 0, $79 = 0, $85 = 0, $89 = 0, $9 = 0, $90 = 0, $99 = 0, label = 0, sp = 0; +function __ZN6vision28BinaryHierarchicalClusteringILi96EE5buildEPNS_4NodeILi96EEEPKhiPKii($this, $node, $features, $num_features, $indices, $num_indices) { + $this = $this | 0; + $node = $node | 0; + $features = $features | 0; + $num_features = $num_features | 0; + $indices = $indices | 0; + $num_indices = $num_indices | 0; + var $$in = 0, $1 = 0, $14 = 0, $17 = 0, $20 = 0, $25 = 0, $3 = 0, $30 = 0, $4 = 0, $6 = 0, $9 = 0, $__end_$i = 0, $__end_$i103 = 0, $__end_$i132 = 0, $__end_$i149 = 0, $__value_$i$i$i$i = 0, $arrayidx112 = 0, $arrayidx86 = 0, $call = 0, $call$i1$i = 0, $call$i1$i109 = 0, $call$i1$i122 = 0, $call$i1$i158 = 0, $call$i1$i172 = 0, $call$i2$i = 0, $call$i2$i112 = 0, $call$i2$i125 = 0, $call$i2$i161 = 0, $call$i2$i175 = 0, $call100 = 0, $call11 = 0, $call111 = 0, $call132 = 0, $call140 = 0, $call173 = 0, $call182 = 0, $call185 = 0, $call192 = 0, $call26 = 0, $call5 = 0, $call53 = 0, $call76 = 0, $cluster_map = 0, $i$0 = 0, $i124$0 = 0, $i30$0 = 0, $it$sroa$0$0 = 0, $it$sroa$0$0$in = 0, $mBinarykMedoids = 0, $ref$tmp$i171 = 0, $second = 0, label = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 288 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(288); - $2 = sp + 256 | 0; - $3 = sp; - $5 = HEAP32[$0 + 468 >> 2] | 0; - $6 = $0 + 280 | 0; - if (HEAP32[$6 >> 2] | 0 ? ($9 = $5 + 44 | 0, (HEAP32[$9 >> 2] | 0) == 0) : 0) { - $12 = $5 + 16 | 0; - $16 = HEAP32[$0 + 464 >> 2] | 0; - $17 = $16 + 24 | 0; - HEAP32[$17 >> 2] = (HEAP32[$17 >> 2] | 0) + ((HEAP32[$12 >> 2] | 0) / 8 | 0); - HEAP32[$12 >> 2] = 0; - if (!(FUNCTION_TABLE_ii[HEAP32[$16 + 8 >> 2] & 127]($0) | 0)) { - $$0 = 0; - STACKTOP = sp; - return $$0 | 0; + STACKTOP = STACKTOP + 32 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); + $ref$tmp$i171 = sp + 20 | 0; + $cluster_map = sp; + $mBinarykMedoids = $this + 12 | 0; + $call = __ZNK6vision14BinarykMedoidsILi96EE1kEv($mBinarykMedoids) | 0; + if ((__ZN6vision4max2IiEET_S1_S1_($call, HEAP32[$this + 108 >> 2] | 0) | 0) >= ($num_indices | 0)) { + __ZN6vision4NodeILi96EE4leafEb($node, 1); + __ZNSt3__26vectorIiNS_9allocatorIiEEE6resizeEm(__ZN6vision4NodeILi96EE12reverseIndexEv($node) | 0, $num_indices); + $i$0 = 0; + while (1) { + if (($i$0 | 0) >= ($num_indices | 0)) break; + $1 = HEAP32[$indices + ($i$0 << 2) >> 2] | 0; + $call5 = __ZN6vision4NodeILi96EE12reverseIndexEv($node) | 0; + HEAP32[(HEAP32[$call5 >> 2] | 0) + ($i$0 << 2) >> 2] = $1; + $i$0 = $i$0 + 1 | 0; } - $24 = $0 + 340 | 0; - if ((HEAP32[$24 >> 2] | 0) > 0) { - $$017$i = 0; - do { - HEAP32[$5 + 24 + ($$017$i << 2) >> 2] = 0; - $$017$i = $$017$i + 1 | 0; - } while (($$017$i | 0) < (HEAP32[$24 >> 2] | 0)); - } - HEAP32[$5 + 20 >> 2] = 0; - HEAP32[$9 >> 2] = HEAP32[$6 >> 2]; - if (!(HEAP32[$0 + 440 >> 2] | 0)) HEAP32[$5 + 40 >> 2] = 0; - } - do if (!(HEAP32[$5 + 40 >> 2] | 0)) { - $41 = HEAP32[$0 + 416 >> 2] | 0; - $43 = HEAP32[$0 + 424 >> 2] | 0; - $44 = 1 << $43; - $45 = -1 << $43; - $47 = HEAP32[$0 + 432 >> 2] | 0; - HEAP32[$2 + 16 >> 2] = $0; - $49 = $0 + 24 | 0; - $50 = HEAP32[$49 >> 2] | 0; - HEAP32[$2 >> 2] = HEAP32[$50 >> 2]; - $54 = $2 + 4 | 0; - HEAP32[$54 >> 2] = HEAP32[$50 + 4 >> 2]; - $55 = $5 + 12 | 0; - $56 = HEAP32[$55 >> 2] | 0; - $57 = $5 + 16 | 0; - $58 = HEAP32[$57 >> 2] | 0; - $59 = $5 + 20 | 0; - $60 = HEAP32[$59 >> 2] | 0; - $61 = HEAP32[$1 >> 2] | 0; - $63 = HEAP32[$5 + 64 >> 2] | 0; - $65 = HEAP32[$0 + 412 >> 2] | 0; - $67 = $2 + 8 | 0; - $68 = $2 + 12 | 0; - L16 : do if (!$60) { - $$0166 = 0; - $$0170 = $65; - $$0175 = $58; - $$0180 = $56; - L18 : while (1) { - if (($$0175 | 0) < 8) { - if (!(_jpeg_fill_bit_buffer($2, $$0180, $$0175, 0) | 0)) { - $$3169 = $$0166; - break L16; - } - $72 = HEAP32[$67 >> 2] | 0; - $73 = HEAP32[$68 >> 2] | 0; - if (($73 | 0) < 8) { - $$0164 = 1; - $$2177 = $73; - $$2182 = $72; - label = 17; - } else { - $$1176 = $73; - $$1181 = $72; - label = 15; - } - } else { - $$1176 = $$0175; - $$1181 = $$0180; - label = 15; - } - if ((label | 0) == 15) { - label = 0; - $77 = $$1181 >> $$1176 + -8 & 255; - $79 = HEAP32[$63 + 144 + ($77 << 2) >> 2] | 0; - if (!$79) { - $$0164 = 9; - $$2177 = $$1176; - $$2182 = $$1181; - label = 17; - } else { - $$2$ph = HEAPU8[$63 + 1168 + $77 >> 0] | 0; - $$4179$ph = $$1176 - $79 | 0; - $$4184$ph = $$1181; - } - } - if ((label | 0) == 17) { - label = 0; - $85 = _jpeg_huff_decode($2, $$2182, $$2177, $63, $$0164) | 0; - if (($85 | 0) < 0) { - $$3169 = $$0166; - break L16; - } - $$2$ph = $85; - $$4179$ph = HEAP32[$68 >> 2] | 0; - $$4184$ph = HEAP32[$67 >> 2] | 0; - } - $89 = $$2$ph >>> 4; - switch ($$2$ph & 15) { - case 0: - { - if (($89 | 0) == 15) { - $$3 = 0; - $$7 = $$4179$ph; - $$7187 = $$4184$ph; - } else break L18; - break; - } - case 1: - { - label = 21; - break; - } - default: - { - $90 = HEAP32[$0 >> 2] | 0; - HEAP32[$90 + 20 >> 2] = 121; - FUNCTION_TABLE_vii[HEAP32[$90 + 4 >> 2] & 255]($0, -1); - label = 21; - } - } - if ((label | 0) == 21) { - label = 0; - if (($$4179$ph | 0) < 1) { - if (!(_jpeg_fill_bit_buffer($2, $$4184$ph, $$4179$ph, 1) | 0)) { - $$3169 = $$0166; - break L16; - } - $$5 = HEAP32[$68 >> 2] | 0; - $$5185 = HEAP32[$67 >> 2] | 0; - } else { - $$5 = $$4179$ph; - $$5185 = $$4184$ph; - } - $99 = $$5 + -1 | 0; - $$3 = (1 << $99 & $$5185 | 0) == 0 ? $45 : $44; - $$7 = $99; - $$7187 = $$5185; - } - $$0197 = $89; - $$1171 = $$0170; - $$8 = $$7; - $$8188 = $$7187; - L40 : while (1) { - $113 = $61 + (HEAP32[$47 + ($$1171 << 2) >> 2] << 1) | 0; - do if (!(HEAP16[$113 >> 1] | 0)) if (($$0197 | 0) < 1) { - $$11 = $$8; - $$11191 = $$8188; - $$2172 = $$1171; - break L40; - } else { - $$10 = $$8; - $$10190 = $$8188; - $$1198 = $$0197 + -1 | 0; - } else { - if (($$8 | 0) < 1) { - if (!(_jpeg_fill_bit_buffer($2, $$8188, $$8, 1) | 0)) { - $$3169 = $$0166; - break L16; - } - $$9 = HEAP32[$68 >> 2] | 0; - $$9189 = HEAP32[$67 >> 2] | 0; - } else { - $$9 = $$8; - $$9189 = $$8188; - } - $121 = $$9 + -1 | 0; - if ((1 << $121 & $$9189 | 0) != 0 ? ($125 = HEAP16[$113 >> 1] | 0, $126 = $125 << 16 >> 16, ($44 & $126 | 0) == 0) : 0) if ($125 << 16 >> 16 > -1) { - HEAP16[$113 >> 1] = $44 + $126; - $$10 = $121; - $$10190 = $$9189; - $$1198 = $$0197; - break; - } else { - HEAP16[$113 >> 1] = $45 + $126; - $$10 = $121; - $$10190 = $$9189; - $$1198 = $$0197; - break; - } else { - $$10 = $121; - $$10190 = $$9189; - $$1198 = $$0197; - } - } while (0); - $136 = $$1171 + 1 | 0; - if (($$1171 | 0) < ($41 | 0)) { - $$0197 = $$1198; - $$1171 = $136; - $$8 = $$10; - $$8188 = $$10190; - } else { - $$11 = $$10; - $$11191 = $$10190; - $$2172 = $136; - break; - } - } - if (!$$3) $$1167 = $$0166; else { - $140 = HEAP32[$47 + ($$2172 << 2) >> 2] | 0; - HEAP16[$61 + ($140 << 1) >> 1] = $$3; - HEAP32[$3 + ($$0166 << 2) >> 2] = $140; - $$1167 = $$0166 + 1 | 0; - } - if (($$2172 | 0) < ($41 | 0)) { - $$0166 = $$1167; - $$0170 = $$2172 + 1 | 0; - $$0175 = $$11; - $$0180 = $$11191; - } else { - $$1200 = 0; - $$16 = $$11; - $$16196 = $$11191; - label = 58; - break L16; - } - } - $104 = 1 << $89; - if ($89) { - if (($$4179$ph | 0) < ($89 | 0)) { - if (!(_jpeg_fill_bit_buffer($2, $$4184$ph, $$4179$ph, $89) | 0)) { - $$3169 = $$0166; - break; - } - $$6 = HEAP32[$68 >> 2] | 0; - $$6186 = HEAP32[$67 >> 2] | 0; - } else { - $$6 = $$4179$ph; - $$6186 = $$4184$ph; - } - $147 = $$6 - $89 | 0; - $152 = ($$6186 >> $147 & HEAP32[5184 + ($89 << 2) >> 2]) + $104 | 0; - if (!$152) { - $$1200 = 0; - $$16 = $147; - $$16196 = $$6186; - label = 58; - } else { - $$0199205 = $152; - $$12192206 = $$6186; - $$12207 = $147; - $$2168209 = $$0166; - $$3173208 = $$0170; - label = 46; - } - } else { - $$0199205 = 1; - $$12192206 = $$4184$ph; - $$12207 = $$4179$ph; - $$2168209 = $$0166; - $$3173208 = $$0170; - label = 46; + STACKTOP = sp; + return; + } + HEAP32[$cluster_map >> 2] = 0; + HEAP32[$cluster_map + 4 >> 2] = 0; + HEAP32[$cluster_map + 8 >> 2] = 0; + HEAP32[$cluster_map + 12 >> 2] = 0; + HEAP32[$cluster_map + 16 >> 2] = 1065353216; + __ZN6vision14BinarykMedoidsILi96EE6assignEPKhiPKii($mBinarykMedoids, $features, $num_features, $indices, $num_indices); + $call11 = __ZNK6vision14BinarykMedoidsILi96EE10assignmentEv($mBinarykMedoids) | 0; + $__end_$i = $call11 + 4 | 0; + $3 = HEAP32[$__end_$i >> 2] | 0; + $4 = HEAP32[$call11 >> 2] | 0; + if (($3 - $4 >> 2 | 0) != ($num_indices | 0)) { + $call26 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 33472) | 0, 33528) | 0, 39794) | 0, 363) | 0, 39801) | 0, 33660) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i171, $call26 + (HEAP32[(HEAP32[$call26 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i171, 67360) | 0; + $call$i2$i = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i >> 2] | 0) + 28 >> 2] & 127]($call$i1$i, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i171); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call26, $call$i2$i) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call26) | 0; + _abort(); + } + $$in = $4; + $6 = $3; + $i30$0 = 0; + while (1) { + if ($i30$0 >>> 0 >= $6 - $$in >> 2 >>> 0) { + label = 10; + break; + } + $9 = HEAP32[$$in + ($i30$0 << 2) >> 2] | 0; + if (($9 | 0) == -1) { + label = 12; + break; + } + if (($9 | 0) >= ($num_indices | 0)) { + label = 14; + break; + } + $arrayidx86 = $indices + ($9 << 2) | 0; + if ((HEAP32[$arrayidx86 >> 2] | 0) >= ($num_features | 0)) { + label = 16; + break; + } + $call111 = __ZNSt3__213unordered_mapIiNS_6vectorIiNS_9allocatorIiEEEENS_4hashIiEENS_8equal_toIiEENS2_INS_4pairIKiS4_EEEEEixERSA_($cluster_map, $arrayidx86) | 0; + $arrayidx112 = $indices + ($i30$0 << 2) | 0; + $__end_$i103 = $call111 + 4 | 0; + $14 = HEAP32[$__end_$i103 >> 2] | 0; + if (($14 | 0) == (HEAP32[$call111 + 8 >> 2] | 0)) __ZNSt3__26vectorIiNS_9allocatorIiEEE21__push_back_slow_pathIRKiEEvOT_($call111, $arrayidx112); else { + HEAP32[$14 >> 2] = HEAP32[$arrayidx112 >> 2]; + HEAP32[$__end_$i103 >> 2] = $14 + 4; + } + $$in = HEAP32[$call11 >> 2] | 0; + $6 = HEAP32[$__end_$i >> 2] | 0; + $i30$0 = $i30$0 + 1 | 0; + } + if ((label | 0) == 10) { + $__value_$i$i$i$i = $cluster_map + 12 | 0; + L23 : do if ((HEAP32[$__value_$i$i$i$i >> 2] | 0) == 1) { + __ZN6vision4NodeILi96EE4leafEb($node, 1); + __ZNSt3__26vectorIiNS_9allocatorIiEEE6resizeEm(__ZN6vision4NodeILi96EE12reverseIndexEv($node) | 0, $num_indices); + $i124$0 = 0; + while (1) { + if (($i124$0 | 0) >= ($num_indices | 0)) break L23; + $17 = HEAP32[$indices + ($i124$0 << 2) >> 2] | 0; + $call132 = __ZN6vision4NodeILi96EE12reverseIndexEv($node) | 0; + HEAP32[(HEAP32[$call132 >> 2] | 0) + ($i124$0 << 2) >> 2] = $17; + $i124$0 = $i124$0 + 1 | 0; } } else { - $$0199205 = $60; - $$12192206 = $56; - $$12207 = $58; - $$2168209 = 0; - $$3173208 = $65; - label = 46; + $call140 = __ZN6vision4NodeILi96EE8childrenEv($node) | 0; + __ZNSt3__26vectorIPN6vision4NodeILi96EEENS_9allocatorIS4_EEE7reserveEm($call140, HEAP32[$__value_$i$i$i$i >> 2] | 0); + $it$sroa$0$0$in = $cluster_map + 8 | 0; + while (1) { + $it$sroa$0$0 = HEAP32[$it$sroa$0$0$in >> 2] | 0; + if (!$it$sroa$0$0) break L23; + $20 = $it$sroa$0$0; + $second = $20 + 12 | 0; + $__end_$i132 = $20 + 16 | 0; + if ((HEAP32[$__end_$i132 >> 2] | 0) == (HEAP32[$second >> 2] | 0)) break; + $call182 = __Znwm(128) | 0; + $call185 = __ZN6vision28BinaryHierarchicalClusteringILi96EE10nextNodeIdEv($this) | 0; + __ZN6vision4NodeILi96EEC2EiPKh($call182, $call185, $features + ((HEAP32[$20 + 8 >> 2] | 0) * 96 | 0) | 0); + HEAP32[$ref$tmp$i171 >> 2] = $call182; + __ZN6vision4NodeILi96EE4leafEb($call182, 0); + $call192 = __ZN6vision4NodeILi96EE8childrenEv($node) | 0; + $__end_$i149 = $call192 + 4 | 0; + $25 = HEAP32[$__end_$i149 >> 2] | 0; + if (($25 | 0) == (HEAP32[$call192 + 8 >> 2] | 0)) __ZNSt3__26vectorIPN6vision4NodeILi96EEENS_9allocatorIS4_EEE21__push_back_slow_pathIRKS4_EEvOT_($call192, $ref$tmp$i171); else { + HEAP32[$25 >> 2] = HEAP32[$ref$tmp$i171 >> 2]; + HEAP32[$__end_$i149 >> 2] = (HEAP32[$__end_$i149 >> 2] | 0) + 4; + } + $30 = HEAP32[$second >> 2] | 0; + __ZN6vision28BinaryHierarchicalClusteringILi96EE5buildEPNS_4NodeILi96EEEPKhiPKii($this, HEAP32[$ref$tmp$i171 >> 2] | 0, $features, $num_features, $30, (HEAP32[$__end_$i132 >> 2] | 0) - $30 >> 2); + $it$sroa$0$0$in = $it$sroa$0$0; + } + $call173 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 33883) | 0, 33528) | 0, 39794) | 0, 387) | 0, 39801) | 0, 33929) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i171, $call173 + (HEAP32[(HEAP32[$call173 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i158 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i171, 67360) | 0; + $call$i2$i161 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i158 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i158, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i171); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call173, $call$i2$i161) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call173) | 0; + _abort(); } while (0); - L65 : do if ((label | 0) == 46) { - $$13 = $$12207; - $$13193 = $$12192206; - $$4174 = $$3173208; + __ZNSt3__213unordered_mapIiNS_6vectorIiNS_9allocatorIiEEEENS_4hashIiEENS_8equal_toIiEENS2_INS_4pairIKiS4_EEEEED2Ev($cluster_map); + STACKTOP = sp; + return; + } else if ((label | 0) == 12) { + $call53 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 33682) | 0, 33528) | 0, 39794) | 0, 365) | 0, 39801) | 0, 33725) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i171, $call53 + (HEAP32[(HEAP32[$call53 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i172 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i171, 67360) | 0; + $call$i2$i175 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i172 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i172, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i171); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call53, $call$i2$i175) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call53) | 0; + _abort(); + } else if ((label | 0) == 14) { + $call76 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 33747) | 0, 33528) | 0, 39794) | 0, 366) | 0, 39801) | 0, 33798) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i171, $call76 + (HEAP32[(HEAP32[$call76 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i122 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i171, 67360) | 0; + $call$i2$i125 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i122 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i122, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i171); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call76, $call$i2$i125) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call76) | 0; + _abort(); + } else if ((label | 0) == 16) { + $call100 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 33822) | 0, 33528) | 0, 39794) | 0, 367) | 0, 39801) | 0, 33798) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i171, $call100 + (HEAP32[(HEAP32[$call100 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i109 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i171, 67360) | 0; + $call$i2$i112 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i109 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i109, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i171); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call100, $call$i2$i112) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call100) | 0; + _abort(); + } +} + +function _jpgread($fp, $w, $h, $nc, $dpi) { + $fp = $fp | 0; + $w = $w | 0; + $h = $h | 0; + $nc = $nc | 0; + $dpi = $dpi | 0; + var $$reg2mem70$0 = 0, $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $3 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $56 = 0, $57 = 0, $59 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $arrayidx = 0, $buffer = 0, $call = 0, $call17 = 0, $call3 = 0, $call8 = 0, $cinfo = 0, $i$0$reg2mem66$0 = 0, $image_height = 0, $image_width = 0, $jerr = 0, $mul = 0, $mul7 = 0, $num_components = 0, $output_height = 0, $output_scanline = 0, $retval$0$reg2mem$0 = 0, $row$0$reg2mem68$0 = 0, $vararg_buffer = 0, $vararg_buffer72 = 0, $vararg_buffer74 = 0, _setjmpTable = 0, _setjmpTableSize = 0, label = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 832 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(832); + $vararg_buffer74 = sp + 528 | 0; + $vararg_buffer72 = sp + 520 | 0; + $vararg_buffer = sp + 512 | 0; + _setjmpTableSize = 4; + _setjmpTable = _malloc(40) | 0; + HEAP32[_setjmpTable >> 2] = 0; + $cinfo = sp + 24 | 0; + $jerr = sp + 536 | 0; + $buffer = sp; + _memset($cinfo | 0, 0, 488) | 0; + __THREW__ = 0; + $call = invoke_ii(63, $jerr | 0) | 0; + $0 = __THREW__; + __THREW__ = 0; + if (($0 | 0) != 0 & (threwValue | 0) != 0) { + $1 = _testSetjmp(HEAP32[$0 >> 2] | 0, _setjmpTable | 0, _setjmpTableSize | 0) | 0; + if (!$1) _longjmp($0 | 0, threwValue | 0); + setTempRet0(threwValue | 0); + } else $1 = -1; + $2 = getTempRet0() | 0; + if (($1 | 0) != 1) { + HEAP32[$cinfo >> 2] = $call; + HEAP32[$jerr >> 2] = 181; + _setjmpTable = _saveSetjmp($jerr + 132 | 0, 1, _setjmpTable | 0, _setjmpTableSize | 0) | 0; + _setjmpTableSize = getTempRet0() | 0; + __THREW__ = 0; + $3 = __THREW__; + __THREW__ = 0; + if (($3 | 0) != 0 & (threwValue | 0) != 0) { + $4 = _testSetjmp(HEAP32[$3 >> 2] | 0, _setjmpTable | 0, _setjmpTableSize | 0) | 0; + if (!$4) _longjmp($3 | 0, threwValue | 0); + setTempRet0(threwValue | 0); + } else $4 = -1; + $5 = getTempRet0() | 0; + if (($4 | 0) == 1) $$reg2mem70$0 = $5; else $$reg2mem70$0 = 0; + } else $$reg2mem70$0 = $2; + L4 : while (1) { + if ($$reg2mem70$0 | 0) { + __THREW__ = 0; + invoke_vi(182, $cinfo | 0); + $6 = __THREW__; + __THREW__ = 0; + if (($6 | 0) != 0 & (threwValue | 0) != 0) { + $7 = _testSetjmp(HEAP32[$6 >> 2] | 0, _setjmpTable | 0, _setjmpTableSize | 0) | 0; + if (!$7) _longjmp($6 | 0, threwValue | 0); + setTempRet0(threwValue | 0); + } else $7 = -1; + $8 = getTempRet0() | 0; + if (($7 | 0) == 1) { + $$reg2mem70$0 = $8; + continue; + } + __THREW__ = 0; + invoke_viiii(8, 0, 3, 25828, $vararg_buffer | 0); + $9 = __THREW__; + __THREW__ = 0; + if (($9 | 0) != 0 & (threwValue | 0) != 0) { + $10 = _testSetjmp(HEAP32[$9 >> 2] | 0, _setjmpTable | 0, _setjmpTableSize | 0) | 0; + if (!$10) _longjmp($9 | 0, threwValue | 0); + setTempRet0(threwValue | 0); + } else $10 = -1; + $11 = getTempRet0() | 0; + if (($10 | 0) == 1) { + $$reg2mem70$0 = $11; + continue; + } else { + label = 7; + break; + } + } + __THREW__ = 0; + invoke_viii(1, $cinfo | 0, 90, 488); + $12 = __THREW__; + __THREW__ = 0; + if (($12 | 0) != 0 & (threwValue | 0) != 0) { + $13 = _testSetjmp(HEAP32[$12 >> 2] | 0, _setjmpTable | 0, _setjmpTableSize | 0) | 0; + if (!$13) _longjmp($12 | 0, threwValue | 0); + setTempRet0(threwValue | 0); + } else $13 = -1; + $14 = getTempRet0() | 0; + if (($13 | 0) == 1) { + $$reg2mem70$0 = $14; + continue; + } + __THREW__ = 0; + invoke_vii(125, $cinfo | 0, $fp | 0); + $15 = __THREW__; + __THREW__ = 0; + if (($15 | 0) != 0 & (threwValue | 0) != 0) { + $16 = _testSetjmp(HEAP32[$15 >> 2] | 0, _setjmpTable | 0, _setjmpTableSize | 0) | 0; + if (!$16) _longjmp($15 | 0, threwValue | 0); + setTempRet0(threwValue | 0); + } else $16 = -1; + $17 = getTempRet0() | 0; + if (($16 | 0) == 1) { + $$reg2mem70$0 = $17; + continue; + } + __THREW__ = 0; + $call3 = invoke_iii(43, $cinfo | 0, 1) | 0; + $18 = __THREW__; + __THREW__ = 0; + if (($18 | 0) != 0 & (threwValue | 0) != 0) { + $19 = _testSetjmp(HEAP32[$18 >> 2] | 0, _setjmpTable | 0, _setjmpTableSize | 0) | 0; + if (!$19) _longjmp($18 | 0, threwValue | 0); + setTempRet0(threwValue | 0); + } else $19 = -1; + $20 = getTempRet0() | 0; + if (($19 | 0) == 1) { + $$reg2mem70$0 = $20; + continue; + } + if (($call3 | 0) != 1) { + __THREW__ = 0; + invoke_viiii(8, 0, 3, 25854, $vararg_buffer72 | 0); + $21 = __THREW__; + __THREW__ = 0; + if (($21 | 0) != 0 & (threwValue | 0) != 0) { + $22 = _testSetjmp(HEAP32[$21 >> 2] | 0, _setjmpTable | 0, _setjmpTableSize | 0) | 0; + if (!$22) _longjmp($21 | 0, threwValue | 0); + setTempRet0(threwValue | 0); + } else $22 = -1; + $23 = getTempRet0() | 0; + if (($22 | 0) == 1) { + $$reg2mem70$0 = $23; + continue; + } + __THREW__ = 0; + invoke_vi(182, $cinfo | 0); + $24 = __THREW__; + __THREW__ = 0; + if (($24 | 0) != 0 & (threwValue | 0) != 0) { + $25 = _testSetjmp(HEAP32[$24 >> 2] | 0, _setjmpTable | 0, _setjmpTableSize | 0) | 0; + if (!$25) _longjmp($24 | 0, threwValue | 0); + setTempRet0(threwValue | 0); + } else $25 = -1; + $26 = getTempRet0() | 0; + if (($25 | 0) == 1) { + $$reg2mem70$0 = $26; + continue; + } else { + label = 14; + break; + } + } + __THREW__ = 0; + invoke_ii(64, $cinfo | 0) | 0; + $27 = __THREW__; + __THREW__ = 0; + if (($27 | 0) != 0 & (threwValue | 0) != 0) { + $28 = _testSetjmp(HEAP32[$27 >> 2] | 0, _setjmpTable | 0, _setjmpTableSize | 0) | 0; + if (!$28) _longjmp($27 | 0, threwValue | 0); + setTempRet0(threwValue | 0); + } else $28 = -1; + $29 = getTempRet0() | 0; + if (($28 | 0) == 1) { + $$reg2mem70$0 = $29; + continue; + } + $num_components = $cinfo + 36 | 0; + $image_width = $cinfo + 28 | 0; + $mul = Math_imul(HEAP32[$image_width >> 2] | 0, HEAP32[$num_components >> 2] | 0) | 0; + $image_height = $cinfo + 32 | 0; + $mul7 = Math_imul($mul, HEAP32[$image_height >> 2] | 0) | 0; + __THREW__ = 0; + $call8 = invoke_ii(65, $mul7 | 0) | 0; + $33 = __THREW__; + __THREW__ = 0; + if (($33 | 0) != 0 & (threwValue | 0) != 0) { + $34 = _testSetjmp(HEAP32[$33 >> 2] | 0, _setjmpTable | 0, _setjmpTableSize | 0) | 0; + if (!$34) _longjmp($33 | 0, threwValue | 0); + setTempRet0(threwValue | 0); + } else $34 = -1; + $35 = getTempRet0() | 0; + if (($34 | 0) == 1) { + $$reg2mem70$0 = $35; + continue; + } + if (!$call8) { + __THREW__ = 0; + invoke_viiii(8, 0, 3, 46772, $vararg_buffer74 | 0); + $36 = __THREW__; + __THREW__ = 0; + if (($36 | 0) != 0 & (threwValue | 0) != 0) { + $37 = _testSetjmp(HEAP32[$36 >> 2] | 0, _setjmpTable | 0, _setjmpTableSize | 0) | 0; + if (!$37) _longjmp($36 | 0, threwValue | 0); + setTempRet0(threwValue | 0); + } else $37 = -1; + $38 = getTempRet0() | 0; + if (($37 | 0) == 1) { + $$reg2mem70$0 = $38; + continue; + } + __THREW__ = 0; + invoke_vi(182, $cinfo | 0); + $39 = __THREW__; + __THREW__ = 0; + if (($39 | 0) != 0 & (threwValue | 0) != 0) { + $40 = _testSetjmp(HEAP32[$39 >> 2] | 0, _setjmpTable | 0, _setjmpTableSize | 0) | 0; + if (!$40) _longjmp($39 | 0, threwValue | 0); + setTempRet0(threwValue | 0); + } else $40 = -1; + $41 = getTempRet0() | 0; + if (($40 | 0) == 1) { + $$reg2mem70$0 = $41; + continue; + } else { + label = 20; + break; + } + } + $output_scanline = $cinfo + 140 | 0; + $output_height = $cinfo + 116 | 0; + $row$0$reg2mem68$0 = 0; + while (1) { + if ((HEAP32[$output_scanline >> 2] | 0) >>> 0 >= (HEAP32[$output_height >> 2] | 0) >>> 0) break; + $i$0$reg2mem66$0 = 0; while (1) { - $156 = $61 + (HEAP32[$47 + ($$4174 << 2) >> 2] << 1) | 0; - do if (HEAP16[$156 >> 1] | 0) { - if (($$13 | 0) < 1) { - if (!(_jpeg_fill_bit_buffer($2, $$13193, $$13, 1) | 0)) { - $$3169 = $$2168209; - break L65; - } - $$14 = HEAP32[$68 >> 2] | 0; - $$14194 = HEAP32[$67 >> 2] | 0; - } else { - $$14 = $$13; - $$14194 = $$13193; - } - $164 = $$14 + -1 | 0; - if ((1 << $164 & $$14194 | 0) != 0 ? ($168 = HEAP16[$156 >> 1] | 0, $169 = $168 << 16 >> 16, ($44 & $169 | 0) == 0) : 0) if ($168 << 16 >> 16 > -1) { - HEAP16[$156 >> 1] = $44 + $169; - $$15 = $164; - $$15195 = $$14194; - break; - } else { - HEAP16[$156 >> 1] = $45 + $169; - $$15 = $164; - $$15195 = $$14194; - break; - } else { - $$15 = $164; - $$15195 = $$14194; - } - } else { - $$15 = $$13; - $$15195 = $$13193; - } while (0); - if (($$4174 | 0) < ($41 | 0)) { - $$13 = $$15; - $$13193 = $$15195; - $$4174 = $$4174 + 1 | 0; - } else break; + if (($i$0$reg2mem66$0 | 0) == 5) break; + $arrayidx = $call8 + (Math_imul($i$0$reg2mem66$0 + $row$0$reg2mem68$0 | 0, $mul) | 0) | 0; + HEAP32[$buffer + ($i$0$reg2mem66$0 << 2) >> 2] = $arrayidx; + $i$0$reg2mem66$0 = $i$0$reg2mem66$0 + 1 | 0; } - $$1200 = $$0199205 + -1 | 0; - $$16 = $$15; - $$16196 = $$15195; - label = 58; - } while (0); - if ((label | 0) == 58) { - $181 = HEAP32[$49 >> 2] | 0; - HEAP32[$181 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$181 + 4 >> 2] = HEAP32[$54 >> 2]; - HEAP32[$55 >> 2] = $$16196; - HEAP32[$57 >> 2] = $$16; - HEAP32[$59 >> 2] = $$1200; + __THREW__ = 0; + $call17 = invoke_iiii(25, $cinfo | 0, $buffer | 0, 5) | 0; + $44 = __THREW__; + __THREW__ = 0; + if (($44 | 0) != 0 & (threwValue | 0) != 0) { + $45 = _testSetjmp(HEAP32[$44 >> 2] | 0, _setjmpTable | 0, _setjmpTableSize | 0) | 0; + if (!$45) _longjmp($44 | 0, threwValue | 0); + setTempRet0(threwValue | 0); + } else $45 = -1; + $46 = getTempRet0() | 0; + if (($45 | 0) == 1) { + $$reg2mem70$0 = $46; + continue L4; + } + $row$0$reg2mem68$0 = $call17 + $row$0$reg2mem68$0 | 0; + } + __THREW__ = 0; + invoke_ii(66, $cinfo | 0) | 0; + $47 = __THREW__; + __THREW__ = 0; + if (($47 | 0) != 0 & (threwValue | 0) != 0) { + $48 = _testSetjmp(HEAP32[$47 >> 2] | 0, _setjmpTable | 0, _setjmpTableSize | 0) | 0; + if (!$48) _longjmp($47 | 0, threwValue | 0); + setTempRet0(threwValue | 0); + } else $48 = -1; + $49 = getTempRet0() | 0; + if (($48 | 0) == 1) { + $$reg2mem70$0 = $49; + continue; + } + __THREW__ = 0; + invoke_vi(182, $cinfo | 0); + $50 = __THREW__; + __THREW__ = 0; + if (($50 | 0) != 0 & (threwValue | 0) != 0) { + $51 = _testSetjmp(HEAP32[$50 >> 2] | 0, _setjmpTable | 0, _setjmpTableSize | 0) | 0; + if (!$51) _longjmp($50 | 0, threwValue | 0); + setTempRet0(threwValue | 0); + } else $51 = -1; + $$reg2mem70$0 = getTempRet0() | 0; + if (($51 | 0) != 1) { + label = 30; break; } - if (!$$3169) { - $$0 = 0; - STACKTOP = sp; - return $$0 | 0; + } + L33 : do if ((label | 0) == 7) $retval$0$reg2mem$0 = 0; else if ((label | 0) == 14) $retval$0$reg2mem$0 = 0; else if ((label | 0) == 20) $retval$0$reg2mem$0 = 0; else if ((label | 0) == 30) { + if ($w | 0) HEAP32[$w >> 2] = HEAP32[$image_width >> 2]; + if ($h | 0) HEAP32[$h >> 2] = HEAP32[$image_height >> 2]; + if ($nc | 0) HEAP32[$nc >> 2] = HEAP32[$num_components >> 2]; + if (!$dpi) $retval$0$reg2mem$0 = $call8; else { + $56 = HEAP8[$cinfo + 290 >> 0] | 0; + switch ($56 << 24 >> 24) { + case 1: + { + $57 = HEAP16[$cinfo + 292 >> 1] | 0; + if ($57 << 16 >> 16 == (HEAP16[$cinfo + 294 >> 1] | 0)) { + HEAPF32[$dpi >> 2] = +($57 & 65535); + $retval$0$reg2mem$0 = $call8; + break L33; + } + break; + } + case 2: + { + $59 = HEAP16[$cinfo + 292 >> 1] | 0; + if ($59 << 16 >> 16 == (HEAP16[$cinfo + 294 >> 1] | 0)) { + HEAPF32[$dpi >> 2] = +($59 & 65535) * 2.5399999618530273; + $retval$0$reg2mem$0 = $call8; + break L33; + } + break; + } + default: + if ((($56 & 255) > 2 ? (HEAP16[$cinfo + 292 >> 1] | 0) == 0 : 0) ? (HEAP16[$cinfo + 294 >> 1] | 0) == 0 : 0) { + HEAPF32[$dpi >> 2] = +($56 & 255); + $retval$0$reg2mem$0 = $call8; + break L33; + } + } + HEAPF32[$dpi >> 2] = 0.0; + $retval$0$reg2mem$0 = $call8; } - $$4226 = $$3169; - do { - $$4226 = $$4226 + -1 | 0; - HEAP16[$61 + (HEAP32[$3 + ($$4226 << 2) >> 2] << 1) >> 1] = 0; - } while (($$4226 | 0) != 0); - $$0 = 0; - STACKTOP = sp; - return $$0 | 0; } while (0); - $184 = $5 + 44 | 0; - HEAP32[$184 >> 2] = (HEAP32[$184 >> 2] | 0) + -1; - $$0 = 1; + _free(_setjmpTable | 0); STACKTOP = sp; - return $$0 | 0; + return $retval$0$reg2mem$0 | 0; } -function _mbsrtowcs($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $$0105132 = 0, $$0111131 = 0, $$097 = 0, $$098$lcssa = 0, $$098133 = 0, $$10 = 0, $$1106$ph = 0, $$1106147 = 0, $$1112 = 0, $$1112$ph = 0, $$11122124 = 0, $$11182 = 0, $$11183 = 0, $$199 = 0, $$199$ph = 0, $$2 = 0, $$2100154 = 0, $$2107135 = 0, $$2113153 = 0, $$3101 = 0, $$3108 = 0, $$3108$ph = 0, $$3108176 = 0, $$3114 = 0, $$4 = 0, $$4102 = 0, $$4109 = 0, $$4115 = 0, $$5 = 0, $$5103 = 0, $$5110 = 0, $$5110180 = 0, $$5110181 = 0, $$5116$ph = 0, $$5116146 = 0, $$6 = 0, $$6104$lcssa = 0, $$6104$ph = 0, $$6104148 = 0, $$6117134 = 0, $$7118 = 0, $$7118$ph = 0, $$7118175 = 0, $$7136 = 0, $$8 = 0, $$8$ph = 0, $$8119 = 0, $$8177 = 0, $$9 = 0, $$9$sink = 0, $$9120 = 0, $$9120179 = 0, $$pre = 0, $$pre$phi173Z2D = 0, $$pre$phi174Z2D = 0, $$pre$phiZ2D = 0, $$pre171 = 0, $10 = 0, $105 = 0, $108 = 0, $109 = 0, $113 = 0, $117 = 0, $123 = 0, $124 = 0, $131 = 0, $133 = 0, $137 = 0, $14 = 0, $140 = 0, $141 = 0, $145 = 0, $152 = 0, $153 = 0, $159 = 0, $17 = 0, $19 = 0, $23 = 0, $26 = 0, $33 = 0, $38 = 0, $4 = 0, $41 = 0, $47 = 0, $48 = 0, $53 = 0, $6 = 0, $60 = 0, $66 = 0, $72 = 0, $82 = 0, $83 = 0, $89 = 0, label = 0; - $4 = HEAP32[$1 >> 2] | 0; - if (($3 | 0) != 0 ? ($6 = HEAP32[$3 >> 2] | 0, ($6 | 0) != 0) : 0) if (!$0) { - $$2 = $6; - $$4102 = $4; - $$4115 = $2; +function _mbsrtowcs($ws, $src, $wn, $st) { + $ws = $ws | 0; + $src = $src | 0; + $wn = $wn | 0; + $st = $st | 0; + var $$pre = 0, $$pre135 = 0, $0 = 0, $1 = 0, $11 = 0, $14 = 0, $21 = 0, $28 = 0, $4 = 0, $5 = 0, $7 = 0, $8 = 0, $9 = 0, $c$2 = 0, $c$4 = 0, $c$5 = 0, $c$6 = 0, $call214 = 0, $call21492 = 0, $conv132$pre$phi138Z2D = 0, $conv132$pre$phiZ2D = 0, $conv152 = 0, $conv38 = 0, $conv99 = 0, $dec = 0, $incdec$ptr = 0, $incdec$ptr126 = 0, $incdec$ptr128 = 0, $incdec$ptr137 = 0, $incdec$ptr163 = 0, $incdec$ptr165 = 0, $incdec$ptr180 = 0, $incdec$ptr67 = 0, $incdec$ptr78 = 0, $locale = 0, $or168 = 0, $or183 = 0, $retval$0 = 0, $s$0$lcssa = 0, $s$0102 = 0, $s$1 = 0, $s$1$ph = 0, $s$10 = 0, $s$11147 = 0, $s$11148 = 0, $s$119194 = 0, $s$2123 = 0, $s$3 = 0, $s$4 = 0, $s$5 = 0, $s$6$lcssa = 0, $s$6$ph = 0, $s$6116 = 0, $s$7106 = 0, $s$8 = 0, $s$8$ph = 0, $s$8141 = 0, $s$9 = 0, $s$9$sink = 0, $sub100 = 0, $sub129 = 0, $sub133$pre$phiZ2D = 0, $sub143 = 0, $sub173 = 0, $sub188 = 0, $sub47 = 0, $tobool7 = 0, $wn$addr$0100 = 0, $wn$addr$1 = 0, $wn$addr$1$ph = 0, $wn$addr$2122 = 0, $wn$addr$3 = 0, $wn$addr$4 = 0, $wn$addr$5$ph = 0, $wn$addr$5114 = 0, $wn$addr$6104 = 0, $wn$addr$7 = 0, $wn$addr$7$ph = 0, $wn$addr$7139 = 0, $wn$addr$8 = 0, $wn$addr$9 = 0, $wn$addr$9144 = 0, $ws$addr$0101 = 0, $ws$addr$1$ph = 0, $ws$addr$1115 = 0, $ws$addr$2105 = 0, $ws$addr$3 = 0, $ws$addr$3$ph = 0, $ws$addr$3140 = 0, $ws$addr$4 = 0, $ws$addr$5 = 0, $ws$addr$5145 = 0, $ws$addr$5146 = 0, label = 0; + $0 = HEAP32[$src >> 2] | 0; + if (($st | 0) != 0 ? ($1 = HEAP32[$st >> 2] | 0, ($1 | 0) != 0) : 0) if (!$ws) { + $c$2 = $1; + $s$4 = $0; + $wn$addr$4 = $wn; label = 26; } else { - HEAP32[$3 >> 2] = 0; - $$4 = $6; - $$4109 = $0; - $$8119 = $2; - $$9 = $4; + HEAP32[$st >> 2] = 0; + $c$4 = $1; + $s$9 = $0; + $wn$addr$8 = $wn; + $ws$addr$4 = $ws; label = 48; } else label = 5; L5 : do if ((label | 0) == 5) { - $10 = (___pthread_self_417() | 0) + 188 | 0; - $14 = ($0 | 0) != 0; - if (HEAP32[HEAP32[$10 >> 2] >> 2] | 0) if ($14) { - $$1106$ph = $0; - $$5116$ph = $2; - $$6104$ph = $4; + $locale = (___pthread_self_680() | 0) + 188 | 0; + $tobool7 = ($ws | 0) != 0; + if (HEAP32[HEAP32[$locale >> 2] >> 2] | 0) if ($tobool7) { + $s$6$ph = $0; + $wn$addr$5$ph = $wn; + $ws$addr$1$ph = $ws; label = 33; break; } else { - $$1112$ph = $2; - $$199$ph = $4; + $s$1$ph = $0; + $wn$addr$1$ph = $wn; label = 15; break; } - if (!$14) { - $$097 = _strlen($4) | 0; + if (!$tobool7) { + $retval$0 = _strlen($0) | 0; label = 63; break; } - L13 : do if (!$2) $$098$lcssa = $4; else { - $$0105132 = $0; - $$0111131 = $2; - $$098133 = $4; + L13 : do if (!$wn) $s$0$lcssa = $0; else { + $s$0102 = $0; + $wn$addr$0100 = $wn; + $ws$addr$0101 = $ws; while (1) { - $17 = HEAP8[$$098133 >> 0] | 0; - if (!($17 << 24 >> 24)) break; - $19 = $$098133 + 1 | 0; - HEAP32[$$0105132 >> 2] = $17 << 24 >> 24 & 57343; - $23 = $$0111131 + -1 | 0; - if (!$23) { - $$098$lcssa = $19; + $4 = HEAP8[$s$0102 >> 0] | 0; + if (!($4 << 24 >> 24)) break; + $incdec$ptr = $s$0102 + 1 | 0; + HEAP32[$ws$addr$0101 >> 2] = $4 << 24 >> 24 & 57343; + $dec = $wn$addr$0100 + -1 | 0; + if (!$dec) { + $s$0$lcssa = $incdec$ptr; break L13; } else { - $$0105132 = $$0105132 + 4 | 0; - $$0111131 = $23; - $$098133 = $19; + $s$0102 = $incdec$ptr; + $wn$addr$0100 = $dec; + $ws$addr$0101 = $ws$addr$0101 + 4 | 0; } } - HEAP32[$$0105132 >> 2] = 0; - HEAP32[$1 >> 2] = 0; - $$097 = $2 - $$0111131 | 0; + HEAP32[$ws$addr$0101 >> 2] = 0; + HEAP32[$src >> 2] = 0; + $retval$0 = $wn - $wn$addr$0100 | 0; label = 63; break L5; } while (0); - HEAP32[$1 >> 2] = $$098$lcssa; - $$097 = $2; + HEAP32[$src >> 2] = $s$0$lcssa; + $retval$0 = $wn; label = 63; } while (0); L20 : while (1) { L21 : do if ((label | 0) == 15) { label = 0; - $$1112 = $$1112$ph; - $$199 = $$199$ph; + $s$1 = $s$1$ph; + $wn$addr$1 = $wn$addr$1$ph; while (1) { - $26 = HEAP8[$$199 >> 0] | 0; - if ((($26 & 255) + -1 | 0) >>> 0 < 127 ? ($$199 & 3 | 0) == 0 : 0) { - $33 = HEAP32[$$199 >> 2] | 0; - $38 = $33 & 255; - if (!(($33 + -16843009 | $33) & -2139062144)) { - $$2100154 = $$199; - $$2113153 = $$1112; + $5 = HEAP8[$s$1 >> 0] | 0; + if ((($5 & 255) + -1 | 0) >>> 0 < 127 ? ($s$1 & 3 | 0) == 0 : 0) { + $7 = HEAP32[$s$1 >> 2] | 0; + $8 = $7 & 255; + if (!(($7 + -16843009 | $7) & -2139062144)) { + $s$2123 = $s$1; + $wn$addr$2122 = $wn$addr$1; do { - $$2100154 = $$2100154 + 4 | 0; - $$2113153 = $$2113153 + -4 | 0; - $41 = HEAP32[$$2100154 >> 2] | 0; - } while (!(($41 + -16843009 | $41) & -2139062144 | 0)); - $$3101 = $$2100154; - $$3114 = $$2113153; - $48 = $41 & 255; + $s$2123 = $s$2123 + 4 | 0; + $wn$addr$2122 = $wn$addr$2122 + -4 | 0; + $9 = HEAP32[$s$2123 >> 2] | 0; + } while (!(($9 + -16843009 | $9) & -2139062144 | 0)); + $11 = $9 & 255; + $s$3 = $s$2123; + $wn$addr$3 = $wn$addr$2122; } else { - $$3101 = $$199; - $$3114 = $$1112; - $48 = $38; + $11 = $8; + $s$3 = $s$1; + $wn$addr$3 = $wn$addr$1; } } else { - $$3101 = $$199; - $$3114 = $$1112; - $48 = $26; - } - $47 = $48 & 255; - if (($47 + -1 | 0) >>> 0 >= 127) break; - $$1112 = $$3114 + -1 | 0; - $$199 = $$3101 + 1 | 0; - } - $53 = $47 + -194 | 0; - if ($53 >>> 0 > 50) { - $$11182 = $$3101; - $$5110180 = $0; - $$9120179 = $$3114; + $11 = $5; + $s$3 = $s$1; + $wn$addr$3 = $wn$addr$1; + } + $conv38 = $11 & 255; + if (($conv38 + -1 | 0) >>> 0 >= 127) break; + $s$1 = $s$3 + 1 | 0; + $wn$addr$1 = $wn$addr$3 + -1 | 0; + } + $sub47 = $conv38 + -194 | 0; + if ($sub47 >>> 0 > 50) { + $s$11147 = $s$3; + $wn$addr$9144 = $wn$addr$3; + $ws$addr$5145 = $ws; label = 57; } else { - $$2 = HEAP32[5728 + ($53 << 2) >> 2] | 0; - $$4102 = $$3101 + 1 | 0; - $$4115 = $$3114; + $c$2 = HEAP32[5728 + ($sub47 << 2) >> 2] | 0; + $s$4 = $s$3 + 1 | 0; + $wn$addr$4 = $wn$addr$3; label = 26; continue L20; } } else if ((label | 0) == 26) { label = 0; - $60 = (HEAPU8[$$4102 >> 0] | 0) >>> 3; - if (($60 + -16 | $60 + ($$2 >> 26)) >>> 0 > 7) { - $$5110 = $0; - $$6 = $$2; - $$9$sink = $$4102; - $$9120 = $$4115; + $14 = (HEAPU8[$s$4 >> 0] | 0) >>> 3; + if (($14 + -16 | $14 + ($c$2 >> 26)) >>> 0 > 7) { + $c$6 = $c$2; + $s$9$sink = $s$4; + $wn$addr$9 = $wn$addr$4; + $ws$addr$5 = $ws; label = 56; } else { - $66 = $$4102 + 1 | 0; - if ($$2 & 33554432) { - if ((HEAP8[$66 >> 0] & -64) << 24 >> 24 != -128) { - $$5110 = $0; - $$6 = $$2; - $$9$sink = $$4102; - $$9120 = $$4115; + $incdec$ptr67 = $s$4 + 1 | 0; + if ($c$2 & 33554432) { + if ((HEAP8[$incdec$ptr67 >> 0] & -64) << 24 >> 24 != -128) { + $c$6 = $c$2; + $s$9$sink = $s$4; + $wn$addr$9 = $wn$addr$4; + $ws$addr$5 = $ws; label = 56; break; } - $72 = $$4102 + 2 | 0; - if (!($$2 & 524288)) $$5103 = $72; else { - if ((HEAP8[$72 >> 0] & -64) << 24 >> 24 != -128) { - $$5110 = $0; - $$6 = $$2; - $$9$sink = $$4102; - $$9120 = $$4115; + $incdec$ptr78 = $s$4 + 2 | 0; + if (!($c$2 & 524288)) $s$5 = $incdec$ptr78; else { + if ((HEAP8[$incdec$ptr78 >> 0] & -64) << 24 >> 24 != -128) { + $c$6 = $c$2; + $s$9$sink = $s$4; + $wn$addr$9 = $wn$addr$4; + $ws$addr$5 = $ws; label = 56; break; } - $$5103 = $$4102 + 3 | 0; + $s$5 = $s$4 + 3 | 0; } - } else $$5103 = $66; - $$1112$ph = $$4115 + -1 | 0; - $$199$ph = $$5103; + } else $s$5 = $incdec$ptr67; + $s$1$ph = $s$5; + $wn$addr$1$ph = $wn$addr$4 + -1 | 0; label = 15; continue L20; } } else if ((label | 0) == 33) { label = 0; - L23 : do if (!$$5116$ph) $$6104$lcssa = $$6104$ph; else { - $$1106147 = $$1106$ph; - $$5116146 = $$5116$ph; - $$6104148 = $$6104$ph; + L23 : do if (!$wn$addr$5$ph) $s$6$lcssa = $s$6$ph; else { + $s$6116 = $s$6$ph; + $wn$addr$5114 = $wn$addr$5$ph; + $ws$addr$1115 = $ws$addr$1$ph; while (1) { - $82 = HEAPU8[$$6104148 >> 0] | 0; - $83 = $82 + -1 | 0; - if ($83 >>> 0 < 127) if (($$6104148 & 3 | 0) == 0 & $$5116146 >>> 0 > 4) { - $$2107135 = $$1106147; - $$6117134 = $$5116146; - $$7136 = $$6104148; + $conv99 = HEAPU8[$s$6116 >> 0] | 0; + $sub100 = $conv99 + -1 | 0; + if ($sub100 >>> 0 < 127) if (($s$6116 & 3 | 0) == 0 & $wn$addr$5114 >>> 0 > 4) { + $s$7106 = $s$6116; + $wn$addr$6104 = $wn$addr$5114; + $ws$addr$2105 = $ws$addr$1115; while (1) { - $89 = HEAP32[$$7136 >> 2] | 0; - if (($89 + -16843009 | $89) & -2139062144 | 0) { + $21 = HEAP32[$s$7106 >> 2] | 0; + if (($21 + -16843009 | $21) & -2139062144 | 0) { label = 42; break; } - HEAP32[$$2107135 >> 2] = $89 & 255; - HEAP32[$$2107135 + 4 >> 2] = HEAPU8[$$7136 + 1 >> 0]; - HEAP32[$$2107135 + 8 >> 2] = HEAPU8[$$7136 + 2 >> 0]; - $105 = $$7136 + 4 | 0; - $108 = $$2107135 + 16 | 0; - HEAP32[$$2107135 + 12 >> 2] = HEAPU8[$$7136 + 3 >> 0]; - $109 = $$6117134 + -4 | 0; - if ($109 >>> 0 > 4) { - $$2107135 = $108; - $$6117134 = $109; - $$7136 = $105; + HEAP32[$ws$addr$2105 >> 2] = $21 & 255; + HEAP32[$ws$addr$2105 + 4 >> 2] = HEAPU8[$s$7106 + 1 >> 0]; + HEAP32[$ws$addr$2105 + 8 >> 2] = HEAPU8[$s$7106 + 2 >> 0]; + $incdec$ptr126 = $s$7106 + 4 | 0; + $incdec$ptr128 = $ws$addr$2105 + 16 | 0; + HEAP32[$ws$addr$2105 + 12 >> 2] = HEAPU8[$s$7106 + 3 >> 0]; + $sub129 = $wn$addr$6104 + -4 | 0; + if ($sub129 >>> 0 > 4) { + $s$7106 = $incdec$ptr126; + $wn$addr$6104 = $sub129; + $ws$addr$2105 = $incdec$ptr128; } else { label = 41; break; @@ -35088,1526 +35234,1675 @@ function _mbsrtowcs($0, $1, $2, $3) { } if ((label | 0) == 41) { label = 0; - $$3108$ph = $108; - $$7118$ph = $109; - $$8$ph = $105; - $$pre = HEAP8[$105 >> 0] | 0; + $$pre = HEAP8[$incdec$ptr126 >> 0] | 0; + $s$8$ph = $incdec$ptr126; + $wn$addr$7$ph = $sub129; + $ws$addr$3$ph = $incdec$ptr128; } else if ((label | 0) == 42) { label = 0; - $$3108$ph = $$2107135; - $$7118$ph = $$6117134; - $$8$ph = $$7136; - $$pre = $89 & 255; - } - $$pre171 = $$pre & 255; - $$3108 = $$3108$ph; - $$7118 = $$7118$ph; - $$8 = $$8$ph; - $$pre$phi173Z2D = $$pre171 + -1 | 0; - $$pre$phiZ2D = $$pre171; + $$pre = $21 & 255; + $s$8$ph = $s$7106; + $wn$addr$7$ph = $wn$addr$6104; + $ws$addr$3$ph = $ws$addr$2105; + } + $$pre135 = $$pre & 255; + $conv132$pre$phiZ2D = $$pre135; + $s$8 = $s$8$ph; + $sub133$pre$phiZ2D = $$pre135 + -1 | 0; + $wn$addr$7 = $wn$addr$7$ph; + $ws$addr$3 = $ws$addr$3$ph; label = 44; } else { - $$3108176 = $$1106147; - $$7118175 = $$5116146; - $$8177 = $$6104148; - $$pre$phi174Z2D = $82; + $conv132$pre$phi138Z2D = $conv99; + $s$8141 = $s$6116; + $wn$addr$7139 = $wn$addr$5114; + $ws$addr$3140 = $ws$addr$1115; } else { - $$3108 = $$1106147; - $$7118 = $$5116146; - $$8 = $$6104148; - $$pre$phi173Z2D = $83; - $$pre$phiZ2D = $82; + $conv132$pre$phiZ2D = $conv99; + $s$8 = $s$6116; + $sub133$pre$phiZ2D = $sub100; + $wn$addr$7 = $wn$addr$5114; + $ws$addr$3 = $ws$addr$1115; label = 44; } if ((label | 0) == 44) { label = 0; - if ($$pre$phi173Z2D >>> 0 < 127) { - $$3108176 = $$3108; - $$7118175 = $$7118; - $$8177 = $$8; - $$pre$phi174Z2D = $$pre$phiZ2D; + if ($sub133$pre$phiZ2D >>> 0 < 127) { + $conv132$pre$phi138Z2D = $conv132$pre$phiZ2D; + $s$8141 = $s$8; + $wn$addr$7139 = $wn$addr$7; + $ws$addr$3140 = $ws$addr$3; } else break; } - $113 = $$8177 + 1 | 0; - HEAP32[$$3108176 >> 2] = $$pre$phi174Z2D; - $$5116146 = $$7118175 + -1 | 0; - if (!$$5116146) { - $$6104$lcssa = $113; + $incdec$ptr137 = $s$8141 + 1 | 0; + HEAP32[$ws$addr$3140 >> 2] = $conv132$pre$phi138Z2D; + $wn$addr$5114 = $wn$addr$7139 + -1 | 0; + if (!$wn$addr$5114) { + $s$6$lcssa = $incdec$ptr137; break L23; } else { - $$1106147 = $$3108176 + 4 | 0; - $$6104148 = $113; + $s$6116 = $incdec$ptr137; + $ws$addr$1115 = $ws$addr$3140 + 4 | 0; } } - $117 = $$pre$phiZ2D + -194 | 0; - if ($117 >>> 0 > 50) { - $$11182 = $$8; - $$5110180 = $$3108; - $$9120179 = $$7118; + $sub143 = $conv132$pre$phiZ2D + -194 | 0; + if ($sub143 >>> 0 > 50) { + $s$11147 = $s$8; + $wn$addr$9144 = $wn$addr$7; + $ws$addr$5145 = $ws$addr$3; label = 57; break L21; } - $$4 = HEAP32[5728 + ($117 << 2) >> 2] | 0; - $$4109 = $$3108; - $$8119 = $$7118; - $$9 = $$8 + 1 | 0; + $c$4 = HEAP32[5728 + ($sub143 << 2) >> 2] | 0; + $s$9 = $s$8 + 1 | 0; + $wn$addr$8 = $wn$addr$7; + $ws$addr$4 = $ws$addr$3; label = 48; continue L20; } while (0); - HEAP32[$1 >> 2] = $$6104$lcssa; - $$097 = $2; + HEAP32[$src >> 2] = $s$6$lcssa; + $retval$0 = $wn; label = 63; continue L20; } else if ((label | 0) == 48) { label = 0; - $123 = HEAPU8[$$9 >> 0] | 0; - $124 = $123 >>> 3; - if (($124 + -16 | $124 + ($$4 >> 26)) >>> 0 > 7) { - $$5110 = $$4109; - $$6 = $$4; - $$9$sink = $$9; - $$9120 = $$8119; + $conv152 = HEAPU8[$s$9 >> 0] | 0; + $28 = $conv152 >>> 3; + if (($28 + -16 | $28 + ($c$4 >> 26)) >>> 0 > 7) { + $c$6 = $c$4; + $s$9$sink = $s$9; + $wn$addr$9 = $wn$addr$8; + $ws$addr$5 = $ws$addr$4; label = 56; } else { - $131 = $$9 + 1 | 0; - $133 = $123 + -128 | $$4 << 6; - do if (($133 | 0) < 0) { - $137 = (HEAPU8[$131 >> 0] | 0) + -128 | 0; - if ($137 >>> 0 <= 63) { - $140 = $$9 + 2 | 0; - $141 = $137 | $133 << 6; - if (($141 | 0) >= 0) { - $$10 = $140; - $$5 = $141; + $incdec$ptr165 = $s$9 + 1 | 0; + $or168 = $conv152 + -128 | $c$4 << 6; + do if (($or168 | 0) < 0) { + $sub173 = (HEAPU8[$incdec$ptr165 >> 0] | 0) + -128 | 0; + if ($sub173 >>> 0 <= 63) { + $incdec$ptr180 = $s$9 + 2 | 0; + $or183 = $sub173 | $or168 << 6; + if (($or183 | 0) >= 0) { + $c$5 = $or183; + $s$10 = $incdec$ptr180; break; } - $145 = (HEAPU8[$140 >> 0] | 0) + -128 | 0; - if ($145 >>> 0 <= 63) { - $$10 = $$9 + 3 | 0; - $$5 = $145 | $141 << 6; + $sub188 = (HEAPU8[$incdec$ptr180 >> 0] | 0) + -128 | 0; + if ($sub188 >>> 0 <= 63) { + $c$5 = $sub188 | $or183 << 6; + $s$10 = $s$9 + 3 | 0; break; } } - $152 = ___errno_location() | 0; - HEAP32[$152 >> 2] = 25; - $$11122124 = $$9 + -1 | 0; + $call21492 = ___errno_location() | 0; + HEAP32[$call21492 >> 2] = 25; + $s$119194 = $s$9 + -1 | 0; break L21; } else { - $$10 = $131; - $$5 = $133; + $c$5 = $or168; + $s$10 = $incdec$ptr165; } while (0); - HEAP32[$$4109 >> 2] = $$5; - $$1106$ph = $$4109 + 4 | 0; - $$5116$ph = $$8119 + -1 | 0; - $$6104$ph = $$10; + HEAP32[$ws$addr$4 >> 2] = $c$5; + $s$6$ph = $s$10; + $wn$addr$5$ph = $wn$addr$8 + -1 | 0; + $ws$addr$1$ph = $ws$addr$4 + 4 | 0; label = 33; continue L20; } } else if ((label | 0) == 63) { label = 0; - return $$097 | 0; + return $retval$0 | 0; } while (0); if ((label | 0) == 56) { label = 0; - $153 = $$9$sink + -1 | 0; - if (!$$6) { - $$11182 = $153; - $$5110180 = $$5110; - $$9120179 = $$9120; + $incdec$ptr163 = $s$9$sink + -1 | 0; + if (!$c$6) { + $s$11147 = $incdec$ptr163; + $wn$addr$9144 = $wn$addr$9; + $ws$addr$5145 = $ws$addr$5; label = 57; } else { - $$11183 = $153; - $$5110181 = $$5110; + $s$11148 = $incdec$ptr163; + $ws$addr$5146 = $ws$addr$5; label = 61; } } if ((label | 0) == 57) { label = 0; - if (!(HEAP8[$$11182 >> 0] | 0)) { - if ($$5110180 | 0) { - HEAP32[$$5110180 >> 2] = 0; - HEAP32[$1 >> 2] = 0; + if (!(HEAP8[$s$11147 >> 0] | 0)) { + if ($ws$addr$5145 | 0) { + HEAP32[$ws$addr$5145 >> 2] = 0; + HEAP32[$src >> 2] = 0; } - $$097 = $2 - $$9120179 | 0; + $retval$0 = $wn - $wn$addr$9144 | 0; label = 63; continue; } else { - $$11183 = $$11182; - $$5110181 = $$5110180; + $s$11148 = $s$11147; + $ws$addr$5146 = $ws$addr$5145; label = 61; } } if ((label | 0) == 61) { label = 0; - $159 = ___errno_location() | 0; - HEAP32[$159 >> 2] = 25; - if (!$$5110181) { - $$097 = -1; + $call214 = ___errno_location() | 0; + HEAP32[$call214 >> 2] = 25; + if (!$ws$addr$5146) { + $retval$0 = -1; label = 63; continue; - } else $$11122124 = $$11183; + } else $s$119194 = $s$11148; } - HEAP32[$1 >> 2] = $$11122124; - $$097 = -1; + HEAP32[$src >> 2] = $s$119194; + $retval$0 = -1; label = 63; } return 0; } -function __ZNK6vision21HoughSimilarityVoting11getBinIndexEiiii($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $103 = 0, $107 = 0, $114 = 0, $119 = 0, $12 = 0, $123 = 0, $132 = 0, $137 = 0, $141 = 0, $143 = 0, $147 = 0, $151 = 0, $160 = 0, $165 = 0, $169 = 0, $17 = 0, $21 = 0, $23 = 0, $30 = 0, $35 = 0, $39 = 0, $46 = 0, $5 = 0, $51 = 0, $55 = 0, $57 = 0, $64 = 0, $69 = 0, $73 = 0, $80 = 0, $85 = 0, $89 = 0, $91 = 0, $98 = 0, sp = 0; +function __ZN6vision14VisualDatabaseINS_14FREAKExtractorENS_18BinaryFeatureStoreENS_20BinaryFeatureMatcherILi96EEEE5queryEPKNS_8KeyframeILi96EEE($this, $query_keyframe) { + $this = $this | 0; + $query_keyframe = $query_keyframe | 0; + var $$pre = 0, $$pre$phiZ2D = 0, $2 = 0, $_ScopedTimer = 0, $_ScopedTimer101 = 0, $_ScopedTimer116 = 0, $_ScopedTimer146 = 0, $__end_$i$i = 0, $__end_$i$i$i = 0, $__end_$i$i72 = 0, $__ptr_$i54 = 0, $__ptr_$i58$pre$phiZZ2D = 0, $__value_$i$i$i$i = 0, $__value_$i$i$i$i73 = 0, $arraydecay304 = 0, $call128 = 0, $call176 = 0, $call185 = 0, $call207 = 0, $call209 = 0, $call21 = 0, $call211 = 0, $call217 = 0, $call225 = 0, $call265 = 0, $call3 = 0, $call34 = 0, $call44 = 0, $call46 = 0, $call62 = 0, $call72 = 0, $call74 = 0, $call76 = 0, $call82 = 0, $call90 = 0, $it$sroa$0$0 = 0, $it$sroa$0$0$in = 0, $mHomographyInlierThreshold = 0, $mHoughSimilarityVoting = 0, $mMatchedId = 0, $mMatchedInliers = 0, $mMatcher = 0, $mRobustHomography = 0, $mUseFeatureIndex = 0, $max_hough_index$0 = 0, $max_hough_index$2 = 0, $sub$ptr$div$i47 = 0, $tobool = 0, label = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 144 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(144); + $_ScopedTimer = sp + 104 | 0; + $_ScopedTimer101 = sp; + $_ScopedTimer116 = sp + 72 | 0; + $_ScopedTimer146 = sp + 40 | 0; + $mMatchedInliers = $this + 12 | 0; + $__end_$i$i$i = $this + 16 | 0; + HEAP32[$__end_$i$i$i >> 2] = HEAP32[$mMatchedInliers >> 2]; + $mMatchedId = $this + 24 | 0; + HEAP32[$mMatchedId >> 2] = -1; + $call3 = __ZNK6vision18BinaryFeatureStore6pointsEv(__ZNK6vision8KeyframeILi96EE5storeEv($query_keyframe) | 0) | 0; + $mUseFeatureIndex = $this + 8 | 0; + $mMatcher = $this + 636 | 0; + $mHoughSimilarityVoting = $this + 652 | 0; + $__end_$i$i = $_ScopedTimer + 4 | 0; + $__value_$i$i$i$i = $_ScopedTimer + 8 | 0; + $mRobustHomography = $this + 788 | 0; + $__end_$i$i72 = $_ScopedTimer116 + 4 | 0; + $__value_$i$i$i$i73 = $_ScopedTimer116 + 8 | 0; + $mHomographyInlierThreshold = $this + 4 | 0; + $arraydecay304 = $this + 28 | 0; + $it$sroa$0$0$in = $this + 80 | 0; + while (1) { + $it$sroa$0$0 = HEAP32[$it$sroa$0$0$in >> 2] | 0; + if (!$it$sroa$0$0) break; + __ZN6vision11ScopedTimerC2EPKc($_ScopedTimer, 35388); + do if (__ZN6vision11ScopedTimercvbEv($_ScopedTimer) | 0) { + $tobool = (HEAP8[$mUseFeatureIndex >> 0] | 0) == 0; + $call21 = __ZNK6vision8KeyframeILi96EE5storeEv($query_keyframe) | 0; + $2 = $it$sroa$0$0; + $__ptr_$i54 = $2 + 12 | 0; + $call44 = __ZN6vision8KeyframeILi96EE5storeEv(HEAP32[$__ptr_$i54 >> 2] | 0) | 0; + if ($tobool) { + $call46 = __ZN6vision20BinaryFeatureMatcherILi96EE5matchEPKNS_18BinaryFeatureStoreES4_($mMatcher, $call21, $call44) | 0; + if ($call46 >>> 0 >= (HEAP32[$this >> 2] | 0) >>> 0) { + $$pre$phiZ2D = $2; + $__ptr_$i58$pre$phiZZ2D = $__ptr_$i54; + label = 9; + break; + } + } else { + $call34 = __ZN6vision20BinaryFeatureMatcherILi96EE5matchEPKNS_18BinaryFeatureStoreES4_RKNS_28BinaryHierarchicalClusteringILi96EEE($mMatcher, $call21, $call44, __ZNK6vision8KeyframeILi96EE5indexEv(HEAP32[$__ptr_$i54 >> 2] | 0) | 0) | 0; + if ($call34 >>> 0 >= (HEAP32[$this >> 2] | 0) >>> 0) { + $$pre$phiZ2D = $2; + $__ptr_$i58$pre$phiZZ2D = $__ptr_$i54; + label = 9; + break; + } + } + __ZN6vision11ScopedTimerD2Ev($_ScopedTimer); + } else { + $$pre = $it$sroa$0$0; + $$pre$phiZ2D = $$pre; + $__ptr_$i58$pre$phiZZ2D = $$pre + 12 | 0; + label = 9; + } while (0); + do if ((label | 0) == 9) { + label = 0; + __ZN6vision11ScopedTimerD2Ev($_ScopedTimer); + $call62 = __ZN6vision18BinaryFeatureStore6pointsEv(__ZN6vision8KeyframeILi96EE5storeEv(HEAP32[$__ptr_$i58$pre$phiZZ2D >> 2] | 0) | 0) | 0; + __ZN6vision11ScopedTimerC2EPKc($_ScopedTimer, 35405); + if (__ZN6vision11ScopedTimercvbEv($_ScopedTimer) | 0) { + $call72 = __ZNK6vision20BinaryFeatureMatcherILi96EE7matchesEv($mMatcher) | 0; + $call74 = __ZNK6vision8KeyframeILi96EE5widthEv($query_keyframe) | 0; + $call76 = __ZNK6vision8KeyframeILi96EE6heightEv($query_keyframe) | 0; + $call82 = __ZNK6vision8KeyframeILi96EE5widthEv(HEAP32[$__ptr_$i58$pre$phiZZ2D >> 2] | 0) | 0; + $call90 = __ZN6vision19FindHoughSimilarityERNS_21HoughSimilarityVotingERKNSt3__26vectorINS_12FeaturePointENS2_9allocatorIS4_EEEES9_RKNS3_INS_7match_tENS5_ISA_EEEEiiii($mHoughSimilarityVoting, $call3, $call62, $call72, $call74, $call76, $call82, __ZNK6vision8KeyframeILi96EE6heightEv(HEAP32[$__ptr_$i58$pre$phiZZ2D >> 2] | 0) | 0) | 0; + if (($call90 | 0) < 0) { + __ZN6vision11ScopedTimerD2Ev($_ScopedTimer); + break; + } else $max_hough_index$0 = $call90; + } else $max_hough_index$0 = -1; + __ZN6vision11ScopedTimerD2Ev($_ScopedTimer); + HEAP32[$_ScopedTimer >> 2] = 0; + HEAP32[$__end_$i$i >> 2] = 0; + HEAP32[$__value_$i$i$i$i >> 2] = 0; + __ZN6vision11ScopedTimerC2EPKc($_ScopedTimer101, 35422); + if (__ZN6vision11ScopedTimercvbEv($_ScopedTimer101) | 0) __ZN6vision16FindHoughMatchesERNSt3__26vectorINS_7match_tENS0_9allocatorIS2_EEEERKNS_21HoughSimilarityVotingERKS5_if($_ScopedTimer, $mHoughSimilarityVoting, __ZNK6vision20BinaryFeatureMatcherILi96EE7matchesEv($mMatcher) | 0, $max_hough_index$0, 1.0); + __ZN6vision11ScopedTimerD2Ev($_ScopedTimer101); + __ZN6vision11ScopedTimerC2EPKc($_ScopedTimer116, 35445); + if (__ZN6vision11ScopedTimercvbEv($_ScopedTimer116) | 0 ? ($call128 = __ZNK6vision8KeyframeILi96EE5widthEv(HEAP32[$__ptr_$i58$pre$phiZZ2D >> 2] | 0) | 0, !(__ZN6vision18EstimateHomographyEPfRKNSt3__26vectorINS_12FeaturePointENS1_9allocatorIS3_EEEES8_RKNS2_INS_7match_tENS4_IS9_EEEERNS_16RobustHomographyIfEEii($_ScopedTimer101, $call3, $call62, $_ScopedTimer, $mRobustHomography, $call128, __ZNK6vision8KeyframeILi96EE6heightEv(HEAP32[$__ptr_$i58$pre$phiZZ2D >> 2] | 0) | 0) | 0)) : 0) __ZN6vision11ScopedTimerD2Ev($_ScopedTimer116); else { + __ZN6vision11ScopedTimerD2Ev($_ScopedTimer116); + HEAP32[$_ScopedTimer116 >> 2] = 0; + HEAP32[$__end_$i$i72 >> 2] = 0; + HEAP32[$__value_$i$i$i$i73 >> 2] = 0; + __ZN6vision11ScopedTimerC2EPKc($_ScopedTimer146, 35469); + if (__ZN6vision11ScopedTimercvbEv($_ScopedTimer146) | 0 ? (__ZN6vision11FindInliersERNSt3__26vectorINS_7match_tENS0_9allocatorIS2_EEEEPKfRKNS1_INS_12FeaturePointENS3_IS9_EEEESD_RKS5_f($_ScopedTimer116, $_ScopedTimer101, $call3, $call62, $_ScopedTimer, +HEAPF32[$mHomographyInlierThreshold >> 2]), (HEAP32[$__end_$i$i72 >> 2] | 0) - (HEAP32[$_ScopedTimer116 >> 2] | 0) >> 3 >>> 0 < (HEAP32[$this >> 2] | 0) >>> 0) : 0) __ZN6vision11ScopedTimerD2Ev($_ScopedTimer146); else label = 20; + do if ((label | 0) == 20) { + label = 0; + __ZN6vision11ScopedTimerD2Ev($_ScopedTimer146); + __ZN6vision11ScopedTimerC2EPKc($_ScopedTimer146, 35486); + if (__ZN6vision11ScopedTimercvbEv($_ScopedTimer146) | 0 ? ($call176 = __ZNK6vision8KeyframeILi96EE5storeEv($query_keyframe) | 0, $call185 = __ZN6vision20BinaryFeatureMatcherILi96EE5matchEPKNS_18BinaryFeatureStoreES4_PKff($mMatcher, $call176, __ZN6vision8KeyframeILi96EE5storeEv(HEAP32[$__ptr_$i58$pre$phiZZ2D >> 2] | 0) | 0, $_ScopedTimer101, 10.0) | 0, $call185 >>> 0 < (HEAP32[$this >> 2] | 0) >>> 0) : 0) { + __ZN6vision11ScopedTimerD2Ev($_ScopedTimer146); + break; + } + __ZN6vision11ScopedTimerD2Ev($_ScopedTimer146); + __ZN6vision11ScopedTimerC2EPKc($_ScopedTimer146, 35503); + if (__ZN6vision11ScopedTimercvbEv($_ScopedTimer146) | 0) { + $call207 = __ZNK6vision20BinaryFeatureMatcherILi96EE7matchesEv($mMatcher) | 0; + $call209 = __ZNK6vision8KeyframeILi96EE5widthEv($query_keyframe) | 0; + $call211 = __ZNK6vision8KeyframeILi96EE6heightEv($query_keyframe) | 0; + $call217 = __ZNK6vision8KeyframeILi96EE5widthEv(HEAP32[$__ptr_$i58$pre$phiZZ2D >> 2] | 0) | 0; + $call225 = __ZN6vision19FindHoughSimilarityERNS_21HoughSimilarityVotingERKNSt3__26vectorINS_12FeaturePointENS2_9allocatorIS4_EEEES9_RKNS3_INS_7match_tENS5_ISA_EEEEiiii($mHoughSimilarityVoting, $call3, $call62, $call207, $call209, $call211, $call217, __ZNK6vision8KeyframeILi96EE6heightEv(HEAP32[$__ptr_$i58$pre$phiZZ2D >> 2] | 0) | 0) | 0; + if (($call225 | 0) < 0) { + __ZN6vision11ScopedTimerD2Ev($_ScopedTimer146); + break; + } else $max_hough_index$2 = $call225; + } else $max_hough_index$2 = $max_hough_index$0; + __ZN6vision11ScopedTimerD2Ev($_ScopedTimer146); + __ZN6vision11ScopedTimerC2EPKc($_ScopedTimer146, 35520); + if (__ZN6vision11ScopedTimercvbEv($_ScopedTimer146) | 0) __ZN6vision16FindHoughMatchesERNSt3__26vectorINS_7match_tENS0_9allocatorIS2_EEEERKNS_21HoughSimilarityVotingERKS5_if($_ScopedTimer, $mHoughSimilarityVoting, __ZNK6vision20BinaryFeatureMatcherILi96EE7matchesEv($mMatcher) | 0, $max_hough_index$2, 1.0); + __ZN6vision11ScopedTimerD2Ev($_ScopedTimer146); + __ZN6vision11ScopedTimerC2EPKc($_ScopedTimer146, 35543); + if (__ZN6vision11ScopedTimercvbEv($_ScopedTimer146) | 0 ? ($call265 = __ZNK6vision8KeyframeILi96EE5widthEv(HEAP32[$__ptr_$i58$pre$phiZZ2D >> 2] | 0) | 0, !(__ZN6vision18EstimateHomographyEPfRKNSt3__26vectorINS_12FeaturePointENS1_9allocatorIS3_EEEES8_RKNS2_INS_7match_tENS4_IS9_EEEERNS_16RobustHomographyIfEEii($_ScopedTimer101, $call3, $call62, $_ScopedTimer, $mRobustHomography, $call265, __ZNK6vision8KeyframeILi96EE6heightEv(HEAP32[$__ptr_$i58$pre$phiZZ2D >> 2] | 0) | 0) | 0)) : 0) { + __ZN6vision11ScopedTimerD2Ev($_ScopedTimer146); + break; + } + __ZN6vision11ScopedTimerD2Ev($_ScopedTimer146); + HEAP32[$__end_$i$i72 >> 2] = HEAP32[$_ScopedTimer116 >> 2]; + __ZN6vision11ScopedTimerC2EPKc($_ScopedTimer146, 35567); + if (__ZN6vision11ScopedTimercvbEv($_ScopedTimer146) | 0) __ZN6vision11FindInliersERNSt3__26vectorINS_7match_tENS0_9allocatorIS2_EEEEPKfRKNS1_INS_12FeaturePointENS3_IS9_EEEESD_RKS5_f($_ScopedTimer116, $_ScopedTimer101, $call3, $call62, $_ScopedTimer, +HEAPF32[$mHomographyInlierThreshold >> 2]); + __ZN6vision11ScopedTimerD2Ev($_ScopedTimer146); + $sub$ptr$div$i47 = (HEAP32[$__end_$i$i72 >> 2] | 0) - (HEAP32[$_ScopedTimer116 >> 2] | 0) >> 3; + if ($sub$ptr$div$i47 >>> 0 >= (HEAP32[$this >> 2] | 0) >>> 0 ? $sub$ptr$div$i47 >>> 0 > (HEAP32[$__end_$i$i$i >> 2] | 0) - (HEAP32[$mMatchedInliers >> 2] | 0) >> 3 >>> 0 : 0) { + __ZN6vision11CopyVector9IfEEvPT_PKS1_($arraydecay304, $_ScopedTimer101); + __ZNSt3__26vectorIN6vision7match_tENS_9allocatorIS2_EEE4swapERS5_($mMatchedInliers, $_ScopedTimer116); + HEAP32[$mMatchedId >> 2] = HEAP32[$$pre$phiZ2D + 8 >> 2]; + } + } while (0); + __ZNSt3__213__vector_baseIN6vision7match_tENS_9allocatorIS2_EEED2Ev($_ScopedTimer116); + } + __ZNSt3__213__vector_baseIN6vision7match_tENS_9allocatorIS2_EEED2Ev($_ScopedTimer); + } while (0); + $it$sroa$0$0$in = $it$sroa$0$0; + } + STACKTOP = sp; + return (HEAP32[$mMatchedId >> 2] | 0) > -1 | 0; +} +function __ZNK6vision21HoughSimilarityVoting11getBinIndexEiiii($this, $binX, $binY, $binAngle, $binScale) { + $this = $this | 0; + $binX = $binX | 0; + $binY = $binY | 0; + $binAngle = $binAngle | 0; + $binScale = $binScale | 0; + var $1 = 0, $4 = 0, $7 = 0, $add = 0, $add101 = 0, $add103 = 0, $call$i1$i = 0, $call$i1$i105 = 0, $call$i1$i113 = 0, $call$i1$i121 = 0, $call$i1$i129 = 0, $call$i1$i73 = 0, $call$i1$i81 = 0, $call$i1$i89 = 0, $call$i1$i97 = 0, $call$i2$i = 0, $call$i2$i100 = 0, $call$i2$i108 = 0, $call$i2$i116 = 0, $call$i2$i124 = 0, $call$i2$i132 = 0, $call$i2$i76 = 0, $call$i2$i84 = 0, $call$i2$i92 = 0, $call127 = 0, $call16 = 0, $call29 = 0, $call42 = 0, $call55 = 0, $call6 = 0, $call68 = 0, $call81 = 0, $call94 = 0, $ref$tmp$i128 = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $5 = sp; - if (($1 | 0) <= -1) { - $12 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 36688) | 0, 36227) | 0, 39072) | 0, 165) | 0, 39079) | 0, 36721) | 0; - __ZNKSt3__28ios_base6getlocEv($5, $12 + (HEAP32[(HEAP32[$12 >> 2] | 0) + -12 >> 2] | 0) | 0); - $17 = __ZNKSt3__26locale9use_facetERNS0_2idE($5, 66512) | 0; - $21 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$17 >> 2] | 0) + 28 >> 2] & 127]($17, 10) | 0; - __ZNSt3__26localeD2Ev($5); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($12, $21) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($12) | 0; + $ref$tmp$i128 = sp; + if (($binX | 0) <= -1) { + $call6 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 37182) | 0, 36683) | 0, 39794) | 0, 165) | 0, 39801) | 0, 37215) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i128, $call6 + (HEAP32[(HEAP32[$call6 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i128, 67360) | 0; + $call$i2$i = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i >> 2] | 0) + 28 >> 2] & 127]($call$i1$i, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i128); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call6, $call$i2$i) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call6) | 0; _abort(); } - $23 = HEAP32[$0 + 52 >> 2] | 0; - if (($23 | 0) <= ($1 | 0)) { - $30 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 36739) | 0, 36227) | 0, 39072) | 0, 166) | 0, 39079) | 0, 36721) | 0; - __ZNKSt3__28ios_base6getlocEv($5, $30 + (HEAP32[(HEAP32[$30 >> 2] | 0) + -12 >> 2] | 0) | 0); - $35 = __ZNKSt3__26locale9use_facetERNS0_2idE($5, 66512) | 0; - $39 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$35 >> 2] | 0) + 28 >> 2] & 127]($35, 10) | 0; - __ZNSt3__26localeD2Ev($5); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($30, $39) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($30) | 0; + $1 = HEAP32[$this + 52 >> 2] | 0; + if (($1 | 0) <= ($binX | 0)) { + $call16 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 37233) | 0, 36683) | 0, 39794) | 0, 166) | 0, 39801) | 0, 37215) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i128, $call16 + (HEAP32[(HEAP32[$call16 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i73 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i128, 67360) | 0; + $call$i2$i76 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i73 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i73, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i128); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call16, $call$i2$i76) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call16) | 0; _abort(); } - if (($2 | 0) <= -1) { - $46 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 36779) | 0, 36227) | 0, 39072) | 0, 167) | 0, 39079) | 0, 36812) | 0; - __ZNKSt3__28ios_base6getlocEv($5, $46 + (HEAP32[(HEAP32[$46 >> 2] | 0) + -12 >> 2] | 0) | 0); - $51 = __ZNKSt3__26locale9use_facetERNS0_2idE($5, 66512) | 0; - $55 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$51 >> 2] | 0) + 28 >> 2] & 127]($51, 10) | 0; - __ZNSt3__26localeD2Ev($5); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($46, $55) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($46) | 0; + if (($binY | 0) <= -1) { + $call29 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 37273) | 0, 36683) | 0, 39794) | 0, 167) | 0, 39801) | 0, 37306) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i128, $call29 + (HEAP32[(HEAP32[$call29 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i81 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i128, 67360) | 0; + $call$i2$i84 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i81 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i81, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i128); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call29, $call$i2$i84) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call29) | 0; _abort(); } - $57 = HEAP32[$0 + 56 >> 2] | 0; - if (($57 | 0) <= ($2 | 0)) { - $64 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 36830) | 0, 36227) | 0, 39072) | 0, 168) | 0, 39079) | 0, 36812) | 0; - __ZNKSt3__28ios_base6getlocEv($5, $64 + (HEAP32[(HEAP32[$64 >> 2] | 0) + -12 >> 2] | 0) | 0); - $69 = __ZNKSt3__26locale9use_facetERNS0_2idE($5, 66512) | 0; - $73 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$69 >> 2] | 0) + 28 >> 2] & 127]($69, 10) | 0; - __ZNSt3__26localeD2Ev($5); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($64, $73) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($64) | 0; + $4 = HEAP32[$this + 56 >> 2] | 0; + if (($4 | 0) <= ($binY | 0)) { + $call42 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 37324) | 0, 36683) | 0, 39794) | 0, 168) | 0, 39801) | 0, 37306) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i128, $call42 + (HEAP32[(HEAP32[$call42 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i89 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i128, 67360) | 0; + $call$i2$i92 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i89 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i89, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i128); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call42, $call$i2$i92) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call42) | 0; _abort(); } - if (($3 | 0) <= -1) { - $80 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 36870) | 0, 36227) | 0, 39072) | 0, 169) | 0, 39079) | 0, 36907) | 0; - __ZNKSt3__28ios_base6getlocEv($5, $80 + (HEAP32[(HEAP32[$80 >> 2] | 0) + -12 >> 2] | 0) | 0); - $85 = __ZNKSt3__26locale9use_facetERNS0_2idE($5, 66512) | 0; - $89 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$85 >> 2] | 0) + 28 >> 2] & 127]($85, 10) | 0; - __ZNSt3__26localeD2Ev($5); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($80, $89) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($80) | 0; + if (($binAngle | 0) <= -1) { + $call55 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 37364) | 0, 36683) | 0, 39794) | 0, 169) | 0, 39801) | 0, 37401) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i128, $call55 + (HEAP32[(HEAP32[$call55 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i97 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i128, 67360) | 0; + $call$i2$i100 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i97 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i97, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i128); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call55, $call$i2$i100) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call55) | 0; _abort(); } - $91 = HEAP32[$0 + 60 >> 2] | 0; - if (($91 | 0) <= ($3 | 0)) { - $98 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 36929) | 0, 36227) | 0, 39072) | 0, 170) | 0, 39079) | 0, 36907) | 0; - __ZNKSt3__28ios_base6getlocEv($5, $98 + (HEAP32[(HEAP32[$98 >> 2] | 0) + -12 >> 2] | 0) | 0); - $103 = __ZNKSt3__26locale9use_facetERNS0_2idE($5, 66512) | 0; - $107 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$103 >> 2] | 0) + 28 >> 2] & 127]($103, 10) | 0; - __ZNSt3__26localeD2Ev($5); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($98, $107) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($98) | 0; + $7 = HEAP32[$this + 60 >> 2] | 0; + if (($7 | 0) <= ($binAngle | 0)) { + $call68 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 37423) | 0, 36683) | 0, 39794) | 0, 170) | 0, 39801) | 0, 37401) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i128, $call68 + (HEAP32[(HEAP32[$call68 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i105 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i128, 67360) | 0; + $call$i2$i108 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i105 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i105, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i128); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call68, $call$i2$i108) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call68) | 0; _abort(); } - if (($4 | 0) <= -1) { - $114 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 36977) | 0, 36227) | 0, 39072) | 0, 171) | 0, 39079) | 0, 37014) | 0; - __ZNKSt3__28ios_base6getlocEv($5, $114 + (HEAP32[(HEAP32[$114 >> 2] | 0) + -12 >> 2] | 0) | 0); - $119 = __ZNKSt3__26locale9use_facetERNS0_2idE($5, 66512) | 0; - $123 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$119 >> 2] | 0) + 28 >> 2] & 127]($119, 10) | 0; - __ZNSt3__26localeD2Ev($5); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($114, $123) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($114) | 0; + if (($binScale | 0) <= -1) { + $call81 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 37471) | 0, 36683) | 0, 39794) | 0, 171) | 0, 39801) | 0, 37508) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i128, $call81 + (HEAP32[(HEAP32[$call81 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i113 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i128, 67360) | 0; + $call$i2$i116 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i113 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i113, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i128); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call81, $call$i2$i116) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call81) | 0; _abort(); } - if ((HEAP32[$0 + 64 >> 2] | 0) <= ($4 | 0)) { - $132 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 37036) | 0, 36227) | 0, 39072) | 0, 172) | 0, 39079) | 0, 37014) | 0; - __ZNKSt3__28ios_base6getlocEv($5, $132 + (HEAP32[(HEAP32[$132 >> 2] | 0) + -12 >> 2] | 0) | 0); - $137 = __ZNKSt3__26locale9use_facetERNS0_2idE($5, 66512) | 0; - $141 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$137 >> 2] | 0) + 28 >> 2] & 127]($137, 10) | 0; - __ZNSt3__26localeD2Ev($5); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($132, $141) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($132) | 0; + if ((HEAP32[$this + 64 >> 2] | 0) <= ($binScale | 0)) { + $call94 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 37530) | 0, 36683) | 0, 39794) | 0, 172) | 0, 39801) | 0, 37508) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i128, $call94 + (HEAP32[(HEAP32[$call94 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i121 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i128, 67360) | 0; + $call$i2$i124 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i121 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i121, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i128); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call94, $call$i2$i124) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call94) | 0; _abort(); } - $143 = (Math_imul($23, $2) | 0) + $1 | 0; - $147 = (Math_imul(HEAP32[$0 + 84 >> 2] | 0, $3) | 0) + $143 | 0; - $151 = $147 + (Math_imul(HEAP32[$0 + 88 >> 2] | 0, $4) | 0) | 0; - if (($151 | 0) > ((Math_imul(Math_imul($57, $23) | 0, (Math_imul($91, $4) | 0) + $3 | 0) | 0) + $143 | 0)) { - $160 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 37084) | 0, 36227) | 0, 39072) | 0, 176) | 0, 39079) | 0, 36669) | 0; - __ZNKSt3__28ios_base6getlocEv($5, $160 + (HEAP32[(HEAP32[$160 >> 2] | 0) + -12 >> 2] | 0) | 0); - $165 = __ZNKSt3__26locale9use_facetERNS0_2idE($5, 66512) | 0; - $169 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$165 >> 2] | 0) + 28 >> 2] & 127]($165, 10) | 0; - __ZNSt3__26localeD2Ev($5); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($160, $169) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($160) | 0; + $add = (Math_imul($1, $binY) | 0) + $binX | 0; + $add101 = (Math_imul(HEAP32[$this + 84 >> 2] | 0, $binAngle) | 0) + $add | 0; + $add103 = $add101 + (Math_imul(HEAP32[$this + 88 >> 2] | 0, $binScale) | 0) | 0; + if (($add103 | 0) > ((Math_imul(Math_imul($4, $1) | 0, (Math_imul($7, $binScale) | 0) + $binAngle | 0) | 0) + $add | 0)) { + $call127 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 37578) | 0, 36683) | 0, 39794) | 0, 176) | 0, 39801) | 0, 37163) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i128, $call127 + (HEAP32[(HEAP32[$call127 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i129 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i128, 67360) | 0; + $call$i2$i132 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i129 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i129, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i128); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call127, $call$i2$i132) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call127) | 0; _abort(); } else { STACKTOP = sp; - return $151 | 0; + return $add103 | 0; } return 0; } -function __ZN6vision28BinaryHierarchicalClusteringILi96EE5buildEPNS_4NodeILi96EEEPKhiPKii($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$0 = 0, $$065 = 0, $$066 = 0, $$in = 0, $$sroa$0120$0 = 0, $$sroa$0120$0$in = 0, $100 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $118 = 0, $119 = 0, $123 = 0, $127 = 0, $128 = 0, $129 = 0, $138 = 0, $143 = 0, $147 = 0, $148 = 0, $149 = 0, $154 = 0, $155 = 0, $156 = 0, $164 = 0, $17 = 0, $18 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $35 = 0, $40 = 0, $44 = 0, $46 = 0, $49 = 0, $54 = 0, $6 = 0, $61 = 0, $66 = 0, $7 = 0, $70 = 0, $77 = 0, $8 = 0, $82 = 0, $86 = 0, $87 = 0, $9 = 0, $95 = 0, label = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $6 = sp + 20 | 0; - $7 = sp; - $8 = $0 + 12 | 0; - $9 = __ZNK6vision14BinarykMedoidsILi96EE1kEv($8) | 0; - if ((__ZN6vision4max2IiEET_S1_S1_($9, HEAP32[$0 + 108 >> 2] | 0) | 0) >= ($5 | 0)) { - __ZN6vision4NodeILi96EE4leafEb($1, 1); - __ZNSt3__26vectorIiNS_9allocatorIiEEE6resizeEm(__ZN6vision4NodeILi96EE12reverseIndexEv($1) | 0, $5); - $$0 = 0; - while (1) { - if (($$0 | 0) >= ($5 | 0)) break; - $17 = HEAP32[$4 + ($$0 << 2) >> 2] | 0; - $18 = __ZN6vision4NodeILi96EE12reverseIndexEv($1) | 0; - HEAP32[(HEAP32[$18 >> 2] | 0) + ($$0 << 2) >> 2] = $17; - $$0 = $$0 + 1 | 0; - } - STACKTOP = sp; - return; - } - HEAP32[$7 >> 2] = 0; - HEAP32[$7 + 4 >> 2] = 0; - HEAP32[$7 + 8 >> 2] = 0; - HEAP32[$7 + 12 >> 2] = 0; - HEAP32[$7 + 16 >> 2] = 1065353216; - __ZN6vision14BinarykMedoidsILi96EE6assignEPKhiPKii($8, $2, $3, $4, $5); - $23 = __ZNK6vision14BinarykMedoidsILi96EE10assignmentEv($8) | 0; - $24 = $23 + 4 | 0; - $25 = HEAP32[$24 >> 2] | 0; - $26 = HEAP32[$23 >> 2] | 0; - if (($25 - $26 >> 2 | 0) != ($5 | 0)) { - $35 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 33206) | 0, 33262) | 0, 39072) | 0, 363) | 0, 39079) | 0, 33356) | 0; - __ZNKSt3__28ios_base6getlocEv($6, $35 + (HEAP32[(HEAP32[$35 >> 2] | 0) + -12 >> 2] | 0) | 0); - $40 = __ZNKSt3__26locale9use_facetERNS0_2idE($6, 66512) | 0; - $44 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$40 >> 2] | 0) + 28 >> 2] & 127]($40, 10) | 0; - __ZNSt3__26localeD2Ev($6); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($35, $44) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($35) | 0; - _abort(); - } - $$066 = 0; - $$in = $26; - $46 = $25; - while (1) { - if ($$066 >>> 0 >= $46 - $$in >> 2 >>> 0) { - label = 10; - break; - } - $54 = HEAP32[$$in + ($$066 << 2) >> 2] | 0; - if (($54 | 0) == -1) { - label = 12; - break; - } - if (($54 | 0) >= ($5 | 0)) { - label = 14; - break; - } - $87 = $4 + ($54 << 2) | 0; - if ((HEAP32[$87 >> 2] | 0) >= ($3 | 0)) { - label = 16; - break; - } - $105 = __ZNSt3__213unordered_mapIiNS_6vectorIiNS_9allocatorIiEEEENS_4hashIiEENS_8equal_toIiEENS2_INS_4pairIKiS4_EEEEEixERSA_($7, $87) | 0; - $106 = $4 + ($$066 << 2) | 0; - $107 = $105 + 4 | 0; - $108 = HEAP32[$107 >> 2] | 0; - if (($108 | 0) == (HEAP32[$105 + 8 >> 2] | 0)) __ZNSt3__26vectorIiNS_9allocatorIiEEE21__push_back_slow_pathIRKiEEvOT_($105, $106); else { - HEAP32[$108 >> 2] = HEAP32[$106 >> 2]; - HEAP32[$107 >> 2] = $108 + 4; - } - $$066 = $$066 + 1 | 0; - $$in = HEAP32[$23 >> 2] | 0; - $46 = HEAP32[$24 >> 2] | 0; - } - if ((label | 0) == 10) { - $49 = $7 + 12 | 0; - L23 : do if ((HEAP32[$49 >> 2] | 0) == 1) { - __ZN6vision4NodeILi96EE4leafEb($1, 1); - __ZNSt3__26vectorIiNS_9allocatorIiEEE6resizeEm(__ZN6vision4NodeILi96EE12reverseIndexEv($1) | 0, $5); - $$065 = 0; - while (1) { - if (($$065 | 0) >= ($5 | 0)) break L23; - $118 = HEAP32[$4 + ($$065 << 2) >> 2] | 0; - $119 = __ZN6vision4NodeILi96EE12reverseIndexEv($1) | 0; - HEAP32[(HEAP32[$119 >> 2] | 0) + ($$065 << 2) >> 2] = $118; - $$065 = $$065 + 1 | 0; - } - } else { - $123 = __ZN6vision4NodeILi96EE8childrenEv($1) | 0; - __ZNSt3__26vectorIPN6vision4NodeILi96EEENS_9allocatorIS4_EEE7reserveEm($123, HEAP32[$49 >> 2] | 0); - $$sroa$0120$0$in = $7 + 8 | 0; - while (1) { - $$sroa$0120$0 = HEAP32[$$sroa$0120$0$in >> 2] | 0; - if (!$$sroa$0120$0) break L23; - $127 = $$sroa$0120$0; - $128 = $127 + 12 | 0; - $129 = $127 + 16 | 0; - if ((HEAP32[$129 >> 2] | 0) == (HEAP32[$128 >> 2] | 0)) break; - $148 = __Znwm(128) | 0; - $149 = __ZN6vision28BinaryHierarchicalClusteringILi96EE10nextNodeIdEv($0) | 0; - __ZN6vision4NodeILi96EEC2EiPKh($148, $149, $2 + ((HEAP32[$127 + 8 >> 2] | 0) * 96 | 0) | 0); - HEAP32[$6 >> 2] = $148; - __ZN6vision4NodeILi96EE4leafEb($148, 0); - $154 = __ZN6vision4NodeILi96EE8childrenEv($1) | 0; - $155 = $154 + 4 | 0; - $156 = HEAP32[$155 >> 2] | 0; - if (($156 | 0) == (HEAP32[$154 + 8 >> 2] | 0)) __ZNSt3__26vectorIPN6vision4NodeILi96EEENS_9allocatorIS4_EEE21__push_back_slow_pathIRKS4_EEvOT_($154, $6); else { - HEAP32[$156 >> 2] = HEAP32[$6 >> 2]; - HEAP32[$155 >> 2] = (HEAP32[$155 >> 2] | 0) + 4; - } - $164 = HEAP32[$128 >> 2] | 0; - __ZN6vision28BinaryHierarchicalClusteringILi96EE5buildEPNS_4NodeILi96EEEPKhiPKii($0, HEAP32[$6 >> 2] | 0, $2, $3, $164, (HEAP32[$129 >> 2] | 0) - $164 >> 2); - $$sroa$0120$0$in = $$sroa$0120$0; - } - $138 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 33579) | 0, 33262) | 0, 39072) | 0, 387) | 0, 39079) | 0, 33625) | 0; - __ZNKSt3__28ios_base6getlocEv($6, $138 + (HEAP32[(HEAP32[$138 >> 2] | 0) + -12 >> 2] | 0) | 0); - $143 = __ZNKSt3__26locale9use_facetERNS0_2idE($6, 66512) | 0; - $147 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$143 >> 2] | 0) + 28 >> 2] & 127]($143, 10) | 0; - __ZNSt3__26localeD2Ev($6); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($138, $147) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($138) | 0; - _abort(); - } while (0); - __ZNSt3__213unordered_mapIiNS_6vectorIiNS_9allocatorIiEEEENS_4hashIiEENS_8equal_toIiEENS2_INS_4pairIKiS4_EEEEED2Ev($7); - STACKTOP = sp; - return; - } else if ((label | 0) == 12) { - $61 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 33378) | 0, 33262) | 0, 39072) | 0, 365) | 0, 39079) | 0, 33421) | 0; - __ZNKSt3__28ios_base6getlocEv($6, $61 + (HEAP32[(HEAP32[$61 >> 2] | 0) + -12 >> 2] | 0) | 0); - $66 = __ZNKSt3__26locale9use_facetERNS0_2idE($6, 66512) | 0; - $70 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$66 >> 2] | 0) + 28 >> 2] & 127]($66, 10) | 0; - __ZNSt3__26localeD2Ev($6); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($61, $70) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($61) | 0; - _abort(); - } else if ((label | 0) == 14) { - $77 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 33443) | 0, 33262) | 0, 39072) | 0, 366) | 0, 39079) | 0, 33494) | 0; - __ZNKSt3__28ios_base6getlocEv($6, $77 + (HEAP32[(HEAP32[$77 >> 2] | 0) + -12 >> 2] | 0) | 0); - $82 = __ZNKSt3__26locale9use_facetERNS0_2idE($6, 66512) | 0; - $86 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$82 >> 2] | 0) + 28 >> 2] & 127]($82, 10) | 0; - __ZNSt3__26localeD2Ev($6); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($77, $86) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($77) | 0; - _abort(); - } else if ((label | 0) == 16) { - $95 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 33518) | 0, 33262) | 0, 39072) | 0, 367) | 0, 39079) | 0, 33494) | 0; - __ZNKSt3__28ios_base6getlocEv($6, $95 + (HEAP32[(HEAP32[$95 >> 2] | 0) + -12 >> 2] | 0) | 0); - $100 = __ZNKSt3__26locale9use_facetERNS0_2idE($6, 66512) | 0; - $104 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$100 >> 2] | 0) + 28 >> 2] & 127]($100, 10) | 0; - __ZNSt3__26localeD2Ev($6); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($95, $104) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($95) | 0; - _abort(); - } -} - -function _realize_virt_arrays($0) { - $0 = $0 | 0; - var $$$i = 0, $$$i108 = 0, $$0$i = 0, $$0101 = 0, $$0102$lcssa = 0, $$0102139 = 0, $$0104$lcssa = 0, $$0104138 = 0, $$0129 = 0, $$0132 = 0, $$04853$i = 0, $$04853$i116 = 0, $$04956$i = 0, $$04956$i110 = 0, $$054$i = 0, $$054$i115 = 0, $$099137 = 0, $$099140 = 0, $$1$lcssa$i = 0, $$1$lcssa$i119 = 0, $$1100125 = 0, $$1100126 = 0, $$1103 = 0, $$1105 = 0, $$1122 = 0, $$1123 = 0, $$15155$i = 0, $$15155$i111 = 0, $$152$i = 0, $$152$i117 = 0, $$2$lcssa = 0, $$2106$lcssa = 0, $$2106130 = 0, $$2131 = 0, $$3 = 0, $$3107 = 0, $$pre$phi151Z2D = 0, $$pre$phiZ2D = 0, $1 = 0, $10 = 0, $100 = 0, $103 = 0, $109 = 0, $110 = 0, $111 = 0, $12 = 0, $128 = 0, $132 = 0, $135 = 0, $140 = 0, $141 = 0, $143 = 0, $148 = 0, $149 = 0, $150 = 0, $151 = 0, $153 = 0, $157 = 0, $160 = 0, $162 = 0, $163 = 0, $165 = 0, $166 = 0, $168 = 0, $173 = 0, $174 = 0, $176 = 0, $181 = 0, $184 = 0, $19 = 0, $190 = 0, $191 = 0, $192 = 0, $2 = 0, $26 = 0, $29 = 0, $3 = 0, $40 = 0, $42 = 0, $45 = 0, $49 = 0, $52 = 0, $57 = 0, $58 = 0, $60 = 0, $64 = 0, $65 = 0, $66 = 0, $68 = 0, $72 = 0, $75 = 0, $77 = 0, $78 = 0, $80 = 0, $81 = 0, $83 = 0, $88 = 0, $92 = 0, $93 = 0, $95 = 0, $$15155$i$looptemp = 0, $$15155$i111$looptemp = 0; - $1 = $0 + 4 | 0; - $2 = HEAP32[$1 >> 2] | 0; - $3 = $2 + 68 | 0; - $$099137 = HEAP32[$3 >> 2] | 0; - if (!$$099137) { - $$0102$lcssa = 0; - $$0104$lcssa = 0; - } else { - $$0102139 = 0; - $$0104138 = 0; - $$099140 = $$099137; - while (1) { - if (!(HEAP32[$$099140 >> 2] | 0)) { - $10 = HEAP32[$$099140 + 8 >> 2] | 0; - $12 = (Math_imul($10, HEAP32[$$099140 + 12 >> 2] | 0) | 0) + $$0102139 | 0; - $$1103 = $12; - $$1105 = (Math_imul(HEAP32[$$099140 + 4 >> 2] | 0, $10) | 0) + $$0104138 | 0; - } else { - $$1103 = $$0102139; - $$1105 = $$0104138; - } - $$099140 = HEAP32[$$099140 + 44 >> 2] | 0; - if (!$$099140) { - $$0102$lcssa = $$1103; - $$0104$lcssa = $$1105; - break; - } else { - $$0102139 = $$1103; - $$0104138 = $$1105; - } - } - } - $19 = $2 + 72 | 0; - $$0129 = HEAP32[$19 >> 2] | 0; - if (!$$0129) { - $$2$lcssa = $$0102$lcssa; - $$2106$lcssa = $$0104$lcssa; - } else { - $$0132 = $$0129; - $$2106130 = $$0104$lcssa; - $$2131 = $$0102$lcssa; - while (1) { - if (!(HEAP32[$$0132 >> 2] | 0)) { - $26 = HEAP32[$$0132 + 8 >> 2] | 0; - $29 = (Math_imul(HEAP32[$$0132 + 12 >> 2] << 7, $26) | 0) + $$2131 | 0; - $$3 = $29; - $$3107 = (Math_imul($26 << 7, HEAP32[$$0132 + 4 >> 2] | 0) | 0) + $$2106130 | 0; - } else { - $$3 = $$2131; - $$3107 = $$2106130; - } - $$0132 = HEAP32[$$0132 + 44 >> 2] | 0; - if (!$$0132) { - $$2$lcssa = $$3; - $$2106$lcssa = $$3107; - break; - } else { - $$2106130 = $$3107; - $$2131 = $$3; - } - } - } - if (($$2$lcssa | 0) < 1) return; - $40 = _jpeg_mem_available($0, $$2$lcssa, $$2106$lcssa, HEAP32[$2 + 76 >> 2] | 0) | 0; - if (($40 | 0) < ($$2106$lcssa | 0)) { - $42 = ($40 | 0) / ($$2$lcssa | 0) | 0; - $$0101 = ($42 | 0) > 1 ? $42 : 1; - } else $$0101 = 1e9; - $$1100125 = HEAP32[$3 >> 2] | 0; - if ($$1100125 | 0) { - $45 = $2 + 80 | 0; - $$1100126 = $$1100125; - do { - if (!(HEAP32[$$1100126 >> 2] | 0)) { - $49 = HEAP32[$$1100126 + 4 >> 2] | 0; - $52 = HEAP32[$$1100126 + 12 >> 2] | 0; - if ((((($49 + -1 | 0) >>> 0) / ($52 >>> 0) | 0) + 1 | 0) > ($$0101 | 0)) { - $57 = Math_imul($52, $$0101) | 0; - $58 = $$1100126 + 16 | 0; - HEAP32[$58 >> 2] = $57; - $60 = $$1100126 + 8 | 0; - _jpeg_open_backing_store($0, $$1100126 + 48 | 0, Math_imul(HEAP32[$60 >> 2] | 0, $49) | 0); - HEAP32[$$1100126 + 40 >> 2] = 1; - $$pre$phi151Z2D = $60; - $72 = HEAP32[$58 >> 2] | 0; - } else { - HEAP32[$$1100126 + 16 >> 2] = $49; - $$pre$phi151Z2D = $$1100126 + 8 | 0; - $72 = $49; - } - $64 = HEAP32[$$pre$phi151Z2D >> 2] | 0; - $65 = HEAP32[$1 >> 2] | 0; - $66 = 999999984 / ($64 >>> 0) | 0; - if ($64 >>> 0 > 999999984) { - $68 = HEAP32[$0 >> 2] | 0; - HEAP32[$68 + 20 >> 2] = 72; - FUNCTION_TABLE_vi[HEAP32[$68 >> 2] & 255]($0); - } - $$$i = ($66 | 0) < ($72 | 0) ? $66 : $72; - HEAP32[$65 + 80 >> 2] = $$$i; - $75 = _alloc_small($0, 1, $72 << 2) | 0; - if ($72 | 0) { - $77 = ~$72; - $$04956$i = 0; - $$15155$i = $$$i; - while (1) { - $78 = $72 - $$04956$i | 0; - $$15155$i$looptemp = $$15155$i; - $$15155$i = $$15155$i >>> 0 < $78 >>> 0 ? $$15155$i : $78; - $80 = Math_imul($$15155$i, $64) | 0; - $81 = HEAP32[$1 >> 2] | 0; - if ($80 >>> 0 > 999999984) { - $83 = HEAP32[$0 >> 2] | 0; - HEAP32[$83 + 20 >> 2] = 56; - HEAP32[$83 + 24 >> 2] = 3; - FUNCTION_TABLE_vi[HEAP32[HEAP32[$0 >> 2] >> 2] & 255]($0); - } - $88 = $80 & 7; - $$0$i = (($88 | 0) == 0 ? 0 : 8 - $88 | 0) + $80 | 0; - $92 = $$0$i + 16 | 0; - $93 = _jpeg_get_large($0, $92) | 0; - if (!$93) { - $95 = HEAP32[$0 >> 2] | 0; - HEAP32[$95 + 20 >> 2] = 56; - HEAP32[$95 + 24 >> 2] = 4; - FUNCTION_TABLE_vi[HEAP32[HEAP32[$0 >> 2] >> 2] & 255]($0); - } - $100 = $81 + 76 | 0; - HEAP32[$100 >> 2] = (HEAP32[$100 >> 2] | 0) + $92; - $103 = $81 + 64 | 0; - HEAP32[$93 >> 2] = HEAP32[$103 >> 2]; - HEAP32[$93 + 4 >> 2] = $$0$i; - HEAP32[$93 + 8 >> 2] = 0; - HEAP32[$103 >> 2] = $93; - if (!$$15155$i) $$1$lcssa$i = $$04956$i; else { - $109 = $$04956$i + $77 | 0; - $110 = ~$$15155$i$looptemp; - $111 = $109 >>> 0 > $110 >>> 0; - $$04853$i = $$15155$i; - $$054$i = $93 + 16 | 0; - $$152$i = $$04956$i; - while (1) { - HEAP32[$75 + ($$152$i << 2) >> 2] = $$054$i; - $$04853$i = $$04853$i + -1 | 0; - if (!$$04853$i) break; else { - $$054$i = $$054$i + $64 | 0; - $$152$i = $$152$i + 1 | 0; - } - } - $$1$lcssa$i = $$04956$i + -1 - ($111 ? $109 : $110) | 0; - } - if ($$1$lcssa$i >>> 0 >= $72 >>> 0) break; else $$04956$i = $$1$lcssa$i; - } - } - HEAP32[$$1100126 >> 2] = $75; - HEAP32[$$1100126 + 20 >> 2] = HEAP32[$45 >> 2]; - HEAP32[$$1100126 + 24 >> 2] = 0; - HEAP32[$$1100126 + 28 >> 2] = 0; - HEAP32[$$1100126 + 36 >> 2] = 0; - } - $$1100126 = HEAP32[$$1100126 + 44 >> 2] | 0; - } while (($$1100126 | 0) != 0); - } - $$1122 = HEAP32[$19 >> 2] | 0; - if (!$$1122) return; - $128 = $2 + 80 | 0; - $$1123 = $$1122; - do { - if (!(HEAP32[$$1123 >> 2] | 0)) { - $132 = HEAP32[$$1123 + 4 >> 2] | 0; - $135 = HEAP32[$$1123 + 12 >> 2] | 0; - if ((((($132 + -1 | 0) >>> 0) / ($135 >>> 0) | 0) + 1 | 0) > ($$0101 | 0)) { - $140 = Math_imul($135, $$0101) | 0; - $141 = $$1123 + 16 | 0; - HEAP32[$141 >> 2] = $140; - $143 = $$1123 + 8 | 0; - _jpeg_open_backing_store($0, $$1123 + 48 | 0, Math_imul($132 << 7, HEAP32[$143 >> 2] | 0) | 0); - HEAP32[$$1123 + 40 >> 2] = 1; - $$pre$phiZ2D = $143; - $157 = HEAP32[$141 >> 2] | 0; - } else { - HEAP32[$$1123 + 16 >> 2] = $132; - $$pre$phiZ2D = $$1123 + 8 | 0; - $157 = $132; - } - $148 = HEAP32[$$pre$phiZ2D >> 2] | 0; - $149 = HEAP32[$1 >> 2] | 0; - $150 = $148 << 7; - $151 = 999999984 / ($150 >>> 0) | 0; - if ($150 >>> 0 > 999999984) { - $153 = HEAP32[$0 >> 2] | 0; - HEAP32[$153 + 20 >> 2] = 72; - FUNCTION_TABLE_vi[HEAP32[$153 >> 2] & 255]($0); - } - $$$i108 = ($151 | 0) < ($157 | 0) ? $151 : $157; - HEAP32[$149 + 80 >> 2] = $$$i108; - $160 = _alloc_small($0, 1, $157 << 2) | 0; - if ($157 | 0) { - $162 = ~$157; - $$04956$i110 = 0; - $$15155$i111 = $$$i108; - while (1) { - $163 = $157 - $$04956$i110 | 0; - $$15155$i111$looptemp = $$15155$i111; - $$15155$i111 = $$15155$i111 >>> 0 < $163 >>> 0 ? $$15155$i111 : $163; - $165 = Math_imul($$15155$i111, $150) | 0; - $166 = HEAP32[$1 >> 2] | 0; - if ($165 >>> 0 > 999999984) { - $168 = HEAP32[$0 >> 2] | 0; - HEAP32[$168 + 20 >> 2] = 56; - HEAP32[$168 + 24 >> 2] = 3; - FUNCTION_TABLE_vi[HEAP32[HEAP32[$0 >> 2] >> 2] & 255]($0); - } - $173 = $165 | 16; - $174 = _jpeg_get_large($0, $173) | 0; - if (!$174) { - $176 = HEAP32[$0 >> 2] | 0; - HEAP32[$176 + 20 >> 2] = 56; - HEAP32[$176 + 24 >> 2] = 4; - FUNCTION_TABLE_vi[HEAP32[HEAP32[$0 >> 2] >> 2] & 255]($0); - } - $181 = $166 + 76 | 0; - HEAP32[$181 >> 2] = (HEAP32[$181 >> 2] | 0) + $173; - $184 = $166 + 64 | 0; - HEAP32[$174 >> 2] = HEAP32[$184 >> 2]; - HEAP32[$174 + 4 >> 2] = $165; - HEAP32[$174 + 8 >> 2] = 0; - HEAP32[$184 >> 2] = $174; - if (!$$15155$i111) $$1$lcssa$i119 = $$04956$i110; else { - $190 = $$04956$i110 + $162 | 0; - $191 = ~$$15155$i111$looptemp; - $192 = $190 >>> 0 > $191 >>> 0; - $$04853$i116 = $$15155$i111; - $$054$i115 = $174 + 16 | 0; - $$152$i117 = $$04956$i110; - while (1) { - HEAP32[$160 + ($$152$i117 << 2) >> 2] = $$054$i115; - $$04853$i116 = $$04853$i116 + -1 | 0; - if (!$$04853$i116) break; else { - $$054$i115 = $$054$i115 + ($148 << 7) | 0; - $$152$i117 = $$152$i117 + 1 | 0; - } - } - $$1$lcssa$i119 = $$04956$i110 + -1 - ($192 ? $190 : $191) | 0; - } - if ($$1$lcssa$i119 >>> 0 >= $157 >>> 0) break; else $$04956$i110 = $$1$lcssa$i119; - } - } - HEAP32[$$1123 >> 2] = $160; - HEAP32[$$1123 + 20 >> 2] = HEAP32[$128 >> 2]; - HEAP32[$$1123 + 24 >> 2] = 0; - HEAP32[$$1123 + 28 >> 2] = 0; - HEAP32[$$1123 + 36 >> 2] = 0; - } - $$1123 = HEAP32[$$1123 + 44 >> 2] | 0; - } while (($$1123 | 0) != 0); - return; -} - -function __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE3getES4_S4_RNS_8ios_baseERjP2tmPKcSC_($0, $1, $2, $3, $4, $5, $6, $7) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - $6 = $6 | 0; - $7 = $7 | 0; - var $$0 = 0, $$0$i$i = 0, $$0$i$i$i$i = 0, $$0$i$i$i$i53 = 0, $$0$i$i$i$i68 = 0, $$0$i$i2$i$i = 0, $$0$i$i2$i$i59 = 0, $$0$i$i2$i$i74 = 0, $$0$i$i65 = 0, $$0$pn = 0, $$049 = 0, $$050 = 0, $$3 = 0, $$3$lcssa = 0, $$4 = 0, $$byval_copy = 0, $$byval_copy1 = 0, $$ph = 0, $$sroa$047$0$copyload = 0, $10 = 0, $107 = 0, $109 = 0, $11 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $14 = 0, $141 = 0, $149 = 0, $15 = 0, $150 = 0, $151 = 0, $152 = 0, $165 = 0, $17 = 0, $172 = 0, $182 = 0, $184 = 0, $19 = 0, $196 = 0, $199 = 0, $213 = 0, $214 = 0, $215 = 0, $216 = 0, $217 = 0, $31 = 0, $33 = 0, $35 = 0, $53 = 0, $59 = 0, $60 = 0, $69 = 0, $70 = 0, $71 = 0, $72 = 0, $74 = 0, $75 = 0, $78 = 0, $8 = 0, $84 = 0, $9 = 0, $92 = 0, $94 = 0, label = 0, sp = 0; +function __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE3getES4_S4_RNS_8ios_baseERjP2tmPKcSC_($this, $__b, $__e, $__iob, $__err, $__tm, $__fmtb, $__fmte) { + $this = $this | 0; + $__b = $__b | 0; + $__e = $__e | 0; + $__iob = $__iob | 0; + $__err = $__err | 0; + $__tm = $__tm | 0; + $__fmtb = $__fmtb | 0; + $__fmte = $__fmte | 0; + var $$ph = 0, $0 = 0, $1 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $26 = 0, $28 = 0, $29 = 0, $3 = 0, $33 = 0, $34 = 0, $38 = 0, $39 = 0, $45 = 0, $49 = 0, $50 = 0, $57 = 0, $61 = 0, $62 = 0, $66 = 0, $67 = 0, $7 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $8 = 0, $9 = 0, $__cmd$0 = 0, $__einp_$i$i = 0, $__einp_$i$i117 = 0, $__fmtb$addr$0 = 0, $__fmtb$addr$0$pn = 0, $__fmtb$addr$3 = 0, $__fmtb$addr$3$lcssa = 0, $__fmtb$addr$4 = 0, $__ninp_$i$i = 0, $__ninp_$i$i116 = 0, $__opt$0 = 0, $__tab_$i = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, $agg$tmp23 = 0, $agg$tmp23$byval_copy = 0, $call$i = 0, $call$i130 = 0, $call$i40 = 0, $call24 = 0, $incdec$ptr = 0, $incdec$ptr16 = 0, $retval$0$i$i = 0, $retval$0$i$i$i$i = 0, $retval$0$i$i$i$i158 = 0, $retval$0$i$i$i$i65 = 0, $retval$0$i$i125 = 0, $retval$0$i$i13$i$i = 0, $retval$0$i$i13$i$i179 = 0, $retval$0$i$i13$i$i86 = 0, $retval$sroa$0$0$copyload = 0, label = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy1 = sp + 12 | 0; - $$byval_copy = sp + 8 | 0; - $8 = sp + 4 | 0; - $9 = sp; - __ZNKSt3__28ios_base6getlocEv($$byval_copy1, $3); - $10 = __ZNKSt3__26locale9use_facetERNS0_2idE($$byval_copy1, 66512) | 0; - __ZNSt3__26localeD2Ev($$byval_copy1); - HEAP32[$4 >> 2] = 0; - $11 = $10 + 8 | 0; - $$0 = $6; - $14 = 0; + $agg$tmp23$byval_copy = sp + 12 | 0; + $agg$tmp$byval_copy = sp + 8 | 0; + $agg$tmp = sp + 4 | 0; + $agg$tmp23 = sp; + __ZNKSt3__28ios_base6getlocEv($agg$tmp23$byval_copy, $__iob); + $call$i = __ZNKSt3__26locale9use_facetERNS0_2idE($agg$tmp23$byval_copy, 67360) | 0; + __ZNSt3__26localeD2Ev($agg$tmp23$byval_copy); + HEAP32[$__err >> 2] = 0; + $__tab_$i = $call$i + 8 | 0; + $0 = 0; + $__fmtb$addr$0 = $__fmtb; L1 : while (1) { - $15 = HEAP32[$1 >> 2] | 0; - if (!(($$0 | 0) != ($7 | 0) & ($14 | 0) == 0)) { - $182 = $15; - break; - } - $17 = $15; - if ($15) { - $19 = HEAP32[$15 + 12 >> 2] | 0; - if (($19 | 0) == (HEAP32[$15 + 16 >> 2] | 0)) $$0$i$i$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$15 >> 2] | 0) + 36 >> 2] & 127]($15) | 0; else $$0$i$i$i$i = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$19 >> 0] | 0) | 0; - if (__ZNSt3__211char_traitsIcE11eq_int_typeEii($$0$i$i$i$i, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { - HEAP32[$1 >> 2] = 0; - $150 = 0; - $213 = 1; - $70 = 0; + $1 = HEAP32[$__b >> 2] | 0; + if (!(($__fmtb$addr$0 | 0) != ($__fmte | 0) & ($0 | 0) == 0)) { + $61 = $1; + break; + } + $2 = $1; + if ($1) { + $3 = HEAP32[$1 + 12 >> 2] | 0; + if (($3 | 0) == (HEAP32[$1 + 16 >> 2] | 0)) $retval$0$i$i$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$1 >> 2] | 0) + 36 >> 2] & 127]($1) | 0; else $retval$0$i$i$i$i = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$3 >> 0] | 0) | 0; + if (__ZNSt3__211char_traitsIcE11eq_int_typeEii($retval$0$i$i$i$i, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { + HEAP32[$__b >> 2] = 0; + $20 = 0; + $49 = 0; + $72 = 1; } else { - $150 = $15; - $213 = 0; - $70 = $17; + $20 = $2; + $49 = $1; + $72 = 0; } } else { - $150 = 0; - $213 = 1; - $70 = $17; - } - $31 = HEAP32[$2 >> 2] | 0; - $33 = $31; - do if ($31) { - $35 = HEAP32[$31 + 12 >> 2] | 0; - if (($35 | 0) == (HEAP32[$31 + 16 >> 2] | 0)) $$0$i$i2$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$31 >> 2] | 0) + 36 >> 2] & 127]($31) | 0; else $$0$i$i2$i$i = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$35 >> 0] | 0) | 0; - if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii($$0$i$i2$i$i, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if ($213) { - $214 = $31; - $71 = $33; + $20 = $2; + $49 = 0; + $72 = 1; + } + $7 = HEAP32[$__e >> 2] | 0; + $8 = $7; + do if ($7) { + $9 = HEAP32[$7 + 12 >> 2] | 0; + if (($9 | 0) == (HEAP32[$7 + 16 >> 2] | 0)) $retval$0$i$i13$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$7 >> 2] | 0) + 36 >> 2] & 127]($7) | 0; else $retval$0$i$i13$i$i = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$9 >> 0] | 0) | 0; + if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii($retval$0$i$i13$i$i, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if ($72) { + $21 = $8; + $73 = $7; break; } else { label = 63; break L1; } else { - HEAP32[$2 >> 2] = 0; + HEAP32[$__e >> 2] = 0; $$ph = 0; label = 15; break; } } else { - $$ph = $33; + $$ph = $8; label = 15; } while (0); if ((label | 0) == 15) { label = 0; - if ($213) { + if ($72) { label = 63; break; } else { - $214 = 0; - $71 = $$ph; + $21 = $$ph; + $73 = 0; } } - L24 : do if ((FUNCTION_TABLE_iiii[HEAP32[(HEAP32[$10 >> 2] | 0) + 36 >> 2] & 63]($10, HEAP8[$$0 >> 0] | 0, 0) | 0) << 24 >> 24 == 37) { - $53 = $$0 + 1 | 0; - if (($53 | 0) == ($7 | 0)) { + L24 : do if ((FUNCTION_TABLE_iiii[HEAP32[(HEAP32[$call$i >> 2] | 0) + 36 >> 2] & 63]($call$i, HEAP8[$__fmtb$addr$0 >> 0] | 0, 0) | 0) << 24 >> 24 == 37) { + $incdec$ptr = $__fmtb$addr$0 + 1 | 0; + if (($incdec$ptr | 0) == ($__fmte | 0)) { label = 63; break L1; } - $59 = FUNCTION_TABLE_iiii[HEAP32[(HEAP32[$10 >> 2] | 0) + 36 >> 2] & 63]($10, HEAP8[$53 >> 0] | 0, 0) | 0; - switch ($59 << 24 >> 24) { + $call$i40 = FUNCTION_TABLE_iiii[HEAP32[(HEAP32[$call$i >> 2] | 0) + 36 >> 2] & 63]($call$i, HEAP8[$incdec$ptr >> 0] | 0, 0) | 0; + switch ($call$i40 << 24 >> 24) { case 48: case 69: { - $60 = $$0 + 2 | 0; - if (($60 | 0) == ($7 | 0)) { + $incdec$ptr16 = $__fmtb$addr$0 + 2 | 0; + if (($incdec$ptr16 | 0) == ($__fmte | 0)) { label = 63; break L1; } - $$049 = $59; - $$050 = FUNCTION_TABLE_iiii[HEAP32[(HEAP32[$10 >> 2] | 0) + 36 >> 2] & 63]($10, HEAP8[$60 >> 0] | 0, 0) | 0; - $74 = $53; + $22 = $incdec$ptr; + $__cmd$0 = FUNCTION_TABLE_iiii[HEAP32[(HEAP32[$call$i >> 2] | 0) + 36 >> 2] & 63]($call$i, HEAP8[$incdec$ptr16 >> 0] | 0, 0) | 0; + $__opt$0 = $call$i40; break; } default: { - $$049 = 0; - $$050 = $59; - $74 = $$0; - } - } - $69 = HEAP32[(HEAP32[$0 >> 2] | 0) + 36 >> 2] | 0; - HEAP32[$8 >> 2] = $70; - HEAP32[$9 >> 2] = $71; - HEAP32[$$byval_copy >> 2] = HEAP32[$8 >> 2]; - HEAP32[$$byval_copy1 >> 2] = HEAP32[$9 >> 2]; - $72 = FUNCTION_TABLE_iiiiiiiii[$69 & 15]($0, $$byval_copy, $$byval_copy1, $3, $4, $5, $$050, $$049) | 0; - HEAP32[$1 >> 2] = $72; - $$4 = $74 + 2 | 0; + $22 = $__fmtb$addr$0; + $__cmd$0 = $call$i40; + $__opt$0 = 0; + } + } + $19 = HEAP32[(HEAP32[$this >> 2] | 0) + 36 >> 2] | 0; + HEAP32[$agg$tmp >> 2] = $20; + HEAP32[$agg$tmp23 >> 2] = $21; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp23$byval_copy >> 2] = HEAP32[$agg$tmp23 >> 2]; + $call24 = FUNCTION_TABLE_iiiiiiiii[$19 & 15]($this, $agg$tmp$byval_copy, $agg$tmp23$byval_copy, $__iob, $__err, $__tm, $__cmd$0, $__opt$0) | 0; + HEAP32[$__b >> 2] = $call24; + $__fmtb$addr$4 = $22 + 2 | 0; } else { - $75 = HEAP8[$$0 >> 0] | 0; - if ($75 << 24 >> 24 > -1 ? ($78 = HEAP32[$11 >> 2] | 0, HEAP16[$78 + ($75 << 24 >> 24 << 1) >> 1] & 8192) : 0) { - $$0$pn = $$0; + $23 = HEAP8[$__fmtb$addr$0 >> 0] | 0; + if ($23 << 24 >> 24 > -1 ? ($24 = HEAP32[$__tab_$i >> 2] | 0, HEAP16[$24 + ($23 << 24 >> 24 << 1) >> 1] & 8192) : 0) { + $__fmtb$addr$0$pn = $__fmtb$addr$0; while (1) { - $$3 = $$0$pn + 1 | 0; - if (($$3 | 0) == ($7 | 0)) { - $$3$lcssa = $7; + $__fmtb$addr$3 = $__fmtb$addr$0$pn + 1 | 0; + if (($__fmtb$addr$3 | 0) == ($__fmte | 0)) { + $__fmtb$addr$3$lcssa = $__fmte; break; } - $84 = HEAP8[$$3 >> 0] | 0; - if ($84 << 24 >> 24 <= -1) { - $$3$lcssa = $$3; + $26 = HEAP8[$__fmtb$addr$3 >> 0] | 0; + if ($26 << 24 >> 24 <= -1) { + $__fmtb$addr$3$lcssa = $__fmtb$addr$3; break; } - if (!(HEAP16[$78 + ($84 << 24 >> 24 << 1) >> 1] & 8192)) { - $$3$lcssa = $$3; + if (!(HEAP16[$24 + ($26 << 24 >> 24 << 1) >> 1] & 8192)) { + $__fmtb$addr$3$lcssa = $__fmtb$addr$3; break; - } else $$0$pn = $$3; + } else $__fmtb$addr$0$pn = $__fmtb$addr$3; } - $107 = $214; - $92 = $150; + $28 = $49; + $33 = $73; while (1) { - if ($92) { - $94 = HEAP32[$92 + 12 >> 2] | 0; - if (($94 | 0) == (HEAP32[$92 + 16 >> 2] | 0)) $$0$i$i$i$i53 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$92 >> 2] | 0) + 36 >> 2] & 127]($92) | 0; else $$0$i$i$i$i53 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$94 >> 0] | 0) | 0; - if (__ZNSt3__211char_traitsIcE11eq_int_typeEii($$0$i$i$i$i53, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { - HEAP32[$1 >> 2] = 0; - $122 = 0; - $215 = 1; + if ($28) { + $29 = HEAP32[$28 + 12 >> 2] | 0; + if (($29 | 0) == (HEAP32[$28 + 16 >> 2] | 0)) $retval$0$i$i$i$i65 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$28 >> 2] | 0) + 36 >> 2] & 127]($28) | 0; else $retval$0$i$i$i$i65 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$29 >> 0] | 0) | 0; + if (__ZNSt3__211char_traitsIcE11eq_int_typeEii($retval$0$i$i$i$i65, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { + HEAP32[$__b >> 2] = 0; + $38 = 0; + $74 = 1; } else { - $122 = $92; - $215 = 0; + $38 = $28; + $74 = 0; } } else { - $122 = 0; - $215 = 1; - } - do if ($107) { - $109 = HEAP32[$107 + 12 >> 2] | 0; - if (($109 | 0) == (HEAP32[$107 + 16 >> 2] | 0)) $$0$i$i2$i$i59 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$107 >> 2] | 0) + 36 >> 2] & 127]($107) | 0; else $$0$i$i2$i$i59 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$109 >> 0] | 0) | 0; - if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii($$0$i$i2$i$i59, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if ($215) { - $216 = $107; + $38 = 0; + $74 = 1; + } + do if ($33) { + $34 = HEAP32[$33 + 12 >> 2] | 0; + if (($34 | 0) == (HEAP32[$33 + 16 >> 2] | 0)) $retval$0$i$i13$i$i86 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$33 >> 2] | 0) + 36 >> 2] & 127]($33) | 0; else $retval$0$i$i13$i$i86 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$34 >> 0] | 0) | 0; + if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii($retval$0$i$i13$i$i86, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if ($74) { + $75 = $33; break; } else { - $$4 = $$3$lcssa; + $__fmtb$addr$4 = $__fmtb$addr$3$lcssa; break L24; } else { - HEAP32[$2 >> 2] = 0; + HEAP32[$__e >> 2] = 0; label = 42; break; } } else label = 42; while (0); if ((label | 0) == 42) { label = 0; - if ($215) { - $$4 = $$3$lcssa; + if ($74) { + $__fmtb$addr$4 = $__fmtb$addr$3$lcssa; break L24; - } else $216 = 0; - } - $121 = $122 + 12 | 0; - $123 = HEAP32[$121 >> 2] | 0; - $124 = $122 + 16 | 0; - if (($123 | 0) == (HEAP32[$124 >> 2] | 0)) $$0$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$122 >> 2] | 0) + 36 >> 2] & 127]($122) | 0; else $$0$i$i = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$123 >> 0] | 0) | 0; - if (($$0$i$i & 255) << 24 >> 24 <= -1) { - $$4 = $$3$lcssa; + } else $75 = 0; + } + $__ninp_$i$i = $38 + 12 | 0; + $39 = HEAP32[$__ninp_$i$i >> 2] | 0; + $__einp_$i$i = $38 + 16 | 0; + if (($39 | 0) == (HEAP32[$__einp_$i$i >> 2] | 0)) $retval$0$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$38 >> 2] | 0) + 36 >> 2] & 127]($38) | 0; else $retval$0$i$i = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$39 >> 0] | 0) | 0; + if (($retval$0$i$i & 255) << 24 >> 24 <= -1) { + $__fmtb$addr$4 = $__fmtb$addr$3$lcssa; break L24; } - if (!(HEAP16[(HEAP32[$11 >> 2] | 0) + ($$0$i$i << 24 >> 24 << 1) >> 1] & 8192)) { - $$4 = $$3$lcssa; + if (!(HEAP16[(HEAP32[$__tab_$i >> 2] | 0) + ($retval$0$i$i << 24 >> 24 << 1) >> 1] & 8192)) { + $__fmtb$addr$4 = $__fmtb$addr$3$lcssa; break L24; } - $141 = HEAP32[$121 >> 2] | 0; - if (($141 | 0) == (HEAP32[$124 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$122 >> 2] | 0) + 40 >> 2] & 127]($122) | 0; else { - HEAP32[$121 >> 2] = $141 + 1; - __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$141 >> 0] | 0) | 0; + $45 = HEAP32[$__ninp_$i$i >> 2] | 0; + if (($45 | 0) == (HEAP32[$__einp_$i$i >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$38 >> 2] | 0) + 40 >> 2] & 127]($38) | 0; else { + HEAP32[$__ninp_$i$i >> 2] = $45 + 1; + __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$45 >> 0] | 0) | 0; } - $107 = $216; - $92 = $122; + $28 = $38; + $33 = $75; } } - $149 = $150 + 12 | 0; - $151 = HEAP32[$149 >> 2] | 0; - $152 = $150 + 16 | 0; - if (($151 | 0) == (HEAP32[$152 >> 2] | 0)) $$0$i$i65 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$150 >> 2] | 0) + 36 >> 2] & 127]($150) | 0; else $$0$i$i65 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$151 >> 0] | 0) | 0; - $165 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$10 >> 2] | 0) + 12 >> 2] & 127]($10, $$0$i$i65 & 255) | 0; - if ($165 << 24 >> 24 != (FUNCTION_TABLE_iii[HEAP32[(HEAP32[$10 >> 2] | 0) + 12 >> 2] & 127]($10, HEAP8[$$0 >> 0] | 0) | 0) << 24 >> 24) { - HEAP32[$4 >> 2] = 4; - $$4 = $$0; + $__ninp_$i$i116 = $49 + 12 | 0; + $50 = HEAP32[$__ninp_$i$i116 >> 2] | 0; + $__einp_$i$i117 = $49 + 16 | 0; + if (($50 | 0) == (HEAP32[$__einp_$i$i117 >> 2] | 0)) $retval$0$i$i125 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$49 >> 2] | 0) + 36 >> 2] & 127]($49) | 0; else $retval$0$i$i125 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$50 >> 0] | 0) | 0; + $call$i130 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i >> 2] | 0) + 12 >> 2] & 127]($call$i, $retval$0$i$i125 & 255) | 0; + if ($call$i130 << 24 >> 24 != (FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i >> 2] | 0) + 12 >> 2] & 127]($call$i, HEAP8[$__fmtb$addr$0 >> 0] | 0) | 0) << 24 >> 24) { + HEAP32[$__err >> 2] = 4; + $__fmtb$addr$4 = $__fmtb$addr$0; break; } - $172 = HEAP32[$149 >> 2] | 0; - if (($172 | 0) == (HEAP32[$152 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$150 >> 2] | 0) + 40 >> 2] & 127]($150) | 0; else { - HEAP32[$149 >> 2] = $172 + 1; - __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$172 >> 0] | 0) | 0; + $57 = HEAP32[$__ninp_$i$i116 >> 2] | 0; + if (($57 | 0) == (HEAP32[$__einp_$i$i117 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$49 >> 2] | 0) + 40 >> 2] & 127]($49) | 0; else { + HEAP32[$__ninp_$i$i116 >> 2] = $57 + 1; + __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$57 >> 0] | 0) | 0; } - $$4 = $$0 + 1 | 0; + $__fmtb$addr$4 = $__fmtb$addr$0 + 1 | 0; } while (0); - $$0 = $$4; - $14 = HEAP32[$4 >> 2] | 0; + $0 = HEAP32[$__err >> 2] | 0; + $__fmtb$addr$0 = $__fmtb$addr$4; } if ((label | 0) == 63) { - HEAP32[$4 >> 2] = 4; - $182 = $150; - } - if ($182) { - $184 = HEAP32[$182 + 12 >> 2] | 0; - if (($184 | 0) == (HEAP32[$182 + 16 >> 2] | 0)) $$0$i$i$i$i68 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$182 >> 2] | 0) + 36 >> 2] & 127]($182) | 0; else $$0$i$i$i$i68 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$184 >> 0] | 0) | 0; - if (__ZNSt3__211char_traitsIcE11eq_int_typeEii($$0$i$i$i$i68, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { - HEAP32[$1 >> 2] = 0; - $$sroa$047$0$copyload = 0; - $217 = 1; + HEAP32[$__err >> 2] = 4; + $61 = $49; + } + if ($61) { + $62 = HEAP32[$61 + 12 >> 2] | 0; + if (($62 | 0) == (HEAP32[$61 + 16 >> 2] | 0)) $retval$0$i$i$i$i158 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$61 >> 2] | 0) + 36 >> 2] & 127]($61) | 0; else $retval$0$i$i$i$i158 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$62 >> 0] | 0) | 0; + if (__ZNSt3__211char_traitsIcE11eq_int_typeEii($retval$0$i$i$i$i158, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { + HEAP32[$__b >> 2] = 0; + $76 = 1; + $retval$sroa$0$0$copyload = 0; } else { - $$sroa$047$0$copyload = $182; - $217 = 0; + $76 = 0; + $retval$sroa$0$0$copyload = $61; } } else { - $$sroa$047$0$copyload = 0; - $217 = 1; - } - $196 = HEAP32[$2 >> 2] | 0; - do if ($196) { - $199 = HEAP32[$196 + 12 >> 2] | 0; - if (($199 | 0) == (HEAP32[$196 + 16 >> 2] | 0)) $$0$i$i2$i$i74 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$196 >> 2] | 0) + 36 >> 2] & 127]($196) | 0; else $$0$i$i2$i$i74 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$199 >> 0] | 0) | 0; - if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii($$0$i$i2$i$i74, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if ($217) break; else { + $76 = 1; + $retval$sroa$0$0$copyload = 0; + } + $66 = HEAP32[$__e >> 2] | 0; + do if ($66) { + $67 = HEAP32[$66 + 12 >> 2] | 0; + if (($67 | 0) == (HEAP32[$66 + 16 >> 2] | 0)) $retval$0$i$i13$i$i179 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$66 >> 2] | 0) + 36 >> 2] & 127]($66) | 0; else $retval$0$i$i13$i$i179 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$67 >> 0] | 0) | 0; + if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii($retval$0$i$i13$i$i179, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if ($76) break; else { label = 78; break; } else { - HEAP32[$2 >> 2] = 0; + HEAP32[$__e >> 2] = 0; label = 76; break; } } else label = 76; while (0); - if ((label | 0) == 76 ? $217 : 0) label = 78; - if ((label | 0) == 78) HEAP32[$4 >> 2] = HEAP32[$4 >> 2] | 2; + if ((label | 0) == 76 ? $76 : 0) label = 78; + if ((label | 0) == 78) HEAP32[$__err >> 2] = HEAP32[$__err >> 2] | 2; STACKTOP = sp; - return $$sroa$047$0$copyload | 0; + return $retval$sroa$0$0$copyload | 0; } -function __ZNK6vision21HoughSimilarityVoting16getBinsFromIndexERiS1_S1_S1_i($0, $1, $2, $3, $4, $5) { +function _decode_bch($matrixCodeType, $0, $1, $recd127, $out_p) { + $matrixCodeType = $matrixCodeType | 0; $0 = $0 | 0; $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$neg31 = 0, $10 = 0, $104 = 0, $108 = 0, $109 = 0, $116 = 0, $121 = 0, $125 = 0, $13 = 0, $134 = 0, $139 = 0, $143 = 0, $15 = 0, $150 = 0, $155 = 0, $159 = 0, $168 = 0, $173 = 0, $177 = 0, $22 = 0, $27 = 0, $31 = 0, $37 = 0, $39 = 0, $40 = 0, $47 = 0, $52 = 0, $56 = 0, $6 = 0, $64 = 0, $69 = 0, $7 = 0, $73 = 0, $74 = 0, $81 = 0, $86 = 0, $90 = 0, $99 = 0, sp = 0; + $recd127 = $recd127 | 0; + $out_p = $out_p | 0; + var $$pre200 = 0, $$sink = 0, $$sub132 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $22 = 0, $25 = 0, $28 = 0, $29 = 0, $3 = 0, $31 = 0, $32 = 0, $33 = 0, $36 = 0, $4 = 0, $41 = 0, $46 = 0, $5 = 0, $52 = 0, $53 = 0, $54 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $60 = 0, $64 = 0, $67 = 0, $68 = 0, $9 = 0, $add = 0, $add131 = 0, $add137 = 0, $add167 = 0, $add204$pre$phiZ2D = 0, $alpha_to$0 = 0, $alpha_to$1 = 0, $arrayidx130 = 0, $arrayidx168 = 0, $arrayidx190 = 0, $arrayidx193 = 0, $arrayidx288 = 0, $arrayidx30 = 0, $arrayidx315 = 0, $arrayidx349 = 0, $arrayidx41 = 0, $arrayidx94 = 0, $cmp110 = 0, $count$0 = 0, $count$1 = 0, $d = 0, $elp = 0, $i$0 = 0, $i$1 = 0, $i$10 = 0, $i$11 = 0, $i$12 = 0, $i$2 = 0, $i$3 = 0, $i$4 = 0, $i$5 = 0, $i$6 = 0, $i$7 = 0, $i$8 = 0, $i$9 = 0, $index_of$0 = 0, $index_of$1 = 0, $j$0 = 0, $j$1 = 0, $j$2 = 0, $k$1 = 0, $k$2 = 0, $k$3 = 0, $l = 0, $length$0 = 0, $length$1 = 0, $loc = 0, $mul = 0, $n$0 = 0, $n$1 = 0, $q$0 = 0, $q$1 = 0, $q$2 = 0, $q$3 = 0, $q$4 = 0, $q$5 = 0, $recd$0 = 0, $recd64 = 0, $reg = 0, $rem321 = 0, $retval$0 = 0, $s = 0, $sub132 = 0, $syn_error$0 = 0, $t$1 = 0, $t$2 = 0, $t$3 = 0, $tobool = 0, $u$0 = 0, $u$1 = 0, $u_lu = 0, $xor = 0, $xor256 = 0, label = 0, sp = 0, $j$1$looptemp = 0, $u$0$looptemp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $6 = sp; - $7 = $0 + 88 | 0; - $10 = $0 + 84 | 0; - $13 = $0 + 52 | 0; - $15 = ((($5 | 0) % (HEAP32[$7 >> 2] | 0) | 0 | 0) % (HEAP32[$10 >> 2] | 0) | 0 | 0) % (HEAP32[$13 >> 2] | 0) | 0; - HEAP32[$1 >> 2] = $15; - $22 = ((($5 - $15 | 0) % (HEAP32[$7 >> 2] | 0) | 0 | 0) % (HEAP32[$10 >> 2] | 0) | 0 | 0) / (HEAP32[$13 >> 2] | 0) | 0; - HEAP32[$2 >> 2] = $22; - $27 = $5 - (HEAP32[$1 >> 2] | 0) - (Math_imul(HEAP32[$13 >> 2] | 0, $22) | 0) | 0; - $31 = (($27 | 0) % (HEAP32[$7 >> 2] | 0) | 0 | 0) / (HEAP32[$10 >> 2] | 0) | 0; - HEAP32[$3 >> 2] = $31; - $$neg31 = Math_imul(HEAP32[$13 >> 2] | 0, HEAP32[$2 >> 2] | 0) | 0; - $37 = $5 - (HEAP32[$1 >> 2] | 0) - ((Math_imul(HEAP32[$10 >> 2] | 0, $31) | 0) + $$neg31) | 0; - $39 = ($37 | 0) / (HEAP32[$7 >> 2] | 0) | 0; - HEAP32[$4 >> 2] = $39; - $40 = HEAP32[$1 >> 2] | 0; - if (($40 | 0) <= -1) { - $47 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 36688) | 0, 36227) | 0, 39072) | 0, 190) | 0, 39079) | 0, 36721) | 0; - __ZNKSt3__28ios_base6getlocEv($6, $47 + (HEAP32[(HEAP32[$47 >> 2] | 0) + -12 >> 2] | 0) | 0); - $52 = __ZNKSt3__26locale9use_facetERNS0_2idE($6, 66512) | 0; - $56 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$52 >> 2] | 0) + 28 >> 2] & 127]($52, 10) | 0; - __ZNSt3__26localeD2Ev($6); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($47, $56) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($47) | 0; - _abort(); - } - if (($40 | 0) >= (HEAP32[$13 >> 2] | 0)) { - $64 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 36739) | 0, 36227) | 0, 39072) | 0, 191) | 0, 39079) | 0, 36721) | 0; - __ZNKSt3__28ios_base6getlocEv($6, $64 + (HEAP32[(HEAP32[$64 >> 2] | 0) + -12 >> 2] | 0) | 0); - $69 = __ZNKSt3__26locale9use_facetERNS0_2idE($6, 66512) | 0; - $73 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$69 >> 2] | 0) + 28 >> 2] & 127]($69, 10) | 0; - __ZNSt3__26localeD2Ev($6); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($64, $73) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($64) | 0; - _abort(); - } - $74 = HEAP32[$2 >> 2] | 0; - if (($74 | 0) <= -1) { - $81 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 36779) | 0, 36227) | 0, 39072) | 0, 192) | 0, 39079) | 0, 36812) | 0; - __ZNKSt3__28ios_base6getlocEv($6, $81 + (HEAP32[(HEAP32[$81 >> 2] | 0) + -12 >> 2] | 0) | 0); - $86 = __ZNKSt3__26locale9use_facetERNS0_2idE($6, 66512) | 0; - $90 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$86 >> 2] | 0) + 28 >> 2] & 127]($86, 10) | 0; - __ZNSt3__26localeD2Ev($6); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($81, $90) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($81) | 0; - _abort(); - } - if (($74 | 0) >= (HEAP32[$0 + 56 >> 2] | 0)) { - $99 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 36830) | 0, 36227) | 0, 39072) | 0, 193) | 0, 39079) | 0, 36812) | 0; - __ZNKSt3__28ios_base6getlocEv($6, $99 + (HEAP32[(HEAP32[$99 >> 2] | 0) + -12 >> 2] | 0) | 0); - $104 = __ZNKSt3__26locale9use_facetERNS0_2idE($6, 66512) | 0; - $108 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$104 >> 2] | 0) + 28 >> 2] & 127]($104, 10) | 0; - __ZNSt3__26localeD2Ev($6); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($99, $108) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($99) | 0; - _abort(); - } - $109 = HEAP32[$3 >> 2] | 0; - if (($109 | 0) <= -1) { - $116 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 36870) | 0, 36227) | 0, 39072) | 0, 194) | 0, 39079) | 0, 36907) | 0; - __ZNKSt3__28ios_base6getlocEv($6, $116 + (HEAP32[(HEAP32[$116 >> 2] | 0) + -12 >> 2] | 0) | 0); - $121 = __ZNKSt3__26locale9use_facetERNS0_2idE($6, 66512) | 0; - $125 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$121 >> 2] | 0) + 28 >> 2] & 127]($121, 10) | 0; - __ZNSt3__26localeD2Ev($6); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($116, $125) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($116) | 0; - _abort(); - } - if (($109 | 0) >= (HEAP32[$0 + 60 >> 2] | 0)) { - $134 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 36929) | 0, 36227) | 0, 39072) | 0, 195) | 0, 39079) | 0, 36907) | 0; - __ZNKSt3__28ios_base6getlocEv($6, $134 + (HEAP32[(HEAP32[$134 >> 2] | 0) + -12 >> 2] | 0) | 0); - $139 = __ZNKSt3__26locale9use_facetERNS0_2idE($6, 66512) | 0; - $143 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$139 >> 2] | 0) + 28 >> 2] & 127]($139, 10) | 0; - __ZNSt3__26localeD2Ev($6); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($134, $143) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($134) | 0; - _abort(); - } - if (($39 | 0) <= -1) { - $150 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 36977) | 0, 36227) | 0, 39072) | 0, 196) | 0, 39079) | 0, 37014) | 0; - __ZNKSt3__28ios_base6getlocEv($6, $150 + (HEAP32[(HEAP32[$150 >> 2] | 0) + -12 >> 2] | 0) | 0); - $155 = __ZNKSt3__26locale9use_facetERNS0_2idE($6, 66512) | 0; - $159 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$155 >> 2] | 0) + 28 >> 2] & 127]($155, 10) | 0; - __ZNSt3__26localeD2Ev($6); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($150, $159) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($150) | 0; - _abort(); - } - if (($39 | 0) < (HEAP32[$0 + 64 >> 2] | 0)) { - STACKTOP = sp; - return; - } else { - $168 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 37036) | 0, 36227) | 0, 39072) | 0, 197) | 0, 39079) | 0, 37014) | 0; - __ZNKSt3__28ios_base6getlocEv($6, $168 + (HEAP32[(HEAP32[$168 >> 2] | 0) + -12 >> 2] | 0) | 0); - $173 = __ZNKSt3__26locale9use_facetERNS0_2idE($6, 66512) | 0; - $177 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$173 >> 2] | 0) + 28 >> 2] & 127]($173, 10) | 0; - __ZNSt3__26localeD2Ev($6); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($168, $177) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($168) | 0; - _abort(); - } -} - -function _hexfloat($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $$0 = 0, $$0$be = 0, $$0$ph = 0, $$0133 = 0, $$0143 = 0, $$0151 = 0, $$0154 = 0.0, $$0155 = 0.0, $$0158 = 0.0, $$0163 = 0, $$0169 = 0.0, $$0170 = 0, $$0170173 = 0, $$0170174 = 0, $$1149 = 0, $$1149$ph = 0, $$1152 = 0, $$1156 = 0.0, $$1159 = 0.0, $$1164 = 0, $$2150 = 0, $$2153 = 0, $$2157 = 0.0, $$2160 = 0.0, $$2165 = 0, $$3 = 0, $$3$be = 0, $$3$lcssa = 0, $$3$ph = 0, $$3146 = 0, $$3146$ph = 0, $$3161$lcssa = 0.0, $$3161181 = 0.0, $$3166$lcssa = 0, $$3166185 = 0, $$4147 = 0, $$4162 = 0.0, $$4167$lcssa = 0, $$4167180 = 0, $$5168 = 0, $$pre = 0, $$pre$phi204Z2D = 0.0, $105 = 0, $106 = 0, $107 = 0, $117 = 0, $118 = 0, $131 = 0, $133 = 0, $135 = 0, $136 = 0, $137 = 0, $138 = 0, $14 = 0, $142 = 0, $144 = 0, $150 = 0, $154 = 0, $156 = 0, $162 = 0, $167 = 0, $171 = 0, $172 = 0, $173 = 0, $174 = 0, $177 = 0, $180 = 0, $182 = 0, $183 = 0, $184 = 0, $185 = 0, $194 = 0.0, $195 = 0, $208 = 0.0, $21 = 0, $210 = 0, $212 = 0, $213 = 0, $214 = 0, $215 = 0, $216 = 0, $217 = 0, $29 = 0, $30 = 0, $37 = 0, $38 = 0, $39 = 0, $40 = 0, $42 = 0, $43 = 0, $47 = 0, $5 = 0, $52 = 0, $54 = 0, $6 = 0, $66 = 0.0, $7 = 0, $73 = 0, $75 = 0, $84 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, $or$cond = 0, $or$cond172 = 0, label = 0, $106$looptemp = 0, $107$looptemp = 0; - $5 = $0 + 4 | 0; - $6 = HEAP32[$5 >> 2] | 0; - $7 = $0 + 104 | 0; - if ($6 >>> 0 < (HEAP32[$7 >> 2] | 0) >>> 0) { - HEAP32[$5 >> 2] = $6 + 1; - $$0$ph = HEAPU8[$6 >> 0] | 0; - } else $$0$ph = ___shgetc($0) | 0; - $$0 = $$0$ph; - $$0143 = 0; - L5 : while (1) { - switch ($$0 | 0) { - case 46: - { - label = 10; - break L5; - break; - } - case 48: + STACKTOP = STACKTOP + 2384 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(2384); + $recd64 = sp + 2320 | 0; + $elp = sp + 880 | 0; + $d = sp + 800 | 0; + $l = sp + 720 | 0; + $u_lu = sp + 640 | 0; + $s = sp + 560 | 0; + $loc = sp + 48 | 0; + $reg = sp; + switch ($matrixCodeType | 0) { + case 2830: + { + $alpha_to$1 = 688; + $index_of$1 = 1200; + $k$3 = 64; + $length$1 = 120; + $n$1 = 127; + $recd$0 = $recd127; + $t$3 = 9; + label = 8; + break; + } + case 772: + { + $alpha_to$0 = 432; + $index_of$0 = 624; + $k$2 = 9; + $length$0 = 13; + $n$0 = 15; + $t$2 = 1; + label = 5; + break; + } + case 1028: + { + $alpha_to$0 = 432; + $index_of$0 = 624; + $k$2 = 5; + $length$0 = 13; + $n$0 = 15; + $t$2 = 2; + label = 5; + break; + } + case 1029: + { + $k$1 = 12; + $t$1 = 2; + label = 4; + break; + } + case 1285: + { + $k$1 = 7; + $t$1 = 3; + label = 4; break; - default: - { - $$1149$ph = 0; - $$3$ph = $$0; - $$3146$ph = $$0143; - $212 = 0; - $213 = 0; - break L5; - } } - $14 = HEAP32[$5 >> 2] | 0; - if ($14 >>> 0 < (HEAP32[$7 >> 2] | 0) >>> 0) { - HEAP32[$5 >> 2] = $14 + 1; - $$0$be = HEAPU8[$14 >> 0] | 0; - } else $$0$be = ___shgetc($0) | 0; - $$0 = $$0$be; - $$0143 = 1; + default: + $retval$0 = -1; } - if ((label | 0) == 10) { - $21 = HEAP32[$5 >> 2] | 0; - if ($21 >>> 0 < (HEAP32[$7 >> 2] | 0) >>> 0) { - HEAP32[$5 >> 2] = $21 + 1; - $29 = HEAPU8[$21 >> 0] | 0; - } else $29 = ___shgetc($0) | 0; - if (($29 | 0) == 48) { - $37 = 0; - $38 = 0; + if ((label | 0) == 4) { + $alpha_to$0 = 304; + $index_of$0 = 496; + $k$2 = $k$1; + $length$0 = 22; + $n$0 = 31; + $t$2 = $t$1; + label = 5; + } + L6 : do if ((label | 0) == 5) { + $3 = $0; + $4 = $1; + $i$0 = 0; + while (1) { + if (($i$0 | 0) == ($length$0 | 0)) { + $alpha_to$1 = $alpha_to$0; + $index_of$1 = $index_of$0; + $k$3 = $k$2; + $length$1 = $length$0; + $n$1 = $n$0; + $recd$0 = $recd64; + $t$3 = $t$2; + label = 8; + break L6; + } + HEAP8[$recd64 + $i$0 >> 0] = $3 & 1; + $5 = _bitshift64Lshr($3 | 0, $4 | 0, 1) | 0; + $3 = $5; + $4 = getTempRet0() | 0; + $i$0 = $i$0 + 1 | 0; + } + } while (0); + L11 : do if ((label | 0) == 8) { + $mul = $t$3 << 1; + $i$1 = 1; + $syn_error$0 = 0; + while (1) { + if (($i$1 | 0) > ($mul | 0)) break; + $arrayidx30 = $s + ($i$1 << 2) | 0; + HEAP32[$arrayidx30 >> 2] = 0; + $9 = 0; + $j$0 = 0; while (1) { - $30 = HEAP32[$5 >> 2] | 0; - if ($30 >>> 0 < (HEAP32[$7 >> 2] | 0) >>> 0) { - HEAP32[$5 >> 2] = $30 + 1; - $42 = HEAPU8[$30 >> 0] | 0; - } else $42 = ___shgetc($0) | 0; - $39 = _i64Add($37 | 0, $38 | 0, -1, -1) | 0; - $40 = getTempRet0() | 0; - if (($42 | 0) == 48) { - $37 = $39; - $38 = $40; + if (($j$0 | 0) >= ($length$1 | 0)) break; + if (!(HEAP8[$recd$0 + $j$0 >> 0] | 0)) $67 = $9; else { + $arrayidx41 = $alpha_to$1 + (((Math_imul($j$0, $i$1) | 0) % ($n$1 | 0) | 0) << 2) | 0; + $xor = $9 ^ HEAP32[$arrayidx41 >> 2]; + HEAP32[$arrayidx30 >> 2] = $xor; + $67 = $xor; + } + $9 = $67; + $j$0 = $j$0 + 1 | 0; + } + HEAP32[$arrayidx30 >> 2] = HEAP32[$index_of$1 + ($9 << 2) >> 2]; + $i$1 = $i$1 + 1 | 0; + $syn_error$0 = ($9 | 0) == 0 ? $syn_error$0 : 1; + } + $tobool = ($syn_error$0 | 0) != 0; + L24 : do if ($tobool) { + HEAP32[$d >> 2] = 0; + $11 = HEAP32[$s + 4 >> 2] | 0; + HEAP32[$d + 4 >> 2] = $11; + HEAP32[$elp >> 2] = 0; + HEAP32[$elp + 72 >> 2] = 1; + $i$2 = 1; + while (1) { + if (($i$2 | 0) >= ($mul | 0)) break; + HEAP32[$elp + ($i$2 << 2) >> 2] = -1; + HEAP32[$elp + 72 + ($i$2 << 2) >> 2] = 0; + $i$2 = $i$2 + 1 | 0; + } + HEAP32[$l >> 2] = 0; + HEAP32[$l + 4 >> 2] = 0; + HEAP32[$u_lu >> 2] = -1; + HEAP32[$u_lu + 4 >> 2] = 0; + $12 = $11; + $13 = 0; + $u$0 = 0; + while (1) { + $u$0$looptemp = $u$0; + $u$0 = $u$0 + 1 | 0; + L32 : do if (($12 | 0) == -1) { + $add = $u$0$looptemp + 2 | 0; + HEAP32[$l + ($add << 2) >> 2] = $13; + $i$3 = 0; + while (1) { + if (($i$3 | 0) > ($13 | 0)) { + $28 = $13; + $add204$pre$phiZ2D = $add; + break L32; + } + $arrayidx94 = $elp + ($u$0 * 72 | 0) + ($i$3 << 2) | 0; + $14 = HEAP32[$arrayidx94 >> 2] | 0; + HEAP32[$elp + ($add * 72 | 0) + ($i$3 << 2) >> 2] = $14; + HEAP32[$arrayidx94 >> 2] = HEAP32[$index_of$1 + ($14 << 2) >> 2]; + $i$3 = $i$3 + 1 | 0; + } } else { - $$1149$ph = 1; - $$3$ph = $42; - $$3146$ph = 1; - $212 = $39; - $213 = $40; - break; + $q$0 = $u$0$looptemp; + while (1) { + $cmp110 = ($q$0 | 0) > 0; + if ($cmp110 & (HEAP32[$d + ($q$0 << 2) >> 2] | 0) == -1) $q$0 = $q$0 + -1 | 0; else break; + } + if ($cmp110) { + $j$1 = $q$0; + $q$1 = $q$0; + while (1) { + $j$1$looptemp = $j$1; + $j$1 = $j$1 + -1 | 0; + if ((HEAP32[$d + ($j$1 << 2) >> 2] | 0) == -1) $q$2 = $q$1; else $q$2 = (HEAP32[$u_lu + ($q$1 << 2) >> 2] | 0) < (HEAP32[$u_lu + ($j$1 << 2) >> 2] | 0) ? $j$1 : $q$1; + if (($j$1$looptemp | 0) <= 1) { + $q$3 = $q$2; + break; + } else $q$1 = $q$2; + } + } else $q$3 = $q$0; + $arrayidx130 = $l + ($q$3 << 2) | 0; + $add131 = $u$0 - $q$3 | 0; + $sub132 = $add131 + (HEAP32[$arrayidx130 >> 2] | 0) | 0; + $add137 = $u$0$looptemp + 2 | 0; + $$sub132 = ($13 | 0) > ($sub132 | 0) ? $13 : $sub132; + HEAP32[$l + ($add137 << 2) >> 2] = $$sub132; + $i$4 = 0; + while (1) { + if (($i$4 | 0) >= ($mul | 0)) break; + HEAP32[$elp + ($add137 * 72 | 0) + ($i$4 << 2) >> 2] = 0; + $i$4 = $i$4 + 1 | 0; + } + $add167 = $12 + $n$1 | 0; + $arrayidx168 = $d + ($q$3 << 2) | 0; + $$pre200 = HEAP32[$arrayidx130 >> 2] | 0; + $i$5 = 0; + while (1) { + if (($i$5 | 0) > ($$pre200 | 0)) break; + $22 = HEAP32[$elp + ($q$3 * 72 | 0) + ($i$5 << 2) >> 2] | 0; + if (($22 | 0) != -1) HEAP32[$elp + ($add137 * 72 | 0) + ($add131 + $i$5 << 2) >> 2] = HEAP32[$alpha_to$1 + ((($add167 + $22 - (HEAP32[$arrayidx168 >> 2] | 0) | 0) % ($n$1 | 0) | 0) << 2) >> 2]; + $i$5 = $i$5 + 1 | 0; + } + $i$6 = 0; + while (1) { + if (($i$6 | 0) > ($13 | 0)) { + $28 = $$sub132; + $add204$pre$phiZ2D = $add137; + break L32; + } + $arrayidx190 = $elp + ($u$0 * 72 | 0) + ($i$6 << 2) | 0; + $25 = HEAP32[$arrayidx190 >> 2] | 0; + $arrayidx193 = $elp + ($add137 * 72 | 0) + ($i$6 << 2) | 0; + HEAP32[$arrayidx193 >> 2] = HEAP32[$arrayidx193 >> 2] ^ $25; + HEAP32[$arrayidx190 >> 2] = HEAP32[$index_of$1 + ($25 << 2) >> 2]; + $i$6 = $i$6 + 1 | 0; + } + } while (0); + HEAP32[$u_lu + ($add204$pre$phiZ2D << 2) >> 2] = $u$0 - $28; + if (($u$0 | 0) >= ($mul | 0)) break; + $29 = HEAP32[$s + ($add204$pre$phiZ2D << 2) >> 2] | 0; + if (($29 | 0) == -1) $$sink = 0; else $$sink = HEAP32[$alpha_to$1 + ($29 << 2) >> 2] | 0; + $31 = $d + ($add204$pre$phiZ2D << 2) | 0; + HEAP32[$31 >> 2] = $$sink; + $36 = $$sink; + $i$7 = 1; + while (1) { + if (($i$7 | 0) > ($28 | 0)) break; + $32 = HEAP32[$s + ($add204$pre$phiZ2D - $i$7 << 2) >> 2] | 0; + if (($32 | 0) != -1 ? ($33 = HEAP32[$elp + ($add204$pre$phiZ2D * 72 | 0) + ($i$7 << 2) >> 2] | 0, ($33 | 0) != 0) : 0) { + $xor256 = $36 ^ HEAP32[$alpha_to$1 + ((((HEAP32[$index_of$1 + ($33 << 2) >> 2] | 0) + $32 | 0) % ($n$1 | 0) | 0) << 2) >> 2]; + HEAP32[$31 >> 2] = $xor256; + $68 = $xor256; + } else $68 = $36; + $36 = $68; + $i$7 = $i$7 + 1 | 0; + } + $12 = HEAP32[$index_of$1 + ($36 << 2) >> 2] | 0; + HEAP32[$31 >> 2] = $12; + if (($28 | 0) > ($t$3 | 0)) break; else $13 = $28; + } + if (($28 | 0) > ($t$3 | 0)) { + $retval$0 = -1; + break L11; + } + $i$8 = 0; + while (1) { + if (($i$8 | 0) > ($28 | 0)) break; + $arrayidx288 = $elp + ($add204$pre$phiZ2D * 72 | 0) + ($i$8 << 2) | 0; + HEAP32[$arrayidx288 >> 2] = HEAP32[$index_of$1 + (HEAP32[$arrayidx288 >> 2] << 2) >> 2]; + $i$8 = $i$8 + 1 | 0; + } + $i$9 = 1; + while (1) { + if (($i$9 | 0) > ($28 | 0)) break; + HEAP32[$reg + ($i$9 << 2) >> 2] = HEAP32[$elp + ($add204$pre$phiZ2D * 72 | 0) + ($i$9 << 2) >> 2]; + $i$9 = $i$9 + 1 | 0; + } + $count$0 = 0; + $i$10 = 1; + while (1) { + if (($n$1 | 0) < ($i$10 | 0)) break; + $j$2 = 1; + $q$4 = 1; + while (1) { + if (($j$2 | 0) > ($28 | 0)) break; + $arrayidx315 = $reg + ($j$2 << 2) | 0; + $41 = HEAP32[$arrayidx315 >> 2] | 0; + if (($41 | 0) == -1) $q$5 = $q$4; else { + $rem321 = ($41 + $j$2 | 0) % ($n$1 | 0) | 0; + HEAP32[$arrayidx315 >> 2] = $rem321; + $q$5 = HEAP32[$alpha_to$1 + ($rem321 << 2) >> 2] ^ $q$4; + } + $j$2 = $j$2 + 1 | 0; + $q$4 = $q$5; + } + if (!$q$4) { + HEAP32[$loc + ($count$0 << 2) >> 2] = $n$1 - $i$10; + $count$1 = $count$0 + 1 | 0; + } else $count$1 = $count$0; + $count$0 = $count$1; + $i$10 = $i$10 + 1 | 0; + } + if (($count$0 | 0) != ($28 | 0)) { + $retval$0 = -1; + break L11; + } + $i$11 = 0; + while (1) { + if (($i$11 | 0) >= ($28 | 0)) { + $u$1 = $add204$pre$phiZ2D; + break L24; } + $arrayidx349 = $recd$0 + (HEAP32[$loc + ($i$11 << 2) >> 2] | 0) | 0; + HEAP8[$arrayidx349 >> 0] = HEAP8[$arrayidx349 >> 0] ^ 1; + $i$11 = $i$11 + 1 | 0; } - } else { - $$1149$ph = 1; - $$3$ph = $29; - $$3146$ph = $$0143; - $212 = 0; - $213 = 0; - } - } - $$0151 = 0; - $$0155 = 1.0; - $$0158 = 0.0; - $$0163 = 0; - $$1149 = $$1149$ph; - $$3 = $$3$ph; - $$3146 = $$3146$ph; - $52 = 0; - $54 = 0; - $97 = $212; - $99 = $213; - while (1) { - $43 = $$3 + -48 | 0; - $$pre = $$3 | 32; - if ($43 >>> 0 >= 10) { - $47 = ($$3 | 0) == 46; - if (!($47 | ($$pre + -97 | 0) >>> 0 < 6)) { - $$3$lcssa = $$3; - break; - } - if ($47) if (!$$1149) { - $$2150 = 1; - $$2153 = $$0151; - $$2157 = $$0155; - $$2160 = $$0158; - $$2165 = $$0163; - $$4147 = $$3146; - $214 = $54; - $215 = $52; - $216 = $54; - $217 = $52; - } else { - $$3$lcssa = 46; - break; - } else label = 24; - } else label = 24; - if ((label | 0) == 24) { - label = 0; - $$0133 = ($$3 | 0) > 57 ? $$pre + -87 | 0 : $43; - do if (!(($52 | 0) < 0 | ($52 | 0) == 0 & $54 >>> 0 < 8)) if (($52 | 0) < 0 | ($52 | 0) == 0 & $54 >>> 0 < 14) { - $66 = $$0155 * .0625; - $$1152 = $$0151; - $$1156 = $66; - $$1159 = $$0158 + $66 * +($$0133 | 0); - $$1164 = $$0163; - break; - } else { - $or$cond = ($$0151 | 0) != 0 | ($$0133 | 0) == 0; - $$1152 = $or$cond ? $$0151 : 1; - $$1156 = $$0155; - $$1159 = $or$cond ? $$0158 : $$0158 + $$0155 * .5; - $$1164 = $$0163; - break; - } else { - $$1152 = $$0151; - $$1156 = $$0155; - $$1159 = $$0158; - $$1164 = $$0133 + ($$0163 << 4) | 0; - } while (0); - $73 = _i64Add($54 | 0, $52 | 0, 1, 0) | 0; - $$2150 = $$1149; - $$2153 = $$1152; - $$2157 = $$1156; - $$2160 = $$1159; - $$2165 = $$1164; - $$4147 = 1; - $214 = $97; - $215 = $99; - $216 = $73; - $217 = getTempRet0() | 0; - } - $75 = HEAP32[$5 >> 2] | 0; - if ($75 >>> 0 < (HEAP32[$7 >> 2] | 0) >>> 0) { - HEAP32[$5 >> 2] = $75 + 1; - $$3$be = HEAPU8[$75 >> 0] | 0; - } else $$3$be = ___shgetc($0) | 0; - $$0151 = $$2153; - $$0155 = $$2157; - $$0158 = $$2160; - $$0163 = $$2165; - $$1149 = $$2150; - $$3 = $$3$be; - $$3146 = $$4147; - $52 = $217; - $54 = $216; - $97 = $214; - $99 = $215; - } - do if (!$$3146) { - $84 = (HEAP32[$7 >> 2] | 0) == 0; - if (!$84) HEAP32[$5 >> 2] = (HEAP32[$5 >> 2] | 0) + -1; - if ($4) { - if (!$84 ? (HEAP32[$5 >> 2] = (HEAP32[$5 >> 2] | 0) + -1, !(($$1149 | 0) == 0 | $84)) : 0) HEAP32[$5 >> 2] = (HEAP32[$5 >> 2] | 0) + -1; - } else ___shlim($0, 0, 0); - $$0169 = +($3 | 0) * 0.0; + } else $u$1 = 0; while (0); + $46 = $out_p; + HEAP32[$46 >> 2] = 0; + HEAP32[$46 + 4 >> 2] = 0; + $52 = 1; + $53 = 0; + $56 = 0; + $57 = 0; + $i$12 = $length$1 - $k$3 | 0; + while (1) { + if (($i$12 | 0) >= ($length$1 | 0)) break; + $54 = ___muldi3($52 | 0, $53 | 0, HEAPU8[$recd$0 + $i$12 >> 0] | 0, 0) | 0; + $58 = _i64Add($54 | 0, getTempRet0() | 0, $56 | 0, $57 | 0) | 0; + $59 = getTempRet0() | 0; + $60 = $out_p; + HEAP32[$60 >> 2] = $58; + HEAP32[$60 + 4 >> 2] = $59; + $64 = _bitshift64Shl($52 | 0, $53 | 0, 1) | 0; + $52 = $64; + $53 = getTempRet0() | 0; + $56 = $58; + $57 = $59; + $i$12 = $i$12 + 1 | 0; + } + if ($tobool) $retval$0 = HEAP32[$l + ($u$1 << 2) >> 2] | 0; else $retval$0 = 0; + } while (0); + STACKTOP = sp; + return $retval$0 | 0; +} + +function __ZNK6vision21HoughSimilarityVoting16getBinsFromIndexERiS1_S1_S1_i($this, $binX, $binY, $binAngle, $binScale, $index) { + $this = $this | 0; + $binX = $binX | 0; + $binY = $binY | 0; + $binAngle = $binAngle | 0; + $binScale = $binScale | 0; + $index = $index | 0; + var $15 = 0, $19 = 0, $23 = 0, $call$i1$i = 0, $call$i1$i101 = 0, $call$i1$i109 = 0, $call$i1$i117 = 0, $call$i1$i69 = 0, $call$i1$i77 = 0, $call$i1$i85 = 0, $call$i1$i93 = 0, $call$i2$i = 0, $call$i2$i104 = 0, $call$i2$i112 = 0, $call$i2$i120 = 0, $call$i2$i72 = 0, $call$i2$i80 = 0, $call$i2$i88 = 0, $call$i2$i96 = 0, $call100 = 0, $call112 = 0, $call29 = 0, $call40 = 0, $call52 = 0, $call64 = 0, $call76 = 0, $call88 = 0, $div = 0, $div15 = 0, $div24 = 0, $mA = 0, $mB = 0, $mNumXBins = 0, $mul18$neg = 0, $ref$tmp$i116 = 0, $rem3 = 0, $sub11 = 0, $sub22 = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $ref$tmp$i116 = sp; + $mB = $this + 88 | 0; + $mA = $this + 84 | 0; + $mNumXBins = $this + 52 | 0; + $rem3 = ((($index | 0) % (HEAP32[$mB >> 2] | 0) | 0 | 0) % (HEAP32[$mA >> 2] | 0) | 0 | 0) % (HEAP32[$mNumXBins >> 2] | 0) | 0; + HEAP32[$binX >> 2] = $rem3; + $div = ((($index - $rem3 | 0) % (HEAP32[$mB >> 2] | 0) | 0 | 0) % (HEAP32[$mA >> 2] | 0) | 0 | 0) / (HEAP32[$mNumXBins >> 2] | 0) | 0; + HEAP32[$binY >> 2] = $div; + $sub11 = $index - (HEAP32[$binX >> 2] | 0) - (Math_imul(HEAP32[$mNumXBins >> 2] | 0, $div) | 0) | 0; + $div15 = (($sub11 | 0) % (HEAP32[$mB >> 2] | 0) | 0 | 0) / (HEAP32[$mA >> 2] | 0) | 0; + HEAP32[$binAngle >> 2] = $div15; + $mul18$neg = Math_imul(HEAP32[$mNumXBins >> 2] | 0, HEAP32[$binY >> 2] | 0) | 0; + $sub22 = $index - (HEAP32[$binX >> 2] | 0) - ((Math_imul(HEAP32[$mA >> 2] | 0, $div15) | 0) + $mul18$neg) | 0; + $div24 = ($sub22 | 0) / (HEAP32[$mB >> 2] | 0) | 0; + HEAP32[$binScale >> 2] = $div24; + $15 = HEAP32[$binX >> 2] | 0; + if (($15 | 0) <= -1) { + $call29 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 37182) | 0, 36683) | 0, 39794) | 0, 190) | 0, 39801) | 0, 37215) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i116, $call29 + (HEAP32[(HEAP32[$call29 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i116, 67360) | 0; + $call$i2$i = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i >> 2] | 0) + 28 >> 2] & 127]($call$i1$i, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i116); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call29, $call$i2$i) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call29) | 0; + _abort(); + } + if (($15 | 0) >= (HEAP32[$mNumXBins >> 2] | 0)) { + $call40 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 37233) | 0, 36683) | 0, 39794) | 0, 191) | 0, 39801) | 0, 37215) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i116, $call40 + (HEAP32[(HEAP32[$call40 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i69 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i116, 67360) | 0; + $call$i2$i72 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i69 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i69, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i116); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call40, $call$i2$i72) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call40) | 0; + _abort(); + } + $19 = HEAP32[$binY >> 2] | 0; + if (($19 | 0) <= -1) { + $call52 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 37273) | 0, 36683) | 0, 39794) | 0, 192) | 0, 39801) | 0, 37306) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i116, $call52 + (HEAP32[(HEAP32[$call52 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i77 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i116, 67360) | 0; + $call$i2$i80 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i77 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i77, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i116); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call52, $call$i2$i80) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call52) | 0; + _abort(); + } + if (($19 | 0) >= (HEAP32[$this + 56 >> 2] | 0)) { + $call64 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 37324) | 0, 36683) | 0, 39794) | 0, 193) | 0, 39801) | 0, 37306) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i116, $call64 + (HEAP32[(HEAP32[$call64 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i85 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i116, 67360) | 0; + $call$i2$i88 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i85 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i85, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i116); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call64, $call$i2$i88) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call64) | 0; + _abort(); + } + $23 = HEAP32[$binAngle >> 2] | 0; + if (($23 | 0) <= -1) { + $call76 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 37364) | 0, 36683) | 0, 39794) | 0, 194) | 0, 39801) | 0, 37401) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i116, $call76 + (HEAP32[(HEAP32[$call76 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i93 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i116, 67360) | 0; + $call$i2$i96 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i93 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i93, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i116); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call76, $call$i2$i96) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call76) | 0; + _abort(); + } + if (($23 | 0) >= (HEAP32[$this + 60 >> 2] | 0)) { + $call88 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 37423) | 0, 36683) | 0, 39794) | 0, 195) | 0, 39801) | 0, 37401) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i116, $call88 + (HEAP32[(HEAP32[$call88 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i101 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i116, 67360) | 0; + $call$i2$i104 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i101 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i101, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i116); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call88, $call$i2$i104) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call88) | 0; + _abort(); + } + if (($div24 | 0) <= -1) { + $call100 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 37471) | 0, 36683) | 0, 39794) | 0, 196) | 0, 39801) | 0, 37508) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i116, $call100 + (HEAP32[(HEAP32[$call100 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i109 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i116, 67360) | 0; + $call$i2$i112 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i109 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i109, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i116); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call100, $call$i2$i112) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call100) | 0; + _abort(); + } + if (($div24 | 0) < (HEAP32[$this + 64 >> 2] | 0)) { + STACKTOP = sp; + return; } else { - $95 = ($$1149 | 0) == 0; - $96 = $95 ? $54 : $97; - $98 = $95 ? $52 : $99; - if (($52 | 0) < 0 | ($52 | 0) == 0 & $54 >>> 0 < 8) { - $$3166185 = $$0163; - $106 = $54; - $107 = $52; - while (1) { - $105 = $$3166185 << 4; - $106$looptemp = $106; - $106 = _i64Add($106 | 0, $107 | 0, 1, 0) | 0; - $107$looptemp = $107; - $107 = getTempRet0() | 0; - if (!(($107$looptemp | 0) < 0 | ($107$looptemp | 0) == 0 & $106$looptemp >>> 0 < 7)) { - $$3166$lcssa = $105; - break; - } else $$3166185 = $105; - } - } else $$3166$lcssa = $$0163; - if (($$3$lcssa | 32 | 0) == 112) { - $117 = _scanexp($0, $4) | 0; - $118 = getTempRet0() | 0; - if (($117 | 0) == 0 & ($118 | 0) == -2147483648) { - if (!$4) { - ___shlim($0, 0, 0); - $$0169 = 0.0; + $call112 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 37530) | 0, 36683) | 0, 39794) | 0, 197) | 0, 39801) | 0, 37508) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i116, $call112 + (HEAP32[(HEAP32[$call112 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i117 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i116, 67360) | 0; + $call$i2$i120 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i117 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i117, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i116); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call112, $call$i2$i120) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call112) | 0; + _abort(); + } +} + +function _jpeg_idct_8x4($cinfo, $compptr, $coef_block, $output_buf, $output_col) { + $cinfo = $cinfo | 0; + $compptr = $compptr | 0; + $coef_block = $coef_block | 0; + $output_buf = $output_buf | 0; + $output_col = $output_col | 0; + var $0 = 0, $1 = 0, $76 = 0, $77 = 0, $78 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $add$ptr = 0, $add$ptr39 = 0, $add17 = 0, $add17$1 = 0, $add17$2 = 0, $add17$3 = 0, $add17$4 = 0, $add17$5 = 0, $add17$6 = 0, $add17$7 = 0, $add41 = 0, $add52 = 0, $add55 = 0, $add57 = 0, $add63 = 0, $add64 = 0, $add69 = 0, $add70 = 0, $add76 = 0, $add78 = 0, $add84 = 0, $add86 = 0, $ctr$1132 = 0, $mul = 0, $mul$1 = 0, $mul$2 = 0, $mul$3 = 0, $mul$4 = 0, $mul$5 = 0, $mul$6 = 0, $mul$7 = 0, $mul10 = 0, $mul10$1 = 0, $mul10$2 = 0, $mul10$3 = 0, $mul10$4 = 0, $mul10$5 = 0, $mul10$6 = 0, $mul10$7 = 0, $mul14 = 0, $mul14$1 = 0, $mul14$2 = 0, $mul14$3 = 0, $mul14$4 = 0, $mul14$5 = 0, $mul14$6 = 0, $mul14$7 = 0, $mul5 = 0, $mul5$1 = 0, $mul5$2 = 0, $mul5$3 = 0, $mul5$4 = 0, $mul5$5 = 0, $mul5$6 = 0, $mul5$7 = 0, $mul50 = 0, $mul66 = 0, $mul72 = 0, $mul80 = 0, $shl = 0, $shl$1 = 0, $shl$2 = 0, $shl$3 = 0, $shl$4 = 0, $shl$5 = 0, $shl$6 = 0, $shl$7 = 0, $shl44 = 0, $shl46 = 0, $shl6 = 0, $shl6$1 = 0, $shl6$2 = 0, $shl6$3 = 0, $shl6$4 = 0, $shl6$5 = 0, $shl6$6 = 0, $shl6$7 = 0, $shr = 0, $shr$1 = 0, $shr$2 = 0, $shr$3 = 0, $shr$4 = 0, $shr$5 = 0, $shr$6 = 0, $shr$7 = 0, $shr22 = 0, $shr22$1 = 0, $shr22$2 = 0, $shr22$3 = 0, $shr22$4 = 0, $shr22$5 = 0, $shr22$6 = 0, $shr22$7 = 0, $sub54 = 0, $sub56 = 0, $sub58 = 0, $workspace = 0, $wsptr$1131 = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 128 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(128); + $workspace = sp; + $0 = HEAP32[$cinfo + 336 >> 2] | 0; + $1 = HEAP32[$compptr + 84 >> 2] | 0; + $mul = Math_imul(HEAP32[$1 >> 2] | 0, HEAP16[$coef_block >> 1] | 0) | 0; + $mul5 = Math_imul(HEAP32[$1 + 64 >> 2] | 0, HEAP16[$coef_block + 32 >> 1] | 0) | 0; + $shl = $mul5 + $mul << 2; + $shl6 = $mul - $mul5 << 2; + $mul10 = Math_imul(HEAP32[$1 + 32 >> 2] | 0, HEAP16[$coef_block + 16 >> 1] | 0) | 0; + $mul14 = Math_imul(HEAP32[$1 + 96 >> 2] | 0, HEAP16[$coef_block + 48 >> 1] | 0) | 0; + $add17 = (($mul14 + $mul10 | 0) * 4433 | 0) + 1024 | 0; + $shr = $add17 + ($mul10 * 6270 | 0) >> 11; + $shr22 = $add17 + (Math_imul($mul14, -15137) | 0) >> 11; + HEAP32[$workspace >> 2] = $shr + $shl; + HEAP32[$workspace + 96 >> 2] = $shl - $shr; + HEAP32[$workspace + 32 >> 2] = $shr22 + $shl6; + HEAP32[$workspace + 64 >> 2] = $shl6 - $shr22; + $mul$1 = Math_imul(HEAP32[$1 + 4 >> 2] | 0, HEAP16[$coef_block + 2 >> 1] | 0) | 0; + $mul5$1 = Math_imul(HEAP32[$1 + 68 >> 2] | 0, HEAP16[$coef_block + 34 >> 1] | 0) | 0; + $shl$1 = $mul5$1 + $mul$1 << 2; + $shl6$1 = $mul$1 - $mul5$1 << 2; + $mul10$1 = Math_imul(HEAP32[$1 + 36 >> 2] | 0, HEAP16[$coef_block + 18 >> 1] | 0) | 0; + $mul14$1 = Math_imul(HEAP32[$1 + 100 >> 2] | 0, HEAP16[$coef_block + 50 >> 1] | 0) | 0; + $add17$1 = (($mul14$1 + $mul10$1 | 0) * 4433 | 0) + 1024 | 0; + $shr$1 = $add17$1 + ($mul10$1 * 6270 | 0) >> 11; + $shr22$1 = $add17$1 + (Math_imul($mul14$1, -15137) | 0) >> 11; + HEAP32[$workspace + 4 >> 2] = $shr$1 + $shl$1; + HEAP32[$workspace + 100 >> 2] = $shl$1 - $shr$1; + HEAP32[$workspace + 36 >> 2] = $shr22$1 + $shl6$1; + HEAP32[$workspace + 68 >> 2] = $shl6$1 - $shr22$1; + $mul$2 = Math_imul(HEAP32[$1 + 8 >> 2] | 0, HEAP16[$coef_block + 4 >> 1] | 0) | 0; + $mul5$2 = Math_imul(HEAP32[$1 + 72 >> 2] | 0, HEAP16[$coef_block + 36 >> 1] | 0) | 0; + $shl$2 = $mul5$2 + $mul$2 << 2; + $shl6$2 = $mul$2 - $mul5$2 << 2; + $mul10$2 = Math_imul(HEAP32[$1 + 40 >> 2] | 0, HEAP16[$coef_block + 20 >> 1] | 0) | 0; + $mul14$2 = Math_imul(HEAP32[$1 + 104 >> 2] | 0, HEAP16[$coef_block + 52 >> 1] | 0) | 0; + $add17$2 = (($mul14$2 + $mul10$2 | 0) * 4433 | 0) + 1024 | 0; + $shr$2 = $add17$2 + ($mul10$2 * 6270 | 0) >> 11; + $shr22$2 = $add17$2 + (Math_imul($mul14$2, -15137) | 0) >> 11; + HEAP32[$workspace + 8 >> 2] = $shr$2 + $shl$2; + HEAP32[$workspace + 104 >> 2] = $shl$2 - $shr$2; + HEAP32[$workspace + 40 >> 2] = $shr22$2 + $shl6$2; + HEAP32[$workspace + 72 >> 2] = $shl6$2 - $shr22$2; + $mul$3 = Math_imul(HEAP32[$1 + 12 >> 2] | 0, HEAP16[$coef_block + 6 >> 1] | 0) | 0; + $mul5$3 = Math_imul(HEAP32[$1 + 76 >> 2] | 0, HEAP16[$coef_block + 38 >> 1] | 0) | 0; + $shl$3 = $mul5$3 + $mul$3 << 2; + $shl6$3 = $mul$3 - $mul5$3 << 2; + $mul10$3 = Math_imul(HEAP32[$1 + 44 >> 2] | 0, HEAP16[$coef_block + 22 >> 1] | 0) | 0; + $mul14$3 = Math_imul(HEAP32[$1 + 108 >> 2] | 0, HEAP16[$coef_block + 54 >> 1] | 0) | 0; + $add17$3 = (($mul14$3 + $mul10$3 | 0) * 4433 | 0) + 1024 | 0; + $shr$3 = $add17$3 + ($mul10$3 * 6270 | 0) >> 11; + $shr22$3 = $add17$3 + (Math_imul($mul14$3, -15137) | 0) >> 11; + HEAP32[$workspace + 12 >> 2] = $shr$3 + $shl$3; + HEAP32[$workspace + 108 >> 2] = $shl$3 - $shr$3; + HEAP32[$workspace + 44 >> 2] = $shr22$3 + $shl6$3; + HEAP32[$workspace + 76 >> 2] = $shl6$3 - $shr22$3; + $mul$4 = Math_imul(HEAP32[$1 + 16 >> 2] | 0, HEAP16[$coef_block + 8 >> 1] | 0) | 0; + $mul5$4 = Math_imul(HEAP32[$1 + 80 >> 2] | 0, HEAP16[$coef_block + 40 >> 1] | 0) | 0; + $shl$4 = $mul5$4 + $mul$4 << 2; + $shl6$4 = $mul$4 - $mul5$4 << 2; + $mul10$4 = Math_imul(HEAP32[$1 + 48 >> 2] | 0, HEAP16[$coef_block + 24 >> 1] | 0) | 0; + $mul14$4 = Math_imul(HEAP32[$1 + 112 >> 2] | 0, HEAP16[$coef_block + 56 >> 1] | 0) | 0; + $add17$4 = (($mul14$4 + $mul10$4 | 0) * 4433 | 0) + 1024 | 0; + $shr$4 = $add17$4 + ($mul10$4 * 6270 | 0) >> 11; + $shr22$4 = $add17$4 + (Math_imul($mul14$4, -15137) | 0) >> 11; + HEAP32[$workspace + 16 >> 2] = $shr$4 + $shl$4; + HEAP32[$workspace + 112 >> 2] = $shl$4 - $shr$4; + HEAP32[$workspace + 48 >> 2] = $shr22$4 + $shl6$4; + HEAP32[$workspace + 80 >> 2] = $shl6$4 - $shr22$4; + $mul$5 = Math_imul(HEAP32[$1 + 20 >> 2] | 0, HEAP16[$coef_block + 10 >> 1] | 0) | 0; + $mul5$5 = Math_imul(HEAP32[$1 + 84 >> 2] | 0, HEAP16[$coef_block + 42 >> 1] | 0) | 0; + $shl$5 = $mul5$5 + $mul$5 << 2; + $shl6$5 = $mul$5 - $mul5$5 << 2; + $mul10$5 = Math_imul(HEAP32[$1 + 52 >> 2] | 0, HEAP16[$coef_block + 26 >> 1] | 0) | 0; + $mul14$5 = Math_imul(HEAP32[$1 + 116 >> 2] | 0, HEAP16[$coef_block + 58 >> 1] | 0) | 0; + $add17$5 = (($mul14$5 + $mul10$5 | 0) * 4433 | 0) + 1024 | 0; + $shr$5 = $add17$5 + ($mul10$5 * 6270 | 0) >> 11; + $shr22$5 = $add17$5 + (Math_imul($mul14$5, -15137) | 0) >> 11; + HEAP32[$workspace + 20 >> 2] = $shr$5 + $shl$5; + HEAP32[$workspace + 116 >> 2] = $shl$5 - $shr$5; + HEAP32[$workspace + 52 >> 2] = $shr22$5 + $shl6$5; + HEAP32[$workspace + 84 >> 2] = $shl6$5 - $shr22$5; + $mul$6 = Math_imul(HEAP32[$1 + 24 >> 2] | 0, HEAP16[$coef_block + 12 >> 1] | 0) | 0; + $mul5$6 = Math_imul(HEAP32[$1 + 88 >> 2] | 0, HEAP16[$coef_block + 44 >> 1] | 0) | 0; + $shl$6 = $mul5$6 + $mul$6 << 2; + $shl6$6 = $mul$6 - $mul5$6 << 2; + $mul10$6 = Math_imul(HEAP32[$1 + 56 >> 2] | 0, HEAP16[$coef_block + 28 >> 1] | 0) | 0; + $mul14$6 = Math_imul(HEAP32[$1 + 120 >> 2] | 0, HEAP16[$coef_block + 60 >> 1] | 0) | 0; + $add17$6 = (($mul14$6 + $mul10$6 | 0) * 4433 | 0) + 1024 | 0; + $shr$6 = $add17$6 + ($mul10$6 * 6270 | 0) >> 11; + $shr22$6 = $add17$6 + (Math_imul($mul14$6, -15137) | 0) >> 11; + HEAP32[$workspace + 24 >> 2] = $shr$6 + $shl$6; + HEAP32[$workspace + 120 >> 2] = $shl$6 - $shr$6; + HEAP32[$workspace + 56 >> 2] = $shr22$6 + $shl6$6; + HEAP32[$workspace + 88 >> 2] = $shl6$6 - $shr22$6; + $mul$7 = Math_imul(HEAP32[$1 + 28 >> 2] | 0, HEAP16[$coef_block + 14 >> 1] | 0) | 0; + $mul5$7 = Math_imul(HEAP32[$1 + 92 >> 2] | 0, HEAP16[$coef_block + 46 >> 1] | 0) | 0; + $shl$7 = $mul5$7 + $mul$7 << 2; + $shl6$7 = $mul$7 - $mul5$7 << 2; + $mul10$7 = Math_imul(HEAP32[$1 + 60 >> 2] | 0, HEAP16[$coef_block + 30 >> 1] | 0) | 0; + $mul14$7 = Math_imul(HEAP32[$1 + 124 >> 2] | 0, HEAP16[$coef_block + 62 >> 1] | 0) | 0; + $add17$7 = (($mul14$7 + $mul10$7 | 0) * 4433 | 0) + 1024 | 0; + $shr$7 = $add17$7 + ($mul10$7 * 6270 | 0) >> 11; + $shr22$7 = $add17$7 + (Math_imul($mul14$7, -15137) | 0) >> 11; + HEAP32[$workspace + 28 >> 2] = $shr$7 + $shl$7; + HEAP32[$workspace + 124 >> 2] = $shl$7 - $shr$7; + HEAP32[$workspace + 60 >> 2] = $shr22$7 + $shl6$7; + HEAP32[$workspace + 92 >> 2] = $shl6$7 - $shr22$7; + $add$ptr = $0 + -384 | 0; + $ctr$1132 = 0; + $wsptr$1131 = $workspace; + while (1) { + $add$ptr39 = (HEAP32[$output_buf + ($ctr$1132 << 2) >> 2] | 0) + $output_col | 0; + $add41 = (HEAP32[$wsptr$1131 >> 2] | 0) + 16400 | 0; + $76 = HEAP32[$wsptr$1131 + 16 >> 2] | 0; + $shl44 = $add41 + $76 << 13; + $shl46 = $add41 - $76 << 13; + $77 = HEAP32[$wsptr$1131 + 8 >> 2] | 0; + $78 = HEAP32[$wsptr$1131 + 24 >> 2] | 0; + $mul50 = ($78 + $77 | 0) * 4433 | 0; + $add52 = $mul50 + ($77 * 6270 | 0) | 0; + $sub54 = $mul50 + (Math_imul($78, -15137) | 0) | 0; + $add55 = $add52 + $shl44 | 0; + $sub56 = $shl44 - $add52 | 0; + $add57 = $sub54 + $shl46 | 0; + $sub58 = $shl46 - $sub54 | 0; + $80 = HEAP32[$wsptr$1131 + 28 >> 2] | 0; + $81 = HEAP32[$wsptr$1131 + 20 >> 2] | 0; + $82 = HEAP32[$wsptr$1131 + 12 >> 2] | 0; + $83 = HEAP32[$wsptr$1131 + 4 >> 2] | 0; + $add63 = $82 + $80 | 0; + $add64 = $83 + $81 | 0; + $mul66 = ($add64 + $add63 | 0) * 9633 | 0; + $add69 = $mul66 + (Math_imul($add63, -16069) | 0) | 0; + $add70 = $mul66 + (Math_imul($add64, -3196) | 0) | 0; + $mul72 = Math_imul($83 + $80 | 0, -7373) | 0; + $add76 = $mul72 + ($80 * 2446 | 0) + $add69 | 0; + $add78 = $mul72 + ($83 * 12299 | 0) + $add70 | 0; + $mul80 = Math_imul($82 + $81 | 0, -20995) | 0; + $add84 = $mul80 + ($81 * 16819 | 0) + $add70 | 0; + $add86 = $mul80 + ($82 * 25172 | 0) + $add69 | 0; + HEAP8[$add$ptr39 >> 0] = HEAP8[$add$ptr + (($add78 + $add55 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr39 + 7 >> 0] = HEAP8[$add$ptr + (($add55 - $add78 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr39 + 1 >> 0] = HEAP8[$add$ptr + (($add86 + $add57 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr39 + 6 >> 0] = HEAP8[$add$ptr + (($add57 - $add86 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr39 + 2 >> 0] = HEAP8[$add$ptr + (($add84 + $sub58 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr39 + 5 >> 0] = HEAP8[$add$ptr + (($sub58 - $add84 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr39 + 3 >> 0] = HEAP8[$add$ptr + (($add76 + $sub56 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr39 + 4 >> 0] = HEAP8[$add$ptr + (($sub56 - $add76 | 0) >>> 18 & 1023) >> 0] | 0; + $ctr$1132 = $ctr$1132 + 1 | 0; + if (($ctr$1132 | 0) == 4) break; else $wsptr$1131 = $wsptr$1131 + 32 | 0; + } + STACKTOP = sp; + return; +} + +function _check_rotation($rot) { + $rot = $rot | 0; + var $$1 = 0.0, $$2 = 0.0, $$5 = 0.0, $$6 = 0.0, $$pre = 0.0, $$pre11 = 0.0, $$pre12 = 0.0, $$pre9 = 0.0, $0 = 0.0, $1 = 0.0, $10 = 0.0, $2 = 0.0, $3 = 0.0, $4 = 0.0, $5 = 0.0, $6 = 0.0, $9 = 0.0, $add174 = 0.0, $add177 = 0.0, $add192 = 0.0, $add194 = 0.0, $add199 = 0.0, $add201 = 0.0, $add326 = 0.0, $add329 = 0.0, $add344 = 0.0, $add346 = 0.0, $add351 = 0.0, $add353 = 0.0, $add381 = 0.0, $add390 = 0.0, $add399 = 0.0, $add408 = 0.0, $add65 = 0.0, $arrayidx10 = 0, $arrayidx13 = 0, $arrayidx16 = 0, $arrayidx4 = 0, $arrayidx7 = 0, $cb$0 = 0.0, $cmp242 = 0, $cmp90 = 0, $div = 0.0, $div$div54 = 0.0, $div135 = 0.0, $div145 = 0.0, $div160 = 0.0, $div170 = 0.0, $div190 = 0.0, $div197 = 0.0, $div287 = 0.0, $div297 = 0.0, $div312 = 0.0, $div322 = 0.0, $div342 = 0.0, $div349 = 0.0, $div52 = 0.0, $div54 = 0.0, $div54$div52 = 0.0, $e1$0 = 0.0, $e2$0 = 0.0, $e3$0 = 0.0, $e4$0 = 0.0, $mul113$pre$phiZ2D = 0.0, $mul116$pre$phiZ2D = 0.0, $mul227 = 0.0, $mul230 = 0.0, $mul265$pre$phiZ2D = 0.0, $mul268$pre$phiZ2D = 0.0, $mul73 = 0.0, $mul76 = 0.0, $mul79 = 0.0, $p1$0 = 0.0, $p2$0 = 0.0, $p3$0 = 0.0, $p4$0 = 0.0, $q1$0 = 0.0, $q2$0 = 0.0, $q3$0 = 0.0, $q4$0 = 0.0, $r1$0 = 0.0, $r2$0 = 0.0, $r3$0 = 0.0, $r4$0 = 0.0, $rotFlag$0 = 0, $rotFlag$1 = 0, $sub = 0.0, $sub117$pre$phiZ2D = 0.0, $sub159 = 0.0, $sub184 = 0.0, $sub231 = 0.0, $sub269$pre$phiZ2D = 0.0, $sub30 = 0.0, $sub311 = 0.0, $sub336 = 0.0, $sub38 = 0.0, $sub80 = 0.0, $v1$sroa$0$0 = 0.0, $v1$sroa$18$0 = 0.0, $v1$sroa$33$0 = 0.0, $v2$sroa$0$0 = 0.0, $v2$sroa$18$0 = 0.0, $v2$sroa$33$0 = 0.0, $v3$sroa$0$0 = 0.0, $v3$sroa$0$1 = 0.0, $v3$sroa$0$1$v3$sroa$62$1 = 0.0, $v3$sroa$0$2 = 0.0, $v3$sroa$33$0 = 0.0, $v3$sroa$33$1 = 0.0, $v3$sroa$33$2 = 0.0, $v3$sroa$62$0 = 0.0, $v3$sroa$62$1 = 0.0, $v3$sroa$62$1$v3$sroa$33$1 = 0.0, $v3$sroa$62$2 = 0.0; + $0 = +HEAPF64[$rot >> 3]; + $arrayidx4 = $rot + 8 | 0; + $1 = +HEAPF64[$arrayidx4 >> 3]; + $arrayidx7 = $rot + 16 | 0; + $2 = +HEAPF64[$arrayidx7 >> 3]; + $arrayidx10 = $rot + 24 | 0; + $3 = +HEAPF64[$arrayidx10 >> 3]; + $arrayidx13 = $rot + 32 | 0; + $4 = +HEAPF64[$arrayidx13 >> 3]; + $arrayidx16 = $rot + 40 | 0; + $5 = +HEAPF64[$arrayidx16 >> 3]; + $sub = $1 * $5 - $2 * $4; + $sub30 = $2 * $3 - $0 * $5; + $sub38 = $0 * $4 - $1 * $3; + $6 = +Math_sqrt(+($sub38 * $sub38 + ($sub * $sub + $sub30 * $sub30))); + do if (!($6 == 0.0)) { + $div = $sub / $6; + $div52 = $sub30 / $6; + $div54 = $sub38 / $6; + $add65 = $0 * $3 + $1 * $4 + $2 * $5; + $cb$0 = $add65 < 0.0 ? -$add65 : $add65; + $mul73 = (+Math_sqrt(+($cb$0 + 1.0)) + +Math_sqrt(+(1.0 - $cb$0))) * .5; + $mul76 = $0 * $div52; + $mul79 = $1 * $div; + $sub80 = $mul76 - $mul79; + if ($sub80 != 0.0) { + $mul113$pre$phiZ2D = $mul76; + $mul116$pre$phiZ2D = $mul79; + $rotFlag$0 = 0; + $sub117$pre$phiZ2D = $sub80; + $v1$sroa$0$0 = $0; + $v1$sroa$18$0 = $1; + $v1$sroa$33$0 = $2; + $v3$sroa$0$0 = $div; + $v3$sroa$33$0 = $div52; + $v3$sroa$62$0 = $div54; + } else { + $cmp90 = $0 * $div54 - $2 * $div != 0.0; + $$1 = $cmp90 ? $2 : $1; + $$2 = $cmp90 ? $0 : $2; + $div54$div52 = $cmp90 ? $div54 : $div52; + $div$div54 = $cmp90 ? $div : $div54; + $$pre = $$2 * $div54$div52; + $$pre9 = $$1 * $div$div54; + $mul113$pre$phiZ2D = $$pre; + $mul116$pre$phiZ2D = $$pre9; + $rotFlag$0 = $cmp90 ? 1 : 2; + $sub117$pre$phiZ2D = $$pre - $$pre9; + $v1$sroa$0$0 = $$2; + $v1$sroa$18$0 = $$1; + $v1$sroa$33$0 = $cmp90 ? $1 : $0; + $v3$sroa$0$0 = $div$div54; + $v3$sroa$33$0 = $div54$div52; + $v3$sroa$62$0 = $cmp90 ? $div52 : $div; + } + if (!($sub117$pre$phiZ2D == 0.0) ? ($div135 = ($v1$sroa$18$0 * $v3$sroa$62$0 - $v1$sroa$33$0 * $v3$sroa$33$0) / $sub117$pre$phiZ2D, $div145 = $mul73 * $v3$sroa$33$0 / $sub117$pre$phiZ2D, $sub159 = $mul116$pre$phiZ2D - $mul113$pre$phiZ2D, $div160 = ($v1$sroa$0$0 * $v3$sroa$62$0 - $v1$sroa$33$0 * $v3$sroa$0$0) / $sub159, $div170 = $mul73 * $v3$sroa$0$0 / $sub159, $add174 = $div135 * $div135 + $div160 * $div160 + 1.0, $add177 = $div135 * $div145 + $div160 * $div170, $sub184 = $add177 * $add177 - $add174 * ($div145 * $div145 + $div170 * $div170 + -1.0), !($sub184 < 0.0)) : 0) { + $9 = +Math_sqrt(+$sub184); + $div190 = ($9 - $add177) / $add174; + $add192 = $div145 + $div135 * $div190; + $add194 = $div170 + $div160 * $div190; + $div197 = (-$add177 - $9) / $add174; + $add199 = $div145 + $div135 * $div197; + $add201 = $div170 + $div160 * $div197; + switch ($rotFlag$0 & 3) { + case 1: + { + $p1$0 = $add192; + $p2$0 = $add199; + $q1$0 = $div190; + $q2$0 = $div197; + $r1$0 = $add194; + $r2$0 = $add201; + $v3$sroa$0$1 = $v3$sroa$0$0; + $v3$sroa$33$1 = $v3$sroa$62$0; + $v3$sroa$62$1 = $v3$sroa$33$0; break; } - if (!(HEAP32[$7 >> 2] | 0)) { - $135 = 0; - $136 = 0; - } else { - HEAP32[$5 >> 2] = (HEAP32[$5 >> 2] | 0) + -1; - $135 = 0; - $136 = 0; + case 2: + { + $p1$0 = $div190; + $p2$0 = $div197; + $q1$0 = $add194; + $q2$0 = $add201; + $r1$0 = $add192; + $r2$0 = $add199; + $v3$sroa$0$1 = $v3$sroa$62$0; + $v3$sroa$33$1 = $v3$sroa$33$0; + $v3$sroa$62$1 = $v3$sroa$0$0; + break; } + default: + { + $p1$0 = $add192; + $p2$0 = $add199; + $q1$0 = $add194; + $q2$0 = $add201; + $r1$0 = $div190; + $r2$0 = $div197; + $v3$sroa$0$1 = $v3$sroa$0$0; + $v3$sroa$33$1 = $v3$sroa$33$0; + $v3$sroa$62$1 = $v3$sroa$62$0; + } + } + $mul227 = $3 * $v3$sroa$33$1; + $mul230 = $4 * $v3$sroa$0$1; + $sub231 = $mul227 - $mul230; + if ($sub231 != 0.0) { + $mul265$pre$phiZ2D = $mul227; + $mul268$pre$phiZ2D = $mul230; + $rotFlag$1 = 0; + $sub269$pre$phiZ2D = $sub231; + $v2$sroa$0$0 = $3; + $v2$sroa$18$0 = $4; + $v2$sroa$33$0 = $5; + $v3$sroa$0$2 = $v3$sroa$0$1; + $v3$sroa$33$2 = $v3$sroa$33$1; + $v3$sroa$62$2 = $v3$sroa$62$1; } else { - $135 = $117; - $136 = $118; - } - } else if (!(HEAP32[$7 >> 2] | 0)) { - $135 = 0; - $136 = 0; - } else { - HEAP32[$5 >> 2] = (HEAP32[$5 >> 2] | 0) + -1; - $135 = 0; - $136 = 0; - } - $131 = _bitshift64Shl($96 | 0, $98 | 0, 2) | 0; - $133 = _i64Add($131 | 0, getTempRet0() | 0, -32, -1) | 0; - $137 = _i64Add($133 | 0, getTempRet0() | 0, $135 | 0, $136 | 0) | 0; - $138 = getTempRet0() | 0; - if (!$$3166$lcssa) { - $$0169 = +($3 | 0) * 0.0; - break; - } - $142 = 0 - $2 | 0; - $144 = (($142 | 0) < 0) << 31 >> 31; - if (($138 | 0) > ($144 | 0) | ($138 | 0) == ($144 | 0) & $137 >>> 0 > $142 >>> 0) { - $150 = ___errno_location() | 0; - HEAP32[$150 >> 2] = 68; - $$0169 = +($3 | 0) * 1797693134862315708145274.0e284 * 1797693134862315708145274.0e284; - break; - } - $154 = $2 + -106 | 0; - $156 = (($154 | 0) < 0) << 31 >> 31; - if (($138 | 0) < ($156 | 0) | ($138 | 0) == ($156 | 0) & $137 >>> 0 < $154 >>> 0) { - $162 = ___errno_location() | 0; - HEAP32[$162 >> 2] = 68; - $$0169 = +($3 | 0) * 2.2250738585072014e-308 * 2.2250738585072014e-308; - break; - } - if (($$3166$lcssa | 0) > -1) { - $$3161181 = $$0158; - $$4167180 = $$3166$lcssa; - $171 = $137; - $172 = $138; - while (1) { - $167 = !($$3161181 >= .5); - $$5168 = $$4167180 << 1 | ($167 ^ 1) & 1; - $$4162 = $$3161181 + ($167 ? $$3161181 : $$3161181 + -1.0); - $173 = _i64Add($171 | 0, $172 | 0, -1, -1) | 0; - $174 = getTempRet0() | 0; - if (($$5168 | 0) > -1) { - $$3161181 = $$4162; - $$4167180 = $$5168; - $171 = $173; - $172 = $174; + $cmp242 = $3 * $v3$sroa$62$1 - $5 * $v3$sroa$0$1 != 0.0; + $$5 = $cmp242 ? $5 : $4; + $$6 = $cmp242 ? $3 : $5; + $v3$sroa$62$1$v3$sroa$33$1 = $cmp242 ? $v3$sroa$62$1 : $v3$sroa$33$1; + $v3$sroa$0$1$v3$sroa$62$1 = $cmp242 ? $v3$sroa$0$1 : $v3$sroa$62$1; + $$pre11 = $$6 * $v3$sroa$62$1$v3$sroa$33$1; + $$pre12 = $$5 * $v3$sroa$0$1$v3$sroa$62$1; + $mul265$pre$phiZ2D = $$pre11; + $mul268$pre$phiZ2D = $$pre12; + $rotFlag$1 = $cmp242 ? 1 : 2; + $sub269$pre$phiZ2D = $$pre11 - $$pre12; + $v2$sroa$0$0 = $$6; + $v2$sroa$18$0 = $$5; + $v2$sroa$33$0 = $cmp242 ? $4 : $3; + $v3$sroa$0$2 = $v3$sroa$0$1$v3$sroa$62$1; + $v3$sroa$33$2 = $v3$sroa$62$1$v3$sroa$33$1; + $v3$sroa$62$2 = $cmp242 ? $v3$sroa$33$1 : $v3$sroa$0$1; + } + if (!($sub269$pre$phiZ2D == 0.0) ? ($div287 = ($v2$sroa$18$0 * $v3$sroa$62$2 - $v2$sroa$33$0 * $v3$sroa$33$2) / $sub269$pre$phiZ2D, $div297 = $mul73 * $v3$sroa$33$2 / $sub269$pre$phiZ2D, $sub311 = $mul268$pre$phiZ2D - $mul265$pre$phiZ2D, $div312 = ($v2$sroa$0$0 * $v3$sroa$62$2 - $v2$sroa$33$0 * $v3$sroa$0$2) / $sub311, $div322 = $mul73 * $v3$sroa$0$2 / $sub311, $add326 = $div287 * $div287 + $div312 * $div312 + 1.0, $add329 = $div287 * $div297 + $div312 * $div322, $sub336 = $add329 * $add329 - $add326 * ($div297 * $div297 + $div322 * $div322 + -1.0), !($sub336 < 0.0)) : 0) { + $10 = +Math_sqrt(+$sub336); + $div342 = ($10 - $add329) / $add326; + $add344 = $div297 + $div287 * $div342; + $add346 = $div322 + $div312 * $div342; + $div349 = (-$add329 - $10) / $add326; + $add351 = $div297 + $div287 * $div349; + $add353 = $div322 + $div312 * $div349; + switch ($rotFlag$1 & 3) { + case 1: + { + $p3$0 = $add344; + $p4$0 = $add351; + $q3$0 = $div342; + $q4$0 = $div349; + $r3$0 = $add346; + $r4$0 = $add353; + break; + } + case 2: + { + $p3$0 = $div342; + $p4$0 = $div349; + $q3$0 = $add346; + $q4$0 = $add353; + $r3$0 = $add344; + $r4$0 = $add351; + break; + } + default: + { + $p3$0 = $add344; + $p4$0 = $add351; + $q3$0 = $add346; + $q4$0 = $add353; + $r3$0 = $div342; + $r4$0 = $div349; + } + } + $add381 = $p1$0 * $p3$0 + $q1$0 * $q3$0 + $r1$0 * $r3$0; + $e1$0 = $add381 < 0.0 ? -$add381 : $add381; + $add390 = $p1$0 * $p4$0 + $q1$0 * $q4$0 + $r1$0 * $r4$0; + $e2$0 = $add390 < 0.0 ? -$add390 : $add390; + $add399 = $p2$0 * $p3$0 + $q2$0 * $q3$0 + $r2$0 * $r3$0; + $e3$0 = $add399 < 0.0 ? -$add399 : $add399; + $add408 = $p2$0 * $p4$0 + $q2$0 * $q4$0 + $r2$0 * $r4$0; + $e4$0 = $add408 < 0.0 ? -$add408 : $add408; + if ($e1$0 < $e2$0) if ($e1$0 < $e3$0) if ($e1$0 < $e4$0) { + HEAPF64[$rot >> 3] = $p1$0; + HEAPF64[$arrayidx4 >> 3] = $q1$0; + HEAPF64[$arrayidx7 >> 3] = $r1$0; + HEAPF64[$arrayidx10 >> 3] = $p3$0; + HEAPF64[$arrayidx13 >> 3] = $q3$0; + HEAPF64[$arrayidx16 >> 3] = $r3$0; + break; + } else { + HEAPF64[$rot >> 3] = $p2$0; + HEAPF64[$arrayidx4 >> 3] = $q2$0; + HEAPF64[$arrayidx7 >> 3] = $r2$0; + HEAPF64[$arrayidx10 >> 3] = $p4$0; + HEAPF64[$arrayidx13 >> 3] = $q4$0; + HEAPF64[$arrayidx16 >> 3] = $r4$0; + break; + } else { + HEAPF64[$rot >> 3] = $p2$0; + HEAPF64[$arrayidx4 >> 3] = $q2$0; + HEAPF64[$arrayidx7 >> 3] = $r2$0; + if ($e3$0 < $e4$0) { + HEAPF64[$arrayidx10 >> 3] = $p3$0; + HEAPF64[$arrayidx13 >> 3] = $q3$0; + HEAPF64[$arrayidx16 >> 3] = $r3$0; + break; + } else { + HEAPF64[$arrayidx10 >> 3] = $p4$0; + HEAPF64[$arrayidx13 >> 3] = $q4$0; + HEAPF64[$arrayidx16 >> 3] = $r4$0; + break; + } + } else if ($e2$0 < $e3$0) if ($e2$0 < $e4$0) { + HEAPF64[$rot >> 3] = $p1$0; + HEAPF64[$arrayidx4 >> 3] = $q1$0; + HEAPF64[$arrayidx7 >> 3] = $r1$0; + HEAPF64[$arrayidx10 >> 3] = $p4$0; + HEAPF64[$arrayidx13 >> 3] = $q4$0; + HEAPF64[$arrayidx16 >> 3] = $r4$0; + break; } else { - $$3161$lcssa = $$4162; - $$4167$lcssa = $$5168; - $182 = $173; - $183 = $174; + HEAPF64[$rot >> 3] = $p2$0; + HEAPF64[$arrayidx4 >> 3] = $q2$0; + HEAPF64[$arrayidx7 >> 3] = $r2$0; + HEAPF64[$arrayidx10 >> 3] = $p4$0; + HEAPF64[$arrayidx13 >> 3] = $q4$0; + HEAPF64[$arrayidx16 >> 3] = $r4$0; break; + } else { + HEAPF64[$rot >> 3] = $p2$0; + HEAPF64[$arrayidx4 >> 3] = $q2$0; + HEAPF64[$arrayidx7 >> 3] = $r2$0; + if ($e3$0 < $e4$0) { + HEAPF64[$arrayidx10 >> 3] = $p3$0; + HEAPF64[$arrayidx13 >> 3] = $q3$0; + HEAPF64[$arrayidx16 >> 3] = $r3$0; + break; + } else { + HEAPF64[$arrayidx10 >> 3] = $p4$0; + HEAPF64[$arrayidx13 >> 3] = $q4$0; + HEAPF64[$arrayidx16 >> 3] = $r4$0; + break; + } } } - } else { - $$3161$lcssa = $$0158; - $$4167$lcssa = $$3166$lcssa; - $182 = $137; - $183 = $138; - } - $177 = (($1 | 0) < 0) << 31 >> 31; - $180 = _i64Subtract(32, 0, $2 | 0, (($2 | 0) < 0) << 31 >> 31 | 0) | 0; - $184 = _i64Add($180 | 0, getTempRet0() | 0, $182 | 0, $183 | 0) | 0; - $185 = getTempRet0() | 0; - if (($185 | 0) < ($177 | 0) | ($185 | 0) == ($177 | 0) & $184 >>> 0 < $1 >>> 0) if (($184 | 0) > 0) { - $$0170 = $184; - label = 65; - } else { - $$0170174 = 0; - $195 = 84; - label = 67; - } else { - $$0170 = $1; - label = 65; } - if ((label | 0) == 65) if (($$0170 | 0) < 53) { - $$0170174 = $$0170; - $195 = 84 - $$0170 | 0; - label = 67; - } else { - $$0154 = 0.0; - $$0170173 = $$0170; - $$pre$phi204Z2D = +($3 | 0); - } - if ((label | 0) == 67) { - $194 = +($3 | 0); - $$0154 = +_copysignl(+_scalbn(1.0, $195), $194); - $$0170173 = $$0170174; - $$pre$phi204Z2D = $194; - } - $or$cond172 = ($$4167$lcssa & 1 | 0) == 0 & ($$3161$lcssa != 0.0 & ($$0170173 | 0) < 32); - $208 = ($or$cond172 ? 0.0 : $$3161$lcssa) * $$pre$phi204Z2D + ($$0154 + $$pre$phi204Z2D * +(($$4167$lcssa + ($or$cond172 & 1) | 0) >>> 0)) - $$0154; - if (!($208 != 0.0)) { - $210 = ___errno_location() | 0; - HEAP32[$210 >> 2] = 68; - } - $$0169 = +_scalbnl($208, $182); } while (0); - return +$$0169; + return; } -function __ZN6vision38ComputeSubpixelHessianCoarseOctavePairEPfS0_RKNS_5ImageES3_S3_ii($0, $1, $2, $3, $4, $5, $6) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - $6 = $6 | 0; - var $10 = 0, $101 = 0, $106 = 0, $11 = 0, $110 = 0, $112 = 0, $12 = 0, $120 = 0, $125 = 0, $129 = 0, $13 = 0, $131 = 0, $133 = 0, $135 = 0, $137 = 0, $14 = 0, $142 = 0.0, $143 = 0.0, $149 = 0.0, $153 = 0.0, $156 = 0.0, $160 = 0.0, $165 = 0.0, $169 = 0.0, $171 = 0.0, $175 = 0.0, $179 = 0.0, $181 = 0, $24 = 0, $29 = 0, $33 = 0, $34 = 0, $36 = 0, $44 = 0, $49 = 0, $53 = 0, $55 = 0, $63 = 0, $68 = 0, $7 = 0, $72 = 0, $74 = 0, $8 = 0, $82 = 0, $87 = 0, $9 = 0, $91 = 0, $93 = 0, sp = 0; +function __ZN6vision38ComputeSubpixelHessianCoarseOctavePairEPfS0_RKNS_5ImageES3_S3_ii($H, $b, $lap0, $lap1, $lap2, $x, $y) { + $H = $H | 0; + $b = $b | 0; + $lap0 = $lap0 | 0; + $lap1 = $lap1 | 0; + $lap2 = $lap2 | 0; + $x = $x | 0; + $y = $y | 0; + var $23 = 0, $8 = 0.0, $Dx = 0, $Dxx = 0, $Dxy = 0, $Dy = 0, $Dyy = 0, $add107 = 0.0, $add111 = 0.0, $add121 = 0.0, $add13 = 0, $arrayidx = 0, $arrayidx93 = 0, $arrayidx95 = 0, $arrayidx98 = 0, $call$i1$i$i = 0, $call$i1$i$i104 = 0, $call$i1$i$i118 = 0, $call$i1$i$i62 = 0, $call$i1$i$i76 = 0, $call$i1$i$i90 = 0, $call$i2$i$i = 0, $call$i2$i$i107 = 0, $call$i2$i$i121 = 0, $call$i2$i$i65 = 0, $call$i2$i$i79 = 0, $call$i2$i$i93 = 0, $call100 = 0.0, $call109 = 0.0, $call113 = 0.0, $call119 = 0.0, $call123 = 0.0, $call22 = 0, $call37 = 0, $call53 = 0, $call69 = 0, $call7 = 0, $call85 = 0, $mul117 = 0.0, $mul127 = 0.0, $ref$tmp$i$i113 = 0, $shr = 0, $shr44 = 0, $shr60 = 0, $shr76 = 0, $sub10 = 0, $x_mul_2 = 0, $y_mul_2 = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 32 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $7 = sp + 28 | 0; - $8 = sp + 24 | 0; - $9 = sp + 20 | 0; - $10 = sp + 16 | 0; - $11 = sp + 12 | 0; - $12 = sp + 8 | 0; - $13 = sp + 4 | 0; - $14 = sp; - if (($5 | 0) > 0 ? ($5 + 1 | 0) >>> 0 < (__ZNK6vision5Image5widthEv($3) | 0) >>> 0 : 0) { - $34 = $6 + -1 | 0; - if (($6 | 0) > 0 ? ($36 = $6 + 1 | 0, $36 >>> 0 < (__ZNK6vision5Image6heightEv($3) | 0) >>> 0) : 0) { - $55 = (__ZNK6vision5Image5widthEv($2) | 0) >>> 1; - if (($55 | 0) != (__ZNK6vision5Image5widthEv($3) | 0)) { - $63 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 29093) | 0, 28600) | 0, 39072) | 0, 361) | 0, 39079) | 0, 29150) | 0; - __ZNKSt3__28ios_base6getlocEv($7, $63 + (HEAP32[(HEAP32[$63 >> 2] | 0) + -12 >> 2] | 0) | 0); - $68 = __ZNKSt3__26locale9use_facetERNS0_2idE($7, 66512) | 0; - $72 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$68 >> 2] | 0) + 28 >> 2] & 127]($68, 10) | 0; - __ZNSt3__26localeD2Ev($7); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($63, $72) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($63) | 0; + $ref$tmp$i$i113 = sp + 28 | 0; + $x_mul_2 = sp + 24 | 0; + $y_mul_2 = sp + 20 | 0; + $Dx = sp + 16 | 0; + $Dy = sp + 12 | 0; + $Dxx = sp + 8 | 0; + $Dyy = sp + 4 | 0; + $Dxy = sp; + if (($x | 0) > 0 ? ($x + 1 | 0) >>> 0 < (__ZNK6vision5Image5widthEv($lap1) | 0) >>> 0 : 0) { + $sub10 = $y + -1 | 0; + if (($y | 0) > 0 ? ($add13 = $y + 1 | 0, $add13 >>> 0 < (__ZNK6vision5Image6heightEv($lap1) | 0) >>> 0) : 0) { + $shr = (__ZNK6vision5Image5widthEv($lap0) | 0) >>> 1; + if (($shr | 0) != (__ZNK6vision5Image5widthEv($lap1) | 0)) { + $call37 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 29207) | 0, 28676) | 0, 39794) | 0, 361) | 0, 39801) | 0, 29264) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i$i113, $call37 + (HEAP32[(HEAP32[$call37 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i$i76 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i$i113, 67360) | 0; + $call$i2$i$i79 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i$i76 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i$i76, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i$i113); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call37, $call$i2$i$i79) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call37) | 0; _abort(); } - $74 = (__ZNK6vision5Image5widthEv($2) | 0) >>> 1; - if (($74 | 0) != (__ZNK6vision5Image5widthEv($4) | 0)) { - $82 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 29180) | 0, 28600) | 0, 39072) | 0, 362) | 0, 39079) | 0, 29150) | 0; - __ZNKSt3__28ios_base6getlocEv($7, $82 + (HEAP32[(HEAP32[$82 >> 2] | 0) + -12 >> 2] | 0) | 0); - $87 = __ZNKSt3__26locale9use_facetERNS0_2idE($7, 66512) | 0; - $91 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$87 >> 2] | 0) + 28 >> 2] & 127]($87, 10) | 0; - __ZNSt3__26localeD2Ev($7); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($82, $91) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($82) | 0; + $shr44 = (__ZNK6vision5Image5widthEv($lap0) | 0) >>> 1; + if (($shr44 | 0) != (__ZNK6vision5Image5widthEv($lap2) | 0)) { + $call53 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 29294) | 0, 28676) | 0, 39794) | 0, 362) | 0, 39801) | 0, 29264) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i$i113, $call53 + (HEAP32[(HEAP32[$call53 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i$i90 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i$i113, 67360) | 0; + $call$i2$i$i93 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i$i90 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i$i90, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i$i113); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call53, $call$i2$i$i93) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call53) | 0; _abort(); } - $93 = (__ZNK6vision5Image6heightEv($2) | 0) >>> 1; - if (($93 | 0) != (__ZNK6vision5Image6heightEv($3) | 0)) { - $101 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 29237) | 0, 28600) | 0, 39072) | 0, 363) | 0, 39079) | 0, 29150) | 0; - __ZNKSt3__28ios_base6getlocEv($7, $101 + (HEAP32[(HEAP32[$101 >> 2] | 0) + -12 >> 2] | 0) | 0); - $106 = __ZNKSt3__26locale9use_facetERNS0_2idE($7, 66512) | 0; - $110 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$106 >> 2] | 0) + 28 >> 2] & 127]($106, 10) | 0; - __ZNSt3__26localeD2Ev($7); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($101, $110) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($101) | 0; + $shr60 = (__ZNK6vision5Image6heightEv($lap0) | 0) >>> 1; + if (($shr60 | 0) != (__ZNK6vision5Image6heightEv($lap1) | 0)) { + $call69 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 29351) | 0, 28676) | 0, 39794) | 0, 363) | 0, 39801) | 0, 29264) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i$i113, $call69 + (HEAP32[(HEAP32[$call69 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i$i104 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i$i113, 67360) | 0; + $call$i2$i$i107 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i$i104 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i$i104, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i$i113); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call69, $call$i2$i$i107) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call69) | 0; _abort(); } - $112 = (__ZNK6vision5Image6heightEv($2) | 0) >>> 1; - if (($112 | 0) == (__ZNK6vision5Image6heightEv($4) | 0)) { - $131 = (__ZNK6vision5Image3getIfEEPKT_m($3, $6) | 0) + ($5 << 2) | 0; - $133 = (__ZNK6vision5Image3getIfEEPKT_m($4, $34) | 0) + ($5 << 2) | 0; - $135 = (__ZNK6vision5Image3getIfEEPKT_m($4, $6) | 0) + ($5 << 2) | 0; - $137 = (__ZNK6vision5Image3getIfEEPKT_m($4, $36) | 0) + ($5 << 2) | 0; - __ZN6vision23bilinear_upsample_pointERfS0_ffi($8, $9, +($5 | 0), +($6 | 0), 1); - __ZN6vision26ComputeSubpixelDerivativesERfS0_S0_S0_S0_RKNS_5ImageEii($10, $11, $12, $13, $14, $3, $5, $6); - $142 = +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff($2, +HEAPF32[$8 >> 2], +HEAPF32[$9 >> 2]); - $143 = +HEAPF32[$135 >> 2]; - $149 = $143 + ($142 - +HEAPF32[$131 >> 2] * 2.0); - $153 = +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff($2, +HEAPF32[$8 >> 2] + -2.0, +HEAPF32[$9 >> 2]); - $156 = $153 + +HEAPF32[$135 + 4 >> 2]; - $160 = +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff($2, +HEAPF32[$8 >> 2] + 2.0, +HEAPF32[$9 >> 2]); - $165 = ($156 - ($160 + +HEAPF32[$135 + -4 >> 2])) * .25; - $169 = +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff($2, +HEAPF32[$8 >> 2], +HEAPF32[$9 >> 2] + -2.0); - $171 = $169 + +HEAPF32[$137 >> 2]; - $175 = +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff($2, +HEAPF32[$8 >> 2], +HEAPF32[$9 >> 2] + 2.0); - $179 = ($171 - ($175 + +HEAPF32[$133 >> 2])) * .25; - HEAP32[$0 >> 2] = HEAP32[$12 >> 2]; - $181 = HEAP32[$14 >> 2] | 0; - HEAP32[$0 + 4 >> 2] = $181; - HEAPF32[$0 + 8 >> 2] = $165; - HEAP32[$0 + 12 >> 2] = $181; - HEAP32[$0 + 16 >> 2] = HEAP32[$13 >> 2]; - HEAPF32[$0 + 20 >> 2] = $179; - HEAPF32[$0 + 24 >> 2] = $165; - HEAPF32[$0 + 28 >> 2] = $179; - HEAPF32[$0 + 32 >> 2] = $149; - HEAPF32[$1 >> 2] = -+HEAPF32[$10 >> 2]; - HEAPF32[$1 + 4 >> 2] = -+HEAPF32[$11 >> 2]; - HEAPF32[$1 + 8 >> 2] = -(($143 - $142) * .5); + $shr76 = (__ZNK6vision5Image6heightEv($lap0) | 0) >>> 1; + if (($shr76 | 0) == (__ZNK6vision5Image6heightEv($lap2) | 0)) { + $arrayidx = (__ZNK6vision5Image3getIfEEPKT_m($lap1, $y) | 0) + ($x << 2) | 0; + $arrayidx93 = (__ZNK6vision5Image3getIfEEPKT_m($lap2, $sub10) | 0) + ($x << 2) | 0; + $arrayidx95 = (__ZNK6vision5Image3getIfEEPKT_m($lap2, $y) | 0) + ($x << 2) | 0; + $arrayidx98 = (__ZNK6vision5Image3getIfEEPKT_m($lap2, $add13) | 0) + ($x << 2) | 0; + __ZN6vision23bilinear_upsample_pointERfS0_ffi($x_mul_2, $y_mul_2, +($x | 0), +($y | 0), 1); + __ZN6vision26ComputeSubpixelDerivativesERfS0_S0_S0_S0_RKNS_5ImageEii($Dx, $Dy, $Dxx, $Dyy, $Dxy, $lap1, $x, $y); + $call100 = +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff($lap0, +HEAPF32[$x_mul_2 >> 2], +HEAPF32[$y_mul_2 >> 2]); + $8 = +HEAPF32[$arrayidx95 >> 2]; + $add107 = $8 + ($call100 - +HEAPF32[$arrayidx >> 2] * 2.0); + $call109 = +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff($lap0, +HEAPF32[$x_mul_2 >> 2] + -2.0, +HEAPF32[$y_mul_2 >> 2]); + $add111 = $call109 + +HEAPF32[$arrayidx95 + 4 >> 2]; + $call113 = +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff($lap0, +HEAPF32[$x_mul_2 >> 2] + 2.0, +HEAPF32[$y_mul_2 >> 2]); + $mul117 = ($add111 - ($call113 + +HEAPF32[$arrayidx95 + -4 >> 2])) * .25; + $call119 = +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff($lap0, +HEAPF32[$x_mul_2 >> 2], +HEAPF32[$y_mul_2 >> 2] + -2.0); + $add121 = $call119 + +HEAPF32[$arrayidx98 >> 2]; + $call123 = +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff($lap0, +HEAPF32[$x_mul_2 >> 2], +HEAPF32[$y_mul_2 >> 2] + 2.0); + $mul127 = ($add121 - ($call123 + +HEAPF32[$arrayidx93 >> 2])) * .25; + HEAP32[$H >> 2] = HEAP32[$Dxx >> 2]; + $23 = HEAP32[$Dxy >> 2] | 0; + HEAP32[$H + 4 >> 2] = $23; + HEAPF32[$H + 8 >> 2] = $mul117; + HEAP32[$H + 12 >> 2] = $23; + HEAP32[$H + 16 >> 2] = HEAP32[$Dyy >> 2]; + HEAPF32[$H + 20 >> 2] = $mul127; + HEAPF32[$H + 24 >> 2] = $mul117; + HEAPF32[$H + 28 >> 2] = $mul127; + HEAPF32[$H + 32 >> 2] = $add107; + HEAPF32[$b >> 2] = -+HEAPF32[$Dx >> 2]; + HEAPF32[$b + 4 >> 2] = -+HEAPF32[$Dy >> 2]; + HEAPF32[$b + 8 >> 2] = -(($8 - $call100) * .5); STACKTOP = sp; return; } else { - $120 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 29296) | 0, 28600) | 0, 39072) | 0, 364) | 0, 39079) | 0, 29150) | 0; - __ZNKSt3__28ios_base6getlocEv($7, $120 + (HEAP32[(HEAP32[$120 >> 2] | 0) + -12 >> 2] | 0) | 0); - $125 = __ZNKSt3__26locale9use_facetERNS0_2idE($7, 66512) | 0; - $129 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$125 >> 2] | 0) + 28 >> 2] & 127]($125, 10) | 0; - __ZNSt3__26localeD2Ev($7); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($120, $129) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($120) | 0; + $call85 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 29410) | 0, 28676) | 0, 39794) | 0, 364) | 0, 39801) | 0, 29264) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i$i113, $call85 + (HEAP32[(HEAP32[$call85 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i$i118 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i$i113, 67360) | 0; + $call$i2$i$i121 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i$i118 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i$i118, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i$i113); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call85, $call$i2$i$i121) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call85) | 0; _abort(); } } - $44 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 29018) | 0, 28600) | 0, 39072) | 0, 360) | 0, 39079) | 0, 29077) | 0; - __ZNKSt3__28ios_base6getlocEv($7, $44 + (HEAP32[(HEAP32[$44 >> 2] | 0) + -12 >> 2] | 0) | 0); - $49 = __ZNKSt3__26locale9use_facetERNS0_2idE($7, 66512) | 0; - $53 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$49 >> 2] | 0) + 28 >> 2] & 127]($49, 10) | 0; - __ZNSt3__26localeD2Ev($7); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($44, $53) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($44) | 0; + $call22 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 29132) | 0, 28676) | 0, 39794) | 0, 360) | 0, 39801) | 0, 29191) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i$i113, $call22 + (HEAP32[(HEAP32[$call22 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i$i62 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i$i113, 67360) | 0; + $call$i2$i$i65 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i$i62 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i$i62, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i$i113); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call22, $call$i2$i$i65) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call22) | 0; _abort(); } - $24 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 28944) | 0, 28600) | 0, 39072) | 0, 359) | 0, 39079) | 0, 29002) | 0; - __ZNKSt3__28ios_base6getlocEv($7, $24 + (HEAP32[(HEAP32[$24 >> 2] | 0) + -12 >> 2] | 0) | 0); - $29 = __ZNKSt3__26locale9use_facetERNS0_2idE($7, 66512) | 0; - $33 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$29 >> 2] | 0) + 28 >> 2] & 127]($29, 10) | 0; - __ZNSt3__26localeD2Ev($7); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($24, $33) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($24) | 0; + $call7 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 29058) | 0, 28676) | 0, 39794) | 0, 359) | 0, 39801) | 0, 29116) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i$i113, $call7 + (HEAP32[(HEAP32[$call7 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i$i = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i$i113, 67360) | 0; + $call$i2$i$i = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i$i >> 2] | 0) + 28 >> 2] & 127]($call$i1$i$i, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i$i113); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call7, $call$i2$i$i) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call7) | 0; _abort(); } -function _kpmSetRefDataSet($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $$0156 = 0, $$0157 = 0, $$0158 = 0, $$0159 = 0, $$0161 = 0, $$0162 = 0, $$0163 = 0, $$0165 = 0, $$1160 = 0, $$1164 = 0, $$2 = 0, $$pre = 0, $$pre199 = 0, $$pre201 = 0, $11 = 0, $110 = 0, $116 = 0, $12 = 0, $123 = 0, $126 = 0, $148 = 0, $152 = 0, $157 = 0, $16 = 0, $164 = 0, $165 = 0, $17 = 0, $2 = 0, $20 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $3 = 0, $31 = 0, $35 = 0, $36 = 0, $39 = 0, $4 = 0, $40 = 0, $43 = 0, $45 = 0, $47 = 0, $48 = 0, $5 = 0, $51 = 0, $53 = 0, $56 = 0, $59 = 0, $63 = 0, $68 = 0, $72 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $82 = 0, $86 = 0, $9 = 0, $90 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $vararg_buffer = 0, $vararg_buffer1 = 0, $vararg_buffer11 = 0, $vararg_buffer3 = 0, $vararg_buffer5 = 0, $vararg_buffer7 = 0, $vararg_buffer9 = 0, label = 0, sp = 0; +function _kpmSetRefDataSet($kpmHandle, $refDataSet) { + $kpmHandle = $kpmHandle | 0; + $refDataSet = $refDataSet | 0; + var $$pre = 0, $$pre182 = 0, $$pre184 = 0, $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $15 = 0, $17 = 0, $18 = 0, $2 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $3 = 0, $32 = 0, $35 = 0, $38 = 0, $40 = 0, $50 = 0, $52 = 0, $55 = 0, $59 = 0, $6 = 0, $7 = 0, $9 = 0, $__end_$i$i = 0, $__end_$i$i135 = 0, $__end_$i$i138 = 0, $__value_$i$i$i$i = 0, $__value_$i$i$i$i136 = 0, $__value_$i$i$i$i139 = 0, $arrayidx107 = 0, $arrayidx112 = 0, $arrayidx249 = 0, $call = 0, $call143 = 0, $call59 = 0, $call90 = 0, $db_id$0 = 0, $db_id$1 = 0, $descriptors = 0, $i$0 = 0, $i$1 = 0, $i$2 = 0, $i148$0 = 0, $i180$0 = 0, $imageNum = 0, $j$0 = 0, $j240$0 = 0, $k$0 = 0, $m$0 = 0, $num = 0, $num30 = 0, $pageInfo = 0, $pageInfo69 = 0, $pageNum = 0, $pageNum130 = 0, $pageNum54 = 0, $points = 0, $points_3d = 0, $ref$tmp = 0, $refPoint = 0, $result = 0, $retval$0 = 0, $vararg_buffer = 0, $vararg_buffer1 = 0, $vararg_buffer11 = 0, $vararg_buffer3 = 0, $vararg_buffer5 = 0, $vararg_buffer7 = 0, $vararg_buffer9 = 0, label = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 112 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(112); @@ -36618,1116 +36913,2461 @@ function _kpmSetRefDataSet($0, $1) { $vararg_buffer3 = sp + 16 | 0; $vararg_buffer1 = sp + 8 | 0; $vararg_buffer = sp; - $2 = sp + 96 | 0; - $3 = sp + 84 | 0; - $4 = sp + 72 | 0; - $5 = sp + 52 | 0; - L1 : do if (($0 | 0) != 0 & ($1 | 0) != 0) { - $8 = $1 + 4 | 0; - $9 = HEAP32[$8 >> 2] | 0; - if (!$9) { + $points = sp + 96 | 0; + $points_3d = sp + 84 | 0; + $descriptors = sp + 72 | 0; + $ref$tmp = sp + 52 | 0; + L1 : do if (($kpmHandle | 0) != 0 & ($refDataSet | 0) != 0) { + $num = $refDataSet + 4 | 0; + $0 = HEAP32[$num >> 2] | 0; + if (!$0) { _arLog(0, 3, 26571, $vararg_buffer1); - $$0165 = -1; + $retval$0 = -1; break; } - $11 = $0 + 28 | 0; - $12 = HEAP32[$11 >> 2] | 0; - if ($12) { - _free($12); - $$pre = HEAP32[$8 >> 2] | 0; + $refPoint = $kpmHandle + 28 | 0; + $1 = HEAP32[$refPoint >> 2] | 0; + if ($1) { + _free($1); + $$pre = HEAP32[$num >> 2] | 0; if (!$$pre) { - HEAP32[$11 >> 2] = 0; - $27 = 0; + HEAP32[$refPoint >> 2] = 0; + $6 = 0; } else { - $16 = $$pre; + $2 = $$pre; label = 7; } } else { - $16 = $9; + $2 = $0; label = 7; } L9 : do if ((label | 0) == 7) { - $17 = _malloc($16 * 132 | 0) | 0; - HEAP32[$11 >> 2] = $17; - if (!$17) { - _arLog(0, 3, 45930, $vararg_buffer3); + $call = _malloc($2 * 132 | 0) | 0; + HEAP32[$refPoint >> 2] = $call; + if (!$call) { + _arLog(0, 3, 46772, $vararg_buffer3); _exit(1); } - $$0163 = 0; - $20 = $16; + $3 = $2; + $i$0 = 0; while (1) { - if (($$0163 | 0) >= ($20 | 0)) { - $27 = $20; + if (($i$0 | 0) >= ($3 | 0)) { + $6 = $3; break L9; } - _memcpy((HEAP32[$11 >> 2] | 0) + ($$0163 * 132 | 0) | 0, (HEAP32[$1 >> 2] | 0) + ($$0163 * 132 | 0) | 0, 132) | 0; - $$0163 = $$0163 + 1 | 0; - $20 = HEAP32[$8 >> 2] | 0; + _memcpy((HEAP32[$refPoint >> 2] | 0) + ($i$0 * 132 | 0) | 0, (HEAP32[$refDataSet >> 2] | 0) + ($i$0 * 132 | 0) | 0, 132) | 0; + $3 = HEAP32[$num >> 2] | 0; + $i$0 = $i$0 + 1 | 0; } } while (0); - $26 = $0 + 32 | 0; - HEAP32[$26 >> 2] = $27; - $28 = $0 + 36 | 0; - $29 = HEAP32[$28 >> 2] | 0; - if ($29 | 0) { - $31 = $0 + 40 | 0; - $$1164 = 0; - $35 = $29; + $num30 = $kpmHandle + 32 | 0; + HEAP32[$num30 >> 2] = $6; + $pageInfo = $kpmHandle + 36 | 0; + $7 = HEAP32[$pageInfo >> 2] | 0; + if ($7 | 0) { + $pageNum = $kpmHandle + 40 | 0; + $9 = $7; + $i$1 = 0; while (1) { - if (($$1164 | 0) >= (HEAP32[$31 >> 2] | 0)) break; - $36 = HEAP32[$35 + ($$1164 * 12 | 0) >> 2] | 0; - if (!$36) $$pre199 = $35; else { - _free($36); - $$pre199 = HEAP32[$28 >> 2] | 0; - } - $$1164 = $$1164 + 1 | 0; - $35 = $$pre199; - } - _free($35); - } - $39 = $1 + 12 | 0; - $40 = HEAP32[$39 >> 2] | 0; - L28 : do if (!$40) { - HEAP32[$28 >> 2] = 0; - $77 = 0; + if (($i$1 | 0) >= (HEAP32[$pageNum >> 2] | 0)) break; + $10 = HEAP32[$9 + ($i$1 * 12 | 0) >> 2] | 0; + if (!$10) $$pre182 = $9; else { + _free($10); + $$pre182 = HEAP32[$pageInfo >> 2] | 0; + } + $9 = $$pre182; + $i$1 = $i$1 + 1 | 0; + } + _free($9); + } + $pageNum54 = $refDataSet + 12 | 0; + $11 = HEAP32[$pageNum54 >> 2] | 0; + L28 : do if (!$11) { + HEAP32[$pageInfo >> 2] = 0; + $23 = 0; } else { - $43 = _malloc($40 * 12 | 0) | 0; - HEAP32[$28 >> 2] = $43; - if (!$43) { - _arLog(0, 3, 45930, $vararg_buffer5); + $call59 = _malloc($11 * 12 | 0) | 0; + HEAP32[$pageInfo >> 2] = $call59; + if (!$call59) { + _arLog(0, 3, 46772, $vararg_buffer5); _exit(1); } - $45 = $1 + 8 | 0; - $$2 = 0; - $47 = $40; + $pageInfo69 = $refDataSet + 8 | 0; + $12 = $11; + $i$2 = 0; while (1) { - if (($$2 | 0) >= ($47 | 0)) { - $77 = $47; + if (($i$2 | 0) >= ($12 | 0)) { + $23 = $12; break L28; } - $48 = HEAP32[$45 >> 2] | 0; - $51 = HEAP32[$28 >> 2] | 0; - HEAP32[$51 + ($$2 * 12 | 0) + 8 >> 2] = HEAP32[$48 + ($$2 * 12 | 0) + 8 >> 2]; - $53 = $48 + ($$2 * 12 | 0) + 4 | 0; - HEAP32[$51 + ($$2 * 12 | 0) + 4 >> 2] = HEAP32[$53 >> 2]; - $56 = HEAP32[$53 >> 2] | 0; - if (!$56) { - HEAP32[$48 + ($$2 * 12 | 0) >> 2] = 0; - $$pre201 = $47; + $13 = HEAP32[$pageInfo69 >> 2] | 0; + $15 = HEAP32[$pageInfo >> 2] | 0; + HEAP32[$15 + ($i$2 * 12 | 0) + 8 >> 2] = HEAP32[$13 + ($i$2 * 12 | 0) + 8 >> 2]; + $imageNum = $13 + ($i$2 * 12 | 0) + 4 | 0; + HEAP32[$15 + ($i$2 * 12 | 0) + 4 >> 2] = HEAP32[$imageNum >> 2]; + $17 = HEAP32[$imageNum >> 2] | 0; + if (!$17) { + HEAP32[$13 + ($i$2 * 12 | 0) >> 2] = 0; + $$pre184 = $12; } else { - $59 = _malloc($56 * 12 | 0) | 0; - HEAP32[$51 + ($$2 * 12 | 0) >> 2] = $59; - if (!$59) break; - $$0162 = 0; - $63 = $48; + $call90 = _malloc($17 * 12 | 0) | 0; + HEAP32[$15 + ($i$2 * 12 | 0) >> 2] = $call90; + if (!$call90) break; + $18 = $13; + $j$0 = 0; while (1) { - if (($$0162 | 0) >= (HEAP32[$63 + ($$2 * 12 | 0) + 4 >> 2] | 0)) break; - $68 = (HEAP32[$63 + ($$2 * 12 | 0) >> 2] | 0) + ($$0162 * 12 | 0) | 0; - $72 = (HEAP32[(HEAP32[$28 >> 2] | 0) + ($$2 * 12 | 0) >> 2] | 0) + ($$0162 * 12 | 0) | 0; - HEAP32[$72 >> 2] = HEAP32[$68 >> 2]; - HEAP32[$72 + 4 >> 2] = HEAP32[$68 + 4 >> 2]; - HEAP32[$72 + 8 >> 2] = HEAP32[$68 + 8 >> 2]; - $$0162 = $$0162 + 1 | 0; - $63 = HEAP32[$45 >> 2] | 0; + if (($j$0 | 0) >= (HEAP32[$18 + ($i$2 * 12 | 0) + 4 >> 2] | 0)) break; + $arrayidx107 = (HEAP32[$18 + ($i$2 * 12 | 0) >> 2] | 0) + ($j$0 * 12 | 0) | 0; + $arrayidx112 = (HEAP32[(HEAP32[$pageInfo >> 2] | 0) + ($i$2 * 12 | 0) >> 2] | 0) + ($j$0 * 12 | 0) | 0; + HEAP32[$arrayidx112 >> 2] = HEAP32[$arrayidx107 >> 2]; + HEAP32[$arrayidx112 + 4 >> 2] = HEAP32[$arrayidx107 + 4 >> 2]; + HEAP32[$arrayidx112 + 8 >> 2] = HEAP32[$arrayidx107 + 8 >> 2]; + $18 = HEAP32[$pageInfo69 >> 2] | 0; + $j$0 = $j$0 + 1 | 0; } - $$pre201 = HEAP32[$39 >> 2] | 0; + $$pre184 = HEAP32[$pageNum54 >> 2] | 0; } - $$2 = $$2 + 1 | 0; - $47 = $$pre201; + $12 = $$pre184; + $i$2 = $i$2 + 1 | 0; } - _arLog(0, 3, 45930, $vararg_buffer7); + _arLog(0, 3, 46772, $vararg_buffer7); _exit(1); } while (0); - $76 = $0 + 40 | 0; - HEAP32[$76 >> 2] = $77; - $78 = $0 + 52 | 0; - $79 = HEAP32[$78 >> 2] | 0; - if ($79 | 0) { - _free($79); - HEAP32[$78 >> 2] = 0; - HEAP32[$0 + 56 >> 2] = 0; - } - $82 = HEAP32[$39 >> 2] | 0; - L51 : do if (($82 | 0) > 0) { - HEAP32[$0 + 56 >> 2] = $82; - $86 = _malloc($82 * 68 | 0) | 0; - HEAP32[$78 >> 2] = $86; - if (!$86) { - _arLog(0, 3, 45930, $vararg_buffer9); + $pageNum130 = $kpmHandle + 40 | 0; + HEAP32[$pageNum130 >> 2] = $23; + $result = $kpmHandle + 52 | 0; + $24 = HEAP32[$result >> 2] | 0; + if ($24 | 0) { + _free($24); + HEAP32[$result >> 2] = 0; + HEAP32[$kpmHandle + 56 >> 2] = 0; + } + $25 = HEAP32[$pageNum54 >> 2] | 0; + L51 : do if (($25 | 0) > 0) { + HEAP32[$kpmHandle + 56 >> 2] = $25; + $call143 = _malloc($25 * 68 | 0) | 0; + HEAP32[$result >> 2] = $call143; + if (!$call143) { + _arLog(0, 3, 46772, $vararg_buffer9); _exit(1); } - $$0161 = 0; + $i148$0 = 0; while (1) { - if (($$0161 | 0) == ($82 | 0)) break L51; - HEAP32[$86 + ($$0161 * 68 | 0) + 64 >> 2] = 0; - $$0161 = $$0161 + 1 | 0; + if (($i148$0 | 0) == ($25 | 0)) break L51; + HEAP32[$call143 + ($i148$0 * 68 | 0) + 64 >> 2] = 0; + $i148$0 = $i148$0 + 1 | 0; } } while (0); - $90 = HEAP32[$26 >> 2] | 0; - if (!$90) $$0165 = 0; else { - $92 = $2 + 4 | 0; - $93 = $2 + 8 | 0; - $94 = $3 + 4 | 0; - $95 = $3 + 8 | 0; - $96 = $4 + 4 | 0; - $97 = $4 + 8 | 0; - $$0158 = 0; - $$0159 = 0; + $26 = HEAP32[$num30 >> 2] | 0; + if (!$26) $retval$0 = 0; else { + $__end_$i$i = $points + 4 | 0; + $__value_$i$i$i$i = $points + 8 | 0; + $__end_$i$i135 = $points_3d + 4 | 0; + $__value_$i$i$i$i136 = $points_3d + 8 | 0; + $__end_$i$i138 = $descriptors + 4 | 0; + $__value_$i$i$i$i139 = $descriptors + 8 | 0; + $db_id$0 = 0; + $k$0 = 0; while (1) { - if (($$0158 | 0) >= (HEAP32[$76 >> 2] | 0)) { - $$0165 = 0; + if (($k$0 | 0) >= (HEAP32[$pageNum130 >> 2] | 0)) { + $retval$0 = 0; break L1; } - $$0157 = 0; - $$1160 = $$0159; + $db_id$1 = $db_id$0; + $m$0 = 0; while (1) { - if (($$0157 | 0) >= (HEAP32[(HEAP32[$28 >> 2] | 0) + ($$0158 * 12 | 0) + 4 >> 2] | 0)) break; - HEAP32[$2 >> 2] = 0; - HEAP32[$92 >> 2] = 0; - HEAP32[$93 >> 2] = 0; - HEAP32[$3 >> 2] = 0; - HEAP32[$94 >> 2] = 0; - HEAP32[$95 >> 2] = 0; - HEAP32[$4 >> 2] = 0; - HEAP32[$96 >> 2] = 0; - HEAP32[$97 >> 2] = 0; - $$0156 = 0; + if (($m$0 | 0) >= (HEAP32[(HEAP32[$pageInfo >> 2] | 0) + ($k$0 * 12 | 0) + 4 >> 2] | 0)) break; + HEAP32[$points >> 2] = 0; + HEAP32[$__end_$i$i >> 2] = 0; + HEAP32[$__value_$i$i$i$i >> 2] = 0; + HEAP32[$points_3d >> 2] = 0; + HEAP32[$__end_$i$i135 >> 2] = 0; + HEAP32[$__value_$i$i$i$i136 >> 2] = 0; + HEAP32[$descriptors >> 2] = 0; + HEAP32[$__end_$i$i138 >> 2] = 0; + HEAP32[$__value_$i$i$i$i139 >> 2] = 0; + $i180$0 = 0; while (1) { - if (($$0156 | 0) >= ($90 | 0)) break; - $123 = HEAP32[$11 >> 2] | 0; - $126 = HEAP32[$28 >> 2] | 0; - L70 : do if ((HEAP32[$123 + ($$0156 * 132 | 0) + 128 >> 2] | 0) == (HEAP32[(HEAP32[$126 + ($$0158 * 12 | 0) >> 2] | 0) + ($$0157 * 12 | 0) + 8 >> 2] | 0) ? (HEAP32[$123 + ($$0156 * 132 | 0) + 124 >> 2] | 0) == (HEAP32[$126 + ($$0158 * 12 | 0) + 8 >> 2] | 0) : 0) { - __ZN6vision12FeaturePointC2Effffb($5, +HEAPF32[$123 + ($$0156 * 132 | 0) >> 2], +HEAPF32[$123 + ($$0156 * 132 | 0) + 4 >> 2], +HEAPF32[$123 + ($$0156 * 132 | 0) + 112 >> 2], +HEAPF32[$123 + ($$0156 * 132 | 0) + 116 >> 2], (HEAP32[$123 + ($$0156 * 132 | 0) + 120 >> 2] | 0) != 0); - $148 = HEAP32[$92 >> 2] | 0; - if ($148 >>> 0 < (HEAP32[$93 >> 2] | 0) >>> 0) { - HEAP32[$148 >> 2] = HEAP32[$5 >> 2]; - HEAP32[$148 + 4 >> 2] = HEAP32[$5 + 4 >> 2]; - HEAP32[$148 + 8 >> 2] = HEAP32[$5 + 8 >> 2]; - HEAP32[$148 + 12 >> 2] = HEAP32[$5 + 12 >> 2]; - HEAP32[$148 + 16 >> 2] = HEAP32[$5 + 16 >> 2]; - HEAP32[$92 >> 2] = $148 + 20; - } else __ZNSt3__26vectorIN6vision12FeaturePointENS_9allocatorIS2_EEE21__push_back_slow_pathIS2_EEvOT_($2, $5); - __ZN6vision12FeaturePointD2Ev($5); - $152 = HEAP32[$11 >> 2] | 0; - __ZN6vision7Point3dIfEC2Efff($5, +HEAPF32[$152 + ($$0156 * 132 | 0) + 8 >> 2], +HEAPF32[$152 + ($$0156 * 132 | 0) + 12 >> 2], 0.0); - $157 = HEAP32[$94 >> 2] | 0; - if ($157 >>> 0 < (HEAP32[$95 >> 2] | 0) >>> 0) { - HEAP32[$157 >> 2] = HEAP32[$5 >> 2]; - HEAP32[$157 + 4 >> 2] = HEAP32[$5 + 4 >> 2]; - HEAP32[$157 + 8 >> 2] = HEAP32[$5 + 8 >> 2]; - HEAP32[$94 >> 2] = (HEAP32[$94 >> 2] | 0) + 12; - } else __ZNSt3__26vectorIN6vision7Point3dIfEENS_9allocatorIS3_EEE21__push_back_slow_pathIS3_EEvOT_($3, $5); - $$0 = 0; + if (($i180$0 | 0) >= ($26 | 0)) break; + $38 = HEAP32[$refPoint >> 2] | 0; + $40 = HEAP32[$pageInfo >> 2] | 0; + L70 : do if ((HEAP32[$38 + ($i180$0 * 132 | 0) + 128 >> 2] | 0) == (HEAP32[(HEAP32[$40 + ($k$0 * 12 | 0) >> 2] | 0) + ($m$0 * 12 | 0) + 8 >> 2] | 0) ? (HEAP32[$38 + ($i180$0 * 132 | 0) + 124 >> 2] | 0) == (HEAP32[$40 + ($k$0 * 12 | 0) + 8 >> 2] | 0) : 0) { + __ZN6vision12FeaturePointC2Effffb($ref$tmp, +HEAPF32[$38 + ($i180$0 * 132 | 0) >> 2], +HEAPF32[$38 + ($i180$0 * 132 | 0) + 4 >> 2], +HEAPF32[$38 + ($i180$0 * 132 | 0) + 112 >> 2], +HEAPF32[$38 + ($i180$0 * 132 | 0) + 116 >> 2], (HEAP32[$38 + ($i180$0 * 132 | 0) + 120 >> 2] | 0) != 0); + $50 = HEAP32[$__end_$i$i >> 2] | 0; + if ($50 >>> 0 < (HEAP32[$__value_$i$i$i$i >> 2] | 0) >>> 0) { + HEAP32[$50 >> 2] = HEAP32[$ref$tmp >> 2]; + HEAP32[$50 + 4 >> 2] = HEAP32[$ref$tmp + 4 >> 2]; + HEAP32[$50 + 8 >> 2] = HEAP32[$ref$tmp + 8 >> 2]; + HEAP32[$50 + 12 >> 2] = HEAP32[$ref$tmp + 12 >> 2]; + HEAP32[$50 + 16 >> 2] = HEAP32[$ref$tmp + 16 >> 2]; + HEAP32[$__end_$i$i >> 2] = $50 + 20; + } else __ZNSt3__26vectorIN6vision12FeaturePointENS_9allocatorIS2_EEE21__push_back_slow_pathIS2_EEvOT_($points, $ref$tmp); + __ZN6vision12FeaturePointD2Ev($ref$tmp); + $52 = HEAP32[$refPoint >> 2] | 0; + __ZN6vision7Point3dIfEC2Efff($ref$tmp, +HEAPF32[$52 + ($i180$0 * 132 | 0) + 8 >> 2], +HEAPF32[$52 + ($i180$0 * 132 | 0) + 12 >> 2], 0.0); + $55 = HEAP32[$__end_$i$i135 >> 2] | 0; + if ($55 >>> 0 < (HEAP32[$__value_$i$i$i$i136 >> 2] | 0) >>> 0) { + HEAP32[$55 >> 2] = HEAP32[$ref$tmp >> 2]; + HEAP32[$55 + 4 >> 2] = HEAP32[$ref$tmp + 4 >> 2]; + HEAP32[$55 + 8 >> 2] = HEAP32[$ref$tmp + 8 >> 2]; + HEAP32[$__end_$i$i135 >> 2] = (HEAP32[$__end_$i$i135 >> 2] | 0) + 12; + } else __ZNSt3__26vectorIN6vision7Point3dIfEENS_9allocatorIS3_EEE21__push_back_slow_pathIS3_EEvOT_($points_3d, $ref$tmp); + $j240$0 = 0; while (1) { - if ($$0 >>> 0 >= 96) break L70; - $164 = (HEAP32[$11 >> 2] | 0) + ($$0156 * 132 | 0) + 16 + $$0 | 0; - $165 = HEAP32[$96 >> 2] | 0; - if (($165 | 0) == (HEAP32[$97 >> 2] | 0)) __ZNSt3__26vectorIhNS_9allocatorIhEEE21__push_back_slow_pathIRKhEEvOT_($4, $164); else { - HEAP8[$165 >> 0] = HEAP8[$164 >> 0] | 0; - HEAP32[$96 >> 2] = (HEAP32[$96 >> 2] | 0) + 1; + if ($j240$0 >>> 0 >= 96) break L70; + $arrayidx249 = (HEAP32[$refPoint >> 2] | 0) + ($i180$0 * 132 | 0) + 16 + $j240$0 | 0; + $59 = HEAP32[$__end_$i$i138 >> 2] | 0; + if (($59 | 0) == (HEAP32[$__value_$i$i$i$i139 >> 2] | 0)) __ZNSt3__26vectorIhNS_9allocatorIhEEE21__push_back_slow_pathIRKhEEvOT_($descriptors, $arrayidx249); else { + HEAP8[$59 >> 0] = HEAP8[$arrayidx249 >> 0] | 0; + HEAP32[$__end_$i$i138 >> 2] = (HEAP32[$__end_$i$i138 >> 2] | 0) + 1; } - $$0 = $$0 + 1 | 0; + $j240$0 = $j240$0 + 1 | 0; } } while (0); - $$0156 = $$0156 + 1 | 0; + $i180$0 = $i180$0 + 1 | 0; } - HEAP32[$vararg_buffer11 >> 2] = ((HEAP32[$92 >> 2] | 0) - (HEAP32[$2 >> 2] | 0) | 0) / 20 | 0; + HEAP32[$vararg_buffer11 >> 2] = ((HEAP32[$__end_$i$i >> 2] | 0) - (HEAP32[$points >> 2] | 0) | 0) / 20 | 0; _arLog(0, 1, 26604, $vararg_buffer11); - $110 = HEAP32[$28 >> 2] | 0; - HEAP32[$0 + 60 + ($$1160 << 2) >> 2] = HEAP32[$110 + ($$0158 * 12 | 0) + 8 >> 2]; - $116 = HEAP32[$110 + ($$0158 * 12 | 0) >> 2] | 0; - __ZN6vision20VisualDatabaseFacade30addFreakFeaturesAndDescriptorsERKNSt3__26vectorINS_12FeaturePointENS1_9allocatorIS3_EEEERKNS2_IhNS4_IhEEEERKNS2_INS_7Point3dIfEENS4_ISE_EEEEmmi(HEAP32[$0 >> 2] | 0, $2, $4, $3, HEAP32[$116 + ($$0157 * 12 | 0) >> 2] | 0, HEAP32[$116 + ($$0157 * 12 | 0) + 4 >> 2] | 0, $$1160); - __ZNSt3__213__vector_baseIhNS_9allocatorIhEEED2Ev($4); - __ZNSt3__213__vector_baseIN6vision7Point3dIfEENS_9allocatorIS3_EEED2Ev($3); - __ZNSt3__213__vector_baseIN6vision12FeaturePointENS_9allocatorIS2_EEED2Ev($2); - $$0157 = $$0157 + 1 | 0; - $$1160 = $$1160 + 1 | 0; - } - $$0158 = $$0158 + 1 | 0; - $$0159 = $$1160; + $32 = HEAP32[$pageInfo >> 2] | 0; + HEAP32[$kpmHandle + 60 + ($db_id$1 << 2) >> 2] = HEAP32[$32 + ($k$0 * 12 | 0) + 8 >> 2]; + $35 = HEAP32[$32 + ($k$0 * 12 | 0) >> 2] | 0; + __ZN6vision20VisualDatabaseFacade30addFreakFeaturesAndDescriptorsERKNSt3__26vectorINS_12FeaturePointENS1_9allocatorIS3_EEEERKNS2_IhNS4_IhEEEERKNS2_INS_7Point3dIfEENS4_ISE_EEEEmmi(HEAP32[$kpmHandle >> 2] | 0, $points, $descriptors, $points_3d, HEAP32[$35 + ($m$0 * 12 | 0) >> 2] | 0, HEAP32[$35 + ($m$0 * 12 | 0) + 4 >> 2] | 0, $db_id$1); + __ZNSt3__213__vector_baseIhNS_9allocatorIhEEED2Ev($descriptors); + __ZNSt3__213__vector_baseIN6vision7Point3dIfEENS_9allocatorIS3_EEED2Ev($points_3d); + __ZNSt3__213__vector_baseIN6vision12FeaturePointENS_9allocatorIS2_EEED2Ev($points); + $db_id$1 = $db_id$1 + 1 | 0; + $m$0 = $m$0 + 1 | 0; + } + $db_id$0 = $db_id$1; + $k$0 = $k$0 + 1 | 0; } } } else { _arLog(0, 3, 26523, $vararg_buffer); - $$0165 = -1; + $retval$0 = -1; } while (0); STACKTOP = sp; - return $$0165 | 0; + return $retval$0 | 0; } -function __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE3getES4_S4_RNS_8ios_baseERjP2tmPKwSC_($0, $1, $2, $3, $4, $5, $6, $7) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - $6 = $6 | 0; - $7 = $7 | 0; - var $$0 = 0, $$0$i$i = 0, $$0$i$i$i$i = 0, $$0$i$i$i$i52 = 0, $$0$i$i$i$i66 = 0, $$0$i$i2$i$i = 0, $$0$i$i2$i$i58 = 0, $$0$i$i2$i$i72 = 0, $$0$i$i63 = 0, $$0$pn = 0, $$049 = 0, $$050 = 0, $$3 = 0, $$3$lcssa = 0, $$4 = 0, $$byval_copy = 0, $$byval_copy1 = 0, $$ph = 0, $$sroa$047$0$copyload = 0, $10 = 0, $101 = 0, $103 = 0, $115 = 0, $116 = 0, $117 = 0, $118 = 0, $13 = 0, $131 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $154 = 0, $16 = 0, $161 = 0, $171 = 0, $173 = 0, $18 = 0, $185 = 0, $188 = 0, $202 = 0, $203 = 0, $204 = 0, $205 = 0, $206 = 0, $30 = 0, $32 = 0, $34 = 0, $52 = 0, $58 = 0, $59 = 0, $68 = 0, $69 = 0, $70 = 0, $71 = 0, $73 = 0, $8 = 0, $86 = 0, $88 = 0, $9 = 0, label = 0, sp = 0; +function __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE3getES4_S4_RNS_8ios_baseERjP2tmPKwSC_($this, $__b, $__e, $__iob, $__err, $__tm, $__fmtb, $__fmte) { + $this = $this | 0; + $__b = $__b | 0; + $__e = $__e | 0; + $__iob = $__iob | 0; + $__err = $__err | 0; + $__tm = $__tm | 0; + $__fmtb = $__fmtb | 0; + $__fmte = $__fmte | 0; + var $$ph = 0, $0 = 0, $1 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $27 = 0, $28 = 0, $3 = 0, $32 = 0, $33 = 0, $37 = 0, $38 = 0, $43 = 0, $47 = 0, $48 = 0, $55 = 0, $59 = 0, $60 = 0, $64 = 0, $65 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $8 = 0, $9 = 0, $__cmd$0 = 0, $__einp_$i$i = 0, $__einp_$i$i107 = 0, $__fmtb$addr$0 = 0, $__fmtb$addr$0$pn = 0, $__fmtb$addr$3 = 0, $__fmtb$addr$3$lcssa = 0, $__fmtb$addr$4 = 0, $__ninp_$i$i = 0, $__ninp_$i$i106 = 0, $__opt$0 = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, $agg$tmp23 = 0, $agg$tmp23$byval_copy = 0, $call$i = 0, $call$i119 = 0, $call$i40 = 0, $call24 = 0, $incdec$ptr = 0, $incdec$ptr16 = 0, $retval$0$i$i = 0, $retval$0$i$i$i$i = 0, $retval$0$i$i$i$i147 = 0, $retval$0$i$i$i$i62 = 0, $retval$0$i$i115 = 0, $retval$0$i$i13$i$i = 0, $retval$0$i$i13$i$i168 = 0, $retval$0$i$i13$i$i83 = 0, $retval$sroa$0$0$copyload = 0, label = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy1 = sp + 12 | 0; - $$byval_copy = sp + 8 | 0; - $8 = sp + 4 | 0; - $9 = sp; - __ZNKSt3__28ios_base6getlocEv($$byval_copy1, $3); - $10 = __ZNKSt3__26locale9use_facetERNS0_2idE($$byval_copy1, 66544) | 0; - __ZNSt3__26localeD2Ev($$byval_copy1); - HEAP32[$4 >> 2] = 0; - $$0 = $6; - $13 = 0; + $agg$tmp23$byval_copy = sp + 12 | 0; + $agg$tmp$byval_copy = sp + 8 | 0; + $agg$tmp = sp + 4 | 0; + $agg$tmp23 = sp; + __ZNKSt3__28ios_base6getlocEv($agg$tmp23$byval_copy, $__iob); + $call$i = __ZNKSt3__26locale9use_facetERNS0_2idE($agg$tmp23$byval_copy, 67392) | 0; + __ZNSt3__26localeD2Ev($agg$tmp23$byval_copy); + HEAP32[$__err >> 2] = 0; + $0 = 0; + $__fmtb$addr$0 = $__fmtb; L1 : while (1) { - $14 = HEAP32[$1 >> 2] | 0; - if (!(($$0 | 0) != ($7 | 0) & ($13 | 0) == 0)) { - $171 = $14; - break; - } - $16 = $14; - if ($14) { - $18 = HEAP32[$14 + 12 >> 2] | 0; - if (($18 | 0) == (HEAP32[$14 + 16 >> 2] | 0)) $$0$i$i$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$14 >> 2] | 0) + 36 >> 2] & 127]($14) | 0; else $$0$i$i$i$i = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$18 >> 2] | 0) | 0; - if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj($$0$i$i$i$i, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { - HEAP32[$1 >> 2] = 0; - $140 = 0; - $202 = 1; - $69 = 0; + $1 = HEAP32[$__b >> 2] | 0; + if (!(($__fmtb$addr$0 | 0) != ($__fmte | 0) & ($0 | 0) == 0)) { + $59 = $1; + break; + } + $2 = $1; + if ($1) { + $3 = HEAP32[$1 + 12 >> 2] | 0; + if (($3 | 0) == (HEAP32[$1 + 16 >> 2] | 0)) $retval$0$i$i$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$1 >> 2] | 0) + 36 >> 2] & 127]($1) | 0; else $retval$0$i$i$i$i = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$3 >> 2] | 0) | 0; + if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj($retval$0$i$i$i$i, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { + HEAP32[$__b >> 2] = 0; + $20 = 0; + $47 = 0; + $70 = 1; } else { - $140 = $14; - $202 = 0; - $69 = $16; + $20 = $2; + $47 = $1; + $70 = 0; } } else { - $140 = 0; - $202 = 1; - $69 = $16; - } - $30 = HEAP32[$2 >> 2] | 0; - $32 = $30; - do if ($30) { - $34 = HEAP32[$30 + 12 >> 2] | 0; - if (($34 | 0) == (HEAP32[$30 + 16 >> 2] | 0)) $$0$i$i2$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$30 >> 2] | 0) + 36 >> 2] & 127]($30) | 0; else $$0$i$i2$i$i = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$34 >> 2] | 0) | 0; - if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj($$0$i$i2$i$i, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if ($202) { - $203 = $30; - $70 = $32; + $20 = $2; + $47 = 0; + $70 = 1; + } + $7 = HEAP32[$__e >> 2] | 0; + $8 = $7; + do if ($7) { + $9 = HEAP32[$7 + 12 >> 2] | 0; + if (($9 | 0) == (HEAP32[$7 + 16 >> 2] | 0)) $retval$0$i$i13$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$7 >> 2] | 0) + 36 >> 2] & 127]($7) | 0; else $retval$0$i$i13$i$i = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$9 >> 2] | 0) | 0; + if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj($retval$0$i$i13$i$i, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if ($70) { + $21 = $8; + $71 = $7; break; } else { label = 60; break L1; } else { - HEAP32[$2 >> 2] = 0; + HEAP32[$__e >> 2] = 0; $$ph = 0; label = 15; break; } } else { - $$ph = $32; + $$ph = $8; label = 15; } while (0); if ((label | 0) == 15) { label = 0; - if ($202) { + if ($70) { label = 60; break; } else { - $203 = 0; - $70 = $$ph; + $21 = $$ph; + $71 = 0; } } - L24 : do if ((FUNCTION_TABLE_iiii[HEAP32[(HEAP32[$10 >> 2] | 0) + 52 >> 2] & 63]($10, HEAP32[$$0 >> 2] | 0, 0) | 0) << 24 >> 24 == 37) { - $52 = $$0 + 4 | 0; - if (($52 | 0) == ($7 | 0)) { + L24 : do if ((FUNCTION_TABLE_iiii[HEAP32[(HEAP32[$call$i >> 2] | 0) + 52 >> 2] & 63]($call$i, HEAP32[$__fmtb$addr$0 >> 2] | 0, 0) | 0) << 24 >> 24 == 37) { + $incdec$ptr = $__fmtb$addr$0 + 4 | 0; + if (($incdec$ptr | 0) == ($__fmte | 0)) { label = 60; break L1; } - $58 = FUNCTION_TABLE_iiii[HEAP32[(HEAP32[$10 >> 2] | 0) + 52 >> 2] & 63]($10, HEAP32[$52 >> 2] | 0, 0) | 0; - switch ($58 << 24 >> 24) { + $call$i40 = FUNCTION_TABLE_iiii[HEAP32[(HEAP32[$call$i >> 2] | 0) + 52 >> 2] & 63]($call$i, HEAP32[$incdec$ptr >> 2] | 0, 0) | 0; + switch ($call$i40 << 24 >> 24) { case 48: case 69: { - $59 = $$0 + 8 | 0; - if (($59 | 0) == ($7 | 0)) { + $incdec$ptr16 = $__fmtb$addr$0 + 8 | 0; + if (($incdec$ptr16 | 0) == ($__fmte | 0)) { label = 60; break L1; } - $$049 = $58; - $$050 = FUNCTION_TABLE_iiii[HEAP32[(HEAP32[$10 >> 2] | 0) + 52 >> 2] & 63]($10, HEAP32[$59 >> 2] | 0, 0) | 0; - $73 = $52; + $22 = $incdec$ptr; + $__cmd$0 = FUNCTION_TABLE_iiii[HEAP32[(HEAP32[$call$i >> 2] | 0) + 52 >> 2] & 63]($call$i, HEAP32[$incdec$ptr16 >> 2] | 0, 0) | 0; + $__opt$0 = $call$i40; break; } default: { - $$049 = 0; - $$050 = $58; - $73 = $$0; - } - } - $68 = HEAP32[(HEAP32[$0 >> 2] | 0) + 36 >> 2] | 0; - HEAP32[$8 >> 2] = $69; - HEAP32[$9 >> 2] = $70; - HEAP32[$$byval_copy >> 2] = HEAP32[$8 >> 2]; - HEAP32[$$byval_copy1 >> 2] = HEAP32[$9 >> 2]; - $71 = FUNCTION_TABLE_iiiiiiiii[$68 & 15]($0, $$byval_copy, $$byval_copy1, $3, $4, $5, $$050, $$049) | 0; - HEAP32[$1 >> 2] = $71; - $$4 = $73 + 8 | 0; + $22 = $__fmtb$addr$0; + $__cmd$0 = $call$i40; + $__opt$0 = 0; + } + } + $19 = HEAP32[(HEAP32[$this >> 2] | 0) + 36 >> 2] | 0; + HEAP32[$agg$tmp >> 2] = $20; + HEAP32[$agg$tmp23 >> 2] = $21; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp23$byval_copy >> 2] = HEAP32[$agg$tmp23 >> 2]; + $call24 = FUNCTION_TABLE_iiiiiiiii[$19 & 15]($this, $agg$tmp$byval_copy, $agg$tmp23$byval_copy, $__iob, $__err, $__tm, $__cmd$0, $__opt$0) | 0; + HEAP32[$__b >> 2] = $call24; + $__fmtb$addr$4 = $22 + 8 | 0; } else { - if (!(FUNCTION_TABLE_iiii[HEAP32[(HEAP32[$10 >> 2] | 0) + 12 >> 2] & 63]($10, 8192, HEAP32[$$0 >> 2] | 0) | 0)) { - $139 = $140 + 12 | 0; - $141 = HEAP32[$139 >> 2] | 0; - $142 = $140 + 16 | 0; - if (($141 | 0) == (HEAP32[$142 >> 2] | 0)) $$0$i$i63 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$140 >> 2] | 0) + 36 >> 2] & 127]($140) | 0; else $$0$i$i63 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$141 >> 2] | 0) | 0; - $154 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$10 >> 2] | 0) + 28 >> 2] & 127]($10, $$0$i$i63) | 0; - if (($154 | 0) != (FUNCTION_TABLE_iii[HEAP32[(HEAP32[$10 >> 2] | 0) + 28 >> 2] & 127]($10, HEAP32[$$0 >> 2] | 0) | 0)) { - HEAP32[$4 >> 2] = 4; - $$4 = $$0; + if (!(FUNCTION_TABLE_iiii[HEAP32[(HEAP32[$call$i >> 2] | 0) + 12 >> 2] & 63]($call$i, 8192, HEAP32[$__fmtb$addr$0 >> 2] | 0) | 0)) { + $__ninp_$i$i106 = $47 + 12 | 0; + $48 = HEAP32[$__ninp_$i$i106 >> 2] | 0; + $__einp_$i$i107 = $47 + 16 | 0; + if (($48 | 0) == (HEAP32[$__einp_$i$i107 >> 2] | 0)) $retval$0$i$i115 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$47 >> 2] | 0) + 36 >> 2] & 127]($47) | 0; else $retval$0$i$i115 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$48 >> 2] | 0) | 0; + $call$i119 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i >> 2] | 0) + 28 >> 2] & 127]($call$i, $retval$0$i$i115) | 0; + if (($call$i119 | 0) != (FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i >> 2] | 0) + 28 >> 2] & 127]($call$i, HEAP32[$__fmtb$addr$0 >> 2] | 0) | 0)) { + HEAP32[$__err >> 2] = 4; + $__fmtb$addr$4 = $__fmtb$addr$0; break; } - $161 = HEAP32[$139 >> 2] | 0; - if (($161 | 0) == (HEAP32[$142 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$140 >> 2] | 0) + 40 >> 2] & 127]($140) | 0; else { - HEAP32[$139 >> 2] = $161 + 4; - __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$161 >> 2] | 0) | 0; + $55 = HEAP32[$__ninp_$i$i106 >> 2] | 0; + if (($55 | 0) == (HEAP32[$__einp_$i$i107 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$47 >> 2] | 0) + 40 >> 2] & 127]($47) | 0; else { + HEAP32[$__ninp_$i$i106 >> 2] = $55 + 4; + __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$55 >> 2] | 0) | 0; } - $$4 = $$0 + 4 | 0; + $__fmtb$addr$4 = $__fmtb$addr$0 + 4 | 0; break; } - $$0$pn = $$0; + $__fmtb$addr$0$pn = $__fmtb$addr$0; while (1) { - $$3 = $$0$pn + 4 | 0; - if (($$3 | 0) == ($7 | 0)) { - $$3$lcssa = $7; + $__fmtb$addr$3 = $__fmtb$addr$0$pn + 4 | 0; + if (($__fmtb$addr$3 | 0) == ($__fmte | 0)) { + $__fmtb$addr$3$lcssa = $__fmte; break; } - if (FUNCTION_TABLE_iiii[HEAP32[(HEAP32[$10 >> 2] | 0) + 12 >> 2] & 63]($10, 8192, HEAP32[$$3 >> 2] | 0) | 0) $$0$pn = $$3; else { - $$3$lcssa = $$3; + if (FUNCTION_TABLE_iiii[HEAP32[(HEAP32[$call$i >> 2] | 0) + 12 >> 2] & 63]($call$i, 8192, HEAP32[$__fmtb$addr$3 >> 2] | 0) | 0) $__fmtb$addr$0$pn = $__fmtb$addr$3; else { + $__fmtb$addr$3$lcssa = $__fmtb$addr$3; break; } } - $101 = $203; - $86 = $140; + $27 = $47; + $32 = $71; while (1) { - if ($86) { - $88 = HEAP32[$86 + 12 >> 2] | 0; - if (($88 | 0) == (HEAP32[$86 + 16 >> 2] | 0)) $$0$i$i$i$i52 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$86 >> 2] | 0) + 36 >> 2] & 127]($86) | 0; else $$0$i$i$i$i52 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$88 >> 2] | 0) | 0; - if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj($$0$i$i$i$i52, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { - HEAP32[$1 >> 2] = 0; - $116 = 0; - $204 = 1; + if ($27) { + $28 = HEAP32[$27 + 12 >> 2] | 0; + if (($28 | 0) == (HEAP32[$27 + 16 >> 2] | 0)) $retval$0$i$i$i$i62 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$27 >> 2] | 0) + 36 >> 2] & 127]($27) | 0; else $retval$0$i$i$i$i62 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$28 >> 2] | 0) | 0; + if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj($retval$0$i$i$i$i62, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { + HEAP32[$__b >> 2] = 0; + $37 = 0; + $72 = 1; } else { - $116 = $86; - $204 = 0; + $37 = $27; + $72 = 0; } } else { - $116 = 0; - $204 = 1; - } - do if ($101) { - $103 = HEAP32[$101 + 12 >> 2] | 0; - if (($103 | 0) == (HEAP32[$101 + 16 >> 2] | 0)) $$0$i$i2$i$i58 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$101 >> 2] | 0) + 36 >> 2] & 127]($101) | 0; else $$0$i$i2$i$i58 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$103 >> 2] | 0) | 0; - if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj($$0$i$i2$i$i58, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if ($204) { - $205 = $101; + $37 = 0; + $72 = 1; + } + do if ($32) { + $33 = HEAP32[$32 + 12 >> 2] | 0; + if (($33 | 0) == (HEAP32[$32 + 16 >> 2] | 0)) $retval$0$i$i13$i$i83 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$32 >> 2] | 0) + 36 >> 2] & 127]($32) | 0; else $retval$0$i$i13$i$i83 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$33 >> 2] | 0) | 0; + if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj($retval$0$i$i13$i$i83, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if ($72) { + $73 = $32; break; } else { - $$4 = $$3$lcssa; + $__fmtb$addr$4 = $__fmtb$addr$3$lcssa; break L24; } else { - HEAP32[$2 >> 2] = 0; + HEAP32[$__e >> 2] = 0; label = 40; break; } } else label = 40; while (0); if ((label | 0) == 40) { label = 0; - if ($204) { - $$4 = $$3$lcssa; + if ($72) { + $__fmtb$addr$4 = $__fmtb$addr$3$lcssa; break L24; - } else $205 = 0; - } - $115 = $116 + 12 | 0; - $117 = HEAP32[$115 >> 2] | 0; - $118 = $116 + 16 | 0; - if (($117 | 0) == (HEAP32[$118 >> 2] | 0)) $$0$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$116 >> 2] | 0) + 36 >> 2] & 127]($116) | 0; else $$0$i$i = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$117 >> 2] | 0) | 0; - if (!(FUNCTION_TABLE_iiii[HEAP32[(HEAP32[$10 >> 2] | 0) + 12 >> 2] & 63]($10, 8192, $$0$i$i) | 0)) { - $$4 = $$3$lcssa; + } else $73 = 0; + } + $__ninp_$i$i = $37 + 12 | 0; + $38 = HEAP32[$__ninp_$i$i >> 2] | 0; + $__einp_$i$i = $37 + 16 | 0; + if (($38 | 0) == (HEAP32[$__einp_$i$i >> 2] | 0)) $retval$0$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$37 >> 2] | 0) + 36 >> 2] & 127]($37) | 0; else $retval$0$i$i = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$38 >> 2] | 0) | 0; + if (!(FUNCTION_TABLE_iiii[HEAP32[(HEAP32[$call$i >> 2] | 0) + 12 >> 2] & 63]($call$i, 8192, $retval$0$i$i) | 0)) { + $__fmtb$addr$4 = $__fmtb$addr$3$lcssa; break L24; } - $131 = HEAP32[$115 >> 2] | 0; - if (($131 | 0) == (HEAP32[$118 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$116 >> 2] | 0) + 40 >> 2] & 127]($116) | 0; else { - HEAP32[$115 >> 2] = $131 + 4; - __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$131 >> 2] | 0) | 0; + $43 = HEAP32[$__ninp_$i$i >> 2] | 0; + if (($43 | 0) == (HEAP32[$__einp_$i$i >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$37 >> 2] | 0) + 40 >> 2] & 127]($37) | 0; else { + HEAP32[$__ninp_$i$i >> 2] = $43 + 4; + __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$43 >> 2] | 0) | 0; } - $101 = $205; - $86 = $116; + $27 = $37; + $32 = $73; } } while (0); - $$0 = $$4; - $13 = HEAP32[$4 >> 2] | 0; + $0 = HEAP32[$__err >> 2] | 0; + $__fmtb$addr$0 = $__fmtb$addr$4; } if ((label | 0) == 60) { - HEAP32[$4 >> 2] = 4; - $171 = $140; - } - if ($171) { - $173 = HEAP32[$171 + 12 >> 2] | 0; - if (($173 | 0) == (HEAP32[$171 + 16 >> 2] | 0)) $$0$i$i$i$i66 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$171 >> 2] | 0) + 36 >> 2] & 127]($171) | 0; else $$0$i$i$i$i66 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$173 >> 2] | 0) | 0; - if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj($$0$i$i$i$i66, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { - HEAP32[$1 >> 2] = 0; - $$sroa$047$0$copyload = 0; - $206 = 1; + HEAP32[$__err >> 2] = 4; + $59 = $47; + } + if ($59) { + $60 = HEAP32[$59 + 12 >> 2] | 0; + if (($60 | 0) == (HEAP32[$59 + 16 >> 2] | 0)) $retval$0$i$i$i$i147 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$59 >> 2] | 0) + 36 >> 2] & 127]($59) | 0; else $retval$0$i$i$i$i147 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$60 >> 2] | 0) | 0; + if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj($retval$0$i$i$i$i147, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { + HEAP32[$__b >> 2] = 0; + $74 = 1; + $retval$sroa$0$0$copyload = 0; } else { - $$sroa$047$0$copyload = $171; - $206 = 0; + $74 = 0; + $retval$sroa$0$0$copyload = $59; } } else { - $$sroa$047$0$copyload = 0; - $206 = 1; - } - $185 = HEAP32[$2 >> 2] | 0; - do if ($185) { - $188 = HEAP32[$185 + 12 >> 2] | 0; - if (($188 | 0) == (HEAP32[$185 + 16 >> 2] | 0)) $$0$i$i2$i$i72 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$185 >> 2] | 0) + 36 >> 2] & 127]($185) | 0; else $$0$i$i2$i$i72 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$188 >> 2] | 0) | 0; - if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj($$0$i$i2$i$i72, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if ($206) break; else { + $74 = 1; + $retval$sroa$0$0$copyload = 0; + } + $64 = HEAP32[$__e >> 2] | 0; + do if ($64) { + $65 = HEAP32[$64 + 12 >> 2] | 0; + if (($65 | 0) == (HEAP32[$64 + 16 >> 2] | 0)) $retval$0$i$i13$i$i168 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$64 >> 2] | 0) + 36 >> 2] & 127]($64) | 0; else $retval$0$i$i13$i$i168 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$65 >> 2] | 0) | 0; + if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj($retval$0$i$i13$i$i168, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if ($74) break; else { label = 75; break; } else { - HEAP32[$2 >> 2] = 0; + HEAP32[$__e >> 2] = 0; label = 73; break; } } else label = 73; while (0); - if ((label | 0) == 73 ? $206 : 0) label = 75; - if ((label | 0) == 75) HEAP32[$4 >> 2] = HEAP32[$4 >> 2] | 2; + if ((label | 0) == 73 ? $74 : 0) label = 75; + if ((label | 0) == 75) HEAP32[$__err >> 2] = HEAP32[$__err >> 2] | 2; STACKTOP = sp; - return $$sroa$047$0$copyload | 0; + return $retval$sroa$0$0$copyload | 0; } -function _check_rotation($0) { - $0 = $0 | 0; - var $$0 = 0, $$0457 = 0.0, $$0458 = 0.0, $$0459 = 0.0, $$0460 = 0.0, $$0461 = 0.0, $$0462 = 0.0, $$0463 = 0.0, $$0464 = 0.0, $$0465 = 0.0, $$0466 = 0.0, $$0467 = 0.0, $$0468 = 0.0, $$0469 = 0.0, $$0470 = 0.0, $$0471 = 0.0, $$0472 = 0.0, $$0473 = 0.0, $$1 = 0, $$10 = 0.0, $$2 = 0.0, $$3 = 0.0, $$5 = 0.0, $$6 = 0.0, $$9 = 0.0, $$pre = 0.0, $$pre$phi15Z2D = 0.0, $$pre$phi17Z2D = 0.0, $$pre$phi19Z2D = 0.0, $$pre$phi21Z2D = 0.0, $$pre$phi23Z2D = 0.0, $$pre$phiZ2D = 0.0, $$pre14 = 0.0, $$pre18 = 0.0, $$pre20 = 0.0, $$sroa$0$0 = 0.0, $$sroa$0$1 = 0.0, $$sroa$0$1$$sroa$62$1 = 0.0, $$sroa$0$2 = 0.0, $$sroa$0333$0 = 0.0, $$sroa$0370$0 = 0.0, $$sroa$18$0 = 0.0, $$sroa$18384$0 = 0.0, $$sroa$33$0 = 0.0, $$sroa$33$1 = 0.0, $$sroa$33$2 = 0.0, $$sroa$33359$0 = 0.0, $$sroa$33397$0 = 0.0, $$sroa$62$0 = 0.0, $$sroa$62$1 = 0.0, $$sroa$62$1$$sroa$33$1 = 0.0, $$sroa$62$2 = 0.0, $1 = 0.0, $10 = 0, $102 = 0, $107 = 0.0, $109 = 0.0, $11 = 0.0, $113 = 0.0, $114 = 0.0, $116 = 0.0, $120 = 0.0, $123 = 0.0, $130 = 0.0, $133 = 0.0, $135 = 0.0, $137 = 0.0, $139 = 0.0, $14 = 0.0, $141 = 0.0, $143 = 0.0, $145 = 0.0, $150 = 0.0, $157 = 0.0, $164 = 0.0, $17 = 0.0, $171 = 0.0, $2 = 0, $20 = 0.0, $26 = 0.0, $28 = 0.0, $29 = 0.0, $3 = 0.0, $30 = 0.0, $35 = 0.0, $4 = 0, $43 = 0.0, $44 = 0.0, $45 = 0.0, $46 = 0.0, $5 = 0.0, $51 = 0, $56 = 0.0, $58 = 0.0, $6 = 0, $62 = 0.0, $63 = 0.0, $65 = 0.0, $69 = 0.0, $7 = 0.0, $72 = 0.0, $79 = 0.0, $8 = 0, $82 = 0.0, $84 = 0.0, $86 = 0.0, $88 = 0.0, $9 = 0.0, $90 = 0.0, $92 = 0.0, $94 = 0.0, $95 = 0.0, $96 = 0.0, $97 = 0.0; - $1 = +HEAPF64[$0 >> 3]; - $2 = $0 + 8 | 0; - $3 = +HEAPF64[$2 >> 3]; - $4 = $0 + 16 | 0; - $5 = +HEAPF64[$4 >> 3]; - $6 = $0 + 24 | 0; - $7 = +HEAPF64[$6 >> 3]; - $8 = $0 + 32 | 0; - $9 = +HEAPF64[$8 >> 3]; - $10 = $0 + 40 | 0; - $11 = +HEAPF64[$10 >> 3]; - $14 = $3 * $11 - $5 * $9; - $17 = $5 * $7 - $1 * $11; - $20 = $1 * $9 - $3 * $7; - $26 = +Math_sqrt(+($20 * $20 + ($14 * $14 + $17 * $17))); - do if (!($26 == 0.0)) { - $28 = $14 / $26; - $29 = $17 / $26; - $30 = $20 / $26; - $35 = $1 * $7 + $3 * $9 + $5 * $11; - $$0473 = $35 < 0.0 ? -$35 : $35; - $43 = (+Math_sqrt(+($$0473 + 1.0)) + +Math_sqrt(+(1.0 - $$0473))) * .5; - $44 = $1 * $29; - $45 = $3 * $28; - $46 = $44 - $45; - if ($46 != 0.0) { - $$0 = 0; - $$pre$phi15Z2D = $45; - $$pre$phi17Z2D = $46; - $$pre$phiZ2D = $44; - $$sroa$0$0 = $28; - $$sroa$0370$0 = $1; - $$sroa$18384$0 = $3; - $$sroa$33$0 = $29; - $$sroa$33397$0 = $5; - $$sroa$62$0 = $30; - } else { - $51 = $1 * $30 - $5 * $28 != 0.0; - $$2 = $51 ? $5 : $3; - $$3 = $51 ? $1 : $5; - $$5 = $51 ? $30 : $29; - $$6 = $51 ? $28 : $30; - $$pre = $$3 * $$5; - $$pre14 = $$2 * $$6; - $$0 = $51 ? 1 : 2; - $$pre$phi15Z2D = $$pre14; - $$pre$phi17Z2D = $$pre - $$pre14; - $$pre$phiZ2D = $$pre; - $$sroa$0$0 = $$6; - $$sroa$0370$0 = $$3; - $$sroa$18384$0 = $$2; - $$sroa$33$0 = $$5; - $$sroa$33397$0 = $51 ? $3 : $1; - $$sroa$62$0 = $51 ? $29 : $28; - } - if (!($$pre$phi17Z2D == 0.0) ? ($56 = ($$sroa$18384$0 * $$sroa$62$0 - $$sroa$33397$0 * $$sroa$33$0) / $$pre$phi17Z2D, $58 = $43 * $$sroa$33$0 / $$pre$phi17Z2D, $62 = $$pre$phi15Z2D - $$pre$phiZ2D, $63 = ($$sroa$0370$0 * $$sroa$62$0 - $$sroa$33397$0 * $$sroa$0$0) / $62, $65 = $43 * $$sroa$0$0 / $62, $69 = $56 * $56 + $63 * $63 + 1.0, $72 = $56 * $58 + $63 * $65, $79 = $72 * $72 - $69 * ($58 * $58 + $65 * $65 + -1.0), !($79 < 0.0)) : 0) { - $82 = +Math_sqrt(+$79); - $84 = ($82 - $72) / $69; - $86 = $58 + $56 * $84; - $88 = $65 + $63 * $84; - $90 = (-$72 - $82) / $69; - $92 = $58 + $56 * $90; - $94 = $65 + $63 * $90; - switch ($$0 & 3) { +function _finish_pass1($cinfo) { + $cinfo = $cinfo | 0; + var $0 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $30 = 0, $37 = 0, $5 = 0, $7 = 0, $add19$i$i = 0, $add22$i$i = 0, $arrayidx$i$i = 0, $b1$0$i$i = 0, $boxp$011$i$i$i = 0, $boxp$012$i$i$i = 0, $c0$070$i$i = 0, $c0max$i$i = 0, $c0total$0$lcssa$i$i = 0, $c0total$072$i$i = 0, $c0total$162$i$i = 0, $c0total$253$i$i = 0, $c0total$3$i$i = 0, $c1$060$i$i = 0, $c1max$i$i = 0, $c1min$i$i = 0, $c1min10$i$i = 0, $c1total$0$lcssa$i$i = 0, $c1total$073$i$i = 0, $c1total$163$i$i = 0, $c1total$254$i$i = 0, $c1total$3$i$i = 0, $c2$050$i$i = 0, $c2max$i$i = 0, $c2min$i$i = 0, $c2min11$i$i = 0, $c2min11$i$i$sink = 0, $c2total$0$lcssa$i$i = 0, $c2total$074$i$i = 0, $c2total$164$i$i = 0, $c2total$255$i$i = 0, $c2total$3$i$i = 0, $call$i = 0, $cmp1$i3$i$i = 0, $cmp2$i$i$i = 0, $cmp25$i$i = 0, $colormap = 0, $conv$i$i = 0, $cquantize1 = 0, $div$i$i = 0, $div40$i$i = 0, $div48$i$i = 0, $div48$i$i$sink = 0, $histp$051$i$i = 0, $i$012$i$i$i = 0, $i$013$i$i$i = 0, $i$040$i = 0, $inc$i$i = 0, $maxc$014$i$i$i = 0, $maxc$1$i$i$i = 0, $maxv$013$i$i$i = 0, $mul14$i$i = 0, $mul19$i$i = 0, $numboxes$addr$0$lcssa$i$i = 0, $numboxes$addr$011$i$i = 0, $shr$i$i = 0, $spec$select9$i$i$i = 0, $total$0$lcssa$i$i = 0, $total$071$i$i = 0, $total$161$i$i = 0, $total$252$i$i = 0, $total$3$i$i = 0, $which$014$i$i$i = 0, $which$015$i$i$i = 0, $which$1$i$i$i = 0, label = 0; + $cquantize1 = $cinfo + 484 | 0; + $0 = HEAP32[$cquantize1 >> 2] | 0; + $colormap = $cinfo + 136 | 0; + HEAP32[$colormap >> 2] = HEAP32[$0 + 16 >> 2]; + $2 = HEAP32[$0 + 20 >> 2] | 0; + $call$i = FUNCTION_TABLE_iiii[HEAP32[HEAP32[$cinfo + 4 >> 2] >> 2] & 63]($cinfo, 1, $2 << 5) | 0; + HEAP32[$call$i >> 2] = 0; + HEAP32[$call$i + 4 >> 2] = 31; + HEAP32[$call$i + 8 >> 2] = 0; + HEAP32[$call$i + 12 >> 2] = 63; + HEAP32[$call$i + 16 >> 2] = 0; + HEAP32[$call$i + 20 >> 2] = 31; + _update_box($cinfo, $call$i); + L1 : do if (($2 | 0) > 1) { + $numboxes$addr$011$i$i = 1; + while (1) { + if (($numboxes$addr$011$i$i << 1 | 0) > ($2 | 0)) { + $boxp$011$i$i$i = $call$i; + $i$012$i$i$i = 0; + $maxv$013$i$i$i = 0; + $which$014$i$i$i = 0; + while (1) { + $7 = HEAP32[$boxp$011$i$i$i + 24 >> 2] | 0; + $cmp1$i3$i$i = ($7 | 0) > ($maxv$013$i$i$i | 0); + $spec$select9$i$i$i = $cmp1$i3$i$i ? $boxp$011$i$i$i : $which$014$i$i$i; + $i$012$i$i$i = $i$012$i$i$i + 1 | 0; + if (($i$012$i$i$i | 0) == ($numboxes$addr$011$i$i | 0)) { + $b1$0$i$i = $spec$select9$i$i$i; + break; + } else { + $boxp$011$i$i$i = $boxp$011$i$i$i + 32 | 0; + $maxv$013$i$i$i = $cmp1$i3$i$i ? $7 : $maxv$013$i$i$i; + $which$014$i$i$i = $spec$select9$i$i$i; + } + } + } else { + $boxp$012$i$i$i = $call$i; + $i$013$i$i$i = 0; + $maxc$014$i$i$i = 0; + $which$015$i$i$i = 0; + while (1) { + $5 = HEAP32[$boxp$012$i$i$i + 28 >> 2] | 0; + if (($5 | 0) > ($maxc$014$i$i$i | 0)) { + $cmp2$i$i$i = (HEAP32[$boxp$012$i$i$i + 24 >> 2] | 0) > 0; + $maxc$1$i$i$i = $cmp2$i$i$i ? $5 : $maxc$014$i$i$i; + $which$1$i$i$i = $cmp2$i$i$i ? $boxp$012$i$i$i : $which$015$i$i$i; + } else { + $maxc$1$i$i$i = $maxc$014$i$i$i; + $which$1$i$i$i = $which$015$i$i$i; + } + $i$013$i$i$i = $i$013$i$i$i + 1 | 0; + if (($i$013$i$i$i | 0) == ($numboxes$addr$011$i$i | 0)) { + $b1$0$i$i = $which$1$i$i$i; + break; + } else { + $boxp$012$i$i$i = $boxp$012$i$i$i + 32 | 0; + $maxc$014$i$i$i = $maxc$1$i$i$i; + $which$015$i$i$i = $which$1$i$i$i; + } + } + } + if (!$b1$0$i$i) { + $numboxes$addr$0$lcssa$i$i = $numboxes$addr$011$i$i; + break L1; + } + $arrayidx$i$i = $call$i + ($numboxes$addr$011$i$i << 5) | 0; + $c0max$i$i = $b1$0$i$i + 4 | 0; + HEAP32[$call$i + ($numboxes$addr$011$i$i << 5) + 4 >> 2] = HEAP32[$c0max$i$i >> 2]; + $c1max$i$i = $b1$0$i$i + 12 | 0; + HEAP32[$call$i + ($numboxes$addr$011$i$i << 5) + 12 >> 2] = HEAP32[$c1max$i$i >> 2]; + $c2max$i$i = $b1$0$i$i + 20 | 0; + HEAP32[$call$i + ($numboxes$addr$011$i$i << 5) + 20 >> 2] = HEAP32[$c2max$i$i >> 2]; + HEAP32[$arrayidx$i$i >> 2] = HEAP32[$b1$0$i$i >> 2]; + $c1min$i$i = $b1$0$i$i + 8 | 0; + $c1min10$i$i = $call$i + ($numboxes$addr$011$i$i << 5) + 8 | 0; + HEAP32[$c1min10$i$i >> 2] = HEAP32[$c1min$i$i >> 2]; + $c2min$i$i = $b1$0$i$i + 16 | 0; + $c2min11$i$i = $call$i + ($numboxes$addr$011$i$i << 5) + 16 | 0; + HEAP32[$c2min11$i$i >> 2] = HEAP32[$c2min$i$i >> 2]; + $14 = HEAP32[$c0max$i$i >> 2] | 0; + $15 = HEAP32[$b1$0$i$i >> 2] | 0; + $mul14$i$i = $14 - $15 << 4; + $16 = HEAP32[$c1max$i$i >> 2] | 0; + $17 = HEAP32[$c1min$i$i >> 2] | 0; + $mul19$i$i = ($16 - $17 | 0) * 12 | 0; + $18 = HEAP32[$c2max$i$i >> 2] | 0; + $19 = HEAP32[$c2min$i$i >> 2] | 0; + $cmp25$i$i = ($mul14$i$i | 0) > ($mul19$i$i | 0); + switch ((($18 - $19 << 3 | 0) > (($cmp25$i$i ? $mul14$i$i : $mul19$i$i) | 0) ? 2 : ($cmp25$i$i ^ 1) & 1) & 3) { + case 0: + { + $div$i$i = ($15 + $14 | 0) / 2 | 0; + HEAP32[$c0max$i$i >> 2] = $div$i$i; + $c2min11$i$i$sink = $arrayidx$i$i; + $div48$i$i$sink = $div$i$i; + label = 15; + break; + } case 1: { - $$0467 = $94; - $$0468 = $90; - $$0469 = $92; - $$0470 = $88; - $$0471 = $84; - $$0472 = $86; - $$sroa$0$1 = $$sroa$0$0; - $$sroa$33$1 = $$sroa$62$0; - $$sroa$62$1 = $$sroa$33$0; + $div40$i$i = ($17 + $16 | 0) / 2 | 0; + HEAP32[$c1max$i$i >> 2] = $div40$i$i; + $c2min11$i$i$sink = $c1min10$i$i; + $div48$i$i$sink = $div40$i$i; + label = 15; break; } case 2: { - $$0467 = $92; - $$0468 = $94; - $$0469 = $90; - $$0470 = $86; - $$0471 = $88; - $$0472 = $84; - $$sroa$0$1 = $$sroa$62$0; - $$sroa$33$1 = $$sroa$33$0; - $$sroa$62$1 = $$sroa$0$0; + $div48$i$i = ($19 + $18 | 0) / 2 | 0; + HEAP32[$c2max$i$i >> 2] = $div48$i$i; + $c2min11$i$i$sink = $c2min11$i$i; + $div48$i$i$sink = $div48$i$i; + label = 15; break; } default: - { - $$0467 = $90; - $$0468 = $94; - $$0469 = $92; - $$0470 = $84; - $$0471 = $88; - $$0472 = $86; - $$sroa$0$1 = $$sroa$0$0; - $$sroa$33$1 = $$sroa$33$0; - $$sroa$62$1 = $$sroa$62$0; - } - } - $95 = $7 * $$sroa$33$1; - $96 = $9 * $$sroa$0$1; - $97 = $95 - $96; - if ($97 != 0.0) { - $$1 = 0; - $$pre$phi19Z2D = $95; - $$pre$phi21Z2D = $96; - $$pre$phi23Z2D = $97; - $$sroa$0$2 = $$sroa$0$1; - $$sroa$0333$0 = $7; - $$sroa$18$0 = $9; - $$sroa$33$2 = $$sroa$33$1; - $$sroa$33359$0 = $11; - $$sroa$62$2 = $$sroa$62$1; - } else { - $102 = $7 * $$sroa$62$1 - $11 * $$sroa$0$1 != 0.0; - $$9 = $102 ? $11 : $9; - $$10 = $102 ? $7 : $11; - $$sroa$62$1$$sroa$33$1 = $102 ? $$sroa$62$1 : $$sroa$33$1; - $$sroa$0$1$$sroa$62$1 = $102 ? $$sroa$0$1 : $$sroa$62$1; - $$pre18 = $$10 * $$sroa$62$1$$sroa$33$1; - $$pre20 = $$9 * $$sroa$0$1$$sroa$62$1; - $$1 = $102 ? 1 : 2; - $$pre$phi19Z2D = $$pre18; - $$pre$phi21Z2D = $$pre20; - $$pre$phi23Z2D = $$pre18 - $$pre20; - $$sroa$0$2 = $$sroa$0$1$$sroa$62$1; - $$sroa$0333$0 = $$10; - $$sroa$18$0 = $$9; - $$sroa$33$2 = $$sroa$62$1$$sroa$33$1; - $$sroa$33359$0 = $102 ? $9 : $7; - $$sroa$62$2 = $102 ? $$sroa$33$1 : $$sroa$0$1; - } - if (!($$pre$phi23Z2D == 0.0) ? ($107 = ($$sroa$18$0 * $$sroa$62$2 - $$sroa$33359$0 * $$sroa$33$2) / $$pre$phi23Z2D, $109 = $43 * $$sroa$33$2 / $$pre$phi23Z2D, $113 = $$pre$phi21Z2D - $$pre$phi19Z2D, $114 = ($$sroa$0333$0 * $$sroa$62$2 - $$sroa$33359$0 * $$sroa$0$2) / $113, $116 = $43 * $$sroa$0$2 / $113, $120 = $107 * $107 + $114 * $114 + 1.0, $123 = $107 * $109 + $114 * $116, $130 = $123 * $123 - $120 * ($109 * $109 + $116 * $116 + -1.0), !($130 < 0.0)) : 0) { - $133 = +Math_sqrt(+$130); - $135 = ($133 - $123) / $120; - $137 = $109 + $107 * $135; - $139 = $116 + $114 * $135; - $141 = (-$123 - $133) / $120; - $143 = $109 + $107 * $141; - $145 = $116 + $114 * $141; - switch ($$1 & 3) { - case 1: - { - $$0461 = $145; - $$0462 = $141; - $$0463 = $143; - $$0464 = $139; - $$0465 = $135; - $$0466 = $137; - break; - } - case 2: - { - $$0461 = $143; - $$0462 = $145; - $$0463 = $141; - $$0464 = $137; - $$0465 = $139; - $$0466 = $135; - break; - } - default: - { - $$0461 = $141; - $$0462 = $145; - $$0463 = $143; - $$0464 = $135; - $$0465 = $139; - $$0466 = $137; - } - } - $150 = $$0472 * $$0466 + $$0471 * $$0465 + $$0470 * $$0464; - $$0460 = $150 < 0.0 ? -$150 : $150; - $157 = $$0472 * $$0463 + $$0471 * $$0462 + $$0470 * $$0461; - $$0459 = $157 < 0.0 ? -$157 : $157; - $164 = $$0469 * $$0466 + $$0468 * $$0465 + $$0467 * $$0464; - $$0458 = $164 < 0.0 ? -$164 : $164; - $171 = $$0469 * $$0463 + $$0468 * $$0462 + $$0467 * $$0461; - $$0457 = $171 < 0.0 ? -$171 : $171; - if ($$0460 < $$0459) if ($$0460 < $$0458) if ($$0460 < $$0457) { - HEAPF64[$0 >> 3] = $$0472; - HEAPF64[$2 >> 3] = $$0471; - HEAPF64[$4 >> 3] = $$0470; - HEAPF64[$6 >> 3] = $$0466; - HEAPF64[$8 >> 3] = $$0465; - HEAPF64[$10 >> 3] = $$0464; - break; - } else { - HEAPF64[$0 >> 3] = $$0469; - HEAPF64[$2 >> 3] = $$0468; - HEAPF64[$4 >> 3] = $$0467; - HEAPF64[$6 >> 3] = $$0463; - HEAPF64[$8 >> 3] = $$0462; - HEAPF64[$10 >> 3] = $$0461; - break; - } else { - HEAPF64[$0 >> 3] = $$0469; - HEAPF64[$2 >> 3] = $$0468; - HEAPF64[$4 >> 3] = $$0467; - if ($$0458 < $$0457) { - HEAPF64[$6 >> 3] = $$0466; - HEAPF64[$8 >> 3] = $$0465; - HEAPF64[$10 >> 3] = $$0464; - break; - } else { - HEAPF64[$6 >> 3] = $$0463; - HEAPF64[$8 >> 3] = $$0462; - HEAPF64[$10 >> 3] = $$0461; - break; + {} + } + if ((label | 0) == 15) { + label = 0; + HEAP32[$c2min11$i$i$sink >> 2] = $div48$i$i$sink + 1; + } + _update_box($cinfo, $b1$0$i$i); + _update_box($cinfo, $arrayidx$i$i); + $inc$i$i = $numboxes$addr$011$i$i + 1 | 0; + if (($inc$i$i | 0) < ($2 | 0)) $numboxes$addr$011$i$i = $inc$i$i; else { + $numboxes$addr$0$lcssa$i$i = $inc$i$i; + break L1; + } + } + } else $numboxes$addr$0$lcssa$i$i = 1; while (0); + $i$040$i = 0; + do { + $22 = HEAP32[(HEAP32[$cquantize1 >> 2] | 0) + 24 >> 2] | 0; + $23 = HEAP32[$call$i + ($i$040$i << 5) >> 2] | 0; + $24 = HEAP32[$call$i + ($i$040$i << 5) + 4 >> 2] | 0; + $25 = HEAP32[$call$i + ($i$040$i << 5) + 8 >> 2] | 0; + $26 = HEAP32[$call$i + ($i$040$i << 5) + 12 >> 2] | 0; + $27 = HEAP32[$call$i + ($i$040$i << 5) + 16 >> 2] | 0; + $28 = HEAP32[$call$i + ($i$040$i << 5) + 20 >> 2] | 0; + if (($23 | 0) > ($24 | 0) | ($25 | 0) > ($26 | 0) | ($27 | 0) > ($28 | 0)) { + $c0total$0$lcssa$i$i = 0; + $c1total$0$lcssa$i$i = 0; + $c2total$0$lcssa$i$i = 0; + $total$0$lcssa$i$i = 0; + } else { + $c0$070$i$i = $23; + $c0total$072$i$i = 0; + $c1total$073$i$i = 0; + $c2total$074$i$i = 0; + $total$071$i$i = 0; + while (1) { + $29 = HEAP32[$22 + ($c0$070$i$i << 2) >> 2] | 0; + $add19$i$i = $c0$070$i$i << 3 | 4; + $c0total$162$i$i = $c0total$072$i$i; + $c1$060$i$i = $25; + $c1total$163$i$i = $c1total$073$i$i; + $c2total$164$i$i = $c2total$074$i$i; + $total$161$i$i = $total$071$i$i; + while (1) { + $add22$i$i = $c1$060$i$i << 2 | 2; + $c0total$253$i$i = $c0total$162$i$i; + $c1total$254$i$i = $c1total$163$i$i; + $c2$050$i$i = $27; + $c2total$255$i$i = $c2total$164$i$i; + $histp$051$i$i = $29 + ($c1$060$i$i << 6) + ($27 << 1) | 0; + $total$252$i$i = $total$161$i$i; + while (1) { + $30 = HEAP16[$histp$051$i$i >> 1] | 0; + $conv$i$i = $30 & 65535; + if (!($30 << 16 >> 16)) { + $c0total$3$i$i = $c0total$253$i$i; + $c1total$3$i$i = $c1total$254$i$i; + $c2total$3$i$i = $c2total$255$i$i; + $total$3$i$i = $total$252$i$i; + } else { + $c0total$3$i$i = (Math_imul($add19$i$i, $conv$i$i) | 0) + $c0total$253$i$i | 0; + $c1total$3$i$i = (Math_imul($add22$i$i, $conv$i$i) | 0) + $c1total$254$i$i | 0; + $c2total$3$i$i = (Math_imul($c2$050$i$i << 3 | 4, $conv$i$i) | 0) + $c2total$255$i$i | 0; + $total$3$i$i = $total$252$i$i + $conv$i$i | 0; + } + if (($c2$050$i$i | 0) < ($28 | 0)) { + $c0total$253$i$i = $c0total$3$i$i; + $c1total$254$i$i = $c1total$3$i$i; + $c2$050$i$i = $c2$050$i$i + 1 | 0; + $c2total$255$i$i = $c2total$3$i$i; + $histp$051$i$i = $histp$051$i$i + 2 | 0; + $total$252$i$i = $total$3$i$i; + } else break; } - } else if ($$0459 < $$0458) if ($$0459 < $$0457) { - HEAPF64[$0 >> 3] = $$0472; - HEAPF64[$2 >> 3] = $$0471; - HEAPF64[$4 >> 3] = $$0470; - HEAPF64[$6 >> 3] = $$0463; - HEAPF64[$8 >> 3] = $$0462; - HEAPF64[$10 >> 3] = $$0461; - break; + if (($c1$060$i$i | 0) < ($26 | 0)) { + $c0total$162$i$i = $c0total$3$i$i; + $c1$060$i$i = $c1$060$i$i + 1 | 0; + $c1total$163$i$i = $c1total$3$i$i; + $c2total$164$i$i = $c2total$3$i$i; + $total$161$i$i = $total$3$i$i; + } else break; + } + if (($c0$070$i$i | 0) < ($24 | 0)) { + $c0$070$i$i = $c0$070$i$i + 1 | 0; + $c0total$072$i$i = $c0total$3$i$i; + $c1total$073$i$i = $c1total$3$i$i; + $c2total$074$i$i = $c2total$3$i$i; + $total$071$i$i = $total$3$i$i; } else { - HEAPF64[$0 >> 3] = $$0469; - HEAPF64[$2 >> 3] = $$0468; - HEAPF64[$4 >> 3] = $$0467; - HEAPF64[$6 >> 3] = $$0463; - HEAPF64[$8 >> 3] = $$0462; - HEAPF64[$10 >> 3] = $$0461; + $c0total$0$lcssa$i$i = $c0total$3$i$i; + $c1total$0$lcssa$i$i = $c1total$3$i$i; + $c2total$0$lcssa$i$i = $c2total$3$i$i; + $total$0$lcssa$i$i = $total$3$i$i; break; - } else { - HEAPF64[$0 >> 3] = $$0469; - HEAPF64[$2 >> 3] = $$0468; - HEAPF64[$4 >> 3] = $$0467; - if ($$0458 < $$0457) { - HEAPF64[$6 >> 3] = $$0466; - HEAPF64[$8 >> 3] = $$0465; - HEAPF64[$10 >> 3] = $$0464; - break; - } else { - HEAPF64[$6 >> 3] = $$0463; - HEAPF64[$8 >> 3] = $$0462; - HEAPF64[$10 >> 3] = $$0461; - break; - } } } } - } while (0); + $shr$i$i = $total$0$lcssa$i$i >> 1; + HEAP8[(HEAP32[HEAP32[$colormap >> 2] >> 2] | 0) + $i$040$i >> 0] = ($c0total$0$lcssa$i$i + $shr$i$i | 0) / ($total$0$lcssa$i$i | 0) | 0; + HEAP8[(HEAP32[(HEAP32[$colormap >> 2] | 0) + 4 >> 2] | 0) + $i$040$i >> 0] = ($c1total$0$lcssa$i$i + $shr$i$i | 0) / ($total$0$lcssa$i$i | 0) | 0; + HEAP8[(HEAP32[(HEAP32[$colormap >> 2] | 0) + 8 >> 2] | 0) + $i$040$i >> 0] = ($c2total$0$lcssa$i$i + $shr$i$i | 0) / ($total$0$lcssa$i$i | 0) | 0; + $i$040$i = $i$040$i + 1 | 0; + } while (($i$040$i | 0) < ($numboxes$addr$0$lcssa$i$i | 0)); + HEAP32[$cinfo + 132 >> 2] = $numboxes$addr$0$lcssa$i$i; + $37 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$37 + 20 >> 2] = 98; + HEAP32[$37 + 24 >> 2] = $numboxes$addr$0$lcssa$i$i; + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$cinfo >> 2] | 0) + 4 >> 2] & 255]($cinfo, 1); + HEAP32[$0 + 28 >> 2] = 1; return; } -function _ar2ReadSurfaceSet($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$093 = 0, $$094 = 0, $$096 = 0, $$1 = 0, $$198 = 0, $$sink = 0, $13 = 0, $15 = 0, $17 = 0, $18 = 0, $20 = 0, $25 = 0, $3 = 0, $30 = 0, $32 = 0, $39 = 0, $4 = 0, $44 = 0, $5 = 0, $51 = 0, $6 = 0, $64 = 0, $73 = 0, $82 = 0, $89 = 0, $96 = 0, $98 = 0, $storemerge = 0, $vararg_buffer = 0, $vararg_buffer11 = 0, $vararg_buffer14 = 0, $vararg_buffer16 = 0, $vararg_buffer19 = 0, $vararg_buffer2 = 0, $vararg_buffer22 = 0, $vararg_buffer24 = 0, $vararg_buffer27 = 0, $vararg_buffer29 = 0, $vararg_buffer31 = 0, $vararg_buffer34 = 0, $vararg_buffer36 = 0, $vararg_buffer38 = 0, $vararg_buffer41 = 0, $vararg_buffer43 = 0, $vararg_buffer49 = 0, $vararg_buffer5 = 0, $vararg_buffer51 = 0, $vararg_buffer57 = 0, $vararg_buffer59 = 0, $vararg_buffer65 = 0, $vararg_buffer67 = 0, $vararg_buffer9 = 0, label = 0, sp = 0; +function _ar2GetTransMatHomographyRobust_182($initConv, $pos2d, $pos3d, $num, $conv, $inlierProb) { + $initConv = $initConv | 0; + $pos2d = $pos2d | 0; + $pos3d = $pos3d | 0; + $num = $num | 0; + $conv = $conv | 0; + $inlierProb = +$inlierProb; + var $21 = 0.0, $22 = 0.0, $5 = 0.0, $7 = 0.0, $K2$0 = 0.0, $add116 = 0.0, $add68 = 0.0, $add82 = 0.0, $add94 = 0.0, $arrayidx2 = 0, $arrayidx204 = 0, $arrayidx416 = 0, $arrayidx420 = 0, $arrayidx424 = 0, $arrayidx428 = 0, $arrayidx432 = 0, $arrayidx436 = 0, $arrayidx440 = 0, $arrayidx62 = 0, $arrayidx67 = 0, $arrayidx70 = 0, $arrayidx75 = 0, $arrayidx81 = 0, $arrayidx84 = 0, $arrayidx89 = 0, $call = 0, $call19 = 0, $call25 = 0, $call31 = 0, $conv7 = 0.0, $dH = 0, $div121 = 0.0, $div127 = 0.0, $div131 = 0.0, $div218 = 0.0, $div218$pn = 0.0, $div240 = 0.0, $err0$0 = 0.0, $err1$0 = 0.0, $i$0 = 0, $i$1 = 0, $j$0 = 0, $j$1 = 0, $j$2 = 0, $j$3 = 0, $k$0 = 0, $k$1 = 0, $mul108 = 0, $mul122 = 0, $mul205 = 0.0, $mul24 = 0, $mul273 = 0.0, $mul274 = 0, $mul278 = 0, $mul386 = 0, $mul99 = 0.0, $retval$0 = 0.0, $spec$store$select = 0, $sub = 0, $sub104 = 0.0, $sub107 = 0.0, $sub223 = 0.0, $sub269 = 0.0, $vararg_buffer = 0, $vararg_buffer1 = 0, $vararg_buffer3 = 0, $vararg_buffer5 = 0, label = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 1248 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(1248); - $vararg_buffer67 = sp + 1232 | 0; - $vararg_buffer65 = sp + 1224 | 0; - $vararg_buffer59 = sp + 1208 | 0; - $vararg_buffer57 = sp + 1200 | 0; - $vararg_buffer51 = sp + 1184 | 0; - $vararg_buffer49 = sp + 1176 | 0; - $vararg_buffer43 = sp + 1160 | 0; - $vararg_buffer41 = sp + 1152 | 0; - $vararg_buffer38 = sp + 1144 | 0; - $vararg_buffer36 = sp + 1136 | 0; - $vararg_buffer34 = sp + 1128 | 0; - $vararg_buffer31 = sp + 1120 | 0; - $vararg_buffer29 = sp + 1112 | 0; - $vararg_buffer27 = sp + 1104 | 0; - $vararg_buffer24 = sp + 1096 | 0; - $vararg_buffer22 = sp + 1088 | 0; - $vararg_buffer19 = sp + 1080 | 0; - $vararg_buffer16 = sp + 1072 | 0; - $vararg_buffer14 = sp + 1064 | 0; - $vararg_buffer11 = sp + 1056 | 0; - $vararg_buffer9 = sp + 1048 | 0; - $vararg_buffer5 = sp + 1040 | 0; - $vararg_buffer2 = sp + 1032 | 0; - $vararg_buffer = sp + 1024 | 0; - $3 = sp + 768 | 0; - $4 = sp + 512 | 0; - $5 = sp + 1236 | 0; - $6 = sp; - do if ((($1 | 0) != 0 ? (HEAP8[$1 >> 0] | 0) != 0 : 0) ? (_strcmp($1, 45135) | 0) != 0 : 0) { - HEAP32[$vararg_buffer >> 2] = $0; - HEAP32[$vararg_buffer + 4 >> 2] = $1; - _sprintf($6, 26699, $vararg_buffer) | 0; - $13 = _fopen($6, 25925) | 0; - if (!$13) { - HEAP32[$vararg_buffer2 >> 2] = $0; - _arLog(0, 3, 25927, $vararg_buffer2); - $15 = ___errno_location() | 0; - $17 = _strerror(HEAP32[$15 >> 2] | 0) | 0; - HEAP32[$vararg_buffer5 >> 2] = 67447; - HEAP32[$vararg_buffer5 + 4 >> 2] = $17; - _arLog(0, 3, 25953, $vararg_buffer5); - $$198 = 0; + STACKTOP = STACKTOP + 64 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(64); + $vararg_buffer5 = sp + 56 | 0; + $vararg_buffer3 = sp + 48 | 0; + $vararg_buffer1 = sp + 40 | 0; + $vararg_buffer = sp + 32 | 0; + $dH = sp; + do if (($num | 0) >= 4 ? ($arrayidx2 = $initConv + 44 | 0, !(+HEAPF32[$arrayidx2 >> 2] == 0.0)) : 0) { + $conv7 = +($num | 0); + $sub = ~~($conv7 * $inlierProb) + -1 | 0; + $spec$store$select = ($sub | 0) > 4 ? $sub : 4; + $call = _malloc($num << 6) | 0; + if (!$call) { + _arLog(0, 3, 46789, $vararg_buffer); + $retval$0 = -1.0; break; - } else { - $$096 = $13; - $$1 = 1; - label = 8; + } + $call19 = _malloc($num << 3) | 0; + if (!$call19) { + _arLog(0, 3, 46789, $vararg_buffer1); + _free($call); + $retval$0 = -1.0; break; } - } else label = 4; while (0); - if ((label | 0) == 4) { - _strncpy($4, $0, 255) | 0; - HEAP8[$4 + 255 >> 0] = 0; - $$096 = 0; - $$1 = 0; - label = 8; - } - do if ((label | 0) == 8) { - $18 = _malloc(1140) | 0; - if (!$18) { - _arLog(0, 3, 45930, $vararg_buffer9); - _exit(1); + $mul24 = $num << 2; + $call25 = _malloc($mul24) | 0; + if (!$call25) { + _arLog(0, 3, 46789, $vararg_buffer3); + _free($call); + _free($call19); + $retval$0 = -1.0; + break; } - $20 = ($$1 | 0) != 0; - if ($20) { - if (!(_get_buff_380($3, $$096) | 0)) { - _fclose($$096) | 0; - _free($18); - $$198 = 0; - break; - } - HEAP32[$vararg_buffer11 >> 2] = $5; - if ((_sscanf($3, 25959, $vararg_buffer11) | 0) != 1) { - _fclose($$096) | 0; - _free($18); - $$198 = 0; - break; - } - $25 = HEAP32[$5 >> 2] | 0; - if (($25 | 0) < 1) { - _fclose($$096) | 0; - _free($18); - $$198 = 0; - break; - } else $$sink = $25; - } else $$sink = 1; - HEAP32[$18 + 4 >> 2] = $$sink; - HEAP32[$18 + 152 >> 2] = 0; - $30 = _malloc($$sink * 112 | 0) | 0; - HEAP32[$18 >> 2] = $30; - if (!$30) { - _arLog(0, 3, 45930, $vararg_buffer14); - _exit(1); + $call31 = _malloc($mul24) | 0; + if (!$call31) { + _arLog(0, 3, 46789, $vararg_buffer5); + _free($call); + _free($call19); + _free($call25); + $retval$0 = -1.0; + break; } - $32 = ($2 | 0) == 0; - $storemerge = 0; - L28 : while (1) { - HEAP32[$5 >> 2] = $storemerge; - if (($storemerge | 0) >= ($$sink | 0)) { - label = 57; - break; + $j$0 = 0; + while (1) { + if (($j$0 | 0) == 3) break; + $i$0 = 0; + while (1) { + if (($i$0 | 0) == 4) break; + HEAPF32[$conv + ($j$0 << 4) + ($i$0 << 2) >> 2] = +HEAPF32[$initConv + ($j$0 << 4) + ($i$0 << 2) >> 2] / +HEAPF32[$arrayidx2 >> 2]; + $i$0 = $i$0 + 1 | 0; } - HEAP32[$vararg_buffer16 >> 2] = $storemerge + 1; - _arLog(0, 1, 25962, $vararg_buffer16); - if ($20) { - if (!(_get_buff_380($3, $$096) | 0)) { - label = 57; - break; - } - HEAP32[$vararg_buffer19 >> 2] = $4; - if ((_sscanf($3, 25986, $vararg_buffer19) | 0) != 1) { - label = 57; - break; + $j$0 = $j$0 + 1 | 0; + } + $arrayidx62 = $conv + 4 | 0; + $arrayidx67 = $conv + 12 | 0; + $arrayidx70 = $conv + 16 | 0; + $arrayidx75 = $conv + 20 | 0; + $arrayidx81 = $conv + 28 | 0; + $arrayidx84 = $conv + 32 | 0; + $arrayidx89 = $conv + 36 | 0; + $arrayidx204 = $call31 + ($spec$store$select << 2) | 0; + $arrayidx416 = $dH + 4 | 0; + $arrayidx420 = $dH + 8 | 0; + $arrayidx424 = $dH + 12 | 0; + $arrayidx428 = $dH + 16 | 0; + $arrayidx432 = $dH + 20 | 0; + $arrayidx436 = $dH + 24 | 0; + $arrayidx440 = $dH + 28 | 0; + $err0$0 = 0.0; + $i$1 = 0; + L24 : while (1) { + $j$1 = 0; + while (1) { + if (($j$1 | 0) >= ($num | 0)) break; + $5 = +HEAPF32[$pos3d + ($j$1 * 12 | 0) >> 2]; + $7 = +HEAPF32[$pos3d + ($j$1 * 12 | 0) + 4 >> 2]; + $add68 = +HEAPF32[$arrayidx67 >> 2] + (+HEAPF32[$conv >> 2] * $5 + +HEAPF32[$arrayidx62 >> 2] * $7); + $add82 = +HEAPF32[$arrayidx81 >> 2] + ($5 * +HEAPF32[$arrayidx70 >> 2] + $7 * +HEAPF32[$arrayidx75 >> 2]); + $add94 = $5 * +HEAPF32[$arrayidx84 >> 2] + $7 * +HEAPF32[$arrayidx89 >> 2] + 1.0; + if ($add94 == 0.0) { + label = 21; + break L24; } - _ar2UtilRemoveExt($4) | 0; + $mul99 = $add94 * $add94; + $sub104 = +HEAPF32[$pos2d + ($j$1 << 3) >> 2] - $add68 / $add94; + $sub107 = +HEAPF32[$pos2d + ($j$1 << 3) + 4 >> 2] - $add82 / $add94; + $mul108 = $j$1 << 1; + HEAPF32[$call19 + ($mul108 << 2) >> 2] = $sub104; + HEAPF32[$call19 + (($mul108 | 1) << 2) >> 2] = $sub107; + $add116 = $sub104 * $sub104 + $sub107 * $sub107; + HEAPF32[$call31 + ($j$1 << 2) >> 2] = $add116; + HEAPF32[$call25 + ($j$1 << 2) >> 2] = $add116; + $div121 = $5 / $add94; + $mul122 = $j$1 << 4; + HEAPF32[$call + ($mul122 << 2) >> 2] = $div121; + $div127 = $7 / $add94; + HEAPF32[$call + (($mul122 | 1) << 2) >> 2] = $div127; + $div131 = 1.0 / $add94; + HEAPF32[$call + (($mul122 | 2) << 2) >> 2] = $div131; + HEAPF32[$call + (($mul122 | 3) << 2) >> 2] = 0.0; + HEAPF32[$call + (($mul122 | 4) << 2) >> 2] = 0.0; + HEAPF32[$call + (($mul122 | 5) << 2) >> 2] = 0.0; + HEAPF32[$call + (($mul122 | 6) << 2) >> 2] = -($5 * $add68) / $mul99; + HEAPF32[$call + (($mul122 | 7) << 2) >> 2] = -($7 * $add68) / $mul99; + HEAPF32[$call + (($mul122 | 8) << 2) >> 2] = 0.0; + HEAPF32[$call + (($mul122 | 9) << 2) >> 2] = 0.0; + HEAPF32[$call + (($mul122 | 10) << 2) >> 2] = 0.0; + HEAPF32[$call + (($mul122 | 11) << 2) >> 2] = $div121; + HEAPF32[$call + (($mul122 | 12) << 2) >> 2] = $div127; + HEAPF32[$call + (($mul122 | 13) << 2) >> 2] = $div131; + HEAPF32[$call + (($mul122 | 14) << 2) >> 2] = -($5 * $add82) / $mul99; + HEAPF32[$call + (($mul122 | 15) << 2) >> 2] = -($7 * $add82) / $mul99; + $j$1 = $j$1 + 1 | 0; } - _arLog(0, 1, 25989, $vararg_buffer22); - $39 = _ar2ReadImageSet($4) | 0; - HEAP32[$30 + ((HEAP32[$5 >> 2] | 0) * 112 | 0) >> 2] = $39; - if (!$39) { - label = 26; - break; + _qsort($call31, $num, 4, 56); + $mul205 = +HEAPF32[$arrayidx204 >> 2] * 4.0; + $K2$0 = $mul205 < 16.0 ? 16.0 : $mul205; + $div218 = $K2$0 / 6.0; + $err1$0 = 0.0; + $j$2 = 0; + while (1) { + if (($j$2 | 0) == ($num | 0)) break; + $21 = +HEAPF32[$call31 + ($j$2 << 2) >> 2]; + if ($21 > $K2$0) $div218$pn = $div218; else { + $sub223 = 1.0 - $21 / $K2$0; + $div218$pn = $div218 * (1.0 - $sub223 * ($sub223 * $sub223)); + } + $err1$0 = $err1$0 + $div218$pn; + $j$2 = $j$2 + 1 | 0; } - _arLog(0, 1, 26038, $vararg_buffer27); - _arLog(0, 1, 26048, $vararg_buffer29); - $44 = _ar2ReadFeatureSet($4, 45135) | 0; - HEAP32[$30 + ((HEAP32[$5 >> 2] | 0) * 112 | 0) + 4 >> 2] = $44; - if (!$44) { - label = 29; + $div240 = $err1$0 / $conv7; + if ($div240 < .10000000149011612) { + label = 42; break; } - _arLog(0, 1, 26038, $vararg_buffer34); - if ($32) HEAP32[$30 + ((HEAP32[$5 >> 2] | 0) * 112 | 0) + 8 >> 2] = 0; else { - _arLog(0, 1, 26099, $vararg_buffer36); - _ar2UtilRemoveExt($4) | 0; - $51 = _ar2ReadMarkerSet($4, 26118, $2) | 0; - HEAP32[$30 + ((HEAP32[$5 >> 2] | 0) * 112 | 0) + 8 >> 2] = $51; - if (!$51) { - label = 33; + if (($i$1 | 0) != 0 & $div240 < 4.0) { + if (($i$1 | 0) == 10 | $div240 / $err0$0 > .9900000095367432) { + label = 42; break; } - _arLog(0, 1, 26038, $vararg_buffer41); + } else if (($i$1 | 0) == 10) { + label = 42; + break; } - L43 : do if ($20) { - if (!(_get_buff_380($3, $$096) | 0)) { - label = 57; - break L28; - } - $64 = HEAP32[$5 >> 2] | 0; - HEAP32[$vararg_buffer43 >> 2] = $30 + ($64 * 112 | 0) + 12; - HEAP32[$vararg_buffer43 + 4 >> 2] = $30 + ($64 * 112 | 0) + 16; - HEAP32[$vararg_buffer43 + 8 >> 2] = $30 + ($64 * 112 | 0) + 20; - HEAP32[$vararg_buffer43 + 12 >> 2] = $30 + ($64 * 112 | 0) + 24; - if ((_sscanf($3, 26152, $vararg_buffer43) | 0) != 4) { - label = 40; - break L28; - } - if (!(_get_buff_380($3, $$096) | 0)) { - label = 57; - break L28; - } - $73 = HEAP32[$5 >> 2] | 0; - HEAP32[$vararg_buffer51 >> 2] = $30 + ($73 * 112 | 0) + 28; - HEAP32[$vararg_buffer51 + 4 >> 2] = $30 + ($73 * 112 | 0) + 32; - HEAP32[$vararg_buffer51 + 8 >> 2] = $30 + ($73 * 112 | 0) + 36; - HEAP32[$vararg_buffer51 + 12 >> 2] = $30 + ($73 * 112 | 0) + 40; - if ((_sscanf($3, 26152, $vararg_buffer51) | 0) != 4) { - label = 43; - break L28; - } - if (!(_get_buff_380($3, $$096) | 0)) { - label = 57; - break L28; - } - $82 = HEAP32[$5 >> 2] | 0; - HEAP32[$vararg_buffer59 >> 2] = $30 + ($82 * 112 | 0) + 44; - HEAP32[$vararg_buffer59 + 4 >> 2] = $30 + ($82 * 112 | 0) + 48; - HEAP32[$vararg_buffer59 + 8 >> 2] = $30 + ($82 * 112 | 0) + 52; - HEAP32[$vararg_buffer59 + 12 >> 2] = $30 + ($82 * 112 | 0) + 56; - if ((_sscanf($3, 26152, $vararg_buffer59) | 0) != 4) { - label = 47; - break L28; - } - $96 = HEAP32[$5 >> 2] | 0; - } else { - $89 = HEAP32[$5 >> 2] | 0; - $$094 = 0; - while (1) { - if (($$094 | 0) == 3) { - $96 = $89; - break L43; - } - $$093 = 0; - while (1) { - if (($$093 | 0) == 4) break; - HEAPF32[$30 + ($89 * 112 | 0) + 12 + ($$094 << 4) + ($$093 << 2) >> 2] = ($$094 | 0) == ($$093 | 0) ? 1.0 : 0.0; - $$093 = $$093 + 1 | 0; - } - $$094 = $$094 + 1 | 0; + $j$3 = 0; + $k$0 = 0; + while (1) { + if (($j$3 | 0) == ($num | 0)) break; + $22 = +HEAPF32[$call25 + ($j$3 << 2) >> 2]; + if (!($22 <= $K2$0)) $k$1 = $k$0; else { + $sub269 = 1.0 - $22 / $K2$0; + $mul273 = $sub269 * $sub269; + $mul274 = $j$3 << 4; + $mul278 = $k$0 << 3; + HEAPF32[$call + ($mul278 << 2) >> 2] = $mul273 * +HEAPF32[$call + ($mul274 << 2) >> 2]; + HEAPF32[$call + (($mul278 | 1) << 2) >> 2] = $mul273 * +HEAPF32[$call + (($mul274 | 1) << 2) >> 2]; + HEAPF32[$call + (($mul278 | 2) << 2) >> 2] = $mul273 * +HEAPF32[$call + (($mul274 | 2) << 2) >> 2]; + HEAPF32[$call + (($mul278 | 3) << 2) >> 2] = $mul273 * +HEAPF32[$call + (($mul274 | 3) << 2) >> 2]; + HEAPF32[$call + (($mul278 | 4) << 2) >> 2] = $mul273 * +HEAPF32[$call + (($mul274 | 4) << 2) >> 2]; + HEAPF32[$call + (($mul278 | 5) << 2) >> 2] = $mul273 * +HEAPF32[$call + (($mul274 | 5) << 2) >> 2]; + HEAPF32[$call + (($mul278 | 6) << 2) >> 2] = $mul273 * +HEAPF32[$call + (($mul274 | 6) << 2) >> 2]; + HEAPF32[$call + (($mul278 | 7) << 2) >> 2] = $mul273 * +HEAPF32[$call + (($mul274 | 7) << 2) >> 2]; + HEAPF32[$call + ($mul278 + 8 << 2) >> 2] = $mul273 * +HEAPF32[$call + (($mul274 | 8) << 2) >> 2]; + HEAPF32[$call + ($mul278 + 9 << 2) >> 2] = $mul273 * +HEAPF32[$call + (($mul274 | 9) << 2) >> 2]; + HEAPF32[$call + ($mul278 + 10 << 2) >> 2] = $mul273 * +HEAPF32[$call + (($mul274 | 10) << 2) >> 2]; + HEAPF32[$call + ($mul278 + 11 << 2) >> 2] = $mul273 * +HEAPF32[$call + (($mul274 | 11) << 2) >> 2]; + HEAPF32[$call + ($mul278 + 12 << 2) >> 2] = $mul273 * +HEAPF32[$call + (($mul274 | 12) << 2) >> 2]; + HEAPF32[$call + ($mul278 + 13 << 2) >> 2] = $mul273 * +HEAPF32[$call + (($mul274 | 13) << 2) >> 2]; + HEAPF32[$call + ($mul278 + 14 << 2) >> 2] = $mul273 * +HEAPF32[$call + (($mul274 | 14) << 2) >> 2]; + HEAPF32[$call + ($mul278 + 15 << 2) >> 2] = $mul273 * +HEAPF32[$call + (($mul274 | 15) << 2) >> 2]; + $mul386 = $j$3 << 1; + HEAPF32[$call19 + ($k$0 << 2) >> 2] = $mul273 * +HEAPF32[$call19 + ($mul386 << 2) >> 2]; + HEAPF32[$call19 + ($k$0 + 1 << 2) >> 2] = $mul273 * +HEAPF32[$call19 + (($mul386 | 1) << 2) >> 2]; + $k$1 = $k$0 + 2 | 0; } - } while (0); - _arUtilMatInvf($30 + ($96 * 112 | 0) + 12 | 0, $30 + ($96 * 112 | 0) + 60 | 0) | 0; - _ar2UtilReplaceExt($4, 256, 26200) | 0; - $98 = _malloc(256) | 0; - HEAP32[$30 + ((HEAP32[$5 >> 2] | 0) * 112 | 0) + 108 >> 2] = $98; - if (!$98) { - label = 55; - break; + $j$3 = $j$3 + 1 | 0; + $k$0 = $k$1; } - _strncpy($98, $4, 256) | 0; - $storemerge = (HEAP32[$5 >> 2] | 0) + 1 | 0; - } - if ((label | 0) == 26) { - HEAP32[$vararg_buffer24 >> 2] = $4; - _arLog(0, 3, 26007, $vararg_buffer24); - _free($30); - _free($18); - if (!$$096) { - $$198 = 0; + if (($k$0 | 0) < 6) { + label = 38; break; } - _fclose($$096) | 0; - $$198 = 0; - break; - } else if ((label | 0) == 29) { - HEAP32[$vararg_buffer31 >> 2] = $4; - _arLog(0, 3, 26068, $vararg_buffer31); - _ar2FreeImageSet($30 + ((HEAP32[$5 >> 2] | 0) * 112 | 0) | 0) | 0; - _free($30); - _free($18); - if (!$$096) { - $$198 = 0; + if ((_getDeltaS_185($dH, $call19, $call, $k$0) | 0) < 0) { + label = 40; break; } - _fclose($$096) | 0; - $$198 = 0; + HEAPF32[$conv >> 2] = +HEAPF32[$dH >> 2] + +HEAPF32[$conv >> 2]; + HEAPF32[$arrayidx62 >> 2] = +HEAPF32[$arrayidx416 >> 2] + +HEAPF32[$arrayidx62 >> 2]; + HEAPF32[$arrayidx67 >> 2] = +HEAPF32[$arrayidx420 >> 2] + +HEAPF32[$arrayidx67 >> 2]; + HEAPF32[$arrayidx70 >> 2] = +HEAPF32[$arrayidx424 >> 2] + +HEAPF32[$arrayidx70 >> 2]; + HEAPF32[$arrayidx75 >> 2] = +HEAPF32[$arrayidx428 >> 2] + +HEAPF32[$arrayidx75 >> 2]; + HEAPF32[$arrayidx81 >> 2] = +HEAPF32[$arrayidx432 >> 2] + +HEAPF32[$arrayidx81 >> 2]; + HEAPF32[$arrayidx84 >> 2] = +HEAPF32[$arrayidx436 >> 2] + +HEAPF32[$arrayidx84 >> 2]; + HEAPF32[$arrayidx89 >> 2] = +HEAPF32[$arrayidx440 >> 2] + +HEAPF32[$arrayidx89 >> 2]; + $err0$0 = $div240; + $i$1 = $i$1 + 1 | 0; + } + if ((label | 0) == 21) { + _free($call); + _free($call19); + _free($call25); + _free($call31); + $retval$0 = 1.0e8; break; - } else if ((label | 0) == 33) { - HEAP32[$vararg_buffer38 >> 2] = $4; - _arLog(0, 3, 26122, $vararg_buffer38); - _ar2FreeFeatureSet($30 + ((HEAP32[$5 >> 2] | 0) * 112 | 0) + 4 | 0) | 0; - _ar2FreeImageSet($30 + ((HEAP32[$5 >> 2] | 0) * 112 | 0) | 0) | 0; - _free($30); - _free($18); - if (!$$096) { - $$198 = 0; - break; - } - _fclose($$096) | 0; - $$198 = 0; + } else if ((label | 0) == 38) { + _free($call); + _free($call19); + _free($call25); + _free($call31); + $retval$0 = -1.0; break; } else if ((label | 0) == 40) { - _arLog(0, 3, 26164, $vararg_buffer49); - _fclose($$096) | 0; - _exit(0); - } else if ((label | 0) == 43) { - _arLog(0, 3, 26164, $vararg_buffer57); - _fclose($$096) | 0; - _exit(0); - } else if ((label | 0) == 47) { - _arLog(0, 3, 26164, $vararg_buffer65); - _fclose($$096) | 0; - _exit(0); - } else if ((label | 0) == 55) { - _arLog(0, 3, 45930, $vararg_buffer67); - _exit(1); - } else if ((label | 0) == 57) { - if ($$096 | 0) _fclose($$096) | 0; - if ((HEAP32[$5 >> 2] | 0) >= ($$sink | 0)) { - $$198 = $18; - break; - } - _exit(0); + _free($call); + _free($call19); + _free($call25); + _free($call31); + $retval$0 = 1.0e8; + break; + } else if ((label | 0) == 42) { + _free($call); + _free($call19); + _free($call25); + _free($call31); + $retval$0 = $div240; + break; } - } while (0); + } else $retval$0 = 1.0e8; while (0); STACKTOP = sp; - return $$198 | 0; + return +$retval$0; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseNestedNameEPNS5_9NameStateE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$3 = 0, $$4 = 0, $$byval_copy = 0, $13 = 0, $19 = 0, $2 = 0, $20 = 0, $3 = 0, $32 = 0, $36 = 0, $37 = 0, $4 = 0, $47 = 0, $5 = 0, $53 = 0, $58 = 0, $60 = 0, $7 = 0, $8 = 0, label = 0, sp = 0; +function _jinit_1pass_quantizer($cinfo) { + $cinfo = $cinfo | 0; + var $10 = 0, $11 = 0, $12 = 0, $15 = 0, $19 = 0, $20 = 0, $22 = 0, $3 = 0, $32 = 0, $33 = 0, $35 = 0, $37 = 0, $43 = 0, $6 = 0, $7 = 0, $add$us$us$i$us$i = 0, $add$us60$i$i = 0, $arraydecay$i = 0, $arrayidx21$us$us$i$us$i = 0, $arrayidx21$us58$i$i = 0, $arrayidx39$i = 0, $blkdist$086$i = 0, $call = 0, $call$i = 0, $call24$i = 0, $changed$0$lcssa$us$i$ph$us$i = 0, $changed$0$lcssa$us$i$ph61$i = 0, $changed$046$us$us$i$us$i = 0, $changed$046$us$us$i$us$i$be = 0, $changed$046$us51$i$i = 0, $changed$046$us51$i$i$be = 0, $conv$us$i = 0, $cquantize1 = 0, $desired_number_of_colors = 0, $div$i$i = 0, $i$011$i = 0, $i$077$us$i$i = 0, $i$087$i = 0, $i$173$i$i = 0, $i$244$us$us$i$us$i = 0, $i$244$us$us$i$us$i$be = 0, $i$244$us53$i$i = 0, $i$244$us53$i$i$be = 0, $inc$us$i$i = 0, $inc30$us$us$i$us$i = 0, $inc30$us64$i$i = 0, $iroot$0$lcssa$i$i = 0, $iroot$0$us$i$i = 0, $j$068$us$i = 0, $k$063$us$us$i = 0, $mem = 0, $mul$i = 0, $mul$us$i = 0, $mul23$us$us$i$us$i = 0, $mul23$us61$i$i = 0, $out_color_components = 0, $ptr$065$us$us$i = 0, $smax$i$i = 0, $sub$i = 0, $temp$0$lcssa$lcssa$i$i = 0, $temp$078$us$i$i = 0, $total_colors$074$i$i = 0, $total_colors$2$lcssa$lcssa$i$i = 0, $total_colors$2$lcssa$us$i$ph$us$i = 0, $total_colors$2$lcssa$us$i$ph60$i = 0, $total_colors$245$us$us$i$us$i = 0, $total_colors$245$us$us$i$us$i$be = 0, $total_colors$245$us52$i$i = 0, $total_colors$245$us52$i$i$be = 0, label = 0, $blkdist$086$i$looptemp = 0; + $mem = $cinfo + 4 | 0; + $call = FUNCTION_TABLE_iiii[HEAP32[HEAP32[$mem >> 2] >> 2] & 63]($cinfo, 1, 88) | 0; + $cquantize1 = $cinfo + 484 | 0; + HEAP32[$cquantize1 >> 2] = $call; + HEAP32[$call >> 2] = 135; + HEAP32[$call + 8 >> 2] = 199; + HEAP32[$call + 12 >> 2] = 200; + HEAP32[$call + 68 >> 2] = 0; + HEAP32[$call + 52 >> 2] = 0; + $out_color_components = $cinfo + 120 | 0; + if ((HEAP32[$out_color_components >> 2] | 0) > 4) { + $3 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$3 + 20 >> 2] = 57; + HEAP32[$3 + 24 >> 2] = 4; + FUNCTION_TABLE_vi[HEAP32[HEAP32[$cinfo >> 2] >> 2] & 255]($cinfo); + } + $desired_number_of_colors = $cinfo + 96 | 0; + $6 = HEAP32[$desired_number_of_colors >> 2] | 0; + if (($6 | 0) > 256) { + $7 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$7 + 20 >> 2] = 59; + HEAP32[$7 + 24 >> 2] = 256; + FUNCTION_TABLE_vi[HEAP32[HEAP32[$cinfo >> 2] >> 2] & 255]($cinfo); + $12 = HEAP32[$desired_number_of_colors >> 2] | 0; + } else $12 = $6; + $10 = HEAP32[$cquantize1 >> 2] | 0; + $arraydecay$i = $10 + 32 | 0; + $11 = HEAP32[$out_color_components >> 2] | 0; + if (($11 | 0) > 1) { + $iroot$0$us$i$i = 1; + while (1) { + $inc$us$i$i = $iroot$0$us$i$i + 1 | 0; + $i$077$us$i$i = 1; + $temp$078$us$i$i = $inc$us$i$i; + do { + $temp$078$us$i$i = Math_imul($temp$078$us$i$i, $inc$us$i$i) | 0; + $i$077$us$i$i = $i$077$us$i$i + 1 | 0; + } while (($i$077$us$i$i | 0) != ($11 | 0)); + if (($temp$078$us$i$i | 0) > ($12 | 0)) { + $iroot$0$lcssa$i$i = $iroot$0$us$i$i; + $temp$0$lcssa$lcssa$i$i = $temp$078$us$i$i; + break; + } else $iroot$0$us$i$i = $inc$us$i$i; + } + } else { + $smax$i$i = ($12 | 0) > 1 ? $12 : 1; + $iroot$0$lcssa$i$i = $smax$i$i; + $temp$0$lcssa$lcssa$i$i = $smax$i$i + 1 | 0; + } + if ($iroot$0$lcssa$i$i >>> 0 < 2) { + $15 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$15 + 20 >> 2] = 58; + HEAP32[$15 + 24 >> 2] = $temp$0$lcssa$lcssa$i$i; + FUNCTION_TABLE_vi[HEAP32[HEAP32[$cinfo >> 2] >> 2] & 255]($cinfo); + } + L19 : do if (($11 | 0) > 0) { + $i$173$i$i = 0; + $total_colors$074$i$i = 1; + do { + HEAP32[$10 + 32 + ($i$173$i$i << 2) >> 2] = $iroot$0$lcssa$i$i; + $total_colors$074$i$i = Math_imul($total_colors$074$i$i, $iroot$0$lcssa$i$i) | 0; + $i$173$i$i = $i$173$i$i + 1 | 0; + } while (($i$173$i$i | 0) != ($11 | 0)); + if ((HEAP32[$cinfo + 44 >> 2] | 0) == 2) { + $changed$046$us$us$i$us$i = 0; + $i$244$us$us$i$us$i = 0; + $total_colors$245$us$us$i$us$i = $total_colors$074$i$i; + while (1) { + $arrayidx21$us$us$i$us$i = $10 + 32 + (HEAP32[17020 + ($i$244$us$us$i$us$i << 2) >> 2] << 2) | 0; + $19 = HEAP32[$arrayidx21$us$us$i$us$i >> 2] | 0; + $add$us$us$i$us$i = $19 + 1 | 0; + $mul23$us$us$i$us$i = Math_imul(($total_colors$245$us$us$i$us$i | 0) / ($19 | 0) | 0, $add$us$us$i$us$i) | 0; + if (($mul23$us$us$i$us$i | 0) <= ($12 | 0)) { + HEAP32[$arrayidx21$us$us$i$us$i >> 2] = $add$us$us$i$us$i; + $inc30$us$us$i$us$i = $i$244$us$us$i$us$i + 1 | 0; + if (($inc30$us$us$i$us$i | 0) < ($11 | 0)) { + $changed$046$us$us$i$us$i$be = 1; + $i$244$us$us$i$us$i$be = $inc30$us$us$i$us$i; + $total_colors$245$us$us$i$us$i$be = $mul23$us$us$i$us$i; + } else { + $changed$0$lcssa$us$i$ph$us$i = 1; + $total_colors$2$lcssa$us$i$ph$us$i = $mul23$us$us$i$us$i; + label = 22; + } + } else { + $changed$0$lcssa$us$i$ph$us$i = $changed$046$us$us$i$us$i; + $total_colors$2$lcssa$us$i$ph$us$i = $total_colors$245$us$us$i$us$i; + label = 22; + } + if ((label | 0) == 22) { + label = 0; + if (!$changed$0$lcssa$us$i$ph$us$i) { + $total_colors$2$lcssa$lcssa$i$i = $total_colors$2$lcssa$us$i$ph$us$i; + break L19; + } else { + $changed$046$us$us$i$us$i$be = 0; + $i$244$us$us$i$us$i$be = 0; + $total_colors$245$us$us$i$us$i$be = $total_colors$2$lcssa$us$i$ph$us$i; + } + } + $changed$046$us$us$i$us$i = $changed$046$us$us$i$us$i$be; + $i$244$us$us$i$us$i = $i$244$us$us$i$us$i$be; + $total_colors$245$us$us$i$us$i = $total_colors$245$us$us$i$us$i$be; + } + } else { + $changed$046$us51$i$i = 0; + $i$244$us53$i$i = 0; + $total_colors$245$us52$i$i = $total_colors$074$i$i; + while (1) { + $arrayidx21$us58$i$i = $10 + 32 + ($i$244$us53$i$i << 2) | 0; + $20 = HEAP32[$arrayidx21$us58$i$i >> 2] | 0; + $add$us60$i$i = $20 + 1 | 0; + $mul23$us61$i$i = Math_imul(($total_colors$245$us52$i$i | 0) / ($20 | 0) | 0, $add$us60$i$i) | 0; + if (($mul23$us61$i$i | 0) <= ($12 | 0)) { + HEAP32[$arrayidx21$us58$i$i >> 2] = $add$us60$i$i; + $inc30$us64$i$i = $i$244$us53$i$i + 1 | 0; + if (($inc30$us64$i$i | 0) < ($11 | 0)) { + $changed$046$us51$i$i$be = 1; + $i$244$us53$i$i$be = $inc30$us64$i$i; + $total_colors$245$us52$i$i$be = $mul23$us61$i$i; + } else { + $changed$0$lcssa$us$i$ph61$i = 1; + $total_colors$2$lcssa$us$i$ph60$i = $mul23$us61$i$i; + label = 26; + } + } else { + $changed$0$lcssa$us$i$ph61$i = $changed$046$us51$i$i; + $total_colors$2$lcssa$us$i$ph60$i = $total_colors$245$us52$i$i; + label = 26; + } + if ((label | 0) == 26) { + label = 0; + if (!$changed$0$lcssa$us$i$ph61$i) { + $total_colors$2$lcssa$lcssa$i$i = $total_colors$2$lcssa$us$i$ph60$i; + break L19; + } else { + $changed$046$us51$i$i$be = 0; + $i$244$us53$i$i$be = 0; + $total_colors$245$us52$i$i$be = $total_colors$2$lcssa$us$i$ph60$i; + } + } + $changed$046$us51$i$i = $changed$046$us51$i$i$be; + $i$244$us53$i$i = $i$244$us53$i$i$be; + $total_colors$245$us52$i$i = $total_colors$245$us52$i$i$be; + } + } + } else $total_colors$2$lcssa$lcssa$i$i = 1; while (0); + $22 = HEAP32[$cinfo >> 2] | 0; + if ((HEAP32[$out_color_components >> 2] | 0) == 3) { + HEAP32[$22 + 24 >> 2] = $total_colors$2$lcssa$lcssa$i$i; + HEAP32[$22 + 28 >> 2] = HEAP32[$arraydecay$i >> 2]; + HEAP32[$22 + 32 >> 2] = HEAP32[$10 + 36 >> 2]; + HEAP32[$22 + 36 >> 2] = HEAP32[$10 + 40 >> 2]; + HEAP32[$22 + 20 >> 2] = 96; + FUNCTION_TABLE_vii[HEAP32[$22 + 4 >> 2] & 255]($cinfo, 1); + } else { + HEAP32[$22 + 20 >> 2] = 97; + HEAP32[$22 + 24 >> 2] = $total_colors$2$lcssa$lcssa$i$i; + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$cinfo >> 2] | 0) + 4 >> 2] & 255]($cinfo, 1); + } + $call24$i = FUNCTION_TABLE_iiiii[HEAP32[(HEAP32[$mem >> 2] | 0) + 8 >> 2] & 15]($cinfo, 1, $total_colors$2$lcssa$lcssa$i$i, HEAP32[$out_color_components >> 2] | 0) | 0; + $32 = HEAP32[$out_color_components >> 2] | 0; + if (($32 | 0) > 0) { + $43 = $32; + $blkdist$086$i = $total_colors$2$lcssa$lcssa$i$i; + $i$087$i = 0; + while (1) { + $33 = HEAP32[$10 + 32 + ($i$087$i << 2) >> 2] | 0; + $blkdist$086$i$looptemp = $blkdist$086$i; + $blkdist$086$i = ($blkdist$086$i | 0) / ($33 | 0) | 0; + if (($33 | 0) > 0 ? ($sub$i = $33 + -1 | 0, $div$i$i = ($sub$i | 0) / 2 | 0, $arrayidx39$i = $call24$i + ($i$087$i << 2) | 0, ($blkdist$086$i | 0) > 0) : 0) { + $j$068$us$i = 0; + do { + $mul$us$i = Math_imul($j$068$us$i, $blkdist$086$i) | 0; + if (($mul$us$i | 0) < ($total_colors$2$lcssa$lcssa$i$i | 0)) { + $conv$us$i = ((($j$068$us$i * 255 | 0) + $div$i$i | 0) / ($sub$i | 0) | 0) & 255; + $ptr$065$us$us$i = $mul$us$i; + do { + $k$063$us$us$i = 0; + do { + HEAP8[(HEAP32[$arrayidx39$i >> 2] | 0) + ($k$063$us$us$i + $ptr$065$us$us$i) >> 0] = $conv$us$i; + $k$063$us$us$i = $k$063$us$us$i + 1 | 0; + } while (($k$063$us$us$i | 0) != ($blkdist$086$i | 0)); + $ptr$065$us$us$i = $ptr$065$us$us$i + $blkdist$086$i$looptemp | 0; + } while (($ptr$065$us$us$i | 0) < ($total_colors$2$lcssa$lcssa$i$i | 0)); + } + $j$068$us$i = $j$068$us$i + 1 | 0; + } while (($j$068$us$i | 0) != ($33 | 0)); + $35 = HEAP32[$out_color_components >> 2] | 0; + } else $35 = $43; + $i$087$i = $i$087$i + 1 | 0; + if (($i$087$i | 0) >= ($35 | 0)) break; else $43 = $35; + } + } + HEAP32[$10 + 16 >> 2] = $call24$i; + HEAP32[$10 + 20 >> 2] = $total_colors$2$lcssa$lcssa$i$i; + _create_colorindex($cinfo); + if ((HEAP32[$cinfo + 88 >> 2] | 0) != 2) return; + $37 = HEAP32[$cquantize1 >> 2] | 0; + $mul$i = (HEAP32[$cinfo + 112 >> 2] << 1) + 4 | 0; + if ((HEAP32[$out_color_components >> 2] | 0) <= 0) return; + $i$011$i = 0; + do { + $call$i = FUNCTION_TABLE_iiii[HEAP32[(HEAP32[$mem >> 2] | 0) + 4 >> 2] & 63]($cinfo, 1, $mul$i) | 0; + HEAP32[$37 + 68 + ($i$011$i << 2) >> 2] = $call$i; + $i$011$i = $i$011$i + 1 | 0; + } while (($i$011$i | 0) < (HEAP32[$out_color_components >> 2] | 0)); + return; +} +function _jpeg_idct_16x16($cinfo, $compptr, $coef_block, $output_buf, $output_col) { + $cinfo = $cinfo | 0; + $compptr = $compptr | 0; + $coef_block = $coef_block | 0; + $output_buf = $output_buf | 0; + $output_col = $output_col | 0; + var $0 = 0, $26 = 0, $27 = 0, $28 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $add = 0, $add$ptr = 0, $add$ptr163 = 0, $add102 = 0, $add103 = 0, $add106 = 0, $add107 = 0, $add170 = 0, $add172 = 0, $add180 = 0, $add182 = 0, $add187 = 0, $add189 = 0, $add191 = 0, $add193 = 0, $add199 = 0, $add23 = 0, $add234 = 0, $add236 = 0, $add244 = 0, $add247 = 0, $add248 = 0, $add25 = 0, $add251 = 0, $add252 = 0, $add30 = 0, $add32 = 0, $add34 = 0, $add36 = 0, $add54 = 0, $add8 = 0, $add89 = 0, $add9 = 0, $add91 = 0, $add99 = 0, $ctr$0354 = 0, $ctr$1350 = 0, $inptr$0351 = 0, $mul101 = 0, $mul105 = 0, $mul14 = 0, $mul168 = 0, $mul169 = 0, $mul177 = 0, $mul178 = 0, $mul18 = 0, $mul20 = 0, $mul201 = 0, $mul202 = 0, $mul204 = 0, $mul206 = 0, $mul207 = 0, $mul209 = 0, $mul21 = 0, $mul219 = 0, $mul227 = 0, $mul235 = 0, $mul240 = 0, $mul246 = 0, $mul250 = 0, $mul41 = 0, $mul45 = 0, $mul49 = 0, $mul5 = 0, $mul53 = 0, $mul56 = 0, $mul57 = 0, $mul59 = 0, $mul6 = 0, $mul61 = 0, $mul62 = 0, $mul64 = 0, $mul7 = 0, $mul74 = 0, $mul82 = 0, $mul90 = 0, $mul95 = 0, $quantptr$0352 = 0, $shl166 = 0, $sub = 0, $sub10 = 0, $sub171 = 0, $sub173 = 0, $sub176 = 0, $sub184 = 0, $sub186 = 0, $sub188 = 0, $sub19 = 0, $sub190 = 0, $sub192 = 0, $sub194 = 0, $sub213 = 0, $sub217 = 0, $sub27 = 0, $sub29 = 0, $sub31 = 0, $sub33 = 0, $sub35 = 0, $sub37 = 0, $sub68 = 0, $sub72 = 0, $workspace = 0, $wsptr$0353 = 0, $wsptr$1349 = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 512 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(512); + $workspace = sp; + $0 = HEAP32[$cinfo + 336 >> 2] | 0; + $ctr$0354 = 0; + $inptr$0351 = $coef_block; + $quantptr$0352 = HEAP32[$compptr + 84 >> 2] | 0; + $wsptr$0353 = $workspace; + while (1) { + $add = Math_imul(HEAP16[$inptr$0351 >> 1] << 13, HEAP32[$quantptr$0352 >> 2] | 0) | 0 | 1024; + $mul5 = Math_imul(HEAP32[$quantptr$0352 + 128 >> 2] | 0, HEAP16[$inptr$0351 + 64 >> 1] | 0) | 0; + $mul6 = $mul5 * 10703 | 0; + $mul7 = $mul5 * 4433 | 0; + $add8 = $mul6 + $add | 0; + $sub = $add - $mul6 | 0; + $add9 = $mul7 + $add | 0; + $sub10 = $add - $mul7 | 0; + $mul14 = Math_imul(HEAP32[$quantptr$0352 + 64 >> 2] | 0, HEAP16[$inptr$0351 + 32 >> 1] | 0) | 0; + $mul18 = Math_imul(HEAP32[$quantptr$0352 + 192 >> 2] | 0, HEAP16[$inptr$0351 + 96 >> 1] | 0) | 0; + $sub19 = $mul14 - $mul18 | 0; + $mul20 = $sub19 * 2260 | 0; + $mul21 = $sub19 * 11363 | 0; + $add23 = $mul21 + ($mul18 * 20995 | 0) | 0; + $add25 = $mul20 + ($mul14 * 7373 | 0) | 0; + $sub27 = $mul21 + (Math_imul($mul14, -4926) | 0) | 0; + $sub29 = $mul20 + (Math_imul($mul18, -4176) | 0) | 0; + $add30 = $add23 + $add8 | 0; + $sub31 = $add8 - $add23 | 0; + $add32 = $add25 + $add9 | 0; + $sub33 = $add9 - $add25 | 0; + $add34 = $sub27 + $sub10 | 0; + $sub35 = $sub10 - $sub27 | 0; + $add36 = $sub29 + $sub | 0; + $sub37 = $sub - $sub29 | 0; + $mul41 = Math_imul(HEAP32[$quantptr$0352 + 32 >> 2] | 0, HEAP16[$inptr$0351 + 16 >> 1] | 0) | 0; + $mul45 = Math_imul(HEAP32[$quantptr$0352 + 96 >> 2] | 0, HEAP16[$inptr$0351 + 48 >> 1] | 0) | 0; + $mul49 = Math_imul(HEAP32[$quantptr$0352 + 160 >> 2] | 0, HEAP16[$inptr$0351 + 80 >> 1] | 0) | 0; + $mul53 = Math_imul(HEAP32[$quantptr$0352 + 224 >> 2] | 0, HEAP16[$inptr$0351 + 112 >> 1] | 0) | 0; + $add54 = $mul49 + $mul41 | 0; + $mul56 = ($mul45 + $mul41 | 0) * 11086 | 0; + $mul57 = $add54 * 10217 | 0; + $mul59 = ($mul53 + $mul41 | 0) * 8956 | 0; + $mul61 = ($mul41 - $mul53 | 0) * 7350 | 0; + $mul62 = $add54 * 5461 | 0; + $mul64 = ($mul41 - $mul45 | 0) * 3363 | 0; + $sub68 = $mul56 + (Math_imul($mul41, -18730) | 0) + $mul57 + $mul59 | 0; + $sub72 = $mul64 + (Math_imul($mul41, -15038) | 0) + $mul62 + $mul61 | 0; + $mul74 = ($mul49 + $mul45 | 0) * 1136 | 0; + $mul82 = ($mul49 - $mul45 | 0) * 11529 | 0; + $add89 = $mul53 + $mul45 | 0; + $mul90 = Math_imul($add89, -5461) | 0; + $add91 = $mul56 + ($mul45 * 589 | 0) + $mul74 + $mul90 | 0; + $mul95 = Math_imul($add89, -10217) | 0; + $add99 = $mul64 + ($mul45 * 16154 | 0) + $mul82 + $mul95 | 0; + $mul101 = Math_imul($mul53 + $mul49 | 0, -11086) | 0; + $add102 = $mul74 + (Math_imul($mul49, -9222) | 0) + $mul57 + $mul101 | 0; + $add103 = $mul90 + ($mul53 * 8728 | 0) + $mul59 + $mul101 | 0; + $mul105 = ($mul53 - $mul49 | 0) * 3363 | 0; + $add106 = $mul95 + ($mul53 * 25733 | 0) + $mul61 + $mul105 | 0; + $add107 = $mul82 + (Math_imul($mul49, -6278) | 0) + $mul62 + $mul105 | 0; + HEAP32[$wsptr$0353 >> 2] = $sub68 + $add30 >> 11; + HEAP32[$wsptr$0353 + 480 >> 2] = $add30 - $sub68 >> 11; + HEAP32[$wsptr$0353 + 32 >> 2] = $add91 + $add32 >> 11; + HEAP32[$wsptr$0353 + 448 >> 2] = $add32 - $add91 >> 11; + HEAP32[$wsptr$0353 + 64 >> 2] = $add102 + $add34 >> 11; + HEAP32[$wsptr$0353 + 416 >> 2] = $add34 - $add102 >> 11; + HEAP32[$wsptr$0353 + 96 >> 2] = $add103 + $add36 >> 11; + HEAP32[$wsptr$0353 + 384 >> 2] = $add36 - $add103 >> 11; + HEAP32[$wsptr$0353 + 128 >> 2] = $add106 + $sub37 >> 11; + HEAP32[$wsptr$0353 + 352 >> 2] = $sub37 - $add106 >> 11; + HEAP32[$wsptr$0353 + 160 >> 2] = $add107 + $sub35 >> 11; + HEAP32[$wsptr$0353 + 320 >> 2] = $sub35 - $add107 >> 11; + HEAP32[$wsptr$0353 + 192 >> 2] = $add99 + $sub33 >> 11; + HEAP32[$wsptr$0353 + 288 >> 2] = $sub33 - $add99 >> 11; + HEAP32[$wsptr$0353 + 224 >> 2] = $sub72 + $sub31 >> 11; + HEAP32[$wsptr$0353 + 256 >> 2] = $sub31 - $sub72 >> 11; + $ctr$0354 = $ctr$0354 + 1 | 0; + if (($ctr$0354 | 0) == 8) break; else { + $inptr$0351 = $inptr$0351 + 2 | 0; + $quantptr$0352 = $quantptr$0352 + 4 | 0; + $wsptr$0353 = $wsptr$0353 + 4 | 0; + } + } + $add$ptr = $0 + -384 | 0; + $ctr$1350 = 0; + $wsptr$1349 = $workspace; + while (1) { + $add$ptr163 = (HEAP32[$output_buf + ($ctr$1350 << 2) >> 2] | 0) + $output_col | 0; + $shl166 = (HEAP32[$wsptr$1349 >> 2] << 13) + 134348800 | 0; + $26 = HEAP32[$wsptr$1349 + 16 >> 2] | 0; + $mul168 = $26 * 10703 | 0; + $mul169 = $26 * 4433 | 0; + $add170 = $shl166 + $mul168 | 0; + $sub171 = $shl166 - $mul168 | 0; + $add172 = $shl166 + $mul169 | 0; + $sub173 = $shl166 - $mul169 | 0; + $27 = HEAP32[$wsptr$1349 + 8 >> 2] | 0; + $28 = HEAP32[$wsptr$1349 + 24 >> 2] | 0; + $sub176 = $27 - $28 | 0; + $mul177 = $sub176 * 2260 | 0; + $mul178 = $sub176 * 11363 | 0; + $add180 = $mul178 + ($28 * 20995 | 0) | 0; + $add182 = $mul177 + ($27 * 7373 | 0) | 0; + $sub184 = $mul178 + (Math_imul($27, -4926) | 0) | 0; + $sub186 = $mul177 + (Math_imul($28, -4176) | 0) | 0; + $add187 = $add180 + $add170 | 0; + $sub188 = $add170 - $add180 | 0; + $add189 = $add182 + $add172 | 0; + $sub190 = $add172 - $add182 | 0; + $add191 = $sub184 + $sub173 | 0; + $sub192 = $sub173 - $sub184 | 0; + $add193 = $sub186 + $sub171 | 0; + $sub194 = $sub171 - $sub186 | 0; + $31 = HEAP32[$wsptr$1349 + 4 >> 2] | 0; + $32 = HEAP32[$wsptr$1349 + 12 >> 2] | 0; + $33 = HEAP32[$wsptr$1349 + 20 >> 2] | 0; + $34 = HEAP32[$wsptr$1349 + 28 >> 2] | 0; + $add199 = $33 + $31 | 0; + $mul201 = ($32 + $31 | 0) * 11086 | 0; + $mul202 = $add199 * 10217 | 0; + $mul204 = ($34 + $31 | 0) * 8956 | 0; + $mul206 = ($31 - $34 | 0) * 7350 | 0; + $mul207 = $add199 * 5461 | 0; + $mul209 = ($31 - $32 | 0) * 3363 | 0; + $sub213 = $mul201 + (Math_imul($31, -18730) | 0) + $mul202 + $mul204 | 0; + $sub217 = $mul209 + (Math_imul($31, -15038) | 0) + $mul207 + $mul206 | 0; + $mul219 = ($33 + $32 | 0) * 1136 | 0; + $mul227 = ($33 - $32 | 0) * 11529 | 0; + $add234 = $34 + $32 | 0; + $mul235 = Math_imul($add234, -5461) | 0; + $add236 = $mul201 + ($32 * 589 | 0) + $mul219 + $mul235 | 0; + $mul240 = Math_imul($add234, -10217) | 0; + $add244 = $mul209 + ($32 * 16154 | 0) + $mul227 + $mul240 | 0; + $mul246 = Math_imul($34 + $33 | 0, -11086) | 0; + $add247 = $mul219 + (Math_imul($33, -9222) | 0) + $mul202 + $mul246 | 0; + $add248 = $mul235 + ($34 * 8728 | 0) + $mul204 + $mul246 | 0; + $mul250 = ($34 - $33 | 0) * 3363 | 0; + $add251 = $mul240 + ($34 * 25733 | 0) + $mul206 + $mul250 | 0; + $add252 = $mul227 + (Math_imul($33, -6278) | 0) + $mul207 + $mul250 | 0; + HEAP8[$add$ptr163 >> 0] = HEAP8[$add$ptr + (($sub213 + $add187 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr163 + 15 >> 0] = HEAP8[$add$ptr + (($add187 - $sub213 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr163 + 1 >> 0] = HEAP8[$add$ptr + (($add236 + $add189 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr163 + 14 >> 0] = HEAP8[$add$ptr + (($add189 - $add236 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr163 + 2 >> 0] = HEAP8[$add$ptr + (($add247 + $add191 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr163 + 13 >> 0] = HEAP8[$add$ptr + (($add191 - $add247 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr163 + 3 >> 0] = HEAP8[$add$ptr + (($add248 + $add193 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr163 + 12 >> 0] = HEAP8[$add$ptr + (($add193 - $add248 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr163 + 4 >> 0] = HEAP8[$add$ptr + (($add251 + $sub194 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr163 + 11 >> 0] = HEAP8[$add$ptr + (($sub194 - $add251 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr163 + 5 >> 0] = HEAP8[$add$ptr + (($add252 + $sub192 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr163 + 10 >> 0] = HEAP8[$add$ptr + (($sub192 - $add252 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr163 + 6 >> 0] = HEAP8[$add$ptr + (($add244 + $sub190 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr163 + 9 >> 0] = HEAP8[$add$ptr + (($sub190 - $add244 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr163 + 7 >> 0] = HEAP8[$add$ptr + (($sub217 + $sub188 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr163 + 8 >> 0] = HEAP8[$add$ptr + (($sub188 - $sub217 | 0) >>> 18 & 1023) >> 0] | 0; + $ctr$1350 = $ctr$1350 + 1 | 0; + if (($ctr$1350 | 0) == 16) break; else $wsptr$1349 = $wsptr$1349 + 32 | 0; + } + STACKTOP = sp; + return; +} + +function __ZN6vision25bilinear_histogram_updateEPfffi($hist, $fbin, $magnitude, $num_bins) { + $hist = $hist | 0; + $fbin = +$fbin; + $magnitude = +$magnitude; + $num_bins = $num_bins | 0; + var $arrayidx = 0, $arrayidx111 = 0, $call$i1$i$i = 0, $call$i1$i$i104 = 0, $call$i1$i$i118 = 0, $call$i1$i$i34 = 0, $call$i1$i$i48 = 0, $call$i1$i$i62 = 0, $call$i1$i$i76 = 0, $call$i1$i$i90 = 0, $call$i2$i$i = 0, $call$i2$i$i107 = 0, $call$i2$i$i121 = 0, $call$i2$i$i37 = 0, $call$i2$i$i51 = 0, $call$i2$i$i65 = 0, $call$i2$i$i79 = 0, $call$i2$i$i93 = 0, $call104 = 0, $call16 = 0, $call28 = 0, $call40 = 0, $call5 = 0, $call62 = 0, $call74 = 0, $call89 = 0, $conv46 = 0, $ref$tmp$i$i113 = 0, $rem = 0, $rem53 = 0, $sub = 0.0, $sub49 = 0.0, $sub50 = 0.0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $ref$tmp$i$i113 = sp; + if (!$hist) { + $call5 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 32748) | 0, 32784) | 0, 39794) | 0, 139) | 0, 39801) | 0, 32909) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i$i113, $call5 + (HEAP32[(HEAP32[$call5 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i$i = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i$i113, 67360) | 0; + $call$i2$i$i = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i$i >> 2] | 0) + 28 >> 2] & 127]($call$i1$i$i, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i$i113); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call5, $call$i2$i$i) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call5) | 0; + _abort(); + } + if ($fbin + .5 > 0.0 ? ($sub = $fbin + -.5, $sub < +($num_bins | 0)) : 0) { + if (!($magnitude >= 0.0)) { + $call28 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 33040) | 0, 32784) | 0, 39794) | 0, 141) | 0, 39801) | 0, 33078) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i$i113, $call28 + (HEAP32[(HEAP32[$call28 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i$i48 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i$i113, 67360) | 0; + $call$i2$i$i51 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i$i48 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i$i48, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i$i113); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call28, $call$i2$i$i51) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call28) | 0; + _abort(); + } + if (($num_bins | 0) <= -1) { + $call40 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 33107) | 0, 32784) | 0, 39794) | 0, 142) | 0, 39801) | 0, 33144) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i$i113, $call40 + (HEAP32[(HEAP32[$call40 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i$i62 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i$i113, 67360) | 0; + $call$i2$i$i65 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i$i62 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i$i62, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i$i113); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call40, $call$i2$i$i65) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call40) | 0; + _abort(); + } + $conv46 = ~~+Math_floor(+$sub); + $sub49 = $fbin - +($conv46 | 0) + -.5; + $sub50 = 1.0 - $sub49; + $rem = ($conv46 + $num_bins | 0) % ($num_bins | 0) | 0; + $rem53 = ($conv46 + 1 | 0) % ($num_bins | 0) | 0; + if (!($sub50 >= 0.0)) { + $call62 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 33173) | 0, 32784) | 0, 39794) | 0, 150) | 0, 39801) | 0, 33204) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i$i113, $call62 + (HEAP32[(HEAP32[$call62 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i$i76 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i$i113, 67360) | 0; + $call$i2$i$i79 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i$i76 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i$i76, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i$i113); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call62, $call$i2$i$i79) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call62) | 0; + _abort(); + } + if (!($sub49 >= 0.0)) { + $call74 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 33224) | 0, 32784) | 0, 39794) | 0, 151) | 0, 39801) | 0, 33255) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i$i113, $call74 + (HEAP32[(HEAP32[$call74 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i$i90 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i$i113, 67360) | 0; + $call$i2$i$i93 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i$i90 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i$i90, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i$i113); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call74, $call$i2$i$i93) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call74) | 0; + _abort(); + } + if (($rem | 0) <= -1) { + $call89 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 33275) | 0, 32784) | 0, 39794) | 0, 152) | 0, 39801) | 0, 33323) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i$i113, $call89 + (HEAP32[(HEAP32[$call89 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i$i104 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i$i113, 67360) | 0; + $call$i2$i$i107 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i$i104 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i$i104, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i$i113); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call89, $call$i2$i$i107) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call89) | 0; + _abort(); + } + if (($rem53 | 0) > -1) { + $arrayidx = $hist + ($rem << 2) | 0; + HEAPF32[$arrayidx >> 2] = $sub50 * $magnitude + +HEAPF32[$arrayidx >> 2]; + $arrayidx111 = $hist + ($rem53 << 2) | 0; + HEAPF32[$arrayidx111 >> 2] = $sub49 * $magnitude + +HEAPF32[$arrayidx111 >> 2]; + STACKTOP = sp; + return; + } else { + $call104 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 33349) | 0, 32784) | 0, 39794) | 0, 153) | 0, 39801) | 0, 33397) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i$i113, $call104 + (HEAP32[(HEAP32[$call104 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i$i118 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i$i113, 67360) | 0; + $call$i2$i$i121 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i$i118 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i$i118, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i$i113); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call104, $call$i2$i$i121) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call104) | 0; + _abort(); + } + } + $call16 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 32935) | 0, 32784) | 0, 39794) | 0, 140) | 0, 39801) | 0, 33e3) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i$i113, $call16 + (HEAP32[(HEAP32[$call16 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i$i34 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i$i113, 67360) | 0; + $call$i2$i$i37 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i$i34 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i$i34, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i$i113); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call16, $call$i2$i$i37) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call16) | 0; + _abort(); +} + +function __ZN6vision32ComputeSubpixelHessianSameOctaveEPfS0_RKNS_5ImageES3_S3_ii($H, $b, $lap0, $lap1, $lap2, $x, $y) { + $H = $H | 0; + $b = $b | 0; + $lap0 = $lap0 | 0; + $lap1 = $lap1 | 0; + $lap2 = $lap2 | 0; + $x = $x | 0; + $y = $y | 0; + var $18 = 0, $6 = 0.0, $7 = 0.0, $Dx = 0, $Dxx = 0, $Dxy = 0, $Dy = 0, $Dyy = 0, $add112 = 0.0, $add13 = 0, $arrayidx = 0, $arrayidx100 = 0, $arrayidx103 = 0, $arrayidx90 = 0, $arrayidx93 = 0, $arrayidx95 = 0, $arrayidx98 = 0, $call$i1$i$i = 0, $call$i1$i$i110 = 0, $call$i1$i$i124 = 0, $call$i1$i$i68 = 0, $call$i1$i$i82 = 0, $call$i1$i$i96 = 0, $call$i2$i$i = 0, $call$i2$i$i113 = 0, $call$i2$i$i127 = 0, $call$i2$i$i71 = 0, $call$i2$i$i85 = 0, $call$i2$i$i99 = 0, $call22 = 0, $call28 = 0, $call37 = 0, $call43 = 0, $call52 = 0, $call58 = 0, $call67 = 0, $call7 = 0, $call73 = 0, $call82 = 0, $mul121 = 0.0, $mul130 = 0.0, $ref$tmp$i$i119 = 0, $sub10 = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 32 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); + $ref$tmp$i$i119 = sp + 20 | 0; + $Dx = sp + 16 | 0; + $Dy = sp + 12 | 0; + $Dxx = sp + 8 | 0; + $Dyy = sp + 4 | 0; + $Dxy = sp; + if (($x | 0) > 0 ? ($x + 1 | 0) >>> 0 < (__ZNK6vision5Image5widthEv($lap1) | 0) >>> 0 : 0) { + $sub10 = $y + -1 | 0; + if (($y | 0) > 0 ? ($add13 = $y + 1 | 0, $add13 >>> 0 < (__ZNK6vision5Image6heightEv($lap1) | 0) >>> 0) : 0) { + $call28 = __ZNK6vision5Image5widthEv($lap0) | 0; + if (($call28 | 0) != (__ZNK6vision5Image5widthEv($lap1) | 0)) { + $call37 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 30370) | 0, 28676) | 0, 39794) | 0, 311) | 0, 39801) | 0, 29264) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i$i119, $call37 + (HEAP32[(HEAP32[$call37 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i$i82 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i$i119, 67360) | 0; + $call$i2$i$i85 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i$i82 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i$i82, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i$i119); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call37, $call$i2$i$i85) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call37) | 0; + _abort(); + } + $call43 = __ZNK6vision5Image5widthEv($lap0) | 0; + if (($call43 | 0) != (__ZNK6vision5Image5widthEv($lap2) | 0)) { + $call52 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 30769) | 0, 28676) | 0, 39794) | 0, 312) | 0, 39801) | 0, 29264) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i$i119, $call52 + (HEAP32[(HEAP32[$call52 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i$i96 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i$i119, 67360) | 0; + $call$i2$i$i99 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i$i96 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i$i96, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i$i119); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call52, $call$i2$i$i99) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call52) | 0; + _abort(); + } + $call58 = __ZNK6vision5Image6heightEv($lap0) | 0; + if (($call58 | 0) != (__ZNK6vision5Image6heightEv($lap1) | 0)) { + $call67 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 30422) | 0, 28676) | 0, 39794) | 0, 313) | 0, 39801) | 0, 29264) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i$i119, $call67 + (HEAP32[(HEAP32[$call67 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i$i110 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i$i119, 67360) | 0; + $call$i2$i$i113 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i$i110 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i$i110, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i$i119); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call67, $call$i2$i$i113) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call67) | 0; + _abort(); + } + $call73 = __ZNK6vision5Image6heightEv($lap0) | 0; + if (($call73 | 0) == (__ZNK6vision5Image6heightEv($lap2) | 0)) { + $arrayidx = (__ZNK6vision5Image3getIfEEPKT_m($lap0, $sub10) | 0) + ($x << 2) | 0; + $arrayidx90 = (__ZNK6vision5Image3getIfEEPKT_m($lap0, $y) | 0) + ($x << 2) | 0; + $arrayidx93 = (__ZNK6vision5Image3getIfEEPKT_m($lap0, $add13) | 0) + ($x << 2) | 0; + $arrayidx95 = (__ZNK6vision5Image3getIfEEPKT_m($lap1, $y) | 0) + ($x << 2) | 0; + $arrayidx98 = (__ZNK6vision5Image3getIfEEPKT_m($lap2, $sub10) | 0) + ($x << 2) | 0; + $arrayidx100 = (__ZNK6vision5Image3getIfEEPKT_m($lap2, $y) | 0) + ($x << 2) | 0; + $arrayidx103 = (__ZNK6vision5Image3getIfEEPKT_m($lap2, $add13) | 0) + ($x << 2) | 0; + __ZN6vision26ComputeSubpixelDerivativesERfS0_S0_S0_S0_RKNS_5ImageEii($Dx, $Dy, $Dxx, $Dyy, $Dxy, $lap1, $x, $y); + $6 = +HEAPF32[$arrayidx100 >> 2]; + $7 = +HEAPF32[$arrayidx90 >> 2]; + $add112 = $6 + ($7 - +HEAPF32[$arrayidx95 >> 2] * 2.0); + $mul121 = (+HEAPF32[$arrayidx90 + -4 >> 2] - +HEAPF32[$arrayidx90 + 4 >> 2] + (+HEAPF32[$arrayidx100 + 4 >> 2] - +HEAPF32[$arrayidx100 + -4 >> 2])) * .25; + $mul130 = (+HEAPF32[$arrayidx >> 2] - +HEAPF32[$arrayidx93 >> 2] + (+HEAPF32[$arrayidx103 >> 2] - +HEAPF32[$arrayidx98 >> 2])) * .25; + HEAP32[$H >> 2] = HEAP32[$Dxx >> 2]; + $18 = HEAP32[$Dxy >> 2] | 0; + HEAP32[$H + 4 >> 2] = $18; + HEAPF32[$H + 8 >> 2] = $mul121; + HEAP32[$H + 12 >> 2] = $18; + HEAP32[$H + 16 >> 2] = HEAP32[$Dyy >> 2]; + HEAPF32[$H + 20 >> 2] = $mul130; + HEAPF32[$H + 24 >> 2] = $mul121; + HEAPF32[$H + 28 >> 2] = $mul130; + HEAPF32[$H + 32 >> 2] = $add112; + HEAPF32[$b >> 2] = -+HEAPF32[$Dx >> 2]; + HEAPF32[$b + 4 >> 2] = -+HEAPF32[$Dy >> 2]; + HEAPF32[$b + 8 >> 2] = -(($6 - $7) * .5); + STACKTOP = sp; + return; + } else { + $call82 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 30821) | 0, 28676) | 0, 39794) | 0, 314) | 0, 39801) | 0, 29264) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i$i119, $call82 + (HEAP32[(HEAP32[$call82 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i$i124 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i$i119, 67360) | 0; + $call$i2$i$i127 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i$i124 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i$i124, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i$i119); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call82, $call$i2$i$i127) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call82) | 0; + _abort(); + } + } + $call22 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 29132) | 0, 28676) | 0, 39794) | 0, 310) | 0, 39801) | 0, 29191) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i$i119, $call22 + (HEAP32[(HEAP32[$call22 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i$i68 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i$i119, 67360) | 0; + $call$i2$i$i71 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i$i68 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i$i68, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i$i119); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call22, $call$i2$i$i71) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call22) | 0; + _abort(); + } + $call7 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 29058) | 0, 28676) | 0, 39794) | 0, 309) | 0, 39801) | 0, 29116) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i$i119, $call7 + (HEAP32[(HEAP32[$call7 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i$i = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i$i119, 67360) | 0; + $call$i2$i$i = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i$i >> 2] | 0) + 28 >> 2] & 127]($call$i1$i$i, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i$i119); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call7, $call$i2$i$i) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call7) | 0; + _abort(); +} + +function _hexfloat($f, $bits, $emin, $sign, $pok) { + $f = $f | 0; + $bits = $bits | 0; + $emin = $emin | 0; + $sign = $sign | 0; + $pok = $pok | 0; + var $$pre = 0, $0 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $110 = 0, $111 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $18 = 0, $28 = 0, $3 = 0, $30 = 0, $37 = 0, $38 = 0, $39 = 0, $40 = 0, $46 = 0, $47 = 0, $55 = 0, $56 = 0, $6 = 0, $64 = 0, $66 = 0, $68 = 0, $69 = 0, $70 = 0, $71 = 0, $73 = 0, $80 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $91 = 0, $94 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, $bias$0 = 0.0, $bits$addr$0 = 0, $bits$addr$0109 = 0, $bits$addr$0110 = 0, $c$0 = 0, $c$0$be = 0, $c$0$ph = 0, $c$3 = 0, $c$3$be = 0, $c$3$lcssa = 0, $c$3$ph = 0, $call187 = 0, $call197 = 0, $call263 = 0, $cmp206 = 0, $cmp54 = 0, $cond29 = 0, $cond46 = 0, $conv241112 = 0.0, $conv253$pre$phiZ2D = 0.0, $d$0 = 0, $div = 0.0, $gotdig$0 = 0, $gotdig$3 = 0, $gotdig$3$ph = 0, $gotdig$4 = 0, $gotrad$1 = 0, $gotrad$1$ph = 0, $gotrad$2 = 0, $gottail$0 = 0, $gottail$1 = 0, $gottail$2 = 0, $mul143 = 0, $or$cond = 0, $or$cond103 = 0, $retval$0 = 0.0, $rpos = 0, $scale$0 = 0.0, $scale$1 = 0.0, $scale$2 = 0.0, $shend = 0, $sub = 0, $sub182 = 0, $sub192 = 0, $sub239111 = 0, $sub260 = 0.0, $tobool108 = 0, $tobool138 = 0, $x$0 = 0, $x$1 = 0, $x$2 = 0, $x$3$lcssa = 0, $x$3125 = 0, $x$4$lcssa = 0, $x$4119 = 0, $x$5 = 0, $y$0 = 0.0, $y$1 = 0.0, $y$2 = 0.0, $y$3$lcssa = 0.0, $y$3120 = 0.0, $y$4 = 0.0, label = 0, $46$looptemp = 0, $47$looptemp = 0; + $rpos = $f + 4 | 0; + $0 = HEAP32[$rpos >> 2] | 0; + $shend = $f + 104 | 0; + if ($0 >>> 0 < (HEAP32[$shend >> 2] | 0) >>> 0) { + HEAP32[$rpos >> 2] = $0 + 1; + $c$0$ph = HEAPU8[$0 >> 0] | 0; + } else $c$0$ph = ___shgetc($f) | 0; + $c$0 = $c$0$ph; + $gotdig$0 = 0; + L5 : while (1) { + switch ($c$0 | 0) { + case 46: + { + label = 10; + break L5; + break; + } + case 48: + break; + default: + { + $106 = 0; + $107 = 0; + $c$3$ph = $c$0; + $gotdig$3$ph = $gotdig$0; + $gotrad$1$ph = 0; + break L5; + } + } + $3 = HEAP32[$rpos >> 2] | 0; + if ($3 >>> 0 < (HEAP32[$shend >> 2] | 0) >>> 0) { + HEAP32[$rpos >> 2] = $3 + 1; + $c$0$be = HEAPU8[$3 >> 0] | 0; + } else $c$0$be = ___shgetc($f) | 0; + $c$0 = $c$0$be; + $gotdig$0 = 1; + } + if ((label | 0) == 10) { + $6 = HEAP32[$rpos >> 2] | 0; + if ($6 >>> 0 < (HEAP32[$shend >> 2] | 0) >>> 0) { + HEAP32[$rpos >> 2] = $6 + 1; + $cond29 = HEAPU8[$6 >> 0] | 0; + } else $cond29 = ___shgetc($f) | 0; + if (($cond29 | 0) == 48) { + $12 = 0; + $13 = 0; + while (1) { + $9 = HEAP32[$rpos >> 2] | 0; + if ($9 >>> 0 < (HEAP32[$shend >> 2] | 0) >>> 0) { + HEAP32[$rpos >> 2] = $9 + 1; + $cond46 = HEAPU8[$9 >> 0] | 0; + } else $cond46 = ___shgetc($f) | 0; + $14 = _i64Add($12 | 0, $13 | 0, -1, -1) | 0; + $15 = getTempRet0() | 0; + if (($cond46 | 0) == 48) { + $12 = $14; + $13 = $15; + } else { + $106 = $14; + $107 = $15; + $c$3$ph = $cond46; + $gotdig$3$ph = 1; + $gotrad$1$ph = 1; + break; + } + } + } else { + $106 = 0; + $107 = 0; + $c$3$ph = $cond29; + $gotdig$3$ph = $gotdig$0; + $gotrad$1$ph = 1; + } + } + $16 = 0; + $18 = 0; + $37 = $106; + $39 = $107; + $c$3 = $c$3$ph; + $gotdig$3 = $gotdig$3$ph; + $gotrad$1 = $gotrad$1$ph; + $gottail$0 = 0; + $scale$0 = 1.0; + $x$0 = 0; + $y$0 = 0.0; + while (1) { + $sub = $c$3 + -48 | 0; + $$pre = $c$3 | 32; + if ($sub >>> 0 >= 10) { + $cmp54 = ($c$3 | 0) == 46; + if (!($cmp54 | ($$pre + -97 | 0) >>> 0 < 6)) { + $c$3$lcssa = $c$3; + break; + } + if ($cmp54) if (!$gotrad$1) { + $108 = $18; + $109 = $16; + $110 = $18; + $111 = $16; + $gotdig$4 = $gotdig$3; + $gotrad$2 = 1; + $gottail$2 = $gottail$0; + $scale$2 = $scale$0; + $x$2 = $x$0; + $y$2 = $y$0; + } else { + $c$3$lcssa = 46; + break; + } else label = 24; + } else label = 24; + if ((label | 0) == 24) { + label = 0; + $d$0 = ($c$3 | 0) > 57 ? $$pre + -87 | 0 : $sub; + do if (!(($16 | 0) < 0 | ($16 | 0) == 0 & $18 >>> 0 < 8)) if (($16 | 0) < 0 | ($16 | 0) == 0 & $18 >>> 0 < 14) { + $div = $scale$0 * .0625; + $gottail$1 = $gottail$0; + $scale$1 = $div; + $x$1 = $x$0; + $y$1 = $y$0 + $div * +($d$0 | 0); + break; + } else { + $or$cond = ($gottail$0 | 0) != 0 | ($d$0 | 0) == 0; + $gottail$1 = $or$cond ? $gottail$0 : 1; + $scale$1 = $scale$0; + $x$1 = $x$0; + $y$1 = $or$cond ? $y$0 : $y$0 + $scale$0 * .5; + break; + } else { + $gottail$1 = $gottail$0; + $scale$1 = $scale$0; + $x$1 = $d$0 + ($x$0 << 4) | 0; + $y$1 = $y$0; + } while (0); + $28 = _i64Add($18 | 0, $16 | 0, 1, 0) | 0; + $108 = $37; + $109 = $39; + $110 = $28; + $111 = getTempRet0() | 0; + $gotdig$4 = 1; + $gotrad$2 = $gotrad$1; + $gottail$2 = $gottail$1; + $scale$2 = $scale$1; + $x$2 = $x$1; + $y$2 = $y$1; + } + $30 = HEAP32[$rpos >> 2] | 0; + if ($30 >>> 0 < (HEAP32[$shend >> 2] | 0) >>> 0) { + HEAP32[$rpos >> 2] = $30 + 1; + $c$3$be = HEAPU8[$30 >> 0] | 0; + } else $c$3$be = ___shgetc($f) | 0; + $16 = $111; + $18 = $110; + $37 = $108; + $39 = $109; + $c$3 = $c$3$be; + $gotdig$3 = $gotdig$4; + $gotrad$1 = $gotrad$2; + $gottail$0 = $gottail$2; + $scale$0 = $scale$2; + $x$0 = $x$2; + $y$0 = $y$2; + } + do if (!$gotdig$3) { + $tobool108 = (HEAP32[$shend >> 2] | 0) == 0; + if (!$tobool108) HEAP32[$rpos >> 2] = (HEAP32[$rpos >> 2] | 0) + -1; + if ($pok) { + if (!$tobool108 ? (HEAP32[$rpos >> 2] = (HEAP32[$rpos >> 2] | 0) + -1, !(($gotrad$1 | 0) == 0 | $tobool108)) : 0) HEAP32[$rpos >> 2] = (HEAP32[$rpos >> 2] | 0) + -1; + } else ___shlim($f, 0, 0); + $retval$0 = +($sign | 0) * 0.0; + } else { + $tobool138 = ($gotrad$1 | 0) == 0; + $38 = $tobool138 ? $18 : $37; + $40 = $tobool138 ? $16 : $39; + if (($16 | 0) < 0 | ($16 | 0) == 0 & $18 >>> 0 < 8) { + $46 = $18; + $47 = $16; + $x$3125 = $x$0; + while (1) { + $mul143 = $x$3125 << 4; + $46$looptemp = $46; + $46 = _i64Add($46 | 0, $47 | 0, 1, 0) | 0; + $47$looptemp = $47; + $47 = getTempRet0() | 0; + if (!(($47$looptemp | 0) < 0 | ($47$looptemp | 0) == 0 & $46$looptemp >>> 0 < 7)) { + $x$3$lcssa = $mul143; + break; + } else $x$3125 = $mul143; + } + } else $x$3$lcssa = $x$0; + if (($c$3$lcssa | 32 | 0) == 112) { + $55 = _scanexp($f, $pok) | 0; + $56 = getTempRet0() | 0; + if (($55 | 0) == 0 & ($56 | 0) == -2147483648) { + if (!$pok) { + ___shlim($f, 0, 0); + $retval$0 = 0.0; + break; + } + if (!(HEAP32[$shend >> 2] | 0)) { + $68 = 0; + $69 = 0; + } else { + HEAP32[$rpos >> 2] = (HEAP32[$rpos >> 2] | 0) + -1; + $68 = 0; + $69 = 0; + } + } else { + $68 = $55; + $69 = $56; + } + } else if (!(HEAP32[$shend >> 2] | 0)) { + $68 = 0; + $69 = 0; + } else { + HEAP32[$rpos >> 2] = (HEAP32[$rpos >> 2] | 0) + -1; + $68 = 0; + $69 = 0; + } + $64 = _bitshift64Shl($38 | 0, $40 | 0, 2) | 0; + $66 = _i64Add($64 | 0, getTempRet0() | 0, -32, -1) | 0; + $70 = _i64Add($66 | 0, getTempRet0() | 0, $68 | 0, $69 | 0) | 0; + $71 = getTempRet0() | 0; + if (!$x$3$lcssa) { + $retval$0 = +($sign | 0) * 0.0; + break; + } + $sub182 = 0 - $emin | 0; + $73 = (($sub182 | 0) < 0) << 31 >> 31; + if (($71 | 0) > ($73 | 0) | ($71 | 0) == ($73 | 0) & $70 >>> 0 > $sub182 >>> 0) { + $call187 = ___errno_location() | 0; + HEAP32[$call187 >> 2] = 68; + $retval$0 = +($sign | 0) * 1797693134862315708145274.0e284 * 1797693134862315708145274.0e284; + break; + } + $sub192 = $emin + -106 | 0; + $80 = (($sub192 | 0) < 0) << 31 >> 31; + if (($71 | 0) < ($80 | 0) | ($71 | 0) == ($80 | 0) & $70 >>> 0 < $sub192 >>> 0) { + $call197 = ___errno_location() | 0; + HEAP32[$call197 >> 2] = 68; + $retval$0 = +($sign | 0) * 2.2250738585072014e-308 * 2.2250738585072014e-308; + break; + } + if (($x$3$lcssa | 0) > -1) { + $86 = $70; + $87 = $71; + $x$4119 = $x$3$lcssa; + $y$3120 = $y$0; + while (1) { + $cmp206 = !($y$3120 >= .5); + $x$5 = $x$4119 << 1 | ($cmp206 ^ 1) & 1; + $y$4 = $y$3120 + ($cmp206 ? $y$3120 : $y$3120 + -1.0); + $88 = _i64Add($86 | 0, $87 | 0, -1, -1) | 0; + $89 = getTempRet0() | 0; + if (($x$5 | 0) > -1) { + $86 = $88; + $87 = $89; + $x$4119 = $x$5; + $y$3120 = $y$4; + } else { + $96 = $88; + $97 = $89; + $x$4$lcssa = $x$5; + $y$3$lcssa = $y$4; + break; + } + } + } else { + $96 = $70; + $97 = $71; + $x$4$lcssa = $x$3$lcssa; + $y$3$lcssa = $y$0; + } + $91 = (($bits | 0) < 0) << 31 >> 31; + $94 = _i64Subtract(32, 0, $emin | 0, (($emin | 0) < 0) << 31 >> 31 | 0) | 0; + $98 = _i64Add($94 | 0, getTempRet0() | 0, $96 | 0, $97 | 0) | 0; + $99 = getTempRet0() | 0; + if (($99 | 0) < ($91 | 0) | ($99 | 0) == ($91 | 0) & $98 >>> 0 < $bits >>> 0) if (($98 | 0) > 0) { + $bits$addr$0 = $98; + label = 65; + } else { + $bits$addr$0110 = 0; + $sub239111 = 84; + label = 67; + } else { + $bits$addr$0 = $bits; + label = 65; + } + if ((label | 0) == 65) if (($bits$addr$0 | 0) < 53) { + $bits$addr$0110 = $bits$addr$0; + $sub239111 = 84 - $bits$addr$0 | 0; + label = 67; + } else { + $bias$0 = 0.0; + $bits$addr$0109 = $bits$addr$0; + $conv253$pre$phiZ2D = +($sign | 0); + } + if ((label | 0) == 67) { + $conv241112 = +($sign | 0); + $bias$0 = +_copysignl(+_scalbn(1.0, $sub239111), $conv241112); + $bits$addr$0109 = $bits$addr$0110; + $conv253$pre$phiZ2D = $conv241112; + } + $or$cond103 = ($x$4$lcssa & 1 | 0) == 0 & ($y$3$lcssa != 0.0 & ($bits$addr$0109 | 0) < 32); + $sub260 = ($or$cond103 ? 0.0 : $y$3$lcssa) * $conv253$pre$phiZ2D + ($bias$0 + $conv253$pre$phiZ2D * +(($x$4$lcssa + ($or$cond103 & 1) | 0) >>> 0)) - $bias$0; + if (!($sub260 != 0.0)) { + $call263 = ___errno_location() | 0; + HEAP32[$call263 >> 2] = 68; + } + $retval$0 = +_scalbnl($sub260, $96); + } while (0); + return +$retval$0; +} + +function _kpmMatching($kpmHandle, $inImageLuma) { + $kpmHandle = $kpmHandle | 0; + $inImageLuma = $inImageLuma | 0; + var $0 = 0, $1 = 0, $12 = 0, $13 = 0.0, $14 = 0.0, $15 = 0, $16 = 0, $17 = 0, $19 = 0, $2 = 0, $20 = 0.0, $21 = 0.0, $22 = 0, $23 = 0, $24 = 0, $26 = 0, $27 = 0.0, $28 = 0.0, $29 = 0, $30 = 0, $31 = 0, $33 = 0, $34 = 0.0, $35 = 0.0, $36 = 0, $37 = 0, $38 = 0, $40 = 0, $41 = 0.0, $42 = 0.0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $49 = 0, $53 = 0, $56 = 0, $57 = 0, $62 = 0, $64 = 0, $8 = 0, $9 = 0, $call = 0, $call13 = 0, $call261 = 0, $call263 = 0, $call269 = 0, $call27 = 0, $call271 = 0, $call34 = 0, $cmp = 0, $conv = 0.0, $coord = 0, $cparamLT = 0, $cparamLT124 = 0, $cparamLT169 = 0, $cparamLT212 = 0, $cparamLT267$pre$phiZ2D = 0, $cparamLT79 = 0, $i$0 = 0, $i$1 = 0, $i$2 = 0, $i$3 = 0, $i$4 = 0, $i$5 = 0, $i$6 = 0, $imageLuma$0 = 0, $imageLumaWasAllocated$0 = 0, $num = 0, $pageInfo = 0, $pageLoop$0 = 0, $result = 0, $result305 = 0, $result316$pre$phiZ2D = 0, $resultNum = 0, $retval$0 = 0, $sub$ptr$div$i = 0, $sub$ptr$div$i189 = 0, $sub$ptr$sub$i = 0, $vararg_buffer = 0, $vararg_buffer1 = 0, $vararg_buffer3 = 0, $xsize2 = 0, $ysize2 = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 48 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); + $vararg_buffer3 = sp + 16 | 0; + $vararg_buffer1 = sp + 8 | 0; + $vararg_buffer = sp; + $xsize2 = sp + 44 | 0; + $ysize2 = sp + 40 | 0; + do if (($kpmHandle | 0) != 0 & ($inImageLuma | 0) != 0) { + $0 = HEAP32[$kpmHandle + 12 >> 2] | 0; + $1 = HEAP32[$kpmHandle + 16 >> 2] | 0; + $2 = HEAP32[$kpmHandle + 20 >> 2] | 0; + $cmp = ($2 | 0) == 1; + if (!$cmp) { + $call = _kpmUtilResizeImage($inImageLuma, $0, $1, $2, $xsize2, $ysize2) | 0; + if (!$call) { + $retval$0 = -1; + break; + } else { + $imageLuma$0 = $call; + $imageLumaWasAllocated$0 = 1; + } + } else { + $imageLuma$0 = $inImageLuma; + $imageLumaWasAllocated$0 = 0; + } + __ZN6vision20VisualDatabaseFacade5queryEPhmm(HEAP32[$kpmHandle >> 2] | 0, $imageLuma$0, $0, $1) | 0; + $call13 = __ZNK6vision20VisualDatabaseFacade21getQueryFeaturePointsEv(HEAP32[$kpmHandle >> 2] | 0) | 0; + $sub$ptr$sub$i = (HEAP32[$call13 + 4 >> 2] | 0) - (HEAP32[$call13 >> 2] | 0) | 0; + $sub$ptr$div$i = ($sub$ptr$sub$i | 0) / 20 | 0; + $num = $kpmHandle + 48 | 0; + HEAP32[$num >> 2] = $sub$ptr$div$i; + L6 : do if (!$sub$ptr$sub$i) { + $62 = HEAP32[$kpmHandle + 56 >> 2] | 0; + $result305 = $kpmHandle + 52 | 0; + $i$5 = 0; + while (1) { + if (($i$5 | 0) >= ($62 | 0)) { + $64 = $62; + $result316$pre$phiZ2D = $result305; + break L6; + } + HEAP32[(HEAP32[$result305 >> 2] | 0) + ($i$5 * 68 | 0) + 60 >> 2] = -1; + $i$5 = $i$5 + 1 | 0; + } + } else { + $coord = $kpmHandle + 44 | 0; + $8 = HEAP32[$coord >> 2] | 0; + if (!$8) $9 = $sub$ptr$div$i; else { + _free($8); + $9 = HEAP32[$num >> 2] | 0; + } + $call27 = _malloc($9 << 3) | 0; + HEAP32[$coord >> 2] = $call27; + if (!$call27) { + _arLog(0, 3, 46772, $vararg_buffer1); + _exit(1); + } + $call34 = __ZNK6vision20VisualDatabaseFacade21getQueryFeaturePointsEv(HEAP32[$kpmHandle >> 2] | 0) | 0; + L18 : do if ($cmp) { + $cparamLT = $kpmHandle + 4 | 0; + $i$0 = 0; + while (1) { + if (($i$0 | 0) >= (HEAP32[$num >> 2] | 0)) { + $cparamLT267$pre$phiZ2D = $cparamLT; + break L18; + } + $12 = HEAP32[$call34 >> 2] | 0; + $13 = +HEAPF32[$12 + ($i$0 * 20 | 0) >> 2]; + $14 = +HEAPF32[$12 + ($i$0 * 20 | 0) + 4 >> 2]; + $15 = HEAP32[$cparamLT >> 2] | 0; + if (!$15) { + $17 = HEAP32[$coord >> 2] | 0; + HEAPF32[$17 + ($i$0 << 3) >> 2] = $13; + HEAPF32[$17 + ($i$0 << 3) + 4 >> 2] = $14; + } else { + $16 = HEAP32[$coord >> 2] | 0; + _arParamObserv2IdealLTf($15 + 184 | 0, $13, $14, $16 + ($i$0 << 3) | 0, $16 + ($i$0 << 3) + 4 | 0) | 0; + } + $i$0 = $i$0 + 1 | 0; + } + } else switch ($2 | 0) { + case 5: + { + $cparamLT79 = $kpmHandle + 4 | 0; + $i$1 = 0; + while (1) { + if (($i$1 | 0) >= (HEAP32[$num >> 2] | 0)) { + $cparamLT267$pre$phiZ2D = $cparamLT79; + break L18; + } + $19 = HEAP32[$call34 >> 2] | 0; + $20 = +HEAPF32[$19 + ($i$1 * 20 | 0) >> 2]; + $21 = +HEAPF32[$19 + ($i$1 * 20 | 0) + 4 >> 2]; + $22 = HEAP32[$cparamLT79 >> 2] | 0; + if (!$22) { + $24 = HEAP32[$coord >> 2] | 0; + HEAPF32[$24 + ($i$1 << 3) >> 2] = $20 * 1.5; + HEAPF32[$24 + ($i$1 << 3) + 4 >> 2] = $21 * 1.5; + } else { + $23 = HEAP32[$coord >> 2] | 0; + _arParamObserv2IdealLTf($22 + 184 | 0, $20 * 1.5, $21 * 1.5, $23 + ($i$1 << 3) | 0, $23 + ($i$1 << 3) + 4 | 0) | 0; + } + $i$1 = $i$1 + 1 | 0; + } + break; + } + case 2: + { + $cparamLT124 = $kpmHandle + 4 | 0; + $i$2 = 0; + while (1) { + if (($i$2 | 0) >= (HEAP32[$num >> 2] | 0)) { + $cparamLT267$pre$phiZ2D = $cparamLT124; + break L18; + } + $26 = HEAP32[$call34 >> 2] | 0; + $27 = +HEAPF32[$26 + ($i$2 * 20 | 0) >> 2]; + $28 = +HEAPF32[$26 + ($i$2 * 20 | 0) + 4 >> 2]; + $29 = HEAP32[$cparamLT124 >> 2] | 0; + if (!$29) { + $31 = HEAP32[$coord >> 2] | 0; + HEAPF32[$31 + ($i$2 << 3) >> 2] = $27 * 2.0; + HEAPF32[$31 + ($i$2 << 3) + 4 >> 2] = $28 * 2.0; + } else { + $30 = HEAP32[$coord >> 2] | 0; + _arParamObserv2IdealLTf($29 + 184 | 0, $27 * 2.0, $28 * 2.0, $30 + ($i$2 << 3) | 0, $30 + ($i$2 << 3) + 4 | 0) | 0; + } + $i$2 = $i$2 + 1 | 0; + } + break; + } + case 4: + { + $cparamLT169 = $kpmHandle + 4 | 0; + $i$3 = 0; + while (1) { + if (($i$3 | 0) >= (HEAP32[$num >> 2] | 0)) { + $cparamLT267$pre$phiZ2D = $cparamLT169; + break L18; + } + $33 = HEAP32[$call34 >> 2] | 0; + $34 = +HEAPF32[$33 + ($i$3 * 20 | 0) >> 2]; + $35 = +HEAPF32[$33 + ($i$3 * 20 | 0) + 4 >> 2]; + $36 = HEAP32[$cparamLT169 >> 2] | 0; + if (!$36) { + $38 = HEAP32[$coord >> 2] | 0; + HEAPF32[$38 + ($i$3 << 3) >> 2] = $34 * 3.0; + HEAPF32[$38 + ($i$3 << 3) + 4 >> 2] = $35 * 3.0; + } else { + $37 = HEAP32[$coord >> 2] | 0; + _arParamObserv2IdealLTf($36 + 184 | 0, $34 * 3.0, $35 * 3.0, $37 + ($i$3 << 3) | 0, $37 + ($i$3 << 3) + 4 | 0) | 0; + } + $i$3 = $i$3 + 1 | 0; + } + break; + } + default: + { + $cparamLT212 = $kpmHandle + 4 | 0; + $i$4 = 0; + while (1) { + if (($i$4 | 0) >= (HEAP32[$num >> 2] | 0)) { + $cparamLT267$pre$phiZ2D = $cparamLT212; + break L18; + } + $40 = HEAP32[$call34 >> 2] | 0; + $41 = +HEAPF32[$40 + ($i$4 * 20 | 0) >> 2]; + $42 = +HEAPF32[$40 + ($i$4 * 20 | 0) + 4 >> 2]; + $43 = HEAP32[$cparamLT212 >> 2] | 0; + if (!$43) { + $45 = HEAP32[$coord >> 2] | 0; + HEAPF32[$45 + ($i$4 << 3) >> 2] = $41 * 4.0; + HEAPF32[$45 + ($i$4 << 3) + 4 >> 2] = $42 * 4.0; + } else { + $44 = HEAP32[$coord >> 2] | 0; + _arParamObserv2IdealLTf($43 + 184 | 0, $41 * 4.0, $42 * 4.0, $44 + ($i$4 << 3) | 0, $44 + ($i$4 << 3) + 4 | 0) | 0; + } + $i$4 = $i$4 + 1 | 0; + } + } + } while (0); + $resultNum = $kpmHandle + 56 | 0; + $pageInfo = $kpmHandle + 36 | 0; + $result = $kpmHandle + 52 | 0; + $pageLoop$0 = 0; + while (1) { + $46 = HEAP32[$resultNum >> 2] | 0; + if (($pageLoop$0 | 0) >= ($46 | 0)) { + $64 = $46; + $result316$pre$phiZ2D = $result; + break L6; + } + $49 = HEAP32[$result >> 2] | 0; + HEAP32[$49 + ($pageLoop$0 * 68 | 0) + 48 >> 2] = HEAP32[(HEAP32[$pageInfo >> 2] | 0) + ($pageLoop$0 * 12 | 0) + 8 >> 2]; + HEAP32[$49 + ($pageLoop$0 * 68 | 0) + 60 >> 2] = -1; + if (((HEAP32[$49 + ($pageLoop$0 * 68 | 0) + 64 >> 2] | 0) == 0 ? ($call261 = __ZNK6vision20VisualDatabaseFacade7inliersEv(HEAP32[$kpmHandle >> 2] | 0) | 0, $call263 = __ZN6vision20VisualDatabaseFacade9matchedIdEv(HEAP32[$kpmHandle >> 2] | 0) | 0, ($call263 | 0) >= 0) : 0) ? ($53 = HEAP32[$cparamLT267$pre$phiZ2D >> 2] | 0, $call269 = __ZNK6vision20VisualDatabaseFacade18get3DFeaturePointsEi(HEAP32[$kpmHandle >> 2] | 0, $call263) | 0, $call271 = __ZNK6vision20VisualDatabaseFacade21getQueryFeaturePointsEv(HEAP32[$kpmHandle >> 2] | 0) | 0, $56 = HEAP32[$result >> 2] | 0, (__Z21kpmUtilGetPose_binaryP9ARParamLTRKNSt3__26vectorIN6vision7match_tENS1_9allocatorIS4_EEEERKNS2_INS3_7Point3dIfEENS5_ISB_EEEERKNS2_INS3_12FeaturePointENS5_ISG_EEEEPA4_fPf($53, $call261, $call269, $call271, $56 + ($pageLoop$0 * 68 | 0) | 0, $56 + ($pageLoop$0 * 68 | 0) + 52 | 0) | 0) == 0) : 0) { + $57 = HEAP32[$result >> 2] | 0; + HEAP32[$57 + ($pageLoop$0 * 68 | 0) + 60 >> 2] = 0; + $sub$ptr$div$i189 = (HEAP32[$call261 + 4 >> 2] | 0) - (HEAP32[$call261 >> 2] | 0) >> 3; + HEAP32[$57 + ($pageLoop$0 * 68 | 0) + 56 >> 2] = $sub$ptr$div$i189; + HEAP32[$57 + ($pageLoop$0 * 68 | 0) + 48 >> 2] = HEAP32[$kpmHandle + 60 + ($call263 << 2) >> 2]; + $conv = +HEAPF32[$57 + ($pageLoop$0 * 68 | 0) + 52 >> 2]; + HEAP32[$vararg_buffer3 >> 2] = $pageLoop$0; + HEAP32[$vararg_buffer3 + 4 >> 2] = $sub$ptr$div$i189; + HEAP32[$vararg_buffer3 + 8 >> 2] = $sub$ptr$div$i189; + HEAPF64[$vararg_buffer3 + 16 >> 3] = $conv; + _arLog(0, 1, 26659, $vararg_buffer3); + } + $pageLoop$0 = $pageLoop$0 + 1 | 0; + } + } while (0); + $i$6 = 0; + while (1) { + if (($i$6 | 0) >= ($64 | 0)) break; + HEAP32[(HEAP32[$result316$pre$phiZ2D >> 2] | 0) + ($i$6 * 68 | 0) + 64 >> 2] = 0; + $i$6 = $i$6 + 1 | 0; + } + if (!$imageLumaWasAllocated$0) $retval$0 = 0; else { + _free($imageLuma$0); + $retval$0 = 0; + } + } else { + _arLog(0, 3, 26615, $vararg_buffer); + $retval$0 = -1; + } while (0); + STACKTOP = sp; + return $retval$0 | 0; +} + +function _decode_mcu_24($cinfo, $MCU_data) { + $cinfo = $cinfo | 0; + $MCU_data = $MCU_data | 0; + var $0 = 0, $18 = 0, $19 = 0, $2 = 0, $21 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $30 = 0, $35 = 0, $37 = 0, $40 = 0, $44 = 0, $5 = 0, $8 = 0, $Ah$i = 0, $Ss$i = 0, $add$ptr = 0, $add$ptr111 = 0, $add$ptr126 = 0, $add$ptr141 = 0, $add$ptr145 = 0, $add$ptr21 = 0, $add$ptr27 = 0, $add$ptr35 = 0, $add$ptr61 = 0, $add$ptr88 = 0, $add$ptr99 = 0, $add$sink = 0, $add76 = 0, $arraydecay = 0, $arrayidx12 = 0, $arrayidx122 = 0, $arrayidx13 = 0, $arrayidx75 = 0, $arrayidx86 = 0, $blkn$0165 = 0, $blocks_in_MCU = 0, $call110 = 0, $call112 = 0, $call19 = 0, $call22 = 0, $ci$032$i = 0, $comps_in_scan$i = 0, $ct = 0, $inc = 0, $inc$lcssa = 0, $inc144 = 0, $inc149 = 0, $k$0 = 0, $k$1$lcssa = 0, $lim_Se = 0, $lim_Se$i = 0, $m$0137 = 0, $m$1 = 0, $m$3156 = 0, $m$4 = 0, $mul = 0, $progressive_mode$i = 0, $restart_interval = 0, $restarts_to_go = 0, $shl = 0, $shl119 = 0, $shl131 = 0, $shr147159 = 0, $shr147162 = 0, $shr63139 = 0, $shr63142 = 0, $spec$select = 0, $spec$select125 = 0, $st$0136 = 0, $st$1 = 0, $st$2$lcssa = 0, $st$2148 = 0, $st$3155 = 0, $st$4 = 0, $tobool151 = 0, $tobool67 = 0, $v$0$lcssa = 0, $v$0141 = 0, $v$3$lcssa = 0, $v$3161 = 0, dest = 0, label = 0, stop = 0; + $0 = HEAP32[$cinfo + 468 >> 2] | 0; + $restart_interval = $cinfo + 280 | 0; + if (HEAP32[$restart_interval >> 2] | 0) { + $restarts_to_go = $0 + 56 | 0; + $2 = HEAP32[$restarts_to_go >> 2] | 0; + if (!$2) { + if (!(FUNCTION_TABLE_ii[HEAP32[(HEAP32[$cinfo + 464 >> 2] | 0) + 8 >> 2] & 127]($cinfo) | 0)) { + $5 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$5 + 20 >> 2] = 25; + FUNCTION_TABLE_vi[HEAP32[$5 >> 2] & 255]($cinfo); + } + $comps_in_scan$i = $cinfo + 340 | 0; + if ((HEAP32[$comps_in_scan$i >> 2] | 0) > 0) { + $progressive_mode$i = $cinfo + 224 | 0; + $Ss$i = $cinfo + 412 | 0; + $lim_Se$i = $cinfo + 436 | 0; + $Ah$i = $cinfo + 420 | 0; + $ci$032$i = 0; + do { + $8 = HEAP32[$cinfo + 344 + ($ci$032$i << 2) >> 2] | 0; + if (HEAP32[$progressive_mode$i >> 2] | 0) if (!(HEAP32[$Ss$i >> 2] | 0)) { + if (!(HEAP32[$Ah$i >> 2] | 0)) label = 10; + } else label = 13; else label = 10; + do if ((label | 0) == 10) { + label = 0; + dest = HEAP32[$0 + 60 + (HEAP32[$8 + 20 >> 2] << 2) >> 2] | 0; + stop = dest + 64 | 0; + do { + HEAP8[dest >> 0] = 0; + dest = dest + 1 | 0; + } while ((dest | 0) < (stop | 0)); + HEAP32[$0 + 24 + ($ci$032$i << 2) >> 2] = 0; + HEAP32[$0 + 40 + ($ci$032$i << 2) >> 2] = 0; + if (!(HEAP32[$progressive_mode$i >> 2] | 0)) if (!(HEAP32[$lim_Se$i >> 2] | 0)) break; else { + label = 13; + break; + } else if (!(HEAP32[$Ss$i >> 2] | 0)) break; else { + label = 13; + break; + } + } while (0); + if ((label | 0) == 13) { + label = 0; + _memset(HEAP32[$0 + 124 + (HEAP32[$8 + 24 >> 2] << 2) >> 2] | 0, 0, 256) | 0; + } + $ci$032$i = $ci$032$i + 1 | 0; + } while (($ci$032$i | 0) < (HEAP32[$comps_in_scan$i >> 2] | 0)); + } + HEAP32[$0 + 12 >> 2] = 0; + HEAP32[$0 + 16 >> 2] = 0; + HEAP32[$0 + 20 >> 2] = -16; + $18 = HEAP32[$restart_interval >> 2] | 0; + HEAP32[$restarts_to_go >> 2] = $18; + $19 = $18; + } else $19 = $2; + HEAP32[$restarts_to_go >> 2] = $19 + -1; + } + $ct = $0 + 20 | 0; + if ((HEAP32[$ct >> 2] | 0) == -1) return 1; + $21 = HEAP32[$cinfo + 432 >> 2] | 0; + $blocks_in_MCU = $cinfo + 368 | 0; + if ((HEAP32[$blocks_in_MCU >> 2] | 0) <= 0) return 1; + $lim_Se = $cinfo + 436 | 0; + $arraydecay = $0 + 188 | 0; + $blkn$0165 = 0; + L32 : while (1) { + $23 = HEAP32[$MCU_data + ($blkn$0165 << 2) >> 2] | 0; + $24 = HEAP32[$cinfo + 372 + ($blkn$0165 << 2) >> 2] | 0; + $25 = HEAP32[$cinfo + 344 + ($24 << 2) >> 2] | 0; + $26 = HEAP32[$25 + 20 >> 2] | 0; + $arrayidx12 = $0 + 60 + ($26 << 2) | 0; + $arrayidx13 = $0 + 40 + ($24 << 2) | 0; + $add$ptr = (HEAP32[$arrayidx12 >> 2] | 0) + (HEAP32[$arrayidx13 >> 2] | 0) | 0; + if (!(_arith_decode($cinfo, $add$ptr) | 0)) { + HEAP32[$arrayidx13 >> 2] = 0; + $35 = HEAP32[$0 + 24 + ($24 << 2) >> 2] | 0; + } else { + $call19 = _arith_decode($cinfo, $add$ptr + 1 | 0) | 0; + $add$ptr21 = $add$ptr + 2 + $call19 | 0; + $call22 = _arith_decode($cinfo, $add$ptr21) | 0; + if ($call22) { + $add$ptr27 = (HEAP32[$arrayidx12 >> 2] | 0) + 20 | 0; + if (!(_arith_decode($cinfo, $add$ptr27) | 0)) { + $m$1 = $call22; + $st$1 = $add$ptr27; + } else { + $m$0137 = $call22; + $st$0136 = $add$ptr27; + while (1) { + $shl = $m$0137 << 1; + if (($shl | 0) == 32768) { + label = 26; + break L32; + } + $add$ptr35 = $st$0136 + 1 | 0; + if (!(_arith_decode($cinfo, $add$ptr35) | 0)) { + $m$1 = $shl; + $st$1 = $add$ptr35; + break; + } else { + $m$0137 = $shl; + $st$0136 = $add$ptr35; + } + } + } + } else { + $m$1 = 0; + $st$1 = $add$ptr21; + } + do if (($m$1 | 0) >= (1 << (HEAPU8[$cinfo + 232 + $26 >> 0] | 0) >> 1 | 0)) { + $mul = $call19 << 2; + if (($m$1 | 0) > (1 << (HEAPU8[$cinfo + 248 + $26 >> 0] | 0) >> 1 | 0)) { + $add$sink = $mul + 12 | 0; + break; + } else { + $add$sink = $mul + 4 | 0; + break; + } + } else $add$sink = 0; while (0); + HEAP32[$arrayidx13 >> 2] = $add$sink; + $add$ptr61 = $st$1 + 14 | 0; + $shr63139 = $m$1 >> 1; + if (!$shr63139) $v$0$lcssa = $m$1; else { + $shr63142 = $shr63139; + $v$0141 = $m$1; + while (1) { + $tobool67 = (_arith_decode($cinfo, $add$ptr61) | 0) == 0; + $spec$select = ($tobool67 ? 0 : $shr63142) | $v$0141; + $shr63142 = $shr63142 >> 1; + if (!$shr63142) { + $v$0$lcssa = $spec$select; + break; + } else $v$0141 = $spec$select; + } + } + $arrayidx75 = $0 + 24 + ($24 << 2) | 0; + $add76 = (HEAP32[$arrayidx75 >> 2] | 0) + (($call19 | 0) == 0 ? $v$0$lcssa + 1 | 0 : ~$v$0$lcssa) | 0; + HEAP32[$arrayidx75 >> 2] = $add76; + $35 = $add76; + } + HEAP16[$23 >> 1] = $35; + L56 : do if (HEAP32[$lim_Se >> 2] | 0) { + $37 = HEAP32[$25 + 24 >> 2] | 0; + $arrayidx86 = $0 + 124 + ($37 << 2) | 0; + $arrayidx122 = $cinfo + 264 + $37 | 0; + $k$0 = 0; + while (1) { + $add$ptr88 = (HEAP32[$arrayidx86 >> 2] | 0) + ($k$0 * 3 | 0) | 0; + if (_arith_decode($cinfo, $add$ptr88) | 0) break L56; + $inc144 = $k$0 + 1 | 0; + if (!(_arith_decode($cinfo, $add$ptr88 + 1 | 0) | 0)) { + $inc149 = $inc144; + $st$2148 = $add$ptr88; + while (1) { + if (($inc149 | 0) >= (HEAP32[$lim_Se >> 2] | 0)) { + label = 42; + break L32; + } + $add$ptr99 = $st$2148 + 3 | 0; + $inc = $inc149 + 1 | 0; + if (!(_arith_decode($cinfo, $st$2148 + 4 | 0) | 0)) { + $inc149 = $inc; + $st$2148 = $add$ptr99; + } else { + $inc$lcssa = $inc; + $k$1$lcssa = $inc149; + $st$2$lcssa = $add$ptr99; + break; + } + } + } else { + $inc$lcssa = $inc144; + $k$1$lcssa = $k$0; + $st$2$lcssa = $add$ptr88; + } + $call110 = _arith_decode($cinfo, $arraydecay) | 0; + $add$ptr111 = $st$2$lcssa + 2 | 0; + $call112 = _arith_decode($cinfo, $add$ptr111) | 0; + if ($call112) { + if (_arith_decode($cinfo, $add$ptr111) | 0) { + $shl119 = $call112 << 1; + $add$ptr126 = (HEAP32[$arrayidx86 >> 2] | 0) + (($k$1$lcssa | 0) < (HEAPU8[$arrayidx122 >> 0] | 0 | 0) ? 189 : 217) | 0; + if (!(_arith_decode($cinfo, $add$ptr126) | 0)) { + $m$4 = $shl119; + $st$4 = $add$ptr126; + } else { + $m$3156 = $shl119; + $st$3155 = $add$ptr126; + while (1) { + $shl131 = $m$3156 << 1; + if (($shl131 | 0) == 32768) { + label = 49; + break L32; + } + $add$ptr141 = $st$3155 + 1 | 0; + if (!(_arith_decode($cinfo, $add$ptr141) | 0)) { + $m$4 = $shl131; + $st$4 = $add$ptr141; + break; + } else { + $m$3156 = $shl131; + $st$3155 = $add$ptr141; + } + } + } + } else { + $m$4 = $call112; + $st$4 = $add$ptr111; + } + $add$ptr145 = $st$4 + 14 | 0; + $shr147159 = $m$4 >> 1; + if (!$shr147159) $v$3$lcssa = $m$4; else { + $shr147162 = $shr147159; + $v$3161 = $m$4; + while (1) { + $tobool151 = (_arith_decode($cinfo, $add$ptr145) | 0) == 0; + $spec$select125 = ($tobool151 ? 0 : $shr147162) | $v$3161; + $shr147162 = $shr147162 >> 1; + if (!$shr147162) { + $v$3$lcssa = $spec$select125; + break; + } else $v$3161 = $spec$select125; + } + } + } else $v$3$lcssa = 0; + HEAP16[$23 + (HEAP32[$21 + ($inc$lcssa << 2) >> 2] << 1) >> 1] = ($call110 | 0) == 0 ? $v$3$lcssa + 1 | 0 : $v$3$lcssa ^ 65535; + if (($inc$lcssa | 0) < (HEAP32[$lim_Se >> 2] | 0)) $k$0 = $inc$lcssa; else break; + } + } while (0); + $blkn$0165 = $blkn$0165 + 1 | 0; + if (($blkn$0165 | 0) >= (HEAP32[$blocks_in_MCU >> 2] | 0)) { + label = 56; + break; + } + } + if ((label | 0) == 26) { + $30 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$30 + 20 >> 2] = 117; + FUNCTION_TABLE_vii[HEAP32[$30 + 4 >> 2] & 255]($cinfo, -1); + HEAP32[$ct >> 2] = -1; + return 1; + } else if ((label | 0) == 42) { + $40 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$40 + 20 >> 2] = 117; + FUNCTION_TABLE_vii[HEAP32[$40 + 4 >> 2] & 255]($cinfo, -1); + HEAP32[$ct >> 2] = -1; + return 1; + } else if ((label | 0) == 49) { + $44 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$44 + 20 >> 2] = 117; + FUNCTION_TABLE_vii[HEAP32[$44 + 4 >> 2] & 255]($cinfo, -1); + HEAP32[$ct >> 2] = -1; + return 1; + } else if ((label | 0) == 56) return 1; + return 0; +} + +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseNestedNameEPNS5_9NameStateE($this, $State) { + $this = $this | 0; + $State = $State | 0; + var $5 = 0, $PushComponent = 0, $SoFar = 0, $State$addr = 0, $Subs136 = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, $call119 = 0, $call125 = 0, $call131 = 0, $call2 = 0, $call25 = 0, $call52 = 0, $call57 = 0, $call93 = 0, $retval$3 = 0, $retval$4 = 0, $tobool = 0, $tobool12 = 0, label = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 48 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); - $$byval_copy = sp + 32 | 0; - $2 = sp + 20 | 0; - $3 = sp + 24 | 0; - $4 = sp + 8 | 0; - $5 = sp; - HEAP32[$2 >> 2] = $1; - if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($0, 78) | 0) { - $7 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E17parseCVQualifiersEv($0) | 0; - $8 = ($1 | 0) == 0; - if (!$8) HEAP32[$1 + 4 >> 2] = $7; - do if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($0, 79) | 0) { - if (!$8) HEAP8[$1 + 8 >> 0] = 2; + $agg$tmp$byval_copy = sp + 32 | 0; + $State$addr = sp + 20 | 0; + $SoFar = sp + 24 | 0; + $PushComponent = sp + 8 | 0; + $agg$tmp = sp; + HEAP32[$State$addr >> 2] = $State; + if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($this, 78) | 0) { + $call2 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E17parseCVQualifiersEv($this) | 0; + $tobool = ($State | 0) == 0; + if (!$tobool) HEAP32[$State + 4 >> 2] = $call2; + do if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($this, 79) | 0) { + if (!$tobool) HEAP8[$State + 8 >> 0] = 2; } else { - $13 = ($1 | 0) != 0; - if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($0, 82) | 0) { - if (!$13) break; - HEAP8[$1 + 8 >> 0] = 1; + $tobool12 = ($State | 0) != 0; + if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($this, 82) | 0) { + if (!$tobool12) break; + HEAP8[$State + 8 >> 0] = 1; break; } else { - if (!$13) break; - HEAP8[$1 + 8 >> 0] = 0; + if (!$tobool12) break; + HEAP8[$State + 8 >> 0] = 0; break; } } while (0); - HEAP32[$3 >> 2] = 0; - HEAP32[$4 >> 2] = $0; - HEAP32[$4 + 4 >> 2] = $3; - HEAP32[$4 + 8 >> 2] = $2; - __ZN12_GLOBAL__N_110StringViewC2EPKc($5, 55118); - HEAP32[$$byval_copy >> 2] = HEAP32[$5 >> 2]; - HEAP32[$$byval_copy + 4 >> 2] = HEAP32[$5 + 4 >> 2]; - if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($0, $$byval_copy) | 0) { - $19 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA4_KcEEEPNS0_4NodeEDpOT0_($0, 55436) | 0; - HEAP32[$3 >> 2] = $19; - } - $20 = $0 + 148 | 0; + HEAP32[$SoFar >> 2] = 0; + HEAP32[$PushComponent >> 2] = $this; + HEAP32[$PushComponent + 4 >> 2] = $SoFar; + HEAP32[$PushComponent + 8 >> 2] = $State$addr; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, 55960); + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($this, $agg$tmp$byval_copy) | 0) { + $call25 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA4_KcEEEPNS0_4NodeEDpOT0_($this, 56278) | 0; + HEAP32[$SoFar >> 2] = $call25; + } + $Subs136 = $this + 148 | 0; L19 : while (1) { - if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($0, 69) | 0) { + if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($this, 69) | 0) { label = 41; break; } - __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($0, 76) | 0; - L22 : do if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($0, 77) | 0) { - if (!(HEAP32[$3 >> 2] | 0)) { - $$3 = 0; + __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($this, 76) | 0; + L22 : do if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($this, 77) | 0) { + if (!(HEAP32[$SoFar >> 2] | 0)) { + $retval$3 = 0; break L19; } } else { - L25 : do switch ((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($0, 0) | 0) << 24 >> 24) { + L25 : do switch ((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($this, 0) | 0) << 24 >> 24) { case 84: { - if (!(__ZZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseNestedNameEPNS5_9NameStateEENKUlPNS0_4NodeEE_clES9_($4, __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E18parseTemplateParamEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0) | 0) | 0)) { - $$3 = 0; + if (!(__ZZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseNestedNameEPNS5_9NameStateEENKUlPNS0_4NodeEE_clES9_($PushComponent, __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E18parseTemplateParamEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0) | 0) | 0)) { + $retval$3 = 0; break L19; } - __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE9push_backERKS3_($20, $3); + __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE9push_backERKS3_($Subs136, $SoFar); break L22; break; } case 73: { - $32 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E17parseTemplateArgsEb(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0, (HEAP32[$2 >> 2] | 0) != 0) | 0; - HEAP32[$$byval_copy >> 2] = $32; - if (($32 | 0) == 0 | (HEAP32[$3 >> 2] | 0) == 0) { + $call52 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E17parseTemplateArgsEb(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0, (HEAP32[$State$addr >> 2] | 0) != 0) | 0; + HEAP32[$agg$tmp$byval_copy >> 2] = $call52; + if (($call52 | 0) == 0 | (HEAP32[$SoFar >> 2] | 0) == 0) { label = 26; break L19; } - $36 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_20NameWithTemplateArgsEJRPNS0_4NodeESA_EEES9_DpOT0_($0, $3, $$byval_copy) | 0; - HEAP32[$3 >> 2] = $36; - $37 = HEAP32[$2 >> 2] | 0; - if ($37 | 0) HEAP8[$37 + 1 >> 0] = 1; - __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE9push_backERKS3_($20, $3); + $call57 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_20NameWithTemplateArgsEJRPNS0_4NodeESA_EEES9_DpOT0_($this, $SoFar, $agg$tmp$byval_copy) | 0; + HEAP32[$SoFar >> 2] = $call57; + $5 = HEAP32[$State$addr >> 2] | 0; + if ($5 | 0) HEAP8[$5 + 1 >> 0] = 1; + __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE9push_backERKS3_($Subs136, $SoFar); break L22; break; } case 68: { - switch ((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($0, 1) | 0) << 24 >> 24) { + switch ((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($this, 1) | 0) << 24 >> 24) { case 67: { label = 39; @@ -37740,24 +39380,24 @@ function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14Mang default: break L25; } - if (!(__ZZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseNestedNameEPNS5_9NameStateEENKUlPNS0_4NodeEE_clES9_($4, __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E13parseDecltypeEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0) | 0) | 0)) { - $$3 = 0; + if (!(__ZZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseNestedNameEPNS5_9NameStateEENKUlPNS0_4NodeEE_clES9_($PushComponent, __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E13parseDecltypeEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0) | 0) | 0)) { + $retval$3 = 0; break L19; } - __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE9push_backERKS3_($20, $3); + __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE9push_backERKS3_($Subs136, $SoFar); break L22; break; } case 83: { - if ((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($0, 1) | 0) << 24 >> 24 == 116) label = 39; else { - $47 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E17parseSubstitutionEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0) | 0; - HEAP32[$$byval_copy >> 2] = $47; - if (!(__ZZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseNestedNameEPNS5_9NameStateEENKUlPNS0_4NodeEE_clES9_($4, $47) | 0)) { + if ((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($this, 1) | 0) << 24 >> 24 == 116) label = 39; else { + $call93 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E17parseSubstitutionEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0) | 0; + HEAP32[$agg$tmp$byval_copy >> 2] = $call93; + if (!(__ZZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseNestedNameEPNS5_9NameStateEENKUlPNS0_4NodeEE_clES9_($PushComponent, $call93) | 0)) { label = 44; break L19; } - if ((HEAP32[$3 >> 2] | 0) != ($47 | 0)) __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE9push_backERKS3_($20, $$byval_copy); + if ((HEAP32[$SoFar >> 2] | 0) != ($call93 | 0)) __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE9push_backERKS3_($Subs136, $agg$tmp$byval_copy); break L22; } break; @@ -37769,502 +39409,99 @@ function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14Mang } while (0); if ((label | 0) == 39) { label = 0; - $60 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0; - if (!(__ZZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseNestedNameEPNS5_9NameStateEENKUlPNS0_4NodeEE_clES9_($4, __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E20parseUnqualifiedNameEPNS5_9NameStateE($60, HEAP32[$2 >> 2] | 0) | 0) | 0)) { - $$3 = 0; + $call131 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0; + if (!(__ZZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseNestedNameEPNS5_9NameStateEENKUlPNS0_4NodeEE_clES9_($PushComponent, __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E20parseUnqualifiedNameEPNS5_9NameStateE($call131, HEAP32[$State$addr >> 2] | 0) | 0) | 0)) { + $retval$3 = 0; break L19; } - __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE9push_backERKS3_($20, $3); + __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE9push_backERKS3_($Subs136, $SoFar); break; } - if (!(HEAP32[$3 >> 2] | 0)) { - $$3 = 0; + if (!(HEAP32[$SoFar >> 2] | 0)) { + $retval$3 = 0; break L19; } - $53 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0; - if (!(__ZZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseNestedNameEPNS5_9NameStateEENKUlPNS0_4NodeEE_clES9_($4, __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E17parseCtorDtorNameERPNS0_4NodeEPNS5_9NameStateE($53, $3, HEAP32[$2 >> 2] | 0) | 0) | 0)) { - $$3 = 0; + $call119 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0; + if (!(__ZZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseNestedNameEPNS5_9NameStateEENKUlPNS0_4NodeEE_clES9_($PushComponent, __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E17parseCtorDtorNameERPNS0_4NodeEPNS5_9NameStateE($call119, $SoFar, HEAP32[$State$addr >> 2] | 0) | 0) | 0)) { + $retval$3 = 0; break L19; } - $58 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E12parseAbiTagsEPNS0_4NodeE($53, HEAP32[$3 >> 2] | 0) | 0; - HEAP32[$3 >> 2] = $58; - if (!$58) { - $$3 = 0; + $call125 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E12parseAbiTagsEPNS0_4NodeE($call119, HEAP32[$SoFar >> 2] | 0) | 0; + HEAP32[$SoFar >> 2] = $call125; + if (!$call125) { + $retval$3 = 0; break L19; } - __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE9push_backERKS3_($20, $3); - } while (0); - } - if ((label | 0) == 26) $$3 = 0; else if ((label | 0) == 41) if ((HEAP32[$3 >> 2] | 0) != 0 ? !(__ZNK12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE5emptyEv($20) | 0) : 0) { - __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE8pop_backEv($20); - $$3 = HEAP32[$3 >> 2] | 0; - } else $$3 = 0; else if ((label | 0) == 44) $$3 = 0; - $$4 = $$3; - } else $$4 = 0; - STACKTOP = sp; - return $$4 | 0; -} - -function _get_sof($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $$0 = 0, $$0192 = 0, $$0193 = 0, $$0205$lcssa = 0, $$0205222 = 0, $$0208219 = 0, $$0211218 = 0, $$0213229 = 0, $$1 = 0, $$10 = 0, $$10203 = 0, $$11 = 0, $$11204 = 0, $$1194 = 0, $$1209$lcssa = 0, $$1209220 = 0, $$1209223 = 0, $$1212221 = 0, $$2 = 0, $$2195 = 0, $$2207 = 0, $$2210 = 0, $$3 = 0, $$3196 = 0, $$4 = 0, $$4197 = 0, $$5 = 0, $$5198 = 0, $$6 = 0, $$6199 = 0, $$7 = 0, $$7200 = 0, $$8 = 0, $$8$lcssa = 0, $$8201 = 0, $$8201$lcssa = 0, $$8201228 = 0, $$8201234 = 0, $$8227 = 0, $$8233 = 0, $$9 = 0, $$9202 = 0, $109 = 0, $110 = 0, $111 = 0, $124 = 0, $129 = 0, $136 = 0, $138 = 0, $142 = 0, $144 = 0, $147 = 0, $155 = 0, $158 = 0, $165 = 0, $166 = 0, $168 = 0, $169 = 0, $173 = 0, $175 = 0, $180 = 0, $189 = 0, $19 = 0, $190 = 0, $192 = 0, $194 = 0, $196 = 0, $20 = 0, $205 = 0, $206 = 0, $23 = 0, $31 = 0, $32 = 0, $35 = 0, $43 = 0, $44 = 0, $5 = 0, $55 = 0, $56 = 0, $59 = 0, $6 = 0, $60 = 0, $68 = 0, $69 = 0, $7 = 0, $73 = 0, $8 = 0, $81 = 0, $82 = 0, $85 = 0, $86 = 0, $94 = 0, $95 = 0, $99 = 0, label = 0; - $5 = HEAP32[$0 + 24 >> 2] | 0; - $6 = HEAP32[$5 >> 2] | 0; - $7 = $5 + 4 | 0; - $8 = HEAP32[$7 >> 2] | 0; - HEAP32[$0 + 220 >> 2] = $1; - HEAP32[$0 + 224 >> 2] = $2; - HEAP32[$0 + 228 >> 2] = $3; - do if (!$8) if (!(FUNCTION_TABLE_ii[HEAP32[$5 + 12 >> 2] & 127]($0) | 0)) { - $$0 = 0; - return $$0 | 0; - } else { - $$0192 = HEAP32[$7 >> 2] | 0; - $$0193 = HEAP32[$5 >> 2] | 0; - break; - } else { - $$0192 = $8; - $$0193 = $6; - } while (0); - $19 = $$0192 + -1 | 0; - $20 = $$0193 + 1 | 0; - $23 = (HEAPU8[$$0193 >> 0] | 0) << 8; - do if (!$19) if (!(FUNCTION_TABLE_ii[HEAP32[$5 + 12 >> 2] & 127]($0) | 0)) { - $$0 = 0; - return $$0 | 0; - } else { - $$1 = HEAP32[$7 >> 2] | 0; - $$1194 = HEAP32[$5 >> 2] | 0; - break; - } else { - $$1 = $19; - $$1194 = $20; - } while (0); - $31 = $$1 + -1 | 0; - $32 = $$1194 + 1 | 0; - $35 = $23 | (HEAPU8[$$1194 >> 0] | 0); - do if (!$31) if (!(FUNCTION_TABLE_ii[HEAP32[$5 + 12 >> 2] & 127]($0) | 0)) { - $$0 = 0; - return $$0 | 0; - } else { - $$2 = HEAP32[$7 >> 2] | 0; - $$2195 = HEAP32[$5 >> 2] | 0; - break; - } else { - $$2 = $31; - $$2195 = $32; - } while (0); - $43 = $$2 + -1 | 0; - $44 = $$2195 + 1 | 0; - HEAP32[$0 + 212 >> 2] = HEAPU8[$$2195 >> 0]; - do if (!$43) if (!(FUNCTION_TABLE_ii[HEAP32[$5 + 12 >> 2] & 127]($0) | 0)) { - $$0 = 0; - return $$0 | 0; - } else { - $$3 = HEAP32[$7 >> 2] | 0; - $$3196 = HEAP32[$5 >> 2] | 0; - break; - } else { - $$3 = $43; - $$3196 = $44; - } while (0); - $55 = $$3 + -1 | 0; - $56 = $$3196 + 1 | 0; - $59 = (HEAPU8[$$3196 >> 0] | 0) << 8; - $60 = $0 + 32 | 0; - HEAP32[$60 >> 2] = $59; - do if (!$55) if (!(FUNCTION_TABLE_ii[HEAP32[$5 + 12 >> 2] & 127]($0) | 0)) { - $$0 = 0; - return $$0 | 0; - } else { - $$4 = HEAP32[$7 >> 2] | 0; - $$4197 = HEAP32[$5 >> 2] | 0; - $73 = HEAP32[$60 >> 2] | 0; - break; - } else { - $$4 = $55; - $$4197 = $56; - $73 = $59; - } while (0); - $68 = $$4 + -1 | 0; - $69 = $$4197 + 1 | 0; - HEAP32[$60 >> 2] = $73 + (HEAPU8[$$4197 >> 0] | 0); - do if (!$68) if (!(FUNCTION_TABLE_ii[HEAP32[$5 + 12 >> 2] & 127]($0) | 0)) { - $$0 = 0; - return $$0 | 0; - } else { - $$5 = HEAP32[$7 >> 2] | 0; - $$5198 = HEAP32[$5 >> 2] | 0; - break; - } else { - $$5 = $68; - $$5198 = $69; - } while (0); - $81 = $$5 + -1 | 0; - $82 = $$5198 + 1 | 0; - $85 = (HEAPU8[$$5198 >> 0] | 0) << 8; - $86 = $0 + 28 | 0; - HEAP32[$86 >> 2] = $85; - do if (!$81) if (!(FUNCTION_TABLE_ii[HEAP32[$5 + 12 >> 2] & 127]($0) | 0)) { - $$0 = 0; - return $$0 | 0; - } else { - $$6 = HEAP32[$7 >> 2] | 0; - $$6199 = HEAP32[$5 >> 2] | 0; - $99 = HEAP32[$86 >> 2] | 0; - break; - } else { - $$6 = $81; - $$6199 = $82; - $99 = $85; - } while (0); - $94 = $$6 + -1 | 0; - $95 = $$6199 + 1 | 0; - HEAP32[$86 >> 2] = $99 + (HEAPU8[$$6199 >> 0] | 0); - do if (!$94) if (!(FUNCTION_TABLE_ii[HEAP32[$5 + 12 >> 2] & 127]($0) | 0)) { - $$0 = 0; - return $$0 | 0; - } else { - $$7 = HEAP32[$7 >> 2] | 0; - $$7200 = HEAP32[$5 >> 2] | 0; - break; - } else { - $$7 = $94; - $$7200 = $95; - } while (0); - $109 = $0 + 36 | 0; - HEAP32[$109 >> 2] = HEAPU8[$$7200 >> 0]; - $110 = $35 + -8 | 0; - $111 = HEAP32[$0 >> 2] | 0; - HEAP32[$111 + 24 >> 2] = HEAP32[$0 + 440 >> 2]; - HEAP32[$111 + 28 >> 2] = HEAP32[$86 >> 2]; - HEAP32[$111 + 32 >> 2] = HEAP32[$60 >> 2]; - HEAP32[$111 + 36 >> 2] = HEAP32[$109 >> 2]; - HEAP32[$111 + 20 >> 2] = 102; - FUNCTION_TABLE_vii[HEAP32[$111 + 4 >> 2] & 255]($0, 1); - $124 = $0 + 464 | 0; - if (HEAP32[(HEAP32[$124 >> 2] | 0) + 16 >> 2] | 0) { - $129 = HEAP32[$0 >> 2] | 0; - HEAP32[$129 + 20 >> 2] = 61; - FUNCTION_TABLE_vi[HEAP32[$129 >> 2] & 255]($0); - } - if (((HEAP32[$60 >> 2] | 0) != 0 ? (HEAP32[$86 >> 2] | 0) != 0 : 0) ? ($136 = HEAP32[$109 >> 2] | 0, ($136 | 0) >= 1) : 0) $142 = $136; else { - $138 = HEAP32[$0 >> 2] | 0; - HEAP32[$138 + 20 >> 2] = 33; - FUNCTION_TABLE_vi[HEAP32[$138 >> 2] & 255]($0); - $142 = HEAP32[$109 >> 2] | 0; - } - if (($110 | 0) != ($142 * 3 | 0)) { - $144 = HEAP32[$0 >> 2] | 0; - HEAP32[$144 + 20 >> 2] = 12; - FUNCTION_TABLE_vi[HEAP32[$144 >> 2] & 255]($0); - } - $147 = $0 + 216 | 0; - if (!(HEAP32[$147 >> 2] | 0)) { - $155 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[$0 + 4 >> 2] >> 2] & 63]($0, 1, (HEAP32[$109 >> 2] | 0) * 88 | 0) | 0; - HEAP32[$147 >> 2] = $155; - } - $$8227 = $$7 + -1 | 0; - $$8201228 = $$7200 + 1 | 0; - L64 : do if ((HEAP32[$109 >> 2] | 0) > 0) { - $158 = $5 + 12 | 0; - $$0213229 = 0; - $$8201234 = $$8201228; - $$8233 = $$8227; - while (1) { - if (!$$8233) { - if (!(FUNCTION_TABLE_ii[HEAP32[$158 >> 2] & 127]($0) | 0)) { - $$0 = 0; - label = 57; - break; - } - $$9 = HEAP32[$7 >> 2] | 0; - $$9202 = HEAP32[$5 >> 2] | 0; - } else { - $$9 = $$8233; - $$9202 = $$8201234; - } - $165 = $$9 + -1 | 0; - $166 = $$9202 + 1 | 0; - $168 = HEAPU8[$$9202 >> 0] | 0; - $169 = HEAP32[$147 >> 2] | 0; - L72 : do if (!$$0213229) { - $$2207 = $168; - $$2210 = $169; - } else { - $$0208219 = $169; - $$0211218 = 0; - while (1) { - if ((HEAP32[$$0208219 >> 2] | 0) == ($168 | 0)) break; - $$0211218 = $$0211218 + 1 | 0; - $180 = $$0208219 + 88 | 0; - if ($$0211218 >>> 0 >= $$0213229 >>> 0) { - $$2207 = $168; - $$2210 = $180; - break L72; - } else $$0208219 = $180; - } - $173 = HEAP32[$169 >> 2] | 0; - $$1209220 = $169 + 88 | 0; - if ($$0213229 >>> 0 > 1) { - $$0205222 = $173; - $$1209223 = $$1209220; - $$1212221 = 1; - while (1) { - $175 = HEAP32[$$1209223 >> 2] | 0; - $$0205222 = ($175 | 0) > ($$0205222 | 0) ? $175 : $$0205222; - $$1212221 = $$1212221 + 1 | 0; - if (($$1212221 | 0) == ($$0213229 | 0)) break; else $$1209223 = $$1209223 + 88 | 0; - } - $$0205$lcssa = $$0205222; - $$1209$lcssa = $169 + ($$0213229 * 88 | 0) | 0; - } else { - $$0205$lcssa = $173; - $$1209$lcssa = $$1209220; - } - $$2207 = $$0205$lcssa + 1 | 0; - $$2210 = $$1209$lcssa; + __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE9push_backERKS3_($Subs136, $SoFar); } while (0); - HEAP32[$$2210 >> 2] = $$2207; - HEAP32[$$2210 + 4 >> 2] = $$0213229; - if (!$165) { - if (!(FUNCTION_TABLE_ii[HEAP32[$158 >> 2] & 127]($0) | 0)) { - $$0 = 0; - label = 57; - break; - } - $$10 = HEAP32[$7 >> 2] | 0; - $$10203 = HEAP32[$5 >> 2] | 0; - } else { - $$10 = $165; - $$10203 = $166; - } - $189 = $$10 + -1 | 0; - $190 = $$10203 + 1 | 0; - $192 = HEAPU8[$$10203 >> 0] | 0; - $194 = $$2210 + 8 | 0; - HEAP32[$194 >> 2] = $192 >>> 4; - $196 = $$2210 + 12 | 0; - HEAP32[$196 >> 2] = $192 & 15; - if (!$189) { - if (!(FUNCTION_TABLE_ii[HEAP32[$158 >> 2] & 127]($0) | 0)) { - $$0 = 0; - label = 57; - break; - } - $$11 = HEAP32[$7 >> 2] | 0; - $$11204 = HEAP32[$5 >> 2] | 0; - } else { - $$11 = $189; - $$11204 = $190; - } - $205 = $$2210 + 16 | 0; - HEAP32[$205 >> 2] = HEAPU8[$$11204 >> 0]; - $206 = HEAP32[$0 >> 2] | 0; - HEAP32[$206 + 24 >> 2] = HEAP32[$$2210 >> 2]; - HEAP32[$206 + 28 >> 2] = HEAP32[$194 >> 2]; - HEAP32[$206 + 32 >> 2] = HEAP32[$196 >> 2]; - HEAP32[$206 + 36 >> 2] = HEAP32[$205 >> 2]; - HEAP32[$206 + 20 >> 2] = 103; - FUNCTION_TABLE_vii[HEAP32[$206 + 4 >> 2] & 255]($0, 1); - $$0213229 = $$0213229 + 1 | 0; - $$8 = $$11 + -1 | 0; - $$8201 = $$11204 + 1 | 0; - if (($$0213229 | 0) >= (HEAP32[$109 >> 2] | 0)) { - $$8$lcssa = $$8; - $$8201$lcssa = $$8201; - break L64; - } else { - $$8201234 = $$8201; - $$8233 = $$8; - } - } - if ((label | 0) == 57) return $$0 | 0; - } else { - $$8$lcssa = $$8227; - $$8201$lcssa = $$8201228; - } while (0); - HEAP32[(HEAP32[$124 >> 2] | 0) + 16 >> 2] = 1; - HEAP32[$5 >> 2] = $$8201$lcssa; - HEAP32[$7 >> 2] = $$8$lcssa; - $$0 = 1; - return $$0 | 0; -} - -function __ZN6vision32ComputeSubpixelHessianSameOctaveEPfS0_RKNS_5ImageES3_S3_ii($0, $1, $2, $3, $4, $5, $6) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - $6 = $6 | 0; - var $10 = 0, $101 = 0, $105 = 0, $106 = 0, $11 = 0, $114 = 0, $119 = 0, $12 = 0, $123 = 0, $125 = 0, $127 = 0, $129 = 0, $131 = 0, $133 = 0, $135 = 0, $137 = 0, $138 = 0.0, $139 = 0.0, $145 = 0.0, $157 = 0.0, $165 = 0.0, $167 = 0, $22 = 0, $27 = 0, $31 = 0, $32 = 0, $34 = 0, $42 = 0, $47 = 0, $51 = 0, $52 = 0, $60 = 0, $65 = 0, $69 = 0, $7 = 0, $70 = 0, $78 = 0, $8 = 0, $83 = 0, $87 = 0, $88 = 0, $9 = 0, $96 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $7 = sp + 20 | 0; - $8 = sp + 16 | 0; - $9 = sp + 12 | 0; - $10 = sp + 8 | 0; - $11 = sp + 4 | 0; - $12 = sp; - if (($5 | 0) > 0 ? ($5 + 1 | 0) >>> 0 < (__ZNK6vision5Image5widthEv($3) | 0) >>> 0 : 0) { - $32 = $6 + -1 | 0; - if (($6 | 0) > 0 ? ($34 = $6 + 1 | 0, $34 >>> 0 < (__ZNK6vision5Image6heightEv($3) | 0) >>> 0) : 0) { - $52 = __ZNK6vision5Image5widthEv($2) | 0; - if (($52 | 0) != (__ZNK6vision5Image5widthEv($3) | 0)) { - $60 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 30218) | 0, 28600) | 0, 39072) | 0, 311) | 0, 39079) | 0, 29150) | 0; - __ZNKSt3__28ios_base6getlocEv($7, $60 + (HEAP32[(HEAP32[$60 >> 2] | 0) + -12 >> 2] | 0) | 0); - $65 = __ZNKSt3__26locale9use_facetERNS0_2idE($7, 66512) | 0; - $69 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$65 >> 2] | 0) + 28 >> 2] & 127]($65, 10) | 0; - __ZNSt3__26localeD2Ev($7); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($60, $69) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($60) | 0; - _abort(); - } - $70 = __ZNK6vision5Image5widthEv($2) | 0; - if (($70 | 0) != (__ZNK6vision5Image5widthEv($4) | 0)) { - $78 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 30617) | 0, 28600) | 0, 39072) | 0, 312) | 0, 39079) | 0, 29150) | 0; - __ZNKSt3__28ios_base6getlocEv($7, $78 + (HEAP32[(HEAP32[$78 >> 2] | 0) + -12 >> 2] | 0) | 0); - $83 = __ZNKSt3__26locale9use_facetERNS0_2idE($7, 66512) | 0; - $87 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$83 >> 2] | 0) + 28 >> 2] & 127]($83, 10) | 0; - __ZNSt3__26localeD2Ev($7); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($78, $87) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($78) | 0; - _abort(); - } - $88 = __ZNK6vision5Image6heightEv($2) | 0; - if (($88 | 0) != (__ZNK6vision5Image6heightEv($3) | 0)) { - $96 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 30270) | 0, 28600) | 0, 39072) | 0, 313) | 0, 39079) | 0, 29150) | 0; - __ZNKSt3__28ios_base6getlocEv($7, $96 + (HEAP32[(HEAP32[$96 >> 2] | 0) + -12 >> 2] | 0) | 0); - $101 = __ZNKSt3__26locale9use_facetERNS0_2idE($7, 66512) | 0; - $105 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$101 >> 2] | 0) + 28 >> 2] & 127]($101, 10) | 0; - __ZNSt3__26localeD2Ev($7); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($96, $105) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($96) | 0; - _abort(); - } - $106 = __ZNK6vision5Image6heightEv($2) | 0; - if (($106 | 0) == (__ZNK6vision5Image6heightEv($4) | 0)) { - $125 = (__ZNK6vision5Image3getIfEEPKT_m($2, $32) | 0) + ($5 << 2) | 0; - $127 = (__ZNK6vision5Image3getIfEEPKT_m($2, $6) | 0) + ($5 << 2) | 0; - $129 = (__ZNK6vision5Image3getIfEEPKT_m($2, $34) | 0) + ($5 << 2) | 0; - $131 = (__ZNK6vision5Image3getIfEEPKT_m($3, $6) | 0) + ($5 << 2) | 0; - $133 = (__ZNK6vision5Image3getIfEEPKT_m($4, $32) | 0) + ($5 << 2) | 0; - $135 = (__ZNK6vision5Image3getIfEEPKT_m($4, $6) | 0) + ($5 << 2) | 0; - $137 = (__ZNK6vision5Image3getIfEEPKT_m($4, $34) | 0) + ($5 << 2) | 0; - __ZN6vision26ComputeSubpixelDerivativesERfS0_S0_S0_S0_RKNS_5ImageEii($8, $9, $10, $11, $12, $3, $5, $6); - $138 = +HEAPF32[$135 >> 2]; - $139 = +HEAPF32[$127 >> 2]; - $145 = $138 + ($139 - +HEAPF32[$131 >> 2] * 2.0); - $157 = (+HEAPF32[$127 + -4 >> 2] - +HEAPF32[$127 + 4 >> 2] + (+HEAPF32[$135 + 4 >> 2] - +HEAPF32[$135 + -4 >> 2])) * .25; - $165 = (+HEAPF32[$125 >> 2] - +HEAPF32[$129 >> 2] + (+HEAPF32[$137 >> 2] - +HEAPF32[$133 >> 2])) * .25; - HEAP32[$0 >> 2] = HEAP32[$10 >> 2]; - $167 = HEAP32[$12 >> 2] | 0; - HEAP32[$0 + 4 >> 2] = $167; - HEAPF32[$0 + 8 >> 2] = $157; - HEAP32[$0 + 12 >> 2] = $167; - HEAP32[$0 + 16 >> 2] = HEAP32[$11 >> 2]; - HEAPF32[$0 + 20 >> 2] = $165; - HEAPF32[$0 + 24 >> 2] = $157; - HEAPF32[$0 + 28 >> 2] = $165; - HEAPF32[$0 + 32 >> 2] = $145; - HEAPF32[$1 >> 2] = -+HEAPF32[$8 >> 2]; - HEAPF32[$1 + 4 >> 2] = -+HEAPF32[$9 >> 2]; - HEAPF32[$1 + 8 >> 2] = -(($138 - $139) * .5); - STACKTOP = sp; - return; - } else { - $114 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 30669) | 0, 28600) | 0, 39072) | 0, 314) | 0, 39079) | 0, 29150) | 0; - __ZNKSt3__28ios_base6getlocEv($7, $114 + (HEAP32[(HEAP32[$114 >> 2] | 0) + -12 >> 2] | 0) | 0); - $119 = __ZNKSt3__26locale9use_facetERNS0_2idE($7, 66512) | 0; - $123 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$119 >> 2] | 0) + 28 >> 2] & 127]($119, 10) | 0; - __ZNSt3__26localeD2Ev($7); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($114, $123) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($114) | 0; - _abort(); - } } - $42 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 29018) | 0, 28600) | 0, 39072) | 0, 310) | 0, 39079) | 0, 29077) | 0; - __ZNKSt3__28ios_base6getlocEv($7, $42 + (HEAP32[(HEAP32[$42 >> 2] | 0) + -12 >> 2] | 0) | 0); - $47 = __ZNKSt3__26locale9use_facetERNS0_2idE($7, 66512) | 0; - $51 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$47 >> 2] | 0) + 28 >> 2] & 127]($47, 10) | 0; - __ZNSt3__26localeD2Ev($7); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($42, $51) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($42) | 0; - _abort(); - } - $22 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 28944) | 0, 28600) | 0, 39072) | 0, 309) | 0, 39079) | 0, 29002) | 0; - __ZNKSt3__28ios_base6getlocEv($7, $22 + (HEAP32[(HEAP32[$22 >> 2] | 0) + -12 >> 2] | 0) | 0); - $27 = __ZNKSt3__26locale9use_facetERNS0_2idE($7, 66512) | 0; - $31 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$27 >> 2] | 0) + 28 >> 2] & 127]($27, 10) | 0; - __ZNSt3__26localeD2Ev($7); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($22, $31) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($22) | 0; - _abort(); -} - -function _start_pass_huff_decoder($0) { - $0 = $0 | 0; - var $$0242284 = 0, $$0243291 = 0, $$0295 = 0, $$1287 = 0, $$2285 = 0, $$off = 0, $$off251 = 0, $$off252 = 0, $$off253 = 0, $$off254 = 0, $$off255 = 0, $$off256 = 0, $$off257 = 0, $$off258 = 0, $$off259 = 0, $$off262 = 0, $$off263 = 0, $$pre$phi308Z2D = 0, $$sink = 0, $10 = 0, $100 = 0, $102 = 0, $106 = 0, $109 = 0, $110 = 0, $113 = 0, $127 = 0, $132 = 0, $136 = 0, $140 = 0, $144 = 0, $146 = 0, $151 = 0, $157 = 0, $163 = 0, $178 = 0, $180 = 0, $2 = 0, $20 = 0, $22 = 0, $235 = 0, $236 = 0, $237 = 0, $238 = 0, $239 = 0, $240 = 0, $27 = 0, $28 = 0, $44 = 0, $45 = 0, $47 = 0, $48 = 0, $49 = 0, $53 = 0, $54 = 0, $55 = 0, $6 = 0, $60 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $76 = 0, $8 = 0, $89 = 0, $9 = 0, $93 = 0, $94 = 0, $97 = 0, $98 = 0, label = 0; - $2 = HEAP32[$0 + 468 >> 2] | 0; - $6 = $0 + 412 | 0; - $7 = HEAP32[$6 >> 2] | 0; - $8 = ($7 | 0) == 0; - if (!(HEAP32[$0 + 224 >> 2] | 0)) { - if (($8 ? (HEAP32[$0 + 420 >> 2] | 0) == 0 : 0) ? (HEAP32[$0 + 424 >> 2] | 0) == 0 : 0) { - $127 = HEAP32[$0 + 416 >> 2] | 0; - if ((HEAP32[$0 + 220 >> 2] | 0) != 0 | ($127 | 0) < 64 ? ($127 | 0) != (HEAP32[$0 + 436 >> 2] | 0) : 0) label = 38; + if ((label | 0) == 26) $retval$3 = 0; else if ((label | 0) == 41) if ((HEAP32[$SoFar >> 2] | 0) != 0 ? !(__ZNK12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE5emptyEv($Subs136) | 0) : 0) { + __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE8pop_backEv($Subs136); + $retval$3 = HEAP32[$SoFar >> 2] | 0; + } else $retval$3 = 0; else if ((label | 0) == 44) $retval$3 = 0; + $retval$4 = $retval$3; + } else $retval$4 = 0; + STACKTOP = sp; + return $retval$4 | 0; +} + +function _start_pass_huff_decoder($cinfo) { + $cinfo = $cinfo | 0; + var $$off = 0, $$off210 = 0, $$off211 = 0, $$off212 = 0, $$off213 = 0, $$off214 = 0, $$off215 = 0, $$off216 = 0, $$off217 = 0, $$off218 = 0, $$off221 = 0, $$off222 = 0, $$sink = 0, $0 = 0, $18 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $24 = 0, $29 = 0, $3 = 0, $30 = 0, $33 = 0, $39 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $46 = 0, $47 = 0, $53 = 0, $55 = 0, $59 = 0, $6 = 0, $60 = 0, $62 = 0, $66 = 0, $72 = 0, $73 = 0, $8 = 0, $9 = 0, $97 = 0, $Ah76 = 0, $Ah97$pre$phiZ2D = 0, $Al92 = 0, $Se = 0, $Ss = 0, $ac_derived_tbl = 0, $arrayidx134 = 0, $arrayidx73 = 0, $bits_left = 0, $blkn$0244 = 0, $blocks_in_MCU = 0, $ci$0252 = 0, $ci$1248 = 0, $ci$2246 = 0, $cmp101 = 0, $cmp145 = 0, $coef_bits = 0, $coefi$0250 = 0, $comps_in_scan177 = 0, $comps_in_scan46 = 0, $get_buffer = 0, $inc140 = 0, $insufficient_data = 0, $lim_Se167 = 0, $restart_interval = 0, $restarts_to_go = 0, $sub = 0, label = 0; + $0 = HEAP32[$cinfo + 468 >> 2] | 0; + $Ss = $cinfo + 412 | 0; + $2 = HEAP32[$Ss >> 2] | 0; + $cmp145 = ($2 | 0) == 0; + if (!(HEAP32[$cinfo + 224 >> 2] | 0)) { + if (($cmp145 ? (HEAP32[$cinfo + 420 >> 2] | 0) == 0 : 0) ? (HEAP32[$cinfo + 424 >> 2] | 0) == 0 : 0) { + $53 = HEAP32[$cinfo + 416 >> 2] | 0; + if ((HEAP32[$cinfo + 220 >> 2] | 0) != 0 | ($53 | 0) < 64 ? ($53 | 0) != (HEAP32[$cinfo + 436 >> 2] | 0) : 0) label = 38; } else label = 38; if ((label | 0) == 38) { - $132 = HEAP32[$0 >> 2] | 0; - HEAP32[$132 + 20 >> 2] = 125; - FUNCTION_TABLE_vii[HEAP32[$132 + 4 >> 2] & 255]($0, -1); - } - $136 = $0 + 436 | 0; - HEAP32[$2 + 4 >> 2] = (HEAP32[$136 >> 2] | 0) == 63 ? 64 : 65; - $140 = $0 + 340 | 0; - if ((HEAP32[$140 >> 2] | 0) > 0) { - $$2285 = 0; + $55 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$55 + 20 >> 2] = 125; + FUNCTION_TABLE_vii[HEAP32[$55 + 4 >> 2] & 255]($cinfo, -1); + } + $lim_Se167 = $cinfo + 436 | 0; + HEAP32[$0 + 4 >> 2] = (HEAP32[$lim_Se167 >> 2] | 0) == 63 ? 62 : 61; + $comps_in_scan177 = $cinfo + 340 | 0; + if ((HEAP32[$comps_in_scan177 >> 2] | 0) > 0) { + $ci$2246 = 0; do { - $144 = HEAP32[$0 + 344 + ($$2285 << 2) >> 2] | 0; - $146 = HEAP32[$144 + 20 >> 2] | 0; - _jpeg_make_d_derived_tbl($0, 1, $146, $2 + 68 + ($146 << 2) | 0); - if (HEAP32[$136 >> 2] | 0) { - $151 = HEAP32[$144 + 24 >> 2] | 0; - _jpeg_make_d_derived_tbl($0, 0, $151, $2 + 84 + ($151 << 2) | 0); - } - HEAP32[$2 + 24 + ($$2285 << 2) >> 2] = 0; - $$2285 = $$2285 + 1 | 0; - } while (($$2285 | 0) < (HEAP32[$140 >> 2] | 0)); - } - $157 = $0 + 368 | 0; - if ((HEAP32[$157 >> 2] | 0) <= 0) { - $235 = $2 + 16 | 0; - HEAP32[$235 >> 2] = 0; - $236 = $2 + 12 | 0; - HEAP32[$236 >> 2] = 0; - $237 = $2 + 40 | 0; - HEAP32[$237 >> 2] = 0; - $238 = $0 + 280 | 0; - $239 = HEAP32[$238 >> 2] | 0; - $240 = $2 + 44 | 0; - HEAP32[$240 >> 2] = $239; + $59 = HEAP32[$cinfo + 344 + ($ci$2246 << 2) >> 2] | 0; + $60 = HEAP32[$59 + 20 >> 2] | 0; + _jpeg_make_d_derived_tbl($cinfo, 1, $60, $0 + 68 + ($60 << 2) | 0); + if (HEAP32[$lim_Se167 >> 2] | 0) { + $62 = HEAP32[$59 + 24 >> 2] | 0; + _jpeg_make_d_derived_tbl($cinfo, 0, $62, $0 + 84 + ($62 << 2) | 0); + } + HEAP32[$0 + 24 + ($ci$2246 << 2) >> 2] = 0; + $ci$2246 = $ci$2246 + 1 | 0; + } while (($ci$2246 | 0) < (HEAP32[$comps_in_scan177 >> 2] | 0)); + } + $blocks_in_MCU = $cinfo + 368 | 0; + if ((HEAP32[$blocks_in_MCU >> 2] | 0) <= 0) { + $bits_left = $0 + 16 | 0; + HEAP32[$bits_left >> 2] = 0; + $get_buffer = $0 + 12 | 0; + HEAP32[$get_buffer >> 2] = 0; + $insufficient_data = $0 + 40 | 0; + HEAP32[$insufficient_data >> 2] = 0; + $restart_interval = $cinfo + 280 | 0; + $97 = HEAP32[$restart_interval >> 2] | 0; + $restarts_to_go = $0 + 44 | 0; + HEAP32[$restarts_to_go >> 2] = $97; return; } - $$0242284 = 0; + $blkn$0244 = 0; do { - $163 = HEAP32[$0 + 344 + (HEAP32[$0 + 372 + ($$0242284 << 2) >> 2] << 2) >> 2] | 0; - HEAP32[$2 + 100 + ($$0242284 << 2) >> 2] = HEAP32[$2 + 68 + (HEAP32[$163 + 20 >> 2] << 2) >> 2]; - HEAP32[$2 + 140 + ($$0242284 << 2) >> 2] = HEAP32[$2 + 84 + (HEAP32[$163 + 24 >> 2] << 2) >> 2]; - L24 : do if (!(HEAP32[$163 + 52 >> 2] | 0)) $$sink = 0; else { - $178 = HEAP32[$163 + 40 >> 2] | 0; - $180 = HEAP32[$163 + 36 >> 2] | 0; - switch (HEAP32[$136 >> 2] | 0) { + $66 = HEAP32[$cinfo + 344 + (HEAP32[$cinfo + 372 + ($blkn$0244 << 2) >> 2] << 2) >> 2] | 0; + HEAP32[$0 + 100 + ($blkn$0244 << 2) >> 2] = HEAP32[$0 + 68 + (HEAP32[$66 + 20 >> 2] << 2) >> 2]; + HEAP32[$0 + 140 + ($blkn$0244 << 2) >> 2] = HEAP32[$0 + 84 + (HEAP32[$66 + 24 >> 2] << 2) >> 2]; + L24 : do if (!(HEAP32[$66 + 52 >> 2] | 0)) $$sink = 0; else { + $72 = HEAP32[$66 + 40 >> 2] | 0; + $73 = HEAP32[$66 + 36 >> 2] | 0; + switch (HEAP32[$lim_Se167 >> 2] | 0) { case 0: { $$sink = 1; @@ -38273,11909 +39510,11708 @@ function _start_pass_huff_decoder($0) { } case 3: { - $$sink = (HEAP32[4336 + ((($178 | 0) != 1 & 1) << 3) + ((($180 | 0) != 1 & 1) << 2) >> 2] | 0) + 1 | 0; + $$sink = (HEAP32[4336 + ((($72 | 0) != 1 & 1) << 3) + ((($73 | 0) != 1 & 1) << 2) >> 2] | 0) + 1 | 0; break L24; break; } case 8: { - $$off258 = $178 + -1 | 0; - $$off259 = $180 + -1 | 0; - $$sink = (HEAP32[4352 + (($$off258 >>> 0 < 2 ? $$off258 : 2) * 12 | 0) + (($$off259 >>> 0 < 2 ? $$off259 : 2) << 2) >> 2] | 0) + 1 | 0; + $$off217 = $72 + -1 | 0; + $$off218 = $73 + -1 | 0; + $$sink = (HEAP32[4352 + (($$off217 >>> 0 < 2 ? $$off217 : 2) * 12 | 0) + (($$off218 >>> 0 < 2 ? $$off218 : 2) << 2) >> 2] | 0) + 1 | 0; break L24; break; } case 15: { - $$off256 = $178 + -1 | 0; - $$off257 = $180 + -1 | 0; - $$sink = (HEAP32[4400 + (($$off256 >>> 0 < 3 ? $$off256 : 3) << 4) + (($$off257 >>> 0 < 3 ? $$off257 : 3) << 2) >> 2] | 0) + 1 | 0; + $$off215 = $72 + -1 | 0; + $$off216 = $73 + -1 | 0; + $$sink = (HEAP32[4400 + (($$off215 >>> 0 < 3 ? $$off215 : 3) << 4) + (($$off216 >>> 0 < 3 ? $$off216 : 3) << 2) >> 2] | 0) + 1 | 0; break L24; break; } case 24: { - $$off254 = $178 + -1 | 0; - $$off255 = $180 + -1 | 0; - $$sink = (HEAP32[4464 + (($$off254 >>> 0 < 4 ? $$off254 : 4) * 20 | 0) + (($$off255 >>> 0 < 4 ? $$off255 : 4) << 2) >> 2] | 0) + 1 | 0; + $$off213 = $72 + -1 | 0; + $$off214 = $73 + -1 | 0; + $$sink = (HEAP32[4464 + (($$off213 >>> 0 < 4 ? $$off213 : 4) * 20 | 0) + (($$off214 >>> 0 < 4 ? $$off214 : 4) << 2) >> 2] | 0) + 1 | 0; break L24; break; } case 35: { - $$off252 = $178 + -1 | 0; - $$off253 = $180 + -1 | 0; - $$sink = (HEAP32[4576 + (($$off252 >>> 0 < 5 ? $$off252 : 5) * 24 | 0) + (($$off253 >>> 0 < 5 ? $$off253 : 5) << 2) >> 2] | 0) + 1 | 0; + $$off211 = $72 + -1 | 0; + $$off212 = $73 + -1 | 0; + $$sink = (HEAP32[4576 + (($$off211 >>> 0 < 5 ? $$off211 : 5) * 24 | 0) + (($$off212 >>> 0 < 5 ? $$off212 : 5) << 2) >> 2] | 0) + 1 | 0; break L24; break; } case 48: { - $$off = $178 + -1 | 0; - $$off251 = $180 + -1 | 0; - $$sink = (HEAP32[4720 + (($$off >>> 0 < 6 ? $$off : 6) * 28 | 0) + (($$off251 >>> 0 < 6 ? $$off251 : 6) << 2) >> 2] | 0) + 1 | 0; + $$off = $72 + -1 | 0; + $$off210 = $73 + -1 | 0; + $$sink = (HEAP32[4720 + (($$off >>> 0 < 6 ? $$off : 6) * 28 | 0) + (($$off210 >>> 0 < 6 ? $$off210 : 6) << 2) >> 2] | 0) + 1 | 0; break L24; break; } default: { - $$off262 = $178 + -1 | 0; - $$off263 = $180 + -1 | 0; - $$sink = (HEAP32[4928 + (($$off262 >>> 0 < 7 ? $$off262 : 7) << 5) + (($$off263 >>> 0 < 7 ? $$off263 : 7) << 2) >> 2] | 0) + 1 | 0; + $$off221 = $72 + -1 | 0; + $$off222 = $73 + -1 | 0; + $$sink = (HEAP32[4928 + (($$off221 >>> 0 < 7 ? $$off221 : 7) << 5) + (($$off222 >>> 0 < 7 ? $$off222 : 7) << 2) >> 2] | 0) + 1 | 0; break L24; } } } while (0); - HEAP32[$2 + 180 + ($$0242284 << 2) >> 2] = $$sink; - $$0242284 = $$0242284 + 1 | 0; - } while (($$0242284 | 0) < (HEAP32[$157 >> 2] | 0)); - $235 = $2 + 16 | 0; - HEAP32[$235 >> 2] = 0; - $236 = $2 + 12 | 0; - HEAP32[$236 >> 2] = 0; - $237 = $2 + 40 | 0; - HEAP32[$237 >> 2] = 0; - $238 = $0 + 280 | 0; - $239 = HEAP32[$238 >> 2] | 0; - $240 = $2 + 44 | 0; - HEAP32[$240 >> 2] = $239; + HEAP32[$0 + 180 + ($blkn$0244 << 2) >> 2] = $$sink; + $blkn$0244 = $blkn$0244 + 1 | 0; + } while (($blkn$0244 | 0) < (HEAP32[$blocks_in_MCU >> 2] | 0)); + $bits_left = $0 + 16 | 0; + HEAP32[$bits_left >> 2] = 0; + $get_buffer = $0 + 12 | 0; + HEAP32[$get_buffer >> 2] = 0; + $insufficient_data = $0 + 40 | 0; + HEAP32[$insufficient_data >> 2] = 0; + $restart_interval = $cinfo + 280 | 0; + $97 = HEAP32[$restart_interval >> 2] | 0; + $restarts_to_go = $0 + 44 | 0; + HEAP32[$restarts_to_go >> 2] = $97; return; } - $9 = $0 + 416 | 0; - $10 = HEAP32[$9 >> 2] | 0; - if ($8) if (!$10) label = 7; else label = 11; else if ((($10 | 0) >= ($7 | 0) ? ($10 | 0) <= (HEAP32[$0 + 436 >> 2] | 0) : 0) ? (HEAP32[$0 + 340 >> 2] | 0) == 1 : 0) label = 7; else label = 11; + $Se = $cinfo + 416 | 0; + $3 = HEAP32[$Se >> 2] | 0; + if ($cmp145) if (!$3) label = 7; else label = 11; else if ((($3 | 0) >= ($2 | 0) ? ($3 | 0) <= (HEAP32[$cinfo + 436 >> 2] | 0) : 0) ? (HEAP32[$cinfo + 340 >> 2] | 0) == 1 : 0) label = 7; else label = 11; do if ((label | 0) == 7) { - $20 = HEAP32[$0 + 420 >> 2] | 0; - if ($20) { - $22 = $20 + -1 | 0; - if (($22 | 0) == (HEAP32[$0 + 424 >> 2] | 0)) $27 = $22; else { + $6 = HEAP32[$cinfo + 420 >> 2] | 0; + if ($6) { + $sub = $6 + -1 | 0; + if (($sub | 0) == (HEAP32[$cinfo + 424 >> 2] | 0)) $8 = $sub; else { label = 11; break; } - } else $27 = HEAP32[$0 + 424 >> 2] | 0; - if (($27 | 0) > 13) label = 11; + } else $8 = HEAP32[$cinfo + 424 >> 2] | 0; + if (($8 | 0) > 13) label = 11; } while (0); if ((label | 0) == 11) { - $28 = HEAP32[$0 >> 2] | 0; - HEAP32[$28 + 20 >> 2] = 17; - HEAP32[$28 + 24 >> 2] = $7; - HEAP32[(HEAP32[$0 >> 2] | 0) + 28 >> 2] = HEAP32[$9 >> 2]; - HEAP32[(HEAP32[$0 >> 2] | 0) + 32 >> 2] = HEAP32[$0 + 420 >> 2]; - HEAP32[(HEAP32[$0 >> 2] | 0) + 36 >> 2] = HEAP32[$0 + 424 >> 2]; - FUNCTION_TABLE_vi[HEAP32[HEAP32[$0 >> 2] >> 2] & 255]($0); - } - $44 = $0 + 340 | 0; - $45 = HEAP32[$44 >> 2] | 0; - if (($45 | 0) > 0) { - $47 = $0 + 160 | 0; - $48 = $0 + 420 | 0; - $49 = $0 + 424 | 0; - $$0295 = 0; + $9 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$9 + 20 >> 2] = 17; + HEAP32[$9 + 24 >> 2] = $2; + HEAP32[(HEAP32[$cinfo >> 2] | 0) + 28 >> 2] = HEAP32[$Se >> 2]; + HEAP32[(HEAP32[$cinfo >> 2] | 0) + 32 >> 2] = HEAP32[$cinfo + 420 >> 2]; + HEAP32[(HEAP32[$cinfo >> 2] | 0) + 36 >> 2] = HEAP32[$cinfo + 424 >> 2]; + FUNCTION_TABLE_vi[HEAP32[HEAP32[$cinfo >> 2] >> 2] & 255]($cinfo); + } + $comps_in_scan46 = $cinfo + 340 | 0; + $18 = HEAP32[$comps_in_scan46 >> 2] | 0; + if (($18 | 0) > 0) { + $coef_bits = $cinfo + 160 | 0; + $Ah76 = $cinfo + 420 | 0; + $Al92 = $cinfo + 424 | 0; + $ci$0252 = 0; do { - $53 = HEAP32[(HEAP32[$0 + 344 + ($$0295 << 2) >> 2] | 0) + 4 >> 2] | 0; - $54 = HEAP32[$47 >> 2] | 0; - $55 = HEAP32[$6 >> 2] | 0; - if ($55) if ((HEAP32[$54 + ($53 << 8) >> 2] | 0) < 0) { - $60 = HEAP32[$0 >> 2] | 0; - HEAP32[$60 + 20 >> 2] = 118; - HEAP32[$60 + 24 >> 2] = $53; - HEAP32[(HEAP32[$0 >> 2] | 0) + 28 >> 2] = 0; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$0 >> 2] | 0) + 4 >> 2] & 255]($0, -1); - $70 = HEAP32[$6 >> 2] | 0; - } else $70 = $55; else $70 = 0; - if (($70 | 0) <= (HEAP32[$9 >> 2] | 0)) { - $$0243291 = $70; + $20 = HEAP32[(HEAP32[$cinfo + 344 + ($ci$0252 << 2) >> 2] | 0) + 4 >> 2] | 0; + $21 = HEAP32[$coef_bits >> 2] | 0; + $22 = HEAP32[$Ss >> 2] | 0; + if ($22) if ((HEAP32[$21 + ($20 << 8) >> 2] | 0) < 0) { + $24 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$24 + 20 >> 2] = 118; + HEAP32[$24 + 24 >> 2] = $20; + HEAP32[(HEAP32[$cinfo >> 2] | 0) + 28 >> 2] = 0; + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$cinfo >> 2] | 0) + 4 >> 2] & 255]($cinfo, -1); + $29 = HEAP32[$Ss >> 2] | 0; + } else $29 = $22; else $29 = 0; + if (($29 | 0) <= (HEAP32[$Se >> 2] | 0)) { + $coefi$0250 = $29; while (1) { - $71 = $54 + ($53 << 8) + ($$0243291 << 2) | 0; - $72 = HEAP32[$71 >> 2] | 0; - if ((HEAP32[$48 >> 2] | 0) != ((($72 | 0) > 0 ? $72 : 0) | 0)) { - $76 = HEAP32[$0 >> 2] | 0; - HEAP32[$76 + 20 >> 2] = 118; - HEAP32[$76 + 24 >> 2] = $53; - HEAP32[(HEAP32[$0 >> 2] | 0) + 28 >> 2] = $$0243291; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$0 >> 2] | 0) + 4 >> 2] & 255]($0, -1); - } - HEAP32[$71 >> 2] = HEAP32[$49 >> 2]; - if (($$0243291 | 0) < (HEAP32[$9 >> 2] | 0)) $$0243291 = $$0243291 + 1 | 0; else break; - } - } - $$0295 = $$0295 + 1 | 0; - $89 = HEAP32[$44 >> 2] | 0; - } while (($$0295 | 0) < ($89 | 0)); - $$pre$phi308Z2D = $48; - $97 = $89; + $arrayidx73 = $21 + ($20 << 8) + ($coefi$0250 << 2) | 0; + $30 = HEAP32[$arrayidx73 >> 2] | 0; + if ((HEAP32[$Ah76 >> 2] | 0) != ((($30 | 0) > 0 ? $30 : 0) | 0)) { + $33 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$33 + 20 >> 2] = 118; + HEAP32[$33 + 24 >> 2] = $20; + HEAP32[(HEAP32[$cinfo >> 2] | 0) + 28 >> 2] = $coefi$0250; + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$cinfo >> 2] | 0) + 4 >> 2] & 255]($cinfo, -1); + } + HEAP32[$arrayidx73 >> 2] = HEAP32[$Al92 >> 2]; + if (($coefi$0250 | 0) < (HEAP32[$Se >> 2] | 0)) $coefi$0250 = $coefi$0250 + 1 | 0; else break; + } + } + $ci$0252 = $ci$0252 + 1 | 0; + $39 = HEAP32[$comps_in_scan46 >> 2] | 0; + } while (($ci$0252 | 0) < ($39 | 0)); + $42 = $39; + $Ah97$pre$phiZ2D = $Ah76; } else { - $$pre$phi308Z2D = $0 + 420 | 0; - $97 = $45; - } - $93 = HEAP32[$6 >> 2] | 0; - $94 = ($93 | 0) == 0; - HEAP32[$2 + 4 >> 2] = (HEAP32[$$pre$phi308Z2D >> 2] | 0) == 0 ? ($94 ? 60 : 61) : $94 ? 62 : 63; - L69 : do if (($97 | 0) > 0) { - $98 = $2 + 64 | 0; - $$1287 = 0; - $102 = $93; + $42 = $18; + $Ah97$pre$phiZ2D = $cinfo + 420 | 0; + } + $41 = HEAP32[$Ss >> 2] | 0; + $cmp101 = ($41 | 0) == 0; + HEAP32[$0 + 4 >> 2] = (HEAP32[$Ah97$pre$phiZ2D >> 2] | 0) == 0 ? ($cmp101 ? 58 : 57) : $cmp101 ? 60 : 59; + L69 : do if (($42 | 0) > 0) { + $ac_derived_tbl = $0 + 64 | 0; + $44 = $41; + $ci$1248 = 0; while (1) { - $100 = HEAP32[$0 + 344 + ($$1287 << 2) >> 2] | 0; - if (!$102) { - if (!(HEAP32[$$pre$phi308Z2D >> 2] | 0)) { - $106 = HEAP32[$100 + 20 >> 2] | 0; - _jpeg_make_d_derived_tbl($0, 1, $106, $2 + 48 + ($106 << 2) | 0); + $43 = HEAP32[$cinfo + 344 + ($ci$1248 << 2) >> 2] | 0; + if (!$44) { + if (!(HEAP32[$Ah97$pre$phiZ2D >> 2] | 0)) { + $46 = HEAP32[$43 + 20 >> 2] | 0; + _jpeg_make_d_derived_tbl($cinfo, 1, $46, $0 + 48 + ($46 << 2) | 0); } } else { - $109 = HEAP32[$100 + 24 >> 2] | 0; - $110 = $2 + 48 + ($109 << 2) | 0; - _jpeg_make_d_derived_tbl($0, 0, $109, $110); - HEAP32[$98 >> 2] = HEAP32[$110 >> 2]; + $47 = HEAP32[$43 + 24 >> 2] | 0; + $arrayidx134 = $0 + 48 + ($47 << 2) | 0; + _jpeg_make_d_derived_tbl($cinfo, 0, $47, $arrayidx134); + HEAP32[$ac_derived_tbl >> 2] = HEAP32[$arrayidx134 >> 2]; } - HEAP32[$2 + 24 + ($$1287 << 2) >> 2] = 0; - $113 = $$1287 + 1 | 0; - if (($113 | 0) >= (HEAP32[$44 >> 2] | 0)) break L69; - $$1287 = $113; - $102 = HEAP32[$6 >> 2] | 0; + HEAP32[$0 + 24 + ($ci$1248 << 2) >> 2] = 0; + $inc140 = $ci$1248 + 1 | 0; + if (($inc140 | 0) >= (HEAP32[$comps_in_scan46 >> 2] | 0)) break L69; + $44 = HEAP32[$Ss >> 2] | 0; + $ci$1248 = $inc140; } } while (0); - HEAP32[$2 + 20 >> 2] = 0; - $235 = $2 + 16 | 0; - HEAP32[$235 >> 2] = 0; - $236 = $2 + 12 | 0; - HEAP32[$236 >> 2] = 0; - $237 = $2 + 40 | 0; - HEAP32[$237 >> 2] = 0; - $238 = $0 + 280 | 0; - $239 = HEAP32[$238 >> 2] | 0; - $240 = $2 + 44 | 0; - HEAP32[$240 >> 2] = $239; + HEAP32[$0 + 20 >> 2] = 0; + $bits_left = $0 + 16 | 0; + HEAP32[$bits_left >> 2] = 0; + $get_buffer = $0 + 12 | 0; + HEAP32[$get_buffer >> 2] = 0; + $insufficient_data = $0 + 40 | 0; + HEAP32[$insufficient_data >> 2] = 0; + $restart_interval = $cinfo + 280 | 0; + $97 = HEAP32[$restart_interval >> 2] | 0; + $restarts_to_go = $0 + 44 | 0; + HEAP32[$restarts_to_go >> 2] = $97; return; } -function _kpmMatching($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $$0224 = 0, $$0225 = 0, $$0226 = 0, $$0227 = 0, $$1 = 0, $$2 = 0, $$3 = 0, $$4 = 0, $$5 = 0, $$6 = 0, $$pre$phi239Z2D = 0, $$pre$phi240Z2D = 0, $101 = 0.0, $103 = 0.0, $104 = 0, $109 = 0, $11 = 0, $113 = 0, $118 = 0, $12 = 0, $121 = 0, $123 = 0.0, $125 = 0.0, $126 = 0, $13 = 0, $131 = 0, $135 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $148 = 0, $155 = 0, $157 = 0, $159 = 0, $161 = 0, $163 = 0, $164 = 0, $169 = 0, $17 = 0, $175 = 0, $182 = 0.0, $185 = 0, $186 = 0, $192 = 0, $2 = 0, $21 = 0, $22 = 0, $23 = 0, $25 = 0, $26 = 0, $29 = 0, $3 = 0, $30 = 0, $33 = 0, $34 = 0, $37 = 0, $39 = 0.0, $41 = 0.0, $42 = 0, $45 = 0, $48 = 0, $52 = 0, $55 = 0, $57 = 0.0, $59 = 0.0, $60 = 0, $65 = 0, $69 = 0, $7 = 0, $74 = 0, $77 = 0, $79 = 0.0, $81 = 0.0, $82 = 0, $87 = 0, $9 = 0, $91 = 0, $96 = 0, $99 = 0, $vararg_buffer = 0, $vararg_buffer1 = 0, $vararg_buffer3 = 0, sp = 0; +function __ZN6vision26PreemptiveRobustHomographyIfEEbPT_PKS1_S4_iS4_iRNSt3__26vectorIS1_NS5_9allocatorIS1_EEEERNS6_IiNS7_IiEEEERNS6_INS5_4pairIS1_iEENS7_ISF_EEEES1_iii($H, $p, $q, $num_points, $test_points, $num_test_points, $hyp, $tmp_i, $hyp_costs, $scale, $max_num_hypotheses, $max_trials, $chunk_size) { + $H = $H | 0; + $p = $p | 0; + $q = $q | 0; + $num_points = $num_points | 0; + $test_points = $test_points | 0; + $num_test_points = $num_test_points | 0; + $hyp = $hyp | 0; + $tmp_i = $tmp_i | 0; + $hyp_costs = $hyp_costs | 0; + $scale = +$scale; + $max_num_hypotheses = $max_num_hypotheses | 0; + $max_trials = $max_trials | 0; + $chunk_size = $chunk_size | 0; + var $20 = 0, $22 = 0, $25 = 0, $29 = 0, $32 = 0.0, $34 = 0, $4 = 0, $5 = 0, $add = 0, $arrayidx$i161 = 0, $arrayidx45 = 0, $arrayidx48 = 0, $arrayidx51 = 0, $call$i1$i = 0, $call$i1$i150 = 0, $call$i1$i167 = 0, $call$i2$i = 0, $call$i2$i153 = 0, $call$i2$i170 = 0, $call145 = 0.0, $call17 = 0, $call31 = 0, $call40 = 0.0, $call41 = 0, $call6 = 0, $cmp98 = 0, $div = 0.0, $first147 = 0, $i$0 = 0, $i118$0 = 0, $i163$0 = 0, $j$0 = 0, $k$0 = 0, $min_cost$0 = 0.0, $min_cost$1 = 0.0, $min_index$0 = 0, $min_index$1 = 0, $mul69 = 0, $num_hypotheses$0 = 0, $num_hypotheses$1 = 0, $num_hypotheses_remaining$0 = 0, $ref$tmp$i166 = 0, $retval$0 = 0, $seed = 0, $shl = 0, $shl140 = 0, $shl46 = 0, $shl49 = 0, $shl52 = 0, $shl72 = 0, $shl75 = 0, $shl78 = 0, $shl81 = 0, $trial$0 = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 48 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); - $vararg_buffer3 = sp + 16 | 0; - $vararg_buffer1 = sp + 8 | 0; - $vararg_buffer = sp; - $2 = sp + 44 | 0; - $3 = sp + 40 | 0; - do if (($0 | 0) != 0 & ($1 | 0) != 0) { - $7 = HEAP32[$0 + 12 >> 2] | 0; - $9 = HEAP32[$0 + 16 >> 2] | 0; - $11 = HEAP32[$0 + 20 >> 2] | 0; - $12 = ($11 | 0) == 1; - if (!$12) { - $13 = _kpmUtilResizeImage($1, $7, $9, $11, $2, $3) | 0; - if (!$13) { - $$0 = -1; - break; - } else { - $$0224 = $13; - $$0226 = 1; - } - } else { - $$0224 = $1; - $$0226 = 0; - } - __ZN6vision20VisualDatabaseFacade5queryEPhmm(HEAP32[$0 >> 2] | 0, $$0224, $7, $9) | 0; - $17 = __ZNK6vision20VisualDatabaseFacade21getQueryFeaturePointsEv(HEAP32[$0 >> 2] | 0) | 0; - $21 = (HEAP32[$17 + 4 >> 2] | 0) - (HEAP32[$17 >> 2] | 0) | 0; - $22 = ($21 | 0) / 20 | 0; - $23 = $0 + 48 | 0; - HEAP32[$23 >> 2] = $22; - L6 : do if (!$21) { - $185 = HEAP32[$0 + 56 >> 2] | 0; - $186 = $0 + 52 | 0; - $$5 = 0; - while (1) { - if (($$5 | 0) >= ($185 | 0)) { - $$pre$phi239Z2D = $186; - $192 = $185; - break L6; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $ref$tmp$i166 = sp + 8 | 0; + $seed = sp; + if ((HEAP32[$hyp + 4 >> 2] | 0) - (HEAP32[$hyp >> 2] | 0) >> 2 >>> 0 < ($max_num_hypotheses * 9 | 0) >>> 0) { + $call6 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 35950) | 0, 36008) | 0, 39794) | 0, 119) | 0, 39801) | 0, 36140) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i166, $call6 + (HEAP32[(HEAP32[$call6 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i167 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i166, 67360) | 0; + $call$i2$i170 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i167 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i167, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i166); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call6, $call$i2$i170) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call6) | 0; + _abort(); + } + $4 = HEAP32[$tmp_i >> 2] | 0; + $5 = $4; + if ((HEAP32[$tmp_i + 4 >> 2] | 0) - $4 >> 2 >>> 0 < $num_points >>> 0) { + $call17 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 36190) | 0, 36008) | 0, 39794) | 0, 120) | 0, 39801) | 0, 36240) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i166, $call17 + (HEAP32[(HEAP32[$call17 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i150 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i166, 67360) | 0; + $call$i2$i153 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i150 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i150, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i166); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call17, $call$i2$i153) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call17) | 0; + _abort(); + } + if ((HEAP32[$hyp_costs + 4 >> 2] | 0) - (HEAP32[$hyp_costs >> 2] | 0) >> 3 >>> 0 < $max_num_hypotheses >>> 0) { + $call31 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 36282) | 0, 36008) | 0, 39794) | 0, 121) | 0, 39801) | 0, 36344) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i166, $call31 + (HEAP32[(HEAP32[$call31 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i166, 67360) | 0; + $call$i2$i = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i >> 2] | 0) + 28 >> 2] & 127]($call$i1$i, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i166); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call31, $call$i2$i) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call31) | 0; + _abort(); + } + if (($num_points | 0) >= 4) { + HEAP32[$seed >> 2] = 1234; + $call40 = +__ZN6vision3sqrIfEET_S1_($scale); + $call41 = __ZN6vision4min2IiEET_S1_S1_($chunk_size, $num_points) | 0; + __ZN6vision16SequentialVectorIiEEvPT_iS1_($5, $num_points, 0); + __ZN6vision12ArrayShuffleIiEEvPT_iiRi($5, $num_points, $num_points, $seed); + $arrayidx45 = $5 + 4 | 0; + $arrayidx48 = $5 + 8 | 0; + $arrayidx51 = $5 + 12 | 0; + $cmp98 = ($num_test_points | 0) > 0; + $num_hypotheses$0 = 0; + $trial$0 = 0; + while (1) { + if (!(($num_hypotheses$0 | 0) < ($max_num_hypotheses | 0) & ($trial$0 | 0) < ($max_trials | 0))) break; + __ZN6vision12ArrayShuffleIiEEvPT_iiRi($5, $num_points, 4, $seed); + $shl = HEAP32[$5 >> 2] << 1; + $shl46 = HEAP32[$arrayidx45 >> 2] << 1; + $shl49 = HEAP32[$arrayidx48 >> 2] << 1; + $shl52 = HEAP32[$arrayidx51 >> 2] << 1; + do if (__ZN6vision40Homography4PointsGeometricallyConsistentIfEEbPKT_S3_S3_S3_S3_S3_S3_S3_($p + ($shl << 2) | 0, $p + ($shl46 << 2) | 0, $p + ($shl49 << 2) | 0, $p + ($shl52 << 2) | 0, $q + ($shl << 2) | 0, $q + ($shl46 << 2) | 0, $q + ($shl49 << 2) | 0, $q + ($shl52 << 2) | 0) | 0 ? ($mul69 = $num_hypotheses$0 * 9 | 0, $shl72 = HEAP32[$5 >> 2] << 1, $shl75 = HEAP32[$arrayidx45 >> 2] << 1, $shl78 = HEAP32[$arrayidx48 >> 2] << 1, $shl81 = HEAP32[$arrayidx51 >> 2] << 1, __ZN6vision22SolveHomography4PointsIfEEbPT_PKS1_S4_S4_S4_S4_S4_S4_S4_((HEAP32[$hyp >> 2] | 0) + ($mul69 << 2) | 0, $p + ($shl72 << 2) | 0, $p + ($shl75 << 2) | 0, $p + ($shl78 << 2) | 0, $p + ($shl81 << 2) | 0, $q + ($shl72 << 2) | 0, $q + ($shl75 << 2) | 0, $q + ($shl78 << 2) | 0, $q + ($shl81 << 2) | 0) | 0) : 0) { + if ($cmp98 ? !(__ZN6vision39HomographyPointsGeometricallyConsistentIfEEbPKT_S3_i((HEAP32[$hyp >> 2] | 0) + ($mul69 << 2) | 0, $test_points, $num_test_points) | 0) : 0) { + $num_hypotheses$1 = $num_hypotheses$0; + break; } - HEAP32[(HEAP32[$186 >> 2] | 0) + ($$5 * 68 | 0) + 60 >> 2] = -1; - $$5 = $$5 + 1 | 0; - } - } else { - $25 = $0 + 44 | 0; - $26 = HEAP32[$25 >> 2] | 0; - if (!$26) $29 = $22; else { - _free($26); - $29 = HEAP32[$23 >> 2] | 0; - } - $30 = _malloc($29 << 3) | 0; - HEAP32[$25 >> 2] = $30; - if (!$30) { - _arLog(0, 3, 45930, $vararg_buffer1); - _exit(1); + $num_hypotheses$1 = $num_hypotheses$0 + 1 | 0; + } else $num_hypotheses$1 = $num_hypotheses$0; while (0); + $num_hypotheses$0 = $num_hypotheses$1; + $trial$0 = $trial$0 + 1 | 0; + } + $div = 1.0 / $call40; + if ($num_hypotheses$0) { + $20 = HEAP32[$hyp_costs >> 2] | 0; + $i$0 = 0; + while (1) { + if (($i$0 | 0) >= ($num_hypotheses$0 | 0)) break; + HEAPF32[$20 + ($i$0 << 3) >> 2] = 0.0; + HEAP32[$20 + ($i$0 << 3) + 4 >> 2] = $i$0; + $i$0 = $i$0 + 1 | 0; } - $33 = __ZNK6vision20VisualDatabaseFacade21getQueryFeaturePointsEv(HEAP32[$0 >> 2] | 0) | 0; - L18 : do if ($12) { - $34 = $0 + 4 | 0; - $$0227 = 0; + $i118$0 = 0; + $num_hypotheses_remaining$0 = $num_hypotheses$0; + while (1) { + if (!(($num_hypotheses_remaining$0 | 0) > 2 & ($i118$0 | 0) < ($num_points | 0))) break; + $add = (__ZN6vision4min2IiEET_S1_S1_($call41, $num_points - $i118$0 | 0) | 0) + $i118$0 | 0; + $25 = HEAP32[$hyp_costs >> 2] | 0; + $j$0 = 0; while (1) { - if (($$0227 | 0) >= (HEAP32[$23 >> 2] | 0)) { - $$pre$phi240Z2D = $34; - break L18; - } - $37 = HEAP32[$33 >> 2] | 0; - $39 = +HEAPF32[$37 + ($$0227 * 20 | 0) >> 2]; - $41 = +HEAPF32[$37 + ($$0227 * 20 | 0) + 4 >> 2]; - $42 = HEAP32[$34 >> 2] | 0; - if (!$42) { - $48 = HEAP32[$25 >> 2] | 0; - HEAPF32[$48 + ($$0227 << 3) >> 2] = $39; - HEAPF32[$48 + ($$0227 << 3) + 4 >> 2] = $41; - } else { - $45 = HEAP32[$25 >> 2] | 0; - _arParamObserv2IdealLTf($42 + 184 | 0, $39, $41, $45 + ($$0227 << 3) | 0, $45 + ($$0227 << 3) + 4 | 0) | 0; - } - $$0227 = $$0227 + 1 | 0; - } - } else switch ($11 | 0) { - case 5: - { - $52 = $0 + 4 | 0; - $$1 = 0; - while (1) { - if (($$1 | 0) >= (HEAP32[$23 >> 2] | 0)) { - $$pre$phi240Z2D = $52; - break L18; - } - $55 = HEAP32[$33 >> 2] | 0; - $57 = +HEAPF32[$55 + ($$1 * 20 | 0) >> 2]; - $59 = +HEAPF32[$55 + ($$1 * 20 | 0) + 4 >> 2]; - $60 = HEAP32[$52 >> 2] | 0; - if (!$60) { - $69 = HEAP32[$25 >> 2] | 0; - HEAPF32[$69 + ($$1 << 3) >> 2] = $57 * 1.5; - HEAPF32[$69 + ($$1 << 3) + 4 >> 2] = $59 * 1.5; - } else { - $65 = HEAP32[$25 >> 2] | 0; - _arParamObserv2IdealLTf($60 + 184 | 0, $57 * 1.5, $59 * 1.5, $65 + ($$1 << 3) | 0, $65 + ($$1 << 3) + 4 | 0) | 0; - } - $$1 = $$1 + 1 | 0; - } - break; - } - case 2: - { - $74 = $0 + 4 | 0; - $$2 = 0; - while (1) { - if (($$2 | 0) >= (HEAP32[$23 >> 2] | 0)) { - $$pre$phi240Z2D = $74; - break L18; - } - $77 = HEAP32[$33 >> 2] | 0; - $79 = +HEAPF32[$77 + ($$2 * 20 | 0) >> 2]; - $81 = +HEAPF32[$77 + ($$2 * 20 | 0) + 4 >> 2]; - $82 = HEAP32[$74 >> 2] | 0; - if (!$82) { - $91 = HEAP32[$25 >> 2] | 0; - HEAPF32[$91 + ($$2 << 3) >> 2] = $79 * 2.0; - HEAPF32[$91 + ($$2 << 3) + 4 >> 2] = $81 * 2.0; - } else { - $87 = HEAP32[$25 >> 2] | 0; - _arParamObserv2IdealLTf($82 + 184 | 0, $79 * 2.0, $81 * 2.0, $87 + ($$2 << 3) | 0, $87 + ($$2 << 3) + 4 | 0) | 0; - } - $$2 = $$2 + 1 | 0; - } - break; - } - case 4: - { - $96 = $0 + 4 | 0; - $$3 = 0; - while (1) { - if (($$3 | 0) >= (HEAP32[$23 >> 2] | 0)) { - $$pre$phi240Z2D = $96; - break L18; - } - $99 = HEAP32[$33 >> 2] | 0; - $101 = +HEAPF32[$99 + ($$3 * 20 | 0) >> 2]; - $103 = +HEAPF32[$99 + ($$3 * 20 | 0) + 4 >> 2]; - $104 = HEAP32[$96 >> 2] | 0; - if (!$104) { - $113 = HEAP32[$25 >> 2] | 0; - HEAPF32[$113 + ($$3 << 3) >> 2] = $101 * 3.0; - HEAPF32[$113 + ($$3 << 3) + 4 >> 2] = $103 * 3.0; - } else { - $109 = HEAP32[$25 >> 2] | 0; - _arParamObserv2IdealLTf($104 + 184 | 0, $101 * 3.0, $103 * 3.0, $109 + ($$3 << 3) | 0, $109 + ($$3 << 3) + 4 | 0) | 0; - } - $$3 = $$3 + 1 | 0; - } - break; - } - default: - { - $118 = $0 + 4 | 0; - $$4 = 0; + if (($j$0 | 0) == ($num_hypotheses_remaining$0 | 0)) break; + $arrayidx$i161 = (HEAP32[$hyp >> 2] | 0) + ((HEAP32[$25 + ($j$0 << 3) + 4 >> 2] | 0) * 9 << 2) | 0; + $34 = $25; + $k$0 = $i118$0; while (1) { - if (($$4 | 0) >= (HEAP32[$23 >> 2] | 0)) { - $$pre$phi240Z2D = $118; - break L18; - } - $121 = HEAP32[$33 >> 2] | 0; - $123 = +HEAPF32[$121 + ($$4 * 20 | 0) >> 2]; - $125 = +HEAPF32[$121 + ($$4 * 20 | 0) + 4 >> 2]; - $126 = HEAP32[$118 >> 2] | 0; - if (!$126) { - $135 = HEAP32[$25 >> 2] | 0; - HEAPF32[$135 + ($$4 << 3) >> 2] = $123 * 4.0; - HEAPF32[$135 + ($$4 << 3) + 4 >> 2] = $125 * 4.0; - } else { - $131 = HEAP32[$25 >> 2] | 0; - _arParamObserv2IdealLTf($126 + 184 | 0, $123 * 4.0, $125 * 4.0, $131 + ($$4 << 3) | 0, $131 + ($$4 << 3) + 4 | 0) | 0; - } - $$4 = $$4 + 1 | 0; - } + if (($k$0 | 0) >= ($add | 0)) break; + $shl140 = HEAP32[$5 + ($k$0 << 2) >> 2] << 1; + $call145 = +__ZN6vision32CauchyProjectiveReprojectionCostIfEET_PKS1_S3_S3_S1_($arrayidx$i161, $p + ($shl140 << 2) | 0, $q + ($shl140 << 2) | 0, $div); + $29 = HEAP32[$hyp_costs >> 2] | 0; + $first147 = $29 + ($j$0 << 3) | 0; + HEAPF32[$first147 >> 2] = $call145 + +HEAPF32[$first147 >> 2]; + $34 = $29; + $k$0 = $k$0 + 1 | 0; + } + $25 = $34; + $j$0 = $j$0 + 1 | 0; } - } while (0); - $140 = $0 + 56 | 0; - $141 = $0 + 36 | 0; - $142 = $0 + 52 | 0; - $$0225 = 0; + __ZN6vision10FastMedianIfiEENSt3__24pairIT_T0_EEPS5_i($ref$tmp$i166, $25, $num_hypotheses_remaining$0); + $i118$0 = $add; + $num_hypotheses_remaining$0 = $num_hypotheses_remaining$0 >> 1; + } + $22 = HEAP32[$hyp_costs >> 2] | 0; + $i163$0 = 1; + $min_cost$0 = +HEAPF32[$22 >> 2]; + $min_index$0 = HEAP32[$22 + 4 >> 2] | 0; while (1) { - $143 = HEAP32[$140 >> 2] | 0; - if (($$0225 | 0) >= ($143 | 0)) { - $$pre$phi239Z2D = $142; - $192 = $143; - break L6; + if (($i163$0 | 0) >= ($num_hypotheses_remaining$0 | 0)) break; + $32 = +HEAPF32[$22 + ($i163$0 << 3) >> 2]; + if ($32 < $min_cost$0) { + $min_cost$1 = $32; + $min_index$1 = HEAP32[$22 + ($i163$0 << 3) + 4 >> 2] | 0; + } else { + $min_cost$1 = $min_cost$0; + $min_index$1 = $min_index$0; } - $148 = HEAP32[$142 >> 2] | 0; - HEAP32[$148 + ($$0225 * 68 | 0) + 48 >> 2] = HEAP32[(HEAP32[$141 >> 2] | 0) + ($$0225 * 12 | 0) + 8 >> 2]; - HEAP32[$148 + ($$0225 * 68 | 0) + 60 >> 2] = -1; - if (((HEAP32[$148 + ($$0225 * 68 | 0) + 64 >> 2] | 0) == 0 ? ($155 = __ZNK6vision20VisualDatabaseFacade7inliersEv(HEAP32[$0 >> 2] | 0) | 0, $157 = __ZN6vision20VisualDatabaseFacade9matchedIdEv(HEAP32[$0 >> 2] | 0) | 0, ($157 | 0) >= 0) : 0) ? ($159 = HEAP32[$$pre$phi240Z2D >> 2] | 0, $161 = __ZNK6vision20VisualDatabaseFacade18get3DFeaturePointsEi(HEAP32[$0 >> 2] | 0, $157) | 0, $163 = __ZNK6vision20VisualDatabaseFacade21getQueryFeaturePointsEv(HEAP32[$0 >> 2] | 0) | 0, $164 = HEAP32[$142 >> 2] | 0, (__Z21kpmUtilGetPose_binaryP9ARParamLTRKNSt3__26vectorIN6vision7match_tENS1_9allocatorIS4_EEEERKNS2_INS3_7Point3dIfEENS5_ISB_EEEERKNS2_INS3_12FeaturePointENS5_ISG_EEEEPA4_fPf($159, $155, $161, $163, $164 + ($$0225 * 68 | 0) | 0, $164 + ($$0225 * 68 | 0) + 52 | 0) | 0) == 0) : 0) { - $169 = HEAP32[$142 >> 2] | 0; - HEAP32[$169 + ($$0225 * 68 | 0) + 60 >> 2] = 0; - $175 = (HEAP32[$155 + 4 >> 2] | 0) - (HEAP32[$155 >> 2] | 0) >> 3; - HEAP32[$169 + ($$0225 * 68 | 0) + 56 >> 2] = $175; - HEAP32[$169 + ($$0225 * 68 | 0) + 48 >> 2] = HEAP32[$0 + 60 + ($157 << 2) >> 2]; - $182 = +HEAPF32[$169 + ($$0225 * 68 | 0) + 52 >> 2]; - HEAP32[$vararg_buffer3 >> 2] = $$0225; - HEAP32[$vararg_buffer3 + 4 >> 2] = $175; - HEAP32[$vararg_buffer3 + 8 >> 2] = $175; - HEAPF64[$vararg_buffer3 + 16 >> 3] = $182; - _arLog(0, 1, 26659, $vararg_buffer3); - } - $$0225 = $$0225 + 1 | 0; + $i163$0 = $i163$0 + 1 | 0; + $min_cost$0 = $min_cost$1; + $min_index$0 = $min_index$1; } - } while (0); - $$6 = 0; - while (1) { - if (($$6 | 0) >= ($192 | 0)) break; - HEAP32[(HEAP32[$$pre$phi239Z2D >> 2] | 0) + ($$6 * 68 | 0) + 64 >> 2] = 0; - $$6 = $$6 + 1 | 0; - } - if (!$$0226) $$0 = 0; else { - _free($$0224); - $$0 = 0; - } - } else { - _arLog(0, 3, 26615, $vararg_buffer); - $$0 = -1; - } while (0); + __ZN6vision11CopyVector9IfEEvPT_PKS1_($H, (HEAP32[$hyp >> 2] | 0) + ($min_index$0 * 9 << 2) | 0); + __ZN6vision19NormalizeHomographyIfEEvPT_($H); + $retval$0 = 1; + } else $retval$0 = 0; + } else $retval$0 = 0; STACKTOP = sp; - return $$0 | 0; + return $retval$0 | 0; } -function __ZN6vision25bilinear_histogram_updateEPfffi($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = +$1; - $2 = +$2; - $3 = $3 | 0; - var $105 = 0, $11 = 0, $110 = 0, $114 = 0, $121 = 0, $126 = 0, $130 = 0, $137 = 0, $142 = 0, $146 = 0, $148 = 0, $152 = 0, $16 = 0, $20 = 0, $23 = 0.0, $31 = 0, $36 = 0, $4 = 0, $40 = 0, $47 = 0, $52 = 0, $56 = 0, $63 = 0, $68 = 0, $72 = 0, $74 = 0, $77 = 0.0, $78 = 0.0, $80 = 0, $82 = 0, $89 = 0, $94 = 0, $98 = 0, sp = 0; +function _ar2ReadSurfaceSet($filename, $ext, $pattHandle) { + $filename = $filename | 0; + $ext = $ext | 0; + $pattHandle = $pattHandle | 0; + var $$sink = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $2 = 0, $buf = 0, $call10 = 0, $call116 = 0, $call14 = 0, $call15 = 0, $call17 = 0, $call275 = 0, $call47 = 0, $call74 = 0, $call91 = 0, $fp$0 = 0, $i = 0, $j$0 = 0, $k$0 = 0, $name = 0, $namebuf = 0, $readMode$1 = 0, $retval$1 = 0, $storemerge = 0, $tobool = 0, $tobool111 = 0, $vararg_buffer = 0, $vararg_buffer11 = 0, $vararg_buffer14 = 0, $vararg_buffer16 = 0, $vararg_buffer19 = 0, $vararg_buffer2 = 0, $vararg_buffer22 = 0, $vararg_buffer24 = 0, $vararg_buffer27 = 0, $vararg_buffer29 = 0, $vararg_buffer31 = 0, $vararg_buffer34 = 0, $vararg_buffer36 = 0, $vararg_buffer38 = 0, $vararg_buffer41 = 0, $vararg_buffer43 = 0, $vararg_buffer49 = 0, $vararg_buffer5 = 0, $vararg_buffer51 = 0, $vararg_buffer57 = 0, $vararg_buffer59 = 0, $vararg_buffer65 = 0, $vararg_buffer67 = 0, $vararg_buffer9 = 0, label = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $4 = sp; - if (!$0) { - $11 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 32520) | 0, 32556) | 0, 39072) | 0, 139) | 0, 39079) | 0, 32643) | 0; - __ZNKSt3__28ios_base6getlocEv($4, $11 + (HEAP32[(HEAP32[$11 >> 2] | 0) + -12 >> 2] | 0) | 0); - $16 = __ZNKSt3__26locale9use_facetERNS0_2idE($4, 66512) | 0; - $20 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$16 >> 2] | 0) + 28 >> 2] & 127]($16, 10) | 0; - __ZNSt3__26localeD2Ev($4); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($11, $20) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($11) | 0; - _abort(); - } - if ($1 + .5 > 0.0 ? ($23 = $1 + -.5, $23 < +($3 | 0)) : 0) { - if (!($2 >= 0.0)) { - $47 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 32774) | 0, 32556) | 0, 39072) | 0, 141) | 0, 39079) | 0, 32812) | 0; - __ZNKSt3__28ios_base6getlocEv($4, $47 + (HEAP32[(HEAP32[$47 >> 2] | 0) + -12 >> 2] | 0) | 0); - $52 = __ZNKSt3__26locale9use_facetERNS0_2idE($4, 66512) | 0; - $56 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$52 >> 2] | 0) + 28 >> 2] & 127]($52, 10) | 0; - __ZNSt3__26localeD2Ev($4); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($47, $56) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($47) | 0; - _abort(); - } - if (($3 | 0) <= -1) { - $63 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 32841) | 0, 32556) | 0, 39072) | 0, 142) | 0, 39079) | 0, 32878) | 0; - __ZNKSt3__28ios_base6getlocEv($4, $63 + (HEAP32[(HEAP32[$63 >> 2] | 0) + -12 >> 2] | 0) | 0); - $68 = __ZNKSt3__26locale9use_facetERNS0_2idE($4, 66512) | 0; - $72 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$68 >> 2] | 0) + 28 >> 2] & 127]($68, 10) | 0; - __ZNSt3__26localeD2Ev($4); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($63, $72) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($63) | 0; - _abort(); - } - $74 = ~~+Math_floor(+$23); - $77 = $1 - +($74 | 0) + -.5; - $78 = 1.0 - $77; - $80 = ($74 + $3 | 0) % ($3 | 0) | 0; - $82 = ($74 + 1 | 0) % ($3 | 0) | 0; - if (!($78 >= 0.0)) { - $89 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 32907) | 0, 32556) | 0, 39072) | 0, 150) | 0, 39079) | 0, 32938) | 0; - __ZNKSt3__28ios_base6getlocEv($4, $89 + (HEAP32[(HEAP32[$89 >> 2] | 0) + -12 >> 2] | 0) | 0); - $94 = __ZNKSt3__26locale9use_facetERNS0_2idE($4, 66512) | 0; - $98 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$94 >> 2] | 0) + 28 >> 2] & 127]($94, 10) | 0; - __ZNSt3__26localeD2Ev($4); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($89, $98) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($89) | 0; - _abort(); - } - if (!($77 >= 0.0)) { - $105 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 32958) | 0, 32556) | 0, 39072) | 0, 151) | 0, 39079) | 0, 32989) | 0; - __ZNKSt3__28ios_base6getlocEv($4, $105 + (HEAP32[(HEAP32[$105 >> 2] | 0) + -12 >> 2] | 0) | 0); - $110 = __ZNKSt3__26locale9use_facetERNS0_2idE($4, 66512) | 0; - $114 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$110 >> 2] | 0) + 28 >> 2] & 127]($110, 10) | 0; - __ZNSt3__26localeD2Ev($4); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($105, $114) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($105) | 0; - _abort(); - } - if (($80 | 0) <= -1) { - $121 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 33009) | 0, 32556) | 0, 39072) | 0, 152) | 0, 39079) | 0, 33057) | 0; - __ZNKSt3__28ios_base6getlocEv($4, $121 + (HEAP32[(HEAP32[$121 >> 2] | 0) + -12 >> 2] | 0) | 0); - $126 = __ZNKSt3__26locale9use_facetERNS0_2idE($4, 66512) | 0; - $130 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$126 >> 2] | 0) + 28 >> 2] & 127]($126, 10) | 0; - __ZNSt3__26localeD2Ev($4); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($121, $130) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($121) | 0; - _abort(); - } - if (($82 | 0) > -1) { - $148 = $0 + ($80 << 2) | 0; - HEAPF32[$148 >> 2] = $78 * $2 + +HEAPF32[$148 >> 2]; - $152 = $0 + ($82 << 2) | 0; - HEAPF32[$152 >> 2] = $77 * $2 + +HEAPF32[$152 >> 2]; - STACKTOP = sp; - return; + STACKTOP = STACKTOP + 1248 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(1248); + $vararg_buffer67 = sp + 1232 | 0; + $vararg_buffer65 = sp + 1224 | 0; + $vararg_buffer59 = sp + 1208 | 0; + $vararg_buffer57 = sp + 1200 | 0; + $vararg_buffer51 = sp + 1184 | 0; + $vararg_buffer49 = sp + 1176 | 0; + $vararg_buffer43 = sp + 1160 | 0; + $vararg_buffer41 = sp + 1152 | 0; + $vararg_buffer38 = sp + 1144 | 0; + $vararg_buffer36 = sp + 1136 | 0; + $vararg_buffer34 = sp + 1128 | 0; + $vararg_buffer31 = sp + 1120 | 0; + $vararg_buffer29 = sp + 1112 | 0; + $vararg_buffer27 = sp + 1104 | 0; + $vararg_buffer24 = sp + 1096 | 0; + $vararg_buffer22 = sp + 1088 | 0; + $vararg_buffer19 = sp + 1080 | 0; + $vararg_buffer16 = sp + 1072 | 0; + $vararg_buffer14 = sp + 1064 | 0; + $vararg_buffer11 = sp + 1056 | 0; + $vararg_buffer9 = sp + 1048 | 0; + $vararg_buffer5 = sp + 1040 | 0; + $vararg_buffer2 = sp + 1032 | 0; + $vararg_buffer = sp + 1024 | 0; + $buf = sp + 768 | 0; + $name = sp + 512 | 0; + $i = sp + 1236 | 0; + $namebuf = sp; + do if ((($ext | 0) != 0 ? (HEAP8[$ext >> 0] | 0) != 0 : 0) ? (_strcmp($ext, 45977) | 0) != 0 : 0) { + HEAP32[$vararg_buffer >> 2] = $filename; + HEAP32[$vararg_buffer + 4 >> 2] = $ext; + _sprintf($namebuf, 26699, $vararg_buffer) | 0; + $call10 = _fopen($namebuf, 25925) | 0; + if (!$call10) { + HEAP32[$vararg_buffer2 >> 2] = $filename; + _arLog(0, 3, 25927, $vararg_buffer2); + $call14 = ___errno_location() | 0; + $call15 = _strerror(HEAP32[$call14 >> 2] | 0) | 0; + HEAP32[$vararg_buffer5 >> 2] = 68295; + HEAP32[$vararg_buffer5 + 4 >> 2] = $call15; + _arLog(0, 3, 25953, $vararg_buffer5); + $retval$1 = 0; + break; } else { - $137 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 33083) | 0, 32556) | 0, 39072) | 0, 153) | 0, 39079) | 0, 33131) | 0; - __ZNKSt3__28ios_base6getlocEv($4, $137 + (HEAP32[(HEAP32[$137 >> 2] | 0) + -12 >> 2] | 0) | 0); - $142 = __ZNKSt3__26locale9use_facetERNS0_2idE($4, 66512) | 0; - $146 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$142 >> 2] | 0) + 28 >> 2] & 127]($142, 10) | 0; - __ZNSt3__26localeD2Ev($4); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($137, $146) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($137) | 0; - _abort(); + $fp$0 = $call10; + $readMode$1 = 1; + label = 8; + break; } + } else label = 4; while (0); + if ((label | 0) == 4) { + _strncpy($name, $filename, 255) | 0; + HEAP8[$name + 255 >> 0] = 0; + $fp$0 = 0; + $readMode$1 = 0; + label = 8; } - $31 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 32669) | 0, 32556) | 0, 39072) | 0, 140) | 0, 39079) | 0, 32734) | 0; - __ZNKSt3__28ios_base6getlocEv($4, $31 + (HEAP32[(HEAP32[$31 >> 2] | 0) + -12 >> 2] | 0) | 0); - $36 = __ZNKSt3__26locale9use_facetERNS0_2idE($4, 66512) | 0; - $40 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$36 >> 2] | 0) + 28 >> 2] & 127]($36, 10) | 0; - __ZNSt3__26localeD2Ev($4); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($31, $40) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($31) | 0; - _abort(); -} - -function _jpeg_idct_8x4($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $$1168171 = 0, $$1172 = 0, $103 = 0, $109 = 0, $111 = 0, $113 = 0, $119 = 0, $125 = 0, $128 = 0, $13 = 0, $131 = 0, $134 = 0, $148 = 0, $154 = 0, $156 = 0, $158 = 0, $164 = 0, $170 = 0, $173 = 0, $176 = 0, $179 = 0, $19 = 0, $193 = 0, $199 = 0, $201 = 0, $203 = 0, $209 = 0, $21 = 0, $215 = 0, $218 = 0, $221 = 0, $224 = 0, $23 = 0, $238 = 0, $244 = 0, $246 = 0, $248 = 0, $254 = 0, $260 = 0, $263 = 0, $266 = 0, $269 = 0, $283 = 0, $289 = 0, $29 = 0, $291 = 0, $293 = 0, $299 = 0, $305 = 0, $308 = 0, $311 = 0, $314 = 0, $328 = 0, $334 = 0, $336 = 0, $338 = 0, $344 = 0, $35 = 0, $350 = 0, $353 = 0, $356 = 0, $359 = 0, $367 = 0, $370 = 0, $372 = 0, $374 = 0, $376 = 0, $378 = 0, $38 = 0, $380 = 0, $382 = 0, $384 = 0, $386 = 0, $388 = 0, $389 = 0, $390 = 0, $391 = 0, $392 = 0, $394 = 0, $396 = 0, $398 = 0, $400 = 0, $401 = 0, $402 = 0, $404 = 0, $407 = 0, $408 = 0, $41 = 0, $410 = 0, $414 = 0, $416 = 0, $418 = 0, $422 = 0, $424 = 0, $44 = 0, $5 = 0, $58 = 0, $64 = 0, $66 = 0, $68 = 0, $7 = 0, $74 = 0, $80 = 0, $83 = 0, $86 = 0, $89 = 0, $9 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 128 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(128); - $5 = sp; - $7 = HEAP32[$0 + 336 >> 2] | 0; - $9 = HEAP32[$1 + 84 >> 2] | 0; - $13 = Math_imul(HEAP32[$9 >> 2] | 0, HEAP16[$2 >> 1] | 0) | 0; - $19 = Math_imul(HEAP32[$9 + 64 >> 2] | 0, HEAP16[$2 + 32 >> 1] | 0) | 0; - $21 = $19 + $13 << 2; - $23 = $13 - $19 << 2; - $29 = Math_imul(HEAP32[$9 + 32 >> 2] | 0, HEAP16[$2 + 16 >> 1] | 0) | 0; - $35 = Math_imul(HEAP32[$9 + 96 >> 2] | 0, HEAP16[$2 + 48 >> 1] | 0) | 0; - $38 = (($35 + $29 | 0) * 4433 | 0) + 1024 | 0; - $41 = $38 + ($29 * 6270 | 0) >> 11; - $44 = $38 + (Math_imul($35, -15137) | 0) >> 11; - HEAP32[$5 >> 2] = $41 + $21; - HEAP32[$5 + 96 >> 2] = $21 - $41; - HEAP32[$5 + 32 >> 2] = $44 + $23; - HEAP32[$5 + 64 >> 2] = $23 - $44; - $58 = Math_imul(HEAP32[$9 + 4 >> 2] | 0, HEAP16[$2 + 2 >> 1] | 0) | 0; - $64 = Math_imul(HEAP32[$9 + 68 >> 2] | 0, HEAP16[$2 + 34 >> 1] | 0) | 0; - $66 = $64 + $58 << 2; - $68 = $58 - $64 << 2; - $74 = Math_imul(HEAP32[$9 + 36 >> 2] | 0, HEAP16[$2 + 18 >> 1] | 0) | 0; - $80 = Math_imul(HEAP32[$9 + 100 >> 2] | 0, HEAP16[$2 + 50 >> 1] | 0) | 0; - $83 = (($80 + $74 | 0) * 4433 | 0) + 1024 | 0; - $86 = $83 + ($74 * 6270 | 0) >> 11; - $89 = $83 + (Math_imul($80, -15137) | 0) >> 11; - HEAP32[$5 + 4 >> 2] = $86 + $66; - HEAP32[$5 + 100 >> 2] = $66 - $86; - HEAP32[$5 + 36 >> 2] = $89 + $68; - HEAP32[$5 + 68 >> 2] = $68 - $89; - $103 = Math_imul(HEAP32[$9 + 8 >> 2] | 0, HEAP16[$2 + 4 >> 1] | 0) | 0; - $109 = Math_imul(HEAP32[$9 + 72 >> 2] | 0, HEAP16[$2 + 36 >> 1] | 0) | 0; - $111 = $109 + $103 << 2; - $113 = $103 - $109 << 2; - $119 = Math_imul(HEAP32[$9 + 40 >> 2] | 0, HEAP16[$2 + 20 >> 1] | 0) | 0; - $125 = Math_imul(HEAP32[$9 + 104 >> 2] | 0, HEAP16[$2 + 52 >> 1] | 0) | 0; - $128 = (($125 + $119 | 0) * 4433 | 0) + 1024 | 0; - $131 = $128 + ($119 * 6270 | 0) >> 11; - $134 = $128 + (Math_imul($125, -15137) | 0) >> 11; - HEAP32[$5 + 8 >> 2] = $131 + $111; - HEAP32[$5 + 104 >> 2] = $111 - $131; - HEAP32[$5 + 40 >> 2] = $134 + $113; - HEAP32[$5 + 72 >> 2] = $113 - $134; - $148 = Math_imul(HEAP32[$9 + 12 >> 2] | 0, HEAP16[$2 + 6 >> 1] | 0) | 0; - $154 = Math_imul(HEAP32[$9 + 76 >> 2] | 0, HEAP16[$2 + 38 >> 1] | 0) | 0; - $156 = $154 + $148 << 2; - $158 = $148 - $154 << 2; - $164 = Math_imul(HEAP32[$9 + 44 >> 2] | 0, HEAP16[$2 + 22 >> 1] | 0) | 0; - $170 = Math_imul(HEAP32[$9 + 108 >> 2] | 0, HEAP16[$2 + 54 >> 1] | 0) | 0; - $173 = (($170 + $164 | 0) * 4433 | 0) + 1024 | 0; - $176 = $173 + ($164 * 6270 | 0) >> 11; - $179 = $173 + (Math_imul($170, -15137) | 0) >> 11; - HEAP32[$5 + 12 >> 2] = $176 + $156; - HEAP32[$5 + 108 >> 2] = $156 - $176; - HEAP32[$5 + 44 >> 2] = $179 + $158; - HEAP32[$5 + 76 >> 2] = $158 - $179; - $193 = Math_imul(HEAP32[$9 + 16 >> 2] | 0, HEAP16[$2 + 8 >> 1] | 0) | 0; - $199 = Math_imul(HEAP32[$9 + 80 >> 2] | 0, HEAP16[$2 + 40 >> 1] | 0) | 0; - $201 = $199 + $193 << 2; - $203 = $193 - $199 << 2; - $209 = Math_imul(HEAP32[$9 + 48 >> 2] | 0, HEAP16[$2 + 24 >> 1] | 0) | 0; - $215 = Math_imul(HEAP32[$9 + 112 >> 2] | 0, HEAP16[$2 + 56 >> 1] | 0) | 0; - $218 = (($215 + $209 | 0) * 4433 | 0) + 1024 | 0; - $221 = $218 + ($209 * 6270 | 0) >> 11; - $224 = $218 + (Math_imul($215, -15137) | 0) >> 11; - HEAP32[$5 + 16 >> 2] = $221 + $201; - HEAP32[$5 + 112 >> 2] = $201 - $221; - HEAP32[$5 + 48 >> 2] = $224 + $203; - HEAP32[$5 + 80 >> 2] = $203 - $224; - $238 = Math_imul(HEAP32[$9 + 20 >> 2] | 0, HEAP16[$2 + 10 >> 1] | 0) | 0; - $244 = Math_imul(HEAP32[$9 + 84 >> 2] | 0, HEAP16[$2 + 42 >> 1] | 0) | 0; - $246 = $244 + $238 << 2; - $248 = $238 - $244 << 2; - $254 = Math_imul(HEAP32[$9 + 52 >> 2] | 0, HEAP16[$2 + 26 >> 1] | 0) | 0; - $260 = Math_imul(HEAP32[$9 + 116 >> 2] | 0, HEAP16[$2 + 58 >> 1] | 0) | 0; - $263 = (($260 + $254 | 0) * 4433 | 0) + 1024 | 0; - $266 = $263 + ($254 * 6270 | 0) >> 11; - $269 = $263 + (Math_imul($260, -15137) | 0) >> 11; - HEAP32[$5 + 20 >> 2] = $266 + $246; - HEAP32[$5 + 116 >> 2] = $246 - $266; - HEAP32[$5 + 52 >> 2] = $269 + $248; - HEAP32[$5 + 84 >> 2] = $248 - $269; - $283 = Math_imul(HEAP32[$9 + 24 >> 2] | 0, HEAP16[$2 + 12 >> 1] | 0) | 0; - $289 = Math_imul(HEAP32[$9 + 88 >> 2] | 0, HEAP16[$2 + 44 >> 1] | 0) | 0; - $291 = $289 + $283 << 2; - $293 = $283 - $289 << 2; - $299 = Math_imul(HEAP32[$9 + 56 >> 2] | 0, HEAP16[$2 + 28 >> 1] | 0) | 0; - $305 = Math_imul(HEAP32[$9 + 120 >> 2] | 0, HEAP16[$2 + 60 >> 1] | 0) | 0; - $308 = (($305 + $299 | 0) * 4433 | 0) + 1024 | 0; - $311 = $308 + ($299 * 6270 | 0) >> 11; - $314 = $308 + (Math_imul($305, -15137) | 0) >> 11; - HEAP32[$5 + 24 >> 2] = $311 + $291; - HEAP32[$5 + 120 >> 2] = $291 - $311; - HEAP32[$5 + 56 >> 2] = $314 + $293; - HEAP32[$5 + 88 >> 2] = $293 - $314; - $328 = Math_imul(HEAP32[$9 + 28 >> 2] | 0, HEAP16[$2 + 14 >> 1] | 0) | 0; - $334 = Math_imul(HEAP32[$9 + 92 >> 2] | 0, HEAP16[$2 + 46 >> 1] | 0) | 0; - $336 = $334 + $328 << 2; - $338 = $328 - $334 << 2; - $344 = Math_imul(HEAP32[$9 + 60 >> 2] | 0, HEAP16[$2 + 30 >> 1] | 0) | 0; - $350 = Math_imul(HEAP32[$9 + 124 >> 2] | 0, HEAP16[$2 + 62 >> 1] | 0) | 0; - $353 = (($350 + $344 | 0) * 4433 | 0) + 1024 | 0; - $356 = $353 + ($344 * 6270 | 0) >> 11; - $359 = $353 + (Math_imul($350, -15137) | 0) >> 11; - HEAP32[$5 + 28 >> 2] = $356 + $336; - HEAP32[$5 + 124 >> 2] = $336 - $356; - HEAP32[$5 + 60 >> 2] = $359 + $338; - HEAP32[$5 + 92 >> 2] = $338 - $359; - $367 = $7 + -384 | 0; - $$1168171 = $5; - $$1172 = 0; - while (1) { - $370 = (HEAP32[$3 + ($$1172 << 2) >> 2] | 0) + $4 | 0; - $372 = (HEAP32[$$1168171 >> 2] | 0) + 16400 | 0; - $374 = HEAP32[$$1168171 + 16 >> 2] | 0; - $376 = $372 + $374 << 13; - $378 = $372 - $374 << 13; - $380 = HEAP32[$$1168171 + 8 >> 2] | 0; - $382 = HEAP32[$$1168171 + 24 >> 2] | 0; - $384 = ($382 + $380 | 0) * 4433 | 0; - $386 = $384 + ($380 * 6270 | 0) | 0; - $388 = $384 + (Math_imul($382, -15137) | 0) | 0; - $389 = $386 + $376 | 0; - $390 = $376 - $386 | 0; - $391 = $388 + $378 | 0; - $392 = $378 - $388 | 0; - $394 = HEAP32[$$1168171 + 28 >> 2] | 0; - $396 = HEAP32[$$1168171 + 20 >> 2] | 0; - $398 = HEAP32[$$1168171 + 12 >> 2] | 0; - $400 = HEAP32[$$1168171 + 4 >> 2] | 0; - $401 = $398 + $394 | 0; - $402 = $400 + $396 | 0; - $404 = ($402 + $401 | 0) * 9633 | 0; - $407 = $404 + (Math_imul($401, -16069) | 0) | 0; - $408 = $404 + (Math_imul($402, -3196) | 0) | 0; - $410 = Math_imul($400 + $394 | 0, -7373) | 0; - $414 = $410 + ($394 * 2446 | 0) + $407 | 0; - $416 = $410 + ($400 * 12299 | 0) + $408 | 0; - $418 = Math_imul($398 + $396 | 0, -20995) | 0; - $422 = $418 + ($396 * 16819 | 0) + $408 | 0; - $424 = $418 + ($398 * 25172 | 0) + $407 | 0; - HEAP8[$370 >> 0] = HEAP8[$367 + (($416 + $389 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$370 + 7 >> 0] = HEAP8[$367 + (($389 - $416 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$370 + 1 >> 0] = HEAP8[$367 + (($424 + $391 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$370 + 6 >> 0] = HEAP8[$367 + (($391 - $424 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$370 + 2 >> 0] = HEAP8[$367 + (($422 + $392 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$370 + 5 >> 0] = HEAP8[$367 + (($392 - $422 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$370 + 3 >> 0] = HEAP8[$367 + (($414 + $390 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$370 + 4 >> 0] = HEAP8[$367 + (($390 - $414 | 0) >>> 18 & 1023) >> 0] | 0; - $$1172 = $$1172 + 1 | 0; - if (($$1172 | 0) == 4) break; else $$1168171 = $$1168171 + 32 | 0; - } - STACKTOP = sp; - return; -} - -function ___udivmoddi4($a$0, $a$1, $b$0, $b$1, $rem) { - $a$0 = $a$0 | 0; - $a$1 = $a$1 | 0; - $b$0 = $b$0 | 0; - $b$1 = $b$1 | 0; - $rem = $rem | 0; - var $n_sroa_0_0_extract_trunc = 0, $n_sroa_1_4_extract_shift$0 = 0, $n_sroa_1_4_extract_trunc = 0, $d_sroa_0_0_extract_trunc = 0, $d_sroa_1_4_extract_shift$0 = 0, $d_sroa_1_4_extract_trunc = 0, $4 = 0, $17 = 0, $37 = 0, $51 = 0, $57 = 0, $58 = 0, $66 = 0, $78 = 0, $88 = 0, $89 = 0, $91 = 0, $92 = 0, $95 = 0, $105 = 0, $119 = 0, $125 = 0, $126 = 0, $130 = 0, $q_sroa_1_1_ph = 0, $q_sroa_0_1_ph = 0, $r_sroa_1_1_ph = 0, $r_sroa_0_1_ph = 0, $sr_1_ph = 0, $d_sroa_0_0_insert_insert99$0 = 0, $d_sroa_0_0_insert_insert99$1 = 0, $137$0 = 0, $137$1 = 0, $carry_0203 = 0, $sr_1202 = 0, $r_sroa_0_1201 = 0, $r_sroa_1_1200 = 0, $q_sroa_0_1199 = 0, $q_sroa_1_1198 = 0, $r_sroa_0_0_insert_insert42$0 = 0, $r_sroa_0_0_insert_insert42$1 = 0, $150$1 = 0, $151$0 = 0, $carry_0_lcssa$0 = 0, $carry_0_lcssa$1 = 0, $r_sroa_0_1_lcssa = 0, $r_sroa_1_1_lcssa = 0, $q_sroa_0_1_lcssa = 0, $q_sroa_1_1_lcssa = 0, $q_sroa_0_0_insert_ext75$0 = 0, $q_sroa_0_0_insert_ext75$1 = 0, $_0$0 = 0, $_0$1 = 0, $q_sroa_1_1198$looptemp = 0; - $n_sroa_0_0_extract_trunc = $a$0; - $n_sroa_1_4_extract_shift$0 = $a$1; - $n_sroa_1_4_extract_trunc = $n_sroa_1_4_extract_shift$0; - $d_sroa_0_0_extract_trunc = $b$0; - $d_sroa_1_4_extract_shift$0 = $b$1; - $d_sroa_1_4_extract_trunc = $d_sroa_1_4_extract_shift$0; - if (!$n_sroa_1_4_extract_trunc) { - $4 = ($rem | 0) != 0; - if (!$d_sroa_1_4_extract_trunc) { - if ($4) { - HEAP32[$rem >> 2] = ($n_sroa_0_0_extract_trunc >>> 0) % ($d_sroa_0_0_extract_trunc >>> 0); - HEAP32[$rem + 4 >> 2] = 0; - } - $_0$1 = 0; - $_0$0 = ($n_sroa_0_0_extract_trunc >>> 0) / ($d_sroa_0_0_extract_trunc >>> 0) >>> 0; - return (setTempRet0($_0$1 | 0), $_0$0) | 0; - } else { - if (!$4) { - $_0$1 = 0; - $_0$0 = 0; - return (setTempRet0($_0$1 | 0), $_0$0) | 0; - } - HEAP32[$rem >> 2] = $a$0 | 0; - HEAP32[$rem + 4 >> 2] = $a$1 & 0; - $_0$1 = 0; - $_0$0 = 0; - return (setTempRet0($_0$1 | 0), $_0$0) | 0; + do if ((label | 0) == 8) { + $call17 = _malloc(1140) | 0; + if (!$call17) { + _arLog(0, 3, 46772, $vararg_buffer9); + _exit(1); } - } - $17 = ($d_sroa_1_4_extract_trunc | 0) == 0; - do if ($d_sroa_0_0_extract_trunc) { - if (!$17) { - $119 = (Math_clz32($d_sroa_1_4_extract_trunc | 0) | 0) - (Math_clz32($n_sroa_1_4_extract_trunc | 0) | 0) | 0; - if ($119 >>> 0 <= 31) { - $125 = $119 + 1 | 0; - $126 = 31 - $119 | 0; - $130 = $119 - 31 >> 31; - $sr_1_ph = $125; - $r_sroa_0_1_ph = $n_sroa_0_0_extract_trunc >>> ($125 >>> 0) & $130 | $n_sroa_1_4_extract_trunc << $126; - $r_sroa_1_1_ph = $n_sroa_1_4_extract_trunc >>> ($125 >>> 0) & $130; - $q_sroa_0_1_ph = 0; - $q_sroa_1_1_ph = $n_sroa_0_0_extract_trunc << $126; + $tobool = ($readMode$1 | 0) != 0; + if ($tobool) { + if (!(_get_buff_380($buf, $fp$0) | 0)) { + _fclose($fp$0) | 0; + _free($call17); + $retval$1 = 0; break; } - if (!$rem) { - $_0$1 = 0; - $_0$0 = 0; - return (setTempRet0($_0$1 | 0), $_0$0) | 0; - } - HEAP32[$rem >> 2] = $a$0 | 0; - HEAP32[$rem + 4 >> 2] = $n_sroa_1_4_extract_shift$0 | $a$1 & 0; - $_0$1 = 0; - $_0$0 = 0; - return (setTempRet0($_0$1 | 0), $_0$0) | 0; - } - $66 = $d_sroa_0_0_extract_trunc - 1 | 0; - if ($66 & $d_sroa_0_0_extract_trunc | 0) { - $88 = (Math_clz32($d_sroa_0_0_extract_trunc | 0) | 0) + 33 - (Math_clz32($n_sroa_1_4_extract_trunc | 0) | 0) | 0; - $89 = 64 - $88 | 0; - $91 = 32 - $88 | 0; - $92 = $91 >> 31; - $95 = $88 - 32 | 0; - $105 = $95 >> 31; - $sr_1_ph = $88; - $r_sroa_0_1_ph = $91 - 1 >> 31 & $n_sroa_1_4_extract_trunc >>> ($95 >>> 0) | ($n_sroa_1_4_extract_trunc << $91 | $n_sroa_0_0_extract_trunc >>> ($88 >>> 0)) & $105; - $r_sroa_1_1_ph = $105 & $n_sroa_1_4_extract_trunc >>> ($88 >>> 0); - $q_sroa_0_1_ph = $n_sroa_0_0_extract_trunc << $89 & $92; - $q_sroa_1_1_ph = ($n_sroa_1_4_extract_trunc << $89 | $n_sroa_0_0_extract_trunc >>> ($95 >>> 0)) & $92 | $n_sroa_0_0_extract_trunc << $91 & $88 - 33 >> 31; - break; - } - if ($rem | 0) { - HEAP32[$rem >> 2] = $66 & $n_sroa_0_0_extract_trunc; - HEAP32[$rem + 4 >> 2] = 0; - } - if (($d_sroa_0_0_extract_trunc | 0) == 1) { - $_0$1 = $n_sroa_1_4_extract_shift$0 | $a$1 & 0; - $_0$0 = $a$0 | 0 | 0; - return (setTempRet0($_0$1 | 0), $_0$0) | 0; - } else { - $78 = _llvm_cttz_i32($d_sroa_0_0_extract_trunc | 0) | 0; - $_0$1 = $n_sroa_1_4_extract_trunc >>> ($78 >>> 0) | 0; - $_0$0 = $n_sroa_1_4_extract_trunc << 32 - $78 | $n_sroa_0_0_extract_trunc >>> ($78 >>> 0) | 0; - return (setTempRet0($_0$1 | 0), $_0$0) | 0; - } - } else { - if ($17) { - if ($rem | 0) { - HEAP32[$rem >> 2] = ($n_sroa_1_4_extract_trunc >>> 0) % ($d_sroa_0_0_extract_trunc >>> 0); - HEAP32[$rem + 4 >> 2] = 0; - } - $_0$1 = 0; - $_0$0 = ($n_sroa_1_4_extract_trunc >>> 0) / ($d_sroa_0_0_extract_trunc >>> 0) >>> 0; - return (setTempRet0($_0$1 | 0), $_0$0) | 0; - } - if (!$n_sroa_0_0_extract_trunc) { - if ($rem | 0) { - HEAP32[$rem >> 2] = 0; - HEAP32[$rem + 4 >> 2] = ($n_sroa_1_4_extract_trunc >>> 0) % ($d_sroa_1_4_extract_trunc >>> 0); + HEAP32[$vararg_buffer11 >> 2] = $i; + if ((_sscanf($buf, 25959, $vararg_buffer11) | 0) != 1) { + _fclose($fp$0) | 0; + _free($call17); + $retval$1 = 0; + break; } - $_0$1 = 0; - $_0$0 = ($n_sroa_1_4_extract_trunc >>> 0) / ($d_sroa_1_4_extract_trunc >>> 0) >>> 0; - return (setTempRet0($_0$1 | 0), $_0$0) | 0; + $2 = HEAP32[$i >> 2] | 0; + if (($2 | 0) < 1) { + _fclose($fp$0) | 0; + _free($call17); + $retval$1 = 0; + break; + } else $$sink = $2; + } else $$sink = 1; + HEAP32[$call17 + 4 >> 2] = $$sink; + HEAP32[$call17 + 152 >> 2] = 0; + $call47 = _malloc($$sink * 112 | 0) | 0; + HEAP32[$call17 >> 2] = $call47; + if (!$call47) { + _arLog(0, 3, 46772, $vararg_buffer14); + _exit(1); } - $37 = $d_sroa_1_4_extract_trunc - 1 | 0; - if (!($37 & $d_sroa_1_4_extract_trunc)) { - if ($rem | 0) { - HEAP32[$rem >> 2] = $a$0 | 0; - HEAP32[$rem + 4 >> 2] = $37 & $n_sroa_1_4_extract_trunc | $a$1 & 0; + $tobool111 = ($pattHandle | 0) == 0; + $storemerge = 0; + L28 : while (1) { + HEAP32[$i >> 2] = $storemerge; + if (($storemerge | 0) >= ($$sink | 0)) { + label = 57; + break; } - $_0$1 = 0; - $_0$0 = $n_sroa_1_4_extract_trunc >>> ((_llvm_cttz_i32($d_sroa_1_4_extract_trunc | 0) | 0) >>> 0); - return (setTempRet0($_0$1 | 0), $_0$0) | 0; - } - $51 = (Math_clz32($d_sroa_1_4_extract_trunc | 0) | 0) - (Math_clz32($n_sroa_1_4_extract_trunc | 0) | 0) | 0; - if ($51 >>> 0 <= 30) { - $57 = $51 + 1 | 0; - $58 = 31 - $51 | 0; - $sr_1_ph = $57; - $r_sroa_0_1_ph = $n_sroa_1_4_extract_trunc << $58 | $n_sroa_0_0_extract_trunc >>> ($57 >>> 0); - $r_sroa_1_1_ph = $n_sroa_1_4_extract_trunc >>> ($57 >>> 0); - $q_sroa_0_1_ph = 0; - $q_sroa_1_1_ph = $n_sroa_0_0_extract_trunc << $58; - break; - } - if (!$rem) { - $_0$1 = 0; - $_0$0 = 0; - return (setTempRet0($_0$1 | 0), $_0$0) | 0; - } - HEAP32[$rem >> 2] = $a$0 | 0; - HEAP32[$rem + 4 >> 2] = $n_sroa_1_4_extract_shift$0 | $a$1 & 0; - $_0$1 = 0; - $_0$0 = 0; - return (setTempRet0($_0$1 | 0), $_0$0) | 0; - } while (0); - if (!$sr_1_ph) { - $q_sroa_1_1_lcssa = $q_sroa_1_1_ph; - $q_sroa_0_1_lcssa = $q_sroa_0_1_ph; - $r_sroa_1_1_lcssa = $r_sroa_1_1_ph; - $r_sroa_0_1_lcssa = $r_sroa_0_1_ph; - $carry_0_lcssa$1 = 0; - $carry_0_lcssa$0 = 0; - } else { - $d_sroa_0_0_insert_insert99$0 = $b$0 | 0 | 0; - $d_sroa_0_0_insert_insert99$1 = $d_sroa_1_4_extract_shift$0 | $b$1 & 0; - $137$0 = _i64Add($d_sroa_0_0_insert_insert99$0 | 0, $d_sroa_0_0_insert_insert99$1 | 0, -1, -1) | 0; - $137$1 = getTempRet0() | 0; - $q_sroa_1_1198 = $q_sroa_1_1_ph; - $q_sroa_0_1199 = $q_sroa_0_1_ph; - $r_sroa_1_1200 = $r_sroa_1_1_ph; - $r_sroa_0_1201 = $r_sroa_0_1_ph; - $sr_1202 = $sr_1_ph; - $carry_0203 = 0; - do { - $q_sroa_1_1198$looptemp = $q_sroa_1_1198; - $q_sroa_1_1198 = $q_sroa_0_1199 >>> 31 | $q_sroa_1_1198 << 1; - $q_sroa_0_1199 = $carry_0203 | $q_sroa_0_1199 << 1; - $r_sroa_0_0_insert_insert42$0 = $r_sroa_0_1201 << 1 | $q_sroa_1_1198$looptemp >>> 31 | 0; - $r_sroa_0_0_insert_insert42$1 = $r_sroa_0_1201 >>> 31 | $r_sroa_1_1200 << 1 | 0; - _i64Subtract($137$0 | 0, $137$1 | 0, $r_sroa_0_0_insert_insert42$0 | 0, $r_sroa_0_0_insert_insert42$1 | 0) | 0; - $150$1 = getTempRet0() | 0; - $151$0 = $150$1 >> 31 | (($150$1 | 0) < 0 ? -1 : 0) << 1; - $carry_0203 = $151$0 & 1; - $r_sroa_0_1201 = _i64Subtract($r_sroa_0_0_insert_insert42$0 | 0, $r_sroa_0_0_insert_insert42$1 | 0, $151$0 & $d_sroa_0_0_insert_insert99$0 | 0, ((($150$1 | 0) < 0 ? -1 : 0) >> 31 | (($150$1 | 0) < 0 ? -1 : 0) << 1) & $d_sroa_0_0_insert_insert99$1 | 0) | 0; - $r_sroa_1_1200 = getTempRet0() | 0; - $sr_1202 = $sr_1202 - 1 | 0; - } while (($sr_1202 | 0) != 0); - $q_sroa_1_1_lcssa = $q_sroa_1_1198; - $q_sroa_0_1_lcssa = $q_sroa_0_1199; - $r_sroa_1_1_lcssa = $r_sroa_1_1200; - $r_sroa_0_1_lcssa = $r_sroa_0_1201; - $carry_0_lcssa$1 = 0; - $carry_0_lcssa$0 = $carry_0203; - } - $q_sroa_0_0_insert_ext75$0 = $q_sroa_0_1_lcssa; - $q_sroa_0_0_insert_ext75$1 = 0; - if ($rem | 0) { - HEAP32[$rem >> 2] = $r_sroa_0_1_lcssa; - HEAP32[$rem + 4 >> 2] = $r_sroa_1_1_lcssa; - } - $_0$1 = ($q_sroa_0_0_insert_ext75$0 | 0) >>> 31 | ($q_sroa_1_1_lcssa | $q_sroa_0_0_insert_ext75$1) << 1 | ($q_sroa_0_0_insert_ext75$1 << 1 | $q_sroa_0_0_insert_ext75$0 >>> 31) & 0 | $carry_0_lcssa$1; - $_0$0 = ($q_sroa_0_0_insert_ext75$0 << 1 | 0 >>> 31) & -2 | $carry_0_lcssa$0; - return (setTempRet0($_0$1 | 0), $_0$0) | 0; -} - -function __ZN6vision14VisualDatabaseINS_14FREAKExtractorENS_18BinaryFeatureStoreENS_20BinaryFeatureMatcherILi96EEEE5queryEPKNS_8KeyframeILi96EEE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$047 = 0, $$249 = 0, $$pre = 0, $$pre$phi257Z2D = 0, $$pre$phiZ2D = 0, $$sroa$082$0 = 0, $$sroa$082$0$in = 0, $100 = 0, $11 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $3 = 0, $31 = 0, $34 = 0, $37 = 0, $4 = 0, $42 = 0, $44 = 0, $45 = 0, $46 = 0, $48 = 0, $5 = 0, $51 = 0, $57 = 0, $6 = 0, $70 = 0, $73 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $81 = 0, $84 = 0, $9 = 0, $90 = 0, label = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 144 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(144); - $2 = sp + 104 | 0; - $3 = sp; - $4 = sp + 72 | 0; - $5 = sp + 40 | 0; - $6 = $0 + 12 | 0; - $8 = $0 + 16 | 0; - HEAP32[$8 >> 2] = HEAP32[$6 >> 2]; - $9 = $0 + 24 | 0; - HEAP32[$9 >> 2] = -1; - $11 = __ZNK6vision18BinaryFeatureStore6pointsEv(__ZNK6vision8KeyframeILi96EE5storeEv($1) | 0) | 0; - $13 = $0 + 8 | 0; - $14 = $0 + 636 | 0; - $15 = $0 + 652 | 0; - $16 = $2 + 4 | 0; - $17 = $2 + 8 | 0; - $18 = $0 + 788 | 0; - $19 = $4 + 4 | 0; - $20 = $4 + 8 | 0; - $21 = $0 + 4 | 0; - $22 = $0 + 28 | 0; - $$sroa$082$0$in = $0 + 80 | 0; - while (1) { - $$sroa$082$0 = HEAP32[$$sroa$082$0$in >> 2] | 0; - if (!$$sroa$082$0) break; - __ZN6vision11ScopedTimerC2EPKc($2, 35008); - do if (__ZN6vision11ScopedTimercvbEv($2) | 0) { - $26 = (HEAP8[$13 >> 0] | 0) == 0; - $27 = __ZNK6vision8KeyframeILi96EE5storeEv($1) | 0; - $28 = $$sroa$082$0; - $29 = $28 + 12 | 0; - $31 = __ZN6vision8KeyframeILi96EE5storeEv(HEAP32[$29 >> 2] | 0) | 0; - if ($26) { - $37 = __ZN6vision20BinaryFeatureMatcherILi96EE5matchEPKNS_18BinaryFeatureStoreES4_($14, $27, $31) | 0; - if ($37 >>> 0 >= (HEAP32[$0 >> 2] | 0) >>> 0) { - $$pre$phi257Z2D = $29; - $$pre$phiZ2D = $28; - label = 9; + HEAP32[$vararg_buffer16 >> 2] = $storemerge + 1; + _arLog(0, 1, 25962, $vararg_buffer16); + if ($tobool) { + if (!(_get_buff_380($buf, $fp$0) | 0)) { + label = 57; break; } - } else { - $34 = __ZN6vision20BinaryFeatureMatcherILi96EE5matchEPKNS_18BinaryFeatureStoreES4_RKNS_28BinaryHierarchicalClusteringILi96EEE($14, $27, $31, __ZNK6vision8KeyframeILi96EE5indexEv(HEAP32[$29 >> 2] | 0) | 0) | 0; - if ($34 >>> 0 >= (HEAP32[$0 >> 2] | 0) >>> 0) { - $$pre$phi257Z2D = $29; - $$pre$phiZ2D = $28; - label = 9; + HEAP32[$vararg_buffer19 >> 2] = $name; + if ((_sscanf($buf, 25986, $vararg_buffer19) | 0) != 1) { + label = 57; break; } + _ar2UtilRemoveExt($name) | 0; } - __ZN6vision11ScopedTimerD2Ev($2); - } else { - $$pre = $$sroa$082$0; - $$pre$phi257Z2D = $$pre + 12 | 0; - $$pre$phiZ2D = $$pre; - label = 9; - } while (0); - do if ((label | 0) == 9) { - label = 0; - __ZN6vision11ScopedTimerD2Ev($2); - $42 = __ZN6vision18BinaryFeatureStore6pointsEv(__ZN6vision8KeyframeILi96EE5storeEv(HEAP32[$$pre$phi257Z2D >> 2] | 0) | 0) | 0; - __ZN6vision11ScopedTimerC2EPKc($2, 35025); - if (__ZN6vision11ScopedTimercvbEv($2) | 0) { - $44 = __ZNK6vision20BinaryFeatureMatcherILi96EE7matchesEv($14) | 0; - $45 = __ZNK6vision8KeyframeILi96EE5widthEv($1) | 0; - $46 = __ZNK6vision8KeyframeILi96EE6heightEv($1) | 0; - $48 = __ZNK6vision8KeyframeILi96EE5widthEv(HEAP32[$$pre$phi257Z2D >> 2] | 0) | 0; - $51 = __ZN6vision19FindHoughSimilarityERNS_21HoughSimilarityVotingERKNSt3__26vectorINS_12FeaturePointENS2_9allocatorIS4_EEEES9_RKNS3_INS_7match_tENS5_ISA_EEEEiiii($15, $11, $42, $44, $45, $46, $48, __ZNK6vision8KeyframeILi96EE6heightEv(HEAP32[$$pre$phi257Z2D >> 2] | 0) | 0) | 0; - if (($51 | 0) < 0) { - __ZN6vision11ScopedTimerD2Ev($2); - break; - } else $$047 = $51; - } else $$047 = -1; - __ZN6vision11ScopedTimerD2Ev($2); - HEAP32[$2 >> 2] = 0; - HEAP32[$16 >> 2] = 0; - HEAP32[$17 >> 2] = 0; - __ZN6vision11ScopedTimerC2EPKc($3, 35042); - if (__ZN6vision11ScopedTimercvbEv($3) | 0) __ZN6vision16FindHoughMatchesERNSt3__26vectorINS_7match_tENS0_9allocatorIS2_EEEERKNS_21HoughSimilarityVotingERKS5_if($2, $15, __ZNK6vision20BinaryFeatureMatcherILi96EE7matchesEv($14) | 0, $$047, 1.0); - __ZN6vision11ScopedTimerD2Ev($3); - __ZN6vision11ScopedTimerC2EPKc($4, 35065); - if (__ZN6vision11ScopedTimercvbEv($4) | 0 ? ($57 = __ZNK6vision8KeyframeILi96EE5widthEv(HEAP32[$$pre$phi257Z2D >> 2] | 0) | 0, !(__ZN6vision18EstimateHomographyEPfRKNSt3__26vectorINS_12FeaturePointENS1_9allocatorIS3_EEEES8_RKNS2_INS_7match_tENS4_IS9_EEEERNS_16RobustHomographyIfEEii($3, $11, $42, $2, $18, $57, __ZNK6vision8KeyframeILi96EE6heightEv(HEAP32[$$pre$phi257Z2D >> 2] | 0) | 0) | 0)) : 0) __ZN6vision11ScopedTimerD2Ev($4); else { - __ZN6vision11ScopedTimerD2Ev($4); - HEAP32[$4 >> 2] = 0; - HEAP32[$19 >> 2] = 0; - HEAP32[$20 >> 2] = 0; - __ZN6vision11ScopedTimerC2EPKc($5, 35089); - if (__ZN6vision11ScopedTimercvbEv($5) | 0 ? (__ZN6vision11FindInliersERNSt3__26vectorINS_7match_tENS0_9allocatorIS2_EEEEPKfRKNS1_INS_12FeaturePointENS3_IS9_EEEESD_RKS5_f($4, $3, $11, $42, $2, +HEAPF32[$21 >> 2]), (HEAP32[$19 >> 2] | 0) - (HEAP32[$4 >> 2] | 0) >> 3 >>> 0 < (HEAP32[$0 >> 2] | 0) >>> 0) : 0) __ZN6vision11ScopedTimerD2Ev($5); else label = 20; - do if ((label | 0) == 20) { - label = 0; - __ZN6vision11ScopedTimerD2Ev($5); - __ZN6vision11ScopedTimerC2EPKc($5, 35106); - if (__ZN6vision11ScopedTimercvbEv($5) | 0 ? ($70 = __ZNK6vision8KeyframeILi96EE5storeEv($1) | 0, $73 = __ZN6vision20BinaryFeatureMatcherILi96EE5matchEPKNS_18BinaryFeatureStoreES4_PKff($14, $70, __ZN6vision8KeyframeILi96EE5storeEv(HEAP32[$$pre$phi257Z2D >> 2] | 0) | 0, $3, 10.0) | 0, $73 >>> 0 < (HEAP32[$0 >> 2] | 0) >>> 0) : 0) { - __ZN6vision11ScopedTimerD2Ev($5); - break; - } - __ZN6vision11ScopedTimerD2Ev($5); - __ZN6vision11ScopedTimerC2EPKc($5, 35123); - if (__ZN6vision11ScopedTimercvbEv($5) | 0) { - $77 = __ZNK6vision20BinaryFeatureMatcherILi96EE7matchesEv($14) | 0; - $78 = __ZNK6vision8KeyframeILi96EE5widthEv($1) | 0; - $79 = __ZNK6vision8KeyframeILi96EE6heightEv($1) | 0; - $81 = __ZNK6vision8KeyframeILi96EE5widthEv(HEAP32[$$pre$phi257Z2D >> 2] | 0) | 0; - $84 = __ZN6vision19FindHoughSimilarityERNS_21HoughSimilarityVotingERKNSt3__26vectorINS_12FeaturePointENS2_9allocatorIS4_EEEES9_RKNS3_INS_7match_tENS5_ISA_EEEEiiii($15, $11, $42, $77, $78, $79, $81, __ZNK6vision8KeyframeILi96EE6heightEv(HEAP32[$$pre$phi257Z2D >> 2] | 0) | 0) | 0; - if (($84 | 0) < 0) { - __ZN6vision11ScopedTimerD2Ev($5); - break; - } else $$249 = $84; - } else $$249 = $$047; - __ZN6vision11ScopedTimerD2Ev($5); - __ZN6vision11ScopedTimerC2EPKc($5, 35140); - if (__ZN6vision11ScopedTimercvbEv($5) | 0) __ZN6vision16FindHoughMatchesERNSt3__26vectorINS_7match_tENS0_9allocatorIS2_EEEERKNS_21HoughSimilarityVotingERKS5_if($2, $15, __ZNK6vision20BinaryFeatureMatcherILi96EE7matchesEv($14) | 0, $$249, 1.0); - __ZN6vision11ScopedTimerD2Ev($5); - __ZN6vision11ScopedTimerC2EPKc($5, 35163); - if (__ZN6vision11ScopedTimercvbEv($5) | 0 ? ($90 = __ZNK6vision8KeyframeILi96EE5widthEv(HEAP32[$$pre$phi257Z2D >> 2] | 0) | 0, !(__ZN6vision18EstimateHomographyEPfRKNSt3__26vectorINS_12FeaturePointENS1_9allocatorIS3_EEEES8_RKNS2_INS_7match_tENS4_IS9_EEEERNS_16RobustHomographyIfEEii($3, $11, $42, $2, $18, $90, __ZNK6vision8KeyframeILi96EE6heightEv(HEAP32[$$pre$phi257Z2D >> 2] | 0) | 0) | 0)) : 0) { - __ZN6vision11ScopedTimerD2Ev($5); - break; - } - __ZN6vision11ScopedTimerD2Ev($5); - HEAP32[$19 >> 2] = HEAP32[$4 >> 2]; - __ZN6vision11ScopedTimerC2EPKc($5, 35187); - if (__ZN6vision11ScopedTimercvbEv($5) | 0) __ZN6vision11FindInliersERNSt3__26vectorINS_7match_tENS0_9allocatorIS2_EEEEPKfRKNS1_INS_12FeaturePointENS3_IS9_EEEESD_RKS5_f($4, $3, $11, $42, $2, +HEAPF32[$21 >> 2]); - __ZN6vision11ScopedTimerD2Ev($5); - $100 = (HEAP32[$19 >> 2] | 0) - (HEAP32[$4 >> 2] | 0) >> 3; - if ($100 >>> 0 >= (HEAP32[$0 >> 2] | 0) >>> 0 ? $100 >>> 0 > (HEAP32[$8 >> 2] | 0) - (HEAP32[$6 >> 2] | 0) >> 3 >>> 0 : 0) { - __ZN6vision11CopyVector9IfEEvPT_PKS1_($22, $3); - __ZNSt3__26vectorIN6vision7match_tENS_9allocatorIS2_EEE4swapERS5_($6, $4); - HEAP32[$9 >> 2] = HEAP32[$$pre$phiZ2D + 8 >> 2]; - } - } while (0); - __ZNSt3__213__vector_baseIN6vision7match_tENS_9allocatorIS2_EEED2Ev($4); + _arLog(0, 1, 25989, $vararg_buffer22); + $call74 = _ar2ReadImageSet($name) | 0; + HEAP32[$call47 + ((HEAP32[$i >> 2] | 0) * 112 | 0) >> 2] = $call74; + if (!$call74) { + label = 26; + break; } - __ZNSt3__213__vector_baseIN6vision7match_tENS_9allocatorIS2_EEED2Ev($2); - } while (0); - $$sroa$082$0$in = $$sroa$082$0; - } - STACKTOP = sp; - return (HEAP32[$9 >> 2] | 0) > -1 | 0; -} - -function _decode_mcu($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0148177 = 0, $$0149$lcssa = 0, $$0149179 = 0, $$0155 = 0, $$0157176 = 0, $$0162200 = 0, $$035$i = 0, $$1 = 0, $$1156$lcssa = 0, $$1158 = 0, $$2159$lcssa = 0, $$2159182 = 0, $$3152$lcssa = 0, $$3152195 = 0, $$3160189 = 0, $$3190 = 0, $$4 = 0, $$4161 = 0, $$lcssa = 0, $$sink = 0, $113 = 0, $116 = 0, $117 = 0, $120 = 0, $122 = 0, $128 = 0, $130 = 0, $132 = 0, $136 = 0, $137 = 0, $138 = 0, $141 = 0, $144 = 0, $150 = 0, $151 = 0, $155 = 0, $156 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0, $166 = 0, $172 = 0, $175 = 0, $177 = 0, $181 = 0, $184 = 0, $185 = 0, $188 = 0, $19 = 0, $190 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $27 = 0, $3 = 0, $4 = 0, $54 = 0, $56 = 0, $57 = 0, $61 = 0, $62 = 0, $65 = 0, $66 = 0, $68 = 0, $7 = 0, $70 = 0, $72 = 0, $74 = 0, $75 = 0, $77 = 0, $79 = 0, $8 = 0, $83 = 0, $85 = 0, $86 = 0, $89 = 0, $92 = 0, $94 = 0, $98 = 0, $spec$select = 0, $spec$select164 = 0, dest = 0, label = 0, stop = 0; - $3 = HEAP32[$0 + 468 >> 2] | 0; - $4 = $0 + 280 | 0; - if (HEAP32[$4 >> 2] | 0) { - $7 = $3 + 56 | 0; - $8 = HEAP32[$7 >> 2] | 0; - if (!$8) { - if (!(FUNCTION_TABLE_ii[HEAP32[(HEAP32[$0 + 464 >> 2] | 0) + 8 >> 2] & 127]($0) | 0)) { - $16 = HEAP32[$0 >> 2] | 0; - HEAP32[$16 + 20 >> 2] = 25; - FUNCTION_TABLE_vi[HEAP32[$16 >> 2] & 255]($0); - } - $19 = $0 + 340 | 0; - if ((HEAP32[$19 >> 2] | 0) > 0) { - $22 = $0 + 224 | 0; - $23 = $0 + 412 | 0; - $24 = $0 + 436 | 0; - $25 = $0 + 420 | 0; - $$035$i = 0; - do { - $27 = HEAP32[$0 + 344 + ($$035$i << 2) >> 2] | 0; - if (HEAP32[$22 >> 2] | 0) if (!(HEAP32[$23 >> 2] | 0)) { - if (!(HEAP32[$25 >> 2] | 0)) label = 10; - } else label = 13; else label = 10; - do if ((label | 0) == 10) { - label = 0; - dest = HEAP32[$3 + 60 + (HEAP32[$27 + 20 >> 2] << 2) >> 2] | 0; - stop = dest + 64 | 0; - do { - HEAP8[dest >> 0] = 0; - dest = dest + 1 | 0; - } while ((dest | 0) < (stop | 0)); - HEAP32[$3 + 24 + ($$035$i << 2) >> 2] = 0; - HEAP32[$3 + 40 + ($$035$i << 2) >> 2] = 0; - if (!(HEAP32[$22 >> 2] | 0)) if (!(HEAP32[$24 >> 2] | 0)) break; else { - label = 13; - break; - } else if (!(HEAP32[$23 >> 2] | 0)) break; else { - label = 13; - break; - } - } while (0); - if ((label | 0) == 13) { - label = 0; - _memset(HEAP32[$3 + 124 + (HEAP32[$27 + 24 >> 2] << 2) >> 2] | 0, 0, 256) | 0; - } - $$035$i = $$035$i + 1 | 0; - } while (($$035$i | 0) < (HEAP32[$19 >> 2] | 0)); - } - HEAP32[$3 + 12 >> 2] = 0; - HEAP32[$3 + 16 >> 2] = 0; - HEAP32[$3 + 20 >> 2] = -16; - $54 = HEAP32[$4 >> 2] | 0; - HEAP32[$7 >> 2] = $54; - $56 = $54; - } else $56 = $8; - HEAP32[$7 >> 2] = $56 + -1; - } - $57 = $3 + 20 | 0; - if ((HEAP32[$57 >> 2] | 0) == -1) return 1; - $61 = HEAP32[$0 + 432 >> 2] | 0; - $62 = $0 + 368 | 0; - if ((HEAP32[$62 >> 2] | 0) <= 0) return 1; - $65 = $0 + 436 | 0; - $66 = $3 + 188 | 0; - $$0162200 = 0; - L32 : while (1) { - $68 = HEAP32[$1 + ($$0162200 << 2) >> 2] | 0; - $70 = HEAP32[$0 + 372 + ($$0162200 << 2) >> 2] | 0; - $72 = HEAP32[$0 + 344 + ($70 << 2) >> 2] | 0; - $74 = HEAP32[$72 + 20 >> 2] | 0; - $75 = $3 + 60 + ($74 << 2) | 0; - $77 = $3 + 40 + ($70 << 2) | 0; - $79 = (HEAP32[$75 >> 2] | 0) + (HEAP32[$77 >> 2] | 0) | 0; - if (!(_arith_decode($0, $79) | 0)) { - HEAP32[$77 >> 2] = 0; - $132 = HEAP32[$3 + 24 + ($70 << 2) >> 2] | 0; - } else { - $83 = _arith_decode($0, $79 + 1 | 0) | 0; - $85 = $79 + 2 + $83 | 0; - $86 = _arith_decode($0, $85) | 0; - if ($86) { - $89 = (HEAP32[$75 >> 2] | 0) + 20 | 0; - if (!(_arith_decode($0, $89) | 0)) { - $$1 = $86; - $$1158 = $89; - } else { - $$0148177 = $86; - $$0157176 = $89; - while (1) { - $92 = $$0148177 << 1; - if (($92 | 0) == 32768) { - label = 26; - break L32; - } - $98 = $$0157176 + 1 | 0; - if (!(_arith_decode($0, $98) | 0)) { - $$1 = $92; - $$1158 = $98; - break; - } else { - $$0148177 = $92; - $$0157176 = $98; - } - } - } - } else { - $$1 = 0; - $$1158 = $85; + _arLog(0, 1, 26038, $vararg_buffer27); + _arLog(0, 1, 26048, $vararg_buffer29); + $call91 = _ar2ReadFeatureSet($name, 45977) | 0; + HEAP32[$call47 + ((HEAP32[$i >> 2] | 0) * 112 | 0) + 4 >> 2] = $call91; + if (!$call91) { + label = 29; + break; } - do if (($$1 | 0) >= (1 << (HEAPU8[$0 + 232 + $74 >> 0] | 0) >> 1 | 0)) { - $113 = $83 << 2; - if (($$1 | 0) > (1 << (HEAPU8[$0 + 248 + $74 >> 0] | 0) >> 1 | 0)) { - $$sink = $113 + 12 | 0; - break; - } else { - $$sink = $113 + 4 | 0; + _arLog(0, 1, 26038, $vararg_buffer34); + if ($tobool111) HEAP32[$call47 + ((HEAP32[$i >> 2] | 0) * 112 | 0) + 8 >> 2] = 0; else { + _arLog(0, 1, 26099, $vararg_buffer36); + _ar2UtilRemoveExt($name) | 0; + $call116 = _ar2ReadMarkerSet($name, 26118, $pattHandle) | 0; + HEAP32[$call47 + ((HEAP32[$i >> 2] | 0) * 112 | 0) + 8 >> 2] = $call116; + if (!$call116) { + label = 33; break; } - } else $$sink = 0; while (0); - HEAP32[$77 >> 2] = $$sink; - $116 = $$1158 + 14 | 0; - $117 = $$1 >> 1; - if (!$117) $$0149$lcssa = $$1; else { - $$0149179 = $$1; - $122 = $117; - while (1) { - $120 = (_arith_decode($0, $116) | 0) == 0; - $spec$select = ($120 ? 0 : $122) | $$0149179; - $122 = $122 >> 1; - if (!$122) { - $$0149$lcssa = $spec$select; - break; - } else $$0149179 = $spec$select; - } - } - $128 = $3 + 24 + ($70 << 2) | 0; - $130 = (HEAP32[$128 >> 2] | 0) + (($83 | 0) == 0 ? $$0149$lcssa + 1 | 0 : ~$$0149$lcssa) | 0; - HEAP32[$128 >> 2] = $130; - $132 = $130; - } - HEAP16[$68 >> 1] = $132; - L56 : do if (HEAP32[$65 >> 2] | 0) { - $136 = HEAP32[$72 + 24 >> 2] | 0; - $137 = $3 + 124 + ($136 << 2) | 0; - $138 = $0 + 264 + $136 | 0; - $$0155 = 0; - while (1) { - $141 = (HEAP32[$137 >> 2] | 0) + ($$0155 * 3 | 0) | 0; - if (_arith_decode($0, $141) | 0) break L56; - $144 = $$0155 + 1 | 0; - if (!(_arith_decode($0, $141 + 1 | 0) | 0)) { - $$2159182 = $141; - $150 = $144; - while (1) { - if (($150 | 0) >= (HEAP32[$65 >> 2] | 0)) { - label = 42; - break L32; - } - $155 = $$2159182 + 3 | 0; - $156 = $150 + 1 | 0; - if (!(_arith_decode($0, $$2159182 + 4 | 0) | 0)) { - $$2159182 = $155; - $150 = $156; - } else { - $$1156$lcssa = $150; - $$2159$lcssa = $155; - $$lcssa = $156; - break; - } - } - } else { - $$1156$lcssa = $$0155; - $$2159$lcssa = $141; - $$lcssa = $144; - } - $160 = _arith_decode($0, $66) | 0; - $161 = $$2159$lcssa + 2 | 0; - $162 = _arith_decode($0, $161) | 0; - if ($162) { - if (_arith_decode($0, $161) | 0) { - $166 = $162 << 1; - $172 = (HEAP32[$137 >> 2] | 0) + (($$1156$lcssa | 0) < (HEAPU8[$138 >> 0] | 0 | 0) ? 189 : 217) | 0; - if (!(_arith_decode($0, $172) | 0)) { - $$4 = $166; - $$4161 = $172; - } else { - $$3160189 = $172; - $$3190 = $166; - while (1) { - $175 = $$3190 << 1; - if (($175 | 0) == 32768) { - label = 49; - break L32; - } - $181 = $$3160189 + 1 | 0; - if (!(_arith_decode($0, $181) | 0)) { - $$4 = $175; - $$4161 = $181; - break; - } else { - $$3160189 = $181; - $$3190 = $175; - } - } - } - } else { - $$4 = $162; - $$4161 = $161; - } - $184 = $$4161 + 14 | 0; - $185 = $$4 >> 1; - if (!$185) $$3152$lcssa = $$4; else { - $$3152195 = $$4; - $190 = $185; - while (1) { - $188 = (_arith_decode($0, $184) | 0) == 0; - $spec$select164 = ($188 ? 0 : $190) | $$3152195; - $190 = $190 >> 1; - if (!$190) { - $$3152$lcssa = $spec$select164; - break; - } else $$3152195 = $spec$select164; - } - } - } else $$3152$lcssa = 0; - HEAP16[$68 + (HEAP32[$61 + ($$lcssa << 2) >> 2] << 1) >> 1] = ($160 | 0) == 0 ? $$3152$lcssa + 1 | 0 : $$3152$lcssa ^ 65535; - if (($$lcssa | 0) < (HEAP32[$65 >> 2] | 0)) $$0155 = $$lcssa; else break; + _arLog(0, 1, 26038, $vararg_buffer41); } - } while (0); - $$0162200 = $$0162200 + 1 | 0; - if (($$0162200 | 0) >= (HEAP32[$62 >> 2] | 0)) { - label = 56; - break; - } - } - if ((label | 0) == 26) { - $94 = HEAP32[$0 >> 2] | 0; - HEAP32[$94 + 20 >> 2] = 117; - FUNCTION_TABLE_vii[HEAP32[$94 + 4 >> 2] & 255]($0, -1); - HEAP32[$57 >> 2] = -1; - return 1; - } else if ((label | 0) == 42) { - $151 = HEAP32[$0 >> 2] | 0; - HEAP32[$151 + 20 >> 2] = 117; - FUNCTION_TABLE_vii[HEAP32[$151 + 4 >> 2] & 255]($0, -1); - HEAP32[$57 >> 2] = -1; - return 1; - } else if ((label | 0) == 49) { - $177 = HEAP32[$0 >> 2] | 0; - HEAP32[$177 + 20 >> 2] = 117; - FUNCTION_TABLE_vii[HEAP32[$177 + 4 >> 2] & 255]($0, -1); - HEAP32[$57 >> 2] = -1; - return 1; - } else if ((label | 0) == 56) return 1; - return 0; -} - -function _jpeg_idct_16x16($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $$0403411 = 0, $$0405410 = 0, $$0406409 = 0, $$0412 = 0, $$1404407 = 0, $$1408 = 0, $101 = 0, $103 = 0, $109 = 0, $114 = 0, $115 = 0, $118 = 0, $122 = 0, $128 = 0, $130 = 0, $131 = 0, $132 = 0, $134 = 0, $135 = 0, $136 = 0, $15 = 0, $188 = 0, $191 = 0, $194 = 0, $196 = 0, $197 = 0, $198 = 0, $199 = 0, $200 = 0, $201 = 0, $202 = 0, $204 = 0, $206 = 0, $207 = 0, $208 = 0, $209 = 0, $21 = 0, $211 = 0, $213 = 0, $215 = 0, $217 = 0, $218 = 0, $219 = 0, $22 = 0, $220 = 0, $221 = 0, $222 = 0, $223 = 0, $224 = 0, $225 = 0, $227 = 0, $229 = 0, $23 = 0, $231 = 0, $233 = 0, $234 = 0, $236 = 0, $237 = 0, $239 = 0, $24 = 0, $241 = 0, $242 = 0, $244 = 0, $248 = 0, $25 = 0, $252 = 0, $254 = 0, $26 = 0, $260 = 0, $265 = 0, $266 = 0, $269 = 0, $27 = 0, $273 = 0, $279 = 0, $281 = 0, $282 = 0, $283 = 0, $285 = 0, $286 = 0, $287 = 0, $33 = 0, $39 = 0, $40 = 0, $41 = 0, $42 = 0, $44 = 0, $46 = 0, $48 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $64 = 0, $7 = 0, $70 = 0, $76 = 0, $82 = 0, $83 = 0, $85 = 0, $86 = 0, $88 = 0, $90 = 0, $91 = 0, $93 = 0, $97 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 512 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(512); - $5 = sp; - $7 = HEAP32[$0 + 336 >> 2] | 0; - $$0403411 = $5; - $$0405410 = HEAP32[$1 + 84 >> 2] | 0; - $$0406409 = $2; - $$0412 = 0; - while (1) { - $15 = Math_imul(HEAP16[$$0406409 >> 1] << 13, HEAP32[$$0405410 >> 2] | 0) | 0 | 1024; - $21 = Math_imul(HEAP32[$$0405410 + 128 >> 2] | 0, HEAP16[$$0406409 + 64 >> 1] | 0) | 0; - $22 = $21 * 10703 | 0; - $23 = $21 * 4433 | 0; - $24 = $22 + $15 | 0; - $25 = $15 - $22 | 0; - $26 = $23 + $15 | 0; - $27 = $15 - $23 | 0; - $33 = Math_imul(HEAP32[$$0405410 + 64 >> 2] | 0, HEAP16[$$0406409 + 32 >> 1] | 0) | 0; - $39 = Math_imul(HEAP32[$$0405410 + 192 >> 2] | 0, HEAP16[$$0406409 + 96 >> 1] | 0) | 0; - $40 = $33 - $39 | 0; - $41 = $40 * 2260 | 0; - $42 = $40 * 11363 | 0; - $44 = $42 + ($39 * 20995 | 0) | 0; - $46 = $41 + ($33 * 7373 | 0) | 0; - $48 = $42 + (Math_imul($33, -4926) | 0) | 0; - $50 = $41 + (Math_imul($39, -4176) | 0) | 0; - $51 = $44 + $24 | 0; - $52 = $24 - $44 | 0; - $53 = $46 + $26 | 0; - $54 = $26 - $46 | 0; - $55 = $48 + $27 | 0; - $56 = $27 - $48 | 0; - $57 = $50 + $25 | 0; - $58 = $25 - $50 | 0; - $64 = Math_imul(HEAP32[$$0405410 + 32 >> 2] | 0, HEAP16[$$0406409 + 16 >> 1] | 0) | 0; - $70 = Math_imul(HEAP32[$$0405410 + 96 >> 2] | 0, HEAP16[$$0406409 + 48 >> 1] | 0) | 0; - $76 = Math_imul(HEAP32[$$0405410 + 160 >> 2] | 0, HEAP16[$$0406409 + 80 >> 1] | 0) | 0; - $82 = Math_imul(HEAP32[$$0405410 + 224 >> 2] | 0, HEAP16[$$0406409 + 112 >> 1] | 0) | 0; - $83 = $76 + $64 | 0; - $85 = ($70 + $64 | 0) * 11086 | 0; - $86 = $83 * 10217 | 0; - $88 = ($82 + $64 | 0) * 8956 | 0; - $90 = ($64 - $82 | 0) * 7350 | 0; - $91 = $83 * 5461 | 0; - $93 = ($64 - $70 | 0) * 3363 | 0; - $97 = $85 + (Math_imul($64, -18730) | 0) + $86 + $88 | 0; - $101 = $93 + (Math_imul($64, -15038) | 0) + $91 + $90 | 0; - $103 = ($76 + $70 | 0) * 1136 | 0; - $109 = ($76 - $70 | 0) * 11529 | 0; - $114 = $82 + $70 | 0; - $115 = Math_imul($114, -5461) | 0; - $118 = $85 + ($70 * 589 | 0) + $103 + $115 | 0; - $122 = Math_imul($114, -10217) | 0; - $128 = $93 + ($70 * 16154 | 0) + $109 + $122 | 0; - $130 = Math_imul($82 + $76 | 0, -11086) | 0; - $131 = $103 + (Math_imul($76, -9222) | 0) + $86 + $130 | 0; - $132 = $115 + ($82 * 8728 | 0) + $88 + $130 | 0; - $134 = ($82 - $76 | 0) * 3363 | 0; - $135 = $122 + ($82 * 25733 | 0) + $90 + $134 | 0; - $136 = $109 + (Math_imul($76, -6278) | 0) + $91 + $134 | 0; - HEAP32[$$0403411 >> 2] = $97 + $51 >> 11; - HEAP32[$$0403411 + 480 >> 2] = $51 - $97 >> 11; - HEAP32[$$0403411 + 32 >> 2] = $118 + $53 >> 11; - HEAP32[$$0403411 + 448 >> 2] = $53 - $118 >> 11; - HEAP32[$$0403411 + 64 >> 2] = $131 + $55 >> 11; - HEAP32[$$0403411 + 416 >> 2] = $55 - $131 >> 11; - HEAP32[$$0403411 + 96 >> 2] = $132 + $57 >> 11; - HEAP32[$$0403411 + 384 >> 2] = $57 - $132 >> 11; - HEAP32[$$0403411 + 128 >> 2] = $135 + $58 >> 11; - HEAP32[$$0403411 + 352 >> 2] = $58 - $135 >> 11; - HEAP32[$$0403411 + 160 >> 2] = $136 + $56 >> 11; - HEAP32[$$0403411 + 320 >> 2] = $56 - $136 >> 11; - HEAP32[$$0403411 + 192 >> 2] = $128 + $54 >> 11; - HEAP32[$$0403411 + 288 >> 2] = $54 - $128 >> 11; - HEAP32[$$0403411 + 224 >> 2] = $101 + $52 >> 11; - HEAP32[$$0403411 + 256 >> 2] = $52 - $101 >> 11; - $$0412 = $$0412 + 1 | 0; - if (($$0412 | 0) == 8) break; else { - $$0403411 = $$0403411 + 4 | 0; - $$0405410 = $$0405410 + 4 | 0; - $$0406409 = $$0406409 + 2 | 0; - } - } - $188 = $7 + -384 | 0; - $$1404407 = $5; - $$1408 = 0; - while (1) { - $191 = (HEAP32[$3 + ($$1408 << 2) >> 2] | 0) + $4 | 0; - $194 = (HEAP32[$$1404407 >> 2] << 13) + 134348800 | 0; - $196 = HEAP32[$$1404407 + 16 >> 2] | 0; - $197 = $196 * 10703 | 0; - $198 = $196 * 4433 | 0; - $199 = $194 + $197 | 0; - $200 = $194 - $197 | 0; - $201 = $194 + $198 | 0; - $202 = $194 - $198 | 0; - $204 = HEAP32[$$1404407 + 8 >> 2] | 0; - $206 = HEAP32[$$1404407 + 24 >> 2] | 0; - $207 = $204 - $206 | 0; - $208 = $207 * 2260 | 0; - $209 = $207 * 11363 | 0; - $211 = $209 + ($206 * 20995 | 0) | 0; - $213 = $208 + ($204 * 7373 | 0) | 0; - $215 = $209 + (Math_imul($204, -4926) | 0) | 0; - $217 = $208 + (Math_imul($206, -4176) | 0) | 0; - $218 = $211 + $199 | 0; - $219 = $199 - $211 | 0; - $220 = $213 + $201 | 0; - $221 = $201 - $213 | 0; - $222 = $215 + $202 | 0; - $223 = $202 - $215 | 0; - $224 = $217 + $200 | 0; - $225 = $200 - $217 | 0; - $227 = HEAP32[$$1404407 + 4 >> 2] | 0; - $229 = HEAP32[$$1404407 + 12 >> 2] | 0; - $231 = HEAP32[$$1404407 + 20 >> 2] | 0; - $233 = HEAP32[$$1404407 + 28 >> 2] | 0; - $234 = $231 + $227 | 0; - $236 = ($229 + $227 | 0) * 11086 | 0; - $237 = $234 * 10217 | 0; - $239 = ($233 + $227 | 0) * 8956 | 0; - $241 = ($227 - $233 | 0) * 7350 | 0; - $242 = $234 * 5461 | 0; - $244 = ($227 - $229 | 0) * 3363 | 0; - $248 = $236 + (Math_imul($227, -18730) | 0) + $237 + $239 | 0; - $252 = $244 + (Math_imul($227, -15038) | 0) + $242 + $241 | 0; - $254 = ($231 + $229 | 0) * 1136 | 0; - $260 = ($231 - $229 | 0) * 11529 | 0; - $265 = $233 + $229 | 0; - $266 = Math_imul($265, -5461) | 0; - $269 = $236 + ($229 * 589 | 0) + $254 + $266 | 0; - $273 = Math_imul($265, -10217) | 0; - $279 = $244 + ($229 * 16154 | 0) + $260 + $273 | 0; - $281 = Math_imul($233 + $231 | 0, -11086) | 0; - $282 = $254 + (Math_imul($231, -9222) | 0) + $237 + $281 | 0; - $283 = $266 + ($233 * 8728 | 0) + $239 + $281 | 0; - $285 = ($233 - $231 | 0) * 3363 | 0; - $286 = $273 + ($233 * 25733 | 0) + $241 + $285 | 0; - $287 = $260 + (Math_imul($231, -6278) | 0) + $242 + $285 | 0; - HEAP8[$191 >> 0] = HEAP8[$188 + (($248 + $218 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$191 + 15 >> 0] = HEAP8[$188 + (($218 - $248 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$191 + 1 >> 0] = HEAP8[$188 + (($269 + $220 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$191 + 14 >> 0] = HEAP8[$188 + (($220 - $269 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$191 + 2 >> 0] = HEAP8[$188 + (($282 + $222 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$191 + 13 >> 0] = HEAP8[$188 + (($222 - $282 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$191 + 3 >> 0] = HEAP8[$188 + (($283 + $224 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$191 + 12 >> 0] = HEAP8[$188 + (($224 - $283 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$191 + 4 >> 0] = HEAP8[$188 + (($286 + $225 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$191 + 11 >> 0] = HEAP8[$188 + (($225 - $286 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$191 + 5 >> 0] = HEAP8[$188 + (($287 + $223 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$191 + 10 >> 0] = HEAP8[$188 + (($223 - $287 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$191 + 6 >> 0] = HEAP8[$188 + (($279 + $221 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$191 + 9 >> 0] = HEAP8[$188 + (($221 - $279 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$191 + 7 >> 0] = HEAP8[$188 + (($252 + $219 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$191 + 8 >> 0] = HEAP8[$188 + (($219 - $252 | 0) >>> 18 & 1023) >> 0] | 0; - $$1408 = $$1408 + 1 | 0; - if (($$1408 | 0) == 16) break; else $$1404407 = $$1404407 + 32 | 0; - } - STACKTOP = sp; - return; -} - -function _finish_pass1($0) { - $0 = $0 | 0; - var $$0$lcssa$i$i = 0, $$0$lcssa$i34$i = 0, $$0124$i$i = 0, $$01623$i$i$i = 0, $$01724$i$i$i = 0, $$01822$i$i$i = 0, $$01921$i$i$i = 0, $$01923$i$i$i = 0, $$02022$i$i$i = 0, $$024$i$i$i = 0, $$025$i$i$i = 0, $$036$i = 0, $$05$i$i = 0, $$072$i$i = 0, $$083$lcssa$i$i = 0, $$083123$i$i = 0, $$087$lcssa$i$i = 0, $$087122$i$i = 0, $$091$lcssa$i$i = 0, $$091121$i$i = 0, $$095100$i$i = 0, $$096120$i$i = 0, $$097108$i$i = 0, $$09899$i$i = 0, $$1$i$i$i = 0, $$1112$i$i = 0, $$118$i$i$i = 0, $$184111$i$i = 0, $$188110$i$i = 0, $$192109$i$i = 0, $$2104$i$i = 0, $$285103$i$i = 0, $$289102$i$i = 0, $$293101$i$i = 0, $$3$i$i = 0, $$386$i$i = 0, $$390$i$i = 0, $$394$i$i = 0, $$sink11 = 0, $$sink12 = 0, $1 = 0, $100 = 0, $102 = 0, $103 = 0, $12 = 0, $120 = 0, $144 = 0, $2 = 0, $22 = 0, $26 = 0, $30 = 0, $31 = 0, $35 = 0, $36 = 0, $39 = 0, $42 = 0, $46 = 0, $48 = 0, $49 = 0, $5 = 0, $51 = 0, $52 = 0, $53 = 0, $55 = 0, $56 = 0, $57 = 0, $59 = 0, $60 = 0, $61 = 0, $64 = 0, $68 = 0, $7 = 0, $70 = 0, $72 = 0, $74 = 0, $78 = 0, $80 = 0, $82 = 0, $84 = 0, $86 = 0, $88 = 0, $90 = 0, $95 = 0, $97 = 0, $spec$select20$i$i$i = 0, label = 0; - $1 = $0 + 484 | 0; - $2 = HEAP32[$1 >> 2] | 0; - $5 = $0 + 136 | 0; - HEAP32[$5 >> 2] = HEAP32[$2 + 16 >> 2]; - $7 = HEAP32[$2 + 20 >> 2] | 0; - $12 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[$0 + 4 >> 2] >> 2] & 63]($0, 1, $7 << 5) | 0; - HEAP32[$12 >> 2] = 0; - HEAP32[$12 + 4 >> 2] = 31; - HEAP32[$12 + 8 >> 2] = 0; - HEAP32[$12 + 12 >> 2] = 63; - HEAP32[$12 + 16 >> 2] = 0; - HEAP32[$12 + 20 >> 2] = 31; - _update_box($0, $12); - L1 : do if (($7 | 0) > 1) { - $$05$i$i = 1; - while (1) { - if (($$05$i$i << 1 | 0) > ($7 | 0)) { - $$01623$i$i$i = 0; - $$01822$i$i$i = 0; - $$01921$i$i$i = $12; - $$024$i$i$i = 0; - while (1) { - $30 = HEAP32[$$01921$i$i$i + 24 >> 2] | 0; - $31 = ($30 | 0) > ($$01623$i$i$i | 0); - $spec$select20$i$i$i = $31 ? $$01921$i$i$i : $$024$i$i$i; - $$01822$i$i$i = $$01822$i$i$i + 1 | 0; - if (($$01822$i$i$i | 0) == ($$05$i$i | 0)) { - $$072$i$i = $spec$select20$i$i$i; - break; - } else { - $$01623$i$i$i = $31 ? $30 : $$01623$i$i$i; - $$01921$i$i$i = $$01921$i$i$i + 32 | 0; - $$024$i$i$i = $spec$select20$i$i$i; - } + L43 : do if ($tobool) { + if (!(_get_buff_380($buf, $fp$0) | 0)) { + label = 57; + break L28; } - } else { - $$01724$i$i$i = 0; - $$01923$i$i$i = 0; - $$02022$i$i$i = $12; - $$025$i$i$i = 0; - while (1) { - $22 = HEAP32[$$02022$i$i$i + 28 >> 2] | 0; - if (($22 | 0) > ($$01724$i$i$i | 0)) { - $26 = (HEAP32[$$02022$i$i$i + 24 >> 2] | 0) > 0; - $$1$i$i$i = $26 ? $$02022$i$i$i : $$025$i$i$i; - $$118$i$i$i = $26 ? $22 : $$01724$i$i$i; - } else { - $$1$i$i$i = $$025$i$i$i; - $$118$i$i$i = $$01724$i$i$i; - } - $$01923$i$i$i = $$01923$i$i$i + 1 | 0; - if (($$01923$i$i$i | 0) == ($$05$i$i | 0)) { - $$072$i$i = $$1$i$i$i; - break; - } else { - $$01724$i$i$i = $$118$i$i$i; - $$02022$i$i$i = $$02022$i$i$i + 32 | 0; - $$025$i$i$i = $$1$i$i$i; - } + $10 = HEAP32[$i >> 2] | 0; + HEAP32[$vararg_buffer43 >> 2] = $call47 + ($10 * 112 | 0) + 12; + HEAP32[$vararg_buffer43 + 4 >> 2] = $call47 + ($10 * 112 | 0) + 16; + HEAP32[$vararg_buffer43 + 8 >> 2] = $call47 + ($10 * 112 | 0) + 20; + HEAP32[$vararg_buffer43 + 12 >> 2] = $call47 + ($10 * 112 | 0) + 24; + if ((_sscanf($buf, 26152, $vararg_buffer43) | 0) != 4) { + label = 40; + break L28; } - } - if (!$$072$i$i) { - $$0$lcssa$i$i = $$05$i$i; - break L1; - } - $35 = $12 + ($$05$i$i << 5) | 0; - $36 = $$072$i$i + 4 | 0; - HEAP32[$12 + ($$05$i$i << 5) + 4 >> 2] = HEAP32[$36 >> 2]; - $39 = $$072$i$i + 12 | 0; - HEAP32[$12 + ($$05$i$i << 5) + 12 >> 2] = HEAP32[$39 >> 2]; - $42 = $$072$i$i + 20 | 0; - HEAP32[$12 + ($$05$i$i << 5) + 20 >> 2] = HEAP32[$42 >> 2]; - HEAP32[$35 >> 2] = HEAP32[$$072$i$i >> 2]; - $46 = $$072$i$i + 8 | 0; - $48 = $12 + ($$05$i$i << 5) + 8 | 0; - HEAP32[$48 >> 2] = HEAP32[$46 >> 2]; - $49 = $$072$i$i + 16 | 0; - $51 = $12 + ($$05$i$i << 5) + 16 | 0; - HEAP32[$51 >> 2] = HEAP32[$49 >> 2]; - $52 = HEAP32[$36 >> 2] | 0; - $53 = HEAP32[$$072$i$i >> 2] | 0; - $55 = $52 - $53 << 4; - $56 = HEAP32[$39 >> 2] | 0; - $57 = HEAP32[$46 >> 2] | 0; - $59 = ($56 - $57 | 0) * 12 | 0; - $60 = HEAP32[$42 >> 2] | 0; - $61 = HEAP32[$49 >> 2] | 0; - $64 = ($55 | 0) > ($59 | 0); - switch ((($60 - $61 << 3 | 0) > (($64 ? $55 : $59) | 0) ? 2 : ($64 ^ 1) & 1) & 3) { - case 0: - { - $68 = ($53 + $52 | 0) / 2 | 0; - HEAP32[$36 >> 2] = $68; - $$sink11 = $35; - $$sink12 = $68; - label = 15; - break; + if (!(_get_buff_380($buf, $fp$0) | 0)) { + label = 57; + break L28; } - case 1: - { - $70 = ($57 + $56 | 0) / 2 | 0; - HEAP32[$39 >> 2] = $70; - $$sink11 = $48; - $$sink12 = $70; - label = 15; - break; + $11 = HEAP32[$i >> 2] | 0; + HEAP32[$vararg_buffer51 >> 2] = $call47 + ($11 * 112 | 0) + 28; + HEAP32[$vararg_buffer51 + 4 >> 2] = $call47 + ($11 * 112 | 0) + 32; + HEAP32[$vararg_buffer51 + 8 >> 2] = $call47 + ($11 * 112 | 0) + 36; + HEAP32[$vararg_buffer51 + 12 >> 2] = $call47 + ($11 * 112 | 0) + 40; + if ((_sscanf($buf, 26152, $vararg_buffer51) | 0) != 4) { + label = 43; + break L28; } - case 2: - { - $72 = ($61 + $60 | 0) / 2 | 0; - HEAP32[$42 >> 2] = $72; - $$sink11 = $51; - $$sink12 = $72; - label = 15; - break; + if (!(_get_buff_380($buf, $fp$0) | 0)) { + label = 57; + break L28; } - default: - {} - } - if ((label | 0) == 15) { - label = 0; - HEAP32[$$sink11 >> 2] = $$sink12 + 1; - } - _update_box($0, $$072$i$i); - _update_box($0, $35); - $74 = $$05$i$i + 1 | 0; - if (($74 | 0) < ($7 | 0)) $$05$i$i = $74; else { - $$0$lcssa$i$i = $74; - break L1; - } - } - } else $$0$lcssa$i$i = 1; while (0); - $$036$i = 0; - do { - $78 = HEAP32[(HEAP32[$1 >> 2] | 0) + 24 >> 2] | 0; - $80 = HEAP32[$12 + ($$036$i << 5) >> 2] | 0; - $82 = HEAP32[$12 + ($$036$i << 5) + 4 >> 2] | 0; - $84 = HEAP32[$12 + ($$036$i << 5) + 8 >> 2] | 0; - $86 = HEAP32[$12 + ($$036$i << 5) + 12 >> 2] | 0; - $88 = HEAP32[$12 + ($$036$i << 5) + 16 >> 2] | 0; - $90 = HEAP32[$12 + ($$036$i << 5) + 20 >> 2] | 0; - if (($80 | 0) > ($82 | 0) | ($84 | 0) > ($86 | 0) | ($88 | 0) > ($90 | 0)) { - $$0$lcssa$i34$i = 0; - $$083$lcssa$i$i = 0; - $$087$lcssa$i$i = 0; - $$091$lcssa$i$i = 0; - } else { - $$0124$i$i = 0; - $$083123$i$i = 0; - $$087122$i$i = 0; - $$091121$i$i = 0; - $$096120$i$i = $80; - while (1) { - $95 = HEAP32[$78 + ($$096120$i$i << 2) >> 2] | 0; - $97 = $$096120$i$i << 3 | 4; - $$097108$i$i = $84; - $$1112$i$i = $$0124$i$i; - $$184111$i$i = $$083123$i$i; - $$188110$i$i = $$087122$i$i; - $$192109$i$i = $$091121$i$i; + $12 = HEAP32[$i >> 2] | 0; + HEAP32[$vararg_buffer59 >> 2] = $call47 + ($12 * 112 | 0) + 44; + HEAP32[$vararg_buffer59 + 4 >> 2] = $call47 + ($12 * 112 | 0) + 48; + HEAP32[$vararg_buffer59 + 8 >> 2] = $call47 + ($12 * 112 | 0) + 52; + HEAP32[$vararg_buffer59 + 12 >> 2] = $call47 + ($12 * 112 | 0) + 56; + if ((_sscanf($buf, 26152, $vararg_buffer59) | 0) != 4) { + label = 47; + break L28; + } + $14 = HEAP32[$i >> 2] | 0; + } else { + $13 = HEAP32[$i >> 2] | 0; + $j$0 = 0; while (1) { - $100 = $$097108$i$i << 2 | 2; - $$095100$i$i = $95 + ($$097108$i$i << 6) + ($88 << 1) | 0; - $$09899$i$i = $88; - $$2104$i$i = $$1112$i$i; - $$285103$i$i = $$184111$i$i; - $$289102$i$i = $$188110$i$i; - $$293101$i$i = $$192109$i$i; + if (($j$0 | 0) == 3) { + $14 = $13; + break L43; + } + $k$0 = 0; while (1) { - $102 = HEAP16[$$095100$i$i >> 1] | 0; - $103 = $102 & 65535; - if (!($102 << 16 >> 16)) { - $$3$i$i = $$2104$i$i; - $$386$i$i = $$285103$i$i; - $$390$i$i = $$289102$i$i; - $$394$i$i = $$293101$i$i; - } else { - $$3$i$i = (Math_imul($$09899$i$i << 3 | 4, $103) | 0) + $$2104$i$i | 0; - $$386$i$i = (Math_imul($100, $103) | 0) + $$285103$i$i | 0; - $$390$i$i = (Math_imul($97, $103) | 0) + $$289102$i$i | 0; - $$394$i$i = $$293101$i$i + $103 | 0; - } - if (($$09899$i$i | 0) < ($90 | 0)) { - $$095100$i$i = $$095100$i$i + 2 | 0; - $$09899$i$i = $$09899$i$i + 1 | 0; - $$2104$i$i = $$3$i$i; - $$285103$i$i = $$386$i$i; - $$289102$i$i = $$390$i$i; - $$293101$i$i = $$394$i$i; - } else break; + if (($k$0 | 0) == 4) break; + HEAPF32[$call47 + ($13 * 112 | 0) + 12 + ($j$0 << 4) + ($k$0 << 2) >> 2] = ($j$0 | 0) == ($k$0 | 0) ? 1.0 : 0.0; + $k$0 = $k$0 + 1 | 0; } - if (($$097108$i$i | 0) < ($86 | 0)) { - $$097108$i$i = $$097108$i$i + 1 | 0; - $$1112$i$i = $$3$i$i; - $$184111$i$i = $$386$i$i; - $$188110$i$i = $$390$i$i; - $$192109$i$i = $$394$i$i; - } else break; - } - if (($$096120$i$i | 0) < ($82 | 0)) { - $$0124$i$i = $$3$i$i; - $$083123$i$i = $$386$i$i; - $$087122$i$i = $$390$i$i; - $$091121$i$i = $$394$i$i; - $$096120$i$i = $$096120$i$i + 1 | 0; - } else { - $$0$lcssa$i34$i = $$3$i$i; - $$083$lcssa$i$i = $$386$i$i; - $$087$lcssa$i$i = $$390$i$i; - $$091$lcssa$i$i = $$394$i$i; - break; + $j$0 = $j$0 + 1 | 0; } + } while (0); + _arUtilMatInvf($call47 + ($14 * 112 | 0) + 12 | 0, $call47 + ($14 * 112 | 0) + 60 | 0) | 0; + _ar2UtilReplaceExt($name, 256, 26200) | 0; + $call275 = _malloc(256) | 0; + HEAP32[$call47 + ((HEAP32[$i >> 2] | 0) * 112 | 0) + 108 >> 2] = $call275; + if (!$call275) { + label = 55; + break; } + _strncpy($call275, $name, 256) | 0; + $storemerge = (HEAP32[$i >> 2] | 0) + 1 | 0; } - $120 = $$091$lcssa$i$i >> 1; - HEAP8[(HEAP32[HEAP32[$5 >> 2] >> 2] | 0) + $$036$i >> 0] = ($$087$lcssa$i$i + $120 | 0) / ($$091$lcssa$i$i | 0) | 0; - HEAP8[(HEAP32[(HEAP32[$5 >> 2] | 0) + 4 >> 2] | 0) + $$036$i >> 0] = ($$083$lcssa$i$i + $120 | 0) / ($$091$lcssa$i$i | 0) | 0; - HEAP8[(HEAP32[(HEAP32[$5 >> 2] | 0) + 8 >> 2] | 0) + $$036$i >> 0] = ($$0$lcssa$i34$i + $120 | 0) / ($$091$lcssa$i$i | 0) | 0; - $$036$i = $$036$i + 1 | 0; - } while (($$036$i | 0) < ($$0$lcssa$i$i | 0)); - HEAP32[$0 + 132 >> 2] = $$0$lcssa$i$i; - $144 = HEAP32[$0 >> 2] | 0; - HEAP32[$144 + 20 >> 2] = 98; - HEAP32[$144 + 24 >> 2] = $$0$lcssa$i$i; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$0 >> 2] | 0) + 4 >> 2] & 255]($0, 1); - HEAP32[$2 + 28 >> 2] = 1; - return; -} - -function _get_matrix_code($0, $1, $2, $3, $4, $5, $6) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - $6 = $6 | 0; - var $$0212 = 0, $$0213 = 0, $$0217 = 0, $$0225 = 0, $$0228 = 0, $$0230 = 0, $$1214 = 0, $$1218 = 0, $$2215 = 0, $$2219 = 0, $$3216 = 0, $$3220 = 0, $$4221 = 0, $$5222 = 0, $$6223 = 0, $$7224 = 0, $107 = 0, $11 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0, $12 = 0, $125 = 0, $126 = 0, $132 = 0, $133 = 0, $134 = 0, $135 = 0, $138 = 0, $14 = 0, $149 = 0, $150 = 0, $151 = 0, $154 = 0, $160 = 0, $161 = 0, $164 = 0, $173 = 0, $174 = 0, $178 = 0, $188 = 0, $189 = 0, $190 = 0, $191 = 0, $192 = 0, $193 = 0, $194 = 0, $195 = 0, $196 = 0, $197 = 0, $198 = 0, $199 = 0, $200 = 0, $201 = 0, $202 = 0, $203 = 0, $21 = 0, $25 = 0, $26 = 0, $30 = 0, $44 = 0, $55 = 0, $57 = 0, $58 = 0, $65 = 0, $67 = 0, $68 = 0, $7 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $8 = 0, $86 = 0, $87 = 0, $89 = 0, $9 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $97 = 0, $or$cond7249 = 0, $spec$select232 = 0, label = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $7 = sp + 24 | 0; - $8 = sp; - $9 = sp + 16 | 0; - L1 : do if (($1 + -3 | 0) >>> 0 > 5) { - HEAP32[$2 >> 2] = -1; - HEAP32[$3 >> 2] = 0; - HEAPF64[$4 >> 3] = -1.0; - $$0212 = -1; - } else { - HEAP32[$8 >> 2] = 0; - $11 = $1 + -1 | 0; - $12 = Math_imul($11, $1) | 0; - HEAP32[$8 + 4 >> 2] = $12; - $14 = Math_imul($1, $1) | 0; - HEAP32[$8 + 8 >> 2] = $14 + -1; - HEAP32[$8 + 12 >> 2] = $11; - $$0217 = 0; - $$0228 = 0; - $$0230 = -1; - while (1) { - if (($$0217 | 0) == 4) break; - $21 = HEAP8[$0 + (HEAP32[$8 + ($$0217 << 2) >> 2] | 0) >> 0] | 0; - $$0217 = $$0217 + 1 | 0; - $$0228 = ($21 & 255) > ($$0228 & 255) ? $21 : $$0228; - $$0230 = ($21 & 255) < ($$0230 & 255) ? $21 : $$0230; - } - $25 = $$0228 & 255; - $26 = $$0230 & 255; - if (($25 - $26 | 0) < 30) { - HEAP32[$2 >> 2] = -1; - HEAP32[$3 >> 2] = 0; - HEAPF64[$4 >> 3] = -1.0; - $$0212 = -2; - break; - } - $30 = ($25 + $26 | 0) >>> 1; - $$1218 = 0; - while (1) { - if (($$1218 | 0) == 4) break; - HEAP8[$7 + $$1218 >> 0] = $30 >>> 0 > (HEAPU8[$0 + (HEAP32[$8 + ($$1218 << 2) >> 2] | 0) >> 0] | 0) >>> 0 & 1; - $$1218 = $$1218 + 1 | 0; - } - $$2219 = 0; - while (1) { - if ($$2219 >>> 0 >= 4) { - label = 18; + if ((label | 0) == 26) { + HEAP32[$vararg_buffer24 >> 2] = $name; + _arLog(0, 3, 26007, $vararg_buffer24); + _free($call47); + _free($call17); + if (!$fp$0) { + $retval$1 = 0; break; } - $44 = $$2219 + 1 | 0; - if (((HEAP8[$7 + $$2219 >> 0] | 0) == 1 ? (HEAP8[$7 + ($44 & 3) >> 0] | 0) == 1 : 0) ? (HEAP8[$7 + ($$2219 + 2 & 3) >> 0] | 0) == 0 : 0) { - label = 17; + _fclose($fp$0) | 0; + $retval$1 = 0; + break; + } else if ((label | 0) == 29) { + HEAP32[$vararg_buffer31 >> 2] = $name; + _arLog(0, 3, 26068, $vararg_buffer31); + _ar2FreeImageSet($call47 + ((HEAP32[$i >> 2] | 0) * 112 | 0) | 0) | 0; + _free($call47); + _free($call17); + if (!$fp$0) { + $retval$1 = 0; break; } - $$2219 = $44; - } - if ((label | 0) == 17) HEAP32[$3 >> 2] = $$2219; else if ((label | 0) == 18 ? ($$2219 | 0) == 4 : 0) { - HEAP32[$2 >> 2] = -1; - HEAP32[$3 >> 2] = 0; - HEAPF64[$4 >> 3] = -1.0; - $$0212 = -3; + _fclose($fp$0) | 0; + $retval$1 = 0; break; - } - $$0225 = 255; - $$3220 = 0; - while (1) { - if (($$3220 | 0) == ($14 | 0)) break; - $55 = $0 + $$3220 | 0; - $57 = HEAPU8[$55 >> 0] | 0; - $58 = $57 - $30 | 0; - $spec$select232 = ($58 | 0) < 0 ? 0 - $58 | 0 : $58; - HEAP8[$55 >> 0] = $30 >>> 0 > $57 >>> 0 & 1; - $$0225 = ($spec$select232 | 0) < ($$0225 | 0) ? $spec$select232 : $$0225; - $$3220 = $$3220 + 1 | 0; - } - $65 = HEAP32[$3 >> 2] | 0; - L31 : do switch ($65 | 0) { - case 0: - { - $$0213 = $65; - $194 = 0; - $195 = 0; - while (1) { - if (($$0213 | 0) >= ($1 | 0)) { - $149 = $194; - $173 = $195; - break L31; - } - $67 = ($$0213 | 0) == ($11 | 0); - $68 = Math_imul($$0213, $1) | 0; - $$4221 = 0; - $73 = $194; - $74 = $195; - while (1) { - if (($$4221 | 0) == ($1 | 0)) break; - if (($$4221 | $$0213 | 0) != 0 ? !($67 & (($$4221 | 0) == 0 | ($$4221 | 0) == ($11 | 0))) : 0) { - $75 = _bitshift64Shl($73 | 0, $74 | 0, 1) | 0; - $76 = getTempRet0() | 0; - $196 = $75 | (HEAP8[$0 + ($$4221 + $68) >> 0] | 0) != 0; - $197 = $76; - } else { - $196 = $73; - $197 = $74; - } - $$4221 = $$4221 + 1 | 0; - $73 = $196; - $74 = $197; - } - $$0213 = $$0213 + 1 | 0; - $194 = $73; - $195 = $74; - } - break; - } - case 1: - { - $$5222 = 0; - $192 = 0; - $193 = 0; - while (1) { - if (($$5222 | 0) >= ($1 | 0)) { - $149 = $192; - $173 = $193; - break L31; - } - $86 = ($$5222 | 0) == 0; - $87 = ($$5222 | 0) == ($11 | 0); - $$1214 = $11; - $91 = $192; - $92 = $193; - while (1) { - if (($$1214 | 0) <= -1) break; - $89 = ($$1214 | 0) == ($11 | 0); - if (!($86 & $89) ? !($87 & ($89 | ($$1214 | 0) == 0)) : 0) { - $93 = _bitshift64Shl($91 | 0, $92 | 0, 1) | 0; - $94 = getTempRet0() | 0; - $97 = $0 + ((Math_imul($$1214, $1) | 0) + $$5222) | 0; - $198 = $93 | (HEAP8[$97 >> 0] | 0) != 0; - $199 = $94; - } else { - $198 = $91; - $199 = $92; - } - $$1214 = $$1214 + -1 | 0; - $91 = $198; - $92 = $199; - } - $$5222 = $$5222 + 1 | 0; - $192 = $91; - $193 = $92; - } - break; - } - case 2: - { - $$2215 = $11; - $190 = 0; - $191 = 0; - while (1) { - if (($$2215 | 0) <= -1) { - $149 = $190; - $173 = $191; - break L31; - } - $or$cond7249 = ($$2215 | 0) == ($11 | 0) | ($$2215 | 0) == 0; - $107 = Math_imul($$2215, $1) | 0; - $$6223 = $11; - $112 = $190; - $113 = $191; - while (1) { - if (($$6223 | 0) <= -1) break; - if ($or$cond7249 & ($$6223 | 0) == ($11 | 0) | ($$6223 | $$2215 | 0) == 0) { - $200 = $112; - $201 = $113; - } else { - $114 = _bitshift64Shl($112 | 0, $113 | 0, 1) | 0; - $115 = getTempRet0() | 0; - $200 = $114 | (HEAP8[$0 + ($$6223 + $107) >> 0] | 0) != 0; - $201 = $115; - } - $$6223 = $$6223 + -1 | 0; - $112 = $200; - $113 = $201; - } - $$2215 = $$2215 + -1 | 0; - $190 = $112; - $191 = $113; - } - break; - } - case 3: - { - $$7224 = $11; - $188 = 0; - $189 = 0; - while (1) { - if (($$7224 | 0) <= -1) { - $149 = $188; - $173 = $189; - break L31; - } - $125 = ($$7224 | 0) == ($11 | 0); - $126 = ($$7224 | 0) == 0; - $$3216 = 0; - $132 = $188; - $133 = $189; - while (1) { - if (($$3216 | 0) >= ($1 | 0)) break; - if ($125 & ($$3216 | 0) == 0 | ($$3216 | $$7224 | 0) == 0 | $126 & ($$3216 | 0) == ($11 | 0)) { - $202 = $132; - $203 = $133; - } else { - $134 = _bitshift64Shl($132 | 0, $133 | 0, 1) | 0; - $135 = getTempRet0() | 0; - $138 = $0 + ((Math_imul($$3216, $1) | 0) + $$7224) | 0; - $202 = $134 | (HEAP8[$138 >> 0] | 0) != 0; - $203 = $135; - } - $$3216 = $$3216 + 1 | 0; - $132 = $202; - $133 = $203; - } - $$7224 = $$7224 + -1 | 0; - $188 = $132; - $189 = $133; - } - break; - } - default: - { - $149 = 0; - $173 = 0; - } - } while (0); - HEAPF64[$4 >> 3] = ($$0225 | 0) > 30 ? 1.0 : +($$0225 | 0) / 30.0; - switch ($5 | 0) { - case 259: - { - $150 = HEAP8[240 + $149 >> 0] | 0; - $151 = $150 << 24 >> 24; - $154 = $9; - HEAP32[$154 >> 2] = $151; - HEAP32[$154 + 4 >> 2] = (($151 | 0) < 0) << 31 >> 31; - if ($150 << 24 >> 24 < 0) { - HEAP32[$2 >> 2] = -1; - HEAPF64[$4 >> 3] = -1.0; - $$0212 = -4; - break L1; - } - break; - } - case 515: - { - $160 = HEAP8[112 + $149 >> 0] | 0; - $161 = $160 << 24 >> 24; - $164 = $9; - HEAP32[$164 >> 2] = $161; - HEAP32[$164 + 4 >> 2] = (($161 | 0) < 0) << 31 >> 31; - if ($6 | 0) HEAP32[$6 >> 2] = HEAPU8[176 + $149 >> 0]; - if ($160 << 24 >> 24 < 0) { - HEAP32[$2 >> 2] = -1; - HEAPF64[$4 >> 3] = -1.0; - $$0212 = -4; - break L1; - } - break; - } - case 772: - case 1028: - case 1029: - case 1285: - { - $174 = _decode_bch($5, $149, $173, 0, $9) | 0; - if (($174 | 0) < 0) { - HEAP32[$2 >> 2] = -1; - HEAPF64[$4 >> 3] = -1.0; - $$0212 = -4; - break L1; - } - if (($6 | 0) != 0 & ($174 | 0) != 0) HEAP32[$6 >> 2] = $174; - break; - } - default: - { - $178 = $9; - HEAP32[$178 >> 2] = $149; - HEAP32[$178 + 4 >> 2] = $173; - } - } - HEAP32[$2 >> 2] = HEAP32[$9 >> 2]; - $$0212 = 0; - } while (0); - STACKTOP = sp; - return $$0212 | 0; -} - -function _kpmMergeRefDataSet($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $$0181 = 0, $$0182 = 0, $$0185 = 0, $$0191 = 0, $$0193 = 0, $$1 = 0, $$1183 = 0, $$1186 = 0, $$1192 = 0, $$1194 = 0, $$2184 = 0, $$2187 = 0, $$2195 = 0, $$3 = 0, $$3188 = 0, $$4 = 0, $$4189 = 0, $$5 = 0, $$5190 = 0, $$pre$phiZ2D = 0, $$pre205 = 0, $103 = 0, $11 = 0, $113 = 0, $118 = 0, $121 = 0, $129 = 0, $131 = 0, $14 = 0, $142 = 0, $143 = 0, $146 = 0, $148 = 0, $15 = 0, $156 = 0, $158 = 0, $162 = 0, $163 = 0, $164 = 0, $167 = 0, $17 = 0, $171 = 0, $176 = 0, $18 = 0, $20 = 0, $33 = 0, $35 = 0, $36 = 0, $39 = 0, $4 = 0, $40 = 0, $42 = 0, $43 = 0, $44 = 0, $58 = 0, $6 = 0, $60 = 0, $64 = 0, $65 = 0, $66 = 0, $74 = 0, $83 = 0, $85 = 0, $89 = 0, $96 = 0, $98 = 0, $vararg_buffer = 0, $vararg_buffer1 = 0, $vararg_buffer3 = 0, $vararg_buffer5 = 0, $vararg_buffer7 = 0, $vararg_buffer9 = 0, label = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 48 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); - $vararg_buffer9 = sp + 40 | 0; - $vararg_buffer7 = sp + 32 | 0; - $vararg_buffer5 = sp + 24 | 0; - $vararg_buffer3 = sp + 16 | 0; - $vararg_buffer1 = sp + 8 | 0; - $vararg_buffer = sp; - if (($0 | 0) != 0 & ($1 | 0) != 0) { - $4 = HEAP32[$0 >> 2] | 0; - do if (!$4) { - $6 = _malloc(16) | 0; - HEAP32[$0 >> 2] = $6; - if (!$6) { - _arLog(0, 3, 45930, $vararg_buffer1); - _exit(1); - } else { - HEAP32[$6 + 4 >> 2] = 0; - HEAP32[$6 >> 2] = 0; - HEAP32[$6 + 12 >> 2] = 0; - HEAP32[$6 + 8 >> 2] = 0; - $14 = $6; - $176 = $6; - break; - } - } else { - $14 = $4; - $176 = $4; - } while (0); - $11 = HEAP32[$1 >> 2] | 0; - if (!$11) $$0 = 0; else { - $15 = HEAP32[$14 + 4 >> 2] | 0; - $17 = HEAP32[$11 + 4 >> 2] | 0; - $18 = $17 + $15 | 0; - $20 = _malloc($18 * 132 | 0) | 0; - if (!$20) { - _arLog(0, 3, 45930, $vararg_buffer3); - _exit(1); - } - $$0185 = 0; - while (1) { - if (($$0185 | 0) >= ($15 | 0)) break; - _memcpy($20 + ($$0185 * 132 | 0) | 0, (HEAP32[$14 >> 2] | 0) + ($$0185 * 132 | 0) | 0, 132) | 0; - $$0185 = $$0185 + 1 | 0; - } - $$1186 = 0; - while (1) { - if (($$1186 | 0) >= ($17 | 0)) break; - _memcpy($20 + (($$1186 + $15 | 0) * 132 | 0) | 0, (HEAP32[$11 >> 2] | 0) + ($$1186 * 132 | 0) | 0, 132) | 0; - $$1186 = $$1186 + 1 | 0; - } - $33 = HEAP32[$14 >> 2] | 0; - if (!$33) $35 = $176; else { - _free($33); - $35 = HEAP32[$0 >> 2] | 0; - } - HEAP32[$35 >> 2] = $20; - $36 = HEAP32[$0 >> 2] | 0; - HEAP32[$36 + 4 >> 2] = $18; - $39 = HEAP32[$36 + 12 >> 2] | 0; - $40 = HEAP32[$1 >> 2] | 0; - $42 = HEAP32[$40 + 12 >> 2] | 0; - $43 = $40 + 8 | 0; - $44 = $36 + 8 | 0; - $$0191 = 0; - $$2187 = 0; - while (1) { - if (($$2187 | 0) >= ($42 | 0)) break; - $$0182 = 0; - while (1) { - if (($$0182 | 0) >= ($39 | 0)) { - $$1192 = $$0191; - break; - } - if ((HEAP32[(HEAP32[$43 >> 2] | 0) + ($$2187 * 12 | 0) + 8 >> 2] | 0) == (HEAP32[(HEAP32[$44 >> 2] | 0) + ($$0182 * 12 | 0) + 8 >> 2] | 0)) { - label = 23; - break; - } else $$0182 = $$0182 + 1 | 0; - } - if ((label | 0) == 23) { - label = 0; - $$1192 = $$0191 + 1 | 0; - } - $$0191 = $$1192; - $$2187 = $$2187 + 1 | 0; - } - $58 = $42 + $39 - $$0191 | 0; - $60 = _malloc($58 * 12 | 0) | 0; - if (!$60) { - _arLog(0, 3, 45930, $vararg_buffer5); - _exit(1); - } - $$3188 = 0; - while (1) { - if (($$3188 | 0) >= ($39 | 0)) break; - $64 = (HEAP32[$0 >> 2] | 0) + 8 | 0; - $65 = HEAP32[$64 >> 2] | 0; - $66 = $65 + ($$3188 * 12 | 0) + 8 | 0; - HEAP32[$60 + ($$3188 * 12 | 0) + 8 >> 2] = HEAP32[$66 >> 2]; - $$0193 = HEAP32[$65 + ($$3188 * 12 | 0) + 4 >> 2] | 0; - $$1183 = 0; - while (1) { - if (($$1183 | 0) >= ($42 | 0)) break; - $74 = HEAP32[(HEAP32[$1 >> 2] | 0) + 8 >> 2] | 0; - if ((HEAP32[$74 + ($$1183 * 12 | 0) + 8 >> 2] | 0) == (HEAP32[$66 >> 2] | 0)) $$1194 = (HEAP32[$74 + ($$1183 * 12 | 0) + 4 >> 2] | 0) + $$0193 | 0; else $$1194 = $$0193; - $$0193 = $$1194; - $$1183 = $$1183 + 1 | 0; - } - $83 = $60 + ($$3188 * 12 | 0) | 0; - $85 = _malloc($$0193 * 12 | 0) | 0; - HEAP32[$83 >> 2] = $85; - if (!$85) { - label = 36; - break; - } - $89 = HEAP32[(HEAP32[$64 >> 2] | 0) + ($$3188 * 12 | 0) + 4 >> 2] | 0; - $$2184 = 0; - while (1) { - if (($$2184 | 0) >= ($89 | 0)) break; - $96 = (HEAP32[(HEAP32[(HEAP32[$0 >> 2] | 0) + 8 >> 2] | 0) + ($$3188 * 12 | 0) >> 2] | 0) + ($$2184 * 12 | 0) | 0; - $98 = (HEAP32[$83 >> 2] | 0) + ($$2184 * 12 | 0) | 0; - HEAP32[$98 >> 2] = HEAP32[$96 >> 2]; - HEAP32[$98 + 4 >> 2] = HEAP32[$96 + 4 >> 2]; - HEAP32[$98 + 8 >> 2] = HEAP32[$96 + 8 >> 2]; - $$2184 = $$2184 + 1 | 0; - } - $$3 = 0; - while (1) { - if (($$3 | 0) >= ($42 | 0)) break; - $103 = HEAP32[(HEAP32[$1 >> 2] | 0) + 8 >> 2] | 0; - if ((HEAP32[$103 + ($$3 * 12 | 0) + 8 >> 2] | 0) == (HEAP32[(HEAP32[(HEAP32[$0 >> 2] | 0) + 8 >> 2] | 0) + ($$3188 * 12 | 0) + 8 >> 2] | 0)) { - label = 43; - break; - } - $$3 = $$3 + 1 | 0; - } - L56 : do if ((label | 0) == 43) { - label = 0; - $$0181 = 0; - $113 = $103; - while (1) { - if (($$0181 | 0) >= (HEAP32[$113 + ($$3 * 12 | 0) + 4 >> 2] | 0)) break L56; - $118 = (HEAP32[$113 + ($$3 * 12 | 0) >> 2] | 0) + ($$0181 * 12 | 0) | 0; - $121 = (HEAP32[$83 >> 2] | 0) + (($$0181 + $89 | 0) * 12 | 0) | 0; - HEAP32[$121 >> 2] = HEAP32[$118 >> 2]; - HEAP32[$121 + 4 >> 2] = HEAP32[$118 + 4 >> 2]; - HEAP32[$121 + 8 >> 2] = HEAP32[$118 + 8 >> 2]; - $$0181 = $$0181 + 1 | 0; - $113 = HEAP32[(HEAP32[$1 >> 2] | 0) + 8 >> 2] | 0; - } - } while (0); - HEAP32[$60 + ($$3188 * 12 | 0) + 4 >> 2] = $$0193; - $$3188 = $$3188 + 1 | 0; - } - if ((label | 0) == 36) { - _arLog(0, 3, 45930, $vararg_buffer7); - _exit(1); - } - $$1 = 0; - $$4189 = 0; - while (1) { - if (($$4189 | 0) >= ($42 | 0)) break; - $129 = HEAP32[(HEAP32[$1 >> 2] | 0) + 8 >> 2] | 0; - $131 = HEAP32[$129 + ($$4189 * 12 | 0) + 8 >> 2] | 0; - $$4 = 0; - while (1) { - if (($$4 | 0) >= ($39 | 0)) { - label = 53; - break; - } - if (($131 | 0) == (HEAP32[(HEAP32[(HEAP32[$0 >> 2] | 0) + 8 >> 2] | 0) + ($$4 * 12 | 0) + 8 >> 2] | 0)) { - label = 52; - break; - } else $$4 = $$4 + 1 | 0; - } - if ((label | 0) == 52) { - label = 0; - $$2195 = $$1 + 1 | 0; - } else if ((label | 0) == 53) { - label = 0; - $142 = $$4189 + $39 - $$1 | 0; - $143 = $60 + ($142 * 12 | 0) | 0; - HEAP32[$60 + ($142 * 12 | 0) + 8 >> 2] = $131; - $146 = HEAP32[$129 + ($$4189 * 12 | 0) + 4 >> 2] | 0; - $148 = _malloc($146 * 12 | 0) | 0; - HEAP32[$143 >> 2] = $148; - if (!$148) { - label = 55; - break; - } - $$5 = 0; - while (1) { - if (($$5 | 0) >= ($146 | 0)) break; - $156 = (HEAP32[(HEAP32[(HEAP32[$1 >> 2] | 0) + 8 >> 2] | 0) + ($$4189 * 12 | 0) >> 2] | 0) + ($$5 * 12 | 0) | 0; - $158 = (HEAP32[$143 >> 2] | 0) + ($$5 * 12 | 0) | 0; - HEAP32[$158 >> 2] = HEAP32[$156 >> 2]; - HEAP32[$158 + 4 >> 2] = HEAP32[$156 + 4 >> 2]; - HEAP32[$158 + 8 >> 2] = HEAP32[$156 + 8 >> 2]; - $$5 = $$5 + 1 | 0; - } - HEAP32[$60 + ($142 * 12 | 0) + 4 >> 2] = $146; - $$2195 = $$1; - } - $$1 = $$2195; - $$4189 = $$4189 + 1 | 0; - } - if ((label | 0) == 55) { - _arLog(0, 3, 45930, $vararg_buffer9); - _exit(1); - } - $162 = HEAP32[$0 >> 2] | 0; - $163 = $162 + 8 | 0; - $164 = HEAP32[$163 >> 2] | 0; - if (!$164) $$pre$phiZ2D = $163; else { - $$5190 = 0; - $167 = $162; - $171 = $164; - while (1) { - if (($$5190 | 0) >= (HEAP32[$167 + 12 >> 2] | 0)) break; - _free(HEAP32[$171 + ($$5190 * 12 | 0) >> 2] | 0); - $$pre205 = HEAP32[$0 >> 2] | 0; - $$5190 = $$5190 + 1 | 0; - $167 = $$pre205; - $171 = HEAP32[$$pre205 + 8 >> 2] | 0; - } - _free($171); - $$pre$phiZ2D = (HEAP32[$0 >> 2] | 0) + 8 | 0; - } - HEAP32[$$pre$phiZ2D >> 2] = $60; - HEAP32[(HEAP32[$0 >> 2] | 0) + 12 >> 2] = $58; - _kpmDeleteRefDataSet($1) | 0; - $$0 = 0; - } - } else { - _arLog(0, 3, 26204, $vararg_buffer); - $$0 = -1; - } - STACKTOP = sp; - return $$0 | 0; -} - -function _arMultiReadConfigFile($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0151 = 0, $$0152 = 0, $$0154 = 0, $$1 = 0, $$1$ph = 0, $$2 = 0, $$sink204 = 0, $$sink205 = 0, $10 = 0, $114 = 0, $12 = 0, $125 = 0, $15 = 0, $17 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $37 = 0, $4 = 0, $41 = 0, $5 = 0, $51 = 0, $52 = 0, $56 = 0, $57 = 0, $59 = 0, $6 = 0, $7 = 0, $75 = 0.0, $76 = 0.0, $77 = 0.0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $86 = 0.0, $90 = 0.0, $vararg_buffer = 0, $vararg_buffer1 = 0, $vararg_buffer11 = 0, $vararg_buffer13 = 0, $vararg_buffer17 = 0, $vararg_buffer21 = 0, $vararg_buffer24 = 0, $vararg_buffer28 = 0, $vararg_buffer31 = 0, $vararg_buffer35 = 0, $vararg_buffer41 = 0, $vararg_buffer45 = 0, $vararg_buffer49 = 0, $vararg_buffer5 = 0, $vararg_buffer55 = 0, $vararg_buffer59 = 0, $vararg_buffer8 = 0, label = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 2528 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(2528); - $vararg_buffer59 = sp + 2512 | 0; - $vararg_buffer55 = sp + 2504 | 0; - $vararg_buffer49 = sp + 2488 | 0; - $vararg_buffer45 = sp + 2480 | 0; - $vararg_buffer41 = sp + 2472 | 0; - $vararg_buffer35 = sp + 2456 | 0; - $vararg_buffer31 = sp + 2448 | 0; - $vararg_buffer28 = sp + 2440 | 0; - $vararg_buffer24 = sp + 2432 | 0; - $vararg_buffer21 = sp + 2424 | 0; - $vararg_buffer17 = sp + 2416 | 0; - $vararg_buffer13 = sp + 2408 | 0; - $vararg_buffer11 = sp + 2400 | 0; - $vararg_buffer8 = sp + 2392 | 0; - $vararg_buffer5 = sp + 2384 | 0; - $vararg_buffer1 = sp + 2376 | 0; - $vararg_buffer = sp + 2368 | 0; - $2 = sp + 2304 | 0; - $3 = sp + 2048 | 0; - $4 = sp; - $5 = sp + 2524 | 0; - $6 = sp + 2520 | 0; - $7 = sp + 2516 | 0; - $8 = _fopen($0, 25925) | 0; - do if (!$8) { - HEAP32[$vararg_buffer >> 2] = $0; - _arLog(0, 3, 24935, $vararg_buffer); - $10 = ___errno_location() | 0; - $12 = _strerror(HEAP32[$10 >> 2] | 0) | 0; - HEAP32[$vararg_buffer1 >> 2] = 67447; - HEAP32[$vararg_buffer1 + 4 >> 2] = $12; - _arLog(0, 3, 25953, $vararg_buffer1); - $$0154 = 0; - } else { - _get_buff($3, $8); - HEAP32[$vararg_buffer5 >> 2] = $6; - if ((_sscanf($3, 25959, $vararg_buffer5) | 0) != 1) { - HEAP32[$vararg_buffer8 >> 2] = $0; - _arLog(0, 3, 24988, $vararg_buffer8); - _fclose($8) | 0; - $$0154 = 0; - break; - } - $15 = HEAP32[$6 >> 2] | 0; - $17 = _malloc($15 * 320 | 0) | 0; - if (!$17) { - _arLog(0, 3, 45930, $vararg_buffer11); - _exit(1); - } - $19 = ($1 | 0) == 0; - $20 = $2 + 8 | 0; - $21 = $2 + 16 | 0; - $22 = $2 + 24 | 0; - $23 = $2 + 32 | 0; - $24 = $2 + 40 | 0; - $25 = $2 + 48 | 0; - $26 = $2 + 56 | 0; - $$0151 = 0; - $$0152 = 0; - $28 = $15; - L10 : while (1) { - if (($$0151 | 0) >= ($28 | 0)) { - label = 31; - break; - } - _get_buff($3, $8); - $29 = $17 + ($$0151 * 320 | 0) | 0; - $30 = $17 + ($$0151 * 320 | 0) + 312 | 0; - HEAP32[$vararg_buffer13 >> 2] = $30; - HEAP32[$vararg_buffer13 + 4 >> 2] = $5; - if ((_sscanf($3, 25089, $vararg_buffer13) | 0) != 1) { - if ($19) { - label = 11; - break; - } - if (!(_arUtilGetDirectoryNameFromPath($4, $0, 2048, 1) | 0)) { - label = 13; - break; - } - _strncat($4, $3, 2047 - (_strlen($4) | 0) | 0) | 0; - $37 = _arPattLoad($1, $4) | 0; - HEAP32[$29 >> 2] = $37; - if (($37 | 0) < 0) { - label = 15; - break; - } else { - $$sink204 = 1; - $$sink205 = 0; - } - } else { - $41 = HEAP32[$30 >> 2] | 0; - HEAP32[$29 >> 2] = ($41 & -32768 | 0) == 0 & 0 == 0 ? $41 & 32767 : 0; - $$sink204 = 2; - $$sink205 = 1; - } - HEAP32[$17 + ($$0151 * 320 | 0) + 4 >> 2] = $$sink205; - $51 = $$0152 | $$sink204; - _get_buff($3, $8); - $52 = $17 + ($$0151 * 320 | 0) + 8 | 0; - HEAP32[$vararg_buffer28 >> 2] = $52; - if ((_sscanf($3, 25385, $vararg_buffer28) | 0) != 1) { - label = 18; + } else if ((label | 0) == 33) { + HEAP32[$vararg_buffer38 >> 2] = $name; + _arLog(0, 3, 26122, $vararg_buffer38); + _ar2FreeFeatureSet($call47 + ((HEAP32[$i >> 2] | 0) * 112 | 0) + 4 | 0) | 0; + _ar2FreeImageSet($call47 + ((HEAP32[$i >> 2] | 0) * 112 | 0) | 0) | 0; + _free($call47); + _free($call17); + if (!$fp$0) { + $retval$1 = 0; break; } - _get_buff($3, $8); - $56 = $17 + ($$0151 * 320 | 0) + 16 | 0; - $57 = $17 + ($$0151 * 320 | 0) + 24 | 0; - $59 = $17 + ($$0151 * 320 | 0) + 40 | 0; - HEAP32[$vararg_buffer35 >> 2] = $56; - HEAP32[$vararg_buffer35 + 4 >> 2] = $57; - HEAP32[$vararg_buffer35 + 8 >> 2] = $17 + ($$0151 * 320 | 0) + 32; - HEAP32[$vararg_buffer35 + 12 >> 2] = $59; - if ((_sscanf($3, 25494, $vararg_buffer35) | 0) == 4) $$1$ph = 1; else { - HEAP32[$vararg_buffer41 >> 2] = $vararg_buffer5; - HEAP32[$vararg_buffer41 + 4 >> 2] = $7; - if ((_sscanf($3, 25510, $vararg_buffer41) | 0) != 2) { - label = 23; - break; - } - $$1$ph = 0; - } - $$1 = $$1$ph; - do { - _get_buff($3, $8); - HEAP32[$vararg_buffer49 >> 2] = $17 + ($$0151 * 320 | 0) + 16 + ($$1 << 5); - HEAP32[$vararg_buffer49 + 4 >> 2] = $17 + ($$0151 * 320 | 0) + 16 + ($$1 << 5) + 8; - HEAP32[$vararg_buffer49 + 8 >> 2] = $17 + ($$0151 * 320 | 0) + 16 + ($$1 << 5) + 16; - HEAP32[$vararg_buffer49 + 12 >> 2] = $17 + ($$0151 * 320 | 0) + 16 + ($$1 << 5) + 24; - if ((_sscanf($3, 25494, $vararg_buffer49) | 0) != 4) { - label = 25; - break L10; - } - $$1 = $$1 + 1 | 0; - } while ($$1 >>> 0 < 3); - _arUtilMatInv($56, $17 + ($$0151 * 320 | 0) + 112 | 0) | 0; - $75 = +HEAPF64[$52 >> 3]; - $76 = $75 * -.5; - HEAPF64[$2 >> 3] = $76; - $77 = $75 * .5; - HEAPF64[$20 >> 3] = $77; - HEAPF64[$21 >> 3] = $77; - HEAPF64[$22 >> 3] = $77; - HEAPF64[$23 >> 3] = $77; - HEAPF64[$24 >> 3] = $76; - HEAPF64[$25 >> 3] = $76; - HEAPF64[$26 >> 3] = $76; - $78 = $17 + ($$0151 * 320 | 0) + 48 | 0; - $79 = $17 + ($$0151 * 320 | 0) + 56 | 0; - $80 = $17 + ($$0151 * 320 | 0) + 72 | 0; - $81 = $17 + ($$0151 * 320 | 0) + 80 | 0; - $82 = $17 + ($$0151 * 320 | 0) + 88 | 0; - $83 = $17 + ($$0151 * 320 | 0) + 104 | 0; - $$2 = 0; - while (1) { - if (($$2 | 0) == 4) break; - $86 = +HEAPF64[$2 + ($$2 << 4) >> 3]; - $90 = +HEAPF64[$2 + ($$2 << 4) + 8 >> 3]; - HEAPF64[$17 + ($$0151 * 320 | 0) + 208 + ($$2 * 24 | 0) >> 3] = +HEAPF64[$59 >> 3] + (+HEAPF64[$56 >> 3] * $86 + +HEAPF64[$57 >> 3] * $90); - HEAPF64[$17 + ($$0151 * 320 | 0) + 208 + ($$2 * 24 | 0) + 8 >> 3] = +HEAPF64[$80 >> 3] + ($86 * +HEAPF64[$78 >> 3] + $90 * +HEAPF64[$79 >> 3]); - HEAPF64[$17 + ($$0151 * 320 | 0) + 208 + ($$2 * 24 | 0) + 16 >> 3] = +HEAPF64[$83 >> 3] + ($86 * +HEAPF64[$81 >> 3] + $90 * +HEAPF64[$82 >> 3]); - $$2 = $$2 + 1 | 0; - } - $$0151 = $$0151 + 1 | 0; - $$0152 = $51; - $28 = HEAP32[$6 >> 2] | 0; - } - if ((label | 0) == 11) { - HEAP32[$vararg_buffer17 >> 2] = $0; - HEAP32[$vararg_buffer17 + 4 >> 2] = $3; - _arLog(0, 3, 25096, $vararg_buffer17); - } else if ((label | 0) == 13) { - HEAP32[$vararg_buffer21 >> 2] = $0; - _arLog(0, 3, 25224, $vararg_buffer21); - } else if ((label | 0) == 15) { - HEAP32[$vararg_buffer24 >> 2] = $0; - HEAP32[$vararg_buffer24 + 4 >> 2] = $4; - _arLog(0, 3, 25308, $vararg_buffer24); - } else if ((label | 0) == 18) { - HEAP32[$vararg_buffer31 >> 2] = $0; - HEAP32[$vararg_buffer31 + 4 >> 2] = $$0151 + 1; - _arLog(0, 3, 25389, $vararg_buffer31); - } else if ((label | 0) == 23) { - HEAP32[$vararg_buffer45 >> 2] = $0; - HEAP32[$vararg_buffer45 + 4 >> 2] = $$0151 + 1; - _arLog(0, 3, 25516, $vararg_buffer45); - } else if ((label | 0) == 25) { - HEAP32[$vararg_buffer55 >> 2] = $0; - HEAP32[$vararg_buffer55 + 4 >> 2] = $$0151 + 1; - _arLog(0, 3, 25516, $vararg_buffer55); - } else if ((label | 0) == 31) { - _fclose($8) | 0; - $114 = _malloc(136) | 0; - if (!$114) { - _arLog(0, 3, 45930, $vararg_buffer59); - _exit(1); - } - HEAP32[$114 >> 2] = $17; - HEAP32[$114 + 4 >> 2] = HEAP32[$6 >> 2]; - HEAP32[$114 + 128 >> 2] = 0; - HEAP32[$114 + 104 >> 2] = 0; - do if (($$0152 & 3 | 0) != 3) { - $125 = $114 + 108 | 0; - if (!($$0152 & 1)) { - HEAP32[$125 >> 2] = 1; - break; - } else { - HEAP32[$125 >> 2] = 0; - break; - } - } else HEAP32[$114 + 108 >> 2] = 2; while (0); - HEAPF64[$114 + 112 >> 3] = .5; - HEAPF64[$114 + 120 >> 3] = .5; - $$0154 = $114; + _fclose($fp$0) | 0; + $retval$1 = 0; break; - } - _fclose($8) | 0; - _free($17); - $$0154 = 0; - } while (0); - STACKTOP = sp; - return $$0154 | 0; -} - -function _jinit_1pass_quantizer($0) { - $0 = $0 | 0; - var $$0$lcssa$lcssa$i$i = 0, $$0107$i = 0, $$014$i = 0, $$058$lcssa$us$i$ph$us$i = 0, $$058$lcssa$us$i$ph87$i = 0, $$05866$us$us$i$us$i = 0, $$05866$us$us$i$us$i$be = 0, $$05866$us71$i$i = 0, $$05866$us71$i$i$be = 0, $$05981$i$i = 0, $$06086$us$i$i = 0, $$063$lcssa$i$i = 0, $$063$us$i$i = 0, $$08195$us$i = 0, $$08290$us$us$i = 0, $$083106$i = 0, $$08489$us$us$i = 0, $$087$us$i$i = 0, $$16180$i$i = 0, $$2$lcssa$lcssa$i$i = 0, $$2$lcssa$us$i$ph$us$i = 0, $$2$lcssa$us$i$ph86$i = 0, $$26264$us$us$i$us$i = 0, $$26264$us$us$i$us$i$be = 0, $$26264$us73$i$i = 0, $$26264$us73$i$i$be = 0, $$265$us$us$i$us$i = 0, $$265$us$us$i$us$i$be = 0, $$265$us72$i$i = 0, $$265$us72$i$i$be = 0, $1 = 0, $10 = 0, $100 = 0, $101 = 0, $103 = 0, $104 = 0, $110 = 0, $119 = 0, $125 = 0, $129 = 0, $13 = 0, $135 = 0, $140 = 0, $18 = 0, $19 = 0, $21 = 0, $26 = 0, $27 = 0, $28 = 0, $30 = 0, $34 = 0, $38 = 0, $4 = 0, $5 = 0, $51 = 0, $52 = 0, $54 = 0, $55 = 0, $57 = 0, $60 = 0, $61 = 0, $63 = 0, $64 = 0, $66 = 0, $71 = 0, $93 = 0, $94 = 0, $97 = 0, $smax$i$i = 0, label = 0, $$083106$i$looptemp = 0; - $1 = $0 + 4 | 0; - $4 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[$1 >> 2] >> 2] & 63]($0, 1, 88) | 0; - $5 = $0 + 484 | 0; - HEAP32[$5 >> 2] = $4; - HEAP32[$4 >> 2] = 133; - HEAP32[$4 + 8 >> 2] = 186; - HEAP32[$4 + 12 >> 2] = 187; - HEAP32[$4 + 68 >> 2] = 0; - HEAP32[$4 + 52 >> 2] = 0; - $10 = $0 + 120 | 0; - if ((HEAP32[$10 >> 2] | 0) > 4) { - $13 = HEAP32[$0 >> 2] | 0; - HEAP32[$13 + 20 >> 2] = 57; - HEAP32[$13 + 24 >> 2] = 4; - FUNCTION_TABLE_vi[HEAP32[HEAP32[$0 >> 2] >> 2] & 255]($0); - } - $18 = $0 + 96 | 0; - $19 = HEAP32[$18 >> 2] | 0; - if (($19 | 0) > 256) { - $21 = HEAP32[$0 >> 2] | 0; - HEAP32[$21 + 20 >> 2] = 59; - HEAP32[$21 + 24 >> 2] = 256; - FUNCTION_TABLE_vi[HEAP32[HEAP32[$0 >> 2] >> 2] & 255]($0); - $34 = HEAP32[$18 >> 2] | 0; - } else $34 = $19; - $26 = HEAP32[$5 >> 2] | 0; - $27 = $26 + 32 | 0; - $28 = HEAP32[$10 >> 2] | 0; - if (($28 | 0) > 1) { - $$063$us$i$i = 1; - while (1) { - $30 = $$063$us$i$i + 1 | 0; - $$06086$us$i$i = 1; - $$087$us$i$i = $30; - do { - $$087$us$i$i = Math_imul($$087$us$i$i, $30) | 0; - $$06086$us$i$i = $$06086$us$i$i + 1 | 0; - } while (($$06086$us$i$i | 0) != ($28 | 0)); - if (($$087$us$i$i | 0) > ($34 | 0)) { - $$0$lcssa$lcssa$i$i = $$087$us$i$i; - $$063$lcssa$i$i = $$063$us$i$i; - break; - } else $$063$us$i$i = $30; - } - } else { - $smax$i$i = ($34 | 0) > 1 ? $34 : 1; - $$0$lcssa$lcssa$i$i = $smax$i$i + 1 | 0; - $$063$lcssa$i$i = $smax$i$i; - } - if ($$063$lcssa$i$i >>> 0 < 2) { - $38 = HEAP32[$0 >> 2] | 0; - HEAP32[$38 + 20 >> 2] = 58; - HEAP32[$38 + 24 >> 2] = $$0$lcssa$lcssa$i$i; - FUNCTION_TABLE_vi[HEAP32[HEAP32[$0 >> 2] >> 2] & 255]($0); - } - L19 : do if (($28 | 0) > 0) { - $$05981$i$i = 1; - $$16180$i$i = 0; - do { - HEAP32[$26 + 32 + ($$16180$i$i << 2) >> 2] = $$063$lcssa$i$i; - $$05981$i$i = Math_imul($$05981$i$i, $$063$lcssa$i$i) | 0; - $$16180$i$i = $$16180$i$i + 1 | 0; - } while (($$16180$i$i | 0) != ($28 | 0)); - if ((HEAP32[$0 + 44 >> 2] | 0) == 2) { - $$05866$us$us$i$us$i = 0; - $$26264$us$us$i$us$i = 0; - $$265$us$us$i$us$i = $$05981$i$i; - while (1) { - $51 = $26 + 32 + (HEAP32[17004 + ($$26264$us$us$i$us$i << 2) >> 2] << 2) | 0; - $52 = HEAP32[$51 >> 2] | 0; - $54 = $52 + 1 | 0; - $55 = Math_imul(($$265$us$us$i$us$i | 0) / ($52 | 0) | 0, $54) | 0; - if (($55 | 0) <= ($34 | 0)) { - HEAP32[$51 >> 2] = $54; - $57 = $$26264$us$us$i$us$i + 1 | 0; - if (($57 | 0) < ($28 | 0)) { - $$05866$us$us$i$us$i$be = 1; - $$26264$us$us$i$us$i$be = $57; - $$265$us$us$i$us$i$be = $55; - } else { - $$058$lcssa$us$i$ph$us$i = 1; - $$2$lcssa$us$i$ph$us$i = $55; - label = 22; - } - } else { - $$058$lcssa$us$i$ph$us$i = $$05866$us$us$i$us$i; - $$2$lcssa$us$i$ph$us$i = $$265$us$us$i$us$i; - label = 22; - } - if ((label | 0) == 22) { - label = 0; - if (!$$058$lcssa$us$i$ph$us$i) { - $$2$lcssa$lcssa$i$i = $$2$lcssa$us$i$ph$us$i; - break L19; - } else { - $$05866$us$us$i$us$i$be = 0; - $$26264$us$us$i$us$i$be = 0; - $$265$us$us$i$us$i$be = $$2$lcssa$us$i$ph$us$i; - } - } - $$05866$us$us$i$us$i = $$05866$us$us$i$us$i$be; - $$26264$us$us$i$us$i = $$26264$us$us$i$us$i$be; - $$265$us$us$i$us$i = $$265$us$us$i$us$i$be; - } - } else { - $$05866$us71$i$i = 0; - $$26264$us73$i$i = 0; - $$265$us72$i$i = $$05981$i$i; - while (1) { - $60 = $26 + 32 + ($$26264$us73$i$i << 2) | 0; - $61 = HEAP32[$60 >> 2] | 0; - $63 = $61 + 1 | 0; - $64 = Math_imul(($$265$us72$i$i | 0) / ($61 | 0) | 0, $63) | 0; - if (($64 | 0) <= ($34 | 0)) { - HEAP32[$60 >> 2] = $63; - $66 = $$26264$us73$i$i + 1 | 0; - if (($66 | 0) < ($28 | 0)) { - $$05866$us71$i$i$be = 1; - $$26264$us73$i$i$be = $66; - $$265$us72$i$i$be = $64; - } else { - $$058$lcssa$us$i$ph87$i = 1; - $$2$lcssa$us$i$ph86$i = $64; - label = 26; - } - } else { - $$058$lcssa$us$i$ph87$i = $$05866$us71$i$i; - $$2$lcssa$us$i$ph86$i = $$265$us72$i$i; - label = 26; - } - if ((label | 0) == 26) { - label = 0; - if (!$$058$lcssa$us$i$ph87$i) { - $$2$lcssa$lcssa$i$i = $$2$lcssa$us$i$ph86$i; - break L19; - } else { - $$05866$us71$i$i$be = 0; - $$26264$us73$i$i$be = 0; - $$265$us72$i$i$be = $$2$lcssa$us$i$ph86$i; - } - } - $$05866$us71$i$i = $$05866$us71$i$i$be; - $$26264$us73$i$i = $$26264$us73$i$i$be; - $$265$us72$i$i = $$265$us72$i$i$be; - } - } - } else $$2$lcssa$lcssa$i$i = 1; while (0); - $71 = HEAP32[$0 >> 2] | 0; - if ((HEAP32[$10 >> 2] | 0) == 3) { - HEAP32[$71 + 24 >> 2] = $$2$lcssa$lcssa$i$i; - HEAP32[$71 + 28 >> 2] = HEAP32[$27 >> 2]; - HEAP32[$71 + 32 >> 2] = HEAP32[$26 + 36 >> 2]; - HEAP32[$71 + 36 >> 2] = HEAP32[$26 + 40 >> 2]; - HEAP32[$71 + 20 >> 2] = 96; - FUNCTION_TABLE_vii[HEAP32[$71 + 4 >> 2] & 255]($0, 1); - } else { - HEAP32[$71 + 20 >> 2] = 97; - HEAP32[$71 + 24 >> 2] = $$2$lcssa$lcssa$i$i; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$0 >> 2] | 0) + 4 >> 2] & 255]($0, 1); - } - $93 = FUNCTION_TABLE_iiiii[HEAP32[(HEAP32[$1 >> 2] | 0) + 8 >> 2] & 15]($0, 1, $$2$lcssa$lcssa$i$i, HEAP32[$10 >> 2] | 0) | 0; - $94 = HEAP32[$10 >> 2] | 0; - if (($94 | 0) > 0) { - $$0107$i = 0; - $$083106$i = $$2$lcssa$lcssa$i$i; - $140 = $94; - while (1) { - $97 = HEAP32[$26 + 32 + ($$0107$i << 2) >> 2] | 0; - $$083106$i$looptemp = $$083106$i; - $$083106$i = ($$083106$i | 0) / ($97 | 0) | 0; - if (($97 | 0) > 0 ? ($100 = $97 + -1 | 0, $101 = ($100 | 0) / 2 | 0, $103 = $93 + ($$0107$i << 2) | 0, ($$083106$i | 0) > 0) : 0) { - $$08195$us$i = 0; - do { - $104 = Math_imul($$08195$us$i, $$083106$i) | 0; - if (($104 | 0) < ($$2$lcssa$lcssa$i$i | 0)) { - $110 = ((($$08195$us$i * 255 | 0) + $101 | 0) / ($100 | 0) | 0) & 255; - $$08290$us$us$i = $104; - do { - $$08489$us$us$i = 0; - do { - HEAP8[(HEAP32[$103 >> 2] | 0) + ($$08489$us$us$i + $$08290$us$us$i) >> 0] = $110; - $$08489$us$us$i = $$08489$us$us$i + 1 | 0; - } while (($$08489$us$us$i | 0) != ($$083106$i | 0)); - $$08290$us$us$i = $$08290$us$us$i + $$083106$i$looptemp | 0; - } while (($$08290$us$us$i | 0) < ($$2$lcssa$lcssa$i$i | 0)); - } - $$08195$us$i = $$08195$us$i + 1 | 0; - } while (($$08195$us$i | 0) != ($97 | 0)); - $119 = HEAP32[$10 >> 2] | 0; - } else $119 = $140; - $$0107$i = $$0107$i + 1 | 0; - if (($$0107$i | 0) >= ($119 | 0)) break; else $140 = $119; - } - } - HEAP32[$26 + 16 >> 2] = $93; - HEAP32[$26 + 20 >> 2] = $$2$lcssa$lcssa$i$i; - _create_colorindex($0); - if ((HEAP32[$0 + 88 >> 2] | 0) != 2) return; - $125 = HEAP32[$5 >> 2] | 0; - $129 = (HEAP32[$0 + 112 >> 2] << 1) + 4 | 0; - if ((HEAP32[$10 >> 2] | 0) <= 0) return; - $$014$i = 0; - do { - $135 = FUNCTION_TABLE_iiii[HEAP32[(HEAP32[$1 >> 2] | 0) + 4 >> 2] & 63]($0, 1, $129) | 0; - HEAP32[$125 + 68 + ($$014$i << 2) >> 2] = $135; - $$014$i = $$014$i + 1 | 0; - } while (($$014$i | 0) < (HEAP32[$10 >> 2] | 0)); - return; -} - -function __ZN6vision26PreemptiveRobustHomographyIfEEbPT_PKS1_S4_iS4_iRNSt3__26vectorIS1_NS5_9allocatorIS1_EEEERNS6_IiNS7_IiEEEERNS6_INS5_4pairIS1_iEENS7_ISF_EEEES1_iii($0, $1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - $6 = $6 | 0; - $7 = $7 | 0; - $8 = $8 | 0; - $9 = +$9; - $10 = $10 | 0; - $11 = $11 | 0; - $12 = $12 | 0; - var $$0 = 0, $$0156 = 0, $$0157 = 0, $$0158 = 0, $$0159 = 0, $$0160 = 0, $$0161 = 0, $$0162 = 0.0, $$0163 = 0, $$0165 = 0, $$0166 = 0, $$1 = 0.0, $$1164 = 0, $$1167 = 0, $106 = 0, $110 = 0, $113 = 0, $116 = 0, $119 = 0, $13 = 0, $131 = 0.0, $133 = 0, $14 = 0, $141 = 0, $147 = 0, $148 = 0, $154 = 0, $159 = 0, $162 = 0.0, $163 = 0, $164 = 0, $173 = 0.0, $178 = 0, $27 = 0, $32 = 0, $36 = 0, $39 = 0, $43 = 0, $49 = 0, $54 = 0, $58 = 0, $70 = 0, $75 = 0, $79 = 0, $81 = 0.0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $90 = 0, $93 = 0, $96 = 0, $99 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $13 = sp + 8 | 0; - $14 = sp; - if ((HEAP32[$6 + 4 >> 2] | 0) - (HEAP32[$6 >> 2] | 0) >> 2 >>> 0 < ($10 * 9 | 0) >>> 0) { - $27 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 35532) | 0, 35590) | 0, 39072) | 0, 119) | 0, 39079) | 0, 35684) | 0; - __ZNKSt3__28ios_base6getlocEv($13, $27 + (HEAP32[(HEAP32[$27 >> 2] | 0) + -12 >> 2] | 0) | 0); - $32 = __ZNKSt3__26locale9use_facetERNS0_2idE($13, 66512) | 0; - $36 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$32 >> 2] | 0) + 28 >> 2] & 127]($32, 10) | 0; - __ZNSt3__26localeD2Ev($13); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($27, $36) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($27) | 0; - _abort(); - } - $39 = HEAP32[$7 >> 2] | 0; - $43 = $39; - if ((HEAP32[$7 + 4 >> 2] | 0) - $39 >> 2 >>> 0 < $3 >>> 0) { - $49 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 35734) | 0, 35590) | 0, 39072) | 0, 120) | 0, 39079) | 0, 35784) | 0; - __ZNKSt3__28ios_base6getlocEv($13, $49 + (HEAP32[(HEAP32[$49 >> 2] | 0) + -12 >> 2] | 0) | 0); - $54 = __ZNKSt3__26locale9use_facetERNS0_2idE($13, 66512) | 0; - $58 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$54 >> 2] | 0) + 28 >> 2] & 127]($54, 10) | 0; - __ZNSt3__26localeD2Ev($13); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($49, $58) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($49) | 0; - _abort(); - } - if ((HEAP32[$8 + 4 >> 2] | 0) - (HEAP32[$8 >> 2] | 0) >> 3 >>> 0 < $10 >>> 0) { - $70 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 35826) | 0, 35590) | 0, 39072) | 0, 121) | 0, 39079) | 0, 35888) | 0; - __ZNKSt3__28ios_base6getlocEv($13, $70 + (HEAP32[(HEAP32[$70 >> 2] | 0) + -12 >> 2] | 0) | 0); - $75 = __ZNKSt3__26locale9use_facetERNS0_2idE($13, 66512) | 0; - $79 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$75 >> 2] | 0) + 28 >> 2] & 127]($75, 10) | 0; - __ZNSt3__26localeD2Ev($13); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($70, $79) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($70) | 0; - _abort(); - } - if (($3 | 0) >= 4) { - HEAP32[$14 >> 2] = 1234; - $81 = +__ZN6vision3sqrIfEET_S1_($9); - $82 = __ZN6vision4min2IiEET_S1_S1_($12, $3) | 0; - __ZN6vision16SequentialVectorIiEEvPT_iS1_($43, $3, 0); - __ZN6vision12ArrayShuffleIiEEvPT_iiRi($43, $3, $3, $14); - $83 = $43 + 4 | 0; - $84 = $43 + 8 | 0; - $85 = $43 + 12 | 0; - $86 = ($5 | 0) > 0; - $$0161 = 0; - $$0166 = 0; - while (1) { - if (!(($$0166 | 0) < ($10 | 0) & ($$0161 | 0) < ($11 | 0))) break; - __ZN6vision12ArrayShuffleIiEEvPT_iiRi($43, $3, 4, $14); - $90 = HEAP32[$43 >> 2] << 1; - $93 = HEAP32[$83 >> 2] << 1; - $96 = HEAP32[$84 >> 2] << 1; - $99 = HEAP32[$85 >> 2] << 1; - do if (__ZN6vision40Homography4PointsGeometricallyConsistentIfEEbPKT_S3_S3_S3_S3_S3_S3_S3_($1 + ($90 << 2) | 0, $1 + ($93 << 2) | 0, $1 + ($96 << 2) | 0, $1 + ($99 << 2) | 0, $2 + ($90 << 2) | 0, $2 + ($93 << 2) | 0, $2 + ($96 << 2) | 0, $2 + ($99 << 2) | 0) | 0 ? ($106 = $$0166 * 9 | 0, $110 = HEAP32[$43 >> 2] << 1, $113 = HEAP32[$83 >> 2] << 1, $116 = HEAP32[$84 >> 2] << 1, $119 = HEAP32[$85 >> 2] << 1, __ZN6vision22SolveHomography4PointsIfEEbPT_PKS1_S4_S4_S4_S4_S4_S4_S4_((HEAP32[$6 >> 2] | 0) + ($106 << 2) | 0, $1 + ($110 << 2) | 0, $1 + ($113 << 2) | 0, $1 + ($116 << 2) | 0, $1 + ($119 << 2) | 0, $2 + ($110 << 2) | 0, $2 + ($113 << 2) | 0, $2 + ($116 << 2) | 0, $2 + ($119 << 2) | 0) | 0) : 0) { - if ($86 ? !(__ZN6vision39HomographyPointsGeometricallyConsistentIfEEbPKT_S3_i((HEAP32[$6 >> 2] | 0) + ($106 << 2) | 0, $4, $5) | 0) : 0) { - $$1167 = $$0166; - break; - } - $$1167 = $$0166 + 1 | 0; - } else $$1167 = $$0166; while (0); - $$0161 = $$0161 + 1 | 0; - $$0166 = $$1167; - } - $131 = 1.0 / $81; - if ($$0166) { - $133 = HEAP32[$8 >> 2] | 0; - $$0160 = 0; - while (1) { - if (($$0160 | 0) >= ($$0166 | 0)) break; - HEAPF32[$133 + ($$0160 << 3) >> 2] = 0.0; - HEAP32[$133 + ($$0160 << 3) + 4 >> 2] = $$0160; - $$0160 = $$0160 + 1 | 0; - } - $$0159 = 0; - $$0165 = $$0166; - while (1) { - if (!(($$0165 | 0) > 2 & ($$0159 | 0) < ($3 | 0))) break; - $147 = (__ZN6vision4min2IiEET_S1_S1_($82, $3 - $$0159 | 0) | 0) + $$0159 | 0; - $$0158 = 0; - $148 = HEAP32[$8 >> 2] | 0; - while (1) { - if (($$0158 | 0) == ($$0165 | 0)) break; - $154 = (HEAP32[$6 >> 2] | 0) + ((HEAP32[$148 + ($$0158 << 3) + 4 >> 2] | 0) * 9 << 2) | 0; - $$0156 = $$0159; - $178 = $148; - while (1) { - if (($$0156 | 0) >= ($147 | 0)) break; - $159 = HEAP32[$43 + ($$0156 << 2) >> 2] << 1; - $162 = +__ZN6vision32CauchyProjectiveReprojectionCostIfEET_PKS1_S3_S3_S1_($154, $1 + ($159 << 2) | 0, $2 + ($159 << 2) | 0, $131); - $163 = HEAP32[$8 >> 2] | 0; - $164 = $163 + ($$0158 << 3) | 0; - HEAPF32[$164 >> 2] = $162 + +HEAPF32[$164 >> 2]; - $$0156 = $$0156 + 1 | 0; - $178 = $163; - } - $$0158 = $$0158 + 1 | 0; - $148 = $178; - } - __ZN6vision10FastMedianIfiEENSt3__24pairIT_T0_EEPS5_i($13, $148, $$0165); - $$0159 = $147; - $$0165 = $$0165 >> 1; - } - $141 = HEAP32[$8 >> 2] | 0; - $$0 = 1; - $$0162 = +HEAPF32[$141 >> 2]; - $$0163 = HEAP32[$141 + 4 >> 2] | 0; - while (1) { - if (($$0 | 0) >= ($$0165 | 0)) break; - $173 = +HEAPF32[$141 + ($$0 << 3) >> 2]; - if ($173 < $$0162) { - $$1 = $173; - $$1164 = HEAP32[$141 + ($$0 << 3) + 4 >> 2] | 0; - } else { - $$1 = $$0162; - $$1164 = $$0163; - } - $$0 = $$0 + 1 | 0; - $$0162 = $$1; - $$0163 = $$1164; - } - __ZN6vision11CopyVector9IfEEvPT_PKS1_($0, (HEAP32[$6 >> 2] | 0) + ($$0163 * 9 << 2) | 0); - __ZN6vision19NormalizeHomographyIfEEvPT_($0); - $$0157 = 1; - } else $$0157 = 0; - } else $$0157 = 0; - STACKTOP = sp; - return $$0157 | 0; -} - -function _jpeg_idct_16x8($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $$0360370 = 0, $$0362369 = 0, $$0364368 = 0, $$0371 = 0, $$1367 = 0, $$2366 = 0, $$sink = 0, $$sink373 = 0, $100 = 0, $101 = 0, $103 = 0, $106 = 0, $107 = 0, $109 = 0, $11 = 0, $113 = 0, $115 = 0, $117 = 0, $121 = 0, $123 = 0, $13 = 0, $149 = 0, $152 = 0, $155 = 0, $157 = 0, $158 = 0, $159 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $165 = 0, $167 = 0, $168 = 0, $169 = 0, $170 = 0, $172 = 0, $174 = 0, $176 = 0, $178 = 0, $179 = 0, $180 = 0, $181 = 0, $182 = 0, $183 = 0, $184 = 0, $185 = 0, $186 = 0, $188 = 0, $190 = 0, $192 = 0, $194 = 0, $195 = 0, $197 = 0, $198 = 0, $200 = 0, $202 = 0, $203 = 0, $205 = 0, $209 = 0, $213 = 0, $215 = 0, $221 = 0, $226 = 0, $227 = 0, $230 = 0, $234 = 0, $240 = 0, $242 = 0, $243 = 0, $244 = 0, $246 = 0, $247 = 0, $248 = 0, $35 = 0, $5 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $58 = 0, $61 = 0, $67 = 0, $69 = 0, $7 = 0, $71 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $83 = 0, $89 = 0, $95 = 0, $99 = 0, label = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 256 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(256); - $5 = sp; - $7 = HEAP32[$0 + 336 >> 2] | 0; - $$0360370 = $5; - $$0362369 = HEAP32[$1 + 84 >> 2] | 0; - $$0364368 = $2; - $$0371 = 8; - while (1) { - $11 = HEAP16[$$0364368 + 16 >> 1] | 0; - $13 = HEAP16[$$0364368 + 32 >> 1] | 0; - if (!(($11 | $13) << 16 >> 16)) if (((((HEAP16[$$0364368 + 48 >> 1] | 0) == 0 ? (HEAP16[$$0364368 + 64 >> 1] | 0) == 0 : 0) ? (HEAP16[$$0364368 + 80 >> 1] | 0) == 0 : 0) ? (HEAP16[$$0364368 + 96 >> 1] | 0) == 0 : 0) ? (HEAP16[$$0364368 + 112 >> 1] | 0) == 0 : 0) { - $35 = Math_imul(HEAP16[$$0364368 >> 1] << 2, HEAP32[$$0362369 >> 2] | 0) | 0; - HEAP32[$$0360370 >> 2] = $35; - HEAP32[$$0360370 + 32 >> 2] = $35; - HEAP32[$$0360370 + 64 >> 2] = $35; - HEAP32[$$0360370 + 96 >> 2] = $35; - HEAP32[$$0360370 + 128 >> 2] = $35; - HEAP32[$$0360370 + 160 >> 2] = $35; - HEAP32[$$0360370 + 192 >> 2] = $35; - $$sink = $35; - $$sink373 = 56; - } else { - $58 = 0; - label = 9; - } else { - $58 = $13; - label = 9; - } - if ((label | 0) == 9) { - label = 0; - $53 = Math_imul(HEAP16[$$0364368 + 64 >> 1] << 13, HEAP32[$$0362369 + 128 >> 2] | 0) | 0; - $54 = Math_imul(HEAP16[$$0364368 >> 1] << 13, HEAP32[$$0362369 >> 2] | 0) | 0 | 1024; - $55 = $53 + $54 | 0; - $56 = $54 - $53 | 0; - $61 = Math_imul(HEAP32[$$0362369 + 64 >> 2] | 0, $58 << 16 >> 16) | 0; - $67 = Math_imul(HEAP32[$$0362369 + 192 >> 2] | 0, HEAP16[$$0364368 + 96 >> 1] | 0) | 0; - $69 = ($67 + $61 | 0) * 4433 | 0; - $71 = $69 + ($61 * 6270 | 0) | 0; - $73 = $69 + (Math_imul($67, -15137) | 0) | 0; - $74 = $71 + $55 | 0; - $75 = $55 - $71 | 0; - $76 = $73 + $56 | 0; - $77 = $56 - $73 | 0; - $83 = Math_imul(HEAP32[$$0362369 + 224 >> 2] | 0, HEAP16[$$0364368 + 112 >> 1] | 0) | 0; - $89 = Math_imul(HEAP32[$$0362369 + 160 >> 2] | 0, HEAP16[$$0364368 + 80 >> 1] | 0) | 0; - $95 = Math_imul(HEAP32[$$0362369 + 96 >> 2] | 0, HEAP16[$$0364368 + 48 >> 1] | 0) | 0; - $99 = Math_imul(HEAP32[$$0362369 + 32 >> 2] | 0, $11 << 16 >> 16) | 0; - $100 = $95 + $83 | 0; - $101 = $99 + $89 | 0; - $103 = ($101 + $100 | 0) * 9633 | 0; - $106 = $103 + (Math_imul($100, -16069) | 0) | 0; - $107 = $103 + (Math_imul($101, -3196) | 0) | 0; - $109 = Math_imul($99 + $83 | 0, -7373) | 0; - $113 = $109 + ($83 * 2446 | 0) + $106 | 0; - $115 = $109 + ($99 * 12299 | 0) + $107 | 0; - $117 = Math_imul($95 + $89 | 0, -20995) | 0; - $121 = $117 + ($89 * 16819 | 0) + $107 | 0; - $123 = $117 + ($95 * 25172 | 0) + $106 | 0; - HEAP32[$$0360370 >> 2] = $115 + $74 >> 11; - HEAP32[$$0360370 + 224 >> 2] = $74 - $115 >> 11; - HEAP32[$$0360370 + 32 >> 2] = $123 + $76 >> 11; - HEAP32[$$0360370 + 192 >> 2] = $76 - $123 >> 11; - HEAP32[$$0360370 + 64 >> 2] = $121 + $77 >> 11; - HEAP32[$$0360370 + 160 >> 2] = $77 - $121 >> 11; - HEAP32[$$0360370 + 96 >> 2] = $113 + $75 >> 11; - $$sink = $75 - $113 >> 11; - $$sink373 = 32; - } - HEAP32[$$0360370 + ($$sink373 << 2) >> 2] = $$sink; - if ($$0371 >>> 0 > 1) { - $$0360370 = $$0360370 + 4 | 0; - $$0362369 = $$0362369 + 4 | 0; - $$0364368 = $$0364368 + 2 | 0; - $$0371 = $$0371 + -1 | 0; - } else break; - } - $149 = $7 + -384 | 0; - $$1367 = 0; - $$2366 = $5; - while (1) { - $152 = (HEAP32[$3 + ($$1367 << 2) >> 2] | 0) + $4 | 0; - $155 = (HEAP32[$$2366 >> 2] << 13) + 134348800 | 0; - $157 = HEAP32[$$2366 + 16 >> 2] | 0; - $158 = $157 * 10703 | 0; - $159 = $157 * 4433 | 0; - $160 = $155 + $158 | 0; - $161 = $155 - $158 | 0; - $162 = $155 + $159 | 0; - $163 = $155 - $159 | 0; - $165 = HEAP32[$$2366 + 8 >> 2] | 0; - $167 = HEAP32[$$2366 + 24 >> 2] | 0; - $168 = $165 - $167 | 0; - $169 = $168 * 2260 | 0; - $170 = $168 * 11363 | 0; - $172 = $170 + ($167 * 20995 | 0) | 0; - $174 = $169 + ($165 * 7373 | 0) | 0; - $176 = $170 + (Math_imul($165, -4926) | 0) | 0; - $178 = $169 + (Math_imul($167, -4176) | 0) | 0; - $179 = $172 + $160 | 0; - $180 = $160 - $172 | 0; - $181 = $174 + $162 | 0; - $182 = $162 - $174 | 0; - $183 = $176 + $163 | 0; - $184 = $163 - $176 | 0; - $185 = $178 + $161 | 0; - $186 = $161 - $178 | 0; - $188 = HEAP32[$$2366 + 4 >> 2] | 0; - $190 = HEAP32[$$2366 + 12 >> 2] | 0; - $192 = HEAP32[$$2366 + 20 >> 2] | 0; - $194 = HEAP32[$$2366 + 28 >> 2] | 0; - $195 = $192 + $188 | 0; - $197 = ($190 + $188 | 0) * 11086 | 0; - $198 = $195 * 10217 | 0; - $200 = ($194 + $188 | 0) * 8956 | 0; - $202 = ($188 - $194 | 0) * 7350 | 0; - $203 = $195 * 5461 | 0; - $205 = ($188 - $190 | 0) * 3363 | 0; - $209 = $197 + (Math_imul($188, -18730) | 0) + $198 + $200 | 0; - $213 = $205 + (Math_imul($188, -15038) | 0) + $203 + $202 | 0; - $215 = ($192 + $190 | 0) * 1136 | 0; - $221 = ($192 - $190 | 0) * 11529 | 0; - $226 = $194 + $190 | 0; - $227 = Math_imul($226, -5461) | 0; - $230 = $197 + ($190 * 589 | 0) + $215 + $227 | 0; - $234 = Math_imul($226, -10217) | 0; - $240 = $205 + ($190 * 16154 | 0) + $221 + $234 | 0; - $242 = Math_imul($194 + $192 | 0, -11086) | 0; - $243 = $215 + (Math_imul($192, -9222) | 0) + $198 + $242 | 0; - $244 = $227 + ($194 * 8728 | 0) + $200 + $242 | 0; - $246 = ($194 - $192 | 0) * 3363 | 0; - $247 = $234 + ($194 * 25733 | 0) + $202 + $246 | 0; - $248 = $221 + (Math_imul($192, -6278) | 0) + $203 + $246 | 0; - HEAP8[$152 >> 0] = HEAP8[$149 + (($209 + $179 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$152 + 15 >> 0] = HEAP8[$149 + (($179 - $209 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$152 + 1 >> 0] = HEAP8[$149 + (($230 + $181 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$152 + 14 >> 0] = HEAP8[$149 + (($181 - $230 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$152 + 2 >> 0] = HEAP8[$149 + (($243 + $183 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$152 + 13 >> 0] = HEAP8[$149 + (($183 - $243 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$152 + 3 >> 0] = HEAP8[$149 + (($244 + $185 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$152 + 12 >> 0] = HEAP8[$149 + (($185 - $244 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$152 + 4 >> 0] = HEAP8[$149 + (($247 + $186 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$152 + 11 >> 0] = HEAP8[$149 + (($186 - $247 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$152 + 5 >> 0] = HEAP8[$149 + (($248 + $184 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$152 + 10 >> 0] = HEAP8[$149 + (($184 - $248 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$152 + 6 >> 0] = HEAP8[$149 + (($240 + $182 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$152 + 9 >> 0] = HEAP8[$149 + (($182 - $240 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$152 + 7 >> 0] = HEAP8[$149 + (($213 + $180 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$152 + 8 >> 0] = HEAP8[$149 + (($180 - $213 | 0) >>> 18 & 1023) >> 0] | 0; - $$1367 = $$1367 + 1 | 0; - if (($$1367 | 0) == 8) break; else $$2366 = $$2366 + 32 | 0; - } - STACKTOP = sp; - return; -} - -function __ZN46EmscriptenBindingInitializer_constant_bindingsC2Ev($this) { - $this = $this | 0; - var $ref$tmp = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $ref$tmp = sp; - __ZN10emscripten8functionIiJiiiEJEEEvPKcPFT_DpT0_EDpT1_(39245, 26); - __ZN10emscripten8functionIiJiEJEEEvPKcPFT_DpT0_EDpT1_(39251, 67); - __ZN10emscripten8functionIiJiEJEEEvPKcPFT_DpT0_EDpT1_(39260, 68); - __ZN10emscripten8functionIiJiNSt3__212basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEJEEEvPKcPFT_DpT0_EDpT1_(39269, 44); - __ZN10emscripten8functionIiJiNSt3__212basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEJEEEvPKcPFT_DpT0_EDpT1_(39280, 45); - __ZN10emscripten8functionIiJiNSt3__212basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEJEEEvPKcPFT_DpT0_EDpT1_(39296, 46); - __ZN10emscripten8functionIiJiiEJEEEvPKcPFT_DpT0_EDpT1_(39310, 47); - __ZN10emscripten8functionIiJiEJEEEvPKcPFT_DpT0_EDpT1_(39328, 69); - __ZN10emscripten8functionIiJNSt3__212basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEJEEEvPKcPFT_DpT0_EDpT1_(39348, 70); - __ZN10emscripten8functionIiJiiiEJEEEvPKcPFT_DpT0_EDpT1_(39360, 27); - __ZN10emscripten8functionIiJiiEJEEEvPKcPFT_DpT0_EDpT1_(39377, 48); - __ZN10emscripten8functionIiJiiiEJEEEvPKcPFT_DpT0_EDpT1_(39397, 28); - __ZN10emscripten8functionIiJiiiEJEEEvPKcPFT_DpT0_EDpT1_(39415, 29); - __ZN10emscripten8functionIiJiiEJEEEvPKcPFT_DpT0_EDpT1_(39437, 49); - __ZN10emscripten8functionIiJiiEJEEEvPKcPFT_DpT0_EDpT1_(39460, 50); - __ZN10emscripten8functionIiJiEJEEEvPKcPFT_DpT0_EDpT1_(39489, 71); - __ZN10emscripten8functionIiJiEJEEEvPKcPFT_DpT0_EDpT1_(39502, 72); - __ZN10emscripten8functionIiJiEJEEEvPKcPFT_DpT0_EDpT1_(39515, 73); - __ZN10emscripten8functionIiJiiiEJEEEvPKcPFT_DpT0_EDpT1_(39531, 30); - __ZN10emscripten8functionIiJiiEJEEEvPKcPFT_DpT0_EDpT1_(39550, 51); - __ZN10emscripten8functionIiJiiEJEEEvPKcPFT_DpT0_EDpT1_(39560, 52); - __ZN10emscripten8functionIiJiiEJEEEvPKcPFT_DpT0_EDpT1_(39573, 53); - __ZN10emscripten8functionIiJiEJEEEvPKcPFT_DpT0_EDpT1_(39586, 74); - __ZN10emscripten8functionIiJiEJEEEvPKcPFT_DpT0_EDpT1_(39599, 75); - __ZN10emscripten8functionIvJiEJEEEvPKcPFT_DpT0_EDpT1_(39618, 183); - __ZN10emscripten8functionIiJEJEEEvPKcPFT_DpT0_EDpT1_(39630, 1); - __ZN10emscripten8functionIvJidEJEEEvPKcPFT_DpT0_EDpT1_(39642, 1); - __ZN10emscripten8functionIdJiEJEEEvPKcPFT_DpT0_EDpT1_(39665, 1); - __ZN10emscripten8functionIvJidEJEEEvPKcPFT_DpT0_EDpT1_(39688, 2); - __ZN10emscripten8functionIdJiEJEEEvPKcPFT_DpT0_EDpT1_(39710, 2); - __ZN10emscripten8functionIvJiiEJEEEvPKcPFT_DpT0_EDpT1_(39732, 126); - __ZN10emscripten8functionIiJiEJEEEvPKcPFT_DpT0_EDpT1_(39749, 76); - __ZN10emscripten8functionIvJiiEJEEEvPKcPFT_DpT0_EDpT1_(39766, 127); - __ZN10emscripten8functionIiJiEJEEEvPKcPFT_DpT0_EDpT1_(39779, 77); - __ZN10emscripten8functionIvJiiEJEEEvPKcPFT_DpT0_EDpT1_(39792, 128); - __ZN10emscripten8functionIiJiEJEEEvPKcPFT_DpT0_EDpT1_(39816, 78); - __ZN10emscripten8functionIvJifEJEEEvPKcPFT_DpT0_EDpT1_(39840, 3); - __ZN10emscripten8functionIdJiEJEEEvPKcPFT_DpT0_EDpT1_(39853, 3); - __ZN10emscripten8functionIvJiiEJEEEvPKcPFT_DpT0_EDpT1_(39866, 129); - __ZN10emscripten8functionIiJiEJEEEvPKcPFT_DpT0_EDpT1_(39884, 79); - __ZN10emscripten8functionIvJiiEJEEEvPKcPFT_DpT0_EDpT1_(39902, 130); - __ZN10emscripten8functionIiJiEJEEEvPKcPFT_DpT0_EDpT1_(39918, 80); - __ZN10emscripten8functionIvJiiEJEEEvPKcPFT_DpT0_EDpT1_(39934, 131); - __ZN10emscripten8functionIiJiEJEEEvPKcPFT_DpT0_EDpT1_(39951, 81); - __ZN10emscripten8constantIiEEvPKcRKT_(39968, 16896); - __ZN10emscripten8constantIiEEvPKcRKT_(39997, 16900); - __ZN10emscripten8constantIiEEvPKcRKT_(40025, 16904); - HEAP32[$ref$tmp >> 2] = 0; - __ZN10emscripten8constantIiEEvPKcRKT_(40058, $ref$tmp); - HEAP32[$ref$tmp >> 2] = 1; - __ZN10emscripten8constantIiEEvPKcRKT_(40075, $ref$tmp); - HEAP32[$ref$tmp >> 2] = 0; - __ZN10emscripten8constantIiEEvPKcRKT_(40091, $ref$tmp); - HEAP32[$ref$tmp >> 2] = 0; - __ZN10emscripten8constantIiEEvPKcRKT_(40113, $ref$tmp); - HEAP32[$ref$tmp >> 2] = 1; - __ZN10emscripten8constantIiEEvPKcRKT_(40138, $ref$tmp); - HEAP32[$ref$tmp >> 2] = 1; - __ZN10emscripten8constantIiEEvPKcRKT_(40163, $ref$tmp); - HEAP32[$ref$tmp >> 2] = 100; - __ZN10emscripten8constantIiEEvPKcRKT_(40188, $ref$tmp); - HEAP32[$ref$tmp >> 2] = 0; - __ZN10emscripten8constantIiEEvPKcRKT_(40215, $ref$tmp); - HEAP32[$ref$tmp >> 2] = 1; - __ZN10emscripten8constantIiEEvPKcRKT_(40241, $ref$tmp); - HEAP32[$ref$tmp >> 2] = 0; - __ZN10emscripten8constantIiEEvPKcRKT_(40267, $ref$tmp); - HEAP32[$ref$tmp >> 2] = 0; - __ZN10emscripten8constantIiEEvPKcRKT_(40294, $ref$tmp); - HEAP32[$ref$tmp >> 2] = 1; - __ZN10emscripten8constantIiEEvPKcRKT_(40321, $ref$tmp); - HEAP32[$ref$tmp >> 2] = 2; - __ZN10emscripten8constantIiEEvPKcRKT_(40347, $ref$tmp); - HEAP32[$ref$tmp >> 2] = 3; - __ZN10emscripten8constantIiEEvPKcRKT_(40372, $ref$tmp); - HEAP32[$ref$tmp >> 2] = 4; - __ZN10emscripten8constantIiEEvPKcRKT_(40410, $ref$tmp); - HEAP32[$ref$tmp >> 2] = 0; - __ZN10emscripten8constantIiEEvPKcRKT_(40447, $ref$tmp); - HEAP32[$ref$tmp >> 2] = 0; - __ZN10emscripten8constantIiEEvPKcRKT_(40481, $ref$tmp); - HEAP32[$ref$tmp >> 2] = 1; - __ZN10emscripten8constantIiEEvPKcRKT_(40505, $ref$tmp); - HEAP32[$ref$tmp >> 2] = 2; - __ZN10emscripten8constantIiEEvPKcRKT_(40531, $ref$tmp); - HEAP32[$ref$tmp >> 2] = 2; - __ZN10emscripten8constantIiEEvPKcRKT_(40558, $ref$tmp); - HEAP32[$ref$tmp >> 2] = 5; - __ZN10emscripten8constantIiEEvPKcRKT_(40592, $ref$tmp); - HEAPF64[$ref$tmp >> 3] = .5; - __ZN10emscripten8constantIdEEvPKcRKT_(40610, $ref$tmp); - HEAP32[$ref$tmp >> 2] = 0; - __ZN10emscripten8constantIiEEvPKcRKT_(40631, $ref$tmp); - HEAP32[$ref$tmp >> 2] = 1; - __ZN10emscripten8constantIiEEvPKcRKT_(40650, $ref$tmp); - HEAP32[$ref$tmp >> 2] = 2; - __ZN10emscripten8constantIiEEvPKcRKT_(40668, $ref$tmp); - HEAP32[$ref$tmp >> 2] = 3; - __ZN10emscripten8constantIiEEvPKcRKT_(40686, $ref$tmp); - HEAP32[$ref$tmp >> 2] = 4; - __ZN10emscripten8constantIiEEvPKcRKT_(40705, $ref$tmp); - HEAP32[$ref$tmp >> 2] = 3; - __ZN10emscripten8constantIiEEvPKcRKT_(40727, $ref$tmp); - HEAP32[$ref$tmp >> 2] = 515; - __ZN10emscripten8constantIiEEvPKcRKT_(40746, $ref$tmp); - HEAP32[$ref$tmp >> 2] = 259; - __ZN10emscripten8constantIiEEvPKcRKT_(40775, $ref$tmp); - HEAP32[$ref$tmp >> 2] = 4; - __ZN10emscripten8constantIiEEvPKcRKT_(40803, $ref$tmp); - HEAP32[$ref$tmp >> 2] = 772; - __ZN10emscripten8constantIiEEvPKcRKT_(40822, $ref$tmp); - HEAP32[$ref$tmp >> 2] = 1028; - __ZN10emscripten8constantIiEEvPKcRKT_(40852, $ref$tmp); - HEAP32[$ref$tmp >> 2] = 0; - __ZN10emscripten8constantIiEEvPKcRKT_(40882, $ref$tmp); - HEAP32[$ref$tmp >> 2] = 1; - __ZN10emscripten8constantIiEEvPKcRKT_(40913, $ref$tmp); - HEAP32[$ref$tmp >> 2] = 2; - __ZN10emscripten8constantIiEEvPKcRKT_(40949, $ref$tmp); - HEAP32[$ref$tmp >> 2] = 3; - __ZN10emscripten8constantIiEEvPKcRKT_(40983, $ref$tmp); - HEAP32[$ref$tmp >> 2] = 0; - __ZN10emscripten8constantIiEEvPKcRKT_(41021, $ref$tmp); - HEAP32[$ref$tmp >> 2] = 1; - __ZN10emscripten8constantIiEEvPKcRKT_(41054, $ref$tmp); - HEAP32[$ref$tmp >> 2] = 2; - __ZN10emscripten8constantIiEEvPKcRKT_(41101, $ref$tmp); - HEAP32[$ref$tmp >> 2] = 3; - __ZN10emscripten8constantIiEEvPKcRKT_(41143, $ref$tmp); - HEAP32[$ref$tmp >> 2] = 4; - __ZN10emscripten8constantIiEEvPKcRKT_(41186, $ref$tmp); - HEAP32[$ref$tmp >> 2] = 5; - __ZN10emscripten8constantIiEEvPKcRKT_(41238, $ref$tmp); - HEAP32[$ref$tmp >> 2] = 6; - __ZN10emscripten8constantIiEEvPKcRKT_(41289, $ref$tmp); - HEAP32[$ref$tmp >> 2] = 7; - __ZN10emscripten8constantIiEEvPKcRKT_(41334, $ref$tmp); - HEAP32[$ref$tmp >> 2] = 8; - __ZN10emscripten8constantIiEEvPKcRKT_(41373, $ref$tmp); - HEAP32[$ref$tmp >> 2] = 9; - __ZN10emscripten8constantIiEEvPKcRKT_(41418, $ref$tmp); - STACKTOP = sp; - return; -} - -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E17parseFunctionTypeEv($0) { - $0 = $0 | 0; - var $$7 = 0, $$8 = 0, $$9 = 0, $$byval_copy5 = 0, $1 = 0, $10 = 0, $11 = 0, $13 = 0, $16 = 0, $19 = 0, $2 = 0, $21 = 0, $22 = 0, $25 = 0, $27 = 0, $29 = 0, $3 = 0, $30 = 0, $32 = 0, $33 = 0, $38 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 80 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(80); - $$byval_copy5 = sp + 64 | 0; - $1 = sp + 28 | 0; - $2 = sp + 24 | 0; - $3 = sp + 56 | 0; - $4 = sp + 48 | 0; - $5 = sp + 40 | 0; - $6 = sp + 32 | 0; - $7 = sp; - $8 = sp + 72 | 0; - $9 = sp + 16 | 0; - $10 = sp + 8 | 0; - $11 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E17parseCVQualifiersEv($0) | 0; - HEAP32[$1 >> 2] = $11; - HEAP32[$2 >> 2] = 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($3, 56311); - HEAP32[$$byval_copy5 >> 2] = HEAP32[$3 >> 2]; - HEAP32[$$byval_copy5 + 4 >> 2] = HEAP32[$3 + 4 >> 2]; - do if (!(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($0, $$byval_copy5) | 0)) { - __ZN12_GLOBAL__N_110StringViewC2EPKc($4, 56323); - HEAP32[$$byval_copy5 >> 2] = HEAP32[$4 >> 2]; - HEAP32[$$byval_copy5 + 4 >> 2] = HEAP32[$4 + 4 >> 2]; - if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($0, $$byval_copy5) | 0) { - $16 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseExprEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0) | 0; - HEAP32[$$byval_copy5 >> 2] = $16; - if (!$16) { - $$9 = 0; - break; - } - if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($0, 69) | 0) { - $19 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_12NoexceptSpecEJRPNS0_4NodeEEEES9_DpOT0_($0, $$byval_copy5) | 0; - HEAP32[$2 >> 2] = $19; - label = 14; - break; - } else { - $$9 = 0; - break; - } - } - __ZN12_GLOBAL__N_110StringViewC2EPKc($5, 56326); - HEAP32[$$byval_copy5 >> 2] = HEAP32[$5 >> 2]; - HEAP32[$$byval_copy5 + 4 >> 2] = HEAP32[$5 + 4 >> 2]; - if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($0, $$byval_copy5) | 0) { - $21 = $0 + 8 | 0; - $22 = __ZNK12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE4sizeEv($21) | 0; - while (1) { - if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($0, 69) | 0) { - label = 12; - break; - } - $25 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseTypeEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0) | 0; - HEAP32[$$byval_copy5 >> 2] = $25; - if (!$25) { - label = 13; - break; - } - __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE9push_backERKS3_($21, $$byval_copy5); - } - if ((label | 0) == 12) { - __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E20popTrailingNodeArrayEm($$byval_copy5, $0, $22); - $27 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_20DynamicExceptionSpecEJNS0_9NodeArrayEEEEPNS0_4NodeEDpOT0_($0, $$byval_copy5) | 0; - HEAP32[$2 >> 2] = $27; - label = 14; - break; - } else if ((label | 0) == 13) { - $$9 = 0; - break; - } - } else label = 14; - } else { - $13 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA9_KcEEEPNS0_4NodeEDpOT0_($0, 56314) | 0; - HEAP32[$2 >> 2] = $13; - label = 14; - } while (0); - if ((label | 0) == 14) { - __ZN12_GLOBAL__N_110StringViewC2EPKc($6, 56329); - HEAP32[$$byval_copy5 >> 2] = HEAP32[$6 >> 2]; - HEAP32[$$byval_copy5 + 4 >> 2] = HEAP32[$6 + 4 >> 2]; - __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($0, $$byval_copy5) | 0; - if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($0, 70) | 0) { - __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($0, 89) | 0; - $29 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0; - $30 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseTypeEv($29) | 0; - HEAP32[$7 >> 2] = $30; - if (!$30) $$8 = 0; else { - HEAP8[$8 >> 0] = 0; - $32 = $0 + 8 | 0; - $33 = __ZNK12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE4sizeEv($32) | 0; - while (1) { - if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($0, 69) | 0) { - label = 27; - break; - } - if (!(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($0, 118) | 0)) { - __ZN12_GLOBAL__N_110StringViewC2EPKc($9, 56332); - HEAP32[$$byval_copy5 >> 2] = HEAP32[$9 >> 2]; - HEAP32[$$byval_copy5 + 4 >> 2] = HEAP32[$9 + 4 >> 2]; - if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($0, $$byval_copy5) | 0) { - label = 21; - break; - } - __ZN12_GLOBAL__N_110StringViewC2EPKc($10, 56335); - HEAP32[$$byval_copy5 >> 2] = HEAP32[$10 >> 2]; - HEAP32[$$byval_copy5 + 4 >> 2] = HEAP32[$10 + 4 >> 2]; - if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($0, $$byval_copy5) | 0) { - label = 23; - break; - } - $38 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseTypeEv($29) | 0; - HEAP32[$$byval_copy5 >> 2] = $38; - if (!$38) { - label = 26; - break; - } - __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE9push_backERKS3_($32, $$byval_copy5); - } - } - if ((label | 0) == 21) { - HEAP8[$8 >> 0] = 1; - label = 27; - } else if ((label | 0) == 23) { - HEAP8[$8 >> 0] = 2; - label = 27; - } else if ((label | 0) == 26) $$7 = 0; - if ((label | 0) == 27) { - __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E20popTrailingNodeArrayEm($$byval_copy5, $0, $33); - $$7 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_12FunctionTypeEJRPNS0_4NodeERNS0_9NodeArrayERNS0_10QualifiersERNS0_15FunctionRefQualESA_EEES9_DpOT0_($0, $7, $$byval_copy5, $1, $8, $2) | 0; - } - $$8 = $$7; - } - $$9 = $$8; - } else $$9 = 0; - } - STACKTOP = sp; - return $$9 | 0; -} - -function __ZN6vision18binomial_4th_orderEPfPtPKhmm($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $$0 = 0, $$0254 = 0, $$0255 = 0, $$0256 = 0, $$0257 = 0, $$0258 = 0, $$0259 = 0, $$0260 = 0, $$0275 = 0, $$0280 = 0, $$0281 = 0, $$0283 = 0, $$0284 = 0, $$1 = 0, $$1261 = 0, $$1266 = 0, $$1276 = 0, $$1282 = 0, $$1285 = 0, $$2 = 0, $$2262 = 0, $$2267 = 0, $$2272 = 0, $$2277 = 0, $$2286 = 0, $$3263 = 0, $$3268 = 0, $$3273 = 0, $$3278 = 0, $$3287 = 0, $$4269 = 0, $$4274 = 0, $$4279 = 0, $$4288 = 0, $100 = 0, $12 = 0, $121 = 0, $143 = 0, $164 = 0, $17 = 0, $184 = 0, $185 = 0, $186 = 0, $192 = 0, $193 = 0, $194 = 0, $195 = 0, $21 = 0, $227 = 0, $228 = 0, $239 = 0, $256 = 0, $28 = 0, $33 = 0, $37 = 0, $38 = 0, $39 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $46 = 0, $48 = 0, $49 = 0, $5 = 0, $54 = 0, $66 = 0, $79 = 0, $83 = 0, $86 = 0, $88 = 0, $scevgep = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $5 = sp; - if ($3 >>> 0 <= 4) { - $12 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 31119) | 0, 31153) | 0, 39072) | 0, 55) | 0, 39079) | 0, 31248) | 0; - __ZNKSt3__28ios_base6getlocEv($5, $12 + (HEAP32[(HEAP32[$12 >> 2] | 0) + -12 >> 2] | 0) | 0); - $17 = __ZNKSt3__26locale9use_facetERNS0_2idE($5, 66512) | 0; - $21 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$17 >> 2] | 0) + 28 >> 2] & 127]($17, 10) | 0; - __ZNSt3__26localeD2Ev($5); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($12, $21) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($12) | 0; - _abort(); - } - if ($4 >>> 0 <= 4) { - $28 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 31267) | 0, 31153) | 0, 39072) | 0, 56) | 0, 39079) | 0, 31248) | 0; - __ZNKSt3__28ios_base6getlocEv($5, $28 + (HEAP32[(HEAP32[$28 >> 2] | 0) + -12 >> 2] | 0) | 0); - $33 = __ZNKSt3__26locale9use_facetERNS0_2idE($5, 66512) | 0; - $37 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$33 >> 2] | 0) + 28 >> 2] & 127]($33, 10) | 0; - __ZNSt3__26localeD2Ev($5); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($28, $37) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($28) | 0; - _abort(); - } - $38 = $3 + -1 | 0; - $39 = $3 + -2 | 0; - $40 = $3 + -3 | 0; - $41 = $3 + -4 | 0; - $$0281 = $1; - $$0283 = 0; - while (1) { - if (($$0283 | 0) == ($4 | 0)) break; - $46 = $2 + (Math_imul($$0283, $3) | 0) | 0; - $48 = HEAPU8[$46 >> 0] | 0; - $49 = $46 + 1 | 0; - $54 = $46 + 2 | 0; - HEAP16[$$0281 >> 1] = ($48 * 7 | 0) + (HEAPU8[$54 >> 0] | 0) + ((HEAPU8[$49 >> 0] | 0) + $48 << 2); - $66 = HEAPU8[$46 >> 0] | 0; - HEAP16[$$0281 + 2 >> 1] = ((HEAPU8[$49 >> 0] | 0) * 6 | 0) + $66 + (HEAPU8[$46 + 3 >> 0] | 0) + ((HEAPU8[$54 >> 0] | 0) + $66 << 2); - $$0280 = 2; - $$1282 = $$0281 + 4 | 0; - while (1) { - if (($$0280 | 0) == ($39 | 0)) break; - $121 = $$0280 + 1 | 0; - HEAP16[$$1282 >> 1] = ((HEAPU8[$46 + $$0280 >> 0] | 0) * 6 | 0) + (HEAPU8[$46 + ($$0280 + -2) >> 0] | 0) + ((HEAPU8[$46 + $121 >> 0] | 0) + (HEAPU8[$46 + ($$0280 + -1) >> 0] | 0) << 2) + (HEAPU8[$46 + ($$0280 + 2) >> 0] | 0); - $$0280 = $121; - $$1282 = $$1282 + 2 | 0; - } - $scevgep = $$0281 + ($39 << 1) | 0; - $79 = $46 + $39 | 0; - $83 = $46 + $40 | 0; - $86 = $46 + $38 | 0; - $88 = HEAPU8[$86 >> 0] | 0; - HEAP16[$scevgep >> 1] = ((HEAPU8[$79 >> 0] | 0) * 6 | 0) + $88 + (HEAPU8[$46 + $41 >> 0] | 0) + ($88 + (HEAPU8[$83 >> 0] | 0) << 2); - $100 = HEAPU8[$86 >> 0] | 0; - HEAP16[$scevgep + 2 >> 1] = ($100 * 7 | 0) + (HEAPU8[$83 >> 0] | 0) + ((HEAPU8[$79 >> 0] | 0) + $100 << 2); - $$0281 = $$0281 + ($3 << 1) | 0; - $$0283 = $$0283 + 1 | 0; - } - $42 = $4 + -2 | 0; - $43 = $1 + ($3 << 1) | 0; - $44 = $43 + ($3 << 1) | 0; - $$0258 = 0; - $$0259 = $44; - $$0260 = $43; - $$0275 = $1; - $$0284 = $0; - while (1) { - if (($$0258 | 0) == ($3 | 0)) break; - $143 = HEAPU16[$$0275 >> 1] | 0; - HEAPF32[$$0284 >> 2] = +(($143 * 7 | 0) + ((HEAPU16[$$0260 >> 1] | 0) + $143 << 2) + (HEAPU16[$$0259 >> 1] | 0) | 0) * .00390625; - $$0258 = $$0258 + 1 | 0; - $$0259 = $$0259 + 2 | 0; - $$0260 = $$0260 + 2 | 0; - $$0275 = $$0275 + 2 | 0; - $$0284 = $$0284 + 4 | 0; - } - $$0257 = 0; - $$1 = $44 + ($3 << 1) | 0; - $$1261 = $44; - $$1266 = $43; - $$1276 = $1; - $$1285 = $0 + ($3 << 2) | 0; - while (1) { - if (($$0257 | 0) == ($3 | 0)) break; - $164 = HEAPU16[$$1276 >> 1] | 0; - HEAPF32[$$1285 >> 2] = +(((HEAPU16[$$1266 >> 1] | 0) * 6 | 0) + $164 + ((HEAPU16[$$1261 >> 1] | 0) + $164 << 2) + (HEAPU16[$$1 >> 1] | 0) | 0) * .00390625; - $$0257 = $$0257 + 1 | 0; - $$1 = $$1 + 2 | 0; - $$1261 = $$1261 + 2 | 0; - $$1266 = $$1266 + 2 | 0; - $$1276 = $$1276 + 2 | 0; - $$1285 = $$1285 + 4 | 0; - } - $$0256 = 2; - while (1) { - if (($$0256 | 0) == ($42 | 0)) break; - $192 = $1 + ((Math_imul($$0256 + -2 | 0, $3) | 0) << 1) | 0; - $193 = $192 + ($3 << 1) | 0; - $194 = $193 + ($3 << 1) | 0; - $195 = $194 + ($3 << 1) | 0; - $$0255 = 0; - $$2 = $195 + ($3 << 1) | 0; - $$2262 = $195; - $$2267 = $194; - $$2272 = $193; - $$2277 = $192; - $$2286 = $0 + ((Math_imul($$0256, $3) | 0) << 2) | 0; - while (1) { - if (($$0255 | 0) == ($3 | 0)) break; - HEAPF32[$$2286 >> 2] = +(((HEAPU16[$$2267 >> 1] | 0) * 6 | 0) + (HEAPU16[$$2277 >> 1] | 0) + ((HEAPU16[$$2262 >> 1] | 0) + (HEAPU16[$$2272 >> 1] | 0) << 2) + (HEAPU16[$$2 >> 1] | 0) | 0) * .00390625; - $$0255 = $$0255 + 1 | 0; - $$2 = $$2 + 2 | 0; - $$2262 = $$2262 + 2 | 0; - $$2267 = $$2267 + 2 | 0; - $$2272 = $$2272 + 2 | 0; - $$2277 = $$2277 + 2 | 0; - $$2286 = $$2286 + 4 | 0; - } - $$0256 = $$0256 + 1 | 0; - } - $184 = $1 + ((Math_imul($4 + -4 | 0, $3) | 0) << 1) | 0; - $185 = $184 + ($3 << 1) | 0; - $186 = $185 + ($3 << 1) | 0; - $$0254 = 0; - $$3263 = $186 + ($3 << 1) | 0; - $$3268 = $186; - $$3273 = $185; - $$3278 = $184; - $$3287 = $0 + ((Math_imul($42, $3) | 0) << 2) | 0; - while (1) { - if (($$0254 | 0) == ($3 | 0)) break; - $239 = HEAPU16[$$3263 >> 1] | 0; - HEAPF32[$$3287 >> 2] = +(((HEAPU16[$$3268 >> 1] | 0) * 6 | 0) + (HEAPU16[$$3278 >> 1] | 0) + ($239 + (HEAPU16[$$3273 >> 1] | 0) << 2) + $239 | 0) * .00390625; - $$0254 = $$0254 + 1 | 0; - $$3263 = $$3263 + 2 | 0; - $$3268 = $$3268 + 2 | 0; - $$3273 = $$3273 + 2 | 0; - $$3278 = $$3278 + 2 | 0; - $$3287 = $$3287 + 4 | 0; - } - $227 = $1 + ((Math_imul($4 + -3 | 0, $3) | 0) << 1) | 0; - $228 = $227 + ($3 << 1) | 0; - $$0 = 0; - $$4269 = $228 + ($3 << 1) | 0; - $$4274 = $228; - $$4279 = $227; - $$4288 = $0 + ((Math_imul($4 + -1 | 0, $3) | 0) << 2) | 0; - while (1) { - if (($$0 | 0) == ($3 | 0)) break; - $256 = HEAPU16[$$4269 >> 1] | 0; - HEAPF32[$$4288 >> 2] = +(($256 * 6 | 0) + (HEAPU16[$$4279 >> 1] | 0) + ($256 + (HEAPU16[$$4274 >> 1] | 0) << 2) + $256 | 0) * .00390625; - $$0 = $$0 + 1 | 0; - $$4269 = $$4269 + 2 | 0; - $$4274 = $$4274 + 2 | 0; - $$4279 = $$4279 + 2 | 0; - $$4288 = $$4288 + 4 | 0; - } - STACKTOP = sp; - return; -} - -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E19parseUnresolvedNameEv($0) { - $0 = $0 | 0; - var $$10 = 0, $$4 = 0, $$8 = 0, $$byval_copy2 = 0, $$pre$phi24Z2D = 0, $1 = 0, $11 = 0, $13 = 0, $15 = 0, $17 = 0, $18 = 0, $2 = 0, $21 = 0, $24 = 0, $26 = 0, $29 = 0, $3 = 0, $30 = 0, $34 = 0, $35 = 0, $37 = 0, $38 = 0, $4 = 0, $42 = 0, $44 = 0, $45 = 0, $6 = 0, $7 = 0, label = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 48 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); - $$byval_copy2 = sp + 32 | 0; - $1 = sp + 8 | 0; - $2 = sp + 24 | 0; - $3 = sp + 16 | 0; - $4 = sp; - HEAP32[$1 >> 2] = 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($2, 53691); - HEAP32[$$byval_copy2 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy2 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - L1 : do if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($0, $$byval_copy2) | 0) { - $6 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0; - $7 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E19parseUnresolvedTypeEv($6) | 0; - HEAP32[$1 >> 2] = $7; - if (!$7) $$10 = 0; else { - do if ((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($0, 0) | 0) << 24 >> 24 == 73) { - $11 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E17parseTemplateArgsEb($6, 0) | 0; - HEAP32[$$byval_copy2 >> 2] = $11; - if (!$11) { - $$10 = 0; - break L1; - } else { - $13 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_20NameWithTemplateArgsEJRPNS0_4NodeESA_EEES9_DpOT0_($0, $1, $$byval_copy2) | 0; - HEAP32[$1 >> 2] = $13; - break; - } - } while (0); - while (1) { - if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($0, 69) | 0) break; - $15 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E13parseSimpleIdEv($6) | 0; - HEAP32[$$byval_copy2 >> 2] = $15; - if (!$15) { - label = 35; - break; - } - $17 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_13QualifiedNameEJRPNS0_4NodeESA_EEES9_DpOT0_($0, $1, $$byval_copy2) | 0; - HEAP32[$1 >> 2] = $17; - } - if ((label | 0) == 35) { - $$10 = 0; - break; - } - $18 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E23parseBaseUnresolvedNameEv($6) | 0; - HEAP32[$$byval_copy2 >> 2] = $18; - if (!$18) $$4 = 0; else $$4 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_13QualifiedNameEJRPNS0_4NodeESA_EEES9_DpOT0_($0, $1, $$byval_copy2) | 0; - $$10 = $$4; - } - } else { - __ZN12_GLOBAL__N_110StringViewC2EPKc($3, 52665); - HEAP32[$$byval_copy2 >> 2] = HEAP32[$3 >> 2]; - HEAP32[$$byval_copy2 + 4 >> 2] = HEAP32[$3 + 4 >> 2]; - $21 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($0, $$byval_copy2) | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($4, 53695); - HEAP32[$$byval_copy2 >> 2] = HEAP32[$4 >> 2]; - HEAP32[$$byval_copy2 + 4 >> 2] = HEAP32[$4 + 4 >> 2]; - if (!(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($0, $$byval_copy2) | 0)) { - $24 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E23parseBaseUnresolvedNameEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0) | 0; - HEAP32[$1 >> 2] = $24; - if (($24 | 0) == 0 | $21 ^ 1) { - $$10 = $24; - break; - } - $26 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_19GlobalQualifiedNameEJRPNS0_4NodeEEEES9_DpOT0_($0, $1) | 0; - HEAP32[$1 >> 2] = $26; - $$10 = $26; - break; - } - L25 : do if ((((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($0, 0) | 0) << 24 >> 24) + -48 | 0) >>> 0 >= 10) { - $37 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0; - $38 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E19parseUnresolvedTypeEv($37) | 0; - HEAP32[$1 >> 2] = $38; - if (!$38) { - $$10 = 0; - break L1; - } - if ((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($0, 0) | 0) << 24 >> 24 == 73) { - $42 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E17parseTemplateArgsEb($37, 0) | 0; - HEAP32[$$byval_copy2 >> 2] = $42; - if (!$42) { - $$10 = 0; - break L1; - } else { - $44 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_20NameWithTemplateArgsEJRPNS0_4NodeESA_EEES9_DpOT0_($0, $1, $$byval_copy2) | 0; - HEAP32[$1 >> 2] = $44; - $$pre$phi24Z2D = $37; - break; - } - } else $$pre$phi24Z2D = $37; - } else { - while (1) { - $29 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0; - $30 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E13parseSimpleIdEv($29) | 0; - HEAP32[$$byval_copy2 >> 2] = $30; - if (!$30) break; - do if (!(HEAP32[$1 >> 2] | 0)) if ($21) { - $35 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_19GlobalQualifiedNameEJRPNS0_4NodeEEEES9_DpOT0_($0, $$byval_copy2) | 0; - HEAP32[$1 >> 2] = $35; - break; - } else { - HEAP32[$1 >> 2] = $30; - break; - } else { - $34 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_13QualifiedNameEJRPNS0_4NodeESA_EEES9_DpOT0_($0, $1, $$byval_copy2) | 0; - HEAP32[$1 >> 2] = $34; - } while (0); - if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($0, 69) | 0) { - $$pre$phi24Z2D = $29; - break L25; - } + } else if ((label | 0) == 40) { + _arLog(0, 3, 26164, $vararg_buffer49); + _fclose($fp$0) | 0; + _exit(0); + } else if ((label | 0) == 43) { + _arLog(0, 3, 26164, $vararg_buffer57); + _fclose($fp$0) | 0; + _exit(0); + } else if ((label | 0) == 47) { + _arLog(0, 3, 26164, $vararg_buffer65); + _fclose($fp$0) | 0; + _exit(0); + } else if ((label | 0) == 55) { + _arLog(0, 3, 46772, $vararg_buffer67); + _exit(1); + } else if ((label | 0) == 57) { + if ($fp$0 | 0) _fclose($fp$0) | 0; + if ((HEAP32[$i >> 2] | 0) >= ($$sink | 0)) { + $retval$1 = $call17; + break; } - $$10 = 0; - break L1; - } while (0); - $45 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E23parseBaseUnresolvedNameEv($$pre$phi24Z2D) | 0; - HEAP32[$$byval_copy2 >> 2] = $45; - if (!$45) $$8 = 0; else $$8 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_13QualifiedNameEJRPNS0_4NodeESA_EEES9_DpOT0_($0, $1, $$byval_copy2) | 0; - $$10 = $$8; + _exit(0); + } } while (0); STACKTOP = sp; - return $$10 | 0; -} - -function __ZN6vision18binomial_4th_orderEPfS0_PKfmm($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $$0 = 0, $$0232 = 0, $$0233 = 0, $$0234 = 0, $$0235 = 0, $$0236 = 0, $$0237 = 0, $$0238 = 0, $$0253 = 0, $$0258 = 0, $$0259 = 0, $$0261 = 0, $$0262 = 0, $$1 = 0, $$1239 = 0, $$1244 = 0, $$1254 = 0, $$1260 = 0, $$1263 = 0, $$2 = 0, $$2240 = 0, $$2245 = 0, $$2250 = 0, $$2255 = 0, $$2264 = 0, $$3241 = 0, $$3246 = 0, $$3251 = 0, $$3256 = 0, $$3265 = 0, $$4247 = 0, $$4252 = 0, $$4257 = 0, $$4266 = 0, $103 = 0, $12 = 0, $120 = 0.0, $137 = 0.0, $154 = 0, $155 = 0, $156 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $17 = 0, $191 = 0, $192 = 0, $200 = 0.0, $21 = 0, $214 = 0.0, $28 = 0, $33 = 0, $37 = 0, $38 = 0, $39 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $46 = 0, $47 = 0.0, $49 = 0, $5 = 0, $55 = 0, $61 = 0.0, $71 = 0, $74 = 0, $76 = 0, $77 = 0.0, $86 = 0.0, $scevgep = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $5 = sp; - if ($3 >>> 0 <= 4) { - $12 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 31119) | 0, 31153) | 0, 39072) | 0, 168) | 0, 39079) | 0, 31248) | 0; - __ZNKSt3__28ios_base6getlocEv($5, $12 + (HEAP32[(HEAP32[$12 >> 2] | 0) + -12 >> 2] | 0) | 0); - $17 = __ZNKSt3__26locale9use_facetERNS0_2idE($5, 66512) | 0; - $21 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$17 >> 2] | 0) + 28 >> 2] & 127]($17, 10) | 0; - __ZNSt3__26localeD2Ev($5); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($12, $21) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($12) | 0; - _abort(); - } - if ($4 >>> 0 <= 4) { - $28 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 31267) | 0, 31153) | 0, 39072) | 0, 169) | 0, 39079) | 0, 31248) | 0; - __ZNKSt3__28ios_base6getlocEv($5, $28 + (HEAP32[(HEAP32[$28 >> 2] | 0) + -12 >> 2] | 0) | 0); - $33 = __ZNKSt3__26locale9use_facetERNS0_2idE($5, 66512) | 0; - $37 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$33 >> 2] | 0) + 28 >> 2] & 127]($33, 10) | 0; - __ZNSt3__26localeD2Ev($5); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($28, $37) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($28) | 0; - _abort(); - } - $38 = $3 + -1 | 0; - $39 = $3 + -2 | 0; - $40 = $3 + -3 | 0; - $41 = $3 + -4 | 0; - $$0259 = $1; - $$0261 = 0; - while (1) { - if (($$0261 | 0) == ($4 | 0)) break; - $46 = $2 + ((Math_imul($$0261, $3) | 0) << 2) | 0; - $47 = +HEAPF32[$46 >> 2]; - $49 = $46 + 4 | 0; - $55 = $46 + 8 | 0; - HEAPF32[$$0259 >> 2] = +HEAPF32[$55 >> 2] + ($47 + ($47 * 6.0 + ($47 + +HEAPF32[$49 >> 2]) * 4.0)); - $61 = +HEAPF32[$46 >> 2]; - HEAPF32[$$0259 + 4 >> 2] = +HEAPF32[$46 + 12 >> 2] + ($61 + (+HEAPF32[$49 >> 2] * 6.0 + ($61 + +HEAPF32[$55 >> 2]) * 4.0)); - $$0258 = 2; - $$1260 = $$0259 + 8 | 0; - while (1) { - if (($$0258 | 0) == ($39 | 0)) break; - $103 = $$0258 + 1 | 0; - HEAPF32[$$1260 >> 2] = +HEAPF32[$46 + ($$0258 + 2 << 2) >> 2] + (+HEAPF32[$46 + ($$0258 + -2 << 2) >> 2] + (+HEAPF32[$46 + ($$0258 << 2) >> 2] * 6.0 + (+HEAPF32[$46 + ($$0258 + -1 << 2) >> 2] + +HEAPF32[$46 + ($103 << 2) >> 2]) * 4.0)); - $$0258 = $103; - $$1260 = $$1260 + 4 | 0; - } - $scevgep = $$0259 + ($39 << 2) | 0; - $71 = $46 + ($39 << 2) | 0; - $74 = $46 + ($40 << 2) | 0; - $76 = $46 + ($38 << 2) | 0; - $77 = +HEAPF32[$76 >> 2]; - HEAPF32[$scevgep >> 2] = $77 + (+HEAPF32[$46 + ($41 << 2) >> 2] + (+HEAPF32[$71 >> 2] * 6.0 + (+HEAPF32[$74 >> 2] + $77) * 4.0)); - $86 = +HEAPF32[$76 >> 2]; - HEAPF32[$scevgep + 4 >> 2] = $86 + (+HEAPF32[$74 >> 2] + ($86 * 6.0 + ($86 + +HEAPF32[$71 >> 2]) * 4.0)); - $$0259 = $$0259 + ($3 << 2) | 0; - $$0261 = $$0261 + 1 | 0; - } - $42 = $4 + -2 | 0; - $43 = $1 + ($3 << 2) | 0; - $44 = $43 + ($3 << 2) | 0; - $$0236 = 0; - $$0237 = $44; - $$0238 = $43; - $$0253 = $1; - $$0262 = $0; - while (1) { - if (($$0236 | 0) == ($3 | 0)) break; - $120 = +HEAPF32[$$0253 >> 2]; - HEAPF32[$$0262 >> 2] = (+HEAPF32[$$0237 >> 2] + ($120 + ($120 * 6.0 + ($120 + +HEAPF32[$$0238 >> 2]) * 4.0))) * .00390625; - $$0236 = $$0236 + 1 | 0; - $$0237 = $$0237 + 4 | 0; - $$0238 = $$0238 + 4 | 0; - $$0253 = $$0253 + 4 | 0; - $$0262 = $$0262 + 4 | 0; - } - $$0235 = 0; - $$1 = $44 + ($3 << 2) | 0; - $$1239 = $44; - $$1244 = $43; - $$1254 = $1; - $$1263 = $0 + ($3 << 2) | 0; - while (1) { - if (($$0235 | 0) == ($3 | 0)) break; - $137 = +HEAPF32[$$1254 >> 2]; - HEAPF32[$$1263 >> 2] = (+HEAPF32[$$1 >> 2] + ($137 + (+HEAPF32[$$1244 >> 2] * 6.0 + ($137 + +HEAPF32[$$1239 >> 2]) * 4.0))) * .00390625; - $$0235 = $$0235 + 1 | 0; - $$1 = $$1 + 4 | 0; - $$1239 = $$1239 + 4 | 0; - $$1244 = $$1244 + 4 | 0; - $$1254 = $$1254 + 4 | 0; - $$1263 = $$1263 + 4 | 0; - } - $$0234 = 2; - while (1) { - if (($$0234 | 0) == ($42 | 0)) break; - $162 = $1 + ((Math_imul($$0234 + -2 | 0, $3) | 0) << 2) | 0; - $163 = $162 + ($3 << 2) | 0; - $164 = $163 + ($3 << 2) | 0; - $165 = $164 + ($3 << 2) | 0; - $$0233 = 0; - $$2 = $165 + ($3 << 2) | 0; - $$2240 = $165; - $$2245 = $164; - $$2250 = $163; - $$2255 = $162; - $$2264 = $0 + ((Math_imul($$0234, $3) | 0) << 2) | 0; - while (1) { - if (($$0233 | 0) == ($3 | 0)) break; - HEAPF32[$$2264 >> 2] = (+HEAPF32[$$2 >> 2] + (+HEAPF32[$$2255 >> 2] + (+HEAPF32[$$2245 >> 2] * 6.0 + (+HEAPF32[$$2250 >> 2] + +HEAPF32[$$2240 >> 2]) * 4.0))) * .00390625; - $$0233 = $$0233 + 1 | 0; - $$2 = $$2 + 4 | 0; - $$2240 = $$2240 + 4 | 0; - $$2245 = $$2245 + 4 | 0; - $$2250 = $$2250 + 4 | 0; - $$2255 = $$2255 + 4 | 0; - $$2264 = $$2264 + 4 | 0; - } - $$0234 = $$0234 + 1 | 0; - } - $154 = $1 + ((Math_imul($4 + -4 | 0, $3) | 0) << 2) | 0; - $155 = $154 + ($3 << 2) | 0; - $156 = $155 + ($3 << 2) | 0; - $$0232 = 0; - $$3241 = $156 + ($3 << 2) | 0; - $$3246 = $156; - $$3251 = $155; - $$3256 = $154; - $$3265 = $0 + ((Math_imul($42, $3) | 0) << 2) | 0; - while (1) { - if (($$0232 | 0) == ($3 | 0)) break; - $200 = +HEAPF32[$$3241 >> 2]; - HEAPF32[$$3265 >> 2] = ($200 + (+HEAPF32[$$3256 >> 2] + (+HEAPF32[$$3246 >> 2] * 6.0 + (+HEAPF32[$$3251 >> 2] + $200) * 4.0))) * .00390625; - $$0232 = $$0232 + 1 | 0; - $$3241 = $$3241 + 4 | 0; - $$3246 = $$3246 + 4 | 0; - $$3251 = $$3251 + 4 | 0; - $$3256 = $$3256 + 4 | 0; - $$3265 = $$3265 + 4 | 0; - } - $191 = $1 + ((Math_imul($4 + -3 | 0, $3) | 0) << 2) | 0; - $192 = $191 + ($3 << 2) | 0; - $$0 = 0; - $$4247 = $192 + ($3 << 2) | 0; - $$4252 = $192; - $$4257 = $191; - $$4266 = $0 + ((Math_imul($4 + -1 | 0, $3) | 0) << 2) | 0; - while (1) { - if (($$0 | 0) == ($3 | 0)) break; - $214 = +HEAPF32[$$4247 >> 2]; - HEAPF32[$$4266 >> 2] = ($214 + (+HEAPF32[$$4257 >> 2] + ($214 * 6.0 + (+HEAPF32[$$4252 >> 2] + $214) * 4.0))) * .00390625; - $$0 = $$0 + 1 | 0; - $$4247 = $$4247 + 4 | 0; - $$4252 = $$4252 + 4 | 0; - $$4257 = $$4257 + 4 | 0; - $$4266 = $$4266 + 4 | 0; - } - STACKTOP = sp; - return; + return $retval$1 | 0; } -function __ZNSt3__214__scan_keywordINS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEPKNS_12basic_stringIwS3_NS_9allocatorIwEEEENS_5ctypeIwEEEET0_RT_SE_SD_SD_RKT1_Rjb($0, $1, $2, $3, $4, $5, $6) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - $6 = $6 | 0; - var $$0 = 0, $$0$i$i = 0, $$0$i$i$i$i = 0, $$0$i$i$i$i116 = 0, $$0$i$i2$i$i = 0, $$0$i$i2$i$i122 = 0, $$0101 = 0, $$0105 = 0, $$0111 = 0, $$0112 = 0, $$0112140 = 0, $$092 = 0, $$093 = 0, $$094$off0 = 0, $$095 = 0, $$096 = 0, $$097 = 0, $$098 = 0, $$1102 = 0, $$1106 = 0, $$199 = 0, $$2$off0 = 0, $$2100 = 0, $$2103 = 0, $$2103$be = 0, $$2107 = 0, $$3 = 0, $$3104 = 0, $$3108 = 0, $$5 = 0, $$5110 = 0, $$6 = 0, $$7 = 0, $$sroa$0129$0 = 0, $109 = 0, $11 = 0, $114 = 0, $119 = 0, $120 = 0, $126 = 0, $13 = 0, $132 = 0, $138 = 0, $139 = 0, $140 = 0, $156 = 0, $162 = 0, $175 = 0, $18 = 0, $24 = 0, $29 = 0, $32 = 0, $44 = 0, $47 = 0, $60 = 0, $61 = 0, $64 = 0, $67 = 0, $7 = 0, $80 = 0, $82 = 0, $95 = 0, label = 0, sp = 0; +function __ZNSt3__214__scan_keywordINS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEPKNS_12basic_stringIcS3_NS_9allocatorIcEEEENS_5ctypeIcEEEET0_RT_SE_SD_SD_RKT1_Rjb($__b, $__e, $__kb, $__ke, $__ct, $__err, $__case_sensitive) { + $__b = $__b | 0; + $__e = $__e | 0; + $__kb = $__kb | 0; + $__ke = $__ke | 0; + $__ct = $__ct | 0; + $__err = $__err | 0; + $__case_sensitive = $__case_sensitive | 0; + var $0 = 0, $13 = 0, $14 = 0, $16 = 0, $17 = 0, $2 = 0, $21 = 0, $22 = 0, $26 = 0, $3 = 0, $34 = 0, $36 = 0, $38 = 0, $39 = 0, $44 = 0, $49 = 0, $7 = 0, $8 = 0, $__c$0 = 0, $__consume$0$off0 = 0, $__consume$2$off0 = 0, $__indx$0 = 0, $__kb$addr$0 = 0, $__kb$addr$0143 = 0, $__kc$0 = 0, $__ky$0 = 0, $__ky19$0 = 0, $__ky55$0 = 0, $__n_does_match$0 = 0, $__n_does_match$1 = 0, $__n_does_match$2 = 0, $__n_does_match$2$be = 0, $__n_does_match$3 = 0, $__n_does_match$5 = 0, $__n_does_match$6 = 0, $__n_does_match$7 = 0, $__n_might_match$0 = 0, $__n_might_match$1 = 0, $__n_might_match$2 = 0, $__n_might_match$3 = 0, $__n_might_match$5 = 0, $__ninp_$i$i = 0, $__size_$i$i$i$i = 0, $__st$0 = 0, $__st$1 = 0, $__st$2 = 0, $__st$3 = 0, $__stat_hold$sroa$0$0 = 0, $__statbuf = 0, $__status$0 = 0, $add = 0, $call1 = 0, $cond$i = 0, $cond$i$i = 0, $cond$i$i$i = 0, $cond$i132 = 0, $conv$i = 0, $retval$0$i$i = 0, $retval$0$i$i$i$i = 0, $retval$0$i$i$i$i82 = 0, $retval$0$i$i13$i$i = 0, $retval$0$i$i13$i$i103 = 0, $sub$ptr$div$i$i = 0, label = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 112 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(112); - $7 = sp; - $11 = ($3 - $2 | 0) / 12 | 0; - if ($11 >>> 0 > 100) { - $13 = _malloc($11) | 0; - if (!$13) __ZSt17__throw_bad_allocv(); else { - $$0111 = $13; - $$sroa$0129$0 = $13; + $__statbuf = sp; + $sub$ptr$div$i$i = ($__ke - $__kb | 0) / 12 | 0; + if ($sub$ptr$div$i$i >>> 0 > 100) { + $call1 = _malloc($sub$ptr$div$i$i) | 0; + if (!$call1) __ZSt17__throw_bad_allocv(); else { + $__stat_hold$sroa$0$0 = $call1; + $__status$0 = $call1; } } else { - $$0111 = $7; - $$sroa$0129$0 = 0; + $__stat_hold$sroa$0$0 = 0; + $__status$0 = $__statbuf; } - $$0101 = 0; - $$0105 = $11; - $$097 = $2; - $$098 = $$0111; + $__ky$0 = $__kb; + $__n_does_match$0 = 0; + $__n_might_match$0 = $sub$ptr$div$i$i; + $__st$0 = $__status$0; while (1) { - if (($$097 | 0) == ($3 | 0)) break; - $18 = HEAP8[$$097 + 8 + 3 >> 0] | 0; - if ($18 << 24 >> 24 < 0) $24 = HEAP32[$$097 + 4 >> 2] | 0; else $24 = $18 & 255; - if (!$24) { - HEAP8[$$098 >> 0] = 2; - $$1102 = $$0101 + 1 | 0; - $$1106 = $$0105 + -1 | 0; + if (($__ky$0 | 0) == ($__ke | 0)) break; + $0 = HEAP8[$__ky$0 + 11 >> 0] | 0; + if ($0 << 24 >> 24 < 0) $cond$i$i = HEAP32[$__ky$0 + 4 >> 2] | 0; else $cond$i$i = $0 & 255; + if (!$cond$i$i) { + HEAP8[$__st$0 >> 0] = 2; + $__n_does_match$1 = $__n_does_match$0 + 1 | 0; + $__n_might_match$1 = $__n_might_match$0 + -1 | 0; } else { - HEAP8[$$098 >> 0] = 1; - $$1102 = $$0101; - $$1106 = $$0105; - } - $$0101 = $$1102; - $$0105 = $$1106; - $$097 = $$097 + 12 | 0; - $$098 = $$098 + 1 | 0; - } - $$096 = 0; - $$2103 = $$0101; - $$2107 = $$0105; + HEAP8[$__st$0 >> 0] = 1; + $__n_does_match$1 = $__n_does_match$0; + $__n_might_match$1 = $__n_might_match$0; + } + $__ky$0 = $__ky$0 + 12 | 0; + $__n_does_match$0 = $__n_does_match$1; + $__n_might_match$0 = $__n_might_match$1; + $__st$0 = $__st$0 + 1 | 0; + } + $__indx$0 = 0; + $__n_does_match$2 = $__n_does_match$0; + $__n_might_match$2 = $__n_might_match$0; while (1) { - $29 = HEAP32[$0 >> 2] | 0; - do if ($29) { - $32 = HEAP32[$29 + 12 >> 2] | 0; - if (($32 | 0) == (HEAP32[$29 + 16 >> 2] | 0)) $$0$i$i$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$29 >> 2] | 0) + 36 >> 2] & 127]($29) | 0; else $$0$i$i$i$i = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$32 >> 2] | 0) | 0; - if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj($$0$i$i$i$i, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { - HEAP32[$0 >> 2] = 0; - $60 = 1; + $2 = HEAP32[$__b >> 2] | 0; + do if ($2) { + $3 = HEAP32[$2 + 12 >> 2] | 0; + if (($3 | 0) == (HEAP32[$2 + 16 >> 2] | 0)) $retval$0$i$i$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$2 >> 2] | 0) + 36 >> 2] & 127]($2) | 0; else $retval$0$i$i$i$i = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$3 >> 0] | 0) | 0; + if (__ZNSt3__211char_traitsIcE11eq_int_typeEii($retval$0$i$i$i$i, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { + HEAP32[$__b >> 2] = 0; + $14 = 1; break; } else { - $60 = (HEAP32[$0 >> 2] | 0) == 0; + $14 = (HEAP32[$__b >> 2] | 0) == 0; break; } - } else $60 = 1; while (0); - $44 = HEAP32[$1 >> 2] | 0; - if ($44) { - $47 = HEAP32[$44 + 12 >> 2] | 0; - if (($47 | 0) == (HEAP32[$44 + 16 >> 2] | 0)) $$0$i$i2$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$44 >> 2] | 0) + 36 >> 2] & 127]($44) | 0; else $$0$i$i2$i$i = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$47 >> 2] | 0) | 0; - if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj($$0$i$i2$i$i, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { - HEAP32[$1 >> 2] = 0; - $61 = 1; - $80 = 0; + } else $14 = 1; while (0); + $7 = HEAP32[$__e >> 2] | 0; + if ($7) { + $8 = HEAP32[$7 + 12 >> 2] | 0; + if (($8 | 0) == (HEAP32[$7 + 16 >> 2] | 0)) $retval$0$i$i13$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$7 >> 2] | 0) + 36 >> 2] & 127]($7) | 0; else $retval$0$i$i13$i$i = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$8 >> 0] | 0) | 0; + if (__ZNSt3__211char_traitsIcE11eq_int_typeEii($retval$0$i$i13$i$i, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { + HEAP32[$__e >> 2] = 0; + $13 = 1; + $21 = 0; } else { - $61 = 0; - $80 = $44; + $13 = 0; + $21 = $7; } } else { - $61 = 1; - $80 = 0; - } - $64 = HEAP32[$0 >> 2] | 0; - if (!(($$2107 | 0) != 0 & ($60 ^ $61))) break; - $95 = HEAP32[$64 + 12 >> 2] | 0; - if (($95 | 0) == (HEAP32[$64 + 16 >> 2] | 0)) $$0$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$64 >> 2] | 0) + 36 >> 2] & 127]($64) | 0; else $$0$i$i = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$95 >> 2] | 0) | 0; - if ($6) $$095 = $$0$i$i; else $$095 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$4 >> 2] | 0) + 28 >> 2] & 127]($4, $$0$i$i) | 0; - $109 = $$096 + 1 | 0; - $$093 = $2; - $$094$off0 = 0; - $$199 = $$0111; - $$3104 = $$2103; - $$3108 = $$2107; + $13 = 1; + $21 = 0; + } + $16 = HEAP32[$__b >> 2] | 0; + if (!(($__n_might_match$2 | 0) != 0 & ($14 ^ $13))) break; + $26 = HEAP32[$16 + 12 >> 2] | 0; + if (($26 | 0) == (HEAP32[$16 + 16 >> 2] | 0)) $retval$0$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$16 >> 2] | 0) + 36 >> 2] & 127]($16) | 0; else $retval$0$i$i = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$26 >> 0] | 0) | 0; + $conv$i = $retval$0$i$i & 255; + if ($__case_sensitive) $__c$0 = $conv$i; else $__c$0 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$__ct >> 2] | 0) + 12 >> 2] & 127]($__ct, $conv$i) | 0; + $add = $__indx$0 + 1 | 0; + $__consume$0$off0 = 0; + $__ky19$0 = $__kb; + $__n_does_match$3 = $__n_does_match$2; + $__n_might_match$3 = $__n_might_match$2; + $__st$1 = $__status$0; while (1) { - if (($$093 | 0) == ($3 | 0)) break; - do if ((HEAP8[$$199 >> 0] | 0) == 1) { - $114 = $$093 + 8 + 3 | 0; - if ((HEAP8[$114 >> 0] | 0) < 0) $119 = HEAP32[$$093 >> 2] | 0; else $119 = $$093; - $120 = HEAP32[$119 + ($$096 << 2) >> 2] | 0; - if ($6) $$092 = $120; else $$092 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$4 >> 2] | 0) + 28 >> 2] & 127]($4, $120) | 0; - if (($$095 | 0) != ($$092 | 0)) { - HEAP8[$$199 >> 0] = 0; - $$2$off0 = $$094$off0; - $$5 = $$3104; - $$5110 = $$3108 + -1 | 0; + if (($__ky19$0 | 0) == ($__ke | 0)) break; + do if ((HEAP8[$__st$1 >> 0] | 0) == 1) { + $__size_$i$i$i$i = $__ky19$0 + 11 | 0; + if ((HEAP8[$__size_$i$i$i$i >> 0] | 0) < 0) $cond$i$i$i = HEAP32[$__ky19$0 >> 2] | 0; else $cond$i$i$i = $__ky19$0; + $34 = HEAP8[$cond$i$i$i + $__indx$0 >> 0] | 0; + if ($__case_sensitive) $__kc$0 = $34; else $__kc$0 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$__ct >> 2] | 0) + 12 >> 2] & 127]($__ct, $34) | 0; + if ($__c$0 << 24 >> 24 != $__kc$0 << 24 >> 24) { + HEAP8[$__st$1 >> 0] = 0; + $__consume$2$off0 = $__consume$0$off0; + $__n_does_match$5 = $__n_does_match$3; + $__n_might_match$5 = $__n_might_match$3 + -1 | 0; break; } - $126 = HEAP8[$114 >> 0] | 0; - if ($126 << 24 >> 24 < 0) $132 = HEAP32[$$093 + 4 >> 2] | 0; else $132 = $126 & 255; - if (($132 | 0) == ($109 | 0)) { - HEAP8[$$199 >> 0] = 2; - $$2$off0 = 1; - $$5 = $$3104 + 1 | 0; - $$5110 = $$3108 + -1 | 0; + $36 = HEAP8[$__size_$i$i$i$i >> 0] | 0; + if ($36 << 24 >> 24 < 0) $cond$i132 = HEAP32[$__ky19$0 + 4 >> 2] | 0; else $cond$i132 = $36 & 255; + if (($cond$i132 | 0) == ($add | 0)) { + HEAP8[$__st$1 >> 0] = 2; + $__consume$2$off0 = 1; + $__n_does_match$5 = $__n_does_match$3 + 1 | 0; + $__n_might_match$5 = $__n_might_match$3 + -1 | 0; } else { - $$2$off0 = 1; - $$5 = $$3104; - $$5110 = $$3108; + $__consume$2$off0 = 1; + $__n_does_match$5 = $__n_does_match$3; + $__n_might_match$5 = $__n_might_match$3; } } else { - $$2$off0 = $$094$off0; - $$5 = $$3104; - $$5110 = $$3108; + $__consume$2$off0 = $__consume$0$off0; + $__n_does_match$5 = $__n_does_match$3; + $__n_might_match$5 = $__n_might_match$3; } while (0); - $$093 = $$093 + 12 | 0; - $$094$off0 = $$2$off0; - $$199 = $$199 + 1 | 0; - $$3104 = $$5; - $$3108 = $$5110; - } - L67 : do if ($$094$off0) { - $138 = HEAP32[$0 >> 2] | 0; - $139 = $138 + 12 | 0; - $140 = HEAP32[$139 >> 2] | 0; - if (($140 | 0) == (HEAP32[$138 + 16 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$138 >> 2] | 0) + 40 >> 2] & 127]($138) | 0; else { - HEAP32[$139 >> 2] = $140 + 4; - __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$140 >> 2] | 0) | 0; - } - if (($$3104 + $$3108 | 0) >>> 0 > 1) { - $$0 = $2; - $$2100 = $$0111; - $$6 = $$3104; + $__consume$0$off0 = $__consume$2$off0; + $__ky19$0 = $__ky19$0 + 12 | 0; + $__n_does_match$3 = $__n_does_match$5; + $__n_might_match$3 = $__n_might_match$5; + $__st$1 = $__st$1 + 1 | 0; + } + L67 : do if ($__consume$0$off0) { + $38 = HEAP32[$__b >> 2] | 0; + $__ninp_$i$i = $38 + 12 | 0; + $39 = HEAP32[$__ninp_$i$i >> 2] | 0; + if (($39 | 0) == (HEAP32[$38 + 16 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$38 >> 2] | 0) + 40 >> 2] & 127]($38) | 0; else { + HEAP32[$__ninp_$i$i >> 2] = $39 + 1; + __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$39 >> 0] | 0) | 0; + } + if (($__n_does_match$3 + $__n_might_match$3 | 0) >>> 0 > 1) { + $__ky55$0 = $__kb; + $__n_does_match$6 = $__n_does_match$3; + $__st$2 = $__status$0; while (1) { - if (($$0 | 0) == ($3 | 0)) { - $$2103$be = $$6; + if (($__ky55$0 | 0) == ($__ke | 0)) { + $__n_does_match$2$be = $__n_does_match$6; break L67; } - if ((HEAP8[$$2100 >> 0] | 0) == 2) { - $156 = HEAP8[$$0 + 8 + 3 >> 0] | 0; - if ($156 << 24 >> 24 < 0) $162 = HEAP32[$$0 + 4 >> 2] | 0; else $162 = $156 & 255; - if (($162 | 0) != ($109 | 0)) { - HEAP8[$$2100 >> 0] = 0; - $$7 = $$6 + -1 | 0; - } else $$7 = $$6; - } else $$7 = $$6; - $$0 = $$0 + 12 | 0; - $$2100 = $$2100 + 1 | 0; - $$6 = $$7; - } - } else $$2103$be = $$3104; - } else $$2103$be = $$3104; while (0); - $$096 = $109; - $$2103 = $$2103$be; - $$2107 = $$3108; - } - do if ($64) { - $67 = HEAP32[$64 + 12 >> 2] | 0; - if (($67 | 0) == (HEAP32[$64 + 16 >> 2] | 0)) $$0$i$i$i$i116 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$64 >> 2] | 0) + 36 >> 2] & 127]($64) | 0; else $$0$i$i$i$i116 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$67 >> 2] | 0) | 0; - if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj($$0$i$i$i$i116, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { - HEAP32[$0 >> 2] = 0; - $175 = 1; + if ((HEAP8[$__st$2 >> 0] | 0) == 2) { + $44 = HEAP8[$__ky55$0 + 11 >> 0] | 0; + if ($44 << 24 >> 24 < 0) $cond$i = HEAP32[$__ky55$0 + 4 >> 2] | 0; else $cond$i = $44 & 255; + if (($cond$i | 0) != ($add | 0)) { + HEAP8[$__st$2 >> 0] = 0; + $__n_does_match$7 = $__n_does_match$6 + -1 | 0; + } else $__n_does_match$7 = $__n_does_match$6; + } else $__n_does_match$7 = $__n_does_match$6; + $__ky55$0 = $__ky55$0 + 12 | 0; + $__n_does_match$6 = $__n_does_match$7; + $__st$2 = $__st$2 + 1 | 0; + } + } else $__n_does_match$2$be = $__n_does_match$3; + } else $__n_does_match$2$be = $__n_does_match$3; while (0); + $__indx$0 = $add; + $__n_does_match$2 = $__n_does_match$2$be; + $__n_might_match$2 = $__n_might_match$3; + } + do if ($16) { + $17 = HEAP32[$16 + 12 >> 2] | 0; + if (($17 | 0) == (HEAP32[$16 + 16 >> 2] | 0)) $retval$0$i$i$i$i82 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$16 >> 2] | 0) + 36 >> 2] & 127]($16) | 0; else $retval$0$i$i$i$i82 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$17 >> 0] | 0) | 0; + if (__ZNSt3__211char_traitsIcE11eq_int_typeEii($retval$0$i$i$i$i82, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { + HEAP32[$__b >> 2] = 0; + $49 = 1; break; } else { - $175 = (HEAP32[$0 >> 2] | 0) == 0; + $49 = (HEAP32[$__b >> 2] | 0) == 0; break; } - } else $175 = 1; while (0); - do if ($80) { - $82 = HEAP32[$80 + 12 >> 2] | 0; - if (($82 | 0) == (HEAP32[$80 + 16 >> 2] | 0)) $$0$i$i2$i$i122 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$80 >> 2] | 0) + 36 >> 2] & 127]($80) | 0; else $$0$i$i2$i$i122 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$82 >> 2] | 0) | 0; - if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj($$0$i$i2$i$i122, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if ($175) break; else { + } else $49 = 1; while (0); + do if ($21) { + $22 = HEAP32[$21 + 12 >> 2] | 0; + if (($22 | 0) == (HEAP32[$21 + 16 >> 2] | 0)) $retval$0$i$i13$i$i103 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$21 >> 2] | 0) + 36 >> 2] & 127]($21) | 0; else $retval$0$i$i13$i$i103 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$22 >> 0] | 0) | 0; + if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii($retval$0$i$i13$i$i103, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if ($49) break; else { label = 79; break; } else { - HEAP32[$1 >> 2] = 0; + HEAP32[$__e >> 2] = 0; label = 41; break; } } else label = 41; while (0); - if ((label | 0) == 41 ? $175 : 0) label = 79; - if ((label | 0) == 79) HEAP32[$5 >> 2] = HEAP32[$5 >> 2] | 2; - $$0112 = $2; - $$3 = $$0111; + if ((label | 0) == 41 ? $49 : 0) label = 79; + if ((label | 0) == 79) HEAP32[$__err >> 2] = HEAP32[$__err >> 2] | 2; + $__kb$addr$0 = $__kb; + $__st$3 = $__status$0; while (1) { - if (($$0112 | 0) == ($3 | 0)) { + if (($__kb$addr$0 | 0) == ($__ke | 0)) { label = 84; break; } - if ((HEAP8[$$3 >> 0] | 0) == 2) { - $$0112140 = $$0112; + if ((HEAP8[$__st$3 >> 0] | 0) == 2) { + $__kb$addr$0143 = $__kb$addr$0; break; } - $$0112 = $$0112 + 12 | 0; - $$3 = $$3 + 1 | 0; + $__kb$addr$0 = $__kb$addr$0 + 12 | 0; + $__st$3 = $__st$3 + 1 | 0; } if ((label | 0) == 84) { - HEAP32[$5 >> 2] = HEAP32[$5 >> 2] | 4; - $$0112140 = $3; + HEAP32[$__err >> 2] = HEAP32[$__err >> 2] | 4; + $__kb$addr$0143 = $__ke; } - _free($$sroa$0129$0); + _free($__stat_hold$sroa$0$0); STACKTOP = sp; - return $$0112140 | 0; + return $__kb$addr$0143 | 0; } -function __ZNSt3__214__scan_keywordINS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEPKNS_12basic_stringIcS3_NS_9allocatorIcEEEENS_5ctypeIcEEEET0_RT_SE_SD_SD_RKT1_Rjb($0, $1, $2, $3, $4, $5, $6) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - $6 = $6 | 0; - var $$0 = 0, $$0$i$i = 0, $$0$i$i$i$i = 0, $$0$i$i$i$i112 = 0, $$0$i$i2$i$i = 0, $$0$i$i2$i$i118 = 0, $$0101 = 0, $$0107 = 0, $$0108 = 0, $$0108136 = 0, $$088 = 0, $$089 = 0, $$090$off0 = 0, $$091 = 0, $$092 = 0, $$093 = 0, $$094 = 0, $$097 = 0, $$1102 = 0, $$195 = 0, $$198 = 0, $$2$off0 = 0, $$2103 = 0, $$296 = 0, $$299 = 0, $$299$be = 0, $$3 = 0, $$3100 = 0, $$3104 = 0, $$5 = 0, $$5106 = 0, $$6 = 0, $$7 = 0, $$sroa$0125$0 = 0, $104 = 0, $109 = 0, $11 = 0, $113 = 0, $118 = 0, $119 = 0, $125 = 0, $13 = 0, $131 = 0, $137 = 0, $138 = 0, $139 = 0, $154 = 0, $160 = 0, $17 = 0, $173 = 0, $23 = 0, $28 = 0, $31 = 0, $43 = 0, $46 = 0, $59 = 0, $60 = 0, $63 = 0, $66 = 0, $7 = 0, $79 = 0, $81 = 0, $94 = 0, label = 0, sp = 0; +function __ZNSt3__214__scan_keywordINS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEPKNS_12basic_stringIwS3_NS_9allocatorIwEEEENS_5ctypeIwEEEET0_RT_SE_SD_SD_RKT1_Rjb($__b, $__e, $__kb, $__ke, $__ct, $__err, $__case_sensitive) { + $__b = $__b | 0; + $__e = $__e | 0; + $__kb = $__kb | 0; + $__ke = $__ke | 0; + $__ct = $__ct | 0; + $__err = $__err | 0; + $__case_sensitive = $__case_sensitive | 0; + var $1 = 0, $14 = 0, $15 = 0, $17 = 0, $18 = 0, $22 = 0, $23 = 0, $27 = 0, $3 = 0, $36 = 0, $38 = 0, $4 = 0, $40 = 0, $41 = 0, $47 = 0, $52 = 0, $8 = 0, $9 = 0, $__c$0 = 0, $__consume$0$off0 = 0, $__consume$2$off0 = 0, $__indx$0 = 0, $__kb$addr$0 = 0, $__kb$addr$0144 = 0, $__kc$0 = 0, $__ky$0 = 0, $__ky19$0 = 0, $__ky53$0 = 0, $__n_does_match$0 = 0, $__n_does_match$1 = 0, $__n_does_match$2 = 0, $__n_does_match$2$be = 0, $__n_does_match$3 = 0, $__n_does_match$5 = 0, $__n_does_match$6 = 0, $__n_does_match$7 = 0, $__n_might_match$0 = 0, $__n_might_match$1 = 0, $__n_might_match$2 = 0, $__n_might_match$3 = 0, $__n_might_match$5 = 0, $__ninp_$i$i = 0, $__size_$i$i$i$i = 0, $__st$0 = 0, $__st$1 = 0, $__st$2 = 0, $__st$3 = 0, $__stat_hold$sroa$0$0 = 0, $__statbuf = 0, $__status$0 = 0, $add = 0, $call1 = 0, $cond$i = 0, $cond$i$i = 0, $cond$i$i$i = 0, $cond$i133 = 0, $retval$0$i$i = 0, $retval$0$i$i$i$i = 0, $retval$0$i$i$i$i84 = 0, $retval$0$i$i13$i$i = 0, $retval$0$i$i13$i$i105 = 0, $sub$ptr$div$i$i = 0, label = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 112 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(112); - $7 = sp; - $11 = ($3 - $2 | 0) / 12 | 0; - if ($11 >>> 0 > 100) { - $13 = _malloc($11) | 0; - if (!$13) __ZSt17__throw_bad_allocv(); else { - $$0107 = $13; - $$sroa$0125$0 = $13; + $__statbuf = sp; + $sub$ptr$div$i$i = ($__ke - $__kb | 0) / 12 | 0; + if ($sub$ptr$div$i$i >>> 0 > 100) { + $call1 = _malloc($sub$ptr$div$i$i) | 0; + if (!$call1) __ZSt17__throw_bad_allocv(); else { + $__stat_hold$sroa$0$0 = $call1; + $__status$0 = $call1; } } else { - $$0107 = $7; - $$sroa$0125$0 = 0; + $__stat_hold$sroa$0$0 = 0; + $__status$0 = $__statbuf; } - $$0101 = $11; - $$093 = $2; - $$094 = $$0107; - $$097 = 0; + $__ky$0 = $__kb; + $__n_does_match$0 = 0; + $__n_might_match$0 = $sub$ptr$div$i$i; + $__st$0 = $__status$0; while (1) { - if (($$093 | 0) == ($3 | 0)) break; - $17 = HEAP8[$$093 + 11 >> 0] | 0; - if ($17 << 24 >> 24 < 0) $23 = HEAP32[$$093 + 4 >> 2] | 0; else $23 = $17 & 255; - if (!$23) { - HEAP8[$$094 >> 0] = 2; - $$1102 = $$0101 + -1 | 0; - $$198 = $$097 + 1 | 0; + if (($__ky$0 | 0) == ($__ke | 0)) break; + $1 = HEAP8[$__ky$0 + 8 + 3 >> 0] | 0; + if ($1 << 24 >> 24 < 0) $cond$i$i = HEAP32[$__ky$0 + 4 >> 2] | 0; else $cond$i$i = $1 & 255; + if (!$cond$i$i) { + HEAP8[$__st$0 >> 0] = 2; + $__n_does_match$1 = $__n_does_match$0 + 1 | 0; + $__n_might_match$1 = $__n_might_match$0 + -1 | 0; } else { - HEAP8[$$094 >> 0] = 1; - $$1102 = $$0101; - $$198 = $$097; - } - $$0101 = $$1102; - $$093 = $$093 + 12 | 0; - $$094 = $$094 + 1 | 0; - $$097 = $$198; - } - $$092 = 0; - $$2103 = $$0101; - $$299 = $$097; + HEAP8[$__st$0 >> 0] = 1; + $__n_does_match$1 = $__n_does_match$0; + $__n_might_match$1 = $__n_might_match$0; + } + $__ky$0 = $__ky$0 + 12 | 0; + $__n_does_match$0 = $__n_does_match$1; + $__n_might_match$0 = $__n_might_match$1; + $__st$0 = $__st$0 + 1 | 0; + } + $__indx$0 = 0; + $__n_does_match$2 = $__n_does_match$0; + $__n_might_match$2 = $__n_might_match$0; while (1) { - $28 = HEAP32[$0 >> 2] | 0; - do if ($28) { - $31 = HEAP32[$28 + 12 >> 2] | 0; - if (($31 | 0) == (HEAP32[$28 + 16 >> 2] | 0)) $$0$i$i$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$28 >> 2] | 0) + 36 >> 2] & 127]($28) | 0; else $$0$i$i$i$i = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$31 >> 0] | 0) | 0; - if (__ZNSt3__211char_traitsIcE11eq_int_typeEii($$0$i$i$i$i, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { - HEAP32[$0 >> 2] = 0; - $59 = 1; + $3 = HEAP32[$__b >> 2] | 0; + do if ($3) { + $4 = HEAP32[$3 + 12 >> 2] | 0; + if (($4 | 0) == (HEAP32[$3 + 16 >> 2] | 0)) $retval$0$i$i$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$3 >> 2] | 0) + 36 >> 2] & 127]($3) | 0; else $retval$0$i$i$i$i = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$4 >> 2] | 0) | 0; + if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj($retval$0$i$i$i$i, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { + HEAP32[$__b >> 2] = 0; + $15 = 1; break; } else { - $59 = (HEAP32[$0 >> 2] | 0) == 0; + $15 = (HEAP32[$__b >> 2] | 0) == 0; break; } - } else $59 = 1; while (0); - $43 = HEAP32[$1 >> 2] | 0; - if ($43) { - $46 = HEAP32[$43 + 12 >> 2] | 0; - if (($46 | 0) == (HEAP32[$43 + 16 >> 2] | 0)) $$0$i$i2$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$43 >> 2] | 0) + 36 >> 2] & 127]($43) | 0; else $$0$i$i2$i$i = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$46 >> 0] | 0) | 0; - if (__ZNSt3__211char_traitsIcE11eq_int_typeEii($$0$i$i2$i$i, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { - HEAP32[$1 >> 2] = 0; - $60 = 1; - $79 = 0; + } else $15 = 1; while (0); + $8 = HEAP32[$__e >> 2] | 0; + if ($8) { + $9 = HEAP32[$8 + 12 >> 2] | 0; + if (($9 | 0) == (HEAP32[$8 + 16 >> 2] | 0)) $retval$0$i$i13$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$8 >> 2] | 0) + 36 >> 2] & 127]($8) | 0; else $retval$0$i$i13$i$i = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$9 >> 2] | 0) | 0; + if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj($retval$0$i$i13$i$i, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { + HEAP32[$__e >> 2] = 0; + $14 = 1; + $22 = 0; } else { - $60 = 0; - $79 = $43; + $14 = 0; + $22 = $8; } } else { - $60 = 1; - $79 = 0; - } - $63 = HEAP32[$0 >> 2] | 0; - if (!(($$2103 | 0) != 0 & ($59 ^ $60))) break; - $94 = HEAP32[$63 + 12 >> 2] | 0; - if (($94 | 0) == (HEAP32[$63 + 16 >> 2] | 0)) $$0$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$63 >> 2] | 0) + 36 >> 2] & 127]($63) | 0; else $$0$i$i = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$94 >> 0] | 0) | 0; - $104 = $$0$i$i & 255; - if ($6) $$091 = $104; else $$091 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$4 >> 2] | 0) + 12 >> 2] & 127]($4, $104) | 0; - $109 = $$092 + 1 | 0; - $$089 = $2; - $$090$off0 = 0; - $$195 = $$0107; - $$3100 = $$299; - $$3104 = $$2103; + $14 = 1; + $22 = 0; + } + $17 = HEAP32[$__b >> 2] | 0; + if (!(($__n_might_match$2 | 0) != 0 & ($15 ^ $14))) break; + $27 = HEAP32[$17 + 12 >> 2] | 0; + if (($27 | 0) == (HEAP32[$17 + 16 >> 2] | 0)) $retval$0$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$17 >> 2] | 0) + 36 >> 2] & 127]($17) | 0; else $retval$0$i$i = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$27 >> 2] | 0) | 0; + if ($__case_sensitive) $__c$0 = $retval$0$i$i; else $__c$0 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$__ct >> 2] | 0) + 28 >> 2] & 127]($__ct, $retval$0$i$i) | 0; + $add = $__indx$0 + 1 | 0; + $__consume$0$off0 = 0; + $__ky19$0 = $__kb; + $__n_does_match$3 = $__n_does_match$2; + $__n_might_match$3 = $__n_might_match$2; + $__st$1 = $__status$0; while (1) { - if (($$089 | 0) == ($3 | 0)) break; - do if ((HEAP8[$$195 >> 0] | 0) == 1) { - $113 = $$089 + 11 | 0; - if ((HEAP8[$113 >> 0] | 0) < 0) $118 = HEAP32[$$089 >> 2] | 0; else $118 = $$089; - $119 = HEAP8[$118 + $$092 >> 0] | 0; - if ($6) $$088 = $119; else $$088 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$4 >> 2] | 0) + 12 >> 2] & 127]($4, $119) | 0; - if ($$091 << 24 >> 24 != $$088 << 24 >> 24) { - HEAP8[$$195 >> 0] = 0; - $$2$off0 = $$090$off0; - $$5 = $$3100; - $$5106 = $$3104 + -1 | 0; + if (($__ky19$0 | 0) == ($__ke | 0)) break; + do if ((HEAP8[$__st$1 >> 0] | 0) == 1) { + $__size_$i$i$i$i = $__ky19$0 + 8 + 3 | 0; + if ((HEAP8[$__size_$i$i$i$i >> 0] | 0) < 0) $cond$i$i$i = HEAP32[$__ky19$0 >> 2] | 0; else $cond$i$i$i = $__ky19$0; + $36 = HEAP32[$cond$i$i$i + ($__indx$0 << 2) >> 2] | 0; + if ($__case_sensitive) $__kc$0 = $36; else $__kc$0 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$__ct >> 2] | 0) + 28 >> 2] & 127]($__ct, $36) | 0; + if (($__c$0 | 0) != ($__kc$0 | 0)) { + HEAP8[$__st$1 >> 0] = 0; + $__consume$2$off0 = $__consume$0$off0; + $__n_does_match$5 = $__n_does_match$3; + $__n_might_match$5 = $__n_might_match$3 + -1 | 0; break; } - $125 = HEAP8[$113 >> 0] | 0; - if ($125 << 24 >> 24 < 0) $131 = HEAP32[$$089 + 4 >> 2] | 0; else $131 = $125 & 255; - if (($131 | 0) == ($109 | 0)) { - HEAP8[$$195 >> 0] = 2; - $$2$off0 = 1; - $$5 = $$3100 + 1 | 0; - $$5106 = $$3104 + -1 | 0; + $38 = HEAP8[$__size_$i$i$i$i >> 0] | 0; + if ($38 << 24 >> 24 < 0) $cond$i133 = HEAP32[$__ky19$0 + 4 >> 2] | 0; else $cond$i133 = $38 & 255; + if (($cond$i133 | 0) == ($add | 0)) { + HEAP8[$__st$1 >> 0] = 2; + $__consume$2$off0 = 1; + $__n_does_match$5 = $__n_does_match$3 + 1 | 0; + $__n_might_match$5 = $__n_might_match$3 + -1 | 0; } else { - $$2$off0 = 1; - $$5 = $$3100; - $$5106 = $$3104; + $__consume$2$off0 = 1; + $__n_does_match$5 = $__n_does_match$3; + $__n_might_match$5 = $__n_might_match$3; } } else { - $$2$off0 = $$090$off0; - $$5 = $$3100; - $$5106 = $$3104; + $__consume$2$off0 = $__consume$0$off0; + $__n_does_match$5 = $__n_does_match$3; + $__n_might_match$5 = $__n_might_match$3; } while (0); - $$089 = $$089 + 12 | 0; - $$090$off0 = $$2$off0; - $$195 = $$195 + 1 | 0; - $$3100 = $$5; - $$3104 = $$5106; - } - L67 : do if ($$090$off0) { - $137 = HEAP32[$0 >> 2] | 0; - $138 = $137 + 12 | 0; - $139 = HEAP32[$138 >> 2] | 0; - if (($139 | 0) == (HEAP32[$137 + 16 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$137 >> 2] | 0) + 40 >> 2] & 127]($137) | 0; else { - HEAP32[$138 >> 2] = $139 + 1; - __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$139 >> 0] | 0) | 0; - } - if (($$3100 + $$3104 | 0) >>> 0 > 1) { - $$0 = $2; - $$296 = $$0107; - $$6 = $$3100; + $__consume$0$off0 = $__consume$2$off0; + $__ky19$0 = $__ky19$0 + 12 | 0; + $__n_does_match$3 = $__n_does_match$5; + $__n_might_match$3 = $__n_might_match$5; + $__st$1 = $__st$1 + 1 | 0; + } + L67 : do if ($__consume$0$off0) { + $40 = HEAP32[$__b >> 2] | 0; + $__ninp_$i$i = $40 + 12 | 0; + $41 = HEAP32[$__ninp_$i$i >> 2] | 0; + if (($41 | 0) == (HEAP32[$40 + 16 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$40 >> 2] | 0) + 40 >> 2] & 127]($40) | 0; else { + HEAP32[$__ninp_$i$i >> 2] = $41 + 4; + __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$41 >> 2] | 0) | 0; + } + if (($__n_does_match$3 + $__n_might_match$3 | 0) >>> 0 > 1) { + $__ky53$0 = $__kb; + $__n_does_match$6 = $__n_does_match$3; + $__st$2 = $__status$0; while (1) { - if (($$0 | 0) == ($3 | 0)) { - $$299$be = $$6; + if (($__ky53$0 | 0) == ($__ke | 0)) { + $__n_does_match$2$be = $__n_does_match$6; break L67; } - if ((HEAP8[$$296 >> 0] | 0) == 2) { - $154 = HEAP8[$$0 + 11 >> 0] | 0; - if ($154 << 24 >> 24 < 0) $160 = HEAP32[$$0 + 4 >> 2] | 0; else $160 = $154 & 255; - if (($160 | 0) != ($109 | 0)) { - HEAP8[$$296 >> 0] = 0; - $$7 = $$6 + -1 | 0; - } else $$7 = $$6; - } else $$7 = $$6; - $$0 = $$0 + 12 | 0; - $$296 = $$296 + 1 | 0; - $$6 = $$7; - } - } else $$299$be = $$3100; - } else $$299$be = $$3100; while (0); - $$092 = $109; - $$2103 = $$3104; - $$299 = $$299$be; - } - do if ($63) { - $66 = HEAP32[$63 + 12 >> 2] | 0; - if (($66 | 0) == (HEAP32[$63 + 16 >> 2] | 0)) $$0$i$i$i$i112 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$63 >> 2] | 0) + 36 >> 2] & 127]($63) | 0; else $$0$i$i$i$i112 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$66 >> 0] | 0) | 0; - if (__ZNSt3__211char_traitsIcE11eq_int_typeEii($$0$i$i$i$i112, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { - HEAP32[$0 >> 2] = 0; - $173 = 1; + if ((HEAP8[$__st$2 >> 0] | 0) == 2) { + $47 = HEAP8[$__ky53$0 + 8 + 3 >> 0] | 0; + if ($47 << 24 >> 24 < 0) $cond$i = HEAP32[$__ky53$0 + 4 >> 2] | 0; else $cond$i = $47 & 255; + if (($cond$i | 0) != ($add | 0)) { + HEAP8[$__st$2 >> 0] = 0; + $__n_does_match$7 = $__n_does_match$6 + -1 | 0; + } else $__n_does_match$7 = $__n_does_match$6; + } else $__n_does_match$7 = $__n_does_match$6; + $__ky53$0 = $__ky53$0 + 12 | 0; + $__n_does_match$6 = $__n_does_match$7; + $__st$2 = $__st$2 + 1 | 0; + } + } else $__n_does_match$2$be = $__n_does_match$3; + } else $__n_does_match$2$be = $__n_does_match$3; while (0); + $__indx$0 = $add; + $__n_does_match$2 = $__n_does_match$2$be; + $__n_might_match$2 = $__n_might_match$3; + } + do if ($17) { + $18 = HEAP32[$17 + 12 >> 2] | 0; + if (($18 | 0) == (HEAP32[$17 + 16 >> 2] | 0)) $retval$0$i$i$i$i84 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$17 >> 2] | 0) + 36 >> 2] & 127]($17) | 0; else $retval$0$i$i$i$i84 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$18 >> 2] | 0) | 0; + if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj($retval$0$i$i$i$i84, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { + HEAP32[$__b >> 2] = 0; + $52 = 1; break; } else { - $173 = (HEAP32[$0 >> 2] | 0) == 0; + $52 = (HEAP32[$__b >> 2] | 0) == 0; break; } - } else $173 = 1; while (0); - do if ($79) { - $81 = HEAP32[$79 + 12 >> 2] | 0; - if (($81 | 0) == (HEAP32[$79 + 16 >> 2] | 0)) $$0$i$i2$i$i118 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$79 >> 2] | 0) + 36 >> 2] & 127]($79) | 0; else $$0$i$i2$i$i118 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$81 >> 0] | 0) | 0; - if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii($$0$i$i2$i$i118, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if ($173) break; else { + } else $52 = 1; while (0); + do if ($22) { + $23 = HEAP32[$22 + 12 >> 2] | 0; + if (($23 | 0) == (HEAP32[$22 + 16 >> 2] | 0)) $retval$0$i$i13$i$i105 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$22 >> 2] | 0) + 36 >> 2] & 127]($22) | 0; else $retval$0$i$i13$i$i105 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$23 >> 2] | 0) | 0; + if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj($retval$0$i$i13$i$i105, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if ($52) break; else { label = 79; break; } else { - HEAP32[$1 >> 2] = 0; + HEAP32[$__e >> 2] = 0; label = 41; break; } } else label = 41; while (0); - if ((label | 0) == 41 ? $173 : 0) label = 79; - if ((label | 0) == 79) HEAP32[$5 >> 2] = HEAP32[$5 >> 2] | 2; - $$0108 = $2; - $$3 = $$0107; + if ((label | 0) == 41 ? $52 : 0) label = 79; + if ((label | 0) == 79) HEAP32[$__err >> 2] = HEAP32[$__err >> 2] | 2; + $__kb$addr$0 = $__kb; + $__st$3 = $__status$0; while (1) { - if (($$0108 | 0) == ($3 | 0)) { + if (($__kb$addr$0 | 0) == ($__ke | 0)) { label = 84; break; } - if ((HEAP8[$$3 >> 0] | 0) == 2) { - $$0108136 = $$0108; + if ((HEAP8[$__st$3 >> 0] | 0) == 2) { + $__kb$addr$0144 = $__kb$addr$0; break; } - $$0108 = $$0108 + 12 | 0; - $$3 = $$3 + 1 | 0; + $__kb$addr$0 = $__kb$addr$0 + 12 | 0; + $__st$3 = $__st$3 + 1 | 0; } if ((label | 0) == 84) { - HEAP32[$5 >> 2] = HEAP32[$5 >> 2] | 4; - $$0108136 = $3; + HEAP32[$__err >> 2] = HEAP32[$__err >> 2] | 4; + $__kb$addr$0144 = $__ke; } - _free($$sroa$0125$0); + _free($__stat_hold$sroa$0$0); STACKTOP = sp; - return $$0108136 | 0; + return $__kb$addr$0144 | 0; } -function _jpeg_idct_15x15($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $$0352372 = 0, $$0354371 = 0, $$0355370 = 0, $$0373 = 0, $$1353368 = 0, $$1369 = 0, $$neg356 = 0, $$neg362 = 0, $101 = 0, $104 = 0, $107 = 0, $109 = 0, $111 = 0, $115 = 0, $119 = 0, $15 = 0, $167 = 0, $170 = 0, $173 = 0, $175 = 0, $177 = 0, $179 = 0, $182 = 0, $183 = 0, $185 = 0, $186 = 0, $187 = 0, $188 = 0, $189 = 0, $190 = 0, $192 = 0, $195 = 0, $196 = 0, $198 = 0, $201 = 0, $202 = 0, $203 = 0, $205 = 0, $207 = 0, $209 = 0, $21 = 0, $210 = 0, $212 = 0, $214 = 0, $217 = 0, $219 = 0, $220 = 0, $222 = 0, $224 = 0, $226 = 0, $227 = 0, $228 = 0, $229 = 0, $231 = 0, $234 = 0, $237 = 0, $239 = 0, $241 = 0, $245 = 0, $249 = 0, $27 = 0, $33 = 0, $36 = 0, $37 = 0, $39 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $46 = 0, $49 = 0, $5 = 0, $50 = 0, $52 = 0, $55 = 0, $56 = 0, $57 = 0, $59 = 0, $61 = 0, $63 = 0, $64 = 0, $7 = 0, $70 = 0, $76 = 0, $83 = 0, $89 = 0, $90 = 0, $92 = 0, $94 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, sp = 0; +function _jpeg_idct_16x8($cinfo, $compptr, $coef_block, $output_buf, $output_col) { + $cinfo = $cinfo | 0; + $compptr = $compptr | 0; + $coef_block = $coef_block | 0; + $output_buf = $output_buf | 0; + $output_col = $output_col | 0; + var $$sink = 0, $0 = 0, $17 = 0, $2 = 0, $3 = 0, $31 = 0, $32 = 0, $33 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $add = 0, $add$ptr = 0, $add$ptr146 = 0, $add103 = 0, $add105 = 0, $add111 = 0, $add113 = 0, $add153 = 0, $add155 = 0, $add163 = 0, $add165 = 0, $add170 = 0, $add172 = 0, $add174 = 0, $add176 = 0, $add182 = 0, $add217 = 0, $add219 = 0, $add227 = 0, $add230 = 0, $add231 = 0, $add234 = 0, $add235 = 0, $add55 = 0, $add67 = 0, $add70 = 0, $add72 = 0, $add90 = 0, $add91 = 0, $add96 = 0, $add97 = 0, $ctr$0309 = 0, $ctr$1305 = 0, $inptr$0306 = 0, $mul107 = 0, $mul151 = 0, $mul152 = 0, $mul160 = 0, $mul161 = 0, $mul184 = 0, $mul185 = 0, $mul187 = 0, $mul189 = 0, $mul190 = 0, $mul192 = 0, $mul202 = 0, $mul210 = 0, $mul218 = 0, $mul223 = 0, $mul229 = 0, $mul233 = 0, $mul59 = 0, $mul63 = 0, $mul65 = 0, $mul77 = 0, $mul81 = 0, $mul85 = 0, $mul89 = 0, $mul93 = 0, $mul99 = 0, $quantptr$0307 = 0, $shl = 0, $shl149 = 0, $shl54 = 0, $shr135$sink = 0, $sub = 0, $sub154 = 0, $sub156 = 0, $sub159 = 0, $sub167 = 0, $sub169 = 0, $sub171 = 0, $sub173 = 0, $sub175 = 0, $sub177 = 0, $sub196 = 0, $sub200 = 0, $sub69 = 0, $sub71 = 0, $sub73 = 0, $workspace = 0, $wsptr$0308 = 0, $wsptr$2304 = 0, label = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 480 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(480); - $5 = sp; - $7 = HEAP32[$0 + 336 >> 2] | 0; - $$0352372 = $5; - $$0354371 = HEAP32[$1 + 84 >> 2] | 0; - $$0355370 = $2; - $$0373 = 0; + STACKTOP = STACKTOP + 256 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(256); + $workspace = sp; + $0 = HEAP32[$cinfo + 336 >> 2] | 0; + $ctr$0309 = 8; + $inptr$0306 = $coef_block; + $quantptr$0307 = HEAP32[$compptr + 84 >> 2] | 0; + $wsptr$0308 = $workspace; while (1) { - $15 = Math_imul(HEAP16[$$0355370 >> 1] << 13, HEAP32[$$0354371 >> 2] | 0) | 0 | 1024; - $21 = Math_imul(HEAP32[$$0354371 + 64 >> 2] | 0, HEAP16[$$0355370 + 32 >> 1] | 0) | 0; - $27 = Math_imul(HEAP32[$$0354371 + 128 >> 2] | 0, HEAP16[$$0355370 + 64 >> 1] | 0) | 0; - $33 = Math_imul(HEAP32[$$0354371 + 192 >> 2] | 0, HEAP16[$$0355370 + 96 >> 1] | 0) | 0; - $36 = (Math_imul($33, -3580) | 0) + $15 | 0; - $37 = ($33 * 9373 | 0) + $15 | 0; - $39 = (Math_imul($33, -11586) | 0) + $15 | 0; - $40 = $21 - $27 | 0; - $41 = $27 + $21 | 0; - $42 = $41 * 10958 | 0; - $43 = $40 * 374 | 0; - $44 = $21 * 11795 | 0; - $46 = $43 + $42 + $37 | 0; - $49 = $44 - $42 + $43 + $36 | 0; - $50 = $41 * 4482 | 0; - $$neg362 = Math_imul($40, -3271) | 0; - $52 = $37 - $50 + $$neg362 | 0; - $55 = $50 - $44 + $$neg362 + $36 | 0; - $56 = $41 * 6476 | 0; - $57 = $40 * 2896 | 0; - $59 = $57 + $56 + $36 | 0; - $61 = $37 - $56 + $57 | 0; - $63 = $39 + ($40 * 5792 | 0) | 0; - $64 = (Math_imul($40, -11584) | 0) + $39 | 0; - $70 = Math_imul(HEAP32[$$0354371 + 32 >> 2] | 0, HEAP16[$$0355370 + 16 >> 1] | 0) | 0; - $76 = Math_imul(HEAP32[$$0354371 + 96 >> 2] | 0, HEAP16[$$0355370 + 48 >> 1] | 0) | 0; - $83 = Math_imul((HEAP16[$$0355370 + 80 >> 1] | 0) * 10033 | 0, HEAP32[$$0354371 + 160 >> 2] | 0) | 0; - $89 = Math_imul(HEAP32[$$0354371 + 224 >> 2] | 0, HEAP16[$$0355370 + 112 >> 1] | 0) | 0; - $90 = $76 - $89 | 0; - $92 = ($90 + $70 | 0) * 6810 | 0; - $94 = $92 + ($70 * 4209 | 0) | 0; - $96 = $92 + (Math_imul($90, -17828) | 0) | 0; - $97 = Math_imul($76, -6810) | 0; - $98 = Math_imul($76, -11018) | 0; - $99 = $70 - $89 | 0; - $101 = ($99 * 11522 | 0) + $83 | 0; - $104 = ($89 * 20131 | 0) - $98 + $101 | 0; - $107 = $97 + (Math_imul($70, -9113) | 0) + $101 | 0; - $109 = ($99 * 10033 | 0) - $83 | 0; - $111 = ($89 + $70 | 0) * 4712 | 0; - $115 = $97 + ($70 * 3897 | 0) - $83 + $111 | 0; - $119 = $83 + $98 + (Math_imul($89, -7121) | 0) + $111 | 0; - HEAP32[$$0352372 >> 2] = $104 + $46 >> 11; - HEAP32[$$0352372 + 448 >> 2] = $46 - $104 >> 11; - HEAP32[$$0352372 + 32 >> 2] = $94 + $59 >> 11; - HEAP32[$$0352372 + 416 >> 2] = $59 - $94 >> 11; - HEAP32[$$0352372 + 64 >> 2] = $109 + $63 >> 11; - HEAP32[$$0352372 + 384 >> 2] = $63 - $109 >> 11; - HEAP32[$$0352372 + 96 >> 2] = $115 + $49 >> 11; - HEAP32[$$0352372 + 352 >> 2] = $49 - $115 >> 11; - HEAP32[$$0352372 + 128 >> 2] = $96 + $61 >> 11; - HEAP32[$$0352372 + 320 >> 2] = $61 - $96 >> 11; - HEAP32[$$0352372 + 160 >> 2] = $119 + $52 >> 11; - HEAP32[$$0352372 + 288 >> 2] = $52 - $119 >> 11; - HEAP32[$$0352372 + 192 >> 2] = $107 + $55 >> 11; - HEAP32[$$0352372 + 256 >> 2] = $55 - $107 >> 11; - HEAP32[$$0352372 + 224 >> 2] = $64 >> 11; - $$0373 = $$0373 + 1 | 0; - if (($$0373 | 0) == 8) break; else { - $$0352372 = $$0352372 + 4 | 0; - $$0354371 = $$0354371 + 4 | 0; - $$0355370 = $$0355370 + 2 | 0; - } - } - $167 = $7 + -384 | 0; - $$1353368 = $5; - $$1369 = 0; + $2 = HEAP16[$inptr$0306 + 16 >> 1] | 0; + $3 = HEAP16[$inptr$0306 + 32 >> 1] | 0; + if (!(($2 | $3) << 16 >> 16)) if (((((HEAP16[$inptr$0306 + 48 >> 1] | 0) == 0 ? (HEAP16[$inptr$0306 + 64 >> 1] | 0) == 0 : 0) ? (HEAP16[$inptr$0306 + 80 >> 1] | 0) == 0 : 0) ? (HEAP16[$inptr$0306 + 96 >> 1] | 0) == 0 : 0) ? (HEAP16[$inptr$0306 + 112 >> 1] | 0) == 0 : 0) { + $shl = Math_imul(HEAP16[$inptr$0306 >> 1] << 2, HEAP32[$quantptr$0307 >> 2] | 0) | 0; + HEAP32[$wsptr$0308 >> 2] = $shl; + HEAP32[$wsptr$0308 + 32 >> 2] = $shl; + HEAP32[$wsptr$0308 + 64 >> 2] = $shl; + HEAP32[$wsptr$0308 + 96 >> 2] = $shl; + HEAP32[$wsptr$0308 + 128 >> 2] = $shl; + HEAP32[$wsptr$0308 + 160 >> 2] = $shl; + HEAP32[$wsptr$0308 + 192 >> 2] = $shl; + $$sink = 56; + $shr135$sink = $shl; + } else { + $17 = 0; + label = 9; + } else { + $17 = $3; + label = 9; + } + if ((label | 0) == 9) { + label = 0; + $shl54 = Math_imul(HEAP16[$inptr$0306 + 64 >> 1] << 13, HEAP32[$quantptr$0307 + 128 >> 2] | 0) | 0; + $add = Math_imul(HEAP16[$inptr$0306 >> 1] << 13, HEAP32[$quantptr$0307 >> 2] | 0) | 0 | 1024; + $add55 = $shl54 + $add | 0; + $sub = $add - $shl54 | 0; + $mul59 = Math_imul(HEAP32[$quantptr$0307 + 64 >> 2] | 0, $17 << 16 >> 16) | 0; + $mul63 = Math_imul(HEAP32[$quantptr$0307 + 192 >> 2] | 0, HEAP16[$inptr$0306 + 96 >> 1] | 0) | 0; + $mul65 = ($mul63 + $mul59 | 0) * 4433 | 0; + $add67 = $mul65 + ($mul59 * 6270 | 0) | 0; + $sub69 = $mul65 + (Math_imul($mul63, -15137) | 0) | 0; + $add70 = $add67 + $add55 | 0; + $sub71 = $add55 - $add67 | 0; + $add72 = $sub69 + $sub | 0; + $sub73 = $sub - $sub69 | 0; + $mul77 = Math_imul(HEAP32[$quantptr$0307 + 224 >> 2] | 0, HEAP16[$inptr$0306 + 112 >> 1] | 0) | 0; + $mul81 = Math_imul(HEAP32[$quantptr$0307 + 160 >> 2] | 0, HEAP16[$inptr$0306 + 80 >> 1] | 0) | 0; + $mul85 = Math_imul(HEAP32[$quantptr$0307 + 96 >> 2] | 0, HEAP16[$inptr$0306 + 48 >> 1] | 0) | 0; + $mul89 = Math_imul(HEAP32[$quantptr$0307 + 32 >> 2] | 0, $2 << 16 >> 16) | 0; + $add90 = $mul85 + $mul77 | 0; + $add91 = $mul89 + $mul81 | 0; + $mul93 = ($add91 + $add90 | 0) * 9633 | 0; + $add96 = $mul93 + (Math_imul($add90, -16069) | 0) | 0; + $add97 = $mul93 + (Math_imul($add91, -3196) | 0) | 0; + $mul99 = Math_imul($mul89 + $mul77 | 0, -7373) | 0; + $add103 = $mul99 + ($mul77 * 2446 | 0) + $add96 | 0; + $add105 = $mul99 + ($mul89 * 12299 | 0) + $add97 | 0; + $mul107 = Math_imul($mul85 + $mul81 | 0, -20995) | 0; + $add111 = $mul107 + ($mul81 * 16819 | 0) + $add97 | 0; + $add113 = $mul107 + ($mul85 * 25172 | 0) + $add96 | 0; + HEAP32[$wsptr$0308 >> 2] = $add105 + $add70 >> 11; + HEAP32[$wsptr$0308 + 224 >> 2] = $add70 - $add105 >> 11; + HEAP32[$wsptr$0308 + 32 >> 2] = $add113 + $add72 >> 11; + HEAP32[$wsptr$0308 + 192 >> 2] = $add72 - $add113 >> 11; + HEAP32[$wsptr$0308 + 64 >> 2] = $add111 + $sub73 >> 11; + HEAP32[$wsptr$0308 + 160 >> 2] = $sub73 - $add111 >> 11; + HEAP32[$wsptr$0308 + 96 >> 2] = $add103 + $sub71 >> 11; + $$sink = 32; + $shr135$sink = $sub71 - $add103 >> 11; + } + HEAP32[$wsptr$0308 + ($$sink << 2) >> 2] = $shr135$sink; + if ($ctr$0309 >>> 0 > 1) { + $ctr$0309 = $ctr$0309 + -1 | 0; + $inptr$0306 = $inptr$0306 + 2 | 0; + $quantptr$0307 = $quantptr$0307 + 4 | 0; + $wsptr$0308 = $wsptr$0308 + 4 | 0; + } else break; + } + $add$ptr = $0 + -384 | 0; + $ctr$1305 = 0; + $wsptr$2304 = $workspace; while (1) { - $170 = (HEAP32[$3 + ($$1369 << 2) >> 2] | 0) + $4 | 0; - $173 = (HEAP32[$$1353368 >> 2] << 13) + 134348800 | 0; - $175 = HEAP32[$$1353368 + 8 >> 2] | 0; - $177 = HEAP32[$$1353368 + 16 >> 2] | 0; - $179 = HEAP32[$$1353368 + 24 >> 2] | 0; - $182 = (Math_imul($179, -3580) | 0) + $173 | 0; - $183 = ($179 * 9373 | 0) + $173 | 0; - $185 = (Math_imul($179, -11586) | 0) + $173 | 0; - $186 = $175 - $177 | 0; - $187 = $177 + $175 | 0; - $188 = $187 * 10958 | 0; - $189 = $186 * 374 | 0; - $190 = $175 * 11795 | 0; - $192 = $189 + $188 + $183 | 0; - $195 = $190 - $188 + $189 + $182 | 0; - $196 = $187 * 4482 | 0; - $$neg356 = Math_imul($186, -3271) | 0; - $198 = $183 - $196 + $$neg356 | 0; - $201 = $196 - $190 + $$neg356 + $182 | 0; - $202 = $187 * 6476 | 0; - $203 = $186 * 2896 | 0; - $205 = $203 + $202 + $182 | 0; - $207 = $183 - $202 + $203 | 0; - $209 = $185 + ($186 * 5792 | 0) | 0; - $210 = (Math_imul($186, -11584) | 0) + $185 | 0; - $212 = HEAP32[$$1353368 + 4 >> 2] | 0; - $214 = HEAP32[$$1353368 + 12 >> 2] | 0; - $217 = (HEAP32[$$1353368 + 20 >> 2] | 0) * 10033 | 0; - $219 = HEAP32[$$1353368 + 28 >> 2] | 0; - $220 = $214 - $219 | 0; - $222 = ($220 + $212 | 0) * 6810 | 0; - $224 = $222 + ($212 * 4209 | 0) | 0; - $226 = $222 + (Math_imul($220, -17828) | 0) | 0; - $227 = Math_imul($214, -6810) | 0; - $228 = Math_imul($214, -11018) | 0; - $229 = $212 - $219 | 0; - $231 = ($229 * 11522 | 0) + $217 | 0; - $234 = ($219 * 20131 | 0) - $228 + $231 | 0; - $237 = $227 + (Math_imul($212, -9113) | 0) + $231 | 0; - $239 = ($229 * 10033 | 0) - $217 | 0; - $241 = ($219 + $212 | 0) * 4712 | 0; - $245 = $227 + ($212 * 3897 | 0) - $217 + $241 | 0; - $249 = $217 + $228 + (Math_imul($219, -7121) | 0) + $241 | 0; - HEAP8[$170 >> 0] = HEAP8[$167 + (($234 + $192 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$170 + 14 >> 0] = HEAP8[$167 + (($192 - $234 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$170 + 1 >> 0] = HEAP8[$167 + (($224 + $205 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$170 + 13 >> 0] = HEAP8[$167 + (($205 - $224 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$170 + 2 >> 0] = HEAP8[$167 + (($239 + $209 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$170 + 12 >> 0] = HEAP8[$167 + (($209 - $239 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$170 + 3 >> 0] = HEAP8[$167 + (($245 + $195 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$170 + 11 >> 0] = HEAP8[$167 + (($195 - $245 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$170 + 4 >> 0] = HEAP8[$167 + (($226 + $207 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$170 + 10 >> 0] = HEAP8[$167 + (($207 - $226 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$170 + 5 >> 0] = HEAP8[$167 + (($249 + $198 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$170 + 9 >> 0] = HEAP8[$167 + (($198 - $249 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$170 + 6 >> 0] = HEAP8[$167 + (($237 + $201 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$170 + 8 >> 0] = HEAP8[$167 + (($201 - $237 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$170 + 7 >> 0] = HEAP8[$167 + ($210 >>> 18 & 1023) >> 0] | 0; - $$1369 = $$1369 + 1 | 0; - if (($$1369 | 0) == 15) break; else $$1353368 = $$1353368 + 32 | 0; - } - STACKTOP = sp; - return; -} - -function _icpGetInitXw2Xc_from_PlanarData($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $$0 = 0, $$0204 = 0, $$1 = 0, $101 = 0, $102 = 0, $108 = 0, $110 = 0, $112 = 0, $116 = 0, $118 = 0, $120 = 0.0, $121 = 0, $125 = 0.0, $128 = 0.0, $129 = 0.0, $130 = 0, $133 = 0.0, $137 = 0.0, $140 = 0.0, $141 = 0.0, $143 = 0.0, $144 = 0, $149 = 0.0, $150 = 0, $157 = 0.0, $158 = 0, $162 = 0.0, $164 = 0.0, $17 = 0, $170 = 0.0, $176 = 0.0, $184 = 0.0, $192 = 0.0, $193 = 0.0, $195 = 0.0, $196 = 0.0, $198 = 0.0, $200 = 0.0, $202 = 0.0, $204 = 0.0, $208 = 0.0, $215 = 0.0, $216 = 0.0, $217 = 0.0, $218 = 0.0, $38 = 0, $39 = 0, $41 = 0, $43 = 0, $45 = 0, $46 = 0, $48 = 0, $5 = 0, $61 = 0, $88 = 0, $vararg_buffer = 0, $vararg_buffer1 = 0, $vararg_buffer11 = 0, $vararg_buffer3 = 0, $vararg_buffer5 = 0, $vararg_buffer7 = 0, $vararg_buffer9 = 0, sp = 0; + $add$ptr146 = (HEAP32[$output_buf + ($ctr$1305 << 2) >> 2] | 0) + $output_col | 0; + $shl149 = (HEAP32[$wsptr$2304 >> 2] << 13) + 134348800 | 0; + $31 = HEAP32[$wsptr$2304 + 16 >> 2] | 0; + $mul151 = $31 * 10703 | 0; + $mul152 = $31 * 4433 | 0; + $add153 = $shl149 + $mul151 | 0; + $sub154 = $shl149 - $mul151 | 0; + $add155 = $shl149 + $mul152 | 0; + $sub156 = $shl149 - $mul152 | 0; + $32 = HEAP32[$wsptr$2304 + 8 >> 2] | 0; + $33 = HEAP32[$wsptr$2304 + 24 >> 2] | 0; + $sub159 = $32 - $33 | 0; + $mul160 = $sub159 * 2260 | 0; + $mul161 = $sub159 * 11363 | 0; + $add163 = $mul161 + ($33 * 20995 | 0) | 0; + $add165 = $mul160 + ($32 * 7373 | 0) | 0; + $sub167 = $mul161 + (Math_imul($32, -4926) | 0) | 0; + $sub169 = $mul160 + (Math_imul($33, -4176) | 0) | 0; + $add170 = $add163 + $add153 | 0; + $sub171 = $add153 - $add163 | 0; + $add172 = $add165 + $add155 | 0; + $sub173 = $add155 - $add165 | 0; + $add174 = $sub167 + $sub156 | 0; + $sub175 = $sub156 - $sub167 | 0; + $add176 = $sub169 + $sub154 | 0; + $sub177 = $sub154 - $sub169 | 0; + $36 = HEAP32[$wsptr$2304 + 4 >> 2] | 0; + $37 = HEAP32[$wsptr$2304 + 12 >> 2] | 0; + $38 = HEAP32[$wsptr$2304 + 20 >> 2] | 0; + $39 = HEAP32[$wsptr$2304 + 28 >> 2] | 0; + $add182 = $38 + $36 | 0; + $mul184 = ($37 + $36 | 0) * 11086 | 0; + $mul185 = $add182 * 10217 | 0; + $mul187 = ($39 + $36 | 0) * 8956 | 0; + $mul189 = ($36 - $39 | 0) * 7350 | 0; + $mul190 = $add182 * 5461 | 0; + $mul192 = ($36 - $37 | 0) * 3363 | 0; + $sub196 = $mul184 + (Math_imul($36, -18730) | 0) + $mul185 + $mul187 | 0; + $sub200 = $mul192 + (Math_imul($36, -15038) | 0) + $mul190 + $mul189 | 0; + $mul202 = ($38 + $37 | 0) * 1136 | 0; + $mul210 = ($38 - $37 | 0) * 11529 | 0; + $add217 = $39 + $37 | 0; + $mul218 = Math_imul($add217, -5461) | 0; + $add219 = $mul184 + ($37 * 589 | 0) + $mul202 + $mul218 | 0; + $mul223 = Math_imul($add217, -10217) | 0; + $add227 = $mul192 + ($37 * 16154 | 0) + $mul210 + $mul223 | 0; + $mul229 = Math_imul($39 + $38 | 0, -11086) | 0; + $add230 = $mul202 + (Math_imul($38, -9222) | 0) + $mul185 + $mul229 | 0; + $add231 = $mul218 + ($39 * 8728 | 0) + $mul187 + $mul229 | 0; + $mul233 = ($39 - $38 | 0) * 3363 | 0; + $add234 = $mul223 + ($39 * 25733 | 0) + $mul189 + $mul233 | 0; + $add235 = $mul210 + (Math_imul($38, -6278) | 0) + $mul190 + $mul233 | 0; + HEAP8[$add$ptr146 >> 0] = HEAP8[$add$ptr + (($sub196 + $add170 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr146 + 15 >> 0] = HEAP8[$add$ptr + (($add170 - $sub196 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr146 + 1 >> 0] = HEAP8[$add$ptr + (($add219 + $add172 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr146 + 14 >> 0] = HEAP8[$add$ptr + (($add172 - $add219 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr146 + 2 >> 0] = HEAP8[$add$ptr + (($add230 + $add174 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr146 + 13 >> 0] = HEAP8[$add$ptr + (($add174 - $add230 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr146 + 3 >> 0] = HEAP8[$add$ptr + (($add231 + $add176 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr146 + 12 >> 0] = HEAP8[$add$ptr + (($add176 - $add231 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr146 + 4 >> 0] = HEAP8[$add$ptr + (($add234 + $sub177 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr146 + 11 >> 0] = HEAP8[$add$ptr + (($sub177 - $add234 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr146 + 5 >> 0] = HEAP8[$add$ptr + (($add235 + $sub175 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr146 + 10 >> 0] = HEAP8[$add$ptr + (($sub175 - $add235 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr146 + 6 >> 0] = HEAP8[$add$ptr + (($add227 + $sub173 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr146 + 9 >> 0] = HEAP8[$add$ptr + (($sub173 - $add227 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr146 + 7 >> 0] = HEAP8[$add$ptr + (($sub200 + $sub171 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr146 + 8 >> 0] = HEAP8[$add$ptr + (($sub171 - $sub200 | 0) >>> 18 & 1023) >> 0] | 0; + $ctr$1305 = $ctr$1305 + 1 | 0; + if (($ctr$1305 | 0) == 8) break; else $wsptr$2304 = $wsptr$2304 + 32 | 0; + } + STACKTOP = sp; + return; +} + +function _arMultiReadConfigFile($filename, $pattHandle) { + $filename = $filename | 0; + $pattHandle = $pattHandle | 0; + var $$sink = 0, $$sink186 = 0, $1 = 0, $13 = 0.0, $15 = 0.0, $17 = 0.0, $2 = 0, $5 = 0, $arrayidx = 0, $arrayidx145 = 0, $arrayidx150 = 0, $arrayidx155 = 0, $arrayidx160 = 0, $arrayidx166 = 0, $arrayidx172 = 0, $arrayidx178 = 0, $arrayidx209 = 0, $arrayidx216 = 0, $arrayidx224 = 0, $arrayidx233 = 0, $arrayidx240 = 0, $arrayidx248 = 0, $arrayidx79 = 0, $arrayidx87 = 0, $buf = 0, $call = 0, $call1 = 0, $call10 = 0, $call2 = 0, $call259 = 0, $call36 = 0, $div = 0.0, $div143 = 0.0, $dummy = 0, $globalID = 0, $i$0 = 0, $j$1 = 0, $j$1$ph = 0, $j$2 = 0, $num = 0, $or59 = 0, $pattPath = 0, $patt_type$0 = 0, $patt_type274 = 0, $retval$0 = 0, $t2 = 0, $tobool = 0, $trans = 0, $vararg_buffer = 0, $vararg_buffer1 = 0, $vararg_buffer11 = 0, $vararg_buffer13 = 0, $vararg_buffer17 = 0, $vararg_buffer21 = 0, $vararg_buffer24 = 0, $vararg_buffer28 = 0, $vararg_buffer31 = 0, $vararg_buffer35 = 0, $vararg_buffer41 = 0, $vararg_buffer45 = 0, $vararg_buffer49 = 0, $vararg_buffer5 = 0, $vararg_buffer55 = 0, $vararg_buffer59 = 0, $vararg_buffer8 = 0, $width = 0, $wpos3d = 0, label = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 128 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(128); - $vararg_buffer11 = sp + 120 | 0; - $vararg_buffer9 = sp + 112 | 0; - $vararg_buffer7 = sp + 104 | 0; - $vararg_buffer5 = sp + 96 | 0; - $vararg_buffer3 = sp + 88 | 0; - $vararg_buffer1 = sp + 80 | 0; - $vararg_buffer = sp + 72 | 0; - $5 = sp; - L1 : do if (($3 | 0) >= 4) { - $$0 = 0; - while (1) { - if (($$0 | 0) >= ($3 | 0)) break; - if (+HEAPF64[$2 + ($$0 * 24 | 0) + 16 >> 3] != 0.0) { - $$0204 = -1; - break L1; - } else $$0 = $$0 + 1 | 0; + STACKTOP = STACKTOP + 2528 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(2528); + $vararg_buffer59 = sp + 2512 | 0; + $vararg_buffer55 = sp + 2504 | 0; + $vararg_buffer49 = sp + 2488 | 0; + $vararg_buffer45 = sp + 2480 | 0; + $vararg_buffer41 = sp + 2472 | 0; + $vararg_buffer35 = sp + 2456 | 0; + $vararg_buffer31 = sp + 2448 | 0; + $vararg_buffer28 = sp + 2440 | 0; + $vararg_buffer24 = sp + 2432 | 0; + $vararg_buffer21 = sp + 2424 | 0; + $vararg_buffer17 = sp + 2416 | 0; + $vararg_buffer13 = sp + 2408 | 0; + $vararg_buffer11 = sp + 2400 | 0; + $vararg_buffer8 = sp + 2392 | 0; + $vararg_buffer5 = sp + 2384 | 0; + $vararg_buffer1 = sp + 2376 | 0; + $vararg_buffer = sp + 2368 | 0; + $wpos3d = sp + 2304 | 0; + $buf = sp + 2048 | 0; + $pattPath = sp; + $dummy = sp + 2524 | 0; + $num = sp + 2520 | 0; + $t2 = sp + 2516 | 0; + $call = _fopen($filename, 25925) | 0; + do if (!$call) { + HEAP32[$vararg_buffer >> 2] = $filename; + _arLog(0, 3, 24935, $vararg_buffer); + $call1 = ___errno_location() | 0; + $call2 = _strerror(HEAP32[$call1 >> 2] | 0) | 0; + HEAP32[$vararg_buffer1 >> 2] = 68295; + HEAP32[$vararg_buffer1 + 4 >> 2] = $call2; + _arLog(0, 3, 25953, $vararg_buffer1); + $retval$0 = 0; + } else { + _get_buff($buf, $call); + HEAP32[$vararg_buffer5 >> 2] = $num; + if ((_sscanf($buf, 25959, $vararg_buffer5) | 0) != 1) { + HEAP32[$vararg_buffer8 >> 2] = $filename; + _arLog(0, 3, 24988, $vararg_buffer8); + _fclose($call) | 0; + $retval$0 = 0; + break; } - if ((((((((!(+HEAPF64[$0 >> 3] == 0.0) ? !(+HEAPF64[$0 + 32 >> 3] != 0.0) : 0) ? ($17 = $0 + 40 | 0, !(+HEAPF64[$17 >> 3] == 0.0)) : 0) ? !(+HEAPF64[$0 + 64 >> 3] != 0.0) : 0) ? !(+HEAPF64[$0 + 72 >> 3] != 0.0) : 0) ? !(+HEAPF64[$0 + 80 >> 3] != 1.0) : 0) ? !(+HEAPF64[$0 + 24 >> 3] != 0.0) : 0) ? !(+HEAPF64[$0 + 56 >> 3] != 0.0) : 0) ? !(+HEAPF64[$0 + 88 >> 3] != 0.0) : 0) { - $38 = $3 << 1; - $39 = _arMatrixAlloc($38, 8) | 0; - if (!$39) { - _arLog(0, 3, 24753, $vararg_buffer); - $$0204 = -1; + $1 = HEAP32[$num >> 2] | 0; + $call10 = _malloc($1 * 320 | 0) | 0; + if (!$call10) { + _arLog(0, 3, 46772, $vararg_buffer11); + _exit(1); + } + $tobool = ($pattHandle | 0) == 0; + $arrayidx145 = $wpos3d + 8 | 0; + $arrayidx150 = $wpos3d + 16 | 0; + $arrayidx155 = $wpos3d + 24 | 0; + $arrayidx160 = $wpos3d + 32 | 0; + $arrayidx166 = $wpos3d + 40 | 0; + $arrayidx172 = $wpos3d + 48 | 0; + $arrayidx178 = $wpos3d + 56 | 0; + $2 = $1; + $i$0 = 0; + $patt_type$0 = 0; + L10 : while (1) { + if (($i$0 | 0) >= ($2 | 0)) { + label = 31; break; } - $41 = _arMatrixAlloc($38, 1) | 0; - if (!$41) { - _arMatrixFree($39) | 0; - _arLog(0, 3, 24779, $vararg_buffer1); - $$0204 = -1; + _get_buff($buf, $call); + $arrayidx = $call10 + ($i$0 * 320 | 0) | 0; + $globalID = $call10 + ($i$0 * 320 | 0) + 312 | 0; + HEAP32[$vararg_buffer13 >> 2] = $globalID; + HEAP32[$vararg_buffer13 + 4 >> 2] = $dummy; + if ((_sscanf($buf, 25089, $vararg_buffer13) | 0) != 1) { + if ($tobool) { + label = 11; + break; + } + if (!(_arUtilGetDirectoryNameFromPath($pattPath, $filename, 2048, 1) | 0)) { + label = 13; + break; + } + _strncat($pattPath, $buf, 2047 - (_strlen($pattPath) | 0) | 0) | 0; + $call36 = _arPattLoad($pattHandle, $pattPath) | 0; + HEAP32[$arrayidx >> 2] = $call36; + if (($call36 | 0) < 0) { + label = 15; + break; + } else { + $$sink = 1; + $$sink186 = 0; + } + } else { + $5 = HEAP32[$globalID >> 2] | 0; + HEAP32[$arrayidx >> 2] = ($5 & -32768 | 0) == 0 & 0 == 0 ? $5 & 32767 : 0; + $$sink = 2; + $$sink186 = 1; + } + HEAP32[$call10 + ($i$0 * 320 | 0) + 4 >> 2] = $$sink186; + $or59 = $patt_type$0 | $$sink; + _get_buff($buf, $call); + $width = $call10 + ($i$0 * 320 | 0) + 8 | 0; + HEAP32[$vararg_buffer28 >> 2] = $width; + if ((_sscanf($buf, 25385, $vararg_buffer28) | 0) != 1) { + label = 18; break; } - $$1 = 0; + _get_buff($buf, $call); + $trans = $call10 + ($i$0 * 320 | 0) + 16 | 0; + $arrayidx79 = $call10 + ($i$0 * 320 | 0) + 24 | 0; + $arrayidx87 = $call10 + ($i$0 * 320 | 0) + 40 | 0; + HEAP32[$vararg_buffer35 >> 2] = $trans; + HEAP32[$vararg_buffer35 + 4 >> 2] = $arrayidx79; + HEAP32[$vararg_buffer35 + 8 >> 2] = $call10 + ($i$0 * 320 | 0) + 32; + HEAP32[$vararg_buffer35 + 12 >> 2] = $arrayidx87; + if ((_sscanf($buf, 25494, $vararg_buffer35) | 0) == 4) $j$1$ph = 1; else { + HEAP32[$vararg_buffer41 >> 2] = $vararg_buffer5; + HEAP32[$vararg_buffer41 + 4 >> 2] = $t2; + if ((_sscanf($buf, 25510, $vararg_buffer41) | 0) != 2) { + label = 23; + break; + } + $j$1$ph = 0; + } + $j$1 = $j$1$ph; + do { + _get_buff($buf, $call); + HEAP32[$vararg_buffer49 >> 2] = $call10 + ($i$0 * 320 | 0) + 16 + ($j$1 << 5); + HEAP32[$vararg_buffer49 + 4 >> 2] = $call10 + ($i$0 * 320 | 0) + 16 + ($j$1 << 5) + 8; + HEAP32[$vararg_buffer49 + 8 >> 2] = $call10 + ($i$0 * 320 | 0) + 16 + ($j$1 << 5) + 16; + HEAP32[$vararg_buffer49 + 12 >> 2] = $call10 + ($i$0 * 320 | 0) + 16 + ($j$1 << 5) + 24; + if ((_sscanf($buf, 25494, $vararg_buffer49) | 0) != 4) { + label = 25; + break L10; + } + $j$1 = $j$1 + 1 | 0; + } while ($j$1 >>> 0 < 3); + _arUtilMatInv($trans, $call10 + ($i$0 * 320 | 0) + 112 | 0) | 0; + $13 = +HEAPF64[$width >> 3]; + $div = $13 * -.5; + HEAPF64[$wpos3d >> 3] = $div; + $div143 = $13 * .5; + HEAPF64[$arrayidx145 >> 3] = $div143; + HEAPF64[$arrayidx150 >> 3] = $div143; + HEAPF64[$arrayidx155 >> 3] = $div143; + HEAPF64[$arrayidx160 >> 3] = $div143; + HEAPF64[$arrayidx166 >> 3] = $div; + HEAPF64[$arrayidx172 >> 3] = $div; + HEAPF64[$arrayidx178 >> 3] = $div; + $arrayidx209 = $call10 + ($i$0 * 320 | 0) + 48 | 0; + $arrayidx216 = $call10 + ($i$0 * 320 | 0) + 56 | 0; + $arrayidx224 = $call10 + ($i$0 * 320 | 0) + 72 | 0; + $arrayidx233 = $call10 + ($i$0 * 320 | 0) + 80 | 0; + $arrayidx240 = $call10 + ($i$0 * 320 | 0) + 88 | 0; + $arrayidx248 = $call10 + ($i$0 * 320 | 0) + 104 | 0; + $j$2 = 0; while (1) { - if (($$1 | 0) == ($3 | 0)) break; - $43 = $2 + ($$1 * 24 | 0) | 0; - $45 = HEAP32[$39 >> 2] | 0; - $46 = $$1 << 4; - HEAPF64[$45 + ($46 << 3) >> 3] = +HEAPF64[$43 >> 3]; - $48 = $2 + ($$1 * 24 | 0) + 8 | 0; - HEAPF64[$45 + (($46 | 1) << 3) >> 3] = +HEAPF64[$48 >> 3]; - HEAPF64[$45 + (($46 | 2) << 3) >> 3] = 1.0; - HEAPF64[$45 + (($46 | 3) << 3) >> 3] = 0.0; - HEAPF64[$45 + (($46 | 4) << 3) >> 3] = 0.0; - HEAPF64[$45 + (($46 | 5) << 3) >> 3] = 0.0; - $61 = $1 + ($$1 << 4) | 0; - HEAPF64[$45 + (($46 | 6) << 3) >> 3] = -(+HEAPF64[$43 >> 3] * +HEAPF64[$61 >> 3]); - HEAPF64[$45 + (($46 | 7) << 3) >> 3] = -(+HEAPF64[$48 >> 3] * +HEAPF64[$61 >> 3]); - HEAPF64[$45 + (($46 | 8) << 3) >> 3] = 0.0; - HEAPF64[$45 + (($46 | 9) << 3) >> 3] = 0.0; - HEAPF64[$45 + (($46 | 10) << 3) >> 3] = 0.0; - HEAPF64[$45 + (($46 | 11) << 3) >> 3] = +HEAPF64[$43 >> 3]; - HEAPF64[$45 + (($46 | 12) << 3) >> 3] = +HEAPF64[$48 >> 3]; - HEAPF64[$45 + (($46 | 13) << 3) >> 3] = 1.0; - $88 = $1 + ($$1 << 4) + 8 | 0; - HEAPF64[$45 + (($46 | 14) << 3) >> 3] = -(+HEAPF64[$43 >> 3] * +HEAPF64[$88 >> 3]); - HEAPF64[$45 + (($46 | 15) << 3) >> 3] = -(+HEAPF64[$48 >> 3] * +HEAPF64[$88 >> 3]); - $101 = HEAP32[$41 >> 2] | 0; - $102 = $$1 << 1; - HEAPF64[$101 + ($102 << 3) >> 3] = +HEAPF64[$61 >> 3]; - HEAPF64[$101 + (($102 | 1) << 3) >> 3] = +HEAPF64[$88 >> 3]; - $$1 = $$1 + 1 | 0; - } - $108 = _arMatrixAllocTrans($39) | 0; - if (!$108) { - _arMatrixFree($39) | 0; - _arMatrixFree($41) | 0; - _arLog(0, 3, 24805, $vararg_buffer3); - $$0204 = -1; - break; + if (($j$2 | 0) == 4) break; + $15 = +HEAPF64[$wpos3d + ($j$2 << 4) >> 3]; + $17 = +HEAPF64[$wpos3d + ($j$2 << 4) + 8 >> 3]; + HEAPF64[$call10 + ($i$0 * 320 | 0) + 208 + ($j$2 * 24 | 0) >> 3] = +HEAPF64[$arrayidx87 >> 3] + (+HEAPF64[$trans >> 3] * $15 + +HEAPF64[$arrayidx79 >> 3] * $17); + HEAPF64[$call10 + ($i$0 * 320 | 0) + 208 + ($j$2 * 24 | 0) + 8 >> 3] = +HEAPF64[$arrayidx224 >> 3] + ($15 * +HEAPF64[$arrayidx209 >> 3] + $17 * +HEAPF64[$arrayidx216 >> 3]); + HEAPF64[$call10 + ($i$0 * 320 | 0) + 208 + ($j$2 * 24 | 0) + 16 >> 3] = +HEAPF64[$arrayidx248 >> 3] + ($15 * +HEAPF64[$arrayidx233 >> 3] + $17 * +HEAPF64[$arrayidx240 >> 3]); + $j$2 = $j$2 + 1 | 0; } - $110 = _arMatrixAllocMul($108, $39) | 0; - if (!$110) { - _arMatrixFree($39) | 0; - _arMatrixFree($41) | 0; - _arMatrixFree($108) | 0; - _arLog(0, 3, 24831, $vararg_buffer5); - $$0204 = -1; - break; + $2 = HEAP32[$num >> 2] | 0; + $i$0 = $i$0 + 1 | 0; + $patt_type$0 = $or59; + } + if ((label | 0) == 11) { + HEAP32[$vararg_buffer17 >> 2] = $filename; + HEAP32[$vararg_buffer17 + 4 >> 2] = $buf; + _arLog(0, 3, 25096, $vararg_buffer17); + } else if ((label | 0) == 13) { + HEAP32[$vararg_buffer21 >> 2] = $filename; + _arLog(0, 3, 25224, $vararg_buffer21); + } else if ((label | 0) == 15) { + HEAP32[$vararg_buffer24 >> 2] = $filename; + HEAP32[$vararg_buffer24 + 4 >> 2] = $pattPath; + _arLog(0, 3, 25308, $vararg_buffer24); + } else if ((label | 0) == 18) { + HEAP32[$vararg_buffer31 >> 2] = $filename; + HEAP32[$vararg_buffer31 + 4 >> 2] = $i$0 + 1; + _arLog(0, 3, 25389, $vararg_buffer31); + } else if ((label | 0) == 23) { + HEAP32[$vararg_buffer45 >> 2] = $filename; + HEAP32[$vararg_buffer45 + 4 >> 2] = $i$0 + 1; + _arLog(0, 3, 25516, $vararg_buffer45); + } else if ((label | 0) == 25) { + HEAP32[$vararg_buffer55 >> 2] = $filename; + HEAP32[$vararg_buffer55 + 4 >> 2] = $i$0 + 1; + _arLog(0, 3, 25516, $vararg_buffer55); + } else if ((label | 0) == 31) { + _fclose($call) | 0; + $call259 = _malloc(136) | 0; + if (!$call259) { + _arLog(0, 3, 46772, $vararg_buffer59); + _exit(1); } - $112 = _arMatrixAllocMul($108, $41) | 0; - if (!$112) { - _arMatrixFree($39) | 0; - _arMatrixFree($41) | 0; - _arMatrixFree($108) | 0; - _arMatrixFree($110) | 0; - _arLog(0, 3, 24857, $vararg_buffer7); - $$0204 = -1; + HEAP32[$call259 >> 2] = $call10; + HEAP32[$call259 + 4 >> 2] = HEAP32[$num >> 2]; + HEAP32[$call259 + 128 >> 2] = 0; + HEAP32[$call259 + 104 >> 2] = 0; + do if (($patt_type$0 & 3 | 0) != 3) { + $patt_type274 = $call259 + 108 | 0; + if (!($patt_type$0 & 1)) { + HEAP32[$patt_type274 >> 2] = 1; + break; + } else { + HEAP32[$patt_type274 >> 2] = 0; + break; + } + } else HEAP32[$call259 + 108 >> 2] = 2; while (0); + HEAPF64[$call259 + 112 >> 3] = .5; + HEAPF64[$call259 + 120 >> 3] = .5; + $retval$0 = $call259; + break; + } + _fclose($call) | 0; + _free($call10); + $retval$0 = 0; + } while (0); + STACKTOP = sp; + return $retval$0 | 0; +} + +function _jpeg_idct_3x6($cinfo, $compptr, $coef_block, $output_buf, $output_col) { + $cinfo = $cinfo | 0; + $compptr = $compptr | 0; + $coef_block = $coef_block | 0; + $output_buf = $output_buf | 0; + $output_col = $output_col | 0; + var $0 = 0, $1 = 0, $67 = 0, $77 = 0, $87 = 0, $add = 0, $add$1 = 0, $add$2 = 0, $add$ptr = 0, $add$ptr63 = 0, $add$ptr63$1 = 0, $add$ptr63$2 = 0, $add$ptr63$3 = 0, $add$ptr63$4 = 0, $add$ptr63$5 = 0, $add14 = 0, $add14$1 = 0, $add14$2 = 0, $add32 = 0, $add32$1 = 0, $add32$2 = 0, $add35 = 0, $add35$1 = 0, $add35$2 = 0, $add45$2 = 0, $add69 = 0, $add69$1 = 0, $add69$2 = 0, $add69$3 = 0, $add69$4 = 0, $add69$5 = 0, $add7 = 0, $add7$1 = 0, $add7$2 = 0, $arrayidx46 = 0, $incdec$ptr56 = 0, $mul13 = 0, $mul13$1 = 0, $mul13$2 = 0, $mul19 = 0, $mul19$1 = 0, $mul19$2 = 0, $mul23 = 0, $mul23$1 = 0, $mul23$2 = 0, $mul27 = 0, $mul27$1 = 0, $mul27$2 = 0, $mul29 = 0, $mul29$1 = 0, $mul29$2 = 0, $mul6 = 0, $mul6$1 = 0, $mul6$2 = 0, $mul73 = 0, $mul73$1 = 0, $mul73$2 = 0, $mul73$3 = 0, $mul73$4 = 0, $mul73$5 = 0, $shl38 = 0, $shl38$1 = 0, $shl38$2 = 0, $shl66 = 0, $shl66$1 = 0, $shl66$2 = 0, $shl66$3 = 0, $shl66$4 = 0, $shl66$5 = 0, $shr = 0, $shr$1 = 0, $shr$2 = 0, $shr40$2 = 0, $shr50$2 = 0, $sub15 = 0, $sub15$1 = 0, $sub15$2 = 0, $sub71 = 0, $sub71$1 = 0, $sub71$2 = 0, $sub71$3 = 0, $sub71$4 = 0, $sub71$5 = 0, $workspace = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 80 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(80); + $workspace = sp; + $0 = HEAP32[$cinfo + 336 >> 2] | 0; + $1 = HEAP32[$compptr + 84 >> 2] | 0; + $add = Math_imul(HEAP16[$coef_block >> 1] << 13, HEAP32[$1 >> 2] | 0) | 0 | 1024; + $mul6 = Math_imul((HEAP16[$coef_block + 64 >> 1] | 0) * 5793 | 0, HEAP32[$1 + 128 >> 2] | 0) | 0; + $add7 = $mul6 + $add | 0; + $shr = (Math_imul($mul6, -2) | 0) + $add >> 11; + $mul13 = Math_imul((HEAP16[$coef_block + 32 >> 1] | 0) * 10033 | 0, HEAP32[$1 + 64 >> 2] | 0) | 0; + $add14 = $mul13 + $add7 | 0; + $sub15 = $add7 - $mul13 | 0; + $mul19 = Math_imul(HEAP32[$1 + 32 >> 2] | 0, HEAP16[$coef_block + 16 >> 1] | 0) | 0; + $mul23 = Math_imul(HEAP32[$1 + 96 >> 2] | 0, HEAP16[$coef_block + 48 >> 1] | 0) | 0; + $mul27 = Math_imul(HEAP32[$1 + 160 >> 2] | 0, HEAP16[$coef_block + 80 >> 1] | 0) | 0; + $mul29 = ($mul27 + $mul19 | 0) * 2998 | 0; + $add32 = $mul29 + ($mul23 + $mul19 << 13) | 0; + $add35 = $mul29 + ($mul27 - $mul23 << 13) | 0; + $shl38 = $mul19 - $mul23 - $mul27 << 2; + HEAP32[$workspace >> 2] = $add32 + $add14 >> 11; + HEAP32[$workspace + 60 >> 2] = $add14 - $add32 >> 11; + $arrayidx46 = $workspace + 12 | 0; + HEAP32[$arrayidx46 >> 2] = $shl38 + $shr; + HEAP32[$workspace + 48 >> 2] = $shr - $shl38; + HEAP32[$workspace + 24 >> 2] = $add35 + $sub15 >> 11; + HEAP32[$workspace + 36 >> 2] = $sub15 - $add35 >> 11; + $incdec$ptr56 = $workspace + 4 | 0; + $add$1 = Math_imul(HEAP16[$coef_block + 2 >> 1] << 13, HEAP32[$1 + 4 >> 2] | 0) | 0 | 1024; + $mul6$1 = Math_imul((HEAP16[$coef_block + 66 >> 1] | 0) * 5793 | 0, HEAP32[$1 + 132 >> 2] | 0) | 0; + $add7$1 = $mul6$1 + $add$1 | 0; + $shr$1 = (Math_imul($mul6$1, -2) | 0) + $add$1 >> 11; + $mul13$1 = Math_imul((HEAP16[$coef_block + 34 >> 1] | 0) * 10033 | 0, HEAP32[$1 + 68 >> 2] | 0) | 0; + $add14$1 = $mul13$1 + $add7$1 | 0; + $sub15$1 = $add7$1 - $mul13$1 | 0; + $mul19$1 = Math_imul(HEAP32[$1 + 36 >> 2] | 0, HEAP16[$coef_block + 18 >> 1] | 0) | 0; + $mul23$1 = Math_imul(HEAP32[$1 + 100 >> 2] | 0, HEAP16[$coef_block + 50 >> 1] | 0) | 0; + $mul27$1 = Math_imul(HEAP32[$1 + 164 >> 2] | 0, HEAP16[$coef_block + 82 >> 1] | 0) | 0; + $mul29$1 = ($mul27$1 + $mul19$1 | 0) * 2998 | 0; + $add32$1 = $mul29$1 + ($mul23$1 + $mul19$1 << 13) | 0; + $add35$1 = $mul29$1 + ($mul27$1 - $mul23$1 << 13) | 0; + $shl38$1 = $mul19$1 - $mul23$1 - $mul27$1 << 2; + HEAP32[$incdec$ptr56 >> 2] = $add32$1 + $add14$1 >> 11; + HEAP32[$workspace + 64 >> 2] = $add14$1 - $add32$1 >> 11; + HEAP32[$workspace + 16 >> 2] = $shl38$1 + $shr$1; + HEAP32[$workspace + 52 >> 2] = $shr$1 - $shl38$1; + HEAP32[$workspace + 28 >> 2] = $add35$1 + $sub15$1 >> 11; + HEAP32[$workspace + 40 >> 2] = $sub15$1 - $add35$1 >> 11; + $add$2 = Math_imul(HEAP16[$coef_block + 4 >> 1] << 13, HEAP32[$1 + 8 >> 2] | 0) | 0 | 1024; + $mul6$2 = Math_imul((HEAP16[$coef_block + 68 >> 1] | 0) * 5793 | 0, HEAP32[$1 + 136 >> 2] | 0) | 0; + $add7$2 = $mul6$2 + $add$2 | 0; + $shr$2 = (Math_imul($mul6$2, -2) | 0) + $add$2 >> 11; + $mul13$2 = Math_imul((HEAP16[$coef_block + 36 >> 1] | 0) * 10033 | 0, HEAP32[$1 + 72 >> 2] | 0) | 0; + $add14$2 = $mul13$2 + $add7$2 | 0; + $sub15$2 = $add7$2 - $mul13$2 | 0; + $mul19$2 = Math_imul(HEAP32[$1 + 40 >> 2] | 0, HEAP16[$coef_block + 20 >> 1] | 0) | 0; + $mul23$2 = Math_imul(HEAP32[$1 + 104 >> 2] | 0, HEAP16[$coef_block + 52 >> 1] | 0) | 0; + $mul27$2 = Math_imul(HEAP32[$1 + 168 >> 2] | 0, HEAP16[$coef_block + 84 >> 1] | 0) | 0; + $mul29$2 = ($mul27$2 + $mul19$2 | 0) * 2998 | 0; + $add32$2 = $mul29$2 + ($mul23$2 + $mul19$2 << 13) | 0; + $add35$2 = $mul29$2 + ($mul27$2 - $mul23$2 << 13) | 0; + $shl38$2 = $mul19$2 - $mul23$2 - $mul27$2 << 2; + $shr40$2 = $add32$2 + $add14$2 >> 11; + HEAP32[$workspace + 8 >> 2] = $shr40$2; + HEAP32[$workspace + 68 >> 2] = $add14$2 - $add32$2 >> 11; + $add45$2 = $shl38$2 + $shr$2 | 0; + HEAP32[$workspace + 20 >> 2] = $add45$2; + HEAP32[$workspace + 56 >> 2] = $shr$2 - $shl38$2; + $shr50$2 = $add35$2 + $sub15$2 >> 11; + HEAP32[$workspace + 32 >> 2] = $shr50$2; + HEAP32[$workspace + 44 >> 2] = $sub15$2 - $add35$2 >> 11; + $add$ptr = $0 + -384 | 0; + $add$ptr63 = (HEAP32[$output_buf >> 2] | 0) + $output_col | 0; + $shl66 = (HEAP32[$workspace >> 2] << 13) + 134348800 | 0; + $add69 = $shl66 + ($shr40$2 * 5793 | 0) | 0; + $sub71 = (Math_imul($shr40$2, -11586) | 0) + $shl66 | 0; + $mul73 = (HEAP32[$incdec$ptr56 >> 2] | 0) * 10033 | 0; + HEAP8[$add$ptr63 >> 0] = HEAP8[$add$ptr + (($add69 + $mul73 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr63 + 2 >> 0] = HEAP8[$add$ptr + (($add69 - $mul73 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr63 + 1 >> 0] = HEAP8[$add$ptr + ($sub71 >>> 18 & 1023) >> 0] | 0; + $add$ptr63$1 = (HEAP32[$output_buf + 4 >> 2] | 0) + $output_col | 0; + $shl66$1 = (HEAP32[$arrayidx46 >> 2] << 13) + 134348800 | 0; + $add69$1 = $shl66$1 + ($add45$2 * 5793 | 0) | 0; + $sub71$1 = (Math_imul($add45$2, -11586) | 0) + $shl66$1 | 0; + $mul73$1 = (HEAP32[$workspace + 16 >> 2] | 0) * 10033 | 0; + HEAP8[$add$ptr63$1 >> 0] = HEAP8[$add$ptr + (($add69$1 + $mul73$1 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr63$1 + 2 >> 0] = HEAP8[$add$ptr + (($add69$1 - $mul73$1 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr63$1 + 1 >> 0] = HEAP8[$add$ptr + ($sub71$1 >>> 18 & 1023) >> 0] | 0; + $add$ptr63$2 = (HEAP32[$output_buf + 8 >> 2] | 0) + $output_col | 0; + $shl66$2 = (HEAP32[$workspace + 24 >> 2] << 13) + 134348800 | 0; + $add69$2 = $shl66$2 + ($shr50$2 * 5793 | 0) | 0; + $sub71$2 = (Math_imul($shr50$2, -11586) | 0) + $shl66$2 | 0; + $mul73$2 = (HEAP32[$workspace + 28 >> 2] | 0) * 10033 | 0; + HEAP8[$add$ptr63$2 >> 0] = HEAP8[$add$ptr + (($add69$2 + $mul73$2 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr63$2 + 2 >> 0] = HEAP8[$add$ptr + (($add69$2 - $mul73$2 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr63$2 + 1 >> 0] = HEAP8[$add$ptr + ($sub71$2 >>> 18 & 1023) >> 0] | 0; + $add$ptr63$3 = (HEAP32[$output_buf + 12 >> 2] | 0) + $output_col | 0; + $shl66$3 = (HEAP32[$workspace + 36 >> 2] << 13) + 134348800 | 0; + $67 = HEAP32[$workspace + 44 >> 2] | 0; + $add69$3 = $shl66$3 + ($67 * 5793 | 0) | 0; + $sub71$3 = (Math_imul($67, -11586) | 0) + $shl66$3 | 0; + $mul73$3 = (HEAP32[$workspace + 40 >> 2] | 0) * 10033 | 0; + HEAP8[$add$ptr63$3 >> 0] = HEAP8[$add$ptr + (($add69$3 + $mul73$3 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr63$3 + 2 >> 0] = HEAP8[$add$ptr + (($add69$3 - $mul73$3 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr63$3 + 1 >> 0] = HEAP8[$add$ptr + ($sub71$3 >>> 18 & 1023) >> 0] | 0; + $add$ptr63$4 = (HEAP32[$output_buf + 16 >> 2] | 0) + $output_col | 0; + $shl66$4 = (HEAP32[$workspace + 48 >> 2] << 13) + 134348800 | 0; + $77 = HEAP32[$workspace + 56 >> 2] | 0; + $add69$4 = $shl66$4 + ($77 * 5793 | 0) | 0; + $sub71$4 = (Math_imul($77, -11586) | 0) + $shl66$4 | 0; + $mul73$4 = (HEAP32[$workspace + 52 >> 2] | 0) * 10033 | 0; + HEAP8[$add$ptr63$4 >> 0] = HEAP8[$add$ptr + (($add69$4 + $mul73$4 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr63$4 + 2 >> 0] = HEAP8[$add$ptr + (($add69$4 - $mul73$4 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr63$4 + 1 >> 0] = HEAP8[$add$ptr + ($sub71$4 >>> 18 & 1023) >> 0] | 0; + $add$ptr63$5 = (HEAP32[$output_buf + 20 >> 2] | 0) + $output_col | 0; + $shl66$5 = (HEAP32[$workspace + 60 >> 2] << 13) + 134348800 | 0; + $87 = HEAP32[$workspace + 68 >> 2] | 0; + $add69$5 = $shl66$5 + ($87 * 5793 | 0) | 0; + $sub71$5 = (Math_imul($87, -11586) | 0) + $shl66$5 | 0; + $mul73$5 = (HEAP32[$workspace + 64 >> 2] | 0) * 10033 | 0; + HEAP8[$add$ptr63$5 >> 0] = HEAP8[$add$ptr + (($add69$5 + $mul73$5 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr63$5 + 2 >> 0] = HEAP8[$add$ptr + (($add69$5 - $mul73$5 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr63$5 + 1 >> 0] = HEAP8[$add$ptr + ($sub71$5 >>> 18 & 1023) >> 0] | 0; + STACKTOP = sp; + return; +} + +function _kpmMergeRefDataSet($refDataSetPtr1, $refDataSetPtr2) { + $refDataSetPtr1 = $refDataSetPtr1 | 0; + $refDataSetPtr2 = $refDataSetPtr2 | 0; + var $$pre167 = 0, $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $18 = 0, $2 = 0, $22 = 0, $27 = 0, $3 = 0, $33 = 0, $38 = 0, $4 = 0, $43 = 0, $44 = 0, $48 = 0, $53 = 0, $54 = 0, $55 = 0, $57 = 0, $60 = 0, $7 = 0, $8 = 0, $9 = 0, $add = 0, $arrayidx114 = 0, $arrayidx117 = 0, $arrayidx141 = 0, $arrayidx145 = 0, $arrayidx185 = 0, $arrayidx205 = 0, $arrayidx210 = 0, $arrayidx75 = 0, $call = 0, $call100 = 0, $call15 = 0, $call191 = 0, $call65 = 0, $i$0 = 0, $i$1 = 0, $i$2 = 0, $i$3 = 0, $i$4 = 0, $i$5 = 0, $imageNum$0 = 0, $imageNum$1 = 0, $j$0 = 0, $j$1 = 0, $j$2 = 0, $j$3 = 0, $j$4 = 0, $j$5 = 0, $k$0 = 0, $k$1 = 0, $k$2158 = 0, $num3$0 = 0, $num3$1 = 0, $pageInfo221 = 0, $pageInfo236$pre$phiZ2D = 0, $pageInfo48 = 0, $pageInfo50 = 0, $pageInfo72 = 0, $pageNo74 = 0, $retval$0 = 0, $sub = 0, $sub184 = 0, $vararg_buffer = 0, $vararg_buffer1 = 0, $vararg_buffer3 = 0, $vararg_buffer5 = 0, $vararg_buffer7 = 0, $vararg_buffer9 = 0, label = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 48 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); + $vararg_buffer9 = sp + 40 | 0; + $vararg_buffer7 = sp + 32 | 0; + $vararg_buffer5 = sp + 24 | 0; + $vararg_buffer3 = sp + 16 | 0; + $vararg_buffer1 = sp + 8 | 0; + $vararg_buffer = sp; + if (($refDataSetPtr1 | 0) != 0 & ($refDataSetPtr2 | 0) != 0) { + $0 = HEAP32[$refDataSetPtr1 >> 2] | 0; + do if (!$0) { + $call = _malloc(16) | 0; + HEAP32[$refDataSetPtr1 >> 2] = $call; + if (!$call) { + _arLog(0, 3, 46772, $vararg_buffer1); + _exit(1); + } else { + HEAP32[$call + 4 >> 2] = 0; + HEAP32[$call >> 2] = 0; + HEAP32[$call + 12 >> 2] = 0; + HEAP32[$call + 8 >> 2] = 0; + $2 = $call; + $60 = $call; break; } - if ((_arMatrixSelfInv($110) | 0) < 0) { - _arMatrixFree($39) | 0; - _arMatrixFree($41) | 0; - _arMatrixFree($108) | 0; - _arMatrixFree($110) | 0; - _arMatrixFree($112) | 0; - _arLog(0, 3, 24883, $vararg_buffer9); - $$0204 = -1; - break; + } else { + $2 = $0; + $60 = $0; + } while (0); + $1 = HEAP32[$refDataSetPtr2 >> 2] | 0; + if (!$1) $retval$0 = 0; else { + $3 = HEAP32[$2 + 4 >> 2] | 0; + $4 = HEAP32[$1 + 4 >> 2] | 0; + $add = $4 + $3 | 0; + $call15 = _malloc($add * 132 | 0) | 0; + if (!$call15) { + _arLog(0, 3, 46772, $vararg_buffer3); + _exit(1); } - $116 = _arMatrixAllocMul($110, $112) | 0; - if (!$116) { - _arMatrixFree($39) | 0; - _arMatrixFree($41) | 0; - _arMatrixFree($108) | 0; - _arMatrixFree($110) | 0; - _arMatrixFree($112) | 0; - _arLog(0, 3, 24909, $vararg_buffer11); - $$0204 = -1; - break; - } else { - $118 = HEAP32[$116 >> 2] | 0; - $120 = +HEAPF64[$118 + 48 >> 3]; - $121 = $5 + 16 | 0; - $125 = +HEAPF64[$0 + 48 >> 3]; - $128 = +HEAPF64[$17 >> 3]; - $129 = (+HEAPF64[$118 + 24 >> 3] - $120 * $125) / $128; - $130 = $5 + 8 | 0; - $133 = +HEAPF64[$0 + 16 >> 3]; - $137 = +HEAPF64[$0 + 8 >> 3]; - $140 = +HEAPF64[$0 >> 3]; - $141 = (+HEAPF64[$118 >> 3] - $120 * $133 - $129 * $137) / $140; - $143 = +HEAPF64[$118 + 56 >> 3]; - $144 = $5 + 40 | 0; - $149 = (+HEAPF64[$118 + 32 >> 3] - $125 * $143) / $128; - $150 = $5 + 32 | 0; - $157 = (+HEAPF64[$118 + 8 >> 3] - $133 * $143 - $137 * $149) / $140; - $158 = $5 + 24 | 0; - $162 = (+HEAPF64[$118 + 40 >> 3] - $125) / $128; - $164 = +HEAPF64[$118 + 16 >> 3]; - _arMatrixFree($39) | 0; - _arMatrixFree($41) | 0; - _arMatrixFree($108) | 0; - _arMatrixFree($110) | 0; - _arMatrixFree($112) | 0; - _arMatrixFree($116) | 0; - $170 = +Math_sqrt(+($120 * $120 + ($129 * $129 + $141 * $141))); - $176 = +Math_sqrt(+($143 * $143 + ($149 * $149 + $157 * $157))); - HEAPF64[$5 >> 3] = $141 / $170; - HEAPF64[$130 >> 3] = $129 / $170; - HEAPF64[$121 >> 3] = $120 / $170; - HEAPF64[$158 >> 3] = $157 / $176; - HEAPF64[$150 >> 3] = $149 / $176; - HEAPF64[$144 >> 3] = $143 / $176; - $184 = ($170 + $176) * .5; - _check_rotation($5); - $192 = +HEAPF64[$130 >> 3]; - $193 = +HEAPF64[$144 >> 3]; - $195 = +HEAPF64[$121 >> 3]; - $196 = +HEAPF64[$150 >> 3]; - $198 = $192 * $193 - $195 * $196; - $200 = +HEAPF64[$158 >> 3]; - $202 = +HEAPF64[$5 >> 3]; - $204 = $195 * $200 - $193 * $202; - $208 = $196 * $202 - $192 * $200; - $215 = +Math_sqrt(+($208 * $208 + ($198 * $198 + $204 * $204))); - $216 = $198 / $215; - HEAPF64[$5 + 48 >> 3] = $216; - $217 = $204 / $215; - HEAPF64[$5 + 56 >> 3] = $217; - $218 = $208 / $215; - HEAPF64[$5 + 64 >> 3] = $218; - HEAPF64[$4 >> 3] = $202; - HEAPF64[$4 + 32 >> 3] = $192; - HEAPF64[$4 + 64 >> 3] = $195; - HEAPF64[$4 + 8 >> 3] = $200; - HEAPF64[$4 + 40 >> 3] = $196; - HEAPF64[$4 + 72 >> 3] = $193; - HEAPF64[$4 + 16 >> 3] = $216; - HEAPF64[$4 + 48 >> 3] = $217; - HEAPF64[$4 + 80 >> 3] = $218; - HEAPF64[$4 + 24 >> 3] = ($164 - $133 - $137 * $162) / $140 / $184; - HEAPF64[$4 + 56 >> 3] = $162 / $184; - HEAPF64[$4 + 88 >> 3] = 1.0 / $184; - $$0204 = 0; - break; - } - } else $$0204 = -1; - } else $$0204 = -1; while (0); - STACKTOP = sp; - return $$0204 | 0; -} - -function __ZN6vision12FindFeaturesINS_14FREAKExtractorELi96EEEvPNS_8KeyframeIXT0_EEEPKNS_25GaussianScaleSpacePyramidEPNS_25DoGScaleInvariantDetectorEPT_($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $$0 = 0, $104 = 0, $112 = 0, $113 = 0, $12 = 0, $126 = 0, $17 = 0, $21 = 0, $28 = 0, $33 = 0, $37 = 0, $38 = 0, $4 = 0, $48 = 0, $5 = 0, $53 = 0, $57 = 0, $58 = 0, $60 = 0, $68 = 0, $73 = 0, $77 = 0, $78 = 0, $80 = 0, $88 = 0, $93 = 0, $97 = 0, $98 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $4 = sp + 20 | 0; - $5 = sp; - if (!$1) { - $12 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 37660) | 0, 34139) | 0, 39072) | 0, 212) | 0, 39079) | 0, 37760) | 0; - __ZNKSt3__28ios_base6getlocEv($4, $12 + (HEAP32[(HEAP32[$12 >> 2] | 0) + -12 >> 2] | 0) | 0); - $17 = __ZNKSt3__26locale9use_facetERNS0_2idE($4, 66512) | 0; - $21 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$17 >> 2] | 0) + 28 >> 2] & 127]($17, 10) | 0; - __ZNSt3__26localeD2Ev($4); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($12, $21) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($12) | 0; - _abort(); - } - if (!$2) { - $28 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 34218) | 0, 34139) | 0, 39072) | 0, 213) | 0, 39079) | 0, 34250) | 0; - __ZNKSt3__28ios_base6getlocEv($4, $28 + (HEAP32[(HEAP32[$28 >> 2] | 0) + -12 >> 2] | 0) | 0); - $33 = __ZNKSt3__26locale9use_facetERNS0_2idE($4, 66512) | 0; - $37 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$33 >> 2] | 0) + 28 >> 2] & 127]($33, 10) | 0; - __ZNSt3__26localeD2Ev($4); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($28, $37) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($28) | 0; - _abort(); - } - $38 = __ZNK6vision25GaussianScaleSpacePyramid6imagesEv($1) | 0; - if ((HEAP32[$38 + 4 >> 2] | 0) == (HEAP32[$38 >> 2] | 0)) { - $48 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 34267) | 0, 34139) | 0, 39072) | 0, 214) | 0, 39079) | 0, 34319) | 0; - __ZNKSt3__28ios_base6getlocEv($4, $48 + (HEAP32[(HEAP32[$48 >> 2] | 0) + -12 >> 2] | 0) | 0); - $53 = __ZNKSt3__26locale9use_facetERNS0_2idE($4, 66512) | 0; - $57 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$53 >> 2] | 0) + 28 >> 2] & 127]($53, 10) | 0; - __ZNSt3__26localeD2Ev($4); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($48, $57) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($48) | 0; - _abort(); + $i$0 = 0; + while (1) { + if (($i$0 | 0) >= ($3 | 0)) break; + _memcpy($call15 + ($i$0 * 132 | 0) | 0, (HEAP32[$2 >> 2] | 0) + ($i$0 * 132 | 0) | 0, 132) | 0; + $i$0 = $i$0 + 1 | 0; + } + $i$1 = 0; + while (1) { + if (($i$1 | 0) >= ($4 | 0)) break; + _memcpy($call15 + (($i$1 + $3 | 0) * 132 | 0) | 0, (HEAP32[$1 >> 2] | 0) + ($i$1 * 132 | 0) | 0, 132) | 0; + $i$1 = $i$1 + 1 | 0; + } + $7 = HEAP32[$2 >> 2] | 0; + if (!$7) $8 = $60; else { + _free($7); + $8 = HEAP32[$refDataSetPtr1 >> 2] | 0; + } + HEAP32[$8 >> 2] = $call15; + $9 = HEAP32[$refDataSetPtr1 >> 2] | 0; + HEAP32[$9 + 4 >> 2] = $add; + $10 = HEAP32[$9 + 12 >> 2] | 0; + $11 = HEAP32[$refDataSetPtr2 >> 2] | 0; + $12 = HEAP32[$11 + 12 >> 2] | 0; + $pageInfo48 = $11 + 8 | 0; + $pageInfo50 = $9 + 8 | 0; + $i$2 = 0; + $num3$0 = 0; + while (1) { + if (($i$2 | 0) >= ($12 | 0)) break; + $j$0 = 0; + while (1) { + if (($j$0 | 0) >= ($10 | 0)) { + $num3$1 = $num3$0; + break; + } + if ((HEAP32[(HEAP32[$pageInfo48 >> 2] | 0) + ($i$2 * 12 | 0) + 8 >> 2] | 0) == (HEAP32[(HEAP32[$pageInfo50 >> 2] | 0) + ($j$0 * 12 | 0) + 8 >> 2] | 0)) { + label = 23; + break; + } else $j$0 = $j$0 + 1 | 0; + } + if ((label | 0) == 23) { + label = 0; + $num3$1 = $num3$0 + 1 | 0; + } + $i$2 = $i$2 + 1 | 0; + $num3$0 = $num3$1; + } + $sub = $12 + $10 - $num3$0 | 0; + $call65 = _malloc($sub * 12 | 0) | 0; + if (!$call65) { + _arLog(0, 3, 46772, $vararg_buffer5); + _exit(1); + } + $i$3 = 0; + while (1) { + if (($i$3 | 0) >= ($10 | 0)) break; + $pageInfo72 = (HEAP32[$refDataSetPtr1 >> 2] | 0) + 8 | 0; + $18 = HEAP32[$pageInfo72 >> 2] | 0; + $pageNo74 = $18 + ($i$3 * 12 | 0) + 8 | 0; + HEAP32[$call65 + ($i$3 * 12 | 0) + 8 >> 2] = HEAP32[$pageNo74 >> 2]; + $imageNum$0 = HEAP32[$18 + ($i$3 * 12 | 0) + 4 >> 2] | 0; + $j$1 = 0; + while (1) { + if (($j$1 | 0) >= ($12 | 0)) break; + $22 = HEAP32[(HEAP32[$refDataSetPtr2 >> 2] | 0) + 8 >> 2] | 0; + if ((HEAP32[$22 + ($j$1 * 12 | 0) + 8 >> 2] | 0) == (HEAP32[$pageNo74 >> 2] | 0)) $imageNum$1 = (HEAP32[$22 + ($j$1 * 12 | 0) + 4 >> 2] | 0) + $imageNum$0 | 0; else $imageNum$1 = $imageNum$0; + $imageNum$0 = $imageNum$1; + $j$1 = $j$1 + 1 | 0; + } + $arrayidx75 = $call65 + ($i$3 * 12 | 0) | 0; + $call100 = _malloc($imageNum$0 * 12 | 0) | 0; + HEAP32[$arrayidx75 >> 2] = $call100; + if (!$call100) { + label = 36; + break; + } + $27 = HEAP32[(HEAP32[$pageInfo72 >> 2] | 0) + ($i$3 * 12 | 0) + 4 >> 2] | 0; + $j$2 = 0; + while (1) { + if (($j$2 | 0) >= ($27 | 0)) break; + $arrayidx114 = (HEAP32[(HEAP32[(HEAP32[$refDataSetPtr1 >> 2] | 0) + 8 >> 2] | 0) + ($i$3 * 12 | 0) >> 2] | 0) + ($j$2 * 12 | 0) | 0; + $arrayidx117 = (HEAP32[$arrayidx75 >> 2] | 0) + ($j$2 * 12 | 0) | 0; + HEAP32[$arrayidx117 >> 2] = HEAP32[$arrayidx114 >> 2]; + HEAP32[$arrayidx117 + 4 >> 2] = HEAP32[$arrayidx114 + 4 >> 2]; + HEAP32[$arrayidx117 + 8 >> 2] = HEAP32[$arrayidx114 + 8 >> 2]; + $j$2 = $j$2 + 1 | 0; + } + $j$3 = 0; + while (1) { + if (($j$3 | 0) >= ($12 | 0)) break; + $33 = HEAP32[(HEAP32[$refDataSetPtr2 >> 2] | 0) + 8 >> 2] | 0; + if ((HEAP32[$33 + ($j$3 * 12 | 0) + 8 >> 2] | 0) == (HEAP32[(HEAP32[(HEAP32[$refDataSetPtr1 >> 2] | 0) + 8 >> 2] | 0) + ($i$3 * 12 | 0) + 8 >> 2] | 0)) { + label = 43; + break; + } + $j$3 = $j$3 + 1 | 0; + } + L56 : do if ((label | 0) == 43) { + label = 0; + $38 = $33; + $k$0 = 0; + while (1) { + if (($k$0 | 0) >= (HEAP32[$38 + ($j$3 * 12 | 0) + 4 >> 2] | 0)) break L56; + $arrayidx141 = (HEAP32[$38 + ($j$3 * 12 | 0) >> 2] | 0) + ($k$0 * 12 | 0) | 0; + $arrayidx145 = (HEAP32[$arrayidx75 >> 2] | 0) + (($k$0 + $27 | 0) * 12 | 0) | 0; + HEAP32[$arrayidx145 >> 2] = HEAP32[$arrayidx141 >> 2]; + HEAP32[$arrayidx145 + 4 >> 2] = HEAP32[$arrayidx141 + 4 >> 2]; + HEAP32[$arrayidx145 + 8 >> 2] = HEAP32[$arrayidx141 + 8 >> 2]; + $38 = HEAP32[(HEAP32[$refDataSetPtr2 >> 2] | 0) + 8 >> 2] | 0; + $k$0 = $k$0 + 1 | 0; + } + } while (0); + HEAP32[$call65 + ($i$3 * 12 | 0) + 4 >> 2] = $imageNum$0; + $i$3 = $i$3 + 1 | 0; + } + if ((label | 0) == 36) { + _arLog(0, 3, 46772, $vararg_buffer7); + _exit(1); + } + $i$4 = 0; + $k$1 = 0; + while (1) { + if (($i$4 | 0) >= ($12 | 0)) break; + $43 = HEAP32[(HEAP32[$refDataSetPtr2 >> 2] | 0) + 8 >> 2] | 0; + $44 = HEAP32[$43 + ($i$4 * 12 | 0) + 8 >> 2] | 0; + $j$4 = 0; + while (1) { + if (($j$4 | 0) >= ($10 | 0)) { + label = 53; + break; + } + if (($44 | 0) == (HEAP32[(HEAP32[(HEAP32[$refDataSetPtr1 >> 2] | 0) + 8 >> 2] | 0) + ($j$4 * 12 | 0) + 8 >> 2] | 0)) { + label = 52; + break; + } else $j$4 = $j$4 + 1 | 0; + } + if ((label | 0) == 52) { + label = 0; + $k$2158 = $k$1 + 1 | 0; + } else if ((label | 0) == 53) { + label = 0; + $sub184 = $i$4 + $10 - $k$1 | 0; + $arrayidx185 = $call65 + ($sub184 * 12 | 0) | 0; + HEAP32[$call65 + ($sub184 * 12 | 0) + 8 >> 2] = $44; + $48 = HEAP32[$43 + ($i$4 * 12 | 0) + 4 >> 2] | 0; + $call191 = _malloc($48 * 12 | 0) | 0; + HEAP32[$arrayidx185 >> 2] = $call191; + if (!$call191) { + label = 55; + break; + } + $j$5 = 0; + while (1) { + if (($j$5 | 0) >= ($48 | 0)) break; + $arrayidx205 = (HEAP32[(HEAP32[(HEAP32[$refDataSetPtr2 >> 2] | 0) + 8 >> 2] | 0) + ($i$4 * 12 | 0) >> 2] | 0) + ($j$5 * 12 | 0) | 0; + $arrayidx210 = (HEAP32[$arrayidx185 >> 2] | 0) + ($j$5 * 12 | 0) | 0; + HEAP32[$arrayidx210 >> 2] = HEAP32[$arrayidx205 >> 2]; + HEAP32[$arrayidx210 + 4 >> 2] = HEAP32[$arrayidx205 + 4 >> 2]; + HEAP32[$arrayidx210 + 8 >> 2] = HEAP32[$arrayidx205 + 8 >> 2]; + $j$5 = $j$5 + 1 | 0; + } + HEAP32[$call65 + ($sub184 * 12 | 0) + 4 >> 2] = $48; + $k$2158 = $k$1; + } + $i$4 = $i$4 + 1 | 0; + $k$1 = $k$2158; + } + if ((label | 0) == 55) { + _arLog(0, 3, 46772, $vararg_buffer9); + _exit(1); + } + $53 = HEAP32[$refDataSetPtr1 >> 2] | 0; + $pageInfo221 = $53 + 8 | 0; + $54 = HEAP32[$pageInfo221 >> 2] | 0; + if (!$54) $pageInfo236$pre$phiZ2D = $pageInfo221; else { + $55 = $53; + $57 = $54; + $i$5 = 0; + while (1) { + if (($i$5 | 0) >= (HEAP32[$55 + 12 >> 2] | 0)) break; + _free(HEAP32[$57 + ($i$5 * 12 | 0) >> 2] | 0); + $$pre167 = HEAP32[$refDataSetPtr1 >> 2] | 0; + $55 = $$pre167; + $57 = HEAP32[$$pre167 + 8 >> 2] | 0; + $i$5 = $i$5 + 1 | 0; + } + _free($57); + $pageInfo236$pre$phiZ2D = (HEAP32[$refDataSetPtr1 >> 2] | 0) + 8 | 0; + } + HEAP32[$pageInfo236$pre$phiZ2D >> 2] = $call65; + HEAP32[(HEAP32[$refDataSetPtr1 >> 2] | 0) + 12 >> 2] = $sub; + _kpmDeleteRefDataSet($refDataSetPtr2) | 0; + $retval$0 = 0; + } + } else { + _arLog(0, 3, 26204, $vararg_buffer); + $retval$0 = -1; } - $58 = __ZNK6vision25GaussianScaleSpacePyramid6imagesEv($1) | 0; - $60 = __ZNK6vision5Image5widthEv(HEAP32[$58 >> 2] | 0) | 0; - if (($60 | 0) != (__ZNK6vision25DoGScaleInvariantDetector5widthEv($2) | 0)) { - $68 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 34336) | 0, 34139) | 0, 39072) | 0, 215) | 0, 39079) | 0, 34409) | 0; - __ZNKSt3__28ios_base6getlocEv($4, $68 + (HEAP32[(HEAP32[$68 >> 2] | 0) + -12 >> 2] | 0) | 0); - $73 = __ZNKSt3__26locale9use_facetERNS0_2idE($4, 66512) | 0; - $77 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$73 >> 2] | 0) + 28 >> 2] & 127]($73, 10) | 0; - __ZNSt3__26localeD2Ev($4); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($68, $77) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($68) | 0; + STACKTOP = sp; + return $retval$0 | 0; +} + +function __ZN6vision18binomial_4th_orderEPfPtPKhmm($dst, $tmp, $src, $width, $height) { + $dst = $dst | 0; + $tmp = $tmp | 0; + $src = $src | 0; + $width = $width | 0; + $height = $height | 0; + var $add$ptr = 0, $add$ptr146 = 0, $add$ptr223 = 0, $add$ptr224 = 0, $add$ptr225 = 0, $add$ptr264 = 0, $add$ptr265 = 0, $add$ptr266 = 0, $add$ptr303 = 0, $add$ptr304 = 0, $add77 = 0, $arrayidx = 0, $arrayidx101 = 0, $arrayidx104 = 0, $arrayidx222 = 0, $arrayidx29 = 0, $arrayidx36 = 0, $arrayidx93 = 0, $call$i1$i = 0, $call$i1$i223 = 0, $call$i2$i = 0, $call$i2$i226 = 0, $call15 = 0, $call5 = 0, $col$0 = 0, $col147$0 = 0, $col181$0 = 0, $col229$0 = 0, $col271$0 = 0, $col309$0 = 0, $conv = 0, $conv105 = 0, $conv120 = 0, $conv152 = 0, $conv191 = 0, $conv282 = 0, $conv314 = 0, $conv49 = 0, $dst_ptr$0 = 0, $dst_ptr$1 = 0, $dst_ptr$2 = 0, $dst_ptr$3 = 0, $dst_ptr$4 = 0, $p$1 = 0, $p$2 = 0, $p$3 = 0, $p$4 = 0, $pm1$2 = 0, $pm1$3 = 0, $pm1$4 = 0, $pm2$0 = 0, $pm2$1 = 0, $pm2$2 = 0, $pm2$3 = 0, $pm2$4 = 0, $pp1$0 = 0, $pp1$1 = 0, $pp1$2 = 0, $pp1$3 = 0, $pp2$0 = 0, $pp2$1 = 0, $pp2$2 = 0, $ref$tmp$i222 = 0, $row$0 = 0, $row215$0 = 0, $scevgep = 0, $sub = 0, $sub100 = 0, $sub109 = 0, $sub20 = 0, $sub21 = 0, $tmp_ptr$0 = 0, $tmp_ptr$1 = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $ref$tmp$i222 = sp; + if ($width >>> 0 <= 4) { + $call5 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 31271) | 0, 31305) | 0, 39794) | 0, 55) | 0, 39801) | 0, 31438) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i222, $call5 + (HEAP32[(HEAP32[$call5 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i222, 67360) | 0; + $call$i2$i = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i >> 2] | 0) + 28 >> 2] & 127]($call$i1$i, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i222); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call5, $call$i2$i) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call5) | 0; _abort(); } - $78 = __ZNK6vision25GaussianScaleSpacePyramid6imagesEv($1) | 0; - $80 = __ZNK6vision5Image6heightEv(HEAP32[$78 >> 2] | 0) | 0; - if (($80 | 0) != (__ZNK6vision25DoGScaleInvariantDetector6heightEv($2) | 0)) { - $88 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 34444) | 0, 34139) | 0, 39072) | 0, 216) | 0, 39079) | 0, 34409) | 0; - __ZNKSt3__28ios_base6getlocEv($4, $88 + (HEAP32[(HEAP32[$88 >> 2] | 0) + -12 >> 2] | 0) | 0); - $93 = __ZNKSt3__26locale9use_facetERNS0_2idE($4, 66512) | 0; - $97 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$93 >> 2] | 0) + 28 >> 2] & 127]($93, 10) | 0; - __ZNSt3__26localeD2Ev($4); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($88, $97) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($88) | 0; + if ($height >>> 0 <= 4) { + $call15 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 31457) | 0, 31305) | 0, 39794) | 0, 56) | 0, 39801) | 0, 31438) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i222, $call15 + (HEAP32[(HEAP32[$call15 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i223 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i222, 67360) | 0; + $call$i2$i226 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i223 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i223, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i222); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call15, $call$i2$i226) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call15) | 0; _abort(); } - __ZN6vision25DoGScaleInvariantDetector6detectEPKNS_25GaussianScaleSpacePyramidE($2, $1); - $98 = __ZNK6vision25DoGScaleInvariantDetector8featuresEv($2) | 0; - __ZNSt3__26vectorIN6vision12FeaturePointENS_9allocatorIS2_EEEC2Em($4, ((HEAP32[$98 + 4 >> 2] | 0) - (HEAP32[$98 >> 2] | 0) | 0) / 36 | 0); - $$0 = 0; + $sub = $width + -1 | 0; + $sub20 = $width + -2 | 0; + $sub100 = $width + -3 | 0; + $sub109 = $width + -4 | 0; + $row$0 = 0; + $tmp_ptr$0 = $tmp; + while (1) { + if (($row$0 | 0) == ($height | 0)) break; + $arrayidx = $src + (Math_imul($row$0, $width) | 0) | 0; + $conv = HEAPU8[$arrayidx >> 0] | 0; + $arrayidx29 = $arrayidx + 1 | 0; + $arrayidx36 = $arrayidx + 2 | 0; + HEAP16[$tmp_ptr$0 >> 1] = ($conv * 7 | 0) + (HEAPU8[$arrayidx36 >> 0] | 0) + ((HEAPU8[$arrayidx29 >> 0] | 0) + $conv << 2); + $conv49 = HEAPU8[$arrayidx >> 0] | 0; + HEAP16[$tmp_ptr$0 + 2 >> 1] = ((HEAPU8[$arrayidx29 >> 0] | 0) * 6 | 0) + $conv49 + (HEAPU8[$arrayidx + 3 >> 0] | 0) + ((HEAPU8[$arrayidx36 >> 0] | 0) + $conv49 << 2); + $col$0 = 2; + $tmp_ptr$1 = $tmp_ptr$0 + 4 | 0; + while (1) { + if (($col$0 | 0) == ($sub20 | 0)) break; + $add77 = $col$0 + 1 | 0; + HEAP16[$tmp_ptr$1 >> 1] = ((HEAPU8[$arrayidx + $col$0 >> 0] | 0) * 6 | 0) + (HEAPU8[$arrayidx + ($col$0 + -2) >> 0] | 0) + ((HEAPU8[$arrayidx + $add77 >> 0] | 0) + (HEAPU8[$arrayidx + ($col$0 + -1) >> 0] | 0) << 2) + (HEAPU8[$arrayidx + ($col$0 + 2) >> 0] | 0); + $col$0 = $add77; + $tmp_ptr$1 = $tmp_ptr$1 + 2 | 0; + } + $scevgep = $tmp_ptr$0 + ($sub20 << 1) | 0; + $arrayidx93 = $arrayidx + $sub20 | 0; + $arrayidx101 = $arrayidx + $sub100 | 0; + $arrayidx104 = $arrayidx + $sub | 0; + $conv105 = HEAPU8[$arrayidx104 >> 0] | 0; + HEAP16[$scevgep >> 1] = ((HEAPU8[$arrayidx93 >> 0] | 0) * 6 | 0) + $conv105 + (HEAPU8[$arrayidx + $sub109 >> 0] | 0) + ($conv105 + (HEAPU8[$arrayidx101 >> 0] | 0) << 2); + $conv120 = HEAPU8[$arrayidx104 >> 0] | 0; + HEAP16[$scevgep + 2 >> 1] = ($conv120 * 7 | 0) + (HEAPU8[$arrayidx101 >> 0] | 0) + ((HEAPU8[$arrayidx93 >> 0] | 0) + $conv120 << 2); + $row$0 = $row$0 + 1 | 0; + $tmp_ptr$0 = $tmp_ptr$0 + ($width << 1) | 0; + } + $sub21 = $height + -2 | 0; + $add$ptr = $tmp + ($width << 1) | 0; + $add$ptr146 = $add$ptr + ($width << 1) | 0; + $col147$0 = 0; + $dst_ptr$0 = $dst; + $pm2$0 = $tmp; + $pp1$0 = $add$ptr; + $pp2$0 = $add$ptr146; + while (1) { + if (($col147$0 | 0) == ($width | 0)) break; + $conv152 = HEAPU16[$pm2$0 >> 1] | 0; + HEAPF32[$dst_ptr$0 >> 2] = +(($conv152 * 7 | 0) + ((HEAPU16[$pp1$0 >> 1] | 0) + $conv152 << 2) + (HEAPU16[$pp2$0 >> 1] | 0) | 0) * .00390625; + $col147$0 = $col147$0 + 1 | 0; + $dst_ptr$0 = $dst_ptr$0 + 4 | 0; + $pm2$0 = $pm2$0 + 2 | 0; + $pp1$0 = $pp1$0 + 2 | 0; + $pp2$0 = $pp2$0 + 2 | 0; + } + $col181$0 = 0; + $dst_ptr$1 = $dst + ($width << 2) | 0; + $p$1 = $add$ptr; + $pm2$1 = $tmp; + $pp1$1 = $add$ptr146; + $pp2$1 = $add$ptr146 + ($width << 1) | 0; + while (1) { + if (($col181$0 | 0) == ($width | 0)) break; + $conv191 = HEAPU16[$pm2$1 >> 1] | 0; + HEAPF32[$dst_ptr$1 >> 2] = +(((HEAPU16[$p$1 >> 1] | 0) * 6 | 0) + $conv191 + ((HEAPU16[$pp1$1 >> 1] | 0) + $conv191 << 2) + (HEAPU16[$pp2$1 >> 1] | 0) | 0) * .00390625; + $col181$0 = $col181$0 + 1 | 0; + $dst_ptr$1 = $dst_ptr$1 + 4 | 0; + $p$1 = $p$1 + 2 | 0; + $pm2$1 = $pm2$1 + 2 | 0; + $pp1$1 = $pp1$1 + 2 | 0; + $pp2$1 = $pp2$1 + 2 | 0; + } + $row215$0 = 2; + while (1) { + if (($row215$0 | 0) == ($sub21 | 0)) break; + $arrayidx222 = $tmp + ((Math_imul($row215$0 + -2 | 0, $width) | 0) << 1) | 0; + $add$ptr223 = $arrayidx222 + ($width << 1) | 0; + $add$ptr224 = $add$ptr223 + ($width << 1) | 0; + $add$ptr225 = $add$ptr224 + ($width << 1) | 0; + $col229$0 = 0; + $dst_ptr$2 = $dst + ((Math_imul($row215$0, $width) | 0) << 2) | 0; + $p$2 = $add$ptr224; + $pm1$2 = $add$ptr223; + $pm2$2 = $arrayidx222; + $pp1$2 = $add$ptr225; + $pp2$2 = $add$ptr225 + ($width << 1) | 0; + while (1) { + if (($col229$0 | 0) == ($width | 0)) break; + HEAPF32[$dst_ptr$2 >> 2] = +(((HEAPU16[$p$2 >> 1] | 0) * 6 | 0) + (HEAPU16[$pm2$2 >> 1] | 0) + ((HEAPU16[$pp1$2 >> 1] | 0) + (HEAPU16[$pm1$2 >> 1] | 0) << 2) + (HEAPU16[$pp2$2 >> 1] | 0) | 0) * .00390625; + $col229$0 = $col229$0 + 1 | 0; + $dst_ptr$2 = $dst_ptr$2 + 4 | 0; + $p$2 = $p$2 + 2 | 0; + $pm1$2 = $pm1$2 + 2 | 0; + $pm2$2 = $pm2$2 + 2 | 0; + $pp1$2 = $pp1$2 + 2 | 0; + $pp2$2 = $pp2$2 + 2 | 0; + } + $row215$0 = $row215$0 + 1 | 0; + } + $add$ptr264 = $tmp + ((Math_imul($height + -4 | 0, $width) | 0) << 1) | 0; + $add$ptr265 = $add$ptr264 + ($width << 1) | 0; + $add$ptr266 = $add$ptr265 + ($width << 1) | 0; + $col271$0 = 0; + $dst_ptr$3 = $dst + ((Math_imul($sub21, $width) | 0) << 2) | 0; + $p$3 = $add$ptr266; + $pm1$3 = $add$ptr265; + $pm2$3 = $add$ptr264; + $pp1$3 = $add$ptr266 + ($width << 1) | 0; + while (1) { + if (($col271$0 | 0) == ($width | 0)) break; + $conv282 = HEAPU16[$pp1$3 >> 1] | 0; + HEAPF32[$dst_ptr$3 >> 2] = +(((HEAPU16[$p$3 >> 1] | 0) * 6 | 0) + (HEAPU16[$pm2$3 >> 1] | 0) + ($conv282 + (HEAPU16[$pm1$3 >> 1] | 0) << 2) + $conv282 | 0) * .00390625; + $col271$0 = $col271$0 + 1 | 0; + $dst_ptr$3 = $dst_ptr$3 + 4 | 0; + $p$3 = $p$3 + 2 | 0; + $pm1$3 = $pm1$3 + 2 | 0; + $pm2$3 = $pm2$3 + 2 | 0; + $pp1$3 = $pp1$3 + 2 | 0; + } + $add$ptr303 = $tmp + ((Math_imul($height + -3 | 0, $width) | 0) << 1) | 0; + $add$ptr304 = $add$ptr303 + ($width << 1) | 0; + $col309$0 = 0; + $dst_ptr$4 = $dst + ((Math_imul($height + -1 | 0, $width) | 0) << 2) | 0; + $p$4 = $add$ptr304 + ($width << 1) | 0; + $pm1$4 = $add$ptr304; + $pm2$4 = $add$ptr303; while (1) { - $104 = __ZNK6vision25DoGScaleInvariantDetector8featuresEv($2) | 0; - if ($$0 >>> 0 >= (((HEAP32[$104 + 4 >> 2] | 0) - (HEAP32[$104 >> 2] | 0) | 0) / 36 | 0) >>> 0) break; - $112 = __ZNK6vision25DoGScaleInvariantDetector8featuresEv($2) | 0; - $113 = HEAP32[$112 >> 2] | 0; - __ZN6vision12FeaturePointC2Effffb($5, +HEAPF32[$113 + ($$0 * 36 | 0) >> 2], +HEAPF32[$113 + ($$0 * 36 | 0) + 4 >> 2], +HEAPF32[$113 + ($$0 * 36 | 0) + 8 >> 2], +HEAPF32[$113 + ($$0 * 36 | 0) + 28 >> 2], +HEAPF32[$113 + ($$0 * 36 | 0) + 24 >> 2] > 0.0); - $126 = (HEAP32[$4 >> 2] | 0) + ($$0 * 20 | 0) | 0; - HEAP32[$126 >> 2] = HEAP32[$5 >> 2]; - HEAP32[$126 + 4 >> 2] = HEAP32[$5 + 4 >> 2]; - HEAP32[$126 + 8 >> 2] = HEAP32[$5 + 8 >> 2]; - HEAP32[$126 + 12 >> 2] = HEAP32[$5 + 12 >> 2]; - HEAP8[$126 + 16 >> 0] = HEAP8[$5 + 16 >> 0] | 0; - __ZN6vision12FeaturePointD2Ev($5); - $$0 = $$0 + 1 | 0; + if (($col309$0 | 0) == ($width | 0)) break; + $conv314 = HEAPU16[$p$4 >> 1] | 0; + HEAPF32[$dst_ptr$4 >> 2] = +(($conv314 * 6 | 0) + (HEAPU16[$pm2$4 >> 1] | 0) + ($conv314 + (HEAPU16[$pm1$4 >> 1] | 0) << 2) + $conv314 | 0) * .00390625; + $col309$0 = $col309$0 + 1 | 0; + $dst_ptr$4 = $dst_ptr$4 + 4 | 0; + $p$4 = $p$4 + 2 | 0; + $pm1$4 = $pm1$4 + 2 | 0; + $pm2$4 = $pm2$4 + 2 | 0; + } + STACKTOP = sp; + return; +} + +function __ZNSt3__211__money_putIwE8__formatEPwRS2_S3_jPKwS5_RKNS_5ctypeIwEEbRKNS_10money_base7patternEwwRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEERKNSE_IwNSF_IwEENSH_IwEEEESQ_i($__mb, $__mi, $__me, $__flags, $__db, $__de, $__ct, $__neg, $__pat, $__dp, $__ts, $__grp, $__sym, $__sn, $__fd) { + $__mb = $__mb | 0; + $__mi = $__mi | 0; + $__me = $__me | 0; + $__flags = $__flags | 0; + $__db = $__db | 0; + $__de = $__de | 0; + $__ct = $__ct | 0; + $__neg = $__neg | 0; + $__pat = $__pat | 0; + $__dp = $__dp | 0; + $__ts = $__ts | 0; + $__grp = $__grp | 0; + $__sym = $__sym | 0; + $__sn = $__sn | 0; + $__fd = $__fd | 0; + var $12 = 0, $13 = 0, $14 = 0, $17 = 0, $18 = 0, $2 = 0, $20 = 0, $24 = 0, $25 = 0, $28 = 0, $29 = 0, $33 = 0, $34 = 0, $37 = 0, $38 = 0, $39 = 0, $40 = 0, $41 = 0, $43 = 0, $44 = 0, $47 = 0, $48 = 0, $8 = 0, $9 = 0, $__d$0 = 0, $__d$1 = 0, $__d$2 = 0, $__d$3 = 0, $__db$addr$0 = 0, $__db$addr$2 = 0, $__f$0 = 0, $__f$1 = 0, $__first$addr$0$i$i = 0, $__gl$0 = 0, $__gl$0$ph = 0, $__gl$1 = 0, $__ig$0 = 0, $__ig$1 = 0, $__last$addr$0$i$i = 0, $__ng$0 = 0, $__ng$1 = 0, $__p$0 = 0, $__result$addr$0$i$i = 0, $__result$addr$0$i$i143 = 0, $__size_$i$i$i102 = 0, $__size_$i$i$i111 = 0, $__size_$i$i$i132 = 0, $__size_$i2$i$i113 = 0, $__size_$i2$i$i134 = 0, $__size_$i3$i$i = 0, $add$ptr$i = 0, $add$ptr$i$i178 = 0, $add$ptr$i161 = 0, $call$i = 0, $call$i110 = 0, $cmp27 = 0, $cmp31 = 0, $cond = 0, $cond$i = 0, $cond$i$i138 = 0, $cond$i$i169175 = 0, $inc = 0, $incdec$ptr$i$i73 = 0, $incdec$ptr33 = 0, $incdec$ptr42 = 0, $incdec$ptr42180 = 0, $incdec$ptr51 = 0, $incdec$ptr63 = 0, $incdec$ptr81 = 0, $spec$select = 0, $tobool = 0, $tobool$i$i = 0, $tobool$i$i$i103 = 0, $tobool$i$i$i112 = 0, $tobool$i$i$i133 = 0, $tobool$i$i88 = 0; + HEAP32[$__me >> 2] = $__mb; + $__size_$i$i$i111 = $__sn + 8 + 3 | 0; + $__size_$i2$i$i113 = $__sn + 4 | 0; + $__size_$i$i$i132 = $__sym + 8 + 3 | 0; + $__size_$i2$i$i134 = $__sym + 4 | 0; + $tobool = ($__flags & 512 | 0) == 0; + $cmp27 = ($__fd | 0) > 0; + $__size_$i$i$i102 = $__grp + 11 | 0; + $__size_$i3$i$i = $__grp + 4 | 0; + $__db$addr$0 = $__db; + $__p$0 = 0; + while (1) { + if (($__p$0 | 0) == 4) break; + L4 : do switch (HEAP8[$__pat + $__p$0 >> 0] | 0) { + case 0: + { + HEAP32[$__mi >> 2] = HEAP32[$__me >> 2]; + $__db$addr$2 = $__db$addr$0; + break; + } + case 1: + { + HEAP32[$__mi >> 2] = HEAP32[$__me >> 2]; + $call$i110 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$__ct >> 2] | 0) + 44 >> 2] & 127]($__ct, 32) | 0; + $8 = HEAP32[$__me >> 2] | 0; + HEAP32[$__me >> 2] = $8 + 4; + HEAP32[$8 >> 2] = $call$i110; + $__db$addr$2 = $__db$addr$0; + break; + } + case 3: + { + $9 = HEAP8[$__size_$i$i$i111 >> 0] | 0; + $tobool$i$i$i112 = $9 << 24 >> 24 < 0; + if (!(($tobool$i$i$i112 ? HEAP32[$__size_$i2$i$i113 >> 2] | 0 : $9 & 255) | 0)) $__db$addr$2 = $__db$addr$0; else { + $12 = HEAP32[($tobool$i$i$i112 ? HEAP32[$__sn >> 2] | 0 : $__sn) >> 2] | 0; + $13 = HEAP32[$__me >> 2] | 0; + HEAP32[$__me >> 2] = $13 + 4; + HEAP32[$13 >> 2] = $12; + $__db$addr$2 = $__db$addr$0; + } + break; + } + case 2: + { + $14 = HEAP8[$__size_$i$i$i132 >> 0] | 0; + $tobool$i$i$i133 = $14 << 24 >> 24 < 0; + $cond$i$i138 = $tobool$i$i$i133 ? HEAP32[$__size_$i2$i$i134 >> 2] | 0 : $14 & 255; + if ($tobool | ($cond$i$i138 | 0) == 0) $__db$addr$2 = $__db$addr$0; else { + $cond$i$i169175 = $tobool$i$i$i133 ? HEAP32[$__sym >> 2] | 0 : $__sym; + $add$ptr$i161 = $cond$i$i169175 + ($cond$i$i138 << 2) | 0; + $17 = HEAP32[$__me >> 2] | 0; + $18 = $cond$i$i169175; + $__result$addr$0$i$i143 = $17; + while (1) { + if (($18 | 0) == ($add$ptr$i161 | 0)) break; + HEAP32[$__result$addr$0$i$i143 >> 2] = HEAP32[$18 >> 2]; + $18 = $18 + 4 | 0; + $__result$addr$0$i$i143 = $__result$addr$0$i$i143 + 4 | 0; + } + HEAP32[$__me >> 2] = $17 + ($cond$i$i138 << 2); + $__db$addr$2 = $__db$addr$0; + } + break; + } + case 4: + { + $20 = HEAP32[$__me >> 2] | 0; + $spec$select = $__neg ? $__db$addr$0 + 4 | 0 : $__db$addr$0; + $__d$0 = $spec$select; + while (1) { + if ($__d$0 >>> 0 >= $__de >>> 0) break; + if (!(FUNCTION_TABLE_iiii[HEAP32[(HEAP32[$__ct >> 2] | 0) + 12 >> 2] & 63]($__ct, 2048, HEAP32[$__d$0 >> 2] | 0) | 0)) break; + $__d$0 = $__d$0 + 4 | 0; + } + if ($cmp27) { + $__d$1 = $__d$0; + $__f$0 = $__fd; + while (1) { + $cmp31 = ($__f$0 | 0) > 0; + if (!($__d$1 >>> 0 > $spec$select >>> 0 & $cmp31)) break; + $incdec$ptr33 = $__d$1 + -4 | 0; + $24 = HEAP32[$incdec$ptr33 >> 2] | 0; + $25 = HEAP32[$__me >> 2] | 0; + HEAP32[$__me >> 2] = $25 + 4; + HEAP32[$25 >> 2] = $24; + $__d$1 = $incdec$ptr33; + $__f$0 = $__f$0 + -1 | 0; + } + if ($cmp31) $cond = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$__ct >> 2] | 0) + 44 >> 2] & 127]($__ct, 48) | 0; else $cond = 0; + $__f$1 = $__f$0; + $incdec$ptr42180 = HEAP32[$__me >> 2] | 0; + while (1) { + $incdec$ptr42 = $incdec$ptr42180 + 4 | 0; + if (($__f$1 | 0) <= 0) break; + HEAP32[$incdec$ptr42180 >> 2] = $cond; + $__f$1 = $__f$1 + -1 | 0; + $incdec$ptr42180 = $incdec$ptr42; + } + HEAP32[$__me >> 2] = $incdec$ptr42; + HEAP32[$incdec$ptr42180 >> 2] = $__dp; + $__d$2 = $__d$1; + } else $__d$2 = $__d$0; + if (($__d$2 | 0) == ($spec$select | 0)) { + $call$i = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$__ct >> 2] | 0) + 44 >> 2] & 127]($__ct, 48) | 0; + $28 = HEAP32[$__me >> 2] | 0; + $incdec$ptr51 = $28 + 4 | 0; + HEAP32[$__me >> 2] = $incdec$ptr51; + HEAP32[$28 >> 2] = $call$i; + $40 = $incdec$ptr51; + } else { + $29 = HEAP8[$__size_$i$i$i102 >> 0] | 0; + $tobool$i$i$i103 = $29 << 24 >> 24 < 0; + if (!(($tobool$i$i$i103 ? HEAP32[$__size_$i3$i$i >> 2] | 0 : $29 & 255) | 0)) $__gl$0$ph = -1; else $__gl$0$ph = HEAP8[($tobool$i$i$i103 ? HEAP32[$__grp >> 2] | 0 : $__grp) >> 0] | 0; + $__d$3 = $__d$2; + $__gl$0 = $__gl$0$ph; + $__ig$0 = 0; + $__ng$0 = 0; + while (1) { + if (($__d$3 | 0) == ($spec$select | 0)) break; + $33 = HEAP32[$__me >> 2] | 0; + if (($__ng$0 | 0) == ($__gl$0 | 0)) { + $incdec$ptr63 = $33 + 4 | 0; + HEAP32[$__me >> 2] = $incdec$ptr63; + HEAP32[$33 >> 2] = $__ts; + $inc = $__ig$0 + 1 | 0; + $34 = HEAP8[$__size_$i$i$i102 >> 0] | 0; + $tobool$i$i88 = $34 << 24 >> 24 < 0; + if ($inc >>> 0 < ($tobool$i$i88 ? HEAP32[$__size_$i3$i$i >> 2] | 0 : $34 & 255) >>> 0) { + $37 = HEAP8[($tobool$i$i88 ? HEAP32[$__grp >> 2] | 0 : $__grp) + $inc >> 0] | 0; + $39 = $incdec$ptr63; + $__gl$1 = $37 << 24 >> 24 == 127 ? -1 : $37 << 24 >> 24; + $__ig$1 = $inc; + $__ng$1 = 0; + } else { + $39 = $incdec$ptr63; + $__gl$1 = $__ng$0; + $__ig$1 = $inc; + $__ng$1 = 0; + } + } else { + $39 = $33; + $__gl$1 = $__gl$0; + $__ig$1 = $__ig$0; + $__ng$1 = $__ng$0; + } + $incdec$ptr81 = $__d$3 + -4 | 0; + $38 = HEAP32[$incdec$ptr81 >> 2] | 0; + HEAP32[$__me >> 2] = $39 + 4; + HEAP32[$39 >> 2] = $38; + $__d$3 = $incdec$ptr81; + $__gl$0 = $__gl$1; + $__ig$0 = $__ig$1; + $__ng$0 = $__ng$1 + 1 | 0; + } + $40 = HEAP32[$__me >> 2] | 0; + } + if (($20 | 0) == ($40 | 0)) $__db$addr$2 = $spec$select; else { + $__first$addr$0$i$i = $20; + $__last$addr$0$i$i = $40; + while (1) { + $incdec$ptr$i$i73 = $__last$addr$0$i$i + -4 | 0; + if ($__first$addr$0$i$i >>> 0 >= $incdec$ptr$i$i73 >>> 0) { + $__db$addr$2 = $spec$select; + break L4; + } + $41 = HEAP32[$__first$addr$0$i$i >> 2] | 0; + HEAP32[$__first$addr$0$i$i >> 2] = HEAP32[$incdec$ptr$i$i73 >> 2]; + HEAP32[$incdec$ptr$i$i73 >> 2] = $41; + $__first$addr$0$i$i = $__first$addr$0$i$i + 4 | 0; + $__last$addr$0$i$i = $incdec$ptr$i$i73; + } + } + break; + } + default: + $__db$addr$2 = $__db$addr$0; + } while (0); + $__db$addr$0 = $__db$addr$2; + $__p$0 = $__p$0 + 1 | 0; + } + $2 = HEAP8[$__size_$i$i$i111 >> 0] | 0; + $tobool$i$i = $2 << 24 >> 24 < 0; + $cond$i = $tobool$i$i ? HEAP32[$__size_$i2$i$i113 >> 2] | 0 : $2 & 255; + if ($cond$i >>> 0 > 1) { + $43 = HEAP32[$__sn >> 2] | 0; + $add$ptr$i$i178 = $tobool$i$i ? $43 + 4 | 0 : $__size_$i2$i$i113; + $add$ptr$i = ($tobool$i$i ? $43 : $__sn) + ($cond$i << 2) | 0; + $44 = HEAP32[$__me >> 2] | 0; + $47 = $add$ptr$i - $add$ptr$i$i178 | 0; + $48 = $add$ptr$i$i178; + $__result$addr$0$i$i = $44; + while (1) { + if (($48 | 0) == ($add$ptr$i | 0)) break; + HEAP32[$__result$addr$0$i$i >> 2] = HEAP32[$48 >> 2]; + $48 = $48 + 4 | 0; + $__result$addr$0$i$i = $__result$addr$0$i$i + 4 | 0; + } + HEAP32[$__me >> 2] = $44 + ($47 >>> 2 << 2); + } + switch (($__flags & 176) << 24 >> 24) { + case 32: + { + HEAP32[$__mi >> 2] = HEAP32[$__me >> 2]; + break; + } + case 16: + break; + default: + HEAP32[$__mi >> 2] = $__mb; } - __ZN6vision14FREAKExtractor7extractERNS_18BinaryFeatureStoreEPKNS_25GaussianScaleSpacePyramidERKNSt3__26vectorINS_12FeaturePointENS6_9allocatorIS8_EEEE($3, __ZN6vision8KeyframeILi96EE5storeEv($0) | 0, $1, $4); - __ZNSt3__213__vector_baseIN6vision12FeaturePointENS_9allocatorIS2_EEED2Ev($4); - STACKTOP = sp; return; } -function __ZN6vision18BinomialPyramid32f5buildERKNS_5ImageE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $10 = 0, $101 = 0, $103 = 0, $105 = 0, $111 = 0, $114 = 0, $117 = 0, $120 = 0, $123 = 0, $126 = 0, $129 = 0, $134 = 0, $136 = 0, $140 = 0, $142 = 0, $15 = 0, $19 = 0, $2 = 0, $27 = 0, $32 = 0, $36 = 0, $37 = 0, $43 = 0, $45 = 0, $54 = 0, $59 = 0, $63 = 0, $64 = 0, $73 = 0, $78 = 0, $82 = 0, $83 = 0, $92 = 0, $97 = 0, sp = 0; +function __ZN6vision18binomial_4th_orderEPfS0_PKfmm($dst, $tmp, $src, $width, $height) { + $dst = $dst | 0; + $tmp = $tmp | 0; + $src = $src | 0; + $width = $width | 0; + $height = $height | 0; + var $11 = 0.0, $13 = 0.0, $2 = 0.0, $21 = 0.0, $25 = 0.0, $35 = 0.0, $37 = 0.0, $6 = 0.0, $add$ptr = 0, $add$ptr153 = 0, $add$ptr154 = 0, $add$ptr155 = 0, $add$ptr185 = 0, $add$ptr186 = 0, $add$ptr187 = 0, $add$ptr215 = 0, $add$ptr216 = 0, $add$ptr98 = 0, $add53 = 0, $arrayidx = 0, $arrayidx152 = 0, $arrayidx26 = 0, $arrayidx31 = 0, $arrayidx65 = 0, $arrayidx68 = 0, $arrayidx70 = 0, $call$i1$i$i = 0, $call$i1$i$i197 = 0, $call$i2$i$i = 0, $call$i2$i$i200 = 0, $call15 = 0, $call5 = 0, $col$0 = 0, $col124$0 = 0, $col159$0 = 0, $col192$0 = 0, $col221$0 = 0, $col99$0 = 0, $dst_ptr$0 = 0, $dst_ptr$1 = 0, $dst_ptr$2 = 0, $dst_ptr$3 = 0, $dst_ptr$4 = 0, $p$1 = 0, $p$2 = 0, $p$3 = 0, $p$4 = 0, $pm1$2 = 0, $pm1$3 = 0, $pm1$4 = 0, $pm2$0 = 0, $pm2$1 = 0, $pm2$2 = 0, $pm2$3 = 0, $pm2$4 = 0, $pp1$0 = 0, $pp1$1 = 0, $pp1$2 = 0, $pp1$3 = 0, $pp2$0 = 0, $pp2$1 = 0, $pp2$2 = 0, $ref$tmp$i$i192 = 0, $row$0 = 0, $row145$0 = 0, $scevgep = 0, $sub = 0, $sub20 = 0, $sub21 = 0, $sub67 = 0, $sub74 = 0, $tmp_ptr$0 = 0, $tmp_ptr$1 = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $2 = sp; - if ((__ZNK6vision5Image4typeEv($1) | 0) != 1) { - $10 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 31302) | 0, 31153) | 0, 39072) | 0, 330) | 0, 39079) | 0, 31353) | 0; - __ZNKSt3__28ios_base6getlocEv($2, $10 + (HEAP32[(HEAP32[$10 >> 2] | 0) + -12 >> 2] | 0) | 0); - $15 = __ZNKSt3__26locale9use_facetERNS0_2idE($2, 66512) | 0; - $19 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$15 >> 2] | 0) + 28 >> 2] & 127]($15, 10) | 0; - __ZNSt3__26localeD2Ev($2); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($10, $19) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($10) | 0; + $ref$tmp$i$i192 = sp; + if ($width >>> 0 <= 4) { + $call5 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 31271) | 0, 31305) | 0, 39794) | 0, 168) | 0, 39801) | 0, 31438) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i$i192, $call5 + (HEAP32[(HEAP32[$call5 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i$i = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i$i192, 67360) | 0; + $call$i2$i$i = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i$i >> 2] | 0) + 28 >> 2] & 127]($call$i1$i$i, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i$i192); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call5, $call$i2$i$i) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call5) | 0; _abort(); } - if ((__ZNK6vision5Image8channelsEv($1) | 0) != 1) { - $27 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 31377) | 0, 31153) | 0, 39072) | 0, 331) | 0, 39079) | 0, 31422) | 0; - __ZNKSt3__28ios_base6getlocEv($2, $27 + (HEAP32[(HEAP32[$27 >> 2] | 0) + -12 >> 2] | 0) | 0); - $32 = __ZNKSt3__26locale9use_facetERNS0_2idE($2, 66512) | 0; - $36 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$32 >> 2] | 0) + 28 >> 2] & 127]($32, 10) | 0; - __ZNSt3__26localeD2Ev($2); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($27, $36) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($27) | 0; + if ($height >>> 0 <= 4) { + $call15 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 31457) | 0, 31305) | 0, 39794) | 0, 169) | 0, 39801) | 0, 31438) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i$i192, $call15 + (HEAP32[(HEAP32[$call15 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i$i197 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i$i192, 67360) | 0; + $call$i2$i$i200 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i$i197 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i$i197, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i$i192); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call15, $call$i2$i$i200) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call15) | 0; _abort(); } - $37 = $0 + 4 | 0; - $43 = $0 + 16 | 0; - $45 = $0 + 20 | 0; - if (((HEAP32[$0 + 8 >> 2] | 0) - (HEAP32[$37 >> 2] | 0) >> 5 | 0) != (Math_imul(HEAP32[$45 >> 2] | 0, HEAP32[$43 >> 2] | 0) | 0)) { - $54 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 31448) | 0, 31153) | 0, 39072) | 0, 333) | 0, 39079) | 0, 31522) | 0; - __ZNKSt3__28ios_base6getlocEv($2, $54 + (HEAP32[(HEAP32[$54 >> 2] | 0) + -12 >> 2] | 0) | 0); - $59 = __ZNKSt3__26locale9use_facetERNS0_2idE($2, 66512) | 0; - $63 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$59 >> 2] | 0) + 28 >> 2] & 127]($59, 10) | 0; - __ZNSt3__26localeD2Ev($2); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($54, $63) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($54) | 0; - _abort(); - } - $64 = __ZNK6vision5Image5widthEv($1) | 0; - if (($64 | 0) != (__ZNK6vision5Image5widthEv(HEAP32[$37 >> 2] | 0) | 0)) { - $73 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 31557) | 0, 31153) | 0, 39072) | 0, 334) | 0, 39079) | 0, 31617) | 0; - __ZNKSt3__28ios_base6getlocEv($2, $73 + (HEAP32[(HEAP32[$73 >> 2] | 0) + -12 >> 2] | 0) | 0); - $78 = __ZNKSt3__26locale9use_facetERNS0_2idE($2, 66512) | 0; - $82 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$78 >> 2] | 0) + 28 >> 2] & 127]($78, 10) | 0; - __ZNSt3__26localeD2Ev($2); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($73, $82) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($73) | 0; - _abort(); - } - $83 = __ZNK6vision5Image6heightEv($1) | 0; - if (($83 | 0) != (__ZNK6vision5Image6heightEv(HEAP32[$37 >> 2] | 0) | 0)) { - $92 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 31649) | 0, 31153) | 0, 39072) | 0, 335) | 0, 39079) | 0, 31617) | 0; - __ZNKSt3__28ios_base6getlocEv($2, $92 + (HEAP32[(HEAP32[$92 >> 2] | 0) + -12 >> 2] | 0) | 0); - $97 = __ZNKSt3__26locale9use_facetERNS0_2idE($2, 66512) | 0; - $101 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$97 >> 2] | 0) + 28 >> 2] & 127]($97, 10) | 0; - __ZNSt3__26localeD2Ev($2); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($92, $101) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($92) | 0; - _abort(); + $sub = $width + -1 | 0; + $sub20 = $width + -2 | 0; + $sub67 = $width + -3 | 0; + $sub74 = $width + -4 | 0; + $row$0 = 0; + $tmp_ptr$0 = $tmp; + while (1) { + if (($row$0 | 0) == ($height | 0)) break; + $arrayidx = $src + ((Math_imul($row$0, $width) | 0) << 2) | 0; + $2 = +HEAPF32[$arrayidx >> 2]; + $arrayidx26 = $arrayidx + 4 | 0; + $arrayidx31 = $arrayidx + 8 | 0; + HEAPF32[$tmp_ptr$0 >> 2] = +HEAPF32[$arrayidx31 >> 2] + ($2 + ($2 * 6.0 + ($2 + +HEAPF32[$arrayidx26 >> 2]) * 4.0)); + $6 = +HEAPF32[$arrayidx >> 2]; + HEAPF32[$tmp_ptr$0 + 4 >> 2] = +HEAPF32[$arrayidx + 12 >> 2] + ($6 + (+HEAPF32[$arrayidx26 >> 2] * 6.0 + ($6 + +HEAPF32[$arrayidx31 >> 2]) * 4.0)); + $col$0 = 2; + $tmp_ptr$1 = $tmp_ptr$0 + 8 | 0; + while (1) { + if (($col$0 | 0) == ($sub20 | 0)) break; + $add53 = $col$0 + 1 | 0; + HEAPF32[$tmp_ptr$1 >> 2] = +HEAPF32[$arrayidx + ($col$0 + 2 << 2) >> 2] + (+HEAPF32[$arrayidx + ($col$0 + -2 << 2) >> 2] + (+HEAPF32[$arrayidx + ($col$0 << 2) >> 2] * 6.0 + (+HEAPF32[$arrayidx + ($col$0 + -1 << 2) >> 2] + +HEAPF32[$arrayidx + ($add53 << 2) >> 2]) * 4.0)); + $col$0 = $add53; + $tmp_ptr$1 = $tmp_ptr$1 + 4 | 0; + } + $scevgep = $tmp_ptr$0 + ($sub20 << 2) | 0; + $arrayidx65 = $arrayidx + ($sub20 << 2) | 0; + $arrayidx68 = $arrayidx + ($sub67 << 2) | 0; + $arrayidx70 = $arrayidx + ($sub << 2) | 0; + $11 = +HEAPF32[$arrayidx70 >> 2]; + HEAPF32[$scevgep >> 2] = $11 + (+HEAPF32[$arrayidx + ($sub74 << 2) >> 2] + (+HEAPF32[$arrayidx65 >> 2] * 6.0 + (+HEAPF32[$arrayidx68 >> 2] + $11) * 4.0)); + $13 = +HEAPF32[$arrayidx70 >> 2]; + HEAPF32[$scevgep + 4 >> 2] = $13 + (+HEAPF32[$arrayidx68 >> 2] + ($13 * 6.0 + ($13 + +HEAPF32[$arrayidx65 >> 2]) * 4.0)); + $row$0 = $row$0 + 1 | 0; + $tmp_ptr$0 = $tmp_ptr$0 + ($width << 2) | 0; + } + $sub21 = $height + -2 | 0; + $add$ptr = $tmp + ($width << 2) | 0; + $add$ptr98 = $add$ptr + ($width << 2) | 0; + $col99$0 = 0; + $dst_ptr$0 = $dst; + $pm2$0 = $tmp; + $pp1$0 = $add$ptr; + $pp2$0 = $add$ptr98; + while (1) { + if (($col99$0 | 0) == ($width | 0)) break; + $21 = +HEAPF32[$pm2$0 >> 2]; + HEAPF32[$dst_ptr$0 >> 2] = (+HEAPF32[$pp2$0 >> 2] + ($21 + ($21 * 6.0 + ($21 + +HEAPF32[$pp1$0 >> 2]) * 4.0))) * .00390625; + $col99$0 = $col99$0 + 1 | 0; + $dst_ptr$0 = $dst_ptr$0 + 4 | 0; + $pm2$0 = $pm2$0 + 4 | 0; + $pp1$0 = $pp1$0 + 4 | 0; + $pp2$0 = $pp2$0 + 4 | 0; + } + $col124$0 = 0; + $dst_ptr$1 = $dst + ($width << 2) | 0; + $p$1 = $add$ptr; + $pm2$1 = $tmp; + $pp1$1 = $add$ptr98; + $pp2$1 = $add$ptr98 + ($width << 2) | 0; + while (1) { + if (($col124$0 | 0) == ($width | 0)) break; + $25 = +HEAPF32[$pm2$1 >> 2]; + HEAPF32[$dst_ptr$1 >> 2] = (+HEAPF32[$pp2$1 >> 2] + ($25 + (+HEAPF32[$p$1 >> 2] * 6.0 + ($25 + +HEAPF32[$pp1$1 >> 2]) * 4.0))) * .00390625; + $col124$0 = $col124$0 + 1 | 0; + $dst_ptr$1 = $dst_ptr$1 + 4 | 0; + $p$1 = $p$1 + 4 | 0; + $pm2$1 = $pm2$1 + 4 | 0; + $pp1$1 = $pp1$1 + 4 | 0; + $pp2$1 = $pp2$1 + 4 | 0; + } + $row145$0 = 2; + while (1) { + if (($row145$0 | 0) == ($sub21 | 0)) break; + $arrayidx152 = $tmp + ((Math_imul($row145$0 + -2 | 0, $width) | 0) << 2) | 0; + $add$ptr153 = $arrayidx152 + ($width << 2) | 0; + $add$ptr154 = $add$ptr153 + ($width << 2) | 0; + $add$ptr155 = $add$ptr154 + ($width << 2) | 0; + $col159$0 = 0; + $dst_ptr$2 = $dst + ((Math_imul($row145$0, $width) | 0) << 2) | 0; + $p$2 = $add$ptr154; + $pm1$2 = $add$ptr153; + $pm2$2 = $arrayidx152; + $pp1$2 = $add$ptr155; + $pp2$2 = $add$ptr155 + ($width << 2) | 0; + while (1) { + if (($col159$0 | 0) == ($width | 0)) break; + HEAPF32[$dst_ptr$2 >> 2] = (+HEAPF32[$pp2$2 >> 2] + (+HEAPF32[$pm2$2 >> 2] + (+HEAPF32[$p$2 >> 2] * 6.0 + (+HEAPF32[$pm1$2 >> 2] + +HEAPF32[$pp1$2 >> 2]) * 4.0))) * .00390625; + $col159$0 = $col159$0 + 1 | 0; + $dst_ptr$2 = $dst_ptr$2 + 4 | 0; + $p$2 = $p$2 + 4 | 0; + $pm1$2 = $pm1$2 + 4 | 0; + $pm2$2 = $pm2$2 + 4 | 0; + $pp1$2 = $pp1$2 + 4 | 0; + $pp2$2 = $pp2$2 + 4 | 0; + } + $row145$0 = $row145$0 + 1 | 0; + } + $add$ptr185 = $tmp + ((Math_imul($height + -4 | 0, $width) | 0) << 2) | 0; + $add$ptr186 = $add$ptr185 + ($width << 2) | 0; + $add$ptr187 = $add$ptr186 + ($width << 2) | 0; + $col192$0 = 0; + $dst_ptr$3 = $dst + ((Math_imul($sub21, $width) | 0) << 2) | 0; + $p$3 = $add$ptr187; + $pm1$3 = $add$ptr186; + $pm2$3 = $add$ptr185; + $pp1$3 = $add$ptr187 + ($width << 2) | 0; + while (1) { + if (($col192$0 | 0) == ($width | 0)) break; + $35 = +HEAPF32[$pp1$3 >> 2]; + HEAPF32[$dst_ptr$3 >> 2] = ($35 + (+HEAPF32[$pm2$3 >> 2] + (+HEAPF32[$p$3 >> 2] * 6.0 + (+HEAPF32[$pm1$3 >> 2] + $35) * 4.0))) * .00390625; + $col192$0 = $col192$0 + 1 | 0; + $dst_ptr$3 = $dst_ptr$3 + 4 | 0; + $p$3 = $p$3 + 4 | 0; + $pm1$3 = $pm1$3 + 4 | 0; + $pm2$3 = $pm2$3 + 4 | 0; + $pp1$3 = $pp1$3 + 4 | 0; + } + $add$ptr215 = $tmp + ((Math_imul($height + -3 | 0, $width) | 0) << 2) | 0; + $add$ptr216 = $add$ptr215 + ($width << 2) | 0; + $col221$0 = 0; + $dst_ptr$4 = $dst + ((Math_imul($height + -1 | 0, $width) | 0) << 2) | 0; + $p$4 = $add$ptr216 + ($width << 2) | 0; + $pm1$4 = $add$ptr216; + $pm2$4 = $add$ptr215; + while (1) { + if (($col221$0 | 0) == ($width | 0)) break; + $37 = +HEAPF32[$p$4 >> 2]; + HEAPF32[$dst_ptr$4 >> 2] = ($37 + (+HEAPF32[$pm2$4 >> 2] + ($37 * 6.0 + (+HEAPF32[$pm1$4 >> 2] + $37) * 4.0))) * .00390625; + $col221$0 = $col221$0 + 1 | 0; + $dst_ptr$4 = $dst_ptr$4 + 4 | 0; + $p$4 = $p$4 + 4 | 0; + $pm1$4 = $pm1$4 + 4 | 0; + $pm2$4 = $pm2$4 + 4 | 0; } - __ZN6vision18BinomialPyramid32f12apply_filterERNS_5ImageERKS1_($0, HEAP32[$37 >> 2] | 0, $1); - $103 = HEAP32[$37 >> 2] | 0; - __ZN6vision18BinomialPyramid32f12apply_filterERNS_5ImageERKS1_($0, $103 + 32 | 0, $103); - $105 = HEAP32[$37 >> 2] | 0; - __ZN6vision18BinomialPyramid32f18apply_filter_twiceERNS_5ImageERKS1_($0, $105 + 64 | 0, $105 + 32 | 0); - $$0 = 1; + STACKTOP = sp; + return; +} + +function _jpeg_idct_15x15($cinfo, $compptr, $coef_block, $output_buf, $output_col) { + $cinfo = $cinfo | 0; + $compptr = $compptr | 0; + $coef_block = $coef_block | 0; + $output_buf = $output_buf | 0; + $output_col = $output_col | 0; + var $0 = 0, $25 = 0, $26 = 0, $27 = 0, $30 = 0, $31 = 0, $33 = 0, $add = 0, $add$ptr = 0, $add$ptr145 = 0, $add155 = 0, $add16 = 0, $add160 = 0, $add165 = 0, $add168 = 0, $add179 = 0, $add181 = 0, $add183 = 0, $add195 = 0, $add202 = 0, $add208 = 0, $add21 = 0, $add216 = 0, $add220 = 0, $add26 = 0, $add29 = 0, $add40 = 0, $add42 = 0, $add44 = 0, $add68 = 0, $add75 = 0, $add81 = 0, $add89 = 0, $add93 = 0, $ctr$0306 = 0, $ctr$1302 = 0, $inptr$0303 = 0, $mul13 = 0, $mul161 = 0, $mul162 = 0, $mul163 = 0, $mul169 = 0, $mul170$neg = 0, $mul176 = 0, $mul177 = 0, $mul189 = 0, $mul193 = 0, $mul198 = 0, $mul199 = 0, $mul212 = 0, $mul22 = 0, $mul23 = 0, $mul24 = 0, $mul30 = 0, $mul31$neg = 0, $mul37 = 0, $mul38 = 0, $mul5 = 0, $mul50 = 0, $mul54 = 0, $mul59 = 0, $mul63 = 0, $mul66 = 0, $mul71 = 0, $mul72 = 0, $mul85 = 0, $mul9 = 0, $quantptr$0304 = 0, $shl148 = 0, $sub = 0, $sub154 = 0, $sub158 = 0, $sub159 = 0, $sub172 = 0, $sub175 = 0, $sub185 = 0, $sub19 = 0, $sub191 = 0, $sub197 = 0, $sub20 = 0, $sub200 = 0, $sub205 = 0, $sub210 = 0, $sub33 = 0, $sub36 = 0, $sub46 = 0, $sub64 = 0, $sub70 = 0, $sub73 = 0, $sub78 = 0, $sub83 = 0, $workspace = 0, $wsptr$0305 = 0, $wsptr$1301 = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 480 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(480); + $workspace = sp; + $0 = HEAP32[$cinfo + 336 >> 2] | 0; + $ctr$0306 = 0; + $inptr$0303 = $coef_block; + $quantptr$0304 = HEAP32[$compptr + 84 >> 2] | 0; + $wsptr$0305 = $workspace; while (1) { - if ($$0 >>> 0 >= (HEAP32[$43 >> 2] | 0) >>> 0) break; - $111 = Math_imul(HEAP32[$45 >> 2] | 0, $$0) | 0; - $114 = __ZN6vision5Image3getEv((HEAP32[$37 >> 2] | 0) + ($111 << 5) | 0) | 0; - $117 = (Math_imul(HEAP32[$45 >> 2] | 0, $$0) | 0) + -1 | 0; - $120 = __ZN6vision5Image3getEv((HEAP32[$37 >> 2] | 0) + ($117 << 5) | 0) | 0; - $123 = (Math_imul(HEAP32[$45 >> 2] | 0, $$0) | 0) + -1 | 0; - $126 = __ZNK6vision5Image5widthEv((HEAP32[$37 >> 2] | 0) + ($123 << 5) | 0) | 0; - $129 = (Math_imul(HEAP32[$45 >> 2] | 0, $$0) | 0) + -1 | 0; - __ZN6vision19downsample_bilinearEPfPKfmm($114, $120, $126, __ZNK6vision5Image6heightEv((HEAP32[$37 >> 2] | 0) + ($129 << 5) | 0) | 0); - $134 = Math_imul(HEAP32[$45 >> 2] | 0, $$0) | 0; - $136 = HEAP32[$37 >> 2] | 0; - __ZN6vision18BinomialPyramid32f12apply_filterERNS_5ImageERKS1_($0, $136 + ($134 + 1 << 5) | 0, $136 + ($134 << 5) | 0); - $140 = Math_imul(HEAP32[$45 >> 2] | 0, $$0) | 0; - $142 = HEAP32[$37 >> 2] | 0; - __ZN6vision18BinomialPyramid32f18apply_filter_twiceERNS_5ImageERKS1_($0, $142 + ($140 + 2 << 5) | 0, $142 + ($140 + 1 << 5) | 0); - $$0 = $$0 + 1 | 0; + $add = Math_imul(HEAP16[$inptr$0303 >> 1] << 13, HEAP32[$quantptr$0304 >> 2] | 0) | 0 | 1024; + $mul5 = Math_imul(HEAP32[$quantptr$0304 + 64 >> 2] | 0, HEAP16[$inptr$0303 + 32 >> 1] | 0) | 0; + $mul9 = Math_imul(HEAP32[$quantptr$0304 + 128 >> 2] | 0, HEAP16[$inptr$0303 + 64 >> 1] | 0) | 0; + $mul13 = Math_imul(HEAP32[$quantptr$0304 + 192 >> 2] | 0, HEAP16[$inptr$0303 + 96 >> 1] | 0) | 0; + $sub = (Math_imul($mul13, -3580) | 0) + $add | 0; + $add16 = ($mul13 * 9373 | 0) + $add | 0; + $sub19 = (Math_imul($mul13, -11586) | 0) + $add | 0; + $sub20 = $mul5 - $mul9 | 0; + $add21 = $mul9 + $mul5 | 0; + $mul22 = $add21 * 10958 | 0; + $mul23 = $sub20 * 374 | 0; + $mul24 = $mul5 * 11795 | 0; + $add26 = $mul23 + $mul22 + $add16 | 0; + $add29 = $mul24 - $mul22 + $mul23 + $sub | 0; + $mul30 = $add21 * 4482 | 0; + $mul31$neg = Math_imul($sub20, -3271) | 0; + $sub33 = $add16 - $mul30 + $mul31$neg | 0; + $sub36 = $mul30 - $mul24 + $mul31$neg + $sub | 0; + $mul37 = $add21 * 6476 | 0; + $mul38 = $sub20 * 2896 | 0; + $add40 = $mul38 + $mul37 + $sub | 0; + $add42 = $add16 - $mul37 + $mul38 | 0; + $add44 = $sub19 + ($sub20 * 5792 | 0) | 0; + $sub46 = (Math_imul($sub20, -11584) | 0) + $sub19 | 0; + $mul50 = Math_imul(HEAP32[$quantptr$0304 + 32 >> 2] | 0, HEAP16[$inptr$0303 + 16 >> 1] | 0) | 0; + $mul54 = Math_imul(HEAP32[$quantptr$0304 + 96 >> 2] | 0, HEAP16[$inptr$0303 + 48 >> 1] | 0) | 0; + $mul59 = Math_imul((HEAP16[$inptr$0303 + 80 >> 1] | 0) * 10033 | 0, HEAP32[$quantptr$0304 + 160 >> 2] | 0) | 0; + $mul63 = Math_imul(HEAP32[$quantptr$0304 + 224 >> 2] | 0, HEAP16[$inptr$0303 + 112 >> 1] | 0) | 0; + $sub64 = $mul54 - $mul63 | 0; + $mul66 = ($sub64 + $mul50 | 0) * 6810 | 0; + $add68 = $mul66 + ($mul50 * 4209 | 0) | 0; + $sub70 = $mul66 + (Math_imul($sub64, -17828) | 0) | 0; + $mul71 = Math_imul($mul54, -6810) | 0; + $mul72 = Math_imul($mul54, -11018) | 0; + $sub73 = $mul50 - $mul63 | 0; + $add75 = ($sub73 * 11522 | 0) + $mul59 | 0; + $sub78 = ($mul63 * 20131 | 0) - $mul72 + $add75 | 0; + $add81 = $mul71 + (Math_imul($mul50, -9113) | 0) + $add75 | 0; + $sub83 = ($sub73 * 10033 | 0) - $mul59 | 0; + $mul85 = ($mul63 + $mul50 | 0) * 4712 | 0; + $add89 = $mul71 + ($mul50 * 3897 | 0) - $mul59 + $mul85 | 0; + $add93 = $mul59 + $mul72 + (Math_imul($mul63, -7121) | 0) + $mul85 | 0; + HEAP32[$wsptr$0305 >> 2] = $sub78 + $add26 >> 11; + HEAP32[$wsptr$0305 + 448 >> 2] = $add26 - $sub78 >> 11; + HEAP32[$wsptr$0305 + 32 >> 2] = $add68 + $add40 >> 11; + HEAP32[$wsptr$0305 + 416 >> 2] = $add40 - $add68 >> 11; + HEAP32[$wsptr$0305 + 64 >> 2] = $sub83 + $add44 >> 11; + HEAP32[$wsptr$0305 + 384 >> 2] = $add44 - $sub83 >> 11; + HEAP32[$wsptr$0305 + 96 >> 2] = $add89 + $add29 >> 11; + HEAP32[$wsptr$0305 + 352 >> 2] = $add29 - $add89 >> 11; + HEAP32[$wsptr$0305 + 128 >> 2] = $sub70 + $add42 >> 11; + HEAP32[$wsptr$0305 + 320 >> 2] = $add42 - $sub70 >> 11; + HEAP32[$wsptr$0305 + 160 >> 2] = $add93 + $sub33 >> 11; + HEAP32[$wsptr$0305 + 288 >> 2] = $sub33 - $add93 >> 11; + HEAP32[$wsptr$0305 + 192 >> 2] = $add81 + $sub36 >> 11; + HEAP32[$wsptr$0305 + 256 >> 2] = $sub36 - $add81 >> 11; + HEAP32[$wsptr$0305 + 224 >> 2] = $sub46 >> 11; + $ctr$0306 = $ctr$0306 + 1 | 0; + if (($ctr$0306 | 0) == 8) break; else { + $inptr$0303 = $inptr$0303 + 2 | 0; + $quantptr$0304 = $quantptr$0304 + 4 | 0; + $wsptr$0305 = $wsptr$0305 + 4 | 0; + } + } + $add$ptr = $0 + -384 | 0; + $ctr$1302 = 0; + $wsptr$1301 = $workspace; + while (1) { + $add$ptr145 = (HEAP32[$output_buf + ($ctr$1302 << 2) >> 2] | 0) + $output_col | 0; + $shl148 = (HEAP32[$wsptr$1301 >> 2] << 13) + 134348800 | 0; + $25 = HEAP32[$wsptr$1301 + 8 >> 2] | 0; + $26 = HEAP32[$wsptr$1301 + 16 >> 2] | 0; + $27 = HEAP32[$wsptr$1301 + 24 >> 2] | 0; + $sub154 = (Math_imul($27, -3580) | 0) + $shl148 | 0; + $add155 = ($27 * 9373 | 0) + $shl148 | 0; + $sub158 = (Math_imul($27, -11586) | 0) + $shl148 | 0; + $sub159 = $25 - $26 | 0; + $add160 = $26 + $25 | 0; + $mul161 = $add160 * 10958 | 0; + $mul162 = $sub159 * 374 | 0; + $mul163 = $25 * 11795 | 0; + $add165 = $mul162 + $mul161 + $add155 | 0; + $add168 = $mul163 - $mul161 + $mul162 + $sub154 | 0; + $mul169 = $add160 * 4482 | 0; + $mul170$neg = Math_imul($sub159, -3271) | 0; + $sub172 = $add155 - $mul169 + $mul170$neg | 0; + $sub175 = $mul169 - $mul163 + $mul170$neg + $sub154 | 0; + $mul176 = $add160 * 6476 | 0; + $mul177 = $sub159 * 2896 | 0; + $add179 = $mul177 + $mul176 + $sub154 | 0; + $add181 = $add155 - $mul176 + $mul177 | 0; + $add183 = $sub158 + ($sub159 * 5792 | 0) | 0; + $sub185 = (Math_imul($sub159, -11584) | 0) + $sub158 | 0; + $30 = HEAP32[$wsptr$1301 + 4 >> 2] | 0; + $31 = HEAP32[$wsptr$1301 + 12 >> 2] | 0; + $mul189 = (HEAP32[$wsptr$1301 + 20 >> 2] | 0) * 10033 | 0; + $33 = HEAP32[$wsptr$1301 + 28 >> 2] | 0; + $sub191 = $31 - $33 | 0; + $mul193 = ($sub191 + $30 | 0) * 6810 | 0; + $add195 = $mul193 + ($30 * 4209 | 0) | 0; + $sub197 = $mul193 + (Math_imul($sub191, -17828) | 0) | 0; + $mul198 = Math_imul($31, -6810) | 0; + $mul199 = Math_imul($31, -11018) | 0; + $sub200 = $30 - $33 | 0; + $add202 = ($sub200 * 11522 | 0) + $mul189 | 0; + $sub205 = ($33 * 20131 | 0) - $mul199 + $add202 | 0; + $add208 = $mul198 + (Math_imul($30, -9113) | 0) + $add202 | 0; + $sub210 = ($sub200 * 10033 | 0) - $mul189 | 0; + $mul212 = ($33 + $30 | 0) * 4712 | 0; + $add216 = $mul198 + ($30 * 3897 | 0) - $mul189 + $mul212 | 0; + $add220 = $mul189 + $mul199 + (Math_imul($33, -7121) | 0) + $mul212 | 0; + HEAP8[$add$ptr145 >> 0] = HEAP8[$add$ptr + (($sub205 + $add165 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr145 + 14 >> 0] = HEAP8[$add$ptr + (($add165 - $sub205 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr145 + 1 >> 0] = HEAP8[$add$ptr + (($add195 + $add179 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr145 + 13 >> 0] = HEAP8[$add$ptr + (($add179 - $add195 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr145 + 2 >> 0] = HEAP8[$add$ptr + (($sub210 + $add183 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr145 + 12 >> 0] = HEAP8[$add$ptr + (($add183 - $sub210 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr145 + 3 >> 0] = HEAP8[$add$ptr + (($add216 + $add168 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr145 + 11 >> 0] = HEAP8[$add$ptr + (($add168 - $add216 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr145 + 4 >> 0] = HEAP8[$add$ptr + (($sub197 + $add181 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr145 + 10 >> 0] = HEAP8[$add$ptr + (($add181 - $sub197 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr145 + 5 >> 0] = HEAP8[$add$ptr + (($add220 + $sub172 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr145 + 9 >> 0] = HEAP8[$add$ptr + (($sub172 - $add220 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr145 + 6 >> 0] = HEAP8[$add$ptr + (($add208 + $sub175 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr145 + 8 >> 0] = HEAP8[$add$ptr + (($sub175 - $add208 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr145 + 7 >> 0] = HEAP8[$add$ptr + ($sub185 >>> 18 & 1023) >> 0] | 0; + $ctr$1302 = $ctr$1302 + 1 | 0; + if (($ctr$1302 | 0) == 15) break; else $wsptr$1301 = $wsptr$1301 + 32 | 0; + } + STACKTOP = sp; + return; +} + +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E17parseFunctionTypeEv($this) { + $this = $this | 0; + var $CVQuals = 0, $ExceptionSpec = 0, $Names = 0, $Names53 = 0, $ReferenceQualifier = 0, $ReturnType = 0, $agg$tmp = 0, $agg$tmp18 = 0, $agg$tmp42 = 0, $agg$tmp5 = 0, $agg$tmp63 = 0, $agg$tmp67 = 0, $agg$tmp67$byval_copy = 0, $call = 0, $call13 = 0, $call21 = 0, $call24 = 0, $call3 = 0, $call32 = 0, $call48 = 0, $call49 = 0, $call54 = 0, $call73 = 0, $call9 = 0, $retval$7 = 0, $retval$8 = 0, $retval$9 = 0, label = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 80 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(80); + $agg$tmp67$byval_copy = sp + 64 | 0; + $CVQuals = sp + 28 | 0; + $ExceptionSpec = sp + 24 | 0; + $agg$tmp = sp + 56 | 0; + $agg$tmp5 = sp + 48 | 0; + $agg$tmp18 = sp + 40 | 0; + $agg$tmp42 = sp + 32 | 0; + $ReturnType = sp; + $ReferenceQualifier = sp + 72 | 0; + $agg$tmp63 = sp + 16 | 0; + $agg$tmp67 = sp + 8 | 0; + $call = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E17parseCVQualifiersEv($this) | 0; + HEAP32[$CVQuals >> 2] = $call; + HEAP32[$ExceptionSpec >> 2] = 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, 57153); + HEAP32[$agg$tmp67$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp67$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + do if (!(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($this, $agg$tmp67$byval_copy) | 0)) { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp5, 57165); + HEAP32[$agg$tmp67$byval_copy >> 2] = HEAP32[$agg$tmp5 >> 2]; + HEAP32[$agg$tmp67$byval_copy + 4 >> 2] = HEAP32[$agg$tmp5 + 4 >> 2]; + if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($this, $agg$tmp67$byval_copy) | 0) { + $call9 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseExprEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0) | 0; + HEAP32[$agg$tmp67$byval_copy >> 2] = $call9; + if (!$call9) { + $retval$9 = 0; + break; + } + if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($this, 69) | 0) { + $call13 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_12NoexceptSpecEJRPNS0_4NodeEEEES9_DpOT0_($this, $agg$tmp67$byval_copy) | 0; + HEAP32[$ExceptionSpec >> 2] = $call13; + label = 14; + break; + } else { + $retval$9 = 0; + break; + } + } + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp18, 57168); + HEAP32[$agg$tmp67$byval_copy >> 2] = HEAP32[$agg$tmp18 >> 2]; + HEAP32[$agg$tmp67$byval_copy + 4 >> 2] = HEAP32[$agg$tmp18 + 4 >> 2]; + if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($this, $agg$tmp67$byval_copy) | 0) { + $Names = $this + 8 | 0; + $call21 = __ZNK12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE4sizeEv($Names) | 0; + while (1) { + if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($this, 69) | 0) { + label = 12; + break; + } + $call24 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseTypeEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0) | 0; + HEAP32[$agg$tmp67$byval_copy >> 2] = $call24; + if (!$call24) { + label = 13; + break; + } + __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE9push_backERKS3_($Names, $agg$tmp67$byval_copy); + } + if ((label | 0) == 12) { + __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E20popTrailingNodeArrayEm($agg$tmp67$byval_copy, $this, $call21); + $call32 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_20DynamicExceptionSpecEJNS0_9NodeArrayEEEEPNS0_4NodeEDpOT0_($this, $agg$tmp67$byval_copy) | 0; + HEAP32[$ExceptionSpec >> 2] = $call32; + label = 14; + break; + } else if ((label | 0) == 13) { + $retval$9 = 0; + break; + } + } else label = 14; + } else { + $call3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA9_KcEEEPNS0_4NodeEDpOT0_($this, 57156) | 0; + HEAP32[$ExceptionSpec >> 2] = $call3; + label = 14; + } while (0); + if ((label | 0) == 14) { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp42, 57171); + HEAP32[$agg$tmp67$byval_copy >> 2] = HEAP32[$agg$tmp42 >> 2]; + HEAP32[$agg$tmp67$byval_copy + 4 >> 2] = HEAP32[$agg$tmp42 + 4 >> 2]; + __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($this, $agg$tmp67$byval_copy) | 0; + if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($this, 70) | 0) { + __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($this, 89) | 0; + $call48 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0; + $call49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseTypeEv($call48) | 0; + HEAP32[$ReturnType >> 2] = $call49; + if (!$call49) $retval$8 = 0; else { + HEAP8[$ReferenceQualifier >> 0] = 0; + $Names53 = $this + 8 | 0; + $call54 = __ZNK12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE4sizeEv($Names53) | 0; + while (1) { + if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($this, 69) | 0) { + label = 27; + break; + } + if (!(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($this, 118) | 0)) { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp63, 57174); + HEAP32[$agg$tmp67$byval_copy >> 2] = HEAP32[$agg$tmp63 >> 2]; + HEAP32[$agg$tmp67$byval_copy + 4 >> 2] = HEAP32[$agg$tmp63 + 4 >> 2]; + if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($this, $agg$tmp67$byval_copy) | 0) { + label = 21; + break; + } + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp67, 57177); + HEAP32[$agg$tmp67$byval_copy >> 2] = HEAP32[$agg$tmp67 >> 2]; + HEAP32[$agg$tmp67$byval_copy + 4 >> 2] = HEAP32[$agg$tmp67 + 4 >> 2]; + if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($this, $agg$tmp67$byval_copy) | 0) { + label = 23; + break; + } + $call73 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseTypeEv($call48) | 0; + HEAP32[$agg$tmp67$byval_copy >> 2] = $call73; + if (!$call73) { + label = 26; + break; + } + __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE9push_backERKS3_($Names53, $agg$tmp67$byval_copy); + } + } + if ((label | 0) == 21) { + HEAP8[$ReferenceQualifier >> 0] = 1; + label = 27; + } else if ((label | 0) == 23) { + HEAP8[$ReferenceQualifier >> 0] = 2; + label = 27; + } else if ((label | 0) == 26) $retval$7 = 0; + if ((label | 0) == 27) { + __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E20popTrailingNodeArrayEm($agg$tmp67$byval_copy, $this, $call54); + $retval$7 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_12FunctionTypeEJRPNS0_4NodeERNS0_9NodeArrayERNS0_10QualifiersERNS0_15FunctionRefQualESA_EEES9_DpOT0_($this, $ReturnType, $agg$tmp67$byval_copy, $CVQuals, $ReferenceQualifier, $ExceptionSpec) | 0; + } + $retval$8 = $retval$7; + } + $retval$9 = $retval$8; + } else $retval$9 = 0; } STACKTOP = sp; + return $retval$9 | 0; +} + +function _jpeg_idct_6x3($cinfo, $compptr, $coef_block, $output_buf, $output_col) { + $cinfo = $cinfo | 0; + $compptr = $compptr | 0; + $coef_block = $coef_block | 0; + $output_buf = $output_buf | 0; + $output_col = $output_col | 0; + var $0 = 0, $1 = 0, $42 = 0, $43 = 0, $44 = 0, $61 = 0, $62 = 0, $79 = 0, $80 = 0, $81 = 0, $add = 0, $add$1 = 0, $add$2 = 0, $add$3 = 0, $add$4 = 0, $add$5 = 0, $add$ptr = 0, $add$ptr29 = 0, $add$ptr29$1 = 0, $add$ptr29$2 = 0, $add35 = 0, $add35$1 = 0, $add35$2 = 0, $add40 = 0, $add40$1 = 0, $add40$2 = 0, $add49 = 0, $add49$1 = 0, $add49$2 = 0, $add52 = 0, $add52$1 = 0, $add52$2 = 0, $add7 = 0, $add7$1 = 0, $add7$2 = 0, $add7$3 = 0, $add7$4 = 0, $add7$5 = 0, $arrayidx20 = 0, $incdec$ptr22 = 0, $mul13 = 0, $mul13$1 = 0, $mul13$2 = 0, $mul13$3 = 0, $mul13$4 = 0, $mul13$5 = 0, $mul34 = 0, $mul34$1 = 0, $mul34$2 = 0, $mul39 = 0, $mul39$1 = 0, $mul39$2 = 0, $mul46 = 0, $mul46$1 = 0, $mul46$2 = 0, $mul6 = 0, $mul6$1 = 0, $mul6$2 = 0, $mul6$3 = 0, $mul6$4 = 0, $mul6$5 = 0, $shl32 = 0, $shl32$1 = 0, $shl32$2 = 0, $shl55 = 0, $shl55$1 = 0, $shl55$2 = 0, $shr19$5 = 0, $sub37 = 0, $sub37$1 = 0, $sub37$2 = 0, $sub41 = 0, $sub41$1 = 0, $sub41$2 = 0, $sub8 = 0, $sub8$1 = 0, $sub8$2 = 0, $sub8$3 = 0, $sub8$4 = 0, $sub8$5 = 0, $workspace = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 80 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(80); + $workspace = sp; + $0 = HEAP32[$cinfo + 336 >> 2] | 0; + $1 = HEAP32[$compptr + 84 >> 2] | 0; + $add = Math_imul(HEAP16[$coef_block >> 1] << 13, HEAP32[$1 >> 2] | 0) | 0 | 1024; + $mul6 = Math_imul((HEAP16[$coef_block + 32 >> 1] | 0) * 5793 | 0, HEAP32[$1 + 64 >> 2] | 0) | 0; + $add7 = $mul6 + $add | 0; + $sub8 = (Math_imul($mul6, -2) | 0) + $add | 0; + $mul13 = Math_imul((HEAP16[$coef_block + 16 >> 1] | 0) * 10033 | 0, HEAP32[$1 + 32 >> 2] | 0) | 0; + HEAP32[$workspace >> 2] = $mul13 + $add7 >> 11; + HEAP32[$workspace + 48 >> 2] = $add7 - $mul13 >> 11; + $arrayidx20 = $workspace + 24 | 0; + HEAP32[$arrayidx20 >> 2] = $sub8 >> 11; + $incdec$ptr22 = $workspace + 4 | 0; + $add$1 = Math_imul(HEAP16[$coef_block + 2 >> 1] << 13, HEAP32[$1 + 4 >> 2] | 0) | 0 | 1024; + $mul6$1 = Math_imul((HEAP16[$coef_block + 34 >> 1] | 0) * 5793 | 0, HEAP32[$1 + 68 >> 2] | 0) | 0; + $add7$1 = $mul6$1 + $add$1 | 0; + $sub8$1 = (Math_imul($mul6$1, -2) | 0) + $add$1 | 0; + $mul13$1 = Math_imul((HEAP16[$coef_block + 18 >> 1] | 0) * 10033 | 0, HEAP32[$1 + 36 >> 2] | 0) | 0; + HEAP32[$incdec$ptr22 >> 2] = $mul13$1 + $add7$1 >> 11; + HEAP32[$workspace + 52 >> 2] = $add7$1 - $mul13$1 >> 11; + HEAP32[$workspace + 28 >> 2] = $sub8$1 >> 11; + $add$2 = Math_imul(HEAP16[$coef_block + 4 >> 1] << 13, HEAP32[$1 + 8 >> 2] | 0) | 0 | 1024; + $mul6$2 = Math_imul((HEAP16[$coef_block + 36 >> 1] | 0) * 5793 | 0, HEAP32[$1 + 72 >> 2] | 0) | 0; + $add7$2 = $mul6$2 + $add$2 | 0; + $sub8$2 = (Math_imul($mul6$2, -2) | 0) + $add$2 | 0; + $mul13$2 = Math_imul((HEAP16[$coef_block + 20 >> 1] | 0) * 10033 | 0, HEAP32[$1 + 40 >> 2] | 0) | 0; + HEAP32[$workspace + 8 >> 2] = $mul13$2 + $add7$2 >> 11; + HEAP32[$workspace + 56 >> 2] = $add7$2 - $mul13$2 >> 11; + HEAP32[$workspace + 32 >> 2] = $sub8$2 >> 11; + $add$3 = Math_imul(HEAP16[$coef_block + 6 >> 1] << 13, HEAP32[$1 + 12 >> 2] | 0) | 0 | 1024; + $mul6$3 = Math_imul((HEAP16[$coef_block + 38 >> 1] | 0) * 5793 | 0, HEAP32[$1 + 76 >> 2] | 0) | 0; + $add7$3 = $mul6$3 + $add$3 | 0; + $sub8$3 = (Math_imul($mul6$3, -2) | 0) + $add$3 | 0; + $mul13$3 = Math_imul((HEAP16[$coef_block + 22 >> 1] | 0) * 10033 | 0, HEAP32[$1 + 44 >> 2] | 0) | 0; + HEAP32[$workspace + 12 >> 2] = $mul13$3 + $add7$3 >> 11; + HEAP32[$workspace + 60 >> 2] = $add7$3 - $mul13$3 >> 11; + HEAP32[$workspace + 36 >> 2] = $sub8$3 >> 11; + $add$4 = Math_imul(HEAP16[$coef_block + 8 >> 1] << 13, HEAP32[$1 + 16 >> 2] | 0) | 0 | 1024; + $mul6$4 = Math_imul((HEAP16[$coef_block + 40 >> 1] | 0) * 5793 | 0, HEAP32[$1 + 80 >> 2] | 0) | 0; + $add7$4 = $mul6$4 + $add$4 | 0; + $sub8$4 = (Math_imul($mul6$4, -2) | 0) + $add$4 | 0; + $mul13$4 = Math_imul((HEAP16[$coef_block + 24 >> 1] | 0) * 10033 | 0, HEAP32[$1 + 48 >> 2] | 0) | 0; + HEAP32[$workspace + 16 >> 2] = $mul13$4 + $add7$4 >> 11; + HEAP32[$workspace + 64 >> 2] = $add7$4 - $mul13$4 >> 11; + HEAP32[$workspace + 40 >> 2] = $sub8$4 >> 11; + $add$5 = Math_imul(HEAP16[$coef_block + 10 >> 1] << 13, HEAP32[$1 + 20 >> 2] | 0) | 0 | 1024; + $mul6$5 = Math_imul((HEAP16[$coef_block + 42 >> 1] | 0) * 5793 | 0, HEAP32[$1 + 84 >> 2] | 0) | 0; + $add7$5 = $mul6$5 + $add$5 | 0; + $sub8$5 = (Math_imul($mul6$5, -2) | 0) + $add$5 | 0; + $mul13$5 = Math_imul((HEAP16[$coef_block + 26 >> 1] | 0) * 10033 | 0, HEAP32[$1 + 52 >> 2] | 0) | 0; + HEAP32[$workspace + 20 >> 2] = $mul13$5 + $add7$5 >> 11; + HEAP32[$workspace + 68 >> 2] = $add7$5 - $mul13$5 >> 11; + $shr19$5 = $sub8$5 >> 11; + HEAP32[$workspace + 44 >> 2] = $shr19$5; + $add$ptr = $0 + -384 | 0; + $add$ptr29 = (HEAP32[$output_buf >> 2] | 0) + $output_col | 0; + $shl32 = (HEAP32[$workspace >> 2] << 13) + 134348800 | 0; + $mul34 = (HEAP32[$workspace + 16 >> 2] | 0) * 5793 | 0; + $add35 = $shl32 + $mul34 | 0; + $sub37 = $shl32 - $mul34 - $mul34 | 0; + $mul39 = (HEAP32[$workspace + 8 >> 2] | 0) * 10033 | 0; + $add40 = $add35 + $mul39 | 0; + $sub41 = $add35 - $mul39 | 0; + $42 = HEAP32[$incdec$ptr22 >> 2] | 0; + $43 = HEAP32[$workspace + 12 >> 2] | 0; + $44 = HEAP32[$workspace + 20 >> 2] | 0; + $mul46 = ($44 + $42 | 0) * 2998 | 0; + $add49 = $mul46 + ($43 + $42 << 13) | 0; + $add52 = $mul46 + ($44 - $43 << 13) | 0; + $shl55 = $42 - $43 - $44 << 13; + HEAP8[$add$ptr29 >> 0] = HEAP8[$add$ptr + (($add49 + $add40 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr29 + 5 >> 0] = HEAP8[$add$ptr + (($add40 - $add49 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr29 + 1 >> 0] = HEAP8[$add$ptr + (($shl55 + $sub37 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr29 + 4 >> 0] = HEAP8[$add$ptr + (($sub37 - $shl55 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr29 + 2 >> 0] = HEAP8[$add$ptr + (($add52 + $sub41 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr29 + 3 >> 0] = HEAP8[$add$ptr + (($sub41 - $add52 | 0) >>> 18 & 1023) >> 0] | 0; + $add$ptr29$1 = (HEAP32[$output_buf + 4 >> 2] | 0) + $output_col | 0; + $shl32$1 = (HEAP32[$arrayidx20 >> 2] << 13) + 134348800 | 0; + $mul34$1 = (HEAP32[$workspace + 40 >> 2] | 0) * 5793 | 0; + $add35$1 = $shl32$1 + $mul34$1 | 0; + $sub37$1 = $shl32$1 - $mul34$1 - $mul34$1 | 0; + $mul39$1 = (HEAP32[$workspace + 32 >> 2] | 0) * 10033 | 0; + $add40$1 = $add35$1 + $mul39$1 | 0; + $sub41$1 = $add35$1 - $mul39$1 | 0; + $61 = HEAP32[$workspace + 28 >> 2] | 0; + $62 = HEAP32[$workspace + 36 >> 2] | 0; + $mul46$1 = ($shr19$5 + $61 | 0) * 2998 | 0; + $add49$1 = $mul46$1 + ($62 + $61 << 13) | 0; + $add52$1 = $mul46$1 + ($shr19$5 - $62 << 13) | 0; + $shl55$1 = $61 - $62 - $shr19$5 << 13; + HEAP8[$add$ptr29$1 >> 0] = HEAP8[$add$ptr + (($add49$1 + $add40$1 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr29$1 + 5 >> 0] = HEAP8[$add$ptr + (($add40$1 - $add49$1 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr29$1 + 1 >> 0] = HEAP8[$add$ptr + (($shl55$1 + $sub37$1 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr29$1 + 4 >> 0] = HEAP8[$add$ptr + (($sub37$1 - $shl55$1 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr29$1 + 2 >> 0] = HEAP8[$add$ptr + (($add52$1 + $sub41$1 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr29$1 + 3 >> 0] = HEAP8[$add$ptr + (($sub41$1 - $add52$1 | 0) >>> 18 & 1023) >> 0] | 0; + $add$ptr29$2 = (HEAP32[$output_buf + 8 >> 2] | 0) + $output_col | 0; + $shl32$2 = (HEAP32[$workspace + 48 >> 2] << 13) + 134348800 | 0; + $mul34$2 = (HEAP32[$workspace + 64 >> 2] | 0) * 5793 | 0; + $add35$2 = $shl32$2 + $mul34$2 | 0; + $sub37$2 = $shl32$2 - $mul34$2 - $mul34$2 | 0; + $mul39$2 = (HEAP32[$workspace + 56 >> 2] | 0) * 10033 | 0; + $add40$2 = $add35$2 + $mul39$2 | 0; + $sub41$2 = $add35$2 - $mul39$2 | 0; + $79 = HEAP32[$workspace + 52 >> 2] | 0; + $80 = HEAP32[$workspace + 60 >> 2] | 0; + $81 = HEAP32[$workspace + 68 >> 2] | 0; + $mul46$2 = ($81 + $79 | 0) * 2998 | 0; + $add49$2 = $mul46$2 + ($80 + $79 << 13) | 0; + $add52$2 = $mul46$2 + ($81 - $80 << 13) | 0; + $shl55$2 = $79 - $80 - $81 << 13; + HEAP8[$add$ptr29$2 >> 0] = HEAP8[$add$ptr + (($add49$2 + $add40$2 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr29$2 + 5 >> 0] = HEAP8[$add$ptr + (($add40$2 - $add49$2 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr29$2 + 1 >> 0] = HEAP8[$add$ptr + (($shl55$2 + $sub37$2 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr29$2 + 4 >> 0] = HEAP8[$add$ptr + (($sub37$2 - $shl55$2 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr29$2 + 2 >> 0] = HEAP8[$add$ptr + (($add52$2 + $sub41$2 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr29$2 + 3 >> 0] = HEAP8[$add$ptr + (($sub41$2 - $add52$2 | 0) >>> 18 & 1023) >> 0] | 0; + STACKTOP = sp; + return; +} + +function __ZNSt3__211__money_putIcE8__formatEPcRS2_S3_jPKcS5_RKNS_5ctypeIcEEbRKNS_10money_base7patternEccRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEESL_SL_i($__mb, $__mi, $__me, $__flags, $__db, $__de, $__ct, $__neg, $__pat, $__dp, $__ts, $__grp, $__sym, $__sn, $__fd) { + $__mb = $__mb | 0; + $__mi = $__mi | 0; + $__me = $__me | 0; + $__flags = $__flags | 0; + $__db = $__db | 0; + $__de = $__de | 0; + $__ct = $__ct | 0; + $__neg = $__neg | 0; + $__pat = $__pat | 0; + $__dp = $__dp | 0; + $__ts = $__ts | 0; + $__grp = $__grp | 0; + $__sym = $__sym | 0; + $__sn = $__sn | 0; + $__fd = $__fd | 0; + var $$pn = 0, $$pn$pn = 0, $0 = 0, $10 = 0, $11 = 0, $12 = 0, $17 = 0, $18 = 0, $22 = 0, $23 = 0, $25 = 0, $27 = 0, $28 = 0, $32 = 0, $33 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $40 = 0, $6 = 0, $7 = 0, $__d$0 = 0, $__d$1 = 0, $__d$2 = 0, $__d$3 = 0, $__db$addr$0 = 0, $__db$addr$2 = 0, $__f$0 = 0, $__f$1 = 0, $__first$addr$0$i$i = 0, $__gl$0 = 0, $__gl$0$ph = 0, $__gl$1 = 0, $__ig$0 = 0, $__ig$1 = 0, $__last$addr$0$i$i = 0, $__ng$0 = 0, $__ng$1 = 0, $__p$0 = 0, $__result$addr$0$i$i = 0, $__result$addr$0$i$i143 = 0, $__size_$i$i$i106 = 0, $__size_$i$i$i117 = 0, $__size_$i$i$i173 = 0, $__size_$i3$i$i108 = 0, $__size_$i3$i$i119 = 0, $__size_$i3$i$i175 = 0, $__tab_$i = 0, $add$ptr$i = 0, $add$ptr$i161 = 0, $agg$tmp4$sroa$0$0$i = 0, $agg$tmp4$sroa$0$0$i142 = 0, $call$i = 0, $call$i115 = 0, $cmp27 = 0, $cmp31 = 0, $cond = 0, $cond$i = 0, $cond$i$i170186 = 0, $cond$i$i179 = 0, $inc = 0, $incdec$ptr$i$i73 = 0, $incdec$ptr33 = 0, $incdec$ptr81 = 0, $spec$select = 0, $tobool = 0, $tobool$i$i = 0, $tobool$i$i$i107 = 0, $tobool$i$i$i118 = 0, $tobool$i$i$i174 = 0, $tobool$i$i89 = 0; + HEAP32[$__me >> 2] = $__mb; + $__size_$i$i$i117 = $__sn + 11 | 0; + $__size_$i3$i$i119 = $__sn + 4 | 0; + $__size_$i$i$i173 = $__sym + 11 | 0; + $__size_$i3$i$i175 = $__sym + 4 | 0; + $tobool = ($__flags & 512 | 0) == 0; + $__tab_$i = $__ct + 8 | 0; + $cmp27 = ($__fd | 0) > 0; + $__size_$i$i$i106 = $__grp + 11 | 0; + $__size_$i3$i$i108 = $__grp + 4 | 0; + $__db$addr$0 = $__db; + $__p$0 = 0; + while (1) { + if (($__p$0 | 0) == 4) break; + L4 : do switch (HEAP8[$__pat + $__p$0 >> 0] | 0) { + case 0: + { + HEAP32[$__mi >> 2] = HEAP32[$__me >> 2]; + $__db$addr$2 = $__db$addr$0; + break; + } + case 1: + { + HEAP32[$__mi >> 2] = HEAP32[$__me >> 2]; + $call$i115 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$__ct >> 2] | 0) + 28 >> 2] & 127]($__ct, 32) | 0; + $6 = HEAP32[$__me >> 2] | 0; + HEAP32[$__me >> 2] = $6 + 1; + HEAP8[$6 >> 0] = $call$i115; + $__db$addr$2 = $__db$addr$0; + break; + } + case 3: + { + $7 = HEAP8[$__size_$i$i$i117 >> 0] | 0; + $tobool$i$i$i118 = $7 << 24 >> 24 < 0; + if (!(($tobool$i$i$i118 ? HEAP32[$__size_$i3$i$i119 >> 2] | 0 : $7 & 255) | 0)) $__db$addr$2 = $__db$addr$0; else { + $10 = HEAP8[($tobool$i$i$i118 ? HEAP32[$__sn >> 2] | 0 : $__sn) >> 0] | 0; + $11 = HEAP32[$__me >> 2] | 0; + HEAP32[$__me >> 2] = $11 + 1; + HEAP8[$11 >> 0] = $10; + $__db$addr$2 = $__db$addr$0; + } + break; + } + case 2: + { + $12 = HEAP8[$__size_$i$i$i173 >> 0] | 0; + $tobool$i$i$i174 = $12 << 24 >> 24 < 0; + $cond$i$i179 = $tobool$i$i$i174 ? HEAP32[$__size_$i3$i$i175 >> 2] | 0 : $12 & 255; + if ($tobool | ($cond$i$i179 | 0) == 0) $__db$addr$2 = $__db$addr$0; else { + $cond$i$i170186 = $tobool$i$i$i174 ? HEAP32[$__sym >> 2] | 0 : $__sym; + $add$ptr$i161 = $cond$i$i170186 + $cond$i$i179 | 0; + $__result$addr$0$i$i143 = HEAP32[$__me >> 2] | 0; + $agg$tmp4$sroa$0$0$i142 = $cond$i$i170186; + while (1) { + if (($agg$tmp4$sroa$0$0$i142 | 0) == ($add$ptr$i161 | 0)) break; + HEAP8[$__result$addr$0$i$i143 >> 0] = HEAP8[$agg$tmp4$sroa$0$0$i142 >> 0] | 0; + $__result$addr$0$i$i143 = $__result$addr$0$i$i143 + 1 | 0; + $agg$tmp4$sroa$0$0$i142 = $agg$tmp4$sroa$0$0$i142 + 1 | 0; + } + HEAP32[$__me >> 2] = $__result$addr$0$i$i143; + $__db$addr$2 = $__db$addr$0; + } + break; + } + case 4: + { + $17 = HEAP32[$__me >> 2] | 0; + $spec$select = $__neg ? $__db$addr$0 + 1 | 0 : $__db$addr$0; + $__d$0 = $spec$select; + while (1) { + if ($__d$0 >>> 0 >= $__de >>> 0) break; + $18 = HEAP8[$__d$0 >> 0] | 0; + if ($18 << 24 >> 24 <= -1) break; + if (!(HEAP16[(HEAP32[$__tab_$i >> 2] | 0) + ($18 << 24 >> 24 << 1) >> 1] & 2048)) break; + $__d$0 = $__d$0 + 1 | 0; + } + if ($cmp27) { + $__d$1 = $__d$0; + $__f$0 = $__fd; + while (1) { + $cmp31 = ($__f$0 | 0) > 0; + if (!($__d$1 >>> 0 > $spec$select >>> 0 & $cmp31)) break; + $incdec$ptr33 = $__d$1 + -1 | 0; + $22 = HEAP8[$incdec$ptr33 >> 0] | 0; + $23 = HEAP32[$__me >> 2] | 0; + HEAP32[$__me >> 2] = $23 + 1; + HEAP8[$23 >> 0] = $22; + $__d$1 = $incdec$ptr33; + $__f$0 = $__f$0 + -1 | 0; + } + if ($cmp31) $cond = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$__ct >> 2] | 0) + 28 >> 2] & 127]($__ct, 48) | 0; else $cond = 0; + $__f$1 = $__f$0; + while (1) { + $25 = HEAP32[$__me >> 2] | 0; + HEAP32[$__me >> 2] = $25 + 1; + if (($__f$1 | 0) <= 0) break; + HEAP8[$25 >> 0] = $cond; + $__f$1 = $__f$1 + -1 | 0; + } + HEAP8[$25 >> 0] = $__dp; + $__d$2 = $__d$1; + } else $__d$2 = $__d$0; + L36 : do if (($__d$2 | 0) == ($spec$select | 0)) { + $call$i = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$__ct >> 2] | 0) + 28 >> 2] & 127]($__ct, 48) | 0; + $27 = HEAP32[$__me >> 2] | 0; + HEAP32[$__me >> 2] = $27 + 1; + HEAP8[$27 >> 0] = $call$i; + } else { + $28 = HEAP8[$__size_$i$i$i106 >> 0] | 0; + $tobool$i$i$i107 = $28 << 24 >> 24 < 0; + if (!(($tobool$i$i$i107 ? HEAP32[$__size_$i3$i$i108 >> 2] | 0 : $28 & 255) | 0)) $__gl$0$ph = -1; else $__gl$0$ph = HEAP8[($tobool$i$i$i107 ? HEAP32[$__grp >> 2] | 0 : $__grp) >> 0] | 0; + $__d$3 = $__d$2; + $__gl$0 = $__gl$0$ph; + $__ig$0 = 0; + $__ng$0 = 0; + while (1) { + if (($__d$3 | 0) == ($spec$select | 0)) break L36; + if (($__ng$0 | 0) == ($__gl$0 | 0)) { + $32 = HEAP32[$__me >> 2] | 0; + HEAP32[$__me >> 2] = $32 + 1; + HEAP8[$32 >> 0] = $__ts; + $inc = $__ig$0 + 1 | 0; + $33 = HEAP8[$__size_$i$i$i106 >> 0] | 0; + $tobool$i$i89 = $33 << 24 >> 24 < 0; + if ($inc >>> 0 < ($tobool$i$i89 ? HEAP32[$__size_$i3$i$i108 >> 2] | 0 : $33 & 255) >>> 0) { + $36 = HEAP8[($tobool$i$i89 ? HEAP32[$__grp >> 2] | 0 : $__grp) + $inc >> 0] | 0; + $__gl$1 = $36 << 24 >> 24 == 127 ? -1 : $36 << 24 >> 24; + $__ig$1 = $inc; + $__ng$1 = 0; + } else { + $__gl$1 = $__ng$0; + $__ig$1 = $inc; + $__ng$1 = 0; + } + } else { + $__gl$1 = $__gl$0; + $__ig$1 = $__ig$0; + $__ng$1 = $__ng$0; + } + $incdec$ptr81 = $__d$3 + -1 | 0; + $37 = HEAP8[$incdec$ptr81 >> 0] | 0; + $38 = HEAP32[$__me >> 2] | 0; + HEAP32[$__me >> 2] = $38 + 1; + HEAP8[$38 >> 0] = $37; + $__d$3 = $incdec$ptr81; + $__gl$0 = $__gl$1; + $__ig$0 = $__ig$1; + $__ng$0 = $__ng$1 + 1 | 0; + } + } while (0); + $39 = HEAP32[$__me >> 2] | 0; + if (($17 | 0) == ($39 | 0)) $__db$addr$2 = $spec$select; else { + $__first$addr$0$i$i = $17; + $__last$addr$0$i$i = $39; + while (1) { + $incdec$ptr$i$i73 = $__last$addr$0$i$i + -1 | 0; + if ($__first$addr$0$i$i >>> 0 >= $incdec$ptr$i$i73 >>> 0) { + $__db$addr$2 = $spec$select; + break L4; + } + $40 = HEAP8[$__first$addr$0$i$i >> 0] | 0; + HEAP8[$__first$addr$0$i$i >> 0] = HEAP8[$incdec$ptr$i$i73 >> 0] | 0; + HEAP8[$incdec$ptr$i$i73 >> 0] = $40; + $__first$addr$0$i$i = $__first$addr$0$i$i + 1 | 0; + $__last$addr$0$i$i = $incdec$ptr$i$i73; + } + } + break; + } + default: + $__db$addr$2 = $__db$addr$0; + } while (0); + $__db$addr$0 = $__db$addr$2; + $__p$0 = $__p$0 + 1 | 0; + } + $0 = HEAP8[$__size_$i$i$i117 >> 0] | 0; + $tobool$i$i = $0 << 24 >> 24 < 0; + $cond$i = $tobool$i$i ? HEAP32[$__size_$i3$i$i119 >> 2] | 0 : $0 & 255; + if ($cond$i >>> 0 > 1) { + $$pn = $tobool$i$i ? HEAP32[$__sn >> 2] | 0 : $__sn; + $add$ptr$i = $$pn + $cond$i | 0; + $$pn$pn = $$pn; + $__result$addr$0$i$i = HEAP32[$__me >> 2] | 0; + while (1) { + $agg$tmp4$sroa$0$0$i = $$pn$pn + 1 | 0; + if (($agg$tmp4$sroa$0$0$i | 0) == ($add$ptr$i | 0)) break; + HEAP8[$__result$addr$0$i$i >> 0] = HEAP8[$agg$tmp4$sroa$0$0$i >> 0] | 0; + $$pn$pn = $agg$tmp4$sroa$0$0$i; + $__result$addr$0$i$i = $__result$addr$0$i$i + 1 | 0; + } + HEAP32[$__me >> 2] = $__result$addr$0$i$i; + } + switch (($__flags & 176) << 24 >> 24) { + case 32: + { + HEAP32[$__mi >> 2] = HEAP32[$__me >> 2]; + break; + } + case 16: + break; + default: + HEAP32[$__mi >> 2] = $__mb; + } return; } -function _get_global_id_code($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $$0 = 0, $$0177 = 0, $$0178 = 0, $$0178$off = 0, $$0182 = 0, $$0189 = 0, $$0202 = 0, $$0204 = 0, $$1 = 0, $$10 = 0, $$10199 = 0, $$11 = 0, $$11200 = 0, $$1179 = 0, $$1183 = 0, $$1190 = 0, $$12 = 0, $$2 = 0, $$2180 = 0, $$2180$off = 0, $$2191 = 0, $$3 = 0, $$3181 = 0, $$3185 = 0, $$3192 = 0, $$4 = 0, $$4186 = 0, $$4186$off = 0, $$4193 = 0, $$5 = 0, $$5187 = 0, $$5194 = 0, $$6 = 0, $$6188 = 0, $$6188$off = 0, $$6195 = 0, $$7 = 0, $$7196 = 0, $$8 = 0, $$8197 = 0, $$9 = 0, $$9198 = 0, $109 = 0, $113 = 0, $118 = 0, $119 = 0, $120 = 0, $123 = 0, $133 = 0, $137 = 0, $144 = 0.0, $145 = 0, $148 = 0, $15 = 0, $153 = 0, $154 = 0, $19 = 0, $20 = 0, $24 = 0, $38 = 0, $49 = 0, $5 = 0, $50 = 0, $53 = 0, $6 = 0, $63 = 0, $67 = 0, $7 = 0, $71 = 0, $72 = 0, $73 = 0, $78 = 0, $8 = 0, $85 = 0, $89 = 0, $97 = 0, $or$cond229245 = 0, $trunc = 0, label = 0, sp = 0; +function _get_matrix_code($data, $size, $code_out_p, $dir, $cf, $matrixCodeType, $errorCorrected) { + $data = $data | 0; + $size = $size | 0; + $code_out_p = $code_out_p | 0; + $dir = $dir | 0; + $cf = $cf | 0; + $matrixCodeType = $matrixCodeType | 0; + $errorCorrected = $errorCorrected | 0; + var $12 = 0, $13 = 0, $14 = 0, $15 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $28 = 0, $29 = 0, $30 = 0, $31 = 0, $37 = 0, $38 = 0, $39 = 0, $40 = 0, $44 = 0, $45 = 0, $46 = 0, $49 = 0, $53 = 0, $54 = 0, $57 = 0, $63 = 0, $64 = 0, $65 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $add62 = 0, $arrayidx199 = 0, $arrayidx300 = 0, $arrayidx88 = 0, $cmp134 = 0, $cmp171 = 0, $cmp175 = 0, $cmp180 = 0, $cmp275 = 0, $cmp282 = 0, $code = 0, $contrastMin$0 = 0, $conv28 = 0, $conv29 = 0, $conv89 = 0, $corner = 0, $dirCode = 0, $div = 0, $i$0 = 0, $i$1 = 0, $i$2 = 0, $i$3 = 0, $i$4 = 0, $i$5 = 0, $i$6 = 0, $i$7 = 0, $j$0 = 0, $j$1 = 0, $j$2 = 0, $j$3 = 0, $max$0 = 0, $min$0 = 0, $mul = 0, $mul147 = 0, $mul248 = 0, $mul3 = 0, $or$cond3199 = 0, $retval$0 = 0, $spec$select181 = 0, $sub = 0, $sub91 = 0, label = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 160 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(160); - $5 = sp + 152 | 0; - $6 = sp + 128 | 0; - $7 = sp + 144 | 0; - $8 = sp; - HEAP32[$6 >> 2] = 0; - HEAP32[$6 + 4 >> 2] = 182; - HEAP32[$6 + 8 >> 2] = 195; - HEAP32[$6 + 12 >> 2] = 13; - $$0182 = 0; - $$0202 = 0; - $$0204 = -1; - while (1) { - if (($$0182 | 0) == 4) break; - $15 = HEAP8[$0 + (HEAP32[$6 + ($$0182 << 2) >> 2] | 0) >> 0] | 0; - $$0182 = $$0182 + 1 | 0; - $$0202 = ($15 & 255) > ($$0202 & 255) ? $15 : $$0202; - $$0204 = ($15 & 255) < ($$0204 & 255) ? $15 : $$0204; - } - $19 = $$0202 & 255; - $20 = $$0204 & 255; - L5 : do if (($19 - $20 | 0) >= 30) { - $24 = ($19 + $20 | 0) >>> 1; - $$1183 = 0; + STACKTOP = STACKTOP + 32 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); + $dirCode = sp + 24 | 0; + $corner = sp; + $code = sp + 16 | 0; + L1 : do if (($size + -3 | 0) >>> 0 > 5) { + HEAP32[$code_out_p >> 2] = -1; + HEAP32[$dir >> 2] = 0; + HEAPF64[$cf >> 3] = -1.0; + $retval$0 = -1; + } else { + HEAP32[$corner >> 2] = 0; + $sub = $size + -1 | 0; + $mul = Math_imul($sub, $size) | 0; + HEAP32[$corner + 4 >> 2] = $mul; + $mul3 = Math_imul($size, $size) | 0; + HEAP32[$corner + 8 >> 2] = $mul3 + -1; + HEAP32[$corner + 12 >> 2] = $sub; + $i$0 = 0; + $max$0 = 0; + $min$0 = -1; while (1) { - if (($$1183 | 0) == 4) break; - HEAP8[$5 + $$1183 >> 0] = $24 >>> 0 > (HEAPU8[$0 + (HEAP32[$6 + ($$1183 << 2) >> 2] | 0) >> 0] | 0) >>> 0 & 1; - $$1183 = $$1183 + 1 | 0; + if (($i$0 | 0) == 4) break; + $2 = HEAP8[$data + (HEAP32[$corner + ($i$0 << 2) >> 2] | 0) >> 0] | 0; + $i$0 = $i$0 + 1 | 0; + $max$0 = ($2 & 255) > ($max$0 & 255) ? $2 : $max$0; + $min$0 = ($2 & 255) < ($min$0 & 255) ? $2 : $min$0; } - $trunc = 0; + $conv28 = $max$0 & 255; + $conv29 = $min$0 & 255; + if (($conv28 - $conv29 | 0) < 30) { + HEAP32[$code_out_p >> 2] = -1; + HEAP32[$dir >> 2] = 0; + HEAPF64[$cf >> 3] = -1.0; + $retval$0 = -2; + break; + } + $div = ($conv28 + $conv29 | 0) >>> 1; + $i$1 = 0; while (1) { - if ($trunc >>> 0 >= 4) break; - $38 = $trunc + 1 | 0; - if (((HEAP8[$5 + $trunc >> 0] | 0) == 1 ? (HEAP8[$5 + ($38 & 3) >> 0] | 0) == 1 : 0) ? (HEAP8[$5 + ($trunc + 2 & 3) >> 0] | 0) == 0 : 0) break; - $trunc = $38; + if (($i$1 | 0) == 4) break; + HEAP8[$dirCode + $i$1 >> 0] = $div >>> 0 > (HEAPU8[$data + (HEAP32[$corner + ($i$1 << 2) >> 2] | 0) >> 0] | 0) >>> 0 & 1; + $i$1 = $i$1 + 1 | 0; } - L20 : do switch ($trunc & 2147483647 | 0) { - case 4: - { - HEAP32[$2 >> 2] = 0; - HEAPF64[$3 >> 3] = -1.0; - $$0177 = -3; - break L5; + $i$2 = 0; + while (1) { + if ($i$2 >>> 0 >= 4) { + label = 18; + break; + } + $add62 = $i$2 + 1 | 0; + if (((HEAP8[$dirCode + $i$2 >> 0] | 0) == 1 ? (HEAP8[$dirCode + ($add62 & 3) >> 0] | 0) == 1 : 0) ? (HEAP8[$dirCode + ($i$2 + 2 & 3) >> 0] | 0) == 0 : 0) { + label = 17; break; } + $i$2 = $add62; + } + if ((label | 0) == 17) HEAP32[$dir >> 2] = $i$2; else if ((label | 0) == 18 ? ($i$2 | 0) == 4 : 0) { + HEAP32[$code_out_p >> 2] = -1; + HEAP32[$dir >> 2] = 0; + HEAPF64[$cf >> 3] = -1.0; + $retval$0 = -3; + break; + } + $contrastMin$0 = 255; + $i$3 = 0; + while (1) { + if (($i$3 | 0) == ($mul3 | 0)) break; + $arrayidx88 = $data + $i$3 | 0; + $conv89 = HEAPU8[$arrayidx88 >> 0] | 0; + $sub91 = $conv89 - $div | 0; + $spec$select181 = ($sub91 | 0) < 0 ? 0 - $sub91 | 0 : $sub91; + HEAP8[$arrayidx88 >> 0] = $div >>> 0 > $conv89 >>> 0 & 1; + $contrastMin$0 = ($spec$select181 | 0) < ($contrastMin$0 | 0) ? $spec$select181 : $contrastMin$0; + $i$3 = $i$3 + 1 | 0; + } + $9 = HEAP32[$dir >> 2] | 0; + L31 : do switch ($9 | 0) { case 0: { - $$0 = 119; - $$0178 = 0; - $$0189 = 255; + $81 = 0; + $82 = 0; + $j$0 = $9; while (1) { - if (($$0178 | 0) == 14) { - $$12 = $$0189; - label = 57; - break L20; + if (($j$0 | 0) >= ($size | 0)) { + $44 = $81; + $63 = $82; + break L31; } - $$0178$off = $$0178 + -3 | 0; - $49 = ($$0178 & 2147483646 | 0) == 12; - $50 = $$0178 * 14 | 0; - $$1 = $$0; - $$1190 = $$0189; - $$3185 = 0; + $cmp134 = ($j$0 | 0) == ($sub | 0); + $mul147 = Math_imul($j$0, $size) | 0; + $12 = $81; + $13 = $82; + $i$4 = 0; while (1) { - if (($$3185 | 0) == 14) break; - if ((($$3185 + -3 | $$0178$off) >>> 0 >= 8 ? ($53 = $$3185 & 2147483646, (($$3185 | $$0178) & 2147483646 | 0) != 0) : 0) ? !($49 & (($53 | 0) == 0 | ($53 | 0) == 12)) : 0) { - $63 = (HEAPU8[$0 + ($$3185 + $50) >> 0] | 0) - $24 | 0; - HEAP8[$8 + $$1 >> 0] = $63 >>> 31; - $67 = ($63 | 0) > -1 ? $63 : 0 - $63 | 0; - $$2 = $$1 + -1 | 0; - $$2191 = ($67 | 0) < ($$1190 | 0) ? $67 : $$1190; + if (($i$4 | 0) == ($size | 0)) break; + if (($i$4 | $j$0 | 0) != 0 ? !($cmp134 & (($i$4 | 0) == 0 | ($i$4 | 0) == ($sub | 0))) : 0) { + $14 = _bitshift64Shl($12 | 0, $13 | 0, 1) | 0; + $15 = getTempRet0() | 0; + $83 = $14 | (HEAP8[$data + ($i$4 + $mul147) >> 0] | 0) != 0; + $84 = $15; } else { - $$2 = $$1; - $$2191 = $$1190; + $83 = $12; + $84 = $13; } - $$1 = $$2; - $$1190 = $$2191; - $$3185 = $$3185 + 1 | 0; + $12 = $83; + $13 = $84; + $i$4 = $i$4 + 1 | 0; } - $$0 = $$1; - $$0178 = $$0178 + 1 | 0; - $$0189 = $$1190; + $81 = $12; + $82 = $13; + $j$0 = $j$0 + 1 | 0; } break; } case 1: { - $$3 = 119; - $$3192 = 255; - $$4186 = 0; + $79 = 0; + $80 = 0; + $i$5 = 0; while (1) { - if (($$4186 | 0) == 14) { - $$12 = $$3192; - label = 57; - break L20; + if (($i$5 | 0) >= ($size | 0)) { + $44 = $79; + $63 = $80; + break L31; } - $$4186$off = $$4186 + -3 | 0; - $71 = $$4186 & 2147483646; - $72 = ($71 | 0) == 0; - $73 = ($71 | 0) == 12; - $$1179 = 13; - $$4 = $$3; - $$4193 = $$3192; + $cmp171 = ($i$5 | 0) == 0; + $cmp180 = ($i$5 | 0) == ($sub | 0); + $19 = $79; + $20 = $80; + $j$1 = $sub; while (1) { - if (($$1179 | 0) <= -1) break; - if ((($$1179 + -3 | $$4186$off) >>> 0 >= 8 ? ($78 = ($$1179 & -2 | 0) == 12, !($72 & $78)) : 0) ? !($73 & ($$1179 >>> 0 < 2 | $78)) : 0) { - $85 = (HEAPU8[$0 + (($$1179 * 14 | 0) + $$4186) >> 0] | 0) - $24 | 0; - HEAP8[$8 + $$4 >> 0] = $85 >>> 31; - $89 = ($85 | 0) > -1 ? $85 : 0 - $85 | 0; - $$5 = $$4 + -1 | 0; - $$5194 = ($89 | 0) < ($$4193 | 0) ? $89 : $$4193; + if (($j$1 | 0) <= -1) break; + $cmp175 = ($j$1 | 0) == ($sub | 0); + if (!($cmp171 & $cmp175) ? !($cmp180 & ($cmp175 | ($j$1 | 0) == 0)) : 0) { + $21 = _bitshift64Shl($19 | 0, $20 | 0, 1) | 0; + $22 = getTempRet0() | 0; + $arrayidx199 = $data + ((Math_imul($j$1, $size) | 0) + $i$5) | 0; + $85 = $21 | (HEAP8[$arrayidx199 >> 0] | 0) != 0; + $86 = $22; } else { - $$5 = $$4; - $$5194 = $$4193; + $85 = $19; + $86 = $20; } - $$1179 = $$1179 + -1 | 0; - $$4 = $$5; - $$4193 = $$5194; + $19 = $85; + $20 = $86; + $j$1 = $j$1 + -1 | 0; } - $$3 = $$4; - $$3192 = $$4193; - $$4186 = $$4186 + 1 | 0; + $79 = $19; + $80 = $20; + $i$5 = $i$5 + 1 | 0; } break; } case 2: { - $$2180 = 13; - $$6 = 119; - $$6195 = 255; + $77 = 0; + $78 = 0; + $j$2 = $sub; while (1) { - if (($$2180 | 0) <= -1) { - $$12 = $$6195; - label = 57; - break L20; + if (($j$2 | 0) <= -1) { + $44 = $77; + $63 = $78; + break L31; } - $$2180$off = $$2180 + -3 | 0; - $or$cond229245 = $$2180 >>> 0 < 2 | ($$2180 & -2 | 0) == 12; - $97 = $$2180 * 14 | 0; - $$5187 = 13; - $$7 = $$6; - $$7196 = $$6195; + $or$cond3199 = ($j$2 | 0) == ($sub | 0) | ($j$2 | 0) == 0; + $mul248 = Math_imul($j$2, $size) | 0; + $28 = $77; + $29 = $78; + $i$6 = $sub; while (1) { - if (($$5187 | 0) <= -1) break; - if (($$5187 + -3 | $$2180$off) >>> 0 >= 8 ? !(($$5187 | $$2180) >>> 0 < 2 | $or$cond229245 & ($$5187 & -2 | 0) == 12) : 0) { - $109 = (HEAPU8[$0 + ($$5187 + $97) >> 0] | 0) - $24 | 0; - HEAP8[$8 + $$7 >> 0] = $109 >>> 31; - $113 = ($109 | 0) > -1 ? $109 : 0 - $109 | 0; - $$8 = $$7 + -1 | 0; - $$8197 = ($113 | 0) < ($$7196 | 0) ? $113 : $$7196; + if (($i$6 | 0) <= -1) break; + if ($or$cond3199 & ($i$6 | 0) == ($sub | 0) | ($i$6 | $j$2 | 0) == 0) { + $87 = $28; + $88 = $29; } else { - $$8 = $$7; - $$8197 = $$7196; + $30 = _bitshift64Shl($28 | 0, $29 | 0, 1) | 0; + $31 = getTempRet0() | 0; + $87 = $30 | (HEAP8[$data + ($i$6 + $mul248) >> 0] | 0) != 0; + $88 = $31; } - $$5187 = $$5187 + -1 | 0; - $$7 = $$8; - $$7196 = $$8197; + $28 = $87; + $29 = $88; + $i$6 = $i$6 + -1 | 0; } - $$2180 = $$2180 + -1 | 0; - $$6 = $$7; - $$6195 = $$7196; + $77 = $28; + $78 = $29; + $j$2 = $j$2 + -1 | 0; } break; } case 3: { - $$6188 = 13; - $$9 = 119; - $$9198 = 255; + $75 = 0; + $76 = 0; + $i$7 = $sub; while (1) { - if (($$6188 | 0) <= -1) { - $$12 = $$9198; - label = 57; - break L20; + if (($i$7 | 0) <= -1) { + $44 = $75; + $63 = $76; + break L31; } - $$6188$off = $$6188 + -3 | 0; - $118 = $$6188 & -2; - $119 = ($118 | 0) == 12; - $120 = ($118 | 0) == 0; - $$10 = $$9; - $$10199 = $$9198; - $$3181 = 0; + $cmp275 = ($i$7 | 0) == ($sub | 0); + $cmp282 = ($i$7 | 0) == 0; + $37 = $75; + $38 = $76; + $j$3 = 0; while (1) { - if (($$3181 | 0) == 14) break; - if ((($$3181 + -3 | $$6188$off) >>> 0 >= 8 ? ($123 = $$3181 & 2147483646, !($119 & ($123 | 0) == 0)) : 0) ? !(($123 | $118 | 0) == 0 | $120 & ($123 | 0) == 12) : 0) { - $133 = (HEAPU8[$0 + (($$3181 * 14 | 0) + $$6188) >> 0] | 0) - $24 | 0; - HEAP8[$8 + $$10 >> 0] = $133 >>> 31; - $137 = ($133 | 0) > -1 ? $133 : 0 - $133 | 0; - $$11 = $$10 + -1 | 0; - $$11200 = ($137 | 0) < ($$10199 | 0) ? $137 : $$10199; + if (($j$3 | 0) >= ($size | 0)) break; + if ($cmp275 & ($j$3 | 0) == 0 | ($j$3 | $i$7 | 0) == 0 | $cmp282 & ($j$3 | 0) == ($sub | 0)) { + $89 = $37; + $90 = $38; } else { - $$11 = $$10; - $$11200 = $$10199; + $39 = _bitshift64Shl($37 | 0, $38 | 0, 1) | 0; + $40 = getTempRet0() | 0; + $arrayidx300 = $data + ((Math_imul($j$3, $size) | 0) + $i$7) | 0; + $89 = $39 | (HEAP8[$arrayidx300 >> 0] | 0) != 0; + $90 = $40; } - $$10 = $$11; - $$10199 = $$11200; - $$3181 = $$3181 + 1 | 0; + $37 = $89; + $38 = $90; + $j$3 = $j$3 + 1 | 0; } - $$6188 = $$6188 + -1 | 0; - $$9 = $$10; - $$9198 = $$10199; + $75 = $37; + $76 = $38; + $i$7 = $i$7 + -1 | 0; } break; } default: { - HEAP32[$2 >> 2] = $trunc; - $144 = 1.0; + $44 = 0; + $63 = 0; } } while (0); - if ((label | 0) == 57) { - HEAP32[$2 >> 2] = $trunc; - $144 = ($$12 | 0) > 30 ? 1.0 : +($$12 | 0) / 30.0; - } - HEAPF64[$3 >> 3] = $144; - $145 = _decode_bch(2830, 0, 0, $8, $7) | 0; - if (($145 | 0) < 0) $$0177 = -4; else { - if ($4 | 0) HEAP32[$4 >> 2] = $145; - $148 = $7; - $153 = HEAP32[$148 + 4 >> 2] | 0; - $154 = $1; - HEAP32[$154 >> 2] = HEAP32[$148 >> 2]; - HEAP32[$154 + 4 >> 2] = $153; - $$0177 = 0; - } - } else { - HEAP32[$2 >> 2] = 0; - HEAPF64[$3 >> 3] = -1.0; - $$0177 = -2; - } while (0); - STACKTOP = sp; - return $$0177 | 0; -} - -function _jpeg_idct_3x6($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $104 = 0, $105 = 0, $106 = 0, $112 = 0, $118 = 0, $124 = 0, $126 = 0, $129 = 0, $132 = 0, $135 = 0, $15 = 0, $159 = 0, $166 = 0, $167 = 0, $169 = 0, $176 = 0, $177 = 0, $178 = 0, $184 = 0, $190 = 0, $196 = 0, $198 = 0, $201 = 0, $204 = 0, $207 = 0, $209 = 0, $213 = 0, $218 = 0, $22 = 0, $223 = 0, $225 = 0, $228 = 0, $23 = 0, $230 = 0, $231 = 0, $233 = 0, $25 = 0, $252 = 0, $255 = 0, $257 = 0, $258 = 0, $261 = 0, $281 = 0, $284 = 0, $286 = 0, $287 = 0, $290 = 0, $310 = 0, $313 = 0, $315 = 0, $317 = 0, $318 = 0, $32 = 0, $321 = 0, $33 = 0, $34 = 0, $341 = 0, $344 = 0, $346 = 0, $348 = 0, $349 = 0, $352 = 0, $372 = 0, $375 = 0, $377 = 0, $379 = 0, $380 = 0, $383 = 0, $40 = 0, $46 = 0, $5 = 0, $52 = 0, $54 = 0, $57 = 0, $60 = 0, $63 = 0, $7 = 0, $70 = 0, $81 = 0, $87 = 0, $9 = 0, $94 = 0, $95 = 0, $97 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 80 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(80); - $5 = sp; - $7 = HEAP32[$0 + 336 >> 2] | 0; - $9 = HEAP32[$1 + 84 >> 2] | 0; - $15 = Math_imul(HEAP16[$2 >> 1] << 13, HEAP32[$9 >> 2] | 0) | 0 | 1024; - $22 = Math_imul((HEAP16[$2 + 64 >> 1] | 0) * 5793 | 0, HEAP32[$9 + 128 >> 2] | 0) | 0; - $23 = $22 + $15 | 0; - $25 = (Math_imul($22, -2) | 0) + $15 >> 11; - $32 = Math_imul((HEAP16[$2 + 32 >> 1] | 0) * 10033 | 0, HEAP32[$9 + 64 >> 2] | 0) | 0; - $33 = $32 + $23 | 0; - $34 = $23 - $32 | 0; - $40 = Math_imul(HEAP32[$9 + 32 >> 2] | 0, HEAP16[$2 + 16 >> 1] | 0) | 0; - $46 = Math_imul(HEAP32[$9 + 96 >> 2] | 0, HEAP16[$2 + 48 >> 1] | 0) | 0; - $52 = Math_imul(HEAP32[$9 + 160 >> 2] | 0, HEAP16[$2 + 80 >> 1] | 0) | 0; - $54 = ($52 + $40 | 0) * 2998 | 0; - $57 = $54 + ($46 + $40 << 13) | 0; - $60 = $54 + ($52 - $46 << 13) | 0; - $63 = $40 - $46 - $52 << 2; - HEAP32[$5 >> 2] = $57 + $33 >> 11; - HEAP32[$5 + 60 >> 2] = $33 - $57 >> 11; - $70 = $5 + 12 | 0; - HEAP32[$70 >> 2] = $63 + $25; - HEAP32[$5 + 48 >> 2] = $25 - $63; - HEAP32[$5 + 24 >> 2] = $60 + $34 >> 11; - HEAP32[$5 + 36 >> 2] = $34 - $60 >> 11; - $81 = $5 + 4 | 0; - $87 = Math_imul(HEAP16[$2 + 2 >> 1] << 13, HEAP32[$9 + 4 >> 2] | 0) | 0 | 1024; - $94 = Math_imul((HEAP16[$2 + 66 >> 1] | 0) * 5793 | 0, HEAP32[$9 + 132 >> 2] | 0) | 0; - $95 = $94 + $87 | 0; - $97 = (Math_imul($94, -2) | 0) + $87 >> 11; - $104 = Math_imul((HEAP16[$2 + 34 >> 1] | 0) * 10033 | 0, HEAP32[$9 + 68 >> 2] | 0) | 0; - $105 = $104 + $95 | 0; - $106 = $95 - $104 | 0; - $112 = Math_imul(HEAP32[$9 + 36 >> 2] | 0, HEAP16[$2 + 18 >> 1] | 0) | 0; - $118 = Math_imul(HEAP32[$9 + 100 >> 2] | 0, HEAP16[$2 + 50 >> 1] | 0) | 0; - $124 = Math_imul(HEAP32[$9 + 164 >> 2] | 0, HEAP16[$2 + 82 >> 1] | 0) | 0; - $126 = ($124 + $112 | 0) * 2998 | 0; - $129 = $126 + ($118 + $112 << 13) | 0; - $132 = $126 + ($124 - $118 << 13) | 0; - $135 = $112 - $118 - $124 << 2; - HEAP32[$81 >> 2] = $129 + $105 >> 11; - HEAP32[$5 + 64 >> 2] = $105 - $129 >> 11; - HEAP32[$5 + 16 >> 2] = $135 + $97; - HEAP32[$5 + 52 >> 2] = $97 - $135; - HEAP32[$5 + 28 >> 2] = $132 + $106 >> 11; - HEAP32[$5 + 40 >> 2] = $106 - $132 >> 11; - $159 = Math_imul(HEAP16[$2 + 4 >> 1] << 13, HEAP32[$9 + 8 >> 2] | 0) | 0 | 1024; - $166 = Math_imul((HEAP16[$2 + 68 >> 1] | 0) * 5793 | 0, HEAP32[$9 + 136 >> 2] | 0) | 0; - $167 = $166 + $159 | 0; - $169 = (Math_imul($166, -2) | 0) + $159 >> 11; - $176 = Math_imul((HEAP16[$2 + 36 >> 1] | 0) * 10033 | 0, HEAP32[$9 + 72 >> 2] | 0) | 0; - $177 = $176 + $167 | 0; - $178 = $167 - $176 | 0; - $184 = Math_imul(HEAP32[$9 + 40 >> 2] | 0, HEAP16[$2 + 20 >> 1] | 0) | 0; - $190 = Math_imul(HEAP32[$9 + 104 >> 2] | 0, HEAP16[$2 + 52 >> 1] | 0) | 0; - $196 = Math_imul(HEAP32[$9 + 168 >> 2] | 0, HEAP16[$2 + 84 >> 1] | 0) | 0; - $198 = ($196 + $184 | 0) * 2998 | 0; - $201 = $198 + ($190 + $184 << 13) | 0; - $204 = $198 + ($196 - $190 << 13) | 0; - $207 = $184 - $190 - $196 << 2; - $209 = $201 + $177 >> 11; - HEAP32[$5 + 8 >> 2] = $209; - HEAP32[$5 + 68 >> 2] = $177 - $201 >> 11; - $213 = $207 + $169 | 0; - HEAP32[$5 + 20 >> 2] = $213; - HEAP32[$5 + 56 >> 2] = $169 - $207; - $218 = $204 + $178 >> 11; - HEAP32[$5 + 32 >> 2] = $218; - HEAP32[$5 + 44 >> 2] = $178 - $204 >> 11; - $223 = $7 + -384 | 0; - $225 = (HEAP32[$3 >> 2] | 0) + $4 | 0; - $228 = (HEAP32[$5 >> 2] << 13) + 134348800 | 0; - $230 = $228 + ($209 * 5793 | 0) | 0; - $231 = (Math_imul($209, -11586) | 0) + $228 | 0; - $233 = (HEAP32[$81 >> 2] | 0) * 10033 | 0; - HEAP8[$225 >> 0] = HEAP8[$223 + (($230 + $233 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$225 + 2 >> 0] = HEAP8[$223 + (($230 - $233 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$225 + 1 >> 0] = HEAP8[$223 + ($231 >>> 18 & 1023) >> 0] | 0; - $252 = (HEAP32[$3 + 4 >> 2] | 0) + $4 | 0; - $255 = (HEAP32[$70 >> 2] << 13) + 134348800 | 0; - $257 = $255 + ($213 * 5793 | 0) | 0; - $258 = (Math_imul($213, -11586) | 0) + $255 | 0; - $261 = (HEAP32[$5 + 16 >> 2] | 0) * 10033 | 0; - HEAP8[$252 >> 0] = HEAP8[$223 + (($257 + $261 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$252 + 2 >> 0] = HEAP8[$223 + (($257 - $261 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$252 + 1 >> 0] = HEAP8[$223 + ($258 >>> 18 & 1023) >> 0] | 0; - $281 = (HEAP32[$3 + 8 >> 2] | 0) + $4 | 0; - $284 = (HEAP32[$5 + 24 >> 2] << 13) + 134348800 | 0; - $286 = $284 + ($218 * 5793 | 0) | 0; - $287 = (Math_imul($218, -11586) | 0) + $284 | 0; - $290 = (HEAP32[$5 + 28 >> 2] | 0) * 10033 | 0; - HEAP8[$281 >> 0] = HEAP8[$223 + (($286 + $290 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$281 + 2 >> 0] = HEAP8[$223 + (($286 - $290 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$281 + 1 >> 0] = HEAP8[$223 + ($287 >>> 18 & 1023) >> 0] | 0; - $310 = (HEAP32[$3 + 12 >> 2] | 0) + $4 | 0; - $313 = (HEAP32[$5 + 36 >> 2] << 13) + 134348800 | 0; - $315 = HEAP32[$5 + 44 >> 2] | 0; - $317 = $313 + ($315 * 5793 | 0) | 0; - $318 = (Math_imul($315, -11586) | 0) + $313 | 0; - $321 = (HEAP32[$5 + 40 >> 2] | 0) * 10033 | 0; - HEAP8[$310 >> 0] = HEAP8[$223 + (($317 + $321 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$310 + 2 >> 0] = HEAP8[$223 + (($317 - $321 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$310 + 1 >> 0] = HEAP8[$223 + ($318 >>> 18 & 1023) >> 0] | 0; - $341 = (HEAP32[$3 + 16 >> 2] | 0) + $4 | 0; - $344 = (HEAP32[$5 + 48 >> 2] << 13) + 134348800 | 0; - $346 = HEAP32[$5 + 56 >> 2] | 0; - $348 = $344 + ($346 * 5793 | 0) | 0; - $349 = (Math_imul($346, -11586) | 0) + $344 | 0; - $352 = (HEAP32[$5 + 52 >> 2] | 0) * 10033 | 0; - HEAP8[$341 >> 0] = HEAP8[$223 + (($348 + $352 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$341 + 2 >> 0] = HEAP8[$223 + (($348 - $352 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$341 + 1 >> 0] = HEAP8[$223 + ($349 >>> 18 & 1023) >> 0] | 0; - $372 = (HEAP32[$3 + 20 >> 2] | 0) + $4 | 0; - $375 = (HEAP32[$5 + 60 >> 2] << 13) + 134348800 | 0; - $377 = HEAP32[$5 + 68 >> 2] | 0; - $379 = $375 + ($377 * 5793 | 0) | 0; - $380 = (Math_imul($377, -11586) | 0) + $375 | 0; - $383 = (HEAP32[$5 + 64 >> 2] | 0) * 10033 | 0; - HEAP8[$372 >> 0] = HEAP8[$223 + (($379 + $383 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$372 + 2 >> 0] = HEAP8[$223 + (($379 - $383 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$372 + 1 >> 0] = HEAP8[$223 + ($380 >>> 18 & 1023) >> 0] | 0; - STACKTOP = sp; - return; -} - -function _update_box($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0$lcssa = 0, $$0200513 = 0, $$0204522 = 0, $$0211517 = 0, $$0218 = 0, $$0219 = 0, $$0220 = 0, $$0221 = 0, $$0222 = 0, $$0223 = 0, $$0224512 = 0, $$0252 = 0, $$1201471 = 0, $$1205480 = 0, $$1212475 = 0, $$1225470 = 0, $$1246 = 0, $$2202429 = 0, $$2206433 = 0, $$2213438 = 0, $$2226428 = 0, $$2244 = 0, $$3203387 = 0, $$3207391 = 0, $$3214396 = 0, $$3227386 = 0, $$4208349 = 0, $$4215344 = 0, $$4228354 = 0, $$4345 = 0, $$5209308 = 0, $$5216303 = 0, $$5229312 = 0, $$5304 = 0, $$6210251 = 0, $$6217245 = 0, $$6230242 = 0, $$6243 = 0, $10 = 0, $108 = 0, $11 = 0, $110 = 0, $112 = 0, $117 = 0, $12 = 0, $123 = 0, $13 = 0, $135 = 0, $14 = 0, $15 = 0, $16 = 0, $21 = 0, $36 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0; - $5 = HEAP32[(HEAP32[$0 + 484 >> 2] | 0) + 24 >> 2] | 0; - $6 = HEAP32[$1 >> 2] | 0; - $7 = $1 + 4 | 0; - $8 = HEAP32[$7 >> 2] | 0; - $9 = $1 + 8 | 0; - $10 = HEAP32[$9 >> 2] | 0; - $11 = $1 + 12 | 0; - $12 = HEAP32[$11 >> 2] | 0; - $13 = $1 + 16 | 0; - $14 = HEAP32[$13 >> 2] | 0; - $15 = $1 + 20 | 0; - $16 = HEAP32[$15 >> 2] | 0; - L1 : do if (($8 | 0) <= ($6 | 0) | ($10 | 0) > ($12 | 0) | ($14 | 0) > ($16 | 0)) $$0223 = $6; else { - $$0204522 = $6; - L3 : while (1) { - $21 = HEAP32[$5 + ($$0204522 << 2) >> 2] | 0; - $$0211517 = $10; - while (1) { - $$0200513 = $21 + ($$0211517 << 6) + ($14 << 1) | 0; - $$0224512 = $14; - while (1) { - if (HEAP16[$$0200513 >> 1] | 0) break L3; - if (($$0224512 | 0) < ($16 | 0)) { - $$0200513 = $$0200513 + 2 | 0; - $$0224512 = $$0224512 + 1 | 0; - } else break; + HEAPF64[$cf >> 3] = ($contrastMin$0 | 0) > 30 ? 1.0 : +($contrastMin$0 | 0) / 30.0; + switch ($matrixCodeType | 0) { + case 259: + { + $45 = HEAP8[240 + $44 >> 0] | 0; + $46 = $45 << 24 >> 24; + $49 = $code; + HEAP32[$49 >> 2] = $46; + HEAP32[$49 + 4 >> 2] = (($46 | 0) < 0) << 31 >> 31; + if ($45 << 24 >> 24 < 0) { + HEAP32[$code_out_p >> 2] = -1; + HEAPF64[$cf >> 3] = -1.0; + $retval$0 = -4; + break L1; } - if (($$0211517 | 0) < ($12 | 0)) $$0211517 = $$0211517 + 1 | 0; else break; - } - if (($$0204522 | 0) < ($8 | 0)) $$0204522 = $$0204522 + 1 | 0; else { - $$0223 = $6; - break L1; + break; } - } - HEAP32[$1 >> 2] = $$0204522; - $$0223 = $$0204522; - } while (0); - L14 : do if (($8 | 0) <= ($$0223 | 0) | ($10 | 0) > ($12 | 0) | ($14 | 0) > ($16 | 0)) $$0222 = $8; else { - $$1205480 = $8; - L16 : while (1) { - $36 = HEAP32[$5 + ($$1205480 << 2) >> 2] | 0; - $$1212475 = $10; - while (1) { - $$1201471 = $36 + ($$1212475 << 6) + ($14 << 1) | 0; - $$1225470 = $14; - while (1) { - if (HEAP16[$$1201471 >> 1] | 0) break L16; - if (($$1225470 | 0) < ($16 | 0)) { - $$1201471 = $$1201471 + 2 | 0; - $$1225470 = $$1225470 + 1 | 0; - } else break; + case 515: + { + $53 = HEAP8[112 + $44 >> 0] | 0; + $54 = $53 << 24 >> 24; + $57 = $code; + HEAP32[$57 >> 2] = $54; + HEAP32[$57 + 4 >> 2] = (($54 | 0) < 0) << 31 >> 31; + if ($errorCorrected | 0) HEAP32[$errorCorrected >> 2] = HEAPU8[176 + $44 >> 0]; + if ($53 << 24 >> 24 < 0) { + HEAP32[$code_out_p >> 2] = -1; + HEAPF64[$cf >> 3] = -1.0; + $retval$0 = -4; + break L1; } - if (($$1212475 | 0) < ($12 | 0)) $$1212475 = $$1212475 + 1 | 0; else break; - } - if (($$1205480 | 0) > ($$0223 | 0)) $$1205480 = $$1205480 + -1 | 0; else { - $$0222 = $8; - break L14; + break; } - } - HEAP32[$7 >> 2] = $$1205480; - $$0222 = $$1205480; - } while (0); - L27 : do if (($12 | 0) <= ($10 | 0) | ($$0222 | 0) < ($$0223 | 0) | ($14 | 0) > ($16 | 0)) $$0221 = $10; else { - $$2213438 = $10; - L29 : while (1) { - $$2206433 = $$0223; - while (1) { - $$2202429 = (HEAP32[$5 + ($$2206433 << 2) >> 2] | 0) + ($$2213438 << 6) + ($14 << 1) | 0; - $$2226428 = $14; - while (1) { - if (HEAP16[$$2202429 >> 1] | 0) break L29; - if (($$2226428 | 0) < ($16 | 0)) { - $$2202429 = $$2202429 + 2 | 0; - $$2226428 = $$2226428 + 1 | 0; - } else break; + case 772: + case 1028: + case 1029: + case 1285: + { + $64 = _decode_bch($matrixCodeType, $44, $63, 0, $code) | 0; + if (($64 | 0) < 0) { + HEAP32[$code_out_p >> 2] = -1; + HEAPF64[$cf >> 3] = -1.0; + $retval$0 = -4; + break L1; } - if (($$2206433 | 0) < ($$0222 | 0)) $$2206433 = $$2206433 + 1 | 0; else break; + if (($errorCorrected | 0) != 0 & ($64 | 0) != 0) HEAP32[$errorCorrected >> 2] = $64; + break; } - if (($$2213438 | 0) < ($12 | 0)) $$2213438 = $$2213438 + 1 | 0; else { - $$0221 = $10; - break L27; + default: + { + $65 = $code; + HEAP32[$65 >> 2] = $44; + HEAP32[$65 + 4 >> 2] = $63; } } - HEAP32[$9 >> 2] = $$2213438; - $$0221 = $$2213438; + HEAP32[$code_out_p >> 2] = HEAP32[$code >> 2]; + $retval$0 = 0; } while (0); - L40 : do if (($12 | 0) <= ($$0221 | 0) | ($$0222 | 0) < ($$0223 | 0) | ($14 | 0) > ($16 | 0)) $$0220 = $12; else { - $$3214396 = $12; - L42 : while (1) { - $$3207391 = $$0223; - while (1) { - $$3203387 = (HEAP32[$5 + ($$3207391 << 2) >> 2] | 0) + ($$3214396 << 6) + ($14 << 1) | 0; - $$3227386 = $14; - while (1) { - if (HEAP16[$$3203387 >> 1] | 0) break L42; - if (($$3227386 | 0) < ($16 | 0)) { - $$3203387 = $$3203387 + 2 | 0; - $$3227386 = $$3227386 + 1 | 0; - } else break; - } - if (($$3207391 | 0) < ($$0222 | 0)) $$3207391 = $$3207391 + 1 | 0; else break; + STACKTOP = sp; + return $retval$0 | 0; +} + +function ___udivmoddi4($a$0, $a$1, $b$0, $b$1, $rem) { + $a$0 = $a$0 | 0; + $a$1 = $a$1 | 0; + $b$0 = $b$0 | 0; + $b$1 = $b$1 | 0; + $rem = $rem | 0; + var $n_sroa_0_0_extract_trunc = 0, $n_sroa_1_4_extract_shift$0 = 0, $n_sroa_1_4_extract_trunc = 0, $d_sroa_0_0_extract_trunc = 0, $d_sroa_1_4_extract_shift$0 = 0, $d_sroa_1_4_extract_trunc = 0, $4 = 0, $17 = 0, $37 = 0, $51 = 0, $57 = 0, $58 = 0, $66 = 0, $78 = 0, $88 = 0, $89 = 0, $91 = 0, $92 = 0, $95 = 0, $105 = 0, $119 = 0, $125 = 0, $126 = 0, $130 = 0, $q_sroa_1_1_ph = 0, $q_sroa_0_1_ph = 0, $r_sroa_1_1_ph = 0, $r_sroa_0_1_ph = 0, $sr_1_ph = 0, $d_sroa_0_0_insert_insert99$0 = 0, $d_sroa_0_0_insert_insert99$1 = 0, $137$0 = 0, $137$1 = 0, $carry_0203 = 0, $sr_1202 = 0, $r_sroa_0_1201 = 0, $r_sroa_1_1200 = 0, $q_sroa_0_1199 = 0, $q_sroa_1_1198 = 0, $r_sroa_0_0_insert_insert42$0 = 0, $r_sroa_0_0_insert_insert42$1 = 0, $150$1 = 0, $151$0 = 0, $carry_0_lcssa$0 = 0, $carry_0_lcssa$1 = 0, $r_sroa_0_1_lcssa = 0, $r_sroa_1_1_lcssa = 0, $q_sroa_0_1_lcssa = 0, $q_sroa_1_1_lcssa = 0, $q_sroa_0_0_insert_ext75$0 = 0, $q_sroa_0_0_insert_ext75$1 = 0, $_0$0 = 0, $_0$1 = 0, $q_sroa_1_1198$looptemp = 0; + $n_sroa_0_0_extract_trunc = $a$0; + $n_sroa_1_4_extract_shift$0 = $a$1; + $n_sroa_1_4_extract_trunc = $n_sroa_1_4_extract_shift$0; + $d_sroa_0_0_extract_trunc = $b$0; + $d_sroa_1_4_extract_shift$0 = $b$1; + $d_sroa_1_4_extract_trunc = $d_sroa_1_4_extract_shift$0; + if (!$n_sroa_1_4_extract_trunc) { + $4 = ($rem | 0) != 0; + if (!$d_sroa_1_4_extract_trunc) { + if ($4) { + HEAP32[$rem >> 2] = ($n_sroa_0_0_extract_trunc >>> 0) % ($d_sroa_0_0_extract_trunc >>> 0); + HEAP32[$rem + 4 >> 2] = 0; } - if (($$3214396 | 0) > ($$0221 | 0)) $$3214396 = $$3214396 + -1 | 0; else { - $$0220 = $12; - break L40; + $_0$1 = 0; + $_0$0 = ($n_sroa_0_0_extract_trunc >>> 0) / ($d_sroa_0_0_extract_trunc >>> 0) >>> 0; + return (setTempRet0($_0$1 | 0), $_0$0) | 0; + } else { + if (!$4) { + $_0$1 = 0; + $_0$0 = 0; + return (setTempRet0($_0$1 | 0), $_0$0) | 0; } + HEAP32[$rem >> 2] = $a$0 | 0; + HEAP32[$rem + 4 >> 2] = $a$1 & 0; + $_0$1 = 0; + $_0$0 = 0; + return (setTempRet0($_0$1 | 0), $_0$0) | 0; } - HEAP32[$11 >> 2] = $$3214396; - $$0220 = $$3214396; - } while (0); - L53 : do if (($16 | 0) <= ($14 | 0) | ($$0222 | 0) < ($$0223 | 0) | ($$0220 | 0) < ($$0221 | 0)) $$0219 = $14; else { - $$4228354 = $14; - L55 : while (1) { - $$4208349 = $$0223; - while (1) { - $$4215344 = $$0221; - $$4345 = (HEAP32[$5 + ($$4208349 << 2) >> 2] | 0) + ($$0221 << 6) + ($$4228354 << 1) | 0; - while (1) { - if (HEAP16[$$4345 >> 1] | 0) break L55; - if (($$4215344 | 0) < ($$0220 | 0)) { - $$4215344 = $$4215344 + 1 | 0; - $$4345 = $$4345 + 64 | 0; - } else break; - } - if (($$4208349 | 0) < ($$0222 | 0)) $$4208349 = $$4208349 + 1 | 0; else break; + } + $17 = ($d_sroa_1_4_extract_trunc | 0) == 0; + do if ($d_sroa_0_0_extract_trunc) { + if (!$17) { + $119 = (Math_clz32($d_sroa_1_4_extract_trunc | 0) | 0) - (Math_clz32($n_sroa_1_4_extract_trunc | 0) | 0) | 0; + if ($119 >>> 0 <= 31) { + $125 = $119 + 1 | 0; + $126 = 31 - $119 | 0; + $130 = $119 - 31 >> 31; + $sr_1_ph = $125; + $r_sroa_0_1_ph = $n_sroa_0_0_extract_trunc >>> ($125 >>> 0) & $130 | $n_sroa_1_4_extract_trunc << $126; + $r_sroa_1_1_ph = $n_sroa_1_4_extract_trunc >>> ($125 >>> 0) & $130; + $q_sroa_0_1_ph = 0; + $q_sroa_1_1_ph = $n_sroa_0_0_extract_trunc << $126; + break; } - if (($$4228354 | 0) < ($16 | 0)) $$4228354 = $$4228354 + 1 | 0; else { - $$0219 = $14; - break L53; + if (!$rem) { + $_0$1 = 0; + $_0$0 = 0; + return (setTempRet0($_0$1 | 0), $_0$0) | 0; } + HEAP32[$rem >> 2] = $a$0 | 0; + HEAP32[$rem + 4 >> 2] = $n_sroa_1_4_extract_shift$0 | $a$1 & 0; + $_0$1 = 0; + $_0$0 = 0; + return (setTempRet0($_0$1 | 0), $_0$0) | 0; } - HEAP32[$13 >> 2] = $$4228354; - $$0219 = $$4228354; - } while (0); - L66 : do if (($16 | 0) <= ($$0219 | 0) | ($$0222 | 0) < ($$0223 | 0) | ($$0220 | 0) < ($$0221 | 0)) $$0218 = $16; else { - $$5229312 = $16; - L68 : while (1) { - $$5209308 = $$0223; - while (1) { - $$5216303 = $$0221; - $$5304 = (HEAP32[$5 + ($$5209308 << 2) >> 2] | 0) + ($$0221 << 6) + ($$5229312 << 1) | 0; - while (1) { - if (HEAP16[$$5304 >> 1] | 0) break L68; - if (($$5216303 | 0) < ($$0220 | 0)) { - $$5216303 = $$5216303 + 1 | 0; - $$5304 = $$5304 + 64 | 0; - } else break; - } - if (($$5209308 | 0) < ($$0222 | 0)) $$5209308 = $$5209308 + 1 | 0; else break; + $66 = $d_sroa_0_0_extract_trunc - 1 | 0; + if ($66 & $d_sroa_0_0_extract_trunc | 0) { + $88 = (Math_clz32($d_sroa_0_0_extract_trunc | 0) | 0) + 33 - (Math_clz32($n_sroa_1_4_extract_trunc | 0) | 0) | 0; + $89 = 64 - $88 | 0; + $91 = 32 - $88 | 0; + $92 = $91 >> 31; + $95 = $88 - 32 | 0; + $105 = $95 >> 31; + $sr_1_ph = $88; + $r_sroa_0_1_ph = $91 - 1 >> 31 & $n_sroa_1_4_extract_trunc >>> ($95 >>> 0) | ($n_sroa_1_4_extract_trunc << $91 | $n_sroa_0_0_extract_trunc >>> ($88 >>> 0)) & $105; + $r_sroa_1_1_ph = $105 & $n_sroa_1_4_extract_trunc >>> ($88 >>> 0); + $q_sroa_0_1_ph = $n_sroa_0_0_extract_trunc << $89 & $92; + $q_sroa_1_1_ph = ($n_sroa_1_4_extract_trunc << $89 | $n_sroa_0_0_extract_trunc >>> ($95 >>> 0)) & $92 | $n_sroa_0_0_extract_trunc << $91 & $88 - 33 >> 31; + break; + } + if ($rem | 0) { + HEAP32[$rem >> 2] = $66 & $n_sroa_0_0_extract_trunc; + HEAP32[$rem + 4 >> 2] = 0; + } + if (($d_sroa_0_0_extract_trunc | 0) == 1) { + $_0$1 = $n_sroa_1_4_extract_shift$0 | $a$1 & 0; + $_0$0 = $a$0 | 0 | 0; + return (setTempRet0($_0$1 | 0), $_0$0) | 0; + } else { + $78 = _llvm_cttz_i32($d_sroa_0_0_extract_trunc | 0) | 0; + $_0$1 = $n_sroa_1_4_extract_trunc >>> ($78 >>> 0) | 0; + $_0$0 = $n_sroa_1_4_extract_trunc << 32 - $78 | $n_sroa_0_0_extract_trunc >>> ($78 >>> 0) | 0; + return (setTempRet0($_0$1 | 0), $_0$0) | 0; + } + } else { + if ($17) { + if ($rem | 0) { + HEAP32[$rem >> 2] = ($n_sroa_1_4_extract_trunc >>> 0) % ($d_sroa_0_0_extract_trunc >>> 0); + HEAP32[$rem + 4 >> 2] = 0; } - if (($$5229312 | 0) > ($$0219 | 0)) $$5229312 = $$5229312 + -1 | 0; else { - $$0218 = $16; - break L66; + $_0$1 = 0; + $_0$0 = ($n_sroa_1_4_extract_trunc >>> 0) / ($d_sroa_0_0_extract_trunc >>> 0) >>> 0; + return (setTempRet0($_0$1 | 0), $_0$0) | 0; + } + if (!$n_sroa_0_0_extract_trunc) { + if ($rem | 0) { + HEAP32[$rem >> 2] = 0; + HEAP32[$rem + 4 >> 2] = ($n_sroa_1_4_extract_trunc >>> 0) % ($d_sroa_1_4_extract_trunc >>> 0); } + $_0$1 = 0; + $_0$0 = ($n_sroa_1_4_extract_trunc >>> 0) / ($d_sroa_1_4_extract_trunc >>> 0) >>> 0; + return (setTempRet0($_0$1 | 0), $_0$0) | 0; } - HEAP32[$15 >> 2] = $$5229312; - $$0218 = $$5229312; - } while (0); - $108 = $$0222 - $$0223 << 4; - $110 = ($$0220 - $$0221 | 0) * 12 | 0; - $112 = $$0218 - $$0219 << 3; - $117 = (Math_imul($110, $110) | 0) + (Math_imul($108, $108) | 0) + (Math_imul($112, $112) | 0) | 0; - HEAP32[$1 + 24 >> 2] = $117; - if (($$0222 | 0) < ($$0223 | 0) | ($$0220 | 0) < ($$0221 | 0) | ($$0218 | 0) < ($$0219 | 0)) { - $$0$lcssa = 0; - $135 = $1 + 28 | 0; - HEAP32[$135 >> 2] = $$0$lcssa; - return; - } - $$0252 = 0; - $$6210251 = $$0223; - while (1) { - $123 = HEAP32[$5 + ($$6210251 << 2) >> 2] | 0; - $$1246 = $$0252; - $$6217245 = $$0221; - while (1) { - $$2244 = $$1246; - $$6230242 = $$0219; - $$6243 = $123 + ($$6217245 << 6) + ($$0219 << 1) | 0; - while (1) { - $$2244 = $$2244 + ((HEAP16[$$6243 >> 1] | 0) != 0 & 1) | 0; - if (($$6230242 | 0) >= ($$0218 | 0)) break; else { - $$6230242 = $$6230242 + 1 | 0; - $$6243 = $$6243 + 2 | 0; - } + $37 = $d_sroa_1_4_extract_trunc - 1 | 0; + if (!($37 & $d_sroa_1_4_extract_trunc)) { + if ($rem | 0) { + HEAP32[$rem >> 2] = $a$0 | 0; + HEAP32[$rem + 4 >> 2] = $37 & $n_sroa_1_4_extract_trunc | $a$1 & 0; } - if (($$6217245 | 0) < ($$0220 | 0)) { - $$1246 = $$2244; - $$6217245 = $$6217245 + 1 | 0; - } else break; + $_0$1 = 0; + $_0$0 = $n_sroa_1_4_extract_trunc >>> ((_llvm_cttz_i32($d_sroa_1_4_extract_trunc | 0) | 0) >>> 0); + return (setTempRet0($_0$1 | 0), $_0$0) | 0; } - if (($$6210251 | 0) < ($$0222 | 0)) { - $$0252 = $$2244; - $$6210251 = $$6210251 + 1 | 0; - } else { - $$0$lcssa = $$2244; + $51 = (Math_clz32($d_sroa_1_4_extract_trunc | 0) | 0) - (Math_clz32($n_sroa_1_4_extract_trunc | 0) | 0) | 0; + if ($51 >>> 0 <= 30) { + $57 = $51 + 1 | 0; + $58 = 31 - $51 | 0; + $sr_1_ph = $57; + $r_sroa_0_1_ph = $n_sroa_1_4_extract_trunc << $58 | $n_sroa_0_0_extract_trunc >>> ($57 >>> 0); + $r_sroa_1_1_ph = $n_sroa_1_4_extract_trunc >>> ($57 >>> 0); + $q_sroa_0_1_ph = 0; + $q_sroa_1_1_ph = $n_sroa_0_0_extract_trunc << $58; break; } + if (!$rem) { + $_0$1 = 0; + $_0$0 = 0; + return (setTempRet0($_0$1 | 0), $_0$0) | 0; + } + HEAP32[$rem >> 2] = $a$0 | 0; + HEAP32[$rem + 4 >> 2] = $n_sroa_1_4_extract_shift$0 | $a$1 & 0; + $_0$1 = 0; + $_0$0 = 0; + return (setTempRet0($_0$1 | 0), $_0$0) | 0; + } while (0); + if (!$sr_1_ph) { + $q_sroa_1_1_lcssa = $q_sroa_1_1_ph; + $q_sroa_0_1_lcssa = $q_sroa_0_1_ph; + $r_sroa_1_1_lcssa = $r_sroa_1_1_ph; + $r_sroa_0_1_lcssa = $r_sroa_0_1_ph; + $carry_0_lcssa$1 = 0; + $carry_0_lcssa$0 = 0; + } else { + $d_sroa_0_0_insert_insert99$0 = $b$0 | 0 | 0; + $d_sroa_0_0_insert_insert99$1 = $d_sroa_1_4_extract_shift$0 | $b$1 & 0; + $137$0 = _i64Add($d_sroa_0_0_insert_insert99$0 | 0, $d_sroa_0_0_insert_insert99$1 | 0, -1, -1) | 0; + $137$1 = getTempRet0() | 0; + $q_sroa_1_1198 = $q_sroa_1_1_ph; + $q_sroa_0_1199 = $q_sroa_0_1_ph; + $r_sroa_1_1200 = $r_sroa_1_1_ph; + $r_sroa_0_1201 = $r_sroa_0_1_ph; + $sr_1202 = $sr_1_ph; + $carry_0203 = 0; + do { + $q_sroa_1_1198$looptemp = $q_sroa_1_1198; + $q_sroa_1_1198 = $q_sroa_0_1199 >>> 31 | $q_sroa_1_1198 << 1; + $q_sroa_0_1199 = $carry_0203 | $q_sroa_0_1199 << 1; + $r_sroa_0_0_insert_insert42$0 = $r_sroa_0_1201 << 1 | $q_sroa_1_1198$looptemp >>> 31 | 0; + $r_sroa_0_0_insert_insert42$1 = $r_sroa_0_1201 >>> 31 | $r_sroa_1_1200 << 1 | 0; + _i64Subtract($137$0 | 0, $137$1 | 0, $r_sroa_0_0_insert_insert42$0 | 0, $r_sroa_0_0_insert_insert42$1 | 0) | 0; + $150$1 = getTempRet0() | 0; + $151$0 = $150$1 >> 31 | (($150$1 | 0) < 0 ? -1 : 0) << 1; + $carry_0203 = $151$0 & 1; + $r_sroa_0_1201 = _i64Subtract($r_sroa_0_0_insert_insert42$0 | 0, $r_sroa_0_0_insert_insert42$1 | 0, $151$0 & $d_sroa_0_0_insert_insert99$0 | 0, ((($150$1 | 0) < 0 ? -1 : 0) >> 31 | (($150$1 | 0) < 0 ? -1 : 0) << 1) & $d_sroa_0_0_insert_insert99$1 | 0) | 0; + $r_sroa_1_1200 = getTempRet0() | 0; + $sr_1202 = $sr_1202 - 1 | 0; + } while (($sr_1202 | 0) != 0); + $q_sroa_1_1_lcssa = $q_sroa_1_1198; + $q_sroa_0_1_lcssa = $q_sroa_0_1199; + $r_sroa_1_1_lcssa = $r_sroa_1_1200; + $r_sroa_0_1_lcssa = $r_sroa_0_1201; + $carry_0_lcssa$1 = 0; + $carry_0_lcssa$0 = $carry_0203; } - $135 = $1 + 28 | 0; - HEAP32[$135 >> 2] = $$0$lcssa; - return; + $q_sroa_0_0_insert_ext75$0 = $q_sroa_0_1_lcssa; + $q_sroa_0_0_insert_ext75$1 = 0; + if ($rem | 0) { + HEAP32[$rem >> 2] = $r_sroa_0_1_lcssa; + HEAP32[$rem + 4 >> 2] = $r_sroa_1_1_lcssa; + } + $_0$1 = ($q_sroa_0_0_insert_ext75$0 | 0) >>> 31 | ($q_sroa_1_1_lcssa | $q_sroa_0_0_insert_ext75$1) << 1 | ($q_sroa_0_0_insert_ext75$1 << 1 | $q_sroa_0_0_insert_ext75$0 >>> 31) & 0 | $carry_0_lcssa$1; + $_0$0 = ($q_sroa_0_0_insert_ext75$0 << 1 | 0 >>> 31) & -2 | $carry_0_lcssa$0; + return (setTempRet0($_0$1 | 0), $_0$0) | 0; } -function _jpeg_idct_13x13($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $$0330339 = 0, $$0332338 = 0, $$0333337 = 0, $$0340 = 0, $$1331335 = 0, $$1336 = 0, $101 = 0, $107 = 0, $110 = 0, $115 = 0, $116 = 0, $117 = 0, $123 = 0, $125 = 0, $129 = 0, $15 = 0, $171 = 0, $174 = 0, $177 = 0, $179 = 0, $181 = 0, $183 = 0, $184 = 0, $185 = 0, $186 = 0, $188 = 0, $191 = 0, $194 = 0, $195 = 0, $197 = 0, $200 = 0, $203 = 0, $204 = 0, $206 = 0, $209 = 0, $21 = 0, $212 = 0, $217 = 0, $219 = 0, $221 = 0, $223 = 0, $225 = 0, $227 = 0, $228 = 0, $229 = 0, $233 = 0, $235 = 0, $241 = 0, $244 = 0, $249 = 0, $250 = 0, $251 = 0, $257 = 0, $259 = 0, $263 = 0, $27 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $38 = 0, $41 = 0, $44 = 0, $45 = 0, $47 = 0, $5 = 0, $50 = 0, $53 = 0, $54 = 0, $56 = 0, $59 = 0, $62 = 0, $7 = 0, $71 = 0, $77 = 0, $83 = 0, $89 = 0, $91 = 0, $93 = 0, $94 = 0, $95 = 0, $99 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 416 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(416); - $5 = sp; - $7 = HEAP32[$0 + 336 >> 2] | 0; - $$0330339 = $5; - $$0332338 = HEAP32[$1 + 84 >> 2] | 0; - $$0333337 = $2; - $$0340 = 0; - while (1) { - $15 = Math_imul(HEAP16[$$0333337 >> 1] << 13, HEAP32[$$0332338 >> 2] | 0) | 0 | 1024; - $21 = Math_imul(HEAP32[$$0332338 + 64 >> 2] | 0, HEAP16[$$0333337 + 32 >> 1] | 0) | 0; - $27 = Math_imul(HEAP32[$$0332338 + 128 >> 2] | 0, HEAP16[$$0333337 + 64 >> 1] | 0) | 0; - $33 = Math_imul(HEAP32[$$0332338 + 192 >> 2] | 0, HEAP16[$$0333337 + 96 >> 1] | 0) | 0; - $34 = $33 + $27 | 0; - $35 = $27 - $33 | 0; - $36 = $34 * 9465 | 0; - $38 = ($35 * 793 | 0) + $15 | 0; - $41 = $36 + ($21 * 11249 | 0) + $38 | 0; - $44 = ($21 * 4108 | 0) - $36 + $38 | 0; - $45 = $34 * 2592 | 0; - $47 = ($35 * 3989 | 0) + $15 | 0; - $50 = ($21 * 8672 | 0) - $45 + $47 | 0; - $53 = $45 + (Math_imul($21, -10258) | 0) + $47 | 0; - $54 = $34 * 3570 | 0; - $56 = $15 + (Math_imul($35, -7678) | 0) | 0; - $59 = (Math_imul($21, -1396) | 0) - $54 + $56 | 0; - $62 = $54 + (Math_imul($21, -6581) | 0) + $56 | 0; - $71 = Math_imul(HEAP32[$$0332338 + 32 >> 2] | 0, HEAP16[$$0333337 + 16 >> 1] | 0) | 0; - $77 = Math_imul(HEAP32[$$0332338 + 96 >> 2] | 0, HEAP16[$$0333337 + 48 >> 1] | 0) | 0; - $83 = Math_imul(HEAP32[$$0332338 + 160 >> 2] | 0, HEAP16[$$0333337 + 80 >> 1] | 0) | 0; - $89 = Math_imul(HEAP32[$$0332338 + 224 >> 2] | 0, HEAP16[$$0333337 + 112 >> 1] | 0) | 0; - $91 = ($77 + $71 | 0) * 10832 | 0; - $93 = ($83 + $71 | 0) * 9534 | 0; - $94 = $89 + $71 | 0; - $95 = $94 * 7682 | 0; - $99 = $91 + (Math_imul($71, -16549) | 0) + $93 + $95 | 0; - $101 = Math_imul($83 + $77 | 0, -2773) | 0; - $107 = Math_imul($89 + $77 | 0, -9534) | 0; - $110 = $91 + ($77 * 6859 | 0) + $101 + $107 | 0; - $115 = Math_imul($89 + $83 | 0, -5384) | 0; - $116 = $101 + (Math_imul($83, -12879) | 0) + $93 + $115 | 0; - $117 = $107 + ($89 * 18068 | 0) + $95 + $115 | 0; - $123 = ($94 * 2773 | 0) + (($83 - $77 | 0) * 7682 | 0) | 0; - $125 = $123 + ($71 * 2611 | 0) + (Math_imul($77, -3818) | 0) | 0; - $129 = $123 + ($83 * 3150 | 0) + (Math_imul($89, -14273) | 0) | 0; - HEAP32[$$0330339 >> 2] = $99 + $41 >> 11; - HEAP32[$$0330339 + 384 >> 2] = $41 - $99 >> 11; - HEAP32[$$0330339 + 32 >> 2] = $110 + $50 >> 11; - HEAP32[$$0330339 + 352 >> 2] = $50 - $110 >> 11; - HEAP32[$$0330339 + 64 >> 2] = $116 + $44 >> 11; - HEAP32[$$0330339 + 320 >> 2] = $44 - $116 >> 11; - HEAP32[$$0330339 + 96 >> 2] = $117 + $59 >> 11; - HEAP32[$$0330339 + 288 >> 2] = $59 - $117 >> 11; - HEAP32[$$0330339 + 128 >> 2] = $125 + $62 >> 11; - HEAP32[$$0330339 + 256 >> 2] = $62 - $125 >> 11; - HEAP32[$$0330339 + 160 >> 2] = $129 + $53 >> 11; - HEAP32[$$0330339 + 224 >> 2] = $53 - $129 >> 11; - HEAP32[$$0330339 + 192 >> 2] = (($35 - $21 | 0) * 11585 | 0) + $15 >> 11; - $$0340 = $$0340 + 1 | 0; - if (($$0340 | 0) == 8) break; else { - $$0330339 = $$0330339 + 4 | 0; - $$0332338 = $$0332338 + 4 | 0; - $$0333337 = $$0333337 + 2 | 0; - } - } - $171 = $7 + -384 | 0; - $$1331335 = $5; - $$1336 = 0; - while (1) { - $174 = (HEAP32[$3 + ($$1336 << 2) >> 2] | 0) + $4 | 0; - $177 = (HEAP32[$$1331335 >> 2] << 13) + 134348800 | 0; - $179 = HEAP32[$$1331335 + 8 >> 2] | 0; - $181 = HEAP32[$$1331335 + 16 >> 2] | 0; - $183 = HEAP32[$$1331335 + 24 >> 2] | 0; - $184 = $183 + $181 | 0; - $185 = $181 - $183 | 0; - $186 = $184 * 9465 | 0; - $188 = ($185 * 793 | 0) + $177 | 0; - $191 = $186 + ($179 * 11249 | 0) + $188 | 0; - $194 = ($179 * 4108 | 0) - $186 + $188 | 0; - $195 = $184 * 2592 | 0; - $197 = ($185 * 3989 | 0) + $177 | 0; - $200 = ($179 * 8672 | 0) - $195 + $197 | 0; - $203 = $195 + (Math_imul($179, -10258) | 0) + $197 | 0; - $204 = $184 * 3570 | 0; - $206 = $177 + (Math_imul($185, -7678) | 0) | 0; - $209 = (Math_imul($179, -1396) | 0) - $204 + $206 | 0; - $212 = $204 + (Math_imul($179, -6581) | 0) + $206 | 0; - $217 = HEAP32[$$1331335 + 4 >> 2] | 0; - $219 = HEAP32[$$1331335 + 12 >> 2] | 0; - $221 = HEAP32[$$1331335 + 20 >> 2] | 0; - $223 = HEAP32[$$1331335 + 28 >> 2] | 0; - $225 = ($219 + $217 | 0) * 10832 | 0; - $227 = ($221 + $217 | 0) * 9534 | 0; - $228 = $223 + $217 | 0; - $229 = $228 * 7682 | 0; - $233 = $225 + (Math_imul($217, -16549) | 0) + $227 + $229 | 0; - $235 = Math_imul($221 + $219 | 0, -2773) | 0; - $241 = Math_imul($223 + $219 | 0, -9534) | 0; - $244 = $225 + ($219 * 6859 | 0) + $235 + $241 | 0; - $249 = Math_imul($223 + $221 | 0, -5384) | 0; - $250 = $235 + (Math_imul($221, -12879) | 0) + $227 + $249 | 0; - $251 = $241 + ($223 * 18068 | 0) + $229 + $249 | 0; - $257 = ($228 * 2773 | 0) + (($221 - $219 | 0) * 7682 | 0) | 0; - $259 = $257 + ($217 * 2611 | 0) + (Math_imul($219, -3818) | 0) | 0; - $263 = $257 + ($221 * 3150 | 0) + (Math_imul($223, -14273) | 0) | 0; - HEAP8[$174 >> 0] = HEAP8[$171 + (($233 + $191 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$174 + 12 >> 0] = HEAP8[$171 + (($191 - $233 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$174 + 1 >> 0] = HEAP8[$171 + (($244 + $200 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$174 + 11 >> 0] = HEAP8[$171 + (($200 - $244 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$174 + 2 >> 0] = HEAP8[$171 + (($250 + $194 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$174 + 10 >> 0] = HEAP8[$171 + (($194 - $250 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$174 + 3 >> 0] = HEAP8[$171 + (($251 + $209 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$174 + 9 >> 0] = HEAP8[$171 + (($209 - $251 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$174 + 4 >> 0] = HEAP8[$171 + (($259 + $212 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$174 + 8 >> 0] = HEAP8[$171 + (($212 - $259 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$174 + 5 >> 0] = HEAP8[$171 + (($263 + $203 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$174 + 7 >> 0] = HEAP8[$171 + (($203 - $263 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$174 + 6 >> 0] = HEAP8[$171 + (((($185 - $179 | 0) * 11585 | 0) + $177 | 0) >>> 18 & 1023) >> 0] | 0; - $$1336 = $$1336 + 1 | 0; - if (($$1336 | 0) == 13) break; else $$1331335 = $$1331335 + 32 | 0; - } - STACKTOP = sp; - return; -} - -function _jpeg_idct_6x3($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $111 = 0, $118 = 0, $119 = 0, $120 = 0, $127 = 0, $143 = 0, $15 = 0, $150 = 0, $151 = 0, $152 = 0, $159 = 0, $175 = 0, $182 = 0, $183 = 0, $184 = 0, $191 = 0, $197 = 0, $199 = 0, $201 = 0, $204 = 0, $207 = 0, $208 = 0, $210 = 0, $213 = 0, $214 = 0, $215 = 0, $216 = 0, $218 = 0, $22 = 0, $220 = 0, $222 = 0, $225 = 0, $228 = 0, $23 = 0, $231 = 0, $24 = 0, $269 = 0, $272 = 0, $275 = 0, $276 = 0, $278 = 0, $281 = 0, $282 = 0, $283 = 0, $285 = 0, $287 = 0, $289 = 0, $292 = 0, $295 = 0, $298 = 0, $31 = 0, $337 = 0, $340 = 0, $343 = 0, $344 = 0, $346 = 0, $349 = 0, $350 = 0, $351 = 0, $353 = 0, $355 = 0, $357 = 0, $359 = 0, $362 = 0, $365 = 0, $368 = 0, $38 = 0, $41 = 0, $47 = 0, $5 = 0, $54 = 0, $55 = 0, $56 = 0, $63 = 0, $7 = 0, $79 = 0, $86 = 0, $87 = 0, $88 = 0, $9 = 0, $95 = 0, sp = 0; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E19parseUnresolvedNameEv($this) { + $this = $this | 0; + var $$pre$phiZ2D = 0, $SoFar = 0, $agg$tmp = 0, $agg$tmp38 = 0, $agg$tmp40 = 0, $agg$tmp40$byval_copy = 0, $call109 = 0, $call13 = 0, $call19 = 0, $call2 = 0, $call23 = 0, $call3 = 0, $call31 = 0, $call39 = 0, $call45 = 0, $call51 = 0, $call60 = 0, $call61 = 0, $call67 = 0, $call70 = 0, $call83 = 0, $call84 = 0, $call9 = 0, $call94 = 0, $call98 = 0, $retval$10 = 0, $retval$4 = 0, $retval$8 = 0, label = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 80 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(80); - $5 = sp; - $7 = HEAP32[$0 + 336 >> 2] | 0; - $9 = HEAP32[$1 + 84 >> 2] | 0; - $15 = Math_imul(HEAP16[$2 >> 1] << 13, HEAP32[$9 >> 2] | 0) | 0 | 1024; - $22 = Math_imul((HEAP16[$2 + 32 >> 1] | 0) * 5793 | 0, HEAP32[$9 + 64 >> 2] | 0) | 0; - $23 = $22 + $15 | 0; - $24 = (Math_imul($22, -2) | 0) + $15 | 0; - $31 = Math_imul((HEAP16[$2 + 16 >> 1] | 0) * 10033 | 0, HEAP32[$9 + 32 >> 2] | 0) | 0; - HEAP32[$5 >> 2] = $31 + $23 >> 11; - HEAP32[$5 + 48 >> 2] = $23 - $31 >> 11; - $38 = $5 + 24 | 0; - HEAP32[$38 >> 2] = $24 >> 11; - $41 = $5 + 4 | 0; - $47 = Math_imul(HEAP16[$2 + 2 >> 1] << 13, HEAP32[$9 + 4 >> 2] | 0) | 0 | 1024; - $54 = Math_imul((HEAP16[$2 + 34 >> 1] | 0) * 5793 | 0, HEAP32[$9 + 68 >> 2] | 0) | 0; - $55 = $54 + $47 | 0; - $56 = (Math_imul($54, -2) | 0) + $47 | 0; - $63 = Math_imul((HEAP16[$2 + 18 >> 1] | 0) * 10033 | 0, HEAP32[$9 + 36 >> 2] | 0) | 0; - HEAP32[$41 >> 2] = $63 + $55 >> 11; - HEAP32[$5 + 52 >> 2] = $55 - $63 >> 11; - HEAP32[$5 + 28 >> 2] = $56 >> 11; - $79 = Math_imul(HEAP16[$2 + 4 >> 1] << 13, HEAP32[$9 + 8 >> 2] | 0) | 0 | 1024; - $86 = Math_imul((HEAP16[$2 + 36 >> 1] | 0) * 5793 | 0, HEAP32[$9 + 72 >> 2] | 0) | 0; - $87 = $86 + $79 | 0; - $88 = (Math_imul($86, -2) | 0) + $79 | 0; - $95 = Math_imul((HEAP16[$2 + 20 >> 1] | 0) * 10033 | 0, HEAP32[$9 + 40 >> 2] | 0) | 0; - HEAP32[$5 + 8 >> 2] = $95 + $87 >> 11; - HEAP32[$5 + 56 >> 2] = $87 - $95 >> 11; - HEAP32[$5 + 32 >> 2] = $88 >> 11; - $111 = Math_imul(HEAP16[$2 + 6 >> 1] << 13, HEAP32[$9 + 12 >> 2] | 0) | 0 | 1024; - $118 = Math_imul((HEAP16[$2 + 38 >> 1] | 0) * 5793 | 0, HEAP32[$9 + 76 >> 2] | 0) | 0; - $119 = $118 + $111 | 0; - $120 = (Math_imul($118, -2) | 0) + $111 | 0; - $127 = Math_imul((HEAP16[$2 + 22 >> 1] | 0) * 10033 | 0, HEAP32[$9 + 44 >> 2] | 0) | 0; - HEAP32[$5 + 12 >> 2] = $127 + $119 >> 11; - HEAP32[$5 + 60 >> 2] = $119 - $127 >> 11; - HEAP32[$5 + 36 >> 2] = $120 >> 11; - $143 = Math_imul(HEAP16[$2 + 8 >> 1] << 13, HEAP32[$9 + 16 >> 2] | 0) | 0 | 1024; - $150 = Math_imul((HEAP16[$2 + 40 >> 1] | 0) * 5793 | 0, HEAP32[$9 + 80 >> 2] | 0) | 0; - $151 = $150 + $143 | 0; - $152 = (Math_imul($150, -2) | 0) + $143 | 0; - $159 = Math_imul((HEAP16[$2 + 24 >> 1] | 0) * 10033 | 0, HEAP32[$9 + 48 >> 2] | 0) | 0; - HEAP32[$5 + 16 >> 2] = $159 + $151 >> 11; - HEAP32[$5 + 64 >> 2] = $151 - $159 >> 11; - HEAP32[$5 + 40 >> 2] = $152 >> 11; - $175 = Math_imul(HEAP16[$2 + 10 >> 1] << 13, HEAP32[$9 + 20 >> 2] | 0) | 0 | 1024; - $182 = Math_imul((HEAP16[$2 + 42 >> 1] | 0) * 5793 | 0, HEAP32[$9 + 84 >> 2] | 0) | 0; - $183 = $182 + $175 | 0; - $184 = (Math_imul($182, -2) | 0) + $175 | 0; - $191 = Math_imul((HEAP16[$2 + 26 >> 1] | 0) * 10033 | 0, HEAP32[$9 + 52 >> 2] | 0) | 0; - HEAP32[$5 + 20 >> 2] = $191 + $183 >> 11; - HEAP32[$5 + 68 >> 2] = $183 - $191 >> 11; - $197 = $184 >> 11; - HEAP32[$5 + 44 >> 2] = $197; - $199 = $7 + -384 | 0; - $201 = (HEAP32[$3 >> 2] | 0) + $4 | 0; - $204 = (HEAP32[$5 >> 2] << 13) + 134348800 | 0; - $207 = (HEAP32[$5 + 16 >> 2] | 0) * 5793 | 0; - $208 = $204 + $207 | 0; - $210 = $204 - $207 - $207 | 0; - $213 = (HEAP32[$5 + 8 >> 2] | 0) * 10033 | 0; - $214 = $208 + $213 | 0; - $215 = $208 - $213 | 0; - $216 = HEAP32[$41 >> 2] | 0; - $218 = HEAP32[$5 + 12 >> 2] | 0; - $220 = HEAP32[$5 + 20 >> 2] | 0; - $222 = ($220 + $216 | 0) * 2998 | 0; - $225 = $222 + ($218 + $216 << 13) | 0; - $228 = $222 + ($220 - $218 << 13) | 0; - $231 = $216 - $218 - $220 << 13; - HEAP8[$201 >> 0] = HEAP8[$199 + (($225 + $214 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$201 + 5 >> 0] = HEAP8[$199 + (($214 - $225 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$201 + 1 >> 0] = HEAP8[$199 + (($231 + $210 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$201 + 4 >> 0] = HEAP8[$199 + (($210 - $231 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$201 + 2 >> 0] = HEAP8[$199 + (($228 + $215 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$201 + 3 >> 0] = HEAP8[$199 + (($215 - $228 | 0) >>> 18 & 1023) >> 0] | 0; - $269 = (HEAP32[$3 + 4 >> 2] | 0) + $4 | 0; - $272 = (HEAP32[$38 >> 2] << 13) + 134348800 | 0; - $275 = (HEAP32[$5 + 40 >> 2] | 0) * 5793 | 0; - $276 = $272 + $275 | 0; - $278 = $272 - $275 - $275 | 0; - $281 = (HEAP32[$5 + 32 >> 2] | 0) * 10033 | 0; - $282 = $276 + $281 | 0; - $283 = $276 - $281 | 0; - $285 = HEAP32[$5 + 28 >> 2] | 0; - $287 = HEAP32[$5 + 36 >> 2] | 0; - $289 = ($197 + $285 | 0) * 2998 | 0; - $292 = $289 + ($287 + $285 << 13) | 0; - $295 = $289 + ($197 - $287 << 13) | 0; - $298 = $285 - $287 - $197 << 13; - HEAP8[$269 >> 0] = HEAP8[$199 + (($292 + $282 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$269 + 5 >> 0] = HEAP8[$199 + (($282 - $292 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$269 + 1 >> 0] = HEAP8[$199 + (($298 + $278 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$269 + 4 >> 0] = HEAP8[$199 + (($278 - $298 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$269 + 2 >> 0] = HEAP8[$199 + (($295 + $283 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$269 + 3 >> 0] = HEAP8[$199 + (($283 - $295 | 0) >>> 18 & 1023) >> 0] | 0; - $337 = (HEAP32[$3 + 8 >> 2] | 0) + $4 | 0; - $340 = (HEAP32[$5 + 48 >> 2] << 13) + 134348800 | 0; - $343 = (HEAP32[$5 + 64 >> 2] | 0) * 5793 | 0; - $344 = $340 + $343 | 0; - $346 = $340 - $343 - $343 | 0; - $349 = (HEAP32[$5 + 56 >> 2] | 0) * 10033 | 0; - $350 = $344 + $349 | 0; - $351 = $344 - $349 | 0; - $353 = HEAP32[$5 + 52 >> 2] | 0; - $355 = HEAP32[$5 + 60 >> 2] | 0; - $357 = HEAP32[$5 + 68 >> 2] | 0; - $359 = ($357 + $353 | 0) * 2998 | 0; - $362 = $359 + ($355 + $353 << 13) | 0; - $365 = $359 + ($357 - $355 << 13) | 0; - $368 = $353 - $355 - $357 << 13; - HEAP8[$337 >> 0] = HEAP8[$199 + (($362 + $350 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$337 + 5 >> 0] = HEAP8[$199 + (($350 - $362 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$337 + 1 >> 0] = HEAP8[$199 + (($368 + $346 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$337 + 4 >> 0] = HEAP8[$199 + (($346 - $368 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$337 + 2 >> 0] = HEAP8[$199 + (($365 + $351 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$337 + 3 >> 0] = HEAP8[$199 + (($351 - $365 | 0) >>> 18 & 1023) >> 0] | 0; - STACKTOP = sp; - return; -} - -function __ZNSt3__211__money_putIwE8__formatEPwRS2_S3_jPKwS5_RKNS_5ctypeIwEEbRKNS_10money_base7patternEwwRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEERKNSE_IwNSF_IwEENSH_IwEEEESQ_i($0, $1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - $6 = $6 | 0; - $7 = $7 | 0; - $8 = $8 | 0; - $9 = $9 | 0; - $10 = $10 | 0; - $11 = $11 | 0; - $12 = $12 | 0; - $13 = $13 | 0; - $14 = $14 | 0; - var $$0 = 0, $$0$i$i = 0, $$0$i$i108 = 0, $$0$i$i112 = 0, $$0$ph = 0, $$0101 = 0, $$0103 = 0, $$0106 = 0, $$07$i$i = 0, $$095 = 0, $$097 = 0, $$099 = 0, $$1 = 0, $$1102 = 0, $$1104 = 0, $$196 = 0, $$198 = 0, $$2 = 0, $$2105 = 0, $$3 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $114 = 0, $115 = 0, $116 = 0, $117 = 0, $118 = 0, $126 = 0, $129 = 0, $130 = 0, $132 = 0, $135 = 0, $136 = 0, $138 = 0, $142 = 0, $144 = 0, $146 = 0, $147 = 0, $150 = 0, $152 = 0, $16 = 0, $17 = 0, $19 = 0, $20 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $30 = 0, $40 = 0, $41 = 0, $43 = 0, $44 = 0, $51 = 0, $52 = 0, $54 = 0, $55 = 0, $58 = 0, $61 = 0, $62 = 0, $63 = 0, $65 = 0, $69 = 0, $79 = 0, $81 = 0, $82 = 0, $83 = 0, $91 = 0, $92 = 0, $93 = 0, $99 = 0, $spec$select = 0; - HEAP32[$2 >> 2] = $0; - $16 = $13 + 8 + 3 | 0; - $17 = $13 + 4 | 0; - $19 = $12 + 8 + 3 | 0; - $20 = $12 + 4 | 0; - $22 = ($3 & 512 | 0) == 0; - $23 = ($14 | 0) > 0; - $24 = $11 + 11 | 0; - $25 = $11 + 4 | 0; - $$0106 = 0; - $$099 = $4; - while (1) { - if (($$0106 | 0) == 4) break; - L4 : do switch (HEAP8[$8 + $$0106 >> 0] | 0) { - case 0: - { - HEAP32[$1 >> 2] = HEAP32[$2 >> 2]; - $$2 = $$099; - break; - } - case 1: - { - HEAP32[$1 >> 2] = HEAP32[$2 >> 2]; - $40 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$6 >> 2] | 0) + 44 >> 2] & 127]($6, 32) | 0; - $41 = HEAP32[$2 >> 2] | 0; - HEAP32[$2 >> 2] = $41 + 4; - HEAP32[$41 >> 2] = $40; - $$2 = $$099; - break; - } - case 3: - { - $43 = HEAP8[$16 >> 0] | 0; - $44 = $43 << 24 >> 24 < 0; - if (!(($44 ? HEAP32[$17 >> 2] | 0 : $43 & 255) | 0)) $$2 = $$099; else { - $51 = HEAP32[($44 ? HEAP32[$13 >> 2] | 0 : $13) >> 2] | 0; - $52 = HEAP32[$2 >> 2] | 0; - HEAP32[$2 >> 2] = $52 + 4; - HEAP32[$52 >> 2] = $51; - $$2 = $$099; + STACKTOP = STACKTOP + 48 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); + $agg$tmp40$byval_copy = sp + 32 | 0; + $SoFar = sp + 8 | 0; + $agg$tmp = sp + 24 | 0; + $agg$tmp38 = sp + 16 | 0; + $agg$tmp40 = sp; + HEAP32[$SoFar >> 2] = 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, 54533); + HEAP32[$agg$tmp40$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp40$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + L1 : do if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($this, $agg$tmp40$byval_copy) | 0) { + $call2 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0; + $call3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E19parseUnresolvedTypeEv($call2) | 0; + HEAP32[$SoFar >> 2] = $call3; + if (!$call3) $retval$10 = 0; else { + do if ((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($this, 0) | 0) << 24 >> 24 == 73) { + $call9 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E17parseTemplateArgsEb($call2, 0) | 0; + HEAP32[$agg$tmp40$byval_copy >> 2] = $call9; + if (!$call9) { + $retval$10 = 0; + break L1; + } else { + $call13 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_20NameWithTemplateArgsEJRPNS0_4NodeESA_EEES9_DpOT0_($this, $SoFar, $agg$tmp40$byval_copy) | 0; + HEAP32[$SoFar >> 2] = $call13; + break; } - break; - } - case 2: - { - $54 = HEAP8[$19 >> 0] | 0; - $55 = $54 << 24 >> 24 < 0; - $58 = $55 ? HEAP32[$20 >> 2] | 0 : $54 & 255; - if ($22 | ($58 | 0) == 0) $$2 = $$099; else { - $61 = $55 ? HEAP32[$12 >> 2] | 0 : $12; - $62 = $61 + ($58 << 2) | 0; - $63 = HEAP32[$2 >> 2] | 0; - $$0$i$i112 = $63; - $65 = $61; - while (1) { - if (($65 | 0) == ($62 | 0)) break; - HEAP32[$$0$i$i112 >> 2] = HEAP32[$65 >> 2]; - $$0$i$i112 = $$0$i$i112 + 4 | 0; - $65 = $65 + 4 | 0; - } - HEAP32[$2 >> 2] = $63 + ($58 << 2); - $$2 = $$099; + } while (0); + while (1) { + if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($this, 69) | 0) break; + $call19 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E13parseSimpleIdEv($call2) | 0; + HEAP32[$agg$tmp40$byval_copy >> 2] = $call19; + if (!$call19) { + label = 35; + break; } + $call23 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_13QualifiedNameEJRPNS0_4NodeESA_EEES9_DpOT0_($this, $SoFar, $agg$tmp40$byval_copy) | 0; + HEAP32[$SoFar >> 2] = $call23; + } + if ((label | 0) == 35) { + $retval$10 = 0; break; } - case 4: - { - $69 = HEAP32[$2 >> 2] | 0; - $spec$select = $7 ? $$099 + 4 | 0 : $$099; - $$0103 = $spec$select; - while (1) { - if ($$0103 >>> 0 >= $5 >>> 0) break; - if (!(FUNCTION_TABLE_iiii[HEAP32[(HEAP32[$6 >> 2] | 0) + 12 >> 2] & 63]($6, 2048, HEAP32[$$0103 >> 2] | 0) | 0)) break; - $$0103 = $$0103 + 4 | 0; + $call31 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E23parseBaseUnresolvedNameEv($call2) | 0; + HEAP32[$agg$tmp40$byval_copy >> 2] = $call31; + if (!$call31) $retval$4 = 0; else $retval$4 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_13QualifiedNameEJRPNS0_4NodeESA_EEES9_DpOT0_($this, $SoFar, $agg$tmp40$byval_copy) | 0; + $retval$10 = $retval$4; + } + } else { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp38, 53507); + HEAP32[$agg$tmp40$byval_copy >> 2] = HEAP32[$agg$tmp38 >> 2]; + HEAP32[$agg$tmp40$byval_copy + 4 >> 2] = HEAP32[$agg$tmp38 + 4 >> 2]; + $call39 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($this, $agg$tmp40$byval_copy) | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp40, 54537); + HEAP32[$agg$tmp40$byval_copy >> 2] = HEAP32[$agg$tmp40 >> 2]; + HEAP32[$agg$tmp40$byval_copy + 4 >> 2] = HEAP32[$agg$tmp40 + 4 >> 2]; + if (!(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($this, $agg$tmp40$byval_copy) | 0)) { + $call45 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E23parseBaseUnresolvedNameEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0) | 0; + HEAP32[$SoFar >> 2] = $call45; + if (($call45 | 0) == 0 | $call39 ^ 1) { + $retval$10 = $call45; + break; + } + $call51 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_19GlobalQualifiedNameEJRPNS0_4NodeEEEES9_DpOT0_($this, $SoFar) | 0; + HEAP32[$SoFar >> 2] = $call51; + $retval$10 = $call51; + break; + } + L25 : do if ((((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($this, 0) | 0) << 24 >> 24) + -48 | 0) >>> 0 >= 10) { + $call83 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0; + $call84 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E19parseUnresolvedTypeEv($call83) | 0; + HEAP32[$SoFar >> 2] = $call84; + if (!$call84) { + $retval$10 = 0; + break L1; + } + if ((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($this, 0) | 0) << 24 >> 24 == 73) { + $call94 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E17parseTemplateArgsEb($call83, 0) | 0; + HEAP32[$agg$tmp40$byval_copy >> 2] = $call94; + if (!$call94) { + $retval$10 = 0; + break L1; + } else { + $call98 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_20NameWithTemplateArgsEJRPNS0_4NodeESA_EEES9_DpOT0_($this, $SoFar, $agg$tmp40$byval_copy) | 0; + HEAP32[$SoFar >> 2] = $call98; + $$pre$phiZ2D = $call83; + break; } - if ($23) { - $$0101 = $14; - $$1104 = $$0103; - while (1) { - $79 = ($$0101 | 0) > 0; - if (!($$1104 >>> 0 > $spec$select >>> 0 & $79)) break; - $81 = $$1104 + -4 | 0; - $82 = HEAP32[$81 >> 2] | 0; - $83 = HEAP32[$2 >> 2] | 0; - HEAP32[$2 >> 2] = $83 + 4; - HEAP32[$83 >> 2] = $82; - $$0101 = $$0101 + -1 | 0; - $$1104 = $81; - } - if ($79) $93 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$6 >> 2] | 0) + 44 >> 2] & 127]($6, 48) | 0; else $93 = 0; - $$1102 = $$0101; - $92 = HEAP32[$2 >> 2] | 0; - while (1) { - $91 = $92 + 4 | 0; - if (($$1102 | 0) <= 0) break; - HEAP32[$92 >> 2] = $93; - $$1102 = $$1102 + -1 | 0; - $92 = $91; - } - HEAP32[$2 >> 2] = $91; - HEAP32[$92 >> 2] = $9; - $$2105 = $$1104; - } else $$2105 = $$0103; - if (($$2105 | 0) == ($spec$select | 0)) { - $99 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$6 >> 2] | 0) + 44 >> 2] & 127]($6, 48) | 0; - $100 = HEAP32[$2 >> 2] | 0; - $101 = $100 + 4 | 0; - HEAP32[$2 >> 2] = $101; - HEAP32[$100 >> 2] = $99; - $135 = $101; + } else $$pre$phiZ2D = $call83; + } else { + while (1) { + $call60 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0; + $call61 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E13parseSimpleIdEv($call60) | 0; + HEAP32[$agg$tmp40$byval_copy >> 2] = $call61; + if (!$call61) break; + do if (!(HEAP32[$SoFar >> 2] | 0)) if ($call39) { + $call70 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_19GlobalQualifiedNameEJRPNS0_4NodeEEEES9_DpOT0_($this, $agg$tmp40$byval_copy) | 0; + HEAP32[$SoFar >> 2] = $call70; + break; } else { - $102 = HEAP8[$24 >> 0] | 0; - $103 = $102 << 24 >> 24 < 0; - if (!(($103 ? HEAP32[$25 >> 2] | 0 : $102 & 255) | 0)) $$0$ph = -1; else $$0$ph = HEAP8[($103 ? HEAP32[$11 >> 2] | 0 : $11) >> 0] | 0; - $$0 = $$0$ph; - $$095 = 0; - $$097 = 0; - $$3 = $$2105; - while (1) { - if (($$3 | 0) == ($spec$select | 0)) break; - $114 = HEAP32[$2 >> 2] | 0; - if (($$097 | 0) == ($$0 | 0)) { - $115 = $114 + 4 | 0; - HEAP32[$2 >> 2] = $115; - HEAP32[$114 >> 2] = $10; - $116 = $$095 + 1 | 0; - $117 = HEAP8[$24 >> 0] | 0; - $118 = $117 << 24 >> 24 < 0; - if ($116 >>> 0 < ($118 ? HEAP32[$25 >> 2] | 0 : $117 & 255) >>> 0) { - $126 = HEAP8[($118 ? HEAP32[$11 >> 2] | 0 : $11) + $116 >> 0] | 0; - $$1 = $126 << 24 >> 24 == 127 ? -1 : $126 << 24 >> 24; - $$196 = $116; - $$198 = 0; - $132 = $115; - } else { - $$1 = $$097; - $$196 = $116; - $$198 = 0; - $132 = $115; - } - } else { - $$1 = $$0; - $$196 = $$095; - $$198 = $$097; - $132 = $114; - } - $129 = $$3 + -4 | 0; - $130 = HEAP32[$129 >> 2] | 0; - HEAP32[$2 >> 2] = $132 + 4; - HEAP32[$132 >> 2] = $130; - $$0 = $$1; - $$095 = $$196; - $$097 = $$198 + 1 | 0; - $$3 = $129; - } - $135 = HEAP32[$2 >> 2] | 0; - } - if (($69 | 0) == ($135 | 0)) $$2 = $spec$select; else { - $$0$i$i108 = $135; - $$07$i$i = $69; - while (1) { - $136 = $$0$i$i108 + -4 | 0; - if ($$07$i$i >>> 0 >= $136 >>> 0) { - $$2 = $spec$select; - break L4; - } - $138 = HEAP32[$$07$i$i >> 2] | 0; - HEAP32[$$07$i$i >> 2] = HEAP32[$136 >> 2]; - HEAP32[$136 >> 2] = $138; - $$0$i$i108 = $136; - $$07$i$i = $$07$i$i + 4 | 0; - } + HEAP32[$SoFar >> 2] = $call61; + break; + } else { + $call67 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_13QualifiedNameEJRPNS0_4NodeESA_EEES9_DpOT0_($this, $SoFar, $agg$tmp40$byval_copy) | 0; + HEAP32[$SoFar >> 2] = $call67; + } while (0); + if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($this, 69) | 0) { + $$pre$phiZ2D = $call60; + break L25; } - break; } - default: - $$2 = $$099; + $retval$10 = 0; + break L1; } while (0); - $$0106 = $$0106 + 1 | 0; - $$099 = $$2; - } - $26 = HEAP8[$16 >> 0] | 0; - $27 = $26 << 24 >> 24 < 0; - $30 = $27 ? HEAP32[$17 >> 2] | 0 : $26 & 255; - if ($30 >>> 0 > 1) { - $142 = HEAP32[$13 >> 2] | 0; - $144 = $27 ? $142 + 4 | 0 : $17; - $146 = ($27 ? $142 : $13) + ($30 << 2) | 0; - $147 = HEAP32[$2 >> 2] | 0; - $150 = $146 - $144 | 0; - $$0$i$i = $147; - $152 = $144; - while (1) { - if (($152 | 0) == ($146 | 0)) break; - HEAP32[$$0$i$i >> 2] = HEAP32[$152 >> 2]; - $$0$i$i = $$0$i$i + 4 | 0; - $152 = $152 + 4 | 0; - } - HEAP32[$2 >> 2] = $147 + ($150 >>> 2 << 2); - } - switch (($3 & 176) << 24 >> 24) { - case 32: - { - HEAP32[$1 >> 2] = HEAP32[$2 >> 2]; - break; - } - case 16: - break; - default: - HEAP32[$1 >> 2] = $0; - } - return; + $call109 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E23parseBaseUnresolvedNameEv($$pre$phiZ2D) | 0; + HEAP32[$agg$tmp40$byval_copy >> 2] = $call109; + if (!$call109) $retval$8 = 0; else $retval$8 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_13QualifiedNameEJRPNS0_4NodeESA_EEES9_DpOT0_($this, $SoFar, $agg$tmp40$byval_copy) | 0; + $retval$10 = $retval$8; + } while (0); + STACKTOP = sp; + return $retval$10 | 0; } -function _pattern_match($0, $1, $2, $3, $4, $5, $6) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - $6 = $6 | 0; - var $$0175 = 0.0, $$0178 = 0, $$0180 = 0, $$0184 = 0, $$0186 = 0, $$0192 = 0, $$0200 = 0, $$0208 = 0, $$0210 = 0, $$1176 = 0.0, $$1179 = 0, $$1181 = 0, $$1181$in = 0, $$1185 = 0, $$1187 = 0, $$1193 = 0, $$1201 = 0, $$1209 = 0, $$1211 = 0, $$2 = 0, $$2182 = 0, $$2188 = 0, $$2202 = 0, $$2212 = 0, $$3 = 0.0, $$3183 = 0, $$3183$in = 0, $$3189 = 0, $$3195 = 0, $$3203 = 0, $$3213 = 0, $$4 = 0.0, $$4190 = 0, $$4196 = 0, $$4204 = 0, $$5 = 0.0, $$5191 = 0, $$5197 = 0, $$5205 = 0, $$6206 = 0, $$7 = 0.0, $$7199 = 0, $$7207 = 0, $10 = 0, $115 = 0.0, $116 = 0, $12 = 0, $18 = 0, $20 = 0, $25 = 0, $31 = 0.0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $41 = 0, $44 = 0, $45 = 0, $61 = 0.0, $62 = 0, $65 = 0, $67 = 0, $75 = 0, $80 = 0, $86 = 0.0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $95 = 0, $98 = 0, $99 = 0, $vararg_buffer = 0, $vararg_buffer1 = 0, label = 0, sp = 0; +function _get_global_id_code($data, $code_out_p, $dir_p, $cf, $errorCorrected) { + $data = $data | 0; + $code_out_p = $code_out_p | 0; + $dir_p = $dir_p | 0; + $cf = $cf | 0; + $errorCorrected = $errorCorrected | 0; + var $1 = 0, $14 = 0, $19 = 0, $26 = 0, $33 = 0, $34 = 0, $35 = 0, $40 = 0, $41 = 0, $add54 = 0, $and = 0, $and169 = 0, $and319 = 0, $and323 = 0, $bit$0 = 0, $bit$1 = 0, $bit$10 = 0, $bit$11 = 0, $bit$2 = 0, $bit$3 = 0, $bit$4 = 0, $bit$5 = 0, $bit$6 = 0, $bit$7 = 0, $bit$8 = 0, $bit$9 = 0, $cmp112 = 0, $cmp170 = 0, $cmp174 = 0, $cmp179 = 0, $cmp320 = 0, $cmp329 = 0, $code = 0, $cond377 = 0.0, $contrastMin$0 = 0, $contrastMin$1 = 0, $contrastMin$10 = 0, $contrastMin$11 = 0, $contrastMin$12 = 0, $contrastMin$2 = 0, $contrastMin$3 = 0, $contrastMin$4 = 0, $contrastMin$5 = 0, $contrastMin$6 = 0, $contrastMin$7 = 0, $contrastMin$8 = 0, $contrastMin$9 = 0, $conv21 = 0, $conv22 = 0, $corner = 0, $dirCode = 0, $div = 0, $i$0 = 0, $i$1 = 0, $i$3 = 0, $i$4 = 0, $i$4$off = 0, $i$5 = 0, $i$6 = 0, $i$6$off = 0, $j$0 = 0, $j$0$off = 0, $j$1 = 0, $j$2 = 0, $j$2$off = 0, $j$3 = 0, $max$0 = 0, $min$0 = 0, $mul = 0, $mul271 = 0, $or$cond159175 = 0, $recd127 = 0, $retval$0 = 0, $sub129 = 0, $sub201 = 0, $sub276 = 0, $sub351 = 0, $trunc = 0, label = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $vararg_buffer1 = sp + 8 | 0; - $vararg_buffer = sp; - L1 : do if (($0 | 0) == 0 | ($3 | 0) < 1) { - HEAP32[$4 >> 2] = 0; - HEAP32[$5 >> 2] = 0; - HEAPF64[$6 >> 3] = -1.0; - $$2 = -1; - } else switch ($1 | 0) { - case 0: - { - $9 = Math_imul($3, $3) | 0; - $10 = $9 * 3 | 0; - $12 = _malloc($9 * 12 | 0) | 0; - if (!$12) { - _arLog(0, 3, 45930, $vararg_buffer); - _exit(1); - } - $$0186 = 0; - $$0208 = 0; - while (1) { - if (($$0186 | 0) == ($10 | 0)) break; - $18 = $$0208 + (~HEAP8[$2 + $$0186 >> 0] & 255) | 0; - $$0186 = $$0186 + 1 | 0; - $$0208 = $18; - } - $20 = ($$0208 >>> 0) / ($10 >>> 0) | 0; - $$0210 = 0; - $$1187 = 0; - while (1) { - if (($$1187 | 0) == ($10 | 0)) break; - $25 = (~HEAP8[$2 + $$1187 >> 0] & 255) - $20 | 0; - HEAP32[$12 + ($$1187 << 2) >> 2] = $25; - $$0210 = (Math_imul($25, $25) | 0) + $$0210 | 0; - $$1187 = $$1187 + 1 | 0; - } - $31 = +Math_sqrt(+(+($$0210 | 0))); - if ($31 / (+($3 | 0) * 1.7320508) < 15.0) { - HEAP32[$4 >> 2] = 0; - HEAP32[$5 >> 2] = 0; - HEAPF64[$6 >> 3] = -1.0; - _free($12); - $$2 = -2; - break L1; + STACKTOP = STACKTOP + 160 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(160); + $dirCode = sp + 152 | 0; + $corner = sp + 128 | 0; + $code = sp + 144 | 0; + $recd127 = sp; + HEAP32[$corner >> 2] = 0; + HEAP32[$corner + 4 >> 2] = 182; + HEAP32[$corner + 8 >> 2] = 195; + HEAP32[$corner + 12 >> 2] = 13; + $i$0 = 0; + $max$0 = 0; + $min$0 = -1; + while (1) { + if (($i$0 | 0) == 4) break; + $1 = HEAP8[$data + (HEAP32[$corner + ($i$0 << 2) >> 2] | 0) >> 0] | 0; + $i$0 = $i$0 + 1 | 0; + $max$0 = ($1 & 255) > ($max$0 & 255) ? $1 : $max$0; + $min$0 = ($1 & 255) < ($min$0 & 255) ? $1 : $min$0; + } + $conv21 = $max$0 & 255; + $conv22 = $min$0 & 255; + L5 : do if (($conv21 - $conv22 | 0) >= 30) { + $div = ($conv21 + $conv22 | 0) >>> 1; + $i$1 = 0; + while (1) { + if (($i$1 | 0) == 4) break; + HEAP8[$dirCode + $i$1 >> 0] = $div >>> 0 > (HEAPU8[$data + (HEAP32[$corner + ($i$1 << 2) >> 2] | 0) >> 0] | 0) >>> 0 & 1; + $i$1 = $i$1 + 1 | 0; + } + $trunc = 0; + while (1) { + if ($trunc >>> 0 >= 4) break; + $add54 = $trunc + 1 | 0; + if (((HEAP8[$dirCode + $trunc >> 0] | 0) == 1 ? (HEAP8[$dirCode + ($add54 & 3) >> 0] | 0) == 1 : 0) ? (HEAP8[$dirCode + ($trunc + 2 & 3) >> 0] | 0) == 0 : 0) break; + $trunc = $add54; + } + L20 : do switch ($trunc & 2147483647 | 0) { + case 4: + { + HEAP32[$dir_p >> 2] = 0; + HEAPF64[$cf >> 3] = -1.0; + $retval$0 = -3; + break L5; + break; } - $36 = HEAP32[$0 >> 2] | 0; - $37 = $0 + 8 | 0; - $38 = $0 + 12 | 0; - $39 = $0 + 16 | 0; - $$0175 = 0.0; - $$0178 = 0; - $$0180 = -1; - $$0192 = -1; - $$0200 = -1; - while (1) { - if (($$0178 | 0) >= ($36 | 0)) break; - $41 = HEAP32[$37 >> 2] | 0; - $$1181$in = $$0180; - L23 : while (1) { - $$1181 = $$1181$in + 1 | 0; - switch (HEAP32[$41 + ($$1181 << 2) >> 2] | 0) { - case 0: - { - $$1181$in = $$1181; - break; - } - case 2: - { - $$3 = $$0175; - $$3195 = $$0192; - $$3203 = $$0200; - break L23; - break; - } - default: - { - label = 18; - break L23; - } + case 0: + { + $bit$0 = 119; + $contrastMin$0 = 255; + $j$0 = 0; + while (1) { + if (($j$0 | 0) == 14) { + $contrastMin$12 = $contrastMin$0; + label = 57; + break L20; } - } - L25 : do if ((label | 0) == 18) { - label = 0; - $44 = $$1181 << 2; - $$0184 = 0; - $$1176 = $$0175; - $$1193 = $$0192; - $$1201 = $$0200; + $j$0$off = $j$0 + -3 | 0; + $cmp112 = ($j$0 & 2147483646 | 0) == 12; + $mul = $j$0 * 14 | 0; + $bit$1 = $bit$0; + $contrastMin$1 = $contrastMin$0; + $i$3 = 0; while (1) { - if (($$0184 | 0) == 4) { - $$3 = $$1176; - $$3195 = $$1193; - $$3203 = $$1201; - break L25; + if (($i$3 | 0) == 14) break; + if ((($i$3 + -3 | $j$0$off) >>> 0 >= 8 ? ($and = $i$3 & 2147483646, (($i$3 | $j$0) & 2147483646 | 0) != 0) : 0) ? !($cmp112 & (($and | 0) == 0 | ($and | 0) == 12)) : 0) { + $sub129 = (HEAPU8[$data + ($i$3 + $mul) >> 0] | 0) - $div | 0; + HEAP8[$recd127 + $bit$1 >> 0] = $sub129 >>> 31; + $14 = ($sub129 | 0) > -1 ? $sub129 : 0 - $sub129 | 0; + $bit$2 = $bit$1 + -1 | 0; + $contrastMin$2 = ($14 | 0) < ($contrastMin$1 | 0) ? $14 : $contrastMin$1; + } else { + $bit$2 = $bit$1; + $contrastMin$2 = $contrastMin$1; } - $45 = $$0184 + $44 | 0; - $$1211 = 0; - $$2188 = 0; - while (1) { - if (($$2188 | 0) == ($10 | 0)) break; - $$1211 = (Math_imul(HEAP32[(HEAP32[(HEAP32[$38 >> 2] | 0) + ($45 << 2) >> 2] | 0) + ($$2188 << 2) >> 2] | 0, HEAP32[$12 + ($$2188 << 2) >> 2] | 0) | 0) + $$1211 | 0; - $$2188 = $$2188 + 1 | 0; - } - $61 = +($$1211 | 0) / +HEAPF64[(HEAP32[$39 >> 2] | 0) + ($45 << 3) >> 3] / $31; - $62 = $61 > $$1176; - $$2202 = $62 ? $$0184 : $$1201; - $$0184 = $$0184 + 1 | 0; - $$1176 = $62 ? $61 : $$1176; - $$1193 = $62 ? $$1181 : $$1193; - $$1201 = $$2202; + $bit$1 = $bit$2; + $contrastMin$1 = $contrastMin$2; + $i$3 = $i$3 + 1 | 0; } - } while (0); - $$0175 = $$3; - $$0178 = $$0178 + 1 | 0; - $$0180 = $$1181; - $$0192 = $$3195; - $$0200 = $$3203; - } - HEAP32[$5 >> 2] = $$0200; - HEAP32[$4 >> 2] = $$0192; - HEAPF64[$6 >> 3] = $$0175; - _free($12); - $$2 = 0; - break L1; - break; - } - case 1: - { - $65 = Math_imul($3, $3) | 0; - $67 = _malloc($65 << 2) | 0; - if (!$67) { - _arLog(0, 3, 45930, $vararg_buffer1); - _exit(1); - } - $$1209 = 0; - $$3189 = 0; - while (1) { - if (($$3189 | 0) == ($65 | 0)) break; - $$1209 = $$1209 + (~HEAP8[$2 + $$3189 >> 0] & 255) | 0; - $$3189 = $$3189 + 1 | 0; - } - $75 = ($$1209 >>> 0) / ($65 >>> 0) | 0; - $$2212 = 0; - $$4190 = 0; - while (1) { - if (($$4190 | 0) == ($65 | 0)) break; - $80 = (~HEAP8[$2 + $$4190 >> 0] & 255) - $75 | 0; - HEAP32[$67 + ($$4190 << 2) >> 2] = $80; - $$2212 = (Math_imul($80, $80) | 0) + $$2212 | 0; - $$4190 = $$4190 + 1 | 0; - } - $86 = +Math_sqrt(+(+($$2212 | 0))); - if ($86 / +($3 | 0) < 15.0) { - HEAP32[$4 >> 2] = 0; - HEAP32[$5 >> 2] = 0; - HEAPF64[$6 >> 3] = -1.0; - _free($67); - $$2 = -2; - break L1; + $bit$0 = $bit$1; + $contrastMin$0 = $contrastMin$1; + $j$0 = $j$0 + 1 | 0; + } + break; } - $90 = HEAP32[$0 >> 2] | 0; - $91 = $0 + 8 | 0; - $92 = $0 + 20 | 0; - $93 = $0 + 24 | 0; - $$1179 = 0; - $$2182 = -1; - $$4 = 0.0; - $$4196 = -1; - $$4204 = -1; - while (1) { - if (($$1179 | 0) >= ($90 | 0)) break; - $95 = HEAP32[$91 >> 2] | 0; - $$3183$in = $$2182; - L54 : while (1) { - $$3183 = $$3183$in + 1 | 0; - switch (HEAP32[$95 + ($$3183 << 2) >> 2] | 0) { - case 0: - { - $$3183$in = $$3183; - break; - } - case 2: - { - $$7 = $$4; - $$7199 = $$4196; - $$7207 = $$4204; - break L54; - break; - } - default: - { - label = 40; - break L54; + case 1: + { + $bit$3 = 119; + $contrastMin$3 = 255; + $i$4 = 0; + while (1) { + if (($i$4 | 0) == 14) { + $contrastMin$12 = $contrastMin$3; + label = 57; + break L20; + } + $i$4$off = $i$4 + -3 | 0; + $and169 = $i$4 & 2147483646; + $cmp170 = ($and169 | 0) == 0; + $cmp179 = ($and169 | 0) == 12; + $bit$4 = $bit$3; + $contrastMin$4 = $contrastMin$3; + $j$1 = 13; + while (1) { + if (($j$1 | 0) <= -1) break; + if ((($j$1 + -3 | $i$4$off) >>> 0 >= 8 ? ($cmp174 = ($j$1 & -2 | 0) == 12, !($cmp170 & $cmp174)) : 0) ? !($cmp179 & ($j$1 >>> 0 < 2 | $cmp174)) : 0) { + $sub201 = (HEAPU8[$data + (($j$1 * 14 | 0) + $i$4) >> 0] | 0) - $div | 0; + HEAP8[$recd127 + $bit$4 >> 0] = $sub201 >>> 31; + $19 = ($sub201 | 0) > -1 ? $sub201 : 0 - $sub201 | 0; + $bit$5 = $bit$4 + -1 | 0; + $contrastMin$5 = ($19 | 0) < ($contrastMin$4 | 0) ? $19 : $contrastMin$4; + } else { + $bit$5 = $bit$4; + $contrastMin$5 = $contrastMin$4; } + $bit$4 = $bit$5; + $contrastMin$4 = $contrastMin$5; + $j$1 = $j$1 + -1 | 0; } + $bit$3 = $bit$4; + $contrastMin$3 = $contrastMin$4; + $i$4 = $i$4 + 1 | 0; } - L56 : do if ((label | 0) == 40) { - label = 0; - $98 = $$3183 << 2; - $$1185 = 0; - $$5 = $$4; - $$5197 = $$4196; - $$5205 = $$4204; + break; + } + case 2: + { + $bit$6 = 119; + $contrastMin$6 = 255; + $j$2 = 13; + while (1) { + if (($j$2 | 0) <= -1) { + $contrastMin$12 = $contrastMin$6; + label = 57; + break L20; + } + $j$2$off = $j$2 + -3 | 0; + $or$cond159175 = $j$2 >>> 0 < 2 | ($j$2 & -2 | 0) == 12; + $mul271 = $j$2 * 14 | 0; + $bit$7 = $bit$6; + $contrastMin$7 = $contrastMin$6; + $i$5 = 13; while (1) { - if (($$1185 | 0) == 4) { - $$7 = $$5; - $$7199 = $$5197; - $$7207 = $$5205; - break L56; + if (($i$5 | 0) <= -1) break; + if (($i$5 + -3 | $j$2$off) >>> 0 >= 8 ? !(($i$5 | $j$2) >>> 0 < 2 | $or$cond159175 & ($i$5 & -2 | 0) == 12) : 0) { + $sub276 = (HEAPU8[$data + ($i$5 + $mul271) >> 0] | 0) - $div | 0; + HEAP8[$recd127 + $bit$7 >> 0] = $sub276 >>> 31; + $26 = ($sub276 | 0) > -1 ? $sub276 : 0 - $sub276 | 0; + $bit$8 = $bit$7 + -1 | 0; + $contrastMin$8 = ($26 | 0) < ($contrastMin$7 | 0) ? $26 : $contrastMin$7; + } else { + $bit$8 = $bit$7; + $contrastMin$8 = $contrastMin$7; } - $99 = $$1185 + $98 | 0; - $$3213 = 0; - $$5191 = 0; - while (1) { - if (($$5191 | 0) == ($65 | 0)) break; - $$3213 = (Math_imul(HEAP32[(HEAP32[(HEAP32[$92 >> 2] | 0) + ($99 << 2) >> 2] | 0) + ($$5191 << 2) >> 2] | 0, HEAP32[$67 + ($$5191 << 2) >> 2] | 0) | 0) + $$3213 | 0; - $$5191 = $$5191 + 1 | 0; - } - $115 = +($$3213 | 0) / +HEAPF64[(HEAP32[$93 >> 2] | 0) + ($99 << 3) >> 3] / $86; - $116 = $115 > $$5; - $$6206 = $116 ? $$1185 : $$5205; - $$1185 = $$1185 + 1 | 0; - $$5 = $116 ? $115 : $$5; - $$5197 = $116 ? $$3183 : $$5197; - $$5205 = $$6206; + $bit$7 = $bit$8; + $contrastMin$7 = $contrastMin$8; + $i$5 = $i$5 + -1 | 0; } - } while (0); - $$1179 = $$1179 + 1 | 0; - $$2182 = $$3183; - $$4 = $$7; - $$4196 = $$7199; - $$4204 = $$7207; - } - HEAP32[$5 >> 2] = $$4204; - HEAP32[$4 >> 2] = $$4196; - HEAPF64[$6 >> 3] = $$4; - _free($67); - $$2 = 0; - break L1; - break; - } - default: - { - $$2 = -1; - break L1; + $bit$6 = $bit$7; + $contrastMin$6 = $contrastMin$7; + $j$2 = $j$2 + -1 | 0; + } + break; + } + case 3: + { + $bit$9 = 119; + $contrastMin$9 = 255; + $i$6 = 13; + while (1) { + if (($i$6 | 0) <= -1) { + $contrastMin$12 = $contrastMin$9; + label = 57; + break L20; + } + $i$6$off = $i$6 + -3 | 0; + $and319 = $i$6 & -2; + $cmp320 = ($and319 | 0) == 12; + $cmp329 = ($and319 | 0) == 0; + $bit$10 = $bit$9; + $contrastMin$10 = $contrastMin$9; + $j$3 = 0; + while (1) { + if (($j$3 | 0) == 14) break; + if ((($j$3 + -3 | $i$6$off) >>> 0 >= 8 ? ($and323 = $j$3 & 2147483646, !($cmp320 & ($and323 | 0) == 0)) : 0) ? !(($and323 | $and319 | 0) == 0 | $cmp329 & ($and323 | 0) == 12) : 0) { + $sub351 = (HEAPU8[$data + (($j$3 * 14 | 0) + $i$6) >> 0] | 0) - $div | 0; + HEAP8[$recd127 + $bit$10 >> 0] = $sub351 >>> 31; + $33 = ($sub351 | 0) > -1 ? $sub351 : 0 - $sub351 | 0; + $bit$11 = $bit$10 + -1 | 0; + $contrastMin$11 = ($33 | 0) < ($contrastMin$10 | 0) ? $33 : $contrastMin$10; + } else { + $bit$11 = $bit$10; + $contrastMin$11 = $contrastMin$10; + } + $bit$10 = $bit$11; + $contrastMin$10 = $contrastMin$11; + $j$3 = $j$3 + 1 | 0; + } + $bit$9 = $bit$10; + $contrastMin$9 = $contrastMin$10; + $i$6 = $i$6 + -1 | 0; + } + break; + } + default: + { + HEAP32[$dir_p >> 2] = $trunc; + $cond377 = 1.0; + } + } while (0); + if ((label | 0) == 57) { + HEAP32[$dir_p >> 2] = $trunc; + $cond377 = ($contrastMin$12 | 0) > 30 ? 1.0 : +($contrastMin$12 | 0) / 30.0; + } + HEAPF64[$cf >> 3] = $cond377; + $34 = _decode_bch(2830, 0, 0, $recd127, $code) | 0; + if (($34 | 0) < 0) $retval$0 = -4; else { + if ($errorCorrected | 0) HEAP32[$errorCorrected >> 2] = $34; + $35 = $code; + $40 = HEAP32[$35 + 4 >> 2] | 0; + $41 = $code_out_p; + HEAP32[$41 >> 2] = HEAP32[$35 >> 2]; + HEAP32[$41 + 4 >> 2] = $40; + $retval$0 = 0; } + } else { + HEAP32[$dir_p >> 2] = 0; + HEAPF64[$cf >> 3] = -1.0; + $retval$0 = -2; } while (0); STACKTOP = sp; - return $$2 | 0; + return $retval$0 | 0; } -function _jpeg_idct_14x14($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $$0332340 = 0, $$0334339 = 0, $$0335338 = 0, $$0341 = 0, $$1333336 = 0, $$1337 = 0, $100 = 0, $103 = 0, $106 = 0, $108 = 0, $112 = 0, $115 = 0, $118 = 0, $15 = 0, $162 = 0, $165 = 0, $168 = 0, $170 = 0, $173 = 0, $174 = 0, $176 = 0, $178 = 0, $180 = 0, $182 = 0, $184 = 0, $186 = 0, $188 = 0, $191 = 0, $192 = 0, $193 = 0, $194 = 0, $195 = 0, $196 = 0, $197 = 0, $199 = 0, $201 = 0, $203 = 0, $206 = 0, $207 = 0, $209 = 0, $21 = 0, $210 = 0, $214 = 0, $215 = 0, $218 = 0, $220 = 0, $221 = 0, $224 = 0, $227 = 0, $230 = 0, $232 = 0, $236 = 0, $239 = 0, $24 = 0, $242 = 0, $25 = 0, $27 = 0, $30 = 0, $36 = 0, $42 = 0, $44 = 0, $46 = 0, $48 = 0, $5 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $63 = 0, $69 = 0, $7 = 0, $75 = 0, $81 = 0, $82 = 0, $83 = 0, $85 = 0, $86 = 0, $90 = 0, $91 = 0, $94 = 0, $96 = 0, $97 = 0, sp = 0; +function __ZN6vision12FindFeaturesINS_14FREAKExtractorELi96EEEvPNS_8KeyframeIXT0_EEEPKNS_25GaussianScaleSpacePyramidEPNS_25DoGScaleInvariantDetectorEPT_($keyframe, $pyramid, $detector, $extractor) { + $keyframe = $keyframe | 0; + $pyramid = $pyramid | 0; + $detector = $detector | 0; + $extractor = $extractor | 0; + var $13 = 0, $arrayidx$i59 = 0, $call$i1$i = 0, $call$i1$i63 = 0, $call$i1$i71 = 0, $call$i1$i79 = 0, $call$i1$i87 = 0, $call$i2$i = 0, $call$i2$i66 = 0, $call$i2$i74 = 0, $call$i2$i82 = 0, $call$i2$i90 = 0, $call15 = 0, $call20 = 0, $call28 = 0, $call33 = 0, $call35 = 0, $call44 = 0, $call49 = 0, $call5 = 0, $call51 = 0, $call60 = 0, $call64 = 0, $call66 = 0, $call71 = 0, $i$0 = 0, $ref$tmp = 0, $ref$tmp$i86 = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 32 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); + $ref$tmp$i86 = sp + 20 | 0; + $ref$tmp = sp; + if (!$pyramid) { + $call5 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 38230) | 0, 34481) | 0, 39794) | 0, 212) | 0, 39801) | 0, 38368) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i86, $call5 + (HEAP32[(HEAP32[$call5 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i63 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i86, 67360) | 0; + $call$i2$i66 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i63 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i63, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i86); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call5, $call$i2$i66) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call5) | 0; + _abort(); + } + if (!$detector) { + $call15 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 34598) | 0, 34481) | 0, 39794) | 0, 213) | 0, 39801) | 0, 34630) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i86, $call15 + (HEAP32[(HEAP32[$call15 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i71 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i86, 67360) | 0; + $call$i2$i74 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i71 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i71, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i86); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call15, $call$i2$i74) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call15) | 0; + _abort(); + } + $call20 = __ZNK6vision25GaussianScaleSpacePyramid6imagesEv($pyramid) | 0; + if ((HEAP32[$call20 + 4 >> 2] | 0) == (HEAP32[$call20 >> 2] | 0)) { + $call28 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 34647) | 0, 34481) | 0, 39794) | 0, 214) | 0, 39801) | 0, 34699) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i86, $call28 + (HEAP32[(HEAP32[$call28 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i79 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i86, 67360) | 0; + $call$i2$i82 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i79 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i79, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i86); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call28, $call$i2$i82) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call28) | 0; + _abort(); + } + $call33 = __ZNK6vision25GaussianScaleSpacePyramid6imagesEv($pyramid) | 0; + $call35 = __ZNK6vision5Image5widthEv(HEAP32[$call33 >> 2] | 0) | 0; + if (($call35 | 0) != (__ZNK6vision25DoGScaleInvariantDetector5widthEv($detector) | 0)) { + $call44 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 34716) | 0, 34481) | 0, 39794) | 0, 215) | 0, 39801) | 0, 34789) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i86, $call44 + (HEAP32[(HEAP32[$call44 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i87 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i86, 67360) | 0; + $call$i2$i90 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i87 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i87, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i86); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call44, $call$i2$i90) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call44) | 0; + _abort(); + } + $call49 = __ZNK6vision25GaussianScaleSpacePyramid6imagesEv($pyramid) | 0; + $call51 = __ZNK6vision5Image6heightEv(HEAP32[$call49 >> 2] | 0) | 0; + if (($call51 | 0) != (__ZNK6vision25DoGScaleInvariantDetector6heightEv($detector) | 0)) { + $call60 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 34824) | 0, 34481) | 0, 39794) | 0, 216) | 0, 39801) | 0, 34789) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i86, $call60 + (HEAP32[(HEAP32[$call60 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i86, 67360) | 0; + $call$i2$i = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i >> 2] | 0) + 28 >> 2] & 127]($call$i1$i, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i86); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call60, $call$i2$i) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call60) | 0; + _abort(); + } + __ZN6vision25DoGScaleInvariantDetector6detectEPKNS_25GaussianScaleSpacePyramidE($detector, $pyramid); + $call64 = __ZNK6vision25DoGScaleInvariantDetector8featuresEv($detector) | 0; + __ZNSt3__26vectorIN6vision12FeaturePointENS_9allocatorIS2_EEEC2Em($ref$tmp$i86, ((HEAP32[$call64 + 4 >> 2] | 0) - (HEAP32[$call64 >> 2] | 0) | 0) / 36 | 0); + $i$0 = 0; + while (1) { + $call66 = __ZNK6vision25DoGScaleInvariantDetector8featuresEv($detector) | 0; + if ($i$0 >>> 0 >= (((HEAP32[$call66 + 4 >> 2] | 0) - (HEAP32[$call66 >> 2] | 0) | 0) / 36 | 0) >>> 0) break; + $call71 = __ZNK6vision25DoGScaleInvariantDetector8featuresEv($detector) | 0; + $13 = HEAP32[$call71 >> 2] | 0; + __ZN6vision12FeaturePointC2Effffb($ref$tmp, +HEAPF32[$13 + ($i$0 * 36 | 0) >> 2], +HEAPF32[$13 + ($i$0 * 36 | 0) + 4 >> 2], +HEAPF32[$13 + ($i$0 * 36 | 0) + 8 >> 2], +HEAPF32[$13 + ($i$0 * 36 | 0) + 28 >> 2], +HEAPF32[$13 + ($i$0 * 36 | 0) + 24 >> 2] > 0.0); + $arrayidx$i59 = (HEAP32[$ref$tmp$i86 >> 2] | 0) + ($i$0 * 20 | 0) | 0; + HEAP32[$arrayidx$i59 >> 2] = HEAP32[$ref$tmp >> 2]; + HEAP32[$arrayidx$i59 + 4 >> 2] = HEAP32[$ref$tmp + 4 >> 2]; + HEAP32[$arrayidx$i59 + 8 >> 2] = HEAP32[$ref$tmp + 8 >> 2]; + HEAP32[$arrayidx$i59 + 12 >> 2] = HEAP32[$ref$tmp + 12 >> 2]; + HEAP8[$arrayidx$i59 + 16 >> 0] = HEAP8[$ref$tmp + 16 >> 0] | 0; + __ZN6vision12FeaturePointD2Ev($ref$tmp); + $i$0 = $i$0 + 1 | 0; + } + __ZN6vision14FREAKExtractor7extractERNS_18BinaryFeatureStoreEPKNS_25GaussianScaleSpacePyramidERKNSt3__26vectorINS_12FeaturePointENS6_9allocatorIS8_EEEE($extractor, __ZN6vision8KeyframeILi96EE5storeEv($keyframe) | 0, $pyramid, $ref$tmp$i86); + __ZNSt3__213__vector_baseIN6vision12FeaturePointENS_9allocatorIS2_EEED2Ev($ref$tmp$i86); + STACKTOP = sp; + return; +} + +function _jpeg_idct_13x13($cinfo, $compptr, $coef_block, $output_buf, $output_col) { + $cinfo = $cinfo | 0; + $compptr = $compptr | 0; + $coef_block = $coef_block | 0; + $output_buf = $output_buf | 0; + $output_col = $output_col | 0; + var $0 = 0, $25 = 0, $26 = 0, $27 = 0, $29 = 0, $30 = 0, $31 = 0, $32 = 0, $add = 0, $add$ptr = 0, $add$ptr147 = 0, $add101 = 0, $add14 = 0, $add154 = 0, $add158 = 0, $add161 = 0, $add164 = 0, $add167 = 0, $add17 = 0, $add170 = 0, $add173 = 0, $add194 = 0, $add20 = 0, $add210 = 0, $add216 = 0, $add217 = 0, $add220 = 0, $add225 = 0, $add23 = 0, $add230 = 0, $add26 = 0, $add29 = 0, $add32 = 0, $add65 = 0, $add81 = 0, $add87 = 0, $add88 = 0, $add91 = 0, $add96 = 0, $ctr$0287 = 0, $ctr$1283 = 0, $inptr$0284 = 0, $mul13 = 0, $mul15 = 0, $mul156 = 0, $mul165 = 0, $mul174 = 0, $mul191 = 0, $mul193 = 0, $mul195 = 0, $mul201 = 0, $mul209 = 0, $mul215 = 0, $mul24 = 0, $mul33 = 0, $mul48 = 0, $mul5 = 0, $mul52 = 0, $mul56 = 0, $mul60 = 0, $mul62 = 0, $mul64 = 0, $mul66 = 0, $mul72 = 0, $mul80 = 0, $mul86 = 0, $mul9 = 0, $quantptr$0285 = 0, $shl150 = 0, $sub = 0, $sub155 = 0, $sub176289 = 0, $sub179 = 0, $sub182 = 0, $sub199 = 0, $sub35288 = 0, $sub38 = 0, $sub41 = 0, $sub70 = 0, $workspace = 0, $wsptr$0286 = 0, $wsptr$1282 = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 416 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(416); + $workspace = sp; + $0 = HEAP32[$cinfo + 336 >> 2] | 0; + $ctr$0287 = 0; + $inptr$0284 = $coef_block; + $quantptr$0285 = HEAP32[$compptr + 84 >> 2] | 0; + $wsptr$0286 = $workspace; + while (1) { + $add = Math_imul(HEAP16[$inptr$0284 >> 1] << 13, HEAP32[$quantptr$0285 >> 2] | 0) | 0 | 1024; + $mul5 = Math_imul(HEAP32[$quantptr$0285 + 64 >> 2] | 0, HEAP16[$inptr$0284 + 32 >> 1] | 0) | 0; + $mul9 = Math_imul(HEAP32[$quantptr$0285 + 128 >> 2] | 0, HEAP16[$inptr$0284 + 64 >> 1] | 0) | 0; + $mul13 = Math_imul(HEAP32[$quantptr$0285 + 192 >> 2] | 0, HEAP16[$inptr$0284 + 96 >> 1] | 0) | 0; + $add14 = $mul13 + $mul9 | 0; + $sub = $mul9 - $mul13 | 0; + $mul15 = $add14 * 9465 | 0; + $add17 = ($sub * 793 | 0) + $add | 0; + $add20 = $mul15 + ($mul5 * 11249 | 0) + $add17 | 0; + $add23 = ($mul5 * 4108 | 0) - $mul15 + $add17 | 0; + $mul24 = $add14 * 2592 | 0; + $add26 = ($sub * 3989 | 0) + $add | 0; + $add29 = ($mul5 * 8672 | 0) - $mul24 + $add26 | 0; + $add32 = $mul24 + (Math_imul($mul5, -10258) | 0) + $add26 | 0; + $mul33 = $add14 * 3570 | 0; + $sub35288 = $add + (Math_imul($sub, -7678) | 0) | 0; + $sub38 = (Math_imul($mul5, -1396) | 0) - $mul33 + $sub35288 | 0; + $sub41 = $mul33 + (Math_imul($mul5, -6581) | 0) + $sub35288 | 0; + $mul48 = Math_imul(HEAP32[$quantptr$0285 + 32 >> 2] | 0, HEAP16[$inptr$0284 + 16 >> 1] | 0) | 0; + $mul52 = Math_imul(HEAP32[$quantptr$0285 + 96 >> 2] | 0, HEAP16[$inptr$0284 + 48 >> 1] | 0) | 0; + $mul56 = Math_imul(HEAP32[$quantptr$0285 + 160 >> 2] | 0, HEAP16[$inptr$0284 + 80 >> 1] | 0) | 0; + $mul60 = Math_imul(HEAP32[$quantptr$0285 + 224 >> 2] | 0, HEAP16[$inptr$0284 + 112 >> 1] | 0) | 0; + $mul62 = ($mul52 + $mul48 | 0) * 10832 | 0; + $mul64 = ($mul56 + $mul48 | 0) * 9534 | 0; + $add65 = $mul60 + $mul48 | 0; + $mul66 = $add65 * 7682 | 0; + $sub70 = $mul62 + (Math_imul($mul48, -16549) | 0) + $mul64 + $mul66 | 0; + $mul72 = Math_imul($mul56 + $mul52 | 0, -2773) | 0; + $mul80 = Math_imul($mul60 + $mul52 | 0, -9534) | 0; + $add81 = $mul62 + ($mul52 * 6859 | 0) + $mul72 + $mul80 | 0; + $mul86 = Math_imul($mul60 + $mul56 | 0, -5384) | 0; + $add87 = $mul72 + (Math_imul($mul56, -12879) | 0) + $mul64 + $mul86 | 0; + $add88 = $mul80 + ($mul60 * 18068 | 0) + $mul66 + $mul86 | 0; + $add91 = ($add65 * 2773 | 0) + (($mul56 - $mul52 | 0) * 7682 | 0) | 0; + $add96 = $add91 + ($mul48 * 2611 | 0) + (Math_imul($mul52, -3818) | 0) | 0; + $add101 = $add91 + ($mul56 * 3150 | 0) + (Math_imul($mul60, -14273) | 0) | 0; + HEAP32[$wsptr$0286 >> 2] = $sub70 + $add20 >> 11; + HEAP32[$wsptr$0286 + 384 >> 2] = $add20 - $sub70 >> 11; + HEAP32[$wsptr$0286 + 32 >> 2] = $add81 + $add29 >> 11; + HEAP32[$wsptr$0286 + 352 >> 2] = $add29 - $add81 >> 11; + HEAP32[$wsptr$0286 + 64 >> 2] = $add87 + $add23 >> 11; + HEAP32[$wsptr$0286 + 320 >> 2] = $add23 - $add87 >> 11; + HEAP32[$wsptr$0286 + 96 >> 2] = $add88 + $sub38 >> 11; + HEAP32[$wsptr$0286 + 288 >> 2] = $sub38 - $add88 >> 11; + HEAP32[$wsptr$0286 + 128 >> 2] = $add96 + $sub41 >> 11; + HEAP32[$wsptr$0286 + 256 >> 2] = $sub41 - $add96 >> 11; + HEAP32[$wsptr$0286 + 160 >> 2] = $add101 + $add32 >> 11; + HEAP32[$wsptr$0286 + 224 >> 2] = $add32 - $add101 >> 11; + HEAP32[$wsptr$0286 + 192 >> 2] = (($sub - $mul5 | 0) * 11585 | 0) + $add >> 11; + $ctr$0287 = $ctr$0287 + 1 | 0; + if (($ctr$0287 | 0) == 8) break; else { + $inptr$0284 = $inptr$0284 + 2 | 0; + $quantptr$0285 = $quantptr$0285 + 4 | 0; + $wsptr$0286 = $wsptr$0286 + 4 | 0; + } + } + $add$ptr = $0 + -384 | 0; + $ctr$1283 = 0; + $wsptr$1282 = $workspace; + while (1) { + $add$ptr147 = (HEAP32[$output_buf + ($ctr$1283 << 2) >> 2] | 0) + $output_col | 0; + $shl150 = (HEAP32[$wsptr$1282 >> 2] << 13) + 134348800 | 0; + $25 = HEAP32[$wsptr$1282 + 8 >> 2] | 0; + $26 = HEAP32[$wsptr$1282 + 16 >> 2] | 0; + $27 = HEAP32[$wsptr$1282 + 24 >> 2] | 0; + $add154 = $27 + $26 | 0; + $sub155 = $26 - $27 | 0; + $mul156 = $add154 * 9465 | 0; + $add158 = ($sub155 * 793 | 0) + $shl150 | 0; + $add161 = $mul156 + ($25 * 11249 | 0) + $add158 | 0; + $add164 = ($25 * 4108 | 0) - $mul156 + $add158 | 0; + $mul165 = $add154 * 2592 | 0; + $add167 = ($sub155 * 3989 | 0) + $shl150 | 0; + $add170 = ($25 * 8672 | 0) - $mul165 + $add167 | 0; + $add173 = $mul165 + (Math_imul($25, -10258) | 0) + $add167 | 0; + $mul174 = $add154 * 3570 | 0; + $sub176289 = $shl150 + (Math_imul($sub155, -7678) | 0) | 0; + $sub179 = (Math_imul($25, -1396) | 0) - $mul174 + $sub176289 | 0; + $sub182 = $mul174 + (Math_imul($25, -6581) | 0) + $sub176289 | 0; + $29 = HEAP32[$wsptr$1282 + 4 >> 2] | 0; + $30 = HEAP32[$wsptr$1282 + 12 >> 2] | 0; + $31 = HEAP32[$wsptr$1282 + 20 >> 2] | 0; + $32 = HEAP32[$wsptr$1282 + 28 >> 2] | 0; + $mul191 = ($30 + $29 | 0) * 10832 | 0; + $mul193 = ($31 + $29 | 0) * 9534 | 0; + $add194 = $32 + $29 | 0; + $mul195 = $add194 * 7682 | 0; + $sub199 = $mul191 + (Math_imul($29, -16549) | 0) + $mul193 + $mul195 | 0; + $mul201 = Math_imul($31 + $30 | 0, -2773) | 0; + $mul209 = Math_imul($32 + $30 | 0, -9534) | 0; + $add210 = $mul191 + ($30 * 6859 | 0) + $mul201 + $mul209 | 0; + $mul215 = Math_imul($32 + $31 | 0, -5384) | 0; + $add216 = $mul201 + (Math_imul($31, -12879) | 0) + $mul193 + $mul215 | 0; + $add217 = $mul209 + ($32 * 18068 | 0) + $mul195 + $mul215 | 0; + $add220 = ($add194 * 2773 | 0) + (($31 - $30 | 0) * 7682 | 0) | 0; + $add225 = $add220 + ($29 * 2611 | 0) + (Math_imul($30, -3818) | 0) | 0; + $add230 = $add220 + ($31 * 3150 | 0) + (Math_imul($32, -14273) | 0) | 0; + HEAP8[$add$ptr147 >> 0] = HEAP8[$add$ptr + (($sub199 + $add161 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr147 + 12 >> 0] = HEAP8[$add$ptr + (($add161 - $sub199 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr147 + 1 >> 0] = HEAP8[$add$ptr + (($add210 + $add170 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr147 + 11 >> 0] = HEAP8[$add$ptr + (($add170 - $add210 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr147 + 2 >> 0] = HEAP8[$add$ptr + (($add216 + $add164 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr147 + 10 >> 0] = HEAP8[$add$ptr + (($add164 - $add216 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr147 + 3 >> 0] = HEAP8[$add$ptr + (($add217 + $sub179 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr147 + 9 >> 0] = HEAP8[$add$ptr + (($sub179 - $add217 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr147 + 4 >> 0] = HEAP8[$add$ptr + (($add225 + $sub182 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr147 + 8 >> 0] = HEAP8[$add$ptr + (($sub182 - $add225 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr147 + 5 >> 0] = HEAP8[$add$ptr + (($add230 + $add173 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr147 + 7 >> 0] = HEAP8[$add$ptr + (($add173 - $add230 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr147 + 6 >> 0] = HEAP8[$add$ptr + (((($sub155 - $25 | 0) * 11585 | 0) + $shl150 | 0) >>> 18 & 1023) >> 0] | 0; + $ctr$1283 = $ctr$1283 + 1 | 0; + if (($ctr$1283 | 0) == 13) break; else $wsptr$1282 = $wsptr$1282 + 32 | 0; + } + STACKTOP = sp; + return; +} + +function __ZN6vision18BinomialPyramid32f5buildERKNS_5ImageE($this, $image) { + $this = $this | 0; + $image = $image | 0; + var $12 = 0, $13 = 0, $24 = 0, $26 = 0, $call$i1$i$i = 0, $call$i1$i$i20 = 0, $call$i1$i$i34 = 0, $call$i1$i$i48 = 0, $call$i1$i$i63 = 0, $call$i2$i$i = 0, $call$i2$i$i23 = 0, $call$i2$i$i37 = 0, $call$i2$i$i51 = 0, $call$i2$i$i66 = 0, $call18 = 0, $call31 = 0, $call36 = 0, $call47 = 0, $call52 = 0, $call63 = 0, $call7 = 0, $call83 = 0, $call88 = 0, $call94 = 0, $i$0 = 0, $mNumOctaves = 0, $mNumScalesPerOctave = 0, $mPyramid = 0, $mul103 = 0, $mul111 = 0, $mul81 = 0, $ref$tmp$i$i58 = 0, $sub = 0, $sub92 = 0, $sub98 = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $ref$tmp$i$i58 = sp; + if ((__ZNK6vision5Image4typeEv($image) | 0) != 1) { + $call7 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 31492) | 0, 31305) | 0, 39794) | 0, 330) | 0, 39801) | 0, 31543) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i$i58, $call7 + (HEAP32[(HEAP32[$call7 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i$i = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i$i58, 67360) | 0; + $call$i2$i$i = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i$i >> 2] | 0) + 28 >> 2] & 127]($call$i1$i$i, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i$i58); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call7, $call$i2$i$i) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call7) | 0; + _abort(); + } + if ((__ZNK6vision5Image8channelsEv($image) | 0) != 1) { + $call18 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 31567) | 0, 31305) | 0, 39794) | 0, 331) | 0, 39801) | 0, 31612) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i$i58, $call18 + (HEAP32[(HEAP32[$call18 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i$i20 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i$i58, 67360) | 0; + $call$i2$i$i23 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i$i20 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i$i20, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i$i58); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call18, $call$i2$i$i23) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call18) | 0; + _abort(); + } + $mPyramid = $this + 4 | 0; + $mNumOctaves = $this + 16 | 0; + $mNumScalesPerOctave = $this + 20 | 0; + if (((HEAP32[$this + 8 >> 2] | 0) - (HEAP32[$mPyramid >> 2] | 0) >> 5 | 0) != (Math_imul(HEAP32[$mNumScalesPerOctave >> 2] | 0, HEAP32[$mNumOctaves >> 2] | 0) | 0)) { + $call31 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 31638) | 0, 31305) | 0, 39794) | 0, 333) | 0, 39801) | 0, 31712) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i$i58, $call31 + (HEAP32[(HEAP32[$call31 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i$i34 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i$i58, 67360) | 0; + $call$i2$i$i37 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i$i34 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i$i34, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i$i58); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call31, $call$i2$i$i37) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call31) | 0; + _abort(); + } + $call36 = __ZNK6vision5Image5widthEv($image) | 0; + if (($call36 | 0) != (__ZNK6vision5Image5widthEv(HEAP32[$mPyramid >> 2] | 0) | 0)) { + $call47 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 31747) | 0, 31305) | 0, 39794) | 0, 334) | 0, 39801) | 0, 31807) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i$i58, $call47 + (HEAP32[(HEAP32[$call47 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i$i48 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i$i58, 67360) | 0; + $call$i2$i$i51 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i$i48 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i$i48, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i$i58); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call47, $call$i2$i$i51) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call47) | 0; + _abort(); + } + $call52 = __ZNK6vision5Image6heightEv($image) | 0; + if (($call52 | 0) != (__ZNK6vision5Image6heightEv(HEAP32[$mPyramid >> 2] | 0) | 0)) { + $call63 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 31839) | 0, 31305) | 0, 39794) | 0, 335) | 0, 39801) | 0, 31807) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i$i58, $call63 + (HEAP32[(HEAP32[$call63 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i$i63 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i$i58, 67360) | 0; + $call$i2$i$i66 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i$i63 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i$i63, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i$i58); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call63, $call$i2$i$i66) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call63) | 0; + _abort(); + } + __ZN6vision18BinomialPyramid32f12apply_filterERNS_5ImageERKS1_($this, HEAP32[$mPyramid >> 2] | 0, $image); + $12 = HEAP32[$mPyramid >> 2] | 0; + __ZN6vision18BinomialPyramid32f12apply_filterERNS_5ImageERKS1_($this, $12 + 32 | 0, $12); + $13 = HEAP32[$mPyramid >> 2] | 0; + __ZN6vision18BinomialPyramid32f18apply_filter_twiceERNS_5ImageERKS1_($this, $13 + 64 | 0, $13 + 32 | 0); + $i$0 = 1; + while (1) { + if ($i$0 >>> 0 >= (HEAP32[$mNumOctaves >> 2] | 0) >>> 0) break; + $mul81 = Math_imul(HEAP32[$mNumScalesPerOctave >> 2] | 0, $i$0) | 0; + $call83 = __ZN6vision5Image3getEv((HEAP32[$mPyramid >> 2] | 0) + ($mul81 << 5) | 0) | 0; + $sub = (Math_imul(HEAP32[$mNumScalesPerOctave >> 2] | 0, $i$0) | 0) + -1 | 0; + $call88 = __ZN6vision5Image3getEv((HEAP32[$mPyramid >> 2] | 0) + ($sub << 5) | 0) | 0; + $sub92 = (Math_imul(HEAP32[$mNumScalesPerOctave >> 2] | 0, $i$0) | 0) + -1 | 0; + $call94 = __ZNK6vision5Image5widthEv((HEAP32[$mPyramid >> 2] | 0) + ($sub92 << 5) | 0) | 0; + $sub98 = (Math_imul(HEAP32[$mNumScalesPerOctave >> 2] | 0, $i$0) | 0) + -1 | 0; + __ZN6vision19downsample_bilinearEPfPKfmm($call83, $call88, $call94, __ZNK6vision5Image6heightEv((HEAP32[$mPyramid >> 2] | 0) + ($sub98 << 5) | 0) | 0); + $mul103 = Math_imul(HEAP32[$mNumScalesPerOctave >> 2] | 0, $i$0) | 0; + $24 = HEAP32[$mPyramid >> 2] | 0; + __ZN6vision18BinomialPyramid32f12apply_filterERNS_5ImageERKS1_($this, $24 + ($mul103 + 1 << 5) | 0, $24 + ($mul103 << 5) | 0); + $mul111 = Math_imul(HEAP32[$mNumScalesPerOctave >> 2] | 0, $i$0) | 0; + $26 = HEAP32[$mPyramid >> 2] | 0; + __ZN6vision18BinomialPyramid32f18apply_filter_twiceERNS_5ImageERKS1_($this, $26 + ($mul111 + 2 << 5) | 0, $26 + ($mul111 + 1 << 5) | 0); + $i$0 = $i$0 + 1 | 0; + } + STACKTOP = sp; + return; +} + +function _jpeg_idct_14x14($cinfo, $compptr, $coef_block, $output_buf, $output_col) { + $cinfo = $cinfo | 0; + $compptr = $compptr | 0; + $coef_block = $coef_block | 0; + $output_buf = $output_buf | 0; + $output_col = $output_col | 0; + var $0 = 0, $29 = 0, $32 = 0, $33 = 0, $36 = 0, $37 = 0, $38 = 0, $add = 0, $add$ptr = 0, $add$ptr139 = 0, $add10 = 0, $add147 = 0, $add148 = 0, $add159 = 0, $add165 = 0, $add167 = 0, $add169 = 0, $add176 = 0, $add190 = 0, $add196 = 0, $add199 = 0, $add205 = 0, $add208 = 0, $add211 = 0, $add26 = 0, $add32 = 0, $add34 = 0, $add36 = 0, $add55 = 0, $add69 = 0, $add76 = 0, $add79 = 0, $add85 = 0, $add88 = 0, $add9 = 0, $ctr$0287 = 0, $ctr$1283 = 0, $inptr$0284 = 0, $mul157 = 0, $mul178 = 0, $mul179 = 0, $mul18 = 0, $mul184 = 0, $mul201 = 0, $mul22 = 0, $mul24 = 0, $mul41 = 0, $mul45 = 0, $mul49 = 0, $mul5 = 0, $mul53 = 0, $mul57 = 0, $mul58 = 0, $mul63 = 0, $mul81 = 0, $quantptr$0285 = 0, $shl142 = 0, $shl175 = 0, $shl54 = 0, $shl90 = 0, $shr = 0, $sub = 0, $sub149 = 0, $sub153 = 0, $sub161 = 0, $sub164 = 0, $sub166 = 0, $sub168 = 0, $sub170 = 0, $sub183 = 0, $sub187 = 0, $sub189 = 0, $sub193 = 0, $sub28 = 0, $sub31 = 0, $sub33 = 0, $sub35 = 0, $sub37 = 0, $sub62 = 0, $sub66 = 0, $sub68 = 0, $sub73 = 0, $workspace = 0, $wsptr$0286 = 0, $wsptr$1282 = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 448 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(448); - $5 = sp; - $7 = HEAP32[$0 + 336 >> 2] | 0; - $$0332340 = $5; - $$0334339 = HEAP32[$1 + 84 >> 2] | 0; - $$0335338 = $2; - $$0341 = 0; + $workspace = sp; + $0 = HEAP32[$cinfo + 336 >> 2] | 0; + $ctr$0287 = 0; + $inptr$0284 = $coef_block; + $quantptr$0285 = HEAP32[$compptr + 84 >> 2] | 0; + $wsptr$0286 = $workspace; while (1) { - $15 = Math_imul(HEAP16[$$0335338 >> 1] << 13, HEAP32[$$0334339 >> 2] | 0) | 0 | 1024; - $21 = Math_imul(HEAP32[$$0334339 + 128 >> 2] | 0, HEAP16[$$0335338 + 64 >> 1] | 0) | 0; - $24 = ($21 * 10438 | 0) + $15 | 0; - $25 = ($21 * 2578 | 0) + $15 | 0; - $27 = (Math_imul($21, -7223) | 0) + $15 | 0; - $30 = (Math_imul($21, -11586) | 0) + $15 >> 11; - $36 = Math_imul(HEAP32[$$0334339 + 64 >> 2] | 0, HEAP16[$$0335338 + 32 >> 1] | 0) | 0; - $42 = Math_imul(HEAP32[$$0334339 + 192 >> 2] | 0, HEAP16[$$0335338 + 96 >> 1] | 0) | 0; - $44 = ($42 + $36 | 0) * 9058 | 0; - $46 = $44 + ($36 * 2237 | 0) | 0; - $48 = $44 + (Math_imul($42, -14084) | 0) | 0; - $51 = (Math_imul($42, -11295) | 0) + ($36 * 5027 | 0) | 0; - $52 = $46 + $24 | 0; - $53 = $24 - $46 | 0; - $54 = $48 + $25 | 0; - $55 = $25 - $48 | 0; - $56 = $51 + $27 | 0; - $57 = $27 - $51 | 0; - $63 = Math_imul(HEAP32[$$0334339 + 32 >> 2] | 0, HEAP16[$$0335338 + 16 >> 1] | 0) | 0; - $69 = Math_imul(HEAP32[$$0334339 + 96 >> 2] | 0, HEAP16[$$0335338 + 48 >> 1] | 0) | 0; - $75 = Math_imul(HEAP32[$$0334339 + 160 >> 2] | 0, HEAP16[$$0335338 + 80 >> 1] | 0) | 0; - $81 = Math_imul(HEAP32[$$0334339 + 224 >> 2] | 0, HEAP16[$$0335338 + 112 >> 1] | 0) | 0; - $82 = $81 << 13; - $83 = $75 + $63 | 0; - $85 = ($69 + $63 | 0) * 10935 | 0; - $86 = $83 * 9810 | 0; - $90 = $85 + (Math_imul($63, -9232) | 0) + $86 + $82 | 0; - $91 = $83 * 6164 | 0; - $94 = $63 - $69 | 0; - $96 = ($94 * 3826 | 0) - $82 | 0; - $97 = $91 + (Math_imul($63, -8693) | 0) + $96 | 0; - $100 = (Math_imul($75 + $69 | 0, -1297) | 0) - $82 | 0; - $103 = $85 + (Math_imul($69, -3474) | 0) + $100 | 0; - $106 = $86 + (Math_imul($75, -19447) | 0) + $100 | 0; - $108 = ($75 - $69 | 0) * 11512 | 0; - $112 = $108 + (Math_imul($75, -13850) | 0) + $91 + $82 | 0; - $115 = $108 + ($69 * 5529 | 0) + $96 | 0; - $118 = $94 - $75 + $81 << 2; - HEAP32[$$0332340 >> 2] = $90 + $52 >> 11; - HEAP32[$$0332340 + 416 >> 2] = $52 - $90 >> 11; - HEAP32[$$0332340 + 32 >> 2] = $103 + $54 >> 11; - HEAP32[$$0332340 + 384 >> 2] = $54 - $103 >> 11; - HEAP32[$$0332340 + 64 >> 2] = $106 + $56 >> 11; - HEAP32[$$0332340 + 352 >> 2] = $56 - $106 >> 11; - HEAP32[$$0332340 + 96 >> 2] = $118 + $30; - HEAP32[$$0332340 + 320 >> 2] = $30 - $118; - HEAP32[$$0332340 + 128 >> 2] = $112 + $57 >> 11; - HEAP32[$$0332340 + 288 >> 2] = $57 - $112 >> 11; - HEAP32[$$0332340 + 160 >> 2] = $115 + $55 >> 11; - HEAP32[$$0332340 + 256 >> 2] = $55 - $115 >> 11; - HEAP32[$$0332340 + 192 >> 2] = $97 + $53 >> 11; - HEAP32[$$0332340 + 224 >> 2] = $53 - $97 >> 11; - $$0341 = $$0341 + 1 | 0; - if (($$0341 | 0) == 8) break; else { - $$0332340 = $$0332340 + 4 | 0; - $$0334339 = $$0334339 + 4 | 0; - $$0335338 = $$0335338 + 2 | 0; - } - } - $162 = $7 + -384 | 0; - $$1333336 = $5; - $$1337 = 0; + $add = Math_imul(HEAP16[$inptr$0284 >> 1] << 13, HEAP32[$quantptr$0285 >> 2] | 0) | 0 | 1024; + $mul5 = Math_imul(HEAP32[$quantptr$0285 + 128 >> 2] | 0, HEAP16[$inptr$0284 + 64 >> 1] | 0) | 0; + $add9 = ($mul5 * 10438 | 0) + $add | 0; + $add10 = ($mul5 * 2578 | 0) + $add | 0; + $sub = (Math_imul($mul5, -7223) | 0) + $add | 0; + $shr = (Math_imul($mul5, -11586) | 0) + $add >> 11; + $mul18 = Math_imul(HEAP32[$quantptr$0285 + 64 >> 2] | 0, HEAP16[$inptr$0284 + 32 >> 1] | 0) | 0; + $mul22 = Math_imul(HEAP32[$quantptr$0285 + 192 >> 2] | 0, HEAP16[$inptr$0284 + 96 >> 1] | 0) | 0; + $mul24 = ($mul22 + $mul18 | 0) * 9058 | 0; + $add26 = $mul24 + ($mul18 * 2237 | 0) | 0; + $sub28 = $mul24 + (Math_imul($mul22, -14084) | 0) | 0; + $sub31 = (Math_imul($mul22, -11295) | 0) + ($mul18 * 5027 | 0) | 0; + $add32 = $add26 + $add9 | 0; + $sub33 = $add9 - $add26 | 0; + $add34 = $sub28 + $add10 | 0; + $sub35 = $add10 - $sub28 | 0; + $add36 = $sub31 + $sub | 0; + $sub37 = $sub - $sub31 | 0; + $mul41 = Math_imul(HEAP32[$quantptr$0285 + 32 >> 2] | 0, HEAP16[$inptr$0284 + 16 >> 1] | 0) | 0; + $mul45 = Math_imul(HEAP32[$quantptr$0285 + 96 >> 2] | 0, HEAP16[$inptr$0284 + 48 >> 1] | 0) | 0; + $mul49 = Math_imul(HEAP32[$quantptr$0285 + 160 >> 2] | 0, HEAP16[$inptr$0284 + 80 >> 1] | 0) | 0; + $mul53 = Math_imul(HEAP32[$quantptr$0285 + 224 >> 2] | 0, HEAP16[$inptr$0284 + 112 >> 1] | 0) | 0; + $shl54 = $mul53 << 13; + $add55 = $mul49 + $mul41 | 0; + $mul57 = ($mul45 + $mul41 | 0) * 10935 | 0; + $mul58 = $add55 * 9810 | 0; + $sub62 = $mul57 + (Math_imul($mul41, -9232) | 0) + $mul58 + $shl54 | 0; + $mul63 = $add55 * 6164 | 0; + $sub66 = $mul41 - $mul45 | 0; + $sub68 = ($sub66 * 3826 | 0) - $shl54 | 0; + $add69 = $mul63 + (Math_imul($mul41, -8693) | 0) + $sub68 | 0; + $sub73 = (Math_imul($mul49 + $mul45 | 0, -1297) | 0) - $shl54 | 0; + $add76 = $mul57 + (Math_imul($mul45, -3474) | 0) + $sub73 | 0; + $add79 = $mul58 + (Math_imul($mul49, -19447) | 0) + $sub73 | 0; + $mul81 = ($mul49 - $mul45 | 0) * 11512 | 0; + $add85 = $mul81 + (Math_imul($mul49, -13850) | 0) + $mul63 + $shl54 | 0; + $add88 = $mul81 + ($mul45 * 5529 | 0) + $sub68 | 0; + $shl90 = $sub66 - $mul49 + $mul53 << 2; + HEAP32[$wsptr$0286 >> 2] = $sub62 + $add32 >> 11; + HEAP32[$wsptr$0286 + 416 >> 2] = $add32 - $sub62 >> 11; + HEAP32[$wsptr$0286 + 32 >> 2] = $add76 + $add34 >> 11; + HEAP32[$wsptr$0286 + 384 >> 2] = $add34 - $add76 >> 11; + HEAP32[$wsptr$0286 + 64 >> 2] = $add79 + $add36 >> 11; + HEAP32[$wsptr$0286 + 352 >> 2] = $add36 - $add79 >> 11; + HEAP32[$wsptr$0286 + 96 >> 2] = $shl90 + $shr; + HEAP32[$wsptr$0286 + 320 >> 2] = $shr - $shl90; + HEAP32[$wsptr$0286 + 128 >> 2] = $add85 + $sub37 >> 11; + HEAP32[$wsptr$0286 + 288 >> 2] = $sub37 - $add85 >> 11; + HEAP32[$wsptr$0286 + 160 >> 2] = $add88 + $sub35 >> 11; + HEAP32[$wsptr$0286 + 256 >> 2] = $sub35 - $add88 >> 11; + HEAP32[$wsptr$0286 + 192 >> 2] = $add69 + $sub33 >> 11; + HEAP32[$wsptr$0286 + 224 >> 2] = $sub33 - $add69 >> 11; + $ctr$0287 = $ctr$0287 + 1 | 0; + if (($ctr$0287 | 0) == 8) break; else { + $inptr$0284 = $inptr$0284 + 2 | 0; + $quantptr$0285 = $quantptr$0285 + 4 | 0; + $wsptr$0286 = $wsptr$0286 + 4 | 0; + } + } + $add$ptr = $0 + -384 | 0; + $ctr$1283 = 0; + $wsptr$1282 = $workspace; while (1) { - $165 = (HEAP32[$3 + ($$1337 << 2) >> 2] | 0) + $4 | 0; - $168 = (HEAP32[$$1333336 >> 2] << 13) + 134348800 | 0; - $170 = HEAP32[$$1333336 + 16 >> 2] | 0; - $173 = $168 + ($170 * 10438 | 0) | 0; - $174 = $168 + ($170 * 2578 | 0) | 0; - $176 = $168 + (Math_imul($170, -7223) | 0) | 0; - $178 = $168 + (Math_imul($170, -11586) | 0) | 0; - $180 = HEAP32[$$1333336 + 8 >> 2] | 0; - $182 = HEAP32[$$1333336 + 24 >> 2] | 0; - $184 = ($182 + $180 | 0) * 9058 | 0; - $186 = $184 + ($180 * 2237 | 0) | 0; - $188 = $184 + (Math_imul($182, -14084) | 0) | 0; - $191 = (Math_imul($182, -11295) | 0) + ($180 * 5027 | 0) | 0; - $192 = $186 + $173 | 0; - $193 = $173 - $186 | 0; - $194 = $188 + $174 | 0; - $195 = $174 - $188 | 0; - $196 = $191 + $176 | 0; - $197 = $176 - $191 | 0; - $199 = HEAP32[$$1333336 + 4 >> 2] | 0; - $201 = HEAP32[$$1333336 + 12 >> 2] | 0; - $203 = HEAP32[$$1333336 + 20 >> 2] | 0; - $206 = HEAP32[$$1333336 + 28 >> 2] << 13; - $207 = $203 + $199 | 0; - $209 = ($201 + $199 | 0) * 10935 | 0; - $210 = $207 * 9810 | 0; - $214 = $209 + (Math_imul($199, -9232) | 0) + $210 + $206 | 0; - $215 = $207 * 6164 | 0; - $218 = $199 - $201 | 0; - $220 = ($218 * 3826 | 0) - $206 | 0; - $221 = $215 + (Math_imul($199, -8693) | 0) + $220 | 0; - $224 = (Math_imul($203 + $201 | 0, -1297) | 0) - $206 | 0; - $227 = $209 + (Math_imul($201, -3474) | 0) + $224 | 0; - $230 = $210 + (Math_imul($203, -19447) | 0) + $224 | 0; - $232 = ($203 - $201 | 0) * 11512 | 0; - $236 = $206 + (Math_imul($203, -13850) | 0) + $232 + $215 | 0; - $239 = $232 + ($201 * 5529 | 0) + $220 | 0; - $242 = ($218 - $203 << 13) + $206 | 0; - HEAP8[$165 >> 0] = HEAP8[$162 + (($214 + $192 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$165 + 13 >> 0] = HEAP8[$162 + (($192 - $214 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$165 + 1 >> 0] = HEAP8[$162 + (($227 + $194 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$165 + 12 >> 0] = HEAP8[$162 + (($194 - $227 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$165 + 2 >> 0] = HEAP8[$162 + (($230 + $196 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$165 + 11 >> 0] = HEAP8[$162 + (($196 - $230 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$165 + 3 >> 0] = HEAP8[$162 + (($242 + $178 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$165 + 10 >> 0] = HEAP8[$162 + (($178 - $242 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$165 + 4 >> 0] = HEAP8[$162 + (($236 + $197 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$165 + 9 >> 0] = HEAP8[$162 + (($197 - $236 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$165 + 5 >> 0] = HEAP8[$162 + (($239 + $195 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$165 + 8 >> 0] = HEAP8[$162 + (($195 - $239 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$165 + 6 >> 0] = HEAP8[$162 + (($221 + $193 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$165 + 7 >> 0] = HEAP8[$162 + (($193 - $221 | 0) >>> 18 & 1023) >> 0] | 0; - $$1337 = $$1337 + 1 | 0; - if (($$1337 | 0) == 14) break; else $$1333336 = $$1333336 + 32 | 0; - } - STACKTOP = sp; - return; -} - -function __ZN6vision25DoGScaleInvariantDetector21findSubpixelLocationsEPKNS_25GaussianScaleSpacePyramidE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $$070 = 0, $$2 = 0, $10 = 0.0, $100 = 0, $105 = 0, $109 = 0, $11 = 0, $111 = 0, $114 = 0.0, $117 = 0.0, $133 = 0.0, $134 = 0, $137 = 0.0, $14 = 0.0, $144 = 0.0, $146 = 0, $151 = 0.0, $153 = 0, $16 = 0.0, $160 = 0.0, $162 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $26 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $4 = 0, $41 = 0, $46 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $54 = 0, $56 = 0, $58 = 0, $6 = 0, $63 = 0, $66 = 0, $67 = 0, $7 = 0, $70 = 0, $71 = 0, $73 = 0, $74 = 0, $81 = 0.0, $84 = 0.0, $87 = 0, $89 = 0, $90 = 0.0, $92 = 0, dest = 0, label = 0, sp = 0, src = 0, stop = 0; + $add$ptr139 = (HEAP32[$output_buf + ($ctr$1283 << 2) >> 2] | 0) + $output_col | 0; + $shl142 = (HEAP32[$wsptr$1282 >> 2] << 13) + 134348800 | 0; + $29 = HEAP32[$wsptr$1282 + 16 >> 2] | 0; + $add147 = $shl142 + ($29 * 10438 | 0) | 0; + $add148 = $shl142 + ($29 * 2578 | 0) | 0; + $sub149 = $shl142 + (Math_imul($29, -7223) | 0) | 0; + $sub153 = $shl142 + (Math_imul($29, -11586) | 0) | 0; + $32 = HEAP32[$wsptr$1282 + 8 >> 2] | 0; + $33 = HEAP32[$wsptr$1282 + 24 >> 2] | 0; + $mul157 = ($33 + $32 | 0) * 9058 | 0; + $add159 = $mul157 + ($32 * 2237 | 0) | 0; + $sub161 = $mul157 + (Math_imul($33, -14084) | 0) | 0; + $sub164 = (Math_imul($33, -11295) | 0) + ($32 * 5027 | 0) | 0; + $add165 = $add159 + $add147 | 0; + $sub166 = $add147 - $add159 | 0; + $add167 = $sub161 + $add148 | 0; + $sub168 = $add148 - $sub161 | 0; + $add169 = $sub164 + $sub149 | 0; + $sub170 = $sub149 - $sub164 | 0; + $36 = HEAP32[$wsptr$1282 + 4 >> 2] | 0; + $37 = HEAP32[$wsptr$1282 + 12 >> 2] | 0; + $38 = HEAP32[$wsptr$1282 + 20 >> 2] | 0; + $shl175 = HEAP32[$wsptr$1282 + 28 >> 2] << 13; + $add176 = $38 + $36 | 0; + $mul178 = ($37 + $36 | 0) * 10935 | 0; + $mul179 = $add176 * 9810 | 0; + $sub183 = $mul178 + (Math_imul($36, -9232) | 0) + $mul179 + $shl175 | 0; + $mul184 = $add176 * 6164 | 0; + $sub187 = $36 - $37 | 0; + $sub189 = ($sub187 * 3826 | 0) - $shl175 | 0; + $add190 = $mul184 + (Math_imul($36, -8693) | 0) + $sub189 | 0; + $sub193 = (Math_imul($38 + $37 | 0, -1297) | 0) - $shl175 | 0; + $add196 = $mul178 + (Math_imul($37, -3474) | 0) + $sub193 | 0; + $add199 = $mul179 + (Math_imul($38, -19447) | 0) + $sub193 | 0; + $mul201 = ($38 - $37 | 0) * 11512 | 0; + $add205 = $shl175 + (Math_imul($38, -13850) | 0) + $mul201 + $mul184 | 0; + $add208 = $mul201 + ($37 * 5529 | 0) + $sub189 | 0; + $add211 = ($sub187 - $38 << 13) + $shl175 | 0; + HEAP8[$add$ptr139 >> 0] = HEAP8[$add$ptr + (($sub183 + $add165 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr139 + 13 >> 0] = HEAP8[$add$ptr + (($add165 - $sub183 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr139 + 1 >> 0] = HEAP8[$add$ptr + (($add196 + $add167 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr139 + 12 >> 0] = HEAP8[$add$ptr + (($add167 - $add196 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr139 + 2 >> 0] = HEAP8[$add$ptr + (($add199 + $add169 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr139 + 11 >> 0] = HEAP8[$add$ptr + (($add169 - $add199 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr139 + 3 >> 0] = HEAP8[$add$ptr + (($add211 + $sub153 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr139 + 10 >> 0] = HEAP8[$add$ptr + (($sub153 - $add211 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr139 + 4 >> 0] = HEAP8[$add$ptr + (($add205 + $sub170 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr139 + 9 >> 0] = HEAP8[$add$ptr + (($sub170 - $add205 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr139 + 5 >> 0] = HEAP8[$add$ptr + (($add208 + $sub168 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr139 + 8 >> 0] = HEAP8[$add$ptr + (($sub168 - $add208 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr139 + 6 >> 0] = HEAP8[$add$ptr + (($add190 + $sub166 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr139 + 7 >> 0] = HEAP8[$add$ptr + (($sub166 - $add190 | 0) >>> 18 & 1023) >> 0] | 0; + $ctr$1283 = $ctr$1283 + 1 | 0; + if (($ctr$1283 | 0) == 14) break; else $wsptr$1282 = $wsptr$1282 + 32 | 0; + } + STACKTOP = sp; + return; +} + +function __ZN6vision25DoGScaleInvariantDetector21findSubpixelLocationsEPKNS_25GaussianScaleSpacePyramidE($this, $pyramid) { + $this = $this | 0; + $pyramid = $pyramid | 0; + var $21 = 0.0, $26 = 0.0, $28 = 0.0, $39 = 0.0, $4 = 0, $41 = 0.0, $5 = 0, $6 = 0, $8 = 0, $A = 0, $__end_$i = 0, $add19 = 0, $add49 = 0.0, $add97 = 0.0, $arrayidx$i49 = 0, $arrayidx$i51 = 0, $arrayidx$i53 = 0, $arrayidx47 = 0, $arrayidx59 = 0, $arrayidx73 = 0, $arrayidx77 = 0, $arrayidx81 = 0, $arrayidx82 = 0, $b = 0, $call = 0.0, $call$i1$i$i = 0, $call$i1$i$i61 = 0, $call$i2$i$i = 0, $call$i2$i$i64 = 0, $call102 = 0.0, $call116 = 0, $call127 = 0, $call135 = 0.0, $call14 = 0, $call2 = 0.0, $call27 = 0, $call30 = 0, $call33 = 0, $call46 = 0.0, $call67 = 0, $conv = 0, $conv25 = 0, $div = 0.0, $edge_score = 0, $i$0 = 0, $inc = 0, $mEdgeThreshold = 0, $mFeaturePoints = 0, $mLaplacianPyramid = 0, $mMaxSubpixelDistanceSqr = 0, $mul = 0, $num_points$0 = 0, $num_points$2 = 0, $octave = 0, $ref$tmp$i$i56 = 0, $scale = 0, $score = 0, $sp_scale = 0, $u = 0, $xp = 0, $y21 = 0, $yp = 0, dest = 0, label = 0, sp = 0, src = 0, stop = 0; sp = STACKTOP; STACKTOP = STACKTOP + 80 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(80); - $2 = sp + 68 | 0; - $3 = sp; - $4 = sp + 56 | 0; - $5 = sp + 44 | 0; - $6 = sp + 40 | 0; - $7 = sp + 36 | 0; - $10 = +__ZN6vision3sqrIfEET_S1_(+HEAPF32[$0 + 52 >> 2]); - $11 = $0 + 56 | 0; - $14 = +__ZN6vision3sqrIfEET_S1_(+HEAPF32[$11 >> 2] + 1.0); - $16 = $14 / +HEAPF32[$11 >> 2]; - $17 = $0 + 60 | 0; - $18 = $0 + 64 | 0; - $19 = $0 + 32 | 0; - $20 = $5 + 4 | 0; - $21 = $0 + 88 | 0; - $22 = $4 + 4 | 0; - $23 = $4 + 8 | 0; - $24 = $5 + 8 | 0; - $$0 = 0; - $$070 = 0; + $ref$tmp$i$i56 = sp + 68 | 0; + $A = sp; + $b = sp + 56 | 0; + $u = sp + 44 | 0; + $xp = sp + 40 | 0; + $yp = sp + 36 | 0; + $call = +__ZN6vision3sqrIfEET_S1_(+HEAPF32[$this + 52 >> 2]); + $mEdgeThreshold = $this + 56 | 0; + $call2 = +__ZN6vision3sqrIfEET_S1_(+HEAPF32[$mEdgeThreshold >> 2] + 1.0); + $div = $call2 / +HEAPF32[$mEdgeThreshold >> 2]; + $mFeaturePoints = $this + 60 | 0; + $__end_$i = $this + 64 | 0; + $mLaplacianPyramid = $this + 32 | 0; + $arrayidx47 = $u + 4 | 0; + $mMaxSubpixelDistanceSqr = $this + 88 | 0; + $arrayidx77 = $b + 4 | 0; + $arrayidx81 = $b + 8 | 0; + $arrayidx82 = $u + 8 | 0; + $i$0 = 0; + $num_points$0 = 0; while (1) { - $26 = HEAP32[$17 >> 2] | 0; - $30 = $26; - if ($$070 >>> 0 >= (((HEAP32[$18 >> 2] | 0) - $26 | 0) / 36 | 0) >>> 0) { + $4 = HEAP32[$mFeaturePoints >> 2] | 0; + $5 = $4; + if ($i$0 >>> 0 >= (((HEAP32[$__end_$i >> 2] | 0) - $4 | 0) / 36 | 0) >>> 0) { label = 3; break; } - $31 = $30 + ($$070 * 36 | 0) | 0; - $32 = $30 + ($$070 * 36 | 0) + 16 | 0; - $33 = HEAP32[$32 >> 2] | 0; - if (($33 | 0) >= (__ZNK6vision10DoGPyramid17numScalePerOctaveEv($19) | 0)) { + $arrayidx$i49 = $5 + ($i$0 * 36 | 0) | 0; + $scale = $5 + ($i$0 * 36 | 0) + 16 | 0; + $6 = HEAP32[$scale >> 2] | 0; + if (($6 | 0) >= (__ZNK6vision10DoGPyramid17numScalePerOctaveEv($mLaplacianPyramid) | 0)) { label = 5; break; } - $51 = $30 + ($$070 * 36 | 0) + 12 | 0; - $52 = HEAP32[$51 >> 2] | 0; - $54 = Math_imul(__ZNK6vision10DoGPyramid17numScalePerOctaveEv($19) | 0, $52) | 0; - $56 = $54 + (HEAP32[$32 >> 2] | 0) | 0; - $58 = $30 + ($$070 * 36 | 0) + 4 | 0; - __ZN6vision25bilinear_downsample_pointERfS0_ffi($6, $7, +HEAPF32[$31 >> 2], +HEAPF32[$58 >> 2], HEAP32[$51 >> 2] | 0); - $63 = ~~(+HEAPF32[$6 >> 2] + .5); - $66 = ~~(+HEAPF32[$7 >> 2] + .5); - $67 = __ZNK6vision10DoGPyramid6imagesEv($19) | 0; - $70 = (HEAP32[$67 >> 2] | 0) + ($56 + -1 << 5) | 0; - $71 = __ZNK6vision10DoGPyramid6imagesEv($19) | 0; - $73 = (HEAP32[$71 >> 2] | 0) + ($56 << 5) | 0; - $74 = __ZNK6vision10DoGPyramid6imagesEv($19) | 0; - if (((__ZN6vision22ComputeSubpixelHessianEPfS0_RKNS_5ImageES3_S3_ii($3, $4, $70, $73, (HEAP32[$74 >> 2] | 0) + ($56 + 1 << 5) | 0, $63, $66) | 0 ? __ZN6vision29SolveSymmetricLinearSystem3x3IfEEbPT_PKS1_S4_($5, $3, $4) | 0 : 0) ? ($81 = +__ZN6vision3sqrIfEET_S1_(+HEAPF32[$5 >> 2]), $84 = $81 + +__ZN6vision3sqrIfEET_S1_(+HEAPF32[$20 >> 2]), !($84 > +HEAPF32[$21 >> 2])) : 0) ? ($87 = $30 + ($$070 * 36 | 0) + 32 | 0, __ZN6vision16ComputeEdgeScoreERfPKf($87, $3) | 0) : 0) { - $89 = $30 + ($$070 * 36 | 0) + 24 | 0; - $90 = +HEAPF32[$89 >> 2]; - $92 = (__ZNK6vision5Image3getIfEEPKT_m($73, $66) | 0) + ($63 << 2) | 0; - if (!($90 == +HEAPF32[$92 >> 2])) { + $octave = $5 + ($i$0 * 36 | 0) + 12 | 0; + $8 = HEAP32[$octave >> 2] | 0; + $mul = Math_imul(__ZNK6vision10DoGPyramid17numScalePerOctaveEv($mLaplacianPyramid) | 0, $8) | 0; + $add19 = $mul + (HEAP32[$scale >> 2] | 0) | 0; + $y21 = $5 + ($i$0 * 36 | 0) + 4 | 0; + __ZN6vision25bilinear_downsample_pointERfS0_ffi($xp, $yp, +HEAPF32[$arrayidx$i49 >> 2], +HEAPF32[$y21 >> 2], HEAP32[$octave >> 2] | 0); + $conv = ~~(+HEAPF32[$xp >> 2] + .5); + $conv25 = ~~(+HEAPF32[$yp >> 2] + .5); + $call27 = __ZNK6vision10DoGPyramid6imagesEv($mLaplacianPyramid) | 0; + $arrayidx$i51 = (HEAP32[$call27 >> 2] | 0) + ($add19 + -1 << 5) | 0; + $call30 = __ZNK6vision10DoGPyramid6imagesEv($mLaplacianPyramid) | 0; + $arrayidx$i53 = (HEAP32[$call30 >> 2] | 0) + ($add19 << 5) | 0; + $call33 = __ZNK6vision10DoGPyramid6imagesEv($mLaplacianPyramid) | 0; + if (((__ZN6vision22ComputeSubpixelHessianEPfS0_RKNS_5ImageES3_S3_ii($A, $b, $arrayidx$i51, $arrayidx$i53, (HEAP32[$call33 >> 2] | 0) + ($add19 + 1 << 5) | 0, $conv, $conv25) | 0 ? __ZN6vision29SolveSymmetricLinearSystem3x3IfEEbPT_PKS1_S4_($u, $A, $b) | 0 : 0) ? ($call46 = +__ZN6vision3sqrIfEET_S1_(+HEAPF32[$u >> 2]), $add49 = $call46 + +__ZN6vision3sqrIfEET_S1_(+HEAPF32[$arrayidx47 >> 2]), !($add49 > +HEAPF32[$mMaxSubpixelDistanceSqr >> 2])) : 0) ? ($edge_score = $5 + ($i$0 * 36 | 0) + 32 | 0, __ZN6vision16ComputeEdgeScoreERfPKf($edge_score, $A) | 0) : 0) { + $score = $5 + ($i$0 * 36 | 0) + 24 | 0; + $21 = +HEAPF32[$score >> 2]; + $arrayidx59 = (__ZNK6vision5Image3getIfEEPKT_m($arrayidx$i53, $conv25) | 0) + ($conv << 2) | 0; + if (!($21 == +HEAPF32[$arrayidx59 >> 2])) { label = 11; break; } - $111 = (__ZNK6vision5Image3getIfEEPKT_m($73, $66) | 0) + ($63 << 2) | 0; - $114 = +HEAPF32[$5 >> 2]; - $117 = +HEAPF32[$20 >> 2]; - HEAPF32[$89 >> 2] = +HEAPF32[$111 >> 2] - (+HEAPF32[$4 >> 2] * $114 + +HEAPF32[$22 >> 2] * $117 + +HEAPF32[$23 >> 2] * +HEAPF32[$24 >> 2]); - __ZN6vision23bilinear_upsample_pointERfS0_ffi($31, $58, $114 + +HEAPF32[$6 >> 2], $117 + +HEAPF32[$7 >> 2], HEAP32[$51 >> 2] | 0); - $133 = +HEAPF32[$24 >> 2] + +(HEAP32[$32 >> 2] | 0); - $134 = $30 + ($$070 * 36 | 0) + 20 | 0; - HEAPF32[$134 >> 2] = $133; - $137 = +__ZN6vision10ClipScalarIfEET_S1_S1_S1_($133, 0.0, +(__ZNK6vision10DoGPyramid17numScalePerOctaveEv($19) | 0)); - HEAPF32[$134 >> 2] = $137; - if (((((+Math_abs(+(+HEAPF32[$87 >> 2])) < $16 ? +__ZN6vision3sqrIfEET_S1_(+HEAPF32[$89 >> 2]) >= $10 : 0) ? ($144 = +HEAPF32[$31 >> 2], $144 >= 0.0) : 0) ? ($146 = __ZNK6vision10DoGPyramid6imagesEv($19) | 0, $144 < +((__ZNK6vision5Image5widthEv(HEAP32[$146 >> 2] | 0) | 0) >>> 0)) : 0) ? ($151 = +HEAPF32[$58 >> 2], $151 >= 0.0) : 0) ? ($153 = __ZNK6vision10DoGPyramid6imagesEv($19) | 0, $151 < +((__ZNK6vision5Image6heightEv(HEAP32[$153 >> 2] | 0) | 0) >>> 0)) : 0) { - $160 = +__ZNK6vision25GaussianScaleSpacePyramid14effectiveSigmaEmf($1, HEAP32[$51 >> 2] | 0, +HEAPF32[$134 >> 2]); - HEAPF32[$30 + ($$070 * 36 | 0) + 28 >> 2] = $160; - $162 = $$0 + 1 | 0; - dest = (HEAP32[$17 >> 2] | 0) + ($$0 * 36 | 0) | 0; - src = $31; + $arrayidx73 = (__ZNK6vision5Image3getIfEEPKT_m($arrayidx$i53, $conv25) | 0) + ($conv << 2) | 0; + $26 = +HEAPF32[$u >> 2]; + $28 = +HEAPF32[$arrayidx47 >> 2]; + HEAPF32[$score >> 2] = +HEAPF32[$arrayidx73 >> 2] - (+HEAPF32[$b >> 2] * $26 + +HEAPF32[$arrayidx77 >> 2] * $28 + +HEAPF32[$arrayidx81 >> 2] * +HEAPF32[$arrayidx82 >> 2]); + __ZN6vision23bilinear_upsample_pointERfS0_ffi($arrayidx$i49, $y21, $26 + +HEAPF32[$xp >> 2], $28 + +HEAPF32[$yp >> 2], HEAP32[$octave >> 2] | 0); + $add97 = +HEAPF32[$arrayidx82 >> 2] + +(HEAP32[$scale >> 2] | 0); + $sp_scale = $5 + ($i$0 * 36 | 0) + 20 | 0; + HEAPF32[$sp_scale >> 2] = $add97; + $call102 = +__ZN6vision10ClipScalarIfEET_S1_S1_S1_($add97, 0.0, +(__ZNK6vision10DoGPyramid17numScalePerOctaveEv($mLaplacianPyramid) | 0)); + HEAPF32[$sp_scale >> 2] = $call102; + if (((((+Math_abs(+(+HEAPF32[$edge_score >> 2])) < $div ? +__ZN6vision3sqrIfEET_S1_(+HEAPF32[$score >> 2]) >= $call : 0) ? ($39 = +HEAPF32[$arrayidx$i49 >> 2], $39 >= 0.0) : 0) ? ($call116 = __ZNK6vision10DoGPyramid6imagesEv($mLaplacianPyramid) | 0, $39 < +((__ZNK6vision5Image5widthEv(HEAP32[$call116 >> 2] | 0) | 0) >>> 0)) : 0) ? ($41 = +HEAPF32[$y21 >> 2], $41 >= 0.0) : 0) ? ($call127 = __ZNK6vision10DoGPyramid6imagesEv($mLaplacianPyramid) | 0, $41 < +((__ZNK6vision5Image6heightEv(HEAP32[$call127 >> 2] | 0) | 0) >>> 0)) : 0) { + $call135 = +__ZNK6vision25GaussianScaleSpacePyramid14effectiveSigmaEmf($pyramid, HEAP32[$octave >> 2] | 0, +HEAPF32[$sp_scale >> 2]); + HEAPF32[$5 + ($i$0 * 36 | 0) + 28 >> 2] = $call135; + $inc = $num_points$0 + 1 | 0; + dest = (HEAP32[$mFeaturePoints >> 2] | 0) + ($num_points$0 * 36 | 0) | 0; + src = $arrayidx$i49; stop = dest + 36 | 0; do { HEAP32[dest >> 2] = HEAP32[src >> 2]; dest = dest + 4 | 0; src = src + 4 | 0; } while ((dest | 0) < (stop | 0)); - $$2 = $162; - } else $$2 = $$0; - } else $$2 = $$0; - $$0 = $$2; - $$070 = $$070 + 1 | 0; + $num_points$2 = $inc; + } else $num_points$2 = $num_points$0; + } else $num_points$2 = $num_points$0; + $i$0 = $i$0 + 1 | 0; + $num_points$0 = $num_points$2; } if ((label | 0) == 3) { - __ZNSt3__26vectorIN6vision25DoGScaleInvariantDetector12FeaturePointENS_9allocatorIS3_EEE6resizeEm($17, $$0); + __ZNSt3__26vectorIN6vision25DoGScaleInvariantDetector12FeaturePointENS_9allocatorIS3_EEE6resizeEm($mFeaturePoints, $num_points$0); STACKTOP = sp; return; } else if ((label | 0) == 5) { - $41 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 28320) | 0, 26748) | 0, 39072) | 0, 489) | 0, 39079) | 0, 28392) | 0; - __ZNKSt3__28ios_base6getlocEv($2, $41 + (HEAP32[(HEAP32[$41 >> 2] | 0) + -12 >> 2] | 0) | 0); - $46 = __ZNKSt3__26locale9use_facetERNS0_2idE($2, 66512) | 0; - $50 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$46 >> 2] | 0) + 28 >> 2] & 127]($46, 10) | 0; - __ZNSt3__26localeD2Ev($2); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($41, $50) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($41) | 0; + $call14 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 28396) | 0, 26748) | 0, 39794) | 0, 489) | 0, 39801) | 0, 28468) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i$i56, $call14 + (HEAP32[(HEAP32[$call14 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i$i = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i$i56, 67360) | 0; + $call$i2$i$i = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i$i >> 2] | 0) + 28 >> 2] & 127]($call$i1$i$i, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i$i56); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call14, $call$i2$i$i) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call14) | 0; _abort(); } else if ((label | 0) == 11) { - $100 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 28429) | 0, 26748) | 0, 39072) | 0, 526) | 0, 39079) | 0, 28486) | 0; - __ZNKSt3__28ios_base6getlocEv($2, $100 + (HEAP32[(HEAP32[$100 >> 2] | 0) + -12 >> 2] | 0) | 0); - $105 = __ZNKSt3__26locale9use_facetERNS0_2idE($2, 66512) | 0; - $109 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$105 >> 2] | 0) + 28 >> 2] & 127]($105, 10) | 0; - __ZNSt3__26localeD2Ev($2); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($100, $109) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($100) | 0; + $call67 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 28505) | 0, 26748) | 0, 39794) | 0, 526) | 0, 39801) | 0, 28562) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i$i56, $call67 + (HEAP32[(HEAP32[$call67 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i$i61 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i$i56, 67360) | 0; + $call$i2$i$i64 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i$i61 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i$i61, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i$i56); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call67, $call$i2$i$i64) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call67) | 0; _abort(); } } -function __ZNSt3__211__money_putIcE8__formatEPcRS2_S3_jPKcS5_RKNS_5ctypeIcEEbRKNS_10money_base7patternEccRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEESL_SL_i($0, $1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - $6 = $6 | 0; - $7 = $7 | 0; - $8 = $8 | 0; - $9 = $9 | 0; - $10 = $10 | 0; - $11 = $11 | 0; - $12 = $12 | 0; - $13 = $13 | 0; - $14 = $14 | 0; - var $$0 = 0, $$0$i$i = 0, $$0$i$i106 = 0, $$0$i$i113 = 0, $$0$ph = 0, $$0101 = 0, $$0104 = 0, $$07$i$i = 0, $$093 = 0, $$095 = 0, $$097 = 0, $$099 = 0, $$1 = 0, $$1100 = 0, $$1102 = 0, $$194 = 0, $$196 = 0, $$2 = 0, $$2103 = 0, $$3 = 0, $$pn = 0, $$pn$pn = 0, $$sroa$08$0$i = 0, $$sroa$08$0$i112 = 0, $100 = 0, $101 = 0, $103 = 0, $104 = 0, $115 = 0, $117 = 0, $118 = 0, $119 = 0, $127 = 0, $130 = 0, $131 = 0, $132 = 0, $135 = 0, $137 = 0, $139 = 0, $144 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $29 = 0, $39 = 0, $40 = 0, $42 = 0, $43 = 0, $50 = 0, $51 = 0, $53 = 0, $54 = 0, $57 = 0, $60 = 0, $61 = 0, $67 = 0, $70 = 0, $80 = 0, $82 = 0, $83 = 0, $84 = 0, $92 = 0, $94 = 0, $spec$select = 0; - HEAP32[$2 >> 2] = $0; - $15 = $13 + 11 | 0; - $16 = $13 + 4 | 0; - $17 = $12 + 11 | 0; - $18 = $12 + 4 | 0; - $20 = ($3 & 512 | 0) == 0; - $21 = $6 + 8 | 0; - $22 = ($14 | 0) > 0; - $23 = $11 + 11 | 0; - $24 = $11 + 4 | 0; - $$0104 = 0; - $$097 = $4; - while (1) { - if (($$0104 | 0) == 4) break; - L4 : do switch (HEAP8[$8 + $$0104 >> 0] | 0) { - case 0: - { - HEAP32[$1 >> 2] = HEAP32[$2 >> 2]; - $$2 = $$097; +function _icpGetInitXw2Xc_from_PlanarData($matXc2U, $screenCoord, $worldCoord, $num, $initMatXw2Xc) { + $matXc2U = $matXc2U | 0; + $screenCoord = $screenCoord | 0; + $worldCoord = $worldCoord | 0; + $num = $num | 0; + $initMatXw2Xc = $initMatXw2Xc | 0; + var $11 = 0, $28 = 0, $30 = 0, $31 = 0.0, $33 = 0.0, $34 = 0.0, $36 = 0.0, $37 = 0.0, $38 = 0.0, $39 = 0.0, $43 = 0.0, $44 = 0.0, $45 = 0.0, $46 = 0.0, $47 = 0.0, $48 = 0.0, $49 = 0.0, $50 = 0.0, $51 = 0.0, $52 = 0.0, $arrayidx16 = 0, $arrayidx210 = 0, $arrayidx222 = 0, $arrayidx245 = 0, $arrayidx258 = 0, $arrayidx277 = 0, $call = 0, $call168 = 0, $call174 = 0, $call181 = 0, $call198 = 0, $call54 = 0, $div = 0.0, $div239 = 0.0, $div256 = 0.0, $div275 = 0.0, $div288 = 0.0, $div365 = 0.0, $div478 = 0.0, $div481 = 0.0, $div484 = 0.0, $i$0 = 0, $i$1 = 0, $mul = 0, $mul156 = 0, $mul63 = 0, $retval$0 = 0, $sub430 = 0.0, $sub443 = 0.0, $sub456 = 0.0, $v = 0, $vararg_buffer = 0, $vararg_buffer1 = 0, $vararg_buffer11 = 0, $vararg_buffer3 = 0, $vararg_buffer5 = 0, $vararg_buffer7 = 0, $vararg_buffer9 = 0, $x = 0, $x89 = 0, $y = 0, $y137 = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 128 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(128); + $vararg_buffer11 = sp + 120 | 0; + $vararg_buffer9 = sp + 112 | 0; + $vararg_buffer7 = sp + 104 | 0; + $vararg_buffer5 = sp + 96 | 0; + $vararg_buffer3 = sp + 88 | 0; + $vararg_buffer1 = sp + 80 | 0; + $vararg_buffer = sp + 72 | 0; + $v = sp; + L1 : do if (($num | 0) >= 4) { + $i$0 = 0; + while (1) { + if (($i$0 | 0) >= ($num | 0)) break; + if (+HEAPF64[$worldCoord + ($i$0 * 24 | 0) + 16 >> 3] != 0.0) { + $retval$0 = -1; + break L1; + } else $i$0 = $i$0 + 1 | 0; + } + if ((((((((!(+HEAPF64[$matXc2U >> 3] == 0.0) ? !(+HEAPF64[$matXc2U + 32 >> 3] != 0.0) : 0) ? ($arrayidx16 = $matXc2U + 40 | 0, !(+HEAPF64[$arrayidx16 >> 3] == 0.0)) : 0) ? !(+HEAPF64[$matXc2U + 64 >> 3] != 0.0) : 0) ? !(+HEAPF64[$matXc2U + 72 >> 3] != 0.0) : 0) ? !(+HEAPF64[$matXc2U + 80 >> 3] != 1.0) : 0) ? !(+HEAPF64[$matXc2U + 24 >> 3] != 0.0) : 0) ? !(+HEAPF64[$matXc2U + 56 >> 3] != 0.0) : 0) ? !(+HEAPF64[$matXc2U + 88 >> 3] != 0.0) : 0) { + $mul = $num << 1; + $call = _arMatrixAlloc($mul, 8) | 0; + if (!$call) { + _arLog(0, 3, 24753, $vararg_buffer); + $retval$0 = -1; break; } - case 1: - { - HEAP32[$1 >> 2] = HEAP32[$2 >> 2]; - $39 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$6 >> 2] | 0) + 28 >> 2] & 127]($6, 32) | 0; - $40 = HEAP32[$2 >> 2] | 0; - HEAP32[$2 >> 2] = $40 + 1; - HEAP8[$40 >> 0] = $39; - $$2 = $$097; + $call54 = _arMatrixAlloc($mul, 1) | 0; + if (!$call54) { + _arMatrixFree($call) | 0; + _arLog(0, 3, 24779, $vararg_buffer1); + $retval$0 = -1; break; } - case 3: - { - $42 = HEAP8[$15 >> 0] | 0; - $43 = $42 << 24 >> 24 < 0; - if (!(($43 ? HEAP32[$16 >> 2] | 0 : $42 & 255) | 0)) $$2 = $$097; else { - $50 = HEAP8[($43 ? HEAP32[$13 >> 2] | 0 : $13) >> 0] | 0; - $51 = HEAP32[$2 >> 2] | 0; - HEAP32[$2 >> 2] = $51 + 1; - HEAP8[$51 >> 0] = $50; - $$2 = $$097; - } + $i$1 = 0; + while (1) { + if (($i$1 | 0) == ($num | 0)) break; + $x = $worldCoord + ($i$1 * 24 | 0) | 0; + $11 = HEAP32[$call >> 2] | 0; + $mul63 = $i$1 << 4; + HEAPF64[$11 + ($mul63 << 3) >> 3] = +HEAPF64[$x >> 3]; + $y = $worldCoord + ($i$1 * 24 | 0) + 8 | 0; + HEAPF64[$11 + (($mul63 | 1) << 3) >> 3] = +HEAPF64[$y >> 3]; + HEAPF64[$11 + (($mul63 | 2) << 3) >> 3] = 1.0; + HEAPF64[$11 + (($mul63 | 3) << 3) >> 3] = 0.0; + HEAPF64[$11 + (($mul63 | 4) << 3) >> 3] = 0.0; + HEAPF64[$11 + (($mul63 | 5) << 3) >> 3] = 0.0; + $x89 = $screenCoord + ($i$1 << 4) | 0; + HEAPF64[$11 + (($mul63 | 6) << 3) >> 3] = -(+HEAPF64[$x >> 3] * +HEAPF64[$x89 >> 3]); + HEAPF64[$11 + (($mul63 | 7) << 3) >> 3] = -(+HEAPF64[$y >> 3] * +HEAPF64[$x89 >> 3]); + HEAPF64[$11 + (($mul63 | 8) << 3) >> 3] = 0.0; + HEAPF64[$11 + (($mul63 | 9) << 3) >> 3] = 0.0; + HEAPF64[$11 + (($mul63 | 10) << 3) >> 3] = 0.0; + HEAPF64[$11 + (($mul63 | 11) << 3) >> 3] = +HEAPF64[$x >> 3]; + HEAPF64[$11 + (($mul63 | 12) << 3) >> 3] = +HEAPF64[$y >> 3]; + HEAPF64[$11 + (($mul63 | 13) << 3) >> 3] = 1.0; + $y137 = $screenCoord + ($i$1 << 4) + 8 | 0; + HEAPF64[$11 + (($mul63 | 14) << 3) >> 3] = -(+HEAPF64[$x >> 3] * +HEAPF64[$y137 >> 3]); + HEAPF64[$11 + (($mul63 | 15) << 3) >> 3] = -(+HEAPF64[$y >> 3] * +HEAPF64[$y137 >> 3]); + $28 = HEAP32[$call54 >> 2] | 0; + $mul156 = $i$1 << 1; + HEAPF64[$28 + ($mul156 << 3) >> 3] = +HEAPF64[$x89 >> 3]; + HEAPF64[$28 + (($mul156 | 1) << 3) >> 3] = +HEAPF64[$y137 >> 3]; + $i$1 = $i$1 + 1 | 0; + } + $call168 = _arMatrixAllocTrans($call) | 0; + if (!$call168) { + _arMatrixFree($call) | 0; + _arMatrixFree($call54) | 0; + _arLog(0, 3, 24805, $vararg_buffer3); + $retval$0 = -1; break; } - case 2: - { - $53 = HEAP8[$17 >> 0] | 0; - $54 = $53 << 24 >> 24 < 0; - $57 = $54 ? HEAP32[$18 >> 2] | 0 : $53 & 255; - if ($20 | ($57 | 0) == 0) $$2 = $$097; else { - $60 = $54 ? HEAP32[$12 >> 2] | 0 : $12; - $61 = $60 + $57 | 0; - $$0$i$i113 = HEAP32[$2 >> 2] | 0; - $$sroa$08$0$i112 = $60; - while (1) { - if (($$sroa$08$0$i112 | 0) == ($61 | 0)) break; - HEAP8[$$0$i$i113 >> 0] = HEAP8[$$sroa$08$0$i112 >> 0] | 0; - $$0$i$i113 = $$0$i$i113 + 1 | 0; - $$sroa$08$0$i112 = $$sroa$08$0$i112 + 1 | 0; - } - HEAP32[$2 >> 2] = $$0$i$i113; - $$2 = $$097; - } + $call174 = _arMatrixAllocMul($call168, $call) | 0; + if (!$call174) { + _arMatrixFree($call) | 0; + _arMatrixFree($call54) | 0; + _arMatrixFree($call168) | 0; + _arLog(0, 3, 24831, $vararg_buffer5); + $retval$0 = -1; break; } - case 4: - { - $67 = HEAP32[$2 >> 2] | 0; - $spec$select = $7 ? $$097 + 1 | 0 : $$097; - $$0101 = $spec$select; + $call181 = _arMatrixAllocMul($call168, $call54) | 0; + if (!$call181) { + _arMatrixFree($call) | 0; + _arMatrixFree($call54) | 0; + _arMatrixFree($call168) | 0; + _arMatrixFree($call174) | 0; + _arLog(0, 3, 24857, $vararg_buffer7); + $retval$0 = -1; + break; + } + if ((_arMatrixSelfInv($call174) | 0) < 0) { + _arMatrixFree($call) | 0; + _arMatrixFree($call54) | 0; + _arMatrixFree($call168) | 0; + _arMatrixFree($call174) | 0; + _arMatrixFree($call181) | 0; + _arLog(0, 3, 24883, $vararg_buffer9); + $retval$0 = -1; + break; + } + $call198 = _arMatrixAllocMul($call174, $call181) | 0; + if (!$call198) { + _arMatrixFree($call) | 0; + _arMatrixFree($call54) | 0; + _arMatrixFree($call168) | 0; + _arMatrixFree($call174) | 0; + _arMatrixFree($call181) | 0; + _arLog(0, 3, 24909, $vararg_buffer11); + $retval$0 = -1; + break; + } else { + $30 = HEAP32[$call198 >> 2] | 0; + $31 = +HEAPF64[$30 + 48 >> 3]; + $arrayidx210 = $v + 16 | 0; + $33 = +HEAPF64[$matXc2U + 48 >> 3]; + $34 = +HEAPF64[$arrayidx16 >> 3]; + $div = (+HEAPF64[$30 + 24 >> 3] - $31 * $33) / $34; + $arrayidx222 = $v + 8 | 0; + $36 = +HEAPF64[$matXc2U + 16 >> 3]; + $37 = +HEAPF64[$matXc2U + 8 >> 3]; + $38 = +HEAPF64[$matXc2U >> 3]; + $div239 = (+HEAPF64[$30 >> 3] - $31 * $36 - $div * $37) / $38; + $39 = +HEAPF64[$30 + 56 >> 3]; + $arrayidx245 = $v + 40 | 0; + $div256 = (+HEAPF64[$30 + 32 >> 3] - $33 * $39) / $34; + $arrayidx258 = $v + 32 | 0; + $div275 = (+HEAPF64[$30 + 8 >> 3] - $36 * $39 - $37 * $div256) / $38; + $arrayidx277 = $v + 24 | 0; + $div288 = (+HEAPF64[$30 + 40 >> 3] - $33) / $34; + $43 = +HEAPF64[$30 + 16 >> 3]; + _arMatrixFree($call) | 0; + _arMatrixFree($call54) | 0; + _arMatrixFree($call168) | 0; + _arMatrixFree($call174) | 0; + _arMatrixFree($call181) | 0; + _arMatrixFree($call198) | 0; + $44 = +Math_sqrt(+($31 * $31 + ($div * $div + $div239 * $div239))); + $45 = +Math_sqrt(+($39 * $39 + ($div256 * $div256 + $div275 * $div275))); + HEAPF64[$v >> 3] = $div239 / $44; + HEAPF64[$arrayidx222 >> 3] = $div / $44; + HEAPF64[$arrayidx210 >> 3] = $31 / $44; + HEAPF64[$arrayidx277 >> 3] = $div275 / $45; + HEAPF64[$arrayidx258 >> 3] = $div256 / $45; + HEAPF64[$arrayidx245 >> 3] = $39 / $45; + $div365 = ($44 + $45) * .5; + _check_rotation($v); + $46 = +HEAPF64[$arrayidx222 >> 3]; + $47 = +HEAPF64[$arrayidx245 >> 3]; + $48 = +HEAPF64[$arrayidx210 >> 3]; + $49 = +HEAPF64[$arrayidx258 >> 3]; + $sub430 = $46 * $47 - $48 * $49; + $50 = +HEAPF64[$arrayidx277 >> 3]; + $51 = +HEAPF64[$v >> 3]; + $sub443 = $48 * $50 - $47 * $51; + $sub456 = $49 * $51 - $46 * $50; + $52 = +Math_sqrt(+($sub456 * $sub456 + ($sub430 * $sub430 + $sub443 * $sub443))); + $div478 = $sub430 / $52; + HEAPF64[$v + 48 >> 3] = $div478; + $div481 = $sub443 / $52; + HEAPF64[$v + 56 >> 3] = $div481; + $div484 = $sub456 / $52; + HEAPF64[$v + 64 >> 3] = $div484; + HEAPF64[$initMatXw2Xc >> 3] = $51; + HEAPF64[$initMatXw2Xc + 32 >> 3] = $46; + HEAPF64[$initMatXw2Xc + 64 >> 3] = $48; + HEAPF64[$initMatXw2Xc + 8 >> 3] = $50; + HEAPF64[$initMatXw2Xc + 40 >> 3] = $49; + HEAPF64[$initMatXw2Xc + 72 >> 3] = $47; + HEAPF64[$initMatXw2Xc + 16 >> 3] = $div478; + HEAPF64[$initMatXw2Xc + 48 >> 3] = $div481; + HEAPF64[$initMatXw2Xc + 80 >> 3] = $div484; + HEAPF64[$initMatXw2Xc + 24 >> 3] = ($43 - $36 - $37 * $div288) / $38 / $div365; + HEAPF64[$initMatXw2Xc + 56 >> 3] = $div288 / $div365; + HEAPF64[$initMatXw2Xc + 88 >> 3] = 1.0 / $div365; + $retval$0 = 0; + break; + } + } else $retval$0 = -1; + } else $retval$0 = -1; while (0); + STACKTOP = sp; + return $retval$0 | 0; +} + +function _jpeg_idct_4x4($cinfo, $compptr, $coef_block, $output_buf, $output_col) { + $cinfo = $cinfo | 0; + $compptr = $compptr | 0; + $coef_block = $coef_block | 0; + $output_buf = $output_buf | 0; + $output_col = $output_col | 0; + var $0 = 0, $1 = 0, $40 = 0, $52 = 0, $53 = 0, $65 = 0, $66 = 0, $67 = 0, $79 = 0, $80 = 0, $81 = 0, $add$ptr = 0, $add$ptr39 = 0, $add$ptr39$1 = 0, $add$ptr39$2 = 0, $add$ptr39$3 = 0, $add17 = 0, $add17$1 = 0, $add17$2 = 0, $add17$3 = 0, $add23$2 = 0, $add23$3 = 0, $add27$3 = 0, $add41 = 0, $add41$1 = 0, $add41$2 = 0, $add41$3 = 0, $add52 = 0, $add52$1 = 0, $add52$2 = 0, $add52$3 = 0, $arrayidx28 = 0, $incdec$ptr32 = 0, $mul = 0, $mul$1 = 0, $mul$2 = 0, $mul$3 = 0, $mul10 = 0, $mul10$1 = 0, $mul10$2 = 0, $mul10$3 = 0, $mul14 = 0, $mul14$1 = 0, $mul14$2 = 0, $mul14$3 = 0, $mul5 = 0, $mul5$1 = 0, $mul5$2 = 0, $mul5$3 = 0, $mul50 = 0, $mul50$1 = 0, $mul50$2 = 0, $mul50$3 = 0, $shl = 0, $shl$1 = 0, $shl$2 = 0, $shl$3 = 0, $shl44 = 0, $shl44$1 = 0, $shl44$2 = 0, $shl44$3 = 0, $shl46 = 0, $shl46$1 = 0, $shl46$2 = 0, $shl46$3 = 0, $shl6 = 0, $shl6$1 = 0, $shl6$2 = 0, $shl6$3 = 0, $shr = 0, $shr$1 = 0, $shr$2 = 0, $shr$3 = 0, $shr22 = 0, $shr22$1 = 0, $shr22$2 = 0, $shr22$3 = 0, $sub54 = 0, $sub54$1 = 0, $sub54$2 = 0, $sub54$3 = 0, $workspace = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 64 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(64); + $workspace = sp; + $0 = HEAP32[$cinfo + 336 >> 2] | 0; + $1 = HEAP32[$compptr + 84 >> 2] | 0; + $mul = Math_imul(HEAP32[$1 >> 2] | 0, HEAP16[$coef_block >> 1] | 0) | 0; + $mul5 = Math_imul(HEAP32[$1 + 64 >> 2] | 0, HEAP16[$coef_block + 32 >> 1] | 0) | 0; + $shl = $mul5 + $mul << 2; + $shl6 = $mul - $mul5 << 2; + $mul10 = Math_imul(HEAP32[$1 + 32 >> 2] | 0, HEAP16[$coef_block + 16 >> 1] | 0) | 0; + $mul14 = Math_imul(HEAP32[$1 + 96 >> 2] | 0, HEAP16[$coef_block + 48 >> 1] | 0) | 0; + $add17 = (($mul14 + $mul10 | 0) * 4433 | 0) + 1024 | 0; + $shr = $add17 + ($mul10 * 6270 | 0) >> 11; + $shr22 = $add17 + (Math_imul($mul14, -15137) | 0) >> 11; + HEAP32[$workspace >> 2] = $shr + $shl; + HEAP32[$workspace + 48 >> 2] = $shl - $shr; + $arrayidx28 = $workspace + 16 | 0; + HEAP32[$arrayidx28 >> 2] = $shr22 + $shl6; + HEAP32[$workspace + 32 >> 2] = $shl6 - $shr22; + $incdec$ptr32 = $workspace + 4 | 0; + $mul$1 = Math_imul(HEAP32[$1 + 4 >> 2] | 0, HEAP16[$coef_block + 2 >> 1] | 0) | 0; + $mul5$1 = Math_imul(HEAP32[$1 + 68 >> 2] | 0, HEAP16[$coef_block + 34 >> 1] | 0) | 0; + $shl$1 = $mul5$1 + $mul$1 << 2; + $shl6$1 = $mul$1 - $mul5$1 << 2; + $mul10$1 = Math_imul(HEAP32[$1 + 36 >> 2] | 0, HEAP16[$coef_block + 18 >> 1] | 0) | 0; + $mul14$1 = Math_imul(HEAP32[$1 + 100 >> 2] | 0, HEAP16[$coef_block + 50 >> 1] | 0) | 0; + $add17$1 = (($mul14$1 + $mul10$1 | 0) * 4433 | 0) + 1024 | 0; + $shr$1 = $add17$1 + ($mul10$1 * 6270 | 0) >> 11; + $shr22$1 = $add17$1 + (Math_imul($mul14$1, -15137) | 0) >> 11; + HEAP32[$incdec$ptr32 >> 2] = $shr$1 + $shl$1; + HEAP32[$workspace + 52 >> 2] = $shl$1 - $shr$1; + HEAP32[$workspace + 20 >> 2] = $shr22$1 + $shl6$1; + HEAP32[$workspace + 36 >> 2] = $shl6$1 - $shr22$1; + $mul$2 = Math_imul(HEAP32[$1 + 8 >> 2] | 0, HEAP16[$coef_block + 4 >> 1] | 0) | 0; + $mul5$2 = Math_imul(HEAP32[$1 + 72 >> 2] | 0, HEAP16[$coef_block + 36 >> 1] | 0) | 0; + $shl$2 = $mul5$2 + $mul$2 << 2; + $shl6$2 = $mul$2 - $mul5$2 << 2; + $mul10$2 = Math_imul(HEAP32[$1 + 40 >> 2] | 0, HEAP16[$coef_block + 20 >> 1] | 0) | 0; + $mul14$2 = Math_imul(HEAP32[$1 + 104 >> 2] | 0, HEAP16[$coef_block + 52 >> 1] | 0) | 0; + $add17$2 = (($mul14$2 + $mul10$2 | 0) * 4433 | 0) + 1024 | 0; + $shr$2 = $add17$2 + ($mul10$2 * 6270 | 0) >> 11; + $shr22$2 = $add17$2 + (Math_imul($mul14$2, -15137) | 0) >> 11; + $add23$2 = $shr$2 + $shl$2 | 0; + HEAP32[$workspace + 8 >> 2] = $add23$2; + HEAP32[$workspace + 56 >> 2] = $shl$2 - $shr$2; + HEAP32[$workspace + 24 >> 2] = $shr22$2 + $shl6$2; + HEAP32[$workspace + 40 >> 2] = $shl6$2 - $shr22$2; + $mul$3 = Math_imul(HEAP32[$1 + 12 >> 2] | 0, HEAP16[$coef_block + 6 >> 1] | 0) | 0; + $mul5$3 = Math_imul(HEAP32[$1 + 76 >> 2] | 0, HEAP16[$coef_block + 38 >> 1] | 0) | 0; + $shl$3 = $mul5$3 + $mul$3 << 2; + $shl6$3 = $mul$3 - $mul5$3 << 2; + $mul10$3 = Math_imul(HEAP32[$1 + 44 >> 2] | 0, HEAP16[$coef_block + 22 >> 1] | 0) | 0; + $mul14$3 = Math_imul(HEAP32[$1 + 108 >> 2] | 0, HEAP16[$coef_block + 54 >> 1] | 0) | 0; + $add17$3 = (($mul14$3 + $mul10$3 | 0) * 4433 | 0) + 1024 | 0; + $shr$3 = $add17$3 + ($mul10$3 * 6270 | 0) >> 11; + $shr22$3 = $add17$3 + (Math_imul($mul14$3, -15137) | 0) >> 11; + $add23$3 = $shr$3 + $shl$3 | 0; + HEAP32[$workspace + 12 >> 2] = $add23$3; + HEAP32[$workspace + 60 >> 2] = $shl$3 - $shr$3; + $add27$3 = $shr22$3 + $shl6$3 | 0; + HEAP32[$workspace + 28 >> 2] = $add27$3; + HEAP32[$workspace + 44 >> 2] = $shl6$3 - $shr22$3; + $add$ptr = $0 + -384 | 0; + $add$ptr39 = (HEAP32[$output_buf >> 2] | 0) + $output_col | 0; + $add41 = (HEAP32[$workspace >> 2] | 0) + 16400 | 0; + $shl44 = $add41 + $add23$2 << 13; + $shl46 = $add41 - $add23$2 << 13; + $40 = HEAP32[$incdec$ptr32 >> 2] | 0; + $mul50 = ($add23$3 + $40 | 0) * 4433 | 0; + $add52 = $mul50 + ($40 * 6270 | 0) | 0; + $sub54 = $mul50 + (Math_imul($add23$3, -15137) | 0) | 0; + HEAP8[$add$ptr39 >> 0] = HEAP8[$add$ptr + (($add52 + $shl44 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr39 + 3 >> 0] = HEAP8[$add$ptr + (($shl44 - $add52 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr39 + 1 >> 0] = HEAP8[$add$ptr + (($sub54 + $shl46 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr39 + 2 >> 0] = HEAP8[$add$ptr + (($shl46 - $sub54 | 0) >>> 18 & 1023) >> 0] | 0; + $add$ptr39$1 = (HEAP32[$output_buf + 4 >> 2] | 0) + $output_col | 0; + $add41$1 = (HEAP32[$arrayidx28 >> 2] | 0) + 16400 | 0; + $52 = HEAP32[$workspace + 24 >> 2] | 0; + $shl44$1 = $add41$1 + $52 << 13; + $shl46$1 = $add41$1 - $52 << 13; + $53 = HEAP32[$workspace + 20 >> 2] | 0; + $mul50$1 = ($add27$3 + $53 | 0) * 4433 | 0; + $add52$1 = $mul50$1 + ($53 * 6270 | 0) | 0; + $sub54$1 = $mul50$1 + (Math_imul($add27$3, -15137) | 0) | 0; + HEAP8[$add$ptr39$1 >> 0] = HEAP8[$add$ptr + (($add52$1 + $shl44$1 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr39$1 + 3 >> 0] = HEAP8[$add$ptr + (($shl44$1 - $add52$1 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr39$1 + 1 >> 0] = HEAP8[$add$ptr + (($sub54$1 + $shl46$1 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr39$1 + 2 >> 0] = HEAP8[$add$ptr + (($shl46$1 - $sub54$1 | 0) >>> 18 & 1023) >> 0] | 0; + $add$ptr39$2 = (HEAP32[$output_buf + 8 >> 2] | 0) + $output_col | 0; + $add41$2 = (HEAP32[$workspace + 32 >> 2] | 0) + 16400 | 0; + $65 = HEAP32[$workspace + 40 >> 2] | 0; + $shl44$2 = $add41$2 + $65 << 13; + $shl46$2 = $add41$2 - $65 << 13; + $66 = HEAP32[$workspace + 36 >> 2] | 0; + $67 = HEAP32[$workspace + 44 >> 2] | 0; + $mul50$2 = ($67 + $66 | 0) * 4433 | 0; + $add52$2 = $mul50$2 + ($66 * 6270 | 0) | 0; + $sub54$2 = $mul50$2 + (Math_imul($67, -15137) | 0) | 0; + HEAP8[$add$ptr39$2 >> 0] = HEAP8[$add$ptr + (($add52$2 + $shl44$2 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr39$2 + 3 >> 0] = HEAP8[$add$ptr + (($shl44$2 - $add52$2 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr39$2 + 1 >> 0] = HEAP8[$add$ptr + (($sub54$2 + $shl46$2 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr39$2 + 2 >> 0] = HEAP8[$add$ptr + (($shl46$2 - $sub54$2 | 0) >>> 18 & 1023) >> 0] | 0; + $add$ptr39$3 = (HEAP32[$output_buf + 12 >> 2] | 0) + $output_col | 0; + $add41$3 = (HEAP32[$workspace + 48 >> 2] | 0) + 16400 | 0; + $79 = HEAP32[$workspace + 56 >> 2] | 0; + $shl44$3 = $add41$3 + $79 << 13; + $shl46$3 = $add41$3 - $79 << 13; + $80 = HEAP32[$workspace + 52 >> 2] | 0; + $81 = HEAP32[$workspace + 60 >> 2] | 0; + $mul50$3 = ($81 + $80 | 0) * 4433 | 0; + $add52$3 = $mul50$3 + ($80 * 6270 | 0) | 0; + $sub54$3 = $mul50$3 + (Math_imul($81, -15137) | 0) | 0; + HEAP8[$add$ptr39$3 >> 0] = HEAP8[$add$ptr + (($add52$3 + $shl44$3 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr39$3 + 3 >> 0] = HEAP8[$add$ptr + (($shl44$3 - $add52$3 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr39$3 + 1 >> 0] = HEAP8[$add$ptr + (($sub54$3 + $shl46$3 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr39$3 + 2 >> 0] = HEAP8[$add$ptr + (($shl46$3 - $sub54$3 | 0) >>> 18 & 1023) >> 0] | 0; + STACKTOP = sp; + return; +} + +function _access_virt_barray($cinfo, $ptr, $start_row, $num_rows, $writable) { + $cinfo = $cinfo | 0; + $ptr = $ptr | 0; + $start_row = $start_row | 0; + $num_rows = $num_rows | 0; + $writable = $writable | 0; + var $$pre = 0, $$pre48$i = 0, $$pre48$i77 = 0, $$sub$i = 0, $$sub$i102 = 0, $$sub$us$i = 0, $$sub$us$i90 = 0, $12 = 0, $13 = 0, $19 = 0, $20 = 0, $3 = 0, $31 = 0, $32 = 0, $35 = 0, $36 = 0, $40 = 0, $43 = 0, $45 = 0, $46 = 0, $5 = 0, $8 = 0, $add = 0, $add$i = 0, $add$ptr = 0, $add$us$i = 0, $b_s_info$i = 0, $b_s_info$i73 = 0, $cond15$i = 0, $cond15$i105 = 0, $cond15$sub16$i108 = 0, $cond15$sub16$i112 = 0, $cond15$sub16$us$i100 = 0, $cond15$sub16$us$i96 = 0, $cond15$us$i = 0, $cond15$us$i93 = 0, $cur_start_row = 0, $dirty = 0, $file_offset$044$i111 = 0, $file_offset$044$us$i99 = 0, $first_undef_row = 0, $first_undef_row$i = 0, $first_undef_row$i71 = 0, $i$045$i110 = 0, $i$045$us$i98 = 0, $mul = 0, $mul$i = 0, $mul$i65 = 0, $mul25$i = 0, $mul25$us$i = 0, $rows_in_array = 0, $rows_in_mem$i = 0, $rows_in_mem$i69$phi$trans$insert = 0, $rowsperchunk$i = 0, $rowsperchunk$i68 = 0, $storemerge = 0, $sub = 0, $sub$i = 0, $sub$us$i = 0, $sub16$i = 0, $sub16$i106 = 0, $sub16$us$i = 0, $sub16$us$i94 = 0, $sub57 = 0, $sub59 = 0, $sub79 = 0, $sub8$i = 0, $sub8$i103 = 0, $sub8$us$i = 0, $sub8$us$i91 = 0, $tobool39 = 0, $tobool5083 = 0, $undef_row$081 = 0, $undef_row$082 = 0, $undef_row$188 = 0, $write_backing_store$i = 0, label = 0; + $add = $num_rows + $start_row | 0; + $rows_in_array = $ptr + 4 | 0; + if (($add >>> 0 <= (HEAP32[$rows_in_array >> 2] | 0) >>> 0 ? (HEAP32[$ptr + 12 >> 2] | 0) >>> 0 >= $num_rows >>> 0 : 0) ? (HEAP32[$ptr >> 2] | 0) != 0 : 0) {} else { + $3 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$3 + 20 >> 2] = 23; + FUNCTION_TABLE_vi[HEAP32[$3 >> 2] & 255]($cinfo); + } + $cur_start_row = $ptr + 24 | 0; + $5 = HEAP32[$cur_start_row >> 2] | 0; + if ($5 >>> 0 <= $start_row >>> 0 ? $add >>> 0 <= ((HEAP32[$ptr + 16 >> 2] | 0) + $5 | 0) >>> 0 : 0) {} else label = 7; + L9 : do if ((label | 0) == 7) { + if (!(HEAP32[$ptr + 40 >> 2] | 0)) { + $8 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$8 + 20 >> 2] = 71; + FUNCTION_TABLE_vi[HEAP32[$8 >> 2] & 255]($cinfo); + } + $dirty = $ptr + 36 | 0; + if (HEAP32[$dirty >> 2] | 0) { + $mul$i = HEAP32[$ptr + 8 >> 2] << 7; + $12 = HEAP32[$cur_start_row >> 2] | 0; + $rowsperchunk$i = $ptr + 20 | 0; + $rows_in_mem$i = $ptr + 16 | 0; + $13 = HEAP32[$rows_in_mem$i >> 2] | 0; + L16 : do if (($13 | 0) > 0 ? ($first_undef_row$i = $ptr + 28 | 0, $b_s_info$i = $ptr + 48 | 0, $write_backing_store$i = $ptr + 52 | 0, $$pre48$i = HEAP32[$rowsperchunk$i >> 2] | 0, $$sub$i102 = ($$pre48$i | 0) < ($13 | 0) ? $$pre48$i : $13, $sub8$i103 = (HEAP32[$first_undef_row$i >> 2] | 0) - $12 | 0, $cond15$i105 = ($$sub$i102 | 0) < ($sub8$i103 | 0) ? $$sub$i102 : $sub8$i103, $sub16$i106 = (HEAP32[$rows_in_array >> 2] | 0) - $12 | 0, $cond15$sub16$i108 = ($cond15$i105 | 0) < ($sub16$i106 | 0) ? $cond15$i105 : $sub16$i106, ($cond15$sub16$i108 | 0) >= 1) : 0) { + $cond15$sub16$i112 = $cond15$sub16$i108; + $file_offset$044$i111 = Math_imul($12, $mul$i) | 0; + $i$045$i110 = 0; while (1) { - if ($$0101 >>> 0 >= $5 >>> 0) break; - $70 = HEAP8[$$0101 >> 0] | 0; - if ($70 << 24 >> 24 <= -1) break; - if (!(HEAP16[(HEAP32[$21 >> 2] | 0) + ($70 << 24 >> 24 << 1) >> 1] & 2048)) break; - $$0101 = $$0101 + 1 | 0; - } - if ($22) { - $$099 = $14; - $$1102 = $$0101; - while (1) { - $80 = ($$099 | 0) > 0; - if (!($$1102 >>> 0 > $spec$select >>> 0 & $80)) break; - $82 = $$1102 + -1 | 0; - $83 = HEAP8[$82 >> 0] | 0; - $84 = HEAP32[$2 >> 2] | 0; - HEAP32[$2 >> 2] = $84 + 1; - HEAP8[$84 >> 0] = $83; - $$099 = $$099 + -1 | 0; - $$1102 = $82; - } - if ($80) $94 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$6 >> 2] | 0) + 28 >> 2] & 127]($6, 48) | 0; else $94 = 0; - $$1100 = $$099; - while (1) { - $92 = HEAP32[$2 >> 2] | 0; - HEAP32[$2 >> 2] = $92 + 1; - if (($$1100 | 0) <= 0) break; - HEAP8[$92 >> 0] = $94; - $$1100 = $$1100 + -1 | 0; - } - HEAP8[$92 >> 0] = $9; - $$2103 = $$1102; - } else $$2103 = $$0101; - L36 : do if (($$2103 | 0) == ($spec$select | 0)) { - $100 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$6 >> 2] | 0) + 28 >> 2] & 127]($6, 48) | 0; - $101 = HEAP32[$2 >> 2] | 0; - HEAP32[$2 >> 2] = $101 + 1; - HEAP8[$101 >> 0] = $100; + $mul25$i = Math_imul($cond15$sub16$i112, $mul$i) | 0; + FUNCTION_TABLE_viiiii[HEAP32[$write_backing_store$i >> 2] & 63]($cinfo, $b_s_info$i, HEAP32[(HEAP32[$ptr >> 2] | 0) + ($i$045$i110 << 2) >> 2] | 0, $file_offset$044$i111, $mul25$i); + $19 = HEAP32[$rowsperchunk$i >> 2] | 0; + $i$045$i110 = $19 + $i$045$i110 | 0; + $20 = HEAP32[$rows_in_mem$i >> 2] | 0; + if (($20 | 0) <= ($i$045$i110 | 0)) break L16; + $sub$i = $20 - $i$045$i110 | 0; + $$sub$i = ($19 | 0) < ($sub$i | 0) ? $19 : $sub$i; + $add$i = $i$045$i110 + (HEAP32[$cur_start_row >> 2] | 0) | 0; + $sub8$i = (HEAP32[$first_undef_row$i >> 2] | 0) - $add$i | 0; + $cond15$i = ($$sub$i | 0) < ($sub8$i | 0) ? $$sub$i : $sub8$i; + $sub16$i = (HEAP32[$rows_in_array >> 2] | 0) - $add$i | 0; + $cond15$sub16$i112 = ($cond15$i | 0) < ($sub16$i | 0) ? $cond15$i : $sub16$i; + if (($cond15$sub16$i112 | 0) < 1) break; else $file_offset$044$i111 = $mul25$i + $file_offset$044$i111 | 0; + } + } while (0); + HEAP32[$dirty >> 2] = 0; + } + $rows_in_mem$i69$phi$trans$insert = $ptr + 16 | 0; + $$pre = HEAP32[$rows_in_mem$i69$phi$trans$insert >> 2] | 0; + if ((HEAP32[$cur_start_row >> 2] | 0) >>> 0 < $start_row >>> 0) $storemerge = $start_row; else { + $sub = $add - $$pre | 0; + $storemerge = ($sub | 0) > 0 ? $sub : 0; + } + HEAP32[$cur_start_row >> 2] = $storemerge; + $mul$i65 = HEAP32[$ptr + 8 >> 2] << 7; + $rowsperchunk$i68 = $ptr + 20 | 0; + if (($$pre | 0) > 0 ? ($first_undef_row$i71 = $ptr + 28 | 0, $b_s_info$i73 = $ptr + 48 | 0, $$pre48$i77 = HEAP32[$rowsperchunk$i68 >> 2] | 0, $$sub$us$i90 = ($$pre48$i77 | 0) < ($$pre | 0) ? $$pre48$i77 : $$pre, $sub8$us$i91 = (HEAP32[$first_undef_row$i71 >> 2] | 0) - $storemerge | 0, $cond15$us$i93 = ($$sub$us$i90 | 0) < ($sub8$us$i91 | 0) ? $$sub$us$i90 : $sub8$us$i91, $sub16$us$i94 = (HEAP32[$rows_in_array >> 2] | 0) - $storemerge | 0, $cond15$sub16$us$i96 = ($cond15$us$i93 | 0) < ($sub16$us$i94 | 0) ? $cond15$us$i93 : $sub16$us$i94, ($cond15$sub16$us$i96 | 0) >= 1) : 0) { + $cond15$sub16$us$i100 = $cond15$sub16$us$i96; + $file_offset$044$us$i99 = Math_imul($mul$i65, $storemerge) | 0; + $i$045$us$i98 = 0; + while (1) { + $mul25$us$i = Math_imul($cond15$sub16$us$i100, $mul$i65) | 0; + FUNCTION_TABLE_viiiii[HEAP32[$b_s_info$i73 >> 2] & 63]($cinfo, $b_s_info$i73, HEAP32[(HEAP32[$ptr >> 2] | 0) + ($i$045$us$i98 << 2) >> 2] | 0, $file_offset$044$us$i99, $mul25$us$i); + $31 = HEAP32[$rowsperchunk$i68 >> 2] | 0; + $i$045$us$i98 = $31 + $i$045$us$i98 | 0; + $32 = HEAP32[$rows_in_mem$i69$phi$trans$insert >> 2] | 0; + if (($32 | 0) <= ($i$045$us$i98 | 0)) break L9; + $sub$us$i = $32 - $i$045$us$i98 | 0; + $$sub$us$i = ($31 | 0) < ($sub$us$i | 0) ? $31 : $sub$us$i; + $add$us$i = $i$045$us$i98 + (HEAP32[$cur_start_row >> 2] | 0) | 0; + $sub8$us$i = (HEAP32[$first_undef_row$i71 >> 2] | 0) - $add$us$i | 0; + $cond15$us$i = ($$sub$us$i | 0) < ($sub8$us$i | 0) ? $$sub$us$i : $sub8$us$i; + $sub16$us$i = (HEAP32[$rows_in_array >> 2] | 0) - $add$us$i | 0; + $cond15$sub16$us$i100 = ($cond15$us$i | 0) < ($sub16$us$i | 0) ? $cond15$us$i : $sub16$us$i; + if (($cond15$sub16$us$i100 | 0) < 1) break; else $file_offset$044$us$i99 = $mul25$us$i + $file_offset$044$us$i99 | 0; + } + } + } while (0); + $first_undef_row = $ptr + 28 | 0; + $35 = HEAP32[$first_undef_row >> 2] | 0; + do if ($35 >>> 0 < $add >>> 0) { + $tobool39 = ($writable | 0) == 0; + if ($35 >>> 0 < $start_row >>> 0) if ($tobool39) { + $tobool5083 = 0; + $undef_row$081 = $start_row; + } else { + $36 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$36 + 20 >> 2] = 23; + FUNCTION_TABLE_vi[HEAP32[$36 >> 2] & 255]($cinfo); + $undef_row$082 = $start_row; + label = 28; + } else if ($tobool39) { + $tobool5083 = 0; + $undef_row$081 = $35; + } else { + $undef_row$082 = $35; + label = 28; + } + if ((label | 0) == 28) { + HEAP32[$first_undef_row >> 2] = $add; + $tobool5083 = 1; + $undef_row$081 = $undef_row$082; + } + if (!(HEAP32[$ptr + 32 >> 2] | 0)) { + if ($tobool5083) break; + $43 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$43 + 20 >> 2] = 23; + FUNCTION_TABLE_vi[HEAP32[$43 >> 2] & 255]($cinfo); + break; + } + $mul = HEAP32[$ptr + 8 >> 2] << 7; + $40 = HEAP32[$cur_start_row >> 2] | 0; + $sub57 = $undef_row$081 - $40 | 0; + $sub59 = $add - $40 | 0; + if ($sub57 >>> 0 < $sub59 >>> 0) { + $undef_row$188 = $sub57; + do { + _memset(HEAP32[(HEAP32[$ptr >> 2] | 0) + ($undef_row$188 << 2) >> 2] | 0, 0, $mul | 0) | 0; + $undef_row$188 = $undef_row$188 + 1 | 0; + } while (($undef_row$188 | 0) != ($sub59 | 0)); + } + } while (0); + if (!$writable) { + $45 = HEAP32[$ptr >> 2] | 0; + $46 = HEAP32[$cur_start_row >> 2] | 0; + $sub79 = $start_row - $46 | 0; + $add$ptr = $45 + ($sub79 << 2) | 0; + return $add$ptr | 0; + } + HEAP32[$ptr + 36 >> 2] = 1; + $45 = HEAP32[$ptr >> 2] | 0; + $46 = HEAP32[$cur_start_row >> 2] | 0; + $sub79 = $start_row - $46 | 0; + $add$ptr = $45 + ($sub79 << 2) | 0; + return $add$ptr | 0; +} + +function _access_virt_sarray($cinfo, $ptr, $start_row, $num_rows, $writable) { + $cinfo = $cinfo | 0; + $ptr = $ptr | 0; + $start_row = $start_row | 0; + $num_rows = $num_rows | 0; + $writable = $writable | 0; + var $$pre = 0, $$pre48$i = 0, $$pre48$i76 = 0, $$sub$i = 0, $$sub$i101 = 0, $$sub$us$i = 0, $$sub$us$i89 = 0, $11 = 0, $12 = 0, $13 = 0, $19 = 0, $20 = 0, $25 = 0, $3 = 0, $31 = 0, $32 = 0, $35 = 0, $36 = 0, $39 = 0, $40 = 0, $43 = 0, $45 = 0, $46 = 0, $5 = 0, $8 = 0, $add = 0, $add$i = 0, $add$ptr = 0, $add$us$i = 0, $b_s_info$i = 0, $b_s_info$i72 = 0, $cond15$i = 0, $cond15$i104 = 0, $cond15$sub16$i107 = 0, $cond15$sub16$i111 = 0, $cond15$sub16$us$i95 = 0, $cond15$sub16$us$i99 = 0, $cond15$us$i = 0, $cond15$us$i92 = 0, $cur_start_row = 0, $dirty = 0, $file_offset$044$i110 = 0, $file_offset$044$us$i98 = 0, $first_undef_row = 0, $first_undef_row$i = 0, $first_undef_row$i70 = 0, $i$045$i109 = 0, $i$045$us$i97 = 0, $mul25$i = 0, $mul25$us$i = 0, $rows_in_array = 0, $rows_in_mem$i = 0, $rows_in_mem$i68$phi$trans$insert = 0, $rowsperchunk$i = 0, $rowsperchunk$i67 = 0, $storemerge = 0, $sub = 0, $sub$i = 0, $sub$us$i = 0, $sub16$i = 0, $sub16$i105 = 0, $sub16$us$i = 0, $sub16$us$i93 = 0, $sub57 = 0, $sub59 = 0, $sub79 = 0, $sub8$i = 0, $sub8$i102 = 0, $sub8$us$i = 0, $sub8$us$i90 = 0, $tobool39 = 0, $tobool5082 = 0, $undef_row$080 = 0, $undef_row$081 = 0, $undef_row$187 = 0, $write_backing_store$i = 0, label = 0; + $add = $num_rows + $start_row | 0; + $rows_in_array = $ptr + 4 | 0; + if (($add >>> 0 <= (HEAP32[$rows_in_array >> 2] | 0) >>> 0 ? (HEAP32[$ptr + 12 >> 2] | 0) >>> 0 >= $num_rows >>> 0 : 0) ? (HEAP32[$ptr >> 2] | 0) != 0 : 0) {} else { + $3 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$3 + 20 >> 2] = 23; + FUNCTION_TABLE_vi[HEAP32[$3 >> 2] & 255]($cinfo); + } + $cur_start_row = $ptr + 24 | 0; + $5 = HEAP32[$cur_start_row >> 2] | 0; + if ($5 >>> 0 <= $start_row >>> 0 ? $add >>> 0 <= ((HEAP32[$ptr + 16 >> 2] | 0) + $5 | 0) >>> 0 : 0) {} else label = 7; + L9 : do if ((label | 0) == 7) { + if (!(HEAP32[$ptr + 40 >> 2] | 0)) { + $8 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$8 + 20 >> 2] = 71; + FUNCTION_TABLE_vi[HEAP32[$8 >> 2] & 255]($cinfo); + } + $dirty = $ptr + 36 | 0; + if (HEAP32[$dirty >> 2] | 0) { + $11 = HEAP32[$ptr + 8 >> 2] | 0; + $12 = HEAP32[$cur_start_row >> 2] | 0; + $rowsperchunk$i = $ptr + 20 | 0; + $rows_in_mem$i = $ptr + 16 | 0; + $13 = HEAP32[$rows_in_mem$i >> 2] | 0; + L16 : do if (($13 | 0) > 0 ? ($first_undef_row$i = $ptr + 28 | 0, $b_s_info$i = $ptr + 48 | 0, $write_backing_store$i = $ptr + 52 | 0, $$pre48$i = HEAP32[$rowsperchunk$i >> 2] | 0, $$sub$i101 = ($$pre48$i | 0) < ($13 | 0) ? $$pre48$i : $13, $sub8$i102 = (HEAP32[$first_undef_row$i >> 2] | 0) - $12 | 0, $cond15$i104 = ($$sub$i101 | 0) < ($sub8$i102 | 0) ? $$sub$i101 : $sub8$i102, $sub16$i105 = (HEAP32[$rows_in_array >> 2] | 0) - $12 | 0, $cond15$sub16$i107 = ($cond15$i104 | 0) < ($sub16$i105 | 0) ? $cond15$i104 : $sub16$i105, ($cond15$sub16$i107 | 0) >= 1) : 0) { + $cond15$sub16$i111 = $cond15$sub16$i107; + $file_offset$044$i110 = Math_imul($12, $11) | 0; + $i$045$i109 = 0; + while (1) { + $mul25$i = Math_imul($cond15$sub16$i111, $11) | 0; + FUNCTION_TABLE_viiiii[HEAP32[$write_backing_store$i >> 2] & 63]($cinfo, $b_s_info$i, HEAP32[(HEAP32[$ptr >> 2] | 0) + ($i$045$i109 << 2) >> 2] | 0, $file_offset$044$i110, $mul25$i); + $19 = HEAP32[$rowsperchunk$i >> 2] | 0; + $i$045$i109 = $19 + $i$045$i109 | 0; + $20 = HEAP32[$rows_in_mem$i >> 2] | 0; + if (($20 | 0) <= ($i$045$i109 | 0)) break L16; + $sub$i = $20 - $i$045$i109 | 0; + $$sub$i = ($19 | 0) < ($sub$i | 0) ? $19 : $sub$i; + $add$i = $i$045$i109 + (HEAP32[$cur_start_row >> 2] | 0) | 0; + $sub8$i = (HEAP32[$first_undef_row$i >> 2] | 0) - $add$i | 0; + $cond15$i = ($$sub$i | 0) < ($sub8$i | 0) ? $$sub$i : $sub8$i; + $sub16$i = (HEAP32[$rows_in_array >> 2] | 0) - $add$i | 0; + $cond15$sub16$i111 = ($cond15$i | 0) < ($sub16$i | 0) ? $cond15$i : $sub16$i; + if (($cond15$sub16$i111 | 0) < 1) break; else $file_offset$044$i110 = $mul25$i + $file_offset$044$i110 | 0; + } + } while (0); + HEAP32[$dirty >> 2] = 0; + } + $rows_in_mem$i68$phi$trans$insert = $ptr + 16 | 0; + $$pre = HEAP32[$rows_in_mem$i68$phi$trans$insert >> 2] | 0; + if ((HEAP32[$cur_start_row >> 2] | 0) >>> 0 < $start_row >>> 0) $storemerge = $start_row; else { + $sub = $add - $$pre | 0; + $storemerge = ($sub | 0) > 0 ? $sub : 0; + } + HEAP32[$cur_start_row >> 2] = $storemerge; + $25 = HEAP32[$ptr + 8 >> 2] | 0; + $rowsperchunk$i67 = $ptr + 20 | 0; + if (($$pre | 0) > 0 ? ($first_undef_row$i70 = $ptr + 28 | 0, $b_s_info$i72 = $ptr + 48 | 0, $$pre48$i76 = HEAP32[$rowsperchunk$i67 >> 2] | 0, $$sub$us$i89 = ($$pre48$i76 | 0) < ($$pre | 0) ? $$pre48$i76 : $$pre, $sub8$us$i90 = (HEAP32[$first_undef_row$i70 >> 2] | 0) - $storemerge | 0, $cond15$us$i92 = ($$sub$us$i89 | 0) < ($sub8$us$i90 | 0) ? $$sub$us$i89 : $sub8$us$i90, $sub16$us$i93 = (HEAP32[$rows_in_array >> 2] | 0) - $storemerge | 0, $cond15$sub16$us$i95 = ($cond15$us$i92 | 0) < ($sub16$us$i93 | 0) ? $cond15$us$i92 : $sub16$us$i93, ($cond15$sub16$us$i95 | 0) >= 1) : 0) { + $cond15$sub16$us$i99 = $cond15$sub16$us$i95; + $file_offset$044$us$i98 = Math_imul($25, $storemerge) | 0; + $i$045$us$i97 = 0; + while (1) { + $mul25$us$i = Math_imul($cond15$sub16$us$i99, $25) | 0; + FUNCTION_TABLE_viiiii[HEAP32[$b_s_info$i72 >> 2] & 63]($cinfo, $b_s_info$i72, HEAP32[(HEAP32[$ptr >> 2] | 0) + ($i$045$us$i97 << 2) >> 2] | 0, $file_offset$044$us$i98, $mul25$us$i); + $31 = HEAP32[$rowsperchunk$i67 >> 2] | 0; + $i$045$us$i97 = $31 + $i$045$us$i97 | 0; + $32 = HEAP32[$rows_in_mem$i68$phi$trans$insert >> 2] | 0; + if (($32 | 0) <= ($i$045$us$i97 | 0)) break L9; + $sub$us$i = $32 - $i$045$us$i97 | 0; + $$sub$us$i = ($31 | 0) < ($sub$us$i | 0) ? $31 : $sub$us$i; + $add$us$i = $i$045$us$i97 + (HEAP32[$cur_start_row >> 2] | 0) | 0; + $sub8$us$i = (HEAP32[$first_undef_row$i70 >> 2] | 0) - $add$us$i | 0; + $cond15$us$i = ($$sub$us$i | 0) < ($sub8$us$i | 0) ? $$sub$us$i : $sub8$us$i; + $sub16$us$i = (HEAP32[$rows_in_array >> 2] | 0) - $add$us$i | 0; + $cond15$sub16$us$i99 = ($cond15$us$i | 0) < ($sub16$us$i | 0) ? $cond15$us$i : $sub16$us$i; + if (($cond15$sub16$us$i99 | 0) < 1) break; else $file_offset$044$us$i98 = $mul25$us$i + $file_offset$044$us$i98 | 0; + } + } + } while (0); + $first_undef_row = $ptr + 28 | 0; + $35 = HEAP32[$first_undef_row >> 2] | 0; + do if ($35 >>> 0 < $add >>> 0) { + $tobool39 = ($writable | 0) == 0; + if ($35 >>> 0 < $start_row >>> 0) if ($tobool39) { + $tobool5082 = 0; + $undef_row$080 = $start_row; + } else { + $36 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$36 + 20 >> 2] = 23; + FUNCTION_TABLE_vi[HEAP32[$36 >> 2] & 255]($cinfo); + $undef_row$081 = $start_row; + label = 28; + } else if ($tobool39) { + $tobool5082 = 0; + $undef_row$080 = $35; + } else { + $undef_row$081 = $35; + label = 28; + } + if ((label | 0) == 28) { + HEAP32[$first_undef_row >> 2] = $add; + $tobool5082 = 1; + $undef_row$080 = $undef_row$081; + } + if (!(HEAP32[$ptr + 32 >> 2] | 0)) { + if ($tobool5082) break; + $43 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$43 + 20 >> 2] = 23; + FUNCTION_TABLE_vi[HEAP32[$43 >> 2] & 255]($cinfo); + break; + } + $39 = HEAP32[$ptr + 8 >> 2] | 0; + $40 = HEAP32[$cur_start_row >> 2] | 0; + $sub57 = $undef_row$080 - $40 | 0; + $sub59 = $add - $40 | 0; + if ($sub57 >>> 0 < $sub59 >>> 0) { + $undef_row$187 = $sub57; + do { + _memset(HEAP32[(HEAP32[$ptr >> 2] | 0) + ($undef_row$187 << 2) >> 2] | 0, 0, $39 | 0) | 0; + $undef_row$187 = $undef_row$187 + 1 | 0; + } while (($undef_row$187 | 0) != ($sub59 | 0)); + } + } while (0); + if (!$writable) { + $45 = HEAP32[$ptr >> 2] | 0; + $46 = HEAP32[$cur_start_row >> 2] | 0; + $sub79 = $start_row - $46 | 0; + $add$ptr = $45 + ($sub79 << 2) | 0; + return $add$ptr | 0; + } + HEAP32[$ptr + 36 >> 2] = 1; + $45 = HEAP32[$ptr >> 2] | 0; + $46 = HEAP32[$cur_start_row >> 2] | 0; + $sub79 = $start_row - $46 | 0; + $add$ptr = $45 + ($sub79 << 2) | 0; + return $add$ptr | 0; +} + +function __ZN6vision20BinaryFeatureMatcherILi96EE5matchEPKNS_18BinaryFeatureStoreES4_PKff($this, $features1, $features2, $H, $tr) { + $this = $this | 0; + $features1 = $features1 | 0; + $features2 = $features2 | 0; + $H = $H | 0; + $tr = +$tr; + var $13 = 0, $15 = 0, $20 = 0, $21 = 0, $27 = 0, $29 = 0, $34 = 0, $35 = 0, $Hinv = 0, $__end_$i$i$i = 0, $__value_$i$i$i$i = 0, $best_index$0 = 0, $best_index$2 = 0, $call$i1$i = 0, $call$i1$i70 = 0, $call$i1$i78 = 0, $call$i2$i = 0, $call$i2$i73 = 0, $call$i2$i81 = 0, $call103 = 0, $call12 = 0, $call22 = 0, $call23 = 0, $call30 = 0, $call38 = 0.0, $call4 = 0.0, $call49 = 0, $call69 = 0, $cmp50 = 0, $first_best$0 = 0, $first_best$2 = 0, $i$0 = 0, $j$0 = 0, $mThreshold = 0, $maxima = 0, $ref$tmp$i77 = 0, $retval$0 = 0, $second_best$0 = 0, $second_best$2 = 0, $sub$ptr$div$i53 = 0, $xp1 = 0, $yp1 = 0, label = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 64 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(64); + $ref$tmp$i77 = sp + 40 | 0; + $Hinv = sp; + $xp1 = sp + 52 | 0; + $yp1 = sp + 48 | 0; + $__end_$i$i$i = $this + 4 | 0; + HEAP32[$__end_$i$i$i >> 2] = HEAP32[$this >> 2]; + do if ((__ZNK6vision18BinaryFeatureStore4sizeEv($features1) | 0) != 0 ? (__ZNK6vision18BinaryFeatureStore4sizeEv($features2) | 0) != 0 : 0) { + $call4 = +__ZN6vision3sqrIfEET_S1_($tr); + if (!(__ZN6vision16MatrixInverse3x3IfEEbPT_PKS1_S1_($Hinv, $H, 0.0) | 0)) { + $call12 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 35584) | 0, 35609) | 0, 39794) | 0, 196) | 0, 39801) | 0, 35733) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i77, $call12 + (HEAP32[(HEAP32[$call12 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i77, 67360) | 0; + $call$i2$i = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i >> 2] | 0) + 28 >> 2] & 127]($call$i1$i, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i77); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call12, $call$i2$i) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call12) | 0; + _abort(); + } + __ZNSt3__26vectorIN6vision7match_tENS_9allocatorIS2_EEE7reserveEm($this, __ZNK6vision18BinaryFeatureStore4sizeEv($features1) | 0); + $__value_$i$i$i$i = $this + 8 | 0; + $mThreshold = $this + 12 | 0; + $i$0 = 0; + L7 : while (1) { + if ($i$0 >>> 0 >= (__ZNK6vision18BinaryFeatureStore4sizeEv($features1) | 0) >>> 0) break; + $call22 = __ZNK6vision18BinaryFeatureStore7featureEm($features1, $i$0) | 0; + $call23 = __ZNK6vision18BinaryFeatureStore5pointEm($features1, $i$0) | 0; + __ZN6vision35MultiplyPointHomographyInhomogenousIfEEvRT_S2_PKS1_S1_S1_($xp1, $yp1, $Hinv, +HEAPF32[$call23 >> 2], +HEAPF32[$call23 + 4 >> 2]); + $maxima = $call23 + 16 | 0; + $best_index$0 = 2147483647; + $first_best$0 = -1; + $j$0 = 0; + $second_best$0 = -1; + while (1) { + if ($j$0 >>> 0 >= (__ZNK6vision18BinaryFeatureStore4sizeEv($features2) | 0) >>> 0) break; + $call30 = __ZNK6vision18BinaryFeatureStore5pointEm($features2, $j$0) | 0; + if ((HEAP8[$maxima >> 0] | 0) == (HEAP8[$call30 + 16 >> 0] | 0) ? ($call38 = +__ZN6vision3sqrIfEET_S1_(+HEAPF32[$xp1 >> 2] - +HEAPF32[$call30 >> 2]), !($call38 + +__ZN6vision3sqrIfEET_S1_(+HEAPF32[$yp1 >> 2] - +HEAPF32[$call30 + 4 >> 2]) > $call4)) : 0) { + $call49 = __ZN6vision18HammingDistance768EPKjS1_($call22, __ZNK6vision18BinaryFeatureStore7featureEm($features2, $j$0) | 0) | 0; + $cmp50 = $call49 >>> 0 < $first_best$0 >>> 0; + $best_index$2 = $cmp50 ? $j$0 : $best_index$0; + $first_best$2 = $cmp50 ? $call49 : $first_best$0; + $second_best$2 = $cmp50 ? $first_best$0 : $call49 >>> 0 < $second_best$0 >>> 0 ? $call49 : $second_best$0; } else { - $103 = HEAP8[$23 >> 0] | 0; - $104 = $103 << 24 >> 24 < 0; - if (!(($104 ? HEAP32[$24 >> 2] | 0 : $103 & 255) | 0)) $$0$ph = -1; else $$0$ph = HEAP8[($104 ? HEAP32[$11 >> 2] | 0 : $11) >> 0] | 0; - $$0 = $$0$ph; - $$093 = 0; - $$095 = 0; - $$3 = $$2103; - while (1) { - if (($$3 | 0) == ($spec$select | 0)) break L36; - if (($$095 | 0) == ($$0 | 0)) { - $115 = HEAP32[$2 >> 2] | 0; - HEAP32[$2 >> 2] = $115 + 1; - HEAP8[$115 >> 0] = $10; - $117 = $$093 + 1 | 0; - $118 = HEAP8[$23 >> 0] | 0; - $119 = $118 << 24 >> 24 < 0; - if ($117 >>> 0 < ($119 ? HEAP32[$24 >> 2] | 0 : $118 & 255) >>> 0) { - $127 = HEAP8[($119 ? HEAP32[$11 >> 2] | 0 : $11) + $117 >> 0] | 0; - $$1 = $127 << 24 >> 24 == 127 ? -1 : $127 << 24 >> 24; - $$194 = $117; - $$196 = 0; - } else { - $$1 = $$095; - $$194 = $117; - $$196 = 0; - } - } else { - $$1 = $$0; - $$194 = $$093; - $$196 = $$095; - } - $130 = $$3 + -1 | 0; - $131 = HEAP8[$130 >> 0] | 0; - $132 = HEAP32[$2 >> 2] | 0; - HEAP32[$2 >> 2] = $132 + 1; - HEAP8[$132 >> 0] = $131; - $$0 = $$1; - $$093 = $$194; - $$095 = $$196 + 1 | 0; - $$3 = $130; - } - } while (0); - $135 = HEAP32[$2 >> 2] | 0; - if (($67 | 0) == ($135 | 0)) $$2 = $spec$select; else { - $$0$i$i106 = $135; - $$07$i$i = $67; - while (1) { - $137 = $$0$i$i106 + -1 | 0; - if ($$07$i$i >>> 0 >= $137 >>> 0) { - $$2 = $spec$select; - break L4; - } - $139 = HEAP8[$$07$i$i >> 0] | 0; - HEAP8[$$07$i$i >> 0] = HEAP8[$137 >> 0] | 0; - HEAP8[$137 >> 0] = $139; - $$0$i$i106 = $137; - $$07$i$i = $$07$i$i + 1 | 0; + $best_index$2 = $best_index$0; + $first_best$2 = $first_best$0; + $second_best$2 = $second_best$0; + } + $best_index$0 = $best_index$2; + $first_best$0 = $first_best$2; + $j$0 = $j$0 + 1 | 0; + $second_best$0 = $second_best$2; + } + do if (($first_best$0 | 0) != -1) { + if (($best_index$0 | 0) == -1) { + label = 16; + break L7; + } + if (($second_best$0 | 0) == -1) { + __ZN6vision7match_tC2Eii($ref$tmp$i77, $i$0, $best_index$0); + $13 = HEAP32[$__end_$i$i$i >> 2] | 0; + if ($13 >>> 0 < (HEAP32[$__value_$i$i$i$i >> 2] | 0) >>> 0) { + $15 = $ref$tmp$i77; + $20 = HEAP32[$15 + 4 >> 2] | 0; + $21 = $13; + HEAP32[$21 >> 2] = HEAP32[$15 >> 2]; + HEAP32[$21 + 4 >> 2] = $20; + HEAP32[$__end_$i$i$i >> 2] = (HEAP32[$__end_$i$i$i >> 2] | 0) + 8; + } else __ZNSt3__26vectorIN6vision7match_tENS_9allocatorIS2_EEE21__push_back_slow_pathIS2_EEvOT_($this, $ref$tmp$i77); + break; + } + if (+($first_best$0 >>> 0) / +($second_best$0 >>> 0) < +HEAPF32[$mThreshold >> 2]) { + __ZN6vision7match_tC2Eii($ref$tmp$i77, $i$0, $best_index$0); + $27 = HEAP32[$__end_$i$i$i >> 2] | 0; + if ($27 >>> 0 < (HEAP32[$__value_$i$i$i$i >> 2] | 0) >>> 0) { + $29 = $ref$tmp$i77; + $34 = HEAP32[$29 + 4 >> 2] | 0; + $35 = $27; + HEAP32[$35 >> 2] = HEAP32[$29 >> 2]; + HEAP32[$35 + 4 >> 2] = $34; + HEAP32[$__end_$i$i$i >> 2] = (HEAP32[$__end_$i$i$i >> 2] | 0) + 8; + } else __ZNSt3__26vectorIN6vision7match_tENS_9allocatorIS2_EEE21__push_back_slow_pathIS2_EEvOT_($this, $ref$tmp$i77); + } + } while (0); + $i$0 = $i$0 + 1 | 0; + } + if ((label | 0) == 16) { + $call69 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 35766) | 0, 35609) | 0, 39794) | 0, 241) | 0, 39801) | 0, 35838) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i77, $call69 + (HEAP32[(HEAP32[$call69 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i78 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i77, 67360) | 0; + $call$i2$i81 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i78 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i78, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i77); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call69, $call$i2$i81) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call69) | 0; + _abort(); + } + $sub$ptr$div$i53 = (HEAP32[$__end_$i$i$i >> 2] | 0) - (HEAP32[$this >> 2] | 0) >> 3; + if ($sub$ptr$div$i53 >>> 0 > (__ZNK6vision18BinaryFeatureStore4sizeEv($features1) | 0) >>> 0) { + $call103 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 35856) | 0, 35609) | 0, 39794) | 0, 256) | 0, 39801) | 0, 35916) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i77, $call103 + (HEAP32[(HEAP32[$call103 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i70 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i77, 67360) | 0; + $call$i2$i73 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i70 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i70, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i77); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call103, $call$i2$i73) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call103) | 0; + _abort(); + } else { + $retval$0 = (HEAP32[$__end_$i$i$i >> 2] | 0) - (HEAP32[$this >> 2] | 0) >> 3; + break; + } + } else $retval$0 = 0; while (0); + STACKTOP = sp; + return $retval$0 | 0; +} + +function _icpPointRobust($handle, $data, $initMatXw2Xc, $matXw2Xc, $err) { + $handle = $handle | 0; + $data = $data | 0; + $initMatXw2Xc = $initMatXw2Xc | 0; + $matXw2Xc = $matXw2Xc | 0; + $err = $err | 0; + var $$pre = 0, $0 = 0, $12 = 0, $13 = 0.0, $18 = 0, $19 = 0.0, $4 = 0, $6 = 0, $K2$0 = 0.0, $U = 0, $add75 = 0.0, $arrayidx148 = 0, $arrayidx171 = 0, $arrayidx175 = 0, $arrayidx179 = 0, $arrayidx183 = 0, $arrayidx187 = 0, $arrayidx191 = 0, $arrayidx195 = 0, $arrayidx199 = 0, $arrayidx203 = 0, $arrayidx207 = 0, $arrayidx211 = 0, $arrayidx82 = 0, $breakLoopErrorRatioThresh = 0, $breakLoopErrorThresh = 0, $breakLoopErrorThresh2 = 0, $call = 0, $call15 = 0, $call22 = 0, $call29 = 0, $dS = 0, $div = 0.0, $div$pn = 0.0, $div119 = 0.0, $err0$0 = 0.0, $err1$0 = 0.0, $i$0 = 0, $i$1 = 0, $j$0 = 0, $j$1 = 0, $j$2 = 0, $j$3 = 0, $k$0 = 0, $k$1 = 0, $matXw2U = 0, $maxLoop = 0, $mul147 = 0, $mul164 = 0.0, $mul21 = 0, $mul213 = 0, $mul68 = 0, $mul83 = 0.0, $num = 0, $retval$0 = 0, $spec$store$select = 0, $sub = 0, $sub101 = 0.0, $sub160 = 0.0, $sub63 = 0.0, $sub67 = 0.0, $vararg_buffer = 0, $vararg_buffer1 = 0, $vararg_buffer3 = 0, $vararg_buffer5 = 0, $worldCoord = 0, $y66 = 0, label = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 192 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(192); + $vararg_buffer5 = sp + 184 | 0; + $vararg_buffer3 = sp + 176 | 0; + $vararg_buffer1 = sp + 168 | 0; + $vararg_buffer = sp + 160 | 0; + $U = sp + 144 | 0; + $matXw2U = sp + 48 | 0; + $dS = sp; + $num = $data + 8 | 0; + $0 = HEAP32[$num >> 2] | 0; + do if (($0 | 0) >= 4) { + $sub = ~~(+HEAPF64[$handle + 128 >> 3] * +($0 | 0)) + -1 | 0; + $spec$store$select = ($sub | 0) > 3 ? $sub : 3; + $call = _malloc($0 * 96 | 0) | 0; + if (!$call) { + _arLog(0, 3, 46789, $vararg_buffer); + $retval$0 = -1; + break; + } + $call15 = _malloc($0 << 4) | 0; + if (!$call15) { + _arLog(0, 3, 46789, $vararg_buffer1); + _free($call); + $retval$0 = -1; + break; + } + $mul21 = $0 << 3; + $call22 = _malloc($mul21) | 0; + if (!$call22) { + _arLog(0, 3, 46789, $vararg_buffer3); + _free($call); + _free($call15); + $retval$0 = -1; + break; + } + $call29 = _malloc($mul21) | 0; + if (!$call29) { + _arLog(0, 3, 46789, $vararg_buffer5); + _free($call); + _free($call15); + _free($call22); + $retval$0 = -1; + break; + } + $j$0 = 0; + while (1) { + if (($j$0 | 0) == 3) break; + $i$0 = 0; + while (1) { + if (($i$0 | 0) == 4) break; + HEAPF64[$matXw2Xc + ($j$0 << 5) + ($i$0 << 3) >> 3] = +HEAPF64[$initMatXw2Xc + ($j$0 << 5) + ($i$0 << 3) >> 3]; + $i$0 = $i$0 + 1 | 0; + } + $j$0 = $j$0 + 1 | 0; + } + $worldCoord = $data + 4 | 0; + $y66 = $U + 8 | 0; + $arrayidx82 = $call29 + ($spec$store$select << 3) | 0; + $breakLoopErrorThresh = $handle + 104 | 0; + $maxLoop = $handle + 96 | 0; + $breakLoopErrorThresh2 = $handle + 120 | 0; + $breakLoopErrorRatioThresh = $handle + 112 | 0; + $err0$0 = 0.0; + $i$1 = 0; + L23 : while (1) { + _arUtilMatMul($handle, $matXw2Xc, $matXw2U) | 0; + $j$1 = 0; + while (1) { + $4 = HEAP32[$num >> 2] | 0; + if (($j$1 | 0) >= ($4 | 0)) break; + if ((_icpGetU_from_X_by_MatX2U($U, $matXw2U, (HEAP32[$worldCoord >> 2] | 0) + ($j$1 * 24 | 0) | 0) | 0) < 0) { + label = 20; + break L23; + } + $6 = HEAP32[$data >> 2] | 0; + $sub63 = +HEAPF64[$6 + ($j$1 << 4) >> 3] - +HEAPF64[$U >> 3]; + $sub67 = +HEAPF64[$6 + ($j$1 << 4) + 8 >> 3] - +HEAPF64[$y66 >> 3]; + $mul68 = $j$1 << 1; + HEAPF64[$call15 + ($mul68 << 3) >> 3] = $sub63; + HEAPF64[$call15 + (($mul68 | 1) << 3) >> 3] = $sub67; + $add75 = $sub63 * $sub63 + $sub67 * $sub67; + HEAPF64[$call29 + ($j$1 << 3) >> 3] = $add75; + HEAPF64[$call22 + ($j$1 << 3) >> 3] = $add75; + $j$1 = $j$1 + 1 | 0; + } + _qsort($call29, $4, 8, 42); + $mul83 = +HEAPF64[$arrayidx82 >> 3] * 4.0; + $K2$0 = $mul83 < 16.0 ? 16.0 : $mul83; + $12 = HEAP32[$num >> 2] | 0; + $div = $K2$0 / 6.0; + $err1$0 = 0.0; + $j$2 = 0; + while (1) { + if (($j$2 | 0) >= ($12 | 0)) break; + $13 = +HEAPF64[$call29 + ($j$2 << 3) >> 3]; + if ($13 > $K2$0) $div$pn = $div; else { + $sub101 = 1.0 - $13 / $K2$0; + $div$pn = $div * (1.0 - $sub101 * ($sub101 * $sub101)); + } + $err1$0 = $err1$0 + $div$pn; + $j$2 = $j$2 + 1 | 0; + } + $div119 = $err1$0 / +($12 | 0); + if ($div119 < +HEAPF64[$breakLoopErrorThresh >> 3]) { + label = 44; + break; + } + if (($i$1 | 0 ? $div119 < +HEAPF64[$breakLoopErrorThresh2 >> 3] : 0) ? $div119 / $err0$0 > +HEAPF64[$breakLoopErrorRatioThresh >> 3] : 0) { + label = 44; + break; + } + if (($i$1 | 0) == (HEAP32[$maxLoop >> 2] | 0)) { + label = 44; + break; + } + $18 = $12; + $j$3 = 0; + $k$0 = 0; + while (1) { + if (($j$3 | 0) >= ($18 | 0)) break; + $19 = +HEAPF64[$call22 + ($j$3 << 3) >> 3]; + if (!($19 <= $K2$0)) { + $$pre = $18; + $k$1 = $k$0; + } else { + $mul147 = $k$0 * 6 | 0; + $arrayidx148 = $call + ($mul147 << 3) | 0; + if ((_icpGetJ_U_S($arrayidx148, $handle, $matXw2Xc, (HEAP32[$worldCoord >> 2] | 0) + ($j$3 * 24 | 0) | 0) | 0) < 0) { + label = 36; + break L23; } + $sub160 = 1.0 - $19 / $K2$0; + $mul164 = $sub160 * $sub160; + HEAPF64[$arrayidx148 >> 3] = $mul164 * +HEAPF64[$arrayidx148 >> 3]; + $arrayidx171 = $call + (($mul147 | 1) << 3) | 0; + HEAPF64[$arrayidx171 >> 3] = $mul164 * +HEAPF64[$arrayidx171 >> 3]; + $arrayidx175 = $call + ($mul147 + 2 << 3) | 0; + HEAPF64[$arrayidx175 >> 3] = $mul164 * +HEAPF64[$arrayidx175 >> 3]; + $arrayidx179 = $call + ($mul147 + 3 << 3) | 0; + HEAPF64[$arrayidx179 >> 3] = $mul164 * +HEAPF64[$arrayidx179 >> 3]; + $arrayidx183 = $call + ($mul147 + 4 << 3) | 0; + HEAPF64[$arrayidx183 >> 3] = $mul164 * +HEAPF64[$arrayidx183 >> 3]; + $arrayidx187 = $call + ($mul147 + 5 << 3) | 0; + HEAPF64[$arrayidx187 >> 3] = $mul164 * +HEAPF64[$arrayidx187 >> 3]; + $arrayidx191 = $call + ($mul147 + 6 << 3) | 0; + HEAPF64[$arrayidx191 >> 3] = $mul164 * +HEAPF64[$arrayidx191 >> 3]; + $arrayidx195 = $call + ($mul147 + 7 << 3) | 0; + HEAPF64[$arrayidx195 >> 3] = $mul164 * +HEAPF64[$arrayidx195 >> 3]; + $arrayidx199 = $call + ($mul147 + 8 << 3) | 0; + HEAPF64[$arrayidx199 >> 3] = $mul164 * +HEAPF64[$arrayidx199 >> 3]; + $arrayidx203 = $call + ($mul147 + 9 << 3) | 0; + HEAPF64[$arrayidx203 >> 3] = $mul164 * +HEAPF64[$arrayidx203 >> 3]; + $arrayidx207 = $call + ($mul147 + 10 << 3) | 0; + HEAPF64[$arrayidx207 >> 3] = $mul164 * +HEAPF64[$arrayidx207 >> 3]; + $arrayidx211 = $call + ($mul147 + 11 << 3) | 0; + HEAPF64[$arrayidx211 >> 3] = $mul164 * +HEAPF64[$arrayidx211 >> 3]; + $mul213 = $j$3 << 1; + HEAPF64[$call15 + ($k$0 << 3) >> 3] = $mul164 * +HEAPF64[$call15 + ($mul213 << 3) >> 3]; + HEAPF64[$call15 + ($k$0 + 1 << 3) >> 3] = $mul164 * +HEAPF64[$call15 + (($mul213 | 1) << 3) >> 3]; + $$pre = HEAP32[$num >> 2] | 0; + $k$1 = $k$0 + 2 | 0; } + $18 = $$pre; + $j$3 = $j$3 + 1 | 0; + $k$0 = $k$1; + } + if (($k$0 | 0) < 6) { + label = 40; break; } - default: - $$2 = $$097; - } while (0); - $$0104 = $$0104 + 1 | 0; - $$097 = $$2; - } - $25 = HEAP8[$15 >> 0] | 0; - $26 = $25 << 24 >> 24 < 0; - $29 = $26 ? HEAP32[$16 >> 2] | 0 : $25 & 255; - if ($29 >>> 0 > 1) { - $$pn = $26 ? HEAP32[$13 >> 2] | 0 : $13; - $144 = $$pn + $29 | 0; - $$0$i$i = HEAP32[$2 >> 2] | 0; - $$pn$pn = $$pn; + if ((_icpGetDeltaS($dS, $call15, $call, $k$0) | 0) < 0) { + label = 42; + break; + } + _icpUpdateMat($matXw2Xc, $dS) | 0; + $err0$0 = $div119; + $i$1 = $i$1 + 1 | 0; + } + if ((label | 0) == 20) { + _icpGetXw2XcCleanup_221($call, $call15, $call22, $call29); + $retval$0 = -1; + break; + } else if ((label | 0) == 36) { + _icpGetXw2XcCleanup_221($call, $call15, $call22, $call29); + $retval$0 = -1; + break; + } else if ((label | 0) == 40) { + _icpGetXw2XcCleanup_221($call, $call15, $call22, $call29); + $retval$0 = -1; + break; + } else if ((label | 0) == 42) { + _icpGetXw2XcCleanup_221($call, $call15, $call22, $call29); + $retval$0 = -1; + break; + } else if ((label | 0) == 44) { + HEAPF64[$err >> 3] = $div119; + _free($call); + _free($call15); + _free($call22); + _free($call29); + $retval$0 = 0; + break; + } + } else $retval$0 = -1; while (0); + STACKTOP = sp; + return $retval$0 | 0; +} + +function __ZN6vision14BinarykMedoidsILi96EE6assignEPKhiPKii($this, $features, $num_features, $indices, $num_indices) { + $this = $this | 0; + $features = $features | 0; + $num_features = $num_features | 0; + $indices = $indices | 0; + $num_indices = $num_indices | 0; + var $0 = 0, $13 = 0, $7 = 0, $__end_$i = 0, $__end_$i42 = 0, $best_dist$0 = 0, $best_dist$1 = 0, $call$i1$i = 0, $call$i1$i55 = 0, $call$i1$i64 = 0, $call$i1$i72 = 0, $call$i1$i80 = 0, $call$i2$i = 0, $call$i2$i58 = 0, $call$i2$i67 = 0, $call$i2$i75 = 0, $call$i2$i83 = 0, $call17 = 0, $call29 = 0, $call42 = 0, $call62 = 0, $call7 = 0, $call84 = 0, $i$0 = 0, $mAssignment = 0, $mCenters = 0, $mHypAssignment = 0, $mK = 0, $mNumHypotheses = 0, $mRandIndices = 0, $ref$tmp$i79 = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $ref$tmp$i79 = sp; + $mK = $this + 4 | 0; + $0 = HEAP32[$mK >> 2] | 0; + $mCenters = $this + 12 | 0; + $__end_$i = $this + 16 | 0; + if (($0 | 0) != ((HEAP32[$__end_$i >> 2] | 0) - (HEAP32[$mCenters >> 2] | 0) >> 2 | 0)) { + $call7 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 33966) | 0, 34011) | 0, 39794) | 0, 154) | 0, 39801) | 0, 34121) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i79, $call7 + (HEAP32[(HEAP32[$call7 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i72 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i79, 67360) | 0; + $call$i2$i75 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i72 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i72, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i79); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call7, $call$i2$i75) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call7) | 0; + _abort(); + } + if (($num_features | 0) <= 0) { + $call17 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 34166) | 0, 34011) | 0, 39794) | 0, 155) | 0, 39801) | 0, 34206) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i79, $call17 + (HEAP32[(HEAP32[$call17 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i80 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i79, 67360) | 0; + $call$i2$i83 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i80 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i80, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i79); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call17, $call$i2$i83) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call17) | 0; + _abort(); + } + if (($num_indices | 0) > ($num_features | 0)) { + $call29 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 34242) | 0, 34011) | 0, 39794) | 0, 156) | 0, 39801) | 0, 34293) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i79, $call29 + (HEAP32[(HEAP32[$call29 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i55 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i79, 67360) | 0; + $call$i2$i58 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i55 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i55, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i79); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call29, $call$i2$i58) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call29) | 0; + _abort(); + } + if (($0 | 0) > ($num_indices | 0)) { + $call42 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 34320) | 0, 34011) | 0, 39794) | 0, 157) | 0, 39801) | 0, 34361) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i79, $call42 + (HEAP32[(HEAP32[$call42 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i79, 67360) | 0; + $call$i2$i = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i >> 2] | 0) + 28 >> 2] & 127]($call$i1$i, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i79); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call42, $call$i2$i) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call42) | 0; + _abort(); + } + $mAssignment = $this + 24 | 0; + HEAP32[$ref$tmp$i79 >> 2] = -1; + __ZNSt3__26vectorIiNS_9allocatorIiEEE6resizeEmRKi($mAssignment, $num_indices, $ref$tmp$i79); + $mHypAssignment = $this + 36 | 0; + HEAP32[$ref$tmp$i79 >> 2] = -1; + __ZNSt3__26vectorIiNS_9allocatorIiEEE6resizeEmRKi($mHypAssignment, $num_indices, $ref$tmp$i79); + $mRandIndices = $this + 48 | 0; + __ZNSt3__26vectorIiNS_9allocatorIiEEE6resizeEm($mRandIndices, $num_indices); + $7 = HEAP32[$mRandIndices >> 2] | 0; + $__end_$i42 = $this + 52 | 0; + __ZN6vision16SequentialVectorIiEEvPT_iS1_($7, (HEAP32[$__end_$i42 >> 2] | 0) - $7 >> 2, 0); + $mNumHypotheses = $this + 8 | 0; + $best_dist$0 = -1; + $i$0 = 0; + while (1) { + if (($i$0 | 0) >= (HEAP32[$mNumHypotheses >> 2] | 0)) break; + $13 = HEAP32[$mRandIndices >> 2] | 0; + __ZN6vision12ArrayShuffleIiEEvPT_iiRi($13, (HEAP32[$__end_$i42 >> 2] | 0) - $13 >> 2, HEAP32[$mK >> 2] | 0, HEAP32[$this >> 2] | 0); + $call62 = __ZN6vision14BinarykMedoidsILi96EE6assignERNSt3__26vectorIiNS2_9allocatorIiEEEEPKhiPKiiSB_i($this, $mHypAssignment, $features, $num_features, $indices, $num_indices, HEAP32[$mRandIndices >> 2] | 0, HEAP32[$mK >> 2] | 0) | 0; + if ($call62 >>> 0 < $best_dist$0 >>> 0) { + __ZNSt3__26vectorIiNS_9allocatorIiEEE4swapERS3_($mAssignment, $mHypAssignment); + __ZN6vision10CopyVectorIiEEvPT_PKS1_m(HEAP32[$mCenters >> 2] | 0, HEAP32[$mRandIndices >> 2] | 0, HEAP32[$mK >> 2] | 0); + $best_dist$1 = $call62; + } else $best_dist$1 = $best_dist$0; + $best_dist$0 = $best_dist$1; + $i$0 = $i$0 + 1 | 0; + } + if ((HEAP32[$mK >> 2] | 0) == ((HEAP32[$__end_$i >> 2] | 0) - (HEAP32[$mCenters >> 2] | 0) >> 2 | 0)) { + STACKTOP = sp; + return; + } else { + $call84 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 33966) | 0, 34011) | 0, 39794) | 0, 187) | 0, 39801) | 0, 34121) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i79, $call84 + (HEAP32[(HEAP32[$call84 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i64 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i79, 67360) | 0; + $call$i2$i67 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i64 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i64, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i79); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call84, $call$i2$i67) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call84) | 0; + _abort(); + } +} + +function __ZN6vision16PruneDoGFeaturesERNSt3__26vectorINS1_INS1_INS0_4pairIfmEENS0_9allocatorIS3_EEEENS4_IS6_EEEENS4_IS8_EEEERNS1_INS_25DoGScaleInvariantDetector12FeaturePointENS4_ISD_EEEERKSF_iiiii($buckets, $outPoints, $inPoints, $num_buckets_X, $num_buckets_Y, $width, $height, $max_points) { + $buckets = $buckets | 0; + $outPoints = $outPoints | 0; + $inPoints = $inPoints | 0; + $num_buckets_X = $num_buckets_X | 0; + $num_buckets_Y = $num_buckets_Y | 0; + $width = $width | 0; + $height = $height | 0; + $max_points = $max_points | 0; + var $$cast = 0, $$pre = 0, $$pre123 = 0, $$pre123124 = 0, $$pre123125 = 0, $$sroa$speculated = 0, $0 = 0.0, $1 = 0.0, $10 = 0, $11 = 0, $12 = 0, $16 = 0, $18 = 0.0, $19 = 0, $21 = 0, $26 = 0, $27 = 0, $33 = 0, $34 = 0, $36 = 0, $37 = 0, $39 = 0, $4 = 0, $40 = 0, $44 = 0, $45 = 0, $52 = 0, $55 = 0, $6 = 0, $7 = 0, $__end_$i$i$i = 0, $__end_$i103 = 0, $__end_$i55 = 0, $__end_$i66 = 0, $__end_$i88 = 0, $__value_$i$i$i$i = 0, $agg$tmp$i = 0, $agg$tmp$i$byval_copy = 0, $agg$tmp1$i = 0, $agg$tmp1$i$byval_copy = 0, $agg$tmp2$i = 0, $agg$tmp2$i$byval_copy = 0, $agg$tmp7084 = 0, $arrayidx$i = 0, $arrayidx$i92 = 0, $call$i1$i$i = 0, $call$i2$i$i = 0, $call84 = 0, $conv28 = 0.0, $conv31 = 0.0, $conv33 = 0, $div = 0, $i$0 = 0, $i41$0 = 0, $j$0 = 0, $j47$0 = 0, $k$0 = 0, $mul = 0, $second$i$i = 0, $storemerge = 0, $sub$ptr$div$i = 0, $sub$ptr$div$i60 = 0, $sub$ptr$div$i90 = 0, dest = 0, label = 0, sp = 0, src = 0, stop = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 48 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); + $agg$tmp2$i$byval_copy = sp + 8 | 0; + $agg$tmp1$i$byval_copy = sp + 32 | 0; + $agg$tmp$i$byval_copy = sp + 28 | 0; + $agg$tmp$i = sp + 24 | 0; + $agg$tmp1$i = sp + 20 | 0; + $agg$tmp2$i = sp + 16 | 0; + $agg$tmp7084 = sp; + $mul = Math_imul($num_buckets_Y, $num_buckets_X) | 0; + $0 = +Math_ceil(+(+($width | 0) / +($num_buckets_X | 0))); + $1 = +Math_ceil(+(+($height | 0) / +($num_buckets_Y | 0))); + $__end_$i$i$i = $outPoints + 4 | 0; + HEAP32[$__end_$i$i$i >> 2] = HEAP32[$outPoints >> 2]; + __ZNSt3__26vectorIN6vision25DoGScaleInvariantDetector12FeaturePointENS_9allocatorIS3_EEE7reserveEm($outPoints, $max_points); + $__end_$i55 = $buckets + 4 | 0; + $4 = HEAP32[$buckets >> 2] | 0; + $sub$ptr$div$i = ((HEAP32[$__end_$i55 >> 2] | 0) - $4 | 0) / 12 | 0; + $$cast = $4; + $i$0 = 0; + while (1) { + if (($i$0 | 0) == ($sub$ptr$div$i | 0)) break; + $6 = HEAP32[$$cast + ($i$0 * 12 | 0) >> 2] | 0; + $sub$ptr$div$i60 = ((HEAP32[$$cast + ($i$0 * 12 | 0) + 4 >> 2] | 0) - $6 | 0) / 12 | 0; + $7 = $6; + $j$0 = 0; while (1) { - $$sroa$08$0$i = $$pn$pn + 1 | 0; - if (($$sroa$08$0$i | 0) == ($144 | 0)) break; - HEAP8[$$0$i$i >> 0] = HEAP8[$$sroa$08$0$i >> 0] | 0; - $$0$i$i = $$0$i$i + 1 | 0; - $$pn$pn = $$sroa$08$0$i; + if (($j$0 | 0) == ($sub$ptr$div$i60 | 0)) break; + HEAP32[$7 + ($j$0 * 12 | 0) + 4 >> 2] = HEAP32[$7 + ($j$0 * 12 | 0) >> 2]; + $j$0 = $j$0 + 1 | 0; } - HEAP32[$2 >> 2] = $$0$i$i; + $i$0 = $i$0 + 1 | 0; } - switch (($3 & 176) << 24 >> 24) { - case 32: - { - HEAP32[$1 >> 2] = HEAP32[$2 >> 2]; + $div = ($max_points | 0) / ($mul | 0) | 0; + $__end_$i66 = $inPoints + 4 | 0; + $conv28 = +(~~$0 | 0); + $conv31 = +(~~$1 | 0); + $second$i$i = $agg$tmp2$i$byval_copy + 4 | 0; + $storemerge = 0; + while (1) { + $10 = HEAP32[$inPoints >> 2] | 0; + $11 = $10; + if ($storemerge >>> 0 >= (((HEAP32[$__end_$i66 >> 2] | 0) - $10 | 0) / 36 | 0) >>> 0) break; + $conv33 = ~~(+HEAPF32[$11 + ($storemerge * 36 | 0) + 4 >> 2] / $conv31); + $16 = HEAP32[(HEAP32[$buckets >> 2] | 0) + (~~(+HEAPF32[$11 + ($storemerge * 36 | 0) >> 2] / $conv28) * 12 | 0) >> 2] | 0; + $18 = +Math_abs(+(+HEAPF32[$11 + ($storemerge * 36 | 0) + 24 >> 2])); + HEAPF32[$agg$tmp2$i$byval_copy >> 2] = $18; + HEAP32[$second$i$i >> 2] = $storemerge; + $__end_$i103 = $16 + ($conv33 * 12 | 0) + 4 | 0; + $19 = HEAP32[$__end_$i103 >> 2] | 0; + if ($19 >>> 0 < (HEAP32[$16 + ($conv33 * 12 | 0) + 8 >> 2] | 0) >>> 0) { + $21 = $agg$tmp2$i$byval_copy; + $26 = HEAP32[$21 + 4 >> 2] | 0; + $27 = $19; + HEAP32[$27 >> 2] = HEAP32[$21 >> 2]; + HEAP32[$27 + 4 >> 2] = $26; + HEAP32[$__end_$i103 >> 2] = (HEAP32[$__end_$i103 >> 2] | 0) + 8; + } else __ZNSt3__26vectorINS_4pairIfmEENS_9allocatorIS2_EEE21__push_back_slow_pathIS2_EEvOT_($16 + ($conv33 * 12 | 0) | 0, $agg$tmp2$i$byval_copy); + $storemerge = $storemerge + 1 | 0; + } + $__value_$i$i$i$i = $outPoints + 8 | 0; + $$pre = HEAP32[$buckets >> 2] | 0; + $12 = $$pre; + $$pre123124 = $12; + $33 = $$pre; + $55 = $12; + $i41$0 = 0; + L17 : while (1) { + if ($i41$0 >>> 0 >= (((HEAP32[$__end_$i55 >> 2] | 0) - $33 | 0) / 12 | 0) >>> 0) { + label = 16; break; } - case 16: - break; - default: - HEAP32[$1 >> 2] = $0; + $$pre123125 = $$pre123124; + $34 = $55; + $j47$0 = 0; + while (1) { + $36 = HEAP32[$34 + ($i41$0 * 12 | 0) >> 2] | 0; + $37 = $36; + if ($j47$0 >>> 0 >= (((HEAP32[$34 + ($i41$0 * 12 | 0) + 4 >> 2] | 0) - $36 | 0) / 12 | 0) >>> 0) break; + $arrayidx$i92 = $37 + ($j47$0 * 12 | 0) | 0; + $__end_$i88 = $37 + ($j47$0 * 12 | 0) + 4 | 0; + $39 = HEAP32[$__end_$i88 >> 2] | 0; + $40 = HEAP32[$arrayidx$i92 >> 2] | 0; + $sub$ptr$div$i90 = $39 - $40 >> 3; + $$sroa$speculated = $div >>> 0 < $sub$ptr$div$i90 >>> 0 ? $div : $sub$ptr$div$i90; + if (!$$sroa$speculated) $$pre123 = $$pre123125; else { + HEAP32[$agg$tmp$i >> 2] = $40; + HEAP32[$agg$tmp1$i >> 2] = $40 + ($$sroa$speculated << 3); + HEAP32[$agg$tmp2$i >> 2] = $39; + HEAP32[$agg$tmp$i$byval_copy >> 2] = HEAP32[$agg$tmp$i >> 2]; + HEAP32[$agg$tmp1$i$byval_copy >> 2] = HEAP32[$agg$tmp1$i >> 2]; + HEAP32[$agg$tmp2$i$byval_copy >> 2] = HEAP32[$agg$tmp2$i >> 2]; + __ZNSt3__213__nth_elementIRNS_7greaterINS_4pairIfmEEEENS_11__wrap_iterIPS3_EEEEvT0_S9_S9_T_($agg$tmp$i$byval_copy, $agg$tmp1$i$byval_copy, $agg$tmp2$i$byval_copy, $agg$tmp7084); + $44 = HEAP32[$arrayidx$i92 >> 2] | 0; + $45 = $44; + if ($$sroa$speculated >>> 0 > (HEAP32[$__end_$i88 >> 2] | 0) - $44 >> 3 >>> 0 ? !(+HEAPF32[$45 >> 2] >= +HEAPF32[$45 + ($$sroa$speculated << 3) >> 2]) : 0) { + label = 23; + break L17; + } + $k$0 = 0; + while (1) { + if ($k$0 >>> 0 >= $$sroa$speculated >>> 0) break; + $arrayidx$i = (HEAP32[$inPoints >> 2] | 0) + ((HEAP32[(HEAP32[$arrayidx$i92 >> 2] | 0) + ($k$0 << 3) + 4 >> 2] | 0) * 36 | 0) | 0; + $52 = HEAP32[$__end_$i$i$i >> 2] | 0; + if (($52 | 0) == (HEAP32[$__value_$i$i$i$i >> 2] | 0)) __ZNSt3__26vectorIN6vision25DoGScaleInvariantDetector12FeaturePointENS_9allocatorIS3_EEE21__push_back_slow_pathIRKS3_EEvOT_($outPoints, $arrayidx$i); else { + dest = $52; + src = $arrayidx$i; + stop = dest + 36 | 0; + do { + HEAP32[dest >> 2] = HEAP32[src >> 2]; + dest = dest + 4 | 0; + src = src + 4 | 0; + } while ((dest | 0) < (stop | 0)); + HEAP32[$__end_$i$i$i >> 2] = (HEAP32[$__end_$i$i$i >> 2] | 0) + 36; + } + $k$0 = $k$0 + 1 | 0; + } + $$pre123 = HEAP32[$buckets >> 2] | 0; + } + $$pre123125 = $$pre123; + $34 = $$pre123; + $j47$0 = $j47$0 + 1 | 0; + } + $$pre123124 = $$pre123125; + $33 = $34; + $55 = $34; + $i41$0 = $i41$0 + 1 | 0; + } + if ((label | 0) == 16) { + STACKTOP = sp; + return; + } else if ((label | 0) == 23) { + $call84 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 28319) | 0, 26748) | 0, 39794) | 0, 661) | 0, 39801) | 0, 28377) | 0; + __ZNKSt3__28ios_base6getlocEv($agg$tmp2$i$byval_copy, $call84 + (HEAP32[(HEAP32[$call84 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i$i = __ZNKSt3__26locale9use_facetERNS0_2idE($agg$tmp2$i$byval_copy, 67360) | 0; + $call$i2$i$i = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i$i >> 2] | 0) + 28 >> 2] & 127]($call$i1$i$i, 10) | 0; + __ZNSt3__26localeD2Ev($agg$tmp2$i$byval_copy); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call84, $call$i2$i$i) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call84) | 0; + _abort(); } +} + +function __ZN46EmscriptenBindingInitializer_constant_bindingsC2Ev($this) { + $this = $this | 0; + var $ref$tmp = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $ref$tmp = sp; + __ZN10emscripten8functionIiJiiiEJEEEvPKcPFT_DpT0_EDpT1_(39967, 26); + __ZN10emscripten8functionIiJiEJEEEvPKcPFT_DpT0_EDpT1_(39973, 67); + __ZN10emscripten8functionIiJiEJEEEvPKcPFT_DpT0_EDpT1_(39982, 68); + __ZN10emscripten8functionIiJiNSt3__212basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEJEEEvPKcPFT_DpT0_EDpT1_(39991, 44); + __ZN10emscripten8functionIiJiNSt3__212basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEJEEEvPKcPFT_DpT0_EDpT1_(40002, 45); + __ZN10emscripten8functionIiJiNSt3__212basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEJEEEvPKcPFT_DpT0_EDpT1_(40018, 46); + __ZN10emscripten8functionIiJiiEJEEEvPKcPFT_DpT0_EDpT1_(40032, 47); + __ZN10emscripten8functionIiJiEJEEEvPKcPFT_DpT0_EDpT1_(40050, 69); + __ZN10emscripten8functionIiJNSt3__212basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEJEEEvPKcPFT_DpT0_EDpT1_(40070, 70); + __ZN10emscripten8functionIiJiiiEJEEEvPKcPFT_DpT0_EDpT1_(40082, 27); + __ZN10emscripten8functionIiJiiEJEEEvPKcPFT_DpT0_EDpT1_(40099, 48); + __ZN10emscripten8functionIiJiiiEJEEEvPKcPFT_DpT0_EDpT1_(40119, 28); + __ZN10emscripten8functionIiJiiiEJEEEvPKcPFT_DpT0_EDpT1_(40137, 29); + __ZN10emscripten8functionIiJiiEJEEEvPKcPFT_DpT0_EDpT1_(40159, 49); + __ZN10emscripten8functionIiJiiEJEEEvPKcPFT_DpT0_EDpT1_(40182, 50); + __ZN10emscripten8functionIiJiEJEEEvPKcPFT_DpT0_EDpT1_(40211, 71); + __ZN10emscripten8functionIiJiEJEEEvPKcPFT_DpT0_EDpT1_(40224, 72); + __ZN10emscripten8functionIiJiEJEEEvPKcPFT_DpT0_EDpT1_(40237, 73); + __ZN10emscripten8functionIiJiiiEJEEEvPKcPFT_DpT0_EDpT1_(40253, 30); + __ZN10emscripten8functionIiJiiEJEEEvPKcPFT_DpT0_EDpT1_(40272, 51); + __ZN10emscripten8functionIiJiiEJEEEvPKcPFT_DpT0_EDpT1_(40282, 52); + __ZN10emscripten8functionIiJiiEJEEEvPKcPFT_DpT0_EDpT1_(40295, 53); + __ZN10emscripten8functionIiJiEJEEEvPKcPFT_DpT0_EDpT1_(40308, 74); + __ZN10emscripten8functionIiJiEJEEEvPKcPFT_DpT0_EDpT1_(40321, 75); + __ZN10emscripten8functionIvJiEJEEEvPKcPFT_DpT0_EDpT1_(40340, 183); + __ZN10emscripten8functionIiJEJEEEvPKcPFT_DpT0_EDpT1_(40352, 1); + __ZN10emscripten8functionIvJidEJEEEvPKcPFT_DpT0_EDpT1_(40364, 1); + __ZN10emscripten8functionIdJiEJEEEvPKcPFT_DpT0_EDpT1_(40387, 1); + __ZN10emscripten8functionIvJidEJEEEvPKcPFT_DpT0_EDpT1_(40410, 2); + __ZN10emscripten8functionIdJiEJEEEvPKcPFT_DpT0_EDpT1_(40432, 2); + __ZN10emscripten8functionIvJiiEJEEEvPKcPFT_DpT0_EDpT1_(40454, 126); + __ZN10emscripten8functionIiJiEJEEEvPKcPFT_DpT0_EDpT1_(40471, 76); + __ZN10emscripten8functionIvJiiEJEEEvPKcPFT_DpT0_EDpT1_(40488, 127); + __ZN10emscripten8functionIiJiEJEEEvPKcPFT_DpT0_EDpT1_(40501, 77); + __ZN10emscripten8functionIvJiiEJEEEvPKcPFT_DpT0_EDpT1_(40514, 128); + __ZN10emscripten8functionIiJiEJEEEvPKcPFT_DpT0_EDpT1_(40538, 78); + __ZN10emscripten8functionIvJifEJEEEvPKcPFT_DpT0_EDpT1_(40562, 3); + __ZN10emscripten8functionIdJiEJEEEvPKcPFT_DpT0_EDpT1_(40575, 3); + __ZN10emscripten8functionIvJiiEJEEEvPKcPFT_DpT0_EDpT1_(40588, 129); + __ZN10emscripten8functionIiJiEJEEEvPKcPFT_DpT0_EDpT1_(40606, 79); + __ZN10emscripten8functionIvJiiEJEEEvPKcPFT_DpT0_EDpT1_(40624, 130); + __ZN10emscripten8functionIiJiEJEEEvPKcPFT_DpT0_EDpT1_(40640, 80); + __ZN10emscripten8functionIvJiiEJEEEvPKcPFT_DpT0_EDpT1_(40656, 131); + __ZN10emscripten8functionIiJiEJEEEvPKcPFT_DpT0_EDpT1_(40673, 81); + __ZN10emscripten8constantIiEEvPKcRKT_(40690, 16896); + __ZN10emscripten8constantIiEEvPKcRKT_(40719, 16900); + __ZN10emscripten8constantIiEEvPKcRKT_(40747, 16904); + HEAP32[$ref$tmp >> 2] = 0; + __ZN10emscripten8constantIiEEvPKcRKT_(40780, $ref$tmp); + HEAP32[$ref$tmp >> 2] = 1; + __ZN10emscripten8constantIiEEvPKcRKT_(40797, $ref$tmp); + HEAP32[$ref$tmp >> 2] = 0; + __ZN10emscripten8constantIiEEvPKcRKT_(40813, $ref$tmp); + HEAP32[$ref$tmp >> 2] = 0; + __ZN10emscripten8constantIiEEvPKcRKT_(40835, $ref$tmp); + HEAP32[$ref$tmp >> 2] = 1; + __ZN10emscripten8constantIiEEvPKcRKT_(40860, $ref$tmp); + HEAP32[$ref$tmp >> 2] = 1; + __ZN10emscripten8constantIiEEvPKcRKT_(40885, $ref$tmp); + HEAP32[$ref$tmp >> 2] = 100; + __ZN10emscripten8constantIiEEvPKcRKT_(40910, $ref$tmp); + HEAP32[$ref$tmp >> 2] = 0; + __ZN10emscripten8constantIiEEvPKcRKT_(40937, $ref$tmp); + HEAP32[$ref$tmp >> 2] = 1; + __ZN10emscripten8constantIiEEvPKcRKT_(40963, $ref$tmp); + HEAP32[$ref$tmp >> 2] = 0; + __ZN10emscripten8constantIiEEvPKcRKT_(40989, $ref$tmp); + HEAP32[$ref$tmp >> 2] = 0; + __ZN10emscripten8constantIiEEvPKcRKT_(41016, $ref$tmp); + HEAP32[$ref$tmp >> 2] = 1; + __ZN10emscripten8constantIiEEvPKcRKT_(41043, $ref$tmp); + HEAP32[$ref$tmp >> 2] = 2; + __ZN10emscripten8constantIiEEvPKcRKT_(41069, $ref$tmp); + HEAP32[$ref$tmp >> 2] = 3; + __ZN10emscripten8constantIiEEvPKcRKT_(41094, $ref$tmp); + HEAP32[$ref$tmp >> 2] = 4; + __ZN10emscripten8constantIiEEvPKcRKT_(41132, $ref$tmp); + HEAP32[$ref$tmp >> 2] = 0; + __ZN10emscripten8constantIiEEvPKcRKT_(41169, $ref$tmp); + HEAP32[$ref$tmp >> 2] = 0; + __ZN10emscripten8constantIiEEvPKcRKT_(41203, $ref$tmp); + HEAP32[$ref$tmp >> 2] = 1; + __ZN10emscripten8constantIiEEvPKcRKT_(41227, $ref$tmp); + HEAP32[$ref$tmp >> 2] = 2; + __ZN10emscripten8constantIiEEvPKcRKT_(41253, $ref$tmp); + HEAP32[$ref$tmp >> 2] = 2; + __ZN10emscripten8constantIiEEvPKcRKT_(41280, $ref$tmp); + HEAP32[$ref$tmp >> 2] = 5; + __ZN10emscripten8constantIiEEvPKcRKT_(41314, $ref$tmp); + HEAPF64[$ref$tmp >> 3] = .5; + __ZN10emscripten8constantIdEEvPKcRKT_(41332, $ref$tmp); + HEAP32[$ref$tmp >> 2] = 0; + __ZN10emscripten8constantIiEEvPKcRKT_(41353, $ref$tmp); + HEAP32[$ref$tmp >> 2] = 1; + __ZN10emscripten8constantIiEEvPKcRKT_(41372, $ref$tmp); + HEAP32[$ref$tmp >> 2] = 2; + __ZN10emscripten8constantIiEEvPKcRKT_(41390, $ref$tmp); + HEAP32[$ref$tmp >> 2] = 3; + __ZN10emscripten8constantIiEEvPKcRKT_(41408, $ref$tmp); + HEAP32[$ref$tmp >> 2] = 4; + __ZN10emscripten8constantIiEEvPKcRKT_(41427, $ref$tmp); + HEAP32[$ref$tmp >> 2] = 3; + __ZN10emscripten8constantIiEEvPKcRKT_(41449, $ref$tmp); + HEAP32[$ref$tmp >> 2] = 515; + __ZN10emscripten8constantIiEEvPKcRKT_(41468, $ref$tmp); + HEAP32[$ref$tmp >> 2] = 259; + __ZN10emscripten8constantIiEEvPKcRKT_(41497, $ref$tmp); + HEAP32[$ref$tmp >> 2] = 4; + __ZN10emscripten8constantIiEEvPKcRKT_(41525, $ref$tmp); + HEAP32[$ref$tmp >> 2] = 772; + __ZN10emscripten8constantIiEEvPKcRKT_(41544, $ref$tmp); + HEAP32[$ref$tmp >> 2] = 1028; + __ZN10emscripten8constantIiEEvPKcRKT_(41574, $ref$tmp); + HEAP32[$ref$tmp >> 2] = 0; + __ZN10emscripten8constantIiEEvPKcRKT_(41604, $ref$tmp); + HEAP32[$ref$tmp >> 2] = 1; + __ZN10emscripten8constantIiEEvPKcRKT_(41635, $ref$tmp); + HEAP32[$ref$tmp >> 2] = 2; + __ZN10emscripten8constantIiEEvPKcRKT_(41671, $ref$tmp); + HEAP32[$ref$tmp >> 2] = 3; + __ZN10emscripten8constantIiEEvPKcRKT_(41705, $ref$tmp); + HEAP32[$ref$tmp >> 2] = 0; + __ZN10emscripten8constantIiEEvPKcRKT_(41743, $ref$tmp); + HEAP32[$ref$tmp >> 2] = 1; + __ZN10emscripten8constantIiEEvPKcRKT_(41776, $ref$tmp); + HEAP32[$ref$tmp >> 2] = 2; + __ZN10emscripten8constantIiEEvPKcRKT_(41823, $ref$tmp); + HEAP32[$ref$tmp >> 2] = 3; + __ZN10emscripten8constantIiEEvPKcRKT_(41865, $ref$tmp); + HEAP32[$ref$tmp >> 2] = 4; + __ZN10emscripten8constantIiEEvPKcRKT_(41908, $ref$tmp); + HEAP32[$ref$tmp >> 2] = 5; + __ZN10emscripten8constantIiEEvPKcRKT_(41960, $ref$tmp); + HEAP32[$ref$tmp >> 2] = 6; + __ZN10emscripten8constantIiEEvPKcRKT_(42011, $ref$tmp); + HEAP32[$ref$tmp >> 2] = 7; + __ZN10emscripten8constantIiEEvPKcRKT_(42056, $ref$tmp); + HEAP32[$ref$tmp >> 2] = 8; + __ZN10emscripten8constantIiEEvPKcRKT_(42095, $ref$tmp); + HEAP32[$ref$tmp >> 2] = 9; + __ZN10emscripten8constantIiEEvPKcRKT_(42140, $ref$tmp); + HEAPF64[$ref$tmp >> 3] = 30.0; + __ZN10emscripten8constantIdEEvPKcRKT_(42203, $ref$tmp); + HEAPF64[$ref$tmp >> 3] = 15.0; + __ZN10emscripten8constantIdEEvPKcRKT_(42243, $ref$tmp); + STACKTOP = sp; return; } -function __ZNSt3__220__get_up_to_n_digitsIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEEiRT0_S5_RjRKNS_5ctypeIT_EEi($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $$0 = 0, $$0$i$i = 0, $$0$i$i$i$i = 0, $$0$i$i$i$i25 = 0, $$0$i$i$i$i40 = 0, $$0$i$i2$i$i = 0, $$0$i$i2$i$i31 = 0, $$0$i$i2$i$i46 = 0, $$0$i$i36 = 0, $$0$in = 0, $$023 = 0, $$023$in = 0, $$2 = 0, $107 = 0, $108 = 0, $111 = 0, $113 = 0, $123 = 0, $137 = 0, $138 = 0, $139 = 0, $140 = 0, $151 = 0, $164 = 0, $166 = 0, $180 = 0, $181 = 0, $182 = 0, $183 = 0, $184 = 0, $20 = 0, $23 = 0, $37 = 0, $39 = 0, $49 = 0, $5 = 0, $52 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $76 = 0, $79 = 0, $8 = 0, $92 = 0, $94 = 0, label = 0; - $5 = HEAP32[$0 >> 2] | 0; - do if ($5) { - $8 = HEAP32[$5 + 12 >> 2] | 0; - if (($8 | 0) == (HEAP32[$5 + 16 >> 2] | 0)) $$0$i$i$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$5 >> 2] | 0) + 36 >> 2] & 127]($5) | 0; else $$0$i$i$i$i = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$8 >> 0] | 0) | 0; - if (__ZNSt3__211char_traitsIcE11eq_int_typeEii($$0$i$i$i$i, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { - HEAP32[$0 >> 2] = 0; - $180 = 1; - break; +function _jpeg_idct_8x16($cinfo, $compptr, $coef_block, $output_buf, $output_col) { + $cinfo = $cinfo | 0; + $compptr = $compptr | 0; + $coef_block = $coef_block | 0; + $output_buf = $output_buf | 0; + $output_col = $output_col | 0; + var $0 = 0, $26 = 0, $27 = 0, $28 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $add = 0, $add$ptr = 0, $add$ptr163 = 0, $add102 = 0, $add103 = 0, $add106 = 0, $add107 = 0, $add165 = 0, $add176 = 0, $add179 = 0, $add181 = 0, $add187 = 0, $add188 = 0, $add193 = 0, $add194 = 0, $add200 = 0, $add202 = 0, $add208 = 0, $add210 = 0, $add23 = 0, $add25 = 0, $add30 = 0, $add32 = 0, $add34 = 0, $add36 = 0, $add54 = 0, $add8 = 0, $add89 = 0, $add9 = 0, $add91 = 0, $add99 = 0, $ctr$0271 = 0, $ctr$1267 = 0, $inptr$0268 = 0, $mul101 = 0, $mul105 = 0, $mul14 = 0, $mul174 = 0, $mul18 = 0, $mul190 = 0, $mul196 = 0, $mul20 = 0, $mul204 = 0, $mul21 = 0, $mul41 = 0, $mul45 = 0, $mul49 = 0, $mul5 = 0, $mul53 = 0, $mul56 = 0, $mul57 = 0, $mul59 = 0, $mul6 = 0, $mul61 = 0, $mul62 = 0, $mul64 = 0, $mul7 = 0, $mul74 = 0, $mul82 = 0, $mul90 = 0, $mul95 = 0, $quantptr$0269 = 0, $shl168 = 0, $shl170 = 0, $sub = 0, $sub10 = 0, $sub178 = 0, $sub180 = 0, $sub182 = 0, $sub19 = 0, $sub27 = 0, $sub29 = 0, $sub31 = 0, $sub33 = 0, $sub35 = 0, $sub37 = 0, $sub68 = 0, $sub72 = 0, $workspace = 0, $wsptr$0270 = 0, $wsptr$1266 = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 512 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(512); + $workspace = sp; + $0 = HEAP32[$cinfo + 336 >> 2] | 0; + $ctr$0271 = 0; + $inptr$0268 = $coef_block; + $quantptr$0269 = HEAP32[$compptr + 84 >> 2] | 0; + $wsptr$0270 = $workspace; + while (1) { + $add = Math_imul(HEAP16[$inptr$0268 >> 1] << 13, HEAP32[$quantptr$0269 >> 2] | 0) | 0 | 1024; + $mul5 = Math_imul(HEAP32[$quantptr$0269 + 128 >> 2] | 0, HEAP16[$inptr$0268 + 64 >> 1] | 0) | 0; + $mul6 = $mul5 * 10703 | 0; + $mul7 = $mul5 * 4433 | 0; + $add8 = $mul6 + $add | 0; + $sub = $add - $mul6 | 0; + $add9 = $mul7 + $add | 0; + $sub10 = $add - $mul7 | 0; + $mul14 = Math_imul(HEAP32[$quantptr$0269 + 64 >> 2] | 0, HEAP16[$inptr$0268 + 32 >> 1] | 0) | 0; + $mul18 = Math_imul(HEAP32[$quantptr$0269 + 192 >> 2] | 0, HEAP16[$inptr$0268 + 96 >> 1] | 0) | 0; + $sub19 = $mul14 - $mul18 | 0; + $mul20 = $sub19 * 2260 | 0; + $mul21 = $sub19 * 11363 | 0; + $add23 = $mul21 + ($mul18 * 20995 | 0) | 0; + $add25 = $mul20 + ($mul14 * 7373 | 0) | 0; + $sub27 = $mul21 + (Math_imul($mul14, -4926) | 0) | 0; + $sub29 = $mul20 + (Math_imul($mul18, -4176) | 0) | 0; + $add30 = $add23 + $add8 | 0; + $sub31 = $add8 - $add23 | 0; + $add32 = $add25 + $add9 | 0; + $sub33 = $add9 - $add25 | 0; + $add34 = $sub27 + $sub10 | 0; + $sub35 = $sub10 - $sub27 | 0; + $add36 = $sub29 + $sub | 0; + $sub37 = $sub - $sub29 | 0; + $mul41 = Math_imul(HEAP32[$quantptr$0269 + 32 >> 2] | 0, HEAP16[$inptr$0268 + 16 >> 1] | 0) | 0; + $mul45 = Math_imul(HEAP32[$quantptr$0269 + 96 >> 2] | 0, HEAP16[$inptr$0268 + 48 >> 1] | 0) | 0; + $mul49 = Math_imul(HEAP32[$quantptr$0269 + 160 >> 2] | 0, HEAP16[$inptr$0268 + 80 >> 1] | 0) | 0; + $mul53 = Math_imul(HEAP32[$quantptr$0269 + 224 >> 2] | 0, HEAP16[$inptr$0268 + 112 >> 1] | 0) | 0; + $add54 = $mul49 + $mul41 | 0; + $mul56 = ($mul45 + $mul41 | 0) * 11086 | 0; + $mul57 = $add54 * 10217 | 0; + $mul59 = ($mul53 + $mul41 | 0) * 8956 | 0; + $mul61 = ($mul41 - $mul53 | 0) * 7350 | 0; + $mul62 = $add54 * 5461 | 0; + $mul64 = ($mul41 - $mul45 | 0) * 3363 | 0; + $sub68 = $mul56 + (Math_imul($mul41, -18730) | 0) + $mul57 + $mul59 | 0; + $sub72 = $mul64 + (Math_imul($mul41, -15038) | 0) + $mul62 + $mul61 | 0; + $mul74 = ($mul49 + $mul45 | 0) * 1136 | 0; + $mul82 = ($mul49 - $mul45 | 0) * 11529 | 0; + $add89 = $mul53 + $mul45 | 0; + $mul90 = Math_imul($add89, -5461) | 0; + $add91 = $mul56 + ($mul45 * 589 | 0) + $mul74 + $mul90 | 0; + $mul95 = Math_imul($add89, -10217) | 0; + $add99 = $mul64 + ($mul45 * 16154 | 0) + $mul82 + $mul95 | 0; + $mul101 = Math_imul($mul53 + $mul49 | 0, -11086) | 0; + $add102 = $mul74 + (Math_imul($mul49, -9222) | 0) + $mul57 + $mul101 | 0; + $add103 = $mul90 + ($mul53 * 8728 | 0) + $mul59 + $mul101 | 0; + $mul105 = ($mul53 - $mul49 | 0) * 3363 | 0; + $add106 = $mul95 + ($mul53 * 25733 | 0) + $mul61 + $mul105 | 0; + $add107 = $mul82 + (Math_imul($mul49, -6278) | 0) + $mul62 + $mul105 | 0; + HEAP32[$wsptr$0270 >> 2] = $sub68 + $add30 >> 11; + HEAP32[$wsptr$0270 + 480 >> 2] = $add30 - $sub68 >> 11; + HEAP32[$wsptr$0270 + 32 >> 2] = $add91 + $add32 >> 11; + HEAP32[$wsptr$0270 + 448 >> 2] = $add32 - $add91 >> 11; + HEAP32[$wsptr$0270 + 64 >> 2] = $add102 + $add34 >> 11; + HEAP32[$wsptr$0270 + 416 >> 2] = $add34 - $add102 >> 11; + HEAP32[$wsptr$0270 + 96 >> 2] = $add103 + $add36 >> 11; + HEAP32[$wsptr$0270 + 384 >> 2] = $add36 - $add103 >> 11; + HEAP32[$wsptr$0270 + 128 >> 2] = $add106 + $sub37 >> 11; + HEAP32[$wsptr$0270 + 352 >> 2] = $sub37 - $add106 >> 11; + HEAP32[$wsptr$0270 + 160 >> 2] = $add107 + $sub35 >> 11; + HEAP32[$wsptr$0270 + 320 >> 2] = $sub35 - $add107 >> 11; + HEAP32[$wsptr$0270 + 192 >> 2] = $add99 + $sub33 >> 11; + HEAP32[$wsptr$0270 + 288 >> 2] = $sub33 - $add99 >> 11; + HEAP32[$wsptr$0270 + 224 >> 2] = $sub72 + $sub31 >> 11; + HEAP32[$wsptr$0270 + 256 >> 2] = $sub31 - $sub72 >> 11; + $ctr$0271 = $ctr$0271 + 1 | 0; + if (($ctr$0271 | 0) == 8) break; else { + $inptr$0268 = $inptr$0268 + 2 | 0; + $quantptr$0269 = $quantptr$0269 + 4 | 0; + $wsptr$0270 = $wsptr$0270 + 4 | 0; + } + } + $add$ptr = $0 + -384 | 0; + $ctr$1267 = 0; + $wsptr$1266 = $workspace; + while (1) { + $add$ptr163 = (HEAP32[$output_buf + ($ctr$1267 << 2) >> 2] | 0) + $output_col | 0; + $add165 = (HEAP32[$wsptr$1266 >> 2] | 0) + 16400 | 0; + $26 = HEAP32[$wsptr$1266 + 16 >> 2] | 0; + $shl168 = $add165 + $26 << 13; + $shl170 = $add165 - $26 << 13; + $27 = HEAP32[$wsptr$1266 + 8 >> 2] | 0; + $28 = HEAP32[$wsptr$1266 + 24 >> 2] | 0; + $mul174 = ($28 + $27 | 0) * 4433 | 0; + $add176 = $mul174 + ($27 * 6270 | 0) | 0; + $sub178 = $mul174 + (Math_imul($28, -15137) | 0) | 0; + $add179 = $add176 + $shl168 | 0; + $sub180 = $shl168 - $add176 | 0; + $add181 = $sub178 + $shl170 | 0; + $sub182 = $shl170 - $sub178 | 0; + $30 = HEAP32[$wsptr$1266 + 28 >> 2] | 0; + $31 = HEAP32[$wsptr$1266 + 20 >> 2] | 0; + $32 = HEAP32[$wsptr$1266 + 12 >> 2] | 0; + $33 = HEAP32[$wsptr$1266 + 4 >> 2] | 0; + $add187 = $32 + $30 | 0; + $add188 = $33 + $31 | 0; + $mul190 = ($add188 + $add187 | 0) * 9633 | 0; + $add193 = $mul190 + (Math_imul($add187, -16069) | 0) | 0; + $add194 = $mul190 + (Math_imul($add188, -3196) | 0) | 0; + $mul196 = Math_imul($33 + $30 | 0, -7373) | 0; + $add200 = $mul196 + ($30 * 2446 | 0) + $add193 | 0; + $add202 = $mul196 + ($33 * 12299 | 0) + $add194 | 0; + $mul204 = Math_imul($32 + $31 | 0, -20995) | 0; + $add208 = $mul204 + ($31 * 16819 | 0) + $add194 | 0; + $add210 = $mul204 + ($32 * 25172 | 0) + $add193 | 0; + HEAP8[$add$ptr163 >> 0] = HEAP8[$add$ptr + (($add202 + $add179 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr163 + 7 >> 0] = HEAP8[$add$ptr + (($add179 - $add202 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr163 + 1 >> 0] = HEAP8[$add$ptr + (($add210 + $add181 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr163 + 6 >> 0] = HEAP8[$add$ptr + (($add181 - $add210 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr163 + 2 >> 0] = HEAP8[$add$ptr + (($add208 + $sub182 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr163 + 5 >> 0] = HEAP8[$add$ptr + (($sub182 - $add208 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr163 + 3 >> 0] = HEAP8[$add$ptr + (($add200 + $sub180 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr163 + 4 >> 0] = HEAP8[$add$ptr + (($sub180 - $add200 | 0) >>> 18 & 1023) >> 0] | 0; + $ctr$1267 = $ctr$1267 + 1 | 0; + if (($ctr$1267 | 0) == 16) break; else $wsptr$1266 = $wsptr$1266 + 32 | 0; + } + STACKTOP = sp; + return; +} + +function _jpeg_idct_islow($cinfo, $compptr, $coef_block, $output_buf, $output_col) { + $cinfo = $cinfo | 0; + $compptr = $compptr | 0; + $coef_block = $coef_block | 0; + $output_buf = $output_buf | 0; + $output_col = $output_col | 0; + var $$sink = 0, $0 = 0, $17 = 0, $2 = 0, $3 = 0, $31 = 0, $32 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $46 = 0, $47 = 0, $48 = 0, $add = 0, $add$ptr = 0, $add$ptr146 = 0, $add103 = 0, $add105 = 0, $add111 = 0, $add113 = 0, $add148 = 0, $add200 = 0, $add203 = 0, $add205 = 0, $add211 = 0, $add212 = 0, $add217 = 0, $add218 = 0, $add224 = 0, $add226 = 0, $add232 = 0, $add234 = 0, $add55 = 0, $add67 = 0, $add70 = 0, $add72 = 0, $add90 = 0, $add91 = 0, $add96 = 0, $add97 = 0, $ctr$0251 = 0, $ctr$1247 = 0, $inptr$0248 = 0, $mul107 = 0, $mul198 = 0, $mul214 = 0, $mul220 = 0, $mul228 = 0, $mul59 = 0, $mul63 = 0, $mul65 = 0, $mul77 = 0, $mul81 = 0, $mul85 = 0, $mul89 = 0, $mul93 = 0, $mul99 = 0, $quantptr$0249 = 0, $shl = 0, $shl192 = 0, $shl194 = 0, $shl54 = 0, $shr135$sink = 0, $sub = 0, $sub202 = 0, $sub204 = 0, $sub206 = 0, $sub69 = 0, $sub71 = 0, $sub73 = 0, $workspace = 0, $wsptr$0250 = 0, $wsptr$2246 = 0, label = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 256 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(256); + $workspace = sp; + $0 = HEAP32[$cinfo + 336 >> 2] | 0; + $ctr$0251 = 8; + $inptr$0248 = $coef_block; + $quantptr$0249 = HEAP32[$compptr + 84 >> 2] | 0; + $wsptr$0250 = $workspace; + while (1) { + $2 = HEAP16[$inptr$0248 + 16 >> 1] | 0; + $3 = HEAP16[$inptr$0248 + 32 >> 1] | 0; + if (!(($2 | $3) << 16 >> 16)) if (((((HEAP16[$inptr$0248 + 48 >> 1] | 0) == 0 ? (HEAP16[$inptr$0248 + 64 >> 1] | 0) == 0 : 0) ? (HEAP16[$inptr$0248 + 80 >> 1] | 0) == 0 : 0) ? (HEAP16[$inptr$0248 + 96 >> 1] | 0) == 0 : 0) ? (HEAP16[$inptr$0248 + 112 >> 1] | 0) == 0 : 0) { + $shl = Math_imul(HEAP16[$inptr$0248 >> 1] << 2, HEAP32[$quantptr$0249 >> 2] | 0) | 0; + HEAP32[$wsptr$0250 >> 2] = $shl; + HEAP32[$wsptr$0250 + 32 >> 2] = $shl; + HEAP32[$wsptr$0250 + 64 >> 2] = $shl; + HEAP32[$wsptr$0250 + 96 >> 2] = $shl; + HEAP32[$wsptr$0250 + 128 >> 2] = $shl; + HEAP32[$wsptr$0250 + 160 >> 2] = $shl; + HEAP32[$wsptr$0250 + 192 >> 2] = $shl; + $$sink = 56; + $shr135$sink = $shl; } else { - $180 = (HEAP32[$0 >> 2] | 0) == 0; - break; + $17 = 0; + label = 9; + } else { + $17 = $3; + label = 9; } - } else $180 = 1; while (0); - $20 = HEAP32[$1 >> 2] | 0; - do if ($20) { - $23 = HEAP32[$20 + 12 >> 2] | 0; - if (($23 | 0) == (HEAP32[$20 + 16 >> 2] | 0)) $$0$i$i2$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$20 >> 2] | 0) + 36 >> 2] & 127]($20) | 0; else $$0$i$i2$i$i = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$23 >> 0] | 0) | 0; - if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii($$0$i$i2$i$i, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if ($180) { - $181 = $20; - label = 17; - break; + if ((label | 0) == 9) { + label = 0; + $shl54 = Math_imul(HEAP16[$inptr$0248 + 64 >> 1] << 13, HEAP32[$quantptr$0249 + 128 >> 2] | 0) | 0; + $add = Math_imul(HEAP16[$inptr$0248 >> 1] << 13, HEAP32[$quantptr$0249 >> 2] | 0) | 0 | 1024; + $add55 = $shl54 + $add | 0; + $sub = $add - $shl54 | 0; + $mul59 = Math_imul(HEAP32[$quantptr$0249 + 64 >> 2] | 0, $17 << 16 >> 16) | 0; + $mul63 = Math_imul(HEAP32[$quantptr$0249 + 192 >> 2] | 0, HEAP16[$inptr$0248 + 96 >> 1] | 0) | 0; + $mul65 = ($mul63 + $mul59 | 0) * 4433 | 0; + $add67 = $mul65 + ($mul59 * 6270 | 0) | 0; + $sub69 = $mul65 + (Math_imul($mul63, -15137) | 0) | 0; + $add70 = $add67 + $add55 | 0; + $sub71 = $add55 - $add67 | 0; + $add72 = $sub69 + $sub | 0; + $sub73 = $sub - $sub69 | 0; + $mul77 = Math_imul(HEAP32[$quantptr$0249 + 224 >> 2] | 0, HEAP16[$inptr$0248 + 112 >> 1] | 0) | 0; + $mul81 = Math_imul(HEAP32[$quantptr$0249 + 160 >> 2] | 0, HEAP16[$inptr$0248 + 80 >> 1] | 0) | 0; + $mul85 = Math_imul(HEAP32[$quantptr$0249 + 96 >> 2] | 0, HEAP16[$inptr$0248 + 48 >> 1] | 0) | 0; + $mul89 = Math_imul(HEAP32[$quantptr$0249 + 32 >> 2] | 0, $2 << 16 >> 16) | 0; + $add90 = $mul85 + $mul77 | 0; + $add91 = $mul89 + $mul81 | 0; + $mul93 = ($add91 + $add90 | 0) * 9633 | 0; + $add96 = $mul93 + (Math_imul($add90, -16069) | 0) | 0; + $add97 = $mul93 + (Math_imul($add91, -3196) | 0) | 0; + $mul99 = Math_imul($mul89 + $mul77 | 0, -7373) | 0; + $add103 = $mul99 + ($mul77 * 2446 | 0) + $add96 | 0; + $add105 = $mul99 + ($mul89 * 12299 | 0) + $add97 | 0; + $mul107 = Math_imul($mul85 + $mul81 | 0, -20995) | 0; + $add111 = $mul107 + ($mul81 * 16819 | 0) + $add97 | 0; + $add113 = $mul107 + ($mul85 * 25172 | 0) + $add96 | 0; + HEAP32[$wsptr$0250 >> 2] = $add105 + $add70 >> 11; + HEAP32[$wsptr$0250 + 224 >> 2] = $add70 - $add105 >> 11; + HEAP32[$wsptr$0250 + 32 >> 2] = $add113 + $add72 >> 11; + HEAP32[$wsptr$0250 + 192 >> 2] = $add72 - $add113 >> 11; + HEAP32[$wsptr$0250 + 64 >> 2] = $add111 + $sub73 >> 11; + HEAP32[$wsptr$0250 + 160 >> 2] = $sub73 - $add111 >> 11; + HEAP32[$wsptr$0250 + 96 >> 2] = $add103 + $sub71 >> 11; + $$sink = 32; + $shr135$sink = $sub71 - $add103 >> 11; + } + HEAP32[$wsptr$0250 + ($$sink << 2) >> 2] = $shr135$sink; + if ($ctr$0251 >>> 0 > 1) { + $ctr$0251 = $ctr$0251 + -1 | 0; + $inptr$0248 = $inptr$0248 + 2 | 0; + $quantptr$0249 = $quantptr$0249 + 4 | 0; + $wsptr$0250 = $wsptr$0250 + 4 | 0; + } else break; + } + $add$ptr = $0 + -384 | 0; + $ctr$1247 = 0; + $wsptr$2246 = $workspace; + while (1) { + $add$ptr146 = (HEAP32[$output_buf + ($ctr$1247 << 2) >> 2] | 0) + $output_col | 0; + $add148 = (HEAP32[$wsptr$2246 >> 2] | 0) + 16400 | 0; + $31 = HEAP32[$wsptr$2246 + 4 >> 2] | 0; + $32 = HEAP32[$wsptr$2246 + 8 >> 2] | 0; + if (!($31 | $32)) if (((((HEAP32[$wsptr$2246 + 12 >> 2] | 0) == 0 ? (HEAP32[$wsptr$2246 + 16 >> 2] | 0) == 0 : 0) ? (HEAP32[$wsptr$2246 + 20 >> 2] | 0) == 0 : 0) ? (HEAP32[$wsptr$2246 + 24 >> 2] | 0) == 0 : 0) ? (HEAP32[$wsptr$2246 + 28 >> 2] | 0) == 0 : 0) { + $41 = HEAP8[$add$ptr + ($add148 >>> 5 & 1023) >> 0] | 0; + HEAP8[$add$ptr146 >> 0] = $41; + _memset($add$ptr146 + 1 | 0, $41 | 0, 7) | 0; } else { - label = 16; - break; + $44 = 0; + label = 19; } else { - HEAP32[$1 >> 2] = 0; - label = 14; - break; + $44 = $32; + label = 19; } - } else label = 14; while (0); - if ((label | 0) == 14) if ($180) label = 16; else { - $181 = 0; - label = 17; - } - L22 : do if ((label | 0) == 16) { - HEAP32[$2 >> 2] = HEAP32[$2 >> 2] | 6; - $$2 = 0; - } else if ((label | 0) == 17) { - $37 = HEAP32[$0 >> 2] | 0; - $39 = HEAP32[$37 + 12 >> 2] | 0; - if (($39 | 0) == (HEAP32[$37 + 16 >> 2] | 0)) $$0$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$37 >> 2] | 0) + 36 >> 2] & 127]($37) | 0; else $$0$i$i = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$39 >> 0] | 0) | 0; - $49 = $$0$i$i & 255; - if ($49 << 24 >> 24 > -1 ? ($52 = $3 + 8 | 0, HEAP16[(HEAP32[$52 >> 2] | 0) + ($$0$i$i << 24 >> 24 << 1) >> 1] & 2048) : 0) { - $64 = (FUNCTION_TABLE_iiii[HEAP32[(HEAP32[$3 >> 2] | 0) + 36 >> 2] & 63]($3, $49, 0) | 0) << 24 >> 24; - $65 = HEAP32[$0 >> 2] | 0; - $66 = $65 + 12 | 0; - $67 = HEAP32[$66 >> 2] | 0; - if (($67 | 0) == (HEAP32[$65 + 16 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$65 >> 2] | 0) + 40 >> 2] & 127]($65) | 0; else { - HEAP32[$66 >> 2] = $67 + 1; - __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$67 >> 0] | 0) | 0; - } - $$0$in = $64; - $$023$in = $4; - $182 = $181; - $92 = $181; - while (1) { - $$0 = $$0$in + -48 | 0; - $$023 = $$023$in + -1 | 0; - $76 = HEAP32[$0 >> 2] | 0; - do if ($76) { - $79 = HEAP32[$76 + 12 >> 2] | 0; - if (($79 | 0) == (HEAP32[$76 + 16 >> 2] | 0)) $$0$i$i$i$i25 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$76 >> 2] | 0) + 36 >> 2] & 127]($76) | 0; else $$0$i$i$i$i25 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$79 >> 0] | 0) | 0; - if (__ZNSt3__211char_traitsIcE11eq_int_typeEii($$0$i$i$i$i25, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { - HEAP32[$0 >> 2] = 0; - $107 = 1; - break; + if ((label | 0) == 19) { + label = 0; + $42 = HEAP32[$wsptr$2246 + 16 >> 2] | 0; + $shl192 = $42 + $add148 << 13; + $shl194 = $add148 - $42 << 13; + $43 = HEAP32[$wsptr$2246 + 24 >> 2] | 0; + $mul198 = ($43 + $44 | 0) * 4433 | 0; + $add200 = $mul198 + ($44 * 6270 | 0) | 0; + $sub202 = $mul198 + (Math_imul($43, -15137) | 0) | 0; + $add203 = $add200 + $shl192 | 0; + $sub204 = $shl192 - $add200 | 0; + $add205 = $sub202 + $shl194 | 0; + $sub206 = $shl194 - $sub202 | 0; + $46 = HEAP32[$wsptr$2246 + 28 >> 2] | 0; + $47 = HEAP32[$wsptr$2246 + 20 >> 2] | 0; + $48 = HEAP32[$wsptr$2246 + 12 >> 2] | 0; + $add211 = $48 + $46 | 0; + $add212 = $47 + $31 | 0; + $mul214 = ($add211 + $add212 | 0) * 9633 | 0; + $add217 = $mul214 + (Math_imul($add211, -16069) | 0) | 0; + $add218 = $mul214 + (Math_imul($add212, -3196) | 0) | 0; + $mul220 = Math_imul($46 + $31 | 0, -7373) | 0; + $add224 = $mul220 + ($46 * 2446 | 0) + $add217 | 0; + $add226 = $mul220 + ($31 * 12299 | 0) + $add218 | 0; + $mul228 = Math_imul($48 + $47 | 0, -20995) | 0; + $add232 = $mul228 + ($47 * 16819 | 0) + $add218 | 0; + $add234 = $mul228 + ($48 * 25172 | 0) + $add217 | 0; + HEAP8[$add$ptr146 >> 0] = HEAP8[$add$ptr + (($add226 + $add203 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr146 + 7 >> 0] = HEAP8[$add$ptr + (($add203 - $add226 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr146 + 1 >> 0] = HEAP8[$add$ptr + (($add234 + $add205 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr146 + 6 >> 0] = HEAP8[$add$ptr + (($add205 - $add234 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr146 + 2 >> 0] = HEAP8[$add$ptr + (($add232 + $sub206 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr146 + 5 >> 0] = HEAP8[$add$ptr + (($sub206 - $add232 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr146 + 3 >> 0] = HEAP8[$add$ptr + (($add224 + $sub204 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr146 + 4 >> 0] = HEAP8[$add$ptr + (($sub204 - $add224 | 0) >>> 18 & 1023) >> 0] | 0; + } + $ctr$1247 = $ctr$1247 + 1 | 0; + if (($ctr$1247 | 0) == 8) break; else $wsptr$2246 = $wsptr$2246 + 32 | 0; + } + STACKTOP = sp; + return; +} + +function _decode_mcu_AC_first($cinfo, $MCU_data) { + $cinfo = $cinfo | 0; + $MCU_data = $MCU_data | 0; + var $0 = 0, $12 = 0, $13 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $33 = 0, $4 = 0, $40 = 0, $EOBRUN$0 = 0, $EOBRUN$1 = 0, $EOBRUN9 = 0, $add = 0, $and = 0, $and51 = 0, $and67 = 0, $bits_left$093 = 0, $bits_left$1 = 0, $bits_left$2 = 0, $bits_left$4$ph = 0, $bits_left$5 = 0, $bits_left$6 = 0, $bits_left$7 = 0, $bits_left$8 = 0, $bits_left$i$i = 0, $bits_left18 = 0, $bits_left30 = 0, $br_state = 0, $bytes_in_buffer15 = 0, $call41 = 0, $ci$014$i = 0, $comps_in_scan$i = 0, $discarded_bytes$i$i = 0, $get_buffer$092 = 0, $get_buffer$1 = 0, $get_buffer$2 = 0, $get_buffer$4$ph = 0, $get_buffer$5 = 0, $get_buffer$6 = 0, $get_buffer$7 = 0, $get_buffer$8 = 0, $get_buffer16 = 0, $get_buffer29 = 0, $k$091 = 0, $k$1 = 0, $nb$0 = 0, $restart_interval = 0, $restarts_to_go = 0, $restarts_to_go118 = 0, $retval$2 = 0, $s$2$ph = 0, $shl83 = 0, $src = 0, $sub64 = 0, $sub94 = 0, $trunc = 0, label = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 32 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); + $br_state = sp; + $0 = HEAP32[$cinfo + 468 >> 2] | 0; + $restart_interval = $cinfo + 280 | 0; + if (HEAP32[$restart_interval >> 2] | 0 ? ($restarts_to_go = $0 + 44 | 0, (HEAP32[$restarts_to_go >> 2] | 0) == 0) : 0) { + $bits_left$i$i = $0 + 16 | 0; + $4 = HEAP32[$cinfo + 464 >> 2] | 0; + $discarded_bytes$i$i = $4 + 24 | 0; + HEAP32[$discarded_bytes$i$i >> 2] = (HEAP32[$discarded_bytes$i$i >> 2] | 0) + ((HEAP32[$bits_left$i$i >> 2] | 0) / 8 | 0); + HEAP32[$bits_left$i$i >> 2] = 0; + if (!(FUNCTION_TABLE_ii[HEAP32[$4 + 8 >> 2] & 127]($cinfo) | 0)) { + $retval$2 = 0; + STACKTOP = sp; + return $retval$2 | 0; + } + $comps_in_scan$i = $cinfo + 340 | 0; + if ((HEAP32[$comps_in_scan$i >> 2] | 0) > 0) { + $ci$014$i = 0; + do { + HEAP32[$0 + 24 + ($ci$014$i << 2) >> 2] = 0; + $ci$014$i = $ci$014$i + 1 | 0; + } while (($ci$014$i | 0) < (HEAP32[$comps_in_scan$i >> 2] | 0)); + } + HEAP32[$0 + 20 >> 2] = 0; + HEAP32[$restarts_to_go >> 2] = HEAP32[$restart_interval >> 2]; + if (!(HEAP32[$cinfo + 440 >> 2] | 0)) HEAP32[$0 + 40 >> 2] = 0; + } + if (!(HEAP32[$0 + 40 >> 2] | 0)) { + $EOBRUN9 = $0 + 20 | 0; + $12 = HEAP32[$EOBRUN9 >> 2] | 0; + if (!$12) { + HEAP32[$br_state + 16 >> 2] = $cinfo; + $src = $cinfo + 24 | 0; + $13 = HEAP32[$src >> 2] | 0; + HEAP32[$br_state >> 2] = HEAP32[$13 >> 2]; + $bytes_in_buffer15 = $br_state + 4 | 0; + HEAP32[$bytes_in_buffer15 >> 2] = HEAP32[$13 + 4 >> 2]; + $get_buffer16 = $0 + 12 | 0; + $17 = HEAP32[$get_buffer16 >> 2] | 0; + $bits_left18 = $0 + 16 | 0; + $18 = HEAP32[$bits_left18 >> 2] | 0; + $19 = HEAP32[$cinfo + 416 >> 2] | 0; + $20 = HEAP32[$cinfo + 424 >> 2] | 0; + $21 = HEAP32[$cinfo + 432 >> 2] | 0; + $22 = HEAP32[$MCU_data >> 2] | 0; + $23 = HEAP32[$0 + 64 >> 2] | 0; + $24 = HEAP32[$cinfo + 412 >> 2] | 0; + L18 : do if (($24 | 0) <= ($19 | 0)) { + $get_buffer29 = $br_state + 8 | 0; + $bits_left30 = $br_state + 12 | 0; + $bits_left$093 = $18; + $get_buffer$092 = $17; + $k$091 = $24; + L20 : while (1) { + if (($bits_left$093 | 0) < 8) { + if (!(_jpeg_fill_bit_buffer($br_state, $get_buffer$092, $bits_left$093, 0) | 0)) { + $retval$2 = 0; + label = 36; + break; + } + $25 = HEAP32[$get_buffer29 >> 2] | 0; + $26 = HEAP32[$bits_left30 >> 2] | 0; + if (($26 | 0) < 8) { + $bits_left$2 = $26; + $get_buffer$2 = $25; + $nb$0 = 1; + label = 19; + } else { + $bits_left$1 = $26; + $get_buffer$1 = $25; + label = 17; + } } else { - $107 = (HEAP32[$0 >> 2] | 0) == 0; - break; + $bits_left$1 = $bits_left$093; + $get_buffer$1 = $get_buffer$092; + label = 17; } - } else $107 = 1; while (0); - if ($92) { - $94 = HEAP32[$92 + 12 >> 2] | 0; - if (($94 | 0) == (HEAP32[$92 + 16 >> 2] | 0)) $$0$i$i2$i$i31 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$92 >> 2] | 0) + 36 >> 2] & 127]($92) | 0; else $$0$i$i2$i$i31 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$94 >> 0] | 0) | 0; - if (__ZNSt3__211char_traitsIcE11eq_int_typeEii($$0$i$i2$i$i31, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { - HEAP32[$1 >> 2] = 0; - $108 = 1; - $164 = 0; - $183 = 0; + if ((label | 0) == 17) { + label = 0; + $and = $get_buffer$1 >> $bits_left$1 + -8 & 255; + $27 = HEAP32[$23 + 144 + ($and << 2) >> 2] | 0; + if (!$27) { + $bits_left$2 = $bits_left$1; + $get_buffer$2 = $get_buffer$1; + $nb$0 = 9; + label = 19; + } else { + $bits_left$4$ph = $bits_left$1 - $27 | 0; + $get_buffer$4$ph = $get_buffer$1; + $s$2$ph = HEAPU8[$23 + 1168 + $and >> 0] | 0; + } + } + if ((label | 0) == 19) { + label = 0; + $call41 = _jpeg_huff_decode($br_state, $get_buffer$2, $bits_left$2, $23, $nb$0) | 0; + if (($call41 | 0) < 0) { + $retval$2 = 0; + label = 36; + break; + } + $bits_left$4$ph = HEAP32[$bits_left30 >> 2] | 0; + $get_buffer$4$ph = HEAP32[$get_buffer29 >> 2] | 0; + $s$2$ph = $call41; + } + $trunc = $s$2$ph >>> 4; + $and51 = $s$2$ph & 15; + if (!$and51) { + switch ($trunc & 268435455 | 0) { + case 0: + { + $EOBRUN$0 = 0; + $bits_left$8 = $bits_left$4$ph; + $get_buffer$8 = $get_buffer$4$ph; + break L18; + break; + } + case 15: + break; + default: + { + label = 27; + break L20; + } + } + $bits_left$7 = $bits_left$4$ph; + $get_buffer$7 = $get_buffer$4$ph; + $k$1 = $k$091 + 15 | 0; + } else { + $add = $trunc + $k$091 | 0; + if (($bits_left$4$ph | 0) < ($and51 | 0)) { + if (!(_jpeg_fill_bit_buffer($br_state, $get_buffer$4$ph, $bits_left$4$ph, $and51) | 0)) { + $retval$2 = 0; + label = 36; + break; + } + $bits_left$5 = HEAP32[$bits_left30 >> 2] | 0; + $get_buffer$5 = HEAP32[$get_buffer29 >> 2] | 0; + } else { + $bits_left$5 = $bits_left$4$ph; + $get_buffer$5 = $get_buffer$4$ph; + } + $sub64 = $bits_left$5 - $and51 | 0; + $33 = HEAP32[5184 + ($and51 << 2) >> 2] | 0; + $and67 = $get_buffer$5 >> $sub64 & $33; + HEAP16[$22 + (HEAP32[$21 + ($add << 2) >> 2] << 1) >> 1] = $and67 - (($and67 | 0) > (HEAP32[5184 + ($and51 + -1 << 2) >> 2] | 0) ? 0 : $33) << $20; + $bits_left$7 = $sub64; + $get_buffer$7 = $get_buffer$5; + $k$1 = $add; + } + if (($k$1 | 0) < ($19 | 0)) { + $bits_left$093 = $bits_left$7; + $get_buffer$092 = $get_buffer$7; + $k$091 = $k$1 + 1 | 0; } else { - $108 = 0; - $164 = $182; - $183 = $92; + $EOBRUN$0 = 0; + $bits_left$8 = $bits_left$7; + $get_buffer$8 = $get_buffer$7; + break L18; } - } else { - $108 = 1; - $164 = $182; - $183 = 0; - } - $111 = HEAP32[$0 >> 2] | 0; - if (!(($$023$in | 0) > 1 & ($107 ^ $108))) break; - $113 = HEAP32[$111 + 12 >> 2] | 0; - if (($113 | 0) == (HEAP32[$111 + 16 >> 2] | 0)) $$0$i$i36 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$111 >> 2] | 0) + 36 >> 2] & 127]($111) | 0; else $$0$i$i36 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$113 >> 0] | 0) | 0; - $123 = $$0$i$i36 & 255; - if ($123 << 24 >> 24 <= -1) { - $$2 = $$0; - break L22; - } - if (!(HEAP16[(HEAP32[$52 >> 2] | 0) + ($$0$i$i36 << 24 >> 24 << 1) >> 1] & 2048)) { - $$2 = $$0; - break L22; - } - $137 = ($$0 * 10 | 0) + ((FUNCTION_TABLE_iiii[HEAP32[(HEAP32[$3 >> 2] | 0) + 36 >> 2] & 63]($3, $123, 0) | 0) << 24 >> 24) | 0; - $138 = HEAP32[$0 >> 2] | 0; - $139 = $138 + 12 | 0; - $140 = HEAP32[$139 >> 2] | 0; - if (($140 | 0) == (HEAP32[$138 + 16 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$138 >> 2] | 0) + 40 >> 2] & 127]($138) | 0; else { - HEAP32[$139 >> 2] = $140 + 1; - __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$140 >> 0] | 0) | 0; - } - $$0$in = $137; - $$023$in = $$023; - $182 = $164; - $92 = $183; - } - do if ($111) { - $151 = HEAP32[$111 + 12 >> 2] | 0; - if (($151 | 0) == (HEAP32[$111 + 16 >> 2] | 0)) $$0$i$i$i$i40 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$111 >> 2] | 0) + 36 >> 2] & 127]($111) | 0; else $$0$i$i$i$i40 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$151 >> 0] | 0) | 0; - if (__ZNSt3__211char_traitsIcE11eq_int_typeEii($$0$i$i$i$i40, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { - HEAP32[$0 >> 2] = 0; - $184 = 1; - break; - } else { - $184 = (HEAP32[$0 >> 2] | 0) == 0; - break; - } - } else $184 = 1; while (0); - do if ($164) { - $166 = HEAP32[$164 + 12 >> 2] | 0; - if (($166 | 0) == (HEAP32[$164 + 16 >> 2] | 0)) $$0$i$i2$i$i46 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$164 >> 2] | 0) + 36 >> 2] & 127]($164) | 0; else $$0$i$i2$i$i46 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$166 >> 0] | 0) | 0; - if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii($$0$i$i2$i$i46, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if ($184) { - $$2 = $$0; - break L22; - } else break; else { - HEAP32[$1 >> 2] = 0; - label = 63; - break; - } - } else label = 63; while (0); - if ((label | 0) == 63 ? !$184 : 0) { - $$2 = $$0; - break; - } - HEAP32[$2 >> 2] = HEAP32[$2 >> 2] | 2; - $$2 = $$0; - break; - } - HEAP32[$2 >> 2] = HEAP32[$2 >> 2] | 4; - $$2 = 0; - } while (0); - return $$2 | 0; -} - -function __ZN6vision20BinaryFeatureMatcherILi96EE5matchEPKNS_18BinaryFeatureStoreES4_PKff($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = +$4; - var $$0 = 0, $$070 = 0, $$071 = 0, $$072 = 0, $$073 = 0, $$076 = 0, $$2 = 0, $$275 = 0, $$278 = 0, $10 = 0, $110 = 0, $113 = 0, $118 = 0, $119 = 0, $131 = 0, $136 = 0, $140 = 0, $15 = 0.0, $22 = 0, $27 = 0, $31 = 0, $33 = 0, $34 = 0, $40 = 0, $43 = 0, $44 = 0, $48 = 0, $5 = 0, $52 = 0, $6 = 0, $60 = 0.0, $69 = 0, $7 = 0, $70 = 0, $79 = 0, $8 = 0, $84 = 0, $88 = 0, $90 = 0, $93 = 0, $98 = 0, $99 = 0, label = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 64 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(64); - $5 = sp + 40 | 0; - $6 = sp; - $7 = sp + 52 | 0; - $8 = sp + 48 | 0; - $10 = $0 + 4 | 0; - HEAP32[$10 >> 2] = HEAP32[$0 >> 2]; - do if ((__ZNK6vision18BinaryFeatureStore4sizeEv($1) | 0) != 0 ? (__ZNK6vision18BinaryFeatureStore4sizeEv($2) | 0) != 0 : 0) { - $15 = +__ZN6vision3sqrIfEET_S1_($4); - if (!(__ZN6vision16MatrixInverse3x3IfEEbPT_PKS1_S1_($6, $3, 0.0) | 0)) { - $22 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 35204) | 0, 35229) | 0, 39072) | 0, 196) | 0, 39079) | 0, 35315) | 0; - __ZNKSt3__28ios_base6getlocEv($5, $22 + (HEAP32[(HEAP32[$22 >> 2] | 0) + -12 >> 2] | 0) | 0); - $27 = __ZNKSt3__26locale9use_facetERNS0_2idE($5, 66512) | 0; - $31 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$27 >> 2] | 0) + 28 >> 2] & 127]($27, 10) | 0; - __ZNSt3__26localeD2Ev($5); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($22, $31) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($22) | 0; - _abort(); - } - __ZNSt3__26vectorIN6vision7match_tENS_9allocatorIS2_EEE7reserveEm($0, __ZNK6vision18BinaryFeatureStore4sizeEv($1) | 0); - $33 = $0 + 8 | 0; - $34 = $0 + 12 | 0; - $$070 = 0; - L7 : while (1) { - if ($$070 >>> 0 >= (__ZNK6vision18BinaryFeatureStore4sizeEv($1) | 0) >>> 0) break; - $43 = __ZNK6vision18BinaryFeatureStore7featureEm($1, $$070) | 0; - $44 = __ZNK6vision18BinaryFeatureStore5pointEm($1, $$070) | 0; - __ZN6vision35MultiplyPointHomographyInhomogenousIfEEvRT_S2_PKS1_S1_S1_($7, $8, $6, +HEAPF32[$44 >> 2], +HEAPF32[$44 + 4 >> 2]); - $48 = $44 + 16 | 0; - $$071 = 0; - $$072 = -1; - $$073 = -1; - $$076 = 2147483647; - while (1) { - if ($$071 >>> 0 >= (__ZNK6vision18BinaryFeatureStore4sizeEv($2) | 0) >>> 0) break; - $52 = __ZNK6vision18BinaryFeatureStore5pointEm($2, $$071) | 0; - if ((HEAP8[$48 >> 0] | 0) == (HEAP8[$52 + 16 >> 0] | 0) ? ($60 = +__ZN6vision3sqrIfEET_S1_(+HEAPF32[$7 >> 2] - +HEAPF32[$52 >> 2]), !($60 + +__ZN6vision3sqrIfEET_S1_(+HEAPF32[$8 >> 2] - +HEAPF32[$52 + 4 >> 2]) > $15)) : 0) { - $69 = __ZN6vision18HammingDistance768EPKjS1_($43, __ZNK6vision18BinaryFeatureStore7featureEm($2, $$071) | 0) | 0; - $70 = $69 >>> 0 < $$072 >>> 0; - $$2 = $70 ? $69 : $$072; - $$275 = $70 ? $$072 : $69 >>> 0 < $$073 >>> 0 ? $69 : $$073; - $$278 = $70 ? $$071 : $$076; - } else { - $$2 = $$072; - $$275 = $$073; - $$278 = $$076; - } - $$071 = $$071 + 1 | 0; - $$072 = $$2; - $$073 = $$275; - $$076 = $$278; - } - do if (($$072 | 0) != -1) { - if (($$076 | 0) == -1) { - label = 16; - break L7; } - if (($$073 | 0) == -1) { - __ZN6vision7match_tC2Eii($5, $$070, $$076); - $90 = HEAP32[$10 >> 2] | 0; - if ($90 >>> 0 < (HEAP32[$33 >> 2] | 0) >>> 0) { - $93 = $5; - $98 = HEAP32[$93 + 4 >> 2] | 0; - $99 = $90; - HEAP32[$99 >> 2] = HEAP32[$93 >> 2]; - HEAP32[$99 + 4 >> 2] = $98; - HEAP32[$10 >> 2] = (HEAP32[$10 >> 2] | 0) + 8; - } else __ZNSt3__26vectorIN6vision7match_tENS_9allocatorIS2_EEE21__push_back_slow_pathIS2_EEvOT_($0, $5); + if ((label | 0) == 27) { + $shl83 = 1 << $trunc; + do if (($bits_left$4$ph | 0) < ($trunc | 0)) if (!(_jpeg_fill_bit_buffer($br_state, $get_buffer$4$ph, $bits_left$4$ph, $trunc) | 0)) { + $retval$2 = 0; + STACKTOP = sp; + return $retval$2 | 0; + } else { + $bits_left$6 = HEAP32[$bits_left30 >> 2] | 0; + $get_buffer$6 = HEAP32[$get_buffer29 >> 2] | 0; + break; + } else { + $bits_left$6 = $bits_left$4$ph; + $get_buffer$6 = $get_buffer$4$ph; + } while (0); + $sub94 = $bits_left$6 - $trunc | 0; + $EOBRUN$0 = $shl83 + -1 + ($get_buffer$6 >> $sub94 & HEAP32[5184 + ($trunc << 2) >> 2]) | 0; + $bits_left$8 = $sub94; + $get_buffer$8 = $get_buffer$6; break; + } else if ((label | 0) == 36) { + STACKTOP = sp; + return $retval$2 | 0; } - if (+($$072 >>> 0) / +($$073 >>> 0) < +HEAPF32[$34 >> 2]) { - __ZN6vision7match_tC2Eii($5, $$070, $$076); - $110 = HEAP32[$10 >> 2] | 0; - if ($110 >>> 0 < (HEAP32[$33 >> 2] | 0) >>> 0) { - $113 = $5; - $118 = HEAP32[$113 + 4 >> 2] | 0; - $119 = $110; - HEAP32[$119 >> 2] = HEAP32[$113 >> 2]; - HEAP32[$119 + 4 >> 2] = $118; - HEAP32[$10 >> 2] = (HEAP32[$10 >> 2] | 0) + 8; - } else __ZNSt3__26vectorIN6vision7match_tENS_9allocatorIS2_EEE21__push_back_slow_pathIS2_EEvOT_($0, $5); - } + } else { + $EOBRUN$0 = 0; + $bits_left$8 = $18; + $get_buffer$8 = $17; } while (0); - $$070 = $$070 + 1 | 0; - } - if ((label | 0) == 16) { - $79 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 35348) | 0, 35229) | 0, 39072) | 0, 241) | 0, 39079) | 0, 35420) | 0; - __ZNKSt3__28ios_base6getlocEv($5, $79 + (HEAP32[(HEAP32[$79 >> 2] | 0) + -12 >> 2] | 0) | 0); - $84 = __ZNKSt3__26locale9use_facetERNS0_2idE($5, 66512) | 0; - $88 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$84 >> 2] | 0) + 28 >> 2] & 127]($84, 10) | 0; - __ZNSt3__26localeD2Ev($5); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($79, $88) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($79) | 0; - _abort(); - } - $40 = (HEAP32[$10 >> 2] | 0) - (HEAP32[$0 >> 2] | 0) >> 3; - if ($40 >>> 0 > (__ZNK6vision18BinaryFeatureStore4sizeEv($1) | 0) >>> 0) { - $131 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 35438) | 0, 35229) | 0, 39072) | 0, 256) | 0, 39079) | 0, 35498) | 0; - __ZNKSt3__28ios_base6getlocEv($5, $131 + (HEAP32[(HEAP32[$131 >> 2] | 0) + -12 >> 2] | 0) | 0); - $136 = __ZNKSt3__26locale9use_facetERNS0_2idE($5, 66512) | 0; - $140 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$136 >> 2] | 0) + 28 >> 2] & 127]($136, 10) | 0; - __ZNSt3__26localeD2Ev($5); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($131, $140) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($131) | 0; - _abort(); - } else { - $$0 = (HEAP32[$10 >> 2] | 0) - (HEAP32[$0 >> 2] | 0) >> 3; - break; - } - } else $$0 = 0; while (0); + $40 = HEAP32[$src >> 2] | 0; + HEAP32[$40 >> 2] = HEAP32[$br_state >> 2]; + HEAP32[$40 + 4 >> 2] = HEAP32[$bytes_in_buffer15 >> 2]; + HEAP32[$get_buffer16 >> 2] = $get_buffer$8; + HEAP32[$bits_left18 >> 2] = $bits_left$8; + $EOBRUN$1 = $EOBRUN$0; + } else $EOBRUN$1 = $12 + -1 | 0; + HEAP32[$EOBRUN9 >> 2] = $EOBRUN$1; + } + $restarts_to_go118 = $0 + 44 | 0; + HEAP32[$restarts_to_go118 >> 2] = (HEAP32[$restarts_to_go118 >> 2] | 0) + -1; + $retval$2 = 1; STACKTOP = sp; - return $$0 | 0; + return $retval$2 | 0; } -function _start_pass($0) { - $0 = $0 | 0; - var $$0140148 = 0, $$0152 = 0, $$1144 = 0, $$phi$trans$insert158 = 0, $$pre$phi163Z2D = 0, $$pre$phiZ2D = 0, $10 = 0, $103 = 0, $108 = 0, $114 = 0, $115 = 0, $116 = 0, $117 = 0, $119 = 0, $127 = 0, $129 = 0, $134 = 0, $135 = 0, $139 = 0, $140 = 0, $148 = 0, $150 = 0, $155 = 0, $156 = 0, $160 = 0, $161 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0, $169 = 0, $170 = 0, $171 = 0, $2 = 0, $20 = 0, $22 = 0, $27 = 0, $28 = 0, $3 = 0, $44 = 0, $45 = 0, $47 = 0, $48 = 0, $49 = 0, $53 = 0, $54 = 0, $55 = 0, $6 = 0, $60 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $76 = 0, $8 = 0, $89 = 0, $9 = 0, $94 = 0, $95 = 0, dest = 0, label = 0, stop = 0; - $2 = HEAP32[$0 + 468 >> 2] | 0; - $3 = $0 + 224 | 0; - $6 = $0 + 412 | 0; - $7 = HEAP32[$6 >> 2] | 0; - $8 = ($7 | 0) == 0; - do if (HEAP32[$3 >> 2] | 0) { - $9 = $0 + 416 | 0; - $10 = HEAP32[$9 >> 2] | 0; - if ($8) if (!$10) label = 7; else label = 11; else if ((($10 | 0) >= ($7 | 0) ? ($10 | 0) <= (HEAP32[$0 + 436 >> 2] | 0) : 0) ? (HEAP32[$0 + 340 >> 2] | 0) == 1 : 0) label = 7; else label = 11; +function _start_pass($cinfo) { + $cinfo = $cinfo | 0; + var $0 = 0, $18 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $24 = 0, $29 = 0, $3 = 0, $30 = 0, $33 = 0, $39 = 0, $44 = 0, $46 = 0, $48 = 0, $49 = 0, $53 = 0, $55 = 0, $58 = 0, $6 = 0, $61 = 0, $63 = 0, $65 = 0, $68 = 0, $71 = 0, $73 = 0, $74 = 0, $8 = 0, $9 = 0, $Ah154 = 0, $Ah75 = 0, $Ah96$pre$phiZ2D = 0, $Al91 = 0, $Se = 0, $Ss = 0, $a = 0, $arrayidx170 = 0, $arrayidx206 = 0, $arrayidx72 = 0, $c = 0, $call = 0, $call211 = 0, $ci$0137 = 0, $ci$1130 = 0, $cmp100 = 0, $cmp119 = 0, $coef_bits = 0, $coefi$0135 = 0, $comps_in_scan143$phi$trans$insert = 0, $comps_in_scan143$pre$phiZ2D = 0, $comps_in_scan45 = 0, $ct = 0, $decode_mcu = 0, $lim_Se184 = 0, $mem = 0, $progressive_mode = 0, $restart_interval = 0, $restarts_to_go = 0, $sub = 0, dest = 0, label = 0, stop = 0; + $0 = HEAP32[$cinfo + 468 >> 2] | 0; + $progressive_mode = $cinfo + 224 | 0; + $Ss = $cinfo + 412 | 0; + $2 = HEAP32[$Ss >> 2] | 0; + $cmp119 = ($2 | 0) == 0; + do if (HEAP32[$progressive_mode >> 2] | 0) { + $Se = $cinfo + 416 | 0; + $3 = HEAP32[$Se >> 2] | 0; + if ($cmp119) if (!$3) label = 7; else label = 11; else if ((($3 | 0) >= ($2 | 0) ? ($3 | 0) <= (HEAP32[$cinfo + 436 >> 2] | 0) : 0) ? (HEAP32[$cinfo + 340 >> 2] | 0) == 1 : 0) label = 7; else label = 11; do if ((label | 0) == 7) { - $20 = HEAP32[$0 + 420 >> 2] | 0; - if ($20) { - $22 = $20 + -1 | 0; - if (($22 | 0) == (HEAP32[$0 + 424 >> 2] | 0)) $27 = $22; else { + $6 = HEAP32[$cinfo + 420 >> 2] | 0; + if ($6) { + $sub = $6 + -1 | 0; + if (($sub | 0) == (HEAP32[$cinfo + 424 >> 2] | 0)) $8 = $sub; else { label = 11; break; } - } else $27 = HEAP32[$0 + 424 >> 2] | 0; - if (($27 | 0) > 13) label = 11; + } else $8 = HEAP32[$cinfo + 424 >> 2] | 0; + if (($8 | 0) > 13) label = 11; } while (0); if ((label | 0) == 11) { - $28 = HEAP32[$0 >> 2] | 0; - HEAP32[$28 + 20 >> 2] = 17; - HEAP32[$28 + 24 >> 2] = $7; - HEAP32[(HEAP32[$0 >> 2] | 0) + 28 >> 2] = HEAP32[$9 >> 2]; - HEAP32[(HEAP32[$0 >> 2] | 0) + 32 >> 2] = HEAP32[$0 + 420 >> 2]; - HEAP32[(HEAP32[$0 >> 2] | 0) + 36 >> 2] = HEAP32[$0 + 424 >> 2]; - FUNCTION_TABLE_vi[HEAP32[HEAP32[$0 >> 2] >> 2] & 255]($0); - } - $44 = $0 + 340 | 0; - $45 = HEAP32[$44 >> 2] | 0; - if (($45 | 0) > 0) { - $47 = $0 + 160 | 0; - $48 = $0 + 420 | 0; - $49 = $0 + 424 | 0; - $$0152 = 0; + $9 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$9 + 20 >> 2] = 17; + HEAP32[$9 + 24 >> 2] = $2; + HEAP32[(HEAP32[$cinfo >> 2] | 0) + 28 >> 2] = HEAP32[$Se >> 2]; + HEAP32[(HEAP32[$cinfo >> 2] | 0) + 32 >> 2] = HEAP32[$cinfo + 420 >> 2]; + HEAP32[(HEAP32[$cinfo >> 2] | 0) + 36 >> 2] = HEAP32[$cinfo + 424 >> 2]; + FUNCTION_TABLE_vi[HEAP32[HEAP32[$cinfo >> 2] >> 2] & 255]($cinfo); + } + $comps_in_scan45 = $cinfo + 340 | 0; + $18 = HEAP32[$comps_in_scan45 >> 2] | 0; + if (($18 | 0) > 0) { + $coef_bits = $cinfo + 160 | 0; + $Ah75 = $cinfo + 420 | 0; + $Al91 = $cinfo + 424 | 0; + $ci$0137 = 0; do { - $53 = HEAP32[(HEAP32[$0 + 344 + ($$0152 << 2) >> 2] | 0) + 4 >> 2] | 0; - $54 = HEAP32[$47 >> 2] | 0; - $55 = HEAP32[$6 >> 2] | 0; - if ($55) if ((HEAP32[$54 + ($53 << 8) >> 2] | 0) < 0) { - $60 = HEAP32[$0 >> 2] | 0; - HEAP32[$60 + 20 >> 2] = 118; - HEAP32[$60 + 24 >> 2] = $53; - HEAP32[(HEAP32[$0 >> 2] | 0) + 28 >> 2] = 0; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$0 >> 2] | 0) + 4 >> 2] & 255]($0, -1); - $70 = HEAP32[$6 >> 2] | 0; - } else $70 = $55; else $70 = 0; - if (($70 | 0) <= (HEAP32[$9 >> 2] | 0)) { - $$0140148 = $70; + $20 = HEAP32[(HEAP32[$cinfo + 344 + ($ci$0137 << 2) >> 2] | 0) + 4 >> 2] | 0; + $21 = HEAP32[$coef_bits >> 2] | 0; + $22 = HEAP32[$Ss >> 2] | 0; + if ($22) if ((HEAP32[$21 + ($20 << 8) >> 2] | 0) < 0) { + $24 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$24 + 20 >> 2] = 118; + HEAP32[$24 + 24 >> 2] = $20; + HEAP32[(HEAP32[$cinfo >> 2] | 0) + 28 >> 2] = 0; + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$cinfo >> 2] | 0) + 4 >> 2] & 255]($cinfo, -1); + $29 = HEAP32[$Ss >> 2] | 0; + } else $29 = $22; else $29 = 0; + if (($29 | 0) <= (HEAP32[$Se >> 2] | 0)) { + $coefi$0135 = $29; while (1) { - $71 = $54 + ($53 << 8) + ($$0140148 << 2) | 0; - $72 = HEAP32[$71 >> 2] | 0; - if ((HEAP32[$48 >> 2] | 0) != ((($72 | 0) > 0 ? $72 : 0) | 0)) { - $76 = HEAP32[$0 >> 2] | 0; - HEAP32[$76 + 20 >> 2] = 118; - HEAP32[$76 + 24 >> 2] = $53; - HEAP32[(HEAP32[$0 >> 2] | 0) + 28 >> 2] = $$0140148; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$0 >> 2] | 0) + 4 >> 2] & 255]($0, -1); - } - HEAP32[$71 >> 2] = HEAP32[$49 >> 2]; - if (($$0140148 | 0) < (HEAP32[$9 >> 2] | 0)) $$0140148 = $$0140148 + 1 | 0; else break; - } - } - $$0152 = $$0152 + 1 | 0; - $89 = HEAP32[$44 >> 2] | 0; - } while (($$0152 | 0) < ($89 | 0)); - $$pre$phi163Z2D = $48; - $171 = $89; + $arrayidx72 = $21 + ($20 << 8) + ($coefi$0135 << 2) | 0; + $30 = HEAP32[$arrayidx72 >> 2] | 0; + if ((HEAP32[$Ah75 >> 2] | 0) != ((($30 | 0) > 0 ? $30 : 0) | 0)) { + $33 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$33 + 20 >> 2] = 118; + HEAP32[$33 + 24 >> 2] = $20; + HEAP32[(HEAP32[$cinfo >> 2] | 0) + 28 >> 2] = $coefi$0135; + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$cinfo >> 2] | 0) + 4 >> 2] & 255]($cinfo, -1); + } + HEAP32[$arrayidx72 >> 2] = HEAP32[$Al91 >> 2]; + if (($coefi$0135 | 0) < (HEAP32[$Se >> 2] | 0)) $coefi$0135 = $coefi$0135 + 1 | 0; else break; + } + } + $ci$0137 = $ci$0137 + 1 | 0; + $39 = HEAP32[$comps_in_scan45 >> 2] | 0; + } while (($ci$0137 | 0) < ($39 | 0)); + $74 = $39; + $Ah96$pre$phiZ2D = $Ah75; } else { - $$pre$phi163Z2D = $0 + 420 | 0; - $171 = $45; + $74 = $18; + $Ah96$pre$phiZ2D = $cinfo + 420 | 0; } - $94 = (HEAP32[$6 >> 2] | 0) == 0; - $95 = $2 + 4 | 0; - if (!(HEAP32[$$pre$phi163Z2D >> 2] | 0)) if ($94) { - HEAP32[$95 >> 2] = 66; - $$pre$phiZ2D = $44; - $114 = $171; + $cmp100 = (HEAP32[$Ss >> 2] | 0) == 0; + $decode_mcu = $0 + 4 | 0; + if (!(HEAP32[$Ah96$pre$phiZ2D >> 2] | 0)) if ($cmp100) { + HEAP32[$decode_mcu >> 2] = 66; + $48 = $74; + $comps_in_scan143$pre$phiZ2D = $comps_in_scan45; break; } else { - HEAP32[$95 >> 2] = 67; - $$pre$phiZ2D = $44; - $114 = $171; + HEAP32[$decode_mcu >> 2] = 67; + $48 = $74; + $comps_in_scan143$pre$phiZ2D = $comps_in_scan45; break; - } else if ($94) { - HEAP32[$95 >> 2] = 68; - $$pre$phiZ2D = $44; - $114 = $171; + } else if ($cmp100) { + HEAP32[$decode_mcu >> 2] = 68; + $48 = $74; + $comps_in_scan143$pre$phiZ2D = $comps_in_scan45; break; } else { - HEAP32[$95 >> 2] = 69; - $$pre$phiZ2D = $44; - $114 = $171; + HEAP32[$decode_mcu >> 2] = 69; + $48 = $74; + $comps_in_scan143$pre$phiZ2D = $comps_in_scan45; break; } } else { - if (($8 ? (HEAP32[$0 + 420 >> 2] | 0) == 0 : 0) ? (HEAP32[$0 + 424 >> 2] | 0) == 0 : 0) { - $103 = HEAP32[$0 + 416 >> 2] | 0; - if (($103 | 0) < 64 ? ($103 | 0) != (HEAP32[$0 + 436 >> 2] | 0) : 0) label = 36; + if (($cmp119 ? (HEAP32[$cinfo + 420 >> 2] | 0) == 0 : 0) ? (HEAP32[$cinfo + 424 >> 2] | 0) == 0 : 0) { + $44 = HEAP32[$cinfo + 416 >> 2] | 0; + if (($44 | 0) < 64 ? ($44 | 0) != (HEAP32[$cinfo + 436 >> 2] | 0) : 0) label = 36; } else label = 36; if ((label | 0) == 36) { - $108 = HEAP32[$0 >> 2] | 0; - HEAP32[$108 + 20 >> 2] = 125; - FUNCTION_TABLE_vii[HEAP32[$108 + 4 >> 2] & 255]($0, -1); - } - HEAP32[$2 + 4 >> 2] = 70; - $$phi$trans$insert158 = $0 + 340 | 0; - $$pre$phiZ2D = $$phi$trans$insert158; - $114 = HEAP32[$$phi$trans$insert158 >> 2] | 0; + $46 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$46 + 20 >> 2] = 125; + FUNCTION_TABLE_vii[HEAP32[$46 + 4 >> 2] & 255]($cinfo, -1); + } + HEAP32[$0 + 4 >> 2] = 70; + $comps_in_scan143$phi$trans$insert = $cinfo + 340 | 0; + $48 = HEAP32[$comps_in_scan143$phi$trans$insert >> 2] | 0; + $comps_in_scan143$pre$phiZ2D = $comps_in_scan143$phi$trans$insert; } while (0); - if (($114 | 0) <= 0) { - $165 = $2 + 12 | 0; - HEAP32[$165 >> 2] = 0; - $166 = $2 + 16 | 0; - HEAP32[$166 >> 2] = 0; - $167 = $2 + 20 | 0; - HEAP32[$167 >> 2] = -16; - $168 = $0 + 280 | 0; - $169 = HEAP32[$168 >> 2] | 0; - $170 = $2 + 56 | 0; - HEAP32[$170 >> 2] = $169; + if (($48 | 0) <= 0) { + $c = $0 + 12 | 0; + HEAP32[$c >> 2] = 0; + $a = $0 + 16 | 0; + HEAP32[$a >> 2] = 0; + $ct = $0 + 20 | 0; + HEAP32[$ct >> 2] = -16; + $restart_interval = $cinfo + 280 | 0; + $73 = HEAP32[$restart_interval >> 2] | 0; + $restarts_to_go = $0 + 56 | 0; + HEAP32[$restarts_to_go >> 2] = $73; return; } - $115 = $0 + 436 | 0; - $116 = $0 + 420 | 0; - $117 = $0 + 4 | 0; - $$1144 = 0; + $lim_Se184 = $cinfo + 436 | 0; + $Ah154 = $cinfo + 420 | 0; + $mem = $cinfo + 4 | 0; + $ci$1130 = 0; do { - $119 = HEAP32[$0 + 344 + ($$1144 << 2) >> 2] | 0; - if (HEAP32[$3 >> 2] | 0) if (!(HEAP32[$6 >> 2] | 0)) { - if (!(HEAP32[$116 >> 2] | 0)) label = 43; + $49 = HEAP32[$cinfo + 344 + ($ci$1130 << 2) >> 2] | 0; + if (HEAP32[$progressive_mode >> 2] | 0) if (!(HEAP32[$Ss >> 2] | 0)) { + if (!(HEAP32[$Ah154 >> 2] | 0)) label = 43; } else label = 50; else label = 43; do if ((label | 0) == 43) { label = 0; - $127 = HEAP32[$119 + 20 >> 2] | 0; - if ($127 >>> 0 > 15) { - $129 = HEAP32[$0 >> 2] | 0; - HEAP32[$129 + 20 >> 2] = 50; - HEAP32[$129 + 24 >> 2] = $127; - FUNCTION_TABLE_vi[HEAP32[HEAP32[$0 >> 2] >> 2] & 255]($0); - } - $134 = $2 + 60 + ($127 << 2) | 0; - $135 = HEAP32[$134 >> 2] | 0; - if (!$135) { - $139 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[$117 >> 2] >> 2] & 63]($0, 1, 64) | 0; - HEAP32[$134 >> 2] = $139; - $140 = $139; - } else $140 = $135; - dest = $140; + $53 = HEAP32[$49 + 20 >> 2] | 0; + if ($53 >>> 0 > 15) { + $55 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$55 + 20 >> 2] = 50; + HEAP32[$55 + 24 >> 2] = $53; + FUNCTION_TABLE_vi[HEAP32[HEAP32[$cinfo >> 2] >> 2] & 255]($cinfo); + } + $arrayidx170 = $0 + 60 + ($53 << 2) | 0; + $58 = HEAP32[$arrayidx170 >> 2] | 0; + if (!$58) { + $call = FUNCTION_TABLE_iiii[HEAP32[HEAP32[$mem >> 2] >> 2] & 63]($cinfo, 1, 64) | 0; + HEAP32[$arrayidx170 >> 2] = $call; + $61 = $call; + } else $61 = $58; + dest = $61; stop = dest + 64 | 0; do { HEAP8[dest >> 0] = 0; dest = dest + 1 | 0; } while ((dest | 0) < (stop | 0)); - HEAP32[$2 + 24 + ($$1144 << 2) >> 2] = 0; - HEAP32[$2 + 40 + ($$1144 << 2) >> 2] = 0; - if (!(HEAP32[$3 >> 2] | 0)) if (!(HEAP32[$115 >> 2] | 0)) break; else { + HEAP32[$0 + 24 + ($ci$1130 << 2) >> 2] = 0; + HEAP32[$0 + 40 + ($ci$1130 << 2) >> 2] = 0; + if (!(HEAP32[$progressive_mode >> 2] | 0)) if (!(HEAP32[$lim_Se184 >> 2] | 0)) break; else { label = 50; break; - } else if (!(HEAP32[$6 >> 2] | 0)) break; else { + } else if (!(HEAP32[$Ss >> 2] | 0)) break; else { label = 50; break; } } while (0); if ((label | 0) == 50) { label = 0; - $148 = HEAP32[$119 + 24 >> 2] | 0; - if ($148 >>> 0 > 15) { - $150 = HEAP32[$0 >> 2] | 0; - HEAP32[$150 + 20 >> 2] = 50; - HEAP32[$150 + 24 >> 2] = $148; - FUNCTION_TABLE_vi[HEAP32[HEAP32[$0 >> 2] >> 2] & 255]($0); - } - $155 = $2 + 124 + ($148 << 2) | 0; - $156 = HEAP32[$155 >> 2] | 0; - if (!$156) { - $160 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[$117 >> 2] >> 2] & 63]($0, 1, 256) | 0; - HEAP32[$155 >> 2] = $160; - $161 = $160; - } else $161 = $156; - _memset($161 | 0, 0, 256) | 0; - } - $$1144 = $$1144 + 1 | 0; - } while (($$1144 | 0) < (HEAP32[$$pre$phiZ2D >> 2] | 0)); - $165 = $2 + 12 | 0; - HEAP32[$165 >> 2] = 0; - $166 = $2 + 16 | 0; - HEAP32[$166 >> 2] = 0; - $167 = $2 + 20 | 0; - HEAP32[$167 >> 2] = -16; - $168 = $0 + 280 | 0; - $169 = HEAP32[$168 >> 2] | 0; - $170 = $2 + 56 | 0; - HEAP32[$170 >> 2] = $169; - return; -} - -function __ZN6vision16PruneDoGFeaturesERNSt3__26vectorINS1_INS1_INS0_4pairIfmEENS0_9allocatorIS3_EEEENS4_IS6_EEEENS4_IS8_EEEERNS1_INS_25DoGScaleInvariantDetector12FeaturePointENS4_ISD_EEEERKSF_iiiii($0, $1, $2, $3, $4, $5, $6, $7) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - $6 = $6 | 0; - $7 = $7 | 0; - var $$0 = 0, $$087 = 0, $$089 = 0, $$090 = 0, $$091 = 0, $$byval_copy = 0, $$byval_copy1 = 0, $$byval_copy2 = 0, $$cast = 0, $$pre = 0, $$pre118 = 0, $$pre118119 = 0, $$pre118120 = 0, $$sroa$speculated = 0, $10 = 0, $101 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $109 = 0, $11 = 0, $116 = 0, $12 = 0, $120 = 0, $130 = 0, $135 = 0, $139 = 0, $145 = 0, $146 = 0, $153 = 0, $16 = 0.0, $20 = 0.0, $22 = 0, $23 = 0, $25 = 0, $27 = 0, $28 = 0, $31 = 0, $32 = 0.0, $33 = 0.0, $34 = 0, $38 = 0, $40 = 0, $41 = 0, $48 = 0, $52 = 0, $53 = 0, $54 = 0, $62 = 0, $65 = 0, $68 = 0.0, $69 = 0, $70 = 0, $74 = 0, $79 = 0, $8 = 0, $80 = 0, $9 = 0, $90 = 0, $94 = 0, $97 = 0, $storemerge = 0, dest = 0, label = 0, sp = 0, src = 0, stop = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 48 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); - $$byval_copy2 = sp + 8 | 0; - $$byval_copy1 = sp + 32 | 0; - $$byval_copy = sp + 28 | 0; - $8 = sp + 24 | 0; - $9 = sp + 20 | 0; - $10 = sp + 16 | 0; - $11 = sp; - $12 = Math_imul($4, $3) | 0; - $16 = +Math_ceil(+(+($5 | 0) / +($3 | 0))); - $20 = +Math_ceil(+(+($6 | 0) / +($4 | 0))); - $22 = $1 + 4 | 0; - HEAP32[$22 >> 2] = HEAP32[$1 >> 2]; - __ZNSt3__26vectorIN6vision25DoGScaleInvariantDetector12FeaturePointENS_9allocatorIS3_EEE7reserveEm($1, $7); - $23 = $0 + 4 | 0; - $25 = HEAP32[$0 >> 2] | 0; - $27 = ((HEAP32[$23 >> 2] | 0) - $25 | 0) / 12 | 0; - $$cast = $25; - $$087 = 0; - while (1) { - if (($$087 | 0) == ($27 | 0)) break; - $38 = HEAP32[$$cast + ($$087 * 12 | 0) >> 2] | 0; - $40 = ((HEAP32[$$cast + ($$087 * 12 | 0) + 4 >> 2] | 0) - $38 | 0) / 12 | 0; - $41 = $38; - $$091 = 0; - while (1) { - if (($$091 | 0) == ($40 | 0)) break; - HEAP32[$41 + ($$091 * 12 | 0) + 4 >> 2] = HEAP32[$41 + ($$091 * 12 | 0) >> 2]; - $$091 = $$091 + 1 | 0; - } - $$087 = $$087 + 1 | 0; - } - $28 = ($7 | 0) / ($12 | 0) | 0; - $31 = $2 + 4 | 0; - $32 = +(~~$16 | 0); - $33 = +(~~$20 | 0); - $34 = $$byval_copy2 + 4 | 0; - $storemerge = 0; - while (1) { - $48 = HEAP32[$2 >> 2] | 0; - $52 = $48; - if ($storemerge >>> 0 >= (((HEAP32[$31 >> 2] | 0) - $48 | 0) / 36 | 0) >>> 0) break; - $62 = ~~(+HEAPF32[$52 + ($storemerge * 36 | 0) + 4 >> 2] / $33); - $65 = HEAP32[(HEAP32[$0 >> 2] | 0) + (~~(+HEAPF32[$52 + ($storemerge * 36 | 0) >> 2] / $32) * 12 | 0) >> 2] | 0; - $68 = +Math_abs(+(+HEAPF32[$52 + ($storemerge * 36 | 0) + 24 >> 2])); - HEAPF32[$$byval_copy2 >> 2] = $68; - HEAP32[$34 >> 2] = $storemerge; - $69 = $65 + ($62 * 12 | 0) + 4 | 0; - $70 = HEAP32[$69 >> 2] | 0; - if ($70 >>> 0 < (HEAP32[$65 + ($62 * 12 | 0) + 8 >> 2] | 0) >>> 0) { - $74 = $$byval_copy2; - $79 = HEAP32[$74 + 4 >> 2] | 0; - $80 = $70; - HEAP32[$80 >> 2] = HEAP32[$74 >> 2]; - HEAP32[$80 + 4 >> 2] = $79; - HEAP32[$69 >> 2] = (HEAP32[$69 >> 2] | 0) + 8; - } else __ZNSt3__26vectorINS_4pairIfmEENS_9allocatorIS2_EEE21__push_back_slow_pathIS2_EEvOT_($65 + ($62 * 12 | 0) | 0, $$byval_copy2); - $storemerge = $storemerge + 1 | 0; - } - $53 = $1 + 8 | 0; - $$pre = HEAP32[$0 >> 2] | 0; - $54 = $$pre; - $$090 = 0; - $$pre118119 = $54; - $153 = $54; - $90 = $$pre; - L17 : while (1) { - if ($$090 >>> 0 >= (((HEAP32[$23 >> 2] | 0) - $90 | 0) / 12 | 0) >>> 0) { - label = 16; - break; - } - $$089 = 0; - $$pre118120 = $$pre118119; - $94 = $153; - while (1) { - $97 = HEAP32[$94 + ($$090 * 12 | 0) >> 2] | 0; - $101 = $97; - if ($$089 >>> 0 >= (((HEAP32[$94 + ($$090 * 12 | 0) + 4 >> 2] | 0) - $97 | 0) / 12 | 0) >>> 0) break; - $104 = $101 + ($$089 * 12 | 0) | 0; - $105 = $101 + ($$089 * 12 | 0) + 4 | 0; - $106 = HEAP32[$105 >> 2] | 0; - $107 = HEAP32[$104 >> 2] | 0; - $109 = $106 - $107 >> 3; - $$sroa$speculated = $28 >>> 0 < $109 >>> 0 ? $28 : $109; - if (!$$sroa$speculated) $$pre118 = $$pre118120; else { - HEAP32[$8 >> 2] = $107; - HEAP32[$9 >> 2] = $107 + ($$sroa$speculated << 3); - HEAP32[$10 >> 2] = $106; - HEAP32[$$byval_copy >> 2] = HEAP32[$8 >> 2]; - HEAP32[$$byval_copy1 >> 2] = HEAP32[$9 >> 2]; - HEAP32[$$byval_copy2 >> 2] = HEAP32[$10 >> 2]; - __ZNSt3__213__nth_elementIRNS_7greaterINS_4pairIfmEEEENS_11__wrap_iterIPS3_EEEEvT0_S9_S9_T_($$byval_copy, $$byval_copy1, $$byval_copy2, $11); - $116 = HEAP32[$104 >> 2] | 0; - $120 = $116; - if ($$sroa$speculated >>> 0 > (HEAP32[$105 >> 2] | 0) - $116 >> 3 >>> 0 ? !(+HEAPF32[$120 >> 2] >= +HEAPF32[$120 + ($$sroa$speculated << 3) >> 2]) : 0) { - label = 23; - break L17; - } - $$0 = 0; - while (1) { - if ($$0 >>> 0 >= $$sroa$speculated >>> 0) break; - $145 = (HEAP32[$2 >> 2] | 0) + ((HEAP32[(HEAP32[$104 >> 2] | 0) + ($$0 << 3) + 4 >> 2] | 0) * 36 | 0) | 0; - $146 = HEAP32[$22 >> 2] | 0; - if (($146 | 0) == (HEAP32[$53 >> 2] | 0)) __ZNSt3__26vectorIN6vision25DoGScaleInvariantDetector12FeaturePointENS_9allocatorIS3_EEE21__push_back_slow_pathIRKS3_EEvOT_($1, $145); else { - dest = $146; - src = $145; - stop = dest + 36 | 0; - do { - HEAP32[dest >> 2] = HEAP32[src >> 2]; - dest = dest + 4 | 0; - src = src + 4 | 0; - } while ((dest | 0) < (stop | 0)); - HEAP32[$22 >> 2] = (HEAP32[$22 >> 2] | 0) + 36; - } - $$0 = $$0 + 1 | 0; - } - $$pre118 = HEAP32[$0 >> 2] | 0; - } - $$089 = $$089 + 1 | 0; - $$pre118120 = $$pre118; - $94 = $$pre118; - } - $$090 = $$090 + 1 | 0; - $$pre118119 = $$pre118120; - $153 = $94; - $90 = $94; - } - if ((label | 0) == 16) { - STACKTOP = sp; - return; - } else if ((label | 0) == 23) { - $130 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 28243) | 0, 26748) | 0, 39072) | 0, 661) | 0, 39079) | 0, 28301) | 0; - __ZNKSt3__28ios_base6getlocEv($$byval_copy2, $130 + (HEAP32[(HEAP32[$130 >> 2] | 0) + -12 >> 2] | 0) | 0); - $135 = __ZNKSt3__26locale9use_facetERNS0_2idE($$byval_copy2, 66512) | 0; - $139 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$135 >> 2] | 0) + 28 >> 2] & 127]($135, 10) | 0; - __ZNSt3__26localeD2Ev($$byval_copy2); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($130, $139) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($130) | 0; - _abort(); - } -} - -function __ZNKSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE17__do_get_unsignedIyEES4_S4_S4_RNS_8ios_baseERjRT_($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$0 = 0, $$0$i$i = 0, $$0$i$i$i$i = 0, $$0$i$i$i$i25 = 0, $$0$i$i2$i$i = 0, $$0$i$i2$i$i31 = 0, $$0$i$i41 = 0, $$1 = 0, $$2 = 0, $$pre = 0, $$sroa$0$0$copyload = 0, $10 = 0, $103 = 0, $11 = 0, $110 = 0, $115 = 0, $118 = 0, $119 = 0, $12 = 0, $120 = 0, $127 = 0, $13 = 0, $132 = 0, $14 = 0, $141 = 0, $143 = 0, $15 = 0, $157 = 0, $158 = 0, $159 = 0, $160 = 0, $18 = 0, $21 = 0, $24 = 0, $28 = 0, $29 = 0, $31 = 0, $33 = 0, $45 = 0, $48 = 0, $6 = 0, $61 = 0, $65 = 0, $73 = 0, $77 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $9 = 0, $94 = 0, label = 0, sp = 0; + $63 = HEAP32[$49 + 24 >> 2] | 0; + if ($63 >>> 0 > 15) { + $65 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$65 + 20 >> 2] = 50; + HEAP32[$65 + 24 >> 2] = $63; + FUNCTION_TABLE_vi[HEAP32[HEAP32[$cinfo >> 2] >> 2] & 255]($cinfo); + } + $arrayidx206 = $0 + 124 + ($63 << 2) | 0; + $68 = HEAP32[$arrayidx206 >> 2] | 0; + if (!$68) { + $call211 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[$mem >> 2] >> 2] & 63]($cinfo, 1, 256) | 0; + HEAP32[$arrayidx206 >> 2] = $call211; + $71 = $call211; + } else $71 = $68; + _memset($71 | 0, 0, 256) | 0; + } + $ci$1130 = $ci$1130 + 1 | 0; + } while (($ci$1130 | 0) < (HEAP32[$comps_in_scan143$pre$phiZ2D >> 2] | 0)); + $c = $0 + 12 | 0; + HEAP32[$c >> 2] = 0; + $a = $0 + 16 | 0; + HEAP32[$a >> 2] = 0; + $ct = $0 + 20 | 0; + HEAP32[$ct >> 2] = -16; + $restart_interval = $cinfo + 280 | 0; + $73 = HEAP32[$restart_interval >> 2] | 0; + $restarts_to_go = $0 + 56 | 0; + HEAP32[$restarts_to_go >> 2] = $73; + return; +} + +function __ZNKSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE23__do_get_floating_pointIfEES4_S4_S4_RNS_8ios_baseERjRT_($this, $__b, $__e, $__iob, $__err, $__v) { + $this = $this | 0; + $__b = $__b | 0; + $__e = $__e | 0; + $__iob = $__iob | 0; + $__err = $__err | 0; + $__v = $__v | 0; + var $$pre = 0, $10 = 0, $15 = 0, $21 = 0, $22 = 0, $28 = 0, $32 = 0, $35 = 0, $36 = 0, $39 = 0, $4 = 0, $41 = 0, $44 = 0, $45 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $9 = 0, $__a$0 = 0, $__a$1 = 0, $__a$2 = 0, $__a_end = 0, $__atoms = 0, $__buf = 0, $__cap_$i$i = 0, $__dc = 0, $__decimal_point = 0, $__einp_$i$i = 0, $__exp = 0, $__g = 0, $__g_end = 0, $__grouping = 0, $__i$0$i$i = 0, $__in_units = 0, $__ninp_$i$i = 0, $__size_$i$i = 0, $__size_$i3$i = 0, $__thousands_sep = 0, $call26 = 0.0, $cond$i = 0, $cond$i$i = 0, $cond$i$i90 = 0, $cond$i55 = 0, $cond$i81 = 0, $retval$0$i$i = 0, $retval$0$i$i$i$i = 0, $retval$0$i$i$i$i22 = 0, $retval$0$i$i13$i$i = 0, $retval$0$i$i13$i$i43 = 0, $retval$sroa$0$0$copyload = 0, label = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 304 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(304); - $6 = sp + 300 | 0; - $8 = sp + 288 | 0; - $9 = sp + 276 | 0; - $10 = sp + 272 | 0; - $11 = sp; - $12 = sp + 268 | 0; - $13 = sp + 264 | 0; - $14 = __ZNSt3__214__num_get_base10__get_baseERNS_8ios_baseE($3) | 0; - $15 = __ZNKSt3__29__num_getIwE10__do_widenERNS_8ios_baseEPw($0, $3, sp + 160 | 0) | 0; - __ZNSt3__29__num_getIwE17__stage2_int_prepERNS_8ios_baseERw($8, $3, $6); - HEAP32[$9 >> 2] = 0; - HEAP32[$9 + 4 >> 2] = 0; - HEAP32[$9 + 8 >> 2] = 0; - $$0$i$i = 0; + STACKTOP = STACKTOP + 336 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(336); + $__atoms = sp + 160 | 0; + $__decimal_point = sp + 328 | 0; + $__thousands_sep = sp + 324 | 0; + $__grouping = sp + 312 | 0; + $__buf = sp + 300 | 0; + $__a_end = sp + 296 | 0; + $__g = sp; + $__g_end = sp + 292 | 0; + $__dc = sp + 288 | 0; + $__in_units = sp + 333 | 0; + $__exp = sp + 332 | 0; + __ZNSt3__29__num_getIwE19__stage2_float_prepERNS_8ios_baseEPwRwS5_($__grouping, $__iob, $__atoms, $__decimal_point, $__thousands_sep); + HEAP32[$__buf >> 2] = 0; + HEAP32[$__buf + 4 >> 2] = 0; + HEAP32[$__buf + 8 >> 2] = 0; + $__i$0$i$i = 0; while (1) { - if (($$0$i$i | 0) == 3) break; - HEAP32[$9 + ($$0$i$i << 2) >> 2] = 0; - $$0$i$i = $$0$i$i + 1 | 0; - } - $18 = $9 + 11 | 0; - $21 = $9 + 8 | 0; - if ((HEAP8[$18 >> 0] | 0) < 0) $24 = (HEAP32[$21 >> 2] & 2147483647) + -1 | 0; else $24 = 10; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($9, $24, 0); - $28 = (HEAP8[$18 >> 0] | 0) < 0 ? HEAP32[$9 >> 2] | 0 : $9; - HEAP32[$10 >> 2] = $28; - HEAP32[$12 >> 2] = $11; - HEAP32[$13 >> 2] = 0; - $29 = $9 + 4 | 0; - $$pre = HEAP32[$1 >> 2] | 0; - $$0 = $28; - $157 = $$pre; - $31 = $$pre; + if (($__i$0$i$i | 0) == 3) break; + HEAP32[$__buf + ($__i$0$i$i << 2) >> 2] = 0; + $__i$0$i$i = $__i$0$i$i + 1 | 0; + } + $__size_$i$i = $__buf + 11 | 0; + $__cap_$i$i = $__buf + 8 | 0; + if ((HEAP8[$__size_$i$i >> 0] | 0) < 0) $cond$i = (HEAP32[$__cap_$i$i >> 2] & 2147483647) + -1 | 0; else $cond$i = 10; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($__buf, $cond$i, 0); + $cond$i$i = (HEAP8[$__size_$i$i >> 0] | 0) < 0 ? HEAP32[$__buf >> 2] | 0 : $__buf; + HEAP32[$__a_end >> 2] = $cond$i$i; + HEAP32[$__g_end >> 2] = $__g; + HEAP32[$__dc >> 2] = 0; + HEAP8[$__in_units >> 0] = 1; + HEAP8[$__exp >> 0] = 69; + $__size_$i3$i = $__buf + 4 | 0; + $$pre = HEAP32[$__b >> 2] | 0; + $4 = $$pre; + $50 = $$pre; + $__a$0 = $cond$i$i; L8 : while (1) { - if ($31) { - $33 = HEAP32[$31 + 12 >> 2] | 0; - if (($33 | 0) == (HEAP32[$31 + 16 >> 2] | 0)) $$0$i$i$i$i25 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$31 >> 2] | 0) + 36 >> 2] & 127]($31) | 0; else $$0$i$i$i$i25 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$33 >> 2] | 0) | 0; - if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj($$0$i$i$i$i25, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { - HEAP32[$1 >> 2] = 0; - $132 = 0; - $158 = 1; - $80 = 0; + if ($4) { + $5 = HEAP32[$4 + 12 >> 2] | 0; + if (($5 | 0) == (HEAP32[$4 + 16 >> 2] | 0)) $retval$0$i$i$i$i22 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$4 >> 2] | 0) + 36 >> 2] & 127]($4) | 0; else $retval$0$i$i$i$i22 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$5 >> 2] | 0) | 0; + if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj($retval$0$i$i$i$i22, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { + HEAP32[$__b >> 2] = 0; + $21 = 0; + $41 = 0; + $51 = 1; } else { - $132 = $157; - $158 = 0; - $80 = $31; + $21 = $4; + $41 = $50; + $51 = 0; } } else { - $132 = 0; - $158 = 1; - $80 = 0; + $21 = 0; + $41 = 0; + $51 = 1; } - $45 = HEAP32[$2 >> 2] | 0; - do if ($45) { - $48 = HEAP32[$45 + 12 >> 2] | 0; - if (($48 | 0) == (HEAP32[$45 + 16 >> 2] | 0)) $$0$i$i2$i$i31 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$45 >> 2] | 0) + 36 >> 2] & 127]($45) | 0; else $$0$i$i2$i$i31 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$48 >> 2] | 0) | 0; - if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj($$0$i$i2$i$i31, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if ($158) { - $159 = $45; + $9 = HEAP32[$__e >> 2] | 0; + do if ($9) { + $10 = HEAP32[$9 + 12 >> 2] | 0; + if (($10 | 0) == (HEAP32[$9 + 16 >> 2] | 0)) $retval$0$i$i13$i$i43 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$9 >> 2] | 0) + 36 >> 2] & 127]($9) | 0; else $retval$0$i$i13$i$i43 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$10 >> 2] | 0) | 0; + if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj($retval$0$i$i13$i$i43, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if ($51) { + $52 = $9; break; } else { - $$2 = $$0; - $141 = $45; + $44 = $9; + $__a$2 = $__a$0; break L8; } else { - HEAP32[$2 >> 2] = 0; + HEAP32[$__e >> 2] = 0; label = 19; break; } } else label = 19; while (0); if ((label | 0) == 19) { label = 0; - if ($158) { - $$2 = $$0; - $141 = 0; - break; - } else $159 = 0; - } - $61 = HEAP8[$18 >> 0] | 0; - $65 = $61 << 24 >> 24 < 0 ? HEAP32[$29 >> 2] | 0 : $61 & 255; - if ((HEAP32[$10 >> 2] | 0) == ($$0 + $65 | 0)) { - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($9, $65 << 1, 0); - if ((HEAP8[$18 >> 0] | 0) < 0) $73 = (HEAP32[$21 >> 2] & 2147483647) + -1 | 0; else $73 = 10; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($9, $73, 0); - $77 = (HEAP8[$18 >> 0] | 0) < 0 ? HEAP32[$9 >> 2] | 0 : $9; - HEAP32[$10 >> 2] = $77 + $65; - $$1 = $77; - } else $$1 = $$0; - $79 = $80 + 12 | 0; - $81 = HEAP32[$79 >> 2] | 0; - $82 = $80 + 16 | 0; - if (($81 | 0) == (HEAP32[$82 >> 2] | 0)) $$0$i$i41 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$80 >> 2] | 0) + 36 >> 2] & 127]($80) | 0; else $$0$i$i41 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$81 >> 2] | 0) | 0; - if (__ZNSt3__29__num_getIwE17__stage2_int_loopEwiPcRS2_RjwRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSD_PKw($$0$i$i41, $14, $$1, $10, $13, HEAP32[$6 >> 2] | 0, $8, $11, $12, $15) | 0) { - $$2 = $$1; - $141 = $159; - break; - } - $94 = HEAP32[$79 >> 2] | 0; - if (($94 | 0) == (HEAP32[$82 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$80 >> 2] | 0) + 40 >> 2] & 127]($80) | 0; else { - HEAP32[$79 >> 2] = $94 + 4; - __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$94 >> 2] | 0) | 0; - } - $$0 = $$1; - $157 = $132; - $31 = $80; - } - $103 = HEAP8[$8 + 11 >> 0] | 0; - if (($103 << 24 >> 24 < 0 ? HEAP32[$8 + 4 >> 2] | 0 : $103 & 255) | 0 ? ($110 = HEAP32[$12 >> 2] | 0, ($110 - $11 | 0) < 160) : 0) { - $115 = HEAP32[$13 >> 2] | 0; - HEAP32[$12 >> 2] = $110 + 4; - HEAP32[$110 >> 2] = $115; - } - $118 = __ZNSt3__227__num_get_unsigned_integralIyEET_PKcS3_Rji($$2, HEAP32[$10 >> 2] | 0, $4, $14) | 0; - $119 = getTempRet0() | 0; - $120 = $5; - HEAP32[$120 >> 2] = $118; - HEAP32[$120 + 4 >> 2] = $119; - __ZNSt3__216__check_groupingERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjS8_Rj($8, $11, HEAP32[$12 >> 2] | 0, $4); - if ($80) { - $127 = HEAP32[$80 + 12 >> 2] | 0; - if (($127 | 0) == (HEAP32[$80 + 16 >> 2] | 0)) $$0$i$i$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$132 >> 2] | 0) + 36 >> 2] & 127]($80) | 0; else $$0$i$i$i$i = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$127 >> 2] | 0) | 0; - if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj($$0$i$i$i$i, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { - HEAP32[$1 >> 2] = 0; - $160 = 1; - } else $160 = 0; - } else $160 = 1; - do if ($141) { - $143 = HEAP32[$141 + 12 >> 2] | 0; - if (($143 | 0) == (HEAP32[$141 + 16 >> 2] | 0)) $$0$i$i2$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$141 >> 2] | 0) + 36 >> 2] & 127]($141) | 0; else $$0$i$i2$i$i = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$143 >> 2] | 0) | 0; - if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj($$0$i$i2$i$i, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if ($160) break; else { + if ($51) { + $44 = 0; + $__a$2 = $__a$0; + break; + } else $52 = 0; + } + $15 = HEAP8[$__size_$i$i >> 0] | 0; + $cond$i55 = $15 << 24 >> 24 < 0 ? HEAP32[$__size_$i3$i >> 2] | 0 : $15 & 255; + if ((HEAP32[$__a_end >> 2] | 0) == ($__a$0 + $cond$i55 | 0)) { + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($__buf, $cond$i55 << 1, 0); + if ((HEAP8[$__size_$i$i >> 0] | 0) < 0) $cond$i81 = (HEAP32[$__cap_$i$i >> 2] & 2147483647) + -1 | 0; else $cond$i81 = 10; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($__buf, $cond$i81, 0); + $cond$i$i90 = (HEAP8[$__size_$i$i >> 0] | 0) < 0 ? HEAP32[$__buf >> 2] | 0 : $__buf; + HEAP32[$__a_end >> 2] = $cond$i$i90 + $cond$i55; + $__a$1 = $cond$i$i90; + } else $__a$1 = $__a$0; + $__ninp_$i$i = $21 + 12 | 0; + $22 = HEAP32[$__ninp_$i$i >> 2] | 0; + $__einp_$i$i = $21 + 16 | 0; + if (($22 | 0) == (HEAP32[$__einp_$i$i >> 2] | 0)) $retval$0$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$21 >> 2] | 0) + 36 >> 2] & 127]($21) | 0; else $retval$0$i$i = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$22 >> 2] | 0) | 0; + if (__ZNSt3__29__num_getIwE19__stage2_float_loopEwRbRcPcRS4_wwRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSE_RjPw($retval$0$i$i, $__in_units, $__exp, $__a$1, $__a_end, HEAP32[$__decimal_point >> 2] | 0, HEAP32[$__thousands_sep >> 2] | 0, $__grouping, $__g, $__g_end, $__dc, $__atoms) | 0) { + $44 = $52; + $__a$2 = $__a$1; + break; + } + $28 = HEAP32[$__ninp_$i$i >> 2] | 0; + if (($28 | 0) == (HEAP32[$__einp_$i$i >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$21 >> 2] | 0) + 40 >> 2] & 127]($21) | 0; else { + HEAP32[$__ninp_$i$i >> 2] = $28 + 4; + __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$28 >> 2] | 0) | 0; + } + $4 = $21; + $50 = $41; + $__a$0 = $__a$1; + } + $32 = HEAP8[$__grouping + 11 >> 0] | 0; + if (!((HEAP8[$__in_units >> 0] | 0) == 0 ? 1 : (($32 << 24 >> 24 < 0 ? HEAP32[$__grouping + 4 >> 2] | 0 : $32 & 255) | 0) == 0) ? ($35 = HEAP32[$__g_end >> 2] | 0, ($35 - $__g | 0) < 160) : 0) { + $36 = HEAP32[$__dc >> 2] | 0; + HEAP32[$__g_end >> 2] = $35 + 4; + HEAP32[$35 >> 2] = $36; + } + $call26 = +__ZNSt3__215__num_get_floatIfEET_PKcS3_Rj($__a$2, HEAP32[$__a_end >> 2] | 0, $__err); + HEAPF32[$__v >> 2] = $call26; + __ZNSt3__216__check_groupingERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjS8_Rj($__grouping, $__g, HEAP32[$__g_end >> 2] | 0, $__err); + if ($21) { + $39 = HEAP32[$21 + 12 >> 2] | 0; + if (($39 | 0) == (HEAP32[$21 + 16 >> 2] | 0)) $retval$0$i$i$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$41 >> 2] | 0) + 36 >> 2] & 127]($21) | 0; else $retval$0$i$i$i$i = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$39 >> 2] | 0) | 0; + if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj($retval$0$i$i$i$i, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { + HEAP32[$__b >> 2] = 0; + $53 = 1; + } else $53 = 0; + } else $53 = 1; + do if ($44) { + $45 = HEAP32[$44 + 12 >> 2] | 0; + if (($45 | 0) == (HEAP32[$44 + 16 >> 2] | 0)) $retval$0$i$i13$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$44 >> 2] | 0) + 36 >> 2] & 127]($44) | 0; else $retval$0$i$i13$i$i = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$45 >> 2] | 0) | 0; + if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj($retval$0$i$i13$i$i, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if ($53) break; else { label = 50; break; } else { - HEAP32[$2 >> 2] = 0; + HEAP32[$__e >> 2] = 0; label = 48; break; } } else label = 48; while (0); - if ((label | 0) == 48 ? $160 : 0) label = 50; - if ((label | 0) == 50) HEAP32[$4 >> 2] = HEAP32[$4 >> 2] | 2; - $$sroa$0$0$copyload = HEAP32[$1 >> 2] | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($9); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($8); + if ((label | 0) == 48 ? $53 : 0) label = 50; + if ((label | 0) == 50) HEAP32[$__err >> 2] = HEAP32[$__err >> 2] | 2; + $retval$sroa$0$0$copyload = HEAP32[$__b >> 2] | 0; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($__buf); + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($__grouping); STACKTOP = sp; - return $$sroa$0$0$copyload | 0; + return $retval$sroa$0$0$copyload | 0; } -function __ZNKSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE17__do_get_unsignedIyEES4_S4_S4_RNS_8ios_baseERjRT_($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$0 = 0, $$0$i$i = 0, $$0$i$i$i$i = 0, $$0$i$i$i$i25 = 0, $$0$i$i2$i$i = 0, $$0$i$i2$i$i31 = 0, $$0$i$i41 = 0, $$1 = 0, $$2 = 0, $$pre = 0, $$sroa$0$0$copyload = 0, $10 = 0, $104 = 0, $11 = 0, $111 = 0, $116 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $128 = 0, $13 = 0, $133 = 0, $14 = 0, $142 = 0, $144 = 0, $15 = 0, $158 = 0, $159 = 0, $160 = 0, $161 = 0, $18 = 0, $21 = 0, $24 = 0, $28 = 0, $29 = 0, $31 = 0, $33 = 0, $45 = 0, $48 = 0, $6 = 0, $61 = 0, $65 = 0, $73 = 0, $77 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $9 = 0, $95 = 0, label = 0, sp = 0; +function __ZNKSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE23__do_get_floating_pointIeEES4_S4_S4_RNS_8ios_baseERjRT_($this, $__b, $__e, $__iob, $__err, $__v) { + $this = $this | 0; + $__b = $__b | 0; + $__e = $__e | 0; + $__iob = $__iob | 0; + $__err = $__err | 0; + $__v = $__v | 0; + var $$pre = 0, $10 = 0, $15 = 0, $21 = 0, $22 = 0, $28 = 0, $32 = 0, $35 = 0, $36 = 0, $39 = 0, $4 = 0, $41 = 0, $44 = 0, $45 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $9 = 0, $__a$0 = 0, $__a$1 = 0, $__a$2 = 0, $__a_end = 0, $__atoms = 0, $__buf = 0, $__cap_$i$i = 0, $__dc = 0, $__decimal_point = 0, $__einp_$i$i = 0, $__exp = 0, $__g = 0, $__g_end = 0, $__grouping = 0, $__i$0$i$i = 0, $__in_units = 0, $__ninp_$i$i = 0, $__size_$i$i = 0, $__size_$i3$i = 0, $__thousands_sep = 0, $call26 = 0.0, $cond$i = 0, $cond$i$i = 0, $cond$i$i90 = 0, $cond$i55 = 0, $cond$i81 = 0, $retval$0$i$i = 0, $retval$0$i$i$i$i = 0, $retval$0$i$i$i$i22 = 0, $retval$0$i$i13$i$i = 0, $retval$0$i$i13$i$i43 = 0, $retval$sroa$0$0$copyload = 0, label = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 240 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(240); - $6 = sp + 224 | 0; - $8 = sp + 212 | 0; - $9 = sp + 200 | 0; - $10 = sp + 196 | 0; - $11 = sp; - $12 = sp + 192 | 0; - $13 = sp + 188 | 0; - $14 = __ZNSt3__214__num_get_base10__get_baseERNS_8ios_baseE($3) | 0; - $15 = __ZNKSt3__29__num_getIcE10__do_widenERNS_8ios_baseEPc($0, $3, sp + 160 | 0) | 0; - __ZNSt3__29__num_getIcE17__stage2_int_prepERNS_8ios_baseERc($8, $3, $6); - HEAP32[$9 >> 2] = 0; - HEAP32[$9 + 4 >> 2] = 0; - HEAP32[$9 + 8 >> 2] = 0; - $$0$i$i = 0; + STACKTOP = STACKTOP + 336 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(336); + $__atoms = sp + 160 | 0; + $__decimal_point = sp + 328 | 0; + $__thousands_sep = sp + 324 | 0; + $__grouping = sp + 312 | 0; + $__buf = sp + 300 | 0; + $__a_end = sp + 296 | 0; + $__g = sp; + $__g_end = sp + 292 | 0; + $__dc = sp + 288 | 0; + $__in_units = sp + 333 | 0; + $__exp = sp + 332 | 0; + __ZNSt3__29__num_getIwE19__stage2_float_prepERNS_8ios_baseEPwRwS5_($__grouping, $__iob, $__atoms, $__decimal_point, $__thousands_sep); + HEAP32[$__buf >> 2] = 0; + HEAP32[$__buf + 4 >> 2] = 0; + HEAP32[$__buf + 8 >> 2] = 0; + $__i$0$i$i = 0; while (1) { - if (($$0$i$i | 0) == 3) break; - HEAP32[$9 + ($$0$i$i << 2) >> 2] = 0; - $$0$i$i = $$0$i$i + 1 | 0; - } - $18 = $9 + 11 | 0; - $21 = $9 + 8 | 0; - if ((HEAP8[$18 >> 0] | 0) < 0) $24 = (HEAP32[$21 >> 2] & 2147483647) + -1 | 0; else $24 = 10; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($9, $24, 0); - $28 = (HEAP8[$18 >> 0] | 0) < 0 ? HEAP32[$9 >> 2] | 0 : $9; - HEAP32[$10 >> 2] = $28; - HEAP32[$12 >> 2] = $11; - HEAP32[$13 >> 2] = 0; - $29 = $9 + 4 | 0; - $$pre = HEAP32[$1 >> 2] | 0; - $$0 = $28; - $158 = $$pre; - $31 = $$pre; + if (($__i$0$i$i | 0) == 3) break; + HEAP32[$__buf + ($__i$0$i$i << 2) >> 2] = 0; + $__i$0$i$i = $__i$0$i$i + 1 | 0; + } + $__size_$i$i = $__buf + 11 | 0; + $__cap_$i$i = $__buf + 8 | 0; + if ((HEAP8[$__size_$i$i >> 0] | 0) < 0) $cond$i = (HEAP32[$__cap_$i$i >> 2] & 2147483647) + -1 | 0; else $cond$i = 10; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($__buf, $cond$i, 0); + $cond$i$i = (HEAP8[$__size_$i$i >> 0] | 0) < 0 ? HEAP32[$__buf >> 2] | 0 : $__buf; + HEAP32[$__a_end >> 2] = $cond$i$i; + HEAP32[$__g_end >> 2] = $__g; + HEAP32[$__dc >> 2] = 0; + HEAP8[$__in_units >> 0] = 1; + HEAP8[$__exp >> 0] = 69; + $__size_$i3$i = $__buf + 4 | 0; + $$pre = HEAP32[$__b >> 2] | 0; + $4 = $$pre; + $50 = $$pre; + $__a$0 = $cond$i$i; L8 : while (1) { - if ($31) { - $33 = HEAP32[$31 + 12 >> 2] | 0; - if (($33 | 0) == (HEAP32[$31 + 16 >> 2] | 0)) $$0$i$i$i$i25 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$31 >> 2] | 0) + 36 >> 2] & 127]($31) | 0; else $$0$i$i$i$i25 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$33 >> 0] | 0) | 0; - if (__ZNSt3__211char_traitsIcE11eq_int_typeEii($$0$i$i$i$i25, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { - HEAP32[$1 >> 2] = 0; - $133 = 0; - $159 = 1; - $80 = 0; + if ($4) { + $5 = HEAP32[$4 + 12 >> 2] | 0; + if (($5 | 0) == (HEAP32[$4 + 16 >> 2] | 0)) $retval$0$i$i$i$i22 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$4 >> 2] | 0) + 36 >> 2] & 127]($4) | 0; else $retval$0$i$i$i$i22 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$5 >> 2] | 0) | 0; + if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj($retval$0$i$i$i$i22, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { + HEAP32[$__b >> 2] = 0; + $21 = 0; + $41 = 0; + $51 = 1; } else { - $133 = $158; - $159 = 0; - $80 = $31; + $21 = $4; + $41 = $50; + $51 = 0; } } else { - $133 = 0; - $159 = 1; - $80 = 0; + $21 = 0; + $41 = 0; + $51 = 1; } - $45 = HEAP32[$2 >> 2] | 0; - do if ($45) { - $48 = HEAP32[$45 + 12 >> 2] | 0; - if (($48 | 0) == (HEAP32[$45 + 16 >> 2] | 0)) $$0$i$i2$i$i31 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$45 >> 2] | 0) + 36 >> 2] & 127]($45) | 0; else $$0$i$i2$i$i31 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$48 >> 0] | 0) | 0; - if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii($$0$i$i2$i$i31, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if ($159) { - $160 = $45; + $9 = HEAP32[$__e >> 2] | 0; + do if ($9) { + $10 = HEAP32[$9 + 12 >> 2] | 0; + if (($10 | 0) == (HEAP32[$9 + 16 >> 2] | 0)) $retval$0$i$i13$i$i43 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$9 >> 2] | 0) + 36 >> 2] & 127]($9) | 0; else $retval$0$i$i13$i$i43 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$10 >> 2] | 0) | 0; + if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj($retval$0$i$i13$i$i43, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if ($51) { + $52 = $9; break; } else { - $$2 = $$0; - $142 = $45; + $44 = $9; + $__a$2 = $__a$0; break L8; } else { - HEAP32[$2 >> 2] = 0; + HEAP32[$__e >> 2] = 0; label = 19; break; } } else label = 19; while (0); if ((label | 0) == 19) { label = 0; - if ($159) { - $$2 = $$0; - $142 = 0; - break; - } else $160 = 0; - } - $61 = HEAP8[$18 >> 0] | 0; - $65 = $61 << 24 >> 24 < 0 ? HEAP32[$29 >> 2] | 0 : $61 & 255; - if ((HEAP32[$10 >> 2] | 0) == ($$0 + $65 | 0)) { - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($9, $65 << 1, 0); - if ((HEAP8[$18 >> 0] | 0) < 0) $73 = (HEAP32[$21 >> 2] & 2147483647) + -1 | 0; else $73 = 10; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($9, $73, 0); - $77 = (HEAP8[$18 >> 0] | 0) < 0 ? HEAP32[$9 >> 2] | 0 : $9; - HEAP32[$10 >> 2] = $77 + $65; - $$1 = $77; - } else $$1 = $$0; - $79 = $80 + 12 | 0; - $81 = HEAP32[$79 >> 2] | 0; - $82 = $80 + 16 | 0; - if (($81 | 0) == (HEAP32[$82 >> 2] | 0)) $$0$i$i41 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$80 >> 2] | 0) + 36 >> 2] & 127]($80) | 0; else $$0$i$i41 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$81 >> 0] | 0) | 0; - if (__ZNSt3__29__num_getIcE17__stage2_int_loopEciPcRS2_RjcRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSD_PKc($$0$i$i41 & 255, $14, $$1, $10, $13, HEAP8[$6 >> 0] | 0, $8, $11, $12, $15) | 0) { - $$2 = $$1; - $142 = $160; - break; - } - $95 = HEAP32[$79 >> 2] | 0; - if (($95 | 0) == (HEAP32[$82 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$80 >> 2] | 0) + 40 >> 2] & 127]($80) | 0; else { - HEAP32[$79 >> 2] = $95 + 1; - __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$95 >> 0] | 0) | 0; - } - $$0 = $$1; - $158 = $133; - $31 = $80; - } - $104 = HEAP8[$8 + 11 >> 0] | 0; - if (($104 << 24 >> 24 < 0 ? HEAP32[$8 + 4 >> 2] | 0 : $104 & 255) | 0 ? ($111 = HEAP32[$12 >> 2] | 0, ($111 - $11 | 0) < 160) : 0) { - $116 = HEAP32[$13 >> 2] | 0; - HEAP32[$12 >> 2] = $111 + 4; - HEAP32[$111 >> 2] = $116; - } - $119 = __ZNSt3__227__num_get_unsigned_integralIyEET_PKcS3_Rji($$2, HEAP32[$10 >> 2] | 0, $4, $14) | 0; - $120 = getTempRet0() | 0; - $121 = $5; - HEAP32[$121 >> 2] = $119; - HEAP32[$121 + 4 >> 2] = $120; - __ZNSt3__216__check_groupingERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjS8_Rj($8, $11, HEAP32[$12 >> 2] | 0, $4); - if ($80) { - $128 = HEAP32[$80 + 12 >> 2] | 0; - if (($128 | 0) == (HEAP32[$80 + 16 >> 2] | 0)) $$0$i$i$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$133 >> 2] | 0) + 36 >> 2] & 127]($80) | 0; else $$0$i$i$i$i = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$128 >> 0] | 0) | 0; - if (__ZNSt3__211char_traitsIcE11eq_int_typeEii($$0$i$i$i$i, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { - HEAP32[$1 >> 2] = 0; - $161 = 1; - } else $161 = 0; - } else $161 = 1; - do if ($142) { - $144 = HEAP32[$142 + 12 >> 2] | 0; - if (($144 | 0) == (HEAP32[$142 + 16 >> 2] | 0)) $$0$i$i2$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$142 >> 2] | 0) + 36 >> 2] & 127]($142) | 0; else $$0$i$i2$i$i = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$144 >> 0] | 0) | 0; - if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii($$0$i$i2$i$i, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if ($161) break; else { + if ($51) { + $44 = 0; + $__a$2 = $__a$0; + break; + } else $52 = 0; + } + $15 = HEAP8[$__size_$i$i >> 0] | 0; + $cond$i55 = $15 << 24 >> 24 < 0 ? HEAP32[$__size_$i3$i >> 2] | 0 : $15 & 255; + if ((HEAP32[$__a_end >> 2] | 0) == ($__a$0 + $cond$i55 | 0)) { + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($__buf, $cond$i55 << 1, 0); + if ((HEAP8[$__size_$i$i >> 0] | 0) < 0) $cond$i81 = (HEAP32[$__cap_$i$i >> 2] & 2147483647) + -1 | 0; else $cond$i81 = 10; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($__buf, $cond$i81, 0); + $cond$i$i90 = (HEAP8[$__size_$i$i >> 0] | 0) < 0 ? HEAP32[$__buf >> 2] | 0 : $__buf; + HEAP32[$__a_end >> 2] = $cond$i$i90 + $cond$i55; + $__a$1 = $cond$i$i90; + } else $__a$1 = $__a$0; + $__ninp_$i$i = $21 + 12 | 0; + $22 = HEAP32[$__ninp_$i$i >> 2] | 0; + $__einp_$i$i = $21 + 16 | 0; + if (($22 | 0) == (HEAP32[$__einp_$i$i >> 2] | 0)) $retval$0$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$21 >> 2] | 0) + 36 >> 2] & 127]($21) | 0; else $retval$0$i$i = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$22 >> 2] | 0) | 0; + if (__ZNSt3__29__num_getIwE19__stage2_float_loopEwRbRcPcRS4_wwRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSE_RjPw($retval$0$i$i, $__in_units, $__exp, $__a$1, $__a_end, HEAP32[$__decimal_point >> 2] | 0, HEAP32[$__thousands_sep >> 2] | 0, $__grouping, $__g, $__g_end, $__dc, $__atoms) | 0) { + $44 = $52; + $__a$2 = $__a$1; + break; + } + $28 = HEAP32[$__ninp_$i$i >> 2] | 0; + if (($28 | 0) == (HEAP32[$__einp_$i$i >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$21 >> 2] | 0) + 40 >> 2] & 127]($21) | 0; else { + HEAP32[$__ninp_$i$i >> 2] = $28 + 4; + __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$28 >> 2] | 0) | 0; + } + $4 = $21; + $50 = $41; + $__a$0 = $__a$1; + } + $32 = HEAP8[$__grouping + 11 >> 0] | 0; + if (!((HEAP8[$__in_units >> 0] | 0) == 0 ? 1 : (($32 << 24 >> 24 < 0 ? HEAP32[$__grouping + 4 >> 2] | 0 : $32 & 255) | 0) == 0) ? ($35 = HEAP32[$__g_end >> 2] | 0, ($35 - $__g | 0) < 160) : 0) { + $36 = HEAP32[$__dc >> 2] | 0; + HEAP32[$__g_end >> 2] = $35 + 4; + HEAP32[$35 >> 2] = $36; + } + $call26 = +__ZNSt3__215__num_get_floatIeEET_PKcS3_Rj($__a$2, HEAP32[$__a_end >> 2] | 0, $__err); + HEAPF64[$__v >> 3] = $call26; + __ZNSt3__216__check_groupingERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjS8_Rj($__grouping, $__g, HEAP32[$__g_end >> 2] | 0, $__err); + if ($21) { + $39 = HEAP32[$21 + 12 >> 2] | 0; + if (($39 | 0) == (HEAP32[$21 + 16 >> 2] | 0)) $retval$0$i$i$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$41 >> 2] | 0) + 36 >> 2] & 127]($21) | 0; else $retval$0$i$i$i$i = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$39 >> 2] | 0) | 0; + if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj($retval$0$i$i$i$i, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { + HEAP32[$__b >> 2] = 0; + $53 = 1; + } else $53 = 0; + } else $53 = 1; + do if ($44) { + $45 = HEAP32[$44 + 12 >> 2] | 0; + if (($45 | 0) == (HEAP32[$44 + 16 >> 2] | 0)) $retval$0$i$i13$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$44 >> 2] | 0) + 36 >> 2] & 127]($44) | 0; else $retval$0$i$i13$i$i = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$45 >> 2] | 0) | 0; + if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj($retval$0$i$i13$i$i, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if ($53) break; else { label = 50; break; } else { - HEAP32[$2 >> 2] = 0; + HEAP32[$__e >> 2] = 0; label = 48; break; } } else label = 48; while (0); - if ((label | 0) == 48 ? $161 : 0) label = 50; - if ((label | 0) == 50) HEAP32[$4 >> 2] = HEAP32[$4 >> 2] | 2; - $$sroa$0$0$copyload = HEAP32[$1 >> 2] | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($9); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($8); + if ((label | 0) == 48 ? $53 : 0) label = 50; + if ((label | 0) == 50) HEAP32[$__err >> 2] = HEAP32[$__err >> 2] | 2; + $retval$sroa$0$0$copyload = HEAP32[$__b >> 2] | 0; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($__buf); + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($__grouping); STACKTOP = sp; - return $$sroa$0$0$copyload | 0; + return $retval$sroa$0$0$copyload | 0; } -function __ZNKSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE15__do_get_signedIxEES4_S4_S4_RNS_8ios_baseERjRT_($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$0 = 0, $$0$i$i = 0, $$0$i$i$i$i = 0, $$0$i$i$i$i25 = 0, $$0$i$i2$i$i = 0, $$0$i$i2$i$i31 = 0, $$0$i$i41 = 0, $$1 = 0, $$2 = 0, $$pre = 0, $$sroa$0$0$copyload = 0, $10 = 0, $103 = 0, $11 = 0, $110 = 0, $115 = 0, $118 = 0, $119 = 0, $12 = 0, $120 = 0, $127 = 0, $13 = 0, $132 = 0, $14 = 0, $141 = 0, $143 = 0, $15 = 0, $157 = 0, $158 = 0, $159 = 0, $160 = 0, $18 = 0, $21 = 0, $24 = 0, $28 = 0, $29 = 0, $31 = 0, $33 = 0, $45 = 0, $48 = 0, $6 = 0, $61 = 0, $65 = 0, $73 = 0, $77 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $9 = 0, $94 = 0, label = 0, sp = 0; +function __ZNKSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE23__do_get_floating_pointIdEES4_S4_S4_RNS_8ios_baseERjRT_($this, $__b, $__e, $__iob, $__err, $__v) { + $this = $this | 0; + $__b = $__b | 0; + $__e = $__e | 0; + $__iob = $__iob | 0; + $__err = $__err | 0; + $__v = $__v | 0; + var $$pre = 0, $10 = 0, $15 = 0, $21 = 0, $22 = 0, $28 = 0, $32 = 0, $35 = 0, $36 = 0, $39 = 0, $4 = 0, $41 = 0, $44 = 0, $45 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $9 = 0, $__a$0 = 0, $__a$1 = 0, $__a$2 = 0, $__a_end = 0, $__atoms = 0, $__buf = 0, $__cap_$i$i = 0, $__dc = 0, $__decimal_point = 0, $__einp_$i$i = 0, $__exp = 0, $__g = 0, $__g_end = 0, $__grouping = 0, $__i$0$i$i = 0, $__in_units = 0, $__ninp_$i$i = 0, $__size_$i$i = 0, $__size_$i3$i = 0, $__thousands_sep = 0, $call26 = 0.0, $cond$i = 0, $cond$i$i = 0, $cond$i$i90 = 0, $cond$i55 = 0, $cond$i81 = 0, $retval$0$i$i = 0, $retval$0$i$i$i$i = 0, $retval$0$i$i$i$i22 = 0, $retval$0$i$i13$i$i = 0, $retval$0$i$i13$i$i43 = 0, $retval$sroa$0$0$copyload = 0, label = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 304 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(304); - $6 = sp + 300 | 0; - $8 = sp + 288 | 0; - $9 = sp + 276 | 0; - $10 = sp + 272 | 0; - $11 = sp; - $12 = sp + 268 | 0; - $13 = sp + 264 | 0; - $14 = __ZNSt3__214__num_get_base10__get_baseERNS_8ios_baseE($3) | 0; - $15 = __ZNKSt3__29__num_getIwE10__do_widenERNS_8ios_baseEPw($0, $3, sp + 160 | 0) | 0; - __ZNSt3__29__num_getIwE17__stage2_int_prepERNS_8ios_baseERw($8, $3, $6); - HEAP32[$9 >> 2] = 0; - HEAP32[$9 + 4 >> 2] = 0; - HEAP32[$9 + 8 >> 2] = 0; - $$0$i$i = 0; + STACKTOP = STACKTOP + 336 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(336); + $__atoms = sp + 160 | 0; + $__decimal_point = sp + 328 | 0; + $__thousands_sep = sp + 324 | 0; + $__grouping = sp + 312 | 0; + $__buf = sp + 300 | 0; + $__a_end = sp + 296 | 0; + $__g = sp; + $__g_end = sp + 292 | 0; + $__dc = sp + 288 | 0; + $__in_units = sp + 333 | 0; + $__exp = sp + 332 | 0; + __ZNSt3__29__num_getIwE19__stage2_float_prepERNS_8ios_baseEPwRwS5_($__grouping, $__iob, $__atoms, $__decimal_point, $__thousands_sep); + HEAP32[$__buf >> 2] = 0; + HEAP32[$__buf + 4 >> 2] = 0; + HEAP32[$__buf + 8 >> 2] = 0; + $__i$0$i$i = 0; while (1) { - if (($$0$i$i | 0) == 3) break; - HEAP32[$9 + ($$0$i$i << 2) >> 2] = 0; - $$0$i$i = $$0$i$i + 1 | 0; - } - $18 = $9 + 11 | 0; - $21 = $9 + 8 | 0; - if ((HEAP8[$18 >> 0] | 0) < 0) $24 = (HEAP32[$21 >> 2] & 2147483647) + -1 | 0; else $24 = 10; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($9, $24, 0); - $28 = (HEAP8[$18 >> 0] | 0) < 0 ? HEAP32[$9 >> 2] | 0 : $9; - HEAP32[$10 >> 2] = $28; - HEAP32[$12 >> 2] = $11; - HEAP32[$13 >> 2] = 0; - $29 = $9 + 4 | 0; - $$pre = HEAP32[$1 >> 2] | 0; - $$0 = $28; - $157 = $$pre; - $31 = $$pre; + if (($__i$0$i$i | 0) == 3) break; + HEAP32[$__buf + ($__i$0$i$i << 2) >> 2] = 0; + $__i$0$i$i = $__i$0$i$i + 1 | 0; + } + $__size_$i$i = $__buf + 11 | 0; + $__cap_$i$i = $__buf + 8 | 0; + if ((HEAP8[$__size_$i$i >> 0] | 0) < 0) $cond$i = (HEAP32[$__cap_$i$i >> 2] & 2147483647) + -1 | 0; else $cond$i = 10; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($__buf, $cond$i, 0); + $cond$i$i = (HEAP8[$__size_$i$i >> 0] | 0) < 0 ? HEAP32[$__buf >> 2] | 0 : $__buf; + HEAP32[$__a_end >> 2] = $cond$i$i; + HEAP32[$__g_end >> 2] = $__g; + HEAP32[$__dc >> 2] = 0; + HEAP8[$__in_units >> 0] = 1; + HEAP8[$__exp >> 0] = 69; + $__size_$i3$i = $__buf + 4 | 0; + $$pre = HEAP32[$__b >> 2] | 0; + $4 = $$pre; + $50 = $$pre; + $__a$0 = $cond$i$i; L8 : while (1) { - if ($31) { - $33 = HEAP32[$31 + 12 >> 2] | 0; - if (($33 | 0) == (HEAP32[$31 + 16 >> 2] | 0)) $$0$i$i$i$i25 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$31 >> 2] | 0) + 36 >> 2] & 127]($31) | 0; else $$0$i$i$i$i25 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$33 >> 2] | 0) | 0; - if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj($$0$i$i$i$i25, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { - HEAP32[$1 >> 2] = 0; - $132 = 0; - $158 = 1; - $80 = 0; + if ($4) { + $5 = HEAP32[$4 + 12 >> 2] | 0; + if (($5 | 0) == (HEAP32[$4 + 16 >> 2] | 0)) $retval$0$i$i$i$i22 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$4 >> 2] | 0) + 36 >> 2] & 127]($4) | 0; else $retval$0$i$i$i$i22 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$5 >> 2] | 0) | 0; + if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj($retval$0$i$i$i$i22, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { + HEAP32[$__b >> 2] = 0; + $21 = 0; + $41 = 0; + $51 = 1; } else { - $132 = $157; - $158 = 0; - $80 = $31; + $21 = $4; + $41 = $50; + $51 = 0; } } else { - $132 = 0; - $158 = 1; - $80 = 0; + $21 = 0; + $41 = 0; + $51 = 1; } - $45 = HEAP32[$2 >> 2] | 0; - do if ($45) { - $48 = HEAP32[$45 + 12 >> 2] | 0; - if (($48 | 0) == (HEAP32[$45 + 16 >> 2] | 0)) $$0$i$i2$i$i31 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$45 >> 2] | 0) + 36 >> 2] & 127]($45) | 0; else $$0$i$i2$i$i31 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$48 >> 2] | 0) | 0; - if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj($$0$i$i2$i$i31, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if ($158) { - $159 = $45; + $9 = HEAP32[$__e >> 2] | 0; + do if ($9) { + $10 = HEAP32[$9 + 12 >> 2] | 0; + if (($10 | 0) == (HEAP32[$9 + 16 >> 2] | 0)) $retval$0$i$i13$i$i43 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$9 >> 2] | 0) + 36 >> 2] & 127]($9) | 0; else $retval$0$i$i13$i$i43 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$10 >> 2] | 0) | 0; + if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj($retval$0$i$i13$i$i43, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if ($51) { + $52 = $9; break; } else { - $$2 = $$0; - $141 = $45; + $44 = $9; + $__a$2 = $__a$0; break L8; } else { - HEAP32[$2 >> 2] = 0; + HEAP32[$__e >> 2] = 0; label = 19; break; } } else label = 19; while (0); if ((label | 0) == 19) { label = 0; - if ($158) { - $$2 = $$0; - $141 = 0; - break; - } else $159 = 0; - } - $61 = HEAP8[$18 >> 0] | 0; - $65 = $61 << 24 >> 24 < 0 ? HEAP32[$29 >> 2] | 0 : $61 & 255; - if ((HEAP32[$10 >> 2] | 0) == ($$0 + $65 | 0)) { - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($9, $65 << 1, 0); - if ((HEAP8[$18 >> 0] | 0) < 0) $73 = (HEAP32[$21 >> 2] & 2147483647) + -1 | 0; else $73 = 10; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($9, $73, 0); - $77 = (HEAP8[$18 >> 0] | 0) < 0 ? HEAP32[$9 >> 2] | 0 : $9; - HEAP32[$10 >> 2] = $77 + $65; - $$1 = $77; - } else $$1 = $$0; - $79 = $80 + 12 | 0; - $81 = HEAP32[$79 >> 2] | 0; - $82 = $80 + 16 | 0; - if (($81 | 0) == (HEAP32[$82 >> 2] | 0)) $$0$i$i41 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$80 >> 2] | 0) + 36 >> 2] & 127]($80) | 0; else $$0$i$i41 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$81 >> 2] | 0) | 0; - if (__ZNSt3__29__num_getIwE17__stage2_int_loopEwiPcRS2_RjwRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSD_PKw($$0$i$i41, $14, $$1, $10, $13, HEAP32[$6 >> 2] | 0, $8, $11, $12, $15) | 0) { - $$2 = $$1; - $141 = $159; - break; - } - $94 = HEAP32[$79 >> 2] | 0; - if (($94 | 0) == (HEAP32[$82 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$80 >> 2] | 0) + 40 >> 2] & 127]($80) | 0; else { - HEAP32[$79 >> 2] = $94 + 4; - __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$94 >> 2] | 0) | 0; - } - $$0 = $$1; - $157 = $132; - $31 = $80; - } - $103 = HEAP8[$8 + 11 >> 0] | 0; - if (($103 << 24 >> 24 < 0 ? HEAP32[$8 + 4 >> 2] | 0 : $103 & 255) | 0 ? ($110 = HEAP32[$12 >> 2] | 0, ($110 - $11 | 0) < 160) : 0) { - $115 = HEAP32[$13 >> 2] | 0; - HEAP32[$12 >> 2] = $110 + 4; - HEAP32[$110 >> 2] = $115; - } - $118 = __ZNSt3__225__num_get_signed_integralIxEET_PKcS3_Rji($$2, HEAP32[$10 >> 2] | 0, $4, $14) | 0; - $119 = getTempRet0() | 0; - $120 = $5; - HEAP32[$120 >> 2] = $118; - HEAP32[$120 + 4 >> 2] = $119; - __ZNSt3__216__check_groupingERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjS8_Rj($8, $11, HEAP32[$12 >> 2] | 0, $4); - if ($80) { - $127 = HEAP32[$80 + 12 >> 2] | 0; - if (($127 | 0) == (HEAP32[$80 + 16 >> 2] | 0)) $$0$i$i$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$132 >> 2] | 0) + 36 >> 2] & 127]($80) | 0; else $$0$i$i$i$i = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$127 >> 2] | 0) | 0; - if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj($$0$i$i$i$i, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { - HEAP32[$1 >> 2] = 0; - $160 = 1; - } else $160 = 0; - } else $160 = 1; - do if ($141) { - $143 = HEAP32[$141 + 12 >> 2] | 0; - if (($143 | 0) == (HEAP32[$141 + 16 >> 2] | 0)) $$0$i$i2$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$141 >> 2] | 0) + 36 >> 2] & 127]($141) | 0; else $$0$i$i2$i$i = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$143 >> 2] | 0) | 0; - if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj($$0$i$i2$i$i, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if ($160) break; else { + if ($51) { + $44 = 0; + $__a$2 = $__a$0; + break; + } else $52 = 0; + } + $15 = HEAP8[$__size_$i$i >> 0] | 0; + $cond$i55 = $15 << 24 >> 24 < 0 ? HEAP32[$__size_$i3$i >> 2] | 0 : $15 & 255; + if ((HEAP32[$__a_end >> 2] | 0) == ($__a$0 + $cond$i55 | 0)) { + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($__buf, $cond$i55 << 1, 0); + if ((HEAP8[$__size_$i$i >> 0] | 0) < 0) $cond$i81 = (HEAP32[$__cap_$i$i >> 2] & 2147483647) + -1 | 0; else $cond$i81 = 10; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($__buf, $cond$i81, 0); + $cond$i$i90 = (HEAP8[$__size_$i$i >> 0] | 0) < 0 ? HEAP32[$__buf >> 2] | 0 : $__buf; + HEAP32[$__a_end >> 2] = $cond$i$i90 + $cond$i55; + $__a$1 = $cond$i$i90; + } else $__a$1 = $__a$0; + $__ninp_$i$i = $21 + 12 | 0; + $22 = HEAP32[$__ninp_$i$i >> 2] | 0; + $__einp_$i$i = $21 + 16 | 0; + if (($22 | 0) == (HEAP32[$__einp_$i$i >> 2] | 0)) $retval$0$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$21 >> 2] | 0) + 36 >> 2] & 127]($21) | 0; else $retval$0$i$i = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$22 >> 2] | 0) | 0; + if (__ZNSt3__29__num_getIwE19__stage2_float_loopEwRbRcPcRS4_wwRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSE_RjPw($retval$0$i$i, $__in_units, $__exp, $__a$1, $__a_end, HEAP32[$__decimal_point >> 2] | 0, HEAP32[$__thousands_sep >> 2] | 0, $__grouping, $__g, $__g_end, $__dc, $__atoms) | 0) { + $44 = $52; + $__a$2 = $__a$1; + break; + } + $28 = HEAP32[$__ninp_$i$i >> 2] | 0; + if (($28 | 0) == (HEAP32[$__einp_$i$i >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$21 >> 2] | 0) + 40 >> 2] & 127]($21) | 0; else { + HEAP32[$__ninp_$i$i >> 2] = $28 + 4; + __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$28 >> 2] | 0) | 0; + } + $4 = $21; + $50 = $41; + $__a$0 = $__a$1; + } + $32 = HEAP8[$__grouping + 11 >> 0] | 0; + if (!((HEAP8[$__in_units >> 0] | 0) == 0 ? 1 : (($32 << 24 >> 24 < 0 ? HEAP32[$__grouping + 4 >> 2] | 0 : $32 & 255) | 0) == 0) ? ($35 = HEAP32[$__g_end >> 2] | 0, ($35 - $__g | 0) < 160) : 0) { + $36 = HEAP32[$__dc >> 2] | 0; + HEAP32[$__g_end >> 2] = $35 + 4; + HEAP32[$35 >> 2] = $36; + } + $call26 = +__ZNSt3__215__num_get_floatIdEET_PKcS3_Rj($__a$2, HEAP32[$__a_end >> 2] | 0, $__err); + HEAPF64[$__v >> 3] = $call26; + __ZNSt3__216__check_groupingERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjS8_Rj($__grouping, $__g, HEAP32[$__g_end >> 2] | 0, $__err); + if ($21) { + $39 = HEAP32[$21 + 12 >> 2] | 0; + if (($39 | 0) == (HEAP32[$21 + 16 >> 2] | 0)) $retval$0$i$i$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$41 >> 2] | 0) + 36 >> 2] & 127]($21) | 0; else $retval$0$i$i$i$i = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$39 >> 2] | 0) | 0; + if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj($retval$0$i$i$i$i, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { + HEAP32[$__b >> 2] = 0; + $53 = 1; + } else $53 = 0; + } else $53 = 1; + do if ($44) { + $45 = HEAP32[$44 + 12 >> 2] | 0; + if (($45 | 0) == (HEAP32[$44 + 16 >> 2] | 0)) $retval$0$i$i13$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$44 >> 2] | 0) + 36 >> 2] & 127]($44) | 0; else $retval$0$i$i13$i$i = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$45 >> 2] | 0) | 0; + if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj($retval$0$i$i13$i$i, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if ($53) break; else { label = 50; break; } else { - HEAP32[$2 >> 2] = 0; + HEAP32[$__e >> 2] = 0; label = 48; break; } } else label = 48; while (0); - if ((label | 0) == 48 ? $160 : 0) label = 50; - if ((label | 0) == 50) HEAP32[$4 >> 2] = HEAP32[$4 >> 2] | 2; - $$sroa$0$0$copyload = HEAP32[$1 >> 2] | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($9); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($8); + if ((label | 0) == 48 ? $53 : 0) label = 50; + if ((label | 0) == 50) HEAP32[$__err >> 2] = HEAP32[$__err >> 2] | 2; + $retval$sroa$0$0$copyload = HEAP32[$__b >> 2] | 0; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($__buf); + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($__grouping); STACKTOP = sp; - return $$sroa$0$0$copyload | 0; + return $retval$sroa$0$0$copyload | 0; } -function __ZNKSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE15__do_get_signedIxEES4_S4_S4_RNS_8ios_baseERjRT_($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$0 = 0, $$0$i$i = 0, $$0$i$i$i$i = 0, $$0$i$i$i$i25 = 0, $$0$i$i2$i$i = 0, $$0$i$i2$i$i31 = 0, $$0$i$i41 = 0, $$1 = 0, $$2 = 0, $$pre = 0, $$sroa$0$0$copyload = 0, $10 = 0, $104 = 0, $11 = 0, $111 = 0, $116 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $128 = 0, $13 = 0, $133 = 0, $14 = 0, $142 = 0, $144 = 0, $15 = 0, $158 = 0, $159 = 0, $160 = 0, $161 = 0, $18 = 0, $21 = 0, $24 = 0, $28 = 0, $29 = 0, $31 = 0, $33 = 0, $45 = 0, $48 = 0, $6 = 0, $61 = 0, $65 = 0, $73 = 0, $77 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $9 = 0, $95 = 0, label = 0, sp = 0; +function __ZNKSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE23__do_get_floating_pointIfEES4_S4_S4_RNS_8ios_baseERjRT_($this, $__b, $__e, $__iob, $__err, $__v) { + $this = $this | 0; + $__b = $__b | 0; + $__e = $__e | 0; + $__iob = $__iob | 0; + $__err = $__err | 0; + $__v = $__v | 0; + var $$pre = 0, $10 = 0, $15 = 0, $21 = 0, $22 = 0, $28 = 0, $32 = 0, $35 = 0, $36 = 0, $39 = 0, $4 = 0, $41 = 0, $44 = 0, $45 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $9 = 0, $__a$0 = 0, $__a$1 = 0, $__a$2 = 0, $__a_end = 0, $__atoms = 0, $__buf = 0, $__cap_$i$i = 0, $__dc = 0, $__decimal_point = 0, $__einp_$i$i = 0, $__exp = 0, $__g = 0, $__g_end = 0, $__grouping = 0, $__i$0$i$i = 0, $__in_units = 0, $__ninp_$i$i = 0, $__size_$i$i = 0, $__size_$i3$i = 0, $__thousands_sep = 0, $call26 = 0.0, $cond$i = 0, $cond$i$i = 0, $cond$i$i90 = 0, $cond$i55 = 0, $cond$i81 = 0, $retval$0$i$i = 0, $retval$0$i$i$i$i = 0, $retval$0$i$i$i$i22 = 0, $retval$0$i$i13$i$i = 0, $retval$0$i$i13$i$i43 = 0, $retval$sroa$0$0$copyload = 0, label = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 240 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(240); - $6 = sp + 224 | 0; - $8 = sp + 212 | 0; - $9 = sp + 200 | 0; - $10 = sp + 196 | 0; - $11 = sp; - $12 = sp + 192 | 0; - $13 = sp + 188 | 0; - $14 = __ZNSt3__214__num_get_base10__get_baseERNS_8ios_baseE($3) | 0; - $15 = __ZNKSt3__29__num_getIcE10__do_widenERNS_8ios_baseEPc($0, $3, sp + 160 | 0) | 0; - __ZNSt3__29__num_getIcE17__stage2_int_prepERNS_8ios_baseERc($8, $3, $6); - HEAP32[$9 >> 2] = 0; - HEAP32[$9 + 4 >> 2] = 0; - HEAP32[$9 + 8 >> 2] = 0; - $$0$i$i = 0; + $__atoms = sp + 160 | 0; + $__decimal_point = sp + 231 | 0; + $__thousands_sep = sp + 230 | 0; + $__grouping = sp + 216 | 0; + $__buf = sp + 204 | 0; + $__a_end = sp + 200 | 0; + $__g = sp; + $__g_end = sp + 196 | 0; + $__dc = sp + 192 | 0; + $__in_units = sp + 229 | 0; + $__exp = sp + 228 | 0; + __ZNSt3__29__num_getIcE19__stage2_float_prepERNS_8ios_baseEPcRcS5_($__grouping, $__iob, $__atoms, $__decimal_point, $__thousands_sep); + HEAP32[$__buf >> 2] = 0; + HEAP32[$__buf + 4 >> 2] = 0; + HEAP32[$__buf + 8 >> 2] = 0; + $__i$0$i$i = 0; while (1) { - if (($$0$i$i | 0) == 3) break; - HEAP32[$9 + ($$0$i$i << 2) >> 2] = 0; - $$0$i$i = $$0$i$i + 1 | 0; - } - $18 = $9 + 11 | 0; - $21 = $9 + 8 | 0; - if ((HEAP8[$18 >> 0] | 0) < 0) $24 = (HEAP32[$21 >> 2] & 2147483647) + -1 | 0; else $24 = 10; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($9, $24, 0); - $28 = (HEAP8[$18 >> 0] | 0) < 0 ? HEAP32[$9 >> 2] | 0 : $9; - HEAP32[$10 >> 2] = $28; - HEAP32[$12 >> 2] = $11; - HEAP32[$13 >> 2] = 0; - $29 = $9 + 4 | 0; - $$pre = HEAP32[$1 >> 2] | 0; - $$0 = $28; - $158 = $$pre; - $31 = $$pre; + if (($__i$0$i$i | 0) == 3) break; + HEAP32[$__buf + ($__i$0$i$i << 2) >> 2] = 0; + $__i$0$i$i = $__i$0$i$i + 1 | 0; + } + $__size_$i$i = $__buf + 11 | 0; + $__cap_$i$i = $__buf + 8 | 0; + if ((HEAP8[$__size_$i$i >> 0] | 0) < 0) $cond$i = (HEAP32[$__cap_$i$i >> 2] & 2147483647) + -1 | 0; else $cond$i = 10; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($__buf, $cond$i, 0); + $cond$i$i = (HEAP8[$__size_$i$i >> 0] | 0) < 0 ? HEAP32[$__buf >> 2] | 0 : $__buf; + HEAP32[$__a_end >> 2] = $cond$i$i; + HEAP32[$__g_end >> 2] = $__g; + HEAP32[$__dc >> 2] = 0; + HEAP8[$__in_units >> 0] = 1; + HEAP8[$__exp >> 0] = 69; + $__size_$i3$i = $__buf + 4 | 0; + $$pre = HEAP32[$__b >> 2] | 0; + $4 = $$pre; + $50 = $$pre; + $__a$0 = $cond$i$i; L8 : while (1) { - if ($31) { - $33 = HEAP32[$31 + 12 >> 2] | 0; - if (($33 | 0) == (HEAP32[$31 + 16 >> 2] | 0)) $$0$i$i$i$i25 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$31 >> 2] | 0) + 36 >> 2] & 127]($31) | 0; else $$0$i$i$i$i25 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$33 >> 0] | 0) | 0; - if (__ZNSt3__211char_traitsIcE11eq_int_typeEii($$0$i$i$i$i25, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { - HEAP32[$1 >> 2] = 0; - $133 = 0; - $159 = 1; - $80 = 0; + if ($4) { + $5 = HEAP32[$4 + 12 >> 2] | 0; + if (($5 | 0) == (HEAP32[$4 + 16 >> 2] | 0)) $retval$0$i$i$i$i22 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$4 >> 2] | 0) + 36 >> 2] & 127]($4) | 0; else $retval$0$i$i$i$i22 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$5 >> 0] | 0) | 0; + if (__ZNSt3__211char_traitsIcE11eq_int_typeEii($retval$0$i$i$i$i22, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { + HEAP32[$__b >> 2] = 0; + $21 = 0; + $41 = 0; + $51 = 1; } else { - $133 = $158; - $159 = 0; - $80 = $31; + $21 = $4; + $41 = $50; + $51 = 0; } } else { - $133 = 0; - $159 = 1; - $80 = 0; + $21 = 0; + $41 = 0; + $51 = 1; } - $45 = HEAP32[$2 >> 2] | 0; - do if ($45) { - $48 = HEAP32[$45 + 12 >> 2] | 0; - if (($48 | 0) == (HEAP32[$45 + 16 >> 2] | 0)) $$0$i$i2$i$i31 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$45 >> 2] | 0) + 36 >> 2] & 127]($45) | 0; else $$0$i$i2$i$i31 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$48 >> 0] | 0) | 0; - if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii($$0$i$i2$i$i31, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if ($159) { - $160 = $45; + $9 = HEAP32[$__e >> 2] | 0; + do if ($9) { + $10 = HEAP32[$9 + 12 >> 2] | 0; + if (($10 | 0) == (HEAP32[$9 + 16 >> 2] | 0)) $retval$0$i$i13$i$i43 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$9 >> 2] | 0) + 36 >> 2] & 127]($9) | 0; else $retval$0$i$i13$i$i43 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$10 >> 0] | 0) | 0; + if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii($retval$0$i$i13$i$i43, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if ($51) { + $52 = $9; break; } else { - $$2 = $$0; - $142 = $45; + $44 = $9; + $__a$2 = $__a$0; break L8; } else { - HEAP32[$2 >> 2] = 0; + HEAP32[$__e >> 2] = 0; label = 19; break; } } else label = 19; while (0); if ((label | 0) == 19) { label = 0; - if ($159) { - $$2 = $$0; - $142 = 0; - break; - } else $160 = 0; - } - $61 = HEAP8[$18 >> 0] | 0; - $65 = $61 << 24 >> 24 < 0 ? HEAP32[$29 >> 2] | 0 : $61 & 255; - if ((HEAP32[$10 >> 2] | 0) == ($$0 + $65 | 0)) { - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($9, $65 << 1, 0); - if ((HEAP8[$18 >> 0] | 0) < 0) $73 = (HEAP32[$21 >> 2] & 2147483647) + -1 | 0; else $73 = 10; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($9, $73, 0); - $77 = (HEAP8[$18 >> 0] | 0) < 0 ? HEAP32[$9 >> 2] | 0 : $9; - HEAP32[$10 >> 2] = $77 + $65; - $$1 = $77; - } else $$1 = $$0; - $79 = $80 + 12 | 0; - $81 = HEAP32[$79 >> 2] | 0; - $82 = $80 + 16 | 0; - if (($81 | 0) == (HEAP32[$82 >> 2] | 0)) $$0$i$i41 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$80 >> 2] | 0) + 36 >> 2] & 127]($80) | 0; else $$0$i$i41 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$81 >> 0] | 0) | 0; - if (__ZNSt3__29__num_getIcE17__stage2_int_loopEciPcRS2_RjcRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSD_PKc($$0$i$i41 & 255, $14, $$1, $10, $13, HEAP8[$6 >> 0] | 0, $8, $11, $12, $15) | 0) { - $$2 = $$1; - $142 = $160; - break; - } - $95 = HEAP32[$79 >> 2] | 0; - if (($95 | 0) == (HEAP32[$82 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$80 >> 2] | 0) + 40 >> 2] & 127]($80) | 0; else { - HEAP32[$79 >> 2] = $95 + 1; - __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$95 >> 0] | 0) | 0; - } - $$0 = $$1; - $158 = $133; - $31 = $80; - } - $104 = HEAP8[$8 + 11 >> 0] | 0; - if (($104 << 24 >> 24 < 0 ? HEAP32[$8 + 4 >> 2] | 0 : $104 & 255) | 0 ? ($111 = HEAP32[$12 >> 2] | 0, ($111 - $11 | 0) < 160) : 0) { - $116 = HEAP32[$13 >> 2] | 0; - HEAP32[$12 >> 2] = $111 + 4; - HEAP32[$111 >> 2] = $116; - } - $119 = __ZNSt3__225__num_get_signed_integralIxEET_PKcS3_Rji($$2, HEAP32[$10 >> 2] | 0, $4, $14) | 0; - $120 = getTempRet0() | 0; - $121 = $5; - HEAP32[$121 >> 2] = $119; - HEAP32[$121 + 4 >> 2] = $120; - __ZNSt3__216__check_groupingERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjS8_Rj($8, $11, HEAP32[$12 >> 2] | 0, $4); - if ($80) { - $128 = HEAP32[$80 + 12 >> 2] | 0; - if (($128 | 0) == (HEAP32[$80 + 16 >> 2] | 0)) $$0$i$i$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$133 >> 2] | 0) + 36 >> 2] & 127]($80) | 0; else $$0$i$i$i$i = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$128 >> 0] | 0) | 0; - if (__ZNSt3__211char_traitsIcE11eq_int_typeEii($$0$i$i$i$i, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { - HEAP32[$1 >> 2] = 0; - $161 = 1; - } else $161 = 0; - } else $161 = 1; - do if ($142) { - $144 = HEAP32[$142 + 12 >> 2] | 0; - if (($144 | 0) == (HEAP32[$142 + 16 >> 2] | 0)) $$0$i$i2$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$142 >> 2] | 0) + 36 >> 2] & 127]($142) | 0; else $$0$i$i2$i$i = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$144 >> 0] | 0) | 0; - if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii($$0$i$i2$i$i, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if ($161) break; else { + if ($51) { + $44 = 0; + $__a$2 = $__a$0; + break; + } else $52 = 0; + } + $15 = HEAP8[$__size_$i$i >> 0] | 0; + $cond$i55 = $15 << 24 >> 24 < 0 ? HEAP32[$__size_$i3$i >> 2] | 0 : $15 & 255; + if ((HEAP32[$__a_end >> 2] | 0) == ($__a$0 + $cond$i55 | 0)) { + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($__buf, $cond$i55 << 1, 0); + if ((HEAP8[$__size_$i$i >> 0] | 0) < 0) $cond$i81 = (HEAP32[$__cap_$i$i >> 2] & 2147483647) + -1 | 0; else $cond$i81 = 10; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($__buf, $cond$i81, 0); + $cond$i$i90 = (HEAP8[$__size_$i$i >> 0] | 0) < 0 ? HEAP32[$__buf >> 2] | 0 : $__buf; + HEAP32[$__a_end >> 2] = $cond$i$i90 + $cond$i55; + $__a$1 = $cond$i$i90; + } else $__a$1 = $__a$0; + $__ninp_$i$i = $21 + 12 | 0; + $22 = HEAP32[$__ninp_$i$i >> 2] | 0; + $__einp_$i$i = $21 + 16 | 0; + if (($22 | 0) == (HEAP32[$__einp_$i$i >> 2] | 0)) $retval$0$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$21 >> 2] | 0) + 36 >> 2] & 127]($21) | 0; else $retval$0$i$i = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$22 >> 0] | 0) | 0; + if (__ZNSt3__29__num_getIcE19__stage2_float_loopEcRbRcPcRS4_ccRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSE_RjS4_($retval$0$i$i & 255, $__in_units, $__exp, $__a$1, $__a_end, HEAP8[$__decimal_point >> 0] | 0, HEAP8[$__thousands_sep >> 0] | 0, $__grouping, $__g, $__g_end, $__dc, $__atoms) | 0) { + $44 = $52; + $__a$2 = $__a$1; + break; + } + $28 = HEAP32[$__ninp_$i$i >> 2] | 0; + if (($28 | 0) == (HEAP32[$__einp_$i$i >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$21 >> 2] | 0) + 40 >> 2] & 127]($21) | 0; else { + HEAP32[$__ninp_$i$i >> 2] = $28 + 1; + __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$28 >> 0] | 0) | 0; + } + $4 = $21; + $50 = $41; + $__a$0 = $__a$1; + } + $32 = HEAP8[$__grouping + 11 >> 0] | 0; + if (!((HEAP8[$__in_units >> 0] | 0) == 0 ? 1 : (($32 << 24 >> 24 < 0 ? HEAP32[$__grouping + 4 >> 2] | 0 : $32 & 255) | 0) == 0) ? ($35 = HEAP32[$__g_end >> 2] | 0, ($35 - $__g | 0) < 160) : 0) { + $36 = HEAP32[$__dc >> 2] | 0; + HEAP32[$__g_end >> 2] = $35 + 4; + HEAP32[$35 >> 2] = $36; + } + $call26 = +__ZNSt3__215__num_get_floatIfEET_PKcS3_Rj($__a$2, HEAP32[$__a_end >> 2] | 0, $__err); + HEAPF32[$__v >> 2] = $call26; + __ZNSt3__216__check_groupingERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjS8_Rj($__grouping, $__g, HEAP32[$__g_end >> 2] | 0, $__err); + if ($21) { + $39 = HEAP32[$21 + 12 >> 2] | 0; + if (($39 | 0) == (HEAP32[$21 + 16 >> 2] | 0)) $retval$0$i$i$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$41 >> 2] | 0) + 36 >> 2] & 127]($21) | 0; else $retval$0$i$i$i$i = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$39 >> 0] | 0) | 0; + if (__ZNSt3__211char_traitsIcE11eq_int_typeEii($retval$0$i$i$i$i, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { + HEAP32[$__b >> 2] = 0; + $53 = 1; + } else $53 = 0; + } else $53 = 1; + do if ($44) { + $45 = HEAP32[$44 + 12 >> 2] | 0; + if (($45 | 0) == (HEAP32[$44 + 16 >> 2] | 0)) $retval$0$i$i13$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$44 >> 2] | 0) + 36 >> 2] & 127]($44) | 0; else $retval$0$i$i13$i$i = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$45 >> 0] | 0) | 0; + if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii($retval$0$i$i13$i$i, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if ($53) break; else { label = 50; break; } else { - HEAP32[$2 >> 2] = 0; + HEAP32[$__e >> 2] = 0; label = 48; break; } } else label = 48; while (0); - if ((label | 0) == 48 ? $161 : 0) label = 50; - if ((label | 0) == 50) HEAP32[$4 >> 2] = HEAP32[$4 >> 2] | 2; - $$sroa$0$0$copyload = HEAP32[$1 >> 2] | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($9); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($8); + if ((label | 0) == 48 ? $53 : 0) label = 50; + if ((label | 0) == 50) HEAP32[$__err >> 2] = HEAP32[$__err >> 2] | 2; + $retval$sroa$0$0$copyload = HEAP32[$__b >> 2] | 0; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($__buf); + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($__grouping); STACKTOP = sp; - return $$sroa$0$0$copyload | 0; + return $retval$sroa$0$0$copyload | 0; } -function __ZNKSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE23__do_get_floating_pointIfEES4_S4_S4_RNS_8ios_baseERjRT_($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$0 = 0, $$0$i$i = 0, $$0$i$i$i$i = 0, $$0$i$i$i$i15 = 0, $$0$i$i2$i$i = 0, $$0$i$i2$i$i21 = 0, $$0$i$i31 = 0, $$1 = 0, $$2 = 0, $$pre = 0, $$sroa$0$0$copyload = 0, $10 = 0, $105 = 0, $11 = 0, $114 = 0, $119 = 0, $12 = 0, $122 = 0.0, $126 = 0, $13 = 0, $131 = 0, $14 = 0, $140 = 0, $142 = 0, $15 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $19 = 0, $22 = 0, $25 = 0, $29 = 0, $30 = 0, $32 = 0, $34 = 0, $46 = 0, $49 = 0, $6 = 0, $62 = 0, $66 = 0, $7 = 0, $74 = 0, $78 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $9 = 0, $96 = 0, label = 0, sp = 0; +function __ZNKSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE23__do_get_floating_pointIeEES4_S4_S4_RNS_8ios_baseERjRT_($this, $__b, $__e, $__iob, $__err, $__v) { + $this = $this | 0; + $__b = $__b | 0; + $__e = $__e | 0; + $__iob = $__iob | 0; + $__err = $__err | 0; + $__v = $__v | 0; + var $$pre = 0, $10 = 0, $15 = 0, $21 = 0, $22 = 0, $28 = 0, $32 = 0, $35 = 0, $36 = 0, $39 = 0, $4 = 0, $41 = 0, $44 = 0, $45 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $9 = 0, $__a$0 = 0, $__a$1 = 0, $__a$2 = 0, $__a_end = 0, $__atoms = 0, $__buf = 0, $__cap_$i$i = 0, $__dc = 0, $__decimal_point = 0, $__einp_$i$i = 0, $__exp = 0, $__g = 0, $__g_end = 0, $__grouping = 0, $__i$0$i$i = 0, $__in_units = 0, $__ninp_$i$i = 0, $__size_$i$i = 0, $__size_$i3$i = 0, $__thousands_sep = 0, $call26 = 0.0, $cond$i = 0, $cond$i$i = 0, $cond$i$i90 = 0, $cond$i55 = 0, $cond$i81 = 0, $retval$0$i$i = 0, $retval$0$i$i$i$i = 0, $retval$0$i$i$i$i22 = 0, $retval$0$i$i13$i$i = 0, $retval$0$i$i13$i$i43 = 0, $retval$sroa$0$0$copyload = 0, label = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 336 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(336); - $6 = sp + 160 | 0; - $7 = sp + 328 | 0; - $8 = sp + 324 | 0; - $9 = sp + 312 | 0; - $10 = sp + 300 | 0; - $11 = sp + 296 | 0; - $12 = sp; - $13 = sp + 292 | 0; - $14 = sp + 288 | 0; - $15 = sp + 333 | 0; - $16 = sp + 332 | 0; - __ZNSt3__29__num_getIwE19__stage2_float_prepERNS_8ios_baseEPwRwS5_($9, $3, $6, $7, $8); - HEAP32[$10 >> 2] = 0; - HEAP32[$10 + 4 >> 2] = 0; - HEAP32[$10 + 8 >> 2] = 0; - $$0$i$i = 0; + STACKTOP = STACKTOP + 240 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(240); + $__atoms = sp + 160 | 0; + $__decimal_point = sp + 231 | 0; + $__thousands_sep = sp + 230 | 0; + $__grouping = sp + 216 | 0; + $__buf = sp + 204 | 0; + $__a_end = sp + 200 | 0; + $__g = sp; + $__g_end = sp + 196 | 0; + $__dc = sp + 192 | 0; + $__in_units = sp + 229 | 0; + $__exp = sp + 228 | 0; + __ZNSt3__29__num_getIcE19__stage2_float_prepERNS_8ios_baseEPcRcS5_($__grouping, $__iob, $__atoms, $__decimal_point, $__thousands_sep); + HEAP32[$__buf >> 2] = 0; + HEAP32[$__buf + 4 >> 2] = 0; + HEAP32[$__buf + 8 >> 2] = 0; + $__i$0$i$i = 0; while (1) { - if (($$0$i$i | 0) == 3) break; - HEAP32[$10 + ($$0$i$i << 2) >> 2] = 0; - $$0$i$i = $$0$i$i + 1 | 0; - } - $19 = $10 + 11 | 0; - $22 = $10 + 8 | 0; - if ((HEAP8[$19 >> 0] | 0) < 0) $25 = (HEAP32[$22 >> 2] & 2147483647) + -1 | 0; else $25 = 10; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($10, $25, 0); - $29 = (HEAP8[$19 >> 0] | 0) < 0 ? HEAP32[$10 >> 2] | 0 : $10; - HEAP32[$11 >> 2] = $29; - HEAP32[$13 >> 2] = $12; - HEAP32[$14 >> 2] = 0; - HEAP8[$15 >> 0] = 1; - HEAP8[$16 >> 0] = 69; - $30 = $10 + 4 | 0; - $$pre = HEAP32[$1 >> 2] | 0; - $$0 = $29; - $156 = $$pre; - $32 = $$pre; + if (($__i$0$i$i | 0) == 3) break; + HEAP32[$__buf + ($__i$0$i$i << 2) >> 2] = 0; + $__i$0$i$i = $__i$0$i$i + 1 | 0; + } + $__size_$i$i = $__buf + 11 | 0; + $__cap_$i$i = $__buf + 8 | 0; + if ((HEAP8[$__size_$i$i >> 0] | 0) < 0) $cond$i = (HEAP32[$__cap_$i$i >> 2] & 2147483647) + -1 | 0; else $cond$i = 10; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($__buf, $cond$i, 0); + $cond$i$i = (HEAP8[$__size_$i$i >> 0] | 0) < 0 ? HEAP32[$__buf >> 2] | 0 : $__buf; + HEAP32[$__a_end >> 2] = $cond$i$i; + HEAP32[$__g_end >> 2] = $__g; + HEAP32[$__dc >> 2] = 0; + HEAP8[$__in_units >> 0] = 1; + HEAP8[$__exp >> 0] = 69; + $__size_$i3$i = $__buf + 4 | 0; + $$pre = HEAP32[$__b >> 2] | 0; + $4 = $$pre; + $50 = $$pre; + $__a$0 = $cond$i$i; L8 : while (1) { - if ($32) { - $34 = HEAP32[$32 + 12 >> 2] | 0; - if (($34 | 0) == (HEAP32[$32 + 16 >> 2] | 0)) $$0$i$i$i$i15 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$32 >> 2] | 0) + 36 >> 2] & 127]($32) | 0; else $$0$i$i$i$i15 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$34 >> 2] | 0) | 0; - if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj($$0$i$i$i$i15, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { - HEAP32[$1 >> 2] = 0; - $131 = 0; - $157 = 1; - $81 = 0; + if ($4) { + $5 = HEAP32[$4 + 12 >> 2] | 0; + if (($5 | 0) == (HEAP32[$4 + 16 >> 2] | 0)) $retval$0$i$i$i$i22 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$4 >> 2] | 0) + 36 >> 2] & 127]($4) | 0; else $retval$0$i$i$i$i22 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$5 >> 0] | 0) | 0; + if (__ZNSt3__211char_traitsIcE11eq_int_typeEii($retval$0$i$i$i$i22, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { + HEAP32[$__b >> 2] = 0; + $21 = 0; + $41 = 0; + $51 = 1; } else { - $131 = $156; - $157 = 0; - $81 = $32; + $21 = $4; + $41 = $50; + $51 = 0; } } else { - $131 = 0; - $157 = 1; - $81 = 0; + $21 = 0; + $41 = 0; + $51 = 1; } - $46 = HEAP32[$2 >> 2] | 0; - do if ($46) { - $49 = HEAP32[$46 + 12 >> 2] | 0; - if (($49 | 0) == (HEAP32[$46 + 16 >> 2] | 0)) $$0$i$i2$i$i21 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$46 >> 2] | 0) + 36 >> 2] & 127]($46) | 0; else $$0$i$i2$i$i21 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$49 >> 2] | 0) | 0; - if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj($$0$i$i2$i$i21, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if ($157) { - $158 = $46; + $9 = HEAP32[$__e >> 2] | 0; + do if ($9) { + $10 = HEAP32[$9 + 12 >> 2] | 0; + if (($10 | 0) == (HEAP32[$9 + 16 >> 2] | 0)) $retval$0$i$i13$i$i43 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$9 >> 2] | 0) + 36 >> 2] & 127]($9) | 0; else $retval$0$i$i13$i$i43 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$10 >> 0] | 0) | 0; + if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii($retval$0$i$i13$i$i43, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if ($51) { + $52 = $9; break; } else { - $$2 = $$0; - $140 = $46; + $44 = $9; + $__a$2 = $__a$0; break L8; } else { - HEAP32[$2 >> 2] = 0; + HEAP32[$__e >> 2] = 0; label = 19; break; } } else label = 19; while (0); if ((label | 0) == 19) { label = 0; - if ($157) { - $$2 = $$0; - $140 = 0; - break; - } else $158 = 0; - } - $62 = HEAP8[$19 >> 0] | 0; - $66 = $62 << 24 >> 24 < 0 ? HEAP32[$30 >> 2] | 0 : $62 & 255; - if ((HEAP32[$11 >> 2] | 0) == ($$0 + $66 | 0)) { - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($10, $66 << 1, 0); - if ((HEAP8[$19 >> 0] | 0) < 0) $74 = (HEAP32[$22 >> 2] & 2147483647) + -1 | 0; else $74 = 10; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($10, $74, 0); - $78 = (HEAP8[$19 >> 0] | 0) < 0 ? HEAP32[$10 >> 2] | 0 : $10; - HEAP32[$11 >> 2] = $78 + $66; - $$1 = $78; - } else $$1 = $$0; - $80 = $81 + 12 | 0; - $82 = HEAP32[$80 >> 2] | 0; - $83 = $81 + 16 | 0; - if (($82 | 0) == (HEAP32[$83 >> 2] | 0)) $$0$i$i31 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$81 >> 2] | 0) + 36 >> 2] & 127]($81) | 0; else $$0$i$i31 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$82 >> 2] | 0) | 0; - if (__ZNSt3__29__num_getIwE19__stage2_float_loopEwRbRcPcRS4_wwRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSE_RjPw($$0$i$i31, $15, $16, $$1, $11, HEAP32[$7 >> 2] | 0, HEAP32[$8 >> 2] | 0, $9, $12, $13, $14, $6) | 0) { - $$2 = $$1; - $140 = $158; - break; - } - $96 = HEAP32[$80 >> 2] | 0; - if (($96 | 0) == (HEAP32[$83 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$81 >> 2] | 0) + 40 >> 2] & 127]($81) | 0; else { - HEAP32[$80 >> 2] = $96 + 4; - __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$96 >> 2] | 0) | 0; - } - $$0 = $$1; - $156 = $131; - $32 = $81; - } - $105 = HEAP8[$9 + 11 >> 0] | 0; - if (!((HEAP8[$15 >> 0] | 0) == 0 ? 1 : (($105 << 24 >> 24 < 0 ? HEAP32[$9 + 4 >> 2] | 0 : $105 & 255) | 0) == 0) ? ($114 = HEAP32[$13 >> 2] | 0, ($114 - $12 | 0) < 160) : 0) { - $119 = HEAP32[$14 >> 2] | 0; - HEAP32[$13 >> 2] = $114 + 4; - HEAP32[$114 >> 2] = $119; - } - $122 = +__ZNSt3__215__num_get_floatIfEET_PKcS3_Rj($$2, HEAP32[$11 >> 2] | 0, $4); - HEAPF32[$5 >> 2] = $122; - __ZNSt3__216__check_groupingERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjS8_Rj($9, $12, HEAP32[$13 >> 2] | 0, $4); - if ($81) { - $126 = HEAP32[$81 + 12 >> 2] | 0; - if (($126 | 0) == (HEAP32[$81 + 16 >> 2] | 0)) $$0$i$i$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$131 >> 2] | 0) + 36 >> 2] & 127]($81) | 0; else $$0$i$i$i$i = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$126 >> 2] | 0) | 0; - if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj($$0$i$i$i$i, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { - HEAP32[$1 >> 2] = 0; - $159 = 1; - } else $159 = 0; - } else $159 = 1; - do if ($140) { - $142 = HEAP32[$140 + 12 >> 2] | 0; - if (($142 | 0) == (HEAP32[$140 + 16 >> 2] | 0)) $$0$i$i2$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$140 >> 2] | 0) + 36 >> 2] & 127]($140) | 0; else $$0$i$i2$i$i = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$142 >> 2] | 0) | 0; - if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj($$0$i$i2$i$i, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if ($159) break; else { + if ($51) { + $44 = 0; + $__a$2 = $__a$0; + break; + } else $52 = 0; + } + $15 = HEAP8[$__size_$i$i >> 0] | 0; + $cond$i55 = $15 << 24 >> 24 < 0 ? HEAP32[$__size_$i3$i >> 2] | 0 : $15 & 255; + if ((HEAP32[$__a_end >> 2] | 0) == ($__a$0 + $cond$i55 | 0)) { + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($__buf, $cond$i55 << 1, 0); + if ((HEAP8[$__size_$i$i >> 0] | 0) < 0) $cond$i81 = (HEAP32[$__cap_$i$i >> 2] & 2147483647) + -1 | 0; else $cond$i81 = 10; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($__buf, $cond$i81, 0); + $cond$i$i90 = (HEAP8[$__size_$i$i >> 0] | 0) < 0 ? HEAP32[$__buf >> 2] | 0 : $__buf; + HEAP32[$__a_end >> 2] = $cond$i$i90 + $cond$i55; + $__a$1 = $cond$i$i90; + } else $__a$1 = $__a$0; + $__ninp_$i$i = $21 + 12 | 0; + $22 = HEAP32[$__ninp_$i$i >> 2] | 0; + $__einp_$i$i = $21 + 16 | 0; + if (($22 | 0) == (HEAP32[$__einp_$i$i >> 2] | 0)) $retval$0$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$21 >> 2] | 0) + 36 >> 2] & 127]($21) | 0; else $retval$0$i$i = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$22 >> 0] | 0) | 0; + if (__ZNSt3__29__num_getIcE19__stage2_float_loopEcRbRcPcRS4_ccRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSE_RjS4_($retval$0$i$i & 255, $__in_units, $__exp, $__a$1, $__a_end, HEAP8[$__decimal_point >> 0] | 0, HEAP8[$__thousands_sep >> 0] | 0, $__grouping, $__g, $__g_end, $__dc, $__atoms) | 0) { + $44 = $52; + $__a$2 = $__a$1; + break; + } + $28 = HEAP32[$__ninp_$i$i >> 2] | 0; + if (($28 | 0) == (HEAP32[$__einp_$i$i >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$21 >> 2] | 0) + 40 >> 2] & 127]($21) | 0; else { + HEAP32[$__ninp_$i$i >> 2] = $28 + 1; + __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$28 >> 0] | 0) | 0; + } + $4 = $21; + $50 = $41; + $__a$0 = $__a$1; + } + $32 = HEAP8[$__grouping + 11 >> 0] | 0; + if (!((HEAP8[$__in_units >> 0] | 0) == 0 ? 1 : (($32 << 24 >> 24 < 0 ? HEAP32[$__grouping + 4 >> 2] | 0 : $32 & 255) | 0) == 0) ? ($35 = HEAP32[$__g_end >> 2] | 0, ($35 - $__g | 0) < 160) : 0) { + $36 = HEAP32[$__dc >> 2] | 0; + HEAP32[$__g_end >> 2] = $35 + 4; + HEAP32[$35 >> 2] = $36; + } + $call26 = +__ZNSt3__215__num_get_floatIeEET_PKcS3_Rj($__a$2, HEAP32[$__a_end >> 2] | 0, $__err); + HEAPF64[$__v >> 3] = $call26; + __ZNSt3__216__check_groupingERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjS8_Rj($__grouping, $__g, HEAP32[$__g_end >> 2] | 0, $__err); + if ($21) { + $39 = HEAP32[$21 + 12 >> 2] | 0; + if (($39 | 0) == (HEAP32[$21 + 16 >> 2] | 0)) $retval$0$i$i$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$41 >> 2] | 0) + 36 >> 2] & 127]($21) | 0; else $retval$0$i$i$i$i = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$39 >> 0] | 0) | 0; + if (__ZNSt3__211char_traitsIcE11eq_int_typeEii($retval$0$i$i$i$i, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { + HEAP32[$__b >> 2] = 0; + $53 = 1; + } else $53 = 0; + } else $53 = 1; + do if ($44) { + $45 = HEAP32[$44 + 12 >> 2] | 0; + if (($45 | 0) == (HEAP32[$44 + 16 >> 2] | 0)) $retval$0$i$i13$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$44 >> 2] | 0) + 36 >> 2] & 127]($44) | 0; else $retval$0$i$i13$i$i = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$45 >> 0] | 0) | 0; + if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii($retval$0$i$i13$i$i, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if ($53) break; else { label = 50; break; } else { - HEAP32[$2 >> 2] = 0; + HEAP32[$__e >> 2] = 0; label = 48; break; } } else label = 48; while (0); - if ((label | 0) == 48 ? $159 : 0) label = 50; - if ((label | 0) == 50) HEAP32[$4 >> 2] = HEAP32[$4 >> 2] | 2; - $$sroa$0$0$copyload = HEAP32[$1 >> 2] | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($10); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($9); + if ((label | 0) == 48 ? $53 : 0) label = 50; + if ((label | 0) == 50) HEAP32[$__err >> 2] = HEAP32[$__err >> 2] | 2; + $retval$sroa$0$0$copyload = HEAP32[$__b >> 2] | 0; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($__buf); + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($__grouping); STACKTOP = sp; - return $$sroa$0$0$copyload | 0; + return $retval$sroa$0$0$copyload | 0; } -function __ZNKSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE23__do_get_floating_pointIeEES4_S4_S4_RNS_8ios_baseERjRT_($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$0 = 0, $$0$i$i = 0, $$0$i$i$i$i = 0, $$0$i$i$i$i15 = 0, $$0$i$i2$i$i = 0, $$0$i$i2$i$i21 = 0, $$0$i$i31 = 0, $$1 = 0, $$2 = 0, $$pre = 0, $$sroa$0$0$copyload = 0, $10 = 0, $105 = 0, $11 = 0, $114 = 0, $119 = 0, $12 = 0, $122 = 0.0, $126 = 0, $13 = 0, $131 = 0, $14 = 0, $140 = 0, $142 = 0, $15 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $19 = 0, $22 = 0, $25 = 0, $29 = 0, $30 = 0, $32 = 0, $34 = 0, $46 = 0, $49 = 0, $6 = 0, $62 = 0, $66 = 0, $7 = 0, $74 = 0, $78 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $9 = 0, $96 = 0, label = 0, sp = 0; +function __ZNKSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE23__do_get_floating_pointIdEES4_S4_S4_RNS_8ios_baseERjRT_($this, $__b, $__e, $__iob, $__err, $__v) { + $this = $this | 0; + $__b = $__b | 0; + $__e = $__e | 0; + $__iob = $__iob | 0; + $__err = $__err | 0; + $__v = $__v | 0; + var $$pre = 0, $10 = 0, $15 = 0, $21 = 0, $22 = 0, $28 = 0, $32 = 0, $35 = 0, $36 = 0, $39 = 0, $4 = 0, $41 = 0, $44 = 0, $45 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $9 = 0, $__a$0 = 0, $__a$1 = 0, $__a$2 = 0, $__a_end = 0, $__atoms = 0, $__buf = 0, $__cap_$i$i = 0, $__dc = 0, $__decimal_point = 0, $__einp_$i$i = 0, $__exp = 0, $__g = 0, $__g_end = 0, $__grouping = 0, $__i$0$i$i = 0, $__in_units = 0, $__ninp_$i$i = 0, $__size_$i$i = 0, $__size_$i3$i = 0, $__thousands_sep = 0, $call26 = 0.0, $cond$i = 0, $cond$i$i = 0, $cond$i$i90 = 0, $cond$i55 = 0, $cond$i81 = 0, $retval$0$i$i = 0, $retval$0$i$i$i$i = 0, $retval$0$i$i$i$i22 = 0, $retval$0$i$i13$i$i = 0, $retval$0$i$i13$i$i43 = 0, $retval$sroa$0$0$copyload = 0, label = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 336 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(336); - $6 = sp + 160 | 0; - $7 = sp + 328 | 0; - $8 = sp + 324 | 0; - $9 = sp + 312 | 0; - $10 = sp + 300 | 0; - $11 = sp + 296 | 0; - $12 = sp; - $13 = sp + 292 | 0; - $14 = sp + 288 | 0; - $15 = sp + 333 | 0; - $16 = sp + 332 | 0; - __ZNSt3__29__num_getIwE19__stage2_float_prepERNS_8ios_baseEPwRwS5_($9, $3, $6, $7, $8); - HEAP32[$10 >> 2] = 0; - HEAP32[$10 + 4 >> 2] = 0; - HEAP32[$10 + 8 >> 2] = 0; - $$0$i$i = 0; + STACKTOP = STACKTOP + 240 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(240); + $__atoms = sp + 160 | 0; + $__decimal_point = sp + 231 | 0; + $__thousands_sep = sp + 230 | 0; + $__grouping = sp + 216 | 0; + $__buf = sp + 204 | 0; + $__a_end = sp + 200 | 0; + $__g = sp; + $__g_end = sp + 196 | 0; + $__dc = sp + 192 | 0; + $__in_units = sp + 229 | 0; + $__exp = sp + 228 | 0; + __ZNSt3__29__num_getIcE19__stage2_float_prepERNS_8ios_baseEPcRcS5_($__grouping, $__iob, $__atoms, $__decimal_point, $__thousands_sep); + HEAP32[$__buf >> 2] = 0; + HEAP32[$__buf + 4 >> 2] = 0; + HEAP32[$__buf + 8 >> 2] = 0; + $__i$0$i$i = 0; while (1) { - if (($$0$i$i | 0) == 3) break; - HEAP32[$10 + ($$0$i$i << 2) >> 2] = 0; - $$0$i$i = $$0$i$i + 1 | 0; - } - $19 = $10 + 11 | 0; - $22 = $10 + 8 | 0; - if ((HEAP8[$19 >> 0] | 0) < 0) $25 = (HEAP32[$22 >> 2] & 2147483647) + -1 | 0; else $25 = 10; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($10, $25, 0); - $29 = (HEAP8[$19 >> 0] | 0) < 0 ? HEAP32[$10 >> 2] | 0 : $10; - HEAP32[$11 >> 2] = $29; - HEAP32[$13 >> 2] = $12; - HEAP32[$14 >> 2] = 0; - HEAP8[$15 >> 0] = 1; - HEAP8[$16 >> 0] = 69; - $30 = $10 + 4 | 0; - $$pre = HEAP32[$1 >> 2] | 0; - $$0 = $29; - $156 = $$pre; - $32 = $$pre; + if (($__i$0$i$i | 0) == 3) break; + HEAP32[$__buf + ($__i$0$i$i << 2) >> 2] = 0; + $__i$0$i$i = $__i$0$i$i + 1 | 0; + } + $__size_$i$i = $__buf + 11 | 0; + $__cap_$i$i = $__buf + 8 | 0; + if ((HEAP8[$__size_$i$i >> 0] | 0) < 0) $cond$i = (HEAP32[$__cap_$i$i >> 2] & 2147483647) + -1 | 0; else $cond$i = 10; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($__buf, $cond$i, 0); + $cond$i$i = (HEAP8[$__size_$i$i >> 0] | 0) < 0 ? HEAP32[$__buf >> 2] | 0 : $__buf; + HEAP32[$__a_end >> 2] = $cond$i$i; + HEAP32[$__g_end >> 2] = $__g; + HEAP32[$__dc >> 2] = 0; + HEAP8[$__in_units >> 0] = 1; + HEAP8[$__exp >> 0] = 69; + $__size_$i3$i = $__buf + 4 | 0; + $$pre = HEAP32[$__b >> 2] | 0; + $4 = $$pre; + $50 = $$pre; + $__a$0 = $cond$i$i; L8 : while (1) { - if ($32) { - $34 = HEAP32[$32 + 12 >> 2] | 0; - if (($34 | 0) == (HEAP32[$32 + 16 >> 2] | 0)) $$0$i$i$i$i15 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$32 >> 2] | 0) + 36 >> 2] & 127]($32) | 0; else $$0$i$i$i$i15 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$34 >> 2] | 0) | 0; - if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj($$0$i$i$i$i15, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { - HEAP32[$1 >> 2] = 0; - $131 = 0; - $157 = 1; - $81 = 0; + if ($4) { + $5 = HEAP32[$4 + 12 >> 2] | 0; + if (($5 | 0) == (HEAP32[$4 + 16 >> 2] | 0)) $retval$0$i$i$i$i22 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$4 >> 2] | 0) + 36 >> 2] & 127]($4) | 0; else $retval$0$i$i$i$i22 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$5 >> 0] | 0) | 0; + if (__ZNSt3__211char_traitsIcE11eq_int_typeEii($retval$0$i$i$i$i22, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { + HEAP32[$__b >> 2] = 0; + $21 = 0; + $41 = 0; + $51 = 1; } else { - $131 = $156; - $157 = 0; - $81 = $32; + $21 = $4; + $41 = $50; + $51 = 0; } } else { - $131 = 0; - $157 = 1; - $81 = 0; + $21 = 0; + $41 = 0; + $51 = 1; } - $46 = HEAP32[$2 >> 2] | 0; - do if ($46) { - $49 = HEAP32[$46 + 12 >> 2] | 0; - if (($49 | 0) == (HEAP32[$46 + 16 >> 2] | 0)) $$0$i$i2$i$i21 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$46 >> 2] | 0) + 36 >> 2] & 127]($46) | 0; else $$0$i$i2$i$i21 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$49 >> 2] | 0) | 0; - if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj($$0$i$i2$i$i21, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if ($157) { - $158 = $46; + $9 = HEAP32[$__e >> 2] | 0; + do if ($9) { + $10 = HEAP32[$9 + 12 >> 2] | 0; + if (($10 | 0) == (HEAP32[$9 + 16 >> 2] | 0)) $retval$0$i$i13$i$i43 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$9 >> 2] | 0) + 36 >> 2] & 127]($9) | 0; else $retval$0$i$i13$i$i43 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$10 >> 0] | 0) | 0; + if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii($retval$0$i$i13$i$i43, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if ($51) { + $52 = $9; break; } else { - $$2 = $$0; - $140 = $46; + $44 = $9; + $__a$2 = $__a$0; break L8; } else { - HEAP32[$2 >> 2] = 0; + HEAP32[$__e >> 2] = 0; label = 19; break; } } else label = 19; while (0); if ((label | 0) == 19) { label = 0; - if ($157) { - $$2 = $$0; - $140 = 0; - break; - } else $158 = 0; - } - $62 = HEAP8[$19 >> 0] | 0; - $66 = $62 << 24 >> 24 < 0 ? HEAP32[$30 >> 2] | 0 : $62 & 255; - if ((HEAP32[$11 >> 2] | 0) == ($$0 + $66 | 0)) { - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($10, $66 << 1, 0); - if ((HEAP8[$19 >> 0] | 0) < 0) $74 = (HEAP32[$22 >> 2] & 2147483647) + -1 | 0; else $74 = 10; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($10, $74, 0); - $78 = (HEAP8[$19 >> 0] | 0) < 0 ? HEAP32[$10 >> 2] | 0 : $10; - HEAP32[$11 >> 2] = $78 + $66; - $$1 = $78; - } else $$1 = $$0; - $80 = $81 + 12 | 0; - $82 = HEAP32[$80 >> 2] | 0; - $83 = $81 + 16 | 0; - if (($82 | 0) == (HEAP32[$83 >> 2] | 0)) $$0$i$i31 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$81 >> 2] | 0) + 36 >> 2] & 127]($81) | 0; else $$0$i$i31 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$82 >> 2] | 0) | 0; - if (__ZNSt3__29__num_getIwE19__stage2_float_loopEwRbRcPcRS4_wwRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSE_RjPw($$0$i$i31, $15, $16, $$1, $11, HEAP32[$7 >> 2] | 0, HEAP32[$8 >> 2] | 0, $9, $12, $13, $14, $6) | 0) { - $$2 = $$1; - $140 = $158; - break; - } - $96 = HEAP32[$80 >> 2] | 0; - if (($96 | 0) == (HEAP32[$83 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$81 >> 2] | 0) + 40 >> 2] & 127]($81) | 0; else { - HEAP32[$80 >> 2] = $96 + 4; - __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$96 >> 2] | 0) | 0; - } - $$0 = $$1; - $156 = $131; - $32 = $81; - } - $105 = HEAP8[$9 + 11 >> 0] | 0; - if (!((HEAP8[$15 >> 0] | 0) == 0 ? 1 : (($105 << 24 >> 24 < 0 ? HEAP32[$9 + 4 >> 2] | 0 : $105 & 255) | 0) == 0) ? ($114 = HEAP32[$13 >> 2] | 0, ($114 - $12 | 0) < 160) : 0) { - $119 = HEAP32[$14 >> 2] | 0; - HEAP32[$13 >> 2] = $114 + 4; - HEAP32[$114 >> 2] = $119; - } - $122 = +__ZNSt3__215__num_get_floatIeEET_PKcS3_Rj($$2, HEAP32[$11 >> 2] | 0, $4); - HEAPF64[$5 >> 3] = $122; - __ZNSt3__216__check_groupingERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjS8_Rj($9, $12, HEAP32[$13 >> 2] | 0, $4); - if ($81) { - $126 = HEAP32[$81 + 12 >> 2] | 0; - if (($126 | 0) == (HEAP32[$81 + 16 >> 2] | 0)) $$0$i$i$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$131 >> 2] | 0) + 36 >> 2] & 127]($81) | 0; else $$0$i$i$i$i = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$126 >> 2] | 0) | 0; - if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj($$0$i$i$i$i, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { - HEAP32[$1 >> 2] = 0; - $159 = 1; - } else $159 = 0; - } else $159 = 1; - do if ($140) { - $142 = HEAP32[$140 + 12 >> 2] | 0; - if (($142 | 0) == (HEAP32[$140 + 16 >> 2] | 0)) $$0$i$i2$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$140 >> 2] | 0) + 36 >> 2] & 127]($140) | 0; else $$0$i$i2$i$i = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$142 >> 2] | 0) | 0; - if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj($$0$i$i2$i$i, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if ($159) break; else { + if ($51) { + $44 = 0; + $__a$2 = $__a$0; + break; + } else $52 = 0; + } + $15 = HEAP8[$__size_$i$i >> 0] | 0; + $cond$i55 = $15 << 24 >> 24 < 0 ? HEAP32[$__size_$i3$i >> 2] | 0 : $15 & 255; + if ((HEAP32[$__a_end >> 2] | 0) == ($__a$0 + $cond$i55 | 0)) { + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($__buf, $cond$i55 << 1, 0); + if ((HEAP8[$__size_$i$i >> 0] | 0) < 0) $cond$i81 = (HEAP32[$__cap_$i$i >> 2] & 2147483647) + -1 | 0; else $cond$i81 = 10; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($__buf, $cond$i81, 0); + $cond$i$i90 = (HEAP8[$__size_$i$i >> 0] | 0) < 0 ? HEAP32[$__buf >> 2] | 0 : $__buf; + HEAP32[$__a_end >> 2] = $cond$i$i90 + $cond$i55; + $__a$1 = $cond$i$i90; + } else $__a$1 = $__a$0; + $__ninp_$i$i = $21 + 12 | 0; + $22 = HEAP32[$__ninp_$i$i >> 2] | 0; + $__einp_$i$i = $21 + 16 | 0; + if (($22 | 0) == (HEAP32[$__einp_$i$i >> 2] | 0)) $retval$0$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$21 >> 2] | 0) + 36 >> 2] & 127]($21) | 0; else $retval$0$i$i = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$22 >> 0] | 0) | 0; + if (__ZNSt3__29__num_getIcE19__stage2_float_loopEcRbRcPcRS4_ccRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSE_RjS4_($retval$0$i$i & 255, $__in_units, $__exp, $__a$1, $__a_end, HEAP8[$__decimal_point >> 0] | 0, HEAP8[$__thousands_sep >> 0] | 0, $__grouping, $__g, $__g_end, $__dc, $__atoms) | 0) { + $44 = $52; + $__a$2 = $__a$1; + break; + } + $28 = HEAP32[$__ninp_$i$i >> 2] | 0; + if (($28 | 0) == (HEAP32[$__einp_$i$i >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$21 >> 2] | 0) + 40 >> 2] & 127]($21) | 0; else { + HEAP32[$__ninp_$i$i >> 2] = $28 + 1; + __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$28 >> 0] | 0) | 0; + } + $4 = $21; + $50 = $41; + $__a$0 = $__a$1; + } + $32 = HEAP8[$__grouping + 11 >> 0] | 0; + if (!((HEAP8[$__in_units >> 0] | 0) == 0 ? 1 : (($32 << 24 >> 24 < 0 ? HEAP32[$__grouping + 4 >> 2] | 0 : $32 & 255) | 0) == 0) ? ($35 = HEAP32[$__g_end >> 2] | 0, ($35 - $__g | 0) < 160) : 0) { + $36 = HEAP32[$__dc >> 2] | 0; + HEAP32[$__g_end >> 2] = $35 + 4; + HEAP32[$35 >> 2] = $36; + } + $call26 = +__ZNSt3__215__num_get_floatIdEET_PKcS3_Rj($__a$2, HEAP32[$__a_end >> 2] | 0, $__err); + HEAPF64[$__v >> 3] = $call26; + __ZNSt3__216__check_groupingERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjS8_Rj($__grouping, $__g, HEAP32[$__g_end >> 2] | 0, $__err); + if ($21) { + $39 = HEAP32[$21 + 12 >> 2] | 0; + if (($39 | 0) == (HEAP32[$21 + 16 >> 2] | 0)) $retval$0$i$i$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$41 >> 2] | 0) + 36 >> 2] & 127]($21) | 0; else $retval$0$i$i$i$i = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$39 >> 0] | 0) | 0; + if (__ZNSt3__211char_traitsIcE11eq_int_typeEii($retval$0$i$i$i$i, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { + HEAP32[$__b >> 2] = 0; + $53 = 1; + } else $53 = 0; + } else $53 = 1; + do if ($44) { + $45 = HEAP32[$44 + 12 >> 2] | 0; + if (($45 | 0) == (HEAP32[$44 + 16 >> 2] | 0)) $retval$0$i$i13$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$44 >> 2] | 0) + 36 >> 2] & 127]($44) | 0; else $retval$0$i$i13$i$i = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$45 >> 0] | 0) | 0; + if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii($retval$0$i$i13$i$i, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if ($53) break; else { label = 50; break; } else { - HEAP32[$2 >> 2] = 0; + HEAP32[$__e >> 2] = 0; label = 48; break; } } else label = 48; while (0); - if ((label | 0) == 48 ? $159 : 0) label = 50; - if ((label | 0) == 50) HEAP32[$4 >> 2] = HEAP32[$4 >> 2] | 2; - $$sroa$0$0$copyload = HEAP32[$1 >> 2] | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($10); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($9); - STACKTOP = sp; - return $$sroa$0$0$copyload | 0; + if ((label | 0) == 48 ? $53 : 0) label = 50; + if ((label | 0) == 50) HEAP32[$__err >> 2] = HEAP32[$__err >> 2] | 2; + $retval$sroa$0$0$copyload = HEAP32[$__b >> 2] | 0; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($__buf); + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($__grouping); + STACKTOP = sp; + return $retval$sroa$0$0$copyload | 0; +} + +function _arParamObserv2Ideal($dist_factor, $ox, $oy, $ix, $iy, $dist_function_version) { + $dist_factor = $dist_factor | 0; + $ox = +$ox; + $oy = +$oy; + $ix = $ix | 0; + $iy = $iy | 0; + $dist_function_version = $dist_function_version | 0; + var $0 = 0.0, $1 = 0.0, $10 = 0.0, $14 = 0.0, $19 = 0.0, $2 = 0.0, $23 = 0.0, $28 = 0.0, $3 = 0.0, $31 = 0.0, $4 = 0.0, $5 = 0.0, $6 = 0.0, $7 = 0.0, $8 = 0.0, $add = 0.0, $add130 = 0.0, $add164 = 0.0, $add202 = 0.0, $add21 = 0.0, $add236 = 0.0, $add269 = 0.0, $add296 = 0.0, $add310$sink = 0.0, $arrayidx121 = 0, $arrayidx171 = 0, $arrayidx193 = 0, $arrayidx243 = 0, $arrayidx263 = 0, $arrayidx303 = 0, $div = 0.0, $div10 = 0.0, $div120 = 0.0, $div124 = 0.0, $div127 = 0.0, $div154 = 0.0, $div156 = 0.0, $div196 = 0.0, $div199 = 0.0, $div226 = 0.0, $div228 = 0.0, $div266 = 0.0, $div286 = 0.0, $div288 = 0.0, $i$0 = 0, $i116$0 = 0, $i190$0 = 0, $i260$0 = 0, $mul144 = 0.0, $mul147 = 0.0, $mul216 = 0.0, $mul219 = 0.0, $mul23 = 0.0, $mul280 = 0.0, $mul35 = 0.0, $mul42 = 0.0, $mul51 = 0.0, $mul70 = 0.0, $mul71 = 0.0, $mul90 = 0.0, $px$0 = 0.0, $px$1 = 0.0, $px114$0 = 0.0, $px114$1 = 0.0, $px188$0 = 0.0, $px188$1 = 0.0, $px258$0 = 0.0, $px258$1 = 0.0, $py$0 = 0.0, $py$1 = 0.0, $py115$0 = 0.0, $py115$1 = 0.0, $py189$0 = 0.0, $py189$1 = 0.0, $py259$0 = 0.0, $py259$1 = 0.0, $retval$0 = 0, $sub122 = 0.0, $sub152 = 0.0, $sub192 = 0.0, $sub194 = 0.0, $sub224 = 0.0, $sub262 = 0.0, $sub264 = 0.0, $sub284 = 0.0, $sub55 = 0.0, $sub97 = 0.0, $x02$0 = 0.0, $y02$0 = 0.0, $z0$0 = 0.0, $z0183$0 = 0.0, $z02$0 = 0.0, $z02182$0 = 0.0, $z02254$0 = 0.0, $z0255$0 = 0.0, label = 0; + switch ($dist_function_version | 0) { + case 4: + { + $0 = +HEAPF64[$dist_factor >> 3]; + $1 = +HEAPF64[$dist_factor + 8 >> 3]; + $2 = +HEAPF64[$dist_factor + 16 >> 3]; + $3 = +HEAPF64[$dist_factor + 24 >> 3]; + $4 = +HEAPF64[$dist_factor + 32 >> 3]; + $5 = +HEAPF64[$dist_factor + 40 >> 3]; + $6 = +HEAPF64[$dist_factor + 48 >> 3]; + $7 = +HEAPF64[$dist_factor + 56 >> 3]; + $8 = +HEAPF64[$dist_factor + 64 >> 3]; + $div = ($ox - $6) / $4; + $div10 = ($oy - $7) / $5; + $mul23 = $2 * 2.0; + $mul51 = $3 * 6.0; + $mul70 = $3 * 2.0; + $mul90 = $2 * 6.0; + $i$0 = 1; + $px$0 = $div; + $py$0 = $div10; + $x02$0 = $div * $div; + $y02$0 = $div10 * $div10; + while (1) { + if (!($y02$0 != 0.0 | $x02$0 != 0.0)) { + $px$1 = 0.0; + $py$1 = 0.0; + break; + } + $add = $y02$0 + $x02$0; + $add21 = $0 * $add + 1.0 + $add * ($1 * $add); + $mul35 = $x02$0 * 3.0; + $mul42 = $y02$0 * $mul35; + $sub55 = $px$0 - ($3 * ($add + $x02$0 * 2.0) + ($py$0 * ($mul23 * $px$0) + $px$0 * $add21) - $div) / ($mul51 * $px$0 + ($mul23 * $py$0 + ($0 * ($y02$0 + $mul35) + 1.0 + $1 * ($y02$0 * $y02$0 + ($x02$0 * ($x02$0 * 5.0) + $mul42))))); + $mul71 = $mul70 * $sub55; + $sub97 = $py$0 - ($2 * ($y02$0 * 2.0 + $add) + $py$0 * $add21 + $py$0 * $mul71 - $div10) / ($mul90 * $py$0 + ($0 * ($x02$0 + $y02$0 * 3.0) + 1.0 + $1 * ($y02$0 * ($y02$0 * 5.0) + ($x02$0 * $x02$0 + $mul42))) + $mul71); + if (($i$0 | 0) == 4) { + $px$1 = $sub55; + $py$1 = $sub97; + break; + } + $i$0 = $i$0 + 1 | 0; + $px$0 = $sub55; + $py$0 = $sub97; + $x02$0 = $sub55 * $sub55; + $y02$0 = $sub97 * $sub97; + } + HEAPF64[$ix >> 3] = $6 + $4 * $px$1 / $8; + $add310$sink = $7 + $5 * $py$1 / $8; + label = 22; + break; + } + case 3: + { + $10 = +HEAPF64[$dist_factor >> 3]; + $div120 = ($ox - $10) / +HEAPF64[$dist_factor + 24 >> 3]; + $arrayidx121 = $dist_factor + 8 | 0; + $sub122 = $oy - +HEAPF64[$arrayidx121 >> 3]; + $div124 = +HEAPF64[$dist_factor + 32 >> 3] / 1.0e8; + $div127 = +HEAPF64[$dist_factor + 40 >> 3] / 1.0e8 / 1.0e5; + $add130 = $div120 * $div120 + $sub122 * $sub122; + $14 = +Math_sqrt(+$add130); + $mul144 = $div124 * 3.0; + $mul147 = $div127 * 5.0; + $i116$0 = 1; + $px114$0 = $div120; + $py115$0 = $sub122; + $z0$0 = $14; + $z02$0 = $add130; + while (1) { + if (!($z0$0 != 0.0)) { + $px114$1 = 0.0; + $py115$1 = 0.0; + break; + } + $sub152 = $z0$0 - ($z0$0 * (1.0 - $div124 * $z02$0 - $z02$0 * ($div127 * $z02$0)) - $14) / (1.0 - $mul144 * $z02$0 - $z02$0 * ($mul147 * $z02$0)); + $div154 = $px114$0 * $sub152 / $z0$0; + $div156 = $py115$0 * $sub152 / $z0$0; + if (($i116$0 | 0) == 3) { + $px114$1 = $div154; + $py115$1 = $div156; + break; + } + $add164 = $div154 * $div154 + $div156 * $div156; + $i116$0 = $i116$0 + 1 | 0; + $px114$0 = $div154; + $py115$0 = $div156; + $z0$0 = +Math_sqrt(+$add164); + $z02$0 = $add164; + } + $arrayidx171 = $dist_factor + 16 | 0; + HEAPF64[$ix >> 3] = $10 + $px114$1 / +HEAPF64[$arrayidx171 >> 3]; + $add310$sink = $py115$1 / +HEAPF64[$arrayidx171 >> 3] + +HEAPF64[$arrayidx121 >> 3]; + label = 22; + break; + } + case 2: + { + $19 = +HEAPF64[$dist_factor >> 3]; + $sub192 = $ox - $19; + $arrayidx193 = $dist_factor + 8 | 0; + $sub194 = $oy - +HEAPF64[$arrayidx193 >> 3]; + $div196 = +HEAPF64[$dist_factor + 24 >> 3] / 1.0e8; + $div199 = +HEAPF64[$dist_factor + 32 >> 3] / 1.0e8 / 1.0e5; + $add202 = $sub192 * $sub192 + $sub194 * $sub194; + $23 = +Math_sqrt(+$add202); + $mul216 = $div196 * 3.0; + $mul219 = $div199 * 5.0; + $i190$0 = 1; + $px188$0 = $sub192; + $py189$0 = $sub194; + $z0183$0 = $23; + $z02182$0 = $add202; + while (1) { + if (!($z0183$0 != 0.0)) { + $px188$1 = 0.0; + $py189$1 = 0.0; + break; + } + $sub224 = $z0183$0 - ($z0183$0 * (1.0 - $div196 * $z02182$0 - $z02182$0 * ($div199 * $z02182$0)) - $23) / (1.0 - $mul216 * $z02182$0 - $z02182$0 * ($mul219 * $z02182$0)); + $div226 = $px188$0 * $sub224 / $z0183$0; + $div228 = $py189$0 * $sub224 / $z0183$0; + if (($i190$0 | 0) == 3) { + $px188$1 = $div226; + $py189$1 = $div228; + break; + } + $add236 = $div226 * $div226 + $div228 * $div228; + $i190$0 = $i190$0 + 1 | 0; + $px188$0 = $div226; + $py189$0 = $div228; + $z0183$0 = +Math_sqrt(+$add236); + $z02182$0 = $add236; + } + $arrayidx243 = $dist_factor + 16 | 0; + HEAPF64[$ix >> 3] = $19 + $px188$1 / +HEAPF64[$arrayidx243 >> 3]; + $add310$sink = $py189$1 / +HEAPF64[$arrayidx243 >> 3] + +HEAPF64[$arrayidx193 >> 3]; + label = 22; + break; + } + case 1: + { + $28 = +HEAPF64[$dist_factor >> 3]; + $sub262 = $ox - $28; + $arrayidx263 = $dist_factor + 8 | 0; + $sub264 = $oy - +HEAPF64[$arrayidx263 >> 3]; + $div266 = +HEAPF64[$dist_factor + 24 >> 3] / 1.0e8; + $add269 = $sub262 * $sub262 + $sub264 * $sub264; + $31 = +Math_sqrt(+$add269); + $mul280 = $div266 * 3.0; + $i260$0 = 1; + $px258$0 = $sub262; + $py259$0 = $sub264; + $z02254$0 = $add269; + $z0255$0 = $31; + while (1) { + if (!($z0255$0 != 0.0)) { + $px258$1 = 0.0; + $py259$1 = 0.0; + break; + } + $sub284 = $z0255$0 - ($z0255$0 * (1.0 - $div266 * $z02254$0) - $31) / (1.0 - $mul280 * $z02254$0); + $div286 = $px258$0 * $sub284 / $z0255$0; + $div288 = $py259$0 * $sub284 / $z0255$0; + if (($i260$0 | 0) == 3) { + $px258$1 = $div286; + $py259$1 = $div288; + break; + } + $add296 = $div286 * $div286 + $div288 * $div288; + $i260$0 = $i260$0 + 1 | 0; + $px258$0 = $div286; + $py259$0 = $div288; + $z02254$0 = $add296; + $z0255$0 = +Math_sqrt(+$add296); + } + $arrayidx303 = $dist_factor + 16 | 0; + HEAPF64[$ix >> 3] = $28 + $px258$1 / +HEAPF64[$arrayidx303 >> 3]; + $add310$sink = $py259$1 / +HEAPF64[$arrayidx303 >> 3] + +HEAPF64[$arrayidx263 >> 3]; + label = 22; + break; + } + default: + $retval$0 = -1; + } + if ((label | 0) == 22) { + HEAPF64[$iy >> 3] = $add310$sink; + $retval$0 = 0; + } + return $retval$0 | 0; } -function __ZNKSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE23__do_get_floating_pointIdEES4_S4_S4_RNS_8ios_baseERjRT_($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$0 = 0, $$0$i$i = 0, $$0$i$i$i$i = 0, $$0$i$i$i$i15 = 0, $$0$i$i2$i$i = 0, $$0$i$i2$i$i21 = 0, $$0$i$i31 = 0, $$1 = 0, $$2 = 0, $$pre = 0, $$sroa$0$0$copyload = 0, $10 = 0, $105 = 0, $11 = 0, $114 = 0, $119 = 0, $12 = 0, $122 = 0.0, $126 = 0, $13 = 0, $131 = 0, $14 = 0, $140 = 0, $142 = 0, $15 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $19 = 0, $22 = 0, $25 = 0, $29 = 0, $30 = 0, $32 = 0, $34 = 0, $46 = 0, $49 = 0, $6 = 0, $62 = 0, $66 = 0, $7 = 0, $74 = 0, $78 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $9 = 0, $96 = 0, label = 0, sp = 0; +function __ZNKSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_RNS_8ios_baseERjRPv($this, $__b, $__e, $__iob, $__err, $__v) { + $this = $this | 0; + $__b = $__b | 0; + $__e = $__e | 0; + $__iob = $__iob | 0; + $__err = $__err | 0; + $__v = $__v | 0; + var $$pre = 0, $10 = 0, $11 = 0, $16 = 0, $22 = 0, $23 = 0, $27 = 0, $34 = 0, $36 = 0, $39 = 0, $40 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $5 = 0, $6 = 0, $__a$0 = 0, $__a$1 = 0, $__a$2 = 0, $__a_end = 0, $__atoms = 0, $__cap_$i$i = 0, $__dc = 0, $__einp_$i$i = 0, $__g = 0, $__g_end = 0, $__grouping = 0, $__i$0$i$i = 0, $__i$0$i$i12 = 0, $__ninp_$i$i = 0, $__size_$i$i = 0, $__size_$i3$i = 0, $call$i = 0, $call21 = 0, $cond$i = 0, $cond$i$i = 0, $cond$i$i$i = 0, $cond$i$i100 = 0, $cond$i65 = 0, $cond$i91 = 0, $ref$tmp = 0, $retval$0$i$i = 0, $retval$0$i$i$i$i = 0, $retval$0$i$i$i$i32 = 0, $retval$0$i$i13$i$i = 0, $retval$0$i$i13$i$i53 = 0, $retval$sroa$0$0$copyload = 0, $vararg_buffer = 0, label = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 336 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(336); - $6 = sp + 160 | 0; - $7 = sp + 328 | 0; - $8 = sp + 324 | 0; - $9 = sp + 312 | 0; - $10 = sp + 300 | 0; - $11 = sp + 296 | 0; - $12 = sp; - $13 = sp + 292 | 0; - $14 = sp + 288 | 0; - $15 = sp + 333 | 0; - $16 = sp + 332 | 0; - __ZNSt3__29__num_getIwE19__stage2_float_prepERNS_8ios_baseEPwRwS5_($9, $3, $6, $7, $8); - HEAP32[$10 >> 2] = 0; - HEAP32[$10 + 4 >> 2] = 0; - HEAP32[$10 + 8 >> 2] = 0; - $$0$i$i = 0; + STACKTOP = STACKTOP + 304 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(304); + $vararg_buffer = sp + 264 | 0; + $__atoms = sp + 160 | 0; + $__grouping = sp + 292 | 0; + $ref$tmp = sp + 280 | 0; + $__a_end = sp + 276 | 0; + $__g = sp; + $__g_end = sp + 272 | 0; + $__dc = sp + 268 | 0; + HEAP32[$__grouping >> 2] = 0; + HEAP32[$__grouping + 4 >> 2] = 0; + HEAP32[$__grouping + 8 >> 2] = 0; + $__i$0$i$i = 0; while (1) { - if (($$0$i$i | 0) == 3) break; - HEAP32[$10 + ($$0$i$i << 2) >> 2] = 0; - $$0$i$i = $$0$i$i + 1 | 0; - } - $19 = $10 + 11 | 0; - $22 = $10 + 8 | 0; - if ((HEAP8[$19 >> 0] | 0) < 0) $25 = (HEAP32[$22 >> 2] & 2147483647) + -1 | 0; else $25 = 10; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($10, $25, 0); - $29 = (HEAP8[$19 >> 0] | 0) < 0 ? HEAP32[$10 >> 2] | 0 : $10; - HEAP32[$11 >> 2] = $29; - HEAP32[$13 >> 2] = $12; - HEAP32[$14 >> 2] = 0; - HEAP8[$15 >> 0] = 1; - HEAP8[$16 >> 0] = 69; - $30 = $10 + 4 | 0; - $$pre = HEAP32[$1 >> 2] | 0; - $$0 = $29; - $156 = $$pre; - $32 = $$pre; - L8 : while (1) { - if ($32) { - $34 = HEAP32[$32 + 12 >> 2] | 0; - if (($34 | 0) == (HEAP32[$32 + 16 >> 2] | 0)) $$0$i$i$i$i15 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$32 >> 2] | 0) + 36 >> 2] & 127]($32) | 0; else $$0$i$i$i$i15 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$34 >> 2] | 0) | 0; - if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj($$0$i$i$i$i15, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { - HEAP32[$1 >> 2] = 0; - $131 = 0; - $157 = 1; - $81 = 0; + if (($__i$0$i$i | 0) == 3) break; + HEAP32[$__grouping + ($__i$0$i$i << 2) >> 2] = 0; + $__i$0$i$i = $__i$0$i$i + 1 | 0; + } + __ZNKSt3__28ios_base6getlocEv($ref$tmp, $__iob); + $call$i = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp, 67392) | 0; + FUNCTION_TABLE_iiiii[HEAP32[(HEAP32[$call$i >> 2] | 0) + 48 >> 2] & 15]($call$i, 12928, 12954, $__atoms) | 0; + __ZNSt3__26localeD2Ev($ref$tmp); + HEAP32[$ref$tmp >> 2] = 0; + HEAP32[$ref$tmp + 4 >> 2] = 0; + HEAP32[$ref$tmp + 8 >> 2] = 0; + $__i$0$i$i12 = 0; + while (1) { + if (($__i$0$i$i12 | 0) == 3) break; + HEAP32[$ref$tmp + ($__i$0$i$i12 << 2) >> 2] = 0; + $__i$0$i$i12 = $__i$0$i$i12 + 1 | 0; + } + $__size_$i$i = $ref$tmp + 11 | 0; + $__cap_$i$i = $ref$tmp + 8 | 0; + if ((HEAP8[$__size_$i$i >> 0] | 0) < 0) $cond$i = (HEAP32[$__cap_$i$i >> 2] & 2147483647) + -1 | 0; else $cond$i = 10; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($ref$tmp, $cond$i, 0); + $cond$i$i = (HEAP8[$__size_$i$i >> 0] | 0) < 0 ? HEAP32[$ref$tmp >> 2] | 0 : $ref$tmp; + HEAP32[$__a_end >> 2] = $cond$i$i; + HEAP32[$__g_end >> 2] = $__g; + HEAP32[$__dc >> 2] = 0; + $__size_$i3$i = $ref$tmp + 4 | 0; + $$pre = HEAP32[$__b >> 2] | 0; + $45 = $$pre; + $5 = $$pre; + $__a$0 = $cond$i$i; + L12 : while (1) { + if ($5) { + $6 = HEAP32[$5 + 12 >> 2] | 0; + if (($6 | 0) == (HEAP32[$5 + 16 >> 2] | 0)) $retval$0$i$i$i$i32 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$5 >> 2] | 0) + 36 >> 2] & 127]($5) | 0; else $retval$0$i$i$i$i32 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$6 >> 2] | 0) | 0; + if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj($retval$0$i$i$i$i32, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { + HEAP32[$__b >> 2] = 0; + $22 = 0; + $36 = 0; + $46 = 1; } else { - $131 = $156; - $157 = 0; - $81 = $32; + $22 = $5; + $36 = $45; + $46 = 0; } } else { - $131 = 0; - $157 = 1; - $81 = 0; + $22 = 0; + $36 = 0; + $46 = 1; } - $46 = HEAP32[$2 >> 2] | 0; - do if ($46) { - $49 = HEAP32[$46 + 12 >> 2] | 0; - if (($49 | 0) == (HEAP32[$46 + 16 >> 2] | 0)) $$0$i$i2$i$i21 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$46 >> 2] | 0) + 36 >> 2] & 127]($46) | 0; else $$0$i$i2$i$i21 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$49 >> 2] | 0) | 0; - if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj($$0$i$i2$i$i21, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if ($157) { - $158 = $46; + $10 = HEAP32[$__e >> 2] | 0; + do if ($10) { + $11 = HEAP32[$10 + 12 >> 2] | 0; + if (($11 | 0) == (HEAP32[$10 + 16 >> 2] | 0)) $retval$0$i$i13$i$i53 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$10 >> 2] | 0) + 36 >> 2] & 127]($10) | 0; else $retval$0$i$i13$i$i53 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$11 >> 2] | 0) | 0; + if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj($retval$0$i$i13$i$i53, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if ($46) { + $47 = $10; break; } else { - $$2 = $$0; - $140 = $46; - break L8; + $39 = $10; + $__a$2 = $__a$0; + break L12; } else { - HEAP32[$2 >> 2] = 0; - label = 19; + HEAP32[$__e >> 2] = 0; + label = 22; break; } - } else label = 19; while (0); - if ((label | 0) == 19) { + } else label = 22; while (0); + if ((label | 0) == 22) { label = 0; - if ($157) { - $$2 = $$0; - $140 = 0; - break; - } else $158 = 0; - } - $62 = HEAP8[$19 >> 0] | 0; - $66 = $62 << 24 >> 24 < 0 ? HEAP32[$30 >> 2] | 0 : $62 & 255; - if ((HEAP32[$11 >> 2] | 0) == ($$0 + $66 | 0)) { - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($10, $66 << 1, 0); - if ((HEAP8[$19 >> 0] | 0) < 0) $74 = (HEAP32[$22 >> 2] & 2147483647) + -1 | 0; else $74 = 10; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($10, $74, 0); - $78 = (HEAP8[$19 >> 0] | 0) < 0 ? HEAP32[$10 >> 2] | 0 : $10; - HEAP32[$11 >> 2] = $78 + $66; - $$1 = $78; - } else $$1 = $$0; - $80 = $81 + 12 | 0; - $82 = HEAP32[$80 >> 2] | 0; - $83 = $81 + 16 | 0; - if (($82 | 0) == (HEAP32[$83 >> 2] | 0)) $$0$i$i31 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$81 >> 2] | 0) + 36 >> 2] & 127]($81) | 0; else $$0$i$i31 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$82 >> 2] | 0) | 0; - if (__ZNSt3__29__num_getIwE19__stage2_float_loopEwRbRcPcRS4_wwRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSE_RjPw($$0$i$i31, $15, $16, $$1, $11, HEAP32[$7 >> 2] | 0, HEAP32[$8 >> 2] | 0, $9, $12, $13, $14, $6) | 0) { - $$2 = $$1; - $140 = $158; - break; - } - $96 = HEAP32[$80 >> 2] | 0; - if (($96 | 0) == (HEAP32[$83 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$81 >> 2] | 0) + 40 >> 2] & 127]($81) | 0; else { - HEAP32[$80 >> 2] = $96 + 4; - __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$96 >> 2] | 0) | 0; - } - $$0 = $$1; - $156 = $131; - $32 = $81; - } - $105 = HEAP8[$9 + 11 >> 0] | 0; - if (!((HEAP8[$15 >> 0] | 0) == 0 ? 1 : (($105 << 24 >> 24 < 0 ? HEAP32[$9 + 4 >> 2] | 0 : $105 & 255) | 0) == 0) ? ($114 = HEAP32[$13 >> 2] | 0, ($114 - $12 | 0) < 160) : 0) { - $119 = HEAP32[$14 >> 2] | 0; - HEAP32[$13 >> 2] = $114 + 4; - HEAP32[$114 >> 2] = $119; - } - $122 = +__ZNSt3__215__num_get_floatIdEET_PKcS3_Rj($$2, HEAP32[$11 >> 2] | 0, $4); - HEAPF64[$5 >> 3] = $122; - __ZNSt3__216__check_groupingERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjS8_Rj($9, $12, HEAP32[$13 >> 2] | 0, $4); - if ($81) { - $126 = HEAP32[$81 + 12 >> 2] | 0; - if (($126 | 0) == (HEAP32[$81 + 16 >> 2] | 0)) $$0$i$i$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$131 >> 2] | 0) + 36 >> 2] & 127]($81) | 0; else $$0$i$i$i$i = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$126 >> 2] | 0) | 0; - if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj($$0$i$i$i$i, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { - HEAP32[$1 >> 2] = 0; - $159 = 1; - } else $159 = 0; - } else $159 = 1; - do if ($140) { - $142 = HEAP32[$140 + 12 >> 2] | 0; - if (($142 | 0) == (HEAP32[$140 + 16 >> 2] | 0)) $$0$i$i2$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$140 >> 2] | 0) + 36 >> 2] & 127]($140) | 0; else $$0$i$i2$i$i = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$142 >> 2] | 0) | 0; - if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj($$0$i$i2$i$i, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if ($159) break; else { - label = 50; + if ($46) { + $39 = 0; + $__a$2 = $__a$0; + break; + } else $47 = 0; + } + $16 = HEAP8[$__size_$i$i >> 0] | 0; + $cond$i65 = $16 << 24 >> 24 < 0 ? HEAP32[$__size_$i3$i >> 2] | 0 : $16 & 255; + if ((HEAP32[$__a_end >> 2] | 0) == ($__a$0 + $cond$i65 | 0)) { + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($ref$tmp, $cond$i65 << 1, 0); + if ((HEAP8[$__size_$i$i >> 0] | 0) < 0) $cond$i91 = (HEAP32[$__cap_$i$i >> 2] & 2147483647) + -1 | 0; else $cond$i91 = 10; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($ref$tmp, $cond$i91, 0); + $cond$i$i100 = (HEAP8[$__size_$i$i >> 0] | 0) < 0 ? HEAP32[$ref$tmp >> 2] | 0 : $ref$tmp; + HEAP32[$__a_end >> 2] = $cond$i$i100 + $cond$i65; + $__a$1 = $cond$i$i100; + } else $__a$1 = $__a$0; + $__ninp_$i$i = $22 + 12 | 0; + $23 = HEAP32[$__ninp_$i$i >> 2] | 0; + $__einp_$i$i = $22 + 16 | 0; + if (($23 | 0) == (HEAP32[$__einp_$i$i >> 2] | 0)) $retval$0$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$22 >> 2] | 0) + 36 >> 2] & 127]($22) | 0; else $retval$0$i$i = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$23 >> 2] | 0) | 0; + if (__ZNSt3__29__num_getIwE17__stage2_int_loopEwiPcRS2_RjwRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSD_PKw($retval$0$i$i, 16, $__a$1, $__a_end, $__dc, 0, $__grouping, $__g, $__g_end, $__atoms) | 0) { + $39 = $47; + $__a$2 = $__a$1; + break; + } + $27 = HEAP32[$__ninp_$i$i >> 2] | 0; + if (($27 | 0) == (HEAP32[$__einp_$i$i >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$22 >> 2] | 0) + 40 >> 2] & 127]($22) | 0; else { + HEAP32[$__ninp_$i$i >> 2] = $27 + 4; + __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$27 >> 2] | 0) | 0; + } + $45 = $36; + $5 = $22; + $__a$0 = $__a$1; + } + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($ref$tmp, (HEAP32[$__a_end >> 2] | 0) - $__a$2 | 0, 0); + $cond$i$i$i = (HEAP8[$__size_$i$i >> 0] | 0) < 0 ? HEAP32[$ref$tmp >> 2] | 0 : $ref$tmp; + $call21 = __ZNSt3__26__clocEv() | 0; + HEAP32[$vararg_buffer >> 2] = $__v; + if ((__ZNSt3__217__libcpp_sscanf_lEPKcP15__locale_structS1_z($cond$i$i$i, $call21, 59810, $vararg_buffer) | 0) != 1) HEAP32[$__err >> 2] = 4; + if ($22) { + $34 = HEAP32[$22 + 12 >> 2] | 0; + if (($34 | 0) == (HEAP32[$22 + 16 >> 2] | 0)) $retval$0$i$i$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$36 >> 2] | 0) + 36 >> 2] & 127]($22) | 0; else $retval$0$i$i$i$i = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$34 >> 2] | 0) | 0; + if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj($retval$0$i$i$i$i, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { + HEAP32[$__b >> 2] = 0; + $48 = 1; + } else $48 = 0; + } else $48 = 1; + do if ($39) { + $40 = HEAP32[$39 + 12 >> 2] | 0; + if (($40 | 0) == (HEAP32[$39 + 16 >> 2] | 0)) $retval$0$i$i13$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$39 >> 2] | 0) + 36 >> 2] & 127]($39) | 0; else $retval$0$i$i13$i$i = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$40 >> 2] | 0) | 0; + if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj($retval$0$i$i13$i$i, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if ($48) break; else { + label = 52; break; } else { - HEAP32[$2 >> 2] = 0; - label = 48; + HEAP32[$__e >> 2] = 0; + label = 50; break; } - } else label = 48; while (0); - if ((label | 0) == 48 ? $159 : 0) label = 50; - if ((label | 0) == 50) HEAP32[$4 >> 2] = HEAP32[$4 >> 2] | 2; - $$sroa$0$0$copyload = HEAP32[$1 >> 2] | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($10); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($9); + } else label = 50; while (0); + if ((label | 0) == 50 ? $48 : 0) label = 52; + if ((label | 0) == 52) HEAP32[$__err >> 2] = HEAP32[$__err >> 2] | 2; + $retval$sroa$0$0$copyload = HEAP32[$__b >> 2] | 0; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($ref$tmp); + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($__grouping); STACKTOP = sp; - return $$sroa$0$0$copyload | 0; + return $retval$sroa$0$0$copyload | 0; } -function __ZNKSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE23__do_get_floating_pointIfEES4_S4_S4_RNS_8ios_baseERjRT_($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$0 = 0, $$0$i$i = 0, $$0$i$i$i$i = 0, $$0$i$i$i$i15 = 0, $$0$i$i2$i$i = 0, $$0$i$i2$i$i21 = 0, $$0$i$i31 = 0, $$1 = 0, $$2 = 0, $$pre = 0, $$sroa$0$0$copyload = 0, $10 = 0, $106 = 0, $11 = 0, $115 = 0, $12 = 0, $120 = 0, $123 = 0.0, $127 = 0, $13 = 0, $132 = 0, $14 = 0, $141 = 0, $143 = 0, $15 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $19 = 0, $22 = 0, $25 = 0, $29 = 0, $30 = 0, $32 = 0, $34 = 0, $46 = 0, $49 = 0, $6 = 0, $62 = 0, $66 = 0, $7 = 0, $74 = 0, $78 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $9 = 0, $97 = 0, label = 0, sp = 0; +function __ZNKSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_RNS_8ios_baseERjRPv($this, $__b, $__e, $__iob, $__err, $__v) { + $this = $this | 0; + $__b = $__b | 0; + $__e = $__e | 0; + $__iob = $__iob | 0; + $__err = $__err | 0; + $__v = $__v | 0; + var $$pre = 0, $10 = 0, $11 = 0, $16 = 0, $22 = 0, $23 = 0, $27 = 0, $34 = 0, $36 = 0, $39 = 0, $40 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $5 = 0, $6 = 0, $__a$0 = 0, $__a$1 = 0, $__a$2 = 0, $__a_end = 0, $__atoms = 0, $__cap_$i$i = 0, $__dc = 0, $__einp_$i$i = 0, $__g = 0, $__g_end = 0, $__grouping = 0, $__i$0$i$i = 0, $__i$0$i$i11 = 0, $__ninp_$i$i = 0, $__size_$i$i = 0, $__size_$i3$i = 0, $call$i = 0, $call21 = 0, $cond$i = 0, $cond$i$i = 0, $cond$i$i$i = 0, $cond$i$i99 = 0, $cond$i64 = 0, $cond$i90 = 0, $ref$tmp = 0, $retval$0$i$i = 0, $retval$0$i$i$i$i = 0, $retval$0$i$i$i$i31 = 0, $retval$0$i$i13$i$i = 0, $retval$0$i$i13$i$i52 = 0, $retval$sroa$0$0$copyload = 0, $vararg_buffer = 0, label = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 240 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(240); - $6 = sp + 160 | 0; - $7 = sp + 231 | 0; - $8 = sp + 230 | 0; - $9 = sp + 216 | 0; - $10 = sp + 204 | 0; - $11 = sp + 200 | 0; - $12 = sp; - $13 = sp + 196 | 0; - $14 = sp + 192 | 0; - $15 = sp + 229 | 0; - $16 = sp + 228 | 0; - __ZNSt3__29__num_getIcE19__stage2_float_prepERNS_8ios_baseEPcRcS5_($9, $3, $6, $7, $8); - HEAP32[$10 >> 2] = 0; - HEAP32[$10 + 4 >> 2] = 0; - HEAP32[$10 + 8 >> 2] = 0; - $$0$i$i = 0; + $vararg_buffer = sp + 192 | 0; + $__atoms = sp + 160 | 0; + $__grouping = sp + 220 | 0; + $ref$tmp = sp + 208 | 0; + $__a_end = sp + 204 | 0; + $__g = sp; + $__g_end = sp + 200 | 0; + $__dc = sp + 196 | 0; + HEAP32[$__grouping >> 2] = 0; + HEAP32[$__grouping + 4 >> 2] = 0; + HEAP32[$__grouping + 8 >> 2] = 0; + $__i$0$i$i = 0; while (1) { - if (($$0$i$i | 0) == 3) break; - HEAP32[$10 + ($$0$i$i << 2) >> 2] = 0; - $$0$i$i = $$0$i$i + 1 | 0; - } - $19 = $10 + 11 | 0; - $22 = $10 + 8 | 0; - if ((HEAP8[$19 >> 0] | 0) < 0) $25 = (HEAP32[$22 >> 2] & 2147483647) + -1 | 0; else $25 = 10; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($10, $25, 0); - $29 = (HEAP8[$19 >> 0] | 0) < 0 ? HEAP32[$10 >> 2] | 0 : $10; - HEAP32[$11 >> 2] = $29; - HEAP32[$13 >> 2] = $12; - HEAP32[$14 >> 2] = 0; - HEAP8[$15 >> 0] = 1; - HEAP8[$16 >> 0] = 69; - $30 = $10 + 4 | 0; - $$pre = HEAP32[$1 >> 2] | 0; - $$0 = $29; - $157 = $$pre; - $32 = $$pre; - L8 : while (1) { - if ($32) { - $34 = HEAP32[$32 + 12 >> 2] | 0; - if (($34 | 0) == (HEAP32[$32 + 16 >> 2] | 0)) $$0$i$i$i$i15 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$32 >> 2] | 0) + 36 >> 2] & 127]($32) | 0; else $$0$i$i$i$i15 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$34 >> 0] | 0) | 0; - if (__ZNSt3__211char_traitsIcE11eq_int_typeEii($$0$i$i$i$i15, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { - HEAP32[$1 >> 2] = 0; - $132 = 0; - $158 = 1; - $81 = 0; + if (($__i$0$i$i | 0) == 3) break; + HEAP32[$__grouping + ($__i$0$i$i << 2) >> 2] = 0; + $__i$0$i$i = $__i$0$i$i + 1 | 0; + } + __ZNKSt3__28ios_base6getlocEv($ref$tmp, $__iob); + $call$i = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp, 67360) | 0; + FUNCTION_TABLE_iiiii[HEAP32[(HEAP32[$call$i >> 2] | 0) + 32 >> 2] & 15]($call$i, 12928, 12954, $__atoms) | 0; + __ZNSt3__26localeD2Ev($ref$tmp); + HEAP32[$ref$tmp >> 2] = 0; + HEAP32[$ref$tmp + 4 >> 2] = 0; + HEAP32[$ref$tmp + 8 >> 2] = 0; + $__i$0$i$i11 = 0; + while (1) { + if (($__i$0$i$i11 | 0) == 3) break; + HEAP32[$ref$tmp + ($__i$0$i$i11 << 2) >> 2] = 0; + $__i$0$i$i11 = $__i$0$i$i11 + 1 | 0; + } + $__size_$i$i = $ref$tmp + 11 | 0; + $__cap_$i$i = $ref$tmp + 8 | 0; + if ((HEAP8[$__size_$i$i >> 0] | 0) < 0) $cond$i = (HEAP32[$__cap_$i$i >> 2] & 2147483647) + -1 | 0; else $cond$i = 10; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($ref$tmp, $cond$i, 0); + $cond$i$i = (HEAP8[$__size_$i$i >> 0] | 0) < 0 ? HEAP32[$ref$tmp >> 2] | 0 : $ref$tmp; + HEAP32[$__a_end >> 2] = $cond$i$i; + HEAP32[$__g_end >> 2] = $__g; + HEAP32[$__dc >> 2] = 0; + $__size_$i3$i = $ref$tmp + 4 | 0; + $$pre = HEAP32[$__b >> 2] | 0; + $45 = $$pre; + $5 = $$pre; + $__a$0 = $cond$i$i; + L12 : while (1) { + if ($5) { + $6 = HEAP32[$5 + 12 >> 2] | 0; + if (($6 | 0) == (HEAP32[$5 + 16 >> 2] | 0)) $retval$0$i$i$i$i31 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$5 >> 2] | 0) + 36 >> 2] & 127]($5) | 0; else $retval$0$i$i$i$i31 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$6 >> 0] | 0) | 0; + if (__ZNSt3__211char_traitsIcE11eq_int_typeEii($retval$0$i$i$i$i31, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { + HEAP32[$__b >> 2] = 0; + $22 = 0; + $36 = 0; + $46 = 1; } else { - $132 = $157; - $158 = 0; - $81 = $32; + $22 = $5; + $36 = $45; + $46 = 0; } } else { - $132 = 0; - $158 = 1; - $81 = 0; + $22 = 0; + $36 = 0; + $46 = 1; } - $46 = HEAP32[$2 >> 2] | 0; - do if ($46) { - $49 = HEAP32[$46 + 12 >> 2] | 0; - if (($49 | 0) == (HEAP32[$46 + 16 >> 2] | 0)) $$0$i$i2$i$i21 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$46 >> 2] | 0) + 36 >> 2] & 127]($46) | 0; else $$0$i$i2$i$i21 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$49 >> 0] | 0) | 0; - if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii($$0$i$i2$i$i21, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if ($158) { - $159 = $46; + $10 = HEAP32[$__e >> 2] | 0; + do if ($10) { + $11 = HEAP32[$10 + 12 >> 2] | 0; + if (($11 | 0) == (HEAP32[$10 + 16 >> 2] | 0)) $retval$0$i$i13$i$i52 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$10 >> 2] | 0) + 36 >> 2] & 127]($10) | 0; else $retval$0$i$i13$i$i52 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$11 >> 0] | 0) | 0; + if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii($retval$0$i$i13$i$i52, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if ($46) { + $47 = $10; break; } else { - $$2 = $$0; - $141 = $46; - break L8; + $39 = $10; + $__a$2 = $__a$0; + break L12; } else { - HEAP32[$2 >> 2] = 0; - label = 19; + HEAP32[$__e >> 2] = 0; + label = 22; break; } - } else label = 19; while (0); - if ((label | 0) == 19) { + } else label = 22; while (0); + if ((label | 0) == 22) { label = 0; - if ($158) { - $$2 = $$0; - $141 = 0; - break; - } else $159 = 0; - } - $62 = HEAP8[$19 >> 0] | 0; - $66 = $62 << 24 >> 24 < 0 ? HEAP32[$30 >> 2] | 0 : $62 & 255; - if ((HEAP32[$11 >> 2] | 0) == ($$0 + $66 | 0)) { - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($10, $66 << 1, 0); - if ((HEAP8[$19 >> 0] | 0) < 0) $74 = (HEAP32[$22 >> 2] & 2147483647) + -1 | 0; else $74 = 10; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($10, $74, 0); - $78 = (HEAP8[$19 >> 0] | 0) < 0 ? HEAP32[$10 >> 2] | 0 : $10; - HEAP32[$11 >> 2] = $78 + $66; - $$1 = $78; - } else $$1 = $$0; - $80 = $81 + 12 | 0; - $82 = HEAP32[$80 >> 2] | 0; - $83 = $81 + 16 | 0; - if (($82 | 0) == (HEAP32[$83 >> 2] | 0)) $$0$i$i31 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$81 >> 2] | 0) + 36 >> 2] & 127]($81) | 0; else $$0$i$i31 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$82 >> 0] | 0) | 0; - if (__ZNSt3__29__num_getIcE19__stage2_float_loopEcRbRcPcRS4_ccRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSE_RjS4_($$0$i$i31 & 255, $15, $16, $$1, $11, HEAP8[$7 >> 0] | 0, HEAP8[$8 >> 0] | 0, $9, $12, $13, $14, $6) | 0) { - $$2 = $$1; - $141 = $159; - break; - } - $97 = HEAP32[$80 >> 2] | 0; - if (($97 | 0) == (HEAP32[$83 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$81 >> 2] | 0) + 40 >> 2] & 127]($81) | 0; else { - HEAP32[$80 >> 2] = $97 + 1; - __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$97 >> 0] | 0) | 0; - } - $$0 = $$1; - $157 = $132; - $32 = $81; - } - $106 = HEAP8[$9 + 11 >> 0] | 0; - if (!((HEAP8[$15 >> 0] | 0) == 0 ? 1 : (($106 << 24 >> 24 < 0 ? HEAP32[$9 + 4 >> 2] | 0 : $106 & 255) | 0) == 0) ? ($115 = HEAP32[$13 >> 2] | 0, ($115 - $12 | 0) < 160) : 0) { - $120 = HEAP32[$14 >> 2] | 0; - HEAP32[$13 >> 2] = $115 + 4; - HEAP32[$115 >> 2] = $120; - } - $123 = +__ZNSt3__215__num_get_floatIfEET_PKcS3_Rj($$2, HEAP32[$11 >> 2] | 0, $4); - HEAPF32[$5 >> 2] = $123; - __ZNSt3__216__check_groupingERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjS8_Rj($9, $12, HEAP32[$13 >> 2] | 0, $4); - if ($81) { - $127 = HEAP32[$81 + 12 >> 2] | 0; - if (($127 | 0) == (HEAP32[$81 + 16 >> 2] | 0)) $$0$i$i$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$132 >> 2] | 0) + 36 >> 2] & 127]($81) | 0; else $$0$i$i$i$i = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$127 >> 0] | 0) | 0; - if (__ZNSt3__211char_traitsIcE11eq_int_typeEii($$0$i$i$i$i, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { - HEAP32[$1 >> 2] = 0; - $160 = 1; - } else $160 = 0; - } else $160 = 1; - do if ($141) { - $143 = HEAP32[$141 + 12 >> 2] | 0; - if (($143 | 0) == (HEAP32[$141 + 16 >> 2] | 0)) $$0$i$i2$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$141 >> 2] | 0) + 36 >> 2] & 127]($141) | 0; else $$0$i$i2$i$i = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$143 >> 0] | 0) | 0; - if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii($$0$i$i2$i$i, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if ($160) break; else { - label = 50; + if ($46) { + $39 = 0; + $__a$2 = $__a$0; + break; + } else $47 = 0; + } + $16 = HEAP8[$__size_$i$i >> 0] | 0; + $cond$i64 = $16 << 24 >> 24 < 0 ? HEAP32[$__size_$i3$i >> 2] | 0 : $16 & 255; + if ((HEAP32[$__a_end >> 2] | 0) == ($__a$0 + $cond$i64 | 0)) { + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($ref$tmp, $cond$i64 << 1, 0); + if ((HEAP8[$__size_$i$i >> 0] | 0) < 0) $cond$i90 = (HEAP32[$__cap_$i$i >> 2] & 2147483647) + -1 | 0; else $cond$i90 = 10; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($ref$tmp, $cond$i90, 0); + $cond$i$i99 = (HEAP8[$__size_$i$i >> 0] | 0) < 0 ? HEAP32[$ref$tmp >> 2] | 0 : $ref$tmp; + HEAP32[$__a_end >> 2] = $cond$i$i99 + $cond$i64; + $__a$1 = $cond$i$i99; + } else $__a$1 = $__a$0; + $__ninp_$i$i = $22 + 12 | 0; + $23 = HEAP32[$__ninp_$i$i >> 2] | 0; + $__einp_$i$i = $22 + 16 | 0; + if (($23 | 0) == (HEAP32[$__einp_$i$i >> 2] | 0)) $retval$0$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$22 >> 2] | 0) + 36 >> 2] & 127]($22) | 0; else $retval$0$i$i = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$23 >> 0] | 0) | 0; + if (__ZNSt3__29__num_getIcE17__stage2_int_loopEciPcRS2_RjcRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSD_PKc($retval$0$i$i & 255, 16, $__a$1, $__a_end, $__dc, 0, $__grouping, $__g, $__g_end, $__atoms) | 0) { + $39 = $47; + $__a$2 = $__a$1; + break; + } + $27 = HEAP32[$__ninp_$i$i >> 2] | 0; + if (($27 | 0) == (HEAP32[$__einp_$i$i >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$22 >> 2] | 0) + 40 >> 2] & 127]($22) | 0; else { + HEAP32[$__ninp_$i$i >> 2] = $27 + 1; + __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$27 >> 0] | 0) | 0; + } + $45 = $36; + $5 = $22; + $__a$0 = $__a$1; + } + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($ref$tmp, (HEAP32[$__a_end >> 2] | 0) - $__a$2 | 0, 0); + $cond$i$i$i = (HEAP8[$__size_$i$i >> 0] | 0) < 0 ? HEAP32[$ref$tmp >> 2] | 0 : $ref$tmp; + $call21 = __ZNSt3__26__clocEv() | 0; + HEAP32[$vararg_buffer >> 2] = $__v; + if ((__ZNSt3__217__libcpp_sscanf_lEPKcP15__locale_structS1_z($cond$i$i$i, $call21, 59810, $vararg_buffer) | 0) != 1) HEAP32[$__err >> 2] = 4; + if ($22) { + $34 = HEAP32[$22 + 12 >> 2] | 0; + if (($34 | 0) == (HEAP32[$22 + 16 >> 2] | 0)) $retval$0$i$i$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$36 >> 2] | 0) + 36 >> 2] & 127]($22) | 0; else $retval$0$i$i$i$i = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$34 >> 0] | 0) | 0; + if (__ZNSt3__211char_traitsIcE11eq_int_typeEii($retval$0$i$i$i$i, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { + HEAP32[$__b >> 2] = 0; + $48 = 1; + } else $48 = 0; + } else $48 = 1; + do if ($39) { + $40 = HEAP32[$39 + 12 >> 2] | 0; + if (($40 | 0) == (HEAP32[$39 + 16 >> 2] | 0)) $retval$0$i$i13$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$39 >> 2] | 0) + 36 >> 2] & 127]($39) | 0; else $retval$0$i$i13$i$i = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$40 >> 0] | 0) | 0; + if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii($retval$0$i$i13$i$i, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if ($48) break; else { + label = 52; break; } else { - HEAP32[$2 >> 2] = 0; - label = 48; + HEAP32[$__e >> 2] = 0; + label = 50; break; } - } else label = 48; while (0); - if ((label | 0) == 48 ? $160 : 0) label = 50; - if ((label | 0) == 50) HEAP32[$4 >> 2] = HEAP32[$4 >> 2] | 2; - $$sroa$0$0$copyload = HEAP32[$1 >> 2] | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($10); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($9); + } else label = 50; while (0); + if ((label | 0) == 50 ? $48 : 0) label = 52; + if ((label | 0) == 52) HEAP32[$__err >> 2] = HEAP32[$__err >> 2] | 2; + $retval$sroa$0$0$copyload = HEAP32[$__b >> 2] | 0; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($ref$tmp); + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($__grouping); STACKTOP = sp; - return $$sroa$0$0$copyload | 0; + return $retval$sroa$0$0$copyload | 0; } - -function __ZNKSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE23__do_get_floating_pointIeEES4_S4_S4_RNS_8ios_baseERjRT_($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$0 = 0, $$0$i$i = 0, $$0$i$i$i$i = 0, $$0$i$i$i$i15 = 0, $$0$i$i2$i$i = 0, $$0$i$i2$i$i21 = 0, $$0$i$i31 = 0, $$1 = 0, $$2 = 0, $$pre = 0, $$sroa$0$0$copyload = 0, $10 = 0, $106 = 0, $11 = 0, $115 = 0, $12 = 0, $120 = 0, $123 = 0.0, $127 = 0, $13 = 0, $132 = 0, $14 = 0, $141 = 0, $143 = 0, $15 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $19 = 0, $22 = 0, $25 = 0, $29 = 0, $30 = 0, $32 = 0, $34 = 0, $46 = 0, $49 = 0, $6 = 0, $62 = 0, $66 = 0, $7 = 0, $74 = 0, $78 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $9 = 0, $97 = 0, label = 0, sp = 0; +function __ZNSt3__29__num_putIwE23__widen_and_group_floatEPcS2_S2_PwRS3_S4_RKNS_6localeE($__nb, $__np, $__ne, $__ob, $__op, $__oe, $__loc) { + $__nb = $__nb | 0; + $__np = $__np | 0; + $__ne = $__ne | 0; + $__ob = $__ob | 0; + $__op = $__op | 0; + $__oe = $__oe | 0; + $__loc = $__loc | 0; + var $$pre$phiZ2D = 0, $1 = 0, $10 = 0, $13 = 0, $18 = 0, $21 = 0, $22 = 0, $26 = 0, $27 = 0, $28 = 0, $3 = 0, $32 = 0, $33 = 0, $35 = 0, $37 = 0, $39 = 0, $41 = 0, $42 = 0, $7 = 0, $__dc$0 = 0, $__dc$1 = 0, $__dg$0 = 0, $__dg$1 = 0, $__first$addr$0$i$i = 0, $__first$addr$0$i$i102 = 0, $__grouping = 0, $__last$addr$0$i$i = 0, $__last$addr$0$i$i103 = 0, $__nf$0 = 0, $__nf$1 = 0, $__nf$2 = 0, $__nf$3 = 0, $__ns$0 = 0, $__ns$1 = 0, $__ns$2 = 0, $__p$0 = 0, $__size_$i$i$i = 0, $__size_$i3$i$i = 0, $add$ptr = 0, $add$ptr100 = 0, $add$ptr78 = 0, $arrayidx10 = 0, $call$i = 0, $call$i111 = 0, $call$i120 = 0, $call$i133 = 0, $call$i81 = 0, $call$i84 = 0, $call$i87 = 0, $call$i90 = 0, $call$i99 = 0, $conv25 = 0, $conv34 = 0, $incdec$ptr$i$i = 0, $incdec$ptr$i$i104 = 0, $incdec$ptr21 = 0, $incdec$ptr87 = 0, $incdec$ptr91 = 0, $sub$ptr$lhs$cast = 0, label = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 240 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(240); - $6 = sp + 160 | 0; - $7 = sp + 231 | 0; - $8 = sp + 230 | 0; - $9 = sp + 216 | 0; - $10 = sp + 204 | 0; - $11 = sp + 200 | 0; - $12 = sp; - $13 = sp + 196 | 0; - $14 = sp + 192 | 0; - $15 = sp + 229 | 0; - $16 = sp + 228 | 0; - __ZNSt3__29__num_getIcE19__stage2_float_prepERNS_8ios_baseEPcRcS5_($9, $3, $6, $7, $8); - HEAP32[$10 >> 2] = 0; - HEAP32[$10 + 4 >> 2] = 0; - HEAP32[$10 + 8 >> 2] = 0; - $$0$i$i = 0; - while (1) { - if (($$0$i$i | 0) == 3) break; - HEAP32[$10 + ($$0$i$i << 2) >> 2] = 0; - $$0$i$i = $$0$i$i + 1 | 0; - } - $19 = $10 + 11 | 0; - $22 = $10 + 8 | 0; - if ((HEAP8[$19 >> 0] | 0) < 0) $25 = (HEAP32[$22 >> 2] & 2147483647) + -1 | 0; else $25 = 10; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($10, $25, 0); - $29 = (HEAP8[$19 >> 0] | 0) < 0 ? HEAP32[$10 >> 2] | 0 : $10; - HEAP32[$11 >> 2] = $29; - HEAP32[$13 >> 2] = $12; - HEAP32[$14 >> 2] = 0; - HEAP8[$15 >> 0] = 1; - HEAP8[$16 >> 0] = 69; - $30 = $10 + 4 | 0; - $$pre = HEAP32[$1 >> 2] | 0; - $$0 = $29; - $157 = $$pre; - $32 = $$pre; - L8 : while (1) { - if ($32) { - $34 = HEAP32[$32 + 12 >> 2] | 0; - if (($34 | 0) == (HEAP32[$32 + 16 >> 2] | 0)) $$0$i$i$i$i15 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$32 >> 2] | 0) + 36 >> 2] & 127]($32) | 0; else $$0$i$i$i$i15 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$34 >> 0] | 0) | 0; - if (__ZNSt3__211char_traitsIcE11eq_int_typeEii($$0$i$i$i$i15, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { - HEAP32[$1 >> 2] = 0; - $132 = 0; - $158 = 1; - $81 = 0; - } else { - $132 = $157; - $158 = 0; - $81 = $32; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $__grouping = sp; + $call$i = __ZNKSt3__26locale9use_facetERNS0_2idE($__loc, 67392) | 0; + $call$i81 = __ZNKSt3__26locale9use_facetERNS0_2idE($__loc, 67400) | 0; + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$call$i81 >> 2] | 0) + 20 >> 2] & 255]($__grouping, $call$i81); + HEAP32[$__oe >> 2] = $__ob; + $1 = HEAP8[$__nb >> 0] | 0; + switch ($1 << 24 >> 24) { + case 43: + case 45: + { + $call$i84 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i >> 2] | 0) + 44 >> 2] & 127]($call$i, $1) | 0; + $3 = HEAP32[$__oe >> 2] | 0; + HEAP32[$__oe >> 2] = $3 + 4; + HEAP32[$3 >> 2] = $call$i84; + $__nf$0 = $__nb + 1 | 0; + break; + } + default: + $__nf$0 = $__nb; + } + $sub$ptr$lhs$cast = $__ne; + L4 : do if (($sub$ptr$lhs$cast - $__nf$0 | 0) > 1 ? (HEAP8[$__nf$0 >> 0] | 0) == 48 : 0) { + $arrayidx10 = $__nf$0 + 1 | 0; + switch (HEAP8[$arrayidx10 >> 0] | 0) { + case 88: + case 120: + break; + default: + { + label = 4; + break L4; } - } else { - $132 = 0; - $158 = 1; - $81 = 0; } - $46 = HEAP32[$2 >> 2] | 0; - do if ($46) { - $49 = HEAP32[$46 + 12 >> 2] | 0; - if (($49 | 0) == (HEAP32[$46 + 16 >> 2] | 0)) $$0$i$i2$i$i21 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$46 >> 2] | 0) + 36 >> 2] & 127]($46) | 0; else $$0$i$i2$i$i21 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$49 >> 0] | 0) | 0; - if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii($$0$i$i2$i$i21, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if ($158) { - $159 = $46; - break; - } else { - $$2 = $$0; - $141 = $46; - break L8; + $call$i87 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i >> 2] | 0) + 44 >> 2] & 127]($call$i, 48) | 0; + $7 = HEAP32[$__oe >> 2] | 0; + HEAP32[$__oe >> 2] = $7 + 4; + HEAP32[$7 >> 2] = $call$i87; + $incdec$ptr21 = $__nf$0 + 2 | 0; + $call$i90 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i >> 2] | 0) + 44 >> 2] & 127]($call$i, HEAP8[$arrayidx10 >> 0] | 0) | 0; + $10 = HEAP32[$__oe >> 2] | 0; + HEAP32[$__oe >> 2] = $10 + 4; + HEAP32[$10 >> 2] = $call$i90; + $__ns$0 = $incdec$ptr21; + while (1) { + if ($__ns$0 >>> 0 >= $__ne >>> 0) { + $__nf$1 = $incdec$ptr21; + $__ns$2 = $__ns$0; + break L4; + } + $conv25 = HEAP8[$__ns$0 >> 0] | 0; + if (!(_isxdigit_l($conv25, __ZNSt3__26__clocEv() | 0) | 0)) { + $__nf$1 = $incdec$ptr21; + $__ns$2 = $__ns$0; + break L4; + } + $__ns$0 = $__ns$0 + 1 | 0; + } + } else label = 4; while (0); + L12 : do if ((label | 0) == 4) { + $__ns$1 = $__nf$0; + while (1) { + if ($__ns$1 >>> 0 >= $__ne >>> 0) { + $__nf$1 = $__nf$0; + $__ns$2 = $__ns$1; + break L12; + } + $conv34 = HEAP8[$__ns$1 >> 0] | 0; + if (!(_isdigit_l($conv34, __ZNSt3__26__clocEv() | 0) | 0)) { + $__nf$1 = $__nf$0; + $__ns$2 = $__ns$1; + break L12; + } + $__ns$1 = $__ns$1 + 1 | 0; + } + } while (0); + $__size_$i$i$i = $__grouping + 11 | 0; + $13 = HEAP8[$__size_$i$i$i >> 0] | 0; + $__size_$i3$i$i = $__grouping + 4 | 0; + L19 : do if (($13 << 24 >> 24 < 0 ? HEAP32[$__size_$i3$i$i >> 2] | 0 : $13 & 255) | 0) { + L22 : do if (($__nf$1 | 0) != ($__ns$2 | 0)) { + $__first$addr$0$i$i = $__nf$1; + $__last$addr$0$i$i = $__ns$2; + while (1) { + $incdec$ptr$i$i = $__last$addr$0$i$i + -1 | 0; + if ($__first$addr$0$i$i >>> 0 >= $incdec$ptr$i$i >>> 0) break L22; + $18 = HEAP8[$__first$addr$0$i$i >> 0] | 0; + HEAP8[$__first$addr$0$i$i >> 0] = HEAP8[$incdec$ptr$i$i >> 0] | 0; + HEAP8[$incdec$ptr$i$i >> 0] = $18; + $__first$addr$0$i$i = $__first$addr$0$i$i + 1 | 0; + $__last$addr$0$i$i = $incdec$ptr$i$i; + } + } while (0); + $call$i99 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$call$i81 >> 2] | 0) + 16 >> 2] & 127]($call$i81) | 0; + $__dc$0 = 0; + $__dg$0 = 0; + $__p$0 = $__nf$1; + while (1) { + if ($__p$0 >>> 0 >= $__ns$2 >>> 0) break; + $26 = HEAP8[((HEAP8[$__size_$i$i$i >> 0] | 0) < 0 ? HEAP32[$__grouping >> 2] | 0 : $__grouping) + $__dg$0 >> 0] | 0; + if ($26 << 24 >> 24 > 0 & ($__dc$0 | 0) == ($26 << 24 >> 24 | 0)) { + $27 = HEAP32[$__oe >> 2] | 0; + HEAP32[$__oe >> 2] = $27 + 4; + HEAP32[$27 >> 2] = $call$i99; + $28 = HEAP8[$__size_$i$i$i >> 0] | 0; + $__dc$1 = 0; + $__dg$1 = $__dg$0 + ($__dg$0 >>> 0 < (($28 << 24 >> 24 < 0 ? HEAP32[$__size_$i3$i$i >> 2] | 0 : $28 & 255) + -1 | 0) >>> 0 & 1) | 0; } else { - HEAP32[$2 >> 2] = 0; - label = 19; - break; + $__dc$1 = $__dc$0; + $__dg$1 = $__dg$0; + } + $call$i133 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i >> 2] | 0) + 44 >> 2] & 127]($call$i, HEAP8[$__p$0 >> 0] | 0) | 0; + $32 = HEAP32[$__oe >> 2] | 0; + HEAP32[$__oe >> 2] = $32 + 4; + HEAP32[$32 >> 2] = $call$i133; + $__dc$0 = $__dc$1 + 1 | 0; + $__dg$0 = $__dg$1; + $__p$0 = $__p$0 + 1 | 0; + } + $add$ptr78 = $__ob + ($__nf$1 - $__nb << 2) | 0; + $21 = HEAP32[$__oe >> 2] | 0; + if (($add$ptr78 | 0) == ($21 | 0)) { + $$pre$phiZ2D = $call$i; + $41 = $add$ptr78; + } else { + $__first$addr$0$i$i102 = $add$ptr78; + $__last$addr$0$i$i103 = $21; + while (1) { + $incdec$ptr$i$i104 = $__last$addr$0$i$i103 + -4 | 0; + if ($__first$addr$0$i$i102 >>> 0 >= $incdec$ptr$i$i104 >>> 0) { + $$pre$phiZ2D = $call$i; + $41 = $21; + break L19; + } + $22 = HEAP32[$__first$addr$0$i$i102 >> 2] | 0; + HEAP32[$__first$addr$0$i$i102 >> 2] = HEAP32[$incdec$ptr$i$i104 >> 2]; + HEAP32[$incdec$ptr$i$i104 >> 2] = $22; + $__first$addr$0$i$i102 = $__first$addr$0$i$i102 + 4 | 0; + $__last$addr$0$i$i103 = $incdec$ptr$i$i104; } - } else label = 19; while (0); - if ((label | 0) == 19) { - label = 0; - if ($158) { - $$2 = $$0; - $141 = 0; - break; - } else $159 = 0; - } - $62 = HEAP8[$19 >> 0] | 0; - $66 = $62 << 24 >> 24 < 0 ? HEAP32[$30 >> 2] | 0 : $62 & 255; - if ((HEAP32[$11 >> 2] | 0) == ($$0 + $66 | 0)) { - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($10, $66 << 1, 0); - if ((HEAP8[$19 >> 0] | 0) < 0) $74 = (HEAP32[$22 >> 2] & 2147483647) + -1 | 0; else $74 = 10; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($10, $74, 0); - $78 = (HEAP8[$19 >> 0] | 0) < 0 ? HEAP32[$10 >> 2] | 0 : $10; - HEAP32[$11 >> 2] = $78 + $66; - $$1 = $78; - } else $$1 = $$0; - $80 = $81 + 12 | 0; - $82 = HEAP32[$80 >> 2] | 0; - $83 = $81 + 16 | 0; - if (($82 | 0) == (HEAP32[$83 >> 2] | 0)) $$0$i$i31 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$81 >> 2] | 0) + 36 >> 2] & 127]($81) | 0; else $$0$i$i31 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$82 >> 0] | 0) | 0; - if (__ZNSt3__29__num_getIcE19__stage2_float_loopEcRbRcPcRS4_ccRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSE_RjS4_($$0$i$i31 & 255, $15, $16, $$1, $11, HEAP8[$7 >> 0] | 0, HEAP8[$8 >> 0] | 0, $9, $12, $13, $14, $6) | 0) { - $$2 = $$1; - $141 = $159; - break; - } - $97 = HEAP32[$80 >> 2] | 0; - if (($97 | 0) == (HEAP32[$83 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$81 >> 2] | 0) + 40 >> 2] & 127]($81) | 0; else { - HEAP32[$80 >> 2] = $97 + 1; - __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$97 >> 0] | 0) | 0; - } - $$0 = $$1; - $157 = $132; - $32 = $81; - } - $106 = HEAP8[$9 + 11 >> 0] | 0; - if (!((HEAP8[$15 >> 0] | 0) == 0 ? 1 : (($106 << 24 >> 24 < 0 ? HEAP32[$9 + 4 >> 2] | 0 : $106 & 255) | 0) == 0) ? ($115 = HEAP32[$13 >> 2] | 0, ($115 - $12 | 0) < 160) : 0) { - $120 = HEAP32[$14 >> 2] | 0; - HEAP32[$13 >> 2] = $115 + 4; - HEAP32[$115 >> 2] = $120; - } - $123 = +__ZNSt3__215__num_get_floatIeEET_PKcS3_Rj($$2, HEAP32[$11 >> 2] | 0, $4); - HEAPF64[$5 >> 3] = $123; - __ZNSt3__216__check_groupingERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjS8_Rj($9, $12, HEAP32[$13 >> 2] | 0, $4); - if ($81) { - $127 = HEAP32[$81 + 12 >> 2] | 0; - if (($127 | 0) == (HEAP32[$81 + 16 >> 2] | 0)) $$0$i$i$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$132 >> 2] | 0) + 36 >> 2] & 127]($81) | 0; else $$0$i$i$i$i = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$127 >> 0] | 0) | 0; - if (__ZNSt3__211char_traitsIcE11eq_int_typeEii($$0$i$i$i$i, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { - HEAP32[$1 >> 2] = 0; - $160 = 1; - } else $160 = 0; - } else $160 = 1; - do if ($141) { - $143 = HEAP32[$141 + 12 >> 2] | 0; - if (($143 | 0) == (HEAP32[$141 + 16 >> 2] | 0)) $$0$i$i2$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$141 >> 2] | 0) + 36 >> 2] & 127]($141) | 0; else $$0$i$i2$i$i = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$143 >> 0] | 0) | 0; - if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii($$0$i$i2$i$i, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if ($160) break; else { - label = 50; + } + } else { + FUNCTION_TABLE_iiiii[HEAP32[(HEAP32[$call$i >> 2] | 0) + 48 >> 2] & 15]($call$i, $__nf$1, $__ns$2, HEAP32[$__oe >> 2] | 0) | 0; + $add$ptr = (HEAP32[$__oe >> 2] | 0) + ($__ns$2 - $__nf$1 << 2) | 0; + HEAP32[$__oe >> 2] = $add$ptr; + $$pre$phiZ2D = $call$i; + $41 = $add$ptr; + } while (0); + $42 = $41; + $__nf$2 = $__ns$2; + while (1) { + if ($__nf$2 >>> 0 >= $__ne >>> 0) { + $39 = $42; + $__nf$3 = $__nf$2; break; - } else { - HEAP32[$2 >> 2] = 0; - label = 48; + } + $33 = HEAP8[$__nf$2 >> 0] | 0; + if ($33 << 24 >> 24 == 46) { + label = 32; break; } - } else label = 48; while (0); - if ((label | 0) == 48 ? $160 : 0) label = 50; - if ((label | 0) == 50) HEAP32[$4 >> 2] = HEAP32[$4 >> 2] | 2; - $$sroa$0$0$copyload = HEAP32[$1 >> 2] | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($10); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($9); + $call$i111 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$$pre$phiZ2D >> 2] | 0) + 44 >> 2] & 127]($call$i, $33) | 0; + $37 = HEAP32[$__oe >> 2] | 0; + $incdec$ptr91 = $37 + 4 | 0; + HEAP32[$__oe >> 2] = $incdec$ptr91; + HEAP32[$37 >> 2] = $call$i111; + $42 = $incdec$ptr91; + $__nf$2 = $__nf$2 + 1 | 0; + } + if ((label | 0) == 32) { + $call$i120 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$call$i81 >> 2] | 0) + 12 >> 2] & 127]($call$i81) | 0; + $35 = HEAP32[$__oe >> 2] | 0; + $incdec$ptr87 = $35 + 4 | 0; + HEAP32[$__oe >> 2] = $incdec$ptr87; + HEAP32[$35 >> 2] = $call$i120; + $39 = $incdec$ptr87; + $__nf$3 = $__nf$2 + 1 | 0; + } + FUNCTION_TABLE_iiiii[HEAP32[(HEAP32[$call$i >> 2] | 0) + 48 >> 2] & 15]($call$i, $__nf$3, $__ne, $39) | 0; + $add$ptr100 = (HEAP32[$__oe >> 2] | 0) + ($sub$ptr$lhs$cast - $__nf$3 << 2) | 0; + HEAP32[$__oe >> 2] = $add$ptr100; + HEAP32[$__op >> 2] = ($__np | 0) == ($__ne | 0) ? $add$ptr100 : $__ob + ($__np - $__nb << 2) | 0; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($__grouping); STACKTOP = sp; - return $$sroa$0$0$copyload | 0; + return; } -function __ZNKSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE23__do_get_floating_pointIdEES4_S4_S4_RNS_8ios_baseERjRT_($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$0 = 0, $$0$i$i = 0, $$0$i$i$i$i = 0, $$0$i$i$i$i15 = 0, $$0$i$i2$i$i = 0, $$0$i$i2$i$i21 = 0, $$0$i$i31 = 0, $$1 = 0, $$2 = 0, $$pre = 0, $$sroa$0$0$copyload = 0, $10 = 0, $106 = 0, $11 = 0, $115 = 0, $12 = 0, $120 = 0, $123 = 0.0, $127 = 0, $13 = 0, $132 = 0, $14 = 0, $141 = 0, $143 = 0, $15 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $19 = 0, $22 = 0, $25 = 0, $29 = 0, $30 = 0, $32 = 0, $34 = 0, $46 = 0, $49 = 0, $6 = 0, $62 = 0, $66 = 0, $7 = 0, $74 = 0, $78 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $9 = 0, $97 = 0, label = 0, sp = 0; +function _jpeg_idct_11x11($cinfo, $compptr, $coef_block, $output_buf, $output_col) { + $cinfo = $cinfo | 0; + $compptr = $compptr | 0; + $coef_block = $coef_block | 0; + $output_buf = $output_buf | 0; + $output_col = $output_col | 0; + var $0 = 0, $29 = 0, $30 = 0, $31 = 0, $37 = 0, $38 = 0, $39 = 0, $40 = 0, $add = 0, $add$ptr = 0, $add$ptr131 = 0, $add142 = 0, $add146 = 0, $add147 = 0, $add153 = 0, $add156 = 0, $add157 = 0, $add163 = 0, $add17 = 0, $add170 = 0, $add179 = 0, $add192 = 0, $add195 = 0, $add198 = 0, $add204 = 0, $add21 = 0, $add22 = 0, $add28 = 0, $add31 = 0, $add32 = 0, $add38 = 0, $add57 = 0, $add66 = 0, $add79 = 0, $add82 = 0, $add85 = 0, $add91 = 0, $ctr$0247 = 0, $ctr$1243 = 0, $inptr$0244 = 0, $mul13 = 0, $mul141 = 0, $mul16 = 0, $mul173 = 0, $mul174 = 0, $mul176 = 0, $mul194 = 0, $mul44 = 0, $mul48 = 0, $mul5 = 0, $mul52 = 0, $mul56 = 0, $mul60 = 0, $mul61 = 0, $mul63 = 0, $mul81 = 0, $mul9 = 0, $quantptr$0245 = 0, $shl134 = 0, $sub144 = 0, $sub150 = 0, $sub159 = 0, $sub165 = 0, $sub183 = 0, $sub186 = 0, $sub19 = 0, $sub25 = 0, $sub34 = 0, $sub40 = 0, $sub70 = 0, $sub73 = 0, $workspace = 0, $wsptr$0246 = 0, $wsptr$1242 = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 240 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(240); - $6 = sp + 160 | 0; - $7 = sp + 231 | 0; - $8 = sp + 230 | 0; - $9 = sp + 216 | 0; - $10 = sp + 204 | 0; - $11 = sp + 200 | 0; - $12 = sp; - $13 = sp + 196 | 0; - $14 = sp + 192 | 0; - $15 = sp + 229 | 0; - $16 = sp + 228 | 0; - __ZNSt3__29__num_getIcE19__stage2_float_prepERNS_8ios_baseEPcRcS5_($9, $3, $6, $7, $8); - HEAP32[$10 >> 2] = 0; - HEAP32[$10 + 4 >> 2] = 0; - HEAP32[$10 + 8 >> 2] = 0; - $$0$i$i = 0; + STACKTOP = STACKTOP + 352 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(352); + $workspace = sp; + $0 = HEAP32[$cinfo + 336 >> 2] | 0; + $ctr$0247 = 0; + $inptr$0244 = $coef_block; + $quantptr$0245 = HEAP32[$compptr + 84 >> 2] | 0; + $wsptr$0246 = $workspace; + while (1) { + $add = Math_imul(HEAP16[$inptr$0244 >> 1] << 13, HEAP32[$quantptr$0245 >> 2] | 0) | 0 | 1024; + $mul5 = Math_imul(HEAP32[$quantptr$0245 + 64 >> 2] | 0, HEAP16[$inptr$0244 + 32 >> 1] | 0) | 0; + $mul9 = Math_imul(HEAP32[$quantptr$0245 + 128 >> 2] | 0, HEAP16[$inptr$0244 + 64 >> 1] | 0) | 0; + $mul13 = Math_imul(HEAP32[$quantptr$0245 + 192 >> 2] | 0, HEAP16[$inptr$0244 + 96 >> 1] | 0) | 0; + $mul16 = ($mul9 - $mul5 | 0) * 3529 | 0; + $add17 = $mul13 + $mul5 | 0; + $sub19 = $add17 - $mul9 | 0; + $add21 = ($sub19 * 11116 | 0) + $add | 0; + $add22 = $add21 + (($mul9 - $mul13 | 0) * 20862 | 0) | 0; + $sub25 = $add22 + (Math_imul($mul9, -14924) | 0) + $mul16 | 0; + $add28 = $add22 + ($mul13 * 17333 | 0) | 0; + $add31 = $add21 + $mul16 + (Math_imul($mul5, -12399) | 0) | 0; + $add32 = $add21 + (Math_imul($add17, -9467) | 0) | 0; + $sub34 = $add32 + (Math_imul($mul13, -6461) | 0) | 0; + $add38 = ($mul9 * 15929 | 0) + (Math_imul($mul5, -11395) | 0) + $add32 | 0; + $sub40 = (Math_imul($sub19, -11585) | 0) + $add | 0; + $mul44 = Math_imul(HEAP32[$quantptr$0245 + 32 >> 2] | 0, HEAP16[$inptr$0244 + 16 >> 1] | 0) | 0; + $mul48 = Math_imul(HEAP32[$quantptr$0245 + 96 >> 2] | 0, HEAP16[$inptr$0244 + 48 >> 1] | 0) | 0; + $mul52 = Math_imul(HEAP32[$quantptr$0245 + 160 >> 2] | 0, HEAP16[$inptr$0244 + 80 >> 1] | 0) | 0; + $mul56 = Math_imul(HEAP32[$quantptr$0245 + 224 >> 2] | 0, HEAP16[$inptr$0244 + 112 >> 1] | 0) | 0; + $add57 = $mul48 + $mul44 | 0; + $mul60 = ($mul52 + $add57 + $mul56 | 0) * 3264 | 0; + $mul61 = $add57 * 7274 | 0; + $mul63 = ($mul52 + $mul44 | 0) * 5492 | 0; + $add66 = $mul60 + (($mul56 + $mul44 | 0) * 3e3 | 0) | 0; + $sub70 = $mul61 + (Math_imul($mul44, -7562) | 0) + $mul63 + $add66 | 0; + $sub73 = $mul60 + (Math_imul($mul52 + $mul48 | 0, -9527) | 0) | 0; + $add79 = $mul63 + (Math_imul($mul52, -9766) | 0) + $sub73 | 0; + $mul81 = Math_imul($mul56 + $mul48 | 0, -14731) | 0; + $add82 = $mul61 + ($mul48 * 16984 | 0) + $mul81 + $sub73 | 0; + $add85 = $mul81 + ($mul56 * 17223 | 0) + $add66 | 0; + $add91 = ($mul52 * 8203 | 0) + (Math_imul($mul48, -12019) | 0) + (Math_imul($mul56, -13802) | 0) + $mul60 | 0; + HEAP32[$wsptr$0246 >> 2] = $sub70 + $add28 >> 11; + HEAP32[$wsptr$0246 + 320 >> 2] = $add28 - $sub70 >> 11; + HEAP32[$wsptr$0246 + 32 >> 2] = $add82 + $sub25 >> 11; + HEAP32[$wsptr$0246 + 288 >> 2] = $sub25 - $add82 >> 11; + HEAP32[$wsptr$0246 + 64 >> 2] = $add79 + $sub34 >> 11; + HEAP32[$wsptr$0246 + 256 >> 2] = $sub34 - $add79 >> 11; + HEAP32[$wsptr$0246 + 96 >> 2] = $add85 + $add31 >> 11; + HEAP32[$wsptr$0246 + 224 >> 2] = $add31 - $add85 >> 11; + HEAP32[$wsptr$0246 + 128 >> 2] = $add91 + $add38 >> 11; + HEAP32[$wsptr$0246 + 192 >> 2] = $add38 - $add91 >> 11; + HEAP32[$wsptr$0246 + 160 >> 2] = $sub40 >> 11; + $ctr$0247 = $ctr$0247 + 1 | 0; + if (($ctr$0247 | 0) == 8) break; else { + $inptr$0244 = $inptr$0244 + 2 | 0; + $quantptr$0245 = $quantptr$0245 + 4 | 0; + $wsptr$0246 = $wsptr$0246 + 4 | 0; + } + } + $add$ptr = $0 + -384 | 0; + $ctr$1243 = 0; + $wsptr$1242 = $workspace; + while (1) { + $add$ptr131 = (HEAP32[$output_buf + ($ctr$1243 << 2) >> 2] | 0) + $output_col | 0; + $shl134 = (HEAP32[$wsptr$1242 >> 2] << 13) + 134348800 | 0; + $29 = HEAP32[$wsptr$1242 + 8 >> 2] | 0; + $30 = HEAP32[$wsptr$1242 + 16 >> 2] | 0; + $31 = HEAP32[$wsptr$1242 + 24 >> 2] | 0; + $mul141 = ($30 - $29 | 0) * 3529 | 0; + $add142 = $31 + $29 | 0; + $sub144 = $add142 - $30 | 0; + $add146 = ($sub144 * 11116 | 0) + $shl134 | 0; + $add147 = $add146 + (($30 - $31 | 0) * 20862 | 0) | 0; + $sub150 = $add147 + (Math_imul($30, -14924) | 0) + $mul141 | 0; + $add153 = $add147 + ($31 * 17333 | 0) | 0; + $add156 = $add146 + $mul141 + (Math_imul($29, -12399) | 0) | 0; + $add157 = $add146 + (Math_imul($add142, -9467) | 0) | 0; + $sub159 = $add157 + (Math_imul($31, -6461) | 0) | 0; + $add163 = ($30 * 15929 | 0) + (Math_imul($29, -11395) | 0) + $add157 | 0; + $sub165 = (Math_imul($sub144, -11585) | 0) + $shl134 | 0; + $37 = HEAP32[$wsptr$1242 + 4 >> 2] | 0; + $38 = HEAP32[$wsptr$1242 + 12 >> 2] | 0; + $39 = HEAP32[$wsptr$1242 + 20 >> 2] | 0; + $40 = HEAP32[$wsptr$1242 + 28 >> 2] | 0; + $add170 = $38 + $37 | 0; + $mul173 = ($add170 + $39 + $40 | 0) * 3264 | 0; + $mul174 = $add170 * 7274 | 0; + $mul176 = ($39 + $37 | 0) * 5492 | 0; + $add179 = $mul173 + (($40 + $37 | 0) * 3e3 | 0) | 0; + $sub183 = $mul174 + (Math_imul($37, -7562) | 0) + $mul176 + $add179 | 0; + $sub186 = $mul173 + (Math_imul($39 + $38 | 0, -9527) | 0) | 0; + $add192 = $mul176 + (Math_imul($39, -9766) | 0) + $sub186 | 0; + $mul194 = Math_imul($40 + $38 | 0, -14731) | 0; + $add195 = $mul174 + ($38 * 16984 | 0) + $mul194 + $sub186 | 0; + $add198 = $mul194 + ($40 * 17223 | 0) + $add179 | 0; + $add204 = ($39 * 8203 | 0) + (Math_imul($38, -12019) | 0) + (Math_imul($40, -13802) | 0) + $mul173 | 0; + HEAP8[$add$ptr131 >> 0] = HEAP8[$add$ptr + (($sub183 + $add153 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr131 + 10 >> 0] = HEAP8[$add$ptr + (($add153 - $sub183 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr131 + 1 >> 0] = HEAP8[$add$ptr + (($add195 + $sub150 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr131 + 9 >> 0] = HEAP8[$add$ptr + (($sub150 - $add195 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr131 + 2 >> 0] = HEAP8[$add$ptr + (($add192 + $sub159 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr131 + 8 >> 0] = HEAP8[$add$ptr + (($sub159 - $add192 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr131 + 3 >> 0] = HEAP8[$add$ptr + (($add198 + $add156 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr131 + 7 >> 0] = HEAP8[$add$ptr + (($add156 - $add198 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr131 + 4 >> 0] = HEAP8[$add$ptr + (($add204 + $add163 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr131 + 6 >> 0] = HEAP8[$add$ptr + (($add163 - $add204 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr131 + 5 >> 0] = HEAP8[$add$ptr + ($sub165 >>> 18 & 1023) >> 0] | 0; + $ctr$1243 = $ctr$1243 + 1 | 0; + if (($ctr$1243 | 0) == 11) break; else $wsptr$1242 = $wsptr$1242 + 32 | 0; + } + STACKTOP = sp; + return; +} + +function __ZNKSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE17__do_get_unsignedIyEES4_S4_S4_RNS_8ios_baseERjRT_($this, $__b, $__e, $__iob, $__err, $__v) { + $this = $this | 0; + $__b = $__b | 0; + $__e = $__e | 0; + $__iob = $__iob | 0; + $__err = $__err | 0; + $__v = $__v | 0; + var $$pre = 0, $10 = 0, $15 = 0, $21 = 0, $22 = 0, $27 = 0, $31 = 0, $33 = 0, $34 = 0, $36 = 0, $37 = 0, $38 = 0, $4 = 0, $43 = 0, $45 = 0, $48 = 0, $49 = 0, $5 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $9 = 0, $__a$0 = 0, $__a$1 = 0, $__a$2 = 0, $__a_end = 0, $__buf = 0, $__cap_$i$i = 0, $__dc = 0, $__einp_$i$i = 0, $__g = 0, $__g_end = 0, $__grouping = 0, $__i$0$i$i = 0, $__ninp_$i$i = 0, $__size_$i$i = 0, $__size_$i3$i = 0, $__thousands_sep = 0, $call = 0, $call2 = 0, $cond$i = 0, $cond$i$i = 0, $cond$i$i96 = 0, $cond$i61 = 0, $cond$i87 = 0, $retval$0$i$i = 0, $retval$0$i$i$i$i = 0, $retval$0$i$i$i$i28 = 0, $retval$0$i$i13$i$i = 0, $retval$0$i$i13$i$i49 = 0, $retval$sroa$0$0$copyload = 0, label = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 304 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(304); + $__thousands_sep = sp + 300 | 0; + $__grouping = sp + 288 | 0; + $__buf = sp + 276 | 0; + $__a_end = sp + 272 | 0; + $__g = sp; + $__g_end = sp + 268 | 0; + $__dc = sp + 264 | 0; + $call = __ZNSt3__214__num_get_base10__get_baseERNS_8ios_baseE($__iob) | 0; + $call2 = __ZNKSt3__29__num_getIwE10__do_widenERNS_8ios_baseEPw($this, $__iob, sp + 160 | 0) | 0; + __ZNSt3__29__num_getIwE17__stage2_int_prepERNS_8ios_baseERw($__grouping, $__iob, $__thousands_sep); + HEAP32[$__buf >> 2] = 0; + HEAP32[$__buf + 4 >> 2] = 0; + HEAP32[$__buf + 8 >> 2] = 0; + $__i$0$i$i = 0; while (1) { - if (($$0$i$i | 0) == 3) break; - HEAP32[$10 + ($$0$i$i << 2) >> 2] = 0; - $$0$i$i = $$0$i$i + 1 | 0; - } - $19 = $10 + 11 | 0; - $22 = $10 + 8 | 0; - if ((HEAP8[$19 >> 0] | 0) < 0) $25 = (HEAP32[$22 >> 2] & 2147483647) + -1 | 0; else $25 = 10; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($10, $25, 0); - $29 = (HEAP8[$19 >> 0] | 0) < 0 ? HEAP32[$10 >> 2] | 0 : $10; - HEAP32[$11 >> 2] = $29; - HEAP32[$13 >> 2] = $12; - HEAP32[$14 >> 2] = 0; - HEAP8[$15 >> 0] = 1; - HEAP8[$16 >> 0] = 69; - $30 = $10 + 4 | 0; - $$pre = HEAP32[$1 >> 2] | 0; - $$0 = $29; - $157 = $$pre; - $32 = $$pre; + if (($__i$0$i$i | 0) == 3) break; + HEAP32[$__buf + ($__i$0$i$i << 2) >> 2] = 0; + $__i$0$i$i = $__i$0$i$i + 1 | 0; + } + $__size_$i$i = $__buf + 11 | 0; + $__cap_$i$i = $__buf + 8 | 0; + if ((HEAP8[$__size_$i$i >> 0] | 0) < 0) $cond$i = (HEAP32[$__cap_$i$i >> 2] & 2147483647) + -1 | 0; else $cond$i = 10; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($__buf, $cond$i, 0); + $cond$i$i = (HEAP8[$__size_$i$i >> 0] | 0) < 0 ? HEAP32[$__buf >> 2] | 0 : $__buf; + HEAP32[$__a_end >> 2] = $cond$i$i; + HEAP32[$__g_end >> 2] = $__g; + HEAP32[$__dc >> 2] = 0; + $__size_$i3$i = $__buf + 4 | 0; + $$pre = HEAP32[$__b >> 2] | 0; + $4 = $$pre; + $54 = $$pre; + $__a$0 = $cond$i$i; L8 : while (1) { - if ($32) { - $34 = HEAP32[$32 + 12 >> 2] | 0; - if (($34 | 0) == (HEAP32[$32 + 16 >> 2] | 0)) $$0$i$i$i$i15 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$32 >> 2] | 0) + 36 >> 2] & 127]($32) | 0; else $$0$i$i$i$i15 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$34 >> 0] | 0) | 0; - if (__ZNSt3__211char_traitsIcE11eq_int_typeEii($$0$i$i$i$i15, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { - HEAP32[$1 >> 2] = 0; - $132 = 0; - $158 = 1; - $81 = 0; + if ($4) { + $5 = HEAP32[$4 + 12 >> 2] | 0; + if (($5 | 0) == (HEAP32[$4 + 16 >> 2] | 0)) $retval$0$i$i$i$i28 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$4 >> 2] | 0) + 36 >> 2] & 127]($4) | 0; else $retval$0$i$i$i$i28 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$5 >> 2] | 0) | 0; + if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj($retval$0$i$i$i$i28, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { + HEAP32[$__b >> 2] = 0; + $21 = 0; + $45 = 0; + $55 = 1; } else { - $132 = $157; - $158 = 0; - $81 = $32; + $21 = $4; + $45 = $54; + $55 = 0; } } else { - $132 = 0; - $158 = 1; - $81 = 0; + $21 = 0; + $45 = 0; + $55 = 1; } - $46 = HEAP32[$2 >> 2] | 0; - do if ($46) { - $49 = HEAP32[$46 + 12 >> 2] | 0; - if (($49 | 0) == (HEAP32[$46 + 16 >> 2] | 0)) $$0$i$i2$i$i21 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$46 >> 2] | 0) + 36 >> 2] & 127]($46) | 0; else $$0$i$i2$i$i21 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$49 >> 0] | 0) | 0; - if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii($$0$i$i2$i$i21, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if ($158) { - $159 = $46; + $9 = HEAP32[$__e >> 2] | 0; + do if ($9) { + $10 = HEAP32[$9 + 12 >> 2] | 0; + if (($10 | 0) == (HEAP32[$9 + 16 >> 2] | 0)) $retval$0$i$i13$i$i49 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$9 >> 2] | 0) + 36 >> 2] & 127]($9) | 0; else $retval$0$i$i13$i$i49 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$10 >> 2] | 0) | 0; + if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj($retval$0$i$i13$i$i49, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if ($55) { + $56 = $9; break; } else { - $$2 = $$0; - $141 = $46; + $48 = $9; + $__a$2 = $__a$0; break L8; } else { - HEAP32[$2 >> 2] = 0; + HEAP32[$__e >> 2] = 0; label = 19; break; } } else label = 19; while (0); if ((label | 0) == 19) { label = 0; - if ($158) { - $$2 = $$0; - $141 = 0; - break; - } else $159 = 0; - } - $62 = HEAP8[$19 >> 0] | 0; - $66 = $62 << 24 >> 24 < 0 ? HEAP32[$30 >> 2] | 0 : $62 & 255; - if ((HEAP32[$11 >> 2] | 0) == ($$0 + $66 | 0)) { - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($10, $66 << 1, 0); - if ((HEAP8[$19 >> 0] | 0) < 0) $74 = (HEAP32[$22 >> 2] & 2147483647) + -1 | 0; else $74 = 10; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($10, $74, 0); - $78 = (HEAP8[$19 >> 0] | 0) < 0 ? HEAP32[$10 >> 2] | 0 : $10; - HEAP32[$11 >> 2] = $78 + $66; - $$1 = $78; - } else $$1 = $$0; - $80 = $81 + 12 | 0; - $82 = HEAP32[$80 >> 2] | 0; - $83 = $81 + 16 | 0; - if (($82 | 0) == (HEAP32[$83 >> 2] | 0)) $$0$i$i31 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$81 >> 2] | 0) + 36 >> 2] & 127]($81) | 0; else $$0$i$i31 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$82 >> 0] | 0) | 0; - if (__ZNSt3__29__num_getIcE19__stage2_float_loopEcRbRcPcRS4_ccRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSE_RjS4_($$0$i$i31 & 255, $15, $16, $$1, $11, HEAP8[$7 >> 0] | 0, HEAP8[$8 >> 0] | 0, $9, $12, $13, $14, $6) | 0) { - $$2 = $$1; - $141 = $159; - break; - } - $97 = HEAP32[$80 >> 2] | 0; - if (($97 | 0) == (HEAP32[$83 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$81 >> 2] | 0) + 40 >> 2] & 127]($81) | 0; else { - HEAP32[$80 >> 2] = $97 + 1; - __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$97 >> 0] | 0) | 0; - } - $$0 = $$1; - $157 = $132; - $32 = $81; - } - $106 = HEAP8[$9 + 11 >> 0] | 0; - if (!((HEAP8[$15 >> 0] | 0) == 0 ? 1 : (($106 << 24 >> 24 < 0 ? HEAP32[$9 + 4 >> 2] | 0 : $106 & 255) | 0) == 0) ? ($115 = HEAP32[$13 >> 2] | 0, ($115 - $12 | 0) < 160) : 0) { - $120 = HEAP32[$14 >> 2] | 0; - HEAP32[$13 >> 2] = $115 + 4; - HEAP32[$115 >> 2] = $120; - } - $123 = +__ZNSt3__215__num_get_floatIdEET_PKcS3_Rj($$2, HEAP32[$11 >> 2] | 0, $4); - HEAPF64[$5 >> 3] = $123; - __ZNSt3__216__check_groupingERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjS8_Rj($9, $12, HEAP32[$13 >> 2] | 0, $4); - if ($81) { - $127 = HEAP32[$81 + 12 >> 2] | 0; - if (($127 | 0) == (HEAP32[$81 + 16 >> 2] | 0)) $$0$i$i$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$132 >> 2] | 0) + 36 >> 2] & 127]($81) | 0; else $$0$i$i$i$i = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$127 >> 0] | 0) | 0; - if (__ZNSt3__211char_traitsIcE11eq_int_typeEii($$0$i$i$i$i, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { - HEAP32[$1 >> 2] = 0; - $160 = 1; - } else $160 = 0; - } else $160 = 1; - do if ($141) { - $143 = HEAP32[$141 + 12 >> 2] | 0; - if (($143 | 0) == (HEAP32[$141 + 16 >> 2] | 0)) $$0$i$i2$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$141 >> 2] | 0) + 36 >> 2] & 127]($141) | 0; else $$0$i$i2$i$i = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$143 >> 0] | 0) | 0; - if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii($$0$i$i2$i$i, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if ($160) break; else { + if ($55) { + $48 = 0; + $__a$2 = $__a$0; + break; + } else $56 = 0; + } + $15 = HEAP8[$__size_$i$i >> 0] | 0; + $cond$i61 = $15 << 24 >> 24 < 0 ? HEAP32[$__size_$i3$i >> 2] | 0 : $15 & 255; + if ((HEAP32[$__a_end >> 2] | 0) == ($__a$0 + $cond$i61 | 0)) { + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($__buf, $cond$i61 << 1, 0); + if ((HEAP8[$__size_$i$i >> 0] | 0) < 0) $cond$i87 = (HEAP32[$__cap_$i$i >> 2] & 2147483647) + -1 | 0; else $cond$i87 = 10; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($__buf, $cond$i87, 0); + $cond$i$i96 = (HEAP8[$__size_$i$i >> 0] | 0) < 0 ? HEAP32[$__buf >> 2] | 0 : $__buf; + HEAP32[$__a_end >> 2] = $cond$i$i96 + $cond$i61; + $__a$1 = $cond$i$i96; + } else $__a$1 = $__a$0; + $__ninp_$i$i = $21 + 12 | 0; + $22 = HEAP32[$__ninp_$i$i >> 2] | 0; + $__einp_$i$i = $21 + 16 | 0; + if (($22 | 0) == (HEAP32[$__einp_$i$i >> 2] | 0)) $retval$0$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$21 >> 2] | 0) + 36 >> 2] & 127]($21) | 0; else $retval$0$i$i = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$22 >> 2] | 0) | 0; + if (__ZNSt3__29__num_getIwE17__stage2_int_loopEwiPcRS2_RjwRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSD_PKw($retval$0$i$i, $call, $__a$1, $__a_end, $__dc, HEAP32[$__thousands_sep >> 2] | 0, $__grouping, $__g, $__g_end, $call2) | 0) { + $48 = $56; + $__a$2 = $__a$1; + break; + } + $27 = HEAP32[$__ninp_$i$i >> 2] | 0; + if (($27 | 0) == (HEAP32[$__einp_$i$i >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$21 >> 2] | 0) + 40 >> 2] & 127]($21) | 0; else { + HEAP32[$__ninp_$i$i >> 2] = $27 + 4; + __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$27 >> 2] | 0) | 0; + } + $4 = $21; + $54 = $45; + $__a$0 = $__a$1; + } + $31 = HEAP8[$__grouping + 11 >> 0] | 0; + if (($31 << 24 >> 24 < 0 ? HEAP32[$__grouping + 4 >> 2] | 0 : $31 & 255) | 0 ? ($33 = HEAP32[$__g_end >> 2] | 0, ($33 - $__g | 0) < 160) : 0) { + $34 = HEAP32[$__dc >> 2] | 0; + HEAP32[$__g_end >> 2] = $33 + 4; + HEAP32[$33 >> 2] = $34; + } + $36 = __ZNSt3__227__num_get_unsigned_integralIyEET_PKcS3_Rji($__a$2, HEAP32[$__a_end >> 2] | 0, $__err, $call) | 0; + $37 = getTempRet0() | 0; + $38 = $__v; + HEAP32[$38 >> 2] = $36; + HEAP32[$38 + 4 >> 2] = $37; + __ZNSt3__216__check_groupingERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjS8_Rj($__grouping, $__g, HEAP32[$__g_end >> 2] | 0, $__err); + if ($21) { + $43 = HEAP32[$21 + 12 >> 2] | 0; + if (($43 | 0) == (HEAP32[$21 + 16 >> 2] | 0)) $retval$0$i$i$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$45 >> 2] | 0) + 36 >> 2] & 127]($21) | 0; else $retval$0$i$i$i$i = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$43 >> 2] | 0) | 0; + if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj($retval$0$i$i$i$i, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { + HEAP32[$__b >> 2] = 0; + $57 = 1; + } else $57 = 0; + } else $57 = 1; + do if ($48) { + $49 = HEAP32[$48 + 12 >> 2] | 0; + if (($49 | 0) == (HEAP32[$48 + 16 >> 2] | 0)) $retval$0$i$i13$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$48 >> 2] | 0) + 36 >> 2] & 127]($48) | 0; else $retval$0$i$i13$i$i = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$49 >> 2] | 0) | 0; + if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj($retval$0$i$i13$i$i, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if ($57) break; else { label = 50; break; } else { - HEAP32[$2 >> 2] = 0; + HEAP32[$__e >> 2] = 0; label = 48; break; } - } else label = 48; while (0); - if ((label | 0) == 48 ? $160 : 0) label = 50; - if ((label | 0) == 50) HEAP32[$4 >> 2] = HEAP32[$4 >> 2] | 2; - $$sroa$0$0$copyload = HEAP32[$1 >> 2] | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($10); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($9); - STACKTOP = sp; - return $$sroa$0$0$copyload | 0; -} - -function __ZN6vision14BinarykMedoidsILi96EE6assignEPKhiPKii($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $$0 = 0, $$021 = 0, $$1 = 0, $103 = 0, $114 = 0, $119 = 0, $123 = 0, $20 = 0, $25 = 0, $29 = 0, $36 = 0, $41 = 0, $45 = 0, $5 = 0, $52 = 0, $57 = 0, $6 = 0, $61 = 0, $68 = 0, $7 = 0, $73 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $86 = 0, $9 = 0, $95 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $5 = sp; - $6 = $0 + 4 | 0; - $7 = HEAP32[$6 >> 2] | 0; - $8 = $0 + 12 | 0; - $9 = $0 + 16 | 0; - if (($7 | 0) != ((HEAP32[$9 >> 2] | 0) - (HEAP32[$8 >> 2] | 0) >> 2 | 0)) { - $20 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 33662) | 0, 33707) | 0, 39072) | 0, 154) | 0, 39079) | 0, 33779) | 0; - __ZNKSt3__28ios_base6getlocEv($5, $20 + (HEAP32[(HEAP32[$20 >> 2] | 0) + -12 >> 2] | 0) | 0); - $25 = __ZNKSt3__26locale9use_facetERNS0_2idE($5, 66512) | 0; - $29 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$25 >> 2] | 0) + 28 >> 2] & 127]($25, 10) | 0; - __ZNSt3__26localeD2Ev($5); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($20, $29) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($20) | 0; - _abort(); - } - if (($2 | 0) <= 0) { - $36 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 33824) | 0, 33707) | 0, 39072) | 0, 155) | 0, 39079) | 0, 33864) | 0; - __ZNKSt3__28ios_base6getlocEv($5, $36 + (HEAP32[(HEAP32[$36 >> 2] | 0) + -12 >> 2] | 0) | 0); - $41 = __ZNKSt3__26locale9use_facetERNS0_2idE($5, 66512) | 0; - $45 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$41 >> 2] | 0) + 28 >> 2] & 127]($41, 10) | 0; - __ZNSt3__26localeD2Ev($5); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($36, $45) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($36) | 0; - _abort(); - } - if (($4 | 0) > ($2 | 0)) { - $52 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 33900) | 0, 33707) | 0, 39072) | 0, 156) | 0, 39079) | 0, 33951) | 0; - __ZNKSt3__28ios_base6getlocEv($5, $52 + (HEAP32[(HEAP32[$52 >> 2] | 0) + -12 >> 2] | 0) | 0); - $57 = __ZNKSt3__26locale9use_facetERNS0_2idE($5, 66512) | 0; - $61 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$57 >> 2] | 0) + 28 >> 2] & 127]($57, 10) | 0; - __ZNSt3__26localeD2Ev($5); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($52, $61) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($52) | 0; - _abort(); - } - if (($7 | 0) > ($4 | 0)) { - $68 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 33978) | 0, 33707) | 0, 39072) | 0, 157) | 0, 39079) | 0, 34019) | 0; - __ZNKSt3__28ios_base6getlocEv($5, $68 + (HEAP32[(HEAP32[$68 >> 2] | 0) + -12 >> 2] | 0) | 0); - $73 = __ZNKSt3__26locale9use_facetERNS0_2idE($5, 66512) | 0; - $77 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$73 >> 2] | 0) + 28 >> 2] & 127]($73, 10) | 0; - __ZNSt3__26localeD2Ev($5); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($68, $77) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($68) | 0; - _abort(); - } - $78 = $0 + 24 | 0; - HEAP32[$5 >> 2] = -1; - __ZNSt3__26vectorIiNS_9allocatorIiEEE6resizeEmRKi($78, $4, $5); - $79 = $0 + 36 | 0; - HEAP32[$5 >> 2] = -1; - __ZNSt3__26vectorIiNS_9allocatorIiEEE6resizeEmRKi($79, $4, $5); - $80 = $0 + 48 | 0; - __ZNSt3__26vectorIiNS_9allocatorIiEEE6resizeEm($80, $4); - $81 = HEAP32[$80 >> 2] | 0; - $82 = $0 + 52 | 0; - __ZN6vision16SequentialVectorIiEEvPT_iS1_($81, (HEAP32[$82 >> 2] | 0) - $81 >> 2, 0); - $86 = $0 + 8 | 0; - $$0 = -1; - $$021 = 0; - while (1) { - if (($$021 | 0) >= (HEAP32[$86 >> 2] | 0)) break; - $95 = HEAP32[$80 >> 2] | 0; - __ZN6vision12ArrayShuffleIiEEvPT_iiRi($95, (HEAP32[$82 >> 2] | 0) - $95 >> 2, HEAP32[$6 >> 2] | 0, HEAP32[$0 >> 2] | 0); - $103 = __ZN6vision14BinarykMedoidsILi96EE6assignERNSt3__26vectorIiNS2_9allocatorIiEEEEPKhiPKiiSB_i($0, $79, $1, $2, $3, $4, HEAP32[$80 >> 2] | 0, HEAP32[$6 >> 2] | 0) | 0; - if ($103 >>> 0 < $$0 >>> 0) { - __ZNSt3__26vectorIiNS_9allocatorIiEEE4swapERS3_($78, $79); - __ZN6vision10CopyVectorIiEEvPT_PKS1_m(HEAP32[$8 >> 2] | 0, HEAP32[$80 >> 2] | 0, HEAP32[$6 >> 2] | 0); - $$1 = $103; - } else $$1 = $$0; - $$0 = $$1; - $$021 = $$021 + 1 | 0; - } - if ((HEAP32[$6 >> 2] | 0) == ((HEAP32[$9 >> 2] | 0) - (HEAP32[$8 >> 2] | 0) >> 2 | 0)) { - STACKTOP = sp; - return; - } else { - $114 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 33662) | 0, 33707) | 0, 39072) | 0, 187) | 0, 39079) | 0, 33779) | 0; - __ZNKSt3__28ios_base6getlocEv($5, $114 + (HEAP32[(HEAP32[$114 >> 2] | 0) + -12 >> 2] | 0) | 0); - $119 = __ZNKSt3__26locale9use_facetERNS0_2idE($5, 66512) | 0; - $123 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$119 >> 2] | 0) + 28 >> 2] & 127]($119, 10) | 0; - __ZNSt3__26localeD2Ev($5); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($114, $123) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($114) | 0; - _abort(); - } -} - -function _icpPointRobust($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $$0 = 0, $$0205 = 0, $$0207 = 0, $$0209 = 0.0, $$0211 = 0.0, $$0212 = 0, $$0213 = 0.0, $$1 = 0, $$1206 = 0, $$1208 = 0, $$2 = 0, $$3 = 0, $$pn = 0.0, $$pre = 0, $100 = 0, $106 = 0.0, $107 = 0.0, $111 = 0, $115 = 0, $119 = 0, $123 = 0, $127 = 0, $131 = 0, $135 = 0, $139 = 0, $143 = 0, $147 = 0, $151 = 0, $154 = 0, $16 = 0, $19 = 0, $22 = 0, $24 = 0, $25 = 0, $27 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $40 = 0, $41 = 0, $47 = 0, $5 = 0, $51 = 0.0, $55 = 0.0, $56 = 0, $6 = 0, $62 = 0.0, $67 = 0.0, $69 = 0, $7 = 0, $70 = 0.0, $73 = 0.0, $76 = 0.0, $8 = 0, $83 = 0.0, $9 = 0, $95 = 0, $97 = 0.0, $99 = 0, $spec$store$select = 0, $vararg_buffer = 0, $vararg_buffer1 = 0, $vararg_buffer3 = 0, $vararg_buffer5 = 0, label = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 192 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(192); - $vararg_buffer5 = sp + 184 | 0; - $vararg_buffer3 = sp + 176 | 0; - $vararg_buffer1 = sp + 168 | 0; - $vararg_buffer = sp + 160 | 0; - $5 = sp + 144 | 0; - $6 = sp + 48 | 0; - $7 = sp; - $8 = $1 + 8 | 0; - $9 = HEAP32[$8 >> 2] | 0; - do if (($9 | 0) >= 4) { - $16 = ~~(+HEAPF64[$0 + 128 >> 3] * +($9 | 0)) + -1 | 0; - $spec$store$select = ($16 | 0) > 3 ? $16 : 3; - $19 = _malloc($9 * 96 | 0) | 0; - if (!$19) { - _arLog(0, 3, 45947, $vararg_buffer); - $$0212 = -1; - break; - } - $22 = _malloc($9 << 4) | 0; - if (!$22) { - _arLog(0, 3, 45947, $vararg_buffer1); - _free($19); - $$0212 = -1; - break; - } - $24 = $9 << 3; - $25 = _malloc($24) | 0; - if (!$25) { - _arLog(0, 3, 45947, $vararg_buffer3); - _free($19); - _free($22); - $$0212 = -1; - break; - } - $27 = _malloc($24) | 0; - if (!$27) { - _arLog(0, 3, 45947, $vararg_buffer5); - _free($19); - _free($22); - _free($25); - $$0212 = -1; - break; - } - $$0205 = 0; - while (1) { - if (($$0205 | 0) == 3) break; - $$0207 = 0; - while (1) { - if (($$0207 | 0) == 4) break; - HEAPF64[$3 + ($$0205 << 5) + ($$0207 << 3) >> 3] = +HEAPF64[$2 + ($$0205 << 5) + ($$0207 << 3) >> 3]; - $$0207 = $$0207 + 1 | 0; - } - $$0205 = $$0205 + 1 | 0; - } - $34 = $1 + 4 | 0; - $35 = $5 + 8 | 0; - $36 = $27 + ($spec$store$select << 3) | 0; - $37 = $0 + 104 | 0; - $38 = $0 + 96 | 0; - $39 = $0 + 120 | 0; - $40 = $0 + 112 | 0; - $$0211 = 0.0; - $$1208 = 0; - L23 : while (1) { - _arUtilMatMul($0, $3, $6) | 0; - $$1206 = 0; - while (1) { - $41 = HEAP32[$8 >> 2] | 0; - if (($$1206 | 0) >= ($41 | 0)) break; - if ((_icpGetU_from_X_by_MatX2U($5, $6, (HEAP32[$34 >> 2] | 0) + ($$1206 * 24 | 0) | 0) | 0) < 0) { - label = 20; - break L23; - } - $47 = HEAP32[$1 >> 2] | 0; - $51 = +HEAPF64[$47 + ($$1206 << 4) >> 3] - +HEAPF64[$5 >> 3]; - $55 = +HEAPF64[$47 + ($$1206 << 4) + 8 >> 3] - +HEAPF64[$35 >> 3]; - $56 = $$1206 << 1; - HEAPF64[$22 + ($56 << 3) >> 3] = $51; - HEAPF64[$22 + (($56 | 1) << 3) >> 3] = $55; - $62 = $51 * $51 + $55 * $55; - HEAPF64[$27 + ($$1206 << 3) >> 3] = $62; - HEAPF64[$25 + ($$1206 << 3) >> 3] = $62; - $$1206 = $$1206 + 1 | 0; - } - _qsort($27, $41, 8, 42); - $67 = +HEAPF64[$36 >> 3] * 4.0; - $$0213 = $67 < 16.0 ? 16.0 : $67; - $69 = HEAP32[$8 >> 2] | 0; - $70 = $$0213 / 6.0; - $$0209 = 0.0; - $$2 = 0; - while (1) { - if (($$2 | 0) >= ($69 | 0)) break; - $73 = +HEAPF64[$27 + ($$2 << 3) >> 3]; - if ($73 > $$0213) $$pn = $70; else { - $76 = 1.0 - $73 / $$0213; - $$pn = $70 * (1.0 - $76 * ($76 * $76)); - } - $$0209 = $$0209 + $$pn; - $$2 = $$2 + 1 | 0; - } - $83 = $$0209 / +($69 | 0); - if ($83 < +HEAPF64[$37 >> 3]) { - label = 44; - break; - } - if (($$1208 | 0 ? $83 < +HEAPF64[$39 >> 3] : 0) ? $83 / $$0211 > +HEAPF64[$40 >> 3] : 0) { - label = 44; - break; - } - if (($$1208 | 0) == (HEAP32[$38 >> 2] | 0)) { - label = 44; - break; - } - $$0 = 0; - $$3 = 0; - $95 = $69; - while (1) { - if (($$3 | 0) >= ($95 | 0)) break; - $97 = +HEAPF64[$25 + ($$3 << 3) >> 3]; - if (!($97 <= $$0213)) { - $$1 = $$0; - $$pre = $95; - } else { - $99 = $$0 * 6 | 0; - $100 = $19 + ($99 << 3) | 0; - if ((_icpGetJ_U_S($100, $0, $3, (HEAP32[$34 >> 2] | 0) + ($$3 * 24 | 0) | 0) | 0) < 0) { - label = 36; - break L23; - } - $106 = 1.0 - $97 / $$0213; - $107 = $106 * $106; - HEAPF64[$100 >> 3] = $107 * +HEAPF64[$100 >> 3]; - $111 = $19 + (($99 | 1) << 3) | 0; - HEAPF64[$111 >> 3] = $107 * +HEAPF64[$111 >> 3]; - $115 = $19 + ($99 + 2 << 3) | 0; - HEAPF64[$115 >> 3] = $107 * +HEAPF64[$115 >> 3]; - $119 = $19 + ($99 + 3 << 3) | 0; - HEAPF64[$119 >> 3] = $107 * +HEAPF64[$119 >> 3]; - $123 = $19 + ($99 + 4 << 3) | 0; - HEAPF64[$123 >> 3] = $107 * +HEAPF64[$123 >> 3]; - $127 = $19 + ($99 + 5 << 3) | 0; - HEAPF64[$127 >> 3] = $107 * +HEAPF64[$127 >> 3]; - $131 = $19 + ($99 + 6 << 3) | 0; - HEAPF64[$131 >> 3] = $107 * +HEAPF64[$131 >> 3]; - $135 = $19 + ($99 + 7 << 3) | 0; - HEAPF64[$135 >> 3] = $107 * +HEAPF64[$135 >> 3]; - $139 = $19 + ($99 + 8 << 3) | 0; - HEAPF64[$139 >> 3] = $107 * +HEAPF64[$139 >> 3]; - $143 = $19 + ($99 + 9 << 3) | 0; - HEAPF64[$143 >> 3] = $107 * +HEAPF64[$143 >> 3]; - $147 = $19 + ($99 + 10 << 3) | 0; - HEAPF64[$147 >> 3] = $107 * +HEAPF64[$147 >> 3]; - $151 = $19 + ($99 + 11 << 3) | 0; - HEAPF64[$151 >> 3] = $107 * +HEAPF64[$151 >> 3]; - $154 = $$3 << 1; - HEAPF64[$22 + ($$0 << 3) >> 3] = $107 * +HEAPF64[$22 + ($154 << 3) >> 3]; - HEAPF64[$22 + ($$0 + 1 << 3) >> 3] = $107 * +HEAPF64[$22 + (($154 | 1) << 3) >> 3]; - $$1 = $$0 + 2 | 0; - $$pre = HEAP32[$8 >> 2] | 0; - } - $$0 = $$1; - $$3 = $$3 + 1 | 0; - $95 = $$pre; - } - if (($$0 | 0) < 6) { - label = 40; - break; - } - if ((_icpGetDeltaS($7, $22, $19, $$0) | 0) < 0) { - label = 42; - break; - } - _icpUpdateMat($3, $7) | 0; - $$0211 = $83; - $$1208 = $$1208 + 1 | 0; - } - if ((label | 0) == 20) { - _icpGetXw2XcCleanup_221($19, $22, $25, $27); - $$0212 = -1; - break; - } else if ((label | 0) == 36) { - _icpGetXw2XcCleanup_221($19, $22, $25, $27); - $$0212 = -1; - break; - } else if ((label | 0) == 40) { - _icpGetXw2XcCleanup_221($19, $22, $25, $27); - $$0212 = -1; - break; - } else if ((label | 0) == 42) { - _icpGetXw2XcCleanup_221($19, $22, $25, $27); - $$0212 = -1; - break; - } else if ((label | 0) == 44) { - HEAPF64[$4 >> 3] = $83; - _free($19); - _free($22); - _free($25); - _free($27); - $$0212 = 0; - break; - } - } else $$0212 = -1; while (0); + } else label = 48; while (0); + if ((label | 0) == 48 ? $57 : 0) label = 50; + if ((label | 0) == 50) HEAP32[$__err >> 2] = HEAP32[$__err >> 2] | 2; + $retval$sroa$0$0$copyload = HEAP32[$__b >> 2] | 0; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($__buf); + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($__grouping); STACKTOP = sp; - return $$0212 | 0; + return $retval$sroa$0$0$copyload | 0; } -function __ZNKSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_RNS_8ios_baseERjRPv($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$0 = 0, $$0$i$i = 0, $$0$i$i$i$i = 0, $$0$i$i$i$i22 = 0, $$0$i$i19 = 0, $$0$i$i2$i$i = 0, $$0$i$i2$i$i28 = 0, $$0$i$i38 = 0, $$1 = 0, $$2 = 0, $$pre = 0, $$sroa$0$0$copyload = 0, $10 = 0, $11 = 0, $110 = 0, $111 = 0, $116 = 0, $12 = 0, $121 = 0, $130 = 0, $132 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $21 = 0, $24 = 0, $27 = 0, $31 = 0, $32 = 0, $34 = 0, $36 = 0, $48 = 0, $51 = 0, $6 = 0, $64 = 0, $68 = 0, $7 = 0, $76 = 0, $8 = 0, $80 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $9 = 0, $96 = 0, $vararg_buffer = 0, label = 0, sp = 0; +function __ZNKSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE17__do_get_unsignedIyEES4_S4_S4_RNS_8ios_baseERjRT_($this, $__b, $__e, $__iob, $__err, $__v) { + $this = $this | 0; + $__b = $__b | 0; + $__e = $__e | 0; + $__iob = $__iob | 0; + $__err = $__err | 0; + $__v = $__v | 0; + var $$pre = 0, $10 = 0, $15 = 0, $21 = 0, $22 = 0, $27 = 0, $31 = 0, $33 = 0, $34 = 0, $36 = 0, $37 = 0, $38 = 0, $4 = 0, $43 = 0, $45 = 0, $48 = 0, $49 = 0, $5 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $9 = 0, $__a$0 = 0, $__a$1 = 0, $__a$2 = 0, $__a_end = 0, $__buf = 0, $__cap_$i$i = 0, $__dc = 0, $__einp_$i$i = 0, $__g = 0, $__g_end = 0, $__grouping = 0, $__i$0$i$i = 0, $__ninp_$i$i = 0, $__size_$i$i = 0, $__size_$i3$i = 0, $__thousands_sep = 0, $call = 0, $call2 = 0, $cond$i = 0, $cond$i$i = 0, $cond$i$i96 = 0, $cond$i61 = 0, $cond$i87 = 0, $retval$0$i$i = 0, $retval$0$i$i$i$i = 0, $retval$0$i$i$i$i28 = 0, $retval$0$i$i13$i$i = 0, $retval$0$i$i13$i$i49 = 0, $retval$sroa$0$0$copyload = 0, label = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 304 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(304); - $vararg_buffer = sp + 264 | 0; - $6 = sp + 160 | 0; - $7 = sp + 292 | 0; - $8 = sp + 280 | 0; - $9 = sp + 276 | 0; - $10 = sp; - $11 = sp + 272 | 0; - $12 = sp + 268 | 0; - HEAP32[$7 >> 2] = 0; - HEAP32[$7 + 4 >> 2] = 0; - HEAP32[$7 + 8 >> 2] = 0; - $$0$i$i = 0; - while (1) { - if (($$0$i$i | 0) == 3) break; - HEAP32[$7 + ($$0$i$i << 2) >> 2] = 0; - $$0$i$i = $$0$i$i + 1 | 0; - } - __ZNKSt3__28ios_base6getlocEv($8, $3); - $15 = __ZNKSt3__26locale9use_facetERNS0_2idE($8, 66544) | 0; - FUNCTION_TABLE_iiiii[HEAP32[(HEAP32[$15 >> 2] | 0) + 48 >> 2] & 15]($15, 12928, 12954, $6) | 0; - __ZNSt3__26localeD2Ev($8); - HEAP32[$8 >> 2] = 0; - HEAP32[$8 + 4 >> 2] = 0; - HEAP32[$8 + 8 >> 2] = 0; - $$0$i$i19 = 0; + STACKTOP = STACKTOP + 240 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(240); + $__thousands_sep = sp + 224 | 0; + $__grouping = sp + 212 | 0; + $__buf = sp + 200 | 0; + $__a_end = sp + 196 | 0; + $__g = sp; + $__g_end = sp + 192 | 0; + $__dc = sp + 188 | 0; + $call = __ZNSt3__214__num_get_base10__get_baseERNS_8ios_baseE($__iob) | 0; + $call2 = __ZNKSt3__29__num_getIcE10__do_widenERNS_8ios_baseEPc($this, $__iob, sp + 160 | 0) | 0; + __ZNSt3__29__num_getIcE17__stage2_int_prepERNS_8ios_baseERc($__grouping, $__iob, $__thousands_sep); + HEAP32[$__buf >> 2] = 0; + HEAP32[$__buf + 4 >> 2] = 0; + HEAP32[$__buf + 8 >> 2] = 0; + $__i$0$i$i = 0; while (1) { - if (($$0$i$i19 | 0) == 3) break; - HEAP32[$8 + ($$0$i$i19 << 2) >> 2] = 0; - $$0$i$i19 = $$0$i$i19 + 1 | 0; - } - $21 = $8 + 11 | 0; - $24 = $8 + 8 | 0; - if ((HEAP8[$21 >> 0] | 0) < 0) $27 = (HEAP32[$24 >> 2] & 2147483647) + -1 | 0; else $27 = 10; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($8, $27, 0); - $31 = (HEAP8[$21 >> 0] | 0) < 0 ? HEAP32[$8 >> 2] | 0 : $8; - HEAP32[$9 >> 2] = $31; - HEAP32[$11 >> 2] = $10; - HEAP32[$12 >> 2] = 0; - $32 = $8 + 4 | 0; - $$pre = HEAP32[$1 >> 2] | 0; - $$0 = $31; - $146 = $$pre; - $34 = $$pre; - L12 : while (1) { - if ($34) { - $36 = HEAP32[$34 + 12 >> 2] | 0; - if (($36 | 0) == (HEAP32[$34 + 16 >> 2] | 0)) $$0$i$i$i$i22 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$34 >> 2] | 0) + 36 >> 2] & 127]($34) | 0; else $$0$i$i$i$i22 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$36 >> 2] | 0) | 0; - if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj($$0$i$i$i$i22, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { - HEAP32[$1 >> 2] = 0; - $121 = 0; - $147 = 1; - $83 = 0; + if (($__i$0$i$i | 0) == 3) break; + HEAP32[$__buf + ($__i$0$i$i << 2) >> 2] = 0; + $__i$0$i$i = $__i$0$i$i + 1 | 0; + } + $__size_$i$i = $__buf + 11 | 0; + $__cap_$i$i = $__buf + 8 | 0; + if ((HEAP8[$__size_$i$i >> 0] | 0) < 0) $cond$i = (HEAP32[$__cap_$i$i >> 2] & 2147483647) + -1 | 0; else $cond$i = 10; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($__buf, $cond$i, 0); + $cond$i$i = (HEAP8[$__size_$i$i >> 0] | 0) < 0 ? HEAP32[$__buf >> 2] | 0 : $__buf; + HEAP32[$__a_end >> 2] = $cond$i$i; + HEAP32[$__g_end >> 2] = $__g; + HEAP32[$__dc >> 2] = 0; + $__size_$i3$i = $__buf + 4 | 0; + $$pre = HEAP32[$__b >> 2] | 0; + $4 = $$pre; + $54 = $$pre; + $__a$0 = $cond$i$i; + L8 : while (1) { + if ($4) { + $5 = HEAP32[$4 + 12 >> 2] | 0; + if (($5 | 0) == (HEAP32[$4 + 16 >> 2] | 0)) $retval$0$i$i$i$i28 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$4 >> 2] | 0) + 36 >> 2] & 127]($4) | 0; else $retval$0$i$i$i$i28 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$5 >> 0] | 0) | 0; + if (__ZNSt3__211char_traitsIcE11eq_int_typeEii($retval$0$i$i$i$i28, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { + HEAP32[$__b >> 2] = 0; + $21 = 0; + $45 = 0; + $55 = 1; } else { - $121 = $146; - $147 = 0; - $83 = $34; + $21 = $4; + $45 = $54; + $55 = 0; } } else { - $121 = 0; - $147 = 1; - $83 = 0; + $21 = 0; + $45 = 0; + $55 = 1; } - $48 = HEAP32[$2 >> 2] | 0; - do if ($48) { - $51 = HEAP32[$48 + 12 >> 2] | 0; - if (($51 | 0) == (HEAP32[$48 + 16 >> 2] | 0)) $$0$i$i2$i$i28 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$48 >> 2] | 0) + 36 >> 2] & 127]($48) | 0; else $$0$i$i2$i$i28 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$51 >> 2] | 0) | 0; - if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj($$0$i$i2$i$i28, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if ($147) { - $148 = $48; + $9 = HEAP32[$__e >> 2] | 0; + do if ($9) { + $10 = HEAP32[$9 + 12 >> 2] | 0; + if (($10 | 0) == (HEAP32[$9 + 16 >> 2] | 0)) $retval$0$i$i13$i$i49 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$9 >> 2] | 0) + 36 >> 2] & 127]($9) | 0; else $retval$0$i$i13$i$i49 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$10 >> 0] | 0) | 0; + if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii($retval$0$i$i13$i$i49, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if ($55) { + $56 = $9; break; } else { - $$2 = $$0; - $130 = $48; - break L12; + $48 = $9; + $__a$2 = $__a$0; + break L8; } else { - HEAP32[$2 >> 2] = 0; - label = 22; + HEAP32[$__e >> 2] = 0; + label = 19; break; } - } else label = 22; while (0); - if ((label | 0) == 22) { + } else label = 19; while (0); + if ((label | 0) == 19) { label = 0; - if ($147) { - $$2 = $$0; - $130 = 0; - break; - } else $148 = 0; - } - $64 = HEAP8[$21 >> 0] | 0; - $68 = $64 << 24 >> 24 < 0 ? HEAP32[$32 >> 2] | 0 : $64 & 255; - if ((HEAP32[$9 >> 2] | 0) == ($$0 + $68 | 0)) { - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($8, $68 << 1, 0); - if ((HEAP8[$21 >> 0] | 0) < 0) $76 = (HEAP32[$24 >> 2] & 2147483647) + -1 | 0; else $76 = 10; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($8, $76, 0); - $80 = (HEAP8[$21 >> 0] | 0) < 0 ? HEAP32[$8 >> 2] | 0 : $8; - HEAP32[$9 >> 2] = $80 + $68; - $$1 = $80; - } else $$1 = $$0; - $82 = $83 + 12 | 0; - $84 = HEAP32[$82 >> 2] | 0; - $85 = $83 + 16 | 0; - if (($84 | 0) == (HEAP32[$85 >> 2] | 0)) $$0$i$i38 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$83 >> 2] | 0) + 36 >> 2] & 127]($83) | 0; else $$0$i$i38 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$84 >> 2] | 0) | 0; - if (__ZNSt3__29__num_getIwE17__stage2_int_loopEwiPcRS2_RjwRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSD_PKw($$0$i$i38, 16, $$1, $9, $12, 0, $7, $10, $11, $6) | 0) { - $$2 = $$1; - $130 = $148; - break; - } - $96 = HEAP32[$82 >> 2] | 0; - if (($96 | 0) == (HEAP32[$85 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$83 >> 2] | 0) + 40 >> 2] & 127]($83) | 0; else { - HEAP32[$82 >> 2] = $96 + 4; - __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$96 >> 2] | 0) | 0; - } - $$0 = $$1; - $146 = $121; - $34 = $83; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($8, (HEAP32[$9 >> 2] | 0) - $$2 | 0, 0); - $110 = (HEAP8[$21 >> 0] | 0) < 0 ? HEAP32[$8 >> 2] | 0 : $8; - $111 = __ZNSt3__26__clocEv() | 0; - HEAP32[$vararg_buffer >> 2] = $5; - if ((__ZNSt3__217__libcpp_sscanf_lEPKcP15__locale_structS1_z($110, $111, 58968, $vararg_buffer) | 0) != 1) HEAP32[$4 >> 2] = 4; - if ($83) { - $116 = HEAP32[$83 + 12 >> 2] | 0; - if (($116 | 0) == (HEAP32[$83 + 16 >> 2] | 0)) $$0$i$i$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$121 >> 2] | 0) + 36 >> 2] & 127]($83) | 0; else $$0$i$i$i$i = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$116 >> 2] | 0) | 0; - if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj($$0$i$i$i$i, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { - HEAP32[$1 >> 2] = 0; - $149 = 1; - } else $149 = 0; - } else $149 = 1; - do if ($130) { - $132 = HEAP32[$130 + 12 >> 2] | 0; - if (($132 | 0) == (HEAP32[$130 + 16 >> 2] | 0)) $$0$i$i2$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$130 >> 2] | 0) + 36 >> 2] & 127]($130) | 0; else $$0$i$i2$i$i = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$132 >> 2] | 0) | 0; - if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj($$0$i$i2$i$i, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if ($149) break; else { - label = 52; + if ($55) { + $48 = 0; + $__a$2 = $__a$0; + break; + } else $56 = 0; + } + $15 = HEAP8[$__size_$i$i >> 0] | 0; + $cond$i61 = $15 << 24 >> 24 < 0 ? HEAP32[$__size_$i3$i >> 2] | 0 : $15 & 255; + if ((HEAP32[$__a_end >> 2] | 0) == ($__a$0 + $cond$i61 | 0)) { + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($__buf, $cond$i61 << 1, 0); + if ((HEAP8[$__size_$i$i >> 0] | 0) < 0) $cond$i87 = (HEAP32[$__cap_$i$i >> 2] & 2147483647) + -1 | 0; else $cond$i87 = 10; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($__buf, $cond$i87, 0); + $cond$i$i96 = (HEAP8[$__size_$i$i >> 0] | 0) < 0 ? HEAP32[$__buf >> 2] | 0 : $__buf; + HEAP32[$__a_end >> 2] = $cond$i$i96 + $cond$i61; + $__a$1 = $cond$i$i96; + } else $__a$1 = $__a$0; + $__ninp_$i$i = $21 + 12 | 0; + $22 = HEAP32[$__ninp_$i$i >> 2] | 0; + $__einp_$i$i = $21 + 16 | 0; + if (($22 | 0) == (HEAP32[$__einp_$i$i >> 2] | 0)) $retval$0$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$21 >> 2] | 0) + 36 >> 2] & 127]($21) | 0; else $retval$0$i$i = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$22 >> 0] | 0) | 0; + if (__ZNSt3__29__num_getIcE17__stage2_int_loopEciPcRS2_RjcRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSD_PKc($retval$0$i$i & 255, $call, $__a$1, $__a_end, $__dc, HEAP8[$__thousands_sep >> 0] | 0, $__grouping, $__g, $__g_end, $call2) | 0) { + $48 = $56; + $__a$2 = $__a$1; + break; + } + $27 = HEAP32[$__ninp_$i$i >> 2] | 0; + if (($27 | 0) == (HEAP32[$__einp_$i$i >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$21 >> 2] | 0) + 40 >> 2] & 127]($21) | 0; else { + HEAP32[$__ninp_$i$i >> 2] = $27 + 1; + __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$27 >> 0] | 0) | 0; + } + $4 = $21; + $54 = $45; + $__a$0 = $__a$1; + } + $31 = HEAP8[$__grouping + 11 >> 0] | 0; + if (($31 << 24 >> 24 < 0 ? HEAP32[$__grouping + 4 >> 2] | 0 : $31 & 255) | 0 ? ($33 = HEAP32[$__g_end >> 2] | 0, ($33 - $__g | 0) < 160) : 0) { + $34 = HEAP32[$__dc >> 2] | 0; + HEAP32[$__g_end >> 2] = $33 + 4; + HEAP32[$33 >> 2] = $34; + } + $36 = __ZNSt3__227__num_get_unsigned_integralIyEET_PKcS3_Rji($__a$2, HEAP32[$__a_end >> 2] | 0, $__err, $call) | 0; + $37 = getTempRet0() | 0; + $38 = $__v; + HEAP32[$38 >> 2] = $36; + HEAP32[$38 + 4 >> 2] = $37; + __ZNSt3__216__check_groupingERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjS8_Rj($__grouping, $__g, HEAP32[$__g_end >> 2] | 0, $__err); + if ($21) { + $43 = HEAP32[$21 + 12 >> 2] | 0; + if (($43 | 0) == (HEAP32[$21 + 16 >> 2] | 0)) $retval$0$i$i$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$45 >> 2] | 0) + 36 >> 2] & 127]($21) | 0; else $retval$0$i$i$i$i = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$43 >> 0] | 0) | 0; + if (__ZNSt3__211char_traitsIcE11eq_int_typeEii($retval$0$i$i$i$i, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { + HEAP32[$__b >> 2] = 0; + $57 = 1; + } else $57 = 0; + } else $57 = 1; + do if ($48) { + $49 = HEAP32[$48 + 12 >> 2] | 0; + if (($49 | 0) == (HEAP32[$48 + 16 >> 2] | 0)) $retval$0$i$i13$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$48 >> 2] | 0) + 36 >> 2] & 127]($48) | 0; else $retval$0$i$i13$i$i = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$49 >> 0] | 0) | 0; + if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii($retval$0$i$i13$i$i, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if ($57) break; else { + label = 50; break; } else { - HEAP32[$2 >> 2] = 0; - label = 50; + HEAP32[$__e >> 2] = 0; + label = 48; break; } - } else label = 50; while (0); - if ((label | 0) == 50 ? $149 : 0) label = 52; - if ((label | 0) == 52) HEAP32[$4 >> 2] = HEAP32[$4 >> 2] | 2; - $$sroa$0$0$copyload = HEAP32[$1 >> 2] | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($8); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($7); + } else label = 48; while (0); + if ((label | 0) == 48 ? $57 : 0) label = 50; + if ((label | 0) == 50) HEAP32[$__err >> 2] = HEAP32[$__err >> 2] | 2; + $retval$sroa$0$0$copyload = HEAP32[$__b >> 2] | 0; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($__buf); + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($__grouping); STACKTOP = sp; - return $$sroa$0$0$copyload | 0; + return $retval$sroa$0$0$copyload | 0; } -function __ZNKSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_RNS_8ios_baseERjRPv($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$0 = 0, $$0$i$i = 0, $$0$i$i$i$i = 0, $$0$i$i$i$i20 = 0, $$0$i$i17 = 0, $$0$i$i2$i$i = 0, $$0$i$i2$i$i26 = 0, $$0$i$i36 = 0, $$1 = 0, $$2 = 0, $$pre = 0, $$sroa$0$0$copyload = 0, $10 = 0, $11 = 0, $111 = 0, $112 = 0, $117 = 0, $12 = 0, $122 = 0, $131 = 0, $133 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0, $21 = 0, $24 = 0, $27 = 0, $31 = 0, $32 = 0, $34 = 0, $36 = 0, $48 = 0, $51 = 0, $6 = 0, $64 = 0, $68 = 0, $7 = 0, $76 = 0, $8 = 0, $80 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $9 = 0, $97 = 0, $vararg_buffer = 0, label = 0, sp = 0; +function __ZNKSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE15__do_get_signedIxEES4_S4_S4_RNS_8ios_baseERjRT_($this, $__b, $__e, $__iob, $__err, $__v) { + $this = $this | 0; + $__b = $__b | 0; + $__e = $__e | 0; + $__iob = $__iob | 0; + $__err = $__err | 0; + $__v = $__v | 0; + var $$pre = 0, $10 = 0, $15 = 0, $21 = 0, $22 = 0, $27 = 0, $31 = 0, $33 = 0, $34 = 0, $36 = 0, $37 = 0, $38 = 0, $4 = 0, $43 = 0, $45 = 0, $48 = 0, $49 = 0, $5 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $9 = 0, $__a$0 = 0, $__a$1 = 0, $__a$2 = 0, $__a_end = 0, $__buf = 0, $__cap_$i$i = 0, $__dc = 0, $__einp_$i$i = 0, $__g = 0, $__g_end = 0, $__grouping = 0, $__i$0$i$i = 0, $__ninp_$i$i = 0, $__size_$i$i = 0, $__size_$i3$i = 0, $__thousands_sep = 0, $call = 0, $call2 = 0, $cond$i = 0, $cond$i$i = 0, $cond$i$i96 = 0, $cond$i61 = 0, $cond$i87 = 0, $retval$0$i$i = 0, $retval$0$i$i$i$i = 0, $retval$0$i$i$i$i28 = 0, $retval$0$i$i13$i$i = 0, $retval$0$i$i13$i$i49 = 0, $retval$sroa$0$0$copyload = 0, label = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 240 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(240); - $vararg_buffer = sp + 192 | 0; - $6 = sp + 160 | 0; - $7 = sp + 220 | 0; - $8 = sp + 208 | 0; - $9 = sp + 204 | 0; - $10 = sp; - $11 = sp + 200 | 0; - $12 = sp + 196 | 0; - HEAP32[$7 >> 2] = 0; - HEAP32[$7 + 4 >> 2] = 0; - HEAP32[$7 + 8 >> 2] = 0; - $$0$i$i = 0; - while (1) { - if (($$0$i$i | 0) == 3) break; - HEAP32[$7 + ($$0$i$i << 2) >> 2] = 0; - $$0$i$i = $$0$i$i + 1 | 0; - } - __ZNKSt3__28ios_base6getlocEv($8, $3); - $15 = __ZNKSt3__26locale9use_facetERNS0_2idE($8, 66512) | 0; - FUNCTION_TABLE_iiiii[HEAP32[(HEAP32[$15 >> 2] | 0) + 32 >> 2] & 15]($15, 12928, 12954, $6) | 0; - __ZNSt3__26localeD2Ev($8); - HEAP32[$8 >> 2] = 0; - HEAP32[$8 + 4 >> 2] = 0; - HEAP32[$8 + 8 >> 2] = 0; - $$0$i$i17 = 0; + STACKTOP = STACKTOP + 304 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(304); + $__thousands_sep = sp + 300 | 0; + $__grouping = sp + 288 | 0; + $__buf = sp + 276 | 0; + $__a_end = sp + 272 | 0; + $__g = sp; + $__g_end = sp + 268 | 0; + $__dc = sp + 264 | 0; + $call = __ZNSt3__214__num_get_base10__get_baseERNS_8ios_baseE($__iob) | 0; + $call2 = __ZNKSt3__29__num_getIwE10__do_widenERNS_8ios_baseEPw($this, $__iob, sp + 160 | 0) | 0; + __ZNSt3__29__num_getIwE17__stage2_int_prepERNS_8ios_baseERw($__grouping, $__iob, $__thousands_sep); + HEAP32[$__buf >> 2] = 0; + HEAP32[$__buf + 4 >> 2] = 0; + HEAP32[$__buf + 8 >> 2] = 0; + $__i$0$i$i = 0; while (1) { - if (($$0$i$i17 | 0) == 3) break; - HEAP32[$8 + ($$0$i$i17 << 2) >> 2] = 0; - $$0$i$i17 = $$0$i$i17 + 1 | 0; - } - $21 = $8 + 11 | 0; - $24 = $8 + 8 | 0; - if ((HEAP8[$21 >> 0] | 0) < 0) $27 = (HEAP32[$24 >> 2] & 2147483647) + -1 | 0; else $27 = 10; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($8, $27, 0); - $31 = (HEAP8[$21 >> 0] | 0) < 0 ? HEAP32[$8 >> 2] | 0 : $8; - HEAP32[$9 >> 2] = $31; - HEAP32[$11 >> 2] = $10; - HEAP32[$12 >> 2] = 0; - $32 = $8 + 4 | 0; - $$pre = HEAP32[$1 >> 2] | 0; - $$0 = $31; - $147 = $$pre; - $34 = $$pre; - L12 : while (1) { - if ($34) { - $36 = HEAP32[$34 + 12 >> 2] | 0; - if (($36 | 0) == (HEAP32[$34 + 16 >> 2] | 0)) $$0$i$i$i$i20 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$34 >> 2] | 0) + 36 >> 2] & 127]($34) | 0; else $$0$i$i$i$i20 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$36 >> 0] | 0) | 0; - if (__ZNSt3__211char_traitsIcE11eq_int_typeEii($$0$i$i$i$i20, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { - HEAP32[$1 >> 2] = 0; - $122 = 0; - $148 = 1; - $83 = 0; + if (($__i$0$i$i | 0) == 3) break; + HEAP32[$__buf + ($__i$0$i$i << 2) >> 2] = 0; + $__i$0$i$i = $__i$0$i$i + 1 | 0; + } + $__size_$i$i = $__buf + 11 | 0; + $__cap_$i$i = $__buf + 8 | 0; + if ((HEAP8[$__size_$i$i >> 0] | 0) < 0) $cond$i = (HEAP32[$__cap_$i$i >> 2] & 2147483647) + -1 | 0; else $cond$i = 10; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($__buf, $cond$i, 0); + $cond$i$i = (HEAP8[$__size_$i$i >> 0] | 0) < 0 ? HEAP32[$__buf >> 2] | 0 : $__buf; + HEAP32[$__a_end >> 2] = $cond$i$i; + HEAP32[$__g_end >> 2] = $__g; + HEAP32[$__dc >> 2] = 0; + $__size_$i3$i = $__buf + 4 | 0; + $$pre = HEAP32[$__b >> 2] | 0; + $4 = $$pre; + $54 = $$pre; + $__a$0 = $cond$i$i; + L8 : while (1) { + if ($4) { + $5 = HEAP32[$4 + 12 >> 2] | 0; + if (($5 | 0) == (HEAP32[$4 + 16 >> 2] | 0)) $retval$0$i$i$i$i28 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$4 >> 2] | 0) + 36 >> 2] & 127]($4) | 0; else $retval$0$i$i$i$i28 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$5 >> 2] | 0) | 0; + if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj($retval$0$i$i$i$i28, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { + HEAP32[$__b >> 2] = 0; + $21 = 0; + $45 = 0; + $55 = 1; } else { - $122 = $147; - $148 = 0; - $83 = $34; + $21 = $4; + $45 = $54; + $55 = 0; } } else { - $122 = 0; - $148 = 1; - $83 = 0; + $21 = 0; + $45 = 0; + $55 = 1; } - $48 = HEAP32[$2 >> 2] | 0; - do if ($48) { - $51 = HEAP32[$48 + 12 >> 2] | 0; - if (($51 | 0) == (HEAP32[$48 + 16 >> 2] | 0)) $$0$i$i2$i$i26 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$48 >> 2] | 0) + 36 >> 2] & 127]($48) | 0; else $$0$i$i2$i$i26 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$51 >> 0] | 0) | 0; - if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii($$0$i$i2$i$i26, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if ($148) { - $149 = $48; + $9 = HEAP32[$__e >> 2] | 0; + do if ($9) { + $10 = HEAP32[$9 + 12 >> 2] | 0; + if (($10 | 0) == (HEAP32[$9 + 16 >> 2] | 0)) $retval$0$i$i13$i$i49 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$9 >> 2] | 0) + 36 >> 2] & 127]($9) | 0; else $retval$0$i$i13$i$i49 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$10 >> 2] | 0) | 0; + if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj($retval$0$i$i13$i$i49, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if ($55) { + $56 = $9; break; } else { - $$2 = $$0; - $131 = $48; - break L12; + $48 = $9; + $__a$2 = $__a$0; + break L8; } else { - HEAP32[$2 >> 2] = 0; - label = 22; + HEAP32[$__e >> 2] = 0; + label = 19; break; } - } else label = 22; while (0); - if ((label | 0) == 22) { + } else label = 19; while (0); + if ((label | 0) == 19) { label = 0; - if ($148) { - $$2 = $$0; - $131 = 0; - break; - } else $149 = 0; - } - $64 = HEAP8[$21 >> 0] | 0; - $68 = $64 << 24 >> 24 < 0 ? HEAP32[$32 >> 2] | 0 : $64 & 255; - if ((HEAP32[$9 >> 2] | 0) == ($$0 + $68 | 0)) { - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($8, $68 << 1, 0); - if ((HEAP8[$21 >> 0] | 0) < 0) $76 = (HEAP32[$24 >> 2] & 2147483647) + -1 | 0; else $76 = 10; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($8, $76, 0); - $80 = (HEAP8[$21 >> 0] | 0) < 0 ? HEAP32[$8 >> 2] | 0 : $8; - HEAP32[$9 >> 2] = $80 + $68; - $$1 = $80; - } else $$1 = $$0; - $82 = $83 + 12 | 0; - $84 = HEAP32[$82 >> 2] | 0; - $85 = $83 + 16 | 0; - if (($84 | 0) == (HEAP32[$85 >> 2] | 0)) $$0$i$i36 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$83 >> 2] | 0) + 36 >> 2] & 127]($83) | 0; else $$0$i$i36 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$84 >> 0] | 0) | 0; - if (__ZNSt3__29__num_getIcE17__stage2_int_loopEciPcRS2_RjcRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSD_PKc($$0$i$i36 & 255, 16, $$1, $9, $12, 0, $7, $10, $11, $6) | 0) { - $$2 = $$1; - $131 = $149; - break; - } - $97 = HEAP32[$82 >> 2] | 0; - if (($97 | 0) == (HEAP32[$85 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$83 >> 2] | 0) + 40 >> 2] & 127]($83) | 0; else { - HEAP32[$82 >> 2] = $97 + 1; - __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$97 >> 0] | 0) | 0; - } - $$0 = $$1; - $147 = $122; - $34 = $83; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($8, (HEAP32[$9 >> 2] | 0) - $$2 | 0, 0); - $111 = (HEAP8[$21 >> 0] | 0) < 0 ? HEAP32[$8 >> 2] | 0 : $8; - $112 = __ZNSt3__26__clocEv() | 0; - HEAP32[$vararg_buffer >> 2] = $5; - if ((__ZNSt3__217__libcpp_sscanf_lEPKcP15__locale_structS1_z($111, $112, 58968, $vararg_buffer) | 0) != 1) HEAP32[$4 >> 2] = 4; - if ($83) { - $117 = HEAP32[$83 + 12 >> 2] | 0; - if (($117 | 0) == (HEAP32[$83 + 16 >> 2] | 0)) $$0$i$i$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$122 >> 2] | 0) + 36 >> 2] & 127]($83) | 0; else $$0$i$i$i$i = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$117 >> 0] | 0) | 0; - if (__ZNSt3__211char_traitsIcE11eq_int_typeEii($$0$i$i$i$i, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { - HEAP32[$1 >> 2] = 0; - $150 = 1; - } else $150 = 0; - } else $150 = 1; - do if ($131) { - $133 = HEAP32[$131 + 12 >> 2] | 0; - if (($133 | 0) == (HEAP32[$131 + 16 >> 2] | 0)) $$0$i$i2$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$131 >> 2] | 0) + 36 >> 2] & 127]($131) | 0; else $$0$i$i2$i$i = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$133 >> 0] | 0) | 0; - if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii($$0$i$i2$i$i, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if ($150) break; else { - label = 52; + if ($55) { + $48 = 0; + $__a$2 = $__a$0; + break; + } else $56 = 0; + } + $15 = HEAP8[$__size_$i$i >> 0] | 0; + $cond$i61 = $15 << 24 >> 24 < 0 ? HEAP32[$__size_$i3$i >> 2] | 0 : $15 & 255; + if ((HEAP32[$__a_end >> 2] | 0) == ($__a$0 + $cond$i61 | 0)) { + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($__buf, $cond$i61 << 1, 0); + if ((HEAP8[$__size_$i$i >> 0] | 0) < 0) $cond$i87 = (HEAP32[$__cap_$i$i >> 2] & 2147483647) + -1 | 0; else $cond$i87 = 10; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($__buf, $cond$i87, 0); + $cond$i$i96 = (HEAP8[$__size_$i$i >> 0] | 0) < 0 ? HEAP32[$__buf >> 2] | 0 : $__buf; + HEAP32[$__a_end >> 2] = $cond$i$i96 + $cond$i61; + $__a$1 = $cond$i$i96; + } else $__a$1 = $__a$0; + $__ninp_$i$i = $21 + 12 | 0; + $22 = HEAP32[$__ninp_$i$i >> 2] | 0; + $__einp_$i$i = $21 + 16 | 0; + if (($22 | 0) == (HEAP32[$__einp_$i$i >> 2] | 0)) $retval$0$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$21 >> 2] | 0) + 36 >> 2] & 127]($21) | 0; else $retval$0$i$i = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$22 >> 2] | 0) | 0; + if (__ZNSt3__29__num_getIwE17__stage2_int_loopEwiPcRS2_RjwRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSD_PKw($retval$0$i$i, $call, $__a$1, $__a_end, $__dc, HEAP32[$__thousands_sep >> 2] | 0, $__grouping, $__g, $__g_end, $call2) | 0) { + $48 = $56; + $__a$2 = $__a$1; + break; + } + $27 = HEAP32[$__ninp_$i$i >> 2] | 0; + if (($27 | 0) == (HEAP32[$__einp_$i$i >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$21 >> 2] | 0) + 40 >> 2] & 127]($21) | 0; else { + HEAP32[$__ninp_$i$i >> 2] = $27 + 4; + __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$27 >> 2] | 0) | 0; + } + $4 = $21; + $54 = $45; + $__a$0 = $__a$1; + } + $31 = HEAP8[$__grouping + 11 >> 0] | 0; + if (($31 << 24 >> 24 < 0 ? HEAP32[$__grouping + 4 >> 2] | 0 : $31 & 255) | 0 ? ($33 = HEAP32[$__g_end >> 2] | 0, ($33 - $__g | 0) < 160) : 0) { + $34 = HEAP32[$__dc >> 2] | 0; + HEAP32[$__g_end >> 2] = $33 + 4; + HEAP32[$33 >> 2] = $34; + } + $36 = __ZNSt3__225__num_get_signed_integralIxEET_PKcS3_Rji($__a$2, HEAP32[$__a_end >> 2] | 0, $__err, $call) | 0; + $37 = getTempRet0() | 0; + $38 = $__v; + HEAP32[$38 >> 2] = $36; + HEAP32[$38 + 4 >> 2] = $37; + __ZNSt3__216__check_groupingERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjS8_Rj($__grouping, $__g, HEAP32[$__g_end >> 2] | 0, $__err); + if ($21) { + $43 = HEAP32[$21 + 12 >> 2] | 0; + if (($43 | 0) == (HEAP32[$21 + 16 >> 2] | 0)) $retval$0$i$i$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$45 >> 2] | 0) + 36 >> 2] & 127]($21) | 0; else $retval$0$i$i$i$i = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$43 >> 2] | 0) | 0; + if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj($retval$0$i$i$i$i, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { + HEAP32[$__b >> 2] = 0; + $57 = 1; + } else $57 = 0; + } else $57 = 1; + do if ($48) { + $49 = HEAP32[$48 + 12 >> 2] | 0; + if (($49 | 0) == (HEAP32[$48 + 16 >> 2] | 0)) $retval$0$i$i13$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$48 >> 2] | 0) + 36 >> 2] & 127]($48) | 0; else $retval$0$i$i13$i$i = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$49 >> 2] | 0) | 0; + if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj($retval$0$i$i13$i$i, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if ($57) break; else { + label = 50; break; } else { - HEAP32[$2 >> 2] = 0; - label = 50; + HEAP32[$__e >> 2] = 0; + label = 48; break; } - } else label = 50; while (0); - if ((label | 0) == 50 ? $150 : 0) label = 52; - if ((label | 0) == 52) HEAP32[$4 >> 2] = HEAP32[$4 >> 2] | 2; - $$sroa$0$0$copyload = HEAP32[$1 >> 2] | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($8); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($7); + } else label = 48; while (0); + if ((label | 0) == 48 ? $57 : 0) label = 50; + if ((label | 0) == 50) HEAP32[$__err >> 2] = HEAP32[$__err >> 2] | 2; + $retval$sroa$0$0$copyload = HEAP32[$__b >> 2] | 0; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($__buf); + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($__grouping); STACKTOP = sp; - return $$sroa$0$0$copyload | 0; + return $retval$sroa$0$0$copyload | 0; } -function _jpeg_idct_islow($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $$0285295 = 0, $$0287294 = 0, $$0289293 = 0, $$0296 = 0, $$1292 = 0, $$2291 = 0, $$sink = 0, $$sink303 = 0, $100 = 0, $101 = 0, $103 = 0, $106 = 0, $107 = 0, $109 = 0, $11 = 0, $113 = 0, $115 = 0, $117 = 0, $121 = 0, $123 = 0, $13 = 0, $149 = 0, $152 = 0, $154 = 0, $156 = 0, $158 = 0, $179 = 0, $182 = 0, $184 = 0, $186 = 0, $188 = 0, $190 = 0, $191 = 0, $193 = 0, $195 = 0, $196 = 0, $197 = 0, $198 = 0, $199 = 0, $201 = 0, $203 = 0, $205 = 0, $206 = 0, $207 = 0, $209 = 0, $212 = 0, $213 = 0, $215 = 0, $219 = 0, $221 = 0, $223 = 0, $227 = 0, $229 = 0, $35 = 0, $5 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $58 = 0, $61 = 0, $67 = 0, $69 = 0, $7 = 0, $71 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $83 = 0, $89 = 0, $95 = 0, $99 = 0, label = 0, sp = 0; +function __ZNKSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE15__do_get_signedIxEES4_S4_S4_RNS_8ios_baseERjRT_($this, $__b, $__e, $__iob, $__err, $__v) { + $this = $this | 0; + $__b = $__b | 0; + $__e = $__e | 0; + $__iob = $__iob | 0; + $__err = $__err | 0; + $__v = $__v | 0; + var $$pre = 0, $10 = 0, $15 = 0, $21 = 0, $22 = 0, $27 = 0, $31 = 0, $33 = 0, $34 = 0, $36 = 0, $37 = 0, $38 = 0, $4 = 0, $43 = 0, $45 = 0, $48 = 0, $49 = 0, $5 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $9 = 0, $__a$0 = 0, $__a$1 = 0, $__a$2 = 0, $__a_end = 0, $__buf = 0, $__cap_$i$i = 0, $__dc = 0, $__einp_$i$i = 0, $__g = 0, $__g_end = 0, $__grouping = 0, $__i$0$i$i = 0, $__ninp_$i$i = 0, $__size_$i$i = 0, $__size_$i3$i = 0, $__thousands_sep = 0, $call = 0, $call2 = 0, $cond$i = 0, $cond$i$i = 0, $cond$i$i96 = 0, $cond$i61 = 0, $cond$i87 = 0, $retval$0$i$i = 0, $retval$0$i$i$i$i = 0, $retval$0$i$i$i$i28 = 0, $retval$0$i$i13$i$i = 0, $retval$0$i$i13$i$i49 = 0, $retval$sroa$0$0$copyload = 0, label = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 256 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(256); - $5 = sp; - $7 = HEAP32[$0 + 336 >> 2] | 0; - $$0285295 = $5; - $$0287294 = HEAP32[$1 + 84 >> 2] | 0; - $$0289293 = $2; - $$0296 = 8; - while (1) { - $11 = HEAP16[$$0289293 + 16 >> 1] | 0; - $13 = HEAP16[$$0289293 + 32 >> 1] | 0; - if (!(($11 | $13) << 16 >> 16)) if (((((HEAP16[$$0289293 + 48 >> 1] | 0) == 0 ? (HEAP16[$$0289293 + 64 >> 1] | 0) == 0 : 0) ? (HEAP16[$$0289293 + 80 >> 1] | 0) == 0 : 0) ? (HEAP16[$$0289293 + 96 >> 1] | 0) == 0 : 0) ? (HEAP16[$$0289293 + 112 >> 1] | 0) == 0 : 0) { - $35 = Math_imul(HEAP16[$$0289293 >> 1] << 2, HEAP32[$$0287294 >> 2] | 0) | 0; - HEAP32[$$0285295 >> 2] = $35; - HEAP32[$$0285295 + 32 >> 2] = $35; - HEAP32[$$0285295 + 64 >> 2] = $35; - HEAP32[$$0285295 + 96 >> 2] = $35; - HEAP32[$$0285295 + 128 >> 2] = $35; - HEAP32[$$0285295 + 160 >> 2] = $35; - HEAP32[$$0285295 + 192 >> 2] = $35; - $$sink = $35; - $$sink303 = 56; - } else { - $58 = 0; - label = 9; - } else { - $58 = $13; - label = 9; - } - if ((label | 0) == 9) { - label = 0; - $53 = Math_imul(HEAP16[$$0289293 + 64 >> 1] << 13, HEAP32[$$0287294 + 128 >> 2] | 0) | 0; - $54 = Math_imul(HEAP16[$$0289293 >> 1] << 13, HEAP32[$$0287294 >> 2] | 0) | 0 | 1024; - $55 = $53 + $54 | 0; - $56 = $54 - $53 | 0; - $61 = Math_imul(HEAP32[$$0287294 + 64 >> 2] | 0, $58 << 16 >> 16) | 0; - $67 = Math_imul(HEAP32[$$0287294 + 192 >> 2] | 0, HEAP16[$$0289293 + 96 >> 1] | 0) | 0; - $69 = ($67 + $61 | 0) * 4433 | 0; - $71 = $69 + ($61 * 6270 | 0) | 0; - $73 = $69 + (Math_imul($67, -15137) | 0) | 0; - $74 = $71 + $55 | 0; - $75 = $55 - $71 | 0; - $76 = $73 + $56 | 0; - $77 = $56 - $73 | 0; - $83 = Math_imul(HEAP32[$$0287294 + 224 >> 2] | 0, HEAP16[$$0289293 + 112 >> 1] | 0) | 0; - $89 = Math_imul(HEAP32[$$0287294 + 160 >> 2] | 0, HEAP16[$$0289293 + 80 >> 1] | 0) | 0; - $95 = Math_imul(HEAP32[$$0287294 + 96 >> 2] | 0, HEAP16[$$0289293 + 48 >> 1] | 0) | 0; - $99 = Math_imul(HEAP32[$$0287294 + 32 >> 2] | 0, $11 << 16 >> 16) | 0; - $100 = $95 + $83 | 0; - $101 = $99 + $89 | 0; - $103 = ($101 + $100 | 0) * 9633 | 0; - $106 = $103 + (Math_imul($100, -16069) | 0) | 0; - $107 = $103 + (Math_imul($101, -3196) | 0) | 0; - $109 = Math_imul($99 + $83 | 0, -7373) | 0; - $113 = $109 + ($83 * 2446 | 0) + $106 | 0; - $115 = $109 + ($99 * 12299 | 0) + $107 | 0; - $117 = Math_imul($95 + $89 | 0, -20995) | 0; - $121 = $117 + ($89 * 16819 | 0) + $107 | 0; - $123 = $117 + ($95 * 25172 | 0) + $106 | 0; - HEAP32[$$0285295 >> 2] = $115 + $74 >> 11; - HEAP32[$$0285295 + 224 >> 2] = $74 - $115 >> 11; - HEAP32[$$0285295 + 32 >> 2] = $123 + $76 >> 11; - HEAP32[$$0285295 + 192 >> 2] = $76 - $123 >> 11; - HEAP32[$$0285295 + 64 >> 2] = $121 + $77 >> 11; - HEAP32[$$0285295 + 160 >> 2] = $77 - $121 >> 11; - HEAP32[$$0285295 + 96 >> 2] = $113 + $75 >> 11; - $$sink = $75 - $113 >> 11; - $$sink303 = 32; - } - HEAP32[$$0285295 + ($$sink303 << 2) >> 2] = $$sink; - if ($$0296 >>> 0 > 1) { - $$0285295 = $$0285295 + 4 | 0; - $$0287294 = $$0287294 + 4 | 0; - $$0289293 = $$0289293 + 2 | 0; - $$0296 = $$0296 + -1 | 0; - } else break; - } - $149 = $7 + -384 | 0; - $$1292 = 0; - $$2291 = $5; + STACKTOP = STACKTOP + 240 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(240); + $__thousands_sep = sp + 224 | 0; + $__grouping = sp + 212 | 0; + $__buf = sp + 200 | 0; + $__a_end = sp + 196 | 0; + $__g = sp; + $__g_end = sp + 192 | 0; + $__dc = sp + 188 | 0; + $call = __ZNSt3__214__num_get_base10__get_baseERNS_8ios_baseE($__iob) | 0; + $call2 = __ZNKSt3__29__num_getIcE10__do_widenERNS_8ios_baseEPc($this, $__iob, sp + 160 | 0) | 0; + __ZNSt3__29__num_getIcE17__stage2_int_prepERNS_8ios_baseERc($__grouping, $__iob, $__thousands_sep); + HEAP32[$__buf >> 2] = 0; + HEAP32[$__buf + 4 >> 2] = 0; + HEAP32[$__buf + 8 >> 2] = 0; + $__i$0$i$i = 0; while (1) { - $152 = (HEAP32[$3 + ($$1292 << 2) >> 2] | 0) + $4 | 0; - $154 = (HEAP32[$$2291 >> 2] | 0) + 16400 | 0; - $156 = HEAP32[$$2291 + 4 >> 2] | 0; - $158 = HEAP32[$$2291 + 8 >> 2] | 0; - if (!($156 | $158)) if (((((HEAP32[$$2291 + 12 >> 2] | 0) == 0 ? (HEAP32[$$2291 + 16 >> 2] | 0) == 0 : 0) ? (HEAP32[$$2291 + 20 >> 2] | 0) == 0 : 0) ? (HEAP32[$$2291 + 24 >> 2] | 0) == 0 : 0) ? (HEAP32[$$2291 + 28 >> 2] | 0) == 0 : 0) { - $179 = HEAP8[$149 + ($154 >>> 5 & 1023) >> 0] | 0; - HEAP8[$152 >> 0] = $179; - _memset($152 + 1 | 0, $179 | 0, 7) | 0; - } else { - $190 = 0; - label = 19; + if (($__i$0$i$i | 0) == 3) break; + HEAP32[$__buf + ($__i$0$i$i << 2) >> 2] = 0; + $__i$0$i$i = $__i$0$i$i + 1 | 0; + } + $__size_$i$i = $__buf + 11 | 0; + $__cap_$i$i = $__buf + 8 | 0; + if ((HEAP8[$__size_$i$i >> 0] | 0) < 0) $cond$i = (HEAP32[$__cap_$i$i >> 2] & 2147483647) + -1 | 0; else $cond$i = 10; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($__buf, $cond$i, 0); + $cond$i$i = (HEAP8[$__size_$i$i >> 0] | 0) < 0 ? HEAP32[$__buf >> 2] | 0 : $__buf; + HEAP32[$__a_end >> 2] = $cond$i$i; + HEAP32[$__g_end >> 2] = $__g; + HEAP32[$__dc >> 2] = 0; + $__size_$i3$i = $__buf + 4 | 0; + $$pre = HEAP32[$__b >> 2] | 0; + $4 = $$pre; + $54 = $$pre; + $__a$0 = $cond$i$i; + L8 : while (1) { + if ($4) { + $5 = HEAP32[$4 + 12 >> 2] | 0; + if (($5 | 0) == (HEAP32[$4 + 16 >> 2] | 0)) $retval$0$i$i$i$i28 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$4 >> 2] | 0) + 36 >> 2] & 127]($4) | 0; else $retval$0$i$i$i$i28 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$5 >> 0] | 0) | 0; + if (__ZNSt3__211char_traitsIcE11eq_int_typeEii($retval$0$i$i$i$i28, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { + HEAP32[$__b >> 2] = 0; + $21 = 0; + $45 = 0; + $55 = 1; + } else { + $21 = $4; + $45 = $54; + $55 = 0; + } } else { - $190 = $158; - label = 19; + $21 = 0; + $45 = 0; + $55 = 1; } + $9 = HEAP32[$__e >> 2] | 0; + do if ($9) { + $10 = HEAP32[$9 + 12 >> 2] | 0; + if (($10 | 0) == (HEAP32[$9 + 16 >> 2] | 0)) $retval$0$i$i13$i$i49 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$9 >> 2] | 0) + 36 >> 2] & 127]($9) | 0; else $retval$0$i$i13$i$i49 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$10 >> 0] | 0) | 0; + if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii($retval$0$i$i13$i$i49, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if ($55) { + $56 = $9; + break; + } else { + $48 = $9; + $__a$2 = $__a$0; + break L8; + } else { + HEAP32[$__e >> 2] = 0; + label = 19; + break; + } + } else label = 19; while (0); if ((label | 0) == 19) { label = 0; - $182 = HEAP32[$$2291 + 16 >> 2] | 0; - $184 = $182 + $154 << 13; - $186 = $154 - $182 << 13; - $188 = HEAP32[$$2291 + 24 >> 2] | 0; - $191 = ($188 + $190 | 0) * 4433 | 0; - $193 = $191 + ($190 * 6270 | 0) | 0; - $195 = $191 + (Math_imul($188, -15137) | 0) | 0; - $196 = $193 + $184 | 0; - $197 = $184 - $193 | 0; - $198 = $195 + $186 | 0; - $199 = $186 - $195 | 0; - $201 = HEAP32[$$2291 + 28 >> 2] | 0; - $203 = HEAP32[$$2291 + 20 >> 2] | 0; - $205 = HEAP32[$$2291 + 12 >> 2] | 0; - $206 = $205 + $201 | 0; - $207 = $203 + $156 | 0; - $209 = ($206 + $207 | 0) * 9633 | 0; - $212 = $209 + (Math_imul($206, -16069) | 0) | 0; - $213 = $209 + (Math_imul($207, -3196) | 0) | 0; - $215 = Math_imul($201 + $156 | 0, -7373) | 0; - $219 = $215 + ($201 * 2446 | 0) + $212 | 0; - $221 = $215 + ($156 * 12299 | 0) + $213 | 0; - $223 = Math_imul($205 + $203 | 0, -20995) | 0; - $227 = $223 + ($203 * 16819 | 0) + $213 | 0; - $229 = $223 + ($205 * 25172 | 0) + $212 | 0; - HEAP8[$152 >> 0] = HEAP8[$149 + (($221 + $196 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$152 + 7 >> 0] = HEAP8[$149 + (($196 - $221 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$152 + 1 >> 0] = HEAP8[$149 + (($229 + $198 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$152 + 6 >> 0] = HEAP8[$149 + (($198 - $229 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$152 + 2 >> 0] = HEAP8[$149 + (($227 + $199 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$152 + 5 >> 0] = HEAP8[$149 + (($199 - $227 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$152 + 3 >> 0] = HEAP8[$149 + (($219 + $197 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$152 + 4 >> 0] = HEAP8[$149 + (($197 - $219 | 0) >>> 18 & 1023) >> 0] | 0; - } - $$1292 = $$1292 + 1 | 0; - if (($$1292 | 0) == 8) break; else $$2291 = $$2291 + 32 | 0; - } - STACKTOP = sp; - return; -} - -function __ZNSt3__220__get_up_to_n_digitsIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEEEiRT0_S5_RjRKNS_5ctypeIT_EEi($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $$0 = 0, $$0$i$i = 0, $$0$i$i$i$i = 0, $$0$i$i$i$i27 = 0, $$0$i$i$i$i41 = 0, $$0$i$i2$i$i = 0, $$0$i$i2$i$i33 = 0, $$0$i$i2$i$i47 = 0, $$0$i$i38 = 0, $$0$in = 0, $$025 = 0, $$025$in = 0, $$2 = 0, $102 = 0, $103 = 0, $106 = 0, $108 = 0, $128 = 0, $129 = 0, $130 = 0, $131 = 0, $142 = 0, $155 = 0, $157 = 0, $171 = 0, $172 = 0, $173 = 0, $174 = 0, $175 = 0, $20 = 0, $23 = 0, $37 = 0, $39 = 0, $5 = 0, $59 = 0, $60 = 0, $61 = 0, $62 = 0, $71 = 0, $74 = 0, $8 = 0, $87 = 0, $89 = 0, label = 0; - $5 = HEAP32[$0 >> 2] | 0; - do if ($5) { - $8 = HEAP32[$5 + 12 >> 2] | 0; - if (($8 | 0) == (HEAP32[$5 + 16 >> 2] | 0)) $$0$i$i$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$5 >> 2] | 0) + 36 >> 2] & 127]($5) | 0; else $$0$i$i$i$i = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$8 >> 2] | 0) | 0; - if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj($$0$i$i$i$i, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { - HEAP32[$0 >> 2] = 0; - $171 = 1; + if ($55) { + $48 = 0; + $__a$2 = $__a$0; + break; + } else $56 = 0; + } + $15 = HEAP8[$__size_$i$i >> 0] | 0; + $cond$i61 = $15 << 24 >> 24 < 0 ? HEAP32[$__size_$i3$i >> 2] | 0 : $15 & 255; + if ((HEAP32[$__a_end >> 2] | 0) == ($__a$0 + $cond$i61 | 0)) { + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($__buf, $cond$i61 << 1, 0); + if ((HEAP8[$__size_$i$i >> 0] | 0) < 0) $cond$i87 = (HEAP32[$__cap_$i$i >> 2] & 2147483647) + -1 | 0; else $cond$i87 = 10; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($__buf, $cond$i87, 0); + $cond$i$i96 = (HEAP8[$__size_$i$i >> 0] | 0) < 0 ? HEAP32[$__buf >> 2] | 0 : $__buf; + HEAP32[$__a_end >> 2] = $cond$i$i96 + $cond$i61; + $__a$1 = $cond$i$i96; + } else $__a$1 = $__a$0; + $__ninp_$i$i = $21 + 12 | 0; + $22 = HEAP32[$__ninp_$i$i >> 2] | 0; + $__einp_$i$i = $21 + 16 | 0; + if (($22 | 0) == (HEAP32[$__einp_$i$i >> 2] | 0)) $retval$0$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$21 >> 2] | 0) + 36 >> 2] & 127]($21) | 0; else $retval$0$i$i = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$22 >> 0] | 0) | 0; + if (__ZNSt3__29__num_getIcE17__stage2_int_loopEciPcRS2_RjcRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSD_PKc($retval$0$i$i & 255, $call, $__a$1, $__a_end, $__dc, HEAP8[$__thousands_sep >> 0] | 0, $__grouping, $__g, $__g_end, $call2) | 0) { + $48 = $56; + $__a$2 = $__a$1; + break; + } + $27 = HEAP32[$__ninp_$i$i >> 2] | 0; + if (($27 | 0) == (HEAP32[$__einp_$i$i >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$21 >> 2] | 0) + 40 >> 2] & 127]($21) | 0; else { + HEAP32[$__ninp_$i$i >> 2] = $27 + 1; + __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$27 >> 0] | 0) | 0; + } + $4 = $21; + $54 = $45; + $__a$0 = $__a$1; + } + $31 = HEAP8[$__grouping + 11 >> 0] | 0; + if (($31 << 24 >> 24 < 0 ? HEAP32[$__grouping + 4 >> 2] | 0 : $31 & 255) | 0 ? ($33 = HEAP32[$__g_end >> 2] | 0, ($33 - $__g | 0) < 160) : 0) { + $34 = HEAP32[$__dc >> 2] | 0; + HEAP32[$__g_end >> 2] = $33 + 4; + HEAP32[$33 >> 2] = $34; + } + $36 = __ZNSt3__225__num_get_signed_integralIxEET_PKcS3_Rji($__a$2, HEAP32[$__a_end >> 2] | 0, $__err, $call) | 0; + $37 = getTempRet0() | 0; + $38 = $__v; + HEAP32[$38 >> 2] = $36; + HEAP32[$38 + 4 >> 2] = $37; + __ZNSt3__216__check_groupingERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjS8_Rj($__grouping, $__g, HEAP32[$__g_end >> 2] | 0, $__err); + if ($21) { + $43 = HEAP32[$21 + 12 >> 2] | 0; + if (($43 | 0) == (HEAP32[$21 + 16 >> 2] | 0)) $retval$0$i$i$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$45 >> 2] | 0) + 36 >> 2] & 127]($21) | 0; else $retval$0$i$i$i$i = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$43 >> 0] | 0) | 0; + if (__ZNSt3__211char_traitsIcE11eq_int_typeEii($retval$0$i$i$i$i, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { + HEAP32[$__b >> 2] = 0; + $57 = 1; + } else $57 = 0; + } else $57 = 1; + do if ($48) { + $49 = HEAP32[$48 + 12 >> 2] | 0; + if (($49 | 0) == (HEAP32[$48 + 16 >> 2] | 0)) $retval$0$i$i13$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$48 >> 2] | 0) + 36 >> 2] & 127]($48) | 0; else $retval$0$i$i13$i$i = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$49 >> 0] | 0) | 0; + if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii($retval$0$i$i13$i$i, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if ($57) break; else { + label = 50; break; } else { - $171 = (HEAP32[$0 >> 2] | 0) == 0; + HEAP32[$__e >> 2] = 0; + label = 48; break; } - } else $171 = 1; while (0); - $20 = HEAP32[$1 >> 2] | 0; - do if ($20) { - $23 = HEAP32[$20 + 12 >> 2] | 0; - if (($23 | 0) == (HEAP32[$20 + 16 >> 2] | 0)) $$0$i$i2$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$20 >> 2] | 0) + 36 >> 2] & 127]($20) | 0; else $$0$i$i2$i$i = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$23 >> 2] | 0) | 0; - if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj($$0$i$i2$i$i, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if ($171) { - $172 = $20; - label = 17; - break; - } else { - label = 16; - break; - } else { - HEAP32[$1 >> 2] = 0; - label = 14; + } else label = 48; while (0); + if ((label | 0) == 48 ? $57 : 0) label = 50; + if ((label | 0) == 50) HEAP32[$__err >> 2] = HEAP32[$__err >> 2] | 2; + $retval$sroa$0$0$copyload = HEAP32[$__b >> 2] | 0; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($__buf); + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($__grouping); + STACKTOP = sp; + return $retval$sroa$0$0$copyload | 0; +} + +function _pattern_match($pattHandle, $mode, $data, $size, $code, $dir, $cf) { + $pattHandle = $pattHandle | 0; + $mode = $mode | 0; + $data = $data | 0; + $size = $size | 0; + $code = $code | 0; + $dir = $dir | 0; + $cf = $cf | 0; + var $18 = 0.0, $19 = 0, $20 = 0, $4 = 0.0, $5 = 0, $6 = 0, $add165 = 0, $add169 = 0, $add62 = 0, $add66 = 0, $ave$0 = 0, $ave$1 = 0, $call = 0, $call91 = 0, $cmp179 = 0, $cmp76 = 0, $div = 0, $div111 = 0, $div178 = 0.0, $div75 = 0.0, $i$0 = 0, $i$1 = 0, $i$2 = 0, $i$3 = 0, $i$4 = 0, $i$5 = 0, $j$0 = 0, $j$1 = 0, $k$0 = 0, $k$1 = 0, $k$1$in = 0, $k$2 = 0, $k$3 = 0, $k$3$in = 0, $l$0 = 0, $l$1 = 0, $max$0 = 0.0, $max$1 = 0.0, $max$3 = 0.0, $max$4 = 0.0, $max$5 = 0.0, $max$7 = 0.0, $mul = 0, $mul164 = 0, $mul4 = 0, $mul61 = 0, $mul89 = 0, $patt = 0, $pattBW = 0, $pattf = 0, $pattf142 = 0, $pattpow = 0, $pattpowBW = 0, $res1$0 = 0, $res1$1 = 0, $res1$2 = 0, $res1$3 = 0, $res1$4 = 0, $res1$5 = 0, $res1$6 = 0, $res1$7 = 0, $res2$0 = 0, $res2$1 = 0, $res2$3 = 0, $res2$4 = 0, $res2$5 = 0, $res2$7 = 0, $retval$2 = 0, $sub119 = 0, $sub20 = 0, $sum$0 = 0, $sum$1 = 0, $sum$2 = 0, $sum$3 = 0, $vararg_buffer = 0, $vararg_buffer1 = 0, label = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $vararg_buffer1 = sp + 8 | 0; + $vararg_buffer = sp; + L1 : do if (($pattHandle | 0) == 0 | ($size | 0) < 1) { + HEAP32[$code >> 2] = 0; + HEAP32[$dir >> 2] = 0; + HEAPF64[$cf >> 3] = -1.0; + $retval$2 = -1; + } else switch ($mode | 0) { + case 0: + { + $mul = Math_imul($size, $size) | 0; + $mul4 = $mul * 3 | 0; + $call = _malloc($mul * 12 | 0) | 0; + if (!$call) { + _arLog(0, 3, 46772, $vararg_buffer); + _exit(1); + } + $ave$0 = 0; + $i$0 = 0; + while (1) { + if (($i$0 | 0) == ($mul4 | 0)) break; + $ave$0 = $ave$0 + (~HEAP8[$data + $i$0 >> 0] & 255) | 0; + $i$0 = $i$0 + 1 | 0; + } + $div = ($ave$0 >>> 0) / ($mul4 >>> 0) | 0; + $i$1 = 0; + $sum$0 = 0; + while (1) { + if (($i$1 | 0) == ($mul4 | 0)) break; + $sub20 = (~HEAP8[$data + $i$1 >> 0] & 255) - $div | 0; + HEAP32[$call + ($i$1 << 2) >> 2] = $sub20; + $i$1 = $i$1 + 1 | 0; + $sum$0 = (Math_imul($sub20, $sub20) | 0) + $sum$0 | 0; + } + $4 = +Math_sqrt(+(+($sum$0 | 0))); + if ($4 / (+($size | 0) * 1.7320508) < 15.0) { + HEAP32[$code >> 2] = 0; + HEAP32[$dir >> 2] = 0; + HEAPF64[$cf >> 3] = -1.0; + _free($call); + $retval$2 = -2; + break L1; + } + $5 = HEAP32[$pattHandle >> 2] | 0; + $pattf = $pattHandle + 8 | 0; + $patt = $pattHandle + 12 | 0; + $pattpow = $pattHandle + 16 | 0; + $k$0 = -1; + $l$0 = 0; + $max$0 = 0.0; + $res1$0 = -1; + $res2$0 = -1; + while (1) { + if (($l$0 | 0) >= ($5 | 0)) break; + $6 = HEAP32[$pattf >> 2] | 0; + $k$1$in = $k$0; + L23 : while (1) { + $k$1 = $k$1$in + 1 | 0; + switch (HEAP32[$6 + ($k$1 << 2) >> 2] | 0) { + case 0: + { + $k$1$in = $k$1; + break; + } + case 2: + { + $max$3 = $max$0; + $res1$3 = $res1$0; + $res2$3 = $res2$0; + break L23; + break; + } + default: + { + label = 18; + break L23; + } + } + } + L25 : do if ((label | 0) == 18) { + label = 0; + $mul61 = $k$1 << 2; + $j$0 = 0; + $max$1 = $max$0; + $res1$1 = $res1$0; + $res2$1 = $res2$0; + while (1) { + if (($j$0 | 0) == 4) { + $max$3 = $max$1; + $res1$3 = $res1$1; + $res2$3 = $res2$1; + break L25; + } + $add62 = $j$0 + $mul61 | 0; + $i$2 = 0; + $sum$1 = 0; + while (1) { + if (($i$2 | 0) == ($mul4 | 0)) break; + $add66 = (Math_imul(HEAP32[(HEAP32[(HEAP32[$patt >> 2] | 0) + ($add62 << 2) >> 2] | 0) + ($i$2 << 2) >> 2] | 0, HEAP32[$call + ($i$2 << 2) >> 2] | 0) | 0) + $sum$1 | 0; + $i$2 = $i$2 + 1 | 0; + $sum$1 = $add66; + } + $div75 = +($sum$1 | 0) / +HEAPF64[(HEAP32[$pattpow >> 2] | 0) + ($add62 << 3) >> 3] / $4; + $cmp76 = $div75 > $max$1; + $res1$2 = $cmp76 ? $j$0 : $res1$1; + $j$0 = $j$0 + 1 | 0; + $max$1 = $cmp76 ? $div75 : $max$1; + $res1$1 = $res1$2; + $res2$1 = $cmp76 ? $k$1 : $res2$1; + } + } while (0); + $k$0 = $k$1; + $l$0 = $l$0 + 1 | 0; + $max$0 = $max$3; + $res1$0 = $res1$3; + $res2$0 = $res2$3; + } + HEAP32[$dir >> 2] = $res1$0; + HEAP32[$code >> 2] = $res2$0; + HEAPF64[$cf >> 3] = $max$0; + _free($call); + $retval$2 = 0; + break L1; break; } - } else label = 14; while (0); - if ((label | 0) == 14) if ($171) label = 16; else { - $172 = 0; - label = 17; - } - L22 : do if ((label | 0) == 16) { - HEAP32[$2 >> 2] = HEAP32[$2 >> 2] | 6; - $$2 = 0; - } else if ((label | 0) == 17) { - $37 = HEAP32[$0 >> 2] | 0; - $39 = HEAP32[$37 + 12 >> 2] | 0; - if (($39 | 0) == (HEAP32[$37 + 16 >> 2] | 0)) $$0$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$37 >> 2] | 0) + 36 >> 2] & 127]($37) | 0; else $$0$i$i = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$39 >> 2] | 0) | 0; - if (!(FUNCTION_TABLE_iiii[HEAP32[(HEAP32[$3 >> 2] | 0) + 12 >> 2] & 63]($3, 2048, $$0$i$i) | 0)) { - HEAP32[$2 >> 2] = HEAP32[$2 >> 2] | 4; - $$2 = 0; - break; - } - $59 = (FUNCTION_TABLE_iiii[HEAP32[(HEAP32[$3 >> 2] | 0) + 52 >> 2] & 63]($3, $$0$i$i, 0) | 0) << 24 >> 24; - $60 = HEAP32[$0 >> 2] | 0; - $61 = $60 + 12 | 0; - $62 = HEAP32[$61 >> 2] | 0; - if (($62 | 0) == (HEAP32[$60 + 16 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$60 >> 2] | 0) + 40 >> 2] & 127]($60) | 0; else { - HEAP32[$61 >> 2] = $62 + 4; - __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$62 >> 2] | 0) | 0; - } - $$0$in = $59; - $$025$in = $4; - $173 = $172; - $87 = $172; - while (1) { - $$0 = $$0$in + -48 | 0; - $$025 = $$025$in + -1 | 0; - $71 = HEAP32[$0 >> 2] | 0; - do if ($71) { - $74 = HEAP32[$71 + 12 >> 2] | 0; - if (($74 | 0) == (HEAP32[$71 + 16 >> 2] | 0)) $$0$i$i$i$i27 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$71 >> 2] | 0) + 36 >> 2] & 127]($71) | 0; else $$0$i$i$i$i27 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$74 >> 2] | 0) | 0; - if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj($$0$i$i$i$i27, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { - HEAP32[$0 >> 2] = 0; - $102 = 1; - break; - } else { - $102 = (HEAP32[$0 >> 2] | 0) == 0; - break; - } - } else $102 = 1; while (0); - if ($87) { - $89 = HEAP32[$87 + 12 >> 2] | 0; - if (($89 | 0) == (HEAP32[$87 + 16 >> 2] | 0)) $$0$i$i2$i$i33 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$87 >> 2] | 0) + 36 >> 2] & 127]($87) | 0; else $$0$i$i2$i$i33 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$89 >> 2] | 0) | 0; - if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj($$0$i$i2$i$i33, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { - HEAP32[$1 >> 2] = 0; - $103 = 1; - $155 = 0; - $174 = 0; - } else { - $103 = 0; - $155 = $173; - $174 = $87; - } - } else { - $103 = 1; - $155 = $173; - $174 = 0; - } - $106 = HEAP32[$0 >> 2] | 0; - if (!(($$025$in | 0) > 1 & ($102 ^ $103))) break; - $108 = HEAP32[$106 + 12 >> 2] | 0; - if (($108 | 0) == (HEAP32[$106 + 16 >> 2] | 0)) $$0$i$i38 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$106 >> 2] | 0) + 36 >> 2] & 127]($106) | 0; else $$0$i$i38 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$108 >> 2] | 0) | 0; - if (!(FUNCTION_TABLE_iiii[HEAP32[(HEAP32[$3 >> 2] | 0) + 12 >> 2] & 63]($3, 2048, $$0$i$i38) | 0)) { - $$2 = $$0; - break L22; + case 1: + { + $mul89 = Math_imul($size, $size) | 0; + $call91 = _malloc($mul89 << 2) | 0; + if (!$call91) { + _arLog(0, 3, 46772, $vararg_buffer1); + _exit(1); } - $128 = ($$0 * 10 | 0) + ((FUNCTION_TABLE_iiii[HEAP32[(HEAP32[$3 >> 2] | 0) + 52 >> 2] & 63]($3, $$0$i$i38, 0) | 0) << 24 >> 24) | 0; - $129 = HEAP32[$0 >> 2] | 0; - $130 = $129 + 12 | 0; - $131 = HEAP32[$130 >> 2] | 0; - if (($131 | 0) == (HEAP32[$129 + 16 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$129 >> 2] | 0) + 40 >> 2] & 127]($129) | 0; else { - HEAP32[$130 >> 2] = $131 + 4; - __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$131 >> 2] | 0) | 0; - } - $$0$in = $128; - $$025$in = $$025; - $173 = $155; - $87 = $174; - } - do if ($106) { - $142 = HEAP32[$106 + 12 >> 2] | 0; - if (($142 | 0) == (HEAP32[$106 + 16 >> 2] | 0)) $$0$i$i$i$i41 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$106 >> 2] | 0) + 36 >> 2] & 127]($106) | 0; else $$0$i$i$i$i41 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$142 >> 2] | 0) | 0; - if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj($$0$i$i$i$i41, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { - HEAP32[$0 >> 2] = 0; - $175 = 1; - break; - } else { - $175 = (HEAP32[$0 >> 2] | 0) == 0; - break; + $ave$1 = 0; + $i$3 = 0; + while (1) { + if (($i$3 | 0) == ($mul89 | 0)) break; + $ave$1 = $ave$1 + (~HEAP8[$data + $i$3 >> 0] & 255) | 0; + $i$3 = $i$3 + 1 | 0; } - } else $175 = 1; while (0); - do if ($155) { - $157 = HEAP32[$155 + 12 >> 2] | 0; - if (($157 | 0) == (HEAP32[$155 + 16 >> 2] | 0)) $$0$i$i2$i$i47 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$155 >> 2] | 0) + 36 >> 2] & 127]($155) | 0; else $$0$i$i2$i$i47 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$157 >> 2] | 0) | 0; - if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj($$0$i$i2$i$i47, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if ($175) { - $$2 = $$0; - break L22; - } else break; else { - HEAP32[$1 >> 2] = 0; - label = 61; - break; + $div111 = ($ave$1 >>> 0) / ($mul89 >>> 0) | 0; + $i$4 = 0; + $sum$2 = 0; + while (1) { + if (($i$4 | 0) == ($mul89 | 0)) break; + $sub119 = (~HEAP8[$data + $i$4 >> 0] & 255) - $div111 | 0; + HEAP32[$call91 + ($i$4 << 2) >> 2] = $sub119; + $i$4 = $i$4 + 1 | 0; + $sum$2 = (Math_imul($sub119, $sub119) | 0) + $sum$2 | 0; + } + $18 = +Math_sqrt(+(+($sum$2 | 0))); + if ($18 / +($size | 0) < 15.0) { + HEAP32[$code >> 2] = 0; + HEAP32[$dir >> 2] = 0; + HEAPF64[$cf >> 3] = -1.0; + _free($call91); + $retval$2 = -2; + break L1; } - } else label = 61; while (0); - if ((label | 0) == 61 ? !$175 : 0) { - $$2 = $$0; + $19 = HEAP32[$pattHandle >> 2] | 0; + $pattf142 = $pattHandle + 8 | 0; + $pattBW = $pattHandle + 20 | 0; + $pattpowBW = $pattHandle + 24 | 0; + $k$2 = -1; + $l$1 = 0; + $max$4 = 0.0; + $res1$4 = -1; + $res2$4 = -1; + while (1) { + if (($l$1 | 0) >= ($19 | 0)) break; + $20 = HEAP32[$pattf142 >> 2] | 0; + $k$3$in = $k$2; + L54 : while (1) { + $k$3 = $k$3$in + 1 | 0; + switch (HEAP32[$20 + ($k$3 << 2) >> 2] | 0) { + case 0: + { + $k$3$in = $k$3; + break; + } + case 2: + { + $max$7 = $max$4; + $res1$7 = $res1$4; + $res2$7 = $res2$4; + break L54; + break; + } + default: + { + label = 40; + break L54; + } + } + } + L56 : do if ((label | 0) == 40) { + label = 0; + $mul164 = $k$3 << 2; + $j$1 = 0; + $max$5 = $max$4; + $res1$5 = $res1$4; + $res2$5 = $res2$4; + while (1) { + if (($j$1 | 0) == 4) { + $max$7 = $max$5; + $res1$7 = $res1$5; + $res2$7 = $res2$5; + break L56; + } + $add165 = $j$1 + $mul164 | 0; + $i$5 = 0; + $sum$3 = 0; + while (1) { + if (($i$5 | 0) == ($mul89 | 0)) break; + $add169 = (Math_imul(HEAP32[(HEAP32[(HEAP32[$pattBW >> 2] | 0) + ($add165 << 2) >> 2] | 0) + ($i$5 << 2) >> 2] | 0, HEAP32[$call91 + ($i$5 << 2) >> 2] | 0) | 0) + $sum$3 | 0; + $i$5 = $i$5 + 1 | 0; + $sum$3 = $add169; + } + $div178 = +($sum$3 | 0) / +HEAPF64[(HEAP32[$pattpowBW >> 2] | 0) + ($add165 << 3) >> 3] / $18; + $cmp179 = $div178 > $max$5; + $res1$6 = $cmp179 ? $j$1 : $res1$5; + $j$1 = $j$1 + 1 | 0; + $max$5 = $cmp179 ? $div178 : $max$5; + $res1$5 = $res1$6; + $res2$5 = $cmp179 ? $k$3 : $res2$5; + } + } while (0); + $k$2 = $k$3; + $l$1 = $l$1 + 1 | 0; + $max$4 = $max$7; + $res1$4 = $res1$7; + $res2$4 = $res2$7; + } + HEAP32[$dir >> 2] = $res1$4; + HEAP32[$code >> 2] = $res2$4; + HEAPF64[$cf >> 3] = $max$4; + _free($call91); + $retval$2 = 0; + break L1; break; } - HEAP32[$2 >> 2] = HEAP32[$2 >> 2] | 2; - $$2 = $$0; + default: + { + $retval$2 = -1; + break L1; + } } while (0); - return $$2 | 0; + STACKTOP = sp; + return $retval$2 | 0; } -function __ZNKSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE17__do_get_unsignedItEES4_S4_S4_RNS_8ios_baseERjRT_($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$0 = 0, $$0$i$i = 0, $$0$i$i$i$i = 0, $$0$i$i$i$i25 = 0, $$0$i$i2$i$i = 0, $$0$i$i2$i$i31 = 0, $$0$i$i41 = 0, $$1 = 0, $$2 = 0, $$pre = 0, $$sroa$0$0$copyload = 0, $10 = 0, $103 = 0, $11 = 0, $110 = 0, $115 = 0, $118 = 0, $12 = 0, $122 = 0, $127 = 0, $13 = 0, $136 = 0, $138 = 0, $14 = 0, $15 = 0, $152 = 0, $153 = 0, $154 = 0, $155 = 0, $18 = 0, $21 = 0, $24 = 0, $28 = 0, $29 = 0, $31 = 0, $33 = 0, $45 = 0, $48 = 0, $6 = 0, $61 = 0, $65 = 0, $73 = 0, $77 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $9 = 0, $94 = 0, label = 0, sp = 0; +function __ZNKSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE17__do_get_unsignedItEES4_S4_S4_RNS_8ios_baseERjRT_($this, $__b, $__e, $__iob, $__err, $__v) { + $this = $this | 0; + $__b = $__b | 0; + $__e = $__e | 0; + $__iob = $__iob | 0; + $__err = $__err | 0; + $__v = $__v | 0; + var $$pre = 0, $10 = 0, $15 = 0, $21 = 0, $22 = 0, $27 = 0, $31 = 0, $33 = 0, $34 = 0, $37 = 0, $39 = 0, $4 = 0, $42 = 0, $43 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $9 = 0, $__a$0 = 0, $__a$1 = 0, $__a$2 = 0, $__a_end = 0, $__buf = 0, $__cap_$i$i = 0, $__dc = 0, $__einp_$i$i = 0, $__g = 0, $__g_end = 0, $__grouping = 0, $__i$0$i$i = 0, $__ninp_$i$i = 0, $__size_$i$i = 0, $__size_$i3$i = 0, $__thousands_sep = 0, $call = 0, $call2 = 0, $call25 = 0, $cond$i = 0, $cond$i$i = 0, $cond$i$i96 = 0, $cond$i61 = 0, $cond$i87 = 0, $retval$0$i$i = 0, $retval$0$i$i$i$i = 0, $retval$0$i$i$i$i28 = 0, $retval$0$i$i13$i$i = 0, $retval$0$i$i13$i$i49 = 0, $retval$sroa$0$0$copyload = 0, label = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 304 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(304); - $6 = sp + 300 | 0; - $8 = sp + 288 | 0; - $9 = sp + 276 | 0; - $10 = sp + 272 | 0; - $11 = sp; - $12 = sp + 268 | 0; - $13 = sp + 264 | 0; - $14 = __ZNSt3__214__num_get_base10__get_baseERNS_8ios_baseE($3) | 0; - $15 = __ZNKSt3__29__num_getIwE10__do_widenERNS_8ios_baseEPw($0, $3, sp + 160 | 0) | 0; - __ZNSt3__29__num_getIwE17__stage2_int_prepERNS_8ios_baseERw($8, $3, $6); - HEAP32[$9 >> 2] = 0; - HEAP32[$9 + 4 >> 2] = 0; - HEAP32[$9 + 8 >> 2] = 0; - $$0$i$i = 0; + $__thousands_sep = sp + 300 | 0; + $__grouping = sp + 288 | 0; + $__buf = sp + 276 | 0; + $__a_end = sp + 272 | 0; + $__g = sp; + $__g_end = sp + 268 | 0; + $__dc = sp + 264 | 0; + $call = __ZNSt3__214__num_get_base10__get_baseERNS_8ios_baseE($__iob) | 0; + $call2 = __ZNKSt3__29__num_getIwE10__do_widenERNS_8ios_baseEPw($this, $__iob, sp + 160 | 0) | 0; + __ZNSt3__29__num_getIwE17__stage2_int_prepERNS_8ios_baseERw($__grouping, $__iob, $__thousands_sep); + HEAP32[$__buf >> 2] = 0; + HEAP32[$__buf + 4 >> 2] = 0; + HEAP32[$__buf + 8 >> 2] = 0; + $__i$0$i$i = 0; while (1) { - if (($$0$i$i | 0) == 3) break; - HEAP32[$9 + ($$0$i$i << 2) >> 2] = 0; - $$0$i$i = $$0$i$i + 1 | 0; - } - $18 = $9 + 11 | 0; - $21 = $9 + 8 | 0; - if ((HEAP8[$18 >> 0] | 0) < 0) $24 = (HEAP32[$21 >> 2] & 2147483647) + -1 | 0; else $24 = 10; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($9, $24, 0); - $28 = (HEAP8[$18 >> 0] | 0) < 0 ? HEAP32[$9 >> 2] | 0 : $9; - HEAP32[$10 >> 2] = $28; - HEAP32[$12 >> 2] = $11; - HEAP32[$13 >> 2] = 0; - $29 = $9 + 4 | 0; - $$pre = HEAP32[$1 >> 2] | 0; - $$0 = $28; - $152 = $$pre; - $31 = $$pre; + if (($__i$0$i$i | 0) == 3) break; + HEAP32[$__buf + ($__i$0$i$i << 2) >> 2] = 0; + $__i$0$i$i = $__i$0$i$i + 1 | 0; + } + $__size_$i$i = $__buf + 11 | 0; + $__cap_$i$i = $__buf + 8 | 0; + if ((HEAP8[$__size_$i$i >> 0] | 0) < 0) $cond$i = (HEAP32[$__cap_$i$i >> 2] & 2147483647) + -1 | 0; else $cond$i = 10; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($__buf, $cond$i, 0); + $cond$i$i = (HEAP8[$__size_$i$i >> 0] | 0) < 0 ? HEAP32[$__buf >> 2] | 0 : $__buf; + HEAP32[$__a_end >> 2] = $cond$i$i; + HEAP32[$__g_end >> 2] = $__g; + HEAP32[$__dc >> 2] = 0; + $__size_$i3$i = $__buf + 4 | 0; + $$pre = HEAP32[$__b >> 2] | 0; + $4 = $$pre; + $48 = $$pre; + $__a$0 = $cond$i$i; L8 : while (1) { - if ($31) { - $33 = HEAP32[$31 + 12 >> 2] | 0; - if (($33 | 0) == (HEAP32[$31 + 16 >> 2] | 0)) $$0$i$i$i$i25 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$31 >> 2] | 0) + 36 >> 2] & 127]($31) | 0; else $$0$i$i$i$i25 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$33 >> 2] | 0) | 0; - if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj($$0$i$i$i$i25, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { - HEAP32[$1 >> 2] = 0; - $127 = 0; - $153 = 1; - $80 = 0; + if ($4) { + $5 = HEAP32[$4 + 12 >> 2] | 0; + if (($5 | 0) == (HEAP32[$4 + 16 >> 2] | 0)) $retval$0$i$i$i$i28 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$4 >> 2] | 0) + 36 >> 2] & 127]($4) | 0; else $retval$0$i$i$i$i28 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$5 >> 2] | 0) | 0; + if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj($retval$0$i$i$i$i28, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { + HEAP32[$__b >> 2] = 0; + $21 = 0; + $39 = 0; + $49 = 1; } else { - $127 = $152; - $153 = 0; - $80 = $31; + $21 = $4; + $39 = $48; + $49 = 0; } } else { - $127 = 0; - $153 = 1; - $80 = 0; + $21 = 0; + $39 = 0; + $49 = 1; } - $45 = HEAP32[$2 >> 2] | 0; - do if ($45) { - $48 = HEAP32[$45 + 12 >> 2] | 0; - if (($48 | 0) == (HEAP32[$45 + 16 >> 2] | 0)) $$0$i$i2$i$i31 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$45 >> 2] | 0) + 36 >> 2] & 127]($45) | 0; else $$0$i$i2$i$i31 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$48 >> 2] | 0) | 0; - if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj($$0$i$i2$i$i31, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if ($153) { - $154 = $45; + $9 = HEAP32[$__e >> 2] | 0; + do if ($9) { + $10 = HEAP32[$9 + 12 >> 2] | 0; + if (($10 | 0) == (HEAP32[$9 + 16 >> 2] | 0)) $retval$0$i$i13$i$i49 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$9 >> 2] | 0) + 36 >> 2] & 127]($9) | 0; else $retval$0$i$i13$i$i49 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$10 >> 2] | 0) | 0; + if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj($retval$0$i$i13$i$i49, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if ($49) { + $50 = $9; break; } else { - $$2 = $$0; - $136 = $45; + $42 = $9; + $__a$2 = $__a$0; break L8; } else { - HEAP32[$2 >> 2] = 0; + HEAP32[$__e >> 2] = 0; label = 19; break; } } else label = 19; while (0); if ((label | 0) == 19) { label = 0; - if ($153) { - $$2 = $$0; - $136 = 0; - break; - } else $154 = 0; - } - $61 = HEAP8[$18 >> 0] | 0; - $65 = $61 << 24 >> 24 < 0 ? HEAP32[$29 >> 2] | 0 : $61 & 255; - if ((HEAP32[$10 >> 2] | 0) == ($$0 + $65 | 0)) { - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($9, $65 << 1, 0); - if ((HEAP8[$18 >> 0] | 0) < 0) $73 = (HEAP32[$21 >> 2] & 2147483647) + -1 | 0; else $73 = 10; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($9, $73, 0); - $77 = (HEAP8[$18 >> 0] | 0) < 0 ? HEAP32[$9 >> 2] | 0 : $9; - HEAP32[$10 >> 2] = $77 + $65; - $$1 = $77; - } else $$1 = $$0; - $79 = $80 + 12 | 0; - $81 = HEAP32[$79 >> 2] | 0; - $82 = $80 + 16 | 0; - if (($81 | 0) == (HEAP32[$82 >> 2] | 0)) $$0$i$i41 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$80 >> 2] | 0) + 36 >> 2] & 127]($80) | 0; else $$0$i$i41 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$81 >> 2] | 0) | 0; - if (__ZNSt3__29__num_getIwE17__stage2_int_loopEwiPcRS2_RjwRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSD_PKw($$0$i$i41, $14, $$1, $10, $13, HEAP32[$6 >> 2] | 0, $8, $11, $12, $15) | 0) { - $$2 = $$1; - $136 = $154; - break; - } - $94 = HEAP32[$79 >> 2] | 0; - if (($94 | 0) == (HEAP32[$82 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$80 >> 2] | 0) + 40 >> 2] & 127]($80) | 0; else { - HEAP32[$79 >> 2] = $94 + 4; - __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$94 >> 2] | 0) | 0; - } - $$0 = $$1; - $152 = $127; - $31 = $80; - } - $103 = HEAP8[$8 + 11 >> 0] | 0; - if (($103 << 24 >> 24 < 0 ? HEAP32[$8 + 4 >> 2] | 0 : $103 & 255) | 0 ? ($110 = HEAP32[$12 >> 2] | 0, ($110 - $11 | 0) < 160) : 0) { - $115 = HEAP32[$13 >> 2] | 0; - HEAP32[$12 >> 2] = $110 + 4; - HEAP32[$110 >> 2] = $115; - } - $118 = __ZNSt3__227__num_get_unsigned_integralItEET_PKcS3_Rji($$2, HEAP32[$10 >> 2] | 0, $4, $14) | 0; - HEAP16[$5 >> 1] = $118; - __ZNSt3__216__check_groupingERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjS8_Rj($8, $11, HEAP32[$12 >> 2] | 0, $4); - if ($80) { - $122 = HEAP32[$80 + 12 >> 2] | 0; - if (($122 | 0) == (HEAP32[$80 + 16 >> 2] | 0)) $$0$i$i$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$127 >> 2] | 0) + 36 >> 2] & 127]($80) | 0; else $$0$i$i$i$i = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$122 >> 2] | 0) | 0; - if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj($$0$i$i$i$i, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { - HEAP32[$1 >> 2] = 0; - $155 = 1; - } else $155 = 0; - } else $155 = 1; - do if ($136) { - $138 = HEAP32[$136 + 12 >> 2] | 0; - if (($138 | 0) == (HEAP32[$136 + 16 >> 2] | 0)) $$0$i$i2$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$136 >> 2] | 0) + 36 >> 2] & 127]($136) | 0; else $$0$i$i2$i$i = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$138 >> 2] | 0) | 0; - if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj($$0$i$i2$i$i, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if ($155) break; else { + if ($49) { + $42 = 0; + $__a$2 = $__a$0; + break; + } else $50 = 0; + } + $15 = HEAP8[$__size_$i$i >> 0] | 0; + $cond$i61 = $15 << 24 >> 24 < 0 ? HEAP32[$__size_$i3$i >> 2] | 0 : $15 & 255; + if ((HEAP32[$__a_end >> 2] | 0) == ($__a$0 + $cond$i61 | 0)) { + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($__buf, $cond$i61 << 1, 0); + if ((HEAP8[$__size_$i$i >> 0] | 0) < 0) $cond$i87 = (HEAP32[$__cap_$i$i >> 2] & 2147483647) + -1 | 0; else $cond$i87 = 10; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($__buf, $cond$i87, 0); + $cond$i$i96 = (HEAP8[$__size_$i$i >> 0] | 0) < 0 ? HEAP32[$__buf >> 2] | 0 : $__buf; + HEAP32[$__a_end >> 2] = $cond$i$i96 + $cond$i61; + $__a$1 = $cond$i$i96; + } else $__a$1 = $__a$0; + $__ninp_$i$i = $21 + 12 | 0; + $22 = HEAP32[$__ninp_$i$i >> 2] | 0; + $__einp_$i$i = $21 + 16 | 0; + if (($22 | 0) == (HEAP32[$__einp_$i$i >> 2] | 0)) $retval$0$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$21 >> 2] | 0) + 36 >> 2] & 127]($21) | 0; else $retval$0$i$i = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$22 >> 2] | 0) | 0; + if (__ZNSt3__29__num_getIwE17__stage2_int_loopEwiPcRS2_RjwRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSD_PKw($retval$0$i$i, $call, $__a$1, $__a_end, $__dc, HEAP32[$__thousands_sep >> 2] | 0, $__grouping, $__g, $__g_end, $call2) | 0) { + $42 = $50; + $__a$2 = $__a$1; + break; + } + $27 = HEAP32[$__ninp_$i$i >> 2] | 0; + if (($27 | 0) == (HEAP32[$__einp_$i$i >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$21 >> 2] | 0) + 40 >> 2] & 127]($21) | 0; else { + HEAP32[$__ninp_$i$i >> 2] = $27 + 4; + __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$27 >> 2] | 0) | 0; + } + $4 = $21; + $48 = $39; + $__a$0 = $__a$1; + } + $31 = HEAP8[$__grouping + 11 >> 0] | 0; + if (($31 << 24 >> 24 < 0 ? HEAP32[$__grouping + 4 >> 2] | 0 : $31 & 255) | 0 ? ($33 = HEAP32[$__g_end >> 2] | 0, ($33 - $__g | 0) < 160) : 0) { + $34 = HEAP32[$__dc >> 2] | 0; + HEAP32[$__g_end >> 2] = $33 + 4; + HEAP32[$33 >> 2] = $34; + } + $call25 = __ZNSt3__227__num_get_unsigned_integralItEET_PKcS3_Rji($__a$2, HEAP32[$__a_end >> 2] | 0, $__err, $call) | 0; + HEAP16[$__v >> 1] = $call25; + __ZNSt3__216__check_groupingERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjS8_Rj($__grouping, $__g, HEAP32[$__g_end >> 2] | 0, $__err); + if ($21) { + $37 = HEAP32[$21 + 12 >> 2] | 0; + if (($37 | 0) == (HEAP32[$21 + 16 >> 2] | 0)) $retval$0$i$i$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$39 >> 2] | 0) + 36 >> 2] & 127]($21) | 0; else $retval$0$i$i$i$i = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$37 >> 2] | 0) | 0; + if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj($retval$0$i$i$i$i, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { + HEAP32[$__b >> 2] = 0; + $51 = 1; + } else $51 = 0; + } else $51 = 1; + do if ($42) { + $43 = HEAP32[$42 + 12 >> 2] | 0; + if (($43 | 0) == (HEAP32[$42 + 16 >> 2] | 0)) $retval$0$i$i13$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$42 >> 2] | 0) + 36 >> 2] & 127]($42) | 0; else $retval$0$i$i13$i$i = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$43 >> 2] | 0) | 0; + if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj($retval$0$i$i13$i$i, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if ($51) break; else { label = 50; break; } else { - HEAP32[$2 >> 2] = 0; + HEAP32[$__e >> 2] = 0; label = 48; break; } } else label = 48; while (0); - if ((label | 0) == 48 ? $155 : 0) label = 50; - if ((label | 0) == 50) HEAP32[$4 >> 2] = HEAP32[$4 >> 2] | 2; - $$sroa$0$0$copyload = HEAP32[$1 >> 2] | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($9); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($8); + if ((label | 0) == 48 ? $51 : 0) label = 50; + if ((label | 0) == 50) HEAP32[$__err >> 2] = HEAP32[$__err >> 2] | 2; + $retval$sroa$0$0$copyload = HEAP32[$__b >> 2] | 0; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($__buf); + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($__grouping); STACKTOP = sp; - return $$sroa$0$0$copyload | 0; + return $retval$sroa$0$0$copyload | 0; } -function __ZNKSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE17__do_get_unsignedImEES4_S4_S4_RNS_8ios_baseERjRT_($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$0 = 0, $$0$i$i = 0, $$0$i$i$i$i = 0, $$0$i$i$i$i25 = 0, $$0$i$i2$i$i = 0, $$0$i$i2$i$i31 = 0, $$0$i$i41 = 0, $$1 = 0, $$2 = 0, $$pre = 0, $$sroa$0$0$copyload = 0, $10 = 0, $103 = 0, $11 = 0, $110 = 0, $115 = 0, $118 = 0, $12 = 0, $122 = 0, $127 = 0, $13 = 0, $136 = 0, $138 = 0, $14 = 0, $15 = 0, $152 = 0, $153 = 0, $154 = 0, $155 = 0, $18 = 0, $21 = 0, $24 = 0, $28 = 0, $29 = 0, $31 = 0, $33 = 0, $45 = 0, $48 = 0, $6 = 0, $61 = 0, $65 = 0, $73 = 0, $77 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $9 = 0, $94 = 0, label = 0, sp = 0; +function __ZNKSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE17__do_get_unsignedImEES4_S4_S4_RNS_8ios_baseERjRT_($this, $__b, $__e, $__iob, $__err, $__v) { + $this = $this | 0; + $__b = $__b | 0; + $__e = $__e | 0; + $__iob = $__iob | 0; + $__err = $__err | 0; + $__v = $__v | 0; + var $$pre = 0, $10 = 0, $15 = 0, $21 = 0, $22 = 0, $27 = 0, $31 = 0, $33 = 0, $34 = 0, $37 = 0, $39 = 0, $4 = 0, $42 = 0, $43 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $9 = 0, $__a$0 = 0, $__a$1 = 0, $__a$2 = 0, $__a_end = 0, $__buf = 0, $__cap_$i$i = 0, $__dc = 0, $__einp_$i$i = 0, $__g = 0, $__g_end = 0, $__grouping = 0, $__i$0$i$i = 0, $__ninp_$i$i = 0, $__size_$i$i = 0, $__size_$i3$i = 0, $__thousands_sep = 0, $call = 0, $call2 = 0, $call25 = 0, $cond$i = 0, $cond$i$i = 0, $cond$i$i96 = 0, $cond$i61 = 0, $cond$i87 = 0, $retval$0$i$i = 0, $retval$0$i$i$i$i = 0, $retval$0$i$i$i$i28 = 0, $retval$0$i$i13$i$i = 0, $retval$0$i$i13$i$i49 = 0, $retval$sroa$0$0$copyload = 0, label = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 304 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(304); - $6 = sp + 300 | 0; - $8 = sp + 288 | 0; - $9 = sp + 276 | 0; - $10 = sp + 272 | 0; - $11 = sp; - $12 = sp + 268 | 0; - $13 = sp + 264 | 0; - $14 = __ZNSt3__214__num_get_base10__get_baseERNS_8ios_baseE($3) | 0; - $15 = __ZNKSt3__29__num_getIwE10__do_widenERNS_8ios_baseEPw($0, $3, sp + 160 | 0) | 0; - __ZNSt3__29__num_getIwE17__stage2_int_prepERNS_8ios_baseERw($8, $3, $6); - HEAP32[$9 >> 2] = 0; - HEAP32[$9 + 4 >> 2] = 0; - HEAP32[$9 + 8 >> 2] = 0; - $$0$i$i = 0; + $__thousands_sep = sp + 300 | 0; + $__grouping = sp + 288 | 0; + $__buf = sp + 276 | 0; + $__a_end = sp + 272 | 0; + $__g = sp; + $__g_end = sp + 268 | 0; + $__dc = sp + 264 | 0; + $call = __ZNSt3__214__num_get_base10__get_baseERNS_8ios_baseE($__iob) | 0; + $call2 = __ZNKSt3__29__num_getIwE10__do_widenERNS_8ios_baseEPw($this, $__iob, sp + 160 | 0) | 0; + __ZNSt3__29__num_getIwE17__stage2_int_prepERNS_8ios_baseERw($__grouping, $__iob, $__thousands_sep); + HEAP32[$__buf >> 2] = 0; + HEAP32[$__buf + 4 >> 2] = 0; + HEAP32[$__buf + 8 >> 2] = 0; + $__i$0$i$i = 0; while (1) { - if (($$0$i$i | 0) == 3) break; - HEAP32[$9 + ($$0$i$i << 2) >> 2] = 0; - $$0$i$i = $$0$i$i + 1 | 0; - } - $18 = $9 + 11 | 0; - $21 = $9 + 8 | 0; - if ((HEAP8[$18 >> 0] | 0) < 0) $24 = (HEAP32[$21 >> 2] & 2147483647) + -1 | 0; else $24 = 10; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($9, $24, 0); - $28 = (HEAP8[$18 >> 0] | 0) < 0 ? HEAP32[$9 >> 2] | 0 : $9; - HEAP32[$10 >> 2] = $28; - HEAP32[$12 >> 2] = $11; - HEAP32[$13 >> 2] = 0; - $29 = $9 + 4 | 0; - $$pre = HEAP32[$1 >> 2] | 0; - $$0 = $28; - $152 = $$pre; - $31 = $$pre; + if (($__i$0$i$i | 0) == 3) break; + HEAP32[$__buf + ($__i$0$i$i << 2) >> 2] = 0; + $__i$0$i$i = $__i$0$i$i + 1 | 0; + } + $__size_$i$i = $__buf + 11 | 0; + $__cap_$i$i = $__buf + 8 | 0; + if ((HEAP8[$__size_$i$i >> 0] | 0) < 0) $cond$i = (HEAP32[$__cap_$i$i >> 2] & 2147483647) + -1 | 0; else $cond$i = 10; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($__buf, $cond$i, 0); + $cond$i$i = (HEAP8[$__size_$i$i >> 0] | 0) < 0 ? HEAP32[$__buf >> 2] | 0 : $__buf; + HEAP32[$__a_end >> 2] = $cond$i$i; + HEAP32[$__g_end >> 2] = $__g; + HEAP32[$__dc >> 2] = 0; + $__size_$i3$i = $__buf + 4 | 0; + $$pre = HEAP32[$__b >> 2] | 0; + $4 = $$pre; + $48 = $$pre; + $__a$0 = $cond$i$i; L8 : while (1) { - if ($31) { - $33 = HEAP32[$31 + 12 >> 2] | 0; - if (($33 | 0) == (HEAP32[$31 + 16 >> 2] | 0)) $$0$i$i$i$i25 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$31 >> 2] | 0) + 36 >> 2] & 127]($31) | 0; else $$0$i$i$i$i25 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$33 >> 2] | 0) | 0; - if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj($$0$i$i$i$i25, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { - HEAP32[$1 >> 2] = 0; - $127 = 0; - $153 = 1; - $80 = 0; + if ($4) { + $5 = HEAP32[$4 + 12 >> 2] | 0; + if (($5 | 0) == (HEAP32[$4 + 16 >> 2] | 0)) $retval$0$i$i$i$i28 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$4 >> 2] | 0) + 36 >> 2] & 127]($4) | 0; else $retval$0$i$i$i$i28 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$5 >> 2] | 0) | 0; + if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj($retval$0$i$i$i$i28, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { + HEAP32[$__b >> 2] = 0; + $21 = 0; + $39 = 0; + $49 = 1; } else { - $127 = $152; - $153 = 0; - $80 = $31; + $21 = $4; + $39 = $48; + $49 = 0; } } else { - $127 = 0; - $153 = 1; - $80 = 0; + $21 = 0; + $39 = 0; + $49 = 1; } - $45 = HEAP32[$2 >> 2] | 0; - do if ($45) { - $48 = HEAP32[$45 + 12 >> 2] | 0; - if (($48 | 0) == (HEAP32[$45 + 16 >> 2] | 0)) $$0$i$i2$i$i31 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$45 >> 2] | 0) + 36 >> 2] & 127]($45) | 0; else $$0$i$i2$i$i31 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$48 >> 2] | 0) | 0; - if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj($$0$i$i2$i$i31, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if ($153) { - $154 = $45; + $9 = HEAP32[$__e >> 2] | 0; + do if ($9) { + $10 = HEAP32[$9 + 12 >> 2] | 0; + if (($10 | 0) == (HEAP32[$9 + 16 >> 2] | 0)) $retval$0$i$i13$i$i49 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$9 >> 2] | 0) + 36 >> 2] & 127]($9) | 0; else $retval$0$i$i13$i$i49 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$10 >> 2] | 0) | 0; + if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj($retval$0$i$i13$i$i49, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if ($49) { + $50 = $9; break; } else { - $$2 = $$0; - $136 = $45; + $42 = $9; + $__a$2 = $__a$0; break L8; } else { - HEAP32[$2 >> 2] = 0; + HEAP32[$__e >> 2] = 0; label = 19; break; } } else label = 19; while (0); if ((label | 0) == 19) { label = 0; - if ($153) { - $$2 = $$0; - $136 = 0; - break; - } else $154 = 0; - } - $61 = HEAP8[$18 >> 0] | 0; - $65 = $61 << 24 >> 24 < 0 ? HEAP32[$29 >> 2] | 0 : $61 & 255; - if ((HEAP32[$10 >> 2] | 0) == ($$0 + $65 | 0)) { - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($9, $65 << 1, 0); - if ((HEAP8[$18 >> 0] | 0) < 0) $73 = (HEAP32[$21 >> 2] & 2147483647) + -1 | 0; else $73 = 10; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($9, $73, 0); - $77 = (HEAP8[$18 >> 0] | 0) < 0 ? HEAP32[$9 >> 2] | 0 : $9; - HEAP32[$10 >> 2] = $77 + $65; - $$1 = $77; - } else $$1 = $$0; - $79 = $80 + 12 | 0; - $81 = HEAP32[$79 >> 2] | 0; - $82 = $80 + 16 | 0; - if (($81 | 0) == (HEAP32[$82 >> 2] | 0)) $$0$i$i41 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$80 >> 2] | 0) + 36 >> 2] & 127]($80) | 0; else $$0$i$i41 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$81 >> 2] | 0) | 0; - if (__ZNSt3__29__num_getIwE17__stage2_int_loopEwiPcRS2_RjwRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSD_PKw($$0$i$i41, $14, $$1, $10, $13, HEAP32[$6 >> 2] | 0, $8, $11, $12, $15) | 0) { - $$2 = $$1; - $136 = $154; - break; - } - $94 = HEAP32[$79 >> 2] | 0; - if (($94 | 0) == (HEAP32[$82 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$80 >> 2] | 0) + 40 >> 2] & 127]($80) | 0; else { - HEAP32[$79 >> 2] = $94 + 4; - __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$94 >> 2] | 0) | 0; - } - $$0 = $$1; - $152 = $127; - $31 = $80; - } - $103 = HEAP8[$8 + 11 >> 0] | 0; - if (($103 << 24 >> 24 < 0 ? HEAP32[$8 + 4 >> 2] | 0 : $103 & 255) | 0 ? ($110 = HEAP32[$12 >> 2] | 0, ($110 - $11 | 0) < 160) : 0) { - $115 = HEAP32[$13 >> 2] | 0; - HEAP32[$12 >> 2] = $110 + 4; - HEAP32[$110 >> 2] = $115; - } - $118 = __ZNSt3__227__num_get_unsigned_integralImEET_PKcS3_Rji($$2, HEAP32[$10 >> 2] | 0, $4, $14) | 0; - HEAP32[$5 >> 2] = $118; - __ZNSt3__216__check_groupingERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjS8_Rj($8, $11, HEAP32[$12 >> 2] | 0, $4); - if ($80) { - $122 = HEAP32[$80 + 12 >> 2] | 0; - if (($122 | 0) == (HEAP32[$80 + 16 >> 2] | 0)) $$0$i$i$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$127 >> 2] | 0) + 36 >> 2] & 127]($80) | 0; else $$0$i$i$i$i = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$122 >> 2] | 0) | 0; - if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj($$0$i$i$i$i, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { - HEAP32[$1 >> 2] = 0; - $155 = 1; - } else $155 = 0; - } else $155 = 1; - do if ($136) { - $138 = HEAP32[$136 + 12 >> 2] | 0; - if (($138 | 0) == (HEAP32[$136 + 16 >> 2] | 0)) $$0$i$i2$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$136 >> 2] | 0) + 36 >> 2] & 127]($136) | 0; else $$0$i$i2$i$i = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$138 >> 2] | 0) | 0; - if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj($$0$i$i2$i$i, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if ($155) break; else { + if ($49) { + $42 = 0; + $__a$2 = $__a$0; + break; + } else $50 = 0; + } + $15 = HEAP8[$__size_$i$i >> 0] | 0; + $cond$i61 = $15 << 24 >> 24 < 0 ? HEAP32[$__size_$i3$i >> 2] | 0 : $15 & 255; + if ((HEAP32[$__a_end >> 2] | 0) == ($__a$0 + $cond$i61 | 0)) { + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($__buf, $cond$i61 << 1, 0); + if ((HEAP8[$__size_$i$i >> 0] | 0) < 0) $cond$i87 = (HEAP32[$__cap_$i$i >> 2] & 2147483647) + -1 | 0; else $cond$i87 = 10; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($__buf, $cond$i87, 0); + $cond$i$i96 = (HEAP8[$__size_$i$i >> 0] | 0) < 0 ? HEAP32[$__buf >> 2] | 0 : $__buf; + HEAP32[$__a_end >> 2] = $cond$i$i96 + $cond$i61; + $__a$1 = $cond$i$i96; + } else $__a$1 = $__a$0; + $__ninp_$i$i = $21 + 12 | 0; + $22 = HEAP32[$__ninp_$i$i >> 2] | 0; + $__einp_$i$i = $21 + 16 | 0; + if (($22 | 0) == (HEAP32[$__einp_$i$i >> 2] | 0)) $retval$0$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$21 >> 2] | 0) + 36 >> 2] & 127]($21) | 0; else $retval$0$i$i = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$22 >> 2] | 0) | 0; + if (__ZNSt3__29__num_getIwE17__stage2_int_loopEwiPcRS2_RjwRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSD_PKw($retval$0$i$i, $call, $__a$1, $__a_end, $__dc, HEAP32[$__thousands_sep >> 2] | 0, $__grouping, $__g, $__g_end, $call2) | 0) { + $42 = $50; + $__a$2 = $__a$1; + break; + } + $27 = HEAP32[$__ninp_$i$i >> 2] | 0; + if (($27 | 0) == (HEAP32[$__einp_$i$i >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$21 >> 2] | 0) + 40 >> 2] & 127]($21) | 0; else { + HEAP32[$__ninp_$i$i >> 2] = $27 + 4; + __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$27 >> 2] | 0) | 0; + } + $4 = $21; + $48 = $39; + $__a$0 = $__a$1; + } + $31 = HEAP8[$__grouping + 11 >> 0] | 0; + if (($31 << 24 >> 24 < 0 ? HEAP32[$__grouping + 4 >> 2] | 0 : $31 & 255) | 0 ? ($33 = HEAP32[$__g_end >> 2] | 0, ($33 - $__g | 0) < 160) : 0) { + $34 = HEAP32[$__dc >> 2] | 0; + HEAP32[$__g_end >> 2] = $33 + 4; + HEAP32[$33 >> 2] = $34; + } + $call25 = __ZNSt3__227__num_get_unsigned_integralImEET_PKcS3_Rji($__a$2, HEAP32[$__a_end >> 2] | 0, $__err, $call) | 0; + HEAP32[$__v >> 2] = $call25; + __ZNSt3__216__check_groupingERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjS8_Rj($__grouping, $__g, HEAP32[$__g_end >> 2] | 0, $__err); + if ($21) { + $37 = HEAP32[$21 + 12 >> 2] | 0; + if (($37 | 0) == (HEAP32[$21 + 16 >> 2] | 0)) $retval$0$i$i$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$39 >> 2] | 0) + 36 >> 2] & 127]($21) | 0; else $retval$0$i$i$i$i = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$37 >> 2] | 0) | 0; + if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj($retval$0$i$i$i$i, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { + HEAP32[$__b >> 2] = 0; + $51 = 1; + } else $51 = 0; + } else $51 = 1; + do if ($42) { + $43 = HEAP32[$42 + 12 >> 2] | 0; + if (($43 | 0) == (HEAP32[$42 + 16 >> 2] | 0)) $retval$0$i$i13$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$42 >> 2] | 0) + 36 >> 2] & 127]($42) | 0; else $retval$0$i$i13$i$i = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$43 >> 2] | 0) | 0; + if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj($retval$0$i$i13$i$i, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if ($51) break; else { label = 50; break; } else { - HEAP32[$2 >> 2] = 0; + HEAP32[$__e >> 2] = 0; label = 48; break; } } else label = 48; while (0); - if ((label | 0) == 48 ? $155 : 0) label = 50; - if ((label | 0) == 50) HEAP32[$4 >> 2] = HEAP32[$4 >> 2] | 2; - $$sroa$0$0$copyload = HEAP32[$1 >> 2] | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($9); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($8); + if ((label | 0) == 48 ? $51 : 0) label = 50; + if ((label | 0) == 50) HEAP32[$__err >> 2] = HEAP32[$__err >> 2] | 2; + $retval$sroa$0$0$copyload = HEAP32[$__b >> 2] | 0; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($__buf); + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($__grouping); STACKTOP = sp; - return $$sroa$0$0$copyload | 0; + return $retval$sroa$0$0$copyload | 0; } -function __ZNKSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE17__do_get_unsignedIjEES4_S4_S4_RNS_8ios_baseERjRT_($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$0 = 0, $$0$i$i = 0, $$0$i$i$i$i = 0, $$0$i$i$i$i25 = 0, $$0$i$i2$i$i = 0, $$0$i$i2$i$i31 = 0, $$0$i$i41 = 0, $$1 = 0, $$2 = 0, $$pre = 0, $$sroa$0$0$copyload = 0, $10 = 0, $103 = 0, $11 = 0, $110 = 0, $115 = 0, $118 = 0, $12 = 0, $122 = 0, $127 = 0, $13 = 0, $136 = 0, $138 = 0, $14 = 0, $15 = 0, $152 = 0, $153 = 0, $154 = 0, $155 = 0, $18 = 0, $21 = 0, $24 = 0, $28 = 0, $29 = 0, $31 = 0, $33 = 0, $45 = 0, $48 = 0, $6 = 0, $61 = 0, $65 = 0, $73 = 0, $77 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $9 = 0, $94 = 0, label = 0, sp = 0; +function __ZNKSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE17__do_get_unsignedIjEES4_S4_S4_RNS_8ios_baseERjRT_($this, $__b, $__e, $__iob, $__err, $__v) { + $this = $this | 0; + $__b = $__b | 0; + $__e = $__e | 0; + $__iob = $__iob | 0; + $__err = $__err | 0; + $__v = $__v | 0; + var $$pre = 0, $10 = 0, $15 = 0, $21 = 0, $22 = 0, $27 = 0, $31 = 0, $33 = 0, $34 = 0, $37 = 0, $39 = 0, $4 = 0, $42 = 0, $43 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $9 = 0, $__a$0 = 0, $__a$1 = 0, $__a$2 = 0, $__a_end = 0, $__buf = 0, $__cap_$i$i = 0, $__dc = 0, $__einp_$i$i = 0, $__g = 0, $__g_end = 0, $__grouping = 0, $__i$0$i$i = 0, $__ninp_$i$i = 0, $__size_$i$i = 0, $__size_$i3$i = 0, $__thousands_sep = 0, $call = 0, $call2 = 0, $call25 = 0, $cond$i = 0, $cond$i$i = 0, $cond$i$i96 = 0, $cond$i61 = 0, $cond$i87 = 0, $retval$0$i$i = 0, $retval$0$i$i$i$i = 0, $retval$0$i$i$i$i28 = 0, $retval$0$i$i13$i$i = 0, $retval$0$i$i13$i$i49 = 0, $retval$sroa$0$0$copyload = 0, label = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 304 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(304); - $6 = sp + 300 | 0; - $8 = sp + 288 | 0; - $9 = sp + 276 | 0; - $10 = sp + 272 | 0; - $11 = sp; - $12 = sp + 268 | 0; - $13 = sp + 264 | 0; - $14 = __ZNSt3__214__num_get_base10__get_baseERNS_8ios_baseE($3) | 0; - $15 = __ZNKSt3__29__num_getIwE10__do_widenERNS_8ios_baseEPw($0, $3, sp + 160 | 0) | 0; - __ZNSt3__29__num_getIwE17__stage2_int_prepERNS_8ios_baseERw($8, $3, $6); - HEAP32[$9 >> 2] = 0; - HEAP32[$9 + 4 >> 2] = 0; - HEAP32[$9 + 8 >> 2] = 0; - $$0$i$i = 0; + $__thousands_sep = sp + 300 | 0; + $__grouping = sp + 288 | 0; + $__buf = sp + 276 | 0; + $__a_end = sp + 272 | 0; + $__g = sp; + $__g_end = sp + 268 | 0; + $__dc = sp + 264 | 0; + $call = __ZNSt3__214__num_get_base10__get_baseERNS_8ios_baseE($__iob) | 0; + $call2 = __ZNKSt3__29__num_getIwE10__do_widenERNS_8ios_baseEPw($this, $__iob, sp + 160 | 0) | 0; + __ZNSt3__29__num_getIwE17__stage2_int_prepERNS_8ios_baseERw($__grouping, $__iob, $__thousands_sep); + HEAP32[$__buf >> 2] = 0; + HEAP32[$__buf + 4 >> 2] = 0; + HEAP32[$__buf + 8 >> 2] = 0; + $__i$0$i$i = 0; while (1) { - if (($$0$i$i | 0) == 3) break; - HEAP32[$9 + ($$0$i$i << 2) >> 2] = 0; - $$0$i$i = $$0$i$i + 1 | 0; - } - $18 = $9 + 11 | 0; - $21 = $9 + 8 | 0; - if ((HEAP8[$18 >> 0] | 0) < 0) $24 = (HEAP32[$21 >> 2] & 2147483647) + -1 | 0; else $24 = 10; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($9, $24, 0); - $28 = (HEAP8[$18 >> 0] | 0) < 0 ? HEAP32[$9 >> 2] | 0 : $9; - HEAP32[$10 >> 2] = $28; - HEAP32[$12 >> 2] = $11; - HEAP32[$13 >> 2] = 0; - $29 = $9 + 4 | 0; - $$pre = HEAP32[$1 >> 2] | 0; - $$0 = $28; - $152 = $$pre; - $31 = $$pre; + if (($__i$0$i$i | 0) == 3) break; + HEAP32[$__buf + ($__i$0$i$i << 2) >> 2] = 0; + $__i$0$i$i = $__i$0$i$i + 1 | 0; + } + $__size_$i$i = $__buf + 11 | 0; + $__cap_$i$i = $__buf + 8 | 0; + if ((HEAP8[$__size_$i$i >> 0] | 0) < 0) $cond$i = (HEAP32[$__cap_$i$i >> 2] & 2147483647) + -1 | 0; else $cond$i = 10; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($__buf, $cond$i, 0); + $cond$i$i = (HEAP8[$__size_$i$i >> 0] | 0) < 0 ? HEAP32[$__buf >> 2] | 0 : $__buf; + HEAP32[$__a_end >> 2] = $cond$i$i; + HEAP32[$__g_end >> 2] = $__g; + HEAP32[$__dc >> 2] = 0; + $__size_$i3$i = $__buf + 4 | 0; + $$pre = HEAP32[$__b >> 2] | 0; + $4 = $$pre; + $48 = $$pre; + $__a$0 = $cond$i$i; L8 : while (1) { - if ($31) { - $33 = HEAP32[$31 + 12 >> 2] | 0; - if (($33 | 0) == (HEAP32[$31 + 16 >> 2] | 0)) $$0$i$i$i$i25 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$31 >> 2] | 0) + 36 >> 2] & 127]($31) | 0; else $$0$i$i$i$i25 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$33 >> 2] | 0) | 0; - if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj($$0$i$i$i$i25, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { - HEAP32[$1 >> 2] = 0; - $127 = 0; - $153 = 1; - $80 = 0; + if ($4) { + $5 = HEAP32[$4 + 12 >> 2] | 0; + if (($5 | 0) == (HEAP32[$4 + 16 >> 2] | 0)) $retval$0$i$i$i$i28 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$4 >> 2] | 0) + 36 >> 2] & 127]($4) | 0; else $retval$0$i$i$i$i28 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$5 >> 2] | 0) | 0; + if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj($retval$0$i$i$i$i28, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { + HEAP32[$__b >> 2] = 0; + $21 = 0; + $39 = 0; + $49 = 1; } else { - $127 = $152; - $153 = 0; - $80 = $31; + $21 = $4; + $39 = $48; + $49 = 0; } } else { - $127 = 0; - $153 = 1; - $80 = 0; + $21 = 0; + $39 = 0; + $49 = 1; } - $45 = HEAP32[$2 >> 2] | 0; - do if ($45) { - $48 = HEAP32[$45 + 12 >> 2] | 0; - if (($48 | 0) == (HEAP32[$45 + 16 >> 2] | 0)) $$0$i$i2$i$i31 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$45 >> 2] | 0) + 36 >> 2] & 127]($45) | 0; else $$0$i$i2$i$i31 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$48 >> 2] | 0) | 0; - if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj($$0$i$i2$i$i31, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if ($153) { - $154 = $45; + $9 = HEAP32[$__e >> 2] | 0; + do if ($9) { + $10 = HEAP32[$9 + 12 >> 2] | 0; + if (($10 | 0) == (HEAP32[$9 + 16 >> 2] | 0)) $retval$0$i$i13$i$i49 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$9 >> 2] | 0) + 36 >> 2] & 127]($9) | 0; else $retval$0$i$i13$i$i49 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$10 >> 2] | 0) | 0; + if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj($retval$0$i$i13$i$i49, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if ($49) { + $50 = $9; break; } else { - $$2 = $$0; - $136 = $45; + $42 = $9; + $__a$2 = $__a$0; break L8; } else { - HEAP32[$2 >> 2] = 0; + HEAP32[$__e >> 2] = 0; label = 19; break; } } else label = 19; while (0); if ((label | 0) == 19) { label = 0; - if ($153) { - $$2 = $$0; - $136 = 0; - break; - } else $154 = 0; - } - $61 = HEAP8[$18 >> 0] | 0; - $65 = $61 << 24 >> 24 < 0 ? HEAP32[$29 >> 2] | 0 : $61 & 255; - if ((HEAP32[$10 >> 2] | 0) == ($$0 + $65 | 0)) { - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($9, $65 << 1, 0); - if ((HEAP8[$18 >> 0] | 0) < 0) $73 = (HEAP32[$21 >> 2] & 2147483647) + -1 | 0; else $73 = 10; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($9, $73, 0); - $77 = (HEAP8[$18 >> 0] | 0) < 0 ? HEAP32[$9 >> 2] | 0 : $9; - HEAP32[$10 >> 2] = $77 + $65; - $$1 = $77; - } else $$1 = $$0; - $79 = $80 + 12 | 0; - $81 = HEAP32[$79 >> 2] | 0; - $82 = $80 + 16 | 0; - if (($81 | 0) == (HEAP32[$82 >> 2] | 0)) $$0$i$i41 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$80 >> 2] | 0) + 36 >> 2] & 127]($80) | 0; else $$0$i$i41 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$81 >> 2] | 0) | 0; - if (__ZNSt3__29__num_getIwE17__stage2_int_loopEwiPcRS2_RjwRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSD_PKw($$0$i$i41, $14, $$1, $10, $13, HEAP32[$6 >> 2] | 0, $8, $11, $12, $15) | 0) { - $$2 = $$1; - $136 = $154; - break; - } - $94 = HEAP32[$79 >> 2] | 0; - if (($94 | 0) == (HEAP32[$82 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$80 >> 2] | 0) + 40 >> 2] & 127]($80) | 0; else { - HEAP32[$79 >> 2] = $94 + 4; - __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$94 >> 2] | 0) | 0; - } - $$0 = $$1; - $152 = $127; - $31 = $80; - } - $103 = HEAP8[$8 + 11 >> 0] | 0; - if (($103 << 24 >> 24 < 0 ? HEAP32[$8 + 4 >> 2] | 0 : $103 & 255) | 0 ? ($110 = HEAP32[$12 >> 2] | 0, ($110 - $11 | 0) < 160) : 0) { - $115 = HEAP32[$13 >> 2] | 0; - HEAP32[$12 >> 2] = $110 + 4; - HEAP32[$110 >> 2] = $115; - } - $118 = __ZNSt3__227__num_get_unsigned_integralIjEET_PKcS3_Rji($$2, HEAP32[$10 >> 2] | 0, $4, $14) | 0; - HEAP32[$5 >> 2] = $118; - __ZNSt3__216__check_groupingERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjS8_Rj($8, $11, HEAP32[$12 >> 2] | 0, $4); - if ($80) { - $122 = HEAP32[$80 + 12 >> 2] | 0; - if (($122 | 0) == (HEAP32[$80 + 16 >> 2] | 0)) $$0$i$i$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$127 >> 2] | 0) + 36 >> 2] & 127]($80) | 0; else $$0$i$i$i$i = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$122 >> 2] | 0) | 0; - if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj($$0$i$i$i$i, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { - HEAP32[$1 >> 2] = 0; - $155 = 1; - } else $155 = 0; - } else $155 = 1; - do if ($136) { - $138 = HEAP32[$136 + 12 >> 2] | 0; - if (($138 | 0) == (HEAP32[$136 + 16 >> 2] | 0)) $$0$i$i2$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$136 >> 2] | 0) + 36 >> 2] & 127]($136) | 0; else $$0$i$i2$i$i = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$138 >> 2] | 0) | 0; - if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj($$0$i$i2$i$i, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if ($155) break; else { + if ($49) { + $42 = 0; + $__a$2 = $__a$0; + break; + } else $50 = 0; + } + $15 = HEAP8[$__size_$i$i >> 0] | 0; + $cond$i61 = $15 << 24 >> 24 < 0 ? HEAP32[$__size_$i3$i >> 2] | 0 : $15 & 255; + if ((HEAP32[$__a_end >> 2] | 0) == ($__a$0 + $cond$i61 | 0)) { + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($__buf, $cond$i61 << 1, 0); + if ((HEAP8[$__size_$i$i >> 0] | 0) < 0) $cond$i87 = (HEAP32[$__cap_$i$i >> 2] & 2147483647) + -1 | 0; else $cond$i87 = 10; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($__buf, $cond$i87, 0); + $cond$i$i96 = (HEAP8[$__size_$i$i >> 0] | 0) < 0 ? HEAP32[$__buf >> 2] | 0 : $__buf; + HEAP32[$__a_end >> 2] = $cond$i$i96 + $cond$i61; + $__a$1 = $cond$i$i96; + } else $__a$1 = $__a$0; + $__ninp_$i$i = $21 + 12 | 0; + $22 = HEAP32[$__ninp_$i$i >> 2] | 0; + $__einp_$i$i = $21 + 16 | 0; + if (($22 | 0) == (HEAP32[$__einp_$i$i >> 2] | 0)) $retval$0$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$21 >> 2] | 0) + 36 >> 2] & 127]($21) | 0; else $retval$0$i$i = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$22 >> 2] | 0) | 0; + if (__ZNSt3__29__num_getIwE17__stage2_int_loopEwiPcRS2_RjwRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSD_PKw($retval$0$i$i, $call, $__a$1, $__a_end, $__dc, HEAP32[$__thousands_sep >> 2] | 0, $__grouping, $__g, $__g_end, $call2) | 0) { + $42 = $50; + $__a$2 = $__a$1; + break; + } + $27 = HEAP32[$__ninp_$i$i >> 2] | 0; + if (($27 | 0) == (HEAP32[$__einp_$i$i >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$21 >> 2] | 0) + 40 >> 2] & 127]($21) | 0; else { + HEAP32[$__ninp_$i$i >> 2] = $27 + 4; + __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$27 >> 2] | 0) | 0; + } + $4 = $21; + $48 = $39; + $__a$0 = $__a$1; + } + $31 = HEAP8[$__grouping + 11 >> 0] | 0; + if (($31 << 24 >> 24 < 0 ? HEAP32[$__grouping + 4 >> 2] | 0 : $31 & 255) | 0 ? ($33 = HEAP32[$__g_end >> 2] | 0, ($33 - $__g | 0) < 160) : 0) { + $34 = HEAP32[$__dc >> 2] | 0; + HEAP32[$__g_end >> 2] = $33 + 4; + HEAP32[$33 >> 2] = $34; + } + $call25 = __ZNSt3__227__num_get_unsigned_integralIjEET_PKcS3_Rji($__a$2, HEAP32[$__a_end >> 2] | 0, $__err, $call) | 0; + HEAP32[$__v >> 2] = $call25; + __ZNSt3__216__check_groupingERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjS8_Rj($__grouping, $__g, HEAP32[$__g_end >> 2] | 0, $__err); + if ($21) { + $37 = HEAP32[$21 + 12 >> 2] | 0; + if (($37 | 0) == (HEAP32[$21 + 16 >> 2] | 0)) $retval$0$i$i$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$39 >> 2] | 0) + 36 >> 2] & 127]($21) | 0; else $retval$0$i$i$i$i = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$37 >> 2] | 0) | 0; + if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj($retval$0$i$i$i$i, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { + HEAP32[$__b >> 2] = 0; + $51 = 1; + } else $51 = 0; + } else $51 = 1; + do if ($42) { + $43 = HEAP32[$42 + 12 >> 2] | 0; + if (($43 | 0) == (HEAP32[$42 + 16 >> 2] | 0)) $retval$0$i$i13$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$42 >> 2] | 0) + 36 >> 2] & 127]($42) | 0; else $retval$0$i$i13$i$i = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$43 >> 2] | 0) | 0; + if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj($retval$0$i$i13$i$i, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if ($51) break; else { label = 50; break; } else { - HEAP32[$2 >> 2] = 0; + HEAP32[$__e >> 2] = 0; label = 48; break; } } else label = 48; while (0); - if ((label | 0) == 48 ? $155 : 0) label = 50; - if ((label | 0) == 50) HEAP32[$4 >> 2] = HEAP32[$4 >> 2] | 2; - $$sroa$0$0$copyload = HEAP32[$1 >> 2] | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($9); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($8); + if ((label | 0) == 48 ? $51 : 0) label = 50; + if ((label | 0) == 50) HEAP32[$__err >> 2] = HEAP32[$__err >> 2] | 2; + $retval$sroa$0$0$copyload = HEAP32[$__b >> 2] | 0; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($__buf); + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($__grouping); STACKTOP = sp; - return $$sroa$0$0$copyload | 0; + return $retval$sroa$0$0$copyload | 0; } -function __ZNKSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE17__do_get_unsignedItEES4_S4_S4_RNS_8ios_baseERjRT_($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$0 = 0, $$0$i$i = 0, $$0$i$i$i$i = 0, $$0$i$i$i$i25 = 0, $$0$i$i2$i$i = 0, $$0$i$i2$i$i31 = 0, $$0$i$i41 = 0, $$1 = 0, $$2 = 0, $$pre = 0, $$sroa$0$0$copyload = 0, $10 = 0, $104 = 0, $11 = 0, $111 = 0, $116 = 0, $119 = 0, $12 = 0, $123 = 0, $128 = 0, $13 = 0, $137 = 0, $139 = 0, $14 = 0, $15 = 0, $153 = 0, $154 = 0, $155 = 0, $156 = 0, $18 = 0, $21 = 0, $24 = 0, $28 = 0, $29 = 0, $31 = 0, $33 = 0, $45 = 0, $48 = 0, $6 = 0, $61 = 0, $65 = 0, $73 = 0, $77 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $9 = 0, $95 = 0, label = 0, sp = 0; +function __ZNKSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE17__do_get_unsignedItEES4_S4_S4_RNS_8ios_baseERjRT_($this, $__b, $__e, $__iob, $__err, $__v) { + $this = $this | 0; + $__b = $__b | 0; + $__e = $__e | 0; + $__iob = $__iob | 0; + $__err = $__err | 0; + $__v = $__v | 0; + var $$pre = 0, $10 = 0, $15 = 0, $21 = 0, $22 = 0, $27 = 0, $31 = 0, $33 = 0, $34 = 0, $37 = 0, $39 = 0, $4 = 0, $42 = 0, $43 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $9 = 0, $__a$0 = 0, $__a$1 = 0, $__a$2 = 0, $__a_end = 0, $__buf = 0, $__cap_$i$i = 0, $__dc = 0, $__einp_$i$i = 0, $__g = 0, $__g_end = 0, $__grouping = 0, $__i$0$i$i = 0, $__ninp_$i$i = 0, $__size_$i$i = 0, $__size_$i3$i = 0, $__thousands_sep = 0, $call = 0, $call2 = 0, $call25 = 0, $cond$i = 0, $cond$i$i = 0, $cond$i$i96 = 0, $cond$i61 = 0, $cond$i87 = 0, $retval$0$i$i = 0, $retval$0$i$i$i$i = 0, $retval$0$i$i$i$i28 = 0, $retval$0$i$i13$i$i = 0, $retval$0$i$i13$i$i49 = 0, $retval$sroa$0$0$copyload = 0, label = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 240 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(240); - $6 = sp + 224 | 0; - $8 = sp + 212 | 0; - $9 = sp + 200 | 0; - $10 = sp + 196 | 0; - $11 = sp; - $12 = sp + 192 | 0; - $13 = sp + 188 | 0; - $14 = __ZNSt3__214__num_get_base10__get_baseERNS_8ios_baseE($3) | 0; - $15 = __ZNKSt3__29__num_getIcE10__do_widenERNS_8ios_baseEPc($0, $3, sp + 160 | 0) | 0; - __ZNSt3__29__num_getIcE17__stage2_int_prepERNS_8ios_baseERc($8, $3, $6); - HEAP32[$9 >> 2] = 0; - HEAP32[$9 + 4 >> 2] = 0; - HEAP32[$9 + 8 >> 2] = 0; - $$0$i$i = 0; + $__thousands_sep = sp + 224 | 0; + $__grouping = sp + 212 | 0; + $__buf = sp + 200 | 0; + $__a_end = sp + 196 | 0; + $__g = sp; + $__g_end = sp + 192 | 0; + $__dc = sp + 188 | 0; + $call = __ZNSt3__214__num_get_base10__get_baseERNS_8ios_baseE($__iob) | 0; + $call2 = __ZNKSt3__29__num_getIcE10__do_widenERNS_8ios_baseEPc($this, $__iob, sp + 160 | 0) | 0; + __ZNSt3__29__num_getIcE17__stage2_int_prepERNS_8ios_baseERc($__grouping, $__iob, $__thousands_sep); + HEAP32[$__buf >> 2] = 0; + HEAP32[$__buf + 4 >> 2] = 0; + HEAP32[$__buf + 8 >> 2] = 0; + $__i$0$i$i = 0; while (1) { - if (($$0$i$i | 0) == 3) break; - HEAP32[$9 + ($$0$i$i << 2) >> 2] = 0; - $$0$i$i = $$0$i$i + 1 | 0; - } - $18 = $9 + 11 | 0; - $21 = $9 + 8 | 0; - if ((HEAP8[$18 >> 0] | 0) < 0) $24 = (HEAP32[$21 >> 2] & 2147483647) + -1 | 0; else $24 = 10; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($9, $24, 0); - $28 = (HEAP8[$18 >> 0] | 0) < 0 ? HEAP32[$9 >> 2] | 0 : $9; - HEAP32[$10 >> 2] = $28; - HEAP32[$12 >> 2] = $11; - HEAP32[$13 >> 2] = 0; - $29 = $9 + 4 | 0; - $$pre = HEAP32[$1 >> 2] | 0; - $$0 = $28; - $153 = $$pre; - $31 = $$pre; + if (($__i$0$i$i | 0) == 3) break; + HEAP32[$__buf + ($__i$0$i$i << 2) >> 2] = 0; + $__i$0$i$i = $__i$0$i$i + 1 | 0; + } + $__size_$i$i = $__buf + 11 | 0; + $__cap_$i$i = $__buf + 8 | 0; + if ((HEAP8[$__size_$i$i >> 0] | 0) < 0) $cond$i = (HEAP32[$__cap_$i$i >> 2] & 2147483647) + -1 | 0; else $cond$i = 10; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($__buf, $cond$i, 0); + $cond$i$i = (HEAP8[$__size_$i$i >> 0] | 0) < 0 ? HEAP32[$__buf >> 2] | 0 : $__buf; + HEAP32[$__a_end >> 2] = $cond$i$i; + HEAP32[$__g_end >> 2] = $__g; + HEAP32[$__dc >> 2] = 0; + $__size_$i3$i = $__buf + 4 | 0; + $$pre = HEAP32[$__b >> 2] | 0; + $4 = $$pre; + $48 = $$pre; + $__a$0 = $cond$i$i; L8 : while (1) { - if ($31) { - $33 = HEAP32[$31 + 12 >> 2] | 0; - if (($33 | 0) == (HEAP32[$31 + 16 >> 2] | 0)) $$0$i$i$i$i25 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$31 >> 2] | 0) + 36 >> 2] & 127]($31) | 0; else $$0$i$i$i$i25 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$33 >> 0] | 0) | 0; - if (__ZNSt3__211char_traitsIcE11eq_int_typeEii($$0$i$i$i$i25, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { - HEAP32[$1 >> 2] = 0; - $128 = 0; - $154 = 1; - $80 = 0; + if ($4) { + $5 = HEAP32[$4 + 12 >> 2] | 0; + if (($5 | 0) == (HEAP32[$4 + 16 >> 2] | 0)) $retval$0$i$i$i$i28 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$4 >> 2] | 0) + 36 >> 2] & 127]($4) | 0; else $retval$0$i$i$i$i28 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$5 >> 0] | 0) | 0; + if (__ZNSt3__211char_traitsIcE11eq_int_typeEii($retval$0$i$i$i$i28, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { + HEAP32[$__b >> 2] = 0; + $21 = 0; + $39 = 0; + $49 = 1; } else { - $128 = $153; - $154 = 0; - $80 = $31; + $21 = $4; + $39 = $48; + $49 = 0; } } else { - $128 = 0; - $154 = 1; - $80 = 0; + $21 = 0; + $39 = 0; + $49 = 1; } - $45 = HEAP32[$2 >> 2] | 0; - do if ($45) { - $48 = HEAP32[$45 + 12 >> 2] | 0; - if (($48 | 0) == (HEAP32[$45 + 16 >> 2] | 0)) $$0$i$i2$i$i31 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$45 >> 2] | 0) + 36 >> 2] & 127]($45) | 0; else $$0$i$i2$i$i31 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$48 >> 0] | 0) | 0; - if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii($$0$i$i2$i$i31, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if ($154) { - $155 = $45; + $9 = HEAP32[$__e >> 2] | 0; + do if ($9) { + $10 = HEAP32[$9 + 12 >> 2] | 0; + if (($10 | 0) == (HEAP32[$9 + 16 >> 2] | 0)) $retval$0$i$i13$i$i49 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$9 >> 2] | 0) + 36 >> 2] & 127]($9) | 0; else $retval$0$i$i13$i$i49 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$10 >> 0] | 0) | 0; + if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii($retval$0$i$i13$i$i49, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if ($49) { + $50 = $9; break; } else { - $$2 = $$0; - $137 = $45; + $42 = $9; + $__a$2 = $__a$0; break L8; } else { - HEAP32[$2 >> 2] = 0; + HEAP32[$__e >> 2] = 0; label = 19; break; } } else label = 19; while (0); if ((label | 0) == 19) { label = 0; - if ($154) { - $$2 = $$0; - $137 = 0; - break; - } else $155 = 0; - } - $61 = HEAP8[$18 >> 0] | 0; - $65 = $61 << 24 >> 24 < 0 ? HEAP32[$29 >> 2] | 0 : $61 & 255; - if ((HEAP32[$10 >> 2] | 0) == ($$0 + $65 | 0)) { - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($9, $65 << 1, 0); - if ((HEAP8[$18 >> 0] | 0) < 0) $73 = (HEAP32[$21 >> 2] & 2147483647) + -1 | 0; else $73 = 10; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($9, $73, 0); - $77 = (HEAP8[$18 >> 0] | 0) < 0 ? HEAP32[$9 >> 2] | 0 : $9; - HEAP32[$10 >> 2] = $77 + $65; - $$1 = $77; - } else $$1 = $$0; - $79 = $80 + 12 | 0; - $81 = HEAP32[$79 >> 2] | 0; - $82 = $80 + 16 | 0; - if (($81 | 0) == (HEAP32[$82 >> 2] | 0)) $$0$i$i41 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$80 >> 2] | 0) + 36 >> 2] & 127]($80) | 0; else $$0$i$i41 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$81 >> 0] | 0) | 0; - if (__ZNSt3__29__num_getIcE17__stage2_int_loopEciPcRS2_RjcRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSD_PKc($$0$i$i41 & 255, $14, $$1, $10, $13, HEAP8[$6 >> 0] | 0, $8, $11, $12, $15) | 0) { - $$2 = $$1; - $137 = $155; - break; - } - $95 = HEAP32[$79 >> 2] | 0; - if (($95 | 0) == (HEAP32[$82 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$80 >> 2] | 0) + 40 >> 2] & 127]($80) | 0; else { - HEAP32[$79 >> 2] = $95 + 1; - __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$95 >> 0] | 0) | 0; - } - $$0 = $$1; - $153 = $128; - $31 = $80; - } - $104 = HEAP8[$8 + 11 >> 0] | 0; - if (($104 << 24 >> 24 < 0 ? HEAP32[$8 + 4 >> 2] | 0 : $104 & 255) | 0 ? ($111 = HEAP32[$12 >> 2] | 0, ($111 - $11 | 0) < 160) : 0) { - $116 = HEAP32[$13 >> 2] | 0; - HEAP32[$12 >> 2] = $111 + 4; - HEAP32[$111 >> 2] = $116; - } - $119 = __ZNSt3__227__num_get_unsigned_integralItEET_PKcS3_Rji($$2, HEAP32[$10 >> 2] | 0, $4, $14) | 0; - HEAP16[$5 >> 1] = $119; - __ZNSt3__216__check_groupingERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjS8_Rj($8, $11, HEAP32[$12 >> 2] | 0, $4); - if ($80) { - $123 = HEAP32[$80 + 12 >> 2] | 0; - if (($123 | 0) == (HEAP32[$80 + 16 >> 2] | 0)) $$0$i$i$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$128 >> 2] | 0) + 36 >> 2] & 127]($80) | 0; else $$0$i$i$i$i = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$123 >> 0] | 0) | 0; - if (__ZNSt3__211char_traitsIcE11eq_int_typeEii($$0$i$i$i$i, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { - HEAP32[$1 >> 2] = 0; - $156 = 1; - } else $156 = 0; - } else $156 = 1; - do if ($137) { - $139 = HEAP32[$137 + 12 >> 2] | 0; - if (($139 | 0) == (HEAP32[$137 + 16 >> 2] | 0)) $$0$i$i2$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$137 >> 2] | 0) + 36 >> 2] & 127]($137) | 0; else $$0$i$i2$i$i = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$139 >> 0] | 0) | 0; - if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii($$0$i$i2$i$i, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if ($156) break; else { + if ($49) { + $42 = 0; + $__a$2 = $__a$0; + break; + } else $50 = 0; + } + $15 = HEAP8[$__size_$i$i >> 0] | 0; + $cond$i61 = $15 << 24 >> 24 < 0 ? HEAP32[$__size_$i3$i >> 2] | 0 : $15 & 255; + if ((HEAP32[$__a_end >> 2] | 0) == ($__a$0 + $cond$i61 | 0)) { + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($__buf, $cond$i61 << 1, 0); + if ((HEAP8[$__size_$i$i >> 0] | 0) < 0) $cond$i87 = (HEAP32[$__cap_$i$i >> 2] & 2147483647) + -1 | 0; else $cond$i87 = 10; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($__buf, $cond$i87, 0); + $cond$i$i96 = (HEAP8[$__size_$i$i >> 0] | 0) < 0 ? HEAP32[$__buf >> 2] | 0 : $__buf; + HEAP32[$__a_end >> 2] = $cond$i$i96 + $cond$i61; + $__a$1 = $cond$i$i96; + } else $__a$1 = $__a$0; + $__ninp_$i$i = $21 + 12 | 0; + $22 = HEAP32[$__ninp_$i$i >> 2] | 0; + $__einp_$i$i = $21 + 16 | 0; + if (($22 | 0) == (HEAP32[$__einp_$i$i >> 2] | 0)) $retval$0$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$21 >> 2] | 0) + 36 >> 2] & 127]($21) | 0; else $retval$0$i$i = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$22 >> 0] | 0) | 0; + if (__ZNSt3__29__num_getIcE17__stage2_int_loopEciPcRS2_RjcRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSD_PKc($retval$0$i$i & 255, $call, $__a$1, $__a_end, $__dc, HEAP8[$__thousands_sep >> 0] | 0, $__grouping, $__g, $__g_end, $call2) | 0) { + $42 = $50; + $__a$2 = $__a$1; + break; + } + $27 = HEAP32[$__ninp_$i$i >> 2] | 0; + if (($27 | 0) == (HEAP32[$__einp_$i$i >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$21 >> 2] | 0) + 40 >> 2] & 127]($21) | 0; else { + HEAP32[$__ninp_$i$i >> 2] = $27 + 1; + __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$27 >> 0] | 0) | 0; + } + $4 = $21; + $48 = $39; + $__a$0 = $__a$1; + } + $31 = HEAP8[$__grouping + 11 >> 0] | 0; + if (($31 << 24 >> 24 < 0 ? HEAP32[$__grouping + 4 >> 2] | 0 : $31 & 255) | 0 ? ($33 = HEAP32[$__g_end >> 2] | 0, ($33 - $__g | 0) < 160) : 0) { + $34 = HEAP32[$__dc >> 2] | 0; + HEAP32[$__g_end >> 2] = $33 + 4; + HEAP32[$33 >> 2] = $34; + } + $call25 = __ZNSt3__227__num_get_unsigned_integralItEET_PKcS3_Rji($__a$2, HEAP32[$__a_end >> 2] | 0, $__err, $call) | 0; + HEAP16[$__v >> 1] = $call25; + __ZNSt3__216__check_groupingERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjS8_Rj($__grouping, $__g, HEAP32[$__g_end >> 2] | 0, $__err); + if ($21) { + $37 = HEAP32[$21 + 12 >> 2] | 0; + if (($37 | 0) == (HEAP32[$21 + 16 >> 2] | 0)) $retval$0$i$i$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$39 >> 2] | 0) + 36 >> 2] & 127]($21) | 0; else $retval$0$i$i$i$i = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$37 >> 0] | 0) | 0; + if (__ZNSt3__211char_traitsIcE11eq_int_typeEii($retval$0$i$i$i$i, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { + HEAP32[$__b >> 2] = 0; + $51 = 1; + } else $51 = 0; + } else $51 = 1; + do if ($42) { + $43 = HEAP32[$42 + 12 >> 2] | 0; + if (($43 | 0) == (HEAP32[$42 + 16 >> 2] | 0)) $retval$0$i$i13$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$42 >> 2] | 0) + 36 >> 2] & 127]($42) | 0; else $retval$0$i$i13$i$i = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$43 >> 0] | 0) | 0; + if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii($retval$0$i$i13$i$i, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if ($51) break; else { label = 50; break; } else { - HEAP32[$2 >> 2] = 0; + HEAP32[$__e >> 2] = 0; label = 48; break; } } else label = 48; while (0); - if ((label | 0) == 48 ? $156 : 0) label = 50; - if ((label | 0) == 50) HEAP32[$4 >> 2] = HEAP32[$4 >> 2] | 2; - $$sroa$0$0$copyload = HEAP32[$1 >> 2] | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($9); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($8); + if ((label | 0) == 48 ? $51 : 0) label = 50; + if ((label | 0) == 50) HEAP32[$__err >> 2] = HEAP32[$__err >> 2] | 2; + $retval$sroa$0$0$copyload = HEAP32[$__b >> 2] | 0; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($__buf); + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($__grouping); STACKTOP = sp; - return $$sroa$0$0$copyload | 0; + return $retval$sroa$0$0$copyload | 0; } -function __ZNKSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE17__do_get_unsignedImEES4_S4_S4_RNS_8ios_baseERjRT_($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$0 = 0, $$0$i$i = 0, $$0$i$i$i$i = 0, $$0$i$i$i$i25 = 0, $$0$i$i2$i$i = 0, $$0$i$i2$i$i31 = 0, $$0$i$i41 = 0, $$1 = 0, $$2 = 0, $$pre = 0, $$sroa$0$0$copyload = 0, $10 = 0, $104 = 0, $11 = 0, $111 = 0, $116 = 0, $119 = 0, $12 = 0, $123 = 0, $128 = 0, $13 = 0, $137 = 0, $139 = 0, $14 = 0, $15 = 0, $153 = 0, $154 = 0, $155 = 0, $156 = 0, $18 = 0, $21 = 0, $24 = 0, $28 = 0, $29 = 0, $31 = 0, $33 = 0, $45 = 0, $48 = 0, $6 = 0, $61 = 0, $65 = 0, $73 = 0, $77 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $9 = 0, $95 = 0, label = 0, sp = 0; +function __ZNKSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE17__do_get_unsignedImEES4_S4_S4_RNS_8ios_baseERjRT_($this, $__b, $__e, $__iob, $__err, $__v) { + $this = $this | 0; + $__b = $__b | 0; + $__e = $__e | 0; + $__iob = $__iob | 0; + $__err = $__err | 0; + $__v = $__v | 0; + var $$pre = 0, $10 = 0, $15 = 0, $21 = 0, $22 = 0, $27 = 0, $31 = 0, $33 = 0, $34 = 0, $37 = 0, $39 = 0, $4 = 0, $42 = 0, $43 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $9 = 0, $__a$0 = 0, $__a$1 = 0, $__a$2 = 0, $__a_end = 0, $__buf = 0, $__cap_$i$i = 0, $__dc = 0, $__einp_$i$i = 0, $__g = 0, $__g_end = 0, $__grouping = 0, $__i$0$i$i = 0, $__ninp_$i$i = 0, $__size_$i$i = 0, $__size_$i3$i = 0, $__thousands_sep = 0, $call = 0, $call2 = 0, $call25 = 0, $cond$i = 0, $cond$i$i = 0, $cond$i$i96 = 0, $cond$i61 = 0, $cond$i87 = 0, $retval$0$i$i = 0, $retval$0$i$i$i$i = 0, $retval$0$i$i$i$i28 = 0, $retval$0$i$i13$i$i = 0, $retval$0$i$i13$i$i49 = 0, $retval$sroa$0$0$copyload = 0, label = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 240 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(240); - $6 = sp + 224 | 0; - $8 = sp + 212 | 0; - $9 = sp + 200 | 0; - $10 = sp + 196 | 0; - $11 = sp; - $12 = sp + 192 | 0; - $13 = sp + 188 | 0; - $14 = __ZNSt3__214__num_get_base10__get_baseERNS_8ios_baseE($3) | 0; - $15 = __ZNKSt3__29__num_getIcE10__do_widenERNS_8ios_baseEPc($0, $3, sp + 160 | 0) | 0; - __ZNSt3__29__num_getIcE17__stage2_int_prepERNS_8ios_baseERc($8, $3, $6); - HEAP32[$9 >> 2] = 0; - HEAP32[$9 + 4 >> 2] = 0; - HEAP32[$9 + 8 >> 2] = 0; - $$0$i$i = 0; + $__thousands_sep = sp + 224 | 0; + $__grouping = sp + 212 | 0; + $__buf = sp + 200 | 0; + $__a_end = sp + 196 | 0; + $__g = sp; + $__g_end = sp + 192 | 0; + $__dc = sp + 188 | 0; + $call = __ZNSt3__214__num_get_base10__get_baseERNS_8ios_baseE($__iob) | 0; + $call2 = __ZNKSt3__29__num_getIcE10__do_widenERNS_8ios_baseEPc($this, $__iob, sp + 160 | 0) | 0; + __ZNSt3__29__num_getIcE17__stage2_int_prepERNS_8ios_baseERc($__grouping, $__iob, $__thousands_sep); + HEAP32[$__buf >> 2] = 0; + HEAP32[$__buf + 4 >> 2] = 0; + HEAP32[$__buf + 8 >> 2] = 0; + $__i$0$i$i = 0; while (1) { - if (($$0$i$i | 0) == 3) break; - HEAP32[$9 + ($$0$i$i << 2) >> 2] = 0; - $$0$i$i = $$0$i$i + 1 | 0; - } - $18 = $9 + 11 | 0; - $21 = $9 + 8 | 0; - if ((HEAP8[$18 >> 0] | 0) < 0) $24 = (HEAP32[$21 >> 2] & 2147483647) + -1 | 0; else $24 = 10; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($9, $24, 0); - $28 = (HEAP8[$18 >> 0] | 0) < 0 ? HEAP32[$9 >> 2] | 0 : $9; - HEAP32[$10 >> 2] = $28; - HEAP32[$12 >> 2] = $11; - HEAP32[$13 >> 2] = 0; - $29 = $9 + 4 | 0; - $$pre = HEAP32[$1 >> 2] | 0; - $$0 = $28; - $153 = $$pre; - $31 = $$pre; + if (($__i$0$i$i | 0) == 3) break; + HEAP32[$__buf + ($__i$0$i$i << 2) >> 2] = 0; + $__i$0$i$i = $__i$0$i$i + 1 | 0; + } + $__size_$i$i = $__buf + 11 | 0; + $__cap_$i$i = $__buf + 8 | 0; + if ((HEAP8[$__size_$i$i >> 0] | 0) < 0) $cond$i = (HEAP32[$__cap_$i$i >> 2] & 2147483647) + -1 | 0; else $cond$i = 10; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($__buf, $cond$i, 0); + $cond$i$i = (HEAP8[$__size_$i$i >> 0] | 0) < 0 ? HEAP32[$__buf >> 2] | 0 : $__buf; + HEAP32[$__a_end >> 2] = $cond$i$i; + HEAP32[$__g_end >> 2] = $__g; + HEAP32[$__dc >> 2] = 0; + $__size_$i3$i = $__buf + 4 | 0; + $$pre = HEAP32[$__b >> 2] | 0; + $4 = $$pre; + $48 = $$pre; + $__a$0 = $cond$i$i; L8 : while (1) { - if ($31) { - $33 = HEAP32[$31 + 12 >> 2] | 0; - if (($33 | 0) == (HEAP32[$31 + 16 >> 2] | 0)) $$0$i$i$i$i25 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$31 >> 2] | 0) + 36 >> 2] & 127]($31) | 0; else $$0$i$i$i$i25 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$33 >> 0] | 0) | 0; - if (__ZNSt3__211char_traitsIcE11eq_int_typeEii($$0$i$i$i$i25, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { - HEAP32[$1 >> 2] = 0; - $128 = 0; - $154 = 1; - $80 = 0; + if ($4) { + $5 = HEAP32[$4 + 12 >> 2] | 0; + if (($5 | 0) == (HEAP32[$4 + 16 >> 2] | 0)) $retval$0$i$i$i$i28 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$4 >> 2] | 0) + 36 >> 2] & 127]($4) | 0; else $retval$0$i$i$i$i28 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$5 >> 0] | 0) | 0; + if (__ZNSt3__211char_traitsIcE11eq_int_typeEii($retval$0$i$i$i$i28, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { + HEAP32[$__b >> 2] = 0; + $21 = 0; + $39 = 0; + $49 = 1; } else { - $128 = $153; - $154 = 0; - $80 = $31; + $21 = $4; + $39 = $48; + $49 = 0; } } else { - $128 = 0; - $154 = 1; - $80 = 0; + $21 = 0; + $39 = 0; + $49 = 1; } - $45 = HEAP32[$2 >> 2] | 0; - do if ($45) { - $48 = HEAP32[$45 + 12 >> 2] | 0; - if (($48 | 0) == (HEAP32[$45 + 16 >> 2] | 0)) $$0$i$i2$i$i31 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$45 >> 2] | 0) + 36 >> 2] & 127]($45) | 0; else $$0$i$i2$i$i31 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$48 >> 0] | 0) | 0; - if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii($$0$i$i2$i$i31, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if ($154) { - $155 = $45; + $9 = HEAP32[$__e >> 2] | 0; + do if ($9) { + $10 = HEAP32[$9 + 12 >> 2] | 0; + if (($10 | 0) == (HEAP32[$9 + 16 >> 2] | 0)) $retval$0$i$i13$i$i49 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$9 >> 2] | 0) + 36 >> 2] & 127]($9) | 0; else $retval$0$i$i13$i$i49 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$10 >> 0] | 0) | 0; + if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii($retval$0$i$i13$i$i49, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if ($49) { + $50 = $9; break; } else { - $$2 = $$0; - $137 = $45; + $42 = $9; + $__a$2 = $__a$0; break L8; } else { - HEAP32[$2 >> 2] = 0; + HEAP32[$__e >> 2] = 0; label = 19; break; } } else label = 19; while (0); if ((label | 0) == 19) { label = 0; - if ($154) { - $$2 = $$0; - $137 = 0; - break; - } else $155 = 0; - } - $61 = HEAP8[$18 >> 0] | 0; - $65 = $61 << 24 >> 24 < 0 ? HEAP32[$29 >> 2] | 0 : $61 & 255; - if ((HEAP32[$10 >> 2] | 0) == ($$0 + $65 | 0)) { - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($9, $65 << 1, 0); - if ((HEAP8[$18 >> 0] | 0) < 0) $73 = (HEAP32[$21 >> 2] & 2147483647) + -1 | 0; else $73 = 10; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($9, $73, 0); - $77 = (HEAP8[$18 >> 0] | 0) < 0 ? HEAP32[$9 >> 2] | 0 : $9; - HEAP32[$10 >> 2] = $77 + $65; - $$1 = $77; - } else $$1 = $$0; - $79 = $80 + 12 | 0; - $81 = HEAP32[$79 >> 2] | 0; - $82 = $80 + 16 | 0; - if (($81 | 0) == (HEAP32[$82 >> 2] | 0)) $$0$i$i41 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$80 >> 2] | 0) + 36 >> 2] & 127]($80) | 0; else $$0$i$i41 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$81 >> 0] | 0) | 0; - if (__ZNSt3__29__num_getIcE17__stage2_int_loopEciPcRS2_RjcRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSD_PKc($$0$i$i41 & 255, $14, $$1, $10, $13, HEAP8[$6 >> 0] | 0, $8, $11, $12, $15) | 0) { - $$2 = $$1; - $137 = $155; - break; - } - $95 = HEAP32[$79 >> 2] | 0; - if (($95 | 0) == (HEAP32[$82 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$80 >> 2] | 0) + 40 >> 2] & 127]($80) | 0; else { - HEAP32[$79 >> 2] = $95 + 1; - __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$95 >> 0] | 0) | 0; - } - $$0 = $$1; - $153 = $128; - $31 = $80; - } - $104 = HEAP8[$8 + 11 >> 0] | 0; - if (($104 << 24 >> 24 < 0 ? HEAP32[$8 + 4 >> 2] | 0 : $104 & 255) | 0 ? ($111 = HEAP32[$12 >> 2] | 0, ($111 - $11 | 0) < 160) : 0) { - $116 = HEAP32[$13 >> 2] | 0; - HEAP32[$12 >> 2] = $111 + 4; - HEAP32[$111 >> 2] = $116; - } - $119 = __ZNSt3__227__num_get_unsigned_integralImEET_PKcS3_Rji($$2, HEAP32[$10 >> 2] | 0, $4, $14) | 0; - HEAP32[$5 >> 2] = $119; - __ZNSt3__216__check_groupingERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjS8_Rj($8, $11, HEAP32[$12 >> 2] | 0, $4); - if ($80) { - $123 = HEAP32[$80 + 12 >> 2] | 0; - if (($123 | 0) == (HEAP32[$80 + 16 >> 2] | 0)) $$0$i$i$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$128 >> 2] | 0) + 36 >> 2] & 127]($80) | 0; else $$0$i$i$i$i = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$123 >> 0] | 0) | 0; - if (__ZNSt3__211char_traitsIcE11eq_int_typeEii($$0$i$i$i$i, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { - HEAP32[$1 >> 2] = 0; - $156 = 1; - } else $156 = 0; - } else $156 = 1; - do if ($137) { - $139 = HEAP32[$137 + 12 >> 2] | 0; - if (($139 | 0) == (HEAP32[$137 + 16 >> 2] | 0)) $$0$i$i2$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$137 >> 2] | 0) + 36 >> 2] & 127]($137) | 0; else $$0$i$i2$i$i = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$139 >> 0] | 0) | 0; - if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii($$0$i$i2$i$i, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if ($156) break; else { + if ($49) { + $42 = 0; + $__a$2 = $__a$0; + break; + } else $50 = 0; + } + $15 = HEAP8[$__size_$i$i >> 0] | 0; + $cond$i61 = $15 << 24 >> 24 < 0 ? HEAP32[$__size_$i3$i >> 2] | 0 : $15 & 255; + if ((HEAP32[$__a_end >> 2] | 0) == ($__a$0 + $cond$i61 | 0)) { + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($__buf, $cond$i61 << 1, 0); + if ((HEAP8[$__size_$i$i >> 0] | 0) < 0) $cond$i87 = (HEAP32[$__cap_$i$i >> 2] & 2147483647) + -1 | 0; else $cond$i87 = 10; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($__buf, $cond$i87, 0); + $cond$i$i96 = (HEAP8[$__size_$i$i >> 0] | 0) < 0 ? HEAP32[$__buf >> 2] | 0 : $__buf; + HEAP32[$__a_end >> 2] = $cond$i$i96 + $cond$i61; + $__a$1 = $cond$i$i96; + } else $__a$1 = $__a$0; + $__ninp_$i$i = $21 + 12 | 0; + $22 = HEAP32[$__ninp_$i$i >> 2] | 0; + $__einp_$i$i = $21 + 16 | 0; + if (($22 | 0) == (HEAP32[$__einp_$i$i >> 2] | 0)) $retval$0$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$21 >> 2] | 0) + 36 >> 2] & 127]($21) | 0; else $retval$0$i$i = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$22 >> 0] | 0) | 0; + if (__ZNSt3__29__num_getIcE17__stage2_int_loopEciPcRS2_RjcRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSD_PKc($retval$0$i$i & 255, $call, $__a$1, $__a_end, $__dc, HEAP8[$__thousands_sep >> 0] | 0, $__grouping, $__g, $__g_end, $call2) | 0) { + $42 = $50; + $__a$2 = $__a$1; + break; + } + $27 = HEAP32[$__ninp_$i$i >> 2] | 0; + if (($27 | 0) == (HEAP32[$__einp_$i$i >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$21 >> 2] | 0) + 40 >> 2] & 127]($21) | 0; else { + HEAP32[$__ninp_$i$i >> 2] = $27 + 1; + __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$27 >> 0] | 0) | 0; + } + $4 = $21; + $48 = $39; + $__a$0 = $__a$1; + } + $31 = HEAP8[$__grouping + 11 >> 0] | 0; + if (($31 << 24 >> 24 < 0 ? HEAP32[$__grouping + 4 >> 2] | 0 : $31 & 255) | 0 ? ($33 = HEAP32[$__g_end >> 2] | 0, ($33 - $__g | 0) < 160) : 0) { + $34 = HEAP32[$__dc >> 2] | 0; + HEAP32[$__g_end >> 2] = $33 + 4; + HEAP32[$33 >> 2] = $34; + } + $call25 = __ZNSt3__227__num_get_unsigned_integralImEET_PKcS3_Rji($__a$2, HEAP32[$__a_end >> 2] | 0, $__err, $call) | 0; + HEAP32[$__v >> 2] = $call25; + __ZNSt3__216__check_groupingERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjS8_Rj($__grouping, $__g, HEAP32[$__g_end >> 2] | 0, $__err); + if ($21) { + $37 = HEAP32[$21 + 12 >> 2] | 0; + if (($37 | 0) == (HEAP32[$21 + 16 >> 2] | 0)) $retval$0$i$i$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$39 >> 2] | 0) + 36 >> 2] & 127]($21) | 0; else $retval$0$i$i$i$i = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$37 >> 0] | 0) | 0; + if (__ZNSt3__211char_traitsIcE11eq_int_typeEii($retval$0$i$i$i$i, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { + HEAP32[$__b >> 2] = 0; + $51 = 1; + } else $51 = 0; + } else $51 = 1; + do if ($42) { + $43 = HEAP32[$42 + 12 >> 2] | 0; + if (($43 | 0) == (HEAP32[$42 + 16 >> 2] | 0)) $retval$0$i$i13$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$42 >> 2] | 0) + 36 >> 2] & 127]($42) | 0; else $retval$0$i$i13$i$i = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$43 >> 0] | 0) | 0; + if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii($retval$0$i$i13$i$i, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if ($51) break; else { label = 50; break; } else { - HEAP32[$2 >> 2] = 0; + HEAP32[$__e >> 2] = 0; label = 48; break; } } else label = 48; while (0); - if ((label | 0) == 48 ? $156 : 0) label = 50; - if ((label | 0) == 50) HEAP32[$4 >> 2] = HEAP32[$4 >> 2] | 2; - $$sroa$0$0$copyload = HEAP32[$1 >> 2] | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($9); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($8); + if ((label | 0) == 48 ? $51 : 0) label = 50; + if ((label | 0) == 50) HEAP32[$__err >> 2] = HEAP32[$__err >> 2] | 2; + $retval$sroa$0$0$copyload = HEAP32[$__b >> 2] | 0; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($__buf); + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($__grouping); STACKTOP = sp; - return $$sroa$0$0$copyload | 0; + return $retval$sroa$0$0$copyload | 0; } -function __ZNKSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE17__do_get_unsignedIjEES4_S4_S4_RNS_8ios_baseERjRT_($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$0 = 0, $$0$i$i = 0, $$0$i$i$i$i = 0, $$0$i$i$i$i25 = 0, $$0$i$i2$i$i = 0, $$0$i$i2$i$i31 = 0, $$0$i$i41 = 0, $$1 = 0, $$2 = 0, $$pre = 0, $$sroa$0$0$copyload = 0, $10 = 0, $104 = 0, $11 = 0, $111 = 0, $116 = 0, $119 = 0, $12 = 0, $123 = 0, $128 = 0, $13 = 0, $137 = 0, $139 = 0, $14 = 0, $15 = 0, $153 = 0, $154 = 0, $155 = 0, $156 = 0, $18 = 0, $21 = 0, $24 = 0, $28 = 0, $29 = 0, $31 = 0, $33 = 0, $45 = 0, $48 = 0, $6 = 0, $61 = 0, $65 = 0, $73 = 0, $77 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $9 = 0, $95 = 0, label = 0, sp = 0; +function __ZNKSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE17__do_get_unsignedIjEES4_S4_S4_RNS_8ios_baseERjRT_($this, $__b, $__e, $__iob, $__err, $__v) { + $this = $this | 0; + $__b = $__b | 0; + $__e = $__e | 0; + $__iob = $__iob | 0; + $__err = $__err | 0; + $__v = $__v | 0; + var $$pre = 0, $10 = 0, $15 = 0, $21 = 0, $22 = 0, $27 = 0, $31 = 0, $33 = 0, $34 = 0, $37 = 0, $39 = 0, $4 = 0, $42 = 0, $43 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $9 = 0, $__a$0 = 0, $__a$1 = 0, $__a$2 = 0, $__a_end = 0, $__buf = 0, $__cap_$i$i = 0, $__dc = 0, $__einp_$i$i = 0, $__g = 0, $__g_end = 0, $__grouping = 0, $__i$0$i$i = 0, $__ninp_$i$i = 0, $__size_$i$i = 0, $__size_$i3$i = 0, $__thousands_sep = 0, $call = 0, $call2 = 0, $call25 = 0, $cond$i = 0, $cond$i$i = 0, $cond$i$i96 = 0, $cond$i61 = 0, $cond$i87 = 0, $retval$0$i$i = 0, $retval$0$i$i$i$i = 0, $retval$0$i$i$i$i28 = 0, $retval$0$i$i13$i$i = 0, $retval$0$i$i13$i$i49 = 0, $retval$sroa$0$0$copyload = 0, label = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 240 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(240); - $6 = sp + 224 | 0; - $8 = sp + 212 | 0; - $9 = sp + 200 | 0; - $10 = sp + 196 | 0; - $11 = sp; - $12 = sp + 192 | 0; - $13 = sp + 188 | 0; - $14 = __ZNSt3__214__num_get_base10__get_baseERNS_8ios_baseE($3) | 0; - $15 = __ZNKSt3__29__num_getIcE10__do_widenERNS_8ios_baseEPc($0, $3, sp + 160 | 0) | 0; - __ZNSt3__29__num_getIcE17__stage2_int_prepERNS_8ios_baseERc($8, $3, $6); - HEAP32[$9 >> 2] = 0; - HEAP32[$9 + 4 >> 2] = 0; - HEAP32[$9 + 8 >> 2] = 0; - $$0$i$i = 0; + $__thousands_sep = sp + 224 | 0; + $__grouping = sp + 212 | 0; + $__buf = sp + 200 | 0; + $__a_end = sp + 196 | 0; + $__g = sp; + $__g_end = sp + 192 | 0; + $__dc = sp + 188 | 0; + $call = __ZNSt3__214__num_get_base10__get_baseERNS_8ios_baseE($__iob) | 0; + $call2 = __ZNKSt3__29__num_getIcE10__do_widenERNS_8ios_baseEPc($this, $__iob, sp + 160 | 0) | 0; + __ZNSt3__29__num_getIcE17__stage2_int_prepERNS_8ios_baseERc($__grouping, $__iob, $__thousands_sep); + HEAP32[$__buf >> 2] = 0; + HEAP32[$__buf + 4 >> 2] = 0; + HEAP32[$__buf + 8 >> 2] = 0; + $__i$0$i$i = 0; while (1) { - if (($$0$i$i | 0) == 3) break; - HEAP32[$9 + ($$0$i$i << 2) >> 2] = 0; - $$0$i$i = $$0$i$i + 1 | 0; - } - $18 = $9 + 11 | 0; - $21 = $9 + 8 | 0; - if ((HEAP8[$18 >> 0] | 0) < 0) $24 = (HEAP32[$21 >> 2] & 2147483647) + -1 | 0; else $24 = 10; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($9, $24, 0); - $28 = (HEAP8[$18 >> 0] | 0) < 0 ? HEAP32[$9 >> 2] | 0 : $9; - HEAP32[$10 >> 2] = $28; - HEAP32[$12 >> 2] = $11; - HEAP32[$13 >> 2] = 0; - $29 = $9 + 4 | 0; - $$pre = HEAP32[$1 >> 2] | 0; - $$0 = $28; - $153 = $$pre; - $31 = $$pre; + if (($__i$0$i$i | 0) == 3) break; + HEAP32[$__buf + ($__i$0$i$i << 2) >> 2] = 0; + $__i$0$i$i = $__i$0$i$i + 1 | 0; + } + $__size_$i$i = $__buf + 11 | 0; + $__cap_$i$i = $__buf + 8 | 0; + if ((HEAP8[$__size_$i$i >> 0] | 0) < 0) $cond$i = (HEAP32[$__cap_$i$i >> 2] & 2147483647) + -1 | 0; else $cond$i = 10; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($__buf, $cond$i, 0); + $cond$i$i = (HEAP8[$__size_$i$i >> 0] | 0) < 0 ? HEAP32[$__buf >> 2] | 0 : $__buf; + HEAP32[$__a_end >> 2] = $cond$i$i; + HEAP32[$__g_end >> 2] = $__g; + HEAP32[$__dc >> 2] = 0; + $__size_$i3$i = $__buf + 4 | 0; + $$pre = HEAP32[$__b >> 2] | 0; + $4 = $$pre; + $48 = $$pre; + $__a$0 = $cond$i$i; L8 : while (1) { - if ($31) { - $33 = HEAP32[$31 + 12 >> 2] | 0; - if (($33 | 0) == (HEAP32[$31 + 16 >> 2] | 0)) $$0$i$i$i$i25 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$31 >> 2] | 0) + 36 >> 2] & 127]($31) | 0; else $$0$i$i$i$i25 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$33 >> 0] | 0) | 0; - if (__ZNSt3__211char_traitsIcE11eq_int_typeEii($$0$i$i$i$i25, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { - HEAP32[$1 >> 2] = 0; - $128 = 0; - $154 = 1; - $80 = 0; + if ($4) { + $5 = HEAP32[$4 + 12 >> 2] | 0; + if (($5 | 0) == (HEAP32[$4 + 16 >> 2] | 0)) $retval$0$i$i$i$i28 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$4 >> 2] | 0) + 36 >> 2] & 127]($4) | 0; else $retval$0$i$i$i$i28 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$5 >> 0] | 0) | 0; + if (__ZNSt3__211char_traitsIcE11eq_int_typeEii($retval$0$i$i$i$i28, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { + HEAP32[$__b >> 2] = 0; + $21 = 0; + $39 = 0; + $49 = 1; } else { - $128 = $153; - $154 = 0; - $80 = $31; + $21 = $4; + $39 = $48; + $49 = 0; } } else { - $128 = 0; - $154 = 1; - $80 = 0; + $21 = 0; + $39 = 0; + $49 = 1; } - $45 = HEAP32[$2 >> 2] | 0; - do if ($45) { - $48 = HEAP32[$45 + 12 >> 2] | 0; - if (($48 | 0) == (HEAP32[$45 + 16 >> 2] | 0)) $$0$i$i2$i$i31 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$45 >> 2] | 0) + 36 >> 2] & 127]($45) | 0; else $$0$i$i2$i$i31 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$48 >> 0] | 0) | 0; - if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii($$0$i$i2$i$i31, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if ($154) { - $155 = $45; + $9 = HEAP32[$__e >> 2] | 0; + do if ($9) { + $10 = HEAP32[$9 + 12 >> 2] | 0; + if (($10 | 0) == (HEAP32[$9 + 16 >> 2] | 0)) $retval$0$i$i13$i$i49 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$9 >> 2] | 0) + 36 >> 2] & 127]($9) | 0; else $retval$0$i$i13$i$i49 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$10 >> 0] | 0) | 0; + if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii($retval$0$i$i13$i$i49, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if ($49) { + $50 = $9; break; } else { - $$2 = $$0; - $137 = $45; + $42 = $9; + $__a$2 = $__a$0; break L8; } else { - HEAP32[$2 >> 2] = 0; + HEAP32[$__e >> 2] = 0; label = 19; break; } } else label = 19; while (0); if ((label | 0) == 19) { label = 0; - if ($154) { - $$2 = $$0; - $137 = 0; - break; - } else $155 = 0; - } - $61 = HEAP8[$18 >> 0] | 0; - $65 = $61 << 24 >> 24 < 0 ? HEAP32[$29 >> 2] | 0 : $61 & 255; - if ((HEAP32[$10 >> 2] | 0) == ($$0 + $65 | 0)) { - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($9, $65 << 1, 0); - if ((HEAP8[$18 >> 0] | 0) < 0) $73 = (HEAP32[$21 >> 2] & 2147483647) + -1 | 0; else $73 = 10; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($9, $73, 0); - $77 = (HEAP8[$18 >> 0] | 0) < 0 ? HEAP32[$9 >> 2] | 0 : $9; - HEAP32[$10 >> 2] = $77 + $65; - $$1 = $77; - } else $$1 = $$0; - $79 = $80 + 12 | 0; - $81 = HEAP32[$79 >> 2] | 0; - $82 = $80 + 16 | 0; - if (($81 | 0) == (HEAP32[$82 >> 2] | 0)) $$0$i$i41 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$80 >> 2] | 0) + 36 >> 2] & 127]($80) | 0; else $$0$i$i41 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$81 >> 0] | 0) | 0; - if (__ZNSt3__29__num_getIcE17__stage2_int_loopEciPcRS2_RjcRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSD_PKc($$0$i$i41 & 255, $14, $$1, $10, $13, HEAP8[$6 >> 0] | 0, $8, $11, $12, $15) | 0) { - $$2 = $$1; - $137 = $155; - break; - } - $95 = HEAP32[$79 >> 2] | 0; - if (($95 | 0) == (HEAP32[$82 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$80 >> 2] | 0) + 40 >> 2] & 127]($80) | 0; else { - HEAP32[$79 >> 2] = $95 + 1; - __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$95 >> 0] | 0) | 0; - } - $$0 = $$1; - $153 = $128; - $31 = $80; - } - $104 = HEAP8[$8 + 11 >> 0] | 0; - if (($104 << 24 >> 24 < 0 ? HEAP32[$8 + 4 >> 2] | 0 : $104 & 255) | 0 ? ($111 = HEAP32[$12 >> 2] | 0, ($111 - $11 | 0) < 160) : 0) { - $116 = HEAP32[$13 >> 2] | 0; - HEAP32[$12 >> 2] = $111 + 4; - HEAP32[$111 >> 2] = $116; - } - $119 = __ZNSt3__227__num_get_unsigned_integralIjEET_PKcS3_Rji($$2, HEAP32[$10 >> 2] | 0, $4, $14) | 0; - HEAP32[$5 >> 2] = $119; - __ZNSt3__216__check_groupingERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjS8_Rj($8, $11, HEAP32[$12 >> 2] | 0, $4); - if ($80) { - $123 = HEAP32[$80 + 12 >> 2] | 0; - if (($123 | 0) == (HEAP32[$80 + 16 >> 2] | 0)) $$0$i$i$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$128 >> 2] | 0) + 36 >> 2] & 127]($80) | 0; else $$0$i$i$i$i = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$123 >> 0] | 0) | 0; - if (__ZNSt3__211char_traitsIcE11eq_int_typeEii($$0$i$i$i$i, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { - HEAP32[$1 >> 2] = 0; - $156 = 1; - } else $156 = 0; - } else $156 = 1; - do if ($137) { - $139 = HEAP32[$137 + 12 >> 2] | 0; - if (($139 | 0) == (HEAP32[$137 + 16 >> 2] | 0)) $$0$i$i2$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$137 >> 2] | 0) + 36 >> 2] & 127]($137) | 0; else $$0$i$i2$i$i = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$139 >> 0] | 0) | 0; - if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii($$0$i$i2$i$i, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if ($156) break; else { + if ($49) { + $42 = 0; + $__a$2 = $__a$0; + break; + } else $50 = 0; + } + $15 = HEAP8[$__size_$i$i >> 0] | 0; + $cond$i61 = $15 << 24 >> 24 < 0 ? HEAP32[$__size_$i3$i >> 2] | 0 : $15 & 255; + if ((HEAP32[$__a_end >> 2] | 0) == ($__a$0 + $cond$i61 | 0)) { + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($__buf, $cond$i61 << 1, 0); + if ((HEAP8[$__size_$i$i >> 0] | 0) < 0) $cond$i87 = (HEAP32[$__cap_$i$i >> 2] & 2147483647) + -1 | 0; else $cond$i87 = 10; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($__buf, $cond$i87, 0); + $cond$i$i96 = (HEAP8[$__size_$i$i >> 0] | 0) < 0 ? HEAP32[$__buf >> 2] | 0 : $__buf; + HEAP32[$__a_end >> 2] = $cond$i$i96 + $cond$i61; + $__a$1 = $cond$i$i96; + } else $__a$1 = $__a$0; + $__ninp_$i$i = $21 + 12 | 0; + $22 = HEAP32[$__ninp_$i$i >> 2] | 0; + $__einp_$i$i = $21 + 16 | 0; + if (($22 | 0) == (HEAP32[$__einp_$i$i >> 2] | 0)) $retval$0$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$21 >> 2] | 0) + 36 >> 2] & 127]($21) | 0; else $retval$0$i$i = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$22 >> 0] | 0) | 0; + if (__ZNSt3__29__num_getIcE17__stage2_int_loopEciPcRS2_RjcRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSD_PKc($retval$0$i$i & 255, $call, $__a$1, $__a_end, $__dc, HEAP8[$__thousands_sep >> 0] | 0, $__grouping, $__g, $__g_end, $call2) | 0) { + $42 = $50; + $__a$2 = $__a$1; + break; + } + $27 = HEAP32[$__ninp_$i$i >> 2] | 0; + if (($27 | 0) == (HEAP32[$__einp_$i$i >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$21 >> 2] | 0) + 40 >> 2] & 127]($21) | 0; else { + HEAP32[$__ninp_$i$i >> 2] = $27 + 1; + __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$27 >> 0] | 0) | 0; + } + $4 = $21; + $48 = $39; + $__a$0 = $__a$1; + } + $31 = HEAP8[$__grouping + 11 >> 0] | 0; + if (($31 << 24 >> 24 < 0 ? HEAP32[$__grouping + 4 >> 2] | 0 : $31 & 255) | 0 ? ($33 = HEAP32[$__g_end >> 2] | 0, ($33 - $__g | 0) < 160) : 0) { + $34 = HEAP32[$__dc >> 2] | 0; + HEAP32[$__g_end >> 2] = $33 + 4; + HEAP32[$33 >> 2] = $34; + } + $call25 = __ZNSt3__227__num_get_unsigned_integralIjEET_PKcS3_Rji($__a$2, HEAP32[$__a_end >> 2] | 0, $__err, $call) | 0; + HEAP32[$__v >> 2] = $call25; + __ZNSt3__216__check_groupingERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjS8_Rj($__grouping, $__g, HEAP32[$__g_end >> 2] | 0, $__err); + if ($21) { + $37 = HEAP32[$21 + 12 >> 2] | 0; + if (($37 | 0) == (HEAP32[$21 + 16 >> 2] | 0)) $retval$0$i$i$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$39 >> 2] | 0) + 36 >> 2] & 127]($21) | 0; else $retval$0$i$i$i$i = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$37 >> 0] | 0) | 0; + if (__ZNSt3__211char_traitsIcE11eq_int_typeEii($retval$0$i$i$i$i, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { + HEAP32[$__b >> 2] = 0; + $51 = 1; + } else $51 = 0; + } else $51 = 1; + do if ($42) { + $43 = HEAP32[$42 + 12 >> 2] | 0; + if (($43 | 0) == (HEAP32[$42 + 16 >> 2] | 0)) $retval$0$i$i13$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$42 >> 2] | 0) + 36 >> 2] & 127]($42) | 0; else $retval$0$i$i13$i$i = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$43 >> 0] | 0) | 0; + if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii($retval$0$i$i13$i$i, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if ($51) break; else { label = 50; break; } else { - HEAP32[$2 >> 2] = 0; + HEAP32[$__e >> 2] = 0; label = 48; break; } } else label = 48; while (0); - if ((label | 0) == 48 ? $156 : 0) label = 50; - if ((label | 0) == 50) HEAP32[$4 >> 2] = HEAP32[$4 >> 2] | 2; - $$sroa$0$0$copyload = HEAP32[$1 >> 2] | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($9); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($8); + if ((label | 0) == 48 ? $51 : 0) label = 50; + if ((label | 0) == 50) HEAP32[$__err >> 2] = HEAP32[$__err >> 2] | 2; + $retval$sroa$0$0$copyload = HEAP32[$__b >> 2] | 0; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($__buf); + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($__grouping); STACKTOP = sp; - return $$sroa$0$0$copyload | 0; + return $retval$sroa$0$0$copyload | 0; } -function __ZNKSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE15__do_get_signedIlEES4_S4_S4_RNS_8ios_baseERjRT_($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$0 = 0, $$0$i$i = 0, $$0$i$i$i$i = 0, $$0$i$i$i$i25 = 0, $$0$i$i2$i$i = 0, $$0$i$i2$i$i31 = 0, $$0$i$i41 = 0, $$1 = 0, $$2 = 0, $$pre = 0, $$sroa$0$0$copyload = 0, $10 = 0, $103 = 0, $11 = 0, $110 = 0, $115 = 0, $118 = 0, $12 = 0, $122 = 0, $127 = 0, $13 = 0, $136 = 0, $138 = 0, $14 = 0, $15 = 0, $152 = 0, $153 = 0, $154 = 0, $155 = 0, $18 = 0, $21 = 0, $24 = 0, $28 = 0, $29 = 0, $31 = 0, $33 = 0, $45 = 0, $48 = 0, $6 = 0, $61 = 0, $65 = 0, $73 = 0, $77 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $9 = 0, $94 = 0, label = 0, sp = 0; +function __ZNKSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE15__do_get_signedIlEES4_S4_S4_RNS_8ios_baseERjRT_($this, $__b, $__e, $__iob, $__err, $__v) { + $this = $this | 0; + $__b = $__b | 0; + $__e = $__e | 0; + $__iob = $__iob | 0; + $__err = $__err | 0; + $__v = $__v | 0; + var $$pre = 0, $10 = 0, $15 = 0, $21 = 0, $22 = 0, $27 = 0, $31 = 0, $33 = 0, $34 = 0, $37 = 0, $39 = 0, $4 = 0, $42 = 0, $43 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $9 = 0, $__a$0 = 0, $__a$1 = 0, $__a$2 = 0, $__a_end = 0, $__buf = 0, $__cap_$i$i = 0, $__dc = 0, $__einp_$i$i = 0, $__g = 0, $__g_end = 0, $__grouping = 0, $__i$0$i$i = 0, $__ninp_$i$i = 0, $__size_$i$i = 0, $__size_$i3$i = 0, $__thousands_sep = 0, $call = 0, $call2 = 0, $call25 = 0, $cond$i = 0, $cond$i$i = 0, $cond$i$i96 = 0, $cond$i61 = 0, $cond$i87 = 0, $retval$0$i$i = 0, $retval$0$i$i$i$i = 0, $retval$0$i$i$i$i28 = 0, $retval$0$i$i13$i$i = 0, $retval$0$i$i13$i$i49 = 0, $retval$sroa$0$0$copyload = 0, label = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 304 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(304); - $6 = sp + 300 | 0; - $8 = sp + 288 | 0; - $9 = sp + 276 | 0; - $10 = sp + 272 | 0; - $11 = sp; - $12 = sp + 268 | 0; - $13 = sp + 264 | 0; - $14 = __ZNSt3__214__num_get_base10__get_baseERNS_8ios_baseE($3) | 0; - $15 = __ZNKSt3__29__num_getIwE10__do_widenERNS_8ios_baseEPw($0, $3, sp + 160 | 0) | 0; - __ZNSt3__29__num_getIwE17__stage2_int_prepERNS_8ios_baseERw($8, $3, $6); - HEAP32[$9 >> 2] = 0; - HEAP32[$9 + 4 >> 2] = 0; - HEAP32[$9 + 8 >> 2] = 0; - $$0$i$i = 0; + $__thousands_sep = sp + 300 | 0; + $__grouping = sp + 288 | 0; + $__buf = sp + 276 | 0; + $__a_end = sp + 272 | 0; + $__g = sp; + $__g_end = sp + 268 | 0; + $__dc = sp + 264 | 0; + $call = __ZNSt3__214__num_get_base10__get_baseERNS_8ios_baseE($__iob) | 0; + $call2 = __ZNKSt3__29__num_getIwE10__do_widenERNS_8ios_baseEPw($this, $__iob, sp + 160 | 0) | 0; + __ZNSt3__29__num_getIwE17__stage2_int_prepERNS_8ios_baseERw($__grouping, $__iob, $__thousands_sep); + HEAP32[$__buf >> 2] = 0; + HEAP32[$__buf + 4 >> 2] = 0; + HEAP32[$__buf + 8 >> 2] = 0; + $__i$0$i$i = 0; while (1) { - if (($$0$i$i | 0) == 3) break; - HEAP32[$9 + ($$0$i$i << 2) >> 2] = 0; - $$0$i$i = $$0$i$i + 1 | 0; - } - $18 = $9 + 11 | 0; - $21 = $9 + 8 | 0; - if ((HEAP8[$18 >> 0] | 0) < 0) $24 = (HEAP32[$21 >> 2] & 2147483647) + -1 | 0; else $24 = 10; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($9, $24, 0); - $28 = (HEAP8[$18 >> 0] | 0) < 0 ? HEAP32[$9 >> 2] | 0 : $9; - HEAP32[$10 >> 2] = $28; - HEAP32[$12 >> 2] = $11; - HEAP32[$13 >> 2] = 0; - $29 = $9 + 4 | 0; - $$pre = HEAP32[$1 >> 2] | 0; - $$0 = $28; - $152 = $$pre; - $31 = $$pre; + if (($__i$0$i$i | 0) == 3) break; + HEAP32[$__buf + ($__i$0$i$i << 2) >> 2] = 0; + $__i$0$i$i = $__i$0$i$i + 1 | 0; + } + $__size_$i$i = $__buf + 11 | 0; + $__cap_$i$i = $__buf + 8 | 0; + if ((HEAP8[$__size_$i$i >> 0] | 0) < 0) $cond$i = (HEAP32[$__cap_$i$i >> 2] & 2147483647) + -1 | 0; else $cond$i = 10; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($__buf, $cond$i, 0); + $cond$i$i = (HEAP8[$__size_$i$i >> 0] | 0) < 0 ? HEAP32[$__buf >> 2] | 0 : $__buf; + HEAP32[$__a_end >> 2] = $cond$i$i; + HEAP32[$__g_end >> 2] = $__g; + HEAP32[$__dc >> 2] = 0; + $__size_$i3$i = $__buf + 4 | 0; + $$pre = HEAP32[$__b >> 2] | 0; + $4 = $$pre; + $48 = $$pre; + $__a$0 = $cond$i$i; L8 : while (1) { - if ($31) { - $33 = HEAP32[$31 + 12 >> 2] | 0; - if (($33 | 0) == (HEAP32[$31 + 16 >> 2] | 0)) $$0$i$i$i$i25 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$31 >> 2] | 0) + 36 >> 2] & 127]($31) | 0; else $$0$i$i$i$i25 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$33 >> 2] | 0) | 0; - if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj($$0$i$i$i$i25, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { - HEAP32[$1 >> 2] = 0; - $127 = 0; - $153 = 1; - $80 = 0; + if ($4) { + $5 = HEAP32[$4 + 12 >> 2] | 0; + if (($5 | 0) == (HEAP32[$4 + 16 >> 2] | 0)) $retval$0$i$i$i$i28 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$4 >> 2] | 0) + 36 >> 2] & 127]($4) | 0; else $retval$0$i$i$i$i28 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$5 >> 2] | 0) | 0; + if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj($retval$0$i$i$i$i28, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { + HEAP32[$__b >> 2] = 0; + $21 = 0; + $39 = 0; + $49 = 1; } else { - $127 = $152; - $153 = 0; - $80 = $31; + $21 = $4; + $39 = $48; + $49 = 0; } } else { - $127 = 0; - $153 = 1; - $80 = 0; + $21 = 0; + $39 = 0; + $49 = 1; } - $45 = HEAP32[$2 >> 2] | 0; - do if ($45) { - $48 = HEAP32[$45 + 12 >> 2] | 0; - if (($48 | 0) == (HEAP32[$45 + 16 >> 2] | 0)) $$0$i$i2$i$i31 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$45 >> 2] | 0) + 36 >> 2] & 127]($45) | 0; else $$0$i$i2$i$i31 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$48 >> 2] | 0) | 0; - if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj($$0$i$i2$i$i31, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if ($153) { - $154 = $45; + $9 = HEAP32[$__e >> 2] | 0; + do if ($9) { + $10 = HEAP32[$9 + 12 >> 2] | 0; + if (($10 | 0) == (HEAP32[$9 + 16 >> 2] | 0)) $retval$0$i$i13$i$i49 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$9 >> 2] | 0) + 36 >> 2] & 127]($9) | 0; else $retval$0$i$i13$i$i49 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$10 >> 2] | 0) | 0; + if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj($retval$0$i$i13$i$i49, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if ($49) { + $50 = $9; break; } else { - $$2 = $$0; - $136 = $45; + $42 = $9; + $__a$2 = $__a$0; break L8; } else { - HEAP32[$2 >> 2] = 0; + HEAP32[$__e >> 2] = 0; label = 19; break; } } else label = 19; while (0); if ((label | 0) == 19) { label = 0; - if ($153) { - $$2 = $$0; - $136 = 0; - break; - } else $154 = 0; - } - $61 = HEAP8[$18 >> 0] | 0; - $65 = $61 << 24 >> 24 < 0 ? HEAP32[$29 >> 2] | 0 : $61 & 255; - if ((HEAP32[$10 >> 2] | 0) == ($$0 + $65 | 0)) { - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($9, $65 << 1, 0); - if ((HEAP8[$18 >> 0] | 0) < 0) $73 = (HEAP32[$21 >> 2] & 2147483647) + -1 | 0; else $73 = 10; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($9, $73, 0); - $77 = (HEAP8[$18 >> 0] | 0) < 0 ? HEAP32[$9 >> 2] | 0 : $9; - HEAP32[$10 >> 2] = $77 + $65; - $$1 = $77; - } else $$1 = $$0; - $79 = $80 + 12 | 0; - $81 = HEAP32[$79 >> 2] | 0; - $82 = $80 + 16 | 0; - if (($81 | 0) == (HEAP32[$82 >> 2] | 0)) $$0$i$i41 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$80 >> 2] | 0) + 36 >> 2] & 127]($80) | 0; else $$0$i$i41 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$81 >> 2] | 0) | 0; - if (__ZNSt3__29__num_getIwE17__stage2_int_loopEwiPcRS2_RjwRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSD_PKw($$0$i$i41, $14, $$1, $10, $13, HEAP32[$6 >> 2] | 0, $8, $11, $12, $15) | 0) { - $$2 = $$1; - $136 = $154; - break; - } - $94 = HEAP32[$79 >> 2] | 0; - if (($94 | 0) == (HEAP32[$82 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$80 >> 2] | 0) + 40 >> 2] & 127]($80) | 0; else { - HEAP32[$79 >> 2] = $94 + 4; - __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$94 >> 2] | 0) | 0; - } - $$0 = $$1; - $152 = $127; - $31 = $80; - } - $103 = HEAP8[$8 + 11 >> 0] | 0; - if (($103 << 24 >> 24 < 0 ? HEAP32[$8 + 4 >> 2] | 0 : $103 & 255) | 0 ? ($110 = HEAP32[$12 >> 2] | 0, ($110 - $11 | 0) < 160) : 0) { - $115 = HEAP32[$13 >> 2] | 0; - HEAP32[$12 >> 2] = $110 + 4; - HEAP32[$110 >> 2] = $115; - } - $118 = __ZNSt3__225__num_get_signed_integralIlEET_PKcS3_Rji($$2, HEAP32[$10 >> 2] | 0, $4, $14) | 0; - HEAP32[$5 >> 2] = $118; - __ZNSt3__216__check_groupingERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjS8_Rj($8, $11, HEAP32[$12 >> 2] | 0, $4); - if ($80) { - $122 = HEAP32[$80 + 12 >> 2] | 0; - if (($122 | 0) == (HEAP32[$80 + 16 >> 2] | 0)) $$0$i$i$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$127 >> 2] | 0) + 36 >> 2] & 127]($80) | 0; else $$0$i$i$i$i = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$122 >> 2] | 0) | 0; - if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj($$0$i$i$i$i, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { - HEAP32[$1 >> 2] = 0; - $155 = 1; - } else $155 = 0; - } else $155 = 1; - do if ($136) { - $138 = HEAP32[$136 + 12 >> 2] | 0; - if (($138 | 0) == (HEAP32[$136 + 16 >> 2] | 0)) $$0$i$i2$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$136 >> 2] | 0) + 36 >> 2] & 127]($136) | 0; else $$0$i$i2$i$i = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$138 >> 2] | 0) | 0; - if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj($$0$i$i2$i$i, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if ($155) break; else { + if ($49) { + $42 = 0; + $__a$2 = $__a$0; + break; + } else $50 = 0; + } + $15 = HEAP8[$__size_$i$i >> 0] | 0; + $cond$i61 = $15 << 24 >> 24 < 0 ? HEAP32[$__size_$i3$i >> 2] | 0 : $15 & 255; + if ((HEAP32[$__a_end >> 2] | 0) == ($__a$0 + $cond$i61 | 0)) { + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($__buf, $cond$i61 << 1, 0); + if ((HEAP8[$__size_$i$i >> 0] | 0) < 0) $cond$i87 = (HEAP32[$__cap_$i$i >> 2] & 2147483647) + -1 | 0; else $cond$i87 = 10; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($__buf, $cond$i87, 0); + $cond$i$i96 = (HEAP8[$__size_$i$i >> 0] | 0) < 0 ? HEAP32[$__buf >> 2] | 0 : $__buf; + HEAP32[$__a_end >> 2] = $cond$i$i96 + $cond$i61; + $__a$1 = $cond$i$i96; + } else $__a$1 = $__a$0; + $__ninp_$i$i = $21 + 12 | 0; + $22 = HEAP32[$__ninp_$i$i >> 2] | 0; + $__einp_$i$i = $21 + 16 | 0; + if (($22 | 0) == (HEAP32[$__einp_$i$i >> 2] | 0)) $retval$0$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$21 >> 2] | 0) + 36 >> 2] & 127]($21) | 0; else $retval$0$i$i = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$22 >> 2] | 0) | 0; + if (__ZNSt3__29__num_getIwE17__stage2_int_loopEwiPcRS2_RjwRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSD_PKw($retval$0$i$i, $call, $__a$1, $__a_end, $__dc, HEAP32[$__thousands_sep >> 2] | 0, $__grouping, $__g, $__g_end, $call2) | 0) { + $42 = $50; + $__a$2 = $__a$1; + break; + } + $27 = HEAP32[$__ninp_$i$i >> 2] | 0; + if (($27 | 0) == (HEAP32[$__einp_$i$i >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$21 >> 2] | 0) + 40 >> 2] & 127]($21) | 0; else { + HEAP32[$__ninp_$i$i >> 2] = $27 + 4; + __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$27 >> 2] | 0) | 0; + } + $4 = $21; + $48 = $39; + $__a$0 = $__a$1; + } + $31 = HEAP8[$__grouping + 11 >> 0] | 0; + if (($31 << 24 >> 24 < 0 ? HEAP32[$__grouping + 4 >> 2] | 0 : $31 & 255) | 0 ? ($33 = HEAP32[$__g_end >> 2] | 0, ($33 - $__g | 0) < 160) : 0) { + $34 = HEAP32[$__dc >> 2] | 0; + HEAP32[$__g_end >> 2] = $33 + 4; + HEAP32[$33 >> 2] = $34; + } + $call25 = __ZNSt3__225__num_get_signed_integralIlEET_PKcS3_Rji($__a$2, HEAP32[$__a_end >> 2] | 0, $__err, $call) | 0; + HEAP32[$__v >> 2] = $call25; + __ZNSt3__216__check_groupingERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjS8_Rj($__grouping, $__g, HEAP32[$__g_end >> 2] | 0, $__err); + if ($21) { + $37 = HEAP32[$21 + 12 >> 2] | 0; + if (($37 | 0) == (HEAP32[$21 + 16 >> 2] | 0)) $retval$0$i$i$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$39 >> 2] | 0) + 36 >> 2] & 127]($21) | 0; else $retval$0$i$i$i$i = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$37 >> 2] | 0) | 0; + if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj($retval$0$i$i$i$i, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { + HEAP32[$__b >> 2] = 0; + $51 = 1; + } else $51 = 0; + } else $51 = 1; + do if ($42) { + $43 = HEAP32[$42 + 12 >> 2] | 0; + if (($43 | 0) == (HEAP32[$42 + 16 >> 2] | 0)) $retval$0$i$i13$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$42 >> 2] | 0) + 36 >> 2] & 127]($42) | 0; else $retval$0$i$i13$i$i = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$43 >> 2] | 0) | 0; + if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj($retval$0$i$i13$i$i, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if ($51) break; else { label = 50; break; } else { - HEAP32[$2 >> 2] = 0; + HEAP32[$__e >> 2] = 0; label = 48; break; } } else label = 48; while (0); - if ((label | 0) == 48 ? $155 : 0) label = 50; - if ((label | 0) == 50) HEAP32[$4 >> 2] = HEAP32[$4 >> 2] | 2; - $$sroa$0$0$copyload = HEAP32[$1 >> 2] | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($9); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($8); + if ((label | 0) == 48 ? $51 : 0) label = 50; + if ((label | 0) == 50) HEAP32[$__err >> 2] = HEAP32[$__err >> 2] | 2; + $retval$sroa$0$0$copyload = HEAP32[$__b >> 2] | 0; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($__buf); + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($__grouping); STACKTOP = sp; - return $$sroa$0$0$copyload | 0; + return $retval$sroa$0$0$copyload | 0; } -function __ZNKSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE15__do_get_signedIlEES4_S4_S4_RNS_8ios_baseERjRT_($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$0 = 0, $$0$i$i = 0, $$0$i$i$i$i = 0, $$0$i$i$i$i25 = 0, $$0$i$i2$i$i = 0, $$0$i$i2$i$i31 = 0, $$0$i$i41 = 0, $$1 = 0, $$2 = 0, $$pre = 0, $$sroa$0$0$copyload = 0, $10 = 0, $104 = 0, $11 = 0, $111 = 0, $116 = 0, $119 = 0, $12 = 0, $123 = 0, $128 = 0, $13 = 0, $137 = 0, $139 = 0, $14 = 0, $15 = 0, $153 = 0, $154 = 0, $155 = 0, $156 = 0, $18 = 0, $21 = 0, $24 = 0, $28 = 0, $29 = 0, $31 = 0, $33 = 0, $45 = 0, $48 = 0, $6 = 0, $61 = 0, $65 = 0, $73 = 0, $77 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $9 = 0, $95 = 0, label = 0, sp = 0; +function __ZNKSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE15__do_get_signedIlEES4_S4_S4_RNS_8ios_baseERjRT_($this, $__b, $__e, $__iob, $__err, $__v) { + $this = $this | 0; + $__b = $__b | 0; + $__e = $__e | 0; + $__iob = $__iob | 0; + $__err = $__err | 0; + $__v = $__v | 0; + var $$pre = 0, $10 = 0, $15 = 0, $21 = 0, $22 = 0, $27 = 0, $31 = 0, $33 = 0, $34 = 0, $37 = 0, $39 = 0, $4 = 0, $42 = 0, $43 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $9 = 0, $__a$0 = 0, $__a$1 = 0, $__a$2 = 0, $__a_end = 0, $__buf = 0, $__cap_$i$i = 0, $__dc = 0, $__einp_$i$i = 0, $__g = 0, $__g_end = 0, $__grouping = 0, $__i$0$i$i = 0, $__ninp_$i$i = 0, $__size_$i$i = 0, $__size_$i3$i = 0, $__thousands_sep = 0, $call = 0, $call2 = 0, $call25 = 0, $cond$i = 0, $cond$i$i = 0, $cond$i$i96 = 0, $cond$i61 = 0, $cond$i87 = 0, $retval$0$i$i = 0, $retval$0$i$i$i$i = 0, $retval$0$i$i$i$i28 = 0, $retval$0$i$i13$i$i = 0, $retval$0$i$i13$i$i49 = 0, $retval$sroa$0$0$copyload = 0, label = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 240 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(240); - $6 = sp + 224 | 0; - $8 = sp + 212 | 0; - $9 = sp + 200 | 0; - $10 = sp + 196 | 0; - $11 = sp; - $12 = sp + 192 | 0; - $13 = sp + 188 | 0; - $14 = __ZNSt3__214__num_get_base10__get_baseERNS_8ios_baseE($3) | 0; - $15 = __ZNKSt3__29__num_getIcE10__do_widenERNS_8ios_baseEPc($0, $3, sp + 160 | 0) | 0; - __ZNSt3__29__num_getIcE17__stage2_int_prepERNS_8ios_baseERc($8, $3, $6); - HEAP32[$9 >> 2] = 0; - HEAP32[$9 + 4 >> 2] = 0; - HEAP32[$9 + 8 >> 2] = 0; - $$0$i$i = 0; + $__thousands_sep = sp + 224 | 0; + $__grouping = sp + 212 | 0; + $__buf = sp + 200 | 0; + $__a_end = sp + 196 | 0; + $__g = sp; + $__g_end = sp + 192 | 0; + $__dc = sp + 188 | 0; + $call = __ZNSt3__214__num_get_base10__get_baseERNS_8ios_baseE($__iob) | 0; + $call2 = __ZNKSt3__29__num_getIcE10__do_widenERNS_8ios_baseEPc($this, $__iob, sp + 160 | 0) | 0; + __ZNSt3__29__num_getIcE17__stage2_int_prepERNS_8ios_baseERc($__grouping, $__iob, $__thousands_sep); + HEAP32[$__buf >> 2] = 0; + HEAP32[$__buf + 4 >> 2] = 0; + HEAP32[$__buf + 8 >> 2] = 0; + $__i$0$i$i = 0; while (1) { - if (($$0$i$i | 0) == 3) break; - HEAP32[$9 + ($$0$i$i << 2) >> 2] = 0; - $$0$i$i = $$0$i$i + 1 | 0; - } - $18 = $9 + 11 | 0; - $21 = $9 + 8 | 0; - if ((HEAP8[$18 >> 0] | 0) < 0) $24 = (HEAP32[$21 >> 2] & 2147483647) + -1 | 0; else $24 = 10; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($9, $24, 0); - $28 = (HEAP8[$18 >> 0] | 0) < 0 ? HEAP32[$9 >> 2] | 0 : $9; - HEAP32[$10 >> 2] = $28; - HEAP32[$12 >> 2] = $11; - HEAP32[$13 >> 2] = 0; - $29 = $9 + 4 | 0; - $$pre = HEAP32[$1 >> 2] | 0; - $$0 = $28; - $153 = $$pre; - $31 = $$pre; + if (($__i$0$i$i | 0) == 3) break; + HEAP32[$__buf + ($__i$0$i$i << 2) >> 2] = 0; + $__i$0$i$i = $__i$0$i$i + 1 | 0; + } + $__size_$i$i = $__buf + 11 | 0; + $__cap_$i$i = $__buf + 8 | 0; + if ((HEAP8[$__size_$i$i >> 0] | 0) < 0) $cond$i = (HEAP32[$__cap_$i$i >> 2] & 2147483647) + -1 | 0; else $cond$i = 10; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($__buf, $cond$i, 0); + $cond$i$i = (HEAP8[$__size_$i$i >> 0] | 0) < 0 ? HEAP32[$__buf >> 2] | 0 : $__buf; + HEAP32[$__a_end >> 2] = $cond$i$i; + HEAP32[$__g_end >> 2] = $__g; + HEAP32[$__dc >> 2] = 0; + $__size_$i3$i = $__buf + 4 | 0; + $$pre = HEAP32[$__b >> 2] | 0; + $4 = $$pre; + $48 = $$pre; + $__a$0 = $cond$i$i; L8 : while (1) { - if ($31) { - $33 = HEAP32[$31 + 12 >> 2] | 0; - if (($33 | 0) == (HEAP32[$31 + 16 >> 2] | 0)) $$0$i$i$i$i25 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$31 >> 2] | 0) + 36 >> 2] & 127]($31) | 0; else $$0$i$i$i$i25 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$33 >> 0] | 0) | 0; - if (__ZNSt3__211char_traitsIcE11eq_int_typeEii($$0$i$i$i$i25, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { - HEAP32[$1 >> 2] = 0; - $128 = 0; - $154 = 1; - $80 = 0; + if ($4) { + $5 = HEAP32[$4 + 12 >> 2] | 0; + if (($5 | 0) == (HEAP32[$4 + 16 >> 2] | 0)) $retval$0$i$i$i$i28 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$4 >> 2] | 0) + 36 >> 2] & 127]($4) | 0; else $retval$0$i$i$i$i28 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$5 >> 0] | 0) | 0; + if (__ZNSt3__211char_traitsIcE11eq_int_typeEii($retval$0$i$i$i$i28, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { + HEAP32[$__b >> 2] = 0; + $21 = 0; + $39 = 0; + $49 = 1; } else { - $128 = $153; - $154 = 0; - $80 = $31; + $21 = $4; + $39 = $48; + $49 = 0; } } else { - $128 = 0; - $154 = 1; - $80 = 0; + $21 = 0; + $39 = 0; + $49 = 1; } - $45 = HEAP32[$2 >> 2] | 0; - do if ($45) { - $48 = HEAP32[$45 + 12 >> 2] | 0; - if (($48 | 0) == (HEAP32[$45 + 16 >> 2] | 0)) $$0$i$i2$i$i31 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$45 >> 2] | 0) + 36 >> 2] & 127]($45) | 0; else $$0$i$i2$i$i31 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$48 >> 0] | 0) | 0; - if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii($$0$i$i2$i$i31, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if ($154) { - $155 = $45; + $9 = HEAP32[$__e >> 2] | 0; + do if ($9) { + $10 = HEAP32[$9 + 12 >> 2] | 0; + if (($10 | 0) == (HEAP32[$9 + 16 >> 2] | 0)) $retval$0$i$i13$i$i49 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$9 >> 2] | 0) + 36 >> 2] & 127]($9) | 0; else $retval$0$i$i13$i$i49 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$10 >> 0] | 0) | 0; + if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii($retval$0$i$i13$i$i49, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if ($49) { + $50 = $9; break; } else { - $$2 = $$0; - $137 = $45; + $42 = $9; + $__a$2 = $__a$0; break L8; } else { - HEAP32[$2 >> 2] = 0; + HEAP32[$__e >> 2] = 0; label = 19; break; } } else label = 19; while (0); if ((label | 0) == 19) { label = 0; - if ($154) { - $$2 = $$0; - $137 = 0; - break; - } else $155 = 0; - } - $61 = HEAP8[$18 >> 0] | 0; - $65 = $61 << 24 >> 24 < 0 ? HEAP32[$29 >> 2] | 0 : $61 & 255; - if ((HEAP32[$10 >> 2] | 0) == ($$0 + $65 | 0)) { - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($9, $65 << 1, 0); - if ((HEAP8[$18 >> 0] | 0) < 0) $73 = (HEAP32[$21 >> 2] & 2147483647) + -1 | 0; else $73 = 10; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($9, $73, 0); - $77 = (HEAP8[$18 >> 0] | 0) < 0 ? HEAP32[$9 >> 2] | 0 : $9; - HEAP32[$10 >> 2] = $77 + $65; - $$1 = $77; - } else $$1 = $$0; - $79 = $80 + 12 | 0; - $81 = HEAP32[$79 >> 2] | 0; - $82 = $80 + 16 | 0; - if (($81 | 0) == (HEAP32[$82 >> 2] | 0)) $$0$i$i41 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$80 >> 2] | 0) + 36 >> 2] & 127]($80) | 0; else $$0$i$i41 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$81 >> 0] | 0) | 0; - if (__ZNSt3__29__num_getIcE17__stage2_int_loopEciPcRS2_RjcRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSD_PKc($$0$i$i41 & 255, $14, $$1, $10, $13, HEAP8[$6 >> 0] | 0, $8, $11, $12, $15) | 0) { - $$2 = $$1; - $137 = $155; - break; - } - $95 = HEAP32[$79 >> 2] | 0; - if (($95 | 0) == (HEAP32[$82 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$80 >> 2] | 0) + 40 >> 2] & 127]($80) | 0; else { - HEAP32[$79 >> 2] = $95 + 1; - __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$95 >> 0] | 0) | 0; - } - $$0 = $$1; - $153 = $128; - $31 = $80; - } - $104 = HEAP8[$8 + 11 >> 0] | 0; - if (($104 << 24 >> 24 < 0 ? HEAP32[$8 + 4 >> 2] | 0 : $104 & 255) | 0 ? ($111 = HEAP32[$12 >> 2] | 0, ($111 - $11 | 0) < 160) : 0) { - $116 = HEAP32[$13 >> 2] | 0; - HEAP32[$12 >> 2] = $111 + 4; - HEAP32[$111 >> 2] = $116; - } - $119 = __ZNSt3__225__num_get_signed_integralIlEET_PKcS3_Rji($$2, HEAP32[$10 >> 2] | 0, $4, $14) | 0; - HEAP32[$5 >> 2] = $119; - __ZNSt3__216__check_groupingERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjS8_Rj($8, $11, HEAP32[$12 >> 2] | 0, $4); - if ($80) { - $123 = HEAP32[$80 + 12 >> 2] | 0; - if (($123 | 0) == (HEAP32[$80 + 16 >> 2] | 0)) $$0$i$i$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$128 >> 2] | 0) + 36 >> 2] & 127]($80) | 0; else $$0$i$i$i$i = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$123 >> 0] | 0) | 0; - if (__ZNSt3__211char_traitsIcE11eq_int_typeEii($$0$i$i$i$i, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { - HEAP32[$1 >> 2] = 0; - $156 = 1; - } else $156 = 0; - } else $156 = 1; - do if ($137) { - $139 = HEAP32[$137 + 12 >> 2] | 0; - if (($139 | 0) == (HEAP32[$137 + 16 >> 2] | 0)) $$0$i$i2$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$137 >> 2] | 0) + 36 >> 2] & 127]($137) | 0; else $$0$i$i2$i$i = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$139 >> 0] | 0) | 0; - if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii($$0$i$i2$i$i, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if ($156) break; else { + if ($49) { + $42 = 0; + $__a$2 = $__a$0; + break; + } else $50 = 0; + } + $15 = HEAP8[$__size_$i$i >> 0] | 0; + $cond$i61 = $15 << 24 >> 24 < 0 ? HEAP32[$__size_$i3$i >> 2] | 0 : $15 & 255; + if ((HEAP32[$__a_end >> 2] | 0) == ($__a$0 + $cond$i61 | 0)) { + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($__buf, $cond$i61 << 1, 0); + if ((HEAP8[$__size_$i$i >> 0] | 0) < 0) $cond$i87 = (HEAP32[$__cap_$i$i >> 2] & 2147483647) + -1 | 0; else $cond$i87 = 10; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($__buf, $cond$i87, 0); + $cond$i$i96 = (HEAP8[$__size_$i$i >> 0] | 0) < 0 ? HEAP32[$__buf >> 2] | 0 : $__buf; + HEAP32[$__a_end >> 2] = $cond$i$i96 + $cond$i61; + $__a$1 = $cond$i$i96; + } else $__a$1 = $__a$0; + $__ninp_$i$i = $21 + 12 | 0; + $22 = HEAP32[$__ninp_$i$i >> 2] | 0; + $__einp_$i$i = $21 + 16 | 0; + if (($22 | 0) == (HEAP32[$__einp_$i$i >> 2] | 0)) $retval$0$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$21 >> 2] | 0) + 36 >> 2] & 127]($21) | 0; else $retval$0$i$i = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$22 >> 0] | 0) | 0; + if (__ZNSt3__29__num_getIcE17__stage2_int_loopEciPcRS2_RjcRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSD_PKc($retval$0$i$i & 255, $call, $__a$1, $__a_end, $__dc, HEAP8[$__thousands_sep >> 0] | 0, $__grouping, $__g, $__g_end, $call2) | 0) { + $42 = $50; + $__a$2 = $__a$1; + break; + } + $27 = HEAP32[$__ninp_$i$i >> 2] | 0; + if (($27 | 0) == (HEAP32[$__einp_$i$i >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$21 >> 2] | 0) + 40 >> 2] & 127]($21) | 0; else { + HEAP32[$__ninp_$i$i >> 2] = $27 + 1; + __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$27 >> 0] | 0) | 0; + } + $4 = $21; + $48 = $39; + $__a$0 = $__a$1; + } + $31 = HEAP8[$__grouping + 11 >> 0] | 0; + if (($31 << 24 >> 24 < 0 ? HEAP32[$__grouping + 4 >> 2] | 0 : $31 & 255) | 0 ? ($33 = HEAP32[$__g_end >> 2] | 0, ($33 - $__g | 0) < 160) : 0) { + $34 = HEAP32[$__dc >> 2] | 0; + HEAP32[$__g_end >> 2] = $33 + 4; + HEAP32[$33 >> 2] = $34; + } + $call25 = __ZNSt3__225__num_get_signed_integralIlEET_PKcS3_Rji($__a$2, HEAP32[$__a_end >> 2] | 0, $__err, $call) | 0; + HEAP32[$__v >> 2] = $call25; + __ZNSt3__216__check_groupingERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjS8_Rj($__grouping, $__g, HEAP32[$__g_end >> 2] | 0, $__err); + if ($21) { + $37 = HEAP32[$21 + 12 >> 2] | 0; + if (($37 | 0) == (HEAP32[$21 + 16 >> 2] | 0)) $retval$0$i$i$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$39 >> 2] | 0) + 36 >> 2] & 127]($21) | 0; else $retval$0$i$i$i$i = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$37 >> 0] | 0) | 0; + if (__ZNSt3__211char_traitsIcE11eq_int_typeEii($retval$0$i$i$i$i, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { + HEAP32[$__b >> 2] = 0; + $51 = 1; + } else $51 = 0; + } else $51 = 1; + do if ($42) { + $43 = HEAP32[$42 + 12 >> 2] | 0; + if (($43 | 0) == (HEAP32[$42 + 16 >> 2] | 0)) $retval$0$i$i13$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$42 >> 2] | 0) + 36 >> 2] & 127]($42) | 0; else $retval$0$i$i13$i$i = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$43 >> 0] | 0) | 0; + if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii($retval$0$i$i13$i$i, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if ($51) break; else { label = 50; break; } else { - HEAP32[$2 >> 2] = 0; + HEAP32[$__e >> 2] = 0; label = 48; break; } } else label = 48; while (0); - if ((label | 0) == 48 ? $156 : 0) label = 50; - if ((label | 0) == 50) HEAP32[$4 >> 2] = HEAP32[$4 >> 2] | 2; - $$sroa$0$0$copyload = HEAP32[$1 >> 2] | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($9); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($8); - STACKTOP = sp; - return $$sroa$0$0$copyload | 0; + if ((label | 0) == 48 ? $51 : 0) label = 50; + if ((label | 0) == 50) HEAP32[$__err >> 2] = HEAP32[$__err >> 2] | 2; + $retval$sroa$0$0$copyload = HEAP32[$__b >> 2] | 0; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($__buf); + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($__grouping); + STACKTOP = sp; + return $retval$sroa$0$0$copyload | 0; +} + +function _update_box($cinfo, $boxp) { + $cinfo = $cinfo | 0; + $boxp = $boxp | 0; + var $1 = 0, $10 = 0, $2 = 0, $20 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $add211 = 0, $c0$0655 = 0, $c0$1581 = 0, $c0$2503 = 0, $c0$3427 = 0, $c0$4351 = 0, $c0$5275 = 0, $c0$6184 = 0, $c0max$0 = 0, $c0max4 = 0, $c0min$0 = 0, $c1$0653 = 0, $c1$1579 = 0, $c1$2505 = 0, $c1$3429 = 0, $c1$4348 = 0, $c1$5272 = 0, $c1$6180 = 0, $c1max$0 = 0, $c1max6 = 0, $c1min$0 = 0, $c1min5 = 0, $c2$0650 = 0, $c2$1576 = 0, $c2$2500 = 0, $c2$3424 = 0, $c2$4353 = 0, $c2$5277 = 0, $c2$6176 = 0, $c2max$0 = 0, $c2max8 = 0, $c2min$0 = 0, $c2min7 = 0, $ccount$0$lcssa = 0, $ccount$0185 = 0, $ccount$1181 = 0, $ccount$2178 = 0, $colorcount = 0, $histp$0651 = 0, $histp$1577 = 0, $histp$2501 = 0, $histp$3425 = 0, $histp$4349 = 0, $histp$5273 = 0, $histp$6177 = 0, $mul = 0, $mul204 = 0, $shl206 = 0; + $1 = HEAP32[(HEAP32[$cinfo + 484 >> 2] | 0) + 24 >> 2] | 0; + $2 = HEAP32[$boxp >> 2] | 0; + $c0max4 = $boxp + 4 | 0; + $3 = HEAP32[$c0max4 >> 2] | 0; + $c1min5 = $boxp + 8 | 0; + $4 = HEAP32[$c1min5 >> 2] | 0; + $c1max6 = $boxp + 12 | 0; + $5 = HEAP32[$c1max6 >> 2] | 0; + $c2min7 = $boxp + 16 | 0; + $6 = HEAP32[$c2min7 >> 2] | 0; + $c2max8 = $boxp + 20 | 0; + $7 = HEAP32[$c2max8 >> 2] | 0; + L1 : do if (($3 | 0) <= ($2 | 0) | ($4 | 0) > ($5 | 0) | ($6 | 0) > ($7 | 0)) $c0min$0 = $2; else { + $c0$0655 = $2; + L3 : while (1) { + $8 = HEAP32[$1 + ($c0$0655 << 2) >> 2] | 0; + $c1$0653 = $4; + while (1) { + $c2$0650 = $6; + $histp$0651 = $8 + ($c1$0653 << 6) + ($6 << 1) | 0; + while (1) { + if (HEAP16[$histp$0651 >> 1] | 0) break L3; + if (($c2$0650 | 0) < ($7 | 0)) { + $c2$0650 = $c2$0650 + 1 | 0; + $histp$0651 = $histp$0651 + 2 | 0; + } else break; + } + if (($c1$0653 | 0) < ($5 | 0)) $c1$0653 = $c1$0653 + 1 | 0; else break; + } + if (($c0$0655 | 0) < ($3 | 0)) $c0$0655 = $c0$0655 + 1 | 0; else { + $c0min$0 = $2; + break L1; + } + } + HEAP32[$boxp >> 2] = $c0$0655; + $c0min$0 = $c0$0655; + } while (0); + L14 : do if (($3 | 0) <= ($c0min$0 | 0) | ($4 | 0) > ($5 | 0) | ($6 | 0) > ($7 | 0)) $c0max$0 = $3; else { + $c0$1581 = $3; + L16 : while (1) { + $10 = HEAP32[$1 + ($c0$1581 << 2) >> 2] | 0; + $c1$1579 = $4; + while (1) { + $c2$1576 = $6; + $histp$1577 = $10 + ($c1$1579 << 6) + ($6 << 1) | 0; + while (1) { + if (HEAP16[$histp$1577 >> 1] | 0) break L16; + if (($c2$1576 | 0) < ($7 | 0)) { + $c2$1576 = $c2$1576 + 1 | 0; + $histp$1577 = $histp$1577 + 2 | 0; + } else break; + } + if (($c1$1579 | 0) < ($5 | 0)) $c1$1579 = $c1$1579 + 1 | 0; else break; + } + if (($c0$1581 | 0) > ($c0min$0 | 0)) $c0$1581 = $c0$1581 + -1 | 0; else { + $c0max$0 = $3; + break L14; + } + } + HEAP32[$c0max4 >> 2] = $c0$1581; + $c0max$0 = $c0$1581; + } while (0); + L27 : do if (($5 | 0) <= ($4 | 0) | ($c0max$0 | 0) < ($c0min$0 | 0) | ($6 | 0) > ($7 | 0)) $c1min$0 = $4; else { + $c1$2505 = $4; + L29 : while (1) { + $c0$2503 = $c0min$0; + while (1) { + $c2$2500 = $6; + $histp$2501 = (HEAP32[$1 + ($c0$2503 << 2) >> 2] | 0) + ($c1$2505 << 6) + ($6 << 1) | 0; + while (1) { + if (HEAP16[$histp$2501 >> 1] | 0) break L29; + if (($c2$2500 | 0) < ($7 | 0)) { + $c2$2500 = $c2$2500 + 1 | 0; + $histp$2501 = $histp$2501 + 2 | 0; + } else break; + } + if (($c0$2503 | 0) < ($c0max$0 | 0)) $c0$2503 = $c0$2503 + 1 | 0; else break; + } + if (($c1$2505 | 0) < ($5 | 0)) $c1$2505 = $c1$2505 + 1 | 0; else { + $c1min$0 = $4; + break L27; + } + } + HEAP32[$c1min5 >> 2] = $c1$2505; + $c1min$0 = $c1$2505; + } while (0); + L40 : do if (($5 | 0) <= ($c1min$0 | 0) | ($c0max$0 | 0) < ($c0min$0 | 0) | ($6 | 0) > ($7 | 0)) $c1max$0 = $5; else { + $c1$3429 = $5; + L42 : while (1) { + $c0$3427 = $c0min$0; + while (1) { + $c2$3424 = $6; + $histp$3425 = (HEAP32[$1 + ($c0$3427 << 2) >> 2] | 0) + ($c1$3429 << 6) + ($6 << 1) | 0; + while (1) { + if (HEAP16[$histp$3425 >> 1] | 0) break L42; + if (($c2$3424 | 0) < ($7 | 0)) { + $c2$3424 = $c2$3424 + 1 | 0; + $histp$3425 = $histp$3425 + 2 | 0; + } else break; + } + if (($c0$3427 | 0) < ($c0max$0 | 0)) $c0$3427 = $c0$3427 + 1 | 0; else break; + } + if (($c1$3429 | 0) > ($c1min$0 | 0)) $c1$3429 = $c1$3429 + -1 | 0; else { + $c1max$0 = $5; + break L40; + } + } + HEAP32[$c1max6 >> 2] = $c1$3429; + $c1max$0 = $c1$3429; + } while (0); + L53 : do if (($7 | 0) <= ($6 | 0) | ($c0max$0 | 0) < ($c0min$0 | 0) | ($c1max$0 | 0) < ($c1min$0 | 0)) $c2min$0 = $6; else { + $c2$4353 = $6; + L55 : while (1) { + $c0$4351 = $c0min$0; + while (1) { + $c1$4348 = $c1min$0; + $histp$4349 = (HEAP32[$1 + ($c0$4351 << 2) >> 2] | 0) + ($c1min$0 << 6) + ($c2$4353 << 1) | 0; + while (1) { + if (HEAP16[$histp$4349 >> 1] | 0) break L55; + if (($c1$4348 | 0) < ($c1max$0 | 0)) { + $c1$4348 = $c1$4348 + 1 | 0; + $histp$4349 = $histp$4349 + 64 | 0; + } else break; + } + if (($c0$4351 | 0) < ($c0max$0 | 0)) $c0$4351 = $c0$4351 + 1 | 0; else break; + } + if (($c2$4353 | 0) < ($7 | 0)) $c2$4353 = $c2$4353 + 1 | 0; else { + $c2min$0 = $6; + break L53; + } + } + HEAP32[$c2min7 >> 2] = $c2$4353; + $c2min$0 = $c2$4353; + } while (0); + L66 : do if (($7 | 0) <= ($c2min$0 | 0) | ($c0max$0 | 0) < ($c0min$0 | 0) | ($c1max$0 | 0) < ($c1min$0 | 0)) $c2max$0 = $7; else { + $c2$5277 = $7; + L68 : while (1) { + $c0$5275 = $c0min$0; + while (1) { + $c1$5272 = $c1min$0; + $histp$5273 = (HEAP32[$1 + ($c0$5275 << 2) >> 2] | 0) + ($c1min$0 << 6) + ($c2$5277 << 1) | 0; + while (1) { + if (HEAP16[$histp$5273 >> 1] | 0) break L68; + if (($c1$5272 | 0) < ($c1max$0 | 0)) { + $c1$5272 = $c1$5272 + 1 | 0; + $histp$5273 = $histp$5273 + 64 | 0; + } else break; + } + if (($c0$5275 | 0) < ($c0max$0 | 0)) $c0$5275 = $c0$5275 + 1 | 0; else break; + } + if (($c2$5277 | 0) > ($c2min$0 | 0)) $c2$5277 = $c2$5277 + -1 | 0; else { + $c2max$0 = $7; + break L66; + } + } + HEAP32[$c2max8 >> 2] = $c2$5277; + $c2max$0 = $c2$5277; + } while (0); + $mul = $c0max$0 - $c0min$0 << 4; + $mul204 = ($c1max$0 - $c1min$0 | 0) * 12 | 0; + $shl206 = $c2max$0 - $c2min$0 << 3; + $add211 = (Math_imul($mul204, $mul204) | 0) + (Math_imul($mul, $mul) | 0) + (Math_imul($shl206, $shl206) | 0) | 0; + HEAP32[$boxp + 24 >> 2] = $add211; + if (($c0max$0 | 0) < ($c0min$0 | 0) | ($c1max$0 | 0) < ($c1min$0 | 0) | ($c2max$0 | 0) < ($c2min$0 | 0)) { + $ccount$0$lcssa = 0; + $colorcount = $boxp + 28 | 0; + HEAP32[$colorcount >> 2] = $ccount$0$lcssa; + return; + } + $c0$6184 = $c0min$0; + $ccount$0185 = 0; + while (1) { + $20 = HEAP32[$1 + ($c0$6184 << 2) >> 2] | 0; + $c1$6180 = $c1min$0; + $ccount$1181 = $ccount$0185; + while (1) { + $c2$6176 = $c2min$0; + $ccount$2178 = $ccount$1181; + $histp$6177 = $20 + ($c1$6180 << 6) + ($c2min$0 << 1) | 0; + while (1) { + $ccount$2178 = $ccount$2178 + ((HEAP16[$histp$6177 >> 1] | 0) != 0 & 1) | 0; + if (($c2$6176 | 0) >= ($c2max$0 | 0)) break; else { + $c2$6176 = $c2$6176 + 1 | 0; + $histp$6177 = $histp$6177 + 2 | 0; + } + } + if (($c1$6180 | 0) < ($c1max$0 | 0)) { + $c1$6180 = $c1$6180 + 1 | 0; + $ccount$1181 = $ccount$2178; + } else break; + } + if (($c0$6184 | 0) < ($c0max$0 | 0)) { + $c0$6184 = $c0$6184 + 1 | 0; + $ccount$0185 = $ccount$2178; + } else { + $ccount$0$lcssa = $ccount$2178; + break; + } + } + $colorcount = $boxp + 28 | 0; + HEAP32[$colorcount >> 2] = $ccount$0$lcssa; + return; } -function _jpeg_idct_8x16($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $$0320328 = 0, $$0322327 = 0, $$0323326 = 0, $$0329 = 0, $$1321324 = 0, $$1325 = 0, $101 = 0, $103 = 0, $109 = 0, $114 = 0, $115 = 0, $118 = 0, $122 = 0, $128 = 0, $130 = 0, $131 = 0, $132 = 0, $134 = 0, $135 = 0, $136 = 0, $15 = 0, $188 = 0, $191 = 0, $193 = 0, $195 = 0, $197 = 0, $199 = 0, $201 = 0, $203 = 0, $205 = 0, $207 = 0, $209 = 0, $21 = 0, $210 = 0, $211 = 0, $212 = 0, $213 = 0, $215 = 0, $217 = 0, $219 = 0, $22 = 0, $221 = 0, $222 = 0, $223 = 0, $225 = 0, $228 = 0, $229 = 0, $23 = 0, $231 = 0, $235 = 0, $237 = 0, $239 = 0, $24 = 0, $243 = 0, $245 = 0, $25 = 0, $26 = 0, $27 = 0, $33 = 0, $39 = 0, $40 = 0, $41 = 0, $42 = 0, $44 = 0, $46 = 0, $48 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $64 = 0, $7 = 0, $70 = 0, $76 = 0, $82 = 0, $83 = 0, $85 = 0, $86 = 0, $88 = 0, $90 = 0, $91 = 0, $93 = 0, $97 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 512 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(512); - $5 = sp; - $7 = HEAP32[$0 + 336 >> 2] | 0; - $$0320328 = $5; - $$0322327 = HEAP32[$1 + 84 >> 2] | 0; - $$0323326 = $2; - $$0329 = 0; - while (1) { - $15 = Math_imul(HEAP16[$$0323326 >> 1] << 13, HEAP32[$$0322327 >> 2] | 0) | 0 | 1024; - $21 = Math_imul(HEAP32[$$0322327 + 128 >> 2] | 0, HEAP16[$$0323326 + 64 >> 1] | 0) | 0; - $22 = $21 * 10703 | 0; - $23 = $21 * 4433 | 0; - $24 = $22 + $15 | 0; - $25 = $15 - $22 | 0; - $26 = $23 + $15 | 0; - $27 = $15 - $23 | 0; - $33 = Math_imul(HEAP32[$$0322327 + 64 >> 2] | 0, HEAP16[$$0323326 + 32 >> 1] | 0) | 0; - $39 = Math_imul(HEAP32[$$0322327 + 192 >> 2] | 0, HEAP16[$$0323326 + 96 >> 1] | 0) | 0; - $40 = $33 - $39 | 0; - $41 = $40 * 2260 | 0; - $42 = $40 * 11363 | 0; - $44 = $42 + ($39 * 20995 | 0) | 0; - $46 = $41 + ($33 * 7373 | 0) | 0; - $48 = $42 + (Math_imul($33, -4926) | 0) | 0; - $50 = $41 + (Math_imul($39, -4176) | 0) | 0; - $51 = $44 + $24 | 0; - $52 = $24 - $44 | 0; - $53 = $46 + $26 | 0; - $54 = $26 - $46 | 0; - $55 = $48 + $27 | 0; - $56 = $27 - $48 | 0; - $57 = $50 + $25 | 0; - $58 = $25 - $50 | 0; - $64 = Math_imul(HEAP32[$$0322327 + 32 >> 2] | 0, HEAP16[$$0323326 + 16 >> 1] | 0) | 0; - $70 = Math_imul(HEAP32[$$0322327 + 96 >> 2] | 0, HEAP16[$$0323326 + 48 >> 1] | 0) | 0; - $76 = Math_imul(HEAP32[$$0322327 + 160 >> 2] | 0, HEAP16[$$0323326 + 80 >> 1] | 0) | 0; - $82 = Math_imul(HEAP32[$$0322327 + 224 >> 2] | 0, HEAP16[$$0323326 + 112 >> 1] | 0) | 0; - $83 = $76 + $64 | 0; - $85 = ($70 + $64 | 0) * 11086 | 0; - $86 = $83 * 10217 | 0; - $88 = ($82 + $64 | 0) * 8956 | 0; - $90 = ($64 - $82 | 0) * 7350 | 0; - $91 = $83 * 5461 | 0; - $93 = ($64 - $70 | 0) * 3363 | 0; - $97 = $85 + (Math_imul($64, -18730) | 0) + $86 + $88 | 0; - $101 = $93 + (Math_imul($64, -15038) | 0) + $91 + $90 | 0; - $103 = ($76 + $70 | 0) * 1136 | 0; - $109 = ($76 - $70 | 0) * 11529 | 0; - $114 = $82 + $70 | 0; - $115 = Math_imul($114, -5461) | 0; - $118 = $85 + ($70 * 589 | 0) + $103 + $115 | 0; - $122 = Math_imul($114, -10217) | 0; - $128 = $93 + ($70 * 16154 | 0) + $109 + $122 | 0; - $130 = Math_imul($82 + $76 | 0, -11086) | 0; - $131 = $103 + (Math_imul($76, -9222) | 0) + $86 + $130 | 0; - $132 = $115 + ($82 * 8728 | 0) + $88 + $130 | 0; - $134 = ($82 - $76 | 0) * 3363 | 0; - $135 = $122 + ($82 * 25733 | 0) + $90 + $134 | 0; - $136 = $109 + (Math_imul($76, -6278) | 0) + $91 + $134 | 0; - HEAP32[$$0320328 >> 2] = $97 + $51 >> 11; - HEAP32[$$0320328 + 480 >> 2] = $51 - $97 >> 11; - HEAP32[$$0320328 + 32 >> 2] = $118 + $53 >> 11; - HEAP32[$$0320328 + 448 >> 2] = $53 - $118 >> 11; - HEAP32[$$0320328 + 64 >> 2] = $131 + $55 >> 11; - HEAP32[$$0320328 + 416 >> 2] = $55 - $131 >> 11; - HEAP32[$$0320328 + 96 >> 2] = $132 + $57 >> 11; - HEAP32[$$0320328 + 384 >> 2] = $57 - $132 >> 11; - HEAP32[$$0320328 + 128 >> 2] = $135 + $58 >> 11; - HEAP32[$$0320328 + 352 >> 2] = $58 - $135 >> 11; - HEAP32[$$0320328 + 160 >> 2] = $136 + $56 >> 11; - HEAP32[$$0320328 + 320 >> 2] = $56 - $136 >> 11; - HEAP32[$$0320328 + 192 >> 2] = $128 + $54 >> 11; - HEAP32[$$0320328 + 288 >> 2] = $54 - $128 >> 11; - HEAP32[$$0320328 + 224 >> 2] = $101 + $52 >> 11; - HEAP32[$$0320328 + 256 >> 2] = $52 - $101 >> 11; - $$0329 = $$0329 + 1 | 0; - if (($$0329 | 0) == 8) break; else { - $$0320328 = $$0320328 + 4 | 0; - $$0322327 = $$0322327 + 4 | 0; - $$0323326 = $$0323326 + 2 | 0; - } - } - $188 = $7 + -384 | 0; - $$1321324 = $5; - $$1325 = 0; - while (1) { - $191 = (HEAP32[$3 + ($$1325 << 2) >> 2] | 0) + $4 | 0; - $193 = (HEAP32[$$1321324 >> 2] | 0) + 16400 | 0; - $195 = HEAP32[$$1321324 + 16 >> 2] | 0; - $197 = $193 + $195 << 13; - $199 = $193 - $195 << 13; - $201 = HEAP32[$$1321324 + 8 >> 2] | 0; - $203 = HEAP32[$$1321324 + 24 >> 2] | 0; - $205 = ($203 + $201 | 0) * 4433 | 0; - $207 = $205 + ($201 * 6270 | 0) | 0; - $209 = $205 + (Math_imul($203, -15137) | 0) | 0; - $210 = $207 + $197 | 0; - $211 = $197 - $207 | 0; - $212 = $209 + $199 | 0; - $213 = $199 - $209 | 0; - $215 = HEAP32[$$1321324 + 28 >> 2] | 0; - $217 = HEAP32[$$1321324 + 20 >> 2] | 0; - $219 = HEAP32[$$1321324 + 12 >> 2] | 0; - $221 = HEAP32[$$1321324 + 4 >> 2] | 0; - $222 = $219 + $215 | 0; - $223 = $221 + $217 | 0; - $225 = ($223 + $222 | 0) * 9633 | 0; - $228 = $225 + (Math_imul($222, -16069) | 0) | 0; - $229 = $225 + (Math_imul($223, -3196) | 0) | 0; - $231 = Math_imul($221 + $215 | 0, -7373) | 0; - $235 = $231 + ($215 * 2446 | 0) + $228 | 0; - $237 = $231 + ($221 * 12299 | 0) + $229 | 0; - $239 = Math_imul($219 + $217 | 0, -20995) | 0; - $243 = $239 + ($217 * 16819 | 0) + $229 | 0; - $245 = $239 + ($219 * 25172 | 0) + $228 | 0; - HEAP8[$191 >> 0] = HEAP8[$188 + (($237 + $210 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$191 + 7 >> 0] = HEAP8[$188 + (($210 - $237 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$191 + 1 >> 0] = HEAP8[$188 + (($245 + $212 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$191 + 6 >> 0] = HEAP8[$188 + (($212 - $245 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$191 + 2 >> 0] = HEAP8[$188 + (($243 + $213 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$191 + 5 >> 0] = HEAP8[$188 + (($213 - $243 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$191 + 3 >> 0] = HEAP8[$188 + (($235 + $211 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$191 + 4 >> 0] = HEAP8[$188 + (($211 - $235 | 0) >>> 18 & 1023) >> 0] | 0; - $$1325 = $$1325 + 1 | 0; - if (($$1325 | 0) == 16) break; else $$1321324 = $$1321324 + 32 | 0; - } - STACKTOP = sp; - return; -} - -function _jpeg_idct_4x4($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $103 = 0, $109 = 0, $111 = 0, $113 = 0, $119 = 0, $125 = 0, $128 = 0, $13 = 0, $131 = 0, $134 = 0, $135 = 0, $148 = 0, $154 = 0, $156 = 0, $158 = 0, $164 = 0, $170 = 0, $173 = 0, $176 = 0, $179 = 0, $180 = 0, $183 = 0, $187 = 0, $189 = 0, $19 = 0, $191 = 0, $193 = 0, $195 = 0, $196 = 0, $198 = 0, $200 = 0, $202 = 0, $21 = 0, $228 = 0, $23 = 0, $230 = 0, $232 = 0, $234 = 0, $236 = 0, $238 = 0, $240 = 0, $242 = 0, $244 = 0, $271 = 0, $273 = 0, $275 = 0, $277 = 0, $279 = 0, $281 = 0, $283 = 0, $285 = 0, $287 = 0, $289 = 0, $29 = 0, $316 = 0, $318 = 0, $320 = 0, $322 = 0, $324 = 0, $326 = 0, $328 = 0, $330 = 0, $332 = 0, $334 = 0, $35 = 0, $38 = 0, $41 = 0, $44 = 0, $49 = 0, $5 = 0, $54 = 0, $58 = 0, $64 = 0, $66 = 0, $68 = 0, $7 = 0, $74 = 0, $80 = 0, $83 = 0, $86 = 0, $89 = 0, $9 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 64 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(64); - $5 = sp; - $7 = HEAP32[$0 + 336 >> 2] | 0; - $9 = HEAP32[$1 + 84 >> 2] | 0; - $13 = Math_imul(HEAP32[$9 >> 2] | 0, HEAP16[$2 >> 1] | 0) | 0; - $19 = Math_imul(HEAP32[$9 + 64 >> 2] | 0, HEAP16[$2 + 32 >> 1] | 0) | 0; - $21 = $19 + $13 << 2; - $23 = $13 - $19 << 2; - $29 = Math_imul(HEAP32[$9 + 32 >> 2] | 0, HEAP16[$2 + 16 >> 1] | 0) | 0; - $35 = Math_imul(HEAP32[$9 + 96 >> 2] | 0, HEAP16[$2 + 48 >> 1] | 0) | 0; - $38 = (($35 + $29 | 0) * 4433 | 0) + 1024 | 0; - $41 = $38 + ($29 * 6270 | 0) >> 11; - $44 = $38 + (Math_imul($35, -15137) | 0) >> 11; - HEAP32[$5 >> 2] = $41 + $21; - HEAP32[$5 + 48 >> 2] = $21 - $41; - $49 = $5 + 16 | 0; - HEAP32[$49 >> 2] = $44 + $23; - HEAP32[$5 + 32 >> 2] = $23 - $44; - $54 = $5 + 4 | 0; - $58 = Math_imul(HEAP32[$9 + 4 >> 2] | 0, HEAP16[$2 + 2 >> 1] | 0) | 0; - $64 = Math_imul(HEAP32[$9 + 68 >> 2] | 0, HEAP16[$2 + 34 >> 1] | 0) | 0; - $66 = $64 + $58 << 2; - $68 = $58 - $64 << 2; - $74 = Math_imul(HEAP32[$9 + 36 >> 2] | 0, HEAP16[$2 + 18 >> 1] | 0) | 0; - $80 = Math_imul(HEAP32[$9 + 100 >> 2] | 0, HEAP16[$2 + 50 >> 1] | 0) | 0; - $83 = (($80 + $74 | 0) * 4433 | 0) + 1024 | 0; - $86 = $83 + ($74 * 6270 | 0) >> 11; - $89 = $83 + (Math_imul($80, -15137) | 0) >> 11; - HEAP32[$54 >> 2] = $86 + $66; - HEAP32[$5 + 52 >> 2] = $66 - $86; - HEAP32[$5 + 20 >> 2] = $89 + $68; - HEAP32[$5 + 36 >> 2] = $68 - $89; - $103 = Math_imul(HEAP32[$9 + 8 >> 2] | 0, HEAP16[$2 + 4 >> 1] | 0) | 0; - $109 = Math_imul(HEAP32[$9 + 72 >> 2] | 0, HEAP16[$2 + 36 >> 1] | 0) | 0; - $111 = $109 + $103 << 2; - $113 = $103 - $109 << 2; - $119 = Math_imul(HEAP32[$9 + 40 >> 2] | 0, HEAP16[$2 + 20 >> 1] | 0) | 0; - $125 = Math_imul(HEAP32[$9 + 104 >> 2] | 0, HEAP16[$2 + 52 >> 1] | 0) | 0; - $128 = (($125 + $119 | 0) * 4433 | 0) + 1024 | 0; - $131 = $128 + ($119 * 6270 | 0) >> 11; - $134 = $128 + (Math_imul($125, -15137) | 0) >> 11; - $135 = $131 + $111 | 0; - HEAP32[$5 + 8 >> 2] = $135; - HEAP32[$5 + 56 >> 2] = $111 - $131; - HEAP32[$5 + 24 >> 2] = $134 + $113; - HEAP32[$5 + 40 >> 2] = $113 - $134; - $148 = Math_imul(HEAP32[$9 + 12 >> 2] | 0, HEAP16[$2 + 6 >> 1] | 0) | 0; - $154 = Math_imul(HEAP32[$9 + 76 >> 2] | 0, HEAP16[$2 + 38 >> 1] | 0) | 0; - $156 = $154 + $148 << 2; - $158 = $148 - $154 << 2; - $164 = Math_imul(HEAP32[$9 + 44 >> 2] | 0, HEAP16[$2 + 22 >> 1] | 0) | 0; - $170 = Math_imul(HEAP32[$9 + 108 >> 2] | 0, HEAP16[$2 + 54 >> 1] | 0) | 0; - $173 = (($170 + $164 | 0) * 4433 | 0) + 1024 | 0; - $176 = $173 + ($164 * 6270 | 0) >> 11; - $179 = $173 + (Math_imul($170, -15137) | 0) >> 11; - $180 = $176 + $156 | 0; - HEAP32[$5 + 12 >> 2] = $180; - HEAP32[$5 + 60 >> 2] = $156 - $176; - $183 = $179 + $158 | 0; - HEAP32[$5 + 28 >> 2] = $183; - HEAP32[$5 + 44 >> 2] = $158 - $179; - $187 = $7 + -384 | 0; - $189 = (HEAP32[$3 >> 2] | 0) + $4 | 0; - $191 = (HEAP32[$5 >> 2] | 0) + 16400 | 0; - $193 = $191 + $135 << 13; - $195 = $191 - $135 << 13; - $196 = HEAP32[$54 >> 2] | 0; - $198 = ($180 + $196 | 0) * 4433 | 0; - $200 = $198 + ($196 * 6270 | 0) | 0; - $202 = $198 + (Math_imul($180, -15137) | 0) | 0; - HEAP8[$189 >> 0] = HEAP8[$187 + (($200 + $193 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$189 + 3 >> 0] = HEAP8[$187 + (($193 - $200 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$189 + 1 >> 0] = HEAP8[$187 + (($202 + $195 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$189 + 2 >> 0] = HEAP8[$187 + (($195 - $202 | 0) >>> 18 & 1023) >> 0] | 0; - $228 = (HEAP32[$3 + 4 >> 2] | 0) + $4 | 0; - $230 = (HEAP32[$49 >> 2] | 0) + 16400 | 0; - $232 = HEAP32[$5 + 24 >> 2] | 0; - $234 = $230 + $232 << 13; - $236 = $230 - $232 << 13; - $238 = HEAP32[$5 + 20 >> 2] | 0; - $240 = ($183 + $238 | 0) * 4433 | 0; - $242 = $240 + ($238 * 6270 | 0) | 0; - $244 = $240 + (Math_imul($183, -15137) | 0) | 0; - HEAP8[$228 >> 0] = HEAP8[$187 + (($242 + $234 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$228 + 3 >> 0] = HEAP8[$187 + (($234 - $242 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$228 + 1 >> 0] = HEAP8[$187 + (($244 + $236 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$228 + 2 >> 0] = HEAP8[$187 + (($236 - $244 | 0) >>> 18 & 1023) >> 0] | 0; - $271 = (HEAP32[$3 + 8 >> 2] | 0) + $4 | 0; - $273 = (HEAP32[$5 + 32 >> 2] | 0) + 16400 | 0; - $275 = HEAP32[$5 + 40 >> 2] | 0; - $277 = $273 + $275 << 13; - $279 = $273 - $275 << 13; - $281 = HEAP32[$5 + 36 >> 2] | 0; - $283 = HEAP32[$5 + 44 >> 2] | 0; - $285 = ($283 + $281 | 0) * 4433 | 0; - $287 = $285 + ($281 * 6270 | 0) | 0; - $289 = $285 + (Math_imul($283, -15137) | 0) | 0; - HEAP8[$271 >> 0] = HEAP8[$187 + (($287 + $277 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$271 + 3 >> 0] = HEAP8[$187 + (($277 - $287 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$271 + 1 >> 0] = HEAP8[$187 + (($289 + $279 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$271 + 2 >> 0] = HEAP8[$187 + (($279 - $289 | 0) >>> 18 & 1023) >> 0] | 0; - $316 = (HEAP32[$3 + 12 >> 2] | 0) + $4 | 0; - $318 = (HEAP32[$5 + 48 >> 2] | 0) + 16400 | 0; - $320 = HEAP32[$5 + 56 >> 2] | 0; - $322 = $318 + $320 << 13; - $324 = $318 - $320 << 13; - $326 = HEAP32[$5 + 52 >> 2] | 0; - $328 = HEAP32[$5 + 60 >> 2] | 0; - $330 = ($328 + $326 | 0) * 4433 | 0; - $332 = $330 + ($326 * 6270 | 0) | 0; - $334 = $330 + (Math_imul($328, -15137) | 0) | 0; - HEAP8[$316 >> 0] = HEAP8[$187 + (($332 + $322 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$316 + 3 >> 0] = HEAP8[$187 + (($322 - $332 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$316 + 1 >> 0] = HEAP8[$187 + (($334 + $324 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$316 + 2 >> 0] = HEAP8[$187 + (($324 - $334 | 0) >>> 18 & 1023) >> 0] | 0; - STACKTOP = sp; - return; -} - -function _jpeg_idct_11x11($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $$0286294 = 0, $$0288293 = 0, $$0289292 = 0, $$0295 = 0, $$1287290 = 0, $$1291 = 0, $101 = 0, $105 = 0, $107 = 0, $110 = 0, $113 = 0, $119 = 0, $15 = 0, $155 = 0, $158 = 0, $161 = 0, $163 = 0, $165 = 0, $167 = 0, $171 = 0, $172 = 0, $174 = 0, $176 = 0, $178 = 0, $180 = 0, $182 = 0, $185 = 0, $186 = 0, $188 = 0, $192 = 0, $194 = 0, $196 = 0, $198 = 0, $200 = 0, $202 = 0, $203 = 0, $206 = 0, $207 = 0, $209 = 0, $21 = 0, $212 = 0, $216 = 0, $219 = 0, $223 = 0, $225 = 0, $228 = 0, $231 = 0, $237 = 0, $27 = 0, $33 = 0, $37 = 0, $38 = 0, $40 = 0, $42 = 0, $44 = 0, $46 = 0, $48 = 0, $5 = 0, $51 = 0, $52 = 0, $54 = 0, $58 = 0, $60 = 0, $66 = 0, $7 = 0, $72 = 0, $78 = 0, $84 = 0, $85 = 0, $88 = 0, $89 = 0, $91 = 0, $94 = 0, $98 = 0, sp = 0; +function _jpeg_idct_12x12($cinfo, $compptr, $coef_block, $output_buf, $output_col) { + $cinfo = $cinfo | 0; + $compptr = $compptr | 0; + $coef_block = $coef_block | 0; + $output_buf = $output_buf | 0; + $output_col = $output_col | 0; + var $0 = 0, $25 = 0, $27 = 0, $28 = 0, $29 = 0, $30 = 0, $add = 0, $add$ptr = 0, $add$ptr121 = 0, $add127 = 0, $add135 = 0, $add137 = 0, $add138 = 0, $add142 = 0, $add150 = 0, $add154 = 0, $add157 = 0, $add163 = 0, $add167 = 0, $add172 = 0, $add178 = 0, $add20 = 0, $add22 = 0, $add23 = 0, $add27 = 0, $add47 = 0, $add51 = 0, $add54 = 0, $add60 = 0, $add64 = 0, $add69 = 0, $add7 = 0, $add75 = 0, $ctr$0250 = 0, $ctr$1246 = 0, $inptr$0247 = 0, $mul11 = 0, $mul126 = 0, $mul148 = 0, $mul149 = 0, $mul152 = 0, $mul159 = 0, $mul176 = 0, $mul32 = 0, $mul36 = 0, $mul40 = 0, $mul44 = 0, $mul45 = 0, $mul46 = 0, $mul49 = 0, $mul56 = 0, $mul6 = 0, $mul73 = 0, $quantptr$0248 = 0, $shl124 = 0, $shl133 = 0, $shl18 = 0, $sub = 0, $sub128 = 0, $sub134 = 0, $sub136 = 0, $sub139 = 0, $sub141 = 0, $sub143 = 0, $sub173 = 0, $sub174 = 0, $sub180 = 0, $sub19 = 0, $sub21 = 0, $sub24 = 0, $sub26 = 0, $sub28 = 0, $sub70 = 0, $sub71 = 0, $sub77 = 0, $workspace = 0, $wsptr$0249 = 0, $wsptr$1245 = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 352 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(352); - $5 = sp; - $7 = HEAP32[$0 + 336 >> 2] | 0; - $$0286294 = $5; - $$0288293 = HEAP32[$1 + 84 >> 2] | 0; - $$0289292 = $2; - $$0295 = 0; + STACKTOP = STACKTOP + 384 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(384); + $workspace = sp; + $0 = HEAP32[$cinfo + 336 >> 2] | 0; + $ctr$0250 = 0; + $inptr$0247 = $coef_block; + $quantptr$0248 = HEAP32[$compptr + 84 >> 2] | 0; + $wsptr$0249 = $workspace; while (1) { - $15 = Math_imul(HEAP16[$$0289292 >> 1] << 13, HEAP32[$$0288293 >> 2] | 0) | 0 | 1024; - $21 = Math_imul(HEAP32[$$0288293 + 64 >> 2] | 0, HEAP16[$$0289292 + 32 >> 1] | 0) | 0; - $27 = Math_imul(HEAP32[$$0288293 + 128 >> 2] | 0, HEAP16[$$0289292 + 64 >> 1] | 0) | 0; - $33 = Math_imul(HEAP32[$$0288293 + 192 >> 2] | 0, HEAP16[$$0289292 + 96 >> 1] | 0) | 0; - $37 = ($27 - $21 | 0) * 3529 | 0; - $38 = $33 + $21 | 0; - $40 = $38 - $27 | 0; - $42 = ($40 * 11116 | 0) + $15 | 0; - $44 = $42 + (($27 - $33 | 0) * 20862 | 0) | 0; - $46 = $44 + (Math_imul($27, -14924) | 0) + $37 | 0; - $48 = $44 + ($33 * 17333 | 0) | 0; - $51 = $42 + $37 + (Math_imul($21, -12399) | 0) | 0; - $52 = $42 + (Math_imul($38, -9467) | 0) | 0; - $54 = $52 + (Math_imul($33, -6461) | 0) | 0; - $58 = ($27 * 15929 | 0) + (Math_imul($21, -11395) | 0) + $52 | 0; - $60 = (Math_imul($40, -11585) | 0) + $15 | 0; - $66 = Math_imul(HEAP32[$$0288293 + 32 >> 2] | 0, HEAP16[$$0289292 + 16 >> 1] | 0) | 0; - $72 = Math_imul(HEAP32[$$0288293 + 96 >> 2] | 0, HEAP16[$$0289292 + 48 >> 1] | 0) | 0; - $78 = Math_imul(HEAP32[$$0288293 + 160 >> 2] | 0, HEAP16[$$0289292 + 80 >> 1] | 0) | 0; - $84 = Math_imul(HEAP32[$$0288293 + 224 >> 2] | 0, HEAP16[$$0289292 + 112 >> 1] | 0) | 0; - $85 = $72 + $66 | 0; - $88 = ($78 + $85 + $84 | 0) * 3264 | 0; - $89 = $85 * 7274 | 0; - $91 = ($78 + $66 | 0) * 5492 | 0; - $94 = $88 + (($84 + $66 | 0) * 3e3 | 0) | 0; - $98 = $89 + (Math_imul($66, -7562) | 0) + $91 + $94 | 0; - $101 = $88 + (Math_imul($78 + $72 | 0, -9527) | 0) | 0; - $105 = $91 + (Math_imul($78, -9766) | 0) + $101 | 0; - $107 = Math_imul($84 + $72 | 0, -14731) | 0; - $110 = $89 + ($72 * 16984 | 0) + $107 + $101 | 0; - $113 = $107 + ($84 * 17223 | 0) + $94 | 0; - $119 = ($78 * 8203 | 0) + (Math_imul($72, -12019) | 0) + (Math_imul($84, -13802) | 0) + $88 | 0; - HEAP32[$$0286294 >> 2] = $98 + $48 >> 11; - HEAP32[$$0286294 + 320 >> 2] = $48 - $98 >> 11; - HEAP32[$$0286294 + 32 >> 2] = $110 + $46 >> 11; - HEAP32[$$0286294 + 288 >> 2] = $46 - $110 >> 11; - HEAP32[$$0286294 + 64 >> 2] = $105 + $54 >> 11; - HEAP32[$$0286294 + 256 >> 2] = $54 - $105 >> 11; - HEAP32[$$0286294 + 96 >> 2] = $113 + $51 >> 11; - HEAP32[$$0286294 + 224 >> 2] = $51 - $113 >> 11; - HEAP32[$$0286294 + 128 >> 2] = $119 + $58 >> 11; - HEAP32[$$0286294 + 192 >> 2] = $58 - $119 >> 11; - HEAP32[$$0286294 + 160 >> 2] = $60 >> 11; - $$0295 = $$0295 + 1 | 0; - if (($$0295 | 0) == 8) break; else { - $$0286294 = $$0286294 + 4 | 0; - $$0288293 = $$0288293 + 4 | 0; - $$0289292 = $$0289292 + 2 | 0; - } - } - $155 = $7 + -384 | 0; - $$1287290 = $5; - $$1291 = 0; + $add = Math_imul(HEAP16[$inptr$0247 >> 1] << 13, HEAP32[$quantptr$0248 >> 2] | 0) | 0 | 1024; + $mul6 = Math_imul((HEAP16[$inptr$0247 + 64 >> 1] | 0) * 10033 | 0, HEAP32[$quantptr$0248 + 128 >> 2] | 0) | 0; + $add7 = $mul6 + $add | 0; + $sub = $add - $mul6 | 0; + $mul11 = Math_imul(HEAP32[$quantptr$0248 + 64 >> 2] | 0, HEAP16[$inptr$0247 + 32 >> 1] | 0) | 0; + $shl18 = Math_imul(HEAP16[$inptr$0247 + 96 >> 1] << 13, HEAP32[$quantptr$0248 + 192 >> 2] | 0) | 0; + $sub19 = ($mul11 << 13) - $shl18 | 0; + $add20 = $sub19 + $add | 0; + $sub21 = $add - $sub19 | 0; + $add22 = $shl18 + ($mul11 * 11190 | 0) | 0; + $add23 = $add22 + $add7 | 0; + $sub24 = $add7 - $add22 | 0; + $sub26 = ($mul11 * 2998 | 0) - $shl18 | 0; + $add27 = $sub26 + $sub | 0; + $sub28 = $sub - $sub26 | 0; + $mul32 = Math_imul(HEAP32[$quantptr$0248 + 32 >> 2] | 0, HEAP16[$inptr$0247 + 16 >> 1] | 0) | 0; + $mul36 = Math_imul(HEAP32[$quantptr$0248 + 96 >> 2] | 0, HEAP16[$inptr$0247 + 48 >> 1] | 0) | 0; + $mul40 = Math_imul(HEAP32[$quantptr$0248 + 160 >> 2] | 0, HEAP16[$inptr$0247 + 80 >> 1] | 0) | 0; + $mul44 = Math_imul(HEAP32[$quantptr$0248 + 224 >> 2] | 0, HEAP16[$inptr$0247 + 112 >> 1] | 0) | 0; + $mul45 = $mul36 * 10703 | 0; + $mul46 = Math_imul($mul36, -4433) | 0; + $add47 = $mul40 + $mul32 | 0; + $mul49 = ($mul44 + $add47 | 0) * 7053 | 0; + $add51 = $mul49 + ($add47 * 2139 | 0) | 0; + $add54 = $mul45 + ($mul32 * 2295 | 0) + $add51 | 0; + $mul56 = Math_imul($mul44 + $mul40 | 0, -8565) | 0; + $add60 = (Math_imul($mul40, -12112) | 0) + $mul46 + $mul56 + $add51 | 0; + $add64 = ($mul44 * 12998 | 0) - $mul45 + $mul49 + $mul56 | 0; + $add69 = $mul46 + (Math_imul($mul32, -5540) | 0) + (Math_imul($mul44, -16244) | 0) + $mul49 | 0; + $sub70 = $mul32 - $mul44 | 0; + $sub71 = $mul36 - $mul40 | 0; + $mul73 = ($sub70 + $sub71 | 0) * 4433 | 0; + $add75 = $mul73 + ($sub70 * 6270 | 0) | 0; + $sub77 = $mul73 + (Math_imul($sub71, -15137) | 0) | 0; + HEAP32[$wsptr$0249 >> 2] = $add54 + $add23 >> 11; + HEAP32[$wsptr$0249 + 352 >> 2] = $add23 - $add54 >> 11; + HEAP32[$wsptr$0249 + 32 >> 2] = $add75 + $add20 >> 11; + HEAP32[$wsptr$0249 + 320 >> 2] = $add20 - $add75 >> 11; + HEAP32[$wsptr$0249 + 64 >> 2] = $add60 + $add27 >> 11; + HEAP32[$wsptr$0249 + 288 >> 2] = $add27 - $add60 >> 11; + HEAP32[$wsptr$0249 + 96 >> 2] = $add64 + $sub28 >> 11; + HEAP32[$wsptr$0249 + 256 >> 2] = $sub28 - $add64 >> 11; + HEAP32[$wsptr$0249 + 128 >> 2] = $sub77 + $sub21 >> 11; + HEAP32[$wsptr$0249 + 224 >> 2] = $sub21 - $sub77 >> 11; + HEAP32[$wsptr$0249 + 160 >> 2] = $add69 + $sub24 >> 11; + HEAP32[$wsptr$0249 + 192 >> 2] = $sub24 - $add69 >> 11; + $ctr$0250 = $ctr$0250 + 1 | 0; + if (($ctr$0250 | 0) == 8) break; else { + $inptr$0247 = $inptr$0247 + 2 | 0; + $quantptr$0248 = $quantptr$0248 + 4 | 0; + $wsptr$0249 = $wsptr$0249 + 4 | 0; + } + } + $add$ptr = $0 + -384 | 0; + $ctr$1246 = 0; + $wsptr$1245 = $workspace; while (1) { - $158 = (HEAP32[$3 + ($$1291 << 2) >> 2] | 0) + $4 | 0; - $161 = (HEAP32[$$1287290 >> 2] << 13) + 134348800 | 0; - $163 = HEAP32[$$1287290 + 8 >> 2] | 0; - $165 = HEAP32[$$1287290 + 16 >> 2] | 0; - $167 = HEAP32[$$1287290 + 24 >> 2] | 0; - $171 = ($165 - $163 | 0) * 3529 | 0; - $172 = $167 + $163 | 0; - $174 = $172 - $165 | 0; - $176 = ($174 * 11116 | 0) + $161 | 0; - $178 = $176 + (($165 - $167 | 0) * 20862 | 0) | 0; - $180 = $178 + (Math_imul($165, -14924) | 0) + $171 | 0; - $182 = $178 + ($167 * 17333 | 0) | 0; - $185 = $176 + $171 + (Math_imul($163, -12399) | 0) | 0; - $186 = $176 + (Math_imul($172, -9467) | 0) | 0; - $188 = $186 + (Math_imul($167, -6461) | 0) | 0; - $192 = ($165 * 15929 | 0) + (Math_imul($163, -11395) | 0) + $186 | 0; - $194 = (Math_imul($174, -11585) | 0) + $161 | 0; - $196 = HEAP32[$$1287290 + 4 >> 2] | 0; - $198 = HEAP32[$$1287290 + 12 >> 2] | 0; - $200 = HEAP32[$$1287290 + 20 >> 2] | 0; - $202 = HEAP32[$$1287290 + 28 >> 2] | 0; - $203 = $198 + $196 | 0; - $206 = ($203 + $200 + $202 | 0) * 3264 | 0; - $207 = $203 * 7274 | 0; - $209 = ($200 + $196 | 0) * 5492 | 0; - $212 = $206 + (($202 + $196 | 0) * 3e3 | 0) | 0; - $216 = $207 + (Math_imul($196, -7562) | 0) + $209 + $212 | 0; - $219 = $206 + (Math_imul($200 + $198 | 0, -9527) | 0) | 0; - $223 = $209 + (Math_imul($200, -9766) | 0) + $219 | 0; - $225 = Math_imul($202 + $198 | 0, -14731) | 0; - $228 = $207 + ($198 * 16984 | 0) + $225 + $219 | 0; - $231 = $225 + ($202 * 17223 | 0) + $212 | 0; - $237 = ($200 * 8203 | 0) + (Math_imul($198, -12019) | 0) + (Math_imul($202, -13802) | 0) + $206 | 0; - HEAP8[$158 >> 0] = HEAP8[$155 + (($216 + $182 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$158 + 10 >> 0] = HEAP8[$155 + (($182 - $216 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$158 + 1 >> 0] = HEAP8[$155 + (($228 + $180 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$158 + 9 >> 0] = HEAP8[$155 + (($180 - $228 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$158 + 2 >> 0] = HEAP8[$155 + (($223 + $188 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$158 + 8 >> 0] = HEAP8[$155 + (($188 - $223 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$158 + 3 >> 0] = HEAP8[$155 + (($231 + $185 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$158 + 7 >> 0] = HEAP8[$155 + (($185 - $231 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$158 + 4 >> 0] = HEAP8[$155 + (($237 + $192 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$158 + 6 >> 0] = HEAP8[$155 + (($192 - $237 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$158 + 5 >> 0] = HEAP8[$155 + ($194 >>> 18 & 1023) >> 0] | 0; - $$1291 = $$1291 + 1 | 0; - if (($$1291 | 0) == 11) break; else $$1287290 = $$1287290 + 32 | 0; - } - STACKTOP = sp; - return; -} - -function __ZN6vision5Image5allocENS_9ImageTypeEmmim($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$byval_copy = 0, $$sink = 0, $101 = 0, $105 = 0, $14 = 0, $19 = 0, $23 = 0, $30 = 0, $35 = 0, $39 = 0, $46 = 0, $51 = 0, $55 = 0, $6 = 0, $62 = 0, $67 = 0, $7 = 0, $71 = 0, $77 = 0, $78 = 0, $81 = 0, $82 = 0, $83 = 0, $85 = 0, $86 = 0, $87 = 0, $96 = 0, sp = 0; + $add$ptr121 = (HEAP32[$output_buf + ($ctr$1246 << 2) >> 2] | 0) + $output_col | 0; + $shl124 = (HEAP32[$wsptr$1245 >> 2] << 13) + 134348800 | 0; + $mul126 = (HEAP32[$wsptr$1245 + 16 >> 2] | 0) * 10033 | 0; + $add127 = $shl124 + $mul126 | 0; + $sub128 = $shl124 - $mul126 | 0; + $25 = HEAP32[$wsptr$1245 + 8 >> 2] | 0; + $shl133 = HEAP32[$wsptr$1245 + 24 >> 2] << 13; + $sub134 = ($25 << 13) - $shl133 | 0; + $add135 = $sub134 + $shl124 | 0; + $sub136 = $shl124 - $sub134 | 0; + $add137 = $shl133 + ($25 * 11190 | 0) | 0; + $add138 = $add137 + $add127 | 0; + $sub139 = $add127 - $add137 | 0; + $sub141 = ($25 * 2998 | 0) - $shl133 | 0; + $add142 = $sub141 + $sub128 | 0; + $sub143 = $sub128 - $sub141 | 0; + $27 = HEAP32[$wsptr$1245 + 4 >> 2] | 0; + $28 = HEAP32[$wsptr$1245 + 12 >> 2] | 0; + $29 = HEAP32[$wsptr$1245 + 20 >> 2] | 0; + $30 = HEAP32[$wsptr$1245 + 28 >> 2] | 0; + $mul148 = $28 * 10703 | 0; + $mul149 = Math_imul($28, -4433) | 0; + $add150 = $29 + $27 | 0; + $mul152 = ($add150 + $30 | 0) * 7053 | 0; + $add154 = $mul152 + ($add150 * 2139 | 0) | 0; + $add157 = $mul148 + ($27 * 2295 | 0) + $add154 | 0; + $mul159 = Math_imul($30 + $29 | 0, -8565) | 0; + $add163 = (Math_imul($29, -12112) | 0) + $mul149 + $mul159 + $add154 | 0; + $add167 = ($30 * 12998 | 0) - $mul148 + $mul152 + $mul159 | 0; + $add172 = $mul149 + (Math_imul($27, -5540) | 0) + (Math_imul($30, -16244) | 0) + $mul152 | 0; + $sub173 = $27 - $30 | 0; + $sub174 = $28 - $29 | 0; + $mul176 = ($sub173 + $sub174 | 0) * 4433 | 0; + $add178 = $mul176 + ($sub173 * 6270 | 0) | 0; + $sub180 = $mul176 + (Math_imul($sub174, -15137) | 0) | 0; + HEAP8[$add$ptr121 >> 0] = HEAP8[$add$ptr + (($add157 + $add138 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr121 + 11 >> 0] = HEAP8[$add$ptr + (($add138 - $add157 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr121 + 1 >> 0] = HEAP8[$add$ptr + (($add178 + $add135 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr121 + 10 >> 0] = HEAP8[$add$ptr + (($add135 - $add178 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr121 + 2 >> 0] = HEAP8[$add$ptr + (($add163 + $add142 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr121 + 9 >> 0] = HEAP8[$add$ptr + (($add142 - $add163 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr121 + 3 >> 0] = HEAP8[$add$ptr + (($add167 + $sub143 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr121 + 8 >> 0] = HEAP8[$add$ptr + (($sub143 - $add167 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr121 + 4 >> 0] = HEAP8[$add$ptr + (($sub180 + $sub136 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr121 + 7 >> 0] = HEAP8[$add$ptr + (($sub136 - $sub180 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr121 + 5 >> 0] = HEAP8[$add$ptr + (($add172 + $sub139 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr121 + 6 >> 0] = HEAP8[$add$ptr + (($sub139 - $add172 | 0) >>> 18 & 1023) >> 0] | 0; + $ctr$1246 = $ctr$1246 + 1 | 0; + if (($ctr$1246 | 0) == 12) break; else $wsptr$1245 = $wsptr$1245 + 32 | 0; + } + STACKTOP = sp; + return; +} + +function __ZNSt3__220__get_up_to_n_digitsIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEEiRT0_S5_RjRKNS_5ctypeIT_EEi($__b, $__e, $__err, $__ct, $__n) { + $__b = $__b | 0; + $__e = $__e | 0; + $__err = $__err | 0; + $__ct = $__ct | 0; + $__n = $__n | 0; + var $0 = 0, $1 = 0, $11 = 0, $12 = 0, $20 = 0, $21 = 0, $25 = 0, $26 = 0, $30 = 0, $31 = 0, $36 = 0, $37 = 0, $39 = 0, $40 = 0, $47 = 0, $48 = 0, $5 = 0, $52 = 0, $56 = 0, $57 = 0, $6 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $__n$addr$0 = 0, $__n$addr$0$in = 0, $__ninp_$i$i21 = 0, $__ninp_$i$i97 = 0, $__r$0 = 0, $__r$0$in = 0, $__tab_$i = 0, $add = 0, $conv = 0, $conv$i = 0, $conv$i82 = 0, $retval$0$i$i = 0, $retval$0$i$i$i$i = 0, $retval$0$i$i$i$i120 = 0, $retval$0$i$i$i$i42 = 0, $retval$0$i$i13$i$i = 0, $retval$0$i$i13$i$i141 = 0, $retval$0$i$i13$i$i63 = 0, $retval$0$i$i81 = 0, $retval$2 = 0, label = 0; + $0 = HEAP32[$__b >> 2] | 0; + do if ($0) { + $1 = HEAP32[$0 + 12 >> 2] | 0; + if (($1 | 0) == (HEAP32[$0 + 16 >> 2] | 0)) $retval$0$i$i$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$0 >> 2] | 0) + 36 >> 2] & 127]($0) | 0; else $retval$0$i$i$i$i = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$1 >> 0] | 0) | 0; + if (__ZNSt3__211char_traitsIcE11eq_int_typeEii($retval$0$i$i$i$i, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { + HEAP32[$__b >> 2] = 0; + $62 = 1; + break; + } else { + $62 = (HEAP32[$__b >> 2] | 0) == 0; + break; + } + } else $62 = 1; while (0); + $5 = HEAP32[$__e >> 2] | 0; + do if ($5) { + $6 = HEAP32[$5 + 12 >> 2] | 0; + if (($6 | 0) == (HEAP32[$5 + 16 >> 2] | 0)) $retval$0$i$i13$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$5 >> 2] | 0) + 36 >> 2] & 127]($5) | 0; else $retval$0$i$i13$i$i = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$6 >> 0] | 0) | 0; + if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii($retval$0$i$i13$i$i, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if ($62) { + $63 = $5; + label = 17; + break; + } else { + label = 16; + break; + } else { + HEAP32[$__e >> 2] = 0; + label = 14; + break; + } + } else label = 14; while (0); + if ((label | 0) == 14) if ($62) label = 16; else { + $63 = 0; + label = 17; + } + L22 : do if ((label | 0) == 16) { + HEAP32[$__err >> 2] = HEAP32[$__err >> 2] | 6; + $retval$2 = 0; + } else if ((label | 0) == 17) { + $11 = HEAP32[$__b >> 2] | 0; + $12 = HEAP32[$11 + 12 >> 2] | 0; + if (($12 | 0) == (HEAP32[$11 + 16 >> 2] | 0)) $retval$0$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$11 >> 2] | 0) + 36 >> 2] & 127]($11) | 0; else $retval$0$i$i = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$12 >> 0] | 0) | 0; + $conv$i = $retval$0$i$i & 255; + if ($conv$i << 24 >> 24 > -1 ? ($__tab_$i = $__ct + 8 | 0, HEAP16[(HEAP32[$__tab_$i >> 2] | 0) + ($retval$0$i$i << 24 >> 24 << 1) >> 1] & 2048) : 0) { + $conv = (FUNCTION_TABLE_iiii[HEAP32[(HEAP32[$__ct >> 2] | 0) + 36 >> 2] & 63]($__ct, $conv$i, 0) | 0) << 24 >> 24; + $20 = HEAP32[$__b >> 2] | 0; + $__ninp_$i$i21 = $20 + 12 | 0; + $21 = HEAP32[$__ninp_$i$i21 >> 2] | 0; + if (($21 | 0) == (HEAP32[$20 + 16 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$20 >> 2] | 0) + 40 >> 2] & 127]($20) | 0; else { + HEAP32[$__ninp_$i$i21 >> 2] = $21 + 1; + __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$21 >> 0] | 0) | 0; + } + $30 = $63; + $64 = $63; + $__n$addr$0$in = $__n; + $__r$0$in = $conv; + while (1) { + $__r$0 = $__r$0$in + -48 | 0; + $__n$addr$0 = $__n$addr$0$in + -1 | 0; + $25 = HEAP32[$__b >> 2] | 0; + do if ($25) { + $26 = HEAP32[$25 + 12 >> 2] | 0; + if (($26 | 0) == (HEAP32[$25 + 16 >> 2] | 0)) $retval$0$i$i$i$i42 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$25 >> 2] | 0) + 36 >> 2] & 127]($25) | 0; else $retval$0$i$i$i$i42 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$26 >> 0] | 0) | 0; + if (__ZNSt3__211char_traitsIcE11eq_int_typeEii($retval$0$i$i$i$i42, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { + HEAP32[$__b >> 2] = 0; + $37 = 1; + break; + } else { + $37 = (HEAP32[$__b >> 2] | 0) == 0; + break; + } + } else $37 = 1; while (0); + if ($30) { + $31 = HEAP32[$30 + 12 >> 2] | 0; + if (($31 | 0) == (HEAP32[$30 + 16 >> 2] | 0)) $retval$0$i$i13$i$i63 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$30 >> 2] | 0) + 36 >> 2] & 127]($30) | 0; else $retval$0$i$i13$i$i63 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$31 >> 0] | 0) | 0; + if (__ZNSt3__211char_traitsIcE11eq_int_typeEii($retval$0$i$i13$i$i63, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { + HEAP32[$__e >> 2] = 0; + $36 = 1; + $56 = 0; + $65 = 0; + } else { + $36 = 0; + $56 = $64; + $65 = $30; + } + } else { + $36 = 1; + $56 = $64; + $65 = 0; + } + $39 = HEAP32[$__b >> 2] | 0; + if (!(($__n$addr$0$in | 0) > 1 & ($37 ^ $36))) break; + $40 = HEAP32[$39 + 12 >> 2] | 0; + if (($40 | 0) == (HEAP32[$39 + 16 >> 2] | 0)) $retval$0$i$i81 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$39 >> 2] | 0) + 36 >> 2] & 127]($39) | 0; else $retval$0$i$i81 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$40 >> 0] | 0) | 0; + $conv$i82 = $retval$0$i$i81 & 255; + if ($conv$i82 << 24 >> 24 <= -1) { + $retval$2 = $__r$0; + break L22; + } + if (!(HEAP16[(HEAP32[$__tab_$i >> 2] | 0) + ($retval$0$i$i81 << 24 >> 24 << 1) >> 1] & 2048)) { + $retval$2 = $__r$0; + break L22; + } + $add = ($__r$0 * 10 | 0) + ((FUNCTION_TABLE_iiii[HEAP32[(HEAP32[$__ct >> 2] | 0) + 36 >> 2] & 63]($__ct, $conv$i82, 0) | 0) << 24 >> 24) | 0; + $47 = HEAP32[$__b >> 2] | 0; + $__ninp_$i$i97 = $47 + 12 | 0; + $48 = HEAP32[$__ninp_$i$i97 >> 2] | 0; + if (($48 | 0) == (HEAP32[$47 + 16 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$47 >> 2] | 0) + 40 >> 2] & 127]($47) | 0; else { + HEAP32[$__ninp_$i$i97 >> 2] = $48 + 1; + __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$48 >> 0] | 0) | 0; + } + $30 = $65; + $64 = $56; + $__n$addr$0$in = $__n$addr$0; + $__r$0$in = $add; + } + do if ($39) { + $52 = HEAP32[$39 + 12 >> 2] | 0; + if (($52 | 0) == (HEAP32[$39 + 16 >> 2] | 0)) $retval$0$i$i$i$i120 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$39 >> 2] | 0) + 36 >> 2] & 127]($39) | 0; else $retval$0$i$i$i$i120 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$52 >> 0] | 0) | 0; + if (__ZNSt3__211char_traitsIcE11eq_int_typeEii($retval$0$i$i$i$i120, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { + HEAP32[$__b >> 2] = 0; + $66 = 1; + break; + } else { + $66 = (HEAP32[$__b >> 2] | 0) == 0; + break; + } + } else $66 = 1; while (0); + do if ($56) { + $57 = HEAP32[$56 + 12 >> 2] | 0; + if (($57 | 0) == (HEAP32[$56 + 16 >> 2] | 0)) $retval$0$i$i13$i$i141 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$56 >> 2] | 0) + 36 >> 2] & 127]($56) | 0; else $retval$0$i$i13$i$i141 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$57 >> 0] | 0) | 0; + if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii($retval$0$i$i13$i$i141, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if ($66) { + $retval$2 = $__r$0; + break L22; + } else break; else { + HEAP32[$__e >> 2] = 0; + label = 63; + break; + } + } else label = 63; while (0); + if ((label | 0) == 63 ? !$66 : 0) { + $retval$2 = $__r$0; + break; + } + HEAP32[$__err >> 2] = HEAP32[$__err >> 2] | 2; + $retval$2 = $__r$0; + break; + } + HEAP32[$__err >> 2] = HEAP32[$__err >> 2] | 4; + $retval$2 = 0; + } while (0); + return $retval$2 | 0; +} + +function __ZN6vision5Image5allocENS_9ImageTypeEmmim($this, $type, $width, $height, $step, $channels) { + $this = $this | 0; + $type = $type | 0; + $width = $width | 0; + $height = $height | 0; + $step = $step | 0; + $channels = $channels | 0; + var $5 = 0, $7 = 0, $__cntrl_$i$i = 0, $__cntrl_3$i$i = 0, $agg$tmp$i = 0, $agg$tmp$i$byval_copy = 0, $call$i1$i = 0, $call$i1$i108 = 0, $call$i1$i75 = 0, $call$i1$i86 = 0, $call$i1$i97 = 0, $call$i2$i = 0, $call$i2$i100 = 0, $call$i2$i111 = 0, $call$i2$i78 = 0, $call$i2$i89 = 0, $call107 = 0, $call11 = 0, $call29 = 0, $call50 = 0, $call71 = 0, $call90 = 0, $mData = 0, $mSize = 0, $mul86 = 0, $ref$tmp$i = 0, $step$sink = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 32 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $$byval_copy = sp + 16 | 0; - $6 = sp + 8 | 0; - $7 = sp; - if (!$2) { - $14 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 38353) | 0, 38386) | 0, 39072) | 0, 127) | 0, 39079) | 0, 38458) | 0; - __ZNKSt3__28ios_base6getlocEv($$byval_copy, $14 + (HEAP32[(HEAP32[$14 >> 2] | 0) + -12 >> 2] | 0) | 0); - $19 = __ZNKSt3__26locale9use_facetERNS0_2idE($$byval_copy, 66512) | 0; - $23 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$19 >> 2] | 0) + 28 >> 2] & 127]($19, 10) | 0; - __ZNSt3__26localeD2Ev($$byval_copy); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($14, $23) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($14) | 0; + $agg$tmp$i$byval_copy = sp + 16 | 0; + $ref$tmp$i = sp + 8 | 0; + $agg$tmp$i = sp; + if (!$width) { + $call11 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 38999) | 0, 39032) | 0, 39794) | 0, 127) | 0, 39801) | 0, 39142) | 0; + __ZNKSt3__28ios_base6getlocEv($agg$tmp$i$byval_copy, $call11 + (HEAP32[(HEAP32[$call11 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i = __ZNKSt3__26locale9use_facetERNS0_2idE($agg$tmp$i$byval_copy, 67360) | 0; + $call$i2$i = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i >> 2] | 0) + 28 >> 2] & 127]($call$i1$i, 10) | 0; + __ZNSt3__26localeD2Ev($agg$tmp$i$byval_copy); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call11, $call$i2$i) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call11) | 0; _abort(); } - if (!$3) { - $30 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 38479) | 0, 38386) | 0, 39072) | 0, 128) | 0, 39079) | 0, 38513) | 0; - __ZNKSt3__28ios_base6getlocEv($$byval_copy, $30 + (HEAP32[(HEAP32[$30 >> 2] | 0) + -12 >> 2] | 0) | 0); - $35 = __ZNKSt3__26locale9use_facetERNS0_2idE($$byval_copy, 66512) | 0; - $39 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$35 >> 2] | 0) + 28 >> 2] & 127]($35, 10) | 0; - __ZNSt3__26localeD2Ev($$byval_copy); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($30, $39) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($30) | 0; + if (!$height) { + $call29 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 39163) | 0, 39032) | 0, 39794) | 0, 128) | 0, 39801) | 0, 39197) | 0; + __ZNKSt3__28ios_base6getlocEv($agg$tmp$i$byval_copy, $call29 + (HEAP32[(HEAP32[$call29 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i75 = __ZNKSt3__26locale9use_facetERNS0_2idE($agg$tmp$i$byval_copy, 67360) | 0; + $call$i2$i78 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i75 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i75, 10) | 0; + __ZNSt3__26localeD2Ev($agg$tmp$i$byval_copy); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call29, $call$i2$i78) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call29) | 0; _abort(); } - if ($4 >>> 0 < $2 >>> 0) { - $46 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 38535) | 0, 38386) | 0, 39072) | 0, 129) | 0, 39079) | 0, 38572) | 0; - __ZNKSt3__28ios_base6getlocEv($$byval_copy, $46 + (HEAP32[(HEAP32[$46 >> 2] | 0) + -12 >> 2] | 0) | 0); - $51 = __ZNKSt3__26locale9use_facetERNS0_2idE($$byval_copy, 66512) | 0; - $55 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$51 >> 2] | 0) + 28 >> 2] & 127]($51, 10) | 0; - __ZNSt3__26localeD2Ev($$byval_copy); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($46, $55) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($46) | 0; + if ($step >>> 0 < $width >>> 0) { + $call50 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 39219) | 0, 39032) | 0, 39794) | 0, 129) | 0, 39801) | 0, 39256) | 0; + __ZNKSt3__28ios_base6getlocEv($agg$tmp$i$byval_copy, $call50 + (HEAP32[(HEAP32[$call50 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i86 = __ZNKSt3__26locale9use_facetERNS0_2idE($agg$tmp$i$byval_copy, 67360) | 0; + $call$i2$i89 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i86 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i86, 10) | 0; + __ZNSt3__26localeD2Ev($agg$tmp$i$byval_copy); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call50, $call$i2$i89) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call50) | 0; _abort(); } - if (!$5) { - $62 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 38617) | 0, 38386) | 0, 39072) | 0, 130) | 0, 39079) | 0, 38653) | 0; - __ZNKSt3__28ios_base6getlocEv($$byval_copy, $62 + (HEAP32[(HEAP32[$62 >> 2] | 0) + -12 >> 2] | 0) | 0); - $67 = __ZNKSt3__26locale9use_facetERNS0_2idE($$byval_copy, 66512) | 0; - $71 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$67 >> 2] | 0) + 28 >> 2] & 127]($67, 10) | 0; - __ZNSt3__26localeD2Ev($$byval_copy); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($62, $71) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($62) | 0; + if (!$channels) { + $call71 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 39301) | 0, 39032) | 0, 39794) | 0, 130) | 0, 39801) | 0, 39337) | 0; + __ZNKSt3__28ios_base6getlocEv($agg$tmp$i$byval_copy, $call71 + (HEAP32[(HEAP32[$call71 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i97 = __ZNKSt3__26locale9use_facetERNS0_2idE($agg$tmp$i$byval_copy, 67360) | 0; + $call$i2$i100 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i97 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i97, 10) | 0; + __ZNSt3__26localeD2Ev($agg$tmp$i$byval_copy); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call71, $call$i2$i100) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call71) | 0; + _abort(); + } + if (($step | 0) < 0) $step$sink = Math_imul(Math_imul($channels, $width) | 0, __ZN6vision5Image19calculate_unit_sizeENS_9ImageTypeE($type) | 0) | 0; else $step$sink = $step; + HEAP32[$this + 12 >> 2] = $step$sink; + $mul86 = Math_imul($step$sink, $height) | 0; + $mSize = $this + 20 | 0; + if ((HEAP32[$mSize >> 2] | 0) != ($mul86 | 0) ? ($mData = $this + 24 | 0, $call90 = __Znam($mul86) | 0, HEAP32[$agg$tmp$i >> 2] = 0, HEAP32[$agg$tmp$i$byval_copy >> 2] = HEAP32[$agg$tmp$i >> 2], __ZNSt3__210shared_ptrIhEC2IhEEPT_NS_9enable_ifIXsr14is_convertibleIS4_PhEE5valueENS1_5__natEE4typeE($ref$tmp$i, $call90, $agg$tmp$i$byval_copy), $5 = HEAP32[$ref$tmp$i >> 2] | 0, HEAP32[$ref$tmp$i >> 2] = HEAP32[$mData >> 2], HEAP32[$mData >> 2] = $5, $__cntrl_$i$i = $ref$tmp$i + 4 | 0, $__cntrl_3$i$i = $this + 28 | 0, $7 = HEAP32[$__cntrl_$i$i >> 2] | 0, HEAP32[$__cntrl_$i$i >> 2] = HEAP32[$__cntrl_3$i$i >> 2], HEAP32[$__cntrl_3$i$i >> 2] = $7, __ZNSt3__210shared_ptrIhED2Ev($ref$tmp$i), (HEAP32[$mData >> 2] | 0) == 0) : 0) { + $call107 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 39371) | 0, 39032) | 0, 39794) | 0, 149) | 0, 39801) | 0, 39406) | 0; + __ZNKSt3__28ios_base6getlocEv($agg$tmp$i$byval_copy, $call107 + (HEAP32[(HEAP32[$call107 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i108 = __ZNKSt3__26locale9use_facetERNS0_2idE($agg$tmp$i$byval_copy, 67360) | 0; + $call$i2$i111 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i108 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i108, 10) | 0; + __ZNSt3__26localeD2Ev($agg$tmp$i$byval_copy); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call107, $call$i2$i111) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call107) | 0; _abort(); } - if (($4 | 0) < 0) $$sink = Math_imul(Math_imul($5, $2) | 0, __ZN6vision5Image19calculate_unit_sizeENS_9ImageTypeE($1) | 0) | 0; else $$sink = $4; - HEAP32[$0 + 12 >> 2] = $$sink; - $77 = Math_imul($$sink, $3) | 0; - $78 = $0 + 20 | 0; - if ((HEAP32[$78 >> 2] | 0) != ($77 | 0) ? ($81 = $0 + 24 | 0, $82 = __Znam($77) | 0, HEAP32[$7 >> 2] = 0, HEAP32[$$byval_copy >> 2] = HEAP32[$7 >> 2], __ZNSt3__210shared_ptrIhEC2IhEEPT_NS_9enable_ifIXsr14is_convertibleIS4_PhEE5valueENS1_5__natEE4typeE($6, $82, $$byval_copy), $83 = HEAP32[$6 >> 2] | 0, HEAP32[$6 >> 2] = HEAP32[$81 >> 2], HEAP32[$81 >> 2] = $83, $85 = $6 + 4 | 0, $86 = $0 + 28 | 0, $87 = HEAP32[$85 >> 2] | 0, HEAP32[$85 >> 2] = HEAP32[$86 >> 2], HEAP32[$86 >> 2] = $87, __ZNSt3__210shared_ptrIhED2Ev($6), (HEAP32[$81 >> 2] | 0) == 0) : 0) { - $96 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 38687) | 0, 38386) | 0, 39072) | 0, 149) | 0, 39079) | 0, 38722) | 0; - __ZNKSt3__28ios_base6getlocEv($$byval_copy, $96 + (HEAP32[(HEAP32[$96 >> 2] | 0) + -12 >> 2] | 0) | 0); - $101 = __ZNKSt3__26locale9use_facetERNS0_2idE($$byval_copy, 66512) | 0; - $105 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$101 >> 2] | 0) + 28 >> 2] & 127]($101, 10) | 0; - __ZNSt3__26localeD2Ev($$byval_copy); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($96, $105) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($96) | 0; - _abort(); + HEAP32[$this >> 2] = $type; + HEAP32[$this + 4 >> 2] = $width; + HEAP32[$this + 8 >> 2] = $height; + HEAP32[$this + 16 >> 2] = $channels; + HEAP32[$mSize >> 2] = $mul86; + STACKTOP = sp; + return; +} + +function __ZNSt3__29__num_putIcE23__widen_and_group_floatEPcS2_S2_S2_RS2_S3_RKNS_6localeE($__nb, $__np, $__ne, $__ob, $__op, $__oe, $__loc) { + $__nb = $__nb | 0; + $__np = $__np | 0; + $__ne = $__ne | 0; + $__ob = $__ob | 0; + $__op = $__op | 0; + $__oe = $__oe | 0; + $__loc = $__loc | 0; + var $$pre$phiZ2D = 0, $1 = 0, $10 = 0, $13 = 0, $18 = 0, $21 = 0, $22 = 0, $26 = 0, $27 = 0, $28 = 0, $3 = 0, $32 = 0, $33 = 0, $35 = 0, $37 = 0, $7 = 0, $__dc$0 = 0, $__dc$1 = 0, $__dg$0 = 0, $__dg$1 = 0, $__first$addr$0$i$i = 0, $__first$addr$0$i$i101 = 0, $__grouping = 0, $__last$addr$0$i$i = 0, $__last$addr$0$i$i102 = 0, $__nf$0 = 0, $__nf$1 = 0, $__nf$2 = 0, $__nf$3 = 0, $__ns$0 = 0, $__ns$1 = 0, $__ns$2 = 0, $__p$0 = 0, $__size_$i$i$i = 0, $__size_$i3$i$i = 0, $add$ptr100 = 0, $add$ptr78 = 0, $arrayidx10 = 0, $call$i = 0, $call$i111 = 0, $call$i120 = 0, $call$i133 = 0, $call$i80 = 0, $call$i83 = 0, $call$i86 = 0, $call$i89 = 0, $call$i98 = 0, $conv25 = 0, $conv34 = 0, $incdec$ptr$i$i = 0, $incdec$ptr$i$i103 = 0, $incdec$ptr21 = 0, $sub$ptr$lhs$cast = 0, label = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $__grouping = sp; + $call$i = __ZNKSt3__26locale9use_facetERNS0_2idE($__loc, 67360) | 0; + $call$i80 = __ZNKSt3__26locale9use_facetERNS0_2idE($__loc, 67376) | 0; + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$call$i80 >> 2] | 0) + 20 >> 2] & 255]($__grouping, $call$i80); + HEAP32[$__oe >> 2] = $__ob; + $1 = HEAP8[$__nb >> 0] | 0; + switch ($1 << 24 >> 24) { + case 43: + case 45: + { + $call$i83 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i >> 2] | 0) + 28 >> 2] & 127]($call$i, $1) | 0; + $3 = HEAP32[$__oe >> 2] | 0; + HEAP32[$__oe >> 2] = $3 + 1; + HEAP8[$3 >> 0] = $call$i83; + $__nf$0 = $__nb + 1 | 0; + break; + } + default: + $__nf$0 = $__nb; + } + $sub$ptr$lhs$cast = $__ne; + L4 : do if (($sub$ptr$lhs$cast - $__nf$0 | 0) > 1 ? (HEAP8[$__nf$0 >> 0] | 0) == 48 : 0) { + $arrayidx10 = $__nf$0 + 1 | 0; + switch (HEAP8[$arrayidx10 >> 0] | 0) { + case 88: + case 120: + break; + default: + { + label = 4; + break L4; + } + } + $call$i86 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i >> 2] | 0) + 28 >> 2] & 127]($call$i, 48) | 0; + $7 = HEAP32[$__oe >> 2] | 0; + HEAP32[$__oe >> 2] = $7 + 1; + HEAP8[$7 >> 0] = $call$i86; + $incdec$ptr21 = $__nf$0 + 2 | 0; + $call$i89 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i >> 2] | 0) + 28 >> 2] & 127]($call$i, HEAP8[$arrayidx10 >> 0] | 0) | 0; + $10 = HEAP32[$__oe >> 2] | 0; + HEAP32[$__oe >> 2] = $10 + 1; + HEAP8[$10 >> 0] = $call$i89; + $__ns$0 = $incdec$ptr21; + while (1) { + if ($__ns$0 >>> 0 >= $__ne >>> 0) { + $__nf$1 = $incdec$ptr21; + $__ns$2 = $__ns$0; + break L4; + } + $conv25 = HEAP8[$__ns$0 >> 0] | 0; + if (!(_isxdigit_l($conv25, __ZNSt3__26__clocEv() | 0) | 0)) { + $__nf$1 = $incdec$ptr21; + $__ns$2 = $__ns$0; + break L4; + } + $__ns$0 = $__ns$0 + 1 | 0; + } + } else label = 4; while (0); + L12 : do if ((label | 0) == 4) { + $__ns$1 = $__nf$0; + while (1) { + if ($__ns$1 >>> 0 >= $__ne >>> 0) { + $__nf$1 = $__nf$0; + $__ns$2 = $__ns$1; + break L12; + } + $conv34 = HEAP8[$__ns$1 >> 0] | 0; + if (!(_isdigit_l($conv34, __ZNSt3__26__clocEv() | 0) | 0)) { + $__nf$1 = $__nf$0; + $__ns$2 = $__ns$1; + break L12; + } + $__ns$1 = $__ns$1 + 1 | 0; + } + } while (0); + $__size_$i$i$i = $__grouping + 11 | 0; + $13 = HEAP8[$__size_$i$i$i >> 0] | 0; + $__size_$i3$i$i = $__grouping + 4 | 0; + L19 : do if (($13 << 24 >> 24 < 0 ? HEAP32[$__size_$i3$i$i >> 2] | 0 : $13 & 255) | 0) { + L22 : do if (($__nf$1 | 0) != ($__ns$2 | 0)) { + $__first$addr$0$i$i = $__nf$1; + $__last$addr$0$i$i = $__ns$2; + while (1) { + $incdec$ptr$i$i = $__last$addr$0$i$i + -1 | 0; + if ($__first$addr$0$i$i >>> 0 >= $incdec$ptr$i$i >>> 0) break L22; + $18 = HEAP8[$__first$addr$0$i$i >> 0] | 0; + HEAP8[$__first$addr$0$i$i >> 0] = HEAP8[$incdec$ptr$i$i >> 0] | 0; + HEAP8[$incdec$ptr$i$i >> 0] = $18; + $__first$addr$0$i$i = $__first$addr$0$i$i + 1 | 0; + $__last$addr$0$i$i = $incdec$ptr$i$i; + } + } while (0); + $call$i98 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$call$i80 >> 2] | 0) + 16 >> 2] & 127]($call$i80) | 0; + $__dc$0 = 0; + $__dg$0 = 0; + $__p$0 = $__nf$1; + while (1) { + if ($__p$0 >>> 0 >= $__ns$2 >>> 0) break; + $26 = HEAP8[((HEAP8[$__size_$i$i$i >> 0] | 0) < 0 ? HEAP32[$__grouping >> 2] | 0 : $__grouping) + $__dg$0 >> 0] | 0; + if ($26 << 24 >> 24 > 0 & ($__dc$0 | 0) == ($26 << 24 >> 24 | 0)) { + $27 = HEAP32[$__oe >> 2] | 0; + HEAP32[$__oe >> 2] = $27 + 1; + HEAP8[$27 >> 0] = $call$i98; + $28 = HEAP8[$__size_$i$i$i >> 0] | 0; + $__dc$1 = 0; + $__dg$1 = $__dg$0 + ($__dg$0 >>> 0 < (($28 << 24 >> 24 < 0 ? HEAP32[$__size_$i3$i$i >> 2] | 0 : $28 & 255) + -1 | 0) >>> 0 & 1) | 0; + } else { + $__dc$1 = $__dc$0; + $__dg$1 = $__dg$0; + } + $call$i133 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i >> 2] | 0) + 28 >> 2] & 127]($call$i, HEAP8[$__p$0 >> 0] | 0) | 0; + $32 = HEAP32[$__oe >> 2] | 0; + HEAP32[$__oe >> 2] = $32 + 1; + HEAP8[$32 >> 0] = $call$i133; + $__dc$0 = $__dc$1 + 1 | 0; + $__dg$0 = $__dg$1; + $__p$0 = $__p$0 + 1 | 0; + } + $add$ptr78 = $__ob + ($__nf$1 - $__nb) | 0; + $21 = HEAP32[$__oe >> 2] | 0; + if (($add$ptr78 | 0) == ($21 | 0)) $$pre$phiZ2D = $call$i; else { + $__first$addr$0$i$i101 = $add$ptr78; + $__last$addr$0$i$i102 = $21; + while (1) { + $incdec$ptr$i$i103 = $__last$addr$0$i$i102 + -1 | 0; + if ($__first$addr$0$i$i101 >>> 0 >= $incdec$ptr$i$i103 >>> 0) { + $$pre$phiZ2D = $call$i; + break L19; + } + $22 = HEAP8[$__first$addr$0$i$i101 >> 0] | 0; + HEAP8[$__first$addr$0$i$i101 >> 0] = HEAP8[$incdec$ptr$i$i103 >> 0] | 0; + HEAP8[$incdec$ptr$i$i103 >> 0] = $22; + $__first$addr$0$i$i101 = $__first$addr$0$i$i101 + 1 | 0; + $__last$addr$0$i$i102 = $incdec$ptr$i$i103; + } + } + } else { + FUNCTION_TABLE_iiiii[HEAP32[(HEAP32[$call$i >> 2] | 0) + 32 >> 2] & 15]($call$i, $__nf$1, $__ns$2, HEAP32[$__oe >> 2] | 0) | 0; + HEAP32[$__oe >> 2] = (HEAP32[$__oe >> 2] | 0) + ($__ns$2 - $__nf$1); + $$pre$phiZ2D = $call$i; + } while (0); + $__nf$2 = $__ns$2; + while (1) { + if ($__nf$2 >>> 0 >= $__ne >>> 0) { + $__nf$3 = $__nf$2; + break; + } + $33 = HEAP8[$__nf$2 >> 0] | 0; + if ($33 << 24 >> 24 == 46) { + label = 32; + break; + } + $call$i111 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$$pre$phiZ2D >> 2] | 0) + 28 >> 2] & 127]($call$i, $33) | 0; + $37 = HEAP32[$__oe >> 2] | 0; + HEAP32[$__oe >> 2] = $37 + 1; + HEAP8[$37 >> 0] = $call$i111; + $__nf$2 = $__nf$2 + 1 | 0; + } + if ((label | 0) == 32) { + $call$i120 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$call$i80 >> 2] | 0) + 12 >> 2] & 127]($call$i80) | 0; + $35 = HEAP32[$__oe >> 2] | 0; + HEAP32[$__oe >> 2] = $35 + 1; + HEAP8[$35 >> 0] = $call$i120; + $__nf$3 = $__nf$2 + 1 | 0; } - HEAP32[$0 >> 2] = $1; - HEAP32[$0 + 4 >> 2] = $2; - HEAP32[$0 + 8 >> 2] = $3; - HEAP32[$0 + 16 >> 2] = $5; - HEAP32[$78 >> 2] = $77; + FUNCTION_TABLE_iiiii[HEAP32[(HEAP32[$call$i >> 2] | 0) + 32 >> 2] & 15]($call$i, $__nf$3, $__ne, HEAP32[$__oe >> 2] | 0) | 0; + $add$ptr100 = (HEAP32[$__oe >> 2] | 0) + ($sub$ptr$lhs$cast - $__nf$3) | 0; + HEAP32[$__oe >> 2] = $add$ptr100; + HEAP32[$__op >> 2] = ($__np | 0) == ($__ne | 0) ? $add$ptr100 : $__ob + ($__np - $__nb) | 0; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($__grouping); STACKTOP = sp; return; } -function _arParamObserv2Ideal($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = +$1; - $2 = +$2; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$0 = 0, $$0342 = 0.0, $$0343 = 0.0, $$0345 = 0, $$0346 = 0.0, $$0348 = 0.0, $$0350 = 0.0, $$0351 = 0.0, $$0352 = 0, $$0353 = 0.0, $$0355 = 0.0, $$0357 = 0.0, $$0358 = 0.0, $$0359 = 0, $$0360 = 0.0, $$0361 = 0.0, $$0362 = 0.0, $$0363 = 0, $$0364 = 0.0, $$0365 = 0.0, $$0367 = 0.0, $$1 = 0.0, $$1344 = 0.0, $$1347 = 0.0, $$1349 = 0.0, $$1354 = 0.0, $$1356 = 0.0, $$1366 = 0.0, $$1368 = 0.0, $$sink = 0.0, $10 = 0.0, $105 = 0.0, $107 = 0.0, $108 = 0, $110 = 0.0, $113 = 0.0, $117 = 0.0, $12 = 0.0, $120 = 0.0, $121 = 0.0, $122 = 0.0, $123 = 0.0, $138 = 0.0, $14 = 0.0, $140 = 0.0, $142 = 0.0, $146 = 0.0, $149 = 0, $157 = 0.0, $158 = 0.0, $159 = 0, $16 = 0.0, $161 = 0.0, $164 = 0.0, $168 = 0.0, $171 = 0.0, $172 = 0.0, $173 = 0.0, $174 = 0.0, $18 = 0.0, $189 = 0.0, $191 = 0.0, $193 = 0.0, $197 = 0.0, $20 = 0.0, $200 = 0, $208 = 0.0, $209 = 0.0, $210 = 0, $212 = 0.0, $215 = 0.0, $218 = 0.0, $219 = 0.0, $22 = 0.0, $220 = 0.0, $229 = 0.0, $231 = 0.0, $233 = 0.0, $237 = 0.0, $24 = 0.0, $240 = 0, $26 = 0.0, $29 = 0.0, $30 = 0.0, $31 = 0.0, $32 = 0.0, $35 = 0.0, $40 = 0.0, $50 = 0.0, $56 = 0.0, $6 = 0.0, $67 = 0.0, $73 = 0.0, $8 = 0.0, $92 = 0.0, label = 0; - switch ($5 | 0) { - case 4: - { - $6 = +HEAPF64[$0 >> 3]; - $8 = +HEAPF64[$0 + 8 >> 3]; - $10 = +HEAPF64[$0 + 16 >> 3]; - $12 = +HEAPF64[$0 + 24 >> 3]; - $14 = +HEAPF64[$0 + 32 >> 3]; - $16 = +HEAPF64[$0 + 40 >> 3]; - $18 = +HEAPF64[$0 + 48 >> 3]; - $20 = +HEAPF64[$0 + 56 >> 3]; - $22 = +HEAPF64[$0 + 64 >> 3]; - $24 = ($1 - $18) / $14; - $26 = ($2 - $20) / $16; - $29 = $10 * 2.0; - $30 = $12 * 6.0; - $31 = $12 * 2.0; - $32 = $10 * 6.0; - $$0346 = $24; - $$0348 = $26; - $$0357 = $24 * $24; - $$0358 = $26 * $26; - $$0359 = 1; - while (1) { - if (!($$0358 != 0.0 | $$0357 != 0.0)) { - $$1347 = 0.0; - $$1349 = 0.0; - break; - } - $35 = $$0358 + $$0357; - $40 = $6 * $35 + 1.0 + $35 * ($8 * $35); - $50 = $$0357 * 3.0; - $56 = $$0358 * $50; - $67 = $$0346 - ($12 * ($35 + $$0357 * 2.0) + ($$0348 * ($29 * $$0346) + $$0346 * $40) - $24) / ($30 * $$0346 + ($29 * $$0348 + ($6 * ($$0358 + $50) + 1.0 + $8 * ($$0358 * $$0358 + ($$0357 * ($$0357 * 5.0) + $56))))); - $73 = $31 * $67; - $92 = $$0348 - ($10 * ($$0358 * 2.0 + $35) + $$0348 * $40 + $$0348 * $73 - $26) / ($32 * $$0348 + ($6 * ($$0357 + $$0358 * 3.0) + 1.0 + $8 * ($$0358 * ($$0358 * 5.0) + ($$0357 * $$0357 + $56))) + $73); - if (($$0359 | 0) == 4) { - $$1347 = $67; - $$1349 = $92; - break; - } - $$0346 = $67; - $$0348 = $92; - $$0357 = $67 * $67; - $$0358 = $92 * $92; - $$0359 = $$0359 + 1 | 0; - } - HEAPF64[$3 >> 3] = $18 + $14 * $$1347 / $22; - $$sink = $20 + $16 * $$1349 / $22; - label = 22; - break; +function _decode_mcu_DC_first($cinfo, $MCU_data) { + $cinfo = $cinfo | 0; + $MCU_data = $MCU_data | 0; + var $$in = 0, $0 = 0, $1 = 0, $13 = 0, $14 = 0, $16 = 0, $17 = 0, $18 = 0, $20 = 0, $21 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $33 = 0, $37 = 0, $39 = 0, $5 = 0, $add = 0, $and = 0, $and62 = 0, $arrayidx70 = 0, $bits_left$0$lcssa = 0, $bits_left$076 = 0, $bits_left$1 = 0, $bits_left$2 = 0, $bits_left$4$ph = 0, $bits_left$5 = 0, $bits_left$6 = 0, $bits_left$i$i = 0, $bits_left16 = 0, $bits_left28 = 0, $blkn$077 = 0, $blocks_in_MCU = 0, $br_state = 0, $bytes_in_buffer13 = 0, $call38 = 0, $ci$014$i = 0, $comps_in_scan$i = 0, $discarded_bytes$i$i = 0, $get_buffer$0$lcssa = 0, $get_buffer$075 = 0, $get_buffer$1 = 0, $get_buffer$2 = 0, $get_buffer$4$ph = 0, $get_buffer$5 = 0, $get_buffer$6 = 0, $get_buffer14 = 0, $get_buffer27 = 0, $nb$0 = 0, $restart_interval = 0, $restarts_to_go = 0, $restarts_to_go87 = 0, $retval$2 = 0, $s$2$ph = 0, $s$3 = 0, $saved = 0, $src = 0, $state = 0, $sub59 = 0, label = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 48 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); + $br_state = sp + 20 | 0; + $state = sp; + $0 = HEAP32[$cinfo + 468 >> 2] | 0; + $1 = HEAP32[$cinfo + 424 >> 2] | 0; + $restart_interval = $cinfo + 280 | 0; + if (HEAP32[$restart_interval >> 2] | 0 ? ($restarts_to_go = $0 + 44 | 0, (HEAP32[$restarts_to_go >> 2] | 0) == 0) : 0) { + $bits_left$i$i = $0 + 16 | 0; + $5 = HEAP32[$cinfo + 464 >> 2] | 0; + $discarded_bytes$i$i = $5 + 24 | 0; + HEAP32[$discarded_bytes$i$i >> 2] = (HEAP32[$discarded_bytes$i$i >> 2] | 0) + ((HEAP32[$bits_left$i$i >> 2] | 0) / 8 | 0); + HEAP32[$bits_left$i$i >> 2] = 0; + if (!(FUNCTION_TABLE_ii[HEAP32[$5 + 8 >> 2] & 127]($cinfo) | 0)) { + $retval$2 = 0; + STACKTOP = sp; + return $retval$2 | 0; } - case 3: - { - $105 = +HEAPF64[$0 >> 3]; - $107 = ($1 - $105) / +HEAPF64[$0 + 24 >> 3]; - $108 = $0 + 8 | 0; - $110 = $2 - +HEAPF64[$108 >> 3]; - $113 = +HEAPF64[$0 + 32 >> 3] / 1.0e8; - $117 = +HEAPF64[$0 + 40 >> 3] / 1.0e8 / 1.0e5; - $120 = $107 * $107 + $110 * $110; - $121 = +Math_sqrt(+$120); - $122 = $113 * 3.0; - $123 = $117 * 5.0; - $$0360 = $120; - $$0363 = 1; - $$0364 = $121; - $$0365 = $110; - $$0367 = $107; + $comps_in_scan$i = $cinfo + 340 | 0; + if ((HEAP32[$comps_in_scan$i >> 2] | 0) > 0) { + $ci$014$i = 0; + do { + HEAP32[$0 + 24 + ($ci$014$i << 2) >> 2] = 0; + $ci$014$i = $ci$014$i + 1 | 0; + } while (($ci$014$i | 0) < (HEAP32[$comps_in_scan$i >> 2] | 0)); + } + HEAP32[$0 + 20 >> 2] = 0; + HEAP32[$restarts_to_go >> 2] = HEAP32[$restart_interval >> 2]; + if (!(HEAP32[$cinfo + 440 >> 2] | 0)) HEAP32[$0 + 40 >> 2] = 0; + } + if (!(HEAP32[$0 + 40 >> 2] | 0)) { + HEAP32[$br_state + 16 >> 2] = $cinfo; + $src = $cinfo + 24 | 0; + $13 = HEAP32[$src >> 2] | 0; + $14 = HEAP32[$13 >> 2] | 0; + HEAP32[$br_state >> 2] = $14; + $16 = HEAP32[$13 + 4 >> 2] | 0; + $bytes_in_buffer13 = $br_state + 4 | 0; + HEAP32[$bytes_in_buffer13 >> 2] = $16; + $get_buffer14 = $0 + 12 | 0; + $17 = HEAP32[$get_buffer14 >> 2] | 0; + $bits_left16 = $0 + 16 | 0; + $18 = HEAP32[$bits_left16 >> 2] | 0; + $saved = $0 + 20 | 0; + HEAP32[$state >> 2] = HEAP32[$saved >> 2]; + HEAP32[$state + 4 >> 2] = HEAP32[$saved + 4 >> 2]; + HEAP32[$state + 8 >> 2] = HEAP32[$saved + 8 >> 2]; + HEAP32[$state + 12 >> 2] = HEAP32[$saved + 12 >> 2]; + HEAP32[$state + 16 >> 2] = HEAP32[$saved + 16 >> 2]; + $blocks_in_MCU = $cinfo + 368 | 0; + do if ((HEAP32[$blocks_in_MCU >> 2] | 0) > 0) { + $get_buffer27 = $br_state + 8 | 0; + $bits_left28 = $br_state + 12 | 0; + $bits_left$076 = $18; + $blkn$077 = 0; + $get_buffer$075 = $17; while (1) { - if (!($$0364 != 0.0)) { - $$1366 = 0.0; - $$1368 = 0.0; - break; + $20 = HEAP32[$MCU_data + ($blkn$077 << 2) >> 2] | 0; + $21 = HEAP32[$cinfo + 372 + ($blkn$077 << 2) >> 2] | 0; + $24 = HEAP32[$0 + 48 + (HEAP32[(HEAP32[$cinfo + 344 + ($21 << 2) >> 2] | 0) + 20 >> 2] << 2) >> 2] | 0; + if (($bits_left$076 | 0) < 8) { + if (!(_jpeg_fill_bit_buffer($br_state, $get_buffer$075, $bits_left$076, 0) | 0)) { + $retval$2 = 0; + label = 28; + break; + } + $25 = HEAP32[$get_buffer27 >> 2] | 0; + $26 = HEAP32[$bits_left28 >> 2] | 0; + if (($26 | 0) < 8) { + $bits_left$2 = $26; + $get_buffer$2 = $25; + $nb$0 = 1; + label = 17; + } else { + $bits_left$1 = $26; + $get_buffer$1 = $25; + label = 15; + } + } else { + $bits_left$1 = $bits_left$076; + $get_buffer$1 = $get_buffer$075; + label = 15; } - $138 = $$0364 - ($$0364 * (1.0 - $113 * $$0360 - $$0360 * ($117 * $$0360)) - $121) / (1.0 - $122 * $$0360 - $$0360 * ($123 * $$0360)); - $140 = $$0367 * $138 / $$0364; - $142 = $$0365 * $138 / $$0364; - if (($$0363 | 0) == 3) { - $$1366 = $142; - $$1368 = $140; - break; + if ((label | 0) == 15) { + label = 0; + $and = $get_buffer$1 >> $bits_left$1 + -8 & 255; + $27 = HEAP32[$24 + 144 + ($and << 2) >> 2] | 0; + if (!$27) { + $bits_left$2 = $bits_left$1; + $get_buffer$2 = $get_buffer$1; + $nb$0 = 9; + label = 17; + } else { + $bits_left$4$ph = $bits_left$1 - $27 | 0; + $get_buffer$4$ph = $get_buffer$1; + $s$2$ph = HEAPU8[$24 + 1168 + $and >> 0] | 0; + } } - $146 = $140 * $140 + $142 * $142; - $$0360 = $146; - $$0363 = $$0363 + 1 | 0; - $$0364 = +Math_sqrt(+$146); - $$0365 = $142; - $$0367 = $140; - } - $149 = $0 + 16 | 0; - HEAPF64[$3 >> 3] = $105 + $$1368 / +HEAPF64[$149 >> 3]; - $$sink = $$1366 / +HEAPF64[$149 >> 3] + +HEAPF64[$108 >> 3]; - label = 22; - break; - } - case 2: - { - $157 = +HEAPF64[$0 >> 3]; - $158 = $1 - $157; - $159 = $0 + 8 | 0; - $161 = $2 - +HEAPF64[$159 >> 3]; - $164 = +HEAPF64[$0 + 24 >> 3] / 1.0e8; - $168 = +HEAPF64[$0 + 32 >> 3] / 1.0e8 / 1.0e5; - $171 = $158 * $158 + $161 * $161; - $172 = +Math_sqrt(+$171); - $173 = $164 * 3.0; - $174 = $168 * 5.0; - $$0352 = 1; - $$0353 = $161; - $$0355 = $158; - $$0361 = $172; - $$0362 = $171; - while (1) { - if (!($$0361 != 0.0)) { - $$1354 = 0.0; - $$1356 = 0.0; - break; + if ((label | 0) == 17) { + label = 0; + $call38 = _jpeg_huff_decode($br_state, $get_buffer$2, $bits_left$2, $24, $nb$0) | 0; + if (($call38 | 0) < 0) { + $retval$2 = 0; + label = 28; + break; + } + $bits_left$4$ph = HEAP32[$bits_left28 >> 2] | 0; + $get_buffer$4$ph = HEAP32[$get_buffer27 >> 2] | 0; + $s$2$ph = $call38; } - $189 = $$0361 - ($$0361 * (1.0 - $164 * $$0362 - $$0362 * ($168 * $$0362)) - $172) / (1.0 - $173 * $$0362 - $$0362 * ($174 * $$0362)); - $191 = $$0355 * $189 / $$0361; - $193 = $$0353 * $189 / $$0361; - if (($$0352 | 0) == 3) { - $$1354 = $193; - $$1356 = $191; + if (!$s$2$ph) { + $bits_left$6 = $bits_left$4$ph; + $get_buffer$6 = $get_buffer$4$ph; + $s$3 = 0; + } else { + if (($bits_left$4$ph | 0) < ($s$2$ph | 0)) { + if (!(_jpeg_fill_bit_buffer($br_state, $get_buffer$4$ph, $bits_left$4$ph, $s$2$ph) | 0)) { + $retval$2 = 0; + label = 28; + break; + } + $bits_left$5 = HEAP32[$bits_left28 >> 2] | 0; + $get_buffer$5 = HEAP32[$get_buffer27 >> 2] | 0; + } else { + $bits_left$5 = $bits_left$4$ph; + $get_buffer$5 = $get_buffer$4$ph; + } + $sub59 = $bits_left$5 - $s$2$ph | 0; + $33 = HEAP32[5184 + ($s$2$ph << 2) >> 2] | 0; + $and62 = $get_buffer$5 >> $sub59 & $33; + $bits_left$6 = $sub59; + $get_buffer$6 = $get_buffer$5; + $s$3 = $and62 - (($and62 | 0) > (HEAP32[5184 + ($s$2$ph + -1 << 2) >> 2] | 0) ? 0 : $33) | 0; + } + $arrayidx70 = $state + 4 + ($21 << 2) | 0; + $add = (HEAP32[$arrayidx70 >> 2] | 0) + $s$3 | 0; + HEAP32[$arrayidx70 >> 2] = $add; + HEAP16[$20 >> 1] = $add << $1; + $blkn$077 = $blkn$077 + 1 | 0; + if (($blkn$077 | 0) >= (HEAP32[$blocks_in_MCU >> 2] | 0)) { + label = 25; break; + } else { + $bits_left$076 = $bits_left$6; + $get_buffer$075 = $get_buffer$6; } - $197 = $191 * $191 + $193 * $193; - $$0352 = $$0352 + 1 | 0; - $$0353 = $193; - $$0355 = $191; - $$0361 = +Math_sqrt(+$197); - $$0362 = $197; } - $200 = $0 + 16 | 0; - HEAPF64[$3 >> 3] = $157 + $$1356 / +HEAPF64[$200 >> 3]; - $$sink = $$1354 / +HEAPF64[$200 >> 3] + +HEAPF64[$159 >> 3]; - label = 22; - break; - } - case 1: - { - $208 = +HEAPF64[$0 >> 3]; - $209 = $1 - $208; - $210 = $0 + 8 | 0; - $212 = $2 - +HEAPF64[$210 >> 3]; - $215 = +HEAPF64[$0 + 24 >> 3] / 1.0e8; - $218 = $209 * $209 + $212 * $212; - $219 = +Math_sqrt(+$218); - $220 = $215 * 3.0; - $$0 = 1; - $$0342 = $212; - $$0343 = $209; - $$0350 = $219; - $$0351 = $218; - while (1) { - if (!($$0350 != 0.0)) { - $$1 = 0.0; - $$1344 = 0.0; + if ((label | 0) == 25) { + $$in = HEAP32[$src >> 2] | 0; + $37 = HEAP32[$br_state >> 2] | 0; + $39 = HEAP32[$bytes_in_buffer13 >> 2] | 0; + $bits_left$0$lcssa = $bits_left$6; + $get_buffer$0$lcssa = $get_buffer$6; + break; + } else if ((label | 0) == 28) { + STACKTOP = sp; + return $retval$2 | 0; + } + } else { + $$in = $13; + $37 = $14; + $39 = $16; + $bits_left$0$lcssa = $18; + $get_buffer$0$lcssa = $17; + } while (0); + HEAP32[$$in >> 2] = $37; + HEAP32[$$in + 4 >> 2] = $39; + HEAP32[$get_buffer14 >> 2] = $get_buffer$0$lcssa; + HEAP32[$bits_left16 >> 2] = $bits_left$0$lcssa; + HEAP32[$saved >> 2] = HEAP32[$state >> 2]; + HEAP32[$saved + 4 >> 2] = HEAP32[$state + 4 >> 2]; + HEAP32[$saved + 8 >> 2] = HEAP32[$state + 8 >> 2]; + HEAP32[$saved + 12 >> 2] = HEAP32[$state + 12 >> 2]; + HEAP32[$saved + 16 >> 2] = HEAP32[$state + 16 >> 2]; + } + $restarts_to_go87 = $0 + 44 | 0; + HEAP32[$restarts_to_go87 >> 2] = (HEAP32[$restarts_to_go87 >> 2] | 0) + -1; + $retval$2 = 1; + STACKTOP = sp; + return $retval$2 | 0; +} + +function __ZN6vision21HoughSimilarityVoting11voteAtIndexEij($this, $index, $weight) { + $this = $this | 0; + $index = $index | 0; + $weight = $weight | 0; + var $$pn$i$i$i$i$i = 0, $1 = 0, $11 = 0, $16 = 0, $17 = 0, $18 = 0, $3 = 0, $4 = 0, $7 = 0.0, $9 = 0, $__bc$0$i$i$i$i$i = 0, $__chash$0$i$i$i$i$i = 0, $__chash$1$i$i$i$i$i = 0, $__h$i$i$i$i$i = 0, $__value_$i$i$i$i$i$i$i = 0, $__value_$i$i$i1$i$i$i$i$i$i = 0, $__value_$i$i$i37$pre$phi$i$i$i$i$iZZZZ2D = 0, $__value_$i$i$i88$i$i$i$i$i = 0, $add31$i$i$i$i$i = 0, $call$i = 0, $call$i1$i = 0, $call$i2$i = 0, $call6 = 0, $cmp$i$i$i$i$i = 0, $cond6$i$i$i$i$i$i = 0, $cond6$i64$i$i$i$i$i = 0, $cond6$i99$i$i$i$i$i = 0, $conv$i$i$i$i$i = 0.0, $conv38$i$i$i$i$i = 0, $mVotes = 0, $ref$tmp18 = 0, $second = 0, $sub$i$i$i$i$i$i = 0, $sub$i55$i$i$i$i$i = 0, $sub$i68$i$i$i$i$i = 0, $tobool$i57$i$i$i$i$i = 0, label = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 32 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); + $__h$i$i$i$i$i = sp + 8 | 0; + $ref$tmp18 = sp; + if (($index | 0) <= -1) { + $call6 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 37129) | 0, 36683) | 0, 39794) | 0, 290) | 0, 39801) | 0, 37163) | 0; + __ZNKSt3__28ios_base6getlocEv($__h$i$i$i$i$i, $call6 + (HEAP32[(HEAP32[$call6 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i = __ZNKSt3__26locale9use_facetERNS0_2idE($__h$i$i$i$i$i, 67360) | 0; + $call$i2$i = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i >> 2] | 0) + 28 >> 2] & 127]($call$i1$i, 10) | 0; + __ZNSt3__26localeD2Ev($__h$i$i$i$i$i); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call6, $call$i2$i) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call6) | 0; + _abort(); + } + $mVotes = $this + 92 | 0; + HEAP32[$__h$i$i$i$i$i >> 2] = $index; + $call$i = __ZNSt3__212__hash_tableINS_17__hash_value_typeIjjEENS_22__unordered_map_hasherIjS2_NS_4hashIjEELb1EEENS_21__unordered_map_equalIjS2_NS_8equal_toIjEELb1EEENS_9allocatorIS2_EEE4findIjEENS_15__hash_iteratorIPNS_11__hash_nodeIS2_PvEEEERKT_($mVotes, $__h$i$i$i$i$i) | 0; + if (!$call$i) { + HEAP32[$ref$tmp18 >> 2] = $index; + HEAP32[$ref$tmp18 + 4 >> 2] = $weight; + $__value_$i$i$i1$i$i$i$i$i$i = $this + 96 | 0; + $1 = HEAP32[$__value_$i$i$i1$i$i$i$i$i$i >> 2] | 0; + $cmp$i$i$i$i$i = ($1 | 0) == 0; + L6 : do if (!$cmp$i$i$i$i$i) { + $sub$i55$i$i$i$i$i = $1 + -1 | 0; + $tobool$i57$i$i$i$i$i = ($sub$i55$i$i$i$i$i & $1 | 0) == 0; + if (!$tobool$i57$i$i$i$i$i) if ($1 >>> 0 > $index >>> 0) $cond6$i64$i$i$i$i$i = $index; else $cond6$i64$i$i$i$i$i = ($index >>> 0) % ($1 >>> 0) | 0; else $cond6$i64$i$i$i$i$i = $sub$i55$i$i$i$i$i & $index; + $3 = HEAP32[(HEAP32[$mVotes >> 2] | 0) + ($cond6$i64$i$i$i$i$i << 2) >> 2] | 0; + if (!$3) { + $__chash$0$i$i$i$i$i = $cond6$i64$i$i$i$i$i; + label = 19; + } else { + $$pn$i$i$i$i$i = $3; + do { + $$pn$i$i$i$i$i = HEAP32[$$pn$i$i$i$i$i >> 2] | 0; + if (!$$pn$i$i$i$i$i) { + $__chash$0$i$i$i$i$i = $cond6$i64$i$i$i$i$i; + label = 19; + break L6; + } + $4 = HEAP32[$$pn$i$i$i$i$i + 4 >> 2] | 0; + if (($4 | 0) != ($index | 0)) { + if (!$tobool$i57$i$i$i$i$i) if ($4 >>> 0 < $1 >>> 0) $cond6$i99$i$i$i$i$i = $4; else $cond6$i99$i$i$i$i$i = ($4 >>> 0) % ($1 >>> 0) | 0; else $cond6$i99$i$i$i$i$i = $4 & $sub$i55$i$i$i$i$i; + if (($cond6$i99$i$i$i$i$i | 0) != ($cond6$i64$i$i$i$i$i | 0)) { + $__chash$0$i$i$i$i$i = $cond6$i64$i$i$i$i$i; + label = 19; + break L6; + } + } + } while ((HEAP32[$$pn$i$i$i$i$i + 8 >> 2] | 0) != ($index | 0)); + } + } else { + $__chash$0$i$i$i$i$i = 0; + label = 19; + } while (0); + if ((label | 0) == 19) { + __ZNSt3__212__hash_tableINS_17__hash_value_typeIjjEENS_22__unordered_map_hasherIjS2_NS_4hashIjEELb1EEENS_21__unordered_map_equalIjS2_NS_8equal_toIjEELb1EEENS_9allocatorIS2_EEE21__construct_node_hashINS_4pairIjjEEJEEENS_10unique_ptrINS_11__hash_nodeIS2_PvEENS_22__hash_node_destructorINSB_ISK_EEEEEEmOT_DpOT0_($__h$i$i$i$i$i, $mVotes, $index, $ref$tmp18); + $__value_$i$i$i88$i$i$i$i$i = $this + 104 | 0; + $conv$i$i$i$i$i = +(((HEAP32[$__value_$i$i$i88$i$i$i$i$i >> 2] | 0) + 1 | 0) >>> 0); + $7 = +HEAPF32[$this + 108 >> 2]; + do if ($cmp$i$i$i$i$i | $7 * +($1 >>> 0) < $conv$i$i$i$i$i) { + $add31$i$i$i$i$i = $1 << 1 | ($1 >>> 0 < 3 | ($1 + -1 & $1 | 0) != 0) & 1; + $conv38$i$i$i$i$i = ~~+Math_ceil(+($conv$i$i$i$i$i / $7)) >>> 0; + __ZNSt3__212__hash_tableINS_17__hash_value_typeIjjEENS_22__unordered_map_hasherIjS2_NS_4hashIjEELb1EEENS_21__unordered_map_equalIjS2_NS_8equal_toIjEELb1EEENS_9allocatorIS2_EEE6rehashEm($mVotes, $add31$i$i$i$i$i >>> 0 < $conv38$i$i$i$i$i >>> 0 ? $conv38$i$i$i$i$i : $add31$i$i$i$i$i); + $9 = HEAP32[$__value_$i$i$i1$i$i$i$i$i$i >> 2] | 0; + $sub$i68$i$i$i$i$i = $9 + -1 | 0; + if (!($sub$i68$i$i$i$i$i & $9)) { + $__bc$0$i$i$i$i$i = $9; + $__chash$1$i$i$i$i$i = $sub$i68$i$i$i$i$i & $index; break; } - $229 = $$0350 - ($$0350 * (1.0 - $215 * $$0351) - $219) / (1.0 - $220 * $$0351); - $231 = $$0343 * $229 / $$0350; - $233 = $$0342 * $229 / $$0350; - if (($$0 | 0) == 3) { - $$1 = $233; - $$1344 = $231; - break; + if ($9 >>> 0 > $index >>> 0) { + $__bc$0$i$i$i$i$i = $9; + $__chash$1$i$i$i$i$i = $index; + } else { + $__bc$0$i$i$i$i$i = $9; + $__chash$1$i$i$i$i$i = ($index >>> 0) % ($9 >>> 0) | 0; + } + } else { + $__bc$0$i$i$i$i$i = $1; + $__chash$1$i$i$i$i$i = $__chash$0$i$i$i$i$i; + } while (0); + $11 = HEAP32[(HEAP32[$mVotes >> 2] | 0) + ($__chash$1$i$i$i$i$i << 2) >> 2] | 0; + if (!$11) { + $__value_$i$i$i$i$i$i$i = $this + 100 | 0; + HEAP32[HEAP32[$__h$i$i$i$i$i >> 2] >> 2] = HEAP32[$__value_$i$i$i$i$i$i$i >> 2]; + HEAP32[$__value_$i$i$i$i$i$i$i >> 2] = HEAP32[$__h$i$i$i$i$i >> 2]; + HEAP32[(HEAP32[$mVotes >> 2] | 0) + ($__chash$1$i$i$i$i$i << 2) >> 2] = $__value_$i$i$i$i$i$i$i; + $16 = HEAP32[$__h$i$i$i$i$i >> 2] | 0; + $17 = HEAP32[$16 >> 2] | 0; + if (!$17) $__value_$i$i$i37$pre$phi$i$i$i$i$iZZZZ2D = $__h$i$i$i$i$i; else { + $18 = HEAP32[$17 + 4 >> 2] | 0; + $sub$i$i$i$i$i$i = $__bc$0$i$i$i$i$i + -1 | 0; + if ($sub$i$i$i$i$i$i & $__bc$0$i$i$i$i$i) if ($18 >>> 0 < $__bc$0$i$i$i$i$i >>> 0) $cond6$i$i$i$i$i$i = $18; else $cond6$i$i$i$i$i$i = ($18 >>> 0) % ($__bc$0$i$i$i$i$i >>> 0) | 0; else $cond6$i$i$i$i$i$i = $18 & $sub$i$i$i$i$i$i; + HEAP32[(HEAP32[$mVotes >> 2] | 0) + ($cond6$i$i$i$i$i$i << 2) >> 2] = $16; + $__value_$i$i$i37$pre$phi$i$i$i$i$iZZZZ2D = $__h$i$i$i$i$i; } - $237 = $231 * $231 + $233 * $233; - $$0 = $$0 + 1 | 0; - $$0342 = $233; - $$0343 = $231; - $$0350 = +Math_sqrt(+$237); - $$0351 = $237; + } else { + HEAP32[HEAP32[$__h$i$i$i$i$i >> 2] >> 2] = HEAP32[$11 >> 2]; + HEAP32[$11 >> 2] = HEAP32[$__h$i$i$i$i$i >> 2]; + $__value_$i$i$i37$pre$phi$i$i$i$i$iZZZZ2D = $__h$i$i$i$i$i; } - $240 = $0 + 16 | 0; - HEAPF64[$3 >> 3] = $208 + $$1344 / +HEAPF64[$240 >> 3]; - $$sink = $$1 / +HEAPF64[$240 >> 3] + +HEAPF64[$210 >> 3]; - label = 22; - break; + HEAP32[$__value_$i$i$i88$i$i$i$i$i >> 2] = (HEAP32[$__value_$i$i$i88$i$i$i$i$i >> 2] | 0) + 1; + HEAP32[$__value_$i$i$i37$pre$phi$i$i$i$i$iZZZZ2D >> 2] = 0; } - default: - $$0345 = -1; - } - if ((label | 0) == 22) { - HEAPF64[$4 >> 3] = $$sink; - $$0345 = 0; + } else { + $second = $call$i + 12 | 0; + HEAP32[$second >> 2] = (HEAP32[$second >> 2] | 0) + $weight; } - return $$0345 | 0; + STACKTOP = sp; + return; } -function _jpeg_idct_12x12($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $$0291300 = 0, $$0293299 = 0, $$0294298 = 0, $$0301 = 0, $$1292296 = 0, $$1297 = 0, $100 = 0, $102 = 0, $104 = 0, $106 = 0, $146 = 0, $149 = 0, $15 = 0, $152 = 0, $155 = 0, $156 = 0, $157 = 0, $159 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0, $169 = 0, $170 = 0, $172 = 0, $173 = 0, $174 = 0, $176 = 0, $178 = 0, $180 = 0, $182 = 0, $183 = 0, $184 = 0, $185 = 0, $187 = 0, $189 = 0, $192 = 0, $194 = 0, $198 = 0, $202 = 0, $207 = 0, $208 = 0, $209 = 0, $211 = 0, $213 = 0, $215 = 0, $22 = 0, $23 = 0, $24 = 0, $30 = 0, $39 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $55 = 0, $61 = 0, $67 = 0, $7 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $78 = 0, $80 = 0, $83 = 0, $85 = 0, $89 = 0, $93 = 0, $98 = 0, $99 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 384 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(384); - $5 = sp; - $7 = HEAP32[$0 + 336 >> 2] | 0; - $$0291300 = $5; - $$0293299 = HEAP32[$1 + 84 >> 2] | 0; - $$0294298 = $2; - $$0301 = 0; - while (1) { - $15 = Math_imul(HEAP16[$$0294298 >> 1] << 13, HEAP32[$$0293299 >> 2] | 0) | 0 | 1024; - $22 = Math_imul((HEAP16[$$0294298 + 64 >> 1] | 0) * 10033 | 0, HEAP32[$$0293299 + 128 >> 2] | 0) | 0; - $23 = $22 + $15 | 0; - $24 = $15 - $22 | 0; - $30 = Math_imul(HEAP32[$$0293299 + 64 >> 2] | 0, HEAP16[$$0294298 + 32 >> 1] | 0) | 0; - $39 = Math_imul(HEAP16[$$0294298 + 96 >> 1] << 13, HEAP32[$$0293299 + 192 >> 2] | 0) | 0; - $40 = ($30 << 13) - $39 | 0; - $41 = $40 + $15 | 0; - $42 = $15 - $40 | 0; - $43 = $39 + ($30 * 11190 | 0) | 0; - $44 = $43 + $23 | 0; - $45 = $23 - $43 | 0; - $47 = ($30 * 2998 | 0) - $39 | 0; - $48 = $47 + $24 | 0; - $49 = $24 - $47 | 0; - $55 = Math_imul(HEAP32[$$0293299 + 32 >> 2] | 0, HEAP16[$$0294298 + 16 >> 1] | 0) | 0; - $61 = Math_imul(HEAP32[$$0293299 + 96 >> 2] | 0, HEAP16[$$0294298 + 48 >> 1] | 0) | 0; - $67 = Math_imul(HEAP32[$$0293299 + 160 >> 2] | 0, HEAP16[$$0294298 + 80 >> 1] | 0) | 0; - $73 = Math_imul(HEAP32[$$0293299 + 224 >> 2] | 0, HEAP16[$$0294298 + 112 >> 1] | 0) | 0; - $74 = $61 * 10703 | 0; - $75 = Math_imul($61, -4433) | 0; - $76 = $67 + $55 | 0; - $78 = ($73 + $76 | 0) * 7053 | 0; - $80 = $78 + ($76 * 2139 | 0) | 0; - $83 = $74 + ($55 * 2295 | 0) + $80 | 0; - $85 = Math_imul($73 + $67 | 0, -8565) | 0; - $89 = (Math_imul($67, -12112) | 0) + $75 + $85 + $80 | 0; - $93 = ($73 * 12998 | 0) - $74 + $78 + $85 | 0; - $98 = $75 + (Math_imul($55, -5540) | 0) + (Math_imul($73, -16244) | 0) + $78 | 0; - $99 = $55 - $73 | 0; - $100 = $61 - $67 | 0; - $102 = ($99 + $100 | 0) * 4433 | 0; - $104 = $102 + ($99 * 6270 | 0) | 0; - $106 = $102 + (Math_imul($100, -15137) | 0) | 0; - HEAP32[$$0291300 >> 2] = $83 + $44 >> 11; - HEAP32[$$0291300 + 352 >> 2] = $44 - $83 >> 11; - HEAP32[$$0291300 + 32 >> 2] = $104 + $41 >> 11; - HEAP32[$$0291300 + 320 >> 2] = $41 - $104 >> 11; - HEAP32[$$0291300 + 64 >> 2] = $89 + $48 >> 11; - HEAP32[$$0291300 + 288 >> 2] = $48 - $89 >> 11; - HEAP32[$$0291300 + 96 >> 2] = $93 + $49 >> 11; - HEAP32[$$0291300 + 256 >> 2] = $49 - $93 >> 11; - HEAP32[$$0291300 + 128 >> 2] = $106 + $42 >> 11; - HEAP32[$$0291300 + 224 >> 2] = $42 - $106 >> 11; - HEAP32[$$0291300 + 160 >> 2] = $98 + $45 >> 11; - HEAP32[$$0291300 + 192 >> 2] = $45 - $98 >> 11; - $$0301 = $$0301 + 1 | 0; - if (($$0301 | 0) == 8) break; else { - $$0291300 = $$0291300 + 4 | 0; - $$0293299 = $$0293299 + 4 | 0; - $$0294298 = $$0294298 + 2 | 0; - } - } - $146 = $7 + -384 | 0; - $$1292296 = $5; - $$1297 = 0; - while (1) { - $149 = (HEAP32[$3 + ($$1297 << 2) >> 2] | 0) + $4 | 0; - $152 = (HEAP32[$$1292296 >> 2] << 13) + 134348800 | 0; - $155 = (HEAP32[$$1292296 + 16 >> 2] | 0) * 10033 | 0; - $156 = $152 + $155 | 0; - $157 = $152 - $155 | 0; - $159 = HEAP32[$$1292296 + 8 >> 2] | 0; - $164 = HEAP32[$$1292296 + 24 >> 2] << 13; - $165 = ($159 << 13) - $164 | 0; - $166 = $165 + $152 | 0; - $167 = $152 - $165 | 0; - $168 = $164 + ($159 * 11190 | 0) | 0; - $169 = $168 + $156 | 0; - $170 = $156 - $168 | 0; - $172 = ($159 * 2998 | 0) - $164 | 0; - $173 = $172 + $157 | 0; - $174 = $157 - $172 | 0; - $176 = HEAP32[$$1292296 + 4 >> 2] | 0; - $178 = HEAP32[$$1292296 + 12 >> 2] | 0; - $180 = HEAP32[$$1292296 + 20 >> 2] | 0; - $182 = HEAP32[$$1292296 + 28 >> 2] | 0; - $183 = $178 * 10703 | 0; - $184 = Math_imul($178, -4433) | 0; - $185 = $180 + $176 | 0; - $187 = ($185 + $182 | 0) * 7053 | 0; - $189 = $187 + ($185 * 2139 | 0) | 0; - $192 = $183 + ($176 * 2295 | 0) + $189 | 0; - $194 = Math_imul($182 + $180 | 0, -8565) | 0; - $198 = (Math_imul($180, -12112) | 0) + $184 + $194 + $189 | 0; - $202 = ($182 * 12998 | 0) - $183 + $187 + $194 | 0; - $207 = $184 + (Math_imul($176, -5540) | 0) + (Math_imul($182, -16244) | 0) + $187 | 0; - $208 = $176 - $182 | 0; - $209 = $178 - $180 | 0; - $211 = ($208 + $209 | 0) * 4433 | 0; - $213 = $211 + ($208 * 6270 | 0) | 0; - $215 = $211 + (Math_imul($209, -15137) | 0) | 0; - HEAP8[$149 >> 0] = HEAP8[$146 + (($192 + $169 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$149 + 11 >> 0] = HEAP8[$146 + (($169 - $192 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$149 + 1 >> 0] = HEAP8[$146 + (($213 + $166 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$149 + 10 >> 0] = HEAP8[$146 + (($166 - $213 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$149 + 2 >> 0] = HEAP8[$146 + (($198 + $173 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$149 + 9 >> 0] = HEAP8[$146 + (($173 - $198 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$149 + 3 >> 0] = HEAP8[$146 + (($202 + $174 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$149 + 8 >> 0] = HEAP8[$146 + (($174 - $202 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$149 + 4 >> 0] = HEAP8[$146 + (($215 + $167 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$149 + 7 >> 0] = HEAP8[$146 + (($167 - $215 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$149 + 5 >> 0] = HEAP8[$146 + (($207 + $170 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$149 + 6 >> 0] = HEAP8[$146 + (($170 - $207 | 0) >>> 18 & 1023) >> 0] | 0; - $$1297 = $$1297 + 1 | 0; - if (($$1297 | 0) == 12) break; else $$1292296 = $$1292296 + 32 | 0; - } - STACKTOP = sp; - return; -} - -function _start_pass_51($0) { - $0 = $0 | 0; - var $$08497 = 0, $$085103 = 0, $$08699 = 0, $$087102 = 0, $$088101 = 0, $$090100 = 0, $$189 = 0, $$191 = 0, $$198 = 0, $$296 = 0, $10 = 0, $103 = 0, $112 = 0, $12 = 0, $121 = 0, $132 = 0, $15 = 0, $16 = 0, $19 = 0, $2 = 0, $3 = 0, $31 = 0, $35 = 0, $38 = 0, $45 = 0, $54 = 0, $58 = 0, $60 = 0.0, $68 = 0, $77 = 0, $8 = 0, $86 = 0, $95 = 0; - $2 = HEAP32[$0 + 472 >> 2] | 0; - $3 = $0 + 36 | 0; - if ((HEAP32[$3 >> 2] | 0) <= 0) return; - $8 = $0 + 72 | 0; - $$085103 = 0; - $$087102 = HEAP32[$0 + 216 >> 2] | 0; - $$088101 = 0; - $$090100 = 0; +function _start_pass_87($cinfo) { + $cinfo = $cinfo | 0; + var $0 = 0, $15 = 0, $16 = 0, $18 = 0, $21 = 0, $22 = 0.0, $3 = 0, $32 = 0, $5 = 0, $6 = 0, $8 = 0, $DCT_v_scaled_size = 0, $arrayidx52 = 0, $ci$074 = 0, $compptr$073 = 0, $dct_method = 0, $i$069 = 0, $i$168 = 0, $i$266 = 0, $inc101 = 0, $inc101$1 = 0, $inc101$2 = 0, $inc101$3 = 0, $inc101$4 = 0, $inc101$5 = 0, $inc101$6 = 0, $method$072 = 0, $method$1 = 0, $method_ptr$071 = 0, $method_ptr$1 = 0, $num_components = 0, $row$067 = 0, $shr = 0; + $0 = HEAP32[$cinfo + 472 >> 2] | 0; + $num_components = $cinfo + 36 | 0; + if ((HEAP32[$num_components >> 2] | 0) <= 0) return; + $dct_method = $cinfo + 72 | 0; + $ci$074 = 0; + $compptr$073 = HEAP32[$cinfo + 216 >> 2] | 0; + $method$072 = 0; + $method_ptr$071 = 0; while (1) { - $10 = HEAP32[$$087102 + 36 >> 2] | 0; - $12 = $$087102 + 40 | 0; - L6 : do switch (($10 << 8) + (HEAP32[$12 >> 2] | 0) | 0) { + $3 = HEAP32[$compptr$073 + 36 >> 2] | 0; + $DCT_v_scaled_size = $compptr$073 + 40 | 0; + L6 : do switch (($3 << 8) + (HEAP32[$DCT_v_scaled_size >> 2] | 0) | 0) { case 257: { - $$189 = 0; - $$191 = 13; + $method$1 = 0; + $method_ptr$1 = 13; break; } case 514: { - $$189 = 0; - $$191 = 14; + $method$1 = 0; + $method_ptr$1 = 14; break; } case 771: { - $$189 = 0; - $$191 = 15; + $method$1 = 0; + $method_ptr$1 = 15; break; } case 1028: { - $$189 = 0; - $$191 = 16; + $method$1 = 0; + $method_ptr$1 = 16; break; } case 1285: { - $$189 = 0; - $$191 = 17; + $method$1 = 0; + $method_ptr$1 = 17; break; } case 1542: { - $$189 = 0; - $$191 = 18; + $method$1 = 0; + $method_ptr$1 = 18; break; } case 1799: { - $$189 = 0; - $$191 = 19; + $method$1 = 0; + $method_ptr$1 = 19; break; } case 2313: { - $$189 = 0; - $$191 = 20; + $method$1 = 0; + $method_ptr$1 = 20; break; } case 2570: { - $$189 = 0; - $$191 = 21; + $method$1 = 0; + $method_ptr$1 = 21; break; } case 2827: { - $$189 = 0; - $$191 = 22; + $method$1 = 0; + $method_ptr$1 = 22; break; } case 3084: { - $$189 = 0; - $$191 = 23; + $method$1 = 0; + $method_ptr$1 = 23; break; } case 3341: { - $$189 = 0; - $$191 = 24; + $method$1 = 0; + $method_ptr$1 = 24; break; } case 3598: { - $$189 = 0; - $$191 = 25; + $method$1 = 0; + $method_ptr$1 = 25; break; } case 3855: { - $$189 = 0; - $$191 = 26; + $method$1 = 0; + $method_ptr$1 = 26; break; } case 4112: { - $$189 = 0; - $$191 = 27; + $method$1 = 0; + $method_ptr$1 = 27; break; } case 4104: { - $$189 = 0; - $$191 = 28; + $method$1 = 0; + $method_ptr$1 = 28; break; } case 3591: { - $$189 = 0; - $$191 = 29; + $method$1 = 0; + $method_ptr$1 = 29; break; } case 3078: { - $$189 = 0; - $$191 = 30; + $method$1 = 0; + $method_ptr$1 = 30; break; } case 2565: { - $$189 = 0; - $$191 = 31; + $method$1 = 0; + $method_ptr$1 = 31; break; } case 2052: { - $$189 = 0; - $$191 = 32; + $method$1 = 0; + $method_ptr$1 = 32; break; } case 1539: { - $$189 = 0; - $$191 = 33; + $method$1 = 0; + $method_ptr$1 = 33; break; } case 1026: { - $$189 = 0; - $$191 = 34; + $method$1 = 0; + $method_ptr$1 = 34; break; } case 513: { - $$189 = 0; - $$191 = 35; + $method$1 = 0; + $method_ptr$1 = 35; break; } case 2064: { - $$189 = 0; - $$191 = 36; + $method$1 = 0; + $method_ptr$1 = 36; break; } case 1806: { - $$189 = 0; - $$191 = 37; + $method$1 = 0; + $method_ptr$1 = 37; break; } case 1548: { - $$189 = 0; - $$191 = 38; + $method$1 = 0; + $method_ptr$1 = 38; break; } case 1290: { - $$189 = 0; - $$191 = 39; + $method$1 = 0; + $method_ptr$1 = 39; break; } case 1032: { - $$189 = 0; - $$191 = 40; + $method$1 = 0; + $method_ptr$1 = 40; break; } case 774: { - $$189 = 0; - $$191 = 41; + $method$1 = 0; + $method_ptr$1 = 41; break; } case 516: { - $$189 = 0; - $$191 = 42; + $method$1 = 0; + $method_ptr$1 = 42; break; } case 258: { - $$189 = 0; - $$191 = 43; + $method$1 = 0; + $method_ptr$1 = 43; break; } case 2056: { - $15 = HEAP32[$8 >> 2] | 0; - switch ($15 | 0) { + $5 = HEAP32[$dct_method >> 2] | 0; + switch ($5 | 0) { case 0: { - $$189 = $15; - $$191 = 44; + $method$1 = $5; + $method_ptr$1 = 44; break L6; break; } case 1: { - $$189 = $15; - $$191 = 45; + $method$1 = $5; + $method_ptr$1 = 45; break L6; break; } case 2: { - $$189 = $15; - $$191 = 46; + $method$1 = $5; + $method_ptr$1 = 46; break L6; break; } default: { - $16 = HEAP32[$0 >> 2] | 0; - HEAP32[$16 + 20 >> 2] = 49; - FUNCTION_TABLE_vi[HEAP32[$16 >> 2] & 255]($0); - $$189 = $$088101; - $$191 = $$090100; + $6 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$6 + 20 >> 2] = 49; + FUNCTION_TABLE_vi[HEAP32[$6 >> 2] & 255]($cinfo); + $method$1 = $method$072; + $method_ptr$1 = $method_ptr$071; break L6; } } @@ -50183,9465 +51219,9629 @@ function _start_pass_51($0) { } default: { - $19 = HEAP32[$0 >> 2] | 0; - HEAP32[$19 + 20 >> 2] = 7; - HEAP32[$19 + 24 >> 2] = $10; - HEAP32[(HEAP32[$0 >> 2] | 0) + 28 >> 2] = HEAP32[$12 >> 2]; - FUNCTION_TABLE_vi[HEAP32[HEAP32[$0 >> 2] >> 2] & 255]($0); - $$189 = $$088101; - $$191 = $$090100; + $8 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$8 + 20 >> 2] = 7; + HEAP32[$8 + 24 >> 2] = $3; + HEAP32[(HEAP32[$cinfo >> 2] | 0) + 28 >> 2] = HEAP32[$DCT_v_scaled_size >> 2]; + FUNCTION_TABLE_vi[HEAP32[HEAP32[$cinfo >> 2] >> 2] & 255]($cinfo); + $method$1 = $method$072; + $method_ptr$1 = $method_ptr$071; } } while (0); - HEAP32[$2 + 4 + ($$085103 << 2) >> 2] = $$191; - L44 : do if ((HEAP32[$$087102 + 52 >> 2] | 0 ? ($31 = $2 + 44 + ($$085103 << 2) | 0, (HEAP32[$31 >> 2] | 0) != ($$189 | 0)) : 0) ? ($35 = HEAP32[$$087102 + 80 >> 2] | 0, $35 | 0) : 0) { - HEAP32[$31 >> 2] = $$189; - switch ($$189 | 0) { + HEAP32[$0 + 4 + ($ci$074 << 2) >> 2] = $method_ptr$1; + L44 : do if ((HEAP32[$compptr$073 + 52 >> 2] | 0 ? ($arrayidx52 = $0 + 44 + ($ci$074 << 2) | 0, (HEAP32[$arrayidx52 >> 2] | 0) != ($method$1 | 0)) : 0) ? ($15 = HEAP32[$compptr$073 + 80 >> 2] | 0, $15 | 0) : 0) { + HEAP32[$arrayidx52 >> 2] = $method$1; + switch ($method$1 | 0) { case 0: { - $38 = HEAP32[$$087102 + 84 >> 2] | 0; - $$08699 = 0; + $16 = HEAP32[$compptr$073 + 84 >> 2] | 0; + $i$069 = 0; do { - HEAP32[$38 + ($$08699 << 2) >> 2] = HEAPU16[$35 + ($$08699 << 1) >> 1]; - $$08699 = $$08699 + 1 | 0; - } while (($$08699 | 0) != 64); + HEAP32[$16 + ($i$069 << 2) >> 2] = HEAPU16[$15 + ($i$069 << 1) >> 1]; + $i$069 = $i$069 + 1 | 0; + } while (($i$069 | 0) != 64); break; } case 1: { - $45 = HEAP32[$$087102 + 84 >> 2] | 0; - $$198 = 0; + $18 = HEAP32[$compptr$073 + 84 >> 2] | 0; + $i$168 = 0; do { - $54 = (Math_imul(HEAP16[5248 + ($$198 << 1) >> 1] | 0, HEAPU16[$35 + ($$198 << 1) >> 1] | 0) | 0) + 2048 >> 12; - HEAP32[$45 + ($$198 << 2) >> 2] = $54; - $$198 = $$198 + 1 | 0; - } while (($$198 | 0) != 64); + $shr = (Math_imul(HEAP16[5504 + ($i$168 << 1) >> 1] | 0, HEAPU16[$15 + ($i$168 << 1) >> 1] | 0) | 0) + 2048 >> 12; + HEAP32[$18 + ($i$168 << 2) >> 2] = $shr; + $i$168 = $i$168 + 1 | 0; + } while (($i$168 | 0) != 64); break; } case 2: { - $58 = HEAP32[$$087102 + 84 >> 2] | 0; - $$08497 = 0; - $$296 = 0; + $21 = HEAP32[$compptr$073 + 84 >> 2] | 0; + $i$266 = 0; + $row$067 = 0; while (1) { - $60 = +HEAPF64[5376 + ($$08497 << 3) >> 3]; - HEAPF32[$58 + ($$296 << 2) >> 2] = $60 * +(HEAPU16[$35 + ($$296 << 1) >> 1] | 0) * .125; - $68 = $$296 | 1; - HEAPF32[$58 + ($68 << 2) >> 2] = $60 * +(HEAPU16[$35 + ($68 << 1) >> 1] | 0) * 1.387039845 * .125; - $77 = $68 + 1 | 0; - HEAPF32[$58 + ($77 << 2) >> 2] = $60 * +(HEAPU16[$35 + ($77 << 1) >> 1] | 0) * 1.306562965 * .125; - $86 = $$296 | 3; - HEAPF32[$58 + ($86 << 2) >> 2] = $60 * +(HEAPU16[$35 + ($86 << 1) >> 1] | 0) * 1.175875602 * .125; - $95 = $86 + 1 | 0; - HEAPF32[$58 + ($95 << 2) >> 2] = $60 * +(HEAPU16[$35 + ($95 << 1) >> 1] | 0) * .125; - $103 = $86 + 2 | 0; - HEAPF32[$58 + ($103 << 2) >> 2] = $60 * +(HEAPU16[$35 + ($103 << 1) >> 1] | 0) * .785694958 * .125; - $112 = $86 + 3 | 0; - HEAPF32[$58 + ($112 << 2) >> 2] = $60 * +(HEAPU16[$35 + ($112 << 1) >> 1] | 0) * .5411961 * .125; - $121 = $$296 | 7; - HEAPF32[$58 + ($121 << 2) >> 2] = $60 * +(HEAPU16[$35 + ($121 << 1) >> 1] | 0) * .275899379 * .125; - $$08497 = $$08497 + 1 | 0; - if (($$08497 | 0) == 8) break; else $$296 = $$296 + 8 | 0; + $22 = +HEAPF64[5632 + ($row$067 << 3) >> 3]; + HEAPF32[$21 + ($i$266 << 2) >> 2] = $22 * +(HEAPU16[$15 + ($i$266 << 1) >> 1] | 0) * .125; + $inc101 = $i$266 | 1; + HEAPF32[$21 + ($inc101 << 2) >> 2] = $22 * +(HEAPU16[$15 + ($inc101 << 1) >> 1] | 0) * 1.387039845 * .125; + $inc101$1 = $inc101 + 1 | 0; + HEAPF32[$21 + ($inc101$1 << 2) >> 2] = $22 * +(HEAPU16[$15 + ($inc101$1 << 1) >> 1] | 0) * 1.306562965 * .125; + $inc101$2 = $i$266 | 3; + HEAPF32[$21 + ($inc101$2 << 2) >> 2] = $22 * +(HEAPU16[$15 + ($inc101$2 << 1) >> 1] | 0) * 1.175875602 * .125; + $inc101$3 = $inc101$2 + 1 | 0; + HEAPF32[$21 + ($inc101$3 << 2) >> 2] = $22 * +(HEAPU16[$15 + ($inc101$3 << 1) >> 1] | 0) * .125; + $inc101$4 = $inc101$2 + 2 | 0; + HEAPF32[$21 + ($inc101$4 << 2) >> 2] = $22 * +(HEAPU16[$15 + ($inc101$4 << 1) >> 1] | 0) * .785694958 * .125; + $inc101$5 = $inc101$2 + 3 | 0; + HEAPF32[$21 + ($inc101$5 << 2) >> 2] = $22 * +(HEAPU16[$15 + ($inc101$5 << 1) >> 1] | 0) * .5411961 * .125; + $inc101$6 = $i$266 | 7; + HEAPF32[$21 + ($inc101$6 << 2) >> 2] = $22 * +(HEAPU16[$15 + ($inc101$6 << 1) >> 1] | 0) * .275899379 * .125; + $row$067 = $row$067 + 1 | 0; + if (($row$067 | 0) == 8) break; else $i$266 = $i$266 + 8 | 0; } break; } default: { - $132 = HEAP32[$0 >> 2] | 0; - HEAP32[$132 + 20 >> 2] = 49; - FUNCTION_TABLE_vi[HEAP32[$132 >> 2] & 255]($0); + $32 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$32 + 20 >> 2] = 49; + FUNCTION_TABLE_vi[HEAP32[$32 >> 2] & 255]($cinfo); break L44; } } } while (0); - $$085103 = $$085103 + 1 | 0; - if (($$085103 | 0) >= (HEAP32[$3 >> 2] | 0)) break; else { - $$087102 = $$087102 + 88 | 0; - $$088101 = $$189; - $$090100 = $$191; + $ci$074 = $ci$074 + 1 | 0; + if (($ci$074 | 0) >= (HEAP32[$num_components >> 2] | 0)) break; else { + $compptr$073 = $compptr$073 + 88 | 0; + $method$072 = $method$1; + $method_ptr$071 = $method_ptr$1; } } return; } -function __ZNSt3__29__num_putIwE23__widen_and_group_floatEPcS2_S2_PwRS3_S4_RKNS_6localeE($0, $1, $2, $3, $4, $5, $6) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - $6 = $6 | 0; - var $$0 = 0, $$0$i$i = 0, $$0$i$i110 = 0, $$0101 = 0, $$0102 = 0, $$0104 = 0, $$0106 = 0, $$07$i$i = 0, $$07$i$i109 = 0, $$1 = 0, $$1103 = 0, $$1105 = 0, $$1107 = 0, $$2 = 0, $$2108 = 0, $$3 = 0, $$pre$phiZ2D = 0, $101 = 0, $105 = 0, $107 = 0, $119 = 0, $120 = 0, $125 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $137 = 0, $138 = 0, $139 = 0, $144 = 0, $148 = 0, $154 = 0, $155 = 0, $18 = 0, $19 = 0, $21 = 0, $27 = 0, $32 = 0, $33 = 0, $35 = 0, $40 = 0, $41 = 0, $45 = 0, $52 = 0, $57 = 0, $58 = 0, $60 = 0, $7 = 0, $73 = 0, $75 = 0, $77 = 0, $8 = 0, $83 = 0, $88 = 0, $89 = 0, $9 = 0, $91 = 0, $93 = 0, label = 0, sp = 0; +function _jpeg_idct_ifast($cinfo, $compptr, $coef_block, $output_buf, $output_col) { + $cinfo = $cinfo | 0; + $compptr = $compptr | 0; + $coef_block = $coef_block | 0; + $output_buf = $output_buf | 0; + $output_col = $output_col | 0; + var $$sink = 0, $0 = 0, $15 = 0, $2 = 0, $3 = 0, $30 = 0, $31 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $add = 0, $add$ptr = 0, $add$ptr130 = 0, $add132 = 0, $add175 = 0, $add180 = 0, $add187 = 0, $add189 = 0, $add193 = 0, $add199 = 0, $add203 = 0, $add61 = 0, $add65 = 0, $add67 = 0, $add85 = 0, $add87 = 0, $add89 = 0, $ctr$0223 = 0, $ctr$1219 = 0, $inptr$0220 = 0, $mul = 0, $mul48 = 0, $mul52 = 0, $mul56 = 0, $mul60 = 0, $mul72 = 0, $mul76 = 0, $mul80 = 0, $mul84 = 0, $quantptr$0221 = 0, $shr209 = 0, $shr95 = 0, $sub = 0, $sub102 = 0, $sub103 = 0, $sub104 = 0, $sub119$sink = 0, $sub177 = 0, $sub186 = 0, $sub188 = 0, $sub190 = 0, $sub196 = 0, $sub202 = 0, $sub216 = 0, $sub217 = 0, $sub218 = 0, $sub64 = 0, $sub66 = 0, $sub68 = 0, $sub86 = 0, $sub88 = 0, $workspace = 0, $wsptr$0222 = 0, $wsptr$2218 = 0, label = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $7 = sp; - $8 = __ZNKSt3__26locale9use_facetERNS0_2idE($6, 66544) | 0; - $9 = __ZNKSt3__26locale9use_facetERNS0_2idE($6, 66552) | 0; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$9 >> 2] | 0) + 20 >> 2] & 255]($7, $9); - HEAP32[$5 >> 2] = $3; - $13 = HEAP8[$0 >> 0] | 0; - switch ($13 << 24 >> 24) { - case 43: - case 45: - { - $18 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$8 >> 2] | 0) + 44 >> 2] & 127]($8, $13) | 0; - $19 = HEAP32[$5 >> 2] | 0; - HEAP32[$5 >> 2] = $19 + 4; - HEAP32[$19 >> 2] = $18; - $$0104 = $0 + 1 | 0; - break; - } - default: - $$0104 = $0; - } - $21 = $2; - L4 : do if (($21 - $$0104 | 0) > 1 ? (HEAP8[$$0104 >> 0] | 0) == 48 : 0) { - $27 = $$0104 + 1 | 0; - switch (HEAP8[$27 >> 0] | 0) { - case 88: - case 120: - break; - default: - { - label = 4; - break L4; - } - } - $32 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$8 >> 2] | 0) + 44 >> 2] & 127]($8, 48) | 0; - $33 = HEAP32[$5 >> 2] | 0; - HEAP32[$5 >> 2] = $33 + 4; - HEAP32[$33 >> 2] = $32; - $35 = $$0104 + 2 | 0; - $40 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$8 >> 2] | 0) + 44 >> 2] & 127]($8, HEAP8[$27 >> 0] | 0) | 0; - $41 = HEAP32[$5 >> 2] | 0; - HEAP32[$5 >> 2] = $41 + 4; - HEAP32[$41 >> 2] = $40; - $$0106 = $35; - while (1) { - if ($$0106 >>> 0 >= $2 >>> 0) { - $$1105 = $35; - $$2108 = $$0106; - break L4; - } - $45 = HEAP8[$$0106 >> 0] | 0; - if (!(_isxdigit_l($45, __ZNSt3__26__clocEv() | 0) | 0)) { - $$1105 = $35; - $$2108 = $$0106; - break L4; - } - $$0106 = $$0106 + 1 | 0; - } - } else label = 4; while (0); - L12 : do if ((label | 0) == 4) { - $$1107 = $$0104; - while (1) { - if ($$1107 >>> 0 >= $2 >>> 0) { - $$1105 = $$0104; - $$2108 = $$1107; - break L12; - } - $52 = HEAP8[$$1107 >> 0] | 0; - if (!(_isdigit_l($52, __ZNSt3__26__clocEv() | 0) | 0)) { - $$1105 = $$0104; - $$2108 = $$1107; - break L12; - } - $$1107 = $$1107 + 1 | 0; - } - } while (0); - $57 = $7 + 11 | 0; - $58 = HEAP8[$57 >> 0] | 0; - $60 = $7 + 4 | 0; - L19 : do if (($58 << 24 >> 24 < 0 ? HEAP32[$60 >> 2] | 0 : $58 & 255) | 0) { - L22 : do if (($$1105 | 0) != ($$2108 | 0)) { - $$0$i$i = $$2108; - $$07$i$i = $$1105; - while (1) { - $75 = $$0$i$i + -1 | 0; - if ($$07$i$i >>> 0 >= $75 >>> 0) break L22; - $77 = HEAP8[$$07$i$i >> 0] | 0; - HEAP8[$$07$i$i >> 0] = HEAP8[$75 >> 0] | 0; - HEAP8[$75 >> 0] = $77; - $$0$i$i = $75; - $$07$i$i = $$07$i$i + 1 | 0; - } - } while (0); - $83 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$9 >> 2] | 0) + 16 >> 2] & 127]($9) | 0; - $$0 = $$1105; - $$0101 = 0; - $$0102 = 0; - while (1) { - if ($$0 >>> 0 >= $$2108 >>> 0) break; - $101 = HEAP8[((HEAP8[$57 >> 0] | 0) < 0 ? HEAP32[$7 >> 2] | 0 : $7) + $$0101 >> 0] | 0; - if ($101 << 24 >> 24 > 0 & ($$0102 | 0) == ($101 << 24 >> 24 | 0)) { - $105 = HEAP32[$5 >> 2] | 0; - HEAP32[$5 >> 2] = $105 + 4; - HEAP32[$105 >> 2] = $83; - $107 = HEAP8[$57 >> 0] | 0; - $$1 = $$0101 + ($$0101 >>> 0 < (($107 << 24 >> 24 < 0 ? HEAP32[$60 >> 2] | 0 : $107 & 255) + -1 | 0) >>> 0 & 1) | 0; - $$1103 = 0; - } else { - $$1 = $$0101; - $$1103 = $$0102; - } - $119 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$8 >> 2] | 0) + 44 >> 2] & 127]($8, HEAP8[$$0 >> 0] | 0) | 0; - $120 = HEAP32[$5 >> 2] | 0; - HEAP32[$5 >> 2] = $120 + 4; - HEAP32[$120 >> 2] = $119; - $$0 = $$0 + 1 | 0; - $$0101 = $$1; - $$0102 = $$1103 + 1 | 0; - } - $88 = $3 + ($$1105 - $0 << 2) | 0; - $89 = HEAP32[$5 >> 2] | 0; - if (($88 | 0) == ($89 | 0)) { - $$pre$phiZ2D = $8; - $154 = $88; - } else { - $$0$i$i110 = $89; - $$07$i$i109 = $88; - while (1) { - $91 = $$0$i$i110 + -4 | 0; - if ($$07$i$i109 >>> 0 >= $91 >>> 0) { - $$pre$phiZ2D = $8; - $154 = $89; - break L19; - } - $93 = HEAP32[$$07$i$i109 >> 2] | 0; - HEAP32[$$07$i$i109 >> 2] = HEAP32[$91 >> 2]; - HEAP32[$91 >> 2] = $93; - $$0$i$i110 = $91; - $$07$i$i109 = $$07$i$i109 + 4 | 0; - } - } - } else { - FUNCTION_TABLE_iiiii[HEAP32[(HEAP32[$8 >> 2] | 0) + 48 >> 2] & 15]($8, $$1105, $$2108, HEAP32[$5 >> 2] | 0) | 0; - $73 = (HEAP32[$5 >> 2] | 0) + ($$2108 - $$1105 << 2) | 0; - HEAP32[$5 >> 2] = $73; - $$pre$phiZ2D = $8; - $154 = $73; - } while (0); - $$2 = $$2108; - $155 = $154; + STACKTOP = STACKTOP + 256 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(256); + $workspace = sp; + $0 = HEAP32[$cinfo + 336 >> 2] | 0; + $ctr$0223 = 8; + $inptr$0220 = $coef_block; + $quantptr$0221 = HEAP32[$compptr + 84 >> 2] | 0; + $wsptr$0222 = $workspace; while (1) { - if ($$2 >>> 0 >= $2 >>> 0) { - $$3 = $$2; - $144 = $155; - break; - } - $125 = HEAP8[$$2 >> 0] | 0; - if ($125 << 24 >> 24 == 46) { - label = 32; - break; - } - $137 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$$pre$phiZ2D >> 2] | 0) + 44 >> 2] & 127]($8, $125) | 0; - $138 = HEAP32[$5 >> 2] | 0; - $139 = $138 + 4 | 0; - HEAP32[$5 >> 2] = $139; - HEAP32[$138 >> 2] = $137; - $$2 = $$2 + 1 | 0; - $155 = $139; - } - if ((label | 0) == 32) { - $130 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$9 >> 2] | 0) + 12 >> 2] & 127]($9) | 0; - $131 = HEAP32[$5 >> 2] | 0; - $132 = $131 + 4 | 0; - HEAP32[$5 >> 2] = $132; - HEAP32[$131 >> 2] = $130; - $$3 = $$2 + 1 | 0; - $144 = $132; - } - FUNCTION_TABLE_iiiii[HEAP32[(HEAP32[$8 >> 2] | 0) + 48 >> 2] & 15]($8, $$3, $2, $144) | 0; - $148 = (HEAP32[$5 >> 2] | 0) + ($21 - $$3 << 2) | 0; - HEAP32[$5 >> 2] = $148; - HEAP32[$4 >> 2] = ($1 | 0) == ($2 | 0) ? $148 : $3 + ($1 - $0 << 2) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($7); - STACKTOP = sp; - return; -} - -function _try_realloc_chunk($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$1271 = 0, $$1271$be = 0, $$1271$ph = 0, $$1274 = 0, $$1274$be = 0, $$1274$ph = 0, $$2 = 0, $$3 = 0, $$pre$phiZ2D = 0, $101 = 0, $103 = 0, $106 = 0, $108 = 0, $11 = 0, $111 = 0, $114 = 0, $115 = 0, $116 = 0, $118 = 0, $12 = 0, $120 = 0, $121 = 0, $123 = 0, $124 = 0, $129 = 0, $130 = 0, $139 = 0, $144 = 0, $147 = 0, $148 = 0, $154 = 0, $165 = 0, $168 = 0, $175 = 0, $2 = 0, $24 = 0, $26 = 0, $3 = 0, $37 = 0, $39 = 0, $4 = 0, $40 = 0, $49 = 0, $5 = 0, $51 = 0, $53 = 0, $54 = 0, $6 = 0, $60 = 0, $67 = 0, $73 = 0, $75 = 0, $76 = 0, $79 = 0, $8 = 0, $81 = 0, $83 = 0, $96 = 0, $storemerge = 0, $storemerge3 = 0; - $2 = $0 + 4 | 0; - $3 = HEAP32[$2 >> 2] | 0; - $4 = $3 & -8; - $5 = $0 + $4 | 0; - $6 = HEAP32[16739] | 0; - $8 = $3 & 3; - if (!(($8 | 0) != 1 & $6 >>> 0 <= $0 >>> 0 & $5 >>> 0 > $0 >>> 0)) _abort(); - $11 = $5 + 4 | 0; - $12 = HEAP32[$11 >> 2] | 0; - if (!($12 & 1)) _abort(); - if (!$8) { - if ($1 >>> 0 < 256) { - $$2 = 0; - return $$2 | 0; - } - if ($4 >>> 0 >= ($1 + 4 | 0) >>> 0 ? ($4 - $1 | 0) >>> 0 <= HEAP32[16855] << 1 >>> 0 : 0) { - $$2 = $0; - return $$2 | 0; - } - $$2 = 0; - return $$2 | 0; - } - if ($4 >>> 0 >= $1 >>> 0) { - $24 = $4 - $1 | 0; - if ($24 >>> 0 <= 15) { - $$2 = $0; - return $$2 | 0; - } - $26 = $0 + $1 | 0; - HEAP32[$2 >> 2] = $3 & 1 | $1 | 2; - HEAP32[$26 + 4 >> 2] = $24 | 3; - HEAP32[$11 >> 2] = HEAP32[$11 >> 2] | 1; - _dispose_chunk($26, $24); - $$2 = $0; - return $$2 | 0; - } - if ((HEAP32[16741] | 0) == ($5 | 0)) { - $37 = (HEAP32[16738] | 0) + $4 | 0; - $39 = $37 - $1 | 0; - $40 = $0 + $1 | 0; - if ($37 >>> 0 <= $1 >>> 0) { - $$2 = 0; - return $$2 | 0; - } - HEAP32[$2 >> 2] = $3 & 1 | $1 | 2; - HEAP32[$40 + 4 >> 2] = $39 | 1; - HEAP32[16741] = $40; - HEAP32[16738] = $39; - $$2 = $0; - return $$2 | 0; - } - if ((HEAP32[16740] | 0) == ($5 | 0)) { - $49 = (HEAP32[16737] | 0) + $4 | 0; - if ($49 >>> 0 < $1 >>> 0) { - $$2 = 0; - return $$2 | 0; - } - $51 = $49 - $1 | 0; - if ($51 >>> 0 > 15) { - $53 = $0 + $1 | 0; - $54 = $0 + $49 | 0; - HEAP32[$2 >> 2] = $3 & 1 | $1 | 2; - HEAP32[$53 + 4 >> 2] = $51 | 1; - HEAP32[$54 >> 2] = $51; - $60 = $54 + 4 | 0; - HEAP32[$60 >> 2] = HEAP32[$60 >> 2] & -2; - $storemerge = $53; - $storemerge3 = $51; + $2 = HEAP16[$inptr$0220 + 16 >> 1] | 0; + $3 = HEAP16[$inptr$0220 + 32 >> 1] | 0; + if (!(($2 | $3) << 16 >> 16)) if (((((HEAP16[$inptr$0220 + 48 >> 1] | 0) == 0 ? (HEAP16[$inptr$0220 + 64 >> 1] | 0) == 0 : 0) ? (HEAP16[$inptr$0220 + 80 >> 1] | 0) == 0 : 0) ? (HEAP16[$inptr$0220 + 96 >> 1] | 0) == 0 : 0) ? (HEAP16[$inptr$0220 + 112 >> 1] | 0) == 0 : 0) { + $mul = Math_imul(HEAP32[$quantptr$0221 >> 2] | 0, HEAP16[$inptr$0220 >> 1] | 0) | 0; + HEAP32[$wsptr$0222 >> 2] = $mul; + HEAP32[$wsptr$0222 + 32 >> 2] = $mul; + HEAP32[$wsptr$0222 + 64 >> 2] = $mul; + HEAP32[$wsptr$0222 + 96 >> 2] = $mul; + HEAP32[$wsptr$0222 + 128 >> 2] = $mul; + HEAP32[$wsptr$0222 + 160 >> 2] = $mul; + HEAP32[$wsptr$0222 + 192 >> 2] = $mul; + $$sink = 56; + $sub119$sink = $mul; } else { - HEAP32[$2 >> 2] = $3 & 1 | $49 | 2; - $67 = $0 + $49 + 4 | 0; - HEAP32[$67 >> 2] = HEAP32[$67 >> 2] | 1; - $storemerge = 0; - $storemerge3 = 0; - } - HEAP32[16737] = $storemerge3; - HEAP32[16740] = $storemerge; - $$2 = $0; - return $$2 | 0; - } - if ($12 & 2 | 0) { - $$2 = 0; - return $$2 | 0; - } - $73 = ($12 & -8) + $4 | 0; - if ($73 >>> 0 < $1 >>> 0) { - $$2 = 0; - return $$2 | 0; - } - $75 = $73 - $1 | 0; - $76 = $12 >>> 3; - L49 : do if ($12 >>> 0 >= 256) { - $101 = HEAP32[$5 + 24 >> 2] | 0; - $103 = HEAP32[$5 + 12 >> 2] | 0; - do if (($103 | 0) == ($5 | 0)) { - $114 = $5 + 16 | 0; - $115 = $114 + 4 | 0; - $116 = HEAP32[$115 >> 2] | 0; - if (!$116) { - $118 = HEAP32[$114 >> 2] | 0; - if (!$118) { - $$3 = 0; - break; - } else { - $$1271$ph = $118; - $$1274$ph = $114; - } - } else { - $$1271$ph = $116; - $$1274$ph = $115; - } - $$1271 = $$1271$ph; - $$1274 = $$1274$ph; - while (1) { - $120 = $$1271 + 20 | 0; - $121 = HEAP32[$120 >> 2] | 0; - if (!$121) { - $123 = $$1271 + 16 | 0; - $124 = HEAP32[$123 >> 2] | 0; - if (!$124) break; else { - $$1271$be = $124; - $$1274$be = $123; - } - } else { - $$1271$be = $121; - $$1274$be = $120; - } - $$1271 = $$1271$be; - $$1274 = $$1274$be; - } - if ($6 >>> 0 > $$1274 >>> 0) _abort(); else { - HEAP32[$$1274 >> 2] = 0; - $$3 = $$1271; - break; - } + $15 = 0; + label = 9; } else { - $106 = HEAP32[$5 + 8 >> 2] | 0; - if ($6 >>> 0 > $106 >>> 0) _abort(); - $108 = $106 + 12 | 0; - if ((HEAP32[$108 >> 2] | 0) != ($5 | 0)) _abort(); - $111 = $103 + 8 | 0; - if ((HEAP32[$111 >> 2] | 0) == ($5 | 0)) { - HEAP32[$108 >> 2] = $103; - HEAP32[$111 >> 2] = $106; - $$3 = $103; - break; - } else _abort(); - } while (0); - if ($101 | 0) { - $129 = HEAP32[$5 + 28 >> 2] | 0; - $130 = 67244 + ($129 << 2) | 0; - do if ((HEAP32[$130 >> 2] | 0) == ($5 | 0)) { - HEAP32[$130 >> 2] = $$3; - if (!$$3) { - HEAP32[16736] = HEAP32[16736] & ~(1 << $129); - break L49; - } - } else if ((HEAP32[16739] | 0) >>> 0 <= $101 >>> 0) { - $139 = $101 + 16 | 0; - HEAP32[((HEAP32[$139 >> 2] | 0) == ($5 | 0) ? $139 : $101 + 20 | 0) >> 2] = $$3; - if (!$$3) break L49; else break; - } else _abort(); while (0); - $144 = HEAP32[16739] | 0; - if ($144 >>> 0 > $$3 >>> 0) _abort(); - HEAP32[$$3 + 24 >> 2] = $101; - $147 = $5 + 16 | 0; - $148 = HEAP32[$147 >> 2] | 0; - do if ($148 | 0) if ($144 >>> 0 > $148 >>> 0) _abort(); else { - HEAP32[$$3 + 16 >> 2] = $148; - HEAP32[$148 + 24 >> 2] = $$3; - break; - } while (0); - $154 = HEAP32[$147 + 4 >> 2] | 0; - if ($154 | 0) if ((HEAP32[16739] | 0) >>> 0 > $154 >>> 0) _abort(); else { - HEAP32[$$3 + 20 >> 2] = $154; - HEAP32[$154 + 24 >> 2] = $$3; - break; - } - } - } else { - $79 = HEAP32[$5 + 8 >> 2] | 0; - $81 = HEAP32[$5 + 12 >> 2] | 0; - $83 = 66980 + ($76 << 1 << 2) | 0; - if (($79 | 0) != ($83 | 0)) { - if ($6 >>> 0 > $79 >>> 0) _abort(); - if ((HEAP32[$79 + 12 >> 2] | 0) != ($5 | 0)) _abort(); - } - if (($81 | 0) == ($79 | 0)) { - HEAP32[16735] = HEAP32[16735] & ~(1 << $76); - break; - } - if (($81 | 0) != ($83 | 0)) { - if ($6 >>> 0 > $81 >>> 0) _abort(); - $96 = $81 + 8 | 0; - if ((HEAP32[$96 >> 2] | 0) == ($5 | 0)) $$pre$phiZ2D = $96; else _abort(); - } else $$pre$phiZ2D = $81 + 8 | 0; - HEAP32[$79 + 12 >> 2] = $81; - HEAP32[$$pre$phiZ2D >> 2] = $79; - } while (0); - if ($75 >>> 0 < 16) { - HEAP32[$2 >> 2] = $3 & 1 | $73 | 2; - $165 = $0 + $73 + 4 | 0; - HEAP32[$165 >> 2] = HEAP32[$165 >> 2] | 1; - $$2 = $0; - return $$2 | 0; - } else { - $168 = $0 + $1 | 0; - HEAP32[$2 >> 2] = $3 & 1 | $1 | 2; - HEAP32[$168 + 4 >> 2] = $75 | 3; - $175 = $0 + $73 + 4 | 0; - HEAP32[$175 >> 2] = HEAP32[$175 >> 2] | 1; - _dispose_chunk($168, $75); - $$2 = $0; - return $$2 | 0; - } - return 0; -} - -function _decode_mcu_AC_first_63($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0113 = 0, $$0118140 = 0, $$0122139 = 0, $$0131138 = 0, $$0133 = 0, $$017$i = 0, $$1119 = 0, $$1123 = 0, $$1132 = 0, $$1134 = 0, $$2 = 0, $$2117$ph = 0, $$2120 = 0, $$2124 = 0, $$4$ph = 0, $$4126$ph = 0, $$5 = 0, $$5127 = 0, $$6 = 0, $$6128 = 0, $$7 = 0, $$7129 = 0, $$8 = 0, $$8130 = 0, $100 = 0, $11 = 0, $111 = 0, $117 = 0, $128 = 0, $131 = 0, $15 = 0, $16 = 0, $2 = 0, $23 = 0, $39 = 0, $4 = 0, $40 = 0, $44 = 0, $45 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $55 = 0, $57 = 0, $59 = 0, $60 = 0, $62 = 0, $64 = 0, $66 = 0, $67 = 0, $71 = 0, $72 = 0, $76 = 0, $78 = 0, $8 = 0, $84 = 0, $88 = 0, $90 = 0, $96 = 0, $99 = 0, $trunc = 0, label = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $2 = sp; - $4 = HEAP32[$0 + 468 >> 2] | 0; - $5 = $0 + 280 | 0; - if (HEAP32[$5 >> 2] | 0 ? ($8 = $4 + 44 | 0, (HEAP32[$8 >> 2] | 0) == 0) : 0) { - $11 = $4 + 16 | 0; - $15 = HEAP32[$0 + 464 >> 2] | 0; - $16 = $15 + 24 | 0; - HEAP32[$16 >> 2] = (HEAP32[$16 >> 2] | 0) + ((HEAP32[$11 >> 2] | 0) / 8 | 0); - HEAP32[$11 >> 2] = 0; - if (!(FUNCTION_TABLE_ii[HEAP32[$15 + 8 >> 2] & 127]($0) | 0)) { - $$2 = 0; - STACKTOP = sp; - return $$2 | 0; + $15 = $3; + label = 9; } - $23 = $0 + 340 | 0; - if ((HEAP32[$23 >> 2] | 0) > 0) { - $$017$i = 0; - do { - HEAP32[$4 + 24 + ($$017$i << 2) >> 2] = 0; - $$017$i = $$017$i + 1 | 0; - } while (($$017$i | 0) < (HEAP32[$23 >> 2] | 0)); - } - HEAP32[$4 + 20 >> 2] = 0; - HEAP32[$8 >> 2] = HEAP32[$5 >> 2]; - if (!(HEAP32[$0 + 440 >> 2] | 0)) HEAP32[$4 + 40 >> 2] = 0; - } - if (!(HEAP32[$4 + 40 >> 2] | 0)) { - $39 = $4 + 20 | 0; - $40 = HEAP32[$39 >> 2] | 0; - if (!$40) { - HEAP32[$2 + 16 >> 2] = $0; - $44 = $0 + 24 | 0; - $45 = HEAP32[$44 >> 2] | 0; - HEAP32[$2 >> 2] = HEAP32[$45 >> 2]; - $49 = $2 + 4 | 0; - HEAP32[$49 >> 2] = HEAP32[$45 + 4 >> 2]; - $50 = $4 + 12 | 0; - $51 = HEAP32[$50 >> 2] | 0; - $52 = $4 + 16 | 0; - $53 = HEAP32[$52 >> 2] | 0; - $55 = HEAP32[$0 + 416 >> 2] | 0; - $57 = HEAP32[$0 + 424 >> 2] | 0; - $59 = HEAP32[$0 + 432 >> 2] | 0; - $60 = HEAP32[$1 >> 2] | 0; - $62 = HEAP32[$4 + 64 >> 2] | 0; - $64 = HEAP32[$0 + 412 >> 2] | 0; - L18 : do if (($64 | 0) <= ($55 | 0)) { - $66 = $2 + 8 | 0; - $67 = $2 + 12 | 0; - $$0118140 = $53; - $$0122139 = $51; - $$0131138 = $64; - L20 : while (1) { - if (($$0118140 | 0) < 8) { - if (!(_jpeg_fill_bit_buffer($2, $$0122139, $$0118140, 0) | 0)) { - $$2 = 0; - label = 36; - break; - } - $71 = HEAP32[$66 >> 2] | 0; - $72 = HEAP32[$67 >> 2] | 0; - if (($72 | 0) < 8) { - $$0113 = 1; - $$2120 = $72; - $$2124 = $71; - label = 19; - } else { - $$1119 = $72; - $$1123 = $71; - label = 17; - } - } else { - $$1119 = $$0118140; - $$1123 = $$0122139; - label = 17; - } - if ((label | 0) == 17) { - label = 0; - $76 = $$1123 >> $$1119 + -8 & 255; - $78 = HEAP32[$62 + 144 + ($76 << 2) >> 2] | 0; - if (!$78) { - $$0113 = 9; - $$2120 = $$1119; - $$2124 = $$1123; - label = 19; - } else { - $$2117$ph = HEAPU8[$62 + 1168 + $76 >> 0] | 0; - $$4$ph = $$1119 - $78 | 0; - $$4126$ph = $$1123; - } - } - if ((label | 0) == 19) { - label = 0; - $84 = _jpeg_huff_decode($2, $$2124, $$2120, $62, $$0113) | 0; - if (($84 | 0) < 0) { - $$2 = 0; - label = 36; - break; - } - $$2117$ph = $84; - $$4$ph = HEAP32[$67 >> 2] | 0; - $$4126$ph = HEAP32[$66 >> 2] | 0; - } - $trunc = $$2117$ph >>> 4; - $88 = $$2117$ph & 15; - if (!$88) { - switch ($trunc & 268435455 | 0) { - case 0: - { - $$0133 = 0; - $$8 = $$4$ph; - $$8130 = $$4126$ph; - break L18; - break; - } - case 15: - break; - default: - { - label = 27; - break L20; - } - } - $$1132 = $$0131138 + 15 | 0; - $$7 = $$4$ph; - $$7129 = $$4126$ph; - } else { - $90 = $trunc + $$0131138 | 0; - if (($$4$ph | 0) < ($88 | 0)) { - if (!(_jpeg_fill_bit_buffer($2, $$4126$ph, $$4$ph, $88) | 0)) { - $$2 = 0; - label = 36; - break; - } - $$5 = HEAP32[$67 >> 2] | 0; - $$5127 = HEAP32[$66 >> 2] | 0; - } else { - $$5 = $$4$ph; - $$5127 = $$4126$ph; - } - $96 = $$5 - $88 | 0; - $99 = HEAP32[5184 + ($88 << 2) >> 2] | 0; - $100 = $$5127 >> $96 & $99; - HEAP16[$60 + (HEAP32[$59 + ($90 << 2) >> 2] << 1) >> 1] = $100 - (($100 | 0) > (HEAP32[5184 + ($88 + -1 << 2) >> 2] | 0) ? 0 : $99) << $57; - $$1132 = $90; - $$7 = $96; - $$7129 = $$5127; - } - if (($$1132 | 0) < ($55 | 0)) { - $$0118140 = $$7; - $$0122139 = $$7129; - $$0131138 = $$1132 + 1 | 0; - } else { - $$0133 = 0; - $$8 = $$7; - $$8130 = $$7129; - break L18; - } - } - if ((label | 0) == 27) { - $111 = 1 << $trunc; - do if (($$4$ph | 0) < ($trunc | 0)) if (!(_jpeg_fill_bit_buffer($2, $$4126$ph, $$4$ph, $trunc) | 0)) { - $$2 = 0; - STACKTOP = sp; - return $$2 | 0; - } else { - $$6 = HEAP32[$67 >> 2] | 0; - $$6128 = HEAP32[$66 >> 2] | 0; - break; - } else { - $$6 = $$4$ph; - $$6128 = $$4126$ph; - } while (0); - $117 = $$6 - $trunc | 0; - $$0133 = $111 + -1 + ($$6128 >> $117 & HEAP32[5184 + ($trunc << 2) >> 2]) | 0; - $$8 = $117; - $$8130 = $$6128; - break; - } else if ((label | 0) == 36) { - STACKTOP = sp; - return $$2 | 0; - } - } else { - $$0133 = 0; - $$8 = $53; - $$8130 = $51; - } while (0); - $128 = HEAP32[$44 >> 2] | 0; - HEAP32[$128 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$128 + 4 >> 2] = HEAP32[$49 >> 2]; - HEAP32[$50 >> 2] = $$8130; - HEAP32[$52 >> 2] = $$8; - $$1134 = $$0133; - } else $$1134 = $40 + -1 | 0; - HEAP32[$39 >> 2] = $$1134; + if ((label | 0) == 9) { + label = 0; + $mul48 = Math_imul(HEAP32[$quantptr$0221 >> 2] | 0, HEAP16[$inptr$0220 >> 1] | 0) | 0; + $mul52 = Math_imul(HEAP32[$quantptr$0221 + 64 >> 2] | 0, $15 << 16 >> 16) | 0; + $mul56 = Math_imul(HEAP32[$quantptr$0221 + 128 >> 2] | 0, HEAP16[$inptr$0220 + 64 >> 1] | 0) | 0; + $mul60 = Math_imul(HEAP32[$quantptr$0221 + 192 >> 2] | 0, HEAP16[$inptr$0220 + 96 >> 1] | 0) | 0; + $add = $mul56 + $mul48 | 0; + $sub = $mul48 - $mul56 | 0; + $add61 = $mul60 + $mul52 | 0; + $sub64 = (($mul52 - $mul60 | 0) * 362 >> 8) - $add61 | 0; + $add65 = $add61 + $add | 0; + $sub66 = $add - $add61 | 0; + $add67 = $sub64 + $sub | 0; + $sub68 = $sub - $sub64 | 0; + $mul72 = Math_imul(HEAP32[$quantptr$0221 + 32 >> 2] | 0, $2 << 16 >> 16) | 0; + $mul76 = Math_imul(HEAP32[$quantptr$0221 + 96 >> 2] | 0, HEAP16[$inptr$0220 + 48 >> 1] | 0) | 0; + $mul80 = Math_imul(HEAP32[$quantptr$0221 + 160 >> 2] | 0, HEAP16[$inptr$0220 + 80 >> 1] | 0) | 0; + $mul84 = Math_imul(HEAP32[$quantptr$0221 + 224 >> 2] | 0, HEAP16[$inptr$0220 + 112 >> 1] | 0) | 0; + $add85 = $mul80 + $mul76 | 0; + $sub86 = $mul80 - $mul76 | 0; + $add87 = $mul84 + $mul72 | 0; + $sub88 = $mul72 - $mul84 | 0; + $add89 = $add87 + $add85 | 0; + $shr95 = ($sub88 + $sub86 | 0) * 473 >> 8; + $sub102 = $shr95 - ($sub86 * 669 >> 8) - $add89 | 0; + $sub103 = (($add87 - $add85 | 0) * 362 >> 8) - $sub102 | 0; + $sub104 = $shr95 - ($sub88 * 277 >> 8) - $sub103 | 0; + HEAP32[$wsptr$0222 >> 2] = $add89 + $add65; + HEAP32[$wsptr$0222 + 224 >> 2] = $add65 - $add89; + HEAP32[$wsptr$0222 + 32 >> 2] = $sub102 + $add67; + HEAP32[$wsptr$0222 + 192 >> 2] = $add67 - $sub102; + HEAP32[$wsptr$0222 + 64 >> 2] = $sub103 + $sub68; + HEAP32[$wsptr$0222 + 160 >> 2] = $sub68 - $sub103; + HEAP32[$wsptr$0222 + 96 >> 2] = $sub104 + $sub66; + $$sink = 32; + $sub119$sink = $sub66 - $sub104 | 0; + } + HEAP32[$wsptr$0222 + ($$sink << 2) >> 2] = $sub119$sink; + if ($ctr$0223 >>> 0 > 1) { + $ctr$0223 = $ctr$0223 + -1 | 0; + $inptr$0220 = $inptr$0220 + 2 | 0; + $quantptr$0221 = $quantptr$0221 + 4 | 0; + $wsptr$0222 = $wsptr$0222 + 4 | 0; + } else break; } - $131 = $4 + 44 | 0; - HEAP32[$131 >> 2] = (HEAP32[$131 >> 2] | 0) + -1; - $$2 = 1; - STACKTOP = sp; - return $$2 | 0; -} - -function _access_virt_barray($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $$$i = 0, $$$i88 = 0, $$$us$i = 0, $$$us$i81 = 0, $$05557$i91 = 0, $$05557$us$i84 = 0, $$058$i90 = 0, $$058$us$i83 = 0, $$077 = 0, $$078 = 0, $$180 = 0, $$56$i89 = 0, $$56$i92 = 0, $$56$us$i82 = 0, $$56$us$i85 = 0, $$phi$trans$insert = 0, $$pre = 0, $$pre63$i = 0, $$pre63$i74 = 0, $101 = 0, $103 = 0, $106 = 0, $108 = 0, $110 = 0, $112 = 0, $114 = 0, $117 = 0, $118 = 0, $121 = 0, $122 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0, $139 = 0, $14 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $17 = 0, $18 = 0, $27 = 0, $30 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $41 = 0, $42 = 0, $43 = 0, $46 = 0, $48 = 0, $5 = 0, $50 = 0, $54 = 0, $59 = 0, $6 = 0, $61 = 0, $64 = 0, $66 = 0, $68 = 0, $70 = 0, $72 = 0, $77 = 0, $81 = 0, $82 = 0, $84 = 0, $85 = 0, $88 = 0, $90 = 0, $92 = 0, $96 = 0, $storemerge = 0, label = 0; - $5 = $3 + $2 | 0; - $6 = $1 + 4 | 0; - if (($5 >>> 0 <= (HEAP32[$6 >> 2] | 0) >>> 0 ? (HEAP32[$1 + 12 >> 2] | 0) >>> 0 >= $3 >>> 0 : 0) ? (HEAP32[$1 >> 2] | 0) != 0 : 0) {} else { - $14 = HEAP32[$0 >> 2] | 0; - HEAP32[$14 + 20 >> 2] = 23; - FUNCTION_TABLE_vi[HEAP32[$14 >> 2] & 255]($0); - } - $17 = $1 + 24 | 0; - $18 = HEAP32[$17 >> 2] | 0; - if ($18 >>> 0 <= $2 >>> 0 ? $5 >>> 0 <= ((HEAP32[$1 + 16 >> 2] | 0) + $18 | 0) >>> 0 : 0) {} else label = 7; - L9 : do if ((label | 0) == 7) { - if (!(HEAP32[$1 + 40 >> 2] | 0)) { - $27 = HEAP32[$0 >> 2] | 0; - HEAP32[$27 + 20 >> 2] = 71; - FUNCTION_TABLE_vi[HEAP32[$27 >> 2] & 255]($0); - } - $30 = $1 + 36 | 0; - if (HEAP32[$30 >> 2] | 0) { - $35 = HEAP32[$1 + 8 >> 2] << 7; - $36 = HEAP32[$17 >> 2] | 0; - $37 = $1 + 20 | 0; - $38 = $1 + 16 | 0; - $39 = HEAP32[$38 >> 2] | 0; - L16 : do if (($39 | 0) > 0 ? ($41 = $1 + 28 | 0, $42 = $1 + 48 | 0, $43 = $1 + 52 | 0, $$pre63$i = HEAP32[$37 >> 2] | 0, $$$i88 = ($$pre63$i | 0) < ($39 | 0) ? $$pre63$i : $39, $46 = (HEAP32[$41 >> 2] | 0) - $36 | 0, $48 = ($$$i88 | 0) < ($46 | 0) ? $$$i88 : $46, $50 = (HEAP32[$6 >> 2] | 0) - $36 | 0, $$56$i89 = ($48 | 0) < ($50 | 0) ? $48 : $50, ($$56$i89 | 0) >= 1) : 0) { - $$05557$i91 = Math_imul($36, $35) | 0; - $$058$i90 = 0; - $$56$i92 = $$56$i89; - while (1) { - $54 = Math_imul($$56$i92, $35) | 0; - FUNCTION_TABLE_viiiii[HEAP32[$43 >> 2] & 63]($0, $42, HEAP32[(HEAP32[$1 >> 2] | 0) + ($$058$i90 << 2) >> 2] | 0, $$05557$i91, $54); - $59 = HEAP32[$37 >> 2] | 0; - $$058$i90 = $59 + $$058$i90 | 0; - $61 = HEAP32[$38 >> 2] | 0; - if (($61 | 0) <= ($$058$i90 | 0)) break L16; - $64 = $61 - $$058$i90 | 0; - $$$i = ($59 | 0) < ($64 | 0) ? $59 : $64; - $66 = $$058$i90 + (HEAP32[$17 >> 2] | 0) | 0; - $68 = (HEAP32[$41 >> 2] | 0) - $66 | 0; - $70 = ($$$i | 0) < ($68 | 0) ? $$$i : $68; - $72 = (HEAP32[$6 >> 2] | 0) - $66 | 0; - $$56$i92 = ($70 | 0) < ($72 | 0) ? $70 : $72; - if (($$56$i92 | 0) < 1) break; else $$05557$i91 = $54 + $$05557$i91 | 0; - } - } while (0); - HEAP32[$30 >> 2] = 0; - } - $$phi$trans$insert = $1 + 16 | 0; - $$pre = HEAP32[$$phi$trans$insert >> 2] | 0; - if ((HEAP32[$17 >> 2] | 0) >>> 0 < $2 >>> 0) $storemerge = $2; else { - $77 = $5 - $$pre | 0; - $storemerge = ($77 | 0) > 0 ? $77 : 0; - } - HEAP32[$17 >> 2] = $storemerge; - $81 = HEAP32[$1 + 8 >> 2] << 7; - $82 = $1 + 20 | 0; - if (($$pre | 0) > 0 ? ($84 = $1 + 28 | 0, $85 = $1 + 48 | 0, $$pre63$i74 = HEAP32[$82 >> 2] | 0, $$$us$i81 = ($$pre63$i74 | 0) < ($$pre | 0) ? $$pre63$i74 : $$pre, $88 = (HEAP32[$84 >> 2] | 0) - $storemerge | 0, $90 = ($$$us$i81 | 0) < ($88 | 0) ? $$$us$i81 : $88, $92 = (HEAP32[$6 >> 2] | 0) - $storemerge | 0, $$56$us$i82 = ($90 | 0) < ($92 | 0) ? $90 : $92, ($$56$us$i82 | 0) >= 1) : 0) { - $$05557$us$i84 = Math_imul($81, $storemerge) | 0; - $$058$us$i83 = 0; - $$56$us$i85 = $$56$us$i82; - while (1) { - $96 = Math_imul($$56$us$i85, $81) | 0; - FUNCTION_TABLE_viiiii[HEAP32[$85 >> 2] & 63]($0, $85, HEAP32[(HEAP32[$1 >> 2] | 0) + ($$058$us$i83 << 2) >> 2] | 0, $$05557$us$i84, $96); - $101 = HEAP32[$82 >> 2] | 0; - $$058$us$i83 = $101 + $$058$us$i83 | 0; - $103 = HEAP32[$$phi$trans$insert >> 2] | 0; - if (($103 | 0) <= ($$058$us$i83 | 0)) break L9; - $106 = $103 - $$058$us$i83 | 0; - $$$us$i = ($101 | 0) < ($106 | 0) ? $101 : $106; - $108 = $$058$us$i83 + (HEAP32[$17 >> 2] | 0) | 0; - $110 = (HEAP32[$84 >> 2] | 0) - $108 | 0; - $112 = ($$$us$i | 0) < ($110 | 0) ? $$$us$i : $110; - $114 = (HEAP32[$6 >> 2] | 0) - $108 | 0; - $$56$us$i85 = ($112 | 0) < ($114 | 0) ? $112 : $114; - if (($$56$us$i85 | 0) < 1) break; else $$05557$us$i84 = $96 + $$05557$us$i84 | 0; - } - } - } while (0); - $117 = $1 + 28 | 0; - $118 = HEAP32[$117 >> 2] | 0; - do if ($118 >>> 0 < $5 >>> 0) { - $121 = ($4 | 0) == 0; - if ($118 >>> 0 < $2 >>> 0) if ($121) { - $$077 = $2; - $148 = 0; + $add$ptr = $0 + -384 | 0; + $ctr$1219 = 0; + $wsptr$2218 = $workspace; + while (1) { + $add$ptr130 = (HEAP32[$output_buf + ($ctr$1219 << 2) >> 2] | 0) + $output_col | 0; + $add132 = (HEAP32[$wsptr$2218 >> 2] | 0) + 16400 | 0; + $30 = HEAP32[$wsptr$2218 + 4 >> 2] | 0; + $31 = HEAP32[$wsptr$2218 + 8 >> 2] | 0; + if (!($30 | $31)) if (((((HEAP32[$wsptr$2218 + 12 >> 2] | 0) == 0 ? (HEAP32[$wsptr$2218 + 16 >> 2] | 0) == 0 : 0) ? (HEAP32[$wsptr$2218 + 20 >> 2] | 0) == 0 : 0) ? (HEAP32[$wsptr$2218 + 24 >> 2] | 0) == 0 : 0) ? (HEAP32[$wsptr$2218 + 28 >> 2] | 0) == 0 : 0) { + $40 = HEAP8[$add$ptr + ($add132 >>> 5 & 1023) >> 0] | 0; + HEAP8[$add$ptr130 >> 0] = $40; + _memset($add$ptr130 + 1 | 0, $40 | 0, 7) | 0; } else { - $122 = HEAP32[$0 >> 2] | 0; - HEAP32[$122 + 20 >> 2] = 23; - FUNCTION_TABLE_vi[HEAP32[$122 >> 2] & 255]($0); - $$078 = $2; - label = 28; - } else if ($121) { - $$077 = $118; - $148 = 0; + $43 = 0; + label = 19; } else { - $$078 = $118; - label = 28; - } - if ((label | 0) == 28) { - HEAP32[$117 >> 2] = $5; - $$077 = $$078; - $148 = 1; - } - if (!(HEAP32[$1 + 32 >> 2] | 0)) { - if ($148) break; - $139 = HEAP32[$0 >> 2] | 0; - HEAP32[$139 + 20 >> 2] = 23; - FUNCTION_TABLE_vi[HEAP32[$139 >> 2] & 255]($0); - break; - } - $130 = HEAP32[$1 + 8 >> 2] << 7; - $131 = HEAP32[$17 >> 2] | 0; - $132 = $$077 - $131 | 0; - $133 = $5 - $131 | 0; - if ($132 >>> 0 < $133 >>> 0) { - $$180 = $132; - do { - _memset(HEAP32[(HEAP32[$1 >> 2] | 0) + ($$180 << 2) >> 2] | 0, 0, $130 | 0) | 0; - $$180 = $$180 + 1 | 0; - } while (($$180 | 0) != ($133 | 0)); + $43 = $31; + label = 19; } - } while (0); - if (!$4) { - $144 = HEAP32[$1 >> 2] | 0; - $145 = HEAP32[$17 >> 2] | 0; - $146 = $2 - $145 | 0; - $147 = $144 + ($146 << 2) | 0; - return $147 | 0; - } - HEAP32[$1 + 36 >> 2] = 1; - $144 = HEAP32[$1 >> 2] | 0; - $145 = HEAP32[$17 >> 2] | 0; - $146 = $2 - $145 | 0; - $147 = $144 + ($146 << 2) | 0; - return $147 | 0; -} - -function _access_virt_sarray($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $$$i = 0, $$$i88 = 0, $$$us$i = 0, $$$us$i81 = 0, $$05557$i91 = 0, $$05557$us$i84 = 0, $$058$i90 = 0, $$058$us$i83 = 0, $$077 = 0, $$078 = 0, $$180 = 0, $$56$i89 = 0, $$56$i92 = 0, $$56$us$i82 = 0, $$56$us$i85 = 0, $$phi$trans$insert = 0, $$pre = 0, $$pre63$i = 0, $$pre63$i74 = 0, $101 = 0, $104 = 0, $106 = 0, $108 = 0, $110 = 0, $112 = 0, $115 = 0, $116 = 0, $119 = 0, $120 = 0, $127 = 0, $128 = 0, $129 = 0, $130 = 0, $136 = 0, $14 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $17 = 0, $18 = 0, $27 = 0, $30 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $40 = 0, $41 = 0, $42 = 0, $45 = 0, $47 = 0, $49 = 0, $5 = 0, $53 = 0, $58 = 0, $6 = 0, $60 = 0, $63 = 0, $65 = 0, $67 = 0, $69 = 0, $71 = 0, $76 = 0, $79 = 0, $80 = 0, $82 = 0, $83 = 0, $86 = 0, $88 = 0, $90 = 0, $94 = 0, $99 = 0, $storemerge = 0, label = 0; - $5 = $3 + $2 | 0; - $6 = $1 + 4 | 0; - if (($5 >>> 0 <= (HEAP32[$6 >> 2] | 0) >>> 0 ? (HEAP32[$1 + 12 >> 2] | 0) >>> 0 >= $3 >>> 0 : 0) ? (HEAP32[$1 >> 2] | 0) != 0 : 0) {} else { - $14 = HEAP32[$0 >> 2] | 0; - HEAP32[$14 + 20 >> 2] = 23; - FUNCTION_TABLE_vi[HEAP32[$14 >> 2] & 255]($0); - } - $17 = $1 + 24 | 0; - $18 = HEAP32[$17 >> 2] | 0; - if ($18 >>> 0 <= $2 >>> 0 ? $5 >>> 0 <= ((HEAP32[$1 + 16 >> 2] | 0) + $18 | 0) >>> 0 : 0) {} else label = 7; - L9 : do if ((label | 0) == 7) { - if (!(HEAP32[$1 + 40 >> 2] | 0)) { - $27 = HEAP32[$0 >> 2] | 0; - HEAP32[$27 + 20 >> 2] = 71; - FUNCTION_TABLE_vi[HEAP32[$27 >> 2] & 255]($0); - } - $30 = $1 + 36 | 0; - if (HEAP32[$30 >> 2] | 0) { - $34 = HEAP32[$1 + 8 >> 2] | 0; - $35 = HEAP32[$17 >> 2] | 0; - $36 = $1 + 20 | 0; - $37 = $1 + 16 | 0; - $38 = HEAP32[$37 >> 2] | 0; - L16 : do if (($38 | 0) > 0 ? ($40 = $1 + 28 | 0, $41 = $1 + 48 | 0, $42 = $1 + 52 | 0, $$pre63$i = HEAP32[$36 >> 2] | 0, $$$i88 = ($$pre63$i | 0) < ($38 | 0) ? $$pre63$i : $38, $45 = (HEAP32[$40 >> 2] | 0) - $35 | 0, $47 = ($$$i88 | 0) < ($45 | 0) ? $$$i88 : $45, $49 = (HEAP32[$6 >> 2] | 0) - $35 | 0, $$56$i89 = ($47 | 0) < ($49 | 0) ? $47 : $49, ($$56$i89 | 0) >= 1) : 0) { - $$05557$i91 = Math_imul($35, $34) | 0; - $$058$i90 = 0; - $$56$i92 = $$56$i89; - while (1) { - $53 = Math_imul($$56$i92, $34) | 0; - FUNCTION_TABLE_viiiii[HEAP32[$42 >> 2] & 63]($0, $41, HEAP32[(HEAP32[$1 >> 2] | 0) + ($$058$i90 << 2) >> 2] | 0, $$05557$i91, $53); - $58 = HEAP32[$36 >> 2] | 0; - $$058$i90 = $58 + $$058$i90 | 0; - $60 = HEAP32[$37 >> 2] | 0; - if (($60 | 0) <= ($$058$i90 | 0)) break L16; - $63 = $60 - $$058$i90 | 0; - $$$i = ($58 | 0) < ($63 | 0) ? $58 : $63; - $65 = $$058$i90 + (HEAP32[$17 >> 2] | 0) | 0; - $67 = (HEAP32[$40 >> 2] | 0) - $65 | 0; - $69 = ($$$i | 0) < ($67 | 0) ? $$$i : $67; - $71 = (HEAP32[$6 >> 2] | 0) - $65 | 0; - $$56$i92 = ($69 | 0) < ($71 | 0) ? $69 : $71; - if (($$56$i92 | 0) < 1) break; else $$05557$i91 = $53 + $$05557$i91 | 0; - } - } while (0); - HEAP32[$30 >> 2] = 0; - } - $$phi$trans$insert = $1 + 16 | 0; - $$pre = HEAP32[$$phi$trans$insert >> 2] | 0; - if ((HEAP32[$17 >> 2] | 0) >>> 0 < $2 >>> 0) $storemerge = $2; else { - $76 = $5 - $$pre | 0; - $storemerge = ($76 | 0) > 0 ? $76 : 0; - } - HEAP32[$17 >> 2] = $storemerge; - $79 = HEAP32[$1 + 8 >> 2] | 0; - $80 = $1 + 20 | 0; - if (($$pre | 0) > 0 ? ($82 = $1 + 28 | 0, $83 = $1 + 48 | 0, $$pre63$i74 = HEAP32[$80 >> 2] | 0, $$$us$i81 = ($$pre63$i74 | 0) < ($$pre | 0) ? $$pre63$i74 : $$pre, $86 = (HEAP32[$82 >> 2] | 0) - $storemerge | 0, $88 = ($$$us$i81 | 0) < ($86 | 0) ? $$$us$i81 : $86, $90 = (HEAP32[$6 >> 2] | 0) - $storemerge | 0, $$56$us$i82 = ($88 | 0) < ($90 | 0) ? $88 : $90, ($$56$us$i82 | 0) >= 1) : 0) { - $$05557$us$i84 = Math_imul($79, $storemerge) | 0; - $$058$us$i83 = 0; - $$56$us$i85 = $$56$us$i82; - while (1) { - $94 = Math_imul($$56$us$i85, $79) | 0; - FUNCTION_TABLE_viiiii[HEAP32[$83 >> 2] & 63]($0, $83, HEAP32[(HEAP32[$1 >> 2] | 0) + ($$058$us$i83 << 2) >> 2] | 0, $$05557$us$i84, $94); - $99 = HEAP32[$80 >> 2] | 0; - $$058$us$i83 = $99 + $$058$us$i83 | 0; - $101 = HEAP32[$$phi$trans$insert >> 2] | 0; - if (($101 | 0) <= ($$058$us$i83 | 0)) break L9; - $104 = $101 - $$058$us$i83 | 0; - $$$us$i = ($99 | 0) < ($104 | 0) ? $99 : $104; - $106 = $$058$us$i83 + (HEAP32[$17 >> 2] | 0) | 0; - $108 = (HEAP32[$82 >> 2] | 0) - $106 | 0; - $110 = ($$$us$i | 0) < ($108 | 0) ? $$$us$i : $108; - $112 = (HEAP32[$6 >> 2] | 0) - $106 | 0; - $$56$us$i85 = ($110 | 0) < ($112 | 0) ? $110 : $112; - if (($$56$us$i85 | 0) < 1) break; else $$05557$us$i84 = $94 + $$05557$us$i84 | 0; - } + if ((label | 0) == 19) { + label = 0; + $41 = HEAP32[$wsptr$2218 + 16 >> 2] | 0; + $add175 = $41 + $add132 | 0; + $sub177 = $add132 - $41 | 0; + $42 = HEAP32[$wsptr$2218 + 24 >> 2] | 0; + $add180 = $42 + $43 | 0; + $sub186 = (($43 - $42 | 0) * 362 >> 8) - $add180 | 0; + $add187 = $add180 + $add175 | 0; + $sub188 = $add175 - $add180 | 0; + $add189 = $sub186 + $sub177 | 0; + $sub190 = $sub177 - $sub186 | 0; + $44 = HEAP32[$wsptr$2218 + 20 >> 2] | 0; + $45 = HEAP32[$wsptr$2218 + 12 >> 2] | 0; + $add193 = $45 + $44 | 0; + $sub196 = $44 - $45 | 0; + $46 = HEAP32[$wsptr$2218 + 28 >> 2] | 0; + $add199 = $46 + $30 | 0; + $sub202 = $30 - $46 | 0; + $add203 = $add199 + $add193 | 0; + $shr209 = ($sub202 + $sub196 | 0) * 473 >> 8; + $sub216 = $shr209 - ($sub196 * 669 >> 8) - $add203 | 0; + $sub217 = (($add199 - $add193 | 0) * 362 >> 8) - $sub216 | 0; + $sub218 = $shr209 - ($sub202 * 277 >> 8) - $sub217 | 0; + HEAP8[$add$ptr130 >> 0] = HEAP8[$add$ptr + (($add203 + $add187 | 0) >>> 5 & 1023) >> 0] | 0; + HEAP8[$add$ptr130 + 7 >> 0] = HEAP8[$add$ptr + (($add187 - $add203 | 0) >>> 5 & 1023) >> 0] | 0; + HEAP8[$add$ptr130 + 1 >> 0] = HEAP8[$add$ptr + (($sub216 + $add189 | 0) >>> 5 & 1023) >> 0] | 0; + HEAP8[$add$ptr130 + 6 >> 0] = HEAP8[$add$ptr + (($add189 - $sub216 | 0) >>> 5 & 1023) >> 0] | 0; + HEAP8[$add$ptr130 + 2 >> 0] = HEAP8[$add$ptr + (($sub217 + $sub190 | 0) >>> 5 & 1023) >> 0] | 0; + HEAP8[$add$ptr130 + 5 >> 0] = HEAP8[$add$ptr + (($sub190 - $sub217 | 0) >>> 5 & 1023) >> 0] | 0; + HEAP8[$add$ptr130 + 3 >> 0] = HEAP8[$add$ptr + (($sub218 + $sub188 | 0) >>> 5 & 1023) >> 0] | 0; + HEAP8[$add$ptr130 + 4 >> 0] = HEAP8[$add$ptr + (($sub188 - $sub218 | 0) >>> 5 & 1023) >> 0] | 0; + } + $ctr$1219 = $ctr$1219 + 1 | 0; + if (($ctr$1219 | 0) == 8) break; else $wsptr$2218 = $wsptr$2218 + 32 | 0; + } + STACKTOP = sp; + return; +} + +function __ZNSt3__220__get_up_to_n_digitsIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEEEiRT0_S5_RjRKNS_5ctypeIT_EEi($__b, $__e, $__err, $__ct, $__n) { + $__b = $__b | 0; + $__e = $__e | 0; + $__err = $__err | 0; + $__ct = $__ct | 0; + $__n = $__n | 0; + var $0 = 0, $1 = 0, $11 = 0, $12 = 0, $19 = 0, $20 = 0, $24 = 0, $25 = 0, $29 = 0, $30 = 0, $35 = 0, $36 = 0, $38 = 0, $39 = 0, $45 = 0, $46 = 0, $5 = 0, $50 = 0, $54 = 0, $55 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $__n$addr$0 = 0, $__n$addr$0$in = 0, $__ninp_$i$i24 = 0, $__ninp_$i$i93 = 0, $__r$0 = 0, $__r$0$in = 0, $add = 0, $conv = 0, $retval$0$i$i = 0, $retval$0$i$i$i$i = 0, $retval$0$i$i$i$i116 = 0, $retval$0$i$i$i$i45 = 0, $retval$0$i$i13$i$i = 0, $retval$0$i$i13$i$i137 = 0, $retval$0$i$i13$i$i66 = 0, $retval$0$i$i84 = 0, $retval$2 = 0, label = 0; + $0 = HEAP32[$__b >> 2] | 0; + do if ($0) { + $1 = HEAP32[$0 + 12 >> 2] | 0; + if (($1 | 0) == (HEAP32[$0 + 16 >> 2] | 0)) $retval$0$i$i$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$0 >> 2] | 0) + 36 >> 2] & 127]($0) | 0; else $retval$0$i$i$i$i = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$1 >> 2] | 0) | 0; + if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj($retval$0$i$i$i$i, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { + HEAP32[$__b >> 2] = 0; + $60 = 1; + break; + } else { + $60 = (HEAP32[$__b >> 2] | 0) == 0; + break; } - } while (0); - $115 = $1 + 28 | 0; - $116 = HEAP32[$115 >> 2] | 0; - do if ($116 >>> 0 < $5 >>> 0) { - $119 = ($4 | 0) == 0; - if ($116 >>> 0 < $2 >>> 0) if ($119) { - $$077 = $2; - $145 = 0; + } else $60 = 1; while (0); + $5 = HEAP32[$__e >> 2] | 0; + do if ($5) { + $6 = HEAP32[$5 + 12 >> 2] | 0; + if (($6 | 0) == (HEAP32[$5 + 16 >> 2] | 0)) $retval$0$i$i13$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$5 >> 2] | 0) + 36 >> 2] & 127]($5) | 0; else $retval$0$i$i13$i$i = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$6 >> 2] | 0) | 0; + if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj($retval$0$i$i13$i$i, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if ($60) { + $61 = $5; + label = 17; + break; } else { - $120 = HEAP32[$0 >> 2] | 0; - HEAP32[$120 + 20 >> 2] = 23; - FUNCTION_TABLE_vi[HEAP32[$120 >> 2] & 255]($0); - $$078 = $2; - label = 28; - } else if ($119) { - $$077 = $116; - $145 = 0; + label = 16; + break; } else { - $$078 = $116; - label = 28; - } - if ((label | 0) == 28) { - HEAP32[$115 >> 2] = $5; - $$077 = $$078; - $145 = 1; - } - if (!(HEAP32[$1 + 32 >> 2] | 0)) { - if ($145) break; - $136 = HEAP32[$0 >> 2] | 0; - HEAP32[$136 + 20 >> 2] = 23; - FUNCTION_TABLE_vi[HEAP32[$136 >> 2] & 255]($0); - break; - } - $127 = HEAP32[$1 + 8 >> 2] | 0; - $128 = HEAP32[$17 >> 2] | 0; - $129 = $$077 - $128 | 0; - $130 = $5 - $128 | 0; - if ($129 >>> 0 < $130 >>> 0) { - $$180 = $129; - do { - _memset(HEAP32[(HEAP32[$1 >> 2] | 0) + ($$180 << 2) >> 2] | 0, 0, $127 | 0) | 0; - $$180 = $$180 + 1 | 0; - } while (($$180 | 0) != ($130 | 0)); + HEAP32[$__e >> 2] = 0; + label = 14; + break; } - } while (0); - if (!$4) { - $141 = HEAP32[$1 >> 2] | 0; - $142 = HEAP32[$17 >> 2] | 0; - $143 = $2 - $142 | 0; - $144 = $141 + ($143 << 2) | 0; - return $144 | 0; - } - HEAP32[$1 + 36 >> 2] = 1; - $141 = HEAP32[$1 >> 2] | 0; - $142 = HEAP32[$17 >> 2] | 0; - $143 = $2 - $142 | 0; - $144 = $141 + ($143 << 2) | 0; - return $144 | 0; -} - -function _extractVisibleFeatures_171($cparamLT, $trans1, $surfaceSet, $candidate, $candidate2) { - $cparamLT = $cparamLT | 0; - $trans1 = $trans1 | 0; - $surfaceSet = $surfaceSet | 0; - $candidate = $candidate | 0; - $candidate2 = $candidate2 | 0; - var $12 = 0.0, $13 = 0.0, $18 = 0, $19 = 0.0, $21 = 0.0, $29 = 0.0, $33 = 0.0, $36 = 0, $37 = 0.0, $4 = 0, $6 = 0, $7 = 0, $9 = 0, $add119 = 0.0, $add65 = 0.0, $add92 = 0.0, $arrayidx106 = 0, $arrayidx118 = 0, $arrayidx139 = 0, $arrayidx143 = 0, $arrayidx148 = 0, $arrayidx170 = 0, $arrayidx175 = 0, $arrayidx53 = 0, $arrayidx64 = 0, $arrayidx68 = 0, $arrayidx79 = 0, $arrayidx91 = 0, $arrayidx95 = 0, $cmp33 = 0, $conv = 0.0, $conv39 = 0.0, $flag228 = 0, $flag248$sink = 0, $i$0 = 0, $j$0 = 0, $j$1 = 0, $k$0 = 0, $k$1 = 0, $l$0 = 0, $l$1 = 0, $l$2 = 0, $l$3 = 0, $l2$0 = 0, $l2$1 = 0, $l2$2 = 0, $l2$3 = 0, $num = 0, $sx = 0, $sy = 0, $trans2 = 0, $vararg_buffer = 0, $w = 0, $wpos = 0, label = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 80 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(80); - $vararg_buffer = sp + 48 | 0; - $trans2 = sp; - $sx = sp + 76 | 0; - $sy = sp + 72 | 0; - $wpos = sp + 64 | 0; - $w = sp + 56 | 0; - $num = $surfaceSet + 4 | 0; - $conv = +(HEAP32[$cparamLT >> 2] | 0); - $conv39 = +(HEAP32[$cparamLT + 4 >> 2] | 0); - $arrayidx53 = $trans2 + 4 | 0; - $arrayidx64 = $trans2 + 12 | 0; - $arrayidx68 = $trans2 + 16 | 0; - $arrayidx79 = $trans2 + 20 | 0; - $arrayidx91 = $trans2 + 28 | 0; - $arrayidx95 = $trans2 + 32 | 0; - $arrayidx106 = $trans2 + 36 | 0; - $arrayidx118 = $trans2 + 44 | 0; - $arrayidx139 = $trans2 + 8 | 0; - $arrayidx143 = $trans2 + 24 | 0; - $arrayidx148 = $trans2 + 40 | 0; - $arrayidx170 = $wpos + 4 | 0; - $arrayidx175 = $w + 4 | 0; - $flag228 = $candidate2 + 4812 | 0; - $i$0 = 0; - $l$0 = 0; - $l2$0 = 0; - L1 : while (1) { - if (($i$0 | 0) >= (HEAP32[$num >> 2] | 0)) { - label = 29; + } else label = 14; while (0); + if ((label | 0) == 14) if ($60) label = 16; else { + $61 = 0; + label = 17; + } + L22 : do if ((label | 0) == 16) { + HEAP32[$__err >> 2] = HEAP32[$__err >> 2] | 6; + $retval$2 = 0; + } else if ((label | 0) == 17) { + $11 = HEAP32[$__b >> 2] | 0; + $12 = HEAP32[$11 + 12 >> 2] | 0; + if (($12 | 0) == (HEAP32[$11 + 16 >> 2] | 0)) $retval$0$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$11 >> 2] | 0) + 36 >> 2] & 127]($11) | 0; else $retval$0$i$i = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$12 >> 2] | 0) | 0; + if (!(FUNCTION_TABLE_iiii[HEAP32[(HEAP32[$__ct >> 2] | 0) + 12 >> 2] & 63]($__ct, 2048, $retval$0$i$i) | 0)) { + HEAP32[$__err >> 2] = HEAP32[$__err >> 2] | 4; + $retval$2 = 0; break; } - $j$0 = 0; - while (1) { - if (($j$0 | 0) == 3) break; - $k$0 = 0; - while (1) { - if (($k$0 | 0) == 4) break; - HEAP32[$trans2 + ($j$0 << 4) + ($k$0 << 2) >> 2] = HEAP32[$trans1 + ($i$0 * 48 | 0) + ($j$0 << 4) + ($k$0 << 2) >> 2]; - $k$0 = $k$0 + 1 | 0; - } - $j$0 = $j$0 + 1 | 0; + $conv = (FUNCTION_TABLE_iiii[HEAP32[(HEAP32[$__ct >> 2] | 0) + 52 >> 2] & 63]($__ct, $retval$0$i$i, 0) | 0) << 24 >> 24; + $19 = HEAP32[$__b >> 2] | 0; + $__ninp_$i$i24 = $19 + 12 | 0; + $20 = HEAP32[$__ninp_$i$i24 >> 2] | 0; + if (($20 | 0) == (HEAP32[$19 + 16 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$19 >> 2] | 0) + 40 >> 2] & 127]($19) | 0; else { + HEAP32[$__ninp_$i$i24 >> 2] = $20 + 4; + __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$20 >> 2] | 0) | 0; } - $4 = HEAP32[(HEAP32[$surfaceSet >> 2] | 0) + ($i$0 * 112 | 0) + 4 >> 2] | 0; - $j$1 = 0; - $l$1 = $l$0; - $l2$1 = $l2$0; + $29 = $61; + $62 = $61; + $__n$addr$0$in = $__n; + $__r$0$in = $conv; while (1) { - if (($j$1 | 0) >= (HEAP32[$4 + 4 >> 2] | 0)) break; - $7 = $4; - $k$1 = 0; - $l$2 = $l$1; - $l2$2 = $l2$1; - while (1) { - $6 = HEAP32[$7 >> 2] | 0; - if (($k$1 | 0) >= (HEAP32[$6 + ($j$1 * 20 | 0) + 4 >> 2] | 0)) break; - $9 = HEAP32[$6 + ($j$1 * 20 | 0) >> 2] | 0; - $cmp33 = (_ar2MarkerCoord2ScreenCoord2($cparamLT, $trans2, +HEAPF32[$9 + ($k$1 * 20 | 0) + 8 >> 2], +HEAPF32[$9 + ($k$1 * 20 | 0) + 12 >> 2], $sx, $sy) | 0) < 0; - $12 = +HEAPF32[$sx >> 2]; - do if ((!($cmp33 | $12 < 0.0) ? ($13 = +HEAPF32[$sy >> 2], !($13 >= $conv39) & (!($12 >= $conv) & !($13 < 0.0))) : 0) ? ($18 = HEAP32[(HEAP32[HEAP32[(HEAP32[$surfaceSet >> 2] | 0) + ($i$0 * 112 | 0) + 4 >> 2] >> 2] | 0) + ($j$1 * 20 | 0) >> 2] | 0, $19 = +HEAPF32[$18 + ($k$1 * 20 | 0) + 8 >> 2], $21 = +HEAPF32[$18 + ($k$1 * 20 | 0) + 12 >> 2], $add65 = +HEAPF32[$arrayidx64 >> 2] + (+HEAPF32[$trans2 >> 2] * $19 + +HEAPF32[$arrayidx53 >> 2] * $21), $add92 = +HEAPF32[$arrayidx91 >> 2] + ($19 * +HEAPF32[$arrayidx68 >> 2] + $21 * +HEAPF32[$arrayidx79 >> 2]), $add119 = +HEAPF32[$arrayidx118 >> 2] + ($19 * +HEAPF32[$arrayidx95 >> 2] + $21 * +HEAPF32[$arrayidx106 >> 2]), $29 = +Math_sqrt(+($add65 * $add65 + $add92 * $add92 + $add119 * $add119)), !(+HEAPF32[$arrayidx148 >> 2] * ($add119 / $29) + (+HEAPF32[$arrayidx139 >> 2] * ($add65 / $29) + +HEAPF32[$arrayidx143 >> 2] * ($add92 / $29)) > -.10000000149011612)) : 0) { - HEAPF32[$wpos >> 2] = $19; - HEAPF32[$arrayidx170 >> 2] = $21; - _ar2GetResolution($cparamLT, $trans2, $wpos, $w) | 0; - $33 = +HEAPF32[$arrayidx175 >> 2]; - $36 = HEAP32[HEAP32[(HEAP32[$surfaceSet >> 2] | 0) + ($i$0 * 112 | 0) + 4 >> 2] >> 2] | 0; - $37 = +HEAPF32[$36 + ($j$1 * 20 | 0) + 12 >> 2]; - if ($33 <= $37 ? $33 >= +HEAPF32[$36 + ($j$1 * 20 | 0) + 16 >> 2] : 0) { - if (($l$2 | 0) == 200) { - label = 19; - break L1; - } - HEAP32[$candidate + ($l$2 * 24 | 0) >> 2] = $i$0; - HEAP32[$candidate + ($l$2 * 24 | 0) + 4 >> 2] = $j$1; - HEAP32[$candidate + ($l$2 * 24 | 0) + 8 >> 2] = $k$1; - HEAP32[$candidate + ($l$2 * 24 | 0) + 16 >> 2] = HEAP32[$sx >> 2]; - HEAP32[$candidate + ($l$2 * 24 | 0) + 20 >> 2] = HEAP32[$sy >> 2]; - HEAP32[$candidate + ($l$2 * 24 | 0) + 12 >> 2] = 0; - $l$3 = $l$2 + 1 | 0; - $l2$3 = $l2$2; - break; - } - if ($33 <= $37 * 2.0 ? $33 >= +HEAPF32[$36 + ($j$1 * 20 | 0) + 16 >> 2] * .5 : 0) if (($l2$2 | 0) == 200) { - HEAP32[$flag228 >> 2] = -1; - $l$3 = $l$2; - $l2$3 = 200; - break; - } else { - HEAP32[$candidate2 + ($l2$2 * 24 | 0) >> 2] = $i$0; - HEAP32[$candidate2 + ($l2$2 * 24 | 0) + 4 >> 2] = $j$1; - HEAP32[$candidate2 + ($l2$2 * 24 | 0) + 8 >> 2] = $k$1; - HEAP32[$candidate2 + ($l2$2 * 24 | 0) + 16 >> 2] = HEAP32[$sx >> 2]; - HEAP32[$candidate2 + ($l2$2 * 24 | 0) + 20 >> 2] = HEAP32[$sy >> 2]; - HEAP32[$candidate2 + ($l2$2 * 24 | 0) + 12 >> 2] = 0; - $l$3 = $l$2; - $l2$3 = $l2$2 + 1 | 0; - break; - } else { - $l$3 = $l$2; - $l2$3 = $l2$2; - } + $__r$0 = $__r$0$in + -48 | 0; + $__n$addr$0 = $__n$addr$0$in + -1 | 0; + $24 = HEAP32[$__b >> 2] | 0; + do if ($24) { + $25 = HEAP32[$24 + 12 >> 2] | 0; + if (($25 | 0) == (HEAP32[$24 + 16 >> 2] | 0)) $retval$0$i$i$i$i45 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$24 >> 2] | 0) + 36 >> 2] & 127]($24) | 0; else $retval$0$i$i$i$i45 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$25 >> 2] | 0) | 0; + if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj($retval$0$i$i$i$i45, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { + HEAP32[$__b >> 2] = 0; + $36 = 1; + break; } else { - $l$3 = $l$2; - $l2$3 = $l2$2; - } while (0); - $7 = HEAP32[(HEAP32[$surfaceSet >> 2] | 0) + ($i$0 * 112 | 0) + 4 >> 2] | 0; - $k$1 = $k$1 + 1 | 0; - $l$2 = $l$3; - $l2$2 = $l2$3; + $36 = (HEAP32[$__b >> 2] | 0) == 0; + break; + } + } else $36 = 1; while (0); + if ($29) { + $30 = HEAP32[$29 + 12 >> 2] | 0; + if (($30 | 0) == (HEAP32[$29 + 16 >> 2] | 0)) $retval$0$i$i13$i$i66 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$29 >> 2] | 0) + 36 >> 2] & 127]($29) | 0; else $retval$0$i$i13$i$i66 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$30 >> 2] | 0) | 0; + if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj($retval$0$i$i13$i$i66, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { + HEAP32[$__e >> 2] = 0; + $35 = 1; + $54 = 0; + $63 = 0; + } else { + $35 = 0; + $54 = $62; + $63 = $29; + } + } else { + $35 = 1; + $54 = $62; + $63 = 0; + } + $38 = HEAP32[$__b >> 2] | 0; + if (!(($__n$addr$0$in | 0) > 1 & ($36 ^ $35))) break; + $39 = HEAP32[$38 + 12 >> 2] | 0; + if (($39 | 0) == (HEAP32[$38 + 16 >> 2] | 0)) $retval$0$i$i84 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$38 >> 2] | 0) + 36 >> 2] & 127]($38) | 0; else $retval$0$i$i84 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$39 >> 2] | 0) | 0; + if (!(FUNCTION_TABLE_iiii[HEAP32[(HEAP32[$__ct >> 2] | 0) + 12 >> 2] & 63]($__ct, 2048, $retval$0$i$i84) | 0)) { + $retval$2 = $__r$0; + break L22; } - $4 = $7; - $j$1 = $j$1 + 1 | 0; - $l$1 = $l$2; - $l2$1 = $l2$2; - } - $i$0 = $i$0 + 1 | 0; - $l$0 = $l$1; - $l2$0 = $l2$1; - } - if ((label | 0) == 19) { - _arLog(0, 3, 45962, $vararg_buffer); - $flag248$sink = $candidate + 4812 | 0; - } else if ((label | 0) == 29) { - HEAP32[$candidate + ($l$0 * 24 | 0) + 12 >> 2] = -1; - $flag248$sink = $candidate2 + ($l2$0 * 24 | 0) + 12 | 0; - } - HEAP32[$flag248$sink >> 2] = -1; - STACKTOP = sp; - return; -} - -function _jpeg_idct_ifast($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $$0269282 = 0, $$0271281 = 0, $$0273280 = 0, $$0283 = 0, $$1279 = 0, $$2278 = 0, $$sink = 0, $$sink290 = 0, $105 = 0, $11 = 0, $112 = 0, $113 = 0, $114 = 0, $13 = 0, $132 = 0, $135 = 0, $137 = 0, $139 = 0, $141 = 0, $162 = 0, $165 = 0, $166 = 0, $167 = 0, $169 = 0, $170 = 0, $171 = 0, $175 = 0, $176 = 0, $177 = 0, $178 = 0, $179 = 0, $181 = 0, $183 = 0, $184 = 0, $185 = 0, $187 = 0, $188 = 0, $189 = 0, $190 = 0, $196 = 0, $203 = 0, $204 = 0, $205 = 0, $34 = 0, $44 = 0, $46 = 0, $49 = 0, $5 = 0, $55 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $76 = 0, $82 = 0, $88 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, label = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 256 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(256); - $5 = sp; - $7 = HEAP32[$0 + 336 >> 2] | 0; - $$0269282 = $5; - $$0271281 = HEAP32[$1 + 84 >> 2] | 0; - $$0273280 = $2; - $$0283 = 8; - while (1) { - $11 = HEAP16[$$0273280 + 16 >> 1] | 0; - $13 = HEAP16[$$0273280 + 32 >> 1] | 0; - if (!(($11 | $13) << 16 >> 16)) if (((((HEAP16[$$0273280 + 48 >> 1] | 0) == 0 ? (HEAP16[$$0273280 + 64 >> 1] | 0) == 0 : 0) ? (HEAP16[$$0273280 + 80 >> 1] | 0) == 0 : 0) ? (HEAP16[$$0273280 + 96 >> 1] | 0) == 0 : 0) ? (HEAP16[$$0273280 + 112 >> 1] | 0) == 0 : 0) { - $34 = Math_imul(HEAP32[$$0271281 >> 2] | 0, HEAP16[$$0273280 >> 1] | 0) | 0; - HEAP32[$$0269282 >> 2] = $34; - HEAP32[$$0269282 + 32 >> 2] = $34; - HEAP32[$$0269282 + 64 >> 2] = $34; - HEAP32[$$0269282 + 96 >> 2] = $34; - HEAP32[$$0269282 + 128 >> 2] = $34; - HEAP32[$$0269282 + 160 >> 2] = $34; - HEAP32[$$0269282 + 192 >> 2] = $34; - $$sink = $34; - $$sink290 = 56; - } else { - $46 = 0; - label = 9; - } else { - $46 = $13; - label = 9; - } - if ((label | 0) == 9) { - label = 0; - $44 = Math_imul(HEAP32[$$0271281 >> 2] | 0, HEAP16[$$0273280 >> 1] | 0) | 0; - $49 = Math_imul(HEAP32[$$0271281 + 64 >> 2] | 0, $46 << 16 >> 16) | 0; - $55 = Math_imul(HEAP32[$$0271281 + 128 >> 2] | 0, HEAP16[$$0273280 + 64 >> 1] | 0) | 0; - $61 = Math_imul(HEAP32[$$0271281 + 192 >> 2] | 0, HEAP16[$$0273280 + 96 >> 1] | 0) | 0; - $62 = $55 + $44 | 0; - $63 = $44 - $55 | 0; - $64 = $61 + $49 | 0; - $68 = (($49 - $61 | 0) * 362 >> 8) - $64 | 0; - $69 = $64 + $62 | 0; - $70 = $62 - $64 | 0; - $71 = $68 + $63 | 0; - $72 = $63 - $68 | 0; - $76 = Math_imul(HEAP32[$$0271281 + 32 >> 2] | 0, $11 << 16 >> 16) | 0; - $82 = Math_imul(HEAP32[$$0271281 + 96 >> 2] | 0, HEAP16[$$0273280 + 48 >> 1] | 0) | 0; - $88 = Math_imul(HEAP32[$$0271281 + 160 >> 2] | 0, HEAP16[$$0273280 + 80 >> 1] | 0) | 0; - $94 = Math_imul(HEAP32[$$0271281 + 224 >> 2] | 0, HEAP16[$$0273280 + 112 >> 1] | 0) | 0; - $95 = $88 + $82 | 0; - $96 = $88 - $82 | 0; - $97 = $94 + $76 | 0; - $98 = $76 - $94 | 0; - $99 = $97 + $95 | 0; - $105 = ($98 + $96 | 0) * 473 >> 8; - $112 = $105 - ($96 * 669 >> 8) - $99 | 0; - $113 = (($97 - $95 | 0) * 362 >> 8) - $112 | 0; - $114 = $105 - ($98 * 277 >> 8) - $113 | 0; - HEAP32[$$0269282 >> 2] = $99 + $69; - HEAP32[$$0269282 + 224 >> 2] = $69 - $99; - HEAP32[$$0269282 + 32 >> 2] = $112 + $71; - HEAP32[$$0269282 + 192 >> 2] = $71 - $112; - HEAP32[$$0269282 + 64 >> 2] = $113 + $72; - HEAP32[$$0269282 + 160 >> 2] = $72 - $113; - HEAP32[$$0269282 + 96 >> 2] = $114 + $70; - $$sink = $70 - $114 | 0; - $$sink290 = 32; - } - HEAP32[$$0269282 + ($$sink290 << 2) >> 2] = $$sink; - if ($$0283 >>> 0 > 1) { - $$0269282 = $$0269282 + 4 | 0; - $$0271281 = $$0271281 + 4 | 0; - $$0273280 = $$0273280 + 2 | 0; - $$0283 = $$0283 + -1 | 0; - } else break; - } - $132 = $7 + -384 | 0; - $$1279 = 0; - $$2278 = $5; - while (1) { - $135 = (HEAP32[$3 + ($$1279 << 2) >> 2] | 0) + $4 | 0; - $137 = (HEAP32[$$2278 >> 2] | 0) + 16400 | 0; - $139 = HEAP32[$$2278 + 4 >> 2] | 0; - $141 = HEAP32[$$2278 + 8 >> 2] | 0; - if (!($139 | $141)) if (((((HEAP32[$$2278 + 12 >> 2] | 0) == 0 ? (HEAP32[$$2278 + 16 >> 2] | 0) == 0 : 0) ? (HEAP32[$$2278 + 20 >> 2] | 0) == 0 : 0) ? (HEAP32[$$2278 + 24 >> 2] | 0) == 0 : 0) ? (HEAP32[$$2278 + 28 >> 2] | 0) == 0 : 0) { - $162 = HEAP8[$132 + ($137 >>> 5 & 1023) >> 0] | 0; - HEAP8[$135 >> 0] = $162; - _memset($135 + 1 | 0, $162 | 0, 7) | 0; - } else { - $171 = 0; - label = 19; - } else { - $171 = $141; - label = 19; + $add = ($__r$0 * 10 | 0) + ((FUNCTION_TABLE_iiii[HEAP32[(HEAP32[$__ct >> 2] | 0) + 52 >> 2] & 63]($__ct, $retval$0$i$i84, 0) | 0) << 24 >> 24) | 0; + $45 = HEAP32[$__b >> 2] | 0; + $__ninp_$i$i93 = $45 + 12 | 0; + $46 = HEAP32[$__ninp_$i$i93 >> 2] | 0; + if (($46 | 0) == (HEAP32[$45 + 16 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$45 >> 2] | 0) + 40 >> 2] & 127]($45) | 0; else { + HEAP32[$__ninp_$i$i93 >> 2] = $46 + 4; + __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$46 >> 2] | 0) | 0; + } + $29 = $63; + $62 = $54; + $__n$addr$0$in = $__n$addr$0; + $__r$0$in = $add; + } + do if ($38) { + $50 = HEAP32[$38 + 12 >> 2] | 0; + if (($50 | 0) == (HEAP32[$38 + 16 >> 2] | 0)) $retval$0$i$i$i$i116 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$38 >> 2] | 0) + 36 >> 2] & 127]($38) | 0; else $retval$0$i$i$i$i116 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$50 >> 2] | 0) | 0; + if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj($retval$0$i$i$i$i116, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { + HEAP32[$__b >> 2] = 0; + $64 = 1; + break; + } else { + $64 = (HEAP32[$__b >> 2] | 0) == 0; + break; + } + } else $64 = 1; while (0); + do if ($54) { + $55 = HEAP32[$54 + 12 >> 2] | 0; + if (($55 | 0) == (HEAP32[$54 + 16 >> 2] | 0)) $retval$0$i$i13$i$i137 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$54 >> 2] | 0) + 36 >> 2] & 127]($54) | 0; else $retval$0$i$i13$i$i137 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$55 >> 2] | 0) | 0; + if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj($retval$0$i$i13$i$i137, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if ($64) { + $retval$2 = $__r$0; + break L22; + } else break; else { + HEAP32[$__e >> 2] = 0; + label = 61; + break; + } + } else label = 61; while (0); + if ((label | 0) == 61 ? !$64 : 0) { + $retval$2 = $__r$0; + break; } - if ((label | 0) == 19) { - label = 0; - $165 = HEAP32[$$2278 + 16 >> 2] | 0; - $166 = $165 + $137 | 0; - $167 = $137 - $165 | 0; - $169 = HEAP32[$$2278 + 24 >> 2] | 0; - $170 = $169 + $171 | 0; - $175 = (($171 - $169 | 0) * 362 >> 8) - $170 | 0; - $176 = $170 + $166 | 0; - $177 = $166 - $170 | 0; - $178 = $175 + $167 | 0; - $179 = $167 - $175 | 0; - $181 = HEAP32[$$2278 + 20 >> 2] | 0; - $183 = HEAP32[$$2278 + 12 >> 2] | 0; - $184 = $183 + $181 | 0; - $185 = $181 - $183 | 0; - $187 = HEAP32[$$2278 + 28 >> 2] | 0; - $188 = $187 + $139 | 0; - $189 = $139 - $187 | 0; - $190 = $188 + $184 | 0; - $196 = ($189 + $185 | 0) * 473 >> 8; - $203 = $196 - ($185 * 669 >> 8) - $190 | 0; - $204 = (($188 - $184 | 0) * 362 >> 8) - $203 | 0; - $205 = $196 - ($189 * 277 >> 8) - $204 | 0; - HEAP8[$135 >> 0] = HEAP8[$132 + (($190 + $176 | 0) >>> 5 & 1023) >> 0] | 0; - HEAP8[$135 + 7 >> 0] = HEAP8[$132 + (($176 - $190 | 0) >>> 5 & 1023) >> 0] | 0; - HEAP8[$135 + 1 >> 0] = HEAP8[$132 + (($203 + $178 | 0) >>> 5 & 1023) >> 0] | 0; - HEAP8[$135 + 6 >> 0] = HEAP8[$132 + (($178 - $203 | 0) >>> 5 & 1023) >> 0] | 0; - HEAP8[$135 + 2 >> 0] = HEAP8[$132 + (($204 + $179 | 0) >>> 5 & 1023) >> 0] | 0; - HEAP8[$135 + 5 >> 0] = HEAP8[$132 + (($179 - $204 | 0) >>> 5 & 1023) >> 0] | 0; - HEAP8[$135 + 3 >> 0] = HEAP8[$132 + (($205 + $177 | 0) >>> 5 & 1023) >> 0] | 0; - HEAP8[$135 + 4 >> 0] = HEAP8[$132 + (($177 - $205 | 0) >>> 5 & 1023) >> 0] | 0; - } - $$1279 = $$1279 + 1 | 0; - if (($$1279 | 0) == 8) break; else $$2278 = $$2278 + 32 | 0; - } - STACKTOP = sp; - return; -} - -function _QRM($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $$0213 = 0, $$0215 = 0, $$0216 = 0, $$0219 = 0, $$0220 = 0, $$0221 = 0, $$0222 = 0, $$0223 = 0.0, $$0224 = 0.0, $$0224$be = 0.0, $$0227 = 0.0, $$0227$be = 0.0, $$0232 = 0.0, $$1 = 0, $$1214 = 0, $$1217 = 0, $$1225 = 0.0, $$1228 = 0.0, $$1231 = 0.0, $$2218 = 0, $$pre = 0, $106 = 0.0, $111 = 0, $112 = 0, $113 = 0, $115 = 0, $116 = 0.0, $118 = 0, $119 = 0.0, $12 = 0, $128 = 0.0, $130 = 0, $131 = 0.0, $136 = 0.0, $138 = 0.0, $14 = 0, $144 = 0, $145 = 0, $146 = 0.0, $147 = 0, $150 = 0.0, $151 = 0, $154 = 0, $159 = 0.0, $2 = 0, $20 = 0, $25 = 0.0, $26 = 0, $27 = 0, $30 = 0.0, $38 = 0, $4 = 0, $40 = 0, $43 = 0, $44 = 0, $46 = 0, $47 = 0.0, $49 = 0.0, $50 = 0.0, $51 = 0.0, $54 = 0.0, $65 = 0.0, $70 = 0.0, $74 = 0.0, $77 = 0.0, $81 = 0.0, $83 = 0, $84 = 0.0, $85 = 0, $86 = 0, $87 = 0.0, $88 = 0.0, $91 = 0, $95 = 0.0, $99 = 0, sp = 0; + HEAP32[$__err >> 2] = HEAP32[$__err >> 2] | 2; + $retval$2 = $__r$0; + } while (0); + return $retval$2 | 0; +} + +function __ZN6vision20BinaryFeatureMatcherILi96EE5matchEPKNS_18BinaryFeatureStoreES4_RKNS_28BinaryHierarchicalClusteringILi96EEE($this, $features1, $features2, $index2) { + $this = $this | 0; + $features1 = $features1 | 0; + $features2 = $features2 | 0; + $index2 = $index2 | 0; + var $14 = 0, $16 = 0, $21 = 0, $22 = 0, $28 = 0, $30 = 0, $35 = 0, $36 = 0, $4 = 0, $6 = 0, $__end_$i$i$i = 0, $__end_$i46 = 0, $__value_$i$i$i$i = 0, $best_index$0 = 0, $best_index$2 = 0, $call$i1$i = 0, $call$i1$i69 = 0, $call$i2$i = 0, $call$i2$i72 = 0, $call11 = 0, $call13 = 0, $call14 = 0, $call30 = 0, $call50 = 0, $call83 = 0, $first_best$0 = 0, $first_best$2 = 0, $i$0 = 0, $j$0 = 0, $mThreshold = 0, $maxima = 0, $maxima22 = 0, $ref$tmp$i68 = 0, $retval$0 = 0, $second_best$0 = 0, $second_best$2 = 0, $sub$ptr$div$i45 = 0, label = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $2 = sp; - $4 = HEAP32[$0 + 4 >> 2] | 0; - do if ((!(($4 | 0) < 2 ? 1 : ($4 | 0) != (HEAP32[$0 + 8 >> 2] | 0)) ? (HEAP32[$1 + 4 >> 2] | 0) == ($4 | 0) : 0) ? ($12 = _arVecAlloc($4) | 0, ($12 | 0) != 0) : 0) { - $14 = $4 + -1 | 0; - HEAP32[$2 + 4 >> 2] = $14; - HEAP32[$2 >> 2] = (HEAP32[$12 >> 2] | 0) + 8; - if ((_arVecTridiagonalize($0, $1, $2) | 0) < 0) { - _arVecFree($12) | 0; - $$0220 = -1; - break; - } - $20 = HEAP32[$12 >> 2] | 0; - HEAPF64[$20 >> 3] = 0.0; - $$0 = $14; - while (1) { - if (($$0 | 0) <= 0) break; - $$0215 = $$0; + $ref$tmp$i68 = sp; + $__end_$i$i$i = $this + 4 | 0; + HEAP32[$__end_$i$i$i >> 2] = HEAP32[$this >> 2]; + do if ((__ZNK6vision18BinaryFeatureStore4sizeEv($features1) | 0) != 0 ? (__ZNK6vision18BinaryFeatureStore4sizeEv($features2) | 0) != 0 : 0) { + __ZNSt3__26vectorIN6vision7match_tENS_9allocatorIS2_EEE7reserveEm($this, __ZNK6vision18BinaryFeatureStore4sizeEv($features1) | 0); + $__value_$i$i$i$i = $this + 8 | 0; + $mThreshold = $this + 12 | 0; + $i$0 = 0; + L4 : while (1) { + if ($i$0 >>> 0 >= (__ZNK6vision18BinaryFeatureStore4sizeEv($features1) | 0) >>> 0) break; + $call11 = __ZNK6vision18BinaryFeatureStore7featureEm($features1, $i$0) | 0; + __ZNK6vision28BinaryHierarchicalClusteringILi96EE5queryEPKh($index2, $call11) | 0; + $call13 = __ZNK6vision18BinaryFeatureStore5pointEm($features1, $i$0) | 0; + $call14 = __ZNK6vision28BinaryHierarchicalClusteringILi96EE12reverseIndexEv($index2) | 0; + $__end_$i46 = $call14 + 4 | 0; + $maxima = $call13 + 16 | 0; + $best_index$0 = 2147483647; + $first_best$0 = -1; + $j$0 = 0; + $second_best$0 = -1; while (1) { - if (($$0215 | 0) <= 0) break; - $25 = +Math_abs(+(+HEAPF64[$20 + ($$0215 << 3) >> 3])); - $26 = HEAP32[$1 >> 2] | 0; - $27 = $$0215 + -1 | 0; - $30 = +Math_abs(+(+HEAPF64[$26 + ($27 << 3) >> 3])); - if ($25 > ($30 + +Math_abs(+(+HEAPF64[$26 + ($$0215 << 3) >> 3]))) * 1.0e-06) $$0215 = $27; else break; - } - $$pre = $$0 + -1 | 0; - L15 : do if (($$0215 | 0) != ($$0 | 0)) { - $38 = $20 + ($$0 << 3) | 0; - $40 = $20 + ($$0215 + 1 << 3) | 0; - $$0219 = 0; - do { - if ($$0219 >>> 0 > 99) break L15; - $$0219 = $$0219 + 1 | 0; - $43 = HEAP32[$1 >> 2] | 0; - $44 = $43 + ($$pre << 3) | 0; - $46 = $43 + ($$0 << 3) | 0; - $47 = +HEAPF64[$46 >> 3]; - $49 = (+HEAPF64[$44 >> 3] - $47) * .5; - $50 = +HEAPF64[$38 >> 3]; - $51 = $50 * $50; - $54 = +Math_sqrt(+($51 + $49 * $49)); - $$0213 = $$0215; - $$0224 = +HEAPF64[$40 >> 3]; - $$0227 = +HEAPF64[$43 + ($$0215 << 3) >> 3] - $47 + $51 / ($49 + ($49 < 0.0 ? -$54 : $54)); - while (1) { - if (($$0213 | 0) >= ($$0 | 0)) break; - $65 = +Math_abs(+$$0227); - if ($65 >= +Math_abs(+$$0224)) if ($65 > 1.0e-16) { - $70 = -$$0224 / $$0227; - $74 = 1.0 / +Math_sqrt(+($70 * $70 + 1.0)); - $$0223 = $74; - $$1231 = $70 * $74; - } else { - $$0223 = 1.0; - $$1231 = 0.0; - } else { - $77 = -$$0227 / $$0224; - $81 = 1.0 / +Math_sqrt(+($77 * $77 + 1.0)); - $$0223 = $77 * $81; - $$1231 = $81; - } - $83 = $43 + ($$0213 << 3) | 0; - $84 = +HEAPF64[$83 >> 3]; - $85 = $$0213 + 1 | 0; - $86 = $43 + ($85 << 3) | 0; - $87 = +HEAPF64[$86 >> 3]; - $88 = $84 - $87; - $91 = $20 + ($85 << 3) | 0; - $95 = $$1231 * ($$1231 * $88 + $$0223 * 2.0 * +HEAPF64[$91 >> 3]); - HEAPF64[$83 >> 3] = $84 - $95; - HEAPF64[$86 >> 3] = $87 + $95; - $99 = $20 + ($$0213 << 3) | 0; - if (($$0213 | 0) > ($$0215 | 0)) HEAPF64[$99 >> 3] = $$0223 * +HEAPF64[$99 >> 3] - $$0224 * $$1231; - $106 = +HEAPF64[$91 >> 3]; - HEAPF64[$91 >> 3] = $106 + $$1231 * ($$0223 * $88 - $$1231 * 2.0 * $106); - $111 = Math_imul($$0213, $4) | 0; - $112 = Math_imul($85, $4) | 0; - $$0216 = 0; - $$1225 = $$0224; - $$1228 = $$0227; - while (1) { - if (($$0216 | 0) == ($4 | 0)) break; - $113 = HEAP32[$0 >> 2] | 0; - $115 = $113 + ($$0216 + $111 << 3) | 0; - $116 = +HEAPF64[$115 >> 3]; - $118 = $113 + ($$0216 + $112 << 3) | 0; - $119 = +HEAPF64[$118 >> 3]; - HEAPF64[$115 >> 3] = $$0223 * $116 - $$1231 * $119; - HEAPF64[$118 >> 3] = $$1231 * $116 + $$0223 * $119; - $$0216 = $$0216 + 1 | 0; - $$1225 = $119; - $$1228 = $116; - } - if (($$0213 | 0) < ($$pre | 0)) { - $128 = +HEAPF64[$91 >> 3]; - $130 = $20 + ($$0213 + 2 << 3) | 0; - $131 = +HEAPF64[$130 >> 3]; - HEAPF64[$130 >> 3] = $$0223 * $131; - $$0224$be = -($$1231 * $131); - $$0227$be = $128; - } else { - $$0224$be = $$1225; - $$0227$be = $$1228; - } - $$0213 = $85; - $$0224 = $$0224$be; - $$0227 = $$0227$be; + $4 = HEAP32[$call14 >> 2] | 0; + if ($j$0 >>> 0 >= (HEAP32[$__end_$i46 >> 2] | 0) - $4 >> 2 >>> 0) break; + $6 = HEAP8[$maxima >> 0] | 0; + $maxima22 = (__ZNK6vision18BinaryFeatureStore5pointEm($features2, HEAP32[$4 + ($j$0 << 2) >> 2] | 0) | 0) + 16 | 0; + do if ($6 << 24 >> 24 == (HEAP8[$maxima22 >> 0] | 0)) { + $call30 = __ZN6vision15HammingDistanceILi96EEEjPKhS2_($call11, __ZNK6vision18BinaryFeatureStore7featureEm($features2, HEAP32[(HEAP32[$call14 >> 2] | 0) + ($j$0 << 2) >> 2] | 0) | 0) | 0; + if ($call30 >>> 0 < $first_best$0 >>> 0) { + $best_index$2 = HEAP32[(HEAP32[$call14 >> 2] | 0) + ($j$0 << 2) >> 2] | 0; + $first_best$2 = $call30; + $second_best$2 = $first_best$0; + break; + } else { + $best_index$2 = $best_index$0; + $first_best$2 = $first_best$0; + $second_best$2 = $call30 >>> 0 < $second_best$0 >>> 0 ? $call30 : $second_best$0; + break; } - $136 = +Math_abs(+(+HEAPF64[$38 >> 3])); - $138 = +Math_abs(+(+HEAPF64[$44 >> 3])); - } while ($136 > ($138 + +Math_abs(+(+HEAPF64[$46 >> 3]))) * 1.0e-06); + } else { + $best_index$2 = $best_index$0; + $first_best$2 = $first_best$0; + $second_best$2 = $second_best$0; + } while (0); + $best_index$0 = $best_index$2; + $first_best$0 = $first_best$2; + $j$0 = $j$0 + 1 | 0; + $second_best$0 = $second_best$2; + } + do if (($first_best$0 | 0) != -1) { + if (($best_index$0 | 0) == -1) { + label = 15; + break L4; + } + if (($second_best$0 | 0) == -1) { + __ZN6vision7match_tC2Eii($ref$tmp$i68, $i$0, $best_index$0); + $14 = HEAP32[$__end_$i$i$i >> 2] | 0; + if ($14 >>> 0 < (HEAP32[$__value_$i$i$i$i >> 2] | 0) >>> 0) { + $16 = $ref$tmp$i68; + $21 = HEAP32[$16 + 4 >> 2] | 0; + $22 = $14; + HEAP32[$22 >> 2] = HEAP32[$16 >> 2]; + HEAP32[$22 + 4 >> 2] = $21; + HEAP32[$__end_$i$i$i >> 2] = (HEAP32[$__end_$i$i$i >> 2] | 0) + 8; + } else __ZNSt3__26vectorIN6vision7match_tENS_9allocatorIS2_EEE21__push_back_slow_pathIS2_EEvOT_($this, $ref$tmp$i68); + break; + } + if (+($first_best$0 >>> 0) / +($second_best$0 >>> 0) < +HEAPF32[$mThreshold >> 2]) { + __ZN6vision7match_tC2Eii($ref$tmp$i68, $i$0, $best_index$0); + $28 = HEAP32[$__end_$i$i$i >> 2] | 0; + if ($28 >>> 0 < (HEAP32[$__value_$i$i$i$i >> 2] | 0) >>> 0) { + $30 = $ref$tmp$i68; + $35 = HEAP32[$30 + 4 >> 2] | 0; + $36 = $28; + HEAP32[$36 >> 2] = HEAP32[$30 >> 2]; + HEAP32[$36 + 4 >> 2] = $35; + HEAP32[$__end_$i$i$i >> 2] = (HEAP32[$__end_$i$i$i >> 2] | 0) + 8; + } else __ZNSt3__26vectorIN6vision7match_tENS_9allocatorIS2_EEE21__push_back_slow_pathIS2_EEvOT_($this, $ref$tmp$i68); + } } while (0); - $$0 = $$pre; + $i$0 = $i$0 + 1 | 0; } - $$1214 = 0; - while (1) { - if (($$1214 | 0) == ($14 | 0)) break; - $144 = HEAP32[$1 >> 2] | 0; - $145 = $144 + ($$1214 << 3) | 0; - $146 = +HEAPF64[$145 >> 3]; - $147 = $$1214 + 1 | 0; - $$0232 = $146; - $$1 = $$1214; - $$1217 = $147; - while (1) { - if (($$1217 | 0) >= ($4 | 0)) break; - $150 = +HEAPF64[$144 + ($$1217 << 3) >> 3]; - $151 = $150 > $$0232; - $$0232 = $151 ? $150 : $$0232; - $$1 = $151 ? $$1217 : $$1; - $$1217 = $$1217 + 1 | 0; - } - HEAPF64[$144 + ($$1 << 3) >> 3] = $146; - HEAPF64[$145 >> 3] = $$0232; - $154 = HEAP32[$0 >> 2] | 0; - $$0221 = $154 + ((Math_imul($$1214, $4) | 0) << 3) | 0; - $$0222 = $154 + ((Math_imul($$1, $4) | 0) << 3) | 0; - $$2218 = 0; - while (1) { - if (($$2218 | 0) == ($4 | 0)) break; - $159 = +HEAPF64[$$0222 >> 3]; - HEAPF64[$$0222 >> 3] = +HEAPF64[$$0221 >> 3]; - HEAPF64[$$0221 >> 3] = $159; - $$0221 = $$0221 + 8 | 0; - $$0222 = $$0222 + 8 | 0; - $$2218 = $$2218 + 1 | 0; - } - $$1214 = $147; + if ((label | 0) == 15) { + $call50 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 35766) | 0, 35609) | 0, 39794) | 0, 160) | 0, 39801) | 0, 35838) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i68, $call50 + (HEAP32[(HEAP32[$call50 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i69 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i68, 67360) | 0; + $call$i2$i72 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i69 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i69, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i68); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call50, $call$i2$i72) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call50) | 0; + _abort(); + } + $sub$ptr$div$i45 = (HEAP32[$__end_$i$i$i >> 2] | 0) - (HEAP32[$this >> 2] | 0) >> 3; + if ($sub$ptr$div$i45 >>> 0 > (__ZNK6vision18BinaryFeatureStore4sizeEv($features1) | 0) >>> 0) { + $call83 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 35856) | 0, 35609) | 0, 39794) | 0, 175) | 0, 39801) | 0, 35916) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i68, $call83 + (HEAP32[(HEAP32[$call83 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i68, 67360) | 0; + $call$i2$i = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i >> 2] | 0) + 28 >> 2] & 127]($call$i1$i, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i68); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call83, $call$i2$i) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call83) | 0; + _abort(); + } else { + $retval$0 = (HEAP32[$__end_$i$i$i >> 2] | 0) - (HEAP32[$this >> 2] | 0) >> 3; + break; } - _arVecFree($12) | 0; - $$0220 = 0; - } else $$0220 = -1; while (0); + } else $retval$0 = 0; while (0); STACKTOP = sp; - return $$0220 | 0; + return $retval$0 | 0; } -function ___floatscan($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$0 = 0, $$0102 = 0, $$0103 = 0, $$0104122 = 0, $$0110 = 0, $$0111 = 0.0, $$1$lcssa = 0, $$1105118 = 0, $$1123 = 0, $$2 = 0, $$2106120 = 0, $$3107 = 0, $$3121 = 0, $$4 = 0, $$4108 = 0, $$5 = 0, $$6 = 0, $$in = 0, $103 = 0, $106 = 0, $117 = 0, $119 = 0, $12 = 0, $127 = 0, $18 = 0, $19 = 0, $3 = 0, $32 = 0, $4 = 0, $42 = 0, $45 = 0, $5 = 0, $64 = 0, $73 = 0, $81 = 0, $86 = 0, $94 = 0, $trunc = 0, label = 0; - switch ($1 | 0) { - case 0: - { - $$0102 = -149; - $$0103 = 24; - label = 4; - break; - } - case 1: - { - $$0102 = -1074; - $$0103 = 53; - label = 4; - break; - } - case 2: - { - $$0102 = -1074; - $$0103 = 53; - label = 4; - break; +function _try_realloc_chunk($p, $nb) { + $p = $p | 0; + $nb = $nb | 0; + var $0 = 0, $1 = 0, $11 = 0, $12 = 0, $16 = 0, $17 = 0, $18 = 0, $2 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $30 = 0, $31 = 0, $32 = 0, $R$1 = 0, $R$1$be = 0, $R$1$ph = 0, $R$3 = 0, $RP$1 = 0, $RP$1$be = 0, $RP$1$ph = 0, $add = 0, $add$ptr = 0, $add$ptr17 = 0, $add$ptr303 = 0, $add$ptr41 = 0, $add$ptr66 = 0, $add$ptr67 = 0, $add105 = 0, $add58 = 0, $and = 0, $and2 = 0, $arrayidx = 0, $arrayidx179 = 0, $arrayidx186 = 0, $arrayidx190 = 0, $arrayidx206 = 0, $arrayidx226 = 0, $bk164 = 0, $child = 0, $child249 = 0, $fd138 = 0, $fd148$pre$phiZ2D = 0, $fd167 = 0, $head = 0, $head299 = 0, $head318 = 0, $head6 = 0, $head79 = 0, $head92 = 0, $newp$2 = 0, $shr = 0, $storemerge = 0, $storemerge3 = 0, $sub = 0, $sub110 = 0, $sub40 = 0, $sub62 = 0; + $head = $p + 4 | 0; + $0 = HEAP32[$head >> 2] | 0; + $and = $0 & -8; + $add$ptr = $p + $and | 0; + $1 = HEAP32[16951] | 0; + $and2 = $0 & 3; + if (!(($and2 | 0) != 1 & $1 >>> 0 <= $p >>> 0 & $add$ptr >>> 0 > $p >>> 0)) _abort(); + $head6 = $add$ptr + 4 | 0; + $2 = HEAP32[$head6 >> 2] | 0; + if (!($2 & 1)) _abort(); + if (!$and2) { + if ($nb >>> 0 < 256) { + $newp$2 = 0; + return $newp$2 | 0; + } + if ($and >>> 0 >= ($nb + 4 | 0) >>> 0 ? ($and - $nb | 0) >>> 0 <= HEAP32[17067] << 1 >>> 0 : 0) { + $newp$2 = $p; + return $newp$2 | 0; + } + $newp$2 = 0; + return $newp$2 | 0; + } + if ($and >>> 0 >= $nb >>> 0) { + $sub = $and - $nb | 0; + if ($sub >>> 0 <= 15) { + $newp$2 = $p; + return $newp$2 | 0; + } + $add$ptr17 = $p + $nb | 0; + HEAP32[$head >> 2] = $0 & 1 | $nb | 2; + HEAP32[$add$ptr17 + 4 >> 2] = $sub | 3; + HEAP32[$head6 >> 2] = HEAP32[$head6 >> 2] | 1; + _dispose_chunk($add$ptr17, $sub); + $newp$2 = $p; + return $newp$2 | 0; + } + if ((HEAP32[16953] | 0) == ($add$ptr | 0)) { + $add = (HEAP32[16950] | 0) + $and | 0; + $sub40 = $add - $nb | 0; + $add$ptr41 = $p + $nb | 0; + if ($add >>> 0 <= $nb >>> 0) { + $newp$2 = 0; + return $newp$2 | 0; + } + HEAP32[$head >> 2] = $0 & 1 | $nb | 2; + HEAP32[$add$ptr41 + 4 >> 2] = $sub40 | 1; + HEAP32[16953] = $add$ptr41; + HEAP32[16950] = $sub40; + $newp$2 = $p; + return $newp$2 | 0; + } + if ((HEAP32[16952] | 0) == ($add$ptr | 0)) { + $add58 = (HEAP32[16949] | 0) + $and | 0; + if ($add58 >>> 0 < $nb >>> 0) { + $newp$2 = 0; + return $newp$2 | 0; + } + $sub62 = $add58 - $nb | 0; + if ($sub62 >>> 0 > 15) { + $add$ptr66 = $p + $nb | 0; + $add$ptr67 = $p + $add58 | 0; + HEAP32[$head >> 2] = $0 & 1 | $nb | 2; + HEAP32[$add$ptr66 + 4 >> 2] = $sub62 | 1; + HEAP32[$add$ptr67 >> 2] = $sub62; + $head79 = $add$ptr67 + 4 | 0; + HEAP32[$head79 >> 2] = HEAP32[$head79 >> 2] & -2; + $storemerge = $add$ptr66; + $storemerge3 = $sub62; + } else { + HEAP32[$head >> 2] = $0 & 1 | $add58 | 2; + $head92 = $p + $add58 + 4 | 0; + HEAP32[$head92 >> 2] = HEAP32[$head92 >> 2] | 1; + $storemerge = 0; + $storemerge3 = 0; } - default: - $$0111 = 0.0; - } - L4 : do if ((label | 0) == 4) { - $3 = $0 + 4 | 0; - $4 = $0 + 104 | 0; - do { - $5 = HEAP32[$3 >> 2] | 0; - if ($5 >>> 0 < (HEAP32[$4 >> 2] | 0) >>> 0) { - HEAP32[$3 >> 2] = $5 + 1; - $12 = HEAPU8[$5 >> 0] | 0; - } else $12 = ___shgetc($0) | 0; - } while ((_isspace($12) | 0) != 0); - L13 : do switch ($12 | 0) { - case 43: - case 45: - { - $18 = 1 - ((($12 | 0) == 45 & 1) << 1) | 0; - $19 = HEAP32[$3 >> 2] | 0; - if ($19 >>> 0 < (HEAP32[$4 >> 2] | 0) >>> 0) { - HEAP32[$3 >> 2] = $19 + 1; - $$0 = HEAPU8[$19 >> 0] | 0; - $$0110 = $18; - break L13; + HEAP32[16949] = $storemerge3; + HEAP32[16952] = $storemerge; + $newp$2 = $p; + return $newp$2 | 0; + } + if ($2 & 2 | 0) { + $newp$2 = 0; + return $newp$2 | 0; + } + $add105 = ($2 & -8) + $and | 0; + if ($add105 >>> 0 < $nb >>> 0) { + $newp$2 = 0; + return $newp$2 | 0; + } + $sub110 = $add105 - $nb | 0; + $shr = $2 >>> 3; + L49 : do if ($2 >>> 0 >= 256) { + $16 = HEAP32[$add$ptr + 24 >> 2] | 0; + $17 = HEAP32[$add$ptr + 12 >> 2] | 0; + do if (($17 | 0) == ($add$ptr | 0)) { + $child = $add$ptr + 16 | 0; + $arrayidx179 = $child + 4 | 0; + $21 = HEAP32[$arrayidx179 >> 2] | 0; + if (!$21) { + $22 = HEAP32[$child >> 2] | 0; + if (!$22) { + $R$3 = 0; + break; } else { - $$0 = ___shgetc($0) | 0; - $$0110 = $18; - break L13; + $R$1$ph = $22; + $RP$1$ph = $child; } - break; + } else { + $R$1$ph = $21; + $RP$1$ph = $arrayidx179; } - default: - { - $$0 = $12; - $$0110 = 1; + $R$1 = $R$1$ph; + $RP$1 = $RP$1$ph; + while (1) { + $arrayidx186 = $R$1 + 20 | 0; + $23 = HEAP32[$arrayidx186 >> 2] | 0; + if (!$23) { + $arrayidx190 = $R$1 + 16 | 0; + $24 = HEAP32[$arrayidx190 >> 2] | 0; + if (!$24) break; else { + $R$1$be = $24; + $RP$1$be = $arrayidx190; + } + } else { + $R$1$be = $23; + $RP$1$be = $arrayidx186; + } + $R$1 = $R$1$be; + $RP$1 = $RP$1$be; } - } while (0); - $$0104122 = 0; - $$1123 = $$0; - while (1) { - if (($$1123 | 32 | 0) != (HEAP8[50788 + $$0104122 >> 0] | 0)) { - $$1$lcssa = $$1123; - $trunc = $$0104122; + if ($1 >>> 0 > $RP$1 >>> 0) _abort(); else { + HEAP32[$RP$1 >> 2] = 0; + $R$3 = $R$1; break; } - do if ($$0104122 >>> 0 < 7) { - $32 = HEAP32[$3 >> 2] | 0; - if ($32 >>> 0 < (HEAP32[$4 >> 2] | 0) >>> 0) { - HEAP32[$3 >> 2] = $32 + 1; - $$2 = HEAPU8[$32 >> 0] | 0; - break; - } else { - $$2 = ___shgetc($0) | 0; - break; + } else { + $18 = HEAP32[$add$ptr + 8 >> 2] | 0; + if ($1 >>> 0 > $18 >>> 0) _abort(); + $bk164 = $18 + 12 | 0; + if ((HEAP32[$bk164 >> 2] | 0) != ($add$ptr | 0)) _abort(); + $fd167 = $17 + 8 | 0; + if ((HEAP32[$fd167 >> 2] | 0) == ($add$ptr | 0)) { + HEAP32[$bk164 >> 2] = $17; + HEAP32[$fd167 >> 2] = $18; + $R$3 = $17; + break; + } else _abort(); + } while (0); + if ($16 | 0) { + $25 = HEAP32[$add$ptr + 28 >> 2] | 0; + $arrayidx206 = 68092 + ($25 << 2) | 0; + do if ((HEAP32[$arrayidx206 >> 2] | 0) == ($add$ptr | 0)) { + HEAP32[$arrayidx206 >> 2] = $R$3; + if (!$R$3) { + HEAP32[16948] = HEAP32[16948] & ~(1 << $25); + break L49; } - } else $$2 = $$1123; while (0); - $$0104122 = $$0104122 + 1 | 0; - if ($$0104122 >>> 0 >= 8) { - $$1$lcssa = $$2; - $trunc = 8; + } else if ((HEAP32[16951] | 0) >>> 0 <= $16 >>> 0) { + $arrayidx226 = $16 + 16 | 0; + HEAP32[((HEAP32[$arrayidx226 >> 2] | 0) == ($add$ptr | 0) ? $arrayidx226 : $16 + 20 | 0) >> 2] = $R$3; + if (!$R$3) break L49; else break; + } else _abort(); while (0); + $30 = HEAP32[16951] | 0; + if ($30 >>> 0 > $R$3 >>> 0) _abort(); + HEAP32[$R$3 + 24 >> 2] = $16; + $child249 = $add$ptr + 16 | 0; + $31 = HEAP32[$child249 >> 2] | 0; + do if ($31 | 0) if ($30 >>> 0 > $31 >>> 0) _abort(); else { + HEAP32[$R$3 + 16 >> 2] = $31; + HEAP32[$31 + 24 >> 2] = $R$3; break; - } else $$1123 = $$2; - } - L29 : do switch ($trunc & 2147483647 | 0) { - case 8: - break; - case 3: - { - label = 23; + } while (0); + $32 = HEAP32[$child249 + 4 >> 2] | 0; + if ($32 | 0) if ((HEAP32[16951] | 0) >>> 0 > $32 >>> 0) _abort(); else { + HEAP32[$R$3 + 20 >> 2] = $32; + HEAP32[$32 + 24 >> 2] = $R$3; break; } - default: - { - $42 = ($2 | 0) != 0; - if ($42 & $trunc >>> 0 > 3) if (($trunc | 0) == 8) break L29; else { - label = 23; - break L29; - } - L34 : do if (!$trunc) { - $$2106120 = 0; - $$3121 = $$1$lcssa; + } + } else { + $11 = HEAP32[$add$ptr + 8 >> 2] | 0; + $12 = HEAP32[$add$ptr + 12 >> 2] | 0; + $arrayidx = 67828 + ($shr << 1 << 2) | 0; + if (($11 | 0) != ($arrayidx | 0)) { + if ($1 >>> 0 > $11 >>> 0) _abort(); + if ((HEAP32[$11 + 12 >> 2] | 0) != ($add$ptr | 0)) _abort(); + } + if (($12 | 0) == ($11 | 0)) { + HEAP32[16947] = HEAP32[16947] & ~(1 << $shr); + break; + } + if (($12 | 0) != ($arrayidx | 0)) { + if ($1 >>> 0 > $12 >>> 0) _abort(); + $fd138 = $12 + 8 | 0; + if ((HEAP32[$fd138 >> 2] | 0) == ($add$ptr | 0)) $fd148$pre$phiZ2D = $fd138; else _abort(); + } else $fd148$pre$phiZ2D = $12 + 8 | 0; + HEAP32[$11 + 12 >> 2] = $12; + HEAP32[$fd148$pre$phiZ2D >> 2] = $11; + } while (0); + if ($sub110 >>> 0 < 16) { + HEAP32[$head >> 2] = $0 & 1 | $add105 | 2; + $head299 = $p + $add105 + 4 | 0; + HEAP32[$head299 >> 2] = HEAP32[$head299 >> 2] | 1; + $newp$2 = $p; + return $newp$2 | 0; + } else { + $add$ptr303 = $p + $nb | 0; + HEAP32[$head >> 2] = $0 & 1 | $nb | 2; + HEAP32[$add$ptr303 + 4 >> 2] = $sub110 | 3; + $head318 = $p + $add105 + 4 | 0; + HEAP32[$head318 >> 2] = HEAP32[$head318 >> 2] | 1; + _dispose_chunk($add$ptr303, $sub110); + $newp$2 = $p; + return $newp$2 | 0; + } + return 0; +} + +function __ZNK10__cxxabiv121__vmi_class_type_info16search_below_dstEPNS_19__dynamic_cast_infoEPKvib($this, $info, $current_ptr, $path_below, $use_strcmp) { + $this = $this | 0; + $info = $info | 0; + $current_ptr = $current_ptr | 0; + $path_below = $path_below | 0; + $use_strcmp = $use_strcmp | 0; + var $12 = 0, $17 = 0, $18 = 0, $__flags34 = 0, $add$ptr = 0, $add$ptr64 = 0, $does_dst_type_point_to_our_static_type$0 = 0, $does_dst_type_point_to_our_static_type$1 = 0, $does_dst_type_point_to_our_static_type$273 = 0, $does_dst_type_point_to_our_static_type$274 = 0, $dst_ptr_not_leading_to_static_ptr = 0, $found_any_static_type = 0, $found_our_static_ptr = 0, $incdec$ptr69 = 0, $is_dst_type_derived_from_static_type = 0, $is_dst_type_derived_from_static_type13$0$off0 = 0, $is_dst_type_derived_from_static_type13$1$off0 = 0, $number_to_dst_ptr = 0, $number_to_static_ptr76 = 0, $p$0 = 0, $p65$0 = 0, $p65$1 = 0, $p65$2 = 0, $path_dst_ptr_to_static_ptr = 0, $path_dst_ptr_to_static_ptr99 = 0, $search_done = 0, $search_done110 = 0, $search_done79 = 0, $search_done92 = 0, label = 0; + L1 : do if (!(__ZL8is_equalPKSt9type_infoS1_b($this, HEAP32[$info + 8 >> 2] | 0, $use_strcmp) | 0)) { + if (!(__ZL8is_equalPKSt9type_infoS1_b($this, HEAP32[$info >> 2] | 0, $use_strcmp) | 0)) { + $17 = HEAP32[$this + 12 >> 2] | 0; + $add$ptr64 = $this + 16 + ($17 << 3) | 0; + __ZNK10__cxxabiv122__base_class_type_info16search_below_dstEPNS_19__dynamic_cast_infoEPKvib($this + 16 | 0, $info, $current_ptr, $path_below, $use_strcmp); + $incdec$ptr69 = $this + 24 | 0; + if (($17 | 0) <= 1) break; + $18 = HEAP32[$this + 8 >> 2] | 0; + if (($18 & 2 | 0) == 0 ? ($number_to_static_ptr76 = $info + 36 | 0, (HEAP32[$number_to_static_ptr76 >> 2] | 0) != 1) : 0) { + if (!($18 & 1)) { + $search_done110 = $info + 54 | 0; + $p65$2 = $incdec$ptr69; while (1) { - if (($$3121 | 32 | 0) != (HEAP8[50797 + $$2106120 >> 0] | 0)) { - $$3107 = $$2106120; - $$5 = $$3121; - break L34; - } - do if ($$2106120 >>> 0 < 2) { - $64 = HEAP32[$3 >> 2] | 0; - if ($64 >>> 0 < (HEAP32[$4 >> 2] | 0) >>> 0) { - HEAP32[$3 >> 2] = $64 + 1; - $$4 = HEAPU8[$64 >> 0] | 0; - break; - } else { - $$4 = ___shgetc($0) | 0; - break; - } - } else $$4 = $$3121; while (0); - $$2106120 = $$2106120 + 1 | 0; - if ($$2106120 >>> 0 >= 3) { - $$3107 = 3; - $$5 = $$4; - break; - } else $$3121 = $$4; + if (HEAP8[$search_done110 >> 0] | 0) break L1; + if ((HEAP32[$number_to_static_ptr76 >> 2] | 0) == 1) break L1; + __ZNK10__cxxabiv122__base_class_type_info16search_below_dstEPNS_19__dynamic_cast_infoEPKvib($p65$2, $info, $current_ptr, $path_below, $use_strcmp); + $p65$2 = $p65$2 + 8 | 0; + if ($p65$2 >>> 0 >= $add$ptr64 >>> 0) break L1; } - } else { - $$3107 = $trunc; - $$5 = $$1$lcssa; - } while (0); - switch ($$3107 | 0) { - case 3: - { - $73 = HEAP32[$3 >> 2] | 0; - if ($73 >>> 0 < (HEAP32[$4 >> 2] | 0) >>> 0) { - HEAP32[$3 >> 2] = $73 + 1; - $81 = HEAPU8[$73 >> 0] | 0; - } else $81 = ___shgetc($0) | 0; - if (($81 | 0) != 40) { - if (!(HEAP32[$4 >> 2] | 0)) { - $$0111 = nan; - break L4; - } - HEAP32[$3 >> 2] = (HEAP32[$3 >> 2] | 0) + -1; - $$0111 = nan; - break L4; - } - $$4108 = 1; - while (1) { - $86 = HEAP32[$3 >> 2] | 0; - if ($86 >>> 0 < (HEAP32[$4 >> 2] | 0) >>> 0) { - HEAP32[$3 >> 2] = $86 + 1; - $94 = HEAPU8[$86 >> 0] | 0; - } else $94 = ___shgetc($0) | 0; - if (!(($94 + -48 | 0) >>> 0 < 10 | ($94 + -65 | 0) >>> 0 < 26) ? !(($94 | 0) == 95 | ($94 + -97 | 0) >>> 0 < 26) : 0) break; - $$4108 = $$4108 + 1 | 0; - } - if (($94 | 0) == 41) { - $$0111 = nan; - break L4; + } + $path_dst_ptr_to_static_ptr99 = $info + 24 | 0; + $search_done92 = $info + 54 | 0; + $p65$1 = $incdec$ptr69; + while (1) { + if (HEAP8[$search_done92 >> 0] | 0) break L1; + if ((HEAP32[$number_to_static_ptr76 >> 2] | 0) == 1 ? (HEAP32[$path_dst_ptr_to_static_ptr99 >> 2] | 0) == 1 : 0) break L1; + __ZNK10__cxxabiv122__base_class_type_info16search_below_dstEPNS_19__dynamic_cast_infoEPKvib($p65$1, $info, $current_ptr, $path_below, $use_strcmp); + $p65$1 = $p65$1 + 8 | 0; + if ($p65$1 >>> 0 >= $add$ptr64 >>> 0) break L1; + } + } + $search_done79 = $info + 54 | 0; + $p65$0 = $incdec$ptr69; + while (1) { + if (HEAP8[$search_done79 >> 0] | 0) break L1; + __ZNK10__cxxabiv122__base_class_type_info16search_below_dstEPNS_19__dynamic_cast_infoEPKvib($p65$0, $info, $current_ptr, $path_below, $use_strcmp); + $p65$0 = $p65$0 + 8 | 0; + if ($p65$0 >>> 0 >= $add$ptr64 >>> 0) break L1; + } + } + if ((HEAP32[$info + 16 >> 2] | 0) != ($current_ptr | 0) ? ($dst_ptr_not_leading_to_static_ptr = $info + 20 | 0, (HEAP32[$dst_ptr_not_leading_to_static_ptr >> 2] | 0) != ($current_ptr | 0)) : 0) { + HEAP32[$info + 32 >> 2] = $path_below; + $is_dst_type_derived_from_static_type = $info + 44 | 0; + if ((HEAP32[$is_dst_type_derived_from_static_type >> 2] | 0) != 4) { + $add$ptr = $this + 16 + (HEAP32[$this + 12 >> 2] << 3) | 0; + $found_our_static_ptr = $info + 52 | 0; + $found_any_static_type = $info + 53 | 0; + $search_done = $info + 54 | 0; + $__flags34 = $this + 8 | 0; + $path_dst_ptr_to_static_ptr = $info + 24 | 0; + $does_dst_type_point_to_our_static_type$0 = 0; + $is_dst_type_derived_from_static_type13$0$off0 = 0; + $p$0 = $this + 16 | 0; + L33 : while (1) { + if ($p$0 >>> 0 >= $add$ptr >>> 0) { + label = 18; + break; + } + HEAP8[$found_our_static_ptr >> 0] = 0; + HEAP8[$found_any_static_type >> 0] = 0; + __ZNK10__cxxabiv122__base_class_type_info16search_above_dstEPNS_19__dynamic_cast_infoEPKvS4_ib($p$0, $info, $current_ptr, $current_ptr, 1, $use_strcmp); + if (HEAP8[$search_done >> 0] | 0) { + label = 18; + break; + } + do if (HEAP8[$found_any_static_type >> 0] | 0) { + if (!(HEAP8[$found_our_static_ptr >> 0] | 0)) if (!(HEAP32[$__flags34 >> 2] & 1)) { + $does_dst_type_point_to_our_static_type$274 = $does_dst_type_point_to_our_static_type$0; + label = 19; + break L33; + } else { + $does_dst_type_point_to_our_static_type$1 = $does_dst_type_point_to_our_static_type$0; + $is_dst_type_derived_from_static_type13$1$off0 = 1; + break; } - $103 = (HEAP32[$4 >> 2] | 0) == 0; - if (!$103) HEAP32[$3 >> 2] = (HEAP32[$3 >> 2] | 0) + -1; - if (!$42) { - $106 = ___errno_location() | 0; - HEAP32[$106 >> 2] = 28; - ___shlim($0, 0, 0); - $$0111 = 0.0; - break L4; + if ((HEAP32[$path_dst_ptr_to_static_ptr >> 2] | 0) == 1) { + $does_dst_type_point_to_our_static_type$274 = 1; + label = 19; + break L33; } - if (!$$4108) { - $$0111 = nan; - break L4; + if (!(HEAP32[$__flags34 >> 2] & 2)) { + $does_dst_type_point_to_our_static_type$274 = 1; + label = 19; + break L33; + } else { + $does_dst_type_point_to_our_static_type$1 = 1; + $is_dst_type_derived_from_static_type13$1$off0 = 1; } - $$in = $$4108; + } else { + $does_dst_type_point_to_our_static_type$1 = $does_dst_type_point_to_our_static_type$0; + $is_dst_type_derived_from_static_type13$1$off0 = $is_dst_type_derived_from_static_type13$0$off0; + } while (0); + $does_dst_type_point_to_our_static_type$0 = $does_dst_type_point_to_our_static_type$1; + $is_dst_type_derived_from_static_type13$0$off0 = $is_dst_type_derived_from_static_type13$1$off0; + $p$0 = $p$0 + 8 | 0; + } + if ((label | 0) == 18) if ($is_dst_type_derived_from_static_type13$0$off0) { + $does_dst_type_point_to_our_static_type$274 = $does_dst_type_point_to_our_static_type$0; + label = 19; + } else { + $12 = 4; + $does_dst_type_point_to_our_static_type$273 = $does_dst_type_point_to_our_static_type$0; + } + if ((label | 0) == 19) { + $12 = 3; + $does_dst_type_point_to_our_static_type$273 = $does_dst_type_point_to_our_static_type$274; + } + HEAP32[$is_dst_type_derived_from_static_type >> 2] = $12; + if ($does_dst_type_point_to_our_static_type$273 & 1) break; + } + HEAP32[$dst_ptr_not_leading_to_static_ptr >> 2] = $current_ptr; + $number_to_dst_ptr = $info + 40 | 0; + HEAP32[$number_to_dst_ptr >> 2] = (HEAP32[$number_to_dst_ptr >> 2] | 0) + 1; + if ((HEAP32[$info + 36 >> 2] | 0) != 1) break; + if ((HEAP32[$info + 24 >> 2] | 0) != 2) break; + HEAP8[$info + 54 >> 0] = 1; + break; + } + if (($path_below | 0) == 1) HEAP32[$info + 32 >> 2] = 1; + } else __ZNK10__cxxabiv117__class_type_info29process_static_type_below_dstEPNS_19__dynamic_cast_infoEPKvi(0, $info, $current_ptr, $path_below); while (0); + return; +} + +function _jpeg_idct_14x7($cinfo, $compptr, $coef_block, $output_buf, $output_col) { + $cinfo = $cinfo | 0; + $compptr = $compptr | 0; + $coef_block = $coef_block | 0; + $output_buf = $output_buf | 0; + $output_col = $output_col | 0; + var $0 = 0, $21 = 0, $24 = 0, $25 = 0, $28 = 0, $29 = 0, $30 = 0, $add = 0, $add$ptr = 0, $add$ptr87 = 0, $add107 = 0, $add113 = 0, $add115 = 0, $add117 = 0, $add124 = 0, $add138 = 0, $add144 = 0, $add147 = 0, $add153 = 0, $add156 = 0, $add159 = 0, $add21 = 0, $add24 = 0, $add27 = 0, $add30 = 0, $add53 = 0, $add56 = 0, $add59 = 0, $add95 = 0, $add96 = 0, $ctr$0230 = 0, $ctr$1226 = 0, $inptr$0227 = 0, $mul105 = 0, $mul126 = 0, $mul127 = 0, $mul13 = 0, $mul132 = 0, $mul14 = 0, $mul149 = 0, $mul16 = 0, $mul36 = 0, $mul40 = 0, $mul44 = 0, $mul46 = 0, $mul48 = 0, $mul5 = 0, $mul52 = 0, $mul55 = 0, $mul9 = 0, $quantptr$0228 = 0, $shl123 = 0, $shl90 = 0, $sub101 = 0, $sub109 = 0, $sub112 = 0, $sub114 = 0, $sub116 = 0, $sub118 = 0, $sub131 = 0, $sub135 = 0, $sub137 = 0, $sub141 = 0, $sub20 = 0, $sub97 = 0, $workspace = 0, $wsptr$0229 = 0, $wsptr$1225 = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 224 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(224); + $workspace = sp; + $0 = HEAP32[$cinfo + 336 >> 2] | 0; + $ctr$0230 = 0; + $inptr$0227 = $coef_block; + $quantptr$0228 = HEAP32[$compptr + 84 >> 2] | 0; + $wsptr$0229 = $workspace; + while (1) { + $add = Math_imul(HEAP16[$inptr$0227 >> 1] << 13, HEAP32[$quantptr$0228 >> 2] | 0) | 0 | 1024; + $mul5 = Math_imul(HEAP32[$quantptr$0228 + 64 >> 2] | 0, HEAP16[$inptr$0227 + 32 >> 1] | 0) | 0; + $mul9 = Math_imul(HEAP32[$quantptr$0228 + 128 >> 2] | 0, HEAP16[$inptr$0227 + 64 >> 1] | 0) | 0; + $mul13 = Math_imul(HEAP32[$quantptr$0228 + 192 >> 2] | 0, HEAP16[$inptr$0227 + 96 >> 1] | 0) | 0; + $mul14 = ($mul9 - $mul13 | 0) * 7223 | 0; + $mul16 = ($mul5 - $mul9 | 0) * 2578 | 0; + $sub20 = (Math_imul($mul9, -15083) | 0) + $add + $mul16 + $mul14 | 0; + $add21 = $mul13 + $mul5 | 0; + $add24 = ($add21 * 10438 | 0) + $add | 0; + $add27 = $mul14 + (Math_imul($mul13, -637) | 0) + $add24 | 0; + $add30 = $mul16 + (Math_imul($mul5, -20239) | 0) + $add24 | 0; + $mul36 = Math_imul(HEAP32[$quantptr$0228 + 32 >> 2] | 0, HEAP16[$inptr$0227 + 16 >> 1] | 0) | 0; + $mul40 = Math_imul(HEAP32[$quantptr$0228 + 96 >> 2] | 0, HEAP16[$inptr$0227 + 48 >> 1] | 0) | 0; + $mul44 = Math_imul(HEAP32[$quantptr$0228 + 160 >> 2] | 0, HEAP16[$inptr$0227 + 80 >> 1] | 0) | 0; + $mul46 = ($mul40 + $mul36 | 0) * 7663 | 0; + $mul48 = ($mul36 - $mul40 | 0) * 1395 | 0; + $mul52 = Math_imul($mul44 + $mul40 | 0, -11295) | 0; + $add53 = $mul46 + $mul48 + $mul52 | 0; + $mul55 = ($mul44 + $mul36 | 0) * 5027 | 0; + $add56 = $mul55 + ($mul46 - $mul48) | 0; + $add59 = $mul55 + ($mul44 * 15326 | 0) + $mul52 | 0; + HEAP32[$wsptr$0229 >> 2] = $add56 + $add27 >> 11; + HEAP32[$wsptr$0229 + 192 >> 2] = $add27 - $add56 >> 11; + HEAP32[$wsptr$0229 + 32 >> 2] = $add53 + $sub20 >> 11; + HEAP32[$wsptr$0229 + 160 >> 2] = $sub20 - $add53 >> 11; + HEAP32[$wsptr$0229 + 64 >> 2] = $add59 + $add30 >> 11; + HEAP32[$wsptr$0229 + 128 >> 2] = $add30 - $add59 >> 11; + HEAP32[$wsptr$0229 + 96 >> 2] = (($mul9 - $add21 | 0) * 11585 | 0) + $add >> 11; + $ctr$0230 = $ctr$0230 + 1 | 0; + if (($ctr$0230 | 0) == 8) break; else { + $inptr$0227 = $inptr$0227 + 2 | 0; + $quantptr$0228 = $quantptr$0228 + 4 | 0; + $wsptr$0229 = $wsptr$0229 + 4 | 0; + } + } + $add$ptr = $0 + -384 | 0; + $ctr$1226 = 0; + $wsptr$1225 = $workspace; + while (1) { + $add$ptr87 = (HEAP32[$output_buf + ($ctr$1226 << 2) >> 2] | 0) + $output_col | 0; + $shl90 = (HEAP32[$wsptr$1225 >> 2] << 13) + 134348800 | 0; + $21 = HEAP32[$wsptr$1225 + 16 >> 2] | 0; + $add95 = $shl90 + ($21 * 10438 | 0) | 0; + $add96 = $shl90 + ($21 * 2578 | 0) | 0; + $sub97 = $shl90 + (Math_imul($21, -7223) | 0) | 0; + $sub101 = $shl90 + (Math_imul($21, -11586) | 0) | 0; + $24 = HEAP32[$wsptr$1225 + 8 >> 2] | 0; + $25 = HEAP32[$wsptr$1225 + 24 >> 2] | 0; + $mul105 = ($25 + $24 | 0) * 9058 | 0; + $add107 = $mul105 + ($24 * 2237 | 0) | 0; + $sub109 = $mul105 + (Math_imul($25, -14084) | 0) | 0; + $sub112 = (Math_imul($25, -11295) | 0) + ($24 * 5027 | 0) | 0; + $add113 = $add107 + $add95 | 0; + $sub114 = $add95 - $add107 | 0; + $add115 = $sub109 + $add96 | 0; + $sub116 = $add96 - $sub109 | 0; + $add117 = $sub112 + $sub97 | 0; + $sub118 = $sub97 - $sub112 | 0; + $28 = HEAP32[$wsptr$1225 + 4 >> 2] | 0; + $29 = HEAP32[$wsptr$1225 + 12 >> 2] | 0; + $30 = HEAP32[$wsptr$1225 + 20 >> 2] | 0; + $shl123 = HEAP32[$wsptr$1225 + 28 >> 2] << 13; + $add124 = $30 + $28 | 0; + $mul126 = ($29 + $28 | 0) * 10935 | 0; + $mul127 = $add124 * 9810 | 0; + $sub131 = $mul126 + (Math_imul($28, -9232) | 0) + $mul127 + $shl123 | 0; + $mul132 = $add124 * 6164 | 0; + $sub135 = $28 - $29 | 0; + $sub137 = ($sub135 * 3826 | 0) - $shl123 | 0; + $add138 = $mul132 + (Math_imul($28, -8693) | 0) + $sub137 | 0; + $sub141 = (Math_imul($30 + $29 | 0, -1297) | 0) - $shl123 | 0; + $add144 = $mul126 + (Math_imul($29, -3474) | 0) + $sub141 | 0; + $add147 = $mul127 + (Math_imul($30, -19447) | 0) + $sub141 | 0; + $mul149 = ($30 - $29 | 0) * 11512 | 0; + $add153 = $shl123 + (Math_imul($30, -13850) | 0) + $mul149 + $mul132 | 0; + $add156 = $mul149 + ($29 * 5529 | 0) + $sub137 | 0; + $add159 = ($sub135 - $30 << 13) + $shl123 | 0; + HEAP8[$add$ptr87 >> 0] = HEAP8[$add$ptr + (($sub131 + $add113 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr87 + 13 >> 0] = HEAP8[$add$ptr + (($add113 - $sub131 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr87 + 1 >> 0] = HEAP8[$add$ptr + (($add144 + $add115 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr87 + 12 >> 0] = HEAP8[$add$ptr + (($add115 - $add144 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr87 + 2 >> 0] = HEAP8[$add$ptr + (($add147 + $add117 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr87 + 11 >> 0] = HEAP8[$add$ptr + (($add117 - $add147 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr87 + 3 >> 0] = HEAP8[$add$ptr + (($add159 + $sub101 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr87 + 10 >> 0] = HEAP8[$add$ptr + (($sub101 - $add159 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr87 + 4 >> 0] = HEAP8[$add$ptr + (($add153 + $sub118 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr87 + 9 >> 0] = HEAP8[$add$ptr + (($sub118 - $add153 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr87 + 5 >> 0] = HEAP8[$add$ptr + (($add156 + $sub116 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr87 + 8 >> 0] = HEAP8[$add$ptr + (($sub116 - $add156 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr87 + 6 >> 0] = HEAP8[$add$ptr + (($add138 + $sub114 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr87 + 7 >> 0] = HEAP8[$add$ptr + (($sub114 - $add138 | 0) >>> 18 & 1023) >> 0] | 0; + $ctr$1226 = $ctr$1226 + 1 | 0; + if (($ctr$1226 | 0) == 7) break; else $wsptr$1225 = $wsptr$1225 + 32 | 0; + } + STACKTOP = sp; + return; +} + +function _decompress_onepass($cinfo, $output_buf) { + $cinfo = $cinfo | 0; + $output_buf = $output_buf | 0; + var $$pre94 = 0, $$sink = 0, $0 = 0, $11 = 0, $12 = 0, $16 = 0, $17 = 0, $18 = 0, $2 = 0, $20 = 0, $25 = 0, $26 = 0, $29 = 0, $3 = 0, $30 = 0, $33 = 0, $34 = 0, $36 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $5 = 0, $DCT_h_scaled_size = 0, $DCT_v_scaled_size = 0, $MCU_col_num$086 = 0, $MCU_ctr = 0, $MCU_height = 0, $MCU_rows_per_iMCU_row = 0, $MCU_vert_offset = 0, $MCU_width = 0, $add42 = 0, $arraydecay = 0, $blkn$084 = 0, $blkn$179 = 0, $blkn$179$us = 0, $blkn$2 = 0, $blocks_in_MCU = 0, $ci$083 = 0, $cmp21 = 0, $coef1 = 0, $comps_in_scan = 0, $cond = 0, $entropy = 0, $idct = 0, $inc52 = 0, $inc56 = 0, $inc60 = 0, $input_iMCU_row = 0, $input_iMCU_row59$pre$phiZ2D = 0, $last_row_height = 0, $lim_Se = 0, $mul25 = 0, $output_col$075$us = 0, $output_iMCU_row = 0, $output_ptr$078$us = 0, $retval$0 = 0, $sub = 0, $sub2 = 0, $total_iMCU_rows = 0, $xindex$074$us = 0, $yindex$077 = 0, $yindex$077$us = 0, $yoffset$089 = 0, label = 0; + $coef1 = $cinfo + 452 | 0; + $0 = HEAP32[$coef1 >> 2] | 0; + $sub = (HEAP32[$cinfo + 360 >> 2] | 0) + -1 | 0; + $total_iMCU_rows = $cinfo + 332 | 0; + $2 = HEAP32[$total_iMCU_rows >> 2] | 0; + $sub2 = $2 + -1 | 0; + $MCU_vert_offset = $0 + 24 | 0; + $3 = HEAP32[$MCU_vert_offset >> 2] | 0; + $MCU_rows_per_iMCU_row = $0 + 28 | 0; + $4 = HEAP32[$MCU_rows_per_iMCU_row >> 2] | 0; + do if (($3 | 0) < ($4 | 0)) { + $MCU_ctr = $0 + 20 | 0; + $lim_Se = $cinfo + 436 | 0; + $entropy = $cinfo + 468 | 0; + $arraydecay = $0 + 32 | 0; + $blocks_in_MCU = $cinfo + 368 | 0; + $comps_in_scan = $cinfo + 340 | 0; + $idct = $cinfo + 472 | 0; + $input_iMCU_row = $cinfo + 148 | 0; + $40 = $4; + $5 = HEAP32[$MCU_ctr >> 2] | 0; + $yoffset$089 = $3; + L3 : while (1) { + if ($5 >>> 0 > $sub >>> 0) $30 = $40; else { + $MCU_col_num$086 = $5; + while (1) { + if (HEAP32[$lim_Se >> 2] | 0) _memset(HEAP32[$arraydecay >> 2] | 0, 0, HEAP32[$blocks_in_MCU >> 2] << 7 | 0) | 0; + if (!(FUNCTION_TABLE_iii[HEAP32[(HEAP32[$entropy >> 2] | 0) + 4 >> 2] & 127]($cinfo, $arraydecay) | 0)) break L3; + $11 = HEAP32[$comps_in_scan >> 2] | 0; + if (($11 | 0) > 0) { + $cmp21 = $MCU_col_num$086 >>> 0 < $sub >>> 0; + $41 = $11; + $blkn$084 = 0; + $ci$083 = 0; while (1) { - $$in = $$in + -1 | 0; - if (!$103) HEAP32[$3 >> 2] = (HEAP32[$3 >> 2] | 0) + -1; - if (!$$in) { - $$0111 = nan; - break L4; + $12 = HEAP32[$cinfo + 344 + ($ci$083 << 2) >> 2] | 0; + L17 : do if (HEAP32[$12 + 52 >> 2] | 0) { + $16 = HEAP32[$12 + 4 >> 2] | 0; + $17 = HEAP32[(HEAP32[$idct >> 2] | 0) + 4 + ($16 << 2) >> 2] | 0; + $MCU_width = $12 + 56 | 0; + $cond = HEAP32[($cmp21 ? $MCU_width : $12 + 72 | 0) >> 2] | 0; + $DCT_v_scaled_size = $12 + 40 | 0; + $18 = HEAP32[$DCT_v_scaled_size >> 2] | 0; + $mul25 = Math_imul(HEAP32[$12 + 68 >> 2] | 0, $MCU_col_num$086) | 0; + $MCU_height = $12 + 60 | 0; + $20 = HEAP32[$MCU_height >> 2] | 0; + if (($20 | 0) > 0) { + $last_row_height = $12 + 76 | 0; + $DCT_h_scaled_size = $12 + 36 | 0; + if (($cond | 0) <= 0) { + $$pre94 = HEAP32[$MCU_width >> 2] | 0; + $blkn$179 = $blkn$084; + $yindex$077 = 0; + while (1) { + $add42 = $$pre94 + $blkn$179 | 0; + $yindex$077 = $yindex$077 + 1 | 0; + if (($yindex$077 | 0) >= ($20 | 0)) { + $29 = $41; + $blkn$2 = $add42; + break L17; + } else $blkn$179 = $add42; + } + } + $42 = $20; + $43 = $18; + $blkn$179$us = $blkn$084; + $output_ptr$078$us = (HEAP32[$output_buf + ($16 << 2) >> 2] | 0) + ((Math_imul($18, $yoffset$089) | 0) << 2) | 0; + $yindex$077$us = 0; + while (1) { + if ((HEAP32[$input_iMCU_row >> 2] | 0) >>> 0 >= $sub2 >>> 0 ? ($yindex$077$us + $yoffset$089 | 0) >= (HEAP32[$last_row_height >> 2] | 0) : 0) { + $25 = $43; + $26 = $42; + } else { + $output_col$075$us = $mul25; + $xindex$074$us = 0; + while (1) { + FUNCTION_TABLE_viiiii[$17 & 63]($cinfo, $12, HEAP32[$0 + 32 + ($xindex$074$us + $blkn$179$us << 2) >> 2] | 0, $output_ptr$078$us, $output_col$075$us); + $xindex$074$us = $xindex$074$us + 1 | 0; + if (($xindex$074$us | 0) == ($cond | 0)) break; else $output_col$075$us = (HEAP32[$DCT_h_scaled_size >> 2] | 0) + $output_col$075$us | 0; + } + $25 = HEAP32[$DCT_v_scaled_size >> 2] | 0; + $26 = HEAP32[$MCU_height >> 2] | 0; + } + $blkn$179$us = (HEAP32[$MCU_width >> 2] | 0) + $blkn$179$us | 0; + $yindex$077$us = $yindex$077$us + 1 | 0; + if (($yindex$077$us | 0) >= ($26 | 0)) break; else { + $42 = $26; + $43 = $25; + $output_ptr$078$us = $output_ptr$078$us + ($25 << 2) | 0; + } + } + $29 = HEAP32[$comps_in_scan >> 2] | 0; + $blkn$2 = $blkn$179$us; + } else { + $29 = $41; + $blkn$2 = $blkn$084; + } + } else { + $29 = $41; + $blkn$2 = (HEAP32[$12 + 64 >> 2] | 0) + $blkn$084 | 0; + } while (0); + $ci$083 = $ci$083 + 1 | 0; + if (($ci$083 | 0) >= ($29 | 0)) break; else { + $41 = $29; + $blkn$084 = $blkn$2; } } - break; - } - case 0: - { - if (($$5 | 0) == 48) { - $119 = HEAP32[$3 >> 2] | 0; - if ($119 >>> 0 < (HEAP32[$4 >> 2] | 0) >>> 0) { - HEAP32[$3 >> 2] = $119 + 1; - $127 = HEAPU8[$119 >> 0] | 0; - } else $127 = ___shgetc($0) | 0; - if (($127 | 32 | 0) == 120) { - $$0111 = +_hexfloat($0, $$0103, $$0102, $$0110, $2); - break L4; - } - if (!(HEAP32[$4 >> 2] | 0)) $$6 = 48; else { - HEAP32[$3 >> 2] = (HEAP32[$3 >> 2] | 0) + -1; - $$6 = 48; - } - } else $$6 = $$5; - $$0111 = +_decfloat($0, $$6, $$0103, $$0102, $$0110, $2); - break L4; - break; - } - default: - { - if (HEAP32[$4 >> 2] | 0) HEAP32[$3 >> 2] = (HEAP32[$3 >> 2] | 0) + -1; - $117 = ___errno_location() | 0; - HEAP32[$117 >> 2] = 28; - ___shlim($0, 0, 0); - $$0111 = 0.0; - break L4; } + $inc52 = $MCU_col_num$086 + 1 | 0; + if ($inc52 >>> 0 > $sub >>> 0) break; else $MCU_col_num$086 = $inc52; } + $30 = HEAP32[$MCU_rows_per_iMCU_row >> 2] | 0; } - } while (0); - if ((label | 0) == 23) { - $45 = (HEAP32[$4 >> 2] | 0) == 0; - if (!$45) HEAP32[$3 >> 2] = (HEAP32[$3 >> 2] | 0) + -1; - if (($2 | 0) != 0 & $trunc >>> 0 > 3) { - $$1105118 = $trunc; - do { - if (!$45) HEAP32[$3 >> 2] = (HEAP32[$3 >> 2] | 0) + -1; - $$1105118 = $$1105118 + -1 | 0; - } while ($$1105118 >>> 0 > 3); + HEAP32[$MCU_ctr >> 2] = 0; + $inc56 = $yoffset$089 + 1 | 0; + if (($inc56 | 0) < ($30 | 0)) { + $40 = $30; + $5 = 0; + $yoffset$089 = $inc56; + } else { + label = 30; + break; } } - $$0111 = +($$0110 | 0) * inf; + if ((label | 0) == 30) { + $33 = HEAP32[$total_iMCU_rows >> 2] | 0; + $input_iMCU_row59$pre$phiZ2D = $input_iMCU_row; + break; + } + HEAP32[$MCU_vert_offset >> 2] = $yoffset$089; + HEAP32[$MCU_ctr >> 2] = $MCU_col_num$086; + $retval$0 = 0; + return $retval$0 | 0; + } else { + $33 = $2; + $input_iMCU_row59$pre$phiZ2D = $cinfo + 148 | 0; } while (0); - return +$$0111; + $output_iMCU_row = $cinfo + 156 | 0; + HEAP32[$output_iMCU_row >> 2] = (HEAP32[$output_iMCU_row >> 2] | 0) + 1; + $inc60 = (HEAP32[$input_iMCU_row59$pre$phiZ2D >> 2] | 0) + 1 | 0; + HEAP32[$input_iMCU_row59$pre$phiZ2D >> 2] = $inc60; + if ($inc60 >>> 0 >= $33 >>> 0) { + FUNCTION_TABLE_vi[HEAP32[(HEAP32[$cinfo + 460 >> 2] | 0) + 12 >> 2] & 255]($cinfo); + $retval$0 = 4; + return $retval$0 | 0; + } + $34 = HEAP32[$coef1 >> 2] | 0; + if ((HEAP32[$cinfo + 340 >> 2] | 0) > 1) $$sink = 1; else { + $36 = HEAP32[$cinfo + 344 >> 2] | 0; + $$sink = HEAP32[($inc60 >>> 0 < ($33 + -1 | 0) >>> 0 ? $36 + 12 | 0 : $36 + 76 | 0) >> 2] | 0; + } + HEAP32[$34 + 28 >> 2] = $$sink; + HEAP32[$34 + 20 >> 2] = 0; + HEAP32[$34 + 24 >> 2] = 0; + $retval$0 = 3; + return $retval$0 | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E13parseEncodingEv($0) { - $0 = $0 | 0; - var $$10 = 0, $$7 = 0, $$8 = 0, $$9 = 0, $$byval_copy = 0, $1 = 0, $10 = 0, $11 = 0, $16 = 0, $17 = 0, $19 = 0, $2 = 0, $21 = 0, $27 = 0, $3 = 0, $33 = 0, $34 = 0, $35 = 0, $4 = 0, $5 = 0, $6 = 0, label = 0, sp = 0; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E13parseEncodingEv($this) { + $this = $this | 0; + var $Attrs = 0, $IsEndOfEncoding = 0, $Name = 0, $NameInfo = 0, $Names = 0, $Names49 = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, $call20 = 0, $call23 = 0, $call28 = 0, $call39 = 0, $call50 = 0, $call52 = 0, $call7 = 0, $call8 = 0, $ref$tmp46 = 0, $retval$10 = 0, $retval$7 = 0, $retval$8 = 0, $retval$9 = 0, label = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 64 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(64); - $$byval_copy = sp + 48 | 0; - $1 = sp + 40 | 0; - $2 = sp + 24 | 0; - $3 = sp + 20 | 0; - $4 = sp + 16 | 0; - $5 = sp + 8 | 0; - $6 = sp; - switch ((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($0, 0) | 0) << 24 >> 24) { + $agg$tmp$byval_copy = sp + 48 | 0; + $IsEndOfEncoding = sp + 40 | 0; + $NameInfo = sp + 24 | 0; + $Name = sp + 20 | 0; + $Attrs = sp + 16 | 0; + $agg$tmp = sp + 8 | 0; + $ref$tmp46 = sp; + switch ((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($this, 0) | 0) << 24 >> 24) { case 84: case 71: { - $$10 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E16parseSpecialNameEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0) | 0; + $retval$10 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E16parseSpecialNameEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0) | 0; break; } default: { - HEAP32[$1 >> 2] = $0; - __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9NameStateC2EPS5_($2, $0); - $10 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0; - $11 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseNameEPNS5_9NameStateE($10, $2) | 0; - HEAP32[$3 >> 2] = $11; - if (($11 | 0) != 0 ? !(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E26resolveForwardTemplateRefsERNS5_9NameStateE($0, $2) | 0) : 0) if (__ZZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E13parseEncodingEvENKUlvE_clEv($1) | 0) $$9 = $11; else { - HEAP32[$4 >> 2] = 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($5, 56610); - HEAP32[$$byval_copy >> 2] = HEAP32[$5 >> 2]; - HEAP32[$$byval_copy + 4 >> 2] = HEAP32[$5 + 4 >> 2]; - do if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($0, $$byval_copy) | 0) { - $16 = $0 + 8 | 0; - $17 = __ZNK12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE4sizeEv($16) | 0; + HEAP32[$IsEndOfEncoding >> 2] = $this; + __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9NameStateC2EPS5_($NameInfo, $this); + $call7 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0; + $call8 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseNameEPNS5_9NameStateE($call7, $NameInfo) | 0; + HEAP32[$Name >> 2] = $call8; + if (($call8 | 0) != 0 ? !(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E26resolveForwardTemplateRefsERNS5_9NameStateE($this, $NameInfo) | 0) : 0) if (__ZZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E13parseEncodingEvENKUlvE_clEv($IsEndOfEncoding) | 0) $retval$9 = $call8; else { + HEAP32[$Attrs >> 2] = 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, 57452); + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + do if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($this, $agg$tmp$byval_copy) | 0) { + $Names = $this + 8 | 0; + $call20 = __ZNK12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE4sizeEv($Names) | 0; while (1) { - if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($0, 69) | 0) { + if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($this, 69) | 0) { label = 11; break; } - $19 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E16parseTemplateArgEv($10) | 0; - HEAP32[$$byval_copy >> 2] = $19; - if (!$19) { + $call23 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E16parseTemplateArgEv($call7) | 0; + HEAP32[$agg$tmp$byval_copy >> 2] = $call23; + if (!$call23) { label = 12; break; } - __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE9push_backERKS3_($16, $$byval_copy); + __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE9push_backERKS3_($Names, $agg$tmp$byval_copy); } if ((label | 0) == 11) { - __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E20popTrailingNodeArrayEm($$byval_copy, $0, $17); - $21 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_12EnableIfAttrEJNS0_9NodeArrayEEEEPNS0_4NodeEDpOT0_($0, $$byval_copy) | 0; - HEAP32[$4 >> 2] = $21; + __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E20popTrailingNodeArrayEm($agg$tmp$byval_copy, $this, $call20); + $call28 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_12EnableIfAttrEJNS0_9NodeArrayEEEEPNS0_4NodeEDpOT0_($this, $agg$tmp$byval_copy) | 0; + HEAP32[$Attrs >> 2] = $call28; label = 13; break; } else if ((label | 0) == 12) { - $$8 = 0; + $retval$8 = 0; break; } } else label = 13; while (0); if ((label | 0) == 13) { - HEAP32[$$byval_copy >> 2] = 0; - if (((HEAP8[$2 >> 0] | 0) == 0 ? (HEAP8[$2 + 1 >> 0] | 0) != 0 : 0) ? ($27 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseTypeEv($10) | 0, HEAP32[$$byval_copy >> 2] = $27, ($27 | 0) == 0) : 0) $$7 = 0; else label = 16; + HEAP32[$agg$tmp$byval_copy >> 2] = 0; + if (((HEAP8[$NameInfo >> 0] | 0) == 0 ? (HEAP8[$NameInfo + 1 >> 0] | 0) != 0 : 0) ? ($call39 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseTypeEv($call7) | 0, HEAP32[$agg$tmp$byval_copy >> 2] = $call39, ($call39 | 0) == 0) : 0) $retval$7 = 0; else label = 16; do if ((label | 0) == 16) { - if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($0, 118) | 0) { - __ZN12_GLOBAL__N_116itanium_demangle9NodeArrayC2Ev($6); - $$7 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_16FunctionEncodingEJRPNS0_4NodeESA_NS0_9NodeArrayESA_RNS0_10QualifiersERNS0_15FunctionRefQualEEEES9_DpOT0_($0, $$byval_copy, $3, $6, $4, $2 + 4 | 0, $2 + 8 | 0) | 0; + if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($this, 118) | 0) { + __ZN12_GLOBAL__N_116itanium_demangle9NodeArrayC2Ev($ref$tmp46); + $retval$7 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_16FunctionEncodingEJRPNS0_4NodeESA_NS0_9NodeArrayESA_RNS0_10QualifiersERNS0_15FunctionRefQualEEEES9_DpOT0_($this, $agg$tmp$byval_copy, $Name, $ref$tmp46, $Attrs, $NameInfo + 4 | 0, $NameInfo + 8 | 0) | 0; break; } - $33 = $0 + 8 | 0; - $34 = __ZNK12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE4sizeEv($33) | 0; + $Names49 = $this + 8 | 0; + $call50 = __ZNK12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE4sizeEv($Names49) | 0; while (1) { - $35 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseTypeEv($10) | 0; - HEAP32[$6 >> 2] = $35; - if (!$35) { + $call52 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseTypeEv($call7) | 0; + HEAP32[$ref$tmp46 >> 2] = $call52; + if (!$call52) { label = 21; break; } - __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE9push_backERKS3_($33, $6); - if (__ZZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E13parseEncodingEvENKUlvE_clEv($1) | 0) { + __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE9push_backERKS3_($Names49, $ref$tmp46); + if (__ZZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E13parseEncodingEvENKUlvE_clEv($IsEndOfEncoding) | 0) { label = 22; break; } } if ((label | 0) == 21) { - $$7 = 0; + $retval$7 = 0; break; } else if ((label | 0) == 22) { - __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E20popTrailingNodeArrayEm($6, $0, $34); - $$7 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_16FunctionEncodingEJRPNS0_4NodeESA_NS0_9NodeArrayESA_RNS0_10QualifiersERNS0_15FunctionRefQualEEEES9_DpOT0_($0, $$byval_copy, $3, $6, $4, $2 + 4 | 0, $2 + 8 | 0) | 0; + __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E20popTrailingNodeArrayEm($ref$tmp46, $this, $call50); + $retval$7 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_16FunctionEncodingEJRPNS0_4NodeESA_NS0_9NodeArrayESA_RNS0_10QualifiersERNS0_15FunctionRefQualEEEES9_DpOT0_($this, $agg$tmp$byval_copy, $Name, $ref$tmp46, $Attrs, $NameInfo + 4 | 0, $NameInfo + 8 | 0) | 0; break; } } while (0); - $$8 = $$7; - } - $$9 = $$8; - } else $$9 = 0; - $$10 = $$9; - } - } - STACKTOP = sp; - return $$10 | 0; -} - -function __ZNSt3__29__num_putIcE23__widen_and_group_floatEPcS2_S2_S2_RS2_S3_RKNS_6localeE($0, $1, $2, $3, $4, $5, $6) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - $6 = $6 | 0; - var $$0 = 0, $$0$i$i = 0, $$0$i$i108 = 0, $$0100 = 0, $$0102 = 0, $$0104 = 0, $$07$i$i = 0, $$07$i$i107 = 0, $$099 = 0, $$1 = 0, $$1101 = 0, $$1103 = 0, $$1105 = 0, $$2 = 0, $$2106 = 0, $$3 = 0, $$pre$phiZ2D = 0, $101 = 0, $105 = 0, $107 = 0, $119 = 0, $120 = 0, $125 = 0, $13 = 0, $130 = 0, $131 = 0, $137 = 0, $138 = 0, $148 = 0, $18 = 0, $19 = 0, $21 = 0, $27 = 0, $32 = 0, $33 = 0, $35 = 0, $40 = 0, $41 = 0, $45 = 0, $52 = 0, $57 = 0, $58 = 0, $60 = 0, $7 = 0, $75 = 0, $77 = 0, $8 = 0, $83 = 0, $88 = 0, $89 = 0, $9 = 0, $91 = 0, $93 = 0, label = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $7 = sp; - $8 = __ZNKSt3__26locale9use_facetERNS0_2idE($6, 66512) | 0; - $9 = __ZNKSt3__26locale9use_facetERNS0_2idE($6, 66528) | 0; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$9 >> 2] | 0) + 20 >> 2] & 255]($7, $9); - HEAP32[$5 >> 2] = $3; - $13 = HEAP8[$0 >> 0] | 0; - switch ($13 << 24 >> 24) { - case 43: - case 45: - { - $18 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$8 >> 2] | 0) + 28 >> 2] & 127]($8, $13) | 0; - $19 = HEAP32[$5 >> 2] | 0; - HEAP32[$5 >> 2] = $19 + 1; - HEAP8[$19 >> 0] = $18; - $$0102 = $0 + 1 | 0; - break; - } - default: - $$0102 = $0; - } - $21 = $2; - L4 : do if (($21 - $$0102 | 0) > 1 ? (HEAP8[$$0102 >> 0] | 0) == 48 : 0) { - $27 = $$0102 + 1 | 0; - switch (HEAP8[$27 >> 0] | 0) { - case 88: - case 120: - break; - default: - { - label = 4; - break L4; - } - } - $32 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$8 >> 2] | 0) + 28 >> 2] & 127]($8, 48) | 0; - $33 = HEAP32[$5 >> 2] | 0; - HEAP32[$5 >> 2] = $33 + 1; - HEAP8[$33 >> 0] = $32; - $35 = $$0102 + 2 | 0; - $40 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$8 >> 2] | 0) + 28 >> 2] & 127]($8, HEAP8[$27 >> 0] | 0) | 0; - $41 = HEAP32[$5 >> 2] | 0; - HEAP32[$5 >> 2] = $41 + 1; - HEAP8[$41 >> 0] = $40; - $$0104 = $35; - while (1) { - if ($$0104 >>> 0 >= $2 >>> 0) { - $$1103 = $35; - $$2106 = $$0104; - break L4; - } - $45 = HEAP8[$$0104 >> 0] | 0; - if (!(_isxdigit_l($45, __ZNSt3__26__clocEv() | 0) | 0)) { - $$1103 = $35; - $$2106 = $$0104; - break L4; - } - $$0104 = $$0104 + 1 | 0; - } - } else label = 4; while (0); - L12 : do if ((label | 0) == 4) { - $$1105 = $$0102; - while (1) { - if ($$1105 >>> 0 >= $2 >>> 0) { - $$1103 = $$0102; - $$2106 = $$1105; - break L12; - } - $52 = HEAP8[$$1105 >> 0] | 0; - if (!(_isdigit_l($52, __ZNSt3__26__clocEv() | 0) | 0)) { - $$1103 = $$0102; - $$2106 = $$1105; - break L12; - } - $$1105 = $$1105 + 1 | 0; - } - } while (0); - $57 = $7 + 11 | 0; - $58 = HEAP8[$57 >> 0] | 0; - $60 = $7 + 4 | 0; - L19 : do if (($58 << 24 >> 24 < 0 ? HEAP32[$60 >> 2] | 0 : $58 & 255) | 0) { - L22 : do if (($$1103 | 0) != ($$2106 | 0)) { - $$0$i$i = $$2106; - $$07$i$i = $$1103; - while (1) { - $75 = $$0$i$i + -1 | 0; - if ($$07$i$i >>> 0 >= $75 >>> 0) break L22; - $77 = HEAP8[$$07$i$i >> 0] | 0; - HEAP8[$$07$i$i >> 0] = HEAP8[$75 >> 0] | 0; - HEAP8[$75 >> 0] = $77; - $$0$i$i = $75; - $$07$i$i = $$07$i$i + 1 | 0; - } - } while (0); - $83 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$9 >> 2] | 0) + 16 >> 2] & 127]($9) | 0; - $$0 = $$1103; - $$0100 = 0; - $$099 = 0; - while (1) { - if ($$0 >>> 0 >= $$2106 >>> 0) break; - $101 = HEAP8[((HEAP8[$57 >> 0] | 0) < 0 ? HEAP32[$7 >> 2] | 0 : $7) + $$099 >> 0] | 0; - if ($101 << 24 >> 24 > 0 & ($$0100 | 0) == ($101 << 24 >> 24 | 0)) { - $105 = HEAP32[$5 >> 2] | 0; - HEAP32[$5 >> 2] = $105 + 1; - HEAP8[$105 >> 0] = $83; - $107 = HEAP8[$57 >> 0] | 0; - $$1 = $$099 + ($$099 >>> 0 < (($107 << 24 >> 24 < 0 ? HEAP32[$60 >> 2] | 0 : $107 & 255) + -1 | 0) >>> 0 & 1) | 0; - $$1101 = 0; - } else { - $$1 = $$099; - $$1101 = $$0100; - } - $119 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$8 >> 2] | 0) + 28 >> 2] & 127]($8, HEAP8[$$0 >> 0] | 0) | 0; - $120 = HEAP32[$5 >> 2] | 0; - HEAP32[$5 >> 2] = $120 + 1; - HEAP8[$120 >> 0] = $119; - $$0 = $$0 + 1 | 0; - $$0100 = $$1101 + 1 | 0; - $$099 = $$1; - } - $88 = $3 + ($$1103 - $0) | 0; - $89 = HEAP32[$5 >> 2] | 0; - if (($88 | 0) == ($89 | 0)) $$pre$phiZ2D = $8; else { - $$0$i$i108 = $89; - $$07$i$i107 = $88; - while (1) { - $91 = $$0$i$i108 + -1 | 0; - if ($$07$i$i107 >>> 0 >= $91 >>> 0) { - $$pre$phiZ2D = $8; - break L19; + $retval$8 = $retval$7; } - $93 = HEAP8[$$07$i$i107 >> 0] | 0; - HEAP8[$$07$i$i107 >> 0] = HEAP8[$91 >> 0] | 0; - HEAP8[$91 >> 0] = $93; - $$0$i$i108 = $91; - $$07$i$i107 = $$07$i$i107 + 1 | 0; - } - } - } else { - FUNCTION_TABLE_iiiii[HEAP32[(HEAP32[$8 >> 2] | 0) + 32 >> 2] & 15]($8, $$1103, $$2106, HEAP32[$5 >> 2] | 0) | 0; - HEAP32[$5 >> 2] = (HEAP32[$5 >> 2] | 0) + ($$2106 - $$1103); - $$pre$phiZ2D = $8; - } while (0); - $$2 = $$2106; - while (1) { - if ($$2 >>> 0 >= $2 >>> 0) { - $$3 = $$2; - break; - } - $125 = HEAP8[$$2 >> 0] | 0; - if ($125 << 24 >> 24 == 46) { - label = 32; - break; + $retval$9 = $retval$8; + } else $retval$9 = 0; + $retval$10 = $retval$9; } - $137 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$$pre$phiZ2D >> 2] | 0) + 28 >> 2] & 127]($8, $125) | 0; - $138 = HEAP32[$5 >> 2] | 0; - HEAP32[$5 >> 2] = $138 + 1; - HEAP8[$138 >> 0] = $137; - $$2 = $$2 + 1 | 0; - } - if ((label | 0) == 32) { - $130 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$9 >> 2] | 0) + 12 >> 2] & 127]($9) | 0; - $131 = HEAP32[$5 >> 2] | 0; - HEAP32[$5 >> 2] = $131 + 1; - HEAP8[$131 >> 0] = $130; - $$3 = $$2 + 1 | 0; } - FUNCTION_TABLE_iiiii[HEAP32[(HEAP32[$8 >> 2] | 0) + 32 >> 2] & 15]($8, $$3, $2, HEAP32[$5 >> 2] | 0) | 0; - $148 = (HEAP32[$5 >> 2] | 0) + ($21 - $$3) | 0; - HEAP32[$5 >> 2] = $148; - HEAP32[$4 >> 2] = ($1 | 0) == ($2 | 0) ? $148 : $3 + ($1 - $0) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($7); STACKTOP = sp; - return; + return $retval$10 | 0; } -function __ZN6vision22ComputeSubpixelHessianEPfS0_RKNS_5ImageES3_S3_ii($0, $1, $2, $3, $4, $5, $6) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - $6 = $6 | 0; - var $103 = 0, $107 = 0, $11 = 0, $14 = 0, $17 = 0, $25 = 0, $30 = 0, $34 = 0, $35 = 0, $39 = 0, $42 = 0, $46 = 0, $54 = 0, $59 = 0, $63 = 0, $65 = 0, $68 = 0, $7 = 0, $72 = 0, $75 = 0, $8 = 0, $83 = 0, $88 = 0, $92 = 0, $98 = 0, sp = 0; +function __ZN6vision22ComputeSubpixelHessianEPfS0_RKNS_5ImageES3_S3_ii($H, $b, $lap0, $lap1, $lap2, $x, $y) { + $H = $H | 0; + $b = $b | 0; + $lap0 = $lap0 | 0; + $lap1 = $lap1 | 0; + $lap2 = $lap2 | 0; + $x = $x | 0; + $y = $y | 0; + var $call = 0, $call$i1$i$i = 0, $call$i1$i$i41 = 0, $call$i1$i$i55 = 0, $call$i1$i$i69 = 0, $call$i2$i$i = 0, $call$i2$i$i44 = 0, $call$i2$i$i58 = 0, $call$i2$i$i72 = 0, $call16 = 0, $call18 = 0, $call26 = 0, $call4 = 0, $call40 = 0, $call50 = 0, $call60 = 0, $call69 = 0, $call80 = 0, $conv = 0, $conv7 = 0, $ref$tmp$i$i64 = 0, $shr = 0, $shr31 = 0, $shr46 = 0, $shr56 = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $7 = sp; - $8 = __ZNK6vision5Image5widthEv($2) | 0; - $11 = ($8 | 0) == (__ZNK6vision5Image5widthEv($3) | 0) & 1; - do if ((__ZNK6vision5Image5widthEv($4) | 0) == ($11 | 0)) { - $14 = __ZNK6vision5Image6heightEv($2) | 0; - $17 = ($14 | 0) == (__ZNK6vision5Image6heightEv($3) | 0) & 1; - if ((__ZNK6vision5Image6heightEv($4) | 0) == ($17 | 0)) { - __ZN6vision32ComputeSubpixelHessianSameOctaveEPfS0_RKNS_5ImageES3_S3_ii($0, $1, $2, $3, $4, $5, $6); + $ref$tmp$i$i64 = sp; + $call = __ZNK6vision5Image5widthEv($lap0) | 0; + $conv = ($call | 0) == (__ZNK6vision5Image5widthEv($lap1) | 0) & 1; + do if ((__ZNK6vision5Image5widthEv($lap2) | 0) == ($conv | 0)) { + $call4 = __ZNK6vision5Image6heightEv($lap0) | 0; + $conv7 = ($call4 | 0) == (__ZNK6vision5Image6heightEv($lap1) | 0) & 1; + if ((__ZNK6vision5Image6heightEv($lap2) | 0) == ($conv7 | 0)) { + __ZN6vision32ComputeSubpixelHessianSameOctaveEPfS0_RKNS_5ImageES3_S3_ii($H, $b, $lap0, $lap1, $lap2, $x, $y); break; } else { - $25 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 28529) | 0, 28600) | 0, 39072) | 0, 466) | 0, 39079) | 0, 28693) | 0; - __ZNKSt3__28ios_base6getlocEv($7, $25 + (HEAP32[(HEAP32[$25 >> 2] | 0) + -12 >> 2] | 0) | 0); - $30 = __ZNKSt3__26locale9use_facetERNS0_2idE($7, 66512) | 0; - $34 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$30 >> 2] | 0) + 28 >> 2] & 127]($30, 10) | 0; - __ZNSt3__26localeD2Ev($7); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($25, $34) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($25) | 0; + $call16 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 28605) | 0, 28676) | 0, 39794) | 0, 466) | 0, 39801) | 0, 28807) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i$i64, $call16 + (HEAP32[(HEAP32[$call16 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i$i = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i$i64, 67360) | 0; + $call$i2$i$i = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i$i >> 2] | 0) + 28 >> 2] & 127]($call$i1$i$i, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i$i64); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call16, $call$i2$i$i) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call16) | 0; _abort(); } } else { - $35 = __ZNK6vision5Image5widthEv($2) | 0; - if (($35 | 0) == (__ZNK6vision5Image5widthEv($3) | 0) ? ($39 = (__ZNK6vision5Image5widthEv($3) | 0) >>> 1, ($39 | 0) == (__ZNK6vision5Image5widthEv($4) | 0)) : 0) { - $42 = __ZNK6vision5Image6heightEv($2) | 0; - if (($42 | 0) == (__ZNK6vision5Image6heightEv($3) | 0) ? ($46 = (__ZNK6vision5Image6heightEv($3) | 0) >>> 1, ($46 | 0) == (__ZNK6vision5Image6heightEv($4) | 0)) : 0) { - __ZN6vision36ComputeSubpixelHessianFineOctavePairEPfS0_RKNS_5ImageES3_S3_ii($0, $1, $2, $3, $4, $5, $6); - break; - } - $54 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 28725) | 0, 28600) | 0, 39072) | 0, 469) | 0, 39079) | 0, 28693) | 0; - __ZNKSt3__28ios_base6getlocEv($7, $54 + (HEAP32[(HEAP32[$54 >> 2] | 0) + -12 >> 2] | 0) | 0); - $59 = __ZNKSt3__26locale9use_facetERNS0_2idE($7, 66512) | 0; - $63 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$59 >> 2] | 0) + 28 >> 2] & 127]($59, 10) | 0; - __ZNSt3__26localeD2Ev($7); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($54, $63) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($54) | 0; + $call18 = __ZNK6vision5Image5widthEv($lap0) | 0; + if (($call18 | 0) == (__ZNK6vision5Image5widthEv($lap1) | 0) ? ($shr = (__ZNK6vision5Image5widthEv($lap1) | 0) >>> 1, ($shr | 0) == (__ZNK6vision5Image5widthEv($lap2) | 0)) : 0) { + $call26 = __ZNK6vision5Image6heightEv($lap0) | 0; + if (($call26 | 0) == (__ZNK6vision5Image6heightEv($lap1) | 0) ? ($shr31 = (__ZNK6vision5Image6heightEv($lap1) | 0) >>> 1, ($shr31 | 0) == (__ZNK6vision5Image6heightEv($lap2) | 0)) : 0) { + __ZN6vision36ComputeSubpixelHessianFineOctavePairEPfS0_RKNS_5ImageES3_S3_ii($H, $b, $lap0, $lap1, $lap2, $x, $y); + break; + } + $call40 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 28839) | 0, 28676) | 0, 39794) | 0, 469) | 0, 39801) | 0, 28807) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i$i64, $call40 + (HEAP32[(HEAP32[$call40 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i$i41 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i$i64, 67360) | 0; + $call$i2$i$i44 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i$i41 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i$i41, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i$i64); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call40, $call$i2$i$i44) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call40) | 0; _abort(); } - $65 = (__ZNK6vision5Image5widthEv($2) | 0) >>> 1; - if (($65 | 0) == (__ZNK6vision5Image5widthEv($3) | 0) ? ($68 = __ZNK6vision5Image5widthEv($3) | 0, ($68 | 0) == (__ZNK6vision5Image5widthEv($4) | 0)) : 0) { - $72 = (__ZNK6vision5Image5widthEv($2) | 0) >>> 1; - if (($72 | 0) == (__ZNK6vision5Image5widthEv($3) | 0) ? ($75 = __ZNK6vision5Image5widthEv($3) | 0, ($75 | 0) == (__ZNK6vision5Image5widthEv($4) | 0)) : 0) { - __ZN6vision38ComputeSubpixelHessianCoarseOctavePairEPfS0_RKNS_5ImageES3_S3_ii($0, $1, $2, $3, $4, $5, $6); + $shr46 = (__ZNK6vision5Image5widthEv($lap0) | 0) >>> 1; + if (($shr46 | 0) == (__ZNK6vision5Image5widthEv($lap1) | 0) ? ($call50 = __ZNK6vision5Image5widthEv($lap1) | 0, ($call50 | 0) == (__ZNK6vision5Image5widthEv($lap2) | 0)) : 0) { + $shr56 = (__ZNK6vision5Image5widthEv($lap0) | 0) >>> 1; + if (($shr56 | 0) == (__ZNK6vision5Image5widthEv($lap1) | 0) ? ($call60 = __ZNK6vision5Image5widthEv($lap1) | 0, ($call60 | 0) == (__ZNK6vision5Image5widthEv($lap2) | 0)) : 0) { + __ZN6vision38ComputeSubpixelHessianCoarseOctavePairEPfS0_RKNS_5ImageES3_S3_ii($H, $b, $lap0, $lap1, $lap2, $x, $y); break; } - $83 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 28822) | 0, 28600) | 0, 39072) | 0, 472) | 0, 39079) | 0, 28693) | 0; - __ZNKSt3__28ios_base6getlocEv($7, $83 + (HEAP32[(HEAP32[$83 >> 2] | 0) + -12 >> 2] | 0) | 0); - $88 = __ZNKSt3__26locale9use_facetERNS0_2idE($7, 66512) | 0; - $92 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$88 >> 2] | 0) + 28 >> 2] & 127]($88, 10) | 0; - __ZNSt3__26localeD2Ev($7); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($83, $92) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($83) | 0; + $call69 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 28936) | 0, 28676) | 0, 39794) | 0, 472) | 0, 39801) | 0, 28807) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i$i64, $call69 + (HEAP32[(HEAP32[$call69 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i$i55 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i$i64, 67360) | 0; + $call$i2$i$i58 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i$i55 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i$i55, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i$i64); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call69, $call$i2$i$i58) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call69) | 0; _abort(); } - $98 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 35204) | 0, 28600) | 0, 39072) | 0, 475) | 0, 39079) | 0, 28915) | 0; - __ZNKSt3__28ios_base6getlocEv($7, $98 + (HEAP32[(HEAP32[$98 >> 2] | 0) + -12 >> 2] | 0) | 0); - $103 = __ZNKSt3__26locale9use_facetERNS0_2idE($7, 66512) | 0; - $107 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$103 >> 2] | 0) + 28 >> 2] & 127]($103, 10) | 0; - __ZNSt3__26localeD2Ev($7); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($98, $107) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($98) | 0; + $call80 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 35584) | 0, 28676) | 0, 39794) | 0, 475) | 0, 39801) | 0, 29029) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i$i64, $call80 + (HEAP32[(HEAP32[$call80 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i$i69 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i$i64, 67360) | 0; + $call$i2$i$i72 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i$i69 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i$i69, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i$i64); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call80, $call$i2$i$i72) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call80) | 0; _abort(); } while (0); STACKTOP = sp; return 1; } -function __ZN6vision20BinaryFeatureMatcherILi96EE5matchEPKNS_18BinaryFeatureStoreES4_RKNS_28BinaryHierarchicalClusteringILi96EEE($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $$0 = 0, $$064 = 0, $$065 = 0, $$066 = 0, $$067 = 0, $$070 = 0, $$2 = 0, $$269 = 0, $$272 = 0, $110 = 0, $115 = 0, $119 = 0, $12 = 0, $13 = 0, $19 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $28 = 0, $34 = 0, $38 = 0, $4 = 0, $45 = 0, $58 = 0, $6 = 0, $63 = 0, $67 = 0, $69 = 0, $72 = 0, $77 = 0, $78 = 0, $89 = 0, $92 = 0, $97 = 0, $98 = 0, label = 0, sp = 0; +function _jpeg_idct_7x14($cinfo, $compptr, $coef_block, $output_buf, $output_col) { + $cinfo = $cinfo | 0; + $compptr = $compptr | 0; + $coef_block = $coef_block | 0; + $output_buf = $output_buf | 0; + $output_col = $output_col | 0; + var $0 = 0, $29 = 0, $30 = 0, $31 = 0, $35 = 0, $36 = 0, $37 = 0, $add = 0, $add$ptr = 0, $add$ptr139 = 0, $add10 = 0, $add154 = 0, $add157 = 0, $add160 = 0, $add163 = 0, $add177 = 0, $add180 = 0, $add183 = 0, $add26 = 0, $add32 = 0, $add34 = 0, $add36 = 0, $add55 = 0, $add69 = 0, $add76 = 0, $add79 = 0, $add85 = 0, $add88 = 0, $add9 = 0, $ctr$0225 = 0, $ctr$1221 = 0, $inptr$0222 = 0, $mul147 = 0, $mul149 = 0, $mul170 = 0, $mul172 = 0, $mul176 = 0, $mul179 = 0, $mul18 = 0, $mul22 = 0, $mul24 = 0, $mul41 = 0, $mul45 = 0, $mul49 = 0, $mul5 = 0, $mul53 = 0, $mul57 = 0, $mul58 = 0, $mul63 = 0, $mul81 = 0, $quantptr$0223 = 0, $shl142 = 0, $shl54 = 0, $shl90 = 0, $shr = 0, $sub = 0, $sub153 = 0, $sub28 = 0, $sub31 = 0, $sub33 = 0, $sub35 = 0, $sub37 = 0, $sub62 = 0, $sub66 = 0, $sub68 = 0, $sub73 = 0, $workspace = 0, $wsptr$0224 = 0, $wsptr$1220 = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $4 = sp; - $6 = $0 + 4 | 0; - HEAP32[$6 >> 2] = HEAP32[$0 >> 2]; - do if ((__ZNK6vision18BinaryFeatureStore4sizeEv($1) | 0) != 0 ? (__ZNK6vision18BinaryFeatureStore4sizeEv($2) | 0) != 0 : 0) { - __ZNSt3__26vectorIN6vision7match_tENS_9allocatorIS2_EEE7reserveEm($0, __ZNK6vision18BinaryFeatureStore4sizeEv($1) | 0); - $12 = $0 + 8 | 0; - $13 = $0 + 12 | 0; - $$064 = 0; - L4 : while (1) { - if ($$064 >>> 0 >= (__ZNK6vision18BinaryFeatureStore4sizeEv($1) | 0) >>> 0) break; - $22 = __ZNK6vision18BinaryFeatureStore7featureEm($1, $$064) | 0; - __ZNK6vision28BinaryHierarchicalClusteringILi96EE5queryEPKh($3, $22) | 0; - $23 = __ZNK6vision18BinaryFeatureStore5pointEm($1, $$064) | 0; - $24 = __ZNK6vision28BinaryHierarchicalClusteringILi96EE12reverseIndexEv($3) | 0; - $25 = $24 + 4 | 0; - $26 = $23 + 16 | 0; - $$065 = 0; - $$066 = -1; - $$067 = -1; - $$070 = 2147483647; - while (1) { - $28 = HEAP32[$24 >> 2] | 0; - if ($$065 >>> 0 >= (HEAP32[$25 >> 2] | 0) - $28 >> 2 >>> 0) break; - $34 = HEAP8[$26 >> 0] | 0; - $38 = (__ZNK6vision18BinaryFeatureStore5pointEm($2, HEAP32[$28 + ($$065 << 2) >> 2] | 0) | 0) + 16 | 0; - do if ($34 << 24 >> 24 == (HEAP8[$38 >> 0] | 0)) { - $45 = __ZN6vision15HammingDistanceILi96EEEjPKhS2_($22, __ZNK6vision18BinaryFeatureStore7featureEm($2, HEAP32[(HEAP32[$24 >> 2] | 0) + ($$065 << 2) >> 2] | 0) | 0) | 0; - if ($45 >>> 0 < $$066 >>> 0) { - $$2 = $45; - $$269 = $$066; - $$272 = HEAP32[(HEAP32[$24 >> 2] | 0) + ($$065 << 2) >> 2] | 0; - break; - } else { - $$2 = $$066; - $$269 = $45 >>> 0 < $$067 >>> 0 ? $45 : $$067; - $$272 = $$070; - break; - } - } else { - $$2 = $$066; - $$269 = $$067; - $$272 = $$070; - } while (0); - $$065 = $$065 + 1 | 0; - $$066 = $$2; - $$067 = $$269; - $$070 = $$272; - } - do if (($$066 | 0) != -1) { - if (($$070 | 0) == -1) { - label = 15; - break L4; - } - if (($$067 | 0) == -1) { - __ZN6vision7match_tC2Eii($4, $$064, $$070); - $69 = HEAP32[$6 >> 2] | 0; - if ($69 >>> 0 < (HEAP32[$12 >> 2] | 0) >>> 0) { - $72 = $4; - $77 = HEAP32[$72 + 4 >> 2] | 0; - $78 = $69; - HEAP32[$78 >> 2] = HEAP32[$72 >> 2]; - HEAP32[$78 + 4 >> 2] = $77; - HEAP32[$6 >> 2] = (HEAP32[$6 >> 2] | 0) + 8; - } else __ZNSt3__26vectorIN6vision7match_tENS_9allocatorIS2_EEE21__push_back_slow_pathIS2_EEvOT_($0, $4); - break; - } - if (+($$066 >>> 0) / +($$067 >>> 0) < +HEAPF32[$13 >> 2]) { - __ZN6vision7match_tC2Eii($4, $$064, $$070); - $89 = HEAP32[$6 >> 2] | 0; - if ($89 >>> 0 < (HEAP32[$12 >> 2] | 0) >>> 0) { - $92 = $4; - $97 = HEAP32[$92 + 4 >> 2] | 0; - $98 = $89; - HEAP32[$98 >> 2] = HEAP32[$92 >> 2]; - HEAP32[$98 + 4 >> 2] = $97; - HEAP32[$6 >> 2] = (HEAP32[$6 >> 2] | 0) + 8; - } else __ZNSt3__26vectorIN6vision7match_tENS_9allocatorIS2_EEE21__push_back_slow_pathIS2_EEvOT_($0, $4); - } - } while (0); - $$064 = $$064 + 1 | 0; - } - if ((label | 0) == 15) { - $58 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 35348) | 0, 35229) | 0, 39072) | 0, 160) | 0, 39079) | 0, 35420) | 0; - __ZNKSt3__28ios_base6getlocEv($4, $58 + (HEAP32[(HEAP32[$58 >> 2] | 0) + -12 >> 2] | 0) | 0); - $63 = __ZNKSt3__26locale9use_facetERNS0_2idE($4, 66512) | 0; - $67 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$63 >> 2] | 0) + 28 >> 2] & 127]($63, 10) | 0; - __ZNSt3__26localeD2Ev($4); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($58, $67) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($58) | 0; - _abort(); + STACKTOP = STACKTOP + 400 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(400); + $workspace = sp; + $0 = HEAP32[$cinfo + 336 >> 2] | 0; + $ctr$0225 = 0; + $inptr$0222 = $coef_block; + $quantptr$0223 = HEAP32[$compptr + 84 >> 2] | 0; + $wsptr$0224 = $workspace; + while (1) { + $add = Math_imul(HEAP16[$inptr$0222 >> 1] << 13, HEAP32[$quantptr$0223 >> 2] | 0) | 0 | 1024; + $mul5 = Math_imul(HEAP32[$quantptr$0223 + 128 >> 2] | 0, HEAP16[$inptr$0222 + 64 >> 1] | 0) | 0; + $add9 = ($mul5 * 10438 | 0) + $add | 0; + $add10 = ($mul5 * 2578 | 0) + $add | 0; + $sub = (Math_imul($mul5, -7223) | 0) + $add | 0; + $shr = (Math_imul($mul5, -11586) | 0) + $add >> 11; + $mul18 = Math_imul(HEAP32[$quantptr$0223 + 64 >> 2] | 0, HEAP16[$inptr$0222 + 32 >> 1] | 0) | 0; + $mul22 = Math_imul(HEAP32[$quantptr$0223 + 192 >> 2] | 0, HEAP16[$inptr$0222 + 96 >> 1] | 0) | 0; + $mul24 = ($mul22 + $mul18 | 0) * 9058 | 0; + $add26 = $mul24 + ($mul18 * 2237 | 0) | 0; + $sub28 = $mul24 + (Math_imul($mul22, -14084) | 0) | 0; + $sub31 = (Math_imul($mul22, -11295) | 0) + ($mul18 * 5027 | 0) | 0; + $add32 = $add26 + $add9 | 0; + $sub33 = $add9 - $add26 | 0; + $add34 = $sub28 + $add10 | 0; + $sub35 = $add10 - $sub28 | 0; + $add36 = $sub31 + $sub | 0; + $sub37 = $sub - $sub31 | 0; + $mul41 = Math_imul(HEAP32[$quantptr$0223 + 32 >> 2] | 0, HEAP16[$inptr$0222 + 16 >> 1] | 0) | 0; + $mul45 = Math_imul(HEAP32[$quantptr$0223 + 96 >> 2] | 0, HEAP16[$inptr$0222 + 48 >> 1] | 0) | 0; + $mul49 = Math_imul(HEAP32[$quantptr$0223 + 160 >> 2] | 0, HEAP16[$inptr$0222 + 80 >> 1] | 0) | 0; + $mul53 = Math_imul(HEAP32[$quantptr$0223 + 224 >> 2] | 0, HEAP16[$inptr$0222 + 112 >> 1] | 0) | 0; + $shl54 = $mul53 << 13; + $add55 = $mul49 + $mul41 | 0; + $mul57 = ($mul45 + $mul41 | 0) * 10935 | 0; + $mul58 = $add55 * 9810 | 0; + $sub62 = $mul57 + (Math_imul($mul41, -9232) | 0) + $mul58 + $shl54 | 0; + $mul63 = $add55 * 6164 | 0; + $sub66 = $mul41 - $mul45 | 0; + $sub68 = ($sub66 * 3826 | 0) - $shl54 | 0; + $add69 = $mul63 + (Math_imul($mul41, -8693) | 0) + $sub68 | 0; + $sub73 = (Math_imul($mul49 + $mul45 | 0, -1297) | 0) - $shl54 | 0; + $add76 = $mul57 + (Math_imul($mul45, -3474) | 0) + $sub73 | 0; + $add79 = $mul58 + (Math_imul($mul49, -19447) | 0) + $sub73 | 0; + $mul81 = ($mul49 - $mul45 | 0) * 11512 | 0; + $add85 = $mul81 + (Math_imul($mul49, -13850) | 0) + $mul63 + $shl54 | 0; + $add88 = $mul81 + ($mul45 * 5529 | 0) + $sub68 | 0; + $shl90 = $sub66 - $mul49 + $mul53 << 2; + HEAP32[$wsptr$0224 >> 2] = $sub62 + $add32 >> 11; + HEAP32[$wsptr$0224 + 364 >> 2] = $add32 - $sub62 >> 11; + HEAP32[$wsptr$0224 + 28 >> 2] = $add76 + $add34 >> 11; + HEAP32[$wsptr$0224 + 336 >> 2] = $add34 - $add76 >> 11; + HEAP32[$wsptr$0224 + 56 >> 2] = $add79 + $add36 >> 11; + HEAP32[$wsptr$0224 + 308 >> 2] = $add36 - $add79 >> 11; + HEAP32[$wsptr$0224 + 84 >> 2] = $shl90 + $shr; + HEAP32[$wsptr$0224 + 280 >> 2] = $shr - $shl90; + HEAP32[$wsptr$0224 + 112 >> 2] = $add85 + $sub37 >> 11; + HEAP32[$wsptr$0224 + 252 >> 2] = $sub37 - $add85 >> 11; + HEAP32[$wsptr$0224 + 140 >> 2] = $add88 + $sub35 >> 11; + HEAP32[$wsptr$0224 + 224 >> 2] = $sub35 - $add88 >> 11; + HEAP32[$wsptr$0224 + 168 >> 2] = $add69 + $sub33 >> 11; + HEAP32[$wsptr$0224 + 196 >> 2] = $sub33 - $add69 >> 11; + $ctr$0225 = $ctr$0225 + 1 | 0; + if (($ctr$0225 | 0) == 7) break; else { + $inptr$0222 = $inptr$0222 + 2 | 0; + $quantptr$0223 = $quantptr$0223 + 4 | 0; + $wsptr$0224 = $wsptr$0224 + 4 | 0; + } + } + $add$ptr = $0 + -384 | 0; + $ctr$1221 = 0; + $wsptr$1220 = $workspace; + while (1) { + $add$ptr139 = (HEAP32[$output_buf + ($ctr$1221 << 2) >> 2] | 0) + $output_col | 0; + $shl142 = (HEAP32[$wsptr$1220 >> 2] << 13) + 134348800 | 0; + $29 = HEAP32[$wsptr$1220 + 8 >> 2] | 0; + $30 = HEAP32[$wsptr$1220 + 16 >> 2] | 0; + $31 = HEAP32[$wsptr$1220 + 24 >> 2] | 0; + $mul147 = ($30 - $31 | 0) * 7223 | 0; + $mul149 = ($29 - $30 | 0) * 2578 | 0; + $sub153 = (Math_imul($30, -15083) | 0) + $shl142 + $mul149 + $mul147 | 0; + $add154 = $31 + $29 | 0; + $add157 = ($add154 * 10438 | 0) + $shl142 | 0; + $add160 = $mul147 + (Math_imul($31, -637) | 0) + $add157 | 0; + $add163 = $mul149 + (Math_imul($29, -20239) | 0) + $add157 | 0; + $35 = HEAP32[$wsptr$1220 + 4 >> 2] | 0; + $36 = HEAP32[$wsptr$1220 + 12 >> 2] | 0; + $37 = HEAP32[$wsptr$1220 + 20 >> 2] | 0; + $mul170 = ($36 + $35 | 0) * 7663 | 0; + $mul172 = ($35 - $36 | 0) * 1395 | 0; + $mul176 = Math_imul($37 + $36 | 0, -11295) | 0; + $add177 = $mul170 + $mul172 + $mul176 | 0; + $mul179 = ($37 + $35 | 0) * 5027 | 0; + $add180 = $mul170 - $mul172 + $mul179 | 0; + $add183 = $mul179 + ($37 * 15326 | 0) + $mul176 | 0; + HEAP8[$add$ptr139 >> 0] = HEAP8[$add$ptr + (($add180 + $add160 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr139 + 6 >> 0] = HEAP8[$add$ptr + (($add160 - $add180 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr139 + 1 >> 0] = HEAP8[$add$ptr + (($add177 + $sub153 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr139 + 5 >> 0] = HEAP8[$add$ptr + (($sub153 - $add177 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr139 + 2 >> 0] = HEAP8[$add$ptr + (($add183 + $add163 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr139 + 4 >> 0] = HEAP8[$add$ptr + (($add163 - $add183 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr139 + 3 >> 0] = HEAP8[$add$ptr + (((($30 - $add154 | 0) * 11585 | 0) + $shl142 | 0) >>> 18 & 1023) >> 0] | 0; + $ctr$1221 = $ctr$1221 + 1 | 0; + if (($ctr$1221 | 0) == 14) break; else $wsptr$1220 = $wsptr$1220 + 28 | 0; + } + STACKTOP = sp; + return; +} + +function _jpeg_idct_10x10($cinfo, $compptr, $coef_block, $output_buf, $output_col) { + $cinfo = $cinfo | 0; + $compptr = $compptr | 0; + $coef_block = $coef_block | 0; + $output_buf = $output_buf | 0; + $output_col = $output_col | 0; + var $0 = 0, $23 = 0, $26 = 0, $27 = 0, $29 = 0, $30 = 0, $32 = 0, $add = 0, $add$ptr = 0, $add$ptr107 = 0, $add114 = 0, $add124 = 0, $add127 = 0, $add129 = 0, $add136 = 0, $add140 = 0, $add143 = 0, $add146 = 0, $add159 = 0, $add23 = 0, $add26 = 0, $add28 = 0, $add46 = 0, $add51 = 0, $add54 = 0, $add57 = 0, $add70 = 0, $add8 = 0, $ctr$0214 = 0, $ctr$1210 = 0, $inptr$0211 = 0, $mul122 = 0, $mul138 = 0, $mul139 = 0, $mul147 = 0, $mul15 = 0, $mul19 = 0, $mul21 = 0, $mul33 = 0, $mul37 = 0, $mul41 = 0, $mul45 = 0, $mul48 = 0, $mul5 = 0, $mul50 = 0, $mul58 = 0, $quantptr$0212 = 0, $shl110 = 0, $shl134 = 0, $shl49 = 0, $shl64 = 0, $shr = 0, $sub = 0, $sub115 = 0, $sub118 = 0, $sub126 = 0, $sub128 = 0, $sub130 = 0, $sub137 = 0, $sub150 = 0, $sub153 = 0, $sub156 = 0, $sub25 = 0, $sub27 = 0, $sub29 = 0, $sub47 = 0, $sub61 = 0, $sub67 = 0, $workspace = 0, $wsptr$0213 = 0, $wsptr$1209 = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 320 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(320); + $workspace = sp; + $0 = HEAP32[$cinfo + 336 >> 2] | 0; + $ctr$0214 = 0; + $inptr$0211 = $coef_block; + $quantptr$0212 = HEAP32[$compptr + 84 >> 2] | 0; + $wsptr$0213 = $workspace; + while (1) { + $add = Math_imul(HEAP16[$inptr$0211 >> 1] << 13, HEAP32[$quantptr$0212 >> 2] | 0) | 0 | 1024; + $mul5 = Math_imul(HEAP32[$quantptr$0212 + 128 >> 2] | 0, HEAP16[$inptr$0211 + 64 >> 1] | 0) | 0; + $add8 = ($mul5 * 9373 | 0) + $add | 0; + $sub = (Math_imul($mul5, -3580) | 0) + $add | 0; + $shr = (Math_imul($mul5, -11586) | 0) + $add >> 11; + $mul15 = Math_imul(HEAP32[$quantptr$0212 + 64 >> 2] | 0, HEAP16[$inptr$0211 + 32 >> 1] | 0) | 0; + $mul19 = Math_imul(HEAP32[$quantptr$0212 + 192 >> 2] | 0, HEAP16[$inptr$0211 + 96 >> 1] | 0) | 0; + $mul21 = ($mul19 + $mul15 | 0) * 6810 | 0; + $add23 = $mul21 + ($mul15 * 4209 | 0) | 0; + $sub25 = $mul21 + (Math_imul($mul19, -17828) | 0) | 0; + $add26 = $add23 + $add8 | 0; + $sub27 = $add8 - $add23 | 0; + $add28 = $sub25 + $sub | 0; + $sub29 = $sub - $sub25 | 0; + $mul33 = Math_imul(HEAP32[$quantptr$0212 + 32 >> 2] | 0, HEAP16[$inptr$0211 + 16 >> 1] | 0) | 0; + $mul37 = Math_imul(HEAP32[$quantptr$0212 + 96 >> 2] | 0, HEAP16[$inptr$0211 + 48 >> 1] | 0) | 0; + $mul41 = Math_imul(HEAP32[$quantptr$0212 + 160 >> 2] | 0, HEAP16[$inptr$0211 + 80 >> 1] | 0) | 0; + $mul45 = Math_imul(HEAP32[$quantptr$0212 + 224 >> 2] | 0, HEAP16[$inptr$0211 + 112 >> 1] | 0) | 0; + $add46 = $mul45 + $mul37 | 0; + $sub47 = $mul37 - $mul45 | 0; + $mul48 = $sub47 * 2531 | 0; + $shl49 = $mul41 << 13; + $mul50 = $add46 * 7791 | 0; + $add51 = $mul48 + $shl49 | 0; + $add54 = $mul50 + ($mul33 * 11443 | 0) + $add51 | 0; + $add57 = ($mul33 * 1812 | 0) - $mul50 + $add51 | 0; + $mul58 = $add46 * 4815 | 0; + $sub61 = $shl49 - $mul48 - ($sub47 << 12) | 0; + $shl64 = $mul33 - $mul41 - $sub47 << 2; + $sub67 = ($mul33 * 10323 | 0) - $mul58 - $sub61 | 0; + $add70 = $sub61 + (($mul33 * 5260 | 0) - $mul58) | 0; + HEAP32[$wsptr$0213 >> 2] = $add54 + $add26 >> 11; + HEAP32[$wsptr$0213 + 288 >> 2] = $add26 - $add54 >> 11; + HEAP32[$wsptr$0213 + 32 >> 2] = $sub67 + $add28 >> 11; + HEAP32[$wsptr$0213 + 256 >> 2] = $add28 - $sub67 >> 11; + HEAP32[$wsptr$0213 + 64 >> 2] = $shl64 + $shr; + HEAP32[$wsptr$0213 + 224 >> 2] = $shr - $shl64; + HEAP32[$wsptr$0213 + 96 >> 2] = $add70 + $sub29 >> 11; + HEAP32[$wsptr$0213 + 192 >> 2] = $sub29 - $add70 >> 11; + HEAP32[$wsptr$0213 + 128 >> 2] = $add57 + $sub27 >> 11; + HEAP32[$wsptr$0213 + 160 >> 2] = $sub27 - $add57 >> 11; + $ctr$0214 = $ctr$0214 + 1 | 0; + if (($ctr$0214 | 0) == 8) break; else { + $inptr$0211 = $inptr$0211 + 2 | 0; + $quantptr$0212 = $quantptr$0212 + 4 | 0; + $wsptr$0213 = $wsptr$0213 + 4 | 0; + } + } + $add$ptr = $0 + -384 | 0; + $ctr$1210 = 0; + $wsptr$1209 = $workspace; + while (1) { + $add$ptr107 = (HEAP32[$output_buf + ($ctr$1210 << 2) >> 2] | 0) + $output_col | 0; + $shl110 = (HEAP32[$wsptr$1209 >> 2] << 13) + 134348800 | 0; + $23 = HEAP32[$wsptr$1209 + 16 >> 2] | 0; + $add114 = $shl110 + ($23 * 9373 | 0) | 0; + $sub115 = $shl110 + (Math_imul($23, -3580) | 0) | 0; + $sub118 = $shl110 + (Math_imul($23, -11586) | 0) | 0; + $26 = HEAP32[$wsptr$1209 + 8 >> 2] | 0; + $27 = HEAP32[$wsptr$1209 + 24 >> 2] | 0; + $mul122 = ($27 + $26 | 0) * 6810 | 0; + $add124 = $mul122 + ($26 * 4209 | 0) | 0; + $sub126 = $mul122 + (Math_imul($27, -17828) | 0) | 0; + $add127 = $add124 + $add114 | 0; + $sub128 = $add114 - $add124 | 0; + $add129 = $sub126 + $sub115 | 0; + $sub130 = $sub115 - $sub126 | 0; + $29 = HEAP32[$wsptr$1209 + 4 >> 2] | 0; + $30 = HEAP32[$wsptr$1209 + 12 >> 2] | 0; + $shl134 = HEAP32[$wsptr$1209 + 20 >> 2] << 13; + $32 = HEAP32[$wsptr$1209 + 28 >> 2] | 0; + $add136 = $32 + $30 | 0; + $sub137 = $30 - $32 | 0; + $mul138 = $sub137 * 2531 | 0; + $mul139 = $add136 * 7791 | 0; + $add140 = $mul138 + $shl134 | 0; + $add143 = $mul139 + ($29 * 11443 | 0) + $add140 | 0; + $add146 = ($29 * 1812 | 0) - $mul139 + $add140 | 0; + $mul147 = $add136 * 4815 | 0; + $sub150 = $shl134 - $mul138 - ($sub137 << 12) | 0; + $sub153 = ($29 - $sub137 << 13) - $shl134 | 0; + $sub156 = ($29 * 10323 | 0) - $mul147 - $sub150 | 0; + $add159 = $sub150 + (($29 * 5260 | 0) - $mul147) | 0; + HEAP8[$add$ptr107 >> 0] = HEAP8[$add$ptr + (($add143 + $add127 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr107 + 9 >> 0] = HEAP8[$add$ptr + (($add127 - $add143 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr107 + 1 >> 0] = HEAP8[$add$ptr + (($sub156 + $add129 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr107 + 8 >> 0] = HEAP8[$add$ptr + (($add129 - $sub156 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr107 + 2 >> 0] = HEAP8[$add$ptr + (($sub153 + $sub118 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr107 + 7 >> 0] = HEAP8[$add$ptr + (($sub118 - $sub153 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr107 + 3 >> 0] = HEAP8[$add$ptr + (($add159 + $sub130 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr107 + 6 >> 0] = HEAP8[$add$ptr + (($sub130 - $add159 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr107 + 4 >> 0] = HEAP8[$add$ptr + (($add146 + $sub128 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr107 + 5 >> 0] = HEAP8[$add$ptr + (($sub128 - $add146 | 0) >>> 18 & 1023) >> 0] | 0; + $ctr$1210 = $ctr$1210 + 1 | 0; + if (($ctr$1210 | 0) == 10) break; else $wsptr$1209 = $wsptr$1209 + 32 | 0; + } + STACKTOP = sp; + return; +} + +function __ZN6vision21ComputePolarGradientsEPfPKfmm($gradient, $im, $width, $height) { + $gradient = $gradient | 0; + $im = $im | 0; + $width = $width | 0; + $height = $height | 0; + var $1 = 0.0, $12 = 0.0, $14 = 0.0, $16 = 0.0, $21 = 0.0, $26 = 0.0, $3 = 0.0, $31 = 0.0, $32 = 0.0, $35 = 0.0, $4 = 0.0, $40 = 0.0, $7 = 0.0, $add$ptr = 0, $add$ptr$pn = 0, $add$ptr129 = 0, $add$ptr129$pn = 0, $arrayidx = 0, $arrayidx128 = 0, $arrayidx130 = 0, $arrayidx15 = 0, $arrayidx154 = 0, $arrayidx59 = 0, $arrayidx83 = 0, $col$0 = 0, $col149$0 = 0, $col78$0 = 0, $conv114 = 0.0, $conv139 = 0.0, $conv163 = 0.0, $conv185 = 0.0, $conv24 = 0.0, $conv43 = 0.0, $conv68 = 0.0, $conv7 = 0.0, $conv92 = 0.0, $gradient$addr$0 = 0, $gradient$addr$0$pn = 0, $gradient$addr$1 = 0, $gradient$addr$1$pn = 0, $gradient$addr$2 = 0, $gradient$addr$3 = 0, $gradient$pn = 0, $p_ptr$0 = 0, $p_ptr$1 = 0, $p_ptr$2 = 0, $p_ptr$3 = 0, $pm1_ptr$1 = 0, $pm1_ptr$1$pn = 0, $pm1_ptr$2 = 0, $pm1_ptr$3 = 0, $pp1_ptr$0 = 0, $pp1_ptr$1 = 0, $pp1_ptr$1$pn = 0, $pp1_ptr$2 = 0, $row$0 = 0, $sub = 0, $sub1 = 0, $sub107 = 0.0, $sub110 = 0.0, $sub132 = 0.0, $sub135 = 0.0, $sub156 = 0.0, $sub159 = 0.0, $sub17 = 0.0, $sub178 = 0.0, $sub181 = 0.0, $sub20 = 0.0, $sub3 = 0.0, $sub36 = 0.0, $sub39 = 0.0, $sub6 = 0.0, $sub61 = 0.0, $sub64 = 0.0, $sub85 = 0.0, $sub88 = 0.0; + $sub = $width + -1 | 0; + $add$ptr = $im + ($width << 2) | 0; + $arrayidx = $im + 4 | 0; + $1 = +HEAPF32[$im >> 2]; + $sub3 = +HEAPF32[$arrayidx >> 2] - $1; + $sub6 = +HEAPF32[$add$ptr >> 2] - $1; + $conv7 = +Math_atan2(+$sub6, +$sub3) + 3.141592653589793; + HEAPF32[$gradient >> 2] = $conv7; + $3 = +Math_sqrt(+($sub3 * $sub3 + $sub6 * $sub6)); + HEAPF32[$gradient + 4 >> 2] = $3; + $add$ptr$pn = $add$ptr; + $col$0 = 1; + $gradient$pn = $gradient; + $p_ptr$0 = $arrayidx; + while (1) { + $gradient$addr$0 = $gradient$pn + 8 | 0; + $pp1_ptr$0 = $add$ptr$pn + 4 | 0; + if ($col$0 >>> 0 >= $sub >>> 0) break; + $arrayidx15 = $p_ptr$0 + 4 | 0; + $sub17 = +HEAPF32[$arrayidx15 >> 2] - +HEAPF32[$p_ptr$0 + -4 >> 2]; + $sub20 = +HEAPF32[$pp1_ptr$0 >> 2] - +HEAPF32[$p_ptr$0 >> 2]; + $conv24 = +Math_atan2(+$sub20, +$sub17) + 3.141592653589793; + HEAPF32[$gradient$addr$0 >> 2] = $conv24; + $12 = +Math_sqrt(+($sub17 * $sub17 + $sub20 * $sub20)); + HEAPF32[$gradient$pn + 12 >> 2] = $12; + $add$ptr$pn = $pp1_ptr$0; + $col$0 = $col$0 + 1 | 0; + $gradient$pn = $gradient$addr$0; + $p_ptr$0 = $arrayidx15; + } + $sub1 = $height + -1 | 0; + $4 = +HEAPF32[$p_ptr$0 >> 2]; + $sub36 = $4 - +HEAPF32[$p_ptr$0 + -4 >> 2]; + $sub39 = +HEAPF32[$pp1_ptr$0 >> 2] - $4; + $conv43 = +Math_atan2(+$sub39, +$sub36) + 3.141592653589793; + HEAPF32[$gradient$addr$0 >> 2] = $conv43; + $7 = +Math_sqrt(+($sub36 * $sub36 + $sub39 * $sub39)); + HEAPF32[$gradient$pn + 12 >> 2] = $7; + $gradient$addr$0$pn = $gradient$addr$0; + $p_ptr$1 = $add$ptr; + $pm1_ptr$1 = $im; + $pp1_ptr$1 = $add$ptr + ($width << 2) | 0; + $row$0 = 1; + while (1) { + $gradient$addr$1 = $gradient$addr$0$pn + 8 | 0; + if ($row$0 >>> 0 >= $sub1 >>> 0) break; + $arrayidx59 = $p_ptr$1 + 4 | 0; + $sub61 = +HEAPF32[$arrayidx59 >> 2] - +HEAPF32[$p_ptr$1 >> 2]; + $sub64 = +HEAPF32[$pp1_ptr$1 >> 2] - +HEAPF32[$pm1_ptr$1 >> 2]; + $conv68 = +Math_atan2(+$sub64, +$sub61) + 3.141592653589793; + HEAPF32[$gradient$addr$1 >> 2] = $conv68; + $21 = +Math_sqrt(+($sub61 * $sub61 + $sub64 * $sub64)); + HEAPF32[$gradient$addr$0$pn + 12 >> 2] = $21; + $col78$0 = 1; + $gradient$addr$2 = $gradient$addr$0$pn + 16 | 0; + $p_ptr$2 = $arrayidx59; + $pm1_ptr$1$pn = $pm1_ptr$1; + $pp1_ptr$1$pn = $pp1_ptr$1; + while (1) { + $pp1_ptr$2 = $pp1_ptr$1$pn + 4 | 0; + $pm1_ptr$2 = $pm1_ptr$1$pn + 4 | 0; + if ($col78$0 >>> 0 >= $sub >>> 0) break; + $arrayidx83 = $p_ptr$2 + 4 | 0; + $sub85 = +HEAPF32[$arrayidx83 >> 2] - +HEAPF32[$p_ptr$2 + -4 >> 2]; + $sub88 = +HEAPF32[$pp1_ptr$2 >> 2] - +HEAPF32[$pm1_ptr$2 >> 2]; + $conv92 = +Math_atan2(+$sub88, +$sub85) + 3.141592653589793; + HEAPF32[$gradient$addr$2 >> 2] = $conv92; + $31 = +Math_sqrt(+($sub85 * $sub85 + $sub88 * $sub88)); + HEAPF32[$gradient$addr$2 + 4 >> 2] = $31; + $col78$0 = $col78$0 + 1 | 0; + $gradient$addr$2 = $gradient$addr$2 + 8 | 0; + $p_ptr$2 = $arrayidx83; + $pm1_ptr$1$pn = $pm1_ptr$2; + $pp1_ptr$1$pn = $pp1_ptr$2; + } + $sub107 = +HEAPF32[$p_ptr$2 >> 2] - +HEAPF32[$p_ptr$2 + -4 >> 2]; + $sub110 = +HEAPF32[$pp1_ptr$2 >> 2] - +HEAPF32[$pm1_ptr$2 >> 2]; + $conv114 = +Math_atan2(+$sub110, +$sub107) + 3.141592653589793; + HEAPF32[$gradient$addr$2 >> 2] = $conv114; + $26 = +Math_sqrt(+($sub107 * $sub107 + $sub110 * $sub110)); + HEAPF32[$gradient$addr$2 + 4 >> 2] = $26; + $gradient$addr$0$pn = $gradient$addr$2; + $p_ptr$1 = $p_ptr$2 + 4 | 0; + $pm1_ptr$1 = $pm1_ptr$1$pn + 8 | 0; + $pp1_ptr$1 = $pp1_ptr$1$pn + 8 | 0; + $row$0 = $row$0 + 1 | 0; + } + $arrayidx128 = $im + ((Math_imul($sub1, $width) | 0) << 2) | 0; + $add$ptr129 = $arrayidx128 + (0 - $width << 2) | 0; + $arrayidx130 = $arrayidx128 + 4 | 0; + $14 = +HEAPF32[$arrayidx128 >> 2]; + $sub132 = +HEAPF32[$arrayidx130 >> 2] - $14; + $sub135 = $14 - +HEAPF32[$add$ptr129 >> 2]; + $conv139 = +Math_atan2(+$sub135, +$sub132) + 3.141592653589793; + HEAPF32[$gradient$addr$1 >> 2] = $conv139; + $16 = +Math_sqrt(+($sub132 * $sub132 + $sub135 * $sub135)); + HEAPF32[$gradient$addr$0$pn + 12 >> 2] = $16; + $add$ptr129$pn = $add$ptr129; + $col149$0 = 1; + $gradient$addr$1$pn = $gradient$addr$1; + $p_ptr$3 = $arrayidx130; + while (1) { + $gradient$addr$3 = $gradient$addr$1$pn + 8 | 0; + $pm1_ptr$3 = $add$ptr129$pn + 4 | 0; + if ($col149$0 >>> 0 >= $sub >>> 0) break; + $arrayidx154 = $p_ptr$3 + 4 | 0; + $sub156 = +HEAPF32[$arrayidx154 >> 2] - +HEAPF32[$p_ptr$3 + -4 >> 2]; + $sub159 = +HEAPF32[$p_ptr$3 >> 2] - +HEAPF32[$pm1_ptr$3 >> 2]; + $conv163 = +Math_atan2(+$sub159, +$sub156) + 3.141592653589793; + HEAPF32[$gradient$addr$3 >> 2] = $conv163; + $40 = +Math_sqrt(+($sub156 * $sub156 + $sub159 * $sub159)); + HEAPF32[$gradient$addr$1$pn + 12 >> 2] = $40; + $add$ptr129$pn = $pm1_ptr$3; + $col149$0 = $col149$0 + 1 | 0; + $gradient$addr$1$pn = $gradient$addr$3; + $p_ptr$3 = $arrayidx154; + } + $32 = +HEAPF32[$p_ptr$3 >> 2]; + $sub178 = $32 - +HEAPF32[$p_ptr$3 + -4 >> 2]; + $sub181 = $32 - +HEAPF32[$pm1_ptr$3 >> 2]; + $conv185 = +Math_atan2(+$sub181, +$sub178) + 3.141592653589793; + HEAPF32[$gradient$addr$3 >> 2] = $conv185; + $35 = +Math_sqrt(+($sub178 * $sub178 + $sub181 * $sub181)); + HEAPF32[$gradient$addr$1$pn + 12 >> 2] = $35; + return; +} + +function ___floatscan($f, $prec, $pok) { + $f = $f | 0; + $prec = $prec | 0; + $pok = $pok | 0; + var $0 = 0, $14 = 0, $17 = 0, $22 = 0, $3 = 0, $30 = 0, $7 = 0, $bits$0 = 0, $c$0 = 0, $c$1$lcssa = 0, $c$197 = 0, $c$2 = 0, $c$395 = 0, $c$4 = 0, $c$5 = 0, $c$6 = 0, $call189 = 0, $call215 = 0, $cond = 0, $cond135 = 0, $cond159 = 0, $cond231 = 0, $dec19293$in = 0, $emin$0 = 0, $i$096 = 0, $i$190 = 0, $i$294 = 0, $i$3 = 0, $i$4 = 0, $retval$0 = 0.0, $rpos = 0, $shend = 0, $sign$0 = 0, $sub13 = 0, $tobool181 = 0, $tobool55 = 0, $tobool61 = 0, $trunc = 0, label = 0; + switch ($prec | 0) { + case 0: + { + $bits$0 = 24; + $emin$0 = -149; + label = 4; + break; } - $19 = (HEAP32[$6 >> 2] | 0) - (HEAP32[$0 >> 2] | 0) >> 3; - if ($19 >>> 0 > (__ZNK6vision18BinaryFeatureStore4sizeEv($1) | 0) >>> 0) { - $110 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 35438) | 0, 35229) | 0, 39072) | 0, 175) | 0, 39079) | 0, 35498) | 0; - __ZNKSt3__28ios_base6getlocEv($4, $110 + (HEAP32[(HEAP32[$110 >> 2] | 0) + -12 >> 2] | 0) | 0); - $115 = __ZNKSt3__26locale9use_facetERNS0_2idE($4, 66512) | 0; - $119 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$115 >> 2] | 0) + 28 >> 2] & 127]($115, 10) | 0; - __ZNSt3__26localeD2Ev($4); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($110, $119) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($110) | 0; - _abort(); - } else { - $$0 = (HEAP32[$6 >> 2] | 0) - (HEAP32[$0 >> 2] | 0) >> 3; + case 1: + { + $bits$0 = 53; + $emin$0 = -1074; + label = 4; break; } - } else $$0 = 0; while (0); - STACKTOP = sp; - return $$0 | 0; -} - -function _fmod($0, $1) { - $0 = +$0; - $1 = +$1; - var $$070 = 0.0, $$071$lcssa = 0, $$07194 = 0, $$073$lcssa = 0, $$073100 = 0, $$172 = 0, $$174 = 0, $$275$lcssa = 0, $$27585 = 0, $$376$lcssa = 0, $$37682 = 0, $$lcssa = 0, $101 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $11 = 0, $110 = 0, $111 = 0, $116 = 0, $118 = 0, $12 = 0, $120 = 0, $124 = 0, $126 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0, $134 = 0, $14 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $150 = 0, $153 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $160 = 0, $18 = 0, $2 = 0, $20 = 0, $27 = 0.0, $29 = 0, $3 = 0, $30 = 0, $4 = 0, $41 = 0, $42 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $59 = 0, $6 = 0, $64 = 0, $65 = 0, $71 = 0, $72 = 0, $73 = 0, $8 = 0, $82 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $97 = 0, $99 = 0, label = 0; - HEAPF64[tempDoublePtr >> 3] = $0; - $2 = HEAP32[tempDoublePtr >> 2] | 0; - $3 = HEAP32[tempDoublePtr + 4 >> 2] | 0; - HEAPF64[tempDoublePtr >> 3] = $1; - $4 = HEAP32[tempDoublePtr >> 2] | 0; - $5 = HEAP32[tempDoublePtr + 4 >> 2] | 0; - $6 = _bitshift64Lshr($2 | 0, $3 | 0, 52) | 0; - getTempRet0() | 0; - $8 = $6 & 2047; - $9 = _bitshift64Lshr($4 | 0, $5 | 0, 52) | 0; - getTempRet0() | 0; - $11 = $9 & 2047; - $12 = $3 & -2147483648; - $13 = _bitshift64Shl($4 | 0, $5 | 0, 1) | 0; - $14 = getTempRet0() | 0; - L1 : do if (!(($13 | 0) == 0 & ($14 | 0) == 0) ? ($18 = ___DOUBLE_BITS_273($1) | 0, $20 = (getTempRet0() | 0) & 2147483647, !(($8 | 0) == 2047 | ($20 >>> 0 > 2146435072 | ($20 | 0) == 2146435072 & $18 >>> 0 > 0))) : 0) { - $29 = _bitshift64Shl($2 | 0, $3 | 0, 1) | 0; - $30 = getTempRet0() | 0; - if (!($30 >>> 0 > $14 >>> 0 | ($30 | 0) == ($14 | 0) & $29 >>> 0 > $13 >>> 0)) return +(($29 | 0) == ($13 | 0) & ($30 | 0) == ($14 | 0) ? $0 * 0.0 : $0); - if (!$8) { - $41 = _bitshift64Shl($2 | 0, $3 | 0, 12) | 0; - $42 = getTempRet0() | 0; - if (($42 | 0) > -1 | ($42 | 0) == -1 & $41 >>> 0 > 4294967295) { - $$073100 = 0; - $49 = $41; - $50 = $42; - while (1) { - $48 = $$073100 + -1 | 0; - $49 = _bitshift64Shl($49 | 0, $50 | 0, 1) | 0; - $50 = getTempRet0() | 0; - if (!(($50 | 0) > -1 | ($50 | 0) == -1 & $49 >>> 0 > 4294967295)) { - $$073$lcssa = $48; - break; - } else $$073100 = $48; - } - } else $$073$lcssa = 0; - $59 = _bitshift64Shl($2 | 0, $3 | 0, 1 - $$073$lcssa | 0) | 0; - $$174 = $$073$lcssa; - $87 = $59; - $88 = getTempRet0() | 0; - } else { - $$174 = $8; - $87 = $2; - $88 = $3 & 1048575 | 1048576; + case 2: + { + $bits$0 = 53; + $emin$0 = -1074; + label = 4; + break; } - if (!$11) { - $64 = _bitshift64Shl($4 | 0, $5 | 0, 12) | 0; - $65 = getTempRet0() | 0; - if (($65 | 0) > -1 | ($65 | 0) == -1 & $64 >>> 0 > 4294967295) { - $$07194 = 0; - $72 = $64; - $73 = $65; - while (1) { - $71 = $$07194 + -1 | 0; - $72 = _bitshift64Shl($72 | 0, $73 | 0, 1) | 0; - $73 = getTempRet0() | 0; - if (!(($73 | 0) > -1 | ($73 | 0) == -1 & $72 >>> 0 > 4294967295)) { - $$071$lcssa = $71; - break; - } else $$07194 = $71; - } - } else $$071$lcssa = 0; - $82 = _bitshift64Shl($4 | 0, $5 | 0, 1 - $$071$lcssa | 0) | 0; - $$172 = $$071$lcssa; - $89 = $82; - $90 = getTempRet0() | 0; - } else { - $$172 = $11; - $89 = $4; - $90 = $5 & 1048575 | 1048576; - } - $91 = _i64Subtract($87 | 0, $88 | 0, $89 | 0, $90 | 0) | 0; - $92 = getTempRet0() | 0; - $97 = ($92 | 0) > -1 | ($92 | 0) == -1 & $91 >>> 0 > 4294967295; - L25 : do if (($$174 | 0) > ($$172 | 0)) { - $$27585 = $$174; - $101 = $92; - $158 = $97; - $159 = $87; - $160 = $88; - $99 = $91; - while (1) { - if ($158) if (($99 | 0) == 0 & ($101 | 0) == 0) break; else { - $104 = $99; - $105 = $101; - } else { - $104 = $159; - $105 = $160; - } - $106 = _bitshift64Shl($104 | 0, $105 | 0, 1) | 0; - $107 = getTempRet0() | 0; - $108 = $$27585 + -1 | 0; - $110 = _i64Subtract($106 | 0, $107 | 0, $89 | 0, $90 | 0) | 0; - $111 = getTempRet0() | 0; - $116 = ($111 | 0) > -1 | ($111 | 0) == -1 & $110 >>> 0 > 4294967295; - if (($108 | 0) > ($$172 | 0)) { - $$27585 = $108; - $101 = $111; - $158 = $116; - $159 = $106; - $160 = $107; - $99 = $110; + default: + $retval$0 = 0.0; + } + L4 : do if ((label | 0) == 4) { + $rpos = $f + 4 | 0; + $shend = $f + 104 | 0; + do { + $0 = HEAP32[$rpos >> 2] | 0; + if ($0 >>> 0 < (HEAP32[$shend >> 2] | 0) >>> 0) { + HEAP32[$rpos >> 2] = $0 + 1; + $cond = HEAPU8[$0 >> 0] | 0; + } else $cond = ___shgetc($f) | 0; + } while ((_isspace($cond) | 0) != 0); + L13 : do switch ($cond | 0) { + case 43: + case 45: + { + $sub13 = 1 - ((($cond | 0) == 45 & 1) << 1) | 0; + $3 = HEAP32[$rpos >> 2] | 0; + if ($3 >>> 0 < (HEAP32[$shend >> 2] | 0) >>> 0) { + HEAP32[$rpos >> 2] = $3 + 1; + $c$0 = HEAPU8[$3 >> 0] | 0; + $sign$0 = $sub13; + break L13; } else { - $$275$lcssa = $108; - $$lcssa = $116; - $118 = $110; - $120 = $111; - $156 = $106; - $157 = $107; - break L25; + $c$0 = ___shgetc($f) | 0; + $sign$0 = $sub13; + break L13; } + break; + } + default: + { + $c$0 = $cond; + $sign$0 = 1; } - $$070 = $0 * 0.0; - break L1; - } else { - $$275$lcssa = $$174; - $$lcssa = $97; - $118 = $91; - $120 = $92; - $156 = $87; - $157 = $88; } while (0); - if ($$lcssa) if (($118 | 0) == 0 & ($120 | 0) == 0) { - $$070 = $0 * 0.0; - break; - } else { - $124 = $120; - $126 = $118; - } else { - $124 = $157; - $126 = $156; - } - if ($124 >>> 0 < 1048576 | ($124 | 0) == 1048576 & $126 >>> 0 < 0) { - $$37682 = $$275$lcssa; - $130 = $126; - $131 = $124; - while (1) { - $132 = _bitshift64Shl($130 | 0, $131 | 0, 1) | 0; - $133 = getTempRet0() | 0; - $134 = $$37682 + -1 | 0; - if ($133 >>> 0 < 1048576 | ($133 | 0) == 1048576 & $132 >>> 0 < 0) { - $$37682 = $134; - $130 = $132; - $131 = $133; + $c$197 = $c$0; + $i$096 = 0; + while (1) { + if (($c$197 | 32 | 0) != (HEAP8[51669 + $i$096 >> 0] | 0)) { + $c$1$lcssa = $c$197; + $trunc = $i$096; + break; + } + do if ($i$096 >>> 0 < 7) { + $7 = HEAP32[$rpos >> 2] | 0; + if ($7 >>> 0 < (HEAP32[$shend >> 2] | 0) >>> 0) { + HEAP32[$rpos >> 2] = $7 + 1; + $c$2 = HEAPU8[$7 >> 0] | 0; + break; } else { - $$376$lcssa = $134; - $141 = $132; - $142 = $133; + $c$2 = ___shgetc($f) | 0; break; } - } - } else { - $$376$lcssa = $$275$lcssa; - $141 = $126; - $142 = $124; - } - if (($$376$lcssa | 0) > 0) { - $143 = _i64Add($141 | 0, $142 | 0, 0, -1048576) | 0; - $144 = getTempRet0() | 0; - $145 = _bitshift64Shl($$376$lcssa | 0, 0, 52) | 0; - $153 = $144 | (getTempRet0() | 0); - $155 = $143 | $145; - } else { - $150 = _bitshift64Lshr($141 | 0, $142 | 0, 1 - $$376$lcssa | 0) | 0; - $153 = getTempRet0() | 0; - $155 = $150; - } - HEAP32[tempDoublePtr >> 2] = $155; - HEAP32[tempDoublePtr + 4 >> 2] = $153 | $12; - $$070 = +HEAPF64[tempDoublePtr >> 3]; - } else label = 3; while (0); - if ((label | 0) == 3) { - $27 = $0 * $1; - $$070 = $27 / $27; - } - return +$$070; -} - -function _ar2GetTransMatHomography2_177($initConv, $pos2d, $pos3d, $num, $conv) { - $initConv = $initConv | 0; - $pos2d = $pos2d | 0; - $pos3d = $pos3d | 0; - $num = $num | 0; - $conv = $conv | 0; - var $4 = 0.0, $6 = 0.0, $add36 = 0.0, $add50 = 0.0, $add62 = 0.0, $arrayidx188 = 0, $arrayidx192 = 0, $arrayidx196 = 0, $arrayidx2 = 0, $arrayidx200 = 0, $arrayidx204 = 0, $arrayidx208 = 0, $arrayidx212 = 0, $arrayidx30 = 0, $arrayidx35 = 0, $arrayidx38 = 0, $arrayidx43 = 0, $arrayidx49 = 0, $arrayidx52 = 0, $arrayidx57 = 0, $call = 0, $call8 = 0, $conv167 = 0.0, $dH = 0, $div168 = 0.0, $div86 = 0.0, $div92 = 0.0, $div96 = 0.0, $err0$0 = 0.0, $err1$0 = 0.0, $i$0 = 0, $i$1 = 0, $j$0 = 0, $j$1 = 0, $mul180 = 0, $mul66 = 0.0, $mul78 = 0, $mul87 = 0, $retval$0 = 0.0, $sub = 0.0, $sub73 = 0.0, $vararg_buffer = 0, $vararg_buffer1 = 0, label = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 48 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); - $vararg_buffer1 = sp + 40 | 0; - $vararg_buffer = sp + 32 | 0; - $dH = sp; - do if (($num | 0) >= 4 ? ($arrayidx2 = $initConv + 44 | 0, !(+HEAPF32[$arrayidx2 >> 2] == 0.0)) : 0) { - $call = _malloc($num << 6) | 0; - if (!$call) { - _arLog(0, 3, 45947, $vararg_buffer); - $retval$0 = -1.0; - break; + } else $c$2 = $c$197; while (0); + $i$096 = $i$096 + 1 | 0; + if ($i$096 >>> 0 >= 8) { + $c$1$lcssa = $c$2; + $trunc = 8; + break; + } else $c$197 = $c$2; } - $call8 = _malloc($num << 3) | 0; - if (!$call8) { - _arLog(0, 3, 45947, $vararg_buffer1); - _free($call); - $retval$0 = -1.0; + L29 : do switch ($trunc & 2147483647 | 0) { + case 8: break; - } - $j$0 = 0; - while (1) { - if (($j$0 | 0) == 3) break; - $i$0 = 0; - while (1) { - if (($i$0 | 0) == 4) break; - HEAPF32[$conv + ($j$0 << 4) + ($i$0 << 2) >> 2] = +HEAPF32[$initConv + ($j$0 << 4) + ($i$0 << 2) >> 2] / +HEAPF32[$arrayidx2 >> 2]; - $i$0 = $i$0 + 1 | 0; - } - $j$0 = $j$0 + 1 | 0; - } - $arrayidx30 = $conv + 4 | 0; - $arrayidx35 = $conv + 12 | 0; - $arrayidx38 = $conv + 16 | 0; - $arrayidx43 = $conv + 20 | 0; - $arrayidx49 = $conv + 28 | 0; - $arrayidx52 = $conv + 32 | 0; - $arrayidx57 = $conv + 36 | 0; - $conv167 = +($num | 0); - $mul180 = $num << 1; - $arrayidx188 = $dH + 4 | 0; - $arrayidx192 = $dH + 8 | 0; - $arrayidx196 = $dH + 12 | 0; - $arrayidx200 = $dH + 16 | 0; - $arrayidx204 = $dH + 20 | 0; - $arrayidx208 = $dH + 24 | 0; - $arrayidx212 = $dH + 28 | 0; - $err0$0 = 0.0; - $i$1 = 0; - L18 : while (1) { - $err1$0 = 0.0; - $j$1 = 0; - while (1) { - if (($j$1 | 0) >= ($num | 0)) break; - $4 = +HEAPF32[$pos3d + ($j$1 * 12 | 0) >> 2]; - $6 = +HEAPF32[$pos3d + ($j$1 * 12 | 0) + 4 >> 2]; - $add36 = +HEAPF32[$arrayidx35 >> 2] + (+HEAPF32[$conv >> 2] * $4 + +HEAPF32[$arrayidx30 >> 2] * $6); - $add50 = +HEAPF32[$arrayidx49 >> 2] + ($4 * +HEAPF32[$arrayidx38 >> 2] + $6 * +HEAPF32[$arrayidx43 >> 2]); - $add62 = $4 * +HEAPF32[$arrayidx52 >> 2] + $6 * +HEAPF32[$arrayidx57 >> 2] + 1.0; - if ($add62 == 0.0) { - label = 17; - break L18; - } - $mul66 = $add62 * $add62; - $sub = +HEAPF32[$pos2d + ($j$1 << 3) >> 2] - $add36 / $add62; - $sub73 = +HEAPF32[$pos2d + ($j$1 << 3) + 4 >> 2] - $add50 / $add62; - $mul78 = $j$1 << 1; - HEAPF32[$call8 + ($mul78 << 2) >> 2] = $sub; - HEAPF32[$call8 + (($mul78 | 1) << 2) >> 2] = $sub73; - $div86 = $4 / $add62; - $mul87 = $j$1 << 4; - HEAPF32[$call + ($mul87 << 2) >> 2] = $div86; - $div92 = $6 / $add62; - HEAPF32[$call + (($mul87 | 1) << 2) >> 2] = $div92; - $div96 = 1.0 / $add62; - HEAPF32[$call + (($mul87 | 2) << 2) >> 2] = $div96; - HEAPF32[$call + (($mul87 | 3) << 2) >> 2] = 0.0; - HEAPF32[$call + (($mul87 | 4) << 2) >> 2] = 0.0; - HEAPF32[$call + (($mul87 | 5) << 2) >> 2] = 0.0; - HEAPF32[$call + (($mul87 | 6) << 2) >> 2] = -($4 * $add36) / $mul66; - HEAPF32[$call + (($mul87 | 7) << 2) >> 2] = -($6 * $add36) / $mul66; - HEAPF32[$call + (($mul87 | 8) << 2) >> 2] = 0.0; - HEAPF32[$call + (($mul87 | 9) << 2) >> 2] = 0.0; - HEAPF32[$call + (($mul87 | 10) << 2) >> 2] = 0.0; - HEAPF32[$call + (($mul87 | 11) << 2) >> 2] = $div86; - HEAPF32[$call + (($mul87 | 12) << 2) >> 2] = $div92; - HEAPF32[$call + (($mul87 | 13) << 2) >> 2] = $div96; - HEAPF32[$call + (($mul87 | 14) << 2) >> 2] = -($4 * $add50) / $mul66; - HEAPF32[$call + (($mul87 | 15) << 2) >> 2] = -($6 * $add50) / $mul66; - $err1$0 = $err1$0 + ($sub * $sub + $sub73 * $sub73); - $j$1 = $j$1 + 1 | 0; - } - $div168 = $err1$0 / $conv167; - if ($div168 < .10000000149011612) { - label = 26; + case 3: + { + label = 23; break; } - if (($i$1 | 0) != 0 & $div168 < 4.0) { - if (($i$1 | 0) == 10 | $div168 / $err0$0 > .9900000095367432) { - label = 26; - break; + default: + { + $tobool55 = ($pok | 0) != 0; + if ($tobool55 & $trunc >>> 0 > 3) if (($trunc | 0) == 8) break L29; else { + label = 23; + break L29; + } + L34 : do if (!$trunc) { + $c$395 = $c$1$lcssa; + $i$294 = 0; + while (1) { + if (($c$395 | 32 | 0) != (HEAP8[51678 + $i$294 >> 0] | 0)) { + $c$5 = $c$395; + $i$3 = $i$294; + break L34; + } + do if ($i$294 >>> 0 < 2) { + $14 = HEAP32[$rpos >> 2] | 0; + if ($14 >>> 0 < (HEAP32[$shend >> 2] | 0) >>> 0) { + HEAP32[$rpos >> 2] = $14 + 1; + $c$4 = HEAPU8[$14 >> 0] | 0; + break; + } else { + $c$4 = ___shgetc($f) | 0; + break; + } + } else $c$4 = $c$395; while (0); + $i$294 = $i$294 + 1 | 0; + if ($i$294 >>> 0 >= 3) { + $c$5 = $c$4; + $i$3 = 3; + break; + } else $c$395 = $c$4; + } + } else { + $c$5 = $c$1$lcssa; + $i$3 = $trunc; + } while (0); + switch ($i$3 | 0) { + case 3: + { + $17 = HEAP32[$rpos >> 2] | 0; + if ($17 >>> 0 < (HEAP32[$shend >> 2] | 0) >>> 0) { + HEAP32[$rpos >> 2] = $17 + 1; + $cond135 = HEAPU8[$17 >> 0] | 0; + } else $cond135 = ___shgetc($f) | 0; + if (($cond135 | 0) != 40) { + if (!(HEAP32[$shend >> 2] | 0)) { + $retval$0 = nan; + break L4; + } + HEAP32[$rpos >> 2] = (HEAP32[$rpos >> 2] | 0) + -1; + $retval$0 = nan; + break L4; + } + $i$4 = 1; + while (1) { + $22 = HEAP32[$rpos >> 2] | 0; + if ($22 >>> 0 < (HEAP32[$shend >> 2] | 0) >>> 0) { + HEAP32[$rpos >> 2] = $22 + 1; + $cond159 = HEAPU8[$22 >> 0] | 0; + } else $cond159 = ___shgetc($f) | 0; + if (!(($cond159 + -48 | 0) >>> 0 < 10 | ($cond159 + -65 | 0) >>> 0 < 26) ? !(($cond159 | 0) == 95 | ($cond159 + -97 | 0) >>> 0 < 26) : 0) break; + $i$4 = $i$4 + 1 | 0; + } + if (($cond159 | 0) == 41) { + $retval$0 = nan; + break L4; + } + $tobool181 = (HEAP32[$shend >> 2] | 0) == 0; + if (!$tobool181) HEAP32[$rpos >> 2] = (HEAP32[$rpos >> 2] | 0) + -1; + if (!$tobool55) { + $call189 = ___errno_location() | 0; + HEAP32[$call189 >> 2] = 28; + ___shlim($f, 0, 0); + $retval$0 = 0.0; + break L4; + } + if (!$i$4) { + $retval$0 = nan; + break L4; + } + $dec19293$in = $i$4; + while (1) { + $dec19293$in = $dec19293$in + -1 | 0; + if (!$tobool181) HEAP32[$rpos >> 2] = (HEAP32[$rpos >> 2] | 0) + -1; + if (!$dec19293$in) { + $retval$0 = nan; + break L4; + } + } + break; + } + case 0: + { + if (($c$5 | 0) == 48) { + $30 = HEAP32[$rpos >> 2] | 0; + if ($30 >>> 0 < (HEAP32[$shend >> 2] | 0) >>> 0) { + HEAP32[$rpos >> 2] = $30 + 1; + $cond231 = HEAPU8[$30 >> 0] | 0; + } else $cond231 = ___shgetc($f) | 0; + if (($cond231 | 32 | 0) == 120) { + $retval$0 = +_hexfloat($f, $bits$0, $emin$0, $sign$0, $pok); + break L4; + } + if (!(HEAP32[$shend >> 2] | 0)) $c$6 = 48; else { + HEAP32[$rpos >> 2] = (HEAP32[$rpos >> 2] | 0) + -1; + $c$6 = 48; + } + } else $c$6 = $c$5; + $retval$0 = +_decfloat($f, $c$6, $bits$0, $emin$0, $sign$0, $pok); + break L4; + break; + } + default: + { + if (HEAP32[$shend >> 2] | 0) HEAP32[$rpos >> 2] = (HEAP32[$rpos >> 2] | 0) + -1; + $call215 = ___errno_location() | 0; + HEAP32[$call215 >> 2] = 28; + ___shlim($f, 0, 0); + $retval$0 = 0.0; + break L4; + } } - } else if (($i$1 | 0) == 10) { - label = 26; - break; } - if ((_getDeltaS_181($dH, $call8, $call, $mul180) | 0) < 0) { - label = 24; - break; + } while (0); + if ((label | 0) == 23) { + $tobool61 = (HEAP32[$shend >> 2] | 0) == 0; + if (!$tobool61) HEAP32[$rpos >> 2] = (HEAP32[$rpos >> 2] | 0) + -1; + if (($pok | 0) != 0 & $trunc >>> 0 > 3) { + $i$190 = $trunc; + do { + if (!$tobool61) HEAP32[$rpos >> 2] = (HEAP32[$rpos >> 2] | 0) + -1; + $i$190 = $i$190 + -1 | 0; + } while ($i$190 >>> 0 > 3); } - HEAPF32[$conv >> 2] = +HEAPF32[$dH >> 2] + +HEAPF32[$conv >> 2]; - HEAPF32[$arrayidx30 >> 2] = +HEAPF32[$arrayidx188 >> 2] + +HEAPF32[$arrayidx30 >> 2]; - HEAPF32[$arrayidx35 >> 2] = +HEAPF32[$arrayidx192 >> 2] + +HEAPF32[$arrayidx35 >> 2]; - HEAPF32[$arrayidx38 >> 2] = +HEAPF32[$arrayidx196 >> 2] + +HEAPF32[$arrayidx38 >> 2]; - HEAPF32[$arrayidx43 >> 2] = +HEAPF32[$arrayidx200 >> 2] + +HEAPF32[$arrayidx43 >> 2]; - HEAPF32[$arrayidx49 >> 2] = +HEAPF32[$arrayidx204 >> 2] + +HEAPF32[$arrayidx49 >> 2]; - HEAPF32[$arrayidx52 >> 2] = +HEAPF32[$arrayidx208 >> 2] + +HEAPF32[$arrayidx52 >> 2]; - HEAPF32[$arrayidx57 >> 2] = +HEAPF32[$arrayidx212 >> 2] + +HEAPF32[$arrayidx57 >> 2]; - $err0$0 = $div168; - $i$1 = $i$1 + 1 | 0; - } - if ((label | 0) == 17) { - _free($call); - _free($call8); - $retval$0 = 1.0e8; - break; - } else if ((label | 0) == 24) { - _free($call); - _free($call8); - $retval$0 = 1.0e8; - break; - } else if ((label | 0) == 26) { - _free($call); - _free($call8); - $retval$0 = $div168; - break; } - } else $retval$0 = 1.0e8; while (0); - STACKTOP = sp; + $retval$0 = +($sign$0 | 0) * inf; + } while (0); return +$retval$0; } -function _jpeg_idct_14x7($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $$0275283 = 0, $$0277282 = 0, $$0278281 = 0, $$0284 = 0, $$1276279 = 0, $$1280 = 0, $110 = 0, $113 = 0, $116 = 0, $118 = 0, $121 = 0, $122 = 0, $124 = 0, $126 = 0, $128 = 0, $130 = 0, $132 = 0, $134 = 0, $136 = 0, $139 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $147 = 0, $149 = 0, $15 = 0, $151 = 0, $154 = 0, $155 = 0, $157 = 0, $158 = 0, $162 = 0, $163 = 0, $166 = 0, $168 = 0, $169 = 0, $172 = 0, $175 = 0, $178 = 0, $180 = 0, $184 = 0, $187 = 0, $190 = 0, $21 = 0, $27 = 0, $33 = 0, $35 = 0, $37 = 0, $41 = 0, $42 = 0, $45 = 0, $48 = 0, $5 = 0, $51 = 0, $59 = 0, $65 = 0, $7 = 0, $71 = 0, $73 = 0, $75 = 0, $79 = 0, $80 = 0, $82 = 0, $83 = 0, $86 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 224 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(224); - $5 = sp; - $7 = HEAP32[$0 + 336 >> 2] | 0; - $$0275283 = $5; - $$0277282 = HEAP32[$1 + 84 >> 2] | 0; - $$0278281 = $2; - $$0284 = 0; - while (1) { - $15 = Math_imul(HEAP16[$$0278281 >> 1] << 13, HEAP32[$$0277282 >> 2] | 0) | 0 | 1024; - $21 = Math_imul(HEAP32[$$0277282 + 64 >> 2] | 0, HEAP16[$$0278281 + 32 >> 1] | 0) | 0; - $27 = Math_imul(HEAP32[$$0277282 + 128 >> 2] | 0, HEAP16[$$0278281 + 64 >> 1] | 0) | 0; - $33 = Math_imul(HEAP32[$$0277282 + 192 >> 2] | 0, HEAP16[$$0278281 + 96 >> 1] | 0) | 0; - $35 = ($27 - $33 | 0) * 7223 | 0; - $37 = ($21 - $27 | 0) * 2578 | 0; - $41 = (Math_imul($27, -15083) | 0) + $15 + $37 + $35 | 0; - $42 = $33 + $21 | 0; - $45 = ($42 * 10438 | 0) + $15 | 0; - $48 = $35 + (Math_imul($33, -637) | 0) + $45 | 0; - $51 = $37 + (Math_imul($21, -20239) | 0) + $45 | 0; - $59 = Math_imul(HEAP32[$$0277282 + 32 >> 2] | 0, HEAP16[$$0278281 + 16 >> 1] | 0) | 0; - $65 = Math_imul(HEAP32[$$0277282 + 96 >> 2] | 0, HEAP16[$$0278281 + 48 >> 1] | 0) | 0; - $71 = Math_imul(HEAP32[$$0277282 + 160 >> 2] | 0, HEAP16[$$0278281 + 80 >> 1] | 0) | 0; - $73 = ($65 + $59 | 0) * 7663 | 0; - $75 = ($59 - $65 | 0) * 1395 | 0; - $79 = Math_imul($71 + $65 | 0, -11295) | 0; - $80 = $73 + $75 + $79 | 0; - $82 = ($71 + $59 | 0) * 5027 | 0; - $83 = $82 + ($73 - $75) | 0; - $86 = $82 + ($71 * 15326 | 0) + $79 | 0; - HEAP32[$$0275283 >> 2] = $83 + $48 >> 11; - HEAP32[$$0275283 + 192 >> 2] = $48 - $83 >> 11; - HEAP32[$$0275283 + 32 >> 2] = $80 + $41 >> 11; - HEAP32[$$0275283 + 160 >> 2] = $41 - $80 >> 11; - HEAP32[$$0275283 + 64 >> 2] = $86 + $51 >> 11; - HEAP32[$$0275283 + 128 >> 2] = $51 - $86 >> 11; - HEAP32[$$0275283 + 96 >> 2] = (($27 - $42 | 0) * 11585 | 0) + $15 >> 11; - $$0284 = $$0284 + 1 | 0; - if (($$0284 | 0) == 8) break; else { - $$0275283 = $$0275283 + 4 | 0; - $$0277282 = $$0277282 + 4 | 0; - $$0278281 = $$0278281 + 2 | 0; - } - } - $110 = $7 + -384 | 0; - $$1276279 = $5; - $$1280 = 0; - while (1) { - $113 = (HEAP32[$3 + ($$1280 << 2) >> 2] | 0) + $4 | 0; - $116 = (HEAP32[$$1276279 >> 2] << 13) + 134348800 | 0; - $118 = HEAP32[$$1276279 + 16 >> 2] | 0; - $121 = $116 + ($118 * 10438 | 0) | 0; - $122 = $116 + ($118 * 2578 | 0) | 0; - $124 = $116 + (Math_imul($118, -7223) | 0) | 0; - $126 = $116 + (Math_imul($118, -11586) | 0) | 0; - $128 = HEAP32[$$1276279 + 8 >> 2] | 0; - $130 = HEAP32[$$1276279 + 24 >> 2] | 0; - $132 = ($130 + $128 | 0) * 9058 | 0; - $134 = $132 + ($128 * 2237 | 0) | 0; - $136 = $132 + (Math_imul($130, -14084) | 0) | 0; - $139 = (Math_imul($130, -11295) | 0) + ($128 * 5027 | 0) | 0; - $140 = $134 + $121 | 0; - $141 = $121 - $134 | 0; - $142 = $136 + $122 | 0; - $143 = $122 - $136 | 0; - $144 = $139 + $124 | 0; - $145 = $124 - $139 | 0; - $147 = HEAP32[$$1276279 + 4 >> 2] | 0; - $149 = HEAP32[$$1276279 + 12 >> 2] | 0; - $151 = HEAP32[$$1276279 + 20 >> 2] | 0; - $154 = HEAP32[$$1276279 + 28 >> 2] << 13; - $155 = $151 + $147 | 0; - $157 = ($149 + $147 | 0) * 10935 | 0; - $158 = $155 * 9810 | 0; - $162 = $157 + (Math_imul($147, -9232) | 0) + $158 + $154 | 0; - $163 = $155 * 6164 | 0; - $166 = $147 - $149 | 0; - $168 = ($166 * 3826 | 0) - $154 | 0; - $169 = $163 + (Math_imul($147, -8693) | 0) + $168 | 0; - $172 = (Math_imul($151 + $149 | 0, -1297) | 0) - $154 | 0; - $175 = $157 + (Math_imul($149, -3474) | 0) + $172 | 0; - $178 = $158 + (Math_imul($151, -19447) | 0) + $172 | 0; - $180 = ($151 - $149 | 0) * 11512 | 0; - $184 = $154 + (Math_imul($151, -13850) | 0) + $180 + $163 | 0; - $187 = $180 + ($149 * 5529 | 0) + $168 | 0; - $190 = ($166 - $151 << 13) + $154 | 0; - HEAP8[$113 >> 0] = HEAP8[$110 + (($162 + $140 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$113 + 13 >> 0] = HEAP8[$110 + (($140 - $162 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$113 + 1 >> 0] = HEAP8[$110 + (($175 + $142 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$113 + 12 >> 0] = HEAP8[$110 + (($142 - $175 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$113 + 2 >> 0] = HEAP8[$110 + (($178 + $144 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$113 + 11 >> 0] = HEAP8[$110 + (($144 - $178 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$113 + 3 >> 0] = HEAP8[$110 + (($190 + $126 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$113 + 10 >> 0] = HEAP8[$110 + (($126 - $190 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$113 + 4 >> 0] = HEAP8[$110 + (($184 + $145 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$113 + 9 >> 0] = HEAP8[$110 + (($145 - $184 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$113 + 5 >> 0] = HEAP8[$110 + (($187 + $143 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$113 + 8 >> 0] = HEAP8[$110 + (($143 - $187 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$113 + 6 >> 0] = HEAP8[$110 + (($169 + $141 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$113 + 7 >> 0] = HEAP8[$110 + (($141 - $169 | 0) >>> 18 & 1023) >> 0] | 0; - $$1280 = $$1280 + 1 | 0; - if (($$1280 | 0) == 7) break; else $$1276279 = $$1276279 + 32 | 0; - } - STACKTOP = sp; - return; -} - -function _decode_mcu_DC_first_62($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0100$lcssa = 0, $$0100117 = 0, $$0104$lcssa = 0, $$0104116 = 0, $$017$i = 0, $$094 = 0, $$099118 = 0, $$1101 = 0, $$1105 = 0, $$2 = 0, $$2102 = 0, $$2106 = 0, $$298$ph = 0, $$3 = 0, $$4$ph = 0, $$4108$ph = 0, $$5 = 0, $$5109 = 0, $$6 = 0, $$6110 = 0, $$in = 0, $105 = 0, $107 = 0, $11 = 0, $113 = 0, $115 = 0, $116 = 0, $14 = 0, $18 = 0, $19 = 0, $2 = 0, $26 = 0, $3 = 0, $43 = 0, $44 = 0, $45 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $57 = 0, $58 = 0, $60 = 0, $62 = 0, $68 = 0, $7 = 0, $72 = 0, $73 = 0, $77 = 0, $79 = 0, $8 = 0, $85 = 0, $95 = 0, $98 = 0, $99 = 0, label = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 48 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); - $2 = sp + 20 | 0; - $3 = sp; - $5 = HEAP32[$0 + 468 >> 2] | 0; - $7 = HEAP32[$0 + 424 >> 2] | 0; - $8 = $0 + 280 | 0; - if (HEAP32[$8 >> 2] | 0 ? ($11 = $5 + 44 | 0, (HEAP32[$11 >> 2] | 0) == 0) : 0) { - $14 = $5 + 16 | 0; - $18 = HEAP32[$0 + 464 >> 2] | 0; - $19 = $18 + 24 | 0; - HEAP32[$19 >> 2] = (HEAP32[$19 >> 2] | 0) + ((HEAP32[$14 >> 2] | 0) / 8 | 0); - HEAP32[$14 >> 2] = 0; - if (!(FUNCTION_TABLE_ii[HEAP32[$18 + 8 >> 2] & 127]($0) | 0)) { - $$2 = 0; - STACKTOP = sp; - return $$2 | 0; - } - $26 = $0 + 340 | 0; - if ((HEAP32[$26 >> 2] | 0) > 0) { - $$017$i = 0; - do { - HEAP32[$5 + 24 + ($$017$i << 2) >> 2] = 0; - $$017$i = $$017$i + 1 | 0; - } while (($$017$i | 0) < (HEAP32[$26 >> 2] | 0)); - } - HEAP32[$5 + 20 >> 2] = 0; - HEAP32[$11 >> 2] = HEAP32[$8 >> 2]; - if (!(HEAP32[$0 + 440 >> 2] | 0)) HEAP32[$5 + 40 >> 2] = 0; - } - if (!(HEAP32[$5 + 40 >> 2] | 0)) { - HEAP32[$2 + 16 >> 2] = $0; - $43 = $0 + 24 | 0; - $44 = HEAP32[$43 >> 2] | 0; - $45 = HEAP32[$44 >> 2] | 0; - HEAP32[$2 >> 2] = $45; - $47 = HEAP32[$44 + 4 >> 2] | 0; - $48 = $2 + 4 | 0; - HEAP32[$48 >> 2] = $47; - $49 = $5 + 12 | 0; - $50 = HEAP32[$49 >> 2] | 0; - $51 = $5 + 16 | 0; - $52 = HEAP32[$51 >> 2] | 0; - $53 = $5 + 20 | 0; - HEAP32[$3 >> 2] = HEAP32[$53 >> 2]; - HEAP32[$3 + 4 >> 2] = HEAP32[$53 + 4 >> 2]; - HEAP32[$3 + 8 >> 2] = HEAP32[$53 + 8 >> 2]; - HEAP32[$3 + 12 >> 2] = HEAP32[$53 + 12 >> 2]; - HEAP32[$3 + 16 >> 2] = HEAP32[$53 + 16 >> 2]; - $54 = $0 + 368 | 0; - do if ((HEAP32[$54 >> 2] | 0) > 0) { - $57 = $2 + 8 | 0; - $58 = $2 + 12 | 0; - $$0100117 = $52; - $$0104116 = $50; - $$099118 = 0; +function _jpeg_calc_output_dimensions($cinfo) { + $cinfo = $cinfo | 0; + var $$lcssa = 0, $$lcssa$sink = 0, $$pre = 0, $$sink = 0, $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $24 = 0, $25 = 0, $28 = 0, $4 = 0, $5 = 0, $6 = 0, $8 = 0, $9 = 0, $DCT_h_scaled_size = 0, $DCT_h_scaled_size$us = 0, $DCT_v_scaled_size = 0, $DCT_v_scaled_size$us = 0, $block_size = 0, $call = 0, $call65 = 0, $ci$089 = 0, $ci$089$us = 0, $ci$169 = 0, $cmp1783 = 0, $cmp1783$us = 0, $cmp488 = 0, $compptr$090 = 0, $compptr$090$us = 0, $compptr$170 = 0, $cond73 = 0, $image_height = 0, $image_width = 0, $max_h_samp_factor56 = 0, $max_v_samp_factor = 0, $max_v_samp_factor62 = 0, $mul = 0, $mul$lcssa = 0, $mul13 = 0, $mul13$lcssa = 0, $mul13$lcssa$us = 0, $mul13$us = 0, $mul1385 = 0, $mul1385$us = 0, $mul31 = 0, $mul31$us = 0, $mul39 = 0, $mul39$us = 0, $mul55 = 0, $mul61 = 0, $mul76 = 0, $num_components = 0, $ssize$075 = 0, $ssize$184 = 0, $ssize$184$us = 0; + $0 = HEAP32[$cinfo + 20 >> 2] | 0; + if (($0 | 0) != 202) { + $1 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$1 + 20 >> 2] = 21; + HEAP32[$1 + 24 >> 2] = $0; + FUNCTION_TABLE_vi[HEAP32[HEAP32[$cinfo >> 2] >> 2] & 255]($cinfo); + } + _jpeg_core_output_dimensions($cinfo); + $4 = HEAP32[$cinfo + 216 >> 2] | 0; + $num_components = $cinfo + 36 | 0; + $5 = HEAP32[$num_components >> 2] | 0; + $cmp488 = ($5 | 0) > 0; + if ($cmp488) { + $6 = HEAP32[$cinfo + 324 >> 2] | 0; + $cond73 = (HEAP32[$cinfo + 76 >> 2] | 0) == 0 ? 4 : 8; + $max_v_samp_factor = $cinfo + 320 | 0; + $8 = HEAP32[$cinfo + 328 >> 2] | 0; + if (($6 | 0) > ($cond73 | 0)) { + $cmp1783$us = ($8 | 0) > ($cond73 | 0); + $mul39$us = $6 << 1; + $ci$089$us = 0; + $compptr$090$us = $4; while (1) { - $60 = HEAP32[$1 + ($$099118 << 2) >> 2] | 0; - $62 = HEAP32[$0 + 372 + ($$099118 << 2) >> 2] | 0; - $68 = HEAP32[$5 + 48 + (HEAP32[(HEAP32[$0 + 344 + ($62 << 2) >> 2] | 0) + 20 >> 2] << 2) >> 2] | 0; - if (($$0100117 | 0) < 8) { - if (!(_jpeg_fill_bit_buffer($2, $$0104116, $$0100117, 0) | 0)) { - $$2 = 0; - label = 28; - break; - } - $72 = HEAP32[$57 >> 2] | 0; - $73 = HEAP32[$58 >> 2] | 0; - if (($73 | 0) < 8) { - $$094 = 1; - $$2102 = $73; - $$2106 = $72; - label = 17; - } else { - $$1101 = $73; - $$1105 = $72; - label = 15; - } - } else { - $$1101 = $$0100117; - $$1105 = $$0104116; - label = 15; - } - if ((label | 0) == 15) { - label = 0; - $77 = $$1105 >> $$1101 + -8 & 255; - $79 = HEAP32[$68 + 144 + ($77 << 2) >> 2] | 0; - if (!$79) { - $$094 = 9; - $$2102 = $$1101; - $$2106 = $$1105; - label = 17; - } else { - $$298$ph = HEAPU8[$68 + 1168 + $77 >> 0] | 0; - $$4$ph = $$1101 - $79 | 0; - $$4108$ph = $$1105; + $DCT_h_scaled_size$us = $compptr$090$us + 36 | 0; + HEAP32[$DCT_h_scaled_size$us >> 2] = $6; + L10 : do if ($cmp1783$us) $mul13$lcssa$us = $8; else { + $10 = HEAP32[$max_v_samp_factor >> 2] | 0; + $9 = HEAP32[$compptr$090$us + 12 >> 2] | 0; + $mul1385$us = $8; + $ssize$184$us = 1; + while (1) { + $ssize$184$us = $ssize$184$us << 1; + if (($10 | 0) % (Math_imul($ssize$184$us, $9) | 0) | 0 | 0) { + $mul13$lcssa$us = $mul1385$us; + break L10; + } + $mul13$us = Math_imul($8, $ssize$184$us) | 0; + if (($mul13$us | 0) > ($cond73 | 0)) { + $mul13$lcssa$us = $mul13$us; + break; + } else $mul1385$us = $mul13$us; } - } - if ((label | 0) == 17) { - label = 0; - $85 = _jpeg_huff_decode($2, $$2106, $$2102, $68, $$094) | 0; - if (($85 | 0) < 0) { - $$2 = 0; - label = 28; + } while (0); + $DCT_v_scaled_size$us = $compptr$090$us + 40 | 0; + HEAP32[$DCT_v_scaled_size$us >> 2] = $mul13$lcssa$us; + $mul31$us = $mul13$lcssa$us << 1; + if (($6 | 0) <= ($mul31$us | 0)) { + if (($mul13$lcssa$us | 0) > ($mul39$us | 0)) HEAP32[$DCT_v_scaled_size$us >> 2] = $mul39$us; + } else HEAP32[$DCT_h_scaled_size$us >> 2] = $mul31$us; + $ci$089$us = $ci$089$us + 1 | 0; + if (($ci$089$us | 0) >= ($5 | 0)) break; else $compptr$090$us = $compptr$090$us + 88 | 0; + } + } else { + $$pre = HEAP32[$cinfo + 316 >> 2] | 0; + $cmp1783 = ($8 | 0) > ($cond73 | 0); + $ci$089 = 0; + $compptr$090 = $4; + while (1) { + $11 = HEAP32[$compptr$090 + 8 >> 2] | 0; + $mul76 = $6; + $ssize$075 = 1; + while (1) { + $ssize$075 = $ssize$075 << 1; + if (($$pre | 0) % (Math_imul($ssize$075, $11) | 0) | 0 | 0) { + $mul$lcssa = $mul76; break; } - $$298$ph = $85; - $$4$ph = HEAP32[$58 >> 2] | 0; - $$4108$ph = HEAP32[$57 >> 2] | 0; - } - if (!$$298$ph) { - $$3 = 0; - $$6 = $$4$ph; - $$6110 = $$4108$ph; - } else { - if (($$4$ph | 0) < ($$298$ph | 0)) { - if (!(_jpeg_fill_bit_buffer($2, $$4108$ph, $$4$ph, $$298$ph) | 0)) { - $$2 = 0; - label = 28; - break; + $mul = Math_imul($6, $ssize$075) | 0; + if (($mul | 0) > ($cond73 | 0)) { + $mul$lcssa = $mul; + break; + } else $mul76 = $mul; + } + $DCT_h_scaled_size = $compptr$090 + 36 | 0; + HEAP32[$DCT_h_scaled_size >> 2] = $mul$lcssa; + L28 : do if ($cmp1783) $mul13$lcssa = $8; else { + $12 = HEAP32[$max_v_samp_factor >> 2] | 0; + $13 = HEAP32[$compptr$090 + 12 >> 2] | 0; + $mul1385 = $8; + $ssize$184 = 1; + while (1) { + $ssize$184 = $ssize$184 << 1; + if (($12 | 0) % (Math_imul($ssize$184, $13) | 0) | 0 | 0) { + $mul13$lcssa = $mul1385; + break L28; } - $$5 = HEAP32[$58 >> 2] | 0; - $$5109 = HEAP32[$57 >> 2] | 0; - } else { - $$5 = $$4$ph; - $$5109 = $$4108$ph; - } - $95 = $$5 - $$298$ph | 0; - $98 = HEAP32[5184 + ($$298$ph << 2) >> 2] | 0; - $99 = $$5109 >> $95 & $98; - $$3 = $99 - (($99 | 0) > (HEAP32[5184 + ($$298$ph + -1 << 2) >> 2] | 0) ? 0 : $98) | 0; - $$6 = $95; - $$6110 = $$5109; - } - $105 = $3 + 4 + ($62 << 2) | 0; - $107 = (HEAP32[$105 >> 2] | 0) + $$3 | 0; - HEAP32[$105 >> 2] = $107; - HEAP16[$60 >> 1] = $107 << $7; - $$099118 = $$099118 + 1 | 0; - if (($$099118 | 0) >= (HEAP32[$54 >> 2] | 0)) { - label = 25; + $mul13 = Math_imul($8, $ssize$184) | 0; + if (($mul13 | 0) > ($cond73 | 0)) { + $mul13$lcssa = $mul13; + break; + } else $mul1385 = $mul13; + } + } while (0); + $DCT_v_scaled_size = $compptr$090 + 40 | 0; + HEAP32[$DCT_v_scaled_size >> 2] = $mul13$lcssa; + $mul31 = $mul13$lcssa << 1; + if (($mul$lcssa | 0) <= ($mul31 | 0)) { + $mul39 = $mul$lcssa << 1; + if (($mul13$lcssa | 0) > ($mul39 | 0)) HEAP32[$DCT_v_scaled_size >> 2] = $mul39; + } else HEAP32[$DCT_h_scaled_size >> 2] = $mul31; + $ci$089 = $ci$089 + 1 | 0; + if (($ci$089 | 0) >= ($5 | 0)) break; else $compptr$090 = $compptr$090 + 88 | 0; + } + } + if ($cmp488) { + $image_width = $cinfo + 28 | 0; + $max_h_samp_factor56 = $cinfo + 316 | 0; + $block_size = $cinfo + 428 | 0; + $image_height = $cinfo + 32 | 0; + $max_v_samp_factor62 = $cinfo + 320 | 0; + $ci$169 = 0; + $compptr$170 = $4; + while (1) { + $mul55 = Math_imul(Math_imul(HEAP32[$compptr$170 + 8 >> 2] | 0, HEAP32[$image_width >> 2] | 0) | 0, HEAP32[$compptr$170 + 36 >> 2] | 0) | 0; + $call = _jdiv_round_up($mul55, Math_imul(HEAP32[$block_size >> 2] | 0, HEAP32[$max_h_samp_factor56 >> 2] | 0) | 0) | 0; + HEAP32[$compptr$170 + 44 >> 2] = $call; + $mul61 = Math_imul(Math_imul(HEAP32[$compptr$170 + 12 >> 2] | 0, HEAP32[$image_height >> 2] | 0) | 0, HEAP32[$compptr$170 + 40 >> 2] | 0) | 0; + $call65 = _jdiv_round_up($mul61, Math_imul(HEAP32[$block_size >> 2] | 0, HEAP32[$max_v_samp_factor62 >> 2] | 0) | 0) | 0; + HEAP32[$compptr$170 + 48 >> 2] = $call65; + $ci$169 = $ci$169 + 1 | 0; + $24 = HEAP32[$num_components >> 2] | 0; + if (($ci$169 | 0) >= ($24 | 0)) { + $$lcssa = $24; break; - } else { - $$0100117 = $$6; - $$0104116 = $$6110; - } + } else $compptr$170 = $compptr$170 + 88 | 0; } - if ((label | 0) == 25) { - $$0100$lcssa = $$6; - $$0104$lcssa = $$6110; - $$in = HEAP32[$43 >> 2] | 0; - $113 = HEAP32[$2 >> 2] | 0; - $115 = HEAP32[$48 >> 2] | 0; - break; - } else if ((label | 0) == 28) { - STACKTOP = sp; - return $$2 | 0; - } - } else { - $$0100$lcssa = $52; - $$0104$lcssa = $50; - $$in = $44; - $113 = $45; - $115 = $47; - } while (0); - HEAP32[$$in >> 2] = $113; - HEAP32[$$in + 4 >> 2] = $115; - HEAP32[$49 >> 2] = $$0104$lcssa; - HEAP32[$51 >> 2] = $$0100$lcssa; - HEAP32[$53 >> 2] = HEAP32[$3 >> 2]; - HEAP32[$53 + 4 >> 2] = HEAP32[$3 + 4 >> 2]; - HEAP32[$53 + 8 >> 2] = HEAP32[$3 + 8 >> 2]; - HEAP32[$53 + 12 >> 2] = HEAP32[$3 + 12 >> 2]; - HEAP32[$53 + 16 >> 2] = HEAP32[$3 + 16 >> 2]; + } else $$lcssa = $5; + } else $$lcssa = $5; + $25 = HEAP32[$cinfo + 44 >> 2] | 0; + switch ($25 | 0) { + case 1: + { + $$lcssa$sink = $25; + break; + } + case 6: + case 2: + { + $$lcssa$sink = 3; + break; + } + case 7: + case 3: + { + $$lcssa$sink = 3; + break; + } + case 5: + case 4: + { + $$lcssa$sink = 4; + break; + } + default: + $$lcssa$sink = $$lcssa; } - $116 = $5 + 44 | 0; - HEAP32[$116 >> 2] = (HEAP32[$116 >> 2] | 0) + -1; - $$2 = 1; - STACKTOP = sp; - return $$2 | 0; + HEAP32[$cinfo + 120 >> 2] = $$lcssa$sink; + HEAP32[$cinfo + 124 >> 2] = (HEAP32[$cinfo + 84 >> 2] | 0) == 0 ? $$lcssa$sink : 1; + if (!(_use_merged_upsample($cinfo) | 0)) { + $$sink = 1; + $28 = $cinfo + 128 | 0; + HEAP32[$28 >> 2] = $$sink; + return; + } + $$sink = HEAP32[$cinfo + 320 >> 2] | 0; + $28 = $cinfo + 128 | 0; + HEAP32[$28 >> 2] = $$sink; + return; } -function _decompress_onepass($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $$0101123 = 0, $$0102113$us = 0, $$0103121 = 0, $$0104115$us = 0, $$0105120 = 0, $$0106128 = 0, $$0107114 = 0, $$0107114$us = 0, $$0108112$us = 0, $$1116 = 0, $$1116$us = 0, $$2 = 0, $$pre$phiZ2D = 0, $$pre137 = 0, $$sink = 0, $10 = 0, $102 = 0, $104 = 0, $105 = 0, $11 = 0, $112 = 0, $12 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $13 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $24 = 0, $3 = 0, $35 = 0, $37 = 0, $39 = 0, $48 = 0, $50 = 0, $51 = 0, $53 = 0, $54 = 0, $55 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $63 = 0, $64 = 0, $7 = 0, $77 = 0, $8 = 0, $80 = 0, $87 = 0, $9 = 0, $92 = 0, $93 = 0, $95 = 0, $97 = 0, $98 = 0, label = 0; - $2 = $0 + 452 | 0; - $3 = HEAP32[$2 >> 2] | 0; - $6 = (HEAP32[$0 + 360 >> 2] | 0) + -1 | 0; - $7 = $0 + 332 | 0; - $8 = HEAP32[$7 >> 2] | 0; - $9 = $8 + -1 | 0; - $10 = $3 + 24 | 0; - $11 = HEAP32[$10 >> 2] | 0; - $12 = $3 + 28 | 0; - $13 = HEAP32[$12 >> 2] | 0; - do if (($11 | 0) < ($13 | 0)) { - $15 = $3 + 20 | 0; - $16 = $0 + 436 | 0; - $17 = $0 + 468 | 0; - $18 = $3 + 32 | 0; - $19 = $0 + 368 | 0; - $20 = $0 + 340 | 0; - $21 = $0 + 472 | 0; - $22 = $0 + 148 | 0; - $$0106128 = $11; - $123 = $13; - $24 = HEAP32[$15 >> 2] | 0; - L3 : while (1) { - if ($24 >>> 0 > $6 >>> 0) $97 = $123; else { - $$0101123 = $24; - while (1) { - if (HEAP32[$16 >> 2] | 0) _memset(HEAP32[$18 >> 2] | 0, 0, HEAP32[$19 >> 2] << 7 | 0) | 0; - if (!(FUNCTION_TABLE_iii[HEAP32[(HEAP32[$17 >> 2] | 0) + 4 >> 2] & 127]($0, $18) | 0)) break L3; - $35 = HEAP32[$20 >> 2] | 0; - if (($35 | 0) > 0) { - $37 = $$0101123 >>> 0 < $6 >>> 0; - $$0103121 = 0; - $$0105120 = 0; - $124 = $35; +function _QRM($a, $dv) { + $a = $a | 0; + $dv = $dv | 0; + var $$pre = 0, $0 = 0, $12 = 0, $14 = 0.0, $15 = 0.0, $16 = 0.0, $19 = 0.0, $23 = 0.0, $24 = 0.0, $27 = 0.0, $28 = 0, $29 = 0.0, $30 = 0.0, $31 = 0.0, $32 = 0.0, $35 = 0.0, $37 = 0.0, $4 = 0, $40 = 0, $41 = 0.0, $42 = 0.0, $43 = 0, $44 = 0.0, $6 = 0.0, $7 = 0, $9 = 0.0, $add193 = 0, $add88 = 0, $arrayidx109 = 0, $arrayidx133 = 0, $arrayidx138 = 0, $arrayidx164 = 0, $arrayidx192 = 0, $arrayidx37 = 0, $arrayidx39 = 0, $arrayidx42 = 0, $arrayidx62 = 0, $arrayidx86 = 0, $arrayidx89 = 0, $arrayidx95 = 0, $c$0 = 0.0, $call = 0, $cmp199 = 0, $div = 0.0, $div71 = 0.0, $div74 = 0.0, $div79 = 0.0, $div82 = 0.0, $ev1 = 0, $h$0 = 0, $h$1 = 0, $i$0 = 0, $i$1 = 0, $i$2 = 0, $iter$0 = 0, $j$0 = 0, $k$0 = 0, $k$1 = 0, $mul131 = 0, $mul136 = 0, $mul45 = 0.0, $mul98 = 0.0, $retval$0 = 0, $s$1 = 0.0, $sub = 0, $sub24 = 0, $sub90 = 0.0, $t$0 = 0.0, $v1$0 = 0, $v2$0 = 0, $x$0 = 0.0, $x$0$be = 0.0, $x$1 = 0.0, $y$0 = 0.0, $y$0$be = 0.0, $y$1 = 0.0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $ev1 = sp; + $0 = HEAP32[$a + 4 >> 2] | 0; + do if ((!(($0 | 0) < 2 ? 1 : ($0 | 0) != (HEAP32[$a + 8 >> 2] | 0)) ? (HEAP32[$dv + 4 >> 2] | 0) == ($0 | 0) : 0) ? ($call = _arVecAlloc($0) | 0, ($call | 0) != 0) : 0) { + $sub = $0 + -1 | 0; + HEAP32[$ev1 + 4 >> 2] = $sub; + HEAP32[$ev1 >> 2] = (HEAP32[$call >> 2] | 0) + 8; + if ((_arVecTridiagonalize($a, $dv, $ev1) | 0) < 0) { + _arVecFree($call) | 0; + $retval$0 = -1; + break; + } + $4 = HEAP32[$call >> 2] | 0; + HEAPF64[$4 >> 3] = 0.0; + $h$0 = $sub; + while (1) { + if (($h$0 | 0) <= 0) break; + $j$0 = $h$0; + while (1) { + if (($j$0 | 0) <= 0) break; + $6 = +Math_abs(+(+HEAPF64[$4 + ($j$0 << 3) >> 3])); + $7 = HEAP32[$dv >> 2] | 0; + $sub24 = $j$0 + -1 | 0; + $9 = +Math_abs(+(+HEAPF64[$7 + ($sub24 << 3) >> 3])); + if ($6 > ($9 + +Math_abs(+(+HEAPF64[$7 + ($j$0 << 3) >> 3]))) * 1.0e-06) $j$0 = $sub24; else break; + } + $$pre = $h$0 + -1 | 0; + L15 : do if (($j$0 | 0) != ($h$0 | 0)) { + $arrayidx42 = $4 + ($h$0 << 3) | 0; + $arrayidx62 = $4 + ($j$0 + 1 << 3) | 0; + $iter$0 = 0; + do { + if ($iter$0 >>> 0 > 99) break L15; + $iter$0 = $iter$0 + 1 | 0; + $12 = HEAP32[$dv >> 2] | 0; + $arrayidx37 = $12 + ($$pre << 3) | 0; + $arrayidx39 = $12 + ($h$0 << 3) | 0; + $14 = +HEAPF64[$arrayidx39 >> 3]; + $div = (+HEAPF64[$arrayidx37 >> 3] - $14) * .5; + $15 = +HEAPF64[$arrayidx42 >> 3]; + $mul45 = $15 * $15; + $16 = +Math_sqrt(+($mul45 + $div * $div)); + $k$0 = $j$0; + $x$0 = +HEAPF64[$12 + ($j$0 << 3) >> 3] - $14 + $mul45 / ($div + ($div < 0.0 ? -$16 : $16)); + $y$0 = +HEAPF64[$arrayidx62 >> 3]; + while (1) { + if (($k$0 | 0) >= ($h$0 | 0)) break; + $19 = +Math_abs(+$x$0); + if ($19 >= +Math_abs(+$y$0)) if ($19 > 1.0e-16) { + $div71 = -$y$0 / $x$0; + $div74 = 1.0 / +Math_sqrt(+($div71 * $div71 + 1.0)); + $c$0 = $div74; + $s$1 = $div71 * $div74; + } else { + $c$0 = 1.0; + $s$1 = 0.0; + } else { + $div79 = -$x$0 / $y$0; + $div82 = 1.0 / +Math_sqrt(+($div79 * $div79 + 1.0)); + $c$0 = $div79 * $div82; + $s$1 = $div82; + } + $arrayidx86 = $12 + ($k$0 << 3) | 0; + $23 = +HEAPF64[$arrayidx86 >> 3]; + $add88 = $k$0 + 1 | 0; + $arrayidx89 = $12 + ($add88 << 3) | 0; + $24 = +HEAPF64[$arrayidx89 >> 3]; + $sub90 = $23 - $24; + $arrayidx95 = $4 + ($add88 << 3) | 0; + $mul98 = $s$1 * ($s$1 * $sub90 + $c$0 * 2.0 * +HEAPF64[$arrayidx95 >> 3]); + HEAPF64[$arrayidx86 >> 3] = $23 - $mul98; + HEAPF64[$arrayidx89 >> 3] = $24 + $mul98; + $arrayidx109 = $4 + ($k$0 << 3) | 0; + if (($k$0 | 0) > ($j$0 | 0)) HEAPF64[$arrayidx109 >> 3] = $c$0 * +HEAPF64[$arrayidx109 >> 3] - $y$0 * $s$1; + $27 = +HEAPF64[$arrayidx95 >> 3]; + HEAPF64[$arrayidx95 >> 3] = $27 + $s$1 * ($c$0 * $sub90 - $s$1 * 2.0 * $27); + $mul131 = Math_imul($k$0, $0) | 0; + $mul136 = Math_imul($add88, $0) | 0; + $i$0 = 0; + $x$1 = $x$0; + $y$1 = $y$0; while (1) { - $39 = HEAP32[$0 + 344 + ($$0105120 << 2) >> 2] | 0; - L17 : do if (HEAP32[$39 + 52 >> 2] | 0) { - $48 = HEAP32[$39 + 4 >> 2] | 0; - $50 = HEAP32[(HEAP32[$21 >> 2] | 0) + 4 + ($48 << 2) >> 2] | 0; - $51 = $39 + 56 | 0; - $53 = HEAP32[($37 ? $51 : $39 + 72 | 0) >> 2] | 0; - $54 = $39 + 40 | 0; - $55 = HEAP32[$54 >> 2] | 0; - $58 = Math_imul(HEAP32[$39 + 68 >> 2] | 0, $$0101123) | 0; - $59 = $39 + 60 | 0; - $60 = HEAP32[$59 >> 2] | 0; - if (($60 | 0) > 0) { - $63 = $39 + 76 | 0; - $64 = $39 + 36 | 0; - if (($53 | 0) <= 0) { - $$pre137 = HEAP32[$51 >> 2] | 0; - $$0107114 = 0; - $$1116 = $$0103121; - while (1) { - $87 = $$pre137 + $$1116 | 0; - $$0107114 = $$0107114 + 1 | 0; - if (($$0107114 | 0) >= ($60 | 0)) { - $$2 = $87; - $92 = $124; - break L17; - } else $$1116 = $87; - } - } - $$0104115$us = (HEAP32[$1 + ($48 << 2) >> 2] | 0) + ((Math_imul($55, $$0106128) | 0) << 2) | 0; - $$0107114$us = 0; - $$1116$us = $$0103121; - $125 = $60; - $126 = $55; - while (1) { - if ((HEAP32[$22 >> 2] | 0) >>> 0 >= $9 >>> 0 ? ($$0107114$us + $$0106128 | 0) >= (HEAP32[$63 >> 2] | 0) : 0) { - $77 = $126; - $80 = $125; - } else { - $$0102113$us = $58; - $$0108112$us = 0; - while (1) { - FUNCTION_TABLE_viiiii[$50 & 63]($0, $39, HEAP32[$3 + 32 + ($$0108112$us + $$1116$us << 2) >> 2] | 0, $$0104115$us, $$0102113$us); - $$0108112$us = $$0108112$us + 1 | 0; - if (($$0108112$us | 0) == ($53 | 0)) break; else $$0102113$us = (HEAP32[$64 >> 2] | 0) + $$0102113$us | 0; - } - $77 = HEAP32[$54 >> 2] | 0; - $80 = HEAP32[$59 >> 2] | 0; - } - $$1116$us = (HEAP32[$51 >> 2] | 0) + $$1116$us | 0; - $$0107114$us = $$0107114$us + 1 | 0; - if (($$0107114$us | 0) >= ($80 | 0)) break; else { - $$0104115$us = $$0104115$us + ($77 << 2) | 0; - $125 = $80; - $126 = $77; - } - } - $$2 = $$1116$us; - $92 = HEAP32[$20 >> 2] | 0; - } else { - $$2 = $$0103121; - $92 = $124; - } - } else { - $$2 = (HEAP32[$39 + 64 >> 2] | 0) + $$0103121 | 0; - $92 = $124; - } while (0); - $$0105120 = $$0105120 + 1 | 0; - if (($$0105120 | 0) >= ($92 | 0)) break; else { - $$0103121 = $$2; - $124 = $92; - } + if (($i$0 | 0) == ($0 | 0)) break; + $28 = HEAP32[$a >> 2] | 0; + $arrayidx133 = $28 + ($i$0 + $mul131 << 3) | 0; + $29 = +HEAPF64[$arrayidx133 >> 3]; + $arrayidx138 = $28 + ($i$0 + $mul136 << 3) | 0; + $30 = +HEAPF64[$arrayidx138 >> 3]; + HEAPF64[$arrayidx133 >> 3] = $c$0 * $29 - $s$1 * $30; + HEAPF64[$arrayidx138 >> 3] = $s$1 * $29 + $c$0 * $30; + $i$0 = $i$0 + 1 | 0; + $x$1 = $29; + $y$1 = $30; + } + if (($k$0 | 0) < ($$pre | 0)) { + $31 = +HEAPF64[$arrayidx95 >> 3]; + $arrayidx164 = $4 + ($k$0 + 2 << 3) | 0; + $32 = +HEAPF64[$arrayidx164 >> 3]; + HEAPF64[$arrayidx164 >> 3] = $c$0 * $32; + $x$0$be = $31; + $y$0$be = -($s$1 * $32); + } else { + $x$0$be = $x$1; + $y$0$be = $y$1; } + $k$0 = $add88; + $x$0 = $x$0$be; + $y$0 = $y$0$be; } - $93 = $$0101123 + 1 | 0; - if ($93 >>> 0 > $6 >>> 0) break; else $$0101123 = $93; - } - $97 = HEAP32[$12 >> 2] | 0; - } - HEAP32[$15 >> 2] = 0; - $95 = $$0106128 + 1 | 0; - if (($95 | 0) < ($97 | 0)) { - $$0106128 = $95; - $123 = $97; - $24 = 0; - } else { - label = 30; - break; + $35 = +Math_abs(+(+HEAPF64[$arrayidx42 >> 3])); + $37 = +Math_abs(+(+HEAPF64[$arrayidx37 >> 3])); + } while ($35 > ($37 + +Math_abs(+(+HEAPF64[$arrayidx39 >> 3]))) * 1.0e-06); + } while (0); + $h$0 = $$pre; + } + $k$1 = 0; + while (1) { + if (($k$1 | 0) == ($sub | 0)) break; + $40 = HEAP32[$dv >> 2] | 0; + $arrayidx192 = $40 + ($k$1 << 3) | 0; + $41 = +HEAPF64[$arrayidx192 >> 3]; + $add193 = $k$1 + 1 | 0; + $h$1 = $k$1; + $i$1 = $add193; + $t$0 = $41; + while (1) { + if (($i$1 | 0) >= ($0 | 0)) break; + $42 = +HEAPF64[$40 + ($i$1 << 3) >> 3]; + $cmp199 = $42 > $t$0; + $h$1 = $cmp199 ? $i$1 : $h$1; + $i$1 = $i$1 + 1 | 0; + $t$0 = $cmp199 ? $42 : $t$0; + } + HEAPF64[$40 + ($h$1 << 3) >> 3] = $41; + HEAPF64[$arrayidx192 >> 3] = $t$0; + $43 = HEAP32[$a >> 2] | 0; + $i$2 = 0; + $v1$0 = $43 + ((Math_imul($h$1, $0) | 0) << 3) | 0; + $v2$0 = $43 + ((Math_imul($k$1, $0) | 0) << 3) | 0; + while (1) { + if (($i$2 | 0) == ($0 | 0)) break; + $44 = +HEAPF64[$v1$0 >> 3]; + HEAPF64[$v1$0 >> 3] = +HEAPF64[$v2$0 >> 3]; + HEAPF64[$v2$0 >> 3] = $44; + $i$2 = $i$2 + 1 | 0; + $v1$0 = $v1$0 + 8 | 0; + $v2$0 = $v2$0 + 8 | 0; } + $k$1 = $add193; } - if ((label | 0) == 30) { - $$pre$phiZ2D = $22; - $104 = HEAP32[$7 >> 2] | 0; - break; + _arVecFree($call) | 0; + $retval$0 = 0; + } else $retval$0 = -1; while (0); + STACKTOP = sp; + return $retval$0 | 0; +} + +function _jpeg_idct_float($cinfo, $compptr, $coef_block, $output_buf, $output_col) { + $cinfo = $cinfo | 0; + $compptr = $compptr | 0; + $coef_block = $coef_block | 0; + $output_buf = $output_buf | 0; + $output_col = $output_col | 0; + var $$sink = 0, $0 = 0, $15 = 0, $2 = 0, $3 = 0, $30 = 0.0, $31 = 0.0, $32 = 0.0, $33 = 0.0, $34 = 0.0, $35 = 0.0, $36 = 0.0, $add = 0.0, $add$ptr = 0, $add$ptr126 = 0, $add128 = 0.0, $add130 = 0.0, $add135 = 0.0, $add141 = 0.0, $add143 = 0.0, $add147 = 0.0, $add153 = 0.0, $add157 = 0.0, $add61 = 0.0, $add65 = 0.0, $add67 = 0.0, $add85 = 0.0, $add87 = 0.0, $add89 = 0.0, $ctr$0198 = 0, $ctr$1194 = 0, $inptr$0195 = 0, $mul = 0.0, $mul161 = 0.0, $mul48 = 0.0, $mul52 = 0.0, $mul56 = 0.0, $mul60 = 0.0, $mul72 = 0.0, $mul76 = 0.0, $mul80 = 0.0, $mul84 = 0.0, $mul93 = 0.0, $quantptr$0196 = 0, $sub = 0.0, $sub100 = 0.0, $sub115$sink = 0.0, $sub132 = 0.0, $sub140 = 0.0, $sub142 = 0.0, $sub144 = 0.0, $sub150 = 0.0, $sub156 = 0.0, $sub166 = 0.0, $sub167 = 0.0, $sub168 = 0.0, $sub64 = 0.0, $sub66 = 0.0, $sub68 = 0.0, $sub86 = 0.0, $sub88 = 0.0, $sub98 = 0.0, $sub99 = 0.0, $workspace = 0, $wsptr$0197 = 0, $wsptr$2193 = 0, label = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 256 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(256); + $workspace = sp; + $0 = HEAP32[$cinfo + 336 >> 2] | 0; + $ctr$0198 = 8; + $inptr$0195 = $coef_block; + $quantptr$0196 = HEAP32[$compptr + 84 >> 2] | 0; + $wsptr$0197 = $workspace; + while (1) { + $2 = HEAP16[$inptr$0195 + 16 >> 1] | 0; + $3 = HEAP16[$inptr$0195 + 32 >> 1] | 0; + if (!(($2 | $3) << 16 >> 16)) if (((((HEAP16[$inptr$0195 + 48 >> 1] | 0) == 0 ? (HEAP16[$inptr$0195 + 64 >> 1] | 0) == 0 : 0) ? (HEAP16[$inptr$0195 + 80 >> 1] | 0) == 0 : 0) ? (HEAP16[$inptr$0195 + 96 >> 1] | 0) == 0 : 0) ? (HEAP16[$inptr$0195 + 112 >> 1] | 0) == 0 : 0) { + $mul = +HEAPF32[$quantptr$0196 >> 2] * +(HEAP16[$inptr$0195 >> 1] | 0); + HEAPF32[$wsptr$0197 >> 2] = $mul; + HEAPF32[$wsptr$0197 + 32 >> 2] = $mul; + HEAPF32[$wsptr$0197 + 64 >> 2] = $mul; + HEAPF32[$wsptr$0197 + 96 >> 2] = $mul; + HEAPF32[$wsptr$0197 + 128 >> 2] = $mul; + HEAPF32[$wsptr$0197 + 160 >> 2] = $mul; + HEAPF32[$wsptr$0197 + 192 >> 2] = $mul; + $$sink = 56; + $sub115$sink = $mul; + } else { + $15 = 0; + label = 9; + } else { + $15 = $3; + label = 9; } - HEAP32[$10 >> 2] = $$0106128; - HEAP32[$15 >> 2] = $$0101123; - $$0 = 0; - return $$0 | 0; - } else { - $$pre$phiZ2D = $0 + 148 | 0; - $104 = $8; + if ((label | 0) == 9) { + label = 0; + $mul48 = +HEAPF32[$quantptr$0196 >> 2] * +(HEAP16[$inptr$0195 >> 1] | 0); + $mul52 = +HEAPF32[$quantptr$0196 + 64 >> 2] * +($15 << 16 >> 16); + $mul56 = +HEAPF32[$quantptr$0196 + 128 >> 2] * +(HEAP16[$inptr$0195 + 64 >> 1] | 0); + $mul60 = +HEAPF32[$quantptr$0196 + 192 >> 2] * +(HEAP16[$inptr$0195 + 96 >> 1] | 0); + $add = $mul48 + $mul56; + $sub = $mul48 - $mul56; + $add61 = $mul52 + $mul60; + $sub64 = ($mul52 - $mul60) * 1.4142135381698608 - $add61; + $add65 = $add + $add61; + $sub66 = $add - $add61; + $add67 = $sub + $sub64; + $sub68 = $sub - $sub64; + $mul72 = +HEAPF32[$quantptr$0196 + 32 >> 2] * +($2 << 16 >> 16); + $mul76 = +HEAPF32[$quantptr$0196 + 96 >> 2] * +(HEAP16[$inptr$0195 + 48 >> 1] | 0); + $mul80 = +HEAPF32[$quantptr$0196 + 160 >> 2] * +(HEAP16[$inptr$0195 + 80 >> 1] | 0); + $mul84 = +HEAPF32[$quantptr$0196 + 224 >> 2] * +(HEAP16[$inptr$0195 + 112 >> 1] | 0); + $add85 = $mul76 + $mul80; + $sub86 = $mul80 - $mul76; + $add87 = $mul72 + $mul84; + $sub88 = $mul72 - $mul84; + $add89 = $add85 + $add87; + $mul93 = ($sub86 + $sub88) * 1.8477590084075928; + $sub98 = $mul93 - $sub86 * 2.613126039505005 - $add89; + $sub99 = ($add87 - $add85) * 1.4142135381698608 - $sub98; + $sub100 = $mul93 - $sub88 * 1.0823922157287598 - $sub99; + HEAPF32[$wsptr$0197 >> 2] = $add65 + $add89; + HEAPF32[$wsptr$0197 + 224 >> 2] = $add65 - $add89; + HEAPF32[$wsptr$0197 + 32 >> 2] = $add67 + $sub98; + HEAPF32[$wsptr$0197 + 192 >> 2] = $add67 - $sub98; + HEAPF32[$wsptr$0197 + 64 >> 2] = $sub68 + $sub99; + HEAPF32[$wsptr$0197 + 160 >> 2] = $sub68 - $sub99; + HEAPF32[$wsptr$0197 + 96 >> 2] = $sub66 + $sub100; + $$sink = 32; + $sub115$sink = $sub66 - $sub100; + } + HEAPF32[$wsptr$0197 + ($$sink << 2) >> 2] = $sub115$sink; + if ($ctr$0198 >>> 0 > 1) { + $ctr$0198 = $ctr$0198 + -1 | 0; + $inptr$0195 = $inptr$0195 + 2 | 0; + $quantptr$0196 = $quantptr$0196 + 4 | 0; + $wsptr$0197 = $wsptr$0197 + 4 | 0; + } else break; + } + $add$ptr = $0 + -384 | 0; + $ctr$1194 = 0; + $wsptr$2193 = $workspace; + while (1) { + $add$ptr126 = (HEAP32[$output_buf + ($ctr$1194 << 2) >> 2] | 0) + $output_col | 0; + $add128 = +HEAPF32[$wsptr$2193 >> 2] + 512.5; + $30 = +HEAPF32[$wsptr$2193 + 16 >> 2]; + $add130 = $add128 + $30; + $sub132 = $add128 - $30; + $31 = +HEAPF32[$wsptr$2193 + 8 >> 2]; + $32 = +HEAPF32[$wsptr$2193 + 24 >> 2]; + $add135 = $31 + $32; + $sub140 = ($31 - $32) * 1.4142135381698608 - $add135; + $add141 = $add130 + $add135; + $sub142 = $add130 - $add135; + $add143 = $sub132 + $sub140; + $sub144 = $sub132 - $sub140; + $33 = +HEAPF32[$wsptr$2193 + 20 >> 2]; + $34 = +HEAPF32[$wsptr$2193 + 12 >> 2]; + $add147 = $33 + $34; + $sub150 = $33 - $34; + $35 = +HEAPF32[$wsptr$2193 + 4 >> 2]; + $36 = +HEAPF32[$wsptr$2193 + 28 >> 2]; + $add153 = $35 + $36; + $sub156 = $35 - $36; + $add157 = $add147 + $add153; + $mul161 = ($sub150 + $sub156) * 1.8477590084075928; + $sub166 = $mul161 - $sub150 * 2.613126039505005 - $add157; + $sub167 = ($add153 - $add147) * 1.4142135381698608 - $sub166; + $sub168 = $mul161 - $sub156 * 1.0823922157287598 - $sub167; + HEAP8[$add$ptr126 >> 0] = HEAP8[$add$ptr + (~~($add141 + $add157) & 1023) >> 0] | 0; + HEAP8[$add$ptr126 + 7 >> 0] = HEAP8[$add$ptr + (~~($add141 - $add157) & 1023) >> 0] | 0; + HEAP8[$add$ptr126 + 1 >> 0] = HEAP8[$add$ptr + (~~($add143 + $sub166) & 1023) >> 0] | 0; + HEAP8[$add$ptr126 + 6 >> 0] = HEAP8[$add$ptr + (~~($add143 - $sub166) & 1023) >> 0] | 0; + HEAP8[$add$ptr126 + 2 >> 0] = HEAP8[$add$ptr + (~~($sub144 + $sub167) & 1023) >> 0] | 0; + HEAP8[$add$ptr126 + 5 >> 0] = HEAP8[$add$ptr + (~~($sub144 - $sub167) & 1023) >> 0] | 0; + HEAP8[$add$ptr126 + 3 >> 0] = HEAP8[$add$ptr + (~~($sub142 + $sub168) & 1023) >> 0] | 0; + HEAP8[$add$ptr126 + 4 >> 0] = HEAP8[$add$ptr + (~~($sub142 - $sub168) & 1023) >> 0] | 0; + $ctr$1194 = $ctr$1194 + 1 | 0; + if (($ctr$1194 | 0) == 8) break; else $wsptr$2193 = $wsptr$2193 + 32 | 0; + } + STACKTOP = sp; + return; +} + +function _process_data_context_main($cinfo, $output_buf, $out_row_ctr, $out_rows_avail) { + $cinfo = $cinfo | 0; + $output_buf = $output_buf | 0; + $out_row_ctr = $out_row_ctr | 0; + $out_rows_avail = $out_rows_avail | 0; + var $0 = 0, $16 = 0, $19 = 0, $20 = 0, $27 = 0, $37 = 0, $38 = 0, $39 = 0, $44 = 0, $46 = 0, $52 = 0, $add$i52 = 0, $add10$i = 0, $add20$i = 0, $add22$i = 0, $arrayidx$i = 0, $arrayidx$i51 = 0, $arrayidx12$i = 0, $arrayidx4$i = 0, $buffer_full = 0, $ci$033$i = 0, $ci$047$i = 0, $compptr$032$i = 0, $compptr$046$i = 0, $context_state = 0, $div$i = 0, $div$i57 = 0, $i$030$i = 0, $i$044$i = 0, $iMCU_row_ctr = 0, $main = 0, $mul$i = 0, $mul21$i = 0, $mul8$i = 0, $mul9$i = 0, $rem$i = 0, $rowgroup_ctr = 0, $rowgroup_ctr17$pre$phiZ2D = 0, $rowgroup_ctr30$pre$phiZ2D = 0, $rowgroups_avail = 0, $rowgroups_avail$i = 0, $rowgroups_avail18$pre$phiZ2D = 0, $rowgroups_avail31$pre$phiZ2D = 0, $spec$select$i = 0, $sub$i59 = 0, $whichptr28 = 0, label = 0; + $main = $cinfo + 448 | 0; + $0 = HEAP32[$main >> 2] | 0; + $buffer_full = $0 + 56 | 0; + do if (!(HEAP32[$buffer_full >> 2] | 0)) if (!(FUNCTION_TABLE_iii[HEAP32[(HEAP32[$cinfo + 452 >> 2] | 0) + 12 >> 2] & 127]($cinfo, HEAP32[$0 + 60 + (HEAP32[$0 + 68 >> 2] << 2) >> 2] | 0) | 0)) return; else { + HEAP32[$buffer_full >> 2] = 1; + $iMCU_row_ctr = $0 + 76 | 0; + HEAP32[$iMCU_row_ctr >> 2] = (HEAP32[$iMCU_row_ctr >> 2] | 0) + 1; + break; } while (0); - $98 = $0 + 156 | 0; - HEAP32[$98 >> 2] = (HEAP32[$98 >> 2] | 0) + 1; - $102 = (HEAP32[$$pre$phiZ2D >> 2] | 0) + 1 | 0; - HEAP32[$$pre$phiZ2D >> 2] = $102; - if ($102 >>> 0 >= $104 >>> 0) { - FUNCTION_TABLE_vi[HEAP32[(HEAP32[$0 + 460 >> 2] | 0) + 12 >> 2] & 255]($0); - $$0 = 4; - return $$0 | 0; - } - $105 = HEAP32[$2 >> 2] | 0; - if ((HEAP32[$0 + 340 >> 2] | 0) > 1) $$sink = 1; else { - $112 = HEAP32[$0 + 344 >> 2] | 0; - $$sink = HEAP32[($102 >>> 0 < ($104 + -1 | 0) >>> 0 ? $112 + 12 | 0 : $112 + 76 | 0) >> 2] | 0; - } - HEAP32[$105 + 28 >> 2] = $$sink; - HEAP32[$105 + 20 >> 2] = 0; - HEAP32[$105 + 24 >> 2] = 0; - $$0 = 3; - return $$0 | 0; -} - -function _jpeg_idct_7x14($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $$0270278 = 0, $$0272277 = 0, $$0273276 = 0, $$0279 = 0, $$1271274 = 0, $$1275 = 0, $100 = 0, $103 = 0, $106 = 0, $108 = 0, $112 = 0, $115 = 0, $118 = 0, $15 = 0, $162 = 0, $165 = 0, $168 = 0, $170 = 0, $172 = 0, $174 = 0, $176 = 0, $178 = 0, $182 = 0, $183 = 0, $186 = 0, $189 = 0, $192 = 0, $196 = 0, $198 = 0, $200 = 0, $202 = 0, $204 = 0, $208 = 0, $209 = 0, $21 = 0, $211 = 0, $212 = 0, $215 = 0, $24 = 0, $25 = 0, $27 = 0, $30 = 0, $36 = 0, $42 = 0, $44 = 0, $46 = 0, $48 = 0, $5 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $63 = 0, $69 = 0, $7 = 0, $75 = 0, $81 = 0, $82 = 0, $83 = 0, $85 = 0, $86 = 0, $90 = 0, $91 = 0, $94 = 0, $96 = 0, $97 = 0, sp = 0; + $context_state = $0 + 72 | 0; + switch (HEAP32[$context_state >> 2] | 0) { + case 2: + { + $rowgroup_ctr = $0 + 48 | 0; + $rowgroups_avail = $0 + 52 | 0; + FUNCTION_TABLE_viiiiiii[HEAP32[(HEAP32[$cinfo + 456 >> 2] | 0) + 4 >> 2] & 7]($cinfo, HEAP32[$0 + 60 + (HEAP32[$0 + 68 >> 2] << 2) >> 2] | 0, $rowgroup_ctr, HEAP32[$rowgroups_avail >> 2] | 0, $output_buf, $out_row_ctr, $out_rows_avail); + if ((HEAP32[$rowgroup_ctr >> 2] | 0) >>> 0 < (HEAP32[$rowgroups_avail >> 2] | 0) >>> 0) return; + HEAP32[$context_state >> 2] = 0; + if ((HEAP32[$out_row_ctr >> 2] | 0) >>> 0 < $out_rows_avail >>> 0) { + $rowgroup_ctr17$pre$phiZ2D = $rowgroup_ctr; + $rowgroups_avail18$pre$phiZ2D = $rowgroups_avail; + label = 9; + } else return; + break; + } + case 0: + { + $rowgroup_ctr17$pre$phiZ2D = $0 + 48 | 0; + $rowgroups_avail18$pre$phiZ2D = $0 + 52 | 0; + label = 9; + break; + } + case 1: + { + $rowgroup_ctr30$pre$phiZ2D = $0 + 48 | 0; + $rowgroups_avail31$pre$phiZ2D = $0 + 52 | 0; + break; + } + default: + return; + } + if ((label | 0) == 9) { + HEAP32[$rowgroup_ctr17$pre$phiZ2D >> 2] = 0; + $16 = HEAP32[$cinfo + 328 >> 2] | 0; + HEAP32[$rowgroups_avail18$pre$phiZ2D >> 2] = $16 + -1; + if ((HEAP32[$0 + 76 >> 2] | 0) == (HEAP32[$cinfo + 332 >> 2] | 0) ? ($19 = HEAP32[$main >> 2] | 0, $20 = HEAP32[$cinfo + 36 >> 2] | 0, ($20 | 0) > 0) : 0) { + $rowgroups_avail$i = $19 + 52 | 0; + $arrayidx$i = $19 + 60 + (HEAP32[$19 + 68 >> 2] << 2) | 0; + $ci$033$i = 0; + $compptr$032$i = HEAP32[$cinfo + 216 >> 2] | 0; + while (1) { + $mul$i = Math_imul(HEAP32[$compptr$032$i + 40 >> 2] | 0, HEAP32[$compptr$032$i + 12 >> 2] | 0) | 0; + $div$i = ($mul$i | 0) / ($16 | 0) | 0; + $rem$i = ((HEAP32[$compptr$032$i + 48 >> 2] | 0) >>> 0) % ($mul$i >>> 0) | 0; + $spec$select$i = ($rem$i | 0) == 0 ? $mul$i : $rem$i; + if (!$ci$033$i) HEAP32[$rowgroups_avail$i >> 2] = (($spec$select$i + -1 | 0) / ($div$i | 0) | 0) + 1; + $27 = HEAP32[(HEAP32[$arrayidx$i >> 2] | 0) + ($ci$033$i << 2) >> 2] | 0; + $mul8$i = $div$i << 1; + if (($div$i | 0) > 0) { + $arrayidx12$i = $27 + ($spec$select$i + -1 << 2) | 0; + $i$030$i = 0; + do { + HEAP32[$27 + ($i$030$i + $spec$select$i << 2) >> 2] = HEAP32[$arrayidx12$i >> 2]; + $i$030$i = $i$030$i + 1 | 0; + } while (($i$030$i | 0) < ($mul8$i | 0)); + } + $ci$033$i = $ci$033$i + 1 | 0; + if (($ci$033$i | 0) == ($20 | 0)) break; else $compptr$032$i = $compptr$032$i + 88 | 0; + } + } + HEAP32[$context_state >> 2] = 1; + $rowgroup_ctr30$pre$phiZ2D = $rowgroup_ctr17$pre$phiZ2D; + $rowgroups_avail31$pre$phiZ2D = $rowgroups_avail18$pre$phiZ2D; + } + $whichptr28 = $0 + 68 | 0; + FUNCTION_TABLE_viiiiiii[HEAP32[(HEAP32[$cinfo + 456 >> 2] | 0) + 4 >> 2] & 7]($cinfo, HEAP32[$0 + 60 + (HEAP32[$whichptr28 >> 2] << 2) >> 2] | 0, $rowgroup_ctr30$pre$phiZ2D, HEAP32[$rowgroups_avail31$pre$phiZ2D >> 2] | 0, $output_buf, $out_row_ctr, $out_rows_avail); + if ((HEAP32[$rowgroup_ctr30$pre$phiZ2D >> 2] | 0) >>> 0 < (HEAP32[$rowgroups_avail31$pre$phiZ2D >> 2] | 0) >>> 0) return; + if ((HEAP32[$0 + 76 >> 2] | 0) == 1) { + $37 = HEAP32[$main >> 2] | 0; + $38 = HEAP32[$cinfo + 328 >> 2] | 0; + $39 = HEAP32[$cinfo + 36 >> 2] | 0; + if (($39 | 0) > 0) { + $arrayidx$i51 = $37 + 60 | 0; + $arrayidx4$i = $37 + 64 | 0; + $add$i52 = $38 + 1 | 0; + $add20$i = $38 + 2 | 0; + $ci$047$i = 0; + $compptr$046$i = HEAP32[$cinfo + 216 >> 2] | 0; + while (1) { + $div$i57 = (Math_imul(HEAP32[$compptr$046$i + 40 >> 2] | 0, HEAP32[$compptr$046$i + 12 >> 2] | 0) | 0) / ($38 | 0) | 0; + $44 = HEAP32[(HEAP32[$arrayidx$i51 >> 2] | 0) + ($ci$047$i << 2) >> 2] | 0; + $46 = HEAP32[(HEAP32[$arrayidx4$i >> 2] | 0) + ($ci$047$i << 2) >> 2] | 0; + if (($div$i57 | 0) > 0) { + $mul9$i = Math_imul($div$i57, $add$i52) | 0; + $mul21$i = Math_imul($div$i57, $add20$i) | 0; + $i$044$i = 0; + do { + $add10$i = $i$044$i + $mul9$i | 0; + $sub$i59 = $i$044$i - $div$i57 | 0; + HEAP32[$44 + ($sub$i59 << 2) >> 2] = HEAP32[$44 + ($add10$i << 2) >> 2]; + HEAP32[$46 + ($sub$i59 << 2) >> 2] = HEAP32[$46 + ($add10$i << 2) >> 2]; + $add22$i = $i$044$i + $mul21$i | 0; + HEAP32[$44 + ($add22$i << 2) >> 2] = HEAP32[$44 + ($i$044$i << 2) >> 2]; + HEAP32[$46 + ($add22$i << 2) >> 2] = HEAP32[$46 + ($i$044$i << 2) >> 2]; + $i$044$i = $i$044$i + 1 | 0; + } while (($i$044$i | 0) != ($div$i57 | 0)); + } + $ci$047$i = $ci$047$i + 1 | 0; + if (($ci$047$i | 0) == ($39 | 0)) { + $52 = $38; + break; + } else $compptr$046$i = $compptr$046$i + 88 | 0; + } + } else $52 = $38; + } else $52 = HEAP32[$cinfo + 328 >> 2] | 0; + HEAP32[$whichptr28 >> 2] = HEAP32[$whichptr28 >> 2] ^ 1; + HEAP32[$buffer_full >> 2] = 0; + HEAP32[$rowgroup_ctr30$pre$phiZ2D >> 2] = $52 + 1; + HEAP32[$rowgroups_avail31$pre$phiZ2D >> 2] = $52 + 2; + HEAP32[$context_state >> 2] = 2; + return; +} + +function __ZN6vision14ExtractFREAK84ERNS_18BinaryFeatureStoreEPKNS_25GaussianScaleSpacePyramidERKNSt3__26vectorINS_12FeaturePointENS5_9allocatorIS7_EEEEPKfSE_SE_SE_SE_SE_ffffffff($store, $pyramid, $points, $points_ring0, $points_ring1, $points_ring2, $points_ring3, $points_ring4, $points_ring5, $sigma_center, $sigma_ring0, $sigma_ring1, $sigma_ring2, $sigma_ring3, $sigma_ring4, $sigma_ring5, $expansion_factor) { + $store = $store | 0; + $pyramid = $pyramid | 0; + $points = $points | 0; + $points_ring0 = $points_ring0 | 0; + $points_ring1 = $points_ring1 | 0; + $points_ring2 = $points_ring2 | 0; + $points_ring3 = $points_ring3 | 0; + $points_ring4 = $points_ring4 | 0; + $points_ring5 = $points_ring5 | 0; + $sigma_center = +$sigma_center; + $sigma_ring0 = +$sigma_ring0; + $sigma_ring1 = +$sigma_ring1; + $sigma_ring2 = +$sigma_ring2; + $sigma_ring3 = +$sigma_ring3; + $sigma_ring4 = +$sigma_ring4; + $sigma_ring5 = +$sigma_ring5; + $expansion_factor = +$expansion_factor; + var $1 = 0, $2 = 0, $4 = 0, $5 = 0, $__end_$i = 0, $arrayidx$i33 = 0, $call$i1$i = 0, $call$i1$i42 = 0, $call$i1$i50 = 0, $call$i2$i = 0, $call$i2$i45 = 0, $call$i2$i53 = 0, $call16 = 0, $call22 = 0, $call28 = 0, $call39 = 0, $call5 = 0, $call8 = 0, $i$0 = 0, $num_points$0 = 0, $num_points$1 = 0, $ref$tmp$i49 = 0, $sub$ptr$div$i28 = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 400 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(400); - $5 = sp; - $7 = HEAP32[$0 + 336 >> 2] | 0; - $$0270278 = $5; - $$0272277 = HEAP32[$1 + 84 >> 2] | 0; - $$0273276 = $2; - $$0279 = 0; - while (1) { - $15 = Math_imul(HEAP16[$$0273276 >> 1] << 13, HEAP32[$$0272277 >> 2] | 0) | 0 | 1024; - $21 = Math_imul(HEAP32[$$0272277 + 128 >> 2] | 0, HEAP16[$$0273276 + 64 >> 1] | 0) | 0; - $24 = ($21 * 10438 | 0) + $15 | 0; - $25 = ($21 * 2578 | 0) + $15 | 0; - $27 = (Math_imul($21, -7223) | 0) + $15 | 0; - $30 = (Math_imul($21, -11586) | 0) + $15 >> 11; - $36 = Math_imul(HEAP32[$$0272277 + 64 >> 2] | 0, HEAP16[$$0273276 + 32 >> 1] | 0) | 0; - $42 = Math_imul(HEAP32[$$0272277 + 192 >> 2] | 0, HEAP16[$$0273276 + 96 >> 1] | 0) | 0; - $44 = ($42 + $36 | 0) * 9058 | 0; - $46 = $44 + ($36 * 2237 | 0) | 0; - $48 = $44 + (Math_imul($42, -14084) | 0) | 0; - $51 = (Math_imul($42, -11295) | 0) + ($36 * 5027 | 0) | 0; - $52 = $46 + $24 | 0; - $53 = $24 - $46 | 0; - $54 = $48 + $25 | 0; - $55 = $25 - $48 | 0; - $56 = $51 + $27 | 0; - $57 = $27 - $51 | 0; - $63 = Math_imul(HEAP32[$$0272277 + 32 >> 2] | 0, HEAP16[$$0273276 + 16 >> 1] | 0) | 0; - $69 = Math_imul(HEAP32[$$0272277 + 96 >> 2] | 0, HEAP16[$$0273276 + 48 >> 1] | 0) | 0; - $75 = Math_imul(HEAP32[$$0272277 + 160 >> 2] | 0, HEAP16[$$0273276 + 80 >> 1] | 0) | 0; - $81 = Math_imul(HEAP32[$$0272277 + 224 >> 2] | 0, HEAP16[$$0273276 + 112 >> 1] | 0) | 0; - $82 = $81 << 13; - $83 = $75 + $63 | 0; - $85 = ($69 + $63 | 0) * 10935 | 0; - $86 = $83 * 9810 | 0; - $90 = $85 + (Math_imul($63, -9232) | 0) + $86 + $82 | 0; - $91 = $83 * 6164 | 0; - $94 = $63 - $69 | 0; - $96 = ($94 * 3826 | 0) - $82 | 0; - $97 = $91 + (Math_imul($63, -8693) | 0) + $96 | 0; - $100 = (Math_imul($75 + $69 | 0, -1297) | 0) - $82 | 0; - $103 = $85 + (Math_imul($69, -3474) | 0) + $100 | 0; - $106 = $86 + (Math_imul($75, -19447) | 0) + $100 | 0; - $108 = ($75 - $69 | 0) * 11512 | 0; - $112 = $108 + (Math_imul($75, -13850) | 0) + $91 + $82 | 0; - $115 = $108 + ($69 * 5529 | 0) + $96 | 0; - $118 = $94 - $75 + $81 << 2; - HEAP32[$$0270278 >> 2] = $90 + $52 >> 11; - HEAP32[$$0270278 + 364 >> 2] = $52 - $90 >> 11; - HEAP32[$$0270278 + 28 >> 2] = $103 + $54 >> 11; - HEAP32[$$0270278 + 336 >> 2] = $54 - $103 >> 11; - HEAP32[$$0270278 + 56 >> 2] = $106 + $56 >> 11; - HEAP32[$$0270278 + 308 >> 2] = $56 - $106 >> 11; - HEAP32[$$0270278 + 84 >> 2] = $118 + $30; - HEAP32[$$0270278 + 280 >> 2] = $30 - $118; - HEAP32[$$0270278 + 112 >> 2] = $112 + $57 >> 11; - HEAP32[$$0270278 + 252 >> 2] = $57 - $112 >> 11; - HEAP32[$$0270278 + 140 >> 2] = $115 + $55 >> 11; - HEAP32[$$0270278 + 224 >> 2] = $55 - $115 >> 11; - HEAP32[$$0270278 + 168 >> 2] = $97 + $53 >> 11; - HEAP32[$$0270278 + 196 >> 2] = $53 - $97 >> 11; - $$0279 = $$0279 + 1 | 0; - if (($$0279 | 0) == 7) break; else { - $$0270278 = $$0270278 + 4 | 0; - $$0272277 = $$0272277 + 4 | 0; - $$0273276 = $$0273276 + 2 | 0; - } - } - $162 = $7 + -384 | 0; - $$1271274 = $5; - $$1275 = 0; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $ref$tmp$i49 = sp; + if (!$pyramid) { + $call5 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 38230) | 0, 38261) | 0, 39794) | 0, 537) | 0, 39801) | 0, 38368) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i49, $call5 + (HEAP32[(HEAP32[$call5 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i42 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i49, 67360) | 0; + $call$i2$i45 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i42 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i42, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i49); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call5, $call$i2$i45) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call5) | 0; + _abort(); + } + $call8 = __ZNK6vision18BinaryFeatureStore4sizeEv($store) | 0; + $__end_$i = $points + 4 | 0; + $1 = HEAP32[$__end_$i >> 2] | 0; + $2 = HEAP32[$points >> 2] | 0; + if (($call8 | 0) != (($1 - $2 | 0) / 20 | 0 | 0)) { + $call16 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 38384) | 0, 38261) | 0, 39794) | 0, 538) | 0, 39801) | 0, 38437) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i49, $call16 + (HEAP32[(HEAP32[$call16 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i49, 67360) | 0; + $call$i2$i = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i >> 2] | 0) + 28 >> 2] & 127]($call$i1$i, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i49); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call16, $call$i2$i) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call16) | 0; + _abort(); + } + $4 = $2; + $5 = $1; + $i$0 = 0; + $num_points$0 = 0; while (1) { - $165 = (HEAP32[$3 + ($$1275 << 2) >> 2] | 0) + $4 | 0; - $168 = (HEAP32[$$1271274 >> 2] << 13) + 134348800 | 0; - $170 = HEAP32[$$1271274 + 8 >> 2] | 0; - $172 = HEAP32[$$1271274 + 16 >> 2] | 0; - $174 = HEAP32[$$1271274 + 24 >> 2] | 0; - $176 = ($172 - $174 | 0) * 7223 | 0; - $178 = ($170 - $172 | 0) * 2578 | 0; - $182 = (Math_imul($172, -15083) | 0) + $168 + $178 + $176 | 0; - $183 = $174 + $170 | 0; - $186 = ($183 * 10438 | 0) + $168 | 0; - $189 = $176 + (Math_imul($174, -637) | 0) + $186 | 0; - $192 = $178 + (Math_imul($170, -20239) | 0) + $186 | 0; - $196 = HEAP32[$$1271274 + 4 >> 2] | 0; - $198 = HEAP32[$$1271274 + 12 >> 2] | 0; - $200 = HEAP32[$$1271274 + 20 >> 2] | 0; - $202 = ($198 + $196 | 0) * 7663 | 0; - $204 = ($196 - $198 | 0) * 1395 | 0; - $208 = Math_imul($200 + $198 | 0, -11295) | 0; - $209 = $202 + $204 + $208 | 0; - $211 = ($200 + $196 | 0) * 5027 | 0; - $212 = $202 - $204 + $211 | 0; - $215 = $211 + ($200 * 15326 | 0) + $208 | 0; - HEAP8[$165 >> 0] = HEAP8[$162 + (($212 + $189 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$165 + 6 >> 0] = HEAP8[$162 + (($189 - $212 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$165 + 1 >> 0] = HEAP8[$162 + (($209 + $182 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$165 + 5 >> 0] = HEAP8[$162 + (($182 - $209 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$165 + 2 >> 0] = HEAP8[$162 + (($215 + $192 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$165 + 4 >> 0] = HEAP8[$162 + (($192 - $215 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$165 + 3 >> 0] = HEAP8[$162 + (((($172 - $183 | 0) * 11585 | 0) + $168 | 0) >>> 18 & 1023) >> 0] | 0; - $$1275 = $$1275 + 1 | 0; - if (($$1275 | 0) == 14) break; else $$1271274 = $$1271274 + 28 | 0; - } - STACKTOP = sp; - return; -} - -function _ar2SetTemplateSub($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$0 = 0, $$0100 = 0, $$0102 = 0, $$0104 = 0, $$0106 = 0, $$0108 = 0, $$0109 = 0, $$0116 = 0, $$0123 = 0, $$1 = 0, $$1101 = 0, $$1103 = 0, $$1105 = 0, $$1107 = 0, $$1110 = 0, $$1117 = 0, $$1124 = 0, $$2 = 0, $$2111 = 0, $$2118 = 0, $$3 = 0, $$3112 = 0, $$3119 = 0, $$3126 = 0, $$4 = 0, $$4113 = 0, $$4120 = 0, $$4127 = 0, $$5 = 0, $$5114 = 0, $$5121 = 0, $$6 = 0, $$6115 = 0, $$6122 = 0, $10 = 0, $100 = 0, $104 = 0.0, $11 = 0, $114 = 0, $116 = 0, $131 = 0, $14 = 0, $16 = 0, $18 = 0.0, $21 = 0, $28 = 0, $35 = 0, $39 = 0, $40 = 0, $41 = 0, $42 = 0, $45 = 0, $49 = 0.0, $6 = 0, $63 = 0, $65 = 0, $7 = 0, $74 = 0, $76 = 0, $78 = 0.0, $8 = 0, $83 = 0, $9 = 0, $90 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, label = 0, sp = 0; + $sub$ptr$div$i28 = ($5 - $4 | 0) / 20 | 0; + if ($i$0 >>> 0 >= $sub$ptr$div$i28 >>> 0) break; + $call22 = __ZN6vision18BinaryFeatureStore7featureEm($store, $num_points$0) | 0; + if (__ZN6vision14ExtractFREAK84EPhPKNS_25GaussianScaleSpacePyramidERKNS_12FeaturePointEPKfS8_S8_S8_S8_S8_ffffffff($call22, $pyramid, (HEAP32[$points >> 2] | 0) + ($i$0 * 20 | 0) | 0, $points_ring0, $points_ring1, $points_ring2, $points_ring3, $points_ring4, $points_ring5, $sigma_center, $sigma_ring0, $sigma_ring1, $sigma_ring2, $sigma_ring3, $sigma_ring4, $sigma_ring5, $expansion_factor) | 0) { + $arrayidx$i33 = (HEAP32[$points >> 2] | 0) + ($i$0 * 20 | 0) | 0; + $call28 = __ZN6vision18BinaryFeatureStore5pointEm($store, $num_points$0) | 0; + HEAP32[$call28 >> 2] = HEAP32[$arrayidx$i33 >> 2]; + HEAP32[$call28 + 4 >> 2] = HEAP32[$arrayidx$i33 + 4 >> 2]; + HEAP32[$call28 + 8 >> 2] = HEAP32[$arrayidx$i33 + 8 >> 2]; + HEAP32[$call28 + 12 >> 2] = HEAP32[$arrayidx$i33 + 12 >> 2]; + HEAP8[$call28 + 16 >> 0] = HEAP8[$arrayidx$i33 + 16 >> 0] | 0; + $num_points$1 = $num_points$0 + 1 | 0; + } else $num_points$1 = $num_points$0; + $4 = HEAP32[$points >> 2] | 0; + $5 = HEAP32[$__end_$i >> 2] | 0; + $i$0 = $i$0 + 1 | 0; + $num_points$0 = $num_points$1; + } + if (($num_points$0 | 0) == ($sub$ptr$div$i28 | 0)) { + __ZN6vision18BinaryFeatureStore6resizeEm($store, $num_points$0); + STACKTOP = sp; + return; + } else { + $call39 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 38474) | 0, 38261) | 0, 39794) | 0, 617) | 0, 39801) | 0, 38525) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i49, $call39 + (HEAP32[(HEAP32[$call39 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i50 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i49, 67360) | 0; + $call$i2$i53 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i50 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i50, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i49); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call39, $call$i2$i53) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call39) | 0; + _abort(); + } +} +function _ar2SetTemplateSub($cparamLT, $trans, $imageSet, $featurePoints, $num, $templ) { + $cparamLT = $cparamLT | 0; + $trans = $trans | 0; + $imageSet = $imageSet | 0; + $featurePoints = $featurePoints | 0; + $num = $num | 0; + $templ = $templ | 0; + var $0 = 0, $1 = 0, $10 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0.0, $20 = 0.0, $24 = 0, $26 = 0, $31 = 0, $8 = 0, $conv = 0, $conv101 = 0.0, $conv110 = 0, $conv134 = 0, $conv31 = 0.0, $conv47 = 0, $conv73 = 0, $i$0 = 0, $i$1 = 0, $img1$0 = 0, $img1$1 = 0, $img1$3 = 0, $img1$4 = 0, $ix2$0 = 0, $ix2$1 = 0, $iy2$0 = 0, $iy2$1 = 0, $j$0 = 0, $j$1 = 0, $k$0 = 0, $k$1 = 0, $k$2 = 0, $k$3 = 0, $k$4 = 0, $k$5 = 0, $k$6 = 0, $mx = 0, $my = 0, $paramLTf = 0, $pixel = 0, $retval$0 = 0, $scale38 = 0, $scale98 = 0, $sum$0 = 0, $sum$1 = 0, $sum$2 = 0, $sum$3 = 0, $sum$4 = 0, $sum$5 = 0, $sum$6 = 0, $sum2$0 = 0, $sum2$1 = 0, $sum2$2 = 0, $sum2$3 = 0, $sum2$4 = 0, $sum2$5 = 0, $sum2$6 = 0, $sx = 0, $sy = 0, $wtrans = 0, $xts1 = 0, $xts187 = 0, $xts2 = 0, $xts293 = 0, $yts2 = 0, $yts283 = 0, label = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 80 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(80); - $6 = sp + 60 | 0; - $7 = sp + 56 | 0; - $8 = sp + 52 | 0; - $9 = sp + 48 | 0; - $10 = sp; - $11 = sp + 64 | 0; - L1 : do if (!$0) { - $74 = HEAP32[$3 >> 2] | 0; - $76 = HEAP32[$74 + ($4 * 20 | 0) + 8 >> 2] | 0; - HEAP32[$6 >> 2] = $76; - $78 = +HEAPF32[$74 + ($4 * 20 | 0) + 12 >> 2]; - HEAPF32[$7 >> 2] = $78; - if ((_ar2MarkerCoord2ScreenCoord(0, $1, (HEAP32[tempDoublePtr >> 2] = $76, +HEAPF32[tempDoublePtr >> 2]), $78, $8, $9) | 0) < 0) $$0108 = -1; else { - $83 = ~~(+HEAPF32[$8 >> 2] + .5); - $90 = HEAP32[$5 + 16 >> 2] | 0; - $94 = $5 + 20 | 0; - $95 = $5 + 8 | 0; - $96 = $5 + 12 | 0; - $97 = $3 + 8 | 0; - $$1101 = 0 - $90 | 0; - $$1105 = ~~(+HEAPF32[$9 >> 2] + .5) - ($90 << 1) | 0; - $$3 = 0; - $$3112 = 0; - $$3119 = 0; - $$3126 = HEAP32[$5 + 24 >> 2] | 0; + $mx = sp + 60 | 0; + $my = sp + 56 | 0; + $sx = sp + 52 | 0; + $sy = sp + 48 | 0; + $wtrans = sp; + $pixel = sp + 64 | 0; + L1 : do if (!$cparamLT) { + $18 = HEAP32[$featurePoints >> 2] | 0; + $19 = HEAP32[$18 + ($num * 20 | 0) + 8 >> 2] | 0; + HEAP32[$mx >> 2] = $19; + $20 = +HEAPF32[$18 + ($num * 20 | 0) + 12 >> 2]; + HEAPF32[$my >> 2] = $20; + if ((_ar2MarkerCoord2ScreenCoord(0, $trans, (HEAP32[tempDoublePtr >> 2] = $19, +HEAPF32[tempDoublePtr >> 2]), $20, $sx, $sy) | 0) < 0) $retval$0 = -1; else { + $conv73 = ~~(+HEAPF32[$sx >> 2] + .5); + $24 = HEAP32[$templ + 16 >> 2] | 0; + $yts283 = $templ + 20 | 0; + $xts187 = $templ + 8 | 0; + $xts293 = $templ + 12 | 0; + $scale98 = $featurePoints + 8 | 0; + $img1$3 = HEAP32[$templ + 24 >> 2] | 0; + $iy2$1 = ~~(+HEAPF32[$sy >> 2] + .5) - ($24 << 1) | 0; + $j$1 = 0 - $24 | 0; + $k$3 = 0; + $sum$3 = 0; + $sum2$3 = 0; while (1) { - if (($$1101 | 0) > (HEAP32[$94 >> 2] | 0)) { - $$6 = $$3; - $$6115 = $$3112; - $$6122 = $$3119; + if (($j$1 | 0) > (HEAP32[$yts283 >> 2] | 0)) { + $k$6 = $k$3; + $sum$6 = $sum$3; + $sum2$6 = $sum2$3; label = 25; break L1; } - $100 = HEAP32[$95 >> 2] | 0; - $104 = +($$1105 | 0); - $$1103 = 0 - $100 | 0; - $$1107 = $83 - ($100 << 1) | 0; - $$4 = $$3; - $$4113 = $$3112; - $$4120 = $$3119; - $$4127 = $$3126; + $26 = HEAP32[$xts187 >> 2] | 0; + $conv101 = +($iy2$1 | 0); + $i$1 = 0 - $26 | 0; + $img1$4 = $img1$3; + $ix2$1 = $conv73 - ($26 << 1) | 0; + $k$4 = $k$3; + $sum$4 = $sum$3; + $sum2$4 = $sum2$3; while (1) { - if (($$1103 | 0) > (HEAP32[$96 >> 2] | 0)) break; - if ((_ar2GetImageValue(0, $1, HEAP32[(HEAP32[$2 >> 2] | 0) + (HEAP32[$97 >> 2] << 2) >> 2] | 0, +($$1107 | 0), $104, $11) | 0) < 0) { - HEAP16[$$4127 >> 1] = 4096; - $$5 = $$4; - $$5114 = $$4113; - $$5121 = $$4120; + if (($i$1 | 0) > (HEAP32[$xts293 >> 2] | 0)) break; + if ((_ar2GetImageValue(0, $trans, HEAP32[(HEAP32[$imageSet >> 2] | 0) + (HEAP32[$scale98 >> 2] << 2) >> 2] | 0, +($ix2$1 | 0), $conv101, $pixel) | 0) < 0) { + HEAP16[$img1$4 >> 1] = 4096; + $k$5 = $k$4; + $sum$5 = $sum$4; + $sum2$5 = $sum2$4; } else { - $114 = HEAP8[$11 >> 0] | 0; - HEAP16[$$4127 >> 1] = $114 & 255; - $116 = $114 & 255; - $$5 = $$4 + 1 | 0; - $$5114 = (Math_imul($116, $116) | 0) + $$4113 | 0; - $$5121 = $$4120 + $116 | 0; - } - $$1103 = $$1103 + 1 | 0; - $$1107 = $$1107 + 2 | 0; - $$4 = $$5; - $$4113 = $$5114; - $$4120 = $$5121; - $$4127 = $$4127 + 2 | 0; - } - $$1101 = $$1101 + 1 | 0; - $$1105 = $$1105 + 2 | 0; - $$3 = $$4; - $$3112 = $$4113; - $$3119 = $$4120; - $$3126 = $$4127; + $31 = HEAP8[$pixel >> 0] | 0; + HEAP16[$img1$4 >> 1] = $31 & 255; + $conv110 = $31 & 255; + $k$5 = $k$4 + 1 | 0; + $sum$5 = $sum$4 + $conv110 | 0; + $sum2$5 = (Math_imul($conv110, $conv110) | 0) + $sum2$4 | 0; + } + $i$1 = $i$1 + 1 | 0; + $img1$4 = $img1$4 + 2 | 0; + $ix2$1 = $ix2$1 + 2 | 0; + $k$4 = $k$5; + $sum$4 = $sum$5; + $sum2$4 = $sum2$5; + } + $img1$3 = $img1$4; + $iy2$1 = $iy2$1 + 2 | 0; + $j$1 = $j$1 + 1 | 0; + $k$3 = $k$4; + $sum$3 = $sum$4; + $sum2$3 = $sum2$4; } } } else { - _arUtilMatMuldff($0 + 8 | 0, $1, $10) | 0; - $14 = HEAP32[$3 >> 2] | 0; - $16 = HEAP32[$14 + ($4 * 20 | 0) + 8 >> 2] | 0; - HEAP32[$6 >> 2] = $16; - $18 = +HEAPF32[$14 + ($4 * 20 | 0) + 12 >> 2]; - HEAPF32[$7 >> 2] = $18; - if ((_ar2MarkerCoord2ScreenCoord(0, $10, (HEAP32[tempDoublePtr >> 2] = $16, +HEAPF32[tempDoublePtr >> 2]), $18, $6, $7) | 0) >= 0 ? ($21 = $0 + 184 | 0, (_arParamIdeal2ObservLTf($21, +HEAPF32[$6 >> 2], +HEAPF32[$7 >> 2], $8, $9) | 0) >= 0) : 0) { - $28 = ~~(+HEAPF32[$8 >> 2] + .5); - $35 = HEAP32[$5 + 16 >> 2] | 0; - $39 = $5 + 20 | 0; - $40 = $5 + 8 | 0; - $41 = $5 + 12 | 0; - $42 = $3 + 8 | 0; - $$0 = 0; - $$0100 = 0 - $35 | 0; - $$0104 = ~~(+HEAPF32[$9 >> 2] + .5) - ($35 << 1) | 0; - $$0109 = 0; - $$0116 = 0; - $$0123 = HEAP32[$5 + 24 >> 2] | 0; + _arUtilMatMuldff($cparamLT + 8 | 0, $trans, $wtrans) | 0; + $0 = HEAP32[$featurePoints >> 2] | 0; + $1 = HEAP32[$0 + ($num * 20 | 0) + 8 >> 2] | 0; + HEAP32[$mx >> 2] = $1; + $2 = +HEAPF32[$0 + ($num * 20 | 0) + 12 >> 2]; + HEAPF32[$my >> 2] = $2; + if ((_ar2MarkerCoord2ScreenCoord(0, $wtrans, (HEAP32[tempDoublePtr >> 2] = $1, +HEAPF32[tempDoublePtr >> 2]), $2, $mx, $my) | 0) >= 0 ? ($paramLTf = $cparamLT + 184 | 0, (_arParamIdeal2ObservLTf($paramLTf, +HEAPF32[$mx >> 2], +HEAPF32[$my >> 2], $sx, $sy) | 0) >= 0) : 0) { + $conv = ~~(+HEAPF32[$sx >> 2] + .5); + $8 = HEAP32[$templ + 16 >> 2] | 0; + $yts2 = $templ + 20 | 0; + $xts1 = $templ + 8 | 0; + $xts2 = $templ + 12 | 0; + $scale38 = $featurePoints + 8 | 0; + $img1$0 = HEAP32[$templ + 24 >> 2] | 0; + $iy2$0 = ~~(+HEAPF32[$sy >> 2] + .5) - ($8 << 1) | 0; + $j$0 = 0 - $8 | 0; + $k$0 = 0; + $sum$0 = 0; + $sum2$0 = 0; while (1) { - if (($$0100 | 0) > (HEAP32[$39 >> 2] | 0)) { - $$6 = $$0; - $$6115 = $$0109; - $$6122 = $$0116; + if (($j$0 | 0) > (HEAP32[$yts2 >> 2] | 0)) { + $k$6 = $k$0; + $sum$6 = $sum$0; + $sum2$6 = $sum2$0; label = 25; break L1; } - $45 = HEAP32[$40 >> 2] | 0; - $49 = +($$0104 | 0); - $$0102 = 0 - $45 | 0; - $$0106 = $28 - ($45 << 1) | 0; - $$1 = $$0; - $$1110 = $$0109; - $$1117 = $$0116; - $$1124 = $$0123; + $10 = HEAP32[$xts1 >> 2] | 0; + $conv31 = +($iy2$0 | 0); + $i$0 = 0 - $10 | 0; + $img1$1 = $img1$0; + $ix2$0 = $conv - ($10 << 1) | 0; + $k$1 = $k$0; + $sum$1 = $sum$0; + $sum2$1 = $sum2$0; while (1) { - if (($$0102 | 0) > (HEAP32[$41 >> 2] | 0)) break; - do if ((_arParamObserv2IdealLTf($21, +($$0106 | 0), $49, $8, $9) | 0) >= 0) if ((_ar2GetImageValue(0, $10, HEAP32[(HEAP32[$2 >> 2] | 0) + (HEAP32[$42 >> 2] << 2) >> 2] | 0, +HEAPF32[$8 >> 2], +HEAPF32[$9 >> 2], $11) | 0) < 0) { - HEAP16[$$1124 >> 1] = 4096; - $$2 = $$1; - $$2111 = $$1110; - $$2118 = $$1117; + if (($i$0 | 0) > (HEAP32[$xts2 >> 2] | 0)) break; + do if ((_arParamObserv2IdealLTf($paramLTf, +($ix2$0 | 0), $conv31, $sx, $sy) | 0) >= 0) if ((_ar2GetImageValue(0, $wtrans, HEAP32[(HEAP32[$imageSet >> 2] | 0) + (HEAP32[$scale38 >> 2] << 2) >> 2] | 0, +HEAPF32[$sx >> 2], +HEAPF32[$sy >> 2], $pixel) | 0) < 0) { + HEAP16[$img1$1 >> 1] = 4096; + $k$2 = $k$1; + $sum$2 = $sum$1; + $sum2$2 = $sum2$1; break; } else { - $63 = HEAP8[$11 >> 0] | 0; - HEAP16[$$1124 >> 1] = $63 & 255; - $65 = $63 & 255; - $$2 = $$1 + 1 | 0; - $$2111 = (Math_imul($65, $65) | 0) + $$1110 | 0; - $$2118 = $$1117 + $65 | 0; + $17 = HEAP8[$pixel >> 0] | 0; + HEAP16[$img1$1 >> 1] = $17 & 255; + $conv47 = $17 & 255; + $k$2 = $k$1 + 1 | 0; + $sum$2 = $sum$1 + $conv47 | 0; + $sum2$2 = (Math_imul($conv47, $conv47) | 0) + $sum2$1 | 0; break; } else { - HEAP16[$$1124 >> 1] = 4096; - $$2 = $$1; - $$2111 = $$1110; - $$2118 = $$1117; + HEAP16[$img1$1 >> 1] = 4096; + $k$2 = $k$1; + $sum$2 = $sum$1; + $sum2$2 = $sum2$1; } while (0); - $$0102 = $$0102 + 1 | 0; - $$0106 = $$0106 + 2 | 0; - $$1 = $$2; - $$1110 = $$2111; - $$1117 = $$2118; - $$1124 = $$1124 + 2 | 0; - } - $$0 = $$1; - $$0100 = $$0100 + 1 | 0; - $$0104 = $$0104 + 2 | 0; - $$0109 = $$1110; - $$0116 = $$1117; - $$0123 = $$1124; - } - } else $$0108 = -1; + $i$0 = $i$0 + 1 | 0; + $img1$1 = $img1$1 + 2 | 0; + $ix2$0 = $ix2$0 + 2 | 0; + $k$1 = $k$2; + $sum$1 = $sum$2; + $sum2$1 = $sum2$2; + } + $img1$0 = $img1$1; + $iy2$0 = $iy2$0 + 2 | 0; + $j$0 = $j$0 + 1 | 0; + $k$0 = $k$1; + $sum$0 = $sum$1; + $sum2$0 = $sum2$1; + } + } else $retval$0 = -1; } while (0); - if ((label | 0) == 25) if (!$$6) $$0108 = -1; else { - $131 = ~~+Math_sqrt(+(+($$6115 - ((Math_imul($$6122, $$6122) | 0) / ($$6 | 0) | 0) | 0))); - HEAP32[$5 + 28 >> 2] = $131; - HEAP32[$5 + 32 >> 2] = $$6122; - HEAP32[$5 + 36 >> 2] = $$6; - $$0108 = 0; + if ((label | 0) == 25) if (!$k$6) $retval$0 = -1; else { + $conv134 = ~~+Math_sqrt(+(+($sum2$6 - ((Math_imul($sum$6, $sum$6) | 0) / ($k$6 | 0) | 0) | 0))); + HEAP32[$templ + 28 >> 2] = $conv134; + HEAP32[$templ + 32 >> 2] = $sum$6; + HEAP32[$templ + 36 >> 2] = $k$6; + $retval$0 = 0; } STACKTOP = sp; - return $$0108 | 0; -} - -function __ZNSt3__26locale5__impC2Em($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $4 = 0, $5 = 0; - HEAP32[$0 + 4 >> 2] = $1 + -1; - HEAP32[$0 >> 2] = 23288; - $4 = $0 + 8 | 0; - __ZNSt3__26vectorIPNS_6locale5facetENS_15__sso_allocatorIS3_Lm28EEEEC2Em($4, 28); - $5 = $0 + 144 | 0; - HEAP32[$5 >> 2] = 0; - HEAP32[$5 + 4 >> 2] = 0; - HEAP32[$5 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm($5, 58971, __ZNSt3__211char_traitsIcE6lengthEPKc(58971) | 0); - HEAP32[$0 + 12 >> 2] = HEAP32[$4 >> 2]; - __ZNSt3__212_GLOBAL__N_14makeINS_7collateIcEEjEERT_T0_(); - __ZNSt3__26locale5__imp7installINS_7collateIcEEEEvPT_($0, 64744); - __ZNSt3__212_GLOBAL__N_14makeINS_7collateIwEEjEERT_T0_(); - __ZNSt3__26locale5__imp7installINS_7collateIwEEEEvPT_($0, 64752); - __ZNSt3__212_GLOBAL__N_14makeINS_5ctypeIcEEDnbjEERT_T0_T1_T2_(); - __ZNSt3__26locale5__imp7installINS_5ctypeIcEEEEvPT_($0, 64760); - __ZNSt3__212_GLOBAL__N_14makeINS_5ctypeIwEEjEERT_T0_(); - __ZNSt3__26locale5__imp7installINS_5ctypeIwEEEEvPT_($0, 64776); - __ZNSt3__212_GLOBAL__N_14makeINS_7codecvtIcc11__mbstate_tEEjEERT_T0_(); - __ZNSt3__26locale5__imp7installINS_7codecvtIcc11__mbstate_tEEEEvPT_($0, 64784); - __ZNSt3__212_GLOBAL__N_14makeINS_7codecvtIwc11__mbstate_tEEjEERT_T0_(); - __ZNSt3__26locale5__imp7installINS_7codecvtIwc11__mbstate_tEEEEvPT_($0, 64792); - __ZNSt3__212_GLOBAL__N_14makeINS_7codecvtIDsc11__mbstate_tEEjEERT_T0_(); - __ZNSt3__26locale5__imp7installINS_7codecvtIDsc11__mbstate_tEEEEvPT_($0, 64808); - __ZNSt3__212_GLOBAL__N_14makeINS_7codecvtIDic11__mbstate_tEEjEERT_T0_(); - __ZNSt3__26locale5__imp7installINS_7codecvtIDic11__mbstate_tEEEEvPT_($0, 64816); - __ZNSt3__212_GLOBAL__N_14makeINS_8numpunctIcEEjEERT_T0_(); - __ZNSt3__26locale5__imp7installINS_8numpunctIcEEEEvPT_($0, 64824); - __ZNSt3__212_GLOBAL__N_14makeINS_8numpunctIwEEjEERT_T0_(); - __ZNSt3__26locale5__imp7installINS_8numpunctIwEEEEvPT_($0, 64848); - __ZNSt3__212_GLOBAL__N_14makeINS_7num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEEjEERT_T0_(); - __ZNSt3__26locale5__imp7installINS_7num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEEEEvPT_($0, 64880); - __ZNSt3__212_GLOBAL__N_14makeINS_7num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEEEjEERT_T0_(); - __ZNSt3__26locale5__imp7installINS_7num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEEEEEvPT_($0, 64888); - __ZNSt3__212_GLOBAL__N_14makeINS_7num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEEEjEERT_T0_(); - __ZNSt3__26locale5__imp7installINS_7num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEEEEEvPT_($0, 64896); - __ZNSt3__212_GLOBAL__N_14makeINS_7num_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEEEjEERT_T0_(); - __ZNSt3__26locale5__imp7installINS_7num_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEEEEEvPT_($0, 64904); - __ZNSt3__212_GLOBAL__N_14makeINS_10moneypunctIcLb0EEEjEERT_T0_(); - __ZNSt3__26locale5__imp7installINS_10moneypunctIcLb0EEEEEvPT_($0, 64912); - __ZNSt3__212_GLOBAL__N_14makeINS_10moneypunctIcLb1EEEjEERT_T0_(); - __ZNSt3__26locale5__imp7installINS_10moneypunctIcLb1EEEEEvPT_($0, 64920); - __ZNSt3__212_GLOBAL__N_14makeINS_10moneypunctIwLb0EEEjEERT_T0_(); - __ZNSt3__26locale5__imp7installINS_10moneypunctIwLb0EEEEEvPT_($0, 64928); - __ZNSt3__212_GLOBAL__N_14makeINS_10moneypunctIwLb1EEEjEERT_T0_(); - __ZNSt3__26locale5__imp7installINS_10moneypunctIwLb1EEEEEvPT_($0, 64936); - __ZNSt3__212_GLOBAL__N_14makeINS_9money_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEEjEERT_T0_(); - __ZNSt3__26locale5__imp7installINS_9money_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEEEEvPT_($0, 64944); - __ZNSt3__212_GLOBAL__N_14makeINS_9money_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEEEjEERT_T0_(); - __ZNSt3__26locale5__imp7installINS_9money_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEEEEEvPT_($0, 64952); - __ZNSt3__212_GLOBAL__N_14makeINS_9money_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEEEjEERT_T0_(); - __ZNSt3__26locale5__imp7installINS_9money_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEEEEEvPT_($0, 64960); - __ZNSt3__212_GLOBAL__N_14makeINS_9money_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEEEjEERT_T0_(); - __ZNSt3__26locale5__imp7installINS_9money_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEEEEEvPT_($0, 64968); - __ZNSt3__212_GLOBAL__N_14makeINS_8time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEEjEERT_T0_(); - __ZNSt3__26locale5__imp7installINS_8time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEEEEvPT_($0, 64976); - __ZNSt3__212_GLOBAL__N_14makeINS_8time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEEEjEERT_T0_(); - __ZNSt3__26locale5__imp7installINS_8time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEEEEEvPT_($0, 64992); - __ZNSt3__212_GLOBAL__N_14makeINS_8time_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEEEjEERT_T0_(); - __ZNSt3__26locale5__imp7installINS_8time_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEEEEEvPT_($0, 65008); - __ZNSt3__212_GLOBAL__N_14makeINS_8time_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEEEjEERT_T0_(); - __ZNSt3__26locale5__imp7installINS_8time_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEEEEEvPT_($0, 65024); - __ZNSt3__212_GLOBAL__N_14makeINS_8messagesIcEEjEERT_T0_(); - __ZNSt3__26locale5__imp7installINS_8messagesIcEEEEvPT_($0, 65040); - __ZNSt3__212_GLOBAL__N_14makeINS_8messagesIwEEjEERT_T0_(); - __ZNSt3__26locale5__imp7installINS_8messagesIwEEEEvPT_($0, 65048); - return; + return $retval$0 | 0; } -function _jpeg_idct_10x10($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $$0253266 = 0, $$0255265 = 0, $$0256264 = 0, $$0267 = 0, $$1254262 = 0, $$1263 = 0, $131 = 0, $134 = 0, $137 = 0, $139 = 0, $141 = 0, $143 = 0, $145 = 0, $147 = 0, $149 = 0, $15 = 0, $151 = 0, $153 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $161 = 0, $163 = 0, $166 = 0, $168 = 0, $169 = 0, $170 = 0, $171 = 0, $172 = 0, $173 = 0, $176 = 0, $179 = 0, $180 = 0, $183 = 0, $186 = 0, $189 = 0, $192 = 0, $21 = 0, $23 = 0, $25 = 0, $28 = 0, $34 = 0, $40 = 0, $42 = 0, $44 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $56 = 0, $62 = 0, $68 = 0, $7 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $80 = 0, $83 = 0, $86 = 0, $87 = 0, $90 = 0, $93 = 0, $96 = 0, $99 = 0, sp = 0; +function __ZNK6vision4NodeILi96EE7nearestERNSt3__26vectorIPKS1_NS2_9allocatorIS5_EEEERNS2_14priority_queueINS_17PriorityQueueItemILi96EEENS3_ISC_NS6_ISC_EEEENS2_4lessISC_EEEEPKh($this, $nodes, $queue, $feature) { + $this = $this | 0; + $nodes = $nodes | 0; + $queue = $queue | 0; + $feature = $feature | 0; + var $14 = 0, $15 = 0, $21 = 0, $22 = 0, $26 = 0, $30 = 0, $31 = 0, $35 = 0, $37 = 0, $42 = 0, $43 = 0, $49 = 0, $50 = 0, $9 = 0, $__end_$i$i = 0, $__end_$i29 = 0, $__end_$i50 = 0, $__value_$i$i$i$i$i = 0, $__value_$i$i$i$i51 = 0, $agg$tmp$i$i = 0, $agg$tmp$i$i$byval_copy = 0, $agg$tmp1$i$i = 0, $agg$tmp1$i$i$byval_copy = 0, $agg$tmp73$i = 0, $arrayidx$i33 = 0, $call$i1$i = 0, $call$i2$i = 0, $call33 = 0, $call57 = 0, $call7 = 0, $cmp16 = 0, $i$0 = 0, $i45$0 = 0, $incdec$ptr$i$i = 0, $mChildren = 0, $mind$0 = 0, $mini$0 = 0, $spec$select = 0, $v = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 320 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(320); - $5 = sp; - $7 = HEAP32[$0 + 336 >> 2] | 0; - $$0253266 = $5; - $$0255265 = HEAP32[$1 + 84 >> 2] | 0; - $$0256264 = $2; - $$0267 = 0; - while (1) { - $15 = Math_imul(HEAP16[$$0256264 >> 1] << 13, HEAP32[$$0255265 >> 2] | 0) | 0 | 1024; - $21 = Math_imul(HEAP32[$$0255265 + 128 >> 2] | 0, HEAP16[$$0256264 + 64 >> 1] | 0) | 0; - $23 = ($21 * 9373 | 0) + $15 | 0; - $25 = (Math_imul($21, -3580) | 0) + $15 | 0; - $28 = (Math_imul($21, -11586) | 0) + $15 >> 11; - $34 = Math_imul(HEAP32[$$0255265 + 64 >> 2] | 0, HEAP16[$$0256264 + 32 >> 1] | 0) | 0; - $40 = Math_imul(HEAP32[$$0255265 + 192 >> 2] | 0, HEAP16[$$0256264 + 96 >> 1] | 0) | 0; - $42 = ($40 + $34 | 0) * 6810 | 0; - $44 = $42 + ($34 * 4209 | 0) | 0; - $46 = $42 + (Math_imul($40, -17828) | 0) | 0; - $47 = $44 + $23 | 0; - $48 = $23 - $44 | 0; - $49 = $46 + $25 | 0; - $50 = $25 - $46 | 0; - $56 = Math_imul(HEAP32[$$0255265 + 32 >> 2] | 0, HEAP16[$$0256264 + 16 >> 1] | 0) | 0; - $62 = Math_imul(HEAP32[$$0255265 + 96 >> 2] | 0, HEAP16[$$0256264 + 48 >> 1] | 0) | 0; - $68 = Math_imul(HEAP32[$$0255265 + 160 >> 2] | 0, HEAP16[$$0256264 + 80 >> 1] | 0) | 0; - $74 = Math_imul(HEAP32[$$0255265 + 224 >> 2] | 0, HEAP16[$$0256264 + 112 >> 1] | 0) | 0; - $75 = $74 + $62 | 0; - $76 = $62 - $74 | 0; - $77 = $76 * 2531 | 0; - $78 = $68 << 13; - $79 = $75 * 7791 | 0; - $80 = $77 + $78 | 0; - $83 = $79 + ($56 * 11443 | 0) + $80 | 0; - $86 = ($56 * 1812 | 0) - $79 + $80 | 0; - $87 = $75 * 4815 | 0; - $90 = $78 - $77 - ($76 << 12) | 0; - $93 = $56 - $68 - $76 << 2; - $96 = ($56 * 10323 | 0) - $87 - $90 | 0; - $99 = $90 + (($56 * 5260 | 0) - $87) | 0; - HEAP32[$$0253266 >> 2] = $83 + $47 >> 11; - HEAP32[$$0253266 + 288 >> 2] = $47 - $83 >> 11; - HEAP32[$$0253266 + 32 >> 2] = $96 + $49 >> 11; - HEAP32[$$0253266 + 256 >> 2] = $49 - $96 >> 11; - HEAP32[$$0253266 + 64 >> 2] = $93 + $28; - HEAP32[$$0253266 + 224 >> 2] = $28 - $93; - HEAP32[$$0253266 + 96 >> 2] = $99 + $50 >> 11; - HEAP32[$$0253266 + 192 >> 2] = $50 - $99 >> 11; - HEAP32[$$0253266 + 128 >> 2] = $86 + $48 >> 11; - HEAP32[$$0253266 + 160 >> 2] = $48 - $86 >> 11; - $$0267 = $$0267 + 1 | 0; - if (($$0267 | 0) == 8) break; else { - $$0253266 = $$0253266 + 4 | 0; - $$0255265 = $$0255265 + 4 | 0; - $$0256264 = $$0256264 + 2 | 0; - } - } - $131 = $7 + -384 | 0; - $$1254262 = $5; - $$1263 = 0; + STACKTOP = STACKTOP + 48 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); + $agg$tmp1$i$i$byval_copy = sp + 8 | 0; + $agg$tmp$i$i$byval_copy = sp + 36 | 0; + $agg$tmp$i$i = sp + 32 | 0; + $agg$tmp1$i$i = sp + 28 | 0; + $agg$tmp73$i = sp; + $v = sp + 16 | 0; + $mChildren = $this + 104 | 0; + __ZNSt3__26vectorIN6vision17PriorityQueueItemILi96EEENS_9allocatorIS3_EEEC2Em($v, (HEAP32[$this + 108 >> 2] | 0) - (HEAP32[$mChildren >> 2] | 0) >> 2); + $__end_$i29 = $v + 4 | 0; + $i$0 = 0; + $mind$0 = -1; + $mini$0 = -1; while (1) { - $134 = (HEAP32[$3 + ($$1263 << 2) >> 2] | 0) + $4 | 0; - $137 = (HEAP32[$$1254262 >> 2] << 13) + 134348800 | 0; - $139 = HEAP32[$$1254262 + 16 >> 2] | 0; - $141 = $137 + ($139 * 9373 | 0) | 0; - $143 = $137 + (Math_imul($139, -3580) | 0) | 0; - $145 = $137 + (Math_imul($139, -11586) | 0) | 0; - $147 = HEAP32[$$1254262 + 8 >> 2] | 0; - $149 = HEAP32[$$1254262 + 24 >> 2] | 0; - $151 = ($149 + $147 | 0) * 6810 | 0; - $153 = $151 + ($147 * 4209 | 0) | 0; - $155 = $151 + (Math_imul($149, -17828) | 0) | 0; - $156 = $153 + $141 | 0; - $157 = $141 - $153 | 0; - $158 = $155 + $143 | 0; - $159 = $143 - $155 | 0; - $161 = HEAP32[$$1254262 + 4 >> 2] | 0; - $163 = HEAP32[$$1254262 + 12 >> 2] | 0; - $166 = HEAP32[$$1254262 + 20 >> 2] << 13; - $168 = HEAP32[$$1254262 + 28 >> 2] | 0; - $169 = $168 + $163 | 0; - $170 = $163 - $168 | 0; - $171 = $170 * 2531 | 0; - $172 = $169 * 7791 | 0; - $173 = $171 + $166 | 0; - $176 = $172 + ($161 * 11443 | 0) + $173 | 0; - $179 = ($161 * 1812 | 0) - $172 + $173 | 0; - $180 = $169 * 4815 | 0; - $183 = $166 - $171 - ($170 << 12) | 0; - $186 = ($161 - $170 << 13) - $166 | 0; - $189 = ($161 * 10323 | 0) - $180 - $183 | 0; - $192 = $183 + (($161 * 5260 | 0) - $180) | 0; - HEAP8[$134 >> 0] = HEAP8[$131 + (($176 + $156 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$134 + 9 >> 0] = HEAP8[$131 + (($156 - $176 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$134 + 1 >> 0] = HEAP8[$131 + (($189 + $158 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$134 + 8 >> 0] = HEAP8[$131 + (($158 - $189 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$134 + 2 >> 0] = HEAP8[$131 + (($186 + $145 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$134 + 7 >> 0] = HEAP8[$131 + (($145 - $186 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$134 + 3 >> 0] = HEAP8[$131 + (($192 + $159 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$134 + 6 >> 0] = HEAP8[$131 + (($159 - $192 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$134 + 4 >> 0] = HEAP8[$131 + (($179 + $157 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$134 + 5 >> 0] = HEAP8[$131 + (($157 - $179 | 0) >>> 18 & 1023) >> 0] | 0; - $$1263 = $$1263 + 1 | 0; - if (($$1263 | 0) == 10) break; else $$1254262 = $$1254262 + 32 | 0; - } - STACKTOP = sp; - return; -} - -function __ZN6vision21HoughSimilarityVoting11voteAtIndexEij($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$0$i$i$i$i$i = 0, $$052$i$i$i$i$i = 0, $$153$i$i$i$i$i = 0, $$pn$i$i$i$i$i = 0, $$pre$phi$i$i$i$i$iZ2D = 0, $102 = 0, $108 = 0, $11 = 0, $16 = 0, $20 = 0, $21 = 0, $22 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $3 = 0, $30 = 0, $36 = 0, $37 = 0, $4 = 0, $41 = 0, $47 = 0, $51 = 0, $54 = 0.0, $57 = 0.0, $67 = 0, $70 = 0, $72 = 0, $73 = 0, $81 = 0, $83 = 0, $89 = 0, $90 = 0, $93 = 0, $94 = 0, label = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $3 = sp + 8 | 0; - $4 = sp; - if (($1 | 0) <= -1) { - $11 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 36635) | 0, 36227) | 0, 39072) | 0, 290) | 0, 39079) | 0, 36669) | 0; - __ZNKSt3__28ios_base6getlocEv($3, $11 + (HEAP32[(HEAP32[$11 >> 2] | 0) + -12 >> 2] | 0) | 0); - $16 = __ZNKSt3__26locale9use_facetERNS0_2idE($3, 66512) | 0; - $20 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$16 >> 2] | 0) + 28 >> 2] & 127]($16, 10) | 0; - __ZNSt3__26localeD2Ev($3); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($11, $20) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($11) | 0; + if ($i$0 >>> 0 >= (HEAP32[$__end_$i29 >> 2] | 0) - (HEAP32[$v >> 2] | 0) >> 3 >>> 0) break; + $call7 = __ZN6vision15HammingDistanceILi96EEEjPKhS2_((HEAP32[(HEAP32[$mChildren >> 2] | 0) + ($i$0 << 2) >> 2] | 0) + 4 | 0, $feature) | 0; + __ZN6vision17PriorityQueueItemILi96EEC2EPKNS_4NodeILi96EEEj($agg$tmp1$i$i$byval_copy, HEAP32[(HEAP32[$mChildren >> 2] | 0) + ($i$0 << 2) >> 2] | 0, $call7); + $9 = $agg$tmp1$i$i$byval_copy; + $14 = HEAP32[$9 + 4 >> 2] | 0; + $15 = (HEAP32[$v >> 2] | 0) + ($i$0 << 3) | 0; + HEAP32[$15 >> 2] = HEAP32[$9 >> 2]; + HEAP32[$15 + 4 >> 2] = $14; + __ZN6vision17PriorityQueueItemILi96EED2Ev($agg$tmp1$i$i$byval_copy); + $cmp16 = $call7 >>> 0 < $mind$0 >>> 0; + $spec$select = $cmp16 ? $i$0 : $mini$0; + $i$0 = $i$0 + 1 | 0; + $mind$0 = $cmp16 ? $call7 : $mind$0; + $mini$0 = $spec$select; + } + if (($mini$0 | 0) == -1) { + $call33 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 36593) | 0, 33528) | 0, 39794) | 0, 155) | 0, 39801) | 0, 36627) | 0; + __ZNKSt3__28ios_base6getlocEv($agg$tmp1$i$i$byval_copy, $call33 + (HEAP32[(HEAP32[$call33 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i = __ZNKSt3__26locale9use_facetERNS0_2idE($agg$tmp1$i$i$byval_copy, 67360) | 0; + $call$i2$i = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i >> 2] | 0) + 28 >> 2] & 127]($call$i1$i, 10) | 0; + __ZNSt3__26localeD2Ev($agg$tmp1$i$i$byval_copy); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call33, $call$i2$i) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call33) | 0; _abort(); } - $21 = $0 + 92 | 0; - HEAP32[$3 >> 2] = $1; - $22 = __ZNSt3__212__hash_tableINS_17__hash_value_typeIjjEENS_22__unordered_map_hasherIjS2_NS_4hashIjEELb1EEENS_21__unordered_map_equalIjS2_NS_8equal_toIjEELb1EEENS_9allocatorIS2_EEE4findIjEENS_15__hash_iteratorIPNS_11__hash_nodeIS2_PvEEEERKT_($21, $3) | 0; - if (!$22) { - HEAP32[$4 >> 2] = $1; - HEAP32[$4 + 4 >> 2] = $2; - $25 = $0 + 96 | 0; - $26 = HEAP32[$25 >> 2] | 0; - $27 = ($26 | 0) == 0; - L6 : do if (!$27) { - $28 = $26 + -1 | 0; - $30 = ($28 & $26 | 0) == 0; - if (!$30) if ($26 >>> 0 > $1 >>> 0) $36 = $1; else $36 = ($1 >>> 0) % ($26 >>> 0) | 0; else $36 = $28 & $1; - $37 = HEAP32[(HEAP32[$21 >> 2] | 0) + ($36 << 2) >> 2] | 0; - if (!$37) { - $$052$i$i$i$i$i = $36; - label = 19; + $21 = HEAP32[(HEAP32[$mChildren >> 2] | 0) + ($mini$0 << 2) >> 2] | 0; + HEAP32[$agg$tmp1$i$i$byval_copy >> 2] = $21; + $__end_$i50 = $nodes + 4 | 0; + $22 = HEAP32[$__end_$i50 >> 2] | 0; + $__value_$i$i$i$i51 = $nodes + 8 | 0; + if ($22 >>> 0 < (HEAP32[$__value_$i$i$i$i51 >> 2] | 0) >>> 0) { + HEAP32[$22 >> 2] = $21; + HEAP32[$__end_$i50 >> 2] = (HEAP32[$__end_$i50 >> 2] | 0) + 4; + } else __ZNSt3__26vectorIPKN6vision4NodeILi96EEENS_9allocatorIS5_EEE21__push_back_slow_pathIS5_EEvOT_($nodes, $agg$tmp1$i$i$byval_copy); + $__end_$i$i = $queue + 4 | 0; + $__value_$i$i$i$i$i = $queue + 8 | 0; + $i45$0 = 0; + while (1) { + $26 = HEAP32[$v >> 2] | 0; + if ($i45$0 >>> 0 >= (HEAP32[$__end_$i29 >> 2] | 0) - $26 >> 3 >>> 0) break; + do if (($i45$0 | 0) != ($mini$0 | 0)) { + $call57 = __ZNK6vision17PriorityQueueItemILi96EE4distEv($26 + ($i45$0 << 3) | 0) | 0; + if (($call57 | 0) == (__ZNK6vision17PriorityQueueItemILi96EE4distEv((HEAP32[$v >> 2] | 0) + ($mini$0 << 3) | 0) | 0)) { + $30 = HEAP32[(HEAP32[$mChildren >> 2] | 0) + ($i45$0 << 2) >> 2] | 0; + HEAP32[$agg$tmp1$i$i$byval_copy >> 2] = $30; + $31 = HEAP32[$__end_$i50 >> 2] | 0; + if ($31 >>> 0 < (HEAP32[$__value_$i$i$i$i51 >> 2] | 0) >>> 0) { + HEAP32[$31 >> 2] = $30; + HEAP32[$__end_$i50 >> 2] = (HEAP32[$__end_$i50 >> 2] | 0) + 4; + } else __ZNSt3__26vectorIPKN6vision4NodeILi96EEENS_9allocatorIS5_EEE21__push_back_slow_pathIS5_EEvOT_($nodes, $agg$tmp1$i$i$byval_copy); + break; } else { - $$pn$i$i$i$i$i = $37; - do { - $$pn$i$i$i$i$i = HEAP32[$$pn$i$i$i$i$i >> 2] | 0; - if (!$$pn$i$i$i$i$i) { - $$052$i$i$i$i$i = $36; - label = 19; - break L6; - } - $41 = HEAP32[$$pn$i$i$i$i$i + 4 >> 2] | 0; - if (($41 | 0) != ($1 | 0)) { - if (!$30) if ($41 >>> 0 < $26 >>> 0) $47 = $41; else $47 = ($41 >>> 0) % ($26 >>> 0) | 0; else $47 = $41 & $28; - if (($47 | 0) != ($36 | 0)) { - $$052$i$i$i$i$i = $36; - label = 19; - break L6; - } - } - } while ((HEAP32[$$pn$i$i$i$i$i + 8 >> 2] | 0) != ($1 | 0)); - } - } else { - $$052$i$i$i$i$i = 0; - label = 19; - } while (0); - if ((label | 0) == 19) { - __ZNSt3__212__hash_tableINS_17__hash_value_typeIjjEENS_22__unordered_map_hasherIjS2_NS_4hashIjEELb1EEENS_21__unordered_map_equalIjS2_NS_8equal_toIjEELb1EEENS_9allocatorIS2_EEE21__construct_node_hashINS_4pairIjjEEJEEENS_10unique_ptrINS_11__hash_nodeIS2_PvEENS_22__hash_node_destructorINSB_ISK_EEEEEEmOT_DpOT0_($3, $21, $1, $4); - $51 = $0 + 104 | 0; - $54 = +(((HEAP32[$51 >> 2] | 0) + 1 | 0) >>> 0); - $57 = +HEAPF32[$0 + 108 >> 2]; - do if ($27 | $57 * +($26 >>> 0) < $54) { - $67 = $26 << 1 | ($26 >>> 0 < 3 | ($26 + -1 & $26 | 0) != 0) & 1; - $70 = ~~+Math_ceil(+($54 / $57)) >>> 0; - __ZNSt3__212__hash_tableINS_17__hash_value_typeIjjEENS_22__unordered_map_hasherIjS2_NS_4hashIjEELb1EEENS_21__unordered_map_equalIjS2_NS_8equal_toIjEELb1EEENS_9allocatorIS2_EEE6rehashEm($21, $67 >>> 0 < $70 >>> 0 ? $70 : $67); - $72 = HEAP32[$25 >> 2] | 0; - $73 = $72 + -1 | 0; - if (!($73 & $72)) { - $$0$i$i$i$i$i = $72; - $$153$i$i$i$i$i = $73 & $1; - break; - } - if ($72 >>> 0 > $1 >>> 0) { - $$0$i$i$i$i$i = $72; - $$153$i$i$i$i$i = $1; + $arrayidx$i33 = (HEAP32[$v >> 2] | 0) + ($i45$0 << 3) | 0; + $35 = HEAP32[$__end_$i$i >> 2] | 0; + if (($35 | 0) == (HEAP32[$__value_$i$i$i$i$i >> 2] | 0)) { + __ZNSt3__26vectorIN6vision17PriorityQueueItemILi96EEENS_9allocatorIS3_EEE21__push_back_slow_pathIRKS3_EEvOT_($queue, $arrayidx$i33); + $50 = HEAP32[$__end_$i$i >> 2] | 0; } else { - $$0$i$i$i$i$i = $72; - $$153$i$i$i$i$i = ($1 >>> 0) % ($72 >>> 0) | 0; - } - } else { - $$0$i$i$i$i$i = $26; - $$153$i$i$i$i$i = $$052$i$i$i$i$i; - } while (0); - $81 = HEAP32[(HEAP32[$21 >> 2] | 0) + ($$153$i$i$i$i$i << 2) >> 2] | 0; - if (!$81) { - $83 = $0 + 100 | 0; - HEAP32[HEAP32[$3 >> 2] >> 2] = HEAP32[$83 >> 2]; - HEAP32[$83 >> 2] = HEAP32[$3 >> 2]; - HEAP32[(HEAP32[$21 >> 2] | 0) + ($$153$i$i$i$i$i << 2) >> 2] = $83; - $89 = HEAP32[$3 >> 2] | 0; - $90 = HEAP32[$89 >> 2] | 0; - if (!$90) $$pre$phi$i$i$i$i$iZ2D = $3; else { - $93 = HEAP32[$90 + 4 >> 2] | 0; - $94 = $$0$i$i$i$i$i + -1 | 0; - if ($94 & $$0$i$i$i$i$i) if ($93 >>> 0 < $$0$i$i$i$i$i >>> 0) $102 = $93; else $102 = ($93 >>> 0) % ($$0$i$i$i$i$i >>> 0) | 0; else $102 = $93 & $94; - HEAP32[(HEAP32[$21 >> 2] | 0) + ($102 << 2) >> 2] = $89; - $$pre$phi$i$i$i$i$iZ2D = $3; - } - } else { - HEAP32[HEAP32[$3 >> 2] >> 2] = HEAP32[$81 >> 2]; - HEAP32[$81 >> 2] = HEAP32[$3 >> 2]; - $$pre$phi$i$i$i$i$iZ2D = $3; + $37 = $arrayidx$i33; + $42 = HEAP32[$37 + 4 >> 2] | 0; + $43 = $35; + HEAP32[$43 >> 2] = HEAP32[$37 >> 2]; + HEAP32[$43 + 4 >> 2] = $42; + $incdec$ptr$i$i = (HEAP32[$__end_$i$i >> 2] | 0) + 8 | 0; + HEAP32[$__end_$i$i >> 2] = $incdec$ptr$i$i; + $50 = $incdec$ptr$i$i; + } + $49 = HEAP32[$queue >> 2] | 0; + HEAP32[$agg$tmp$i$i >> 2] = $49; + HEAP32[$agg$tmp1$i$i >> 2] = $50; + HEAP32[$agg$tmp$i$i$byval_copy >> 2] = HEAP32[$agg$tmp$i$i >> 2]; + HEAP32[$agg$tmp1$i$i$byval_copy >> 2] = HEAP32[$agg$tmp1$i$i >> 2]; + __ZNSt3__29__sift_upIRNS_4lessIN6vision17PriorityQueueItemILi96EEEEENS_11__wrap_iterIPS4_EEEEvT0_SA_T_NS_15iterator_traitsISA_E15difference_typeE($agg$tmp$i$i$byval_copy, $agg$tmp1$i$i$byval_copy, $agg$tmp73$i, $50 - $49 >> 3); + break; } - HEAP32[$51 >> 2] = (HEAP32[$51 >> 2] | 0) + 1; - HEAP32[$$pre$phi$i$i$i$i$iZ2D >> 2] = 0; - } - } else { - $108 = $22 + 12 | 0; - HEAP32[$108 >> 2] = (HEAP32[$108 >> 2] | 0) + $2; + } while (0); + $i45$0 = $i45$0 + 1 | 0; } + __ZNSt3__213__vector_baseIN6vision17PriorityQueueItemILi96EEENS_9allocatorIS3_EEED2Ev($v); STACKTOP = sp; return; } -function _arVecTridiagonalize($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$0 = 0, $$0158 = 0, $$0160 = 0, $$0164 = 0, $$0165 = 0.0, $$1 = 0, $$1$in = 0, $$1$in$ph = 0, $$1159 = 0, $$1161 = 0, $$1161$in = 0, $$1166 = 0.0, $$2 = 0, $$2162 = 0, $$3 = 0, $$3163 = 0, $$pre$phiZ2D = 0, $$sink = 0.0, $$sink171 = 0, $106 = 0, $107 = 0, $110 = 0, $114 = 0, $117 = 0, $118 = 0, $121 = 0, $124 = 0.0, $131 = 0, $17 = 0, $18 = 0, $19 = 0, $23 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0.0, $4 = 0, $41 = 0, $46 = 0.0, $48 = 0, $57 = 0.0, $6 = 0, $65 = 0.0, $68 = 0.0, $70 = 0, $71 = 0, $73 = 0.0, $74 = 0, $85 = 0, $90 = 0, $91 = 0, $95 = 0, $97 = 0, label = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $3 = sp + 8 | 0; - $4 = sp; - $6 = HEAP32[$0 + 8 >> 2] | 0; - L1 : do if ((($6 | 0) == (HEAP32[$0 + 4 >> 2] | 0) ? ($6 | 0) == (HEAP32[$1 + 4 >> 2] | 0) : 0) ? ($6 | 0) == ((HEAP32[$2 + 4 >> 2] | 0) + 1 | 0) : 0) { - $17 = $6 + -2 | 0; - $18 = $3 + 4 | 0; - $19 = $4 + 4 | 0; - $$0 = 0; - while (1) { - if (($$0 | 0) >= ($17 | 0)) break; - $23 = (HEAP32[$0 >> 2] | 0) + ((Math_imul($$0, $6) | 0) << 3) | 0; - HEAPF64[(HEAP32[$1 >> 2] | 0) + ($$0 << 3) >> 3] = +HEAPF64[$23 + ($$0 << 3) >> 3]; - $29 = $6 - $$0 + -1 | 0; - HEAP32[$18 >> 2] = $29; - $30 = $$0 + 1 | 0; - $31 = $23 + ($30 << 3) | 0; - HEAP32[$3 >> 2] = $31; - $32 = +_arVecHousehold($3); - HEAPF64[(HEAP32[$2 >> 2] | 0) + ($$0 << 3) >> 3] = $32; - L8 : do if (!($32 == 0.0)) { - $$0160 = $30; - while (1) { - if (($$0160 | 0) >= ($6 | 0)) break; - $$0158 = $30; - $$0165 = 0.0; - while (1) { - if ($$0158 >>> 0 >= $$0160 >>> 0) break; - $41 = (HEAP32[$0 >> 2] | 0) + ((Math_imul($$0158, $6) | 0) + $$0160 << 3) | 0; - $46 = $$0165 + +HEAPF64[$41 >> 3] * +HEAPF64[$23 + ($$0158 << 3) >> 3]; - $$0158 = $$0158 + 1 | 0; - $$0165 = $46; - } - $48 = Math_imul($$0160, $6) | 0; - $$1159 = $$0160; - $$1166 = $$0165; - while (1) { - if (($$1159 | 0) >= ($6 | 0)) break; - $57 = $$1166 + +HEAPF64[(HEAP32[$0 >> 2] | 0) + ($$1159 + $48 << 3) >> 3] * +HEAPF64[$23 + ($$1159 << 3) >> 3]; - $$1159 = $$1159 + 1 | 0; - $$1166 = $57; - } - HEAPF64[(HEAP32[$1 >> 2] | 0) + ($$0160 << 3) >> 3] = $$1166; - $$0160 = $$0160 + 1 | 0; - } - HEAP32[$19 >> 2] = $29; - HEAP32[$18 >> 2] = $29; - HEAP32[$3 >> 2] = $31; - HEAP32[$4 >> 2] = (HEAP32[$1 >> 2] | 0) + ($30 << 3); - $65 = +_arVecInnerproduct($3, $4) * .5; - $$1161$in = $6; - while (1) { - $$1161 = $$1161$in + -1 | 0; - if (($$1161 | 0) <= ($$0 | 0)) break L8; - $68 = +HEAPF64[$23 + ($$1161 << 3) >> 3]; - $70 = HEAP32[$1 >> 2] | 0; - $71 = $70 + ($$1161 << 3) | 0; - $73 = +HEAPF64[$71 >> 3] - $65 * $68; - HEAPF64[$71 >> 3] = $73; - $74 = Math_imul($$1161, $6) | 0; - $$2 = $$1161; - while (1) { - if (($$2 | 0) >= ($6 | 0)) break; - $85 = (HEAP32[$0 >> 2] | 0) + ($$2 + $74 << 3) | 0; - HEAPF64[$85 >> 3] = +HEAPF64[$85 >> 3] - ($68 * +HEAPF64[$70 + ($$2 << 3) >> 3] + $73 * +HEAPF64[$23 + ($$2 << 3) >> 3]); - $$2 = $$2 + 1 | 0; - } - $$1161$in = $$1161; - } - } while (0); - $$0 = $30; - } - if (($6 | 0) <= 1) if (($6 | 0) == 1) { - $$pre$phiZ2D = 0; - $107 = HEAP32[$0 >> 2] | 0; - $110 = HEAP32[$1 >> 2] | 0; - label = 27; - } else $$1$in = $6; else { - $90 = HEAP32[$0 >> 2] | 0; - $91 = Math_imul($17, $6) | 0; - $95 = HEAP32[$1 >> 2] | 0; - HEAPF64[$95 + ($17 << 3) >> 3] = +HEAPF64[$90 + ($91 + $17 << 3) >> 3]; - $97 = $6 + -1 | 0; - HEAPF64[(HEAP32[$2 >> 2] | 0) + ($17 << 3) >> 3] = +HEAPF64[$90 + ($97 + $91 << 3) >> 3]; - $$pre$phiZ2D = $97; - $107 = $90; - $110 = $95; - label = 27; - } - if ((label | 0) == 27) { - $106 = $107 + ((Math_imul($$pre$phiZ2D, $6) | 0) + $$pre$phiZ2D << 3) | 0; - $$1$in$ph = $6; - $$sink = +HEAPF64[$106 >> 3]; - $$sink171 = $110 + ($$pre$phiZ2D << 3) | 0; - label = 28; - } - while (1) { - if ((label | 0) == 28) { - label = 0; - HEAPF64[$$sink171 >> 3] = $$sink; - $$1$in = $$1$in$ph; - } - $$1 = $$1$in + -1 | 0; - if (($$1$in | 0) <= 0) { - $$0164 = 0; - break L1; - } - $114 = (HEAP32[$0 >> 2] | 0) + ((Math_imul($$1, $6) | 0) << 3) | 0; - L42 : do if (($$1$in | 0) <= ($17 | 0)) { - $117 = $6 - $$1 + -1 | 0; - $118 = $114 + ($$1$in << 3) | 0; - $$2162 = $$1$in; - while (1) { - if (($$2162 | 0) >= ($6 | 0)) break L42; - HEAP32[$19 >> 2] = $117; - HEAP32[$18 >> 2] = $117; - HEAP32[$3 >> 2] = $118; - $121 = Math_imul($$2162, $6) | 0; - HEAP32[$4 >> 2] = (HEAP32[$0 >> 2] | 0) + ($121 + $$1$in << 3); - $124 = +_arVecInnerproduct($3, $4); - $$3 = $$1$in; - while (1) { - if (($$3 | 0) >= ($6 | 0)) break; - $131 = (HEAP32[$0 >> 2] | 0) + ($$3 + $121 << 3) | 0; - HEAPF64[$131 >> 3] = +HEAPF64[$131 >> 3] - $124 * +HEAPF64[$114 + ($$3 << 3) >> 3]; - $$3 = $$3 + 1 | 0; - } - $$2162 = $$2162 + 1 | 0; - } - } while (0); - $$3163 = 0; - while (1) { - if (($$3163 | 0) >= ($6 | 0)) break; - HEAPF64[$114 + ($$3163 << 3) >> 3] = 0.0; - $$3163 = $$3163 + 1 | 0; - } - $$1$in$ph = $$1; - $$sink = 1.0; - $$sink171 = $114 + ($$1 << 3) | 0; - label = 28; - } - } else $$0164 = -1; while (0); - STACKTOP = sp; - return $$0164 | 0; -} - -function _jpeg_idct_float($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $$0243253 = 0, $$0245252 = 0, $$0247251 = 0, $$0254 = 0, $$1250 = 0, $$2249 = 0, $$sink = 0.0, $$sink256 = 0, $102 = 0.0, $107 = 0.0, $108 = 0.0, $109 = 0.0, $11 = 0, $127 = 0, $13 = 0, $130 = 0, $132 = 0.0, $134 = 0.0, $135 = 0.0, $136 = 0.0, $138 = 0.0, $140 = 0.0, $141 = 0.0, $144 = 0.0, $145 = 0.0, $146 = 0.0, $147 = 0.0, $148 = 0.0, $150 = 0.0, $152 = 0.0, $153 = 0.0, $154 = 0.0, $156 = 0.0, $158 = 0.0, $159 = 0.0, $160 = 0.0, $161 = 0.0, $165 = 0.0, $170 = 0.0, $171 = 0.0, $172 = 0.0, $34 = 0.0, $44 = 0.0, $46 = 0, $49 = 0.0, $5 = 0, $55 = 0.0, $61 = 0.0, $62 = 0.0, $63 = 0.0, $64 = 0.0, $67 = 0.0, $68 = 0.0, $69 = 0.0, $7 = 0, $70 = 0.0, $71 = 0.0, $75 = 0.0, $81 = 0.0, $87 = 0.0, $93 = 0.0, $94 = 0.0, $95 = 0.0, $96 = 0.0, $97 = 0.0, $98 = 0.0, label = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 256 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(256); - $5 = sp; - $7 = HEAP32[$0 + 336 >> 2] | 0; - $$0243253 = $5; - $$0245252 = HEAP32[$1 + 84 >> 2] | 0; - $$0247251 = $2; - $$0254 = 8; - while (1) { - $11 = HEAP16[$$0247251 + 16 >> 1] | 0; - $13 = HEAP16[$$0247251 + 32 >> 1] | 0; - if (!(($11 | $13) << 16 >> 16)) if (((((HEAP16[$$0247251 + 48 >> 1] | 0) == 0 ? (HEAP16[$$0247251 + 64 >> 1] | 0) == 0 : 0) ? (HEAP16[$$0247251 + 80 >> 1] | 0) == 0 : 0) ? (HEAP16[$$0247251 + 96 >> 1] | 0) == 0 : 0) ? (HEAP16[$$0247251 + 112 >> 1] | 0) == 0 : 0) { - $34 = +HEAPF32[$$0245252 >> 2] * +(HEAP16[$$0247251 >> 1] | 0); - HEAPF32[$$0243253 >> 2] = $34; - HEAPF32[$$0243253 + 32 >> 2] = $34; - HEAPF32[$$0243253 + 64 >> 2] = $34; - HEAPF32[$$0243253 + 96 >> 2] = $34; - HEAPF32[$$0243253 + 128 >> 2] = $34; - HEAPF32[$$0243253 + 160 >> 2] = $34; - HEAPF32[$$0243253 + 192 >> 2] = $34; - $$sink = $34; - $$sink256 = 56; - } else { - $46 = 0; - label = 9; - } else { - $46 = $13; - label = 9; - } - if ((label | 0) == 9) { - label = 0; - $44 = +HEAPF32[$$0245252 >> 2] * +(HEAP16[$$0247251 >> 1] | 0); - $49 = +HEAPF32[$$0245252 + 64 >> 2] * +($46 << 16 >> 16); - $55 = +HEAPF32[$$0245252 + 128 >> 2] * +(HEAP16[$$0247251 + 64 >> 1] | 0); - $61 = +HEAPF32[$$0245252 + 192 >> 2] * +(HEAP16[$$0247251 + 96 >> 1] | 0); - $62 = $44 + $55; - $63 = $44 - $55; - $64 = $49 + $61; - $67 = ($49 - $61) * 1.4142135381698608 - $64; - $68 = $62 + $64; - $69 = $62 - $64; - $70 = $63 + $67; - $71 = $63 - $67; - $75 = +HEAPF32[$$0245252 + 32 >> 2] * +($11 << 16 >> 16); - $81 = +HEAPF32[$$0245252 + 96 >> 2] * +(HEAP16[$$0247251 + 48 >> 1] | 0); - $87 = +HEAPF32[$$0245252 + 160 >> 2] * +(HEAP16[$$0247251 + 80 >> 1] | 0); - $93 = +HEAPF32[$$0245252 + 224 >> 2] * +(HEAP16[$$0247251 + 112 >> 1] | 0); - $94 = $81 + $87; - $95 = $87 - $81; - $96 = $75 + $93; - $97 = $75 - $93; - $98 = $94 + $96; - $102 = ($95 + $97) * 1.8477590084075928; - $107 = $102 - $95 * 2.613126039505005 - $98; - $108 = ($96 - $94) * 1.4142135381698608 - $107; - $109 = $102 - $97 * 1.0823922157287598 - $108; - HEAPF32[$$0243253 >> 2] = $68 + $98; - HEAPF32[$$0243253 + 224 >> 2] = $68 - $98; - HEAPF32[$$0243253 + 32 >> 2] = $70 + $107; - HEAPF32[$$0243253 + 192 >> 2] = $70 - $107; - HEAPF32[$$0243253 + 64 >> 2] = $71 + $108; - HEAPF32[$$0243253 + 160 >> 2] = $71 - $108; - HEAPF32[$$0243253 + 96 >> 2] = $69 + $109; - $$sink = $69 - $109; - $$sink256 = 32; - } - HEAPF32[$$0243253 + ($$sink256 << 2) >> 2] = $$sink; - if ($$0254 >>> 0 > 1) { - $$0243253 = $$0243253 + 4 | 0; - $$0245252 = $$0245252 + 4 | 0; - $$0247251 = $$0247251 + 2 | 0; - $$0254 = $$0254 + -1 | 0; - } else break; - } - $127 = $7 + -384 | 0; - $$1250 = 0; - $$2249 = $5; - while (1) { - $130 = (HEAP32[$3 + ($$1250 << 2) >> 2] | 0) + $4 | 0; - $132 = +HEAPF32[$$2249 >> 2] + 512.5; - $134 = +HEAPF32[$$2249 + 16 >> 2]; - $135 = $132 + $134; - $136 = $132 - $134; - $138 = +HEAPF32[$$2249 + 8 >> 2]; - $140 = +HEAPF32[$$2249 + 24 >> 2]; - $141 = $138 + $140; - $144 = ($138 - $140) * 1.4142135381698608 - $141; - $145 = $135 + $141; - $146 = $135 - $141; - $147 = $136 + $144; - $148 = $136 - $144; - $150 = +HEAPF32[$$2249 + 20 >> 2]; - $152 = +HEAPF32[$$2249 + 12 >> 2]; - $153 = $150 + $152; - $154 = $150 - $152; - $156 = +HEAPF32[$$2249 + 4 >> 2]; - $158 = +HEAPF32[$$2249 + 28 >> 2]; - $159 = $156 + $158; - $160 = $156 - $158; - $161 = $153 + $159; - $165 = ($154 + $160) * 1.8477590084075928; - $170 = $165 - $154 * 2.613126039505005 - $161; - $171 = ($159 - $153) * 1.4142135381698608 - $170; - $172 = $165 - $160 * 1.0823922157287598 - $171; - HEAP8[$130 >> 0] = HEAP8[$127 + (~~($145 + $161) & 1023) >> 0] | 0; - HEAP8[$130 + 7 >> 0] = HEAP8[$127 + (~~($145 - $161) & 1023) >> 0] | 0; - HEAP8[$130 + 1 >> 0] = HEAP8[$127 + (~~($147 + $170) & 1023) >> 0] | 0; - HEAP8[$130 + 6 >> 0] = HEAP8[$127 + (~~($147 - $170) & 1023) >> 0] | 0; - HEAP8[$130 + 2 >> 0] = HEAP8[$127 + (~~($148 + $171) & 1023) >> 0] | 0; - HEAP8[$130 + 5 >> 0] = HEAP8[$127 + (~~($148 - $171) & 1023) >> 0] | 0; - HEAP8[$130 + 3 >> 0] = HEAP8[$127 + (~~($146 + $172) & 1023) >> 0] | 0; - HEAP8[$130 + 4 >> 0] = HEAP8[$127 + (~~($146 - $172) & 1023) >> 0] | 0; - $$1250 = $$1250 + 1 | 0; - if (($$1250 | 0) == 8) break; else $$2249 = $$2249 + 32 | 0; - } - STACKTOP = sp; - return; -} - -function _decode_mcu_AC_first($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$035$i = 0, $$080100 = 0, $$081$lcssa = 0, $$081105 = 0, $$084 = 0, $$086$lcssa = 0, $$08696 = 0, $$1 = 0, $$185$lcssa = 0, $$18799 = 0, $$288 = 0, $$lcssa = 0, $102 = 0, $108 = 0, $111 = 0, $113 = 0, $117 = 0, $120 = 0, $121 = 0, $124 = 0, $126 = 0, $16 = 0, $19 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $27 = 0, $3 = 0, $4 = 0, $54 = 0, $56 = 0, $57 = 0, $61 = 0, $62 = 0, $66 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $77 = 0, $8 = 0, $80 = 0, $86 = 0, $87 = 0, $91 = 0, $92 = 0, $96 = 0, $97 = 0, $98 = 0, $spec$select = 0, dest = 0, label = 0, stop = 0; - $3 = HEAP32[$0 + 468 >> 2] | 0; - $4 = $0 + 280 | 0; - if (HEAP32[$4 >> 2] | 0) { - $7 = $3 + 56 | 0; - $8 = HEAP32[$7 >> 2] | 0; - if (!$8) { - if (!(FUNCTION_TABLE_ii[HEAP32[(HEAP32[$0 + 464 >> 2] | 0) + 8 >> 2] & 127]($0) | 0)) { - $16 = HEAP32[$0 >> 2] | 0; - HEAP32[$16 + 20 >> 2] = 25; - FUNCTION_TABLE_vi[HEAP32[$16 >> 2] & 255]($0); - } - $19 = $0 + 340 | 0; - if ((HEAP32[$19 >> 2] | 0) > 0) { - $22 = $0 + 224 | 0; - $23 = $0 + 412 | 0; - $24 = $0 + 436 | 0; - $25 = $0 + 420 | 0; - $$035$i = 0; +function _decode_mcu_AC_first_21($cinfo, $MCU_data) { + $cinfo = $cinfo | 0; + $MCU_data = $MCU_data | 0; + var $0 = 0, $18 = 0, $19 = 0, $2 = 0, $21 = 0, $22 = 0, $24 = 0, $28 = 0, $32 = 0, $5 = 0, $8 = 0, $Ah$i = 0, $Al = 0, $Se = 0, $Ss$i = 0, $add$ptr = 0, $add$ptr19 = 0, $add$ptr26 = 0, $add$ptr38 = 0, $add$ptr51 = 0, $add$ptr54 = 0, $arraydecay = 0, $arrayidx10 = 0, $arrayidx35 = 0, $call25 = 0, $call27 = 0, $ci$032$i = 0, $comps_in_scan$i = 0, $ct = 0, $inc = 0, $inc$lcssa = 0, $inc68 = 0, $inc73 = 0, $k$0 = 0, $k$1$lcssa = 0, $lim_Se$i = 0, $m$079 = 0, $m$1 = 0, $progressive_mode$i = 0, $restart_interval = 0, $restarts_to_go = 0, $shl = 0, $shl41 = 0, $shr82 = 0, $shr85 = 0, $spec$select = 0, $st$0$lcssa = 0, $st$072 = 0, $st$178 = 0, $st$2 = 0, $tobool59 = 0, $v$0$lcssa = 0, $v$084 = 0, dest = 0, label = 0, stop = 0; + $0 = HEAP32[$cinfo + 468 >> 2] | 0; + $restart_interval = $cinfo + 280 | 0; + if (HEAP32[$restart_interval >> 2] | 0) { + $restarts_to_go = $0 + 56 | 0; + $2 = HEAP32[$restarts_to_go >> 2] | 0; + if (!$2) { + if (!(FUNCTION_TABLE_ii[HEAP32[(HEAP32[$cinfo + 464 >> 2] | 0) + 8 >> 2] & 127]($cinfo) | 0)) { + $5 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$5 + 20 >> 2] = 25; + FUNCTION_TABLE_vi[HEAP32[$5 >> 2] & 255]($cinfo); + } + $comps_in_scan$i = $cinfo + 340 | 0; + if ((HEAP32[$comps_in_scan$i >> 2] | 0) > 0) { + $progressive_mode$i = $cinfo + 224 | 0; + $Ss$i = $cinfo + 412 | 0; + $lim_Se$i = $cinfo + 436 | 0; + $Ah$i = $cinfo + 420 | 0; + $ci$032$i = 0; do { - $27 = HEAP32[$0 + 344 + ($$035$i << 2) >> 2] | 0; - if (HEAP32[$22 >> 2] | 0) if (!(HEAP32[$23 >> 2] | 0)) { - if (!(HEAP32[$25 >> 2] | 0)) label = 10; + $8 = HEAP32[$cinfo + 344 + ($ci$032$i << 2) >> 2] | 0; + if (HEAP32[$progressive_mode$i >> 2] | 0) if (!(HEAP32[$Ss$i >> 2] | 0)) { + if (!(HEAP32[$Ah$i >> 2] | 0)) label = 10; } else label = 13; else label = 10; do if ((label | 0) == 10) { label = 0; - dest = HEAP32[$3 + 60 + (HEAP32[$27 + 20 >> 2] << 2) >> 2] | 0; + dest = HEAP32[$0 + 60 + (HEAP32[$8 + 20 >> 2] << 2) >> 2] | 0; stop = dest + 64 | 0; do { HEAP8[dest >> 0] = 0; dest = dest + 1 | 0; } while ((dest | 0) < (stop | 0)); - HEAP32[$3 + 24 + ($$035$i << 2) >> 2] = 0; - HEAP32[$3 + 40 + ($$035$i << 2) >> 2] = 0; - if (!(HEAP32[$22 >> 2] | 0)) if (!(HEAP32[$24 >> 2] | 0)) break; else { + HEAP32[$0 + 24 + ($ci$032$i << 2) >> 2] = 0; + HEAP32[$0 + 40 + ($ci$032$i << 2) >> 2] = 0; + if (!(HEAP32[$progressive_mode$i >> 2] | 0)) if (!(HEAP32[$lim_Se$i >> 2] | 0)) break; else { label = 13; break; - } else if (!(HEAP32[$23 >> 2] | 0)) break; else { + } else if (!(HEAP32[$Ss$i >> 2] | 0)) break; else { label = 13; break; } } while (0); if ((label | 0) == 13) { label = 0; - _memset(HEAP32[$3 + 124 + (HEAP32[$27 + 24 >> 2] << 2) >> 2] | 0, 0, 256) | 0; - } - $$035$i = $$035$i + 1 | 0; - } while (($$035$i | 0) < (HEAP32[$19 >> 2] | 0)); - } - HEAP32[$3 + 12 >> 2] = 0; - HEAP32[$3 + 16 >> 2] = 0; - HEAP32[$3 + 20 >> 2] = -16; - $54 = HEAP32[$4 >> 2] | 0; - HEAP32[$7 >> 2] = $54; - $56 = $54; - } else $56 = $8; - HEAP32[$7 >> 2] = $56 + -1; - } - $57 = $3 + 20 | 0; - if ((HEAP32[$57 >> 2] | 0) == -1) return 1; - $61 = HEAP32[$0 + 432 >> 2] | 0; - $62 = HEAP32[$1 >> 2] | 0; - $66 = HEAP32[(HEAP32[$0 + 344 >> 2] | 0) + 24 >> 2] | 0; - $70 = $3 + 124 + ($66 << 2) | 0; - $71 = $3 + 188 | 0; - $72 = $0 + 416 | 0; - $73 = $0 + 424 | 0; - $74 = $0 + 264 + $66 | 0; - $$084 = (HEAP32[$0 + 412 >> 2] | 0) + -1 | 0; + _memset(HEAP32[$0 + 124 + (HEAP32[$8 + 24 >> 2] << 2) >> 2] | 0, 0, 256) | 0; + } + $ci$032$i = $ci$032$i + 1 | 0; + } while (($ci$032$i | 0) < (HEAP32[$comps_in_scan$i >> 2] | 0)); + } + HEAP32[$0 + 12 >> 2] = 0; + HEAP32[$0 + 16 >> 2] = 0; + HEAP32[$0 + 20 >> 2] = -16; + $18 = HEAP32[$restart_interval >> 2] | 0; + HEAP32[$restarts_to_go >> 2] = $18; + $19 = $18; + } else $19 = $2; + HEAP32[$restarts_to_go >> 2] = $19 + -1; + } + $ct = $0 + 20 | 0; + if ((HEAP32[$ct >> 2] | 0) == -1) return 1; + $21 = HEAP32[$cinfo + 432 >> 2] | 0; + $22 = HEAP32[$MCU_data >> 2] | 0; + $24 = HEAP32[(HEAP32[$cinfo + 344 >> 2] | 0) + 24 >> 2] | 0; + $arrayidx10 = $0 + 124 + ($24 << 2) | 0; + $arraydecay = $0 + 188 | 0; + $Se = $cinfo + 416 | 0; + $Al = $cinfo + 424 | 0; + $arrayidx35 = $cinfo + 264 + $24 | 0; + $k$0 = (HEAP32[$cinfo + 412 >> 2] | 0) + -1 | 0; L29 : while (1) { - $77 = (HEAP32[$70 >> 2] | 0) + ($$084 * 3 | 0) | 0; - if (_arith_decode($0, $77) | 0) { + $add$ptr = (HEAP32[$arrayidx10 >> 2] | 0) + ($k$0 * 3 | 0) | 0; + if (_arith_decode($cinfo, $add$ptr) | 0) { label = 36; break; } - $80 = $$084 + 1 | 0; - if (!(_arith_decode($0, $77 + 1 | 0) | 0)) { - $$08696 = $77; - $86 = $80; + $inc68 = $k$0 + 1 | 0; + if (!(_arith_decode($cinfo, $add$ptr + 1 | 0) | 0)) { + $inc73 = $inc68; + $st$072 = $add$ptr; while (1) { - if (($86 | 0) >= (HEAP32[$72 >> 2] | 0)) { + if (($inc73 | 0) >= (HEAP32[$Se >> 2] | 0)) { label = 23; break L29; } - $91 = $$08696 + 3 | 0; - $92 = $86 + 1 | 0; - if (!(_arith_decode($0, $$08696 + 4 | 0) | 0)) { - $$08696 = $91; - $86 = $92; + $add$ptr19 = $st$072 + 3 | 0; + $inc = $inc73 + 1 | 0; + if (!(_arith_decode($cinfo, $st$072 + 4 | 0) | 0)) { + $inc73 = $inc; + $st$072 = $add$ptr19; } else { - $$086$lcssa = $91; - $$185$lcssa = $86; - $$lcssa = $92; + $inc$lcssa = $inc; + $k$1$lcssa = $inc73; + $st$0$lcssa = $add$ptr19; break; } } } else { - $$086$lcssa = $77; - $$185$lcssa = $$084; - $$lcssa = $80; - } - $96 = _arith_decode($0, $71) | 0; - $97 = $$086$lcssa + 2 | 0; - $98 = _arith_decode($0, $97) | 0; - if ($98) { - if (_arith_decode($0, $97) | 0) { - $102 = $98 << 1; - $108 = (HEAP32[$70 >> 2] | 0) + (($$185$lcssa | 0) < (HEAPU8[$74 >> 0] | 0 | 0) ? 189 : 217) | 0; - if (!(_arith_decode($0, $108) | 0)) { - $$1 = $102; - $$288 = $108; + $inc$lcssa = $inc68; + $k$1$lcssa = $k$0; + $st$0$lcssa = $add$ptr; + } + $call25 = _arith_decode($cinfo, $arraydecay) | 0; + $add$ptr26 = $st$0$lcssa + 2 | 0; + $call27 = _arith_decode($cinfo, $add$ptr26) | 0; + if ($call27) { + if (_arith_decode($cinfo, $add$ptr26) | 0) { + $shl = $call27 << 1; + $add$ptr38 = (HEAP32[$arrayidx10 >> 2] | 0) + (($k$1$lcssa | 0) < (HEAPU8[$arrayidx35 >> 0] | 0 | 0) ? 189 : 217) | 0; + if (!(_arith_decode($cinfo, $add$ptr38) | 0)) { + $m$1 = $shl; + $st$2 = $add$ptr38; } else { - $$080100 = $102; - $$18799 = $108; + $m$079 = $shl; + $st$178 = $add$ptr38; while (1) { - $111 = $$080100 << 1; - if (($111 | 0) == 32768) { + $shl41 = $m$079 << 1; + if (($shl41 | 0) == 32768) { label = 30; break L29; } - $117 = $$18799 + 1 | 0; - if (!(_arith_decode($0, $117) | 0)) { - $$1 = $111; - $$288 = $117; + $add$ptr51 = $st$178 + 1 | 0; + if (!(_arith_decode($cinfo, $add$ptr51) | 0)) { + $m$1 = $shl41; + $st$2 = $add$ptr51; break; } else { - $$080100 = $111; - $$18799 = $117; + $m$079 = $shl41; + $st$178 = $add$ptr51; } } } } else { - $$1 = $98; - $$288 = $97; - } - $120 = $$288 + 14 | 0; - $121 = $$1 >> 1; - if (!$121) $$081$lcssa = $$1; else { - $$081105 = $$1; - $126 = $121; + $m$1 = $call27; + $st$2 = $add$ptr26; + } + $add$ptr54 = $st$2 + 14 | 0; + $shr82 = $m$1 >> 1; + if (!$shr82) $v$0$lcssa = $m$1; else { + $shr85 = $shr82; + $v$084 = $m$1; while (1) { - $124 = (_arith_decode($0, $120) | 0) == 0; - $spec$select = ($124 ? 0 : $126) | $$081105; - $126 = $126 >> 1; - if (!$126) { - $$081$lcssa = $spec$select; + $tobool59 = (_arith_decode($cinfo, $add$ptr54) | 0) == 0; + $spec$select = ($tobool59 ? 0 : $shr85) | $v$084; + $shr85 = $shr85 >> 1; + if (!$shr85) { + $v$0$lcssa = $spec$select; break; - } else $$081105 = $spec$select; + } else $v$084 = $spec$select; } } - } else $$081$lcssa = 0; - HEAP16[$62 + (HEAP32[$61 + ($$lcssa << 2) >> 2] << 1) >> 1] = (($96 | 0) == 0 ? $$081$lcssa + 1 | 0 : ~$$081$lcssa) << HEAP32[$73 >> 2]; - if (($$lcssa | 0) < (HEAP32[$72 >> 2] | 0)) $$084 = $$lcssa; else { + } else $v$0$lcssa = 0; + HEAP16[$22 + (HEAP32[$21 + ($inc$lcssa << 2) >> 2] << 1) >> 1] = (($call25 | 0) == 0 ? $v$0$lcssa + 1 | 0 : ~$v$0$lcssa) << HEAP32[$Al >> 2]; + if (($inc$lcssa | 0) < (HEAP32[$Se >> 2] | 0)) $k$0 = $inc$lcssa; else { label = 36; break; } } - if ((label | 0) == 23) { - $87 = HEAP32[$0 >> 2] | 0; - HEAP32[$87 + 20 >> 2] = 117; - FUNCTION_TABLE_vii[HEAP32[$87 + 4 >> 2] & 255]($0, -1); - HEAP32[$57 >> 2] = -1; - return 1; - } else if ((label | 0) == 30) { - $113 = HEAP32[$0 >> 2] | 0; - HEAP32[$113 + 20 >> 2] = 117; - FUNCTION_TABLE_vii[HEAP32[$113 + 4 >> 2] & 255]($0, -1); - HEAP32[$57 >> 2] = -1; - return 1; - } else if ((label | 0) == 36) return 1; - return 0; + if ((label | 0) == 23) { + $28 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$28 + 20 >> 2] = 117; + FUNCTION_TABLE_vii[HEAP32[$28 + 4 >> 2] & 255]($cinfo, -1); + HEAP32[$ct >> 2] = -1; + return 1; + } else if ((label | 0) == 30) { + $32 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$32 + 20 >> 2] = 117; + FUNCTION_TABLE_vii[HEAP32[$32 + 4 >> 2] & 255]($cinfo, -1); + HEAP32[$ct >> 2] = -1; + return 1; + } else if ((label | 0) == 36) return 1; + return 0; +} + +function _extractVisibleFeatures_175($cparamLT, $trans1, $surfaceSet, $candidate, $candidate2) { + $cparamLT = $cparamLT | 0; + $trans1 = $trans1 | 0; + $surfaceSet = $surfaceSet | 0; + $candidate = $candidate | 0; + $candidate2 = $candidate2 | 0; + var $12 = 0.0, $13 = 0.0, $18 = 0, $19 = 0.0, $21 = 0.0, $29 = 0.0, $33 = 0.0, $36 = 0, $37 = 0.0, $4 = 0, $6 = 0, $7 = 0, $9 = 0, $add107 = 0.0, $add134 = 0.0, $add80 = 0.0, $arrayidx106 = 0, $arrayidx110 = 0, $arrayidx121 = 0, $arrayidx133 = 0, $arrayidx154 = 0, $arrayidx158 = 0, $arrayidx163 = 0, $arrayidx187 = 0, $arrayidx192 = 0, $arrayidx68 = 0, $arrayidx79 = 0, $arrayidx83 = 0, $arrayidx94 = 0, $cmp43 = 0, $conv = 0.0, $conv52 = 0.0, $flag251 = 0, $flag281$sink = 0, $i$0 = 0, $j$0 = 0, $j$1 = 0, $k$0 = 0, $k$1 = 0, $l$0 = 0, $l$1 = 0, $l$2 = 0, $l$3 = 0, $l2$0 = 0, $l2$1 = 0, $l2$2 = 0, $l2$3 = 0, $num = 0, $sx = 0, $sy = 0, $trans2 = 0, $vararg_buffer = 0, $w = 0, $wpos = 0, label = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 80 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(80); + $vararg_buffer = sp + 48 | 0; + $trans2 = sp; + $sx = sp + 76 | 0; + $sy = sp + 72 | 0; + $wpos = sp + 64 | 0; + $w = sp + 56 | 0; + $num = $surfaceSet + 4 | 0; + $conv = +(HEAP32[$cparamLT >> 2] | 0); + $conv52 = +(HEAP32[$cparamLT + 4 >> 2] | 0); + $arrayidx68 = $trans2 + 4 | 0; + $arrayidx79 = $trans2 + 12 | 0; + $arrayidx83 = $trans2 + 16 | 0; + $arrayidx94 = $trans2 + 20 | 0; + $arrayidx106 = $trans2 + 28 | 0; + $arrayidx110 = $trans2 + 32 | 0; + $arrayidx121 = $trans2 + 36 | 0; + $arrayidx133 = $trans2 + 44 | 0; + $arrayidx154 = $trans2 + 8 | 0; + $arrayidx158 = $trans2 + 24 | 0; + $arrayidx163 = $trans2 + 40 | 0; + $arrayidx187 = $wpos + 4 | 0; + $arrayidx192 = $w + 4 | 0; + $flag251 = $candidate2 + 4812 | 0; + $i$0 = 0; + $l$0 = 0; + $l2$0 = 0; + L1 : while (1) { + if (($i$0 | 0) >= (HEAP32[$num >> 2] | 0)) { + label = 29; + break; + } + $j$0 = 0; + while (1) { + if (($j$0 | 0) == 3) break; + $k$0 = 0; + while (1) { + if (($k$0 | 0) == 4) break; + HEAP32[$trans2 + ($j$0 << 4) + ($k$0 << 2) >> 2] = HEAP32[$trans1 + ($i$0 * 48 | 0) + ($j$0 << 4) + ($k$0 << 2) >> 2]; + $k$0 = $k$0 + 1 | 0; + } + $j$0 = $j$0 + 1 | 0; + } + $4 = HEAP32[(HEAP32[$surfaceSet >> 2] | 0) + ($i$0 * 112 | 0) + 4 >> 2] | 0; + $j$1 = 0; + $l$1 = $l$0; + $l2$1 = $l2$0; + while (1) { + if (($j$1 | 0) >= (HEAP32[$4 + 4 >> 2] | 0)) break; + $7 = $4; + $k$1 = 0; + $l$2 = $l$1; + $l2$2 = $l2$1; + while (1) { + $6 = HEAP32[$7 >> 2] | 0; + if (($k$1 | 0) >= (HEAP32[$6 + ($j$1 * 20 | 0) + 4 >> 2] | 0)) break; + $9 = HEAP32[$6 + ($j$1 * 20 | 0) >> 2] | 0; + $cmp43 = (_ar2MarkerCoord2ScreenCoord2($cparamLT, $trans2, +HEAPF32[$9 + ($k$1 * 20 | 0) + 8 >> 2], +HEAPF32[$9 + ($k$1 * 20 | 0) + 12 >> 2], $sx, $sy) | 0) < 0; + $12 = +HEAPF32[$sx >> 2]; + do if ((!($cmp43 | $12 < 0.0) ? ($13 = +HEAPF32[$sy >> 2], !($13 >= $conv52) & (!($12 >= $conv) & !($13 < 0.0))) : 0) ? ($18 = HEAP32[(HEAP32[HEAP32[(HEAP32[$surfaceSet >> 2] | 0) + ($i$0 * 112 | 0) + 4 >> 2] >> 2] | 0) + ($j$1 * 20 | 0) >> 2] | 0, $19 = +HEAPF32[$18 + ($k$1 * 20 | 0) + 8 >> 2], $21 = +HEAPF32[$18 + ($k$1 * 20 | 0) + 12 >> 2], $add80 = +HEAPF32[$arrayidx79 >> 2] + (+HEAPF32[$trans2 >> 2] * $19 + +HEAPF32[$arrayidx68 >> 2] * $21), $add107 = +HEAPF32[$arrayidx106 >> 2] + ($19 * +HEAPF32[$arrayidx83 >> 2] + $21 * +HEAPF32[$arrayidx94 >> 2]), $add134 = +HEAPF32[$arrayidx133 >> 2] + ($19 * +HEAPF32[$arrayidx110 >> 2] + $21 * +HEAPF32[$arrayidx121 >> 2]), $29 = +Math_sqrt(+($add80 * $add80 + $add107 * $add107 + $add134 * $add134)), !(+HEAPF32[$arrayidx163 >> 2] * ($add134 / $29) + (+HEAPF32[$arrayidx154 >> 2] * ($add80 / $29) + +HEAPF32[$arrayidx158 >> 2] * ($add107 / $29)) > -.10000000149011612)) : 0) { + HEAPF32[$wpos >> 2] = $19; + HEAPF32[$arrayidx187 >> 2] = $21; + _ar2GetResolution($cparamLT, $trans2, $wpos, $w) | 0; + $33 = +HEAPF32[$arrayidx192 >> 2]; + $36 = HEAP32[HEAP32[(HEAP32[$surfaceSet >> 2] | 0) + ($i$0 * 112 | 0) + 4 >> 2] >> 2] | 0; + $37 = +HEAPF32[$36 + ($j$1 * 20 | 0) + 12 >> 2]; + if ($33 <= $37 ? $33 >= +HEAPF32[$36 + ($j$1 * 20 | 0) + 16 >> 2] : 0) { + if (($l$2 | 0) == 200) { + label = 19; + break L1; + } + HEAP32[$candidate + ($l$2 * 24 | 0) >> 2] = $i$0; + HEAP32[$candidate + ($l$2 * 24 | 0) + 4 >> 2] = $j$1; + HEAP32[$candidate + ($l$2 * 24 | 0) + 8 >> 2] = $k$1; + HEAP32[$candidate + ($l$2 * 24 | 0) + 16 >> 2] = HEAP32[$sx >> 2]; + HEAP32[$candidate + ($l$2 * 24 | 0) + 20 >> 2] = HEAP32[$sy >> 2]; + HEAP32[$candidate + ($l$2 * 24 | 0) + 12 >> 2] = 0; + $l$3 = $l$2 + 1 | 0; + $l2$3 = $l2$2; + break; + } + if ($33 <= $37 * 2.0 ? $33 >= +HEAPF32[$36 + ($j$1 * 20 | 0) + 16 >> 2] * .5 : 0) if (($l2$2 | 0) == 200) { + HEAP32[$flag251 >> 2] = -1; + $l$3 = $l$2; + $l2$3 = 200; + break; + } else { + HEAP32[$candidate2 + ($l2$2 * 24 | 0) >> 2] = $i$0; + HEAP32[$candidate2 + ($l2$2 * 24 | 0) + 4 >> 2] = $j$1; + HEAP32[$candidate2 + ($l2$2 * 24 | 0) + 8 >> 2] = $k$1; + HEAP32[$candidate2 + ($l2$2 * 24 | 0) + 16 >> 2] = HEAP32[$sx >> 2]; + HEAP32[$candidate2 + ($l2$2 * 24 | 0) + 20 >> 2] = HEAP32[$sy >> 2]; + HEAP32[$candidate2 + ($l2$2 * 24 | 0) + 12 >> 2] = 0; + $l$3 = $l$2; + $l2$3 = $l2$2 + 1 | 0; + break; + } else { + $l$3 = $l$2; + $l2$3 = $l2$2; + } + } else { + $l$3 = $l$2; + $l2$3 = $l2$2; + } while (0); + $7 = HEAP32[(HEAP32[$surfaceSet >> 2] | 0) + ($i$0 * 112 | 0) + 4 >> 2] | 0; + $k$1 = $k$1 + 1 | 0; + $l$2 = $l$3; + $l2$2 = $l2$3; + } + $4 = $7; + $j$1 = $j$1 + 1 | 0; + $l$1 = $l$2; + $l2$1 = $l2$2; + } + $i$0 = $i$0 + 1 | 0; + $l$0 = $l$1; + $l2$0 = $l2$1; + } + if ((label | 0) == 19) { + _arLog(0, 3, 46804, $vararg_buffer); + $flag281$sink = $candidate + 4812 | 0; + } else if ((label | 0) == 29) { + HEAP32[$candidate + ($l$0 * 24 | 0) + 12 >> 2] = -1; + $flag281$sink = $candidate2 + ($l2$0 * 24 | 0) + 12 | 0; + } + HEAP32[$flag281$sink >> 2] = -1; + STACKTOP = sp; + return; +} + +function __ZN6vision14BinarykMedoidsILi96EE6assignERNSt3__26vectorIiNS2_9allocatorIiEEEEPKhiPKiiSB_i($this, $assignment, $features, $num_features, $indices, $num_indices, $centers, $num_centers) { + $this = $this | 0; + $assignment = $assignment | 0; + $features = $features | 0; + $num_features = $num_features | 0; + $indices = $indices | 0; + $num_indices = $num_indices | 0; + $centers = $centers | 0; + $num_centers = $num_centers | 0; + var $arrayidx = 0, $arrayidx52 = 0, $best_dist$0 = 0, $best_dist$1 = 0, $call$i1$i = 0, $call$i1$i46 = 0, $call$i1$i54 = 0, $call$i1$i62 = 0, $call$i2$i = 0, $call$i2$i49 = 0, $call$i2$i57 = 0, $call$i2$i65 = 0, $call17 = 0, $call29 = 0, $call41 = 0, $call56 = 0, $call7 = 0, $i$0 = 0, $j$0 = 0, $ref$tmp$i61 = 0, $sum_dist$0 = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $ref$tmp$i61 = sp; + if (((HEAP32[$assignment + 4 >> 2] | 0) - (HEAP32[$assignment >> 2] | 0) >> 2 | 0) != ($num_indices | 0)) { + $call7 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 33472) | 0, 34011) | 0, 39794) | 0, 198) | 0, 39801) | 0, 34381) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i61, $call7 + (HEAP32[(HEAP32[$call7 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i61, 67360) | 0; + $call$i2$i = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i >> 2] | 0) + 28 >> 2] & 127]($call$i1$i, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i61); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call7, $call$i2$i) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call7) | 0; + _abort(); + } + if (($num_features | 0) <= 0) { + $call17 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 34166) | 0, 34011) | 0, 39794) | 0, 199) | 0, 39801) | 0, 34206) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i61, $call17 + (HEAP32[(HEAP32[$call17 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i46 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i61, 67360) | 0; + $call$i2$i49 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i46 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i46, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i61); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call17, $call$i2$i49) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call17) | 0; + _abort(); + } + if (($num_indices | 0) > ($num_features | 0)) { + $call29 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 34242) | 0, 34011) | 0, 39794) | 0, 200) | 0, 39801) | 0, 34293) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i61, $call29 + (HEAP32[(HEAP32[$call29 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i54 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i61, 67360) | 0; + $call$i2$i57 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i54 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i54, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i61); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call29, $call$i2$i57) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call29) | 0; + _abort(); + } + if (($num_centers | 0) <= 0) { + $call41 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 34410) | 0, 34011) | 0, 39794) | 0, 201) | 0, 39801) | 0, 34449) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i61, $call41 + (HEAP32[(HEAP32[$call41 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i62 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i61, 67360) | 0; + $call$i2$i65 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i62 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i62, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i61); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call41, $call$i2$i65) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call41) | 0; + _abort(); + } + $i$0 = 0; + $sum_dist$0 = 0; + while (1) { + if (($i$0 | 0) >= ($num_indices | 0)) break; + $arrayidx = $indices + ($i$0 << 2) | 0; + $best_dist$0 = -1; + $j$0 = 0; + while (1) { + if (($j$0 | 0) == ($num_centers | 0)) break; + $arrayidx52 = $centers + ($j$0 << 2) | 0; + $call56 = __ZN6vision15HammingDistanceILi96EEEjPKhS2_($features + ((HEAP32[$arrayidx >> 2] | 0) * 96 | 0) | 0, $features + ((HEAP32[$indices + (HEAP32[$arrayidx52 >> 2] << 2) >> 2] | 0) * 96 | 0) | 0) | 0; + if ($call56 >>> 0 < $best_dist$0 >>> 0) { + HEAP32[(HEAP32[$assignment >> 2] | 0) + ($i$0 << 2) >> 2] = HEAP32[$arrayidx52 >> 2]; + $best_dist$1 = $call56; + } else $best_dist$1 = $best_dist$0; + $best_dist$0 = $best_dist$1; + $j$0 = $j$0 + 1 | 0; + } + $i$0 = $i$0 + 1 | 0; + $sum_dist$0 = $best_dist$0 + $sum_dist$0 | 0; + } + STACKTOP = sp; + return $sum_dist$0 | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E12parseNewExprEv($0) { - $0 = $0 | 0; - var $$5 = 0, $$7 = 0, $$byval_copy3 = 0, $1 = 0, $10 = 0, $13 = 0, $16 = 0, $17 = 0, $2 = 0, $20 = 0, $22 = 0, $23 = 0, $26 = 0, $28 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, label = 0, sp = 0; +function _jpeg_idct_9x9($cinfo, $compptr, $coef_block, $output_buf, $output_col) { + $cinfo = $cinfo | 0; + $compptr = $compptr | 0; + $coef_block = $coef_block | 0; + $output_buf = $output_buf | 0; + $output_col = $output_col | 0; + var $0 = 0, $20 = 0, $21 = 0, $23 = 0, $25 = 0, $26 = 0, $add = 0, $add$ptr = 0, $add$ptr97 = 0, $add105 = 0, $add110 = 0, $add120 = 0, $add122 = 0, $add137 = 0, $add139 = 0, $add15 = 0, $add19 = 0, $add29 = 0, $add31 = 0, $add58 = 0, $add60 = 0, $ctr$0195 = 0, $ctr$1191 = 0, $inptr$0192 = 0, $mul104 = 0, $mul114 = 0, $mul115 = 0, $mul116 = 0, $mul127 = 0, $mul129 = 0, $mul131 = 0, $mul135 = 0, $mul14 = 0, $mul142 = 0, $mul23 = 0, $mul24 = 0, $mul25 = 0, $mul35 = 0, $mul43 = 0, $mul47 = 0, $mul48 = 0, $mul5 = 0, $mul50 = 0, $mul52 = 0, $mul56 = 0, $mul63 = 0, $mul9 = 0, $quantptr$0193 = 0, $shl100 = 0, $sub107 = 0, $sub108 = 0, $sub112 = 0, $sub118 = 0, $sub133 = 0, $sub16 = 0, $sub17 = 0, $sub21 = 0, $sub27 = 0, $sub54 = 0, $workspace = 0, $wsptr$0194 = 0, $wsptr$1190 = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 288 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(288); + $workspace = sp; + $0 = HEAP32[$cinfo + 336 >> 2] | 0; + $ctr$0195 = 0; + $inptr$0192 = $coef_block; + $quantptr$0193 = HEAP32[$compptr + 84 >> 2] | 0; + $wsptr$0194 = $workspace; + while (1) { + $add = Math_imul(HEAP16[$inptr$0192 >> 1] << 13, HEAP32[$quantptr$0193 >> 2] | 0) | 0 | 1024; + $mul5 = Math_imul(HEAP32[$quantptr$0193 + 64 >> 2] | 0, HEAP16[$inptr$0192 + 32 >> 1] | 0) | 0; + $mul9 = Math_imul(HEAP32[$quantptr$0193 + 128 >> 2] | 0, HEAP16[$inptr$0192 + 64 >> 1] | 0) | 0; + $mul14 = Math_imul((HEAP16[$inptr$0192 + 96 >> 1] | 0) * 5793 | 0, HEAP32[$quantptr$0193 + 192 >> 2] | 0) | 0; + $add15 = $mul14 + $add | 0; + $sub16 = $add - $mul14 - $mul14 | 0; + $sub17 = $mul5 - $mul9 | 0; + $add19 = $sub16 + ($sub17 * 5793 | 0) | 0; + $sub21 = (Math_imul($sub17, -11586) | 0) + $sub16 | 0; + $mul23 = ($mul9 + $mul5 | 0) * 10887 | 0; + $mul24 = $mul5 * 8875 | 0; + $mul25 = $mul9 * 2012 | 0; + $sub27 = $mul23 - $mul25 + $add15 | 0; + $add29 = $add15 - $mul23 + $mul24 | 0; + $add31 = $add15 - $mul24 + $mul25 | 0; + $mul35 = Math_imul(HEAP32[$quantptr$0193 + 32 >> 2] | 0, HEAP16[$inptr$0192 + 16 >> 1] | 0) | 0; + $mul43 = Math_imul(HEAP32[$quantptr$0193 + 160 >> 2] | 0, HEAP16[$inptr$0192 + 80 >> 1] | 0) | 0; + $mul47 = Math_imul(HEAP32[$quantptr$0193 + 224 >> 2] | 0, HEAP16[$inptr$0192 + 112 >> 1] | 0) | 0; + $mul48 = Math_imul(Math_imul(HEAP16[$inptr$0192 + 48 >> 1] | 0, -10033) | 0, HEAP32[$quantptr$0193 + 96 >> 2] | 0) | 0; + $mul50 = ($mul43 + $mul35 | 0) * 7447 | 0; + $mul52 = ($mul47 + $mul35 | 0) * 3962 | 0; + $sub54 = $mul50 - $mul48 + $mul52 | 0; + $mul56 = ($mul43 - $mul47 | 0) * 11409 | 0; + $add58 = $mul48 - $mul56 + $mul50 | 0; + $add60 = $mul56 + $mul48 + $mul52 | 0; + $mul63 = ($mul35 - $mul43 - $mul47 | 0) * 10033 | 0; + HEAP32[$wsptr$0194 >> 2] = $sub54 + $sub27 >> 11; + HEAP32[$wsptr$0194 + 256 >> 2] = $sub27 - $sub54 >> 11; + HEAP32[$wsptr$0194 + 32 >> 2] = $mul63 + $add19 >> 11; + HEAP32[$wsptr$0194 + 224 >> 2] = $add19 - $mul63 >> 11; + HEAP32[$wsptr$0194 + 64 >> 2] = $add58 + $add29 >> 11; + HEAP32[$wsptr$0194 + 192 >> 2] = $add29 - $add58 >> 11; + HEAP32[$wsptr$0194 + 96 >> 2] = $add60 + $add31 >> 11; + HEAP32[$wsptr$0194 + 160 >> 2] = $add31 - $add60 >> 11; + HEAP32[$wsptr$0194 + 128 >> 2] = $sub21 >> 11; + $ctr$0195 = $ctr$0195 + 1 | 0; + if (($ctr$0195 | 0) == 8) break; else { + $inptr$0192 = $inptr$0192 + 2 | 0; + $quantptr$0193 = $quantptr$0193 + 4 | 0; + $wsptr$0194 = $wsptr$0194 + 4 | 0; + } + } + $add$ptr = $0 + -384 | 0; + $ctr$1191 = 0; + $wsptr$1190 = $workspace; + while (1) { + $add$ptr97 = (HEAP32[$output_buf + ($ctr$1191 << 2) >> 2] | 0) + $output_col | 0; + $shl100 = (HEAP32[$wsptr$1190 >> 2] << 13) + 134348800 | 0; + $20 = HEAP32[$wsptr$1190 + 8 >> 2] | 0; + $21 = HEAP32[$wsptr$1190 + 16 >> 2] | 0; + $mul104 = (HEAP32[$wsptr$1190 + 24 >> 2] | 0) * 5793 | 0; + $add105 = $mul104 + $shl100 | 0; + $sub107 = $shl100 - $mul104 - $mul104 | 0; + $sub108 = $20 - $21 | 0; + $add110 = $sub107 + ($sub108 * 5793 | 0) | 0; + $sub112 = (Math_imul($sub108, -11586) | 0) + $sub107 | 0; + $mul114 = ($21 + $20 | 0) * 10887 | 0; + $mul115 = $20 * 8875 | 0; + $mul116 = $21 * 2012 | 0; + $sub118 = $mul114 - $mul116 + $add105 | 0; + $add120 = $add105 - $mul114 + $mul115 | 0; + $add122 = $add105 - $mul115 + $mul116 | 0; + $23 = HEAP32[$wsptr$1190 + 4 >> 2] | 0; + $25 = HEAP32[$wsptr$1190 + 20 >> 2] | 0; + $26 = HEAP32[$wsptr$1190 + 28 >> 2] | 0; + $mul127 = Math_imul(HEAP32[$wsptr$1190 + 12 >> 2] | 0, -10033) | 0; + $mul129 = ($25 + $23 | 0) * 7447 | 0; + $mul131 = ($26 + $23 | 0) * 3962 | 0; + $sub133 = $mul129 - $mul127 + $mul131 | 0; + $mul135 = ($25 - $26 | 0) * 11409 | 0; + $add137 = $mul127 - $mul135 + $mul129 | 0; + $add139 = $mul135 + $mul127 + $mul131 | 0; + $mul142 = ($23 - $25 - $26 | 0) * 10033 | 0; + HEAP8[$add$ptr97 >> 0] = HEAP8[$add$ptr + (($sub133 + $sub118 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr97 + 8 >> 0] = HEAP8[$add$ptr + (($sub118 - $sub133 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr97 + 1 >> 0] = HEAP8[$add$ptr + (($mul142 + $add110 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr97 + 7 >> 0] = HEAP8[$add$ptr + (($add110 - $mul142 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr97 + 2 >> 0] = HEAP8[$add$ptr + (($add137 + $add120 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr97 + 6 >> 0] = HEAP8[$add$ptr + (($add120 - $add137 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr97 + 3 >> 0] = HEAP8[$add$ptr + (($add139 + $add122 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr97 + 5 >> 0] = HEAP8[$add$ptr + (($add122 - $add139 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr97 + 4 >> 0] = HEAP8[$add$ptr + ($sub112 >>> 18 & 1023) >> 0] | 0; + $ctr$1191 = $ctr$1191 + 1 | 0; + if (($ctr$1191 | 0) == 9) break; else $wsptr$1190 = $wsptr$1190 + 32 | 0; + } + STACKTOP = sp; + return; +} + +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E12parseNewExprEv($this) { + $this = $this | 0; + var $ExprList = 0, $Global = 0, $IsArray = 0, $Names = 0, $Ty = 0, $agg$tmp = 0, $agg$tmp22 = 0, $agg$tmp22$byval_copy = 0, $agg$tmp4 = 0, $agg$tmp6 = 0, $call12 = 0, $call17 = 0, $call18 = 0, $call26 = 0, $call32 = 0, $call8 = 0, $frombool = 0, $frombool3 = 0, $retval$5 = 0, $retval$7 = 0, label = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 64 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(64); - $$byval_copy3 = sp + 48 | 0; - $1 = sp + 57 | 0; - $2 = sp + 40 | 0; - $3 = sp + 56 | 0; - $4 = sp + 32 | 0; - $5 = sp + 24 | 0; - $6 = sp + 16 | 0; - $7 = sp; - $8 = sp + 8 | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($2, 52665); - HEAP32[$$byval_copy3 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy3 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - $10 = (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($0, $$byval_copy3) | 0) & 1; - HEAP8[$1 >> 0] = $10; - $13 = (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($0, 1) | 0) << 24 >> 24 == 97 & 1; - HEAP8[$3 >> 0] = $13; - __ZN12_GLOBAL__N_110StringViewC2EPKc($4, 53279); - HEAP32[$$byval_copy3 >> 2] = HEAP32[$4 >> 2]; - HEAP32[$$byval_copy3 + 4 >> 2] = HEAP32[$4 + 4 >> 2]; - if (!(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($0, $$byval_copy3) | 0) ? (__ZN12_GLOBAL__N_110StringViewC2EPKc($5, 53282), HEAP32[$$byval_copy3 >> 2] = HEAP32[$5 >> 2], HEAP32[$$byval_copy3 + 4 >> 2] = HEAP32[$5 + 4 >> 2], !(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($0, $$byval_copy3) | 0)) : 0) $$7 = 0; else label = 3; + $agg$tmp22$byval_copy = sp + 48 | 0; + $Global = sp + 57 | 0; + $agg$tmp = sp + 40 | 0; + $IsArray = sp + 56 | 0; + $agg$tmp4 = sp + 32 | 0; + $agg$tmp6 = sp + 24 | 0; + $ExprList = sp + 16 | 0; + $Ty = sp; + $agg$tmp22 = sp + 8 | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, 53507); + HEAP32[$agg$tmp22$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp22$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + $frombool = (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($this, $agg$tmp22$byval_copy) | 0) & 1; + HEAP8[$Global >> 0] = $frombool; + $frombool3 = (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($this, 1) | 0) << 24 >> 24 == 97 & 1; + HEAP8[$IsArray >> 0] = $frombool3; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp4, 54121); + HEAP32[$agg$tmp22$byval_copy >> 2] = HEAP32[$agg$tmp4 >> 2]; + HEAP32[$agg$tmp22$byval_copy + 4 >> 2] = HEAP32[$agg$tmp4 + 4 >> 2]; + if (!(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($this, $agg$tmp22$byval_copy) | 0) ? (__ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp6, 54124), HEAP32[$agg$tmp22$byval_copy >> 2] = HEAP32[$agg$tmp6 >> 2], HEAP32[$agg$tmp22$byval_copy + 4 >> 2] = HEAP32[$agg$tmp6 + 4 >> 2], !(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($this, $agg$tmp22$byval_copy) | 0)) : 0) $retval$7 = 0; else label = 3; do if ((label | 0) == 3) { - $16 = $0 + 8 | 0; - $17 = __ZNK12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE4sizeEv($16) | 0; + $Names = $this + 8 | 0; + $call8 = __ZNK12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE4sizeEv($Names) | 0; while (1) { - if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($0, 95) | 0) break; - $20 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseExprEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0) | 0; - HEAP32[$$byval_copy3 >> 2] = $20; - if (!$20) { + if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($this, 95) | 0) break; + $call12 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseExprEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0) | 0; + HEAP32[$agg$tmp22$byval_copy >> 2] = $call12; + if (!$call12) { label = 7; break; } - __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE9push_backERKS3_($16, $$byval_copy3); + __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE9push_backERKS3_($Names, $agg$tmp22$byval_copy); } if ((label | 0) == 7) { - $$7 = 0; - break; - } - __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E20popTrailingNodeArrayEm($6, $0, $17); - $22 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0; - $23 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseTypeEv($22) | 0; - HEAP32[$7 >> 2] = $23; - do if ($23) { - __ZN12_GLOBAL__N_110StringViewC2EPKc($8, 53285); - HEAP32[$$byval_copy3 >> 2] = HEAP32[$8 >> 2]; - HEAP32[$$byval_copy3 + 4 >> 2] = HEAP32[$8 + 4 >> 2]; - if (!(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($0, $$byval_copy3) | 0)) { - if (!(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($0, 69) | 0)) { - $$5 = 0; + $retval$7 = 0; + break; + } + __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E20popTrailingNodeArrayEm($ExprList, $this, $call8); + $call17 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0; + $call18 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseTypeEv($call17) | 0; + HEAP32[$Ty >> 2] = $call18; + do if ($call18) { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp22, 54127); + HEAP32[$agg$tmp22$byval_copy >> 2] = HEAP32[$agg$tmp22 >> 2]; + HEAP32[$agg$tmp22$byval_copy + 4 >> 2] = HEAP32[$agg$tmp22 + 4 >> 2]; + if (!(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($this, $agg$tmp22$byval_copy) | 0)) { + if (!(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($this, 69) | 0)) { + $retval$5 = 0; break; } - __ZN12_GLOBAL__N_116itanium_demangle9NodeArrayC2Ev($$byval_copy3); - $$5 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_7NewExprEJRNS0_9NodeArrayERPNS0_4NodeES8_RbSD_EEESB_DpOT0_($0, $6, $7, $$byval_copy3, $1, $3) | 0; + __ZN12_GLOBAL__N_116itanium_demangle9NodeArrayC2Ev($agg$tmp22$byval_copy); + $retval$5 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_7NewExprEJRNS0_9NodeArrayERPNS0_4NodeES8_RbSD_EEESB_DpOT0_($this, $ExprList, $Ty, $agg$tmp22$byval_copy, $Global, $IsArray) | 0; break; } - $26 = __ZNK12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE4sizeEv($16) | 0; + $call26 = __ZNK12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE4sizeEv($Names) | 0; while (1) { - if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($0, 69) | 0) { + if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($this, 69) | 0) { label = 15; break; } - $28 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseExprEv($22) | 0; - HEAP32[$$byval_copy3 >> 2] = $28; - if (!$28) { + $call32 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseExprEv($call17) | 0; + HEAP32[$agg$tmp22$byval_copy >> 2] = $call32; + if (!$call32) { label = 13; break; } - __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE9push_backERKS3_($16, $$byval_copy3); + __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE9push_backERKS3_($Names, $agg$tmp22$byval_copy); } if ((label | 0) == 13) { - $$5 = 0; + $retval$5 = 0; break; } else if ((label | 0) == 15) { - __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E20popTrailingNodeArrayEm($$byval_copy3, $0, $26); - $$5 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_7NewExprEJRNS0_9NodeArrayERPNS0_4NodeES9_RbSD_EEESB_DpOT0_($0, $6, $7, $$byval_copy3, $1, $3) | 0; + __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E20popTrailingNodeArrayEm($agg$tmp22$byval_copy, $this, $call26); + $retval$5 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_7NewExprEJRNS0_9NodeArrayERPNS0_4NodeES9_RbSD_EEESB_DpOT0_($this, $ExprList, $Ty, $agg$tmp22$byval_copy, $Global, $IsArray) | 0; break; } - } else $$5 = 0; while (0); - $$7 = $$5; + } else $retval$5 = 0; while (0); + $retval$7 = $retval$5; } while (0); STACKTOP = sp; - return $$7 | 0; + return $retval$7 | 0; } -function _jpeg_calc_output_dimensions($0) { - $0 = $0 | 0; - var $$07397 = 0, $$07397$us = 0, $$07596 = 0, $$07596$us = 0, $$083 = 0, $$17482 = 0, $$17681 = 0, $$191 = 0, $$191$us = 0, $$lcssa = 0, $$lcssa$sink = 0, $$lcssa78 = 0, $$lcssa79 = 0, $$lcssa79$us = 0, $$pre = 0, $$sink = 0, $10 = 0, $102 = 0, $105 = 0, $11 = 0, $115 = 0, $116 = 0, $117 = 0, $118 = 0, $12 = 0, $13 = 0, $15 = 0, $19 = 0, $2 = 0, $21 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $31 = 0, $33 = 0, $35 = 0, $36 = 0, $4 = 0, $44 = 0, $46 = 0, $47 = 0, $53 = 0, $54 = 0, $56 = 0, $57 = 0, $63 = 0, $64 = 0, $66 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $82 = 0, $86 = 0, $94 = 0, $98 = 0; - $2 = HEAP32[$0 + 20 >> 2] | 0; - if (($2 | 0) != 202) { - $4 = HEAP32[$0 >> 2] | 0; - HEAP32[$4 + 20 >> 2] = 21; - HEAP32[$4 + 24 >> 2] = $2; - FUNCTION_TABLE_vi[HEAP32[HEAP32[$0 >> 2] >> 2] & 255]($0); - } - _jpeg_core_output_dimensions($0); - $10 = HEAP32[$0 + 216 >> 2] | 0; - $11 = $0 + 36 | 0; - $12 = HEAP32[$11 >> 2] | 0; - $13 = ($12 | 0) > 0; - if ($13) { - $15 = HEAP32[$0 + 324 >> 2] | 0; - $19 = (HEAP32[$0 + 76 >> 2] | 0) == 0 ? 4 : 8; - $21 = $0 + 320 | 0; - $23 = HEAP32[$0 + 328 >> 2] | 0; - if (($15 | 0) > ($19 | 0)) { - $24 = ($23 | 0) > ($19 | 0); - $25 = $15 << 1; - $$07397$us = $10; - $$07596$us = 0; - while (1) { - $26 = $$07397$us + 36 | 0; - HEAP32[$26 >> 2] = $15; - L10 : do if ($24) $$lcssa79$us = $23; else { - $33 = HEAP32[$21 >> 2] | 0; - $31 = HEAP32[$$07397$us + 12 >> 2] | 0; - $$191$us = 1; - $116 = $23; +function _arVecTridiagonalize($a, $d, $e) { + $a = $a | 0; + $d = $d | 0; + $e = $e | 0; + var $$sink = 0.0, $0 = 0, $16 = 0.0, $17 = 0, $23 = 0, $25 = 0, $28 = 0, $30 = 0, $add19 = 0, $add43 = 0.0, $add53 = 0.0, $arrayidx = 0, $arrayidx133 = 0, $arrayidx136$sink = 0, $arrayidx144 = 0, $arrayidx157 = 0, $arrayidx175 = 0, $arrayidx20 = 0, $arrayidx40 = 0, $arrayidx81 = 0, $arrayidx95 = 0, $call = 0.0, $call165 = 0.0, $clm18 = 0, $clm64 = 0, $div = 0.0, $i$0 = 0, $i$1 = 0, $i$1$in = 0, $i$2 = 0, $i$3 = 0, $j$0 = 0, $j$1 = 0, $j$2 = 0, $j$3 = 0, $k$0 = 0, $k$1 = 0, $k$1$in = 0, $k$1$in$ph = 0, $mul109 = 0, $mul160 = 0, $mul48 = 0, $mul93 = 0, $retval$0 = 0, $s$0 = 0.0, $s$1 = 0.0, $sub = 0, $sub119 = 0, $sub129$pre$phiZ2D = 0, $sub153 = 0, $sub17 = 0, $sub82 = 0.0, $wv1 = 0, $wv2 = 0, label = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $wv1 = sp + 8 | 0; + $wv2 = sp; + $0 = HEAP32[$a + 8 >> 2] | 0; + L1 : do if ((($0 | 0) == (HEAP32[$a + 4 >> 2] | 0) ? ($0 | 0) == (HEAP32[$d + 4 >> 2] | 0) : 0) ? ($0 | 0) == ((HEAP32[$e + 4 >> 2] | 0) + 1 | 0) : 0) { + $sub = $0 + -2 | 0; + $clm18 = $wv1 + 4 | 0; + $clm64 = $wv2 + 4 | 0; + $k$0 = 0; + while (1) { + if (($k$0 | 0) >= ($sub | 0)) break; + $arrayidx = (HEAP32[$a >> 2] | 0) + ((Math_imul($k$0, $0) | 0) << 3) | 0; + HEAPF64[(HEAP32[$d >> 2] | 0) + ($k$0 << 3) >> 3] = +HEAPF64[$arrayidx + ($k$0 << 3) >> 3]; + $sub17 = $0 - $k$0 + -1 | 0; + HEAP32[$clm18 >> 2] = $sub17; + $add19 = $k$0 + 1 | 0; + $arrayidx20 = $arrayidx + ($add19 << 3) | 0; + HEAP32[$wv1 >> 2] = $arrayidx20; + $call = +_arVecHousehold($wv1); + HEAPF64[(HEAP32[$e >> 2] | 0) + ($k$0 << 3) >> 3] = $call; + L8 : do if (!($call == 0.0)) { + $i$0 = $add19; + while (1) { + if (($i$0 | 0) >= ($0 | 0)) break; + $j$0 = $add19; + $s$0 = 0.0; while (1) { - $$191$us = $$191$us << 1; - if (($33 | 0) % (Math_imul($$191$us, $31) | 0) | 0 | 0) { - $$lcssa79$us = $116; - break L10; - } - $27 = Math_imul($23, $$191$us) | 0; - if (($27 | 0) > ($19 | 0)) { - $$lcssa79$us = $27; - break; - } else $116 = $27; + if ($j$0 >>> 0 >= $i$0 >>> 0) break; + $arrayidx40 = (HEAP32[$a >> 2] | 0) + ((Math_imul($j$0, $0) | 0) + $i$0 << 3) | 0; + $add43 = $s$0 + +HEAPF64[$arrayidx40 >> 3] * +HEAPF64[$arrayidx + ($j$0 << 3) >> 3]; + $j$0 = $j$0 + 1 | 0; + $s$0 = $add43; + } + $mul48 = Math_imul($i$0, $0) | 0; + $j$1 = $i$0; + $s$1 = $s$0; + while (1) { + if (($j$1 | 0) >= ($0 | 0)) break; + $add53 = $s$1 + +HEAPF64[(HEAP32[$a >> 2] | 0) + ($j$1 + $mul48 << 3) >> 3] * +HEAPF64[$arrayidx + ($j$1 << 3) >> 3]; + $j$1 = $j$1 + 1 | 0; + $s$1 = $add53; + } + HEAPF64[(HEAP32[$d >> 2] | 0) + ($i$0 << 3) >> 3] = $s$1; + $i$0 = $i$0 + 1 | 0; + } + HEAP32[$clm64 >> 2] = $sub17; + HEAP32[$clm18 >> 2] = $sub17; + HEAP32[$wv1 >> 2] = $arrayidx20; + HEAP32[$wv2 >> 2] = (HEAP32[$d >> 2] | 0) + ($add19 << 3); + $div = +_arVecInnerproduct($wv1, $wv2) * .5; + $i$1$in = $0; + while (1) { + $i$1 = $i$1$in + -1 | 0; + if (($i$1 | 0) <= ($k$0 | 0)) break L8; + $16 = +HEAPF64[$arrayidx + ($i$1 << 3) >> 3]; + $17 = HEAP32[$d >> 2] | 0; + $arrayidx81 = $17 + ($i$1 << 3) | 0; + $sub82 = +HEAPF64[$arrayidx81 >> 3] - $div * $16; + HEAPF64[$arrayidx81 >> 3] = $sub82; + $mul93 = Math_imul($i$1, $0) | 0; + $j$2 = $i$1; + while (1) { + if (($j$2 | 0) >= ($0 | 0)) break; + $arrayidx95 = (HEAP32[$a >> 2] | 0) + ($j$2 + $mul93 << 3) | 0; + HEAPF64[$arrayidx95 >> 3] = +HEAPF64[$arrayidx95 >> 3] - ($16 * +HEAPF64[$17 + ($j$2 << 3) >> 3] + $sub82 * +HEAPF64[$arrayidx + ($j$2 << 3) >> 3]); + $j$2 = $j$2 + 1 | 0; } - } while (0); - $35 = $$07397$us + 40 | 0; - HEAP32[$35 >> 2] = $$lcssa79$us; - $36 = $$lcssa79$us << 1; - if (($15 | 0) <= ($36 | 0)) { - if (($$lcssa79$us | 0) > ($25 | 0)) HEAP32[$35 >> 2] = $25; - } else HEAP32[$26 >> 2] = $36; - $$07596$us = $$07596$us + 1 | 0; - if (($$07596$us | 0) >= ($12 | 0)) break; else $$07397$us = $$07397$us + 88 | 0; + $i$1$in = $i$1; + } + } while (0); + $k$0 = $add19; + } + if (($0 | 0) <= 1) if (($0 | 0) == 1) { + $28 = HEAP32[$a >> 2] | 0; + $30 = HEAP32[$d >> 2] | 0; + $sub129$pre$phiZ2D = 0; + label = 27; + } else $k$1$in = $0; else { + $23 = HEAP32[$a >> 2] | 0; + $mul109 = Math_imul($sub, $0) | 0; + $25 = HEAP32[$d >> 2] | 0; + HEAPF64[$25 + ($sub << 3) >> 3] = +HEAPF64[$23 + ($mul109 + $sub << 3) >> 3]; + $sub119 = $0 + -1 | 0; + HEAPF64[(HEAP32[$e >> 2] | 0) + ($sub << 3) >> 3] = +HEAPF64[$23 + ($sub119 + $mul109 << 3) >> 3]; + $28 = $23; + $30 = $25; + $sub129$pre$phiZ2D = $sub119; + label = 27; + } + if ((label | 0) == 27) { + $arrayidx133 = $28 + ((Math_imul($sub129$pre$phiZ2D, $0) | 0) + $sub129$pre$phiZ2D << 3) | 0; + $$sink = +HEAPF64[$arrayidx133 >> 3]; + $arrayidx136$sink = $30 + ($sub129$pre$phiZ2D << 3) | 0; + $k$1$in$ph = $0; + label = 28; + } + while (1) { + if ((label | 0) == 28) { + label = 0; + HEAPF64[$arrayidx136$sink >> 3] = $$sink; + $k$1$in = $k$1$in$ph; } - } else { - $$pre = HEAP32[$0 + 316 >> 2] | 0; - $44 = ($23 | 0) > ($19 | 0); - $$07397 = $10; - $$07596 = 0; - while (1) { - $46 = HEAP32[$$07397 + 8 >> 2] | 0; - $$083 = 1; - $117 = $15; + $k$1 = $k$1$in + -1 | 0; + if (($k$1$in | 0) <= 0) { + $retval$0 = 0; + break L1; + } + $arrayidx144 = (HEAP32[$a >> 2] | 0) + ((Math_imul($k$1, $0) | 0) << 3) | 0; + L42 : do if (($k$1$in | 0) <= ($sub | 0)) { + $sub153 = $0 - $k$1 + -1 | 0; + $arrayidx157 = $arrayidx144 + ($k$1$in << 3) | 0; + $i$2 = $k$1$in; while (1) { - $$083 = $$083 << 1; - if (($$pre | 0) % (Math_imul($$083, $46) | 0) | 0 | 0) { - $$lcssa78 = $117; - break; - } - $47 = Math_imul($15, $$083) | 0; - if (($47 | 0) > ($19 | 0)) { - $$lcssa78 = $47; - break; - } else $117 = $47; - } - $53 = $$07397 + 36 | 0; - HEAP32[$53 >> 2] = $$lcssa78; - L28 : do if ($44) $$lcssa79 = $23; else { - $54 = HEAP32[$21 >> 2] | 0; - $56 = HEAP32[$$07397 + 12 >> 2] | 0; - $$191 = 1; - $118 = $23; + if (($i$2 | 0) >= ($0 | 0)) break L42; + HEAP32[$clm64 >> 2] = $sub153; + HEAP32[$clm18 >> 2] = $sub153; + HEAP32[$wv1 >> 2] = $arrayidx157; + $mul160 = Math_imul($i$2, $0) | 0; + HEAP32[$wv2 >> 2] = (HEAP32[$a >> 2] | 0) + ($mul160 + $k$1$in << 3); + $call165 = +_arVecInnerproduct($wv1, $wv2); + $j$3 = $k$1$in; while (1) { - $$191 = $$191 << 1; - if (($54 | 0) % (Math_imul($$191, $56) | 0) | 0 | 0) { - $$lcssa79 = $118; - break L28; - } - $57 = Math_imul($23, $$191) | 0; - if (($57 | 0) > ($19 | 0)) { - $$lcssa79 = $57; - break; - } else $118 = $57; + if (($j$3 | 0) >= ($0 | 0)) break; + $arrayidx175 = (HEAP32[$a >> 2] | 0) + ($j$3 + $mul160 << 3) | 0; + HEAPF64[$arrayidx175 >> 3] = +HEAPF64[$arrayidx175 >> 3] - $call165 * +HEAPF64[$arrayidx144 + ($j$3 << 3) >> 3]; + $j$3 = $j$3 + 1 | 0; } - } while (0); - $63 = $$07397 + 40 | 0; - HEAP32[$63 >> 2] = $$lcssa79; - $64 = $$lcssa79 << 1; - if (($$lcssa78 | 0) <= ($64 | 0)) { - $66 = $$lcssa78 << 1; - if (($$lcssa79 | 0) > ($66 | 0)) HEAP32[$63 >> 2] = $66; - } else HEAP32[$53 >> 2] = $64; - $$07596 = $$07596 + 1 | 0; - if (($$07596 | 0) >= ($12 | 0)) break; else $$07397 = $$07397 + 88 | 0; - } - } - if ($13) { - $71 = $0 + 28 | 0; - $72 = $0 + 316 | 0; - $73 = $0 + 428 | 0; - $74 = $0 + 32 | 0; - $75 = $0 + 320 | 0; - $$17482 = $10; - $$17681 = 0; + $i$2 = $i$2 + 1 | 0; + } + } while (0); + $i$3 = 0; while (1) { - $82 = Math_imul(Math_imul(HEAP32[$$17482 + 8 >> 2] | 0, HEAP32[$71 >> 2] | 0) | 0, HEAP32[$$17482 + 36 >> 2] | 0) | 0; - $86 = _jdiv_round_up($82, Math_imul(HEAP32[$73 >> 2] | 0, HEAP32[$72 >> 2] | 0) | 0) | 0; - HEAP32[$$17482 + 44 >> 2] = $86; - $94 = Math_imul(Math_imul(HEAP32[$$17482 + 12 >> 2] | 0, HEAP32[$74 >> 2] | 0) | 0, HEAP32[$$17482 + 40 >> 2] | 0) | 0; - $98 = _jdiv_round_up($94, Math_imul(HEAP32[$73 >> 2] | 0, HEAP32[$75 >> 2] | 0) | 0) | 0; - HEAP32[$$17482 + 48 >> 2] = $98; - $$17681 = $$17681 + 1 | 0; - $102 = HEAP32[$11 >> 2] | 0; - if (($$17681 | 0) >= ($102 | 0)) { - $$lcssa = $102; - break; - } else $$17482 = $$17482 + 88 | 0; + if (($i$3 | 0) >= ($0 | 0)) break; + HEAPF64[$arrayidx144 + ($i$3 << 3) >> 3] = 0.0; + $i$3 = $i$3 + 1 | 0; } - } else $$lcssa = $12; - } else $$lcssa = $12; - $105 = HEAP32[$0 + 44 >> 2] | 0; - switch ($105 | 0) { - case 1: - { - $$lcssa$sink = $105; - break; - } - case 6: - case 2: - { - $$lcssa$sink = 3; - break; + $$sink = 1.0; + $arrayidx136$sink = $arrayidx144 + ($k$1 << 3) | 0; + $k$1$in$ph = $k$1; + label = 28; } - case 7: - case 3: - { - $$lcssa$sink = 3; + } else $retval$0 = -1; while (0); + STACKTOP = sp; + return $retval$0 | 0; +} + +function _fmod($x, $y) { + $x = +$x; + $y = +$y; + var $0 = 0, $1 = 0, $10 = 0, $101 = 0, $104 = 0, $106 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $128 = 0, $131 = 0, $133 = 0, $134 = 0, $135 = 0, $136 = 0, $137 = 0, $14 = 0, $16 = 0, $2 = 0, $22 = 0, $23 = 0, $3 = 0, $32 = 0, $33 = 0, $39 = 0, $4 = 0, $40 = 0, $48 = 0, $52 = 0, $53 = 0, $59 = 0, $6 = 0, $60 = 0, $68 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $8 = 0, $82 = 0, $83 = 0, $85 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $98 = 0, $99 = 0, $cmp85$lcssa = 0, $cmp8571 = 0, $conv = 0, $conv5 = 0, $dec = 0, $dec117 = 0, $dec64 = 0, $dec96 = 0, $ex$0$lcssa = 0, $ex$081 = 0, $ex$1 = 0, $ex$2$lcssa = 0, $ex$268 = 0, $ex$3$lcssa = 0, $ex$362 = 0, $ey$0$lcssa = 0, $ey$077 = 0, $ey$1 = 0, $mul = 0.0, $retval$0 = 0.0, label = 0; + HEAPF64[tempDoublePtr >> 3] = $x; + $0 = HEAP32[tempDoublePtr >> 2] | 0; + $1 = HEAP32[tempDoublePtr + 4 >> 2] | 0; + HEAPF64[tempDoublePtr >> 3] = $y; + $2 = HEAP32[tempDoublePtr >> 2] | 0; + $3 = HEAP32[tempDoublePtr + 4 >> 2] | 0; + $4 = _bitshift64Lshr($0 | 0, $1 | 0, 52) | 0; + getTempRet0() | 0; + $conv = $4 & 2047; + $6 = _bitshift64Lshr($2 | 0, $3 | 0, 52) | 0; + getTempRet0() | 0; + $conv5 = $6 & 2047; + $8 = $1 & -2147483648; + $9 = _bitshift64Shl($2 | 0, $3 | 0, 1) | 0; + $10 = getTempRet0() | 0; + L1 : do if (!(($9 | 0) == 0 & ($10 | 0) == 0) ? ($14 = ___DOUBLE_BITS_359($y) | 0, $16 = (getTempRet0() | 0) & 2147483647, !(($conv | 0) == 2047 | ($16 >>> 0 > 2146435072 | ($16 | 0) == 2146435072 & $14 >>> 0 > 0))) : 0) { + $22 = _bitshift64Shl($0 | 0, $1 | 0, 1) | 0; + $23 = getTempRet0() | 0; + if (!($23 >>> 0 > $10 >>> 0 | ($23 | 0) == ($10 | 0) & $22 >>> 0 > $9 >>> 0)) return +(($22 | 0) == ($9 | 0) & ($23 | 0) == ($10 | 0) ? $x * 0.0 : $x); + if (!$conv) { + $32 = _bitshift64Shl($0 | 0, $1 | 0, 12) | 0; + $33 = getTempRet0() | 0; + if (($33 | 0) > -1 | ($33 | 0) == -1 & $32 >>> 0 > 4294967295) { + $39 = $32; + $40 = $33; + $ex$081 = 0; + while (1) { + $dec = $ex$081 + -1 | 0; + $39 = _bitshift64Shl($39 | 0, $40 | 0, 1) | 0; + $40 = getTempRet0() | 0; + if (!(($40 | 0) > -1 | ($40 | 0) == -1 & $39 >>> 0 > 4294967295)) { + $ex$0$lcssa = $dec; + break; + } else $ex$081 = $dec; + } + } else $ex$0$lcssa = 0; + $48 = _bitshift64Shl($0 | 0, $1 | 0, 1 - $ex$0$lcssa | 0) | 0; + $72 = $48; + $73 = getTempRet0() | 0; + $ex$1 = $ex$0$lcssa; + } else { + $72 = $0; + $73 = $1 & 1048575 | 1048576; + $ex$1 = $conv; + } + if (!$conv5) { + $52 = _bitshift64Shl($2 | 0, $3 | 0, 12) | 0; + $53 = getTempRet0() | 0; + if (($53 | 0) > -1 | ($53 | 0) == -1 & $52 >>> 0 > 4294967295) { + $59 = $52; + $60 = $53; + $ey$077 = 0; + while (1) { + $dec64 = $ey$077 + -1 | 0; + $59 = _bitshift64Shl($59 | 0, $60 | 0, 1) | 0; + $60 = getTempRet0() | 0; + if (!(($60 | 0) > -1 | ($60 | 0) == -1 & $59 >>> 0 > 4294967295)) { + $ey$0$lcssa = $dec64; + break; + } else $ey$077 = $dec64; + } + } else $ey$0$lcssa = 0; + $68 = _bitshift64Shl($2 | 0, $3 | 0, 1 - $ey$0$lcssa | 0) | 0; + $74 = $68; + $75 = getTempRet0() | 0; + $ey$1 = $ey$0$lcssa; + } else { + $74 = $2; + $75 = $3 & 1048575 | 1048576; + $ey$1 = $conv5; + } + $76 = _i64Subtract($72 | 0, $73 | 0, $74 | 0, $75 | 0) | 0; + $77 = getTempRet0() | 0; + $82 = ($77 | 0) > -1 | ($77 | 0) == -1 & $76 >>> 0 > 4294967295; + L25 : do if (($ex$1 | 0) > ($ey$1 | 0)) { + $136 = $72; + $137 = $73; + $83 = $76; + $85 = $77; + $cmp8571 = $82; + $ex$268 = $ex$1; + while (1) { + if ($cmp8571) if (($83 | 0) == 0 & ($85 | 0) == 0) break; else { + $88 = $83; + $89 = $85; + } else { + $88 = $136; + $89 = $137; + } + $90 = _bitshift64Shl($88 | 0, $89 | 0, 1) | 0; + $91 = getTempRet0() | 0; + $dec96 = $ex$268 + -1 | 0; + $92 = _i64Subtract($90 | 0, $91 | 0, $74 | 0, $75 | 0) | 0; + $93 = getTempRet0() | 0; + $98 = ($93 | 0) > -1 | ($93 | 0) == -1 & $92 >>> 0 > 4294967295; + if (($dec96 | 0) > ($ey$1 | 0)) { + $136 = $90; + $137 = $91; + $83 = $92; + $85 = $93; + $cmp8571 = $98; + $ex$268 = $dec96; + } else { + $101 = $93; + $134 = $90; + $135 = $91; + $99 = $92; + $cmp85$lcssa = $98; + $ex$2$lcssa = $dec96; + break L25; + } + } + $retval$0 = $x * 0.0; + break L1; + } else { + $101 = $77; + $134 = $72; + $135 = $73; + $99 = $76; + $cmp85$lcssa = $82; + $ex$2$lcssa = $ex$1; + } while (0); + if ($cmp85$lcssa) if (($99 | 0) == 0 & ($101 | 0) == 0) { + $retval$0 = $x * 0.0; break; + } else { + $104 = $101; + $106 = $99; + } else { + $104 = $135; + $106 = $134; } - case 5: - case 4: - { - $$lcssa$sink = 4; - break; + if ($104 >>> 0 < 1048576 | ($104 | 0) == 1048576 & $106 >>> 0 < 0) { + $111 = $106; + $112 = $104; + $ex$362 = $ex$2$lcssa; + while (1) { + $113 = _bitshift64Shl($111 | 0, $112 | 0, 1) | 0; + $114 = getTempRet0() | 0; + $dec117 = $ex$362 + -1 | 0; + if ($114 >>> 0 < 1048576 | ($114 | 0) == 1048576 & $113 >>> 0 < 0) { + $111 = $113; + $112 = $114; + $ex$362 = $dec117; + } else { + $120 = $113; + $121 = $114; + $ex$3$lcssa = $dec117; + break; + } + } + } else { + $120 = $106; + $121 = $104; + $ex$3$lcssa = $ex$2$lcssa; + } + if (($ex$3$lcssa | 0) > 0) { + $122 = _i64Add($120 | 0, $121 | 0, 0, -1048576) | 0; + $123 = getTempRet0() | 0; + $124 = _bitshift64Shl($ex$3$lcssa | 0, 0, 52) | 0; + $131 = $123 | (getTempRet0() | 0); + $133 = $122 | $124; + } else { + $128 = _bitshift64Lshr($120 | 0, $121 | 0, 1 - $ex$3$lcssa | 0) | 0; + $131 = getTempRet0() | 0; + $133 = $128; } - default: - $$lcssa$sink = $$lcssa; - } - HEAP32[$0 + 120 >> 2] = $$lcssa$sink; - HEAP32[$0 + 124 >> 2] = (HEAP32[$0 + 84 >> 2] | 0) == 0 ? $$lcssa$sink : 1; - if (!(_use_merged_upsample($0) | 0)) { - $$sink = 1; - $115 = $0 + 128 | 0; - HEAP32[$115 >> 2] = $$sink; - return; + HEAP32[tempDoublePtr >> 2] = $133; + HEAP32[tempDoublePtr + 4 >> 2] = $131 | $8; + $retval$0 = +HEAPF64[tempDoublePtr >> 3]; + } else label = 3; while (0); + if ((label | 0) == 3) { + $mul = $x * $y; + $retval$0 = $mul / $mul; } - $$sink = HEAP32[$0 + 320 >> 2] | 0; - $115 = $0 + 128 | 0; - HEAP32[$115 >> 2] = $$sink; - return; + return +$retval$0; } -function __ZNK6vision4NodeILi96EE7nearestERNSt3__26vectorIPKS1_NS2_9allocatorIS5_EEEERNS2_14priority_queueINS_17PriorityQueueItemILi96EEENS3_ISC_NS6_ISC_EEEENS2_4lessISC_EEEEPKh($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $$0 = 0, $$043 = 0, $$045 = 0, $$046 = 0, $$byval_copy = 0, $$byval_copy1 = 0, $101 = 0, $102 = 0, $107 = 0, $109 = 0, $110 = 0, $14 = 0, $25 = 0, $31 = 0, $36 = 0, $37 = 0, $4 = 0, $41 = 0, $48 = 0, $5 = 0, $53 = 0, $57 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $68 = 0, $69 = 0, $7 = 0, $71 = 0, $78 = 0, $8 = 0, $85 = 0, $86 = 0, $92 = 0, $93 = 0, $96 = 0, $spec$select = 0, sp = 0; +function _ar2GetTransMatHomography2_181($initConv, $pos2d, $pos3d, $num, $conv) { + $initConv = $initConv | 0; + $pos2d = $pos2d | 0; + $pos3d = $pos3d | 0; + $num = $num | 0; + $conv = $conv | 0; + var $4 = 0.0, $6 = 0.0, $add49 = 0.0, $add63 = 0.0, $add75 = 0.0, $arrayidx2 = 0, $arrayidx214 = 0, $arrayidx218 = 0, $arrayidx222 = 0, $arrayidx226 = 0, $arrayidx230 = 0, $arrayidx234 = 0, $arrayidx238 = 0, $arrayidx43 = 0, $arrayidx48 = 0, $arrayidx51 = 0, $arrayidx56 = 0, $arrayidx62 = 0, $arrayidx65 = 0, $arrayidx70 = 0, $call = 0, $call12 = 0, $conv184 = 0.0, $dH = 0, $div101 = 0.0, $div107 = 0.0, $div111 = 0.0, $div185 = 0.0, $err0$0 = 0.0, $err1$0 = 0.0, $i$0 = 0, $i$1 = 0, $j$0 = 0, $j$1 = 0, $mul102 = 0, $mul204 = 0, $mul81 = 0.0, $mul93 = 0, $retval$0 = 0.0, $sub = 0.0, $sub88 = 0.0, $vararg_buffer = 0, $vararg_buffer1 = 0, label = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 48 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); - $$byval_copy1 = sp + 8 | 0; - $$byval_copy = sp + 36 | 0; - $4 = sp + 32 | 0; - $5 = sp + 28 | 0; - $6 = sp; - $7 = sp + 16 | 0; - $8 = $0 + 104 | 0; - __ZNSt3__26vectorIN6vision17PriorityQueueItemILi96EEENS_9allocatorIS3_EEEC2Em($7, (HEAP32[$0 + 108 >> 2] | 0) - (HEAP32[$8 >> 2] | 0) >> 2); - $14 = $7 + 4 | 0; - $$043 = -1; - $$045 = 0; - $$046 = -1; - while (1) { - if ($$045 >>> 0 >= (HEAP32[$14 >> 2] | 0) - (HEAP32[$7 >> 2] | 0) >> 3 >>> 0) break; - $25 = __ZN6vision15HammingDistanceILi96EEEjPKhS2_((HEAP32[(HEAP32[$8 >> 2] | 0) + ($$045 << 2) >> 2] | 0) + 4 | 0, $3) | 0; - __ZN6vision17PriorityQueueItemILi96EEC2EPKNS_4NodeILi96EEEj($$byval_copy1, HEAP32[(HEAP32[$8 >> 2] | 0) + ($$045 << 2) >> 2] | 0, $25); - $31 = $$byval_copy1; - $36 = HEAP32[$31 + 4 >> 2] | 0; - $37 = (HEAP32[$7 >> 2] | 0) + ($$045 << 3) | 0; - HEAP32[$37 >> 2] = HEAP32[$31 >> 2]; - HEAP32[$37 + 4 >> 2] = $36; - __ZN6vision17PriorityQueueItemILi96EED2Ev($$byval_copy1); - $41 = $25 >>> 0 < $$043 >>> 0; - $spec$select = $41 ? $$045 : $$046; - $$043 = $41 ? $25 : $$043; - $$045 = $$045 + 1 | 0; - $$046 = $spec$select; - } - if (($$046 | 0) == -1) { - $48 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 36137) | 0, 33262) | 0, 39072) | 0, 155) | 0, 39079) | 0, 36171) | 0; - __ZNKSt3__28ios_base6getlocEv($$byval_copy1, $48 + (HEAP32[(HEAP32[$48 >> 2] | 0) + -12 >> 2] | 0) | 0); - $53 = __ZNKSt3__26locale9use_facetERNS0_2idE($$byval_copy1, 66512) | 0; - $57 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$53 >> 2] | 0) + 28 >> 2] & 127]($53, 10) | 0; - __ZNSt3__26localeD2Ev($$byval_copy1); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($48, $57) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($48) | 0; - _abort(); - } - $60 = HEAP32[(HEAP32[$8 >> 2] | 0) + ($$046 << 2) >> 2] | 0; - HEAP32[$$byval_copy1 >> 2] = $60; - $61 = $1 + 4 | 0; - $62 = HEAP32[$61 >> 2] | 0; - $63 = $1 + 8 | 0; - if ($62 >>> 0 < (HEAP32[$63 >> 2] | 0) >>> 0) { - HEAP32[$62 >> 2] = $60; - HEAP32[$61 >> 2] = (HEAP32[$61 >> 2] | 0) + 4; - } else __ZNSt3__26vectorIPKN6vision4NodeILi96EEENS_9allocatorIS5_EEE21__push_back_slow_pathIS5_EEvOT_($1, $$byval_copy1); - $68 = $2 + 4 | 0; - $69 = $2 + 8 | 0; - $$0 = 0; - while (1) { - $71 = HEAP32[$7 >> 2] | 0; - if ($$0 >>> 0 >= (HEAP32[$14 >> 2] | 0) - $71 >> 3 >>> 0) break; - do if (($$0 | 0) != ($$046 | 0)) { - $78 = __ZNK6vision17PriorityQueueItemILi96EE4distEv($71 + ($$0 << 3) | 0) | 0; - if (($78 | 0) == (__ZNK6vision17PriorityQueueItemILi96EE4distEv((HEAP32[$7 >> 2] | 0) + ($$046 << 3) | 0) | 0)) { - $85 = HEAP32[(HEAP32[$8 >> 2] | 0) + ($$0 << 2) >> 2] | 0; - HEAP32[$$byval_copy1 >> 2] = $85; - $86 = HEAP32[$61 >> 2] | 0; - if ($86 >>> 0 < (HEAP32[$63 >> 2] | 0) >>> 0) { - HEAP32[$86 >> 2] = $85; - HEAP32[$61 >> 2] = (HEAP32[$61 >> 2] | 0) + 4; - } else __ZNSt3__26vectorIPKN6vision4NodeILi96EEENS_9allocatorIS5_EEE21__push_back_slow_pathIS5_EEvOT_($1, $$byval_copy1); + $vararg_buffer1 = sp + 40 | 0; + $vararg_buffer = sp + 32 | 0; + $dH = sp; + do if (($num | 0) >= 4 ? ($arrayidx2 = $initConv + 44 | 0, !(+HEAPF32[$arrayidx2 >> 2] == 0.0)) : 0) { + $call = _malloc($num << 6) | 0; + if (!$call) { + _arLog(0, 3, 46789, $vararg_buffer); + $retval$0 = -1.0; + break; + } + $call12 = _malloc($num << 3) | 0; + if (!$call12) { + _arLog(0, 3, 46789, $vararg_buffer1); + _free($call); + $retval$0 = -1.0; + break; + } + $j$0 = 0; + while (1) { + if (($j$0 | 0) == 3) break; + $i$0 = 0; + while (1) { + if (($i$0 | 0) == 4) break; + HEAPF32[$conv + ($j$0 << 4) + ($i$0 << 2) >> 2] = +HEAPF32[$initConv + ($j$0 << 4) + ($i$0 << 2) >> 2] / +HEAPF32[$arrayidx2 >> 2]; + $i$0 = $i$0 + 1 | 0; + } + $j$0 = $j$0 + 1 | 0; + } + $arrayidx43 = $conv + 4 | 0; + $arrayidx48 = $conv + 12 | 0; + $arrayidx51 = $conv + 16 | 0; + $arrayidx56 = $conv + 20 | 0; + $arrayidx62 = $conv + 28 | 0; + $arrayidx65 = $conv + 32 | 0; + $arrayidx70 = $conv + 36 | 0; + $conv184 = +($num | 0); + $mul204 = $num << 1; + $arrayidx214 = $dH + 4 | 0; + $arrayidx218 = $dH + 8 | 0; + $arrayidx222 = $dH + 12 | 0; + $arrayidx226 = $dH + 16 | 0; + $arrayidx230 = $dH + 20 | 0; + $arrayidx234 = $dH + 24 | 0; + $arrayidx238 = $dH + 28 | 0; + $err0$0 = 0.0; + $i$1 = 0; + L18 : while (1) { + $err1$0 = 0.0; + $j$1 = 0; + while (1) { + if (($j$1 | 0) >= ($num | 0)) break; + $4 = +HEAPF32[$pos3d + ($j$1 * 12 | 0) >> 2]; + $6 = +HEAPF32[$pos3d + ($j$1 * 12 | 0) + 4 >> 2]; + $add49 = +HEAPF32[$arrayidx48 >> 2] + (+HEAPF32[$conv >> 2] * $4 + +HEAPF32[$arrayidx43 >> 2] * $6); + $add63 = +HEAPF32[$arrayidx62 >> 2] + ($4 * +HEAPF32[$arrayidx51 >> 2] + $6 * +HEAPF32[$arrayidx56 >> 2]); + $add75 = $4 * +HEAPF32[$arrayidx65 >> 2] + $6 * +HEAPF32[$arrayidx70 >> 2] + 1.0; + if ($add75 == 0.0) { + label = 17; + break L18; + } + $mul81 = $add75 * $add75; + $sub = +HEAPF32[$pos2d + ($j$1 << 3) >> 2] - $add49 / $add75; + $sub88 = +HEAPF32[$pos2d + ($j$1 << 3) + 4 >> 2] - $add63 / $add75; + $mul93 = $j$1 << 1; + HEAPF32[$call12 + ($mul93 << 2) >> 2] = $sub; + HEAPF32[$call12 + (($mul93 | 1) << 2) >> 2] = $sub88; + $div101 = $4 / $add75; + $mul102 = $j$1 << 4; + HEAPF32[$call + ($mul102 << 2) >> 2] = $div101; + $div107 = $6 / $add75; + HEAPF32[$call + (($mul102 | 1) << 2) >> 2] = $div107; + $div111 = 1.0 / $add75; + HEAPF32[$call + (($mul102 | 2) << 2) >> 2] = $div111; + HEAPF32[$call + (($mul102 | 3) << 2) >> 2] = 0.0; + HEAPF32[$call + (($mul102 | 4) << 2) >> 2] = 0.0; + HEAPF32[$call + (($mul102 | 5) << 2) >> 2] = 0.0; + HEAPF32[$call + (($mul102 | 6) << 2) >> 2] = -($4 * $add49) / $mul81; + HEAPF32[$call + (($mul102 | 7) << 2) >> 2] = -($6 * $add49) / $mul81; + HEAPF32[$call + (($mul102 | 8) << 2) >> 2] = 0.0; + HEAPF32[$call + (($mul102 | 9) << 2) >> 2] = 0.0; + HEAPF32[$call + (($mul102 | 10) << 2) >> 2] = 0.0; + HEAPF32[$call + (($mul102 | 11) << 2) >> 2] = $div101; + HEAPF32[$call + (($mul102 | 12) << 2) >> 2] = $div107; + HEAPF32[$call + (($mul102 | 13) << 2) >> 2] = $div111; + HEAPF32[$call + (($mul102 | 14) << 2) >> 2] = -($4 * $add63) / $mul81; + HEAPF32[$call + (($mul102 | 15) << 2) >> 2] = -($6 * $add63) / $mul81; + $err1$0 = $err1$0 + ($sub * $sub + $sub88 * $sub88); + $j$1 = $j$1 + 1 | 0; + } + $div185 = $err1$0 / $conv184; + if ($div185 < .10000000149011612) { + label = 26; break; - } else { - $92 = (HEAP32[$7 >> 2] | 0) + ($$0 << 3) | 0; - $93 = HEAP32[$68 >> 2] | 0; - if (($93 | 0) == (HEAP32[$69 >> 2] | 0)) { - __ZNSt3__26vectorIN6vision17PriorityQueueItemILi96EEENS_9allocatorIS3_EEE21__push_back_slow_pathIRKS3_EEvOT_($2, $92); - $110 = HEAP32[$68 >> 2] | 0; - } else { - $96 = $92; - $101 = HEAP32[$96 + 4 >> 2] | 0; - $102 = $93; - HEAP32[$102 >> 2] = HEAP32[$96 >> 2]; - HEAP32[$102 + 4 >> 2] = $101; - $107 = (HEAP32[$68 >> 2] | 0) + 8 | 0; - HEAP32[$68 >> 2] = $107; - $110 = $107; - } - $109 = HEAP32[$2 >> 2] | 0; - HEAP32[$4 >> 2] = $109; - HEAP32[$5 >> 2] = $110; - HEAP32[$$byval_copy >> 2] = HEAP32[$4 >> 2]; - HEAP32[$$byval_copy1 >> 2] = HEAP32[$5 >> 2]; - __ZNSt3__29__sift_upIRNS_4lessIN6vision17PriorityQueueItemILi96EEEEENS_11__wrap_iterIPS4_EEEEvT0_SA_T_NS_15iterator_traitsISA_E15difference_typeE($$byval_copy, $$byval_copy1, $6, $110 - $109 >> 3); + } + if (($i$1 | 0) != 0 & $div185 < 4.0) { + if (($i$1 | 0) == 10 | $div185 / $err0$0 > .9900000095367432) { + label = 26; + break; + } + } else if (($i$1 | 0) == 10) { + label = 26; break; } - } while (0); - $$0 = $$0 + 1 | 0; - } - __ZNSt3__213__vector_baseIN6vision17PriorityQueueItemILi96EEENS_9allocatorIS3_EEED2Ev($7); + if ((_getDeltaS_185($dH, $call12, $call, $mul204) | 0) < 0) { + label = 24; + break; + } + HEAPF32[$conv >> 2] = +HEAPF32[$dH >> 2] + +HEAPF32[$conv >> 2]; + HEAPF32[$arrayidx43 >> 2] = +HEAPF32[$arrayidx214 >> 2] + +HEAPF32[$arrayidx43 >> 2]; + HEAPF32[$arrayidx48 >> 2] = +HEAPF32[$arrayidx218 >> 2] + +HEAPF32[$arrayidx48 >> 2]; + HEAPF32[$arrayidx51 >> 2] = +HEAPF32[$arrayidx222 >> 2] + +HEAPF32[$arrayidx51 >> 2]; + HEAPF32[$arrayidx56 >> 2] = +HEAPF32[$arrayidx226 >> 2] + +HEAPF32[$arrayidx56 >> 2]; + HEAPF32[$arrayidx62 >> 2] = +HEAPF32[$arrayidx230 >> 2] + +HEAPF32[$arrayidx62 >> 2]; + HEAPF32[$arrayidx65 >> 2] = +HEAPF32[$arrayidx234 >> 2] + +HEAPF32[$arrayidx65 >> 2]; + HEAPF32[$arrayidx70 >> 2] = +HEAPF32[$arrayidx238 >> 2] + +HEAPF32[$arrayidx70 >> 2]; + $err0$0 = $div185; + $i$1 = $i$1 + 1 | 0; + } + if ((label | 0) == 17) { + _free($call); + _free($call12); + $retval$0 = 1.0e8; + break; + } else if ((label | 0) == 24) { + _free($call); + _free($call12); + $retval$0 = 1.0e8; + break; + } else if ((label | 0) == 26) { + _free($call); + _free($call12); + $retval$0 = $div185; + break; + } + } else $retval$0 = 1.0e8; while (0); STACKTOP = sp; - return; + return +$retval$0; } -function _start_input_pass_79($0) { - $0 = $0 | 0; - var $$030$i = 0, $$07881$i = 0, $$07982$i = 0, $$pre33$i = 0, $1 = 0, $10 = 0, $101 = 0, $105 = 0, $112 = 0, $116 = 0, $117 = 0, $118 = 0, $119 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $2 = 0, $20 = 0, $21 = 0, $27 = 0, $38 = 0, $41 = 0, $49 = 0, $5 = 0, $51 = 0, $55 = 0, $57 = 0, $60 = 0, $62 = 0, $66 = 0, $70 = 0, $75 = 0, $79 = 0, $81 = 0, $86 = 0, $90 = 0, $91 = 0, $94 = 0, $96 = 0, $97 = 0, label = 0; - $1 = $0 + 340 | 0; - $2 = HEAP32[$1 >> 2] | 0; - if (($2 | 0) != 1) { - if (($2 + -1 | 0) >>> 0 > 3) { - $27 = HEAP32[$0 >> 2] | 0; - HEAP32[$27 + 20 >> 2] = 27; - HEAP32[$27 + 24 >> 2] = $2; - HEAP32[(HEAP32[$0 >> 2] | 0) + 28 >> 2] = 4; - FUNCTION_TABLE_vi[HEAP32[HEAP32[$0 >> 2] >> 2] & 255]($0); - } - $38 = $0 + 428 | 0; - $41 = _jdiv_round_up(HEAP32[$0 + 28 >> 2] | 0, Math_imul(HEAP32[$38 >> 2] | 0, HEAP32[$0 + 316 >> 2] | 0) | 0) | 0; - HEAP32[$0 + 360 >> 2] = $41; - $49 = _jdiv_round_up(HEAP32[$0 + 32 >> 2] | 0, Math_imul(HEAP32[$38 >> 2] | 0, HEAP32[$0 + 320 >> 2] | 0) | 0) | 0; - HEAP32[$0 + 364 >> 2] = $49; - $51 = $0 + 368 | 0; - HEAP32[$51 >> 2] = 0; - if ((HEAP32[$1 >> 2] | 0) <= 0) { - $117 = $0 + 468 | 0; - $118 = HEAP32[$117 >> 2] | 0; - $119 = HEAP32[$118 >> 2] | 0; - FUNCTION_TABLE_vi[$119 & 255]($0); - $120 = $0 + 452 | 0; - $121 = HEAP32[$120 >> 2] | 0; - $122 = HEAP32[$121 >> 2] | 0; - FUNCTION_TABLE_vi[$122 & 255]($0); - $123 = HEAP32[$120 >> 2] | 0; - $124 = $123 + 4 | 0; - $125 = HEAP32[$124 >> 2] | 0; - $126 = $0 + 460 | 0; - $127 = HEAP32[$126 >> 2] | 0; - HEAP32[$127 >> 2] = $125; +function _start_input_pass_84($cinfo) { + $cinfo = $cinfo | 0; + var $$pre26$i = 0, $0 = 0, $1 = 0, $18 = 0, $19 = 0, $20 = 0, $24 = 0, $25 = 0, $27 = 0, $28 = 0, $29 = 0, $3 = 0, $31 = 0, $34 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $7 = 0, $block_size$i = 0, $blocks_in_MCU25$i = 0, $call$i = 0, $call$i15 = 0, $call23$i = 0, $ci$024$i = 0, $ci$076$i = 0, $coef = 0, $comps_in_scan$i = 0, $consume_data = 0, $entropy = 0, $inc70$i = 0, $inputctl = 0, $mcublks$074$i = 0, $mem$i = 0, $mul35$i = 0, $mul39$i = 0, $quant_table$i = 0, $rem$i = 0, $rem43$i = 0, $rem51$i = 0, label = 0; + $comps_in_scan$i = $cinfo + 340 | 0; + $0 = HEAP32[$comps_in_scan$i >> 2] | 0; + if (($0 | 0) != 1) { + if (($0 + -1 | 0) >>> 0 > 3) { + $7 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$7 + 20 >> 2] = 27; + HEAP32[$7 + 24 >> 2] = $0; + HEAP32[(HEAP32[$cinfo >> 2] | 0) + 28 >> 2] = 4; + FUNCTION_TABLE_vi[HEAP32[HEAP32[$cinfo >> 2] >> 2] & 255]($cinfo); + } + $block_size$i = $cinfo + 428 | 0; + $call$i = _jdiv_round_up(HEAP32[$cinfo + 28 >> 2] | 0, Math_imul(HEAP32[$block_size$i >> 2] | 0, HEAP32[$cinfo + 316 >> 2] | 0) | 0) | 0; + HEAP32[$cinfo + 360 >> 2] = $call$i; + $call23$i = _jdiv_round_up(HEAP32[$cinfo + 32 >> 2] | 0, Math_imul(HEAP32[$block_size$i >> 2] | 0, HEAP32[$cinfo + 320 >> 2] | 0) | 0) | 0; + HEAP32[$cinfo + 364 >> 2] = $call23$i; + $blocks_in_MCU25$i = $cinfo + 368 | 0; + HEAP32[$blocks_in_MCU25$i >> 2] = 0; + if ((HEAP32[$comps_in_scan$i >> 2] | 0) <= 0) { + $entropy = $cinfo + 468 | 0; + $41 = HEAP32[$entropy >> 2] | 0; + $42 = HEAP32[$41 >> 2] | 0; + FUNCTION_TABLE_vi[$42 & 255]($cinfo); + $coef = $cinfo + 452 | 0; + $43 = HEAP32[$coef >> 2] | 0; + $44 = HEAP32[$43 >> 2] | 0; + FUNCTION_TABLE_vi[$44 & 255]($cinfo); + $45 = HEAP32[$coef >> 2] | 0; + $consume_data = $45 + 4 | 0; + $46 = HEAP32[$consume_data >> 2] | 0; + $inputctl = $cinfo + 460 | 0; + $47 = HEAP32[$inputctl >> 2] | 0; + HEAP32[$47 >> 2] = $46; return; } - $$07982$i = 0; - $79 = 0; + $24 = 0; + $ci$076$i = 0; while (1) { - $55 = HEAP32[$0 + 344 + ($$07982$i << 2) >> 2] | 0; - $57 = HEAP32[$55 + 8 >> 2] | 0; - HEAP32[$55 + 56 >> 2] = $57; - $60 = HEAP32[$55 + 12 >> 2] | 0; - HEAP32[$55 + 60 >> 2] = $60; - $62 = Math_imul($60, $57) | 0; - HEAP32[$55 + 64 >> 2] = $62; - $66 = Math_imul(HEAP32[$55 + 36 >> 2] | 0, $57) | 0; - HEAP32[$55 + 68 >> 2] = $66; - $70 = ((HEAP32[$55 + 28 >> 2] | 0) >>> 0) % ($57 >>> 0) | 0; - HEAP32[$55 + 72 >> 2] = ($70 | 0) == 0 ? $57 : $70; - $75 = ((HEAP32[$55 + 32 >> 2] | 0) >>> 0) % ($60 >>> 0) | 0; - HEAP32[$55 + 76 >> 2] = ($75 | 0) == 0 ? $60 : $75; - if (($62 + $79 | 0) > 10) { - $81 = HEAP32[$0 >> 2] | 0; - HEAP32[$81 + 20 >> 2] = 14; - FUNCTION_TABLE_vi[HEAP32[$81 >> 2] & 255]($0); - } - if (($62 | 0) > 0) { - $$07881$i = $62; + $18 = HEAP32[$cinfo + 344 + ($ci$076$i << 2) >> 2] | 0; + $19 = HEAP32[$18 + 8 >> 2] | 0; + HEAP32[$18 + 56 >> 2] = $19; + $20 = HEAP32[$18 + 12 >> 2] | 0; + HEAP32[$18 + 60 >> 2] = $20; + $mul35$i = Math_imul($20, $19) | 0; + HEAP32[$18 + 64 >> 2] = $mul35$i; + $mul39$i = Math_imul(HEAP32[$18 + 36 >> 2] | 0, $19) | 0; + HEAP32[$18 + 68 >> 2] = $mul39$i; + $rem43$i = ((HEAP32[$18 + 28 >> 2] | 0) >>> 0) % ($19 >>> 0) | 0; + HEAP32[$18 + 72 >> 2] = ($rem43$i | 0) == 0 ? $19 : $rem43$i; + $rem51$i = ((HEAP32[$18 + 32 >> 2] | 0) >>> 0) % ($20 >>> 0) | 0; + HEAP32[$18 + 76 >> 2] = ($rem51$i | 0) == 0 ? $20 : $rem51$i; + if (($mul35$i + $24 | 0) > 10) { + $25 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$25 + 20 >> 2] = 14; + FUNCTION_TABLE_vi[HEAP32[$25 >> 2] & 255]($cinfo); + } + if (($mul35$i | 0) > 0) { + $mcublks$074$i = $mul35$i; while (1) { - $86 = HEAP32[$51 >> 2] | 0; - HEAP32[$51 >> 2] = $86 + 1; - HEAP32[$0 + 372 + ($86 << 2) >> 2] = $$07982$i; - if (($$07881$i | 0) > 1) $$07881$i = $$07881$i + -1 | 0; else break; - } - } - $90 = $$07982$i + 1 | 0; - $91 = HEAP32[$1 >> 2] | 0; - if (($90 | 0) >= ($91 | 0)) break; - $$07982$i = $90; - $79 = HEAP32[$51 >> 2] | 0; - } - if (($91 | 0) > 0) $128 = $91; else { - $117 = $0 + 468 | 0; - $118 = HEAP32[$117 >> 2] | 0; - $119 = HEAP32[$118 >> 2] | 0; - FUNCTION_TABLE_vi[$119 & 255]($0); - $120 = $0 + 452 | 0; - $121 = HEAP32[$120 >> 2] | 0; - $122 = HEAP32[$121 >> 2] | 0; - FUNCTION_TABLE_vi[$122 & 255]($0); - $123 = HEAP32[$120 >> 2] | 0; - $124 = $123 + 4 | 0; - $125 = HEAP32[$124 >> 2] | 0; - $126 = $0 + 460 | 0; - $127 = HEAP32[$126 >> 2] | 0; - HEAP32[$127 >> 2] = $125; + $27 = HEAP32[$blocks_in_MCU25$i >> 2] | 0; + HEAP32[$blocks_in_MCU25$i >> 2] = $27 + 1; + HEAP32[$cinfo + 372 + ($27 << 2) >> 2] = $ci$076$i; + if (($mcublks$074$i | 0) > 1) $mcublks$074$i = $mcublks$074$i + -1 | 0; else break; + } + } + $inc70$i = $ci$076$i + 1 | 0; + $28 = HEAP32[$comps_in_scan$i >> 2] | 0; + if (($inc70$i | 0) >= ($28 | 0)) break; + $24 = HEAP32[$blocks_in_MCU25$i >> 2] | 0; + $ci$076$i = $inc70$i; + } + if (($28 | 0) > 0) $48 = $28; else { + $entropy = $cinfo + 468 | 0; + $41 = HEAP32[$entropy >> 2] | 0; + $42 = HEAP32[$41 >> 2] | 0; + FUNCTION_TABLE_vi[$42 & 255]($cinfo); + $coef = $cinfo + 452 | 0; + $43 = HEAP32[$coef >> 2] | 0; + $44 = HEAP32[$43 >> 2] | 0; + FUNCTION_TABLE_vi[$44 & 255]($cinfo); + $45 = HEAP32[$coef >> 2] | 0; + $consume_data = $45 + 4 | 0; + $46 = HEAP32[$consume_data >> 2] | 0; + $inputctl = $cinfo + 460 | 0; + $47 = HEAP32[$inputctl >> 2] | 0; + HEAP32[$47 >> 2] = $46; return; } } else { - $5 = HEAP32[$0 + 344 >> 2] | 0; - HEAP32[$0 + 360 >> 2] = HEAP32[$5 + 28 >> 2]; - $10 = HEAP32[$5 + 32 >> 2] | 0; - HEAP32[$0 + 364 >> 2] = $10; - HEAP32[$5 + 56 >> 2] = 1; - HEAP32[$5 + 60 >> 2] = 1; - HEAP32[$5 + 64 >> 2] = 1; - HEAP32[$5 + 68 >> 2] = HEAP32[$5 + 36 >> 2]; - HEAP32[$5 + 72 >> 2] = 1; - $20 = HEAP32[$5 + 12 >> 2] | 0; - $21 = ($10 >>> 0) % ($20 >>> 0) | 0; - HEAP32[$5 + 76 >> 2] = ($21 | 0) == 0 ? $20 : $21; - HEAP32[$0 + 368 >> 2] = 1; - HEAP32[$0 + 372 >> 2] = 0; - $128 = 1; - } - $94 = $0 + 4 | 0; - $$030$i = 0; - $129 = $128; + $1 = HEAP32[$cinfo + 344 >> 2] | 0; + HEAP32[$cinfo + 360 >> 2] = HEAP32[$1 + 28 >> 2]; + $3 = HEAP32[$1 + 32 >> 2] | 0; + HEAP32[$cinfo + 364 >> 2] = $3; + HEAP32[$1 + 56 >> 2] = 1; + HEAP32[$1 + 60 >> 2] = 1; + HEAP32[$1 + 64 >> 2] = 1; + HEAP32[$1 + 68 >> 2] = HEAP32[$1 + 36 >> 2]; + HEAP32[$1 + 72 >> 2] = 1; + $5 = HEAP32[$1 + 12 >> 2] | 0; + $rem$i = ($3 >>> 0) % ($5 >>> 0) | 0; + HEAP32[$1 + 76 >> 2] = ($rem$i | 0) == 0 ? $5 : $rem$i; + HEAP32[$cinfo + 368 >> 2] = 1; + HEAP32[$cinfo + 372 >> 2] = 0; + $48 = 1; + } + $mem$i = $cinfo + 4 | 0; + $49 = $48; + $ci$024$i = 0; while (1) { - $96 = HEAP32[$0 + 344 + ($$030$i << 2) >> 2] | 0; - $97 = $96 + 80 | 0; - if (!(HEAP32[$97 >> 2] | 0)) { - $101 = HEAP32[$96 + 16 >> 2] | 0; - $$pre33$i = $0 + 164 + ($101 << 2) | 0; - if ($101 >>> 0 <= 3 ? (HEAP32[$$pre33$i >> 2] | 0) != 0 : 0) {} else { - $105 = HEAP32[$0 >> 2] | 0; - HEAP32[$105 + 20 >> 2] = 54; - HEAP32[$105 + 24 >> 2] = $101; - FUNCTION_TABLE_vi[HEAP32[HEAP32[$0 >> 2] >> 2] & 255]($0); - } - $112 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[$94 >> 2] >> 2] & 63]($0, 1, 132) | 0; - _memcpy($112 | 0, HEAP32[$$pre33$i >> 2] | 0, 132) | 0; - HEAP32[$97 >> 2] = $112; - $116 = HEAP32[$1 >> 2] | 0; - } else $116 = $129; - $$030$i = $$030$i + 1 | 0; - if (($$030$i | 0) >= ($116 | 0)) break; else $129 = $116; - } - $117 = $0 + 468 | 0; - $118 = HEAP32[$117 >> 2] | 0; - $119 = HEAP32[$118 >> 2] | 0; - FUNCTION_TABLE_vi[$119 & 255]($0); - $120 = $0 + 452 | 0; - $121 = HEAP32[$120 >> 2] | 0; - $122 = HEAP32[$121 >> 2] | 0; - FUNCTION_TABLE_vi[$122 & 255]($0); - $123 = HEAP32[$120 >> 2] | 0; - $124 = $123 + 4 | 0; - $125 = HEAP32[$124 >> 2] | 0; - $126 = $0 + 460 | 0; - $127 = HEAP32[$126 >> 2] | 0; - HEAP32[$127 >> 2] = $125; - return; -} - -function __ZNK6vision25GaussianScaleSpacePyramid6locateERiS1_f($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = +$3; - var $$sink = 0, $100 = 0, $11 = 0.0, $16 = 0, $17 = 0, $23 = 0, $26 = 0, $31 = 0, $38 = 0, $4 = 0, $43 = 0, $47 = 0, $56 = 0, $61 = 0, $65 = 0, $67 = 0, $7 = 0, $73 = 0, $78 = 0, $82 = 0, $90 = 0, $95 = 0, $99 = 0, label = 0, sp = 0; + $29 = HEAP32[$cinfo + 344 + ($ci$024$i << 2) >> 2] | 0; + $quant_table$i = $29 + 80 | 0; + if (!(HEAP32[$quant_table$i >> 2] | 0)) { + $31 = HEAP32[$29 + 16 >> 2] | 0; + $$pre26$i = $cinfo + 164 + ($31 << 2) | 0; + if ($31 >>> 0 <= 3 ? (HEAP32[$$pre26$i >> 2] | 0) != 0 : 0) {} else { + $34 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$34 + 20 >> 2] = 54; + HEAP32[$34 + 24 >> 2] = $31; + FUNCTION_TABLE_vi[HEAP32[HEAP32[$cinfo >> 2] >> 2] & 255]($cinfo); + } + $call$i15 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[$mem$i >> 2] >> 2] & 63]($cinfo, 1, 132) | 0; + _memcpy($call$i15 | 0, HEAP32[$$pre26$i >> 2] | 0, 132) | 0; + HEAP32[$quant_table$i >> 2] = $call$i15; + $40 = HEAP32[$comps_in_scan$i >> 2] | 0; + } else $40 = $49; + $ci$024$i = $ci$024$i + 1 | 0; + if (($ci$024$i | 0) >= ($40 | 0)) break; else $49 = $40; + } + $entropy = $cinfo + 468 | 0; + $41 = HEAP32[$entropy >> 2] | 0; + $42 = HEAP32[$41 >> 2] | 0; + FUNCTION_TABLE_vi[$42 & 255]($cinfo); + $coef = $cinfo + 452 | 0; + $43 = HEAP32[$coef >> 2] | 0; + $44 = HEAP32[$43 >> 2] | 0; + FUNCTION_TABLE_vi[$44 & 255]($cinfo); + $45 = HEAP32[$coef >> 2] | 0; + $consume_data = $45 + 4 | 0; + $46 = HEAP32[$consume_data >> 2] | 0; + $inputctl = $cinfo + 460 | 0; + $47 = HEAP32[$inputctl >> 2] | 0; + HEAP32[$47 >> 2] = $46; + return; +} + +function __ZNK6vision25GaussianScaleSpacePyramid6locateERiS1_f($this, $octave, $scale, $sigma) { + $this = $this | 0; + $octave = $octave | 0; + $scale = $scale | 0; + $sigma = +$sigma; + var $$sink = 0, $1 = 0.0, $12 = 0, $16 = 0, $5 = 0, $6 = 0, $8 = 0, $call$i1$i = 0, $call$i1$i40 = 0, $call$i1$i48 = 0, $call$i1$i56 = 0, $call$i2$i = 0, $call$i2$i43 = 0, $call$i2$i51 = 0, $call$i2$i59 = 0, $call24 = 0, $call36 = 0, $call49 = 0, $call63 = 0, $conv = 0, $conv6 = 0, $mNumScalesPerOctave = 0, $ref$tmp$i55 = 0, label = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $4 = sp; - $7 = ~~+Math_floor(+(+__ZN6vision4log2IfEET_S1_($3))); - HEAP32[$1 >> 2] = $7; - $11 = +Math_log(+($3 / +(1 << $7 | 0))); - $16 = ~~+__ZN6vision5roundIfEET_S1_(+HEAPF32[$0 + 28 >> 2] * $11); - HEAP32[$2 >> 2] = $16; - $17 = $0 + 20 | 0; - if (((HEAP32[$17 >> 2] | 0) + -1 | 0) == ($16 | 0)) { - HEAP32[$1 >> 2] = (HEAP32[$1 >> 2] | 0) + 1; - HEAP32[$2 >> 2] = 0; - $100 = 0; - } else $100 = $16; - $23 = HEAP32[$1 >> 2] | 0; - if (($23 | 0) >= 0) { - $26 = HEAP32[$0 + 16 >> 2] | 0; - if (($23 | 0) < ($26 | 0)) $67 = $100; else { - HEAP32[$1 >> 2] = $26 + -1; - $$sink = (HEAP32[$17 >> 2] | 0) + -1 | 0; + $ref$tmp$i55 = sp; + $conv = ~~+Math_floor(+(+__ZN6vision4log2IfEET_S1_($sigma))); + HEAP32[$octave >> 2] = $conv; + $1 = +Math_log(+($sigma / +(1 << $conv | 0))); + $conv6 = ~~+__ZN6vision5roundIfEET_S1_(+HEAPF32[$this + 28 >> 2] * $1); + HEAP32[$scale >> 2] = $conv6; + $mNumScalesPerOctave = $this + 20 | 0; + if (((HEAP32[$mNumScalesPerOctave >> 2] | 0) + -1 | 0) == ($conv6 | 0)) { + HEAP32[$octave >> 2] = (HEAP32[$octave >> 2] | 0) + 1; + HEAP32[$scale >> 2] = 0; + $16 = 0; + } else $16 = $conv6; + $5 = HEAP32[$octave >> 2] | 0; + if (($5 | 0) >= 0) { + $6 = HEAP32[$this + 16 >> 2] | 0; + if (($5 | 0) < ($6 | 0)) $12 = $16; else { + HEAP32[$octave >> 2] = $6 + -1; + $$sink = (HEAP32[$mNumScalesPerOctave >> 2] | 0) + -1 | 0; label = 7; } } else { - HEAP32[$1 >> 2] = 0; + HEAP32[$octave >> 2] = 0; $$sink = 0; label = 7; } if ((label | 0) == 7) { - HEAP32[$2 >> 2] = $$sink; - $67 = $$sink; - } - $31 = HEAP32[$1 >> 2] | 0; - if (($31 | 0) <= -1) { - $38 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 37937) | 0, 37972) | 0, 39072) | 0, 268) | 0, 39079) | 0, 38065) | 0; - __ZNKSt3__28ios_base6getlocEv($4, $38 + (HEAP32[(HEAP32[$38 >> 2] | 0) + -12 >> 2] | 0) | 0); - $43 = __ZNKSt3__26locale9use_facetERNS0_2idE($4, 66512) | 0; - $47 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$43 >> 2] | 0) + 28 >> 2] & 127]($43, 10) | 0; - __ZNSt3__26localeD2Ev($4); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($38, $47) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($38) | 0; + HEAP32[$scale >> 2] = $$sink; + $12 = $$sink; + } + $8 = HEAP32[$octave >> 2] | 0; + if (($8 | 0) <= -1) { + $call24 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 38545) | 0, 38580) | 0, 39794) | 0, 268) | 0, 39801) | 0, 38711) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i55, $call24 + (HEAP32[(HEAP32[$call24 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i40 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i55, 67360) | 0; + $call$i2$i43 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i40 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i40, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i55); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call24, $call$i2$i43) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call24) | 0; _abort(); } - if (($31 | 0) >= (HEAP32[$0 + 16 >> 2] | 0)) { - $56 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 38089) | 0, 37972) | 0, 39072) | 0, 269) | 0, 39079) | 0, 38133) | 0; - __ZNKSt3__28ios_base6getlocEv($4, $56 + (HEAP32[(HEAP32[$56 >> 2] | 0) + -12 >> 2] | 0) | 0); - $61 = __ZNKSt3__26locale9use_facetERNS0_2idE($4, 66512) | 0; - $65 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$61 >> 2] | 0) + 28 >> 2] & 127]($61, 10) | 0; - __ZNSt3__26localeD2Ev($4); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($56, $65) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($56) | 0; + if (($8 | 0) >= (HEAP32[$this + 16 >> 2] | 0)) { + $call36 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 38735) | 0, 38580) | 0, 39794) | 0, 269) | 0, 39801) | 0, 38779) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i55, $call36 + (HEAP32[(HEAP32[$call36 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i48 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i55, 67360) | 0; + $call$i2$i51 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i48 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i48, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i55); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call36, $call$i2$i51) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call36) | 0; _abort(); } - if (($67 | 0) <= -1) { - $73 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 38176) | 0, 37972) | 0, 39072) | 0, 270) | 0, 39079) | 0, 38210) | 0; - __ZNKSt3__28ios_base6getlocEv($4, $73 + (HEAP32[(HEAP32[$73 >> 2] | 0) + -12 >> 2] | 0) | 0); - $78 = __ZNKSt3__26locale9use_facetERNS0_2idE($4, 66512) | 0; - $82 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$78 >> 2] | 0) + 28 >> 2] & 127]($78, 10) | 0; - __ZNSt3__26localeD2Ev($4); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($73, $82) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($73) | 0; + if (($12 | 0) <= -1) { + $call49 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 38822) | 0, 38580) | 0, 39794) | 0, 270) | 0, 39801) | 0, 38856) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i55, $call49 + (HEAP32[(HEAP32[$call49 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i56 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i55, 67360) | 0; + $call$i2$i59 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i56 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i56, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i55); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call49, $call$i2$i59) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call49) | 0; _abort(); } - if (($67 | 0) < (HEAP32[$17 >> 2] | 0)) { + if (($12 | 0) < (HEAP32[$mNumScalesPerOctave >> 2] | 0)) { STACKTOP = sp; return; } else { - $90 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 38233) | 0, 37972) | 0, 39072) | 0, 271) | 0, 39079) | 0, 38284) | 0; - __ZNKSt3__28ios_base6getlocEv($4, $90 + (HEAP32[(HEAP32[$90 >> 2] | 0) + -12 >> 2] | 0) | 0); - $95 = __ZNKSt3__26locale9use_facetERNS0_2idE($4, 66512) | 0; - $99 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$95 >> 2] | 0) + 28 >> 2] & 127]($95, 10) | 0; - __ZNSt3__26localeD2Ev($4); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($90, $99) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($90) | 0; + $call63 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 38879) | 0, 38580) | 0, 39794) | 0, 271) | 0, 39801) | 0, 38930) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i55, $call63 + (HEAP32[(HEAP32[$call63 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i55, 67360) | 0; + $call$i2$i = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i >> 2] | 0) + 28 >> 2] & 127]($call$i1$i, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i55); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call63, $call$i2$i) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call63) | 0; _abort(); } } -function _process_data_context_main($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $$04347$i = 0, $$04546$i = 0, $$048$i = 0, $$05759$i = 0, $$05860$i = 0, $$061$i = 0, $$pre$phi59Z2D = 0, $$pre$phi61Z2D = 0, $$pre$phi63Z2D = 0, $$pre$phi65Z2D = 0, $101 = 0, $103 = 0, $105 = 0, $109 = 0, $110 = 0, $111 = 0, $112 = 0, $118 = 0, $121 = 0, $124 = 0, $126 = 0, $127 = 0, $128 = 0, $131 = 0, $138 = 0, $149 = 0, $19 = 0, $22 = 0, $32 = 0, $33 = 0, $4 = 0, $41 = 0, $48 = 0, $5 = 0, $50 = 0, $54 = 0, $57 = 0, $6 = 0, $62 = 0, $63 = 0, $66 = 0, $74 = 0, $75 = 0, $78 = 0, $90 = 0, $spec$select$i = 0, label = 0; - $4 = $0 + 448 | 0; - $5 = HEAP32[$4 >> 2] | 0; - $6 = $5 + 56 | 0; - do if (!(HEAP32[$6 >> 2] | 0)) if (!(FUNCTION_TABLE_iii[HEAP32[(HEAP32[$0 + 452 >> 2] | 0) + 12 >> 2] & 127]($0, HEAP32[$5 + 60 + (HEAP32[$5 + 68 >> 2] << 2) >> 2] | 0) | 0)) return; else { - HEAP32[$6 >> 2] = 1; - $19 = $5 + 76 | 0; - HEAP32[$19 >> 2] = (HEAP32[$19 >> 2] | 0) + 1; - break; - } while (0); - $22 = $5 + 72 | 0; - switch (HEAP32[$22 >> 2] | 0) { - case 2: - { - $32 = $5 + 48 | 0; - $33 = $5 + 52 | 0; - FUNCTION_TABLE_viiiiiii[HEAP32[(HEAP32[$0 + 456 >> 2] | 0) + 4 >> 2] & 7]($0, HEAP32[$5 + 60 + (HEAP32[$5 + 68 >> 2] << 2) >> 2] | 0, $32, HEAP32[$33 >> 2] | 0, $1, $2, $3); - if ((HEAP32[$32 >> 2] | 0) >>> 0 < (HEAP32[$33 >> 2] | 0) >>> 0) return; - HEAP32[$22 >> 2] = 0; - if ((HEAP32[$2 >> 2] | 0) >>> 0 < $3 >>> 0) { - $$pre$phi59Z2D = $32; - $$pre$phi61Z2D = $33; - label = 9; - } else return; +function _arGetContour($limage, $xsize, $ysize, $label_ref, $label, $clip, $marker_info2) { + $limage = $limage | 0; + $xsize = $xsize | 0; + $ysize = $ysize | 0; + $label_ref = $label_ref | 0; + $label = $label | 0; + $clip = $clip | 0; + $marker_info2 = $marker_info2 | 0; + var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $14 = 0, $15 = 0, $2 = 0, $22 = 0, $3 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $add114 = 0, $arrayidx18 = 0, $arrayidx19 = 0, $arrayidx31 = 0, $arrayidx76 = 0, $cmp115 = 0, $coord_num = 0, $dir$0 = 0, $dir$1 = 0, $dir$1$in = 0, $dmax$0 = 0, $i$0 = 0, $i$1 = 0, $i$2 = 0, $i$3 = 0, $i$4 = 0, $i$5 = 0, $inc88 = 0, $mul = 0, $mul106 = 0, $mul38 = 0, $p1$0 = 0, $retval$0 = 0, $spec$select114 = 0, $sub102 = 0, $sub109 = 0, $sub143 = 0, $sub159 = 0, $v1$0 = 0, $vararg_buffer = 0, $vararg_buffer1 = 0, $vararg_buffer3 = 0, $wx = 0, $wy = 0, label = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 80032 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(80032); + $vararg_buffer3 = sp + 80016 | 0; + $vararg_buffer1 = sp + 80008 | 0; + $vararg_buffer = sp + 8e4 | 0; + $wx = sp + 4e4 | 0; + $wy = sp; + $0 = HEAP32[$clip + 8 >> 2] | 0; + $mul = Math_imul($0, $xsize) | 0; + $1 = HEAP32[$clip >> 2] | 0; + $2 = HEAP32[$clip + 4 >> 2] | 0; + $i$0 = $1; + $p1$0 = $limage + ($mul + $1 << 1) | 0; + while (1) { + if (($i$0 | 0) > ($2 | 0)) { + label = 7; break; } - case 0: - { - $$pre$phi59Z2D = $5 + 48 | 0; - $$pre$phi61Z2D = $5 + 52 | 0; - label = 9; + $3 = HEAP16[$p1$0 >> 1] | 0; + if ($3 << 16 >> 16 > 0 ? (HEAP32[$label_ref + (($3 << 16 >> 16) + -1 << 2) >> 2] | 0) == ($label | 0) : 0) { + label = 6; break; } - case 1: - { - $$pre$phi63Z2D = $5 + 48 | 0; - $$pre$phi65Z2D = $5 + 52 | 0; + $i$0 = $i$0 + 1 | 0; + $p1$0 = $p1$0 + 2 | 0; + } + do if ((label | 0) == 6) if (($i$0 | 0) != -1) { + $coord_num = $marker_info2 + 24 | 0; + HEAP32[$coord_num >> 2] = 1; + $arrayidx18 = $marker_info2 + 28 | 0; + HEAP32[$arrayidx18 >> 2] = $i$0; + $arrayidx19 = $marker_info2 + 40028 | 0; + HEAP32[$arrayidx19 >> 2] = $0; + $11 = 1; + $5 = $0; + $6 = $i$0; + $dir$0 = 5; + while (1) { + $arrayidx31 = $limage + ((Math_imul($5, $xsize) | 0) + $6 << 1) | 0; + $dir$1$in = $dir$0 + 5 | 0; + $i$1 = 0; + while (1) { + $dir$1 = ($dir$1$in | 0) % 8 | 0; + if ($i$1 >>> 0 >= 8) { + label = 13; + break; + } + $7 = HEAP32[48 + ($dir$1 << 2) >> 2] | 0; + $mul38 = Math_imul($7, $xsize) | 0; + $8 = HEAP32[80 + ($dir$1 << 2) >> 2] | 0; + if ((HEAP16[$arrayidx31 + ($mul38 + $8 << 1) >> 1] | 0) > 0) { + $10 = $8; + $14 = $7; + break; + } + $dir$1$in = $dir$1 + 1 | 0; + $i$1 = $i$1 + 1 | 0; + } + if ((label | 0) == 13) { + label = 0; + if (($i$1 | 0) == 8) { + label = 15; + break; + } + $10 = HEAP32[80 + ($dir$1 << 2) >> 2] | 0; + $14 = HEAP32[48 + ($dir$1 << 2) >> 2] | 0; + } + HEAP32[$marker_info2 + 28 + ($11 << 2) >> 2] = $10 + $6; + $12 = HEAP32[$coord_num >> 2] | 0; + HEAP32[$marker_info2 + 40028 + ($12 << 2) >> 2] = $14 + (HEAP32[$marker_info2 + 40028 + ($12 + -1 << 2) >> 2] | 0); + $15 = HEAP32[$coord_num >> 2] | 0; + $arrayidx76 = $marker_info2 + 28 + ($15 << 2) | 0; + if ((HEAP32[$arrayidx76 >> 2] | 0) == ($i$0 | 0) ? (HEAP32[$marker_info2 + 40028 + ($15 << 2) >> 2] | 0) == ($0 | 0) : 0) { + label = 18; + break; + } + $inc88 = $15 + 1 | 0; + HEAP32[$coord_num >> 2] = $inc88; + if (($inc88 | 0) == 9999) { + label = 21; + break; + } + $11 = $inc88; + $5 = HEAP32[$marker_info2 + 40028 + ($15 << 2) >> 2] | 0; + $6 = HEAP32[$arrayidx76 >> 2] | 0; + $dir$0 = $dir$1; + } + if ((label | 0) == 15) { + _arLog(0, 3, 24224, $vararg_buffer1); + $retval$0 = -1; + break; + } else if ((label | 0) == 18) { + $dmax$0 = 0; + $i$2 = 1; + $v1$0 = 0; + while (1) { + if (($i$2 | 0) >= ($15 | 0)) break; + $sub102 = (HEAP32[$marker_info2 + 28 + ($i$2 << 2) >> 2] | 0) - $i$0 | 0; + $mul106 = Math_imul($sub102, $sub102) | 0; + $sub109 = (HEAP32[$marker_info2 + 40028 + ($i$2 << 2) >> 2] | 0) - $0 | 0; + $add114 = (Math_imul($sub109, $sub109) | 0) + $mul106 | 0; + $cmp115 = ($add114 | 0) > ($dmax$0 | 0); + $spec$select114 = $cmp115 ? $i$2 : $v1$0; + $dmax$0 = $cmp115 ? $add114 : $dmax$0; + $i$2 = $i$2 + 1 | 0; + $v1$0 = $spec$select114; + } + $i$3 = 0; + while (1) { + if (($i$3 | 0) >= ($v1$0 | 0)) break; + HEAP32[$wx + ($i$3 << 2) >> 2] = HEAP32[$marker_info2 + 28 + ($i$3 << 2) >> 2]; + HEAP32[$wy + ($i$3 << 2) >> 2] = HEAP32[$marker_info2 + 40028 + ($i$3 << 2) >> 2]; + $i$3 = $i$3 + 1 | 0; + } + $22 = $15; + $i$4 = $v1$0; + while (1) { + if (($i$4 | 0) >= ($22 | 0)) break; + $sub143 = $i$4 - $v1$0 | 0; + HEAP32[$marker_info2 + 28 + ($sub143 << 2) >> 2] = HEAP32[$marker_info2 + 28 + ($i$4 << 2) >> 2]; + HEAP32[$marker_info2 + 40028 + ($sub143 << 2) >> 2] = HEAP32[$marker_info2 + 40028 + ($i$4 << 2) >> 2]; + $22 = HEAP32[$coord_num >> 2] | 0; + $i$4 = $i$4 + 1 | 0; + } + $i$5 = 0; + while (1) { + if (($i$5 | 0) >= ($v1$0 | 0)) break; + $sub159 = $i$5 - $v1$0 | 0; + HEAP32[$marker_info2 + 28 + ((HEAP32[$coord_num >> 2] | 0) + $sub159 << 2) >> 2] = HEAP32[$wx + ($i$5 << 2) >> 2]; + HEAP32[$marker_info2 + 40028 + ((HEAP32[$coord_num >> 2] | 0) + $sub159 << 2) >> 2] = HEAP32[$wy + ($i$5 << 2) >> 2]; + $i$5 = $i$5 + 1 | 0; + } + HEAP32[$marker_info2 + 28 + (HEAP32[$coord_num >> 2] << 2) >> 2] = HEAP32[$arrayidx18 >> 2]; + HEAP32[$marker_info2 + 40028 + (HEAP32[$coord_num >> 2] << 2) >> 2] = HEAP32[$arrayidx19 >> 2]; + HEAP32[$coord_num >> 2] = (HEAP32[$coord_num >> 2] | 0) + 1; + $retval$0 = 0; + break; + } else if ((label | 0) == 21) { + _arLog(0, 3, 24231, $vararg_buffer3); + $retval$0 = -1; break; } - default: - return; + } else label = 7; while (0); + if ((label | 0) == 7) { + _arLog(0, 3, 24217, $vararg_buffer); + $retval$0 = -1; } - if ((label | 0) == 9) { - HEAP32[$$pre$phi59Z2D >> 2] = 0; - $41 = HEAP32[$0 + 328 >> 2] | 0; - HEAP32[$$pre$phi61Z2D >> 2] = $41 + -1; - if ((HEAP32[$5 + 76 >> 2] | 0) == (HEAP32[$0 + 332 >> 2] | 0) ? ($48 = HEAP32[$4 >> 2] | 0, $50 = HEAP32[$0 + 36 >> 2] | 0, ($50 | 0) > 0) : 0) { - $54 = $48 + 52 | 0; - $57 = $48 + 60 + (HEAP32[$48 + 68 >> 2] << 2) | 0; - $$04347$i = HEAP32[$0 + 216 >> 2] | 0; - $$048$i = 0; + STACKTOP = sp; + return $retval$0 | 0; +} + +function _jpeg_idct_12x6($cinfo, $compptr, $coef_block, $output_buf, $output_col) { + $cinfo = $cinfo | 0; + $compptr = $compptr | 0; + $coef_block = $coef_block | 0; + $output_buf = $output_buf | 0; + $output_col = $output_col | 0; + var $0 = 0, $17 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $add = 0, $add$ptr = 0, $add$ptr63 = 0, $add105 = 0, $add109 = 0, $add114 = 0, $add120 = 0, $add14 = 0, $add32 = 0, $add35 = 0, $add69 = 0, $add7 = 0, $add77 = 0, $add79 = 0, $add80 = 0, $add84 = 0, $add92 = 0, $add96 = 0, $add99 = 0, $ctr$0188 = 0, $ctr$1184 = 0, $inptr$0185 = 0, $mul101 = 0, $mul118 = 0, $mul13 = 0, $mul19 = 0, $mul23 = 0, $mul27 = 0, $mul29 = 0, $mul6 = 0, $mul68 = 0, $mul90 = 0, $mul91 = 0, $mul94 = 0, $quantptr$0186 = 0, $shl38 = 0, $shl66 = 0, $shl75 = 0, $shr = 0, $sub115 = 0, $sub116 = 0, $sub122 = 0, $sub15 = 0, $sub70 = 0, $sub76 = 0, $sub78 = 0, $sub81 = 0, $sub83 = 0, $sub85 = 0, $workspace = 0, $wsptr$0187 = 0, $wsptr$1183 = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 192 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(192); + $workspace = sp; + $0 = HEAP32[$cinfo + 336 >> 2] | 0; + $ctr$0188 = 0; + $inptr$0185 = $coef_block; + $quantptr$0186 = HEAP32[$compptr + 84 >> 2] | 0; + $wsptr$0187 = $workspace; + while (1) { + $add = Math_imul(HEAP16[$inptr$0185 >> 1] << 13, HEAP32[$quantptr$0186 >> 2] | 0) | 0 | 1024; + $mul6 = Math_imul((HEAP16[$inptr$0185 + 64 >> 1] | 0) * 5793 | 0, HEAP32[$quantptr$0186 + 128 >> 2] | 0) | 0; + $add7 = $mul6 + $add | 0; + $shr = (Math_imul($mul6, -2) | 0) + $add >> 11; + $mul13 = Math_imul((HEAP16[$inptr$0185 + 32 >> 1] | 0) * 10033 | 0, HEAP32[$quantptr$0186 + 64 >> 2] | 0) | 0; + $add14 = $mul13 + $add7 | 0; + $sub15 = $add7 - $mul13 | 0; + $mul19 = Math_imul(HEAP32[$quantptr$0186 + 32 >> 2] | 0, HEAP16[$inptr$0185 + 16 >> 1] | 0) | 0; + $mul23 = Math_imul(HEAP32[$quantptr$0186 + 96 >> 2] | 0, HEAP16[$inptr$0185 + 48 >> 1] | 0) | 0; + $mul27 = Math_imul(HEAP32[$quantptr$0186 + 160 >> 2] | 0, HEAP16[$inptr$0185 + 80 >> 1] | 0) | 0; + $mul29 = ($mul27 + $mul19 | 0) * 2998 | 0; + $add32 = $mul29 + ($mul23 + $mul19 << 13) | 0; + $add35 = $mul29 + ($mul27 - $mul23 << 13) | 0; + $shl38 = $mul19 - $mul23 - $mul27 << 2; + HEAP32[$wsptr$0187 >> 2] = $add32 + $add14 >> 11; + HEAP32[$wsptr$0187 + 160 >> 2] = $add14 - $add32 >> 11; + HEAP32[$wsptr$0187 + 32 >> 2] = $shl38 + $shr; + HEAP32[$wsptr$0187 + 128 >> 2] = $shr - $shl38; + HEAP32[$wsptr$0187 + 64 >> 2] = $add35 + $sub15 >> 11; + HEAP32[$wsptr$0187 + 96 >> 2] = $sub15 - $add35 >> 11; + $ctr$0188 = $ctr$0188 + 1 | 0; + if (($ctr$0188 | 0) == 8) break; else { + $inptr$0185 = $inptr$0185 + 2 | 0; + $quantptr$0186 = $quantptr$0186 + 4 | 0; + $wsptr$0187 = $wsptr$0187 + 4 | 0; + } + } + $add$ptr = $0 + -384 | 0; + $ctr$1184 = 0; + $wsptr$1183 = $workspace; + while (1) { + $add$ptr63 = (HEAP32[$output_buf + ($ctr$1184 << 2) >> 2] | 0) + $output_col | 0; + $shl66 = (HEAP32[$wsptr$1183 >> 2] << 13) + 134348800 | 0; + $mul68 = (HEAP32[$wsptr$1183 + 16 >> 2] | 0) * 10033 | 0; + $add69 = $shl66 + $mul68 | 0; + $sub70 = $shl66 - $mul68 | 0; + $17 = HEAP32[$wsptr$1183 + 8 >> 2] | 0; + $shl75 = HEAP32[$wsptr$1183 + 24 >> 2] << 13; + $sub76 = ($17 << 13) - $shl75 | 0; + $add77 = $sub76 + $shl66 | 0; + $sub78 = $shl66 - $sub76 | 0; + $add79 = $shl75 + ($17 * 11190 | 0) | 0; + $add80 = $add79 + $add69 | 0; + $sub81 = $add69 - $add79 | 0; + $sub83 = ($17 * 2998 | 0) - $shl75 | 0; + $add84 = $sub83 + $sub70 | 0; + $sub85 = $sub70 - $sub83 | 0; + $19 = HEAP32[$wsptr$1183 + 4 >> 2] | 0; + $20 = HEAP32[$wsptr$1183 + 12 >> 2] | 0; + $21 = HEAP32[$wsptr$1183 + 20 >> 2] | 0; + $22 = HEAP32[$wsptr$1183 + 28 >> 2] | 0; + $mul90 = $20 * 10703 | 0; + $mul91 = Math_imul($20, -4433) | 0; + $add92 = $21 + $19 | 0; + $mul94 = ($add92 + $22 | 0) * 7053 | 0; + $add96 = $mul94 + ($add92 * 2139 | 0) | 0; + $add99 = $mul90 + ($19 * 2295 | 0) + $add96 | 0; + $mul101 = Math_imul($22 + $21 | 0, -8565) | 0; + $add105 = (Math_imul($21, -12112) | 0) + $mul91 + $mul101 + $add96 | 0; + $add109 = ($22 * 12998 | 0) - $mul90 + $mul94 + $mul101 | 0; + $add114 = $mul91 + (Math_imul($19, -5540) | 0) + (Math_imul($22, -16244) | 0) + $mul94 | 0; + $sub115 = $19 - $22 | 0; + $sub116 = $20 - $21 | 0; + $mul118 = ($sub115 + $sub116 | 0) * 4433 | 0; + $add120 = $mul118 + ($sub115 * 6270 | 0) | 0; + $sub122 = $mul118 + (Math_imul($sub116, -15137) | 0) | 0; + HEAP8[$add$ptr63 >> 0] = HEAP8[$add$ptr + (($add99 + $add80 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr63 + 11 >> 0] = HEAP8[$add$ptr + (($add80 - $add99 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr63 + 1 >> 0] = HEAP8[$add$ptr + (($add120 + $add77 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr63 + 10 >> 0] = HEAP8[$add$ptr + (($add77 - $add120 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr63 + 2 >> 0] = HEAP8[$add$ptr + (($add105 + $add84 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr63 + 9 >> 0] = HEAP8[$add$ptr + (($add84 - $add105 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr63 + 3 >> 0] = HEAP8[$add$ptr + (($add109 + $sub85 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr63 + 8 >> 0] = HEAP8[$add$ptr + (($sub85 - $add109 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr63 + 4 >> 0] = HEAP8[$add$ptr + (($sub122 + $sub78 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr63 + 7 >> 0] = HEAP8[$add$ptr + (($sub78 - $sub122 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr63 + 5 >> 0] = HEAP8[$add$ptr + (($add114 + $sub81 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr63 + 6 >> 0] = HEAP8[$add$ptr + (($sub81 - $add114 | 0) >>> 18 & 1023) >> 0] | 0; + $ctr$1184 = $ctr$1184 + 1 | 0; + if (($ctr$1184 | 0) == 6) break; else $wsptr$1183 = $wsptr$1183 + 32 | 0; + } + STACKTOP = sp; + return; +} + +function __ZNSt3__29__num_putIwE21__widen_and_group_intEPcS2_S2_PwRS3_S4_RKNS_6localeE($__nb, $__np, $__ne, $__ob, $__op, $__oe, $__loc) { + $__nb = $__nb | 0; + $__np = $__np | 0; + $__ne = $__ne | 0; + $__ob = $__ob | 0; + $__op = $__op | 0; + $__oe = $__oe | 0; + $__loc = $__loc | 0; + var $1 = 0, $10 = 0, $13 = 0, $14 = 0, $17 = 0, $18 = 0, $22 = 0, $23 = 0, $24 = 0, $28 = 0, $29 = 0, $4 = 0, $6 = 0, $__dc$0 = 0, $__dc$1 = 0, $__dg$0 = 0, $__dg$1 = 0, $__first$addr$0$i$i = 0, $__first$addr$0$i$i75 = 0, $__grouping = 0, $__last$addr$0$i$i = 0, $__last$addr$0$i$i76 = 0, $__nf$0 = 0, $__nf$1 = 0, $__p$0 = 0, $__size_$i$i$i = 0, $__size_$i3$i$i = 0, $add$ptr = 0, $add$ptr54 = 0, $arrayidx16 = 0, $call$i = 0, $call$i54 = 0, $call$i60 = 0, $call$i63 = 0, $call$i66 = 0, $call$i69 = 0, $call$i72 = 0, $incdec$ptr$i$i = 0, $incdec$ptr$i$i77 = 0, $sub$ptr$rhs$cast = 0, $sub$ptr$rhs$cast52 = 0, $sub$ptr$rhs$cast60$pre$phiZZZZ2D = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $__grouping = sp; + $call$i = __ZNKSt3__26locale9use_facetERNS0_2idE($__loc, 67392) | 0; + $call$i54 = __ZNKSt3__26locale9use_facetERNS0_2idE($__loc, 67400) | 0; + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$call$i54 >> 2] | 0) + 20 >> 2] & 255]($__grouping, $call$i54); + $__size_$i$i$i = $__grouping + 11 | 0; + $1 = HEAP8[$__size_$i$i$i >> 0] | 0; + $__size_$i3$i$i = $__grouping + 4 | 0; + if (($1 << 24 >> 24 < 0 ? HEAP32[$__size_$i3$i$i >> 2] | 0 : $1 & 255) | 0) { + HEAP32[$__oe >> 2] = $__ob; + $4 = HEAP8[$__nb >> 0] | 0; + switch ($4 << 24 >> 24) { + case 43: + case 45: + { + $call$i60 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i >> 2] | 0) + 44 >> 2] & 127]($call$i, $4) | 0; + $6 = HEAP32[$__oe >> 2] | 0; + HEAP32[$__oe >> 2] = $6 + 4; + HEAP32[$6 >> 2] = $call$i60; + $__nf$0 = $__nb + 1 | 0; + break; + } + default: + $__nf$0 = $__nb; + } + L7 : do if (($__ne - $__nf$0 | 0) > 1 ? (HEAP8[$__nf$0 >> 0] | 0) == 48 : 0) { + $arrayidx16 = $__nf$0 + 1 | 0; + switch (HEAP8[$arrayidx16 >> 0] | 0) { + case 88: + case 120: + break; + default: + { + $__nf$1 = $__nf$0; + break L7; + } + } + $call$i63 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i >> 2] | 0) + 44 >> 2] & 127]($call$i, 48) | 0; + $10 = HEAP32[$__oe >> 2] | 0; + HEAP32[$__oe >> 2] = $10 + 4; + HEAP32[$10 >> 2] = $call$i63; + $call$i66 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i >> 2] | 0) + 44 >> 2] & 127]($call$i, HEAP8[$arrayidx16 >> 0] | 0) | 0; + $13 = HEAP32[$__oe >> 2] | 0; + HEAP32[$__oe >> 2] = $13 + 4; + HEAP32[$13 >> 2] = $call$i66; + $__nf$1 = $__nf$0 + 2 | 0; + } else $__nf$1 = $__nf$0; while (0); + L12 : do if (($__nf$1 | 0) != ($__ne | 0)) { + $__first$addr$0$i$i = $__nf$1; + $__last$addr$0$i$i = $__ne; while (1) { - $62 = Math_imul(HEAP32[$$04347$i + 40 >> 2] | 0, HEAP32[$$04347$i + 12 >> 2] | 0) | 0; - $63 = ($62 | 0) / ($41 | 0) | 0; - $66 = ((HEAP32[$$04347$i + 48 >> 2] | 0) >>> 0) % ($62 >>> 0) | 0; - $spec$select$i = ($66 | 0) == 0 ? $62 : $66; - if (!$$048$i) HEAP32[$54 >> 2] = (($spec$select$i + -1 | 0) / ($63 | 0) | 0) + 1; - $74 = HEAP32[(HEAP32[$57 >> 2] | 0) + ($$048$i << 2) >> 2] | 0; - $75 = $63 << 1; - if (($63 | 0) > 0) { - $78 = $74 + ($spec$select$i + -1 << 2) | 0; - $$04546$i = 0; - do { - HEAP32[$74 + ($$04546$i + $spec$select$i << 2) >> 2] = HEAP32[$78 >> 2]; - $$04546$i = $$04546$i + 1 | 0; - } while (($$04546$i | 0) < ($75 | 0)); - } - $$048$i = $$048$i + 1 | 0; - if (($$048$i | 0) == ($50 | 0)) break; else $$04347$i = $$04347$i + 88 | 0; - } - } - HEAP32[$22 >> 2] = 1; - $$pre$phi63Z2D = $$pre$phi59Z2D; - $$pre$phi65Z2D = $$pre$phi61Z2D; - } - $90 = $5 + 68 | 0; - FUNCTION_TABLE_viiiiiii[HEAP32[(HEAP32[$0 + 456 >> 2] | 0) + 4 >> 2] & 7]($0, HEAP32[$5 + 60 + (HEAP32[$90 >> 2] << 2) >> 2] | 0, $$pre$phi63Z2D, HEAP32[$$pre$phi65Z2D >> 2] | 0, $1, $2, $3); - if ((HEAP32[$$pre$phi63Z2D >> 2] | 0) >>> 0 < (HEAP32[$$pre$phi65Z2D >> 2] | 0) >>> 0) return; - if ((HEAP32[$5 + 76 >> 2] | 0) == 1) { - $101 = HEAP32[$4 >> 2] | 0; - $103 = HEAP32[$0 + 328 >> 2] | 0; - $105 = HEAP32[$0 + 36 >> 2] | 0; - if (($105 | 0) > 0) { - $109 = $101 + 60 | 0; - $110 = $101 + 64 | 0; - $111 = $103 + 1 | 0; - $112 = $103 + 2 | 0; - $$05860$i = HEAP32[$0 + 216 >> 2] | 0; - $$061$i = 0; + $incdec$ptr$i$i = $__last$addr$0$i$i + -1 | 0; + if ($__first$addr$0$i$i >>> 0 >= $incdec$ptr$i$i >>> 0) break L12; + $14 = HEAP8[$__first$addr$0$i$i >> 0] | 0; + HEAP8[$__first$addr$0$i$i >> 0] = HEAP8[$incdec$ptr$i$i >> 0] | 0; + HEAP8[$incdec$ptr$i$i >> 0] = $14; + $__first$addr$0$i$i = $__first$addr$0$i$i + 1 | 0; + $__last$addr$0$i$i = $incdec$ptr$i$i; + } + } while (0); + $call$i72 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$call$i54 >> 2] | 0) + 16 >> 2] & 127]($call$i54) | 0; + $__dc$0 = 0; + $__dg$0 = 0; + $__p$0 = $__nf$1; + while (1) { + if ($__p$0 >>> 0 >= $__ne >>> 0) break; + $22 = HEAP8[((HEAP8[$__size_$i$i$i >> 0] | 0) < 0 ? HEAP32[$__grouping >> 2] | 0 : $__grouping) + $__dg$0 >> 0] | 0; + if ($22 << 24 >> 24 != 0 & ($__dc$0 | 0) == ($22 << 24 >> 24 | 0)) { + $23 = HEAP32[$__oe >> 2] | 0; + HEAP32[$__oe >> 2] = $23 + 4; + HEAP32[$23 >> 2] = $call$i72; + $24 = HEAP8[$__size_$i$i$i >> 0] | 0; + $__dc$1 = 0; + $__dg$1 = $__dg$0 + ($__dg$0 >>> 0 < (($24 << 24 >> 24 < 0 ? HEAP32[$__size_$i3$i$i >> 2] | 0 : $24 & 255) + -1 | 0) >>> 0 & 1) | 0; + } else { + $__dc$1 = $__dc$0; + $__dg$1 = $__dg$0; + } + $call$i69 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i >> 2] | 0) + 44 >> 2] & 127]($call$i, HEAP8[$__p$0 >> 0] | 0) | 0; + $28 = HEAP32[$__oe >> 2] | 0; + HEAP32[$__oe >> 2] = $28 + 4; + HEAP32[$28 >> 2] = $call$i69; + $__dc$0 = $__dc$1 + 1 | 0; + $__dg$0 = $__dg$1; + $__p$0 = $__p$0 + 1 | 0; + } + $sub$ptr$rhs$cast52 = $__nb; + $add$ptr54 = $__ob + ($__nf$1 - $sub$ptr$rhs$cast52 << 2) | 0; + $17 = HEAP32[$__oe >> 2] | 0; + if (($add$ptr54 | 0) == ($17 | 0)) { + $29 = $add$ptr54; + $sub$ptr$rhs$cast60$pre$phiZZZZ2D = $sub$ptr$rhs$cast52; + } else { + $__first$addr$0$i$i75 = $add$ptr54; + $__last$addr$0$i$i76 = $17; while (1) { - $118 = (Math_imul(HEAP32[$$05860$i + 40 >> 2] | 0, HEAP32[$$05860$i + 12 >> 2] | 0) | 0) / ($103 | 0) | 0; - $121 = HEAP32[(HEAP32[$109 >> 2] | 0) + ($$061$i << 2) >> 2] | 0; - $124 = HEAP32[(HEAP32[$110 >> 2] | 0) + ($$061$i << 2) >> 2] | 0; - if (($118 | 0) > 0) { - $126 = Math_imul($118, $111) | 0; - $127 = Math_imul($118, $112) | 0; - $$05759$i = 0; - do { - $128 = $$05759$i + $126 | 0; - $131 = $$05759$i - $118 | 0; - HEAP32[$121 + ($131 << 2) >> 2] = HEAP32[$121 + ($128 << 2) >> 2]; - HEAP32[$124 + ($131 << 2) >> 2] = HEAP32[$124 + ($128 << 2) >> 2]; - $138 = $$05759$i + $127 | 0; - HEAP32[$121 + ($138 << 2) >> 2] = HEAP32[$121 + ($$05759$i << 2) >> 2]; - HEAP32[$124 + ($138 << 2) >> 2] = HEAP32[$124 + ($$05759$i << 2) >> 2]; - $$05759$i = $$05759$i + 1 | 0; - } while (($$05759$i | 0) != ($118 | 0)); - } - $$061$i = $$061$i + 1 | 0; - if (($$061$i | 0) == ($105 | 0)) { - $149 = $103; + $incdec$ptr$i$i77 = $__last$addr$0$i$i76 + -4 | 0; + if ($__first$addr$0$i$i75 >>> 0 >= $incdec$ptr$i$i77 >>> 0) break; + $18 = HEAP32[$__first$addr$0$i$i75 >> 2] | 0; + HEAP32[$__first$addr$0$i$i75 >> 2] = HEAP32[$incdec$ptr$i$i77 >> 2]; + HEAP32[$incdec$ptr$i$i77 >> 2] = $18; + $__first$addr$0$i$i75 = $__first$addr$0$i$i75 + 4 | 0; + $__last$addr$0$i$i76 = $incdec$ptr$i$i77; + } + $29 = HEAP32[$__oe >> 2] | 0; + $sub$ptr$rhs$cast60$pre$phiZZZZ2D = $sub$ptr$rhs$cast52; + } + } else { + FUNCTION_TABLE_iiiii[HEAP32[(HEAP32[$call$i >> 2] | 0) + 48 >> 2] & 15]($call$i, $__nb, $__ne, $__ob) | 0; + $sub$ptr$rhs$cast = $__nb; + $add$ptr = $__ob + ($__ne - $sub$ptr$rhs$cast << 2) | 0; + HEAP32[$__oe >> 2] = $add$ptr; + $29 = $add$ptr; + $sub$ptr$rhs$cast60$pre$phiZZZZ2D = $sub$ptr$rhs$cast; + } + HEAP32[$__op >> 2] = ($__np | 0) == ($__ne | 0) ? $29 : $__ob + ($__np - $sub$ptr$rhs$cast60$pre$phiZZZZ2D << 2) | 0; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($__grouping); + STACKTOP = sp; + return; +} + +function _getNFTMarkerInfo($id, $markerIndex) { + $id = $id | 0; + $markerIndex = $markerIndex | 0; + var $10 = 0, $14 = 0.0, $16 = 0, $17 = 0, $20 = 0, $3 = 0, $9 = 0, $call15 = 0, $call65 = 0, $call7 = 0, $detectedPage = 0, $err = 0, $flag$0 = 0, $flag$1 = 0, $i$0 = 0, $id$addr = 0, $j$0 = 0, $j66$0 = 0, $k$0 = 0, $k70$0 = 0, $kpmHandle = 0, $kpmResult = 0, $kpmResultNum = 0, $retval$1 = 0, $sub = 0, $surfaceSetCount = 0, $trans = 0, $transF = 0, $transFLerp = 0, $vararg_buffer = 0, $vararg_buffer1 = 0, $vararg_buffer4 = 0, dest = 0, label = 0, sp = 0, stop = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 288 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(288); + $vararg_buffer4 = sp + 256 | 0; + $vararg_buffer1 = sp + 248 | 0; + $vararg_buffer = sp + 240 | 0; + $id$addr = sp + 272 | 0; + $kpmResult = sp + 276 | 0; + $kpmResultNum = sp + 268 | 0; + $trans = sp + 192 | 0; + $transF = sp + 96 | 0; + $transFLerp = sp; + $err = sp + 264 | 0; + HEAP32[$id$addr >> 2] = $id; + do if (!(__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(66108, $id$addr) | 0)) $retval$1 = HEAP32[4224] | 0; else { + $call7 = __ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(66108, $id$addr) | 0; + $surfaceSetCount = $call7 + 268 | 0; + if ((HEAP32[$surfaceSetCount >> 2] | 0) <= ($markerIndex | 0)) { + $retval$1 = HEAP32[4226] | 0; + break; + } + HEAP32[$kpmResult >> 2] = 0; + HEAP32[$kpmResultNum >> 2] = -1; + dest = $transFLerp; + stop = dest + 96 | 0; + do { + HEAP32[dest >> 2] = 0; + dest = dest + 4 | 0; + } while ((dest | 0) < (stop | 0)); + HEAPF32[$err >> 2] = -1.0; + $detectedPage = $call7 + 264 | 0; + $3 = HEAP32[$detectedPage >> 2] | 0; + do if (($3 | 0) == -2) { + $kpmHandle = $call7 + 232 | 0; + _kpmMatching(HEAP32[$kpmHandle >> 2] | 0, HEAP32[$call7 + 204 >> 2] | 0) | 0; + _kpmGetResult(HEAP32[$kpmHandle >> 2] | 0, $kpmResult, $kpmResultNum) | 0; + $call15 = _arFilterTransMatInit(+HEAPF64[$call7 + 256 >> 3], +HEAPF64[$call7 + 248 >> 3]) | 0; + HEAP32[$call7 + 240 >> 2] = $call15; + $9 = HEAP32[$kpmResultNum >> 2] | 0; + $10 = HEAP32[$kpmResult >> 2] | 0; + $flag$0 = -1; + $i$0 = 0; + while (1) { + if (($i$0 | 0) >= ($9 | 0)) break; + do if ((HEAP32[$10 + ($i$0 * 68 | 0) + 48 >> 2] | 0) == ($markerIndex | 0) ? (HEAP32[$10 + ($i$0 * 68 | 0) + 60 >> 2] | 0) == 0 : 0) { + if (($flag$0 | 0) == -1) $16 = HEAP32[$10 + ($i$0 * 68 | 0) + 52 >> 2] | 0; else { + $14 = +HEAPF32[$10 + ($i$0 * 68 | 0) + 52 >> 2]; + if (!(+HEAPF32[$err >> 2] > $14)) { + $flag$1 = $flag$0; + break; + } + $16 = (HEAPF32[tempDoublePtr >> 2] = $14, HEAP32[tempDoublePtr >> 2] | 0); + } + HEAP32[$err >> 2] = $16; + $flag$1 = $i$0; + } else $flag$1 = $flag$0; while (0); + $flag$0 = $flag$1; + $i$0 = $i$0 + 1 | 0; + } + if (($flag$0 | 0) <= -1) { + HEAP32[$detectedPage >> 2] = -2; + label = 38; + break; + } + $17 = HEAP32[$10 + 48 >> 2] | 0; + HEAP32[$detectedPage >> 2] = $17; + $j$0 = 0; + while (1) { + if (($j$0 | 0) == 3) break; + $k$0 = 0; + while (1) { + if (($k$0 | 0) == 4) break; + HEAP32[$trans + ($j$0 << 4) + ($k$0 << 2) >> 2] = HEAP32[$10 + ($flag$0 * 68 | 0) + ($j$0 << 4) + ($k$0 << 2) >> 2]; + $k$0 = $k$0 + 1 | 0; + } + $j$0 = $j$0 + 1 | 0; + } + _ar2SetInitTrans(HEAP32[$call7 + 272 + ($17 << 2) >> 2] | 0, $trans) | 0; + $20 = HEAP32[$detectedPage >> 2] | 0; + label = 25; + } else { + $20 = $3; + label = 25; + } while (0); + do if ((label | 0) == 25) if (($20 | 0) > -1) { + $call65 = _ar2TrackingMod(HEAP32[$call7 + 236 >> 2] | 0, HEAP32[$call7 + 272 + ($20 << 2) >> 2] | 0, HEAP32[$call7 + 196 >> 2] | 0, $trans, $err) | 0; + $j66$0 = 0; + while (1) { + if (($j66$0 | 0) == 3) break; + $k70$0 = 0; + while (1) { + if (($k70$0 | 0) == 4) break; + HEAPF64[$transF + ($j66$0 << 5) + ($k70$0 << 3) >> 3] = +HEAPF32[$trans + ($j66$0 << 4) + ($k70$0 << 2) >> 2]; + $k70$0 = $k70$0 + 1 | 0; + } + $j66$0 = $j66$0 + 1 | 0; + } + if ((_arFilterTransMat(HEAP32[$call7 + 240 >> 2] | 0, $transF, $call65 >>> 31) | 0) < 0) { + HEAP32[$vararg_buffer >> 2] = $markerIndex; + _arLog(0, 3, 42575, $vararg_buffer); + } + _matrixLerp2($transF, $transFLerp, .949999988079071); + if (($call65 | 0) < 0) { + HEAP32[$vararg_buffer1 >> 2] = $call65; + _arLog(0, 1, 42615, $vararg_buffer1); + HEAP32[$detectedPage >> 2] = -2; + label = 38; + break; + } + $sub = (HEAP32[$surfaceSetCount >> 2] | 0) + -1 | 0; + HEAP32[$vararg_buffer4 >> 2] = HEAP32[$call7 + 272 + (HEAP32[$detectedPage >> 2] << 2) >> 2]; + HEAP32[$vararg_buffer4 + 4 >> 2] = $sub; + _arLog(0, 1, 42634, $vararg_buffer4); + if ((HEAP32[$detectedPage >> 2] | 0) > -1) _emscripten_asm_const_iiddddddddddddd(3, $markerIndex | 0, +(+HEAPF32[$err >> 2]), +(+HEAPF64[$transFLerp >> 3]), +(+HEAPF64[$transFLerp + 8 >> 3]), +(+HEAPF64[$transFLerp + 16 >> 3]), +(+HEAPF64[$transFLerp + 24 >> 3]), +(+HEAPF64[$transFLerp + 32 >> 3]), +(+HEAPF64[$transFLerp + 40 >> 3]), +(+HEAPF64[$transFLerp + 48 >> 3]), +(+HEAPF64[$transFLerp + 56 >> 3]), +(+HEAPF64[$transFLerp + 64 >> 3]), +(+HEAPF64[$transFLerp + 72 >> 3]), +(+HEAPF64[$transFLerp + 80 >> 3]), +(+HEAPF64[$transFLerp + 88 >> 3])) | 0; else label = 38; + } else label = 38; while (0); + if ((label | 0) == 38) _emscripten_asm_const_ii(4, $markerIndex | 0) | 0; + $retval$1 = 0; + } while (0); + STACKTOP = sp; + return $retval$1 | 0; +} + +function _decode_mcu_DC_first_20($cinfo, $MCU_data) { + $cinfo = $cinfo | 0; + $MCU_data = $MCU_data | 0; + var $0 = 0, $18 = 0, $19 = 0, $2 = 0, $22 = 0, $23 = 0, $25 = 0, $29 = 0, $35 = 0, $5 = 0, $8 = 0, $Ah$i = 0, $Al = 0, $Ss$i = 0, $add$ptr = 0, $add$ptr20 = 0, $add$ptr26 = 0, $add$ptr34 = 0, $add$ptr60 = 0, $add$sink = 0, $add75 = 0, $arrayidx11 = 0, $arrayidx12 = 0, $arrayidx74 = 0, $blkn$083 = 0, $blocks_in_MCU = 0, $call18 = 0, $call21 = 0, $ci$032$i = 0, $comps_in_scan$i = 0, $ct = 0, $lim_Se$i = 0, $m$075 = 0, $m$1 = 0, $mul = 0, $progressive_mode$i = 0, $restart_interval = 0, $restarts_to_go = 0, $shl = 0, $shr6277 = 0, $shr6280 = 0, $spec$select = 0, $st$074 = 0, $st$1 = 0, $tobool66 = 0, $v$0$lcssa = 0, $v$079 = 0, dest = 0, label = 0, stop = 0; + $0 = HEAP32[$cinfo + 468 >> 2] | 0; + $restart_interval = $cinfo + 280 | 0; + if (HEAP32[$restart_interval >> 2] | 0) { + $restarts_to_go = $0 + 56 | 0; + $2 = HEAP32[$restarts_to_go >> 2] | 0; + if (!$2) { + if (!(FUNCTION_TABLE_ii[HEAP32[(HEAP32[$cinfo + 464 >> 2] | 0) + 8 >> 2] & 127]($cinfo) | 0)) { + $5 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$5 + 20 >> 2] = 25; + FUNCTION_TABLE_vi[HEAP32[$5 >> 2] & 255]($cinfo); + } + $comps_in_scan$i = $cinfo + 340 | 0; + if ((HEAP32[$comps_in_scan$i >> 2] | 0) > 0) { + $progressive_mode$i = $cinfo + 224 | 0; + $Ss$i = $cinfo + 412 | 0; + $lim_Se$i = $cinfo + 436 | 0; + $Ah$i = $cinfo + 420 | 0; + $ci$032$i = 0; + do { + $8 = HEAP32[$cinfo + 344 + ($ci$032$i << 2) >> 2] | 0; + if (HEAP32[$progressive_mode$i >> 2] | 0) if (!(HEAP32[$Ss$i >> 2] | 0)) { + if (!(HEAP32[$Ah$i >> 2] | 0)) label = 10; + } else label = 13; else label = 10; + do if ((label | 0) == 10) { + label = 0; + dest = HEAP32[$0 + 60 + (HEAP32[$8 + 20 >> 2] << 2) >> 2] | 0; + stop = dest + 64 | 0; + do { + HEAP8[dest >> 0] = 0; + dest = dest + 1 | 0; + } while ((dest | 0) < (stop | 0)); + HEAP32[$0 + 24 + ($ci$032$i << 2) >> 2] = 0; + HEAP32[$0 + 40 + ($ci$032$i << 2) >> 2] = 0; + if (!(HEAP32[$progressive_mode$i >> 2] | 0)) if (!(HEAP32[$lim_Se$i >> 2] | 0)) break; else { + label = 13; + break; + } else if (!(HEAP32[$Ss$i >> 2] | 0)) break; else { + label = 13; + break; + } + } while (0); + if ((label | 0) == 13) { + label = 0; + _memset(HEAP32[$0 + 124 + (HEAP32[$8 + 24 >> 2] << 2) >> 2] | 0, 0, 256) | 0; + } + $ci$032$i = $ci$032$i + 1 | 0; + } while (($ci$032$i | 0) < (HEAP32[$comps_in_scan$i >> 2] | 0)); + } + HEAP32[$0 + 12 >> 2] = 0; + HEAP32[$0 + 16 >> 2] = 0; + HEAP32[$0 + 20 >> 2] = -16; + $18 = HEAP32[$restart_interval >> 2] | 0; + HEAP32[$restarts_to_go >> 2] = $18; + $19 = $18; + } else $19 = $2; + HEAP32[$restarts_to_go >> 2] = $19 + -1; + } + $ct = $0 + 20 | 0; + if ((HEAP32[$ct >> 2] | 0) == -1) return 1; + $blocks_in_MCU = $cinfo + 368 | 0; + if ((HEAP32[$blocks_in_MCU >> 2] | 0) <= 0) return 1; + $Al = $cinfo + 424 | 0; + $blkn$083 = 0; + L32 : while (1) { + $22 = HEAP32[$MCU_data + ($blkn$083 << 2) >> 2] | 0; + $23 = HEAP32[$cinfo + 372 + ($blkn$083 << 2) >> 2] | 0; + $25 = HEAP32[(HEAP32[$cinfo + 344 + ($23 << 2) >> 2] | 0) + 20 >> 2] | 0; + $arrayidx11 = $0 + 60 + ($25 << 2) | 0; + $arrayidx12 = $0 + 40 + ($23 << 2) | 0; + $add$ptr = (HEAP32[$arrayidx11 >> 2] | 0) + (HEAP32[$arrayidx12 >> 2] | 0) | 0; + if (!(_arith_decode($cinfo, $add$ptr) | 0)) { + HEAP32[$arrayidx12 >> 2] = 0; + $35 = HEAP32[$0 + 24 + ($23 << 2) >> 2] | 0; + } else { + $call18 = _arith_decode($cinfo, $add$ptr + 1 | 0) | 0; + $add$ptr20 = $add$ptr + 2 + $call18 | 0; + $call21 = _arith_decode($cinfo, $add$ptr20) | 0; + if ($call21) { + $add$ptr26 = (HEAP32[$arrayidx11 >> 2] | 0) + 20 | 0; + if (!(_arith_decode($cinfo, $add$ptr26) | 0)) { + $m$1 = $call21; + $st$1 = $add$ptr26; + } else { + $m$075 = $call21; + $st$074 = $add$ptr26; + while (1) { + $shl = $m$075 << 1; + if (($shl | 0) == 32768) break L32; + $add$ptr34 = $st$074 + 1 | 0; + if (!(_arith_decode($cinfo, $add$ptr34) | 0)) { + $m$1 = $shl; + $st$1 = $add$ptr34; + break; + } else { + $m$075 = $shl; + $st$074 = $add$ptr34; + } + } + } + } else { + $m$1 = 0; + $st$1 = $add$ptr20; + } + do if (($m$1 | 0) >= (1 << (HEAPU8[$cinfo + 232 + $25 >> 0] | 0) >> 1 | 0)) { + $mul = $call18 << 2; + if (($m$1 | 0) > (1 << (HEAPU8[$cinfo + 248 + $25 >> 0] | 0) >> 1 | 0)) { + $add$sink = $mul + 12 | 0; break; - } else $$05860$i = $$05860$i + 88 | 0; + } else { + $add$sink = $mul + 4 | 0; + break; + } + } else $add$sink = 0; while (0); + HEAP32[$arrayidx12 >> 2] = $add$sink; + $add$ptr60 = $st$1 + 14 | 0; + $shr6277 = $m$1 >> 1; + if (!$shr6277) $v$0$lcssa = $m$1; else { + $shr6280 = $shr6277; + $v$079 = $m$1; + while (1) { + $tobool66 = (_arith_decode($cinfo, $add$ptr60) | 0) == 0; + $spec$select = ($tobool66 ? 0 : $shr6280) | $v$079; + $shr6280 = $shr6280 >> 1; + if (!$shr6280) { + $v$0$lcssa = $spec$select; + break; + } else $v$079 = $spec$select; + } + } + $arrayidx74 = $0 + 24 + ($23 << 2) | 0; + $add75 = (HEAP32[$arrayidx74 >> 2] | 0) + (($call18 | 0) == 0 ? $v$0$lcssa + 1 | 0 : ~$v$0$lcssa) | 0; + HEAP32[$arrayidx74 >> 2] = $add75; + $35 = $add75; + } + HEAP16[$22 >> 1] = $35 << HEAP32[$Al >> 2]; + $blkn$083 = $blkn$083 + 1 | 0; + if (($blkn$083 | 0) >= (HEAP32[$blocks_in_MCU >> 2] | 0)) { + label = 37; + break; + } + } + if ((label | 0) == 37) return 1; + $29 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$29 + 20 >> 2] = 117; + FUNCTION_TABLE_vii[HEAP32[$29 + 4 >> 2] & 255]($cinfo, -1); + HEAP32[$ct >> 2] = -1; + return 1; +} + +function __ZNSt3__29__num_putIcE21__widen_and_group_intEPcS2_S2_S2_RS2_S3_RKNS_6localeE($__nb, $__np, $__ne, $__ob, $__op, $__oe, $__loc) { + $__nb = $__nb | 0; + $__np = $__np | 0; + $__ne = $__ne | 0; + $__ob = $__ob | 0; + $__op = $__op | 0; + $__oe = $__oe | 0; + $__loc = $__loc | 0; + var $1 = 0, $10 = 0, $13 = 0, $14 = 0, $17 = 0, $18 = 0, $22 = 0, $23 = 0, $24 = 0, $28 = 0, $29 = 0, $4 = 0, $6 = 0, $__dc$0 = 0, $__dc$1 = 0, $__dg$0 = 0, $__dg$1 = 0, $__first$addr$0$i$i = 0, $__first$addr$0$i$i74 = 0, $__grouping = 0, $__last$addr$0$i$i = 0, $__last$addr$0$i$i75 = 0, $__nf$0 = 0, $__nf$1 = 0, $__p$0 = 0, $__size_$i$i$i = 0, $__size_$i3$i$i = 0, $add$ptr = 0, $add$ptr54 = 0, $arrayidx16 = 0, $call$i = 0, $call$i53 = 0, $call$i59 = 0, $call$i62 = 0, $call$i65 = 0, $call$i68 = 0, $call$i71 = 0, $incdec$ptr$i$i = 0, $incdec$ptr$i$i76 = 0, $sub$ptr$rhs$cast = 0, $sub$ptr$rhs$cast52 = 0, $sub$ptr$rhs$cast60$pre$phiZZZZ2D = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $__grouping = sp; + $call$i = __ZNKSt3__26locale9use_facetERNS0_2idE($__loc, 67360) | 0; + $call$i53 = __ZNKSt3__26locale9use_facetERNS0_2idE($__loc, 67376) | 0; + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$call$i53 >> 2] | 0) + 20 >> 2] & 255]($__grouping, $call$i53); + $__size_$i$i$i = $__grouping + 11 | 0; + $1 = HEAP8[$__size_$i$i$i >> 0] | 0; + $__size_$i3$i$i = $__grouping + 4 | 0; + if (($1 << 24 >> 24 < 0 ? HEAP32[$__size_$i3$i$i >> 2] | 0 : $1 & 255) | 0) { + HEAP32[$__oe >> 2] = $__ob; + $4 = HEAP8[$__nb >> 0] | 0; + switch ($4 << 24 >> 24) { + case 43: + case 45: + { + $call$i59 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i >> 2] | 0) + 28 >> 2] & 127]($call$i, $4) | 0; + $6 = HEAP32[$__oe >> 2] | 0; + HEAP32[$__oe >> 2] = $6 + 1; + HEAP8[$6 >> 0] = $call$i59; + $__nf$0 = $__nb + 1 | 0; + break; + } + default: + $__nf$0 = $__nb; + } + L7 : do if (($__ne - $__nf$0 | 0) > 1 ? (HEAP8[$__nf$0 >> 0] | 0) == 48 : 0) { + $arrayidx16 = $__nf$0 + 1 | 0; + switch (HEAP8[$arrayidx16 >> 0] | 0) { + case 88: + case 120: + break; + default: + { + $__nf$1 = $__nf$0; + break L7; + } + } + $call$i62 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i >> 2] | 0) + 28 >> 2] & 127]($call$i, 48) | 0; + $10 = HEAP32[$__oe >> 2] | 0; + HEAP32[$__oe >> 2] = $10 + 1; + HEAP8[$10 >> 0] = $call$i62; + $call$i65 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i >> 2] | 0) + 28 >> 2] & 127]($call$i, HEAP8[$arrayidx16 >> 0] | 0) | 0; + $13 = HEAP32[$__oe >> 2] | 0; + HEAP32[$__oe >> 2] = $13 + 1; + HEAP8[$13 >> 0] = $call$i65; + $__nf$1 = $__nf$0 + 2 | 0; + } else $__nf$1 = $__nf$0; while (0); + L12 : do if (($__nf$1 | 0) != ($__ne | 0)) { + $__first$addr$0$i$i = $__nf$1; + $__last$addr$0$i$i = $__ne; + while (1) { + $incdec$ptr$i$i = $__last$addr$0$i$i + -1 | 0; + if ($__first$addr$0$i$i >>> 0 >= $incdec$ptr$i$i >>> 0) break L12; + $14 = HEAP8[$__first$addr$0$i$i >> 0] | 0; + HEAP8[$__first$addr$0$i$i >> 0] = HEAP8[$incdec$ptr$i$i >> 0] | 0; + HEAP8[$incdec$ptr$i$i >> 0] = $14; + $__first$addr$0$i$i = $__first$addr$0$i$i + 1 | 0; + $__last$addr$0$i$i = $incdec$ptr$i$i; } - } else $149 = $103; - } else $149 = HEAP32[$0 + 328 >> 2] | 0; - HEAP32[$90 >> 2] = HEAP32[$90 >> 2] ^ 1; - HEAP32[$6 >> 2] = 0; - HEAP32[$$pre$phi63Z2D >> 2] = $149 + 1; - HEAP32[$$pre$phi65Z2D >> 2] = $149 + 2; - HEAP32[$22 >> 2] = 2; - return; -} - -function __ZN6vision14BinarykMedoidsILi96EE6assignERNSt3__26vectorIiNS2_9allocatorIiEEEEPKhiPKiiSB_i($0, $1, $2, $3, $4, $5, $6, $7) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - $6 = $6 | 0; - $7 = $7 | 0; - var $$0 = 0, $$038 = 0, $$039 = 0, $$040 = 0, $$1 = 0, $20 = 0, $25 = 0, $29 = 0, $36 = 0, $41 = 0, $45 = 0, $52 = 0, $57 = 0, $61 = 0, $68 = 0, $73 = 0, $77 = 0, $79 = 0, $8 = 0, $85 = 0, $91 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $8 = sp; - if (((HEAP32[$1 + 4 >> 2] | 0) - (HEAP32[$1 >> 2] | 0) >> 2 | 0) != ($5 | 0)) { - $20 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 33206) | 0, 33707) | 0, 39072) | 0, 198) | 0, 39079) | 0, 34039) | 0; - __ZNKSt3__28ios_base6getlocEv($8, $20 + (HEAP32[(HEAP32[$20 >> 2] | 0) + -12 >> 2] | 0) | 0); - $25 = __ZNKSt3__26locale9use_facetERNS0_2idE($8, 66512) | 0; - $29 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$25 >> 2] | 0) + 28 >> 2] & 127]($25, 10) | 0; - __ZNSt3__26localeD2Ev($8); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($20, $29) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($20) | 0; - _abort(); - } - if (($3 | 0) <= 0) { - $36 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 33824) | 0, 33707) | 0, 39072) | 0, 199) | 0, 39079) | 0, 33864) | 0; - __ZNKSt3__28ios_base6getlocEv($8, $36 + (HEAP32[(HEAP32[$36 >> 2] | 0) + -12 >> 2] | 0) | 0); - $41 = __ZNKSt3__26locale9use_facetERNS0_2idE($8, 66512) | 0; - $45 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$41 >> 2] | 0) + 28 >> 2] & 127]($41, 10) | 0; - __ZNSt3__26localeD2Ev($8); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($36, $45) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($36) | 0; - _abort(); - } - if (($5 | 0) > ($3 | 0)) { - $52 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 33900) | 0, 33707) | 0, 39072) | 0, 200) | 0, 39079) | 0, 33951) | 0; - __ZNKSt3__28ios_base6getlocEv($8, $52 + (HEAP32[(HEAP32[$52 >> 2] | 0) + -12 >> 2] | 0) | 0); - $57 = __ZNKSt3__26locale9use_facetERNS0_2idE($8, 66512) | 0; - $61 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$57 >> 2] | 0) + 28 >> 2] & 127]($57, 10) | 0; - __ZNSt3__26localeD2Ev($8); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($52, $61) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($52) | 0; - _abort(); - } - if (($7 | 0) <= 0) { - $68 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 34068) | 0, 33707) | 0, 39072) | 0, 201) | 0, 39079) | 0, 34107) | 0; - __ZNKSt3__28ios_base6getlocEv($8, $68 + (HEAP32[(HEAP32[$68 >> 2] | 0) + -12 >> 2] | 0) | 0); - $73 = __ZNKSt3__26locale9use_facetERNS0_2idE($8, 66512) | 0; - $77 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$73 >> 2] | 0) + 28 >> 2] & 127]($73, 10) | 0; - __ZNSt3__26localeD2Ev($8); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($68, $77) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($68) | 0; - _abort(); - } - $$0 = 0; - $$040 = 0; - while (1) { - if (($$040 | 0) >= ($5 | 0)) break; - $79 = $4 + ($$040 << 2) | 0; - $$038 = 0; - $$039 = -1; + } while (0); + $call$i71 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$call$i53 >> 2] | 0) + 16 >> 2] & 127]($call$i53) | 0; + $__dc$0 = 0; + $__dg$0 = 0; + $__p$0 = $__nf$1; while (1) { - if (($$038 | 0) == ($7 | 0)) break; - $85 = $6 + ($$038 << 2) | 0; - $91 = __ZN6vision15HammingDistanceILi96EEEjPKhS2_($2 + ((HEAP32[$79 >> 2] | 0) * 96 | 0) | 0, $2 + ((HEAP32[$4 + (HEAP32[$85 >> 2] << 2) >> 2] | 0) * 96 | 0) | 0) | 0; - if ($91 >>> 0 < $$039 >>> 0) { - HEAP32[(HEAP32[$1 >> 2] | 0) + ($$040 << 2) >> 2] = HEAP32[$85 >> 2]; - $$1 = $91; - } else $$1 = $$039; - $$038 = $$038 + 1 | 0; - $$039 = $$1; + if ($__p$0 >>> 0 >= $__ne >>> 0) break; + $22 = HEAP8[((HEAP8[$__size_$i$i$i >> 0] | 0) < 0 ? HEAP32[$__grouping >> 2] | 0 : $__grouping) + $__dg$0 >> 0] | 0; + if ($22 << 24 >> 24 != 0 & ($__dc$0 | 0) == ($22 << 24 >> 24 | 0)) { + $23 = HEAP32[$__oe >> 2] | 0; + HEAP32[$__oe >> 2] = $23 + 1; + HEAP8[$23 >> 0] = $call$i71; + $24 = HEAP8[$__size_$i$i$i >> 0] | 0; + $__dc$1 = 0; + $__dg$1 = $__dg$0 + ($__dg$0 >>> 0 < (($24 << 24 >> 24 < 0 ? HEAP32[$__size_$i3$i$i >> 2] | 0 : $24 & 255) + -1 | 0) >>> 0 & 1) | 0; + } else { + $__dc$1 = $__dc$0; + $__dg$1 = $__dg$0; + } + $call$i68 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i >> 2] | 0) + 28 >> 2] & 127]($call$i, HEAP8[$__p$0 >> 0] | 0) | 0; + $28 = HEAP32[$__oe >> 2] | 0; + HEAP32[$__oe >> 2] = $28 + 1; + HEAP8[$28 >> 0] = $call$i68; + $__dc$0 = $__dc$1 + 1 | 0; + $__dg$0 = $__dg$1; + $__p$0 = $__p$0 + 1 | 0; + } + $sub$ptr$rhs$cast52 = $__nb; + $add$ptr54 = $__ob + ($__nf$1 - $sub$ptr$rhs$cast52) | 0; + $17 = HEAP32[$__oe >> 2] | 0; + if (($add$ptr54 | 0) == ($17 | 0)) { + $29 = $add$ptr54; + $sub$ptr$rhs$cast60$pre$phiZZZZ2D = $sub$ptr$rhs$cast52; + } else { + $__first$addr$0$i$i74 = $add$ptr54; + $__last$addr$0$i$i75 = $17; + while (1) { + $incdec$ptr$i$i76 = $__last$addr$0$i$i75 + -1 | 0; + if ($__first$addr$0$i$i74 >>> 0 >= $incdec$ptr$i$i76 >>> 0) break; + $18 = HEAP8[$__first$addr$0$i$i74 >> 0] | 0; + HEAP8[$__first$addr$0$i$i74 >> 0] = HEAP8[$incdec$ptr$i$i76 >> 0] | 0; + HEAP8[$incdec$ptr$i$i76 >> 0] = $18; + $__first$addr$0$i$i74 = $__first$addr$0$i$i74 + 1 | 0; + $__last$addr$0$i$i75 = $incdec$ptr$i$i76; + } + $29 = HEAP32[$__oe >> 2] | 0; + $sub$ptr$rhs$cast60$pre$phiZZZZ2D = $sub$ptr$rhs$cast52; } - $$0 = $$039 + $$0 | 0; - $$040 = $$040 + 1 | 0; + } else { + FUNCTION_TABLE_iiiii[HEAP32[(HEAP32[$call$i >> 2] | 0) + 32 >> 2] & 15]($call$i, $__nb, $__ne, $__ob) | 0; + $sub$ptr$rhs$cast = $__nb; + $add$ptr = $__ob + ($__ne - $sub$ptr$rhs$cast) | 0; + HEAP32[$__oe >> 2] = $add$ptr; + $29 = $add$ptr; + $sub$ptr$rhs$cast60$pre$phiZZZZ2D = $sub$ptr$rhs$cast; } + HEAP32[$__op >> 2] = ($__np | 0) == ($__ne | 0) ? $29 : $__ob + ($__np - $sub$ptr$rhs$cast60$pre$phiZZZZ2D) | 0; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($__grouping); STACKTOP = sp; - return $$0 | 0; + return; } -function _jpeg_idct_9x9($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $$0228248 = 0, $$0230247 = 0, $$0231246 = 0, $$0249 = 0, $$1229244 = 0, $$1245 = 0, $121 = 0, $124 = 0, $127 = 0, $129 = 0, $131 = 0, $134 = 0, $135 = 0, $137 = 0, $138 = 0, $140 = 0, $141 = 0, $143 = 0, $144 = 0, $145 = 0, $147 = 0, $149 = 0, $15 = 0, $151 = 0, $153 = 0, $157 = 0, $159 = 0, $160 = 0, $162 = 0, $164 = 0, $166 = 0, $168 = 0, $170 = 0, $172 = 0, $175 = 0, $21 = 0, $27 = 0, $34 = 0, $35 = 0, $37 = 0, $38 = 0, $40 = 0, $41 = 0, $43 = 0, $44 = 0, $45 = 0, $47 = 0, $49 = 0, $5 = 0, $51 = 0, $57 = 0, $68 = 0, $7 = 0, $74 = 0, $76 = 0, $78 = 0, $80 = 0, $82 = 0, $84 = 0, $86 = 0, $88 = 0, $91 = 0, sp = 0; +function _jpeg_idct_6x12($cinfo, $compptr, $coef_block, $output_buf, $output_col) { + $cinfo = $cinfo | 0; + $compptr = $compptr | 0; + $coef_block = $coef_block | 0; + $output_buf = $output_buf | 0; + $output_col = $output_col | 0; + var $0 = 0, $26 = 0, $27 = 0, $28 = 0, $add = 0, $add$ptr = 0, $add$ptr121 = 0, $add127 = 0, $add132 = 0, $add141 = 0, $add144 = 0, $add20 = 0, $add22 = 0, $add23 = 0, $add27 = 0, $add47 = 0, $add51 = 0, $add54 = 0, $add60 = 0, $add64 = 0, $add69 = 0, $add7 = 0, $add75 = 0, $ctr$0185 = 0, $ctr$1181 = 0, $inptr$0182 = 0, $mul11 = 0, $mul126 = 0, $mul131 = 0, $mul138 = 0, $mul32 = 0, $mul36 = 0, $mul40 = 0, $mul44 = 0, $mul45 = 0, $mul46 = 0, $mul49 = 0, $mul56 = 0, $mul6 = 0, $mul73 = 0, $quantptr$0183 = 0, $shl124 = 0, $shl147 = 0, $shl18 = 0, $sub = 0, $sub129 = 0, $sub133 = 0, $sub19 = 0, $sub21 = 0, $sub24 = 0, $sub26 = 0, $sub28 = 0, $sub70 = 0, $sub71 = 0, $sub77 = 0, $workspace = 0, $wsptr$0184 = 0, $wsptr$1180 = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 288 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(288); - $5 = sp; - $7 = HEAP32[$0 + 336 >> 2] | 0; - $$0228248 = $5; - $$0230247 = HEAP32[$1 + 84 >> 2] | 0; - $$0231246 = $2; - $$0249 = 0; + $workspace = sp; + $0 = HEAP32[$cinfo + 336 >> 2] | 0; + $ctr$0185 = 0; + $inptr$0182 = $coef_block; + $quantptr$0183 = HEAP32[$compptr + 84 >> 2] | 0; + $wsptr$0184 = $workspace; while (1) { - $15 = Math_imul(HEAP16[$$0231246 >> 1] << 13, HEAP32[$$0230247 >> 2] | 0) | 0 | 1024; - $21 = Math_imul(HEAP32[$$0230247 + 64 >> 2] | 0, HEAP16[$$0231246 + 32 >> 1] | 0) | 0; - $27 = Math_imul(HEAP32[$$0230247 + 128 >> 2] | 0, HEAP16[$$0231246 + 64 >> 1] | 0) | 0; - $34 = Math_imul((HEAP16[$$0231246 + 96 >> 1] | 0) * 5793 | 0, HEAP32[$$0230247 + 192 >> 2] | 0) | 0; - $35 = $34 + $15 | 0; - $37 = $15 - $34 - $34 | 0; - $38 = $21 - $27 | 0; - $40 = $37 + ($38 * 5793 | 0) | 0; - $41 = (Math_imul($38, -11586) | 0) + $37 | 0; - $43 = ($27 + $21 | 0) * 10887 | 0; - $44 = $21 * 8875 | 0; - $45 = $27 * 2012 | 0; - $47 = $43 - $45 + $35 | 0; - $49 = $35 - $43 + $44 | 0; - $51 = $35 - $44 + $45 | 0; - $57 = Math_imul(HEAP32[$$0230247 + 32 >> 2] | 0, HEAP16[$$0231246 + 16 >> 1] | 0) | 0; - $68 = Math_imul(HEAP32[$$0230247 + 160 >> 2] | 0, HEAP16[$$0231246 + 80 >> 1] | 0) | 0; - $74 = Math_imul(HEAP32[$$0230247 + 224 >> 2] | 0, HEAP16[$$0231246 + 112 >> 1] | 0) | 0; - $76 = Math_imul(Math_imul(HEAP16[$$0231246 + 48 >> 1] | 0, -10033) | 0, HEAP32[$$0230247 + 96 >> 2] | 0) | 0; - $78 = ($68 + $57 | 0) * 7447 | 0; - $80 = ($74 + $57 | 0) * 3962 | 0; - $82 = $78 - $76 + $80 | 0; - $84 = ($68 - $74 | 0) * 11409 | 0; - $86 = $76 - $84 + $78 | 0; - $88 = $84 + $76 + $80 | 0; - $91 = ($57 - $68 - $74 | 0) * 10033 | 0; - HEAP32[$$0228248 >> 2] = $82 + $47 >> 11; - HEAP32[$$0228248 + 256 >> 2] = $47 - $82 >> 11; - HEAP32[$$0228248 + 32 >> 2] = $91 + $40 >> 11; - HEAP32[$$0228248 + 224 >> 2] = $40 - $91 >> 11; - HEAP32[$$0228248 + 64 >> 2] = $86 + $49 >> 11; - HEAP32[$$0228248 + 192 >> 2] = $49 - $86 >> 11; - HEAP32[$$0228248 + 96 >> 2] = $88 + $51 >> 11; - HEAP32[$$0228248 + 160 >> 2] = $51 - $88 >> 11; - HEAP32[$$0228248 + 128 >> 2] = $41 >> 11; - $$0249 = $$0249 + 1 | 0; - if (($$0249 | 0) == 8) break; else { - $$0228248 = $$0228248 + 4 | 0; - $$0230247 = $$0230247 + 4 | 0; - $$0231246 = $$0231246 + 2 | 0; - } - } - $121 = $7 + -384 | 0; - $$1229244 = $5; - $$1245 = 0; + $add = Math_imul(HEAP16[$inptr$0182 >> 1] << 13, HEAP32[$quantptr$0183 >> 2] | 0) | 0 | 1024; + $mul6 = Math_imul((HEAP16[$inptr$0182 + 64 >> 1] | 0) * 10033 | 0, HEAP32[$quantptr$0183 + 128 >> 2] | 0) | 0; + $add7 = $mul6 + $add | 0; + $sub = $add - $mul6 | 0; + $mul11 = Math_imul(HEAP32[$quantptr$0183 + 64 >> 2] | 0, HEAP16[$inptr$0182 + 32 >> 1] | 0) | 0; + $shl18 = Math_imul(HEAP16[$inptr$0182 + 96 >> 1] << 13, HEAP32[$quantptr$0183 + 192 >> 2] | 0) | 0; + $sub19 = ($mul11 << 13) - $shl18 | 0; + $add20 = $sub19 + $add | 0; + $sub21 = $add - $sub19 | 0; + $add22 = $shl18 + ($mul11 * 11190 | 0) | 0; + $add23 = $add22 + $add7 | 0; + $sub24 = $add7 - $add22 | 0; + $sub26 = ($mul11 * 2998 | 0) - $shl18 | 0; + $add27 = $sub26 + $sub | 0; + $sub28 = $sub - $sub26 | 0; + $mul32 = Math_imul(HEAP32[$quantptr$0183 + 32 >> 2] | 0, HEAP16[$inptr$0182 + 16 >> 1] | 0) | 0; + $mul36 = Math_imul(HEAP32[$quantptr$0183 + 96 >> 2] | 0, HEAP16[$inptr$0182 + 48 >> 1] | 0) | 0; + $mul40 = Math_imul(HEAP32[$quantptr$0183 + 160 >> 2] | 0, HEAP16[$inptr$0182 + 80 >> 1] | 0) | 0; + $mul44 = Math_imul(HEAP32[$quantptr$0183 + 224 >> 2] | 0, HEAP16[$inptr$0182 + 112 >> 1] | 0) | 0; + $mul45 = $mul36 * 10703 | 0; + $mul46 = Math_imul($mul36, -4433) | 0; + $add47 = $mul40 + $mul32 | 0; + $mul49 = ($mul44 + $add47 | 0) * 7053 | 0; + $add51 = $mul49 + ($add47 * 2139 | 0) | 0; + $add54 = $mul45 + ($mul32 * 2295 | 0) + $add51 | 0; + $mul56 = Math_imul($mul44 + $mul40 | 0, -8565) | 0; + $add60 = (Math_imul($mul40, -12112) | 0) + $mul46 + $mul56 + $add51 | 0; + $add64 = ($mul44 * 12998 | 0) - $mul45 + $mul49 + $mul56 | 0; + $add69 = $mul46 + (Math_imul($mul32, -5540) | 0) + (Math_imul($mul44, -16244) | 0) + $mul49 | 0; + $sub70 = $mul32 - $mul44 | 0; + $sub71 = $mul36 - $mul40 | 0; + $mul73 = ($sub70 + $sub71 | 0) * 4433 | 0; + $add75 = $mul73 + ($sub70 * 6270 | 0) | 0; + $sub77 = $mul73 + (Math_imul($sub71, -15137) | 0) | 0; + HEAP32[$wsptr$0184 >> 2] = $add54 + $add23 >> 11; + HEAP32[$wsptr$0184 + 264 >> 2] = $add23 - $add54 >> 11; + HEAP32[$wsptr$0184 + 24 >> 2] = $add75 + $add20 >> 11; + HEAP32[$wsptr$0184 + 240 >> 2] = $add20 - $add75 >> 11; + HEAP32[$wsptr$0184 + 48 >> 2] = $add60 + $add27 >> 11; + HEAP32[$wsptr$0184 + 216 >> 2] = $add27 - $add60 >> 11; + HEAP32[$wsptr$0184 + 72 >> 2] = $add64 + $sub28 >> 11; + HEAP32[$wsptr$0184 + 192 >> 2] = $sub28 - $add64 >> 11; + HEAP32[$wsptr$0184 + 96 >> 2] = $sub77 + $sub21 >> 11; + HEAP32[$wsptr$0184 + 168 >> 2] = $sub21 - $sub77 >> 11; + HEAP32[$wsptr$0184 + 120 >> 2] = $add69 + $sub24 >> 11; + HEAP32[$wsptr$0184 + 144 >> 2] = $sub24 - $add69 >> 11; + $ctr$0185 = $ctr$0185 + 1 | 0; + if (($ctr$0185 | 0) == 6) break; else { + $inptr$0182 = $inptr$0182 + 2 | 0; + $quantptr$0183 = $quantptr$0183 + 4 | 0; + $wsptr$0184 = $wsptr$0184 + 4 | 0; + } + } + $add$ptr = $0 + -384 | 0; + $ctr$1181 = 0; + $wsptr$1180 = $workspace; while (1) { - $124 = (HEAP32[$3 + ($$1245 << 2) >> 2] | 0) + $4 | 0; - $127 = (HEAP32[$$1229244 >> 2] << 13) + 134348800 | 0; - $129 = HEAP32[$$1229244 + 8 >> 2] | 0; - $131 = HEAP32[$$1229244 + 16 >> 2] | 0; - $134 = (HEAP32[$$1229244 + 24 >> 2] | 0) * 5793 | 0; - $135 = $134 + $127 | 0; - $137 = $127 - $134 - $134 | 0; - $138 = $129 - $131 | 0; - $140 = $137 + ($138 * 5793 | 0) | 0; - $141 = (Math_imul($138, -11586) | 0) + $137 | 0; - $143 = ($131 + $129 | 0) * 10887 | 0; - $144 = $129 * 8875 | 0; - $145 = $131 * 2012 | 0; - $147 = $143 - $145 + $135 | 0; - $149 = $135 - $143 + $144 | 0; - $151 = $135 - $144 + $145 | 0; - $153 = HEAP32[$$1229244 + 4 >> 2] | 0; - $157 = HEAP32[$$1229244 + 20 >> 2] | 0; - $159 = HEAP32[$$1229244 + 28 >> 2] | 0; - $160 = Math_imul(HEAP32[$$1229244 + 12 >> 2] | 0, -10033) | 0; - $162 = ($157 + $153 | 0) * 7447 | 0; - $164 = ($159 + $153 | 0) * 3962 | 0; - $166 = $162 - $160 + $164 | 0; - $168 = ($157 - $159 | 0) * 11409 | 0; - $170 = $160 - $168 + $162 | 0; - $172 = $168 + $160 + $164 | 0; - $175 = ($153 - $157 - $159 | 0) * 10033 | 0; - HEAP8[$124 >> 0] = HEAP8[$121 + (($166 + $147 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$124 + 8 >> 0] = HEAP8[$121 + (($147 - $166 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$124 + 1 >> 0] = HEAP8[$121 + (($175 + $140 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$124 + 7 >> 0] = HEAP8[$121 + (($140 - $175 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$124 + 2 >> 0] = HEAP8[$121 + (($170 + $149 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$124 + 6 >> 0] = HEAP8[$121 + (($149 - $170 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$124 + 3 >> 0] = HEAP8[$121 + (($172 + $151 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$124 + 5 >> 0] = HEAP8[$121 + (($151 - $172 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$124 + 4 >> 0] = HEAP8[$121 + ($141 >>> 18 & 1023) >> 0] | 0; - $$1245 = $$1245 + 1 | 0; - if (($$1245 | 0) == 9) break; else $$1229244 = $$1229244 + 32 | 0; - } - STACKTOP = sp; - return; -} - -function __ZNKSt3__29money_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_putES4_bRNS_8ios_baseEwe($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = +$5; - var $$0 = 0, $$0$i$i = 0, $$0$i$i39 = 0, $$0$i$i41 = 0, $$037 = 0, $$038 = 0, $$byval_copy = 0, $$sink72 = 0, $$sink73 = 0, $$sink74 = 0, $$sroa$050$0 = 0, $$sroa$058$0 = 0, $$sroa$067$0 = 0, $10 = 0, $101 = 0, $102 = 0, $103 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $23 = 0, $24 = 0, $25 = 0, $29 = 0, $32 = 0, $33 = 0, $48 = 0, $49 = 0, $55 = 0, $6 = 0, $63 = 0, $7 = 0, $73 = 0, $8 = 0, $81 = 0, $89 = 0, $9 = 0, $92 = 0, $vararg_buffer1 = 0, sp = 0; + $add$ptr121 = (HEAP32[$output_buf + ($ctr$1181 << 2) >> 2] | 0) + $output_col | 0; + $shl124 = (HEAP32[$wsptr$1180 >> 2] << 13) + 134348800 | 0; + $mul126 = (HEAP32[$wsptr$1180 + 16 >> 2] | 0) * 5793 | 0; + $add127 = $shl124 + $mul126 | 0; + $sub129 = $shl124 - $mul126 - $mul126 | 0; + $mul131 = (HEAP32[$wsptr$1180 + 8 >> 2] | 0) * 10033 | 0; + $add132 = $add127 + $mul131 | 0; + $sub133 = $add127 - $mul131 | 0; + $26 = HEAP32[$wsptr$1180 + 4 >> 2] | 0; + $27 = HEAP32[$wsptr$1180 + 12 >> 2] | 0; + $28 = HEAP32[$wsptr$1180 + 20 >> 2] | 0; + $mul138 = ($28 + $26 | 0) * 2998 | 0; + $add141 = $mul138 + ($27 + $26 << 13) | 0; + $add144 = $mul138 + ($28 - $27 << 13) | 0; + $shl147 = $26 - $27 - $28 << 13; + HEAP8[$add$ptr121 >> 0] = HEAP8[$add$ptr + (($add141 + $add132 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr121 + 5 >> 0] = HEAP8[$add$ptr + (($add132 - $add141 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr121 + 1 >> 0] = HEAP8[$add$ptr + (($shl147 + $sub129 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr121 + 4 >> 0] = HEAP8[$add$ptr + (($sub129 - $shl147 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr121 + 2 >> 0] = HEAP8[$add$ptr + (($add144 + $sub133 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr121 + 3 >> 0] = HEAP8[$add$ptr + (($sub133 - $add144 | 0) >>> 18 & 1023) >> 0] | 0; + $ctr$1181 = $ctr$1181 + 1 | 0; + if (($ctr$1181 | 0) == 12) break; else $wsptr$1180 = $wsptr$1180 + 24 | 0; + } + STACKTOP = sp; + return; +} + +function __ZNSt3__26locale5__impC2Em($this, $refs) { + $this = $this | 0; + $refs = $refs | 0; + var $facets_ = 0, $name_ = 0; + HEAP32[$this + 4 >> 2] = $refs + -1; + HEAP32[$this >> 2] = 23288; + $facets_ = $this + 8 | 0; + __ZNSt3__26vectorIPNS_6locale5facetENS_15__sso_allocatorIS3_Lm28EEEEC2Em($facets_, 28); + $name_ = $this + 144 | 0; + HEAP32[$name_ >> 2] = 0; + HEAP32[$name_ + 4 >> 2] = 0; + HEAP32[$name_ + 8 >> 2] = 0; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm($name_, 59813, __ZNSt3__211char_traitsIcE6lengthEPKc(59813) | 0); + HEAP32[$this + 12 >> 2] = HEAP32[$facets_ >> 2]; + __ZNSt3__212_GLOBAL__N_14makeINS_7collateIcEEjEERT_T0_(); + __ZNSt3__26locale5__imp7installINS_7collateIcEEEEvPT_($this, 65592); + __ZNSt3__212_GLOBAL__N_14makeINS_7collateIwEEjEERT_T0_(); + __ZNSt3__26locale5__imp7installINS_7collateIwEEEEvPT_($this, 65600); + __ZNSt3__212_GLOBAL__N_14makeINS_5ctypeIcEEDnbjEERT_T0_T1_T2_(); + __ZNSt3__26locale5__imp7installINS_5ctypeIcEEEEvPT_($this, 65608); + __ZNSt3__212_GLOBAL__N_14makeINS_5ctypeIwEEjEERT_T0_(); + __ZNSt3__26locale5__imp7installINS_5ctypeIwEEEEvPT_($this, 65624); + __ZNSt3__212_GLOBAL__N_14makeINS_7codecvtIcc11__mbstate_tEEjEERT_T0_(); + __ZNSt3__26locale5__imp7installINS_7codecvtIcc11__mbstate_tEEEEvPT_($this, 65632); + __ZNSt3__212_GLOBAL__N_14makeINS_7codecvtIwc11__mbstate_tEEjEERT_T0_(); + __ZNSt3__26locale5__imp7installINS_7codecvtIwc11__mbstate_tEEEEvPT_($this, 65640); + __ZNSt3__212_GLOBAL__N_14makeINS_7codecvtIDsc11__mbstate_tEEjEERT_T0_(); + __ZNSt3__26locale5__imp7installINS_7codecvtIDsc11__mbstate_tEEEEvPT_($this, 65656); + __ZNSt3__212_GLOBAL__N_14makeINS_7codecvtIDic11__mbstate_tEEjEERT_T0_(); + __ZNSt3__26locale5__imp7installINS_7codecvtIDic11__mbstate_tEEEEvPT_($this, 65664); + __ZNSt3__212_GLOBAL__N_14makeINS_8numpunctIcEEjEERT_T0_(); + __ZNSt3__26locale5__imp7installINS_8numpunctIcEEEEvPT_($this, 65672); + __ZNSt3__212_GLOBAL__N_14makeINS_8numpunctIwEEjEERT_T0_(); + __ZNSt3__26locale5__imp7installINS_8numpunctIwEEEEvPT_($this, 65696); + __ZNSt3__212_GLOBAL__N_14makeINS_7num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEEjEERT_T0_(); + __ZNSt3__26locale5__imp7installINS_7num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEEEEvPT_($this, 65728); + __ZNSt3__212_GLOBAL__N_14makeINS_7num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEEEjEERT_T0_(); + __ZNSt3__26locale5__imp7installINS_7num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEEEEEvPT_($this, 65736); + __ZNSt3__212_GLOBAL__N_14makeINS_7num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEEEjEERT_T0_(); + __ZNSt3__26locale5__imp7installINS_7num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEEEEEvPT_($this, 65744); + __ZNSt3__212_GLOBAL__N_14makeINS_7num_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEEEjEERT_T0_(); + __ZNSt3__26locale5__imp7installINS_7num_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEEEEEvPT_($this, 65752); + __ZNSt3__212_GLOBAL__N_14makeINS_10moneypunctIcLb0EEEjEERT_T0_(); + __ZNSt3__26locale5__imp7installINS_10moneypunctIcLb0EEEEEvPT_($this, 65760); + __ZNSt3__212_GLOBAL__N_14makeINS_10moneypunctIcLb1EEEjEERT_T0_(); + __ZNSt3__26locale5__imp7installINS_10moneypunctIcLb1EEEEEvPT_($this, 65768); + __ZNSt3__212_GLOBAL__N_14makeINS_10moneypunctIwLb0EEEjEERT_T0_(); + __ZNSt3__26locale5__imp7installINS_10moneypunctIwLb0EEEEEvPT_($this, 65776); + __ZNSt3__212_GLOBAL__N_14makeINS_10moneypunctIwLb1EEEjEERT_T0_(); + __ZNSt3__26locale5__imp7installINS_10moneypunctIwLb1EEEEEvPT_($this, 65784); + __ZNSt3__212_GLOBAL__N_14makeINS_9money_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEEjEERT_T0_(); + __ZNSt3__26locale5__imp7installINS_9money_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEEEEvPT_($this, 65792); + __ZNSt3__212_GLOBAL__N_14makeINS_9money_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEEEjEERT_T0_(); + __ZNSt3__26locale5__imp7installINS_9money_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEEEEEvPT_($this, 65800); + __ZNSt3__212_GLOBAL__N_14makeINS_9money_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEEEjEERT_T0_(); + __ZNSt3__26locale5__imp7installINS_9money_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEEEEEvPT_($this, 65808); + __ZNSt3__212_GLOBAL__N_14makeINS_9money_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEEEjEERT_T0_(); + __ZNSt3__26locale5__imp7installINS_9money_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEEEEEvPT_($this, 65816); + __ZNSt3__212_GLOBAL__N_14makeINS_8time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEEjEERT_T0_(); + __ZNSt3__26locale5__imp7installINS_8time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEEEEvPT_($this, 65824); + __ZNSt3__212_GLOBAL__N_14makeINS_8time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEEEjEERT_T0_(); + __ZNSt3__26locale5__imp7installINS_8time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEEEEEvPT_($this, 65840); + __ZNSt3__212_GLOBAL__N_14makeINS_8time_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEEEjEERT_T0_(); + __ZNSt3__26locale5__imp7installINS_8time_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEEEEEvPT_($this, 65856); + __ZNSt3__212_GLOBAL__N_14makeINS_8time_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEEEjEERT_T0_(); + __ZNSt3__26locale5__imp7installINS_8time_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEEEEEvPT_($this, 65872); + __ZNSt3__212_GLOBAL__N_14makeINS_8messagesIcEEjEERT_T0_(); + __ZNSt3__26locale5__imp7installINS_8messagesIcEEEEvPT_($this, 65888); + __ZNSt3__212_GLOBAL__N_14makeINS_8messagesIwEEjEERT_T0_(); + __ZNSt3__26locale5__imp7installINS_8messagesIwEEEEvPT_($this, 65896); + return; +} + +function __ZNKSt3__29money_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_putES4_bRNS_8ios_baseEwe($this, $__s, $__intl, $__iob, $__fl, $__units) { + $this = $this | 0; + $__s = $__s | 0; + $__intl = $__intl | 0; + $__iob = $__iob | 0; + $__fl = $__fl | 0; + $__units = +$__units; + var $0 = 0, $10 = 0, $13 = 0, $16 = 0, $19 = 0, $26 = 0, $27 = 0, $3 = 0, $7 = 0, $8 = 0, $__bb = 0, $__buf = 0, $__db$0 = 0, $__digits = 0, $__dp = 0, $__fd = 0, $__grp = 0, $__hd$sroa$0$0 = 0, $__hn$sroa$0$0 = 0, $__hw$sroa$0$0 = 0, $__i$0$i$i = 0, $__i$0$i$i35 = 0, $__i$0$i$i42 = 0, $__loc = 0, $__mb$0 = 0, $__mbuf = 0, $__me = 0, $__mi = 0, $__n$0 = 0, $__pat = 0, $__sn = 0, $__sym = 0, $__ts = 0, $add31$sink = 0, $add33 = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, $call = 0, $call$i = 0, $call37 = 0, $call4 = 0, $call46 = 0, $call5 = 0, $call8 = 0, $cond$i75$sink = 0, $cond$i83$sink = 0, $vararg_buffer1 = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 992 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(992); - $$byval_copy = sp + 912 | 0; + $agg$tmp$byval_copy = sp + 912 | 0; $vararg_buffer1 = sp + 904 | 0; - $6 = sp + 800 | 0; - $7 = sp + 984 | 0; - $8 = sp + 400 | 0; - $9 = sp + 980 | 0; - $10 = sp + 988 | 0; - $11 = sp + 976 | 0; - $12 = sp + 972 | 0; - $13 = sp + 960 | 0; - $14 = sp + 948 | 0; - $15 = sp + 936 | 0; - $16 = sp + 932 | 0; - $17 = sp; - $18 = sp + 928 | 0; - $19 = sp + 920 | 0; - $20 = sp + 924 | 0; - HEAP32[$7 >> 2] = $6; - HEAPF64[$$byval_copy >> 3] = $5; - $21 = _snprintf($6, 100, 60455, $$byval_copy) | 0; - if ($21 >>> 0 > 99) { - $23 = __ZNSt3__26__clocEv() | 0; - HEAPF64[$vararg_buffer1 >> 3] = $5; - $24 = __ZNSt3__219__libcpp_asprintf_lEPPcP15__locale_structPKcz($7, $23, 60455, $vararg_buffer1) | 0; - $25 = HEAP32[$7 >> 2] | 0; - if (!$25) __ZSt17__throw_bad_allocv(); - $29 = _malloc($24 << 2) | 0; - if (!$29) __ZSt17__throw_bad_allocv(); else { - $$0 = $29; - $$038 = $24; - $$sroa$058$0 = $29; - $$sroa$067$0 = $25; + $__buf = sp + 800 | 0; + $__bb = sp + 984 | 0; + $__digits = sp + 400 | 0; + $__loc = sp + 980 | 0; + $__pat = sp + 988 | 0; + $__dp = sp + 976 | 0; + $__ts = sp + 972 | 0; + $__grp = sp + 960 | 0; + $__sym = sp + 948 | 0; + $__sn = sp + 936 | 0; + $__fd = sp + 932 | 0; + $__mbuf = sp; + $__mi = sp + 928 | 0; + $__me = sp + 920 | 0; + $agg$tmp = sp + 924 | 0; + HEAP32[$__bb >> 2] = $__buf; + HEAPF64[$agg$tmp$byval_copy >> 3] = $__units; + $call = _snprintf($__buf, 100, 61297, $agg$tmp$byval_copy) | 0; + if ($call >>> 0 > 99) { + $call4 = __ZNSt3__26__clocEv() | 0; + HEAPF64[$vararg_buffer1 >> 3] = $__units; + $call5 = __ZNSt3__219__libcpp_asprintf_lEPPcP15__locale_structPKcz($__bb, $call4, 61297, $vararg_buffer1) | 0; + $0 = HEAP32[$__bb >> 2] | 0; + if (!$0) __ZSt17__throw_bad_allocv(); + $call8 = _malloc($call5 << 2) | 0; + if (!$call8) __ZSt17__throw_bad_allocv(); else { + $__db$0 = $call8; + $__hd$sroa$0$0 = $call8; + $__hn$sroa$0$0 = $0; + $__n$0 = $call5; } } else { - $$0 = $8; - $$038 = $21; - $$sroa$058$0 = 0; - $$sroa$067$0 = 0; - } - __ZNKSt3__28ios_base6getlocEv($9, $3); - $32 = __ZNKSt3__26locale9use_facetERNS0_2idE($9, 66544) | 0; - $33 = HEAP32[$7 >> 2] | 0; - FUNCTION_TABLE_iiiii[HEAP32[(HEAP32[$32 >> 2] | 0) + 48 >> 2] & 15]($32, $33, $33 + $$038 | 0, $$0) | 0; - if (!$$038) $48 = 0; else $48 = (HEAP8[HEAP32[$7 >> 2] >> 0] | 0) == 45; - HEAP32[$13 >> 2] = 0; - HEAP32[$13 + 4 >> 2] = 0; - HEAP32[$13 + 8 >> 2] = 0; - $$0$i$i = 0; + $__db$0 = $__digits; + $__hd$sroa$0$0 = 0; + $__hn$sroa$0$0 = 0; + $__n$0 = $call; + } + __ZNKSt3__28ios_base6getlocEv($__loc, $__iob); + $call$i = __ZNKSt3__26locale9use_facetERNS0_2idE($__loc, 67392) | 0; + $3 = HEAP32[$__bb >> 2] | 0; + FUNCTION_TABLE_iiiii[HEAP32[(HEAP32[$call$i >> 2] | 0) + 48 >> 2] & 15]($call$i, $3, $3 + $__n$0 | 0, $__db$0) | 0; + if (!$__n$0) $7 = 0; else $7 = (HEAP8[HEAP32[$__bb >> 2] >> 0] | 0) == 45; + HEAP32[$__grp >> 2] = 0; + HEAP32[$__grp + 4 >> 2] = 0; + HEAP32[$__grp + 8 >> 2] = 0; + $__i$0$i$i = 0; while (1) { - if (($$0$i$i | 0) == 3) break; - HEAP32[$13 + ($$0$i$i << 2) >> 2] = 0; - $$0$i$i = $$0$i$i + 1 | 0; - } - HEAP32[$14 >> 2] = 0; - HEAP32[$14 + 4 >> 2] = 0; - HEAP32[$14 + 8 >> 2] = 0; - $$0$i$i39 = 0; + if (($__i$0$i$i | 0) == 3) break; + HEAP32[$__grp + ($__i$0$i$i << 2) >> 2] = 0; + $__i$0$i$i = $__i$0$i$i + 1 | 0; + } + HEAP32[$__sym >> 2] = 0; + HEAP32[$__sym + 4 >> 2] = 0; + HEAP32[$__sym + 8 >> 2] = 0; + $__i$0$i$i35 = 0; while (1) { - if (($$0$i$i39 | 0) == 3) break; - HEAP32[$14 + ($$0$i$i39 << 2) >> 2] = 0; - $$0$i$i39 = $$0$i$i39 + 1 | 0; - } - HEAP32[$15 >> 2] = 0; - HEAP32[$15 + 4 >> 2] = 0; - HEAP32[$15 + 8 >> 2] = 0; - $$0$i$i41 = 0; + if (($__i$0$i$i35 | 0) == 3) break; + HEAP32[$__sym + ($__i$0$i$i35 << 2) >> 2] = 0; + $__i$0$i$i35 = $__i$0$i$i35 + 1 | 0; + } + HEAP32[$__sn >> 2] = 0; + HEAP32[$__sn + 4 >> 2] = 0; + HEAP32[$__sn + 8 >> 2] = 0; + $__i$0$i$i42 = 0; while (1) { - if (($$0$i$i41 | 0) == 3) break; - HEAP32[$15 + ($$0$i$i41 << 2) >> 2] = 0; - $$0$i$i41 = $$0$i$i41 + 1 | 0; - } - __ZNSt3__211__money_putIwE13__gather_infoEbbRKNS_6localeERNS_10money_base7patternERwS8_RNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEERNS9_IwNSA_IwEENSC_IwEEEESJ_Ri($2, $48, $9, $10, $11, $12, $13, $14, $15, $16); - $49 = HEAP32[$16 >> 2] | 0; - if (($$038 | 0) > ($49 | 0)) { - $55 = HEAP8[$15 + 8 + 3 >> 0] | 0; - $63 = HEAP8[$14 + 8 + 3 >> 0] | 0; - $$sink72 = $63 << 24 >> 24 < 0 ? HEAP32[$14 + 4 >> 2] | 0 : $63 & 255; - $$sink73 = $49 + 1 + ($$038 - $49 << 1) | 0; - $$sink74 = $55 << 24 >> 24 < 0 ? HEAP32[$15 + 4 >> 2] | 0 : $55 & 255; + if (($__i$0$i$i42 | 0) == 3) break; + HEAP32[$__sn + ($__i$0$i$i42 << 2) >> 2] = 0; + $__i$0$i$i42 = $__i$0$i$i42 + 1 | 0; + } + __ZNSt3__211__money_putIwE13__gather_infoEbbRKNS_6localeERNS_10money_base7patternERwS8_RNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEERNS9_IwNSA_IwEENSC_IwEEEESJ_Ri($__intl, $7, $__loc, $__pat, $__dp, $__ts, $__grp, $__sym, $__sn, $__fd); + $8 = HEAP32[$__fd >> 2] | 0; + if (($__n$0 | 0) > ($8 | 0)) { + $10 = HEAP8[$__sn + 8 + 3 >> 0] | 0; + $13 = HEAP8[$__sym + 8 + 3 >> 0] | 0; + $add31$sink = $8 + 1 + ($__n$0 - $8 << 1) | 0; + $cond$i75$sink = $10 << 24 >> 24 < 0 ? HEAP32[$__sn + 4 >> 2] | 0 : $10 & 255; + $cond$i83$sink = $13 << 24 >> 24 < 0 ? HEAP32[$__sym + 4 >> 2] | 0 : $13 & 255; } else { - $73 = HEAP8[$15 + 8 + 3 >> 0] | 0; - $81 = HEAP8[$14 + 8 + 3 >> 0] | 0; - $$sink72 = $81 << 24 >> 24 < 0 ? HEAP32[$14 + 4 >> 2] | 0 : $81 & 255; - $$sink73 = $49 + 2 | 0; - $$sink74 = $73 << 24 >> 24 < 0 ? HEAP32[$15 + 4 >> 2] | 0 : $73 & 255; - } - $89 = $$sink73 + $$sink74 + $$sink72 | 0; - if ($89 >>> 0 > 100) { - $92 = _malloc($89 << 2) | 0; - if (!$92) __ZSt17__throw_bad_allocv(); else { - $$037 = $92; - $$sroa$050$0 = $92; + $16 = HEAP8[$__sn + 8 + 3 >> 0] | 0; + $19 = HEAP8[$__sym + 8 + 3 >> 0] | 0; + $add31$sink = $8 + 2 | 0; + $cond$i75$sink = $16 << 24 >> 24 < 0 ? HEAP32[$__sn + 4 >> 2] | 0 : $16 & 255; + $cond$i83$sink = $19 << 24 >> 24 < 0 ? HEAP32[$__sym + 4 >> 2] | 0 : $19 & 255; + } + $add33 = $add31$sink + $cond$i75$sink + $cond$i83$sink | 0; + if ($add33 >>> 0 > 100) { + $call37 = _malloc($add33 << 2) | 0; + if (!$call37) __ZSt17__throw_bad_allocv(); else { + $__hw$sroa$0$0 = $call37; + $__mb$0 = $call37; } } else { - $$037 = $17; - $$sroa$050$0 = 0; - } - __ZNSt3__211__money_putIwE8__formatEPwRS2_S3_jPKwS5_RKNS_5ctypeIwEEbRKNS_10money_base7patternEwwRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEERKNSE_IwNSF_IwEENSH_IwEEEESQ_i($$037, $18, $19, HEAP32[$3 + 4 >> 2] | 0, $$0, $$0 + ($$038 << 2) | 0, $32, $48, $10, HEAP32[$11 >> 2] | 0, HEAP32[$12 >> 2] | 0, $13, $14, $15, $49); - HEAP32[$20 >> 2] = HEAP32[$1 >> 2]; - $101 = HEAP32[$18 >> 2] | 0; - $102 = HEAP32[$19 >> 2] | 0; - HEAP32[$$byval_copy >> 2] = HEAP32[$20 >> 2]; - $103 = __ZNSt3__216__pad_and_outputIwNS_11char_traitsIwEEEENS_19ostreambuf_iteratorIT_T0_EES6_PKS4_S8_S8_RNS_8ios_baseES4_($$byval_copy, $$037, $101, $102, $3, $4) | 0; - if ($$sroa$050$0 | 0) _free($$sroa$050$0); - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev($15); - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev($14); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($13); - __ZNSt3__26localeD2Ev($9); - if ($$sroa$058$0 | 0) _free($$sroa$058$0); - if ($$sroa$067$0 | 0) _free($$sroa$067$0); - STACKTOP = sp; - return $103 | 0; -} - -function _arGetContour($0, $1, $2, $3, $4, $5, $6) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - $6 = $6 | 0; - var $$0 = 0, $$0137 = 0, $$0138 = 0, $$0140 = 0, $$0141 = 0, $$0143 = 0, $$1 = 0, $$1144 = 0, $$1144$in = 0, $$2 = 0, $$3 = 0, $$4 = 0, $$5 = 0, $10 = 0, $103 = 0, $11 = 0, $12 = 0, $16 = 0, $18 = 0, $28 = 0, $29 = 0, $30 = 0, $32 = 0, $34 = 0, $35 = 0, $39 = 0, $40 = 0, $42 = 0, $51 = 0, $53 = 0, $54 = 0, $59 = 0, $61 = 0, $62 = 0, $68 = 0, $7 = 0, $73 = 0, $74 = 0, $77 = 0, $79 = 0, $8 = 0, $80 = 0, $91 = 0, $94 = 0, $vararg_buffer = 0, $vararg_buffer1 = 0, $vararg_buffer3 = 0, label = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 80032 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(80032); - $vararg_buffer3 = sp + 80016 | 0; - $vararg_buffer1 = sp + 80008 | 0; - $vararg_buffer = sp + 8e4 | 0; - $7 = sp + 4e4 | 0; - $8 = sp; - $10 = HEAP32[$5 + 8 >> 2] | 0; - $11 = Math_imul($10, $1) | 0; - $12 = HEAP32[$5 >> 2] | 0; - $16 = HEAP32[$5 + 4 >> 2] | 0; - $$0137 = $12; - $$0140 = $0 + ($11 + $12 << 1) | 0; + $__hw$sroa$0$0 = 0; + $__mb$0 = $__mbuf; + } + __ZNSt3__211__money_putIwE8__formatEPwRS2_S3_jPKwS5_RKNS_5ctypeIwEEbRKNS_10money_base7patternEwwRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEERKNSE_IwNSF_IwEENSH_IwEEEESQ_i($__mb$0, $__mi, $__me, HEAP32[$__iob + 4 >> 2] | 0, $__db$0, $__db$0 + ($__n$0 << 2) | 0, $call$i, $7, $__pat, HEAP32[$__dp >> 2] | 0, HEAP32[$__ts >> 2] | 0, $__grp, $__sym, $__sn, $8); + HEAP32[$agg$tmp >> 2] = HEAP32[$__s >> 2]; + $26 = HEAP32[$__mi >> 2] | 0; + $27 = HEAP32[$__me >> 2] | 0; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + $call46 = __ZNSt3__216__pad_and_outputIwNS_11char_traitsIwEEEENS_19ostreambuf_iteratorIT_T0_EES6_PKS4_S8_S8_RNS_8ios_baseES4_($agg$tmp$byval_copy, $__mb$0, $26, $27, $__iob, $__fl) | 0; + if ($__hw$sroa$0$0 | 0) _free($__hw$sroa$0$0); + __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev($__sn); + __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev($__sym); + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($__grp); + __ZNSt3__26localeD2Ev($__loc); + if ($__hd$sroa$0$0 | 0) _free($__hd$sroa$0$0); + if ($__hn$sroa$0$0 | 0) _free($__hn$sroa$0$0); + STACKTOP = sp; + return $call46 | 0; +} + +function _decode_mcu_AC_refine_23($cinfo, $MCU_data) { + $cinfo = $cinfo | 0; + $MCU_data = $MCU_data | 0; + var $0 = 0, $18 = 0, $19 = 0, $2 = 0, $21 = 0, $22 = 0, $24 = 0, $25 = 0, $33 = 0, $35 = 0, $5 = 0, $8 = 0, $Ah$i = 0, $Se = 0, $Ss$i = 0, $add$ptr = 0, $add$ptr28 = 0, $add$ptr28$lcssa = 0, $add$ptr2858 = 0, $add$ptr2862 = 0, $add$ptr59 = 0, $arraydecay50 = 0, $arrayidx20 = 0, $ci$032$i = 0, $comps_in_scan$i = 0, $conv = 0, $conv54 = 0, $conv56 = 0, $ct = 0, $inc = 0, $inc$lcssa = 0, $inc53 = 0, $inc56 = 0, $inc61 = 0, $k$0 = 0, $kex$0 = 0, $kex$1 = 0, $lim_Se$i = 0, $progressive_mode$i = 0, $restart_interval = 0, $restarts_to_go = 0, $shl = 0, $shl11 = 0, $st$0$lcssa = 0, $st$060 = 0, dest = 0, label = 0, stop = 0; + $0 = HEAP32[$cinfo + 468 >> 2] | 0; + $restart_interval = $cinfo + 280 | 0; + if (HEAP32[$restart_interval >> 2] | 0) { + $restarts_to_go = $0 + 56 | 0; + $2 = HEAP32[$restarts_to_go >> 2] | 0; + if (!$2) { + if (!(FUNCTION_TABLE_ii[HEAP32[(HEAP32[$cinfo + 464 >> 2] | 0) + 8 >> 2] & 127]($cinfo) | 0)) { + $5 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$5 + 20 >> 2] = 25; + FUNCTION_TABLE_vi[HEAP32[$5 >> 2] & 255]($cinfo); + } + $comps_in_scan$i = $cinfo + 340 | 0; + if ((HEAP32[$comps_in_scan$i >> 2] | 0) > 0) { + $progressive_mode$i = $cinfo + 224 | 0; + $Ss$i = $cinfo + 412 | 0; + $lim_Se$i = $cinfo + 436 | 0; + $Ah$i = $cinfo + 420 | 0; + $ci$032$i = 0; + do { + $8 = HEAP32[$cinfo + 344 + ($ci$032$i << 2) >> 2] | 0; + if (HEAP32[$progressive_mode$i >> 2] | 0) if (!(HEAP32[$Ss$i >> 2] | 0)) { + if (!(HEAP32[$Ah$i >> 2] | 0)) label = 10; + } else label = 13; else label = 10; + do if ((label | 0) == 10) { + label = 0; + dest = HEAP32[$0 + 60 + (HEAP32[$8 + 20 >> 2] << 2) >> 2] | 0; + stop = dest + 64 | 0; + do { + HEAP8[dest >> 0] = 0; + dest = dest + 1 | 0; + } while ((dest | 0) < (stop | 0)); + HEAP32[$0 + 24 + ($ci$032$i << 2) >> 2] = 0; + HEAP32[$0 + 40 + ($ci$032$i << 2) >> 2] = 0; + if (!(HEAP32[$progressive_mode$i >> 2] | 0)) if (!(HEAP32[$lim_Se$i >> 2] | 0)) break; else { + label = 13; + break; + } else if (!(HEAP32[$Ss$i >> 2] | 0)) break; else { + label = 13; + break; + } + } while (0); + if ((label | 0) == 13) { + label = 0; + _memset(HEAP32[$0 + 124 + (HEAP32[$8 + 24 >> 2] << 2) >> 2] | 0, 0, 256) | 0; + } + $ci$032$i = $ci$032$i + 1 | 0; + } while (($ci$032$i | 0) < (HEAP32[$comps_in_scan$i >> 2] | 0)); + } + HEAP32[$0 + 12 >> 2] = 0; + HEAP32[$0 + 16 >> 2] = 0; + HEAP32[$0 + 20 >> 2] = -16; + $18 = HEAP32[$restart_interval >> 2] | 0; + HEAP32[$restarts_to_go >> 2] = $18; + $19 = $18; + } else $19 = $2; + HEAP32[$restarts_to_go >> 2] = $19 + -1; + } + $ct = $0 + 20 | 0; + if ((HEAP32[$ct >> 2] | 0) == -1) return 1; + $21 = HEAP32[$cinfo + 432 >> 2] | 0; + $22 = HEAP32[$MCU_data >> 2] | 0; + $24 = HEAP32[(HEAP32[$cinfo + 344 >> 2] | 0) + 24 >> 2] | 0; + $25 = HEAP32[$cinfo + 424 >> 2] | 0; + $shl = 1 << $25; + $shl11 = -1 << $25; + $Se = $cinfo + 416 | 0; + $kex$0 = HEAP32[$Se >> 2] | 0; while (1) { - if (($$0137 | 0) > ($16 | 0)) { - label = 7; + if (HEAP16[$22 + (HEAP32[$21 + ($kex$0 << 2) >> 2] << 1) >> 1] | 0) { + $kex$1 = $kex$0; break; } - $18 = HEAP16[$$0140 >> 1] | 0; - if ($18 << 16 >> 16 > 0 ? (HEAP32[$3 + (($18 << 16 >> 16) + -1 << 2) >> 2] | 0) == ($4 | 0) : 0) { - label = 6; + $kex$0 = $kex$0 + -1 | 0; + if (!$kex$0) { + $kex$1 = 0; break; } - $$0137 = $$0137 + 1 | 0; - $$0140 = $$0140 + 2 | 0; - } - do if ((label | 0) == 6) if (($$0137 | 0) != -1) { - $28 = $6 + 24 | 0; - HEAP32[$28 >> 2] = 1; - $29 = $6 + 28 | 0; - HEAP32[$29 >> 2] = $$0137; - $30 = $6 + 40028 | 0; - HEAP32[$30 >> 2] = $10; - $$0143 = 5; - $32 = $10; - $34 = $$0137; - $53 = 1; - while (1) { - $35 = $0 + ((Math_imul($32, $1) | 0) + $34 << 1) | 0; - $$1 = 0; - $$1144$in = $$0143 + 5 | 0; + } + $arrayidx20 = $0 + 124 + ($24 << 2) | 0; + $arraydecay50 = $0 + 188 | 0; + $conv56 = $shl & 65535; + $conv54 = $shl11 & 65535; + $k$0 = (HEAP32[$cinfo + 412 >> 2] | 0) + -1 | 0; + L33 : while (1) { + $add$ptr = (HEAP32[$arrayidx20 >> 2] | 0) + ($k$0 * 3 | 0) | 0; + if (($k$0 | 0) >= ($kex$1 | 0) ? _arith_decode($cinfo, $add$ptr) | 0 : 0) { + label = 38; + break; + } + $inc56 = $k$0 + 1 | 0; + $add$ptr2858 = $22 + (HEAP32[$21 + ($inc56 << 2) >> 2] << 1) | 0; + L38 : do if (!(HEAP16[$add$ptr2858 >> 1] | 0)) { + $add$ptr2862 = $add$ptr2858; + $inc61 = $inc56; + $st$060 = $add$ptr; while (1) { - $$1144 = ($$1144$in | 0) % 8 | 0; - if ($$1 >>> 0 >= 8) { - label = 13; - break; - } - $39 = HEAP32[48 + ($$1144 << 2) >> 2] | 0; - $40 = Math_imul($39, $1) | 0; - $42 = HEAP32[80 + ($$1144 << 2) >> 2] | 0; - if ((HEAP16[$35 + ($40 + $42 << 1) >> 1] | 0) > 0) { - $51 = $42; - $59 = $39; - break; + if (_arith_decode($cinfo, $st$060 + 1 | 0) | 0) break; + if (($inc61 | 0) >= (HEAP32[$Se >> 2] | 0)) { + label = 35; + break L33; } - $$1 = $$1 + 1 | 0; - $$1144$in = $$1144 + 1 | 0; - } - if ((label | 0) == 13) { - label = 0; - if (($$1 | 0) == 8) { - label = 15; - break; + $add$ptr59 = $st$060 + 3 | 0; + $inc = $inc61 + 1 | 0; + $add$ptr28 = $22 + (HEAP32[$21 + ($inc << 2) >> 2] << 1) | 0; + if (!(HEAP16[$add$ptr28 >> 1] | 0)) { + $add$ptr2862 = $add$ptr28; + $inc61 = $inc; + $st$060 = $add$ptr59; + } else { + $add$ptr28$lcssa = $add$ptr28; + $inc$lcssa = $inc; + $st$0$lcssa = $add$ptr59; + label = 26; + break L38; } - $51 = HEAP32[80 + ($$1144 << 2) >> 2] | 0; - $59 = HEAP32[48 + ($$1144 << 2) >> 2] | 0; } - HEAP32[$6 + 28 + ($53 << 2) >> 2] = $51 + $34; - $54 = HEAP32[$28 >> 2] | 0; - HEAP32[$6 + 40028 + ($54 << 2) >> 2] = $59 + (HEAP32[$6 + 40028 + ($54 + -1 << 2) >> 2] | 0); - $61 = HEAP32[$28 >> 2] | 0; - $62 = $6 + 28 + ($61 << 2) | 0; - if ((HEAP32[$62 >> 2] | 0) == ($$0137 | 0) ? (HEAP32[$6 + 40028 + ($61 << 2) >> 2] | 0) == ($10 | 0) : 0) { - label = 18; + if (!(_arith_decode($cinfo, $arraydecay50) | 0)) { + HEAP16[$add$ptr2862 >> 1] = $conv56; + $inc53 = $inc61; break; - } - $68 = $61 + 1 | 0; - HEAP32[$28 >> 2] = $68; - if (($68 | 0) == 9999) { - label = 21; + } else { + HEAP16[$add$ptr2862 >> 1] = $conv54; + $inc53 = $inc61; break; } - $$0143 = $$1144; - $32 = HEAP32[$6 + 40028 + ($61 << 2) >> 2] | 0; - $34 = HEAP32[$62 >> 2] | 0; - $53 = $68; - } - if ((label | 0) == 15) { - _arLog(0, 3, 24224, $vararg_buffer1); - $$0 = -1; + } else { + $add$ptr28$lcssa = $add$ptr2858; + $inc$lcssa = $inc56; + $st$0$lcssa = $add$ptr; + label = 26; + } while (0); + do if ((label | 0) == 26) { + label = 0; + if (_arith_decode($cinfo, $st$0$lcssa + 2 | 0) | 0) { + $33 = HEAP16[$add$ptr28$lcssa >> 1] | 0; + $conv = $33 << 16 >> 16; + if ($33 << 16 >> 16 < 0) { + HEAP16[$add$ptr28$lcssa >> 1] = $shl11 + $conv; + $inc53 = $inc$lcssa; + break; + } else { + HEAP16[$add$ptr28$lcssa >> 1] = $shl + $conv; + $inc53 = $inc$lcssa; + break; + } + } else $inc53 = $inc$lcssa; + } while (0); + if (($inc53 | 0) < (HEAP32[$Se >> 2] | 0)) $k$0 = $inc53; else { + label = 38; break; - } else if ((label | 0) == 18) { - $$0138 = 0; - $$0141 = 0; - $$2 = 1; - while (1) { - if (($$2 | 0) >= ($61 | 0)) break; - $73 = (HEAP32[$6 + 28 + ($$2 << 2) >> 2] | 0) - $$0137 | 0; - $74 = Math_imul($73, $73) | 0; - $77 = (HEAP32[$6 + 40028 + ($$2 << 2) >> 2] | 0) - $10 | 0; - $79 = (Math_imul($77, $77) | 0) + $74 | 0; - $80 = ($79 | 0) > ($$0141 | 0); - $$0138 = $80 ? $$2 : $$0138; - $$0141 = $80 ? $79 : $$0141; - $$2 = $$2 + 1 | 0; - } - $$3 = 0; - while (1) { - if (($$3 | 0) >= ($$0138 | 0)) break; - HEAP32[$7 + ($$3 << 2) >> 2] = HEAP32[$6 + 28 + ($$3 << 2) >> 2]; - HEAP32[$8 + ($$3 << 2) >> 2] = HEAP32[$6 + 40028 + ($$3 << 2) >> 2]; - $$3 = $$3 + 1 | 0; - } - $$4 = $$0138; - $91 = $61; - while (1) { - if (($$4 | 0) >= ($91 | 0)) break; - $94 = $$4 - $$0138 | 0; - HEAP32[$6 + 28 + ($94 << 2) >> 2] = HEAP32[$6 + 28 + ($$4 << 2) >> 2]; - HEAP32[$6 + 40028 + ($94 << 2) >> 2] = HEAP32[$6 + 40028 + ($$4 << 2) >> 2]; - $$4 = $$4 + 1 | 0; - $91 = HEAP32[$28 >> 2] | 0; - } - $$5 = 0; + } + } + if ((label | 0) == 35) { + $35 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$35 + 20 >> 2] = 117; + FUNCTION_TABLE_vii[HEAP32[$35 + 4 >> 2] & 255]($cinfo, -1); + HEAP32[$ct >> 2] = -1; + return 1; + } else if ((label | 0) == 38) return 1; + return 0; +} + +function __ZNK6vision28BinaryHierarchicalClusteringILi96EE5queryERNSt3__214priority_queueINS_17PriorityQueueItemILi96EEENS2_6vectorIS5_NS2_9allocatorIS5_EEEENS2_4lessIS5_EEEEPKNS_4NodeILi96EEEPKh($this, $queue, $node, $feature) { + $this = $this | 0; + $queue = $queue | 0; + $node = $node | 0; + $feature = $feature | 0; + var $11 = 0, $12 = 0, $14 = 0, $15 = 0, $17 = 0, $20 = 0, $21 = 0, $25 = 0, $30 = 0, $31 = 0, $35 = 0, $4 = 0, $40 = 0, $9 = 0, $__end_$i$i = 0, $__end_$i$i21 = 0, $__end_$i17 = 0, $__soon_to_be_end$0$i$i$add$i$i = 0, $__soon_to_be_end$0$i$i$idx$i$i = 0, $agg$tmp = 0, $agg$tmp$i$i$i = 0, $agg$tmp$i$i$i$byval_copy = 0, $agg$tmp3$i$i$i = 0, $agg$tmp3$i$i$i$byval_copy = 0, $agg$tmp4 = 0, $agg$tmp4$i$i$i = 0, $agg$tmp4$i$i$i$byval_copy = 0, $agg$tmp65$i = 0, $agg$tmp8 = 0, $call27 = 0, $call5 = 0, $i$0 = 0, $incdec$ptr$i$i$i$i = 0, $mNumNodesPopped = 0, $nodes = 0, $sub$ptr$sub$i$i$i = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 64 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(64); + $agg$tmp4$i$i$i$byval_copy = sp + 8 | 0; + $agg$tmp3$i$i$i$byval_copy = sp + 56 | 0; + $agg$tmp$i$i$i$byval_copy = sp + 52 | 0; + $agg$tmp$i$i$i = sp + 44 | 0; + $agg$tmp3$i$i$i = sp + 36 | 0; + $agg$tmp4$i$i$i = sp + 28 | 0; + $agg$tmp65$i = sp; + $agg$tmp = sp + 48 | 0; + $agg$tmp4 = sp + 40 | 0; + $agg$tmp8 = sp + 32 | 0; + $nodes = sp + 16 | 0; + if (__ZNK6vision4NodeILi96EE4leafEv($node) | 0) { + HEAP32[$agg$tmp >> 2] = HEAP32[$this + 76 >> 2]; + $call5 = __ZNK6vision4NodeILi96EE12reverseIndexEv($node) | 0; + HEAP32[$agg$tmp4 >> 2] = HEAP32[$call5 >> 2]; + $__end_$i17 = (__ZNK6vision4NodeILi96EE12reverseIndexEv($node) | 0) + 4 | 0; + HEAP32[$agg$tmp8 >> 2] = HEAP32[$__end_$i17 >> 2]; + HEAP32[$agg$tmp$i$i$i$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp3$i$i$i$byval_copy >> 2] = HEAP32[$agg$tmp4 >> 2]; + HEAP32[$agg$tmp4$i$i$i$byval_copy >> 2] = HEAP32[$agg$tmp8 >> 2]; + __ZNSt3__26vectorIiNS_9allocatorIiEEE6insertINS_11__wrap_iterIPKiEEEENS_9enable_ifIXaasr21__is_forward_iteratorIT_EE5valuesr16is_constructibleIiNS_15iterator_traitsISA_E9referenceEEE5valueENS5_IPiEEE4typeES8_SA_SA_($this + 72 | 0, $agg$tmp$i$i$i$byval_copy, $agg$tmp3$i$i$i$byval_copy, $agg$tmp4$i$i$i$byval_copy) | 0; + } else { + HEAP32[$nodes >> 2] = 0; + $__end_$i$i = $nodes + 4 | 0; + HEAP32[$__end_$i$i >> 2] = 0; + HEAP32[$nodes + 8 >> 2] = 0; + __ZNK6vision4NodeILi96EE7nearestERNSt3__26vectorIPKS1_NS2_9allocatorIS5_EEEERNS2_14priority_queueINS_17PriorityQueueItemILi96EEENS3_ISC_NS6_ISC_EEEENS2_4lessISC_EEEEPKh($node, $nodes, $queue, $feature); + $i$0 = 0; + while (1) { + $4 = HEAP32[$nodes >> 2] | 0; + if ($i$0 >>> 0 >= (HEAP32[$__end_$i$i >> 2] | 0) - $4 >> 2 >>> 0) break; + __ZNK6vision28BinaryHierarchicalClusteringILi96EE5queryERNSt3__214priority_queueINS_17PriorityQueueItemILi96EEENS2_6vectorIS5_NS2_9allocatorIS5_EEEENS2_4lessIS5_EEEEPKNS_4NodeILi96EEEPKh($this, $queue, HEAP32[$4 + ($i$0 << 2) >> 2] | 0, $feature); + $i$0 = $i$0 + 1 | 0; + } + $mNumNodesPopped = $this + 100 | 0; + if ((HEAP32[$mNumNodesPopped >> 2] | 0) < (HEAP32[$this + 104 >> 2] | 0) ? ($9 = HEAP32[$queue >> 2] | 0, $__end_$i$i21 = $queue + 4 | 0, ($9 | 0) != (HEAP32[$__end_$i$i21 >> 2] | 0)) : 0) { + $call27 = __ZNK6vision17PriorityQueueItemILi96EE4nodeEv($9) | 0; + $11 = HEAP32[$queue >> 2] | 0; + $12 = HEAP32[$__end_$i$i21 >> 2] | 0; + $sub$ptr$sub$i$i$i = $12 - $11 | 0; + if (($sub$ptr$sub$i$i$i | 0) > 8) { + $14 = $11; + $incdec$ptr$i$i$i$i = $12 + -8 | 0; + $15 = $14; + $17 = HEAP32[$15 >> 2] | 0; + $20 = HEAP32[$15 + 4 >> 2] | 0; + $21 = $agg$tmp4$i$i$i$byval_copy; + HEAP32[$21 >> 2] = $17; + HEAP32[$21 + 4 >> 2] = $20; + $25 = $incdec$ptr$i$i$i$i; + $30 = HEAP32[$25 + 4 >> 2] | 0; + $31 = $14; + HEAP32[$31 >> 2] = HEAP32[$25 >> 2]; + HEAP32[$31 + 4 >> 2] = $30; + $35 = $incdec$ptr$i$i$i$i; + HEAP32[$35 >> 2] = $17; + HEAP32[$35 + 4 >> 2] = $20; + __ZN6vision17PriorityQueueItemILi96EED2Ev($agg$tmp4$i$i$i$byval_copy); + HEAP32[$agg$tmp$i$i$i >> 2] = $11; + HEAP32[$agg$tmp3$i$i$i >> 2] = $incdec$ptr$i$i$i$i; + HEAP32[$agg$tmp4$i$i$i >> 2] = $11; + HEAP32[$agg$tmp$i$i$i$byval_copy >> 2] = HEAP32[$agg$tmp$i$i$i >> 2]; + HEAP32[$agg$tmp3$i$i$i$byval_copy >> 2] = HEAP32[$agg$tmp3$i$i$i >> 2]; + HEAP32[$agg$tmp4$i$i$i$byval_copy >> 2] = HEAP32[$agg$tmp4$i$i$i >> 2]; + __ZNSt3__211__sift_downIRNS_4lessIN6vision17PriorityQueueItemILi96EEEEENS_11__wrap_iterIPS4_EEEEvT0_SA_T_NS_15iterator_traitsISA_E15difference_typeESA_($agg$tmp$i$i$i$byval_copy, $agg$tmp3$i$i$i$byval_copy, $agg$tmp65$i, ($sub$ptr$sub$i$i$i >>> 3) + -1 | 0, $agg$tmp4$i$i$i$byval_copy); + $40 = HEAP32[$__end_$i$i21 >> 2] | 0; + } else $40 = $12; + $__soon_to_be_end$0$i$i$idx$i$i = 0; while (1) { - if (($$5 | 0) >= ($$0138 | 0)) break; - $103 = $$5 - $$0138 | 0; - HEAP32[$6 + 28 + ((HEAP32[$28 >> 2] | 0) + $103 << 2) >> 2] = HEAP32[$7 + ($$5 << 2) >> 2]; - HEAP32[$6 + 40028 + ((HEAP32[$28 >> 2] | 0) + $103 << 2) >> 2] = HEAP32[$8 + ($$5 << 2) >> 2]; - $$5 = $$5 + 1 | 0; + if (($__soon_to_be_end$0$i$i$idx$i$i | 0) == -1) break; + $__soon_to_be_end$0$i$i$add$i$i = $__soon_to_be_end$0$i$i$idx$i$i + -1 | 0; + __ZN6vision17PriorityQueueItemILi96EED2Ev($40 + ($__soon_to_be_end$0$i$i$add$i$i << 3) | 0); + $__soon_to_be_end$0$i$i$idx$i$i = $__soon_to_be_end$0$i$i$add$i$i; } - HEAP32[$6 + 28 + (HEAP32[$28 >> 2] << 2) >> 2] = HEAP32[$29 >> 2]; - HEAP32[$6 + 40028 + (HEAP32[$28 >> 2] << 2) >> 2] = HEAP32[$30 >> 2]; - HEAP32[$28 >> 2] = (HEAP32[$28 >> 2] | 0) + 1; - $$0 = 0; - break; - } else if ((label | 0) == 21) { - _arLog(0, 3, 24231, $vararg_buffer3); - $$0 = -1; - break; + HEAP32[$__end_$i$i21 >> 2] = $40 + -8; + HEAP32[$mNumNodesPopped >> 2] = (HEAP32[$mNumNodesPopped >> 2] | 0) + 1; + __ZNK6vision28BinaryHierarchicalClusteringILi96EE5queryERNSt3__214priority_queueINS_17PriorityQueueItemILi96EEENS2_6vectorIS5_NS2_9allocatorIS5_EEEENS2_4lessIS5_EEEEPKNS_4NodeILi96EEEPKh($this, $queue, $call27, $feature); } - } else label = 7; while (0); - if ((label | 0) == 7) { - _arLog(0, 3, 24217, $vararg_buffer); - $$0 = -1; + __ZNSt3__213__vector_baseIPKN6vision4NodeILi96EEENS_9allocatorIS5_EEED2Ev($nodes); } STACKTOP = sp; - return $$0 | 0; + return; } -function __ZN6vision21ComputePolarGradientsEPfPKfmm($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $$0 = 0, $$0184 = 0, $$0185 = 0, $$0186 = 0, $$0187 = 0, $$0192 = 0, $$0196 = 0, $$0196$pn = 0, $$1 = 0, $$1$pn = 0, $$1189 = 0, $$1189$pn = 0, $$1193 = 0, $$1197 = 0, $$1197$pn = 0, $$2 = 0, $$2190 = 0, $$2194 = 0, $$2198 = 0, $$3191 = 0, $$3195 = 0, $$3199 = 0, $$pn = 0, $$pn200 = 0, $$pn201 = 0, $101 = 0.0, $105 = 0.0, $11 = 0.0, $110 = 0.0, $115 = 0, $119 = 0.0, $122 = 0.0, $126 = 0.0, $131 = 0.0, $135 = 0.0, $138 = 0.0, $140 = 0.0, $144 = 0.0, $149 = 0.0, $15 = 0.0, $150 = 0, $154 = 0.0, $157 = 0.0, $161 = 0.0, $166 = 0.0, $20 = 0.0, $22 = 0, $23 = 0.0, $26 = 0.0, $28 = 0.0, $32 = 0.0, $37 = 0.0, $39 = 0, $4 = 0, $43 = 0.0, $46 = 0.0, $5 = 0, $50 = 0.0, $55 = 0.0, $59 = 0, $6 = 0, $61 = 0, $62 = 0, $64 = 0.0, $65 = 0.0, $67 = 0.0, $71 = 0.0, $76 = 0.0, $77 = 0, $8 = 0.0, $80 = 0.0, $83 = 0.0, $87 = 0.0, $9 = 0.0, $92 = 0.0, $98 = 0.0; - $4 = $2 + -1 | 0; - $5 = $1 + ($2 << 2) | 0; - $6 = $1 + 4 | 0; - $8 = +HEAPF32[$1 >> 2]; - $9 = +HEAPF32[$6 >> 2] - $8; - $11 = +HEAPF32[$5 >> 2] - $8; - $15 = +Math_atan2(+$11, +$9) + 3.141592653589793; - HEAPF32[$0 >> 2] = $15; - $20 = +Math_sqrt(+($9 * $9 + $11 * $11)); - HEAPF32[$0 + 4 >> 2] = $20; - $$0186 = 1; - $$0192 = $6; - $$pn = $5; - $$pn201 = $0; +function __ZNKSt3__29money_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_putES4_bRNS_8ios_baseEce($this, $__s, $__intl, $__iob, $__fl, $__units) { + $this = $this | 0; + $__s = $__s | 0; + $__intl = $__intl | 0; + $__iob = $__iob | 0; + $__fl = $__fl | 0; + $__units = +$__units; + var $0 = 0, $11 = 0, $13 = 0, $15 = 0, $22 = 0, $23 = 0, $3 = 0, $7 = 0, $8 = 0, $9 = 0, $__bb = 0, $__buf = 0, $__db$0 = 0, $__digits = 0, $__dp = 0, $__fd = 0, $__grp = 0, $__hd$sroa$0$0 = 0, $__hn$sroa$0$0 = 0, $__hw$sroa$0$0 = 0, $__i$0$i$i = 0, $__i$0$i$i37 = 0, $__i$0$i$i45 = 0, $__loc = 0, $__mb$0 = 0, $__mbuf = 0, $__me = 0, $__mi = 0, $__n$0 = 0, $__pat = 0, $__sn = 0, $__sym = 0, $__ts = 0, $add31$sink = 0, $add33 = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, $call = 0, $call$i = 0, $call37 = 0, $call4 = 0, $call46 = 0, $call5 = 0, $call8 = 0, $cond$i80$sink = 0, $cond$i89$sink = 0, $vararg_buffer1 = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 416 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(416); + $agg$tmp$byval_copy = sp + 336 | 0; + $vararg_buffer1 = sp + 328 | 0; + $__buf = sp + 224 | 0; + $__bb = sp + 400 | 0; + $__digits = sp + 112 | 0; + $__loc = sp + 396 | 0; + $__pat = sp + 408 | 0; + $__dp = sp + 405 | 0; + $__ts = sp + 404 | 0; + $__grp = sp + 384 | 0; + $__sym = sp + 372 | 0; + $__sn = sp + 360 | 0; + $__fd = sp + 356 | 0; + $__mbuf = sp; + $__mi = sp + 352 | 0; + $__me = sp + 344 | 0; + $agg$tmp = sp + 348 | 0; + HEAP32[$__bb >> 2] = $__buf; + HEAPF64[$agg$tmp$byval_copy >> 3] = $__units; + $call = _snprintf($__buf, 100, 61297, $agg$tmp$byval_copy) | 0; + if ($call >>> 0 > 99) { + $call4 = __ZNSt3__26__clocEv() | 0; + HEAPF64[$vararg_buffer1 >> 3] = $__units; + $call5 = __ZNSt3__219__libcpp_asprintf_lEPPcP15__locale_structPKcz($__bb, $call4, 61297, $vararg_buffer1) | 0; + $0 = HEAP32[$__bb >> 2] | 0; + if (!$0) __ZSt17__throw_bad_allocv(); + $call8 = _malloc($call5) | 0; + if (!$call8) __ZSt17__throw_bad_allocv(); else { + $__db$0 = $call8; + $__hd$sroa$0$0 = $call8; + $__hn$sroa$0$0 = $0; + $__n$0 = $call5; + } + } else { + $__db$0 = $__digits; + $__hd$sroa$0$0 = 0; + $__hn$sroa$0$0 = 0; + $__n$0 = $call; + } + __ZNKSt3__28ios_base6getlocEv($__loc, $__iob); + $call$i = __ZNKSt3__26locale9use_facetERNS0_2idE($__loc, 67360) | 0; + $3 = HEAP32[$__bb >> 2] | 0; + FUNCTION_TABLE_iiiii[HEAP32[(HEAP32[$call$i >> 2] | 0) + 32 >> 2] & 15]($call$i, $3, $3 + $__n$0 | 0, $__db$0) | 0; + if (!$__n$0) $7 = 0; else $7 = (HEAP8[HEAP32[$__bb >> 2] >> 0] | 0) == 45; + HEAP32[$__grp >> 2] = 0; + HEAP32[$__grp + 4 >> 2] = 0; + HEAP32[$__grp + 8 >> 2] = 0; + $__i$0$i$i = 0; while (1) { - $$0196 = $$pn201 + 8 | 0; - $$0187 = $$pn + 4 | 0; - if ($$0186 >>> 0 >= $4 >>> 0) break; - $39 = $$0192 + 4 | 0; - $43 = +HEAPF32[$39 >> 2] - +HEAPF32[$$0192 + -4 >> 2]; - $46 = +HEAPF32[$$0187 >> 2] - +HEAPF32[$$0192 >> 2]; - $50 = +Math_atan2(+$46, +$43) + 3.141592653589793; - HEAPF32[$$0196 >> 2] = $50; - $55 = +Math_sqrt(+($43 * $43 + $46 * $46)); - HEAPF32[$$pn201 + 12 >> 2] = $55; - $$0186 = $$0186 + 1 | 0; - $$0192 = $39; - $$pn = $$0187; - $$pn201 = $$0196; - } - $22 = $3 + -1 | 0; - $23 = +HEAPF32[$$0192 >> 2]; - $26 = $23 - +HEAPF32[$$0192 + -4 >> 2]; - $28 = +HEAPF32[$$0187 >> 2] - $23; - $32 = +Math_atan2(+$28, +$26) + 3.141592653589793; - HEAPF32[$$0196 >> 2] = $32; - $37 = +Math_sqrt(+($26 * $26 + $28 * $28)); - HEAPF32[$$pn201 + 12 >> 2] = $37; - $$0185 = 1; - $$0196$pn = $$0196; - $$1 = $5 + ($2 << 2) | 0; - $$1189 = $1; - $$1193 = $5; + if (($__i$0$i$i | 0) == 3) break; + HEAP32[$__grp + ($__i$0$i$i << 2) >> 2] = 0; + $__i$0$i$i = $__i$0$i$i + 1 | 0; + } + HEAP32[$__sym >> 2] = 0; + HEAP32[$__sym + 4 >> 2] = 0; + HEAP32[$__sym + 8 >> 2] = 0; + $__i$0$i$i37 = 0; while (1) { - $$1197 = $$0196$pn + 8 | 0; - if ($$0185 >>> 0 >= $22 >>> 0) break; - $77 = $$1193 + 4 | 0; - $80 = +HEAPF32[$77 >> 2] - +HEAPF32[$$1193 >> 2]; - $83 = +HEAPF32[$$1 >> 2] - +HEAPF32[$$1189 >> 2]; - $87 = +Math_atan2(+$83, +$80) + 3.141592653589793; - HEAPF32[$$1197 >> 2] = $87; - $92 = +Math_sqrt(+($80 * $80 + $83 * $83)); - HEAPF32[$$0196$pn + 12 >> 2] = $92; - $$0184 = 1; - $$1$pn = $$1; - $$1189$pn = $$1189; - $$2194 = $77; - $$2198 = $$0196$pn + 16 | 0; - while (1) { - $$2 = $$1$pn + 4 | 0; - $$2190 = $$1189$pn + 4 | 0; - if ($$0184 >>> 0 >= $4 >>> 0) break; - $115 = $$2194 + 4 | 0; - $119 = +HEAPF32[$115 >> 2] - +HEAPF32[$$2194 + -4 >> 2]; - $122 = +HEAPF32[$$2 >> 2] - +HEAPF32[$$2190 >> 2]; - $126 = +Math_atan2(+$122, +$119) + 3.141592653589793; - HEAPF32[$$2198 >> 2] = $126; - $131 = +Math_sqrt(+($119 * $119 + $122 * $122)); - HEAPF32[$$2198 + 4 >> 2] = $131; - $$0184 = $$0184 + 1 | 0; - $$1$pn = $$2; - $$1189$pn = $$2190; - $$2194 = $115; - $$2198 = $$2198 + 8 | 0; - } - $98 = +HEAPF32[$$2194 >> 2] - +HEAPF32[$$2194 + -4 >> 2]; - $101 = +HEAPF32[$$2 >> 2] - +HEAPF32[$$2190 >> 2]; - $105 = +Math_atan2(+$101, +$98) + 3.141592653589793; - HEAPF32[$$2198 >> 2] = $105; - $110 = +Math_sqrt(+($98 * $98 + $101 * $101)); - HEAPF32[$$2198 + 4 >> 2] = $110; - $$0185 = $$0185 + 1 | 0; - $$0196$pn = $$2198; - $$1 = $$1$pn + 8 | 0; - $$1189 = $$1189$pn + 8 | 0; - $$1193 = $$2194 + 4 | 0; - } - $59 = $1 + ((Math_imul($22, $2) | 0) << 2) | 0; - $61 = $59 + (0 - $2 << 2) | 0; - $62 = $59 + 4 | 0; - $64 = +HEAPF32[$59 >> 2]; - $65 = +HEAPF32[$62 >> 2] - $64; - $67 = $64 - +HEAPF32[$61 >> 2]; - $71 = +Math_atan2(+$67, +$65) + 3.141592653589793; - HEAPF32[$$1197 >> 2] = $71; - $76 = +Math_sqrt(+($65 * $65 + $67 * $67)); - HEAPF32[$$0196$pn + 12 >> 2] = $76; - $$0 = 1; - $$1197$pn = $$1197; - $$3195 = $62; - $$pn200 = $61; + if (($__i$0$i$i37 | 0) == 3) break; + HEAP32[$__sym + ($__i$0$i$i37 << 2) >> 2] = 0; + $__i$0$i$i37 = $__i$0$i$i37 + 1 | 0; + } + HEAP32[$__sn >> 2] = 0; + HEAP32[$__sn + 4 >> 2] = 0; + HEAP32[$__sn + 8 >> 2] = 0; + $__i$0$i$i45 = 0; while (1) { - $$3199 = $$1197$pn + 8 | 0; - $$3191 = $$pn200 + 4 | 0; - if ($$0 >>> 0 >= $4 >>> 0) break; - $150 = $$3195 + 4 | 0; - $154 = +HEAPF32[$150 >> 2] - +HEAPF32[$$3195 + -4 >> 2]; - $157 = +HEAPF32[$$3195 >> 2] - +HEAPF32[$$3191 >> 2]; - $161 = +Math_atan2(+$157, +$154) + 3.141592653589793; - HEAPF32[$$3199 >> 2] = $161; - $166 = +Math_sqrt(+($154 * $154 + $157 * $157)); - HEAPF32[$$1197$pn + 12 >> 2] = $166; - $$0 = $$0 + 1 | 0; - $$1197$pn = $$3199; - $$3195 = $150; - $$pn200 = $$3191; - } - $135 = +HEAPF32[$$3195 >> 2]; - $138 = $135 - +HEAPF32[$$3195 + -4 >> 2]; - $140 = $135 - +HEAPF32[$$3191 >> 2]; - $144 = +Math_atan2(+$140, +$138) + 3.141592653589793; - HEAPF32[$$3199 >> 2] = $144; - $149 = +Math_sqrt(+($138 * $138 + $140 * $140)); - HEAPF32[$$1197$pn + 12 >> 2] = $149; - return; -} -function _arPattLoadFromBuffer($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $$0140 = 0, $$0141 = 0, $$0143 = 0, $$0146 = 0, $$0149 = 0, $$0150 = 0, $$0151 = 0, $$0152 = 0, $$1 = 0, $$1142 = 0, $$1144 = 0, $$1147 = 0, $$2 = 0, $$2145 = 0, $$2148 = 0, $$3 = 0, $14 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $24 = 0, $26 = 0, $27 = 0, $29 = 0, $31 = 0, $33 = 0, $34 = 0, $35 = 0, $4 = 0, $44 = 0, $47 = 0, $51 = 0, $57 = 0, $6 = 0, $64 = 0, $67 = 0, $69 = 0, $75 = 0, $77 = 0, $79 = 0, $82 = 0.0, $87 = 0, $92 = 0, $94 = 0, $96 = 0, $99 = 0.0, $vararg_buffer1 = 0, $vararg_buffer3 = 0, $vararg_buffer5 = 0, label = 0, sp = 0; + if (($__i$0$i$i45 | 0) == 3) break; + HEAP32[$__sn + ($__i$0$i$i45 << 2) >> 2] = 0; + $__i$0$i$i45 = $__i$0$i$i45 + 1 | 0; + } + __ZNSt3__211__money_putIcE13__gather_infoEbbRKNS_6localeERNS_10money_base7patternERcS8_RNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEESF_SF_Ri($__intl, $7, $__loc, $__pat, $__dp, $__ts, $__grp, $__sym, $__sn, $__fd); + $8 = HEAP32[$__fd >> 2] | 0; + if (($__n$0 | 0) > ($8 | 0)) { + $9 = HEAP8[$__sn + 11 >> 0] | 0; + $11 = HEAP8[$__sym + 11 >> 0] | 0; + $add31$sink = $8 + 1 + ($__n$0 - $8 << 1) | 0; + $cond$i80$sink = $9 << 24 >> 24 < 0 ? HEAP32[$__sn + 4 >> 2] | 0 : $9 & 255; + $cond$i89$sink = $11 << 24 >> 24 < 0 ? HEAP32[$__sym + 4 >> 2] | 0 : $11 & 255; + } else { + $13 = HEAP8[$__sn + 11 >> 0] | 0; + $15 = HEAP8[$__sym + 11 >> 0] | 0; + $add31$sink = $8 + 2 | 0; + $cond$i80$sink = $13 << 24 >> 24 < 0 ? HEAP32[$__sn + 4 >> 2] | 0 : $13 & 255; + $cond$i89$sink = $15 << 24 >> 24 < 0 ? HEAP32[$__sym + 4 >> 2] | 0 : $15 & 255; + } + $add33 = $add31$sink + $cond$i80$sink + $cond$i89$sink | 0; + if ($add33 >>> 0 > 100) { + $call37 = _malloc($add33) | 0; + if (!$call37) __ZSt17__throw_bad_allocv(); else { + $__hw$sroa$0$0 = $call37; + $__mb$0 = $call37; + } + } else { + $__hw$sroa$0$0 = 0; + $__mb$0 = $__mbuf; + } + __ZNSt3__211__money_putIcE8__formatEPcRS2_S3_jPKcS5_RKNS_5ctypeIcEEbRKNS_10money_base7patternEccRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEESL_SL_i($__mb$0, $__mi, $__me, HEAP32[$__iob + 4 >> 2] | 0, $__db$0, $__db$0 + $__n$0 | 0, $call$i, $7, $__pat, HEAP8[$__dp >> 0] | 0, HEAP8[$__ts >> 0] | 0, $__grp, $__sym, $__sn, $8); + HEAP32[$agg$tmp >> 2] = HEAP32[$__s >> 2]; + $22 = HEAP32[$__mi >> 2] | 0; + $23 = HEAP32[$__me >> 2] | 0; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + $call46 = __ZNSt3__216__pad_and_outputIcNS_11char_traitsIcEEEENS_19ostreambuf_iteratorIT_T0_EES6_PKS4_S8_S8_RNS_8ios_baseES4_($agg$tmp$byval_copy, $__mb$0, $22, $23, $__iob, $__fl) | 0; + if ($__hw$sroa$0$0 | 0) _free($__hw$sroa$0$0); + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($__sn); + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($__sym); + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($__grp); + __ZNSt3__26localeD2Ev($__loc); + if ($__hd$sroa$0$0 | 0) _free($__hd$sroa$0$0); + if ($__hn$sroa$0$0 | 0) _free($__hn$sroa$0$0); + STACKTOP = sp; + return $call46 | 0; +} + +function _arPattLoadFromBuffer($pattHandle, $buffer) { + $pattHandle = $pattHandle | 0; + $buffer = $buffer | 0; + var $0 = 0, $14 = 0, $15 = 0, $19 = 0.0, $21 = 0, $25 = 0.0, $3 = 0, $4 = 0, $9 = 0, $add = 0, $add109 = 0, $add152 = 0, $arrayidx139 = 0, $arrayidx39 = 0, $arrayidx48 = 0, $arrayidx68 = 0, $arrayidx96 = 0, $buffPtr$0 = 0, $buffPtr$1 = 0, $buffPtr$2 = 0, $buffPtr$3 = 0, $call = 0, $call31 = 0, $call32 = 0, $cmp40 = 0, $cmp59 = 0, $div84 = 0, $h$0 = 0, $i$0 = 0, $i$1 = 0, $i$2 = 0, $i1$0 = 0, $i2$0 = 0, $i3$0 = 0, $l$0 = 0, $l$1 = 0, $l$2 = 0, $m$0 = 0, $m$1 = 0, $mul = 0, $patt = 0, $pattBW = 0, $pattSize = 0, $pattf = 0, $pattpow = 0, $pattpowBW = 0, $retval$0 = 0, $sub = 0, $sub140 = 0, $sub97 = 0, $vararg_buffer1 = 0, $vararg_buffer3 = 0, $vararg_buffer5 = 0, label = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 32 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); $vararg_buffer5 = sp + 24 | 0; $vararg_buffer3 = sp + 16 | 0; $vararg_buffer1 = sp + 8 | 0; - do if ($0) { - if (!$1) { + do if ($pattHandle) { + if (!$buffer) { _arLog(0, 3, 24297, $vararg_buffer1); - $$0 = -1; + $retval$0 = -1; break; } - $4 = $0 + 8 | 0; - $6 = HEAP32[$0 + 4 >> 2] | 0; - $$0146 = 0; + $pattf = $pattHandle + 8 | 0; + $0 = HEAP32[$pattHandle + 4 >> 2] | 0; + $i$0 = 0; while (1) { - if (($$0146 | 0) >= ($6 | 0)) break; - if (!(HEAP32[(HEAP32[$4 >> 2] | 0) + ($$0146 << 2) >> 2] | 0)) break; - $$0146 = $$0146 + 1 | 0; + if (($i$0 | 0) >= ($0 | 0)) break; + if (!(HEAP32[(HEAP32[$pattf >> 2] | 0) + ($i$0 << 2) >> 2] | 0)) break; + $i$0 = $i$0 + 1 | 0; } - if (($$0146 | 0) != ($6 | 0)) { - $14 = ___strdup($1) | 0; - if (!$14) { + if (($i$0 | 0) != ($0 | 0)) { + $call = ___strdup($buffer) | 0; + if (!$call) { _arLog(0, 3, 24342, $vararg_buffer3); - $$0 = -1; + $retval$0 = -1; break; } - $17 = $0 + 28 | 0; - $18 = $0 + 12 | 0; - $19 = $$0146 << 2; - $20 = $0 + 20 | 0; - $21 = $0 + 16 | 0; - $22 = $0 + 24 | 0; - $$0140 = _strtok($14, 24365) | 0; - $$0152 = 0; + $pattSize = $pattHandle + 28 | 0; + $patt = $pattHandle + 12 | 0; + $mul = $i$0 << 2; + $pattBW = $pattHandle + 20 | 0; + $pattpow = $pattHandle + 16 | 0; + $pattpowBW = $pattHandle + 24 | 0; + $buffPtr$0 = _strtok($call, 24365) | 0; + $h$0 = 0; L16 : while (1) { - if ($$0152 >>> 0 >= 4) { + if ($h$0 >>> 0 >= 4) { label = 36; break; } - $24 = $$0152 + $19 | 0; - $$0143 = 0; - $$0149 = 0; - $$1 = $$0140; + $add = $h$0 + $mul | 0; + $buffPtr$1 = $buffPtr$0; + $i3$0 = 0; + $l$0 = 0; while (1) { - if ($$0149 >>> 0 >= 3) break; - $26 = ($$0149 | 0) == 0; - $27 = ($$0149 | 0) == 2; - $$0150 = 0; - $$1144 = $$0143; - $$2 = $$1; - $29 = HEAP32[$17 >> 2] | 0; + if ($i3$0 >>> 0 >= 3) break; + $cmp40 = ($i3$0 | 0) == 0; + $cmp59 = ($i3$0 | 0) == 2; + $3 = HEAP32[$pattSize >> 2] | 0; + $buffPtr$2 = $buffPtr$1; + $i2$0 = 0; + $l$1 = $l$0; while (1) { - if (($$0150 | 0) >= ($29 | 0)) break; - $$0151 = 0; - $$2145 = $$1144; - $$3 = $$2; - $31 = $29; + if (($i2$0 | 0) >= ($3 | 0)) break; + $4 = $3; + $buffPtr$3 = $buffPtr$2; + $i1$0 = 0; + $l$2 = $l$1; while (1) { - if (($$0151 | 0) >= ($31 | 0)) break; - if (!$$3) { + if (($i1$0 | 0) >= ($4 | 0)) break; + if (!$buffPtr$3) { label = 21; break L16; } - $33 = _atoi($$3) | 0; - $34 = _strtok(0, 24365) | 0; - $35 = 255 - $33 | 0; - $44 = (HEAP32[(HEAP32[$18 >> 2] | 0) + ($24 << 2) >> 2] | 0) + ((((Math_imul(HEAP32[$17 >> 2] | 0, $$0150) | 0) + $$0151 | 0) * 3 | 0) + $$0149 << 2) | 0; - HEAP32[$44 >> 2] = $35; - $47 = HEAP32[(HEAP32[$20 >> 2] | 0) + ($24 << 2) >> 2] | 0; - $51 = $47 + ((Math_imul(HEAP32[$17 >> 2] | 0, $$0150) | 0) + $$0151 << 2) | 0; - if (!$26) { - HEAP32[$51 >> 2] = (HEAP32[$51 >> 2] | 0) + $35; - if ($27) { - $57 = $47 + ((Math_imul(HEAP32[$17 >> 2] | 0, $$0150) | 0) + $$0151 << 2) | 0; - HEAP32[$57 >> 2] = (HEAP32[$57 >> 2] | 0) / 3 | 0; + $call31 = _atoi($buffPtr$3) | 0; + $call32 = _strtok(0, 24365) | 0; + $sub = 255 - $call31 | 0; + $arrayidx39 = (HEAP32[(HEAP32[$patt >> 2] | 0) + ($add << 2) >> 2] | 0) + ((((Math_imul(HEAP32[$pattSize >> 2] | 0, $i2$0) | 0) + $i1$0 | 0) * 3 | 0) + $i3$0 << 2) | 0; + HEAP32[$arrayidx39 >> 2] = $sub; + $9 = HEAP32[(HEAP32[$pattBW >> 2] | 0) + ($add << 2) >> 2] | 0; + $arrayidx48 = $9 + ((Math_imul(HEAP32[$pattSize >> 2] | 0, $i2$0) | 0) + $i1$0 << 2) | 0; + if (!$cmp40) { + HEAP32[$arrayidx48 >> 2] = (HEAP32[$arrayidx48 >> 2] | 0) + $sub; + if ($cmp59) { + $arrayidx68 = $9 + ((Math_imul(HEAP32[$pattSize >> 2] | 0, $i2$0) | 0) + $i1$0 << 2) | 0; + HEAP32[$arrayidx68 >> 2] = (HEAP32[$arrayidx68 >> 2] | 0) / 3 | 0; } - } else HEAP32[$51 >> 2] = $35; - $$0151 = $$0151 + 1 | 0; - $$2145 = $35 + $$2145 | 0; - $$3 = $34; - $31 = HEAP32[$17 >> 2] | 0; - } - $$0150 = $$0150 + 1 | 0; - $$1144 = $$2145; - $$2 = $$3; - $29 = $31; - } - $$0143 = $$1144; - $$0149 = $$0149 + 1 | 0; - $$1 = $$2; - } - $64 = HEAP32[$17 >> 2] | 0; - $67 = ($$0143 | 0) / (Math_imul($64 * 3 | 0, $64) | 0) | 0; - $$0141 = 0; - $$1147 = 0; - $69 = $64; + } else HEAP32[$arrayidx48 >> 2] = $sub; + $4 = HEAP32[$pattSize >> 2] | 0; + $buffPtr$3 = $call32; + $i1$0 = $i1$0 + 1 | 0; + $l$2 = $sub + $l$2 | 0; + } + $3 = $4; + $buffPtr$2 = $buffPtr$3; + $i2$0 = $i2$0 + 1 | 0; + $l$1 = $l$2; + } + $buffPtr$1 = $buffPtr$2; + $i3$0 = $i3$0 + 1 | 0; + $l$0 = $l$1; + } + $14 = HEAP32[$pattSize >> 2] | 0; + $div84 = ($l$0 | 0) / (Math_imul($14 * 3 | 0, $14) | 0) | 0; + $15 = $14; + $i$1 = 0; + $m$0 = 0; while (1) { - if ($$1147 >>> 0 >= (Math_imul($69 * 3 | 0, $69) | 0) >>> 0) break; - $75 = (HEAP32[(HEAP32[$18 >> 2] | 0) + ($24 << 2) >> 2] | 0) + ($$1147 << 2) | 0; - $77 = (HEAP32[$75 >> 2] | 0) - $67 | 0; - HEAP32[$75 >> 2] = $77; - $79 = (Math_imul($77, $77) | 0) + $$0141 | 0; - $$0141 = $79; - $$1147 = $$1147 + 1 | 0; - $69 = HEAP32[$17 >> 2] | 0; - } - $82 = +Math_sqrt(+(+($$0141 | 0))); - HEAPF64[(HEAP32[$21 >> 2] | 0) + ($24 << 3) >> 3] = $82 == 0.0 ? 1.0e-07 : $82; - $$1142 = 0; - $$2148 = 0; - $87 = $69; + if ($i$1 >>> 0 >= (Math_imul($15 * 3 | 0, $15) | 0) >>> 0) break; + $arrayidx96 = (HEAP32[(HEAP32[$patt >> 2] | 0) + ($add << 2) >> 2] | 0) + ($i$1 << 2) | 0; + $sub97 = (HEAP32[$arrayidx96 >> 2] | 0) - $div84 | 0; + HEAP32[$arrayidx96 >> 2] = $sub97; + $add109 = (Math_imul($sub97, $sub97) | 0) + $m$0 | 0; + $15 = HEAP32[$pattSize >> 2] | 0; + $i$1 = $i$1 + 1 | 0; + $m$0 = $add109; + } + $19 = +Math_sqrt(+(+($m$0 | 0))); + HEAPF64[(HEAP32[$pattpow >> 2] | 0) + ($add << 3) >> 3] = $19 == 0.0 ? 1.0e-07 : $19; + $21 = $15; + $i$2 = 0; + $m$1 = 0; while (1) { - if ($$2148 >>> 0 >= (Math_imul($87, $87) | 0) >>> 0) break; - $92 = (HEAP32[(HEAP32[$20 >> 2] | 0) + ($24 << 2) >> 2] | 0) + ($$2148 << 2) | 0; - $94 = (HEAP32[$92 >> 2] | 0) - $67 | 0; - HEAP32[$92 >> 2] = $94; - $96 = (Math_imul($94, $94) | 0) + $$1142 | 0; - $$1142 = $96; - $$2148 = $$2148 + 1 | 0; - $87 = HEAP32[$17 >> 2] | 0; - } - $99 = +Math_sqrt(+(+($$1142 | 0))); - HEAPF64[(HEAP32[$22 >> 2] | 0) + ($24 << 3) >> 3] = $99 == 0.0 ? 1.0e-07 : $99; - $$0140 = $$1; - $$0152 = $$0152 + 1 | 0; + if ($i$2 >>> 0 >= (Math_imul($21, $21) | 0) >>> 0) break; + $arrayidx139 = (HEAP32[(HEAP32[$pattBW >> 2] | 0) + ($add << 2) >> 2] | 0) + ($i$2 << 2) | 0; + $sub140 = (HEAP32[$arrayidx139 >> 2] | 0) - $div84 | 0; + HEAP32[$arrayidx139 >> 2] = $sub140; + $add152 = (Math_imul($sub140, $sub140) | 0) + $m$1 | 0; + $21 = HEAP32[$pattSize >> 2] | 0; + $i$2 = $i$2 + 1 | 0; + $m$1 = $add152; + } + $25 = +Math_sqrt(+(+($m$1 | 0))); + HEAPF64[(HEAP32[$pattpowBW >> 2] | 0) + ($add << 3) >> 3] = $25 == 0.0 ? 1.0e-07 : $25; + $buffPtr$0 = $buffPtr$1; + $h$0 = $h$0 + 1 | 0; } if ((label | 0) == 21) { _arLog(0, 3, 24370, $vararg_buffer5); - _free($14); - $$0 = -1; + _free($call); + $retval$0 = -1; break; } else if ((label | 0) == 36) { - _free($14); - HEAP32[(HEAP32[$4 >> 2] | 0) + ($$0146 << 2) >> 2] = 1; - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 1; - $$0 = $$0146; + _free($call); + HEAP32[(HEAP32[$pattf >> 2] | 0) + ($i$0 << 2) >> 2] = 1; + HEAP32[$pattHandle >> 2] = (HEAP32[$pattHandle >> 2] | 0) + 1; + $retval$0 = $i$0; break; } - } else $$0 = -1; + } else $retval$0 = -1; } else { _arLog(0, 3, 24272, sp); - $$0 = -1; + $retval$0 = -1; } while (0); STACKTOP = sp; - return $$0 | 0; + return $retval$0 | 0; } -function __ZNKSt3__29money_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_putES4_bRNS_8ios_baseEce($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = +$5; - var $$0 = 0, $$0$i$i = 0, $$0$i$i41 = 0, $$0$i$i44 = 0, $$037 = 0, $$038 = 0, $$byval_copy = 0, $$sink75 = 0, $$sink76 = 0, $$sink77 = 0, $$sroa$053$0 = 0, $$sroa$061$0 = 0, $$sroa$070$0 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $23 = 0, $24 = 0, $25 = 0, $28 = 0, $31 = 0, $32 = 0, $47 = 0, $48 = 0, $53 = 0, $6 = 0, $60 = 0, $69 = 0, $7 = 0, $76 = 0, $8 = 0, $84 = 0, $86 = 0, $9 = 0, $95 = 0, $96 = 0, $97 = 0, $vararg_buffer1 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 416 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(416); - $$byval_copy = sp + 336 | 0; - $vararg_buffer1 = sp + 328 | 0; - $6 = sp + 224 | 0; - $7 = sp + 400 | 0; - $8 = sp + 112 | 0; - $9 = sp + 396 | 0; - $10 = sp + 408 | 0; - $11 = sp + 405 | 0; - $12 = sp + 404 | 0; - $13 = sp + 384 | 0; - $14 = sp + 372 | 0; - $15 = sp + 360 | 0; - $16 = sp + 356 | 0; - $17 = sp; - $18 = sp + 352 | 0; - $19 = sp + 344 | 0; - $20 = sp + 348 | 0; - HEAP32[$7 >> 2] = $6; - HEAPF64[$$byval_copy >> 3] = $5; - $21 = _snprintf($6, 100, 60455, $$byval_copy) | 0; - if ($21 >>> 0 > 99) { - $23 = __ZNSt3__26__clocEv() | 0; - HEAPF64[$vararg_buffer1 >> 3] = $5; - $24 = __ZNSt3__219__libcpp_asprintf_lEPPcP15__locale_structPKcz($7, $23, 60455, $vararg_buffer1) | 0; - $25 = HEAP32[$7 >> 2] | 0; - if (!$25) __ZSt17__throw_bad_allocv(); - $28 = _malloc($24) | 0; - if (!$28) __ZSt17__throw_bad_allocv(); else { - $$0 = $28; - $$038 = $24; - $$sroa$061$0 = $28; - $$sroa$070$0 = $25; - } +function _arDetectMarker2($xsize, $ysize, $labelInfo, $imageProcMode, $areaMax, $areaMin, $squareFitThresh, $markerInfo2, $marker2_num) { + $xsize = $xsize | 0; + $ysize = $ysize | 0; + $labelInfo = $labelInfo | 0; + $imageProcMode = $imageProcMode | 0; + $areaMax = $areaMax | 0; + $areaMin = $areaMin | 0; + $squareFitThresh = +$squareFitThresh; + $markerInfo2 = $markerInfo2 | 0; + $marker2_num = $marker2_num | 0; + var $$ph = 0, $$pre112 = 0, $1 = 0, $13 = 0, $15 = 0, $16 = 0, $21 = 0, $22 = 0, $23 = 0, $25 = 0, $26 = 0, $32 = 0, $add102 = 0.0, $add69 = 0, $area104 = 0, $area106 = 0, $areaMax$addr$0 = 0, $areaMin$addr$0 = 0, $arraydecay = 0, $arrayidx = 0, $arrayidx12 = 0, $arrayidx171 = 0, $arrayidx174 = 0, $arrayidx180 = 0, $arrayidx182 = 0, $arrayidx75 = 0, $arrayidx89 = 0, $cmp = 0, $dec = 0, $i$0 = 0, $i$1 = 0, $i$2 = 0, $i$3 = 0, $inc = 0, $j$0 = 0, $j$1 = 0, $j$1$in = 0, $j$2 = 0, $label_num = 0, $pm$0 = 0, $sub = 0, $sub29 = 0, $sub79 = 0.0, $sub93 = 0.0, $xsize$addr$0 = 0, $ysize$addr$0 = 0, label = 0; + $cmp = ($imageProcMode | 0) == 1; + if ($cmp) { + $areaMax$addr$0 = ($areaMax | 0) / 4 | 0; + $areaMin$addr$0 = ($areaMin | 0) / 4 | 0; + $xsize$addr$0 = ($xsize | 0) / 2 | 0; + $ysize$addr$0 = ($ysize | 0) / 2 | 0; } else { - $$0 = $8; - $$038 = $21; - $$sroa$061$0 = 0; - $$sroa$070$0 = 0; - } - __ZNKSt3__28ios_base6getlocEv($9, $3); - $31 = __ZNKSt3__26locale9use_facetERNS0_2idE($9, 66512) | 0; - $32 = HEAP32[$7 >> 2] | 0; - FUNCTION_TABLE_iiiii[HEAP32[(HEAP32[$31 >> 2] | 0) + 32 >> 2] & 15]($31, $32, $32 + $$038 | 0, $$0) | 0; - if (!$$038) $47 = 0; else $47 = (HEAP8[HEAP32[$7 >> 2] >> 0] | 0) == 45; - HEAP32[$13 >> 2] = 0; - HEAP32[$13 + 4 >> 2] = 0; - HEAP32[$13 + 8 >> 2] = 0; - $$0$i$i = 0; + $areaMax$addr$0 = $areaMax; + $areaMin$addr$0 = $areaMin; + $xsize$addr$0 = $xsize; + $ysize$addr$0 = $ysize; + } + HEAP32[$marker2_num >> 2] = 0; + $label_num = $labelInfo + 8 | 0; + $sub = $xsize$addr$0 + -2 | 0; + $sub29 = $ysize$addr$0 + -2 | 0; + $arraydecay = $labelInfo + 1179664 | 0; + $i$0 = 0; while (1) { - if (($$0$i$i | 0) == 3) break; - HEAP32[$13 + ($$0$i$i << 2) >> 2] = 0; - $$0$i$i = $$0$i$i + 1 | 0; - } - HEAP32[$14 >> 2] = 0; - HEAP32[$14 + 4 >> 2] = 0; - HEAP32[$14 + 8 >> 2] = 0; - $$0$i$i41 = 0; + if (($i$0 | 0) >= (HEAP32[$label_num >> 2] | 0)) { + label = 5; + break; + } + $arrayidx = $labelInfo + 12 + ($i$0 << 2) | 0; + $1 = HEAP32[$arrayidx >> 2] | 0; + if (((((((!(($1 | 0) < ($areaMin$addr$0 | 0) | ($1 | 0) > ($areaMax$addr$0 | 0)) ? ($arrayidx12 = $labelInfo + 131084 + ($i$0 << 4) | 0, (HEAP32[$arrayidx12 >> 2] | 0) != 1) : 0) ? (HEAP32[$labelInfo + 131084 + ($i$0 << 4) + 4 >> 2] | 0) != ($sub | 0) : 0) ? (HEAP32[$labelInfo + 131084 + ($i$0 << 4) + 8 >> 2] | 0) != 1 : 0) ? (HEAP32[$labelInfo + 131084 + ($i$0 << 4) + 12 >> 2] | 0) != ($sub29 | 0) : 0) ? (_arGetContour(HEAP32[$labelInfo >> 2] | 0, $xsize$addr$0, 0, $arraydecay, $i$0 + 1 | 0, $arrayidx12, $markerInfo2 + ((HEAP32[$marker2_num >> 2] | 0) * 80048 | 0) | 0) | 0) >= 0 : 0) ? (_check_square(HEAP32[$arrayidx >> 2] | 0, $markerInfo2 + ((HEAP32[$marker2_num >> 2] | 0) * 80048 | 0) | 0, $squareFitThresh) | 0) >= 0 : 0) ? (HEAP32[$markerInfo2 + ((HEAP32[$marker2_num >> 2] | 0) * 80048 | 0) >> 2] = HEAP32[$arrayidx >> 2], $13 = HEAP32[$marker2_num >> 2] | 0, HEAPF64[$markerInfo2 + ($13 * 80048 | 0) + 8 >> 3] = +HEAPF64[$labelInfo + 655376 + ($i$0 << 4) >> 3], HEAPF64[$markerInfo2 + ($13 * 80048 | 0) + 16 >> 3] = +HEAPF64[$labelInfo + 655376 + ($i$0 << 4) + 8 >> 3], $inc = $13 + 1 | 0, HEAP32[$marker2_num >> 2] = $inc, ($inc | 0) == 60) : 0) { + $$ph = 60; + break; + } + $i$0 = $i$0 + 1 | 0; + } + if ((label | 0) == 5) $$ph = HEAP32[$marker2_num >> 2] | 0; + $15 = $$ph; + $i$1 = 0; while (1) { - if (($$0$i$i41 | 0) == 3) break; - HEAP32[$14 + ($$0$i$i41 << 2) >> 2] = 0; - $$0$i$i41 = $$0$i$i41 + 1 | 0; - } - HEAP32[$15 >> 2] = 0; - HEAP32[$15 + 4 >> 2] = 0; - HEAP32[$15 + 8 >> 2] = 0; - $$0$i$i44 = 0; + if (($i$1 | 0) >= ($15 | 0)) break; + $add69 = $i$1 + 1 | 0; + $arrayidx75 = $markerInfo2 + ($i$1 * 80048 | 0) + 8 | 0; + $arrayidx89 = $markerInfo2 + ($i$1 * 80048 | 0) + 16 | 0; + $area104 = $markerInfo2 + ($i$1 * 80048 | 0) | 0; + $16 = $15; + $j$0 = $add69; + while (1) { + if (($j$0 | 0) >= ($16 | 0)) break; + $sub79 = +HEAPF64[$arrayidx75 >> 3] - +HEAPF64[$markerInfo2 + ($j$0 * 80048 | 0) + 8 >> 3]; + $sub93 = +HEAPF64[$arrayidx89 >> 3] - +HEAPF64[$markerInfo2 + ($j$0 * 80048 | 0) + 16 >> 3]; + $add102 = $sub79 * $sub79 + $sub93 * $sub93; + $21 = HEAP32[$area104 >> 2] | 0; + $area106 = $markerInfo2 + ($j$0 * 80048 | 0) | 0; + $22 = HEAP32[$area106 >> 2] | 0; + if (($21 | 0) > ($22 | 0)) { + if ($add102 < +(($21 | 0) / 4 | 0 | 0)) HEAP32[$area106 >> 2] = 0; + } else if ($add102 < +(($22 | 0) / 4 | 0 | 0)) HEAP32[$area104 >> 2] = 0; + $16 = HEAP32[$marker2_num >> 2] | 0; + $j$0 = $j$0 + 1 | 0; + } + $15 = $16; + $i$1 = $add69; + } + $23 = $15; + $i$2 = 0; while (1) { - if (($$0$i$i44 | 0) == 3) break; - HEAP32[$15 + ($$0$i$i44 << 2) >> 2] = 0; - $$0$i$i44 = $$0$i$i44 + 1 | 0; - } - __ZNSt3__211__money_putIcE13__gather_infoEbbRKNS_6localeERNS_10money_base7patternERcS8_RNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEESF_SF_Ri($2, $47, $9, $10, $11, $12, $13, $14, $15, $16); - $48 = HEAP32[$16 >> 2] | 0; - if (($$038 | 0) > ($48 | 0)) { - $53 = HEAP8[$15 + 11 >> 0] | 0; - $60 = HEAP8[$14 + 11 >> 0] | 0; - $$sink75 = $60 << 24 >> 24 < 0 ? HEAP32[$14 + 4 >> 2] | 0 : $60 & 255; - $$sink76 = $48 + 1 + ($$038 - $48 << 1) | 0; - $$sink77 = $53 << 24 >> 24 < 0 ? HEAP32[$15 + 4 >> 2] | 0 : $53 & 255; - } else { - $69 = HEAP8[$15 + 11 >> 0] | 0; - $76 = HEAP8[$14 + 11 >> 0] | 0; - $$sink75 = $76 << 24 >> 24 < 0 ? HEAP32[$14 + 4 >> 2] | 0 : $76 & 255; - $$sink76 = $48 + 2 | 0; - $$sink77 = $69 << 24 >> 24 < 0 ? HEAP32[$15 + 4 >> 2] | 0 : $69 & 255; - } - $84 = $$sink76 + $$sink77 + $$sink75 | 0; - if ($84 >>> 0 > 100) { - $86 = _malloc($84) | 0; - if (!$86) __ZSt17__throw_bad_allocv(); else { - $$037 = $86; - $$sroa$053$0 = $86; + if (($i$2 | 0) >= ($23 | 0)) break; + if (!(HEAP32[$markerInfo2 + ($i$2 * 80048 | 0) >> 2] | 0)) { + $25 = $23; + $j$1$in = $i$2; + while (1) { + $j$1 = $j$1$in + 1 | 0; + if (($j$1 | 0) >= ($25 | 0)) break; + _memcpy($markerInfo2 + ($j$1$in * 80048 | 0) | 0, $markerInfo2 + ($j$1 * 80048 | 0) | 0, 80048) | 0; + $25 = HEAP32[$marker2_num >> 2] | 0; + $j$1$in = $j$1; + } + $dec = $25 + -1 | 0; + HEAP32[$marker2_num >> 2] = $dec; + $32 = $dec; + } else $32 = $23; + $23 = $32; + $i$2 = $i$2 + 1 | 0; + } + L44 : do if ($cmp) { + $26 = $23; + $i$3 = 0; + $pm$0 = $markerInfo2; + while (1) { + if (($i$3 | 0) >= ($26 | 0)) break L44; + HEAP32[$pm$0 >> 2] = HEAP32[$pm$0 >> 2] << 2; + $arrayidx171 = $pm$0 + 8 | 0; + HEAPF64[$arrayidx171 >> 3] = +HEAPF64[$arrayidx171 >> 3] * 2.0; + $arrayidx174 = $pm$0 + 16 | 0; + HEAPF64[$arrayidx174 >> 3] = +HEAPF64[$arrayidx174 >> 3] * 2.0; + $$pre112 = HEAP32[$pm$0 + 24 >> 2] | 0; + $j$2 = 0; + while (1) { + if (($j$2 | 0) >= ($$pre112 | 0)) break; + $arrayidx180 = $pm$0 + 28 + ($j$2 << 2) | 0; + HEAP32[$arrayidx180 >> 2] = HEAP32[$arrayidx180 >> 2] << 1; + $arrayidx182 = $pm$0 + 40028 + ($j$2 << 2) | 0; + HEAP32[$arrayidx182 >> 2] = HEAP32[$arrayidx182 >> 2] << 1; + $j$2 = $j$2 + 1 | 0; + } + $26 = HEAP32[$marker2_num >> 2] | 0; + $i$3 = $i$3 + 1 | 0; + $pm$0 = $pm$0 + 80048 | 0; } - } else { - $$037 = $17; - $$sroa$053$0 = 0; - } - __ZNSt3__211__money_putIcE8__formatEPcRS2_S3_jPKcS5_RKNS_5ctypeIcEEbRKNS_10money_base7patternEccRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEESL_SL_i($$037, $18, $19, HEAP32[$3 + 4 >> 2] | 0, $$0, $$0 + $$038 | 0, $31, $47, $10, HEAP8[$11 >> 0] | 0, HEAP8[$12 >> 0] | 0, $13, $14, $15, $48); - HEAP32[$20 >> 2] = HEAP32[$1 >> 2]; - $95 = HEAP32[$18 >> 2] | 0; - $96 = HEAP32[$19 >> 2] | 0; - HEAP32[$$byval_copy >> 2] = HEAP32[$20 >> 2]; - $97 = __ZNSt3__216__pad_and_outputIcNS_11char_traitsIcEEEENS_19ostreambuf_iteratorIT_T0_EES6_PKS4_S8_S8_RNS_8ios_baseES4_($$byval_copy, $$037, $95, $96, $3, $4) | 0; - if ($$sroa$053$0 | 0) _free($$sroa$053$0); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($15); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($14); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($13); - __ZNSt3__26localeD2Ev($9); - if ($$sroa$061$0 | 0) _free($$sroa$061$0); - if ($$sroa$070$0 | 0) _free($$sroa$070$0); - STACKTOP = sp; - return $97 | 0; + } while (0); + return 0; } -function __ZNSt3__213unordered_mapIi7ARParamNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_($this, $__k) { +function _jpeg_idct_7x7($cinfo, $compptr, $coef_block, $output_buf, $output_col) { + $cinfo = $cinfo | 0; + $compptr = $compptr | 0; + $coef_block = $coef_block | 0; + $output_buf = $output_buf | 0; + $output_col = $output_col | 0; + var $0 = 0, $21 = 0, $22 = 0, $23 = 0, $27 = 0, $28 = 0, $29 = 0, $add = 0, $add$ptr = 0, $add$ptr87 = 0, $add102 = 0, $add105 = 0, $add108 = 0, $add111 = 0, $add125 = 0, $add128 = 0, $add131 = 0, $add21 = 0, $add24 = 0, $add27 = 0, $add30 = 0, $add53 = 0, $add56 = 0, $add59 = 0, $ctr$0168 = 0, $ctr$1164 = 0, $inptr$0165 = 0, $mul118 = 0, $mul120 = 0, $mul124 = 0, $mul127 = 0, $mul13 = 0, $mul14 = 0, $mul16 = 0, $mul36 = 0, $mul40 = 0, $mul44 = 0, $mul46 = 0, $mul48 = 0, $mul5 = 0, $mul52 = 0, $mul55 = 0, $mul9 = 0, $mul95 = 0, $mul97 = 0, $quantptr$0166 = 0, $shl90 = 0, $sub101 = 0, $sub20 = 0, $workspace = 0, $wsptr$0167 = 0, $wsptr$1163 = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 208 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(208); + $workspace = sp; + $0 = HEAP32[$cinfo + 336 >> 2] | 0; + $ctr$0168 = 0; + $inptr$0165 = $coef_block; + $quantptr$0166 = HEAP32[$compptr + 84 >> 2] | 0; + $wsptr$0167 = $workspace; + while (1) { + $add = Math_imul(HEAP16[$inptr$0165 >> 1] << 13, HEAP32[$quantptr$0166 >> 2] | 0) | 0 | 1024; + $mul5 = Math_imul(HEAP32[$quantptr$0166 + 64 >> 2] | 0, HEAP16[$inptr$0165 + 32 >> 1] | 0) | 0; + $mul9 = Math_imul(HEAP32[$quantptr$0166 + 128 >> 2] | 0, HEAP16[$inptr$0165 + 64 >> 1] | 0) | 0; + $mul13 = Math_imul(HEAP32[$quantptr$0166 + 192 >> 2] | 0, HEAP16[$inptr$0165 + 96 >> 1] | 0) | 0; + $mul14 = ($mul9 - $mul13 | 0) * 7223 | 0; + $mul16 = ($mul5 - $mul9 | 0) * 2578 | 0; + $sub20 = (Math_imul($mul9, -15083) | 0) + $add + $mul16 + $mul14 | 0; + $add21 = $mul13 + $mul5 | 0; + $add24 = ($add21 * 10438 | 0) + $add | 0; + $add27 = $mul14 + (Math_imul($mul13, -637) | 0) + $add24 | 0; + $add30 = $mul16 + (Math_imul($mul5, -20239) | 0) + $add24 | 0; + $mul36 = Math_imul(HEAP32[$quantptr$0166 + 32 >> 2] | 0, HEAP16[$inptr$0165 + 16 >> 1] | 0) | 0; + $mul40 = Math_imul(HEAP32[$quantptr$0166 + 96 >> 2] | 0, HEAP16[$inptr$0165 + 48 >> 1] | 0) | 0; + $mul44 = Math_imul(HEAP32[$quantptr$0166 + 160 >> 2] | 0, HEAP16[$inptr$0165 + 80 >> 1] | 0) | 0; + $mul46 = ($mul40 + $mul36 | 0) * 7663 | 0; + $mul48 = ($mul36 - $mul40 | 0) * 1395 | 0; + $mul52 = Math_imul($mul44 + $mul40 | 0, -11295) | 0; + $add53 = $mul46 + $mul48 + $mul52 | 0; + $mul55 = ($mul44 + $mul36 | 0) * 5027 | 0; + $add56 = $mul55 + ($mul46 - $mul48) | 0; + $add59 = $mul55 + ($mul44 * 15326 | 0) + $mul52 | 0; + HEAP32[$wsptr$0167 >> 2] = $add56 + $add27 >> 11; + HEAP32[$wsptr$0167 + 168 >> 2] = $add27 - $add56 >> 11; + HEAP32[$wsptr$0167 + 28 >> 2] = $add53 + $sub20 >> 11; + HEAP32[$wsptr$0167 + 140 >> 2] = $sub20 - $add53 >> 11; + HEAP32[$wsptr$0167 + 56 >> 2] = $add59 + $add30 >> 11; + HEAP32[$wsptr$0167 + 112 >> 2] = $add30 - $add59 >> 11; + HEAP32[$wsptr$0167 + 84 >> 2] = (($mul9 - $add21 | 0) * 11585 | 0) + $add >> 11; + $ctr$0168 = $ctr$0168 + 1 | 0; + if (($ctr$0168 | 0) == 7) break; else { + $inptr$0165 = $inptr$0165 + 2 | 0; + $quantptr$0166 = $quantptr$0166 + 4 | 0; + $wsptr$0167 = $wsptr$0167 + 4 | 0; + } + } + $add$ptr = $0 + -384 | 0; + $ctr$1164 = 0; + $wsptr$1163 = $workspace; + while (1) { + $add$ptr87 = (HEAP32[$output_buf + ($ctr$1164 << 2) >> 2] | 0) + $output_col | 0; + $shl90 = (HEAP32[$wsptr$1163 >> 2] << 13) + 134348800 | 0; + $21 = HEAP32[$wsptr$1163 + 8 >> 2] | 0; + $22 = HEAP32[$wsptr$1163 + 16 >> 2] | 0; + $23 = HEAP32[$wsptr$1163 + 24 >> 2] | 0; + $mul95 = ($22 - $23 | 0) * 7223 | 0; + $mul97 = ($21 - $22 | 0) * 2578 | 0; + $sub101 = (Math_imul($22, -15083) | 0) + $shl90 + $mul97 + $mul95 | 0; + $add102 = $23 + $21 | 0; + $add105 = ($add102 * 10438 | 0) + $shl90 | 0; + $add108 = $mul95 + (Math_imul($23, -637) | 0) + $add105 | 0; + $add111 = $mul97 + (Math_imul($21, -20239) | 0) + $add105 | 0; + $27 = HEAP32[$wsptr$1163 + 4 >> 2] | 0; + $28 = HEAP32[$wsptr$1163 + 12 >> 2] | 0; + $29 = HEAP32[$wsptr$1163 + 20 >> 2] | 0; + $mul118 = ($28 + $27 | 0) * 7663 | 0; + $mul120 = ($27 - $28 | 0) * 1395 | 0; + $mul124 = Math_imul($29 + $28 | 0, -11295) | 0; + $add125 = $mul118 + $mul120 + $mul124 | 0; + $mul127 = ($29 + $27 | 0) * 5027 | 0; + $add128 = $mul118 - $mul120 + $mul127 | 0; + $add131 = $mul127 + ($29 * 15326 | 0) + $mul124 | 0; + HEAP8[$add$ptr87 >> 0] = HEAP8[$add$ptr + (($add128 + $add108 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr87 + 6 >> 0] = HEAP8[$add$ptr + (($add108 - $add128 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr87 + 1 >> 0] = HEAP8[$add$ptr + (($add125 + $sub101 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr87 + 5 >> 0] = HEAP8[$add$ptr + (($sub101 - $add125 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr87 + 2 >> 0] = HEAP8[$add$ptr + (($add131 + $add111 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr87 + 4 >> 0] = HEAP8[$add$ptr + (($add111 - $add131 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr87 + 3 >> 0] = HEAP8[$add$ptr + (((($22 - $add102 | 0) * 11585 | 0) + $shl90 | 0) >>> 18 & 1023) >> 0] | 0; + $ctr$1164 = $ctr$1164 + 1 | 0; + if (($ctr$1164 | 0) == 7) break; else $wsptr$1163 = $wsptr$1163 + 28 | 0; + } + STACKTOP = sp; + return; +} + +function __ZN6vision20BinaryFeatureMatcherILi96EE5matchEPKNS_18BinaryFeatureStoreES4_($this, $features1, $features2) { $this = $this | 0; - $__k = $__k | 0; - var $$pn$i = 0, $0 = 0, $1 = 0, $11 = 0, $16 = 0, $17 = 0, $18 = 0, $23 = 0, $3 = 0, $4 = 0, $7 = 0.0, $9 = 0, $__bc$0$i = 0, $__chash$0$i = 0, $__chash$1$i = 0, $__h$i = 0, $__nd$0$i = 0, $__nd$1$i = 0, $__value_$i$i$i = 0, $__value_$i$i$i1$i$i = 0, $__value_$i$i$i38$pre$phi$iZZZZ2D = 0, $__value_$i$i$i81$i = 0, $add32$i = 0, $cmp$i = 0, $cond3$i$i = 0, $cond3$i60$i = 0, $cond3$i89$i = 0, $conv$i = 0.0, $conv39$i = 0, $ref$tmp2 = 0, $ref$tmp5 = 0, $sub$i$i = 0, $sub$i54$i = 0, $sub$i64$i = 0, $tobool$i56$i = 0, label = 0, sp = 0; + $features1 = $features1 | 0; + $features2 = $features2 | 0; + var $12 = 0, $13 = 0, $19 = 0, $21 = 0, $26 = 0, $27 = 0, $3 = 0, $5 = 0, $7 = 0, $__end_$i$i$i = 0, $__value_$i$i$i$i = 0, $best_index$0 = 0, $best_index$2 = 0, $call$i1$i = 0, $call$i2$i = 0, $call11 = 0, $call26 = 0, $call64 = 0, $cmp27 = 0, $first_best$0 = 0, $first_best$2 = 0, $i$0 = 0, $j$0 = 0, $mThreshold = 0, $maxima = 0, $maxima19 = 0, $ref$tmp$i = 0, $retval$0 = 0, $second_best$0 = 0, $second_best$2 = 0, $sub$ptr$div$i39 = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $__h$i = sp + 4 | 0; - $ref$tmp2 = sp; - $ref$tmp5 = sp + 16 | 0; - HEAP32[$ref$tmp2 >> 2] = $__k; - $0 = HEAP32[$__k >> 2] | 0; - $__value_$i$i$i1$i$i = $this + 4 | 0; - $1 = HEAP32[$__value_$i$i$i1$i$i >> 2] | 0; - $cmp$i = ($1 | 0) == 0; - L1 : do if (!$cmp$i) { - $sub$i54$i = $1 + -1 | 0; - $tobool$i56$i = ($sub$i54$i & $1 | 0) == 0; - if (!$tobool$i56$i) if ($0 >>> 0 < $1 >>> 0) $cond3$i60$i = $0; else $cond3$i60$i = ($0 >>> 0) % ($1 >>> 0) | 0; else $cond3$i60$i = $sub$i54$i & $0; - $3 = HEAP32[(HEAP32[$this >> 2] | 0) + ($cond3$i60$i << 2) >> 2] | 0; - if (!$3) { - $__chash$0$i = $cond3$i60$i; - label = 16; - } else { - $$pn$i = $3; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $ref$tmp$i = sp; + $__end_$i$i$i = $this + 4 | 0; + HEAP32[$__end_$i$i$i >> 2] = HEAP32[$this >> 2]; + do if ((__ZNK6vision18BinaryFeatureStore4sizeEv($features1) | 0) != 0 ? (__ZNK6vision18BinaryFeatureStore4sizeEv($features2) | 0) != 0 : 0) { + __ZNSt3__26vectorIN6vision7match_tENS_9allocatorIS2_EEE7reserveEm($this, __ZNK6vision18BinaryFeatureStore4sizeEv($features1) | 0); + $__value_$i$i$i$i = $this + 8 | 0; + $mThreshold = $this + 12 | 0; + $i$0 = 0; + while (1) { + if ($i$0 >>> 0 >= (__ZNK6vision18BinaryFeatureStore4sizeEv($features1) | 0) >>> 0) break; + $call11 = __ZNK6vision18BinaryFeatureStore7featureEm($features1, $i$0) | 0; + $maxima = (__ZNK6vision18BinaryFeatureStore5pointEm($features1, $i$0) | 0) + 16 | 0; + $best_index$0 = 2147483647; + $first_best$0 = -1; + $j$0 = 0; + $second_best$0 = -1; while (1) { - $__nd$0$i = HEAP32[$$pn$i >> 2] | 0; - if (!$__nd$0$i) { - $__chash$0$i = $cond3$i60$i; - label = 16; - break L1; - } - $4 = HEAP32[$__nd$0$i + 4 >> 2] | 0; - if (($4 | 0) != ($0 | 0)) { - if (!$tobool$i56$i) if ($4 >>> 0 < $1 >>> 0) $cond3$i89$i = $4; else $cond3$i89$i = ($4 >>> 0) % ($1 >>> 0) | 0; else $cond3$i89$i = $4 & $sub$i54$i; - if (($cond3$i89$i | 0) != ($cond3$i60$i | 0)) { - $__chash$0$i = $cond3$i60$i; - label = 16; - break L1; - } + if ($j$0 >>> 0 >= (__ZNK6vision18BinaryFeatureStore4sizeEv($features2) | 0) >>> 0) break; + $3 = HEAP8[$maxima >> 0] | 0; + $maxima19 = (__ZNK6vision18BinaryFeatureStore5pointEm($features2, $j$0) | 0) + 16 | 0; + if ($3 << 24 >> 24 == (HEAP8[$maxima19 >> 0] | 0)) { + $call26 = __ZN6vision15HammingDistanceILi96EEEjPKhS2_($call11, __ZNK6vision18BinaryFeatureStore7featureEm($features2, $j$0) | 0) | 0; + $cmp27 = $call26 >>> 0 < $first_best$0 >>> 0; + $best_index$2 = $cmp27 ? $j$0 : $best_index$0; + $first_best$2 = $cmp27 ? $call26 : $first_best$0; + $second_best$2 = $cmp27 ? $first_best$0 : $call26 >>> 0 < $second_best$0 >>> 0 ? $call26 : $second_best$0; + } else { + $best_index$2 = $best_index$0; + $first_best$2 = $first_best$0; + $second_best$2 = $second_best$0; } - if ((HEAP32[$__nd$0$i + 8 >> 2] | 0) == ($0 | 0)) { - $__nd$1$i = $__nd$0$i; + $best_index$0 = $best_index$2; + $first_best$0 = $first_best$2; + $j$0 = $j$0 + 1 | 0; + $second_best$0 = $second_best$2; + } + do if (($first_best$0 | 0) != -1) { + if (($second_best$0 | 0) == -1) { + __ZN6vision7match_tC2Eii($ref$tmp$i, $i$0, $best_index$0); + $5 = HEAP32[$__end_$i$i$i >> 2] | 0; + if ($5 >>> 0 < (HEAP32[$__value_$i$i$i$i >> 2] | 0) >>> 0) { + $7 = $ref$tmp$i; + $12 = HEAP32[$7 + 4 >> 2] | 0; + $13 = $5; + HEAP32[$13 >> 2] = HEAP32[$7 >> 2]; + HEAP32[$13 + 4 >> 2] = $12; + HEAP32[$__end_$i$i$i >> 2] = (HEAP32[$__end_$i$i$i >> 2] | 0) + 8; + } else __ZNSt3__26vectorIN6vision7match_tENS_9allocatorIS2_EEE21__push_back_slow_pathIS2_EEvOT_($this, $ref$tmp$i); break; - } else $$pn$i = $__nd$0$i; - } + } + if (+($first_best$0 >>> 0) / +($second_best$0 >>> 0) < +HEAPF32[$mThreshold >> 2]) { + __ZN6vision7match_tC2Eii($ref$tmp$i, $i$0, $best_index$0); + $19 = HEAP32[$__end_$i$i$i >> 2] | 0; + if ($19 >>> 0 < (HEAP32[$__value_$i$i$i$i >> 2] | 0) >>> 0) { + $21 = $ref$tmp$i; + $26 = HEAP32[$21 + 4 >> 2] | 0; + $27 = $19; + HEAP32[$27 >> 2] = HEAP32[$21 >> 2]; + HEAP32[$27 + 4 >> 2] = $26; + HEAP32[$__end_$i$i$i >> 2] = (HEAP32[$__end_$i$i$i >> 2] | 0) + 8; + } else __ZNSt3__26vectorIN6vision7match_tENS_9allocatorIS2_EEE21__push_back_slow_pathIS2_EEvOT_($this, $ref$tmp$i); + } + } while (0); + $i$0 = $i$0 + 1 | 0; + } + $sub$ptr$div$i39 = (HEAP32[$__end_$i$i$i >> 2] | 0) - (HEAP32[$this >> 2] | 0) >> 3; + if ($sub$ptr$div$i39 >>> 0 > (__ZNK6vision18BinaryFeatureStore4sizeEv($features1) | 0) >>> 0) { + $call64 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 35856) | 0, 35609) | 0, 39794) | 0, 112) | 0, 39801) | 0, 35916) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i, $call64 + (HEAP32[(HEAP32[$call64 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i, 67360) | 0; + $call$i2$i = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i >> 2] | 0) + 28 >> 2] & 127]($call$i1$i, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call64, $call$i2$i) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call64) | 0; + _abort(); + } else { + $retval$0 = (HEAP32[$__end_$i$i$i >> 2] | 0) - (HEAP32[$this >> 2] | 0) >> 3; + break; } + } else $retval$0 = 0; while (0); + STACKTOP = sp; + return $retval$0 | 0; +} + +function __ZN6vision21HoughSimilarityVoting19autoAdjustXYNumBinsEPKfS2_i($this, $ins, $ref, $size) { + $this = $this | 0; + $ins = $ins | 0; + $ref = $ref | 0; + $size = $size | 0; + var $7 = 0, $call = 0, $call$i1$i = 0, $call$i1$i53 = 0, $call$i1$i64 = 0, $call$i2$i = 0, $call$i2$i56 = 0, $call$i2$i67 = 0, $call12 = 0, $call31 = 0, $call53 = 0, $call81 = 0, $call87 = 0, $conv = 0.0, $i$0 = 0, $mNumXBins = 0, $mRefImageHeight = 0, $mul = 0.0, $mul76 = 0.0, $mul90 = 0, $mul94 = 0, $projected_dim = 0, $ref$tmp$i63 = 0, $shl = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $ref$tmp$i63 = sp + 12 | 0; + $projected_dim = sp; + $mRefImageHeight = $this + 4 | 0; + $call = __ZN6vision4max2IiEET_S1_S1_(HEAP32[$this >> 2] | 0, HEAP32[$mRefImageHeight >> 2] | 0) | 0; + __ZNSt3__26vectorIfNS_9allocatorIfEEEC2Em($projected_dim, $size); + if (($size | 0) <= 0) { + $call12 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 37710) | 0, 37742) | 0, 39794) | 0, 208) | 0, 39801) | 0, 37869) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i63, $call12 + (HEAP32[(HEAP32[$call12 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i53 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i63, 67360) | 0; + $call$i2$i56 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i53 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i53, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i63); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call12, $call$i2$i56) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call12) | 0; + _abort(); + } + if ((HEAP32[$this >> 2] | 0) <= 0) { + $call31 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 37891) | 0, 37742) | 0, 39794) | 0, 209) | 0, 39801) | 0, 37933) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i63, $call31 + (HEAP32[(HEAP32[$call31 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i64 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i63, 67360) | 0; + $call$i2$i67 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i64 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i64, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i63); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call31, $call$i2$i67) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call31) | 0; + _abort(); + } + if ((HEAP32[$mRefImageHeight >> 2] | 0) <= 0) { + $call53 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 37956) | 0, 37742) | 0, 39794) | 0, 210) | 0, 39801) | 0, 37999) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i63, $call53 + (HEAP32[(HEAP32[$call53 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i63, 67360) | 0; + $call$i2$i = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i >> 2] | 0) + 28 >> 2] & 127]($call$i1$i, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i63); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call53, $call$i2$i) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call53) | 0; + _abort(); + } + $conv = +($call | 0); + $i$0 = 0; + while (1) { + if (($i$0 | 0) == ($size | 0)) break; + $shl = $i$0 << 2; + $mul = +__ZN6vision12SafeDivisionIfEET_S1_S1_(+HEAPF32[$ins + ($shl << 2) + 12 >> 2], +HEAPF32[$ref + ($shl << 2) + 12 >> 2]) * $conv; + HEAPF32[(HEAP32[$projected_dim >> 2] | 0) + ($i$0 << 2) >> 2] = $mul; + $i$0 = $i$0 + 1 | 0; + } + $7 = HEAP32[$projected_dim >> 2] | 0; + $mul76 = +__ZN6vision10FastMedianIfEET_PS1_i($7, (HEAP32[$projected_dim + 4 >> 2] | 0) - $7 >> 2) * .25; + $call81 = __ZN6vision4max2IiEET_S1_S1_(5, ~~+Math_ceil(+((+HEAPF32[$this + 24 >> 2] - +HEAPF32[$this + 20 >> 2]) / $mul76))) | 0; + $mNumXBins = $this + 52 | 0; + HEAP32[$mNumXBins >> 2] = $call81; + $call87 = __ZN6vision4max2IiEET_S1_S1_(5, ~~+Math_ceil(+((+HEAPF32[$this + 32 >> 2] - +HEAPF32[$this + 28 >> 2]) / $mul76))) | 0; + HEAP32[$this + 56 >> 2] = $call87; + $mul90 = Math_imul(HEAP32[$mNumXBins >> 2] | 0, $call87) | 0; + HEAP32[$this + 84 >> 2] = $mul90; + $mul94 = Math_imul(HEAP32[$this + 60 >> 2] | 0, $mul90) | 0; + HEAP32[$this + 88 >> 2] = $mul94; + __ZNSt3__213__vector_baseIfNS_9allocatorIfEEED2Ev($projected_dim); + STACKTOP = sp; + return; +} + +function _jinit_master_decompress($cinfo) { + $cinfo = $cinfo | 0; + var $11 = 0, $16 = 0, $2 = 0, $3 = 0, $33 = 0, $39 = 0, $44 = 0, $add$ptr$i$i = 0, $call = 0, $call$i = 0, $call$i$i = 0, $i$017$i$i = 0, $inputctl$i = 0, $mem = 0, $mul111$i = 0, $nscans$0$i = 0, $out_color_components$i = 0, $out_color_components16$pre$phi$iZ2D = 0, $pass_number$i = 0, $quantizer_1pass$i = 0, $quantizer_2pass$i = 0, $raw_data_out$i = 0, $raw_data_out72$pre$phi$iZ2D = 0, $using_merged_upsample$i = 0, label = 0; + $mem = $cinfo + 4 | 0; + $call = FUNCTION_TABLE_iiii[HEAP32[HEAP32[$mem >> 2] >> 2] & 63]($cinfo, 1, 28) | 0; + HEAP32[$cinfo + 444 >> 2] = $call; + HEAP32[$call >> 2] = 203; + HEAP32[$call + 4 >> 2] = 204; + HEAP32[$call + 8 >> 2] = 0; + $2 = HEAP32[$cinfo + 212 >> 2] | 0; + if (($2 | 0) != 8) { + $3 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$3 + 20 >> 2] = 16; + HEAP32[$3 + 24 >> 2] = $2; + FUNCTION_TABLE_vi[HEAP32[HEAP32[$cinfo >> 2] >> 2] & 255]($cinfo); + } + _jpeg_calc_output_dimensions($cinfo); + $call$i$i = FUNCTION_TABLE_iiii[HEAP32[HEAP32[$mem >> 2] >> 2] & 63]($cinfo, 1, 1280) | 0; + _memset($call$i$i | 0, 0, 512) | 0; + $add$ptr$i$i = $call$i$i + 512 | 0; + HEAP32[$cinfo + 336 >> 2] = $add$ptr$i$i; + $i$017$i$i = 0; + do { + HEAP8[$add$ptr$i$i + $i$017$i$i >> 0] = $i$017$i$i; + $i$017$i$i = $i$017$i$i + 1 | 0; + } while (($i$017$i$i | 0) != 256); + _memset($call$i$i + 768 | 0, -1, 512) | 0; + if (((HEAP32[$cinfo + 116 >> 2] | 0) != 0 ? (HEAP32[$cinfo + 112 >> 2] | 0) != 0 : 0) ? ($out_color_components$i = $cinfo + 120 | 0, (HEAP32[$out_color_components$i >> 2] | 0) >= 1) : 0) $out_color_components16$pre$phi$iZ2D = $out_color_components$i; else { + $11 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$11 + 20 >> 2] = 33; + FUNCTION_TABLE_vi[HEAP32[$11 >> 2] & 255]($cinfo); + $out_color_components16$pre$phi$iZ2D = $cinfo + 120 | 0; + } + $pass_number$i = $call + 12 | 0; + HEAP32[$pass_number$i >> 2] = 0; + $call$i = _use_merged_upsample($cinfo) | 0; + $using_merged_upsample$i = $call + 16 | 0; + HEAP32[$using_merged_upsample$i >> 2] = $call$i; + $quantizer_1pass$i = $call + 20 | 0; + HEAP32[$quantizer_1pass$i >> 2] = 0; + $quantizer_2pass$i = $call + 24 | 0; + HEAP32[$quantizer_2pass$i >> 2] = 0; + do if (!(HEAP32[$cinfo + 84 >> 2] | 0)) { + HEAP32[$cinfo + 100 >> 2] = 0; + HEAP32[$cinfo + 104 >> 2] = 0; + HEAP32[$cinfo + 108 >> 2] = 0; + $raw_data_out72$pre$phi$iZ2D = $cinfo + 68 | 0; } else { - $__chash$0$i = 0; - label = 16; - } while (0); - if ((label | 0) == 16) { - __ZNSt3__212__hash_tableINS_17__hash_value_typeIi7ARParamEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE21__construct_node_hashIRKNS_21piecewise_construct_tEJNS_5tupleIJRKiEEENSJ_IJEEEEEENS_10unique_ptrINS_11__hash_nodeIS3_PvEENS_22__hash_node_destructorINSC_ISR_EEEEEEmOT_DpOT0_($__h$i, $this, $0, 67437, $ref$tmp2, $ref$tmp5); - $__value_$i$i$i81$i = $this + 12 | 0; - $conv$i = +(((HEAP32[$__value_$i$i$i81$i >> 2] | 0) + 1 | 0) >>> 0); - $7 = +HEAPF32[$this + 16 >> 2]; - do if ($cmp$i | $7 * +($1 >>> 0) < $conv$i) { - $add32$i = $1 << 1 | ($1 >>> 0 < 3 | ($1 + -1 & $1 | 0) != 0) & 1; - $conv39$i = ~~+Math_ceil(+($conv$i / $7)) >>> 0; - __ZNSt3__212__hash_tableINS_17__hash_value_typeIi7ARParamEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE6rehashEm($this, $add32$i >>> 0 < $conv39$i >>> 0 ? $conv39$i : $add32$i); - $9 = HEAP32[$__value_$i$i$i1$i$i >> 2] | 0; - $sub$i64$i = $9 + -1 | 0; - if (!($sub$i64$i & $9)) { - $__bc$0$i = $9; - $__chash$1$i = $sub$i64$i & $0; + if (!(HEAP32[$cinfo + 64 >> 2] | 0)) { + HEAP32[$cinfo + 100 >> 2] = 0; + HEAP32[$cinfo + 104 >> 2] = 0; + HEAP32[$cinfo + 108 >> 2] = 0; + } + $raw_data_out$i = $cinfo + 68 | 0; + if (HEAP32[$raw_data_out$i >> 2] | 0) { + $16 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$16 + 20 >> 2] = 48; + FUNCTION_TABLE_vi[HEAP32[$16 >> 2] & 255]($cinfo); + } + do if ((HEAP32[$out_color_components16$pre$phi$iZ2D >> 2] | 0) == 3) { + if (HEAP32[$cinfo + 136 >> 2] | 0) { + HEAP32[$cinfo + 104 >> 2] = 1; break; } - if ($0 >>> 0 < $9 >>> 0) { - $__bc$0$i = $9; - $__chash$1$i = $0; + if (!(HEAP32[$cinfo + 92 >> 2] | 0)) { + HEAP32[$cinfo + 100 >> 2] = 1; + break; } else { - $__bc$0$i = $9; - $__chash$1$i = ($0 >>> 0) % ($9 >>> 0) | 0; + HEAP32[$cinfo + 108 >> 2] = 1; + break; } } else { - $__bc$0$i = $1; - $__chash$1$i = $__chash$0$i; + HEAP32[$cinfo + 100 >> 2] = 1; + HEAP32[$cinfo + 104 >> 2] = 0; + HEAP32[$cinfo + 108 >> 2] = 0; + HEAP32[$cinfo + 136 >> 2] = 0; } while (0); - $11 = HEAP32[(HEAP32[$this >> 2] | 0) + ($__chash$1$i << 2) >> 2] | 0; - if (!$11) { - $__value_$i$i$i = $this + 8 | 0; - HEAP32[HEAP32[$__h$i >> 2] >> 2] = HEAP32[$__value_$i$i$i >> 2]; - HEAP32[$__value_$i$i$i >> 2] = HEAP32[$__h$i >> 2]; - HEAP32[(HEAP32[$this >> 2] | 0) + ($__chash$1$i << 2) >> 2] = $__value_$i$i$i; - $16 = HEAP32[$__h$i >> 2] | 0; - $17 = HEAP32[$16 >> 2] | 0; - if (!$17) $__value_$i$i$i38$pre$phi$iZZZZ2D = $__h$i; else { - $18 = HEAP32[$17 + 4 >> 2] | 0; - $sub$i$i = $__bc$0$i + -1 | 0; - if ($sub$i$i & $__bc$0$i) if ($18 >>> 0 < $__bc$0$i >>> 0) $cond3$i$i = $18; else $cond3$i$i = ($18 >>> 0) % ($__bc$0$i >>> 0) | 0; else $cond3$i$i = $18 & $sub$i$i; - HEAP32[(HEAP32[$this >> 2] | 0) + ($cond3$i$i << 2) >> 2] = $16; - $__value_$i$i$i38$pre$phi$iZZZZ2D = $__h$i; + if (HEAP32[$cinfo + 100 >> 2] | 0) { + _jinit_1pass_quantizer($cinfo); + HEAP32[$quantizer_1pass$i >> 2] = HEAP32[$cinfo + 484 >> 2]; + } + if ((HEAP32[$cinfo + 108 >> 2] | 0) == 0 ? (HEAP32[$cinfo + 104 >> 2] | 0) == 0 : 0) { + $raw_data_out72$pre$phi$iZ2D = $raw_data_out$i; + break; + } + _jinit_2pass_quantizer($cinfo); + HEAP32[$quantizer_2pass$i >> 2] = HEAP32[$cinfo + 484 >> 2]; + $raw_data_out72$pre$phi$iZ2D = $raw_data_out$i; + } while (0); + if (!(HEAP32[$raw_data_out72$pre$phi$iZ2D >> 2] | 0)) { + if (!(HEAP32[$using_merged_upsample$i >> 2] | 0)) { + _jinit_color_deconverter($cinfo); + _jinit_upsampler($cinfo); + } else _jinit_merged_upsampler($cinfo); + _jinit_d_post_controller($cinfo, HEAP32[$cinfo + 108 >> 2] | 0); + } + _jinit_inverse_dct($cinfo); + if (!(HEAP32[$cinfo + 228 >> 2] | 0)) _jinit_huff_decoder($cinfo); else _jinit_arith_decoder($cinfo); + $inputctl$i = $cinfo + 460 | 0; + if (!(HEAP32[(HEAP32[$inputctl$i >> 2] | 0) + 16 >> 2] | 0)) $33 = (HEAP32[$cinfo + 64 >> 2] | 0) != 0 & 1; else $33 = 1; + _jinit_d_coef_controller($cinfo, $33); + if (!(HEAP32[$raw_data_out72$pre$phi$iZ2D >> 2] | 0)) _jinit_d_main_controller($cinfo, 0); + FUNCTION_TABLE_vi[HEAP32[(HEAP32[$mem >> 2] | 0) + 24 >> 2] & 255]($cinfo); + FUNCTION_TABLE_vi[HEAP32[(HEAP32[$inputctl$i >> 2] | 0) + 8 >> 2] & 255]($cinfo); + $39 = HEAP32[$cinfo + 8 >> 2] | 0; + if (!$39) return; + if (HEAP32[$cinfo + 64 >> 2] | 0) return; + if (!(HEAP32[(HEAP32[$inputctl$i >> 2] | 0) + 16 >> 2] | 0)) return; + $44 = HEAP32[$cinfo + 36 >> 2] | 0; + $nscans$0$i = (HEAP32[$cinfo + 224 >> 2] | 0) == 0 ? $44 : ($44 * 3 | 0) + 2 | 0; + HEAP32[$39 + 4 >> 2] = 0; + $mul111$i = Math_imul($nscans$0$i, HEAP32[$cinfo + 332 >> 2] | 0) | 0; + HEAP32[$39 + 8 >> 2] = $mul111$i; + HEAP32[$39 + 12 >> 2] = 0; + HEAP32[$39 + 16 >> 2] = (HEAP32[$cinfo + 108 >> 2] | 0) == 0 ? 2 : 3; + HEAP32[$pass_number$i >> 2] = (HEAP32[$pass_number$i >> 2] | 0) + 1; + return; +} + +function _jpeg_fill_bit_buffer($state, $get_buffer, $bits_left, $nbits) { + $state = $state | 0; + $get_buffer = $get_buffer | 0; + $bits_left = $bits_left | 0; + $nbits = $nbits | 0; + var $0 = 0, $1 = 0, $12 = 0, $15 = 0, $18 = 0, $2 = 0, $6 = 0, $9 = 0, $add = 0, $bits_left$addr$063 = 0, $bits_left$addr$2 = 0, $bits_left$addr$3 = 0, $bytes_in_buffer$068 = 0, $bytes_in_buffer$1 = 0, $bytes_in_buffer$2 = 0, $bytes_in_buffer$3 = 0, $bytes_in_buffer$4 = 0, $bytes_in_buffer$6 = 0, $bytes_in_buffer$7 = 0, $bytes_in_buffer2 = 0, $c$0 = 0, $conv = 0, $dec = 0, $dec30 = 0, $entropy = 0, $get_buffer$addr$065 = 0, $get_buffer$addr$2 = 0, $get_buffer$addr$3 = 0, $incdec$ptr = 0, $incdec$ptr31 = 0, $next_input_byte$067 = 0, $next_input_byte$1 = 0, $next_input_byte$2 = 0, $next_input_byte$3 = 0, $next_input_byte$4 = 0, $next_input_byte$6 = 0, $next_input_byte$7 = 0, $or = 0, $retval$2 = 0, $src = 0, $unread_marker = 0, label = 0; + $0 = HEAP32[$state >> 2] | 0; + $bytes_in_buffer2 = $state + 4 | 0; + $1 = HEAP32[$bytes_in_buffer2 >> 2] | 0; + $2 = HEAP32[$state + 16 >> 2] | 0; + $unread_marker = $2 + 440 | 0; + L1 : do if (!(HEAP32[$unread_marker >> 2] | 0)) if (($bits_left | 0) < 25) { + $src = $2 + 24 | 0; + $bits_left$addr$063 = $bits_left; + $bytes_in_buffer$068 = $1; + $get_buffer$addr$065 = $get_buffer; + $next_input_byte$067 = $0; + L4 : while (1) { + if (!$bytes_in_buffer$068) { + if (!(FUNCTION_TABLE_ii[HEAP32[(HEAP32[$src >> 2] | 0) + 12 >> 2] & 127]($2) | 0)) { + $retval$2 = 0; + label = 20; + break; + } + $6 = HEAP32[$src >> 2] | 0; + $bytes_in_buffer$1 = HEAP32[$6 + 4 >> 2] | 0; + $next_input_byte$1 = HEAP32[$6 >> 2] | 0; + } else { + $bytes_in_buffer$1 = $bytes_in_buffer$068; + $next_input_byte$1 = $next_input_byte$067; + } + $dec = $bytes_in_buffer$1 + -1 | 0; + $incdec$ptr = $next_input_byte$1 + 1 | 0; + $9 = HEAP8[$next_input_byte$1 >> 0] | 0; + $conv = $9 & 255; + L10 : do if ($9 << 24 >> 24 == -1) { + $bytes_in_buffer$2 = $dec; + $next_input_byte$2 = $incdec$ptr; + while (1) { + if (!$bytes_in_buffer$2) { + if (!(FUNCTION_TABLE_ii[HEAP32[(HEAP32[$src >> 2] | 0) + 12 >> 2] & 127]($2) | 0)) { + $retval$2 = 0; + label = 20; + break L4; + } + $12 = HEAP32[$src >> 2] | 0; + $bytes_in_buffer$3 = HEAP32[$12 + 4 >> 2] | 0; + $next_input_byte$3 = HEAP32[$12 >> 2] | 0; + } else { + $bytes_in_buffer$3 = $bytes_in_buffer$2; + $next_input_byte$3 = $next_input_byte$2; + } + $dec30 = $bytes_in_buffer$3 + -1 | 0; + $incdec$ptr31 = $next_input_byte$3 + 1 | 0; + $15 = HEAP8[$next_input_byte$3 >> 0] | 0; + switch ($15 << 24 >> 24) { + case 0: + { + $bytes_in_buffer$4 = $dec30; + $c$0 = 255; + $next_input_byte$4 = $incdec$ptr31; + break L10; + break; + } + case -1: + { + $bytes_in_buffer$2 = $dec30; + $next_input_byte$2 = $incdec$ptr31; + break; + } + default: + { + label = 13; + break L4; + } + } + } + } else { + $bytes_in_buffer$4 = $dec; + $c$0 = $conv; + $next_input_byte$4 = $incdec$ptr; + } while (0); + $or = $c$0 | $get_buffer$addr$065 << 8; + $add = $bits_left$addr$063 + 8 | 0; + if (($bits_left$addr$063 | 0) < 17) { + $bits_left$addr$063 = $add; + $bytes_in_buffer$068 = $bytes_in_buffer$4; + $get_buffer$addr$065 = $or; + $next_input_byte$067 = $next_input_byte$4; + } else { + $bits_left$addr$3 = $add; + $bytes_in_buffer$7 = $bytes_in_buffer$4; + $get_buffer$addr$3 = $or; + $next_input_byte$7 = $next_input_byte$4; + break L1; } + } + if ((label | 0) == 13) { + HEAP32[$unread_marker >> 2] = $15 & 255; + $bits_left$addr$2 = $bits_left$addr$063; + $bytes_in_buffer$6 = $dec30; + $get_buffer$addr$2 = $get_buffer$addr$065; + $next_input_byte$6 = $incdec$ptr31; + label = 15; + break; + } else if ((label | 0) == 20) return $retval$2 | 0; + } else { + $bits_left$addr$3 = $bits_left; + $bytes_in_buffer$7 = $1; + $get_buffer$addr$3 = $get_buffer; + $next_input_byte$7 = $0; + } else { + $bits_left$addr$2 = $bits_left; + $bytes_in_buffer$6 = $1; + $get_buffer$addr$2 = $get_buffer; + $next_input_byte$6 = $0; + label = 15; + } while (0); + if ((label | 0) == 15) if (($bits_left$addr$2 | 0) < ($nbits | 0)) { + $entropy = $2 + 468 | 0; + if (!(HEAP32[(HEAP32[$entropy >> 2] | 0) + 40 >> 2] | 0)) { + $18 = HEAP32[$2 >> 2] | 0; + HEAP32[$18 + 20 >> 2] = 120; + FUNCTION_TABLE_vii[HEAP32[$18 + 4 >> 2] & 255]($2, -1); + HEAP32[(HEAP32[$entropy >> 2] | 0) + 40 >> 2] = 1; + } + $bits_left$addr$3 = 25; + $bytes_in_buffer$7 = $bytes_in_buffer$6; + $get_buffer$addr$3 = $get_buffer$addr$2 << 25 - $bits_left$addr$2; + $next_input_byte$7 = $next_input_byte$6; + } else { + $bits_left$addr$3 = $bits_left$addr$2; + $bytes_in_buffer$7 = $bytes_in_buffer$6; + $get_buffer$addr$3 = $get_buffer$addr$2; + $next_input_byte$7 = $next_input_byte$6; + } + HEAP32[$state >> 2] = $next_input_byte$7; + HEAP32[$bytes_in_buffer2 >> 2] = $bytes_in_buffer$7; + HEAP32[$state + 8 >> 2] = $get_buffer$addr$3; + HEAP32[$state + 12 >> 2] = $bits_left$addr$3; + $retval$2 = 1; + return $retval$2 | 0; +} + +function __ZN6vision25DoGScaleInvariantDetector13pruneFeaturesEv($this) { + $this = $this | 0; + var $2 = 0, $4 = 0, $__end_$i = 0, $call$i1$i$i = 0, $call$i1$i$i12 = 0, $call$i1$i$i30 = 0, $call$i2$i$i = 0, $call$i2$i$i15 = 0, $call$i2$i$i33 = 0, $call10 = 0, $call24 = 0, $call51 = 0, $mBuckets = 0, $mFeaturePoints = 0, $mMaxNumFeaturePoints = 0, $points = 0, $ref$tmp$i$i25 = 0, $sub$ptr$div$i3 = 0, $sub$ptr$div$i6 = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $ref$tmp$i$i25 = sp + 12 | 0; + $points = sp; + $mFeaturePoints = $this + 60 | 0; + $__end_$i = $this + 64 | 0; + $mMaxNumFeaturePoints = $this + 84 | 0; + $2 = HEAP32[$mMaxNumFeaturePoints >> 2] | 0; + do if ((((HEAP32[$__end_$i >> 2] | 0) - (HEAP32[$mFeaturePoints >> 2] | 0) | 0) / 36 | 0) >>> 0 > $2 >>> 0) { + $mBuckets = $this + 16 | 0; + $4 = HEAP32[$mBuckets >> 2] | 0; + $sub$ptr$div$i3 = ((HEAP32[$this + 20 >> 2] | 0) - $4 | 0) / 12 | 0; + if (($sub$ptr$div$i3 | 0) != (HEAP32[$this + 8 >> 2] | 0)) { + $call10 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 28087) | 0, 26748) | 0, 39794) | 0, 454) | 0, 39801) | 0, 28142) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i$i25, $call10 + (HEAP32[(HEAP32[$call10 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i$i = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i$i25, 67360) | 0; + $call$i2$i$i = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i$i >> 2] | 0) + 28 >> 2] & 127]($call$i1$i$i, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i$i25); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call10, $call$i2$i$i) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call10) | 0; + _abort(); + } + $sub$ptr$div$i6 = ((HEAP32[$4 + 4 >> 2] | 0) - (HEAP32[$4 >> 2] | 0) | 0) / 12 | 0; + if (($sub$ptr$div$i6 | 0) != (HEAP32[$this + 12 >> 2] | 0)) { + $call24 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 28168) | 0, 26748) | 0, 39794) | 0, 455) | 0, 39801) | 0, 28142) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i$i25, $call24 + (HEAP32[(HEAP32[$call24 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i$i12 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i$i25, 67360) | 0; + $call$i2$i$i15 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i$i12 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i$i12, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i$i25); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call24, $call$i2$i$i15) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call24) | 0; + _abort(); + } + HEAP32[$points >> 2] = 0; + HEAP32[$points + 4 >> 2] = 0; + HEAP32[$points + 8 >> 2] = 0; + __ZN6vision16PruneDoGFeaturesERNSt3__26vectorINS1_INS1_INS0_4pairIfmEENS0_9allocatorIS3_EEEENS4_IS6_EEEENS4_IS8_EEEERNS1_INS_25DoGScaleInvariantDetector12FeaturePointENS4_ISD_EEEERKSF_iiiii($mBuckets, $points, $mFeaturePoints, $sub$ptr$div$i3, $sub$ptr$div$i6, HEAP32[$this >> 2] | 0, HEAP32[$this + 4 >> 2] | 0, $2); + __ZNSt3__26vectorIN6vision25DoGScaleInvariantDetector12FeaturePointENS_9allocatorIS3_EEE4swapERS6_($mFeaturePoints, $points); + if ((((HEAP32[$__end_$i >> 2] | 0) - (HEAP32[$mFeaturePoints >> 2] | 0) | 0) / 36 | 0) >>> 0 > (HEAP32[$mMaxNumFeaturePoints >> 2] | 0) >>> 0) { + $call51 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 28226) | 0, 26748) | 0, 39794) | 0, 469) | 0, 39801) | 0, 28295) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i$i25, $call51 + (HEAP32[(HEAP32[$call51 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i$i30 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i$i25, 67360) | 0; + $call$i2$i$i33 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i$i30 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i$i30, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i$i25); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call51, $call$i2$i$i33) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call51) | 0; + _abort(); } else { - HEAP32[HEAP32[$__h$i >> 2] >> 2] = HEAP32[$11 >> 2]; - HEAP32[$11 >> 2] = HEAP32[$__h$i >> 2]; - $__value_$i$i$i38$pre$phi$iZZZZ2D = $__h$i; + __ZNSt3__213__vector_baseIN6vision25DoGScaleInvariantDetector12FeaturePointENS_9allocatorIS3_EEED2Ev($points); + break; } - $23 = HEAP32[$__value_$i$i$i38$pre$phi$iZZZZ2D >> 2] | 0; - HEAP32[$__value_$i$i$i81$i >> 2] = (HEAP32[$__value_$i$i$i81$i >> 2] | 0) + 1; - HEAP32[$__value_$i$i$i38$pre$phi$iZZZZ2D >> 2] = 0; - $__nd$1$i = $23; + } while (0); + STACKTOP = sp; + return; +} + +function _jpeg_idct_5x10($cinfo, $compptr, $coef_block, $output_buf, $output_col) { + $cinfo = $cinfo | 0; + $compptr = $compptr | 0; + $coef_block = $coef_block | 0; + $output_buf = $output_buf | 0; + $output_col = $output_col | 0; + var $0 = 0, $23 = 0, $24 = 0, $26 = 0, $27 = 0, $add = 0, $add$ptr = 0, $add$ptr107 = 0, $add117 = 0, $add118 = 0, $add127 = 0, $add23 = 0, $add26 = 0, $add28 = 0, $add46 = 0, $add51 = 0, $add54 = 0, $add57 = 0, $add70 = 0, $add8 = 0, $ctr$0157 = 0, $ctr$1153 = 0, $inptr$0154 = 0, $mul114 = 0, $mul125 = 0, $mul15 = 0, $mul19 = 0, $mul21 = 0, $mul33 = 0, $mul37 = 0, $mul41 = 0, $mul45 = 0, $mul48 = 0, $mul5 = 0, $mul50 = 0, $mul58 = 0, $quantptr$0155 = 0, $shl110 = 0, $shl49 = 0, $shl64 = 0, $shr = 0, $sub = 0, $sub115 = 0, $sub119 = 0, $sub121 = 0, $sub129 = 0, $sub25 = 0, $sub27 = 0, $sub29 = 0, $sub47 = 0, $sub61 = 0, $sub67 = 0, $workspace = 0, $wsptr$0156 = 0, $wsptr$1152 = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 208 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(208); + $workspace = sp; + $0 = HEAP32[$cinfo + 336 >> 2] | 0; + $ctr$0157 = 0; + $inptr$0154 = $coef_block; + $quantptr$0155 = HEAP32[$compptr + 84 >> 2] | 0; + $wsptr$0156 = $workspace; + while (1) { + $add = Math_imul(HEAP16[$inptr$0154 >> 1] << 13, HEAP32[$quantptr$0155 >> 2] | 0) | 0 | 1024; + $mul5 = Math_imul(HEAP32[$quantptr$0155 + 128 >> 2] | 0, HEAP16[$inptr$0154 + 64 >> 1] | 0) | 0; + $add8 = ($mul5 * 9373 | 0) + $add | 0; + $sub = (Math_imul($mul5, -3580) | 0) + $add | 0; + $shr = (Math_imul($mul5, -11586) | 0) + $add >> 11; + $mul15 = Math_imul(HEAP32[$quantptr$0155 + 64 >> 2] | 0, HEAP16[$inptr$0154 + 32 >> 1] | 0) | 0; + $mul19 = Math_imul(HEAP32[$quantptr$0155 + 192 >> 2] | 0, HEAP16[$inptr$0154 + 96 >> 1] | 0) | 0; + $mul21 = ($mul19 + $mul15 | 0) * 6810 | 0; + $add23 = $mul21 + ($mul15 * 4209 | 0) | 0; + $sub25 = $mul21 + (Math_imul($mul19, -17828) | 0) | 0; + $add26 = $add23 + $add8 | 0; + $sub27 = $add8 - $add23 | 0; + $add28 = $sub25 + $sub | 0; + $sub29 = $sub - $sub25 | 0; + $mul33 = Math_imul(HEAP32[$quantptr$0155 + 32 >> 2] | 0, HEAP16[$inptr$0154 + 16 >> 1] | 0) | 0; + $mul37 = Math_imul(HEAP32[$quantptr$0155 + 96 >> 2] | 0, HEAP16[$inptr$0154 + 48 >> 1] | 0) | 0; + $mul41 = Math_imul(HEAP32[$quantptr$0155 + 160 >> 2] | 0, HEAP16[$inptr$0154 + 80 >> 1] | 0) | 0; + $mul45 = Math_imul(HEAP32[$quantptr$0155 + 224 >> 2] | 0, HEAP16[$inptr$0154 + 112 >> 1] | 0) | 0; + $add46 = $mul45 + $mul37 | 0; + $sub47 = $mul37 - $mul45 | 0; + $mul48 = $sub47 * 2531 | 0; + $shl49 = $mul41 << 13; + $mul50 = $add46 * 7791 | 0; + $add51 = $mul48 + $shl49 | 0; + $add54 = $mul50 + ($mul33 * 11443 | 0) + $add51 | 0; + $add57 = ($mul33 * 1812 | 0) - $mul50 + $add51 | 0; + $mul58 = $add46 * 4815 | 0; + $sub61 = $shl49 - $mul48 - ($sub47 << 12) | 0; + $shl64 = $mul33 - $mul41 - $sub47 << 2; + $sub67 = ($mul33 * 10323 | 0) - $mul58 - $sub61 | 0; + $add70 = $sub61 + (($mul33 * 5260 | 0) - $mul58) | 0; + HEAP32[$wsptr$0156 >> 2] = $add54 + $add26 >> 11; + HEAP32[$wsptr$0156 + 180 >> 2] = $add26 - $add54 >> 11; + HEAP32[$wsptr$0156 + 20 >> 2] = $sub67 + $add28 >> 11; + HEAP32[$wsptr$0156 + 160 >> 2] = $add28 - $sub67 >> 11; + HEAP32[$wsptr$0156 + 40 >> 2] = $shl64 + $shr; + HEAP32[$wsptr$0156 + 140 >> 2] = $shr - $shl64; + HEAP32[$wsptr$0156 + 60 >> 2] = $add70 + $sub29 >> 11; + HEAP32[$wsptr$0156 + 120 >> 2] = $sub29 - $add70 >> 11; + HEAP32[$wsptr$0156 + 80 >> 2] = $add57 + $sub27 >> 11; + HEAP32[$wsptr$0156 + 100 >> 2] = $sub27 - $add57 >> 11; + $ctr$0157 = $ctr$0157 + 1 | 0; + if (($ctr$0157 | 0) == 5) break; else { + $inptr$0154 = $inptr$0154 + 2 | 0; + $quantptr$0155 = $quantptr$0155 + 4 | 0; + $wsptr$0156 = $wsptr$0156 + 4 | 0; + } + } + $add$ptr = $0 + -384 | 0; + $ctr$1153 = 0; + $wsptr$1152 = $workspace; + while (1) { + $add$ptr107 = (HEAP32[$output_buf + ($ctr$1153 << 2) >> 2] | 0) + $output_col | 0; + $shl110 = (HEAP32[$wsptr$1152 >> 2] << 13) + 134348800 | 0; + $23 = HEAP32[$wsptr$1152 + 8 >> 2] | 0; + $24 = HEAP32[$wsptr$1152 + 16 >> 2] | 0; + $mul114 = ($24 + $23 | 0) * 6476 | 0; + $sub115 = $23 - $24 | 0; + $add117 = ($sub115 * 2896 | 0) + $shl110 | 0; + $add118 = $add117 + $mul114 | 0; + $sub119 = $add117 - $mul114 | 0; + $sub121 = (Math_imul($sub115, -11584) | 0) + $shl110 | 0; + $26 = HEAP32[$wsptr$1152 + 4 >> 2] | 0; + $27 = HEAP32[$wsptr$1152 + 12 >> 2] | 0; + $mul125 = ($27 + $26 | 0) * 6810 | 0; + $add127 = $mul125 + ($26 * 4209 | 0) | 0; + $sub129 = $mul125 + (Math_imul($27, -17828) | 0) | 0; + HEAP8[$add$ptr107 >> 0] = HEAP8[$add$ptr + (($add127 + $add118 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr107 + 4 >> 0] = HEAP8[$add$ptr + (($add118 - $add127 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr107 + 1 >> 0] = HEAP8[$add$ptr + (($sub129 + $sub119 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr107 + 3 >> 0] = HEAP8[$add$ptr + (($sub119 - $sub129 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr107 + 2 >> 0] = HEAP8[$add$ptr + ($sub121 >>> 18 & 1023) >> 0] | 0; + $ctr$1153 = $ctr$1153 + 1 | 0; + if (($ctr$1153 | 0) == 10) break; else $wsptr$1152 = $wsptr$1152 + 20 | 0; + } + STACKTOP = sp; + return; +} + +function _pass2_fs_dither($cinfo, $input_buf, $output_buf, $num_rows) { + $cinfo = $cinfo | 0; + $input_buf = $input_buf | 0; + $output_buf = $output_buf | 0; + $num_rows = $num_rows | 0; + var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $15 = 0, $2 = 0, $28 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $add23 = 0, $add29 = 0, $arrayidx58 = 0, $belowerr0$0137 = 0, $belowerr1$0136 = 0, $belowerr2$0135 = 0, $bpreverr0$0$lcssa = 0, $bpreverr0$0134 = 0, $bpreverr1$0$lcssa = 0, $bpreverr1$0133 = 0, $bpreverr2$0$lcssa = 0, $bpreverr2$0132 = 0, $cmp17127 = 0, $col$0131 = 0, $conv48 = 0, $conv50 = 0, $conv52 = 0, $cur0$0140 = 0, $cur1$0139 = 0, $cur2$0138 = 0, $dir$0 = 0, $dir3$0 = 0, $errorptr$0 = 0, $errorptr$1$lcssa = 0, $errorptr$1130 = 0, $fserrors14 = 0, $inptr$0 = 0, $inptr$1128 = 0, $mul = 0, $mul11 = 0, $on_odd_row = 0, $outptr$0 = 0, $outptr$1129 = 0, $row$0145 = 0, $storemerge = 0, $sub = 0, $sub68 = 0, $sub72 = 0, $sub75 = 0, $sub78 = 0, $errorptr$1130$looptemp = 0; + $0 = HEAP32[$cinfo + 484 >> 2] | 0; + $1 = HEAP32[$0 + 24 >> 2] | 0; + $2 = HEAP32[$cinfo + 112 >> 2] | 0; + $3 = HEAP32[$cinfo + 336 >> 2] | 0; + $4 = HEAP32[$0 + 40 >> 2] | 0; + $5 = HEAP32[$cinfo + 136 >> 2] | 0; + $6 = HEAP32[$5 >> 2] | 0; + $7 = HEAP32[$5 + 4 >> 2] | 0; + $8 = HEAP32[$5 + 8 >> 2] | 0; + if (($num_rows | 0) <= 0) return; + $on_odd_row = $0 + 36 | 0; + $fserrors14 = $0 + 32 | 0; + $cmp17127 = ($2 | 0) == 0; + $sub = $2 + -1 | 0; + $mul = $sub * 3 | 0; + $mul11 = ($2 * 3 | 0) + 3 | 0; + $row$0145 = 0; + do { + $10 = HEAP32[$input_buf + ($row$0145 << 2) >> 2] | 0; + $11 = HEAP32[$output_buf + ($row$0145 << 2) >> 2] | 0; + if (!(HEAP32[$on_odd_row >> 2] | 0)) { + $dir$0 = 1; + $dir3$0 = 3; + $errorptr$0 = HEAP32[$fserrors14 >> 2] | 0; + $inptr$0 = $10; + $outptr$0 = $11; + $storemerge = 1; + } else { + $dir$0 = -1; + $dir3$0 = -3; + $errorptr$0 = (HEAP32[$fserrors14 >> 2] | 0) + ($mul11 << 1) | 0; + $inptr$0 = $10 + $mul | 0; + $outptr$0 = $11 + $sub | 0; + $storemerge = 0; + } + HEAP32[$on_odd_row >> 2] = $storemerge; + if ($cmp17127) { + $bpreverr0$0$lcssa = 0; + $bpreverr1$0$lcssa = 0; + $bpreverr2$0$lcssa = 0; + $errorptr$1$lcssa = $errorptr$0; + } else { + $add23 = $dir3$0 + 1 | 0; + $add29 = $dir3$0 + 2 | 0; + $15 = Math_imul($2, $dir3$0) | 0; + $belowerr0$0137 = 0; + $belowerr1$0136 = 0; + $belowerr2$0135 = 0; + $bpreverr0$0134 = 0; + $bpreverr1$0133 = 0; + $bpreverr2$0132 = 0; + $col$0131 = $2; + $cur0$0140 = 0; + $cur1$0139 = 0; + $cur2$0138 = 0; + $errorptr$1130 = $errorptr$0; + $inptr$1128 = $inptr$0; + $outptr$1129 = $outptr$0; + while (1) { + $errorptr$1130$looptemp = $errorptr$1130; + $errorptr$1130 = $errorptr$1130 + ($dir3$0 << 1) | 0; + $conv48 = HEAPU8[$3 + ((HEAP32[$4 + ($cur0$0140 + 8 + (HEAP16[$errorptr$1130 >> 1] | 0) >> 4 << 2) >> 2] | 0) + (HEAPU8[$inptr$1128 >> 0] | 0)) >> 0] | 0; + $conv50 = HEAPU8[$3 + ((HEAP32[$4 + ($cur1$0139 + 8 + (HEAP16[$errorptr$1130$looptemp + ($add23 << 1) >> 1] | 0) >> 4 << 2) >> 2] | 0) + (HEAPU8[$inptr$1128 + 1 >> 0] | 0)) >> 0] | 0; + $conv52 = HEAPU8[$3 + ((HEAP32[$4 + ($cur2$0138 + 8 + (HEAP16[$errorptr$1130$looptemp + ($add29 << 1) >> 1] | 0) >> 4 << 2) >> 2] | 0) + (HEAPU8[$inptr$1128 + 2 >> 0] | 0)) >> 0] | 0; + $28 = $conv48 >>> 3; + $30 = $conv50 >>> 2; + $31 = $conv52 >>> 3; + $arrayidx58 = (HEAP32[$1 + ($28 << 2) >> 2] | 0) + ($30 << 6) + ($31 << 1) | 0; + $32 = HEAP16[$arrayidx58 >> 1] | 0; + if (!($32 << 16 >> 16)) { + _fill_inverse_cmap($cinfo, $28, $30, $31); + $33 = HEAP16[$arrayidx58 >> 1] | 0; + } else $33 = $32; + $sub68 = ($33 & 65535) + -1 | 0; + HEAP8[$outptr$1129 >> 0] = $sub68; + $sub72 = $conv48 - (HEAPU8[$6 + $sub68 >> 0] | 0) | 0; + $sub75 = $conv50 - (HEAPU8[$7 + $sub68 >> 0] | 0) | 0; + $sub78 = $conv52 - (HEAPU8[$8 + $sub68 >> 0] | 0) | 0; + HEAP16[$errorptr$1130$looptemp >> 1] = ($sub72 * 3 | 0) + $bpreverr0$0134; + $bpreverr0$0134 = ($sub72 * 5 | 0) + $belowerr0$0137 | 0; + HEAP16[$errorptr$1130$looptemp + 2 >> 1] = ($sub75 * 3 | 0) + $bpreverr1$0133; + $bpreverr1$0133 = ($sub75 * 5 | 0) + $belowerr1$0136 | 0; + HEAP16[$errorptr$1130$looptemp + 4 >> 1] = ($sub78 * 3 | 0) + $bpreverr2$0132; + $bpreverr2$0132 = ($sub78 * 5 | 0) + $belowerr2$0135 | 0; + $col$0131 = $col$0131 + -1 | 0; + if (!$col$0131) break; else { + $belowerr0$0137 = $sub72; + $belowerr1$0136 = $sub75; + $belowerr2$0135 = $sub78; + $cur0$0140 = $sub72 * 7 | 0; + $cur1$0139 = $sub75 * 7 | 0; + $cur2$0138 = $sub78 * 7 | 0; + $inptr$1128 = $inptr$1128 + $dir3$0 | 0; + $outptr$1129 = $outptr$1129 + $dir$0 | 0; + } + } + $bpreverr0$0$lcssa = $bpreverr0$0134; + $bpreverr1$0$lcssa = $bpreverr1$0133; + $bpreverr2$0$lcssa = $bpreverr2$0132; + $errorptr$1$lcssa = $errorptr$0 + ($15 << 1) | 0; + } + HEAP16[$errorptr$1$lcssa >> 1] = $bpreverr0$0$lcssa; + HEAP16[$errorptr$1$lcssa + 2 >> 1] = $bpreverr1$0$lcssa; + HEAP16[$errorptr$1$lcssa + 4 >> 1] = $bpreverr2$0$lcssa; + $row$0145 = $row$0145 + 1 | 0; + } while (($row$0145 | 0) != ($num_rows | 0)); + return; +} + +function __ZNKSt3__29money_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_putES4_bRNS_8ios_baseEwRKNS_12basic_stringIwS3_NS_9allocatorIwEEEE($this, $__s, $__intl, $__iob, $__fl, $__digits) { + $this = $this | 0; + $__s = $__s | 0; + $__intl = $__intl | 0; + $__iob = $__iob | 0; + $__fl = $__fl | 0; + $__digits = $__digits | 0; + var $1 = 0, $11 = 0, $14 = 0, $17 = 0, $20 = 0, $28 = 0, $29 = 0, $4 = 0, $6 = 0, $7 = 0, $9 = 0, $__dp = 0, $__fd = 0, $__grp = 0, $__h$sroa$0$0 = 0, $__i$0$i$i = 0, $__i$0$i$i19 = 0, $__i$0$i$i26 = 0, $__loc = 0, $__mb$0 = 0, $__mbuf = 0, $__me = 0, $__mi = 0, $__pat = 0, $__size_$i$i = 0, $__size_$i2$i = 0, $__sn = 0, $__sym = 0, $__ts = 0, $add18$sink = 0, $add20 = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, $call$i = 0, $call23 = 0, $call33 = 0, $cond$i$i109 = 0, $cond$i40 = 0, $cond$i81$sink = 0, $cond$i89$sink = 0, $tobool$i$i = 0, $tobool$i$i35 = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 480 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(480); + $agg$tmp$byval_copy = sp + 464 | 0; + $__loc = sp + 460 | 0; + $__pat = sp + 468 | 0; + $__dp = sp + 456 | 0; + $__ts = sp + 452 | 0; + $__grp = sp + 440 | 0; + $__sym = sp + 428 | 0; + $__sn = sp + 416 | 0; + $__fd = sp + 412 | 0; + $__mbuf = sp; + $__mi = sp + 408 | 0; + $__me = sp + 404 | 0; + $agg$tmp = sp + 400 | 0; + __ZNKSt3__28ios_base6getlocEv($__loc, $__iob); + $call$i = __ZNKSt3__26locale9use_facetERNS0_2idE($__loc, 67392) | 0; + $__size_$i$i = $__digits + 8 + 3 | 0; + $1 = HEAP8[$__size_$i$i >> 0] | 0; + $tobool$i$i = $1 << 24 >> 24 < 0; + $__size_$i2$i = $__digits + 4 | 0; + if (!(($tobool$i$i ? HEAP32[$__size_$i2$i >> 2] | 0 : $1 & 255) | 0)) $6 = 0; else { + $4 = HEAP32[($tobool$i$i ? HEAP32[$__digits >> 2] | 0 : $__digits) >> 2] | 0; + $6 = ($4 | 0) == (FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i >> 2] | 0) + 44 >> 2] & 127]($call$i, 45) | 0); + }; + HEAP32[$__grp >> 2] = 0; + HEAP32[$__grp + 4 >> 2] = 0; + HEAP32[$__grp + 8 >> 2] = 0; + $__i$0$i$i = 0; + while (1) { + if (($__i$0$i$i | 0) == 3) break; + HEAP32[$__grp + ($__i$0$i$i << 2) >> 2] = 0; + $__i$0$i$i = $__i$0$i$i + 1 | 0; + } + HEAP32[$__sym >> 2] = 0; + HEAP32[$__sym + 4 >> 2] = 0; + HEAP32[$__sym + 8 >> 2] = 0; + $__i$0$i$i19 = 0; + while (1) { + if (($__i$0$i$i19 | 0) == 3) break; + HEAP32[$__sym + ($__i$0$i$i19 << 2) >> 2] = 0; + $__i$0$i$i19 = $__i$0$i$i19 + 1 | 0; + } + HEAP32[$__sn >> 2] = 0; + HEAP32[$__sn + 4 >> 2] = 0; + HEAP32[$__sn + 8 >> 2] = 0; + $__i$0$i$i26 = 0; + while (1) { + if (($__i$0$i$i26 | 0) == 3) break; + HEAP32[$__sn + ($__i$0$i$i26 << 2) >> 2] = 0; + $__i$0$i$i26 = $__i$0$i$i26 + 1 | 0; + } + __ZNSt3__211__money_putIwE13__gather_infoEbbRKNS_6localeERNS_10money_base7patternERwS8_RNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEERNS9_IwNSA_IwEENSC_IwEEEESJ_Ri($__intl, $6, $__loc, $__pat, $__dp, $__ts, $__grp, $__sym, $__sn, $__fd); + $7 = HEAP8[$__size_$i$i >> 0] | 0; + $tobool$i$i35 = $7 << 24 >> 24 < 0; + $cond$i40 = $tobool$i$i35 ? HEAP32[$__size_$i2$i >> 2] | 0 : $7 & 255; + $9 = HEAP32[$__fd >> 2] | 0; + if (($cond$i40 | 0) > ($9 | 0)) { + $11 = HEAP8[$__sn + 8 + 3 >> 0] | 0; + $14 = HEAP8[$__sym + 8 + 3 >> 0] | 0; + $add18$sink = $9 + 1 + ($cond$i40 - $9 << 1) | 0; + $cond$i81$sink = $14 << 24 >> 24 < 0 ? HEAP32[$__sym + 4 >> 2] | 0 : $14 & 255; + $cond$i89$sink = $11 << 24 >> 24 < 0 ? HEAP32[$__sn + 4 >> 2] | 0 : $11 & 255; + } else { + $17 = HEAP8[$__sn + 8 + 3 >> 0] | 0; + $20 = HEAP8[$__sym + 8 + 3 >> 0] | 0; + $add18$sink = $9 + 2 | 0; + $cond$i81$sink = $20 << 24 >> 24 < 0 ? HEAP32[$__sym + 4 >> 2] | 0 : $20 & 255; + $cond$i89$sink = $17 << 24 >> 24 < 0 ? HEAP32[$__sn + 4 >> 2] | 0 : $17 & 255; + } + $add20 = $add18$sink + $cond$i89$sink + $cond$i81$sink | 0; + if ($add20 >>> 0 > 100) { + $call23 = _malloc($add20 << 2) | 0; + if (!$call23) __ZSt17__throw_bad_allocv(); else { + $__h$sroa$0$0 = $call23; + $__mb$0 = $call23; + } + } else { + $__h$sroa$0$0 = 0; + $__mb$0 = $__mbuf; + } + $cond$i$i109 = $tobool$i$i35 ? HEAP32[$__digits >> 2] | 0 : $__digits; + __ZNSt3__211__money_putIwE8__formatEPwRS2_S3_jPKwS5_RKNS_5ctypeIwEEbRKNS_10money_base7patternEwwRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEERKNSE_IwNSF_IwEENSH_IwEEEESQ_i($__mb$0, $__mi, $__me, HEAP32[$__iob + 4 >> 2] | 0, $cond$i$i109, $cond$i$i109 + ($cond$i40 << 2) | 0, $call$i, $6, $__pat, HEAP32[$__dp >> 2] | 0, HEAP32[$__ts >> 2] | 0, $__grp, $__sym, $__sn, $9); + HEAP32[$agg$tmp >> 2] = HEAP32[$__s >> 2]; + $28 = HEAP32[$__mi >> 2] | 0; + $29 = HEAP32[$__me >> 2] | 0; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + $call33 = __ZNSt3__216__pad_and_outputIwNS_11char_traitsIwEEEENS_19ostreambuf_iteratorIT_T0_EES6_PKS4_S8_S8_RNS_8ios_baseES4_($agg$tmp$byval_copy, $__mb$0, $28, $29, $__iob, $__fl) | 0; + if ($__h$sroa$0$0 | 0) _free($__h$sroa$0$0); + __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev($__sn); + __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev($__sym); + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($__grp); + __ZNSt3__26localeD2Ev($__loc); + STACKTOP = sp; + return $call33 | 0; +} + +function _jpeg_idct_10x5($cinfo, $compptr, $coef_block, $output_buf, $output_col) { + $cinfo = $cinfo | 0; + $compptr = $compptr | 0; + $coef_block = $coef_block | 0; + $output_buf = $output_buf | 0; + $output_col = $output_col | 0; + var $0 = 0, $16 = 0, $19 = 0, $20 = 0, $22 = 0, $23 = 0, $25 = 0, $add = 0, $add$ptr = 0, $add$ptr53 = 0, $add105 = 0, $add13 = 0, $add14 = 0, $add29 = 0, $add60 = 0, $add70 = 0, $add73 = 0, $add75 = 0, $add82 = 0, $add86 = 0, $add89 = 0, $add92 = 0, $ctr$0159 = 0, $ctr$1155 = 0, $inptr$0156 = 0, $mul11 = 0, $mul21 = 0, $mul25 = 0, $mul27 = 0, $mul5 = 0, $mul68 = 0, $mul84 = 0, $mul85 = 0, $mul9 = 0, $mul93 = 0, $quantptr$0157 = 0, $shl56 = 0, $shl80 = 0, $sub = 0, $sub102 = 0, $sub15 = 0, $sub17 = 0, $sub31 = 0, $sub61 = 0, $sub64 = 0, $sub72 = 0, $sub74 = 0, $sub76 = 0, $sub83 = 0, $sub96 = 0, $sub99 = 0, $workspace = 0, $wsptr$0158 = 0, $wsptr$1154 = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 160 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(160); + $workspace = sp; + $0 = HEAP32[$cinfo + 336 >> 2] | 0; + $ctr$0159 = 0; + $inptr$0156 = $coef_block; + $quantptr$0157 = HEAP32[$compptr + 84 >> 2] | 0; + $wsptr$0158 = $workspace; + while (1) { + $add = Math_imul(HEAP16[$inptr$0156 >> 1] << 13, HEAP32[$quantptr$0157 >> 2] | 0) | 0 | 1024; + $mul5 = Math_imul(HEAP32[$quantptr$0157 + 64 >> 2] | 0, HEAP16[$inptr$0156 + 32 >> 1] | 0) | 0; + $mul9 = Math_imul(HEAP32[$quantptr$0157 + 128 >> 2] | 0, HEAP16[$inptr$0156 + 64 >> 1] | 0) | 0; + $mul11 = ($mul9 + $mul5 | 0) * 6476 | 0; + $sub = $mul5 - $mul9 | 0; + $add13 = ($sub * 2896 | 0) + $add | 0; + $add14 = $add13 + $mul11 | 0; + $sub15 = $add13 - $mul11 | 0; + $sub17 = (Math_imul($sub, -11584) | 0) + $add | 0; + $mul21 = Math_imul(HEAP32[$quantptr$0157 + 32 >> 2] | 0, HEAP16[$inptr$0156 + 16 >> 1] | 0) | 0; + $mul25 = Math_imul(HEAP32[$quantptr$0157 + 96 >> 2] | 0, HEAP16[$inptr$0156 + 48 >> 1] | 0) | 0; + $mul27 = ($mul25 + $mul21 | 0) * 6810 | 0; + $add29 = $mul27 + ($mul21 * 4209 | 0) | 0; + $sub31 = $mul27 + (Math_imul($mul25, -17828) | 0) | 0; + HEAP32[$wsptr$0158 >> 2] = $add29 + $add14 >> 11; + HEAP32[$wsptr$0158 + 128 >> 2] = $add14 - $add29 >> 11; + HEAP32[$wsptr$0158 + 32 >> 2] = $sub31 + $sub15 >> 11; + HEAP32[$wsptr$0158 + 96 >> 2] = $sub15 - $sub31 >> 11; + HEAP32[$wsptr$0158 + 64 >> 2] = $sub17 >> 11; + $ctr$0159 = $ctr$0159 + 1 | 0; + if (($ctr$0159 | 0) == 8) break; else { + $inptr$0156 = $inptr$0156 + 2 | 0; + $quantptr$0157 = $quantptr$0157 + 4 | 0; + $wsptr$0158 = $wsptr$0158 + 4 | 0; + } + } + $add$ptr = $0 + -384 | 0; + $ctr$1155 = 0; + $wsptr$1154 = $workspace; + while (1) { + $add$ptr53 = (HEAP32[$output_buf + ($ctr$1155 << 2) >> 2] | 0) + $output_col | 0; + $shl56 = (HEAP32[$wsptr$1154 >> 2] << 13) + 134348800 | 0; + $16 = HEAP32[$wsptr$1154 + 16 >> 2] | 0; + $add60 = $shl56 + ($16 * 9373 | 0) | 0; + $sub61 = $shl56 + (Math_imul($16, -3580) | 0) | 0; + $sub64 = $shl56 + (Math_imul($16, -11586) | 0) | 0; + $19 = HEAP32[$wsptr$1154 + 8 >> 2] | 0; + $20 = HEAP32[$wsptr$1154 + 24 >> 2] | 0; + $mul68 = ($20 + $19 | 0) * 6810 | 0; + $add70 = $mul68 + ($19 * 4209 | 0) | 0; + $sub72 = $mul68 + (Math_imul($20, -17828) | 0) | 0; + $add73 = $add70 + $add60 | 0; + $sub74 = $add60 - $add70 | 0; + $add75 = $sub72 + $sub61 | 0; + $sub76 = $sub61 - $sub72 | 0; + $22 = HEAP32[$wsptr$1154 + 4 >> 2] | 0; + $23 = HEAP32[$wsptr$1154 + 12 >> 2] | 0; + $shl80 = HEAP32[$wsptr$1154 + 20 >> 2] << 13; + $25 = HEAP32[$wsptr$1154 + 28 >> 2] | 0; + $add82 = $25 + $23 | 0; + $sub83 = $23 - $25 | 0; + $mul84 = $sub83 * 2531 | 0; + $mul85 = $add82 * 7791 | 0; + $add86 = $mul84 + $shl80 | 0; + $add89 = $mul85 + ($22 * 11443 | 0) + $add86 | 0; + $add92 = ($22 * 1812 | 0) - $mul85 + $add86 | 0; + $mul93 = $add82 * 4815 | 0; + $sub96 = $shl80 - $mul84 - ($sub83 << 12) | 0; + $sub99 = ($22 - $sub83 << 13) - $shl80 | 0; + $sub102 = ($22 * 10323 | 0) - $mul93 - $sub96 | 0; + $add105 = $sub96 + (($22 * 5260 | 0) - $mul93) | 0; + HEAP8[$add$ptr53 >> 0] = HEAP8[$add$ptr + (($add89 + $add73 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr53 + 9 >> 0] = HEAP8[$add$ptr + (($add73 - $add89 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr53 + 1 >> 0] = HEAP8[$add$ptr + (($sub102 + $add75 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr53 + 8 >> 0] = HEAP8[$add$ptr + (($add75 - $sub102 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr53 + 2 >> 0] = HEAP8[$add$ptr + (($sub99 + $sub64 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr53 + 7 >> 0] = HEAP8[$add$ptr + (($sub64 - $sub99 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr53 + 3 >> 0] = HEAP8[$add$ptr + (($add105 + $sub76 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr53 + 6 >> 0] = HEAP8[$add$ptr + (($sub76 - $add105 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr53 + 4 >> 0] = HEAP8[$add$ptr + (($add92 + $sub74 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr53 + 5 >> 0] = HEAP8[$add$ptr + (($sub74 - $add92 | 0) >>> 18 & 1023) >> 0] | 0; + $ctr$1155 = $ctr$1155 + 1 | 0; + if (($ctr$1155 | 0) == 5) break; else $wsptr$1154 = $wsptr$1154 + 32 | 0; + } + STACKTOP = sp; + return; +} + +function __ZNKSt3__29money_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_putES4_bRNS_8ios_baseEcRKNS_12basic_stringIcS3_NS_9allocatorIcEEEE($this, $__s, $__intl, $__iob, $__fl, $__digits) { + $this = $this | 0; + $__s = $__s | 0; + $__intl = $__intl | 0; + $__iob = $__iob | 0; + $__fl = $__fl | 0; + $__digits = $__digits | 0; + var $0 = 0, $11 = 0, $13 = 0, $15 = 0, $23 = 0, $24 = 0, $3 = 0, $5 = 0, $6 = 0, $8 = 0, $9 = 0, $__dp = 0, $__fd = 0, $__grp = 0, $__h$sroa$0$0 = 0, $__i$0$i$i = 0, $__i$0$i$i19 = 0, $__i$0$i$i27 = 0, $__loc = 0, $__mb$0 = 0, $__mbuf = 0, $__me = 0, $__mi = 0, $__pat = 0, $__size_$i$i = 0, $__size_$i3$i = 0, $__sn = 0, $__sym = 0, $__ts = 0, $add19$sink = 0, $add21 = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, $call$i = 0, $call24 = 0, $call34 = 0, $cond$i$i118 = 0, $cond$i42 = 0, $cond$i88$sink = 0, $cond$i97$sink = 0, $tobool$i$i = 0, $tobool$i$i37 = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 176 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(176); + $agg$tmp$byval_copy = sp + 156 | 0; + $__loc = sp + 152 | 0; + $__pat = sp + 164 | 0; + $__dp = sp + 161 | 0; + $__ts = sp + 160 | 0; + $__grp = sp + 140 | 0; + $__sym = sp + 128 | 0; + $__sn = sp + 116 | 0; + $__fd = sp + 112 | 0; + $__mbuf = sp; + $__mi = sp + 108 | 0; + $__me = sp + 104 | 0; + $agg$tmp = sp + 100 | 0; + __ZNKSt3__28ios_base6getlocEv($__loc, $__iob); + $call$i = __ZNKSt3__26locale9use_facetERNS0_2idE($__loc, 67360) | 0; + $__size_$i$i = $__digits + 11 | 0; + $0 = HEAP8[$__size_$i$i >> 0] | 0; + $tobool$i$i = $0 << 24 >> 24 < 0; + $__size_$i3$i = $__digits + 4 | 0; + if (!(($tobool$i$i ? HEAP32[$__size_$i3$i >> 2] | 0 : $0 & 255) | 0)) $5 = 0; else { + $3 = HEAP8[($tobool$i$i ? HEAP32[$__digits >> 2] | 0 : $__digits) >> 0] | 0; + $5 = $3 << 24 >> 24 == (FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i >> 2] | 0) + 28 >> 2] & 127]($call$i, 45) | 0) << 24 >> 24; + }; + HEAP32[$__grp >> 2] = 0; + HEAP32[$__grp + 4 >> 2] = 0; + HEAP32[$__grp + 8 >> 2] = 0; + $__i$0$i$i = 0; + while (1) { + if (($__i$0$i$i | 0) == 3) break; + HEAP32[$__grp + ($__i$0$i$i << 2) >> 2] = 0; + $__i$0$i$i = $__i$0$i$i + 1 | 0; + } + HEAP32[$__sym >> 2] = 0; + HEAP32[$__sym + 4 >> 2] = 0; + HEAP32[$__sym + 8 >> 2] = 0; + $__i$0$i$i19 = 0; + while (1) { + if (($__i$0$i$i19 | 0) == 3) break; + HEAP32[$__sym + ($__i$0$i$i19 << 2) >> 2] = 0; + $__i$0$i$i19 = $__i$0$i$i19 + 1 | 0; + } + HEAP32[$__sn >> 2] = 0; + HEAP32[$__sn + 4 >> 2] = 0; + HEAP32[$__sn + 8 >> 2] = 0; + $__i$0$i$i27 = 0; + while (1) { + if (($__i$0$i$i27 | 0) == 3) break; + HEAP32[$__sn + ($__i$0$i$i27 << 2) >> 2] = 0; + $__i$0$i$i27 = $__i$0$i$i27 + 1 | 0; + } + __ZNSt3__211__money_putIcE13__gather_infoEbbRKNS_6localeERNS_10money_base7patternERcS8_RNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEESF_SF_Ri($__intl, $5, $__loc, $__pat, $__dp, $__ts, $__grp, $__sym, $__sn, $__fd); + $6 = HEAP8[$__size_$i$i >> 0] | 0; + $tobool$i$i37 = $6 << 24 >> 24 < 0; + $cond$i42 = $tobool$i$i37 ? HEAP32[$__size_$i3$i >> 2] | 0 : $6 & 255; + $8 = HEAP32[$__fd >> 2] | 0; + if (($cond$i42 | 0) > ($8 | 0)) { + $9 = HEAP8[$__sn + 11 >> 0] | 0; + $11 = HEAP8[$__sym + 11 >> 0] | 0; + $add19$sink = $8 + 1 + ($cond$i42 - $8 << 1) | 0; + $cond$i88$sink = $11 << 24 >> 24 < 0 ? HEAP32[$__sym + 4 >> 2] | 0 : $11 & 255; + $cond$i97$sink = $9 << 24 >> 24 < 0 ? HEAP32[$__sn + 4 >> 2] | 0 : $9 & 255; + } else { + $13 = HEAP8[$__sn + 11 >> 0] | 0; + $15 = HEAP8[$__sym + 11 >> 0] | 0; + $add19$sink = $8 + 2 | 0; + $cond$i88$sink = $15 << 24 >> 24 < 0 ? HEAP32[$__sym + 4 >> 2] | 0 : $15 & 255; + $cond$i97$sink = $13 << 24 >> 24 < 0 ? HEAP32[$__sn + 4 >> 2] | 0 : $13 & 255; + } + $add21 = $add19$sink + $cond$i97$sink + $cond$i88$sink | 0; + if ($add21 >>> 0 > 100) { + $call24 = _malloc($add21) | 0; + if (!$call24) __ZSt17__throw_bad_allocv(); else { + $__h$sroa$0$0 = $call24; + $__mb$0 = $call24; + } + } else { + $__h$sroa$0$0 = 0; + $__mb$0 = $__mbuf; + } + $cond$i$i118 = $tobool$i$i37 ? HEAP32[$__digits >> 2] | 0 : $__digits; + __ZNSt3__211__money_putIcE8__formatEPcRS2_S3_jPKcS5_RKNS_5ctypeIcEEbRKNS_10money_base7patternEccRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEESL_SL_i($__mb$0, $__mi, $__me, HEAP32[$__iob + 4 >> 2] | 0, $cond$i$i118, $cond$i$i118 + $cond$i42 | 0, $call$i, $5, $__pat, HEAP8[$__dp >> 0] | 0, HEAP8[$__ts >> 0] | 0, $__grp, $__sym, $__sn, $8); + HEAP32[$agg$tmp >> 2] = HEAP32[$__s >> 2]; + $23 = HEAP32[$__mi >> 2] | 0; + $24 = HEAP32[$__me >> 2] | 0; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + $call34 = __ZNSt3__216__pad_and_outputIcNS_11char_traitsIcEEEENS_19ostreambuf_iteratorIT_T0_EES6_PKS4_S8_S8_RNS_8ios_baseES4_($agg$tmp$byval_copy, $__mb$0, $23, $24, $__iob, $__fl) | 0; + if ($__h$sroa$0$0 | 0) _free($__h$sroa$0$0); + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($__sn); + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($__sym); + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($__grp); + __ZNSt3__26localeD2Ev($__loc); + STACKTOP = sp; + return $call34 | 0; +} + +function _consume_data($cinfo) { + $cinfo = $cinfo | 0; + var $$sink = 0, $0 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $2 = 0, $20 = 0, $23 = 0, $24 = 0, $26 = 0, $27 = 0, $29 = 0, $33 = 0, $34 = 0, $8 = 0, $MCU_col_num$066 = 0, $MCU_ctr = 0, $MCU_rows_per_iMCU_row = 0, $MCU_vert_offset = 0, $MCUs_per_row = 0, $arraydecay = 0, $blkn$063 = 0, $blkn$1$lcssa = 0, $blkn$159$us = 0, $blkn$255$us = 0, $buffer = 0, $buffer_ptr$057$us = 0, $call = 0, $ci$071 = 0, $ci$164 = 0, $coef1 = 0, $comps_in_scan = 0, $entropy = 0, $inc43 = 0, $inc47 = 0, $inc50 = 0, $input_iMCU_row = 0, $input_iMCU_row49 = 0, $mem = 0, $mul = 0, $mul17 = 0, $retval$0 = 0, $xindex$056$us = 0, $yindex$060$us = 0, $yoffset$068 = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $buffer = sp; + $coef1 = $cinfo + 452 | 0; + $0 = HEAP32[$coef1 >> 2] | 0; + $comps_in_scan = $cinfo + 340 | 0; + if ((HEAP32[$comps_in_scan >> 2] | 0) > 0) { + $mem = $cinfo + 4 | 0; + $input_iMCU_row = $cinfo + 148 | 0; + $ci$071 = 0; + do { + $2 = HEAP32[$cinfo + 344 + ($ci$071 << 2) >> 2] | 0; + $8 = HEAP32[$2 + 12 >> 2] | 0; + $mul = Math_imul($8, HEAP32[$input_iMCU_row >> 2] | 0) | 0; + $call = FUNCTION_TABLE_iiiiii[HEAP32[(HEAP32[$mem >> 2] | 0) + 32 >> 2] & 31]($cinfo, HEAP32[$0 + 72 + (HEAP32[$2 + 4 >> 2] << 2) >> 2] | 0, $mul, $8, 1) | 0; + HEAP32[$buffer + ($ci$071 << 2) >> 2] = $call; + $ci$071 = $ci$071 + 1 | 0; + } while (($ci$071 | 0) < (HEAP32[$comps_in_scan >> 2] | 0)); + } + $MCU_vert_offset = $0 + 24 | 0; + $10 = HEAP32[$MCU_vert_offset >> 2] | 0; + $MCU_rows_per_iMCU_row = $0 + 28 | 0; + $11 = HEAP32[$MCU_rows_per_iMCU_row >> 2] | 0; + L6 : do if (($10 | 0) < ($11 | 0)) { + $MCU_ctr = $0 + 20 | 0; + $MCUs_per_row = $cinfo + 360 | 0; + $entropy = $cinfo + 468 | 0; + $arraydecay = $0 + 32 | 0; + $12 = HEAP32[$MCU_ctr >> 2] | 0; + $13 = HEAP32[$MCUs_per_row >> 2] | 0; + $33 = $11; + $yoffset$068 = $10; + L8 : while (1) { + if ($12 >>> 0 < $13 >>> 0) { + $MCU_col_num$066 = $12; + while (1) { + $14 = HEAP32[$comps_in_scan >> 2] | 0; + if (($14 | 0) > 0) { + $blkn$063 = 0; + $ci$164 = 0; + while (1) { + $15 = HEAP32[$cinfo + 344 + ($ci$164 << 2) >> 2] | 0; + $16 = HEAP32[$15 + 56 >> 2] | 0; + $mul17 = Math_imul($16, $MCU_col_num$066) | 0; + $17 = HEAP32[$15 + 60 >> 2] | 0; + if (($17 | 0) > 0 ? ($18 = HEAP32[$buffer + ($ci$164 << 2) >> 2] | 0, ($16 | 0) > 0) : 0) { + $blkn$159$us = $blkn$063; + $yindex$060$us = 0; + while (1) { + $blkn$255$us = $blkn$159$us; + $buffer_ptr$057$us = (HEAP32[$18 + ($yindex$060$us + $yoffset$068 << 2) >> 2] | 0) + ($mul17 << 7) | 0; + $xindex$056$us = 0; + while (1) { + HEAP32[$0 + 32 + ($blkn$255$us << 2) >> 2] = $buffer_ptr$057$us; + $xindex$056$us = $xindex$056$us + 1 | 0; + if (($xindex$056$us | 0) == ($16 | 0)) break; else { + $blkn$255$us = $blkn$255$us + 1 | 0; + $buffer_ptr$057$us = $buffer_ptr$057$us + 128 | 0; + } + } + $20 = $16 + $blkn$159$us | 0; + $yindex$060$us = $yindex$060$us + 1 | 0; + if (($yindex$060$us | 0) >= ($17 | 0)) { + $blkn$1$lcssa = $20; + break; + } else $blkn$159$us = $20; + } + } else $blkn$1$lcssa = $blkn$063; + $ci$164 = $ci$164 + 1 | 0; + if (($ci$164 | 0) >= ($14 | 0)) break; else $blkn$063 = $blkn$1$lcssa; + } + } + if (!(FUNCTION_TABLE_iii[HEAP32[(HEAP32[$entropy >> 2] | 0) + 4 >> 2] & 127]($cinfo, $arraydecay) | 0)) break L8; + $inc43 = $MCU_col_num$066 + 1 | 0; + $23 = HEAP32[$MCUs_per_row >> 2] | 0; + if ($inc43 >>> 0 < $23 >>> 0) $MCU_col_num$066 = $inc43; else break; + } + $24 = HEAP32[$MCU_rows_per_iMCU_row >> 2] | 0; + $34 = $23; + } else { + $24 = $33; + $34 = $13; + } + HEAP32[$MCU_ctr >> 2] = 0; + $inc47 = $yoffset$068 + 1 | 0; + if (($inc47 | 0) < ($24 | 0)) { + $12 = 0; + $13 = $34; + $33 = $24; + $yoffset$068 = $inc47; + } else break L6; + } + HEAP32[$MCU_vert_offset >> 2] = $yoffset$068; + HEAP32[$MCU_ctr >> 2] = $MCU_col_num$066; + $retval$0 = 0; + STACKTOP = sp; + return $retval$0 | 0; + } while (0); + $input_iMCU_row49 = $cinfo + 148 | 0; + $inc50 = (HEAP32[$input_iMCU_row49 >> 2] | 0) + 1 | 0; + HEAP32[$input_iMCU_row49 >> 2] = $inc50; + $26 = HEAP32[$cinfo + 332 >> 2] | 0; + if ($inc50 >>> 0 >= $26 >>> 0) { + FUNCTION_TABLE_vi[HEAP32[(HEAP32[$cinfo + 460 >> 2] | 0) + 12 >> 2] & 255]($cinfo); + $retval$0 = 4; + STACKTOP = sp; + return $retval$0 | 0; + } + $27 = HEAP32[$coef1 >> 2] | 0; + if ((HEAP32[$comps_in_scan >> 2] | 0) > 1) $$sink = 1; else { + $29 = HEAP32[$cinfo + 344 >> 2] | 0; + $$sink = HEAP32[($inc50 >>> 0 < ($26 + -1 | 0) >>> 0 ? $29 + 12 | 0 : $29 + 76 | 0) >> 2] | 0; + } + HEAP32[$27 + 28 >> 2] = $$sink; + HEAP32[$27 + 20 >> 2] = 0; + HEAP32[$27 + 24 >> 2] = 0; + $retval$0 = 3; + STACKTOP = sp; + return $retval$0 | 0; +} + +function _jpeg_core_output_dimensions($cinfo) { + $cinfo = $cinfo | 0; + var $$sink170 = 0, $1 = 0, $2 = 0, $31 = 0, $35 = 0, $block_size = 0, $call = 0, $call114 = 0, $call134 = 0, $call14 = 0, $call154 = 0, $call174 = 0, $call19 = 0, $call194 = 0, $call214 = 0, $call234 = 0, $call254 = 0, $call274 = 0, $call287 = 0, $call34 = 0, $call54 = 0, $call74 = 0, $call94 = 0, $ci$0168 = 0, $compptr$0169 = 0, $mul = 0, $mul17$sink = 0; + $block_size = $cinfo + 428 | 0; + $1 = HEAP32[$block_size >> 2] | 0; + $mul = Math_imul($1, HEAP32[$cinfo + 48 >> 2] | 0) | 0; + $2 = HEAP32[$cinfo + 52 >> 2] | 0; + do if ($mul >>> 0 > $2 >>> 0) { + if ($mul >>> 0 <= $2 << 1 >>> 0) { + $call14 = _jdiv_round_up(HEAP32[$cinfo + 28 >> 2] << 1, $1) | 0; + HEAP32[$cinfo + 112 >> 2] = $call14; + $$sink170 = 2; + $mul17$sink = HEAP32[$cinfo + 32 >> 2] << 1; + break; + } + if ($mul >>> 0 <= ($2 * 3 | 0) >>> 0) { + $call34 = _jdiv_round_up((HEAP32[$cinfo + 28 >> 2] | 0) * 3 | 0, $1) | 0; + HEAP32[$cinfo + 112 >> 2] = $call34; + $$sink170 = 3; + $mul17$sink = (HEAP32[$cinfo + 32 >> 2] | 0) * 3 | 0; + break; + } + if ($mul >>> 0 <= $2 << 2 >>> 0) { + $call54 = _jdiv_round_up(HEAP32[$cinfo + 28 >> 2] << 2, $1) | 0; + HEAP32[$cinfo + 112 >> 2] = $call54; + $$sink170 = 4; + $mul17$sink = HEAP32[$cinfo + 32 >> 2] << 2; + break; + } + if ($mul >>> 0 <= ($2 * 5 | 0) >>> 0) { + $call74 = _jdiv_round_up((HEAP32[$cinfo + 28 >> 2] | 0) * 5 | 0, $1) | 0; + HEAP32[$cinfo + 112 >> 2] = $call74; + $$sink170 = 5; + $mul17$sink = (HEAP32[$cinfo + 32 >> 2] | 0) * 5 | 0; + break; + } + if ($mul >>> 0 <= ($2 * 6 | 0) >>> 0) { + $call94 = _jdiv_round_up((HEAP32[$cinfo + 28 >> 2] | 0) * 6 | 0, $1) | 0; + HEAP32[$cinfo + 112 >> 2] = $call94; + $$sink170 = 6; + $mul17$sink = (HEAP32[$cinfo + 32 >> 2] | 0) * 6 | 0; + break; + } + if ($mul >>> 0 <= ($2 * 7 | 0) >>> 0) { + $call114 = _jdiv_round_up((HEAP32[$cinfo + 28 >> 2] | 0) * 7 | 0, $1) | 0; + HEAP32[$cinfo + 112 >> 2] = $call114; + $$sink170 = 7; + $mul17$sink = (HEAP32[$cinfo + 32 >> 2] | 0) * 7 | 0; + break; + } + if ($mul >>> 0 <= $2 << 3 >>> 0) { + $call134 = _jdiv_round_up(HEAP32[$cinfo + 28 >> 2] << 3, $1) | 0; + HEAP32[$cinfo + 112 >> 2] = $call134; + $$sink170 = 8; + $mul17$sink = HEAP32[$cinfo + 32 >> 2] << 3; + break; + } + if ($mul >>> 0 <= ($2 * 9 | 0) >>> 0) { + $call154 = _jdiv_round_up((HEAP32[$cinfo + 28 >> 2] | 0) * 9 | 0, $1) | 0; + HEAP32[$cinfo + 112 >> 2] = $call154; + $$sink170 = 9; + $mul17$sink = (HEAP32[$cinfo + 32 >> 2] | 0) * 9 | 0; + break; + } + if ($mul >>> 0 <= ($2 * 10 | 0) >>> 0) { + $call174 = _jdiv_round_up((HEAP32[$cinfo + 28 >> 2] | 0) * 10 | 0, $1) | 0; + HEAP32[$cinfo + 112 >> 2] = $call174; + $$sink170 = 10; + $mul17$sink = (HEAP32[$cinfo + 32 >> 2] | 0) * 10 | 0; + break; + } + if ($mul >>> 0 <= ($2 * 11 | 0) >>> 0) { + $call194 = _jdiv_round_up((HEAP32[$cinfo + 28 >> 2] | 0) * 11 | 0, $1) | 0; + HEAP32[$cinfo + 112 >> 2] = $call194; + $$sink170 = 11; + $mul17$sink = (HEAP32[$cinfo + 32 >> 2] | 0) * 11 | 0; + break; + } + if ($mul >>> 0 <= ($2 * 12 | 0) >>> 0) { + $call214 = _jdiv_round_up((HEAP32[$cinfo + 28 >> 2] | 0) * 12 | 0, $1) | 0; + HEAP32[$cinfo + 112 >> 2] = $call214; + $$sink170 = 12; + $mul17$sink = (HEAP32[$cinfo + 32 >> 2] | 0) * 12 | 0; + break; + } + if ($mul >>> 0 <= ($2 * 13 | 0) >>> 0) { + $call234 = _jdiv_round_up((HEAP32[$cinfo + 28 >> 2] | 0) * 13 | 0, $1) | 0; + HEAP32[$cinfo + 112 >> 2] = $call234; + $$sink170 = 13; + $mul17$sink = (HEAP32[$cinfo + 32 >> 2] | 0) * 13 | 0; + break; + } + if ($mul >>> 0 <= ($2 * 14 | 0) >>> 0) { + $call254 = _jdiv_round_up((HEAP32[$cinfo + 28 >> 2] | 0) * 14 | 0, $1) | 0; + HEAP32[$cinfo + 112 >> 2] = $call254; + $$sink170 = 14; + $mul17$sink = (HEAP32[$cinfo + 32 >> 2] | 0) * 14 | 0; + break; + } + $31 = HEAP32[$cinfo + 28 >> 2] | 0; + if ($mul >>> 0 > ($2 * 15 | 0) >>> 0) { + $call287 = _jdiv_round_up($31 << 4, $1) | 0; + HEAP32[$cinfo + 112 >> 2] = $call287; + $$sink170 = 16; + $mul17$sink = HEAP32[$cinfo + 32 >> 2] << 4; + break; + } else { + $call274 = _jdiv_round_up($31 * 15 | 0, $1) | 0; + HEAP32[$cinfo + 112 >> 2] = $call274; + $$sink170 = 15; + $mul17$sink = (HEAP32[$cinfo + 32 >> 2] | 0) * 15 | 0; + break; + } + } else { + $call = _jdiv_round_up(HEAP32[$cinfo + 28 >> 2] | 0, $1) | 0; + HEAP32[$cinfo + 112 >> 2] = $call; + $$sink170 = 1; + $mul17$sink = HEAP32[$cinfo + 32 >> 2] | 0; + } while (0); + $call19 = _jdiv_round_up($mul17$sink, HEAP32[$block_size >> 2] | 0) | 0; + HEAP32[$cinfo + 116 >> 2] = $call19; + HEAP32[$cinfo + 324 >> 2] = $$sink170; + HEAP32[$cinfo + 328 >> 2] = $$sink170; + $35 = HEAP32[$cinfo + 36 >> 2] | 0; + if (($35 | 0) <= 0) return; + $ci$0168 = 0; + $compptr$0169 = HEAP32[$cinfo + 216 >> 2] | 0; + while (1) { + HEAP32[$compptr$0169 + 36 >> 2] = $$sink170; + HEAP32[$compptr$0169 + 40 >> 2] = $$sink170; + $ci$0168 = $ci$0168 + 1 | 0; + if (($ci$0168 | 0) >= ($35 | 0)) break; else $compptr$0169 = $compptr$0169 + 88 | 0; } - STACKTOP = sp; - return $__nd$1$i + 16 | 0; + return; } -function __ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_($this, $__k) { +function __ZNKSt3__29money_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_bRNS_8ios_baseERjRe($this, $__b, $__e, $__intl, $__iob, $__err, $__v) { $this = $this | 0; - $__k = $__k | 0; - var $$pn$i = 0, $0 = 0, $1 = 0, $11 = 0, $16 = 0, $17 = 0, $18 = 0, $23 = 0, $3 = 0, $4 = 0, $7 = 0.0, $9 = 0, $__bc$0$i = 0, $__chash$0$i = 0, $__chash$1$i = 0, $__h$i = 0, $__nd$0$i = 0, $__nd$1$i = 0, $__value_$i$i$i = 0, $__value_$i$i$i1$i$i = 0, $__value_$i$i$i38$pre$phi$iZZZZ2D = 0, $__value_$i$i$i93$i = 0, $add32$i = 0, $cmp$i = 0, $cond3$i$i = 0, $cond3$i48$i = 0, $cond3$i84$i = 0, $conv$i = 0.0, $conv39$i = 0, $ref$tmp2 = 0, $ref$tmp5 = 0, $sub$i$i = 0, $sub$i42$i = 0, $sub$i69$i = 0, $tobool$i$i = 0, label = 0, sp = 0; + $__b = $__b | 0; + $__e = $__e | 0; + $__intl = $__intl | 0; + $__iob = $__iob | 0; + $__err = $__err | 0; + $__v = $__v | 0; + var $11 = 0, $12 = 0, $16 = 0, $17 = 0, $21 = 0, $22 = 0, $27 = 0, $29 = 0, $3 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $__first$addr$0$i = 0, $__first$addr$0$lcssa$i = 0, $__h$sroa$0$0 = 0, $__loc = 0, $__nbuf = 0, $__nc$0 = 0, $__nc$1 = 0, $__nc$2 = 0, $__neg = 0, $__w$0 = 0, $__wb = 0, $__wbuf = 0, $__wn = 0, $add$ptr$i = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, $call$i = 0, $call16 = 0, $retval$0$i$i$i$i = 0, $retval$0$i$i13$i$i = 0, $retval$sroa$0$0$copyload = 0, $sub$ptr$rhs$cast32 = 0, $sub$ptr$sub = 0, $vararg_buffer = 0, label = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $__h$i = sp + 4 | 0; - $ref$tmp2 = sp; - $ref$tmp5 = sp + 16 | 0; - HEAP32[$ref$tmp2 >> 2] = $__k; - $0 = HEAP32[$__k >> 2] | 0; - $__value_$i$i$i1$i$i = $this + 4 | 0; - $1 = HEAP32[$__value_$i$i$i1$i$i >> 2] | 0; - $cmp$i = ($1 | 0) == 0; - L1 : do if (!$cmp$i) { - $sub$i$i = $1 + -1 | 0; - $tobool$i$i = ($sub$i$i & $1 | 0) == 0; - if (!$tobool$i$i) if ($0 >>> 0 < $1 >>> 0) $cond3$i$i = $0; else $cond3$i$i = ($0 >>> 0) % ($1 >>> 0) | 0; else $cond3$i$i = $sub$i$i & $0; - $3 = HEAP32[(HEAP32[$this >> 2] | 0) + ($cond3$i$i << 2) >> 2] | 0; - if (!$3) { - $__chash$0$i = $cond3$i$i; - label = 16; + STACKTOP = STACKTOP + 592 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(592); + $agg$tmp$byval_copy = sp + 512 | 0; + $vararg_buffer = sp + 552 | 0; + $__wbuf = sp + 112 | 0; + $__wb = sp + 568 | 0; + $__wn = sp + 564 | 0; + $__loc = sp + 560 | 0; + $__neg = sp + 576 | 0; + $agg$tmp = sp + 556 | 0; + $__nbuf = sp; + HEAP32[$__wb >> 2] = $__wbuf; + HEAP32[$__wb + 4 >> 2] = 214; + __ZNKSt3__28ios_base6getlocEv($__loc, $__iob); + $call$i = __ZNKSt3__26locale9use_facetERNS0_2idE($__loc, 67392) | 0; + HEAP8[$__neg >> 0] = 0; + HEAP32[$agg$tmp >> 2] = HEAP32[$__e >> 2]; + $3 = HEAP32[$__iob + 4 >> 2] | 0; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + if (__ZNSt3__29money_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE8__do_getERS4_S4_bRKNS_6localeEjRjRbRKNS_5ctypeIwEERNS_10unique_ptrIwPFvPvEEERPwSM_($__b, $agg$tmp$byval_copy, $__intl, $__loc, $3, $__err, $__neg, $call$i, $__wb, $__wn, $__wbuf + 400 | 0) | 0) { + FUNCTION_TABLE_iiiii[HEAP32[(HEAP32[$call$i >> 2] | 0) + 48 >> 2] & 15]($call$i, 61191, 61201, $agg$tmp$byval_copy) | 0; + $5 = HEAP32[$__wn >> 2] | 0; + $6 = HEAP32[$__wb >> 2] | 0; + $sub$ptr$sub = $5 - $6 | 0; + $7 = $6; + $8 = $5; + if (($sub$ptr$sub | 0) > 392) { + $call16 = _malloc(($sub$ptr$sub >>> 2) + 2 | 0) | 0; + if (!$call16) __ZSt17__throw_bad_allocv(); else { + $__h$sroa$0$0 = $call16; + $__nc$0 = $call16; + } } else { - $$pn$i = $3; + $__h$sroa$0$0 = 0; + $__nc$0 = $__nbuf; + } + if (!(HEAP8[$__neg >> 0] | 0)) $__nc$1 = $__nc$0; else { + HEAP8[$__nc$0 >> 0] = 45; + $__nc$1 = $__nc$0 + 1 | 0; + } + $add$ptr$i = $agg$tmp$byval_copy + 40 | 0; + $sub$ptr$rhs$cast32 = $agg$tmp$byval_copy; + $11 = $8; + $__nc$2 = $__nc$1; + $__w$0 = $7; + while (1) { + if ($__w$0 >>> 0 >= $11 >>> 0) break; + $12 = HEAP32[$__w$0 >> 2] | 0; + $__first$addr$0$i = $agg$tmp$byval_copy; while (1) { - $__nd$0$i = HEAP32[$$pn$i >> 2] | 0; - if (!$__nd$0$i) { - $__chash$0$i = $cond3$i$i; - label = 16; - break L1; - } - $4 = HEAP32[$__nd$0$i + 4 >> 2] | 0; - if (($4 | 0) != ($0 | 0)) { - if (!$tobool$i$i) if ($4 >>> 0 < $1 >>> 0) $cond3$i84$i = $4; else $cond3$i84$i = ($4 >>> 0) % ($1 >>> 0) | 0; else $cond3$i84$i = $4 & $sub$i$i; - if (($cond3$i84$i | 0) != ($cond3$i$i | 0)) { - $__chash$0$i = $cond3$i$i; - label = 16; - break L1; - } + if (($__first$addr$0$i | 0) == ($add$ptr$i | 0)) { + $__first$addr$0$lcssa$i = $add$ptr$i; + break; } - if ((HEAP32[$__nd$0$i + 8 >> 2] | 0) == ($0 | 0)) { - $__nd$1$i = $__nd$0$i; + if ((HEAP32[$__first$addr$0$i >> 2] | 0) == ($12 | 0)) { + $__first$addr$0$lcssa$i = $__first$addr$0$i; break; - } else $$pn$i = $__nd$0$i; + } + $__first$addr$0$i = $__first$addr$0$i + 4 | 0; } + HEAP8[$__nc$2 >> 0] = HEAP8[61191 + ($__first$addr$0$lcssa$i - $sub$ptr$rhs$cast32 >> 2) >> 0] | 0; + $11 = HEAP32[$__wn >> 2] | 0; + $__nc$2 = $__nc$2 + 1 | 0; + $__w$0 = $__w$0 + 4 | 0; } - } else { - $__chash$0$i = 0; - label = 16; - } while (0); - if ((label | 0) == 16) { - __ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE21__construct_node_hashIRKNS_21piecewise_construct_tEJNS_5tupleIJRKiEEENSJ_IJEEEEEENS_10unique_ptrINS_11__hash_nodeIS3_PvEENS_22__hash_node_destructorINSC_ISR_EEEEEEmOT_DpOT0_($__h$i, $this, $0, 67437, $ref$tmp2, $ref$tmp5); - $__value_$i$i$i93$i = $this + 12 | 0; - $conv$i = +(((HEAP32[$__value_$i$i$i93$i >> 2] | 0) + 1 | 0) >>> 0); - $7 = +HEAPF32[$this + 16 >> 2]; - do if ($cmp$i | $7 * +($1 >>> 0) < $conv$i) { - $add32$i = $1 << 1 | ($1 >>> 0 < 3 | ($1 + -1 & $1 | 0) != 0) & 1; - $conv39$i = ~~+Math_ceil(+($conv$i / $7)) >>> 0; - __ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE6rehashEm($this, $add32$i >>> 0 < $conv39$i >>> 0 ? $conv39$i : $add32$i); - $9 = HEAP32[$__value_$i$i$i1$i$i >> 2] | 0; - $sub$i69$i = $9 + -1 | 0; - if (!($sub$i69$i & $9)) { - $__bc$0$i = $9; - $__chash$1$i = $sub$i69$i & $0; - break; - } - if ($0 >>> 0 < $9 >>> 0) { - $__bc$0$i = $9; - $__chash$1$i = $0; - } else { - $__bc$0$i = $9; - $__chash$1$i = ($0 >>> 0) % ($9 >>> 0) | 0; - } + HEAP8[$__nc$2 >> 0] = 0; + HEAP32[$vararg_buffer >> 2] = $__v; + if ((_sscanf($__nbuf, 61092, $vararg_buffer) | 0) != 1) __ZNSt3__221__throw_runtime_errorEPKc(0); + if ($__h$sroa$0$0 | 0) _free($__h$sroa$0$0); + } + $16 = HEAP32[$__b >> 2] | 0; + do if ($16) { + $17 = HEAP32[$16 + 12 >> 2] | 0; + if (($17 | 0) == (HEAP32[$16 + 16 >> 2] | 0)) $retval$0$i$i$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$16 >> 2] | 0) + 36 >> 2] & 127]($16) | 0; else $retval$0$i$i$i$i = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$17 >> 2] | 0) | 0; + if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj($retval$0$i$i$i$i, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { + HEAP32[$__b >> 2] = 0; + $29 = 1; + break; } else { - $__bc$0$i = $1; - $__chash$1$i = $__chash$0$i; - } while (0); - $11 = HEAP32[(HEAP32[$this >> 2] | 0) + ($__chash$1$i << 2) >> 2] | 0; - if (!$11) { - $__value_$i$i$i = $this + 8 | 0; - HEAP32[HEAP32[$__h$i >> 2] >> 2] = HEAP32[$__value_$i$i$i >> 2]; - HEAP32[$__value_$i$i$i >> 2] = HEAP32[$__h$i >> 2]; - HEAP32[(HEAP32[$this >> 2] | 0) + ($__chash$1$i << 2) >> 2] = $__value_$i$i$i; - $16 = HEAP32[$__h$i >> 2] | 0; - $17 = HEAP32[$16 >> 2] | 0; - if (!$17) $__value_$i$i$i38$pre$phi$iZZZZ2D = $__h$i; else { - $18 = HEAP32[$17 + 4 >> 2] | 0; - $sub$i42$i = $__bc$0$i + -1 | 0; - if ($sub$i42$i & $__bc$0$i) if ($18 >>> 0 < $__bc$0$i >>> 0) $cond3$i48$i = $18; else $cond3$i48$i = ($18 >>> 0) % ($__bc$0$i >>> 0) | 0; else $cond3$i48$i = $18 & $sub$i42$i; - HEAP32[(HEAP32[$this >> 2] | 0) + ($cond3$i48$i << 2) >> 2] = $16; - $__value_$i$i$i38$pre$phi$iZZZZ2D = $__h$i; - } + $29 = (HEAP32[$__b >> 2] | 0) == 0; + break; + } + } else $29 = 1; while (0); + $21 = HEAP32[$__e >> 2] | 0; + do if ($21) { + $22 = HEAP32[$21 + 12 >> 2] | 0; + if (($22 | 0) == (HEAP32[$21 + 16 >> 2] | 0)) $retval$0$i$i13$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$21 >> 2] | 0) + 36 >> 2] & 127]($21) | 0; else $retval$0$i$i13$i$i = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$22 >> 2] | 0) | 0; + if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj($retval$0$i$i13$i$i, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if ($29) break; else { + label = 34; + break; } else { - HEAP32[HEAP32[$__h$i >> 2] >> 2] = HEAP32[$11 >> 2]; - HEAP32[$11 >> 2] = HEAP32[$__h$i >> 2]; - $__value_$i$i$i38$pre$phi$iZZZZ2D = $__h$i; + HEAP32[$__e >> 2] = 0; + label = 32; + break; } - $23 = HEAP32[$__value_$i$i$i38$pre$phi$iZZZZ2D >> 2] | 0; - HEAP32[$__value_$i$i$i93$i >> 2] = (HEAP32[$__value_$i$i$i93$i >> 2] | 0) + 1; - HEAP32[$__value_$i$i$i38$pre$phi$iZZZZ2D >> 2] = 0; - $__nd$1$i = $23; - } + } else label = 32; while (0); + if ((label | 0) == 32 ? $29 : 0) label = 34; + if ((label | 0) == 34) HEAP32[$__err >> 2] = HEAP32[$__err >> 2] | 2; + $retval$sroa$0$0$copyload = HEAP32[$__b >> 2] | 0; + __ZNSt3__26localeD2Ev($__loc); + $27 = HEAP32[$__wb >> 2] | 0; + HEAP32[$__wb >> 2] = 0; + if ($27 | 0) FUNCTION_TABLE_vi[HEAP32[$__wb + 4 >> 2] & 255]($27); STACKTOP = sp; - return $__nd$1$i + 16 | 0; + return $retval$sroa$0$0$copyload | 0; } -function __ZN6vision14ExtractFREAK84ERNS_18BinaryFeatureStoreEPKNS_25GaussianScaleSpacePyramidERKNSt3__26vectorINS_12FeaturePointENS5_9allocatorIS7_EEEEPKfSE_SE_SE_SE_SE_ffffffff($0, $1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - $6 = $6 | 0; - $7 = $7 | 0; - $8 = $8 | 0; - $9 = +$9; - $10 = +$10; - $11 = +$11; - $12 = +$12; - $13 = +$13; - $14 = +$14; - $15 = +$15; - $16 = +$16; - var $$0 = 0, $$036 = 0, $$1 = 0, $17 = 0, $24 = 0, $29 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $46 = 0, $51 = 0, $55 = 0, $57 = 0, $58 = 0, $59 = 0, $62 = 0, $67 = 0, $68 = 0, $76 = 0, $81 = 0, $85 = 0, sp = 0; +function __ZNKSt3__29money_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_bRNS_8ios_baseERjRe($this, $__b, $__e, $__intl, $__iob, $__err, $__v) { + $this = $this | 0; + $__b = $__b | 0; + $__e = $__e | 0; + $__intl = $__intl | 0; + $__iob = $__iob | 0; + $__err = $__err | 0; + $__v = $__v | 0; + var $11 = 0, $12 = 0, $16 = 0, $17 = 0, $21 = 0, $22 = 0, $27 = 0, $29 = 0, $3 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $__first$addr$0$i = 0, $__first$addr$0$lcssa$i = 0, $__h$sroa$0$0 = 0, $__loc = 0, $__nbuf = 0, $__nc$0 = 0, $__nc$1 = 0, $__nc$2 = 0, $__neg = 0, $__w$0 = 0, $__wb = 0, $__wbuf = 0, $__wn = 0, $add$ptr$i = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, $call$i = 0, $call15 = 0, $retval$0$i$i$i$i = 0, $retval$0$i$i13$i$i = 0, $retval$sroa$0$0$copyload = 0, $sub$ptr$rhs$cast31 = 0, $sub$ptr$sub = 0, $vararg_buffer = 0, label = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $17 = sp; - if (!$1) { - $24 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 37660) | 0, 37691) | 0, 39072) | 0, 537) | 0, 39079) | 0, 37760) | 0; - __ZNKSt3__28ios_base6getlocEv($17, $24 + (HEAP32[(HEAP32[$24 >> 2] | 0) + -12 >> 2] | 0) | 0); - $29 = __ZNKSt3__26locale9use_facetERNS0_2idE($17, 66512) | 0; - $33 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$29 >> 2] | 0) + 28 >> 2] & 127]($29, 10) | 0; - __ZNSt3__26localeD2Ev($17); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($24, $33) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($24) | 0; - _abort(); - } - $34 = __ZNK6vision18BinaryFeatureStore4sizeEv($0) | 0; - $35 = $2 + 4 | 0; - $36 = HEAP32[$35 >> 2] | 0; - $37 = HEAP32[$2 >> 2] | 0; - if (($34 | 0) != (($36 - $37 | 0) / 20 | 0 | 0)) { - $46 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 37776) | 0, 37691) | 0, 39072) | 0, 538) | 0, 39079) | 0, 37829) | 0; - __ZNKSt3__28ios_base6getlocEv($17, $46 + (HEAP32[(HEAP32[$46 >> 2] | 0) + -12 >> 2] | 0) | 0); - $51 = __ZNKSt3__26locale9use_facetERNS0_2idE($17, 66512) | 0; - $55 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$51 >> 2] | 0) + 28 >> 2] & 127]($51, 10) | 0; - __ZNSt3__26localeD2Ev($17); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($46, $55) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($46) | 0; - _abort(); - } - $$0 = 0; - $$036 = 0; - $57 = $37; - $58 = $36; - while (1) { - $59 = ($58 - $57 | 0) / 20 | 0; - if ($$0 >>> 0 >= $59 >>> 0) break; - $62 = __ZN6vision18BinaryFeatureStore7featureEm($0, $$036) | 0; - if (__ZN6vision14ExtractFREAK84EPhPKNS_25GaussianScaleSpacePyramidERKNS_12FeaturePointEPKfS8_S8_S8_S8_S8_ffffffff($62, $1, (HEAP32[$2 >> 2] | 0) + ($$0 * 20 | 0) | 0, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16) | 0) { - $67 = (HEAP32[$2 >> 2] | 0) + ($$0 * 20 | 0) | 0; - $68 = __ZN6vision18BinaryFeatureStore5pointEm($0, $$036) | 0; - HEAP32[$68 >> 2] = HEAP32[$67 >> 2]; - HEAP32[$68 + 4 >> 2] = HEAP32[$67 + 4 >> 2]; - HEAP32[$68 + 8 >> 2] = HEAP32[$67 + 8 >> 2]; - HEAP32[$68 + 12 >> 2] = HEAP32[$67 + 12 >> 2]; - HEAP8[$68 + 16 >> 0] = HEAP8[$67 + 16 >> 0] | 0; - $$1 = $$036 + 1 | 0; - } else $$1 = $$036; - $$0 = $$0 + 1 | 0; - $$036 = $$1; - $57 = HEAP32[$2 >> 2] | 0; - $58 = HEAP32[$35 >> 2] | 0; - } - if (($$036 | 0) == ($59 | 0)) { - __ZN6vision18BinaryFeatureStore6resizeEm($0, $$036); - STACKTOP = sp; - return; - } else { - $76 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 37866) | 0, 37691) | 0, 39072) | 0, 617) | 0, 39079) | 0, 37917) | 0; - __ZNKSt3__28ios_base6getlocEv($17, $76 + (HEAP32[(HEAP32[$76 >> 2] | 0) + -12 >> 2] | 0) | 0); - $81 = __ZNKSt3__26locale9use_facetERNS0_2idE($17, 66512) | 0; - $85 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$81 >> 2] | 0) + 28 >> 2] & 127]($81, 10) | 0; - __ZNSt3__26localeD2Ev($17); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($76, $85) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($76) | 0; - _abort(); - } -} - -function _decode_mcu_DC_first($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$035$i = 0, $$087$lcssa = 0, $$087101 = 0, $$09198 = 0, $$093104 = 0, $$099 = 0, $$1 = 0, $$192 = 0, $$sink = 0, $110 = 0, $113 = 0, $114 = 0, $117 = 0, $119 = 0, $125 = 0, $127 = 0, $130 = 0, $16 = 0, $19 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $27 = 0, $3 = 0, $4 = 0, $54 = 0, $56 = 0, $57 = 0, $60 = 0, $63 = 0, $65 = 0, $67 = 0, $7 = 0, $71 = 0, $72 = 0, $74 = 0, $76 = 0, $8 = 0, $80 = 0, $82 = 0, $83 = 0, $86 = 0, $89 = 0, $91 = 0, $95 = 0, $spec$select = 0, dest = 0, label = 0, stop = 0; - $3 = HEAP32[$0 + 468 >> 2] | 0; - $4 = $0 + 280 | 0; - if (HEAP32[$4 >> 2] | 0) { - $7 = $3 + 56 | 0; - $8 = HEAP32[$7 >> 2] | 0; - if (!$8) { - if (!(FUNCTION_TABLE_ii[HEAP32[(HEAP32[$0 + 464 >> 2] | 0) + 8 >> 2] & 127]($0) | 0)) { - $16 = HEAP32[$0 >> 2] | 0; - HEAP32[$16 + 20 >> 2] = 25; - FUNCTION_TABLE_vi[HEAP32[$16 >> 2] & 255]($0); - } - $19 = $0 + 340 | 0; - if ((HEAP32[$19 >> 2] | 0) > 0) { - $22 = $0 + 224 | 0; - $23 = $0 + 412 | 0; - $24 = $0 + 436 | 0; - $25 = $0 + 420 | 0; - $$035$i = 0; - do { - $27 = HEAP32[$0 + 344 + ($$035$i << 2) >> 2] | 0; - if (HEAP32[$22 >> 2] | 0) if (!(HEAP32[$23 >> 2] | 0)) { - if (!(HEAP32[$25 >> 2] | 0)) label = 10; - } else label = 13; else label = 10; - do if ((label | 0) == 10) { - label = 0; - dest = HEAP32[$3 + 60 + (HEAP32[$27 + 20 >> 2] << 2) >> 2] | 0; - stop = dest + 64 | 0; - do { - HEAP8[dest >> 0] = 0; - dest = dest + 1 | 0; - } while ((dest | 0) < (stop | 0)); - HEAP32[$3 + 24 + ($$035$i << 2) >> 2] = 0; - HEAP32[$3 + 40 + ($$035$i << 2) >> 2] = 0; - if (!(HEAP32[$22 >> 2] | 0)) if (!(HEAP32[$24 >> 2] | 0)) break; else { - label = 13; - break; - } else if (!(HEAP32[$23 >> 2] | 0)) break; else { - label = 13; - break; - } - } while (0); - if ((label | 0) == 13) { - label = 0; - _memset(HEAP32[$3 + 124 + (HEAP32[$27 + 24 >> 2] << 2) >> 2] | 0, 0, 256) | 0; - } - $$035$i = $$035$i + 1 | 0; - } while (($$035$i | 0) < (HEAP32[$19 >> 2] | 0)); - } - HEAP32[$3 + 12 >> 2] = 0; - HEAP32[$3 + 16 >> 2] = 0; - HEAP32[$3 + 20 >> 2] = -16; - $54 = HEAP32[$4 >> 2] | 0; - HEAP32[$7 >> 2] = $54; - $56 = $54; - } else $56 = $8; - HEAP32[$7 >> 2] = $56 + -1; - } - $57 = $3 + 20 | 0; - if ((HEAP32[$57 >> 2] | 0) == -1) return 1; - $60 = $0 + 368 | 0; - if ((HEAP32[$60 >> 2] | 0) <= 0) return 1; - $63 = $0 + 424 | 0; - $$093104 = 0; - L32 : while (1) { - $65 = HEAP32[$1 + ($$093104 << 2) >> 2] | 0; - $67 = HEAP32[$0 + 372 + ($$093104 << 2) >> 2] | 0; - $71 = HEAP32[(HEAP32[$0 + 344 + ($67 << 2) >> 2] | 0) + 20 >> 2] | 0; - $72 = $3 + 60 + ($71 << 2) | 0; - $74 = $3 + 40 + ($67 << 2) | 0; - $76 = (HEAP32[$72 >> 2] | 0) + (HEAP32[$74 >> 2] | 0) | 0; - if (!(_arith_decode($0, $76) | 0)) { - HEAP32[$74 >> 2] = 0; - $130 = HEAP32[$3 + 24 + ($67 << 2) >> 2] | 0; - } else { - $80 = _arith_decode($0, $76 + 1 | 0) | 0; - $82 = $76 + 2 + $80 | 0; - $83 = _arith_decode($0, $82) | 0; - if ($83) { - $86 = (HEAP32[$72 >> 2] | 0) + 20 | 0; - if (!(_arith_decode($0, $86) | 0)) { - $$1 = $83; - $$192 = $86; - } else { - $$09198 = $86; - $$099 = $83; - while (1) { - $89 = $$099 << 1; - if (($89 | 0) == 32768) break L32; - $95 = $$09198 + 1 | 0; - if (!(_arith_decode($0, $95) | 0)) { - $$1 = $89; - $$192 = $95; - break; - } else { - $$09198 = $95; - $$099 = $89; - } - } - } - } else { - $$1 = 0; - $$192 = $82; + STACKTOP = STACKTOP + 256 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(256); + $agg$tmp$byval_copy = sp + 240 | 0; + $vararg_buffer = sp + 216 | 0; + $__wbuf = sp + 112 | 0; + $__wb = sp + 232 | 0; + $__wn = sp + 228 | 0; + $__loc = sp + 224 | 0; + $__neg = sp + 250 | 0; + $agg$tmp = sp + 220 | 0; + $__nbuf = sp; + HEAP32[$__wb >> 2] = $__wbuf; + HEAP32[$__wb + 4 >> 2] = 214; + __ZNKSt3__28ios_base6getlocEv($__loc, $__iob); + $call$i = __ZNKSt3__26locale9use_facetERNS0_2idE($__loc, 67360) | 0; + HEAP8[$__neg >> 0] = 0; + HEAP32[$agg$tmp >> 2] = HEAP32[$__e >> 2]; + $3 = HEAP32[$__iob + 4 >> 2] | 0; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + if (__ZNSt3__29money_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE8__do_getERS4_S4_bRKNS_6localeEjRjRbRKNS_5ctypeIcEERNS_10unique_ptrIcPFvPvEEERPcSM_($__b, $agg$tmp$byval_copy, $__intl, $__loc, $3, $__err, $__neg, $call$i, $__wb, $__wn, $__wbuf + 100 | 0) | 0) { + FUNCTION_TABLE_iiiii[HEAP32[(HEAP32[$call$i >> 2] | 0) + 32 >> 2] & 15]($call$i, 61081, 61091, $agg$tmp$byval_copy) | 0; + $5 = HEAP32[$__wn >> 2] | 0; + $6 = HEAP32[$__wb >> 2] | 0; + $sub$ptr$sub = $5 - $6 | 0; + $7 = $6; + $8 = $5; + if (($sub$ptr$sub | 0) > 98) { + $call15 = _malloc($sub$ptr$sub + 2 | 0) | 0; + if (!$call15) __ZSt17__throw_bad_allocv(); else { + $__h$sroa$0$0 = $call15; + $__nc$0 = $call15; } - do if (($$1 | 0) >= (1 << (HEAPU8[$0 + 232 + $71 >> 0] | 0) >> 1 | 0)) { - $110 = $80 << 2; - if (($$1 | 0) > (1 << (HEAPU8[$0 + 248 + $71 >> 0] | 0) >> 1 | 0)) { - $$sink = $110 + 12 | 0; - break; - } else { - $$sink = $110 + 4 | 0; + } else { + $__h$sroa$0$0 = 0; + $__nc$0 = $__nbuf; + } + if (!(HEAP8[$__neg >> 0] | 0)) $__nc$1 = $__nc$0; else { + HEAP8[$__nc$0 >> 0] = 45; + $__nc$1 = $__nc$0 + 1 | 0; + } + $add$ptr$i = $agg$tmp$byval_copy + 10 | 0; + $sub$ptr$rhs$cast31 = $agg$tmp$byval_copy; + $11 = $8; + $__nc$2 = $__nc$1; + $__w$0 = $7; + while (1) { + if ($__w$0 >>> 0 >= $11 >>> 0) break; + $12 = HEAP8[$__w$0 >> 0] | 0; + $__first$addr$0$i = $agg$tmp$byval_copy; + while (1) { + if (($__first$addr$0$i | 0) == ($add$ptr$i | 0)) { + $__first$addr$0$lcssa$i = $add$ptr$i; break; } - } else $$sink = 0; while (0); - HEAP32[$74 >> 2] = $$sink; - $113 = $$192 + 14 | 0; - $114 = $$1 >> 1; - if (!$114) $$087$lcssa = $$1; else { - $$087101 = $$1; - $119 = $114; - while (1) { - $117 = (_arith_decode($0, $113) | 0) == 0; - $spec$select = ($117 ? 0 : $119) | $$087101; - $119 = $119 >> 1; - if (!$119) { - $$087$lcssa = $spec$select; - break; - } else $$087101 = $spec$select; + if ((HEAP8[$__first$addr$0$i >> 0] | 0) == $12 << 24 >> 24) { + $__first$addr$0$lcssa$i = $__first$addr$0$i; + break; } + $__first$addr$0$i = $__first$addr$0$i + 1 | 0; } - $125 = $3 + 24 + ($67 << 2) | 0; - $127 = (HEAP32[$125 >> 2] | 0) + (($80 | 0) == 0 ? $$087$lcssa + 1 | 0 : ~$$087$lcssa) | 0; - HEAP32[$125 >> 2] = $127; - $130 = $127; - } - HEAP16[$65 >> 1] = $130 << HEAP32[$63 >> 2]; - $$093104 = $$093104 + 1 | 0; - if (($$093104 | 0) >= (HEAP32[$60 >> 2] | 0)) { - label = 37; - break; + HEAP8[$__nc$2 >> 0] = HEAP8[61081 + ($__first$addr$0$lcssa$i - $sub$ptr$rhs$cast31) >> 0] | 0; + $11 = HEAP32[$__wn >> 2] | 0; + $__nc$2 = $__nc$2 + 1 | 0; + $__w$0 = $__w$0 + 1 | 0; } + HEAP8[$__nc$2 >> 0] = 0; + HEAP32[$vararg_buffer >> 2] = $__v; + if ((_sscanf($__nbuf, 61092, $vararg_buffer) | 0) != 1) __ZNSt3__221__throw_runtime_errorEPKc(0); + if ($__h$sroa$0$0 | 0) _free($__h$sroa$0$0); } - if ((label | 0) == 37) return 1; - $91 = HEAP32[$0 >> 2] | 0; - HEAP32[$91 + 20 >> 2] = 117; - FUNCTION_TABLE_vii[HEAP32[$91 + 4 >> 2] & 255]($0, -1); - HEAP32[$57 >> 2] = -1; - return 1; -} - -function _decode_mcu_AC_refine($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$035$i = 0, $$069$lcssa = 0, $$06980 = 0, $$070 = 0, $$071 = 0, $$172 = 0, $$lcssa = 0, $$lcssa75 = 0, $102 = 0, $103 = 0, $114 = 0, $117 = 0, $118 = 0, $122 = 0, $123 = 0, $126 = 0, $131 = 0, $16 = 0, $19 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $27 = 0, $3 = 0, $4 = 0, $54 = 0, $56 = 0, $57 = 0, $61 = 0, $62 = 0, $66 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $8 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $89 = 0, $93 = 0, $96 = 0, dest = 0, label = 0, stop = 0; - $3 = HEAP32[$0 + 468 >> 2] | 0; - $4 = $0 + 280 | 0; - if (HEAP32[$4 >> 2] | 0) { - $7 = $3 + 56 | 0; - $8 = HEAP32[$7 >> 2] | 0; - if (!$8) { - if (!(FUNCTION_TABLE_ii[HEAP32[(HEAP32[$0 + 464 >> 2] | 0) + 8 >> 2] & 127]($0) | 0)) { - $16 = HEAP32[$0 >> 2] | 0; - HEAP32[$16 + 20 >> 2] = 25; - FUNCTION_TABLE_vi[HEAP32[$16 >> 2] & 255]($0); - } - $19 = $0 + 340 | 0; - if ((HEAP32[$19 >> 2] | 0) > 0) { - $22 = $0 + 224 | 0; - $23 = $0 + 412 | 0; - $24 = $0 + 436 | 0; - $25 = $0 + 420 | 0; - $$035$i = 0; - do { - $27 = HEAP32[$0 + 344 + ($$035$i << 2) >> 2] | 0; - if (HEAP32[$22 >> 2] | 0) if (!(HEAP32[$23 >> 2] | 0)) { - if (!(HEAP32[$25 >> 2] | 0)) label = 10; - } else label = 13; else label = 10; - do if ((label | 0) == 10) { - label = 0; - dest = HEAP32[$3 + 60 + (HEAP32[$27 + 20 >> 2] << 2) >> 2] | 0; - stop = dest + 64 | 0; - do { - HEAP8[dest >> 0] = 0; - dest = dest + 1 | 0; - } while ((dest | 0) < (stop | 0)); - HEAP32[$3 + 24 + ($$035$i << 2) >> 2] = 0; - HEAP32[$3 + 40 + ($$035$i << 2) >> 2] = 0; - if (!(HEAP32[$22 >> 2] | 0)) if (!(HEAP32[$24 >> 2] | 0)) break; else { - label = 13; - break; - } else if (!(HEAP32[$23 >> 2] | 0)) break; else { - label = 13; - break; - } - } while (0); - if ((label | 0) == 13) { - label = 0; - _memset(HEAP32[$3 + 124 + (HEAP32[$27 + 24 >> 2] << 2) >> 2] | 0, 0, 256) | 0; - } - $$035$i = $$035$i + 1 | 0; - } while (($$035$i | 0) < (HEAP32[$19 >> 2] | 0)); - } - HEAP32[$3 + 12 >> 2] = 0; - HEAP32[$3 + 16 >> 2] = 0; - HEAP32[$3 + 20 >> 2] = -16; - $54 = HEAP32[$4 >> 2] | 0; - HEAP32[$7 >> 2] = $54; - $56 = $54; - } else $56 = $8; - HEAP32[$7 >> 2] = $56 + -1; - } - $57 = $3 + 20 | 0; - if ((HEAP32[$57 >> 2] | 0) == -1) return 1; - $61 = HEAP32[$0 + 432 >> 2] | 0; - $62 = HEAP32[$1 >> 2] | 0; - $66 = HEAP32[(HEAP32[$0 + 344 >> 2] | 0) + 24 >> 2] | 0; - $68 = HEAP32[$0 + 424 >> 2] | 0; - $69 = 1 << $68; - $70 = -1 << $68; - $71 = $0 + 416 | 0; - $$071 = HEAP32[$71 >> 2] | 0; - while (1) { - if (HEAP16[$62 + (HEAP32[$61 + ($$071 << 2) >> 2] << 1) >> 1] | 0) { - $$172 = $$071; + $16 = HEAP32[$__b >> 2] | 0; + do if ($16) { + $17 = HEAP32[$16 + 12 >> 2] | 0; + if (($17 | 0) == (HEAP32[$16 + 16 >> 2] | 0)) $retval$0$i$i$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$16 >> 2] | 0) + 36 >> 2] & 127]($16) | 0; else $retval$0$i$i$i$i = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$17 >> 0] | 0) | 0; + if (__ZNSt3__211char_traitsIcE11eq_int_typeEii($retval$0$i$i$i$i, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { + HEAP32[$__b >> 2] = 0; + $29 = 1; break; - } - $$071 = $$071 + -1 | 0; - if (!$$071) { - $$172 = 0; + } else { + $29 = (HEAP32[$__b >> 2] | 0) == 0; break; } - } - $83 = $3 + 124 + ($66 << 2) | 0; - $84 = $3 + 188 | 0; - $85 = $69 & 65535; - $86 = $70 & 65535; - $$070 = (HEAP32[$0 + 412 >> 2] | 0) + -1 | 0; - L33 : while (1) { - $89 = (HEAP32[$83 >> 2] | 0) + ($$070 * 3 | 0) | 0; - if (($$070 | 0) >= ($$172 | 0) ? _arith_decode($0, $89) | 0 : 0) { - label = 38; + } else $29 = 1; while (0); + $21 = HEAP32[$__e >> 2] | 0; + do if ($21) { + $22 = HEAP32[$21 + 12 >> 2] | 0; + if (($22 | 0) == (HEAP32[$21 + 16 >> 2] | 0)) $retval$0$i$i13$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$21 >> 2] | 0) + 36 >> 2] & 127]($21) | 0; else $retval$0$i$i13$i$i = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$22 >> 0] | 0) | 0; + if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii($retval$0$i$i13$i$i, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if ($29) break; else { + label = 34; + break; + } else { + HEAP32[$__e >> 2] = 0; + label = 32; break; } - $93 = $$070 + 1 | 0; - $96 = $62 + (HEAP32[$61 + ($93 << 2) >> 2] << 1) | 0; - L38 : do if (!(HEAP16[$96 >> 1] | 0)) { - $$06980 = $89; - $114 = $96; - $117 = $93; - while (1) { - if (_arith_decode($0, $$06980 + 1 | 0) | 0) break; - if (($117 | 0) >= (HEAP32[$71 >> 2] | 0)) { - label = 35; - break L33; - } - $122 = $$06980 + 3 | 0; - $123 = $117 + 1 | 0; - $126 = $62 + (HEAP32[$61 + ($123 << 2) >> 2] << 1) | 0; - if (!(HEAP16[$126 >> 1] | 0)) { - $$06980 = $122; - $114 = $126; - $117 = $123; - } else { - $$069$lcssa = $122; - $$lcssa = $126; - $$lcssa75 = $123; - label = 26; - break L38; - } - } - if (!(_arith_decode($0, $84) | 0)) { - HEAP16[$114 >> 1] = $85; - $131 = $117; - break; + } else label = 32; while (0); + if ((label | 0) == 32 ? $29 : 0) label = 34; + if ((label | 0) == 34) HEAP32[$__err >> 2] = HEAP32[$__err >> 2] | 2; + $retval$sroa$0$0$copyload = HEAP32[$__b >> 2] | 0; + __ZNSt3__26localeD2Ev($__loc); + $27 = HEAP32[$__wb >> 2] | 0; + HEAP32[$__wb >> 2] = 0; + if ($27 | 0) FUNCTION_TABLE_vi[HEAP32[$__wb + 4 >> 2] & 255]($27); + STACKTOP = sp; + return $retval$sroa$0$0$copyload | 0; +} + +function _examine_app0($cinfo, $data, $datalen, $remaining) { + $cinfo = $cinfo | 0; + $data = $data | 0; + $datalen = $datalen | 0; + $remaining = $remaining | 0; + var $$pre$phiZ2D = 0, $12 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $24 = 0, $25 = 0, $26 = 0, $32 = 0, $33 = 0, $34 = 0, $42 = 0, $45 = 0, $48 = 0, $5 = 0, $51 = 0, $56 = 0, $6 = 0, $7 = 0, $JFIF_major_version = 0, $JFIF_minor_version = 0, $X_density = 0, $Y_density = 0, $add = 0, $arrayidx149 = 0, $arrayidx82 = 0, $arrayidx84 = 0, $conv31 = 0, $conv38 = 0, $density_unit = 0, $sub = 0, label = 0; + $add = $remaining + $datalen | 0; + if ($datalen >>> 0 > 13) { + if ((HEAP8[$data >> 0] | 0) == 74) if ((((HEAP8[$data + 1 >> 0] | 0) == 70 ? (HEAP8[$data + 2 >> 0] | 0) == 73 : 0) ? (HEAP8[$data + 3 >> 0] | 0) == 70 : 0) ? (HEAP8[$data + 4 >> 0] | 0) == 0 : 0) { + HEAP32[$cinfo + 284 >> 2] = 1; + $5 = HEAP8[$data + 5 >> 0] | 0; + $JFIF_major_version = $cinfo + 288 | 0; + HEAP8[$JFIF_major_version >> 0] = $5; + $6 = HEAP8[$data + 6 >> 0] | 0; + $JFIF_minor_version = $cinfo + 289 | 0; + HEAP8[$JFIF_minor_version >> 0] = $6; + $7 = HEAP8[$data + 7 >> 0] | 0; + $density_unit = $cinfo + 290 | 0; + HEAP8[$density_unit >> 0] = $7; + $conv31 = (HEAPU8[$data + 8 >> 0] << 8 | HEAPU8[$data + 9 >> 0]) & 65535; + $X_density = $cinfo + 292 | 0; + HEAP16[$X_density >> 1] = $conv31; + $conv38 = (HEAPU8[$data + 10 >> 0] << 8 | HEAPU8[$data + 11 >> 0]) & 65535; + $Y_density = $cinfo + 294 | 0; + HEAP16[$Y_density >> 1] = $conv38; + if (($5 + -1 & 255) < 2) { + $$pre$phiZ2D = $cinfo; + $18 = $5; + $19 = $6; + $20 = $conv31; + $21 = $conv38; + $22 = $7; } else { - HEAP16[$114 >> 1] = $86; - $131 = $117; - break; + $12 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$12 + 20 >> 2] = 122; + HEAP32[$12 + 24 >> 2] = $5 & 255; + HEAP32[(HEAP32[$cinfo >> 2] | 0) + 28 >> 2] = HEAPU8[$JFIF_minor_version >> 0]; + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$cinfo >> 2] | 0) + 4 >> 2] & 255]($cinfo, -1); + $$pre$phiZ2D = $cinfo; + $18 = HEAP8[$JFIF_major_version >> 0] | 0; + $19 = HEAP8[$JFIF_minor_version >> 0] | 0; + $20 = HEAP16[$X_density >> 1] | 0; + $21 = HEAP16[$Y_density >> 1] | 0; + $22 = HEAP8[$density_unit >> 0] | 0; + } + $17 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$17 + 24 >> 2] = $18 & 255; + HEAP32[$17 + 28 >> 2] = $19 & 255; + HEAP32[$17 + 32 >> 2] = $20 & 65535; + HEAP32[$17 + 36 >> 2] = $21 & 65535; + HEAP32[$17 + 40 >> 2] = $22 & 255; + HEAP32[$17 + 20 >> 2] = 89; + FUNCTION_TABLE_vii[HEAP32[$17 + 4 >> 2] & 255]($$pre$phiZ2D, 1); + $arrayidx82 = $data + 12 | 0; + $24 = HEAP8[$arrayidx82 >> 0] | 0; + $arrayidx84 = $data + 13 | 0; + $25 = HEAP8[$arrayidx84 >> 0] | 0; + if (!(($25 | $24) << 24 >> 24)) { + $32 = $24; + $33 = $25; + } else { + $26 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$26 + 20 >> 2] = 92; + HEAP32[$26 + 24 >> 2] = HEAPU8[$arrayidx82 >> 0]; + HEAP32[(HEAP32[$cinfo >> 2] | 0) + 28 >> 2] = HEAPU8[$arrayidx84 >> 0]; + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$cinfo >> 2] | 0) + 4 >> 2] & 255]($$pre$phiZ2D, 1); + $32 = HEAP8[$arrayidx82 >> 0] | 0; + $33 = HEAP8[$arrayidx84 >> 0] | 0; + } + $sub = $add + -14 | 0; + if (($sub | 0) == (Math_imul(($32 & 255) * 3 | 0, $33 & 255) | 0)) return; + $34 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$34 + 20 >> 2] = 90; + HEAP32[$34 + 24 >> 2] = $sub; + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$cinfo >> 2] | 0) + 4 >> 2] & 255]($$pre$phiZ2D, 1); + return; + } else label = 16; + } else if ($datalen >>> 0 > 5 ? (HEAP8[$data >> 0] | 0) == 74 : 0) label = 16; + if (((((label | 0) == 16 ? (HEAP8[$data + 1 >> 0] | 0) == 70 : 0) ? (HEAP8[$data + 2 >> 0] | 0) == 88 : 0) ? (HEAP8[$data + 3 >> 0] | 0) == 88 : 0) ? (HEAP8[$data + 4 >> 0] | 0) == 0 : 0) { + $arrayidx149 = $data + 5 | 0; + switch (HEAP8[$arrayidx149 >> 0] | 0) { + case 16: + { + $42 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$42 + 20 >> 2] = 110; + HEAP32[$42 + 24 >> 2] = $add; + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$cinfo >> 2] | 0) + 4 >> 2] & 255]($cinfo, 1); + return; + } + case 17: + { + $45 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$45 + 20 >> 2] = 111; + HEAP32[$45 + 24 >> 2] = $add; + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$cinfo >> 2] | 0) + 4 >> 2] & 255]($cinfo, 1); + return; + } + case 19: + { + $48 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$48 + 20 >> 2] = 112; + HEAP32[$48 + 24 >> 2] = $add; + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$cinfo >> 2] | 0) + 4 >> 2] & 255]($cinfo, 1); + return; + } + default: + { + $51 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$51 + 20 >> 2] = 91; + HEAP32[$51 + 24 >> 2] = HEAPU8[$arrayidx149 >> 0]; + HEAP32[(HEAP32[$cinfo >> 2] | 0) + 28 >> 2] = $add; + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$cinfo >> 2] | 0) + 4 >> 2] & 255]($cinfo, 1); + return; } - } else { - $$069$lcssa = $89; - $$lcssa = $96; - $$lcssa75 = $93; - label = 26; - } while (0); - do if ((label | 0) == 26) { - label = 0; - if (_arith_decode($0, $$069$lcssa + 2 | 0) | 0) { - $102 = HEAP16[$$lcssa >> 1] | 0; - $103 = $102 << 16 >> 16; - if ($102 << 16 >> 16 < 0) { - HEAP16[$$lcssa >> 1] = $70 + $103; - $131 = $$lcssa75; - break; - } else { - HEAP16[$$lcssa >> 1] = $69 + $103; - $131 = $$lcssa75; - break; - } - } else $131 = $$lcssa75; - } while (0); - if (($131 | 0) < (HEAP32[$71 >> 2] | 0)) $$070 = $131; else { - label = 38; - break; } } - if ((label | 0) == 35) { - $118 = HEAP32[$0 >> 2] | 0; - HEAP32[$118 + 20 >> 2] = 117; - FUNCTION_TABLE_vii[HEAP32[$118 + 4 >> 2] & 255]($0, -1); - HEAP32[$57 >> 2] = -1; - return 1; - } else if ((label | 0) == 38) return 1; - return 0; + $56 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$56 + 20 >> 2] = 79; + HEAP32[$56 + 24 >> 2] = $add; + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$cinfo >> 2] | 0) + 4 >> 2] & 255]($cinfo, 1); + return; } -function _extractVisibleFeaturesHomography_172($xsize, $ysize, $trans1, $surfaceSet, $candidate, $candidate2) { - $xsize = $xsize | 0; - $ysize = $ysize | 0; - $trans1 = $trans1 | 0; - $surfaceSet = $surfaceSet | 0; - $candidate = $candidate | 0; - $candidate2 = $candidate2 | 0; - var $10 = 0.0, $11 = 0.0, $15 = 0, $18 = 0.0, $2 = 0, $21 = 0, $22 = 0.0, $4 = 0, $5 = 0, $7 = 0, $arrayidx56 = 0, $arrayidx61 = 0, $cmp30 = 0, $conv = 0.0, $conv36 = 0.0, $flag112 = 0, $flag132$sink = 0, $i$0 = 0, $j$0 = 0, $j$1 = 0, $k$0 = 0, $k$1 = 0, $l$0 = 0, $l$1 = 0, $l$2 = 0, $l$3 = 0, $l2$0 = 0, $l2$1 = 0, $l2$2 = 0, $l2$3 = 0, $num = 0, $sx = 0, $sy = 0, $trans2 = 0, $vararg_buffer = 0, $w = 0, $wpos = 0, label = 0, sp = 0; +function _arParamDecompMat($source, $cpara, $trans) { + $source = $source | 0; + $cpara = $cpara | 0; + $trans = $trans | 0; + var $10 = 0.0, $11 = 0.0, $12 = 0.0, $21 = 0.0, $22 = 0.0, $23 = 0.0, $3 = 0.0, $37 = 0.0, $4 = 0.0, $5 = 0.0, $Cpara = 0, $arrayidx118 = 0, $arrayidx123 = 0, $arrayidx128 = 0, $arrayidx133 = 0, $arrayidx148 = 0, $arrayidx163 = 0, $arrayidx265 = 0, $arrayidx50 = 0, $arrayidx56 = 0, $arrayidx63 = 0, $arrayidx70 = 0, $arrayidx77 = 0, $arrayidx92 = 0, $c$0 = 0, $c$1 = 0, $c$2 = 0, $c$3 = 0, $call = 0.0, $call116 = 0.0, $call146 = 0.0, $call161 = 0.0, $call206 = 0.0, $call90 = 0.0, $div = 0.0, $div234 = 0.0, $div61 = 0.0, $div68 = 0.0, $r$0 = 0, $r$1 = 0, $r$2 = 0, $r$3 = 0, $sub107 = 0.0, $sub115 = 0.0, $sub177 = 0.0, $sub191 = 0.0, $sub205 = 0.0, $sub99 = 0.0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 80 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(80); - $vararg_buffer = sp + 48 | 0; - $trans2 = sp; - $sx = sp + 76 | 0; - $sy = sp + 72 | 0; - $wpos = sp + 64 | 0; - $w = sp + 56 | 0; - $num = $surfaceSet + 4 | 0; - $conv = +($xsize | 0); - $conv36 = +($ysize | 0); - $arrayidx56 = $wpos + 4 | 0; - $arrayidx61 = $w + 4 | 0; - $flag112 = $candidate2 + 4812 | 0; - $i$0 = 0; - $l$0 = 0; - $l2$0 = 0; - L1 : while (1) { - if (($i$0 | 0) >= (HEAP32[$num >> 2] | 0)) { - label = 28; - break; - } - $j$0 = 0; + STACKTOP = STACKTOP + 96 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(96); + $Cpara = sp; + L1 : do if (!(+HEAPF64[$source + 88 >> 3] >= 0.0)) { + $r$1 = 0; while (1) { - if (($j$0 | 0) == 3) break; - $k$0 = 0; + if (($r$1 | 0) == 3) break L1; + $c$1 = 0; while (1) { - if (($k$0 | 0) == 4) break; - HEAP32[$trans2 + ($j$0 << 4) + ($k$0 << 2) >> 2] = HEAP32[$trans1 + ($i$0 * 48 | 0) + ($j$0 << 4) + ($k$0 << 2) >> 2]; - $k$0 = $k$0 + 1 | 0; + if (($c$1 | 0) == 4) break; + HEAPF64[$Cpara + ($r$1 << 5) + ($c$1 << 3) >> 3] = -+HEAPF64[$source + ($r$1 << 5) + ($c$1 << 3) >> 3]; + $c$1 = $c$1 + 1 | 0; } - $j$0 = $j$0 + 1 | 0; + $r$1 = $r$1 + 1 | 0; } - $2 = HEAP32[(HEAP32[$surfaceSet >> 2] | 0) + ($i$0 * 112 | 0) + 4 >> 2] | 0; - $j$1 = 0; - $l$1 = $l$0; - $l2$1 = $l2$0; + } else { + $r$0 = 0; while (1) { - if (($j$1 | 0) >= (HEAP32[$2 + 4 >> 2] | 0)) break; - $5 = $2; - $k$1 = 0; - $l$2 = $l$1; - $l2$2 = $l2$1; + if (($r$0 | 0) == 3) break L1; + $c$0 = 0; while (1) { - $4 = HEAP32[$5 >> 2] | 0; - if (($k$1 | 0) >= (HEAP32[$4 + ($j$1 * 20 | 0) + 4 >> 2] | 0)) break; - $7 = HEAP32[$4 + ($j$1 * 20 | 0) >> 2] | 0; - $cmp30 = (_ar2MarkerCoord2ScreenCoord2(0, $trans2, +HEAPF32[$7 + ($k$1 * 20 | 0) + 8 >> 2], +HEAPF32[$7 + ($k$1 * 20 | 0) + 12 >> 2], $sx, $sy) | 0) < 0; - $10 = +HEAPF32[$sx >> 2]; - do if (!($cmp30 | $10 < 0.0) ? ($11 = +HEAPF32[$sy >> 2], !($11 >= $conv36) & (!($10 >= $conv) & !($11 < 0.0))) : 0) { - $15 = HEAP32[(HEAP32[HEAP32[(HEAP32[$surfaceSet >> 2] | 0) + ($i$0 * 112 | 0) + 4 >> 2] >> 2] | 0) + ($j$1 * 20 | 0) >> 2] | 0; - HEAP32[$wpos >> 2] = HEAP32[$15 + ($k$1 * 20 | 0) + 8 >> 2]; - HEAP32[$arrayidx56 >> 2] = HEAP32[$15 + ($k$1 * 20 | 0) + 12 >> 2]; - _ar2GetResolution(0, $trans2, $wpos, $w) | 0; - $18 = +HEAPF32[$arrayidx61 >> 2]; - $21 = HEAP32[HEAP32[(HEAP32[$surfaceSet >> 2] | 0) + ($i$0 * 112 | 0) + 4 >> 2] >> 2] | 0; - $22 = +HEAPF32[$21 + ($j$1 * 20 | 0) + 12 >> 2]; - if ($18 <= $22 ? $18 >= +HEAPF32[$21 + ($j$1 * 20 | 0) + 16 >> 2] : 0) { - if (($l$2 | 0) == 200) { - label = 18; - break L1; - } - HEAP32[$candidate + ($l$2 * 24 | 0) >> 2] = $i$0; - HEAP32[$candidate + ($l$2 * 24 | 0) + 4 >> 2] = $j$1; - HEAP32[$candidate + ($l$2 * 24 | 0) + 8 >> 2] = $k$1; - HEAP32[$candidate + ($l$2 * 24 | 0) + 16 >> 2] = HEAP32[$sx >> 2]; - HEAP32[$candidate + ($l$2 * 24 | 0) + 20 >> 2] = HEAP32[$sy >> 2]; - HEAP32[$candidate + ($l$2 * 24 | 0) + 12 >> 2] = 0; - $l$3 = $l$2 + 1 | 0; - $l2$3 = $l2$2; - break; - } - if ($18 <= $22 * 2.0 ? $18 >= +HEAPF32[$21 + ($j$1 * 20 | 0) + 16 >> 2] * .5 : 0) if (($l2$2 | 0) == 200) { - HEAP32[$flag112 >> 2] = -1; - $l$3 = $l$2; - $l2$3 = 200; - break; - } else { - HEAP32[$candidate2 + ($l2$2 * 24 | 0) >> 2] = $i$0; - HEAP32[$candidate2 + ($l2$2 * 24 | 0) + 4 >> 2] = $j$1; - HEAP32[$candidate2 + ($l2$2 * 24 | 0) + 8 >> 2] = $k$1; - HEAP32[$candidate2 + ($l2$2 * 24 | 0) + 16 >> 2] = HEAP32[$sx >> 2]; - HEAP32[$candidate2 + ($l2$2 * 24 | 0) + 20 >> 2] = HEAP32[$sy >> 2]; - HEAP32[$candidate2 + ($l2$2 * 24 | 0) + 12 >> 2] = 0; - $l$3 = $l$2; - $l2$3 = $l2$2 + 1 | 0; - break; - } else { - $l$3 = $l$2; - $l2$3 = $l2$2; - } - } else { - $l$3 = $l$2; - $l2$3 = $l2$2; - } while (0); - $5 = HEAP32[(HEAP32[$surfaceSet >> 2] | 0) + ($i$0 * 112 | 0) + 4 >> 2] | 0; - $k$1 = $k$1 + 1 | 0; - $l$2 = $l$3; - $l2$2 = $l2$3; + if (($c$0 | 0) == 4) break; + HEAPF64[$Cpara + ($r$0 << 5) + ($c$0 << 3) >> 3] = +HEAPF64[$source + ($r$0 << 5) + ($c$0 << 3) >> 3]; + $c$0 = $c$0 + 1 | 0; } - $2 = $5; - $j$1 = $j$1 + 1 | 0; - $l$1 = $l$2; - $l2$1 = $l2$2; + $r$0 = $r$0 + 1 | 0; } - $i$0 = $i$0 + 1 | 0; - $l$0 = $l$1; - $l2$0 = $l2$1; - } - if ((label | 0) == 18) { - _arLog(0, 3, 45962, $vararg_buffer); - $flag132$sink = $candidate + 4812 | 0; - } else if ((label | 0) == 28) { - HEAP32[$candidate + ($l$0 * 24 | 0) + 12 >> 2] = -1; - $flag132$sink = $candidate2 + ($l2$0 * 24 | 0) + 12 | 0; + } while (0); + $r$2 = 0; + while (1) { + if (($r$2 | 0) == 3) break; + $c$2 = 0; + while (1) { + if (($c$2 | 0) == 4) break; + HEAPF64[$cpara + ($r$2 << 5) + ($c$2 << 3) >> 3] = 0.0; + $c$2 = $c$2 + 1 | 0; + } + $r$2 = $r$2 + 1 | 0; + } + $3 = +HEAPF64[$Cpara + 64 >> 3]; + $4 = +HEAPF64[$Cpara + 72 >> 3]; + $5 = +HEAPF64[$Cpara + 80 >> 3]; + $call = +_norm($3, $4, $5); + $arrayidx50 = $cpara + 80 | 0; + HEAPF64[$arrayidx50 >> 3] = $call; + $div = $3 / $call; + $arrayidx56 = $trans + 64 | 0; + HEAPF64[$arrayidx56 >> 3] = $div; + $div61 = $4 / +HEAPF64[$arrayidx50 >> 3]; + $arrayidx63 = $trans + 72 | 0; + HEAPF64[$arrayidx63 >> 3] = $div61; + $div68 = $5 / +HEAPF64[$arrayidx50 >> 3]; + $arrayidx70 = $trans + 80 | 0; + HEAPF64[$arrayidx70 >> 3] = $div68; + $arrayidx77 = $trans + 88 | 0; + HEAPF64[$arrayidx77 >> 3] = +HEAPF64[$Cpara + 88 >> 3] / +HEAPF64[$arrayidx50 >> 3]; + $10 = +HEAPF64[$Cpara + 32 >> 3]; + $11 = +HEAPF64[$Cpara + 40 >> 3]; + $12 = +HEAPF64[$Cpara + 48 >> 3]; + $call90 = +_dot($div, $div61, $div68, $10, $11, $12); + $arrayidx92 = $cpara + 48 | 0; + HEAPF64[$arrayidx92 >> 3] = $call90; + $sub99 = $10 - $call90 * +HEAPF64[$arrayidx56 >> 3]; + $sub107 = $11 - $call90 * +HEAPF64[$arrayidx63 >> 3]; + $sub115 = $12 - $call90 * +HEAPF64[$arrayidx70 >> 3]; + $call116 = +_norm($sub99, $sub107, $sub115); + $arrayidx118 = $cpara + 40 | 0; + HEAPF64[$arrayidx118 >> 3] = $call116; + $arrayidx123 = $trans + 32 | 0; + HEAPF64[$arrayidx123 >> 3] = $sub99 / $call116; + $arrayidx128 = $trans + 40 | 0; + HEAPF64[$arrayidx128 >> 3] = $sub107 / +HEAPF64[$arrayidx118 >> 3]; + $arrayidx133 = $trans + 48 | 0; + HEAPF64[$arrayidx133 >> 3] = $sub115 / +HEAPF64[$arrayidx118 >> 3]; + $21 = +HEAPF64[$Cpara >> 3]; + $22 = +HEAPF64[$Cpara + 8 >> 3]; + $23 = +HEAPF64[$Cpara + 16 >> 3]; + $call146 = +_dot(+HEAPF64[$arrayidx56 >> 3], +HEAPF64[$arrayidx63 >> 3], +HEAPF64[$arrayidx70 >> 3], $21, $22, $23); + $arrayidx148 = $cpara + 16 | 0; + HEAPF64[$arrayidx148 >> 3] = $call146; + $call161 = +_dot(+HEAPF64[$arrayidx123 >> 3], +HEAPF64[$arrayidx128 >> 3], +HEAPF64[$arrayidx133 >> 3], $21, $22, $23); + $arrayidx163 = $cpara + 8 | 0; + HEAPF64[$arrayidx163 >> 3] = $call161; + $sub177 = $21 - $call161 * +HEAPF64[$arrayidx123 >> 3] - $call146 * +HEAPF64[$arrayidx56 >> 3]; + $sub191 = $22 - $call161 * +HEAPF64[$arrayidx128 >> 3] - $call146 * +HEAPF64[$arrayidx63 >> 3]; + $sub205 = $23 - $call161 * +HEAPF64[$arrayidx133 >> 3] - $call146 * +HEAPF64[$arrayidx70 >> 3]; + $call206 = +_norm($sub177, $sub191, $sub205); + HEAPF64[$cpara >> 3] = $call206; + HEAPF64[$trans >> 3] = $sub177 / $call206; + HEAPF64[$trans + 8 >> 3] = $sub191 / +HEAPF64[$cpara >> 3]; + HEAPF64[$trans + 16 >> 3] = $sub205 / +HEAPF64[$cpara >> 3]; + $37 = +HEAPF64[$arrayidx77 >> 3]; + $div234 = (+HEAPF64[$Cpara + 56 >> 3] - +HEAPF64[$arrayidx92 >> 3] * $37) / +HEAPF64[$arrayidx118 >> 3]; + HEAPF64[$trans + 56 >> 3] = $div234; + HEAPF64[$trans + 24 >> 3] = (+HEAPF64[$Cpara + 24 >> 3] - $div234 * +HEAPF64[$arrayidx163 >> 3] - $37 * +HEAPF64[$arrayidx148 >> 3]) / +HEAPF64[$cpara >> 3]; + $r$3 = 0; + while (1) { + if (($r$3 | 0) == 3) break; + $c$3 = 0; + while (1) { + if (($c$3 | 0) == 3) break; + $arrayidx265 = $cpara + ($r$3 << 5) + ($c$3 << 3) | 0; + HEAPF64[$arrayidx265 >> 3] = +HEAPF64[$arrayidx265 >> 3] / +HEAPF64[$arrayidx50 >> 3]; + $c$3 = $c$3 + 1 | 0; + } + $r$3 = $r$3 + 1 | 0; } - HEAP32[$flag132$sink >> 2] = -1; STACKTOP = sp; - return; + return 0; } -function _jpeg_idct_12x6($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $$0229240 = 0, $$0231239 = 0, $$0232238 = 0, $$0241 = 0, $$1230236 = 0, $$1237 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $109 = 0, $110 = 0, $111 = 0, $113 = 0, $115 = 0, $117 = 0, $119 = 0, $120 = 0, $121 = 0, $122 = 0, $124 = 0, $126 = 0, $129 = 0, $131 = 0, $135 = 0, $139 = 0, $144 = 0, $145 = 0, $146 = 0, $148 = 0, $15 = 0, $150 = 0, $152 = 0, $22 = 0, $23 = 0, $25 = 0, $32 = 0, $33 = 0, $34 = 0, $40 = 0, $46 = 0, $5 = 0, $52 = 0, $54 = 0, $57 = 0, $60 = 0, $63 = 0, $7 = 0, $83 = 0, $86 = 0, $89 = 0, $92 = 0, $93 = 0, $94 = 0, $96 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 192 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(192); - $5 = sp; - $7 = HEAP32[$0 + 336 >> 2] | 0; - $$0229240 = $5; - $$0231239 = HEAP32[$1 + 84 >> 2] | 0; - $$0232238 = $2; - $$0241 = 0; - while (1) { - $15 = Math_imul(HEAP16[$$0232238 >> 1] << 13, HEAP32[$$0231239 >> 2] | 0) | 0 | 1024; - $22 = Math_imul((HEAP16[$$0232238 + 64 >> 1] | 0) * 5793 | 0, HEAP32[$$0231239 + 128 >> 2] | 0) | 0; - $23 = $22 + $15 | 0; - $25 = (Math_imul($22, -2) | 0) + $15 >> 11; - $32 = Math_imul((HEAP16[$$0232238 + 32 >> 1] | 0) * 10033 | 0, HEAP32[$$0231239 + 64 >> 2] | 0) | 0; - $33 = $32 + $23 | 0; - $34 = $23 - $32 | 0; - $40 = Math_imul(HEAP32[$$0231239 + 32 >> 2] | 0, HEAP16[$$0232238 + 16 >> 1] | 0) | 0; - $46 = Math_imul(HEAP32[$$0231239 + 96 >> 2] | 0, HEAP16[$$0232238 + 48 >> 1] | 0) | 0; - $52 = Math_imul(HEAP32[$$0231239 + 160 >> 2] | 0, HEAP16[$$0232238 + 80 >> 1] | 0) | 0; - $54 = ($52 + $40 | 0) * 2998 | 0; - $57 = $54 + ($46 + $40 << 13) | 0; - $60 = $54 + ($52 - $46 << 13) | 0; - $63 = $40 - $46 - $52 << 2; - HEAP32[$$0229240 >> 2] = $57 + $33 >> 11; - HEAP32[$$0229240 + 160 >> 2] = $33 - $57 >> 11; - HEAP32[$$0229240 + 32 >> 2] = $63 + $25; - HEAP32[$$0229240 + 128 >> 2] = $25 - $63; - HEAP32[$$0229240 + 64 >> 2] = $60 + $34 >> 11; - HEAP32[$$0229240 + 96 >> 2] = $34 - $60 >> 11; - $$0241 = $$0241 + 1 | 0; - if (($$0241 | 0) == 8) break; else { - $$0229240 = $$0229240 + 4 | 0; - $$0231239 = $$0231239 + 4 | 0; - $$0232238 = $$0232238 + 2 | 0; - } - } - $83 = $7 + -384 | 0; - $$1230236 = $5; - $$1237 = 0; - while (1) { - $86 = (HEAP32[$3 + ($$1237 << 2) >> 2] | 0) + $4 | 0; - $89 = (HEAP32[$$1230236 >> 2] << 13) + 134348800 | 0; - $92 = (HEAP32[$$1230236 + 16 >> 2] | 0) * 10033 | 0; - $93 = $89 + $92 | 0; - $94 = $89 - $92 | 0; - $96 = HEAP32[$$1230236 + 8 >> 2] | 0; - $101 = HEAP32[$$1230236 + 24 >> 2] << 13; - $102 = ($96 << 13) - $101 | 0; - $103 = $102 + $89 | 0; - $104 = $89 - $102 | 0; - $105 = $101 + ($96 * 11190 | 0) | 0; - $106 = $105 + $93 | 0; - $107 = $93 - $105 | 0; - $109 = ($96 * 2998 | 0) - $101 | 0; - $110 = $109 + $94 | 0; - $111 = $94 - $109 | 0; - $113 = HEAP32[$$1230236 + 4 >> 2] | 0; - $115 = HEAP32[$$1230236 + 12 >> 2] | 0; - $117 = HEAP32[$$1230236 + 20 >> 2] | 0; - $119 = HEAP32[$$1230236 + 28 >> 2] | 0; - $120 = $115 * 10703 | 0; - $121 = Math_imul($115, -4433) | 0; - $122 = $117 + $113 | 0; - $124 = ($122 + $119 | 0) * 7053 | 0; - $126 = $124 + ($122 * 2139 | 0) | 0; - $129 = $120 + ($113 * 2295 | 0) + $126 | 0; - $131 = Math_imul($119 + $117 | 0, -8565) | 0; - $135 = (Math_imul($117, -12112) | 0) + $121 + $131 + $126 | 0; - $139 = ($119 * 12998 | 0) - $120 + $124 + $131 | 0; - $144 = $121 + (Math_imul($113, -5540) | 0) + (Math_imul($119, -16244) | 0) + $124 | 0; - $145 = $113 - $119 | 0; - $146 = $115 - $117 | 0; - $148 = ($145 + $146 | 0) * 4433 | 0; - $150 = $148 + ($145 * 6270 | 0) | 0; - $152 = $148 + (Math_imul($146, -15137) | 0) | 0; - HEAP8[$86 >> 0] = HEAP8[$83 + (($129 + $106 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$86 + 11 >> 0] = HEAP8[$83 + (($106 - $129 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$86 + 1 >> 0] = HEAP8[$83 + (($150 + $103 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$86 + 10 >> 0] = HEAP8[$83 + (($103 - $150 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$86 + 2 >> 0] = HEAP8[$83 + (($135 + $110 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$86 + 9 >> 0] = HEAP8[$83 + (($110 - $135 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$86 + 3 >> 0] = HEAP8[$83 + (($139 + $111 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$86 + 8 >> 0] = HEAP8[$83 + (($111 - $139 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$86 + 4 >> 0] = HEAP8[$83 + (($152 + $104 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$86 + 7 >> 0] = HEAP8[$83 + (($104 - $152 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$86 + 5 >> 0] = HEAP8[$83 + (($144 + $107 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$86 + 6 >> 0] = HEAP8[$83 + (($107 - $144 | 0) >>> 18 & 1023) >> 0] | 0; - $$1237 = $$1237 + 1 | 0; - if (($$1237 | 0) == 6) break; else $$1230236 = $$1230236 + 32 | 0; - } - STACKTOP = sp; - return; -} - -function _jpeg_idct_6x12($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $$0225236 = 0, $$0227235 = 0, $$0228234 = 0, $$0237 = 0, $$1226232 = 0, $$1233 = 0, $100 = 0, $102 = 0, $104 = 0, $106 = 0, $146 = 0, $149 = 0, $15 = 0, $152 = 0, $155 = 0, $156 = 0, $158 = 0, $161 = 0, $162 = 0, $163 = 0, $165 = 0, $167 = 0, $169 = 0, $171 = 0, $174 = 0, $177 = 0, $180 = 0, $22 = 0, $23 = 0, $24 = 0, $30 = 0, $39 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $55 = 0, $61 = 0, $67 = 0, $7 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $78 = 0, $80 = 0, $83 = 0, $85 = 0, $89 = 0, $93 = 0, $98 = 0, $99 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 288 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(288); - $5 = sp; - $7 = HEAP32[$0 + 336 >> 2] | 0; - $$0225236 = $5; - $$0227235 = HEAP32[$1 + 84 >> 2] | 0; - $$0228234 = $2; - $$0237 = 0; - while (1) { - $15 = Math_imul(HEAP16[$$0228234 >> 1] << 13, HEAP32[$$0227235 >> 2] | 0) | 0 | 1024; - $22 = Math_imul((HEAP16[$$0228234 + 64 >> 1] | 0) * 10033 | 0, HEAP32[$$0227235 + 128 >> 2] | 0) | 0; - $23 = $22 + $15 | 0; - $24 = $15 - $22 | 0; - $30 = Math_imul(HEAP32[$$0227235 + 64 >> 2] | 0, HEAP16[$$0228234 + 32 >> 1] | 0) | 0; - $39 = Math_imul(HEAP16[$$0228234 + 96 >> 1] << 13, HEAP32[$$0227235 + 192 >> 2] | 0) | 0; - $40 = ($30 << 13) - $39 | 0; - $41 = $40 + $15 | 0; - $42 = $15 - $40 | 0; - $43 = $39 + ($30 * 11190 | 0) | 0; - $44 = $43 + $23 | 0; - $45 = $23 - $43 | 0; - $47 = ($30 * 2998 | 0) - $39 | 0; - $48 = $47 + $24 | 0; - $49 = $24 - $47 | 0; - $55 = Math_imul(HEAP32[$$0227235 + 32 >> 2] | 0, HEAP16[$$0228234 + 16 >> 1] | 0) | 0; - $61 = Math_imul(HEAP32[$$0227235 + 96 >> 2] | 0, HEAP16[$$0228234 + 48 >> 1] | 0) | 0; - $67 = Math_imul(HEAP32[$$0227235 + 160 >> 2] | 0, HEAP16[$$0228234 + 80 >> 1] | 0) | 0; - $73 = Math_imul(HEAP32[$$0227235 + 224 >> 2] | 0, HEAP16[$$0228234 + 112 >> 1] | 0) | 0; - $74 = $61 * 10703 | 0; - $75 = Math_imul($61, -4433) | 0; - $76 = $67 + $55 | 0; - $78 = ($73 + $76 | 0) * 7053 | 0; - $80 = $78 + ($76 * 2139 | 0) | 0; - $83 = $74 + ($55 * 2295 | 0) + $80 | 0; - $85 = Math_imul($73 + $67 | 0, -8565) | 0; - $89 = (Math_imul($67, -12112) | 0) + $75 + $85 + $80 | 0; - $93 = ($73 * 12998 | 0) - $74 + $78 + $85 | 0; - $98 = $75 + (Math_imul($55, -5540) | 0) + (Math_imul($73, -16244) | 0) + $78 | 0; - $99 = $55 - $73 | 0; - $100 = $61 - $67 | 0; - $102 = ($99 + $100 | 0) * 4433 | 0; - $104 = $102 + ($99 * 6270 | 0) | 0; - $106 = $102 + (Math_imul($100, -15137) | 0) | 0; - HEAP32[$$0225236 >> 2] = $83 + $44 >> 11; - HEAP32[$$0225236 + 264 >> 2] = $44 - $83 >> 11; - HEAP32[$$0225236 + 24 >> 2] = $104 + $41 >> 11; - HEAP32[$$0225236 + 240 >> 2] = $41 - $104 >> 11; - HEAP32[$$0225236 + 48 >> 2] = $89 + $48 >> 11; - HEAP32[$$0225236 + 216 >> 2] = $48 - $89 >> 11; - HEAP32[$$0225236 + 72 >> 2] = $93 + $49 >> 11; - HEAP32[$$0225236 + 192 >> 2] = $49 - $93 >> 11; - HEAP32[$$0225236 + 96 >> 2] = $106 + $42 >> 11; - HEAP32[$$0225236 + 168 >> 2] = $42 - $106 >> 11; - HEAP32[$$0225236 + 120 >> 2] = $98 + $45 >> 11; - HEAP32[$$0225236 + 144 >> 2] = $45 - $98 >> 11; - $$0237 = $$0237 + 1 | 0; - if (($$0237 | 0) == 6) break; else { - $$0225236 = $$0225236 + 4 | 0; - $$0227235 = $$0227235 + 4 | 0; - $$0228234 = $$0228234 + 2 | 0; - } - } - $146 = $7 + -384 | 0; - $$1226232 = $5; - $$1233 = 0; - while (1) { - $149 = (HEAP32[$3 + ($$1233 << 2) >> 2] | 0) + $4 | 0; - $152 = (HEAP32[$$1226232 >> 2] << 13) + 134348800 | 0; - $155 = (HEAP32[$$1226232 + 16 >> 2] | 0) * 5793 | 0; - $156 = $152 + $155 | 0; - $158 = $152 - $155 - $155 | 0; - $161 = (HEAP32[$$1226232 + 8 >> 2] | 0) * 10033 | 0; - $162 = $156 + $161 | 0; - $163 = $156 - $161 | 0; - $165 = HEAP32[$$1226232 + 4 >> 2] | 0; - $167 = HEAP32[$$1226232 + 12 >> 2] | 0; - $169 = HEAP32[$$1226232 + 20 >> 2] | 0; - $171 = ($169 + $165 | 0) * 2998 | 0; - $174 = $171 + ($167 + $165 << 13) | 0; - $177 = $171 + ($169 - $167 << 13) | 0; - $180 = $165 - $167 - $169 << 13; - HEAP8[$149 >> 0] = HEAP8[$146 + (($174 + $162 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$149 + 5 >> 0] = HEAP8[$146 + (($162 - $174 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$149 + 1 >> 0] = HEAP8[$146 + (($180 + $158 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$149 + 4 >> 0] = HEAP8[$146 + (($158 - $180 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$149 + 2 >> 0] = HEAP8[$146 + (($177 + $163 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$149 + 3 >> 0] = HEAP8[$146 + (($163 - $177 | 0) >>> 18 & 1023) >> 0] | 0; - $$1233 = $$1233 + 1 | 0; - if (($$1233 | 0) == 12) break; else $$1226232 = $$1226232 + 24 | 0; - } - STACKTOP = sp; - return; -} - -function _ar2ReadFeatureSet($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $$067 = 0, $$068 = 0, $$069 = 0, $$070 = 0, $10 = 0, $12 = 0, $2 = 0, $24 = 0, $27 = 0, $29 = 0, $3 = 0, $30 = 0, $33 = 0, $5 = 0, $7 = 0, $vararg_buffer = 0, $vararg_buffer11 = 0, $vararg_buffer13 = 0, $vararg_buffer15 = 0, $vararg_buffer17 = 0, $vararg_buffer19 = 0, $vararg_buffer2 = 0, $vararg_buffer21 = 0, $vararg_buffer23 = 0, $vararg_buffer25 = 0, $vararg_buffer27 = 0, $vararg_buffer29 = 0, $vararg_buffer5 = 0, $vararg_buffer7 = 0, $vararg_buffer9 = 0, label = 0, sp = 0; +function __ZNSt3__213unordered_mapIiNS_6vectorIN6vision7Point3dIfEENS_9allocatorIS4_EEEENS_4hashIiEENS_8equal_toIiEENS5_INS_4pairIKiS7_EEEEEixERSD_($this, $__k) { + $this = $this | 0; + $__k = $__k | 0; + var $$pn$i = 0, $0 = 0, $1 = 0, $11 = 0, $16 = 0, $17 = 0, $18 = 0, $23 = 0, $3 = 0, $4 = 0, $7 = 0.0, $9 = 0, $__bc$0$i = 0, $__chash$0$i = 0, $__chash$1$i = 0, $__h$i = 0, $__nd$0$i = 0, $__nd$1$i = 0, $__value_$i$i$i = 0, $__value_$i$i$i1$i$i = 0, $__value_$i$i$i105$i = 0, $__value_$i$i$i37$pre$phi$iZZZZ2D = 0, $add37$i = 0, $cmp$i = 0, $cond6$i$i = 0, $cond6$i50$i = 0, $cond6$i96$i = 0, $conv$i = 0.0, $conv44$i = 0, $ref$tmp2 = 0, $ref$tmp5 = 0, $sub$i$i = 0, $sub$i41$i = 0, $sub$i75$i = 0, $tobool$i$i = 0, label = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 640 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(640); - $vararg_buffer29 = sp + 624 | 0; - $vararg_buffer27 = sp + 616 | 0; - $vararg_buffer25 = sp + 608 | 0; - $vararg_buffer23 = sp + 600 | 0; - $vararg_buffer21 = sp + 592 | 0; - $vararg_buffer19 = sp + 584 | 0; - $vararg_buffer17 = sp + 576 | 0; - $vararg_buffer15 = sp + 568 | 0; - $vararg_buffer13 = sp + 560 | 0; - $vararg_buffer11 = sp + 552 | 0; - $vararg_buffer9 = sp + 544 | 0; - $vararg_buffer7 = sp + 536 | 0; - $vararg_buffer5 = sp + 528 | 0; - $vararg_buffer2 = sp + 520 | 0; - $vararg_buffer = sp + 512 | 0; - $2 = sp; - HEAP32[$vararg_buffer >> 2] = $0; - HEAP32[$vararg_buffer + 4 >> 2] = $1; - _sprintf($2, 26699, $vararg_buffer) | 0; - $3 = _fopen($2, 26308) | 0; - if (!$3) { - HEAP32[$vararg_buffer2 >> 2] = $0; - _arLog(0, 3, 25890, $vararg_buffer2); - $$070 = 0; - } else { - $5 = _malloc(8) | 0; - if (!$5) { - _arLog(0, 3, 45930, $vararg_buffer5); - _exit(1); - } - $7 = $5 + 4 | 0; - L7 : do if ((_fread($7, 4, 1, $3) | 0) == 1) { - $10 = HEAP32[$7 >> 2] | 0; - $12 = _malloc($10 * 20 | 0) | 0; - HEAP32[$5 >> 2] = $12; - if (!$12) { - _arLog(0, 3, 45930, $vararg_buffer9); - _exit(1); - } - $$068 = 0; - L12 : while (1) { - if (($$068 | 0) >= ($10 | 0)) { - $$069 = $5; - break L7; - } - if ((_fread($12 + ($$068 * 20 | 0) + 8 | 0, 4, 1, $3) | 0) != 1) { - label = 12; - break; - } - if ((_fread($12 + ($$068 * 20 | 0) + 12 | 0, 4, 1, $3) | 0) != 1) { - label = 15; - break; - } - if ((_fread($12 + ($$068 * 20 | 0) + 16 | 0, 4, 1, $3) | 0) != 1) { - label = 17; - break; - } - $24 = $12 + ($$068 * 20 | 0) + 4 | 0; - if ((_fread($24, 4, 1, $3) | 0) != 1) { - label = 19; - break; - } - $27 = HEAP32[$24 >> 2] | 0; - $29 = _malloc($27 * 20 | 0) | 0; - $30 = $12 + ($$068 * 20 | 0) | 0; - HEAP32[$30 >> 2] = $29; - if (!$29) { - label = 22; - break; + STACKTOP = STACKTOP + 32 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); + $__h$i = sp + 4 | 0; + $ref$tmp2 = sp; + $ref$tmp5 = sp + 16 | 0; + HEAP32[$ref$tmp2 >> 2] = $__k; + $0 = HEAP32[$__k >> 2] | 0; + $__value_$i$i$i1$i$i = $this + 4 | 0; + $1 = HEAP32[$__value_$i$i$i1$i$i >> 2] | 0; + $cmp$i = ($1 | 0) == 0; + L1 : do if (!$cmp$i) { + $sub$i$i = $1 + -1 | 0; + $tobool$i$i = ($sub$i$i & $1 | 0) == 0; + if (!$tobool$i$i) if ($0 >>> 0 < $1 >>> 0) $cond6$i$i = $0; else $cond6$i$i = ($0 >>> 0) % ($1 >>> 0) | 0; else $cond6$i$i = $sub$i$i & $0; + $3 = HEAP32[(HEAP32[$this >> 2] | 0) + ($cond6$i$i << 2) >> 2] | 0; + if (!$3) { + $__chash$0$i = $cond6$i$i; + label = 16; + } else { + $$pn$i = $3; + while (1) { + $__nd$0$i = HEAP32[$$pn$i >> 2] | 0; + if (!$__nd$0$i) { + $__chash$0$i = $cond6$i$i; + label = 16; + break L1; } - $$067 = 0; - $33 = $27; - while (1) { - if (($$067 | 0) >= ($33 | 0)) break; - if ((_fread((HEAP32[$30 >> 2] | 0) + ($$067 * 20 | 0) | 0, 4, 1, $3) | 0) != 1) { - label = 25; - break L12; - } - if ((_fread((HEAP32[$30 >> 2] | 0) + ($$067 * 20 | 0) + 4 | 0, 4, 1, $3) | 0) != 1) { - label = 27; - break L12; - } - if ((_fread((HEAP32[$30 >> 2] | 0) + ($$067 * 20 | 0) + 8 | 0, 4, 1, $3) | 0) != 1) { - label = 29; - break L12; - } - if ((_fread((HEAP32[$30 >> 2] | 0) + ($$067 * 20 | 0) + 12 | 0, 4, 1, $3) | 0) != 1) { - label = 31; - break L12; - } - if ((_fread((HEAP32[$30 >> 2] | 0) + ($$067 * 20 | 0) + 16 | 0, 4, 1, $3) | 0) != 1) { - label = 34; - break L12; + $4 = HEAP32[$__nd$0$i + 4 >> 2] | 0; + if (($4 | 0) != ($0 | 0)) { + if (!$tobool$i$i) if ($4 >>> 0 < $1 >>> 0) $cond6$i96$i = $4; else $cond6$i96$i = ($4 >>> 0) % ($1 >>> 0) | 0; else $cond6$i96$i = $4 & $sub$i$i; + if (($cond6$i96$i | 0) != ($cond6$i$i | 0)) { + $__chash$0$i = $cond6$i$i; + label = 16; + break L1; } - $$067 = $$067 + 1 | 0; - $33 = HEAP32[$24 >> 2] | 0; - } - $$068 = $$068 + 1 | 0; - } - switch (label | 0) { - case 12: - { - _arLog(0, 3, 25911, $vararg_buffer11); - break; - } - case 15: - { - _arLog(0, 3, 25911, $vararg_buffer13); - break; - } - case 17: - { - _arLog(0, 3, 25911, $vararg_buffer15); - break; - } - case 19: - { - _arLog(0, 3, 25911, $vararg_buffer17); - break; - } - case 22: - { - _arLog(0, 3, 45930, $vararg_buffer19); - _exit(1); - break; - } - case 25: - { - _arLog(0, 3, 25911, $vararg_buffer21); - break; - } - case 27: - { - _arLog(0, 3, 25911, $vararg_buffer23); - break; - } - case 29: - { - _arLog(0, 3, 25911, $vararg_buffer25); - break; - } - case 31: - { - _arLog(0, 3, 25911, $vararg_buffer27); - break; } - case 34: - { - _arLog(0, 3, 25911, $vararg_buffer29); + if ((HEAP32[$__nd$0$i + 8 >> 2] | 0) == ($0 | 0)) { + $__nd$1$i = $__nd$0$i; break; - } + } else $$pn$i = $__nd$0$i; + } + } + } else { + $__chash$0$i = 0; + label = 16; + } while (0); + if ((label | 0) == 16) { + __ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_6vectorIN6vision7Point3dIfEENS_9allocatorIS5_EEEEEENS_22__unordered_map_hasherIiS9_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS9_NS_8equal_toIiEELb1EEENS6_IS9_EEE21__construct_node_hashIRKNS_21piecewise_construct_tEJNS_5tupleIJRKiEEENSO_IJEEEEEENS_10unique_ptrINS_11__hash_nodeIS9_PvEENS_22__hash_node_destructorINS6_ISW_EEEEEEmOT_DpOT0_($__h$i, $this, $0, 68284, $ref$tmp2, $ref$tmp5); + $__value_$i$i$i105$i = $this + 12 | 0; + $conv$i = +(((HEAP32[$__value_$i$i$i105$i >> 2] | 0) + 1 | 0) >>> 0); + $7 = +HEAPF32[$this + 16 >> 2]; + do if ($cmp$i | $7 * +($1 >>> 0) < $conv$i) { + $add37$i = $1 << 1 | ($1 >>> 0 < 3 | ($1 + -1 & $1 | 0) != 0) & 1; + $conv44$i = ~~+Math_ceil(+($conv$i / $7)) >>> 0; + __ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_6vectorIN6vision7Point3dIfEENS_9allocatorIS5_EEEEEENS_22__unordered_map_hasherIiS9_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS9_NS_8equal_toIiEELb1EEENS6_IS9_EEE6rehashEm($this, $add37$i >>> 0 < $conv44$i >>> 0 ? $conv44$i : $add37$i); + $9 = HEAP32[$__value_$i$i$i1$i$i >> 2] | 0; + $sub$i75$i = $9 + -1 | 0; + if (!($sub$i75$i & $9)) { + $__bc$0$i = $9; + $__chash$1$i = $sub$i75$i & $0; + break; } - $$0 = 0; - while (1) { - if (($$0 | 0) == ($$068 | 0)) break; - _free(HEAP32[$12 + ($$0 * 20 | 0) >> 2] | 0); - $$0 = $$0 + 1 | 0; + if ($0 >>> 0 < $9 >>> 0) { + $__bc$0$i = $9; + $__chash$1$i = $0; + } else { + $__bc$0$i = $9; + $__chash$1$i = ($0 >>> 0) % ($9 >>> 0) | 0; } - _free($12); - label = 39; } else { - _arLog(0, 3, 25911, $vararg_buffer7); - label = 39; + $__bc$0$i = $1; + $__chash$1$i = $__chash$0$i; } while (0); - if ((label | 0) == 39) { - _free($5); - $$069 = 0; + $11 = HEAP32[(HEAP32[$this >> 2] | 0) + ($__chash$1$i << 2) >> 2] | 0; + if (!$11) { + $__value_$i$i$i = $this + 8 | 0; + HEAP32[HEAP32[$__h$i >> 2] >> 2] = HEAP32[$__value_$i$i$i >> 2]; + HEAP32[$__value_$i$i$i >> 2] = HEAP32[$__h$i >> 2]; + HEAP32[(HEAP32[$this >> 2] | 0) + ($__chash$1$i << 2) >> 2] = $__value_$i$i$i; + $16 = HEAP32[$__h$i >> 2] | 0; + $17 = HEAP32[$16 >> 2] | 0; + if (!$17) $__value_$i$i$i37$pre$phi$iZZZZ2D = $__h$i; else { + $18 = HEAP32[$17 + 4 >> 2] | 0; + $sub$i41$i = $__bc$0$i + -1 | 0; + if ($sub$i41$i & $__bc$0$i) if ($18 >>> 0 < $__bc$0$i >>> 0) $cond6$i50$i = $18; else $cond6$i50$i = ($18 >>> 0) % ($__bc$0$i >>> 0) | 0; else $cond6$i50$i = $18 & $sub$i41$i; + HEAP32[(HEAP32[$this >> 2] | 0) + ($cond6$i50$i << 2) >> 2] = $16; + $__value_$i$i$i37$pre$phi$iZZZZ2D = $__h$i; + } + } else { + HEAP32[HEAP32[$__h$i >> 2] >> 2] = HEAP32[$11 >> 2]; + HEAP32[$11 >> 2] = HEAP32[$__h$i >> 2]; + $__value_$i$i$i37$pre$phi$iZZZZ2D = $__h$i; } - _fclose($3) | 0; - $$070 = $$069; + $23 = HEAP32[$__value_$i$i$i37$pre$phi$iZZZZ2D >> 2] | 0; + HEAP32[$__value_$i$i$i105$i >> 2] = (HEAP32[$__value_$i$i$i105$i >> 2] | 0) + 1; + HEAP32[$__value_$i$i$i37$pre$phi$iZZZZ2D >> 2] = 0; + $__nd$1$i = $23; } STACKTOP = sp; - return $$070 | 0; + return $__nd$1$i + 12 | 0; } -function _getNFTMarkerInfo($id, $markerIndex) { - $id = $id | 0; - $markerIndex = $markerIndex | 0; - var $12 = 0.0, $14 = 0, $15 = 0, $18 = 0, $3 = 0, $7 = 0, $8 = 0, $call44 = 0, $call7 = 0, $detectedPage = 0, $err = 0, $flag$0 = 0, $flag$1 = 0, $i$0 = 0, $id$addr = 0, $j$0 = 0, $k$0 = 0, $kpmHandle = 0, $kpmResult = 0, $kpmResultNum = 0, $retval$1 = 0, $sub = 0, $surfaceSetCount = 0, $trans = 0, $vararg_buffer = 0, $vararg_buffer1 = 0, label = 0, sp = 0; +function __ZNSt3__213unordered_mapIiNS_10shared_ptrIN6vision8KeyframeILi96EEEEENS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS5_EEEEEixERSC_($this, $__k) { + $this = $this | 0; + $__k = $__k | 0; + var $$pn$i = 0, $0 = 0, $1 = 0, $11 = 0, $16 = 0, $17 = 0, $18 = 0, $23 = 0, $3 = 0, $4 = 0, $7 = 0.0, $9 = 0, $__bc$0$i = 0, $__chash$0$i = 0, $__chash$1$i = 0, $__h$i = 0, $__nd$0$i = 0, $__nd$1$i = 0, $__value_$i$i$i = 0, $__value_$i$i$i1$i$i = 0, $__value_$i$i$i105$i = 0, $__value_$i$i$i37$pre$phi$iZZZZ2D = 0, $add37$i = 0, $cmp$i = 0, $cond6$i$i = 0, $cond6$i50$i = 0, $cond6$i96$i = 0, $conv$i = 0.0, $conv44$i = 0, $ref$tmp2 = 0, $ref$tmp5 = 0, $sub$i$i = 0, $sub$i41$i = 0, $sub$i75$i = 0, $tobool$i$i = 0, label = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 80 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(80); - $vararg_buffer1 = sp + 56 | 0; - $vararg_buffer = sp + 48 | 0; - $id$addr = sp + 72 | 0; - $kpmResult = sp + 76 | 0; - $kpmResultNum = sp + 68 | 0; - $trans = sp; - $err = sp + 64 | 0; - HEAP32[$id$addr >> 2] = $id; - do if (!(__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(65260, $id$addr) | 0)) $retval$1 = HEAP32[4224] | 0; else { - $call7 = __ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(65260, $id$addr) | 0; - $surfaceSetCount = $call7 + 244 | 0; - if ((HEAP32[$surfaceSetCount >> 2] | 0) <= ($markerIndex | 0)) { - $retval$1 = HEAP32[4226] | 0; - break; - } - HEAP32[$kpmResult >> 2] = 0; - HEAP32[$kpmResultNum >> 2] = -1; - HEAPF32[$err >> 2] = -1.0; - $detectedPage = $call7 + 240 | 0; - $3 = HEAP32[$detectedPage >> 2] | 0; - do if (($3 | 0) == -2) { - $kpmHandle = $call7 + 232 | 0; - _kpmMatching(HEAP32[$kpmHandle >> 2] | 0, HEAP32[$call7 + 204 >> 2] | 0) | 0; - _kpmGetResult(HEAP32[$kpmHandle >> 2] | 0, $kpmResult, $kpmResultNum) | 0; - $7 = HEAP32[$kpmResultNum >> 2] | 0; - $8 = HEAP32[$kpmResult >> 2] | 0; - $flag$0 = -1; - $i$0 = 0; + STACKTOP = STACKTOP + 32 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); + $__h$i = sp + 4 | 0; + $ref$tmp2 = sp; + $ref$tmp5 = sp + 16 | 0; + HEAP32[$ref$tmp2 >> 2] = $__k; + $0 = HEAP32[$__k >> 2] | 0; + $__value_$i$i$i1$i$i = $this + 4 | 0; + $1 = HEAP32[$__value_$i$i$i1$i$i >> 2] | 0; + $cmp$i = ($1 | 0) == 0; + L1 : do if (!$cmp$i) { + $sub$i$i = $1 + -1 | 0; + $tobool$i$i = ($sub$i$i & $1 | 0) == 0; + if (!$tobool$i$i) if ($0 >>> 0 < $1 >>> 0) $cond6$i$i = $0; else $cond6$i$i = ($0 >>> 0) % ($1 >>> 0) | 0; else $cond6$i$i = $sub$i$i & $0; + $3 = HEAP32[(HEAP32[$this >> 2] | 0) + ($cond6$i$i << 2) >> 2] | 0; + if (!$3) { + $__chash$0$i = $cond6$i$i; + label = 16; + } else { + $$pn$i = $3; while (1) { - if (($i$0 | 0) >= ($7 | 0)) break; - do if ((HEAP32[$8 + ($i$0 * 68 | 0) + 48 >> 2] | 0) == ($markerIndex | 0) ? (HEAP32[$8 + ($i$0 * 68 | 0) + 60 >> 2] | 0) == 0 : 0) { - if (($flag$0 | 0) == -1) $14 = HEAP32[$8 + ($i$0 * 68 | 0) + 52 >> 2] | 0; else { - $12 = +HEAPF32[$8 + ($i$0 * 68 | 0) + 52 >> 2]; - if (!(+HEAPF32[$err >> 2] > $12)) { - $flag$1 = $flag$0; - break; - } - $14 = (HEAPF32[tempDoublePtr >> 2] = $12, HEAP32[tempDoublePtr >> 2] | 0); + $__nd$0$i = HEAP32[$$pn$i >> 2] | 0; + if (!$__nd$0$i) { + $__chash$0$i = $cond6$i$i; + label = 16; + break L1; + } + $4 = HEAP32[$__nd$0$i + 4 >> 2] | 0; + if (($4 | 0) != ($0 | 0)) { + if (!$tobool$i$i) if ($4 >>> 0 < $1 >>> 0) $cond6$i96$i = $4; else $cond6$i96$i = ($4 >>> 0) % ($1 >>> 0) | 0; else $cond6$i96$i = $4 & $sub$i$i; + if (($cond6$i96$i | 0) != ($cond6$i$i | 0)) { + $__chash$0$i = $cond6$i$i; + label = 16; + break L1; } - HEAP32[$err >> 2] = $14; - $flag$1 = $i$0; - } else $flag$1 = $flag$0; while (0); - $flag$0 = $flag$1; - $i$0 = $i$0 + 1 | 0; + } + if ((HEAP32[$__nd$0$i + 8 >> 2] | 0) == ($0 | 0)) { + $__nd$1$i = $__nd$0$i; + break; + } else $$pn$i = $__nd$0$i; } - if (($flag$0 | 0) <= -1) { - HEAP32[$detectedPage >> 2] = -2; - label = 30; + } + } else { + $__chash$0$i = 0; + label = 16; + } while (0); + if ((label | 0) == 16) { + __ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_10shared_ptrIN6vision8KeyframeILi96EEEEEEENS_22__unordered_map_hasherIiS7_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS7_NS_8equal_toIiEELb1EEENS_9allocatorIS7_EEE21__construct_node_hashIRKNS_21piecewise_construct_tEJNS_5tupleIJRKiEEENSN_IJEEEEEENS_10unique_ptrINS_11__hash_nodeIS7_PvEENS_22__hash_node_destructorINSG_ISV_EEEEEEmOT_DpOT0_($__h$i, $this, $0, 68284, $ref$tmp2, $ref$tmp5); + $__value_$i$i$i105$i = $this + 12 | 0; + $conv$i = +(((HEAP32[$__value_$i$i$i105$i >> 2] | 0) + 1 | 0) >>> 0); + $7 = +HEAPF32[$this + 16 >> 2]; + do if ($cmp$i | $7 * +($1 >>> 0) < $conv$i) { + $add37$i = $1 << 1 | ($1 >>> 0 < 3 | ($1 + -1 & $1 | 0) != 0) & 1; + $conv44$i = ~~+Math_ceil(+($conv$i / $7)) >>> 0; + __ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_10shared_ptrIN6vision8KeyframeILi96EEEEEEENS_22__unordered_map_hasherIiS7_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS7_NS_8equal_toIiEELb1EEENS_9allocatorIS7_EEE6rehashEm($this, $add37$i >>> 0 < $conv44$i >>> 0 ? $conv44$i : $add37$i); + $9 = HEAP32[$__value_$i$i$i1$i$i >> 2] | 0; + $sub$i75$i = $9 + -1 | 0; + if (!($sub$i75$i & $9)) { + $__bc$0$i = $9; + $__chash$1$i = $sub$i75$i & $0; break; } - $15 = HEAP32[$8 + 48 >> 2] | 0; - HEAP32[$detectedPage >> 2] = $15; - $j$0 = 0; - while (1) { - if (($j$0 | 0) == 3) break; - $k$0 = 0; - while (1) { - if (($k$0 | 0) == 4) break; - HEAP32[$trans + ($j$0 << 4) + ($k$0 << 2) >> 2] = HEAP32[$8 + ($flag$0 * 68 | 0) + ($j$0 << 4) + ($k$0 << 2) >> 2]; - $k$0 = $k$0 + 1 | 0; - } - $j$0 = $j$0 + 1 | 0; + if ($0 >>> 0 < $9 >>> 0) { + $__bc$0$i = $9; + $__chash$1$i = $0; + } else { + $__bc$0$i = $9; + $__chash$1$i = ($0 >>> 0) % ($9 >>> 0) | 0; } - _ar2SetInitTrans(HEAP32[$call7 + 248 + ($15 << 2) >> 2] | 0, $trans) | 0; - $18 = HEAP32[$detectedPage >> 2] | 0; - label = 25; } else { - $18 = $3; - label = 25; + $__bc$0$i = $1; + $__chash$1$i = $__chash$0$i; } while (0); - do if ((label | 0) == 25) if (($18 | 0) > -1) { - $call44 = _ar2TrackingMod(HEAP32[$call7 + 236 >> 2] | 0, HEAP32[$call7 + 248 + ($18 << 2) >> 2] | 0, HEAP32[$call7 + 196 >> 2] | 0, $trans, $err) | 0; - if (($call44 | 0) < 0) { - HEAP32[$vararg_buffer >> 2] = $call44; - _arLog(0, 1, 41773, $vararg_buffer); - HEAP32[$detectedPage >> 2] = -2; - label = 30; - break; + $11 = HEAP32[(HEAP32[$this >> 2] | 0) + ($__chash$1$i << 2) >> 2] | 0; + if (!$11) { + $__value_$i$i$i = $this + 8 | 0; + HEAP32[HEAP32[$__h$i >> 2] >> 2] = HEAP32[$__value_$i$i$i >> 2]; + HEAP32[$__value_$i$i$i >> 2] = HEAP32[$__h$i >> 2]; + HEAP32[(HEAP32[$this >> 2] | 0) + ($__chash$1$i << 2) >> 2] = $__value_$i$i$i; + $16 = HEAP32[$__h$i >> 2] | 0; + $17 = HEAP32[$16 >> 2] | 0; + if (!$17) $__value_$i$i$i37$pre$phi$iZZZZ2D = $__h$i; else { + $18 = HEAP32[$17 + 4 >> 2] | 0; + $sub$i41$i = $__bc$0$i + -1 | 0; + if ($sub$i41$i & $__bc$0$i) if ($18 >>> 0 < $__bc$0$i >>> 0) $cond6$i50$i = $18; else $cond6$i50$i = ($18 >>> 0) % ($__bc$0$i >>> 0) | 0; else $cond6$i50$i = $18 & $sub$i41$i; + HEAP32[(HEAP32[$this >> 2] | 0) + ($cond6$i50$i << 2) >> 2] = $16; + $__value_$i$i$i37$pre$phi$iZZZZ2D = $__h$i; } - $sub = (HEAP32[$surfaceSetCount >> 2] | 0) + -1 | 0; - HEAP32[$vararg_buffer1 >> 2] = HEAP32[$call7 + 248 + (HEAP32[$detectedPage >> 2] << 2) >> 2]; - HEAP32[$vararg_buffer1 + 4 >> 2] = $sub; - _arLog(0, 1, 41792, $vararg_buffer1); - if ((HEAP32[$detectedPage >> 2] | 0) > -1) _emscripten_asm_const_iiddddddddddddd(3, $markerIndex | 0, +(+HEAPF32[$err >> 2]), +(+HEAPF32[$trans >> 2]), +(+HEAPF32[$trans + 4 >> 2]), +(+HEAPF32[$trans + 8 >> 2]), +(+HEAPF32[$trans + 12 >> 2]), +(+HEAPF32[$trans + 16 >> 2]), +(+HEAPF32[$trans + 20 >> 2]), +(+HEAPF32[$trans + 24 >> 2]), +(+HEAPF32[$trans + 28 >> 2]), +(+HEAPF32[$trans + 32 >> 2]), +(+HEAPF32[$trans + 36 >> 2]), +(+HEAPF32[$trans + 40 >> 2]), +(+HEAPF32[$trans + 44 >> 2])) | 0; else label = 30; - } else label = 30; while (0); - if ((label | 0) == 30) _emscripten_asm_const_ii(4, $markerIndex | 0) | 0; - $retval$1 = 0; - } while (0); - STACKTOP = sp; - return $retval$1 | 0; -} - -function __ZN6vision21HoughSimilarityVoting19autoAdjustXYNumBinsEPKfS2_i($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $$041 = 0, $103 = 0.0, $16 = 0, $21 = 0, $25 = 0, $33 = 0, $38 = 0, $4 = 0, $42 = 0, $5 = 0, $50 = 0, $55 = 0, $59 = 0, $60 = 0.0, $61 = 0, $67 = 0.0, $7 = 0, $76 = 0, $77 = 0, $86 = 0, $89 = 0, $9 = 0, $93 = 0, $95 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $4 = sp + 12 | 0; - $5 = sp; - $7 = $0 + 4 | 0; - $9 = __ZN6vision4max2IiEET_S1_S1_(HEAP32[$0 >> 2] | 0, HEAP32[$7 >> 2] | 0) | 0; - __ZNSt3__26vectorIfNS_9allocatorIfEEEC2Em($5, $3); - if (($3 | 0) <= 0) { - $16 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 37216) | 0, 37248) | 0, 39072) | 0, 208) | 0, 39079) | 0, 37337) | 0; - __ZNKSt3__28ios_base6getlocEv($4, $16 + (HEAP32[(HEAP32[$16 >> 2] | 0) + -12 >> 2] | 0) | 0); - $21 = __ZNKSt3__26locale9use_facetERNS0_2idE($4, 66512) | 0; - $25 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$21 >> 2] | 0) + 28 >> 2] & 127]($21, 10) | 0; - __ZNSt3__26localeD2Ev($4); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($16, $25) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($16) | 0; - _abort(); - } - if ((HEAP32[$0 >> 2] | 0) <= 0) { - $33 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 37359) | 0, 37248) | 0, 39072) | 0, 209) | 0, 39079) | 0, 37401) | 0; - __ZNKSt3__28ios_base6getlocEv($4, $33 + (HEAP32[(HEAP32[$33 >> 2] | 0) + -12 >> 2] | 0) | 0); - $38 = __ZNKSt3__26locale9use_facetERNS0_2idE($4, 66512) | 0; - $42 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$38 >> 2] | 0) + 28 >> 2] & 127]($38, 10) | 0; - __ZNSt3__26localeD2Ev($4); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($33, $42) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($33) | 0; - _abort(); - } - if ((HEAP32[$7 >> 2] | 0) <= 0) { - $50 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 37424) | 0, 37248) | 0, 39072) | 0, 210) | 0, 39079) | 0, 37467) | 0; - __ZNKSt3__28ios_base6getlocEv($4, $50 + (HEAP32[(HEAP32[$50 >> 2] | 0) + -12 >> 2] | 0) | 0); - $55 = __ZNKSt3__26locale9use_facetERNS0_2idE($4, 66512) | 0; - $59 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$55 >> 2] | 0) + 28 >> 2] & 127]($55, 10) | 0; - __ZNSt3__26localeD2Ev($4); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($50, $59) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($50) | 0; - _abort(); - } - $60 = +($9 | 0); - $$041 = 0; - while (1) { - if (($$041 | 0) == ($3 | 0)) break; - $95 = $$041 << 2; - $103 = +__ZN6vision12SafeDivisionIfEET_S1_S1_(+HEAPF32[$1 + ($95 << 2) + 12 >> 2], +HEAPF32[$2 + ($95 << 2) + 12 >> 2]) * $60; - HEAPF32[(HEAP32[$5 >> 2] | 0) + ($$041 << 2) >> 2] = $103; - $$041 = $$041 + 1 | 0; - } - $61 = HEAP32[$5 >> 2] | 0; - $67 = +__ZN6vision10FastMedianIfEET_PS1_i($61, (HEAP32[$5 + 4 >> 2] | 0) - $61 >> 2) * .25; - $76 = __ZN6vision4max2IiEET_S1_S1_(5, ~~+Math_ceil(+((+HEAPF32[$0 + 24 >> 2] - +HEAPF32[$0 + 20 >> 2]) / $67))) | 0; - $77 = $0 + 52 | 0; - HEAP32[$77 >> 2] = $76; - $86 = __ZN6vision4max2IiEET_S1_S1_(5, ~~+Math_ceil(+((+HEAPF32[$0 + 32 >> 2] - +HEAPF32[$0 + 28 >> 2]) / $67))) | 0; - HEAP32[$0 + 56 >> 2] = $86; - $89 = Math_imul(HEAP32[$77 >> 2] | 0, $86) | 0; - HEAP32[$0 + 84 >> 2] = $89; - $93 = Math_imul(HEAP32[$0 + 60 >> 2] | 0, $89) | 0; - HEAP32[$0 + 88 >> 2] = $93; - __ZNSt3__213__vector_baseIfNS_9allocatorIfEEED2Ev($5); - STACKTOP = sp; - return; -} - -function _jpeg_core_output_dimensions($0) { - $0 = $0 | 0; - var $$0169170 = 0, $$0171 = 0, $$sink173 = 0, $$sink177 = 0, $100 = 0, $11 = 0, $110 = 0, $120 = 0, $130 = 0, $140 = 0, $148 = 0, $150 = 0, $156 = 0, $162 = 0, $167 = 0, $20 = 0, $3 = 0, $30 = 0, $4 = 0, $40 = 0, $5 = 0, $50 = 0, $60 = 0, $7 = 0, $70 = 0, $80 = 0, $90 = 0; - $3 = $0 + 428 | 0; - $4 = HEAP32[$3 >> 2] | 0; - $5 = Math_imul($4, HEAP32[$0 + 48 >> 2] | 0) | 0; - $7 = HEAP32[$0 + 52 >> 2] | 0; - do if ($5 >>> 0 > $7 >>> 0) { - if ($5 >>> 0 <= $7 << 1 >>> 0) { - $20 = _jdiv_round_up(HEAP32[$0 + 28 >> 2] << 1, $4) | 0; - HEAP32[$0 + 112 >> 2] = $20; - $$sink173 = 2; - $$sink177 = HEAP32[$0 + 32 >> 2] << 1; - break; - } - if ($5 >>> 0 <= ($7 * 3 | 0) >>> 0) { - $30 = _jdiv_round_up((HEAP32[$0 + 28 >> 2] | 0) * 3 | 0, $4) | 0; - HEAP32[$0 + 112 >> 2] = $30; - $$sink173 = 3; - $$sink177 = (HEAP32[$0 + 32 >> 2] | 0) * 3 | 0; - break; - } - if ($5 >>> 0 <= $7 << 2 >>> 0) { - $40 = _jdiv_round_up(HEAP32[$0 + 28 >> 2] << 2, $4) | 0; - HEAP32[$0 + 112 >> 2] = $40; - $$sink173 = 4; - $$sink177 = HEAP32[$0 + 32 >> 2] << 2; - break; - } - if ($5 >>> 0 <= ($7 * 5 | 0) >>> 0) { - $50 = _jdiv_round_up((HEAP32[$0 + 28 >> 2] | 0) * 5 | 0, $4) | 0; - HEAP32[$0 + 112 >> 2] = $50; - $$sink173 = 5; - $$sink177 = (HEAP32[$0 + 32 >> 2] | 0) * 5 | 0; - break; - } - if ($5 >>> 0 <= ($7 * 6 | 0) >>> 0) { - $60 = _jdiv_round_up((HEAP32[$0 + 28 >> 2] | 0) * 6 | 0, $4) | 0; - HEAP32[$0 + 112 >> 2] = $60; - $$sink173 = 6; - $$sink177 = (HEAP32[$0 + 32 >> 2] | 0) * 6 | 0; - break; - } - if ($5 >>> 0 <= ($7 * 7 | 0) >>> 0) { - $70 = _jdiv_round_up((HEAP32[$0 + 28 >> 2] | 0) * 7 | 0, $4) | 0; - HEAP32[$0 + 112 >> 2] = $70; - $$sink173 = 7; - $$sink177 = (HEAP32[$0 + 32 >> 2] | 0) * 7 | 0; - break; - } - if ($5 >>> 0 <= $7 << 3 >>> 0) { - $80 = _jdiv_round_up(HEAP32[$0 + 28 >> 2] << 3, $4) | 0; - HEAP32[$0 + 112 >> 2] = $80; - $$sink173 = 8; - $$sink177 = HEAP32[$0 + 32 >> 2] << 3; - break; - } - if ($5 >>> 0 <= ($7 * 9 | 0) >>> 0) { - $90 = _jdiv_round_up((HEAP32[$0 + 28 >> 2] | 0) * 9 | 0, $4) | 0; - HEAP32[$0 + 112 >> 2] = $90; - $$sink173 = 9; - $$sink177 = (HEAP32[$0 + 32 >> 2] | 0) * 9 | 0; - break; - } - if ($5 >>> 0 <= ($7 * 10 | 0) >>> 0) { - $100 = _jdiv_round_up((HEAP32[$0 + 28 >> 2] | 0) * 10 | 0, $4) | 0; - HEAP32[$0 + 112 >> 2] = $100; - $$sink173 = 10; - $$sink177 = (HEAP32[$0 + 32 >> 2] | 0) * 10 | 0; - break; - } - if ($5 >>> 0 <= ($7 * 11 | 0) >>> 0) { - $110 = _jdiv_round_up((HEAP32[$0 + 28 >> 2] | 0) * 11 | 0, $4) | 0; - HEAP32[$0 + 112 >> 2] = $110; - $$sink173 = 11; - $$sink177 = (HEAP32[$0 + 32 >> 2] | 0) * 11 | 0; - break; - } - if ($5 >>> 0 <= ($7 * 12 | 0) >>> 0) { - $120 = _jdiv_round_up((HEAP32[$0 + 28 >> 2] | 0) * 12 | 0, $4) | 0; - HEAP32[$0 + 112 >> 2] = $120; - $$sink173 = 12; - $$sink177 = (HEAP32[$0 + 32 >> 2] | 0) * 12 | 0; - break; - } - if ($5 >>> 0 <= ($7 * 13 | 0) >>> 0) { - $130 = _jdiv_round_up((HEAP32[$0 + 28 >> 2] | 0) * 13 | 0, $4) | 0; - HEAP32[$0 + 112 >> 2] = $130; - $$sink173 = 13; - $$sink177 = (HEAP32[$0 + 32 >> 2] | 0) * 13 | 0; - break; - } - if ($5 >>> 0 <= ($7 * 14 | 0) >>> 0) { - $140 = _jdiv_round_up((HEAP32[$0 + 28 >> 2] | 0) * 14 | 0, $4) | 0; - HEAP32[$0 + 112 >> 2] = $140; - $$sink173 = 14; - $$sink177 = (HEAP32[$0 + 32 >> 2] | 0) * 14 | 0; - break; - } - $148 = HEAP32[$0 + 28 >> 2] | 0; - if ($5 >>> 0 > ($7 * 15 | 0) >>> 0) { - $156 = _jdiv_round_up($148 << 4, $4) | 0; - HEAP32[$0 + 112 >> 2] = $156; - $$sink173 = 16; - $$sink177 = HEAP32[$0 + 32 >> 2] << 4; - break; } else { - $150 = _jdiv_round_up($148 * 15 | 0, $4) | 0; - HEAP32[$0 + 112 >> 2] = $150; - $$sink173 = 15; - $$sink177 = (HEAP32[$0 + 32 >> 2] | 0) * 15 | 0; - break; + HEAP32[HEAP32[$__h$i >> 2] >> 2] = HEAP32[$11 >> 2]; + HEAP32[$11 >> 2] = HEAP32[$__h$i >> 2]; + $__value_$i$i$i37$pre$phi$iZZZZ2D = $__h$i; } - } else { - $11 = _jdiv_round_up(HEAP32[$0 + 28 >> 2] | 0, $4) | 0; - HEAP32[$0 + 112 >> 2] = $11; - $$sink173 = 1; - $$sink177 = HEAP32[$0 + 32 >> 2] | 0; - } while (0); - $162 = _jdiv_round_up($$sink177, HEAP32[$3 >> 2] | 0) | 0; - HEAP32[$0 + 116 >> 2] = $162; - HEAP32[$0 + 324 >> 2] = $$sink173; - HEAP32[$0 + 328 >> 2] = $$sink173; - $167 = HEAP32[$0 + 36 >> 2] | 0; - if (($167 | 0) <= 0) return; - $$0169170 = 0; - $$0171 = HEAP32[$0 + 216 >> 2] | 0; - while (1) { - HEAP32[$$0171 + 36 >> 2] = $$sink173; - HEAP32[$$0171 + 40 >> 2] = $$sink173; - $$0169170 = $$0169170 + 1 | 0; - if (($$0169170 | 0) >= ($167 | 0)) break; else $$0171 = $$0171 + 88 | 0; + $23 = HEAP32[$__value_$i$i$i37$pre$phi$iZZZZ2D >> 2] | 0; + HEAP32[$__value_$i$i$i105$i >> 2] = (HEAP32[$__value_$i$i$i105$i >> 2] | 0) + 1; + HEAP32[$__value_$i$i$i37$pre$phi$iZZZZ2D >> 2] = 0; + $__nd$1$i = $23; } - return; + STACKTOP = sp; + return $__nd$1$i + 12 | 0; } -function __ZNK6vision28BinaryHierarchicalClusteringILi96EE5queryERNSt3__214priority_queueINS_17PriorityQueueItemILi96EEENS2_6vectorIS5_NS2_9allocatorIS5_EEEENS2_4lessIS5_EEEEPKNS_4NodeILi96EEEPKh($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $$0$i$i$add$i$i = 0, $$0$i$i$idx$i$i = 0, $$024 = 0, $$byval_copy3 = 0, $$byval_copy4 = 0, $$byval_copy5 = 0, $10 = 0, $11 = 0, $16 = 0, $19 = 0, $21 = 0, $24 = 0, $28 = 0, $37 = 0, $38 = 0, $4 = 0, $41 = 0, $42 = 0, $43 = 0, $45 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $52 = 0, $55 = 0, $56 = 0, $6 = 0, $60 = 0, $65 = 0, $66 = 0, $7 = 0, $70 = 0, $77 = 0, $8 = 0, $9 = 0, sp = 0; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E5parseEv($this) { + $this = $this | 0; + var $3 = 0, $Last = 0, $agg$tmp = 0, $agg$tmp17 = 0, $agg$tmp24 = 0, $agg$tmp24$byval_copy = 0, $call22 = 0, $call28 = 0, $call3 = 0, $call49 = 0, $call8 = 0, $cmp13 = 0, $cmp51 = 0, $ref$tmp = 0, $retval$0 = 0, $retval$2 = 0, $retval$4 = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 64 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(64); - $$byval_copy5 = sp + 8 | 0; - $$byval_copy4 = sp + 56 | 0; - $$byval_copy3 = sp + 52 | 0; - $4 = sp + 44 | 0; - $5 = sp + 36 | 0; - $6 = sp + 28 | 0; - $7 = sp; - $8 = sp + 48 | 0; - $9 = sp + 40 | 0; - $10 = sp + 32 | 0; - $11 = sp + 16 | 0; - if (__ZNK6vision4NodeILi96EE4leafEv($2) | 0) { - HEAP32[$8 >> 2] = HEAP32[$0 + 76 >> 2]; - $16 = __ZNK6vision4NodeILi96EE12reverseIndexEv($2) | 0; - HEAP32[$9 >> 2] = HEAP32[$16 >> 2]; - $19 = (__ZNK6vision4NodeILi96EE12reverseIndexEv($2) | 0) + 4 | 0; - HEAP32[$10 >> 2] = HEAP32[$19 >> 2]; - HEAP32[$$byval_copy3 >> 2] = HEAP32[$8 >> 2]; - HEAP32[$$byval_copy4 >> 2] = HEAP32[$9 >> 2]; - HEAP32[$$byval_copy5 >> 2] = HEAP32[$10 >> 2]; - __ZNSt3__26vectorIiNS_9allocatorIiEEE6insertINS_11__wrap_iterIPKiEEEENS_9enable_ifIXaasr21__is_forward_iteratorIT_EE5valuesr16is_constructibleIiNS_15iterator_traitsISA_E9referenceEEE5valueENS5_IPiEEE4typeES8_SA_SA_($0 + 72 | 0, $$byval_copy3, $$byval_copy4, $$byval_copy5) | 0; + STACKTOP = STACKTOP + 48 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); + $agg$tmp24$byval_copy = sp + 32 | 0; + $agg$tmp = sp + 24 | 0; + $ref$tmp = sp; + $agg$tmp17 = sp + 16 | 0; + $agg$tmp24 = sp + 8 | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, 52236); + HEAP32[$agg$tmp24$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp24$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + do if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($this, $agg$tmp24$byval_copy) | 0) { + $call3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E13parseEncodingEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0) | 0; + HEAP32[$agg$tmp24$byval_copy >> 2] = $call3; + if (!$call3) $retval$0 = 0; else { + if ((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($this, 0) | 0) << 24 >> 24 == 46) { + $Last = $this + 4 | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKcS2_($ref$tmp, HEAP32[$this >> 2] | 0, HEAP32[$Last >> 2] | 0); + $call8 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_9DotSuffixEJRPNS0_4NodeENS_10StringViewEEEES9_DpOT0_($this, $agg$tmp24$byval_copy, $ref$tmp) | 0; + HEAP32[$agg$tmp24$byval_copy >> 2] = $call8; + HEAP32[$this >> 2] = HEAP32[$Last >> 2]; + $3 = $call8; + } else $3 = $call3; + $cmp13 = (__ZNK12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E7numLeftEv($this) | 0) == 0; + $retval$0 = $cmp13 ? $3 : 0; + } + $retval$4 = $retval$0; } else { - HEAP32[$11 >> 2] = 0; - $21 = $11 + 4 | 0; - HEAP32[$21 >> 2] = 0; - HEAP32[$11 + 8 >> 2] = 0; - __ZNK6vision4NodeILi96EE7nearestERNSt3__26vectorIPKS1_NS2_9allocatorIS5_EEEERNS2_14priority_queueINS_17PriorityQueueItemILi96EEENS3_ISC_NS6_ISC_EEEENS2_4lessISC_EEEEPKh($2, $11, $1, $3); - $$024 = 0; - while (1) { - $24 = HEAP32[$11 >> 2] | 0; - if ($$024 >>> 0 >= (HEAP32[$21 >> 2] | 0) - $24 >> 2 >>> 0) break; - __ZNK6vision28BinaryHierarchicalClusteringILi96EE5queryERNSt3__214priority_queueINS_17PriorityQueueItemILi96EEENS2_6vectorIS5_NS2_9allocatorIS5_EEEENS2_4lessIS5_EEEEPKNS_4NodeILi96EEEPKh($0, $1, HEAP32[$24 + ($$024 << 2) >> 2] | 0, $3); - $$024 = $$024 + 1 | 0; - } - $28 = $0 + 100 | 0; - if ((HEAP32[$28 >> 2] | 0) < (HEAP32[$0 + 104 >> 2] | 0) ? ($37 = HEAP32[$1 >> 2] | 0, $38 = $1 + 4 | 0, ($37 | 0) != (HEAP32[$38 >> 2] | 0)) : 0) { - $41 = __ZNK6vision17PriorityQueueItemILi96EE4nodeEv($37) | 0; - $42 = HEAP32[$1 >> 2] | 0; - $43 = HEAP32[$38 >> 2] | 0; - $45 = $43 - $42 | 0; - if (($45 | 0) > 8) { - $48 = $42; - $49 = $43 + -8 | 0; - $50 = $48; - $52 = HEAP32[$50 >> 2] | 0; - $55 = HEAP32[$50 + 4 >> 2] | 0; - $56 = $$byval_copy5; - HEAP32[$56 >> 2] = $52; - HEAP32[$56 + 4 >> 2] = $55; - $60 = $49; - $65 = HEAP32[$60 + 4 >> 2] | 0; - $66 = $48; - HEAP32[$66 >> 2] = HEAP32[$60 >> 2]; - HEAP32[$66 + 4 >> 2] = $65; - $70 = $49; - HEAP32[$70 >> 2] = $52; - HEAP32[$70 + 4 >> 2] = $55; - __ZN6vision17PriorityQueueItemILi96EED2Ev($$byval_copy5); - HEAP32[$4 >> 2] = $42; - HEAP32[$5 >> 2] = $49; - HEAP32[$6 >> 2] = $42; - HEAP32[$$byval_copy3 >> 2] = HEAP32[$4 >> 2]; - HEAP32[$$byval_copy4 >> 2] = HEAP32[$5 >> 2]; - HEAP32[$$byval_copy5 >> 2] = HEAP32[$6 >> 2]; - __ZNSt3__211__sift_downIRNS_4lessIN6vision17PriorityQueueItemILi96EEEEENS_11__wrap_iterIPS4_EEEEvT0_SA_T_NS_15iterator_traitsISA_E15difference_typeESA_($$byval_copy3, $$byval_copy4, $7, ($45 >>> 3) + -1 | 0, $$byval_copy5); - $77 = HEAP32[$38 >> 2] | 0; - } else $77 = $43; - $$0$i$i$idx$i$i = 0; - while (1) { - if (($$0$i$i$idx$i$i | 0) == -1) break; - $$0$i$i$add$i$i = $$0$i$i$idx$i$i + -1 | 0; - __ZN6vision17PriorityQueueItemILi96EED2Ev($77 + ($$0$i$i$add$i$i << 3) | 0); - $$0$i$i$idx$i$i = $$0$i$i$add$i$i; - } - HEAP32[$38 >> 2] = $77 + -8; - HEAP32[$28 >> 2] = (HEAP32[$28 >> 2] | 0) + 1; - __ZNK6vision28BinaryHierarchicalClusteringILi96EE5queryERNSt3__214priority_queueINS_17PriorityQueueItemILi96EEENS2_6vectorIS5_NS2_9allocatorIS5_EEEENS2_4lessIS5_EEEEPKNS_4NodeILi96EEEPKh($0, $1, $41, $3); - } - __ZNSt3__213__vector_baseIPKN6vision4NodeILi96EEENS_9allocatorIS5_EEED2Ev($11); - } + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp17, 52239); + HEAP32[$agg$tmp24$byval_copy >> 2] = HEAP32[$agg$tmp17 >> 2]; + HEAP32[$agg$tmp24$byval_copy + 4 >> 2] = HEAP32[$agg$tmp17 + 4 >> 2]; + if (!(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($this, $agg$tmp24$byval_copy) | 0)) { + $call49 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseTypeEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0) | 0; + $cmp51 = (__ZNK12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E7numLeftEv($this) | 0) == 0; + $retval$4 = $cmp51 ? $call49 : 0; + break; + } + $call22 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E13parseEncodingEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0) | 0; + HEAP32[$ref$tmp >> 2] = $call22; + if ((($call22 | 0) != 0 ? (__ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp24, 52244), HEAP32[$agg$tmp24$byval_copy >> 2] = HEAP32[$agg$tmp24 >> 2], HEAP32[$agg$tmp24$byval_copy + 4 >> 2] = HEAP32[$agg$tmp24 + 4 >> 2], __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($this, $agg$tmp24$byval_copy) | 0) : 0) ? ($call28 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($this, 95) | 0, __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E11parseNumberEb($agg$tmp24$byval_copy, $this, 0), !($call28 & (__ZNK12_GLOBAL__N_110StringView5emptyEv($agg$tmp24$byval_copy) | 0))) : 0) { + if ((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($this, 0) | 0) << 24 >> 24 == 46) HEAP32[$this >> 2] = HEAP32[$this + 4 >> 2]; + if (!(__ZNK12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E7numLeftEv($this) | 0)) $retval$2 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_11SpecialNameEJRA34_KcRPNS0_4NodeEEEESC_DpOT0_($this, 52258, $ref$tmp) | 0; else $retval$2 = 0; + } else $retval$2 = 0; + $retval$4 = $retval$2; + } while (0); STACKTOP = sp; - return; + return $retval$4 | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E17parseSubstitutionEv($0) { - $0 = $0 | 0; - var $$0 = 0, $$1 = 0, $$18 = 0, $$2 = 0, $1 = 0, $26 = 0, $30 = 0, $32 = 0, $36 = 0, $38 = 0, $4 = 0, $41 = 0, sp = 0; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E17parseSubstitutionEv($this) { + $this = $this | 0; + var $SpecialSub$0 = 0, $SpecialSub$1 = 0, $Subs43 = 0, $Subs54 = 0, $call37 = 0, $call48 = 0, $call60 = 0, $conv = 0, $inc = 0, $ref$tmp = 0, $retval$1 = 0, $retval$2 = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $1 = sp; - L1 : do if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($0, 83) | 0) { - $4 = (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($0, 0) | 0) << 24 >> 24; - if (!(_islower($4) | 0)) { - if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($0, 95) | 0) { - $30 = $0 + 148 | 0; - if (__ZNK12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE5emptyEv($30) | 0) { - $$2 = 0; + $ref$tmp = sp; + L1 : do if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($this, 83) | 0) { + $conv = (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($this, 0) | 0) << 24 >> 24; + if (!(_islower($conv) | 0)) { + if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($this, 95) | 0) { + $Subs43 = $this + 148 | 0; + if (__ZNK12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE5emptyEv($Subs43) | 0) { + $retval$2 = 0; break; } - $32 = __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EEixEm($30, 0) | 0; - $$2 = HEAP32[$32 >> 2] | 0; + $call48 = __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EEixEm($Subs43, 0) | 0; + $retval$2 = HEAP32[$call48 >> 2] | 0; break; } - HEAP32[$1 >> 2] = 0; - if ((!(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10parseSeqIdEPm($0, $1) | 0) ? ($36 = (HEAP32[$1 >> 2] | 0) + 1 | 0, HEAP32[$1 >> 2] = $36, __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($0, 95) | 0) : 0) ? ($38 = $0 + 148 | 0, $36 >>> 0 < (__ZNK12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE4sizeEv($38) | 0) >>> 0) : 0) { - $41 = __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EEixEm($38, $36) | 0; - $$18 = HEAP32[$41 >> 2] | 0; - } else $$18 = 0; - $$2 = $$18; + HEAP32[$ref$tmp >> 2] = 0; + if ((!(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10parseSeqIdEPm($this, $ref$tmp) | 0) ? ($inc = (HEAP32[$ref$tmp >> 2] | 0) + 1 | 0, HEAP32[$ref$tmp >> 2] = $inc, __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($this, 95) | 0) : 0) ? ($Subs54 = $this + 148 | 0, $inc >>> 0 < (__ZNK12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE4sizeEv($Subs54) | 0) >>> 0) : 0) { + $call60 = __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EEixEm($Subs54, $inc) | 0; + $retval$1 = HEAP32[$call60 >> 2] | 0; + } else $retval$1 = 0; + $retval$2 = $retval$1; break; } - switch ($4 | 0) { + switch ($conv | 0) { case 97: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 1; - HEAP32[$1 >> 2] = 0; - $$0 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_19SpecialSubstitutionEJNS0_14SpecialSubKindEEEEPNS0_4NodeEDpOT0_($0, $1) | 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 1; + HEAP32[$ref$tmp >> 2] = 0; + $SpecialSub$0 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_19SpecialSubstitutionEJNS0_14SpecialSubKindEEEEPNS0_4NodeEDpOT0_($this, $ref$tmp) | 0; break; } case 98: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 1; - HEAP32[$1 >> 2] = 1; - $$0 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_19SpecialSubstitutionEJNS0_14SpecialSubKindEEEEPNS0_4NodeEDpOT0_($0, $1) | 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 1; + HEAP32[$ref$tmp >> 2] = 1; + $SpecialSub$0 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_19SpecialSubstitutionEJNS0_14SpecialSubKindEEEEPNS0_4NodeEDpOT0_($this, $ref$tmp) | 0; break; } case 115: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 1; - HEAP32[$1 >> 2] = 2; - $$0 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_19SpecialSubstitutionEJNS0_14SpecialSubKindEEEEPNS0_4NodeEDpOT0_($0, $1) | 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 1; + HEAP32[$ref$tmp >> 2] = 2; + $SpecialSub$0 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_19SpecialSubstitutionEJNS0_14SpecialSubKindEEEEPNS0_4NodeEDpOT0_($this, $ref$tmp) | 0; break; } case 105: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 1; - HEAP32[$1 >> 2] = 3; - $$0 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_19SpecialSubstitutionEJNS0_14SpecialSubKindEEEEPNS0_4NodeEDpOT0_($0, $1) | 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 1; + HEAP32[$ref$tmp >> 2] = 3; + $SpecialSub$0 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_19SpecialSubstitutionEJNS0_14SpecialSubKindEEEEPNS0_4NodeEDpOT0_($this, $ref$tmp) | 0; break; } case 111: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 1; - HEAP32[$1 >> 2] = 4; - $$0 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_19SpecialSubstitutionEJNS0_14SpecialSubKindEEEEPNS0_4NodeEDpOT0_($0, $1) | 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 1; + HEAP32[$ref$tmp >> 2] = 4; + $SpecialSub$0 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_19SpecialSubstitutionEJNS0_14SpecialSubKindEEEEPNS0_4NodeEDpOT0_($this, $ref$tmp) | 0; break; } case 100: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 1; - HEAP32[$1 >> 2] = 5; - $$0 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_19SpecialSubstitutionEJNS0_14SpecialSubKindEEEEPNS0_4NodeEDpOT0_($0, $1) | 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 1; + HEAP32[$ref$tmp >> 2] = 5; + $SpecialSub$0 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_19SpecialSubstitutionEJNS0_14SpecialSubKindEEEEPNS0_4NodeEDpOT0_($this, $ref$tmp) | 0; break; } default: { - $$2 = 0; + $retval$2 = 0; break L1; } } - $26 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E12parseAbiTagsEPNS0_4NodeE(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0, $$0) | 0; - HEAP32[$1 >> 2] = $26; - if (($26 | 0) == ($$0 | 0)) $$1 = $$0; else { - __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE9push_backERKS3_($0 + 148 | 0, $1); - $$1 = $26; - } - $$2 = $$1; - } else $$2 = 0; while (0); - STACKTOP = sp; - return $$2 | 0; -} - -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E5parseEv($0) { - $0 = $0 | 0; - var $$0 = 0, $$2 = 0, $$4 = 0, $$byval_copy2 = 0, $1 = 0, $12 = 0, $14 = 0, $17 = 0, $18 = 0, $2 = 0, $21 = 0, $24 = 0, $3 = 0, $35 = 0, $37 = 0, $4 = 0, $7 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 48 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); - $$byval_copy2 = sp + 32 | 0; - $1 = sp + 24 | 0; - $2 = sp; - $3 = sp + 16 | 0; - $4 = sp + 8 | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($1, 51394); - HEAP32[$$byval_copy2 >> 2] = HEAP32[$1 >> 2]; - HEAP32[$$byval_copy2 + 4 >> 2] = HEAP32[$1 + 4 >> 2]; - do if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($0, $$byval_copy2) | 0) { - $7 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E13parseEncodingEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0) | 0; - HEAP32[$$byval_copy2 >> 2] = $7; - if (!$7) $$0 = 0; else { - if ((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($0, 0) | 0) << 24 >> 24 == 46) { - $12 = $0 + 4 | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKcS2_($2, HEAP32[$0 >> 2] | 0, HEAP32[$12 >> 2] | 0); - $14 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_9DotSuffixEJRPNS0_4NodeENS_10StringViewEEEES9_DpOT0_($0, $$byval_copy2, $2) | 0; - HEAP32[$$byval_copy2 >> 2] = $14; - HEAP32[$0 >> 2] = HEAP32[$12 >> 2]; - $18 = $14; - } else $18 = $7; - $17 = (__ZNK12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E7numLeftEv($0) | 0) == 0; - $$0 = $17 ? $18 : 0; - } - $$4 = $$0; - } else { - __ZN12_GLOBAL__N_110StringViewC2EPKc($3, 51397); - HEAP32[$$byval_copy2 >> 2] = HEAP32[$3 >> 2]; - HEAP32[$$byval_copy2 + 4 >> 2] = HEAP32[$3 + 4 >> 2]; - if (!(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($0, $$byval_copy2) | 0)) { - $35 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseTypeEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0) | 0; - $37 = (__ZNK12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E7numLeftEv($0) | 0) == 0; - $$4 = $37 ? $35 : 0; - break; - } - $21 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E13parseEncodingEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0) | 0; - HEAP32[$2 >> 2] = $21; - if ((($21 | 0) != 0 ? (__ZN12_GLOBAL__N_110StringViewC2EPKc($4, 51402), HEAP32[$$byval_copy2 >> 2] = HEAP32[$4 >> 2], HEAP32[$$byval_copy2 + 4 >> 2] = HEAP32[$4 + 4 >> 2], __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($0, $$byval_copy2) | 0) : 0) ? ($24 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($0, 95) | 0, __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E11parseNumberEb($$byval_copy2, $0, 0), !($24 & (__ZNK12_GLOBAL__N_110StringView5emptyEv($$byval_copy2) | 0))) : 0) { - if ((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($0, 0) | 0) << 24 >> 24 == 46) HEAP32[$0 >> 2] = HEAP32[$0 + 4 >> 2]; - if (!(__ZNK12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E7numLeftEv($0) | 0)) $$2 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_11SpecialNameEJRA34_KcRPNS0_4NodeEEEESC_DpOT0_($0, 51416, $2) | 0; else $$2 = 0; - } else $$2 = 0; - $$4 = $$2; - } while (0); - STACKTOP = sp; - return $$4 | 0; -} - -function _jpeg_idct_7x7($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $$0197205 = 0, $$0199204 = 0, $$0200203 = 0, $$0206 = 0, $$1198201 = 0, $$1202 = 0, $110 = 0, $113 = 0, $116 = 0, $118 = 0, $120 = 0, $122 = 0, $124 = 0, $126 = 0, $130 = 0, $131 = 0, $134 = 0, $137 = 0, $140 = 0, $144 = 0, $146 = 0, $148 = 0, $15 = 0, $150 = 0, $152 = 0, $156 = 0, $157 = 0, $159 = 0, $160 = 0, $163 = 0, $21 = 0, $27 = 0, $33 = 0, $35 = 0, $37 = 0, $41 = 0, $42 = 0, $45 = 0, $48 = 0, $5 = 0, $51 = 0, $59 = 0, $65 = 0, $7 = 0, $71 = 0, $73 = 0, $75 = 0, $79 = 0, $80 = 0, $82 = 0, $83 = 0, $86 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 208 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(208); - $5 = sp; - $7 = HEAP32[$0 + 336 >> 2] | 0; - $$0197205 = $5; - $$0199204 = HEAP32[$1 + 84 >> 2] | 0; - $$0200203 = $2; - $$0206 = 0; - while (1) { - $15 = Math_imul(HEAP16[$$0200203 >> 1] << 13, HEAP32[$$0199204 >> 2] | 0) | 0 | 1024; - $21 = Math_imul(HEAP32[$$0199204 + 64 >> 2] | 0, HEAP16[$$0200203 + 32 >> 1] | 0) | 0; - $27 = Math_imul(HEAP32[$$0199204 + 128 >> 2] | 0, HEAP16[$$0200203 + 64 >> 1] | 0) | 0; - $33 = Math_imul(HEAP32[$$0199204 + 192 >> 2] | 0, HEAP16[$$0200203 + 96 >> 1] | 0) | 0; - $35 = ($27 - $33 | 0) * 7223 | 0; - $37 = ($21 - $27 | 0) * 2578 | 0; - $41 = (Math_imul($27, -15083) | 0) + $15 + $37 + $35 | 0; - $42 = $33 + $21 | 0; - $45 = ($42 * 10438 | 0) + $15 | 0; - $48 = $35 + (Math_imul($33, -637) | 0) + $45 | 0; - $51 = $37 + (Math_imul($21, -20239) | 0) + $45 | 0; - $59 = Math_imul(HEAP32[$$0199204 + 32 >> 2] | 0, HEAP16[$$0200203 + 16 >> 1] | 0) | 0; - $65 = Math_imul(HEAP32[$$0199204 + 96 >> 2] | 0, HEAP16[$$0200203 + 48 >> 1] | 0) | 0; - $71 = Math_imul(HEAP32[$$0199204 + 160 >> 2] | 0, HEAP16[$$0200203 + 80 >> 1] | 0) | 0; - $73 = ($65 + $59 | 0) * 7663 | 0; - $75 = ($59 - $65 | 0) * 1395 | 0; - $79 = Math_imul($71 + $65 | 0, -11295) | 0; - $80 = $73 + $75 + $79 | 0; - $82 = ($71 + $59 | 0) * 5027 | 0; - $83 = $82 + ($73 - $75) | 0; - $86 = $82 + ($71 * 15326 | 0) + $79 | 0; - HEAP32[$$0197205 >> 2] = $83 + $48 >> 11; - HEAP32[$$0197205 + 168 >> 2] = $48 - $83 >> 11; - HEAP32[$$0197205 + 28 >> 2] = $80 + $41 >> 11; - HEAP32[$$0197205 + 140 >> 2] = $41 - $80 >> 11; - HEAP32[$$0197205 + 56 >> 2] = $86 + $51 >> 11; - HEAP32[$$0197205 + 112 >> 2] = $51 - $86 >> 11; - HEAP32[$$0197205 + 84 >> 2] = (($27 - $42 | 0) * 11585 | 0) + $15 >> 11; - $$0206 = $$0206 + 1 | 0; - if (($$0206 | 0) == 7) break; else { - $$0197205 = $$0197205 + 4 | 0; - $$0199204 = $$0199204 + 4 | 0; - $$0200203 = $$0200203 + 2 | 0; - } - } - $110 = $7 + -384 | 0; - $$1198201 = $5; - $$1202 = 0; - while (1) { - $113 = (HEAP32[$3 + ($$1202 << 2) >> 2] | 0) + $4 | 0; - $116 = (HEAP32[$$1198201 >> 2] << 13) + 134348800 | 0; - $118 = HEAP32[$$1198201 + 8 >> 2] | 0; - $120 = HEAP32[$$1198201 + 16 >> 2] | 0; - $122 = HEAP32[$$1198201 + 24 >> 2] | 0; - $124 = ($120 - $122 | 0) * 7223 | 0; - $126 = ($118 - $120 | 0) * 2578 | 0; - $130 = (Math_imul($120, -15083) | 0) + $116 + $126 + $124 | 0; - $131 = $122 + $118 | 0; - $134 = ($131 * 10438 | 0) + $116 | 0; - $137 = $124 + (Math_imul($122, -637) | 0) + $134 | 0; - $140 = $126 + (Math_imul($118, -20239) | 0) + $134 | 0; - $144 = HEAP32[$$1198201 + 4 >> 2] | 0; - $146 = HEAP32[$$1198201 + 12 >> 2] | 0; - $148 = HEAP32[$$1198201 + 20 >> 2] | 0; - $150 = ($146 + $144 | 0) * 7663 | 0; - $152 = ($144 - $146 | 0) * 1395 | 0; - $156 = Math_imul($148 + $146 | 0, -11295) | 0; - $157 = $150 + $152 + $156 | 0; - $159 = ($148 + $144 | 0) * 5027 | 0; - $160 = $150 - $152 + $159 | 0; - $163 = $159 + ($148 * 15326 | 0) + $156 | 0; - HEAP8[$113 >> 0] = HEAP8[$110 + (($160 + $137 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$113 + 6 >> 0] = HEAP8[$110 + (($137 - $160 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$113 + 1 >> 0] = HEAP8[$110 + (($157 + $130 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$113 + 5 >> 0] = HEAP8[$110 + (($130 - $157 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$113 + 2 >> 0] = HEAP8[$110 + (($163 + $140 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$113 + 4 >> 0] = HEAP8[$110 + (($140 - $163 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$113 + 3 >> 0] = HEAP8[$110 + (((($120 - $131 | 0) * 11585 | 0) + $116 | 0) >>> 18 & 1023) >> 0] | 0; - $$1202 = $$1202 + 1 | 0; - if (($$1202 | 0) == 7) break; else $$1198201 = $$1198201 + 28 | 0; - } - STACKTOP = sp; - return; -} - -function __ZN6vision25DoGScaleInvariantDetector13pruneFeaturesEv($0) { - $0 = $0 | 0; - var $1 = 0, $10 = 0, $12 = 0, $15 = 0, $17 = 0, $2 = 0, $26 = 0, $3 = 0, $31 = 0, $35 = 0, $4 = 0, $42 = 0, $51 = 0, $56 = 0, $60 = 0, $77 = 0, $82 = 0, $86 = 0, $9 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $1 = sp + 12 | 0; - $2 = sp; - $3 = $0 + 60 | 0; - $4 = $0 + 64 | 0; - $9 = $0 + 84 | 0; - $10 = HEAP32[$9 >> 2] | 0; - do if ((((HEAP32[$4 >> 2] | 0) - (HEAP32[$3 >> 2] | 0) | 0) / 36 | 0) >>> 0 > $10 >>> 0) { - $12 = $0 + 16 | 0; - $15 = HEAP32[$12 >> 2] | 0; - $17 = ((HEAP32[$0 + 20 >> 2] | 0) - $15 | 0) / 12 | 0; - if (($17 | 0) != (HEAP32[$0 + 8 >> 2] | 0)) { - $26 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 28011) | 0, 26748) | 0, 39072) | 0, 454) | 0, 39079) | 0, 28066) | 0; - __ZNKSt3__28ios_base6getlocEv($1, $26 + (HEAP32[(HEAP32[$26 >> 2] | 0) + -12 >> 2] | 0) | 0); - $31 = __ZNKSt3__26locale9use_facetERNS0_2idE($1, 66512) | 0; - $35 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$31 >> 2] | 0) + 28 >> 2] & 127]($31, 10) | 0; - __ZNSt3__26localeD2Ev($1); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($26, $35) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($26) | 0; - _abort(); - } - $42 = ((HEAP32[$15 + 4 >> 2] | 0) - (HEAP32[$15 >> 2] | 0) | 0) / 12 | 0; - if (($42 | 0) != (HEAP32[$0 + 12 >> 2] | 0)) { - $51 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 28092) | 0, 26748) | 0, 39072) | 0, 455) | 0, 39079) | 0, 28066) | 0; - __ZNKSt3__28ios_base6getlocEv($1, $51 + (HEAP32[(HEAP32[$51 >> 2] | 0) + -12 >> 2] | 0) | 0); - $56 = __ZNKSt3__26locale9use_facetERNS0_2idE($1, 66512) | 0; - $60 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$56 >> 2] | 0) + 28 >> 2] & 127]($56, 10) | 0; - __ZNSt3__26localeD2Ev($1); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($51, $60) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($51) | 0; - _abort(); - } - HEAP32[$2 >> 2] = 0; - HEAP32[$2 + 4 >> 2] = 0; - HEAP32[$2 + 8 >> 2] = 0; - __ZN6vision16PruneDoGFeaturesERNSt3__26vectorINS1_INS1_INS0_4pairIfmEENS0_9allocatorIS3_EEEENS4_IS6_EEEENS4_IS8_EEEERNS1_INS_25DoGScaleInvariantDetector12FeaturePointENS4_ISD_EEEERKSF_iiiii($12, $2, $3, $17, $42, HEAP32[$0 >> 2] | 0, HEAP32[$0 + 4 >> 2] | 0, $10); - __ZNSt3__26vectorIN6vision25DoGScaleInvariantDetector12FeaturePointENS_9allocatorIS3_EEE4swapERS6_($3, $2); - if ((((HEAP32[$4 >> 2] | 0) - (HEAP32[$3 >> 2] | 0) | 0) / 36 | 0) >>> 0 > (HEAP32[$9 >> 2] | 0) >>> 0) { - $77 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 28150) | 0, 26748) | 0, 39072) | 0, 469) | 0, 39079) | 0, 28219) | 0; - __ZNKSt3__28ios_base6getlocEv($1, $77 + (HEAP32[(HEAP32[$77 >> 2] | 0) + -12 >> 2] | 0) | 0); - $82 = __ZNKSt3__26locale9use_facetERNS0_2idE($1, 66512) | 0; - $86 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$82 >> 2] | 0) + 28 >> 2] & 127]($82, 10) | 0; - __ZNSt3__26localeD2Ev($1); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($77, $86) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($77) | 0; - _abort(); - } else { - __ZNSt3__213__vector_baseIN6vision25DoGScaleInvariantDetector12FeaturePointENS_9allocatorIS3_EEED2Ev($2); - break; + $call37 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E12parseAbiTagsEPNS0_4NodeE(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0, $SpecialSub$0) | 0; + HEAP32[$ref$tmp >> 2] = $call37; + if (($call37 | 0) == ($SpecialSub$0 | 0)) $SpecialSub$1 = $SpecialSub$0; else { + __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE9push_backERKS3_($this + 148 | 0, $ref$tmp); + $SpecialSub$1 = $call37; } - } while (0); + $retval$2 = $SpecialSub$1; + } else $retval$2 = 0; while (0); STACKTOP = sp; - return; -} - -function _arDetectMarker2($0, $1, $2, $3, $4, $5, $6, $7, $8) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - $6 = +$6; - $7 = $7 | 0; - $8 = $8 | 0; - var $$0 = 0, $$0127 = 0, $$0128 = 0, $$0131 = 0, $$0132 = 0, $$0133 = 0, $$0134 = 0, $$1 = 0, $$1$in = 0, $$1129 = 0, $$2 = 0, $$2130 = 0, $$3 = 0, $$ph = 0, $$pre136 = 0, $102 = 0, $105 = 0, $108 = 0, $113 = 0, $116 = 0, $122 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $20 = 0, $21 = 0, $24 = 0, $52 = 0, $57 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $67 = 0, $71 = 0.0, $76 = 0.0, $78 = 0.0, $79 = 0, $80 = 0, $81 = 0, $9 = 0, $91 = 0, $96 = 0, $99 = 0, label = 0; - $9 = ($3 | 0) == 1; - if ($9) { - $$0 = ($0 | 0) / 2 | 0; - $$0132 = ($1 | 0) / 2 | 0; - $$0133 = ($4 | 0) / 4 | 0; - $$0134 = ($5 | 0) / 4 | 0; - } else { - $$0 = $0; - $$0132 = $1; - $$0133 = $4; - $$0134 = $5; - } - HEAP32[$8 >> 2] = 0; - $14 = $2 + 8 | 0; - $15 = $$0 + -2 | 0; - $16 = $$0132 + -2 | 0; - $17 = $2 + 1179664 | 0; - $$0128 = 0; - while (1) { - if (($$0128 | 0) >= (HEAP32[$14 >> 2] | 0)) { - label = 5; - break; - } - $20 = $2 + 12 + ($$0128 << 2) | 0; - $21 = HEAP32[$20 >> 2] | 0; - if (((((((!(($21 | 0) < ($$0134 | 0) | ($21 | 0) > ($$0133 | 0)) ? ($24 = $2 + 131084 + ($$0128 << 4) | 0, (HEAP32[$24 >> 2] | 0) != 1) : 0) ? (HEAP32[$2 + 131084 + ($$0128 << 4) + 4 >> 2] | 0) != ($15 | 0) : 0) ? (HEAP32[$2 + 131084 + ($$0128 << 4) + 8 >> 2] | 0) != 1 : 0) ? (HEAP32[$2 + 131084 + ($$0128 << 4) + 12 >> 2] | 0) != ($16 | 0) : 0) ? (_arGetContour(HEAP32[$2 >> 2] | 0, $$0, 0, $17, $$0128 + 1 | 0, $24, $7 + ((HEAP32[$8 >> 2] | 0) * 80048 | 0) | 0) | 0) >= 0 : 0) ? (_check_square(HEAP32[$20 >> 2] | 0, $7 + ((HEAP32[$8 >> 2] | 0) * 80048 | 0) | 0, $6) | 0) >= 0 : 0) ? (HEAP32[$7 + ((HEAP32[$8 >> 2] | 0) * 80048 | 0) >> 2] = HEAP32[$20 >> 2], $52 = HEAP32[$8 >> 2] | 0, HEAPF64[$7 + ($52 * 80048 | 0) + 8 >> 3] = +HEAPF64[$2 + 655376 + ($$0128 << 4) >> 3], HEAPF64[$7 + ($52 * 80048 | 0) + 16 >> 3] = +HEAPF64[$2 + 655376 + ($$0128 << 4) + 8 >> 3], $57 = $52 + 1 | 0, HEAP32[$8 >> 2] = $57, ($57 | 0) == 60) : 0) { - $$ph = 60; - break; - } - $$0128 = $$0128 + 1 | 0; - } - if ((label | 0) == 5) $$ph = HEAP32[$8 >> 2] | 0; - $$1129 = 0; - $61 = $$ph; - while (1) { - if (($$1129 | 0) >= ($61 | 0)) break; - $62 = $$1129 + 1 | 0; - $63 = $7 + ($$1129 * 80048 | 0) + 8 | 0; - $64 = $7 + ($$1129 * 80048 | 0) + 16 | 0; - $65 = $7 + ($$1129 * 80048 | 0) | 0; - $$0127 = $62; - $67 = $61; - while (1) { - if (($$0127 | 0) >= ($67 | 0)) break; - $71 = +HEAPF64[$63 >> 3] - +HEAPF64[$7 + ($$0127 * 80048 | 0) + 8 >> 3]; - $76 = +HEAPF64[$64 >> 3] - +HEAPF64[$7 + ($$0127 * 80048 | 0) + 16 >> 3]; - $78 = $71 * $71 + $76 * $76; - $79 = HEAP32[$65 >> 2] | 0; - $80 = $7 + ($$0127 * 80048 | 0) | 0; - $81 = HEAP32[$80 >> 2] | 0; - if (($79 | 0) > ($81 | 0)) { - if ($78 < +(($79 | 0) / 4 | 0 | 0)) HEAP32[$80 >> 2] = 0; - } else if ($78 < +(($81 | 0) / 4 | 0 | 0)) HEAP32[$65 >> 2] = 0; - $$0127 = $$0127 + 1 | 0; - $67 = HEAP32[$8 >> 2] | 0; - } - $$1129 = $62; - $61 = $67; - } - $$2130 = 0; - $91 = $61; - while (1) { - if (($$2130 | 0) >= ($91 | 0)) break; - if (!(HEAP32[$7 + ($$2130 * 80048 | 0) >> 2] | 0)) { - $$1$in = $$2130; - $96 = $91; - while (1) { - $$1 = $$1$in + 1 | 0; - if (($$1 | 0) >= ($96 | 0)) break; - _memcpy($7 + ($$1$in * 80048 | 0) | 0, $7 + ($$1 * 80048 | 0) | 0, 80048) | 0; - $$1$in = $$1; - $96 = HEAP32[$8 >> 2] | 0; - } - $99 = $96 + -1 | 0; - HEAP32[$8 >> 2] = $99; - $122 = $99; - } else $122 = $91; - $$2130 = $$2130 + 1 | 0; - $91 = $122; - } - L44 : do if ($9) { - $$0131 = $7; - $$3 = 0; - $102 = $91; - while (1) { - if (($$3 | 0) >= ($102 | 0)) break L44; - HEAP32[$$0131 >> 2] = HEAP32[$$0131 >> 2] << 2; - $105 = $$0131 + 8 | 0; - HEAPF64[$105 >> 3] = +HEAPF64[$105 >> 3] * 2.0; - $108 = $$0131 + 16 | 0; - HEAPF64[$108 >> 3] = +HEAPF64[$108 >> 3] * 2.0; - $$pre136 = HEAP32[$$0131 + 24 >> 2] | 0; - $$2 = 0; - while (1) { - if (($$2 | 0) >= ($$pre136 | 0)) break; - $113 = $$0131 + 28 + ($$2 << 2) | 0; - HEAP32[$113 >> 2] = HEAP32[$113 >> 2] << 1; - $116 = $$0131 + 40028 + ($$2 << 2) | 0; - HEAP32[$116 >> 2] = HEAP32[$116 >> 2] << 1; - $$2 = $$2 + 1 | 0; - } - $$0131 = $$0131 + 80048 | 0; - $$3 = $$3 + 1 | 0; - $102 = HEAP32[$8 >> 2] | 0; - } - } while (0); - return 0; -} - -function __ZNKSt3__29money_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_putES4_bRNS_8ios_baseEwRKNS_12basic_stringIwS3_NS_9allocatorIwEEEE($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$0 = 0, $$0$i$i = 0, $$0$i$i26 = 0, $$0$i$i28 = 0, $$byval_copy = 0, $$sink46 = 0, $$sink47 = 0, $$sink48 = 0, $$sroa$040$0 = 0, $10 = 0, $102 = 0, $103 = 0, $104 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $30 = 0, $42 = 0, $43 = 0, $44 = 0, $47 = 0, $48 = 0, $54 = 0, $6 = 0, $62 = 0, $7 = 0, $72 = 0, $8 = 0, $80 = 0, $88 = 0, $9 = 0, $91 = 0, $97 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 480 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(480); - $$byval_copy = sp + 464 | 0; - $6 = sp + 460 | 0; - $7 = sp + 468 | 0; - $8 = sp + 456 | 0; - $9 = sp + 452 | 0; - $10 = sp + 440 | 0; - $11 = sp + 428 | 0; - $12 = sp + 416 | 0; - $13 = sp + 412 | 0; - $14 = sp; - $15 = sp + 408 | 0; - $16 = sp + 404 | 0; - $17 = sp + 400 | 0; - __ZNKSt3__28ios_base6getlocEv($6, $3); - $18 = __ZNKSt3__26locale9use_facetERNS0_2idE($6, 66544) | 0; - $20 = $5 + 8 + 3 | 0; - $21 = HEAP8[$20 >> 0] | 0; - $22 = $21 << 24 >> 24 < 0; - $23 = $5 + 4 | 0; - if (!(($22 ? HEAP32[$23 >> 2] | 0 : $21 & 255) | 0)) $42 = 0; else { - $30 = HEAP32[($22 ? HEAP32[$5 >> 2] | 0 : $5) >> 2] | 0; - $42 = ($30 | 0) == (FUNCTION_TABLE_iii[HEAP32[(HEAP32[$18 >> 2] | 0) + 44 >> 2] & 127]($18, 45) | 0); - }; - HEAP32[$10 >> 2] = 0; - HEAP32[$10 + 4 >> 2] = 0; - HEAP32[$10 + 8 >> 2] = 0; - $$0$i$i = 0; - while (1) { - if (($$0$i$i | 0) == 3) break; - HEAP32[$10 + ($$0$i$i << 2) >> 2] = 0; - $$0$i$i = $$0$i$i + 1 | 0; - } - HEAP32[$11 >> 2] = 0; - HEAP32[$11 + 4 >> 2] = 0; - HEAP32[$11 + 8 >> 2] = 0; - $$0$i$i26 = 0; - while (1) { - if (($$0$i$i26 | 0) == 3) break; - HEAP32[$11 + ($$0$i$i26 << 2) >> 2] = 0; - $$0$i$i26 = $$0$i$i26 + 1 | 0; - } - HEAP32[$12 >> 2] = 0; - HEAP32[$12 + 4 >> 2] = 0; - HEAP32[$12 + 8 >> 2] = 0; - $$0$i$i28 = 0; - while (1) { - if (($$0$i$i28 | 0) == 3) break; - HEAP32[$12 + ($$0$i$i28 << 2) >> 2] = 0; - $$0$i$i28 = $$0$i$i28 + 1 | 0; - } - __ZNSt3__211__money_putIwE13__gather_infoEbbRKNS_6localeERNS_10money_base7patternERwS8_RNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEERNS9_IwNSA_IwEENSC_IwEEEESJ_Ri($2, $42, $6, $7, $8, $9, $10, $11, $12, $13); - $43 = HEAP8[$20 >> 0] | 0; - $44 = $43 << 24 >> 24 < 0; - $47 = $44 ? HEAP32[$23 >> 2] | 0 : $43 & 255; - $48 = HEAP32[$13 >> 2] | 0; - if (($47 | 0) > ($48 | 0)) { - $54 = HEAP8[$12 + 8 + 3 >> 0] | 0; - $62 = HEAP8[$11 + 8 + 3 >> 0] | 0; - $$sink46 = $62 << 24 >> 24 < 0 ? HEAP32[$11 + 4 >> 2] | 0 : $62 & 255; - $$sink47 = $48 + 1 + ($47 - $48 << 1) | 0; - $$sink48 = $54 << 24 >> 24 < 0 ? HEAP32[$12 + 4 >> 2] | 0 : $54 & 255; - } else { - $72 = HEAP8[$12 + 8 + 3 >> 0] | 0; - $80 = HEAP8[$11 + 8 + 3 >> 0] | 0; - $$sink46 = $80 << 24 >> 24 < 0 ? HEAP32[$11 + 4 >> 2] | 0 : $80 & 255; - $$sink47 = $48 + 2 | 0; - $$sink48 = $72 << 24 >> 24 < 0 ? HEAP32[$12 + 4 >> 2] | 0 : $72 & 255; - } - $88 = $$sink47 + $$sink48 + $$sink46 | 0; - if ($88 >>> 0 > 100) { - $91 = _malloc($88 << 2) | 0; - if (!$91) __ZSt17__throw_bad_allocv(); else { - $$0 = $91; - $$sroa$040$0 = $91; - } - } else { - $$0 = $14; - $$sroa$040$0 = 0; - } - $97 = $44 ? HEAP32[$5 >> 2] | 0 : $5; - __ZNSt3__211__money_putIwE8__formatEPwRS2_S3_jPKwS5_RKNS_5ctypeIwEEbRKNS_10money_base7patternEwwRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEERKNSE_IwNSF_IwEENSH_IwEEEESQ_i($$0, $15, $16, HEAP32[$3 + 4 >> 2] | 0, $97, $97 + ($47 << 2) | 0, $18, $42, $7, HEAP32[$8 >> 2] | 0, HEAP32[$9 >> 2] | 0, $10, $11, $12, $48); - HEAP32[$17 >> 2] = HEAP32[$1 >> 2]; - $102 = HEAP32[$15 >> 2] | 0; - $103 = HEAP32[$16 >> 2] | 0; - HEAP32[$$byval_copy >> 2] = HEAP32[$17 >> 2]; - $104 = __ZNSt3__216__pad_and_outputIwNS_11char_traitsIwEEEENS_19ostreambuf_iteratorIT_T0_EES6_PKS4_S8_S8_RNS_8ios_baseES4_($$byval_copy, $$0, $102, $103, $3, $4) | 0; - if ($$sroa$040$0 | 0) _free($$sroa$040$0); - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev($12); - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev($11); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($10); - __ZNSt3__26localeD2Ev($6); - STACKTOP = sp; - return $104 | 0; -} - -function _examine_app0($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $$pre$phi107Z2D = 0, $100 = 0, $102 = 0, $106 = 0, $125 = 0, $127 = 0, $133 = 0, $139 = 0, $145 = 0, $155 = 0, $22 = 0, $23 = 0, $25 = 0, $26 = 0, $28 = 0, $29 = 0, $38 = 0, $39 = 0, $4 = 0, $48 = 0, $49 = 0, $50 = 0, $61 = 0, $64 = 0, $66 = 0, $69 = 0, $72 = 0, $75 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $86 = 0, $98 = 0, label = 0; - $4 = $3 + $2 | 0; - if ($2 >>> 0 > 13) { - if ((HEAP8[$1 >> 0] | 0) == 74) if ((((HEAP8[$1 + 1 >> 0] | 0) == 70 ? (HEAP8[$1 + 2 >> 0] | 0) == 73 : 0) ? (HEAP8[$1 + 3 >> 0] | 0) == 70 : 0) ? (HEAP8[$1 + 4 >> 0] | 0) == 0 : 0) { - HEAP32[$0 + 284 >> 2] = 1; - $22 = HEAP8[$1 + 5 >> 0] | 0; - $23 = $0 + 288 | 0; - HEAP8[$23 >> 0] = $22; - $25 = HEAP8[$1 + 6 >> 0] | 0; - $26 = $0 + 289 | 0; - HEAP8[$26 >> 0] = $25; - $28 = HEAP8[$1 + 7 >> 0] | 0; - $29 = $0 + 290 | 0; - HEAP8[$29 >> 0] = $28; - $38 = (HEAPU8[$1 + 8 >> 0] << 8 | HEAPU8[$1 + 9 >> 0]) & 65535; - $39 = $0 + 292 | 0; - HEAP16[$39 >> 1] = $38; - $48 = (HEAPU8[$1 + 10 >> 0] << 8 | HEAPU8[$1 + 11 >> 0]) & 65535; - $49 = $0 + 294 | 0; - HEAP16[$49 >> 1] = $48; - if (($22 + -1 & 255) < 2) { - $$pre$phi107Z2D = $0; - $64 = $22; - $66 = $25; - $69 = $38; - $72 = $48; - $75 = $28; - } else { - $50 = HEAP32[$0 >> 2] | 0; - HEAP32[$50 + 20 >> 2] = 122; - HEAP32[$50 + 24 >> 2] = $22 & 255; - HEAP32[(HEAP32[$0 >> 2] | 0) + 28 >> 2] = HEAPU8[$26 >> 0]; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$0 >> 2] | 0) + 4 >> 2] & 255]($0, -1); - $$pre$phi107Z2D = $0; - $64 = HEAP8[$23 >> 0] | 0; - $66 = HEAP8[$26 >> 0] | 0; - $69 = HEAP16[$39 >> 1] | 0; - $72 = HEAP16[$49 >> 1] | 0; - $75 = HEAP8[$29 >> 0] | 0; - } - $61 = HEAP32[$0 >> 2] | 0; - HEAP32[$61 + 24 >> 2] = $64 & 255; - HEAP32[$61 + 28 >> 2] = $66 & 255; - HEAP32[$61 + 32 >> 2] = $69 & 65535; - HEAP32[$61 + 36 >> 2] = $72 & 65535; - HEAP32[$61 + 40 >> 2] = $75 & 255; - HEAP32[$61 + 20 >> 2] = 89; - FUNCTION_TABLE_vii[HEAP32[$61 + 4 >> 2] & 255]($$pre$phi107Z2D, 1); - $80 = $1 + 12 | 0; - $81 = HEAP8[$80 >> 0] | 0; - $82 = $1 + 13 | 0; - $83 = HEAP8[$82 >> 0] | 0; - if (!(($83 | $81) << 24 >> 24)) { - $100 = $81; - $102 = $83; - } else { - $86 = HEAP32[$0 >> 2] | 0; - HEAP32[$86 + 20 >> 2] = 92; - HEAP32[$86 + 24 >> 2] = HEAPU8[$80 >> 0]; - HEAP32[(HEAP32[$0 >> 2] | 0) + 28 >> 2] = HEAPU8[$82 >> 0]; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$0 >> 2] | 0) + 4 >> 2] & 255]($$pre$phi107Z2D, 1); - $100 = HEAP8[$80 >> 0] | 0; - $102 = HEAP8[$82 >> 0] | 0; - } - $98 = $4 + -14 | 0; - if (($98 | 0) == (Math_imul(($100 & 255) * 3 | 0, $102 & 255) | 0)) return; - $106 = HEAP32[$0 >> 2] | 0; - HEAP32[$106 + 20 >> 2] = 90; - HEAP32[$106 + 24 >> 2] = $98; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$0 >> 2] | 0) + 4 >> 2] & 255]($$pre$phi107Z2D, 1); - return; - } else label = 16; - } else if ($2 >>> 0 > 5 ? (HEAP8[$1 >> 0] | 0) == 74 : 0) label = 16; - if (((((label | 0) == 16 ? (HEAP8[$1 + 1 >> 0] | 0) == 70 : 0) ? (HEAP8[$1 + 2 >> 0] | 0) == 88 : 0) ? (HEAP8[$1 + 3 >> 0] | 0) == 88 : 0) ? (HEAP8[$1 + 4 >> 0] | 0) == 0 : 0) { - $125 = $1 + 5 | 0; - switch (HEAP8[$125 >> 0] | 0) { - case 16: - { - $127 = HEAP32[$0 >> 2] | 0; - HEAP32[$127 + 20 >> 2] = 110; - HEAP32[$127 + 24 >> 2] = $4; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$0 >> 2] | 0) + 4 >> 2] & 255]($0, 1); - return; - } - case 17: - { - $133 = HEAP32[$0 >> 2] | 0; - HEAP32[$133 + 20 >> 2] = 111; - HEAP32[$133 + 24 >> 2] = $4; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$0 >> 2] | 0) + 4 >> 2] & 255]($0, 1); - return; - } - case 19: - { - $139 = HEAP32[$0 >> 2] | 0; - HEAP32[$139 + 20 >> 2] = 112; - HEAP32[$139 + 24 >> 2] = $4; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$0 >> 2] | 0) + 4 >> 2] & 255]($0, 1); - return; - } - default: - { - $145 = HEAP32[$0 >> 2] | 0; - HEAP32[$145 + 20 >> 2] = 91; - HEAP32[$145 + 24 >> 2] = HEAPU8[$125 >> 0]; - HEAP32[(HEAP32[$0 >> 2] | 0) + 28 >> 2] = $4; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$0 >> 2] | 0) + 4 >> 2] & 255]($0, 1); - return; - } - } - } - $155 = HEAP32[$0 >> 2] | 0; - HEAP32[$155 + 20 >> 2] = 79; - HEAP32[$155 + 24 >> 2] = $4; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$0 >> 2] | 0) + 4 >> 2] & 255]($0, 1); - return; + return $retval$2 | 0; } -function ___get_locale($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $$093$lcssa = 0, $$093118 = 0, $$094114 = 0, $$1 = 0, $$1100111 = 0, $$195112 = 0, $$2122 = 0, $$2123 = 0, $$2124 = 0, $$4 = 0, $11 = 0, $15 = 0, $2 = 0, $23 = 0, $3 = 0, $40 = 0, $48 = 0, $54 = 0, $58 = 0, $6 = 0, $62 = 0, $63 = 0, $64 = 0, $68 = 0, $70 = 0, $72 = 0, $76 = 0, $78 = 0, $82 = 0, $87 = 0, $93 = 0, $98 = 0, label = 0, sp = 0; +function ___get_locale($cat, $val) { + $cat = $cat | 0; + $val = $val | 0; + var $11 = 0, $12 = 0, $15 = 0, $18 = 0, $5 = 0, $9 = 0, $add = 0, $arrayidx103 = 0, $buf = 0, $call = 0, $call110 = 0, $call113 = 0, $call139 = 0, $call3 = 0, $call84 = 0, $call9 = 0, $call91 = 0, $map_size = 0, $n$0$lcssa = 0, $n$085 = 0, $name120 = 0, $name144 = 0, $new$4 = 0, $p$084 = 0, $p$182 = 0, $path$180 = 0, $retval$0 = 0, $sub = 0, $sub96 = 0, $val$addr$1 = 0, $val$addr$290 = 0, $val$addr$291 = 0, $val$addr$292 = 0, label = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 272 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(272); - $2 = sp; - $3 = sp + 256 | 0; - do if (!(HEAP8[$1 >> 0] | 0)) { - $6 = _getenv(50801) | 0; - if ($6 | 0 ? HEAP8[$6 >> 0] | 0 : 0) { - $$1 = $6; + $buf = sp; + $map_size = sp + 256 | 0; + do if (!(HEAP8[$val >> 0] | 0)) { + $call = _getenv(51573) | 0; + if ($call | 0 ? HEAP8[$call >> 0] | 0 : 0) { + $val$addr$1 = $call; break; } - $11 = _getenv(12464 + ($0 * 12 | 0) | 0) | 0; - if ($11 | 0 ? HEAP8[$11 >> 0] | 0 : 0) { - $$1 = $11; + $call3 = _getenv(7840 + ($cat * 12 | 0) | 0) | 0; + if ($call3 | 0 ? HEAP8[$call3 >> 0] | 0 : 0) { + $val$addr$1 = $call3; break; } - $15 = _getenv(50808) | 0; - if ($15 | 0 ? HEAP8[$15 >> 0] | 0 : 0) { - $$1 = $15; + $call9 = _getenv(51580) | 0; + if ($call9 | 0 ? HEAP8[$call9 >> 0] | 0 : 0) { + $val$addr$1 = $call9; break; } - $$1 = 50813; - } else $$1 = $1; while (0); - $$093118 = 0; + $val$addr$1 = 51585; + } else $val$addr$1 = $val; while (0); + $n$085 = 0; L13 : while (1) { - switch (HEAP8[$$1 + $$093118 >> 0] | 0) { + switch (HEAP8[$val$addr$1 + $n$085 >> 0] | 0) { case 47: case 0: { - $$093$lcssa = $$093118; + $n$0$lcssa = $n$085; break L13; break; } default: {} } - $$093118 = $$093118 + 1 | 0; - if ($$093118 >>> 0 >= 15) { - $$093$lcssa = 15; + $n$085 = $n$085 + 1 | 0; + if ($n$085 >>> 0 >= 15) { + $n$0$lcssa = 15; break; } } - $23 = HEAP8[$$1 >> 0] | 0; - if ($23 << 24 >> 24 != 46 ? (HEAP8[$$1 + $$093$lcssa >> 0] | 0) == 0 : 0) if ($23 << 24 >> 24 == 67) { - $$2122 = $$1; + $5 = HEAP8[$val$addr$1 >> 0] | 0; + if ($5 << 24 >> 24 != 46 ? (HEAP8[$val$addr$1 + $n$0$lcssa >> 0] | 0) == 0 : 0) if ($5 << 24 >> 24 == 67) { + $val$addr$290 = $val$addr$1; label = 15; } else { - $$2123 = $$1; + $val$addr$291 = $val$addr$1; label = 16; } else { - $$2122 = 50813; + $val$addr$290 = 51585; label = 15; } - if ((label | 0) == 15) if (!(HEAP8[$$2122 + 1 >> 0] | 0)) { - $$2124 = $$2122; + if ((label | 0) == 15) if (!(HEAP8[$val$addr$290 + 1 >> 0] | 0)) { + $val$addr$292 = $val$addr$290; label = 18; } else { - $$2123 = $$2122; + $val$addr$291 = $val$addr$290; label = 16; } - L22 : do if ((label | 0) == 16) if ((_strcmp($$2123, 50813) | 0) != 0 ? (_strcmp($$2123, 50821) | 0) != 0 : 0) { - $40 = HEAP32[16351] | 0; - if ($40 | 0) { - $$094114 = $40; + L22 : do if ((label | 0) == 16) if ((_strcmp($val$addr$291, 51585) | 0) != 0 ? (_strcmp($val$addr$291, 51593) | 0) != 0 : 0) { + $9 = HEAP32[16562] | 0; + if ($9 | 0) { + $p$084 = $9; do { - if (!(_strcmp($$2123, $$094114 + 8 | 0) | 0)) { - $$0 = $$094114; + if (!(_strcmp($val$addr$291, $p$084 + 8 | 0) | 0)) { + $retval$0 = $p$084; break L22; } - $$094114 = HEAP32[$$094114 + 24 >> 2] | 0; - } while (($$094114 | 0) != 0); - } - ___lock(65408); - $48 = HEAP32[16351] | 0; - L32 : do if ($48 | 0) { - $$195112 = $48; - while (1) { - if (!(_strcmp($$2123, $$195112 + 8 | 0) | 0)) break; - $54 = HEAP32[$$195112 + 24 >> 2] | 0; - if (!$54) break L32; else $$195112 = $54; + $p$084 = HEAP32[$p$084 + 24 >> 2] | 0; + } while (($p$084 | 0) != 0); + } + ___lock(66252); + $11 = HEAP32[16562] | 0; + L32 : do if ($11 | 0) { + $p$182 = $11; + while (1) { + if (!(_strcmp($val$addr$291, $p$182 + 8 | 0) | 0)) break; + $12 = HEAP32[$p$182 + 24 >> 2] | 0; + if (!$12) break L32; else $p$182 = $12; + } + ___unlock(66252); + $retval$0 = $p$182; + break L22; + } while (0); + L39 : do if (((HEAP32[16547] | 0) == 0 ? ($call84 = _getenv(51599) | 0, ($call84 | 0) != 0) : 0) ? (HEAP8[$call84 >> 0] | 0) != 0 : 0) { + $sub96 = 254 - $n$0$lcssa | 0; + $add = $n$0$lcssa + 1 | 0; + $path$180 = $call84; + while (1) { + $call91 = ___strchrnul($path$180, 58) | 0; + $15 = HEAP8[$call91 >> 0] | 0; + $sub = $call91 - $path$180 + (($15 << 24 >> 24 != 0) << 31 >> 31) | 0; + if ($sub >>> 0 < $sub96 >>> 0) { + _memcpy($buf | 0, $path$180 | 0, $sub | 0) | 0; + $arrayidx103 = $buf + $sub | 0; + HEAP8[$arrayidx103 >> 0] = 47; + _memcpy($arrayidx103 + 1 | 0, $val$addr$291 | 0, $n$0$lcssa | 0) | 0; + HEAP8[$buf + ($add + $sub) >> 0] = 0; + $call110 = ___map_file($buf | 0, $map_size | 0) | 0; + if ($call110 | 0) break; + $18 = HEAP8[$call91 >> 0] | 0; + } else $18 = $15; + $path$180 = $call91 + ($18 << 24 >> 24 != 0 & 1) | 0; + if (!(HEAP8[$path$180 >> 0] | 0)) { + label = 41; + break L39; + } + } + $call113 = _malloc(28) | 0; + if (!$call113) { + ___munmap($call110, HEAP32[$map_size >> 2] | 0) | 0; + label = 41; + break; + } else { + HEAP32[$call113 >> 2] = $call110; + HEAP32[$call113 + 4 >> 2] = HEAP32[$map_size >> 2]; + $name120 = $call113 + 8 | 0; + _memcpy($name120 | 0, $val$addr$291 | 0, $n$0$lcssa | 0) | 0; + HEAP8[$name120 + $n$0$lcssa >> 0] = 0; + HEAP32[$call113 + 24 >> 2] = HEAP32[16562]; + HEAP32[16562] = $call113; + $new$4 = $call113; + break; + } + } else label = 41; while (0); + if ((label | 0) == 41) { + $call139 = _malloc(28) | 0; + if (!$call139) $new$4 = $call139; else { + HEAP32[$call139 >> 2] = HEAP32[4258]; + HEAP32[$call139 + 4 >> 2] = HEAP32[4259]; + $name144 = $call139 + 8 | 0; + _memcpy($name144 | 0, $val$addr$291 | 0, $n$0$lcssa | 0) | 0; + HEAP8[$name144 + $n$0$lcssa >> 0] = 0; + HEAP32[$call139 + 24 >> 2] = HEAP32[16562]; + HEAP32[16562] = $call139; + $new$4 = $call139; + } + } + ___unlock(66252); + $retval$0 = ($cat | 0) == 0 & ($new$4 | 0) == 0 ? 17032 : $new$4; + } else { + $val$addr$292 = $val$addr$291; + label = 18; + } while (0); + do if ((label | 0) == 18) { + if (($cat | 0) == 0 ? (HEAP8[$val$addr$292 + 1 >> 0] | 0) == 46 : 0) { + $retval$0 = 17032; + break; + } + $retval$0 = 0; + } while (0); + STACKTOP = sp; + return $retval$0 | 0; +} + +function _get_interesting_appn($cinfo) { + $cinfo = $cinfo | 0; + var $0 = 0, $1 = 0, $13 = 0, $25 = 0, $26 = 0, $28 = 0, $31 = 0, $add = 0, $add32$i = 0, $add38$i = 0, $b = 0, $bytes_in_buffer$0 = 0, $bytes_in_buffer$1 = 0, $bytes_in_buffer$2 = 0, $bytes_in_buffer$2$lcssa = 0, $bytes_in_buffer$257 = 0, $bytes_in_buffer$261 = 0, $bytes_in_buffer$3 = 0, $bytes_in_buffer2 = 0, $dec = 0, $fill_input_buffer36 = 0, $i$060 = 0, $incdec$ptr = 0, $next_input_byte$0 = 0, $next_input_byte$1 = 0, $next_input_byte$2 = 0, $next_input_byte$2$lcssa = 0, $next_input_byte$258 = 0, $next_input_byte$262 = 0, $next_input_byte$3 = 0, $numtoread$0 = 0, $retval$0 = 0, $shl = 0, $src = 0, $sub = 0, $sub48 = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $b = sp; + $src = $cinfo + 24 | 0; + $0 = HEAP32[$src >> 2] | 0; + $bytes_in_buffer2 = $0 + 4 | 0; + $1 = HEAP32[$bytes_in_buffer2 >> 2] | 0; + do if (!$1) if (!(FUNCTION_TABLE_ii[HEAP32[$0 + 12 >> 2] & 127]($cinfo) | 0)) { + $retval$0 = 0; + STACKTOP = sp; + return $retval$0 | 0; + } else { + $bytes_in_buffer$0 = HEAP32[$bytes_in_buffer2 >> 2] | 0; + break; + } else $bytes_in_buffer$0 = $1; while (0); + $next_input_byte$0 = HEAP32[$0 >> 2] | 0; + $dec = $bytes_in_buffer$0 + -1 | 0; + $incdec$ptr = $next_input_byte$0 + 1 | 0; + $shl = HEAPU8[$next_input_byte$0 >> 0] << 8; + do if (!$dec) if (!(FUNCTION_TABLE_ii[HEAP32[$0 + 12 >> 2] & 127]($cinfo) | 0)) { + $retval$0 = 0; + STACKTOP = sp; + return $retval$0 | 0; + } else { + $bytes_in_buffer$1 = HEAP32[$bytes_in_buffer2 >> 2] | 0; + $next_input_byte$1 = HEAP32[$0 >> 2] | 0; + break; + } else { + $bytes_in_buffer$1 = $dec; + $next_input_byte$1 = $incdec$ptr; + } while (0); + $add = $shl | HEAPU8[$next_input_byte$1 >> 0]; + $sub = $add + -2 | 0; + $numtoread$0 = $add >>> 0 > 15 ? 14 : $add >>> 0 > 2 ? $sub : 0; + $bytes_in_buffer$257 = $bytes_in_buffer$1 + -1 | 0; + $next_input_byte$258 = $next_input_byte$1 + 1 | 0; + L13 : do if (!$numtoread$0) { + $bytes_in_buffer$2$lcssa = $bytes_in_buffer$257; + $next_input_byte$2$lcssa = $next_input_byte$258; + } else { + $fill_input_buffer36 = $0 + 12 | 0; + $bytes_in_buffer$261 = $bytes_in_buffer$257; + $i$060 = 0; + $next_input_byte$262 = $next_input_byte$258; + while (1) { + if (!$bytes_in_buffer$261) { + if (!(FUNCTION_TABLE_ii[HEAP32[$fill_input_buffer36 >> 2] & 127]($cinfo) | 0)) { + $retval$0 = 0; + break; + } + $bytes_in_buffer$3 = HEAP32[$bytes_in_buffer2 >> 2] | 0; + $next_input_byte$3 = HEAP32[$0 >> 2] | 0; + } else { + $bytes_in_buffer$3 = $bytes_in_buffer$261; + $next_input_byte$3 = $next_input_byte$262; + } + HEAP8[$b + $i$060 >> 0] = HEAP8[$next_input_byte$3 >> 0] | 0; + $i$060 = $i$060 + 1 | 0; + $bytes_in_buffer$2 = $bytes_in_buffer$3 + -1 | 0; + $next_input_byte$2 = $next_input_byte$3 + 1 | 0; + if ($i$060 >>> 0 >= $numtoread$0 >>> 0) { + $bytes_in_buffer$2$lcssa = $bytes_in_buffer$2; + $next_input_byte$2$lcssa = $next_input_byte$2; + break L13; + } else { + $bytes_in_buffer$261 = $bytes_in_buffer$2; + $next_input_byte$262 = $next_input_byte$2; + } + } + STACKTOP = sp; + return $retval$0 | 0; + } while (0); + $sub48 = $sub - $numtoread$0 | 0; + $13 = HEAP32[$cinfo + 440 >> 2] | 0; + L23 : do switch ($13 | 0) { + case 224: + { + _examine_app0($cinfo, $b, $numtoread$0, $sub48); + break; + } + case 238: + { + if (((($numtoread$0 >>> 0 > 11 & (HEAP8[$b >> 0] | 0) == 65 ? (HEAP8[$b + 1 >> 0] | 0) == 100 : 0) ? (HEAP8[$b + 2 >> 0] | 0) == 111 : 0) ? (HEAP8[$b + 3 >> 0] | 0) == 98 : 0) ? (HEAP8[$b + 4 >> 0] | 0) == 101 : 0) { + $add32$i = HEAPU8[$b + 7 >> 0] << 8 | HEAPU8[$b + 8 >> 0]; + $add38$i = HEAPU8[$b + 9 >> 0] << 8 | HEAPU8[$b + 10 >> 0]; + $25 = HEAP8[$b + 11 >> 0] | 0; + $26 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$26 + 24 >> 2] = HEAPU8[$b + 5 >> 0] << 8 | HEAPU8[$b + 6 >> 0]; + HEAP32[$26 + 28 >> 2] = $add32$i; + HEAP32[$26 + 32 >> 2] = $add38$i; + HEAP32[$26 + 36 >> 2] = $25 & 255; + HEAP32[$26 + 20 >> 2] = 78; + FUNCTION_TABLE_vii[HEAP32[$26 + 4 >> 2] & 255]($cinfo, 1); + HEAP32[$cinfo + 296 >> 2] = 1; + HEAP8[$cinfo + 300 >> 0] = $25; + break L23; + } + $28 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$28 + 20 >> 2] = 80; + HEAP32[$28 + 24 >> 2] = $sub; + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$cinfo >> 2] | 0) + 4 >> 2] & 255]($cinfo, 1); + break; + } + default: + { + $31 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$31 + 20 >> 2] = 70; + HEAP32[$31 + 24 >> 2] = $13; + FUNCTION_TABLE_vi[HEAP32[HEAP32[$cinfo >> 2] >> 2] & 255]($cinfo); + } + } while (0); + HEAP32[$0 >> 2] = $next_input_byte$2$lcssa; + HEAP32[$bytes_in_buffer2 >> 2] = $bytes_in_buffer$2$lcssa; + if (($sub48 | 0) <= 0) { + $retval$0 = 1; + STACKTOP = sp; + return $retval$0 | 0; + } + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$src >> 2] | 0) + 16 >> 2] & 255]($cinfo, $sub48); + $retval$0 = 1; + STACKTOP = sp; + return $retval$0 | 0; +} + +function _arParamLoad($filename, $num, $param, $varargs) { + $filename = $filename | 0; + $num = $num | 0; + $param = $param | 0; + $varargs = $varargs | 0; + var $15 = 0, $16 = 0, $20 = 0.0, $4 = 0, $5 = 0, $8 = 0.0, $add = 0, $ap = 0, $arrayidx37 = 0, $arrayidx39 = 0, $arrayidx66$pre$phiZ2D = 0, $call = 0, $call13 = 0, $call14 = 0, $call15 = 0, $call17 = 0, $call30 = 0, $call31 = 0, $call32 = 0, $call5 = 0, $call6 = 0, $call7 = 0, $cmp35 = 0, $dist_function_version$035 = 0, $dist_function_version34 = 0, $dist_function_version50 = 0, $i$0 = 0, $i$1 = 0, $param_wasRead = 0, $ret$037 = 0, $ret$041 = 0, $vararg_buffer = 0, $vararg_buffer13 = 0, $vararg_buffer15 = 0, $vararg_buffer18 = 0, $vararg_buffer2 = 0, $vararg_buffer6 = 0, $vararg_buffer9 = 0, label = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 256 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(256); + $vararg_buffer18 = sp + 248 | 0; + $vararg_buffer15 = sp + 240 | 0; + $vararg_buffer13 = sp + 232 | 0; + $vararg_buffer9 = sp + 224 | 0; + $vararg_buffer6 = sp + 216 | 0; + $vararg_buffer2 = sp + 208 | 0; + $vararg_buffer = sp + 200 | 0; + $ap = sp; + $param_wasRead = sp + 16 | 0; + do if (($filename | 0) != 0 & ($num | 0) > 0 & ($param | 0) != 0) { + $call = _fopen($filename, 26308) | 0; + if (!$call) { + $call5 = ___errno_location() | 0; + HEAP32[$vararg_buffer >> 2] = HEAP32[$call5 >> 2]; + HEAP32[$vararg_buffer + 4 >> 2] = $filename; + _arLog(0, 3, 24431, $vararg_buffer); + $call6 = ___errno_location() | 0; + $call7 = _strerror(HEAP32[$call6 >> 2] | 0) | 0; + HEAP32[$vararg_buffer2 >> 2] = 68295; + HEAP32[$vararg_buffer2 + 4 >> 2] = $call7; + _arLog(0, 3, 25953, $vararg_buffer2); + $ret$037 = -1; + break; + } + _fseek($call, 0, 2) | 0; + L6 : do if (!(_ferror($call) | 0)) { + $call17 = _ftell($call) | 0; + _rewind($call); + $i$0 = 0; + while (1) { + if ($i$0 >>> 0 >= 4) { + label = 9; + break; + } + $4 = HEAP32[1712 + ($i$0 << 3) + 4 >> 2] | 0; + $add = $i$0 + 1 | 0; + if (!(($call17 | 0) % ($4 | 0) | 0)) { + $5 = $4; + $dist_function_version$035 = $add; + break; + } else $i$0 = $add; + } + do if ((label | 0) == 9) if (($i$0 | 0) == 4) { + _arLog(0, 3, 24545, $vararg_buffer13); + $ret$041 = -1; + break L6; + } else { + $5 = HEAP32[1712 + (0 << 3) + 4 >> 2] | 0; + $dist_function_version$035 = 0; + break; + } while (0); + if ((_fread($param_wasRead, $5, 1, $call) | 0) != 1) { + $call30 = ___errno_location() | 0; + HEAP32[$vararg_buffer15 >> 2] = HEAP32[$call30 >> 2]; + _arLog(0, 3, 24625, $vararg_buffer15); + $call31 = ___errno_location() | 0; + $call32 = _strerror(HEAP32[$call31 >> 2] | 0) | 0; + HEAP32[$vararg_buffer18 >> 2] = 68295; + HEAP32[$vararg_buffer18 + 4 >> 2] = $call32; + _arLog(0, 3, 25953, $vararg_buffer18); + $ret$041 = -1; + break; + } + $dist_function_version34 = $param_wasRead + 176 | 0; + HEAP32[$dist_function_version34 >> 2] = $dist_function_version$035; + _byteswap($param_wasRead); + $cmp35 = ($dist_function_version$035 | 0) == 1; + $arrayidx37 = $param_wasRead + 120 | 0; + if ($cmp35) { + $8 = +HEAPF64[$arrayidx37 >> 3]; + $arrayidx39 = $param_wasRead + 128 | 0; + HEAPF64[$arrayidx37 >> 3] = +HEAPF64[$arrayidx39 >> 3]; + HEAPF64[$arrayidx39 >> 3] = $8; + $arrayidx66$pre$phiZ2D = $arrayidx39; + } else $arrayidx66$pre$phiZ2D = $param_wasRead + 128 | 0; + _memcpy($param | 0, $param_wasRead | 0, 184) | 0; + HEAP32[$ap >> 2] = $varargs; + $dist_function_version50 = $param + 176 | 0; + $i$1 = 1; + while (1) { + if (($i$1 | 0) >= ($num | 0)) { + $ret$041 = 0; + break L6; + } + $15 = (HEAP32[$ap >> 2] | 0) + (4 - 1) & ~(4 - 1); + $16 = HEAP32[$15 >> 2] | 0; + HEAP32[$ap >> 2] = $15 + 4; + HEAP32[$16 + 176 >> 2] = HEAP32[$dist_function_version50 >> 2]; + if ((_fread($param_wasRead, HEAP32[1712 + ((HEAP32[$dist_function_version50 >> 2] | 0) + -1 << 3) + 4 >> 2] | 0, 1, $call) | 0) != 1) { + $ret$041 = -1; + break L6; + } + HEAP32[$dist_function_version34 >> 2] = $dist_function_version$035; + _byteswap($param_wasRead); + if ($cmp35) { + $20 = +HEAPF64[$arrayidx37 >> 3]; + HEAPF64[$arrayidx37 >> 3] = +HEAPF64[$arrayidx66$pre$phiZ2D >> 3]; + HEAPF64[$arrayidx66$pre$phiZ2D >> 3] = $20; + } + _memcpy($16 | 0, $param_wasRead | 0, 184) | 0; + $i$1 = $i$1 + 1 | 0; + } + } else { + $call13 = ___errno_location() | 0; + HEAP32[$vararg_buffer6 >> 2] = HEAP32[$call13 >> 2]; + _arLog(0, 3, 24500, $vararg_buffer6); + $call14 = ___errno_location() | 0; + $call15 = _strerror(HEAP32[$call14 >> 2] | 0) | 0; + HEAP32[$vararg_buffer9 >> 2] = 68295; + HEAP32[$vararg_buffer9 + 4 >> 2] = $call15; + _arLog(0, 3, 25953, $vararg_buffer9); + $ret$041 = -1; + } while (0); + _fclose($call) | 0; + $ret$037 = $ret$041; + } else $ret$037 = -1; while (0); + STACKTOP = sp; + return $ret$037 | 0; +} + +function _ar2ReadFeatureSet($filename, $ext) { + $filename = $filename | 0; + $ext = $ext | 0; + var $0 = 0, $1 = 0, $2 = 0, $buf = 0, $call12 = 0, $call2 = 0, $call3 = 0, $call46 = 0, $coord = 0, $featureSet$0 = 0, $i$0 = 0, $j$0 = 0, $l3$0 = 0, $num = 0, $num37 = 0, $retval$0 = 0, $vararg_buffer = 0, $vararg_buffer11 = 0, $vararg_buffer13 = 0, $vararg_buffer15 = 0, $vararg_buffer17 = 0, $vararg_buffer19 = 0, $vararg_buffer2 = 0, $vararg_buffer21 = 0, $vararg_buffer23 = 0, $vararg_buffer25 = 0, $vararg_buffer27 = 0, $vararg_buffer29 = 0, $vararg_buffer5 = 0, $vararg_buffer7 = 0, $vararg_buffer9 = 0, label = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 640 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(640); + $vararg_buffer29 = sp + 624 | 0; + $vararg_buffer27 = sp + 616 | 0; + $vararg_buffer25 = sp + 608 | 0; + $vararg_buffer23 = sp + 600 | 0; + $vararg_buffer21 = sp + 592 | 0; + $vararg_buffer19 = sp + 584 | 0; + $vararg_buffer17 = sp + 576 | 0; + $vararg_buffer15 = sp + 568 | 0; + $vararg_buffer13 = sp + 560 | 0; + $vararg_buffer11 = sp + 552 | 0; + $vararg_buffer9 = sp + 544 | 0; + $vararg_buffer7 = sp + 536 | 0; + $vararg_buffer5 = sp + 528 | 0; + $vararg_buffer2 = sp + 520 | 0; + $vararg_buffer = sp + 512 | 0; + $buf = sp; + HEAP32[$vararg_buffer >> 2] = $filename; + HEAP32[$vararg_buffer + 4 >> 2] = $ext; + _sprintf($buf, 26699, $vararg_buffer) | 0; + $call2 = _fopen($buf, 26308) | 0; + if (!$call2) { + HEAP32[$vararg_buffer2 >> 2] = $filename; + _arLog(0, 3, 25890, $vararg_buffer2); + $retval$0 = 0; + } else { + $call3 = _malloc(8) | 0; + if (!$call3) { + _arLog(0, 3, 46772, $vararg_buffer5); + _exit(1); + } + $num = $call3 + 4 | 0; + L7 : do if ((_fread($num, 4, 1, $call2) | 0) == 1) { + $0 = HEAP32[$num >> 2] | 0; + $call12 = _malloc($0 * 20 | 0) | 0; + HEAP32[$call3 >> 2] = $call12; + if (!$call12) { + _arLog(0, 3, 46772, $vararg_buffer9); + _exit(1); + } + $i$0 = 0; + L12 : while (1) { + if (($i$0 | 0) >= ($0 | 0)) { + $featureSet$0 = $call3; + break L7; + } + if ((_fread($call12 + ($i$0 * 20 | 0) + 8 | 0, 4, 1, $call2) | 0) != 1) { + label = 12; + break; + } + if ((_fread($call12 + ($i$0 * 20 | 0) + 12 | 0, 4, 1, $call2) | 0) != 1) { + label = 15; + break; + } + if ((_fread($call12 + ($i$0 * 20 | 0) + 16 | 0, 4, 1, $call2) | 0) != 1) { + label = 17; + break; + } + $num37 = $call12 + ($i$0 * 20 | 0) + 4 | 0; + if ((_fread($num37, 4, 1, $call2) | 0) != 1) { + label = 19; + break; + } + $1 = HEAP32[$num37 >> 2] | 0; + $call46 = _malloc($1 * 20 | 0) | 0; + $coord = $call12 + ($i$0 * 20 | 0) | 0; + HEAP32[$coord >> 2] = $call46; + if (!$call46) { + label = 22; + break; + } + $2 = $1; + $j$0 = 0; + while (1) { + if (($j$0 | 0) >= ($2 | 0)) break; + if ((_fread((HEAP32[$coord >> 2] | 0) + ($j$0 * 20 | 0) | 0, 4, 1, $call2) | 0) != 1) { + label = 25; + break L12; + } + if ((_fread((HEAP32[$coord >> 2] | 0) + ($j$0 * 20 | 0) + 4 | 0, 4, 1, $call2) | 0) != 1) { + label = 27; + break L12; + } + if ((_fread((HEAP32[$coord >> 2] | 0) + ($j$0 * 20 | 0) + 8 | 0, 4, 1, $call2) | 0) != 1) { + label = 29; + break L12; + } + if ((_fread((HEAP32[$coord >> 2] | 0) + ($j$0 * 20 | 0) + 12 | 0, 4, 1, $call2) | 0) != 1) { + label = 31; + break L12; + } + if ((_fread((HEAP32[$coord >> 2] | 0) + ($j$0 * 20 | 0) + 16 | 0, 4, 1, $call2) | 0) != 1) { + label = 34; + break L12; + } + $2 = HEAP32[$num37 >> 2] | 0; + $j$0 = $j$0 + 1 | 0; + } + $i$0 = $i$0 + 1 | 0; } - ___unlock(65408); - $$0 = $$195112; - break L22; - } while (0); - L39 : do if (((HEAP32[16329] | 0) == 0 ? ($58 = _getenv(50827) | 0, ($58 | 0) != 0) : 0) ? (HEAP8[$58 >> 0] | 0) != 0 : 0) { - $62 = 254 - $$093$lcssa | 0; - $63 = $$093$lcssa + 1 | 0; - $$1100111 = $58; - while (1) { - $64 = ___strchrnul($$1100111, 58) | 0; - $68 = HEAP8[$64 >> 0] | 0; - $70 = $64 - $$1100111 + (($68 << 24 >> 24 != 0) << 31 >> 31) | 0; - if ($70 >>> 0 < $62 >>> 0) { - _memcpy($2 | 0, $$1100111 | 0, $70 | 0) | 0; - $72 = $2 + $70 | 0; - HEAP8[$72 >> 0] = 47; - _memcpy($72 + 1 | 0, $$2123 | 0, $$093$lcssa | 0) | 0; - HEAP8[$2 + ($63 + $70) >> 0] = 0; - $76 = ___map_file($2 | 0, $3 | 0) | 0; - if ($76 | 0) break; - $87 = HEAP8[$64 >> 0] | 0; - } else $87 = $68; - $$1100111 = $64 + ($87 << 24 >> 24 != 0 & 1) | 0; - if (!(HEAP8[$$1100111 >> 0] | 0)) { - label = 41; - break L39; + switch (label | 0) { + case 12: + { + _arLog(0, 3, 25911, $vararg_buffer11); + break; } - } - $78 = _malloc(28) | 0; - if (!$78) { - ___munmap($76, HEAP32[$3 >> 2] | 0) | 0; - label = 41; - break; - } else { - HEAP32[$78 >> 2] = $76; - HEAP32[$78 + 4 >> 2] = HEAP32[$3 >> 2]; - $82 = $78 + 8 | 0; - _memcpy($82 | 0, $$2123 | 0, $$093$lcssa | 0) | 0; - HEAP8[$82 + $$093$lcssa >> 0] = 0; - HEAP32[$78 + 24 >> 2] = HEAP32[16351]; - HEAP32[16351] = $78; - $$4 = $78; - break; - } - } else label = 41; while (0); - if ((label | 0) == 41) { - $93 = _malloc(28) | 0; - if (!$93) $$4 = $93; else { - HEAP32[$93 >> 2] = HEAP32[4258]; - HEAP32[$93 + 4 >> 2] = HEAP32[4259]; - $98 = $93 + 8 | 0; - _memcpy($98 | 0, $$2123 | 0, $$093$lcssa | 0) | 0; - HEAP8[$98 + $$093$lcssa >> 0] = 0; - HEAP32[$93 + 24 >> 2] = HEAP32[16351]; - HEAP32[16351] = $93; - $$4 = $93; - } - } - ___unlock(65408); - $$0 = ($0 | 0) == 0 & ($$4 | 0) == 0 ? 17032 : $$4; - } else { - $$2124 = $$2123; - label = 18; - } while (0); - do if ((label | 0) == 18) { - if (($0 | 0) == 0 ? (HEAP8[$$2124 + 1 >> 0] | 0) == 46 : 0) { - $$0 = 17032; - break; - } - $$0 = 0; - } while (0); - STACKTOP = sp; - return $$0 | 0; -} - -function __ZNSt3__29__num_putIwE21__widen_and_group_intEPcS2_S2_PwRS3_S4_RKNS_6localeE($0, $1, $2, $3, $4, $5, $6) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - $6 = $6 | 0; - var $$0 = 0, $$0$i$i = 0, $$0$i$i78 = 0, $$07$i$i = 0, $$07$i$i77 = 0, $$072 = 0, $$073 = 0, $$075 = 0, $$1 = 0, $$174 = 0, $$176 = 0, $$pre$phiZ2D = 0, $103 = 0, $104 = 0, $112 = 0, $13 = 0, $14 = 0, $16 = 0, $25 = 0, $27 = 0, $28 = 0, $33 = 0, $34 = 0, $42 = 0, $47 = 0, $48 = 0, $55 = 0, $56 = 0, $59 = 0, $61 = 0, $67 = 0, $7 = 0, $70 = 0, $72 = 0, $73 = 0, $75 = 0, $77 = 0, $8 = 0, $85 = 0, $89 = 0, $9 = 0, $91 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $7 = sp; - $8 = __ZNKSt3__26locale9use_facetERNS0_2idE($6, 66544) | 0; - $9 = __ZNKSt3__26locale9use_facetERNS0_2idE($6, 66552) | 0; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$9 >> 2] | 0) + 20 >> 2] & 255]($7, $9); - $13 = $7 + 11 | 0; - $14 = HEAP8[$13 >> 0] | 0; - $16 = $7 + 4 | 0; - if (($14 << 24 >> 24 < 0 ? HEAP32[$16 >> 2] | 0 : $14 & 255) | 0) { - HEAP32[$5 >> 2] = $3; - $28 = HEAP8[$0 >> 0] | 0; - switch ($28 << 24 >> 24) { - case 43: - case 45: - { - $33 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$8 >> 2] | 0) + 44 >> 2] & 127]($8, $28) | 0; - $34 = HEAP32[$5 >> 2] | 0; - HEAP32[$5 >> 2] = $34 + 4; - HEAP32[$34 >> 2] = $33; - $$075 = $0 + 1 | 0; - break; - } - default: - $$075 = $0; - } - L7 : do if (($2 - $$075 | 0) > 1 ? (HEAP8[$$075 >> 0] | 0) == 48 : 0) { - $42 = $$075 + 1 | 0; - switch (HEAP8[$42 >> 0] | 0) { - case 88: - case 120: - break; - default: + case 15: { - $$176 = $$075; - break L7; + _arLog(0, 3, 25911, $vararg_buffer13); + break; + } + case 17: + { + _arLog(0, 3, 25911, $vararg_buffer15); + break; + } + case 19: + { + _arLog(0, 3, 25911, $vararg_buffer17); + break; + } + case 22: + { + _arLog(0, 3, 46772, $vararg_buffer19); + _exit(1); + break; + } + case 25: + { + _arLog(0, 3, 25911, $vararg_buffer21); + break; + } + case 27: + { + _arLog(0, 3, 25911, $vararg_buffer23); + break; + } + case 29: + { + _arLog(0, 3, 25911, $vararg_buffer25); + break; + } + case 31: + { + _arLog(0, 3, 25911, $vararg_buffer27); + break; + } + case 34: + { + _arLog(0, 3, 25911, $vararg_buffer29); + break; } } - $47 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$8 >> 2] | 0) + 44 >> 2] & 127]($8, 48) | 0; - $48 = HEAP32[$5 >> 2] | 0; - HEAP32[$5 >> 2] = $48 + 4; - HEAP32[$48 >> 2] = $47; - $55 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$8 >> 2] | 0) + 44 >> 2] & 127]($8, HEAP8[$42 >> 0] | 0) | 0; - $56 = HEAP32[$5 >> 2] | 0; - HEAP32[$5 >> 2] = $56 + 4; - HEAP32[$56 >> 2] = $55; - $$176 = $$075 + 2 | 0; - } else $$176 = $$075; while (0); - L12 : do if (($$176 | 0) != ($2 | 0)) { - $$0$i$i = $2; - $$07$i$i = $$176; + $l3$0 = 0; while (1) { - $59 = $$0$i$i + -1 | 0; - if ($$07$i$i >>> 0 >= $59 >>> 0) break L12; - $61 = HEAP8[$$07$i$i >> 0] | 0; - HEAP8[$$07$i$i >> 0] = HEAP8[$59 >> 0] | 0; - HEAP8[$59 >> 0] = $61; - $$0$i$i = $59; - $$07$i$i = $$07$i$i + 1 | 0; + if (($l3$0 | 0) == ($i$0 | 0)) break; + _free(HEAP32[$call12 + ($l3$0 * 20 | 0) >> 2] | 0); + $l3$0 = $l3$0 + 1 | 0; } - } while (0); - $67 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$9 >> 2] | 0) + 16 >> 2] & 127]($9) | 0; - $$0 = $$176; - $$072 = 0; - $$073 = 0; - while (1) { - if ($$0 >>> 0 >= $2 >>> 0) break; - $85 = HEAP8[((HEAP8[$13 >> 0] | 0) < 0 ? HEAP32[$7 >> 2] | 0 : $7) + $$072 >> 0] | 0; - if ($85 << 24 >> 24 != 0 & ($$073 | 0) == ($85 << 24 >> 24 | 0)) { - $89 = HEAP32[$5 >> 2] | 0; - HEAP32[$5 >> 2] = $89 + 4; - HEAP32[$89 >> 2] = $67; - $91 = HEAP8[$13 >> 0] | 0; - $$1 = $$072 + ($$072 >>> 0 < (($91 << 24 >> 24 < 0 ? HEAP32[$16 >> 2] | 0 : $91 & 255) + -1 | 0) >>> 0 & 1) | 0; - $$174 = 0; - } else { - $$1 = $$072; - $$174 = $$073; - } - $103 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$8 >> 2] | 0) + 44 >> 2] & 127]($8, HEAP8[$$0 >> 0] | 0) | 0; - $104 = HEAP32[$5 >> 2] | 0; - HEAP32[$5 >> 2] = $104 + 4; - HEAP32[$104 >> 2] = $103; - $$0 = $$0 + 1 | 0; - $$072 = $$1; - $$073 = $$174 + 1 | 0; - } - $70 = $0; - $72 = $3 + ($$176 - $70 << 2) | 0; - $73 = HEAP32[$5 >> 2] | 0; - if (($72 | 0) == ($73 | 0)) { - $$pre$phiZ2D = $70; - $112 = $72; + _free($call12); + label = 39; } else { - $$0$i$i78 = $73; - $$07$i$i77 = $72; - while (1) { - $75 = $$0$i$i78 + -4 | 0; - if ($$07$i$i77 >>> 0 >= $75 >>> 0) break; - $77 = HEAP32[$$07$i$i77 >> 2] | 0; - HEAP32[$$07$i$i77 >> 2] = HEAP32[$75 >> 2]; - HEAP32[$75 >> 2] = $77; - $$0$i$i78 = $75; - $$07$i$i77 = $$07$i$i77 + 4 | 0; - } - $$pre$phiZ2D = $70; - $112 = HEAP32[$5 >> 2] | 0; + _arLog(0, 3, 25911, $vararg_buffer7); + label = 39; + } while (0); + if ((label | 0) == 39) { + _free($call3); + $featureSet$0 = 0; } - } else { - FUNCTION_TABLE_iiiii[HEAP32[(HEAP32[$8 >> 2] | 0) + 48 >> 2] & 15]($8, $0, $2, $3) | 0; - $25 = $0; - $27 = $3 + ($2 - $25 << 2) | 0; - HEAP32[$5 >> 2] = $27; - $$pre$phiZ2D = $25; - $112 = $27; + _fclose($call2) | 0; + $retval$0 = $featureSet$0; } - HEAP32[$4 >> 2] = ($1 | 0) == ($2 | 0) ? $112 : $3 + ($1 - $$pre$phiZ2D << 2) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($7); STACKTOP = sp; - return; + return $retval$0 | 0; } -function __ZNSt3__29__num_putIcE21__widen_and_group_intEPcS2_S2_S2_RS2_S3_RKNS_6localeE($0, $1, $2, $3, $4, $5, $6) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - $6 = $6 | 0; - var $$0 = 0, $$0$i$i = 0, $$0$i$i76 = 0, $$07$i$i = 0, $$07$i$i75 = 0, $$070 = 0, $$071 = 0, $$073 = 0, $$1 = 0, $$172 = 0, $$174 = 0, $$pre$phiZ2D = 0, $103 = 0, $104 = 0, $112 = 0, $13 = 0, $14 = 0, $16 = 0, $25 = 0, $27 = 0, $28 = 0, $33 = 0, $34 = 0, $42 = 0, $47 = 0, $48 = 0, $55 = 0, $56 = 0, $59 = 0, $61 = 0, $67 = 0, $7 = 0, $70 = 0, $72 = 0, $73 = 0, $75 = 0, $77 = 0, $8 = 0, $85 = 0, $89 = 0, $9 = 0, $91 = 0, sp = 0; +function __ZNSt3__213unordered_mapIiNS_6vectorIiNS_9allocatorIiEEEENS_4hashIiEENS_8equal_toIiEENS2_INS_4pairIKiS4_EEEEEixERSA_($this, $__k) { + $this = $this | 0; + $__k = $__k | 0; + var $$pn$i = 0, $0 = 0, $1 = 0, $11 = 0, $16 = 0, $17 = 0, $18 = 0, $23 = 0, $3 = 0, $4 = 0, $7 = 0.0, $9 = 0, $__bc$0$i = 0, $__chash$0$i = 0, $__chash$1$i = 0, $__h$i = 0, $__nd$0$i = 0, $__nd$1$i = 0, $__value_$i$i$i = 0, $__value_$i$i$i1$i$i = 0, $__value_$i$i$i105$i = 0, $__value_$i$i$i37$pre$phi$iZZZZ2D = 0, $add37$i = 0, $cmp$i = 0, $cond6$i$i = 0, $cond6$i50$i = 0, $cond6$i96$i = 0, $conv$i = 0.0, $conv44$i = 0, $ref$tmp2 = 0, $ref$tmp5 = 0, $sub$i$i = 0, $sub$i41$i = 0, $sub$i75$i = 0, $tobool$i$i = 0, label = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $7 = sp; - $8 = __ZNKSt3__26locale9use_facetERNS0_2idE($6, 66512) | 0; - $9 = __ZNKSt3__26locale9use_facetERNS0_2idE($6, 66528) | 0; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$9 >> 2] | 0) + 20 >> 2] & 255]($7, $9); - $13 = $7 + 11 | 0; - $14 = HEAP8[$13 >> 0] | 0; - $16 = $7 + 4 | 0; - if (($14 << 24 >> 24 < 0 ? HEAP32[$16 >> 2] | 0 : $14 & 255) | 0) { - HEAP32[$5 >> 2] = $3; - $28 = HEAP8[$0 >> 0] | 0; - switch ($28 << 24 >> 24) { - case 43: - case 45: - { - $33 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$8 >> 2] | 0) + 28 >> 2] & 127]($8, $28) | 0; - $34 = HEAP32[$5 >> 2] | 0; - HEAP32[$5 >> 2] = $34 + 1; - HEAP8[$34 >> 0] = $33; - $$073 = $0 + 1 | 0; - break; + STACKTOP = STACKTOP + 32 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); + $__h$i = sp + 4 | 0; + $ref$tmp2 = sp; + $ref$tmp5 = sp + 16 | 0; + HEAP32[$ref$tmp2 >> 2] = $__k; + $0 = HEAP32[$__k >> 2] | 0; + $__value_$i$i$i1$i$i = $this + 4 | 0; + $1 = HEAP32[$__value_$i$i$i1$i$i >> 2] | 0; + $cmp$i = ($1 | 0) == 0; + L1 : do if (!$cmp$i) { + $sub$i$i = $1 + -1 | 0; + $tobool$i$i = ($sub$i$i & $1 | 0) == 0; + if (!$tobool$i$i) if ($0 >>> 0 < $1 >>> 0) $cond6$i$i = $0; else $cond6$i$i = ($0 >>> 0) % ($1 >>> 0) | 0; else $cond6$i$i = $sub$i$i & $0; + $3 = HEAP32[(HEAP32[$this >> 2] | 0) + ($cond6$i$i << 2) >> 2] | 0; + if (!$3) { + $__chash$0$i = $cond6$i$i; + label = 16; + } else { + $$pn$i = $3; + while (1) { + $__nd$0$i = HEAP32[$$pn$i >> 2] | 0; + if (!$__nd$0$i) { + $__chash$0$i = $cond6$i$i; + label = 16; + break L1; + } + $4 = HEAP32[$__nd$0$i + 4 >> 2] | 0; + if (($4 | 0) != ($0 | 0)) { + if (!$tobool$i$i) if ($4 >>> 0 < $1 >>> 0) $cond6$i96$i = $4; else $cond6$i96$i = ($4 >>> 0) % ($1 >>> 0) | 0; else $cond6$i96$i = $4 & $sub$i$i; + if (($cond6$i96$i | 0) != ($cond6$i$i | 0)) { + $__chash$0$i = $cond6$i$i; + label = 16; + break L1; + } + } + if ((HEAP32[$__nd$0$i + 8 >> 2] | 0) == ($0 | 0)) { + $__nd$1$i = $__nd$0$i; + break; + } else $$pn$i = $__nd$0$i; } - default: - $$073 = $0; } - L7 : do if (($2 - $$073 | 0) > 1 ? (HEAP8[$$073 >> 0] | 0) == 48 : 0) { - $42 = $$073 + 1 | 0; - switch (HEAP8[$42 >> 0] | 0) { - case 88: - case 120: + } else { + $__chash$0$i = 0; + label = 16; + } while (0); + if ((label | 0) == 16) { + __ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_6vectorIiNS_9allocatorIiEEEEEENS_22__unordered_map_hasherIiS6_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS6_NS_8equal_toIiEELb1EEENS3_IS6_EEE21__construct_node_hashIRKNS_21piecewise_construct_tEJNS_5tupleIJRKiEEENSL_IJEEEEEENS_10unique_ptrINS_11__hash_nodeIS6_PvEENS_22__hash_node_destructorINS3_IST_EEEEEEmOT_DpOT0_($__h$i, $this, $0, 68284, $ref$tmp2, $ref$tmp5); + $__value_$i$i$i105$i = $this + 12 | 0; + $conv$i = +(((HEAP32[$__value_$i$i$i105$i >> 2] | 0) + 1 | 0) >>> 0); + $7 = +HEAPF32[$this + 16 >> 2]; + do if ($cmp$i | $7 * +($1 >>> 0) < $conv$i) { + $add37$i = $1 << 1 | ($1 >>> 0 < 3 | ($1 + -1 & $1 | 0) != 0) & 1; + $conv44$i = ~~+Math_ceil(+($conv$i / $7)) >>> 0; + __ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_6vectorIiNS_9allocatorIiEEEEEENS_22__unordered_map_hasherIiS6_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS6_NS_8equal_toIiEELb1EEENS3_IS6_EEE6rehashEm($this, $add37$i >>> 0 < $conv44$i >>> 0 ? $conv44$i : $add37$i); + $9 = HEAP32[$__value_$i$i$i1$i$i >> 2] | 0; + $sub$i75$i = $9 + -1 | 0; + if (!($sub$i75$i & $9)) { + $__bc$0$i = $9; + $__chash$1$i = $sub$i75$i & $0; break; - default: - { - $$174 = $$073; - break L7; - } - } - $47 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$8 >> 2] | 0) + 28 >> 2] & 127]($8, 48) | 0; - $48 = HEAP32[$5 >> 2] | 0; - HEAP32[$5 >> 2] = $48 + 1; - HEAP8[$48 >> 0] = $47; - $55 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$8 >> 2] | 0) + 28 >> 2] & 127]($8, HEAP8[$42 >> 0] | 0) | 0; - $56 = HEAP32[$5 >> 2] | 0; - HEAP32[$5 >> 2] = $56 + 1; - HEAP8[$56 >> 0] = $55; - $$174 = $$073 + 2 | 0; - } else $$174 = $$073; while (0); - L12 : do if (($$174 | 0) != ($2 | 0)) { - $$0$i$i = $2; - $$07$i$i = $$174; - while (1) { - $59 = $$0$i$i + -1 | 0; - if ($$07$i$i >>> 0 >= $59 >>> 0) break L12; - $61 = HEAP8[$$07$i$i >> 0] | 0; - HEAP8[$$07$i$i >> 0] = HEAP8[$59 >> 0] | 0; - HEAP8[$59 >> 0] = $61; - $$0$i$i = $59; - $$07$i$i = $$07$i$i + 1 | 0; } - } while (0); - $67 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$9 >> 2] | 0) + 16 >> 2] & 127]($9) | 0; - $$0 = $$174; - $$070 = 0; - $$071 = 0; - while (1) { - if ($$0 >>> 0 >= $2 >>> 0) break; - $85 = HEAP8[((HEAP8[$13 >> 0] | 0) < 0 ? HEAP32[$7 >> 2] | 0 : $7) + $$070 >> 0] | 0; - if ($85 << 24 >> 24 != 0 & ($$071 | 0) == ($85 << 24 >> 24 | 0)) { - $89 = HEAP32[$5 >> 2] | 0; - HEAP32[$5 >> 2] = $89 + 1; - HEAP8[$89 >> 0] = $67; - $91 = HEAP8[$13 >> 0] | 0; - $$1 = $$070 + ($$070 >>> 0 < (($91 << 24 >> 24 < 0 ? HEAP32[$16 >> 2] | 0 : $91 & 255) + -1 | 0) >>> 0 & 1) | 0; - $$172 = 0; + if ($0 >>> 0 < $9 >>> 0) { + $__bc$0$i = $9; + $__chash$1$i = $0; } else { - $$1 = $$070; - $$172 = $$071; - } - $103 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$8 >> 2] | 0) + 28 >> 2] & 127]($8, HEAP8[$$0 >> 0] | 0) | 0; - $104 = HEAP32[$5 >> 2] | 0; - HEAP32[$5 >> 2] = $104 + 1; - HEAP8[$104 >> 0] = $103; - $$0 = $$0 + 1 | 0; - $$070 = $$1; - $$071 = $$172 + 1 | 0; - } - $70 = $0; - $72 = $3 + ($$174 - $70) | 0; - $73 = HEAP32[$5 >> 2] | 0; - if (($72 | 0) == ($73 | 0)) { - $$pre$phiZ2D = $70; - $112 = $72; + $__bc$0$i = $9; + $__chash$1$i = ($0 >>> 0) % ($9 >>> 0) | 0; + } } else { - $$0$i$i76 = $73; - $$07$i$i75 = $72; - while (1) { - $75 = $$0$i$i76 + -1 | 0; - if ($$07$i$i75 >>> 0 >= $75 >>> 0) break; - $77 = HEAP8[$$07$i$i75 >> 0] | 0; - HEAP8[$$07$i$i75 >> 0] = HEAP8[$75 >> 0] | 0; - HEAP8[$75 >> 0] = $77; - $$0$i$i76 = $75; - $$07$i$i75 = $$07$i$i75 + 1 | 0; + $__bc$0$i = $1; + $__chash$1$i = $__chash$0$i; + } while (0); + $11 = HEAP32[(HEAP32[$this >> 2] | 0) + ($__chash$1$i << 2) >> 2] | 0; + if (!$11) { + $__value_$i$i$i = $this + 8 | 0; + HEAP32[HEAP32[$__h$i >> 2] >> 2] = HEAP32[$__value_$i$i$i >> 2]; + HEAP32[$__value_$i$i$i >> 2] = HEAP32[$__h$i >> 2]; + HEAP32[(HEAP32[$this >> 2] | 0) + ($__chash$1$i << 2) >> 2] = $__value_$i$i$i; + $16 = HEAP32[$__h$i >> 2] | 0; + $17 = HEAP32[$16 >> 2] | 0; + if (!$17) $__value_$i$i$i37$pre$phi$iZZZZ2D = $__h$i; else { + $18 = HEAP32[$17 + 4 >> 2] | 0; + $sub$i41$i = $__bc$0$i + -1 | 0; + if ($sub$i41$i & $__bc$0$i) if ($18 >>> 0 < $__bc$0$i >>> 0) $cond6$i50$i = $18; else $cond6$i50$i = ($18 >>> 0) % ($__bc$0$i >>> 0) | 0; else $cond6$i50$i = $18 & $sub$i41$i; + HEAP32[(HEAP32[$this >> 2] | 0) + ($cond6$i50$i << 2) >> 2] = $16; + $__value_$i$i$i37$pre$phi$iZZZZ2D = $__h$i; } - $$pre$phiZ2D = $70; - $112 = HEAP32[$5 >> 2] | 0; + } else { + HEAP32[HEAP32[$__h$i >> 2] >> 2] = HEAP32[$11 >> 2]; + HEAP32[$11 >> 2] = HEAP32[$__h$i >> 2]; + $__value_$i$i$i37$pre$phi$iZZZZ2D = $__h$i; } - } else { - FUNCTION_TABLE_iiiii[HEAP32[(HEAP32[$8 >> 2] | 0) + 32 >> 2] & 15]($8, $0, $2, $3) | 0; - $25 = $0; - $27 = $3 + ($2 - $25) | 0; - HEAP32[$5 >> 2] = $27; - $$pre$phiZ2D = $25; - $112 = $27; + $23 = HEAP32[$__value_$i$i$i37$pre$phi$iZZZZ2D >> 2] | 0; + HEAP32[$__value_$i$i$i105$i >> 2] = (HEAP32[$__value_$i$i$i105$i >> 2] | 0) + 1; + HEAP32[$__value_$i$i$i37$pre$phi$iZZZZ2D >> 2] = 0; + $__nd$1$i = $23; } - HEAP32[$4 >> 2] = ($1 | 0) == ($2 | 0) ? $112 : $3 + ($1 - $$pre$phiZ2D) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($7); STACKTOP = sp; - return; + return $__nd$1$i + 12 | 0; } -function __ZNKSt3__29money_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_bRNS_8ios_baseERjRe($0, $1, $2, $3, $4, $5, $6) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - $6 = $6 | 0; - var $$0 = 0, $$0$i = 0, $$0$i$i$i$i = 0, $$0$i$i2$i$i = 0, $$0$lcssa$i = 0, $$025 = 0, $$1 = 0, $$2 = 0, $$byval_copy = 0, $$sroa$0$0$copyload = 0, $$sroa$027$0 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $17 = 0, $20 = 0, $25 = 0, $26 = 0, $27 = 0, $29 = 0, $30 = 0, $33 = 0, $39 = 0, $40 = 0, $42 = 0, $45 = 0, $59 = 0, $62 = 0, $7 = 0, $74 = 0, $77 = 0, $8 = 0, $9 = 0, $91 = 0, $95 = 0, $vararg_buffer = 0, label = 0, sp = 0; +function __ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_($this, $__k) { + $this = $this | 0; + $__k = $__k | 0; + var $$pn$i = 0, $0 = 0, $1 = 0, $11 = 0, $16 = 0, $17 = 0, $18 = 0, $23 = 0, $3 = 0, $4 = 0, $7 = 0.0, $9 = 0, $__bc$0$i = 0, $__chash$0$i = 0, $__chash$1$i = 0, $__h$i = 0, $__nd$0$i = 0, $__nd$1$i = 0, $__value_$i$i$i = 0, $__value_$i$i$i1$i$i = 0, $__value_$i$i$i105$i = 0, $__value_$i$i$i37$pre$phi$iZZZZ2D = 0, $add37$i = 0, $cmp$i = 0, $cond6$i$i = 0, $cond6$i50$i = 0, $cond6$i96$i = 0, $conv$i = 0.0, $conv44$i = 0, $ref$tmp2 = 0, $ref$tmp5 = 0, $sub$i$i = 0, $sub$i41$i = 0, $sub$i75$i = 0, $tobool$i$i = 0, label = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 592 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(592); - $$byval_copy = sp + 512 | 0; - $vararg_buffer = sp + 552 | 0; - $7 = sp + 112 | 0; - $8 = sp + 568 | 0; - $9 = sp + 564 | 0; - $10 = sp + 560 | 0; - $11 = sp + 576 | 0; - $12 = sp + 556 | 0; - $13 = sp; - HEAP32[$8 >> 2] = $7; - HEAP32[$8 + 4 >> 2] = 214; - __ZNKSt3__28ios_base6getlocEv($10, $4); - $17 = __ZNKSt3__26locale9use_facetERNS0_2idE($10, 66544) | 0; - HEAP8[$11 >> 0] = 0; - HEAP32[$12 >> 2] = HEAP32[$2 >> 2]; - $20 = HEAP32[$4 + 4 >> 2] | 0; - HEAP32[$$byval_copy >> 2] = HEAP32[$12 >> 2]; - if (__ZNSt3__29money_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE8__do_getERS4_S4_bRKNS_6localeEjRjRbRKNS_5ctypeIwEERNS_10unique_ptrIwPFvPvEEERPwSM_($1, $$byval_copy, $3, $10, $20, $5, $11, $17, $8, $9, $7 + 400 | 0) | 0) { - FUNCTION_TABLE_iiiii[HEAP32[(HEAP32[$17 >> 2] | 0) + 48 >> 2] & 15]($17, 60349, 60359, $$byval_copy) | 0; - $25 = HEAP32[$9 >> 2] | 0; - $26 = HEAP32[$8 >> 2] | 0; - $27 = $25 - $26 | 0; - $29 = $26; - $30 = $25; - if (($27 | 0) > 392) { - $33 = _malloc(($27 >>> 2) + 2 | 0) | 0; - if (!$33) __ZSt17__throw_bad_allocv(); else { - $$025 = $33; - $$sroa$027$0 = $33; - } + STACKTOP = STACKTOP + 32 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); + $__h$i = sp + 4 | 0; + $ref$tmp2 = sp; + $ref$tmp5 = sp + 16 | 0; + HEAP32[$ref$tmp2 >> 2] = $__k; + $0 = HEAP32[$__k >> 2] | 0; + $__value_$i$i$i1$i$i = $this + 4 | 0; + $1 = HEAP32[$__value_$i$i$i1$i$i >> 2] | 0; + $cmp$i = ($1 | 0) == 0; + L1 : do if (!$cmp$i) { + $sub$i$i = $1 + -1 | 0; + $tobool$i$i = ($sub$i$i & $1 | 0) == 0; + if (!$tobool$i$i) if ($0 >>> 0 < $1 >>> 0) $cond6$i$i = $0; else $cond6$i$i = ($0 >>> 0) % ($1 >>> 0) | 0; else $cond6$i$i = $sub$i$i & $0; + $3 = HEAP32[(HEAP32[$this >> 2] | 0) + ($cond6$i$i << 2) >> 2] | 0; + if (!$3) { + $__chash$0$i = $cond6$i$i; + label = 16; } else { - $$025 = $13; - $$sroa$027$0 = 0; - } - if (!(HEAP8[$11 >> 0] | 0)) $$1 = $$025; else { - HEAP8[$$025 >> 0] = 45; - $$1 = $$025 + 1 | 0; - } - $39 = $$byval_copy + 40 | 0; - $40 = $$byval_copy; - $$0 = $29; - $$2 = $$1; - $42 = $30; - while (1) { - if ($$0 >>> 0 >= $42 >>> 0) break; - $45 = HEAP32[$$0 >> 2] | 0; - $$0$i = $$byval_copy; + $$pn$i = $3; while (1) { - if (($$0$i | 0) == ($39 | 0)) { - $$0$lcssa$i = $39; - break; + $__nd$0$i = HEAP32[$$pn$i >> 2] | 0; + if (!$__nd$0$i) { + $__chash$0$i = $cond6$i$i; + label = 16; + break L1; } - if ((HEAP32[$$0$i >> 2] | 0) == ($45 | 0)) { - $$0$lcssa$i = $$0$i; - break; + $4 = HEAP32[$__nd$0$i + 4 >> 2] | 0; + if (($4 | 0) != ($0 | 0)) { + if (!$tobool$i$i) if ($4 >>> 0 < $1 >>> 0) $cond6$i96$i = $4; else $cond6$i96$i = ($4 >>> 0) % ($1 >>> 0) | 0; else $cond6$i96$i = $4 & $sub$i$i; + if (($cond6$i96$i | 0) != ($cond6$i$i | 0)) { + $__chash$0$i = $cond6$i$i; + label = 16; + break L1; + } } - $$0$i = $$0$i + 4 | 0; + if ((HEAP32[$__nd$0$i + 8 >> 2] | 0) == ($0 | 0)) { + $__nd$1$i = $__nd$0$i; + break; + } else $$pn$i = $__nd$0$i; } - HEAP8[$$2 >> 0] = HEAP8[60349 + ($$0$lcssa$i - $40 >> 2) >> 0] | 0; - $$0 = $$0 + 4 | 0; - $$2 = $$2 + 1 | 0; - $42 = HEAP32[$9 >> 2] | 0; } - HEAP8[$$2 >> 0] = 0; - HEAP32[$vararg_buffer >> 2] = $6; - if ((_sscanf($13, 60250, $vararg_buffer) | 0) != 1) __ZNSt3__221__throw_runtime_errorEPKc(0); - if ($$sroa$027$0 | 0) _free($$sroa$027$0); - } - $59 = HEAP32[$1 >> 2] | 0; - do if ($59) { - $62 = HEAP32[$59 + 12 >> 2] | 0; - if (($62 | 0) == (HEAP32[$59 + 16 >> 2] | 0)) $$0$i$i$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$59 >> 2] | 0) + 36 >> 2] & 127]($59) | 0; else $$0$i$i$i$i = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$62 >> 2] | 0) | 0; - if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj($$0$i$i$i$i, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { - HEAP32[$1 >> 2] = 0; - $95 = 1; - break; + } else { + $__chash$0$i = 0; + label = 16; + } while (0); + if ((label | 0) == 16) { + __ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE21__construct_node_hashIRKNS_21piecewise_construct_tEJNS_5tupleIJRKiEEENSJ_IJEEEEEENS_10unique_ptrINS_11__hash_nodeIS3_PvEENS_22__hash_node_destructorINSC_ISR_EEEEEEmOT_DpOT0_($__h$i, $this, $0, 68285, $ref$tmp2, $ref$tmp5); + $__value_$i$i$i105$i = $this + 12 | 0; + $conv$i = +(((HEAP32[$__value_$i$i$i105$i >> 2] | 0) + 1 | 0) >>> 0); + $7 = +HEAPF32[$this + 16 >> 2]; + do if ($cmp$i | $7 * +($1 >>> 0) < $conv$i) { + $add37$i = $1 << 1 | ($1 >>> 0 < 3 | ($1 + -1 & $1 | 0) != 0) & 1; + $conv44$i = ~~+Math_ceil(+($conv$i / $7)) >>> 0; + __ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE6rehashEm($this, $add37$i >>> 0 < $conv44$i >>> 0 ? $conv44$i : $add37$i); + $9 = HEAP32[$__value_$i$i$i1$i$i >> 2] | 0; + $sub$i75$i = $9 + -1 | 0; + if (!($sub$i75$i & $9)) { + $__bc$0$i = $9; + $__chash$1$i = $sub$i75$i & $0; + break; + } + if ($0 >>> 0 < $9 >>> 0) { + $__bc$0$i = $9; + $__chash$1$i = $0; + } else { + $__bc$0$i = $9; + $__chash$1$i = ($0 >>> 0) % ($9 >>> 0) | 0; + } } else { - $95 = (HEAP32[$1 >> 2] | 0) == 0; - break; - } - } else $95 = 1; while (0); - $74 = HEAP32[$2 >> 2] | 0; - do if ($74) { - $77 = HEAP32[$74 + 12 >> 2] | 0; - if (($77 | 0) == (HEAP32[$74 + 16 >> 2] | 0)) $$0$i$i2$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$74 >> 2] | 0) + 36 >> 2] & 127]($74) | 0; else $$0$i$i2$i$i = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$77 >> 2] | 0) | 0; - if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj($$0$i$i2$i$i, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if ($95) break; else { - label = 34; - break; + $__bc$0$i = $1; + $__chash$1$i = $__chash$0$i; + } while (0); + $11 = HEAP32[(HEAP32[$this >> 2] | 0) + ($__chash$1$i << 2) >> 2] | 0; + if (!$11) { + $__value_$i$i$i = $this + 8 | 0; + HEAP32[HEAP32[$__h$i >> 2] >> 2] = HEAP32[$__value_$i$i$i >> 2]; + HEAP32[$__value_$i$i$i >> 2] = HEAP32[$__h$i >> 2]; + HEAP32[(HEAP32[$this >> 2] | 0) + ($__chash$1$i << 2) >> 2] = $__value_$i$i$i; + $16 = HEAP32[$__h$i >> 2] | 0; + $17 = HEAP32[$16 >> 2] | 0; + if (!$17) $__value_$i$i$i37$pre$phi$iZZZZ2D = $__h$i; else { + $18 = HEAP32[$17 + 4 >> 2] | 0; + $sub$i41$i = $__bc$0$i + -1 | 0; + if ($sub$i41$i & $__bc$0$i) if ($18 >>> 0 < $__bc$0$i >>> 0) $cond6$i50$i = $18; else $cond6$i50$i = ($18 >>> 0) % ($__bc$0$i >>> 0) | 0; else $cond6$i50$i = $18 & $sub$i41$i; + HEAP32[(HEAP32[$this >> 2] | 0) + ($cond6$i50$i << 2) >> 2] = $16; + $__value_$i$i$i37$pre$phi$iZZZZ2D = $__h$i; + } } else { - HEAP32[$2 >> 2] = 0; - label = 32; - break; + HEAP32[HEAP32[$__h$i >> 2] >> 2] = HEAP32[$11 >> 2]; + HEAP32[$11 >> 2] = HEAP32[$__h$i >> 2]; + $__value_$i$i$i37$pre$phi$iZZZZ2D = $__h$i; } - } else label = 32; while (0); - if ((label | 0) == 32 ? $95 : 0) label = 34; - if ((label | 0) == 34) HEAP32[$5 >> 2] = HEAP32[$5 >> 2] | 2; - $$sroa$0$0$copyload = HEAP32[$1 >> 2] | 0; - __ZNSt3__26localeD2Ev($10); - $91 = HEAP32[$8 >> 2] | 0; - HEAP32[$8 >> 2] = 0; - if ($91 | 0) FUNCTION_TABLE_vi[HEAP32[$8 + 4 >> 2] & 255]($91); + $23 = HEAP32[$__value_$i$i$i37$pre$phi$iZZZZ2D >> 2] | 0; + HEAP32[$__value_$i$i$i105$i >> 2] = (HEAP32[$__value_$i$i$i105$i >> 2] | 0) + 1; + HEAP32[$__value_$i$i$i37$pre$phi$iZZZZ2D >> 2] = 0; + $__nd$1$i = $23; + } STACKTOP = sp; - return $$sroa$0$0$copyload | 0; + return $__nd$1$i + 16 | 0; } -function __ZNKSt3__29money_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_putES4_bRNS_8ios_baseEcRKNS_12basic_stringIcS3_NS_9allocatorIcEEEE($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$0 = 0, $$0$i$i = 0, $$0$i$i26 = 0, $$0$i$i29 = 0, $$byval_copy = 0, $$sink47 = 0, $$sink48 = 0, $$sink49 = 0, $$sroa$041$0 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $29 = 0, $41 = 0, $42 = 0, $43 = 0, $46 = 0, $47 = 0, $52 = 0, $59 = 0, $6 = 0, $68 = 0, $7 = 0, $75 = 0, $8 = 0, $83 = 0, $85 = 0, $9 = 0, $91 = 0, $96 = 0, $97 = 0, $98 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 176 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(176); - $$byval_copy = sp + 156 | 0; - $6 = sp + 152 | 0; - $7 = sp + 164 | 0; - $8 = sp + 161 | 0; - $9 = sp + 160 | 0; - $10 = sp + 140 | 0; - $11 = sp + 128 | 0; - $12 = sp + 116 | 0; - $13 = sp + 112 | 0; - $14 = sp; - $15 = sp + 108 | 0; - $16 = sp + 104 | 0; - $17 = sp + 100 | 0; - __ZNKSt3__28ios_base6getlocEv($6, $3); - $18 = __ZNKSt3__26locale9use_facetERNS0_2idE($6, 66512) | 0; - $19 = $5 + 11 | 0; - $20 = HEAP8[$19 >> 0] | 0; - $21 = $20 << 24 >> 24 < 0; - $22 = $5 + 4 | 0; - if (!(($21 ? HEAP32[$22 >> 2] | 0 : $20 & 255) | 0)) $41 = 0; else { - $29 = HEAP8[($21 ? HEAP32[$5 >> 2] | 0 : $5) >> 0] | 0; - $41 = $29 << 24 >> 24 == (FUNCTION_TABLE_iii[HEAP32[(HEAP32[$18 >> 2] | 0) + 28 >> 2] & 127]($18, 45) | 0) << 24 >> 24; - }; - HEAP32[$10 >> 2] = 0; - HEAP32[$10 + 4 >> 2] = 0; - HEAP32[$10 + 8 >> 2] = 0; - $$0$i$i = 0; - while (1) { - if (($$0$i$i | 0) == 3) break; - HEAP32[$10 + ($$0$i$i << 2) >> 2] = 0; - $$0$i$i = $$0$i$i + 1 | 0; - } - HEAP32[$11 >> 2] = 0; - HEAP32[$11 + 4 >> 2] = 0; - HEAP32[$11 + 8 >> 2] = 0; - $$0$i$i26 = 0; - while (1) { - if (($$0$i$i26 | 0) == 3) break; - HEAP32[$11 + ($$0$i$i26 << 2) >> 2] = 0; - $$0$i$i26 = $$0$i$i26 + 1 | 0; - } - HEAP32[$12 >> 2] = 0; - HEAP32[$12 + 4 >> 2] = 0; - HEAP32[$12 + 8 >> 2] = 0; - $$0$i$i29 = 0; - while (1) { - if (($$0$i$i29 | 0) == 3) break; - HEAP32[$12 + ($$0$i$i29 << 2) >> 2] = 0; - $$0$i$i29 = $$0$i$i29 + 1 | 0; - } - __ZNSt3__211__money_putIcE13__gather_infoEbbRKNS_6localeERNS_10money_base7patternERcS8_RNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEESF_SF_Ri($2, $41, $6, $7, $8, $9, $10, $11, $12, $13); - $42 = HEAP8[$19 >> 0] | 0; - $43 = $42 << 24 >> 24 < 0; - $46 = $43 ? HEAP32[$22 >> 2] | 0 : $42 & 255; - $47 = HEAP32[$13 >> 2] | 0; - if (($46 | 0) > ($47 | 0)) { - $52 = HEAP8[$12 + 11 >> 0] | 0; - $59 = HEAP8[$11 + 11 >> 0] | 0; - $$sink47 = $59 << 24 >> 24 < 0 ? HEAP32[$11 + 4 >> 2] | 0 : $59 & 255; - $$sink48 = $47 + 1 + ($46 - $47 << 1) | 0; - $$sink49 = $52 << 24 >> 24 < 0 ? HEAP32[$12 + 4 >> 2] | 0 : $52 & 255; - } else { - $68 = HEAP8[$12 + 11 >> 0] | 0; - $75 = HEAP8[$11 + 11 >> 0] | 0; - $$sink47 = $75 << 24 >> 24 < 0 ? HEAP32[$11 + 4 >> 2] | 0 : $75 & 255; - $$sink48 = $47 + 2 | 0; - $$sink49 = $68 << 24 >> 24 < 0 ? HEAP32[$12 + 4 >> 2] | 0 : $68 & 255; - } - $83 = $$sink48 + $$sink49 + $$sink47 | 0; - if ($83 >>> 0 > 100) { - $85 = _malloc($83) | 0; - if (!$85) __ZSt17__throw_bad_allocv(); else { - $$0 = $85; - $$sroa$041$0 = $85; - } - } else { - $$0 = $14; - $$sroa$041$0 = 0; - } - $91 = $43 ? HEAP32[$5 >> 2] | 0 : $5; - __ZNSt3__211__money_putIcE8__formatEPcRS2_S3_jPKcS5_RKNS_5ctypeIcEEbRKNS_10money_base7patternEccRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEESL_SL_i($$0, $15, $16, HEAP32[$3 + 4 >> 2] | 0, $91, $91 + $46 | 0, $18, $41, $7, HEAP8[$8 >> 0] | 0, HEAP8[$9 >> 0] | 0, $10, $11, $12, $47); - HEAP32[$17 >> 2] = HEAP32[$1 >> 2]; - $96 = HEAP32[$15 >> 2] | 0; - $97 = HEAP32[$16 >> 2] | 0; - HEAP32[$$byval_copy >> 2] = HEAP32[$17 >> 2]; - $98 = __ZNSt3__216__pad_and_outputIcNS_11char_traitsIcEEEENS_19ostreambuf_iteratorIT_T0_EES6_PKS4_S8_S8_RNS_8ios_baseES4_($$byval_copy, $$0, $96, $97, $3, $4) | 0; - if ($$sroa$041$0 | 0) _free($$sroa$041$0); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($12); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($11); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($10); - __ZNSt3__26localeD2Ev($6); - STACKTOP = sp; - return $98 | 0; -} - -function __ZNKSt3__29money_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_bRNS_8ios_baseERjRe($0, $1, $2, $3, $4, $5, $6) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - $6 = $6 | 0; - var $$0 = 0, $$0$i = 0, $$0$i$i$i$i = 0, $$0$i$i2$i$i = 0, $$0$lcssa$i = 0, $$025 = 0, $$1 = 0, $$2 = 0, $$byval_copy = 0, $$sroa$0$0$copyload = 0, $$sroa$028$0 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $17 = 0, $20 = 0, $25 = 0, $26 = 0, $27 = 0, $29 = 0, $30 = 0, $32 = 0, $38 = 0, $39 = 0, $41 = 0, $44 = 0, $57 = 0, $60 = 0, $7 = 0, $72 = 0, $75 = 0, $8 = 0, $89 = 0, $9 = 0, $93 = 0, $vararg_buffer = 0, label = 0, sp = 0; +function __ZNSt3__213unordered_mapIi7ARParamNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_($this, $__k) { + $this = $this | 0; + $__k = $__k | 0; + var $$pn$i = 0, $0 = 0, $1 = 0, $11 = 0, $16 = 0, $17 = 0, $18 = 0, $23 = 0, $3 = 0, $4 = 0, $7 = 0.0, $9 = 0, $__bc$0$i = 0, $__chash$0$i = 0, $__chash$1$i = 0, $__h$i = 0, $__nd$0$i = 0, $__nd$1$i = 0, $__value_$i$i$i = 0, $__value_$i$i$i1$i$i = 0, $__value_$i$i$i37$pre$phi$iZZZZ2D = 0, $__value_$i$i$i88$i = 0, $add37$i = 0, $cmp$i = 0, $cond6$i$i = 0, $cond6$i64$i = 0, $cond6$i99$i = 0, $conv$i = 0.0, $conv44$i = 0, $ref$tmp2 = 0, $ref$tmp5 = 0, $sub$i$i = 0, $sub$i55$i = 0, $sub$i68$i = 0, $tobool$i57$i = 0, label = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 256 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(256); - $$byval_copy = sp + 240 | 0; - $vararg_buffer = sp + 216 | 0; - $7 = sp + 112 | 0; - $8 = sp + 232 | 0; - $9 = sp + 228 | 0; - $10 = sp + 224 | 0; - $11 = sp + 250 | 0; - $12 = sp + 220 | 0; - $13 = sp; - HEAP32[$8 >> 2] = $7; - HEAP32[$8 + 4 >> 2] = 214; - __ZNKSt3__28ios_base6getlocEv($10, $4); - $17 = __ZNKSt3__26locale9use_facetERNS0_2idE($10, 66512) | 0; - HEAP8[$11 >> 0] = 0; - HEAP32[$12 >> 2] = HEAP32[$2 >> 2]; - $20 = HEAP32[$4 + 4 >> 2] | 0; - HEAP32[$$byval_copy >> 2] = HEAP32[$12 >> 2]; - if (__ZNSt3__29money_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE8__do_getERS4_S4_bRKNS_6localeEjRjRbRKNS_5ctypeIcEERNS_10unique_ptrIcPFvPvEEERPcSM_($1, $$byval_copy, $3, $10, $20, $5, $11, $17, $8, $9, $7 + 100 | 0) | 0) { - FUNCTION_TABLE_iiiii[HEAP32[(HEAP32[$17 >> 2] | 0) + 32 >> 2] & 15]($17, 60239, 60249, $$byval_copy) | 0; - $25 = HEAP32[$9 >> 2] | 0; - $26 = HEAP32[$8 >> 2] | 0; - $27 = $25 - $26 | 0; - $29 = $26; - $30 = $25; - if (($27 | 0) > 98) { - $32 = _malloc($27 + 2 | 0) | 0; - if (!$32) __ZSt17__throw_bad_allocv(); else { - $$025 = $32; - $$sroa$028$0 = $32; - } + STACKTOP = STACKTOP + 32 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); + $__h$i = sp + 4 | 0; + $ref$tmp2 = sp; + $ref$tmp5 = sp + 16 | 0; + HEAP32[$ref$tmp2 >> 2] = $__k; + $0 = HEAP32[$__k >> 2] | 0; + $__value_$i$i$i1$i$i = $this + 4 | 0; + $1 = HEAP32[$__value_$i$i$i1$i$i >> 2] | 0; + $cmp$i = ($1 | 0) == 0; + L1 : do if (!$cmp$i) { + $sub$i55$i = $1 + -1 | 0; + $tobool$i57$i = ($sub$i55$i & $1 | 0) == 0; + if (!$tobool$i57$i) if ($0 >>> 0 < $1 >>> 0) $cond6$i64$i = $0; else $cond6$i64$i = ($0 >>> 0) % ($1 >>> 0) | 0; else $cond6$i64$i = $sub$i55$i & $0; + $3 = HEAP32[(HEAP32[$this >> 2] | 0) + ($cond6$i64$i << 2) >> 2] | 0; + if (!$3) { + $__chash$0$i = $cond6$i64$i; + label = 16; } else { - $$025 = $13; - $$sroa$028$0 = 0; - } - if (!(HEAP8[$11 >> 0] | 0)) $$1 = $$025; else { - HEAP8[$$025 >> 0] = 45; - $$1 = $$025 + 1 | 0; - } - $38 = $$byval_copy + 10 | 0; - $39 = $$byval_copy; - $$0 = $29; - $$2 = $$1; - $41 = $30; - while (1) { - if ($$0 >>> 0 >= $41 >>> 0) break; - $44 = HEAP8[$$0 >> 0] | 0; - $$0$i = $$byval_copy; + $$pn$i = $3; while (1) { - if (($$0$i | 0) == ($38 | 0)) { - $$0$lcssa$i = $38; - break; + $__nd$0$i = HEAP32[$$pn$i >> 2] | 0; + if (!$__nd$0$i) { + $__chash$0$i = $cond6$i64$i; + label = 16; + break L1; } - if ((HEAP8[$$0$i >> 0] | 0) == $44 << 24 >> 24) { - $$0$lcssa$i = $$0$i; - break; + $4 = HEAP32[$__nd$0$i + 4 >> 2] | 0; + if (($4 | 0) != ($0 | 0)) { + if (!$tobool$i57$i) if ($4 >>> 0 < $1 >>> 0) $cond6$i99$i = $4; else $cond6$i99$i = ($4 >>> 0) % ($1 >>> 0) | 0; else $cond6$i99$i = $4 & $sub$i55$i; + if (($cond6$i99$i | 0) != ($cond6$i64$i | 0)) { + $__chash$0$i = $cond6$i64$i; + label = 16; + break L1; + } } - $$0$i = $$0$i + 1 | 0; + if ((HEAP32[$__nd$0$i + 8 >> 2] | 0) == ($0 | 0)) { + $__nd$1$i = $__nd$0$i; + break; + } else $$pn$i = $__nd$0$i; } - HEAP8[$$2 >> 0] = HEAP8[60239 + ($$0$lcssa$i - $39) >> 0] | 0; - $$0 = $$0 + 1 | 0; - $$2 = $$2 + 1 | 0; - $41 = HEAP32[$9 >> 2] | 0; } - HEAP8[$$2 >> 0] = 0; - HEAP32[$vararg_buffer >> 2] = $6; - if ((_sscanf($13, 60250, $vararg_buffer) | 0) != 1) __ZNSt3__221__throw_runtime_errorEPKc(0); - if ($$sroa$028$0 | 0) _free($$sroa$028$0); - } - $57 = HEAP32[$1 >> 2] | 0; - do if ($57) { - $60 = HEAP32[$57 + 12 >> 2] | 0; - if (($60 | 0) == (HEAP32[$57 + 16 >> 2] | 0)) $$0$i$i$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$57 >> 2] | 0) + 36 >> 2] & 127]($57) | 0; else $$0$i$i$i$i = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$60 >> 0] | 0) | 0; - if (__ZNSt3__211char_traitsIcE11eq_int_typeEii($$0$i$i$i$i, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { - HEAP32[$1 >> 2] = 0; - $93 = 1; - break; + } else { + $__chash$0$i = 0; + label = 16; + } while (0); + if ((label | 0) == 16) { + __ZNSt3__212__hash_tableINS_17__hash_value_typeIi7ARParamEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE21__construct_node_hashIRKNS_21piecewise_construct_tEJNS_5tupleIJRKiEEENSJ_IJEEEEEENS_10unique_ptrINS_11__hash_nodeIS3_PvEENS_22__hash_node_destructorINSC_ISR_EEEEEEmOT_DpOT0_($__h$i, $this, $0, 68285, $ref$tmp2, $ref$tmp5); + $__value_$i$i$i88$i = $this + 12 | 0; + $conv$i = +(((HEAP32[$__value_$i$i$i88$i >> 2] | 0) + 1 | 0) >>> 0); + $7 = +HEAPF32[$this + 16 >> 2]; + do if ($cmp$i | $7 * +($1 >>> 0) < $conv$i) { + $add37$i = $1 << 1 | ($1 >>> 0 < 3 | ($1 + -1 & $1 | 0) != 0) & 1; + $conv44$i = ~~+Math_ceil(+($conv$i / $7)) >>> 0; + __ZNSt3__212__hash_tableINS_17__hash_value_typeIi7ARParamEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE6rehashEm($this, $add37$i >>> 0 < $conv44$i >>> 0 ? $conv44$i : $add37$i); + $9 = HEAP32[$__value_$i$i$i1$i$i >> 2] | 0; + $sub$i68$i = $9 + -1 | 0; + if (!($sub$i68$i & $9)) { + $__bc$0$i = $9; + $__chash$1$i = $sub$i68$i & $0; + break; + } + if ($0 >>> 0 < $9 >>> 0) { + $__bc$0$i = $9; + $__chash$1$i = $0; + } else { + $__bc$0$i = $9; + $__chash$1$i = ($0 >>> 0) % ($9 >>> 0) | 0; + } } else { - $93 = (HEAP32[$1 >> 2] | 0) == 0; - break; - } - } else $93 = 1; while (0); - $72 = HEAP32[$2 >> 2] | 0; - do if ($72) { - $75 = HEAP32[$72 + 12 >> 2] | 0; - if (($75 | 0) == (HEAP32[$72 + 16 >> 2] | 0)) $$0$i$i2$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$72 >> 2] | 0) + 36 >> 2] & 127]($72) | 0; else $$0$i$i2$i$i = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$75 >> 0] | 0) | 0; - if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii($$0$i$i2$i$i, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if ($93) break; else { - label = 34; - break; + $__bc$0$i = $1; + $__chash$1$i = $__chash$0$i; + } while (0); + $11 = HEAP32[(HEAP32[$this >> 2] | 0) + ($__chash$1$i << 2) >> 2] | 0; + if (!$11) { + $__value_$i$i$i = $this + 8 | 0; + HEAP32[HEAP32[$__h$i >> 2] >> 2] = HEAP32[$__value_$i$i$i >> 2]; + HEAP32[$__value_$i$i$i >> 2] = HEAP32[$__h$i >> 2]; + HEAP32[(HEAP32[$this >> 2] | 0) + ($__chash$1$i << 2) >> 2] = $__value_$i$i$i; + $16 = HEAP32[$__h$i >> 2] | 0; + $17 = HEAP32[$16 >> 2] | 0; + if (!$17) $__value_$i$i$i37$pre$phi$iZZZZ2D = $__h$i; else { + $18 = HEAP32[$17 + 4 >> 2] | 0; + $sub$i$i = $__bc$0$i + -1 | 0; + if ($sub$i$i & $__bc$0$i) if ($18 >>> 0 < $__bc$0$i >>> 0) $cond6$i$i = $18; else $cond6$i$i = ($18 >>> 0) % ($__bc$0$i >>> 0) | 0; else $cond6$i$i = $18 & $sub$i$i; + HEAP32[(HEAP32[$this >> 2] | 0) + ($cond6$i$i << 2) >> 2] = $16; + $__value_$i$i$i37$pre$phi$iZZZZ2D = $__h$i; + } } else { - HEAP32[$2 >> 2] = 0; - label = 32; - break; + HEAP32[HEAP32[$__h$i >> 2] >> 2] = HEAP32[$11 >> 2]; + HEAP32[$11 >> 2] = HEAP32[$__h$i >> 2]; + $__value_$i$i$i37$pre$phi$iZZZZ2D = $__h$i; } - } else label = 32; while (0); - if ((label | 0) == 32 ? $93 : 0) label = 34; - if ((label | 0) == 34) HEAP32[$5 >> 2] = HEAP32[$5 >> 2] | 2; - $$sroa$0$0$copyload = HEAP32[$1 >> 2] | 0; - __ZNSt3__26localeD2Ev($10); - $89 = HEAP32[$8 >> 2] | 0; - HEAP32[$8 >> 2] = 0; - if ($89 | 0) FUNCTION_TABLE_vi[HEAP32[$8 + 4 >> 2] & 255]($89); + $23 = HEAP32[$__value_$i$i$i37$pre$phi$iZZZZ2D >> 2] | 0; + HEAP32[$__value_$i$i$i88$i >> 2] = (HEAP32[$__value_$i$i$i88$i >> 2] | 0) + 1; + HEAP32[$__value_$i$i$i37$pre$phi$iZZZZ2D >> 2] = 0; + $__nd$1$i = $23; + } STACKTOP = sp; - return $$sroa$0$0$copyload | 0; + return $__nd$1$i + 16 | 0; } -function _pass2_fs_dither($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $$0184212 = 0, $$0185211 = 0, $$0186210 = 0, $$0187209 = 0, $$0188208 = 0, $$0189$lcssa = 0, $$0189207 = 0, $$0190$lcssa = 0, $$0190206 = 0, $$0191$lcssa = 0, $$0191205 = 0, $$0192204 = 0, $$0193217 = 0, $$0194 = 0, $$0195 = 0, $$0196 = 0, $$0197 = 0, $$0199 = 0, $$0213 = 0, $$1$lcssa = 0, $$1198202 = 0, $$1200201 = 0, $$1203 = 0, $102 = 0, $106 = 0, $11 = 0, $110 = 0, $13 = 0, $15 = 0, $16 = 0, $18 = 0, $20 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $28 = 0, $30 = 0, $32 = 0, $40 = 0, $41 = 0, $42 = 0, $5 = 0, $7 = 0, $80 = 0, $83 = 0, $86 = 0, $87 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $96 = 0, $97 = 0, $storemerge = 0, $$1203$looptemp = 0; - $5 = HEAP32[$0 + 484 >> 2] | 0; - $7 = HEAP32[$5 + 24 >> 2] | 0; - $9 = HEAP32[$0 + 112 >> 2] | 0; - $11 = HEAP32[$0 + 336 >> 2] | 0; - $13 = HEAP32[$5 + 40 >> 2] | 0; - $15 = HEAP32[$0 + 136 >> 2] | 0; - $16 = HEAP32[$15 >> 2] | 0; - $18 = HEAP32[$15 + 4 >> 2] | 0; - $20 = HEAP32[$15 + 8 >> 2] | 0; - if (($3 | 0) <= 0) return; - $22 = $5 + 36 | 0; - $23 = $5 + 32 | 0; - $24 = ($9 | 0) == 0; - $25 = $9 + -1 | 0; - $26 = $25 * 3 | 0; - $28 = ($9 * 3 | 0) + 3 | 0; - $$0193217 = 0; - do { - $30 = HEAP32[$1 + ($$0193217 << 2) >> 2] | 0; - $32 = HEAP32[$2 + ($$0193217 << 2) >> 2] | 0; - if (!(HEAP32[$22 >> 2] | 0)) { - $$0194 = 3; - $$0195 = 1; - $$0196 = HEAP32[$23 >> 2] | 0; - $$0197 = $32; - $$0199 = $30; - $storemerge = 1; - } else { - $$0194 = -3; - $$0195 = -1; - $$0196 = (HEAP32[$23 >> 2] | 0) + ($28 << 1) | 0; - $$0197 = $32 + $25 | 0; - $$0199 = $30 + $26 | 0; - $storemerge = 0; - } - HEAP32[$22 >> 2] = $storemerge; - if ($24) { - $$0189$lcssa = 0; - $$0190$lcssa = 0; - $$0191$lcssa = 0; - $$1$lcssa = $$0196; - } else { - $40 = $$0194 + 1 | 0; - $41 = $$0194 + 2 | 0; - $42 = Math_imul($9, $$0194) | 0; - $$0184212 = 0; - $$0185211 = 0; - $$0186210 = 0; - $$0187209 = 0; - $$0188208 = 0; - $$0189207 = 0; - $$0190206 = 0; - $$0191205 = 0; - $$0192204 = $9; - $$0213 = 0; - $$1198202 = $$0197; - $$1200201 = $$0199; - $$1203 = $$0196; - while (1) { - $$1203$looptemp = $$1203; - $$1203 = $$1203 + ($$0194 << 1) | 0; - $80 = HEAPU8[$11 + ((HEAP32[$13 + ($$0213 + 8 + (HEAP16[$$1203 >> 1] | 0) >> 4 << 2) >> 2] | 0) + (HEAPU8[$$1200201 >> 0] | 0)) >> 0] | 0; - $83 = HEAPU8[$11 + ((HEAP32[$13 + ($$0184212 + 8 + (HEAP16[$$1203$looptemp + ($40 << 1) >> 1] | 0) >> 4 << 2) >> 2] | 0) + (HEAPU8[$$1200201 + 1 >> 0] | 0)) >> 0] | 0; - $86 = HEAPU8[$11 + ((HEAP32[$13 + ($$0185211 + 8 + (HEAP16[$$1203$looptemp + ($41 << 1) >> 1] | 0) >> 4 << 2) >> 2] | 0) + (HEAPU8[$$1200201 + 2 >> 0] | 0)) >> 0] | 0; - $87 = $80 >>> 3; - $90 = $83 >>> 2; - $91 = $86 >>> 3; - $92 = (HEAP32[$7 + ($87 << 2) >> 2] | 0) + ($90 << 6) + ($91 << 1) | 0; - $93 = HEAP16[$92 >> 1] | 0; - if (!($93 << 16 >> 16)) { - _fill_inverse_cmap($0, $87, $90, $91); - $96 = HEAP16[$92 >> 1] | 0; - } else $96 = $93; - $97 = ($96 & 65535) + -1 | 0; - HEAP8[$$1198202 >> 0] = $97; - $102 = $80 - (HEAPU8[$16 + $97 >> 0] | 0) | 0; - $106 = $83 - (HEAPU8[$18 + $97 >> 0] | 0) | 0; - $110 = $86 - (HEAPU8[$20 + $97 >> 0] | 0) | 0; - HEAP16[$$1203$looptemp >> 1] = ($102 * 3 | 0) + $$0189207; - $$0189207 = ($102 * 5 | 0) + $$0186210 | 0; - HEAP16[$$1203$looptemp + 2 >> 1] = ($106 * 3 | 0) + $$0190206; - $$0190206 = ($106 * 5 | 0) + $$0187209 | 0; - HEAP16[$$1203$looptemp + 4 >> 1] = ($110 * 3 | 0) + $$0191205; - $$0191205 = ($110 * 5 | 0) + $$0188208 | 0; - $$0192204 = $$0192204 + -1 | 0; - if (!$$0192204) break; else { - $$0184212 = $106 * 7 | 0; - $$0185211 = $110 * 7 | 0; - $$0186210 = $102; - $$0187209 = $106; - $$0188208 = $110; - $$0213 = $102 * 7 | 0; - $$1198202 = $$1198202 + $$0195 | 0; - $$1200201 = $$1200201 + $$0194 | 0; - } - } - $$0189$lcssa = $$0189207; - $$0190$lcssa = $$0190206; - $$0191$lcssa = $$0191205; - $$1$lcssa = $$0196 + ($42 << 1) | 0; - } - HEAP16[$$1$lcssa >> 1] = $$0189$lcssa; - HEAP16[$$1$lcssa + 2 >> 1] = $$0190$lcssa; - HEAP16[$$1$lcssa + 4 >> 1] = $$0191$lcssa; - $$0193217 = $$0193217 + 1 | 0; - } while (($$0193217 | 0) != ($3 | 0)); - return; -} - -function _jpeg_idct_5x10($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $$0196207 = 0, $$0198206 = 0, $$0199205 = 0, $$0208 = 0, $$1197203 = 0, $$1204 = 0, $131 = 0, $134 = 0, $137 = 0, $139 = 0, $141 = 0, $143 = 0, $144 = 0, $146 = 0, $147 = 0, $148 = 0, $15 = 0, $150 = 0, $152 = 0, $154 = 0, $156 = 0, $158 = 0, $160 = 0, $21 = 0, $23 = 0, $25 = 0, $28 = 0, $34 = 0, $40 = 0, $42 = 0, $44 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $56 = 0, $62 = 0, $68 = 0, $7 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $80 = 0, $83 = 0, $86 = 0, $87 = 0, $90 = 0, $93 = 0, $96 = 0, $99 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 208 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(208); - $5 = sp; - $7 = HEAP32[$0 + 336 >> 2] | 0; - $$0196207 = $5; - $$0198206 = HEAP32[$1 + 84 >> 2] | 0; - $$0199205 = $2; - $$0208 = 0; - while (1) { - $15 = Math_imul(HEAP16[$$0199205 >> 1] << 13, HEAP32[$$0198206 >> 2] | 0) | 0 | 1024; - $21 = Math_imul(HEAP32[$$0198206 + 128 >> 2] | 0, HEAP16[$$0199205 + 64 >> 1] | 0) | 0; - $23 = ($21 * 9373 | 0) + $15 | 0; - $25 = (Math_imul($21, -3580) | 0) + $15 | 0; - $28 = (Math_imul($21, -11586) | 0) + $15 >> 11; - $34 = Math_imul(HEAP32[$$0198206 + 64 >> 2] | 0, HEAP16[$$0199205 + 32 >> 1] | 0) | 0; - $40 = Math_imul(HEAP32[$$0198206 + 192 >> 2] | 0, HEAP16[$$0199205 + 96 >> 1] | 0) | 0; - $42 = ($40 + $34 | 0) * 6810 | 0; - $44 = $42 + ($34 * 4209 | 0) | 0; - $46 = $42 + (Math_imul($40, -17828) | 0) | 0; - $47 = $44 + $23 | 0; - $48 = $23 - $44 | 0; - $49 = $46 + $25 | 0; - $50 = $25 - $46 | 0; - $56 = Math_imul(HEAP32[$$0198206 + 32 >> 2] | 0, HEAP16[$$0199205 + 16 >> 1] | 0) | 0; - $62 = Math_imul(HEAP32[$$0198206 + 96 >> 2] | 0, HEAP16[$$0199205 + 48 >> 1] | 0) | 0; - $68 = Math_imul(HEAP32[$$0198206 + 160 >> 2] | 0, HEAP16[$$0199205 + 80 >> 1] | 0) | 0; - $74 = Math_imul(HEAP32[$$0198206 + 224 >> 2] | 0, HEAP16[$$0199205 + 112 >> 1] | 0) | 0; - $75 = $74 + $62 | 0; - $76 = $62 - $74 | 0; - $77 = $76 * 2531 | 0; - $78 = $68 << 13; - $79 = $75 * 7791 | 0; - $80 = $77 + $78 | 0; - $83 = $79 + ($56 * 11443 | 0) + $80 | 0; - $86 = ($56 * 1812 | 0) - $79 + $80 | 0; - $87 = $75 * 4815 | 0; - $90 = $78 - $77 - ($76 << 12) | 0; - $93 = $56 - $68 - $76 << 2; - $96 = ($56 * 10323 | 0) - $87 - $90 | 0; - $99 = $90 + (($56 * 5260 | 0) - $87) | 0; - HEAP32[$$0196207 >> 2] = $83 + $47 >> 11; - HEAP32[$$0196207 + 180 >> 2] = $47 - $83 >> 11; - HEAP32[$$0196207 + 20 >> 2] = $96 + $49 >> 11; - HEAP32[$$0196207 + 160 >> 2] = $49 - $96 >> 11; - HEAP32[$$0196207 + 40 >> 2] = $93 + $28; - HEAP32[$$0196207 + 140 >> 2] = $28 - $93; - HEAP32[$$0196207 + 60 >> 2] = $99 + $50 >> 11; - HEAP32[$$0196207 + 120 >> 2] = $50 - $99 >> 11; - HEAP32[$$0196207 + 80 >> 2] = $86 + $48 >> 11; - HEAP32[$$0196207 + 100 >> 2] = $48 - $86 >> 11; - $$0208 = $$0208 + 1 | 0; - if (($$0208 | 0) == 5) break; else { - $$0196207 = $$0196207 + 4 | 0; - $$0198206 = $$0198206 + 4 | 0; - $$0199205 = $$0199205 + 2 | 0; - } - } - $131 = $7 + -384 | 0; - $$1197203 = $5; - $$1204 = 0; - while (1) { - $134 = (HEAP32[$3 + ($$1204 << 2) >> 2] | 0) + $4 | 0; - $137 = (HEAP32[$$1197203 >> 2] << 13) + 134348800 | 0; - $139 = HEAP32[$$1197203 + 8 >> 2] | 0; - $141 = HEAP32[$$1197203 + 16 >> 2] | 0; - $143 = ($141 + $139 | 0) * 6476 | 0; - $144 = $139 - $141 | 0; - $146 = ($144 * 2896 | 0) + $137 | 0; - $147 = $146 + $143 | 0; - $148 = $146 - $143 | 0; - $150 = (Math_imul($144, -11584) | 0) + $137 | 0; - $152 = HEAP32[$$1197203 + 4 >> 2] | 0; - $154 = HEAP32[$$1197203 + 12 >> 2] | 0; - $156 = ($154 + $152 | 0) * 6810 | 0; - $158 = $156 + ($152 * 4209 | 0) | 0; - $160 = $156 + (Math_imul($154, -17828) | 0) | 0; - HEAP8[$134 >> 0] = HEAP8[$131 + (($158 + $147 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$134 + 4 >> 0] = HEAP8[$131 + (($147 - $158 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$134 + 1 >> 0] = HEAP8[$131 + (($160 + $148 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$134 + 3 >> 0] = HEAP8[$131 + (($148 - $160 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$134 + 2 >> 0] = HEAP8[$131 + ($150 >>> 18 & 1023) >> 0] | 0; - $$1204 = $$1204 + 1 | 0; - if (($$1204 | 0) == 10) break; else $$1197203 = $$1197203 + 20 | 0; - } - STACKTOP = sp; - return; -} - -function _jpeg_idct_10x5($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $$0196205 = 0, $$0198204 = 0, $$0199203 = 0, $$0206 = 0, $$1197201 = 0, $$1202 = 0, $100 = 0, $102 = 0, $104 = 0, $107 = 0, $109 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $117 = 0, $120 = 0, $121 = 0, $124 = 0, $127 = 0, $130 = 0, $133 = 0, $15 = 0, $21 = 0, $27 = 0, $29 = 0, $30 = 0, $32 = 0, $33 = 0, $34 = 0, $36 = 0, $42 = 0, $48 = 0, $5 = 0, $50 = 0, $52 = 0, $54 = 0, $7 = 0, $72 = 0, $75 = 0, $78 = 0, $80 = 0, $82 = 0, $84 = 0, $86 = 0, $88 = 0, $90 = 0, $92 = 0, $94 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 160 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(160); - $5 = sp; - $7 = HEAP32[$0 + 336 >> 2] | 0; - $$0196205 = $5; - $$0198204 = HEAP32[$1 + 84 >> 2] | 0; - $$0199203 = $2; - $$0206 = 0; - while (1) { - $15 = Math_imul(HEAP16[$$0199203 >> 1] << 13, HEAP32[$$0198204 >> 2] | 0) | 0 | 1024; - $21 = Math_imul(HEAP32[$$0198204 + 64 >> 2] | 0, HEAP16[$$0199203 + 32 >> 1] | 0) | 0; - $27 = Math_imul(HEAP32[$$0198204 + 128 >> 2] | 0, HEAP16[$$0199203 + 64 >> 1] | 0) | 0; - $29 = ($27 + $21 | 0) * 6476 | 0; - $30 = $21 - $27 | 0; - $32 = ($30 * 2896 | 0) + $15 | 0; - $33 = $32 + $29 | 0; - $34 = $32 - $29 | 0; - $36 = (Math_imul($30, -11584) | 0) + $15 | 0; - $42 = Math_imul(HEAP32[$$0198204 + 32 >> 2] | 0, HEAP16[$$0199203 + 16 >> 1] | 0) | 0; - $48 = Math_imul(HEAP32[$$0198204 + 96 >> 2] | 0, HEAP16[$$0199203 + 48 >> 1] | 0) | 0; - $50 = ($48 + $42 | 0) * 6810 | 0; - $52 = $50 + ($42 * 4209 | 0) | 0; - $54 = $50 + (Math_imul($48, -17828) | 0) | 0; - HEAP32[$$0196205 >> 2] = $52 + $33 >> 11; - HEAP32[$$0196205 + 128 >> 2] = $33 - $52 >> 11; - HEAP32[$$0196205 + 32 >> 2] = $54 + $34 >> 11; - HEAP32[$$0196205 + 96 >> 2] = $34 - $54 >> 11; - HEAP32[$$0196205 + 64 >> 2] = $36 >> 11; - $$0206 = $$0206 + 1 | 0; - if (($$0206 | 0) == 8) break; else { - $$0196205 = $$0196205 + 4 | 0; - $$0198204 = $$0198204 + 4 | 0; - $$0199203 = $$0199203 + 2 | 0; - } - } - $72 = $7 + -384 | 0; - $$1197201 = $5; - $$1202 = 0; - while (1) { - $75 = (HEAP32[$3 + ($$1202 << 2) >> 2] | 0) + $4 | 0; - $78 = (HEAP32[$$1197201 >> 2] << 13) + 134348800 | 0; - $80 = HEAP32[$$1197201 + 16 >> 2] | 0; - $82 = $78 + ($80 * 9373 | 0) | 0; - $84 = $78 + (Math_imul($80, -3580) | 0) | 0; - $86 = $78 + (Math_imul($80, -11586) | 0) | 0; - $88 = HEAP32[$$1197201 + 8 >> 2] | 0; - $90 = HEAP32[$$1197201 + 24 >> 2] | 0; - $92 = ($90 + $88 | 0) * 6810 | 0; - $94 = $92 + ($88 * 4209 | 0) | 0; - $96 = $92 + (Math_imul($90, -17828) | 0) | 0; - $97 = $94 + $82 | 0; - $98 = $82 - $94 | 0; - $99 = $96 + $84 | 0; - $100 = $84 - $96 | 0; - $102 = HEAP32[$$1197201 + 4 >> 2] | 0; - $104 = HEAP32[$$1197201 + 12 >> 2] | 0; - $107 = HEAP32[$$1197201 + 20 >> 2] << 13; - $109 = HEAP32[$$1197201 + 28 >> 2] | 0; - $110 = $109 + $104 | 0; - $111 = $104 - $109 | 0; - $112 = $111 * 2531 | 0; - $113 = $110 * 7791 | 0; - $114 = $112 + $107 | 0; - $117 = $113 + ($102 * 11443 | 0) + $114 | 0; - $120 = ($102 * 1812 | 0) - $113 + $114 | 0; - $121 = $110 * 4815 | 0; - $124 = $107 - $112 - ($111 << 12) | 0; - $127 = ($102 - $111 << 13) - $107 | 0; - $130 = ($102 * 10323 | 0) - $121 - $124 | 0; - $133 = $124 + (($102 * 5260 | 0) - $121) | 0; - HEAP8[$75 >> 0] = HEAP8[$72 + (($117 + $97 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$75 + 9 >> 0] = HEAP8[$72 + (($97 - $117 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$75 + 1 >> 0] = HEAP8[$72 + (($130 + $99 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$75 + 8 >> 0] = HEAP8[$72 + (($99 - $130 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$75 + 2 >> 0] = HEAP8[$72 + (($127 + $86 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$75 + 7 >> 0] = HEAP8[$72 + (($86 - $127 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$75 + 3 >> 0] = HEAP8[$72 + (($133 + $100 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$75 + 6 >> 0] = HEAP8[$72 + (($100 - $133 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$75 + 4 >> 0] = HEAP8[$72 + (($120 + $98 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$75 + 5 >> 0] = HEAP8[$72 + (($98 - $120 | 0) >>> 18 & 1023) >> 0] | 0; - $$1202 = $$1202 + 1 | 0; - if (($$1202 | 0) == 5) break; else $$1197201 = $$1197201 + 32 | 0; - } - STACKTOP = sp; - return; -} - -function __ZN6vision20BinaryFeatureMatcherILi96EE5matchEPKNS_18BinaryFeatureStoreES4_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$0 = 0, $$055 = 0, $$056 = 0, $$057 = 0, $$058 = 0, $$061 = 0, $$2 = 0, $$260 = 0, $$263 = 0, $11 = 0, $12 = 0, $18 = 0, $21 = 0, $23 = 0, $27 = 0, $29 = 0, $3 = 0, $33 = 0, $34 = 0, $38 = 0, $41 = 0, $46 = 0, $47 = 0, $5 = 0, $58 = 0, $61 = 0, $66 = 0, $67 = 0, $79 = 0, $84 = 0, $88 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $3 = sp; - $5 = $0 + 4 | 0; - HEAP32[$5 >> 2] = HEAP32[$0 >> 2]; - do if ((__ZNK6vision18BinaryFeatureStore4sizeEv($1) | 0) != 0 ? (__ZNK6vision18BinaryFeatureStore4sizeEv($2) | 0) != 0 : 0) { - __ZNSt3__26vectorIN6vision7match_tENS_9allocatorIS2_EEE7reserveEm($0, __ZNK6vision18BinaryFeatureStore4sizeEv($1) | 0); - $11 = $0 + 8 | 0; - $12 = $0 + 12 | 0; - $$055 = 0; +function _h2v2_merged_upsample($cinfo, $input_buf, $in_row_group_ctr, $output_buf) { + $cinfo = $cinfo | 0; + $input_buf = $input_buf | 0; + $in_row_group_ctr = $in_row_group_ctr | 0; + $output_buf = $output_buf | 0; + var $0 = 0, $1 = 0, $10 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $2 = 0, $20 = 0, $23 = 0, $3 = 0, $4 = 0, $40 = 0, $43 = 0, $46 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $col$0126 = 0, $conv = 0, $conv13 = 0, $conv21 = 0, $conv32 = 0, $conv44 = 0, $conv56 = 0, $conv68 = 0, $conv69 = 0, $conv76 = 0, $conv86 = 0, $inptr00$0$lcssa = 0, $inptr00$0122 = 0, $inptr01$0$lcssa = 0, $inptr01$0123 = 0, $inptr1$0$lcssa = 0, $inptr1$0124 = 0, $inptr2$0$lcssa = 0, $inptr2$0125 = 0, $mul = 0, $outptr0$0$lcssa = 0, $outptr0$0120 = 0, $outptr1$0$lcssa = 0, $outptr1$0121 = 0, $output_width = 0, $scevgep = 0, $scevgep135 = 0, $shr = 0, $shr18 = 0, $shr74 = 0; + $0 = HEAP32[$cinfo + 476 >> 2] | 0; + $1 = HEAP32[$cinfo + 336 >> 2] | 0; + $2 = HEAP32[$0 + 16 >> 2] | 0; + $3 = HEAP32[$0 + 20 >> 2] | 0; + $4 = HEAP32[$0 + 24 >> 2] | 0; + $5 = HEAP32[$0 + 28 >> 2] | 0; + $6 = HEAP32[$input_buf >> 2] | 0; + $mul = $in_row_group_ctr << 1; + $7 = HEAP32[$6 + ($mul << 2) >> 2] | 0; + $8 = HEAP32[$6 + (($mul | 1) << 2) >> 2] | 0; + $10 = HEAP32[(HEAP32[$input_buf + 4 >> 2] | 0) + ($in_row_group_ctr << 2) >> 2] | 0; + $12 = HEAP32[(HEAP32[$input_buf + 8 >> 2] | 0) + ($in_row_group_ctr << 2) >> 2] | 0; + $13 = HEAP32[$output_buf >> 2] | 0; + $14 = HEAP32[$output_buf + 4 >> 2] | 0; + $output_width = $cinfo + 112 | 0; + $15 = HEAP32[$output_width >> 2] | 0; + $shr = $15 >>> 1; + if (!$shr) { + $40 = $15; + $inptr00$0$lcssa = $7; + $inptr01$0$lcssa = $8; + $inptr1$0$lcssa = $10; + $inptr2$0$lcssa = $12; + $outptr0$0$lcssa = $13; + $outptr1$0$lcssa = $14; + } else { + $scevgep = $10 + $shr | 0; + $16 = $15 & -2; + $17 = $shr * 6 | 0; + $scevgep135 = $8 + $16 | 0; + $col$0126 = $shr; + $inptr00$0122 = $7; + $inptr01$0123 = $8; + $inptr1$0124 = $10; + $inptr2$0125 = $12; + $outptr0$0120 = $13; + $outptr1$0121 = $14; while (1) { - if ($$055 >>> 0 >= (__ZNK6vision18BinaryFeatureStore4sizeEv($1) | 0) >>> 0) break; - $21 = __ZNK6vision18BinaryFeatureStore7featureEm($1, $$055) | 0; - $23 = (__ZNK6vision18BinaryFeatureStore5pointEm($1, $$055) | 0) + 16 | 0; - $$056 = 0; - $$057 = -1; - $$058 = 2147483647; - $$061 = -1; - while (1) { - if ($$056 >>> 0 >= (__ZNK6vision18BinaryFeatureStore4sizeEv($2) | 0) >>> 0) break; - $27 = HEAP8[$23 >> 0] | 0; - $29 = (__ZNK6vision18BinaryFeatureStore5pointEm($2, $$056) | 0) + 16 | 0; - if ($27 << 24 >> 24 == (HEAP8[$29 >> 0] | 0)) { - $33 = __ZN6vision15HammingDistanceILi96EEEjPKhS2_($21, __ZNK6vision18BinaryFeatureStore7featureEm($2, $$056) | 0) | 0; - $34 = $33 >>> 0 < $$057 >>> 0; - $$2 = $34 ? $33 : $$057; - $$260 = $34 ? $$056 : $$058; - $$263 = $34 ? $$057 : $33 >>> 0 < $$061 >>> 0 ? $33 : $$061; - } else { - $$2 = $$057; - $$260 = $$058; - $$263 = $$061; - } - $$056 = $$056 + 1 | 0; - $$057 = $$2; - $$058 = $$260; - $$061 = $$263; - } - do if (($$057 | 0) != -1) { - if (($$061 | 0) == -1) { - __ZN6vision7match_tC2Eii($3, $$055, $$058); - $38 = HEAP32[$5 >> 2] | 0; - if ($38 >>> 0 < (HEAP32[$11 >> 2] | 0) >>> 0) { - $41 = $3; - $46 = HEAP32[$41 + 4 >> 2] | 0; - $47 = $38; - HEAP32[$47 >> 2] = HEAP32[$41 >> 2]; - HEAP32[$47 + 4 >> 2] = $46; - HEAP32[$5 >> 2] = (HEAP32[$5 >> 2] | 0) + 8; - } else __ZNSt3__26vectorIN6vision7match_tENS_9allocatorIS2_EEE21__push_back_slow_pathIS2_EEvOT_($0, $3); - break; - } - if (+($$057 >>> 0) / +($$061 >>> 0) < +HEAPF32[$12 >> 2]) { - __ZN6vision7match_tC2Eii($3, $$055, $$058); - $58 = HEAP32[$5 >> 2] | 0; - if ($58 >>> 0 < (HEAP32[$11 >> 2] | 0) >>> 0) { - $61 = $3; - $66 = HEAP32[$61 + 4 >> 2] | 0; - $67 = $58; - HEAP32[$67 >> 2] = HEAP32[$61 >> 2]; - HEAP32[$67 + 4 >> 2] = $66; - HEAP32[$5 >> 2] = (HEAP32[$5 >> 2] | 0) + 8; - } else __ZNSt3__26vectorIN6vision7match_tENS_9allocatorIS2_EEE21__push_back_slow_pathIS2_EEvOT_($0, $3); - } - } while (0); - $$055 = $$055 + 1 | 0; - } - $18 = (HEAP32[$5 >> 2] | 0) - (HEAP32[$0 >> 2] | 0) >> 3; - if ($18 >>> 0 > (__ZNK6vision18BinaryFeatureStore4sizeEv($1) | 0) >>> 0) { - $79 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 35438) | 0, 35229) | 0, 39072) | 0, 112) | 0, 39079) | 0, 35498) | 0; - __ZNKSt3__28ios_base6getlocEv($3, $79 + (HEAP32[(HEAP32[$79 >> 2] | 0) + -12 >> 2] | 0) | 0); - $84 = __ZNKSt3__26locale9use_facetERNS0_2idE($3, 66512) | 0; - $88 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$84 >> 2] | 0) + 28 >> 2] & 127]($84, 10) | 0; - __ZNSt3__26localeD2Ev($3); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($79, $88) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($79) | 0; - _abort(); - } else { - $$0 = (HEAP32[$5 >> 2] | 0) - (HEAP32[$0 >> 2] | 0) >> 3; + $conv = HEAPU8[$inptr1$0124 >> 0] | 0; + $conv13 = HEAPU8[$inptr2$0125 >> 0] | 0; + $20 = HEAP32[$2 + ($conv13 << 2) >> 2] | 0; + $shr18 = (HEAP32[$4 + ($conv13 << 2) >> 2] | 0) + (HEAP32[$5 + ($conv << 2) >> 2] | 0) >> 16; + $23 = HEAP32[$3 + ($conv << 2) >> 2] | 0; + $conv21 = HEAPU8[$inptr00$0122 >> 0] | 0; + HEAP8[$outptr0$0120 >> 0] = HEAP8[$1 + ($20 + $conv21) >> 0] | 0; + HEAP8[$outptr0$0120 + 1 >> 0] = HEAP8[$1 + ($shr18 + $conv21) >> 0] | 0; + HEAP8[$outptr0$0120 + 2 >> 0] = HEAP8[$1 + ($23 + $conv21) >> 0] | 0; + $conv32 = HEAPU8[$inptr00$0122 + 1 >> 0] | 0; + HEAP8[$outptr0$0120 + 3 >> 0] = HEAP8[$1 + ($20 + $conv32) >> 0] | 0; + HEAP8[$outptr0$0120 + 4 >> 0] = HEAP8[$1 + ($shr18 + $conv32) >> 0] | 0; + HEAP8[$outptr0$0120 + 5 >> 0] = HEAP8[$1 + ($23 + $conv32) >> 0] | 0; + $conv44 = HEAPU8[$inptr01$0123 >> 0] | 0; + HEAP8[$outptr1$0121 >> 0] = HEAP8[$1 + ($20 + $conv44) >> 0] | 0; + HEAP8[$outptr1$0121 + 1 >> 0] = HEAP8[$1 + ($shr18 + $conv44) >> 0] | 0; + HEAP8[$outptr1$0121 + 2 >> 0] = HEAP8[$1 + ($23 + $conv44) >> 0] | 0; + $conv56 = HEAPU8[$inptr01$0123 + 1 >> 0] | 0; + HEAP8[$outptr1$0121 + 3 >> 0] = HEAP8[$1 + ($20 + $conv56) >> 0] | 0; + HEAP8[$outptr1$0121 + 4 >> 0] = HEAP8[$1 + ($shr18 + $conv56) >> 0] | 0; + HEAP8[$outptr1$0121 + 5 >> 0] = HEAP8[$1 + ($23 + $conv56) >> 0] | 0; + $col$0126 = $col$0126 + -1 | 0; + if (!$col$0126) break; else { + $inptr00$0122 = $inptr00$0122 + 2 | 0; + $inptr01$0123 = $inptr01$0123 + 2 | 0; + $inptr1$0124 = $inptr1$0124 + 1 | 0; + $inptr2$0125 = $inptr2$0125 + 1 | 0; + $outptr0$0120 = $outptr0$0120 + 6 | 0; + $outptr1$0121 = $outptr1$0121 + 6 | 0; + } + } + $40 = HEAP32[$output_width >> 2] | 0; + $inptr00$0$lcssa = $7 + $16 | 0; + $inptr01$0$lcssa = $scevgep135; + $inptr1$0$lcssa = $scevgep; + $inptr2$0$lcssa = $12 + $shr | 0; + $outptr0$0$lcssa = $13 + $17 | 0; + $outptr1$0$lcssa = $14 + $17 | 0; + } + if (!($40 & 1)) return; + $conv68 = HEAPU8[$inptr1$0$lcssa >> 0] | 0; + $conv69 = HEAPU8[$inptr2$0$lcssa >> 0] | 0; + $43 = HEAP32[$2 + ($conv69 << 2) >> 2] | 0; + $shr74 = (HEAP32[$4 + ($conv69 << 2) >> 2] | 0) + (HEAP32[$5 + ($conv68 << 2) >> 2] | 0) >> 16; + $46 = HEAP32[$3 + ($conv68 << 2) >> 2] | 0; + $conv76 = HEAPU8[$inptr00$0$lcssa >> 0] | 0; + HEAP8[$outptr0$0$lcssa >> 0] = HEAP8[$1 + ($43 + $conv76) >> 0] | 0; + HEAP8[$outptr0$0$lcssa + 1 >> 0] = HEAP8[$1 + ($shr74 + $conv76) >> 0] | 0; + HEAP8[$outptr0$0$lcssa + 2 >> 0] = HEAP8[$1 + ($46 + $conv76) >> 0] | 0; + $conv86 = HEAPU8[$inptr01$0$lcssa >> 0] | 0; + HEAP8[$outptr1$0$lcssa >> 0] = HEAP8[$1 + ($43 + $conv86) >> 0] | 0; + HEAP8[$outptr1$0$lcssa + 1 >> 0] = HEAP8[$1 + ($shr74 + $conv86) >> 0] | 0; + HEAP8[$outptr1$0$lcssa + 2 >> 0] = HEAP8[$1 + ($46 + $conv86) >> 0] | 0; + return; +} + +function _extractVisibleFeaturesHomography_176($xsize, $ysize, $trans1, $surfaceSet, $candidate, $candidate2) { + $xsize = $xsize | 0; + $ysize = $ysize | 0; + $trans1 = $trans1 | 0; + $surfaceSet = $surfaceSet | 0; + $candidate = $candidate | 0; + $candidate2 = $candidate2 | 0; + var $10 = 0.0, $11 = 0.0, $15 = 0, $18 = 0.0, $2 = 0, $21 = 0, $22 = 0.0, $4 = 0, $5 = 0, $7 = 0, $arrayidx71 = 0, $arrayidx76 = 0, $cmp40 = 0, $conv = 0.0, $conv49 = 0.0, $flag133 = 0, $flag163$sink = 0, $i$0 = 0, $j$0 = 0, $j$1 = 0, $k$0 = 0, $k$1 = 0, $l$0 = 0, $l$1 = 0, $l$2 = 0, $l$3 = 0, $l2$0 = 0, $l2$1 = 0, $l2$2 = 0, $l2$3 = 0, $num = 0, $sx = 0, $sy = 0, $trans2 = 0, $vararg_buffer = 0, $w = 0, $wpos = 0, label = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 80 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(80); + $vararg_buffer = sp + 48 | 0; + $trans2 = sp; + $sx = sp + 76 | 0; + $sy = sp + 72 | 0; + $wpos = sp + 64 | 0; + $w = sp + 56 | 0; + $num = $surfaceSet + 4 | 0; + $conv = +($xsize | 0); + $conv49 = +($ysize | 0); + $arrayidx71 = $wpos + 4 | 0; + $arrayidx76 = $w + 4 | 0; + $flag133 = $candidate2 + 4812 | 0; + $i$0 = 0; + $l$0 = 0; + $l2$0 = 0; + L1 : while (1) { + if (($i$0 | 0) >= (HEAP32[$num >> 2] | 0)) { + label = 28; break; } - } else $$0 = 0; while (0); - STACKTOP = sp; - return $$0 | 0; -} - -function __ZNK10__cxxabiv121__vmi_class_type_info16search_below_dstEPNS_19__dynamic_cast_infoEPKvib($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $$0 = 0, $$081 = 0, $$084 = 0, $$085$off0 = 0, $$1 = 0, $$182 = 0, $$186$off0 = 0, $$2 = 0, $$28392 = 0, $$28393 = 0, $13 = 0, $19 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $30 = 0, $47 = 0, $49 = 0, $61 = 0, $62 = 0, $63 = 0, $66 = 0, $69 = 0, $72 = 0, $79 = 0, $80 = 0, $89 = 0, label = 0; - L1 : do if (!(__ZL8is_equalPKSt9type_infoS1_b($0, HEAP32[$1 + 8 >> 2] | 0, $4) | 0)) { - if (!(__ZL8is_equalPKSt9type_infoS1_b($0, HEAP32[$1 >> 2] | 0, $4) | 0)) { - $61 = HEAP32[$0 + 12 >> 2] | 0; - $62 = $0 + 16 + ($61 << 3) | 0; - __ZNK10__cxxabiv122__base_class_type_info16search_below_dstEPNS_19__dynamic_cast_infoEPKvib($0 + 16 | 0, $1, $2, $3, $4); - $63 = $0 + 24 | 0; - if (($61 | 0) <= 1) break; - $66 = HEAP32[$0 + 8 >> 2] | 0; - if (($66 & 2 | 0) == 0 ? ($69 = $1 + 36 | 0, (HEAP32[$69 >> 2] | 0) != 1) : 0) { - if (!($66 & 1)) { - $89 = $1 + 54 | 0; - $$2 = $63; - while (1) { - if (HEAP8[$89 >> 0] | 0) break L1; - if ((HEAP32[$69 >> 2] | 0) == 1) break L1; - __ZNK10__cxxabiv122__base_class_type_info16search_below_dstEPNS_19__dynamic_cast_infoEPKvib($$2, $1, $2, $3, $4); - $$2 = $$2 + 8 | 0; - if ($$2 >>> 0 >= $62 >>> 0) break L1; - } - } - $79 = $1 + 24 | 0; - $80 = $1 + 54 | 0; - $$1 = $63; - while (1) { - if (HEAP8[$80 >> 0] | 0) break L1; - if ((HEAP32[$69 >> 2] | 0) == 1 ? (HEAP32[$79 >> 2] | 0) == 1 : 0) break L1; - __ZNK10__cxxabiv122__base_class_type_info16search_below_dstEPNS_19__dynamic_cast_infoEPKvib($$1, $1, $2, $3, $4); - $$1 = $$1 + 8 | 0; - if ($$1 >>> 0 >= $62 >>> 0) break L1; - } + $j$0 = 0; + while (1) { + if (($j$0 | 0) == 3) break; + $k$0 = 0; + while (1) { + if (($k$0 | 0) == 4) break; + HEAP32[$trans2 + ($j$0 << 4) + ($k$0 << 2) >> 2] = HEAP32[$trans1 + ($i$0 * 48 | 0) + ($j$0 << 4) + ($k$0 << 2) >> 2]; + $k$0 = $k$0 + 1 | 0; } - $72 = $1 + 54 | 0; - $$0 = $63; + $j$0 = $j$0 + 1 | 0; + } + $2 = HEAP32[(HEAP32[$surfaceSet >> 2] | 0) + ($i$0 * 112 | 0) + 4 >> 2] | 0; + $j$1 = 0; + $l$1 = $l$0; + $l2$1 = $l2$0; + while (1) { + if (($j$1 | 0) >= (HEAP32[$2 + 4 >> 2] | 0)) break; + $5 = $2; + $k$1 = 0; + $l$2 = $l$1; + $l2$2 = $l2$1; while (1) { - if (HEAP8[$72 >> 0] | 0) break L1; - __ZNK10__cxxabiv122__base_class_type_info16search_below_dstEPNS_19__dynamic_cast_infoEPKvib($$0, $1, $2, $3, $4); - $$0 = $$0 + 8 | 0; - if ($$0 >>> 0 >= $62 >>> 0) break L1; - } - } - if ((HEAP32[$1 + 16 >> 2] | 0) != ($2 | 0) ? ($13 = $1 + 20 | 0, (HEAP32[$13 >> 2] | 0) != ($2 | 0)) : 0) { - HEAP32[$1 + 32 >> 2] = $3; - $19 = $1 + 44 | 0; - if ((HEAP32[$19 >> 2] | 0) != 4) { - $25 = $0 + 16 + (HEAP32[$0 + 12 >> 2] << 3) | 0; - $26 = $1 + 52 | 0; - $27 = $1 + 53 | 0; - $28 = $1 + 54 | 0; - $29 = $0 + 8 | 0; - $30 = $1 + 24 | 0; - $$081 = 0; - $$084 = $0 + 16 | 0; - $$085$off0 = 0; - L33 : while (1) { - if ($$084 >>> 0 >= $25 >>> 0) { - label = 18; + $4 = HEAP32[$5 >> 2] | 0; + if (($k$1 | 0) >= (HEAP32[$4 + ($j$1 * 20 | 0) + 4 >> 2] | 0)) break; + $7 = HEAP32[$4 + ($j$1 * 20 | 0) >> 2] | 0; + $cmp40 = (_ar2MarkerCoord2ScreenCoord2(0, $trans2, +HEAPF32[$7 + ($k$1 * 20 | 0) + 8 >> 2], +HEAPF32[$7 + ($k$1 * 20 | 0) + 12 >> 2], $sx, $sy) | 0) < 0; + $10 = +HEAPF32[$sx >> 2]; + do if (!($cmp40 | $10 < 0.0) ? ($11 = +HEAPF32[$sy >> 2], !($11 >= $conv49) & (!($10 >= $conv) & !($11 < 0.0))) : 0) { + $15 = HEAP32[(HEAP32[HEAP32[(HEAP32[$surfaceSet >> 2] | 0) + ($i$0 * 112 | 0) + 4 >> 2] >> 2] | 0) + ($j$1 * 20 | 0) >> 2] | 0; + HEAP32[$wpos >> 2] = HEAP32[$15 + ($k$1 * 20 | 0) + 8 >> 2]; + HEAP32[$arrayidx71 >> 2] = HEAP32[$15 + ($k$1 * 20 | 0) + 12 >> 2]; + _ar2GetResolution(0, $trans2, $wpos, $w) | 0; + $18 = +HEAPF32[$arrayidx76 >> 2]; + $21 = HEAP32[HEAP32[(HEAP32[$surfaceSet >> 2] | 0) + ($i$0 * 112 | 0) + 4 >> 2] >> 2] | 0; + $22 = +HEAPF32[$21 + ($j$1 * 20 | 0) + 12 >> 2]; + if ($18 <= $22 ? $18 >= +HEAPF32[$21 + ($j$1 * 20 | 0) + 16 >> 2] : 0) { + if (($l$2 | 0) == 200) { + label = 18; + break L1; + } + HEAP32[$candidate + ($l$2 * 24 | 0) >> 2] = $i$0; + HEAP32[$candidate + ($l$2 * 24 | 0) + 4 >> 2] = $j$1; + HEAP32[$candidate + ($l$2 * 24 | 0) + 8 >> 2] = $k$1; + HEAP32[$candidate + ($l$2 * 24 | 0) + 16 >> 2] = HEAP32[$sx >> 2]; + HEAP32[$candidate + ($l$2 * 24 | 0) + 20 >> 2] = HEAP32[$sy >> 2]; + HEAP32[$candidate + ($l$2 * 24 | 0) + 12 >> 2] = 0; + $l$3 = $l$2 + 1 | 0; + $l2$3 = $l2$2; break; } - HEAP8[$26 >> 0] = 0; - HEAP8[$27 >> 0] = 0; - __ZNK10__cxxabiv122__base_class_type_info16search_above_dstEPNS_19__dynamic_cast_infoEPKvS4_ib($$084, $1, $2, $2, 1, $4); - if (HEAP8[$28 >> 0] | 0) { - label = 18; + if ($18 <= $22 * 2.0 ? $18 >= +HEAPF32[$21 + ($j$1 * 20 | 0) + 16 >> 2] * .5 : 0) if (($l2$2 | 0) == 200) { + HEAP32[$flag133 >> 2] = -1; + $l$3 = $l$2; + $l2$3 = 200; break; - } - do if (HEAP8[$27 >> 0] | 0) { - if (!(HEAP8[$26 >> 0] | 0)) if (!(HEAP32[$29 >> 2] & 1)) { - $$28393 = $$081; - label = 19; - break L33; - } else { - $$182 = $$081; - $$186$off0 = 1; - break; - } - if ((HEAP32[$30 >> 2] | 0) == 1) { - $$28393 = 1; - label = 19; - break L33; - } - if (!(HEAP32[$29 >> 2] & 2)) { - $$28393 = 1; - label = 19; - break L33; - } else { - $$182 = 1; - $$186$off0 = 1; - } } else { - $$182 = $$081; - $$186$off0 = $$085$off0; - } while (0); - $$081 = $$182; - $$084 = $$084 + 8 | 0; - $$085$off0 = $$186$off0; - } - if ((label | 0) == 18) if ($$085$off0) { - $$28393 = $$081; - label = 19; + HEAP32[$candidate2 + ($l2$2 * 24 | 0) >> 2] = $i$0; + HEAP32[$candidate2 + ($l2$2 * 24 | 0) + 4 >> 2] = $j$1; + HEAP32[$candidate2 + ($l2$2 * 24 | 0) + 8 >> 2] = $k$1; + HEAP32[$candidate2 + ($l2$2 * 24 | 0) + 16 >> 2] = HEAP32[$sx >> 2]; + HEAP32[$candidate2 + ($l2$2 * 24 | 0) + 20 >> 2] = HEAP32[$sy >> 2]; + HEAP32[$candidate2 + ($l2$2 * 24 | 0) + 12 >> 2] = 0; + $l$3 = $l$2; + $l2$3 = $l2$2 + 1 | 0; + break; + } else { + $l$3 = $l$2; + $l2$3 = $l2$2; + } } else { - $$28392 = $$081; - $47 = 4; - } - if ((label | 0) == 19) { - $$28392 = $$28393; - $47 = 3; - } - HEAP32[$19 >> 2] = $47; - if ($$28392 & 1) break; + $l$3 = $l$2; + $l2$3 = $l2$2; + } while (0); + $5 = HEAP32[(HEAP32[$surfaceSet >> 2] | 0) + ($i$0 * 112 | 0) + 4 >> 2] | 0; + $k$1 = $k$1 + 1 | 0; + $l$2 = $l$3; + $l2$2 = $l2$3; } - HEAP32[$13 >> 2] = $2; - $49 = $1 + 40 | 0; - HEAP32[$49 >> 2] = (HEAP32[$49 >> 2] | 0) + 1; - if ((HEAP32[$1 + 36 >> 2] | 0) != 1) break; - if ((HEAP32[$1 + 24 >> 2] | 0) != 2) break; - HEAP8[$1 + 54 >> 0] = 1; - break; + $2 = $5; + $j$1 = $j$1 + 1 | 0; + $l$1 = $l$2; + $l2$1 = $l2$2; } - if (($3 | 0) == 1) HEAP32[$1 + 32 >> 2] = 1; - } else __ZNK10__cxxabiv117__class_type_info29process_static_type_below_dstEPNS_19__dynamic_cast_infoEPKvi(0, $1, $2, $3); while (0); + $i$0 = $i$0 + 1 | 0; + $l$0 = $l$1; + $l2$0 = $l2$1; + } + if ((label | 0) == 18) { + _arLog(0, 3, 46804, $vararg_buffer); + $flag163$sink = $candidate + 4812 | 0; + } else if ((label | 0) == 28) { + HEAP32[$candidate + ($l$0 * 24 | 0) + 12 >> 2] = -1; + $flag163$sink = $candidate2 + ($l2$0 * 24 | 0) + 12 | 0; + } + HEAP32[$flag163$sink >> 2] = -1; + STACKTOP = sp; return; } -function _jpeg_consume_input($0) { - $0 = $0 | 0; - var $$0 = 0, $$pre$phiZ2D = 0, $$sink22 = 0, $$sink24 = 0, $1 = 0, $13 = 0, $16 = 0, $18 = 0, $19 = 0, $2 = 0, $21 = 0, $23 = 0, $24 = 0, $3 = 0, $42 = 0, $43 = 0, $50 = 0, $61 = 0, $62 = 0, $72 = 0, $93 = 0; - $1 = $0 + 20 | 0; - $2 = HEAP32[$1 >> 2] | 0; - switch ($2 | 0) { - case 200: - { - $3 = $0 + 460 | 0; - FUNCTION_TABLE_vi[HEAP32[(HEAP32[$3 >> 2] | 0) + 4 >> 2] & 255]($0); - FUNCTION_TABLE_vi[HEAP32[(HEAP32[$0 + 24 >> 2] | 0) + 8 >> 2] & 255]($0); - HEAP32[$1 >> 2] = 201; - $$pre$phiZ2D = $3; +function __ZNSt3__2L13utf8_to_utf16EPKhS1_RS1_PtS3_RS3_mNS_12codecvt_modeE($frm, $frm_end, $frm_nxt, $to, $to_end, $to_nxt, $Maxcode, $mode) { + $frm = $frm | 0; + $frm_end = $frm_end | 0; + $frm_nxt = $frm_nxt | 0; + $to = $to | 0; + $to_end = $to_end | 0; + $to_nxt = $to_nxt | 0; + $Maxcode = $Maxcode | 0; + $mode = $mode | 0; + var $0 = 0, $14 = 0, $15 = 0, $16 = 0, $4 = 0, $5 = 0, $6 = 0, $8 = 0, $9 = 0, $add$ptr202$sink = 0, $and161 = 0, $and167 = 0, $and171 = 0, $conv14 = 0, $conv146 = 0, $conv149 = 0, $conv163 = 0, $conv36 = 0, $conv82 = 0, $incdec$ptr201 = 0, $or = 0, $or97 = 0, $retval$8 = 0, $sub$ptr$lhs$cast = 0, $sub$ptr$lhs$cast154 = 0, $sub$ptr$lhs$cast29$pre$phiZZZZ2D = 0; + HEAP32[$frm_nxt >> 2] = $frm; + HEAP32[$to_nxt >> 2] = $to; + if ($mode & 4) { + $0 = HEAP32[$frm_nxt >> 2] | 0; + $sub$ptr$lhs$cast = $frm_end; + if (((($sub$ptr$lhs$cast - $0 | 0) > 2 ? (HEAP8[$0 >> 0] | 0) == -17 : 0) ? (HEAP8[$0 + 1 >> 0] | 0) == -69 : 0) ? (HEAP8[$0 + 2 >> 0] | 0) == -65 : 0) { + HEAP32[$frm_nxt >> 2] = $0 + 3; + $sub$ptr$lhs$cast29$pre$phiZZZZ2D = $sub$ptr$lhs$cast; + } else $sub$ptr$lhs$cast29$pre$phiZZZZ2D = $sub$ptr$lhs$cast; + } else $sub$ptr$lhs$cast29$pre$phiZZZZ2D = $frm_end; + $sub$ptr$lhs$cast154 = $to_end; + L9 : while (1) { + $4 = HEAP32[$frm_nxt >> 2] | 0; + if ($4 >>> 0 >= $frm_end >>> 0) { + $retval$8 = 0; break; } - case 201: - { - $$pre$phiZ2D = $0 + 460 | 0; + $5 = HEAP32[$to_nxt >> 2] | 0; + if ($5 >>> 0 >= $to_end >>> 0) { + $retval$8 = 1; break; } - case 210: - case 208: - case 207: - case 206: - case 205: - case 204: - case 203: - { - $$0 = FUNCTION_TABLE_ii[HEAP32[HEAP32[$0 + 460 >> 2] >> 2] & 127]($0) | 0; - return $$0 | 0; - } - case 202: - { - $$0 = 1; - return $$0 | 0; - } - default: - { - $93 = HEAP32[$0 >> 2] | 0; - HEAP32[$93 + 20 >> 2] = 21; - HEAP32[$93 + 24 >> 2] = $2; - FUNCTION_TABLE_vi[HEAP32[HEAP32[$0 >> 2] >> 2] & 255]($0); - $$0 = 0; - return $$0 | 0; - } - } - $13 = FUNCTION_TABLE_ii[HEAP32[HEAP32[$$pre$phiZ2D >> 2] >> 2] & 127]($0) | 0; - if (($13 | 0) != 1) { - $$0 = $13; - return $$0 | 0; - } - $16 = HEAP32[$0 + 36 >> 2] | 0; - L13 : do switch ($16 | 0) { - case 1: - { - $$sink22 = $16; - $$sink24 = $16; + $6 = HEAP8[$4 >> 0] | 0; + $conv14 = $6 & 255; + if ($conv14 >>> 0 > $Maxcode >>> 0) { + $retval$8 = 2; break; } - case 3: - { - $18 = HEAP32[$0 + 216 >> 2] | 0; - $19 = HEAP32[$18 >> 2] | 0; - $21 = HEAP32[$18 + 88 >> 2] | 0; - $23 = HEAP32[$18 + 176 >> 2] | 0; - $24 = ($19 | 0) == 1; - if (!($24 & ($21 | 0) == 2 & ($23 | 0) == 3)) if (!($24 & ($21 | 0) == 34 & ($23 | 0) == 35)) if (!(($19 | 0) == 82 & ($21 | 0) == 71 & ($23 | 0) == 66)) if (!(($19 | 0) == 114 & ($21 | 0) == 103 & ($23 | 0) == 98)) if (!(HEAP32[$0 + 284 >> 2] | 0)) { - if (!(HEAP32[$0 + 296 >> 2] | 0)) { - $50 = HEAP32[$0 >> 2] | 0; - HEAP32[$50 + 24 >> 2] = $19; - HEAP32[$50 + 28 >> 2] = $21; - HEAP32[$50 + 32 >> 2] = $23; - HEAP32[$50 + 20 >> 2] = 113; - FUNCTION_TABLE_vii[HEAP32[$50 + 4 >> 2] & 255]($0, 1); - $$sink22 = 2; - $$sink24 = 3; - break L13; + do if ($6 << 24 >> 24 > -1) { + HEAP16[$5 >> 1] = $6 & 255; + $add$ptr202$sink = $4 + 1 | 0; + } else { + if (($6 & 255) < 194) { + $retval$8 = 2; + break L9; + } + if (($6 & 255) < 224) { + if (($sub$ptr$lhs$cast29$pre$phiZZZZ2D - $4 | 0) < 2) { + $retval$8 = 1; + break L9; } - $42 = HEAP8[$0 + 300 >> 0] | 0; - switch ($42 << 24 >> 24) { - case 0: + $conv36 = HEAPU8[$4 + 1 >> 0] | 0; + if (($conv36 & 192 | 0) != 128) { + $retval$8 = 2; + break L9; + } + $or = $conv36 & 63 | $conv14 << 6 & 1984; + if ($or >>> 0 > $Maxcode >>> 0) { + $retval$8 = 2; + break L9; + } + HEAP16[$5 >> 1] = $or; + $add$ptr202$sink = $4 + 2 | 0; + break; + } + if (($6 & 255) < 240) { + if (($sub$ptr$lhs$cast29$pre$phiZZZZ2D - $4 | 0) < 3) { + $retval$8 = 1; + break L9; + } + $8 = HEAP8[$4 + 1 >> 0] | 0; + $9 = HEAP8[$4 + 2 >> 0] | 0; + switch ($6 << 24 >> 24) { + case -32: { - $$sink22 = 2; - $$sink24 = 2; - break L13; + if (($8 & -32) << 24 >> 24 != -96) { + $retval$8 = 2; + break L9; + } break; } - case 1: + case -19: { - $$sink22 = 2; - $$sink24 = 3; - break L13; + if (($8 & -32) << 24 >> 24 != -128) { + $retval$8 = 2; + break L9; + } break; } default: - { - $43 = HEAP32[$0 >> 2] | 0; - HEAP32[$43 + 20 >> 2] = 116; - HEAP32[$43 + 24 >> 2] = $42 & 255; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$0 >> 2] | 0) + 4 >> 2] & 255]($0, -1); - $$sink22 = 2; - $$sink24 = 3; - break L13; + if (($8 & -64) << 24 >> 24 != -128) { + $retval$8 = 2; + break L9; } } - } else { - $$sink22 = 2; - $$sink24 = 3; - } else { - $$sink22 = 2; - $$sink24 = 6; - } else { - $$sink22 = 2; - $$sink24 = 2; - } else { - $$sink22 = 2; - $$sink24 = 7; - } else { - $$sink22 = 2; - $$sink24 = 3; + $conv82 = $9 & 255; + if (($conv82 & 192 | 0) != 128) { + $retval$8 = 2; + break L9; + } + $or97 = ($8 & 63) << 6 | $conv14 << 12 | $conv82 & 63; + if (($or97 & 65535) >>> 0 > $Maxcode >>> 0) { + $retval$8 = 2; + break L9; + } + HEAP16[$5 >> 1] = $or97; + $add$ptr202$sink = $4 + 3 | 0; + break; } - break; - } - case 4: - { - if (!(HEAP32[$0 + 296 >> 2] | 0)) { - $$sink22 = 4; - $$sink24 = 4; - } else { - $61 = HEAP8[$0 + 300 >> 0] | 0; - switch ($61 << 24 >> 24) { - case 0: - { - $$sink22 = 4; - $$sink24 = 4; - break L13; - break; - } - case 2: - { - $$sink22 = 4; - $$sink24 = 5; - break L13; - break; + if (($6 & 255) >= 245) { + $retval$8 = 2; + break L9; + } + if (($sub$ptr$lhs$cast29$pre$phiZZZZ2D - $4 | 0) < 4) { + $retval$8 = 1; + break L9; + } + $14 = HEAP8[$4 + 1 >> 0] | 0; + $15 = HEAP8[$4 + 2 >> 0] | 0; + $16 = HEAP8[$4 + 3 >> 0] | 0; + switch ($6 << 24 >> 24) { + case -16: + { + if (($14 + 112 & 255) >= 48) { + $retval$8 = 2; + break L9; } - default: - { - $62 = HEAP32[$0 >> 2] | 0; - HEAP32[$62 + 20 >> 2] = 116; - HEAP32[$62 + 24 >> 2] = $61 & 255; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$0 >> 2] | 0) + 4 >> 2] & 255]($0, -1); - $$sink22 = 4; - $$sink24 = 5; - break L13; + break; + } + case -12: + { + if (($14 & -16) << 24 >> 24 != -128) { + $retval$8 = 2; + break L9; } + break; + } + default: + if (($14 & -64) << 24 >> 24 != -128) { + $retval$8 = 2; + break L9; } } + $conv146 = $15 & 255; + if (($conv146 & 192 | 0) != 128) { + $retval$8 = 2; + break L9; + } + $conv149 = $16 & 255; + if (($conv149 & 192 | 0) != 128) { + $retval$8 = 2; + break L9; + } + if (($sub$ptr$lhs$cast154 - $5 | 0) < 4) { + $retval$8 = 1; + break L9; + } + $and161 = $conv14 & 7; + $conv163 = $14 & 255; + $and167 = $conv146 << 6; + $and171 = $conv149 & 63; + if (($conv163 << 12 & 258048 | $and161 << 18 | $and167 & 4032 | $and171) >>> 0 > $Maxcode >>> 0) { + $retval$8 = 2; + break L9; + } + HEAP16[$5 >> 1] = $conv163 << 2 & 60 | $conv146 >>> 4 & 3 | (($conv163 >>> 4 & 3 | $and161 << 2) << 6) + 16320 | 55296; + $incdec$ptr201 = $5 + 2 | 0; + HEAP32[$to_nxt >> 2] = $incdec$ptr201; + HEAP16[$incdec$ptr201 >> 1] = $and171 | $and167 & 960 | 56320; + $add$ptr202$sink = (HEAP32[$frm_nxt >> 2] | 0) + 4 | 0; + } while (0); + HEAP32[$frm_nxt >> 2] = $add$ptr202$sink; + HEAP32[$to_nxt >> 2] = (HEAP32[$to_nxt >> 2] | 0) + 2; + } + return $retval$8 | 0; +} + +function _start_pass_1_quant($cinfo, $is_pre_scan) { + $cinfo = $cinfo | 0; + $is_pre_scan = $is_pre_scan | 0; + var $0 = 0, $10 = 0, $12 = 0, $16 = 0, $22 = 0, $24 = 0, $27 = 0, $29 = 0, $8 = 0, $9 = 0, $call$i = 0, $call$i$i = 0, $color_quantize = 0, $cond$i$i = 0, $cquantize1 = 0, $i$011$i = 0, $i$025$i = 0, $i$041 = 0, $inc$i = 0, $j$016$i$i = 0, $j$023$i = 0, $k$015$i$i = 0, $mem$i = 0, $mem$i$i = 0, $mul = 0, $mul$i = 0, $mul$i$i = 0, $mul7$i$i = 0, $odither$1$i = 0, $out_color_components$i30 = 0, $out_color_components26$phi$trans$insert = 0, $out_color_components26$pre$phiZ2D = 0, $out_color_components5 = 0, $output_width$i = 0, $output_width$pre$phiZ2D = 0, $sub6$i$i = 0, label = 0; + $cquantize1 = $cinfo + 484 | 0; + $0 = HEAP32[$cquantize1 >> 2] | 0; + HEAP32[$cinfo + 136 >> 2] = HEAP32[$0 + 16 >> 2]; + HEAP32[$cinfo + 132 >> 2] = HEAP32[$0 + 20 >> 2]; + switch (HEAP32[$cinfo + 88 >> 2] | 0) { + case 0: + { + $color_quantize = $0 + 4 | 0; + if ((HEAP32[$cinfo + 120 >> 2] | 0) == 3) { + HEAP32[$color_quantize >> 2] = 9; + return; + } else { + HEAP32[$color_quantize >> 2] = 10; + return; + } break; } - default: + case 1: { - $$sink22 = 0; - $$sink24 = 0; - } - } while (0); - HEAP32[$0 + 40 >> 2] = $$sink24; - HEAP32[$0 + 44 >> 2] = $$sink22; - $72 = HEAP32[$0 + 428 >> 2] | 0; - HEAP32[$0 + 48 >> 2] = $72; - HEAP32[$0 + 52 >> 2] = $72; - HEAPF64[$0 + 56 >> 3] = 1.0; - HEAP32[$0 + 64 >> 2] = 0; - HEAP32[$0 + 68 >> 2] = 0; - HEAP32[$0 + 72 >> 2] = 0; - HEAP32[$0 + 76 >> 2] = 1; - HEAP32[$0 + 80 >> 2] = 1; - HEAP32[$0 + 84 >> 2] = 0; - HEAP32[$0 + 88 >> 2] = 2; - HEAP32[$0 + 92 >> 2] = 1; - HEAP32[$0 + 96 >> 2] = 256; - HEAP32[$0 + 136 >> 2] = 0; - HEAP32[$0 + 100 >> 2] = 0; - HEAP32[$0 + 104 >> 2] = 0; - HEAP32[$0 + 108 >> 2] = 0; - HEAP32[$1 >> 2] = 202; - $$0 = 1; - return $$0 | 0; -} - -function _consume_data($0) { - $0 = $0 | 0; - var $$071 = 0, $$072100 = 0, $$07386$us = 0, $$07483$us = 0, $$075105 = 0, $$07691 = 0, $$07896 = 0, $$084$us = 0, $$177$lcssa = 0, $$17785$us = 0, $$192 = 0, $$282$us = 0, $$sink = 0, $1 = 0, $10 = 0, $100 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $42 = 0, $44 = 0, $45 = 0, $47 = 0, $50 = 0, $60 = 0, $7 = 0, $70 = 0, $71 = 0, $73 = 0, $75 = 0, $76 = 0, $78 = 0, $8 = 0, $80 = 0, $82 = 0, $88 = 0, $99 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $1 = sp; - $2 = $0 + 452 | 0; - $3 = HEAP32[$2 >> 2] | 0; - $4 = $0 + 340 | 0; - if ((HEAP32[$4 >> 2] | 0) > 0) { - $7 = $0 + 4 | 0; - $8 = $0 + 148 | 0; - $$075105 = 0; - do { - $10 = HEAP32[$0 + 344 + ($$075105 << 2) >> 2] | 0; - $20 = HEAP32[$10 + 12 >> 2] | 0; - $21 = Math_imul($20, HEAP32[$8 >> 2] | 0) | 0; - $22 = FUNCTION_TABLE_iiiiii[HEAP32[(HEAP32[$7 >> 2] | 0) + 32 >> 2] & 31]($0, HEAP32[$3 + 72 + (HEAP32[$10 + 4 >> 2] << 2) >> 2] | 0, $21, $20, 1) | 0; - HEAP32[$1 + ($$075105 << 2) >> 2] = $22; - $$075105 = $$075105 + 1 | 0; - } while (($$075105 | 0) < (HEAP32[$4 >> 2] | 0)); - } - $27 = $3 + 24 | 0; - $28 = HEAP32[$27 >> 2] | 0; - $29 = $3 + 28 | 0; - $30 = HEAP32[$29 >> 2] | 0; - L6 : do if (($28 | 0) < ($30 | 0)) { - $32 = $3 + 20 | 0; - $33 = $0 + 360 | 0; - $34 = $0 + 468 | 0; - $35 = $3 + 32 | 0; - $$072100 = $28; - $37 = HEAP32[$32 >> 2] | 0; - $38 = HEAP32[$33 >> 2] | 0; - $99 = $30; - L8 : while (1) { - if ($37 >>> 0 < $38 >>> 0) { - $$07896 = $37; - while (1) { - $39 = HEAP32[$4 >> 2] | 0; - if (($39 | 0) > 0) { - $$07691 = 0; - $$192 = 0; - while (1) { - $42 = HEAP32[$0 + 344 + ($$192 << 2) >> 2] | 0; - $44 = HEAP32[$42 + 56 >> 2] | 0; - $45 = Math_imul($44, $$07896) | 0; - $47 = HEAP32[$42 + 60 >> 2] | 0; - if (($47 | 0) > 0 ? ($50 = HEAP32[$1 + ($$192 << 2) >> 2] | 0, ($44 | 0) > 0) : 0) { - $$07386$us = 0; - $$17785$us = $$07691; - while (1) { - $$07483$us = 0; - $$084$us = (HEAP32[$50 + ($$07386$us + $$072100 << 2) >> 2] | 0) + ($45 << 7) | 0; - $$282$us = $$17785$us; - while (1) { - HEAP32[$3 + 32 + ($$282$us << 2) >> 2] = $$084$us; - $$07483$us = $$07483$us + 1 | 0; - if (($$07483$us | 0) == ($44 | 0)) break; else { - $$084$us = $$084$us + 128 | 0; - $$282$us = $$282$us + 1 | 0; - } - } - $60 = $44 + $$17785$us | 0; - $$07386$us = $$07386$us + 1 | 0; - if (($$07386$us | 0) >= ($47 | 0)) { - $$177$lcssa = $60; - break; - } else $$17785$us = $60; - } - } else $$177$lcssa = $$07691; - $$192 = $$192 + 1 | 0; - if (($$192 | 0) >= ($39 | 0)) break; else $$07691 = $$177$lcssa; + $out_color_components5 = $cinfo + 120 | 0; + HEAP32[$0 + 4 >> 2] = (HEAP32[$out_color_components5 >> 2] | 0) == 3 ? 12 : 11; + HEAP32[$0 + 48 >> 2] = 0; + if (!(HEAP32[$0 + 28 >> 2] | 0)) _create_colorindex($cinfo); + if (HEAP32[$0 + 52 >> 2] | 0) return; + $8 = HEAP32[$cquantize1 >> 2] | 0; + $9 = HEAP32[$out_color_components5 >> 2] | 0; + if (($9 | 0) <= 0) return; + $mem$i$i = $cinfo + 4 | 0; + $29 = $9; + $i$025$i = 0; + while (1) { + $10 = HEAP32[$8 + 32 + ($i$025$i << 2) >> 2] | 0; + L22 : do if ($i$025$i) { + $j$023$i = 0; + while (1) { + if (($10 | 0) == (HEAP32[$8 + 32 + ($j$023$i << 2) >> 2] | 0)) break; + $inc$i = $j$023$i + 1 | 0; + if ($inc$i >>> 0 < $i$025$i >>> 0) $j$023$i = $inc$i; else { + label = 15; + break L22; } } - if (!(FUNCTION_TABLE_iii[HEAP32[(HEAP32[$34 >> 2] | 0) + 4 >> 2] & 127]($0, $35) | 0)) break L8; - $70 = $$07896 + 1 | 0; - $71 = HEAP32[$33 >> 2] | 0; - if ($70 >>> 0 < $71 >>> 0) $$07896 = $70; else break; - } - $100 = $71; - $75 = HEAP32[$29 >> 2] | 0; + $12 = HEAP32[$8 + 52 + ($j$023$i << 2) >> 2] | 0; + if ($12) { + $16 = $29; + $odither$1$i = $12; + } else label = 15; + } else label = 15; while (0); + if ((label | 0) == 15) { + label = 0; + $call$i$i = FUNCTION_TABLE_iiii[HEAP32[HEAP32[$mem$i$i >> 2] >> 2] & 63]($cinfo, 1, 1024) | 0; + $mul$i$i = ($10 << 9) + -512 | 0; + $j$016$i$i = 0; + do { + $k$015$i$i = 0; + do { + $sub6$i$i = 255 - ((HEAPU8[5248 + ($j$016$i$i << 4) + $k$015$i$i >> 0] | 0) << 1) | 0; + $mul7$i$i = $sub6$i$i * 255 | 0; + if (($sub6$i$i | 0) < 0) $cond$i$i = 0 - ((0 - $mul7$i$i | 0) / ($mul$i$i | 0) | 0) | 0; else $cond$i$i = ($mul7$i$i | 0) / ($mul$i$i | 0) | 0; + HEAP32[$call$i$i + ($j$016$i$i << 6) + ($k$015$i$i << 2) >> 2] = $cond$i$i; + $k$015$i$i = $k$015$i$i + 1 | 0; + } while (($k$015$i$i | 0) != 16); + $j$016$i$i = $j$016$i$i + 1 | 0; + } while (($j$016$i$i | 0) != 16); + $16 = HEAP32[$out_color_components5 >> 2] | 0; + $odither$1$i = $call$i$i; + } + HEAP32[$8 + 52 + ($i$025$i << 2) >> 2] = $odither$1$i; + $i$025$i = $i$025$i + 1 | 0; + if (($i$025$i | 0) >= ($16 | 0)) break; else $29 = $16; + } + return; + } + case 2: + { + HEAP32[$0 + 4 >> 2] = 13; + HEAP32[$0 + 84 >> 2] = 0; + if (!(HEAP32[$0 + 68 >> 2] | 0)) { + $output_width$i = $cinfo + 112 | 0; + $mul$i = (HEAP32[$output_width$i >> 2] << 1) + 4 | 0; + $out_color_components$i30 = $cinfo + 120 | 0; + if ((HEAP32[$out_color_components$i30 >> 2] | 0) <= 0) return; + $mem$i = $cinfo + 4 | 0; + $i$011$i = 0; + do { + $call$i = FUNCTION_TABLE_iiii[HEAP32[(HEAP32[$mem$i >> 2] | 0) + 4 >> 2] & 63]($cinfo, 1, $mul$i) | 0; + HEAP32[$0 + 68 + ($i$011$i << 2) >> 2] = $call$i; + $i$011$i = $i$011$i + 1 | 0; + $22 = HEAP32[$out_color_components$i30 >> 2] | 0; + } while (($i$011$i | 0) < ($22 | 0)); + $24 = $22; + $out_color_components26$pre$phiZ2D = $out_color_components$i30; + $output_width$pre$phiZ2D = $output_width$i; } else { - $100 = $38; - $75 = $99; - } - HEAP32[$32 >> 2] = 0; - $73 = $$072100 + 1 | 0; - if (($73 | 0) < ($75 | 0)) { - $$072100 = $73; - $37 = 0; - $38 = $100; - $99 = $75; - } else break L6; + $out_color_components26$phi$trans$insert = $cinfo + 120 | 0; + $24 = HEAP32[$out_color_components26$phi$trans$insert >> 2] | 0; + $out_color_components26$pre$phiZ2D = $out_color_components26$phi$trans$insert; + $output_width$pre$phiZ2D = $cinfo + 112 | 0; + } + $mul = (HEAP32[$output_width$pre$phiZ2D >> 2] << 1) + 4 | 0; + if (($24 | 0) <= 0) return; + $i$041 = 0; + do { + _memset(HEAP32[$0 + 68 + ($i$041 << 2) >> 2] | 0, 0, $mul | 0) | 0; + $i$041 = $i$041 + 1 | 0; + } while (($i$041 | 0) < (HEAP32[$out_color_components26$pre$phiZ2D >> 2] | 0)); + return; + } + default: + { + $27 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$27 + 20 >> 2] = 49; + FUNCTION_TABLE_vi[HEAP32[$27 >> 2] & 255]($cinfo); + return; } - HEAP32[$27 >> 2] = $$072100; - HEAP32[$32 >> 2] = $$07896; - $$071 = 0; - STACKTOP = sp; - return $$071 | 0; - } while (0); - $76 = $0 + 148 | 0; - $78 = (HEAP32[$76 >> 2] | 0) + 1 | 0; - HEAP32[$76 >> 2] = $78; - $80 = HEAP32[$0 + 332 >> 2] | 0; - if ($78 >>> 0 >= $80 >>> 0) { - FUNCTION_TABLE_vi[HEAP32[(HEAP32[$0 + 460 >> 2] | 0) + 12 >> 2] & 255]($0); - $$071 = 4; - STACKTOP = sp; - return $$071 | 0; - } - $82 = HEAP32[$2 >> 2] | 0; - if ((HEAP32[$4 >> 2] | 0) > 1) $$sink = 1; else { - $88 = HEAP32[$0 + 344 >> 2] | 0; - $$sink = HEAP32[($78 >>> 0 < ($80 + -1 | 0) >>> 0 ? $88 + 12 | 0 : $88 + 76 | 0) >> 2] | 0; } - HEAP32[$82 + 28 >> 2] = $$sink; - HEAP32[$82 + 20 >> 2] = 0; - HEAP32[$82 + 24 >> 2] = 0; - $$071 = 3; - STACKTOP = sp; - return $$071 | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseBracedExprEv($0) { - $0 = $0 | 0; - var $$0 = 0, $$1 = 0, $$2 = 0, $$3 = 0, $$4 = 0, $$5 = 0, $$6 = 0, $$7 = 0, $1 = 0, $10 = 0, $11 = 0, $13 = 0, $18 = 0, $19 = 0, $2 = 0, $21 = 0, $26 = 0, $27 = 0, $29 = 0, $3 = 0, $31 = 0, label = 0, sp = 0; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseBracedExprEv($this) { + $this = $this | 0; + var $Field = 0, $Init = 0, $call18 = 0, $call19 = 0, $call25 = 0, $call36 = 0, $call37 = 0, $call4 = 0, $call42 = 0, $call48 = 0, $call5 = 0, $call9 = 0, $ref$tmp = 0, $retval$0 = 0, $retval$1 = 0, $retval$2 = 0, $retval$3 = 0, $retval$4 = 0, $retval$5 = 0, $retval$6 = 0, $retval$7 = 0, label = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $1 = sp + 8 | 0; - $2 = sp + 4 | 0; - $3 = sp; - L1 : do if ((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($0, 0) | 0) << 24 >> 24 == 100) switch ((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($0, 1) | 0) << 24 >> 24 | 0) { + $Field = sp + 8 | 0; + $Init = sp + 4 | 0; + $ref$tmp = sp; + L1 : do if ((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($this, 0) | 0) << 24 >> 24 == 100) switch ((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($this, 1) | 0) << 24 >> 24 | 0) { case 105: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 2; - $10 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0; - $11 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseSourceNameEPNS5_9NameStateE($10) | 0; - HEAP32[$1 >> 2] = $11; - if (!$11) $$1 = 0; else { - $13 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseBracedExprEv($10) | 0; - HEAP32[$2 >> 2] = $13; - if (!$13) $$0 = 0; else { - HEAP8[$3 >> 0] = 0; - $$0 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_10BracedExprEJRPNS0_4NodeESA_bEEES9_DpOT0_($0, $1, $2, $3) | 0; - } - $$1 = $$0; - } - $$7 = $$1; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 2; + $call4 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0; + $call5 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseSourceNameEPNS5_9NameStateE($call4) | 0; + HEAP32[$Field >> 2] = $call5; + if (!$call5) $retval$1 = 0; else { + $call9 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseBracedExprEv($call4) | 0; + HEAP32[$Init >> 2] = $call9; + if (!$call9) $retval$0 = 0; else { + HEAP8[$ref$tmp >> 0] = 0; + $retval$0 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_10BracedExprEJRPNS0_4NodeESA_bEEES9_DpOT0_($this, $Field, $Init, $ref$tmp) | 0; + } + $retval$1 = $retval$0; + } + $retval$7 = $retval$1; break L1; break; } case 120: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 2; - $18 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0; - $19 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseExprEv($18) | 0; - HEAP32[$1 >> 2] = $19; - if (!$19) $$3 = 0; else { - $21 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseBracedExprEv($18) | 0; - HEAP32[$2 >> 2] = $21; - if (!$21) $$2 = 0; else { - HEAP8[$3 >> 0] = 1; - $$2 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_10BracedExprEJRPNS0_4NodeESA_bEEES9_DpOT0_($0, $1, $2, $3) | 0; - } - $$3 = $$2; - } - $$7 = $$3; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 2; + $call18 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0; + $call19 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseExprEv($call18) | 0; + HEAP32[$Field >> 2] = $call19; + if (!$call19) $retval$3 = 0; else { + $call25 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseBracedExprEv($call18) | 0; + HEAP32[$Init >> 2] = $call25; + if (!$call25) $retval$2 = 0; else { + HEAP8[$ref$tmp >> 0] = 1; + $retval$2 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_10BracedExprEJRPNS0_4NodeESA_bEEES9_DpOT0_($this, $Field, $Init, $ref$tmp) | 0; + } + $retval$3 = $retval$2; + } + $retval$7 = $retval$3; break L1; break; } case 88: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 2; - $26 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0; - $27 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseExprEv($26) | 0; - HEAP32[$1 >> 2] = $27; - if (!$27) $$6 = 0; else { - $29 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseExprEv($26) | 0; - HEAP32[$2 >> 2] = $29; - if (!$29) $$5 = 0; else { - $31 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseBracedExprEv($26) | 0; - HEAP32[$3 >> 2] = $31; - if (!$31) $$4 = 0; else $$4 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_15BracedRangeExprEJRPNS0_4NodeESA_SA_EEES9_DpOT0_($0, $1, $2, $3) | 0; - $$5 = $$4; - } - $$6 = $$5; - } - $$7 = $$6; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 2; + $call36 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0; + $call37 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseExprEv($call36) | 0; + HEAP32[$Field >> 2] = $call37; + if (!$call37) $retval$6 = 0; else { + $call42 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseExprEv($call36) | 0; + HEAP32[$Init >> 2] = $call42; + if (!$call42) $retval$5 = 0; else { + $call48 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseBracedExprEv($call36) | 0; + HEAP32[$ref$tmp >> 2] = $call48; + if (!$call48) $retval$4 = 0; else $retval$4 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_15BracedRangeExprEJRPNS0_4NodeESA_SA_EEES9_DpOT0_($this, $Field, $Init, $ref$tmp) | 0; + $retval$5 = $retval$4; + } + $retval$6 = $retval$5; + } + $retval$7 = $retval$6; break L1; break; } @@ -59651,1905 +60851,1338 @@ function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14Mang break L1; } } else label = 20; while (0); - if ((label | 0) == 20) $$7 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseExprEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0) | 0; - STACKTOP = sp; - return $$7 | 0; -} - -function _jinit_master_decompress($0) { - $0 = $0 | 0; - var $$0$i = 0, $$018$i$i = 0, $$pre$phi$iZ2D = 0, $$pre$phi96$iZ2D = 0, $1 = 0, $104 = 0, $11 = 0, $114 = 0, $127 = 0, $133 = 0, $18 = 0, $19 = 0, $30 = 0, $33 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $53 = 0, $56 = 0, $9 = 0, $96 = 0, label = 0; - $1 = $0 + 4 | 0; - $4 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[$1 >> 2] >> 2] & 63]($0, 1, 28) | 0; - HEAP32[$0 + 444 >> 2] = $4; - HEAP32[$4 >> 2] = 184; - HEAP32[$4 + 4 >> 2] = 185; - HEAP32[$4 + 8 >> 2] = 0; - $9 = HEAP32[$0 + 212 >> 2] | 0; - if (($9 | 0) != 8) { - $11 = HEAP32[$0 >> 2] | 0; - HEAP32[$11 + 20 >> 2] = 16; - HEAP32[$11 + 24 >> 2] = $9; - FUNCTION_TABLE_vi[HEAP32[HEAP32[$0 >> 2] >> 2] & 255]($0); - } - _jpeg_calc_output_dimensions($0); - $18 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[$1 >> 2] >> 2] & 63]($0, 1, 1280) | 0; - _memset($18 | 0, 0, 512) | 0; - $19 = $18 + 512 | 0; - HEAP32[$0 + 336 >> 2] = $19; - $$018$i$i = 0; - do { - HEAP8[$19 + $$018$i$i >> 0] = $$018$i$i; - $$018$i$i = $$018$i$i + 1 | 0; - } while (($$018$i$i | 0) != 256); - _memset($18 + 768 | 0, -1, 512) | 0; - if (((HEAP32[$0 + 116 >> 2] | 0) != 0 ? (HEAP32[$0 + 112 >> 2] | 0) != 0 : 0) ? ($30 = $0 + 120 | 0, (HEAP32[$30 >> 2] | 0) >= 1) : 0) $$pre$phi$iZ2D = $30; else { - $33 = HEAP32[$0 >> 2] | 0; - HEAP32[$33 + 20 >> 2] = 33; - FUNCTION_TABLE_vi[HEAP32[$33 >> 2] & 255]($0); - $$pre$phi$iZ2D = $0 + 120 | 0; - } - $36 = $4 + 12 | 0; - HEAP32[$36 >> 2] = 0; - $37 = _use_merged_upsample($0) | 0; - $38 = $4 + 16 | 0; - HEAP32[$38 >> 2] = $37; - $39 = $4 + 20 | 0; - HEAP32[$39 >> 2] = 0; - $40 = $4 + 24 | 0; - HEAP32[$40 >> 2] = 0; - do if (!(HEAP32[$0 + 84 >> 2] | 0)) { - HEAP32[$0 + 100 >> 2] = 0; - HEAP32[$0 + 104 >> 2] = 0; - HEAP32[$0 + 108 >> 2] = 0; - $$pre$phi96$iZ2D = $0 + 68 | 0; - } else { - if (!(HEAP32[$0 + 64 >> 2] | 0)) { - HEAP32[$0 + 100 >> 2] = 0; - HEAP32[$0 + 104 >> 2] = 0; - HEAP32[$0 + 108 >> 2] = 0; - } - $53 = $0 + 68 | 0; - if (HEAP32[$53 >> 2] | 0) { - $56 = HEAP32[$0 >> 2] | 0; - HEAP32[$56 + 20 >> 2] = 48; - FUNCTION_TABLE_vi[HEAP32[$56 >> 2] & 255]($0); - } - do if ((HEAP32[$$pre$phi$iZ2D >> 2] | 0) == 3) { - if (HEAP32[$0 + 136 >> 2] | 0) { - HEAP32[$0 + 104 >> 2] = 1; - break; - } - if (!(HEAP32[$0 + 92 >> 2] | 0)) { - HEAP32[$0 + 100 >> 2] = 1; - break; - } else { - HEAP32[$0 + 108 >> 2] = 1; - break; - } - } else { - HEAP32[$0 + 100 >> 2] = 1; - HEAP32[$0 + 104 >> 2] = 0; - HEAP32[$0 + 108 >> 2] = 0; - HEAP32[$0 + 136 >> 2] = 0; - } while (0); - if (HEAP32[$0 + 100 >> 2] | 0) { - _jinit_1pass_quantizer($0); - HEAP32[$39 >> 2] = HEAP32[$0 + 484 >> 2]; - } - if ((HEAP32[$0 + 108 >> 2] | 0) == 0 ? (HEAP32[$0 + 104 >> 2] | 0) == 0 : 0) { - $$pre$phi96$iZ2D = $53; - break; - } - _jinit_2pass_quantizer($0); - HEAP32[$40 >> 2] = HEAP32[$0 + 484 >> 2]; - $$pre$phi96$iZ2D = $53; - } while (0); - if (!(HEAP32[$$pre$phi96$iZ2D >> 2] | 0)) { - if (!(HEAP32[$38 >> 2] | 0)) { - _jinit_color_deconverter($0); - _jinit_upsampler($0); - } else _jinit_merged_upsampler($0); - _jinit_d_post_controller($0, HEAP32[$0 + 108 >> 2] | 0); - } - _jinit_inverse_dct($0); - if (!(HEAP32[$0 + 228 >> 2] | 0)) _jinit_huff_decoder($0); else _jinit_arith_decoder($0); - $96 = $0 + 460 | 0; - if (!(HEAP32[(HEAP32[$96 >> 2] | 0) + 16 >> 2] | 0)) $104 = (HEAP32[$0 + 64 >> 2] | 0) != 0 & 1; else $104 = 1; - _jinit_d_coef_controller($0, $104); - if (!(HEAP32[$$pre$phi96$iZ2D >> 2] | 0)) _jinit_d_main_controller($0, 0); - FUNCTION_TABLE_vi[HEAP32[(HEAP32[$1 >> 2] | 0) + 24 >> 2] & 255]($0); - FUNCTION_TABLE_vi[HEAP32[(HEAP32[$96 >> 2] | 0) + 8 >> 2] & 255]($0); - $114 = HEAP32[$0 + 8 >> 2] | 0; - if (!$114) return; - if (HEAP32[$0 + 64 >> 2] | 0) return; - if (!(HEAP32[(HEAP32[$96 >> 2] | 0) + 16 >> 2] | 0)) return; - $127 = HEAP32[$0 + 36 >> 2] | 0; - $$0$i = (HEAP32[$0 + 224 >> 2] | 0) == 0 ? $127 : ($127 * 3 | 0) + 2 | 0; - HEAP32[$114 + 4 >> 2] = 0; - $133 = Math_imul($$0$i, HEAP32[$0 + 332 >> 2] | 0) | 0; - HEAP32[$114 + 8 >> 2] = $133; - HEAP32[$114 + 12 >> 2] = 0; - HEAP32[$114 + 16 >> 2] = (HEAP32[$0 + 108 >> 2] | 0) == 0 ? 2 : 3; - HEAP32[$36 >> 2] = (HEAP32[$36 >> 2] | 0) + 1; - return; -} - -function _h2v2_merged_upsample($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $$0158$lcssa = 0, $$0158169 = 0, $$0159$lcssa = 0, $$0159168 = 0, $$0160$lcssa = 0, $$0160167 = 0, $$0161$lcssa = 0, $$0161166 = 0, $$0162$lcssa = 0, $$0162165 = 0, $$0163$lcssa = 0, $$0163164 = 0, $$0170 = 0, $103 = 0, $11 = 0, $119 = 0, $122 = 0, $124 = 0, $126 = 0, $13 = 0, $132 = 0, $134 = 0, $136 = 0, $149 = 0, $15 = 0, $16 = 0, $17 = 0, $19 = 0, $22 = 0, $26 = 0, $30 = 0, $31 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $38 = 0, $39 = 0, $42 = 0, $45 = 0, $47 = 0, $5 = 0, $53 = 0, $55 = 0, $58 = 0, $7 = 0, $73 = 0, $88 = 0, $9 = 0, $scevgep = 0, $scevgep184 = 0; - $5 = HEAP32[$0 + 476 >> 2] | 0; - $7 = HEAP32[$0 + 336 >> 2] | 0; - $9 = HEAP32[$5 + 16 >> 2] | 0; - $11 = HEAP32[$5 + 20 >> 2] | 0; - $13 = HEAP32[$5 + 24 >> 2] | 0; - $15 = HEAP32[$5 + 28 >> 2] | 0; - $16 = HEAP32[$1 >> 2] | 0; - $17 = $2 << 1; - $19 = HEAP32[$16 + ($17 << 2) >> 2] | 0; - $22 = HEAP32[$16 + (($17 | 1) << 2) >> 2] | 0; - $26 = HEAP32[(HEAP32[$1 + 4 >> 2] | 0) + ($2 << 2) >> 2] | 0; - $30 = HEAP32[(HEAP32[$1 + 8 >> 2] | 0) + ($2 << 2) >> 2] | 0; - $31 = HEAP32[$3 >> 2] | 0; - $33 = HEAP32[$3 + 4 >> 2] | 0; - $34 = $0 + 112 | 0; - $35 = HEAP32[$34 >> 2] | 0; - $36 = $35 >>> 1; - if (!$36) { - $$0158$lcssa = $30; - $$0159$lcssa = $26; - $$0160$lcssa = $22; - $$0161$lcssa = $19; - $$0162$lcssa = $33; - $$0163$lcssa = $31; - $119 = $35; - } else { - $scevgep = $26 + $36 | 0; - $38 = $35 & -2; - $39 = $36 * 6 | 0; - $scevgep184 = $22 + $38 | 0; - $$0158169 = $30; - $$0159168 = $26; - $$0160167 = $22; - $$0161166 = $19; - $$0162165 = $33; - $$0163164 = $31; - $$0170 = $36; - while (1) { - $42 = HEAPU8[$$0159168 >> 0] | 0; - $45 = HEAPU8[$$0158169 >> 0] | 0; - $47 = HEAP32[$9 + ($45 << 2) >> 2] | 0; - $53 = (HEAP32[$13 + ($45 << 2) >> 2] | 0) + (HEAP32[$15 + ($42 << 2) >> 2] | 0) >> 16; - $55 = HEAP32[$11 + ($42 << 2) >> 2] | 0; - $58 = HEAPU8[$$0161166 >> 0] | 0; - HEAP8[$$0163164 >> 0] = HEAP8[$7 + ($47 + $58) >> 0] | 0; - HEAP8[$$0163164 + 1 >> 0] = HEAP8[$7 + ($53 + $58) >> 0] | 0; - HEAP8[$$0163164 + 2 >> 0] = HEAP8[$7 + ($55 + $58) >> 0] | 0; - $73 = HEAPU8[$$0161166 + 1 >> 0] | 0; - HEAP8[$$0163164 + 3 >> 0] = HEAP8[$7 + ($47 + $73) >> 0] | 0; - HEAP8[$$0163164 + 4 >> 0] = HEAP8[$7 + ($53 + $73) >> 0] | 0; - HEAP8[$$0163164 + 5 >> 0] = HEAP8[$7 + ($55 + $73) >> 0] | 0; - $88 = HEAPU8[$$0160167 >> 0] | 0; - HEAP8[$$0162165 >> 0] = HEAP8[$7 + ($47 + $88) >> 0] | 0; - HEAP8[$$0162165 + 1 >> 0] = HEAP8[$7 + ($53 + $88) >> 0] | 0; - HEAP8[$$0162165 + 2 >> 0] = HEAP8[$7 + ($55 + $88) >> 0] | 0; - $103 = HEAPU8[$$0160167 + 1 >> 0] | 0; - HEAP8[$$0162165 + 3 >> 0] = HEAP8[$7 + ($47 + $103) >> 0] | 0; - HEAP8[$$0162165 + 4 >> 0] = HEAP8[$7 + ($53 + $103) >> 0] | 0; - HEAP8[$$0162165 + 5 >> 0] = HEAP8[$7 + ($55 + $103) >> 0] | 0; - $$0170 = $$0170 + -1 | 0; - if (!$$0170) break; else { - $$0158169 = $$0158169 + 1 | 0; - $$0159168 = $$0159168 + 1 | 0; - $$0160167 = $$0160167 + 2 | 0; - $$0161166 = $$0161166 + 2 | 0; - $$0162165 = $$0162165 + 6 | 0; - $$0163164 = $$0163164 + 6 | 0; - } - } - $$0158$lcssa = $30 + $36 | 0; - $$0159$lcssa = $scevgep; - $$0160$lcssa = $scevgep184; - $$0161$lcssa = $19 + $38 | 0; - $$0162$lcssa = $33 + $39 | 0; - $$0163$lcssa = $31 + $39 | 0; - $119 = HEAP32[$34 >> 2] | 0; - } - if (!($119 & 1)) return; - $122 = HEAPU8[$$0159$lcssa >> 0] | 0; - $124 = HEAPU8[$$0158$lcssa >> 0] | 0; - $126 = HEAP32[$9 + ($124 << 2) >> 2] | 0; - $132 = (HEAP32[$13 + ($124 << 2) >> 2] | 0) + (HEAP32[$15 + ($122 << 2) >> 2] | 0) >> 16; - $134 = HEAP32[$11 + ($122 << 2) >> 2] | 0; - $136 = HEAPU8[$$0161$lcssa >> 0] | 0; - HEAP8[$$0163$lcssa >> 0] = HEAP8[$7 + ($126 + $136) >> 0] | 0; - HEAP8[$$0163$lcssa + 1 >> 0] = HEAP8[$7 + ($132 + $136) >> 0] | 0; - HEAP8[$$0163$lcssa + 2 >> 0] = HEAP8[$7 + ($134 + $136) >> 0] | 0; - $149 = HEAPU8[$$0160$lcssa >> 0] | 0; - HEAP8[$$0162$lcssa >> 0] = HEAP8[$7 + ($126 + $149) >> 0] | 0; - HEAP8[$$0162$lcssa + 1 >> 0] = HEAP8[$7 + ($132 + $149) >> 0] | 0; - HEAP8[$$0162$lcssa + 2 >> 0] = HEAP8[$7 + ($134 + $149) >> 0] | 0; - return; -} - -function _arParamLoad($0, $1, $2, $varargs) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $varargs = $varargs | 0; - var $$05254 = 0, $$053 = 0, $$056 = 0, $$059 = 0, $$1 = 0, $$pre$phi64Z2D = 0, $10 = 0, $12 = 0, $14 = 0, $17 = 0, $19 = 0, $21 = 0, $22 = 0, $25 = 0, $28 = 0, $3 = 0, $30 = 0, $33 = 0, $35 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0.0, $42 = 0, $44 = 0, $51 = 0, $52 = 0, $61 = 0.0, $8 = 0, $vararg_buffer = 0, $vararg_buffer13 = 0, $vararg_buffer15 = 0, $vararg_buffer18 = 0, $vararg_buffer2 = 0, $vararg_buffer6 = 0, $vararg_buffer9 = 0, label = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 256 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(256); - $vararg_buffer18 = sp + 248 | 0; - $vararg_buffer15 = sp + 240 | 0; - $vararg_buffer13 = sp + 232 | 0; - $vararg_buffer9 = sp + 224 | 0; - $vararg_buffer6 = sp + 216 | 0; - $vararg_buffer2 = sp + 208 | 0; - $vararg_buffer = sp + 200 | 0; - $3 = sp; - $4 = sp + 16 | 0; - do if (($0 | 0) != 0 & ($1 | 0) > 0 & ($2 | 0) != 0) { - $8 = _fopen($0, 26308) | 0; - if (!$8) { - $10 = ___errno_location() | 0; - HEAP32[$vararg_buffer >> 2] = HEAP32[$10 >> 2]; - HEAP32[$vararg_buffer + 4 >> 2] = $0; - _arLog(0, 3, 24431, $vararg_buffer); - $12 = ___errno_location() | 0; - $14 = _strerror(HEAP32[$12 >> 2] | 0) | 0; - HEAP32[$vararg_buffer2 >> 2] = 67447; - HEAP32[$vararg_buffer2 + 4 >> 2] = $14; - _arLog(0, 3, 25953, $vararg_buffer2); - $$056 = -1; - break; - } - _fseek($8, 0, 2) | 0; - L6 : do if (!(_ferror($8) | 0)) { - $22 = _ftell($8) | 0; - _rewind($8); - $$053 = 0; - while (1) { - if ($$053 >>> 0 >= 4) { - label = 9; - break; - } - $25 = HEAP32[1712 + ($$053 << 3) + 4 >> 2] | 0; - $28 = $$053 + 1 | 0; - if (!(($22 | 0) % ($25 | 0) | 0)) { - $$05254 = $28; - $30 = $25; - break; - } else $$053 = $28; - } - do if ((label | 0) == 9) if (($$053 | 0) == 4) { - _arLog(0, 3, 24545, $vararg_buffer13); - $$059 = -1; - break L6; - } else { - $$05254 = 0; - $30 = HEAP32[1712 + (0 << 3) + 4 >> 2] | 0; - break; - } while (0); - if ((_fread($4, $30, 1, $8) | 0) != 1) { - $33 = ___errno_location() | 0; - HEAP32[$vararg_buffer15 >> 2] = HEAP32[$33 >> 2]; - _arLog(0, 3, 24625, $vararg_buffer15); - $35 = ___errno_location() | 0; - $37 = _strerror(HEAP32[$35 >> 2] | 0) | 0; - HEAP32[$vararg_buffer18 >> 2] = 67447; - HEAP32[$vararg_buffer18 + 4 >> 2] = $37; - _arLog(0, 3, 25953, $vararg_buffer18); - $$059 = -1; - break; - } - $38 = $4 + 176 | 0; - HEAP32[$38 >> 2] = $$05254; - _byteswap($4); - $39 = ($$05254 | 0) == 1; - $40 = $4 + 120 | 0; - if ($39) { - $41 = +HEAPF64[$40 >> 3]; - $42 = $4 + 128 | 0; - HEAPF64[$40 >> 3] = +HEAPF64[$42 >> 3]; - HEAPF64[$42 >> 3] = $41; - $$pre$phi64Z2D = $42; - } else $$pre$phi64Z2D = $4 + 128 | 0; - _memcpy($2 | 0, $4 | 0, 184) | 0; - HEAP32[$3 >> 2] = $varargs; - $44 = $2 + 176 | 0; - $$1 = 1; - while (1) { - if (($$1 | 0) >= ($1 | 0)) { - $$059 = 0; - break L6; - } - $51 = (HEAP32[$3 >> 2] | 0) + (4 - 1) & ~(4 - 1); - $52 = HEAP32[$51 >> 2] | 0; - HEAP32[$3 >> 2] = $51 + 4; - HEAP32[$52 + 176 >> 2] = HEAP32[$44 >> 2]; - if ((_fread($4, HEAP32[1712 + ((HEAP32[$44 >> 2] | 0) + -1 << 3) + 4 >> 2] | 0, 1, $8) | 0) != 1) { - $$059 = -1; - break L6; - } - HEAP32[$38 >> 2] = $$05254; - _byteswap($4); - if ($39) { - $61 = +HEAPF64[$40 >> 3]; - HEAPF64[$40 >> 3] = +HEAPF64[$$pre$phi64Z2D >> 3]; - HEAPF64[$$pre$phi64Z2D >> 3] = $61; - } - _memcpy($52 | 0, $4 | 0, 184) | 0; - $$1 = $$1 + 1 | 0; - } - } else { - $17 = ___errno_location() | 0; - HEAP32[$vararg_buffer6 >> 2] = HEAP32[$17 >> 2]; - _arLog(0, 3, 24500, $vararg_buffer6); - $19 = ___errno_location() | 0; - $21 = _strerror(HEAP32[$19 >> 2] | 0) | 0; - HEAP32[$vararg_buffer9 >> 2] = 67447; - HEAP32[$vararg_buffer9 + 4 >> 2] = $21; - _arLog(0, 3, 25953, $vararg_buffer9); - $$059 = -1; - } while (0); - _fclose($8) | 0; - $$056 = $$059; - } else $$056 = -1; while (0); + if ((label | 0) == 20) $retval$7 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseExprEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0) | 0; STACKTOP = sp; - return $$056 | 0; + return $retval$7 | 0; } -function _ar2GetTransMat_175($icpHandle, $initConv, $pos2d, $pos3d, $num, $conv, $robustMode) { - $icpHandle = $icpHandle | 0; - $initConv = $initConv | 0; - $pos2d = $pos2d | 0; - $pos3d = $pos3d | 0; - $num = $num | 0; - $conv = $conv | 0; - $robustMode = $robustMode | 0; - var $call = 0, $call3 = 0, $conv143 = 0.0, $conv148 = 0.0, $conv15 = 0.0, $conv153 = 0.0, $data = 0, $div = 0.0, $div17 = 0.0, $div19 = 0.0, $dx$0 = 0.0, $dy$0 = 0.0, $dz$0 = 0.0, $err = 0, $i$0 = 0, $i$1 = 0, $i$2 = 0, $i$3 = 0, $initMat = 0, $j$0 = 0, $j$1 = 0, $mat = 0, $worldCoord = 0, sp = 0; +function __ZNK6vision28BinaryHierarchicalClusteringILi96EE5queryEPKh($this, $feature) { + $this = $this | 0; + $feature = $feature | 0; + var $12 = 0, $13 = 0, $17 = 0, $22 = 0, $23 = 0, $27 = 0, $3 = 0, $32 = 0, $4 = 0, $5 = 0, $7 = 0, $9 = 0, $__end_$i$i = 0, $__end_$i$i$i = 0, $__soon_to_be_end$0$i$i$add$i$i = 0, $__soon_to_be_end$0$i$i$idx$i$i = 0, $__value_$i$i$i = 0, $add$ptr$i$i = 0, $agg$tmp$i$i$i = 0, $agg$tmp$i$i$i$byval_copy = 0, $agg$tmp3$i$i$i = 0, $agg$tmp3$i$i$i$byval_copy = 0, $agg$tmp4$i$i$i = 0, $agg$tmp4$i$i$i$byval_copy = 0, $agg$tmp65$i = 0, $call$i1$i = 0, $call$i2$i = 0, $call7 = 0, $incdec$ptr$i$i$i$i = 0, $mQueryReverseIndex = 0, $mQueue = 0, $sub$ptr$sub$i$i$i = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 224 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(224); - $data = sp + 212 | 0; - $initMat = sp + 96 | 0; - $mat = sp; - $err = sp + 192 | 0; - $call = _malloc($num << 4) | 0; - HEAP32[$data >> 2] = $call; - if (!$call) { - _arLog(0, 3, 45930, sp + 200 | 0); - _exit(1); - } - $call3 = _malloc($num * 24 | 0) | 0; - $worldCoord = $data + 4 | 0; - HEAP32[$worldCoord >> 2] = $call3; - if (!$call3) { - _arLog(0, 3, 45930, sp + 208 | 0); - _exit(1); - } - $dx$0 = 0.0; - $dy$0 = 0.0; - $dz$0 = 0.0; - $i$0 = 0; - while (1) { - if (($i$0 | 0) >= ($num | 0)) break; - $dx$0 = $dx$0 + +HEAPF32[$pos3d + ($i$0 * 12 | 0) >> 2]; - $dy$0 = $dy$0 + +HEAPF32[$pos3d + ($i$0 * 12 | 0) + 4 >> 2]; - $dz$0 = $dz$0 + +HEAPF32[$pos3d + ($i$0 * 12 | 0) + 8 >> 2]; - $i$0 = $i$0 + 1 | 0; - } - $conv15 = +($num | 0); - $div = $dx$0 / $conv15; - $div17 = $dy$0 / $conv15; - $div19 = $dz$0 / $conv15; - $i$1 = 0; - while (1) { - if (($i$1 | 0) >= ($num | 0)) break; - HEAPF64[$call + ($i$1 << 4) >> 3] = +HEAPF32[$pos2d + ($i$1 << 3) >> 2]; - HEAPF64[$call + ($i$1 << 4) + 8 >> 3] = +HEAPF32[$pos2d + ($i$1 << 3) + 4 >> 2]; - HEAPF64[$call3 + ($i$1 * 24 | 0) >> 3] = +HEAPF32[$pos3d + ($i$1 * 12 | 0) >> 2] - $div; - HEAPF64[$call3 + ($i$1 * 24 | 0) + 8 >> 3] = +HEAPF32[$pos3d + ($i$1 * 12 | 0) + 4 >> 2] - $div17; - HEAPF64[$call3 + ($i$1 * 24 | 0) + 16 >> 3] = +HEAPF32[$pos3d + ($i$1 * 12 | 0) + 8 >> 2] - $div19; - $i$1 = $i$1 + 1 | 0; - } - HEAP32[$data + 8 >> 2] = $num; - $j$0 = 0; - while (1) { - if (($j$0 | 0) == 3) break; - $i$2 = 0; - while (1) { - if (($i$2 | 0) == 3) break; - HEAPF64[$initMat + ($j$0 << 5) + ($i$2 << 3) >> 3] = +HEAPF32[$initConv + ($j$0 << 4) + ($i$2 << 2) >> 2]; - $i$2 = $i$2 + 1 | 0; - } - $j$0 = $j$0 + 1 | 0; + STACKTOP = STACKTOP + 48 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); + $agg$tmp4$i$i$i$byval_copy = sp + 8 | 0; + $agg$tmp3$i$i$i$byval_copy = sp + 32 | 0; + $agg$tmp$i$i$i$byval_copy = sp + 28 | 0; + $agg$tmp$i$i$i = sp + 24 | 0; + $agg$tmp3$i$i$i = sp + 20 | 0; + $agg$tmp4$i$i$i = sp + 16 | 0; + $agg$tmp65$i = sp; + $__value_$i$i$i = $this + 8 | 0; + if (!(HEAP32[$__value_$i$i$i >> 2] | 0)) { + $call7 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 36538) | 0, 33528) | 0, 39794) | 0, 405) | 0, 39801) | 0, 36573) | 0; + __ZNKSt3__28ios_base6getlocEv($agg$tmp4$i$i$i$byval_copy, $call7 + (HEAP32[(HEAP32[$call7 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i = __ZNKSt3__26locale9use_facetERNS0_2idE($agg$tmp4$i$i$i$byval_copy, 67360) | 0; + $call$i2$i = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i >> 2] | 0) + 28 >> 2] & 127]($call$i1$i, 10) | 0; + __ZNSt3__26localeD2Ev($agg$tmp4$i$i$i$byval_copy); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call7, $call$i2$i) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call7) | 0; + _abort(); } - HEAPF64[$initMat + 24 >> 3] = +HEAPF32[$initConv + 12 >> 2] + ($div * +HEAPF32[$initConv >> 2] + $div17 * +HEAPF32[$initConv + 4 >> 2] + $div19 * +HEAPF32[$initConv + 8 >> 2]); - HEAPF64[$initMat + 56 >> 3] = +HEAPF32[$initConv + 28 >> 2] + ($div * +HEAPF32[$initConv + 16 >> 2] + $div17 * +HEAPF32[$initConv + 20 >> 2] + $div19 * +HEAPF32[$initConv + 24 >> 2]); - HEAPF64[$initMat + 88 >> 3] = +HEAPF32[$initConv + 44 >> 2] + ($div * +HEAPF32[$initConv + 32 >> 2] + $div17 * +HEAPF32[$initConv + 36 >> 2] + $div19 * +HEAPF32[$initConv + 40 >> 2]); - if (!$robustMode) { - if ((_icpPoint($icpHandle, $data, $initMat, $mat, $err) | 0) < 0) HEAPF64[$err >> 3] = 1.0e8; - } else if ((_icpPointRobust($icpHandle, $data, $initMat, $mat, $err) | 0) < 0) HEAPF64[$err >> 3] = 1.0e8; - _free(HEAP32[$data >> 2] | 0); - _free(HEAP32[$worldCoord >> 2] | 0); - $j$1 = 0; + HEAP32[$this + 100 >> 2] = 0; + $mQueryReverseIndex = $this + 72 | 0; + $__end_$i$i$i = $this + 76 | 0; + HEAP32[$__end_$i$i$i >> 2] = HEAP32[$mQueryReverseIndex >> 2]; + $mQueue = $this + 84 | 0; + $__end_$i$i = $this + 88 | 0; + $4 = HEAP32[$__end_$i$i >> 2] | 0; while (1) { - if (($j$1 | 0) == 3) break; - $i$3 = 0; + $3 = HEAP32[$mQueue >> 2] | 0; + $5 = $3; + if (($3 | 0) == ($4 | 0)) break; + $sub$ptr$sub$i$i$i = $4 - $5 | 0; + if (($sub$ptr$sub$i$i$i | 0) > 8) { + $incdec$ptr$i$i$i$i = $4 + -8 | 0; + $7 = $3; + $9 = HEAP32[$7 >> 2] | 0; + $12 = HEAP32[$7 + 4 >> 2] | 0; + $13 = $agg$tmp4$i$i$i$byval_copy; + HEAP32[$13 >> 2] = $9; + HEAP32[$13 + 4 >> 2] = $12; + $17 = $incdec$ptr$i$i$i$i; + $22 = HEAP32[$17 + 4 >> 2] | 0; + $23 = $3; + HEAP32[$23 >> 2] = HEAP32[$17 >> 2]; + HEAP32[$23 + 4 >> 2] = $22; + $27 = $incdec$ptr$i$i$i$i; + HEAP32[$27 >> 2] = $9; + HEAP32[$27 + 4 >> 2] = $12; + __ZN6vision17PriorityQueueItemILi96EED2Ev($agg$tmp4$i$i$i$byval_copy); + HEAP32[$agg$tmp$i$i$i >> 2] = $5; + HEAP32[$agg$tmp3$i$i$i >> 2] = $incdec$ptr$i$i$i$i; + HEAP32[$agg$tmp4$i$i$i >> 2] = $5; + HEAP32[$agg$tmp$i$i$i$byval_copy >> 2] = HEAP32[$agg$tmp$i$i$i >> 2]; + HEAP32[$agg$tmp3$i$i$i$byval_copy >> 2] = HEAP32[$agg$tmp3$i$i$i >> 2]; + HEAP32[$agg$tmp4$i$i$i$byval_copy >> 2] = HEAP32[$agg$tmp4$i$i$i >> 2]; + __ZNSt3__211__sift_downIRNS_4lessIN6vision17PriorityQueueItemILi96EEEEENS_11__wrap_iterIPS4_EEEEvT0_SA_T_NS_15iterator_traitsISA_E15difference_typeESA_($agg$tmp$i$i$i$byval_copy, $agg$tmp3$i$i$i$byval_copy, $agg$tmp65$i, ($sub$ptr$sub$i$i$i >>> 3) + -1 | 0, $agg$tmp4$i$i$i$byval_copy); + $32 = HEAP32[$__end_$i$i >> 2] | 0; + } else $32 = $4; + $__soon_to_be_end$0$i$i$idx$i$i = 0; while (1) { - if (($i$3 | 0) == 3) break; - HEAPF32[$conv + ($j$1 << 4) + ($i$3 << 2) >> 2] = +HEAPF64[$mat + ($j$1 << 5) + ($i$3 << 3) >> 3]; - $i$3 = $i$3 + 1 | 0; + if (($__soon_to_be_end$0$i$i$idx$i$i | 0) == -1) break; + $__soon_to_be_end$0$i$i$add$i$i = $__soon_to_be_end$0$i$i$idx$i$i + -1 | 0; + __ZN6vision17PriorityQueueItemILi96EED2Ev($32 + ($__soon_to_be_end$0$i$i$add$i$i << 3) | 0); + $__soon_to_be_end$0$i$i$idx$i$i = $__soon_to_be_end$0$i$i$add$i$i; } - $j$1 = $j$1 + 1 | 0; + $add$ptr$i$i = $32 + -8 | 0; + HEAP32[$__end_$i$i >> 2] = $add$ptr$i$i; + $4 = $add$ptr$i$i; } - $conv143 = $div; - $conv148 = $div17; - $conv153 = $div19; - HEAPF32[$conv + 12 >> 2] = +HEAPF64[$mat + 24 >> 3] - +HEAPF64[$mat >> 3] * $conv143 - +HEAPF64[$mat + 8 >> 3] * $conv148 - +HEAPF64[$mat + 16 >> 3] * $conv153; - HEAPF32[$conv + 28 >> 2] = +HEAPF64[$mat + 56 >> 3] - +HEAPF64[$mat + 32 >> 3] * $conv143 - +HEAPF64[$mat + 40 >> 3] * $conv148 - +HEAPF64[$mat + 48 >> 3] * $conv153; - HEAPF32[$conv + 44 >> 2] = +HEAPF64[$mat + 88 >> 3] - +HEAPF64[$mat + 64 >> 3] * $conv143 - +HEAPF64[$mat + 72 >> 3] * $conv148 - +HEAPF64[$mat + 80 >> 3] * $conv153; + __ZNK6vision28BinaryHierarchicalClusteringILi96EE5queryERNSt3__214priority_queueINS_17PriorityQueueItemILi96EEENS2_6vectorIS5_NS2_9allocatorIS5_EEEENS2_4lessIS5_EEEEPKNS_4NodeILi96EEEPKh($this, $mQueue, HEAP32[$__value_$i$i$i >> 2] | 0, $feature); STACKTOP = sp; - return +(+HEAPF64[$err >> 3]); + return (HEAP32[$__end_$i$i$i >> 2] | 0) - (HEAP32[$mQueryReverseIndex >> 2] | 0) >> 2 | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E20parseUnnamedTypeNameEPNS5_9NameStateE($0) { - $0 = $0 | 0; - var $$0 = 0, $$3 = 0, $$4 = 0, $$5 = 0, $$byval_copy2 = 0, $1 = 0, $12 = 0, $13 = 0, $15 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, label = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 48 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); - $$byval_copy2 = sp + 40 | 0; - $1 = sp + 32 | 0; - $2 = sp + 24 | 0; - $3 = sp; - $4 = sp + 8 | 0; - $5 = sp + 16 | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($1, 55241); - HEAP32[$$byval_copy2 >> 2] = HEAP32[$1 >> 2]; - HEAP32[$$byval_copy2 + 4 >> 2] = HEAP32[$1 + 4 >> 2]; - if (!(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($0, $$byval_copy2) | 0)) { - __ZN12_GLOBAL__N_110StringViewC2EPKc($2, 55244); - HEAP32[$$byval_copy2 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy2 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($0, $$byval_copy2) | 0) { - __ZN12_GLOBAL__N_116itanium_demangle9NodeArrayC2Ev($3); - __ZN12_GLOBAL__N_114SwapAndRestoreIbEC2ERbb($4, $0 + 362 | 0, 1); - __ZN12_GLOBAL__N_110StringViewC2EPKc($5, 55247); - HEAP32[$$byval_copy2 >> 2] = HEAP32[$5 >> 2]; - HEAP32[$$byval_copy2 + 4 >> 2] = HEAP32[$5 + 4 >> 2]; - do if (!(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($0, $$byval_copy2) | 0)) { - $12 = $0 + 8 | 0; - $13 = __ZNK12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE4sizeEv($12) | 0; - while (1) { - $15 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseTypeEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0) | 0; - HEAP32[$$byval_copy2 >> 2] = $15; - if (!$15) { - label = 11; +function _jpeg_consume_input($cinfo) { + $cinfo = $cinfo | 0; + var $$sink20 = 0, $$sink21 = 0, $0 = 0, $10 = 0, $11 = 0, $14 = 0, $15 = 0, $18 = 0, $21 = 0, $22 = 0, $25 = 0, $28 = 0, $7 = 0, $8 = 0, $9 = 0, $call = 0, $cmp$i = 0, $global_state = 0, $inputctl = 0, $inputctl3$pre$phiZ2D = 0, $retcode$0 = 0; + $global_state = $cinfo + 20 | 0; + $0 = HEAP32[$global_state >> 2] | 0; + switch ($0 | 0) { + case 200: + { + $inputctl = $cinfo + 460 | 0; + FUNCTION_TABLE_vi[HEAP32[(HEAP32[$inputctl >> 2] | 0) + 4 >> 2] & 255]($cinfo); + FUNCTION_TABLE_vi[HEAP32[(HEAP32[$cinfo + 24 >> 2] | 0) + 8 >> 2] & 255]($cinfo); + HEAP32[$global_state >> 2] = 201; + $inputctl3$pre$phiZ2D = $inputctl; + break; + } + case 201: + { + $inputctl3$pre$phiZ2D = $cinfo + 460 | 0; + break; + } + case 210: + case 208: + case 207: + case 206: + case 205: + case 204: + case 203: + { + $retcode$0 = FUNCTION_TABLE_ii[HEAP32[HEAP32[$cinfo + 460 >> 2] >> 2] & 127]($cinfo) | 0; + return $retcode$0 | 0; + } + case 202: + { + $retcode$0 = 1; + return $retcode$0 | 0; + } + default: + { + $28 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$28 + 20 >> 2] = 21; + HEAP32[$28 + 24 >> 2] = $0; + FUNCTION_TABLE_vi[HEAP32[HEAP32[$cinfo >> 2] >> 2] & 255]($cinfo); + $retcode$0 = 0; + return $retcode$0 | 0; + } + } + $call = FUNCTION_TABLE_ii[HEAP32[HEAP32[$inputctl3$pre$phiZ2D >> 2] >> 2] & 127]($cinfo) | 0; + if (($call | 0) != 1) { + $retcode$0 = $call; + return $retcode$0 | 0; + } + $7 = HEAP32[$cinfo + 36 >> 2] | 0; + L13 : do switch ($7 | 0) { + case 1: + { + $$sink20 = $7; + $$sink21 = $7; + break; + } + case 3: + { + $8 = HEAP32[$cinfo + 216 >> 2] | 0; + $9 = HEAP32[$8 >> 2] | 0; + $10 = HEAP32[$8 + 88 >> 2] | 0; + $11 = HEAP32[$8 + 176 >> 2] | 0; + $cmp$i = ($9 | 0) == 1; + if (!($cmp$i & ($10 | 0) == 2 & ($11 | 0) == 3)) if (!($cmp$i & ($10 | 0) == 34 & ($11 | 0) == 35)) if (!(($9 | 0) == 82 & ($10 | 0) == 71 & ($11 | 0) == 66)) if (!(($9 | 0) == 114 & ($10 | 0) == 103 & ($11 | 0) == 98)) if (!(HEAP32[$cinfo + 284 >> 2] | 0)) { + if (!(HEAP32[$cinfo + 296 >> 2] | 0)) { + $18 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$18 + 24 >> 2] = $9; + HEAP32[$18 + 28 >> 2] = $10; + HEAP32[$18 + 32 >> 2] = $11; + HEAP32[$18 + 20 >> 2] = 113; + FUNCTION_TABLE_vii[HEAP32[$18 + 4 >> 2] & 255]($cinfo, 1); + $$sink20 = 2; + $$sink21 = 3; + break L13; + } + $14 = HEAP8[$cinfo + 300 >> 0] | 0; + switch ($14 << 24 >> 24) { + case 0: + { + $$sink20 = 2; + $$sink21 = 2; + break L13; break; } - __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE9push_backERKS3_($12, $$byval_copy2); - if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($0, 69) | 0) { - label = 10; + case 1: + { + $$sink20 = 2; + $$sink21 = 3; + break L13; break; } - } - if ((label | 0) == 10) { - __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E20popTrailingNodeArrayEm($3, $0, $13); - label = 12; - break; - } else if ((label | 0) == 11) { - $$4 = 0; - break; - } - } else label = 12; while (0); - if ((label | 0) == 12) { - __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E11parseNumberEb($$byval_copy2, $0, 0); - if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($0, 95) | 0) $$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_15ClosureTypeNameEJRNS0_9NodeArrayERNS_10StringViewEEEEPNS0_4NodeEDpOT0_($0, $3, $$byval_copy2) | 0; else $$3 = 0; - $$4 = $$3; - } - __ZN12_GLOBAL__N_114SwapAndRestoreIbED2Ev($4); - $$5 = $$4; - } else $$5 = 0; - } else { - __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E11parseNumberEb($$byval_copy2, $0, 0); - if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($0, 95) | 0) $$0 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_15UnnamedTypeNameEJRNS_10StringViewEEEEPNS0_4NodeEDpOT0_($0, $$byval_copy2) | 0; else $$0 = 0; - $$5 = $$0; - } - STACKTOP = sp; - return $$5 | 0; -} - -function _ar2Tracking2dSub($handle, $surfaceSet, $candidate, $dataPtr, $mfImage, $templ, $result) { - $handle = $handle | 0; - $surfaceSet = $surfaceSet | 0; - $candidate = $candidate | 0; - $dataPtr = $dataPtr | 0; - $mfImage = $mfImage | 0; - $templ = $templ | 0; - $result = $result | 0; - var $0 = 0, $1 = 0, $11 = 0, $12 = 0, $13 = 0, $18 = 0, $2 = 0, $24 = 0, $3 = 0, $37 = 0, $40 = 0, $44 = 0, $7 = 0, $arraydecay = 0, $arraydecay40 = 0, $arraydecay67$pre$phiZ2D = 0, $bx = 0, $by = 0, $call = 0, $conv = 0.0, $cparamLT = 0, $mx = 0, $my = 0, $retval$0 = 0, $search = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $search = sp; - $bx = sp + 28 | 0; - $by = sp + 24 | 0; - $0 = HEAP32[$candidate >> 2] | 0; - $1 = HEAP32[$candidate + 4 >> 2] | 0; - $2 = HEAP32[$candidate + 8 >> 2] | 0; - $3 = HEAP32[$templ >> 2] | 0; - if (!$3) { - $call = _ar2GenTemplate(HEAP32[$handle + 28 >> 2] | 0, HEAP32[$handle + 32 >> 2] | 0) | 0; - HEAP32[$templ >> 2] = $call; - $11 = $call; - } else $11 = $3; - $cparamLT = $handle + 12 | 0; - $arraydecay = $handle + 48 + ($0 * 48 | 0) | 0; - $7 = HEAP32[$surfaceSet >> 2] | 0; - if ((_ar2SetTemplateSub(HEAP32[$cparamLT >> 2] | 0, $arraydecay, HEAP32[$7 + ($0 * 112 | 0) >> 2] | 0, (HEAP32[HEAP32[$7 + ($0 * 112 | 0) + 4 >> 2] >> 2] | 0) + ($1 * 20 | 0) | 0, $2, $11) | 0) >= 0 ? ($12 = HEAP32[$templ >> 2] | 0, $13 = HEAP32[$12 + 28 >> 2] | 0, $conv = +(Math_imul($13, $13) | 0), !(+(Math_imul((HEAP32[$12 + 16 >> 2] | 0) + 1 + (HEAP32[$12 + 20 >> 2] | 0) | 0, (HEAP32[$12 + 8 >> 2] | 0) + 1 + (HEAP32[$12 + 12 >> 2] | 0) | 0) | 0) * 5.0 * 5.0 > $conv)) : 0) { - $18 = HEAP32[$surfaceSet + 152 >> 2] | 0; - do if (($18 | 0) != 1) { - $24 = HEAP32[$cparamLT >> 2] | 0; - $arraydecay40 = $handle + 528 + ($0 * 48 | 0) | 0; - if (($18 | 0) == 2) { - _ar2GetSearchPoint($24, $arraydecay, $arraydecay40, 0, (HEAP32[(HEAP32[HEAP32[(HEAP32[$surfaceSet >> 2] | 0) + ($0 * 112 | 0) + 4 >> 2] >> 2] | 0) + ($1 * 20 | 0) >> 2] | 0) + ($2 * 20 | 0) | 0, $search); - $arraydecay67$pre$phiZ2D = $search; - break; - } else { - _ar2GetSearchPoint($24, $arraydecay, $arraydecay40, $handle + 1008 + ($0 * 48 | 0) | 0, (HEAP32[(HEAP32[HEAP32[(HEAP32[$surfaceSet >> 2] | 0) + ($0 * 112 | 0) + 4 >> 2] >> 2] | 0) + ($1 * 20 | 0) >> 2] | 0) + ($2 * 20 | 0) | 0, $search); - $arraydecay67$pre$phiZ2D = $search; - break; - } - } else { - _ar2GetSearchPoint(HEAP32[$cparamLT >> 2] | 0, $arraydecay, 0, 0, (HEAP32[(HEAP32[HEAP32[(HEAP32[$surfaceSet >> 2] | 0) + ($0 * 112 | 0) + 4 >> 2] >> 2] | 0) + ($1 * 20 | 0) >> 2] | 0) + ($2 * 20 | 0) | 0, $search); - $arraydecay67$pre$phiZ2D = $search; - } while (0); - $37 = HEAP32[$handle + 24 >> 2] | 0; - if ((_ar2GetBestMatching($dataPtr, $mfImage, HEAP32[$handle + 4 >> 2] | 0, HEAP32[$handle + 8 >> 2] | 0, HEAP32[$handle + 20 >> 2] | 0, HEAP32[$templ >> 2] | 0, $37, $37, $arraydecay67$pre$phiZ2D, $bx, $by, $result) | 0) >= 0) { - HEAPF32[$result + 4 >> 2] = +(HEAP32[$bx >> 2] | 0); - HEAPF32[$result + 8 >> 2] = +(HEAP32[$by >> 2] | 0); - $40 = HEAP32[$surfaceSet >> 2] | 0; - $44 = HEAP32[(HEAP32[HEAP32[$40 + ($0 * 112 | 0) + 4 >> 2] >> 2] | 0) + ($1 * 20 | 0) >> 2] | 0; - $mx = $44 + ($2 * 20 | 0) + 8 | 0; - $my = $44 + ($2 * 20 | 0) + 12 | 0; - HEAPF32[$result + 12 >> 2] = +HEAPF32[$40 + ($0 * 112 | 0) + 24 >> 2] + (+HEAPF32[$40 + ($0 * 112 | 0) + 12 >> 2] * +HEAPF32[$mx >> 2] + +HEAPF32[$40 + ($0 * 112 | 0) + 16 >> 2] * +HEAPF32[$my >> 2]); - HEAPF32[$result + 16 >> 2] = +HEAPF32[$40 + ($0 * 112 | 0) + 40 >> 2] + (+HEAPF32[$40 + ($0 * 112 | 0) + 28 >> 2] * +HEAPF32[$mx >> 2] + +HEAPF32[$40 + ($0 * 112 | 0) + 32 >> 2] * +HEAPF32[$my >> 2]); - HEAPF32[$result + 20 >> 2] = +HEAPF32[$40 + ($0 * 112 | 0) + 56 >> 2] + (+HEAPF32[$40 + ($0 * 112 | 0) + 44 >> 2] * +HEAPF32[$mx >> 2] + +HEAPF32[$40 + ($0 * 112 | 0) + 48 >> 2] * +HEAPF32[$my >> 2]); - $retval$0 = 0; - } else $retval$0 = -1; - } else $retval$0 = -1; - STACKTOP = sp; - return $retval$0 | 0; -} - -function _minvf($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$0 = 0, $$0130 = 0.0, $$0131 = 0, $$0133 = 0, $$0135 = 0, $$0138 = 0, $$0142 = 0, $$0145 = 0, $$1132 = 0, $$1136 = 0, $$1139 = 0, $$1143 = 0, $$1146 = 0, $$2 = 0, $$2137 = 0, $$2140 = 0, $$2144 = 0, $$2147 = 0, $$3 = 0, $$3141 = 0, $$4 = 0, $13 = 0, $15 = 0.0, $16 = 0, $21 = 0, $22 = 0, $23 = 0, $27 = 0, $3 = 0, $32 = 0.0, $33 = 0, $40 = 0, $41 = 0.0, $42 = 0, $56 = 0, $65 = 0, $indvars$iv = 0, $indvars$iv154 = 0, $scevgep = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 2e3 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(2e3); - $3 = sp; - L1 : do if (($1 | 0) > 500) $$0 = 0; else { - switch ($1 | 0) { - case 0: - { - $$0 = 0; - break L1; - break; - } - case 1: - { - HEAPF32[$0 >> 2] = 1.0 / +HEAPF32[$0 >> 2]; - $$0 = $0; - break L1; - break; + default: + { + $15 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$15 + 20 >> 2] = 116; + HEAP32[$15 + 24 >> 2] = $14 & 255; + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$cinfo >> 2] | 0) + 4 >> 2] & 255]($cinfo, -1); + $$sink20 = 2; + $$sink21 = 3; + break L13; + } + } + } else { + $$sink20 = 2; + $$sink21 = 3; + } else { + $$sink20 = 2; + $$sink21 = 6; + } else { + $$sink20 = 2; + $$sink21 = 2; + } else { + $$sink20 = 2; + $$sink21 = 7; + } else { + $$sink20 = 2; + $$sink21 = 3; } - default: - {} - } - $$0135 = 0; - while (1) { - if (($$0135 | 0) >= ($1 | 0)) break; - HEAP32[$3 + ($$0135 << 2) >> 2] = $$0135; - $$0135 = $$0135 + 1 | 0; + break; } - $scevgep = $0 + ($1 + -1 << 2) | 0; - $$1136 = 0; - $indvars$iv = $scevgep; - while (1) { - if (($$1136 | 0) >= ($1 | 0)) break; - $13 = $0 + ((Math_imul($$1136, $2) | 0) << 2) | 0; - $$0130 = 0.0; - $$0131 = $13; - $$0133 = -1; - $$0142 = $$1136; - while (1) { - if (($$0142 | 0) == ($1 | 0)) break; - $15 = +Math_abs(+(+HEAPF32[$$0131 >> 2])); - $16 = $$0130 < $15; - $$0130 = $16 ? $15 : $$0130; - $$0131 = $$0131 + ($2 << 2) | 0; - $$0133 = $16 ? $$0142 : $$0133; - $$0142 = $$0142 + 1 | 0; - } - if (($$0133 | 0) == -1 | $$0130 <= 1.000000013351432e-10) { - $$0 = 0; - break L1; - } - $21 = $3 + ($$0133 << 2) | 0; - $22 = HEAP32[$21 >> 2] | 0; - $23 = $3 + ($$1136 << 2) | 0; - HEAP32[$21 >> 2] = HEAP32[$23 >> 2]; - HEAP32[$23 >> 2] = $22; - $$0138 = 0; - $$0145 = $13; - $$1132 = $0 + ((Math_imul($$0133, $2) | 0) << 2) | 0; - while (1) { - if (($$0138 | 0) == ($1 | 0)) break; - $27 = HEAP32[$$1132 >> 2] | 0; - HEAP32[$$1132 >> 2] = HEAP32[$$0145 >> 2]; - HEAP32[$$0145 >> 2] = $27; - $$0138 = $$0138 + 1 | 0; - $$0145 = $$0145 + 4 | 0; - $$1132 = $$1132 + 4 | 0; - } - $32 = +HEAPF32[$13 >> 2]; - $$1139 = 1; - $$2 = $13; - while (1) { - if (($$1139 | 0) == ($1 | 0)) break; - $33 = $$2 + 4 | 0; - HEAPF32[$$2 >> 2] = +HEAPF32[$33 >> 2] / $32; - $$1139 = $$1139 + 1 | 0; - $$2 = $33; - } - HEAPF32[$indvars$iv >> 2] = 1.0 / $32; - $$1143 = 0; - $indvars$iv154 = $scevgep; - while (1) { - if (($$1143 | 0) == ($1 | 0)) break; - if (($$1143 | 0) != ($$1136 | 0)) { - $40 = $0 + ((Math_imul($$1143, $2) | 0) << 2) | 0; - $41 = +HEAPF32[$40 >> 2]; - $$1146 = $13; - $$2140 = 1; - $$3 = $40; - while (1) { - if (($$2140 | 0) == ($1 | 0)) break; - $42 = $$3 + 4 | 0; - HEAPF32[$$3 >> 2] = +HEAPF32[$42 >> 2] - $41 * +HEAPF32[$$1146 >> 2]; - $$1146 = $$1146 + 4 | 0; - $$2140 = $$2140 + 1 | 0; - $$3 = $42; + case 4: + { + if (!(HEAP32[$cinfo + 296 >> 2] | 0)) { + $$sink20 = 4; + $$sink21 = 4; + } else { + $21 = HEAP8[$cinfo + 300 >> 0] | 0; + switch ($21 << 24 >> 24) { + case 0: + { + $$sink20 = 4; + $$sink21 = 4; + break L13; + break; + } + case 2: + { + $$sink20 = 4; + $$sink21 = 5; + break L13; + break; + } + default: + { + $22 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$22 + 20 >> 2] = 116; + HEAP32[$22 + 24 >> 2] = $21 & 255; + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$cinfo >> 2] | 0) + 4 >> 2] & 255]($cinfo, -1); + $$sink20 = 4; + $$sink21 = 5; + break L13; } - HEAPF32[$indvars$iv154 >> 2] = -($41 * +HEAPF32[$indvars$iv >> 2]); } - $$1143 = $$1143 + 1 | 0; - $indvars$iv154 = $indvars$iv154 + ($2 << 2) | 0; } - $$1136 = $$1136 + 1 | 0; - $indvars$iv = $indvars$iv + ($2 << 2) | 0; + break; } - $$2137 = 0; - while (1) { - if (($$2137 | 0) >= ($1 | 0)) { - $$0 = $0; - break L1; - } - $$3141 = $$2137; - while (1) { - $56 = $3 + ($$3141 << 2) | 0; - if (($$3141 | 0) >= ($1 | 0)) break; - if ((HEAP32[$56 >> 2] | 0) == ($$2137 | 0)) break; - $$3141 = $$3141 + 1 | 0; - } - HEAP32[$56 >> 2] = HEAP32[$3 + ($$2137 << 2) >> 2]; - $$2144 = 0; - $$2147 = $0 + ($$2137 << 2) | 0; - $$4 = $0 + ($$3141 << 2) | 0; - while (1) { - if (($$2144 | 0) >= ($1 | 0)) break; - $65 = HEAP32[$$4 >> 2] | 0; - HEAP32[$$4 >> 2] = HEAP32[$$2147 >> 2]; - HEAP32[$$2147 >> 2] = $65; - $$2144 = $$2144 + 1 | 0; - $$2147 = $$2147 + ($2 << 2) | 0; - $$4 = $$4 + ($2 << 2) | 0; - } - $$2137 = $$2137 + 1 | 0; + default: + { + $$sink20 = 0; + $$sink21 = 0; } } while (0); - STACKTOP = sp; - return $$0 | 0; -} - -function __ZNSt3__213unordered_mapIiNS_6vectorIN6vision7Point3dIfEENS_9allocatorIS4_EEEENS_4hashIiEENS_8equal_toIiEENS5_INS_4pairIKiS7_EEEEEixERSD_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0$i = 0, $$053$i = 0, $$054$i = 0, $$1$i = 0, $$155$i = 0, $$pn$i = 0, $$pre$phi$iZ2D = 0, $11 = 0, $17 = 0, $18 = 0, $2 = 0, $22 = 0, $28 = 0, $3 = 0, $32 = 0, $35 = 0.0, $38 = 0.0, $4 = 0, $48 = 0, $5 = 0, $51 = 0, $53 = 0, $54 = 0, $6 = 0, $62 = 0, $64 = 0, $7 = 0, $70 = 0, $71 = 0, $74 = 0, $75 = 0, $8 = 0, $83 = 0, $87 = 0, $9 = 0, label = 0, sp = 0; + HEAP32[$cinfo + 40 >> 2] = $$sink21; + HEAP32[$cinfo + 44 >> 2] = $$sink20; + $25 = HEAP32[$cinfo + 428 >> 2] | 0; + HEAP32[$cinfo + 48 >> 2] = $25; + HEAP32[$cinfo + 52 >> 2] = $25; + HEAPF64[$cinfo + 56 >> 3] = 1.0; + HEAP32[$cinfo + 64 >> 2] = 0; + HEAP32[$cinfo + 68 >> 2] = 0; + HEAP32[$cinfo + 72 >> 2] = 0; + HEAP32[$cinfo + 76 >> 2] = 1; + HEAP32[$cinfo + 80 >> 2] = 1; + HEAP32[$cinfo + 84 >> 2] = 0; + HEAP32[$cinfo + 88 >> 2] = 2; + HEAP32[$cinfo + 92 >> 2] = 1; + HEAP32[$cinfo + 96 >> 2] = 256; + HEAP32[$cinfo + 136 >> 2] = 0; + HEAP32[$cinfo + 100 >> 2] = 0; + HEAP32[$cinfo + 104 >> 2] = 0; + HEAP32[$cinfo + 108 >> 2] = 0; + HEAP32[$global_state >> 2] = 202; + $retcode$0 = 1; + return $retcode$0 | 0; +} + +function __ZNKSt3__27codecvtIwc11__mbstate_tE5do_inERS1_PKcS5_RS5_PwS7_RS7_($this, $st, $frm, $frm_end, $frm_nxt, $to, $to_end, $to_nxt) { + $this = $this | 0; + $st = $st | 0; + $frm = $frm | 0; + $frm_end = $frm_end | 0; + $frm_nxt = $frm_nxt | 0; + $to = $to | 0; + $to_end = $to_end | 0; + $to_nxt = $to_nxt | 0; + var $$pre = 0, $$sink = 0, $1 = 0, $20 = 0, $21 = 0, $22 = 0, $6 = 0, $7 = 0, $__l = 0, $add$ptr31 = 0, $call$i = 0, $call$i$i = 0, $call$i$i59 = 0, $call$i$i64 = 0, $call$i60 = 0, $call$i65 = 0, $fend$0 = 0, $fend$0$lcssa = 0, $fend$1 = 0, $fend$2 = 0, $fend$2$lcssa = 0, $fend$4$ph = 0, $frm$addr$0 = 0, $frm$addr$1 = 0, $incdec$ptr43 = 0, $retval$1$ph = 0, $retval$2 = 0, $save_state = 0, $storemerge = 0, $sub$ptr$lhs$cast$le = 0, $sub$ptr$lhs$cast7 = 0, $to$addr$0 = 0, label = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $2 = sp + 4 | 0; - $3 = sp; - $4 = sp + 16 | 0; - HEAP32[$3 >> 2] = $1; - $5 = HEAP32[$1 >> 2] | 0; - $6 = $0 + 4 | 0; - $7 = HEAP32[$6 >> 2] | 0; - $8 = ($7 | 0) == 0; - L1 : do if (!$8) { - $9 = $7 + -1 | 0; - $11 = ($9 & $7 | 0) == 0; - if (!$11) if ($5 >>> 0 < $7 >>> 0) $17 = $5; else $17 = ($5 >>> 0) % ($7 >>> 0) | 0; else $17 = $9 & $5; - $18 = HEAP32[(HEAP32[$0 >> 2] | 0) + ($17 << 2) >> 2] | 0; - if (!$18) { - $$054$i = $17; - label = 16; - } else { - $$pn$i = $18; - while (1) { - $$053$i = HEAP32[$$pn$i >> 2] | 0; - if (!$$053$i) { - $$054$i = $17; - label = 16; - break L1; - } - $22 = HEAP32[$$053$i + 4 >> 2] | 0; - if (($22 | 0) != ($5 | 0)) { - if (!$11) if ($22 >>> 0 < $7 >>> 0) $28 = $22; else $28 = ($22 >>> 0) % ($7 >>> 0) | 0; else $28 = $22 & $9; - if (($28 | 0) != ($17 | 0)) { - $$054$i = $17; - label = 16; - break L1; - } - } - if ((HEAP32[$$053$i + 8 >> 2] | 0) == ($5 | 0)) { - $$1$i = $$053$i; - break; - } else $$pn$i = $$053$i; - } + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $save_state = sp; + $fend$0 = $frm; + while (1) { + if (($fend$0 | 0) == ($frm_end | 0)) { + $fend$0$lcssa = $frm_end; + break; } - } else { - $$054$i = 0; - label = 16; - } while (0); - if ((label | 0) == 16) { - __ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_6vectorIN6vision7Point3dIfEENS_9allocatorIS5_EEEEEENS_22__unordered_map_hasherIiS9_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS9_NS_8equal_toIiEELb1EEENS6_IS9_EEE21__construct_node_hashIRKNS_21piecewise_construct_tEJNS_5tupleIJRKiEEENSO_IJEEEEEENS_10unique_ptrINS_11__hash_nodeIS9_PvEENS_22__hash_node_destructorINS6_ISW_EEEEEEmOT_DpOT0_($2, $0, $5, 67436, $3, $4); - $32 = $0 + 12 | 0; - $35 = +(((HEAP32[$32 >> 2] | 0) + 1 | 0) >>> 0); - $38 = +HEAPF32[$0 + 16 >> 2]; - do if ($8 | $38 * +($7 >>> 0) < $35) { - $48 = $7 << 1 | ($7 >>> 0 < 3 | ($7 + -1 & $7 | 0) != 0) & 1; - $51 = ~~+Math_ceil(+($35 / $38)) >>> 0; - __ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_6vectorIN6vision7Point3dIfEENS_9allocatorIS5_EEEEEENS_22__unordered_map_hasherIiS9_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS9_NS_8equal_toIiEELb1EEENS6_IS9_EEE6rehashEm($0, $48 >>> 0 < $51 >>> 0 ? $51 : $48); - $53 = HEAP32[$6 >> 2] | 0; - $54 = $53 + -1 | 0; - if (!($54 & $53)) { - $$0$i = $53; - $$155$i = $54 & $5; - break; - } - if ($5 >>> 0 < $53 >>> 0) { - $$0$i = $53; - $$155$i = $5; - } else { - $$0$i = $53; - $$155$i = ($5 >>> 0) % ($53 >>> 0) | 0; - } - } else { - $$0$i = $7; - $$155$i = $$054$i; - } while (0); - $62 = HEAP32[(HEAP32[$0 >> 2] | 0) + ($$155$i << 2) >> 2] | 0; - if (!$62) { - $64 = $0 + 8 | 0; - HEAP32[HEAP32[$2 >> 2] >> 2] = HEAP32[$64 >> 2]; - HEAP32[$64 >> 2] = HEAP32[$2 >> 2]; - HEAP32[(HEAP32[$0 >> 2] | 0) + ($$155$i << 2) >> 2] = $64; - $70 = HEAP32[$2 >> 2] | 0; - $71 = HEAP32[$70 >> 2] | 0; - if (!$71) $$pre$phi$iZ2D = $2; else { - $74 = HEAP32[$71 + 4 >> 2] | 0; - $75 = $$0$i + -1 | 0; - if ($75 & $$0$i) if ($74 >>> 0 < $$0$i >>> 0) $83 = $74; else $83 = ($74 >>> 0) % ($$0$i >>> 0) | 0; else $83 = $74 & $75; - HEAP32[(HEAP32[$0 >> 2] | 0) + ($83 << 2) >> 2] = $70; - $$pre$phi$iZ2D = $2; - } - } else { - HEAP32[HEAP32[$2 >> 2] >> 2] = HEAP32[$62 >> 2]; - HEAP32[$62 >> 2] = HEAP32[$2 >> 2]; - $$pre$phi$iZ2D = $2; + if (!(HEAP8[$fend$0 >> 0] | 0)) { + $fend$0$lcssa = $fend$0; + break; } - $87 = HEAP32[$$pre$phi$iZ2D >> 2] | 0; - HEAP32[$32 >> 2] = (HEAP32[$32 >> 2] | 0) + 1; - HEAP32[$$pre$phi$iZ2D >> 2] = 0; - $$1$i = $87; + $fend$0 = $fend$0 + 1 | 0; } - STACKTOP = sp; - return $$1$i + 12 | 0; -} - -function __ZNSt3__213unordered_mapIiNS_10shared_ptrIN6vision8KeyframeILi96EEEEENS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS5_EEEEEixERSC_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0$i = 0, $$053$i = 0, $$054$i = 0, $$1$i = 0, $$155$i = 0, $$pn$i = 0, $$pre$phi$iZ2D = 0, $11 = 0, $17 = 0, $18 = 0, $2 = 0, $22 = 0, $28 = 0, $3 = 0, $32 = 0, $35 = 0.0, $38 = 0.0, $4 = 0, $48 = 0, $5 = 0, $51 = 0, $53 = 0, $54 = 0, $6 = 0, $62 = 0, $64 = 0, $7 = 0, $70 = 0, $71 = 0, $74 = 0, $75 = 0, $8 = 0, $83 = 0, $87 = 0, $9 = 0, label = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $2 = sp + 4 | 0; - $3 = sp; - $4 = sp + 16 | 0; - HEAP32[$3 >> 2] = $1; - $5 = HEAP32[$1 >> 2] | 0; - $6 = $0 + 4 | 0; - $7 = HEAP32[$6 >> 2] | 0; - $8 = ($7 | 0) == 0; - L1 : do if (!$8) { - $9 = $7 + -1 | 0; - $11 = ($9 & $7 | 0) == 0; - if (!$11) if ($5 >>> 0 < $7 >>> 0) $17 = $5; else $17 = ($5 >>> 0) % ($7 >>> 0) | 0; else $17 = $9 & $5; - $18 = HEAP32[(HEAP32[$0 >> 2] | 0) + ($17 << 2) >> 2] | 0; - if (!$18) { - $$054$i = $17; - label = 16; + HEAP32[$to_nxt >> 2] = $to; + HEAP32[$frm_nxt >> 2] = $frm; + $sub$ptr$lhs$cast7 = $to_end; + $__l = $this + 8 | 0; + $fend$1 = $fend$0$lcssa; + $frm$addr$0 = $frm; + $to$addr$0 = $to; + while (1) { + if (($to$addr$0 | 0) == ($to_end | 0) | ($frm$addr$0 | 0) == ($frm_end | 0)) { + $20 = $frm$addr$0; + label = 33; + break; + } + $1 = $st; + $6 = HEAP32[$1 + 4 >> 2] | 0; + $7 = $save_state; + HEAP32[$7 >> 2] = HEAP32[$1 >> 2]; + HEAP32[$7 + 4 >> 2] = $6; + $call$i$i = ___uselocale(HEAP32[$__l >> 2] | 0) | 0; + $call$i = _mbsnrtowcs($to$addr$0, $frm_nxt, $fend$1 - $frm$addr$0 | 0, $sub$ptr$lhs$cast7 - $to$addr$0 >> 2, $st) | 0; + if ($call$i$i | 0) ___uselocale($call$i$i) | 0; + if (($call$i | 0) == -1) { + label = 10; + break; + } + $add$ptr31 = (HEAP32[$to_nxt >> 2] | 0) + ($call$i << 2) | 0; + HEAP32[$to_nxt >> 2] = $add$ptr31; + if (($add$ptr31 | 0) == ($to_end | 0)) { + label = 30; + break; + } + $$pre = HEAP32[$frm_nxt >> 2] | 0; + if (($fend$1 | 0) == ($frm_end | 0)) { + $21 = $add$ptr31; + $22 = $$pre; + $fend$4$ph = $frm_end; } else { - $$pn$i = $18; + $call$i$i64 = ___uselocale(HEAP32[$__l >> 2] | 0) | 0; + $call$i65 = _mbrtowc($add$ptr31, $$pre, 1, $st) | 0; + if ($call$i$i64 | 0) ___uselocale($call$i$i64) | 0; + if ($call$i65 | 0) { + $retval$1$ph = 2; + label = 29; + break; + } + HEAP32[$to_nxt >> 2] = (HEAP32[$to_nxt >> 2] | 0) + 4; + $incdec$ptr43 = (HEAP32[$frm_nxt >> 2] | 0) + 1 | 0; + HEAP32[$frm_nxt >> 2] = $incdec$ptr43; + $fend$2 = $incdec$ptr43; while (1) { - $$053$i = HEAP32[$$pn$i >> 2] | 0; - if (!$$053$i) { - $$054$i = $17; - label = 16; - break L1; - } - $22 = HEAP32[$$053$i + 4 >> 2] | 0; - if (($22 | 0) != ($5 | 0)) { - if (!$11) if ($22 >>> 0 < $7 >>> 0) $28 = $22; else $28 = ($22 >>> 0) % ($7 >>> 0) | 0; else $28 = $22 & $9; - if (($28 | 0) != ($17 | 0)) { - $$054$i = $17; - label = 16; - break L1; - } + if (($fend$2 | 0) == ($frm_end | 0)) { + $fend$2$lcssa = $frm_end; + break; } - if ((HEAP32[$$053$i + 8 >> 2] | 0) == ($5 | 0)) { - $$1$i = $$053$i; + if (!(HEAP8[$fend$2 >> 0] | 0)) { + $fend$2$lcssa = $fend$2; break; - } else $$pn$i = $$053$i; - } - } - } else { - $$054$i = 0; - label = 16; - } while (0); - if ((label | 0) == 16) { - __ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_10shared_ptrIN6vision8KeyframeILi96EEEEEEENS_22__unordered_map_hasherIiS7_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS7_NS_8equal_toIiEELb1EEENS_9allocatorIS7_EEE21__construct_node_hashIRKNS_21piecewise_construct_tEJNS_5tupleIJRKiEEENSN_IJEEEEEENS_10unique_ptrINS_11__hash_nodeIS7_PvEENS_22__hash_node_destructorINSG_ISV_EEEEEEmOT_DpOT0_($2, $0, $5, 67436, $3, $4); - $32 = $0 + 12 | 0; - $35 = +(((HEAP32[$32 >> 2] | 0) + 1 | 0) >>> 0); - $38 = +HEAPF32[$0 + 16 >> 2]; - do if ($8 | $38 * +($7 >>> 0) < $35) { - $48 = $7 << 1 | ($7 >>> 0 < 3 | ($7 + -1 & $7 | 0) != 0) & 1; - $51 = ~~+Math_ceil(+($35 / $38)) >>> 0; - __ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_10shared_ptrIN6vision8KeyframeILi96EEEEEEENS_22__unordered_map_hasherIiS7_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS7_NS_8equal_toIiEELb1EEENS_9allocatorIS7_EEE6rehashEm($0, $48 >>> 0 < $51 >>> 0 ? $51 : $48); - $53 = HEAP32[$6 >> 2] | 0; - $54 = $53 + -1 | 0; - if (!($54 & $53)) { - $$0$i = $53; - $$155$i = $54 & $5; - break; - } - if ($5 >>> 0 < $53 >>> 0) { - $$0$i = $53; - $$155$i = $5; - } else { - $$0$i = $53; - $$155$i = ($5 >>> 0) % ($53 >>> 0) | 0; - } - } else { - $$0$i = $7; - $$155$i = $$054$i; - } while (0); - $62 = HEAP32[(HEAP32[$0 >> 2] | 0) + ($$155$i << 2) >> 2] | 0; - if (!$62) { - $64 = $0 + 8 | 0; - HEAP32[HEAP32[$2 >> 2] >> 2] = HEAP32[$64 >> 2]; - HEAP32[$64 >> 2] = HEAP32[$2 >> 2]; - HEAP32[(HEAP32[$0 >> 2] | 0) + ($$155$i << 2) >> 2] = $64; - $70 = HEAP32[$2 >> 2] | 0; - $71 = HEAP32[$70 >> 2] | 0; - if (!$71) $$pre$phi$iZ2D = $2; else { - $74 = HEAP32[$71 + 4 >> 2] | 0; - $75 = $$0$i + -1 | 0; - if ($75 & $$0$i) if ($74 >>> 0 < $$0$i >>> 0) $83 = $74; else $83 = ($74 >>> 0) % ($$0$i >>> 0) | 0; else $83 = $74 & $75; - HEAP32[(HEAP32[$0 >> 2] | 0) + ($83 << 2) >> 2] = $70; - $$pre$phi$iZ2D = $2; + } + $fend$2 = $fend$2 + 1 | 0; } - } else { - HEAP32[HEAP32[$2 >> 2] >> 2] = HEAP32[$62 >> 2]; - HEAP32[$62 >> 2] = HEAP32[$2 >> 2]; - $$pre$phi$iZ2D = $2; + $21 = HEAP32[$to_nxt >> 2] | 0; + $22 = $incdec$ptr43; + $fend$4$ph = $fend$2$lcssa; } - $87 = HEAP32[$$pre$phi$iZ2D >> 2] | 0; - HEAP32[$32 >> 2] = (HEAP32[$32 >> 2] | 0) + 1; - HEAP32[$$pre$phi$iZ2D >> 2] = 0; - $$1$i = $87; + $fend$1 = $fend$4$ph; + $frm$addr$0 = $22; + $to$addr$0 = $21; } - STACKTOP = sp; - return $$1$i + 12 | 0; -} - -function _minv($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$0 = 0, $$0128 = 0.0, $$0129 = 0, $$0131 = 0, $$0133 = 0, $$0136 = 0, $$0140 = 0, $$0143 = 0, $$1130 = 0, $$1134 = 0, $$1137 = 0, $$1141 = 0, $$1144 = 0, $$2 = 0, $$2135 = 0, $$2138 = 0, $$2142 = 0, $$2145 = 0, $$3 = 0, $$3139 = 0, $$4 = 0, $13 = 0, $15 = 0.0, $16 = 0, $21 = 0, $22 = 0, $23 = 0, $27 = 0.0, $3 = 0, $32 = 0.0, $33 = 0, $40 = 0, $41 = 0.0, $42 = 0, $56 = 0, $65 = 0.0, $indvars$iv = 0, $indvars$iv152 = 0, $scevgep = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 2e3 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(2e3); - $3 = sp; - L1 : do if (($1 | 0) > 500) $$0 = 0; else { - switch ($1 | 0) { - case 0: - { - $$0 = 0; - break L1; - break; - } - case 1: - { - HEAPF64[$0 >> 3] = 1.0 / +HEAPF64[$0 >> 3]; - $$0 = $0; - break L1; + do if ((label | 0) == 10) { + $sub$ptr$lhs$cast$le = $fend$1; + $frm$addr$1 = $frm$addr$0; + $storemerge = $to$addr$0; + L29 : while (1) { + HEAP32[$to_nxt >> 2] = $storemerge; + if (($frm$addr$1 | 0) == (HEAP32[$frm_nxt >> 2] | 0)) { + label = 19; break; } - default: - {} - } - $$0133 = 0; - while (1) { - if (($$0133 | 0) >= ($1 | 0)) break; - HEAP32[$3 + ($$0133 << 2) >> 2] = $$0133; - $$0133 = $$0133 + 1 | 0; - } - $scevgep = $0 + ($1 + -1 << 3) | 0; - $$1134 = 0; - $indvars$iv = $scevgep; - while (1) { - if (($$1134 | 0) >= ($1 | 0)) break; - $13 = $0 + ((Math_imul($$1134, $2) | 0) << 3) | 0; - $$0128 = 0.0; - $$0129 = $13; - $$0131 = -1; - $$0140 = $$1134; - while (1) { - if (($$0140 | 0) == ($1 | 0)) break; - $15 = +Math_abs(+(+HEAPF64[$$0129 >> 3])); - $16 = $$0128 < $15; - $$0128 = $16 ? $15 : $$0128; - $$0129 = $$0129 + ($2 << 3) | 0; - $$0131 = $16 ? $$0140 : $$0131; - $$0140 = $$0140 + 1 | 0; - } - if (($$0131 | 0) == -1 | $$0128 <= 1.0e-10) { - $$0 = 0; - break L1; - } - $21 = $3 + ($$0131 << 2) | 0; - $22 = HEAP32[$21 >> 2] | 0; - $23 = $3 + ($$1134 << 2) | 0; - HEAP32[$21 >> 2] = HEAP32[$23 >> 2]; - HEAP32[$23 >> 2] = $22; - $$0136 = 0; - $$0143 = $13; - $$1130 = $0 + ((Math_imul($$0131, $2) | 0) << 3) | 0; - while (1) { - if (($$0136 | 0) == ($1 | 0)) break; - $27 = +HEAPF64[$$1130 >> 3]; - HEAPF64[$$1130 >> 3] = +HEAPF64[$$0143 >> 3]; - HEAPF64[$$0143 >> 3] = $27; - $$0136 = $$0136 + 1 | 0; - $$0143 = $$0143 + 8 | 0; - $$1130 = $$1130 + 8 | 0; - } - $32 = +HEAPF64[$13 >> 3]; - $$1137 = 1; - $$2 = $13; - while (1) { - if (($$1137 | 0) == ($1 | 0)) break; - $33 = $$2 + 8 | 0; - HEAPF64[$$2 >> 3] = +HEAPF64[$33 >> 3] / $32; - $$1137 = $$1137 + 1 | 0; - $$2 = $33; - } - HEAPF64[$indvars$iv >> 3] = 1.0 / $32; - $$1141 = 0; - $indvars$iv152 = $scevgep; - while (1) { - if (($$1141 | 0) == ($1 | 0)) break; - if (($$1141 | 0) != ($$1134 | 0)) { - $40 = $0 + ((Math_imul($$1141, $2) | 0) << 3) | 0; - $41 = +HEAPF64[$40 >> 3]; - $$1144 = $13; - $$2138 = 1; - $$3 = $40; - while (1) { - if (($$2138 | 0) == ($1 | 0)) break; - $42 = $$3 + 8 | 0; - HEAPF64[$$3 >> 3] = +HEAPF64[$42 >> 3] - $41 * +HEAPF64[$$1144 >> 3]; - $$1144 = $$1144 + 8 | 0; - $$2138 = $$2138 + 1 | 0; - $$3 = $42; - } - HEAPF64[$indvars$iv152 >> 3] = -($41 * +HEAPF64[$indvars$iv >> 3]); + $call$i$i59 = ___uselocale(HEAP32[$__l >> 2] | 0) | 0; + $call$i60 = _mbrtowc($storemerge, $frm$addr$1, $sub$ptr$lhs$cast$le - $frm$addr$1 | 0, $save_state) | 0; + if ($call$i$i59 | 0) ___uselocale($call$i$i59) | 0; + switch ($call$i60 | 0) { + case -1: + { + label = 15; + break L29; + break; + } + case -2: + { + label = 16; + break L29; + break; + } + case 0: + { + $$sink = 1; + break; } - $$1141 = $$1141 + 1 | 0; - $indvars$iv152 = $indvars$iv152 + ($2 << 3) | 0; + default: + $$sink = $call$i60; } - $$1134 = $$1134 + 1 | 0; - $indvars$iv = $indvars$iv + ($2 << 3) | 0; + $frm$addr$1 = $frm$addr$1 + $$sink | 0; + $storemerge = (HEAP32[$to_nxt >> 2] | 0) + 4 | 0; } - $$2135 = 0; - while (1) { - if (($$2135 | 0) >= ($1 | 0)) { - $$0 = $0; - break L1; - } - $$3139 = $$2135; - while (1) { - $56 = $3 + ($$3139 << 2) | 0; - if (($$3139 | 0) >= ($1 | 0)) break; - if ((HEAP32[$56 >> 2] | 0) == ($$2135 | 0)) break; - $$3139 = $$3139 + 1 | 0; - } - HEAP32[$56 >> 2] = HEAP32[$3 + ($$2135 << 2) >> 2]; - $$2142 = 0; - $$2145 = $0 + ($$2135 << 3) | 0; - $$4 = $0 + ($$3139 << 3) | 0; - while (1) { - if (($$2142 | 0) >= ($1 | 0)) break; - $65 = +HEAPF64[$$4 >> 3]; - HEAPF64[$$4 >> 3] = +HEAPF64[$$2145 >> 3]; - HEAPF64[$$2145 >> 3] = $65; - $$2142 = $$2142 + 1 | 0; - $$2145 = $$2145 + ($2 << 3) | 0; - $$4 = $$4 + ($2 << 3) | 0; - } - $$2135 = $$2135 + 1 | 0; + if ((label | 0) == 15) { + HEAP32[$frm_nxt >> 2] = $frm$addr$1; + $retval$1$ph = 2; + label = 29; + break; + } else if ((label | 0) == 16) { + HEAP32[$frm_nxt >> 2] = $frm$addr$1; + $retval$1$ph = 1; + label = 29; + break; + } else if ((label | 0) == 19) { + HEAP32[$frm_nxt >> 2] = $frm$addr$1; + $retval$1$ph = ($frm$addr$1 | 0) != ($frm_end | 0) & 1; + label = 29; + break; } + } else if ((label | 0) == 30) { + $20 = HEAP32[$frm_nxt >> 2] | 0; + label = 33; } while (0); + if ((label | 0) == 29) $retval$2 = $retval$1$ph; else if ((label | 0) == 33) $retval$2 = ($20 | 0) != ($frm_end | 0) & 1; STACKTOP = sp; - return $$0 | 0; + return $retval$2 | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseVectorTypeEv($0) { - $0 = $0 | 0; - var $$0 = 0, $$1 = 0, $$2 = 0, $$3 = 0, $$4 = 0, $$5 = 0, $$byval_copy = 0, $1 = 0, $10 = 0, $14 = 0, $15 = 0, $18 = 0, $2 = 0, $22 = 0, sp = 0; +function __ZNKSt3__27codecvtIwc11__mbstate_tE6do_outERS1_PKwS5_RS5_PcS7_RS7_($this, $st, $frm, $frm_end, $frm_nxt, $to, $to_end, $to_nxt) { + $this = $this | 0; + $st = $st | 0; + $frm = $frm | 0; + $frm_end = $frm_end | 0; + $frm_nxt = $frm_nxt | 0; + $to = $to | 0; + $to_end = $to_end | 0; + $to_nxt = $to_nxt | 0; + var $1 = 0, $13 = 0, $15 = 0, $21 = 0, $22 = 0, $24 = 0, $25 = 0, $26 = 0, $6 = 0, $7 = 0, $__l = 0, $add$ptr = 0, $add$ptr27 = 0, $call$i = 0, $call$i$i = 0, $call$i$i56 = 0, $call$i$i61 = 0, $call$i57 = 0, $call$i62 = 0, $fend$0 = 0, $fend$0$lcssa = 0, $fend$1 = 0, $fend$2 = 0, $fend$2$lcssa = 0, $fend$5$ph69 = 0, $frm$addr$0 = 0, $frm$addr$1 = 0, $incdec$ptr51 = 0, $n$0 = 0, $p$0 = 0, $retval$1 = 0, $retval$3$ph = 0, $retval$4 = 0, $save_state = 0, $sub$ptr$lhs$cast7 = 0, $tmp = 0, $to$addr$0 = 0, label = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $$byval_copy = sp + 16 | 0; - $1 = sp + 8 | 0; - $2 = sp; - __ZN12_GLOBAL__N_110StringViewC2EPKc($1, 55972); - HEAP32[$$byval_copy >> 2] = HEAP32[$1 >> 2]; - HEAP32[$$byval_copy + 4 >> 2] = HEAP32[$1 + 4 >> 2]; - do if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($0, $$byval_copy) | 0) { - if (((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($0, 0) | 0) + -49 & 255) < 9) { - __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E11parseNumberEb($$byval_copy, $0, 0); - do if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($0, 95) | 0) { - if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($0, 112) | 0) { - $$1 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_15PixelVectorTypeEJRNS_10StringViewEEEEPNS0_4NodeEDpOT0_($0, $$byval_copy) | 0; - break; - } - $10 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseTypeEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0) | 0; - HEAP32[$2 >> 2] = $10; - if (!$10) $$0 = 0; else $$0 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_10VectorTypeEJRPNS0_4NodeERNS_10StringViewEEEES9_DpOT0_($0, $2, $$byval_copy) | 0; - $$1 = $$0; - } else $$1 = 0; while (0); - $$5 = $$1; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $save_state = sp; + $tmp = sp + 8 | 0; + $fend$0 = $frm; + while (1) { + if (($fend$0 | 0) == ($frm_end | 0)) { + $fend$0$lcssa = $frm_end; break; } - if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($0, 95) | 0) { - $22 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseTypeEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0) | 0; - HEAP32[$$byval_copy >> 2] = $22; - if (!$22) $$4 = 0; else { - __ZN12_GLOBAL__N_110StringViewC2Ev($2); - $$4 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_10VectorTypeEJRPNS0_4NodeENS_10StringViewEEEES9_DpOT0_($0, $$byval_copy, $2) | 0; - } - $$5 = $$4; + if (!(HEAP32[$fend$0 >> 2] | 0)) { + $fend$0$lcssa = $fend$0; break; } - $14 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0; - $15 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseExprEv($14) | 0; - HEAP32[$$byval_copy >> 2] = $15; - if (($15 | 0) != 0 ? __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($0, 95) | 0 : 0) { - $18 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseTypeEv($14) | 0; - HEAP32[$2 >> 2] = $18; - if (!$18) $$2 = 0; else $$2 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_10VectorTypeEJRPNS0_4NodeESA_EEES9_DpOT0_($0, $2, $$byval_copy) | 0; - $$3 = $$2; - } else $$3 = 0; - $$5 = $$3; - } else $$5 = 0; while (0); - STACKTOP = sp; - return $$5 | 0; -} - -function _ar2ReadImageSetOld($0) { - $0 = $0 | 0; - var $$0 = 0, $$089 = 0, $$091 = 0, $$1 = 0, $$190 = 0, $$2 = 0, $$3 = 0, $$4 = 0, $$5 = 0, $$6 = 0, $$7 = 0, $1 = 0, $12 = 0, $17 = 0, $3 = 0, $51 = 0, $57 = 0, $6 = 0, $60 = 0, $67 = 0, $68 = 0, $75 = 0, $9 = 0, $vararg_buffer1 = 0, $vararg_buffer3 = 0, $vararg_buffer5 = 0, $vararg_buffer7 = 0, label = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 48 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); - $vararg_buffer7 = sp + 32 | 0; - $vararg_buffer5 = sp + 24 | 0; - $vararg_buffer3 = sp + 16 | 0; - $vararg_buffer1 = sp + 8 | 0; - $1 = _malloc(8) | 0; - if (!$1) { - _arLog(0, 3, 45930, sp); - _exit(1); + $fend$0 = $fend$0 + 4 | 0; } - $3 = $1 + 4 | 0; - L4 : do if ((_fread($3, 4, 1, $0) | 0) == 1 ? ($6 = HEAP32[$3 >> 2] | 0, ($6 | 0) >= 1) : 0) { - $9 = _malloc($6 << 2) | 0; - HEAP32[$1 >> 2] = $9; - if (!$9) { - _arLog(0, 3, 45930, $vararg_buffer3); - _exit(1); - } - $$089 = 0; - while (1) { - if (($$089 | 0) >= ($6 | 0)) break; - $12 = _malloc(16) | 0; - HEAP32[$9 + ($$089 << 2) >> 2] = $12; - if (!$12) { - label = 12; - break; - } else $$089 = $$089 + 1 | 0; - } - if ((label | 0) == 12) { - _arLog(0, 3, 45930, $vararg_buffer5); - _exit(1); + HEAP32[$to_nxt >> 2] = $to; + HEAP32[$frm_nxt >> 2] = $frm; + $sub$ptr$lhs$cast7 = $to_end; + $__l = $this + 8 | 0; + $fend$1 = $fend$0$lcssa; + $frm$addr$0 = $frm; + $to$addr$0 = $to; + L6 : while (1) { + if (($to$addr$0 | 0) == ($to_end | 0) | ($frm$addr$0 | 0) == ($frm_end | 0)) { + $24 = $frm$addr$0; + label = 36; + break; } - $$190 = 0; - while (1) { - if (($$190 | 0) >= ($6 | 0)) { - label = 44; - break; - } - $17 = $9 + ($$190 << 2) | 0; - if ((_fread((HEAP32[$17 >> 2] | 0) + 4 | 0, 4, 1, $0) | 0) != 1) { - label = 15; - break; - } - if ((_fread((HEAP32[$17 >> 2] | 0) + 8 | 0, 4, 1, $0) | 0) != 1) { - label = 22; + $1 = $st; + $6 = HEAP32[$1 + 4 >> 2] | 0; + $7 = $save_state; + HEAP32[$7 >> 2] = HEAP32[$1 >> 2]; + HEAP32[$7 + 4 >> 2] = $6; + $call$i$i = ___uselocale(HEAP32[$__l >> 2] | 0) | 0; + $call$i = _wcsnrtombs($to$addr$0, $frm_nxt, $fend$1 - $frm$addr$0 >> 2, $sub$ptr$lhs$cast7 - $to$addr$0 | 0, $st) | 0; + if ($call$i$i | 0) ___uselocale($call$i$i) | 0; + switch ($call$i | 0) { + case -1: + { + label = 10; + break L6; break; } - if ((_fread((HEAP32[$17 >> 2] | 0) + 12 | 0, 4, 1, $0) | 0) != 1) { - label = 29; + case 0: + { + $retval$3$ph = 1; + label = 33; + break L6; break; } - $51 = HEAP32[$17 >> 2] | 0; - $57 = _malloc(Math_imul(HEAP32[$51 + 8 >> 2] | 0, HEAP32[$51 + 4 >> 2] | 0) | 0) | 0; - HEAP32[HEAP32[$17 >> 2] >> 2] = $57; - if (!$57) { - label = 36; + default: + {} + } + $add$ptr27 = (HEAP32[$to_nxt >> 2] | 0) + $call$i | 0; + HEAP32[$to_nxt >> 2] = $add$ptr27; + if (($add$ptr27 | 0) == ($to_end | 0)) { + label = 34; + break; + } + if (($fend$1 | 0) == ($frm_end | 0)) { + $25 = $add$ptr27; + $26 = HEAP32[$frm_nxt >> 2] | 0; + $fend$5$ph69 = $frm_end; + } else { + $call$i$i61 = ___uselocale(HEAP32[$__l >> 2] | 0) | 0; + $call$i62 = _wcrtomb($tmp, 0, $st) | 0; + if ($call$i$i61 | 0) ___uselocale($call$i$i61) | 0; + if (($call$i62 | 0) == -1) { + $retval$1 = 2; + label = 32; break; } - $60 = HEAP32[$17 >> 2] | 0; - $67 = _fread(HEAP32[$60 >> 2] | 0, 1, Math_imul(HEAP32[$60 + 8 >> 2] | 0, HEAP32[$60 + 4 >> 2] | 0) | 0, $0) | 0; - $68 = HEAP32[$17 >> 2] | 0; - $75 = $$190 + 1 | 0; - if (($67 | 0) == (Math_imul(HEAP32[$68 + 8 >> 2] | 0, HEAP32[$68 + 4 >> 2] | 0) | 0)) $$190 = $75; else { - label = 38; + if ($call$i62 >>> 0 > ($sub$ptr$lhs$cast7 - (HEAP32[$to_nxt >> 2] | 0) | 0) >>> 0) { + $retval$1 = 1; + label = 32; break; } - } - L23 : do if ((label | 0) == 15) { - $$0 = 0; - while (1) { - if (($$0 | 0) == ($$190 | 0)) break; - _free(HEAP32[HEAP32[$9 + ($$0 << 2) >> 2] >> 2] | 0); - $$0 = $$0 + 1 | 0; - } - $$1 = 0; - while (1) { - if (($$1 | 0) == ($6 | 0)) break L23; - _free(HEAP32[$9 + ($$1 << 2) >> 2] | 0); - $$1 = $$1 + 1 | 0; - } - } else if ((label | 0) == 22) { - $$2 = 0; - while (1) { - if (($$2 | 0) == ($$190 | 0)) break; - _free(HEAP32[HEAP32[$9 + ($$2 << 2) >> 2] >> 2] | 0); - $$2 = $$2 + 1 | 0; - } - $$3 = 0; - while (1) { - if (($$3 | 0) == ($6 | 0)) break L23; - _free(HEAP32[$9 + ($$3 << 2) >> 2] | 0); - $$3 = $$3 + 1 | 0; - } - } else if ((label | 0) == 29) { - $$4 = 0; - while (1) { - if (($$4 | 0) == ($$190 | 0)) break; - _free(HEAP32[HEAP32[$9 + ($$4 << 2) >> 2] >> 2] | 0); - $$4 = $$4 + 1 | 0; - } - $$5 = 0; + $n$0 = $call$i62; + $p$0 = $tmp; while (1) { - if (($$5 | 0) == ($6 | 0)) break L23; - _free(HEAP32[$9 + ($$5 << 2) >> 2] | 0); - $$5 = $$5 + 1 | 0; - } - } else if ((label | 0) == 36) { - _arLog(0, 3, 45930, $vararg_buffer7); - _exit(1); - } else if ((label | 0) == 38) { - $$6 = 0; + if (!$n$0) break; + $21 = HEAP8[$p$0 >> 0] | 0; + $22 = HEAP32[$to_nxt >> 2] | 0; + HEAP32[$to_nxt >> 2] = $22 + 1; + HEAP8[$22 >> 0] = $21; + $n$0 = $n$0 + -1 | 0; + $p$0 = $p$0 + 1 | 0; + } + $incdec$ptr51 = (HEAP32[$frm_nxt >> 2] | 0) + 4 | 0; + HEAP32[$frm_nxt >> 2] = $incdec$ptr51; + $fend$2 = $incdec$ptr51; while (1) { - if (($$6 | 0) == ($75 | 0)) break; - _free(HEAP32[HEAP32[$9 + ($$6 << 2) >> 2] >> 2] | 0); - $$6 = $$6 + 1 | 0; - } - $$7 = 0; - while (1) { - if (($$7 | 0) == ($6 | 0)) break L23; - _free(HEAP32[$9 + ($$7 << 2) >> 2] | 0); - $$7 = $$7 + 1 | 0; + if (($fend$2 | 0) == ($frm_end | 0)) { + $fend$2$lcssa = $frm_end; + break; + } + if (!(HEAP32[$fend$2 >> 2] | 0)) { + $fend$2$lcssa = $fend$2; + break; + } + $fend$2 = $fend$2 + 4 | 0; } - } else if ((label | 0) == 44) { - _fclose($0) | 0; - $$091 = $1; - break L4; - } while (0); - _free($9); - label = 46; - } else label = 5; while (0); - if ((label | 0) == 5) { - _arLog(0, 3, 25715, $vararg_buffer1); - label = 46; + $25 = HEAP32[$to_nxt >> 2] | 0; + $26 = $incdec$ptr51; + $fend$5$ph69 = $fend$2$lcssa; + } + $fend$1 = $fend$5$ph69; + $frm$addr$0 = $26; + $to$addr$0 = $25; } - if ((label | 0) == 46) { - _free($1); - _fclose($0) | 0; - $$091 = 0; + if ((label | 0) == 10) { + HEAP32[$to_nxt >> 2] = $to$addr$0; + $15 = $to$addr$0; + $frm$addr$1 = $frm$addr$0; + while (1) { + if (($frm$addr$1 | 0) == (HEAP32[$frm_nxt >> 2] | 0)) break; + $13 = HEAP32[$frm$addr$1 >> 2] | 0; + $call$i$i56 = ___uselocale(HEAP32[$__l >> 2] | 0) | 0; + $call$i57 = _wcrtomb($15, $13, $save_state) | 0; + if ($call$i$i56 | 0) ___uselocale($call$i$i56) | 0; + if (($call$i57 | 0) == -1) break; + $add$ptr = (HEAP32[$to_nxt >> 2] | 0) + $call$i57 | 0; + HEAP32[$to_nxt >> 2] = $add$ptr; + $15 = $add$ptr; + $frm$addr$1 = $frm$addr$1 + 4 | 0; + } + HEAP32[$frm_nxt >> 2] = $frm$addr$1; + $retval$3$ph = 2; + label = 33; + } else if ((label | 0) == 32) { + $retval$3$ph = $retval$1; + label = 33; + } else if ((label | 0) == 34) { + $24 = HEAP32[$frm_nxt >> 2] | 0; + label = 36; } + if ((label | 0) == 33) $retval$4 = $retval$3$ph; else if ((label | 0) == 36) $retval$4 = ($24 | 0) != ($frm_end | 0) & 1; STACKTOP = sp; - return $$091 | 0; + return $retval$4 | 0; } -function _arParamDecompMat($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$0 = 0, $$0117 = 0, $$1 = 0, $$1118 = 0, $$2 = 0, $$2119 = 0, $$3 = 0, $$3120 = 0, $101 = 0.0, $102 = 0.0, $113 = 0.0, $117 = 0.0, $131 = 0, $22 = 0.0, $24 = 0.0, $26 = 0.0, $27 = 0.0, $28 = 0, $29 = 0.0, $3 = 0, $30 = 0, $32 = 0.0, $33 = 0, $35 = 0.0, $36 = 0, $41 = 0, $43 = 0.0, $45 = 0.0, $47 = 0.0, $48 = 0.0, $49 = 0, $52 = 0.0, $55 = 0.0, $58 = 0.0, $59 = 0.0, $60 = 0, $62 = 0, $65 = 0, $68 = 0, $72 = 0.0, $74 = 0.0, $76 = 0.0, $77 = 0.0, $78 = 0, $82 = 0.0, $83 = 0, $89 = 0.0, $95 = 0.0, sp = 0; +function __ZN6vision10DoGPyramid7computeEPKNS_25GaussianScaleSpacePyramidE($this, $pyramid) { + $this = $this | 0; + $pyramid = $pyramid | 0; + var $add = 0, $call$i1$i$i = 0, $call$i1$i$i19 = 0, $call$i1$i$i33 = 0, $call$i2$i$i = 0, $call$i2$i$i22 = 0, $call$i2$i$i36 = 0, $call18 = 0, $call29 = 0, $call38 = 0, $call39 = 0, $call7 = 0, $i$0 = 0, $j$0 = 0, $mNumOctaves = 0, $mNumScalesPerOctave = 0, $ref$tmp$i$i28 = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 96 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(96); - $3 = sp; - L1 : do if (!(+HEAPF64[$0 + 88 >> 3] >= 0.0)) { - $$1 = 0; - while (1) { - if (($$1 | 0) == 3) break L1; - $$1118 = 0; - while (1) { - if (($$1118 | 0) == 4) break; - HEAPF64[$3 + ($$1 << 5) + ($$1118 << 3) >> 3] = -+HEAPF64[$0 + ($$1 << 5) + ($$1118 << 3) >> 3]; - $$1118 = $$1118 + 1 | 0; - } - $$1 = $$1 + 1 | 0; - } - } else { - $$0 = 0; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $ref$tmp$i$i28 = sp; + if ((HEAP32[$this + 4 >> 2] | 0) == (HEAP32[$this >> 2] | 0)) { + $call7 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 26945) | 0, 26748) | 0, 39794) | 0, 72) | 0, 39801) | 0, 26987) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i$i28, $call7 + (HEAP32[(HEAP32[$call7 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i$i = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i$i28, 67360) | 0; + $call$i2$i$i = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i$i >> 2] | 0) + 28 >> 2] & 127]($call$i1$i$i, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i$i28); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call7, $call$i2$i$i) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call7) | 0; + _abort(); + } + if ((__ZNK6vision25GaussianScaleSpacePyramid10numOctavesEv($pyramid) | 0) <= 0) { + $call18 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 27028) | 0, 26748) | 0, 39794) | 0, 73) | 0, 39801) | 0, 27077) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i$i28, $call18 + (HEAP32[(HEAP32[$call18 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i$i19 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i$i28, 67360) | 0; + $call$i2$i$i22 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i$i19 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i$i19, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i$i28); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call18, $call$i2$i$i22) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call18) | 0; + _abort(); + } + if ($pyramid | 0 ? ___dynamic_cast($pyramid, 13184, 13192, 0) | 0 : 0) { + $mNumOctaves = $this + 12 | 0; + $mNumScalesPerOctave = $this + 16 | 0; + $i$0 = 0; while (1) { - if (($$0 | 0) == 3) break L1; - $$0117 = 0; + if ($i$0 >>> 0 >= (HEAP32[$mNumOctaves >> 2] | 0) >>> 0) break; + $j$0 = 0; while (1) { - if (($$0117 | 0) == 4) break; - HEAPF64[$3 + ($$0 << 5) + ($$0117 << 3) >> 3] = +HEAPF64[$0 + ($$0 << 5) + ($$0117 << 3) >> 3]; - $$0117 = $$0117 + 1 | 0; + if ($j$0 >>> 0 >= (HEAP32[$mNumScalesPerOctave >> 2] | 0) >>> 0) break; + $call38 = __ZN6vision10DoGPyramid3getEmm($this, $i$0, $j$0) | 0; + $call39 = __ZNK6vision25GaussianScaleSpacePyramid3getEmm($pyramid, $i$0, $j$0) | 0; + $add = $j$0 + 1 | 0; + __ZN6vision10DoGPyramid25difference_image_binomialERNS_5ImageERKS1_S4_(0, $call38, $call39, __ZNK6vision25GaussianScaleSpacePyramid3getEmm($pyramid, $i$0, $add) | 0); + $j$0 = $add; } - $$0 = $$0 + 1 | 0; - } - } while (0); - $$2 = 0; - while (1) { - if (($$2 | 0) == 3) break; - $$2119 = 0; - while (1) { - if (($$2119 | 0) == 4) break; - HEAPF64[$1 + ($$2 << 5) + ($$2119 << 3) >> 3] = 0.0; - $$2119 = $$2119 + 1 | 0; - } - $$2 = $$2 + 1 | 0; - } - $22 = +HEAPF64[$3 + 64 >> 3]; - $24 = +HEAPF64[$3 + 72 >> 3]; - $26 = +HEAPF64[$3 + 80 >> 3]; - $27 = +_norm($22, $24, $26); - $28 = $1 + 80 | 0; - HEAPF64[$28 >> 3] = $27; - $29 = $22 / $27; - $30 = $2 + 64 | 0; - HEAPF64[$30 >> 3] = $29; - $32 = $24 / +HEAPF64[$28 >> 3]; - $33 = $2 + 72 | 0; - HEAPF64[$33 >> 3] = $32; - $35 = $26 / +HEAPF64[$28 >> 3]; - $36 = $2 + 80 | 0; - HEAPF64[$36 >> 3] = $35; - $41 = $2 + 88 | 0; - HEAPF64[$41 >> 3] = +HEAPF64[$3 + 88 >> 3] / +HEAPF64[$28 >> 3]; - $43 = +HEAPF64[$3 + 32 >> 3]; - $45 = +HEAPF64[$3 + 40 >> 3]; - $47 = +HEAPF64[$3 + 48 >> 3]; - $48 = +_dot($29, $32, $35, $43, $45, $47); - $49 = $1 + 48 | 0; - HEAPF64[$49 >> 3] = $48; - $52 = $43 - $48 * +HEAPF64[$30 >> 3]; - $55 = $45 - $48 * +HEAPF64[$33 >> 3]; - $58 = $47 - $48 * +HEAPF64[$36 >> 3]; - $59 = +_norm($52, $55, $58); - $60 = $1 + 40 | 0; - HEAPF64[$60 >> 3] = $59; - $62 = $2 + 32 | 0; - HEAPF64[$62 >> 3] = $52 / $59; - $65 = $2 + 40 | 0; - HEAPF64[$65 >> 3] = $55 / +HEAPF64[$60 >> 3]; - $68 = $2 + 48 | 0; - HEAPF64[$68 >> 3] = $58 / +HEAPF64[$60 >> 3]; - $72 = +HEAPF64[$3 >> 3]; - $74 = +HEAPF64[$3 + 8 >> 3]; - $76 = +HEAPF64[$3 + 16 >> 3]; - $77 = +_dot(+HEAPF64[$30 >> 3], +HEAPF64[$33 >> 3], +HEAPF64[$36 >> 3], $72, $74, $76); - $78 = $1 + 16 | 0; - HEAPF64[$78 >> 3] = $77; - $82 = +_dot(+HEAPF64[$62 >> 3], +HEAPF64[$65 >> 3], +HEAPF64[$68 >> 3], $72, $74, $76); - $83 = $1 + 8 | 0; - HEAPF64[$83 >> 3] = $82; - $89 = $72 - $82 * +HEAPF64[$62 >> 3] - $77 * +HEAPF64[$30 >> 3]; - $95 = $74 - $82 * +HEAPF64[$65 >> 3] - $77 * +HEAPF64[$33 >> 3]; - $101 = $76 - $82 * +HEAPF64[$68 >> 3] - $77 * +HEAPF64[$36 >> 3]; - $102 = +_norm($89, $95, $101); - HEAPF64[$1 >> 3] = $102; - HEAPF64[$2 >> 3] = $89 / $102; - HEAPF64[$2 + 8 >> 3] = $95 / +HEAPF64[$1 >> 3]; - HEAPF64[$2 + 16 >> 3] = $101 / +HEAPF64[$1 >> 3]; - $113 = +HEAPF64[$41 >> 3]; - $117 = (+HEAPF64[$3 + 56 >> 3] - +HEAPF64[$49 >> 3] * $113) / +HEAPF64[$60 >> 3]; - HEAPF64[$2 + 56 >> 3] = $117; - HEAPF64[$2 + 24 >> 3] = (+HEAPF64[$3 + 24 >> 3] - $117 * +HEAPF64[$83 >> 3] - $113 * +HEAPF64[$78 >> 3]) / +HEAPF64[$1 >> 3]; - $$3 = 0; - while (1) { - if (($$3 | 0) == 3) break; - $$3120 = 0; - while (1) { - if (($$3120 | 0) == 3) break; - $131 = $1 + ($$3 << 5) + ($$3120 << 3) | 0; - HEAPF64[$131 >> 3] = +HEAPF64[$131 >> 3] / +HEAPF64[$28 >> 3]; - $$3120 = $$3120 + 1 | 0; + $i$0 = $i$0 + 1 | 0; } - $$3 = $$3 + 1 | 0; + STACKTOP = sp; + return; } - STACKTOP = sp; - return 0; + $call29 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 27113) | 0, 26748) | 0, 39794) | 0, 74) | 0, 39801) | 0, 27185) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i$i28, $call29 + (HEAP32[(HEAP32[$call29 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i$i33 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i$i28, 67360) | 0; + $call$i2$i$i36 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i$i33 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i$i33, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i$i28); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call29, $call$i2$i$i36) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call29) | 0; + _abort(); } -function __ZNSt3__213unordered_mapIiNS_6vectorIiNS_9allocatorIiEEEENS_4hashIiEENS_8equal_toIiEENS2_INS_4pairIKiS4_EEEEEixERSA_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0$i = 0, $$053$i = 0, $$054$i = 0, $$1$i = 0, $$155$i = 0, $$pn$i = 0, $$pre$phi$iZ2D = 0, $11 = 0, $17 = 0, $18 = 0, $2 = 0, $22 = 0, $28 = 0, $3 = 0, $32 = 0, $35 = 0.0, $38 = 0.0, $4 = 0, $48 = 0, $5 = 0, $51 = 0, $53 = 0, $54 = 0, $6 = 0, $62 = 0, $64 = 0, $7 = 0, $70 = 0, $71 = 0, $74 = 0, $75 = 0, $8 = 0, $83 = 0, $87 = 0, $9 = 0, label = 0, sp = 0; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E20parseUnnamedTypeNameEPNS5_9NameStateE($this) { + $this = $this | 0; + var $Names = 0, $Params = 0, $SwapParams = 0, $agg$tmp = 0, $agg$tmp6 = 0, $agg$tmp9 = 0, $agg$tmp9$byval_copy = 0, $call12 = 0, $call14 = 0, $retval$0 = 0, $retval$3 = 0, $retval$4 = 0, $retval$5 = 0, label = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $2 = sp + 4 | 0; - $3 = sp; - $4 = sp + 16 | 0; - HEAP32[$3 >> 2] = $1; - $5 = HEAP32[$1 >> 2] | 0; - $6 = $0 + 4 | 0; - $7 = HEAP32[$6 >> 2] | 0; - $8 = ($7 | 0) == 0; - L1 : do if (!$8) { - $9 = $7 + -1 | 0; - $11 = ($9 & $7 | 0) == 0; - if (!$11) if ($5 >>> 0 < $7 >>> 0) $17 = $5; else $17 = ($5 >>> 0) % ($7 >>> 0) | 0; else $17 = $9 & $5; - $18 = HEAP32[(HEAP32[$0 >> 2] | 0) + ($17 << 2) >> 2] | 0; - if (!$18) { - $$054$i = $17; - label = 16; - } else { - $$pn$i = $18; - while (1) { - $$053$i = HEAP32[$$pn$i >> 2] | 0; - if (!$$053$i) { - $$054$i = $17; - label = 16; - break L1; - } - $22 = HEAP32[$$053$i + 4 >> 2] | 0; - if (($22 | 0) != ($5 | 0)) { - if (!$11) if ($22 >>> 0 < $7 >>> 0) $28 = $22; else $28 = ($22 >>> 0) % ($7 >>> 0) | 0; else $28 = $22 & $9; - if (($28 | 0) != ($17 | 0)) { - $$054$i = $17; - label = 16; - break L1; + STACKTOP = STACKTOP + 48 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); + $agg$tmp9$byval_copy = sp + 40 | 0; + $agg$tmp = sp + 32 | 0; + $agg$tmp6 = sp + 24 | 0; + $Params = sp; + $SwapParams = sp + 8 | 0; + $agg$tmp9 = sp + 16 | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, 56083); + HEAP32[$agg$tmp9$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp9$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + if (!(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($this, $agg$tmp9$byval_copy) | 0)) { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp6, 56086); + HEAP32[$agg$tmp9$byval_copy >> 2] = HEAP32[$agg$tmp6 >> 2]; + HEAP32[$agg$tmp9$byval_copy + 4 >> 2] = HEAP32[$agg$tmp6 + 4 >> 2]; + if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($this, $agg$tmp9$byval_copy) | 0) { + __ZN12_GLOBAL__N_116itanium_demangle9NodeArrayC2Ev($Params); + __ZN12_GLOBAL__N_114SwapAndRestoreIbEC2ERbb($SwapParams, $this + 362 | 0, 1); + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp9, 56089); + HEAP32[$agg$tmp9$byval_copy >> 2] = HEAP32[$agg$tmp9 >> 2]; + HEAP32[$agg$tmp9$byval_copy + 4 >> 2] = HEAP32[$agg$tmp9 + 4 >> 2]; + do if (!(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($this, $agg$tmp9$byval_copy) | 0)) { + $Names = $this + 8 | 0; + $call12 = __ZNK12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE4sizeEv($Names) | 0; + while (1) { + $call14 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseTypeEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0) | 0; + HEAP32[$agg$tmp9$byval_copy >> 2] = $call14; + if (!$call14) { + label = 11; + break; + } + __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE9push_backERKS3_($Names, $agg$tmp9$byval_copy); + if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($this, 69) | 0) { + label = 10; + break; } } - if ((HEAP32[$$053$i + 8 >> 2] | 0) == ($5 | 0)) { - $$1$i = $$053$i; + if ((label | 0) == 10) { + __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E20popTrailingNodeArrayEm($Params, $this, $call12); + label = 12; + break; + } else if ((label | 0) == 11) { + $retval$4 = 0; break; - } else $$pn$i = $$053$i; + } + } else label = 12; while (0); + if ((label | 0) == 12) { + __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E11parseNumberEb($agg$tmp9$byval_copy, $this, 0); + if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($this, 95) | 0) $retval$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_15ClosureTypeNameEJRNS0_9NodeArrayERNS_10StringViewEEEEPNS0_4NodeEDpOT0_($this, $Params, $agg$tmp9$byval_copy) | 0; else $retval$3 = 0; + $retval$4 = $retval$3; } - } + __ZN12_GLOBAL__N_114SwapAndRestoreIbED2Ev($SwapParams); + $retval$5 = $retval$4; + } else $retval$5 = 0; } else { - $$054$i = 0; - label = 16; - } while (0); - if ((label | 0) == 16) { - __ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_6vectorIiNS_9allocatorIiEEEEEENS_22__unordered_map_hasherIiS6_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS6_NS_8equal_toIiEELb1EEENS3_IS6_EEE21__construct_node_hashIRKNS_21piecewise_construct_tEJNS_5tupleIJRKiEEENSL_IJEEEEEENS_10unique_ptrINS_11__hash_nodeIS6_PvEENS_22__hash_node_destructorINS3_IST_EEEEEEmOT_DpOT0_($2, $0, $5, 67436, $3, $4); - $32 = $0 + 12 | 0; - $35 = +(((HEAP32[$32 >> 2] | 0) + 1 | 0) >>> 0); - $38 = +HEAPF32[$0 + 16 >> 2]; - do if ($8 | $38 * +($7 >>> 0) < $35) { - $48 = $7 << 1 | ($7 >>> 0 < 3 | ($7 + -1 & $7 | 0) != 0) & 1; - $51 = ~~+Math_ceil(+($35 / $38)) >>> 0; - __ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_6vectorIiNS_9allocatorIiEEEEEENS_22__unordered_map_hasherIiS6_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS6_NS_8equal_toIiEELb1EEENS3_IS6_EEE6rehashEm($0, $48 >>> 0 < $51 >>> 0 ? $51 : $48); - $53 = HEAP32[$6 >> 2] | 0; - $54 = $53 + -1 | 0; - if (!($54 & $53)) { - $$0$i = $53; - $$155$i = $54 & $5; - break; - } - if ($5 >>> 0 < $53 >>> 0) { - $$0$i = $53; - $$155$i = $5; - } else { - $$0$i = $53; - $$155$i = ($5 >>> 0) % ($53 >>> 0) | 0; - } - } else { - $$0$i = $7; - $$155$i = $$054$i; - } while (0); - $62 = HEAP32[(HEAP32[$0 >> 2] | 0) + ($$155$i << 2) >> 2] | 0; - if (!$62) { - $64 = $0 + 8 | 0; - HEAP32[HEAP32[$2 >> 2] >> 2] = HEAP32[$64 >> 2]; - HEAP32[$64 >> 2] = HEAP32[$2 >> 2]; - HEAP32[(HEAP32[$0 >> 2] | 0) + ($$155$i << 2) >> 2] = $64; - $70 = HEAP32[$2 >> 2] | 0; - $71 = HEAP32[$70 >> 2] | 0; - if (!$71) $$pre$phi$iZ2D = $2; else { - $74 = HEAP32[$71 + 4 >> 2] | 0; - $75 = $$0$i + -1 | 0; - if ($75 & $$0$i) if ($74 >>> 0 < $$0$i >>> 0) $83 = $74; else $83 = ($74 >>> 0) % ($$0$i >>> 0) | 0; else $83 = $74 & $75; - HEAP32[(HEAP32[$0 >> 2] | 0) + ($83 << 2) >> 2] = $70; - $$pre$phi$iZ2D = $2; - } - } else { - HEAP32[HEAP32[$2 >> 2] >> 2] = HEAP32[$62 >> 2]; - HEAP32[$62 >> 2] = HEAP32[$2 >> 2]; - $$pre$phi$iZ2D = $2; - } - $87 = HEAP32[$$pre$phi$iZ2D >> 2] | 0; - HEAP32[$32 >> 2] = (HEAP32[$32 >> 2] | 0) + 1; - HEAP32[$$pre$phi$iZ2D >> 2] = 0; - $$1$i = $87; + __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E11parseNumberEb($agg$tmp9$byval_copy, $this, 0); + if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($this, 95) | 0) $retval$0 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_15UnnamedTypeNameEJRNS_10StringViewEEEEPNS0_4NodeEDpOT0_($this, $agg$tmp9$byval_copy) | 0; else $retval$0 = 0; + $retval$5 = $retval$0; } STACKTOP = sp; - return $$1$i + 12 | 0; + return $retval$5 | 0; } -function __ZN6vision10DoGPyramid7computeEPKNS_25GaussianScaleSpacePyramidE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $$017 = 0, $12 = 0, $17 = 0, $2 = 0, $21 = 0, $29 = 0, $34 = 0, $38 = 0, $46 = 0, $51 = 0, $55 = 0, $56 = 0, $57 = 0, $63 = 0, $64 = 0, $65 = 0, sp = 0; +function __ZNKSt3__28messagesIwE6do_getEliiRKNS_12basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEEE($agg$result, $this, $__c, $__set, $__msgid, $__dflt) { + $agg$result = $agg$result | 0; + $this = $this | 0; + $__c = $__c | 0; + $__set = $__set | 0; + $__msgid = $__msgid | 0; + $__dflt = $__dflt | 0; + var $1 = 0, $__bn$i37 = 0, $__buf$i36 = 0, $__i$0$i$i = 0, $__i$0$i$i21 = 0, $__mb$i35 = 0, $__nb$addr$0$i = 0, $__ndflt = 0, $__p$0$i = 0, $__p$0$i51 = 0, $__r$0$i = 0, $__r$0$i40 = 0, $__wb$addr$0$i = 0, $__wn$i = 0, $add$ptr = 0, $add$ptr$i38 = 0, $add$ptr14 = 0, $add$ptr5$i = 0, $call$i = 0, $call$i46 = 0, $call8 = 0, $cond$i$i$i1663 = 0, $cond$i$i$i33 = 0, $sub$ptr$lhs$cast$i = 0, $temp$lvalue = 0, $temp$lvalue9 = 0, $tobool$i$i$i$i = 0, label = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $2 = sp; - if ((HEAP32[$0 + 4 >> 2] | 0) == (HEAP32[$0 >> 2] | 0)) { - $12 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 26907) | 0, 26748) | 0, 39072) | 0, 72) | 0, 39079) | 0, 26949) | 0; - __ZNKSt3__28ios_base6getlocEv($2, $12 + (HEAP32[(HEAP32[$12 >> 2] | 0) + -12 >> 2] | 0) | 0); - $17 = __ZNKSt3__26locale9use_facetERNS0_2idE($2, 66512) | 0; - $21 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$17 >> 2] | 0) + 28 >> 2] & 127]($17, 10) | 0; - __ZNSt3__26localeD2Ev($2); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($12, $21) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($12) | 0; - _abort(); - } - if ((__ZNK6vision25GaussianScaleSpacePyramid10numOctavesEv($1) | 0) <= 0) { - $29 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 26990) | 0, 26748) | 0, 39072) | 0, 73) | 0, 39079) | 0, 27039) | 0; - __ZNKSt3__28ios_base6getlocEv($2, $29 + (HEAP32[(HEAP32[$29 >> 2] | 0) + -12 >> 2] | 0) | 0); - $34 = __ZNKSt3__26locale9use_facetERNS0_2idE($2, 66512) | 0; - $38 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$34 >> 2] | 0) + 28 >> 2] & 127]($34, 10) | 0; - __ZNSt3__26localeD2Ev($2); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($29, $38) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($29) | 0; - _abort(); + STACKTOP = STACKTOP + 176 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(176); + $__mb$i35 = sp + 168 | 0; + $__buf$i36 = sp; + $__bn$i37 = sp + 164 | 0; + $__wn$i = sp + 160 | 0; + $__ndflt = sp + 128 | 0; + $temp$lvalue = sp + 152 | 0; + $temp$lvalue9 = sp + 144 | 0; + HEAP32[$__ndflt >> 2] = 0; + HEAP32[$__ndflt + 4 >> 2] = 0; + HEAP32[$__ndflt + 8 >> 2] = 0; + $__i$0$i$i = 0; + while (1) { + if (($__i$0$i$i | 0) == 3) break; + HEAP32[$__ndflt + ($__i$0$i$i << 2) >> 2] = 0; + $__i$0$i$i = $__i$0$i$i + 1 | 0; + } + HEAP32[$temp$lvalue + 4 >> 2] = 0; + HEAP32[$temp$lvalue >> 2] = 23144; + $1 = HEAP8[$__dflt + 8 + 3 >> 0] | 0; + $tobool$i$i$i$i = $1 << 24 >> 24 < 0; + $cond$i$i$i1663 = $tobool$i$i$i$i ? HEAP32[$__dflt >> 2] | 0 : $__dflt; + $add$ptr = $cond$i$i$i1663 + (($tobool$i$i$i$i ? HEAP32[$__dflt + 4 >> 2] | 0 : $1 & 255) << 2) | 0; + $add$ptr$i38 = $__buf$i36 + 32 | 0; + $__r$0$i40 = 0; + $__wb$addr$0$i = $cond$i$i$i1663; + while (1) { + if (!(($__r$0$i40 | 0) != 2 & $__wb$addr$0$i >>> 0 < $add$ptr >>> 0)) break; + HEAP32[$__wn$i >> 2] = $__wb$addr$0$i; + $call$i46 = FUNCTION_TABLE_iiiiiiiii[HEAP32[(HEAP32[$temp$lvalue >> 2] | 0) + 12 >> 2] & 15]($temp$lvalue, $__mb$i35, $__wb$addr$0$i, $add$ptr, $__wn$i, $__buf$i36, $add$ptr$i38, $__bn$i37) | 0; + if (($call$i46 | 0) == 2 ? 1 : (HEAP32[$__wn$i >> 2] | 0) == ($__wb$addr$0$i | 0)) { + label = 8; + break; + } + $__p$0$i51 = $__buf$i36; + while (1) { + if ($__p$0$i51 >>> 0 >= (HEAP32[$__bn$i37 >> 2] | 0) >>> 0) break; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc($__ndflt, HEAP8[$__p$0$i51 >> 0] | 0); + $__p$0$i51 = $__p$0$i51 + 1 | 0; + } + $__r$0$i40 = $call$i46; + $__wb$addr$0$i = HEAP32[$__wn$i >> 2] | 0; } - if ($1 | 0 ? ___dynamic_cast($1, 13184, 13192, 0) | 0 : 0) { - $56 = $0 + 12 | 0; - $57 = $0 + 16 | 0; - $$017 = 0; + if ((label | 0) == 8) __ZNSt3__221__throw_runtime_errorEPKc(0); + __ZNSt3__26locale5facetD2Ev($temp$lvalue); + $cond$i$i$i33 = (HEAP8[$__ndflt + 11 >> 0] | 0) < 0 ? HEAP32[$__ndflt >> 2] | 0 : $__ndflt; + $call8 = _catgets(($__c | 0) == -1 ? -1 : $__c << 1, $__set, $__msgid, $cond$i$i$i33) | 0; + HEAP32[$agg$result >> 2] = 0; + HEAP32[$agg$result + 4 >> 2] = 0; + HEAP32[$agg$result + 8 >> 2] = 0; + $__i$0$i$i21 = 0; + while (1) { + if (($__i$0$i$i21 | 0) == 3) break; + HEAP32[$agg$result + ($__i$0$i$i21 << 2) >> 2] = 0; + $__i$0$i$i21 = $__i$0$i$i21 + 1 | 0; + } + HEAP32[$temp$lvalue9 + 4 >> 2] = 0; + HEAP32[$temp$lvalue9 >> 2] = 23192; + $add$ptr14 = $cond$i$i$i33 + (_strlen($call8) | 0) | 0; + $sub$ptr$lhs$cast$i = $add$ptr14; + $add$ptr5$i = $__buf$i36 + 128 | 0; + $__nb$addr$0$i = $cond$i$i$i33; + $__r$0$i = 0; + while (1) { + if (!(($__r$0$i | 0) != 2 & $__nb$addr$0$i >>> 0 < $add$ptr14 >>> 0)) { + label = 23; + break; + } + HEAP32[$__wn$i >> 2] = $__nb$addr$0$i; + $call$i = FUNCTION_TABLE_iiiiiiiii[HEAP32[(HEAP32[$temp$lvalue9 >> 2] | 0) + 16 >> 2] & 15]($temp$lvalue9, $__mb$i35, $__nb$addr$0$i, ($sub$ptr$lhs$cast$i - $__nb$addr$0$i | 0) > 32 ? $__nb$addr$0$i + 32 | 0 : $add$ptr14, $__wn$i, $__buf$i36, $add$ptr5$i, $__bn$i37) | 0; + if (($call$i | 0) == 2 ? 1 : (HEAP32[$__wn$i >> 2] | 0) == ($__nb$addr$0$i | 0)) { + label = 19; + break; + } + $__p$0$i = $__buf$i36; while (1) { - if ($$017 >>> 0 >= (HEAP32[$56 >> 2] | 0) >>> 0) break; - $$0 = 0; - while (1) { - if ($$0 >>> 0 >= (HEAP32[$57 >> 2] | 0) >>> 0) break; - $63 = __ZN6vision10DoGPyramid3getEmm($0, $$017, $$0) | 0; - $64 = __ZNK6vision25GaussianScaleSpacePyramid3getEmm($1, $$017, $$0) | 0; - $65 = $$0 + 1 | 0; - __ZN6vision10DoGPyramid25difference_image_binomialERNS_5ImageERKS1_S4_(0, $63, $64, __ZNK6vision25GaussianScaleSpacePyramid3getEmm($1, $$017, $65) | 0); - $$0 = $65; - } - $$017 = $$017 + 1 | 0; + if ($__p$0$i >>> 0 >= (HEAP32[$__bn$i37 >> 2] | 0) >>> 0) break; + __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9push_backEw($agg$result, HEAP32[$__p$0$i >> 2] | 0); + $__p$0$i = $__p$0$i + 4 | 0; } + $__nb$addr$0$i = HEAP32[$__wn$i >> 2] | 0; + $__r$0$i = $call$i; + } + if ((label | 0) == 19) __ZNSt3__221__throw_runtime_errorEPKc(0); else if ((label | 0) == 23) { + __ZNSt3__26locale5facetD2Ev($temp$lvalue9); + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($__ndflt); STACKTOP = sp; return; } - $46 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 27075) | 0, 26748) | 0, 39072) | 0, 74) | 0, 39079) | 0, 27147) | 0; - __ZNKSt3__28ios_base6getlocEv($2, $46 + (HEAP32[(HEAP32[$46 >> 2] | 0) + -12 >> 2] | 0) | 0); - $51 = __ZNKSt3__26locale9use_facetERNS0_2idE($2, 66512) | 0; - $55 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$51 >> 2] | 0) + 28 >> 2] & 127]($51, 10) | 0; - __ZNSt3__26localeD2Ev($2); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($46, $55) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($46) | 0; - _abort(); } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseNameEPNS5_9NameStateE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $$1 = 0, $$2 = 0, $$3 = 0, $$4 = 0, $11 = 0, $12 = 0, $16 = 0, $17 = 0, $2 = 0, $21 = 0, $22 = 0, $27 = 0, $28 = 0, $3 = 0, label = 0, sp = 0; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseVectorTypeEv($this) { + $this = $this | 0; + var $ElemType = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, $call15 = 0, $call24 = 0, $call25 = 0, $call33 = 0, $call43 = 0, $retval$0 = 0, $retval$1 = 0, $retval$2 = 0, $retval$3 = 0, $retval$4 = 0, $retval$5 = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $2 = sp + 4 | 0; - $3 = sp; - __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($0, 76) | 0; - switch ((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($0, 0) | 0) << 24 >> 24) { - case 78: - { - $$4 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseNestedNameEPNS5_9NameStateE(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0, $1) | 0; - break; - } - case 90: - { - $$4 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E14parseLocalNameEPNS5_9NameStateE(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0, $1) | 0; + STACKTOP = STACKTOP + 32 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); + $agg$tmp$byval_copy = sp + 16 | 0; + $agg$tmp = sp + 8 | 0; + $ElemType = sp; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, 56814); + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + do if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($this, $agg$tmp$byval_copy) | 0) { + if (((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($this, 0) | 0) + -49 & 255) < 9) { + __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E11parseNumberEb($agg$tmp$byval_copy, $this, 0); + do if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($this, 95) | 0) { + if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($this, 112) | 0) { + $retval$1 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_15PixelVectorTypeEJRNS_10StringViewEEEEPNS0_4NodeEDpOT0_($this, $agg$tmp$byval_copy) | 0; + break; + } + $call15 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseTypeEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0) | 0; + HEAP32[$ElemType >> 2] = $call15; + if (!$call15) $retval$0 = 0; else $retval$0 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_10VectorTypeEJRPNS0_4NodeERNS_10StringViewEEEES9_DpOT0_($this, $ElemType, $agg$tmp$byval_copy) | 0; + $retval$1 = $retval$0; + } else $retval$1 = 0; while (0); + $retval$5 = $retval$1; break; } - case 83: - { - if ((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($0, 1) | 0) << 24 >> 24 == 116) label = 13; else { - $11 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0; - $12 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E17parseSubstitutionEv($11) | 0; - HEAP32[$2 >> 2] = $12; - if (($12 | 0) != 0 ? (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($0, 0) | 0) << 24 >> 24 == 73 : 0) { - $16 = ($1 | 0) != 0; - $17 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E17parseTemplateArgsEb($11, $16) | 0; - HEAP32[$3 >> 2] = $17; - if (!$17) $$0 = 0; else { - if ($16) HEAP8[$1 + 1 >> 0] = 1; - $$0 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_20NameWithTemplateArgsEJRPNS0_4NodeESA_EEES9_DpOT0_($0, $2, $3) | 0; - } - $$1 = $$0; - } else $$1 = 0; - $$4 = $$1; + if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($this, 95) | 0) { + $call43 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseTypeEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0) | 0; + HEAP32[$agg$tmp$byval_copy >> 2] = $call43; + if (!$call43) $retval$4 = 0; else { + __ZN12_GLOBAL__N_110StringViewC2Ev($ElemType); + $retval$4 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_10VectorTypeEJRPNS0_4NodeENS_10StringViewEEEES9_DpOT0_($this, $agg$tmp$byval_copy, $ElemType) | 0; } + $retval$5 = $retval$4; break; } - default: - label = 13; - } - if ((label | 0) == 13) { - $21 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0; - $22 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E17parseUnscopedNameEPNS5_9NameStateE($21, $1) | 0; - HEAP32[$2 >> 2] = $22; - if ($22) if ((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($0, 0) | 0) << 24 >> 24 == 73) { - __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE9push_backERKS3_($0 + 148 | 0, $2); - $27 = ($1 | 0) != 0; - $28 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E17parseTemplateArgsEb($21, $27) | 0; - HEAP32[$3 >> 2] = $28; - if (!$28) $$2 = 0; else { - if ($27) HEAP8[$1 + 1 >> 0] = 1; - $$2 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_20NameWithTemplateArgsEJRPNS0_4NodeESA_EEES9_DpOT0_($0, $2, $3) | 0; - } - $$3 = $$2; - } else $$3 = $22; else $$3 = 0; - $$4 = $$3; - } + $call24 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0; + $call25 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseExprEv($call24) | 0; + HEAP32[$agg$tmp$byval_copy >> 2] = $call25; + if (($call25 | 0) != 0 ? __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($this, 95) | 0 : 0) { + $call33 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseTypeEv($call24) | 0; + HEAP32[$ElemType >> 2] = $call33; + if (!$call33) $retval$2 = 0; else $retval$2 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_10VectorTypeEJRPNS0_4NodeESA_EEES9_DpOT0_($this, $ElemType, $agg$tmp$byval_copy) | 0; + $retval$3 = $retval$2; + } else $retval$3 = 0; + $retval$5 = $retval$3; + } else $retval$5 = 0; while (0); STACKTOP = sp; - return $$4 | 0; + return $retval$5 | 0; } -function __ZNSt3__2L13utf8_to_utf16EPKhS1_RS1_PtS3_RS3_mNS_12codecvt_modeE($0, $1, $2, $3, $4, $5, $6, $7) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - $6 = $6 | 0; - $7 = $7 | 0; - var $$8 = 0, $$pre$phiZ2D = 0, $$sink = 0, $10 = 0, $104 = 0, $106 = 0, $11 = 0, $110 = 0, $113 = 0, $134 = 0, $24 = 0, $25 = 0, $27 = 0, $29 = 0, $30 = 0, $42 = 0, $48 = 0, $57 = 0, $59 = 0, $66 = 0, $75 = 0, $85 = 0, $87 = 0, $89 = 0, $95 = 0, $98 = 0; - HEAP32[$2 >> 2] = $0; - HEAP32[$5 >> 2] = $3; - if ($7 & 4) { - $10 = HEAP32[$2 >> 2] | 0; - $11 = $1; - if (((($11 - $10 | 0) > 2 ? (HEAP8[$10 >> 0] | 0) == -17 : 0) ? (HEAP8[$10 + 1 >> 0] | 0) == -69 : 0) ? (HEAP8[$10 + 2 >> 0] | 0) == -65 : 0) { - HEAP32[$2 >> 2] = $10 + 3; - $$pre$phiZ2D = $11; - } else $$pre$phiZ2D = $11; - } else $$pre$phiZ2D = $1; - $24 = $4; - L9 : while (1) { - $25 = HEAP32[$2 >> 2] | 0; - if ($25 >>> 0 >= $1 >>> 0) { - $$8 = 0; - break; - } - $27 = HEAP32[$5 >> 2] | 0; - if ($27 >>> 0 >= $4 >>> 0) { - $$8 = 1; - break; - } - $29 = HEAP8[$25 >> 0] | 0; - $30 = $29 & 255; - if ($30 >>> 0 > $6 >>> 0) { - $$8 = 2; - break; +function _jpeg_idct_3x3($cinfo, $compptr, $coef_block, $output_buf, $output_col) { + $cinfo = $cinfo | 0; + $compptr = $compptr | 0; + $coef_block = $coef_block | 0; + $output_buf = $output_buf | 0; + $output_col = $output_col | 0; + var $0 = 0, $1 = 0, $add = 0, $add$1 = 0, $add$2 = 0, $add$ptr = 0, $add$ptr29 = 0, $add$ptr29$1 = 0, $add$ptr29$2 = 0, $add35 = 0, $add35$1 = 0, $add35$2 = 0, $add7 = 0, $add7$1 = 0, $add7$2 = 0, $arrayidx20 = 0, $mul13 = 0, $mul13$1 = 0, $mul13$2 = 0, $mul39 = 0, $mul39$1 = 0, $mul39$2 = 0, $mul6 = 0, $mul6$1 = 0, $mul6$2 = 0, $shl32 = 0, $shl32$1 = 0, $shl32$2 = 0, $shr = 0, $shr$1 = 0, $shr$2 = 0, $shr17$2 = 0, $shr19$1 = 0, $shr19$2 = 0, $sub37 = 0, $sub37$1 = 0, $sub37$2 = 0, $sub8 = 0, $sub8$1 = 0, $sub8$2 = 0, $workspace = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 48 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); + $workspace = sp; + $0 = HEAP32[$cinfo + 336 >> 2] | 0; + $1 = HEAP32[$compptr + 84 >> 2] | 0; + $add = Math_imul(HEAP16[$coef_block >> 1] << 13, HEAP32[$1 >> 2] | 0) | 0 | 1024; + $mul6 = Math_imul((HEAP16[$coef_block + 32 >> 1] | 0) * 5793 | 0, HEAP32[$1 + 64 >> 2] | 0) | 0; + $add7 = $mul6 + $add | 0; + $sub8 = (Math_imul($mul6, -2) | 0) + $add | 0; + $mul13 = Math_imul((HEAP16[$coef_block + 16 >> 1] | 0) * 10033 | 0, HEAP32[$1 + 32 >> 2] | 0) | 0; + $shr = $mul13 + $add7 >> 11; + HEAP32[$workspace >> 2] = $shr; + HEAP32[$workspace + 24 >> 2] = $add7 - $mul13 >> 11; + $arrayidx20 = $workspace + 12 | 0; + HEAP32[$arrayidx20 >> 2] = $sub8 >> 11; + $add$1 = Math_imul(HEAP16[$coef_block + 2 >> 1] << 13, HEAP32[$1 + 4 >> 2] | 0) | 0 | 1024; + $mul6$1 = Math_imul((HEAP16[$coef_block + 34 >> 1] | 0) * 5793 | 0, HEAP32[$1 + 68 >> 2] | 0) | 0; + $add7$1 = $mul6$1 + $add$1 | 0; + $sub8$1 = (Math_imul($mul6$1, -2) | 0) + $add$1 | 0; + $mul13$1 = Math_imul((HEAP16[$coef_block + 18 >> 1] | 0) * 10033 | 0, HEAP32[$1 + 36 >> 2] | 0) | 0; + $shr$1 = $mul13$1 + $add7$1 >> 11; + HEAP32[$workspace + 4 >> 2] = $shr$1; + HEAP32[$workspace + 28 >> 2] = $add7$1 - $mul13$1 >> 11; + $shr19$1 = $sub8$1 >> 11; + HEAP32[$workspace + 16 >> 2] = $shr19$1; + $add$2 = Math_imul(HEAP16[$coef_block + 4 >> 1] << 13, HEAP32[$1 + 8 >> 2] | 0) | 0 | 1024; + $mul6$2 = Math_imul((HEAP16[$coef_block + 36 >> 1] | 0) * 5793 | 0, HEAP32[$1 + 72 >> 2] | 0) | 0; + $add7$2 = $mul6$2 + $add$2 | 0; + $sub8$2 = (Math_imul($mul6$2, -2) | 0) + $add$2 | 0; + $mul13$2 = Math_imul((HEAP16[$coef_block + 20 >> 1] | 0) * 10033 | 0, HEAP32[$1 + 40 >> 2] | 0) | 0; + $shr$2 = $mul13$2 + $add7$2 >> 11; + HEAP32[$workspace + 8 >> 2] = $shr$2; + $shr17$2 = $add7$2 - $mul13$2 >> 11; + HEAP32[$workspace + 32 >> 2] = $shr17$2; + $shr19$2 = $sub8$2 >> 11; + HEAP32[$workspace + 20 >> 2] = $shr19$2; + $add$ptr = $0 + -384 | 0; + $add$ptr29 = (HEAP32[$output_buf >> 2] | 0) + $output_col | 0; + $shl32 = ($shr << 13) + 134348800 | 0; + $add35 = $shl32 + ($shr$2 * 5793 | 0) | 0; + $sub37 = (Math_imul($shr$2, -11586) | 0) + $shl32 | 0; + $mul39 = $shr$1 * 10033 | 0; + HEAP8[$add$ptr29 >> 0] = HEAP8[$add$ptr + (($add35 + $mul39 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr29 + 2 >> 0] = HEAP8[$add$ptr + (($add35 - $mul39 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr29 + 1 >> 0] = HEAP8[$add$ptr + ($sub37 >>> 18 & 1023) >> 0] | 0; + $add$ptr29$1 = (HEAP32[$output_buf + 4 >> 2] | 0) + $output_col | 0; + $shl32$1 = (HEAP32[$arrayidx20 >> 2] << 13) + 134348800 | 0; + $add35$1 = $shl32$1 + ($shr19$2 * 5793 | 0) | 0; + $sub37$1 = (Math_imul($shr19$2, -11586) | 0) + $shl32$1 | 0; + $mul39$1 = $shr19$1 * 10033 | 0; + HEAP8[$add$ptr29$1 >> 0] = HEAP8[$add$ptr + (($add35$1 + $mul39$1 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr29$1 + 2 >> 0] = HEAP8[$add$ptr + (($add35$1 - $mul39$1 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr29$1 + 1 >> 0] = HEAP8[$add$ptr + ($sub37$1 >>> 18 & 1023) >> 0] | 0; + $add$ptr29$2 = (HEAP32[$output_buf + 8 >> 2] | 0) + $output_col | 0; + $shl32$2 = (HEAP32[$workspace + 24 >> 2] << 13) + 134348800 | 0; + $add35$2 = $shl32$2 + ($shr17$2 * 5793 | 0) | 0; + $sub37$2 = (Math_imul($shr17$2, -11586) | 0) + $shl32$2 | 0; + $mul39$2 = (HEAP32[$workspace + 28 >> 2] | 0) * 10033 | 0; + HEAP8[$add$ptr29$2 >> 0] = HEAP8[$add$ptr + (($add35$2 + $mul39$2 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr29$2 + 2 >> 0] = HEAP8[$add$ptr + (($add35$2 - $mul39$2 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr29$2 + 1 >> 0] = HEAP8[$add$ptr + ($sub37$2 >>> 18 & 1023) >> 0] | 0; + STACKTOP = sp; + return; +} + +function __ZN6vision25DoGScaleInvariantDetector23findFeatureOrientationsEPKNS_25GaussianScaleSpacePyramidE($this, $pyramid) { + $this = $this | 0; + $pyramid = $pyramid | 0; + var $14 = 0.0, $17 = 0.0, $2 = 0, $21 = 0, $3 = 0, $30 = 0, $8 = 0, $9 = 0, $__begin_$i29 = 0, $__end_$i$i$i = 0, $__end_$i30 = 0, $__value_$i$i$i$i = 0, $angle53 = 0, $call29 = 0.0, $call37 = 0.0, $fp = 0, $i$0 = 0, $i7$0 = 0, $j$0 = 0, $mFeaturePoints5 = 0, $mOrientationAssignment = 0, $mTmpOrientatedFeaturePoints = 0, $num_angles = 0, $s = 0, $sub$ptr$div$i = 0, $x = 0, $y = 0, dest = 0, sp = 0, src = 0, stop = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 64 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(64); + $num_angles = sp + 48 | 0; + $x = sp + 44 | 0; + $y = sp + 40 | 0; + $s = sp + 36 | 0; + $fp = sp; + L1 : do if (!(HEAP8[$this + 28 >> 0] | 0)) { + $2 = HEAP32[$this + 60 >> 2] | 0; + $sub$ptr$div$i = ((HEAP32[$this + 64 >> 2] | 0) - $2 | 0) / 36 | 0; + $3 = $2; + $i$0 = 0; + while (1) { + if (($i$0 | 0) == ($sub$ptr$div$i | 0)) break L1; + HEAPF32[$3 + ($i$0 * 36 | 0) + 8 >> 2] = 0.0; + $i$0 = $i$0 + 1 | 0; } - do if ($29 << 24 >> 24 > -1) { - HEAP16[$27 >> 1] = $29 & 255; - $$sink = $25 + 1 | 0; - } else { - if (($29 & 255) < 194) { - $$8 = 2; - break L9; - } - if (($29 & 255) < 224) { - if (($$pre$phiZ2D - $25 | 0) < 2) { - $$8 = 1; - break L9; - } - $42 = HEAPU8[$25 + 1 >> 0] | 0; - if (($42 & 192 | 0) != 128) { - $$8 = 2; - break L9; - } - $48 = $42 & 63 | $30 << 6 & 1984; - if ($48 >>> 0 > $6 >>> 0) { - $$8 = 2; - break L9; + } else { + $mTmpOrientatedFeaturePoints = $this + 72 | 0; + $__end_$i$i$i = $this + 76 | 0; + HEAP32[$__end_$i$i$i >> 2] = HEAP32[$mTmpOrientatedFeaturePoints >> 2]; + $mFeaturePoints5 = $this + 60 | 0; + $__end_$i30 = $this + 64 | 0; + __ZNSt3__26vectorIN6vision25DoGScaleInvariantDetector12FeaturePointENS_9allocatorIS3_EEE7reserveEm($mTmpOrientatedFeaturePoints, (HEAP32[$__end_$i30 >> 2] | 0) - (HEAP32[$mFeaturePoints5 >> 2] | 0) | 0); + $mOrientationAssignment = $this + 92 | 0; + __ZN6vision21OrientationAssignment16computeGradientsEPKNS_25GaussianScaleSpacePyramidE($mOrientationAssignment, $pyramid); + $__begin_$i29 = $this + 144 | 0; + $angle53 = $fp + 8 | 0; + $__value_$i$i$i$i = $this + 80 | 0; + $i7$0 = 0; + while (1) { + $8 = HEAP32[$mFeaturePoints5 >> 2] | 0; + $9 = $8; + if ($i7$0 >>> 0 >= (((HEAP32[$__end_$i30 >> 2] | 0) - $8 | 0) / 36 | 0) >>> 0) break; + __ZN6vision25bilinear_downsample_pointERfS0_S0_fffi($x, $y, $s, +HEAPF32[$9 + ($i7$0 * 36 | 0) >> 2], +HEAPF32[$9 + ($i7$0 * 36 | 0) + 4 >> 2], +HEAPF32[$9 + ($i7$0 * 36 | 0) + 28 >> 2], HEAP32[$9 + ($i7$0 * 36 | 0) + 12 >> 2] | 0); + $14 = +HEAPF32[$x >> 2]; + $call29 = +__ZN6vision10ClipScalarIfEET_S1_S1_S1_($14, 0.0, +(((__ZNK6vision5Image5widthEv(__ZNK6vision25GaussianScaleSpacePyramid3getEmm($pyramid, HEAP32[(HEAP32[$mFeaturePoints5 >> 2] | 0) + ($i7$0 * 36 | 0) + 12 >> 2] | 0, 0) | 0) | 0) + -1 | 0) >>> 0)); + HEAPF32[$x >> 2] = $call29; + $17 = +HEAPF32[$y >> 2]; + $call37 = +__ZN6vision10ClipScalarIfEET_S1_S1_S1_($17, 0.0, +(((__ZNK6vision5Image6heightEv(__ZNK6vision25GaussianScaleSpacePyramid3getEmm($pyramid, HEAP32[(HEAP32[$mFeaturePoints5 >> 2] | 0) + ($i7$0 * 36 | 0) + 12 >> 2] | 0, 0) | 0) | 0) + -1 | 0) >>> 0)); + HEAPF32[$y >> 2] = $call37; + $21 = HEAP32[$mFeaturePoints5 >> 2] | 0; + __ZN6vision21OrientationAssignment7computeEPfRiiifff($mOrientationAssignment, HEAP32[$__begin_$i29 >> 2] | 0, $num_angles, HEAP32[$21 + ($i7$0 * 36 | 0) + 12 >> 2] | 0, HEAP32[$21 + ($i7$0 * 36 | 0) + 16 >> 2] | 0, +HEAPF32[$x >> 2], $call37, +HEAPF32[$s >> 2]); + $j$0 = 0; + while (1) { + if (($j$0 | 0) >= (HEAP32[$num_angles >> 2] | 0)) break; + dest = $fp; + src = (HEAP32[$mFeaturePoints5 >> 2] | 0) + ($i7$0 * 36 | 0) | 0; + stop = dest + 36 | 0; + do { + HEAP32[dest >> 2] = HEAP32[src >> 2]; + dest = dest + 4 | 0; + src = src + 4 | 0; + } while ((dest | 0) < (stop | 0)); + HEAP32[$angle53 >> 2] = HEAP32[(HEAP32[$__begin_$i29 >> 2] | 0) + ($j$0 << 2) >> 2]; + $30 = HEAP32[$__end_$i$i$i >> 2] | 0; + if (($30 | 0) == (HEAP32[$__value_$i$i$i$i >> 2] | 0)) __ZNSt3__26vectorIN6vision25DoGScaleInvariantDetector12FeaturePointENS_9allocatorIS3_EEE21__push_back_slow_pathIRKS3_EEvOT_($mTmpOrientatedFeaturePoints, $fp); else { + dest = $30; + src = $fp; + stop = dest + 36 | 0; + do { + HEAP32[dest >> 2] = HEAP32[src >> 2]; + dest = dest + 4 | 0; + src = src + 4 | 0; + } while ((dest | 0) < (stop | 0)); + HEAP32[$__end_$i$i$i >> 2] = (HEAP32[$__end_$i$i$i >> 2] | 0) + 36; } - HEAP16[$27 >> 1] = $48; - $$sink = $25 + 2 | 0; - break; + $j$0 = $j$0 + 1 | 0; } - if (($29 & 255) < 240) { - if (($$pre$phiZ2D - $25 | 0) < 3) { - $$8 = 1; - break L9; - } - $57 = HEAP8[$25 + 1 >> 0] | 0; - $59 = HEAP8[$25 + 2 >> 0] | 0; - switch ($29 << 24 >> 24) { - case -32: - { - if (($57 & -32) << 24 >> 24 != -96) { - $$8 = 2; - break L9; - } - break; - } - case -19: - { - if (($57 & -32) << 24 >> 24 != -128) { - $$8 = 2; - break L9; - } - break; - } - default: - if (($57 & -64) << 24 >> 24 != -128) { - $$8 = 2; - break L9; - } - } - $66 = $59 & 255; - if (($66 & 192 | 0) != 128) { - $$8 = 2; - break L9; - } - $75 = ($57 & 63) << 6 | $30 << 12 | $66 & 63; - if (($75 & 65535) >>> 0 > $6 >>> 0) { - $$8 = 2; - break L9; - } - HEAP16[$27 >> 1] = $75; - $$sink = $25 + 3 | 0; + $i7$0 = $i7$0 + 1 | 0; + } + __ZNSt3__26vectorIN6vision25DoGScaleInvariantDetector12FeaturePointENS_9allocatorIS3_EEE4swapERS6_($mFeaturePoints5, $mTmpOrientatedFeaturePoints); + } while (0); + STACKTOP = sp; + return; +} + +function __ZN6vision20VisualDatabaseFacade30addFreakFeaturesAndDescriptorsERKNSt3__26vectorINS_12FeaturePointENS1_9allocatorIS3_EEEERKNS2_IhNS4_IhEEEERKNS2_INS_7Point3dIfEENS4_ISE_EEEEmmi($this, $featurePoints, $descriptors, $points3D, $width, $height, $image_id) { + $this = $this | 0; + $featurePoints = $featurePoints | 0; + $descriptors = $descriptors | 0; + $points3D = $points3D | 0; + $width = $width | 0; + $height = $height | 0; + $image_id = $image_id | 0; + var $17 = 0, $19 = 0, $__end_$i14 = 0, $__end_$i6 = 0, $__shared_owners_$i$i$i = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, $agg$tmp43 = 0, $call = 0, $call15 = 0, $call22 = 0, $call29 = 0, $call36 = 0, $call49 = 0, $image_id$addr = 0, $keyframe = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 32 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); + $agg$tmp$byval_copy = sp + 24 | 0; + $image_id$addr = sp + 12 | 0; + $keyframe = sp + 16 | 0; + $agg$tmp = sp + 8 | 0; + $agg$tmp43 = sp; + HEAP32[$image_id$addr >> 2] = $image_id; + $call = __Znwm(148) | 0; + __ZN6vision8KeyframeILi96EEC2Ev($call); + HEAP32[$agg$tmp >> 2] = 0; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + __ZNSt3__210shared_ptrIN6vision8KeyframeILi96EEEEC2IS3_EEPT_NS_9enable_ifIXsr14is_convertibleIS7_PS3_EE5valueENS4_5__natEE4typeE($keyframe, $call, $agg$tmp$byval_copy); + __ZN6vision8KeyframeILi96EE8setWidthEi(HEAP32[$keyframe >> 2] | 0, $width); + __ZN6vision8KeyframeILi96EE9setHeightEi(HEAP32[$keyframe >> 2] | 0, $height); + __ZN6vision18BinaryFeatureStore21setNumBytesPerFeatureEi(__ZN6vision8KeyframeILi96EE5storeEv(HEAP32[$keyframe >> 2] | 0) | 0, 96); + $call15 = __ZN6vision18BinaryFeatureStore6pointsEv(__ZN6vision8KeyframeILi96EE5storeEv(HEAP32[$keyframe >> 2] | 0) | 0) | 0; + $__end_$i6 = $featurePoints + 4 | 0; + __ZNSt3__26vectorIN6vision12FeaturePointENS_9allocatorIS2_EEE6resizeEm($call15, ((HEAP32[$__end_$i6 >> 2] | 0) - (HEAP32[$featurePoints >> 2] | 0) | 0) / 20 | 0); + $call22 = __ZN6vision18BinaryFeatureStore6pointsEv(__ZN6vision8KeyframeILi96EE5storeEv(HEAP32[$keyframe >> 2] | 0) | 0) | 0; + if (($call22 | 0) != ($featurePoints | 0)) __ZNSt3__26vectorIN6vision12FeaturePointENS_9allocatorIS2_EEE6assignIPS2_EENS_9enable_ifIXaasr21__is_forward_iteratorIT_EE5valuesr16is_constructibleIS2_NS_15iterator_traitsIS9_E9referenceEEE5valueEvE4typeES9_S9_($call22, HEAP32[$featurePoints >> 2] | 0, HEAP32[$__end_$i6 >> 2] | 0); + $call29 = __ZN6vision18BinaryFeatureStore8featuresEv(__ZN6vision8KeyframeILi96EE5storeEv(HEAP32[$keyframe >> 2] | 0) | 0) | 0; + $__end_$i14 = $descriptors + 4 | 0; + __ZNSt3__26vectorIhNS_9allocatorIhEEE6resizeEm($call29, (HEAP32[$__end_$i14 >> 2] | 0) - (HEAP32[$descriptors >> 2] | 0) | 0); + $call36 = __ZN6vision18BinaryFeatureStore8featuresEv(__ZN6vision8KeyframeILi96EE5storeEv(HEAP32[$keyframe >> 2] | 0) | 0) | 0; + if (($call36 | 0) != ($descriptors | 0)) __ZNSt3__26vectorIhNS_9allocatorIhEEE6assignIPhEENS_9enable_ifIXaasr21__is_forward_iteratorIT_EE5valuesr16is_constructibleIhNS_15iterator_traitsIS7_E9referenceEEE5valueEvE4typeES7_S7_($call36, HEAP32[$descriptors >> 2] | 0, HEAP32[$__end_$i14 >> 2] | 0); + __ZN6vision8KeyframeILi96EE10buildIndexEv(HEAP32[$keyframe >> 2] | 0); + $17 = HEAP32[HEAP32[$this >> 2] >> 2] | 0; + HEAP32[$agg$tmp43 >> 2] = HEAP32[$keyframe >> 2]; + $19 = HEAP32[$keyframe + 4 >> 2] | 0; + HEAP32[$agg$tmp43 + 4 >> 2] = $19; + if ($19 | 0) { + $__shared_owners_$i$i$i = $19 + 4 | 0; + HEAP32[$__shared_owners_$i$i$i >> 2] = (HEAP32[$__shared_owners_$i$i$i >> 2] | 0) + 1; + } + __ZN6vision14VisualDatabaseINS_14FREAKExtractorENS_18BinaryFeatureStoreENS_20BinaryFeatureMatcherILi96EEEE11addKeyframeENSt3__210shared_ptrINS_8KeyframeILi96EEEEEi($17, $agg$tmp43, HEAP32[$image_id$addr >> 2] | 0); + __ZNSt3__210shared_ptrIN6vision8KeyframeILi96EEEED2Ev($agg$tmp43); + $call49 = __ZNSt3__213unordered_mapIiNS_6vectorIN6vision7Point3dIfEENS_9allocatorIS4_EEEENS_4hashIiEENS_8equal_toIiEENS5_INS_4pairIKiS7_EEEEEixERSD_((HEAP32[$this >> 2] | 0) + 4 | 0, $image_id$addr) | 0; + if (($call49 | 0) != ($points3D | 0)) __ZNSt3__26vectorIN6vision7Point3dIfEENS_9allocatorIS3_EEE6assignIPS3_EENS_9enable_ifIXaasr21__is_forward_iteratorIT_EE5valuesr16is_constructibleIS3_NS_15iterator_traitsISA_E9referenceEEE5valueEvE4typeESA_SA_($call49, HEAP32[$points3D >> 2] | 0, HEAP32[$points3D + 4 >> 2] | 0); + __ZNSt3__210shared_ptrIN6vision8KeyframeILi96EEEED2Ev($keyframe); + STACKTOP = sp; + return; +} + +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E18parseQualifiedTypeEv($this) { + $this = $this | 0; + var $Proto = 0, $Qual = 0, $SaveFirst = 0, $SaveLast = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, $call12 = 0, $call21 = 0, $call29 = 0, $call31 = 0, $call37 = 0, $retval$0 = 0, $retval$1 = 0, $retval$2 = 0, $retval$3 = 0, $retval$4 = 0, $retval$5 = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 64 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(64); + $agg$tmp$byval_copy = sp + 48 | 0; + $Qual = sp + 40 | 0; + $agg$tmp = sp + 32 | 0; + $Proto = sp; + $SaveFirst = sp + 20 | 0; + $SaveLast = sp + 8 | 0; + if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($this, 85) | 0) { + __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E19parseBareSourceNameEv($Qual, $this); + do if (__ZNK12_GLOBAL__N_110StringView5emptyEv($Qual) | 0) $retval$3 = 0; else { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, 56968); + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + if (!(__ZNK12_GLOBAL__N_110StringView10startsWithES0_($Qual, $agg$tmp$byval_copy) | 0)) { + $call21 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E18parseQualifiedTypeEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0) | 0; + HEAP32[$agg$tmp$byval_copy >> 2] = $call21; + if (!$call21) $retval$2 = 0; else $retval$2 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_17VendorExtQualTypeEJRPNS0_4NodeERNS_10StringViewEEEES9_DpOT0_($this, $agg$tmp$byval_copy, $Qual) | 0; + $retval$3 = $retval$2; + break; + } + __ZNK12_GLOBAL__N_110StringView9dropFrontEm($agg$tmp$byval_copy, $Qual, 9); + __ZN12_GLOBAL__N_110StringViewC2Ev($Proto); + __ZN12_GLOBAL__N_114SwapAndRestoreIPKcEC2ERS2_S2_($SaveFirst, $this, __ZNK12_GLOBAL__N_110StringView5beginEv($agg$tmp$byval_copy) | 0); + __ZN12_GLOBAL__N_114SwapAndRestoreIPKcEC2ERS2_S2_($SaveLast, $this + 4 | 0, __ZNK12_GLOBAL__N_110StringView3endEv($agg$tmp$byval_copy) | 0); + __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E19parseBareSourceNameEv($Proto, $this); + __ZN12_GLOBAL__N_114SwapAndRestoreIPKcED2Ev($SaveLast); + __ZN12_GLOBAL__N_114SwapAndRestoreIPKcED2Ev($SaveFirst); + if (__ZNK12_GLOBAL__N_110StringView5emptyEv($Proto) | 0) $retval$1 = 0; else { + $call12 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E18parseQualifiedTypeEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0) | 0; + HEAP32[$SaveFirst >> 2] = $call12; + if (!$call12) $retval$0 = 0; else $retval$0 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_13ObjCProtoNameEJRPNS0_4NodeERNS_10StringViewEEEES9_DpOT0_($this, $SaveFirst, $Proto) | 0; + $retval$1 = $retval$0; + } + $retval$3 = $retval$1; + } while (0); + $retval$5 = $retval$3; + } else { + $call29 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E17parseCVQualifiersEv($this) | 0; + HEAP32[$agg$tmp$byval_copy >> 2] = $call29; + $call31 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseTypeEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0) | 0; + HEAP32[$Qual >> 2] = $call31; + if ($call31) if (!$call29) $retval$4 = $call31; else { + $call37 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8QualTypeEJRPNS0_4NodeERNS0_10QualifiersEEEES9_DpOT0_($this, $Qual, $agg$tmp$byval_copy) | 0; + HEAP32[$Qual >> 2] = $call37; + $retval$4 = $call37; + } else $retval$4 = 0; + $retval$5 = $retval$4; + } + STACKTOP = sp; + return $retval$5 | 0; +} + +function _next_marker($cinfo) { + $cinfo = $cinfo | 0; + var $0 = 0, $16 = 0, $18 = 0, $19 = 0, $bytes_in_buffer$0 = 0, $bytes_in_buffer$1 = 0, $bytes_in_buffer$2 = 0, $bytes_in_buffer$256 = 0, $bytes_in_buffer$259 = 0, $bytes_in_buffer$3 = 0, $bytes_in_buffer$4 = 0, $bytes_in_buffer$4$ph = 0, $bytes_in_buffer$5 = 0, $bytes_in_buffer2 = 0, $conv43$le$le = 0, $discarded_bytes = 0, $discarded_bytes59 = 0, $fill_input_buffer = 0, $marker = 0, $next_input_byte$0 = 0, $next_input_byte$1 = 0, $next_input_byte$2 = 0, $next_input_byte$257 = 0, $next_input_byte$260 = 0, $next_input_byte$3 = 0, $next_input_byte$4 = 0, $next_input_byte$4$ph = 0, $next_input_byte$5 = 0, $retval$0 = 0, label = 0; + $0 = HEAP32[$cinfo + 24 >> 2] | 0; + $bytes_in_buffer2 = $0 + 4 | 0; + $fill_input_buffer = $0 + 12 | 0; + $marker = $cinfo + 464 | 0; + $bytes_in_buffer$0 = HEAP32[$bytes_in_buffer2 >> 2] | 0; + $next_input_byte$0 = HEAP32[$0 >> 2] | 0; + L1 : while (1) { + if (!$bytes_in_buffer$0) { + if (!(FUNCTION_TABLE_ii[HEAP32[$fill_input_buffer >> 2] & 127]($cinfo) | 0)) { + $retval$0 = 0; + label = 21; break; } - if (($29 & 255) >= 245) { - $$8 = 2; - break L9; - } - if (($$pre$phiZ2D - $25 | 0) < 4) { - $$8 = 1; - break L9; - } - $85 = HEAP8[$25 + 1 >> 0] | 0; - $87 = HEAP8[$25 + 2 >> 0] | 0; - $89 = HEAP8[$25 + 3 >> 0] | 0; - switch ($29 << 24 >> 24) { - case -16: - { - if (($85 + 112 & 255) >= 48) { - $$8 = 2; - break L9; - } - break; - } - case -12: - { - if (($85 & -16) << 24 >> 24 != -128) { - $$8 = 2; - break L9; + $bytes_in_buffer$1 = HEAP32[$bytes_in_buffer2 >> 2] | 0; + $next_input_byte$1 = HEAP32[$0 >> 2] | 0; + } else { + $bytes_in_buffer$1 = $bytes_in_buffer$0; + $next_input_byte$1 = $next_input_byte$0; + } + $bytes_in_buffer$256 = $bytes_in_buffer$1 + -1 | 0; + $next_input_byte$257 = $next_input_byte$1 + 1 | 0; + if ((HEAP8[$next_input_byte$1 >> 0] | 0) == -1) { + $bytes_in_buffer$4$ph = $bytes_in_buffer$256; + $next_input_byte$4$ph = $next_input_byte$257; + } else { + $bytes_in_buffer$259 = $bytes_in_buffer$256; + $next_input_byte$260 = $next_input_byte$257; + while (1) { + $discarded_bytes = (HEAP32[$marker >> 2] | 0) + 24 | 0; + HEAP32[$discarded_bytes >> 2] = (HEAP32[$discarded_bytes >> 2] | 0) + 1; + HEAP32[$0 >> 2] = $next_input_byte$260; + HEAP32[$bytes_in_buffer2 >> 2] = $bytes_in_buffer$259; + if (!$bytes_in_buffer$259) { + if (!(FUNCTION_TABLE_ii[HEAP32[$fill_input_buffer >> 2] & 127]($cinfo) | 0)) { + $retval$0 = 0; + label = 21; + break L1; } + $bytes_in_buffer$3 = HEAP32[$bytes_in_buffer2 >> 2] | 0; + $next_input_byte$3 = HEAP32[$0 >> 2] | 0; + } else { + $bytes_in_buffer$3 = $bytes_in_buffer$259; + $next_input_byte$3 = $next_input_byte$260; + } + $bytes_in_buffer$2 = $bytes_in_buffer$3 + -1 | 0; + $next_input_byte$2 = $next_input_byte$3 + 1 | 0; + if ((HEAP8[$next_input_byte$3 >> 0] | 0) == -1) { + $bytes_in_buffer$4$ph = $bytes_in_buffer$2; + $next_input_byte$4$ph = $next_input_byte$2; break; - } - default: - if (($85 & -64) << 24 >> 24 != -128) { - $$8 = 2; - break L9; + } else { + $bytes_in_buffer$259 = $bytes_in_buffer$2; + $next_input_byte$260 = $next_input_byte$2; } } - $95 = $87 & 255; - if (($95 & 192 | 0) != 128) { - $$8 = 2; - break L9; - } - $98 = $89 & 255; - if (($98 & 192 | 0) != 128) { - $$8 = 2; - break L9; - } - if (($24 - $27 | 0) < 4) { - $$8 = 1; - break L9; - } - $104 = $30 & 7; - $106 = $85 & 255; - $110 = $95 << 6; - $113 = $98 & 63; - if (($106 << 12 & 258048 | $104 << 18 | $110 & 4032 | $113) >>> 0 > $6 >>> 0) { - $$8 = 2; - break L9; - } - HEAP16[$27 >> 1] = $106 << 2 & 60 | $95 >>> 4 & 3 | (($106 >>> 4 & 3 | $104 << 2) << 6) + 16320 | 55296; - $134 = $27 + 2 | 0; - HEAP32[$5 >> 2] = $134; - HEAP16[$134 >> 1] = $113 | $110 & 960 | 56320; - $$sink = (HEAP32[$2 >> 2] | 0) + 4 | 0; - } while (0); - HEAP32[$2 >> 2] = $$sink; - HEAP32[$5 >> 2] = (HEAP32[$5 >> 2] | 0) + 2; + } + $bytes_in_buffer$4 = $bytes_in_buffer$4$ph; + $next_input_byte$4 = $next_input_byte$4$ph; + do { + if (!$bytes_in_buffer$4) { + if (!(FUNCTION_TABLE_ii[HEAP32[$fill_input_buffer >> 2] & 127]($cinfo) | 0)) { + $retval$0 = 0; + label = 21; + break L1; + } + $bytes_in_buffer$5 = HEAP32[$bytes_in_buffer2 >> 2] | 0; + $next_input_byte$5 = HEAP32[$0 >> 2] | 0; + } else { + $bytes_in_buffer$5 = $bytes_in_buffer$4; + $next_input_byte$5 = $next_input_byte$4; + } + $bytes_in_buffer$4 = $bytes_in_buffer$5 + -1 | 0; + $next_input_byte$4 = $next_input_byte$5 + 1 | 0; + $16 = HEAP8[$next_input_byte$5 >> 0] | 0; + } while ($16 << 24 >> 24 == -1); + $discarded_bytes59 = (HEAP32[$marker >> 2] | 0) + 24 | 0; + $18 = HEAP32[$discarded_bytes59 >> 2] | 0; + if ($16 << 24 >> 24) { + label = 18; + break; + } + HEAP32[$discarded_bytes59 >> 2] = $18 + 2; + HEAP32[$0 >> 2] = $next_input_byte$4; + HEAP32[$bytes_in_buffer2 >> 2] = $bytes_in_buffer$4; + $bytes_in_buffer$0 = $bytes_in_buffer$4; + $next_input_byte$0 = $next_input_byte$4; } - return $$8 | 0; + if ((label | 0) == 18) { + $conv43$le$le = $16 & 255; + if ($18 | 0) { + $19 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$19 + 20 >> 2] = 119; + HEAP32[$19 + 24 >> 2] = $18; + HEAP32[(HEAP32[$cinfo >> 2] | 0) + 28 >> 2] = $conv43$le$le; + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$cinfo >> 2] | 0) + 4 >> 2] & 255]($cinfo, -1); + HEAP32[(HEAP32[$marker >> 2] | 0) + 24 >> 2] = 0; + } + HEAP32[$cinfo + 440 >> 2] = $conv43$le$le; + HEAP32[$0 >> 2] = $next_input_byte$4; + HEAP32[$bytes_in_buffer2 >> 2] = $bytes_in_buffer$4; + $retval$0 = 1; + return $retval$0 | 0; + } else if ((label | 0) == 21) return $retval$0 | 0; + return 0; } -function __ZN6vision11PartialSortIfiEENSt3__24pairIT_T0_EEPS5_ii($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $$0 = 0, $$040 = 0, $$042 = 0, $$044 = 0, $$1 = 0, $$145 = 0, $$2 = 0, $$246 = 0, $11 = 0, $16 = 0, $20 = 0, $27 = 0, $32 = 0, $36 = 0, $37 = 0, $39 = 0, $4 = 0, $40 = 0, $42 = 0.0, $43 = 0, $44 = 0, $45 = 0.0, $52 = 0, $53 = 0.0, $61 = 0, $62 = 0, $63 = 0, $70 = 0, $75 = 0, $76 = 0, sp = 0; +function __ZN6vision11PartialSortIfiEENSt3__24pairIT_T0_EEPS5_ii($agg$result, $a, $n, $k) { + $agg$result = $agg$result | 0; + $a = $a | 0; + $n = $n | 0; + $k = $k | 0; + var $10 = 0, $15 = 0, $16 = 0, $2 = 0.0, $3 = 0, $4 = 0.0, $6 = 0.0, $8 = 0, $arrayidx = 0, $arrayidx25 = 0, $arrayidx29 = 0, $call$i1$i = 0, $call$i1$i52 = 0, $call$i2$i = 0, $call$i2$i55 = 0, $call15 = 0, $call5 = 0, $i$0 = 0, $i$1 = 0, $i$2 = 0, $j$0 = 0, $j$1 = 0, $j$2 = 0, $l$0 = 0, $m$0 = 0, $ref$tmp$i51 = 0, $second$i$i = 0, $second$i42 = 0, $second3$i$i = 0, $sub = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $4 = sp; - if (($2 | 0) <= 0) { - $11 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 37491) | 0, 37520) | 0, 39072) | 0, 82) | 0, 39079) | 0, 37593) | 0; - __ZNKSt3__28ios_base6getlocEv($4, $11 + (HEAP32[(HEAP32[$11 >> 2] | 0) + -12 >> 2] | 0) | 0); - $16 = __ZNKSt3__26locale9use_facetERNS0_2idE($4, 66512) | 0; - $20 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$16 >> 2] | 0) + 28 >> 2] & 127]($16, 10) | 0; - __ZNSt3__26localeD2Ev($4); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($11, $20) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($11) | 0; + $ref$tmp$i51 = sp; + if (($n | 0) <= 0) { + $call5 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 38023) | 0, 38052) | 0, 39794) | 0, 82) | 0, 39801) | 0, 38163) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i51, $call5 + (HEAP32[(HEAP32[$call5 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i52 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i51, 67360) | 0; + $call$i2$i55 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i52 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i52, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i51); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call5, $call$i2$i55) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call5) | 0; _abort(); } - if (($3 | 0) <= 0) { - $27 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 37612) | 0, 37520) | 0, 39072) | 0, 83) | 0, 39079) | 0, 37641) | 0; - __ZNKSt3__28ios_base6getlocEv($4, $27 + (HEAP32[(HEAP32[$27 >> 2] | 0) + -12 >> 2] | 0) | 0); - $32 = __ZNKSt3__26locale9use_facetERNS0_2idE($4, 66512) | 0; - $36 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$32 >> 2] | 0) + 28 >> 2] & 127]($32, 10) | 0; - __ZNSt3__26localeD2Ev($4); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($27, $36) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($27) | 0; + if (($k | 0) <= 0) { + $call15 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 38182) | 0, 38052) | 0, 39794) | 0, 83) | 0, 39801) | 0, 38211) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i51, $call15 + (HEAP32[(HEAP32[$call15 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i51, 67360) | 0; + $call$i2$i = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i >> 2] | 0) + 28 >> 2] & 127]($call$i1$i, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i51); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call15, $call$i2$i) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call15) | 0; _abort(); } - $37 = $3 + -1 | 0; - $39 = $1 + ($37 << 3) | 0; - $40 = $1 + ($37 << 3) + 4 | 0; - $$040 = $2 + -1 | 0; - $$042 = 0; + $sub = $k + -1 | 0; + $arrayidx = $a + ($sub << 3) | 0; + $second$i42 = $a + ($sub << 3) + 4 | 0; + $l$0 = 0; + $m$0 = $n + -1 | 0; while (1) { - if (($$042 | 0) >= ($$040 | 0)) break; - $42 = +HEAPF32[$39 >> 2]; - $43 = HEAP32[$40 >> 2] | 0; - $$0 = $$042; - $$044 = $$040; + if (($l$0 | 0) >= ($m$0 | 0)) break; + $2 = +HEAPF32[$arrayidx >> 2]; + $3 = HEAP32[$second$i42 >> 2] | 0; + $i$0 = $l$0; + $j$0 = $m$0; while (1) { - $$1 = $$0; + $i$1 = $i$0; while (1) { - $44 = $1 + ($$1 << 3) | 0; - $45 = +HEAPF32[$44 >> 2]; - if (!($45 < $42)) { - if ($42 < $45) break; - if ((HEAP32[$1 + ($$1 << 3) + 4 >> 2] | 0) >= ($43 | 0)) break; + $arrayidx25 = $a + ($i$1 << 3) | 0; + $4 = +HEAPF32[$arrayidx25 >> 2]; + if (!($4 < $2)) { + if ($2 < $4) break; + if ((HEAP32[$a + ($i$1 << 3) + 4 >> 2] | 0) >= ($3 | 0)) break; } - $$1 = $$1 + 1 | 0; + $i$1 = $i$1 + 1 | 0; } - $$145 = $$044; + $j$1 = $j$0; while (1) { - $52 = $1 + ($$145 << 3) | 0; - $53 = +HEAPF32[$52 >> 2]; - if (!($42 < $53)) { - if ($53 < $42) break; - if (($43 | 0) >= (HEAP32[$1 + ($$145 << 3) + 4 >> 2] | 0)) break; + $arrayidx29 = $a + ($j$1 << 3) | 0; + $6 = +HEAPF32[$arrayidx29 >> 2]; + if (!($2 < $6)) { + if ($6 < $2) break; + if (($3 | 0) >= (HEAP32[$a + ($j$1 << 3) + 4 >> 2] | 0)) break; } - $$145 = $$145 + -1 | 0; + $j$1 = $j$1 + -1 | 0; } - if (($$1 | 0) > ($$145 | 0)) { - $$2 = $$1; - $$246 = $$145; + if (($i$1 | 0) > ($j$1 | 0)) { + $i$2 = $i$1; + $j$2 = $j$1; } else { - HEAPF32[$44 >> 2] = $53; - HEAPF32[$52 >> 2] = $45; - $61 = $1 + ($$1 << 3) + 4 | 0; - $62 = $1 + ($$145 << 3) + 4 | 0; - $63 = HEAP32[$61 >> 2] | 0; - HEAP32[$61 >> 2] = HEAP32[$62 >> 2]; - HEAP32[$62 >> 2] = $63; - $$2 = $$1 + 1 | 0; - $$246 = $$145 + -1 | 0; + HEAPF32[$arrayidx25 >> 2] = $6; + HEAPF32[$arrayidx29 >> 2] = $4; + $second$i$i = $a + ($i$1 << 3) + 4 | 0; + $second3$i$i = $a + ($j$1 << 3) + 4 | 0; + $8 = HEAP32[$second$i$i >> 2] | 0; + HEAP32[$second$i$i >> 2] = HEAP32[$second3$i$i >> 2]; + HEAP32[$second3$i$i >> 2] = $8; + $i$2 = $i$1 + 1 | 0; + $j$2 = $j$1 + -1 | 0; } - if (($$2 | 0) > ($$246 | 0)) break; else { - $$0 = $$2; - $$044 = $$246; + if (($i$2 | 0) > ($j$2 | 0)) break; else { + $i$0 = $i$2; + $j$0 = $j$2; } } - $$040 = ($$2 | 0) < ($3 | 0) ? $$040 : $$246; - $$042 = ($$246 | 0) < ($37 | 0) ? $$2 : $$042; + $l$0 = ($j$2 | 0) < ($sub | 0) ? $i$2 : $l$0; + $m$0 = ($i$2 | 0) < ($k | 0) ? $m$0 : $j$2; } - $70 = $39; - $75 = HEAP32[$70 + 4 >> 2] | 0; - $76 = $0; - HEAP32[$76 >> 2] = HEAP32[$70 >> 2]; - HEAP32[$76 + 4 >> 2] = $75; + $10 = $arrayidx; + $15 = HEAP32[$10 + 4 >> 2] | 0; + $16 = $agg$result; + HEAP32[$16 >> 2] = HEAP32[$10 >> 2]; + HEAP32[$16 + 4 >> 2] = $15; STACKTOP = sp; return; } -function _ar2ReadImageSet($0) { - $0 = $0 | 0; - var $$0 = 0, $$079 = 0, $$080 = 0, $$1 = 0, $1 = 0, $10 = 0, $13 = 0, $15 = 0, $16 = 0, $18 = 0, $20 = 0, $30 = 0, $4 = 0, $43 = 0, $50 = 0, $53 = 0, $6 = 0, $8 = 0, $vararg_buffer1 = 0, $vararg_buffer10 = 0, $vararg_buffer12 = 0, $vararg_buffer15 = 0, $vararg_buffer17 = 0, $vararg_buffer19 = 0, $vararg_buffer23 = 0, $vararg_buffer4 = 0, $vararg_buffer8 = 0, label = 0, sp = 0; +function _ar2ReadImageSet($filename) { + $filename = $filename | 0; + var $0 = 0, $5 = 0, $arrayidx67 = 0, $arrayidx85 = 0, $call2 = 0, $call20 = 0, $call24 = 0, $call29 = 0, $call4 = 0, $call7 = 0, $call74 = 0, $dpi = 0, $i$0 = 0, $k1$0 = 0, $k1$1 = 0, $mul19 = 0, $num = 0, $retval$0 = 0, $vararg_buffer1 = 0, $vararg_buffer10 = 0, $vararg_buffer12 = 0, $vararg_buffer15 = 0, $vararg_buffer17 = 0, $vararg_buffer19 = 0, $vararg_buffer23 = 0, $vararg_buffer4 = 0, $vararg_buffer8 = 0, label = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 96 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(96); @@ -61562,2850 +62195,2309 @@ function _ar2ReadImageSet($0) { $vararg_buffer8 = sp + 24 | 0; $vararg_buffer4 = sp + 16 | 0; $vararg_buffer1 = sp + 8 | 0; - $1 = sp + 80 | 0; - $4 = _malloc((_strlen($0) | 0) + 6 | 0) | 0; - if (!$4) { - _arLog(0, 3, 45930, sp); + $dpi = sp + 80 | 0; + $call2 = _malloc((_strlen($filename) | 0) + 6 | 0) | 0; + if (!$call2) { + _arLog(0, 3, 46772, sp); _exit(1); } - HEAP32[$vararg_buffer1 >> 2] = $0; + HEAP32[$vararg_buffer1 >> 2] = $filename; HEAP32[$vararg_buffer1 + 4 >> 2] = 25661; - _sprintf($4, 25656, $vararg_buffer1) | 0; - $6 = _fopen($4, 26308) | 0; - _free($4); - L4 : do if (!$6) { - HEAP32[$vararg_buffer4 >> 2] = $0; + _sprintf($call2, 25656, $vararg_buffer1) | 0; + $call4 = _fopen($call2, 26308) | 0; + _free($call2); + L4 : do if (!$call4) { + HEAP32[$vararg_buffer4 >> 2] = $filename; HEAP32[$vararg_buffer4 + 4 >> 2] = 25661; _arLog(0, 3, 25667, $vararg_buffer4); - $$0 = 0; + $retval$0 = 0; } else { - $8 = _malloc(8) | 0; - if (!$8) { - _arLog(0, 3, 45930, $vararg_buffer8); + $call7 = _malloc(8) | 0; + if (!$call7) { + _arLog(0, 3, 46772, $vararg_buffer8); _exit(1); } - $10 = $8 + 4 | 0; - if ((_fread($10, 4, 1, $6) | 0) == 1 ? ($13 = HEAP32[$10 >> 2] | 0, ($13 | 0) >= 1) : 0) { - HEAP32[$vararg_buffer12 >> 2] = $13; + $num = $call7 + 4 | 0; + if ((_fread($num, 4, 1, $call4) | 0) == 1 ? ($0 = HEAP32[$num >> 2] | 0, ($0 | 0) >= 1) : 0) { + HEAP32[$vararg_buffer12 >> 2] = $0; _arLog(0, 1, 25740, $vararg_buffer12); - $15 = $13 << 2; - $16 = _malloc($15) | 0; - HEAP32[$8 >> 2] = $16; - if (!$16) { - _arLog(0, 3, 45930, $vararg_buffer15); + $mul19 = $0 << 2; + $call20 = _malloc($mul19) | 0; + HEAP32[$call7 >> 2] = $call20; + if (!$call20) { + _arLog(0, 3, 46772, $vararg_buffer15); _exit(1); } - $18 = _malloc(16) | 0; - HEAP32[$16 >> 2] = $18; - if (!$18) { - _arLog(0, 3, 45930, $vararg_buffer17); + $call24 = _malloc(16) | 0; + HEAP32[$call20 >> 2] = $call24; + if (!$call24) { + _arLog(0, 3, 46772, $vararg_buffer17); _exit(1); } - $20 = _ar2ReadJpegImage2($6) | 0; - if (!$20) { - HEAP32[$vararg_buffer19 >> 2] = $0; + $call29 = _ar2ReadJpegImage2($call4) | 0; + if (!$call29) { + HEAP32[$vararg_buffer19 >> 2] = $filename; HEAP32[$vararg_buffer19 + 4 >> 2] = 25661; _arLog(0, 2, 25770, $vararg_buffer19); - _free(HEAP32[$16 >> 2] | 0); - _free($16); - _free($8); - _rewind($6); - $$0 = _ar2ReadImageSetOld($6) | 0; + _free(HEAP32[$call20 >> 2] | 0); + _free($call20); + _free($call7); + _rewind($call4); + $retval$0 = _ar2ReadImageSetOld($call4) | 0; break; } - if ((HEAP32[$20 + 4 >> 2] | 0) != 1) { - HEAP32[$vararg_buffer23 >> 2] = $0; + if ((HEAP32[$call29 + 4 >> 2] | 0) != 1) { + HEAP32[$vararg_buffer23 >> 2] = $filename; HEAP32[$vararg_buffer23 + 4 >> 2] = 25661; _arLog(0, 2, 25770, $vararg_buffer23); - _free(HEAP32[$16 >> 2] | 0); - _free($16); - _free($8); - _free($20); - _fclose($6) | 0; - $$0 = 0; - break; - } - $30 = HEAP32[$16 >> 2] | 0; - HEAP32[$30 + 4 >> 2] = HEAP32[$20 + 8 >> 2]; - HEAP32[$30 + 8 >> 2] = HEAP32[$20 + 12 >> 2]; - HEAP32[$30 + 12 >> 2] = HEAP32[$20 + 16 >> 2]; - HEAP32[$30 >> 2] = HEAP32[$20 >> 2]; - _free($20); - _fseek($6, 4 - $15 | 0, 2) | 0; - $$079 = 1; + _free(HEAP32[$call20 >> 2] | 0); + _free($call20); + _free($call7); + _free($call29); + _fclose($call4) | 0; + $retval$0 = 0; + break; + } + $5 = HEAP32[$call20 >> 2] | 0; + HEAP32[$5 + 4 >> 2] = HEAP32[$call29 + 8 >> 2]; + HEAP32[$5 + 8 >> 2] = HEAP32[$call29 + 12 >> 2]; + HEAP32[$5 + 12 >> 2] = HEAP32[$call29 + 16 >> 2]; + HEAP32[$5 >> 2] = HEAP32[$call29 >> 2]; + _free($call29); + _fseek($call4, 4 - $mul19 | 0, 2) | 0; + $i$0 = 1; while (1) { - if (($$079 | 0) >= ($13 | 0)) { + if (($i$0 | 0) >= ($0 | 0)) { label = 29; break; } - if ((_fread($1, 4, 1, $6) | 0) != 1) { + if ((_fread($dpi, 4, 1, $call4) | 0) != 1) { label = 21; break; } - $50 = _ar2GenImageLayer2(HEAP32[$16 >> 2] | 0, +HEAPF32[$1 >> 2]) | 0; - HEAP32[$16 + ($$079 << 2) >> 2] = $50; - if (!$50) { + $call74 = _ar2GenImageLayer2(HEAP32[$call20 >> 2] | 0, +HEAPF32[$dpi >> 2]) | 0; + HEAP32[$call20 + ($i$0 << 2) >> 2] = $call74; + if (!$call74) { label = 25; break; } - $$079 = $$079 + 1 | 0; + $i$0 = $i$0 + 1 | 0; } L30 : do if ((label | 0) == 21) { - $$080 = 0; + $k1$0 = 0; while (1) { - if (($$080 | 0) == ($$079 | 0)) break L30; - $43 = $16 + ($$080 << 2) | 0; - _free(HEAP32[HEAP32[$43 >> 2] >> 2] | 0); - _free(HEAP32[$43 >> 2] | 0); - $$080 = $$080 + 1 | 0; + if (($k1$0 | 0) == ($i$0 | 0)) break L30; + $arrayidx67 = $call20 + ($k1$0 << 2) | 0; + _free(HEAP32[HEAP32[$arrayidx67 >> 2] >> 2] | 0); + _free(HEAP32[$arrayidx67 >> 2] | 0); + $k1$0 = $k1$0 + 1 | 0; } } else if ((label | 0) == 25) { - $$1 = 0; + $k1$1 = 0; while (1) { - if (($$1 | 0) == ($$079 | 0)) break L30; - $53 = $16 + ($$1 << 2) | 0; - _free(HEAP32[HEAP32[$53 >> 2] >> 2] | 0); - _free(HEAP32[$53 >> 2] | 0); - $$1 = $$1 + 1 | 0; + if (($k1$1 | 0) == ($i$0 | 0)) break L30; + $arrayidx85 = $call20 + ($k1$1 << 2) | 0; + _free(HEAP32[HEAP32[$arrayidx85 >> 2] >> 2] | 0); + _free(HEAP32[$arrayidx85 >> 2] | 0); + $k1$1 = $k1$1 + 1 | 0; } } else if ((label | 0) == 29) { - _fclose($6) | 0; - $$0 = $8; + _fclose($call4) | 0; + $retval$0 = $call7; break L4; } while (0); - _free($16); + _free($call20); } else _arLog(0, 3, 25715, $vararg_buffer10); - _free($8); - _fclose($6) | 0; - $$0 = 0; + _free($call7); + _fclose($call4) | 0; + $retval$0 = 0; } while (0); STACKTOP = sp; - return $$0 | 0; + return $retval$0 | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E18parseQualifiedTypeEv($0) { - $0 = $0 | 0; - var $$0 = 0, $$1 = 0, $$2 = 0, $$3 = 0, $$4 = 0, $$5 = 0, $$byval_copy = 0, $1 = 0, $14 = 0, $18 = 0, $2 = 0, $21 = 0, $23 = 0, $26 = 0, $3 = 0, $4 = 0, $5 = 0, sp = 0; +function _minvf($ap, $dimen, $rowa) { + $ap = $ap | 0; + $dimen = $dimen | 0; + $rowa = $rowa | 0; + var $10 = 0.0, $17 = 0, $3 = 0.0, $4 = 0, $6 = 0, $8 = 0.0, $add$ptr = 0, $add$ptr36 = 0, $add$ptr49 = 0, $add$ptr53 = 0, $arrayidx20 = 0, $arrayidx21 = 0, $arrayidx75 = 0, $cmp9 = 0, $i$0 = 0, $i$1 = 0, $i$2 = 0, $indvars$iv = 0, $indvars$iv111 = 0, $ip$0 = 0, $ip$1 = 0, $j$0 = 0, $j$1 = 0, $j$2 = 0, $j$3 = 0, $n$0 = 0, $n$1 = 0, $n$2 = 0, $nos = 0, $p$0 = 0.0, $retval$0 = 0, $scevgep = 0, $wap$0 = 0, $wap$1 = 0, $wap$2 = 0, $wap$3 = 0, $wap$4 = 0, $wbp$0 = 0, $wbp$1 = 0, $wbp$2 = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 64 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(64); - $$byval_copy = sp + 48 | 0; - $1 = sp + 40 | 0; - $2 = sp + 32 | 0; - $3 = sp; - $4 = sp + 20 | 0; - $5 = sp + 8 | 0; - if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($0, 85) | 0) { - __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E19parseBareSourceNameEv($1, $0); - do if (__ZNK12_GLOBAL__N_110StringView5emptyEv($1) | 0) $$3 = 0; else { - __ZN12_GLOBAL__N_110StringViewC2EPKc($2, 56126); - HEAP32[$$byval_copy >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - if (!(__ZNK12_GLOBAL__N_110StringView10startsWithES0_($1, $$byval_copy) | 0)) { - $18 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E18parseQualifiedTypeEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0) | 0; - HEAP32[$$byval_copy >> 2] = $18; - if (!$18) $$2 = 0; else $$2 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_17VendorExtQualTypeEJRPNS0_4NodeERNS_10StringViewEEEES9_DpOT0_($0, $$byval_copy, $1) | 0; - $$3 = $$2; - break; - } - __ZNK12_GLOBAL__N_110StringView9dropFrontEm($$byval_copy, $1, 9); - __ZN12_GLOBAL__N_110StringViewC2Ev($3); - __ZN12_GLOBAL__N_114SwapAndRestoreIPKcEC2ERS2_S2_($4, $0, __ZNK12_GLOBAL__N_110StringView5beginEv($$byval_copy) | 0); - __ZN12_GLOBAL__N_114SwapAndRestoreIPKcEC2ERS2_S2_($5, $0 + 4 | 0, __ZNK12_GLOBAL__N_110StringView3endEv($$byval_copy) | 0); - __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E19parseBareSourceNameEv($3, $0); - __ZN12_GLOBAL__N_114SwapAndRestoreIPKcED2Ev($5); - __ZN12_GLOBAL__N_114SwapAndRestoreIPKcED2Ev($4); - if (__ZNK12_GLOBAL__N_110StringView5emptyEv($3) | 0) $$1 = 0; else { - $14 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E18parseQualifiedTypeEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0) | 0; - HEAP32[$4 >> 2] = $14; - if (!$14) $$0 = 0; else $$0 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_13ObjCProtoNameEJRPNS0_4NodeERNS_10StringViewEEEES9_DpOT0_($0, $4, $3) | 0; - $$1 = $$0; - } - $$3 = $$1; - } while (0); - $$5 = $$3; - } else { - $21 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E17parseCVQualifiersEv($0) | 0; - HEAP32[$$byval_copy >> 2] = $21; - $23 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseTypeEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0) | 0; - HEAP32[$1 >> 2] = $23; - if ($23) if (!$21) $$4 = $23; else { - $26 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8QualTypeEJRPNS0_4NodeERNS0_10QualifiersEEEES9_DpOT0_($0, $1, $$byval_copy) | 0; - HEAP32[$1 >> 2] = $26; - $$4 = $26; - } else $$4 = 0; - $$5 = $$4; - } - STACKTOP = sp; - return $$5 | 0; -} - -function _start_pass_1_quant($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$014$i = 0, $$02425$i$i = 0, $$026$i$i = 0, $$02831$i = 0, $$02932$i = 0, $$036 = 0, $$1$i = 0, $$phi$trans$insert = 0, $$pre$phi40Z2D = 0, $$pre$phiZ2D = 0, $100 = 0, $15 = 0, $16 = 0, $2 = 0, $27 = 0, $28 = 0, $3 = 0, $30 = 0, $32 = 0, $37 = 0, $40 = 0, $44 = 0, $46 = 0, $51 = 0, $52 = 0, $59 = 0, $65 = 0, $71 = 0, $74 = 0, $75 = 0, $78 = 0, $82 = 0, $85 = 0, $89 = 0, $91 = 0, $97 = 0, label = 0; - $2 = $0 + 484 | 0; - $3 = HEAP32[$2 >> 2] | 0; - HEAP32[$0 + 136 >> 2] = HEAP32[$3 + 16 >> 2]; - HEAP32[$0 + 132 >> 2] = HEAP32[$3 + 20 >> 2]; - switch (HEAP32[$0 + 88 >> 2] | 0) { - case 0: - { - $15 = $3 + 4 | 0; - if ((HEAP32[$0 + 120 >> 2] | 0) == 3) { - HEAP32[$15 >> 2] = 22; - return; - } else { - HEAP32[$15 >> 2] = 23; - return; + STACKTOP = STACKTOP + 2e3 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(2e3); + $nos = sp; + L1 : do if (($dimen | 0) > 500) $retval$0 = 0; else { + switch ($dimen | 0) { + case 0: + { + $retval$0 = 0; + break L1; + break; } - break; + case 1: + { + HEAPF32[$ap >> 2] = 1.0 / +HEAPF32[$ap >> 2]; + $retval$0 = $ap; + break L1; + break; + } + default: + {} } - case 1: - { - $16 = $0 + 120 | 0; - HEAP32[$3 + 4 >> 2] = (HEAP32[$16 >> 2] | 0) == 3 ? 24 : 25; - HEAP32[$3 + 48 >> 2] = 0; - if (!(HEAP32[$3 + 28 >> 2] | 0)) _create_colorindex($0); - if (HEAP32[$3 + 52 >> 2] | 0) return; - $27 = HEAP32[$2 >> 2] | 0; - $28 = HEAP32[$16 >> 2] | 0; - if (($28 | 0) <= 0) return; - $30 = $0 + 4 | 0; - $$02932$i = 0; - $100 = $28; + $n$0 = 0; + while (1) { + if (($n$0 | 0) >= ($dimen | 0)) break; + HEAP32[$nos + ($n$0 << 2) >> 2] = $n$0; + $n$0 = $n$0 + 1 | 0; + } + $scevgep = $ap + ($dimen + -1 << 2) | 0; + $indvars$iv = $scevgep; + $n$1 = 0; + while (1) { + if (($n$1 | 0) >= ($dimen | 0)) break; + $add$ptr = $ap + ((Math_imul($n$1, $rowa) | 0) << 2) | 0; + $i$0 = $n$1; + $ip$0 = -1; + $p$0 = 0.0; + $wap$0 = $add$ptr; + while (1) { + if (($i$0 | 0) == ($dimen | 0)) break; + $3 = +Math_abs(+(+HEAPF32[$wap$0 >> 2])); + $cmp9 = $p$0 < $3; + $ip$1 = $cmp9 ? $i$0 : $ip$0; + $i$0 = $i$0 + 1 | 0; + $ip$0 = $ip$1; + $p$0 = $cmp9 ? $3 : $p$0; + $wap$0 = $wap$0 + ($rowa << 2) | 0; + } + if (($ip$0 | 0) == -1 | $p$0 <= 1.000000013351432e-10) { + $retval$0 = 0; + break L1; + } + $arrayidx20 = $nos + ($ip$0 << 2) | 0; + $4 = HEAP32[$arrayidx20 >> 2] | 0; + $arrayidx21 = $nos + ($n$1 << 2) | 0; + HEAP32[$arrayidx20 >> 2] = HEAP32[$arrayidx21 >> 2]; + HEAP32[$arrayidx21 >> 2] = $4; + $j$0 = 0; + $wap$1 = $ap + ((Math_imul($ip$0, $rowa) | 0) << 2) | 0; + $wbp$0 = $add$ptr; + while (1) { + if (($j$0 | 0) == ($dimen | 0)) break; + $6 = HEAP32[$wap$1 >> 2] | 0; + HEAP32[$wap$1 >> 2] = HEAP32[$wbp$0 >> 2]; + HEAP32[$wbp$0 >> 2] = $6; + $j$0 = $j$0 + 1 | 0; + $wap$1 = $wap$1 + 4 | 0; + $wbp$0 = $wbp$0 + 4 | 0; + } + $8 = +HEAPF32[$add$ptr >> 2]; + $j$1 = 1; + $wap$2 = $add$ptr; + while (1) { + if (($j$1 | 0) == ($dimen | 0)) break; + $add$ptr36 = $wap$2 + 4 | 0; + HEAPF32[$wap$2 >> 2] = +HEAPF32[$add$ptr36 >> 2] / $8; + $j$1 = $j$1 + 1 | 0; + $wap$2 = $add$ptr36; + } + HEAPF32[$indvars$iv >> 2] = 1.0 / $8; + $i$1 = 0; + $indvars$iv111 = $scevgep; while (1) { - $32 = HEAP32[$27 + 32 + ($$02932$i << 2) >> 2] | 0; - L22 : do if ($$02932$i) { - $$02831$i = 0; + if (($i$1 | 0) == ($dimen | 0)) break; + if (($i$1 | 0) != ($n$1 | 0)) { + $add$ptr49 = $ap + ((Math_imul($i$1, $rowa) | 0) << 2) | 0; + $10 = +HEAPF32[$add$ptr49 >> 2]; + $j$2 = 1; + $wap$3 = $add$ptr49; + $wbp$1 = $add$ptr; while (1) { - if (($32 | 0) == (HEAP32[$27 + 32 + ($$02831$i << 2) >> 2] | 0)) break; - $37 = $$02831$i + 1 | 0; - if ($37 >>> 0 < $$02932$i >>> 0) $$02831$i = $37; else { - label = 15; - break L22; - } + if (($j$2 | 0) == ($dimen | 0)) break; + $add$ptr53 = $wap$3 + 4 | 0; + HEAPF32[$wap$3 >> 2] = +HEAPF32[$add$ptr53 >> 2] - $10 * +HEAPF32[$wbp$1 >> 2]; + $j$2 = $j$2 + 1 | 0; + $wap$3 = $add$ptr53; + $wbp$1 = $wbp$1 + 4 | 0; } - $40 = HEAP32[$27 + 52 + ($$02831$i << 2) >> 2] | 0; - if ($40) { - $$1$i = $40; - $65 = $100; - } else label = 15; - } else label = 15; while (0); - if ((label | 0) == 15) { - label = 0; - $44 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[$30 >> 2] >> 2] & 63]($0, 1, 1024) | 0; - $46 = ($32 << 9) + -512 | 0; - $$026$i$i = 0; - do { - $$02425$i$i = 0; - do { - $51 = 255 - ((HEAPU8[5440 + ($$026$i$i << 4) + $$02425$i$i >> 0] | 0) << 1) | 0; - $52 = $51 * 255 | 0; - if (($51 | 0) < 0) $59 = 0 - ((0 - $52 | 0) / ($46 | 0) | 0) | 0; else $59 = ($52 | 0) / ($46 | 0) | 0; - HEAP32[$44 + ($$026$i$i << 6) + ($$02425$i$i << 2) >> 2] = $59; - $$02425$i$i = $$02425$i$i + 1 | 0; - } while (($$02425$i$i | 0) != 16); - $$026$i$i = $$026$i$i + 1 | 0; - } while (($$026$i$i | 0) != 16); - $$1$i = $44; - $65 = HEAP32[$16 >> 2] | 0; - } - HEAP32[$27 + 52 + ($$02932$i << 2) >> 2] = $$1$i; - $$02932$i = $$02932$i + 1 | 0; - if (($$02932$i | 0) >= ($65 | 0)) break; else $100 = $65; + HEAPF32[$indvars$iv111 >> 2] = -($10 * +HEAPF32[$indvars$iv >> 2]); + } + $i$1 = $i$1 + 1 | 0; + $indvars$iv111 = $indvars$iv111 + ($rowa << 2) | 0; } - return; - } - case 2: - { - HEAP32[$3 + 4 >> 2] = 26; - HEAP32[$3 + 84 >> 2] = 0; - if (!(HEAP32[$3 + 68 >> 2] | 0)) { - $71 = $0 + 112 | 0; - $74 = (HEAP32[$71 >> 2] << 1) + 4 | 0; - $75 = $0 + 120 | 0; - if ((HEAP32[$75 >> 2] | 0) <= 0) return; - $78 = $0 + 4 | 0; - $$014$i = 0; - do { - $82 = FUNCTION_TABLE_iiii[HEAP32[(HEAP32[$78 >> 2] | 0) + 4 >> 2] & 63]($0, 1, $74) | 0; - HEAP32[$3 + 68 + ($$014$i << 2) >> 2] = $82; - $$014$i = $$014$i + 1 | 0; - $85 = HEAP32[$75 >> 2] | 0; - } while (($$014$i | 0) < ($85 | 0)); - $$pre$phi40Z2D = $75; - $$pre$phiZ2D = $71; - $91 = $85; - } else { - $$phi$trans$insert = $0 + 120 | 0; - $$pre$phi40Z2D = $$phi$trans$insert; - $$pre$phiZ2D = $0 + 112 | 0; - $91 = HEAP32[$$phi$trans$insert >> 2] | 0; - } - $89 = (HEAP32[$$pre$phiZ2D >> 2] << 1) + 4 | 0; - if (($91 | 0) <= 0) return; - $$036 = 0; - do { - _memset(HEAP32[$3 + 68 + ($$036 << 2) >> 2] | 0, 0, $89 | 0) | 0; - $$036 = $$036 + 1 | 0; - } while (($$036 | 0) < (HEAP32[$$pre$phi40Z2D >> 2] | 0)); - return; + $indvars$iv = $indvars$iv + ($rowa << 2) | 0; + $n$1 = $n$1 + 1 | 0; } - default: - { - $97 = HEAP32[$0 >> 2] | 0; - HEAP32[$97 + 20 >> 2] = 49; - FUNCTION_TABLE_vi[HEAP32[$97 >> 2] & 255]($0); - return; + $n$2 = 0; + while (1) { + if (($n$2 | 0) >= ($dimen | 0)) { + $retval$0 = $ap; + break L1; + } + $j$3 = $n$2; + while (1) { + $arrayidx75 = $nos + ($j$3 << 2) | 0; + if (($j$3 | 0) >= ($dimen | 0)) break; + if ((HEAP32[$arrayidx75 >> 2] | 0) == ($n$2 | 0)) break; + $j$3 = $j$3 + 1 | 0; + } + HEAP32[$arrayidx75 >> 2] = HEAP32[$nos + ($n$2 << 2) >> 2]; + $i$2 = 0; + $wap$4 = $ap + ($j$3 << 2) | 0; + $wbp$2 = $ap + ($n$2 << 2) | 0; + while (1) { + if (($i$2 | 0) >= ($dimen | 0)) break; + $17 = HEAP32[$wap$4 >> 2] | 0; + HEAP32[$wap$4 >> 2] = HEAP32[$wbp$2 >> 2]; + HEAP32[$wbp$2 >> 2] = $17; + $i$2 = $i$2 + 1 | 0; + $wap$4 = $wap$4 + ($rowa << 2) | 0; + $wbp$2 = $wbp$2 + ($rowa << 2) | 0; + } + $n$2 = $n$2 + 1 | 0; } - } + } while (0); + STACKTOP = sp; + return $retval$0 | 0; } -function _ar2ReadMarkerSet($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$0 = 0, $$056 = 0, $$057 = 0, $$058 = 0, $12 = 0, $15 = 0, $18 = 0, $21 = 0, $28 = 0, $29 = 0, $3 = 0, $4 = 0, $44 = 0, $5 = 0, $6 = 0, $8 = 0, $vararg_buffer = 0, $vararg_buffer12 = 0, $vararg_buffer15 = 0, $vararg_buffer2 = 0, $vararg_buffer4 = 0, $vararg_buffer7 = 0, $vararg_buffer9 = 0, label = 0, sp = 0; +function _minv($ap, $dimen, $rowa) { + $ap = $ap | 0; + $dimen = $dimen | 0; + $rowa = $rowa | 0; + var $10 = 0.0, $17 = 0.0, $3 = 0.0, $4 = 0, $6 = 0.0, $8 = 0.0, $add$ptr = 0, $add$ptr36 = 0, $add$ptr49 = 0, $add$ptr53 = 0, $arrayidx20 = 0, $arrayidx21 = 0, $arrayidx75 = 0, $cmp9 = 0, $i$0 = 0, $i$1 = 0, $i$2 = 0, $indvars$iv = 0, $indvars$iv110 = 0, $ip$0 = 0, $ip$1 = 0, $j$0 = 0, $j$1 = 0, $j$2 = 0, $j$3 = 0, $n$0 = 0, $n$1 = 0, $n$2 = 0, $nos = 0, $p$0 = 0.0, $retval$0 = 0, $scevgep = 0, $wap$0 = 0, $wap$1 = 0, $wap$2 = 0, $wap$3 = 0, $wap$4 = 0, $wbp$0 = 0, $wbp$1 = 0, $wbp$2 = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 1088 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(1088); - $vararg_buffer15 = sp + 1072 | 0; - $vararg_buffer12 = sp + 1064 | 0; - $vararg_buffer9 = sp + 1056 | 0; - $vararg_buffer7 = sp + 1048 | 0; - $vararg_buffer4 = sp + 1040 | 0; - $vararg_buffer2 = sp + 1032 | 0; - $vararg_buffer = sp + 1024 | 0; - $3 = sp + 768 | 0; - $4 = sp + 512 | 0; - $5 = sp; - HEAP32[$vararg_buffer >> 2] = $0; - HEAP32[$vararg_buffer + 4 >> 2] = $1; - _sprintf($5, 26699, $vararg_buffer) | 0; - $6 = _fopen($5, 25925) | 0; - if (!$6) $$058 = 0; else { - $8 = _malloc(8) | 0; - if (!$8) { - _arLog(0, 3, 45930, $vararg_buffer2); - _exit(1); - } - L6 : do if (_get_buff_345($3, $6) | 0) { - $12 = $8 + 4 | 0; - HEAP32[$vararg_buffer4 >> 2] = $12; - if ((_sscanf($3, 25959, $vararg_buffer4) | 0) != 1) { - _free($8); - $$057 = 0; + STACKTOP = STACKTOP + 2e3 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(2e3); + $nos = sp; + L1 : do if (($dimen | 0) > 500) $retval$0 = 0; else { + switch ($dimen | 0) { + case 0: + { + $retval$0 = 0; + break L1; break; } - $15 = HEAP32[$12 >> 2] | 0; - if (($15 | 0) < 1) { - _free($8); - $$057 = 0; + case 1: + { + HEAPF64[$ap >> 3] = 1.0 / +HEAPF64[$ap >> 3]; + $retval$0 = $ap; + break L1; break; } - $18 = _malloc($15 * 56 | 0) | 0; - HEAP32[$8 >> 2] = $18; - if (!$18) { - _arLog(0, 3, 45930, $vararg_buffer7); - _exit(1); + default: + {} + } + $n$0 = 0; + while (1) { + if (($n$0 | 0) >= ($dimen | 0)) break; + HEAP32[$nos + ($n$0 << 2) >> 2] = $n$0; + $n$0 = $n$0 + 1 | 0; + } + $scevgep = $ap + ($dimen + -1 << 3) | 0; + $indvars$iv = $scevgep; + $n$1 = 0; + while (1) { + if (($n$1 | 0) >= ($dimen | 0)) break; + $add$ptr = $ap + ((Math_imul($n$1, $rowa) | 0) << 3) | 0; + $i$0 = $n$1; + $ip$0 = -1; + $p$0 = 0.0; + $wap$0 = $add$ptr; + while (1) { + if (($i$0 | 0) == ($dimen | 0)) break; + $3 = +Math_abs(+(+HEAPF64[$wap$0 >> 3])); + $cmp9 = $p$0 < $3; + $ip$1 = $cmp9 ? $i$0 : $ip$0; + $i$0 = $i$0 + 1 | 0; + $ip$0 = $ip$1; + $p$0 = $cmp9 ? $3 : $p$0; + $wap$0 = $wap$0 + ($rowa << 3) | 0; } - $$056 = 0; - $21 = $15; - L18 : while (1) { - if (($$056 | 0) >= ($21 | 0)) { - $$057 = $8; - break L6; - } - if (!(_get_buff_345($3, $6) | 0)) { - label = 15; - break; - } - HEAP32[$vararg_buffer9 >> 2] = $4; - if ((_sscanf($3, 25986, $vararg_buffer9) | 0) != 1) { - label = 17; - break; - } - $28 = _arPattLoad($2, $4) | 0; - $29 = HEAP32[$8 >> 2] | 0; - HEAP32[$29 + ($$056 * 56 | 0) + 4 >> 2] = $28; - if (($28 | 0) < 0) { - label = 19; - break; - } - if (!(_get_buff_345($3, $6) | 0)) { - label = 21; - break; - } - HEAP32[$vararg_buffer12 >> 2] = (HEAP32[$8 >> 2] | 0) + ($$056 * 56 | 0); - if ((_sscanf($3, 25887, $vararg_buffer12) | 0) != 1) { - label = 24; - break; - } - $$0 = 0; - while (1) { - if ($$0 >>> 0 >= 3) break; - if (!(_get_buff_345($3, $6) | 0)) { - label = 27; - break L18; - } - $44 = HEAP32[$8 >> 2] | 0; - HEAP32[$vararg_buffer15 >> 2] = $44 + ($$056 * 56 | 0) + 8 + ($$0 << 4); - HEAP32[$vararg_buffer15 + 4 >> 2] = $44 + ($$056 * 56 | 0) + 8 + ($$0 << 4) + 4; - HEAP32[$vararg_buffer15 + 8 >> 2] = $44 + ($$056 * 56 | 0) + 8 + ($$0 << 4) + 8; - HEAP32[$vararg_buffer15 + 12 >> 2] = $44 + ($$056 * 56 | 0) + 8 + ($$0 << 4) + 12; - if ((_sscanf($3, 26152, $vararg_buffer15) | 0) == 4) $$0 = $$0 + 1 | 0; else { - label = 29; - break L18; + if (($ip$0 | 0) == -1 | $p$0 <= 1.0e-10) { + $retval$0 = 0; + break L1; + } + $arrayidx20 = $nos + ($ip$0 << 2) | 0; + $4 = HEAP32[$arrayidx20 >> 2] | 0; + $arrayidx21 = $nos + ($n$1 << 2) | 0; + HEAP32[$arrayidx20 >> 2] = HEAP32[$arrayidx21 >> 2]; + HEAP32[$arrayidx21 >> 2] = $4; + $j$0 = 0; + $wap$1 = $ap + ((Math_imul($ip$0, $rowa) | 0) << 3) | 0; + $wbp$0 = $add$ptr; + while (1) { + if (($j$0 | 0) == ($dimen | 0)) break; + $6 = +HEAPF64[$wap$1 >> 3]; + HEAPF64[$wap$1 >> 3] = +HEAPF64[$wbp$0 >> 3]; + HEAPF64[$wbp$0 >> 3] = $6; + $j$0 = $j$0 + 1 | 0; + $wap$1 = $wap$1 + 8 | 0; + $wbp$0 = $wbp$0 + 8 | 0; + } + $8 = +HEAPF64[$add$ptr >> 3]; + $j$1 = 1; + $wap$2 = $add$ptr; + while (1) { + if (($j$1 | 0) == ($dimen | 0)) break; + $add$ptr36 = $wap$2 + 8 | 0; + HEAPF64[$wap$2 >> 3] = +HEAPF64[$add$ptr36 >> 3] / $8; + $j$1 = $j$1 + 1 | 0; + $wap$2 = $add$ptr36; + } + HEAPF64[$indvars$iv >> 3] = 1.0 / $8; + $i$1 = 0; + $indvars$iv110 = $scevgep; + while (1) { + if (($i$1 | 0) == ($dimen | 0)) break; + if (($i$1 | 0) != ($n$1 | 0)) { + $add$ptr49 = $ap + ((Math_imul($i$1, $rowa) | 0) << 3) | 0; + $10 = +HEAPF64[$add$ptr49 >> 3]; + $j$2 = 1; + $wap$3 = $add$ptr49; + $wbp$1 = $add$ptr; + while (1) { + if (($j$2 | 0) == ($dimen | 0)) break; + $add$ptr53 = $wap$3 + 8 | 0; + HEAPF64[$wap$3 >> 3] = +HEAPF64[$add$ptr53 >> 3] - $10 * +HEAPF64[$wbp$1 >> 3]; + $j$2 = $j$2 + 1 | 0; + $wap$3 = $add$ptr53; + $wbp$1 = $wbp$1 + 8 | 0; } + HEAPF64[$indvars$iv110 >> 3] = -($10 * +HEAPF64[$indvars$iv >> 3]); } - $$056 = $$056 + 1 | 0; - $21 = HEAP32[$12 >> 2] | 0; + $i$1 = $i$1 + 1 | 0; + $indvars$iv110 = $indvars$iv110 + ($rowa << 3) | 0; } - if ((label | 0) == 15) { - _free(HEAP32[$8 >> 2] | 0); - _free($8); - $$057 = 0; - break; - } else if ((label | 0) == 17) { - _free(HEAP32[$8 >> 2] | 0); - _free($8); - $$057 = 0; - break; - } else if ((label | 0) == 19) { - _free($29); - _free($8); - $$057 = 0; - break; - } else if ((label | 0) == 21) { - _free(HEAP32[$8 >> 2] | 0); - _free($8); - $$057 = 0; - break; - } else if ((label | 0) == 24) { - _free(HEAP32[$8 >> 2] | 0); - _free($8); - $$057 = 0; - break; - } else if ((label | 0) == 27) { - _free(HEAP32[$8 >> 2] | 0); - _free($8); - $$057 = 0; - break; - } else if ((label | 0) == 29) { - _free(HEAP32[$8 >> 2] | 0); - _free($8); - $$057 = 0; - break; + $indvars$iv = $indvars$iv + ($rowa << 3) | 0; + $n$1 = $n$1 + 1 | 0; + } + $n$2 = 0; + while (1) { + if (($n$2 | 0) >= ($dimen | 0)) { + $retval$0 = $ap; + break L1; } - } else { - _free($8); - $$057 = 0; - } while (0); - _fclose($6) | 0; - $$058 = $$057; - } + $j$3 = $n$2; + while (1) { + $arrayidx75 = $nos + ($j$3 << 2) | 0; + if (($j$3 | 0) >= ($dimen | 0)) break; + if ((HEAP32[$arrayidx75 >> 2] | 0) == ($n$2 | 0)) break; + $j$3 = $j$3 + 1 | 0; + } + HEAP32[$arrayidx75 >> 2] = HEAP32[$nos + ($n$2 << 2) >> 2]; + $i$2 = 0; + $wap$4 = $ap + ($j$3 << 3) | 0; + $wbp$2 = $ap + ($n$2 << 3) | 0; + while (1) { + if (($i$2 | 0) >= ($dimen | 0)) break; + $17 = +HEAPF64[$wap$4 >> 3]; + HEAPF64[$wap$4 >> 3] = +HEAPF64[$wbp$2 >> 3]; + HEAPF64[$wbp$2 >> 3] = $17; + $i$2 = $i$2 + 1 | 0; + $wap$4 = $wap$4 + ($rowa << 3) | 0; + $wbp$2 = $wbp$2 + ($rowa << 3) | 0; + } + $n$2 = $n$2 + 1 | 0; + } + } while (0); STACKTOP = sp; - return $$058 | 0; + return $retval$0 | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E20parseUnqualifiedNameEPNS5_9NameStateE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$118 = 0, $$11823 = 0, $$2 = 0, $$byval_copy = 0, $$pre$phi26Z2D = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $2 = 0, $3 = 0, label = 0, sp = 0; +function _arPattGetIDGlobal($pattHandle, $imageProcMode, $pattDetectMode, $image, $xsize, $ysize, $pixelFormat, $paramLTf, $vertex, $pattRatio, $codePatt, $dirPatt, $cfPatt, $codeMatrix, $dirMatrix, $cfMatrix, $matrixCodeType, $errorCorrected, $codeGlobalID_p) { + $pattHandle = $pattHandle | 0; + $imageProcMode = $imageProcMode | 0; + $pattDetectMode = $pattDetectMode | 0; + $image = $image | 0; + $xsize = $xsize | 0; + $ysize = $ysize | 0; + $pixelFormat = $pixelFormat | 0; + $paramLTf = $paramLTf | 0; + $vertex = $vertex | 0; + $pattRatio = +$pattRatio; + $codePatt = $codePatt | 0; + $dirPatt = $dirPatt | 0; + $cfPatt = $cfPatt | 0; + $codeMatrix = $codeMatrix | 0; + $dirMatrix = $dirMatrix | 0; + $cfMatrix = $cfMatrix | 0; + $matrixCodeType = $matrixCodeType | 0; + $errorCorrected = $errorCorrected | 0; + $codeGlobalID_p = $codeGlobalID_p | 0; + var $0 = 0, $13 = 0, $17 = 0, $2 = 0, $21 = 0, $5 = 0, $and26 = 0, $call36 = 0, $call9 = 0, $codeGlobalID = 0, $errorCodeMtx$0 = 0, $errorCodePatt$0 = 0, $ext_patt = 0, $mul66 = 0, $pattSize = 0, $retval$0 = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy = sp + 8 | 0; - $2 = sp; - $3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($0, 0) | 0; - do if ($3 << 24 >> 24 != 85) { - if (($3 + -49 & 255) < 9) { - $$118 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseSourceNameEPNS5_9NameStateE(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0) | 0; - label = 12; - break; - } - __ZN12_GLOBAL__N_110StringViewC2EPKc($2, 55180); - HEAP32[$$byval_copy >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - if (!(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($0, $$byval_copy) | 0)) { - $$118 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E17parseOperatorNameEPNS5_9NameStateE(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0, $1) | 0; - label = 12; - break; - } - $11 = $0 + 8 | 0; - $12 = __ZNK12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE4sizeEv($11) | 0; - while (1) { - $13 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0; - $14 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseSourceNameEPNS5_9NameStateE($13) | 0; - HEAP32[$$byval_copy >> 2] = $14; - if (!$14) { - label = 10; + STACKTOP = STACKTOP + 12304 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(12304); + $ext_patt = sp; + $codeGlobalID = sp + 12288 | 0; + do if (($pattDetectMode + -2 | 0) >>> 0 < 3) { + if (($matrixCodeType | 0) != 2830) { + $and26 = $matrixCodeType & 255; + if ((_arPattGetImage2($imageProcMode, 2, $and26, $and26 * 3 | 0, $image, $xsize, $ysize, $pixelFormat, $paramLTf, $vertex, $pattRatio, $ext_patt) | 0) < 0) { + HEAP32[$codeMatrix >> 2] = -1; + $errorCodeMtx$0 = -6; break; } - __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE9push_backERKS3_($11, $$byval_copy); - if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($0, 69) | 0) { - label = 9; + $call36 = _get_matrix_code($ext_patt, $and26, $codeMatrix, $dirMatrix, $cfMatrix, $matrixCodeType, $errorCorrected) | 0; + if (!$codeGlobalID_p) { + $errorCodeMtx$0 = $call36; break; } + $17 = $codeGlobalID_p; + HEAP32[$17 >> 2] = 0; + HEAP32[$17 + 4 >> 2] = 0; + $errorCodeMtx$0 = $call36; + break; } - if ((label | 0) == 9) { - __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E20popTrailingNodeArrayEm($$byval_copy, $0, $12); - $$11823 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_21StructuredBindingNameEJNS0_9NodeArrayEEEEPNS0_4NodeEDpOT0_($0, $$byval_copy) | 0; - $$pre$phi26Z2D = $13; - label = 14; + if ((_arPattGetImage2($imageProcMode, 2, 14, 42, $image, $xsize, $ysize, $pixelFormat, $paramLTf, $vertex, .875, $ext_patt) | 0) < 0) { + HEAP32[$codeMatrix >> 2] = -1; + $errorCodeMtx$0 = -6; break; - } else if ((label | 0) == 10) { - $$2 = 0; + } + $call9 = _get_global_id_code($ext_patt, $codeGlobalID, $dirMatrix, $cfMatrix, $errorCorrected) | 0; + if (($call9 | 0) < 0) { + HEAP32[$codeMatrix >> 2] = -1; + $errorCodeMtx$0 = $call9; break; } - } else { - $$118 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E20parseUnnamedTypeNameEPNS5_9NameStateE(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0) | 0; - label = 12; - } while (0); - if ((label | 0) == 12) if (!$$118) $$2 = 0; else { - $$11823 = $$118; - $$pre$phi26Z2D = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0; - label = 14; - } - if ((label | 0) == 14) $$2 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E12parseAbiTagsEPNS0_4NodeE($$pre$phi26Z2D, $$11823) | 0; - STACKTOP = sp; - return $$2 | 0; -} - -function _kpmLoadRefDataSet($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$0 = 0, $$071 = 0, $$1 = 0, $11 = 0, $13 = 0, $16 = 0, $19 = 0, $22 = 0, $3 = 0, $44 = 0, $47 = 0, $51 = 0, $52 = 0, $55 = 0, $6 = 0, $64 = 0, $66 = 0, $68 = 0, $75 = 0, $77 = 0, $8 = 0, $vararg_buffer = 0, $vararg_buffer1 = 0, $vararg_buffer11 = 0, $vararg_buffer13 = 0, $vararg_buffer5 = 0, $vararg_buffer7 = 0, $vararg_buffer9 = 0, label = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 64 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(64); - $vararg_buffer13 = sp + 56 | 0; - $vararg_buffer11 = sp + 48 | 0; - $vararg_buffer9 = sp + 40 | 0; - $vararg_buffer7 = sp + 32 | 0; - $vararg_buffer5 = sp + 24 | 0; - $vararg_buffer1 = sp + 8 | 0; - $vararg_buffer = sp; - $3 = sp + 60 | 0; - HEAP8[$3 >> 0] = HEAP8[26308] | 0; - HEAP8[$3 + 1 >> 0] = HEAP8[26309] | 0; - HEAP8[$3 + 2 >> 0] = HEAP8[26310] | 0; - L1 : do if (($0 | 0) != 0 & ($2 | 0) != 0) { - $6 = _kpmFopen($0, $1, $3) | 0; - if (!$6) { - $8 = ($1 | 0) != 0; - HEAP32[$vararg_buffer1 >> 2] = $0; - HEAP32[$vararg_buffer1 + 4 >> 2] = $8 ? 53642 : 67447; - HEAP32[$vararg_buffer1 + 8 >> 2] = $8 ? $1 : 67447; - _arLog(0, 3, 26362, $vararg_buffer1); - $$0 = -1; + $0 = $codeGlobalID; + $2 = HEAP32[$0 >> 2] | 0; + $5 = HEAP32[$0 + 4 >> 2] | 0; + if (($2 | 0) == -1 & ($5 | 0) == -1) { + HEAP32[$codeMatrix >> 2] = -1; + $errorCodeMtx$0 = -5; break; } - $11 = _calloc(1, 16) | 0; - if (!$11) { - _arLog(0, 3, 45930, $vararg_buffer5); - _exit(1); + HEAP32[$codeMatrix >> 2] = ($2 & -32768 | 0) == 0 & 0 == 0 ? $2 & 32767 : 0; + if (!$codeGlobalID_p) $errorCodeMtx$0 = $call9; else { + $13 = $codeGlobalID_p; + HEAP32[$13 >> 2] = $2; + HEAP32[$13 + 4 >> 2] = $5; + $errorCodeMtx$0 = $call9; } - $13 = $11 + 4 | 0; - L9 : do if ((_fread($13, 4, 1, $6) | 0) == 1 ? ($16 = HEAP32[$13 >> 2] | 0, ($16 | 0) >= 1) : 0) { - $19 = _malloc($16 * 132 | 0) | 0; - HEAP32[$11 >> 2] = $19; - if (!$19) { - _arLog(0, 3, 45930, $vararg_buffer7); - _exit(1); + } else $errorCodeMtx$0 = 1; while (0); + L21 : do switch ($pattDetectMode | 0) { + case 0: + case 1: + case 3: + case 4: + { + if (!$pattHandle) { + HEAP32[$codePatt >> 2] = -1; + $errorCodePatt$0 = -1; + break L21; } - $$071 = 0; - $22 = $16; - while (1) { - if (($$071 | 0) >= ($22 | 0)) break; - if ((_fread((HEAP32[$11 >> 2] | 0) + ($$071 * 132 | 0) | 0, 8, 1, $6) | 0) != 1) break L9; - if ((_fread((HEAP32[$11 >> 2] | 0) + ($$071 * 132 | 0) + 8 | 0, 8, 1, $6) | 0) != 1) break L9; - if ((_fread((HEAP32[$11 >> 2] | 0) + ($$071 * 132 | 0) + 16 | 0, 108, 1, $6) | 0) != 1) break L9; - if ((_fread((HEAP32[$11 >> 2] | 0) + ($$071 * 132 | 0) + 124 | 0, 4, 1, $6) | 0) != 1) break L9; - if ((_fread((HEAP32[$11 >> 2] | 0) + ($$071 * 132 | 0) + 128 | 0, 4, 1, $6) | 0) != 1) break L9; - $$071 = $$071 + 1 | 0; - $22 = HEAP32[$13 >> 2] | 0; - } - $44 = $11 + 12 | 0; - if ((_fread($44, 4, 1, $6) | 0) == 1) { - $47 = HEAP32[$44 >> 2] | 0; - if (($47 | 0) < 1) { - HEAP32[$11 + 8 >> 2] = 0; - break; - } - $51 = _malloc($47 * 12 | 0) | 0; - $52 = $11 + 8 | 0; - HEAP32[$52 >> 2] = $51; - if (!$51) { - _arLog(0, 3, 45930, $vararg_buffer9); - _exit(1); - } - $$1 = 0; - $55 = $47; - while (1) { - if (($$1 | 0) >= ($55 | 0)) { - label = 32; - break; - } - if ((_fread((HEAP32[$52 >> 2] | 0) + ($$1 * 12 | 0) + 8 | 0, 4, 1, $6) | 0) != 1) break L9; - if ((_fread((HEAP32[$52 >> 2] | 0) + ($$1 * 12 | 0) + 4 | 0, 4, 1, $6) | 0) != 1) break L9; - $64 = HEAP32[$52 >> 2] | 0; - $66 = HEAP32[$64 + ($$1 * 12 | 0) + 4 >> 2] | 0; - $68 = _malloc($66 * 12 | 0) | 0; - HEAP32[$64 + ($$1 * 12 | 0) >> 2] = $68; - if (!$68) { - label = 29; - break; + $pattSize = $pattHandle + 28 | 0; + $21 = HEAP32[$pattSize >> 2] | 0; + $mul66 = $21 << 2; + switch ($pattDetectMode | 0) { + case 0: + case 3: + { + if ((_arPattGetImage2($imageProcMode, 0, $21, $mul66, $image, $xsize, $ysize, $pixelFormat, $paramLTf, $vertex, $pattRatio, $ext_patt) | 0) < 0) { + HEAP32[$codePatt >> 2] = -1; + $errorCodePatt$0 = -6; + break L21; + } else { + $errorCodePatt$0 = _pattern_match($pattHandle, 0, $ext_patt, HEAP32[$pattSize >> 2] | 0, $codePatt, $dirPatt, $cfPatt) | 0; + break L21; } - if ((_fread($68, 12, $66, $6) | 0) != ($66 | 0)) break L9; - $$1 = $$1 + 1 | 0; - $55 = HEAP32[$44 >> 2] | 0; + break; } - if ((label | 0) == 29) { - _arLog(0, 3, 45930, $vararg_buffer11); - _exit(1); - } else if ((label | 0) == 32) { - HEAP32[$2 >> 2] = $11; - _fclose($6) | 0; - $$0 = 0; - break L1; + default: + if ((_arPattGetImage2($imageProcMode, 1, $21, $mul66, $image, $xsize, $ysize, $pixelFormat, $paramLTf, $vertex, $pattRatio, $ext_patt) | 0) < 0) { + HEAP32[$codePatt >> 2] = -1; + $errorCodePatt$0 = -6; + break L21; + } else { + $errorCodePatt$0 = _pattern_match($pattHandle, 1, $ext_patt, HEAP32[$pattSize >> 2] | 0, $codePatt, $dirPatt, $cfPatt) | 0; + break L21; } } - } while (0); - _arLog(0, 3, 26429, $vararg_buffer13); - $75 = HEAP32[$11 + 8 >> 2] | 0; - if ($75 | 0) _free($75); - $77 = HEAP32[$11 >> 2] | 0; - if ($77 | 0) _free($77); - _free($11); - _fclose($6) | 0; - $$0 = -1; - } else { - _arLog(0, 3, 26311, $vararg_buffer); - $$0 = -1; + break; + } + default: + $errorCodePatt$0 = 1; } while (0); + if (($errorCodeMtx$0 | 0) == 1) $retval$0 = $errorCodePatt$0; else $retval$0 = ($errorCodePatt$0 | 0) == 1 ? $errorCodeMtx$0 : ($errorCodePatt$0 & $errorCodeMtx$0 | 0) < 0 ? $errorCodePatt$0 : 0; STACKTOP = sp; - return $$0 | 0; + return $retval$0 | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E16parseTemplateArgEv($0) { - $0 = $0 | 0; - var $$5 = 0, $1 = 0, $12 = 0, $13 = 0, $16 = 0, $24 = 0, $26 = 0, $7 = 0, $9 = 0, label = 0, sp = 0; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseNameEPNS5_9NameStateE($this, $State) { + $this = $this | 0; + $State = $State | 0; + var $S = 0, $TA = 0, $call19 = 0, $call20 = 0, $call31 = 0, $call40 = 0, $call41 = 0, $call52 = 0, $cmp30 = 0, $cmp51 = 0, $retval$0 = 0, $retval$1 = 0, $retval$2 = 0, $retval$3 = 0, $retval$4 = 0, label = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $1 = sp; - L1 : do switch ((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($0, 0) | 0) << 24 >> 24 | 0) { - case 88: + $S = sp + 4 | 0; + $TA = sp; + __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($this, 76) | 0; + switch ((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($this, 0) | 0) << 24 >> 24) { + case 78: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 1; - $7 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseExprEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0) | 0; - if (!$7) $$5 = 0; else { - $9 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($0, 69) | 0; - STACKTOP = sp; - return ($9 ? $7 : 0) | 0; - } + $retval$4 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseNestedNameEPNS5_9NameStateE(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0, $State) | 0; break; } - case 74: + case 90: { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 1; - $12 = $0 + 8 | 0; - $13 = __ZNK12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE4sizeEv($12) | 0; - while (1) { - if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($0, 69) | 0) { - label = 9; - break; - } - $16 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E16parseTemplateArgEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0) | 0; - HEAP32[$1 >> 2] = $16; - if (!$16) { - label = 8; - break; - } - __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE9push_backERKS3_($12, $1); - } - if ((label | 0) == 8) { - $$5 = 0; - break L1; - } else if ((label | 0) == 9) { - __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E20popTrailingNodeArrayEm($1, $0, $13); - $$5 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_20TemplateArgumentPackEJRNS0_9NodeArrayEEEEPNS0_4NodeEDpOT0_($0, $1) | 0; - break L1; - } + $retval$4 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E14parseLocalNameEPNS5_9NameStateE(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0, $State) | 0; break; } - case 76: + case 83: { - if ((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($0, 1) | 0) << 24 >> 24 != 90) { - $$5 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E16parseExprPrimaryEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0) | 0; - break L1; - } - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 2; - $24 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E13parseEncodingEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0) | 0; - if (!$24) $$5 = 0; else { - $26 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($0, 69) | 0; - $$5 = $26 ? $24 : 0; + if ((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($this, 1) | 0) << 24 >> 24 == 116) label = 13; else { + $call19 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0; + $call20 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E17parseSubstitutionEv($call19) | 0; + HEAP32[$S >> 2] = $call20; + if (($call20 | 0) != 0 ? (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($this, 0) | 0) << 24 >> 24 == 73 : 0) { + $cmp30 = ($State | 0) != 0; + $call31 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E17parseTemplateArgsEb($call19, $cmp30) | 0; + HEAP32[$TA >> 2] = $call31; + if (!$call31) $retval$0 = 0; else { + if ($cmp30) HEAP8[$State + 1 >> 0] = 1; + $retval$0 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_20NameWithTemplateArgsEJRPNS0_4NodeESA_EEES9_DpOT0_($this, $S, $TA) | 0; + } + $retval$1 = $retval$0; + } else $retval$1 = 0; + $retval$4 = $retval$1; } break; } default: - $$5 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseTypeEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0) | 0; - } while (0); + label = 13; + } + if ((label | 0) == 13) { + $call40 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0; + $call41 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E17parseUnscopedNameEPNS5_9NameStateE($call40, $State) | 0; + HEAP32[$S >> 2] = $call41; + if ($call41) if ((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($this, 0) | 0) << 24 >> 24 == 73) { + __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE9push_backERKS3_($this + 148 | 0, $S); + $cmp51 = ($State | 0) != 0; + $call52 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E17parseTemplateArgsEb($call40, $cmp51) | 0; + HEAP32[$TA >> 2] = $call52; + if (!$call52) $retval$2 = 0; else { + if ($cmp51) HEAP8[$State + 1 >> 0] = 1; + $retval$2 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_20NameWithTemplateArgsEJRPNS0_4NodeESA_EEES9_DpOT0_($this, $S, $TA) | 0; + } + $retval$3 = $retval$2; + } else $retval$3 = $call41; else $retval$3 = 0; + $retval$4 = $retval$3; + } STACKTOP = sp; - return $$5 | 0; + return $retval$4 | 0; } -function __ZNKSt3__29money_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_bRNS_8ios_baseERjRNS_12basic_stringIwS3_NS_9allocatorIwEEEE($0, $1, $2, $3, $4, $5, $6) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - $6 = $6 | 0; - var $$0 = 0, $$0$i$i$i$i = 0, $$0$i$i2$i$i = 0, $$byval_copy = 0, $$sroa$0$0$copyload = 0, $10 = 0, $11 = 0, $12 = 0, $16 = 0, $17 = 0, $19 = 0, $21 = 0, $23 = 0, $26 = 0, $37 = 0, $39 = 0, $40 = 0, $45 = 0, $48 = 0, $62 = 0, $7 = 0, $77 = 0, $8 = 0, $81 = 0, $9 = 0, label = 0, sp = 0; +function _ar2ReadImageSetOld($fp) { + $fp = $fp | 0; + var $0 = 0, $13 = 0, $17 = 0, $21 = 0, $arrayidx24 = 0, $call = 0, $call102 = 0, $call119 = 0, $call14 = 0, $call8 = 0, $i$0 = 0, $i$1 = 0, $inc149 = 0, $k$0 = 0, $k$1 = 0, $k$2 = 0, $k$3 = 0, $k$4 = 0, $k$5 = 0, $k$6 = 0, $k$7 = 0, $num = 0, $retval$0 = 0, $vararg_buffer1 = 0, $vararg_buffer3 = 0, $vararg_buffer5 = 0, $vararg_buffer7 = 0, label = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 432 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(432); - $$byval_copy = sp + 424 | 0; - $7 = sp; - $8 = sp + 416 | 0; - $9 = sp + 408 | 0; - $10 = sp + 400 | 0; - $11 = sp + 428 | 0; - $12 = sp + 404 | 0; - HEAP32[$8 >> 2] = $7; - HEAP32[$8 + 4 >> 2] = 214; - __ZNKSt3__28ios_base6getlocEv($10, $4); - $16 = __ZNKSt3__26locale9use_facetERNS0_2idE($10, 66544) | 0; - HEAP8[$11 >> 0] = 0; - $17 = HEAP32[$2 >> 2] | 0; - HEAP32[$12 >> 2] = $17; - $19 = HEAP32[$4 + 4 >> 2] | 0; - HEAP32[$$byval_copy >> 2] = HEAP32[$12 >> 2]; - $21 = $17; - if (__ZNSt3__29money_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE8__do_getERS4_S4_bRKNS_6localeEjRjRbRKNS_5ctypeIwEERNS_10unique_ptrIwPFvPvEEERPwSM_($1, $$byval_copy, $3, $10, $19, $5, $11, $16, $8, $9, $7 + 400 | 0) | 0) { - $23 = $6 + 8 + 3 | 0; - if ((HEAP8[$23 >> 0] | 0) < 0) { - $26 = HEAP32[$6 >> 2] | 0; - HEAP32[$$byval_copy >> 2] = 0; - __ZNSt3__211char_traitsIwE6assignERwRKw($26, $$byval_copy); - HEAP32[$6 + 4 >> 2] = 0; - } else { - HEAP32[$$byval_copy >> 2] = 0; - __ZNSt3__211char_traitsIwE6assignERwRKw($6, $$byval_copy); - HEAP8[$23 >> 0] = 0; - } - if (HEAP8[$11 >> 0] | 0) __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9push_backEw($6, FUNCTION_TABLE_iii[HEAP32[(HEAP32[$16 >> 2] | 0) + 44 >> 2] & 127]($16, 45) | 0); - $37 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$16 >> 2] | 0) + 44 >> 2] & 127]($16, 48) | 0; - $39 = HEAP32[$9 >> 2] | 0; - $40 = $39 + -4 | 0; - $$0 = HEAP32[$8 >> 2] | 0; - while (1) { - if ($$0 >>> 0 >= $40 >>> 0) break; - if ((HEAP32[$$0 >> 2] | 0) != ($37 | 0)) break; - $$0 = $$0 + 4 | 0; - } - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE23__append_forward_unsafeIPwEERS5_T_S9_($6, $$0, $39) | 0; + STACKTOP = STACKTOP + 48 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); + $vararg_buffer7 = sp + 32 | 0; + $vararg_buffer5 = sp + 24 | 0; + $vararg_buffer3 = sp + 16 | 0; + $vararg_buffer1 = sp + 8 | 0; + $call = _malloc(8) | 0; + if (!$call) { + _arLog(0, 3, 46772, sp); + _exit(1); } - $45 = HEAP32[$1 >> 2] | 0; - do if ($45) { - $48 = HEAP32[$45 + 12 >> 2] | 0; - if (($48 | 0) == (HEAP32[$45 + 16 >> 2] | 0)) $$0$i$i$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$45 >> 2] | 0) + 36 >> 2] & 127]($45) | 0; else $$0$i$i$i$i = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$48 >> 2] | 0) | 0; - if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj($$0$i$i$i$i, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { - HEAP32[$1 >> 2] = 0; - $81 = 1; - break; - } else { - $81 = (HEAP32[$1 >> 2] | 0) == 0; - break; - } - } else $81 = 1; while (0); - do if ($17) { - $62 = HEAP32[$21 + 12 >> 2] | 0; - if (($62 | 0) == (HEAP32[$21 + 16 >> 2] | 0)) $$0$i$i2$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$17 >> 2] | 0) + 36 >> 2] & 127]($21) | 0; else $$0$i$i2$i$i = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$62 >> 2] | 0) | 0; - if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj($$0$i$i2$i$i, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if ($81) break; else { - label = 27; - break; - } else { - HEAP32[$2 >> 2] = 0; - label = 25; - break; + $num = $call + 4 | 0; + L4 : do if ((_fread($num, 4, 1, $fp) | 0) == 1 ? ($0 = HEAP32[$num >> 2] | 0, ($0 | 0) >= 1) : 0) { + $call8 = _malloc($0 << 2) | 0; + HEAP32[$call >> 2] = $call8; + if (!$call8) { + _arLog(0, 3, 46772, $vararg_buffer3); + _exit(1); } - } else label = 25; while (0); - if ((label | 0) == 25 ? $81 : 0) label = 27; - if ((label | 0) == 27) HEAP32[$5 >> 2] = HEAP32[$5 >> 2] | 2; - $$sroa$0$0$copyload = HEAP32[$1 >> 2] | 0; - __ZNSt3__26localeD2Ev($10); - $77 = HEAP32[$8 >> 2] | 0; - HEAP32[$8 >> 2] = 0; - if ($77 | 0) FUNCTION_TABLE_vi[HEAP32[$8 + 4 >> 2] & 255]($77); - STACKTOP = sp; - return $$sroa$0$0$copyload | 0; -} - -function __ZNKSt3__29money_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_bRNS_8ios_baseERjRNS_12basic_stringIcS3_NS_9allocatorIcEEEE($0, $1, $2, $3, $4, $5, $6) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - $6 = $6 | 0; - var $$0 = 0, $$0$i$i$i$i = 0, $$0$i$i2$i$i = 0, $$byval_copy = 0, $$sroa$0$0$copyload = 0, $10 = 0, $11 = 0, $12 = 0, $16 = 0, $17 = 0, $19 = 0, $21 = 0, $22 = 0, $25 = 0, $36 = 0, $38 = 0, $39 = 0, $44 = 0, $47 = 0, $61 = 0, $7 = 0, $76 = 0, $8 = 0, $80 = 0, $9 = 0, label = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 128 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(128); - $$byval_copy = sp + 120 | 0; - $7 = sp; - $8 = sp + 112 | 0; - $9 = sp + 108 | 0; - $10 = sp + 100 | 0; - $11 = sp + 124 | 0; - $12 = sp + 104 | 0; - HEAP32[$8 >> 2] = $7; - HEAP32[$8 + 4 >> 2] = 214; - __ZNKSt3__28ios_base6getlocEv($10, $4); - $16 = __ZNKSt3__26locale9use_facetERNS0_2idE($10, 66512) | 0; - HEAP8[$11 >> 0] = 0; - $17 = HEAP32[$2 >> 2] | 0; - HEAP32[$12 >> 2] = $17; - $19 = HEAP32[$4 + 4 >> 2] | 0; - HEAP32[$$byval_copy >> 2] = HEAP32[$12 >> 2]; - $21 = $17; - if (__ZNSt3__29money_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE8__do_getERS4_S4_bRKNS_6localeEjRjRbRKNS_5ctypeIcEERNS_10unique_ptrIcPFvPvEEERPcSM_($1, $$byval_copy, $3, $10, $19, $5, $11, $16, $8, $9, $7 + 100 | 0) | 0) { - $22 = $6 + 11 | 0; - if ((HEAP8[$22 >> 0] | 0) < 0) { - $25 = HEAP32[$6 >> 2] | 0; - HEAP8[$$byval_copy >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc($25, $$byval_copy); - HEAP32[$6 + 4 >> 2] = 0; - } else { - HEAP8[$$byval_copy >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc($6, $$byval_copy); - HEAP8[$22 >> 0] = 0; - } - if (HEAP8[$11 >> 0] | 0) __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc($6, FUNCTION_TABLE_iii[HEAP32[(HEAP32[$16 >> 2] | 0) + 28 >> 2] & 127]($16, 45) | 0); - $36 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$16 >> 2] | 0) + 28 >> 2] & 127]($16, 48) | 0; - $38 = HEAP32[$9 >> 2] | 0; - $39 = $38 + -1 | 0; - $$0 = HEAP32[$8 >> 2] | 0; + $i$0 = 0; while (1) { - if ($$0 >>> 0 >= $39 >>> 0) break; - if ((HEAP8[$$0 >> 0] | 0) != $36 << 24 >> 24) break; - $$0 = $$0 + 1 | 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE23__append_forward_unsafeIPcEERS5_T_S9_($6, $$0, $38) | 0; - } - $44 = HEAP32[$1 >> 2] | 0; - do if ($44) { - $47 = HEAP32[$44 + 12 >> 2] | 0; - if (($47 | 0) == (HEAP32[$44 + 16 >> 2] | 0)) $$0$i$i$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$44 >> 2] | 0) + 36 >> 2] & 127]($44) | 0; else $$0$i$i$i$i = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$47 >> 0] | 0) | 0; - if (__ZNSt3__211char_traitsIcE11eq_int_typeEii($$0$i$i$i$i, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { - HEAP32[$1 >> 2] = 0; - $80 = 1; - break; - } else { - $80 = (HEAP32[$1 >> 2] | 0) == 0; - break; + if (($i$0 | 0) >= ($0 | 0)) break; + $call14 = _malloc(16) | 0; + HEAP32[$call8 + ($i$0 << 2) >> 2] = $call14; + if (!$call14) { + label = 12; + break; + } else $i$0 = $i$0 + 1 | 0; } - } else $80 = 1; while (0); - do if ($17) { - $61 = HEAP32[$21 + 12 >> 2] | 0; - if (($61 | 0) == (HEAP32[$21 + 16 >> 2] | 0)) $$0$i$i2$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$17 >> 2] | 0) + 36 >> 2] & 127]($21) | 0; else $$0$i$i2$i$i = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$61 >> 0] | 0) | 0; - if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii($$0$i$i2$i$i, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if ($80) break; else { - label = 27; - break; - } else { - HEAP32[$2 >> 2] = 0; - label = 25; - break; + if ((label | 0) == 12) { + _arLog(0, 3, 46772, $vararg_buffer5); + _exit(1); } - } else label = 25; while (0); - if ((label | 0) == 25 ? $80 : 0) label = 27; - if ((label | 0) == 27) HEAP32[$5 >> 2] = HEAP32[$5 >> 2] | 2; - $$sroa$0$0$copyload = HEAP32[$1 >> 2] | 0; - __ZNSt3__26localeD2Ev($10); - $76 = HEAP32[$8 >> 2] | 0; - HEAP32[$8 >> 2] = 0; - if ($76 | 0) FUNCTION_TABLE_vi[HEAP32[$8 + 4 >> 2] & 255]($76); - STACKTOP = sp; - return $$sroa$0$0$copyload | 0; -} - -function __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE17__get_white_spaceERS4_S4_RjRKNS_5ctypeIcEE($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $$0$i$i = 0, $$0$i$i$i$i = 0, $$0$i$i$i$i7 = 0, $$0$i$i2$i$i = 0, $$0$i$i2$i$i13 = 0, $100 = 0, $101 = 0, $21 = 0, $24 = 0, $36 = 0, $38 = 0, $5 = 0, $56 = 0, $57 = 0, $58 = 0, $6 = 0, $67 = 0, $70 = 0, $83 = 0, $85 = 0, $9 = 0, $99 = 0, label = 0; - $5 = $4 + 8 | 0; - L1 : while (1) { - $6 = HEAP32[$1 >> 2] | 0; - do if ($6) { - $9 = HEAP32[$6 + 12 >> 2] | 0; - if (($9 | 0) == (HEAP32[$6 + 16 >> 2] | 0)) $$0$i$i$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$6 >> 2] | 0) + 36 >> 2] & 127]($6) | 0; else $$0$i$i$i$i = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$9 >> 0] | 0) | 0; - if (__ZNSt3__211char_traitsIcE11eq_int_typeEii($$0$i$i$i$i, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { - HEAP32[$1 >> 2] = 0; - $99 = 1; + $i$1 = 0; + while (1) { + if (($i$1 | 0) >= ($0 | 0)) { + label = 44; break; - } else { - $99 = (HEAP32[$1 >> 2] | 0) == 0; + } + $arrayidx24 = $call8 + ($i$1 << 2) | 0; + if ((_fread((HEAP32[$arrayidx24 >> 2] | 0) + 4 | 0, 4, 1, $fp) | 0) != 1) { + label = 15; break; } - } else $99 = 1; while (0); - $21 = HEAP32[$2 >> 2] | 0; - do if ($21) { - $24 = HEAP32[$21 + 12 >> 2] | 0; - if (($24 | 0) == (HEAP32[$21 + 16 >> 2] | 0)) $$0$i$i2$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$21 >> 2] | 0) + 36 >> 2] & 127]($21) | 0; else $$0$i$i2$i$i = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$24 >> 0] | 0) | 0; - if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii($$0$i$i2$i$i, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if ($99) { - $100 = $21; + if ((_fread((HEAP32[$arrayidx24 >> 2] | 0) + 8 | 0, 4, 1, $fp) | 0) != 1) { + label = 22; break; - } else { - $83 = $21; - break L1; - } else { - HEAP32[$2 >> 2] = 0; - label = 15; + } + if ((_fread((HEAP32[$arrayidx24 >> 2] | 0) + 12 | 0, 4, 1, $fp) | 0) != 1) { + label = 29; break; } - } else label = 15; while (0); - if ((label | 0) == 15) { - label = 0; - if ($99) { - $83 = 0; + $13 = HEAP32[$arrayidx24 >> 2] | 0; + $call102 = _malloc(Math_imul(HEAP32[$13 + 8 >> 2] | 0, HEAP32[$13 + 4 >> 2] | 0) | 0) | 0; + HEAP32[HEAP32[$arrayidx24 >> 2] >> 2] = $call102; + if (!$call102) { + label = 36; break; - } else $100 = 0; - } - $36 = HEAP32[$1 >> 2] | 0; - $38 = HEAP32[$36 + 12 >> 2] | 0; - if (($38 | 0) == (HEAP32[$36 + 16 >> 2] | 0)) $$0$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$36 >> 2] | 0) + 36 >> 2] & 127]($36) | 0; else $$0$i$i = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$38 >> 0] | 0) | 0; - if (($$0$i$i & 255) << 24 >> 24 <= -1) { - $83 = $100; - break; - } - if (!(HEAP16[(HEAP32[$5 >> 2] | 0) + ($$0$i$i << 24 >> 24 << 1) >> 1] & 8192)) { - $83 = $100; - break; + } + $17 = HEAP32[$arrayidx24 >> 2] | 0; + $call119 = _fread(HEAP32[$17 >> 2] | 0, 1, Math_imul(HEAP32[$17 + 8 >> 2] | 0, HEAP32[$17 + 4 >> 2] | 0) | 0, $fp) | 0; + $21 = HEAP32[$arrayidx24 >> 2] | 0; + $inc149 = $i$1 + 1 | 0; + if (($call119 | 0) == (Math_imul(HEAP32[$21 + 8 >> 2] | 0, HEAP32[$21 + 4 >> 2] | 0) | 0)) $i$1 = $inc149; else { + label = 38; + break; + } } - $56 = HEAP32[$1 >> 2] | 0; - $57 = $56 + 12 | 0; - $58 = HEAP32[$57 >> 2] | 0; - if (($58 | 0) == (HEAP32[$56 + 16 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$56 >> 2] | 0) + 40 >> 2] & 127]($56) | 0; else { - HEAP32[$57 >> 2] = $58 + 1; - __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$58 >> 0] | 0) | 0; + L23 : do if ((label | 0) == 15) { + $k$0 = 0; + while (1) { + if (($k$0 | 0) == ($i$1 | 0)) break; + _free(HEAP32[HEAP32[$call8 + ($k$0 << 2) >> 2] >> 2] | 0); + $k$0 = $k$0 + 1 | 0; + } + $k$1 = 0; + while (1) { + if (($k$1 | 0) == ($0 | 0)) break L23; + _free(HEAP32[$call8 + ($k$1 << 2) >> 2] | 0); + $k$1 = $k$1 + 1 | 0; + } + } else if ((label | 0) == 22) { + $k$2 = 0; + while (1) { + if (($k$2 | 0) == ($i$1 | 0)) break; + _free(HEAP32[HEAP32[$call8 + ($k$2 << 2) >> 2] >> 2] | 0); + $k$2 = $k$2 + 1 | 0; + } + $k$3 = 0; + while (1) { + if (($k$3 | 0) == ($0 | 0)) break L23; + _free(HEAP32[$call8 + ($k$3 << 2) >> 2] | 0); + $k$3 = $k$3 + 1 | 0; + } + } else if ((label | 0) == 29) { + $k$4 = 0; + while (1) { + if (($k$4 | 0) == ($i$1 | 0)) break; + _free(HEAP32[HEAP32[$call8 + ($k$4 << 2) >> 2] >> 2] | 0); + $k$4 = $k$4 + 1 | 0; + } + $k$5 = 0; + while (1) { + if (($k$5 | 0) == ($0 | 0)) break L23; + _free(HEAP32[$call8 + ($k$5 << 2) >> 2] | 0); + $k$5 = $k$5 + 1 | 0; + } + } else if ((label | 0) == 36) { + _arLog(0, 3, 46772, $vararg_buffer7); + _exit(1); + } else if ((label | 0) == 38) { + $k$6 = 0; + while (1) { + if (($k$6 | 0) == ($inc149 | 0)) break; + _free(HEAP32[HEAP32[$call8 + ($k$6 << 2) >> 2] >> 2] | 0); + $k$6 = $k$6 + 1 | 0; + } + $k$7 = 0; + while (1) { + if (($k$7 | 0) == ($0 | 0)) break L23; + _free(HEAP32[$call8 + ($k$7 << 2) >> 2] | 0); + $k$7 = $k$7 + 1 | 0; + } + } else if ((label | 0) == 44) { + _fclose($fp) | 0; + $retval$0 = $call; + break L4; + } while (0); + _free($call8); + label = 46; + } else label = 5; while (0); + if ((label | 0) == 5) { + _arLog(0, 3, 25715, $vararg_buffer1); + label = 46; + } + if ((label | 0) == 46) { + _free($call); + _fclose($fp) | 0; + $retval$0 = 0; + } + STACKTOP = sp; + return $retval$0 | 0; +} + +function __ZNKSt3__29money_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_bRNS_8ios_baseERjRNS_12basic_stringIwS3_NS_9allocatorIwEEEE($this, $__b, $__e, $__intl, $__iob, $__err, $__v) { + $this = $this | 0; + $__b = $__b | 0; + $__e = $__e | 0; + $__intl = $__intl | 0; + $__iob = $__iob | 0; + $__err = $__err | 0; + $__v = $__v | 0; + var $12 = 0, $14 = 0, $15 = 0, $19 = 0, $2 = 0, $25 = 0, $27 = 0, $3 = 0, $4 = 0, $7 = 0, $__loc = 0, $__neg = 0, $__size_$i1$i = 0, $__w$0 = 0, $__wb = 0, $__wbuf = 0, $__wn = 0, $add$ptr10 = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, $call$i = 0, $call$i19 = 0, $retval$0$i$i$i$i = 0, $retval$0$i$i13$i$i = 0, $retval$sroa$0$0$copyload = 0, label = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 432 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(432); + $agg$tmp$byval_copy = sp + 424 | 0; + $__wbuf = sp; + $__wb = sp + 416 | 0; + $__wn = sp + 408 | 0; + $__loc = sp + 400 | 0; + $__neg = sp + 428 | 0; + $agg$tmp = sp + 404 | 0; + HEAP32[$__wb >> 2] = $__wbuf; + HEAP32[$__wb + 4 >> 2] = 214; + __ZNKSt3__28ios_base6getlocEv($__loc, $__iob); + $call$i = __ZNKSt3__26locale9use_facetERNS0_2idE($__loc, 67392) | 0; + HEAP8[$__neg >> 0] = 0; + $2 = HEAP32[$__e >> 2] | 0; + HEAP32[$agg$tmp >> 2] = $2; + $3 = HEAP32[$__iob + 4 >> 2] | 0; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + $4 = $2; + if (__ZNSt3__29money_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE8__do_getERS4_S4_bRKNS_6localeEjRjRbRKNS_5ctypeIwEERNS_10unique_ptrIwPFvPvEEERPwSM_($__b, $agg$tmp$byval_copy, $__intl, $__loc, $3, $__err, $__neg, $call$i, $__wb, $__wn, $__wbuf + 400 | 0) | 0) { + $__size_$i1$i = $__v + 8 + 3 | 0; + if ((HEAP8[$__size_$i1$i >> 0] | 0) < 0) { + $7 = HEAP32[$__v >> 2] | 0; + HEAP32[$agg$tmp$byval_copy >> 2] = 0; + __ZNSt3__211char_traitsIwE6assignERwRKw($7, $agg$tmp$byval_copy); + HEAP32[$__v + 4 >> 2] = 0; + } else { + HEAP32[$agg$tmp$byval_copy >> 2] = 0; + __ZNSt3__211char_traitsIwE6assignERwRKw($__v, $agg$tmp$byval_copy); + HEAP8[$__size_$i1$i >> 0] = 0; + } + if (HEAP8[$__neg >> 0] | 0) __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9push_backEw($__v, FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i >> 2] | 0) + 44 >> 2] & 127]($call$i, 45) | 0); + $call$i19 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i >> 2] | 0) + 44 >> 2] & 127]($call$i, 48) | 0; + $12 = HEAP32[$__wn >> 2] | 0; + $add$ptr10 = $12 + -4 | 0; + $__w$0 = HEAP32[$__wb >> 2] | 0; + while (1) { + if ($__w$0 >>> 0 >= $add$ptr10 >>> 0) break; + if ((HEAP32[$__w$0 >> 2] | 0) != ($call$i19 | 0)) break; + $__w$0 = $__w$0 + 4 | 0; } + __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE23__append_forward_unsafeIPwEERS5_T_S9_($__v, $__w$0, $12) | 0; } - $67 = HEAP32[$1 >> 2] | 0; - do if ($67) { - $70 = HEAP32[$67 + 12 >> 2] | 0; - if (($70 | 0) == (HEAP32[$67 + 16 >> 2] | 0)) $$0$i$i$i$i7 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$67 >> 2] | 0) + 36 >> 2] & 127]($67) | 0; else $$0$i$i$i$i7 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$70 >> 0] | 0) | 0; - if (__ZNSt3__211char_traitsIcE11eq_int_typeEii($$0$i$i$i$i7, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { - HEAP32[$1 >> 2] = 0; - $101 = 1; + $14 = HEAP32[$__b >> 2] | 0; + do if ($14) { + $15 = HEAP32[$14 + 12 >> 2] | 0; + if (($15 | 0) == (HEAP32[$14 + 16 >> 2] | 0)) $retval$0$i$i$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$14 >> 2] | 0) + 36 >> 2] & 127]($14) | 0; else $retval$0$i$i$i$i = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$15 >> 2] | 0) | 0; + if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj($retval$0$i$i$i$i, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { + HEAP32[$__b >> 2] = 0; + $27 = 1; break; } else { - $101 = (HEAP32[$1 >> 2] | 0) == 0; + $27 = (HEAP32[$__b >> 2] | 0) == 0; break; } - } else $101 = 1; while (0); - do if ($83) { - $85 = HEAP32[$83 + 12 >> 2] | 0; - if (($85 | 0) == (HEAP32[$83 + 16 >> 2] | 0)) $$0$i$i2$i$i13 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$83 >> 2] | 0) + 36 >> 2] & 127]($83) | 0; else $$0$i$i2$i$i13 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$85 >> 0] | 0) | 0; - if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii($$0$i$i2$i$i13, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if ($101) break; else { - label = 41; + } else $27 = 1; while (0); + do if ($2) { + $19 = HEAP32[$4 + 12 >> 2] | 0; + if (($19 | 0) == (HEAP32[$4 + 16 >> 2] | 0)) $retval$0$i$i13$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$2 >> 2] | 0) + 36 >> 2] & 127]($4) | 0; else $retval$0$i$i13$i$i = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$19 >> 2] | 0) | 0; + if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj($retval$0$i$i13$i$i, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if ($27) break; else { + label = 27; break; } else { - HEAP32[$2 >> 2] = 0; - label = 39; + HEAP32[$__e >> 2] = 0; + label = 25; break; } - } else label = 39; while (0); - if ((label | 0) == 39 ? $101 : 0) label = 41; - if ((label | 0) == 41) HEAP32[$3 >> 2] = HEAP32[$3 >> 2] | 2; - return; + } else label = 25; while (0); + if ((label | 0) == 25 ? $27 : 0) label = 27; + if ((label | 0) == 27) HEAP32[$__err >> 2] = HEAP32[$__err >> 2] | 2; + $retval$sroa$0$0$copyload = HEAP32[$__b >> 2] | 0; + __ZNSt3__26localeD2Ev($__loc); + $25 = HEAP32[$__wb >> 2] | 0; + HEAP32[$__wb >> 2] = 0; + if ($25 | 0) FUNCTION_TABLE_vi[HEAP32[$__wb + 4 >> 2] & 255]($25); + STACKTOP = sp; + return $retval$sroa$0$0$copyload | 0; } -function __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE13__get_percentERS4_S4_RjRKNS_5ctypeIcEE($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $$0$i$i = 0, $$0$i$i$i$i = 0, $$0$i$i$i$i8 = 0, $$0$i$i2$i$i = 0, $$0$i$i2$i$i14 = 0, $100 = 0, $101 = 0, $20 = 0, $23 = 0, $37 = 0, $39 = 0, $5 = 0, $57 = 0, $58 = 0, $59 = 0, $68 = 0, $71 = 0, $8 = 0, $84 = 0, $86 = 0, label = 0; - $5 = HEAP32[$1 >> 2] | 0; - do if ($5) { - $8 = HEAP32[$5 + 12 >> 2] | 0; - if (($8 | 0) == (HEAP32[$5 + 16 >> 2] | 0)) $$0$i$i$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$5 >> 2] | 0) + 36 >> 2] & 127]($5) | 0; else $$0$i$i$i$i = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$8 >> 0] | 0) | 0; - if (__ZNSt3__211char_traitsIcE11eq_int_typeEii($$0$i$i$i$i, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { - HEAP32[$1 >> 2] = 0; - $100 = 1; - break; - } else { - $100 = (HEAP32[$1 >> 2] | 0) == 0; - break; - } - } else $100 = 1; while (0); - $20 = HEAP32[$2 >> 2] | 0; - do if ($20) { - $23 = HEAP32[$20 + 12 >> 2] | 0; - if (($23 | 0) == (HEAP32[$20 + 16 >> 2] | 0)) $$0$i$i2$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$20 >> 2] | 0) + 36 >> 2] & 127]($20) | 0; else $$0$i$i2$i$i = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$23 >> 0] | 0) | 0; - if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii($$0$i$i2$i$i, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if ($100) { - $84 = $20; - label = 17; - break; - } else { - label = 16; - break; +function __ZNKSt3__29money_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_bRNS_8ios_baseERjRNS_12basic_stringIcS3_NS_9allocatorIcEEEE($this, $__b, $__e, $__intl, $__iob, $__err, $__v) { + $this = $this | 0; + $__b = $__b | 0; + $__e = $__e | 0; + $__intl = $__intl | 0; + $__iob = $__iob | 0; + $__err = $__err | 0; + $__v = $__v | 0; + var $11 = 0, $13 = 0, $14 = 0, $18 = 0, $2 = 0, $24 = 0, $26 = 0, $3 = 0, $4 = 0, $6 = 0, $__loc = 0, $__neg = 0, $__size_$i1$i = 0, $__w$0 = 0, $__wb = 0, $__wbuf = 0, $__wn = 0, $add$ptr10 = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, $call$i = 0, $call$i18 = 0, $retval$0$i$i$i$i = 0, $retval$0$i$i13$i$i = 0, $retval$sroa$0$0$copyload = 0, label = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 128 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(128); + $agg$tmp$byval_copy = sp + 120 | 0; + $__wbuf = sp; + $__wb = sp + 112 | 0; + $__wn = sp + 108 | 0; + $__loc = sp + 100 | 0; + $__neg = sp + 124 | 0; + $agg$tmp = sp + 104 | 0; + HEAP32[$__wb >> 2] = $__wbuf; + HEAP32[$__wb + 4 >> 2] = 214; + __ZNKSt3__28ios_base6getlocEv($__loc, $__iob); + $call$i = __ZNKSt3__26locale9use_facetERNS0_2idE($__loc, 67360) | 0; + HEAP8[$__neg >> 0] = 0; + $2 = HEAP32[$__e >> 2] | 0; + HEAP32[$agg$tmp >> 2] = $2; + $3 = HEAP32[$__iob + 4 >> 2] | 0; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + $4 = $2; + if (__ZNSt3__29money_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE8__do_getERS4_S4_bRKNS_6localeEjRjRbRKNS_5ctypeIcEERNS_10unique_ptrIcPFvPvEEERPcSM_($__b, $agg$tmp$byval_copy, $__intl, $__loc, $3, $__err, $__neg, $call$i, $__wb, $__wn, $__wbuf + 100 | 0) | 0) { + $__size_$i1$i = $__v + 11 | 0; + if ((HEAP8[$__size_$i1$i >> 0] | 0) < 0) { + $6 = HEAP32[$__v >> 2] | 0; + HEAP8[$agg$tmp$byval_copy >> 0] = 0; + __ZNSt3__211char_traitsIcE6assignERcRKc($6, $agg$tmp$byval_copy); + HEAP32[$__v + 4 >> 2] = 0; } else { - HEAP32[$2 >> 2] = 0; - label = 14; - break; + HEAP8[$agg$tmp$byval_copy >> 0] = 0; + __ZNSt3__211char_traitsIcE6assignERcRKc($__v, $agg$tmp$byval_copy); + HEAP8[$__size_$i1$i >> 0] = 0; + } + if (HEAP8[$__neg >> 0] | 0) __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc($__v, FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i >> 2] | 0) + 28 >> 2] & 127]($call$i, 45) | 0); + $call$i18 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i >> 2] | 0) + 28 >> 2] & 127]($call$i, 48) | 0; + $11 = HEAP32[$__wn >> 2] | 0; + $add$ptr10 = $11 + -1 | 0; + $__w$0 = HEAP32[$__wb >> 2] | 0; + while (1) { + if ($__w$0 >>> 0 >= $add$ptr10 >>> 0) break; + if ((HEAP8[$__w$0 >> 0] | 0) != $call$i18 << 24 >> 24) break; + $__w$0 = $__w$0 + 1 | 0; } - } else label = 14; while (0); - if ((label | 0) == 14) if ($100) label = 16; else { - $84 = 0; - label = 17; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE23__append_forward_unsafeIPcEERS5_T_S9_($__v, $__w$0, $11) | 0; } - L22 : do if ((label | 0) == 16) HEAP32[$3 >> 2] = HEAP32[$3 >> 2] | 6; else if ((label | 0) == 17) { - $37 = HEAP32[$1 >> 2] | 0; - $39 = HEAP32[$37 + 12 >> 2] | 0; - if (($39 | 0) == (HEAP32[$37 + 16 >> 2] | 0)) $$0$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$37 >> 2] | 0) + 36 >> 2] & 127]($37) | 0; else $$0$i$i = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$39 >> 0] | 0) | 0; - if ((FUNCTION_TABLE_iiii[HEAP32[(HEAP32[$4 >> 2] | 0) + 36 >> 2] & 63]($4, $$0$i$i & 255, 0) | 0) << 24 >> 24 != 37) { - HEAP32[$3 >> 2] = HEAP32[$3 >> 2] | 4; - break; - } - $57 = HEAP32[$1 >> 2] | 0; - $58 = $57 + 12 | 0; - $59 = HEAP32[$58 >> 2] | 0; - if (($59 | 0) == (HEAP32[$57 + 16 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$57 >> 2] | 0) + 40 >> 2] & 127]($57) | 0; else { - HEAP32[$58 >> 2] = $59 + 1; - __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$59 >> 0] | 0) | 0; - } - $68 = HEAP32[$1 >> 2] | 0; - do if ($68) { - $71 = HEAP32[$68 + 12 >> 2] | 0; - if (($71 | 0) == (HEAP32[$68 + 16 >> 2] | 0)) $$0$i$i$i$i8 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$68 >> 2] | 0) + 36 >> 2] & 127]($68) | 0; else $$0$i$i$i$i8 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$71 >> 0] | 0) | 0; - if (__ZNSt3__211char_traitsIcE11eq_int_typeEii($$0$i$i$i$i8, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { - HEAP32[$1 >> 2] = 0; - $101 = 1; - break; - } else { - $101 = (HEAP32[$1 >> 2] | 0) == 0; - break; - } - } else $101 = 1; while (0); - do if ($84) { - $86 = HEAP32[$84 + 12 >> 2] | 0; - if (($86 | 0) == (HEAP32[$84 + 16 >> 2] | 0)) $$0$i$i2$i$i14 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$84 >> 2] | 0) + 36 >> 2] & 127]($84) | 0; else $$0$i$i2$i$i14 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$86 >> 0] | 0) | 0; - if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii($$0$i$i2$i$i14, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if ($101) break L22; else break; else { - HEAP32[$2 >> 2] = 0; - label = 38; - break; - } - } else label = 38; while (0); - if ((label | 0) == 38 ? !$101 : 0) break; - HEAP32[$3 >> 2] = HEAP32[$3 >> 2] | 2; - } while (0); - return; -} - -function __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE13__get_percentERS4_S4_RjRKNS_5ctypeIwEE($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $$0$i$i = 0, $$0$i$i$i$i = 0, $$0$i$i$i$i8 = 0, $$0$i$i2$i$i = 0, $$0$i$i2$i$i14 = 0, $100 = 0, $20 = 0, $23 = 0, $37 = 0, $39 = 0, $5 = 0, $56 = 0, $57 = 0, $58 = 0, $67 = 0, $70 = 0, $8 = 0, $83 = 0, $85 = 0, $99 = 0, label = 0; - $5 = HEAP32[$1 >> 2] | 0; - do if ($5) { - $8 = HEAP32[$5 + 12 >> 2] | 0; - if (($8 | 0) == (HEAP32[$5 + 16 >> 2] | 0)) $$0$i$i$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$5 >> 2] | 0) + 36 >> 2] & 127]($5) | 0; else $$0$i$i$i$i = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$8 >> 2] | 0) | 0; - if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj($$0$i$i$i$i, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { - HEAP32[$1 >> 2] = 0; - $99 = 1; + $13 = HEAP32[$__b >> 2] | 0; + do if ($13) { + $14 = HEAP32[$13 + 12 >> 2] | 0; + if (($14 | 0) == (HEAP32[$13 + 16 >> 2] | 0)) $retval$0$i$i$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$13 >> 2] | 0) + 36 >> 2] & 127]($13) | 0; else $retval$0$i$i$i$i = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$14 >> 0] | 0) | 0; + if (__ZNSt3__211char_traitsIcE11eq_int_typeEii($retval$0$i$i$i$i, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { + HEAP32[$__b >> 2] = 0; + $26 = 1; break; } else { - $99 = (HEAP32[$1 >> 2] | 0) == 0; + $26 = (HEAP32[$__b >> 2] | 0) == 0; break; } - } else $99 = 1; while (0); - $20 = HEAP32[$2 >> 2] | 0; - do if ($20) { - $23 = HEAP32[$20 + 12 >> 2] | 0; - if (($23 | 0) == (HEAP32[$20 + 16 >> 2] | 0)) $$0$i$i2$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$20 >> 2] | 0) + 36 >> 2] & 127]($20) | 0; else $$0$i$i2$i$i = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$23 >> 2] | 0) | 0; - if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj($$0$i$i2$i$i, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if ($99) { - $83 = $20; - label = 17; - break; - } else { - label = 16; + } else $26 = 1; while (0); + do if ($2) { + $18 = HEAP32[$4 + 12 >> 2] | 0; + if (($18 | 0) == (HEAP32[$4 + 16 >> 2] | 0)) $retval$0$i$i13$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$2 >> 2] | 0) + 36 >> 2] & 127]($4) | 0; else $retval$0$i$i13$i$i = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$18 >> 0] | 0) | 0; + if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii($retval$0$i$i13$i$i, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if ($26) break; else { + label = 27; break; } else { - HEAP32[$2 >> 2] = 0; - label = 14; + HEAP32[$__e >> 2] = 0; + label = 25; break; } - } else label = 14; while (0); - if ((label | 0) == 14) if ($99) label = 16; else { - $83 = 0; - label = 17; - } - L22 : do if ((label | 0) == 16) HEAP32[$3 >> 2] = HEAP32[$3 >> 2] | 6; else if ((label | 0) == 17) { - $37 = HEAP32[$1 >> 2] | 0; - $39 = HEAP32[$37 + 12 >> 2] | 0; - if (($39 | 0) == (HEAP32[$37 + 16 >> 2] | 0)) $$0$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$37 >> 2] | 0) + 36 >> 2] & 127]($37) | 0; else $$0$i$i = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$39 >> 2] | 0) | 0; - if ((FUNCTION_TABLE_iiii[HEAP32[(HEAP32[$4 >> 2] | 0) + 52 >> 2] & 63]($4, $$0$i$i, 0) | 0) << 24 >> 24 != 37) { - HEAP32[$3 >> 2] = HEAP32[$3 >> 2] | 4; - break; - } - $56 = HEAP32[$1 >> 2] | 0; - $57 = $56 + 12 | 0; - $58 = HEAP32[$57 >> 2] | 0; - if (($58 | 0) == (HEAP32[$56 + 16 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$56 >> 2] | 0) + 40 >> 2] & 127]($56) | 0; else { - HEAP32[$57 >> 2] = $58 + 4; - __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$58 >> 2] | 0) | 0; - } - $67 = HEAP32[$1 >> 2] | 0; - do if ($67) { - $70 = HEAP32[$67 + 12 >> 2] | 0; - if (($70 | 0) == (HEAP32[$67 + 16 >> 2] | 0)) $$0$i$i$i$i8 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$67 >> 2] | 0) + 36 >> 2] & 127]($67) | 0; else $$0$i$i$i$i8 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$70 >> 2] | 0) | 0; - if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj($$0$i$i$i$i8, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { - HEAP32[$1 >> 2] = 0; - $100 = 1; - break; - } else { - $100 = (HEAP32[$1 >> 2] | 0) == 0; - break; - } - } else $100 = 1; while (0); - do if ($83) { - $85 = HEAP32[$83 + 12 >> 2] | 0; - if (($85 | 0) == (HEAP32[$83 + 16 >> 2] | 0)) $$0$i$i2$i$i14 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$83 >> 2] | 0) + 36 >> 2] & 127]($83) | 0; else $$0$i$i2$i$i14 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$85 >> 2] | 0) | 0; - if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj($$0$i$i2$i$i14, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if ($100) break L22; else break; else { - HEAP32[$2 >> 2] = 0; - label = 38; - break; - } - } else label = 38; while (0); - if ((label | 0) == 38 ? !$100 : 0) break; - HEAP32[$3 >> 2] = HEAP32[$3 >> 2] | 2; - } while (0); - return; -} - -function __ZN6vision25DoGScaleInvariantDetector23findFeatureOrientationsEPKNS_25GaussianScaleSpacePyramidE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $$025 = 0, $$026 = 0, $13 = 0, $15 = 0, $16 = 0, $19 = 0, $2 = 0, $21 = 0, $22 = 0, $23 = 0, $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $32 = 0, $36 = 0, $4 = 0, $45 = 0.0, $5 = 0, $53 = 0.0, $54 = 0.0, $6 = 0, $62 = 0.0, $64 = 0, $79 = 0, dest = 0, sp = 0, src = 0, stop = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 64 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(64); - $2 = sp + 48 | 0; - $3 = sp + 44 | 0; - $4 = sp + 40 | 0; - $5 = sp + 36 | 0; - $6 = sp; - L1 : do if (!(HEAP8[$0 + 28 >> 0] | 0)) { - $13 = HEAP32[$0 + 60 >> 2] | 0; - $15 = ((HEAP32[$0 + 64 >> 2] | 0) - $13 | 0) / 36 | 0; - $16 = $13; - $$026 = 0; - while (1) { - if (($$026 | 0) == ($15 | 0)) break L1; - HEAPF32[$16 + ($$026 * 36 | 0) + 8 >> 2] = 0.0; - $$026 = $$026 + 1 | 0; - } - } else { - $19 = $0 + 72 | 0; - $21 = $0 + 76 | 0; - HEAP32[$21 >> 2] = HEAP32[$19 >> 2]; - $22 = $0 + 60 | 0; - $23 = $0 + 64 | 0; - __ZNSt3__26vectorIN6vision25DoGScaleInvariantDetector12FeaturePointENS_9allocatorIS3_EEE7reserveEm($19, (HEAP32[$23 >> 2] | 0) - (HEAP32[$22 >> 2] | 0) | 0); - $27 = $0 + 92 | 0; - __ZN6vision21OrientationAssignment16computeGradientsEPKNS_25GaussianScaleSpacePyramidE($27, $1); - $28 = $0 + 144 | 0; - $29 = $6 + 8 | 0; - $30 = $0 + 80 | 0; - $$025 = 0; - while (1) { - $32 = HEAP32[$22 >> 2] | 0; - $36 = $32; - if ($$025 >>> 0 >= (((HEAP32[$23 >> 2] | 0) - $32 | 0) / 36 | 0) >>> 0) break; - __ZN6vision25bilinear_downsample_pointERfS0_S0_fffi($3, $4, $5, +HEAPF32[$36 + ($$025 * 36 | 0) >> 2], +HEAPF32[$36 + ($$025 * 36 | 0) + 4 >> 2], +HEAPF32[$36 + ($$025 * 36 | 0) + 28 >> 2], HEAP32[$36 + ($$025 * 36 | 0) + 12 >> 2] | 0); - $45 = +HEAPF32[$3 >> 2]; - $53 = +__ZN6vision10ClipScalarIfEET_S1_S1_S1_($45, 0.0, +(((__ZNK6vision5Image5widthEv(__ZNK6vision25GaussianScaleSpacePyramid3getEmm($1, HEAP32[(HEAP32[$22 >> 2] | 0) + ($$025 * 36 | 0) + 12 >> 2] | 0, 0) | 0) | 0) + -1 | 0) >>> 0)); - HEAPF32[$3 >> 2] = $53; - $54 = +HEAPF32[$4 >> 2]; - $62 = +__ZN6vision10ClipScalarIfEET_S1_S1_S1_($54, 0.0, +(((__ZNK6vision5Image6heightEv(__ZNK6vision25GaussianScaleSpacePyramid3getEmm($1, HEAP32[(HEAP32[$22 >> 2] | 0) + ($$025 * 36 | 0) + 12 >> 2] | 0, 0) | 0) | 0) + -1 | 0) >>> 0)); - HEAPF32[$4 >> 2] = $62; - $64 = HEAP32[$22 >> 2] | 0; - __ZN6vision21OrientationAssignment7computeEPfRiiifff($27, HEAP32[$28 >> 2] | 0, $2, HEAP32[$64 + ($$025 * 36 | 0) + 12 >> 2] | 0, HEAP32[$64 + ($$025 * 36 | 0) + 16 >> 2] | 0, +HEAPF32[$3 >> 2], $62, +HEAPF32[$5 >> 2]); - $$0 = 0; - while (1) { - if (($$0 | 0) >= (HEAP32[$2 >> 2] | 0)) break; - dest = $6; - src = (HEAP32[$22 >> 2] | 0) + ($$025 * 36 | 0) | 0; - stop = dest + 36 | 0; - do { - HEAP32[dest >> 2] = HEAP32[src >> 2]; - dest = dest + 4 | 0; - src = src + 4 | 0; - } while ((dest | 0) < (stop | 0)); - HEAP32[$29 >> 2] = HEAP32[(HEAP32[$28 >> 2] | 0) + ($$0 << 2) >> 2]; - $79 = HEAP32[$21 >> 2] | 0; - if (($79 | 0) == (HEAP32[$30 >> 2] | 0)) __ZNSt3__26vectorIN6vision25DoGScaleInvariantDetector12FeaturePointENS_9allocatorIS3_EEE21__push_back_slow_pathIRKS3_EEvOT_($19, $6); else { - dest = $79; - src = $6; - stop = dest + 36 | 0; - do { - HEAP32[dest >> 2] = HEAP32[src >> 2]; - dest = dest + 4 | 0; - src = src + 4 | 0; - } while ((dest | 0) < (stop | 0)); - HEAP32[$21 >> 2] = (HEAP32[$21 >> 2] | 0) + 36; - } - $$0 = $$0 + 1 | 0; - } - $$025 = $$025 + 1 | 0; - } - __ZNSt3__26vectorIN6vision25DoGScaleInvariantDetector12FeaturePointENS_9allocatorIS3_EEE4swapERS6_($22, $19); - } while (0); - STACKTOP = sp; - return; -} - -function __ZNSt3__2L13utf16_to_utf8EPKtS1_RS1_PhS3_RS3_mNS_12codecvt_modeE($0, $1, $2, $3, $4, $5, $6, $7) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - $6 = $6 | 0; - $7 = $7 | 0; - var $$4 = 0, $$pre80 = 0, $100 = 0, $109 = 0, $114 = 0, $117 = 0, $129 = 0, $134 = 0, $137 = 0, $14 = 0, $16 = 0, $18 = 0, $20 = 0, $21 = 0, $22 = 0, $25 = 0, $32 = 0, $43 = 0, $46 = 0, $58 = 0, $63 = 0, $69 = 0, $71 = 0, $77 = 0, $87 = 0, $91 = 0, label = 0; - HEAP32[$2 >> 2] = $0; - HEAP32[$5 >> 2] = $3; - $$pre80 = $4; - if ($7 & 2) if (($$pre80 - $3 | 0) < 3) $$4 = 1; else { - HEAP32[$5 >> 2] = $3 + 1; - HEAP8[$3 >> 0] = -17; - $14 = HEAP32[$5 >> 2] | 0; - HEAP32[$5 >> 2] = $14 + 1; - HEAP8[$14 >> 0] = -69; - $16 = HEAP32[$5 >> 2] | 0; - HEAP32[$5 >> 2] = $16 + 1; - HEAP8[$16 >> 0] = -65; + } else label = 25; while (0); + if ((label | 0) == 25 ? $26 : 0) label = 27; + if ((label | 0) == 27) HEAP32[$__err >> 2] = HEAP32[$__err >> 2] | 2; + $retval$sroa$0$0$copyload = HEAP32[$__b >> 2] | 0; + __ZNSt3__26localeD2Ev($__loc); + $24 = HEAP32[$__wb >> 2] | 0; + HEAP32[$__wb >> 2] = 0; + if ($24 | 0) FUNCTION_TABLE_vi[HEAP32[$__wb + 4 >> 2] & 255]($24); + STACKTOP = sp; + return $retval$sroa$0$0$copyload | 0; +} + +function __ZNSt3__2L13utf16_to_utf8EPKtS1_RS1_PhS3_RS3_mNS_12codecvt_modeE($frm, $frm_end, $frm_nxt, $to, $to_end, $to_nxt, $Maxcode, $mode) { + $frm = $frm | 0; + $frm_end = $frm_end | 0; + $frm_nxt = $frm_nxt | 0; + $to = $to | 0; + $to_end = $to_end | 0; + $to_nxt = $to_nxt | 0; + $Maxcode = $Maxcode | 0; + $mode = $mode | 0; + var $$pre64 = 0, $0 = 0, $1 = 0, $11 = 0, $12 = 0, $17 = 0, $19 = 0, $2 = 0, $21 = 0, $22 = 0, $23 = 0, $26 = 0, $27 = 0, $3 = 0, $4 = 0, $5 = 0, $7 = 0, $8 = 0, $add101 = 0, $and85 = 0, $arrayidx = 0, $conv = 0, $conv73 = 0, $incdec$ptr168 = 0, $retval$4 = 0, $sub$ptr$lhs$cast67 = 0, label = 0; + HEAP32[$frm_nxt >> 2] = $frm; + HEAP32[$to_nxt >> 2] = $to; + $$pre64 = $to_end; + if ($mode & 2) if (($$pre64 - $to | 0) < 3) $retval$4 = 1; else { + HEAP32[$to_nxt >> 2] = $to + 1; + HEAP8[$to >> 0] = -17; + $0 = HEAP32[$to_nxt >> 2] | 0; + HEAP32[$to_nxt >> 2] = $0 + 1; + HEAP8[$0 >> 0] = -69; + $1 = HEAP32[$to_nxt >> 2] | 0; + HEAP32[$to_nxt >> 2] = $1 + 1; + HEAP8[$1 >> 0] = -65; label = 4; } else label = 4; L4 : do if ((label | 0) == 4) { - $18 = $1; - $20 = HEAP32[$2 >> 2] | 0; + $sub$ptr$lhs$cast67 = $frm_end; + $2 = HEAP32[$frm_nxt >> 2] | 0; while (1) { - if ($20 >>> 0 >= $1 >>> 0) { - $$4 = 0; + if ($2 >>> 0 >= $frm_end >>> 0) { + $retval$4 = 0; break L4; } - $21 = HEAP16[$20 >> 1] | 0; - $22 = $21 & 65535; - if ($22 >>> 0 > $6 >>> 0) { - $$4 = 2; + $3 = HEAP16[$2 >> 1] | 0; + $conv = $3 & 65535; + if ($conv >>> 0 > $Maxcode >>> 0) { + $retval$4 = 2; break L4; } - do if (($21 & 65535) < 128) { - $25 = HEAP32[$5 >> 2] | 0; - if (($$pre80 - $25 | 0) < 1) { - $$4 = 1; + do if (($3 & 65535) < 128) { + $4 = HEAP32[$to_nxt >> 2] | 0; + if (($$pre64 - $4 | 0) < 1) { + $retval$4 = 1; break L4; } - HEAP32[$5 >> 2] = $25 + 1; - HEAP8[$25 >> 0] = $21; + HEAP32[$to_nxt >> 2] = $4 + 1; + HEAP8[$4 >> 0] = $3; } else { - if (($21 & 65535) < 2048) { - $32 = HEAP32[$5 >> 2] | 0; - if (($$pre80 - $32 | 0) < 2) { - $$4 = 1; + if (($3 & 65535) < 2048) { + $5 = HEAP32[$to_nxt >> 2] | 0; + if (($$pre64 - $5 | 0) < 2) { + $retval$4 = 1; break L4; } - HEAP32[$5 >> 2] = $32 + 1; - HEAP8[$32 >> 0] = $22 >>> 6 | 192; - $43 = HEAP32[$5 >> 2] | 0; - HEAP32[$5 >> 2] = $43 + 1; - HEAP8[$43 >> 0] = $22 & 63 | 128; + HEAP32[$to_nxt >> 2] = $5 + 1; + HEAP8[$5 >> 0] = $conv >>> 6 | 192; + $7 = HEAP32[$to_nxt >> 2] | 0; + HEAP32[$to_nxt >> 2] = $7 + 1; + HEAP8[$7 >> 0] = $conv & 63 | 128; break; } - if (($21 & 65535) < 55296) { - $46 = HEAP32[$5 >> 2] | 0; - if (($$pre80 - $46 | 0) < 3) { - $$4 = 1; + if (($3 & 65535) < 55296) { + $8 = HEAP32[$to_nxt >> 2] | 0; + if (($$pre64 - $8 | 0) < 3) { + $retval$4 = 1; break L4; } - HEAP32[$5 >> 2] = $46 + 1; - HEAP8[$46 >> 0] = $22 >>> 12 | 224; - $58 = HEAP32[$5 >> 2] | 0; - HEAP32[$5 >> 2] = $58 + 1; - HEAP8[$58 >> 0] = $22 >>> 6 & 63 | 128; - $63 = HEAP32[$5 >> 2] | 0; - HEAP32[$5 >> 2] = $63 + 1; - HEAP8[$63 >> 0] = $22 & 63 | 128; + HEAP32[$to_nxt >> 2] = $8 + 1; + HEAP8[$8 >> 0] = $conv >>> 12 | 224; + $11 = HEAP32[$to_nxt >> 2] | 0; + HEAP32[$to_nxt >> 2] = $11 + 1; + HEAP8[$11 >> 0] = $conv >>> 6 & 63 | 128; + $12 = HEAP32[$to_nxt >> 2] | 0; + HEAP32[$to_nxt >> 2] = $12 + 1; + HEAP8[$12 >> 0] = $conv & 63 | 128; break; } - if (($21 & 65535) >= 56320) { - if (($21 & 65535) < 57344) { - $$4 = 2; + if (($3 & 65535) >= 56320) { + if (($3 & 65535) < 57344) { + $retval$4 = 2; break L4; } - $117 = HEAP32[$5 >> 2] | 0; - if (($$pre80 - $117 | 0) < 3) { - $$4 = 1; + $23 = HEAP32[$to_nxt >> 2] | 0; + if (($$pre64 - $23 | 0) < 3) { + $retval$4 = 1; break L4; } - HEAP32[$5 >> 2] = $117 + 1; - HEAP8[$117 >> 0] = $22 >>> 12 | 224; - $129 = HEAP32[$5 >> 2] | 0; - HEAP32[$5 >> 2] = $129 + 1; - HEAP8[$129 >> 0] = $22 >>> 6 & 63 | 128; - $134 = HEAP32[$5 >> 2] | 0; - HEAP32[$5 >> 2] = $134 + 1; - HEAP8[$134 >> 0] = $22 & 63 | 128; + HEAP32[$to_nxt >> 2] = $23 + 1; + HEAP8[$23 >> 0] = $conv >>> 12 | 224; + $26 = HEAP32[$to_nxt >> 2] | 0; + HEAP32[$to_nxt >> 2] = $26 + 1; + HEAP8[$26 >> 0] = $conv >>> 6 & 63 | 128; + $27 = HEAP32[$to_nxt >> 2] | 0; + HEAP32[$to_nxt >> 2] = $27 + 1; + HEAP8[$27 >> 0] = $conv & 63 | 128; break; } - if (($18 - $20 | 0) < 4) { - $$4 = 1; + if (($sub$ptr$lhs$cast67 - $2 | 0) < 4) { + $retval$4 = 1; break L4; } - $69 = $20 + 2 | 0; - $71 = HEAPU16[$69 >> 1] | 0; - if (($71 & 64512 | 0) != 56320) { - $$4 = 2; + $arrayidx = $2 + 2 | 0; + $conv73 = HEAPU16[$arrayidx >> 1] | 0; + if (($conv73 & 64512 | 0) != 56320) { + $retval$4 = 2; break L4; } - if (($$pre80 - (HEAP32[$5 >> 2] | 0) | 0) < 4) { - $$4 = 1; + if (($$pre64 - (HEAP32[$to_nxt >> 2] | 0) | 0) < 4) { + $retval$4 = 1; break L4; } - $77 = $22 & 960; - if ((($77 << 10) + 65536 | $22 << 10 & 64512 | $71 & 1023) >>> 0 > $6 >>> 0) { - $$4 = 2; + $and85 = $conv & 960; + if ((($and85 << 10) + 65536 | $conv << 10 & 64512 | $conv73 & 1023) >>> 0 > $Maxcode >>> 0) { + $retval$4 = 2; break L4; } - HEAP32[$2 >> 2] = $69; - $87 = ($77 >>> 6) + 1 | 0; - $91 = HEAP32[$5 >> 2] | 0; - HEAP32[$5 >> 2] = $91 + 1; - HEAP8[$91 >> 0] = $87 >>> 2 | 240; - $100 = HEAP32[$5 >> 2] | 0; - HEAP32[$5 >> 2] = $100 + 1; - HEAP8[$100 >> 0] = $22 >>> 2 & 15 | $87 << 4 & 48 | 128; - $109 = HEAP32[$5 >> 2] | 0; - HEAP32[$5 >> 2] = $109 + 1; - HEAP8[$109 >> 0] = $22 << 4 & 48 | $71 >>> 6 & 15 | 128; - $114 = HEAP32[$5 >> 2] | 0; - HEAP32[$5 >> 2] = $114 + 1; - HEAP8[$114 >> 0] = $71 & 63 | 128; + HEAP32[$frm_nxt >> 2] = $arrayidx; + $add101 = ($and85 >>> 6) + 1 | 0; + $17 = HEAP32[$to_nxt >> 2] | 0; + HEAP32[$to_nxt >> 2] = $17 + 1; + HEAP8[$17 >> 0] = $add101 >>> 2 | 240; + $19 = HEAP32[$to_nxt >> 2] | 0; + HEAP32[$to_nxt >> 2] = $19 + 1; + HEAP8[$19 >> 0] = $conv >>> 2 & 15 | $add101 << 4 & 48 | 128; + $21 = HEAP32[$to_nxt >> 2] | 0; + HEAP32[$to_nxt >> 2] = $21 + 1; + HEAP8[$21 >> 0] = $conv << 4 & 48 | $conv73 >>> 6 & 15 | 128; + $22 = HEAP32[$to_nxt >> 2] | 0; + HEAP32[$to_nxt >> 2] = $22 + 1; + HEAP8[$22 >> 0] = $conv73 & 63 | 128; } while (0); - $137 = (HEAP32[$2 >> 2] | 0) + 2 | 0; - HEAP32[$2 >> 2] = $137; - $20 = $137; - } - } while (0); - return $$4 | 0; -} - -function __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE17__get_white_spaceERS4_S4_RjRKNS_5ctypeIwEE($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $$0$i$i = 0, $$0$i$i$i$i = 0, $$0$i$i$i$i7 = 0, $$0$i$i2$i$i = 0, $$0$i$i2$i$i13 = 0, $20 = 0, $23 = 0, $35 = 0, $37 = 0, $5 = 0, $51 = 0, $52 = 0, $53 = 0, $62 = 0, $65 = 0, $78 = 0, $8 = 0, $80 = 0, $94 = 0, $95 = 0, $96 = 0, label = 0; - L1 : while (1) { - $5 = HEAP32[$1 >> 2] | 0; - do if ($5) { - $8 = HEAP32[$5 + 12 >> 2] | 0; - if (($8 | 0) == (HEAP32[$5 + 16 >> 2] | 0)) $$0$i$i$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$5 >> 2] | 0) + 36 >> 2] & 127]($5) | 0; else $$0$i$i$i$i = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$8 >> 2] | 0) | 0; - if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj($$0$i$i$i$i, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { - HEAP32[$1 >> 2] = 0; - $94 = 1; - break; - } else { - $94 = (HEAP32[$1 >> 2] | 0) == 0; - break; - } - } else $94 = 1; while (0); - $20 = HEAP32[$2 >> 2] | 0; - do if ($20) { - $23 = HEAP32[$20 + 12 >> 2] | 0; - if (($23 | 0) == (HEAP32[$20 + 16 >> 2] | 0)) $$0$i$i2$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$20 >> 2] | 0) + 36 >> 2] & 127]($20) | 0; else $$0$i$i2$i$i = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$23 >> 2] | 0) | 0; - if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj($$0$i$i2$i$i, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if ($94) { - $95 = $20; - break; - } else { - $78 = $20; - break L1; - } else { - HEAP32[$2 >> 2] = 0; - label = 15; - break; - } - } else label = 15; while (0); - if ((label | 0) == 15) { - label = 0; - if ($94) { - $78 = 0; - break; - } else $95 = 0; - } - $35 = HEAP32[$1 >> 2] | 0; - $37 = HEAP32[$35 + 12 >> 2] | 0; - if (($37 | 0) == (HEAP32[$35 + 16 >> 2] | 0)) $$0$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$35 >> 2] | 0) + 36 >> 2] & 127]($35) | 0; else $$0$i$i = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$37 >> 2] | 0) | 0; - if (!(FUNCTION_TABLE_iiii[HEAP32[(HEAP32[$4 >> 2] | 0) + 12 >> 2] & 63]($4, 8192, $$0$i$i) | 0)) { - $78 = $95; - break; - } - $51 = HEAP32[$1 >> 2] | 0; - $52 = $51 + 12 | 0; - $53 = HEAP32[$52 >> 2] | 0; - if (($53 | 0) == (HEAP32[$51 + 16 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$51 >> 2] | 0) + 40 >> 2] & 127]($51) | 0; else { - HEAP32[$52 >> 2] = $53 + 4; - __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$53 >> 2] | 0) | 0; - } - } - $62 = HEAP32[$1 >> 2] | 0; - do if ($62) { - $65 = HEAP32[$62 + 12 >> 2] | 0; - if (($65 | 0) == (HEAP32[$62 + 16 >> 2] | 0)) $$0$i$i$i$i7 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$62 >> 2] | 0) + 36 >> 2] & 127]($62) | 0; else $$0$i$i$i$i7 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$65 >> 2] | 0) | 0; - if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj($$0$i$i$i$i7, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { - HEAP32[$1 >> 2] = 0; - $96 = 1; - break; - } else { - $96 = (HEAP32[$1 >> 2] | 0) == 0; - break; - } - } else $96 = 1; while (0); - do if ($78) { - $80 = HEAP32[$78 + 12 >> 2] | 0; - if (($80 | 0) == (HEAP32[$78 + 16 >> 2] | 0)) $$0$i$i2$i$i13 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$78 >> 2] | 0) + 36 >> 2] & 127]($78) | 0; else $$0$i$i2$i$i13 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$80 >> 2] | 0) | 0; - if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj($$0$i$i2$i$i13, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if ($96) break; else { - label = 40; - break; - } else { - HEAP32[$2 >> 2] = 0; - label = 38; - break; - } - } else label = 38; while (0); - if ((label | 0) == 38 ? $96 : 0) label = 40; - if ((label | 0) == 40) HEAP32[$3 >> 2] = HEAP32[$3 >> 2] | 2; - return; -} - -function _arith_decode($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $$0$ph = 0, $$062 = 0, $$lcssa65 = 0, $$pre$phi72Z2D = 0, $10 = 0, $11 = 0, $12 = 0, $16 = 0, $17 = 0, $24 = 0, $29 = 0, $3 = 0, $31 = 0, $32 = 0, $34 = 0, $35 = 0, $4 = 0, $42 = 0, $47 = 0, $49 = 0, $5 = 0, $54 = 0, $55 = 0, $57 = 0, $60 = 0, $63 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $76 = 0, $8 = 0, $84 = 0, $9 = 0, $90 = 0, $91 = 0; - $3 = HEAP32[$0 + 468 >> 2] | 0; - $4 = $3 + 16 | 0; - $5 = HEAP32[$4 >> 2] | 0; - $7 = $3 + 20 | 0; - if (($5 | 0) < 32768) { - $8 = $0 + 440 | 0; - $9 = $0 + 24 | 0; - $10 = $3 + 12 | 0; - $12 = HEAP32[$7 >> 2] | 0; - while (1) { - $11 = $12 + -1 | 0; - HEAP32[$7 >> 2] = $11; - if (($12 | 0) < 1) { - if (!(HEAP32[$8 >> 2] | 0)) { - $16 = HEAP32[$9 >> 2] | 0; - $17 = $16 + 4 | 0; - if ((HEAP32[$17 >> 2] | 0) == 0 ? (FUNCTION_TABLE_ii[HEAP32[$16 + 12 >> 2] & 127]($0) | 0) == 0 : 0) { - $24 = HEAP32[$0 >> 2] | 0; - HEAP32[$24 + 20 >> 2] = 25; - FUNCTION_TABLE_vi[HEAP32[$24 >> 2] & 255]($0); - } - HEAP32[$17 >> 2] = (HEAP32[$17 >> 2] | 0) + -1; - $29 = HEAP32[$16 >> 2] | 0; - HEAP32[$16 >> 2] = $29 + 1; - $31 = HEAP8[$29 >> 0] | 0; - $32 = $31 & 255; - L13 : do if ($31 << 24 >> 24 == -1) { - L15 : while (1) { - $34 = HEAP32[$9 >> 2] | 0; - $35 = $34 + 4 | 0; - if ((HEAP32[$35 >> 2] | 0) == 0 ? (FUNCTION_TABLE_ii[HEAP32[$34 + 12 >> 2] & 127]($0) | 0) == 0 : 0) { - $42 = HEAP32[$0 >> 2] | 0; - HEAP32[$42 + 20 >> 2] = 25; - FUNCTION_TABLE_vi[HEAP32[$42 >> 2] & 255]($0); - } - HEAP32[$35 >> 2] = (HEAP32[$35 >> 2] | 0) + -1; - $47 = HEAP32[$34 >> 2] | 0; - HEAP32[$34 >> 2] = $47 + 1; - $49 = HEAP8[$47 >> 0] | 0; - switch ($49 << 24 >> 24) { - case 0: - { - $$0$ph = 255; - break L13; - break; - } - case -1: - break; - default: - break L15; - } - } - HEAP32[$8 >> 2] = $49 & 255; - $$0$ph = 0; - } else $$0$ph = $32; while (0); - $$0 = $$0$ph; - $55 = HEAP32[$7 >> 2] | 0; - } else { - $$0 = 0; - $55 = $11; - } - HEAP32[$10 >> 2] = HEAP32[$10 >> 2] << 8 | $$0; - $54 = $55 + 8 | 0; - HEAP32[$7 >> 2] = $54; - if (($55 | 0) < -8) { - $57 = $55 + 9 | 0; - HEAP32[$7 >> 2] = $57; - if (!$57) { - HEAP32[$4 >> 2] = 32768; - $91 = 0; - } else $91 = $57; - } else $91 = $54; - } else $91 = $11; - $60 = HEAP32[$4 >> 2] << 1; - HEAP32[$4 >> 2] = $60; - if (($60 | 0) < 32768) $12 = $91; else { - $$lcssa65 = $60; - $$pre$phi72Z2D = $10; - $71 = $91; - break; - } - } - } else { - $$lcssa65 = $5; - $$pre$phi72Z2D = $3 + 12 | 0; - $71 = HEAP32[$7 >> 2] | 0; - } - $63 = HEAPU8[$1 >> 0] | 0; - $66 = HEAP32[3872 + (($63 & 127) << 2) >> 2] | 0; - $67 = $66 >> 8; - $68 = $66 >> 16; - $69 = $$lcssa65 - $68 | 0; - HEAP32[$4 >> 2] = $69; - $70 = $69 << $71; - $72 = HEAP32[$$pre$phi72Z2D >> 2] | 0; - if (($72 | 0) >= ($70 | 0)) { - HEAP32[$$pre$phi72Z2D >> 2] = $72 - $70; - HEAP32[$4 >> 2] = $68; - $76 = $63 & 128; - if (($69 | 0) < ($68 | 0)) { - HEAP8[$1 >> 0] = $76 ^ $67; - $$062 = $63; - $90 = $$062 >> 7; - return $90 | 0; - } else { - HEAP8[$1 >> 0] = $76 ^ $66; - $$062 = $63 ^ 128; - $90 = $$062 >> 7; - return $90 | 0; - } - } - if (($69 | 0) >= 32768) { - $$062 = $63; - $90 = $$062 >> 7; - return $90 | 0; - } - $84 = $63 & 128; - if (($69 | 0) < ($68 | 0)) { - HEAP8[$1 >> 0] = $84 ^ $66; - $$062 = $63 ^ 128; - $90 = $$062 >> 7; - return $90 | 0; - } else { - HEAP8[$1 >> 0] = $84 ^ $67; - $$062 = $63; - $90 = $$062 >> 7; - return $90 | 0; - } - return 0; -} - -function _get_interesting_appn($0) { - $0 = $0 | 0; - var $$0 = 0, $$066 = 0, $$070 = 0, $$071 = 0, $$07278 = 0, $$1 = 0, $$167 = 0, $$2 = 0, $$2$lcssa = 0, $$268 = 0, $$268$lcssa = 0, $$26877 = 0, $$26880 = 0, $$276 = 0, $$279 = 0, $$3 = 0, $$369 = 0, $1 = 0, $103 = 0, $12 = 0, $13 = 0, $16 = 0, $2 = 0, $26 = 0, $27 = 0, $3 = 0, $31 = 0, $4 = 0, $42 = 0, $44 = 0, $5 = 0, $75 = 0, $83 = 0, $85 = 0, $87 = 0, $97 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $1 = sp; - $2 = $0 + 24 | 0; - $3 = HEAP32[$2 >> 2] | 0; - $4 = $3 + 4 | 0; - $5 = HEAP32[$4 >> 2] | 0; - do if (!$5) if (!(FUNCTION_TABLE_ii[HEAP32[$3 + 12 >> 2] & 127]($0) | 0)) { - $$070 = 0; - STACKTOP = sp; - return $$070 | 0; - } else { - $$0 = HEAP32[$4 >> 2] | 0; - break; - } else $$0 = $5; while (0); - $$066 = HEAP32[$3 >> 2] | 0; - $12 = $$0 + -1 | 0; - $13 = $$066 + 1 | 0; - $16 = HEAPU8[$$066 >> 0] << 8; - do if (!$12) if (!(FUNCTION_TABLE_ii[HEAP32[$3 + 12 >> 2] & 127]($0) | 0)) { - $$070 = 0; - STACKTOP = sp; - return $$070 | 0; - } else { - $$1 = HEAP32[$4 >> 2] | 0; - $$167 = HEAP32[$3 >> 2] | 0; - break; - } else { - $$1 = $12; - $$167 = $13; - } while (0); - $26 = $16 | HEAPU8[$$167 >> 0]; - $27 = $26 + -2 | 0; - $$071 = $26 >>> 0 > 15 ? 14 : $26 >>> 0 > 2 ? $27 : 0; - $$276 = $$1 + -1 | 0; - $$26877 = $$167 + 1 | 0; - L13 : do if (!$$071) { - $$2$lcssa = $$276; - $$268$lcssa = $$26877; - } else { - $31 = $3 + 12 | 0; - $$07278 = 0; - $$26880 = $$26877; - $$279 = $$276; - while (1) { - if (!$$279) { - if (!(FUNCTION_TABLE_ii[HEAP32[$31 >> 2] & 127]($0) | 0)) { - $$070 = 0; - break; - } - $$3 = HEAP32[$4 >> 2] | 0; - $$369 = HEAP32[$3 >> 2] | 0; - } else { - $$3 = $$279; - $$369 = $$26880; - } - HEAP8[$1 + $$07278 >> 0] = HEAP8[$$369 >> 0] | 0; - $$07278 = $$07278 + 1 | 0; - $$2 = $$3 + -1 | 0; - $$268 = $$369 + 1 | 0; - if ($$07278 >>> 0 >= $$071 >>> 0) { - $$2$lcssa = $$2; - $$268$lcssa = $$268; - break L13; - } else { - $$26880 = $$268; - $$279 = $$2; - } - } - STACKTOP = sp; - return $$070 | 0; - } while (0); - $42 = $27 - $$071 | 0; - $44 = HEAP32[$0 + 440 >> 2] | 0; - L23 : do switch ($44 | 0) { - case 224: - { - _examine_app0($0, $1, $$071, $42); - break; - } - case 238: - { - if (((($$071 >>> 0 > 11 & (HEAP8[$1 >> 0] | 0) == 65 ? (HEAP8[$1 + 1 >> 0] | 0) == 100 : 0) ? (HEAP8[$1 + 2 >> 0] | 0) == 111 : 0) ? (HEAP8[$1 + 3 >> 0] | 0) == 98 : 0) ? (HEAP8[$1 + 4 >> 0] | 0) == 101 : 0) { - $75 = HEAPU8[$1 + 7 >> 0] << 8 | HEAPU8[$1 + 8 >> 0]; - $83 = HEAPU8[$1 + 9 >> 0] << 8 | HEAPU8[$1 + 10 >> 0]; - $85 = HEAP8[$1 + 11 >> 0] | 0; - $87 = HEAP32[$0 >> 2] | 0; - HEAP32[$87 + 24 >> 2] = HEAPU8[$1 + 5 >> 0] << 8 | HEAPU8[$1 + 6 >> 0]; - HEAP32[$87 + 28 >> 2] = $75; - HEAP32[$87 + 32 >> 2] = $83; - HEAP32[$87 + 36 >> 2] = $85 & 255; - HEAP32[$87 + 20 >> 2] = 78; - FUNCTION_TABLE_vii[HEAP32[$87 + 4 >> 2] & 255]($0, 1); - HEAP32[$0 + 296 >> 2] = 1; - HEAP8[$0 + 300 >> 0] = $85; - break L23; - } - $97 = HEAP32[$0 >> 2] | 0; - HEAP32[$97 + 20 >> 2] = 80; - HEAP32[$97 + 24 >> 2] = $27; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$0 >> 2] | 0) + 4 >> 2] & 255]($0, 1); - break; - } - default: - { - $103 = HEAP32[$0 >> 2] | 0; - HEAP32[$103 + 20 >> 2] = 70; - HEAP32[$103 + 24 >> 2] = $44; - FUNCTION_TABLE_vi[HEAP32[HEAP32[$0 >> 2] >> 2] & 255]($0); + $incdec$ptr168 = (HEAP32[$frm_nxt >> 2] | 0) + 2 | 0; + HEAP32[$frm_nxt >> 2] = $incdec$ptr168; + $2 = $incdec$ptr168; } } while (0); - HEAP32[$3 >> 2] = $$268$lcssa; - HEAP32[$4 >> 2] = $$2$lcssa; - if (($42 | 0) <= 0) { - $$070 = 1; - STACKTOP = sp; - return $$070 | 0; - } - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$2 >> 2] | 0) + 16 >> 2] & 255]($0, $42); - $$070 = 1; - STACKTOP = sp; - return $$070 | 0; + return $retval$4 | 0; } -function __ZN6vision20VisualDatabaseFacade30addFreakFeaturesAndDescriptorsERKNSt3__26vectorINS_12FeaturePointENS1_9allocatorIS3_EEEERKNS2_IhNS4_IhEEEERKNS2_INS_7Point3dIfEENS4_ISE_EEEEmmi($0, $1, $2, $3, $4, $5, $6) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - $6 = $6 | 0; - var $$byval_copy = 0, $10 = 0, $11 = 0, $18 = 0, $19 = 0, $26 = 0, $32 = 0, $33 = 0, $39 = 0, $45 = 0, $49 = 0, $51 = 0, $57 = 0, $7 = 0, $8 = 0, $9 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $$byval_copy = sp + 24 | 0; - $7 = sp + 12 | 0; - $8 = sp + 16 | 0; - $9 = sp + 8 | 0; - $10 = sp; - HEAP32[$7 >> 2] = $6; - $11 = __Znwm(148) | 0; - __ZN6vision8KeyframeILi96EEC2Ev($11); - HEAP32[$9 >> 2] = 0; - HEAP32[$$byval_copy >> 2] = HEAP32[$9 >> 2]; - __ZNSt3__210shared_ptrIN6vision8KeyframeILi96EEEEC2IS3_EEPT_NS_9enable_ifIXsr14is_convertibleIS7_PS3_EE5valueENS4_5__natEE4typeE($8, $11, $$byval_copy); - __ZN6vision8KeyframeILi96EE8setWidthEi(HEAP32[$8 >> 2] | 0, $4); - __ZN6vision8KeyframeILi96EE9setHeightEi(HEAP32[$8 >> 2] | 0, $5); - __ZN6vision18BinaryFeatureStore21setNumBytesPerFeatureEi(__ZN6vision8KeyframeILi96EE5storeEv(HEAP32[$8 >> 2] | 0) | 0, 96); - $18 = __ZN6vision18BinaryFeatureStore6pointsEv(__ZN6vision8KeyframeILi96EE5storeEv(HEAP32[$8 >> 2] | 0) | 0) | 0; - $19 = $1 + 4 | 0; - __ZNSt3__26vectorIN6vision12FeaturePointENS_9allocatorIS2_EEE6resizeEm($18, ((HEAP32[$19 >> 2] | 0) - (HEAP32[$1 >> 2] | 0) | 0) / 20 | 0); - $26 = __ZN6vision18BinaryFeatureStore6pointsEv(__ZN6vision8KeyframeILi96EE5storeEv(HEAP32[$8 >> 2] | 0) | 0) | 0; - if (($26 | 0) != ($1 | 0)) __ZNSt3__26vectorIN6vision12FeaturePointENS_9allocatorIS2_EEE6assignIPS2_EENS_9enable_ifIXaasr21__is_forward_iteratorIT_EE5valuesr16is_constructibleIS2_NS_15iterator_traitsIS9_E9referenceEEE5valueEvE4typeES9_S9_($26, HEAP32[$1 >> 2] | 0, HEAP32[$19 >> 2] | 0); - $32 = __ZN6vision18BinaryFeatureStore8featuresEv(__ZN6vision8KeyframeILi96EE5storeEv(HEAP32[$8 >> 2] | 0) | 0) | 0; - $33 = $2 + 4 | 0; - __ZNSt3__26vectorIhNS_9allocatorIhEEE6resizeEm($32, (HEAP32[$33 >> 2] | 0) - (HEAP32[$2 >> 2] | 0) | 0); - $39 = __ZN6vision18BinaryFeatureStore8featuresEv(__ZN6vision8KeyframeILi96EE5storeEv(HEAP32[$8 >> 2] | 0) | 0) | 0; - if (($39 | 0) != ($2 | 0)) __ZNSt3__26vectorIhNS_9allocatorIhEEE6assignIPhEENS_9enable_ifIXaasr21__is_forward_iteratorIT_EE5valuesr16is_constructibleIhNS_15iterator_traitsIS7_E9referenceEEE5valueEvE4typeES7_S7_($39, HEAP32[$2 >> 2] | 0, HEAP32[$33 >> 2] | 0); - __ZN6vision8KeyframeILi96EE10buildIndexEv(HEAP32[$8 >> 2] | 0); - $45 = HEAP32[HEAP32[$0 >> 2] >> 2] | 0; - HEAP32[$10 >> 2] = HEAP32[$8 >> 2]; - $49 = HEAP32[$8 + 4 >> 2] | 0; - HEAP32[$10 + 4 >> 2] = $49; - if ($49 | 0) { - $51 = $49 + 4 | 0; - HEAP32[$51 >> 2] = (HEAP32[$51 >> 2] | 0) + 1; - } - __ZN6vision14VisualDatabaseINS_14FREAKExtractorENS_18BinaryFeatureStoreENS_20BinaryFeatureMatcherILi96EEEE11addKeyframeENSt3__210shared_ptrINS_8KeyframeILi96EEEEEi($45, $10, HEAP32[$7 >> 2] | 0); - __ZNSt3__210shared_ptrIN6vision8KeyframeILi96EEEED2Ev($10); - $57 = __ZNSt3__213unordered_mapIiNS_6vectorIN6vision7Point3dIfEENS_9allocatorIS4_EEEENS_4hashIiEENS_8equal_toIiEENS5_INS_4pairIKiS7_EEEEEixERSD_((HEAP32[$0 >> 2] | 0) + 4 | 0, $7) | 0; - if (($57 | 0) != ($3 | 0)) __ZNSt3__26vectorIN6vision7Point3dIfEENS_9allocatorIS3_EEE6assignIPS3_EENS_9enable_ifIXaasr21__is_forward_iteratorIT_EE5valuesr16is_constructibleIS3_NS_15iterator_traitsISA_E9referenceEEE5valueEvE4typeESA_SA_($57, HEAP32[$3 >> 2] | 0, HEAP32[$3 + 4 >> 2] | 0); - __ZNSt3__210shared_ptrIN6vision8KeyframeILi96EEEED2Ev($8); - STACKTOP = sp; - return; -} - -function __ZNKSt3__27codecvtIwc11__mbstate_tE6do_outERS1_PKwS5_RS5_PcS7_RS7_($0, $1, $2, $3, $4, $5, $6, $7) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - $6 = $6 | 0; - $7 = $7 | 0; - var $$0 = 0, $$069 = 0, $$070 = 0, $$070$lcssa = 0, $$077 = 0, $$079 = 0, $$171 = 0, $$173 = 0, $$178 = 0, $$2 = 0, $$2$lcssa = 0, $$375$ph = 0, $$476 = 0, $$5$ph85 = 0, $14 = 0, $15 = 0, $18 = 0, $23 = 0, $24 = 0, $35 = 0, $36 = 0, $40 = 0, $42 = 0, $43 = 0, $44 = 0, $48 = 0, $51 = 0, $55 = 0, $56 = 0, $64 = 0, $66 = 0, $67 = 0, $75 = 0, $77 = 0, $78 = 0, $8 = 0, $9 = 0, label = 0, sp = 0; +function _ar2ReadMarkerSet($filename, $ext, $pattHandle) { + $filename = $filename | 0; + $ext = $ext | 0; + $pattHandle = $pattHandle | 0; + var $0 = 0, $1 = 0, $4 = 0, $9 = 0, $buf = 0, $buf1 = 0, $call2 = 0, $call22 = 0, $call3 = 0, $call42 = 0, $i$0 = 0, $j$0 = 0, $markerSet$0 = 0, $namebuf = 0, $num = 0, $retval$0 = 0, $vararg_buffer = 0, $vararg_buffer12 = 0, $vararg_buffer15 = 0, $vararg_buffer2 = 0, $vararg_buffer4 = 0, $vararg_buffer7 = 0, $vararg_buffer9 = 0, label = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $8 = sp; - $9 = sp + 8 | 0; - $$070 = $2; - while (1) { - if (($$070 | 0) == ($3 | 0)) { - $$070$lcssa = $3; - break; - } - if (!(HEAP32[$$070 >> 2] | 0)) { - $$070$lcssa = $$070; - break; - } - $$070 = $$070 + 4 | 0; - } - HEAP32[$7 >> 2] = $5; - HEAP32[$4 >> 2] = $2; - $14 = $6; - $15 = $0 + 8 | 0; - $$077 = $2; - $$079 = $5; - $$171 = $$070$lcssa; - L6 : while (1) { - if (($$079 | 0) == ($6 | 0) | ($$077 | 0) == ($3 | 0)) { - $75 = $$077; - label = 36; - break; + STACKTOP = STACKTOP + 1088 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(1088); + $vararg_buffer15 = sp + 1072 | 0; + $vararg_buffer12 = sp + 1064 | 0; + $vararg_buffer9 = sp + 1056 | 0; + $vararg_buffer7 = sp + 1048 | 0; + $vararg_buffer4 = sp + 1040 | 0; + $vararg_buffer2 = sp + 1032 | 0; + $vararg_buffer = sp + 1024 | 0; + $buf = sp + 768 | 0; + $buf1 = sp + 512 | 0; + $namebuf = sp; + HEAP32[$vararg_buffer >> 2] = $filename; + HEAP32[$vararg_buffer + 4 >> 2] = $ext; + _sprintf($namebuf, 26699, $vararg_buffer) | 0; + $call2 = _fopen($namebuf, 25925) | 0; + if (!$call2) $retval$0 = 0; else { + $call3 = _malloc(8) | 0; + if (!$call3) { + _arLog(0, 3, 46772, $vararg_buffer2); + _exit(1); } - $18 = $1; - $23 = HEAP32[$18 + 4 >> 2] | 0; - $24 = $8; - HEAP32[$24 >> 2] = HEAP32[$18 >> 2]; - HEAP32[$24 + 4 >> 2] = $23; - $35 = ___uselocale(HEAP32[$15 >> 2] | 0) | 0; - $36 = _wcsnrtombs($$079, $4, $$171 - $$077 >> 2, $14 - $$079 | 0, $1) | 0; - if ($35 | 0) ___uselocale($35) | 0; - switch ($36 | 0) { - case -1: - { - label = 10; - break L6; - break; - } - case 0: - { - $$375$ph = 1; - label = 33; - break L6; + L6 : do if (_get_buff_345($buf, $call2) | 0) { + $num = $call3 + 4 | 0; + HEAP32[$vararg_buffer4 >> 2] = $num; + if ((_sscanf($buf, 25959, $vararg_buffer4) | 0) != 1) { + _free($call3); + $markerSet$0 = 0; break; } - default: - {} - } - $51 = (HEAP32[$7 >> 2] | 0) + $36 | 0; - HEAP32[$7 >> 2] = $51; - if (($51 | 0) == ($6 | 0)) { - label = 34; - break; - } - if (($$171 | 0) == ($3 | 0)) { - $$5$ph85 = $3; - $77 = $51; - $78 = HEAP32[$4 >> 2] | 0; - } else { - $55 = ___uselocale(HEAP32[$15 >> 2] | 0) | 0; - $56 = _wcrtomb($9, 0, $1) | 0; - if ($55 | 0) ___uselocale($55) | 0; - if (($56 | 0) == -1) { - $$173 = 2; - label = 32; + $0 = HEAP32[$num >> 2] | 0; + if (($0 | 0) < 1) { + _free($call3); + $markerSet$0 = 0; break; } - if ($56 >>> 0 > ($14 - (HEAP32[$7 >> 2] | 0) | 0) >>> 0) { - $$173 = 1; - label = 32; - break; + $call22 = _malloc($0 * 56 | 0) | 0; + HEAP32[$call3 >> 2] = $call22; + if (!$call22) { + _arLog(0, 3, 46772, $vararg_buffer7); + _exit(1); } - $$0 = $9; - $$069 = $56; - while (1) { - if (!$$069) break; - $66 = HEAP8[$$0 >> 0] | 0; - $67 = HEAP32[$7 >> 2] | 0; - HEAP32[$7 >> 2] = $67 + 1; - HEAP8[$67 >> 0] = $66; - $$0 = $$0 + 1 | 0; - $$069 = $$069 + -1 | 0; - } - $64 = (HEAP32[$4 >> 2] | 0) + 4 | 0; - HEAP32[$4 >> 2] = $64; - $$2 = $64; - while (1) { - if (($$2 | 0) == ($3 | 0)) { - $$2$lcssa = $3; - break; + $1 = $0; + $i$0 = 0; + L18 : while (1) { + if (($i$0 | 0) >= ($1 | 0)) { + $markerSet$0 = $call3; + break L6; } - if (!(HEAP32[$$2 >> 2] | 0)) { - $$2$lcssa = $$2; + if (!(_get_buff_345($buf, $call2) | 0)) { + label = 15; break; } - $$2 = $$2 + 4 | 0; - } - $$5$ph85 = $$2$lcssa; - $77 = HEAP32[$7 >> 2] | 0; - $78 = $64; - } - $$077 = $78; - $$079 = $77; - $$171 = $$5$ph85; - } - if ((label | 0) == 10) { - HEAP32[$7 >> 2] = $$079; - $$178 = $$077; - $43 = $$079; - while (1) { - if (($$178 | 0) == (HEAP32[$4 >> 2] | 0)) break; - $40 = HEAP32[$$178 >> 2] | 0; - $42 = ___uselocale(HEAP32[$15 >> 2] | 0) | 0; - $44 = _wcrtomb($43, $40, $8) | 0; - if ($42 | 0) ___uselocale($42) | 0; - if (($44 | 0) == -1) break; - $48 = (HEAP32[$7 >> 2] | 0) + $44 | 0; - HEAP32[$7 >> 2] = $48; - $$178 = $$178 + 4 | 0; - $43 = $48; - } - HEAP32[$4 >> 2] = $$178; - $$375$ph = 2; - label = 33; - } else if ((label | 0) == 32) { - $$375$ph = $$173; - label = 33; - } else if ((label | 0) == 34) { - $75 = HEAP32[$4 >> 2] | 0; - label = 36; - } - if ((label | 0) == 33) $$476 = $$375$ph; else if ((label | 0) == 36) $$476 = ($75 | 0) != ($3 | 0) & 1; - STACKTOP = sp; - return $$476 | 0; -} - -function __ZNKSt3__27codecvtIwc11__mbstate_tE5do_inERS1_PKcS5_RS5_PwS7_RS7_($0, $1, $2, $3, $4, $5, $6, $7) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - $6 = $6 | 0; - $7 = $7 | 0; - var $$070 = 0, $$070$lcssa = 0, $$074 = 0, $$077 = 0, $$1 = 0, $$172$ph = 0, $$175 = 0, $$2 = 0, $$2$lcssa = 0, $$273 = 0, $$4$ph = 0, $$pre = 0, $$sink = 0, $13 = 0, $14 = 0, $17 = 0, $22 = 0, $23 = 0, $34 = 0, $35 = 0, $38 = 0, $44 = 0, $45 = 0, $53 = 0, $57 = 0, $58 = 0, $64 = 0, $70 = 0, $72 = 0, $73 = 0, $8 = 0, $storemerge = 0, label = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $8 = sp; - $$070 = $2; - while (1) { - if (($$070 | 0) == ($3 | 0)) { - $$070$lcssa = $3; - break; - } - if (!(HEAP8[$$070 >> 0] | 0)) { - $$070$lcssa = $$070; - break; - } - $$070 = $$070 + 1 | 0; - } - HEAP32[$7 >> 2] = $5; - HEAP32[$4 >> 2] = $2; - $13 = $6; - $14 = $0 + 8 | 0; - $$074 = $2; - $$077 = $5; - $$1 = $$070$lcssa; - while (1) { - if (($$077 | 0) == ($6 | 0) | ($$074 | 0) == ($3 | 0)) { - $70 = $$074; - label = 33; - break; - } - $17 = $1; - $22 = HEAP32[$17 + 4 >> 2] | 0; - $23 = $8; - HEAP32[$23 >> 2] = HEAP32[$17 >> 2]; - HEAP32[$23 + 4 >> 2] = $22; - $34 = ___uselocale(HEAP32[$14 >> 2] | 0) | 0; - $35 = _mbsnrtowcs($$077, $4, $$1 - $$074 | 0, $13 - $$077 >> 2, $1) | 0; - if ($34 | 0) ___uselocale($34) | 0; - if (($35 | 0) == -1) { - label = 10; - break; - } - $53 = (HEAP32[$7 >> 2] | 0) + ($35 << 2) | 0; - HEAP32[$7 >> 2] = $53; - if (($53 | 0) == ($6 | 0)) { - label = 30; - break; - } - $$pre = HEAP32[$4 >> 2] | 0; - if (($$1 | 0) == ($3 | 0)) { - $$4$ph = $3; - $72 = $53; - $73 = $$pre; - } else { - $57 = ___uselocale(HEAP32[$14 >> 2] | 0) | 0; - $58 = _mbrtowc($53, $$pre, 1, $1) | 0; - if ($57 | 0) ___uselocale($57) | 0; - if ($58 | 0) { - $$172$ph = 2; - label = 29; - break; - } - HEAP32[$7 >> 2] = (HEAP32[$7 >> 2] | 0) + 4; - $64 = (HEAP32[$4 >> 2] | 0) + 1 | 0; - HEAP32[$4 >> 2] = $64; - $$2 = $64; - while (1) { - if (($$2 | 0) == ($3 | 0)) { - $$2$lcssa = $3; + HEAP32[$vararg_buffer9 >> 2] = $buf1; + if ((_sscanf($buf, 25986, $vararg_buffer9) | 0) != 1) { + label = 17; break; } - if (!(HEAP8[$$2 >> 0] | 0)) { - $$2$lcssa = $$2; + $call42 = _arPattLoad($pattHandle, $buf1) | 0; + $4 = HEAP32[$call3 >> 2] | 0; + HEAP32[$4 + ($i$0 * 56 | 0) + 4 >> 2] = $call42; + if (($call42 | 0) < 0) { + label = 19; break; } - $$2 = $$2 + 1 | 0; - } - $$4$ph = $$2$lcssa; - $72 = HEAP32[$7 >> 2] | 0; - $73 = $64; - } - $$074 = $73; - $$077 = $72; - $$1 = $$4$ph; - } - do if ((label | 0) == 10) { - $38 = $$1; - $$175 = $$074; - $storemerge = $$077; - L29 : while (1) { - HEAP32[$7 >> 2] = $storemerge; - if (($$175 | 0) == (HEAP32[$4 >> 2] | 0)) { - label = 19; - break; - } - $44 = ___uselocale(HEAP32[$14 >> 2] | 0) | 0; - $45 = _mbrtowc($storemerge, $$175, $38 - $$175 | 0, $8) | 0; - if ($44 | 0) ___uselocale($44) | 0; - switch ($45 | 0) { - case -1: - { - label = 15; - break L29; + if (!(_get_buff_345($buf, $call2) | 0)) { + label = 21; break; } - case -2: - { - label = 16; - break L29; + HEAP32[$vararg_buffer12 >> 2] = (HEAP32[$call3 >> 2] | 0) + ($i$0 * 56 | 0); + if ((_sscanf($buf, 25887, $vararg_buffer12) | 0) != 1) { + label = 24; break; } - case 0: - { - $$sink = 1; - break; + $j$0 = 0; + while (1) { + if ($j$0 >>> 0 >= 3) break; + if (!(_get_buff_345($buf, $call2) | 0)) { + label = 27; + break L18; + } + $9 = HEAP32[$call3 >> 2] | 0; + HEAP32[$vararg_buffer15 >> 2] = $9 + ($i$0 * 56 | 0) + 8 + ($j$0 << 4); + HEAP32[$vararg_buffer15 + 4 >> 2] = $9 + ($i$0 * 56 | 0) + 8 + ($j$0 << 4) + 4; + HEAP32[$vararg_buffer15 + 8 >> 2] = $9 + ($i$0 * 56 | 0) + 8 + ($j$0 << 4) + 8; + HEAP32[$vararg_buffer15 + 12 >> 2] = $9 + ($i$0 * 56 | 0) + 8 + ($j$0 << 4) + 12; + if ((_sscanf($buf, 26152, $vararg_buffer15) | 0) == 4) $j$0 = $j$0 + 1 | 0; else { + label = 29; + break L18; + } } - default: - $$sink = $45; + $1 = HEAP32[$num >> 2] | 0; + $i$0 = $i$0 + 1 | 0; } - $$175 = $$175 + $$sink | 0; - $storemerge = (HEAP32[$7 >> 2] | 0) + 4 | 0; - } - if ((label | 0) == 15) { - HEAP32[$4 >> 2] = $$175; - $$172$ph = 2; - label = 29; - break; - } else if ((label | 0) == 16) { - HEAP32[$4 >> 2] = $$175; - $$172$ph = 1; - label = 29; - break; - } else if ((label | 0) == 19) { - HEAP32[$4 >> 2] = $$175; - $$172$ph = ($$175 | 0) != ($3 | 0) & 1; - label = 29; - break; - } - } else if ((label | 0) == 30) { - $70 = HEAP32[$4 >> 2] | 0; - label = 33; - } while (0); - if ((label | 0) == 29) $$273 = $$172$ph; else if ((label | 0) == 33) $$273 = ($70 | 0) != ($3 | 0) & 1; - STACKTOP = sp; - return $$273 | 0; -} - -function __ZNK12_GLOBAL__N_116itanium_demangle8FoldExpr9printLeftERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$pre$phi22Z2D = 0, $14 = 0, $16 = 0, $17 = 0, $2 = 0, $22 = 0, $23 = 0, $27 = 0, $3 = 0, $32 = 0, $33 = 0, $37 = 0, $38 = 0, $4 = 0, $43 = 0, $44 = 0, $48 = 0, $5 = 0, $51 = 0, $56 = 0, $57 = 0, $6 = 0, $7 = 0, $8 = 0, $tmpcast18$byval_copy = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 64 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(64); - $tmpcast18$byval_copy = sp + 56 | 0; - $2 = sp + 32 | 0; - $3 = sp + 24 | 0; - $4 = sp + 48 | 0; - $5 = sp + 16 | 0; - $6 = sp + 8 | 0; - $7 = sp + 40 | 0; - $8 = sp; - HEAP32[$2 >> 2] = $1; - HEAP32[$2 + 4 >> 2] = $0; - __ZN12_GLOBAL__N_112OutputStreampLEc($1, 40); - if (!(HEAP8[$0 + 24 >> 0] | 0)) { - __ZZNK12_GLOBAL__N_116itanium_demangle8FoldExpr9printLeftERNS_12OutputStreamEENKUlvE_clEv($2); - __ZN12_GLOBAL__N_112OutputStreampLEc($1, 32); - $37 = $0 + 16 | 0; - $38 = $37; - $43 = HEAP32[$38 + 4 >> 2] | 0; - $44 = $6; - HEAP32[$44 >> 2] = HEAP32[$38 >> 2]; - HEAP32[$44 + 4 >> 2] = $43; - HEAP32[$tmpcast18$byval_copy >> 2] = HEAP32[$6 >> 2]; - HEAP32[$tmpcast18$byval_copy + 4 >> 2] = HEAP32[$6 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $tmpcast18$byval_copy); - __ZN12_GLOBAL__N_110StringViewC2EPKc($7, 54862); - HEAP32[$tmpcast18$byval_copy >> 2] = HEAP32[$7 >> 2]; - HEAP32[$tmpcast18$byval_copy + 4 >> 2] = HEAP32[$7 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $tmpcast18$byval_copy); - $48 = $0 + 12 | 0; - if (HEAP32[$48 >> 2] | 0) { - __ZN12_GLOBAL__N_112OutputStreampLEc($1, 32); - $51 = $37; - $56 = HEAP32[$51 + 4 >> 2] | 0; - $57 = $8; - HEAP32[$57 >> 2] = HEAP32[$51 >> 2]; - HEAP32[$57 + 4 >> 2] = $56; - HEAP32[$tmpcast18$byval_copy >> 2] = HEAP32[$8 >> 2]; - HEAP32[$tmpcast18$byval_copy + 4 >> 2] = HEAP32[$8 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $tmpcast18$byval_copy); - __ZN12_GLOBAL__N_112OutputStreampLEc($1, 32); - __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(HEAP32[$48 >> 2] | 0, $1); - } - } else { - $14 = HEAP32[$0 + 12 >> 2] | 0; - if (!$14) $$pre$phi22Z2D = $0 + 16 | 0; else { - __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE($14, $1); - __ZN12_GLOBAL__N_112OutputStreampLEc($1, 32); - $16 = $0 + 16 | 0; - $17 = $16; - $22 = HEAP32[$17 + 4 >> 2] | 0; - $23 = $3; - HEAP32[$23 >> 2] = HEAP32[$17 >> 2]; - HEAP32[$23 + 4 >> 2] = $22; - HEAP32[$tmpcast18$byval_copy >> 2] = HEAP32[$3 >> 2]; - HEAP32[$tmpcast18$byval_copy + 4 >> 2] = HEAP32[$3 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $tmpcast18$byval_copy); - __ZN12_GLOBAL__N_112OutputStreampLEc($1, 32); - $$pre$phi22Z2D = $16; - } - __ZN12_GLOBAL__N_110StringViewC2EPKc($4, 54857); - HEAP32[$tmpcast18$byval_copy >> 2] = HEAP32[$4 >> 2]; - HEAP32[$tmpcast18$byval_copy + 4 >> 2] = HEAP32[$4 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $tmpcast18$byval_copy); - $27 = $$pre$phi22Z2D; - $32 = HEAP32[$27 + 4 >> 2] | 0; - $33 = $5; - HEAP32[$33 >> 2] = HEAP32[$27 >> 2]; - HEAP32[$33 + 4 >> 2] = $32; - HEAP32[$tmpcast18$byval_copy >> 2] = HEAP32[$5 >> 2]; - HEAP32[$tmpcast18$byval_copy + 4 >> 2] = HEAP32[$5 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $tmpcast18$byval_copy); - __ZN12_GLOBAL__N_112OutputStreampLEc($1, 32); - __ZZNK12_GLOBAL__N_116itanium_demangle8FoldExpr9printLeftERNS_12OutputStreamEENKUlvE_clEv($2); + if ((label | 0) == 15) { + _free(HEAP32[$call3 >> 2] | 0); + _free($call3); + $markerSet$0 = 0; + break; + } else if ((label | 0) == 17) { + _free(HEAP32[$call3 >> 2] | 0); + _free($call3); + $markerSet$0 = 0; + break; + } else if ((label | 0) == 19) { + _free($4); + _free($call3); + $markerSet$0 = 0; + break; + } else if ((label | 0) == 21) { + _free(HEAP32[$call3 >> 2] | 0); + _free($call3); + $markerSet$0 = 0; + break; + } else if ((label | 0) == 24) { + _free(HEAP32[$call3 >> 2] | 0); + _free($call3); + $markerSet$0 = 0; + break; + } else if ((label | 0) == 27) { + _free(HEAP32[$call3 >> 2] | 0); + _free($call3); + $markerSet$0 = 0; + break; + } else if ((label | 0) == 29) { + _free(HEAP32[$call3 >> 2] | 0); + _free($call3); + $markerSet$0 = 0; + break; + } + } else { + _free($call3); + $markerSet$0 = 0; + } while (0); + _fclose($call2) | 0; + $retval$0 = $markerSet$0; } - __ZN12_GLOBAL__N_112OutputStreampLEc($1, 41); STACKTOP = sp; - return; + return $retval$0 | 0; } -function __ZNK6vision28BinaryHierarchicalClusteringILi96EE5queryEPKh($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0$i$i$add$i$i = 0, $$0$i$i$idx$i$i = 0, $$byval_copy = 0, $$byval_copy1 = 0, $$byval_copy2 = 0, $14 = 0, $19 = 0, $2 = 0, $23 = 0, $25 = 0, $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $32 = 0, $33 = 0, $35 = 0, $38 = 0, $39 = 0, $4 = 0, $41 = 0, $44 = 0, $45 = 0, $49 = 0, $5 = 0, $54 = 0, $55 = 0, $59 = 0, $6 = 0, $66 = 0, $67 = 0, sp = 0; +function __ZNSt3__26vectorIiNS_9allocatorIiEEE6insertINS_11__wrap_iterIPKiEEEENS_9enable_ifIXaasr21__is_forward_iteratorIT_EE5valuesr16is_constructibleIiNS_15iterator_traitsISA_E9referenceEEE5valueENS5_IPiEEE4typeES8_SA_SA_($this, $__position, $__first, $__last) { + $this = $this | 0; + $__position = $__position | 0; + $__first = $__first | 0; + $__last = $__last | 0; + var $0 = 0, $1 = 0, $10 = 0, $13 = 0, $3 = 0, $4 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $__m$sroa$0$045 = 0, $__p$0 = 0, $__result$addr$0$i$i = 0, $__v = 0, $__value_$i$i$i = 0, $add = 0, $add$ptr = 0, $agg$tmp21 = 0, $agg$tmp22 = 0, $agg$tmp38 = 0, $agg$tmp38$byval_copy = 0, $agg$tmp39 = 0, $agg$tmp39$byval_copy = 0, $call$i = 0, $call41 = 0, $mul$i = 0, $sub$ptr$div$i$i$i = 0, $sub$ptr$div13 = 0, $sub$ptr$rhs$cast = 0, $sub$ptr$sub$i$i$i = 0, $sub$ptr$sub$i$i$i30 = 0, $sub$ptr$sub12 = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 48 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); - $$byval_copy2 = sp + 8 | 0; - $$byval_copy1 = sp + 32 | 0; - $$byval_copy = sp + 28 | 0; - $2 = sp + 24 | 0; - $3 = sp + 20 | 0; - $4 = sp + 16 | 0; - $5 = sp; - $6 = $0 + 8 | 0; - if (!(HEAP32[$6 >> 2] | 0)) { - $14 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 36082) | 0, 33262) | 0, 39072) | 0, 405) | 0, 39079) | 0, 36117) | 0; - __ZNKSt3__28ios_base6getlocEv($$byval_copy2, $14 + (HEAP32[(HEAP32[$14 >> 2] | 0) + -12 >> 2] | 0) | 0); - $19 = __ZNKSt3__26locale9use_facetERNS0_2idE($$byval_copy2, 66512) | 0; - $23 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$19 >> 2] | 0) + 28 >> 2] & 127]($19, 10) | 0; - __ZNSt3__26localeD2Ev($$byval_copy2); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($14, $23) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($14) | 0; - _abort(); - } - HEAP32[$0 + 100 >> 2] = 0; - $25 = $0 + 72 | 0; - $27 = $0 + 76 | 0; - HEAP32[$27 >> 2] = HEAP32[$25 >> 2]; - $28 = $0 + 84 | 0; - $29 = $0 + 88 | 0; - $32 = HEAP32[$29 >> 2] | 0; - while (1) { - $30 = HEAP32[$28 >> 2] | 0; - $33 = $30; - if (($30 | 0) == ($32 | 0)) break; - $35 = $32 - $33 | 0; - if (($35 | 0) > 8) { - $38 = $32 + -8 | 0; - $39 = $30; - $41 = HEAP32[$39 >> 2] | 0; - $44 = HEAP32[$39 + 4 >> 2] | 0; - $45 = $$byval_copy2; - HEAP32[$45 >> 2] = $41; - HEAP32[$45 + 4 >> 2] = $44; - $49 = $38; - $54 = HEAP32[$49 + 4 >> 2] | 0; - $55 = $30; - HEAP32[$55 >> 2] = HEAP32[$49 >> 2]; - HEAP32[$55 + 4 >> 2] = $54; - $59 = $38; - HEAP32[$59 >> 2] = $41; - HEAP32[$59 + 4 >> 2] = $44; - __ZN6vision17PriorityQueueItemILi96EED2Ev($$byval_copy2); - HEAP32[$2 >> 2] = $33; - HEAP32[$3 >> 2] = $38; - HEAP32[$4 >> 2] = $33; - HEAP32[$$byval_copy >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy1 >> 2] = HEAP32[$3 >> 2]; - HEAP32[$$byval_copy2 >> 2] = HEAP32[$4 >> 2]; - __ZNSt3__211__sift_downIRNS_4lessIN6vision17PriorityQueueItemILi96EEEEENS_11__wrap_iterIPS4_EEEEvT0_SA_T_NS_15iterator_traitsISA_E15difference_typeESA_($$byval_copy, $$byval_copy1, $5, ($35 >>> 3) + -1 | 0, $$byval_copy2); - $66 = HEAP32[$29 >> 2] | 0; - } else $66 = $32; - $$0$i$i$idx$i$i = 0; + $agg$tmp39$byval_copy = sp + 40 | 0; + $agg$tmp38$byval_copy = sp + 36 | 0; + $agg$tmp21 = sp + 32 | 0; + $agg$tmp22 = sp + 28 | 0; + $__v = sp + 8 | 0; + $agg$tmp38 = sp + 4 | 0; + $agg$tmp39 = sp; + $0 = HEAP32[$this >> 2] | 0; + $1 = $0; + $add$ptr = $0 + ((HEAP32[$__position >> 2] | 0) - $1 >> 2 << 2) | 0; + $3 = HEAP32[$__first >> 2] | 0; + $4 = HEAP32[$__last >> 2] | 0; + $sub$ptr$sub$i$i$i = $4 - $3 | 0; + $sub$ptr$div$i$i$i = $sub$ptr$sub$i$i$i >> 2; + L1 : do if (($sub$ptr$sub$i$i$i | 0) > 0) { + $__value_$i$i$i = $this + 8 | 0; + $6 = HEAP32[$this + 4 >> 2] | 0; + $sub$ptr$rhs$cast = $6; + if (($sub$ptr$div$i$i$i | 0) > ((HEAP32[$__value_$i$i$i >> 2] | 0) - $sub$ptr$rhs$cast >> 2 | 0)) { + $add = ($sub$ptr$rhs$cast - $1 >> 2) + $sub$ptr$div$i$i$i | 0; + $call$i = __ZNKSt3__26vectorIiNS_9allocatorIiEEE8max_sizeEv($this) | 0; + if ($call$i >>> 0 < $add >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv($this); else { + $13 = HEAP32[$this >> 2] | 0; + $sub$ptr$sub$i$i$i30 = (HEAP32[$__value_$i$i$i >> 2] | 0) - $13 | 0; + $mul$i = $sub$ptr$sub$i$i$i30 >> 1; + __ZNSt3__214__split_bufferIiRNS_9allocatorIiEEEC2EmmS3_($__v, $sub$ptr$sub$i$i$i30 >> 2 >>> 0 < $call$i >>> 1 >>> 0 ? ($mul$i >>> 0 < $add >>> 0 ? $add : $mul$i) : $call$i, $add$ptr - $13 >> 2, $this + 8 | 0); + HEAP32[$agg$tmp38 >> 2] = $3; + HEAP32[$agg$tmp39 >> 2] = $4; + HEAP32[$agg$tmp38$byval_copy >> 2] = HEAP32[$agg$tmp38 >> 2]; + HEAP32[$agg$tmp39$byval_copy >> 2] = HEAP32[$agg$tmp39 >> 2]; + __ZNSt3__214__split_bufferIiRNS_9allocatorIiEEE18__construct_at_endINS_11__wrap_iterIPKiEEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESB_SB_($__v, $agg$tmp38$byval_copy, $agg$tmp39$byval_copy); + $call41 = __ZNSt3__26vectorIiNS_9allocatorIiEEE26__swap_out_circular_bufferERNS_14__split_bufferIiRS2_EEPi($this, $__v, $add$ptr) | 0; + __ZNSt3__214__split_bufferIiRNS_9allocatorIiEEED2Ev($__v); + $__p$0 = $call41; + break; + } + } + $sub$ptr$sub12 = $sub$ptr$rhs$cast - $add$ptr | 0; + $sub$ptr$div13 = $sub$ptr$sub12 >> 2; + $7 = $3; + $8 = $7 + ($sub$ptr$div13 << 2) | 0; + if (($sub$ptr$div$i$i$i | 0) > ($sub$ptr$div13 | 0)) { + HEAP32[$agg$tmp21 >> 2] = $8; + HEAP32[$agg$tmp22 >> 2] = $4; + HEAP32[$agg$tmp38$byval_copy >> 2] = HEAP32[$agg$tmp21 >> 2]; + HEAP32[$agg$tmp39$byval_copy >> 2] = HEAP32[$agg$tmp22 >> 2]; + __ZNSt3__26vectorIiNS_9allocatorIiEEE18__construct_at_endINS_11__wrap_iterIPKiEEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESA_SA_m($this, $agg$tmp38$byval_copy, $agg$tmp39$byval_copy, $sub$ptr$div$i$i$i - $sub$ptr$div13 | 0); + if (($sub$ptr$sub12 | 0) > 0) $__m$sroa$0$045 = $8; else { + $__p$0 = $add$ptr; + break; + } + } else $__m$sroa$0$045 = $4; + __ZNSt3__26vectorIiNS_9allocatorIiEEE12__move_rangeEPiS4_S4_($this, $add$ptr, $6, $add$ptr + ($sub$ptr$div$i$i$i << 2) | 0); + $9 = $__m$sroa$0$045; + $10 = $7; + $__result$addr$0$i$i = $add$ptr; while (1) { - if (($$0$i$i$idx$i$i | 0) == -1) break; - $$0$i$i$add$i$i = $$0$i$i$idx$i$i + -1 | 0; - __ZN6vision17PriorityQueueItemILi96EED2Ev($66 + ($$0$i$i$add$i$i << 3) | 0); - $$0$i$i$idx$i$i = $$0$i$i$add$i$i; + if (($10 | 0) == ($9 | 0)) { + $__p$0 = $add$ptr; + break L1; + } + HEAP32[$__result$addr$0$i$i >> 2] = HEAP32[$10 >> 2]; + $10 = $10 + 4 | 0; + $__result$addr$0$i$i = $__result$addr$0$i$i + 4 | 0; } - $67 = $66 + -8 | 0; - HEAP32[$29 >> 2] = $67; - $32 = $67; - } - __ZNK6vision28BinaryHierarchicalClusteringILi96EE5queryERNSt3__214priority_queueINS_17PriorityQueueItemILi96EEENS2_6vectorIS5_NS2_9allocatorIS5_EEEENS2_4lessIS5_EEEEPKNS_4NodeILi96EEEPKh($0, $28, HEAP32[$6 >> 2] | 0, $1); + } else $__p$0 = $add$ptr; while (0); STACKTOP = sp; - return (HEAP32[$27 >> 2] | 0) - (HEAP32[$25 >> 2] | 0) >> 2 | 0; -} - -function __ZNK6vision21HoughSimilarityVoting17mapCorrespondenceERfS1_S1_S1_ffffffff($0, $1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = +$5; - $6 = +$6; - $7 = +$7; - $8 = +$8; - $9 = +$9; - $10 = +$10; - $11 = +$11; - $12 = +$12; - var $$sink = 0.0, $13 = 0, $14 = 0, $15 = 0.0, $16 = 0.0, $23 = 0.0, $24 = 0.0, $31 = 0, $36 = 0, $40 = 0, $47 = 0, $52 = 0, $56 = 0, $57 = 0.0, $60 = 0.0, $64 = 0.0, $67 = 0.0, $71 = 0.0, $74 = 0.0, $79 = 0, $82 = 0, label = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $13 = sp + 16 | 0; - $14 = sp; - $15 = $7 - $11; - HEAPF32[$3 >> 2] = $15; - $16 = $15; - if (!($16 <= -3.141592653589793)) if ($16 > 3.141592653589793) { - $$sink = $16 + -6.283185307179586; - label = 5; - } else $24 = $15; else { - $$sink = $16 + 6.283185307179586; - label = 5; - } - if ((label | 0) == 5) { - HEAPF32[$3 >> 2] = $$sink; - $24 = $$sink; - } - $23 = $24; - if (!($23 > -3.141592653589793)) { - $31 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 36444) | 0, 36227) | 0, 39072) | 0, 468) | 0, 39079) | 0, 36479) | 0; - __ZNKSt3__28ios_base6getlocEv($13, $31 + (HEAP32[(HEAP32[$31 >> 2] | 0) + -12 >> 2] | 0) | 0); - $36 = __ZNKSt3__26locale9use_facetERNS0_2idE($13, 66512) | 0; - $40 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$36 >> 2] | 0) + 28 >> 2] & 127]($36, 10) | 0; - __ZNSt3__26localeD2Ev($13); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($31, $40) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($31) | 0; - _abort(); - } - if (!($23 <= 3.141592653589793)) { - $47 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 36498) | 0, 36227) | 0, 39072) | 0, 469) | 0, 39079) | 0, 36479) | 0; - __ZNKSt3__28ios_base6getlocEv($13, $47 + (HEAP32[(HEAP32[$47 >> 2] | 0) + -12 >> 2] | 0) | 0); - $52 = __ZNKSt3__26locale9use_facetERNS0_2idE($13, 66512) | 0; - $56 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$52 >> 2] | 0) + 28 >> 2] & 127]($52, 10) | 0; - __ZNSt3__26localeD2Ev($13); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($47, $56) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($47) | 0; - _abort(); - } else { - $57 = +__ZN6vision12SafeDivisionIfEET_S1_S1_($8, $12); - HEAPF32[$4 >> 2] = $57; - __ZN6vision13Similarity2x2IfEEvPT_S1_S1_($14, +HEAPF32[$3 >> 2], $57); - $60 = +Math_log(+(+HEAPF32[$4 >> 2])); - HEAPF32[$4 >> 2] = $60 * +HEAPF32[$0 + 48 >> 2]; - $64 = +HEAPF32[$14 >> 2]; - $67 = +HEAPF32[$14 + 4 >> 2]; - $71 = +HEAPF32[$14 + 8 >> 2]; - $74 = +HEAPF32[$14 + 12 >> 2]; - $79 = $0 + 8 | 0; - $82 = $0 + 12 | 0; - HEAPF32[$1 >> 2] = $5 - ($64 * $9 + $67 * $10) + ($64 * +HEAPF32[$79 >> 2] + $67 * +HEAPF32[$82 >> 2]); - HEAPF32[$2 >> 2] = $6 - ($71 * $9 + $74 * $10) + ($71 * +HEAPF32[$79 >> 2] + $74 * +HEAPF32[$82 >> 2]); - STACKTOP = sp; - return; - } + return $__p$0 | 0; } -function __ZNSt3__2L12utf8_to_ucs4EPKhS1_RS1_PjS3_RS3_mNS_12codecvt_modeE($0, $1, $2, $3, $4, $5, $6, $7) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - $6 = $6 | 0; - $7 = $7 | 0; - var $$9 = 0, $$pre$phiZ2D = 0, $$sink = 0, $$sink107 = 0, $10 = 0, $104 = 0, $11 = 0, $24 = 0, $26 = 0, $28 = 0, $29 = 0, $39 = 0, $45 = 0, $52 = 0, $54 = 0, $61 = 0, $71 = 0, $78 = 0, $80 = 0, $82 = 0, $88 = 0, $91 = 0; - HEAP32[$2 >> 2] = $0; - HEAP32[$5 >> 2] = $3; - if ($7 & 4) { - $10 = HEAP32[$2 >> 2] | 0; - $11 = $1; - if (((($11 - $10 | 0) > 2 ? (HEAP8[$10 >> 0] | 0) == -17 : 0) ? (HEAP8[$10 + 1 >> 0] | 0) == -69 : 0) ? (HEAP8[$10 + 2 >> 0] | 0) == -65 : 0) { - HEAP32[$2 >> 2] = $10 + 3; - $$pre$phiZ2D = $11; - } else $$pre$phiZ2D = $11; - } else $$pre$phiZ2D = $1; +function __ZNSt3__2L12utf8_to_ucs4EPKhS1_RS1_PjS3_RS3_mNS_12codecvt_modeE($frm, $frm_end, $frm_nxt, $to, $to_end, $to_nxt, $Maxcode, $mode) { + $frm = $frm | 0; + $frm_end = $frm_end | 0; + $frm_nxt = $frm_nxt | 0; + $to = $to | 0; + $to_end = $to_end | 0; + $to_nxt = $to_nxt | 0; + $Maxcode = $Maxcode | 0; + $mode = $mode | 0; + var $$sink = 0, $0 = 0, $14 = 0, $15 = 0, $16 = 0, $4 = 0, $5 = 0, $6 = 0, $8 = 0, $9 = 0, $conv14 = 0, $conv142 = 0, $conv145 = 0, $conv36 = 0, $conv80 = 0, $or = 0, $or164 = 0, $or164$sink = 0, $or95 = 0, $retval$9 = 0, $sub$ptr$lhs$cast = 0, $sub$ptr$lhs$cast29$pre$phiZZZZ2D = 0; + HEAP32[$frm_nxt >> 2] = $frm; + HEAP32[$to_nxt >> 2] = $to; + if ($mode & 4) { + $0 = HEAP32[$frm_nxt >> 2] | 0; + $sub$ptr$lhs$cast = $frm_end; + if (((($sub$ptr$lhs$cast - $0 | 0) > 2 ? (HEAP8[$0 >> 0] | 0) == -17 : 0) ? (HEAP8[$0 + 1 >> 0] | 0) == -69 : 0) ? (HEAP8[$0 + 2 >> 0] | 0) == -65 : 0) { + HEAP32[$frm_nxt >> 2] = $0 + 3; + $sub$ptr$lhs$cast29$pre$phiZZZZ2D = $sub$ptr$lhs$cast; + } else $sub$ptr$lhs$cast29$pre$phiZZZZ2D = $sub$ptr$lhs$cast; + } else $sub$ptr$lhs$cast29$pre$phiZZZZ2D = $frm_end; L9 : while (1) { - $24 = HEAP32[$2 >> 2] | 0; - if ($24 >>> 0 >= $1 >>> 0) { - $$9 = 0; + $4 = HEAP32[$frm_nxt >> 2] | 0; + if ($4 >>> 0 >= $frm_end >>> 0) { + $retval$9 = 0; break; } - $26 = HEAP32[$5 >> 2] | 0; - if ($26 >>> 0 >= $4 >>> 0) { - $$9 = 1; + $5 = HEAP32[$to_nxt >> 2] | 0; + if ($5 >>> 0 >= $to_end >>> 0) { + $retval$9 = 1; break; } - $28 = HEAP8[$24 >> 0] | 0; - $29 = $28 & 255; - do if ($28 << 24 >> 24 > -1) if ($29 >>> 0 > $6 >>> 0) { - $$9 = 2; + $6 = HEAP8[$4 >> 0] | 0; + $conv14 = $6 & 255; + do if ($6 << 24 >> 24 > -1) if ($conv14 >>> 0 > $Maxcode >>> 0) { + $retval$9 = 2; break L9; } else { - $$sink = $29; - $$sink107 = 1; + $$sink = 1; + $or164$sink = $conv14; } else { - if (($28 & 255) < 194) { - $$9 = 2; + if (($6 & 255) < 194) { + $retval$9 = 2; break L9; } - if (($28 & 255) < 224) { - if (($$pre$phiZ2D - $24 | 0) < 2) { - $$9 = 1; + if (($6 & 255) < 224) { + if (($sub$ptr$lhs$cast29$pre$phiZZZZ2D - $4 | 0) < 2) { + $retval$9 = 1; break L9; } - $39 = HEAPU8[$24 + 1 >> 0] | 0; - if (($39 & 192 | 0) != 128) { - $$9 = 2; + $conv36 = HEAPU8[$4 + 1 >> 0] | 0; + if (($conv36 & 192 | 0) != 128) { + $retval$9 = 2; break L9; } - $45 = $39 & 63 | $29 << 6 & 1984; - if ($45 >>> 0 > $6 >>> 0) { - $$9 = 2; + $or = $conv36 & 63 | $conv14 << 6 & 1984; + if ($or >>> 0 > $Maxcode >>> 0) { + $retval$9 = 2; break L9; } else { - $$sink = $45; - $$sink107 = 2; + $$sink = 2; + $or164$sink = $or; break; } } - if (($28 & 255) < 240) { - if (($$pre$phiZ2D - $24 | 0) < 3) { - $$9 = 1; + if (($6 & 255) < 240) { + if (($sub$ptr$lhs$cast29$pre$phiZZZZ2D - $4 | 0) < 3) { + $retval$9 = 1; break L9; } - $52 = HEAP8[$24 + 1 >> 0] | 0; - $54 = HEAP8[$24 + 2 >> 0] | 0; - switch ($28 << 24 >> 24) { + $8 = HEAP8[$4 + 1 >> 0] | 0; + $9 = HEAP8[$4 + 2 >> 0] | 0; + switch ($6 << 24 >> 24) { case -32: { - if (($52 & -32) << 24 >> 24 != -96) { - $$9 = 2; + if (($8 & -32) << 24 >> 24 != -96) { + $retval$9 = 2; break L9; } break; } case -19: { - if (($52 & -32) << 24 >> 24 != -128) { - $$9 = 2; + if (($8 & -32) << 24 >> 24 != -128) { + $retval$9 = 2; break L9; } break; } default: - if (($52 & -64) << 24 >> 24 != -128) { - $$9 = 2; + if (($8 & -64) << 24 >> 24 != -128) { + $retval$9 = 2; break L9; } } - $61 = $54 & 255; - if (($61 & 192 | 0) != 128) { - $$9 = 2; + $conv80 = $9 & 255; + if (($conv80 & 192 | 0) != 128) { + $retval$9 = 2; break L9; } - $71 = ($52 & 63) << 6 | $29 << 12 & 61440 | $61 & 63; - if ($71 >>> 0 > $6 >>> 0) { - $$9 = 2; + $or95 = ($8 & 63) << 6 | $conv14 << 12 & 61440 | $conv80 & 63; + if ($or95 >>> 0 > $Maxcode >>> 0) { + $retval$9 = 2; break L9; } else { - $$sink = $71; - $$sink107 = 3; + $$sink = 3; + $or164$sink = $or95; + break; + } + } + if (($6 & 255) >= 245) { + $retval$9 = 2; + break L9; + } + if (($sub$ptr$lhs$cast29$pre$phiZZZZ2D - $4 | 0) < 4) { + $retval$9 = 1; + break L9; + } + $14 = HEAP8[$4 + 1 >> 0] | 0; + $15 = HEAP8[$4 + 2 >> 0] | 0; + $16 = HEAP8[$4 + 3 >> 0] | 0; + switch ($6 << 24 >> 24) { + case -16: + { + if (($14 + 112 & 255) >= 48) { + $retval$9 = 2; + break L9; + } + break; + } + case -12: + { + if (($14 & -16) << 24 >> 24 != -128) { + $retval$9 = 2; + break L9; + } break; } + default: + if (($14 & -64) << 24 >> 24 != -128) { + $retval$9 = 2; + break L9; + } + } + $conv142 = $15 & 255; + if (($conv142 & 192 | 0) != 128) { + $retval$9 = 2; + break L9; + } + $conv145 = $16 & 255; + if (($conv145 & 192 | 0) != 128) { + $retval$9 = 2; + break L9; } - if (($28 & 255) >= 245) { - $$9 = 2; + $or164 = ($14 & 63) << 12 | $conv14 << 18 & 1835008 | $conv142 << 6 & 4032 | $conv145 & 63; + if ($or164 >>> 0 > $Maxcode >>> 0) { + $retval$9 = 2; break L9; + } else { + $$sink = 4; + $or164$sink = $or164; + } + } while (0); + HEAP32[$5 >> 2] = $or164$sink; + HEAP32[$frm_nxt >> 2] = $4 + $$sink; + HEAP32[$to_nxt >> 2] = (HEAP32[$to_nxt >> 2] | 0) + 4; + } + return $retval$9 | 0; +} + +function _kpmLoadRefDataSet($filename, $ext, $refDataSetPtr) { + $filename = $filename | 0; + $ext = $ext | 0; + $refDataSetPtr = $refDataSetPtr | 0; + var $0 = 0, $1 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $8 = 0, $9 = 0, $call = 0, $call20 = 0, $call65 = 0, $call8 = 0, $call91 = 0, $fmode = 0, $i$0 = 0, $i$1 = 0, $num = 0, $pageInfo66 = 0, $pageNum = 0, $retval$0 = 0, $tobool4 = 0, $vararg_buffer = 0, $vararg_buffer1 = 0, $vararg_buffer11 = 0, $vararg_buffer13 = 0, $vararg_buffer5 = 0, $vararg_buffer7 = 0, $vararg_buffer9 = 0, label = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 64 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(64); + $vararg_buffer13 = sp + 56 | 0; + $vararg_buffer11 = sp + 48 | 0; + $vararg_buffer9 = sp + 40 | 0; + $vararg_buffer7 = sp + 32 | 0; + $vararg_buffer5 = sp + 24 | 0; + $vararg_buffer1 = sp + 8 | 0; + $vararg_buffer = sp; + $fmode = sp + 60 | 0; + HEAP8[$fmode >> 0] = HEAP8[26308] | 0; + HEAP8[$fmode + 1 >> 0] = HEAP8[26309] | 0; + HEAP8[$fmode + 2 >> 0] = HEAP8[26310] | 0; + L1 : do if (($filename | 0) != 0 & ($refDataSetPtr | 0) != 0) { + $call = _kpmFopen($filename, $ext, $fmode) | 0; + if (!$call) { + $tobool4 = ($ext | 0) != 0; + HEAP32[$vararg_buffer1 >> 2] = $filename; + HEAP32[$vararg_buffer1 + 4 >> 2] = $tobool4 ? 54484 : 68295; + HEAP32[$vararg_buffer1 + 8 >> 2] = $tobool4 ? $ext : 68295; + _arLog(0, 3, 26362, $vararg_buffer1); + $retval$0 = -1; + break; + } + $call8 = _calloc(1, 16) | 0; + if (!$call8) { + _arLog(0, 3, 46772, $vararg_buffer5); + _exit(1); + } + $num = $call8 + 4 | 0; + L9 : do if ((_fread($num, 4, 1, $call) | 0) == 1 ? ($0 = HEAP32[$num >> 2] | 0, ($0 | 0) >= 1) : 0) { + $call20 = _malloc($0 * 132 | 0) | 0; + HEAP32[$call8 >> 2] = $call20; + if (!$call20) { + _arLog(0, 3, 46772, $vararg_buffer7); + _exit(1); } - if (($$pre$phiZ2D - $24 | 0) < 4) { - $$9 = 1; - break L9; + $1 = $0; + $i$0 = 0; + while (1) { + if (($i$0 | 0) >= ($1 | 0)) break; + if ((_fread((HEAP32[$call8 >> 2] | 0) + ($i$0 * 132 | 0) | 0, 8, 1, $call) | 0) != 1) break L9; + if ((_fread((HEAP32[$call8 >> 2] | 0) + ($i$0 * 132 | 0) + 8 | 0, 8, 1, $call) | 0) != 1) break L9; + if ((_fread((HEAP32[$call8 >> 2] | 0) + ($i$0 * 132 | 0) + 16 | 0, 108, 1, $call) | 0) != 1) break L9; + if ((_fread((HEAP32[$call8 >> 2] | 0) + ($i$0 * 132 | 0) + 124 | 0, 4, 1, $call) | 0) != 1) break L9; + if ((_fread((HEAP32[$call8 >> 2] | 0) + ($i$0 * 132 | 0) + 128 | 0, 4, 1, $call) | 0) != 1) break L9; + $1 = HEAP32[$num >> 2] | 0; + $i$0 = $i$0 + 1 | 0; } - $78 = HEAP8[$24 + 1 >> 0] | 0; - $80 = HEAP8[$24 + 2 >> 0] | 0; - $82 = HEAP8[$24 + 3 >> 0] | 0; - switch ($28 << 24 >> 24) { - case -16: - { - if (($78 + 112 & 255) >= 48) { - $$9 = 2; - break L9; - } + $pageNum = $call8 + 12 | 0; + if ((_fread($pageNum, 4, 1, $call) | 0) == 1) { + $8 = HEAP32[$pageNum >> 2] | 0; + if (($8 | 0) < 1) { + HEAP32[$call8 + 8 >> 2] = 0; break; } - case -12: - { - if (($78 & -16) << 24 >> 24 != -128) { - $$9 = 2; - break L9; + $call65 = _malloc($8 * 12 | 0) | 0; + $pageInfo66 = $call8 + 8 | 0; + HEAP32[$pageInfo66 >> 2] = $call65; + if (!$call65) { + _arLog(0, 3, 46772, $vararg_buffer9); + _exit(1); + } + $9 = $8; + $i$1 = 0; + while (1) { + if (($i$1 | 0) >= ($9 | 0)) { + label = 32; + break; } - break; + if ((_fread((HEAP32[$pageInfo66 >> 2] | 0) + ($i$1 * 12 | 0) + 8 | 0, 4, 1, $call) | 0) != 1) break L9; + if ((_fread((HEAP32[$pageInfo66 >> 2] | 0) + ($i$1 * 12 | 0) + 4 | 0, 4, 1, $call) | 0) != 1) break L9; + $12 = HEAP32[$pageInfo66 >> 2] | 0; + $13 = HEAP32[$12 + ($i$1 * 12 | 0) + 4 >> 2] | 0; + $call91 = _malloc($13 * 12 | 0) | 0; + HEAP32[$12 + ($i$1 * 12 | 0) >> 2] = $call91; + if (!$call91) { + label = 29; + break; + } + if ((_fread($call91, 12, $13, $call) | 0) != ($13 | 0)) break L9; + $9 = HEAP32[$pageNum >> 2] | 0; + $i$1 = $i$1 + 1 | 0; } - default: - if (($78 & -64) << 24 >> 24 != -128) { - $$9 = 2; - break L9; + if ((label | 0) == 29) { + _arLog(0, 3, 46772, $vararg_buffer11); + _exit(1); + } else if ((label | 0) == 32) { + HEAP32[$refDataSetPtr >> 2] = $call8; + _fclose($call) | 0; + $retval$0 = 0; + break L1; } } - $88 = $80 & 255; - if (($88 & 192 | 0) != 128) { - $$9 = 2; - break L9; - } - $91 = $82 & 255; - if (($91 & 192 | 0) != 128) { - $$9 = 2; - break L9; - } - $104 = ($78 & 63) << 12 | $29 << 18 & 1835008 | $88 << 6 & 4032 | $91 & 63; - if ($104 >>> 0 > $6 >>> 0) { - $$9 = 2; - break L9; - } else { - $$sink = $104; - $$sink107 = 4; - } } while (0); - HEAP32[$26 >> 2] = $$sink; - HEAP32[$2 >> 2] = $24 + $$sink107; - HEAP32[$5 >> 2] = (HEAP32[$5 >> 2] | 0) + 4; + _arLog(0, 3, 26429, $vararg_buffer13); + $14 = HEAP32[$call8 + 8 >> 2] | 0; + if ($14 | 0) _free($14); + $15 = HEAP32[$call8 >> 2] | 0; + if ($15 | 0) _free($15); + _free($call8); + _fclose($call) | 0; + $retval$0 = -1; + } else { + _arLog(0, 3, 26311, $vararg_buffer); + $retval$0 = -1; + } while (0); + STACKTOP = sp; + return $retval$0 | 0; +} + +function __ZNK6vision21HoughSimilarityVoting17mapCorrespondenceERfS1_S1_S1_ffffffff($this, $x, $y, $angle, $scale, $ins_x, $ins_y, $ins_angle, $ins_scale, $ref_x, $ref_y, $ref_angle, $ref_scale) { + $this = $this | 0; + $x = $x | 0; + $y = $y | 0; + $angle = $angle | 0; + $scale = $scale | 0; + $ins_x = +$ins_x; + $ins_y = +$ins_y; + $ins_angle = +$ins_angle; + $ins_scale = +$ins_scale; + $ref_x = +$ref_x; + $ref_y = +$ref_y; + $ref_angle = +$ref_angle; + $ref_scale = +$ref_scale; + var $0 = 0.0, $10 = 0.0, $5 = 0.0, $7 = 0.0, $8 = 0.0, $9 = 0.0, $S = 0, $call$i1$i = 0, $call$i1$i25 = 0, $call$i2$i = 0, $call$i2$i28 = 0, $call18 = 0, $call30 = 0, $call35 = 0.0, $conv = 0.0, $conv11 = 0.0, $conv3$sink = 0.0, $mCenterX = 0, $mCenterY = 0, $ref$tmp$i24 = 0, $sub = 0.0, label = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 32 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); + $ref$tmp$i24 = sp + 16 | 0; + $S = sp; + $sub = $ins_angle - $ref_angle; + HEAPF32[$angle >> 2] = $sub; + $conv = $sub; + if (!($conv <= -3.141592653589793)) if ($conv > 3.141592653589793) { + $conv3$sink = $conv + -6.283185307179586; + label = 5; + } else $0 = $sub; else { + $conv3$sink = $conv + 6.283185307179586; + label = 5; + } + if ((label | 0) == 5) { + HEAPF32[$angle >> 2] = $conv3$sink; + $0 = $conv3$sink; + } + $conv11 = $0; + if (!($conv11 > -3.141592653589793)) { + $call18 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 36938) | 0, 36683) | 0, 39794) | 0, 468) | 0, 39801) | 0, 36973) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i24, $call18 + (HEAP32[(HEAP32[$call18 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i24, 67360) | 0; + $call$i2$i = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i >> 2] | 0) + 28 >> 2] & 127]($call$i1$i, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i24); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call18, $call$i2$i) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call18) | 0; + _abort(); + } + if (!($conv11 <= 3.141592653589793)) { + $call30 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 36992) | 0, 36683) | 0, 39794) | 0, 469) | 0, 39801) | 0, 36973) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i24, $call30 + (HEAP32[(HEAP32[$call30 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i25 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i24, 67360) | 0; + $call$i2$i28 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i25 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i25, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i24); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call30, $call$i2$i28) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call30) | 0; + _abort(); + } else { + $call35 = +__ZN6vision12SafeDivisionIfEET_S1_S1_($ins_scale, $ref_scale); + HEAPF32[$scale >> 2] = $call35; + __ZN6vision13Similarity2x2IfEEvPT_S1_S1_($S, +HEAPF32[$angle >> 2], $call35); + $5 = +Math_log(+(+HEAPF32[$scale >> 2])); + HEAPF32[$scale >> 2] = $5 * +HEAPF32[$this + 48 >> 2]; + $7 = +HEAPF32[$S >> 2]; + $8 = +HEAPF32[$S + 4 >> 2]; + $9 = +HEAPF32[$S + 8 >> 2]; + $10 = +HEAPF32[$S + 12 >> 2]; + $mCenterX = $this + 8 | 0; + $mCenterY = $this + 12 | 0; + HEAPF32[$x >> 2] = $ins_x - ($7 * $ref_x + $8 * $ref_y) + ($7 * +HEAPF32[$mCenterX >> 2] + $8 * +HEAPF32[$mCenterY >> 2]); + HEAPF32[$y >> 2] = $ins_y - ($9 * $ref_x + $10 * $ref_y) + ($9 * +HEAPF32[$mCenterX >> 2] + $10 * +HEAPF32[$mCenterY >> 2]); + STACKTOP = sp; + return; } - return $$9 | 0; } -function _create_colorindex($0) { - $0 = $0 | 0; - var $$06274 = 0, $$06274$us = 0, $$06377 = 0, $$06377$us = 0, $$06476 = 0, $$06476$us = 0, $$06573 = 0, $$06573$us = 0, $$06772 = 0, $$06772$us = 0, $$1$lcssa = 0, $$1$lcssa$us = 0, $$166$lcssa = 0, $$166$lcssa$us = 0, $$16875$us = 0, $$170 = 0, $$170$us = 0, $12 = 0, $14 = 0, $15 = 0, $17 = 0, $2 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $29 = 0, $30 = 0, $32 = 0, $34 = 0, $44 = 0, $47 = 0, $5 = 0, $52 = 0, $54 = 0, $58 = 0, $59 = 0, $61 = 0, $62 = 0, $63 = 0, $65 = 0, $68 = 0, $73 = 0, $76 = 0, $79 = 0; - $2 = HEAP32[$0 + 484 >> 2] | 0; - $5 = (HEAP32[$0 + 88 >> 2] | 0) == 1; - HEAP32[$2 + 28 >> 2] = $5 & 1; - $12 = $0 + 120 | 0; - $14 = FUNCTION_TABLE_iiiii[HEAP32[(HEAP32[$0 + 4 >> 2] | 0) + 8 >> 2] & 15]($0, 1, $5 ? 766 : 256, HEAP32[$12 >> 2] | 0) | 0; - $15 = $2 + 24 | 0; - HEAP32[$15 >> 2] = $14; - $17 = HEAP32[$2 + 20 >> 2] | 0; - if ((HEAP32[$12 >> 2] | 0) <= 0) return; - if (!$5) { - $$06377 = $17; - $$06476 = 0; - $61 = $14; +function _arith_decode($cinfo, $st) { + $cinfo = $cinfo | 0; + $st = $st | 0; + var $$lcssa68 = 0, $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $15 = 0, $18 = 0, $19 = 0, $2 = 0, $21 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $4 = 0, $7 = 0, $a = 0, $add = 0, $and46 = 0, $and66 = 0, $bytes_in_buffer$i = 0, $bytes_in_buffer$i52 = 0, $c = 0, $c35$pre$phiZ2D = 0, $conv = 0, $conv$i = 0, $ct = 0, $data$0 = 0, $data$0$ph = 0, $dec = 0, $inc = 0, $shl25 = 0, $shl34 = 0, $shr = 0, $shr30 = 0, $shr79 = 0, $src1$i = 0, $sub = 0, $sv$0 = 0, $unread_marker = 0; + $0 = HEAP32[$cinfo + 468 >> 2] | 0; + $a = $0 + 16 | 0; + $1 = HEAP32[$a >> 2] | 0; + $ct = $0 + 20 | 0; + if (($1 | 0) < 32768) { + $unread_marker = $cinfo + 440 | 0; + $src1$i = $cinfo + 24 | 0; + $c = $0 + 12 | 0; + $2 = HEAP32[$ct >> 2] | 0; + while (1) { + $dec = $2 + -1 | 0; + HEAP32[$ct >> 2] = $dec; + if (($2 | 0) < 1) { + if (!(HEAP32[$unread_marker >> 2] | 0)) { + $4 = HEAP32[$src1$i >> 2] | 0; + $bytes_in_buffer$i = $4 + 4 | 0; + if ((HEAP32[$bytes_in_buffer$i >> 2] | 0) == 0 ? (FUNCTION_TABLE_ii[HEAP32[$4 + 12 >> 2] & 127]($cinfo) | 0) == 0 : 0) { + $7 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$7 + 20 >> 2] = 25; + FUNCTION_TABLE_vi[HEAP32[$7 >> 2] & 255]($cinfo); + } + HEAP32[$bytes_in_buffer$i >> 2] = (HEAP32[$bytes_in_buffer$i >> 2] | 0) + -1; + $10 = HEAP32[$4 >> 2] | 0; + HEAP32[$4 >> 2] = $10 + 1; + $11 = HEAP8[$10 >> 0] | 0; + $conv$i = $11 & 255; + L13 : do if ($11 << 24 >> 24 == -1) { + L15 : while (1) { + $12 = HEAP32[$src1$i >> 2] | 0; + $bytes_in_buffer$i52 = $12 + 4 | 0; + if ((HEAP32[$bytes_in_buffer$i52 >> 2] | 0) == 0 ? (FUNCTION_TABLE_ii[HEAP32[$12 + 12 >> 2] & 127]($cinfo) | 0) == 0 : 0) { + $15 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$15 + 20 >> 2] = 25; + FUNCTION_TABLE_vi[HEAP32[$15 >> 2] & 255]($cinfo); + } + HEAP32[$bytes_in_buffer$i52 >> 2] = (HEAP32[$bytes_in_buffer$i52 >> 2] | 0) + -1; + $18 = HEAP32[$12 >> 2] | 0; + HEAP32[$12 >> 2] = $18 + 1; + $19 = HEAP8[$18 >> 0] | 0; + switch ($19 << 24 >> 24) { + case 0: + { + $data$0$ph = 255; + break L13; + break; + } + case -1: + break; + default: + break L15; + } + } + HEAP32[$unread_marker >> 2] = $19 & 255; + $data$0$ph = 0; + } else $data$0$ph = $conv$i; while (0); + $21 = HEAP32[$ct >> 2] | 0; + $data$0 = $data$0$ph; + } else { + $21 = $dec; + $data$0 = 0; + } + HEAP32[$c >> 2] = HEAP32[$c >> 2] << 8 | $data$0; + $add = $21 + 8 | 0; + HEAP32[$ct >> 2] = $add; + if (($21 | 0) < -8) { + $inc = $21 + 9 | 0; + HEAP32[$ct >> 2] = $inc; + if (!$inc) { + HEAP32[$a >> 2] = 32768; + $27 = 0; + } else $27 = $inc; + } else $27 = $add; + } else $27 = $dec; + $shl25 = HEAP32[$a >> 2] << 1; + HEAP32[$a >> 2] = $shl25; + if (($shl25 | 0) < 32768) $2 = $27; else { + $$lcssa68 = $shl25; + $25 = $27; + $c35$pre$phiZ2D = $c; + break; + } + } + } else { + $$lcssa68 = $1; + $25 = HEAP32[$ct >> 2] | 0; + $c35$pre$phiZ2D = $0 + 12 | 0; + } + $conv = HEAPU8[$st >> 0] | 0; + $24 = HEAP32[3360 + (($conv & 127) << 2) >> 2] | 0; + $shr = $24 >> 8; + $shr30 = $24 >> 16; + $sub = $$lcssa68 - $shr30 | 0; + HEAP32[$a >> 2] = $sub; + $shl34 = $sub << $25; + $26 = HEAP32[$c35$pre$phiZ2D >> 2] | 0; + if (($26 | 0) >= ($shl34 | 0)) { + HEAP32[$c35$pre$phiZ2D >> 2] = $26 - $shl34; + HEAP32[$a >> 2] = $shr30; + $and46 = $conv & 128; + if (($sub | 0) < ($shr30 | 0)) { + HEAP8[$st >> 0] = $and46 ^ $shr; + $sv$0 = $conv; + $shr79 = $sv$0 >> 7; + return $shr79 | 0; + } else { + HEAP8[$st >> 0] = $and46 ^ $24; + $sv$0 = $conv ^ 128; + $shr79 = $sv$0 >> 7; + return $shr79 | 0; + } + } + if (($sub | 0) >= 32768) { + $sv$0 = $conv; + $shr79 = $sv$0 >> 7; + return $shr79 | 0; + } + $and66 = $conv & 128; + if (($sub | 0) < ($shr30 | 0)) { + HEAP8[$st >> 0] = $and66 ^ $24; + $sv$0 = $conv ^ 128; + $shr79 = $sv$0 >> 7; + return $shr79 | 0; + } else { + HEAP8[$st >> 0] = $and66 ^ $shr; + $sv$0 = $conv; + $shr79 = $sv$0 >> 7; + return $shr79 | 0; + } + return 0; +} + +function _create_colorindex($cinfo) { + $cinfo = $cinfo | 0; + var $0 = 0, $11 = 0, $15 = 0, $16 = 0, $17 = 0, $5 = 0, $7 = 0, $8 = 0, $arrayidx29$us = 0, $arrayidx7$us = 0, $blksize$059 = 0, $blksize$059$us = 0, $call = 0, $cmp = 0, $colorindex = 0, $conv = 0, $conv$us = 0, $div = 0, $div$i48 = 0, $div$i48$us = 0, $div$us = 0, $i$058 = 0, $i$058$us = 0, $inc = 0, $inc$us = 0, $inc37 = 0, $inc37$us = 0, $j$053 = 0, $j$053$us = 0, $j$156$us = 0, $k$054 = 0, $k$054$us = 0, $k$1$lcssa = 0, $k$1$lcssa$us = 0, $mul3$i = 0, $mul3$i$us = 0, $out_color_components = 0, $sub = 0, $sub$us = 0, $val$055 = 0, $val$055$us = 0, $val$1$lcssa = 0, $val$1$lcssa$us = 0, $val$151 = 0, $val$151$us = 0; + $0 = HEAP32[$cinfo + 484 >> 2] | 0; + $cmp = (HEAP32[$cinfo + 88 >> 2] | 0) == 1; + HEAP32[$0 + 28 >> 2] = $cmp & 1; + $out_color_components = $cinfo + 120 | 0; + $call = FUNCTION_TABLE_iiiii[HEAP32[(HEAP32[$cinfo + 4 >> 2] | 0) + 8 >> 2] & 15]($cinfo, 1, $cmp ? 766 : 256, HEAP32[$out_color_components >> 2] | 0) | 0; + $colorindex = $0 + 24 | 0; + HEAP32[$colorindex >> 2] = $call; + $5 = HEAP32[$0 + 20 >> 2] | 0; + if ((HEAP32[$out_color_components >> 2] | 0) <= 0) return; + if (!$cmp) { + $16 = $call; + $blksize$059 = $5; + $i$058 = 0; while (1) { - $58 = HEAP32[$2 + 32 + ($$06476 << 2) >> 2] | 0; - $59 = ($$06377 | 0) / ($58 | 0) | 0; - $62 = HEAP32[$61 + ($$06476 << 2) >> 2] | 0; - $63 = $58 + -1 | 0; - $65 = $63 << 1; - $$06274 = 0; - $$06573 = ($58 + 254 | 0) / ($65 | 0) | 0; - $$06772 = 0; + $15 = HEAP32[$0 + 32 + ($i$058 << 2) >> 2] | 0; + $div = ($blksize$059 | 0) / ($15 | 0) | 0; + $17 = HEAP32[$16 + ($i$058 << 2) >> 2] | 0; + $sub = $15 + -1 | 0; + $mul3$i = $sub << 1; + $j$053 = 0; + $k$054 = ($15 + 254 | 0) / ($mul3$i | 0) | 0; + $val$055 = 0; while (1) { - if (($$06772 | 0) > ($$06573 | 0)) { - $$170 = $$06274; + if (($j$053 | 0) > ($k$054 | 0)) { + $val$151 = $val$055; while (1) { - $68 = $$170 + 1 | 0; - $73 = ((($68 << 1 | 1) * 255 | 0) + $63 | 0) / ($65 | 0) | 0; - if (($$06772 | 0) > ($73 | 0)) $$170 = $68; else { - $$1$lcssa = $68; - $$166$lcssa = $73; + $inc = $val$151 + 1 | 0; + $div$i48 = ((($inc << 1 | 1) * 255 | 0) + $sub | 0) / ($mul3$i | 0) | 0; + if (($j$053 | 0) > ($div$i48 | 0)) $val$151 = $inc; else { + $k$1$lcssa = $div$i48; + $val$1$lcssa = $inc; break; } } } else { - $$1$lcssa = $$06274; - $$166$lcssa = $$06573; + $k$1$lcssa = $k$054; + $val$1$lcssa = $val$055; } - $76 = (Math_imul($$1$lcssa, $59) | 0) & 255; - HEAP8[$62 + $$06772 >> 0] = $76; - $$06772 = $$06772 + 1 | 0; - if (($$06772 | 0) == 256) break; else { - $$06274 = $$1$lcssa; - $$06573 = $$166$lcssa; + $conv = (Math_imul($val$1$lcssa, $div) | 0) & 255; + HEAP8[$17 + $j$053 >> 0] = $conv; + $j$053 = $j$053 + 1 | 0; + if (($j$053 | 0) == 256) break; else { + $k$054 = $k$1$lcssa; + $val$055 = $val$1$lcssa; } } - $79 = $$06476 + 1 | 0; - if (($79 | 0) >= (HEAP32[$12 >> 2] | 0)) break; - $$06377 = $59; - $$06476 = $79; - $61 = HEAP32[$15 >> 2] | 0; + $inc37 = $i$058 + 1 | 0; + if (($inc37 | 0) >= (HEAP32[$out_color_components >> 2] | 0)) break; + $16 = HEAP32[$colorindex >> 2] | 0; + $blksize$059 = $div; + $i$058 = $inc37; } return; } - $$06377$us = $17; - $$06476$us = 0; - $24 = $14; + $8 = $call; + $blksize$059$us = $5; + $i$058$us = 0; while (1) { - $21 = HEAP32[$2 + 32 + ($$06476$us << 2) >> 2] | 0; - $22 = ($$06377$us | 0) / ($21 | 0) | 0; - $23 = $24 + ($$06476$us << 2) | 0; - HEAP32[$23 >> 2] = (HEAP32[$23 >> 2] | 0) + 255; - $29 = HEAP32[(HEAP32[$15 >> 2] | 0) + ($$06476$us << 2) >> 2] | 0; - $30 = $21 + -1 | 0; - $32 = $30 << 1; - $$06274$us = 0; - $$06573$us = ($21 + 254 | 0) / ($32 | 0) | 0; - $$06772$us = 0; + $7 = HEAP32[$0 + 32 + ($i$058$us << 2) >> 2] | 0; + $div$us = ($blksize$059$us | 0) / ($7 | 0) | 0; + $arrayidx7$us = $8 + ($i$058$us << 2) | 0; + HEAP32[$arrayidx7$us >> 2] = (HEAP32[$arrayidx7$us >> 2] | 0) + 255; + $11 = HEAP32[(HEAP32[$colorindex >> 2] | 0) + ($i$058$us << 2) >> 2] | 0; + $sub$us = $7 + -1 | 0; + $mul3$i$us = $sub$us << 1; + $j$053$us = 0; + $k$054$us = ($7 + 254 | 0) / ($mul3$i$us | 0) | 0; + $val$055$us = 0; while (1) { - if (($$06772$us | 0) > ($$06573$us | 0)) { - $$170$us = $$06274$us; + if (($j$053$us | 0) > ($k$054$us | 0)) { + $val$151$us = $val$055$us; while (1) { - $47 = $$170$us + 1 | 0; - $52 = ((($47 << 1 | 1) * 255 | 0) + $30 | 0) / ($32 | 0) | 0; - if (($$06772$us | 0) > ($52 | 0)) $$170$us = $47; else { - $$1$lcssa$us = $47; - $$166$lcssa$us = $52; + $inc$us = $val$151$us + 1 | 0; + $div$i48$us = ((($inc$us << 1 | 1) * 255 | 0) + $sub$us | 0) / ($mul3$i$us | 0) | 0; + if (($j$053$us | 0) > ($div$i48$us | 0)) $val$151$us = $inc$us; else { + $k$1$lcssa$us = $div$i48$us; + $val$1$lcssa$us = $inc$us; break; } } } else { - $$1$lcssa$us = $$06274$us; - $$166$lcssa$us = $$06573$us; + $k$1$lcssa$us = $k$054$us; + $val$1$lcssa$us = $val$055$us; } - $44 = (Math_imul($$1$lcssa$us, $22) | 0) & 255; - HEAP8[$29 + $$06772$us >> 0] = $44; - $$06772$us = $$06772$us + 1 | 0; - if (($$06772$us | 0) == 256) break; else { - $$06274$us = $$1$lcssa$us; - $$06573$us = $$166$lcssa$us; + $conv$us = (Math_imul($val$1$lcssa$us, $div$us) | 0) & 255; + HEAP8[$11 + $j$053$us >> 0] = $conv$us; + $j$053$us = $j$053$us + 1 | 0; + if (($j$053$us | 0) == 256) break; else { + $k$054$us = $k$1$lcssa$us; + $val$055$us = $val$1$lcssa$us; } } - $34 = $29 + 255 | 0; - $$16875$us = 1; + $arrayidx29$us = $11 + 255 | 0; + $j$156$us = 1; do { - HEAP8[$29 + (0 - $$16875$us) >> 0] = HEAP8[$29 >> 0] | 0; - HEAP8[$29 + ($$16875$us + 255) >> 0] = HEAP8[$34 >> 0] | 0; - $$16875$us = $$16875$us + 1 | 0; - } while (($$16875$us | 0) != 256); - $54 = $$06476$us + 1 | 0; - if (($54 | 0) >= (HEAP32[$12 >> 2] | 0)) break; - $$06377$us = $22; - $$06476$us = $54; - $24 = HEAP32[$15 >> 2] | 0; + HEAP8[$11 + (0 - $j$156$us) >> 0] = HEAP8[$11 >> 0] | 0; + HEAP8[$11 + ($j$156$us + 255) >> 0] = HEAP8[$arrayidx29$us >> 0] | 0; + $j$156$us = $j$156$us + 1 | 0; + } while (($j$156$us | 0) != 256); + $inc37$us = $i$058$us + 1 | 0; + if (($inc37$us | 0) >= (HEAP32[$out_color_components >> 2] | 0)) break; + $8 = HEAP32[$colorindex >> 2] | 0; + $blksize$059$us = $div$us; + $i$058$us = $inc37$us; } return; } -function _jpeg_idct_3x3($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $101 = 0, $103 = 0, $105 = 0, $107 = 0, $109 = 0, $110 = 0, $111 = 0, $130 = 0, $133 = 0, $135 = 0, $136 = 0, $137 = 0, $15 = 0, $157 = 0, $160 = 0, $162 = 0, $163 = 0, $166 = 0, $22 = 0, $23 = 0, $24 = 0, $31 = 0, $33 = 0, $38 = 0, $47 = 0, $5 = 0, $54 = 0, $55 = 0, $56 = 0, $63 = 0, $65 = 0, $69 = 0, $7 = 0, $79 = 0, $86 = 0, $87 = 0, $88 = 0, $9 = 0, $95 = 0, $97 = 0, $99 = 0, sp = 0; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E20parseUnqualifiedNameEPNS5_9NameStateE($this, $State) { + $this = $this | 0; + $State = $State | 0; + var $$pre$phiZ2D = 0, $Names = 0, $Result$1 = 0, $Result$113 = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, $call = 0, $call16 = 0, $call17 = 0, $call18 = 0, $retval$2 = 0, label = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 48 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); - $5 = sp; - $7 = HEAP32[$0 + 336 >> 2] | 0; - $9 = HEAP32[$1 + 84 >> 2] | 0; - $15 = Math_imul(HEAP16[$2 >> 1] << 13, HEAP32[$9 >> 2] | 0) | 0 | 1024; - $22 = Math_imul((HEAP16[$2 + 32 >> 1] | 0) * 5793 | 0, HEAP32[$9 + 64 >> 2] | 0) | 0; - $23 = $22 + $15 | 0; - $24 = (Math_imul($22, -2) | 0) + $15 | 0; - $31 = Math_imul((HEAP16[$2 + 16 >> 1] | 0) * 10033 | 0, HEAP32[$9 + 32 >> 2] | 0) | 0; - $33 = $31 + $23 >> 11; - HEAP32[$5 >> 2] = $33; - HEAP32[$5 + 24 >> 2] = $23 - $31 >> 11; - $38 = $5 + 12 | 0; - HEAP32[$38 >> 2] = $24 >> 11; - $47 = Math_imul(HEAP16[$2 + 2 >> 1] << 13, HEAP32[$9 + 4 >> 2] | 0) | 0 | 1024; - $54 = Math_imul((HEAP16[$2 + 34 >> 1] | 0) * 5793 | 0, HEAP32[$9 + 68 >> 2] | 0) | 0; - $55 = $54 + $47 | 0; - $56 = (Math_imul($54, -2) | 0) + $47 | 0; - $63 = Math_imul((HEAP16[$2 + 18 >> 1] | 0) * 10033 | 0, HEAP32[$9 + 36 >> 2] | 0) | 0; - $65 = $63 + $55 >> 11; - HEAP32[$5 + 4 >> 2] = $65; - HEAP32[$5 + 28 >> 2] = $55 - $63 >> 11; - $69 = $56 >> 11; - HEAP32[$5 + 16 >> 2] = $69; - $79 = Math_imul(HEAP16[$2 + 4 >> 1] << 13, HEAP32[$9 + 8 >> 2] | 0) | 0 | 1024; - $86 = Math_imul((HEAP16[$2 + 36 >> 1] | 0) * 5793 | 0, HEAP32[$9 + 72 >> 2] | 0) | 0; - $87 = $86 + $79 | 0; - $88 = (Math_imul($86, -2) | 0) + $79 | 0; - $95 = Math_imul((HEAP16[$2 + 20 >> 1] | 0) * 10033 | 0, HEAP32[$9 + 40 >> 2] | 0) | 0; - $97 = $95 + $87 >> 11; - HEAP32[$5 + 8 >> 2] = $97; - $99 = $87 - $95 >> 11; - HEAP32[$5 + 32 >> 2] = $99; - $101 = $88 >> 11; - HEAP32[$5 + 20 >> 2] = $101; - $103 = $7 + -384 | 0; - $105 = (HEAP32[$3 >> 2] | 0) + $4 | 0; - $107 = ($33 << 13) + 134348800 | 0; - $109 = $107 + ($97 * 5793 | 0) | 0; - $110 = (Math_imul($97, -11586) | 0) + $107 | 0; - $111 = $65 * 10033 | 0; - HEAP8[$105 >> 0] = HEAP8[$103 + (($109 + $111 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$105 + 2 >> 0] = HEAP8[$103 + (($109 - $111 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$105 + 1 >> 0] = HEAP8[$103 + ($110 >>> 18 & 1023) >> 0] | 0; - $130 = (HEAP32[$3 + 4 >> 2] | 0) + $4 | 0; - $133 = (HEAP32[$38 >> 2] << 13) + 134348800 | 0; - $135 = $133 + ($101 * 5793 | 0) | 0; - $136 = (Math_imul($101, -11586) | 0) + $133 | 0; - $137 = $69 * 10033 | 0; - HEAP8[$130 >> 0] = HEAP8[$103 + (($135 + $137 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$130 + 2 >> 0] = HEAP8[$103 + (($135 - $137 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$130 + 1 >> 0] = HEAP8[$103 + ($136 >>> 18 & 1023) >> 0] | 0; - $157 = (HEAP32[$3 + 8 >> 2] | 0) + $4 | 0; - $160 = (HEAP32[$5 + 24 >> 2] << 13) + 134348800 | 0; - $162 = $160 + ($99 * 5793 | 0) | 0; - $163 = (Math_imul($99, -11586) | 0) + $160 | 0; - $166 = (HEAP32[$5 + 28 >> 2] | 0) * 10033 | 0; - HEAP8[$157 >> 0] = HEAP8[$103 + (($162 + $166 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$157 + 2 >> 0] = HEAP8[$103 + (($162 - $166 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$157 + 1 >> 0] = HEAP8[$103 + ($163 >>> 18 & 1023) >> 0] | 0; - STACKTOP = sp; - return; -} - -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E17parseTemplateArgsEb($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$6 = 0, $12 = 0, $17 = 0, $19 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $agg$tmp$byval_copy = sp + 8 | 0; + $agg$tmp = sp; + $call = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($this, 0) | 0; + do if ($call << 24 >> 24 != 85) { + if (($call + -49 & 255) < 9) { + $Result$1 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseSourceNameEPNS5_9NameStateE(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0) | 0; + label = 12; + break; + } + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, 56022); + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + if (!(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($this, $agg$tmp$byval_copy) | 0)) { + $Result$1 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E17parseOperatorNameEPNS5_9NameStateE(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0, $State) | 0; + label = 12; + break; + } + $Names = $this + 8 | 0; + $call16 = __ZNK12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE4sizeEv($Names) | 0; + while (1) { + $call17 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0; + $call18 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseSourceNameEPNS5_9NameStateE($call17) | 0; + HEAP32[$agg$tmp$byval_copy >> 2] = $call18; + if (!$call18) { + label = 10; + break; + } + __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE9push_backERKS3_($Names, $agg$tmp$byval_copy); + if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($this, 69) | 0) { + label = 9; + break; + } + } + if ((label | 0) == 9) { + __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E20popTrailingNodeArrayEm($agg$tmp$byval_copy, $this, $call16); + $$pre$phiZ2D = $call17; + $Result$113 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_21StructuredBindingNameEJNS0_9NodeArrayEEEEPNS0_4NodeEDpOT0_($this, $agg$tmp$byval_copy) | 0; + label = 14; + break; + } else if ((label | 0) == 10) { + $retval$2 = 0; + break; + } + } else { + $Result$1 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E20parseUnnamedTypeNameEPNS5_9NameStateE(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0) | 0; + label = 12; + } while (0); + if ((label | 0) == 12) if (!$Result$1) $retval$2 = 0; else { + $$pre$phiZ2D = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0; + $Result$113 = $Result$1; + label = 14; + } + if ((label | 0) == 14) $retval$2 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E12parseAbiTagsEPNS0_4NodeE($$pre$phiZ2D, $Result$113) | 0; + STACKTOP = sp; + return $retval$2 | 0; +} +function _ar2GetTransMat_179($icpHandle, $initConv, $pos2d, $pos3d, $num, $conv, $robustMode) { + $icpHandle = $icpHandle | 0; + $initConv = $initConv | 0; + $pos2d = $pos2d | 0; + $pos3d = $pos3d | 0; + $num = $num | 0; + $conv = $conv | 0; + $robustMode = $robustMode | 0; + var $call = 0, $call3 = 0, $conv17 = 0.0, $conv171 = 0.0, $conv176 = 0.0, $conv181 = 0.0, $data = 0, $div = 0.0, $div19 = 0.0, $div21 = 0.0, $dx$0 = 0.0, $dy$0 = 0.0, $dz$0 = 0.0, $err = 0, $i$0 = 0, $i$1 = 0, $i$2 = 0, $i$3 = 0, $initMat = 0, $j$0 = 0, $j$1 = 0, $mat = 0, $worldCoord = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 64 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(64); - $2 = sp + 16 | 0; - $3 = sp + 12 | 0; - $4 = sp + 8 | 0; - $5 = sp; - do if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($0, 73) | 0) { - $7 = $0 + 288 | 0; - if ($1) __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm8EE5clearEv($7); - $8 = $0 + 8 | 0; - $9 = __ZNK12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE4sizeEv($8) | 0; + STACKTOP = STACKTOP + 224 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(224); + $data = sp + 212 | 0; + $initMat = sp + 96 | 0; + $mat = sp; + $err = sp + 192 | 0; + $call = _malloc($num << 4) | 0; + HEAP32[$data >> 2] = $call; + if (!$call) { + _arLog(0, 3, 46772, sp + 200 | 0); + _exit(1); + } + $call3 = _malloc($num * 24 | 0) | 0; + $worldCoord = $data + 4 | 0; + HEAP32[$worldCoord >> 2] = $call3; + if (!$call3) { + _arLog(0, 3, 46772, sp + 208 | 0); + _exit(1); + } + $dx$0 = 0.0; + $dy$0 = 0.0; + $dz$0 = 0.0; + $i$0 = 0; + while (1) { + if (($i$0 | 0) >= ($num | 0)) break; + $dx$0 = $dx$0 + +HEAPF32[$pos3d + ($i$0 * 12 | 0) >> 2]; + $dy$0 = $dy$0 + +HEAPF32[$pos3d + ($i$0 * 12 | 0) + 4 >> 2]; + $dz$0 = $dz$0 + +HEAPF32[$pos3d + ($i$0 * 12 | 0) + 8 >> 2]; + $i$0 = $i$0 + 1 | 0; + } + $conv17 = +($num | 0); + $div = $dx$0 / $conv17; + $div19 = $dy$0 / $conv17; + $div21 = $dz$0 / $conv17; + $i$1 = 0; + while (1) { + if (($i$1 | 0) >= ($num | 0)) break; + HEAPF64[$call + ($i$1 << 4) >> 3] = +HEAPF32[$pos2d + ($i$1 << 3) >> 2]; + HEAPF64[$call + ($i$1 << 4) + 8 >> 3] = +HEAPF32[$pos2d + ($i$1 << 3) + 4 >> 2]; + HEAPF64[$call3 + ($i$1 * 24 | 0) >> 3] = +HEAPF32[$pos3d + ($i$1 * 12 | 0) >> 2] - $div; + HEAPF64[$call3 + ($i$1 * 24 | 0) + 8 >> 3] = +HEAPF32[$pos3d + ($i$1 * 12 | 0) + 4 >> 2] - $div19; + HEAPF64[$call3 + ($i$1 * 24 | 0) + 16 >> 3] = +HEAPF32[$pos3d + ($i$1 * 12 | 0) + 8 >> 2] - $div21; + $i$1 = $i$1 + 1 | 0; + } + HEAP32[$data + 8 >> 2] = $num; + $j$0 = 0; + while (1) { + if (($j$0 | 0) == 3) break; + $i$2 = 0; while (1) { - if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($0, 69) | 0) { - label = 16; + if (($i$2 | 0) == 3) break; + HEAPF64[$initMat + ($j$0 << 5) + ($i$2 << 3) >> 3] = +HEAPF32[$initConv + ($j$0 << 4) + ($i$2 << 2) >> 2]; + $i$2 = $i$2 + 1 | 0; + } + $j$0 = $j$0 + 1 | 0; + } + HEAPF64[$initMat + 24 >> 3] = +HEAPF32[$initConv + 12 >> 2] + ($div * +HEAPF32[$initConv >> 2] + $div19 * +HEAPF32[$initConv + 4 >> 2] + $div21 * +HEAPF32[$initConv + 8 >> 2]); + HEAPF64[$initMat + 56 >> 3] = +HEAPF32[$initConv + 28 >> 2] + ($div * +HEAPF32[$initConv + 16 >> 2] + $div19 * +HEAPF32[$initConv + 20 >> 2] + $div21 * +HEAPF32[$initConv + 24 >> 2]); + HEAPF64[$initMat + 88 >> 3] = +HEAPF32[$initConv + 44 >> 2] + ($div * +HEAPF32[$initConv + 32 >> 2] + $div19 * +HEAPF32[$initConv + 36 >> 2] + $div21 * +HEAPF32[$initConv + 40 >> 2]); + if (!$robustMode) { + if ((_icpPoint($icpHandle, $data, $initMat, $mat, $err) | 0) < 0) HEAPF64[$err >> 3] = 1.0e8; + } else if ((_icpPointRobust($icpHandle, $data, $initMat, $mat, $err) | 0) < 0) HEAPF64[$err >> 3] = 1.0e8; + _free(HEAP32[$data >> 2] | 0); + _free(HEAP32[$worldCoord >> 2] | 0); + $j$1 = 0; + while (1) { + if (($j$1 | 0) == 3) break; + $i$3 = 0; + while (1) { + if (($i$3 | 0) == 3) break; + HEAPF32[$conv + ($j$1 << 4) + ($i$3 << 2) >> 2] = +HEAPF64[$mat + ($j$1 << 5) + ($i$3 << 3) >> 3]; + $i$3 = $i$3 + 1 | 0; + } + $j$1 = $j$1 + 1 | 0; + } + $conv171 = $div; + $conv176 = $div19; + $conv181 = $div21; + HEAPF32[$conv + 12 >> 2] = +HEAPF64[$mat + 24 >> 3] - +HEAPF64[$mat >> 3] * $conv171 - +HEAPF64[$mat + 8 >> 3] * $conv176 - +HEAPF64[$mat + 16 >> 3] * $conv181; + HEAPF32[$conv + 28 >> 2] = +HEAPF64[$mat + 56 >> 3] - +HEAPF64[$mat + 32 >> 3] * $conv171 - +HEAPF64[$mat + 40 >> 3] * $conv176 - +HEAPF64[$mat + 48 >> 3] * $conv181; + HEAPF32[$conv + 44 >> 2] = +HEAPF64[$mat + 88 >> 3] - +HEAPF64[$mat + 64 >> 3] * $conv171 - +HEAPF64[$mat + 72 >> 3] * $conv176 - +HEAPF64[$mat + 80 >> 3] * $conv181; + STACKTOP = sp; + return +(+HEAPF64[$err >> 3]); +} + +function __ZN6vision16FindHoughMatchesERNSt3__26vectorINS_7match_tENS0_9allocatorIS2_EEEERKNS_21HoughSimilarityVotingERKS5_if($out_matches, $hough, $in_matches, $binIndex, $binDelta) { + $out_matches = $out_matches | 0; + $hough = $hough | 0; + $in_matches = $in_matches | 0; + $binIndex = $binIndex | 0; + $binDelta = +$binDelta; + var $22 = 0, $24 = 0, $29 = 0, $30 = 0, $__end_$i$i$i = 0, $__value_$i$i$i$i = 0, $arrayidx$i = 0, $bin_angle = 0, $bin_scale = 0, $bin_x = 0, $bin_y = 0, $call = 0, $call$i1$i = 0, $call$i2$i = 0, $call10 = 0, $call2 = 0, $call33 = 0, $dangle = 0, $dscale = 0, $dx = 0, $dy = 0, $i$0 = 0, $ref$tmp$i = 0, $sub$ptr$div$i = 0, $vote_loc$0 = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 48 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); + $ref$tmp$i = sp + 32 | 0; + $dx = sp + 28 | 0; + $dy = sp + 24 | 0; + $dangle = sp + 20 | 0; + $dscale = sp + 16 | 0; + $bin_x = sp + 12 | 0; + $bin_y = sp + 8 | 0; + $bin_angle = sp + 4 | 0; + $bin_scale = sp; + __ZNK6vision21HoughSimilarityVoting16getBinsFromIndexERiS1_S1_S1_i($hough, $bin_x, $bin_y, $bin_angle, $bin_scale, $binIndex); + $__end_$i$i$i = $out_matches + 4 | 0; + HEAP32[$__end_$i$i$i >> 2] = HEAP32[$out_matches >> 2]; + $call = __ZNK6vision21HoughSimilarityVoting24getSubBinLocationIndicesEv($hough) | 0; + $sub$ptr$div$i = (HEAP32[$call + 4 >> 2] | 0) - (HEAP32[$call >> 2] | 0) >> 2; + $call2 = __ZNK6vision21HoughSimilarityVoting18getSubBinLocationsEv($hough) | 0; + if ($sub$ptr$div$i >>> 0 > (HEAP32[$in_matches + 4 >> 2] | 0) - (HEAP32[$in_matches >> 2] | 0) >> 3 >>> 0) { + $call10 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 36398) | 0, 34481) | 0, 39794) | 0, 342) | 0, 39801) | 0, 36444) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i, $call10 + (HEAP32[(HEAP32[$call10 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i, 67360) | 0; + $call$i2$i = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i >> 2] | 0) + 28 >> 2] & 127]($call$i1$i, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call10, $call$i2$i) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call10) | 0; + _abort(); + } + $__value_$i$i$i$i = $out_matches + 8 | 0; + $i$0 = 0; + $vote_loc$0 = HEAP32[$call2 >> 2] | 0; + while (1) { + if (($i$0 | 0) >= ($sub$ptr$div$i | 0)) break; + __ZNK6vision21HoughSimilarityVoting14getBinDistanceERfS1_S1_S1_ffffffff($hough, $dx, $dy, $dangle, $dscale, +HEAPF32[$vote_loc$0 >> 2], +HEAPF32[$vote_loc$0 + 4 >> 2], +HEAPF32[$vote_loc$0 + 8 >> 2], +HEAPF32[$vote_loc$0 + 12 >> 2], +(HEAP32[$bin_x >> 2] | 0) + .5, +(HEAP32[$bin_y >> 2] | 0) + .5, +(HEAP32[$bin_angle >> 2] | 0) + .5, +(HEAP32[$bin_scale >> 2] | 0) + .5); + do if ((+HEAPF32[$dx >> 2] < $binDelta ? +HEAPF32[$dy >> 2] < $binDelta : 0) & +HEAPF32[$dangle >> 2] < $binDelta & +HEAPF32[$dscale >> 2] < $binDelta) { + $call33 = __ZNK6vision21HoughSimilarityVoting24getSubBinLocationIndicesEv($hough) | 0; + $arrayidx$i = (HEAP32[$in_matches >> 2] | 0) + (HEAP32[(HEAP32[$call33 >> 2] | 0) + ($i$0 << 2) >> 2] << 3) | 0; + $22 = HEAP32[$__end_$i$i$i >> 2] | 0; + if (($22 | 0) == (HEAP32[$__value_$i$i$i$i >> 2] | 0)) { + __ZNSt3__26vectorIN6vision7match_tENS_9allocatorIS2_EEE21__push_back_slow_pathIRKS2_EEvOT_($out_matches, $arrayidx$i); + break; + } else { + $24 = $arrayidx$i; + $29 = HEAP32[$24 + 4 >> 2] | 0; + $30 = $22; + HEAP32[$30 >> 2] = HEAP32[$24 >> 2]; + HEAP32[$30 + 4 >> 2] = $29; + HEAP32[$__end_$i$i$i >> 2] = (HEAP32[$__end_$i$i$i >> 2] | 0) + 8; break; } - if ($1) { - __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm8EEC2EOS4_($2, $7); - $12 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E16parseTemplateArgEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0) | 0; - HEAP32[$3 >> 2] = $12; - __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm8EEaSEOS4_($7, $2); - if (!$12) { - label = 12; + } while (0); + $i$0 = $i$0 + 1 | 0; + $vote_loc$0 = $vote_loc$0 + 16 | 0; + } + STACKTOP = sp; + return; +} + +function _decode_mcu_DC_refine($cinfo, $MCU_data) { + $cinfo = $cinfo | 0; + $MCU_data = $MCU_data | 0; + var $$in = 0, $0 = 0, $11 = 0, $12 = 0, $14 = 0, $15 = 0, $16 = 0, $23 = 0, $26 = 0, $28 = 0, $4 = 0, $bits_left$0$lcssa = 0, $bits_left$036 = 0, $bits_left$1 = 0, $bits_left$i$i = 0, $bits_left13 = 0, $bits_left22 = 0, $blkn$034 = 0, $blocks_in_MCU = 0, $br_state = 0, $bytes_in_buffer10 = 0, $ci$014$i = 0, $comps_in_scan$i = 0, $discarded_bytes$i$i = 0, $get_buffer$0$lcssa = 0, $get_buffer$035 = 0, $get_buffer$1 = 0, $get_buffer11 = 0, $get_buffer21 = 0, $restart_interval = 0, $restarts_to_go = 0, $restarts_to_go40 = 0, $retval$0 = 0, $shl = 0, $src = 0, label = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 32 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); + $br_state = sp; + $0 = HEAP32[$cinfo + 468 >> 2] | 0; + $restart_interval = $cinfo + 280 | 0; + if (HEAP32[$restart_interval >> 2] | 0 ? ($restarts_to_go = $0 + 44 | 0, (HEAP32[$restarts_to_go >> 2] | 0) == 0) : 0) { + $bits_left$i$i = $0 + 16 | 0; + $4 = HEAP32[$cinfo + 464 >> 2] | 0; + $discarded_bytes$i$i = $4 + 24 | 0; + HEAP32[$discarded_bytes$i$i >> 2] = (HEAP32[$discarded_bytes$i$i >> 2] | 0) + ((HEAP32[$bits_left$i$i >> 2] | 0) / 8 | 0); + HEAP32[$bits_left$i$i >> 2] = 0; + if (!(FUNCTION_TABLE_ii[HEAP32[$4 + 8 >> 2] & 127]($cinfo) | 0)) { + $retval$0 = 0; + STACKTOP = sp; + return $retval$0 | 0; + } + $comps_in_scan$i = $cinfo + 340 | 0; + if ((HEAP32[$comps_in_scan$i >> 2] | 0) > 0) { + $ci$014$i = 0; + do { + HEAP32[$0 + 24 + ($ci$014$i << 2) >> 2] = 0; + $ci$014$i = $ci$014$i + 1 | 0; + } while (($ci$014$i | 0) < (HEAP32[$comps_in_scan$i >> 2] | 0)); + } + HEAP32[$0 + 20 >> 2] = 0; + HEAP32[$restarts_to_go >> 2] = HEAP32[$restart_interval >> 2]; + if (!(HEAP32[$cinfo + 440 >> 2] | 0)) HEAP32[$0 + 40 >> 2] = 0; + } + HEAP32[$br_state + 16 >> 2] = $cinfo; + $src = $cinfo + 24 | 0; + $11 = HEAP32[$src >> 2] | 0; + $12 = HEAP32[$11 >> 2] | 0; + HEAP32[$br_state >> 2] = $12; + $14 = HEAP32[$11 + 4 >> 2] | 0; + $bytes_in_buffer10 = $br_state + 4 | 0; + HEAP32[$bytes_in_buffer10 >> 2] = $14; + $get_buffer11 = $0 + 12 | 0; + $15 = HEAP32[$get_buffer11 >> 2] | 0; + $bits_left13 = $0 + 16 | 0; + $16 = HEAP32[$bits_left13 >> 2] | 0; + $shl = 1 << HEAP32[$cinfo + 424 >> 2]; + $blocks_in_MCU = $cinfo + 368 | 0; + do if ((HEAP32[$blocks_in_MCU >> 2] | 0) > 0) { + $get_buffer21 = $br_state + 8 | 0; + $bits_left22 = $br_state + 12 | 0; + $bits_left$036 = $16; + $blkn$034 = 0; + $get_buffer$035 = $15; + while (1) { + if (($bits_left$036 | 0) < 1) { + if (!(_jpeg_fill_bit_buffer($br_state, $get_buffer$035, $bits_left$036, 1) | 0)) { + $retval$0 = 0; + label = 19; break; } - __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE9push_backERKS3_($8, $3); - HEAP32[$4 >> 2] = $12; - if ((__ZNK12_GLOBAL__N_116itanium_demangle4Node7getKindEv($12) | 0) << 24 >> 24 == 28) { - __ZNK12_GLOBAL__N_116itanium_demangle20TemplateArgumentPack11getElementsEv($5, $12); - $17 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_13ParameterPackEJNS0_9NodeArrayEEEEPNS0_4NodeEDpOT0_($0, $5) | 0; - HEAP32[$4 >> 2] = $17; - } - __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm8EE9push_backERKS3_($7, $4); - __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm8EED2Ev($2); + $bits_left$1 = HEAP32[$bits_left22 >> 2] | 0; + $get_buffer$1 = HEAP32[$get_buffer21 >> 2] | 0; } else { - $19 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E16parseTemplateArgEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0) | 0; - HEAP32[$2 >> 2] = $19; - if (!$19) { - label = 15; - break; - } - __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE9push_backERKS3_($8, $2); + $bits_left$1 = $bits_left$036; + $get_buffer$1 = $get_buffer$035; } + $bits_left$036 = $bits_left$1 + -1 | 0; + if (1 << $bits_left$036 & $get_buffer$1 | 0) { + $23 = HEAP32[$MCU_data + ($blkn$034 << 2) >> 2] | 0; + HEAP16[$23 >> 1] = $shl | (HEAPU16[$23 >> 1] | 0); + } + $blkn$034 = $blkn$034 + 1 | 0; + if (($blkn$034 | 0) >= (HEAP32[$blocks_in_MCU >> 2] | 0)) { + label = 17; + break; + } else $get_buffer$035 = $get_buffer$1; } - if ((label | 0) == 12) { - __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm8EED2Ev($2); - $$6 = 0; - break; - } else if ((label | 0) == 15) { - $$6 = 0; - break; - } else if ((label | 0) == 16) { - __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E20popTrailingNodeArrayEm($2, $0, $9); - $$6 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_12TemplateArgsEJNS0_9NodeArrayEEEEPNS0_4NodeEDpOT0_($0, $2) | 0; + if ((label | 0) == 17) { + $$in = HEAP32[$src >> 2] | 0; + $26 = HEAP32[$br_state >> 2] | 0; + $28 = HEAP32[$bytes_in_buffer10 >> 2] | 0; + $bits_left$0$lcssa = $bits_left$036; + $get_buffer$0$lcssa = $get_buffer$1; break; + } else if ((label | 0) == 19) { + STACKTOP = sp; + return $retval$0 | 0; } - } else $$6 = 0; while (0); + } else { + $$in = $11; + $26 = $12; + $28 = $14; + $bits_left$0$lcssa = $16; + $get_buffer$0$lcssa = $15; + } while (0); + HEAP32[$$in >> 2] = $26; + HEAP32[$$in + 4 >> 2] = $28; + HEAP32[$get_buffer11 >> 2] = $get_buffer$0$lcssa; + HEAP32[$bits_left13 >> 2] = $bits_left$0$lcssa; + $restarts_to_go40 = $0 + 44 | 0; + HEAP32[$restarts_to_go40 >> 2] = (HEAP32[$restarts_to_go40 >> 2] | 0) + -1; + $retval$0 = 1; STACKTOP = sp; - return $$6 | 0; + return $retval$0 | 0; } -function _icpGetJ_Xc_S($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $$0 = 0, $$0108 = 0, $$0109 = 0, $104 = 0.0, $11 = 0, $111 = 0.0, $118 = 0.0, $12 = 0.0, $128 = 0, $134 = 0.0, $135 = 0.0, $15 = 0, $17 = 0, $18 = 0.0, $24 = 0, $26 = 0.0, $28 = 0, $32 = 0, $4 = 0, $40 = 0, $43 = 0, $45 = 0.0, $48 = 0, $5 = 0, $56 = 0.0, $60 = 0.0, $63 = 0.0, $70 = 0.0, $80 = 0.0, $87 = 0.0, $9 = 0, $94 = 0.0, sp = 0; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E16parseTemplateArgEv($this) { + $this = $this | 0; + var $Arg10 = 0, $Names = 0, $call12 = 0, $call29 = 0, $call3 = 0, $call32 = 0, $call4 = 0, $call8 = 0, $retval$5 = 0, label = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 864 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(864); - $4 = sp + 576 | 0; - $5 = sp; - $9 = $2 + 8 | 0; - $11 = $3 + 8 | 0; - $12 = +HEAPF64[$11 >> 3]; - $15 = $2 + 16 | 0; - $17 = $3 + 16 | 0; - $18 = +HEAPF64[$17 >> 3]; - HEAPF64[$1 >> 3] = +HEAPF64[$2 + 24 >> 3] + (+HEAPF64[$2 >> 3] * +HEAPF64[$3 >> 3] + +HEAPF64[$9 >> 3] * $12 + +HEAPF64[$15 >> 3] * $18); - $24 = $2 + 32 | 0; - $26 = +HEAPF64[$3 >> 3]; - $28 = $2 + 40 | 0; - $32 = $2 + 48 | 0; - HEAPF64[$1 + 8 >> 3] = +HEAPF64[$2 + 56 >> 3] + (+HEAPF64[$24 >> 3] * $26 + $12 * +HEAPF64[$28 >> 3] + $18 * +HEAPF64[$32 >> 3]); - $40 = $2 + 64 | 0; - $43 = $2 + 72 | 0; - $45 = +HEAPF64[$11 >> 3]; - $48 = $2 + 80 | 0; - HEAPF64[$1 + 16 >> 3] = +HEAPF64[$2 + 88 >> 3] + ($26 * +HEAPF64[$40 >> 3] + +HEAPF64[$43 >> 3] * $45 + $18 * +HEAPF64[$48 >> 3]); - $56 = +HEAPF64[$2 >> 3]; - HEAPF64[$4 >> 3] = $26 * $56; - HEAPF64[$4 + 8 >> 3] = $45 * $56; - $60 = +HEAPF64[$17 >> 3]; - HEAPF64[$4 + 16 >> 3] = $56 * $60; - $63 = +HEAPF64[$9 >> 3]; - HEAPF64[$4 + 24 >> 3] = $26 * $63; - HEAPF64[$4 + 32 >> 3] = $45 * $63; - HEAPF64[$4 + 40 >> 3] = $60 * $63; - $70 = +HEAPF64[$15 >> 3]; - HEAPF64[$4 + 48 >> 3] = $26 * $70; - HEAPF64[$4 + 56 >> 3] = $45 * $70; - HEAPF64[$4 + 64 >> 3] = $60 * $70; - HEAPF64[$4 + 72 >> 3] = $56; - HEAPF64[$4 + 80 >> 3] = $63; - HEAPF64[$4 + 88 >> 3] = $70; - $80 = +HEAPF64[$24 >> 3]; - HEAPF64[$4 + 96 >> 3] = $26 * $80; - HEAPF64[$4 + 104 >> 3] = $45 * $80; - HEAPF64[$4 + 112 >> 3] = $60 * $80; - $87 = +HEAPF64[$28 >> 3]; - HEAPF64[$4 + 120 >> 3] = $26 * $87; - HEAPF64[$4 + 128 >> 3] = $45 * $87; - HEAPF64[$4 + 136 >> 3] = $60 * $87; - $94 = +HEAPF64[$32 >> 3]; - HEAPF64[$4 + 144 >> 3] = $26 * $94; - HEAPF64[$4 + 152 >> 3] = $45 * $94; - HEAPF64[$4 + 160 >> 3] = $60 * $94; - HEAPF64[$4 + 168 >> 3] = $80; - HEAPF64[$4 + 176 >> 3] = $87; - HEAPF64[$4 + 184 >> 3] = $94; - $104 = +HEAPF64[$40 >> 3]; - HEAPF64[$4 + 192 >> 3] = $26 * $104; - HEAPF64[$4 + 200 >> 3] = $45 * $104; - HEAPF64[$4 + 208 >> 3] = $60 * $104; - $111 = +HEAPF64[$43 >> 3]; - HEAPF64[$4 + 216 >> 3] = $26 * $111; - HEAPF64[$4 + 224 >> 3] = $45 * $111; - HEAPF64[$4 + 232 >> 3] = $60 * $111; - $118 = +HEAPF64[$48 >> 3]; - HEAPF64[$4 + 240 >> 3] = $26 * $118; - HEAPF64[$4 + 248 >> 3] = $45 * $118; - HEAPF64[$4 + 256 >> 3] = $60 * $118; - HEAPF64[$4 + 264 >> 3] = $104; - HEAPF64[$4 + 272 >> 3] = $111; - HEAPF64[$4 + 280 >> 3] = $118; - _icpGetJ_T_S($5); - $$0108 = 0; - while (1) { - if (($$0108 | 0) == 3) break; - $$0109 = 0; - while (1) { - if (($$0109 | 0) == 6) break; - $128 = $0 + ($$0108 * 48 | 0) + ($$0109 << 3) | 0; - HEAPF64[$128 >> 3] = 0.0; - $$0 = 0; - $135 = 0.0; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $Arg10 = sp; + L1 : do switch ((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($this, 0) | 0) << 24 >> 24 | 0) { + case 88: + { + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 1; + $call3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseExprEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0) | 0; + if (!$call3) $retval$5 = 0; else { + $call4 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($this, 69) | 0; + STACKTOP = sp; + return ($call4 ? $call3 : 0) | 0; + } + break; + } + case 74: + { + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 1; + $Names = $this + 8 | 0; + $call8 = __ZNK12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE4sizeEv($Names) | 0; while (1) { - if (($$0 | 0) == 12) break; - $134 = $135 + +HEAPF64[$4 + ($$0108 * 96 | 0) + ($$0 << 3) >> 3] * +HEAPF64[$5 + ($$0 * 48 | 0) + ($$0109 << 3) >> 3]; - HEAPF64[$128 >> 3] = $134; - $$0 = $$0 + 1 | 0; - $135 = $134; + if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($this, 69) | 0) { + label = 9; + break; + } + $call12 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E16parseTemplateArgEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0) | 0; + HEAP32[$Arg10 >> 2] = $call12; + if (!$call12) { + label = 8; + break; + } + __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE9push_backERKS3_($Names, $Arg10); } - $$0109 = $$0109 + 1 | 0; + if ((label | 0) == 8) { + $retval$5 = 0; + break L1; + } else if ((label | 0) == 9) { + __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E20popTrailingNodeArrayEm($Arg10, $this, $call8); + $retval$5 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_20TemplateArgumentPackEJRNS0_9NodeArrayEEEEPNS0_4NodeEDpOT0_($this, $Arg10) | 0; + break L1; + } + break; } - $$0108 = $$0108 + 1 | 0; - } + case 76: + { + if ((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($this, 1) | 0) << 24 >> 24 != 90) { + $retval$5 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E16parseExprPrimaryEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0) | 0; + break L1; + } + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 2; + $call29 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E13parseEncodingEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0) | 0; + if (!$call29) $retval$5 = 0; else { + $call32 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($this, 69) | 0; + $retval$5 = $call32 ? $call29 : 0; + } + break; + } + default: + $retval$5 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseTypeEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0) | 0; + } while (0); STACKTOP = sp; - return; + return $retval$5 | 0; } -function _jpeg_start_decompress($0) { - $0 = $0 | 0; - var $$2 = 0, $$pre38$i = 0, $$pre38$i39 = 0, $1 = 0, $11 = 0, $12 = 0, $14 = 0, $18 = 0, $19 = 0, $2 = 0, $23 = 0, $25 = 0, $26 = 0, $27 = 0, $34 = 0, $42 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $50 = 0, $52 = 0, $56 = 0, $59 = 0, $6 = 0, $61 = 0, $67 = 0, $69 = 0, $81 = 0, label = 0; - $1 = $0 + 20 | 0; - $2 = HEAP32[$1 >> 2] | 0; - L1 : do switch ($2 | 0) { +function _jpeg_start_decompress($cinfo) { + $cinfo = $cinfo | 0; + var $$pre34$i = 0, $$pre34$i33 = 0, $0 = 0, $12 = 0, $15 = 0, $20 = 0, $22 = 0, $23 = 0, $26 = 0, $27 = 0, $28 = 0, $32 = 0, $33 = 0, $4 = 0, $40 = 0, $8 = 0, $call = 0, $global_state = 0, $inc = 0, $inputctl = 0, $main$i = 0, $output_height$i = 0, $output_scanline4$i = 0, $pass_counter = 0, $pass_limit = 0, $progress = 0, $progress$i = 0, $retval$2 = 0, $total_iMCU_rows = 0, label = 0; + $global_state = $cinfo + 20 | 0; + $0 = HEAP32[$global_state >> 2] | 0; + L1 : do switch ($0 | 0) { case 202: { - _jinit_master_decompress($0); - if (!(HEAP32[$0 + 64 >> 2] | 0)) { - HEAP32[$1 >> 2] = 203; + _jinit_master_decompress($cinfo); + if (!(HEAP32[$cinfo + 64 >> 2] | 0)) { + HEAP32[$global_state >> 2] = 203; label = 6; break L1; } - HEAP32[$1 >> 2] = 207; - $$2 = 1; - return $$2 | 0; + HEAP32[$global_state >> 2] = 207; + $retval$2 = 1; + return $retval$2 | 0; } case 203: { @@ -64414,28 +64506,28 @@ function _jpeg_start_decompress($0) { } case 204: { - $$pre38$i39 = $0 + 444 | 0; + $$pre34$i33 = $cinfo + 444 | 0; break; } default: { - $34 = HEAP32[$0 >> 2] | 0; - HEAP32[$34 + 20 >> 2] = 21; - HEAP32[$34 + 24 >> 2] = $2; - FUNCTION_TABLE_vi[HEAP32[HEAP32[$0 >> 2] >> 2] & 255]($0); + $15 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$15 + 20 >> 2] = 21; + HEAP32[$15 + 24 >> 2] = $0; + FUNCTION_TABLE_vi[HEAP32[HEAP32[$cinfo >> 2] >> 2] & 255]($cinfo); label = 17; } } while (0); if ((label | 0) == 6) { - $6 = $0 + 460 | 0; - L11 : do if (HEAP32[(HEAP32[$6 >> 2] | 0) + 16 >> 2] | 0) { - $11 = $0 + 8 | 0; - $12 = $0 + 332 | 0; - $14 = HEAP32[$11 >> 2] | 0; + $inputctl = $cinfo + 460 | 0; + L11 : do if (HEAP32[(HEAP32[$inputctl >> 2] | 0) + 16 >> 2] | 0) { + $progress = $cinfo + 8 | 0; + $total_iMCU_rows = $cinfo + 332 | 0; + $4 = HEAP32[$progress >> 2] | 0; L13 : while (1) { - if ($14 | 0) FUNCTION_TABLE_vi[HEAP32[$14 >> 2] & 255]($0); - $18 = FUNCTION_TABLE_ii[HEAP32[HEAP32[$6 >> 2] >> 2] & 127]($0) | 0; - switch ($18 | 0) { + if ($4 | 0) FUNCTION_TABLE_vi[HEAP32[$4 >> 2] & 255]($cinfo); + $call = FUNCTION_TABLE_ii[HEAP32[HEAP32[$inputctl >> 2] >> 2] & 127]($cinfo) | 0; + switch ($call | 0) { case 2: { break L11; @@ -64443,473 +64535,725 @@ function _jpeg_start_decompress($0) { } case 0: { - $$2 = $18; + $retval$2 = $call; break L13; break; } default: {} } - $19 = HEAP32[$11 >> 2] | 0; - if (($18 | 2 | 0) == 3 & ($19 | 0) != 0 ? ($23 = $19 + 4 | 0, $25 = (HEAP32[$23 >> 2] | 0) + 1 | 0, HEAP32[$23 >> 2] = $25, $26 = $19 + 8 | 0, $27 = HEAP32[$26 >> 2] | 0, ($25 | 0) >= ($27 | 0)) : 0) HEAP32[$26 >> 2] = (HEAP32[$12 >> 2] | 0) + $27; - $14 = $19; + $8 = HEAP32[$progress >> 2] | 0; + if (($call | 2 | 0) == 3 & ($8 | 0) != 0 ? ($pass_counter = $8 + 4 | 0, $inc = (HEAP32[$pass_counter >> 2] | 0) + 1 | 0, HEAP32[$pass_counter >> 2] = $inc, $pass_limit = $8 + 8 | 0, $12 = HEAP32[$pass_limit >> 2] | 0, ($inc | 0) >= ($12 | 0)) : 0) HEAP32[$pass_limit >> 2] = (HEAP32[$total_iMCU_rows >> 2] | 0) + $12; + $4 = $8; } - return $$2 | 0; + return $retval$2 | 0; } while (0); - HEAP32[$0 + 152 >> 2] = HEAP32[$0 + 144 >> 2]; + HEAP32[$cinfo + 152 >> 2] = HEAP32[$cinfo + 144 >> 2]; label = 17; } if ((label | 0) == 17) { - $$pre38$i = $0 + 444 | 0; - if ((HEAP32[$1 >> 2] | 0) == 204) $$pre38$i39 = $$pre38$i; else { - FUNCTION_TABLE_vi[HEAP32[HEAP32[$$pre38$i >> 2] >> 2] & 255]($0); - HEAP32[$0 + 140 >> 2] = 0; - HEAP32[$1 >> 2] = 204; - $$pre38$i39 = $$pre38$i; - } - } - $42 = HEAP32[$$pre38$i39 >> 2] | 0; - L29 : do if (HEAP32[$42 + 8 >> 2] | 0) { - $46 = $0 + 140 | 0; - $47 = $0 + 116 | 0; - $48 = $0 + 8 | 0; - $49 = $0 + 448 | 0; - $52 = HEAP32[$46 >> 2] | 0; - $81 = $42; + $$pre34$i = $cinfo + 444 | 0; + if ((HEAP32[$global_state >> 2] | 0) == 204) $$pre34$i33 = $$pre34$i; else { + FUNCTION_TABLE_vi[HEAP32[HEAP32[$$pre34$i >> 2] >> 2] & 255]($cinfo); + HEAP32[$cinfo + 140 >> 2] = 0; + HEAP32[$global_state >> 2] = 204; + $$pre34$i33 = $$pre34$i; + } + } + $20 = HEAP32[$$pre34$i33 >> 2] | 0; + L29 : do if (HEAP32[$20 + 8 >> 2] | 0) { + $output_scanline4$i = $cinfo + 140 | 0; + $output_height$i = $cinfo + 116 | 0; + $progress$i = $cinfo + 8 | 0; + $main$i = $cinfo + 448 | 0; + $23 = HEAP32[$output_scanline4$i >> 2] | 0; + $40 = $20; L31 : while (1) { - $50 = HEAP32[$47 >> 2] | 0; - if ($52 >>> 0 < $50 >>> 0) { - $59 = $52; - $61 = $50; + $22 = HEAP32[$output_height$i >> 2] | 0; + if ($23 >>> 0 < $22 >>> 0) { + $27 = $23; + $28 = $22; do { - $56 = HEAP32[$48 >> 2] | 0; - if (!$56) $67 = $59; else { - HEAP32[$56 + 4 >> 2] = $59; - HEAP32[$56 + 8 >> 2] = $61; - FUNCTION_TABLE_vi[HEAP32[$56 >> 2] & 255]($0); - $67 = HEAP32[$46 >> 2] | 0; - } - FUNCTION_TABLE_viiii[HEAP32[(HEAP32[$49 >> 2] | 0) + 4 >> 2] & 31]($0, 0, $46, 0); - $59 = HEAP32[$46 >> 2] | 0; - if (($59 | 0) == ($67 | 0)) { - $$2 = 0; + $26 = HEAP32[$progress$i >> 2] | 0; + if (!$26) $32 = $27; else { + HEAP32[$26 + 4 >> 2] = $27; + HEAP32[$26 + 8 >> 2] = $28; + FUNCTION_TABLE_vi[HEAP32[$26 >> 2] & 255]($cinfo); + $32 = HEAP32[$output_scanline4$i >> 2] | 0; + } + FUNCTION_TABLE_viiii[HEAP32[(HEAP32[$main$i >> 2] | 0) + 4 >> 2] & 31]($cinfo, 0, $output_scanline4$i, 0); + $27 = HEAP32[$output_scanline4$i >> 2] | 0; + if (($27 | 0) == ($32 | 0)) { + $retval$2 = 0; break L31; } - $61 = HEAP32[$47 >> 2] | 0; - } while ($59 >>> 0 < $61 >>> 0); - $69 = HEAP32[$$pre38$i39 >> 2] | 0; - } else $69 = $81; - FUNCTION_TABLE_vi[HEAP32[$69 + 4 >> 2] & 255]($0); - FUNCTION_TABLE_vi[HEAP32[HEAP32[$$pre38$i39 >> 2] >> 2] & 255]($0); - HEAP32[$46 >> 2] = 0; - $81 = HEAP32[$$pre38$i39 >> 2] | 0; - if (!(HEAP32[$81 + 8 >> 2] | 0)) break L29; else $52 = 0; - } - return $$2 | 0; + $28 = HEAP32[$output_height$i >> 2] | 0; + } while ($27 >>> 0 < $28 >>> 0); + $33 = HEAP32[$$pre34$i33 >> 2] | 0; + } else $33 = $40; + FUNCTION_TABLE_vi[HEAP32[$33 + 4 >> 2] & 255]($cinfo); + FUNCTION_TABLE_vi[HEAP32[HEAP32[$$pre34$i33 >> 2] >> 2] & 255]($cinfo); + HEAP32[$output_scanline4$i >> 2] = 0; + $40 = HEAP32[$$pre34$i33 >> 2] | 0; + if (!(HEAP32[$40 + 8 >> 2] | 0)) break L29; else $23 = 0; + } + return $retval$2 | 0; } while (0); - HEAP32[$1 >> 2] = (HEAP32[$0 + 68 >> 2] | 0) == 0 ? 205 : 206; - $$2 = 1; - return $$2 | 0; + HEAP32[$global_state >> 2] = (HEAP32[$cinfo + 68 >> 2] | 0) == 0 ? 205 : 206; + $retval$2 = 1; + return $retval$2 | 0; } -function __ZNKSt3__28messagesIwE6do_getEliiRKNS_12basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEEE($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$0$i = 0, $$0$i$i = 0, $$0$i$i18 = 0, $$0$i21 = 0, $$016$i = 0, $$017$i = 0, $$019$i = 0, $$020$i = 0, $10 = 0, $11 = 0, $12 = 0, $18 = 0, $19 = 0, $24 = 0, $26 = 0, $27 = 0, $34 = 0, $51 = 0, $52 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $7 = 0, $71 = 0, $8 = 0, $9 = 0, label = 0, sp = 0; +function _ar2Tracking2dSub($handle, $surfaceSet, $candidate, $dataPtr, $mfImage, $templ, $result) { + $handle = $handle | 0; + $surfaceSet = $surfaceSet | 0; + $candidate = $candidate | 0; + $dataPtr = $dataPtr | 0; + $mfImage = $mfImage | 0; + $templ = $templ | 0; + $result = $result | 0; + var $0 = 0, $1 = 0, $11 = 0, $12 = 0, $13 = 0, $18 = 0, $2 = 0, $24 = 0, $3 = 0, $37 = 0, $40 = 0, $44 = 0, $7 = 0, $arraydecay = 0, $arraydecay46 = 0, $arraydecay76$pre$phiZ2D = 0, $bx = 0, $by = 0, $call = 0, $conv = 0.0, $cparamLT = 0, $mx = 0, $my = 0, $retval$0 = 0, $search = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 176 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(176); - $6 = sp + 168 | 0; - $7 = sp; - $8 = sp + 164 | 0; - $9 = sp + 160 | 0; - $10 = sp + 128 | 0; - $11 = sp + 152 | 0; - $12 = sp + 144 | 0; - HEAP32[$10 >> 2] = 0; - HEAP32[$10 + 4 >> 2] = 0; - HEAP32[$10 + 8 >> 2] = 0; - $$0$i$i = 0; - while (1) { - if (($$0$i$i | 0) == 3) break; - HEAP32[$10 + ($$0$i$i << 2) >> 2] = 0; - $$0$i$i = $$0$i$i + 1 | 0; - } - HEAP32[$11 + 4 >> 2] = 0; - HEAP32[$11 >> 2] = 23144; - $18 = HEAP8[$5 + 8 + 3 >> 0] | 0; - $19 = $18 << 24 >> 24 < 0; - $24 = $19 ? HEAP32[$5 >> 2] | 0 : $5; - $26 = $24 + (($19 ? HEAP32[$5 + 4 >> 2] | 0 : $18 & 255) << 2) | 0; - $27 = $7 + 32 | 0; - $$016$i = $24; - $$017$i = 0; - while (1) { - if (!(($$017$i | 0) != 2 & $$016$i >>> 0 < $26 >>> 0)) break; - HEAP32[$9 >> 2] = $$016$i; - $34 = FUNCTION_TABLE_iiiiiiiii[HEAP32[(HEAP32[$11 >> 2] | 0) + 12 >> 2] & 15]($11, $6, $$016$i, $26, $9, $7, $27, $8) | 0; - if (($34 | 0) == 2 ? 1 : (HEAP32[$9 >> 2] | 0) == ($$016$i | 0)) { - label = 8; + STACKTOP = STACKTOP + 32 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); + $search = sp; + $bx = sp + 28 | 0; + $by = sp + 24 | 0; + $0 = HEAP32[$candidate >> 2] | 0; + $1 = HEAP32[$candidate + 4 >> 2] | 0; + $2 = HEAP32[$candidate + 8 >> 2] | 0; + $3 = HEAP32[$templ >> 2] | 0; + if (!$3) { + $call = _ar2GenTemplate(HEAP32[$handle + 28 >> 2] | 0, HEAP32[$handle + 32 >> 2] | 0) | 0; + HEAP32[$templ >> 2] = $call; + $11 = $call; + } else $11 = $3; + $cparamLT = $handle + 12 | 0; + $arraydecay = $handle + 48 + ($0 * 48 | 0) | 0; + $7 = HEAP32[$surfaceSet >> 2] | 0; + if ((_ar2SetTemplateSub(HEAP32[$cparamLT >> 2] | 0, $arraydecay, HEAP32[$7 + ($0 * 112 | 0) >> 2] | 0, (HEAP32[HEAP32[$7 + ($0 * 112 | 0) + 4 >> 2] >> 2] | 0) + ($1 * 20 | 0) | 0, $2, $11) | 0) >= 0 ? ($12 = HEAP32[$templ >> 2] | 0, $13 = HEAP32[$12 + 28 >> 2] | 0, $conv = +(Math_imul($13, $13) | 0), !(+(Math_imul((HEAP32[$12 + 16 >> 2] | 0) + 1 + (HEAP32[$12 + 20 >> 2] | 0) | 0, (HEAP32[$12 + 8 >> 2] | 0) + 1 + (HEAP32[$12 + 12 >> 2] | 0) | 0) | 0) * 5.0 * 5.0 > $conv)) : 0) { + $18 = HEAP32[$surfaceSet + 152 >> 2] | 0; + do if (($18 | 0) != 1) { + $24 = HEAP32[$cparamLT >> 2] | 0; + $arraydecay46 = $handle + 528 + ($0 * 48 | 0) | 0; + if (($18 | 0) == 2) { + _ar2GetSearchPoint($24, $arraydecay, $arraydecay46, 0, (HEAP32[(HEAP32[HEAP32[(HEAP32[$surfaceSet >> 2] | 0) + ($0 * 112 | 0) + 4 >> 2] >> 2] | 0) + ($1 * 20 | 0) >> 2] | 0) + ($2 * 20 | 0) | 0, $search); + $arraydecay76$pre$phiZ2D = $search; + break; + } else { + _ar2GetSearchPoint($24, $arraydecay, $arraydecay46, $handle + 1008 + ($0 * 48 | 0) | 0, (HEAP32[(HEAP32[HEAP32[(HEAP32[$surfaceSet >> 2] | 0) + ($0 * 112 | 0) + 4 >> 2] >> 2] | 0) + ($1 * 20 | 0) >> 2] | 0) + ($2 * 20 | 0) | 0, $search); + $arraydecay76$pre$phiZ2D = $search; + break; + } + } else { + _ar2GetSearchPoint(HEAP32[$cparamLT >> 2] | 0, $arraydecay, 0, 0, (HEAP32[(HEAP32[HEAP32[(HEAP32[$surfaceSet >> 2] | 0) + ($0 * 112 | 0) + 4 >> 2] >> 2] | 0) + ($1 * 20 | 0) >> 2] | 0) + ($2 * 20 | 0) | 0, $search); + $arraydecay76$pre$phiZ2D = $search; + } while (0); + $37 = HEAP32[$handle + 24 >> 2] | 0; + if ((_ar2GetBestMatching($dataPtr, $mfImage, HEAP32[$handle + 4 >> 2] | 0, HEAP32[$handle + 8 >> 2] | 0, HEAP32[$handle + 20 >> 2] | 0, HEAP32[$templ >> 2] | 0, $37, $37, $arraydecay76$pre$phiZ2D, $bx, $by, $result) | 0) >= 0) { + HEAPF32[$result + 4 >> 2] = +(HEAP32[$bx >> 2] | 0); + HEAPF32[$result + 8 >> 2] = +(HEAP32[$by >> 2] | 0); + $40 = HEAP32[$surfaceSet >> 2] | 0; + $44 = HEAP32[(HEAP32[HEAP32[$40 + ($0 * 112 | 0) + 4 >> 2] >> 2] | 0) + ($1 * 20 | 0) >> 2] | 0; + $mx = $44 + ($2 * 20 | 0) + 8 | 0; + $my = $44 + ($2 * 20 | 0) + 12 | 0; + HEAPF32[$result + 12 >> 2] = +HEAPF32[$40 + ($0 * 112 | 0) + 24 >> 2] + (+HEAPF32[$40 + ($0 * 112 | 0) + 12 >> 2] * +HEAPF32[$mx >> 2] + +HEAPF32[$40 + ($0 * 112 | 0) + 16 >> 2] * +HEAPF32[$my >> 2]); + HEAPF32[$result + 16 >> 2] = +HEAPF32[$40 + ($0 * 112 | 0) + 40 >> 2] + (+HEAPF32[$40 + ($0 * 112 | 0) + 28 >> 2] * +HEAPF32[$mx >> 2] + +HEAPF32[$40 + ($0 * 112 | 0) + 32 >> 2] * +HEAPF32[$my >> 2]); + HEAPF32[$result + 20 >> 2] = +HEAPF32[$40 + ($0 * 112 | 0) + 56 >> 2] + (+HEAPF32[$40 + ($0 * 112 | 0) + 44 >> 2] * +HEAPF32[$mx >> 2] + +HEAPF32[$40 + ($0 * 112 | 0) + 48 >> 2] * +HEAPF32[$my >> 2]); + $retval$0 = 0; + } else $retval$0 = -1; + } else $retval$0 = -1; + STACKTOP = sp; + return $retval$0 | 0; +} + +function __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE17__get_white_spaceERS4_S4_RjRKNS_5ctypeIcEE($this, $__b, $__e, $__err, $__ct) { + $this = $this | 0; + $__b = $__b | 0; + $__e = $__e | 0; + $__err = $__err | 0; + $__ct = $__ct | 0; + var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $17 = 0, $18 = 0, $22 = 0, $23 = 0, $27 = 0, $28 = 0, $33 = 0, $34 = 0, $35 = 0, $5 = 0, $6 = 0, $__ninp_$i$i6 = 0, $__tab_$i = 0, $retval$0$i$i = 0, $retval$0$i$i$i$i = 0, $retval$0$i$i$i$i27 = 0, $retval$0$i$i13$i$i = 0, $retval$0$i$i13$i$i48 = 0, label = 0; + $__tab_$i = $__ct + 8 | 0; + L1 : while (1) { + $0 = HEAP32[$__b >> 2] | 0; + do if ($0) { + $1 = HEAP32[$0 + 12 >> 2] | 0; + if (($1 | 0) == (HEAP32[$0 + 16 >> 2] | 0)) $retval$0$i$i$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$0 >> 2] | 0) + 36 >> 2] & 127]($0) | 0; else $retval$0$i$i$i$i = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$1 >> 0] | 0) | 0; + if (__ZNSt3__211char_traitsIcE11eq_int_typeEii($retval$0$i$i$i$i, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { + HEAP32[$__b >> 2] = 0; + $33 = 1; + break; + } else { + $33 = (HEAP32[$__b >> 2] | 0) == 0; + break; + } + } else $33 = 1; while (0); + $5 = HEAP32[$__e >> 2] | 0; + do if ($5) { + $6 = HEAP32[$5 + 12 >> 2] | 0; + if (($6 | 0) == (HEAP32[$5 + 16 >> 2] | 0)) $retval$0$i$i13$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$5 >> 2] | 0) + 36 >> 2] & 127]($5) | 0; else $retval$0$i$i13$i$i = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$6 >> 0] | 0) | 0; + if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii($retval$0$i$i13$i$i, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if ($33) { + $34 = $5; + break; + } else { + $27 = $5; + break L1; + } else { + HEAP32[$__e >> 2] = 0; + label = 15; + break; + } + } else label = 15; while (0); + if ((label | 0) == 15) { + label = 0; + if ($33) { + $27 = 0; + break; + } else $34 = 0; + } + $10 = HEAP32[$__b >> 2] | 0; + $11 = HEAP32[$10 + 12 >> 2] | 0; + if (($11 | 0) == (HEAP32[$10 + 16 >> 2] | 0)) $retval$0$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$10 >> 2] | 0) + 36 >> 2] & 127]($10) | 0; else $retval$0$i$i = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$11 >> 0] | 0) | 0; + if (($retval$0$i$i & 255) << 24 >> 24 <= -1) { + $27 = $34; break; } - $$0$i21 = $7; - while (1) { - if ($$0$i21 >>> 0 >= (HEAP32[$8 >> 2] | 0) >>> 0) break; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc($10, HEAP8[$$0$i21 >> 0] | 0); - $$0$i21 = $$0$i21 + 1 | 0; + if (!(HEAP16[(HEAP32[$__tab_$i >> 2] | 0) + ($retval$0$i$i << 24 >> 24 << 1) >> 1] & 8192)) { + $27 = $34; + break; + } + $17 = HEAP32[$__b >> 2] | 0; + $__ninp_$i$i6 = $17 + 12 | 0; + $18 = HEAP32[$__ninp_$i$i6 >> 2] | 0; + if (($18 | 0) == (HEAP32[$17 + 16 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$17 >> 2] | 0) + 40 >> 2] & 127]($17) | 0; else { + HEAP32[$__ninp_$i$i6 >> 2] = $18 + 1; + __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$18 >> 0] | 0) | 0; } - $$016$i = HEAP32[$9 >> 2] | 0; - $$017$i = $34; } - if ((label | 0) == 8) __ZNSt3__221__throw_runtime_errorEPKc(0); - __ZNSt3__26locale5facetD2Ev($11); - $51 = (HEAP8[$10 + 11 >> 0] | 0) < 0 ? HEAP32[$10 >> 2] | 0 : $10; - $52 = _catgets(($2 | 0) == -1 ? -1 : $2 << 1, $3, $4, $51) | 0; - HEAP32[$0 >> 2] = 0; - HEAP32[$0 + 4 >> 2] = 0; - HEAP32[$0 + 8 >> 2] = 0; - $$0$i$i18 = 0; - while (1) { - if (($$0$i$i18 | 0) == 3) break; - HEAP32[$0 + ($$0$i$i18 << 2) >> 2] = 0; - $$0$i$i18 = $$0$i$i18 + 1 | 0; - } - HEAP32[$12 + 4 >> 2] = 0; - HEAP32[$12 >> 2] = 23192; - $57 = $51 + (_strlen($52) | 0) | 0; - $58 = $57; - $59 = $7 + 128 | 0; - $$019$i = $51; - $$020$i = 0; + $22 = HEAP32[$__b >> 2] | 0; + do if ($22) { + $23 = HEAP32[$22 + 12 >> 2] | 0; + if (($23 | 0) == (HEAP32[$22 + 16 >> 2] | 0)) $retval$0$i$i$i$i27 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$22 >> 2] | 0) + 36 >> 2] & 127]($22) | 0; else $retval$0$i$i$i$i27 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$23 >> 0] | 0) | 0; + if (__ZNSt3__211char_traitsIcE11eq_int_typeEii($retval$0$i$i$i$i27, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { + HEAP32[$__b >> 2] = 0; + $35 = 1; + break; + } else { + $35 = (HEAP32[$__b >> 2] | 0) == 0; + break; + } + } else $35 = 1; while (0); + do if ($27) { + $28 = HEAP32[$27 + 12 >> 2] | 0; + if (($28 | 0) == (HEAP32[$27 + 16 >> 2] | 0)) $retval$0$i$i13$i$i48 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$27 >> 2] | 0) + 36 >> 2] & 127]($27) | 0; else $retval$0$i$i13$i$i48 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$28 >> 0] | 0) | 0; + if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii($retval$0$i$i13$i$i48, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if ($35) break; else { + label = 41; + break; + } else { + HEAP32[$__e >> 2] = 0; + label = 39; + break; + } + } else label = 39; while (0); + if ((label | 0) == 39 ? $35 : 0) label = 41; + if ((label | 0) == 41) HEAP32[$__err >> 2] = HEAP32[$__err >> 2] | 2; + return; +} + +function _icpGetJ_Xc_S($J_Xc_S, $cameraCoord, $T0, $worldCoord) { + $J_Xc_S = $J_Xc_S | 0; + $cameraCoord = $cameraCoord | 0; + $T0 = $T0 | 0; + $worldCoord = $worldCoord | 0; + var $14 = 0.0, $17 = 0.0, $18 = 0.0, $19 = 0.0, $20 = 0.0, $21 = 0.0, $22 = 0.0, $23 = 0.0, $24 = 0.0, $25 = 0.0, $26 = 0.0, $29 = 0.0, $3 = 0.0, $5 = 0.0, $8 = 0.0, $J_T_S = 0, $J_Xc_T = 0, $add263 = 0.0, $arrayidx14 = 0, $arrayidx18 = 0, $arrayidx23 = 0, $arrayidx252 = 0, $arrayidx3 = 0, $arrayidx32 = 0, $arrayidx36 = 0, $arrayidx41 = 0, $arrayidx6 = 0, $i$0 = 0, $j$0 = 0, $k$0 = 0, $y = 0, $z = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 864 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(864); + $J_Xc_T = sp + 576 | 0; + $J_T_S = sp; + $arrayidx3 = $T0 + 8 | 0; + $y = $worldCoord + 8 | 0; + $3 = +HEAPF64[$y >> 3]; + $arrayidx6 = $T0 + 16 | 0; + $z = $worldCoord + 16 | 0; + $5 = +HEAPF64[$z >> 3]; + HEAPF64[$cameraCoord >> 3] = +HEAPF64[$T0 + 24 >> 3] + (+HEAPF64[$T0 >> 3] * +HEAPF64[$worldCoord >> 3] + +HEAPF64[$arrayidx3 >> 3] * $3 + +HEAPF64[$arrayidx6 >> 3] * $5); + $arrayidx14 = $T0 + 32 | 0; + $8 = +HEAPF64[$worldCoord >> 3]; + $arrayidx18 = $T0 + 40 | 0; + $arrayidx23 = $T0 + 48 | 0; + HEAPF64[$cameraCoord + 8 >> 3] = +HEAPF64[$T0 + 56 >> 3] + (+HEAPF64[$arrayidx14 >> 3] * $8 + $3 * +HEAPF64[$arrayidx18 >> 3] + $5 * +HEAPF64[$arrayidx23 >> 3]); + $arrayidx32 = $T0 + 64 | 0; + $arrayidx36 = $T0 + 72 | 0; + $14 = +HEAPF64[$y >> 3]; + $arrayidx41 = $T0 + 80 | 0; + HEAPF64[$cameraCoord + 16 >> 3] = +HEAPF64[$T0 + 88 >> 3] + ($8 * +HEAPF64[$arrayidx32 >> 3] + +HEAPF64[$arrayidx36 >> 3] * $14 + $5 * +HEAPF64[$arrayidx41 >> 3]); + $17 = +HEAPF64[$T0 >> 3]; + HEAPF64[$J_Xc_T >> 3] = $8 * $17; + HEAPF64[$J_Xc_T + 8 >> 3] = $14 * $17; + $18 = +HEAPF64[$z >> 3]; + HEAPF64[$J_Xc_T + 16 >> 3] = $17 * $18; + $19 = +HEAPF64[$arrayidx3 >> 3]; + HEAPF64[$J_Xc_T + 24 >> 3] = $8 * $19; + HEAPF64[$J_Xc_T + 32 >> 3] = $14 * $19; + HEAPF64[$J_Xc_T + 40 >> 3] = $18 * $19; + $20 = +HEAPF64[$arrayidx6 >> 3]; + HEAPF64[$J_Xc_T + 48 >> 3] = $8 * $20; + HEAPF64[$J_Xc_T + 56 >> 3] = $14 * $20; + HEAPF64[$J_Xc_T + 64 >> 3] = $18 * $20; + HEAPF64[$J_Xc_T + 72 >> 3] = $17; + HEAPF64[$J_Xc_T + 80 >> 3] = $19; + HEAPF64[$J_Xc_T + 88 >> 3] = $20; + $21 = +HEAPF64[$arrayidx14 >> 3]; + HEAPF64[$J_Xc_T + 96 >> 3] = $8 * $21; + HEAPF64[$J_Xc_T + 104 >> 3] = $14 * $21; + HEAPF64[$J_Xc_T + 112 >> 3] = $18 * $21; + $22 = +HEAPF64[$arrayidx18 >> 3]; + HEAPF64[$J_Xc_T + 120 >> 3] = $8 * $22; + HEAPF64[$J_Xc_T + 128 >> 3] = $14 * $22; + HEAPF64[$J_Xc_T + 136 >> 3] = $18 * $22; + $23 = +HEAPF64[$arrayidx23 >> 3]; + HEAPF64[$J_Xc_T + 144 >> 3] = $8 * $23; + HEAPF64[$J_Xc_T + 152 >> 3] = $14 * $23; + HEAPF64[$J_Xc_T + 160 >> 3] = $18 * $23; + HEAPF64[$J_Xc_T + 168 >> 3] = $21; + HEAPF64[$J_Xc_T + 176 >> 3] = $22; + HEAPF64[$J_Xc_T + 184 >> 3] = $23; + $24 = +HEAPF64[$arrayidx32 >> 3]; + HEAPF64[$J_Xc_T + 192 >> 3] = $8 * $24; + HEAPF64[$J_Xc_T + 200 >> 3] = $14 * $24; + HEAPF64[$J_Xc_T + 208 >> 3] = $18 * $24; + $25 = +HEAPF64[$arrayidx36 >> 3]; + HEAPF64[$J_Xc_T + 216 >> 3] = $8 * $25; + HEAPF64[$J_Xc_T + 224 >> 3] = $14 * $25; + HEAPF64[$J_Xc_T + 232 >> 3] = $18 * $25; + $26 = +HEAPF64[$arrayidx41 >> 3]; + HEAPF64[$J_Xc_T + 240 >> 3] = $8 * $26; + HEAPF64[$J_Xc_T + 248 >> 3] = $14 * $26; + HEAPF64[$J_Xc_T + 256 >> 3] = $18 * $26; + HEAPF64[$J_Xc_T + 264 >> 3] = $24; + HEAPF64[$J_Xc_T + 272 >> 3] = $25; + HEAPF64[$J_Xc_T + 280 >> 3] = $26; + _icpGetJ_T_S($J_T_S); + $j$0 = 0; while (1) { - if (!(($$020$i | 0) != 2 & $$019$i >>> 0 < $57 >>> 0)) { - label = 23; + if (($j$0 | 0) == 3) break; + $i$0 = 0; + while (1) { + if (($i$0 | 0) == 6) break; + $arrayidx252 = $J_Xc_S + ($j$0 * 48 | 0) + ($i$0 << 3) | 0; + HEAPF64[$arrayidx252 >> 3] = 0.0; + $29 = 0.0; + $k$0 = 0; + while (1) { + if (($k$0 | 0) == 12) break; + $add263 = $29 + +HEAPF64[$J_Xc_T + ($j$0 * 96 | 0) + ($k$0 << 3) >> 3] * +HEAPF64[$J_T_S + ($k$0 * 48 | 0) + ($i$0 << 3) >> 3]; + HEAPF64[$arrayidx252 >> 3] = $add263; + $29 = $add263; + $k$0 = $k$0 + 1 | 0; + } + $i$0 = $i$0 + 1 | 0; + } + $j$0 = $j$0 + 1 | 0; + } + STACKTOP = sp; + return; +} + +function __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE13__get_percentERS4_S4_RjRKNS_5ctypeIwEE($this, $__b, $__e, $__err, $__ct) { + $this = $this | 0; + $__b = $__b | 0; + $__e = $__e | 0; + $__err = $__err | 0; + $__ct = $__ct | 0; + var $0 = 0, $1 = 0, $11 = 0, $12 = 0, $18 = 0, $19 = 0, $23 = 0, $24 = 0, $28 = 0, $29 = 0, $34 = 0, $35 = 0, $5 = 0, $6 = 0, $__ninp_$i$i7 = 0, $retval$0$i$i = 0, $retval$0$i$i$i$i = 0, $retval$0$i$i$i$i28 = 0, $retval$0$i$i13$i$i = 0, $retval$0$i$i13$i$i49 = 0, label = 0; + $0 = HEAP32[$__b >> 2] | 0; + do if ($0) { + $1 = HEAP32[$0 + 12 >> 2] | 0; + if (($1 | 0) == (HEAP32[$0 + 16 >> 2] | 0)) $retval$0$i$i$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$0 >> 2] | 0) + 36 >> 2] & 127]($0) | 0; else $retval$0$i$i$i$i = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$1 >> 2] | 0) | 0; + if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj($retval$0$i$i$i$i, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { + HEAP32[$__b >> 2] = 0; + $34 = 1; + break; + } else { + $34 = (HEAP32[$__b >> 2] | 0) == 0; + break; + } + } else $34 = 1; while (0); + $5 = HEAP32[$__e >> 2] | 0; + do if ($5) { + $6 = HEAP32[$5 + 12 >> 2] | 0; + if (($6 | 0) == (HEAP32[$5 + 16 >> 2] | 0)) $retval$0$i$i13$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$5 >> 2] | 0) + 36 >> 2] & 127]($5) | 0; else $retval$0$i$i13$i$i = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$6 >> 2] | 0) | 0; + if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj($retval$0$i$i13$i$i, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if ($34) { + $28 = $5; + label = 17; + break; + } else { + label = 16; + break; + } else { + HEAP32[$__e >> 2] = 0; + label = 14; + break; + } + } else label = 14; while (0); + if ((label | 0) == 14) if ($34) label = 16; else { + $28 = 0; + label = 17; + } + L22 : do if ((label | 0) == 16) HEAP32[$__err >> 2] = HEAP32[$__err >> 2] | 6; else if ((label | 0) == 17) { + $11 = HEAP32[$__b >> 2] | 0; + $12 = HEAP32[$11 + 12 >> 2] | 0; + if (($12 | 0) == (HEAP32[$11 + 16 >> 2] | 0)) $retval$0$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$11 >> 2] | 0) + 36 >> 2] & 127]($11) | 0; else $retval$0$i$i = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$12 >> 2] | 0) | 0; + if ((FUNCTION_TABLE_iiii[HEAP32[(HEAP32[$__ct >> 2] | 0) + 52 >> 2] & 63]($__ct, $retval$0$i$i, 0) | 0) << 24 >> 24 != 37) { + HEAP32[$__err >> 2] = HEAP32[$__err >> 2] | 4; + break; + } + $18 = HEAP32[$__b >> 2] | 0; + $__ninp_$i$i7 = $18 + 12 | 0; + $19 = HEAP32[$__ninp_$i$i7 >> 2] | 0; + if (($19 | 0) == (HEAP32[$18 + 16 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$18 >> 2] | 0) + 40 >> 2] & 127]($18) | 0; else { + HEAP32[$__ninp_$i$i7 >> 2] = $19 + 4; + __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$19 >> 2] | 0) | 0; + } + $23 = HEAP32[$__b >> 2] | 0; + do if ($23) { + $24 = HEAP32[$23 + 12 >> 2] | 0; + if (($24 | 0) == (HEAP32[$23 + 16 >> 2] | 0)) $retval$0$i$i$i$i28 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$23 >> 2] | 0) + 36 >> 2] & 127]($23) | 0; else $retval$0$i$i$i$i28 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$24 >> 2] | 0) | 0; + if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj($retval$0$i$i$i$i28, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { + HEAP32[$__b >> 2] = 0; + $35 = 1; + break; + } else { + $35 = (HEAP32[$__b >> 2] | 0) == 0; + break; + } + } else $35 = 1; while (0); + do if ($28) { + $29 = HEAP32[$28 + 12 >> 2] | 0; + if (($29 | 0) == (HEAP32[$28 + 16 >> 2] | 0)) $retval$0$i$i13$i$i49 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$28 >> 2] | 0) + 36 >> 2] & 127]($28) | 0; else $retval$0$i$i13$i$i49 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$29 >> 2] | 0) | 0; + if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj($retval$0$i$i13$i$i49, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if ($35) break L22; else break; else { + HEAP32[$__e >> 2] = 0; + label = 38; + break; + } + } else label = 38; while (0); + if ((label | 0) == 38 ? !$35 : 0) break; + HEAP32[$__err >> 2] = HEAP32[$__err >> 2] | 2; + } while (0); + return; +} + +function __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE13__get_percentERS4_S4_RjRKNS_5ctypeIcEE($this, $__b, $__e, $__err, $__ct) { + $this = $this | 0; + $__b = $__b | 0; + $__e = $__e | 0; + $__err = $__err | 0; + $__ct = $__ct | 0; + var $0 = 0, $1 = 0, $11 = 0, $12 = 0, $18 = 0, $19 = 0, $23 = 0, $24 = 0, $28 = 0, $29 = 0, $34 = 0, $35 = 0, $5 = 0, $6 = 0, $__ninp_$i$i7 = 0, $retval$0$i$i = 0, $retval$0$i$i$i$i = 0, $retval$0$i$i$i$i28 = 0, $retval$0$i$i13$i$i = 0, $retval$0$i$i13$i$i49 = 0, label = 0; + $0 = HEAP32[$__b >> 2] | 0; + do if ($0) { + $1 = HEAP32[$0 + 12 >> 2] | 0; + if (($1 | 0) == (HEAP32[$0 + 16 >> 2] | 0)) $retval$0$i$i$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$0 >> 2] | 0) + 36 >> 2] & 127]($0) | 0; else $retval$0$i$i$i$i = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$1 >> 0] | 0) | 0; + if (__ZNSt3__211char_traitsIcE11eq_int_typeEii($retval$0$i$i$i$i, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { + HEAP32[$__b >> 2] = 0; + $34 = 1; + break; + } else { + $34 = (HEAP32[$__b >> 2] | 0) == 0; + break; + } + } else $34 = 1; while (0); + $5 = HEAP32[$__e >> 2] | 0; + do if ($5) { + $6 = HEAP32[$5 + 12 >> 2] | 0; + if (($6 | 0) == (HEAP32[$5 + 16 >> 2] | 0)) $retval$0$i$i13$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$5 >> 2] | 0) + 36 >> 2] & 127]($5) | 0; else $retval$0$i$i13$i$i = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$6 >> 0] | 0) | 0; + if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii($retval$0$i$i13$i$i, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if ($34) { + $28 = $5; + label = 17; + break; + } else { + label = 16; + break; + } else { + HEAP32[$__e >> 2] = 0; + label = 14; + break; + } + } else label = 14; while (0); + if ((label | 0) == 14) if ($34) label = 16; else { + $28 = 0; + label = 17; + } + L22 : do if ((label | 0) == 16) HEAP32[$__err >> 2] = HEAP32[$__err >> 2] | 6; else if ((label | 0) == 17) { + $11 = HEAP32[$__b >> 2] | 0; + $12 = HEAP32[$11 + 12 >> 2] | 0; + if (($12 | 0) == (HEAP32[$11 + 16 >> 2] | 0)) $retval$0$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$11 >> 2] | 0) + 36 >> 2] & 127]($11) | 0; else $retval$0$i$i = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$12 >> 0] | 0) | 0; + if ((FUNCTION_TABLE_iiii[HEAP32[(HEAP32[$__ct >> 2] | 0) + 36 >> 2] & 63]($__ct, $retval$0$i$i & 255, 0) | 0) << 24 >> 24 != 37) { + HEAP32[$__err >> 2] = HEAP32[$__err >> 2] | 4; break; } - HEAP32[$9 >> 2] = $$019$i; - $71 = FUNCTION_TABLE_iiiiiiiii[HEAP32[(HEAP32[$12 >> 2] | 0) + 16 >> 2] & 15]($12, $6, $$019$i, ($58 - $$019$i | 0) > 32 ? $$019$i + 32 | 0 : $57, $9, $7, $59, $8) | 0; - if (($71 | 0) == 2 ? 1 : (HEAP32[$9 >> 2] | 0) == ($$019$i | 0)) { - label = 19; + $18 = HEAP32[$__b >> 2] | 0; + $__ninp_$i$i7 = $18 + 12 | 0; + $19 = HEAP32[$__ninp_$i$i7 >> 2] | 0; + if (($19 | 0) == (HEAP32[$18 + 16 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$18 >> 2] | 0) + 40 >> 2] & 127]($18) | 0; else { + HEAP32[$__ninp_$i$i7 >> 2] = $19 + 1; + __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$19 >> 0] | 0) | 0; + } + $23 = HEAP32[$__b >> 2] | 0; + do if ($23) { + $24 = HEAP32[$23 + 12 >> 2] | 0; + if (($24 | 0) == (HEAP32[$23 + 16 >> 2] | 0)) $retval$0$i$i$i$i28 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$23 >> 2] | 0) + 36 >> 2] & 127]($23) | 0; else $retval$0$i$i$i$i28 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$24 >> 0] | 0) | 0; + if (__ZNSt3__211char_traitsIcE11eq_int_typeEii($retval$0$i$i$i$i28, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { + HEAP32[$__b >> 2] = 0; + $35 = 1; + break; + } else { + $35 = (HEAP32[$__b >> 2] | 0) == 0; + break; + } + } else $35 = 1; while (0); + do if ($28) { + $29 = HEAP32[$28 + 12 >> 2] | 0; + if (($29 | 0) == (HEAP32[$28 + 16 >> 2] | 0)) $retval$0$i$i13$i$i49 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$28 >> 2] | 0) + 36 >> 2] & 127]($28) | 0; else $retval$0$i$i13$i$i49 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$29 >> 0] | 0) | 0; + if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii($retval$0$i$i13$i$i49, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if ($35) break L22; else break; else { + HEAP32[$__e >> 2] = 0; + label = 38; + break; + } + } else label = 38; while (0); + if ((label | 0) == 38 ? !$35 : 0) break; + HEAP32[$__err >> 2] = HEAP32[$__err >> 2] | 2; + } while (0); + return; +} + +function __ZNK12_GLOBAL__N_116itanium_demangle8FoldExpr9printLeftERNS_12OutputStreamE($this, $S) { + $this = $this | 0; + $S = $S | 0; + var $$pre$phiZ2D = 0, $13 = 0, $18 = 0, $19 = 0, $2 = 0, $23 = 0, $28 = 0, $29 = 0, $3 = 0, $34 = 0, $39 = 0, $40 = 0, $8 = 0, $9 = 0, $Init19 = 0, $OperatorName = 0, $OperatorName15 = 0, $PrintPack = 0, $agg$tmp = 0, $agg$tmp14 = 0, $agg$tmp17 = 0, $agg$tmp23 = 0, $agg$tmp7 = 0, $agg$tmp9 = 0, $tmpcast17$byval_copy = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 64 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(64); + $tmpcast17$byval_copy = sp + 56 | 0; + $PrintPack = sp + 32 | 0; + $agg$tmp = sp + 24 | 0; + $agg$tmp7 = sp + 48 | 0; + $agg$tmp9 = sp + 16 | 0; + $agg$tmp14 = sp + 8 | 0; + $agg$tmp17 = sp + 40 | 0; + $agg$tmp23 = sp; + HEAP32[$PrintPack >> 2] = $S; + HEAP32[$PrintPack + 4 >> 2] = $this; + __ZN12_GLOBAL__N_112OutputStreampLEc($S, 40); + if (!(HEAP8[$this + 24 >> 0] | 0)) { + __ZZNK12_GLOBAL__N_116itanium_demangle8FoldExpr9printLeftERNS_12OutputStreamEENKUlvE_clEv($PrintPack); + __ZN12_GLOBAL__N_112OutputStreampLEc($S, 32); + $OperatorName15 = $this + 16 | 0; + $23 = $OperatorName15; + $28 = HEAP32[$23 + 4 >> 2] | 0; + $29 = $agg$tmp14; + HEAP32[$29 >> 2] = HEAP32[$23 >> 2]; + HEAP32[$29 + 4 >> 2] = $28; + HEAP32[$tmpcast17$byval_copy >> 2] = HEAP32[$agg$tmp14 >> 2]; + HEAP32[$tmpcast17$byval_copy + 4 >> 2] = HEAP32[$agg$tmp14 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $tmpcast17$byval_copy); + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp17, 55704); + HEAP32[$tmpcast17$byval_copy >> 2] = HEAP32[$agg$tmp17 >> 2]; + HEAP32[$tmpcast17$byval_copy + 4 >> 2] = HEAP32[$agg$tmp17 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $tmpcast17$byval_copy); + $Init19 = $this + 12 | 0; + if (HEAP32[$Init19 >> 2] | 0) { + __ZN12_GLOBAL__N_112OutputStreampLEc($S, 32); + $34 = $OperatorName15; + $39 = HEAP32[$34 + 4 >> 2] | 0; + $40 = $agg$tmp23; + HEAP32[$40 >> 2] = HEAP32[$34 >> 2]; + HEAP32[$40 + 4 >> 2] = $39; + HEAP32[$tmpcast17$byval_copy >> 2] = HEAP32[$agg$tmp23 >> 2]; + HEAP32[$tmpcast17$byval_copy + 4 >> 2] = HEAP32[$agg$tmp23 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $tmpcast17$byval_copy); + __ZN12_GLOBAL__N_112OutputStreampLEc($S, 32); + __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(HEAP32[$Init19 >> 2] | 0, $S); + } + } else { + $2 = HEAP32[$this + 12 >> 2] | 0; + if (!$2) $$pre$phiZ2D = $this + 16 | 0; else { + __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE($2, $S); + __ZN12_GLOBAL__N_112OutputStreampLEc($S, 32); + $OperatorName = $this + 16 | 0; + $3 = $OperatorName; + $8 = HEAP32[$3 + 4 >> 2] | 0; + $9 = $agg$tmp; + HEAP32[$9 >> 2] = HEAP32[$3 >> 2]; + HEAP32[$9 + 4 >> 2] = $8; + HEAP32[$tmpcast17$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$tmpcast17$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $tmpcast17$byval_copy); + __ZN12_GLOBAL__N_112OutputStreampLEc($S, 32); + $$pre$phiZ2D = $OperatorName; + } + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp7, 55699); + HEAP32[$tmpcast17$byval_copy >> 2] = HEAP32[$agg$tmp7 >> 2]; + HEAP32[$tmpcast17$byval_copy + 4 >> 2] = HEAP32[$agg$tmp7 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $tmpcast17$byval_copy); + $13 = $$pre$phiZ2D; + $18 = HEAP32[$13 + 4 >> 2] | 0; + $19 = $agg$tmp9; + HEAP32[$19 >> 2] = HEAP32[$13 >> 2]; + HEAP32[$19 + 4 >> 2] = $18; + HEAP32[$tmpcast17$byval_copy >> 2] = HEAP32[$agg$tmp9 >> 2]; + HEAP32[$tmpcast17$byval_copy + 4 >> 2] = HEAP32[$agg$tmp9 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $tmpcast17$byval_copy); + __ZN12_GLOBAL__N_112OutputStreampLEc($S, 32); + __ZZNK12_GLOBAL__N_116itanium_demangle8FoldExpr9printLeftERNS_12OutputStreamEENKUlvE_clEv($PrintPack); + } + __ZN12_GLOBAL__N_112OutputStreampLEc($S, 41); + STACKTOP = sp; + return; +} + +function _decompress_data($cinfo, $output_buf) { + $cinfo = $cinfo | 0; + $output_buf = $output_buf | 0; + var $0 = 0, $15 = 0, $19 = 0, $2 = 0, $21 = 0, $23 = 0, $26 = 0, $3 = 0, $31 = 0, $DCT_h_scaled_size = 0, $DCT_v_scaled_size = 0, $block_num$054 = 0, $block_row$058 = 0, $block_rows$0 = 0, $buffer_ptr$055 = 0, $call12 = 0, $ci$061 = 0, $compptr$063 = 0, $idct = 0, $inc41 = 0, $input_iMCU_row = 0, $input_scan_number = 0, $inputctl = 0, $mem = 0, $mul = 0, $num_components = 0, $output_col$056 = 0, $output_iMCU_row = 0, $output_ptr$059 = 0, $output_scan_number = 0, $rem = 0, $retval$0 = 0, $sub = 0, $total_iMCU_rows = 0, $v_samp_factor = 0, $width_in_blocks = 0, label = 0; + $0 = HEAP32[$cinfo + 452 >> 2] | 0; + $total_iMCU_rows = $cinfo + 332 | 0; + $sub = (HEAP32[$total_iMCU_rows >> 2] | 0) + -1 | 0; + $input_scan_number = $cinfo + 144 | 0; + $output_scan_number = $cinfo + 152 | 0; + $inputctl = $cinfo + 460 | 0; + $input_iMCU_row = $cinfo + 148 | 0; + $output_iMCU_row = $cinfo + 156 | 0; + while (1) { + $2 = HEAP32[$input_scan_number >> 2] | 0; + $3 = HEAP32[$output_scan_number >> 2] | 0; + if (($2 | 0) >= ($3 | 0)) { + if (($2 | 0) != ($3 | 0)) break; + if ((HEAP32[$input_iMCU_row >> 2] | 0) >>> 0 > (HEAP32[$output_iMCU_row >> 2] | 0) >>> 0) break; + } + if (!(FUNCTION_TABLE_ii[HEAP32[HEAP32[$inputctl >> 2] >> 2] & 127]($cinfo) | 0)) { + $retval$0 = 0; + label = 20; break; } - $$0$i = $7; - while (1) { - if ($$0$i >>> 0 >= (HEAP32[$8 >> 2] | 0) >>> 0) break; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9push_backEw($0, HEAP32[$$0$i >> 2] | 0); - $$0$i = $$0$i + 4 | 0; - } - $$019$i = HEAP32[$9 >> 2] | 0; - $$020$i = $71; - } - if ((label | 0) == 19) __ZNSt3__221__throw_runtime_errorEPKc(0); else if ((label | 0) == 23) { - __ZNSt3__26locale5facetD2Ev($12); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($10); - STACKTOP = sp; - return; } -} - -function _jpeg_fill_bit_buffer($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $$052 = 0, $$054102 = 0, $$057101 = 0, $$06599 = 0, $$06997 = 0, $$155 = 0, $$158 = 0, $$2 = 0, $$256 = 0, $$259 = 0, $$267 = 0, $$271 = 0, $$3 = 0, $$360 = 0, $$368 = 0, $$372 = 0, $$4 = 0, $$461 = 0, $$6 = 0, $$663 = 0, $$7 = 0, $$764 = 0, $13 = 0, $20 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $35 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $44 = 0, $45 = 0, $48 = 0, $5 = 0, $53 = 0, $6 = 0, $8 = 0, $9 = 0, label = 0; - $4 = HEAP32[$0 >> 2] | 0; - $5 = $0 + 4 | 0; - $6 = HEAP32[$5 >> 2] | 0; - $8 = HEAP32[$0 + 16 >> 2] | 0; - $9 = $8 + 440 | 0; - L1 : do if (!(HEAP32[$9 >> 2] | 0)) if (($2 | 0) < 25) { - $13 = $8 + 24 | 0; - $$054102 = $6; - $$057101 = $4; - $$06599 = $1; - $$06997 = $2; - L4 : while (1) { - if (!$$054102) { - if (!(FUNCTION_TABLE_ii[HEAP32[(HEAP32[$13 >> 2] | 0) + 12 >> 2] & 127]($8) | 0)) { - $$2 = 0; - label = 20; - break; - } - $20 = HEAP32[$13 >> 2] | 0; - $$155 = HEAP32[$20 + 4 >> 2] | 0; - $$158 = HEAP32[$20 >> 2] | 0; - } else { - $$155 = $$054102; - $$158 = $$057101; - } - $24 = $$155 + -1 | 0; - $25 = $$158 + 1 | 0; - $26 = HEAP8[$$158 >> 0] | 0; - $27 = $26 & 255; - L10 : do if ($26 << 24 >> 24 == -1) { - $$256 = $24; - $$259 = $25; - while (1) { - if (!$$256) { - if (!(FUNCTION_TABLE_ii[HEAP32[(HEAP32[$13 >> 2] | 0) + 12 >> 2] & 127]($8) | 0)) { - $$2 = 0; - label = 20; - break L4; - } - $35 = HEAP32[$13 >> 2] | 0; - $$3 = HEAP32[$35 + 4 >> 2] | 0; - $$360 = HEAP32[$35 >> 2] | 0; - } else { - $$3 = $$256; - $$360 = $$259; - } - $39 = $$3 + -1 | 0; - $40 = $$360 + 1 | 0; - $41 = HEAP8[$$360 >> 0] | 0; - switch ($41 << 24 >> 24) { - case 0: - { - $$052 = 255; - $$4 = $39; - $$461 = $40; - break L10; - break; - } - case -1: - { - $$256 = $39; - $$259 = $40; - break; + if ((label | 0) == 20) return $retval$0 | 0; + $num_components = $cinfo + 36 | 0; + if ((HEAP32[$num_components >> 2] | 0) > 0) { + $mem = $cinfo + 4 | 0; + $idct = $cinfo + 472 | 0; + $ci$061 = 0; + $compptr$063 = HEAP32[$cinfo + 216 >> 2] | 0; + while (1) { + if (HEAP32[$compptr$063 + 52 >> 2] | 0) { + $v_samp_factor = $compptr$063 + 12 | 0; + $15 = HEAP32[$v_samp_factor >> 2] | 0; + $mul = Math_imul($15, HEAP32[$output_iMCU_row >> 2] | 0) | 0; + $call12 = FUNCTION_TABLE_iiiiii[HEAP32[(HEAP32[$mem >> 2] | 0) + 32 >> 2] & 31]($cinfo, HEAP32[$0 + 72 + ($ci$061 << 2) >> 2] | 0, $mul, $15, 0) | 0; + if ((HEAP32[$output_iMCU_row >> 2] | 0) >>> 0 < $sub >>> 0) $block_rows$0 = HEAP32[$v_samp_factor >> 2] | 0; else { + $19 = HEAP32[$v_samp_factor >> 2] | 0; + $rem = ((HEAP32[$compptr$063 + 32 >> 2] | 0) >>> 0) % ($19 >>> 0) | 0; + $block_rows$0 = ($rem | 0) == 0 ? $19 : $rem; + } + $21 = HEAP32[(HEAP32[$idct >> 2] | 0) + 4 + ($ci$061 << 2) >> 2] | 0; + if (($block_rows$0 | 0) > 0) { + $width_in_blocks = $compptr$063 + 28 | 0; + $DCT_v_scaled_size = $compptr$063 + 40 | 0; + $DCT_h_scaled_size = $compptr$063 + 36 | 0; + $23 = HEAP32[$width_in_blocks >> 2] | 0; + $block_row$058 = 0; + $output_ptr$059 = HEAP32[$output_buf + ($ci$061 << 2) >> 2] | 0; + while (1) { + if (!$23) $31 = 0; else { + $block_num$054 = 0; + $buffer_ptr$055 = HEAP32[$call12 + ($block_row$058 << 2) >> 2] | 0; + $output_col$056 = 0; + while (1) { + FUNCTION_TABLE_viiiii[$21 & 63]($cinfo, $compptr$063, $buffer_ptr$055, $output_ptr$059, $output_col$056); + $block_num$054 = $block_num$054 + 1 | 0; + $26 = HEAP32[$width_in_blocks >> 2] | 0; + if ($block_num$054 >>> 0 >= $26 >>> 0) { + $31 = $26; + break; + } else { + $buffer_ptr$055 = $buffer_ptr$055 + 128 | 0; + $output_col$056 = (HEAP32[$DCT_h_scaled_size >> 2] | 0) + $output_col$056 | 0; + } + } } - default: - { - label = 13; - break L4; + $block_row$058 = $block_row$058 + 1 | 0; + if (($block_row$058 | 0) == ($block_rows$0 | 0)) break; else { + $23 = $31; + $output_ptr$059 = $output_ptr$059 + (HEAP32[$DCT_v_scaled_size >> 2] << 2) | 0; } } } - } else { - $$052 = $27; - $$4 = $24; - $$461 = $25; - } while (0); - $44 = $$052 | $$06599 << 8; - $45 = $$06997 + 8 | 0; - if (($$06997 | 0) < 17) { - $$054102 = $$4; - $$057101 = $$461; - $$06599 = $44; - $$06997 = $45; - } else { - $$368 = $44; - $$372 = $45; - $$7 = $$4; - $$764 = $$461; - break L1; } + $ci$061 = $ci$061 + 1 | 0; + if (($ci$061 | 0) >= (HEAP32[$num_components >> 2] | 0)) break; else $compptr$063 = $compptr$063 + 88 | 0; } - if ((label | 0) == 13) { - HEAP32[$9 >> 2] = $41 & 255; - $$267 = $$06599; - $$271 = $$06997; - $$6 = $39; - $$663 = $40; - label = 15; - break; - } else if ((label | 0) == 20) return $$2 | 0; - } else { - $$368 = $1; - $$372 = $2; - $$7 = $6; - $$764 = $4; - } else { - $$267 = $1; - $$271 = $2; - $$6 = $6; - $$663 = $4; - label = 15; - } while (0); - if ((label | 0) == 15) if (($$271 | 0) < ($3 | 0)) { - $48 = $8 + 468 | 0; - if (!(HEAP32[(HEAP32[$48 >> 2] | 0) + 40 >> 2] | 0)) { - $53 = HEAP32[$8 >> 2] | 0; - HEAP32[$53 + 20 >> 2] = 120; - FUNCTION_TABLE_vii[HEAP32[$53 + 4 >> 2] & 255]($8, -1); - HEAP32[(HEAP32[$48 >> 2] | 0) + 40 >> 2] = 1; - } - $$368 = $$267 << 25 - $$271; - $$372 = 25; - $$7 = $$6; - $$764 = $$663; - } else { - $$368 = $$267; - $$372 = $$271; - $$7 = $$6; - $$764 = $$663; } - HEAP32[$0 >> 2] = $$764; - HEAP32[$5 >> 2] = $$7; - HEAP32[$0 + 8 >> 2] = $$368; - HEAP32[$0 + 12 >> 2] = $$372; - $$2 = 1; - return $$2 | 0; + $inc41 = (HEAP32[$output_iMCU_row >> 2] | 0) + 1 | 0; + HEAP32[$output_iMCU_row >> 2] = $inc41; + $retval$0 = $inc41 >>> 0 < (HEAP32[$total_iMCU_rows >> 2] | 0) >>> 0 ? 3 : 4; + return $retval$0 | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E14parseLocalNameEPNS5_9NameStateE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$1 = 0, $$2 = 0, $$3 = 0, $$4 = 0, $13 = 0, $14 = 0, $18 = 0, $2 = 0, $21 = 0, $26 = 0, $3 = 0, $5 = 0, $6 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $2 = sp + 8 | 0; - $3 = sp; - if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($0, 90) | 0) { - $5 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0; - $6 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E13parseEncodingEv($5) | 0; - HEAP32[$2 >> 2] = $6; - do if (($6 | 0) != 0 ? __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($0, 69) | 0 : 0) { - if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($0, 115) | 0) { - $13 = __ZN12_GLOBAL__N_116itanium_demangle19parse_discriminatorEPKcS2_(HEAP32[$0 >> 2] | 0, HEAP32[$0 + 4 >> 2] | 0) | 0; - HEAP32[$0 >> 2] = $13; - $14 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA15_KcEEEPNS0_4NodeEDpOT0_($0, 55376) | 0; - HEAP32[$3 >> 2] = $14; - $$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_9LocalNameEJRPNS0_4NodeESA_EEES9_DpOT0_($0, $2, $3) | 0; - break; - } - if (!(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($0, 100) | 0)) { - $21 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseNameEPNS5_9NameStateE($5, $1) | 0; - HEAP32[$3 >> 2] = $21; - if (!$21) $$2 = 0; else { - $26 = __ZN12_GLOBAL__N_116itanium_demangle19parse_discriminatorEPKcS2_(HEAP32[$0 >> 2] | 0, HEAP32[$0 + 4 >> 2] | 0) | 0; - HEAP32[$0 >> 2] = $26; - $$2 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_9LocalNameEJRPNS0_4NodeESA_EEES9_DpOT0_($0, $2, $3) | 0; - } - $$3 = $$2; - break; - } - __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E11parseNumberEb($3, $0, 1); - if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($0, 95) | 0) { - $18 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseNameEPNS5_9NameStateE($5, $1) | 0; - HEAP32[$3 >> 2] = $18; - if (!$18) $$1 = 0; else $$1 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_9LocalNameEJRPNS0_4NodeESA_EEES9_DpOT0_($0, $2, $3) | 0; - $$3 = $$1; - } else $$3 = 0; - } else $$3 = 0; while (0); - $$4 = $$3; - } else $$4 = 0; - STACKTOP = sp; - return $$4 | 0; -} -function __ZN6vision14VisualDatabaseINS_14FREAKExtractorENS_18BinaryFeatureStoreENS_20BinaryFeatureMatcherILi96EEEE5queryEPKNS_25GaussianScaleSpacePyramidE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$byval_copy = 0, $10 = 0, $11 = 0, $15 = 0, $16 = 0, $17 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $23 = 0, $24 = 0, $27 = 0, $28 = 0, $3 = 0, $34 = 0, $39 = 0, $4 = 0, $42 = 0, $44 = 0, $5 = 0, $6 = 0, $vararg_buffer = 0, label = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 64 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(64); - $$byval_copy = sp + 16 | 0; - $vararg_buffer = sp; - $2 = sp + 56 | 0; - $3 = sp + 48 | 0; - $4 = $0 + 160 | 0; - $5 = __ZNK6vision25DoGScaleInvariantDetector5widthEv($4) | 0; - $6 = __ZNK6vision25GaussianScaleSpacePyramid6imagesEv($1) | 0; - if (($5 | 0) == (__ZNK6vision5Image5widthEv(HEAP32[$6 >> 2] | 0) | 0) ? ($10 = __ZNK6vision25DoGScaleInvariantDetector6heightEv($4) | 0, $11 = __ZNK6vision25GaussianScaleSpacePyramid6imagesEv($1) | 0, ($10 | 0) == (__ZNK6vision5Image6heightEv(HEAP32[$11 >> 2] | 0) | 0)) : 0) {} else __ZN6vision25DoGScaleInvariantDetector5allocEPKNS_25GaussianScaleSpacePyramidE($4, $1); - $15 = $0 + 64 | 0; - $16 = __Znwm(148) | 0; - __ZN6vision8KeyframeILi96EEC2Ev($16); - HEAP32[$3 >> 2] = 0; - HEAP32[$$byval_copy >> 2] = HEAP32[$3 >> 2]; - __ZNSt3__210shared_ptrIN6vision8KeyframeILi96EEEEC2IS3_EEPT_NS_9enable_ifIXsr14is_convertibleIS7_PS3_EE5valueENS4_5__natEE4typeE($2, $16, $$byval_copy); - $17 = HEAP32[$2 >> 2] | 0; - HEAP32[$2 >> 2] = HEAP32[$15 >> 2]; - HEAP32[$15 >> 2] = $17; - $19 = $2 + 4 | 0; - $20 = $0 + 68 | 0; - $21 = HEAP32[$19 >> 2] | 0; - HEAP32[$19 >> 2] = HEAP32[$20 >> 2]; - HEAP32[$20 >> 2] = $21; - __ZNSt3__210shared_ptrIN6vision8KeyframeILi96EEEED2Ev($2); - $23 = HEAP32[$15 >> 2] | 0; - $24 = __ZNK6vision25GaussianScaleSpacePyramid6imagesEv($1) | 0; - __ZN6vision8KeyframeILi96EE8setWidthEi($23, __ZNK6vision5Image5widthEv(HEAP32[$24 >> 2] | 0) | 0); - $27 = HEAP32[$15 >> 2] | 0; - $28 = __ZNK6vision25GaussianScaleSpacePyramid6imagesEv($1) | 0; - __ZN6vision8KeyframeILi96EE9setHeightEi($27, __ZNK6vision5Image6heightEv(HEAP32[$28 >> 2] | 0) | 0); - __ZN6vision11ScopedTimerC2EPKc($$byval_copy, 33189); - if (__ZN6vision11ScopedTimercvbEv($$byval_copy) | 0) __ZN6vision12FindFeaturesINS_14FREAKExtractorELi96EEEvPNS_8KeyframeIXT0_EEEPKNS_25GaussianScaleSpacePyramidEPNS_25DoGScaleInvariantDetectorEPT_(HEAP32[$15 >> 2] | 0, $1, $4, $0 + 316 | 0); - __ZN6vision11ScopedTimerD2Ev($$byval_copy); - $34 = __ZN6vision6Logger11getInstanceEv() | 0; - __ZN6vision15get_pretty_timeEv($$byval_copy); - $39 = (HEAP8[$$byval_copy + 11 >> 0] | 0) < 0 ? HEAP32[$$byval_copy >> 2] | 0 : $$byval_copy; - $42 = __ZNK6vision18BinaryFeatureStore4sizeEv(__ZN6vision8KeyframeILi96EE5storeEv(HEAP32[$15 >> 2] | 0) | 0) | 0; - HEAP32[$vararg_buffer >> 2] = 39201; - HEAP32[$vararg_buffer + 4 >> 2] = $39; - HEAP32[$vararg_buffer + 8 >> 2] = 34718; - HEAP32[$vararg_buffer + 12 >> 2] = $42; - __ZN6vision6Logger5writeENS_19LoggerPriorityLevelEPKcz($34, 8, 34674, $vararg_buffer); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($$byval_copy); - $44 = __ZN6vision14VisualDatabaseINS_14FREAKExtractorENS_18BinaryFeatureStoreENS_20BinaryFeatureMatcherILi96EEEE5queryEPKNS_8KeyframeILi96EEE($0, HEAP32[$15 >> 2] | 0) | 0; - STACKTOP = sp; - return $44 | 0; -} - -function __ZNSt3__210__stdinbufIcE9__getcharEb($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $$048 = 0, $$052 = 0, $$10 = 0, $$11 = 0, $$351 = 0, $$9 = 0, $$sroa$speculated = 0, $10 = 0, $11 = 0, $13 = 0, $15 = 0, $18 = 0, $2 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $34 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $45 = 0, $5 = 0, $51 = 0, $6 = 0, $61 = 0, $67 = 0, $9 = 0, label = 0, sp = 0; +function __ZNSt3__210__stdinbufIcE9__getcharEb($this, $__consume) { + $this = $this | 0; + $__consume = $__consume | 0; + var $$sroa$speculated = 0, $1 = 0, $12 = 0, $13 = 0, $16 = 0, $2 = 0, $6 = 0, $7 = 0, $9 = 0, $__1buf = 0, $__cv_ = 0, $__enxt = 0, $__extbuf = 0, $__file_ = 0, $__i$0 = 0, $__i56$0 = 0, $__inxt = 0, $__last_consumed_ = 0, $__last_consumed_is_next_ = 0, $__nread$0 = 0, $__nread$3 = 0, $__st_ = 0, $add$ptr = 0, $add$ptr20 = 0, $call = 0, $call29 = 0, $call62 = 0, $call73 = 0, $call8 = 0, $retval$10 = 0, $retval$11 = 0, $retval$9 = 0, label = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 32 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $2 = sp + 16 | 0; - $3 = sp + 8 | 0; - $4 = sp + 4 | 0; - $5 = sp; - $6 = $0 + 52 | 0; - if (HEAP8[$6 >> 0] | 0) { - $9 = $0 + 48 | 0; - $10 = HEAP32[$9 >> 2] | 0; - if ($1) { - $11 = __ZNSt3__211char_traitsIcE3eofEv() | 0; - HEAP32[$9 >> 2] = $11; - HEAP8[$6 >> 0] = 0; - $$11 = $10; - } else $$11 = $10; + $__extbuf = sp + 16 | 0; + $__1buf = sp + 8 | 0; + $__enxt = sp + 4 | 0; + $__inxt = sp; + $__last_consumed_is_next_ = $this + 52 | 0; + if (HEAP8[$__last_consumed_is_next_ >> 0] | 0) { + $__last_consumed_ = $this + 48 | 0; + $1 = HEAP32[$__last_consumed_ >> 2] | 0; + if ($__consume) { + $call = __ZNSt3__211char_traitsIcE3eofEv() | 0; + HEAP32[$__last_consumed_ >> 2] = $call; + HEAP8[$__last_consumed_is_next_ >> 0] = 0; + $retval$11 = $1; + } else $retval$11 = $1; } else { - $13 = HEAP32[$0 + 44 >> 2] | 0; - $$sroa$speculated = ($13 | 0) > 1 ? $13 : 1; - $15 = $0 + 32 | 0; - $$052 = 0; + $2 = HEAP32[$this + 44 >> 2] | 0; + $$sroa$speculated = ($2 | 0) > 1 ? $2 : 1; + $__file_ = $this + 32 | 0; + $__i$0 = 0; while (1) { - if ($$052 >>> 0 >= $$sroa$speculated >>> 0) { + if ($__i$0 >>> 0 >= $$sroa$speculated >>> 0) { label = 9; break; } - $18 = _getc(HEAP32[$15 >> 2] | 0) | 0; - if (($18 | 0) == -1) { + $call8 = _getc(HEAP32[$__file_ >> 2] | 0) | 0; + if (($call8 | 0) == -1) { label = 8; break; } - HEAP8[$2 + $$052 >> 0] = $18; - $$052 = $$052 + 1 | 0; + HEAP8[$__extbuf + $__i$0 >> 0] = $call8; + $__i$0 = $__i$0 + 1 | 0; } - if ((label | 0) == 8) $$10 = __ZNSt3__211char_traitsIcE3eofEv() | 0; else if ((label | 0) == 9) { - do if (!(HEAP8[$0 + 53 >> 0] | 0)) { - $28 = $0 + 40 | 0; - $29 = $0 + 36 | 0; - $30 = $3 + 1 | 0; - $$048 = $$sroa$speculated; + if ((label | 0) == 8) $retval$10 = __ZNSt3__211char_traitsIcE3eofEv() | 0; else if ((label | 0) == 9) { + do if (!(HEAP8[$this + 53 >> 0] | 0)) { + $__st_ = $this + 40 | 0; + $__cv_ = $this + 36 | 0; + $add$ptr20 = $__1buf + 1 | 0; + $__nread$0 = $$sroa$speculated; L11 : while (1) { - $31 = HEAP32[$28 >> 2] | 0; - $32 = $31; - $34 = HEAP32[$32 >> 2] | 0; - $37 = HEAP32[$32 + 4 >> 2] | 0; - $38 = HEAP32[$29 >> 2] | 0; - $39 = $2 + $$048 | 0; - switch (FUNCTION_TABLE_iiiiiiiii[HEAP32[(HEAP32[$38 >> 2] | 0) + 16 >> 2] & 15]($38, $31, $2, $39, $4, $3, $30, $5) | 0) { + $6 = HEAP32[$__st_ >> 2] | 0; + $7 = $6; + $9 = HEAP32[$7 >> 2] | 0; + $12 = HEAP32[$7 + 4 >> 2] | 0; + $13 = HEAP32[$__cv_ >> 2] | 0; + $add$ptr = $__extbuf + $__nread$0 | 0; + switch (FUNCTION_TABLE_iiiiiiiii[HEAP32[(HEAP32[$13 >> 2] | 0) + 16 >> 2] & 15]($13, $6, $__extbuf, $add$ptr, $__enxt, $__1buf, $add$ptr20, $__inxt) | 0) { case 3: { label = 15; @@ -64927,109 +65271,239 @@ function __ZNSt3__210__stdinbufIcE9__getcharEb($0, $1) { default: break L11; } - $45 = HEAP32[$28 >> 2] | 0; - HEAP32[$45 >> 2] = $34; - HEAP32[$45 + 4 >> 2] = $37; - if (($$048 | 0) == 8) { + $16 = HEAP32[$__st_ >> 2] | 0; + HEAP32[$16 >> 2] = $9; + HEAP32[$16 + 4 >> 2] = $12; + if (($__nread$0 | 0) == 8) { label = 17; break; } - $51 = _getc(HEAP32[$15 >> 2] | 0) | 0; - if (($51 | 0) == -1) { + $call29 = _getc(HEAP32[$__file_ >> 2] | 0) | 0; + if (($call29 | 0) == -1) { label = 17; break; } - HEAP8[$39 >> 0] = $51; - $$048 = $$048 + 1 | 0; + HEAP8[$add$ptr >> 0] = $call29; + $__nread$0 = $__nread$0 + 1 | 0; } - if ((label | 0) == 15) HEAP8[$3 >> 0] = HEAP8[$2 >> 0] | 0; else if ((label | 0) == 17) { - $$9 = __ZNSt3__211char_traitsIcE3eofEv() | 0; + if ((label | 0) == 15) HEAP8[$__1buf >> 0] = HEAP8[$__extbuf >> 0] | 0; else if ((label | 0) == 17) { + $retval$9 = __ZNSt3__211char_traitsIcE3eofEv() | 0; break; } - $$351 = $$048; + $__nread$3 = $__nread$0; label = 19; } else { - HEAP8[$3 >> 0] = HEAP8[$2 >> 0] | 0; - $$351 = $$sroa$speculated; + HEAP8[$__1buf >> 0] = HEAP8[$__extbuf >> 0] | 0; + $__nread$3 = $$sroa$speculated; label = 19; } while (0); L21 : do if ((label | 0) == 19) { - L23 : do if ($1) { - $67 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$3 >> 0] | 0) | 0; - HEAP32[$0 + 48 >> 2] = $67; + L23 : do if ($__consume) { + $call73 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$__1buf >> 0] | 0) | 0; + HEAP32[$this + 48 >> 2] = $call73; } else { - $$0 = $$351; + $__i56$0 = $__nread$3; do { - if (($$0 | 0) <= 0) break L23; - $$0 = $$0 + -1 | 0; - $61 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$2 + $$0 >> 0] | 0) | 0; - } while ((_ungetc($61, HEAP32[$15 >> 2] | 0) | 0) != -1); - $$9 = __ZNSt3__211char_traitsIcE3eofEv() | 0; + if (($__i56$0 | 0) <= 0) break L23; + $__i56$0 = $__i56$0 + -1 | 0; + $call62 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$__extbuf + $__i56$0 >> 0] | 0) | 0; + } while ((_ungetc($call62, HEAP32[$__file_ >> 2] | 0) | 0) != -1); + $retval$9 = __ZNSt3__211char_traitsIcE3eofEv() | 0; break L21; } while (0); - $$9 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$3 >> 0] | 0) | 0; + $retval$9 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$__1buf >> 0] | 0) | 0; } while (0); - $$10 = $$9; + $retval$10 = $retval$9; } - $$11 = $$10; + $retval$11 = $retval$10; } STACKTOP = sp; - return $$11 | 0; + return $retval$11 | 0; } -function __ZNSt3__210__stdinbufIwE9__getcharEb($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $$048 = 0, $$052 = 0, $$10 = 0, $$11 = 0, $$351 = 0, $$9 = 0, $$sroa$speculated = 0, $10 = 0, $11 = 0, $13 = 0, $15 = 0, $18 = 0, $2 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $35 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $46 = 0, $5 = 0, $52 = 0, $6 = 0, $64 = 0, $70 = 0, $9 = 0, label = 0, sp = 0; +function _jpeg_idct_6x6($cinfo, $compptr, $coef_block, $output_buf, $output_col) { + $cinfo = $cinfo | 0; + $compptr = $compptr | 0; + $coef_block = $coef_block | 0; + $output_buf = $output_buf | 0; + $output_col = $output_col | 0; + var $0 = 0, $18 = 0, $19 = 0, $20 = 0, $add = 0, $add$ptr = 0, $add$ptr63 = 0, $add14 = 0, $add32 = 0, $add35 = 0, $add69 = 0, $add7 = 0, $add74 = 0, $add83 = 0, $add86 = 0, $ctr$0123 = 0, $ctr$1119 = 0, $inptr$0120 = 0, $mul13 = 0, $mul19 = 0, $mul23 = 0, $mul27 = 0, $mul29 = 0, $mul6 = 0, $mul68 = 0, $mul73 = 0, $mul80 = 0, $quantptr$0121 = 0, $shl38 = 0, $shl66 = 0, $shl89 = 0, $shr = 0, $sub15 = 0, $sub71 = 0, $sub75 = 0, $workspace = 0, $wsptr$0122 = 0, $wsptr$1118 = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 144 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(144); + $workspace = sp; + $0 = HEAP32[$cinfo + 336 >> 2] | 0; + $ctr$0123 = 0; + $inptr$0120 = $coef_block; + $quantptr$0121 = HEAP32[$compptr + 84 >> 2] | 0; + $wsptr$0122 = $workspace; + while (1) { + $add = Math_imul(HEAP16[$inptr$0120 >> 1] << 13, HEAP32[$quantptr$0121 >> 2] | 0) | 0 | 1024; + $mul6 = Math_imul((HEAP16[$inptr$0120 + 64 >> 1] | 0) * 5793 | 0, HEAP32[$quantptr$0121 + 128 >> 2] | 0) | 0; + $add7 = $mul6 + $add | 0; + $shr = (Math_imul($mul6, -2) | 0) + $add >> 11; + $mul13 = Math_imul((HEAP16[$inptr$0120 + 32 >> 1] | 0) * 10033 | 0, HEAP32[$quantptr$0121 + 64 >> 2] | 0) | 0; + $add14 = $mul13 + $add7 | 0; + $sub15 = $add7 - $mul13 | 0; + $mul19 = Math_imul(HEAP32[$quantptr$0121 + 32 >> 2] | 0, HEAP16[$inptr$0120 + 16 >> 1] | 0) | 0; + $mul23 = Math_imul(HEAP32[$quantptr$0121 + 96 >> 2] | 0, HEAP16[$inptr$0120 + 48 >> 1] | 0) | 0; + $mul27 = Math_imul(HEAP32[$quantptr$0121 + 160 >> 2] | 0, HEAP16[$inptr$0120 + 80 >> 1] | 0) | 0; + $mul29 = ($mul27 + $mul19 | 0) * 2998 | 0; + $add32 = $mul29 + ($mul23 + $mul19 << 13) | 0; + $add35 = $mul29 + ($mul27 - $mul23 << 13) | 0; + $shl38 = $mul19 - $mul23 - $mul27 << 2; + HEAP32[$wsptr$0122 >> 2] = $add32 + $add14 >> 11; + HEAP32[$wsptr$0122 + 120 >> 2] = $add14 - $add32 >> 11; + HEAP32[$wsptr$0122 + 24 >> 2] = $shl38 + $shr; + HEAP32[$wsptr$0122 + 96 >> 2] = $shr - $shl38; + HEAP32[$wsptr$0122 + 48 >> 2] = $add35 + $sub15 >> 11; + HEAP32[$wsptr$0122 + 72 >> 2] = $sub15 - $add35 >> 11; + $ctr$0123 = $ctr$0123 + 1 | 0; + if (($ctr$0123 | 0) == 6) break; else { + $inptr$0120 = $inptr$0120 + 2 | 0; + $quantptr$0121 = $quantptr$0121 + 4 | 0; + $wsptr$0122 = $wsptr$0122 + 4 | 0; + } + } + $add$ptr = $0 + -384 | 0; + $ctr$1119 = 0; + $wsptr$1118 = $workspace; + while (1) { + $add$ptr63 = (HEAP32[$output_buf + ($ctr$1119 << 2) >> 2] | 0) + $output_col | 0; + $shl66 = (HEAP32[$wsptr$1118 >> 2] << 13) + 134348800 | 0; + $mul68 = (HEAP32[$wsptr$1118 + 16 >> 2] | 0) * 5793 | 0; + $add69 = $shl66 + $mul68 | 0; + $sub71 = $shl66 - $mul68 - $mul68 | 0; + $mul73 = (HEAP32[$wsptr$1118 + 8 >> 2] | 0) * 10033 | 0; + $add74 = $add69 + $mul73 | 0; + $sub75 = $add69 - $mul73 | 0; + $18 = HEAP32[$wsptr$1118 + 4 >> 2] | 0; + $19 = HEAP32[$wsptr$1118 + 12 >> 2] | 0; + $20 = HEAP32[$wsptr$1118 + 20 >> 2] | 0; + $mul80 = ($20 + $18 | 0) * 2998 | 0; + $add83 = $mul80 + ($19 + $18 << 13) | 0; + $add86 = $mul80 + ($20 - $19 << 13) | 0; + $shl89 = $18 - $19 - $20 << 13; + HEAP8[$add$ptr63 >> 0] = HEAP8[$add$ptr + (($add83 + $add74 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr63 + 5 >> 0] = HEAP8[$add$ptr + (($add74 - $add83 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr63 + 1 >> 0] = HEAP8[$add$ptr + (($shl89 + $sub71 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr63 + 4 >> 0] = HEAP8[$add$ptr + (($sub71 - $shl89 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr63 + 2 >> 0] = HEAP8[$add$ptr + (($add86 + $sub75 | 0) >>> 18 & 1023) >> 0] | 0; + HEAP8[$add$ptr63 + 3 >> 0] = HEAP8[$add$ptr + (($sub75 - $add86 | 0) >>> 18 & 1023) >> 0] | 0; + $ctr$1119 = $ctr$1119 + 1 | 0; + if (($ctr$1119 | 0) == 6) break; else $wsptr$1118 = $wsptr$1118 + 24 | 0; + } + STACKTOP = sp; + return; +} + +function __ZN6vision14VisualDatabaseINS_14FREAKExtractorENS_18BinaryFeatureStoreENS_20BinaryFeatureMatcherILi96EEEE5queryEPKNS_25GaussianScaleSpacePyramidE($this, $pyramid) { + $this = $this | 0; + $pyramid = $pyramid | 0; + var $2 = 0, $4 = 0, $6 = 0, $8 = 0, $__cntrl_$i$i = 0, $__cntrl_3$i$i = 0, $agg$tmp$i = 0, $agg$tmp$i$byval_copy = 0, $call = 0, $call10 = 0, $call12 = 0, $call21 = 0, $call28 = 0, $call3 = 0, $call37 = 0, $call55 = 0, $call65 = 0, $call72 = 0, $cond$i$i$i = 0, $mDetector = 0, $mQueryKeyframe = 0, $ref$tmp$i = 0, $vararg_buffer = 0, label = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 64 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(64); + $agg$tmp$i$byval_copy = sp + 16 | 0; + $vararg_buffer = sp; + $ref$tmp$i = sp + 56 | 0; + $agg$tmp$i = sp + 48 | 0; + $mDetector = $this + 160 | 0; + $call = __ZNK6vision25DoGScaleInvariantDetector5widthEv($mDetector) | 0; + $call3 = __ZNK6vision25GaussianScaleSpacePyramid6imagesEv($pyramid) | 0; + if (($call | 0) == (__ZNK6vision5Image5widthEv(HEAP32[$call3 >> 2] | 0) | 0) ? ($call10 = __ZNK6vision25DoGScaleInvariantDetector6heightEv($mDetector) | 0, $call12 = __ZNK6vision25GaussianScaleSpacePyramid6imagesEv($pyramid) | 0, ($call10 | 0) == (__ZNK6vision5Image6heightEv(HEAP32[$call12 >> 2] | 0) | 0)) : 0) {} else __ZN6vision25DoGScaleInvariantDetector5allocEPKNS_25GaussianScaleSpacePyramidE($mDetector, $pyramid); + $mQueryKeyframe = $this + 64 | 0; + $call21 = __Znwm(148) | 0; + __ZN6vision8KeyframeILi96EEC2Ev($call21); + HEAP32[$agg$tmp$i >> 2] = 0; + HEAP32[$agg$tmp$i$byval_copy >> 2] = HEAP32[$agg$tmp$i >> 2]; + __ZNSt3__210shared_ptrIN6vision8KeyframeILi96EEEEC2IS3_EEPT_NS_9enable_ifIXsr14is_convertibleIS7_PS3_EE5valueENS4_5__natEE4typeE($ref$tmp$i, $call21, $agg$tmp$i$byval_copy); + $2 = HEAP32[$ref$tmp$i >> 2] | 0; + HEAP32[$ref$tmp$i >> 2] = HEAP32[$mQueryKeyframe >> 2]; + HEAP32[$mQueryKeyframe >> 2] = $2; + $__cntrl_$i$i = $ref$tmp$i + 4 | 0; + $__cntrl_3$i$i = $this + 68 | 0; + $4 = HEAP32[$__cntrl_$i$i >> 2] | 0; + HEAP32[$__cntrl_$i$i >> 2] = HEAP32[$__cntrl_3$i$i >> 2]; + HEAP32[$__cntrl_3$i$i >> 2] = $4; + __ZNSt3__210shared_ptrIN6vision8KeyframeILi96EEEED2Ev($ref$tmp$i); + $6 = HEAP32[$mQueryKeyframe >> 2] | 0; + $call28 = __ZNK6vision25GaussianScaleSpacePyramid6imagesEv($pyramid) | 0; + __ZN6vision8KeyframeILi96EE8setWidthEi($6, __ZNK6vision5Image5widthEv(HEAP32[$call28 >> 2] | 0) | 0); + $8 = HEAP32[$mQueryKeyframe >> 2] | 0; + $call37 = __ZNK6vision25GaussianScaleSpacePyramid6imagesEv($pyramid) | 0; + __ZN6vision8KeyframeILi96EE9setHeightEi($8, __ZNK6vision5Image6heightEv(HEAP32[$call37 >> 2] | 0) | 0); + __ZN6vision11ScopedTimerC2EPKc($agg$tmp$i$byval_copy, 33455); + if (__ZN6vision11ScopedTimercvbEv($agg$tmp$i$byval_copy) | 0) __ZN6vision12FindFeaturesINS_14FREAKExtractorELi96EEEvPNS_8KeyframeIXT0_EEEPKNS_25GaussianScaleSpacePyramidEPNS_25DoGScaleInvariantDetectorEPT_(HEAP32[$mQueryKeyframe >> 2] | 0, $pyramid, $mDetector, $this + 316 | 0); + __ZN6vision11ScopedTimerD2Ev($agg$tmp$i$byval_copy); + $call55 = __ZN6vision6Logger11getInstanceEv() | 0; + __ZN6vision15get_pretty_timeEv($agg$tmp$i$byval_copy); + $cond$i$i$i = (HEAP8[$agg$tmp$i$byval_copy + 11 >> 0] | 0) < 0 ? HEAP32[$agg$tmp$i$byval_copy >> 2] | 0 : $agg$tmp$i$byval_copy; + $call65 = __ZNK6vision18BinaryFeatureStore4sizeEv(__ZN6vision8KeyframeILi96EE5storeEv(HEAP32[$mQueryKeyframe >> 2] | 0) | 0) | 0; + HEAP32[$vararg_buffer >> 2] = 39923; + HEAP32[$vararg_buffer + 4 >> 2] = $cond$i$i$i; + HEAP32[$vararg_buffer + 8 >> 2] = 35098; + HEAP32[$vararg_buffer + 12 >> 2] = $call65; + __ZN6vision6Logger5writeENS_19LoggerPriorityLevelEPKcz($call55, 8, 35054, $vararg_buffer); + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($agg$tmp$i$byval_copy); + $call72 = __ZN6vision14VisualDatabaseINS_14FREAKExtractorENS_18BinaryFeatureStoreENS_20BinaryFeatureMatcherILi96EEEE5queryEPKNS_8KeyframeILi96EEE($this, HEAP32[$mQueryKeyframe >> 2] | 0) | 0; + STACKTOP = sp; + return $call72 | 0; +} + +function __ZNSt3__210__stdinbufIwE9__getcharEb($this, $__consume) { + $this = $this | 0; + $__consume = $__consume | 0; + var $$sroa$speculated = 0, $1 = 0, $12 = 0, $13 = 0, $16 = 0, $2 = 0, $6 = 0, $7 = 0, $9 = 0, $__1buf = 0, $__cv_ = 0, $__enxt = 0, $__extbuf = 0, $__file_ = 0, $__i$0 = 0, $__i58$0 = 0, $__inxt = 0, $__last_consumed_ = 0, $__last_consumed_is_next_ = 0, $__nread$0 = 0, $__nread$3 = 0, $__st_ = 0, $add$ptr = 0, $add$ptr21 = 0, $call = 0, $call30 = 0, $call65 = 0, $call76 = 0, $call8 = 0, $retval$10 = 0, $retval$11 = 0, $retval$9 = 0, label = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 32 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $2 = sp + 16 | 0; - $3 = sp + 8 | 0; - $4 = sp + 4 | 0; - $5 = sp; - $6 = $0 + 52 | 0; - if (HEAP8[$6 >> 0] | 0) { - $9 = $0 + 48 | 0; - $10 = HEAP32[$9 >> 2] | 0; - if ($1) { - $11 = __ZNSt3__211char_traitsIwE3eofEv() | 0; - HEAP32[$9 >> 2] = $11; - HEAP8[$6 >> 0] = 0; - $$11 = $10; - } else $$11 = $10; + $__extbuf = sp + 16 | 0; + $__1buf = sp + 8 | 0; + $__enxt = sp + 4 | 0; + $__inxt = sp; + $__last_consumed_is_next_ = $this + 52 | 0; + if (HEAP8[$__last_consumed_is_next_ >> 0] | 0) { + $__last_consumed_ = $this + 48 | 0; + $1 = HEAP32[$__last_consumed_ >> 2] | 0; + if ($__consume) { + $call = __ZNSt3__211char_traitsIwE3eofEv() | 0; + HEAP32[$__last_consumed_ >> 2] = $call; + HEAP8[$__last_consumed_is_next_ >> 0] = 0; + $retval$11 = $1; + } else $retval$11 = $1; } else { - $13 = HEAP32[$0 + 44 >> 2] | 0; - $$sroa$speculated = ($13 | 0) > 1 ? $13 : 1; - $15 = $0 + 32 | 0; - $$052 = 0; + $2 = HEAP32[$this + 44 >> 2] | 0; + $$sroa$speculated = ($2 | 0) > 1 ? $2 : 1; + $__file_ = $this + 32 | 0; + $__i$0 = 0; while (1) { - if ($$052 >>> 0 >= $$sroa$speculated >>> 0) { + if ($__i$0 >>> 0 >= $$sroa$speculated >>> 0) { label = 9; break; } - $18 = _getc(HEAP32[$15 >> 2] | 0) | 0; - if (($18 | 0) == -1) { + $call8 = _getc(HEAP32[$__file_ >> 2] | 0) | 0; + if (($call8 | 0) == -1) { label = 8; break; } - HEAP8[$2 + $$052 >> 0] = $18; - $$052 = $$052 + 1 | 0; + HEAP8[$__extbuf + $__i$0 >> 0] = $call8; + $__i$0 = $__i$0 + 1 | 0; } - if ((label | 0) == 8) $$10 = __ZNSt3__211char_traitsIwE3eofEv() | 0; else if ((label | 0) == 9) { - do if (!(HEAP8[$0 + 53 >> 0] | 0)) { - $29 = $0 + 40 | 0; - $30 = $0 + 36 | 0; - $31 = $3 + 4 | 0; - $$048 = $$sroa$speculated; + if ((label | 0) == 8) $retval$10 = __ZNSt3__211char_traitsIwE3eofEv() | 0; else if ((label | 0) == 9) { + do if (!(HEAP8[$this + 53 >> 0] | 0)) { + $__st_ = $this + 40 | 0; + $__cv_ = $this + 36 | 0; + $add$ptr21 = $__1buf + 4 | 0; + $__nread$0 = $$sroa$speculated; L11 : while (1) { - $32 = HEAP32[$29 >> 2] | 0; - $33 = $32; - $35 = HEAP32[$33 >> 2] | 0; - $38 = HEAP32[$33 + 4 >> 2] | 0; - $39 = HEAP32[$30 >> 2] | 0; - $40 = $2 + $$048 | 0; - switch (FUNCTION_TABLE_iiiiiiiii[HEAP32[(HEAP32[$39 >> 2] | 0) + 16 >> 2] & 15]($39, $32, $2, $40, $4, $3, $31, $5) | 0) { + $6 = HEAP32[$__st_ >> 2] | 0; + $7 = $6; + $9 = HEAP32[$7 >> 2] | 0; + $12 = HEAP32[$7 + 4 >> 2] | 0; + $13 = HEAP32[$__cv_ >> 2] | 0; + $add$ptr = $__extbuf + $__nread$0 | 0; + switch (FUNCTION_TABLE_iiiiiiiii[HEAP32[(HEAP32[$13 >> 2] | 0) + 16 >> 2] & 15]($13, $6, $__extbuf, $add$ptr, $__enxt, $__1buf, $add$ptr21, $__inxt) | 0) { case 3: { label = 15; @@ -65047,2274 +65521,3900 @@ function __ZNSt3__210__stdinbufIwE9__getcharEb($0, $1) { default: break L11; } - $46 = HEAP32[$29 >> 2] | 0; - HEAP32[$46 >> 2] = $35; - HEAP32[$46 + 4 >> 2] = $38; - if (($$048 | 0) == 8) { + $16 = HEAP32[$__st_ >> 2] | 0; + HEAP32[$16 >> 2] = $9; + HEAP32[$16 + 4 >> 2] = $12; + if (($__nread$0 | 0) == 8) { label = 17; break; } - $52 = _getc(HEAP32[$15 >> 2] | 0) | 0; - if (($52 | 0) == -1) { + $call30 = _getc(HEAP32[$__file_ >> 2] | 0) | 0; + if (($call30 | 0) == -1) { label = 17; break; } - HEAP8[$40 >> 0] = $52; - $$048 = $$048 + 1 | 0; + HEAP8[$add$ptr >> 0] = $call30; + $__nread$0 = $__nread$0 + 1 | 0; } - if ((label | 0) == 15) HEAP32[$3 >> 2] = HEAP8[$2 >> 0]; else if ((label | 0) == 17) { - $$9 = __ZNSt3__211char_traitsIwE3eofEv() | 0; + if ((label | 0) == 15) HEAP32[$__1buf >> 2] = HEAP8[$__extbuf >> 0]; else if ((label | 0) == 17) { + $retval$9 = __ZNSt3__211char_traitsIwE3eofEv() | 0; break; } - $$351 = $$048; + $__nread$3 = $__nread$0; label = 19; } else { - HEAP32[$3 >> 2] = HEAP8[$2 >> 0]; - $$351 = $$sroa$speculated; + HEAP32[$__1buf >> 2] = HEAP8[$__extbuf >> 0]; + $__nread$3 = $$sroa$speculated; label = 19; } while (0); L21 : do if ((label | 0) == 19) { - L23 : do if ($1) { - $70 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$3 >> 2] | 0) | 0; - HEAP32[$0 + 48 >> 2] = $70; + L23 : do if ($__consume) { + $call76 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$__1buf >> 2] | 0) | 0; + HEAP32[$this + 48 >> 2] = $call76; } else { - $$0 = $$351; + $__i58$0 = $__nread$3; do { - if (($$0 | 0) <= 0) break L23; - $$0 = $$0 + -1 | 0; - $64 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP8[$2 + $$0 >> 0] | 0) | 0; - } while ((_ungetc($64, HEAP32[$15 >> 2] | 0) | 0) != -1); - $$9 = __ZNSt3__211char_traitsIwE3eofEv() | 0; + if (($__i58$0 | 0) <= 0) break L23; + $__i58$0 = $__i58$0 + -1 | 0; + $call65 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP8[$__extbuf + $__i58$0 >> 0] | 0) | 0; + } while ((_ungetc($call65, HEAP32[$__file_ >> 2] | 0) | 0) != -1); + $retval$9 = __ZNSt3__211char_traitsIwE3eofEv() | 0; break L21; } while (0); - $$9 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$3 >> 2] | 0) | 0; + $retval$9 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$__1buf >> 2] | 0) | 0; } while (0); - $$10 = $$9; + $retval$10 = $retval$9; } - $$11 = $$10; + $retval$11 = $retval$10; } STACKTOP = sp; - return $$11 | 0; + return $retval$11 | 0; } -function _jpeg_idct_6x6($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $$0149162 = 0, $$0151161 = 0, $$0152160 = 0, $$0163 = 0, $$1150158 = 0, $$1159 = 0, $100 = 0, $102 = 0, $104 = 0, $106 = 0, $108 = 0, $111 = 0, $114 = 0, $117 = 0, $15 = 0, $22 = 0, $23 = 0, $25 = 0, $32 = 0, $33 = 0, $34 = 0, $40 = 0, $46 = 0, $5 = 0, $52 = 0, $54 = 0, $57 = 0, $60 = 0, $63 = 0, $7 = 0, $83 = 0, $86 = 0, $89 = 0, $92 = 0, $93 = 0, $95 = 0, $98 = 0, $99 = 0, sp = 0; +function __ZNSt3__29__num_getIcE19__stage2_float_loopEcRbRcPcRS4_ccRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSE_RjS4_($__ct, $__in_units, $__exp, $__a, $__a_end, $__decimal_point, $__thousands_sep, $__grouping, $__g, $__g_end, $__dc, $__atoms) { + $__ct = $__ct | 0; + $__in_units = $__in_units | 0; + $__exp = $__exp | 0; + $__a = $__a | 0; + $__a_end = $__a_end | 0; + $__decimal_point = $__decimal_point | 0; + $__thousands_sep = $__thousands_sep | 0; + $__grouping = $__grouping | 0; + $__g = $__g | 0; + $__g_end = $__g_end | 0; + $__dc = $__dc | 0; + $__atoms = $__atoms | 0; + var $1 = 0, $10 = 0, $12 = 0, $13 = 0, $18 = 0, $2 = 0, $22 = 0, $24 = 0, $25 = 0, $26 = 0, $4 = 0, $5 = 0, $6 = 0, $9 = 0, $__first$addr$0$i$idx = 0, $__first$addr$0$i$ptr = 0, $__first$addr$0$lcssa$i = 0, $add$ptr = 0, $and58 = 0, $retval$2 = 0, $sub$ptr$sub31 = 0; + L1 : do if ($__ct << 24 >> 24 == $__decimal_point << 24 >> 24) if (HEAP8[$__in_units >> 0] | 0) { + HEAP8[$__in_units >> 0] = 0; + $1 = HEAP32[$__a_end >> 2] | 0; + HEAP32[$__a_end >> 2] = $1 + 1; + HEAP8[$1 >> 0] = 46; + $2 = HEAP8[$__grouping + 11 >> 0] | 0; + if ((($2 << 24 >> 24 < 0 ? HEAP32[$__grouping + 4 >> 2] | 0 : $2 & 255) | 0) != 0 ? ($4 = HEAP32[$__g_end >> 2] | 0, ($4 - $__g | 0) < 160) : 0) { + $5 = HEAP32[$__dc >> 2] | 0; + HEAP32[$__g_end >> 2] = $4 + 4; + HEAP32[$4 >> 2] = $5; + $retval$2 = 0; + } else $retval$2 = 0; + } else $retval$2 = -1; else { + if ($__ct << 24 >> 24 == $__thousands_sep << 24 >> 24 ? ($6 = HEAP8[$__grouping + 11 >> 0] | 0, ($6 << 24 >> 24 < 0 ? HEAP32[$__grouping + 4 >> 2] | 0 : $6 & 255) | 0) : 0) { + if (!(HEAP8[$__in_units >> 0] | 0)) { + $retval$2 = -1; + break; + } + $9 = HEAP32[$__g_end >> 2] | 0; + if (($9 - $__g | 0) >= 160) { + $retval$2 = 0; + break; + } + $10 = HEAP32[$__dc >> 2] | 0; + HEAP32[$__g_end >> 2] = $9 + 4; + HEAP32[$9 >> 2] = $10; + HEAP32[$__dc >> 2] = 0; + $retval$2 = 0; + break; + } + $add$ptr = $__atoms + 32 | 0; + $__first$addr$0$i$idx = 0; + while (1) { + $__first$addr$0$i$ptr = $__atoms + $__first$addr$0$i$idx | 0; + if (($__first$addr$0$i$idx | 0) == 32) { + $__first$addr$0$lcssa$i = $add$ptr; + break; + } + if ((HEAP8[$__first$addr$0$i$ptr >> 0] | 0) == $__ct << 24 >> 24) { + $__first$addr$0$lcssa$i = $__first$addr$0$i$ptr; + break; + } else $__first$addr$0$i$idx = $__first$addr$0$i$idx + 1 | 0; + } + $sub$ptr$sub31 = $__first$addr$0$lcssa$i - $__atoms | 0; + if (($sub$ptr$sub31 | 0) > 31) $retval$2 = -1; else { + $12 = HEAP8[12928 + $sub$ptr$sub31 >> 0] | 0; + switch ($sub$ptr$sub31 | 0) { + case 24: + case 25: + { + $13 = HEAP32[$__a_end >> 2] | 0; + if (($13 | 0) != ($__a | 0) ? (HEAP8[$13 + -1 >> 0] & 95) != (HEAP8[$__exp >> 0] & 127) : 0) { + $retval$2 = -1; + break L1; + } + HEAP32[$__a_end >> 2] = $13 + 1; + HEAP8[$13 >> 0] = $12; + $retval$2 = 0; + break L1; + break; + } + case 23: + case 22: + { + HEAP8[$__exp >> 0] = 80; + $18 = HEAP32[$__a_end >> 2] | 0; + HEAP32[$__a_end >> 2] = $18 + 1; + HEAP8[$18 >> 0] = $12; + $retval$2 = 0; + break L1; + break; + } + default: + { + $and58 = $12 & 95; + if (((($and58 | 0) == (HEAP8[$__exp >> 0] | 0) ? (HEAP8[$__exp >> 0] = $and58 | 128, HEAP8[$__in_units >> 0] | 0) : 0) ? (HEAP8[$__in_units >> 0] = 0, $22 = HEAP8[$__grouping + 11 >> 0] | 0, ($22 << 24 >> 24 < 0 ? HEAP32[$__grouping + 4 >> 2] | 0 : $22 & 255) | 0) : 0) ? ($24 = HEAP32[$__g_end >> 2] | 0, ($24 - $__g | 0) < 160) : 0) { + $25 = HEAP32[$__dc >> 2] | 0; + HEAP32[$__g_end >> 2] = $24 + 4; + HEAP32[$24 >> 2] = $25; + } + $26 = HEAP32[$__a_end >> 2] | 0; + HEAP32[$__a_end >> 2] = $26 + 1; + HEAP8[$26 >> 0] = $12; + if (($sub$ptr$sub31 | 0) > 21) { + $retval$2 = 0; + break L1; + } + HEAP32[$__dc >> 2] = (HEAP32[$__dc >> 2] | 0) + 1; + $retval$2 = 0; + break L1; + } + } + } + } while (0); + return $retval$2 | 0; +} + +function _arGetMarkerInfo($image, $xsize, $ysize, $pixelFormat, $markerInfo2, $marker2_num, $pattHandle, $imageProcMode, $pattDetectMode, $arParamLTf, $pattRatio, $markerInfo, $marker_num, $matrixCodeType) { + $image = $image | 0; + $xsize = $xsize | 0; + $ysize = $ysize | 0; + $pixelFormat = $pixelFormat | 0; + $markerInfo2 = $markerInfo2 | 0; + $marker2_num = $marker2_num | 0; + $pattHandle = $pattHandle | 0; + $imageProcMode = $imageProcMode | 0; + $pattDetectMode = $pattDetectMode | 0; + $arParamLTf = $arParamLTf | 0; + $pattRatio = +$pattRatio; + $markerInfo = $markerInfo | 0; + $marker_num = $marker_num | 0; + $matrixCodeType = $matrixCodeType | 0; + var $$sink = 0, $$sink96$in = 0, $0 = 0, $arraydecay29 = 0, $call46 = 0, $cfMatrix = 0, $cfMatrix$sink = 0, $cfPatt = 0, $cmp108 = 0, $dirMatrix = 0, $dirPatt = 0, $i$0 = 0, $idMatrix = 0, $idPatt = 0, $j$0 = 0, $j$1 = 0, $pos0 = 0, $pos1 = 0, label = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 144 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(144); - $5 = sp; - $7 = HEAP32[$0 + 336 >> 2] | 0; - $$0149162 = $5; - $$0151161 = HEAP32[$1 + 84 >> 2] | 0; - $$0152160 = $2; - $$0163 = 0; - while (1) { - $15 = Math_imul(HEAP16[$$0152160 >> 1] << 13, HEAP32[$$0151161 >> 2] | 0) | 0 | 1024; - $22 = Math_imul((HEAP16[$$0152160 + 64 >> 1] | 0) * 5793 | 0, HEAP32[$$0151161 + 128 >> 2] | 0) | 0; - $23 = $22 + $15 | 0; - $25 = (Math_imul($22, -2) | 0) + $15 >> 11; - $32 = Math_imul((HEAP16[$$0152160 + 32 >> 1] | 0) * 10033 | 0, HEAP32[$$0151161 + 64 >> 2] | 0) | 0; - $33 = $32 + $23 | 0; - $34 = $23 - $32 | 0; - $40 = Math_imul(HEAP32[$$0151161 + 32 >> 2] | 0, HEAP16[$$0152160 + 16 >> 1] | 0) | 0; - $46 = Math_imul(HEAP32[$$0151161 + 96 >> 2] | 0, HEAP16[$$0152160 + 48 >> 1] | 0) | 0; - $52 = Math_imul(HEAP32[$$0151161 + 160 >> 2] | 0, HEAP16[$$0152160 + 80 >> 1] | 0) | 0; - $54 = ($52 + $40 | 0) * 2998 | 0; - $57 = $54 + ($46 + $40 << 13) | 0; - $60 = $54 + ($52 - $46 << 13) | 0; - $63 = $40 - $46 - $52 << 2; - HEAP32[$$0149162 >> 2] = $57 + $33 >> 11; - HEAP32[$$0149162 + 120 >> 2] = $33 - $57 >> 11; - HEAP32[$$0149162 + 24 >> 2] = $63 + $25; - HEAP32[$$0149162 + 96 >> 2] = $25 - $63; - HEAP32[$$0149162 + 48 >> 2] = $60 + $34 >> 11; - HEAP32[$$0149162 + 72 >> 2] = $34 - $60 >> 11; - $$0163 = $$0163 + 1 | 0; - if (($$0163 | 0) == 6) break; else { - $$0149162 = $$0149162 + 4 | 0; - $$0151161 = $$0151161 + 4 | 0; - $$0152160 = $$0152160 + 2 | 0; - } - } - $83 = $7 + -384 | 0; - $$1150158 = $5; - $$1159 = 0; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $pos0 = sp + 4 | 0; + $pos1 = sp; + $0 = $pattDetectMode >>> 0 < 2; + $cmp108 = ($pattDetectMode | 0) == 2; + $i$0 = 0; + $j$0 = 0; while (1) { - $86 = (HEAP32[$3 + ($$1159 << 2) >> 2] | 0) + $4 | 0; - $89 = (HEAP32[$$1150158 >> 2] << 13) + 134348800 | 0; - $92 = (HEAP32[$$1150158 + 16 >> 2] | 0) * 5793 | 0; - $93 = $89 + $92 | 0; - $95 = $89 - $92 - $92 | 0; - $98 = (HEAP32[$$1150158 + 8 >> 2] | 0) * 10033 | 0; - $99 = $93 + $98 | 0; - $100 = $93 - $98 | 0; - $102 = HEAP32[$$1150158 + 4 >> 2] | 0; - $104 = HEAP32[$$1150158 + 12 >> 2] | 0; - $106 = HEAP32[$$1150158 + 20 >> 2] | 0; - $108 = ($106 + $102 | 0) * 2998 | 0; - $111 = $108 + ($104 + $102 << 13) | 0; - $114 = $108 + ($106 - $104 << 13) | 0; - $117 = $102 - $104 - $106 << 13; - HEAP8[$86 >> 0] = HEAP8[$83 + (($111 + $99 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$86 + 5 >> 0] = HEAP8[$83 + (($99 - $111 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$86 + 1 >> 0] = HEAP8[$83 + (($117 + $95 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$86 + 4 >> 0] = HEAP8[$83 + (($95 - $117 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$86 + 2 >> 0] = HEAP8[$83 + (($114 + $100 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[$86 + 3 >> 0] = HEAP8[$83 + (($100 - $114 | 0) >>> 18 & 1023) >> 0] | 0; - $$1159 = $$1159 + 1 | 0; - if (($$1159 | 0) == 6) break; else $$1150158 = $$1150158 + 24 | 0; - } - STACKTOP = sp; - return; -} - -function __ZN6vision16FindHoughMatchesERNSt3__26vectorINS_7match_tENS0_9allocatorIS2_EEEERKNS_21HoughSimilarityVotingERKS5_if($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = +$4; - var $$0 = 0, $$031 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $15 = 0, $16 = 0, $21 = 0, $22 = 0, $34 = 0, $39 = 0, $43 = 0, $45 = 0, $5 = 0, $6 = 0, $7 = 0, $78 = 0, $8 = 0, $83 = 0, $84 = 0, $87 = 0, $9 = 0, $92 = 0, $93 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 48 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); - $5 = sp + 32 | 0; - $6 = sp + 28 | 0; - $7 = sp + 24 | 0; - $8 = sp + 20 | 0; - $9 = sp + 16 | 0; - $10 = sp + 12 | 0; - $11 = sp + 8 | 0; - $12 = sp + 4 | 0; - $13 = sp; - __ZNK6vision21HoughSimilarityVoting16getBinsFromIndexERiS1_S1_S1_i($1, $10, $11, $12, $13, $3); - $15 = $0 + 4 | 0; - HEAP32[$15 >> 2] = HEAP32[$0 >> 2]; - $16 = __ZNK6vision21HoughSimilarityVoting24getSubBinLocationIndicesEv($1) | 0; - $21 = (HEAP32[$16 + 4 >> 2] | 0) - (HEAP32[$16 >> 2] | 0) >> 2; - $22 = __ZNK6vision21HoughSimilarityVoting18getSubBinLocationsEv($1) | 0; - if ($21 >>> 0 > (HEAP32[$2 + 4 >> 2] | 0) - (HEAP32[$2 >> 2] | 0) >> 3 >>> 0) { - $34 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 35942) | 0, 34139) | 0, 39072) | 0, 342) | 0, 39079) | 0, 35988) | 0; - __ZNKSt3__28ios_base6getlocEv($5, $34 + (HEAP32[(HEAP32[$34 >> 2] | 0) + -12 >> 2] | 0) | 0); - $39 = __ZNKSt3__26locale9use_facetERNS0_2idE($5, 66512) | 0; - $43 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$39 >> 2] | 0) + 28 >> 2] & 127]($39, 10) | 0; - __ZNSt3__26localeD2Ev($5); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($34, $43) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($34) | 0; - _abort(); + if (($i$0 | 0) >= ($marker2_num | 0)) break; + HEAP32[$markerInfo + ($j$0 << 8) >> 2] = HEAP32[$markerInfo2 + ($i$0 * 80048 | 0) >> 2]; + if ((_arParamObserv2IdealLTf($arParamLTf, +HEAPF64[$markerInfo2 + ($i$0 * 80048 | 0) + 8 >> 3], +HEAPF64[$markerInfo2 + ($i$0 * 80048 | 0) + 16 >> 3], $pos0, $pos1) | 0) >= 0 ? (HEAPF64[$markerInfo + ($j$0 << 8) + 56 >> 3] = +HEAPF32[$pos0 >> 2], HEAPF64[$markerInfo + ($j$0 << 8) + 64 >> 3] = +HEAPF32[$pos1 >> 2], $arraydecay29 = $markerInfo + ($j$0 << 8) + 168 | 0, (_arGetLine($markerInfo2 + ($i$0 * 80048 | 0) + 28 | 0, $markerInfo2 + ($i$0 * 80048 | 0) + 40028 | 0, HEAP32[$markerInfo2 + ($i$0 * 80048 | 0) + 24 >> 2] | 0, $markerInfo2 + ($i$0 * 80048 | 0) + 80028 | 0, $arParamLTf, $markerInfo + ($j$0 << 8) + 72 | 0, $arraydecay29) | 0) >= 0) : 0) { + $idPatt = $markerInfo + ($j$0 << 8) + 8 | 0; + $dirPatt = $markerInfo + ($j$0 << 8) + 20 | 0; + $cfPatt = $markerInfo + ($j$0 << 8) + 40 | 0; + $idMatrix = $markerInfo + ($j$0 << 8) + 12 | 0; + $dirMatrix = $markerInfo + ($j$0 << 8) + 24 | 0; + $cfMatrix = $markerInfo + ($j$0 << 8) + 48 | 0; + $call46 = _arPattGetIDGlobal($pattHandle, $imageProcMode, $pattDetectMode, $image, $xsize, $ysize, $pixelFormat, $arParamLTf, $arraydecay29, $pattRatio, $idPatt, $dirPatt, $cfPatt, $idMatrix, $dirMatrix, $cfMatrix, $matrixCodeType, $markerInfo + ($j$0 << 8) + 240 | 0, $markerInfo + ($j$0 << 8) + 248 | 0) | 0; + switch ($call46 | 0) { + case 0: + { + $$sink = $call46; + label = 12; + break; + } + case -1: + { + $$sink = 2; + label = 12; + break; + } + case -2: + { + $$sink = 3; + label = 12; + break; + } + case -3: + { + $$sink = 4; + label = 12; + break; + } + case -4: + { + $$sink = 5; + label = 12; + break; + } + case -5: + { + $$sink = 9; + label = 12; + break; + } + case -6: + { + $$sink = 1; + label = 12; + break; + } + default: + {} + } + if ((label | 0) == 12) { + label = 0; + HEAP32[$markerInfo + ($j$0 << 8) + 236 >> 2] = $$sink; + } + if (!$0) { + if ($cmp108) { + HEAP32[$markerInfo + ($j$0 << 8) + 4 >> 2] = HEAP32[$idMatrix >> 2]; + $$sink96$in = $dirMatrix; + $cfMatrix$sink = $cfMatrix; + label = 17; + } + } else { + HEAP32[$markerInfo + ($j$0 << 8) + 4 >> 2] = HEAP32[$idPatt >> 2]; + $$sink96$in = $dirPatt; + $cfMatrix$sink = $cfPatt; + label = 17; + } + if ((label | 0) == 17) { + label = 0; + HEAP32[$markerInfo + ($j$0 << 8) + 16 >> 2] = HEAP32[$$sink96$in >> 2]; + HEAPF64[$markerInfo + ($j$0 << 8) + 32 >> 3] = +HEAPF64[$cfMatrix$sink >> 3]; + } + $j$1 = $j$0 + 1 | 0; + } else $j$1 = $j$0; + $i$0 = $i$0 + 1 | 0; + $j$0 = $j$1; } - $45 = $0 + 8 | 0; - $$0 = HEAP32[$22 >> 2] | 0; - $$031 = 0; - while (1) { - if (($$031 | 0) >= ($21 | 0)) break; - __ZNK6vision21HoughSimilarityVoting14getBinDistanceERfS1_S1_S1_ffffffff($1, $6, $7, $8, $9, +HEAPF32[$$0 >> 2], +HEAPF32[$$0 + 4 >> 2], +HEAPF32[$$0 + 8 >> 2], +HEAPF32[$$0 + 12 >> 2], +(HEAP32[$10 >> 2] | 0) + .5, +(HEAP32[$11 >> 2] | 0) + .5, +(HEAP32[$12 >> 2] | 0) + .5, +(HEAP32[$13 >> 2] | 0) + .5); - do if ((+HEAPF32[$6 >> 2] < $4 ? +HEAPF32[$7 >> 2] < $4 : 0) & +HEAPF32[$8 >> 2] < $4 & +HEAPF32[$9 >> 2] < $4) { - $78 = __ZNK6vision21HoughSimilarityVoting24getSubBinLocationIndicesEv($1) | 0; - $83 = (HEAP32[$2 >> 2] | 0) + (HEAP32[(HEAP32[$78 >> 2] | 0) + ($$031 << 2) >> 2] << 3) | 0; - $84 = HEAP32[$15 >> 2] | 0; - if (($84 | 0) == (HEAP32[$45 >> 2] | 0)) { - __ZNSt3__26vectorIN6vision7match_tENS_9allocatorIS2_EEE21__push_back_slow_pathIRKS2_EEvOT_($0, $83); + HEAP32[$marker_num >> 2] = $j$0; + STACKTOP = sp; + return 0; +} + +function __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE17__get_white_spaceERS4_S4_RjRKNS_5ctypeIwEE($this, $__b, $__e, $__err, $__ct) { + $this = $this | 0; + $__b = $__b | 0; + $__e = $__e | 0; + $__err = $__err | 0; + $__ct = $__ct | 0; + var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $16 = 0, $17 = 0, $21 = 0, $22 = 0, $26 = 0, $27 = 0, $32 = 0, $33 = 0, $34 = 0, $5 = 0, $6 = 0, $__ninp_$i$i5 = 0, $retval$0$i$i = 0, $retval$0$i$i$i$i = 0, $retval$0$i$i$i$i26 = 0, $retval$0$i$i13$i$i = 0, $retval$0$i$i13$i$i47 = 0, label = 0; + L1 : while (1) { + $0 = HEAP32[$__b >> 2] | 0; + do if ($0) { + $1 = HEAP32[$0 + 12 >> 2] | 0; + if (($1 | 0) == (HEAP32[$0 + 16 >> 2] | 0)) $retval$0$i$i$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$0 >> 2] | 0) + 36 >> 2] & 127]($0) | 0; else $retval$0$i$i$i$i = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$1 >> 2] | 0) | 0; + if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj($retval$0$i$i$i$i, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { + HEAP32[$__b >> 2] = 0; + $32 = 1; break; } else { - $87 = $83; - $92 = HEAP32[$87 + 4 >> 2] | 0; - $93 = $84; - HEAP32[$93 >> 2] = HEAP32[$87 >> 2]; - HEAP32[$93 + 4 >> 2] = $92; - HEAP32[$15 >> 2] = (HEAP32[$15 >> 2] | 0) + 8; + $32 = (HEAP32[$__b >> 2] | 0) == 0; break; } - } while (0); - $$0 = $$0 + 16 | 0; - $$031 = $$031 + 1 | 0; + } else $32 = 1; while (0); + $5 = HEAP32[$__e >> 2] | 0; + do if ($5) { + $6 = HEAP32[$5 + 12 >> 2] | 0; + if (($6 | 0) == (HEAP32[$5 + 16 >> 2] | 0)) $retval$0$i$i13$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$5 >> 2] | 0) + 36 >> 2] & 127]($5) | 0; else $retval$0$i$i13$i$i = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$6 >> 2] | 0) | 0; + if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj($retval$0$i$i13$i$i, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if ($32) { + $33 = $5; + break; + } else { + $26 = $5; + break L1; + } else { + HEAP32[$__e >> 2] = 0; + label = 15; + break; + } + } else label = 15; while (0); + if ((label | 0) == 15) { + label = 0; + if ($32) { + $26 = 0; + break; + } else $33 = 0; + } + $10 = HEAP32[$__b >> 2] | 0; + $11 = HEAP32[$10 + 12 >> 2] | 0; + if (($11 | 0) == (HEAP32[$10 + 16 >> 2] | 0)) $retval$0$i$i = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$10 >> 2] | 0) + 36 >> 2] & 127]($10) | 0; else $retval$0$i$i = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$11 >> 2] | 0) | 0; + if (!(FUNCTION_TABLE_iiii[HEAP32[(HEAP32[$__ct >> 2] | 0) + 12 >> 2] & 63]($__ct, 8192, $retval$0$i$i) | 0)) { + $26 = $33; + break; + } + $16 = HEAP32[$__b >> 2] | 0; + $__ninp_$i$i5 = $16 + 12 | 0; + $17 = HEAP32[$__ninp_$i$i5 >> 2] | 0; + if (($17 | 0) == (HEAP32[$16 + 16 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[$16 >> 2] | 0) + 40 >> 2] & 127]($16) | 0; else { + HEAP32[$__ninp_$i$i5 >> 2] = $17 + 4; + __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$17 >> 2] | 0) | 0; + } } - STACKTOP = sp; + $21 = HEAP32[$__b >> 2] | 0; + do if ($21) { + $22 = HEAP32[$21 + 12 >> 2] | 0; + if (($22 | 0) == (HEAP32[$21 + 16 >> 2] | 0)) $retval$0$i$i$i$i26 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$21 >> 2] | 0) + 36 >> 2] & 127]($21) | 0; else $retval$0$i$i$i$i26 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$22 >> 2] | 0) | 0; + if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj($retval$0$i$i$i$i26, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { + HEAP32[$__b >> 2] = 0; + $34 = 1; + break; + } else { + $34 = (HEAP32[$__b >> 2] | 0) == 0; + break; + } + } else $34 = 1; while (0); + do if ($26) { + $27 = HEAP32[$26 + 12 >> 2] | 0; + if (($27 | 0) == (HEAP32[$26 + 16 >> 2] | 0)) $retval$0$i$i13$i$i47 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$26 >> 2] | 0) + 36 >> 2] & 127]($26) | 0; else $retval$0$i$i13$i$i47 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$27 >> 2] | 0) | 0; + if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj($retval$0$i$i13$i$i47, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if ($34) break; else { + label = 40; + break; + } else { + HEAP32[$__e >> 2] = 0; + label = 38; + break; + } + } else label = 38; while (0); + if ((label | 0) == 38 ? $34 : 0) label = 40; + if ((label | 0) == 40) HEAP32[$__err >> 2] = HEAP32[$__err >> 2] | 2; return; } -function _scanexp($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $$04858 = 0, $$049 = 0, $$157 = 0, $$251 = 0, $$pre$phi69Z2D = 0, $100 = 0, $11 = 0, $13 = 0, $14 = 0, $2 = 0, $21 = 0, $22 = 0, $3 = 0, $36 = 0, $4 = 0, $43 = 0, $44 = 0, $49 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $57 = 0, $61 = 0, $68 = 0, $69 = 0, $78 = 0, $86 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $99 = 0, label = 0; - $2 = $0 + 4 | 0; - $3 = HEAP32[$2 >> 2] | 0; - $4 = $0 + 104 | 0; - if ($3 >>> 0 < (HEAP32[$4 >> 2] | 0) >>> 0) { - HEAP32[$2 >> 2] = $3 + 1; - $11 = HEAPU8[$3 >> 0] | 0; - } else $11 = ___shgetc($0) | 0; - switch ($11 | 0) { - case 43: - case 45: - { - $13 = ($11 | 0) == 45 & 1; - $14 = HEAP32[$2 >> 2] | 0; - if ($14 >>> 0 < (HEAP32[$4 >> 2] | 0) >>> 0) { - HEAP32[$2 >> 2] = $14 + 1; - $22 = HEAPU8[$14 >> 0] | 0; - } else $22 = ___shgetc($0) | 0; - $21 = $22 + -48 | 0; - if (($1 | 0) != 0 & $21 >>> 0 > 9) if (!(HEAP32[$4 >> 2] | 0)) { - $100 = 0; - $99 = -2147483648; +function _jpeg_idct_2x4($cinfo, $compptr, $coef_block, $output_buf, $output_col) { + $cinfo = $cinfo | 0; + $compptr = $compptr | 0; + $coef_block = $coef_block | 0; + $output_buf = $output_buf | 0; + $output_col = $output_col | 0; + var $0 = 0, $1 = 0, $add$ptr = 0, $add$ptr37 = 0, $add$ptr37$1 = 0, $add$ptr37$2 = 0, $add$ptr37$3 = 0, $add18 = 0, $add18$1 = 0, $add21 = 0, $add21$1 = 0, $add25 = 0, $add25$1 = 0, $add39 = 0, $add39$1 = 0, $add39$2 = 0, $add39$3 = 0, $mul = 0, $mul$1 = 0, $mul10 = 0, $mul10$1 = 0, $mul14 = 0, $mul14$1 = 0, $mul16 = 0, $mul16$1 = 0, $mul5 = 0, $mul5$1 = 0, $shl = 0, $shl$1 = 0, $shl6 = 0, $shl6$1 = 0, $sub20 = 0, $sub20$1 = 0, $sub23$1 = 0, $sub27 = 0, $sub27$1 = 0, $workspace = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 32 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); + $workspace = sp; + $0 = HEAP32[$cinfo + 336 >> 2] | 0; + $1 = HEAP32[$compptr + 84 >> 2] | 0; + $mul = Math_imul(HEAP32[$1 >> 2] | 0, HEAP16[$coef_block >> 1] | 0) | 0; + $mul5 = Math_imul(HEAP32[$1 + 64 >> 2] | 0, HEAP16[$coef_block + 32 >> 1] | 0) | 0; + $shl = $mul5 + $mul << 13; + $shl6 = $mul - $mul5 << 13; + $mul10 = Math_imul(HEAP32[$1 + 32 >> 2] | 0, HEAP16[$coef_block + 16 >> 1] | 0) | 0; + $mul14 = Math_imul(HEAP32[$1 + 96 >> 2] | 0, HEAP16[$coef_block + 48 >> 1] | 0) | 0; + $mul16 = ($mul14 + $mul10 | 0) * 4433 | 0; + $add18 = $mul16 + ($mul10 * 6270 | 0) | 0; + $sub20 = $mul16 + (Math_imul($mul14, -15137) | 0) | 0; + $add21 = $add18 + $shl | 0; + HEAP32[$workspace >> 2] = $add21; + HEAP32[$workspace + 24 >> 2] = $shl - $add18; + $add25 = $sub20 + $shl6 | 0; + HEAP32[$workspace + 8 >> 2] = $add25; + $sub27 = $shl6 - $sub20 | 0; + HEAP32[$workspace + 16 >> 2] = $sub27; + $mul$1 = Math_imul(HEAP32[$1 + 4 >> 2] | 0, HEAP16[$coef_block + 2 >> 1] | 0) | 0; + $mul5$1 = Math_imul(HEAP32[$1 + 68 >> 2] | 0, HEAP16[$coef_block + 34 >> 1] | 0) | 0; + $shl$1 = $mul5$1 + $mul$1 << 13; + $shl6$1 = $mul$1 - $mul5$1 << 13; + $mul10$1 = Math_imul(HEAP32[$1 + 36 >> 2] | 0, HEAP16[$coef_block + 18 >> 1] | 0) | 0; + $mul14$1 = Math_imul(HEAP32[$1 + 100 >> 2] | 0, HEAP16[$coef_block + 50 >> 1] | 0) | 0; + $mul16$1 = ($mul14$1 + $mul10$1 | 0) * 4433 | 0; + $add18$1 = $mul16$1 + ($mul10$1 * 6270 | 0) | 0; + $sub20$1 = $mul16$1 + (Math_imul($mul14$1, -15137) | 0) | 0; + $add21$1 = $add18$1 + $shl$1 | 0; + HEAP32[$workspace + 4 >> 2] = $add21$1; + $sub23$1 = $shl$1 - $add18$1 | 0; + HEAP32[$workspace + 28 >> 2] = $sub23$1; + $add25$1 = $sub20$1 + $shl6$1 | 0; + HEAP32[$workspace + 12 >> 2] = $add25$1; + $sub27$1 = $shl6$1 - $sub20$1 | 0; + HEAP32[$workspace + 20 >> 2] = $sub27$1; + $add$ptr = $0 + -384 | 0; + $add$ptr37 = (HEAP32[$output_buf >> 2] | 0) + $output_col | 0; + $add39 = $add21 + 33587200 | 0; + HEAP8[$add$ptr37 >> 0] = HEAP8[$add$ptr + (($add39 + $add21$1 | 0) >>> 16 & 1023) >> 0] | 0; + HEAP8[$add$ptr37 + 1 >> 0] = HEAP8[$add$ptr + (($add39 - $add21$1 | 0) >>> 16 & 1023) >> 0] | 0; + $add$ptr37$1 = (HEAP32[$output_buf + 4 >> 2] | 0) + $output_col | 0; + $add39$1 = $add25 + 33587200 | 0; + HEAP8[$add$ptr37$1 >> 0] = HEAP8[$add$ptr + (($add39$1 + $add25$1 | 0) >>> 16 & 1023) >> 0] | 0; + HEAP8[$add$ptr37$1 + 1 >> 0] = HEAP8[$add$ptr + (($add39$1 - $add25$1 | 0) >>> 16 & 1023) >> 0] | 0; + $add$ptr37$2 = (HEAP32[$output_buf + 8 >> 2] | 0) + $output_col | 0; + $add39$2 = $sub27 + 33587200 | 0; + HEAP8[$add$ptr37$2 >> 0] = HEAP8[$add$ptr + (($add39$2 + $sub27$1 | 0) >>> 16 & 1023) >> 0] | 0; + HEAP8[$add$ptr37$2 + 1 >> 0] = HEAP8[$add$ptr + (($add39$2 - $sub27$1 | 0) >>> 16 & 1023) >> 0] | 0; + $add$ptr37$3 = (HEAP32[$output_buf + 12 >> 2] | 0) + $output_col | 0; + $add39$3 = (HEAP32[$workspace + 24 >> 2] | 0) + 33587200 | 0; + HEAP8[$add$ptr37$3 >> 0] = HEAP8[$add$ptr + (($add39$3 + $sub23$1 | 0) >>> 16 & 1023) >> 0] | 0; + HEAP8[$add$ptr37$3 + 1 >> 0] = HEAP8[$add$ptr + (($add39$3 - $sub23$1 | 0) >>> 16 & 1023) >> 0] | 0; + STACKTOP = sp; + return; +} + +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E17parseTemplateArgsEb($this, $TagTemplates) { + $this = $this | 0; + $TagTemplates = $TagTemplates | 0; + var $Arg = 0, $Names = 0, $OldParams = 0, $TableEntry = 0, $TemplateParams = 0, $call11 = 0, $call21 = 0, $call32 = 0, $call4 = 0, $ref$tmp = 0, $retval$6 = 0, label = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 64 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(64); + $OldParams = sp + 16 | 0; + $Arg = sp + 12 | 0; + $TableEntry = sp + 8 | 0; + $ref$tmp = sp; + do if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($this, 73) | 0) { + $TemplateParams = $this + 288 | 0; + if ($TagTemplates) __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm8EE5clearEv($TemplateParams); + $Names = $this + 8 | 0; + $call4 = __ZNK12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE4sizeEv($Names) | 0; + while (1) { + if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($this, 69) | 0) { + label = 16; + break; + } + if ($TagTemplates) { + __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm8EEC2EOS4_($OldParams, $TemplateParams); + $call11 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E16parseTemplateArgEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0) | 0; + HEAP32[$Arg >> 2] = $call11; + __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm8EEaSEOS4_($TemplateParams, $OldParams); + if (!$call11) { + label = 12; + break; + } + __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE9push_backERKS3_($Names, $Arg); + HEAP32[$TableEntry >> 2] = $call11; + if ((__ZNK12_GLOBAL__N_116itanium_demangle4Node7getKindEv($call11) | 0) << 24 >> 24 == 28) { + __ZNK12_GLOBAL__N_116itanium_demangle20TemplateArgumentPack11getElementsEv($ref$tmp, $call11); + $call21 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_13ParameterPackEJNS0_9NodeArrayEEEEPNS0_4NodeEDpOT0_($this, $ref$tmp) | 0; + HEAP32[$TableEntry >> 2] = $call21; + } + __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm8EE9push_backERKS3_($TemplateParams, $TableEntry); + __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm8EED2Ev($OldParams); } else { - HEAP32[$2 >> 2] = (HEAP32[$2 >> 2] | 0) + -1; - label = 14; + $call32 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E16parseTemplateArgEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0) | 0; + HEAP32[$OldParams >> 2] = $call32; + if (!$call32) { + label = 15; + break; + } + __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE9push_backERKS3_($Names, $OldParams); + } + } + if ((label | 0) == 12) { + __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm8EED2Ev($OldParams); + $retval$6 = 0; + break; + } else if ((label | 0) == 15) { + $retval$6 = 0; + break; + } else if ((label | 0) == 16) { + __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E20popTrailingNodeArrayEm($OldParams, $this, $call4); + $retval$6 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_12TemplateArgsEJNS0_9NodeArrayEEEEPNS0_4NodeEDpOT0_($this, $OldParams) | 0; + break; + } + } else $retval$6 = 0; while (0); + STACKTOP = sp; + return $retval$6 | 0; +} + +function _arParamIdeal2Observ($dist_factor, $ix, $iy, $ox, $oy, $dist_function_version) { + $dist_factor = $dist_factor | 0; + $ix = +$ix; + $iy = +$iy; + $ox = $ox | 0; + $oy = $oy | 0; + $dist_function_version = $dist_function_version | 0; + var $10 = 0.0, $17 = 0.0, $18 = 0.0, $2 = 0.0, $24 = 0.0, $25 = 0.0, $3 = 0.0, $4 = 0.0, $5 = 0.0, $6 = 0.0, $7 = 0.0, $8 = 0.0, $9 = 0.0, $add = 0.0, $add112 = 0.0, $add18 = 0.0, $add70 = 0.0, $arrayidx140 = 0, $arrayidx58 = 0, $arrayidx99 = 0, $div = 0.0, $div11 = 0.0, $mul102 = 0.0, $mul139 = 0.0, $mul143 = 0.0, $mul57 = 0.0, $mul61 = 0.0, $mul98 = 0.0, $retval$0 = 0, $storemerge$sink = 0.0, $sub122 = 0.0, $sub157 = 0.0, $sub80 = 0.0, label = 0; + L1 : do switch ($dist_function_version | 0) { + case 4: + { + $2 = +HEAPF64[$dist_factor + 16 >> 3]; + $3 = +HEAPF64[$dist_factor + 24 >> 3]; + $4 = +HEAPF64[$dist_factor + 32 >> 3]; + $5 = +HEAPF64[$dist_factor + 40 >> 3]; + $6 = +HEAPF64[$dist_factor + 48 >> 3]; + $7 = +HEAPF64[$dist_factor + 56 >> 3]; + $8 = +HEAPF64[$dist_factor + 64 >> 3]; + $div = ($ix - $6) * $8 / $4; + $div11 = ($iy - $7) * $8 / $5; + $add = $div * $div + $div11 * $div11; + $add18 = +HEAPF64[$dist_factor >> 3] * $add + 1.0 + $add * (+HEAPF64[$dist_factor + 8 >> 3] * $add); + HEAPF64[$ox >> 3] = $6 + $4 * ($3 * ($add + $div * ($div * 2.0)) + ($div11 * ($2 * 2.0 * $div) + $div * $add18)); + $storemerge$sink = $7 + $5 * ($div11 * ($3 * 2.0 * $div) + ($2 * ($add + $div11 * ($div11 * 2.0)) + $div11 * $add18)); + label = 12; + break; + } + case 3: + { + $9 = +HEAPF64[$dist_factor >> 3]; + $10 = +HEAPF64[$dist_factor + 16 >> 3]; + $mul57 = ($ix - $9) * $10; + $arrayidx58 = $dist_factor + 8 | 0; + $mul61 = $10 * ($iy - +HEAPF64[$arrayidx58 >> 3]); + if ($mul57 == 0.0 & $mul61 == 0.0) { + HEAPF64[$ox >> 3] = $9; + $storemerge$sink = +HEAPF64[$arrayidx58 >> 3]; + label = 12; + break L1; } else { - $$0 = $13; - $$049 = $22; - $$pre$phi69Z2D = $21; + $add70 = $mul57 * $mul57 + $mul61 * $mul61; + $sub80 = 1.0 - $add70 * (+HEAPF64[$dist_factor + 32 >> 3] / 1.0e8) - $add70 * ($add70 * (+HEAPF64[$dist_factor + 40 >> 3] / 1.0e8 / 1.0e5)); + HEAPF64[$ox >> 3] = $9 + +HEAPF64[$dist_factor + 24 >> 3] * ($mul57 * $sub80); + $storemerge$sink = +HEAPF64[$arrayidx58 >> 3] + $mul61 * $sub80; label = 12; + break L1; } break; } - default: + case 2: { - $$0 = 0; - $$049 = $11; - $$pre$phi69Z2D = $11 + -48 | 0; - label = 12; + $17 = +HEAPF64[$dist_factor >> 3]; + $18 = +HEAPF64[$dist_factor + 16 >> 3]; + $mul98 = ($ix - $17) * $18; + $arrayidx99 = $dist_factor + 8 | 0; + $mul102 = $18 * ($iy - +HEAPF64[$arrayidx99 >> 3]); + if ($mul98 == 0.0 & $mul102 == 0.0) { + HEAPF64[$ox >> 3] = $17; + $storemerge$sink = +HEAPF64[$arrayidx99 >> 3]; + label = 12; + break L1; + } else { + $add112 = $mul98 * $mul98 + $mul102 * $mul102; + $sub122 = 1.0 - $add112 * (+HEAPF64[$dist_factor + 24 >> 3] / 1.0e8) - $add112 * ($add112 * (+HEAPF64[$dist_factor + 32 >> 3] / 1.0e8 / 1.0e5)); + HEAPF64[$ox >> 3] = $17 + $mul98 * $sub122; + $storemerge$sink = +HEAPF64[$arrayidx99 >> 3] + $mul102 * $sub122; + label = 12; + break L1; + } + break; } - } - if ((label | 0) == 12) if ($$pre$phi69Z2D >>> 0 > 9) label = 14; else { - $$04858 = 0; - $$157 = $$049; - while (1) { - $$04858 = $$157 + -48 + ($$04858 * 10 | 0) | 0; - $36 = HEAP32[$2 >> 2] | 0; - if ($36 >>> 0 < (HEAP32[$4 >> 2] | 0) >>> 0) { - HEAP32[$2 >> 2] = $36 + 1; - $44 = HEAPU8[$36 >> 0] | 0; - } else $44 = ___shgetc($0) | 0; - $43 = $44 + -48 | 0; - if (!($43 >>> 0 < 10 & ($$04858 | 0) < 214748364)) break; else $$157 = $44; - } - $49 = (($$04858 | 0) < 0) << 31 >> 31; - if ($43 >>> 0 < 10) { - $$251 = $44; - $51 = $$04858; - $52 = $49; - while (1) { - $53 = ___muldi3($51 | 0, $52 | 0, 10, 0) | 0; - $54 = getTempRet0() | 0; - $57 = _i64Add($$251 | 0, (($$251 | 0) < 0) << 31 >> 31 | 0, -48, -1) | 0; - $51 = _i64Add($57 | 0, getTempRet0() | 0, $53 | 0, $54 | 0) | 0; - $52 = getTempRet0() | 0; - $61 = HEAP32[$2 >> 2] | 0; - if ($61 >>> 0 < (HEAP32[$4 >> 2] | 0) >>> 0) { - HEAP32[$2 >> 2] = $61 + 1; - $69 = HEAPU8[$61 >> 0] | 0; - } else $69 = ___shgetc($0) | 0; - $68 = $69 + -48 | 0; - if (!($68 >>> 0 < 10 & (($52 | 0) < 21474836 | ($52 | 0) == 21474836 & $51 >>> 0 < 2061584302))) break; else $$251 = $69; - } - if ($68 >>> 0 < 10) { - do { - $78 = HEAP32[$2 >> 2] | 0; - if ($78 >>> 0 < (HEAP32[$4 >> 2] | 0) >>> 0) { - HEAP32[$2 >> 2] = $78 + 1; - $86 = HEAPU8[$78 >> 0] | 0; - } else $86 = ___shgetc($0) | 0; - } while (($86 + -48 | 0) >>> 0 < 10); - $93 = $51; - $94 = $52; + case 1: + { + $24 = +HEAPF64[$dist_factor >> 3]; + $25 = +HEAPF64[$dist_factor + 16 >> 3]; + $mul139 = ($ix - $24) * $25; + $arrayidx140 = $dist_factor + 8 | 0; + $mul143 = $25 * ($iy - +HEAPF64[$arrayidx140 >> 3]); + if ($mul139 == 0.0 & $mul143 == 0.0) { + HEAPF64[$ox >> 3] = $24; + $storemerge$sink = +HEAPF64[$arrayidx140 >> 3]; + label = 12; + break L1; } else { - $93 = $51; - $94 = $52; + $sub157 = 1.0 - ($mul139 * $mul139 + $mul143 * $mul143) * (+HEAPF64[$dist_factor + 24 >> 3] / 1.0e8); + HEAPF64[$ox >> 3] = $24 + $mul139 * $sub157; + $storemerge$sink = +HEAPF64[$arrayidx140 >> 3] + $mul143 * $sub157; + label = 12; + break L1; } - } else { - $93 = $$04858; - $94 = $49; - } - if (HEAP32[$4 >> 2] | 0) HEAP32[$2 >> 2] = (HEAP32[$2 >> 2] | 0) + -1; - $92 = ($$0 | 0) == 0; - $95 = _i64Subtract(0, 0, $93 | 0, $94 | 0) | 0; - $96 = getTempRet0() | 0; - $100 = $92 ? $93 : $95; - $99 = $92 ? $94 : $96; - } - if ((label | 0) == 14) if (!(HEAP32[$4 >> 2] | 0)) { - $100 = 0; - $99 = -2147483648; - } else { - HEAP32[$2 >> 2] = (HEAP32[$2 >> 2] | 0) + -1; - $100 = 0; - $99 = -2147483648; + break; + } + default: + $retval$0 = -1; + } while (0); + if ((label | 0) == 12) { + HEAPF64[$oy >> 3] = $storemerge$sink; + $retval$0 = 0; } - setTempRet0($99 | 0); - return $100 | 0; + return $retval$0 | 0; } -function _icpPoint($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $$0 = 0, $$088 = 0, $$090 = 0.0, $$091 = 0.0, $$092 = 0, $$1 = 0, $$189 = 0, $$2 = 0, $12 = 0, $15 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $34 = 0, $38 = 0.0, $42 = 0.0, $47 = 0, $5 = 0, $53 = 0.0, $6 = 0, $65 = 0, $7 = 0, $8 = 0, $9 = 0, $vararg_buffer = 0, $vararg_buffer1 = 0, label = 0, sp = 0; +function _icpPoint($handle, $data, $initMatXw2Xc, $matXw2Xc, $err) { + $handle = $handle | 0; + $data = $data | 0; + $initMatXw2Xc = $initMatXw2Xc | 0; + $matXw2Xc = $matXw2Xc | 0; + $err = $err | 0; + var $0 = 0, $13 = 0, $2 = 0, $4 = 0, $U = 0, $breakLoopErrorRatioThresh = 0, $breakLoopErrorThresh = 0, $breakLoopErrorThresh2 = 0, $call = 0, $call7 = 0, $dS = 0, $div = 0.0, $err0$0 = 0.0, $err1$0 = 0.0, $i$0 = 0, $i$1 = 0, $j$0 = 0, $j$1 = 0, $j$2 = 0, $matXw2U = 0, $maxLoop = 0, $mul43 = 0, $num = 0, $retval$0 = 0, $sub = 0.0, $sub39 = 0.0, $vararg_buffer = 0, $vararg_buffer1 = 0, $worldCoord = 0, $y38 = 0, label = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 176 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(176); $vararg_buffer1 = sp + 168 | 0; $vararg_buffer = sp + 160 | 0; - $5 = sp + 144 | 0; - $6 = sp + 48 | 0; - $7 = sp; - $8 = $1 + 8 | 0; - $9 = HEAP32[$8 >> 2] | 0; - do if (($9 | 0) >= 3) { - $12 = _malloc($9 * 96 | 0) | 0; - if (!$12) { - _arLog(0, 3, 45947, $vararg_buffer); - $$092 = -1; + $U = sp + 144 | 0; + $matXw2U = sp + 48 | 0; + $dS = sp; + $num = $data + 8 | 0; + $0 = HEAP32[$num >> 2] | 0; + do if (($0 | 0) >= 3) { + $call = _malloc($0 * 96 | 0) | 0; + if (!$call) { + _arLog(0, 3, 46789, $vararg_buffer); + $retval$0 = -1; break; } - $15 = _malloc($9 << 4) | 0; - if (!$15) { - _arLog(0, 3, 45947, $vararg_buffer1); - _free($12); - $$092 = -1; + $call7 = _malloc($0 << 4) | 0; + if (!$call7) { + _arLog(0, 3, 46789, $vararg_buffer1); + _free($call); + $retval$0 = -1; break; } - $$0 = 0; + $j$0 = 0; while (1) { - if (($$0 | 0) == 3) break; - $$088 = 0; + if (($j$0 | 0) == 3) break; + $i$0 = 0; while (1) { - if (($$088 | 0) == 4) break; - HEAPF64[$3 + ($$0 << 5) + ($$088 << 3) >> 3] = +HEAPF64[$2 + ($$0 << 5) + ($$088 << 3) >> 3]; - $$088 = $$088 + 1 | 0; - } - $$0 = $$0 + 1 | 0; - } - $22 = $1 + 4 | 0; - $23 = $5 + 8 | 0; - $24 = $0 + 104 | 0; - $25 = $0 + 96 | 0; - $26 = $0 + 120 | 0; - $27 = $0 + 112 | 0; - $$091 = 0.0; - $$189 = 0; + if (($i$0 | 0) == 4) break; + HEAPF64[$matXw2Xc + ($j$0 << 5) + ($i$0 << 3) >> 3] = +HEAPF64[$initMatXw2Xc + ($j$0 << 5) + ($i$0 << 3) >> 3]; + $i$0 = $i$0 + 1 | 0; + } + $j$0 = $j$0 + 1 | 0; + } + $worldCoord = $data + 4 | 0; + $y38 = $U + 8 | 0; + $breakLoopErrorThresh = $handle + 104 | 0; + $maxLoop = $handle + 96 | 0; + $breakLoopErrorThresh2 = $handle + 120 | 0; + $breakLoopErrorRatioThresh = $handle + 112 | 0; + $err0$0 = 0.0; + $i$1 = 0; L17 : while (1) { - _arUtilMatMul($0, $3, $6) | 0; - $$090 = 0.0; - $$1 = 0; + _arUtilMatMul($handle, $matXw2Xc, $matXw2U) | 0; + $err1$0 = 0.0; + $j$1 = 0; while (1) { - $28 = HEAP32[$8 >> 2] | 0; - if (($$1 | 0) >= ($28 | 0)) break; - if ((_icpGetU_from_X_by_MatX2U($5, $6, (HEAP32[$22 >> 2] | 0) + ($$1 * 24 | 0) | 0) | 0) < 0) { + $2 = HEAP32[$num >> 2] | 0; + if (($j$1 | 0) >= ($2 | 0)) break; + if ((_icpGetU_from_X_by_MatX2U($U, $matXw2U, (HEAP32[$worldCoord >> 2] | 0) + ($j$1 * 24 | 0) | 0) | 0) < 0) { label = 16; break L17; } - $34 = HEAP32[$1 >> 2] | 0; - $38 = +HEAPF64[$34 + ($$1 << 4) >> 3] - +HEAPF64[$5 >> 3]; - $42 = +HEAPF64[$34 + ($$1 << 4) + 8 >> 3] - +HEAPF64[$23 >> 3]; - $47 = $$1 << 1; - HEAPF64[$15 + ($47 << 3) >> 3] = $38; - HEAPF64[$15 + (($47 | 1) << 3) >> 3] = $42; - $$090 = $$090 + ($38 * $38 + $42 * $42); - $$1 = $$1 + 1 | 0; - } - $53 = $$090 / +($28 | 0); - if ($53 < +HEAPF64[$24 >> 3]) { + $4 = HEAP32[$data >> 2] | 0; + $sub = +HEAPF64[$4 + ($j$1 << 4) >> 3] - +HEAPF64[$U >> 3]; + $sub39 = +HEAPF64[$4 + ($j$1 << 4) + 8 >> 3] - +HEAPF64[$y38 >> 3]; + $mul43 = $j$1 << 1; + HEAPF64[$call7 + ($mul43 << 3) >> 3] = $sub; + HEAPF64[$call7 + (($mul43 | 1) << 3) >> 3] = $sub39; + $err1$0 = $err1$0 + ($sub * $sub + $sub39 * $sub39); + $j$1 = $j$1 + 1 | 0; + } + $div = $err1$0 / +($2 | 0); + if ($div < +HEAPF64[$breakLoopErrorThresh >> 3]) { label = 31; break; } - if (($$189 | 0 ? $53 < +HEAPF64[$26 >> 3] : 0) ? $53 / $$091 > +HEAPF64[$27 >> 3] : 0) { + if (($i$1 | 0 ? $div < +HEAPF64[$breakLoopErrorThresh2 >> 3] : 0) ? $div / $err0$0 > +HEAPF64[$breakLoopErrorRatioThresh >> 3] : 0) { label = 31; break; } - if (($$189 | 0) == (HEAP32[$25 >> 2] | 0)) { + if (($i$1 | 0) == (HEAP32[$maxLoop >> 2] | 0)) { label = 31; break; } - $$2 = 0; - $65 = $28; + $13 = $2; + $j$2 = 0; while (1) { - if (($$2 | 0) >= ($65 | 0)) break; - if ((_icpGetJ_U_S($12 + ($$2 * 12 << 3) | 0, $0, $3, (HEAP32[$22 >> 2] | 0) + ($$2 * 24 | 0) | 0) | 0) < 0) { + if (($j$2 | 0) >= ($13 | 0)) break; + if ((_icpGetJ_U_S($call + ($j$2 * 12 << 3) | 0, $handle, $matXw2Xc, (HEAP32[$worldCoord >> 2] | 0) + ($j$2 * 24 | 0) | 0) | 0) < 0) { label = 27; break L17; } - $$2 = $$2 + 1 | 0; - $65 = HEAP32[$8 >> 2] | 0; + $13 = HEAP32[$num >> 2] | 0; + $j$2 = $j$2 + 1 | 0; } - if ((_icpGetDeltaS($7, $15, $12, $65 << 1) | 0) < 0) { + if ((_icpGetDeltaS($dS, $call7, $call, $13 << 1) | 0) < 0) { label = 29; break; } - _icpUpdateMat($3, $7) | 0; - $$091 = $53; - $$189 = $$189 + 1 | 0; + _icpUpdateMat($matXw2Xc, $dS) | 0; + $err0$0 = $div; + $i$1 = $i$1 + 1 | 0; } if ((label | 0) == 16) { - _icpGetXw2XcCleanup($12, $15); - $$092 = -1; + _icpGetXw2XcCleanup($call, $call7); + $retval$0 = -1; break; } else if ((label | 0) == 27) { - _icpGetXw2XcCleanup($12, $15); - $$092 = -1; + _icpGetXw2XcCleanup($call, $call7); + $retval$0 = -1; break; } else if ((label | 0) == 29) { - _icpGetXw2XcCleanup($12, $15); - $$092 = -1; + _icpGetXw2XcCleanup($call, $call7); + $retval$0 = -1; break; } else if ((label | 0) == 31) { - HEAPF64[$4 >> 3] = $53; - _free($12); - _free($15); - $$092 = 0; + HEAPF64[$err >> 3] = $div; + _free($call); + _free($call7); + $retval$0 = 0; break; } - } else $$092 = -1; while (0); + } else $retval$0 = -1; while (0); STACKTOP = sp; - return $$092 | 0; + return $retval$0 | 0; } -function __ZNSt3__26vectorIiNS_9allocatorIiEEE6insertINS_11__wrap_iterIPKiEEEENS_9enable_ifIXaasr21__is_forward_iteratorIT_EE5valuesr16is_constructibleIiNS_15iterator_traitsISA_E9referenceEEE5valueENS5_IPiEEE4typeES8_SA_SA_($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $$0 = 0, $$0$i$i = 0, $$byval_copy2 = 0, $$byval_copy3 = 0, $$sroa$044$059 = 0, $10 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $20 = 0, $23 = 0, $24 = 0, $29 = 0, $30 = 0, $32 = 0, $34 = 0, $38 = 0, $4 = 0, $40 = 0, $46 = 0, $47 = 0, $5 = 0, $51 = 0, $52 = 0, $56 = 0, $6 = 0, $61 = 0, $7 = 0, $8 = 0, $9 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 48 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); - $$byval_copy3 = sp + 40 | 0; - $$byval_copy2 = sp + 36 | 0; - $4 = sp + 32 | 0; - $5 = sp + 28 | 0; - $6 = sp + 8 | 0; - $7 = sp + 4 | 0; - $8 = sp; - $9 = HEAP32[$0 >> 2] | 0; - $10 = $9; - $14 = $9 + ((HEAP32[$1 >> 2] | 0) - $10 >> 2 << 2) | 0; - $15 = HEAP32[$2 >> 2] | 0; - $16 = HEAP32[$3 >> 2] | 0; - $17 = $16 - $15 | 0; - $18 = $17 >> 2; - L1 : do if (($17 | 0) > 0) { - $20 = $0 + 8 | 0; - $23 = HEAP32[$0 + 4 >> 2] | 0; - $24 = $23; - if (($18 | 0) > ((HEAP32[$20 >> 2] | 0) - $24 >> 2 | 0)) { - $46 = ($24 - $10 >> 2) + $18 | 0; - $47 = __ZNKSt3__26vectorIiNS_9allocatorIiEEE8max_sizeEv($0) | 0; - if ($47 >>> 0 < $46 >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv($0); else { - $51 = HEAP32[$0 >> 2] | 0; - $52 = (HEAP32[$20 >> 2] | 0) - $51 | 0; - $56 = $52 >> 1; - __ZNSt3__214__split_bufferIiRNS_9allocatorIiEEEC2EmmS3_($6, $52 >> 2 >>> 0 < $47 >>> 1 >>> 0 ? ($56 >>> 0 < $46 >>> 0 ? $46 : $56) : $47, $14 - $51 >> 2, $0 + 8 | 0); - HEAP32[$7 >> 2] = $15; - HEAP32[$8 >> 2] = $16; - HEAP32[$$byval_copy2 >> 2] = HEAP32[$7 >> 2]; - HEAP32[$$byval_copy3 >> 2] = HEAP32[$8 >> 2]; - __ZNSt3__214__split_bufferIiRNS_9allocatorIiEEE18__construct_at_endINS_11__wrap_iterIPKiEEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESB_SB_($6, $$byval_copy2, $$byval_copy3); - $61 = __ZNSt3__26vectorIiNS_9allocatorIiEEE26__swap_out_circular_bufferERNS_14__split_bufferIiRS2_EEPi($0, $6, $14) | 0; - __ZNSt3__214__split_bufferIiRNS_9allocatorIiEEED2Ev($6); - $$0 = $61; - break; - } - } - $29 = $24 - $14 | 0; - $30 = $29 >> 2; - $32 = $15; - $34 = $32 + ($30 << 2) | 0; - if (($18 | 0) > ($30 | 0)) { - HEAP32[$4 >> 2] = $34; - HEAP32[$5 >> 2] = $16; - HEAP32[$$byval_copy2 >> 2] = HEAP32[$4 >> 2]; - HEAP32[$$byval_copy3 >> 2] = HEAP32[$5 >> 2]; - __ZNSt3__26vectorIiNS_9allocatorIiEEE18__construct_at_endINS_11__wrap_iterIPKiEEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESA_SA_m($0, $$byval_copy2, $$byval_copy3, $18 - $30 | 0); - if (($29 | 0) > 0) $$sroa$044$059 = $34; else { - $$0 = $14; - break; - } - } else $$sroa$044$059 = $16; - __ZNSt3__26vectorIiNS_9allocatorIiEEE12__move_rangeEPiS4_S4_($0, $14, $23, $14 + ($18 << 2) | 0); - $38 = $$sroa$044$059; - $$0$i$i = $14; - $40 = $32; +function _int_upsample($cinfo, $compptr, $input_data, $output_data_ptr) { + $cinfo = $cinfo | 0; + $compptr = $compptr | 0; + $input_data = $input_data | 0; + $output_data_ptr = $output_data_ptr | 0; + var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $16 = 0, $17 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $9 = 0, $add$ptr$us = 0, $add$ptr$us60 = 0, $cmp1131 = 0, $cmp1428 = 0, $conv = 0, $conv6 = 0, $h$029$us$us = 0, $h$029$us$us101 = 0, $inptr$033$us$us = 0, $inptr$033$us$us90 = 0, $inrow$035$us = 0, $inrow$035$us57 = 0, $max_v_samp_factor = 0, $outptr$032$us$us = 0, $outptr$032$us$us91 = 0, $outptr$130$us$us = 0, $outptr$130$us$us100 = 0, $output_width = 0, $outrow$036 = 0, $outrow$036$us = 0, $outrow$036$us56 = 0, $sub = 0, label = 0; + $0 = HEAP32[$cinfo + 476 >> 2] | 0; + $1 = HEAP32[$output_data_ptr >> 2] | 0; + $2 = HEAP32[$compptr + 4 >> 2] | 0; + $3 = HEAP8[$0 + 140 + $2 >> 0] | 0; + $conv = $3 & 255; + $4 = HEAP8[$0 + 150 + $2 >> 0] | 0; + $conv6 = $4 & 255; + $max_v_samp_factor = $cinfo + 320 | 0; + $5 = HEAP32[$max_v_samp_factor >> 2] | 0; + if (($5 | 0) <= 0) return; + $output_width = $cinfo + 112 | 0; + $cmp1428 = $3 << 24 >> 24 != 0; + $sub = $conv6 + -1 | 0; + if (($4 & 255) > 1) { + $9 = ($3 << 24 >> 24 == 0 ? ~$conv : -2) + $conv + 2 | 0; + $inrow$035$us = 0; + $outrow$036$us = 0; while (1) { - if (($40 | 0) == ($38 | 0)) { - $$0 = $14; - break L1; + $10 = HEAP32[$1 + ($outrow$036$us << 2) >> 2] | 0; + $11 = HEAP32[$output_width >> 2] | 0; + $add$ptr$us = $10 + $11 | 0; + if (($11 | 0) > 0) { + if (!$cmp1428) break; + $inptr$033$us$us = HEAP32[$input_data + ($inrow$035$us << 2) >> 2] | 0; + $outptr$032$us$us = $10; + while (1) { + _memset($outptr$032$us$us | 0, HEAP8[$inptr$033$us$us >> 0] | 0, $9 | 0) | 0; + $h$029$us$us = $conv; + $outptr$130$us$us = $outptr$032$us$us; + while (1) { + $outptr$130$us$us = $outptr$130$us$us + 1 | 0; + if (($h$029$us$us | 0) <= 1) break; else $h$029$us$us = $h$029$us$us + -1 | 0; + } + if ($outptr$130$us$us >>> 0 < $add$ptr$us >>> 0) { + $inptr$033$us$us = $inptr$033$us$us + 1 | 0; + $outptr$032$us$us = $outptr$130$us$us; + } else break; + } + $12 = HEAP32[$output_width >> 2] | 0; + } else $12 = $11; + _jcopy_sample_rows($1, $outrow$036$us, $1, $outrow$036$us + 1 | 0, $sub, $12); + $outrow$036$us = $outrow$036$us + $conv6 | 0; + if (($outrow$036$us | 0) >= (HEAP32[$max_v_samp_factor >> 2] | 0)) { + label = 27; + break; + } else $inrow$035$us = $inrow$035$us + 1 | 0; + } + if ((label | 0) == 27) return; + while (1) {} + } + if (!$cmp1428) { + $cmp1131 = (HEAP32[$output_width >> 2] | 0) > 0; + $outrow$036 = 0; + while (1) { + if ($cmp1131) break; + $outrow$036 = $outrow$036 + $conv6 | 0; + if (($outrow$036 | 0) >= ($5 | 0)) { + label = 27; + break; + } + } + if ((label | 0) == 27) return; + while (1) {} + } + $inrow$035$us57 = 0; + $outrow$036$us56 = 0; + while (1) { + $16 = HEAP32[$1 + ($outrow$036$us56 << 2) >> 2] | 0; + $17 = HEAP32[$output_width >> 2] | 0; + $add$ptr$us60 = $16 + $17 | 0; + if (($17 | 0) > 0) { + $inptr$033$us$us90 = HEAP32[$input_data + ($inrow$035$us57 << 2) >> 2] | 0; + $outptr$032$us$us91 = $16; + while (1) { + _memset($outptr$032$us$us91 | 0, HEAP8[$inptr$033$us$us90 >> 0] | 0, $conv | 0) | 0; + $h$029$us$us101 = $conv; + $outptr$130$us$us100 = $outptr$032$us$us91; + while (1) { + $outptr$130$us$us100 = $outptr$130$us$us100 + 1 | 0; + if (($h$029$us$us101 | 0) <= 1) break; else $h$029$us$us101 = $h$029$us$us101 + -1 | 0; + } + if ($outptr$130$us$us100 >>> 0 < $add$ptr$us60 >>> 0) { + $inptr$033$us$us90 = $inptr$033$us$us90 + 1 | 0; + $outptr$032$us$us91 = $outptr$130$us$us100; + } else break; + } + } + $outrow$036$us56 = $outrow$036$us56 + $conv6 | 0; + if (($outrow$036$us56 | 0) >= (HEAP32[$max_v_samp_factor >> 2] | 0)) break; else $inrow$035$us57 = $inrow$035$us57 + 1 | 0; + } + return; +} + +function _jinit_d_main_controller($cinfo, $need_full_buffer) { + $cinfo = $cinfo | 0; + $need_full_buffer = $need_full_buffer | 0; + var $13 = 0, $15 = 0, $2 = 0, $23 = 0, $24 = 0, $25 = 0, $29 = 0, $35 = 0, $36 = 0, $6 = 0, $7 = 0, $9 = 0, $add$i = 0, $add$ptr16$i = 0, $arrayidx6$i = 0, $buffer = 0, $call = 0, $call$i = 0, $call19 = 0, $ci$034 = 0, $ci$034$i = 0, $compptr$033$i = 0, $compptr$035 = 0, $div = 0, $div$i = 0, $inc = 0, $main = 0, $mem = 0, $min_DCT_v_scaled_size = 0, $mul12$i = 0, $mul17 = 0, $mul18 = 0, $mul8$i = 0, $ngroups$0 = 0, $num_components$i = 0, $num_components$phi$trans$insert = 0, $num_components$pre$phiZ2D = 0, $xbuffer$i = 0; + $mem = $cinfo + 4 | 0; + $call = FUNCTION_TABLE_iiii[HEAP32[HEAP32[$mem >> 2] >> 2] & 63]($cinfo, 1, 80) | 0; + $main = $cinfo + 448 | 0; + HEAP32[$main >> 2] = $call; + HEAP32[$call >> 2] = 138; + if ($need_full_buffer | 0) { + $2 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$2 + 20 >> 2] = 3; + FUNCTION_TABLE_vi[HEAP32[$2 >> 2] & 255]($cinfo); + } + $min_DCT_v_scaled_size = $cinfo + 328 | 0; + $6 = HEAP32[$min_DCT_v_scaled_size >> 2] | 0; + if (!(HEAP32[(HEAP32[$cinfo + 476 >> 2] | 0) + 8 >> 2] | 0)) { + HEAP32[$call + 52 >> 2] = $6; + $num_components$phi$trans$insert = $cinfo + 36 | 0; + $25 = HEAP32[$num_components$phi$trans$insert >> 2] | 0; + $36 = $6; + $ngroups$0 = $6; + $num_components$pre$phiZ2D = $num_components$phi$trans$insert; + } else { + if (($6 | 0) < 2) { + $7 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$7 + 20 >> 2] = 48; + FUNCTION_TABLE_vi[HEAP32[$7 >> 2] & 255]($cinfo); + $15 = HEAP32[$min_DCT_v_scaled_size >> 2] | 0; + } else $15 = $6; + $9 = HEAP32[$main >> 2] | 0; + $num_components$i = $cinfo + 36 | 0; + $call$i = FUNCTION_TABLE_iiii[HEAP32[HEAP32[$mem >> 2] >> 2] & 63]($cinfo, 1, HEAP32[$num_components$i >> 2] << 3) | 0; + $xbuffer$i = $9 + 60 | 0; + HEAP32[$xbuffer$i >> 2] = $call$i; + $13 = HEAP32[$num_components$i >> 2] | 0; + $arrayidx6$i = $9 + 64 | 0; + HEAP32[$arrayidx6$i >> 2] = $call$i + ($13 << 2); + if (($13 | 0) > 0) { + $add$i = $15 + 4 | 0; + $ci$034$i = 0; + $compptr$033$i = HEAP32[$cinfo + 216 >> 2] | 0; + while (1) { + $mul8$i = Math_imul(HEAP32[$compptr$033$i + 40 >> 2] | 0, HEAP32[$compptr$033$i + 12 >> 2] | 0) | 0; + $div$i = ($mul8$i | 0) / (HEAP32[$min_DCT_v_scaled_size >> 2] | 0) | 0; + $mul12$i = Math_imul($div$i, $add$i) | 0; + $add$ptr16$i = (FUNCTION_TABLE_iiii[HEAP32[HEAP32[$mem >> 2] >> 2] & 63]($cinfo, 1, $mul12$i << 3) | 0) + ($div$i << 2) | 0; + HEAP32[(HEAP32[$xbuffer$i >> 2] | 0) + ($ci$034$i << 2) >> 2] = $add$ptr16$i; + HEAP32[(HEAP32[$arrayidx6$i >> 2] | 0) + ($ci$034$i << 2) >> 2] = $add$ptr16$i + ($mul12$i << 2); + $ci$034$i = $ci$034$i + 1 | 0; + $23 = HEAP32[$num_components$i >> 2] | 0; + if (($ci$034$i | 0) >= ($23 | 0)) { + $35 = $23; + break; + } else $compptr$033$i = $compptr$033$i + 88 | 0; + } + } else $35 = $13; + $24 = HEAP32[$min_DCT_v_scaled_size >> 2] | 0; + $25 = $35; + $36 = $24; + $ngroups$0 = $24 + 2 | 0; + $num_components$pre$phiZ2D = $num_components$i; + } + if (($25 | 0) <= 0) return; + $buffer = $call + 8 | 0; + $29 = $36; + $ci$034 = 0; + $compptr$035 = HEAP32[$cinfo + 216 >> 2] | 0; + while (1) { + $div = (Math_imul(HEAP32[$compptr$035 + 40 >> 2] | 0, HEAP32[$compptr$035 + 12 >> 2] | 0) | 0) / ($29 | 0) | 0; + $mul17 = Math_imul(HEAP32[$compptr$035 + 36 >> 2] | 0, HEAP32[$compptr$035 + 28 >> 2] | 0) | 0; + $mul18 = Math_imul($div, $ngroups$0) | 0; + $call19 = FUNCTION_TABLE_iiiii[HEAP32[(HEAP32[$mem >> 2] | 0) + 8 >> 2] & 15]($cinfo, 1, $mul17, $mul18) | 0; + HEAP32[$buffer + ($ci$034 << 2) >> 2] = $call19; + $inc = $ci$034 + 1 | 0; + if (($inc | 0) >= (HEAP32[$num_components$pre$phiZ2D >> 2] | 0)) break; + $29 = HEAP32[$min_DCT_v_scaled_size >> 2] | 0; + $ci$034 = $inc; + $compptr$035 = $compptr$035 + 88 | 0; + } + return; +} + +function __ZNSt3__29__num_getIwE19__stage2_float_loopEwRbRcPcRS4_wwRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSE_RjPw($__ct, $__in_units, $__exp, $__a, $__a_end, $__decimal_point, $__thousands_sep, $__grouping, $__g, $__g_end, $__dc, $__atoms) { + $__ct = $__ct | 0; + $__in_units = $__in_units | 0; + $__exp = $__exp | 0; + $__a = $__a | 0; + $__a_end = $__a_end | 0; + $__decimal_point = $__decimal_point | 0; + $__thousands_sep = $__thousands_sep | 0; + $__grouping = $__grouping | 0; + $__g = $__g | 0; + $__g_end = $__g_end | 0; + $__dc = $__dc | 0; + $__atoms = $__atoms | 0; + var $1 = 0, $10 = 0, $12 = 0, $13 = 0, $17 = 0, $2 = 0, $25 = 0, $27 = 0, $28 = 0, $29 = 0, $4 = 0, $5 = 0, $6 = 0, $9 = 0, $__first$addr$0$i$idx = 0, $__first$addr$0$i$ptr = 0, $__first$addr$0$lcssa$i = 0, $add$ptr = 0, $and55 = 0, $retval$2 = 0, $sub$ptr$sub28 = 0; + L1 : do if (($__ct | 0) == ($__decimal_point | 0)) if (HEAP8[$__in_units >> 0] | 0) { + HEAP8[$__in_units >> 0] = 0; + $1 = HEAP32[$__a_end >> 2] | 0; + HEAP32[$__a_end >> 2] = $1 + 1; + HEAP8[$1 >> 0] = 46; + $2 = HEAP8[$__grouping + 11 >> 0] | 0; + if ((($2 << 24 >> 24 < 0 ? HEAP32[$__grouping + 4 >> 2] | 0 : $2 & 255) | 0) != 0 ? ($4 = HEAP32[$__g_end >> 2] | 0, ($4 - $__g | 0) < 160) : 0) { + $5 = HEAP32[$__dc >> 2] | 0; + HEAP32[$__g_end >> 2] = $4 + 4; + HEAP32[$4 >> 2] = $5; + $retval$2 = 0; + } else $retval$2 = 0; + } else $retval$2 = -1; else { + if (($__ct | 0) == ($__thousands_sep | 0) ? ($6 = HEAP8[$__grouping + 11 >> 0] | 0, ($6 << 24 >> 24 < 0 ? HEAP32[$__grouping + 4 >> 2] | 0 : $6 & 255) | 0) : 0) { + if (!(HEAP8[$__in_units >> 0] | 0)) { + $retval$2 = -1; + break; + } + $9 = HEAP32[$__g_end >> 2] | 0; + if (($9 - $__g | 0) >= 160) { + $retval$2 = 0; + break; + } + $10 = HEAP32[$__dc >> 2] | 0; + HEAP32[$__g_end >> 2] = $9 + 4; + HEAP32[$9 >> 2] = $10; + HEAP32[$__dc >> 2] = 0; + $retval$2 = 0; + break; + } + $add$ptr = $__atoms + 128 | 0; + $__first$addr$0$i$idx = 0; + while (1) { + $__first$addr$0$i$ptr = $__atoms + ($__first$addr$0$i$idx << 2) | 0; + if (($__first$addr$0$i$idx | 0) == 32) { + $__first$addr$0$lcssa$i = $add$ptr; + break; + } + if ((HEAP32[$__first$addr$0$i$ptr >> 2] | 0) == ($__ct | 0)) { + $__first$addr$0$lcssa$i = $__first$addr$0$i$ptr; + break; + } else $__first$addr$0$i$idx = $__first$addr$0$i$idx + 1 | 0; + } + $sub$ptr$sub28 = $__first$addr$0$lcssa$i - $__atoms | 0; + if (($sub$ptr$sub28 | 0) <= 124) { + $12 = HEAP8[12928 + ($sub$ptr$sub28 >> 2) >> 0] | 0; + $13 = $sub$ptr$sub28 + -88 | 0; + switch ($13 >>> 2 | $13 << 30 | 0) { + case 2: + case 3: + { + $17 = HEAP32[$__a_end >> 2] | 0; + if (($17 | 0) != ($__a | 0) ? (HEAP8[$17 + -1 >> 0] & 95) != (HEAP8[$__exp >> 0] & 127) : 0) { + $retval$2 = -1; + break L1; + } + HEAP32[$__a_end >> 2] = $17 + 1; + HEAP8[$17 >> 0] = $12; + $retval$2 = 0; + break L1; + break; + } + case 1: + case 0: + { + HEAP8[$__exp >> 0] = 80; + break; + } + default: + { + $and55 = $12 & 95; + if (((($and55 | 0) == (HEAP8[$__exp >> 0] | 0) ? (HEAP8[$__exp >> 0] = $and55 | 128, HEAP8[$__in_units >> 0] | 0) : 0) ? (HEAP8[$__in_units >> 0] = 0, $25 = HEAP8[$__grouping + 11 >> 0] | 0, ($25 << 24 >> 24 < 0 ? HEAP32[$__grouping + 4 >> 2] | 0 : $25 & 255) | 0) : 0) ? ($27 = HEAP32[$__g_end >> 2] | 0, ($27 - $__g | 0) < 160) : 0) { + $28 = HEAP32[$__dc >> 2] | 0; + HEAP32[$__g_end >> 2] = $27 + 4; + HEAP32[$27 >> 2] = $28; + } + } + } + $29 = HEAP32[$__a_end >> 2] | 0; + HEAP32[$__a_end >> 2] = $29 + 1; + HEAP8[$29 >> 0] = $12; + if (($sub$ptr$sub28 | 0) > 84) $retval$2 = 0; else { + HEAP32[$__dc >> 2] = (HEAP32[$__dc >> 2] | 0) + 1; + $retval$2 = 0; + } + } else $retval$2 = -1; + } while (0); + return $retval$2 | 0; +} + +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E14parseLocalNameEPNS5_9NameStateE($this, $State) { + $this = $this | 0; + $State = $State | 0; + var $Encoding = 0, $StringLitName = 0, $call11 = 0, $call2 = 0, $call22 = 0, $call3 = 0, $call30 = 0, $call36 = 0, $call9 = 0, $retval$1 = 0, $retval$2 = 0, $retval$3 = 0, $retval$4 = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $Encoding = sp + 8 | 0; + $StringLitName = sp; + if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($this, 90) | 0) { + $call2 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0; + $call3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E13parseEncodingEv($call2) | 0; + HEAP32[$Encoding >> 2] = $call3; + do if (($call3 | 0) != 0 ? __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($this, 69) | 0 : 0) { + if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($this, 115) | 0) { + $call9 = __ZN12_GLOBAL__N_116itanium_demangle19parse_discriminatorEPKcS2_(HEAP32[$this >> 2] | 0, HEAP32[$this + 4 >> 2] | 0) | 0; + HEAP32[$this >> 2] = $call9; + $call11 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA15_KcEEEPNS0_4NodeEDpOT0_($this, 56218) | 0; + HEAP32[$StringLitName >> 2] = $call11; + $retval$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_9LocalNameEJRPNS0_4NodeESA_EEES9_DpOT0_($this, $Encoding, $StringLitName) | 0; + break; + } + if (!(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($this, 100) | 0)) { + $call30 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseNameEPNS5_9NameStateE($call2, $State) | 0; + HEAP32[$StringLitName >> 2] = $call30; + if (!$call30) $retval$2 = 0; else { + $call36 = __ZN12_GLOBAL__N_116itanium_demangle19parse_discriminatorEPKcS2_(HEAP32[$this >> 2] | 0, HEAP32[$this + 4 >> 2] | 0) | 0; + HEAP32[$this >> 2] = $call36; + $retval$2 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_9LocalNameEJRPNS0_4NodeESA_EEES9_DpOT0_($this, $Encoding, $StringLitName) | 0; + } + $retval$3 = $retval$2; + break; + } + __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E11parseNumberEb($StringLitName, $this, 1); + if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($this, 95) | 0) { + $call22 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseNameEPNS5_9NameStateE($call2, $State) | 0; + HEAP32[$StringLitName >> 2] = $call22; + if (!$call22) $retval$1 = 0; else $retval$1 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_9LocalNameEJRPNS0_4NodeESA_EEES9_DpOT0_($this, $Encoding, $StringLitName) | 0; + $retval$3 = $retval$1; + } else $retval$3 = 0; + } else $retval$3 = 0; while (0); + $retval$4 = $retval$3; + } else $retval$4 = 0; + STACKTOP = sp; + return $retval$4 | 0; +} + +function __ZN6vision26ComputeSubpixelDerivativesERfS0_S0_S0_S0_RKNS_5ImageEii($Dx, $Dy, $Dxx, $Dyy, $Dxy, $im, $x, $y) { + $Dx = $Dx | 0; + $Dy = $Dy | 0; + $Dxx = $Dxx | 0; + $Dyy = $Dyy | 0; + $Dxy = $Dxy | 0; + $im = $im | 0; + $x = $x | 0; + $y = $y | 0; + var $add13 = 0, $arrayidx = 0, $arrayidx29 = 0, $arrayidx32 = 0, $arrayidx33 = 0, $arrayidx34 = 0, $call$i1$i$i = 0, $call$i1$i$i32 = 0, $call$i2$i$i = 0, $call$i2$i$i35 = 0, $call22 = 0, $call7 = 0, $ref$tmp$i$i27 = 0, $sub10 = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $ref$tmp$i$i27 = sp; + if (($x | 0) > 0 ? ($x + 1 | 0) >>> 0 < (__ZNK6vision5Image5widthEv($im) | 0) >>> 0 : 0) { + $sub10 = $y + -1 | 0; + if (($y | 0) > 0 ? ($add13 = $y + 1 | 0, $add13 >>> 0 < (__ZNK6vision5Image6heightEv($im) | 0) >>> 0) : 0) { + $arrayidx = (__ZNK6vision5Image3getIfEEPKT_m($im, $sub10) | 0) + ($x << 2) | 0; + $arrayidx29 = (__ZNK6vision5Image3getIfEEPKT_m($im, $y) | 0) + ($x << 2) | 0; + $arrayidx32 = (__ZNK6vision5Image3getIfEEPKT_m($im, $add13) | 0) + ($x << 2) | 0; + $arrayidx33 = $arrayidx29 + 4 | 0; + $arrayidx34 = $arrayidx29 + -4 | 0; + HEAPF32[$Dx >> 2] = (+HEAPF32[$arrayidx33 >> 2] - +HEAPF32[$arrayidx34 >> 2]) * .5; + HEAPF32[$Dy >> 2] = (+HEAPF32[$arrayidx32 >> 2] - +HEAPF32[$arrayidx >> 2]) * .5; + HEAPF32[$Dxx >> 2] = +HEAPF32[$arrayidx33 >> 2] + (+HEAPF32[$arrayidx34 >> 2] - +HEAPF32[$arrayidx29 >> 2] * 2.0); + HEAPF32[$Dyy >> 2] = +HEAPF32[$arrayidx32 >> 2] + (+HEAPF32[$arrayidx >> 2] - +HEAPF32[$arrayidx29 >> 2] * 2.0); + HEAPF32[$Dxy >> 2] = (+HEAPF32[$arrayidx + -4 >> 2] + +HEAPF32[$arrayidx32 + 4 >> 2] - (+HEAPF32[$arrayidx + 4 >> 2] + +HEAPF32[$arrayidx32 + -4 >> 2])) * .25; + STACKTOP = sp; + return; + } + $call22 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 30313) | 0, 28676) | 0, 39794) | 0, 285) | 0, 39801) | 0, 29191) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i$i27, $call22 + (HEAP32[(HEAP32[$call22 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i$i32 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i$i27, 67360) | 0; + $call$i2$i$i35 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i$i32 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i$i32, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i$i27); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call22, $call$i2$i$i35) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call22) | 0; + _abort(); + } + $call7 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 30257) | 0, 28676) | 0, 39794) | 0, 284) | 0, 39801) | 0, 29116) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i$i27, $call7 + (HEAP32[(HEAP32[$call7 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i$i = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i$i27, 67360) | 0; + $call$i2$i$i = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i$i >> 2] | 0) + 28 >> 2] & 127]($call$i1$i$i, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i$i27); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call7, $call$i2$i$i) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call7) | 0; + _abort(); +} + +function _check_square($area, $marker_info2, $factor) { + $area = $area | 0; + $marker_info2 = $marker_info2 | 0; + $factor = +$factor; + var $0 = 0, $1 = 0, $6 = 0, $7 = 0, $add = 0, $arrayidx = 0, $arrayidx1 = 0, $cmp15 = 0, $coord_num = 0, $div55 = 0, $div99 = 0, $dmax$0 = 0, $i$0 = 0, $mul = 0, $mul17 = 0.0, $retval$0 = 0, $spec$select = 0, $sub = 0, $sub10 = 0, $sub4 = 0, $v1$0 = 0, $vertex$sroa$12$0 = 0, $vertex$sroa$4$0 = 0, $vertex$sroa$8$0 = 0, $wv1 = 0, $wv2 = 0, $wvnum1 = 0, $wvnum2 = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 96 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(96); + $wv1 = sp + 48 | 0; + $wvnum1 = sp + 92 | 0; + $wv2 = sp; + $wvnum2 = sp + 88 | 0; + $arrayidx = $marker_info2 + 28 | 0; + $0 = HEAP32[$arrayidx >> 2] | 0; + $arrayidx1 = $marker_info2 + 40028 | 0; + $1 = HEAP32[$arrayidx1 >> 2] | 0; + $coord_num = $marker_info2 + 24 | 0; + $sub = (HEAP32[$coord_num >> 2] | 0) + -1 | 0; + $dmax$0 = 0; + $i$0 = 1; + $v1$0 = 0; + while (1) { + if (($i$0 | 0) >= ($sub | 0)) break; + $sub4 = (HEAP32[$marker_info2 + 28 + ($i$0 << 2) >> 2] | 0) - $0 | 0; + $mul = Math_imul($sub4, $sub4) | 0; + $sub10 = (HEAP32[$marker_info2 + 40028 + ($i$0 << 2) >> 2] | 0) - $1 | 0; + $add = (Math_imul($sub10, $sub10) | 0) + $mul | 0; + $cmp15 = ($add | 0) > ($dmax$0 | 0); + $spec$select = $cmp15 ? $i$0 : $v1$0; + $dmax$0 = $cmp15 ? $add : $dmax$0; + $i$0 = $i$0 + 1 | 0; + $v1$0 = $spec$select; + } + $mul17 = +($area | 0) / .75 * .01 * $factor; + HEAP32[$wvnum1 >> 2] = 0; + HEAP32[$wvnum2 >> 2] = 0; + L5 : do if ((_get_vertex($arrayidx, $arrayidx1, 0, $v1$0, $mul17, $wv1, $wvnum1) | 0) >= 0 ? (_get_vertex($arrayidx, $arrayidx1, $v1$0, (HEAP32[$coord_num >> 2] | 0) + -1 | 0, $mul17, $wv2, $wvnum2) | 0) >= 0 : 0) { + $6 = HEAP32[$wvnum1 >> 2] | 0; + $7 = HEAP32[$wvnum2 >> 2] | 0; + do if (($6 | 0) == 1 & ($7 | 0) == 1) { + $vertex$sroa$12$0 = HEAP32[$wv2 >> 2] | 0; + $vertex$sroa$4$0 = HEAP32[$wv1 >> 2] | 0; + $vertex$sroa$8$0 = $v1$0; + } else { + if (($6 | 0) > 1 & ($7 | 0) == 0) { + $div55 = ($v1$0 | 0) / 2 | 0; + HEAP32[$wvnum2 >> 2] = 0; + HEAP32[$wvnum1 >> 2] = 0; + if ((_get_vertex($arrayidx, $arrayidx1, 0, $div55, $mul17, $wv1, $wvnum1) | 0) < 0) { + $retval$0 = -1; + break L5; + } + if ((_get_vertex($arrayidx, $arrayidx1, $div55, $v1$0, $mul17, $wv2, $wvnum2) | 0) < 0) { + $retval$0 = -1; + break L5; + } + if (!((HEAP32[$wvnum1 >> 2] | 0) == 1 & (HEAP32[$wvnum2 >> 2] | 0) == 1)) { + $retval$0 = -1; + break L5; + } + $vertex$sroa$12$0 = $v1$0; + $vertex$sroa$4$0 = HEAP32[$wv1 >> 2] | 0; + $vertex$sroa$8$0 = HEAP32[$wv2 >> 2] | 0; + break; + } + if (!(($6 | 0) == 0 & ($7 | 0) > 1)) { + $retval$0 = -1; + break L5; + } + $div99 = ($v1$0 + -1 + (HEAP32[$coord_num >> 2] | 0) | 0) / 2 | 0; + HEAP32[$wvnum2 >> 2] = 0; + HEAP32[$wvnum1 >> 2] = 0; + if ((_get_vertex($arrayidx, $arrayidx1, $v1$0, $div99, $mul17, $wv1, $wvnum1) | 0) < 0) { + $retval$0 = -1; + break L5; + } + if ((_get_vertex($arrayidx, $arrayidx1, $div99, (HEAP32[$coord_num >> 2] | 0) + -1 | 0, $mul17, $wv2, $wvnum2) | 0) < 0) { + $retval$0 = -1; + break L5; + } + if (!((HEAP32[$wvnum1 >> 2] | 0) == 1 & (HEAP32[$wvnum2 >> 2] | 0) == 1)) { + $retval$0 = -1; + break L5; + } + $vertex$sroa$12$0 = HEAP32[$wv2 >> 2] | 0; + $vertex$sroa$4$0 = $v1$0; + $vertex$sroa$8$0 = HEAP32[$wv1 >> 2] | 0; + } while (0); + HEAP32[$marker_info2 + 80028 >> 2] = 0; + HEAP32[$marker_info2 + 80032 >> 2] = $vertex$sroa$4$0; + HEAP32[$marker_info2 + 80036 >> 2] = $vertex$sroa$8$0; + HEAP32[$marker_info2 + 80040 >> 2] = $vertex$sroa$12$0; + HEAP32[$marker_info2 + 80044 >> 2] = (HEAP32[$coord_num >> 2] | 0) + -1; + $retval$0 = 0; + } else $retval$0 = -1; while (0); + STACKTOP = sp; + return $retval$0 | 0; +} + +function _start_output_pass($cinfo) { + $cinfo = $cinfo | 0; + var $0 = 0, $11 = 0, $18 = 0, $21 = 0, $24 = 0, $27 = 0, $30 = 0, $36 = 0, $5 = 0, $arrayidx59$1$i = 0, $arrayidx59$2$i = 0, $arrayidx59$3$i = 0, $arrayidx59$4$i = 0, $arrayidx59$i = 0, $call$i = 0, $ci$037$i = 0, $coef_bits2$i = 0, $coef_bits_latch$040$i = 0, $coef_bits_latch3$i = 0, $compptr$038$i = 0, $decompress_smooth_data$sink = 0, $num_components$i = 0, $num_components9$pre$phi$iZ2D = 0, $output_iMCU_row = 0, $smoothing_useful$039$i = 0, label = 0; + $0 = HEAP32[$cinfo + 452 >> 2] | 0; + if (!(HEAP32[$0 + 16 >> 2] | 0)) { + $output_iMCU_row = $cinfo + 156 | 0; + HEAP32[$output_iMCU_row >> 2] = 0; + return; + } + L4 : do if (((HEAP32[$cinfo + 80 >> 2] | 0) != 0 ? (HEAP32[$cinfo + 224 >> 2] | 0) != 0 : 0) ? ($coef_bits2$i = $cinfo + 160 | 0, (HEAP32[$coef_bits2$i >> 2] | 0) != 0) : 0) { + $coef_bits_latch3$i = $0 + 112 | 0; + $5 = HEAP32[$coef_bits_latch3$i >> 2] | 0; + if (!$5) { + $num_components$i = $cinfo + 36 | 0; + $call$i = FUNCTION_TABLE_iiii[HEAP32[HEAP32[$cinfo + 4 >> 2] >> 2] & 63]($cinfo, 1, (HEAP32[$num_components$i >> 2] | 0) * 24 | 0) | 0; + HEAP32[$coef_bits_latch3$i >> 2] = $call$i; + $36 = $call$i; + $num_components9$pre$phi$iZ2D = $num_components$i; + } else { + $36 = $5; + $num_components9$pre$phi$iZ2D = $cinfo + 36 | 0; + } + if ((HEAP32[$num_components9$pre$phi$iZ2D >> 2] | 0) > 0) { + $ci$037$i = 0; + $coef_bits_latch$040$i = $36; + $compptr$038$i = HEAP32[$cinfo + 216 >> 2] | 0; + $smoothing_useful$039$i = 0; + while (1) { + $11 = HEAP32[$compptr$038$i + 80 >> 2] | 0; + if (!$11) { + label = 20; + break L4; + } + if (!(HEAP16[$11 >> 1] | 0)) { + label = 20; + break L4; + } + if (!(HEAP16[$11 + 2 >> 1] | 0)) { + label = 20; + break L4; + } + if (!(HEAP16[$11 + 16 >> 1] | 0)) { + label = 20; + break L4; + } + if (!(HEAP16[$11 + 32 >> 1] | 0)) { + label = 20; + break L4; + } + if (!(HEAP16[$11 + 18 >> 1] | 0)) { + label = 20; + break L4; + } + if (!(HEAP16[$11 + 4 >> 1] | 0)) { + label = 20; + break L4; + } + $18 = HEAP32[$coef_bits2$i >> 2] | 0; + if ((HEAP32[$18 + ($ci$037$i << 8) >> 2] | 0) < 0) { + label = 20; + break L4; + } + $arrayidx59$i = $18 + ($ci$037$i << 8) + 4 | 0; + HEAP32[$coef_bits_latch$040$i + 4 >> 2] = HEAP32[$arrayidx59$i >> 2]; + $21 = HEAP32[$arrayidx59$i >> 2] | 0; + $arrayidx59$1$i = $18 + ($ci$037$i << 8) + 8 | 0; + HEAP32[$coef_bits_latch$040$i + 8 >> 2] = HEAP32[$arrayidx59$1$i >> 2]; + $24 = HEAP32[$arrayidx59$1$i >> 2] | $21; + $arrayidx59$2$i = $18 + ($ci$037$i << 8) + 12 | 0; + HEAP32[$coef_bits_latch$040$i + 12 >> 2] = HEAP32[$arrayidx59$2$i >> 2]; + $27 = $24 | HEAP32[$arrayidx59$2$i >> 2]; + $arrayidx59$3$i = $18 + ($ci$037$i << 8) + 16 | 0; + HEAP32[$coef_bits_latch$040$i + 16 >> 2] = HEAP32[$arrayidx59$3$i >> 2]; + $30 = $27 | HEAP32[$arrayidx59$3$i >> 2]; + $arrayidx59$4$i = $18 + ($ci$037$i << 8) + 20 | 0; + HEAP32[$coef_bits_latch$040$i + 20 >> 2] = HEAP32[$arrayidx59$4$i >> 2]; + $smoothing_useful$039$i = ($30 | HEAP32[$arrayidx59$4$i >> 2] | 0) == 0 ? $smoothing_useful$039$i : 1; + $ci$037$i = $ci$037$i + 1 | 0; + if (($ci$037$i | 0) >= (HEAP32[$num_components9$pre$phi$iZ2D >> 2] | 0)) break; else { + $coef_bits_latch$040$i = $coef_bits_latch$040$i + 24 | 0; + $compptr$038$i = $compptr$038$i + 88 | 0; + } + } + if ($smoothing_useful$039$i) $decompress_smooth_data$sink = 65; else label = 20; + } else label = 20; + } else label = 20; while (0); + if ((label | 0) == 20) $decompress_smooth_data$sink = 63; + HEAP32[$0 + 12 >> 2] = $decompress_smooth_data$sink; + $output_iMCU_row = $cinfo + 156 | 0; + HEAP32[$output_iMCU_row >> 2] = 0; + return; +} + +function _quantize_fs_dither($cinfo, $input_buf, $output_buf, $num_rows) { + $cinfo = $cinfo | 0; + $input_buf = $input_buf | 0; + $output_buf = $output_buf | 0; + $num_rows = $num_rows | 0; + var $0 = 0, $1 = 0, $12 = 0, $14 = 0, $15 = 0, $2 = 0, $3 = 0, $5 = 0, $7 = 0, $add = 0, $add$ptr = 0, $arrayidx = 0, $arrayidx5 = 0, $belowerr$079 = 0, $bpreverr$077 = 0, $ci$083 = 0, $ci$083$us = 0, $cmp1973 = 0, $cmp382 = 0, $col$078 = 0, $colorindex = 0, $conv27 = 0, $conv29 = 0, $cur$080 = 0, $dir$0 = 0, $dirnc$0 = 0, $errorptr$0 = 0, $errorptr$176 = 0, $input_ptr$0 = 0, $input_ptr$175 = 0, $mul7 = 0, $on_odd_row = 0, $output_ptr$0 = 0, $output_ptr$174 = 0, $row$085 = 0, $sub = 0, $sub11 = 0, $sub37 = 0, $sv_colormap = 0, $tobool$us = 0, $errorptr$176$looptemp = 0; + $0 = HEAP32[$cinfo + 484 >> 2] | 0; + $1 = HEAP32[$cinfo + 120 >> 2] | 0; + $2 = HEAP32[$cinfo + 112 >> 2] | 0; + $3 = HEAP32[$cinfo + 336 >> 2] | 0; + if (($num_rows | 0) <= 0) return; + $cmp382 = ($1 | 0) > 0; + $on_odd_row = $0 + 84 | 0; + $colorindex = $0 + 24 | 0; + $sv_colormap = $0 + 16 | 0; + $cmp1973 = ($2 | 0) == 0; + $sub = $2 + -1 | 0; + $mul7 = Math_imul($sub, $1) | 0; + $sub11 = 0 - $1 | 0; + $add = $2 + 1 | 0; + $row$085 = 0; + do { + $arrayidx = $output_buf + ($row$085 << 2) | 0; + _memset(HEAP32[$arrayidx >> 2] | 0, 0, $2 | 0) | 0; + L6 : do if ($cmp382) { + $arrayidx5 = $input_buf + ($row$085 << 2) | 0; + if ($cmp1973) { + $tobool$us = (HEAP32[$on_odd_row >> 2] | 0) == 0; + $ci$083$us = 0; + while (1) { + $5 = HEAP32[$0 + 68 + ($ci$083$us << 2) >> 2] | 0; + HEAP16[($tobool$us ? $5 : $5 + ($add << 1) | 0) >> 1] = 0; + $ci$083$us = $ci$083$us + 1 | 0; + if (($ci$083$us | 0) == ($1 | 0)) break L6; + } } - HEAP32[$$0$i$i >> 2] = HEAP32[$40 >> 2]; - $$0$i$i = $$0$i$i + 4 | 0; - $40 = $40 + 4 | 0; - } - } else $$0 = $14; while (0); - STACKTOP = sp; - return $$0 | 0; + $ci$083 = 0; + do { + $add$ptr = (HEAP32[$arrayidx5 >> 2] | 0) + $ci$083 | 0; + $7 = HEAP32[$arrayidx >> 2] | 0; + if (!(HEAP32[$on_odd_row >> 2] | 0)) { + $dir$0 = 1; + $dirnc$0 = $1; + $errorptr$0 = HEAP32[$0 + 68 + ($ci$083 << 2) >> 2] | 0; + $input_ptr$0 = $add$ptr; + $output_ptr$0 = $7; + } else { + $dir$0 = -1; + $dirnc$0 = $sub11; + $errorptr$0 = (HEAP32[$0 + 68 + ($ci$083 << 2) >> 2] | 0) + ($add << 1) | 0; + $input_ptr$0 = $add$ptr + $mul7 | 0; + $output_ptr$0 = $7 + $sub | 0; + } + $12 = HEAP32[(HEAP32[$colorindex >> 2] | 0) + ($ci$083 << 2) >> 2] | 0; + $14 = HEAP32[(HEAP32[$sv_colormap >> 2] | 0) + ($ci$083 << 2) >> 2] | 0; + $15 = Math_imul($2, $dir$0) | 0; + $belowerr$079 = 0; + $bpreverr$077 = 0; + $col$078 = $2; + $cur$080 = 0; + $errorptr$176 = $errorptr$0; + $input_ptr$175 = $input_ptr$0; + $output_ptr$174 = $output_ptr$0; + while (1) { + $errorptr$176$looptemp = $errorptr$176; + $errorptr$176 = $errorptr$176 + ($dir$0 << 1) | 0; + $conv27 = HEAPU8[$3 + (($cur$080 + 8 + (HEAP16[$errorptr$176 >> 1] | 0) >> 4) + (HEAPU8[$input_ptr$175 >> 0] | 0)) >> 0] | 0; + $conv29 = HEAPU8[$12 + $conv27 >> 0] | 0; + HEAP8[$output_ptr$174 >> 0] = (HEAPU8[$output_ptr$174 >> 0] | 0) + $conv29; + $sub37 = $conv27 - (HEAPU8[$14 + $conv29 >> 0] | 0) | 0; + HEAP16[$errorptr$176$looptemp >> 1] = ($sub37 * 3 | 0) + $bpreverr$077; + $bpreverr$077 = ($sub37 * 5 | 0) + $belowerr$079 | 0; + $col$078 = $col$078 + -1 | 0; + if (!$col$078) break; else { + $belowerr$079 = $sub37; + $cur$080 = $sub37 * 7 | 0; + $input_ptr$175 = $input_ptr$175 + $dirnc$0 | 0; + $output_ptr$174 = $output_ptr$174 + $dir$0 | 0; + } + } + HEAP16[$errorptr$0 + ($15 << 1) >> 1] = $bpreverr$077; + $ci$083 = $ci$083 + 1 | 0; + } while (($ci$083 | 0) != ($1 | 0)); + } while (0); + HEAP32[$on_odd_row >> 2] = (HEAP32[$on_odd_row >> 2] | 0) == 0 & 1; + $row$085 = $row$085 + 1 | 0; + } while (($row$085 | 0) != ($num_rows | 0)); + return; } -function __ZN6vision11PartialSortIfEET_PS1_ii($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$0 = 0, $$044 = 0, $$047 = 0, $$049 = 0, $$1 = 0, $$145 = 0, $$2 = 0, $$246 = 0, $10 = 0, $15 = 0, $19 = 0, $26 = 0, $3 = 0, $31 = 0, $35 = 0, $36 = 0, $38 = 0, $40 = 0.0, $41 = 0, $42 = 0.0, $44 = 0, $45 = 0, $46 = 0.0, $48 = 0, sp = 0; +function _arFilterTransMat($ftmi, $m, $reset) { + $ftmi = $ftmi | 0; + $m = $m | 0; + $reset = $reset | 0; + var $10 = 0.0, $11 = 0.0, $12 = 0.0, $13 = 0.0, $14 = 0.0, $15 = 0.0, $16 = 0.0, $19 = 0.0, $20 = 0.0, $21 = 0.0, $22 = 0.0, $7 = 0.0, $8 = 0.0, $9 = 0.0, $add45 = 0.0, $arraydecay131$pre$phiZ2D = 0, $arraydecay133$pre$phiZ2D = 0, $arrayidx108 = 0, $arrayidx116 = 0, $arrayidx124 = 0, $arrayidx21 = 0, $arrayidx31 = 0, $arrayidx32 = 0, $arrayidx34 = 0, $arrayidx36 = 0, $arrayidx38 = 0, $arrayidx41 = 0, $arrayidx43 = 0, $arrayidx9 = 0, $call65 = 0.0, $cosomega$0 = 0.0, $p = 0, $q = 0, $retval$0 = 0, $s0$0 = 0.0, $s1$0 = 0.0, $sub = 0.0, $sub50 = 0.0, $sub53 = 0.0, $sub56 = 0.0, $sub59 = 0.0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $3 = sp; - if (($1 | 0) <= 0) { - $10 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 37491) | 0, 37520) | 0, 39072) | 0, 53) | 0, 39079) | 0, 37593) | 0; - __ZNKSt3__28ios_base6getlocEv($3, $10 + (HEAP32[(HEAP32[$10 >> 2] | 0) + -12 >> 2] | 0) | 0); - $15 = __ZNKSt3__26locale9use_facetERNS0_2idE($3, 66512) | 0; - $19 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$15 >> 2] | 0) + 28 >> 2] & 127]($15, 10) | 0; - __ZNSt3__26localeD2Ev($3); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($10, $19) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($10) | 0; - _abort(); - } - if (($2 | 0) <= 0) { - $26 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 37612) | 0, 37520) | 0, 39072) | 0, 54) | 0, 39079) | 0, 37641) | 0; - __ZNKSt3__28ios_base6getlocEv($3, $26 + (HEAP32[(HEAP32[$26 >> 2] | 0) + -12 >> 2] | 0) | 0); - $31 = __ZNKSt3__26locale9use_facetERNS0_2idE($3, 66512) | 0; - $35 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$31 >> 2] | 0) + 28 >> 2] & 127]($31, 10) | 0; - __ZNSt3__26localeD2Ev($3); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($26, $35) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($26) | 0; - _abort(); - } - $36 = $2 + -1 | 0; - $38 = $0 + ($36 << 2) | 0; - $$047 = $1 + -1 | 0; - $$049 = 0; - while (1) { - $40 = +HEAPF32[$38 >> 2]; - if (($$049 | 0) >= ($$047 | 0)) break; - $$0 = $$049; - $$044 = $$047; - while (1) { - $$1 = $$0; - while (1) { - $41 = $0 + ($$1 << 2) | 0; - $42 = +HEAPF32[$41 >> 2]; - $44 = $$1 + 1 | 0; - if ($42 < $40) $$1 = $44; else break; - } - $$145 = $$044; - while (1) { - $45 = $0 + ($$145 << 2) | 0; - $46 = +HEAPF32[$45 >> 2]; - $48 = $$145 + -1 | 0; - if ($40 < $46) $$145 = $48; else break; - } - if (($$1 | 0) > ($$145 | 0)) { - $$2 = $$1; - $$246 = $$145; + STACKTOP = STACKTOP + 64 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(64); + $q = sp + 32 | 0; + $p = sp; + if ($ftmi) if ((_arUtilMat2QuatPos($m, $q, $p) | 0) < 0) $retval$0 = -2; else { + _arUtilQuatNorm($q) | 0; + if (!$reset) { + $7 = +HEAPF64[$ftmi >> 3]; + $sub = 1.0 - $7; + $8 = +HEAPF64[$q >> 3]; + $arrayidx31 = $ftmi + 8 | 0; + $9 = +HEAPF64[$arrayidx31 >> 3]; + $arrayidx32 = $q + 8 | 0; + $10 = +HEAPF64[$arrayidx32 >> 3]; + $arrayidx34 = $ftmi + 16 | 0; + $11 = +HEAPF64[$arrayidx34 >> 3]; + $arrayidx36 = $q + 16 | 0; + $12 = +HEAPF64[$arrayidx36 >> 3]; + $arrayidx38 = $ftmi + 24 | 0; + $13 = +HEAPF64[$arrayidx38 >> 3]; + $arrayidx41 = $q + 24 | 0; + $14 = +HEAPF64[$arrayidx41 >> 3]; + $arrayidx43 = $ftmi + 32 | 0; + $15 = +HEAPF64[$arrayidx43 >> 3]; + $add45 = $8 * $9 + $10 * $11 + $12 * $13 + $14 * $15; + if ($add45 < 0.0) { + $sub59 = -$14; + $sub56 = -$12; + $sub53 = -$10; + $sub50 = -$8; + HEAPF64[$q >> 3] = $sub50; + HEAPF64[$arrayidx32 >> 3] = $sub53; + HEAPF64[$arrayidx36 >> 3] = $sub56; + HEAPF64[$arrayidx41 >> 3] = $sub59; + $19 = $sub50; + $20 = $sub53; + $21 = $sub56; + $22 = $sub59; + $cosomega$0 = -$add45; } else { - HEAPF32[$41 >> 2] = $46; - HEAPF32[$45 >> 2] = $42; - $$2 = $44; - $$246 = $48; - } - if (($$2 | 0) > ($$246 | 0)) break; else { - $$0 = $$2; - $$044 = $$246; - } - } - $$047 = ($$2 | 0) < ($2 | 0) ? $$047 : $$246; - $$049 = ($$246 | 0) < ($36 | 0) ? $$2 : $$049; - } + $19 = $8; + $20 = $10; + $21 = $12; + $22 = $14; + $cosomega$0 = $add45; + } + if ($cosomega$0 > .9995) { + $s0$0 = $sub; + $s1$0 = $7; + } else { + $call65 = +Math_acos(+$cosomega$0); + $16 = +Math_sin(+$call65); + $s0$0 = +Math_sin(+($sub * $call65)) / $16; + $s1$0 = +Math_sin(+($7 * $call65)) / $16; + } + HEAPF64[$arrayidx31 >> 3] = $9 * $s0$0 + $s1$0 * $19; + HEAPF64[$arrayidx34 >> 3] = $11 * $s0$0 + $s1$0 * $20; + HEAPF64[$arrayidx38 >> 3] = $13 * $s0$0 + $s1$0 * $21; + HEAPF64[$arrayidx43 >> 3] = $15 * $s0$0 + $s1$0 * $22; + _arUtilQuatNorm($arrayidx31) | 0; + $arrayidx108 = $ftmi + 40 | 0; + HEAPF64[$arrayidx108 >> 3] = $7 * +HEAPF64[$p >> 3] + $sub * +HEAPF64[$arrayidx108 >> 3]; + $arrayidx116 = $ftmi + 48 | 0; + HEAPF64[$arrayidx116 >> 3] = $7 * +HEAPF64[$p + 8 >> 3] + $sub * +HEAPF64[$arrayidx116 >> 3]; + $arrayidx124 = $ftmi + 56 | 0; + HEAPF64[$arrayidx124 >> 3] = $7 * +HEAPF64[$p + 16 >> 3] + $sub * +HEAPF64[$arrayidx124 >> 3]; + $arraydecay131$pre$phiZ2D = $arrayidx31; + $arraydecay133$pre$phiZ2D = $arrayidx108; + } else { + $arrayidx9 = $ftmi + 8 | 0; + HEAPF64[$arrayidx9 >> 3] = +HEAPF64[$q >> 3]; + HEAPF64[$ftmi + 16 >> 3] = +HEAPF64[$q + 8 >> 3]; + HEAPF64[$ftmi + 24 >> 3] = +HEAPF64[$q + 16 >> 3]; + HEAPF64[$ftmi + 32 >> 3] = +HEAPF64[$q + 24 >> 3]; + $arrayidx21 = $ftmi + 40 | 0; + HEAPF64[$arrayidx21 >> 3] = +HEAPF64[$p >> 3]; + HEAPF64[$ftmi + 48 >> 3] = +HEAPF64[$p + 8 >> 3]; + HEAPF64[$ftmi + 56 >> 3] = +HEAPF64[$p + 16 >> 3]; + $arraydecay131$pre$phiZ2D = $arrayidx9; + $arraydecay133$pre$phiZ2D = $arrayidx21; + } + $retval$0 = (_arUtilQuatPos2Mat($arraydecay131$pre$phiZ2D, $arraydecay133$pre$phiZ2D, $m) | 0) >> 31 & -2; + } else $retval$0 = -1; STACKTOP = sp; - return +$40; + return $retval$0 | 0; } -function __ZN6vision26ComputeSubpixelDerivativesERfS0_S0_S0_S0_RKNS_5ImageEii($0, $1, $2, $3, $4, $5, $6, $7) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - $6 = $6 | 0; - $7 = $7 | 0; - var $18 = 0, $23 = 0, $27 = 0, $28 = 0, $30 = 0, $38 = 0, $43 = 0, $47 = 0, $49 = 0, $51 = 0, $53 = 0, $54 = 0, $56 = 0, $8 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $8 = sp; - if (($6 | 0) > 0 ? ($6 + 1 | 0) >>> 0 < (__ZNK6vision5Image5widthEv($5) | 0) >>> 0 : 0) { - $28 = $7 + -1 | 0; - if (($7 | 0) > 0 ? ($30 = $7 + 1 | 0, $30 >>> 0 < (__ZNK6vision5Image6heightEv($5) | 0) >>> 0) : 0) { - $49 = (__ZNK6vision5Image3getIfEEPKT_m($5, $28) | 0) + ($6 << 2) | 0; - $51 = (__ZNK6vision5Image3getIfEEPKT_m($5, $7) | 0) + ($6 << 2) | 0; - $53 = (__ZNK6vision5Image3getIfEEPKT_m($5, $30) | 0) + ($6 << 2) | 0; - $54 = $51 + 4 | 0; - $56 = $51 + -4 | 0; - HEAPF32[$0 >> 2] = (+HEAPF32[$54 >> 2] - +HEAPF32[$56 >> 2]) * .5; - HEAPF32[$1 >> 2] = (+HEAPF32[$53 >> 2] - +HEAPF32[$49 >> 2]) * .5; - HEAPF32[$2 >> 2] = +HEAPF32[$54 >> 2] + (+HEAPF32[$56 >> 2] - +HEAPF32[$51 >> 2] * 2.0); - HEAPF32[$3 >> 2] = +HEAPF32[$53 >> 2] + (+HEAPF32[$49 >> 2] - +HEAPF32[$51 >> 2] * 2.0); - HEAPF32[$4 >> 2] = (+HEAPF32[$49 + -4 >> 2] + +HEAPF32[$53 + 4 >> 2] - (+HEAPF32[$49 + 4 >> 2] + +HEAPF32[$53 + -4 >> 2])) * .25; - STACKTOP = sp; - return; - } - $38 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 30161) | 0, 28600) | 0, 39072) | 0, 285) | 0, 39079) | 0, 29077) | 0; - __ZNKSt3__28ios_base6getlocEv($8, $38 + (HEAP32[(HEAP32[$38 >> 2] | 0) + -12 >> 2] | 0) | 0); - $43 = __ZNKSt3__26locale9use_facetERNS0_2idE($8, 66512) | 0; - $47 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$43 >> 2] | 0) + 28 >> 2] & 127]($43, 10) | 0; - __ZNSt3__26localeD2Ev($8); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($38, $47) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($38) | 0; - _abort(); +function __ZNK10__cxxabiv121__vmi_class_type_info16search_above_dstEPNS_19__dynamic_cast_infoEPKvS4_ib($this, $info, $dst_ptr, $current_ptr, $path_below, $use_strcmp) { + $this = $this | 0; + $info = $info | 0; + $dst_ptr = $dst_ptr | 0; + $current_ptr = $current_ptr | 0; + $path_below = $path_below | 0; + $use_strcmp = $use_strcmp | 0; + var $1 = 0, $12 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $7 = 0, $8 = 0, $9 = 0, $__flags = 0, $add$ptr = 0, $found_any_static_type$0 = 0, $found_any_static_type$1$off0$in = 0, $found_any_static_type5 = 0, $found_our_static_ptr$0 = 0, $found_our_static_ptr$1$off0$in = 0, $found_our_static_ptr2 = 0, $or2438 = 0, $or37 = 0, $or5850 = 0, $or6651 = 0, $p$0 = 0, $path_dst_ptr_to_static_ptr = 0, $search_done = 0; + if (__ZL8is_equalPKSt9type_infoS1_b($this, HEAP32[$info + 8 >> 2] | 0, $use_strcmp) | 0) __ZNK10__cxxabiv117__class_type_info29process_static_type_above_dstEPNS_19__dynamic_cast_infoEPKvS4_i(0, $info, $dst_ptr, $current_ptr, $path_below); else { + $found_our_static_ptr2 = $info + 52 | 0; + $1 = HEAP8[$found_our_static_ptr2 >> 0] | 0; + $found_any_static_type5 = $info + 53 | 0; + $2 = HEAP8[$found_any_static_type5 >> 0] | 0; + $3 = HEAP32[$this + 12 >> 2] | 0; + $add$ptr = $this + 16 + ($3 << 3) | 0; + HEAP8[$found_our_static_ptr2 >> 0] = 0; + HEAP8[$found_any_static_type5 >> 0] = 0; + __ZNK10__cxxabiv122__base_class_type_info16search_above_dstEPNS_19__dynamic_cast_infoEPKvS4_ib($this + 16 | 0, $info, $dst_ptr, $current_ptr, $path_below, $use_strcmp); + $4 = HEAP8[$found_our_static_ptr2 >> 0] | 0; + $or37 = $4 | $1; + $5 = HEAP8[$found_any_static_type5 >> 0] | 0; + $or2438 = $5 | $2; + L4 : do if (($3 | 0) > 1) { + $path_dst_ptr_to_static_ptr = $info + 24 | 0; + $__flags = $this + 8 | 0; + $search_done = $info + 54 | 0; + $12 = $5; + $9 = $4; + $found_any_static_type$0 = $or2438; + $found_our_static_ptr$0 = $or37; + $p$0 = $this + 24 | 0; + while (1) { + $7 = $found_any_static_type$0 & 1; + $8 = $found_our_static_ptr$0 & 1; + if (HEAP8[$search_done >> 0] | 0) { + $found_any_static_type$1$off0$in = $7; + $found_our_static_ptr$1$off0$in = $8; + break L4; + } + if (!($9 << 24 >> 24)) { + if ($12 << 24 >> 24 ? (HEAP32[$__flags >> 2] & 1 | 0) == 0 : 0) { + $found_any_static_type$1$off0$in = $7; + $found_our_static_ptr$1$off0$in = $8; + break L4; + } + } else { + if ((HEAP32[$path_dst_ptr_to_static_ptr >> 2] | 0) == 1) { + $found_any_static_type$1$off0$in = $7; + $found_our_static_ptr$1$off0$in = $8; + break L4; + } + if (!(HEAP32[$__flags >> 2] & 2)) { + $found_any_static_type$1$off0$in = $7; + $found_our_static_ptr$1$off0$in = $8; + break L4; + } + } + HEAP8[$found_our_static_ptr2 >> 0] = 0; + HEAP8[$found_any_static_type5 >> 0] = 0; + __ZNK10__cxxabiv122__base_class_type_info16search_above_dstEPNS_19__dynamic_cast_infoEPKvS4_ib($p$0, $info, $dst_ptr, $current_ptr, $path_below, $use_strcmp); + $9 = HEAP8[$found_our_static_ptr2 >> 0] | 0; + $or5850 = $9 | $8; + $12 = HEAP8[$found_any_static_type5 >> 0] | 0; + $or6651 = $12 | $7; + $p$0 = $p$0 + 8 | 0; + if ($p$0 >>> 0 >= $add$ptr >>> 0) { + $found_any_static_type$1$off0$in = $or6651; + $found_our_static_ptr$1$off0$in = $or5850; + break; + } else { + $found_any_static_type$0 = $or6651; + $found_our_static_ptr$0 = $or5850; + } + } + } else { + $found_any_static_type$1$off0$in = $or2438; + $found_our_static_ptr$1$off0$in = $or37; + } while (0); + HEAP8[$found_our_static_ptr2 >> 0] = $found_our_static_ptr$1$off0$in << 24 >> 24 != 0 & 1; + HEAP8[$found_any_static_type5 >> 0] = $found_any_static_type$1$off0$in << 24 >> 24 != 0 & 1; } - $18 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 30105) | 0, 28600) | 0, 39072) | 0, 284) | 0, 39079) | 0, 29002) | 0; - __ZNKSt3__28ios_base6getlocEv($8, $18 + (HEAP32[(HEAP32[$18 >> 2] | 0) + -12 >> 2] | 0) | 0); - $23 = __ZNKSt3__26locale9use_facetERNS0_2idE($8, 66512) | 0; - $27 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$23 >> 2] | 0) + 28 >> 2] & 127]($23, 10) | 0; - __ZNSt3__26localeD2Ev($8); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($18, $27) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($18) | 0; - _abort(); + return; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E19parseConversionExprEv($0) { - $0 = $0 | 0; - var $$3 = 0, $$4 = 0, $$5 = 0, $$byval_copy = 0, $1 = 0, $10 = 0, $11 = 0, $13 = 0, $16 = 0, $2 = 0, $3 = 0, $6 = 0, $7 = 0, label = 0, sp = 0; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E19parseConversionExprEv($this) { + $this = $this | 0; + var $Names = 0, $SaveTemp = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, $call12 = 0, $call2 = 0, $call23 = 0, $call3 = 0, $call8 = 0, $ref$tmp = 0, $retval$3 = 0, $retval$4 = 0, $retval$5 = 0, label = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 32 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $$byval_copy = sp + 24 | 0; - $1 = sp + 16 | 0; - $2 = sp + 8 | 0; - $3 = sp; - __ZN12_GLOBAL__N_110StringViewC2EPKc($1, 54552); - HEAP32[$$byval_copy >> 2] = HEAP32[$1 >> 2]; - HEAP32[$$byval_copy + 4 >> 2] = HEAP32[$1 + 4 >> 2]; - if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($0, $$byval_copy) | 0) { - __ZN12_GLOBAL__N_114SwapAndRestoreIbEC2ERbb($2, $0 + 360 | 0, 0); - $6 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0; - $7 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseTypeEv($6) | 0; - HEAP32[$$byval_copy >> 2] = $7; - __ZN12_GLOBAL__N_114SwapAndRestoreIbED2Ev($2); - do if ($7) { - if (!(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($0, 95) | 0)) { - $16 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseExprEv($6) | 0; - HEAP32[$2 >> 2] = $16; - if (!$16) $$3 = 0; else { - __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E13makeNodeArrayIPPNS0_4NodeEEENS0_9NodeArrayET_SB_($3, $0, $2, $2 + 4 | 0); - $$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_14ConversionExprEJRPNS0_4NodeENS0_9NodeArrayEEEES9_DpOT0_($0, $$byval_copy, $3) | 0; - } - $$4 = $$3; - break; - } - $10 = $0 + 8 | 0; - $11 = __ZNK12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE4sizeEv($10) | 0; + $agg$tmp$byval_copy = sp + 24 | 0; + $agg$tmp = sp + 16 | 0; + $SaveTemp = sp + 8 | 0; + $ref$tmp = sp; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, 55394); + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($this, $agg$tmp$byval_copy) | 0) { + __ZN12_GLOBAL__N_114SwapAndRestoreIbEC2ERbb($SaveTemp, $this + 360 | 0, 0); + $call2 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0; + $call3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseTypeEv($call2) | 0; + HEAP32[$agg$tmp$byval_copy >> 2] = $call3; + __ZN12_GLOBAL__N_114SwapAndRestoreIbED2Ev($SaveTemp); + do if ($call3) { + if (!(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($this, 95) | 0)) { + $call23 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseExprEv($call2) | 0; + HEAP32[$SaveTemp >> 2] = $call23; + if (!$call23) $retval$3 = 0; else { + __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E13makeNodeArrayIPPNS0_4NodeEEENS0_9NodeArrayET_SB_($ref$tmp, $this, $SaveTemp, $SaveTemp + 4 | 0); + $retval$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_14ConversionExprEJRPNS0_4NodeENS0_9NodeArrayEEEES9_DpOT0_($this, $agg$tmp$byval_copy, $ref$tmp) | 0; + } + $retval$4 = $retval$3; + break; + } + $Names = $this + 8 | 0; + $call8 = __ZNK12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE4sizeEv($Names) | 0; while (1) { - if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($0, 69) | 0) { + if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($this, 69) | 0) { label = 9; break; } - $13 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseExprEv($6) | 0; - HEAP32[$2 >> 2] = $13; - if (!$13) { + $call12 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseExprEv($call2) | 0; + HEAP32[$SaveTemp >> 2] = $call12; + if (!$call12) { label = 7; break; } - __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE9push_backERKS3_($10, $2); + __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE9push_backERKS3_($Names, $SaveTemp); } if ((label | 0) == 7) { - $$4 = 0; + $retval$4 = 0; break; } else if ((label | 0) == 9) { - __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E20popTrailingNodeArrayEm($2, $0, $11); - $$4 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_14ConversionExprEJRPNS0_4NodeERNS0_9NodeArrayEEEES9_DpOT0_($0, $$byval_copy, $2) | 0; + __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E20popTrailingNodeArrayEm($SaveTemp, $this, $call8); + $retval$4 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_14ConversionExprEJRPNS0_4NodeERNS0_9NodeArrayEEEES9_DpOT0_($this, $agg$tmp$byval_copy, $SaveTemp) | 0; break; } - } else $$4 = 0; while (0); - $$5 = $$4; - } else $$5 = 0; + } else $retval$4 = 0; while (0); + $retval$5 = $retval$4; + } else $retval$5 = 0; STACKTOP = sp; - return $$5 | 0; -} - -function __ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE8__rehashEm($this, $__nbc) { - $this = $this | 0; - $__nbc = $__nbc | 0; - var $0 = 0, $18 = 0, $2 = 0, $4 = 0, $6 = 0, $9 = 0, $__cp$0 = 0, $__i$0 = 0, $__np$0 = 0, $__phash$0$ph$ph = 0, $__pp$0$ph = 0, $__pp$0$ph$ph = 0, $__value_ = 0, $__value_$i$i = 0, $__value_$i$i$i = 0, $arrayidx$i61 = 0, $call$i$i$i = 0, $cond3$i = 0, $cond3$i72 = 0, $exception$i$i$i = 0, $sub$i66 = 0, $tobool$i68 = 0; - $__value_$i$i$i = $this + 4 | 0; - L1 : do if ($__nbc) { - if ($__nbc >>> 0 > 1073741823) { - $exception$i$i$i = ___cxa_allocate_exception(8) | 0; - __ZNSt11logic_errorC2EPKc($exception$i$i$i, 41481); - HEAP32[$exception$i$i$i >> 2] = 17472; - ___cxa_throw($exception$i$i$i | 0, 13960, 22); - } - $call$i$i$i = __Znwm($__nbc << 2) | 0; - $0 = HEAP32[$this >> 2] | 0; - HEAP32[$this >> 2] = $call$i$i$i; - if ($0 | 0) __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($0, HEAP32[$this + 4 >> 2] << 2); - HEAP32[$__value_$i$i$i >> 2] = $__nbc; - $__i$0 = 0; - while (1) { - if (($__i$0 | 0) == ($__nbc | 0)) break; - HEAP32[(HEAP32[$this >> 2] | 0) + ($__i$0 << 2) >> 2] = 0; - $__i$0 = $__i$0 + 1 | 0; - } - $__value_$i$i = $this + 8 | 0; - $2 = HEAP32[$__value_$i$i >> 2] | 0; - if ($2 | 0) { - $4 = HEAP32[$2 + 4 >> 2] | 0; - $sub$i66 = $__nbc + -1 | 0; - $tobool$i68 = ($sub$i66 & $__nbc | 0) == 0; - if (!$tobool$i68) if ($4 >>> 0 < $__nbc >>> 0) $cond3$i72 = $4; else $cond3$i72 = ($4 >>> 0) % ($__nbc >>> 0) | 0; else $cond3$i72 = $4 & $sub$i66; - HEAP32[(HEAP32[$this >> 2] | 0) + ($cond3$i72 << 2) >> 2] = $__value_$i$i; - $__phash$0$ph$ph = $cond3$i72; - $__pp$0$ph$ph = $2; - while (1) { - $__pp$0$ph = $__pp$0$ph$ph; - L25 : while (1) { - while (1) { - $__cp$0 = HEAP32[$__pp$0$ph >> 2] | 0; - if (!$__cp$0) break L1; - $6 = HEAP32[$__cp$0 + 4 >> 2] | 0; - if (!$tobool$i68) if ($6 >>> 0 < $__nbc >>> 0) $cond3$i = $6; else $cond3$i = ($6 >>> 0) % ($__nbc >>> 0) | 0; else $cond3$i = $6 & $sub$i66; - if (($cond3$i | 0) == ($__phash$0$ph$ph | 0)) break; - $arrayidx$i61 = (HEAP32[$this >> 2] | 0) + ($cond3$i << 2) | 0; - if (!(HEAP32[$arrayidx$i61 >> 2] | 0)) break L25; - $__value_ = $__cp$0 + 8 | 0; - $__np$0 = $__cp$0; - while (1) { - $9 = HEAP32[$__np$0 >> 2] | 0; - if (!$9) break; - if ((HEAP32[$__value_ >> 2] | 0) == (HEAP32[$9 + 8 >> 2] | 0)) $__np$0 = $9; else break; - } - HEAP32[$__pp$0$ph >> 2] = $9; - HEAP32[$__np$0 >> 2] = HEAP32[HEAP32[(HEAP32[$this >> 2] | 0) + ($cond3$i << 2) >> 2] >> 2]; - HEAP32[HEAP32[(HEAP32[$this >> 2] | 0) + ($cond3$i << 2) >> 2] >> 2] = $__cp$0; - } - $__pp$0$ph = $__cp$0; - } - HEAP32[$arrayidx$i61 >> 2] = $__pp$0$ph; - $__phash$0$ph$ph = $cond3$i; - $__pp$0$ph$ph = $__cp$0; - } - } - } else { - $18 = HEAP32[$this >> 2] | 0; - HEAP32[$this >> 2] = 0; - if ($18 | 0) __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($18, HEAP32[$this + 4 >> 2] << 2); - HEAP32[$__value_$i$i$i >> 2] = 0; - } while (0); - return; + return $retval$5 | 0; } -function __ZNSt3__212__hash_tableINS_17__hash_value_typeIi7ARParamEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE8__rehashEm($this, $__nbc) { +function __ZNKSt3__27num_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_putES4_RNS_8ios_baseEwe($this, $__s, $__iob, $__fl, $__v) { $this = $this | 0; - $__nbc = $__nbc | 0; - var $0 = 0, $18 = 0, $2 = 0, $4 = 0, $6 = 0, $9 = 0, $__cp$0 = 0, $__i$0 = 0, $__np$0 = 0, $__phash$0$ph$ph = 0, $__pp$0$ph = 0, $__pp$0$ph$ph = 0, $__value_ = 0, $__value_$i$i = 0, $__value_$i$i$i = 0, $arrayidx$i61 = 0, $call$i$i$i = 0, $cond3$i = 0, $cond3$i72 = 0, $exception$i$i$i = 0, $sub$i66 = 0, $tobool$i68 = 0; - $__value_$i$i$i = $this + 4 | 0; - L1 : do if ($__nbc) { - if ($__nbc >>> 0 > 1073741823) { - $exception$i$i$i = ___cxa_allocate_exception(8) | 0; - __ZNSt11logic_errorC2EPKc($exception$i$i$i, 41481); - HEAP32[$exception$i$i$i >> 2] = 17472; - ___cxa_throw($exception$i$i$i | 0, 13960, 22); - } - $call$i$i$i = __Znwm($__nbc << 2) | 0; - $0 = HEAP32[$this >> 2] | 0; - HEAP32[$this >> 2] = $call$i$i$i; - if ($0 | 0) __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($0, HEAP32[$this + 4 >> 2] << 2); - HEAP32[$__value_$i$i$i >> 2] = $__nbc; - $__i$0 = 0; - while (1) { - if (($__i$0 | 0) == ($__nbc | 0)) break; - HEAP32[(HEAP32[$this >> 2] | 0) + ($__i$0 << 2) >> 2] = 0; - $__i$0 = $__i$0 + 1 | 0; - } - $__value_$i$i = $this + 8 | 0; - $2 = HEAP32[$__value_$i$i >> 2] | 0; - if ($2 | 0) { - $4 = HEAP32[$2 + 4 >> 2] | 0; - $sub$i66 = $__nbc + -1 | 0; - $tobool$i68 = ($sub$i66 & $__nbc | 0) == 0; - if (!$tobool$i68) if ($4 >>> 0 < $__nbc >>> 0) $cond3$i72 = $4; else $cond3$i72 = ($4 >>> 0) % ($__nbc >>> 0) | 0; else $cond3$i72 = $4 & $sub$i66; - HEAP32[(HEAP32[$this >> 2] | 0) + ($cond3$i72 << 2) >> 2] = $__value_$i$i; - $__phash$0$ph$ph = $cond3$i72; - $__pp$0$ph$ph = $2; - while (1) { - $__pp$0$ph = $__pp$0$ph$ph; - L25 : while (1) { - while (1) { - $__cp$0 = HEAP32[$__pp$0$ph >> 2] | 0; - if (!$__cp$0) break L1; - $6 = HEAP32[$__cp$0 + 4 >> 2] | 0; - if (!$tobool$i68) if ($6 >>> 0 < $__nbc >>> 0) $cond3$i = $6; else $cond3$i = ($6 >>> 0) % ($__nbc >>> 0) | 0; else $cond3$i = $6 & $sub$i66; - if (($cond3$i | 0) == ($__phash$0$ph$ph | 0)) break; - $arrayidx$i61 = (HEAP32[$this >> 2] | 0) + ($cond3$i << 2) | 0; - if (!(HEAP32[$arrayidx$i61 >> 2] | 0)) break L25; - $__value_ = $__cp$0 + 8 | 0; - $__np$0 = $__cp$0; - while (1) { - $9 = HEAP32[$__np$0 >> 2] | 0; - if (!$9) break; - if ((HEAP32[$__value_ >> 2] | 0) == (HEAP32[$9 + 8 >> 2] | 0)) $__np$0 = $9; else break; - } - HEAP32[$__pp$0$ph >> 2] = $9; - HEAP32[$__np$0 >> 2] = HEAP32[HEAP32[(HEAP32[$this >> 2] | 0) + ($cond3$i << 2) >> 2] >> 2]; - HEAP32[HEAP32[(HEAP32[$this >> 2] | 0) + ($cond3$i << 2) >> 2] >> 2] = $__cp$0; - } - $__pp$0$ph = $__cp$0; - } - HEAP32[$arrayidx$i61 >> 2] = $__pp$0$ph; - $__phash$0$ph$ph = $cond3$i; - $__pp$0$ph$ph = $__cp$0; - } - } - } else { - $18 = HEAP32[$this >> 2] | 0; - HEAP32[$this >> 2] = 0; - if ($18 | 0) __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($18, HEAP32[$this + 4 >> 2] << 2); - HEAP32[$__value_$i$i$i >> 2] = 0; - } while (0); - return; -} - -function __ZNKSt3__27num_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_putES4_RNS_8ios_baseEwe($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = +$4; - var $$0 = 0, $$037 = 0, $$1 = 0, $$2 = 0, $$byval_copy = 0, $$sroa$039$0 = 0, $$sroa$046$0 = 0, $10 = 0, $11 = 0, $12 = 0, $19 = 0, $20 = 0, $26 = 0, $31 = 0, $33 = 0, $34 = 0, $35 = 0, $38 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $vararg_buffer = 0, $vararg_buffer2 = 0, $vararg_buffer5 = 0, $vararg_buffer9 = 0, sp = 0; + $__s = $__s | 0; + $__iob = $__iob | 0; + $__fl = $__fl | 0; + $__v = +$__v; + var $0 = 0, $10 = 0, $11 = 0, $12 = 0, $7 = 0, $8 = 0, $__fmt = 0, $__nar = 0, $__nb = 0, $__nbh$sroa$0$0 = 0, $__nc$0 = 0, $__nc$1 = 0, $__nc$2 = 0, $__o = 0, $__ob$0 = 0, $__obh$sroa$0$0 = 0, $__oe = 0, $__op = 0, $add$ptr27 = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, $call14 = 0, $call2 = 0, $call28 = 0, $call35 = 0, $call4 = 0, $call42 = 0, $vararg_buffer = 0, $vararg_buffer2 = 0, $vararg_buffer5 = 0, $vararg_buffer9 = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 352 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(352); - $$byval_copy = sp + 344 | 0; + $agg$tmp$byval_copy = sp + 344 | 0; $vararg_buffer9 = sp + 320 | 0; $vararg_buffer5 = sp + 304 | 0; $vararg_buffer2 = sp + 296 | 0; $vararg_buffer = sp + 280 | 0; - $5 = sp + 272 | 0; - $6 = sp + 240 | 0; - $7 = sp + 340 | 0; - $8 = sp; - $9 = sp + 336 | 0; - $10 = sp + 332 | 0; - $11 = sp + 328 | 0; - $12 = $5; - HEAP32[$12 >> 2] = 37; - HEAP32[$12 + 4 >> 2] = 0; - $19 = __ZNSt3__214__num_put_base14__format_floatEPcPKcj($5 + 1 | 0, 59184, HEAP32[$2 + 4 >> 2] | 0) | 0; - HEAP32[$7 >> 2] = $6; - $20 = __ZNSt3__26__clocEv() | 0; - if ($19) { - HEAP32[$vararg_buffer >> 2] = HEAP32[$2 + 8 >> 2]; - HEAPF64[$vararg_buffer + 8 >> 3] = $4; - $$0 = __ZNSt3__219__libcpp_snprintf_lEPcmP15__locale_structPKcz($6, 30, $20, $5, $vararg_buffer) | 0; + $__fmt = sp + 272 | 0; + $__nar = sp + 240 | 0; + $__nb = sp + 340 | 0; + $__o = sp; + $__op = sp + 336 | 0; + $__oe = sp + 332 | 0; + $agg$tmp = sp + 328 | 0; + $0 = $__fmt; + HEAP32[$0 >> 2] = 37; + HEAP32[$0 + 4 >> 2] = 0; + $call2 = __ZNSt3__214__num_put_base14__format_floatEPcPKcj($__fmt + 1 | 0, 60026, HEAP32[$__iob + 4 >> 2] | 0) | 0; + HEAP32[$__nb >> 2] = $__nar; + $call4 = __ZNSt3__26__clocEv() | 0; + if ($call2) { + HEAP32[$vararg_buffer >> 2] = HEAP32[$__iob + 8 >> 2]; + HEAPF64[$vararg_buffer + 8 >> 3] = $__v; + $__nc$0 = __ZNSt3__219__libcpp_snprintf_lEPcmP15__locale_structPKcz($__nar, 30, $call4, $__fmt, $vararg_buffer) | 0; } else { - HEAPF64[$vararg_buffer2 >> 3] = $4; - $$0 = __ZNSt3__219__libcpp_snprintf_lEPcmP15__locale_structPKcz($6, 30, $20, $5, $vararg_buffer2) | 0; - } - if (($$0 | 0) > 29) { - $26 = __ZNSt3__26__clocEv() | 0; - if ($19) { - HEAP32[$vararg_buffer5 >> 2] = HEAP32[$2 + 8 >> 2]; - HEAPF64[$vararg_buffer5 + 8 >> 3] = $4; - $$1 = __ZNSt3__219__libcpp_asprintf_lEPPcP15__locale_structPKcz($7, $26, $5, $vararg_buffer5) | 0; + HEAPF64[$vararg_buffer2 >> 3] = $__v; + $__nc$0 = __ZNSt3__219__libcpp_snprintf_lEPcmP15__locale_structPKcz($__nar, 30, $call4, $__fmt, $vararg_buffer2) | 0; + } + if (($__nc$0 | 0) > 29) { + $call14 = __ZNSt3__26__clocEv() | 0; + if ($call2) { + HEAP32[$vararg_buffer5 >> 2] = HEAP32[$__iob + 8 >> 2]; + HEAPF64[$vararg_buffer5 + 8 >> 3] = $__v; + $__nc$1 = __ZNSt3__219__libcpp_asprintf_lEPPcP15__locale_structPKcz($__nb, $call14, $__fmt, $vararg_buffer5) | 0; } else { - HEAPF64[$vararg_buffer9 >> 3] = $4; - $$1 = __ZNSt3__219__libcpp_asprintf_lEPPcP15__locale_structPKcz($7, $26, $5, $vararg_buffer9) | 0; + HEAPF64[$vararg_buffer9 >> 3] = $__v; + $__nc$1 = __ZNSt3__219__libcpp_asprintf_lEPPcP15__locale_structPKcz($__nb, $call14, $__fmt, $vararg_buffer9) | 0; } - $31 = HEAP32[$7 >> 2] | 0; - if (!$31) __ZSt17__throw_bad_allocv(); else { - $$2 = $$1; - $$sroa$046$0 = $31; - $34 = $31; + $7 = HEAP32[$__nb >> 2] | 0; + if (!$7) __ZSt17__throw_bad_allocv(); else { + $8 = $7; + $__nbh$sroa$0$0 = $7; + $__nc$2 = $__nc$1; } } else { - $$2 = $$0; - $$sroa$046$0 = 0; - $34 = HEAP32[$7 >> 2] | 0; + $8 = HEAP32[$__nb >> 2] | 0; + $__nbh$sroa$0$0 = 0; + $__nc$2 = $__nc$0; } - $33 = $34 + $$2 | 0; - $35 = __ZNSt3__214__num_put_base18__identify_paddingEPcS1_RKNS_8ios_baseE($34, $33, $2) | 0; - do if (($34 | 0) != ($6 | 0)) { - $38 = _malloc($$2 << 3) | 0; - if (!$38) __ZSt17__throw_bad_allocv(); else { - $$037 = $38; - $$sroa$039$0 = 0; - $44 = $38; + $add$ptr27 = $8 + $__nc$2 | 0; + $call28 = __ZNSt3__214__num_put_base18__identify_paddingEPcS1_RKNS_8ios_baseE($8, $add$ptr27, $__iob) | 0; + do if (($8 | 0) != ($__nar | 0)) { + $call35 = _malloc($__nc$2 << 3) | 0; + if (!$call35) __ZSt17__throw_bad_allocv(); else { + $12 = $call35; + $__ob$0 = $call35; + $__obh$sroa$0$0 = 0; break; } } else { - $$037 = $8; - $$sroa$039$0 = 1; - $44 = 0; + $12 = 0; + $__ob$0 = $__o; + $__obh$sroa$0$0 = 1; } while (0); - __ZNKSt3__28ios_base6getlocEv($$byval_copy, $2); - __ZNSt3__29__num_putIwE23__widen_and_group_floatEPcS2_S2_PwRS3_S4_RKNS_6localeE($34, $35, $33, $$037, $9, $10, $$byval_copy); - __ZNSt3__26localeD2Ev($$byval_copy); - HEAP32[$11 >> 2] = HEAP32[$1 >> 2]; - $41 = HEAP32[$9 >> 2] | 0; - $42 = HEAP32[$10 >> 2] | 0; - HEAP32[$$byval_copy >> 2] = HEAP32[$11 >> 2]; - $43 = __ZNSt3__216__pad_and_outputIwNS_11char_traitsIwEEEENS_19ostreambuf_iteratorIT_T0_EES6_PKS4_S8_S8_RNS_8ios_baseES4_($$byval_copy, $$037, $41, $42, $2, $3) | 0; - HEAP32[$1 >> 2] = $43; - if (!$$sroa$039$0) _free($44); - _free($$sroa$046$0); - STACKTOP = sp; - return $43 | 0; -} - -function __ZNKSt3__27num_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_putES4_RNS_8ios_baseEwd($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = +$4; - var $$0 = 0, $$037 = 0, $$1 = 0, $$2 = 0, $$byval_copy = 0, $$sroa$039$0 = 0, $$sroa$046$0 = 0, $10 = 0, $11 = 0, $12 = 0, $19 = 0, $20 = 0, $26 = 0, $31 = 0, $33 = 0, $34 = 0, $35 = 0, $38 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $vararg_buffer = 0, $vararg_buffer2 = 0, $vararg_buffer5 = 0, $vararg_buffer9 = 0, sp = 0; + __ZNKSt3__28ios_base6getlocEv($agg$tmp$byval_copy, $__iob); + __ZNSt3__29__num_putIwE23__widen_and_group_floatEPcS2_S2_PwRS3_S4_RKNS_6localeE($8, $call28, $add$ptr27, $__ob$0, $__op, $__oe, $agg$tmp$byval_copy); + __ZNSt3__26localeD2Ev($agg$tmp$byval_copy); + HEAP32[$agg$tmp >> 2] = HEAP32[$__s >> 2]; + $10 = HEAP32[$__op >> 2] | 0; + $11 = HEAP32[$__oe >> 2] | 0; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + $call42 = __ZNSt3__216__pad_and_outputIwNS_11char_traitsIwEEEENS_19ostreambuf_iteratorIT_T0_EES6_PKS4_S8_S8_RNS_8ios_baseES4_($agg$tmp$byval_copy, $__ob$0, $10, $11, $__iob, $__fl) | 0; + HEAP32[$__s >> 2] = $call42; + if (!$__obh$sroa$0$0) _free($12); + _free($__nbh$sroa$0$0); + STACKTOP = sp; + return $call42 | 0; +} + +function __ZNKSt3__27num_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_putES4_RNS_8ios_baseEwd($this, $__s, $__iob, $__fl, $__v) { + $this = $this | 0; + $__s = $__s | 0; + $__iob = $__iob | 0; + $__fl = $__fl | 0; + $__v = +$__v; + var $0 = 0, $10 = 0, $11 = 0, $12 = 0, $7 = 0, $8 = 0, $__fmt = 0, $__nar = 0, $__nb = 0, $__nbh$sroa$0$0 = 0, $__nc$0 = 0, $__nc$1 = 0, $__nc$2 = 0, $__o = 0, $__ob$0 = 0, $__obh$sroa$0$0 = 0, $__oe = 0, $__op = 0, $add$ptr27 = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, $call14 = 0, $call2 = 0, $call28 = 0, $call35 = 0, $call4 = 0, $call42 = 0, $vararg_buffer = 0, $vararg_buffer2 = 0, $vararg_buffer5 = 0, $vararg_buffer9 = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 352 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(352); - $$byval_copy = sp + 344 | 0; + $agg$tmp$byval_copy = sp + 344 | 0; $vararg_buffer9 = sp + 320 | 0; $vararg_buffer5 = sp + 304 | 0; $vararg_buffer2 = sp + 296 | 0; $vararg_buffer = sp + 280 | 0; - $5 = sp + 272 | 0; - $6 = sp + 240 | 0; - $7 = sp + 340 | 0; - $8 = sp; - $9 = sp + 336 | 0; - $10 = sp + 332 | 0; - $11 = sp + 328 | 0; - $12 = $5; - HEAP32[$12 >> 2] = 37; - HEAP32[$12 + 4 >> 2] = 0; - $19 = __ZNSt3__214__num_put_base14__format_floatEPcPKcj($5 + 1 | 0, 67447, HEAP32[$2 + 4 >> 2] | 0) | 0; - HEAP32[$7 >> 2] = $6; - $20 = __ZNSt3__26__clocEv() | 0; - if ($19) { - HEAP32[$vararg_buffer >> 2] = HEAP32[$2 + 8 >> 2]; - HEAPF64[$vararg_buffer + 8 >> 3] = $4; - $$0 = __ZNSt3__219__libcpp_snprintf_lEPcmP15__locale_structPKcz($6, 30, $20, $5, $vararg_buffer) | 0; + $__fmt = sp + 272 | 0; + $__nar = sp + 240 | 0; + $__nb = sp + 340 | 0; + $__o = sp; + $__op = sp + 336 | 0; + $__oe = sp + 332 | 0; + $agg$tmp = sp + 328 | 0; + $0 = $__fmt; + HEAP32[$0 >> 2] = 37; + HEAP32[$0 + 4 >> 2] = 0; + $call2 = __ZNSt3__214__num_put_base14__format_floatEPcPKcj($__fmt + 1 | 0, 68295, HEAP32[$__iob + 4 >> 2] | 0) | 0; + HEAP32[$__nb >> 2] = $__nar; + $call4 = __ZNSt3__26__clocEv() | 0; + if ($call2) { + HEAP32[$vararg_buffer >> 2] = HEAP32[$__iob + 8 >> 2]; + HEAPF64[$vararg_buffer + 8 >> 3] = $__v; + $__nc$0 = __ZNSt3__219__libcpp_snprintf_lEPcmP15__locale_structPKcz($__nar, 30, $call4, $__fmt, $vararg_buffer) | 0; } else { - HEAPF64[$vararg_buffer2 >> 3] = $4; - $$0 = __ZNSt3__219__libcpp_snprintf_lEPcmP15__locale_structPKcz($6, 30, $20, $5, $vararg_buffer2) | 0; - } - if (($$0 | 0) > 29) { - $26 = __ZNSt3__26__clocEv() | 0; - if ($19) { - HEAP32[$vararg_buffer5 >> 2] = HEAP32[$2 + 8 >> 2]; - HEAPF64[$vararg_buffer5 + 8 >> 3] = $4; - $$1 = __ZNSt3__219__libcpp_asprintf_lEPPcP15__locale_structPKcz($7, $26, $5, $vararg_buffer5) | 0; + HEAPF64[$vararg_buffer2 >> 3] = $__v; + $__nc$0 = __ZNSt3__219__libcpp_snprintf_lEPcmP15__locale_structPKcz($__nar, 30, $call4, $__fmt, $vararg_buffer2) | 0; + } + if (($__nc$0 | 0) > 29) { + $call14 = __ZNSt3__26__clocEv() | 0; + if ($call2) { + HEAP32[$vararg_buffer5 >> 2] = HEAP32[$__iob + 8 >> 2]; + HEAPF64[$vararg_buffer5 + 8 >> 3] = $__v; + $__nc$1 = __ZNSt3__219__libcpp_asprintf_lEPPcP15__locale_structPKcz($__nb, $call14, $__fmt, $vararg_buffer5) | 0; } else { - HEAPF64[$vararg_buffer9 >> 3] = $4; - $$1 = __ZNSt3__219__libcpp_asprintf_lEPPcP15__locale_structPKcz($7, $26, $5, $vararg_buffer9) | 0; + HEAPF64[$vararg_buffer9 >> 3] = $__v; + $__nc$1 = __ZNSt3__219__libcpp_asprintf_lEPPcP15__locale_structPKcz($__nb, $call14, $__fmt, $vararg_buffer9) | 0; } - $31 = HEAP32[$7 >> 2] | 0; - if (!$31) __ZSt17__throw_bad_allocv(); else { - $$2 = $$1; - $$sroa$046$0 = $31; - $34 = $31; + $7 = HEAP32[$__nb >> 2] | 0; + if (!$7) __ZSt17__throw_bad_allocv(); else { + $8 = $7; + $__nbh$sroa$0$0 = $7; + $__nc$2 = $__nc$1; } } else { - $$2 = $$0; - $$sroa$046$0 = 0; - $34 = HEAP32[$7 >> 2] | 0; + $8 = HEAP32[$__nb >> 2] | 0; + $__nbh$sroa$0$0 = 0; + $__nc$2 = $__nc$0; } - $33 = $34 + $$2 | 0; - $35 = __ZNSt3__214__num_put_base18__identify_paddingEPcS1_RKNS_8ios_baseE($34, $33, $2) | 0; - do if (($34 | 0) != ($6 | 0)) { - $38 = _malloc($$2 << 3) | 0; - if (!$38) __ZSt17__throw_bad_allocv(); else { - $$037 = $38; - $$sroa$039$0 = 0; - $44 = $38; + $add$ptr27 = $8 + $__nc$2 | 0; + $call28 = __ZNSt3__214__num_put_base18__identify_paddingEPcS1_RKNS_8ios_baseE($8, $add$ptr27, $__iob) | 0; + do if (($8 | 0) != ($__nar | 0)) { + $call35 = _malloc($__nc$2 << 3) | 0; + if (!$call35) __ZSt17__throw_bad_allocv(); else { + $12 = $call35; + $__ob$0 = $call35; + $__obh$sroa$0$0 = 0; break; } } else { - $$037 = $8; - $$sroa$039$0 = 1; - $44 = 0; + $12 = 0; + $__ob$0 = $__o; + $__obh$sroa$0$0 = 1; } while (0); - __ZNKSt3__28ios_base6getlocEv($$byval_copy, $2); - __ZNSt3__29__num_putIwE23__widen_and_group_floatEPcS2_S2_PwRS3_S4_RKNS_6localeE($34, $35, $33, $$037, $9, $10, $$byval_copy); - __ZNSt3__26localeD2Ev($$byval_copy); - HEAP32[$11 >> 2] = HEAP32[$1 >> 2]; - $41 = HEAP32[$9 >> 2] | 0; - $42 = HEAP32[$10 >> 2] | 0; - HEAP32[$$byval_copy >> 2] = HEAP32[$11 >> 2]; - $43 = __ZNSt3__216__pad_and_outputIwNS_11char_traitsIwEEEENS_19ostreambuf_iteratorIT_T0_EES6_PKS4_S8_S8_RNS_8ios_baseES4_($$byval_copy, $$037, $41, $42, $2, $3) | 0; - HEAP32[$1 >> 2] = $43; - if (!$$sroa$039$0) _free($44); - _free($$sroa$046$0); + __ZNKSt3__28ios_base6getlocEv($agg$tmp$byval_copy, $__iob); + __ZNSt3__29__num_putIwE23__widen_and_group_floatEPcS2_S2_PwRS3_S4_RKNS_6localeE($8, $call28, $add$ptr27, $__ob$0, $__op, $__oe, $agg$tmp$byval_copy); + __ZNSt3__26localeD2Ev($agg$tmp$byval_copy); + HEAP32[$agg$tmp >> 2] = HEAP32[$__s >> 2]; + $10 = HEAP32[$__op >> 2] | 0; + $11 = HEAP32[$__oe >> 2] | 0; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + $call42 = __ZNSt3__216__pad_and_outputIwNS_11char_traitsIwEEEENS_19ostreambuf_iteratorIT_T0_EES6_PKS4_S8_S8_RNS_8ios_baseES4_($agg$tmp$byval_copy, $__ob$0, $10, $11, $__iob, $__fl) | 0; + HEAP32[$__s >> 2] = $call42; + if (!$__obh$sroa$0$0) _free($12); + _free($__nbh$sroa$0$0); STACKTOP = sp; - return $43 | 0; + return $call42 | 0; } -function _setCamera($id, $cameraID) { - $id = $id | 0; - $cameraID = $cameraID | 0; - var $0 = 0, $2 = 0, $arhandle = 0, $call31 = 0, $call34 = 0, $call39 = 0, $call47 = 0, $call7 = 0, $cameraID$addr = 0, $height = 0, $id$addr = 0, $param = 0, $paramLT = 0, $retval$2 = 0, $vararg_buffer = 0, $vararg_buffer2 = 0, $vararg_buffer4 = 0, $vararg_buffer6 = 0, $width = 0, label = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 48 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); - $vararg_buffer6 = sp + 24 | 0; - $vararg_buffer4 = sp + 16 | 0; - $vararg_buffer2 = sp + 8 | 0; - $vararg_buffer = sp; - $id$addr = sp + 32 | 0; - $cameraID$addr = sp + 28 | 0; - HEAP32[$id$addr >> 2] = $id; - HEAP32[$cameraID$addr >> 2] = $cameraID; - do if ((__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(65260, $id$addr) | 0) != 0 ? ($call7 = __ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(65260, $id$addr) | 0, (__ZNSt3__212__hash_tableINS_17__hash_value_typeIi7ARParamEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(65280, $cameraID$addr) | 0) != 0) : 0) { - $param = $call7 + 8 | 0; - _memcpy($param | 0, __ZNSt3__213unordered_mapIi7ARParamNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(65280, $cameraID$addr) | 0, 184) | 0; - $0 = HEAP32[$param >> 2] | 0; - $width = $call7 + 208 | 0; - $2 = HEAP32[$call7 + 12 >> 2] | 0; - $height = $call7 + 212 | 0; - if (($0 | 0) == (HEAP32[$width >> 2] | 0) ? ($2 | 0) == (HEAP32[$height >> 2] | 0) : 0) {} else { - HEAP32[$vararg_buffer >> 2] = $0; - HEAP32[$vararg_buffer + 4 >> 2] = $2; - _arLog(0, 2, 45770, $vararg_buffer); - _arParamChangeSize($param, HEAP32[$width >> 2] | 0, HEAP32[$height >> 2] | 0, $param) | 0; - } - _deleteHandle($call7); - $call31 = _arParamLTCreate($param, 15) | 0; - $paramLT = $call7 + 192 | 0; - HEAP32[$paramLT >> 2] = $call31; - if (!$call31) { - _arLog(0, 3, 45817, $vararg_buffer2); - $retval$2 = -1; - break; - } - $call34 = _arCreateHandle($call31) | 0; - $arhandle = $call7 + 216 | 0; - HEAP32[$arhandle >> 2] = $call34; - if (!$call34) { - _arLog(0, 3, 45855, $vararg_buffer4); - $retval$2 = -1; - break; - } - _arSetPixelFormat($call34, HEAP32[$call7 + 472 >> 2] | 0) | 0; - $call39 = _ar3DCreateHandle($param) | 0; - HEAP32[$call7 + 228 >> 2] = $call39; - if (!$call39) { - _arLog(0, 3, 45892, $vararg_buffer6); - $retval$2 = -1; - break; +function ___stpncpy($d, $s, $n) { + $d = $d | 0; + $s = $s | 0; + $n = $n | 0; + var $0 = 0, $4 = 0, $6 = 0, $7 = 0, $d$addr$0$lcssa = 0, $d$addr$051 = 0, $d$addr$1 = 0, $d$addr$231 = 0, $d$addr$3 = 0, $dec = 0, $incdec$ptr = 0, $incdec$ptr20 = 0, $incdec$ptr21 = 0, $incdec$ptr34 = 0, $incdec$ptr5 = 0, $n$addr$0$lcssa = 0, $n$addr$053 = 0, $n$addr$1$lcssa = 0, $n$addr$138 = 0, $n$addr$2 = 0, $n$addr$333 = 0, $n$addr$4 = 0, $s$addr$0$lcssa = 0, $s$addr$052 = 0, $s$addr$1 = 0, $s$addr$232 = 0, $sub19 = 0, $tobool3 = 0, $tobool3$lcssa = 0, $tobool349 = 0, $wd$0$lcssa = 0, $wd$039 = 0, $ws$0$lcssa = 0, $ws$040 = 0, label = 0; + $0 = $s; + L1 : do if (!(($0 ^ $d) & 3)) { + $tobool349 = ($n | 0) != 0; + if ($tobool349 & ($0 & 3 | 0) != 0) { + $d$addr$051 = $d; + $n$addr$053 = $n; + $s$addr$052 = $s; + while (1) { + $4 = HEAP8[$s$addr$052 >> 0] | 0; + HEAP8[$d$addr$051 >> 0] = $4; + if (!($4 << 24 >> 24)) { + $d$addr$3 = $d$addr$051; + $n$addr$4 = $n$addr$053; + break L1; + } + $dec = $n$addr$053 + -1 | 0; + $incdec$ptr = $s$addr$052 + 1 | 0; + $incdec$ptr5 = $d$addr$051 + 1 | 0; + $tobool3 = ($dec | 0) != 0; + if ($tobool3 & ($incdec$ptr & 3 | 0) != 0) { + $d$addr$051 = $incdec$ptr5; + $n$addr$053 = $dec; + $s$addr$052 = $incdec$ptr; + } else { + $d$addr$0$lcssa = $incdec$ptr5; + $n$addr$0$lcssa = $dec; + $s$addr$0$lcssa = $incdec$ptr; + $tobool3$lcssa = $tobool3; + break; + } + } } else { - _arPattAttach(HEAP32[$arhandle >> 2] | 0, HEAP32[$call7 + 220 >> 2] | 0) | 0; - _arglCameraFrustumRH(HEAP32[$paramLT >> 2] | 0, +HEAPF64[$call7 + 312 >> 3], +HEAPF64[$call7 + 320 >> 3], $call7 + 344 | 0); - $call47 = _createKpmHandle(HEAP32[$paramLT >> 2] | 0) | 0; - HEAP32[$call7 + 232 >> 2] = $call47; - $retval$2 = 0; - break; - } - } else $retval$2 = -1; while (0); - STACKTOP = sp; - return $retval$2 | 0; -} - -function _int_upsample($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $$05061$us = 0, $$05061$us77 = 0, $$05157$us$us = 0, $$05157$us$us90 = 0, $$05256$us$us = 0, $$05256$us$us91 = 0, $$05354$us$us = 0, $$05354$us$us97 = 0, $$062 = 0, $$062$us = 0, $$062$us76 = 0, $$155$us$us = 0, $$155$us$us96 = 0, $10 = 0, $11 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $18 = 0, $19 = 0, $21 = 0, $25 = 0, $27 = 0, $28 = 0, $29 = 0, $32 = 0, $46 = 0, $47 = 0, $48 = 0, $5 = 0, $6 = 0, $62 = 0, $8 = 0, label = 0; - $5 = HEAP32[$0 + 476 >> 2] | 0; - $6 = HEAP32[$3 >> 2] | 0; - $8 = HEAP32[$1 + 4 >> 2] | 0; - $10 = HEAP8[$5 + 140 + $8 >> 0] | 0; - $11 = $10 & 255; - $13 = HEAP8[$5 + 150 + $8 >> 0] | 0; - $14 = $13 & 255; - $15 = $0 + 320 | 0; - $16 = HEAP32[$15 >> 2] | 0; - if (($16 | 0) <= 0) return; - $18 = $0 + 112 | 0; - $19 = $10 << 24 >> 24 != 0; - $21 = $14 + -1 | 0; - if (($13 & 255) > 1) { - $25 = ($10 << 24 >> 24 == 0 ? ~$11 : -2) + $11 + 2 | 0; - $$05061$us = 0; - $$062$us = 0; - while (1) { - $27 = HEAP32[$6 + ($$062$us << 2) >> 2] | 0; - $28 = HEAP32[$18 >> 2] | 0; - $29 = $27 + $28 | 0; - if (($28 | 0) > 0) { - if (!$19) break; - $$05157$us$us = HEAP32[$2 + ($$05061$us << 2) >> 2] | 0; - $$05256$us$us = $27; + $d$addr$0$lcssa = $d; + $n$addr$0$lcssa = $n; + $s$addr$0$lcssa = $s; + $tobool3$lcssa = $tobool349; + } + if ($tobool3$lcssa) if (!(HEAP8[$s$addr$0$lcssa >> 0] | 0)) { + $d$addr$3 = $d$addr$0$lcssa; + $n$addr$4 = $n$addr$0$lcssa; + } else { + L11 : do if ($n$addr$0$lcssa >>> 0 > 3) { + $n$addr$138 = $n$addr$0$lcssa; + $wd$039 = $d$addr$0$lcssa; + $ws$040 = $s$addr$0$lcssa; while (1) { - _memset($$05256$us$us | 0, HEAP8[$$05157$us$us >> 0] | 0, $25 | 0) | 0; - $$05354$us$us = $11; - $$155$us$us = $$05256$us$us; - while (1) { - $$155$us$us = $$155$us$us + 1 | 0; - if (($$05354$us$us | 0) <= 1) break; else $$05354$us$us = $$05354$us$us + -1 | 0; + $6 = HEAP32[$ws$040 >> 2] | 0; + if (($6 & -2139062144 ^ -2139062144) & $6 + -16843009 | 0) { + $n$addr$1$lcssa = $n$addr$138; + $wd$0$lcssa = $wd$039; + $ws$0$lcssa = $ws$040; + break L11; + } + HEAP32[$wd$039 >> 2] = $6; + $sub19 = $n$addr$138 + -4 | 0; + $incdec$ptr20 = $ws$040 + 4 | 0; + $incdec$ptr21 = $wd$039 + 4 | 0; + if ($sub19 >>> 0 > 3) { + $n$addr$138 = $sub19; + $wd$039 = $incdec$ptr21; + $ws$040 = $incdec$ptr20; + } else { + $n$addr$1$lcssa = $sub19; + $wd$0$lcssa = $incdec$ptr21; + $ws$0$lcssa = $incdec$ptr20; + break; } - if ($$155$us$us >>> 0 < $29 >>> 0) { - $$05157$us$us = $$05157$us$us + 1 | 0; - $$05256$us$us = $$155$us$us; - } else break; } - $32 = HEAP32[$18 >> 2] | 0; - } else $32 = $28; - _jcopy_sample_rows($6, $$062$us, $6, $$062$us + 1 | 0, $21, $32); - $$062$us = $$062$us + $14 | 0; - if (($$062$us | 0) >= (HEAP32[$15 >> 2] | 0)) { - label = 27; - break; - } else $$05061$us = $$05061$us + 1 | 0; + } else { + $n$addr$1$lcssa = $n$addr$0$lcssa; + $wd$0$lcssa = $d$addr$0$lcssa; + $ws$0$lcssa = $s$addr$0$lcssa; + } while (0); + $d$addr$1 = $wd$0$lcssa; + $n$addr$2 = $n$addr$1$lcssa; + $s$addr$1 = $ws$0$lcssa; + label = 13; + } else { + $d$addr$3 = $d$addr$0$lcssa; + $n$addr$4 = 0; } - if ((label | 0) == 27) return; - while (1) {} - } - if (!$19) { - $62 = (HEAP32[$18 >> 2] | 0) > 0; - $$062 = 0; + } else { + $d$addr$1 = $d; + $n$addr$2 = $n; + $s$addr$1 = $s; + label = 13; + } while (0); + L17 : do if ((label | 0) == 13) if (!$n$addr$2) { + $d$addr$3 = $d$addr$1; + $n$addr$4 = 0; + } else { + $d$addr$231 = $d$addr$1; + $n$addr$333 = $n$addr$2; + $s$addr$232 = $s$addr$1; while (1) { - if ($62) break; - $$062 = $$062 + $14 | 0; - if (($$062 | 0) >= ($16 | 0)) { - label = 27; + $7 = HEAP8[$s$addr$232 >> 0] | 0; + HEAP8[$d$addr$231 >> 0] = $7; + if (!($7 << 24 >> 24)) { + $d$addr$3 = $d$addr$231; + $n$addr$4 = $n$addr$333; + break L17; + } + $n$addr$333 = $n$addr$333 + -1 | 0; + $incdec$ptr34 = $d$addr$231 + 1 | 0; + if (!$n$addr$333) { + $d$addr$3 = $incdec$ptr34; + $n$addr$4 = 0; break; + } else { + $d$addr$231 = $incdec$ptr34; + $s$addr$232 = $s$addr$232 + 1 | 0; } } - if ((label | 0) == 27) return; - while (1) {} + } while (0); + _memset($d$addr$3 | 0, 0, $n$addr$4 | 0) | 0; + return $d$addr$3 | 0; +} + +function _jpeg_idct_4x2($cinfo, $compptr, $coef_block, $output_buf, $output_col) { + $cinfo = $cinfo | 0; + $compptr = $compptr | 0; + $coef_block = $coef_block | 0; + $output_buf = $output_buf | 0; + $output_col = $output_col | 0; + var $0 = 0, $1 = 0, $add = 0, $add$1 = 0, $add$2 = 0, $add$3 = 0, $add$ptr = 0, $add$ptr16 = 0, $add$ptr16$1 = 0, $add18 = 0, $add18$1 = 0, $add28 = 0, $add28$1 = 0, $arrayidx7 = 0, $mul = 0, $mul$1 = 0, $mul$2 = 0, $mul$3 = 0, $mul26 = 0, $mul26$1 = 0, $mul5 = 0, $mul5$1 = 0, $mul5$2 = 0, $mul5$3 = 0, $shl = 0, $shl$1 = 0, $shl22 = 0, $shl22$1 = 0, $sub$1 = 0, $sub$2 = 0, $sub$3 = 0, $sub30 = 0, $sub30$1 = 0, $workspace = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 32 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); + $workspace = sp; + $0 = HEAP32[$cinfo + 336 >> 2] | 0; + $1 = HEAP32[$compptr + 84 >> 2] | 0; + $mul = Math_imul(HEAP32[$1 >> 2] | 0, HEAP16[$coef_block >> 1] | 0) | 0; + $mul5 = Math_imul(HEAP32[$1 + 32 >> 2] | 0, HEAP16[$coef_block + 16 >> 1] | 0) | 0; + $add = $mul5 + $mul | 0; + HEAP32[$workspace >> 2] = $add; + $arrayidx7 = $workspace + 16 | 0; + HEAP32[$arrayidx7 >> 2] = $mul - $mul5; + $mul$1 = Math_imul(HEAP32[$1 + 4 >> 2] | 0, HEAP16[$coef_block + 2 >> 1] | 0) | 0; + $mul5$1 = Math_imul(HEAP32[$1 + 36 >> 2] | 0, HEAP16[$coef_block + 18 >> 1] | 0) | 0; + $add$1 = $mul5$1 + $mul$1 | 0; + HEAP32[$workspace + 4 >> 2] = $add$1; + $sub$1 = $mul$1 - $mul5$1 | 0; + HEAP32[$workspace + 20 >> 2] = $sub$1; + $mul$2 = Math_imul(HEAP32[$1 + 8 >> 2] | 0, HEAP16[$coef_block + 4 >> 1] | 0) | 0; + $mul5$2 = Math_imul(HEAP32[$1 + 40 >> 2] | 0, HEAP16[$coef_block + 20 >> 1] | 0) | 0; + $add$2 = $mul5$2 + $mul$2 | 0; + HEAP32[$workspace + 8 >> 2] = $add$2; + $sub$2 = $mul$2 - $mul5$2 | 0; + HEAP32[$workspace + 24 >> 2] = $sub$2; + $mul$3 = Math_imul(HEAP32[$1 + 12 >> 2] | 0, HEAP16[$coef_block + 6 >> 1] | 0) | 0; + $mul5$3 = Math_imul(HEAP32[$1 + 44 >> 2] | 0, HEAP16[$coef_block + 22 >> 1] | 0) | 0; + $add$3 = $mul5$3 + $mul$3 | 0; + HEAP32[$workspace + 12 >> 2] = $add$3; + $sub$3 = $mul$3 - $mul5$3 | 0; + HEAP32[$workspace + 28 >> 2] = $sub$3; + $add$ptr = $0 + -384 | 0; + $add$ptr16 = (HEAP32[$output_buf >> 2] | 0) + $output_col | 0; + $add18 = $add + 4100 | 0; + $shl = $add18 + $add$2 << 13; + $shl22 = $add18 - $add$2 << 13; + $mul26 = ($add$3 + $add$1 | 0) * 4433 | 0; + $add28 = $mul26 + ($add$1 * 6270 | 0) | 0; + $sub30 = $mul26 + (Math_imul($add$3, -15137) | 0) | 0; + HEAP8[$add$ptr16 >> 0] = HEAP8[$add$ptr + (($add28 + $shl | 0) >>> 16 & 1023) >> 0] | 0; + HEAP8[$add$ptr16 + 3 >> 0] = HEAP8[$add$ptr + (($shl - $add28 | 0) >>> 16 & 1023) >> 0] | 0; + HEAP8[$add$ptr16 + 1 >> 0] = HEAP8[$add$ptr + (($sub30 + $shl22 | 0) >>> 16 & 1023) >> 0] | 0; + HEAP8[$add$ptr16 + 2 >> 0] = HEAP8[$add$ptr + (($shl22 - $sub30 | 0) >>> 16 & 1023) >> 0] | 0; + $add$ptr16$1 = (HEAP32[$output_buf + 4 >> 2] | 0) + $output_col | 0; + $add18$1 = (HEAP32[$arrayidx7 >> 2] | 0) + 4100 | 0; + $shl$1 = $add18$1 + $sub$2 << 13; + $shl22$1 = $add18$1 - $sub$2 << 13; + $mul26$1 = ($sub$3 + $sub$1 | 0) * 4433 | 0; + $add28$1 = $mul26$1 + ($sub$1 * 6270 | 0) | 0; + $sub30$1 = $mul26$1 + (Math_imul($sub$3, -15137) | 0) | 0; + HEAP8[$add$ptr16$1 >> 0] = HEAP8[$add$ptr + (($add28$1 + $shl$1 | 0) >>> 16 & 1023) >> 0] | 0; + HEAP8[$add$ptr16$1 + 3 >> 0] = HEAP8[$add$ptr + (($shl$1 - $add28$1 | 0) >>> 16 & 1023) >> 0] | 0; + HEAP8[$add$ptr16$1 + 1 >> 0] = HEAP8[$add$ptr + (($sub30$1 + $shl22$1 | 0) >>> 16 & 1023) >> 0] | 0; + HEAP8[$add$ptr16$1 + 2 >> 0] = HEAP8[$add$ptr + (($shl22$1 - $sub30$1 | 0) >>> 16 & 1023) >> 0] | 0; + STACKTOP = sp; + return; +} + +function __ZN6vision11PartialSortIfEET_PS1_ii($a, $n, $k) { + $a = $a | 0; + $n = $n | 0; + $k = $k | 0; + var $2 = 0.0, $3 = 0.0, $4 = 0.0, $arrayidx = 0, $arrayidx24 = 0, $arrayidx28 = 0, $call$i1$i = 0, $call$i1$i41 = 0, $call$i2$i = 0, $call$i2$i44 = 0, $call15 = 0, $call5 = 0, $dec = 0, $i$0 = 0, $i$1 = 0, $i$2 = 0, $inc = 0, $j$0 = 0, $j$1 = 0, $j$2 = 0, $l$0 = 0, $m$0 = 0, $ref$tmp$i40 = 0, $sub = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $ref$tmp$i40 = sp; + if (($n | 0) <= 0) { + $call5 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 38023) | 0, 38052) | 0, 39794) | 0, 53) | 0, 39801) | 0, 38163) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i40, $call5 + (HEAP32[(HEAP32[$call5 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i40, 67360) | 0; + $call$i2$i = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i >> 2] | 0) + 28 >> 2] & 127]($call$i1$i, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i40); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call5, $call$i2$i) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call5) | 0; + _abort(); + } + if (($k | 0) <= 0) { + $call15 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 38182) | 0, 38052) | 0, 39794) | 0, 54) | 0, 39801) | 0, 38211) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i40, $call15 + (HEAP32[(HEAP32[$call15 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i41 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i40, 67360) | 0; + $call$i2$i44 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i41 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i41, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i40); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call15, $call$i2$i44) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call15) | 0; + _abort(); } - $$05061$us77 = 0; - $$062$us76 = 0; + $sub = $k + -1 | 0; + $arrayidx = $a + ($sub << 2) | 0; + $l$0 = 0; + $m$0 = $n + -1 | 0; while (1) { - $46 = HEAP32[$6 + ($$062$us76 << 2) >> 2] | 0; - $47 = HEAP32[$18 >> 2] | 0; - $48 = $46 + $47 | 0; - if (($47 | 0) > 0) { - $$05157$us$us90 = HEAP32[$2 + ($$05061$us77 << 2) >> 2] | 0; - $$05256$us$us91 = $46; + $2 = +HEAPF32[$arrayidx >> 2]; + if (($l$0 | 0) >= ($m$0 | 0)) break; + $i$0 = $l$0; + $j$0 = $m$0; + while (1) { + $i$1 = $i$0; while (1) { - _memset($$05256$us$us91 | 0, HEAP8[$$05157$us$us90 >> 0] | 0, $11 | 0) | 0; - $$05354$us$us97 = $11; - $$155$us$us96 = $$05256$us$us91; - while (1) { - $$155$us$us96 = $$155$us$us96 + 1 | 0; - if (($$05354$us$us97 | 0) <= 1) break; else $$05354$us$us97 = $$05354$us$us97 + -1 | 0; - } - if ($$155$us$us96 >>> 0 < $48 >>> 0) { - $$05157$us$us90 = $$05157$us$us90 + 1 | 0; - $$05256$us$us91 = $$155$us$us96; - } else break; + $arrayidx24 = $a + ($i$1 << 2) | 0; + $3 = +HEAPF32[$arrayidx24 >> 2]; + $inc = $i$1 + 1 | 0; + if ($3 < $2) $i$1 = $inc; else break; + } + $j$1 = $j$0; + while (1) { + $arrayidx28 = $a + ($j$1 << 2) | 0; + $4 = +HEAPF32[$arrayidx28 >> 2]; + $dec = $j$1 + -1 | 0; + if ($2 < $4) $j$1 = $dec; else break; + } + if (($i$1 | 0) > ($j$1 | 0)) { + $i$2 = $i$1; + $j$2 = $j$1; + } else { + HEAPF32[$arrayidx24 >> 2] = $4; + HEAPF32[$arrayidx28 >> 2] = $3; + $i$2 = $inc; + $j$2 = $dec; + } + if (($i$2 | 0) > ($j$2 | 0)) break; else { + $i$0 = $i$2; + $j$0 = $j$2; } } - $$062$us76 = $$062$us76 + $14 | 0; - if (($$062$us76 | 0) >= (HEAP32[$15 >> 2] | 0)) break; else $$05061$us77 = $$05061$us77 + 1 | 0; + $l$0 = ($j$2 | 0) < ($sub | 0) ? $i$2 : $l$0; + $m$0 = ($i$2 | 0) < ($k | 0) ? $m$0 : $j$2; } - return; + STACKTOP = sp; + return +$2; } -function _arParamIdeal2Observ($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = +$1; - $2 = +$2; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$0 = 0, $10 = 0.0, $100 = 0.0, $101 = 0, $104 = 0.0, $110 = 0.0, $12 = 0.0, $122 = 0.0, $128 = 0.0, $131 = 0.0, $132 = 0.0, $133 = 0, $136 = 0.0, $14 = 0.0, $147 = 0.0, $16 = 0.0, $18 = 0.0, $20 = 0.0, $22 = 0.0, $25 = 0.0, $28 = 0.0, $31 = 0.0, $36 = 0.0, $61 = 0.0, $64 = 0.0, $65 = 0.0, $66 = 0, $69 = 0.0, $77 = 0.0, $89 = 0.0, $96 = 0.0, $99 = 0.0, $storemerge$sink = 0.0, label = 0; - L1 : do switch ($5 | 0) { - case 4: - { - $10 = +HEAPF64[$0 + 16 >> 3]; - $12 = +HEAPF64[$0 + 24 >> 3]; - $14 = +HEAPF64[$0 + 32 >> 3]; - $16 = +HEAPF64[$0 + 40 >> 3]; - $18 = +HEAPF64[$0 + 48 >> 3]; - $20 = +HEAPF64[$0 + 56 >> 3]; - $22 = +HEAPF64[$0 + 64 >> 3]; - $25 = ($1 - $18) * $22 / $14; - $28 = ($2 - $20) * $22 / $16; - $31 = $25 * $25 + $28 * $28; - $36 = +HEAPF64[$0 >> 3] * $31 + 1.0 + $31 * (+HEAPF64[$0 + 8 >> 3] * $31); - HEAPF64[$3 >> 3] = $18 + $14 * ($12 * ($31 + $25 * ($25 * 2.0)) + ($28 * ($10 * 2.0 * $25) + $25 * $36)); - $storemerge$sink = $20 + $16 * ($28 * ($12 * 2.0 * $25) + ($10 * ($31 + $28 * ($28 * 2.0)) + $28 * $36)); - label = 12; - break; - } - case 3: +function _scanexp($f, $pok) { + $f = $f | 0; + $pok = $pok | 0; + var $0 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $21 = 0, $25 = 0, $3 = 0, $34 = 0, $39 = 0, $40 = 0, $41 = 0, $42 = 0, $45 = 0, $46 = 0, $9 = 0, $c$0 = 0, $c$146 = 0, $c$241 = 0, $cond = 0, $cond106 = 0, $cond19 = 0, $cond60 = 0, $cond87 = 0, $conv7 = 0, $neg$0 = 0, $rpos = 0, $shend = 0, $sub = 0, $sub31$pre$phiZ2D = 0, $sub43 = 0, $sub63 = 0, $tobool115 = 0, $x$047 = 0, label = 0; + $rpos = $f + 4 | 0; + $0 = HEAP32[$rpos >> 2] | 0; + $shend = $f + 104 | 0; + if ($0 >>> 0 < (HEAP32[$shend >> 2] | 0) >>> 0) { + HEAP32[$rpos >> 2] = $0 + 1; + $cond = HEAPU8[$0 >> 0] | 0; + } else $cond = ___shgetc($f) | 0; + switch ($cond | 0) { + case 43: + case 45: { - $61 = +HEAPF64[$0 >> 3]; - $64 = +HEAPF64[$0 + 16 >> 3]; - $65 = ($1 - $61) * $64; - $66 = $0 + 8 | 0; - $69 = $64 * ($2 - +HEAPF64[$66 >> 3]); - if ($65 == 0.0 & $69 == 0.0) { - HEAPF64[$3 >> 3] = $61; - $storemerge$sink = +HEAPF64[$66 >> 3]; - label = 12; - break L1; + $conv7 = ($cond | 0) == 45 & 1; + $3 = HEAP32[$rpos >> 2] | 0; + if ($3 >>> 0 < (HEAP32[$shend >> 2] | 0) >>> 0) { + HEAP32[$rpos >> 2] = $3 + 1; + $cond19 = HEAPU8[$3 >> 0] | 0; + } else $cond19 = ___shgetc($f) | 0; + $sub = $cond19 + -48 | 0; + if (($pok | 0) != 0 & $sub >>> 0 > 9) if (!(HEAP32[$shend >> 2] | 0)) { + $45 = -2147483648; + $46 = 0; } else { - $77 = $65 * $65 + $69 * $69; - $89 = 1.0 - $77 * (+HEAPF64[$0 + 32 >> 3] / 1.0e8) - $77 * ($77 * (+HEAPF64[$0 + 40 >> 3] / 1.0e8 / 1.0e5)); - HEAPF64[$3 >> 3] = $61 + +HEAPF64[$0 + 24 >> 3] * ($65 * $89); - $storemerge$sink = +HEAPF64[$66 >> 3] + $69 * $89; - label = 12; - break L1; - } - break; - } - case 2: - { - $96 = +HEAPF64[$0 >> 3]; - $99 = +HEAPF64[$0 + 16 >> 3]; - $100 = ($1 - $96) * $99; - $101 = $0 + 8 | 0; - $104 = $99 * ($2 - +HEAPF64[$101 >> 3]); - if ($100 == 0.0 & $104 == 0.0) { - HEAPF64[$3 >> 3] = $96; - $storemerge$sink = +HEAPF64[$101 >> 3]; - label = 12; - break L1; + HEAP32[$rpos >> 2] = (HEAP32[$rpos >> 2] | 0) + -1; + label = 14; } else { - $110 = $100 * $100 + $104 * $104; - $122 = 1.0 - $110 * (+HEAPF64[$0 + 24 >> 3] / 1.0e8) - $110 * ($110 * (+HEAPF64[$0 + 32 >> 3] / 1.0e8 / 1.0e5)); - HEAPF64[$3 >> 3] = $96 + $100 * $122; - $storemerge$sink = +HEAPF64[$101 >> 3] + $104 * $122; + $c$0 = $cond19; + $neg$0 = $conv7; + $sub31$pre$phiZ2D = $sub; label = 12; - break L1; } break; } - case 1: + default: { - $128 = +HEAPF64[$0 >> 3]; - $131 = +HEAPF64[$0 + 16 >> 3]; - $132 = ($1 - $128) * $131; - $133 = $0 + 8 | 0; - $136 = $131 * ($2 - +HEAPF64[$133 >> 3]); - if ($132 == 0.0 & $136 == 0.0) { - HEAPF64[$3 >> 3] = $128; - $storemerge$sink = +HEAPF64[$133 >> 3]; - label = 12; - break L1; + $c$0 = $cond; + $neg$0 = 0; + $sub31$pre$phiZ2D = $cond + -48 | 0; + label = 12; + } + } + if ((label | 0) == 12) if ($sub31$pre$phiZ2D >>> 0 > 9) label = 14; else { + $c$146 = $c$0; + $x$047 = 0; + while (1) { + $x$047 = $c$146 + -48 + ($x$047 * 10 | 0) | 0; + $9 = HEAP32[$rpos >> 2] | 0; + if ($9 >>> 0 < (HEAP32[$shend >> 2] | 0) >>> 0) { + HEAP32[$rpos >> 2] = $9 + 1; + $cond60 = HEAPU8[$9 >> 0] | 0; + } else $cond60 = ___shgetc($f) | 0; + $sub43 = $cond60 + -48 | 0; + if (!($sub43 >>> 0 < 10 & ($x$047 | 0) < 214748364)) break; else $c$146 = $cond60; + } + $14 = (($x$047 | 0) < 0) << 31 >> 31; + if ($sub43 >>> 0 < 10) { + $15 = $x$047; + $16 = $14; + $c$241 = $cond60; + while (1) { + $17 = ___muldi3($15 | 0, $16 | 0, 10, 0) | 0; + $18 = getTempRet0() | 0; + $21 = _i64Add($c$241 | 0, (($c$241 | 0) < 0) << 31 >> 31 | 0, -48, -1) | 0; + $15 = _i64Add($21 | 0, getTempRet0() | 0, $17 | 0, $18 | 0) | 0; + $16 = getTempRet0() | 0; + $25 = HEAP32[$rpos >> 2] | 0; + if ($25 >>> 0 < (HEAP32[$shend >> 2] | 0) >>> 0) { + HEAP32[$rpos >> 2] = $25 + 1; + $cond87 = HEAPU8[$25 >> 0] | 0; + } else $cond87 = ___shgetc($f) | 0; + $sub63 = $cond87 + -48 | 0; + if (!($sub63 >>> 0 < 10 & (($16 | 0) < 21474836 | ($16 | 0) == 21474836 & $15 >>> 0 < 2061584302))) break; else $c$241 = $cond87; + } + if ($sub63 >>> 0 < 10) { + do { + $34 = HEAP32[$rpos >> 2] | 0; + if ($34 >>> 0 < (HEAP32[$shend >> 2] | 0) >>> 0) { + HEAP32[$rpos >> 2] = $34 + 1; + $cond106 = HEAPU8[$34 >> 0] | 0; + } else $cond106 = ___shgetc($f) | 0; + } while (($cond106 + -48 | 0) >>> 0 < 10); + $39 = $15; + $40 = $16; } else { - $147 = 1.0 - ($132 * $132 + $136 * $136) * (+HEAPF64[$0 + 24 >> 3] / 1.0e8); - HEAPF64[$3 >> 3] = $128 + $132 * $147; - $storemerge$sink = +HEAPF64[$133 >> 3] + $136 * $147; - label = 12; - break L1; + $39 = $15; + $40 = $16; } - break; + } else { + $39 = $x$047; + $40 = $14; } - default: - $$0 = -1; - } while (0); - if ((label | 0) == 12) { - HEAPF64[$4 >> 3] = $storemerge$sink; - $$0 = 0; + if (HEAP32[$shend >> 2] | 0) HEAP32[$rpos >> 2] = (HEAP32[$rpos >> 2] | 0) + -1; + $tobool115 = ($neg$0 | 0) == 0; + $41 = _i64Subtract(0, 0, $39 | 0, $40 | 0) | 0; + $42 = getTempRet0() | 0; + $45 = $tobool115 ? $40 : $42; + $46 = $tobool115 ? $39 : $41; + } + if ((label | 0) == 14) if (!(HEAP32[$shend >> 2] | 0)) { + $45 = -2147483648; + $46 = 0; + } else { + HEAP32[$rpos >> 2] = (HEAP32[$rpos >> 2] | 0) + -1; + $45 = -2147483648; + $46 = 0; } - return $$0 | 0; + setTempRet0($45 | 0); + return $46 | 0; } -function __ZNSt3__29__num_getIcE19__stage2_float_loopEcRbRcPcRS4_ccRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSE_RjS4_($0, $1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - $6 = $6 | 0; - $7 = $7 | 0; - $8 = $8 | 0; - $9 = $9 | 0; - $10 = $10 | 0; - $11 = $11 | 0; - var $$0$i$idx = 0, $$0$i$ptr = 0, $$0$lcssa$i = 0, $$2 = 0, $15 = 0, $18 = 0, $25 = 0, $30 = 0, $34 = 0, $43 = 0, $48 = 0, $50 = 0, $56 = 0, $59 = 0, $60 = 0, $69 = 0, $72 = 0, $81 = 0, $88 = 0, $93 = 0, $95 = 0; - L1 : do if ($0 << 24 >> 24 == $5 << 24 >> 24) if (HEAP8[$1 >> 0] | 0) { - HEAP8[$1 >> 0] = 0; - $15 = HEAP32[$4 >> 2] | 0; - HEAP32[$4 >> 2] = $15 + 1; - HEAP8[$15 >> 0] = 46; - $18 = HEAP8[$7 + 11 >> 0] | 0; - if ((($18 << 24 >> 24 < 0 ? HEAP32[$7 + 4 >> 2] | 0 : $18 & 255) | 0) != 0 ? ($25 = HEAP32[$9 >> 2] | 0, ($25 - $8 | 0) < 160) : 0) { - $30 = HEAP32[$10 >> 2] | 0; - HEAP32[$9 >> 2] = $25 + 4; - HEAP32[$25 >> 2] = $30; - $$2 = 0; - } else $$2 = 0; - } else $$2 = -1; else { - if ($0 << 24 >> 24 == $6 << 24 >> 24 ? ($34 = HEAP8[$7 + 11 >> 0] | 0, ($34 << 24 >> 24 < 0 ? HEAP32[$7 + 4 >> 2] | 0 : $34 & 255) | 0) : 0) { - if (!(HEAP8[$1 >> 0] | 0)) { - $$2 = -1; - break; - } - $43 = HEAP32[$9 >> 2] | 0; - if (($43 - $8 | 0) >= 160) { - $$2 = 0; - break; - } - $48 = HEAP32[$10 >> 2] | 0; - HEAP32[$9 >> 2] = $43 + 4; - HEAP32[$43 >> 2] = $48; - HEAP32[$10 >> 2] = 0; - $$2 = 0; - break; - } - $50 = $11 + 32 | 0; - $$0$i$idx = 0; +function _ar2GetResolution2($cparam, $trans, $pos, $dpi) { + $cparam = $cparam | 0; + $trans = $trans | 0; + $pos = $pos | 0; + $dpi = $dpi | 0; + var $0 = 0.0, $1 = 0.0, $10 = 0.0, $11 = 0.0, $12 = 0.0, $13 = 0.0, $14 = 0.0, $15 = 0.0, $16 = 0.0, $17 = 0.0, $18 = 0.0, $19 = 0.0, $2 = 0.0, $20 = 0.0, $21 = 0.0, $3 = 0.0, $4 = 0.0, $5 = 0.0, $6 = 0.0, $7 = 0.0, $8 = 0.0, $9 = 0.0, $add100 = 0.0, $add134 = 0.0, $add138 = 0.0, $add169 = 0.0, $add174 = 0.0, $add204 = 0.0, $add212 = 0.0, $add219 = 0.0, $add31 = 0.0, $add34 = 0.0, $add65 = 0.0, $add70 = 0.0, $cmp220 = 0, $mat = 0, $mul = 0.0, $mul107 = 0.0, $mul110 = 0.0, $mul117 = 0.0, $mul120 = 0.0, $mul127 = 0.0, $mul130 = 0.0, $mul14 = 0.0, $mul17 = 0.0, $mul224$sink = 0.0, $mul227 = 0.0, $mul24 = 0.0, $mul27 = 0.0, $mul8 = 0.0, $sub = 0.0, $sub209 = 0.0, $sub213 = 0.0, $sub216 = 0.0, $x0$0 = 0.0, $x1$0 = 0.0, $x2$0 = 0.0, $y0$0 = 0.0, $y1$0 = 0.0, $y2$0 = 0.0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 48 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); + $mat = sp; + if (!$cparam) { + $11 = +HEAPF32[$pos >> 2]; + $12 = +HEAPF32[$pos + 4 >> 2]; + $13 = +HEAPF32[$trans >> 2]; + $mul107 = $11 * $13; + $14 = +HEAPF32[$trans + 4 >> 2]; + $mul110 = $12 * $14; + $15 = +HEAPF32[$trans + 12 >> 2]; + $16 = +HEAPF32[$trans + 16 >> 2]; + $mul117 = $11 * $16; + $17 = +HEAPF32[$trans + 20 >> 2]; + $mul120 = $12 * $17; + $18 = +HEAPF32[$trans + 28 >> 2]; + $19 = +HEAPF32[$trans + 32 >> 2]; + $mul127 = $11 * $19; + $20 = +HEAPF32[$trans + 36 >> 2]; + $mul130 = $12 * $20; + $21 = +HEAPF32[$trans + 44 >> 2]; + $add134 = $21 + ($mul127 + $mul130); + $add138 = $11 + 10.0; + $add169 = $21 + ($add138 * $19 + $mul130); + $add174 = $12 + 10.0; + $add204 = $21 + ($mul127 + $add174 * $20); + $x0$0 = ($15 + ($mul107 + $mul110)) / $add134; + $x1$0 = ($15 + ($add138 * $13 + $mul110)) / $add169; + $x2$0 = ($15 + ($mul107 + $add174 * $14)) / $add204; + $y0$0 = ($18 + ($mul117 + $mul120)) / $add134; + $y1$0 = ($18 + ($add138 * $16 + $mul120)) / $add169; + $y2$0 = ($18 + ($mul117 + $add174 * $17)) / $add204; + } else { + _arUtilMatMuldff($cparam + 8 | 0, $trans, $mat) | 0; + $0 = +HEAPF32[$pos >> 2]; + $1 = +HEAPF32[$pos + 4 >> 2]; + $2 = +HEAPF32[$mat >> 2]; + $mul = $0 * $2; + $3 = +HEAPF32[$mat + 4 >> 2]; + $mul8 = $1 * $3; + $4 = +HEAPF32[$mat + 12 >> 2]; + $5 = +HEAPF32[$mat + 16 >> 2]; + $mul14 = $0 * $5; + $6 = +HEAPF32[$mat + 20 >> 2]; + $mul17 = $1 * $6; + $7 = +HEAPF32[$mat + 28 >> 2]; + $8 = +HEAPF32[$mat + 32 >> 2]; + $mul24 = $0 * $8; + $9 = +HEAPF32[$mat + 36 >> 2]; + $mul27 = $1 * $9; + $10 = +HEAPF32[$mat + 44 >> 2]; + $add31 = $10 + ($mul24 + $mul27); + $add34 = $0 + 10.0; + $add65 = $10 + ($add34 * $8 + $mul27); + $add70 = $1 + 10.0; + $add100 = $10 + ($mul24 + $add70 * $9); + $x0$0 = ($4 + ($mul + $mul8)) / $add31; + $x1$0 = ($4 + ($add34 * $2 + $mul8)) / $add65; + $x2$0 = ($4 + ($mul + $add70 * $3)) / $add100; + $y0$0 = ($7 + ($mul14 + $mul17)) / $add31; + $y1$0 = ($7 + ($add34 * $5 + $mul17)) / $add65; + $y2$0 = ($7 + ($mul14 + $add70 * $6)) / $add100; + } + $sub = $x1$0 - $x0$0; + $sub209 = $y1$0 - $y0$0; + $add212 = $sub * $sub + $sub209 * $sub209; + $sub213 = $x2$0 - $x0$0; + $sub216 = $y2$0 - $y0$0; + $add219 = $sub213 * $sub213 + $sub216 * $sub216; + $cmp220 = $add212 < $add219; + $mul227 = +Math_sqrt(+($cmp220 ? $add219 : $add212)) * 2.5399999618530273; + HEAPF32[$dpi >> 2] = $mul227; + $mul224$sink = +Math_sqrt(+($cmp220 ? $add212 : $add219)) * 2.5399999618530273; + HEAPF32[$dpi + 4 >> 2] = $mul224$sink; + STACKTOP = sp; + return 0; +} + +function _qsort($base, $nel, $width, $cmp) { + $base = $base | 0; + $nel = $nel | 0; + $width = $width | 0; + $cmp = $cmp | 0; + var $$be = 0, $0 = 0, $14 = 0, $4 = 0, $4$phi = 0, $5 = 0, $6 = 0, $9 = 0, $add$ptr1 = 0, $add$ptr33 = 0, $add$ptr65 = 0, $add6 = 0, $arrayidx40 = 0, $call = 0, $head$0$lcssa = 0, $head$056 = 0, $head$1 = 0, $head$1$be = 0, $i$0 = 0, $idx$neg = 0, $lp = 0, $mul = 0, $or = 0, $or63 = 0, $p = 0, $pshift$0$lcssa = 0, $pshift$057 = 0, $pshift$1 = 0, $pshift$2 = 0, $pshift$2$be = 0, $sub$ptr$lhs$cast = 0, $sub15 = 0, $sub50 = 0, label = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 208 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(208); + $lp = sp; + $p = sp + 192 | 0; + $mul = Math_imul($width, $nel) | 0; + $0 = $p; + HEAP32[$0 >> 2] = 1; + HEAP32[$0 + 4 >> 2] = 0; + L1 : do if ($mul | 0) { + $idx$neg = 0 - $width | 0; + HEAP32[$lp + 4 >> 2] = $width; + HEAP32[$lp >> 2] = $width; + $4 = $width; + $5 = $width; + $i$0 = 2; while (1) { - $$0$i$ptr = $11 + $$0$i$idx | 0; - if (($$0$i$idx | 0) == 32) { - $$0$lcssa$i = $50; - break; - } - if ((HEAP8[$$0$i$ptr >> 0] | 0) == $0 << 24 >> 24) { - $$0$lcssa$i = $$0$i$ptr; - break; - } else $$0$i$idx = $$0$i$idx + 1 | 0; + $add6 = $4 + $width + $5 | 0; + HEAP32[$lp + ($i$0 << 2) >> 2] = $add6; + if ($add6 >>> 0 < $mul >>> 0) { + $4$phi = $5; + $5 = $add6; + $i$0 = $i$0 + 1 | 0; + $4 = $4$phi; + } else break; } - $56 = $$0$lcssa$i - $11 | 0; - if (($56 | 0) > 31) $$2 = -1; else { - $59 = HEAP8[12928 + $56 >> 0] | 0; - switch ($56 | 0) { - case 24: - case 25: - { - $60 = HEAP32[$4 >> 2] | 0; - if (($60 | 0) != ($3 | 0) ? (HEAP8[$60 + -1 >> 0] & 95) != (HEAP8[$2 >> 0] & 127) : 0) { - $$2 = -1; - break L1; + $add$ptr1 = $base + $mul + $idx$neg | 0; + if ($add$ptr1 >>> 0 > $base >>> 0) { + $sub$ptr$lhs$cast = $add$ptr1; + $6 = 1; + $head$056 = $base; + $pshift$057 = 1; + while (1) { + do if (($6 & 3 | 0) != 3) { + $sub15 = $pshift$057 + -1 | 0; + if ((HEAP32[$lp + ($sub15 << 2) >> 2] | 0) >>> 0 < ($sub$ptr$lhs$cast - $head$056 | 0) >>> 0) _sift($head$056, $width, $cmp, $pshift$057, $lp); else _trinkle($head$056, $width, $cmp, $p, $pshift$057, 0, $lp); + if (($pshift$057 | 0) == 1) { + _shl($p, 1); + $pshift$1 = 0; + break; + } else { + _shl($p, $sub15); + $pshift$1 = 1; + break; } - HEAP32[$4 >> 2] = $60 + 1; - HEAP8[$60 >> 0] = $59; - $$2 = 0; - break L1; - break; - } - case 23: - case 22: - { - HEAP8[$2 >> 0] = 80; - $69 = HEAP32[$4 >> 2] | 0; - HEAP32[$4 >> 2] = $69 + 1; - HEAP8[$69 >> 0] = $59; - $$2 = 0; - break L1; + } else { + _sift($head$056, $width, $cmp, $pshift$057, $lp); + _shr($p, 2); + $pshift$1 = $pshift$057 + 2 | 0; + } while (0); + $or = HEAP32[$p >> 2] | 1; + HEAP32[$p >> 2] = $or; + $add$ptr33 = $head$056 + $width | 0; + if ($add$ptr33 >>> 0 < $add$ptr1 >>> 0) { + $6 = $or; + $head$056 = $add$ptr33; + $pshift$057 = $pshift$1; + } else { + $14 = $or; + $head$0$lcssa = $add$ptr33; + $pshift$0$lcssa = $pshift$1; break; } - default: - { - $72 = $59 & 95; - if (((($72 | 0) == (HEAP8[$2 >> 0] | 0) ? (HEAP8[$2 >> 0] = $72 | 128, HEAP8[$1 >> 0] | 0) : 0) ? (HEAP8[$1 >> 0] = 0, $81 = HEAP8[$7 + 11 >> 0] | 0, ($81 << 24 >> 24 < 0 ? HEAP32[$7 + 4 >> 2] | 0 : $81 & 255) | 0) : 0) ? ($88 = HEAP32[$9 >> 2] | 0, ($88 - $8 | 0) < 160) : 0) { - $93 = HEAP32[$10 >> 2] | 0; - HEAP32[$9 >> 2] = $88 + 4; - HEAP32[$88 >> 2] = $93; - } - $95 = HEAP32[$4 >> 2] | 0; - HEAP32[$4 >> 2] = $95 + 1; - HEAP8[$95 >> 0] = $59; - if (($56 | 0) > 21) { - $$2 = 0; - break L1; - } - HEAP32[$10 >> 2] = (HEAP32[$10 >> 2] | 0) + 1; - $$2 = 0; - break L1; - } } + } else { + $14 = 1; + $head$0$lcssa = $base; + $pshift$0$lcssa = 1; + } + _trinkle($head$0$lcssa, $width, $cmp, $p, $pshift$0$lcssa, 0, $lp); + $arrayidx40 = $p + 4 | 0; + $9 = $14; + $head$1 = $head$0$lcssa; + $pshift$2 = $pshift$0$lcssa; + while (1) { + if (($pshift$2 | 0) == 1 & ($9 | 0) == 1) if (!(HEAP32[$arrayidx40 >> 2] | 0)) break L1; else label = 19; else if (($pshift$2 | 0) < 2) label = 19; else { + _shl($p, 2); + $sub50 = $pshift$2 + -2 | 0; + HEAP32[$p >> 2] = HEAP32[$p >> 2] ^ 7; + _shr($p, 1); + _trinkle($head$1 + (0 - (HEAP32[$lp + ($sub50 << 2) >> 2] | 0)) + $idx$neg | 0, $width, $cmp, $p, $pshift$2 + -1 | 0, 1, $lp); + _shl($p, 1); + $or63 = HEAP32[$p >> 2] | 1; + HEAP32[$p >> 2] = $or63; + $add$ptr65 = $head$1 + $idx$neg | 0; + _trinkle($add$ptr65, $width, $cmp, $p, $sub50, 1, $lp); + $$be = $or63; + $head$1$be = $add$ptr65; + $pshift$2$be = $sub50; + } + if ((label | 0) == 19) { + label = 0; + $call = _pntz($p) | 0; + _shr($p, $call); + $$be = HEAP32[$p >> 2] | 0; + $head$1$be = $head$1 + $idx$neg | 0; + $pshift$2$be = $call + $pshift$2 | 0; + } + $9 = $$be; + $head$1 = $head$1$be; + $pshift$2 = $pshift$2$be; } } while (0); - return $$2 | 0; -} - -function _quantize_fs_dither($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $$0114131 = 0, $$0115130 = 0, $$0116138 = 0, $$0117134 = 0, $$0117134$us = 0, $$0118 = 0, $$0119 = 0, $$0120129 = 0, $$0121 = 0, $$0122 = 0, $$0124 = 0, $$0132 = 0, $$1123127 = 0, $$1125126 = 0, $$1128 = 0, $11 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $24 = 0, $25 = 0, $27 = 0, $31 = 0, $32 = 0, $44 = 0, $47 = 0, $48 = 0, $5 = 0, $60 = 0, $63 = 0, $7 = 0, $71 = 0, $9 = 0, $$1128$looptemp = 0; - $5 = HEAP32[$0 + 484 >> 2] | 0; - $7 = HEAP32[$0 + 120 >> 2] | 0; - $9 = HEAP32[$0 + 112 >> 2] | 0; - $11 = HEAP32[$0 + 336 >> 2] | 0; - if (($3 | 0) <= 0) return; - $13 = ($7 | 0) > 0; - $14 = $5 + 84 | 0; - $15 = $5 + 24 | 0; - $16 = $5 + 16 | 0; - $17 = ($9 | 0) == 0; - $18 = $9 + -1 | 0; - $19 = Math_imul($18, $7) | 0; - $20 = 0 - $7 | 0; - $21 = $9 + 1 | 0; - $$0116138 = 0; - do { - $22 = $2 + ($$0116138 << 2) | 0; - _memset(HEAP32[$22 >> 2] | 0, 0, $9 | 0) | 0; - L6 : do if ($13) { - $24 = $1 + ($$0116138 << 2) | 0; - if ($17) { - $25 = (HEAP32[$14 >> 2] | 0) == 0; - $$0117134$us = 0; - while (1) { - $27 = HEAP32[$5 + 68 + ($$0117134$us << 2) >> 2] | 0; - HEAP16[($25 ? $27 : $27 + ($21 << 1) | 0) >> 1] = 0; - $$0117134$us = $$0117134$us + 1 | 0; - if (($$0117134$us | 0) == ($7 | 0)) break L6; - } - } - $$0117134 = 0; - do { - $31 = (HEAP32[$24 >> 2] | 0) + $$0117134 | 0; - $32 = HEAP32[$22 >> 2] | 0; - if (!(HEAP32[$14 >> 2] | 0)) { - $$0118 = $7; - $$0119 = 1; - $$0121 = HEAP32[$5 + 68 + ($$0117134 << 2) >> 2] | 0; - $$0122 = $31; - $$0124 = $32; - } else { - $$0118 = $20; - $$0119 = -1; - $$0121 = (HEAP32[$5 + 68 + ($$0117134 << 2) >> 2] | 0) + ($21 << 1) | 0; - $$0122 = $31 + $19 | 0; - $$0124 = $32 + $18 | 0; - } - $44 = HEAP32[(HEAP32[$15 >> 2] | 0) + ($$0117134 << 2) >> 2] | 0; - $47 = HEAP32[(HEAP32[$16 >> 2] | 0) + ($$0117134 << 2) >> 2] | 0; - $48 = Math_imul($9, $$0119) | 0; - $$0114131 = 0; - $$0115130 = $9; - $$0120129 = 0; - $$0132 = 0; - $$1123127 = $$0122; - $$1125126 = $$0124; - $$1128 = $$0121; - while (1) { - $$1128$looptemp = $$1128; - $$1128 = $$1128 + ($$0119 << 1) | 0; - $60 = HEAPU8[$11 + (($$0132 + 8 + (HEAP16[$$1128 >> 1] | 0) >> 4) + (HEAPU8[$$1123127 >> 0] | 0)) >> 0] | 0; - $63 = HEAPU8[$44 + $60 >> 0] | 0; - HEAP8[$$1125126 >> 0] = (HEAPU8[$$1125126 >> 0] | 0) + $63; - $71 = $60 - (HEAPU8[$47 + $63 >> 0] | 0) | 0; - HEAP16[$$1128$looptemp >> 1] = ($71 * 3 | 0) + $$0120129; - $$0120129 = ($71 * 5 | 0) + $$0114131 | 0; - $$0115130 = $$0115130 + -1 | 0; - if (!$$0115130) break; else { - $$0114131 = $71; - $$0132 = $71 * 7 | 0; - $$1123127 = $$1123127 + $$0118 | 0; - $$1125126 = $$1125126 + $$0119 | 0; - } - } - HEAP16[$$0121 + ($48 << 1) >> 1] = $$0120129; - $$0117134 = $$0117134 + 1 | 0; - } while (($$0117134 | 0) != ($7 | 0)); - } while (0); - HEAP32[$14 >> 2] = (HEAP32[$14 >> 2] | 0) == 0 & 1; - $$0116138 = $$0116138 + 1 | 0; - } while (($$0116138 | 0) != ($3 | 0)); + STACKTOP = sp; return; } -function __ZNKSt3__27num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_putES4_RNS_8ios_baseEce($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = +$4; - var $$0 = 0, $$037 = 0, $$1 = 0, $$2 = 0, $$byval_copy = 0, $$sroa$041$0 = 0, $$sroa$048$0 = 0, $10 = 0, $11 = 0, $12 = 0, $19 = 0, $20 = 0, $26 = 0, $31 = 0, $33 = 0, $34 = 0, $35 = 0, $38 = 0, $41 = 0, $42 = 0, $43 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $vararg_buffer = 0, $vararg_buffer2 = 0, $vararg_buffer5 = 0, $vararg_buffer9 = 0, sp = 0; +function __ZNKSt3__27num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_putES4_RNS_8ios_baseEce($this, $__s, $__iob, $__fl, $__v) { + $this = $this | 0; + $__s = $__s | 0; + $__iob = $__iob | 0; + $__fl = $__fl | 0; + $__v = +$__v; + var $0 = 0, $10 = 0, $11 = 0, $7 = 0, $8 = 0, $__fmt = 0, $__nar = 0, $__nb = 0, $__nbh$sroa$0$0 = 0, $__nc$0 = 0, $__nc$1 = 0, $__nc$2 = 0, $__o = 0, $__ob$0 = 0, $__obh$sroa$0$0 = 0, $__oe = 0, $__op = 0, $add$ptr27 = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, $call14 = 0, $call2 = 0, $call28 = 0, $call35 = 0, $call4 = 0, $call42 = 0, $vararg_buffer = 0, $vararg_buffer2 = 0, $vararg_buffer5 = 0, $vararg_buffer9 = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 176 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(176); - $$byval_copy = sp + 168 | 0; + $agg$tmp$byval_copy = sp + 168 | 0; $vararg_buffer9 = sp + 144 | 0; $vararg_buffer5 = sp + 128 | 0; $vararg_buffer2 = sp + 120 | 0; $vararg_buffer = sp + 104 | 0; - $5 = sp + 96 | 0; - $6 = sp + 64 | 0; - $7 = sp + 164 | 0; - $8 = sp; - $9 = sp + 160 | 0; - $10 = sp + 156 | 0; - $11 = sp + 152 | 0; - $12 = $5; - HEAP32[$12 >> 2] = 37; - HEAP32[$12 + 4 >> 2] = 0; - $19 = __ZNSt3__214__num_put_base14__format_floatEPcPKcj($5 + 1 | 0, 59184, HEAP32[$2 + 4 >> 2] | 0) | 0; - HEAP32[$7 >> 2] = $6; - $20 = __ZNSt3__26__clocEv() | 0; - if ($19) { - HEAP32[$vararg_buffer >> 2] = HEAP32[$2 + 8 >> 2]; - HEAPF64[$vararg_buffer + 8 >> 3] = $4; - $$0 = __ZNSt3__219__libcpp_snprintf_lEPcmP15__locale_structPKcz($6, 30, $20, $5, $vararg_buffer) | 0; + $__fmt = sp + 96 | 0; + $__nar = sp + 64 | 0; + $__nb = sp + 164 | 0; + $__o = sp; + $__op = sp + 160 | 0; + $__oe = sp + 156 | 0; + $agg$tmp = sp + 152 | 0; + $0 = $__fmt; + HEAP32[$0 >> 2] = 37; + HEAP32[$0 + 4 >> 2] = 0; + $call2 = __ZNSt3__214__num_put_base14__format_floatEPcPKcj($__fmt + 1 | 0, 60026, HEAP32[$__iob + 4 >> 2] | 0) | 0; + HEAP32[$__nb >> 2] = $__nar; + $call4 = __ZNSt3__26__clocEv() | 0; + if ($call2) { + HEAP32[$vararg_buffer >> 2] = HEAP32[$__iob + 8 >> 2]; + HEAPF64[$vararg_buffer + 8 >> 3] = $__v; + $__nc$0 = __ZNSt3__219__libcpp_snprintf_lEPcmP15__locale_structPKcz($__nar, 30, $call4, $__fmt, $vararg_buffer) | 0; } else { - HEAPF64[$vararg_buffer2 >> 3] = $4; - $$0 = __ZNSt3__219__libcpp_snprintf_lEPcmP15__locale_structPKcz($6, 30, $20, $5, $vararg_buffer2) | 0; - } - if (($$0 | 0) > 29) { - $26 = __ZNSt3__26__clocEv() | 0; - if ($19) { - HEAP32[$vararg_buffer5 >> 2] = HEAP32[$2 + 8 >> 2]; - HEAPF64[$vararg_buffer5 + 8 >> 3] = $4; - $$1 = __ZNSt3__219__libcpp_asprintf_lEPPcP15__locale_structPKcz($7, $26, $5, $vararg_buffer5) | 0; + HEAPF64[$vararg_buffer2 >> 3] = $__v; + $__nc$0 = __ZNSt3__219__libcpp_snprintf_lEPcmP15__locale_structPKcz($__nar, 30, $call4, $__fmt, $vararg_buffer2) | 0; + } + if (($__nc$0 | 0) > 29) { + $call14 = __ZNSt3__26__clocEv() | 0; + if ($call2) { + HEAP32[$vararg_buffer5 >> 2] = HEAP32[$__iob + 8 >> 2]; + HEAPF64[$vararg_buffer5 + 8 >> 3] = $__v; + $__nc$1 = __ZNSt3__219__libcpp_asprintf_lEPPcP15__locale_structPKcz($__nb, $call14, $__fmt, $vararg_buffer5) | 0; } else { - HEAPF64[$vararg_buffer9 >> 3] = $4; - $$1 = __ZNSt3__219__libcpp_asprintf_lEPPcP15__locale_structPKcz($7, $26, $5, $vararg_buffer9) | 0; + HEAPF64[$vararg_buffer9 >> 3] = $__v; + $__nc$1 = __ZNSt3__219__libcpp_asprintf_lEPPcP15__locale_structPKcz($__nb, $call14, $__fmt, $vararg_buffer9) | 0; } - $31 = HEAP32[$7 >> 2] | 0; - if (!$31) __ZSt17__throw_bad_allocv(); else { - $$2 = $$1; - $$sroa$048$0 = $31; - $34 = $31; + $7 = HEAP32[$__nb >> 2] | 0; + if (!$7) __ZSt17__throw_bad_allocv(); else { + $8 = $7; + $__nbh$sroa$0$0 = $7; + $__nc$2 = $__nc$1; } } else { - $$2 = $$0; - $$sroa$048$0 = 0; - $34 = HEAP32[$7 >> 2] | 0; - } - $33 = $34 + $$2 | 0; - $35 = __ZNSt3__214__num_put_base18__identify_paddingEPcS1_RKNS_8ios_baseE($34, $33, $2) | 0; - if (($34 | 0) != ($6 | 0)) { - $38 = _malloc($$2 << 1) | 0; - if (!$38) __ZSt17__throw_bad_allocv(); else { - $$037 = $38; - $$sroa$041$0 = $38; + $8 = HEAP32[$__nb >> 2] | 0; + $__nbh$sroa$0$0 = 0; + $__nc$2 = $__nc$0; + } + $add$ptr27 = $8 + $__nc$2 | 0; + $call28 = __ZNSt3__214__num_put_base18__identify_paddingEPcS1_RKNS_8ios_baseE($8, $add$ptr27, $__iob) | 0; + if (($8 | 0) != ($__nar | 0)) { + $call35 = _malloc($__nc$2 << 1) | 0; + if (!$call35) __ZSt17__throw_bad_allocv(); else { + $__ob$0 = $call35; + $__obh$sroa$0$0 = $call35; } } else { - $$037 = $8; - $$sroa$041$0 = 0; - } - __ZNKSt3__28ios_base6getlocEv($$byval_copy, $2); - __ZNSt3__29__num_putIcE23__widen_and_group_floatEPcS2_S2_S2_RS2_S3_RKNS_6localeE($34, $35, $33, $$037, $9, $10, $$byval_copy); - __ZNSt3__26localeD2Ev($$byval_copy); - HEAP32[$11 >> 2] = HEAP32[$1 >> 2]; - $41 = HEAP32[$9 >> 2] | 0; - $42 = HEAP32[$10 >> 2] | 0; - HEAP32[$$byval_copy >> 2] = HEAP32[$11 >> 2]; - $43 = __ZNSt3__216__pad_and_outputIcNS_11char_traitsIcEEEENS_19ostreambuf_iteratorIT_T0_EES6_PKS4_S8_S8_RNS_8ios_baseES4_($$byval_copy, $$037, $41, $42, $2, $3) | 0; - _free($$sroa$041$0); - _free($$sroa$048$0); + $__ob$0 = $__o; + $__obh$sroa$0$0 = 0; + } + __ZNKSt3__28ios_base6getlocEv($agg$tmp$byval_copy, $__iob); + __ZNSt3__29__num_putIcE23__widen_and_group_floatEPcS2_S2_S2_RS2_S3_RKNS_6localeE($8, $call28, $add$ptr27, $__ob$0, $__op, $__oe, $agg$tmp$byval_copy); + __ZNSt3__26localeD2Ev($agg$tmp$byval_copy); + HEAP32[$agg$tmp >> 2] = HEAP32[$__s >> 2]; + $10 = HEAP32[$__op >> 2] | 0; + $11 = HEAP32[$__oe >> 2] | 0; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + $call42 = __ZNSt3__216__pad_and_outputIcNS_11char_traitsIcEEEENS_19ostreambuf_iteratorIT_T0_EES6_PKS4_S8_S8_RNS_8ios_baseES4_($agg$tmp$byval_copy, $__ob$0, $10, $11, $__iob, $__fl) | 0; + _free($__obh$sroa$0$0); + _free($__nbh$sroa$0$0); STACKTOP = sp; - return $43 | 0; + return $call42 | 0; } -function __ZNKSt3__27num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_putES4_RNS_8ios_baseEcd($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = +$4; - var $$0 = 0, $$037 = 0, $$1 = 0, $$2 = 0, $$byval_copy = 0, $$sroa$041$0 = 0, $$sroa$048$0 = 0, $10 = 0, $11 = 0, $12 = 0, $19 = 0, $20 = 0, $26 = 0, $31 = 0, $33 = 0, $34 = 0, $35 = 0, $38 = 0, $41 = 0, $42 = 0, $43 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $vararg_buffer = 0, $vararg_buffer2 = 0, $vararg_buffer5 = 0, $vararg_buffer9 = 0, sp = 0; +function __ZNKSt3__27num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_putES4_RNS_8ios_baseEcd($this, $__s, $__iob, $__fl, $__v) { + $this = $this | 0; + $__s = $__s | 0; + $__iob = $__iob | 0; + $__fl = $__fl | 0; + $__v = +$__v; + var $0 = 0, $10 = 0, $11 = 0, $7 = 0, $8 = 0, $__fmt = 0, $__nar = 0, $__nb = 0, $__nbh$sroa$0$0 = 0, $__nc$0 = 0, $__nc$1 = 0, $__nc$2 = 0, $__o = 0, $__ob$0 = 0, $__obh$sroa$0$0 = 0, $__oe = 0, $__op = 0, $add$ptr27 = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, $call14 = 0, $call2 = 0, $call28 = 0, $call35 = 0, $call4 = 0, $call42 = 0, $vararg_buffer = 0, $vararg_buffer2 = 0, $vararg_buffer5 = 0, $vararg_buffer9 = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 176 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(176); - $$byval_copy = sp + 168 | 0; + $agg$tmp$byval_copy = sp + 168 | 0; $vararg_buffer9 = sp + 144 | 0; $vararg_buffer5 = sp + 128 | 0; $vararg_buffer2 = sp + 120 | 0; $vararg_buffer = sp + 104 | 0; - $5 = sp + 96 | 0; - $6 = sp + 64 | 0; - $7 = sp + 164 | 0; - $8 = sp; - $9 = sp + 160 | 0; - $10 = sp + 156 | 0; - $11 = sp + 152 | 0; - $12 = $5; - HEAP32[$12 >> 2] = 37; - HEAP32[$12 + 4 >> 2] = 0; - $19 = __ZNSt3__214__num_put_base14__format_floatEPcPKcj($5 + 1 | 0, 67447, HEAP32[$2 + 4 >> 2] | 0) | 0; - HEAP32[$7 >> 2] = $6; - $20 = __ZNSt3__26__clocEv() | 0; - if ($19) { - HEAP32[$vararg_buffer >> 2] = HEAP32[$2 + 8 >> 2]; - HEAPF64[$vararg_buffer + 8 >> 3] = $4; - $$0 = __ZNSt3__219__libcpp_snprintf_lEPcmP15__locale_structPKcz($6, 30, $20, $5, $vararg_buffer) | 0; + $__fmt = sp + 96 | 0; + $__nar = sp + 64 | 0; + $__nb = sp + 164 | 0; + $__o = sp; + $__op = sp + 160 | 0; + $__oe = sp + 156 | 0; + $agg$tmp = sp + 152 | 0; + $0 = $__fmt; + HEAP32[$0 >> 2] = 37; + HEAP32[$0 + 4 >> 2] = 0; + $call2 = __ZNSt3__214__num_put_base14__format_floatEPcPKcj($__fmt + 1 | 0, 68295, HEAP32[$__iob + 4 >> 2] | 0) | 0; + HEAP32[$__nb >> 2] = $__nar; + $call4 = __ZNSt3__26__clocEv() | 0; + if ($call2) { + HEAP32[$vararg_buffer >> 2] = HEAP32[$__iob + 8 >> 2]; + HEAPF64[$vararg_buffer + 8 >> 3] = $__v; + $__nc$0 = __ZNSt3__219__libcpp_snprintf_lEPcmP15__locale_structPKcz($__nar, 30, $call4, $__fmt, $vararg_buffer) | 0; } else { - HEAPF64[$vararg_buffer2 >> 3] = $4; - $$0 = __ZNSt3__219__libcpp_snprintf_lEPcmP15__locale_structPKcz($6, 30, $20, $5, $vararg_buffer2) | 0; - } - if (($$0 | 0) > 29) { - $26 = __ZNSt3__26__clocEv() | 0; - if ($19) { - HEAP32[$vararg_buffer5 >> 2] = HEAP32[$2 + 8 >> 2]; - HEAPF64[$vararg_buffer5 + 8 >> 3] = $4; - $$1 = __ZNSt3__219__libcpp_asprintf_lEPPcP15__locale_structPKcz($7, $26, $5, $vararg_buffer5) | 0; + HEAPF64[$vararg_buffer2 >> 3] = $__v; + $__nc$0 = __ZNSt3__219__libcpp_snprintf_lEPcmP15__locale_structPKcz($__nar, 30, $call4, $__fmt, $vararg_buffer2) | 0; + } + if (($__nc$0 | 0) > 29) { + $call14 = __ZNSt3__26__clocEv() | 0; + if ($call2) { + HEAP32[$vararg_buffer5 >> 2] = HEAP32[$__iob + 8 >> 2]; + HEAPF64[$vararg_buffer5 + 8 >> 3] = $__v; + $__nc$1 = __ZNSt3__219__libcpp_asprintf_lEPPcP15__locale_structPKcz($__nb, $call14, $__fmt, $vararg_buffer5) | 0; } else { - HEAPF64[$vararg_buffer9 >> 3] = $4; - $$1 = __ZNSt3__219__libcpp_asprintf_lEPPcP15__locale_structPKcz($7, $26, $5, $vararg_buffer9) | 0; - } - $31 = HEAP32[$7 >> 2] | 0; - if (!$31) __ZSt17__throw_bad_allocv(); else { - $$2 = $$1; - $$sroa$048$0 = $31; - $34 = $31; + HEAPF64[$vararg_buffer9 >> 3] = $__v; + $__nc$1 = __ZNSt3__219__libcpp_asprintf_lEPPcP15__locale_structPKcz($__nb, $call14, $__fmt, $vararg_buffer9) | 0; } - } else { - $$2 = $$0; - $$sroa$048$0 = 0; - $34 = HEAP32[$7 >> 2] | 0; - } - $33 = $34 + $$2 | 0; - $35 = __ZNSt3__214__num_put_base18__identify_paddingEPcS1_RKNS_8ios_baseE($34, $33, $2) | 0; - if (($34 | 0) != ($6 | 0)) { - $38 = _malloc($$2 << 1) | 0; - if (!$38) __ZSt17__throw_bad_allocv(); else { - $$037 = $38; - $$sroa$041$0 = $38; + $7 = HEAP32[$__nb >> 2] | 0; + if (!$7) __ZSt17__throw_bad_allocv(); else { + $8 = $7; + $__nbh$sroa$0$0 = $7; + $__nc$2 = $__nc$1; } } else { - $$037 = $8; - $$sroa$041$0 = 0; - } - __ZNKSt3__28ios_base6getlocEv($$byval_copy, $2); - __ZNSt3__29__num_putIcE23__widen_and_group_floatEPcS2_S2_S2_RS2_S3_RKNS_6localeE($34, $35, $33, $$037, $9, $10, $$byval_copy); - __ZNSt3__26localeD2Ev($$byval_copy); - HEAP32[$11 >> 2] = HEAP32[$1 >> 2]; - $41 = HEAP32[$9 >> 2] | 0; - $42 = HEAP32[$10 >> 2] | 0; - HEAP32[$$byval_copy >> 2] = HEAP32[$11 >> 2]; - $43 = __ZNSt3__216__pad_and_outputIcNS_11char_traitsIcEEEENS_19ostreambuf_iteratorIT_T0_EES6_PKS4_S8_S8_RNS_8ios_baseES4_($$byval_copy, $$037, $41, $42, $2, $3) | 0; - _free($$sroa$041$0); - _free($$sroa$048$0); - STACKTOP = sp; - return $43 | 0; -} - -function _start_pass_2_quant($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $14 = 0, $18 = 0, $20 = 0, $26 = 0, $3 = 0, $36 = 0, $37 = 0, $38 = 0, $44 = 0, $45 = 0, $5 = 0, $50 = 0, $6 = 0; - $3 = HEAP32[$0 + 484 >> 2] | 0; - $5 = HEAP32[$3 + 24 >> 2] | 0; - $6 = $0 + 88 | 0; - if (!(HEAP32[$6 >> 2] | 0)) $14 = 0; else { - HEAP32[$6 >> 2] = 2; - $14 = 2; - } - if (!$1) { - HEAP32[$3 + 4 >> 2] = ($14 | 0) == 2 ? 20 : 21; - HEAP32[$3 + 8 >> 2] = 200; - $18 = HEAP32[$0 + 132 >> 2] | 0; - if (($18 | 0) >= 1) { - if (($18 | 0) > 256) { - $26 = HEAP32[$0 >> 2] | 0; - HEAP32[$26 + 20 >> 2] = 59; - HEAP32[$26 + 24 >> 2] = 256; - FUNCTION_TABLE_vi[HEAP32[HEAP32[$0 >> 2] >> 2] & 255]($0); - } - } else { - $20 = HEAP32[$0 >> 2] | 0; - HEAP32[$20 + 20 >> 2] = 58; - HEAP32[$20 + 24 >> 2] = 1; - FUNCTION_TABLE_vi[HEAP32[HEAP32[$0 >> 2] >> 2] & 255]($0); - } - if ((HEAP32[$6 >> 2] | 0) == 2) { - $36 = ((HEAP32[$0 + 112 >> 2] | 0) * 6 | 0) + 12 | 0; - $37 = $3 + 32 | 0; - $38 = HEAP32[$37 >> 2] | 0; - if (!$38) { - $44 = FUNCTION_TABLE_iiii[HEAP32[(HEAP32[$0 + 4 >> 2] | 0) + 4 >> 2] & 63]($0, 1, $36) | 0; - HEAP32[$37 >> 2] = $44; - $45 = $44; - } else $45 = $38; - _memset($45 | 0, 0, $36 | 0) | 0; - if (!(HEAP32[$3 + 40 >> 2] | 0)) _init_error_limit($0); - HEAP32[$3 + 36 >> 2] = 0; + $8 = HEAP32[$__nb >> 2] | 0; + $__nbh$sroa$0$0 = 0; + $__nc$2 = $__nc$0; + } + $add$ptr27 = $8 + $__nc$2 | 0; + $call28 = __ZNSt3__214__num_put_base18__identify_paddingEPcS1_RKNS_8ios_baseE($8, $add$ptr27, $__iob) | 0; + if (($8 | 0) != ($__nar | 0)) { + $call35 = _malloc($__nc$2 << 1) | 0; + if (!$call35) __ZSt17__throw_bad_allocv(); else { + $__ob$0 = $call35; + $__obh$sroa$0$0 = $call35; } } else { - HEAP32[$3 + 4 >> 2] = 19; - HEAP32[$3 + 8 >> 2] = 199; - HEAP32[$3 + 28 >> 2] = 1; - } - $50 = $3 + 28 | 0; - if (!(HEAP32[$50 >> 2] | 0)) return; - _memset(HEAP32[$5 >> 2] | 0, 0, 4096) | 0; - _memset(HEAP32[$5 + 4 >> 2] | 0, 0, 4096) | 0; - _memset(HEAP32[$5 + 8 >> 2] | 0, 0, 4096) | 0; - _memset(HEAP32[$5 + 12 >> 2] | 0, 0, 4096) | 0; - _memset(HEAP32[$5 + 16 >> 2] | 0, 0, 4096) | 0; - _memset(HEAP32[$5 + 20 >> 2] | 0, 0, 4096) | 0; - _memset(HEAP32[$5 + 24 >> 2] | 0, 0, 4096) | 0; - _memset(HEAP32[$5 + 28 >> 2] | 0, 0, 4096) | 0; - _memset(HEAP32[$5 + 32 >> 2] | 0, 0, 4096) | 0; - _memset(HEAP32[$5 + 36 >> 2] | 0, 0, 4096) | 0; - _memset(HEAP32[$5 + 40 >> 2] | 0, 0, 4096) | 0; - _memset(HEAP32[$5 + 44 >> 2] | 0, 0, 4096) | 0; - _memset(HEAP32[$5 + 48 >> 2] | 0, 0, 4096) | 0; - _memset(HEAP32[$5 + 52 >> 2] | 0, 0, 4096) | 0; - _memset(HEAP32[$5 + 56 >> 2] | 0, 0, 4096) | 0; - _memset(HEAP32[$5 + 60 >> 2] | 0, 0, 4096) | 0; - _memset(HEAP32[$5 + 64 >> 2] | 0, 0, 4096) | 0; - _memset(HEAP32[$5 + 68 >> 2] | 0, 0, 4096) | 0; - _memset(HEAP32[$5 + 72 >> 2] | 0, 0, 4096) | 0; - _memset(HEAP32[$5 + 76 >> 2] | 0, 0, 4096) | 0; - _memset(HEAP32[$5 + 80 >> 2] | 0, 0, 4096) | 0; - _memset(HEAP32[$5 + 84 >> 2] | 0, 0, 4096) | 0; - _memset(HEAP32[$5 + 88 >> 2] | 0, 0, 4096) | 0; - _memset(HEAP32[$5 + 92 >> 2] | 0, 0, 4096) | 0; - _memset(HEAP32[$5 + 96 >> 2] | 0, 0, 4096) | 0; - _memset(HEAP32[$5 + 100 >> 2] | 0, 0, 4096) | 0; - _memset(HEAP32[$5 + 104 >> 2] | 0, 0, 4096) | 0; - _memset(HEAP32[$5 + 108 >> 2] | 0, 0, 4096) | 0; - _memset(HEAP32[$5 + 112 >> 2] | 0, 0, 4096) | 0; - _memset(HEAP32[$5 + 116 >> 2] | 0, 0, 4096) | 0; - _memset(HEAP32[$5 + 120 >> 2] | 0, 0, 4096) | 0; - _memset(HEAP32[$5 + 124 >> 2] | 0, 0, 4096) | 0; - HEAP32[$50 >> 2] = 0; - return; -} - -function _ar2GetResolution2($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $$0 = 0.0, $$0153 = 0.0, $$0154 = 0.0, $$0155 = 0.0, $$0156 = 0.0, $$0157 = 0.0, $$sink = 0.0, $10 = 0.0, $108 = 0.0, $11 = 0.0, $111 = 0.0, $120 = 0.0, $123 = 0.0, $125 = 0.0, $127 = 0.0, $128 = 0.0, $13 = 0.0, $130 = 0.0, $132 = 0.0, $133 = 0, $135 = 0.0, $14 = 0.0, $17 = 0.0, $20 = 0.0, $21 = 0.0, $23 = 0.0, $24 = 0.0, $27 = 0.0, $30 = 0.0, $31 = 0.0, $33 = 0.0, $34 = 0.0, $37 = 0.0, $38 = 0.0, $4 = 0, $41 = 0.0, $50 = 0.0, $53 = 0.0, $62 = 0.0, $65 = 0.0, $67 = 0.0, $68 = 0.0, $69 = 0.0, $7 = 0.0, $71 = 0.0, $72 = 0.0, $75 = 0.0, $78 = 0.0, $79 = 0.0, $81 = 0.0, $82 = 0.0, $85 = 0.0, $88 = 0.0, $89 = 0.0, $9 = 0.0, $91 = 0.0, $92 = 0.0, $95 = 0.0, $96 = 0.0, $99 = 0.0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 48 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); - $4 = sp; - if (!$0) { - $65 = +HEAPF32[$2 >> 2]; - $67 = +HEAPF32[$2 + 4 >> 2]; - $68 = +HEAPF32[$1 >> 2]; - $69 = $65 * $68; - $71 = +HEAPF32[$1 + 4 >> 2]; - $72 = $67 * $71; - $75 = +HEAPF32[$1 + 12 >> 2]; - $78 = +HEAPF32[$1 + 16 >> 2]; - $79 = $65 * $78; - $81 = +HEAPF32[$1 + 20 >> 2]; - $82 = $67 * $81; - $85 = +HEAPF32[$1 + 28 >> 2]; - $88 = +HEAPF32[$1 + 32 >> 2]; - $89 = $65 * $88; - $91 = +HEAPF32[$1 + 36 >> 2]; - $92 = $67 * $91; - $95 = +HEAPF32[$1 + 44 >> 2]; - $96 = $95 + ($89 + $92); - $99 = $65 + 10.0; - $108 = $95 + ($99 * $88 + $92); - $111 = $67 + 10.0; - $120 = $95 + ($89 + $111 * $91); - $$0 = ($85 + ($79 + $111 * $81)) / $120; - $$0153 = ($75 + ($69 + $111 * $71)) / $120; - $$0154 = ($85 + ($99 * $78 + $82)) / $108; - $$0155 = ($75 + ($99 * $68 + $72)) / $108; - $$0156 = ($85 + ($79 + $82)) / $96; - $$0157 = ($75 + ($69 + $72)) / $96; - } else { - _arUtilMatMuldff($0 + 8 | 0, $1, $4) | 0; - $7 = +HEAPF32[$2 >> 2]; - $9 = +HEAPF32[$2 + 4 >> 2]; - $10 = +HEAPF32[$4 >> 2]; - $11 = $7 * $10; - $13 = +HEAPF32[$4 + 4 >> 2]; - $14 = $9 * $13; - $17 = +HEAPF32[$4 + 12 >> 2]; - $20 = +HEAPF32[$4 + 16 >> 2]; - $21 = $7 * $20; - $23 = +HEAPF32[$4 + 20 >> 2]; - $24 = $9 * $23; - $27 = +HEAPF32[$4 + 28 >> 2]; - $30 = +HEAPF32[$4 + 32 >> 2]; - $31 = $7 * $30; - $33 = +HEAPF32[$4 + 36 >> 2]; - $34 = $9 * $33; - $37 = +HEAPF32[$4 + 44 >> 2]; - $38 = $37 + ($31 + $34); - $41 = $7 + 10.0; - $50 = $37 + ($41 * $30 + $34); - $53 = $9 + 10.0; - $62 = $37 + ($31 + $53 * $33); - $$0 = ($27 + ($21 + $53 * $23)) / $62; - $$0153 = ($17 + ($11 + $53 * $13)) / $62; - $$0154 = ($27 + ($41 * $20 + $24)) / $50; - $$0155 = ($17 + ($41 * $10 + $14)) / $50; - $$0156 = ($27 + ($21 + $24)) / $38; - $$0157 = ($17 + ($11 + $14)) / $38; - } - $123 = $$0155 - $$0157; - $125 = $$0154 - $$0156; - $127 = $123 * $123 + $125 * $125; - $128 = $$0153 - $$0157; - $130 = $$0 - $$0156; - $132 = $128 * $128 + $130 * $130; - $133 = $127 < $132; - $135 = +Math_sqrt(+($133 ? $132 : $127)) * 2.5399999618530273; - HEAPF32[$3 >> 2] = $135; - $$sink = +Math_sqrt(+($133 ? $127 : $132)) * 2.5399999618530273; - HEAPF32[$3 + 4 >> 2] = $$sink; + $__ob$0 = $__o; + $__obh$sroa$0$0 = 0; + } + __ZNKSt3__28ios_base6getlocEv($agg$tmp$byval_copy, $__iob); + __ZNSt3__29__num_putIcE23__widen_and_group_floatEPcS2_S2_S2_RS2_S3_RKNS_6localeE($8, $call28, $add$ptr27, $__ob$0, $__op, $__oe, $agg$tmp$byval_copy); + __ZNSt3__26localeD2Ev($agg$tmp$byval_copy); + HEAP32[$agg$tmp >> 2] = HEAP32[$__s >> 2]; + $10 = HEAP32[$__op >> 2] | 0; + $11 = HEAP32[$__oe >> 2] | 0; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + $call42 = __ZNSt3__216__pad_and_outputIcNS_11char_traitsIcEEEENS_19ostreambuf_iteratorIT_T0_EES6_PKS4_S8_S8_RNS_8ios_baseES4_($agg$tmp$byval_copy, $__ob$0, $10, $11, $__iob, $__fl) | 0; + _free($__obh$sroa$0$0); + _free($__nbh$sroa$0$0); STACKTOP = sp; - return 0; + return $call42 | 0; } -function _check_square($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = +$2; - var $$0 = 0, $$092 = 0, $$093 = 0, $$094 = 0, $$sroa$12$0 = 0, $$sroa$4$0 = 0, $$sroa$8$0 = 0, $10 = 0, $11 = 0, $13 = 0, $17 = 0, $18 = 0, $21 = 0, $23 = 0, $24 = 0, $29 = 0.0, $3 = 0, $36 = 0, $38 = 0, $4 = 0, $44 = 0, $5 = 0, $6 = 0, $60 = 0, $7 = 0, $8 = 0, $9 = 0, $spec$select = 0, sp = 0; +function _arglCameraFrustumRH($cparam, $focalmin, $focalmax, $m_projection) { + $cparam = $cparam | 0; + $focalmin = +$focalmin; + $focalmax = +$focalmax; + $m_projection = $m_projection | 0; + var $0 = 0, $1 = 0, $11 = 0.0, $12 = 0.0, $13 = 0.0, $14 = 0.0, $4 = 0.0, $arrayidx117 = 0, $arrayidx123 = 0, $arrayidx57 = 0, $arrayidx6 = 0, $arrayidx80 = 0, $arrayidx96 = 0, $conv = 0.0, $conv34 = 0.0, $i$0 = 0, $i$1 = 0, $i$2 = 0, $icpara = 0, $j$0 = 0, $j$1 = 0, $p = 0, $q = 0, $sub85 = 0.0, $trans = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 96 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(96); - $3 = sp + 48 | 0; - $4 = sp + 92 | 0; - $5 = sp; - $6 = sp + 88 | 0; - $7 = $1 + 28 | 0; - $8 = HEAP32[$7 >> 2] | 0; - $9 = $1 + 40028 | 0; - $10 = HEAP32[$9 >> 2] | 0; - $11 = $1 + 24 | 0; - $13 = (HEAP32[$11 >> 2] | 0) + -1 | 0; - $$0 = 1; - $$093 = 0; - $$094 = 0; - while (1) { - if (($$0 | 0) >= ($13 | 0)) break; - $17 = (HEAP32[$1 + 28 + ($$0 << 2) >> 2] | 0) - $8 | 0; - $18 = Math_imul($17, $17) | 0; - $21 = (HEAP32[$1 + 40028 + ($$0 << 2) >> 2] | 0) - $10 | 0; - $23 = (Math_imul($21, $21) | 0) + $18 | 0; - $24 = ($23 | 0) > ($$093 | 0); - $spec$select = $24 ? $$0 : $$094; - $$0 = $$0 + 1 | 0; - $$093 = $24 ? $23 : $$093; - $$094 = $spec$select; - } - $29 = +($0 | 0) / .75 * .01 * $2; - HEAP32[$4 >> 2] = 0; - HEAP32[$6 >> 2] = 0; - L5 : do if ((_get_vertex($7, $9, 0, $$094, $29, $3, $4) | 0) >= 0 ? (_get_vertex($7, $9, $$094, (HEAP32[$11 >> 2] | 0) + -1 | 0, $29, $5, $6) | 0) >= 0 : 0) { - $36 = HEAP32[$4 >> 2] | 0; - $38 = HEAP32[$6 >> 2] | 0; - do if (($36 | 0) == 1 & ($38 | 0) == 1) { - $$sroa$12$0 = HEAP32[$5 >> 2] | 0; - $$sroa$4$0 = HEAP32[$3 >> 2] | 0; - $$sroa$8$0 = $$094; - } else { - if (($36 | 0) > 1 & ($38 | 0) == 0) { - $44 = ($$094 | 0) / 2 | 0; - HEAP32[$6 >> 2] = 0; - HEAP32[$4 >> 2] = 0; - if ((_get_vertex($7, $9, 0, $44, $29, $3, $4) | 0) < 0) { - $$092 = -1; - break L5; - } - if ((_get_vertex($7, $9, $44, $$094, $29, $5, $6) | 0) < 0) { - $$092 = -1; - break L5; - } - if (!((HEAP32[$4 >> 2] | 0) == 1 & (HEAP32[$6 >> 2] | 0) == 1)) { - $$092 = -1; - break L5; - } - $$sroa$12$0 = $$094; - $$sroa$4$0 = HEAP32[$3 >> 2] | 0; - $$sroa$8$0 = HEAP32[$5 >> 2] | 0; - break; - } - if (!(($36 | 0) == 0 & ($38 | 0) > 1)) { - $$092 = -1; - break L5; - } - $60 = ($$094 + -1 + (HEAP32[$11 >> 2] | 0) | 0) / 2 | 0; - HEAP32[$6 >> 2] = 0; - HEAP32[$4 >> 2] = 0; - if ((_get_vertex($7, $9, $$094, $60, $29, $3, $4) | 0) < 0) { - $$092 = -1; - break L5; - } - if ((_get_vertex($7, $9, $60, (HEAP32[$11 >> 2] | 0) + -1 | 0, $29, $5, $6) | 0) < 0) { - $$092 = -1; - break L5; + STACKTOP = STACKTOP + 416 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(416); + $icpara = sp + 304 | 0; + $trans = sp + 208 | 0; + $p = sp + 128 | 0; + $q = sp; + $0 = HEAP32[$cparam >> 2] | 0; + $1 = HEAP32[$cparam + 4 >> 2] | 0; + L1 : do if ((_arParamDecompMat($cparam + 8 | 0, $icpara, $trans) | 0) < 0) _arLog(0, 3, 24663, sp + 400 | 0); else { + $conv = +($1 + -1 | 0); + $i$0 = 0; + while (1) { + if (($i$0 | 0) == 4) break; + $arrayidx6 = $icpara + 32 + ($i$0 << 3) | 0; + HEAPF64[$arrayidx6 >> 3] = +HEAPF64[$icpara + 64 + ($i$0 << 3) >> 3] * $conv - +HEAPF64[$arrayidx6 >> 3]; + $i$0 = $i$0 + 1 | 0; + } + $4 = +HEAPF64[$icpara + 80 >> 3]; + $i$1 = 0; + while (1) { + if (($i$1 | 0) == 3) break; + $j$0 = 0; + while (1) { + if (($j$0 | 0) == 3) break; + HEAPF64[$p + ($i$1 * 24 | 0) + ($j$0 << 3) >> 3] = +HEAPF64[$icpara + ($i$1 << 5) + ($j$0 << 3) >> 3] / $4; + $j$0 = $j$0 + 1 | 0; } - if (!((HEAP32[$4 >> 2] | 0) == 1 & (HEAP32[$6 >> 2] | 0) == 1)) { - $$092 = -1; - break L5; + $i$1 = $i$1 + 1 | 0; + } + $conv34 = +($0 + -1 | 0); + HEAPF64[$q >> 3] = +HEAPF64[$p >> 3] * 2.0 / $conv34; + HEAPF64[$q + 8 >> 3] = +HEAPF64[$p + 8 >> 3] * 2.0 / $conv34; + HEAPF64[$q + 16 >> 3] = -(+HEAPF64[$p + 16 >> 3] * 2.0 / $conv34 + -1.0); + $arrayidx57 = $q + 24 | 0; + HEAP32[$arrayidx57 >> 2] = 0; + HEAP32[$arrayidx57 + 4 >> 2] = 0; + HEAP32[$arrayidx57 + 8 >> 2] = 0; + HEAP32[$arrayidx57 + 12 >> 2] = 0; + HEAPF64[$q + 40 >> 3] = -(+HEAPF64[$p + 32 >> 3] * 2.0 / $conv); + HEAPF64[$q + 48 >> 3] = -(+HEAPF64[$p + 40 >> 3] * 2.0 / $conv + -1.0); + $arrayidx80 = $q + 56 | 0; + $sub85 = $focalmin - $focalmax; + HEAP32[$arrayidx80 >> 2] = 0; + HEAP32[$arrayidx80 + 4 >> 2] = 0; + HEAP32[$arrayidx80 + 8 >> 2] = 0; + HEAP32[$arrayidx80 + 12 >> 2] = 0; + HEAP32[$arrayidx80 + 16 >> 2] = 0; + HEAP32[$arrayidx80 + 20 >> 2] = 0; + HEAPF64[$q + 80 >> 3] = ($focalmin + $focalmax) / $sub85; + HEAPF64[$q + 88 >> 3] = $focalmax * 2.0 * $focalmin / $sub85; + $arrayidx96 = $q + 96 | 0; + HEAP32[$arrayidx96 >> 2] = 0; + HEAP32[$arrayidx96 + 4 >> 2] = 0; + HEAP32[$arrayidx96 + 8 >> 2] = 0; + HEAP32[$arrayidx96 + 12 >> 2] = 0; + HEAPF64[$q + 112 >> 3] = -1.0; + HEAPF64[$q + 120 >> 3] = 0.0; + $11 = +HEAPF64[$trans + 24 >> 3]; + $12 = +HEAPF64[$trans + 56 >> 3]; + $13 = +HEAPF64[$trans + 88 >> 3]; + $i$2 = 0; + while (1) { + if (($i$2 | 0) == 4) break L1; + $14 = +HEAPF64[$q + ($i$2 << 5) >> 3]; + $arrayidx117 = $q + ($i$2 << 5) + 8 | 0; + $arrayidx123 = $q + ($i$2 << 5) + 16 | 0; + $j$1 = 0; + while (1) { + if (($j$1 | 0) == 3) break; + HEAPF64[$m_projection + (($j$1 << 2) + $i$2 << 3) >> 3] = $14 * +HEAPF64[$trans + ($j$1 << 3) >> 3] + +HEAPF64[$arrayidx117 >> 3] * +HEAPF64[$trans + 32 + ($j$1 << 3) >> 3] + +HEAPF64[$arrayidx123 >> 3] * +HEAPF64[$trans + 64 + ($j$1 << 3) >> 3]; + $j$1 = $j$1 + 1 | 0; } - $$sroa$12$0 = HEAP32[$5 >> 2] | 0; - $$sroa$4$0 = $$094; - $$sroa$8$0 = HEAP32[$3 >> 2] | 0; - } while (0); - HEAP32[$1 + 80028 >> 2] = 0; - HEAP32[$1 + 80032 >> 2] = $$sroa$4$0; - HEAP32[$1 + 80036 >> 2] = $$sroa$8$0; - HEAP32[$1 + 80040 >> 2] = $$sroa$12$0; - HEAP32[$1 + 80044 >> 2] = (HEAP32[$11 >> 2] | 0) + -1; - $$092 = 0; - } else $$092 = -1; while (0); + HEAPF64[$m_projection + ($i$2 + 12 << 3) >> 3] = +HEAPF64[$q + ($i$2 << 5) + 24 >> 3] + ($14 * $11 + +HEAPF64[$arrayidx117 >> 3] * $12 + +HEAPF64[$arrayidx123 >> 3] * $13); + $i$2 = $i$2 + 1 | 0; + } + } while (0); STACKTOP = sp; - return $$092 | 0; + return; } -function _wcsrtombs($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $$0 = 0, $$05674 = 0, $$057$lcssa = 0, $$05784 = 0, $$05873 = 0, $$1 = 0, $$159 = 0, $$260$lcssa = 0, $$26083 = 0, $$278 = 0, $$3 = 0, $$361 = 0, $$477 = 0, $$5 = 0, $$pn = 0, $10 = 0, $11 = 0, $17 = 0, $18 = 0, $23 = 0, $31 = 0, $34 = 0, $35 = 0, $4 = 0, $40 = 0, $51 = 0, $6 = 0, $7 = 0, label = 0, sp = 0; +function _wcsrtombs($s, $ws, $n, $st) { + $s = $s | 0; + $ws = $ws | 0; + $n = $n | 0; + $st = $st | 0; + var $0 = 0, $1 = 0, $10 = 0, $2 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $buf = 0, $call = 0, $call$pn = 0, $call15 = 0, $call37 = 0, $n$addr$061 = 0, $n$addr$1 = 0, $n$addr$2$lcssa = 0, $n$addr$270 = 0, $n$addr$3 = 0, $n$addr$465 = 0, $n$addr$5 = 0, $retval$0 = 0, $s$addr$0$lcssa = 0, $s$addr$071 = 0, $s$addr$1 = 0, $s$addr$266 = 0, $s$addr$3 = 0, $ws2$062 = 0, label = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $4 = sp; - L1 : do if (!$0) { - $6 = HEAP32[$1 >> 2] | 0; - $7 = HEAP32[$6 >> 2] | 0; - if (!$7) $$0 = 0; else { - $$05674 = $6; - $$05873 = 0; - $10 = $7; + $buf = sp; + L1 : do if (!$s) { + $0 = HEAP32[$ws >> 2] | 0; + $1 = HEAP32[$0 >> 2] | 0; + if (!$1) $retval$0 = 0; else { + $2 = $1; + $n$addr$061 = 0; + $ws2$062 = $0; while (1) { - if ($10 >>> 0 > 127) { - $11 = _wcrtomb($4, $10, 0) | 0; - if (($11 | 0) == -1) { - $$0 = -1; + if ($2 >>> 0 > 127) { + $call = _wcrtomb($buf, $2, 0) | 0; + if (($call | 0) == -1) { + $retval$0 = -1; break L1; - } else $$pn = $11; - } else $$pn = 1; - $$159 = $$pn + $$05873 | 0; - $$05674 = $$05674 + 4 | 0; - $10 = HEAP32[$$05674 >> 2] | 0; - if (!$10) { - $$0 = $$159; + } else $call$pn = $call; + } else $call$pn = 1; + $n$addr$1 = $call$pn + $n$addr$061 | 0; + $ws2$062 = $ws2$062 + 4 | 0; + $2 = HEAP32[$ws2$062 >> 2] | 0; + if (!$2) { + $retval$0 = $n$addr$1; break; - } else $$05873 = $$159; + } else $n$addr$061 = $n$addr$1; } } } else { - L10 : do if ($2 >>> 0 > 3) { - $$05784 = $0; - $$26083 = $2; - $18 = HEAP32[$1 >> 2] | 0; + L10 : do if ($n >>> 0 > 3) { + $5 = HEAP32[$ws >> 2] | 0; + $n$addr$270 = $n; + $s$addr$071 = $s; while (1) { - $17 = HEAP32[$18 >> 2] | 0; - if (($17 + -1 | 0) >>> 0 > 126) { - if (!$17) break; - $23 = _wcrtomb($$05784, $17, 0) | 0; - if (($23 | 0) == -1) { - $$0 = -1; + $4 = HEAP32[$5 >> 2] | 0; + if (($4 + -1 | 0) >>> 0 > 126) { + if (!$4) break; + $call15 = _wcrtomb($s$addr$071, $4, 0) | 0; + if (($call15 | 0) == -1) { + $retval$0 = -1; break L1; } - $$1 = $$05784 + $23 | 0; - $$361 = $$26083 - $23 | 0; - $31 = $18; + $6 = $5; + $n$addr$3 = $n$addr$270 - $call15 | 0; + $s$addr$1 = $s$addr$071 + $call15 | 0; } else { - HEAP8[$$05784 >> 0] = $17; - $$1 = $$05784 + 1 | 0; - $$361 = $$26083 + -1 | 0; - $31 = HEAP32[$1 >> 2] | 0; - } - $18 = $31 + 4 | 0; - HEAP32[$1 >> 2] = $18; - if ($$361 >>> 0 <= 3) { - $$057$lcssa = $$1; - $$260$lcssa = $$361; + HEAP8[$s$addr$071 >> 0] = $4; + $6 = HEAP32[$ws >> 2] | 0; + $n$addr$3 = $n$addr$270 + -1 | 0; + $s$addr$1 = $s$addr$071 + 1 | 0; + } + $5 = $6 + 4 | 0; + HEAP32[$ws >> 2] = $5; + if ($n$addr$3 >>> 0 <= 3) { + $n$addr$2$lcssa = $n$addr$3; + $s$addr$0$lcssa = $s$addr$1; break L10; } else { - $$05784 = $$1; - $$26083 = $$361; + $n$addr$270 = $n$addr$3; + $s$addr$071 = $s$addr$1; } } - HEAP8[$$05784 >> 0] = 0; - HEAP32[$1 >> 2] = 0; - $$0 = $2 - $$26083 | 0; + HEAP8[$s$addr$071 >> 0] = 0; + HEAP32[$ws >> 2] = 0; + $retval$0 = $n - $n$addr$270 | 0; break L1; } else { - $$057$lcssa = $0; - $$260$lcssa = $2; + $n$addr$2$lcssa = $n; + $s$addr$0$lcssa = $s; } while (0); - if ($$260$lcssa) { - $$278 = $$057$lcssa; - $$477 = $$260$lcssa; - $35 = HEAP32[$1 >> 2] | 0; + if ($n$addr$2$lcssa) { + $8 = HEAP32[$ws >> 2] | 0; + $n$addr$465 = $n$addr$2$lcssa; + $s$addr$266 = $s$addr$0$lcssa; while (1) { - $34 = HEAP32[$35 >> 2] | 0; - if (($34 + -1 | 0) >>> 0 > 126) { - if (!$34) { + $7 = HEAP32[$8 >> 2] | 0; + if (($7 + -1 | 0) >>> 0 > 126) { + if (!$7) { label = 20; break; } - $40 = _wcrtomb($4, $34, 0) | 0; - if (($40 | 0) == -1) { - $$0 = -1; + $call37 = _wcrtomb($buf, $7, 0) | 0; + if (($call37 | 0) == -1) { + $retval$0 = -1; break L1; } - if ($$477 >>> 0 < $40 >>> 0) { + if ($n$addr$465 >>> 0 < $call37 >>> 0) { label = 23; break; } - _wcrtomb($$278, HEAP32[$35 >> 2] | 0, 0) | 0; - $$3 = $$278 + $40 | 0; - $$5 = $$477 - $40 | 0; - $51 = $35; + _wcrtomb($s$addr$266, HEAP32[$8 >> 2] | 0, 0) | 0; + $10 = $8; + $n$addr$5 = $n$addr$465 - $call37 | 0; + $s$addr$3 = $s$addr$266 + $call37 | 0; } else { - HEAP8[$$278 >> 0] = $34; - $$3 = $$278 + 1 | 0; - $$5 = $$477 + -1 | 0; - $51 = HEAP32[$1 >> 2] | 0; - } - $35 = $51 + 4 | 0; - HEAP32[$1 >> 2] = $35; - if (!$$5) { - $$0 = $2; + HEAP8[$s$addr$266 >> 0] = $7; + $10 = HEAP32[$ws >> 2] | 0; + $n$addr$5 = $n$addr$465 + -1 | 0; + $s$addr$3 = $s$addr$266 + 1 | 0; + } + $8 = $10 + 4 | 0; + HEAP32[$ws >> 2] = $8; + if (!$n$addr$5) { + $retval$0 = $n; break L1; } else { - $$278 = $$3; - $$477 = $$5; + $n$addr$465 = $n$addr$5; + $s$addr$266 = $s$addr$3; } } if ((label | 0) == 20) { - HEAP8[$$278 >> 0] = 0; - HEAP32[$1 >> 2] = 0; - $$0 = $2 - $$477 | 0; + HEAP8[$s$addr$266 >> 0] = 0; + HEAP32[$ws >> 2] = 0; + $retval$0 = $n - $n$addr$465 | 0; break; } else if ((label | 0) == 23) { - $$0 = $2 - $$477 | 0; + $retval$0 = $n - $n$addr$465 | 0; break; } - } else $$0 = $2; + } else $retval$0 = $n; } while (0); STACKTOP = sp; - return $$0 | 0; + return $retval$0 | 0; } -function _arGetLine($0, $1, $2, $3, $4, $5, $6) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - $6 = $6 | 0; - var $$0108 = 0, $$0109 = 0, $$0110 = 0, $$1 = 0, $10 = 0, $11 = 0, $13 = 0, $15 = 0, $17 = 0, $22 = 0.0, $25 = 0, $29 = 0, $31 = 0, $33 = 0, $44 = 0, $45 = 0, $54 = 0, $56 = 0.0, $59 = 0.0, $61 = 0, $7 = 0, $72 = 0, $73 = 0, $76 = 0.0, $78 = 0, $8 = 0, $81 = 0.0, $83 = 0.0, $86 = 0, $89 = 0, $9 = 0, label = 0, sp = 0; +function _alloc_small($cinfo, $pool_id, $sizeofobject) { + $cinfo = $cinfo | 0; + $pool_id = $pool_id | 0; + $sizeofobject = $sizeofobject | 0; + var $0 = 0, $1 = 0, $13 = 0, $5 = 0, $9 = 0, $add20 = 0, $add2059 = 0, $add31 = 0, $add31$lcssa = 0, $add3160 = 0, $add43$pre$phiZ2D = 0, $arrayidx12 = 0, $bytes_left62 = 0, $bytes_used56 = 0, $call = 0, $call$lcssa = 0, $call61 = 0, $cmp21 = 0, $hdr_ptr$0 = 0, $hdr_ptr$068 = 0, $hdr_ptr$070 = 0, $hdr_ptr$1 = 0, $prev_hdr_ptr$0$lcssa = 0, $rem = 0, $sizeofobject$addr$0 = 0, $slop$0 = 0, $slop$1 = 0, $slop$263 = 0, $sub26 = 0, $total_space_allocated = 0, label = 0; + $0 = HEAP32[$cinfo + 4 >> 2] | 0; + if ($sizeofobject >>> 0 > 999999984) { + $1 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$1 + 20 >> 2] = 56; + HEAP32[$1 + 24 >> 2] = 1; + FUNCTION_TABLE_vi[HEAP32[HEAP32[$cinfo >> 2] >> 2] & 255]($cinfo); + } + $rem = $sizeofobject & 7; + $sizeofobject$addr$0 = (($rem | 0) == 0 ? 0 : 8 - $rem | 0) + $sizeofobject | 0; + if ($pool_id >>> 0 > 1) { + $5 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$5 + 20 >> 2] = 15; + HEAP32[$5 + 24 >> 2] = $pool_id; + FUNCTION_TABLE_vi[HEAP32[HEAP32[$cinfo >> 2] >> 2] & 255]($cinfo); + } + $arrayidx12 = $0 + 52 + ($pool_id << 2) | 0; + $hdr_ptr$068 = HEAP32[$arrayidx12 >> 2] | 0; + L7 : do if (!$hdr_ptr$068) { + $prev_hdr_ptr$0$lcssa = 0; + label = 9; + } else { + $hdr_ptr$070 = $hdr_ptr$068; + while (1) { + if ((HEAP32[$hdr_ptr$070 + 8 >> 2] | 0) >>> 0 >= $sizeofobject$addr$0 >>> 0) { + $hdr_ptr$1 = $hdr_ptr$070; + break L7; + } + $hdr_ptr$0 = HEAP32[$hdr_ptr$070 >> 2] | 0; + if (!$hdr_ptr$0) { + $prev_hdr_ptr$0$lcssa = $hdr_ptr$070; + label = 9; + break; + } else $hdr_ptr$070 = $hdr_ptr$0; + } + } while (0); + do if ((label | 0) == 9) { + $cmp21 = ($prev_hdr_ptr$0$lcssa | 0) == 0; + $slop$0 = HEAP32[($cmp21 ? 17004 : 17012) + ($pool_id << 2) >> 2] | 0; + $sub26 = 999999984 - $sizeofobject$addr$0 | 0; + $slop$1 = $slop$0 >>> 0 > $sub26 >>> 0 ? $sub26 : $slop$0; + $add2059 = $slop$1 + $sizeofobject$addr$0 | 0; + $add3160 = $add2059 + 16 | 0; + $call61 = _jpeg_get_small($cinfo, $add3160) | 0; + if (!$call61) { + $slop$263 = $slop$1; + do { + if ($slop$263 >>> 0 < 100) { + $9 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$9 + 20 >> 2] = 56; + HEAP32[$9 + 24 >> 2] = 2; + FUNCTION_TABLE_vi[HEAP32[HEAP32[$cinfo >> 2] >> 2] & 255]($cinfo); + } + $slop$263 = $slop$263 >>> 1; + $add20 = $slop$263 + $sizeofobject$addr$0 | 0; + $add31 = $add20 + 16 | 0; + $call = _jpeg_get_small($cinfo, $add31) | 0; + } while (!($call | 0)); + $add31$lcssa = $add31; + $add43$pre$phiZ2D = $add20; + $call$lcssa = $call; + } else { + $add31$lcssa = $add3160; + $add43$pre$phiZ2D = $add2059; + $call$lcssa = $call61; + } + $total_space_allocated = $0 + 76 | 0; + HEAP32[$total_space_allocated >> 2] = (HEAP32[$total_space_allocated >> 2] | 0) + $add31$lcssa; + HEAP32[$call$lcssa >> 2] = 0; + HEAP32[$call$lcssa + 4 >> 2] = 0; + HEAP32[$call$lcssa + 8 >> 2] = $add43$pre$phiZ2D; + if ($cmp21) { + HEAP32[$arrayidx12 >> 2] = $call$lcssa; + $hdr_ptr$1 = $call$lcssa; + break; + } else { + HEAP32[$prev_hdr_ptr$0$lcssa >> 2] = $call$lcssa; + $hdr_ptr$1 = $call$lcssa; + break; + } + } while (0); + $bytes_used56 = $hdr_ptr$1 + 4 | 0; + $13 = HEAP32[$bytes_used56 >> 2] | 0; + HEAP32[$bytes_used56 >> 2] = $13 + $sizeofobject$addr$0; + $bytes_left62 = $hdr_ptr$1 + 8 | 0; + HEAP32[$bytes_left62 >> 2] = (HEAP32[$bytes_left62 >> 2] | 0) - $sizeofobject$addr$0; + return $hdr_ptr$1 + 16 + $13 | 0; +} + +function _arGetLine($x_coord, $y_coord, $coord_num, $vertex, $paramLTf, $line, $v) { + $x_coord = $x_coord | 0; + $y_coord = $y_coord | 0; + $coord_num = $coord_num | 0; + $vertex = $vertex | 0; + $paramLTf = $paramLTf | 0; + $line = $line | 0; + $v = $v | 0; + var $0 = 0, $1 = 0, $10 = 0, $14 = 0.0, $16 = 0.0, $5 = 0, $7 = 0, $8 = 0.0, $add = 0, $add22 = 0, $add5 = 0.0, $arrayidx103 = 0, $arrayidx110 = 0, $arrayidx82 = 0, $arrayidx87 = 0, $call = 0, $call1 = 0, $call17 = 0, $call2 = 0, $conv9 = 0, $i$0 = 0, $i$1 = 0, $j$0 = 0, $m0 = 0, $m1 = 0, $mul32 = 0, $rem = 0, $retval$0 = 0, $sub15 = 0, $sub52 = 0.0, $sub93 = 0.0, label = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $7 = sp + 4 | 0; - $8 = sp; - $9 = _arVecAlloc(2) | 0; - $10 = _arVecAlloc(2) | 0; - $11 = _arMatrixAlloc(2, 2) | 0; - $$0109 = 0; + $m0 = sp + 4 | 0; + $m1 = sp; + $call = _arVecAlloc(2) | 0; + $call1 = _arVecAlloc(2) | 0; + $call2 = _arMatrixAlloc(2, 2) | 0; + $i$0 = 0; L1 : while (1) { - if ($$0109 >>> 0 >= 4) { + if ($i$0 >>> 0 >= 4) { label = 10; break; } - $13 = $$0109 + 1 | 0; - $15 = HEAP32[$3 + ($13 << 2) >> 2] | 0; - $17 = HEAP32[$3 + ($$0109 << 2) >> 2] | 0; - $22 = +($15 + 1 - $17 | 0) * .05 + .5; - $25 = ~~($22 + +($17 | 0)); - $29 = ~~(+($15 | 0) - $22) - $25 | 0; - $31 = _arMatrixAlloc($29 + 1 | 0, 2) | 0; - $$0108 = 0; + $add = $i$0 + 1 | 0; + $0 = HEAP32[$vertex + ($add << 2) >> 2] | 0; + $1 = HEAP32[$vertex + ($i$0 << 2) >> 2] | 0; + $add5 = +($0 + 1 - $1 | 0) * .05 + .5; + $conv9 = ~~($add5 + +($1 | 0)); + $sub15 = ~~(+($0 | 0) - $add5) - $conv9 | 0; + $call17 = _arMatrixAlloc($sub15 + 1 | 0, 2) | 0; + $j$0 = 0; while (1) { - if (($$0108 | 0) > ($29 | 0)) break; - $33 = $$0108 + $25 | 0; - if ((_arParamObserv2IdealLTf($4, +(HEAP32[$0 + ($33 << 2) >> 2] | 0), +(HEAP32[$1 + ($33 << 2) >> 2] | 0), $7, $8) | 0) < 0) { + if (($j$0 | 0) > ($sub15 | 0)) break; + $add22 = $j$0 + $conv9 | 0; + if ((_arParamObserv2IdealLTf($paramLTf, +(HEAP32[$x_coord + ($add22 << 2) >> 2] | 0), +(HEAP32[$y_coord + ($add22 << 2) >> 2] | 0), $m0, $m1) | 0) < 0) { label = 6; break L1; } - $44 = HEAP32[$31 >> 2] | 0; - $45 = $$0108 << 1; - HEAPF64[$44 + ($45 << 3) >> 3] = +HEAPF32[$7 >> 2]; - HEAPF64[$44 + (($45 | 1) << 3) >> 3] = +HEAPF32[$8 >> 2]; - $$0108 = $$0108 + 1 | 0; + $5 = HEAP32[$call17 >> 2] | 0; + $mul32 = $j$0 << 1; + HEAPF64[$5 + ($mul32 << 3) >> 3] = +HEAPF32[$m0 >> 2]; + HEAPF64[$5 + (($mul32 | 1) << 3) >> 3] = +HEAPF32[$m1 >> 2]; + $j$0 = $j$0 + 1 | 0; } - if ((_arMatrixPCA($31, $11, $9, $10) | 0) < 0) { + if ((_arMatrixPCA($call17, $call2, $call, $call1) | 0) < 0) { label = 14; break; } - $54 = HEAP32[$11 >> 2] | 0; - $56 = +HEAPF64[$54 + 8 >> 3]; - HEAPF64[$5 + ($$0109 * 24 | 0) >> 3] = $56; - $59 = -+HEAPF64[$54 >> 3]; - HEAPF64[$5 + ($$0109 * 24 | 0) + 8 >> 3] = $59; - $61 = HEAP32[$10 >> 2] | 0; - HEAPF64[$5 + ($$0109 * 24 | 0) + 16 >> 3] = -($56 * +HEAPF64[$61 >> 3] + +HEAPF64[$61 + 8 >> 3] * $59); - _arMatrixFree($31) | 0; - $$0109 = $13; + $7 = HEAP32[$call2 >> 2] | 0; + $8 = +HEAPF64[$7 + 8 >> 3]; + HEAPF64[$line + ($i$0 * 24 | 0) >> 3] = $8; + $sub52 = -+HEAPF64[$7 >> 3]; + HEAPF64[$line + ($i$0 * 24 | 0) + 8 >> 3] = $sub52; + $10 = HEAP32[$call1 >> 2] | 0; + HEAPF64[$line + ($i$0 * 24 | 0) + 16 >> 3] = -($8 * +HEAPF64[$10 >> 3] + +HEAPF64[$10 + 8 >> 3] * $sub52); + _arMatrixFree($call17) | 0; + $i$0 = $add; } L10 : do if ((label | 0) == 6) label = 14; else if ((label | 0) == 10) { - _arMatrixFree($11) | 0; - _arVecFree($10) | 0; - _arVecFree($9) | 0; - $$1 = 0; + _arMatrixFree($call2) | 0; + _arVecFree($call1) | 0; + _arVecFree($call) | 0; + $i$1 = 0; while (1) { - if ($$1 >>> 0 >= 4) { - $$0110 = 0; + if ($i$1 >>> 0 >= 4) { + $retval$0 = 0; break L10; } - $72 = $$1 + 3 & 3; - $73 = $5 + ($72 * 24 | 0) | 0; - $76 = +HEAPF64[$5 + ($$1 * 24 | 0) + 8 >> 3]; - $78 = $5 + ($$1 * 24 | 0) | 0; - $81 = +HEAPF64[$5 + ($72 * 24 | 0) + 8 >> 3]; - $83 = +HEAPF64[$73 >> 3] * $76 - +HEAPF64[$78 >> 3] * $81; - if (+Math_abs(+$83) < .0001) { - $$0110 = -1; + $rem = $i$1 + 3 & 3; + $arrayidx82 = $line + ($rem * 24 | 0) | 0; + $14 = +HEAPF64[$line + ($i$1 * 24 | 0) + 8 >> 3]; + $arrayidx87 = $line + ($i$1 * 24 | 0) | 0; + $16 = +HEAPF64[$line + ($rem * 24 | 0) + 8 >> 3]; + $sub93 = +HEAPF64[$arrayidx82 >> 3] * $14 - +HEAPF64[$arrayidx87 >> 3] * $16; + if (+Math_abs(+$sub93) < .0001) { + $retval$0 = -1; break L10; } - $86 = $5 + ($$1 * 24 | 0) + 16 | 0; - $89 = $5 + ($72 * 24 | 0) + 16 | 0; - HEAPF64[$6 + ($$1 << 4) >> 3] = ($81 * +HEAPF64[$86 >> 3] - $76 * +HEAPF64[$89 >> 3]) / $83; - HEAPF64[$6 + ($$1 << 4) + 8 >> 3] = (+HEAPF64[$78 >> 3] * +HEAPF64[$89 >> 3] - +HEAPF64[$73 >> 3] * +HEAPF64[$86 >> 3]) / $83; - $$1 = $$1 + 1 | 0; + $arrayidx103 = $line + ($i$1 * 24 | 0) + 16 | 0; + $arrayidx110 = $line + ($rem * 24 | 0) + 16 | 0; + HEAPF64[$v + ($i$1 << 4) >> 3] = ($16 * +HEAPF64[$arrayidx103 >> 3] - $14 * +HEAPF64[$arrayidx110 >> 3]) / $sub93; + HEAPF64[$v + ($i$1 << 4) + 8 >> 3] = (+HEAPF64[$arrayidx87 >> 3] * +HEAPF64[$arrayidx110 >> 3] - +HEAPF64[$arrayidx82 >> 3] * +HEAPF64[$arrayidx103 >> 3]) / $sub93; + $i$1 = $i$1 + 1 | 0; } } while (0); if ((label | 0) == 14) { - _arMatrixFree($31) | 0; - _arMatrixFree($11) | 0; - _arVecFree($10) | 0; - _arVecFree($9) | 0; - $$0110 = -1; + _arMatrixFree($call17) | 0; + _arMatrixFree($call2) | 0; + _arVecFree($call1) | 0; + _arVecFree($call) | 0; + $retval$0 = -1; } STACKTOP = sp; - return $$0110 | 0; + return $retval$0 | 0; } -function _arGetMarkerInfo($0, $1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - $6 = $6 | 0; - $7 = $7 | 0; - $8 = $8 | 0; - $9 = $9 | 0; - $10 = +$10; - $11 = $11 | 0; - $12 = $12 | 0; - $13 = $13 | 0; - var $$0 = 0, $$0113 = 0, $$1 = 0, $$sink = 0, $$sink118 = 0, $$sink119$in = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $42 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $50 = 0, $53 = 0, label = 0, sp = 0; +function __ZNSt3__27__sort3IRNS_7greaterINS_4pairIfmEEEENS_11__wrap_iterIPS3_EEEEjT0_S9_S9_T_($__x, $__y, $__z, $__c) { + $__x = $__x | 0; + $__y = $__y | 0; + $__z = $__z | 0; + $__c = $__c | 0; + var $0 = 0, $1 = 0, $10 = 0, $12 = 0.0, $13 = 0.0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $2 = 0.0, $20 = 0, $22 = 0.0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $3 = 0.0, $6 = 0, $7 = 0.0, $retval$0 = 0, $second$i$i$i28 = 0, $second$i$i12 = 0, $second$i$i15 = 0, $second$i$i19$phi$trans$insert = 0, $second$i$i19$pre$phiZZZ2D = 0, $second$i$i35 = 0, $second3$i$i$phi$trans$insert = 0, $second3$i$i$pre$phiZZZ2D = 0, $second3$i$i13 = 0, $second3$i$i16 = 0, $second3$i$i36 = 0, $second5$i$i$i = 0; + $0 = HEAP32[$__y >> 2] | 0; + $1 = HEAP32[$__x >> 2] | 0; + $2 = +HEAPF32[$1 >> 2]; + $3 = +HEAPF32[$0 >> 2]; + if (!($2 < $3)) if ($3 < $2) $25 = 0; else $25 = (HEAP32[$1 + 4 >> 2] | 0) >>> 0 < (HEAP32[$0 + 4 >> 2] | 0) >>> 0; else $25 = 1; + $6 = HEAP32[$__z >> 2] | 0; + $7 = +HEAPF32[$6 >> 2]; + if (!($3 < $7)) if ($7 < $3) $26 = 0; else $26 = (HEAP32[$0 + 4 >> 2] | 0) >>> 0 < (HEAP32[$6 + 4 >> 2] | 0) >>> 0; else $26 = 1; + do if (!$25) if ($26) { + HEAPF32[$0 >> 2] = $7; + HEAPF32[$6 >> 2] = $3; + $second$i$i35 = $0 + 4 | 0; + $second3$i$i36 = $6 + 4 | 0; + $10 = HEAP32[$second$i$i35 >> 2] | 0; + HEAP32[$second$i$i35 >> 2] = HEAP32[$second3$i$i36 >> 2]; + HEAP32[$second3$i$i36 >> 2] = $10; + $12 = +HEAPF32[$1 >> 2]; + $13 = +HEAPF32[$0 >> 2]; + if (!($12 < $13)) { + if ($13 < $12) { + $retval$0 = 1; + break; + } + $second$i$i$i28 = $1 + 4 | 0; + $14 = HEAP32[$second$i$i$i28 >> 2] | 0; + $15 = HEAP32[$second$i$i35 >> 2] | 0; + if ($14 >>> 0 < $15 >>> 0) { + $16 = $15; + $17 = $14; + $second$i$i19$pre$phiZZZ2D = $second$i$i$i28; + } else { + $retval$0 = 1; + break; + } + } else { + $second$i$i19$phi$trans$insert = $1 + 4 | 0; + $16 = HEAP32[$second$i$i35 >> 2] | 0; + $17 = HEAP32[$second$i$i19$phi$trans$insert >> 2] | 0; + $second$i$i19$pre$phiZZZ2D = $second$i$i19$phi$trans$insert; + } + HEAPF32[$1 >> 2] = $13; + HEAPF32[$0 >> 2] = $12; + HEAP32[$second$i$i19$pre$phiZZZ2D >> 2] = $16; + HEAP32[$second$i$i35 >> 2] = $17; + $retval$0 = 2; + } else $retval$0 = 0; else { + if ($26) { + HEAPF32[$1 >> 2] = $7; + HEAPF32[$6 >> 2] = $2; + $second$i$i15 = $1 + 4 | 0; + $second3$i$i16 = $6 + 4 | 0; + $18 = HEAP32[$second$i$i15 >> 2] | 0; + HEAP32[$second$i$i15 >> 2] = HEAP32[$second3$i$i16 >> 2]; + HEAP32[$second3$i$i16 >> 2] = $18; + $retval$0 = 1; + break; + } + HEAPF32[$1 >> 2] = $3; + HEAPF32[$0 >> 2] = $2; + $second$i$i12 = $1 + 4 | 0; + $second3$i$i13 = $0 + 4 | 0; + $20 = HEAP32[$second$i$i12 >> 2] | 0; + HEAP32[$second$i$i12 >> 2] = HEAP32[$second3$i$i13 >> 2]; + HEAP32[$second3$i$i13 >> 2] = $20; + $22 = +HEAPF32[$6 >> 2]; + if (!($2 < $22)) { + if ($22 < $2) { + $retval$0 = 1; + break; + } + $second5$i$i$i = $6 + 4 | 0; + $23 = HEAP32[$second5$i$i$i >> 2] | 0; + if ($20 >>> 0 < $23 >>> 0) { + $24 = $23; + $second3$i$i$pre$phiZZZ2D = $second5$i$i$i; + } else { + $retval$0 = 1; + break; + } + } else { + $second3$i$i$phi$trans$insert = $6 + 4 | 0; + $24 = HEAP32[$second3$i$i$phi$trans$insert >> 2] | 0; + $second3$i$i$pre$phiZZZ2D = $second3$i$i$phi$trans$insert; + } + HEAPF32[$0 >> 2] = $22; + HEAPF32[$6 >> 2] = $2; + HEAP32[$second3$i$i13 >> 2] = $24; + HEAP32[$second3$i$i$pre$phiZZZ2D >> 2] = $20; + $retval$0 = 2; + } while (0); + return $retval$0 | 0; +} + +function __Z21kpmUtilGetPose_binaryP9ARParamLTRKNSt3__26vectorIN6vision7match_tENS1_9allocatorIS4_EEEERKNS2_INS3_7Point3dIfEENS5_ISB_EEEERKNS2_INS3_12FeaturePointENS5_ISG_EEEEPA4_fPf($cparamLT, $matchData, $refDataSet, $inputDataSet, $camPose, $error) { + $cparamLT = $cparamLT | 0; + $matchData = $matchData | 0; + $refDataSet = $refDataSet | 0; + $inputDataSet = $inputDataSet | 0; + $camPose = $camPose | 0; + $error = $error | 0; + var $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $8 = 0, $arraydecay = 0, $c$0 = 0, $call2 = 0, $call48 = 0, $call8 = 0, $camPosed = 0, $conv78 = 0.0, $err = 0, $i$0 = 0, $icpData = 0, $icpHandle = 0, $initMatXw2Xc = 0, $r$0 = 0, $retval$0 = 0, $retval$1 = 0, $sub$ptr$div$i = 0, $sub$ptr$sub$i = 0, $vararg_buffer = 0, $vararg_buffer1 = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $14 = sp + 4 | 0; - $15 = sp; - $16 = $8 >>> 0 < 2; - $17 = ($8 | 0) == 2; - $$0 = 0; - $$0113 = 0; - while (1) { - if (($$0 | 0) >= ($5 | 0)) break; - HEAP32[$11 + ($$0113 << 8) >> 2] = HEAP32[$4 + ($$0 * 80048 | 0) >> 2]; - if ((_arParamObserv2IdealLTf($9, +HEAPF64[$4 + ($$0 * 80048 | 0) + 8 >> 3], +HEAPF64[$4 + ($$0 * 80048 | 0) + 16 >> 3], $14, $15) | 0) >= 0 ? (HEAPF64[$11 + ($$0113 << 8) + 56 >> 3] = +HEAPF32[$14 >> 2], HEAPF64[$11 + ($$0113 << 8) + 64 >> 3] = +HEAPF32[$15 >> 2], $42 = $11 + ($$0113 << 8) + 168 | 0, (_arGetLine($4 + ($$0 * 80048 | 0) + 28 | 0, $4 + ($$0 * 80048 | 0) + 40028 | 0, HEAP32[$4 + ($$0 * 80048 | 0) + 24 >> 2] | 0, $4 + ($$0 * 80048 | 0) + 80028 | 0, $9, $11 + ($$0113 << 8) + 72 | 0, $42) | 0) >= 0) : 0) { - $45 = $11 + ($$0113 << 8) + 8 | 0; - $46 = $11 + ($$0113 << 8) + 20 | 0; - $47 = $11 + ($$0113 << 8) + 40 | 0; - $48 = $11 + ($$0113 << 8) + 12 | 0; - $49 = $11 + ($$0113 << 8) + 24 | 0; - $50 = $11 + ($$0113 << 8) + 48 | 0; - $53 = _arPattGetIDGlobal($6, $7, $8, $0, $1, $2, $3, $9, $42, $10, $45, $46, $47, $48, $49, $50, $13, $11 + ($$0113 << 8) + 240 | 0, $11 + ($$0113 << 8) + 248 | 0) | 0; - switch ($53 | 0) { - case 0: - { - $$sink = $53; - label = 12; - break; - } - case -1: - { - $$sink = 2; - label = 12; - break; - } - case -2: - { - $$sink = 3; - label = 12; - break; + STACKTOP = STACKTOP + 240 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(240); + $vararg_buffer1 = sp + 208 | 0; + $vararg_buffer = sp + 200 | 0; + $icpHandle = sp + 224 | 0; + $icpData = sp + 212 | 0; + $initMatXw2Xc = sp + 96 | 0; + $err = sp + 192 | 0; + $camPosed = sp; + $1 = HEAP32[$matchData >> 2] | 0; + $sub$ptr$sub$i = (HEAP32[$matchData + 4 >> 2] | 0) - $1 | 0; + $sub$ptr$div$i = $sub$ptr$sub$i >> 3; + $2 = $1; + do if ($sub$ptr$div$i >>> 0 < 4) $retval$1 = -1; else { + $call2 = _malloc($sub$ptr$sub$i << 1) | 0; + if (!$call2) { + _arLog(0, 3, 46772, $vararg_buffer); + _exit(1); + } + $call8 = _malloc($sub$ptr$div$i * 24 | 0) | 0; + if (!$call8) { + _arLog(0, 3, 46772, $vararg_buffer1); + _exit(1); + } + $3 = HEAP32[$inputDataSet >> 2] | 0; + $4 = HEAP32[$refDataSet >> 2] | 0; + $i$0 = 0; + while (1) { + if (($i$0 | 0) == ($sub$ptr$div$i | 0)) break; + $5 = HEAP32[$2 + ($i$0 << 3) >> 2] | 0; + HEAPF64[$call2 + ($i$0 << 4) >> 3] = +HEAPF32[$3 + ($5 * 20 | 0) >> 2]; + HEAPF64[$call2 + ($i$0 << 4) + 8 >> 3] = +HEAPF32[$3 + ($5 * 20 | 0) + 4 >> 2]; + $8 = HEAP32[$2 + ($i$0 << 3) + 4 >> 2] | 0; + HEAPF64[$call8 + ($i$0 * 24 | 0) >> 3] = +HEAPF32[$4 + ($8 * 12 | 0) >> 2]; + HEAPF64[$call8 + ($i$0 * 24 | 0) + 8 >> 3] = +HEAPF32[$4 + ($8 * 12 | 0) + 4 >> 2]; + HEAPF64[$call8 + ($i$0 * 24 | 0) + 16 >> 3] = 0.0; + $i$0 = $i$0 + 1 | 0; + } + HEAP32[$icpData + 8 >> 2] = $sub$ptr$div$i; + HEAP32[$icpData >> 2] = $call2; + HEAP32[$icpData + 4 >> 2] = $call8; + $arraydecay = $cparamLT + 8 | 0; + if ((_icpGetInitXw2Xc_from_PlanarData($arraydecay, $call2, $call8, $sub$ptr$div$i, $initMatXw2Xc) | 0) < 0) { + _free($call2); + _free($call8); + $retval$1 = -1; + break; + } + $call48 = _icpCreateHandle($arraydecay) | 0; + HEAP32[$icpHandle >> 2] = $call48; + if (!$call48) { + _free($call2); + _free($call8); + $retval$1 = -1; + break; + } + if ((_icpPoint($call48, $icpData, $initMatXw2Xc, $camPosed, $err) | 0) < 0) { + _free($call2); + _free($call8); + _icpDeleteHandle($icpHandle) | 0; + $retval$0 = -1; + } else { + $r$0 = 0; + while (1) { + if (($r$0 | 0) == 3) break; + $c$0 = 0; + while (1) { + if (($c$0 | 0) == 4) break; + HEAPF32[$camPose + ($r$0 << 4) + ($c$0 << 2) >> 2] = +HEAPF64[$camPosed + ($r$0 << 5) + ($c$0 << 3) >> 3]; + $c$0 = $c$0 + 1 | 0; } - case -3: - { - $$sink = 4; - label = 12; - break; + $r$0 = $r$0 + 1 | 0; + } + _icpDeleteHandle($icpHandle) | 0; + _free($call2); + _free($call8); + $conv78 = +HEAPF64[$err >> 3]; + HEAPF32[$error >> 2] = $conv78; + $retval$0 = ($conv78 > 10.0) << 31 >> 31; + } + $retval$1 = $retval$0; + } while (0); + STACKTOP = sp; + return $retval$1 | 0; +} + +function __ZNK12_GLOBAL__N_116itanium_demangle12FunctionType10printRightERNS_12OutputStreamE($this, $S) { + $this = $this | 0; + $S = $S | 0; + var $0 = 0, $2 = 0, $3 = 0, $4 = 0, $CVQuals = 0, $ExceptionSpec = 0, $agg$tmp = 0, $agg$tmp10 = 0, $agg$tmp17 = 0, $agg$tmp2 = 0, $agg$tmp21 = 0, $agg$tmp27 = 0, $agg$tmp27$byval_copy = 0, $agg$tmp4 = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 64 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(64); + $agg$tmp27$byval_copy = sp + 56 | 0; + $agg$tmp = sp + 48 | 0; + $agg$tmp2 = sp + 40 | 0; + $agg$tmp4 = sp + 32 | 0; + $agg$tmp10 = sp + 24 | 0; + $agg$tmp17 = sp + 16 | 0; + $agg$tmp21 = sp + 8 | 0; + $agg$tmp27 = sp; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, 52810); + HEAP32[$agg$tmp27$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp27$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp27$byval_copy); + __ZNK12_GLOBAL__N_116itanium_demangle9NodeArray14printWithCommaERNS_12OutputStreamE($this + 12 | 0, $S); + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp2, 52806); + HEAP32[$agg$tmp27$byval_copy >> 2] = HEAP32[$agg$tmp2 >> 2]; + HEAP32[$agg$tmp27$byval_copy + 4 >> 2] = HEAP32[$agg$tmp2 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp27$byval_copy); + $0 = HEAP32[$this + 8 >> 2] | 0; + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$0 >> 2] | 0) + 20 >> 2] & 255]($0, $S); + $CVQuals = $this + 20 | 0; + $2 = HEAP32[$CVQuals >> 2] | 0; + if (!($2 & 1)) $3 = $2; else { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp4, 56978); + HEAP32[$agg$tmp27$byval_copy >> 2] = HEAP32[$agg$tmp4 >> 2]; + HEAP32[$agg$tmp27$byval_copy + 4 >> 2] = HEAP32[$agg$tmp4 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp27$byval_copy); + $3 = HEAP32[$CVQuals >> 2] | 0; + } + if (!($3 & 2)) $4 = $3; else { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp10, 56985); + HEAP32[$agg$tmp27$byval_copy >> 2] = HEAP32[$agg$tmp10 >> 2]; + HEAP32[$agg$tmp27$byval_copy + 4 >> 2] = HEAP32[$agg$tmp10 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp27$byval_copy); + $4 = HEAP32[$CVQuals >> 2] | 0; + } + if ($4 & 4 | 0) { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp17, 56995); + HEAP32[$agg$tmp27$byval_copy >> 2] = HEAP32[$agg$tmp17 >> 2]; + HEAP32[$agg$tmp27$byval_copy + 4 >> 2] = HEAP32[$agg$tmp17 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp27$byval_copy); + } + switch (HEAP8[$this + 24 >> 0] | 0) { + case 1: + { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp21, 57180); + HEAP32[$agg$tmp27$byval_copy >> 2] = HEAP32[$agg$tmp21 >> 2]; + HEAP32[$agg$tmp27$byval_copy + 4 >> 2] = HEAP32[$agg$tmp21 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp27$byval_copy); + break; + } + case 2: + { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp27, 57183); + HEAP32[$agg$tmp27$byval_copy >> 2] = HEAP32[$agg$tmp27 >> 2]; + HEAP32[$agg$tmp27$byval_copy + 4 >> 2] = HEAP32[$agg$tmp27 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp27$byval_copy); + break; + } + default: + {} + } + $ExceptionSpec = $this + 28 | 0; + if (HEAP32[$ExceptionSpec >> 2] | 0) { + __ZN12_GLOBAL__N_112OutputStreampLEc($S, 32); + __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(HEAP32[$ExceptionSpec >> 2] | 0, $S); + } + STACKTOP = sp; + return; +} + +function _trinkle($head, $width, $cmp, $pp, $pshift, $trusty, $lp) { + $head = $head | 0; + $width = $width | 0; + $cmp = $cmp | 0; + $pp = $pp | 0; + $pshift = $pshift | 0; + $trusty = $trusty | 0; + $lp = $lp | 0; + var $0 = 0, $1 = 0, $4 = 0, $add = 0, $add$ptr = 0, $add$ptr15 = 0, $add$ptr65 = 0, $add$ptr72 = 0, $ar = 0, $arrayidx3 = 0, $call29 = 0, $head$addr$0$lcssa = 0, $head$addr$032 = 0, $head$addr$04368 = 0, $head$addr$04368$phi = 0, $i$0$lcssa = 0, $i$034 = 0, $i$04269 = 0, $idx$neg14 = 0, $inc = 0, $p = 0, $pshift$addr$0$lcssa = 0, $pshift$addr$036 = 0, $pshift$addr$04170 = 0, $trusty$addr$0$lcssa = 0, $trusty$addr$04071 = 0, label = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 240 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(240); + $p = sp + 232 | 0; + $ar = sp; + $0 = HEAP32[$pp >> 2] | 0; + HEAP32[$p >> 2] = $0; + $1 = HEAP32[$pp + 4 >> 2] | 0; + $arrayidx3 = $p + 4 | 0; + HEAP32[$arrayidx3 >> 2] = $1; + HEAP32[$ar >> 2] = $head; + L1 : do if (($0 | 0) != 1 | ($1 | 0) != 0 ? ($idx$neg14 = 0 - $width | 0, $add$ptr65 = $head + (0 - (HEAP32[$lp + ($pshift << 2) >> 2] | 0)) | 0, (FUNCTION_TABLE_iii[$cmp & 127]($add$ptr65, $head) | 0) >= 1) : 0) { + $add$ptr72 = $add$ptr65; + $head$addr$04368 = $head; + $i$04269 = 1; + $pshift$addr$04170 = $pshift; + $trusty$addr$04071 = ($trusty | 0) == 0; + while (1) { + if ($trusty$addr$04071 & ($pshift$addr$04170 | 0) > 1) { + $add$ptr15 = $head$addr$04368 + $idx$neg14 | 0; + $4 = HEAP32[$lp + ($pshift$addr$04170 + -2 << 2) >> 2] | 0; + if ((FUNCTION_TABLE_iii[$cmp & 127]($add$ptr15, $add$ptr72) | 0) > -1) { + $head$addr$032 = $head$addr$04368; + $i$034 = $i$04269; + $pshift$addr$036 = $pshift$addr$04170; + label = 10; + break L1; } - case -4: - { - $$sink = 5; - label = 12; - break; + if ((FUNCTION_TABLE_iii[$cmp & 127]($add$ptr15 + (0 - $4) | 0, $add$ptr72) | 0) > -1) { + $head$addr$032 = $head$addr$04368; + $i$034 = $i$04269; + $pshift$addr$036 = $pshift$addr$04170; + label = 10; + break L1; } - case -5: - { - $$sink = 9; - label = 12; + } + $inc = $i$04269 + 1 | 0; + HEAP32[$ar + ($i$04269 << 2) >> 2] = $add$ptr72; + $call29 = _pntz($p) | 0; + _shr($p, $call29); + $add = $call29 + $pshift$addr$04170 | 0; + if (!((HEAP32[$p >> 2] | 0) != 1 | (HEAP32[$arrayidx3 >> 2] | 0) != 0)) { + $head$addr$032 = $add$ptr72; + $i$034 = $inc; + $pshift$addr$036 = $add; + label = 10; + break L1; + } + $add$ptr = $add$ptr72 + (0 - (HEAP32[$lp + ($add << 2) >> 2] | 0)) | 0; + if ((FUNCTION_TABLE_iii[$cmp & 127]($add$ptr, HEAP32[$ar >> 2] | 0) | 0) < 1) { + $head$addr$0$lcssa = $add$ptr72; + $i$0$lcssa = $inc; + $pshift$addr$0$lcssa = $add; + $trusty$addr$0$lcssa = 0; + label = 9; + break; + } else { + $head$addr$04368$phi = $add$ptr72; + $add$ptr72 = $add$ptr; + $i$04269 = $inc; + $pshift$addr$04170 = $add; + $trusty$addr$04071 = 1; + $head$addr$04368 = $head$addr$04368$phi; + } + } + } else { + $head$addr$0$lcssa = $head; + $i$0$lcssa = 1; + $pshift$addr$0$lcssa = $pshift; + $trusty$addr$0$lcssa = $trusty; + label = 9; + } while (0); + if ((label | 0) == 9 ? ($trusty$addr$0$lcssa | 0) == 0 : 0) { + $head$addr$032 = $head$addr$0$lcssa; + $i$034 = $i$0$lcssa; + $pshift$addr$036 = $pshift$addr$0$lcssa; + label = 10; + } + if ((label | 0) == 10) { + _cycle($width, $ar, $i$034); + _sift($head$addr$032, $width, $cmp, $pshift$addr$036, $lp); + } + STACKTOP = sp; + return; +} + +function __ZNSt3__28ios_base4InitC2Ev($this) { + $this = $this | 0; + var $0 = 0, $1 = 0, $2 = 0, $3 = 0, $4 = 0, $__fmtflags_$i$i = 0, $__fmtflags_$i$i22 = 0, $call$i$i = 0, $call$i$i13 = 0, $call$i$i14 = 0, $call$i$i15 = 0, $call$i$i16 = 0, $call$i$i17 = 0, $call$i$i18 = 0, $call$i$i20 = 0, $vbase$offset$ptr18 = 0, $vbase$offset$ptr23 = 0; + $0 = HEAP32[4271] | 0; + __ZNSt3__210__stdinbufIcEC2EP8_IO_FILEP11__mbstate_t(66992, $0, 67048); + HEAP32[16578] = 20700; + HEAP32[16580] = 20720; + HEAP32[16579] = 0; + __ZNSt3__28ios_base4initEPv(66320, 66992); + HEAP32[16598] = 0; + $call$i$i = __ZNSt3__211char_traitsIcE3eofEv() | 0; + HEAP32[16599] = $call$i$i; + __ZNSt3__210__stdinbufIwEC2EP8_IO_FILEP11__mbstate_t(67056, $0, 67112); + HEAP32[16600] = 20748; + HEAP32[16602] = 20768; + HEAP32[16601] = 0; + __ZNSt3__28ios_base4initEPv(66408, 67056); + HEAP32[16620] = 0; + $call$i$i13 = __ZNSt3__211char_traitsIwE3eofEv() | 0; + HEAP32[16621] = $call$i$i13; + $1 = HEAP32[4272] | 0; + __ZNSt3__211__stdoutbufIcEC2EP8_IO_FILEP11__mbstate_t(67120, $1, 67168); + HEAP32[16622] = 20796; + HEAP32[16623] = 20816; + __ZNSt3__28ios_base4initEPv(66492, 67120); + HEAP32[16641] = 0; + $call$i$i14 = __ZNSt3__211char_traitsIcE3eofEv() | 0; + HEAP32[16642] = $call$i$i14; + __ZNSt3__211__stdoutbufIwEC2EP8_IO_FILEP11__mbstate_t(67176, $1, 67224); + HEAP32[16643] = 20844; + HEAP32[16644] = 20864; + __ZNSt3__28ios_base4initEPv(66576, 67176); + HEAP32[16662] = 0; + $call$i$i15 = __ZNSt3__211char_traitsIwE3eofEv() | 0; + HEAP32[16663] = $call$i$i15; + $2 = HEAP32[4274] | 0; + __ZNSt3__211__stdoutbufIcEC2EP8_IO_FILEP11__mbstate_t(67232, $2, 67280); + HEAP32[16664] = 20796; + HEAP32[16665] = 20816; + __ZNSt3__28ios_base4initEPv(66660, 67232); + HEAP32[16683] = 0; + $call$i$i16 = __ZNSt3__211char_traitsIcE3eofEv() | 0; + HEAP32[16684] = $call$i$i16; + $3 = HEAP32[66656 + (HEAP32[(HEAP32[16664] | 0) + -12 >> 2] | 0) + 24 >> 2] | 0; + HEAP32[16706] = 20796; + HEAP32[16707] = 20816; + __ZNSt3__28ios_base4initEPv(66828, $3); + HEAP32[16725] = 0; + $call$i$i17 = __ZNSt3__211char_traitsIcE3eofEv() | 0; + HEAP32[16726] = $call$i$i17; + __ZNSt3__211__stdoutbufIwEC2EP8_IO_FILEP11__mbstate_t(67288, $2, 67336); + HEAP32[16685] = 20844; + HEAP32[16686] = 20864; + __ZNSt3__28ios_base4initEPv(66744, 67288); + HEAP32[16704] = 0; + $call$i$i18 = __ZNSt3__211char_traitsIwE3eofEv() | 0; + HEAP32[16705] = $call$i$i18; + $4 = HEAP32[66740 + (HEAP32[(HEAP32[16685] | 0) + -12 >> 2] | 0) + 24 >> 2] | 0; + HEAP32[16727] = 20844; + HEAP32[16728] = 20864; + __ZNSt3__28ios_base4initEPv(66912, $4); + HEAP32[16746] = 0; + $call$i$i20 = __ZNSt3__211char_traitsIwE3eofEv() | 0; + HEAP32[16747] = $call$i$i20; + HEAP32[66312 + (HEAP32[(HEAP32[16578] | 0) + -12 >> 2] | 0) + 72 >> 2] = 66488; + HEAP32[66400 + (HEAP32[(HEAP32[16600] | 0) + -12 >> 2] | 0) + 72 >> 2] = 66572; + $vbase$offset$ptr18 = (HEAP32[16664] | 0) + -12 | 0; + $__fmtflags_$i$i = 66656 + (HEAP32[$vbase$offset$ptr18 >> 2] | 0) + 4 | 0; + HEAP32[$__fmtflags_$i$i >> 2] = HEAP32[$__fmtflags_$i$i >> 2] | 8192; + $vbase$offset$ptr23 = (HEAP32[16685] | 0) + -12 | 0; + $__fmtflags_$i$i22 = 66740 + (HEAP32[$vbase$offset$ptr23 >> 2] | 0) + 4 | 0; + HEAP32[$__fmtflags_$i$i22 >> 2] = HEAP32[$__fmtflags_$i$i22 >> 2] | 8192; + HEAP32[66656 + (HEAP32[$vbase$offset$ptr18 >> 2] | 0) + 72 >> 2] = 66488; + HEAP32[66740 + (HEAP32[$vbase$offset$ptr23 >> 2] | 0) + 72 >> 2] = 66572; + return; +} + +function _jinit_upsampler($cinfo) { + $cinfo = $cinfo | 0; + var $13 = 0, $14 = 0, $20 = 0, $23 = 0, $3 = 0, $call = 0, $call58 = 0, $call60 = 0, $ci$076 = 0, $cmp15 = 0, $cmp21 = 0, $color_buf = 0, $compptr$075 = 0, $div = 0, $div43 = 0, $div45 = 0, $div9 = 0, $h_expand = 0, $max_h_samp_factor = 0, $max_v_samp_factor = 0, $mem = 0, $methods = 0, $min_DCT_h_scaled_size = 0, $min_DCT_v_scaled_size = 0, $mul = 0, $mul8 = 0, $num_components = 0, $output_width = 0, $rowgroup_height = 0, $v_expand = 0; + $mem = $cinfo + 4 | 0; + $call = FUNCTION_TABLE_iiii[HEAP32[HEAP32[$mem >> 2] >> 2] & 63]($cinfo, 1, 160) | 0; + HEAP32[$cinfo + 476 >> 2] = $call; + HEAP32[$call >> 2] = 202; + HEAP32[$call + 4 >> 2] = 6; + HEAP32[$call + 8 >> 2] = 0; + if (HEAP32[$cinfo + 308 >> 2] | 0) { + $3 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$3 + 20 >> 2] = 26; + FUNCTION_TABLE_vi[HEAP32[$3 >> 2] & 255]($cinfo); + } + $num_components = $cinfo + 36 | 0; + if ((HEAP32[$num_components >> 2] | 0) <= 0) return; + $min_DCT_h_scaled_size = $cinfo + 324 | 0; + $min_DCT_v_scaled_size = $cinfo + 328 | 0; + $max_h_samp_factor = $cinfo + 316 | 0; + $max_v_samp_factor = $cinfo + 320 | 0; + $rowgroup_height = $call + 100 | 0; + $methods = $call + 52 | 0; + $output_width = $cinfo + 112 | 0; + $color_buf = $call + 12 | 0; + $h_expand = $call + 140 | 0; + $v_expand = $call + 150 | 0; + $ci$076 = 0; + $compptr$075 = HEAP32[$cinfo + 216 >> 2] | 0; + while (1) { + $mul = Math_imul(HEAP32[$compptr$075 + 36 >> 2] | 0, HEAP32[$compptr$075 + 8 >> 2] | 0) | 0; + $div = ($mul | 0) / (HEAP32[$min_DCT_h_scaled_size >> 2] | 0) | 0; + $mul8 = Math_imul(HEAP32[$compptr$075 + 40 >> 2] | 0, HEAP32[$compptr$075 + 12 >> 2] | 0) | 0; + $div9 = ($mul8 | 0) / (HEAP32[$min_DCT_v_scaled_size >> 2] | 0) | 0; + $13 = HEAP32[$max_h_samp_factor >> 2] | 0; + $14 = HEAP32[$max_v_samp_factor >> 2] | 0; + HEAP32[$rowgroup_height + ($ci$076 << 2) >> 2] = $div9; + do if (!(HEAP32[$compptr$075 + 52 >> 2] | 0)) HEAP32[$methods + ($ci$076 << 2) >> 2] = 16; else { + $cmp15 = ($div9 | 0) == ($14 | 0); + if (($div | 0) == ($13 | 0) & $cmp15) { + HEAP32[$methods + ($ci$076 << 2) >> 2] = 17; + break; + } + $cmp21 = ($div << 1 | 0) == ($13 | 0); + do if ($cmp21 & $cmp15) HEAP32[$methods + ($ci$076 << 2) >> 2] = 18; else { + if ($cmp21 & ($div9 << 1 | 0) == ($14 | 0)) { + HEAP32[$methods + ($ci$076 << 2) >> 2] = 19; break; } - case -6: - { - $$sink = 1; - label = 12; + $div43 = ($13 | 0) / ($div | 0) | 0; + if (($13 - (Math_imul($div43, $div) | 0) | 0) == 0 ? ($div45 = ($14 | 0) / ($div9 | 0) | 0, ($14 - (Math_imul($div45, $div9) | 0) | 0) == 0) : 0) { + HEAP32[$methods + ($ci$076 << 2) >> 2] = 20; + HEAP8[$h_expand + $ci$076 >> 0] = $div43; + HEAP8[$v_expand + $ci$076 >> 0] = $div45; break; } - default: - {} + $20 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$20 + 20 >> 2] = 39; + FUNCTION_TABLE_vi[HEAP32[$20 >> 2] & 255]($cinfo); + } while (0); + $23 = HEAP32[(HEAP32[$mem >> 2] | 0) + 8 >> 2] | 0; + $call58 = _jround_up(HEAP32[$output_width >> 2] | 0, HEAP32[$max_h_samp_factor >> 2] | 0) | 0; + $call60 = FUNCTION_TABLE_iiiii[$23 & 15]($cinfo, 1, $call58, HEAP32[$max_v_samp_factor >> 2] | 0) | 0; + HEAP32[$color_buf + ($ci$076 << 2) >> 2] = $call60; + } while (0); + $ci$076 = $ci$076 + 1 | 0; + if (($ci$076 | 0) >= (HEAP32[$num_components >> 2] | 0)) break; else $compptr$075 = $compptr$075 + 88 | 0; + } + return; +} + +function _h2v1_merged_upsample($cinfo, $input_buf, $in_row_group_ctr, $output_buf) { + $cinfo = $cinfo | 0; + $input_buf = $input_buf | 0; + $in_row_group_ctr = $in_row_group_ctr | 0; + $output_buf = $output_buf | 0; + var $0 = 0, $1 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $18 = 0, $2 = 0, $21 = 0, $3 = 0, $30 = 0, $36 = 0, $4 = 0, $5 = 0, $7 = 0, $9 = 0, $col$080 = 0, $conv = 0, $conv16 = 0, $conv27 = 0, $conv39 = 0, $conv40 = 0, $conv47 = 0, $conv9 = 0, $inptr0$0$lcssa = 0, $inptr0$077 = 0, $inptr1$0$lcssa = 0, $inptr1$078 = 0, $inptr2$0$lcssa = 0, $inptr2$079 = 0, $outptr$0$lcssa = 0, $outptr$076 = 0, $output_width = 0, $scevgep = 0, $shr = 0, $shr13 = 0, $shr45 = 0; + $0 = HEAP32[$cinfo + 476 >> 2] | 0; + $1 = HEAP32[$cinfo + 336 >> 2] | 0; + $2 = HEAP32[$0 + 16 >> 2] | 0; + $3 = HEAP32[$0 + 20 >> 2] | 0; + $4 = HEAP32[$0 + 24 >> 2] | 0; + $5 = HEAP32[$0 + 28 >> 2] | 0; + $7 = HEAP32[(HEAP32[$input_buf >> 2] | 0) + ($in_row_group_ctr << 2) >> 2] | 0; + $9 = HEAP32[(HEAP32[$input_buf + 4 >> 2] | 0) + ($in_row_group_ctr << 2) >> 2] | 0; + $11 = HEAP32[(HEAP32[$input_buf + 8 >> 2] | 0) + ($in_row_group_ctr << 2) >> 2] | 0; + $12 = HEAP32[$output_buf >> 2] | 0; + $output_width = $cinfo + 112 | 0; + $13 = HEAP32[$output_width >> 2] | 0; + $shr = $13 >>> 1; + if (!$shr) { + $30 = $13; + $inptr0$0$lcssa = $7; + $inptr1$0$lcssa = $9; + $inptr2$0$lcssa = $11; + $outptr$0$lcssa = $12; + } else { + $scevgep = $9 + $shr | 0; + $14 = $13 & -2; + $15 = $shr * 6 | 0; + $col$080 = $shr; + $inptr0$077 = $7; + $inptr1$078 = $9; + $inptr2$079 = $11; + $outptr$076 = $12; + while (1) { + $conv = HEAPU8[$inptr1$078 >> 0] | 0; + $conv9 = HEAPU8[$inptr2$079 >> 0] | 0; + $18 = HEAP32[$2 + ($conv9 << 2) >> 2] | 0; + $shr13 = (HEAP32[$4 + ($conv9 << 2) >> 2] | 0) + (HEAP32[$5 + ($conv << 2) >> 2] | 0) >> 16; + $21 = HEAP32[$3 + ($conv << 2) >> 2] | 0; + $conv16 = HEAPU8[$inptr0$077 >> 0] | 0; + HEAP8[$outptr$076 >> 0] = HEAP8[$1 + ($18 + $conv16) >> 0] | 0; + HEAP8[$outptr$076 + 1 >> 0] = HEAP8[$1 + ($shr13 + $conv16) >> 0] | 0; + HEAP8[$outptr$076 + 2 >> 0] = HEAP8[$1 + ($21 + $conv16) >> 0] | 0; + $conv27 = HEAPU8[$inptr0$077 + 1 >> 0] | 0; + HEAP8[$outptr$076 + 3 >> 0] = HEAP8[$1 + ($18 + $conv27) >> 0] | 0; + HEAP8[$outptr$076 + 4 >> 0] = HEAP8[$1 + ($shr13 + $conv27) >> 0] | 0; + HEAP8[$outptr$076 + 5 >> 0] = HEAP8[$1 + ($21 + $conv27) >> 0] | 0; + $col$080 = $col$080 + -1 | 0; + if (!$col$080) break; else { + $inptr0$077 = $inptr0$077 + 2 | 0; + $inptr1$078 = $inptr1$078 + 1 | 0; + $inptr2$079 = $inptr2$079 + 1 | 0; + $outptr$076 = $outptr$076 + 6 | 0; + } + } + $30 = HEAP32[$output_width >> 2] | 0; + $inptr0$0$lcssa = $7 + $14 | 0; + $inptr1$0$lcssa = $scevgep; + $inptr2$0$lcssa = $11 + $shr | 0; + $outptr$0$lcssa = $12 + $15 | 0; + } + if (!($30 & 1)) return; + $conv39 = HEAPU8[$inptr1$0$lcssa >> 0] | 0; + $conv40 = HEAPU8[$inptr2$0$lcssa >> 0] | 0; + $shr45 = (HEAP32[$4 + ($conv40 << 2) >> 2] | 0) + (HEAP32[$5 + ($conv39 << 2) >> 2] | 0) >> 16; + $36 = HEAP32[$3 + ($conv39 << 2) >> 2] | 0; + $conv47 = HEAPU8[$inptr0$0$lcssa >> 0] | 0; + HEAP8[$outptr$0$lcssa >> 0] = HEAP8[$1 + ((HEAP32[$2 + ($conv40 << 2) >> 2] | 0) + $conv47) >> 0] | 0; + HEAP8[$outptr$0$lcssa + 1 >> 0] = HEAP8[$1 + ($shr45 + $conv47) >> 0] | 0; + HEAP8[$outptr$0$lcssa + 2 >> 0] = HEAP8[$1 + ($36 + $conv47) >> 0] | 0; + return; +} + +function __ZNK12_GLOBAL__N_116itanium_demangle16FunctionEncoding10printRightERNS_12OutputStreamE($this, $S) { + $this = $this | 0; + $S = $S | 0; + var $0 = 0, $2 = 0, $3 = 0, $4 = 0, $6 = 0, $CVQuals = 0, $agg$tmp = 0, $agg$tmp14 = 0, $agg$tmp2 = 0, $agg$tmp21 = 0, $agg$tmp25 = 0, $agg$tmp31 = 0, $agg$tmp31$byval_copy = 0, $agg$tmp7 = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 64 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(64); + $agg$tmp31$byval_copy = sp + 56 | 0; + $agg$tmp = sp + 48 | 0; + $agg$tmp2 = sp + 40 | 0; + $agg$tmp7 = sp + 32 | 0; + $agg$tmp14 = sp + 24 | 0; + $agg$tmp21 = sp + 16 | 0; + $agg$tmp25 = sp + 8 | 0; + $agg$tmp31 = sp; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, 52810); + HEAP32[$agg$tmp31$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp31$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp31$byval_copy); + __ZNK12_GLOBAL__N_116itanium_demangle9NodeArray14printWithCommaERNS_12OutputStreamE($this + 16 | 0, $S); + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp2, 52806); + HEAP32[$agg$tmp31$byval_copy >> 2] = HEAP32[$agg$tmp2 >> 2]; + HEAP32[$agg$tmp31$byval_copy + 4 >> 2] = HEAP32[$agg$tmp2 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp31$byval_copy); + $0 = HEAP32[$this + 8 >> 2] | 0; + if ($0 | 0) FUNCTION_TABLE_vii[HEAP32[(HEAP32[$0 >> 2] | 0) + 20 >> 2] & 255]($0, $S); + $CVQuals = $this + 28 | 0; + $2 = HEAP32[$CVQuals >> 2] | 0; + if (!($2 & 1)) $3 = $2; else { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp7, 56978); + HEAP32[$agg$tmp31$byval_copy >> 2] = HEAP32[$agg$tmp7 >> 2]; + HEAP32[$agg$tmp31$byval_copy + 4 >> 2] = HEAP32[$agg$tmp7 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp31$byval_copy); + $3 = HEAP32[$CVQuals >> 2] | 0; + } + if (!($3 & 2)) $4 = $3; else { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp14, 56985); + HEAP32[$agg$tmp31$byval_copy >> 2] = HEAP32[$agg$tmp14 >> 2]; + HEAP32[$agg$tmp31$byval_copy + 4 >> 2] = HEAP32[$agg$tmp14 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp31$byval_copy); + $4 = HEAP32[$CVQuals >> 2] | 0; + } + if ($4 & 4 | 0) { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp21, 56995); + HEAP32[$agg$tmp31$byval_copy >> 2] = HEAP32[$agg$tmp21 >> 2]; + HEAP32[$agg$tmp31$byval_copy + 4 >> 2] = HEAP32[$agg$tmp21 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp31$byval_copy); + } + switch (HEAP8[$this + 32 >> 0] | 0) { + case 1: + { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp25, 57180); + HEAP32[$agg$tmp31$byval_copy >> 2] = HEAP32[$agg$tmp25 >> 2]; + HEAP32[$agg$tmp31$byval_copy + 4 >> 2] = HEAP32[$agg$tmp25 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp31$byval_copy); + break; + } + case 2: + { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp31, 57183); + HEAP32[$agg$tmp31$byval_copy >> 2] = HEAP32[$agg$tmp31 >> 2]; + HEAP32[$agg$tmp31$byval_copy + 4 >> 2] = HEAP32[$agg$tmp31 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp31$byval_copy); + break; + } + default: + {} + } + $6 = HEAP32[$this + 24 >> 2] | 0; + if ($6 | 0) __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE($6, $S); + STACKTOP = sp; + return; +} + +function _start_pass_2_quant($cinfo, $is_pre_scan) { + $cinfo = $cinfo | 0; + $is_pre_scan = $is_pre_scan | 0; + var $0 = 0, $1 = 0, $14 = 0, $17 = 0, $3 = 0, $4 = 0, $5 = 0, $8 = 0, $call = 0, $dither_mode = 0, $fserrors = 0, $mul = 0, $needs_zeroed49 = 0; + $0 = HEAP32[$cinfo + 484 >> 2] | 0; + $1 = HEAP32[$0 + 24 >> 2] | 0; + $dither_mode = $cinfo + 88 | 0; + if (!(HEAP32[$dither_mode >> 2] | 0)) $3 = 0; else { + HEAP32[$dither_mode >> 2] = 2; + $3 = 2; + } + if (!$is_pre_scan) { + HEAP32[$0 + 4 >> 2] = ($3 | 0) == 2 ? 26 : 25; + HEAP32[$0 + 8 >> 2] = 208; + $4 = HEAP32[$cinfo + 132 >> 2] | 0; + if (($4 | 0) >= 1) { + if (($4 | 0) > 256) { + $8 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$8 + 20 >> 2] = 59; + HEAP32[$8 + 24 >> 2] = 256; + FUNCTION_TABLE_vi[HEAP32[HEAP32[$cinfo >> 2] >> 2] & 255]($cinfo); } - if ((label | 0) == 12) { - label = 0; - HEAP32[$11 + ($$0113 << 8) + 236 >> 2] = $$sink; + } else { + $5 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$5 + 20 >> 2] = 58; + HEAP32[$5 + 24 >> 2] = 1; + FUNCTION_TABLE_vi[HEAP32[HEAP32[$cinfo >> 2] >> 2] & 255]($cinfo); + } + if ((HEAP32[$dither_mode >> 2] | 0) == 2) { + $mul = ((HEAP32[$cinfo + 112 >> 2] | 0) * 6 | 0) + 12 | 0; + $fserrors = $0 + 32 | 0; + $14 = HEAP32[$fserrors >> 2] | 0; + if (!$14) { + $call = FUNCTION_TABLE_iiii[HEAP32[(HEAP32[$cinfo + 4 >> 2] | 0) + 4 >> 2] & 63]($cinfo, 1, $mul) | 0; + HEAP32[$fserrors >> 2] = $call; + $17 = $call; + } else $17 = $14; + _memset($17 | 0, 0, $mul | 0) | 0; + if (!(HEAP32[$0 + 40 >> 2] | 0)) _init_error_limit($cinfo); + HEAP32[$0 + 36 >> 2] = 0; + } + } else { + HEAP32[$0 + 4 >> 2] = 24; + HEAP32[$0 + 8 >> 2] = 207; + HEAP32[$0 + 28 >> 2] = 1; + } + $needs_zeroed49 = $0 + 28 | 0; + if (!(HEAP32[$needs_zeroed49 >> 2] | 0)) return; + _memset(HEAP32[$1 >> 2] | 0, 0, 4096) | 0; + _memset(HEAP32[$1 + 4 >> 2] | 0, 0, 4096) | 0; + _memset(HEAP32[$1 + 8 >> 2] | 0, 0, 4096) | 0; + _memset(HEAP32[$1 + 12 >> 2] | 0, 0, 4096) | 0; + _memset(HEAP32[$1 + 16 >> 2] | 0, 0, 4096) | 0; + _memset(HEAP32[$1 + 20 >> 2] | 0, 0, 4096) | 0; + _memset(HEAP32[$1 + 24 >> 2] | 0, 0, 4096) | 0; + _memset(HEAP32[$1 + 28 >> 2] | 0, 0, 4096) | 0; + _memset(HEAP32[$1 + 32 >> 2] | 0, 0, 4096) | 0; + _memset(HEAP32[$1 + 36 >> 2] | 0, 0, 4096) | 0; + _memset(HEAP32[$1 + 40 >> 2] | 0, 0, 4096) | 0; + _memset(HEAP32[$1 + 44 >> 2] | 0, 0, 4096) | 0; + _memset(HEAP32[$1 + 48 >> 2] | 0, 0, 4096) | 0; + _memset(HEAP32[$1 + 52 >> 2] | 0, 0, 4096) | 0; + _memset(HEAP32[$1 + 56 >> 2] | 0, 0, 4096) | 0; + _memset(HEAP32[$1 + 60 >> 2] | 0, 0, 4096) | 0; + _memset(HEAP32[$1 + 64 >> 2] | 0, 0, 4096) | 0; + _memset(HEAP32[$1 + 68 >> 2] | 0, 0, 4096) | 0; + _memset(HEAP32[$1 + 72 >> 2] | 0, 0, 4096) | 0; + _memset(HEAP32[$1 + 76 >> 2] | 0, 0, 4096) | 0; + _memset(HEAP32[$1 + 80 >> 2] | 0, 0, 4096) | 0; + _memset(HEAP32[$1 + 84 >> 2] | 0, 0, 4096) | 0; + _memset(HEAP32[$1 + 88 >> 2] | 0, 0, 4096) | 0; + _memset(HEAP32[$1 + 92 >> 2] | 0, 0, 4096) | 0; + _memset(HEAP32[$1 + 96 >> 2] | 0, 0, 4096) | 0; + _memset(HEAP32[$1 + 100 >> 2] | 0, 0, 4096) | 0; + _memset(HEAP32[$1 + 104 >> 2] | 0, 0, 4096) | 0; + _memset(HEAP32[$1 + 108 >> 2] | 0, 0, 4096) | 0; + _memset(HEAP32[$1 + 112 >> 2] | 0, 0, 4096) | 0; + _memset(HEAP32[$1 + 116 >> 2] | 0, 0, 4096) | 0; + _memset(HEAP32[$1 + 120 >> 2] | 0, 0, 4096) | 0; + _memset(HEAP32[$1 + 124 >> 2] | 0, 0, 4096) | 0; + HEAP32[$needs_zeroed49 >> 2] = 0; + return; +} + +function _mbsnrtowcs($wcs, $src, $n, $wn, $st) { + $wcs = $wcs | 0; + $src = $src | 0; + $n = $n | 0; + $wn = $wn | 0; + $st = $st | 0; + var $$cast = 0, $0 = 0, $2 = 0, $3 = 0, $5 = 0, $9 = 0, $add15 = 0, $call = 0, $call24 = 0, $cmp = 0, $cmp11 = 0, $cnt$055 = 0, $cnt$1 = 0, $cnt$248 = 0, $cnt$3 = 0, $div = 0, $inc = 0, $n$addr$054 = 0, $n$addr$1 = 0, $n$addr$247 = 0, $s = 0, $spec$select = 0, $sub = 0, $tobool = 0, $wbuf = 0, $wn$addr$0 = 0, $wn$addr$153 = 0, $wn$addr$2 = 0, $wn$addr$3 = 0, $wn$addr$446 = 0, $ws$0 = 0, $ws$140 = 0, $ws$156 = 0, $ws$2 = 0, $ws$349 = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 1040 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(1040); + $wbuf = sp; + $s = sp + 1024 | 0; + $0 = HEAP32[$src >> 2] | 0; + HEAP32[$s >> 2] = $0; + $tobool = ($wcs | 0) != 0; + $wn$addr$0 = $tobool ? $wn : 256; + $ws$0 = $tobool ? $wcs : $wbuf; + $$cast = $0; + L1 : do if (($wn$addr$0 | 0) != 0 & ($0 | 0) != 0) { + $9 = $$cast; + $cnt$055 = 0; + $n$addr$054 = $n; + $wn$addr$153 = $wn$addr$0; + $ws$156 = $ws$0; + while (1) { + $div = $n$addr$054 >>> 2; + $cmp = $div >>> 0 >= $wn$addr$153 >>> 0; + if (!($n$addr$054 >>> 0 > 131 | $cmp)) { + $3 = $9; + $cnt$1 = $cnt$055; + $n$addr$1 = $n$addr$054; + $wn$addr$3 = $wn$addr$153; + $ws$140 = $ws$156; + break L1; } - if (!$16) { - if ($17) { - HEAP32[$11 + ($$0113 << 8) + 4 >> 2] = HEAP32[$48 >> 2]; - $$sink118 = $50; - $$sink119$in = $49; - label = 17; - } + $spec$select = $cmp ? $wn$addr$153 : $div; + $sub = $n$addr$054 - $spec$select | 0; + $call = _mbsrtowcs($ws$156, $s, $spec$select, $st) | 0; + if (($call | 0) == -1) break; + $cmp11 = ($ws$156 | 0) == ($wbuf | 0); + $wn$addr$2 = $wn$addr$153 - ($cmp11 ? 0 : $call) | 0; + $ws$2 = $cmp11 ? $ws$156 : $ws$156 + ($call << 2) | 0; + $add15 = $call + $cnt$055 | 0; + $2 = HEAP32[$s >> 2] | 0; + if (($wn$addr$2 | 0) != 0 & ($2 | 0) != 0) { + $9 = $2; + $cnt$055 = $add15; + $n$addr$054 = $sub; + $wn$addr$153 = $wn$addr$2; + $ws$156 = $ws$2; } else { - HEAP32[$11 + ($$0113 << 8) + 4 >> 2] = HEAP32[$45 >> 2]; - $$sink118 = $47; - $$sink119$in = $46; - label = 17; + $3 = $2; + $cnt$1 = $add15; + $n$addr$1 = $sub; + $wn$addr$3 = $wn$addr$2; + $ws$140 = $ws$2; + break L1; } - if ((label | 0) == 17) { - label = 0; - HEAP32[$11 + ($$0113 << 8) + 16 >> 2] = HEAP32[$$sink119$in >> 2]; - HEAPF64[$11 + ($$0113 << 8) + 32 >> 3] = +HEAPF64[$$sink118 >> 3]; + } + $3 = HEAP32[$s >> 2] | 0; + $cnt$1 = -1; + $n$addr$1 = $sub; + $wn$addr$3 = 0; + $ws$140 = $ws$156; + } else { + $3 = $$cast; + $cnt$1 = 0; + $n$addr$1 = $n; + $wn$addr$3 = $wn$addr$0; + $ws$140 = $ws$0; + } while (0); + L9 : do if (($3 | 0) != 0 ? ($wn$addr$3 | 0) != 0 & ($n$addr$1 | 0) != 0 : 0) { + $5 = $3; + $cnt$248 = $cnt$1; + $n$addr$247 = $n$addr$1; + $wn$addr$446 = $wn$addr$3; + $ws$349 = $ws$140; + while (1) { + $call24 = _mbrtowc($ws$349, $5, $n$addr$247, $st) | 0; + if (($call24 + 2 | 0) >>> 0 < 3) break; + $5 = (HEAP32[$s >> 2] | 0) + $call24 | 0; + HEAP32[$s >> 2] = $5; + $n$addr$247 = $n$addr$247 - $call24 | 0; + $wn$addr$446 = $wn$addr$446 + -1 | 0; + $inc = $cnt$248 + 1 | 0; + if (!(($wn$addr$446 | 0) != 0 & ($n$addr$247 | 0) != 0)) { + $cnt$3 = $inc; + break L9; + } else { + $cnt$248 = $inc; + $ws$349 = $ws$349 + 4 | 0; + } + } + switch ($call24 | 0) { + case -1: + { + $cnt$3 = $call24; + break L9; + break; + } + case 0: + { + HEAP32[$s >> 2] = 0; + $cnt$3 = $cnt$248; + break L9; + break; + } + default: + { + HEAP32[$st >> 2] = 0; + $cnt$3 = $cnt$248; + break L9; } - $$1 = $$0113 + 1 | 0; - } else $$1 = $$0113; - $$0 = $$0 + 1 | 0; - $$0113 = $$1; + } + } else $cnt$3 = $cnt$1; while (0); + if ($tobool) HEAP32[$src >> 2] = HEAP32[$s >> 2]; + STACKTOP = sp; + return $cnt$3 | 0; +} + +function __ZNK12_GLOBAL__N_116itanium_demangle11PointerType9printLeftERNS_12OutputStreamE($this, $s) { + $this = $this | 0; + $s = $s | 0; + var $0 = 0, $1 = 0, $12 = 0, $13 = 0, $6 = 0, $7 = 0, $Pointee = 0, $agg$tmp = 0, $agg$tmp15 = 0, $agg$tmp18 = 0, $agg$tmp21 = 0, $agg$tmp23 = 0, $agg$tmp25 = 0, $agg$tmp25$byval_copy = 0, label = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 64 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(64); + $agg$tmp25$byval_copy = sp + 48 | 0; + $agg$tmp = sp + 40 | 0; + $agg$tmp15 = sp + 32 | 0; + $agg$tmp18 = sp + 24 | 0; + $agg$tmp21 = sp + 16 | 0; + $agg$tmp23 = sp; + $agg$tmp25 = sp + 8 | 0; + $Pointee = $this + 8 | 0; + $0 = HEAP32[$Pointee >> 2] | 0; + do if ((__ZNK12_GLOBAL__N_116itanium_demangle4Node7getKindEv($0) | 0) << 24 >> 24 == 10) if (__ZNK12_GLOBAL__N_116itanium_demangle13ObjCProtoName12isObjCObjectEv($0) | 0) { + $6 = HEAP32[$Pointee >> 2] | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp21, 52881); + HEAP32[$agg$tmp25$byval_copy >> 2] = HEAP32[$agg$tmp21 >> 2]; + HEAP32[$agg$tmp25$byval_copy + 4 >> 2] = HEAP32[$agg$tmp21 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($s, $agg$tmp25$byval_copy); + $7 = $6 + 12 | 0; + $12 = HEAP32[$7 + 4 >> 2] | 0; + $13 = $agg$tmp23; + HEAP32[$13 >> 2] = HEAP32[$7 >> 2]; + HEAP32[$13 + 4 >> 2] = $12; + HEAP32[$agg$tmp25$byval_copy >> 2] = HEAP32[$agg$tmp23 >> 2]; + HEAP32[$agg$tmp25$byval_copy + 4 >> 2] = HEAP32[$agg$tmp23 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($s, $agg$tmp25$byval_copy); + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp25, 52885); + HEAP32[$agg$tmp25$byval_copy >> 2] = HEAP32[$agg$tmp25 >> 2]; + HEAP32[$agg$tmp25$byval_copy + 4 >> 2] = HEAP32[$agg$tmp25 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($s, $agg$tmp25$byval_copy); + break; + } else { + $1 = HEAP32[$Pointee >> 2] | 0; + label = 4; + break; + } else { + $1 = $0; + label = 4; + } while (0); + if ((label | 0) == 4) { + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$1 >> 2] | 0) + 16 >> 2] & 255]($1, $s); + if (__ZNK12_GLOBAL__N_116itanium_demangle4Node8hasArrayERNS_12OutputStreamE(HEAP32[$Pointee >> 2] | 0, $s) | 0) { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, 52808); + HEAP32[$agg$tmp25$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp25$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($s, $agg$tmp25$byval_copy); + } + if (!(__ZNK12_GLOBAL__N_116itanium_demangle4Node8hasArrayERNS_12OutputStreamE(HEAP32[$Pointee >> 2] | 0, $s) | 0) ? !(__ZNK12_GLOBAL__N_116itanium_demangle4Node11hasFunctionERNS_12OutputStreamE(HEAP32[$Pointee >> 2] | 0, $s) | 0) : 0) {} else { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp15, 52810); + HEAP32[$agg$tmp25$byval_copy >> 2] = HEAP32[$agg$tmp15 >> 2]; + HEAP32[$agg$tmp25$byval_copy + 4 >> 2] = HEAP32[$agg$tmp15 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($s, $agg$tmp25$byval_copy); + } + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp18, 52879); + HEAP32[$agg$tmp25$byval_copy >> 2] = HEAP32[$agg$tmp18 >> 2]; + HEAP32[$agg$tmp25$byval_copy + 4 >> 2] = HEAP32[$agg$tmp18 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($s, $agg$tmp25$byval_copy); } - HEAP32[$12 >> 2] = $$0113; STACKTOP = sp; - return 0; + return; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E17parseCtorDtorNameERPNS0_4NodeEPNS5_9NameStateE($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$1 = 0, $$3 = 0, $10 = 0, $12 = 0, $13 = 0, $25 = 0, $3 = 0, $4 = 0, $5 = 0, $9 = 0, label = 0, sp = 0; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E17parseCtorDtorNameERPNS0_4NodeEPNS5_9NameStateE($this, $SoFar, $State) { + $this = $this | 0; + $SoFar = $SoFar | 0; + $State = $State | 0; + var $0 = 0, $1 = 0, $SSK = 0, $call3 = 0, $call46 = 0, $call8 = 0, $call9 = 0, $ref$tmp = 0, $retval$1 = 0, $retval$3 = 0, label = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $3 = sp; - $4 = sp + 4 | 0; - $5 = HEAP32[$1 >> 2] | 0; - if ((__ZNK12_GLOBAL__N_116itanium_demangle4Node7getKindEv($5) | 0) << 24 >> 24 == 36 ? ($9 = HEAP32[$5 + 8 >> 2] | 0, HEAP32[$3 >> 2] = $9, ($9 + -2 | 0) >>> 0 < 4) : 0) { - $10 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_27ExpandedSpecialSubstitutionEJRNS0_14SpecialSubKindEEEEPNS0_4NodeEDpOT0_($0, $3) | 0; - HEAP32[$1 >> 2] = $10; - } - L7 : do if (!(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($0, 67) | 0)) if ((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($0, 0) | 0) << 24 >> 24 == 68) { - $25 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($0, 1) | 0; - switch ($25 << 24 >> 24) { + $SSK = sp; + $ref$tmp = sp + 4 | 0; + $0 = HEAP32[$SoFar >> 2] | 0; + if ((__ZNK12_GLOBAL__N_116itanium_demangle4Node7getKindEv($0) | 0) << 24 >> 24 == 36 ? ($1 = HEAP32[$0 + 8 >> 2] | 0, HEAP32[$SSK >> 2] = $1, ($1 + -2 | 0) >>> 0 < 4) : 0) { + $call3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_27ExpandedSpecialSubstitutionEJRNS0_14SpecialSubKindEEEEPNS0_4NodeEDpOT0_($this, $SSK) | 0; + HEAP32[$SoFar >> 2] = $call3; + } + L7 : do if (!(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($this, 67) | 0)) if ((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($this, 0) | 0) << 24 >> 24 == 68) { + $call46 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($this, 1) | 0; + switch ($call46 << 24 >> 24) { case 53: case 50: case 49: @@ -67322,19 +69422,19 @@ function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14Mang break; default: { - $$3 = 0; + $retval$3 = 0; break L7; } } - HEAP32[$3 >> 2] = ($25 << 24 >> 24) + -48; - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 2; - if ($2 | 0) HEAP8[$2 >> 0] = 1; - HEAP8[$4 >> 0] = 1; - $$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_12CtorDtorNameEJRPNS0_4NodeEbRiEEES9_DpOT0_($0, $1, $4, $3) | 0; - } else $$3 = 0; else { - $12 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($0, 73) | 0; - $13 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($0, 0) | 0; - switch ($13 << 24 >> 24) { + HEAP32[$SSK >> 2] = ($call46 << 24 >> 24) + -48; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 2; + if ($State | 0) HEAP8[$State >> 0] = 1; + HEAP8[$ref$tmp >> 0] = 1; + $retval$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_12CtorDtorNameEJRPNS0_4NodeEbRiEEES9_DpOT0_($this, $SoFar, $ref$tmp, $SSK) | 0; + } else $retval$3 = 0; else { + $call8 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($this, 73) | 0; + $call9 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($this, 0) | 0; + switch ($call9 << 24 >> 24) { case 53: case 51: case 50: @@ -67342,2609 +69442,3145 @@ function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14Mang break; default: { - $$3 = 0; + $retval$3 = 0; break L7; } } - HEAP32[$3 >> 2] = ($13 << 24 >> 24) + -48; - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 1; - if ($2 | 0) HEAP8[$2 >> 0] = 1; - if ($12 ? (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseNameEPNS5_9NameStateE(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0, $2) | 0) == 0 : 0) $$1 = 0; else { - HEAP8[$4 >> 0] = 0; - $$1 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_12CtorDtorNameEJRPNS0_4NodeEbRiEEES9_DpOT0_($0, $1, $4, $3) | 0; + HEAP32[$SSK >> 2] = ($call9 << 24 >> 24) + -48; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 1; + if ($State | 0) HEAP8[$State >> 0] = 1; + if ($call8 ? (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseNameEPNS5_9NameStateE(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0, $State) | 0) == 0 : 0) $retval$1 = 0; else { + HEAP8[$ref$tmp >> 0] = 0; + $retval$1 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_12CtorDtorNameEJRPNS0_4NodeEbRiEEES9_DpOT0_($this, $SoFar, $ref$tmp, $SSK) | 0; } - $$3 = $$1; + $retval$3 = $retval$1; } while (0); STACKTOP = sp; - return $$3 | 0; + return $retval$3 | 0; } -function _decode_mcu_DC_refine_64($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0$lcssa = 0, $$017$i = 0, $$037$lcssa = 0, $$03744 = 0, $$03943 = 0, $$040 = 0, $$045 = 0, $$1 = 0, $$138 = 0, $$in = 0, $11 = 0, $15 = 0, $16 = 0, $2 = 0, $23 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $49 = 0, $5 = 0, $50 = 0, $53 = 0, $54 = 0, $65 = 0, $73 = 0, $75 = 0, $76 = 0, $8 = 0, label = 0, sp = 0; +function __ZN6vision19FindHoughSimilarityERNS_21HoughSimilarityVotingERKNSt3__26vectorINS_12FeaturePointENS2_9allocatorIS4_EEEES9_RKNS3_INS_7match_tENS5_ISA_EEEEiiii($hough, $p1, $p2, $matches, $insWidth, $insHeigth, $refWidth, $refHeight) { + $hough = $hough | 0; + $p1 = $p1 | 0; + $p2 = $p2 | 0; + $matches = $matches | 0; + $insWidth = $insWidth | 0; + $insHeigth = $insHeigth | 0; + $refWidth = $refWidth | 0; + $refHeight = $refHeight | 0; + var $$cast = 0, $16 = 0, $17 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $__end_$i = 0, $add = 0.0, $add42 = 0.0, $arrayidx$i60 = 0, $arrayidx$i62 = 0, $cond = 0, $conv = 0.0, $conv39 = 0.0, $i$0 = 0, $maxIndex = 0, $maxVotes = 0, $mul15 = 0, $query = 0, $ref = 0, $sub$ptr$div$i47 = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 32 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $2 = sp; - $4 = HEAP32[$0 + 468 >> 2] | 0; - $5 = $0 + 280 | 0; - if (HEAP32[$5 >> 2] | 0 ? ($8 = $4 + 44 | 0, (HEAP32[$8 >> 2] | 0) == 0) : 0) { - $11 = $4 + 16 | 0; - $15 = HEAP32[$0 + 464 >> 2] | 0; - $16 = $15 + 24 | 0; - HEAP32[$16 >> 2] = (HEAP32[$16 >> 2] | 0) + ((HEAP32[$11 >> 2] | 0) / 8 | 0); - HEAP32[$11 >> 2] = 0; - if (!(FUNCTION_TABLE_ii[HEAP32[$15 + 8 >> 2] & 127]($0) | 0)) { - $$040 = 0; - STACKTOP = sp; - return $$040 | 0; + $query = sp + 20 | 0; + $ref = sp + 8 | 0; + $maxVotes = sp + 4 | 0; + $maxIndex = sp; + $__end_$i = $matches + 4 | 0; + __ZNSt3__26vectorIfNS_9allocatorIfEEEC2Em($query, (HEAP32[$__end_$i >> 2] | 0) - (HEAP32[$matches >> 2] | 0) >> 1); + __ZNSt3__26vectorIfNS_9allocatorIfEEEC2Em($ref, (HEAP32[$__end_$i >> 2] | 0) - (HEAP32[$matches >> 2] | 0) >> 1); + $5 = HEAP32[$matches >> 2] | 0; + $sub$ptr$div$i47 = (HEAP32[$__end_$i >> 2] | 0) - $5 >> 3; + $$cast = $5; + $6 = HEAP32[$p1 >> 2] | 0; + $7 = HEAP32[$p2 >> 2] | 0; + $8 = HEAP32[$query >> 2] | 0; + $9 = HEAP32[$ref >> 2] | 0; + $i$0 = 0; + while (1) { + if (($i$0 | 0) == ($sub$ptr$div$i47 | 0)) break; + $16 = HEAP32[$$cast + ($i$0 << 3) >> 2] | 0; + $17 = HEAP32[$$cast + ($i$0 << 3) + 4 >> 2] | 0; + $mul15 = $i$0 << 2; + $arrayidx$i62 = $8 + ($mul15 << 2) | 0; + HEAP32[$arrayidx$i62 >> 2] = HEAP32[$6 + ($16 * 20 | 0) >> 2]; + HEAP32[$arrayidx$i62 + 4 >> 2] = HEAP32[$6 + ($16 * 20 | 0) + 4 >> 2]; + HEAP32[$arrayidx$i62 + 8 >> 2] = HEAP32[$6 + ($16 * 20 | 0) + 8 >> 2]; + HEAP32[$arrayidx$i62 + 12 >> 2] = HEAP32[$6 + ($16 * 20 | 0) + 12 >> 2]; + $arrayidx$i60 = $9 + ($mul15 << 2) | 0; + HEAP32[$arrayidx$i60 >> 2] = HEAP32[$7 + ($17 * 20 | 0) >> 2]; + HEAP32[$arrayidx$i60 + 4 >> 2] = HEAP32[$7 + ($17 * 20 | 0) + 4 >> 2]; + HEAP32[$arrayidx$i60 + 8 >> 2] = HEAP32[$7 + ($17 * 20 | 0) + 8 >> 2]; + HEAP32[$arrayidx$i60 + 12 >> 2] = HEAP32[$7 + ($17 * 20 | 0) + 12 >> 2]; + $i$0 = $i$0 + 1 | 0; + } + $conv = +($insWidth | 0); + $add = $conv * .20000000298023224 + $conv; + $conv39 = +($insHeigth | 0); + $add42 = $conv39 * .20000000298023224 + $conv39; + __ZN6vision21HoughSimilarityVoting4initEffffiiii($hough, -$add, $add, -$add42, $add42, 0, 0, 12, 10); + __ZN6vision21HoughSimilarityVoting26setObjectCenterInReferenceEff($hough, +($refWidth >> 1 | 0), +($refHeight >> 1 | 0)); + __ZN6vision21HoughSimilarityVoting21setRefImageDimensionsEii($hough, $refWidth, $refHeight); + __ZN6vision21HoughSimilarityVoting4voteEPKfS2_i($hough, HEAP32[$query >> 2] | 0, HEAP32[$ref >> 2] | 0, (HEAP32[$__end_$i >> 2] | 0) - (HEAP32[$matches >> 2] | 0) >> 3); + __ZNK6vision21HoughSimilarityVoting23getMaximumNumberOfVotesERfRi($hough, $maxVotes, $maxIndex); + $cond = +HEAPF32[$maxVotes >> 2] < 3.0 ? -1 : HEAP32[$maxIndex >> 2] | 0; + __ZNSt3__213__vector_baseIfNS_9allocatorIfEEED2Ev($ref); + __ZNSt3__213__vector_baseIfNS_9allocatorIfEEED2Ev($query); + STACKTOP = sp; + return $cond | 0; +} + +function __ZNK12_GLOBAL__N_116itanium_demangle7NewExpr9printLeftERNS_12OutputStreamE($this, $S) { + $this = $this | 0; + $S = $S | 0; + var $ExprList = 0, $InitList = 0, $agg$tmp = 0, $agg$tmp12 = 0, $agg$tmp15 = 0, $agg$tmp2 = 0, $agg$tmp20 = 0, $agg$tmp23 = 0, $agg$tmp23$byval_copy = 0, $agg$tmp6 = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 64 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(64); + $agg$tmp23$byval_copy = sp + 56 | 0; + $agg$tmp = sp + 48 | 0; + $agg$tmp2 = sp + 40 | 0; + $agg$tmp6 = sp + 32 | 0; + $agg$tmp12 = sp + 24 | 0; + $agg$tmp15 = sp + 16 | 0; + $agg$tmp20 = sp + 8 | 0; + $agg$tmp23 = sp; + if (HEAP8[$this + 28 >> 0] | 0) { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, 54130); + HEAP32[$agg$tmp23$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp23$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp23$byval_copy); + } + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp2, 54142); + HEAP32[$agg$tmp23$byval_copy >> 2] = HEAP32[$agg$tmp2 >> 2]; + HEAP32[$agg$tmp23$byval_copy + 4 >> 2] = HEAP32[$agg$tmp2 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp23$byval_copy); + if (HEAP8[$this + 29 >> 0] | 0) { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp6, 54146); + HEAP32[$agg$tmp23$byval_copy >> 2] = HEAP32[$agg$tmp6 >> 2]; + HEAP32[$agg$tmp23$byval_copy + 4 >> 2] = HEAP32[$agg$tmp6 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp23$byval_copy); + } + __ZN12_GLOBAL__N_112OutputStreampLEc($S, 32); + $ExprList = $this + 8 | 0; + if (!(__ZNK12_GLOBAL__N_116itanium_demangle9NodeArray5emptyEv($ExprList) | 0)) { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp12, 52810); + HEAP32[$agg$tmp23$byval_copy >> 2] = HEAP32[$agg$tmp12 >> 2]; + HEAP32[$agg$tmp23$byval_copy + 4 >> 2] = HEAP32[$agg$tmp12 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp23$byval_copy); + __ZNK12_GLOBAL__N_116itanium_demangle9NodeArray14printWithCommaERNS_12OutputStreamE($ExprList, $S); + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp15, 52806); + HEAP32[$agg$tmp23$byval_copy >> 2] = HEAP32[$agg$tmp15 >> 2]; + HEAP32[$agg$tmp23$byval_copy + 4 >> 2] = HEAP32[$agg$tmp15 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp23$byval_copy); + } + __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(HEAP32[$this + 16 >> 2] | 0, $S); + $InitList = $this + 20 | 0; + if (!(__ZNK12_GLOBAL__N_116itanium_demangle9NodeArray5emptyEv($InitList) | 0)) { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp20, 52810); + HEAP32[$agg$tmp23$byval_copy >> 2] = HEAP32[$agg$tmp20 >> 2]; + HEAP32[$agg$tmp23$byval_copy + 4 >> 2] = HEAP32[$agg$tmp20 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp23$byval_copy); + __ZNK12_GLOBAL__N_116itanium_demangle9NodeArray14printWithCommaERNS_12OutputStreamE($InitList, $S); + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp23, 52806); + HEAP32[$agg$tmp23$byval_copy >> 2] = HEAP32[$agg$tmp23 >> 2]; + HEAP32[$agg$tmp23$byval_copy + 4 >> 2] = HEAP32[$agg$tmp23 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp23$byval_copy); + } + STACKTOP = sp; + return; +} + +function __ZNK12_GLOBAL__N_116itanium_demangle10BinaryExpr9printLeftERNS_12OutputStreamE($this, $S) { + $this = $this | 0; + $S = $S | 0; + var $1 = 0, $6 = 0, $7 = 0, $InfixOperator = 0, $agg$tmp = 0, $agg$tmp10 = 0, $agg$tmp12 = 0, $agg$tmp18 = 0, $agg$tmp18$byval_copy = 0, $agg$tmp3 = 0, $agg$tmp5 = 0, $agg$tmp7 = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 64 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(64); + $agg$tmp18$byval_copy = sp + 56 | 0; + $agg$tmp = sp + 48 | 0; + $agg$tmp3 = sp + 40 | 0; + $agg$tmp5 = sp + 32 | 0; + $agg$tmp7 = sp; + $agg$tmp10 = sp + 24 | 0; + $agg$tmp12 = sp + 16 | 0; + $agg$tmp18 = sp + 8 | 0; + $InfixOperator = $this + 12 | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp18$byval_copy, 52885); + if (__ZN12_GLOBAL__N_1eqERKNS_10StringViewES2_($InfixOperator, $agg$tmp18$byval_copy) | 0) { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, 52810); + HEAP32[$agg$tmp18$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp18$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp18$byval_copy); + } + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp3, 52810); + HEAP32[$agg$tmp18$byval_copy >> 2] = HEAP32[$agg$tmp3 >> 2]; + HEAP32[$agg$tmp18$byval_copy + 4 >> 2] = HEAP32[$agg$tmp3 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp18$byval_copy); + __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(HEAP32[$this + 8 >> 2] | 0, $S); + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp5, 55553); + HEAP32[$agg$tmp18$byval_copy >> 2] = HEAP32[$agg$tmp5 >> 2]; + HEAP32[$agg$tmp18$byval_copy + 4 >> 2] = HEAP32[$agg$tmp5 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp18$byval_copy); + $1 = $InfixOperator; + $6 = HEAP32[$1 + 4 >> 2] | 0; + $7 = $agg$tmp7; + HEAP32[$7 >> 2] = HEAP32[$1 >> 2]; + HEAP32[$7 + 4 >> 2] = $6; + HEAP32[$agg$tmp18$byval_copy >> 2] = HEAP32[$agg$tmp7 >> 2]; + HEAP32[$agg$tmp18$byval_copy + 4 >> 2] = HEAP32[$agg$tmp7 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp18$byval_copy); + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp10, 55556); + HEAP32[$agg$tmp18$byval_copy >> 2] = HEAP32[$agg$tmp10 >> 2]; + HEAP32[$agg$tmp18$byval_copy + 4 >> 2] = HEAP32[$agg$tmp10 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp18$byval_copy); + __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(HEAP32[$this + 20 >> 2] | 0, $S); + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp12, 52806); + HEAP32[$agg$tmp18$byval_copy >> 2] = HEAP32[$agg$tmp12 >> 2]; + HEAP32[$agg$tmp18$byval_copy + 4 >> 2] = HEAP32[$agg$tmp12 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp18$byval_copy); + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp18$byval_copy, 52885); + if (__ZN12_GLOBAL__N_1eqERKNS_10StringViewES2_($InfixOperator, $agg$tmp18$byval_copy) | 0) { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp18, 52806); + HEAP32[$agg$tmp18$byval_copy >> 2] = HEAP32[$agg$tmp18 >> 2]; + HEAP32[$agg$tmp18$byval_copy + 4 >> 2] = HEAP32[$agg$tmp18 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp18$byval_copy); + } + STACKTOP = sp; + return; +} + +function __ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_6vectorIN6vision7Point3dIfEENS_9allocatorIS5_EEEEEENS_22__unordered_map_hasherIiS9_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS9_NS_8equal_toIiEELb1EEENS6_IS9_EEE8__rehashEm($this, $__nbc) { + $this = $this | 0; + $__nbc = $__nbc | 0; + var $0 = 0, $18 = 0, $2 = 0, $4 = 0, $6 = 0, $9 = 0, $__cp$0 = 0, $__i$0 = 0, $__np$0 = 0, $__phash$0$ph$ph = 0, $__pp$0$ph = 0, $__pp$0$ph$ph = 0, $__value_ = 0, $__value_$i$i = 0, $__value_$i$i$i = 0, $arrayidx$i62 = 0, $call$i$i$i = 0, $cond6$i = 0, $cond6$i76 = 0, $exception$i$i$i = 0, $sub$i67 = 0, $tobool$i69 = 0; + $__value_$i$i$i = $this + 4 | 0; + L1 : do if ($__nbc) { + if ($__nbc >>> 0 > 1073741823) { + $exception$i$i$i = ___cxa_allocate_exception(8) | 0; + __ZNSt11logic_errorC2EPKc($exception$i$i$i, 42283); + HEAP32[$exception$i$i$i >> 2] = 17472; + ___cxa_throw($exception$i$i$i | 0, 13960, 22); } - $23 = $0 + 340 | 0; - if ((HEAP32[$23 >> 2] | 0) > 0) { - $$017$i = 0; - do { - HEAP32[$4 + 24 + ($$017$i << 2) >> 2] = 0; - $$017$i = $$017$i + 1 | 0; - } while (($$017$i | 0) < (HEAP32[$23 >> 2] | 0)); - } - HEAP32[$4 + 20 >> 2] = 0; - HEAP32[$8 >> 2] = HEAP32[$5 >> 2]; - if (!(HEAP32[$0 + 440 >> 2] | 0)) HEAP32[$4 + 40 >> 2] = 0; - } - HEAP32[$2 + 16 >> 2] = $0; - $37 = $0 + 24 | 0; - $38 = HEAP32[$37 >> 2] | 0; - $39 = HEAP32[$38 >> 2] | 0; - HEAP32[$2 >> 2] = $39; - $41 = HEAP32[$38 + 4 >> 2] | 0; - $42 = $2 + 4 | 0; - HEAP32[$42 >> 2] = $41; - $43 = $4 + 12 | 0; - $44 = HEAP32[$43 >> 2] | 0; - $45 = $4 + 16 | 0; - $46 = HEAP32[$45 >> 2] | 0; - $49 = 1 << HEAP32[$0 + 424 >> 2]; - $50 = $0 + 368 | 0; - do if ((HEAP32[$50 >> 2] | 0) > 0) { - $53 = $2 + 8 | 0; - $54 = $2 + 12 | 0; - $$03744 = $44; - $$03943 = 0; - $$045 = $46; + $call$i$i$i = __Znwm($__nbc << 2) | 0; + $0 = HEAP32[$this >> 2] | 0; + HEAP32[$this >> 2] = $call$i$i$i; + if ($0 | 0) __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($0, HEAP32[$this + 4 >> 2] << 2); + HEAP32[$__value_$i$i$i >> 2] = $__nbc; + $__i$0 = 0; while (1) { - if (($$045 | 0) < 1) { - if (!(_jpeg_fill_bit_buffer($2, $$03744, $$045, 1) | 0)) { - $$040 = 0; - label = 19; - break; + if (($__i$0 | 0) == ($__nbc | 0)) break; + HEAP32[(HEAP32[$this >> 2] | 0) + ($__i$0 << 2) >> 2] = 0; + $__i$0 = $__i$0 + 1 | 0; + } + $__value_$i$i = $this + 8 | 0; + $2 = HEAP32[$__value_$i$i >> 2] | 0; + if ($2 | 0) { + $4 = HEAP32[$2 + 4 >> 2] | 0; + $sub$i67 = $__nbc + -1 | 0; + $tobool$i69 = ($sub$i67 & $__nbc | 0) == 0; + if (!$tobool$i69) if ($4 >>> 0 < $__nbc >>> 0) $cond6$i76 = $4; else $cond6$i76 = ($4 >>> 0) % ($__nbc >>> 0) | 0; else $cond6$i76 = $4 & $sub$i67; + HEAP32[(HEAP32[$this >> 2] | 0) + ($cond6$i76 << 2) >> 2] = $__value_$i$i; + $__phash$0$ph$ph = $cond6$i76; + $__pp$0$ph$ph = $2; + while (1) { + $__pp$0$ph = $__pp$0$ph$ph; + L25 : while (1) { + while (1) { + $__cp$0 = HEAP32[$__pp$0$ph >> 2] | 0; + if (!$__cp$0) break L1; + $6 = HEAP32[$__cp$0 + 4 >> 2] | 0; + if (!$tobool$i69) if ($6 >>> 0 < $__nbc >>> 0) $cond6$i = $6; else $cond6$i = ($6 >>> 0) % ($__nbc >>> 0) | 0; else $cond6$i = $6 & $sub$i67; + if (($cond6$i | 0) == ($__phash$0$ph$ph | 0)) break; + $arrayidx$i62 = (HEAP32[$this >> 2] | 0) + ($cond6$i << 2) | 0; + if (!(HEAP32[$arrayidx$i62 >> 2] | 0)) break L25; + $__value_ = $__cp$0 + 8 | 0; + $__np$0 = $__cp$0; + while (1) { + $9 = HEAP32[$__np$0 >> 2] | 0; + if (!$9) break; + if ((HEAP32[$__value_ >> 2] | 0) == (HEAP32[$9 + 8 >> 2] | 0)) $__np$0 = $9; else break; + } + HEAP32[$__pp$0$ph >> 2] = $9; + HEAP32[$__np$0 >> 2] = HEAP32[HEAP32[(HEAP32[$this >> 2] | 0) + ($cond6$i << 2) >> 2] >> 2]; + HEAP32[HEAP32[(HEAP32[$this >> 2] | 0) + ($cond6$i << 2) >> 2] >> 2] = $__cp$0; + } + $__pp$0$ph = $__cp$0; } - $$1 = HEAP32[$54 >> 2] | 0; - $$138 = HEAP32[$53 >> 2] | 0; - } else { - $$1 = $$045; - $$138 = $$03744; + HEAP32[$arrayidx$i62 >> 2] = $__pp$0$ph; + $__phash$0$ph$ph = $cond6$i; + $__pp$0$ph$ph = $__cp$0; + } + } + } else { + $18 = HEAP32[$this >> 2] | 0; + HEAP32[$this >> 2] = 0; + if ($18 | 0) __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($18, HEAP32[$this + 4 >> 2] << 2); + HEAP32[$__value_$i$i$i >> 2] = 0; + } while (0); + return; +} + +function __ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_10shared_ptrIN6vision8KeyframeILi96EEEEEEENS_22__unordered_map_hasherIiS7_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS7_NS_8equal_toIiEELb1EEENS_9allocatorIS7_EEE8__rehashEm($this, $__nbc) { + $this = $this | 0; + $__nbc = $__nbc | 0; + var $0 = 0, $18 = 0, $2 = 0, $4 = 0, $6 = 0, $9 = 0, $__cp$0 = 0, $__i$0 = 0, $__np$0 = 0, $__phash$0$ph$ph = 0, $__pp$0$ph = 0, $__pp$0$ph$ph = 0, $__value_ = 0, $__value_$i$i = 0, $__value_$i$i$i = 0, $arrayidx$i62 = 0, $call$i$i$i = 0, $cond6$i = 0, $cond6$i76 = 0, $exception$i$i$i = 0, $sub$i67 = 0, $tobool$i69 = 0; + $__value_$i$i$i = $this + 4 | 0; + L1 : do if ($__nbc) { + if ($__nbc >>> 0 > 1073741823) { + $exception$i$i$i = ___cxa_allocate_exception(8) | 0; + __ZNSt11logic_errorC2EPKc($exception$i$i$i, 42283); + HEAP32[$exception$i$i$i >> 2] = 17472; + ___cxa_throw($exception$i$i$i | 0, 13960, 22); + } + $call$i$i$i = __Znwm($__nbc << 2) | 0; + $0 = HEAP32[$this >> 2] | 0; + HEAP32[$this >> 2] = $call$i$i$i; + if ($0 | 0) __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($0, HEAP32[$this + 4 >> 2] << 2); + HEAP32[$__value_$i$i$i >> 2] = $__nbc; + $__i$0 = 0; + while (1) { + if (($__i$0 | 0) == ($__nbc | 0)) break; + HEAP32[(HEAP32[$this >> 2] | 0) + ($__i$0 << 2) >> 2] = 0; + $__i$0 = $__i$0 + 1 | 0; + } + $__value_$i$i = $this + 8 | 0; + $2 = HEAP32[$__value_$i$i >> 2] | 0; + if ($2 | 0) { + $4 = HEAP32[$2 + 4 >> 2] | 0; + $sub$i67 = $__nbc + -1 | 0; + $tobool$i69 = ($sub$i67 & $__nbc | 0) == 0; + if (!$tobool$i69) if ($4 >>> 0 < $__nbc >>> 0) $cond6$i76 = $4; else $cond6$i76 = ($4 >>> 0) % ($__nbc >>> 0) | 0; else $cond6$i76 = $4 & $sub$i67; + HEAP32[(HEAP32[$this >> 2] | 0) + ($cond6$i76 << 2) >> 2] = $__value_$i$i; + $__phash$0$ph$ph = $cond6$i76; + $__pp$0$ph$ph = $2; + while (1) { + $__pp$0$ph = $__pp$0$ph$ph; + L25 : while (1) { + while (1) { + $__cp$0 = HEAP32[$__pp$0$ph >> 2] | 0; + if (!$__cp$0) break L1; + $6 = HEAP32[$__cp$0 + 4 >> 2] | 0; + if (!$tobool$i69) if ($6 >>> 0 < $__nbc >>> 0) $cond6$i = $6; else $cond6$i = ($6 >>> 0) % ($__nbc >>> 0) | 0; else $cond6$i = $6 & $sub$i67; + if (($cond6$i | 0) == ($__phash$0$ph$ph | 0)) break; + $arrayidx$i62 = (HEAP32[$this >> 2] | 0) + ($cond6$i << 2) | 0; + if (!(HEAP32[$arrayidx$i62 >> 2] | 0)) break L25; + $__value_ = $__cp$0 + 8 | 0; + $__np$0 = $__cp$0; + while (1) { + $9 = HEAP32[$__np$0 >> 2] | 0; + if (!$9) break; + if ((HEAP32[$__value_ >> 2] | 0) == (HEAP32[$9 + 8 >> 2] | 0)) $__np$0 = $9; else break; + } + HEAP32[$__pp$0$ph >> 2] = $9; + HEAP32[$__np$0 >> 2] = HEAP32[HEAP32[(HEAP32[$this >> 2] | 0) + ($cond6$i << 2) >> 2] >> 2]; + HEAP32[HEAP32[(HEAP32[$this >> 2] | 0) + ($cond6$i << 2) >> 2] >> 2] = $__cp$0; + } + $__pp$0$ph = $__cp$0; + } + HEAP32[$arrayidx$i62 >> 2] = $__pp$0$ph; + $__phash$0$ph$ph = $cond6$i; + $__pp$0$ph$ph = $__cp$0; } - $$045 = $$1 + -1 | 0; - if (1 << $$045 & $$138 | 0) { - $65 = HEAP32[$1 + ($$03943 << 2) >> 2] | 0; - HEAP16[$65 >> 1] = $49 | (HEAPU16[$65 >> 1] | 0); + } + } else { + $18 = HEAP32[$this >> 2] | 0; + HEAP32[$this >> 2] = 0; + if ($18 | 0) __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($18, HEAP32[$this + 4 >> 2] << 2); + HEAP32[$__value_$i$i$i >> 2] = 0; + } while (0); + return; +} + +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E23parseBaseUnresolvedNameEv($this) { + $this = $this | 0; + var $TA = 0, $agg$tmp = 0, $agg$tmp10 = 0, $agg$tmp10$byval_copy = 0, $call12 = 0, $call13 = 0, $call21 = 0, $retval$0 = 0, $retval$1 = 0, $retval$2 = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 32 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); + $agg$tmp10$byval_copy = sp + 24 | 0; + $agg$tmp = sp + 16 | 0; + $agg$tmp10 = sp + 8 | 0; + $TA = sp; + do if ((((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($this, 0) | 0) << 24 >> 24) + -48 | 0) >>> 0 < 10) $retval$2 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E13parseSimpleIdEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0) | 0; else { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, 54599); + HEAP32[$agg$tmp10$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp10$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($this, $agg$tmp10$byval_copy) | 0) { + $retval$2 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E19parseDestructorNameEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0) | 0; + break; + } + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp10, 54602); + HEAP32[$agg$tmp10$byval_copy >> 2] = HEAP32[$agg$tmp10 >> 2]; + HEAP32[$agg$tmp10$byval_copy + 4 >> 2] = HEAP32[$agg$tmp10 + 4 >> 2]; + __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($this, $agg$tmp10$byval_copy) | 0; + $call12 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0; + $call13 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E17parseOperatorNameEPNS5_9NameStateE($call12, 0) | 0; + HEAP32[$agg$tmp10$byval_copy >> 2] = $call13; + if ($call13) if ((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($this, 0) | 0) << 24 >> 24 == 73) { + $call21 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E17parseTemplateArgsEb($call12, 0) | 0; + HEAP32[$TA >> 2] = $call21; + if (!$call21) $retval$0 = 0; else $retval$0 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_20NameWithTemplateArgsEJRPNS0_4NodeESA_EEES9_DpOT0_($this, $agg$tmp10$byval_copy, $TA) | 0; + $retval$1 = $retval$0; + } else $retval$1 = $call13; else $retval$1 = 0; + $retval$2 = $retval$1; + } while (0); + STACKTOP = sp; + return $retval$2 | 0; +} + +function __ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_6vectorIiNS_9allocatorIiEEEEEENS_22__unordered_map_hasherIiS6_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS6_NS_8equal_toIiEELb1EEENS3_IS6_EEE8__rehashEm($this, $__nbc) { + $this = $this | 0; + $__nbc = $__nbc | 0; + var $0 = 0, $18 = 0, $2 = 0, $4 = 0, $6 = 0, $9 = 0, $__cp$0 = 0, $__i$0 = 0, $__np$0 = 0, $__phash$0$ph$ph = 0, $__pp$0$ph = 0, $__pp$0$ph$ph = 0, $__value_ = 0, $__value_$i$i = 0, $__value_$i$i$i = 0, $arrayidx$i62 = 0, $call$i$i$i = 0, $cond6$i = 0, $cond6$i76 = 0, $exception$i$i$i = 0, $sub$i67 = 0, $tobool$i69 = 0; + $__value_$i$i$i = $this + 4 | 0; + L1 : do if ($__nbc) { + if ($__nbc >>> 0 > 1073741823) { + $exception$i$i$i = ___cxa_allocate_exception(8) | 0; + __ZNSt11logic_errorC2EPKc($exception$i$i$i, 42283); + HEAP32[$exception$i$i$i >> 2] = 17472; + ___cxa_throw($exception$i$i$i | 0, 13960, 22); + } + $call$i$i$i = __Znwm($__nbc << 2) | 0; + $0 = HEAP32[$this >> 2] | 0; + HEAP32[$this >> 2] = $call$i$i$i; + if ($0 | 0) __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($0, HEAP32[$this + 4 >> 2] << 2); + HEAP32[$__value_$i$i$i >> 2] = $__nbc; + $__i$0 = 0; + while (1) { + if (($__i$0 | 0) == ($__nbc | 0)) break; + HEAP32[(HEAP32[$this >> 2] | 0) + ($__i$0 << 2) >> 2] = 0; + $__i$0 = $__i$0 + 1 | 0; + } + $__value_$i$i = $this + 8 | 0; + $2 = HEAP32[$__value_$i$i >> 2] | 0; + if ($2 | 0) { + $4 = HEAP32[$2 + 4 >> 2] | 0; + $sub$i67 = $__nbc + -1 | 0; + $tobool$i69 = ($sub$i67 & $__nbc | 0) == 0; + if (!$tobool$i69) if ($4 >>> 0 < $__nbc >>> 0) $cond6$i76 = $4; else $cond6$i76 = ($4 >>> 0) % ($__nbc >>> 0) | 0; else $cond6$i76 = $4 & $sub$i67; + HEAP32[(HEAP32[$this >> 2] | 0) + ($cond6$i76 << 2) >> 2] = $__value_$i$i; + $__phash$0$ph$ph = $cond6$i76; + $__pp$0$ph$ph = $2; + while (1) { + $__pp$0$ph = $__pp$0$ph$ph; + L25 : while (1) { + while (1) { + $__cp$0 = HEAP32[$__pp$0$ph >> 2] | 0; + if (!$__cp$0) break L1; + $6 = HEAP32[$__cp$0 + 4 >> 2] | 0; + if (!$tobool$i69) if ($6 >>> 0 < $__nbc >>> 0) $cond6$i = $6; else $cond6$i = ($6 >>> 0) % ($__nbc >>> 0) | 0; else $cond6$i = $6 & $sub$i67; + if (($cond6$i | 0) == ($__phash$0$ph$ph | 0)) break; + $arrayidx$i62 = (HEAP32[$this >> 2] | 0) + ($cond6$i << 2) | 0; + if (!(HEAP32[$arrayidx$i62 >> 2] | 0)) break L25; + $__value_ = $__cp$0 + 8 | 0; + $__np$0 = $__cp$0; + while (1) { + $9 = HEAP32[$__np$0 >> 2] | 0; + if (!$9) break; + if ((HEAP32[$__value_ >> 2] | 0) == (HEAP32[$9 + 8 >> 2] | 0)) $__np$0 = $9; else break; + } + HEAP32[$__pp$0$ph >> 2] = $9; + HEAP32[$__np$0 >> 2] = HEAP32[HEAP32[(HEAP32[$this >> 2] | 0) + ($cond6$i << 2) >> 2] >> 2]; + HEAP32[HEAP32[(HEAP32[$this >> 2] | 0) + ($cond6$i << 2) >> 2] >> 2] = $__cp$0; + } + $__pp$0$ph = $__cp$0; + } + HEAP32[$arrayidx$i62 >> 2] = $__pp$0$ph; + $__phash$0$ph$ph = $cond6$i; + $__pp$0$ph$ph = $__cp$0; } - $$03943 = $$03943 + 1 | 0; - if (($$03943 | 0) >= (HEAP32[$50 >> 2] | 0)) { - label = 17; - break; - } else $$03744 = $$138; } - if ((label | 0) == 17) { - $$0$lcssa = $$045; - $$037$lcssa = $$138; - $$in = HEAP32[$37 >> 2] | 0; - $73 = HEAP32[$2 >> 2] | 0; - $75 = HEAP32[$42 >> 2] | 0; + } else { + $18 = HEAP32[$this >> 2] | 0; + HEAP32[$this >> 2] = 0; + if ($18 | 0) __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($18, HEAP32[$this + 4 >> 2] << 2); + HEAP32[$__value_$i$i$i >> 2] = 0; + } while (0); + return; +} + +function __ZNK12_GLOBAL__N_116itanium_demangle14IntegerLiteral9printLeftERNS_12OutputStreamE($this, $S) { + $this = $this | 0; + $S = $S | 0; + var $0 = 0, $11 = 0, $16 = 0, $17 = 0, $21 = 0, $26 = 0, $27 = 0, $5 = 0, $6 = 0, $Type = 0, $Value = 0, $agg$tmp = 0, $agg$tmp11 = 0, $agg$tmp13 = 0, $agg$tmp16 = 0, $agg$tmp24 = 0, $agg$tmp3 = 0, $agg$tmp6 = 0, $call8 = 0, $tmpcast7$byval_copy = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 64 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(64); + $tmpcast7$byval_copy = sp + 56 | 0; + $agg$tmp = sp + 48 | 0; + $agg$tmp3 = sp + 16 | 0; + $agg$tmp6 = sp + 40 | 0; + $agg$tmp11 = sp + 32 | 0; + $agg$tmp13 = sp + 24 | 0; + $agg$tmp16 = sp + 8 | 0; + $agg$tmp24 = sp; + $Type = $this + 8 | 0; + if ((__ZNK12_GLOBAL__N_110StringView4sizeEv($Type) | 0) >>> 0 > 3) { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, 52810); + HEAP32[$tmpcast7$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$tmpcast7$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $tmpcast7$byval_copy); + $0 = $Type; + $5 = HEAP32[$0 + 4 >> 2] | 0; + $6 = $agg$tmp3; + HEAP32[$6 >> 2] = HEAP32[$0 >> 2]; + HEAP32[$6 + 4 >> 2] = $5; + HEAP32[$tmpcast7$byval_copy >> 2] = HEAP32[$agg$tmp3 >> 2]; + HEAP32[$tmpcast7$byval_copy + 4 >> 2] = HEAP32[$agg$tmp3 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $tmpcast7$byval_copy); + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp6, 52806); + HEAP32[$tmpcast7$byval_copy >> 2] = HEAP32[$agg$tmp6 >> 2]; + HEAP32[$tmpcast7$byval_copy + 4 >> 2] = HEAP32[$agg$tmp6 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $tmpcast7$byval_copy); + } + $Value = $this + 16 | 0; + $call8 = __ZNK12_GLOBAL__N_110StringViewixEm($Value) | 0; + if ((HEAP8[$call8 >> 0] | 0) == 110) { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp11, 53397); + HEAP32[$tmpcast7$byval_copy >> 2] = HEAP32[$agg$tmp11 >> 2]; + HEAP32[$tmpcast7$byval_copy + 4 >> 2] = HEAP32[$agg$tmp11 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $tmpcast7$byval_copy); + __ZNK12_GLOBAL__N_110StringView9dropFrontEm($agg$tmp13, $Value, 1); + HEAP32[$tmpcast7$byval_copy >> 2] = HEAP32[$agg$tmp13 >> 2]; + HEAP32[$tmpcast7$byval_copy + 4 >> 2] = HEAP32[$agg$tmp13 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $tmpcast7$byval_copy); + } else { + $11 = $Value; + $16 = HEAP32[$11 + 4 >> 2] | 0; + $17 = $agg$tmp16; + HEAP32[$17 >> 2] = HEAP32[$11 >> 2]; + HEAP32[$17 + 4 >> 2] = $16; + HEAP32[$tmpcast7$byval_copy >> 2] = HEAP32[$agg$tmp16 >> 2]; + HEAP32[$tmpcast7$byval_copy + 4 >> 2] = HEAP32[$agg$tmp16 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $tmpcast7$byval_copy); + } + if ((__ZNK12_GLOBAL__N_110StringView4sizeEv($Type) | 0) >>> 0 < 4) { + $21 = $Type; + $26 = HEAP32[$21 + 4 >> 2] | 0; + $27 = $agg$tmp24; + HEAP32[$27 >> 2] = HEAP32[$21 >> 2]; + HEAP32[$27 + 4 >> 2] = $26; + HEAP32[$tmpcast7$byval_copy >> 2] = HEAP32[$agg$tmp24 >> 2]; + HEAP32[$tmpcast7$byval_copy + 4 >> 2] = HEAP32[$agg$tmp24 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $tmpcast7$byval_copy); + } + STACKTOP = sp; + return; +} + +function __ZN6vision18BinomialPyramid32f12apply_filterERNS_5ImageERKS1_($this, $dst, $src) { + $this = $this | 0; + $dst = $dst | 0; + $src = $src | 0; + var $1 = 0, $2 = 0, $call$i1$i$i = 0, $call$i2$i$i = 0, $call10 = 0, $call12 = 0, $call16 = 0, $call18 = 0, $call7 = 0, $exception = 0, $exception25 = 0, $ref$tmp$i$i = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $ref$tmp$i$i = sp; + if ((__ZNK6vision5Image4typeEv($dst) | 0) != 2) { + $call7 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 31901) | 0, 31305) | 0, 39794) | 0, 357) | 0, 39801) | 0, 31948) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i$i, $call7 + (HEAP32[(HEAP32[$call7 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i$i = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i$i, 67360) | 0; + $call$i2$i$i = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i$i >> 2] | 0) + 28 >> 2] & 127]($call$i1$i$i, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i$i); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call7, $call$i2$i$i) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call7) | 0; + _abort(); + } + switch (__ZNK6vision5Image4typeEv($src) | 0) { + case 1: + { + $call10 = __ZN6vision5Image3getEv($dst) | 0; + $1 = HEAP32[$this + 32 >> 2] | 0; + $call12 = __ZNK6vision5Image3getEv($src) | 0; + __ZN6vision18binomial_4th_orderEPfPtPKhmm($call10, $1, $call12, __ZNK6vision5Image5widthEv($src) | 0, __ZNK6vision5Image6heightEv($src) | 0); + break; + } + case 2: + { + $call16 = __ZN6vision5Image3getEv($dst) | 0; + $2 = HEAP32[$this + 44 >> 2] | 0; + $call18 = __ZNK6vision5Image3getEv($src) | 0; + __ZN6vision18binomial_4th_orderEPfS0_PKfmm($call16, $2, $call18, __ZNK6vision5Image5widthEv($src) | 0, __ZNK6vision5Image6heightEv($src) | 0); + break; + } + case 0: + { + $exception = ___cxa_allocate_exception(16) | 0; + HEAP32[$ref$tmp$i$i >> 2] = 0; + HEAP32[$ref$tmp$i$i + 4 >> 2] = 0; + HEAP32[$ref$tmp$i$i + 8 >> 2] = 0; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm($ref$tmp$i$i, 31984, __ZNSt3__211char_traitsIcE6lengthEPKc(31984) | 0); + __ZN6vision9ExceptionC2ERKNSt3__212basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE($exception, $ref$tmp$i$i); + ___cxa_throw($exception | 0, 13208, 5); break; - } else if ((label | 0) == 19) { - STACKTOP = sp; - return $$040 | 0; } - } else { - $$0$lcssa = $46; - $$037$lcssa = $44; - $$in = $38; - $73 = $39; - $75 = $41; - } while (0); - HEAP32[$$in >> 2] = $73; - HEAP32[$$in + 4 >> 2] = $75; - HEAP32[$43 >> 2] = $$037$lcssa; - HEAP32[$45 >> 2] = $$0$lcssa; - $76 = $4 + 44 | 0; - HEAP32[$76 >> 2] = (HEAP32[$76 >> 2] | 0) + -1; - $$040 = 1; + default: + { + $exception25 = ___cxa_allocate_exception(16) | 0; + HEAP32[$ref$tmp$i$i >> 2] = 0; + HEAP32[$ref$tmp$i$i + 4 >> 2] = 0; + HEAP32[$ref$tmp$i$i + 8 >> 2] = 0; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm($ref$tmp$i$i, 32003, __ZNSt3__211char_traitsIcE6lengthEPKc(32003) | 0); + __ZN6vision9ExceptionC2ERKNSt3__212basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE($exception25, $ref$tmp$i$i); + ___cxa_throw($exception25 | 0, 13208, 5); + } + } STACKTOP = sp; - return $$040 | 0; + return; } -function __ZNSt3__29__num_getIwE19__stage2_float_loopEwRbRcPcRS4_wwRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSE_RjPw($0, $1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - $6 = $6 | 0; - $7 = $7 | 0; - $8 = $8 | 0; - $9 = $9 | 0; - $10 = $10 | 0; - $11 = $11 | 0; - var $$0$i$idx = 0, $$0$i$ptr = 0, $$0$lcssa$i = 0, $$2 = 0, $15 = 0, $18 = 0, $25 = 0, $30 = 0, $34 = 0, $43 = 0, $48 = 0, $50 = 0, $56 = 0, $60 = 0, $61 = 0, $65 = 0, $75 = 0, $84 = 0, $91 = 0, $96 = 0, $98 = 0; - L1 : do if (($0 | 0) == ($5 | 0)) if (HEAP8[$1 >> 0] | 0) { - HEAP8[$1 >> 0] = 0; - $15 = HEAP32[$4 >> 2] | 0; - HEAP32[$4 >> 2] = $15 + 1; - HEAP8[$15 >> 0] = 46; - $18 = HEAP8[$7 + 11 >> 0] | 0; - if ((($18 << 24 >> 24 < 0 ? HEAP32[$7 + 4 >> 2] | 0 : $18 & 255) | 0) != 0 ? ($25 = HEAP32[$9 >> 2] | 0, ($25 - $8 | 0) < 160) : 0) { - $30 = HEAP32[$10 >> 2] | 0; - HEAP32[$9 >> 2] = $25 + 4; - HEAP32[$25 >> 2] = $30; - $$2 = 0; - } else $$2 = 0; - } else $$2 = -1; else { - if (($0 | 0) == ($6 | 0) ? ($34 = HEAP8[$7 + 11 >> 0] | 0, ($34 << 24 >> 24 < 0 ? HEAP32[$7 + 4 >> 2] | 0 : $34 & 255) | 0) : 0) { - if (!(HEAP8[$1 >> 0] | 0)) { - $$2 = -1; - break; - } - $43 = HEAP32[$9 >> 2] | 0; - if (($43 - $8 | 0) >= 160) { - $$2 = 0; - break; - } - $48 = HEAP32[$10 >> 2] | 0; - HEAP32[$9 >> 2] = $43 + 4; - HEAP32[$43 >> 2] = $48; - HEAP32[$10 >> 2] = 0; - $$2 = 0; - break; - } - $50 = $11 + 128 | 0; - $$0$i$idx = 0; +function __ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE8__rehashEm($this, $__nbc) { + $this = $this | 0; + $__nbc = $__nbc | 0; + var $0 = 0, $18 = 0, $2 = 0, $4 = 0, $6 = 0, $9 = 0, $__cp$0 = 0, $__i$0 = 0, $__np$0 = 0, $__phash$0$ph$ph = 0, $__pp$0$ph = 0, $__pp$0$ph$ph = 0, $__value_ = 0, $__value_$i$i = 0, $__value_$i$i$i = 0, $arrayidx$i62 = 0, $call$i$i$i = 0, $cond6$i = 0, $cond6$i76 = 0, $exception$i$i$i = 0, $sub$i67 = 0, $tobool$i69 = 0; + $__value_$i$i$i = $this + 4 | 0; + L1 : do if ($__nbc) { + if ($__nbc >>> 0 > 1073741823) { + $exception$i$i$i = ___cxa_allocate_exception(8) | 0; + __ZNSt11logic_errorC2EPKc($exception$i$i$i, 42283); + HEAP32[$exception$i$i$i >> 2] = 17472; + ___cxa_throw($exception$i$i$i | 0, 13960, 22); + } + $call$i$i$i = __Znwm($__nbc << 2) | 0; + $0 = HEAP32[$this >> 2] | 0; + HEAP32[$this >> 2] = $call$i$i$i; + if ($0 | 0) __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($0, HEAP32[$this + 4 >> 2] << 2); + HEAP32[$__value_$i$i$i >> 2] = $__nbc; + $__i$0 = 0; while (1) { - $$0$i$ptr = $11 + ($$0$i$idx << 2) | 0; - if (($$0$i$idx | 0) == 32) { - $$0$lcssa$i = $50; - break; - } - if ((HEAP32[$$0$i$ptr >> 2] | 0) == ($0 | 0)) { - $$0$lcssa$i = $$0$i$ptr; - break; - } else $$0$i$idx = $$0$i$idx + 1 | 0; + if (($__i$0 | 0) == ($__nbc | 0)) break; + HEAP32[(HEAP32[$this >> 2] | 0) + ($__i$0 << 2) >> 2] = 0; + $__i$0 = $__i$0 + 1 | 0; } - $56 = $$0$lcssa$i - $11 | 0; - if (($56 | 0) <= 124) { - $60 = HEAP8[12928 + ($56 >> 2) >> 0] | 0; - $61 = $56 + -88 | 0; - switch ($61 >>> 2 | $61 << 30 | 0) { - case 2: - case 3: - { - $65 = HEAP32[$4 >> 2] | 0; - if (($65 | 0) != ($3 | 0) ? (HEAP8[$65 + -1 >> 0] & 95) != (HEAP8[$2 >> 0] & 127) : 0) { - $$2 = -1; - break L1; - } - HEAP32[$4 >> 2] = $65 + 1; - HEAP8[$65 >> 0] = $60; - $$2 = 0; - break L1; - break; - } - case 1: - case 0: - { - HEAP8[$2 >> 0] = 80; - break; - } - default: - { - $75 = $60 & 95; - if (((($75 | 0) == (HEAP8[$2 >> 0] | 0) ? (HEAP8[$2 >> 0] = $75 | 128, HEAP8[$1 >> 0] | 0) : 0) ? (HEAP8[$1 >> 0] = 0, $84 = HEAP8[$7 + 11 >> 0] | 0, ($84 << 24 >> 24 < 0 ? HEAP32[$7 + 4 >> 2] | 0 : $84 & 255) | 0) : 0) ? ($91 = HEAP32[$9 >> 2] | 0, ($91 - $8 | 0) < 160) : 0) { - $96 = HEAP32[$10 >> 2] | 0; - HEAP32[$9 >> 2] = $91 + 4; - HEAP32[$91 >> 2] = $96; + $__value_$i$i = $this + 8 | 0; + $2 = HEAP32[$__value_$i$i >> 2] | 0; + if ($2 | 0) { + $4 = HEAP32[$2 + 4 >> 2] | 0; + $sub$i67 = $__nbc + -1 | 0; + $tobool$i69 = ($sub$i67 & $__nbc | 0) == 0; + if (!$tobool$i69) if ($4 >>> 0 < $__nbc >>> 0) $cond6$i76 = $4; else $cond6$i76 = ($4 >>> 0) % ($__nbc >>> 0) | 0; else $cond6$i76 = $4 & $sub$i67; + HEAP32[(HEAP32[$this >> 2] | 0) + ($cond6$i76 << 2) >> 2] = $__value_$i$i; + $__phash$0$ph$ph = $cond6$i76; + $__pp$0$ph$ph = $2; + while (1) { + $__pp$0$ph = $__pp$0$ph$ph; + L25 : while (1) { + while (1) { + $__cp$0 = HEAP32[$__pp$0$ph >> 2] | 0; + if (!$__cp$0) break L1; + $6 = HEAP32[$__cp$0 + 4 >> 2] | 0; + if (!$tobool$i69) if ($6 >>> 0 < $__nbc >>> 0) $cond6$i = $6; else $cond6$i = ($6 >>> 0) % ($__nbc >>> 0) | 0; else $cond6$i = $6 & $sub$i67; + if (($cond6$i | 0) == ($__phash$0$ph$ph | 0)) break; + $arrayidx$i62 = (HEAP32[$this >> 2] | 0) + ($cond6$i << 2) | 0; + if (!(HEAP32[$arrayidx$i62 >> 2] | 0)) break L25; + $__value_ = $__cp$0 + 8 | 0; + $__np$0 = $__cp$0; + while (1) { + $9 = HEAP32[$__np$0 >> 2] | 0; + if (!$9) break; + if ((HEAP32[$__value_ >> 2] | 0) == (HEAP32[$9 + 8 >> 2] | 0)) $__np$0 = $9; else break; + } + HEAP32[$__pp$0$ph >> 2] = $9; + HEAP32[$__np$0 >> 2] = HEAP32[HEAP32[(HEAP32[$this >> 2] | 0) + ($cond6$i << 2) >> 2] >> 2]; + HEAP32[HEAP32[(HEAP32[$this >> 2] | 0) + ($cond6$i << 2) >> 2] >> 2] = $__cp$0; } + $__pp$0$ph = $__cp$0; } + HEAP32[$arrayidx$i62 >> 2] = $__pp$0$ph; + $__phash$0$ph$ph = $cond6$i; + $__pp$0$ph$ph = $__cp$0; } - $98 = HEAP32[$4 >> 2] | 0; - HEAP32[$4 >> 2] = $98 + 1; - HEAP8[$98 >> 0] = $60; - if (($56 | 0) > 84) $$2 = 0; else { - HEAP32[$10 >> 2] = (HEAP32[$10 >> 2] | 0) + 1; - $$2 = 0; - } - } else $$2 = -1; - } while (0); - return $$2 | 0; -} - -function _jinit_d_main_controller($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$042 = 0, $$04243$i = 0, $$04344 = 0, $$044$i = 0, $$045 = 0, $$phi$trans$insert = 0, $$pre$phiZ2D = 0, $16 = 0, $17 = 0, $19 = 0, $2 = 0, $22 = 0, $25 = 0, $28 = 0, $29 = 0, $30 = 0, $32 = 0, $36 = 0, $37 = 0, $42 = 0, $44 = 0, $47 = 0, $5 = 0, $50 = 0, $58 = 0, $6 = 0, $60 = 0, $64 = 0, $67 = 0, $73 = 0, $74 = 0, $8 = 0, $82 = 0, $83 = 0, $84 = 0, $86 = 0, $90 = 0, $91 = 0; - $2 = $0 + 4 | 0; - $5 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[$2 >> 2] >> 2] & 63]($0, 1, 80) | 0; - $6 = $0 + 448 | 0; - HEAP32[$6 >> 2] = $5; - HEAP32[$5 >> 2] = 136; - if ($1 | 0) { - $8 = HEAP32[$0 >> 2] | 0; - HEAP32[$8 + 20 >> 2] = 3; - FUNCTION_TABLE_vi[HEAP32[$8 >> 2] & 255]($0); - } - $16 = $0 + 328 | 0; - $17 = HEAP32[$16 >> 2] | 0; - if (!(HEAP32[(HEAP32[$0 + 476 >> 2] | 0) + 8 >> 2] | 0)) { - HEAP32[$5 + 52 >> 2] = $17; - $$phi$trans$insert = $0 + 36 | 0; - $$042 = $17; - $$pre$phiZ2D = $$phi$trans$insert; - $64 = HEAP32[$$phi$trans$insert >> 2] | 0; - $91 = $17; + } } else { - if (($17 | 0) < 2) { - $19 = HEAP32[$0 >> 2] | 0; - HEAP32[$19 + 20 >> 2] = 48; - FUNCTION_TABLE_vi[HEAP32[$19 >> 2] & 255]($0); - $37 = HEAP32[$16 >> 2] | 0; - } else $37 = $17; - $22 = HEAP32[$6 >> 2] | 0; - $25 = $0 + 36 | 0; - $28 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[$2 >> 2] >> 2] & 63]($0, 1, HEAP32[$25 >> 2] << 3) | 0; - $29 = $22 + 60 | 0; - HEAP32[$29 >> 2] = $28; - $30 = HEAP32[$25 >> 2] | 0; - $32 = $22 + 64 | 0; - HEAP32[$32 >> 2] = $28 + ($30 << 2); - if (($30 | 0) > 0) { - $36 = $37 + 4 | 0; - $$04243$i = HEAP32[$0 + 216 >> 2] | 0; - $$044$i = 0; - while (1) { - $42 = Math_imul(HEAP32[$$04243$i + 40 >> 2] | 0, HEAP32[$$04243$i + 12 >> 2] | 0) | 0; - $44 = ($42 | 0) / (HEAP32[$16 >> 2] | 0) | 0; - $47 = Math_imul($44, $36) | 0; - $50 = (FUNCTION_TABLE_iiii[HEAP32[HEAP32[$2 >> 2] >> 2] & 63]($0, 1, $47 << 3) | 0) + ($44 << 2) | 0; - HEAP32[(HEAP32[$29 >> 2] | 0) + ($$044$i << 2) >> 2] = $50; - HEAP32[(HEAP32[$32 >> 2] | 0) + ($$044$i << 2) >> 2] = $50 + ($47 << 2); - $$044$i = $$044$i + 1 | 0; - $58 = HEAP32[$25 >> 2] | 0; - if (($$044$i | 0) >= ($58 | 0)) { - $90 = $58; - break; - } else $$04243$i = $$04243$i + 88 | 0; - } - } else $90 = $30; - $60 = HEAP32[$16 >> 2] | 0; - $$042 = $60 + 2 | 0; - $$pre$phiZ2D = $25; - $64 = $90; - $91 = $60; - } - if (($64 | 0) <= 0) return; - $67 = $5 + 8 | 0; - $$04344 = 0; - $$045 = HEAP32[$0 + 216 >> 2] | 0; - $74 = $91; - while (1) { - $73 = (Math_imul(HEAP32[$$045 + 40 >> 2] | 0, HEAP32[$$045 + 12 >> 2] | 0) | 0) / ($74 | 0) | 0; - $82 = Math_imul(HEAP32[$$045 + 36 >> 2] | 0, HEAP32[$$045 + 28 >> 2] | 0) | 0; - $83 = Math_imul($73, $$042) | 0; - $84 = FUNCTION_TABLE_iiiii[HEAP32[(HEAP32[$2 >> 2] | 0) + 8 >> 2] & 15]($0, 1, $82, $83) | 0; - HEAP32[$67 + ($$04344 << 2) >> 2] = $84; - $86 = $$04344 + 1 | 0; - if (($86 | 0) >= (HEAP32[$$pre$phiZ2D >> 2] | 0)) break; - $$04344 = $86; - $$045 = $$045 + 88 | 0; - $74 = HEAP32[$16 >> 2] | 0; - } + $18 = HEAP32[$this >> 2] | 0; + HEAP32[$this >> 2] = 0; + if ($18 | 0) __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($18, HEAP32[$this + 4 >> 2] << 2); + HEAP32[$__value_$i$i$i >> 2] = 0; + } while (0); return; } -function _arglCameraFrustumRH($0, $1, $2, $3) { +function __ZNSt3__211__sift_downIRNS_4lessIN6vision17PriorityQueueItemILi96EEEEENS_11__wrap_iterIPS4_EEEEvT0_SA_T_NS_15iterator_traitsISA_E15difference_typeESA_($__first, $0, $__comp, $__len, $__start) { + $__first = $__first | 0; $0 = $0 | 0; - $1 = +$1; - $2 = +$2; - $3 = $3 | 0; - var $$0 = 0, $$053 = 0, $$1 = 0, $$154 = 0, $$2 = 0, $10 = 0, $15 = 0.0, $19 = 0, $24 = 0.0, $34 = 0.0, $4 = 0, $48 = 0, $5 = 0, $6 = 0, $62 = 0, $64 = 0.0, $7 = 0, $71 = 0, $75 = 0.0, $77 = 0.0, $79 = 0.0, $8 = 0, $81 = 0.0, $82 = 0, $83 = 0, sp = 0; + $__comp = $__comp | 0; + $__len = $__len | 0; + $__start = $__start | 0; + var $1 = 0, $10 = 0, $15 = 0, $16 = 0, $2 = 0, $21 = 0, $26 = 0, $27 = 0, $28 = 0, $3 = 0, $32 = 0, $36 = 0, $4 = 0, $41 = 0, $42 = 0, $5 = 0, $6 = 0, $__child$0 = 0, $__child$1 = 0, $__child$2 = 0, $__child_i$sroa$0$0 = 0, $__child_i$sroa$0$1 = 0, $__child_i$sroa$0$2 = 0, $__top = 0, $add = 0, $add$ptr$i$i = 0, $add$ptr$i$i22 = 0, $add$ptr$i$i27 = 0, $add$ptr$i$i29 = 0, $add29 = 0, $add3 = 0, $add32 = 0, $call$i24 = 0, $call$i34 = 0, $div = 0, $sub$ptr$sub$i = 0, sp = 0, $27$looptemp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 416 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(416); - $4 = sp + 304 | 0; - $5 = sp + 208 | 0; - $6 = sp + 128 | 0; - $7 = sp; - $8 = HEAP32[$0 >> 2] | 0; - $10 = HEAP32[$0 + 4 >> 2] | 0; - L1 : do if ((_arParamDecompMat($0 + 8 | 0, $4, $5) | 0) < 0) _arLog(0, 3, 24663, sp + 400 | 0); else { - $15 = +($10 + -1 | 0); - $$053 = 0; - while (1) { - if (($$053 | 0) == 4) break; - $19 = $4 + 32 + ($$053 << 3) | 0; - HEAPF64[$19 >> 3] = +HEAPF64[$4 + 64 + ($$053 << 3) >> 3] * $15 - +HEAPF64[$19 >> 3]; - $$053 = $$053 + 1 | 0; - } - $24 = +HEAPF64[$4 + 80 >> 3]; - $$154 = 0; - while (1) { - if (($$154 | 0) == 3) break; - $$0 = 0; - while (1) { - if (($$0 | 0) == 3) break; - HEAPF64[$6 + ($$154 * 24 | 0) + ($$0 << 3) >> 3] = +HEAPF64[$4 + ($$154 << 5) + ($$0 << 3) >> 3] / $24; - $$0 = $$0 + 1 | 0; - } - $$154 = $$154 + 1 | 0; - } - $34 = +($8 + -1 | 0); - HEAPF64[$7 >> 3] = +HEAPF64[$6 >> 3] * 2.0 / $34; - HEAPF64[$7 + 8 >> 3] = +HEAPF64[$6 + 8 >> 3] * 2.0 / $34; - HEAPF64[$7 + 16 >> 3] = -(+HEAPF64[$6 + 16 >> 3] * 2.0 / $34 + -1.0); - $48 = $7 + 24 | 0; - HEAP32[$48 >> 2] = 0; - HEAP32[$48 + 4 >> 2] = 0; - HEAP32[$48 + 8 >> 2] = 0; - HEAP32[$48 + 12 >> 2] = 0; - HEAPF64[$7 + 40 >> 3] = -(+HEAPF64[$6 + 32 >> 3] * 2.0 / $15); - HEAPF64[$7 + 48 >> 3] = -(+HEAPF64[$6 + 40 >> 3] * 2.0 / $15 + -1.0); - $62 = $7 + 56 | 0; - $64 = $1 - $2; - HEAP32[$62 >> 2] = 0; - HEAP32[$62 + 4 >> 2] = 0; - HEAP32[$62 + 8 >> 2] = 0; - HEAP32[$62 + 12 >> 2] = 0; - HEAP32[$62 + 16 >> 2] = 0; - HEAP32[$62 + 20 >> 2] = 0; - HEAPF64[$7 + 80 >> 3] = ($1 + $2) / $64; - HEAPF64[$7 + 88 >> 3] = $2 * 2.0 * $1 / $64; - $71 = $7 + 96 | 0; - HEAP32[$71 >> 2] = 0; - HEAP32[$71 + 4 >> 2] = 0; - HEAP32[$71 + 8 >> 2] = 0; - HEAP32[$71 + 12 >> 2] = 0; - HEAPF64[$7 + 112 >> 3] = -1.0; - HEAPF64[$7 + 120 >> 3] = 0.0; - $75 = +HEAPF64[$5 + 24 >> 3]; - $77 = +HEAPF64[$5 + 56 >> 3]; - $79 = +HEAPF64[$5 + 88 >> 3]; - $$2 = 0; - while (1) { - if (($$2 | 0) == 4) break L1; - $81 = +HEAPF64[$7 + ($$2 << 5) >> 3]; - $82 = $7 + ($$2 << 5) + 8 | 0; - $83 = $7 + ($$2 << 5) + 16 | 0; - $$1 = 0; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $__top = sp; + $1 = HEAP32[$__start >> 2] | 0; + $2 = HEAP32[$__first >> 2] | 0; + $sub$ptr$sub$i = $1 - $2 | 0; + $3 = $2; + $4 = $1; + $5 = $1; + if (($__len | 0) >= 2 ? ($div = ($__len + -2 | 0) / 2 | 0, ($div | 0) >= ($sub$ptr$sub$i >> 3 | 0)) : 0) { + $add = $sub$ptr$sub$i >> 2 | 1; + $add$ptr$i$i = $3 + ($add << 3) | 0; + $6 = $add$ptr$i$i; + $add3 = $add + 1 | 0; + if (($add3 | 0) < ($__len | 0)) { + $add$ptr$i$i22 = $add$ptr$i$i + 8 | 0; + $call$i34 = __ZNK6vision17PriorityQueueItemILi96EEltERKS1_($add$ptr$i$i, $add$ptr$i$i22) | 0; + $__child$0 = $call$i34 ? $add3 : $add; + $__child_i$sroa$0$0 = $call$i34 ? $add$ptr$i$i22 : $6; + } else { + $__child$0 = $add; + $__child_i$sroa$0$0 = $6; + } + if (!(__ZNK6vision17PriorityQueueItemILi96EEltERKS1_($__child_i$sroa$0$0, $4) | 0)) { + $10 = $1; + $15 = HEAP32[$10 + 4 >> 2] | 0; + $16 = $__top; + HEAP32[$16 >> 2] = HEAP32[$10 >> 2]; + HEAP32[$16 + 4 >> 2] = $15; + $27 = $5; + $__child$1 = $__child$0; + $__child_i$sroa$0$1 = $__child_i$sroa$0$0; while (1) { - if (($$1 | 0) == 3) break; - HEAPF64[$3 + (($$1 << 2) + $$2 << 3) >> 3] = $81 * +HEAPF64[$5 + ($$1 << 3) >> 3] + +HEAPF64[$82 >> 3] * +HEAPF64[$5 + 32 + ($$1 << 3) >> 3] + +HEAPF64[$83 >> 3] * +HEAPF64[$5 + 64 + ($$1 << 3) >> 3]; - $$1 = $$1 + 1 | 0; + $27$looptemp = $27; + $27 = $__child_i$sroa$0$1; + $21 = $27; + $26 = HEAP32[$21 + 4 >> 2] | 0; + $28 = $27$looptemp; + HEAP32[$28 >> 2] = HEAP32[$21 >> 2]; + HEAP32[$28 + 4 >> 2] = $26; + HEAP32[$__start >> 2] = $__child_i$sroa$0$1; + if (($div | 0) < ($__child$1 | 0)) break; + $add29 = $__child$1 << 1 | 1; + $add$ptr$i$i29 = $3 + ($add29 << 3) | 0; + $32 = $add$ptr$i$i29; + $add32 = $add29 + 1 | 0; + if (($add32 | 0) < ($__len | 0)) { + $add$ptr$i$i27 = $add$ptr$i$i29 + 8 | 0; + $call$i24 = __ZNK6vision17PriorityQueueItemILi96EEltERKS1_($add$ptr$i$i29, $add$ptr$i$i27) | 0; + $__child$2 = $call$i24 ? $add32 : $add29; + $__child_i$sroa$0$2 = $call$i24 ? $add$ptr$i$i27 : $32; + } else { + $__child$2 = $add29; + $__child_i$sroa$0$2 = $32; + } + if (__ZNK6vision17PriorityQueueItemILi96EEltERKS1_($__child_i$sroa$0$2, $__top) | 0) break; else { + $__child$1 = $__child$2; + $__child_i$sroa$0$1 = $__child_i$sroa$0$2; + } } - HEAPF64[$3 + ($$2 + 12 << 3) >> 3] = +HEAPF64[$7 + ($$2 << 5) + 24 >> 3] + ($81 * $75 + +HEAPF64[$82 >> 3] * $77 + +HEAPF64[$83 >> 3] * $79); - $$2 = $$2 + 1 | 0; + $36 = $__top; + $41 = HEAP32[$36 + 4 >> 2] | 0; + $42 = $__child_i$sroa$0$1; + HEAP32[$42 >> 2] = HEAP32[$36 >> 2]; + HEAP32[$42 + 4 >> 2] = $41; + __ZN6vision17PriorityQueueItemILi96EED2Ev($__top); } - } while (0); + } STACKTOP = sp; return; } -function _decompress_data($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $$07896 = 0, $$07989 = 0, $$08091 = 0, $$08188 = 0, $$08287 = 0, $$083 = 0, $$08490 = 0, $$08594 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $23 = 0, $28 = 0, $29 = 0, $3 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $48 = 0, $49 = 0, $53 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $61 = 0, $68 = 0, $7 = 0, $78 = 0, $8 = 0, $81 = 0, $9 = 0, label = 0; - $3 = HEAP32[$0 + 452 >> 2] | 0; - $4 = $0 + 332 | 0; - $6 = (HEAP32[$4 >> 2] | 0) + -1 | 0; - $7 = $0 + 144 | 0; - $8 = $0 + 152 | 0; - $9 = $0 + 460 | 0; - $10 = $0 + 148 | 0; - $11 = $0 + 156 | 0; - while (1) { - $12 = HEAP32[$7 >> 2] | 0; - $13 = HEAP32[$8 >> 2] | 0; - if (($12 | 0) >= ($13 | 0)) { - if (($12 | 0) != ($13 | 0)) break; - if ((HEAP32[$10 >> 2] | 0) >>> 0 > (HEAP32[$11 >> 2] | 0) >>> 0) break; - } - if (!(FUNCTION_TABLE_ii[HEAP32[HEAP32[$9 >> 2] >> 2] & 127]($0) | 0)) { - $$0 = 0; - label = 20; - break; +function __ZNSt3__212__hash_tableINS_17__hash_value_typeIi7ARParamEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE8__rehashEm($this, $__nbc) { + $this = $this | 0; + $__nbc = $__nbc | 0; + var $0 = 0, $18 = 0, $2 = 0, $4 = 0, $6 = 0, $9 = 0, $__cp$0 = 0, $__i$0 = 0, $__np$0 = 0, $__phash$0$ph$ph = 0, $__pp$0$ph = 0, $__pp$0$ph$ph = 0, $__value_ = 0, $__value_$i$i = 0, $__value_$i$i$i = 0, $arrayidx$i62 = 0, $call$i$i$i = 0, $cond6$i = 0, $cond6$i76 = 0, $exception$i$i$i = 0, $sub$i67 = 0, $tobool$i69 = 0; + $__value_$i$i$i = $this + 4 | 0; + L1 : do if ($__nbc) { + if ($__nbc >>> 0 > 1073741823) { + $exception$i$i$i = ___cxa_allocate_exception(8) | 0; + __ZNSt11logic_errorC2EPKc($exception$i$i$i, 42283); + HEAP32[$exception$i$i$i >> 2] = 17472; + ___cxa_throw($exception$i$i$i | 0, 13960, 22); } - } - if ((label | 0) == 20) return $$0 | 0; - $23 = $0 + 36 | 0; - if ((HEAP32[$23 >> 2] | 0) > 0) { - $28 = $0 + 4 | 0; - $29 = $0 + 472 | 0; - $$07896 = HEAP32[$0 + 216 >> 2] | 0; - $$08594 = 0; + $call$i$i$i = __Znwm($__nbc << 2) | 0; + $0 = HEAP32[$this >> 2] | 0; + HEAP32[$this >> 2] = $call$i$i$i; + if ($0 | 0) __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($0, HEAP32[$this + 4 >> 2] << 2); + HEAP32[$__value_$i$i$i >> 2] = $__nbc; + $__i$0 = 0; while (1) { - if (HEAP32[$$07896 + 52 >> 2] | 0) { - $39 = $$07896 + 12 | 0; - $40 = HEAP32[$39 >> 2] | 0; - $41 = Math_imul($40, HEAP32[$11 >> 2] | 0) | 0; - $42 = FUNCTION_TABLE_iiiiii[HEAP32[(HEAP32[$28 >> 2] | 0) + 32 >> 2] & 31]($0, HEAP32[$3 + 72 + ($$08594 << 2) >> 2] | 0, $41, $40, 0) | 0; - if ((HEAP32[$11 >> 2] | 0) >>> 0 < $6 >>> 0) $$083 = HEAP32[$39 >> 2] | 0; else { - $48 = HEAP32[$39 >> 2] | 0; - $49 = ((HEAP32[$$07896 + 32 >> 2] | 0) >>> 0) % ($48 >>> 0) | 0; - $$083 = ($49 | 0) == 0 ? $48 : $49; - } - $53 = HEAP32[(HEAP32[$29 >> 2] | 0) + 4 + ($$08594 << 2) >> 2] | 0; - if (($$083 | 0) > 0) { - $57 = $$07896 + 28 | 0; - $58 = $$07896 + 40 | 0; - $59 = $$07896 + 36 | 0; - $$08091 = HEAP32[$1 + ($$08594 << 2) >> 2] | 0; - $$08490 = 0; - $61 = HEAP32[$57 >> 2] | 0; + if (($__i$0 | 0) == ($__nbc | 0)) break; + HEAP32[(HEAP32[$this >> 2] | 0) + ($__i$0 << 2) >> 2] = 0; + $__i$0 = $__i$0 + 1 | 0; + } + $__value_$i$i = $this + 8 | 0; + $2 = HEAP32[$__value_$i$i >> 2] | 0; + if ($2 | 0) { + $4 = HEAP32[$2 + 4 >> 2] | 0; + $sub$i67 = $__nbc + -1 | 0; + $tobool$i69 = ($sub$i67 & $__nbc | 0) == 0; + if (!$tobool$i69) if ($4 >>> 0 < $__nbc >>> 0) $cond6$i76 = $4; else $cond6$i76 = ($4 >>> 0) % ($__nbc >>> 0) | 0; else $cond6$i76 = $4 & $sub$i67; + HEAP32[(HEAP32[$this >> 2] | 0) + ($cond6$i76 << 2) >> 2] = $__value_$i$i; + $__phash$0$ph$ph = $cond6$i76; + $__pp$0$ph$ph = $2; + while (1) { + $__pp$0$ph = $__pp$0$ph$ph; + L25 : while (1) { while (1) { - if (!$61) $81 = 0; else { - $$07989 = 0; - $$08188 = HEAP32[$42 + ($$08490 << 2) >> 2] | 0; - $$08287 = 0; - while (1) { - FUNCTION_TABLE_viiiii[$53 & 63]($0, $$07896, $$08188, $$08091, $$07989); - $$08287 = $$08287 + 1 | 0; - $68 = HEAP32[$57 >> 2] | 0; - if ($$08287 >>> 0 >= $68 >>> 0) { - $81 = $68; - break; - } else { - $$07989 = (HEAP32[$59 >> 2] | 0) + $$07989 | 0; - $$08188 = $$08188 + 128 | 0; - } - } - } - $$08490 = $$08490 + 1 | 0; - if (($$08490 | 0) == ($$083 | 0)) break; else { - $$08091 = $$08091 + (HEAP32[$58 >> 2] << 2) | 0; - $61 = $81; + $__cp$0 = HEAP32[$__pp$0$ph >> 2] | 0; + if (!$__cp$0) break L1; + $6 = HEAP32[$__cp$0 + 4 >> 2] | 0; + if (!$tobool$i69) if ($6 >>> 0 < $__nbc >>> 0) $cond6$i = $6; else $cond6$i = ($6 >>> 0) % ($__nbc >>> 0) | 0; else $cond6$i = $6 & $sub$i67; + if (($cond6$i | 0) == ($__phash$0$ph$ph | 0)) break; + $arrayidx$i62 = (HEAP32[$this >> 2] | 0) + ($cond6$i << 2) | 0; + if (!(HEAP32[$arrayidx$i62 >> 2] | 0)) break L25; + $__value_ = $__cp$0 + 8 | 0; + $__np$0 = $__cp$0; + while (1) { + $9 = HEAP32[$__np$0 >> 2] | 0; + if (!$9) break; + if ((HEAP32[$__value_ >> 2] | 0) == (HEAP32[$9 + 8 >> 2] | 0)) $__np$0 = $9; else break; } + HEAP32[$__pp$0$ph >> 2] = $9; + HEAP32[$__np$0 >> 2] = HEAP32[HEAP32[(HEAP32[$this >> 2] | 0) + ($cond6$i << 2) >> 2] >> 2]; + HEAP32[HEAP32[(HEAP32[$this >> 2] | 0) + ($cond6$i << 2) >> 2] >> 2] = $__cp$0; } + $__pp$0$ph = $__cp$0; } + HEAP32[$arrayidx$i62 >> 2] = $__pp$0$ph; + $__phash$0$ph$ph = $cond6$i; + $__pp$0$ph$ph = $__cp$0; } - $$08594 = $$08594 + 1 | 0; - if (($$08594 | 0) >= (HEAP32[$23 >> 2] | 0)) break; else $$07896 = $$07896 + 88 | 0; } - } - $78 = (HEAP32[$11 >> 2] | 0) + 1 | 0; - HEAP32[$11 >> 2] = $78; - $$0 = $78 >>> 0 < (HEAP32[$4 >> 2] | 0) >>> 0 ? 3 : 4; - return $$0 | 0; + } else { + $18 = HEAP32[$this >> 2] | 0; + HEAP32[$this >> 2] = 0; + if ($18 | 0) __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($18, HEAP32[$this + 4 >> 2] << 2); + HEAP32[$__value_$i$i$i >> 2] = 0; + } while (0); + return; } -function _qsort($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $$0 = 0, $$067$lcssa = 0, $$06772 = 0, $$068$lcssa = 0, $$06871 = 0, $$1 = 0, $$169 = 0, $$169$be = 0, $$2 = 0, $$2$be = 0, $$be = 0, $12 = 0, $15 = 0, $15$phi = 0, $16 = 0, $17 = 0, $22 = 0, $24 = 0, $26 = 0, $29 = 0, $37 = 0, $38 = 0, $4 = 0, $40 = 0, $43 = 0, $47 = 0, $49 = 0, $5 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $7 = 0, label = 0, sp = 0; +function _setCamera($id, $cameraID) { + $id = $id | 0; + $cameraID = $cameraID | 0; + var $0 = 0, $2 = 0, $arhandle = 0, $call35 = 0, $call40 = 0, $call47 = 0, $call57 = 0, $call7 = 0, $cameraID$addr = 0, $height = 0, $id$addr = 0, $param = 0, $paramLT = 0, $retval$2 = 0, $vararg_buffer = 0, $vararg_buffer2 = 0, $vararg_buffer4 = 0, $vararg_buffer6 = 0, $width = 0, label = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 208 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(208); - $4 = sp; - $5 = sp + 192 | 0; - $6 = Math_imul($2, $1) | 0; - $7 = $5; - HEAP32[$7 >> 2] = 1; - HEAP32[$7 + 4 >> 2] = 0; - L1 : do if ($6 | 0) { - $12 = 0 - $2 | 0; - HEAP32[$4 + 4 >> 2] = $2; - HEAP32[$4 >> 2] = $2; - $$0 = 2; - $15 = $2; - $17 = $2; + STACKTOP = STACKTOP + 48 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); + $vararg_buffer6 = sp + 24 | 0; + $vararg_buffer4 = sp + 16 | 0; + $vararg_buffer2 = sp + 8 | 0; + $vararg_buffer = sp; + $id$addr = sp + 32 | 0; + $cameraID$addr = sp + 28 | 0; + HEAP32[$id$addr >> 2] = $id; + HEAP32[$cameraID$addr >> 2] = $cameraID; + do if ((__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(66108, $id$addr) | 0) != 0 ? ($call7 = __ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(66108, $id$addr) | 0, (__ZNSt3__212__hash_tableINS_17__hash_value_typeIi7ARParamEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(66128, $cameraID$addr) | 0) != 0) : 0) { + $param = $call7 + 8 | 0; + _memcpy($param | 0, __ZNSt3__213unordered_mapIi7ARParamNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(66128, $cameraID$addr) | 0, 184) | 0; + $0 = HEAP32[$param >> 2] | 0; + $width = $call7 + 208 | 0; + $2 = HEAP32[$call7 + 12 >> 2] | 0; + $height = $call7 + 212 | 0; + if (($0 | 0) == (HEAP32[$width >> 2] | 0) ? ($2 | 0) == (HEAP32[$height >> 2] | 0) : 0) {} else { + HEAP32[$vararg_buffer >> 2] = $0; + HEAP32[$vararg_buffer + 4 >> 2] = $2; + _arLog(0, 2, 46612, $vararg_buffer); + _arParamChangeSize($param, HEAP32[$width >> 2] | 0, HEAP32[$height >> 2] | 0, $param) | 0; + } + _deleteHandle($call7); + $call35 = _arParamLTCreate($param, 15) | 0; + $paramLT = $call7 + 192 | 0; + HEAP32[$paramLT >> 2] = $call35; + if (!$call35) { + _arLog(0, 3, 46659, $vararg_buffer2); + $retval$2 = -1; + break; + } + $call40 = _arCreateHandle($call35) | 0; + $arhandle = $call7 + 216 | 0; + HEAP32[$arhandle >> 2] = $call40; + if (!$call40) { + _arLog(0, 3, 46697, $vararg_buffer4); + $retval$2 = -1; + break; + } + _arSetPixelFormat($call40, HEAP32[$call7 + 496 >> 2] | 0) | 0; + $call47 = _ar3DCreateHandle($param) | 0; + HEAP32[$call7 + 228 >> 2] = $call47; + if (!$call47) { + _arLog(0, 3, 46734, $vararg_buffer6); + $retval$2 = -1; + break; + } else { + _arPattAttach(HEAP32[$arhandle >> 2] | 0, HEAP32[$call7 + 220 >> 2] | 0) | 0; + _arglCameraFrustumRH(HEAP32[$paramLT >> 2] | 0, +HEAPF64[$call7 + 336 >> 3], +HEAPF64[$call7 + 344 >> 3], $call7 + 368 | 0); + $call57 = _createKpmHandle(HEAP32[$paramLT >> 2] | 0) | 0; + HEAP32[$call7 + 232 >> 2] = $call57; + $retval$2 = 0; + break; + } + } else $retval$2 = -1; while (0); + STACKTOP = sp; + return $retval$2 | 0; +} + +function __ZNSt3__212__hash_tableINS_17__hash_value_typeIjjEENS_22__unordered_map_hasherIjS2_NS_4hashIjEELb1EEENS_21__unordered_map_equalIjS2_NS_8equal_toIjEELb1EEENS_9allocatorIS2_EEE8__rehashEm($this, $__nbc) { + $this = $this | 0; + $__nbc = $__nbc | 0; + var $0 = 0, $18 = 0, $2 = 0, $4 = 0, $6 = 0, $9 = 0, $__cp$0 = 0, $__i$0 = 0, $__np$0 = 0, $__phash$0$ph$ph = 0, $__pp$0$ph = 0, $__pp$0$ph$ph = 0, $__value_ = 0, $__value_$i$i = 0, $__value_$i$i$i = 0, $arrayidx$i62 = 0, $call$i$i$i = 0, $cond6$i = 0, $cond6$i76 = 0, $exception$i$i$i = 0, $sub$i67 = 0, $tobool$i69 = 0; + $__value_$i$i$i = $this + 4 | 0; + L1 : do if ($__nbc) { + if ($__nbc >>> 0 > 1073741823) { + $exception$i$i$i = ___cxa_allocate_exception(8) | 0; + __ZNSt11logic_errorC2EPKc($exception$i$i$i, 42283); + HEAP32[$exception$i$i$i >> 2] = 17472; + ___cxa_throw($exception$i$i$i | 0, 13960, 22); + } + $call$i$i$i = __Znwm($__nbc << 2) | 0; + $0 = HEAP32[$this >> 2] | 0; + HEAP32[$this >> 2] = $call$i$i$i; + if ($0 | 0) __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($0, HEAP32[$this + 4 >> 2] << 2); + HEAP32[$__value_$i$i$i >> 2] = $__nbc; + $__i$0 = 0; while (1) { - $16 = $15 + $2 + $17 | 0; - HEAP32[$4 + ($$0 << 2) >> 2] = $16; - if ($16 >>> 0 < $6 >>> 0) { - $15$phi = $17; - $$0 = $$0 + 1 | 0; - $17 = $16; - $15 = $15$phi; - } else break; + if (($__i$0 | 0) == ($__nbc | 0)) break; + HEAP32[(HEAP32[$this >> 2] | 0) + ($__i$0 << 2) >> 2] = 0; + $__i$0 = $__i$0 + 1 | 0; } - $22 = $0 + $6 + $12 | 0; - if ($22 >>> 0 > $0 >>> 0) { - $24 = $22; - $$06772 = 1; - $$06871 = $0; - $26 = 1; + $__value_$i$i = $this + 8 | 0; + $2 = HEAP32[$__value_$i$i >> 2] | 0; + if ($2 | 0) { + $4 = HEAP32[$2 + 4 >> 2] | 0; + $sub$i67 = $__nbc + -1 | 0; + $tobool$i69 = ($sub$i67 & $__nbc | 0) == 0; + if (!$tobool$i69) if ($4 >>> 0 < $__nbc >>> 0) $cond6$i76 = $4; else $cond6$i76 = ($4 >>> 0) % ($__nbc >>> 0) | 0; else $cond6$i76 = $4 & $sub$i67; + HEAP32[(HEAP32[$this >> 2] | 0) + ($cond6$i76 << 2) >> 2] = $__value_$i$i; + $__phash$0$ph$ph = $cond6$i76; + $__pp$0$ph$ph = $2; while (1) { - do if (($26 & 3 | 0) != 3) { - $29 = $$06772 + -1 | 0; - if ((HEAP32[$4 + ($29 << 2) >> 2] | 0) >>> 0 < ($24 - $$06871 | 0) >>> 0) _sift($$06871, $2, $3, $$06772, $4); else _trinkle($$06871, $2, $3, $5, $$06772, 0, $4); - if (($$06772 | 0) == 1) { - _shl($5, 1); - $$1 = 0; - break; - } else { - _shl($5, $29); - $$1 = 1; - break; + $__pp$0$ph = $__pp$0$ph$ph; + L25 : while (1) { + while (1) { + $__cp$0 = HEAP32[$__pp$0$ph >> 2] | 0; + if (!$__cp$0) break L1; + $6 = HEAP32[$__cp$0 + 4 >> 2] | 0; + if (!$tobool$i69) if ($6 >>> 0 < $__nbc >>> 0) $cond6$i = $6; else $cond6$i = ($6 >>> 0) % ($__nbc >>> 0) | 0; else $cond6$i = $6 & $sub$i67; + if (($cond6$i | 0) == ($__phash$0$ph$ph | 0)) break; + $arrayidx$i62 = (HEAP32[$this >> 2] | 0) + ($cond6$i << 2) | 0; + if (!(HEAP32[$arrayidx$i62 >> 2] | 0)) break L25; + $__value_ = $__cp$0 + 8 | 0; + $__np$0 = $__cp$0; + while (1) { + $9 = HEAP32[$__np$0 >> 2] | 0; + if (!$9) break; + if ((HEAP32[$__value_ >> 2] | 0) == (HEAP32[$9 + 8 >> 2] | 0)) $__np$0 = $9; else break; + } + HEAP32[$__pp$0$ph >> 2] = $9; + HEAP32[$__np$0 >> 2] = HEAP32[HEAP32[(HEAP32[$this >> 2] | 0) + ($cond6$i << 2) >> 2] >> 2]; + HEAP32[HEAP32[(HEAP32[$this >> 2] | 0) + ($cond6$i << 2) >> 2] >> 2] = $__cp$0; } - } else { - _sift($$06871, $2, $3, $$06772, $4); - _shr($5, 2); - $$1 = $$06772 + 2 | 0; - } while (0); - $37 = HEAP32[$5 >> 2] | 1; - HEAP32[$5 >> 2] = $37; - $38 = $$06871 + $2 | 0; - if ($38 >>> 0 < $22 >>> 0) { - $$06772 = $$1; - $$06871 = $38; - $26 = $37; - } else { - $$067$lcssa = $$1; - $$068$lcssa = $38; - $61 = $37; - break; + $__pp$0$ph = $__cp$0; } + HEAP32[$arrayidx$i62 >> 2] = $__pp$0$ph; + $__phash$0$ph$ph = $cond6$i; + $__pp$0$ph$ph = $__cp$0; } - } else { - $$067$lcssa = 1; - $$068$lcssa = $0; - $61 = 1; - } - _trinkle($$068$lcssa, $2, $3, $5, $$067$lcssa, 0, $4); - $40 = $5 + 4 | 0; - $$169 = $$068$lcssa; - $$2 = $$067$lcssa; - $43 = $61; - while (1) { - if (($$2 | 0) == 1 & ($43 | 0) == 1) if (!(HEAP32[$40 >> 2] | 0)) break L1; else label = 19; else if (($$2 | 0) < 2) label = 19; else { - _shl($5, 2); - $49 = $$2 + -2 | 0; - HEAP32[$5 >> 2] = HEAP32[$5 >> 2] ^ 7; - _shr($5, 1); - _trinkle($$169 + (0 - (HEAP32[$4 + ($49 << 2) >> 2] | 0)) + $12 | 0, $2, $3, $5, $$2 + -1 | 0, 1, $4); - _shl($5, 1); - $59 = HEAP32[$5 >> 2] | 1; - HEAP32[$5 >> 2] = $59; - $60 = $$169 + $12 | 0; - _trinkle($60, $2, $3, $5, $49, 1, $4); - $$169$be = $60; - $$2$be = $49; - $$be = $59; - } - if ((label | 0) == 19) { - label = 0; - $47 = _pntz($5) | 0; - _shr($5, $47); - $$169$be = $$169 + $12 | 0; - $$2$be = $47 + $$2 | 0; - $$be = HEAP32[$5 >> 2] | 0; - } - $$169 = $$169$be; - $$2 = $$2$be; - $43 = $$be; } + } else { + $18 = HEAP32[$this >> 2] | 0; + HEAP32[$this >> 2] = 0; + if ($18 | 0) __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($18, HEAP32[$this + 4 >> 2] << 2); + HEAP32[$__value_$i$i$i >> 2] = 0; } while (0); - STACKTOP = sp; return; } -function _start_output_pass($0) { - $0 = $0 | 0; - var $$05058$i = 0, $$05157$i = 0, $$05356$i = 0, $$059$i = 0, $$pre$phi$iZ2D = 0, $12 = 0, $15 = 0, $16 = 0, $2 = 0, $21 = 0, $24 = 0, $30 = 0, $49 = 0, $53 = 0, $56 = 0, $57 = 0, $61 = 0, $62 = 0, $66 = 0, $67 = 0, $71 = 0, $72 = 0, $85 = 0, $86 = 0, $decompress_smooth_data$sink = 0, label = 0; - $2 = HEAP32[$0 + 452 >> 2] | 0; - if (!(HEAP32[$2 + 16 >> 2] | 0)) { - $85 = $0 + 156 | 0; - HEAP32[$85 >> 2] = 0; - return; - } - L4 : do if (((HEAP32[$0 + 80 >> 2] | 0) != 0 ? (HEAP32[$0 + 224 >> 2] | 0) != 0 : 0) ? ($12 = $0 + 160 | 0, (HEAP32[$12 >> 2] | 0) != 0) : 0) { - $15 = $2 + 112 | 0; - $16 = HEAP32[$15 >> 2] | 0; - if (!$16) { - $21 = $0 + 36 | 0; - $24 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[$0 + 4 >> 2] >> 2] & 63]($0, 1, (HEAP32[$21 >> 2] | 0) * 24 | 0) | 0; - HEAP32[$15 >> 2] = $24; - $$pre$phi$iZ2D = $21; - $86 = $24; +function _arImageProcLumaHistAndBoxFilterWithBias($ipi, $dataPtr, $boxSize, $bias) { + $ipi = $ipi | 0; + $dataPtr = $dataPtr | 0; + $boxSize = $boxSize | 0; + $bias = $bias | 0; + var $3 = 0, $4 = 0, $9 = 0, $add = 0, $add28 = 0, $arrayidx48 = 0, $arrayidx65 = 0, $call = 0, $call3 = 0, $count$0 = 0, $count$1 = 0, $count$2 = 0, $count$3 = 0, $i$0 = 0, $i$1 = 0, $imageX = 0, $imageX13$pre$phiZ2D = 0, $imageY = 0, $imageY10$pre$phiZ2D = 0, $j$0 = 0, $kernel_i$0 = 0, $kernel_j$0 = 0, $mul36 = 0, $retval$0 = 0, $shr = 0, $sub = 0, $val$0 = 0, $val$1 = 0, $val$2 = 0, $val$3 = 0; + $call = _arImageProcLumaHist($ipi, $dataPtr) | 0; + L1 : do if (($call | 0) >= 0) { + if (!(HEAP32[$ipi >> 2] | 0)) { + $imageX = $ipi + 4 | 0; + $imageY = $ipi + 8 | 0; + $call3 = _malloc(Math_imul(HEAP32[$imageY >> 2] | 0, HEAP32[$imageX >> 2] | 0) | 0) | 0; + HEAP32[$ipi >> 2] = $call3; + if (!$call3) { + $retval$0 = -1; + break; + } else { + $imageX13$pre$phiZ2D = $imageX; + $imageY10$pre$phiZ2D = $imageY; + } } else { - $$pre$phi$iZ2D = $0 + 36 | 0; - $86 = $16; - } - if ((HEAP32[$$pre$phi$iZ2D >> 2] | 0) > 0) { - $$05058$i = 0; - $$05157$i = HEAP32[$0 + 216 >> 2] | 0; - $$05356$i = 0; - $$059$i = $86; + $imageX13$pre$phiZ2D = $ipi + 4 | 0; + $imageY10$pre$phiZ2D = $ipi + 8 | 0; + } + $shr = $boxSize >> 1; + $sub = 0 - $shr | 0; + $j$0 = 0; + while (1) { + $3 = HEAP32[$imageY10$pre$phiZ2D >> 2] | 0; + if (($j$0 | 0) >= ($3 | 0)) break; + $i$0 = 0; while (1) { - $30 = HEAP32[$$05157$i + 80 >> 2] | 0; - if (!$30) { - label = 20; - break L4; - } - if (!(HEAP16[$30 >> 1] | 0)) { - label = 20; - break L4; + $4 = HEAP32[$imageX13$pre$phiZ2D >> 2] | 0; + if (($i$0 | 0) >= ($4 | 0)) break; + $count$0 = 0; + $kernel_j$0 = $sub; + $val$0 = 0; + while (1) { + if (($kernel_j$0 | 0) > ($shr | 0)) break; + $add = $kernel_j$0 + $j$0 | 0; + L16 : do if (($add | 0) >= 0 ? ($add | 0) < (HEAP32[$imageY10$pre$phiZ2D >> 2] | 0) : 0) { + $mul36 = Math_imul($add, $4) | 0; + $count$1 = $count$0; + $kernel_i$0 = $sub; + $val$1 = $val$0; + while (1) { + if (($kernel_i$0 | 0) > ($shr | 0)) { + $count$3 = $count$1; + $val$3 = $val$1; + break L16; + } + $add28 = $kernel_i$0 + $i$0 | 0; + if (($add28 | 0) > -1 & ($add28 | 0) < ($4 | 0)) { + $count$2 = $count$1 + 1 | 0; + $val$2 = $val$1 + (HEAPU8[$dataPtr + ($add28 + $mul36) >> 0] | 0) | 0; + } else { + $count$2 = $count$1; + $val$2 = $val$1; + } + $count$1 = $count$2; + $kernel_i$0 = $kernel_i$0 + 1 | 0; + $val$1 = $val$2; + } + } else { + $count$3 = $count$0; + $val$3 = $val$0; + } while (0); + $count$0 = $count$3; + $kernel_j$0 = $kernel_j$0 + 1 | 0; + $val$0 = $val$3; } - if (!(HEAP16[$30 + 2 >> 1] | 0)) { - label = 20; - break L4; + $arrayidx48 = (HEAP32[$ipi >> 2] | 0) + ((Math_imul($4, $j$0) | 0) + $i$0) | 0; + HEAP8[$arrayidx48 >> 0] = ($val$0 | 0) / ($count$0 | 0) | 0; + $i$0 = $i$0 + 1 | 0; + } + $j$0 = $j$0 + 1 | 0; + } + if (!$bias) $retval$0 = 0; else { + $9 = $3; + $i$1 = 0; + while (1) { + if (($i$1 | 0) >= (Math_imul($9, HEAP32[$imageX13$pre$phiZ2D >> 2] | 0) | 0)) { + $retval$0 = 0; + break L1; } - if (!(HEAP16[$30 + 16 >> 1] | 0)) { - label = 20; - break L4; + $arrayidx65 = (HEAP32[$ipi >> 2] | 0) + $i$1 | 0; + HEAP8[$arrayidx65 >> 0] = (HEAPU8[$arrayidx65 >> 0] | 0) + $bias; + $9 = HEAP32[$imageY10$pre$phiZ2D >> 2] | 0; + $i$1 = $i$1 + 1 | 0; + } + } + } else $retval$0 = $call; while (0); + return $retval$0 | 0; +} + +function __ZNSt3__2L20utf8_to_utf16_lengthEPKhS1_mmNS_12codecvt_modeE($frm, $frm_end, $mx, $Maxcode, $mode) { + $frm = $frm | 0; + $frm_end = $frm_end | 0; + $mx = $mx | 0; + $Maxcode = $Maxcode | 0; + $mode = $mode | 0; + var $$pre = 0, $11 = 0, $12 = 0, $13 = 0, $3 = 0, $5 = 0, $6 = 0, $conv14 = 0, $conv158 = 0, $conv162 = 0, $conv33 = 0, $conv87 = 0, $frm_nxt$1 = 0, $frm_nxt$1$ph = 0, $frm_nxt$5 = 0, $nchar16_t$0 = 0, $nchar16_t$2 = 0; + $$pre = $frm_end; + if (((($mode & 4 | 0) != 0 ? ($$pre - $frm | 0) > 2 : 0) ? (HEAP8[$frm >> 0] | 0) == -17 : 0) ? (HEAP8[$frm + 1 >> 0] | 0) == -69 : 0) $frm_nxt$1$ph = (HEAP8[$frm + 2 >> 0] | 0) == -65 ? $frm + 3 | 0 : $frm; else $frm_nxt$1$ph = $frm; + $frm_nxt$1 = $frm_nxt$1$ph; + $nchar16_t$0 = 0; + L7 : while (1) { + if (!($nchar16_t$0 >>> 0 < $mx >>> 0 & $frm_nxt$1 >>> 0 < $frm_end >>> 0)) break; + $3 = HEAP8[$frm_nxt$1 >> 0] | 0; + $conv14 = $3 & 255; + if ($conv14 >>> 0 > $Maxcode >>> 0) break; + do if ($3 << 24 >> 24 <= -1) { + if (($3 & 255) < 194) break L7; + if (($3 & 255) < 224) { + if (($$pre - $frm_nxt$1 | 0) < 2) break L7; + $conv33 = HEAPU8[$frm_nxt$1 + 1 >> 0] | 0; + if (($conv33 & 192 | 0) != 128) break L7; + if (($conv33 & 63 | $conv14 << 6 & 1984) >>> 0 > $Maxcode >>> 0) break L7; else { + $frm_nxt$5 = $frm_nxt$1 + 2 | 0; + $nchar16_t$2 = $nchar16_t$0; + break; } - if (!(HEAP16[$30 + 32 >> 1] | 0)) { - label = 20; - break L4; + } + if (($3 & 255) < 240) { + if (($$pre - $frm_nxt$1 | 0) < 3) break L7; + $5 = HEAP8[$frm_nxt$1 + 1 >> 0] | 0; + $6 = HEAP8[$frm_nxt$1 + 2 >> 0] | 0; + switch ($3 << 24 >> 24) { + case -32: + { + if (($5 & -32) << 24 >> 24 != -96) break L7; + break; + } + case -19: + { + if (($5 & -32) << 24 >> 24 != -128) break L7; + break; + } + default: + if (($5 & -64) << 24 >> 24 != -128) break L7; } - if (!(HEAP16[$30 + 18 >> 1] | 0)) { - label = 20; - break L4; + $conv87 = $6 & 255; + if (($conv87 & 192 | 0) != 128) break L7; + if ((($5 & 63) << 6 | $conv14 << 12 & 61440 | $conv87 & 63) >>> 0 > $Maxcode >>> 0) break L7; else { + $frm_nxt$5 = $frm_nxt$1 + 3 | 0; + $nchar16_t$2 = $nchar16_t$0; + break; } - if (!(HEAP16[$30 + 4 >> 1] | 0)) { - label = 20; - break L4; + } + if (($3 & 255) >= 245) break L7; + if (($mx - $nchar16_t$0 | 0) >>> 0 < 2 | ($$pre - $frm_nxt$1 | 0) < 4) break L7; + $11 = HEAP8[$frm_nxt$1 + 1 >> 0] | 0; + $12 = HEAP8[$frm_nxt$1 + 2 >> 0] | 0; + $13 = HEAP8[$frm_nxt$1 + 3 >> 0] | 0; + switch ($3 << 24 >> 24) { + case -16: + { + if (($11 + 112 & 255) >= 48) break L7; + break; } - $49 = HEAP32[$12 >> 2] | 0; - if ((HEAP32[$49 + ($$05356$i << 8) >> 2] | 0) < 0) { - label = 20; - break L4; + case -12: + { + if (($11 & -16) << 24 >> 24 != -128) break L7; + break; } - $53 = $49 + ($$05356$i << 8) + 4 | 0; - HEAP32[$$059$i + 4 >> 2] = HEAP32[$53 >> 2]; - $56 = HEAP32[$53 >> 2] | 0; - $57 = $49 + ($$05356$i << 8) + 8 | 0; - HEAP32[$$059$i + 8 >> 2] = HEAP32[$57 >> 2]; - $61 = HEAP32[$57 >> 2] | $56; - $62 = $49 + ($$05356$i << 8) + 12 | 0; - HEAP32[$$059$i + 12 >> 2] = HEAP32[$62 >> 2]; - $66 = $61 | HEAP32[$62 >> 2]; - $67 = $49 + ($$05356$i << 8) + 16 | 0; - HEAP32[$$059$i + 16 >> 2] = HEAP32[$67 >> 2]; - $71 = $66 | HEAP32[$67 >> 2]; - $72 = $49 + ($$05356$i << 8) + 20 | 0; - HEAP32[$$059$i + 20 >> 2] = HEAP32[$72 >> 2]; - $$05058$i = ($71 | HEAP32[$72 >> 2] | 0) == 0 ? $$05058$i : 1; - $$05356$i = $$05356$i + 1 | 0; - if (($$05356$i | 0) >= (HEAP32[$$pre$phi$iZ2D >> 2] | 0)) break; else { - $$05157$i = $$05157$i + 88 | 0; - $$059$i = $$059$i + 24 | 0; - } - } - if ($$05058$i) $decompress_smooth_data$sink = 59; else label = 20; - } else label = 20; - } else label = 20; while (0); - if ((label | 0) == 20) $decompress_smooth_data$sink = 57; - HEAP32[$2 + 12 >> 2] = $decompress_smooth_data$sink; - $85 = $0 + 156 | 0; - HEAP32[$85 >> 2] = 0; - return; + default: + if (($11 & -64) << 24 >> 24 != -128) break L7; + } + $conv158 = $12 & 255; + if (($conv158 & 192 | 0) != 128) break L7; + $conv162 = $13 & 255; + if (($conv162 & 192 | 0) != 128) break L7; + if ((($11 & 63) << 12 | $conv14 << 18 & 1835008 | $conv158 << 6 & 4032 | $conv162 & 63) >>> 0 > $Maxcode >>> 0) break L7; else { + $frm_nxt$5 = $frm_nxt$1 + 4 | 0; + $nchar16_t$2 = $nchar16_t$0 + 1 | 0; + } + } else { + $frm_nxt$5 = $frm_nxt$1 + 1 | 0; + $nchar16_t$2 = $nchar16_t$0; + } while (0); + $frm_nxt$1 = $frm_nxt$5; + $nchar16_t$0 = $nchar16_t$2 + 1 | 0; + } + return $frm_nxt$1 - $frm | 0; } -function __ZN6vision18HammingDistance768EPKjS1_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $10 = 0, $100 = 0, $106 = 0, $112 = 0, $118 = 0, $124 = 0, $130 = 0, $136 = 0, $16 = 0, $22 = 0, $28 = 0, $34 = 0, $4 = 0, $40 = 0, $46 = 0, $52 = 0, $58 = 0, $64 = 0, $70 = 0, $76 = 0, $82 = 0, $88 = 0, $94 = 0; - $4 = __ZN6vision17HammingDistance32Ejj(HEAP32[$0 >> 2] | 0, HEAP32[$1 >> 2] | 0) | 0; - $10 = (__ZN6vision17HammingDistance32Ejj(HEAP32[$0 + 4 >> 2] | 0, HEAP32[$1 + 4 >> 2] | 0) | 0) + $4 | 0; - $16 = $10 + (__ZN6vision17HammingDistance32Ejj(HEAP32[$0 + 8 >> 2] | 0, HEAP32[$1 + 8 >> 2] | 0) | 0) | 0; - $22 = $16 + (__ZN6vision17HammingDistance32Ejj(HEAP32[$0 + 12 >> 2] | 0, HEAP32[$1 + 12 >> 2] | 0) | 0) | 0; - $28 = $22 + (__ZN6vision17HammingDistance32Ejj(HEAP32[$0 + 16 >> 2] | 0, HEAP32[$1 + 16 >> 2] | 0) | 0) | 0; - $34 = $28 + (__ZN6vision17HammingDistance32Ejj(HEAP32[$0 + 20 >> 2] | 0, HEAP32[$1 + 20 >> 2] | 0) | 0) | 0; - $40 = $34 + (__ZN6vision17HammingDistance32Ejj(HEAP32[$0 + 24 >> 2] | 0, HEAP32[$1 + 24 >> 2] | 0) | 0) | 0; - $46 = $40 + (__ZN6vision17HammingDistance32Ejj(HEAP32[$0 + 28 >> 2] | 0, HEAP32[$1 + 28 >> 2] | 0) | 0) | 0; - $52 = $46 + (__ZN6vision17HammingDistance32Ejj(HEAP32[$0 + 32 >> 2] | 0, HEAP32[$1 + 32 >> 2] | 0) | 0) | 0; - $58 = $52 + (__ZN6vision17HammingDistance32Ejj(HEAP32[$0 + 36 >> 2] | 0, HEAP32[$1 + 36 >> 2] | 0) | 0) | 0; - $64 = $58 + (__ZN6vision17HammingDistance32Ejj(HEAP32[$0 + 40 >> 2] | 0, HEAP32[$1 + 40 >> 2] | 0) | 0) | 0; - $70 = $64 + (__ZN6vision17HammingDistance32Ejj(HEAP32[$0 + 44 >> 2] | 0, HEAP32[$1 + 44 >> 2] | 0) | 0) | 0; - $76 = $70 + (__ZN6vision17HammingDistance32Ejj(HEAP32[$0 + 48 >> 2] | 0, HEAP32[$1 + 48 >> 2] | 0) | 0) | 0; - $82 = $76 + (__ZN6vision17HammingDistance32Ejj(HEAP32[$0 + 52 >> 2] | 0, HEAP32[$1 + 52 >> 2] | 0) | 0) | 0; - $88 = $82 + (__ZN6vision17HammingDistance32Ejj(HEAP32[$0 + 56 >> 2] | 0, HEAP32[$1 + 56 >> 2] | 0) | 0) | 0; - $94 = $88 + (__ZN6vision17HammingDistance32Ejj(HEAP32[$0 + 60 >> 2] | 0, HEAP32[$1 + 60 >> 2] | 0) | 0) | 0; - $100 = $94 + (__ZN6vision17HammingDistance32Ejj(HEAP32[$0 + 64 >> 2] | 0, HEAP32[$1 + 64 >> 2] | 0) | 0) | 0; - $106 = $100 + (__ZN6vision17HammingDistance32Ejj(HEAP32[$0 + 68 >> 2] | 0, HEAP32[$1 + 68 >> 2] | 0) | 0) | 0; - $112 = $106 + (__ZN6vision17HammingDistance32Ejj(HEAP32[$0 + 72 >> 2] | 0, HEAP32[$1 + 72 >> 2] | 0) | 0) | 0; - $118 = $112 + (__ZN6vision17HammingDistance32Ejj(HEAP32[$0 + 76 >> 2] | 0, HEAP32[$1 + 76 >> 2] | 0) | 0) | 0; - $124 = $118 + (__ZN6vision17HammingDistance32Ejj(HEAP32[$0 + 80 >> 2] | 0, HEAP32[$1 + 80 >> 2] | 0) | 0) | 0; - $130 = $124 + (__ZN6vision17HammingDistance32Ejj(HEAP32[$0 + 84 >> 2] | 0, HEAP32[$1 + 84 >> 2] | 0) | 0) | 0; - $136 = $130 + (__ZN6vision17HammingDistance32Ejj(HEAP32[$0 + 88 >> 2] | 0, HEAP32[$1 + 88 >> 2] | 0) | 0) | 0; - return $136 + (__ZN6vision17HammingDistance32Ejj(HEAP32[$0 + 92 >> 2] | 0, HEAP32[$1 + 92 >> 2] | 0) | 0) | 0; -} - -function _jpeg_idct_2x4($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $108 = 0, $109 = 0, $123 = 0, $124 = 0, $13 = 0, $139 = 0, $141 = 0, $19 = 0, $21 = 0, $23 = 0, $29 = 0, $35 = 0, $37 = 0, $39 = 0, $41 = 0, $42 = 0, $45 = 0, $47 = 0, $5 = 0, $55 = 0, $61 = 0, $63 = 0, $65 = 0, $7 = 0, $71 = 0, $77 = 0, $79 = 0, $81 = 0, $83 = 0, $84 = 0, $85 = 0, $87 = 0, $89 = 0, $9 = 0, $91 = 0, $93 = 0, $94 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $5 = sp; - $7 = HEAP32[$0 + 336 >> 2] | 0; - $9 = HEAP32[$1 + 84 >> 2] | 0; - $13 = Math_imul(HEAP32[$9 >> 2] | 0, HEAP16[$2 >> 1] | 0) | 0; - $19 = Math_imul(HEAP32[$9 + 64 >> 2] | 0, HEAP16[$2 + 32 >> 1] | 0) | 0; - $21 = $19 + $13 << 13; - $23 = $13 - $19 << 13; - $29 = Math_imul(HEAP32[$9 + 32 >> 2] | 0, HEAP16[$2 + 16 >> 1] | 0) | 0; - $35 = Math_imul(HEAP32[$9 + 96 >> 2] | 0, HEAP16[$2 + 48 >> 1] | 0) | 0; - $37 = ($35 + $29 | 0) * 4433 | 0; - $39 = $37 + ($29 * 6270 | 0) | 0; - $41 = $37 + (Math_imul($35, -15137) | 0) | 0; - $42 = $39 + $21 | 0; - HEAP32[$5 >> 2] = $42; - HEAP32[$5 + 24 >> 2] = $21 - $39; - $45 = $41 + $23 | 0; - HEAP32[$5 + 8 >> 2] = $45; - $47 = $23 - $41 | 0; - HEAP32[$5 + 16 >> 2] = $47; - $55 = Math_imul(HEAP32[$9 + 4 >> 2] | 0, HEAP16[$2 + 2 >> 1] | 0) | 0; - $61 = Math_imul(HEAP32[$9 + 68 >> 2] | 0, HEAP16[$2 + 34 >> 1] | 0) | 0; - $63 = $61 + $55 << 13; - $65 = $55 - $61 << 13; - $71 = Math_imul(HEAP32[$9 + 36 >> 2] | 0, HEAP16[$2 + 18 >> 1] | 0) | 0; - $77 = Math_imul(HEAP32[$9 + 100 >> 2] | 0, HEAP16[$2 + 50 >> 1] | 0) | 0; - $79 = ($77 + $71 | 0) * 4433 | 0; - $81 = $79 + ($71 * 6270 | 0) | 0; - $83 = $79 + (Math_imul($77, -15137) | 0) | 0; - $84 = $81 + $63 | 0; - HEAP32[$5 + 4 >> 2] = $84; - $85 = $63 - $81 | 0; - HEAP32[$5 + 28 >> 2] = $85; - $87 = $83 + $65 | 0; - HEAP32[$5 + 12 >> 2] = $87; - $89 = $65 - $83 | 0; - HEAP32[$5 + 20 >> 2] = $89; - $91 = $7 + -384 | 0; - $93 = (HEAP32[$3 >> 2] | 0) + $4 | 0; - $94 = $42 + 33587200 | 0; - HEAP8[$93 >> 0] = HEAP8[$91 + (($94 + $84 | 0) >>> 16 & 1023) >> 0] | 0; - HEAP8[$93 + 1 >> 0] = HEAP8[$91 + (($94 - $84 | 0) >>> 16 & 1023) >> 0] | 0; - $108 = (HEAP32[$3 + 4 >> 2] | 0) + $4 | 0; - $109 = $45 + 33587200 | 0; - HEAP8[$108 >> 0] = HEAP8[$91 + (($109 + $87 | 0) >>> 16 & 1023) >> 0] | 0; - HEAP8[$108 + 1 >> 0] = HEAP8[$91 + (($109 - $87 | 0) >>> 16 & 1023) >> 0] | 0; - $123 = (HEAP32[$3 + 8 >> 2] | 0) + $4 | 0; - $124 = $47 + 33587200 | 0; - HEAP8[$123 >> 0] = HEAP8[$91 + (($124 + $89 | 0) >>> 16 & 1023) >> 0] | 0; - HEAP8[$123 + 1 >> 0] = HEAP8[$91 + (($124 - $89 | 0) >>> 16 & 1023) >> 0] | 0; - $139 = (HEAP32[$3 + 12 >> 2] | 0) + $4 | 0; - $141 = (HEAP32[$5 + 24 >> 2] | 0) + 33587200 | 0; - HEAP8[$139 >> 0] = HEAP8[$91 + (($141 + $85 | 0) >>> 16 & 1023) >> 0] | 0; - HEAP8[$139 + 1 >> 0] = HEAP8[$91 + (($141 - $85 | 0) >>> 16 & 1023) >> 0] | 0; - STACKTOP = sp; - return; -} - -function __ZNSt3__28ios_base4InitC2Ev($0) { - $0 = $0 | 0; - var $1 = 0, $14 = 0, $15 = 0, $16 = 0, $2 = 0, $22 = 0, $23 = 0, $3 = 0, $35 = 0, $38 = 0, $4 = 0, $42 = 0, $45 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0; - $1 = HEAP32[4272] | 0; - __ZNSt3__210__stdinbufIcEC2EP8_IO_FILEP11__mbstate_t(66144, $1, 66200); - HEAP32[16366] = 20700; - HEAP32[16368] = 20720; - HEAP32[16367] = 0; - __ZNSt3__28ios_base4initEPv(65472, 66144); - HEAP32[16386] = 0; - $2 = __ZNSt3__211char_traitsIcE3eofEv() | 0; - HEAP32[16387] = $2; - __ZNSt3__210__stdinbufIwEC2EP8_IO_FILEP11__mbstate_t(66208, $1, 66264); - HEAP32[16388] = 20748; - HEAP32[16390] = 20768; - HEAP32[16389] = 0; - __ZNSt3__28ios_base4initEPv(65560, 66208); - HEAP32[16408] = 0; - $3 = __ZNSt3__211char_traitsIwE3eofEv() | 0; - HEAP32[16409] = $3; - $4 = HEAP32[4273] | 0; - __ZNSt3__211__stdoutbufIcEC2EP8_IO_FILEP11__mbstate_t(66272, $4, 66320); - HEAP32[16410] = 20796; - HEAP32[16411] = 20816; - __ZNSt3__28ios_base4initEPv(65644, 66272); - HEAP32[16429] = 0; - $5 = __ZNSt3__211char_traitsIcE3eofEv() | 0; - HEAP32[16430] = $5; - __ZNSt3__211__stdoutbufIwEC2EP8_IO_FILEP11__mbstate_t(66328, $4, 66376); - HEAP32[16431] = 20844; - HEAP32[16432] = 20864; - __ZNSt3__28ios_base4initEPv(65728, 66328); - HEAP32[16450] = 0; - $6 = __ZNSt3__211char_traitsIwE3eofEv() | 0; - HEAP32[16451] = $6; - $7 = HEAP32[4271] | 0; - __ZNSt3__211__stdoutbufIcEC2EP8_IO_FILEP11__mbstate_t(66384, $7, 66432); - HEAP32[16452] = 20796; - HEAP32[16453] = 20816; - __ZNSt3__28ios_base4initEPv(65812, 66384); - HEAP32[16471] = 0; - $8 = __ZNSt3__211char_traitsIcE3eofEv() | 0; - HEAP32[16472] = $8; - $14 = HEAP32[65808 + (HEAP32[(HEAP32[16452] | 0) + -12 >> 2] | 0) + 24 >> 2] | 0; - HEAP32[16494] = 20796; - HEAP32[16495] = 20816; - __ZNSt3__28ios_base4initEPv(65980, $14); - HEAP32[16513] = 0; - $15 = __ZNSt3__211char_traitsIcE3eofEv() | 0; - HEAP32[16514] = $15; - __ZNSt3__211__stdoutbufIwEC2EP8_IO_FILEP11__mbstate_t(66440, $7, 66488); - HEAP32[16473] = 20844; - HEAP32[16474] = 20864; - __ZNSt3__28ios_base4initEPv(65896, 66440); - HEAP32[16492] = 0; - $16 = __ZNSt3__211char_traitsIwE3eofEv() | 0; - HEAP32[16493] = $16; - $22 = HEAP32[65892 + (HEAP32[(HEAP32[16473] | 0) + -12 >> 2] | 0) + 24 >> 2] | 0; - HEAP32[16515] = 20844; - HEAP32[16516] = 20864; - __ZNSt3__28ios_base4initEPv(66064, $22); - HEAP32[16534] = 0; - $23 = __ZNSt3__211char_traitsIwE3eofEv() | 0; - HEAP32[16535] = $23; - HEAP32[65464 + (HEAP32[(HEAP32[16366] | 0) + -12 >> 2] | 0) + 72 >> 2] = 65640; - HEAP32[65552 + (HEAP32[(HEAP32[16388] | 0) + -12 >> 2] | 0) + 72 >> 2] = 65724; - $35 = (HEAP32[16452] | 0) + -12 | 0; - $38 = 65808 + (HEAP32[$35 >> 2] | 0) + 4 | 0; - HEAP32[$38 >> 2] = HEAP32[$38 >> 2] | 8192; - $42 = (HEAP32[16473] | 0) + -12 | 0; - $45 = 65892 + (HEAP32[$42 >> 2] | 0) + 4 | 0; - HEAP32[$45 >> 2] = HEAP32[$45 >> 2] | 8192; - HEAP32[65808 + (HEAP32[$35 >> 2] | 0) + 72 >> 2] = 65640; - HEAP32[65892 + (HEAP32[$42 >> 2] | 0) + 72 >> 2] = 65724; - return; -} - -function __ZNK12_GLOBAL__N_116itanium_demangle14IntegerLiteral9printLeftERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $12 = 0, $17 = 0, $18 = 0, $2 = 0, $22 = 0, $23 = 0, $26 = 0, $3 = 0, $31 = 0, $32 = 0, $38 = 0, $4 = 0, $43 = 0, $44 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $tmpcast8$byval_copy = 0, sp = 0; +function __ZNKSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_RNS_8ios_baseERjRb($this, $__b, $__e, $__iob, $__err, $__v) { + $this = $this | 0; + $__b = $__b | 0; + $__e = $__e | 0; + $__iob = $__iob | 0; + $__err = $__err | 0; + $__v = $__v | 0; + var $1 = 0, $__lv = 0, $add$ptr = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, $agg$tmp2 = 0, $agg$tmp9 = 0, $agg$tmp9$byval_copy = 0, $arraydestroy$elementPast = 0, $call$i = 0, $call$i16 = 0, $call3 = 0, $frombool = 0, $retval$sroa$0$0 = 0, $retval$sroa$0$0$copyload15 = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 64 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(64); - $tmpcast8$byval_copy = sp + 56 | 0; - $2 = sp + 48 | 0; - $3 = sp + 16 | 0; - $4 = sp + 40 | 0; - $5 = sp + 32 | 0; - $6 = sp + 24 | 0; - $7 = sp + 8 | 0; - $8 = sp; - $9 = $0 + 8 | 0; - if ((__ZNK12_GLOBAL__N_110StringView4sizeEv($9) | 0) >>> 0 > 3) { - __ZN12_GLOBAL__N_110StringViewC2EPKc($2, 51968); - HEAP32[$tmpcast8$byval_copy >> 2] = HEAP32[$2 >> 2]; - HEAP32[$tmpcast8$byval_copy + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $tmpcast8$byval_copy); - $12 = $9; - $17 = HEAP32[$12 + 4 >> 2] | 0; - $18 = $3; - HEAP32[$18 >> 2] = HEAP32[$12 >> 2]; - HEAP32[$18 + 4 >> 2] = $17; - HEAP32[$tmpcast8$byval_copy >> 2] = HEAP32[$3 >> 2]; - HEAP32[$tmpcast8$byval_copy + 4 >> 2] = HEAP32[$3 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $tmpcast8$byval_copy); - __ZN12_GLOBAL__N_110StringViewC2EPKc($4, 51964); - HEAP32[$tmpcast8$byval_copy >> 2] = HEAP32[$4 >> 2]; - HEAP32[$tmpcast8$byval_copy + 4 >> 2] = HEAP32[$4 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $tmpcast8$byval_copy); - } - $22 = $0 + 16 | 0; - $23 = __ZNK12_GLOBAL__N_110StringViewixEm($22) | 0; - if ((HEAP8[$23 >> 0] | 0) == 110) { - __ZN12_GLOBAL__N_110StringViewC2EPKc($5, 52555); - HEAP32[$tmpcast8$byval_copy >> 2] = HEAP32[$5 >> 2]; - HEAP32[$tmpcast8$byval_copy + 4 >> 2] = HEAP32[$5 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $tmpcast8$byval_copy); - __ZNK12_GLOBAL__N_110StringView9dropFrontEm($6, $22, 1); - HEAP32[$tmpcast8$byval_copy >> 2] = HEAP32[$6 >> 2]; - HEAP32[$tmpcast8$byval_copy + 4 >> 2] = HEAP32[$6 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $tmpcast8$byval_copy); + STACKTOP = STACKTOP + 48 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); + $agg$tmp9$byval_copy = sp + 40 | 0; + $agg$tmp$byval_copy = sp; + $__lv = sp + 32 | 0; + $agg$tmp = sp + 36 | 0; + $agg$tmp2 = sp + 28 | 0; + $agg$tmp9 = sp + 24 | 0; + if (!(HEAP32[$__iob + 4 >> 2] & 1)) { + HEAP32[$__lv >> 2] = -1; + $1 = HEAP32[(HEAP32[$this >> 2] | 0) + 16 >> 2] | 0; + HEAP32[$agg$tmp >> 2] = HEAP32[$__b >> 2]; + HEAP32[$agg$tmp2 >> 2] = HEAP32[$__e >> 2]; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp9$byval_copy >> 2] = HEAP32[$agg$tmp2 >> 2]; + $call3 = FUNCTION_TABLE_iiiiiii[$1 & 63]($this, $agg$tmp$byval_copy, $agg$tmp9$byval_copy, $__iob, $__err, $__lv) | 0; + HEAP32[$__b >> 2] = $call3; + switch (HEAP32[$__lv >> 2] | 0) { + case 0: + { + HEAP8[$__v >> 0] = 0; + break; + } + case 1: + { + HEAP8[$__v >> 0] = 1; + break; + } + default: + { + HEAP8[$__v >> 0] = 1; + HEAP32[$__err >> 2] = 4; + } + } + $retval$sroa$0$0 = HEAP32[$__b >> 2] | 0; } else { - $26 = $22; - $31 = HEAP32[$26 + 4 >> 2] | 0; - $32 = $7; - HEAP32[$32 >> 2] = HEAP32[$26 >> 2]; - HEAP32[$32 + 4 >> 2] = $31; - HEAP32[$tmpcast8$byval_copy >> 2] = HEAP32[$7 >> 2]; - HEAP32[$tmpcast8$byval_copy + 4 >> 2] = HEAP32[$7 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $tmpcast8$byval_copy); - } - if ((__ZNK12_GLOBAL__N_110StringView4sizeEv($9) | 0) >>> 0 < 4) { - $38 = $9; - $43 = HEAP32[$38 + 4 >> 2] | 0; - $44 = $8; - HEAP32[$44 >> 2] = HEAP32[$38 >> 2]; - HEAP32[$44 + 4 >> 2] = $43; - HEAP32[$tmpcast8$byval_copy >> 2] = HEAP32[$8 >> 2]; - HEAP32[$tmpcast8$byval_copy + 4 >> 2] = HEAP32[$8 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $tmpcast8$byval_copy); + __ZNKSt3__28ios_base6getlocEv($agg$tmp9$byval_copy, $__iob); + $call$i = __ZNKSt3__26locale9use_facetERNS0_2idE($agg$tmp9$byval_copy, 67392) | 0; + __ZNSt3__26localeD2Ev($agg$tmp9$byval_copy); + __ZNKSt3__28ios_base6getlocEv($agg$tmp9$byval_copy, $__iob); + $call$i16 = __ZNKSt3__26locale9use_facetERNS0_2idE($agg$tmp9$byval_copy, 67400) | 0; + __ZNSt3__26localeD2Ev($agg$tmp9$byval_copy); + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$call$i16 >> 2] | 0) + 24 >> 2] & 255]($agg$tmp$byval_copy, $call$i16); + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$call$i16 >> 2] | 0) + 28 >> 2] & 255]($agg$tmp$byval_copy + 12 | 0, $call$i16); + HEAP32[$agg$tmp9 >> 2] = HEAP32[$__e >> 2]; + $add$ptr = $agg$tmp$byval_copy + 24 | 0; + HEAP32[$agg$tmp9$byval_copy >> 2] = HEAP32[$agg$tmp9 >> 2]; + $frombool = (__ZNSt3__214__scan_keywordINS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEPKNS_12basic_stringIwS3_NS_9allocatorIwEEEENS_5ctypeIwEEEET0_RT_SE_SD_SD_RKT1_Rjb($__b, $agg$tmp9$byval_copy, $agg$tmp$byval_copy, $add$ptr, $call$i, $__err, 1) | 0) == ($agg$tmp$byval_copy | 0) & 1; + HEAP8[$__v >> 0] = $frombool; + $retval$sroa$0$0$copyload15 = HEAP32[$__b >> 2] | 0; + $arraydestroy$elementPast = $add$ptr; + do { + $arraydestroy$elementPast = $arraydestroy$elementPast + -12 | 0; + __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev($arraydestroy$elementPast); + } while (($arraydestroy$elementPast | 0) != ($agg$tmp$byval_copy | 0)); + $retval$sroa$0$0 = $retval$sroa$0$0$copyload15; } STACKTOP = sp; - return; + return $retval$sroa$0$0 | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E23parseBaseUnresolvedNameEv($0) { - $0 = $0 | 0; - var $$0 = 0, $$1 = 0, $$2 = 0, $$byval_copy1 = 0, $1 = 0, $11 = 0, $12 = 0, $16 = 0, $2 = 0, $3 = 0, sp = 0; +function __ZNKSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_RNS_8ios_baseERjRb($this, $__b, $__e, $__iob, $__err, $__v) { + $this = $this | 0; + $__b = $__b | 0; + $__e = $__e | 0; + $__iob = $__iob | 0; + $__err = $__err | 0; + $__v = $__v | 0; + var $1 = 0, $__lv = 0, $add$ptr = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, $agg$tmp2 = 0, $agg$tmp9 = 0, $agg$tmp9$byval_copy = 0, $arraydestroy$elementPast = 0, $call$i = 0, $call$i16 = 0, $call3 = 0, $frombool = 0, $retval$sroa$0$0 = 0, $retval$sroa$0$0$copyload15 = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $$byval_copy1 = sp + 24 | 0; - $1 = sp + 16 | 0; - $2 = sp + 8 | 0; - $3 = sp; - do if ((((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($0, 0) | 0) << 24 >> 24) + -48 | 0) >>> 0 < 10) $$2 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E13parseSimpleIdEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0) | 0; else { - __ZN12_GLOBAL__N_110StringViewC2EPKc($1, 53757); - HEAP32[$$byval_copy1 >> 2] = HEAP32[$1 >> 2]; - HEAP32[$$byval_copy1 + 4 >> 2] = HEAP32[$1 + 4 >> 2]; - if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($0, $$byval_copy1) | 0) { - $$2 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E19parseDestructorNameEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0) | 0; - break; - } - __ZN12_GLOBAL__N_110StringViewC2EPKc($2, 53760); - HEAP32[$$byval_copy1 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy1 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($0, $$byval_copy1) | 0; - $11 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0; - $12 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E17parseOperatorNameEPNS5_9NameStateE($11, 0) | 0; - HEAP32[$$byval_copy1 >> 2] = $12; - if ($12) if ((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($0, 0) | 0) << 24 >> 24 == 73) { - $16 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E17parseTemplateArgsEb($11, 0) | 0; - HEAP32[$3 >> 2] = $16; - if (!$16) $$0 = 0; else $$0 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_20NameWithTemplateArgsEJRPNS0_4NodeESA_EEES9_DpOT0_($0, $$byval_copy1, $3) | 0; - $$1 = $$0; - } else $$1 = $12; else $$1 = 0; - $$2 = $$1; - } while (0); + STACKTOP = STACKTOP + 48 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); + $agg$tmp9$byval_copy = sp + 40 | 0; + $agg$tmp$byval_copy = sp; + $__lv = sp + 32 | 0; + $agg$tmp = sp + 36 | 0; + $agg$tmp2 = sp + 28 | 0; + $agg$tmp9 = sp + 24 | 0; + if (!(HEAP32[$__iob + 4 >> 2] & 1)) { + HEAP32[$__lv >> 2] = -1; + $1 = HEAP32[(HEAP32[$this >> 2] | 0) + 16 >> 2] | 0; + HEAP32[$agg$tmp >> 2] = HEAP32[$__b >> 2]; + HEAP32[$agg$tmp2 >> 2] = HEAP32[$__e >> 2]; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp9$byval_copy >> 2] = HEAP32[$agg$tmp2 >> 2]; + $call3 = FUNCTION_TABLE_iiiiiii[$1 & 63]($this, $agg$tmp$byval_copy, $agg$tmp9$byval_copy, $__iob, $__err, $__lv) | 0; + HEAP32[$__b >> 2] = $call3; + switch (HEAP32[$__lv >> 2] | 0) { + case 0: + { + HEAP8[$__v >> 0] = 0; + break; + } + case 1: + { + HEAP8[$__v >> 0] = 1; + break; + } + default: + { + HEAP8[$__v >> 0] = 1; + HEAP32[$__err >> 2] = 4; + } + } + $retval$sroa$0$0 = HEAP32[$__b >> 2] | 0; + } else { + __ZNKSt3__28ios_base6getlocEv($agg$tmp9$byval_copy, $__iob); + $call$i = __ZNKSt3__26locale9use_facetERNS0_2idE($agg$tmp9$byval_copy, 67360) | 0; + __ZNSt3__26localeD2Ev($agg$tmp9$byval_copy); + __ZNKSt3__28ios_base6getlocEv($agg$tmp9$byval_copy, $__iob); + $call$i16 = __ZNKSt3__26locale9use_facetERNS0_2idE($agg$tmp9$byval_copy, 67376) | 0; + __ZNSt3__26localeD2Ev($agg$tmp9$byval_copy); + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$call$i16 >> 2] | 0) + 24 >> 2] & 255]($agg$tmp$byval_copy, $call$i16); + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$call$i16 >> 2] | 0) + 28 >> 2] & 255]($agg$tmp$byval_copy + 12 | 0, $call$i16); + HEAP32[$agg$tmp9 >> 2] = HEAP32[$__e >> 2]; + $add$ptr = $agg$tmp$byval_copy + 24 | 0; + HEAP32[$agg$tmp9$byval_copy >> 2] = HEAP32[$agg$tmp9 >> 2]; + $frombool = (__ZNSt3__214__scan_keywordINS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEPKNS_12basic_stringIcS3_NS_9allocatorIcEEEENS_5ctypeIcEEEET0_RT_SE_SD_SD_RKT1_Rjb($__b, $agg$tmp9$byval_copy, $agg$tmp$byval_copy, $add$ptr, $call$i, $__err, 1) | 0) == ($agg$tmp$byval_copy | 0) & 1; + HEAP8[$__v >> 0] = $frombool; + $retval$sroa$0$0$copyload15 = HEAP32[$__b >> 2] | 0; + $arraydestroy$elementPast = $add$ptr; + do { + $arraydestroy$elementPast = $arraydestroy$elementPast + -12 | 0; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($arraydestroy$elementPast); + } while (($arraydestroy$elementPast | 0) != ($agg$tmp$byval_copy | 0)); + $retval$sroa$0$0 = $retval$sroa$0$0$copyload15; + } STACKTOP = sp; - return $$2 | 0; + return $retval$sroa$0$0 | 0; } -function __ZNK12_GLOBAL__N_116itanium_demangle12FunctionType10printRightERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$byval_copy6 = 0, $11 = 0, $15 = 0, $16 = 0, $2 = 0, $20 = 0, $23 = 0, $27 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, sp = 0; +function __ZN6vision18HammingDistance768EPKjS1_($a, $b) { + $a = $a | 0; + $b = $b | 0; + var $add = 0, $add12 = 0, $add16 = 0, $add20 = 0, $add24 = 0, $add28 = 0, $add32 = 0, $add36 = 0, $add40 = 0, $add44 = 0, $add48 = 0, $add52 = 0, $add56 = 0, $add60 = 0, $add64 = 0, $add68 = 0, $add72 = 0, $add76 = 0, $add8 = 0, $add80 = 0, $add84 = 0, $add88 = 0, $call = 0; + $call = __ZN6vision17HammingDistance32Ejj(HEAP32[$a >> 2] | 0, HEAP32[$b >> 2] | 0) | 0; + $add = (__ZN6vision17HammingDistance32Ejj(HEAP32[$a + 4 >> 2] | 0, HEAP32[$b + 4 >> 2] | 0) | 0) + $call | 0; + $add8 = $add + (__ZN6vision17HammingDistance32Ejj(HEAP32[$a + 8 >> 2] | 0, HEAP32[$b + 8 >> 2] | 0) | 0) | 0; + $add12 = $add8 + (__ZN6vision17HammingDistance32Ejj(HEAP32[$a + 12 >> 2] | 0, HEAP32[$b + 12 >> 2] | 0) | 0) | 0; + $add16 = $add12 + (__ZN6vision17HammingDistance32Ejj(HEAP32[$a + 16 >> 2] | 0, HEAP32[$b + 16 >> 2] | 0) | 0) | 0; + $add20 = $add16 + (__ZN6vision17HammingDistance32Ejj(HEAP32[$a + 20 >> 2] | 0, HEAP32[$b + 20 >> 2] | 0) | 0) | 0; + $add24 = $add20 + (__ZN6vision17HammingDistance32Ejj(HEAP32[$a + 24 >> 2] | 0, HEAP32[$b + 24 >> 2] | 0) | 0) | 0; + $add28 = $add24 + (__ZN6vision17HammingDistance32Ejj(HEAP32[$a + 28 >> 2] | 0, HEAP32[$b + 28 >> 2] | 0) | 0) | 0; + $add32 = $add28 + (__ZN6vision17HammingDistance32Ejj(HEAP32[$a + 32 >> 2] | 0, HEAP32[$b + 32 >> 2] | 0) | 0) | 0; + $add36 = $add32 + (__ZN6vision17HammingDistance32Ejj(HEAP32[$a + 36 >> 2] | 0, HEAP32[$b + 36 >> 2] | 0) | 0) | 0; + $add40 = $add36 + (__ZN6vision17HammingDistance32Ejj(HEAP32[$a + 40 >> 2] | 0, HEAP32[$b + 40 >> 2] | 0) | 0) | 0; + $add44 = $add40 + (__ZN6vision17HammingDistance32Ejj(HEAP32[$a + 44 >> 2] | 0, HEAP32[$b + 44 >> 2] | 0) | 0) | 0; + $add48 = $add44 + (__ZN6vision17HammingDistance32Ejj(HEAP32[$a + 48 >> 2] | 0, HEAP32[$b + 48 >> 2] | 0) | 0) | 0; + $add52 = $add48 + (__ZN6vision17HammingDistance32Ejj(HEAP32[$a + 52 >> 2] | 0, HEAP32[$b + 52 >> 2] | 0) | 0) | 0; + $add56 = $add52 + (__ZN6vision17HammingDistance32Ejj(HEAP32[$a + 56 >> 2] | 0, HEAP32[$b + 56 >> 2] | 0) | 0) | 0; + $add60 = $add56 + (__ZN6vision17HammingDistance32Ejj(HEAP32[$a + 60 >> 2] | 0, HEAP32[$b + 60 >> 2] | 0) | 0) | 0; + $add64 = $add60 + (__ZN6vision17HammingDistance32Ejj(HEAP32[$a + 64 >> 2] | 0, HEAP32[$b + 64 >> 2] | 0) | 0) | 0; + $add68 = $add64 + (__ZN6vision17HammingDistance32Ejj(HEAP32[$a + 68 >> 2] | 0, HEAP32[$b + 68 >> 2] | 0) | 0) | 0; + $add72 = $add68 + (__ZN6vision17HammingDistance32Ejj(HEAP32[$a + 72 >> 2] | 0, HEAP32[$b + 72 >> 2] | 0) | 0) | 0; + $add76 = $add72 + (__ZN6vision17HammingDistance32Ejj(HEAP32[$a + 76 >> 2] | 0, HEAP32[$b + 76 >> 2] | 0) | 0) | 0; + $add80 = $add76 + (__ZN6vision17HammingDistance32Ejj(HEAP32[$a + 80 >> 2] | 0, HEAP32[$b + 80 >> 2] | 0) | 0) | 0; + $add84 = $add80 + (__ZN6vision17HammingDistance32Ejj(HEAP32[$a + 84 >> 2] | 0, HEAP32[$b + 84 >> 2] | 0) | 0) | 0; + $add88 = $add84 + (__ZN6vision17HammingDistance32Ejj(HEAP32[$a + 88 >> 2] | 0, HEAP32[$b + 88 >> 2] | 0) | 0) | 0; + return $add88 + (__ZN6vision17HammingDistance32Ejj(HEAP32[$a + 92 >> 2] | 0, HEAP32[$b + 92 >> 2] | 0) | 0) | 0; +} + +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E18parseFunctionParamEv($this) { + $this = $this | 0; + var $agg$tmp = 0, $agg$tmp7 = 0, $agg$tmp7$byval_copy = 0, $retval$0 = 0, $retval$1 = 0, $retval$2 = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 64 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(64); - $$byval_copy6 = sp + 56 | 0; - $2 = sp + 48 | 0; - $3 = sp + 40 | 0; - $4 = sp + 32 | 0; - $5 = sp + 24 | 0; - $6 = sp + 16 | 0; - $7 = sp + 8 | 0; - $8 = sp; - __ZN12_GLOBAL__N_110StringViewC2EPKc($2, 51968); - HEAP32[$$byval_copy6 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy6 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy6); - __ZNK12_GLOBAL__N_116itanium_demangle9NodeArray14printWithCommaERNS_12OutputStreamE($0 + 12 | 0, $1); - __ZN12_GLOBAL__N_110StringViewC2EPKc($3, 51964); - HEAP32[$$byval_copy6 >> 2] = HEAP32[$3 >> 2]; - HEAP32[$$byval_copy6 + 4 >> 2] = HEAP32[$3 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy6); - $11 = HEAP32[$0 + 8 >> 2] | 0; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$11 >> 2] | 0) + 20 >> 2] & 255]($11, $1); - $15 = $0 + 20 | 0; - $16 = HEAP32[$15 >> 2] | 0; - if (!($16 & 1)) $20 = $16; else { - __ZN12_GLOBAL__N_110StringViewC2EPKc($4, 56136); - HEAP32[$$byval_copy6 >> 2] = HEAP32[$4 >> 2]; - HEAP32[$$byval_copy6 + 4 >> 2] = HEAP32[$4 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy6); - $20 = HEAP32[$15 >> 2] | 0; - } - if (!($20 & 2)) $23 = $20; else { - __ZN12_GLOBAL__N_110StringViewC2EPKc($5, 56143); - HEAP32[$$byval_copy6 >> 2] = HEAP32[$5 >> 2]; - HEAP32[$$byval_copy6 + 4 >> 2] = HEAP32[$5 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy6); - $23 = HEAP32[$15 >> 2] | 0; - } - if ($23 & 4 | 0) { - __ZN12_GLOBAL__N_110StringViewC2EPKc($6, 56153); - HEAP32[$$byval_copy6 >> 2] = HEAP32[$6 >> 2]; - HEAP32[$$byval_copy6 + 4 >> 2] = HEAP32[$6 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy6); - } - switch (HEAP8[$0 + 24 >> 0] | 0) { - case 1: - { - __ZN12_GLOBAL__N_110StringViewC2EPKc($7, 56338); - HEAP32[$$byval_copy6 >> 2] = HEAP32[$7 >> 2]; - HEAP32[$$byval_copy6 + 4 >> 2] = HEAP32[$7 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy6); - break; - } - case 2: - { - __ZN12_GLOBAL__N_110StringViewC2EPKc($8, 56341); - HEAP32[$$byval_copy6 >> 2] = HEAP32[$8 >> 2]; - HEAP32[$$byval_copy6 + 4 >> 2] = HEAP32[$8 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy6); - break; - } - default: - {} - } - $27 = $0 + 28 | 0; - if (HEAP32[$27 >> 2] | 0) { - __ZN12_GLOBAL__N_112OutputStreampLEc($1, 32); - __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(HEAP32[$27 >> 2] | 0, $1); + STACKTOP = STACKTOP + 32 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); + $agg$tmp7$byval_copy = sp + 16 | 0; + $agg$tmp = sp + 8 | 0; + $agg$tmp7 = sp; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, 55753); + HEAP32[$agg$tmp7$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp7$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + if (!(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($this, $agg$tmp7$byval_copy) | 0)) { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp7, 55756); + HEAP32[$agg$tmp7$byval_copy >> 2] = HEAP32[$agg$tmp7 >> 2]; + HEAP32[$agg$tmp7$byval_copy + 4 >> 2] = HEAP32[$agg$tmp7 + 4 >> 2]; + if ((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($this, $agg$tmp7$byval_copy) | 0 ? (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E11parseNumberEb($agg$tmp7$byval_copy, $this, 0), !(__ZNK12_GLOBAL__N_110StringView5emptyEv($agg$tmp7$byval_copy) | 0)) : 0) ? __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($this, 112) | 0 : 0) { + __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E17parseCVQualifiersEv($this) | 0; + __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E11parseNumberEb($agg$tmp7$byval_copy, $this, 0); + if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($this, 95) | 0) $retval$1 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_13FunctionParamEJRNS_10StringViewEEEEPNS0_4NodeEDpOT0_($this, $agg$tmp7$byval_copy) | 0; else $retval$1 = 0; + $retval$2 = $retval$1; + } else $retval$2 = 0; + } else { + __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E17parseCVQualifiersEv($this) | 0; + __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E11parseNumberEb($agg$tmp7$byval_copy, $this, 0); + if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($this, 95) | 0) $retval$0 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_13FunctionParamEJRNS_10StringViewEEEEPNS0_4NodeEDpOT0_($this, $agg$tmp7$byval_copy) | 0; else $retval$0 = 0; + $retval$2 = $retval$0; } STACKTOP = sp; - return; + return $retval$2 | 0; } -function _h2v1_merged_upsample($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $$0110$lcssa = 0, $$0110117 = 0, $$0111$lcssa = 0, $$0111116 = 0, $$0112$lcssa = 0, $$0112115 = 0, $$0113$lcssa = 0, $$0113114 = 0, $$0118 = 0, $100 = 0, $11 = 0, $13 = 0, $15 = 0, $18 = 0, $22 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $30 = 0, $32 = 0, $33 = 0, $36 = 0, $39 = 0, $41 = 0, $47 = 0, $49 = 0, $5 = 0, $52 = 0, $67 = 0, $7 = 0, $83 = 0, $86 = 0, $88 = 0, $9 = 0, $96 = 0, $98 = 0, $scevgep = 0; - $5 = HEAP32[$0 + 476 >> 2] | 0; - $7 = HEAP32[$0 + 336 >> 2] | 0; - $9 = HEAP32[$5 + 16 >> 2] | 0; - $11 = HEAP32[$5 + 20 >> 2] | 0; - $13 = HEAP32[$5 + 24 >> 2] | 0; - $15 = HEAP32[$5 + 28 >> 2] | 0; - $18 = HEAP32[(HEAP32[$1 >> 2] | 0) + ($2 << 2) >> 2] | 0; - $22 = HEAP32[(HEAP32[$1 + 4 >> 2] | 0) + ($2 << 2) >> 2] | 0; - $26 = HEAP32[(HEAP32[$1 + 8 >> 2] | 0) + ($2 << 2) >> 2] | 0; - $27 = HEAP32[$3 >> 2] | 0; - $28 = $0 + 112 | 0; - $29 = HEAP32[$28 >> 2] | 0; - $30 = $29 >>> 1; - if (!$30) { - $$0110$lcssa = $26; - $$0111$lcssa = $22; - $$0112$lcssa = $18; - $$0113$lcssa = $27; - $83 = $29; +function _jinit_merged_upsampler($cinfo) { + $cinfo = $cinfo | 0; + var $10 = 0, $17 = 0, $18 = 0, $19 = 0, $Cb_b_tab$i = 0, $Cr_g_tab$i = 0, $Cr_r_tab$i = 0, $add21$i = 0, $add21$i48 = 0, $call = 0, $call$i = 0, $call10 = 0, $call10$i = 0, $call4$i = 0, $call7$i = 0, $cmp15 = 0, $i$028$i = 0, $i$028$i36 = 0, $mem = 0, $mul = 0, $mul17$i = 0, $mul17$i45 = 0, $upsample1 = 0, $upsample6 = 0, $x$029$i = 0, $x$029$i35 = 0; + $mem = $cinfo + 4 | 0; + $call = FUNCTION_TABLE_iiii[HEAP32[HEAP32[$mem >> 2] >> 2] & 63]($cinfo, 1, 48) | 0; + $upsample1 = $cinfo + 476 | 0; + HEAP32[$upsample1 >> 2] = $call; + HEAP32[$call >> 2] = 201; + HEAP32[$call + 8 >> 2] = 0; + $mul = Math_imul(HEAP32[$cinfo + 120 >> 2] | 0, HEAP32[$cinfo + 112 >> 2] | 0) | 0; + HEAP32[$call + 40 >> 2] = $mul; + $upsample6 = $call + 4 | 0; + if ((HEAP32[$cinfo + 320 >> 2] | 0) == 2) { + HEAP32[$upsample6 >> 2] = 4; + HEAP32[$call + 12 >> 2] = 14; + $call10 = FUNCTION_TABLE_iiii[HEAP32[(HEAP32[$mem >> 2] | 0) + 4 >> 2] & 63]($cinfo, 1, $mul) | 0; + HEAP32[$call + 32 >> 2] = $call10; + $10 = HEAP32[$upsample1 >> 2] | 0; } else { - $scevgep = $22 + $30 | 0; - $32 = $29 & -2; - $33 = $30 * 6 | 0; - $$0110117 = $26; - $$0111116 = $22; - $$0112115 = $18; - $$0113114 = $27; - $$0118 = $30; + HEAP32[$upsample6 >> 2] = 5; + HEAP32[$call + 12 >> 2] = 15; + HEAP32[$call + 32 >> 2] = 0; + $10 = $call; + } + $cmp15 = (HEAP32[$cinfo + 40 >> 2] | 0) == 7; + $call$i = FUNCTION_TABLE_iiii[HEAP32[HEAP32[$mem >> 2] >> 2] & 63]($cinfo, 1, 1024) | 0; + $Cr_r_tab$i = $10 + 16 | 0; + HEAP32[$Cr_r_tab$i >> 2] = $call$i; + $call4$i = FUNCTION_TABLE_iiii[HEAP32[HEAP32[$mem >> 2] >> 2] & 63]($cinfo, 1, 1024) | 0; + $Cb_b_tab$i = $10 + 20 | 0; + HEAP32[$Cb_b_tab$i >> 2] = $call4$i; + $call7$i = FUNCTION_TABLE_iiii[HEAP32[HEAP32[$mem >> 2] >> 2] & 63]($cinfo, 1, 1024) | 0; + $Cr_g_tab$i = $10 + 24 | 0; + HEAP32[$Cr_g_tab$i >> 2] = $call7$i; + $call10$i = FUNCTION_TABLE_iiii[HEAP32[HEAP32[$mem >> 2] >> 2] & 63]($cinfo, 1, 1024) | 0; + HEAP32[$10 + 28 >> 2] = $call10$i; + $17 = HEAP32[$Cr_r_tab$i >> 2] | 0; + $18 = HEAP32[$Cb_b_tab$i >> 2] | 0; + $19 = HEAP32[$Cr_g_tab$i >> 2] | 0; + if ($cmp15) { + $i$028$i = 0; + $x$029$i = -128; while (1) { - $36 = HEAPU8[$$0111116 >> 0] | 0; - $39 = HEAPU8[$$0110117 >> 0] | 0; - $41 = HEAP32[$9 + ($39 << 2) >> 2] | 0; - $47 = (HEAP32[$13 + ($39 << 2) >> 2] | 0) + (HEAP32[$15 + ($36 << 2) >> 2] | 0) >> 16; - $49 = HEAP32[$11 + ($36 << 2) >> 2] | 0; - $52 = HEAPU8[$$0112115 >> 0] | 0; - HEAP8[$$0113114 >> 0] = HEAP8[$7 + ($41 + $52) >> 0] | 0; - HEAP8[$$0113114 + 1 >> 0] = HEAP8[$7 + ($47 + $52) >> 0] | 0; - HEAP8[$$0113114 + 2 >> 0] = HEAP8[$7 + ($49 + $52) >> 0] | 0; - $67 = HEAPU8[$$0112115 + 1 >> 0] | 0; - HEAP8[$$0113114 + 3 >> 0] = HEAP8[$7 + ($41 + $67) >> 0] | 0; - HEAP8[$$0113114 + 4 >> 0] = HEAP8[$7 + ($47 + $67) >> 0] | 0; - HEAP8[$$0113114 + 5 >> 0] = HEAP8[$7 + ($49 + $67) >> 0] | 0; - $$0118 = $$0118 + -1 | 0; - if (!$$0118) break; else { - $$0110117 = $$0110117 + 1 | 0; - $$0111116 = $$0111116 + 1 | 0; - $$0112115 = $$0112115 + 2 | 0; - $$0113114 = $$0113114 + 6 | 0; - } - } - $$0110$lcssa = $26 + $30 | 0; - $$0111$lcssa = $scevgep; - $$0112$lcssa = $18 + $32 | 0; - $$0113$lcssa = $27 + $33 | 0; - $83 = HEAP32[$28 >> 2] | 0; - } - if (!($83 & 1)) return; - $86 = HEAPU8[$$0111$lcssa >> 0] | 0; - $88 = HEAPU8[$$0110$lcssa >> 0] | 0; - $96 = (HEAP32[$13 + ($88 << 2) >> 2] | 0) + (HEAP32[$15 + ($86 << 2) >> 2] | 0) >> 16; - $98 = HEAP32[$11 + ($86 << 2) >> 2] | 0; - $100 = HEAPU8[$$0112$lcssa >> 0] | 0; - HEAP8[$$0113$lcssa >> 0] = HEAP8[$7 + ((HEAP32[$9 + ($88 << 2) >> 2] | 0) + $100) >> 0] | 0; - HEAP8[$$0113$lcssa + 1 >> 0] = HEAP8[$7 + ($96 + $100) >> 0] | 0; - HEAP8[$$0113$lcssa + 2 >> 0] = HEAP8[$7 + ($98 + $100) >> 0] | 0; - return; -} - -function ___stpncpy($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$0$lcssa = 0, $$037$lcssa = 0, $$03754 = 0, $$038$lcssa = 0, $$03867 = 0, $$039$lcssa = 0, $$03966 = 0, $$042$lcssa = 0, $$04265 = 0, $$055 = 0, $$1$lcssa = 0, $$140 = 0, $$143 = 0, $$153 = 0, $$2 = 0, $$24147 = 0, $$24446 = 0, $$345 = 0, $$348 = 0, $$4 = 0, $$lcssa = 0, $10 = 0, $11 = 0, $13 = 0, $14 = 0, $15 = 0, $19 = 0, $22 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $33 = 0, $37 = 0, label = 0; - $3 = $1; - L1 : do if (!(($3 ^ $0) & 3)) { - $10 = ($2 | 0) != 0; - if ($10 & ($3 & 3 | 0) != 0) { - $$03867 = $2; - $$03966 = $1; - $$04265 = $0; - while (1) { - $11 = HEAP8[$$03966 >> 0] | 0; - HEAP8[$$04265 >> 0] = $11; - if (!($11 << 24 >> 24)) { - $$345 = $$04265; - $$4 = $$03867; - break L1; - } - $13 = $$03867 + -1 | 0; - $14 = $$03966 + 1 | 0; - $15 = $$04265 + 1 | 0; - $19 = ($13 | 0) != 0; - if ($19 & ($14 & 3 | 0) != 0) { - $$03867 = $13; - $$03966 = $14; - $$04265 = $15; - } else { - $$038$lcssa = $13; - $$039$lcssa = $14; - $$042$lcssa = $15; - $$lcssa = $19; - break; - } - } - } else { - $$038$lcssa = $2; - $$039$lcssa = $1; - $$042$lcssa = $0; - $$lcssa = $10; - } - if ($$lcssa) if (!(HEAP8[$$039$lcssa >> 0] | 0)) { - $$345 = $$042$lcssa; - $$4 = $$038$lcssa; - } else { - L11 : do if ($$038$lcssa >>> 0 > 3) { - $$03754 = $$042$lcssa; - $$055 = $$039$lcssa; - $$153 = $$038$lcssa; - while (1) { - $22 = HEAP32[$$055 >> 2] | 0; - if (($22 & -2139062144 ^ -2139062144) & $22 + -16843009 | 0) { - $$0$lcssa = $$055; - $$037$lcssa = $$03754; - $$1$lcssa = $$153; - break L11; - } - HEAP32[$$03754 >> 2] = $22; - $28 = $$153 + -4 | 0; - $29 = $$055 + 4 | 0; - $30 = $$03754 + 4 | 0; - if ($28 >>> 0 > 3) { - $$03754 = $30; - $$055 = $29; - $$153 = $28; - } else { - $$0$lcssa = $29; - $$037$lcssa = $30; - $$1$lcssa = $28; - break; - } - } - } else { - $$0$lcssa = $$039$lcssa; - $$037$lcssa = $$042$lcssa; - $$1$lcssa = $$038$lcssa; - } while (0); - $$140 = $$0$lcssa; - $$143 = $$037$lcssa; - $$2 = $$1$lcssa; - label = 13; - } else { - $$345 = $$042$lcssa; - $$4 = 0; + HEAP32[$17 + ($i$028$i << 2) >> 2] = ($x$029$i * 183763 | 0) + 32768 >> 16; + HEAP32[$18 + ($i$028$i << 2) >> 2] = ($x$029$i * 232260 | 0) + 32768 >> 16; + $mul17$i = Math_imul($x$029$i, -93603) | 0; + HEAP32[$19 + ($i$028$i << 2) >> 2] = $mul17$i; + $add21$i = (Math_imul($x$029$i, -45107) | 0) + 32768 | 0; + HEAP32[$call10$i + ($i$028$i << 2) >> 2] = $add21$i; + $i$028$i = $i$028$i + 1 | 0; + if (($i$028$i | 0) == 256) break; else $x$029$i = $x$029$i + 1 | 0; } + return; } else { - $$140 = $1; - $$143 = $0; - $$2 = $2; - label = 13; - } while (0); - L17 : do if ((label | 0) == 13) if (!$$2) { - $$345 = $$143; - $$4 = 0; - } else { - $$24147 = $$140; - $$24446 = $$143; - $$348 = $$2; + $i$028$i36 = 0; + $x$029$i35 = -128; while (1) { - $33 = HEAP8[$$24147 >> 0] | 0; - HEAP8[$$24446 >> 0] = $33; - if (!($33 << 24 >> 24)) { - $$345 = $$24446; - $$4 = $$348; - break L17; - } - $$348 = $$348 + -1 | 0; - $37 = $$24446 + 1 | 0; - if (!$$348) { - $$345 = $37; - $$4 = 0; - break; - } else { - $$24147 = $$24147 + 1 | 0; - $$24446 = $37; - } + HEAP32[$17 + ($i$028$i36 << 2) >> 2] = ($x$029$i35 * 91881 | 0) + 32768 >> 16; + HEAP32[$18 + ($i$028$i36 << 2) >> 2] = ($x$029$i35 * 116130 | 0) + 32768 >> 16; + $mul17$i45 = Math_imul($x$029$i35, -46802) | 0; + HEAP32[$19 + ($i$028$i36 << 2) >> 2] = $mul17$i45; + $add21$i48 = (Math_imul($x$029$i35, -22553) | 0) + 32768 | 0; + HEAP32[$call10$i + ($i$028$i36 << 2) >> 2] = $add21$i48; + $i$028$i36 = $i$028$i36 + 1 | 0; + if (($i$028$i36 | 0) == 256) break; else $x$029$i35 = $x$029$i35 + 1 | 0; } - } while (0); - _memset($$345 | 0, 0, $$4 | 0) | 0; - return $$345 | 0; + return; + } } -function _arPattGetIDGlobal($0, $1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - $6 = $6 | 0; - $7 = $7 | 0; - $8 = $8 | 0; - $9 = +$9; - $10 = $10 | 0; - $11 = $11 | 0; - $12 = $12 | 0; - $13 = $13 | 0; - $14 = $14 | 0; - $15 = $15 | 0; - $16 = $16 | 0; - $17 = $17 | 0; - $18 = $18 | 0; - var $$0 = 0, $$091 = 0, $$092 = 0, $19 = 0, $20 = 0, $24 = 0, $26 = 0, $28 = 0, $31 = 0, $41 = 0, $45 = 0, $49 = 0, $51 = 0, $56 = 0, $57 = 0, $58 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 12304 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(12304); - $19 = sp; - $20 = sp + 12288 | 0; - do if (($2 + -2 | 0) >>> 0 < 3) { - if (($16 | 0) != 2830) { - $45 = $16 & 255; - if ((_arPattGetImage2($1, 2, $45, $45 * 3 | 0, $3, $4, $5, $6, $7, $8, $9, $19) | 0) < 0) { - HEAP32[$13 >> 2] = -1; - $$091 = -6; - break; - } - $49 = _get_matrix_code($19, $45, $13, $14, $15, $16, $17) | 0; - if (!$18) { - $$091 = $49; - break; - } - $51 = $18; - HEAP32[$51 >> 2] = 0; - HEAP32[$51 + 4 >> 2] = 0; - $$091 = $49; - break; - } - if ((_arPattGetImage2($1, 2, 14, 42, $3, $4, $5, $6, $7, $8, .875, $19) | 0) < 0) { - HEAP32[$13 >> 2] = -1; - $$091 = -6; - break; - } - $24 = _get_global_id_code($19, $20, $14, $15, $17) | 0; - if (($24 | 0) < 0) { - HEAP32[$13 >> 2] = -1; - $$091 = $24; +function __ZNSt3__29__num_getIwE17__stage2_int_loopEwiPcRS2_RjwRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSD_PKw($__ct, $__base, $__a, $__a_end, $__dc, $__thousands_sep, $__grouping, $__g, $__g_end, $__atoms) { + $__ct = $__ct | 0; + $__base = $__base | 0; + $__a = $__a | 0; + $__a_end = $__a_end | 0; + $__dc = $__dc | 0; + $__thousands_sep = $__thousands_sep | 0; + $__grouping = $__grouping | 0; + $__g = $__g | 0; + $__g_end = $__g_end | 0; + $__atoms = $__atoms | 0; + var $0 = 0, $10 = 0, $3 = 0, $5 = 0, $6 = 0, $9 = 0, $__first$addr$0$i$idx = 0, $__first$addr$0$i$ptr = 0, $__first$addr$0$lcssa$i = 0, $add$ptr = 0, $cmp = 0, $cmp1 = 0, $retval$1 = 0, $sub$ptr$div19 = 0, $sub$ptr$sub18 = 0, label = 0; + $0 = HEAP32[$__a_end >> 2] | 0; + $cmp = ($0 | 0) == ($__a | 0); + do if ($cmp) { + $cmp1 = (HEAP32[$__atoms + 96 >> 2] | 0) == ($__ct | 0); + if (!$cmp1 ? (HEAP32[$__atoms + 100 >> 2] | 0) != ($__ct | 0) : 0) { + label = 5; break; } - $26 = $20; - $28 = HEAP32[$26 >> 2] | 0; - $31 = HEAP32[$26 + 4 >> 2] | 0; - if (($28 | 0) == -1 & ($31 | 0) == -1) { - HEAP32[$13 >> 2] = -1; - $$091 = -5; + HEAP32[$__a_end >> 2] = $__a + 1; + HEAP8[$__a >> 0] = $cmp1 ? 43 : 45; + HEAP32[$__dc >> 2] = 0; + $retval$1 = 0; + } else label = 5; while (0); + L6 : do if ((label | 0) == 5) { + $3 = HEAP8[$__grouping + 11 >> 0] | 0; + if (($__ct | 0) == ($__thousands_sep | 0) ? (($3 << 24 >> 24 < 0 ? HEAP32[$__grouping + 4 >> 2] | 0 : $3 & 255) | 0) != 0 : 0) { + $5 = HEAP32[$__g_end >> 2] | 0; + if (($5 - $__g | 0) >= 160) { + $retval$1 = 0; + break; + } + $6 = HEAP32[$__dc >> 2] | 0; + HEAP32[$__g_end >> 2] = $5 + 4; + HEAP32[$5 >> 2] = $6; + HEAP32[$__dc >> 2] = 0; + $retval$1 = 0; break; } - HEAP32[$13 >> 2] = ($28 & -32768 | 0) == 0 & 0 == 0 ? $28 & 32767 : 0; - if (!$18) $$091 = $24; else { - $41 = $18; - HEAP32[$41 >> 2] = $28; - HEAP32[$41 + 4 >> 2] = $31; - $$091 = $24; - } - } else $$091 = 1; while (0); - L21 : do switch ($2 | 0) { - case 0: - case 1: - case 3: - case 4: - { - if (!$0) { - HEAP32[$10 >> 2] = -1; - $$0 = -1; - break L21; + $add$ptr = $__atoms + 104 | 0; + $__first$addr$0$i$idx = 0; + while (1) { + $__first$addr$0$i$ptr = $__atoms + ($__first$addr$0$i$idx << 2) | 0; + if (($__first$addr$0$i$idx | 0) == 26) { + $__first$addr$0$lcssa$i = $add$ptr; + break; } - $56 = $0 + 28 | 0; - $57 = HEAP32[$56 >> 2] | 0; - $58 = $57 << 2; - switch ($2 | 0) { - case 0: - case 3: + if ((HEAP32[$__first$addr$0$i$ptr >> 2] | 0) == ($__ct | 0)) { + $__first$addr$0$lcssa$i = $__first$addr$0$i$ptr; + break; + } else $__first$addr$0$i$idx = $__first$addr$0$i$idx + 1 | 0; + } + $sub$ptr$sub18 = $__first$addr$0$lcssa$i - $__atoms | 0; + $sub$ptr$div19 = $sub$ptr$sub18 >> 2; + if (($sub$ptr$sub18 | 0) > 92) $retval$1 = -1; else { + switch ($__base | 0) { + case 10: + case 8: { - if ((_arPattGetImage2($1, 0, $57, $58, $3, $4, $5, $6, $7, $8, $9, $19) | 0) < 0) { - HEAP32[$10 >> 2] = -1; - $$0 = -6; - break L21; - } else { - $$0 = _pattern_match($0, 0, $19, HEAP32[$56 >> 2] | 0, $10, $11, $12) | 0; - break L21; + if (($sub$ptr$div19 | 0) >= ($__base | 0)) { + $retval$1 = -1; + break L6; } break; } - default: - if ((_arPattGetImage2($1, 1, $57, $58, $3, $4, $5, $6, $7, $8, $9, $19) | 0) < 0) { - HEAP32[$10 >> 2] = -1; - $$0 = -6; - break L21; - } else { - $$0 = _pattern_match($0, 1, $19, HEAP32[$56 >> 2] | 0, $10, $11, $12) | 0; - break L21; + case 16: + { + if (($sub$ptr$sub18 | 0) >= 88) { + if ($cmp) { + $retval$1 = -1; + break L6; + } + if (($0 - $__a | 0) >= 3) { + $retval$1 = -1; + break L6; + } + if ((HEAP8[$0 + -1 >> 0] | 0) != 48) { + $retval$1 = -1; + break L6; + } + HEAP32[$__dc >> 2] = 0; + $9 = HEAP8[12928 + $sub$ptr$div19 >> 0] | 0; + HEAP32[$__a_end >> 2] = $0 + 1; + HEAP8[$0 >> 0] = $9; + $retval$1 = 0; + break L6; + } + break; } + default: + {} } - break; + $10 = HEAP8[12928 + $sub$ptr$div19 >> 0] | 0; + HEAP32[$__a_end >> 2] = $0 + 1; + HEAP8[$0 >> 0] = $10; + HEAP32[$__dc >> 2] = (HEAP32[$__dc >> 2] | 0) + 1; + $retval$1 = 0; } - default: - $$0 = 1; } while (0); - if (($$091 | 0) == 1) $$092 = $$0; else $$092 = ($$0 | 0) == 1 ? $$091 : ($$0 & $$091 | 0) < 0 ? $$0 : 0; - STACKTOP = sp; - return $$092 | 0; + return $retval$1 | 0; } -function __ZNK12_GLOBAL__N_116itanium_demangle11PointerType9printLeftERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$byval_copy4 = 0, $14 = 0, $2 = 0, $23 = 0, $25 = 0, $3 = 0, $30 = 0, $31 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0; +function __ZNKSt3__27num_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_putES4_RNS_8ios_baseEwb($this, $__s, $__iob, $__fl, $__v) { + $this = $this | 0; + $__s = $__s | 0; + $__iob = $__iob | 0; + $__fl = $__fl | 0; + $__v = $__v | 0; + var $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $15 = 0, $6 = 0, $7 = 0, $8 = 0, $__i$sroa$0$0 = 0, $__nout_$i$i = 0, $__size_$i$i$i = 0, $__size_$i2$i$i = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, $call$i = 0, $call$i$i = 0, $retval$0$i$i = 0, $retval$sroa$0$0 = 0, $retval$sroa$0$0$copyload = 0, $tobool$i$i$i8 = 0, $vtable$i = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 64 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(64); - $$byval_copy4 = sp + 48 | 0; - $2 = sp + 40 | 0; - $3 = sp + 32 | 0; - $4 = sp + 24 | 0; - $5 = sp + 16 | 0; - $6 = sp; - $7 = sp + 8 | 0; - $8 = $0 + 8 | 0; - $9 = HEAP32[$8 >> 2] | 0; - do if ((__ZNK12_GLOBAL__N_116itanium_demangle4Node7getKindEv($9) | 0) << 24 >> 24 == 10) if (__ZNK12_GLOBAL__N_116itanium_demangle13ObjCProtoName12isObjCObjectEv($9) | 0) { - $23 = HEAP32[$8 >> 2] | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($5, 52039); - HEAP32[$$byval_copy4 >> 2] = HEAP32[$5 >> 2]; - HEAP32[$$byval_copy4 + 4 >> 2] = HEAP32[$5 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy4); - $25 = $23 + 12 | 0; - $30 = HEAP32[$25 + 4 >> 2] | 0; - $31 = $6; - HEAP32[$31 >> 2] = HEAP32[$25 >> 2]; - HEAP32[$31 + 4 >> 2] = $30; - HEAP32[$$byval_copy4 >> 2] = HEAP32[$6 >> 2]; - HEAP32[$$byval_copy4 + 4 >> 2] = HEAP32[$6 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy4); - __ZN12_GLOBAL__N_110StringViewC2EPKc($7, 52043); - HEAP32[$$byval_copy4 >> 2] = HEAP32[$7 >> 2]; - HEAP32[$$byval_copy4 + 4 >> 2] = HEAP32[$7 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy4); - break; - } else { - $14 = HEAP32[$8 >> 2] | 0; - label = 4; - break; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $agg$tmp$byval_copy = sp + 4 | 0; + $agg$tmp = sp; + if (!(HEAP32[$__iob + 4 >> 2] & 1)) { + $1 = HEAP32[(HEAP32[$this >> 2] | 0) + 24 >> 2] | 0; + HEAP32[$agg$tmp >> 2] = HEAP32[$__s >> 2]; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + $retval$sroa$0$0 = FUNCTION_TABLE_iiiiii[$1 & 31]($this, $agg$tmp$byval_copy, $__iob, $__fl, $__v & 1) | 0; } else { - $14 = $9; - label = 4; - } while (0); - if ((label | 0) == 4) { - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$14 >> 2] | 0) + 16 >> 2] & 255]($14, $1); - if (__ZNK12_GLOBAL__N_116itanium_demangle4Node8hasArrayERNS_12OutputStreamE(HEAP32[$8 >> 2] | 0, $1) | 0) { - __ZN12_GLOBAL__N_110StringViewC2EPKc($2, 51966); - HEAP32[$$byval_copy4 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy4 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy4); - } - if (!(__ZNK12_GLOBAL__N_116itanium_demangle4Node8hasArrayERNS_12OutputStreamE(HEAP32[$8 >> 2] | 0, $1) | 0) ? !(__ZNK12_GLOBAL__N_116itanium_demangle4Node11hasFunctionERNS_12OutputStreamE(HEAP32[$8 >> 2] | 0, $1) | 0) : 0) {} else { - __ZN12_GLOBAL__N_110StringViewC2EPKc($3, 51968); - HEAP32[$$byval_copy4 >> 2] = HEAP32[$3 >> 2]; - HEAP32[$$byval_copy4 + 4 >> 2] = HEAP32[$3 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy4); + __ZNKSt3__28ios_base6getlocEv($agg$tmp$byval_copy, $__iob); + $call$i = __ZNKSt3__26locale9use_facetERNS0_2idE($agg$tmp$byval_copy, 67400) | 0; + __ZNSt3__26localeD2Ev($agg$tmp$byval_copy); + $vtable$i = HEAP32[$call$i >> 2] | 0; + if ($__v) FUNCTION_TABLE_vii[HEAP32[$vtable$i + 24 >> 2] & 255]($agg$tmp$byval_copy, $call$i); else FUNCTION_TABLE_vii[HEAP32[$vtable$i + 28 >> 2] & 255]($agg$tmp$byval_copy, $call$i); + $__size_$i$i$i = $agg$tmp$byval_copy + 8 + 3 | 0; + $6 = HEAP8[$__size_$i$i$i >> 0] | 0; + $7 = HEAP32[$agg$tmp$byval_copy >> 2] | 0; + $__size_$i2$i$i = $agg$tmp$byval_copy + 4 | 0; + $10 = $7; + $8 = $6; + $__i$sroa$0$0 = $6 << 24 >> 24 < 0 ? $7 : $agg$tmp$byval_copy; + while (1) { + $tobool$i$i$i8 = $8 << 24 >> 24 < 0; + if (($__i$sroa$0$0 | 0) == (($tobool$i$i$i8 ? $10 : $agg$tmp$byval_copy) + (($tobool$i$i$i8 ? HEAP32[$__size_$i2$i$i >> 2] | 0 : $8 & 255) << 2) | 0)) break; + $11 = HEAP32[$__i$sroa$0$0 >> 2] | 0; + $12 = HEAP32[$__s >> 2] | 0; + if ($12 | 0) { + $__nout_$i$i = $12 + 24 | 0; + $13 = HEAP32[$__nout_$i$i >> 2] | 0; + if (($13 | 0) == (HEAP32[$12 + 28 >> 2] | 0)) { + $15 = HEAP32[(HEAP32[$12 >> 2] | 0) + 52 >> 2] | 0; + $call$i$i = __ZNSt3__211char_traitsIwE11to_int_typeEw($11) | 0; + $retval$0$i$i = FUNCTION_TABLE_iii[$15 & 127]($12, $call$i$i) | 0; + } else { + HEAP32[$__nout_$i$i >> 2] = $13 + 4; + HEAP32[$13 >> 2] = $11; + $retval$0$i$i = __ZNSt3__211char_traitsIwE11to_int_typeEw($11) | 0; + } + if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj($retval$0$i$i, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) HEAP32[$__s >> 2] = 0; + } + $10 = HEAP32[$agg$tmp$byval_copy >> 2] | 0; + $8 = HEAP8[$__size_$i$i$i >> 0] | 0; + $__i$sroa$0$0 = $__i$sroa$0$0 + 4 | 0; } - __ZN12_GLOBAL__N_110StringViewC2EPKc($4, 52037); - HEAP32[$$byval_copy4 >> 2] = HEAP32[$4 >> 2]; - HEAP32[$$byval_copy4 + 4 >> 2] = HEAP32[$4 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy4); + $retval$sroa$0$0$copyload = HEAP32[$__s >> 2] | 0; + __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev($agg$tmp$byval_copy); + $retval$sroa$0$0 = $retval$sroa$0$0$copyload; } STACKTOP = sp; - return; + return $retval$sroa$0$0 | 0; } -function _mbsnrtowcs($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $$0 = 0, $$04975 = 0, $$05374 = 0, $$056 = 0, $$150 = 0, $$154 = 0, $$15773 = 0, $$164 = 0, $$176 = 0, $$2 = 0, $$25170 = 0, $$25569 = 0, $$258 = 0, $$352 = 0, $$359 = 0, $$371 = 0, $$468 = 0, $$cast = 0, $11 = 0, $12 = 0, $15 = 0, $16 = 0, $18 = 0, $21 = 0, $22 = 0, $26 = 0, $30 = 0, $31 = 0, $39 = 0, $44 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $spec$select = 0, sp = 0; +function _wcsnrtombs($dst, $wcs, $wn, $n, $st) { + $dst = $dst | 0; + $wcs = $wcs | 0; + $wn = $wn | 0; + $n = $n | 0; + $st = $st | 0; + var $$cast = 0, $0 = 0, $10 = 0, $2 = 0, $3 = 0, $6 = 0, $add15 = 0, $add35 = 0, $buf = 0, $call = 0, $call24 = 0, $cmp = 0, $cmp11 = 0, $cnt$054 = 0, $cnt$1 = 0, $cnt$247 = 0, $cnt$3 = 0, $n$addr$0 = 0, $n$addr$152 = 0, $n$addr$2 = 0, $n$addr$3 = 0, $n$addr$445 = 0, $s$0 = 0, $s$139 = 0, $s$155 = 0, $s$2 = 0, $s$348 = 0, $spec$select = 0, $sub = 0, $tobool = 0, $wn$addr$053 = 0, $wn$addr$1 = 0, $wn$addr$246 = 0, $ws = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 1040 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(1040); - $5 = sp; - $6 = sp + 1024 | 0; - $7 = HEAP32[$1 >> 2] | 0; - HEAP32[$6 >> 2] = $7; - $8 = ($0 | 0) != 0; - $$056 = $8 ? $3 : 256; - $$0 = $8 ? $0 : $5; - $$cast = $7; - L1 : do if (($$056 | 0) != 0 & ($7 | 0) != 0) { - $$04975 = 0; - $$05374 = $2; - $$15773 = $$056; - $$176 = $$0; - $44 = $$cast; + STACKTOP = STACKTOP + 272 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(272); + $buf = sp; + $ws = sp + 256 | 0; + $0 = HEAP32[$wcs >> 2] | 0; + HEAP32[$ws >> 2] = $0; + $tobool = ($dst | 0) != 0; + $n$addr$0 = $tobool ? $n : 256; + $s$0 = $tobool ? $dst : $buf; + $$cast = $0; + L1 : do if (($n$addr$0 | 0) != 0 & ($0 | 0) != 0) { + $10 = $$cast; + $cnt$054 = 0; + $n$addr$152 = $n$addr$0; + $s$155 = $s$0; + $wn$addr$053 = $wn; while (1) { - $11 = $$05374 >>> 2; - $12 = $11 >>> 0 >= $$15773 >>> 0; - if (!($$05374 >>> 0 > 131 | $12)) { - $$150 = $$04975; - $$154 = $$05374; - $$164 = $$176; - $$359 = $$15773; - $26 = $44; + $cmp = $wn$addr$053 >>> 0 >= $n$addr$152 >>> 0; + if (!($cmp | $wn$addr$053 >>> 0 > 32)) { + $3 = $10; + $cnt$1 = $cnt$054; + $n$addr$3 = $n$addr$152; + $s$139 = $s$155; + $wn$addr$1 = $wn$addr$053; break L1; } - $spec$select = $12 ? $$15773 : $11; - $15 = $$05374 - $spec$select | 0; - $16 = _mbsrtowcs($$176, $6, $spec$select, $4) | 0; - if (($16 | 0) == -1) break; - $18 = ($$176 | 0) == ($5 | 0); - $$258 = $$15773 - ($18 ? 0 : $16) | 0; - $$2 = $18 ? $$176 : $$176 + ($16 << 2) | 0; - $21 = $16 + $$04975 | 0; - $22 = HEAP32[$6 >> 2] | 0; - if (($$258 | 0) != 0 & ($22 | 0) != 0) { - $$04975 = $21; - $$05374 = $15; - $$15773 = $$258; - $$176 = $$2; - $44 = $22; + $spec$select = $cmp ? $n$addr$152 : $wn$addr$053; + $sub = $wn$addr$053 - $spec$select | 0; + $call = _wcsrtombs($s$155, $ws, $spec$select, 0) | 0; + if (($call | 0) == -1) break; + $cmp11 = ($s$155 | 0) == ($buf | 0); + $n$addr$2 = $n$addr$152 - ($cmp11 ? 0 : $call) | 0; + $s$2 = $cmp11 ? $s$155 : $s$155 + $call | 0; + $add15 = $call + $cnt$054 | 0; + $2 = HEAP32[$ws >> 2] | 0; + if (($n$addr$2 | 0) != 0 & ($2 | 0) != 0) { + $10 = $2; + $cnt$054 = $add15; + $n$addr$152 = $n$addr$2; + $s$155 = $s$2; + $wn$addr$053 = $sub; } else { - $$150 = $21; - $$154 = $15; - $$164 = $$2; - $$359 = $$258; - $26 = $22; + $3 = $2; + $cnt$1 = $add15; + $n$addr$3 = $n$addr$2; + $s$139 = $s$2; + $wn$addr$1 = $sub; break L1; } } - $$150 = -1; - $$154 = $15; - $$164 = $$176; - $$359 = 0; - $26 = HEAP32[$6 >> 2] | 0; + $3 = HEAP32[$ws >> 2] | 0; + $cnt$1 = -1; + $n$addr$3 = 0; + $s$139 = $s$155; + $wn$addr$1 = $sub; } else { - $$150 = 0; - $$154 = $2; - $$164 = $$0; - $$359 = $$056; - $26 = $$cast; + $3 = $$cast; + $cnt$1 = 0; + $n$addr$3 = $n$addr$0; + $s$139 = $s$0; + $wn$addr$1 = $wn; } while (0); - L9 : do if (($26 | 0) != 0 ? ($$359 | 0) != 0 & ($$154 | 0) != 0 : 0) { - $$25170 = $$150; - $$25569 = $$154; - $$371 = $$164; - $$468 = $$359; - $30 = $26; + L9 : do if (($3 | 0) != 0 ? ($n$addr$3 | 0) != 0 & ($wn$addr$1 | 0) != 0 : 0) { + $6 = $3; + $cnt$247 = $cnt$1; + $n$addr$445 = $n$addr$3; + $s$348 = $s$139; + $wn$addr$246 = $wn$addr$1; while (1) { - $31 = _mbrtowc($$371, $30, $$25569, $4) | 0; - if (($31 + 2 | 0) >>> 0 < 3) break; - $30 = (HEAP32[$6 >> 2] | 0) + $31 | 0; - HEAP32[$6 >> 2] = $30; - $$25569 = $$25569 - $31 | 0; - $$468 = $$468 + -1 | 0; - $39 = $$25170 + 1 | 0; - if (!(($$468 | 0) != 0 & ($$25569 | 0) != 0)) { - $$352 = $39; + $call24 = _wcrtomb($s$348, HEAP32[$6 >> 2] | 0, 0) | 0; + if (($call24 + 1 | 0) >>> 0 < 2) break; + $6 = (HEAP32[$ws >> 2] | 0) + 4 | 0; + HEAP32[$ws >> 2] = $6; + $wn$addr$246 = $wn$addr$246 + -1 | 0; + $n$addr$445 = $n$addr$445 - $call24 | 0; + $add35 = $call24 + $cnt$247 | 0; + if (!(($n$addr$445 | 0) != 0 & ($wn$addr$246 | 0) != 0)) { + $cnt$3 = $add35; break L9; } else { - $$25170 = $39; - $$371 = $$371 + 4 | 0; - } - } - switch ($31 | 0) { - case -1: - { - $$352 = $31; - break L9; - break; - } - case 0: - { - HEAP32[$6 >> 2] = 0; - $$352 = $$25170; - break L9; - break; + $cnt$247 = $add35; + $s$348 = $s$348 + $call24 | 0; } - default: - { - HEAP32[$4 >> 2] = 0; - $$352 = $$25170; - break L9; - } - } - } else $$352 = $$150; while (0); - if ($8) HEAP32[$1 >> 2] = HEAP32[$6 >> 2]; - STACKTOP = sp; - return $$352 | 0; -} - -function __ZNK12_GLOBAL__N_116itanium_demangle16FunctionEncoding10printRightERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$byval_copy6 = 0, $11 = 0, $16 = 0, $17 = 0, $2 = 0, $21 = 0, $24 = 0, $29 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 64 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(64); - $$byval_copy6 = sp + 56 | 0; - $2 = sp + 48 | 0; - $3 = sp + 40 | 0; - $4 = sp + 32 | 0; - $5 = sp + 24 | 0; - $6 = sp + 16 | 0; - $7 = sp + 8 | 0; - $8 = sp; - __ZN12_GLOBAL__N_110StringViewC2EPKc($2, 51968); - HEAP32[$$byval_copy6 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy6 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy6); - __ZNK12_GLOBAL__N_116itanium_demangle9NodeArray14printWithCommaERNS_12OutputStreamE($0 + 16 | 0, $1); - __ZN12_GLOBAL__N_110StringViewC2EPKc($3, 51964); - HEAP32[$$byval_copy6 >> 2] = HEAP32[$3 >> 2]; - HEAP32[$$byval_copy6 + 4 >> 2] = HEAP32[$3 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy6); - $11 = HEAP32[$0 + 8 >> 2] | 0; - if ($11 | 0) FUNCTION_TABLE_vii[HEAP32[(HEAP32[$11 >> 2] | 0) + 20 >> 2] & 255]($11, $1); - $16 = $0 + 28 | 0; - $17 = HEAP32[$16 >> 2] | 0; - if (!($17 & 1)) $21 = $17; else { - __ZN12_GLOBAL__N_110StringViewC2EPKc($4, 56136); - HEAP32[$$byval_copy6 >> 2] = HEAP32[$4 >> 2]; - HEAP32[$$byval_copy6 + 4 >> 2] = HEAP32[$4 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy6); - $21 = HEAP32[$16 >> 2] | 0; - } - if (!($21 & 2)) $24 = $21; else { - __ZN12_GLOBAL__N_110StringViewC2EPKc($5, 56143); - HEAP32[$$byval_copy6 >> 2] = HEAP32[$5 >> 2]; - HEAP32[$$byval_copy6 + 4 >> 2] = HEAP32[$5 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy6); - $24 = HEAP32[$16 >> 2] | 0; - } - if ($24 & 4 | 0) { - __ZN12_GLOBAL__N_110StringViewC2EPKc($6, 56153); - HEAP32[$$byval_copy6 >> 2] = HEAP32[$6 >> 2]; - HEAP32[$$byval_copy6 + 4 >> 2] = HEAP32[$6 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy6); - } - switch (HEAP8[$0 + 32 >> 0] | 0) { - case 1: - { - __ZN12_GLOBAL__N_110StringViewC2EPKc($7, 56338); - HEAP32[$$byval_copy6 >> 2] = HEAP32[$7 >> 2]; - HEAP32[$$byval_copy6 + 4 >> 2] = HEAP32[$7 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy6); - break; } - case 2: - { - __ZN12_GLOBAL__N_110StringViewC2EPKc($8, 56341); - HEAP32[$$byval_copy6 >> 2] = HEAP32[$8 >> 2]; - HEAP32[$$byval_copy6 + 4 >> 2] = HEAP32[$8 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy6); - break; - } - default: - {} - } - $29 = HEAP32[$0 + 24 >> 2] | 0; - if ($29 | 0) __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE($29, $1); + if (!$call24) { + HEAP32[$ws >> 2] = 0; + $cnt$3 = $cnt$247; + } else $cnt$3 = -1; + } else $cnt$3 = $cnt$1; while (0); + if ($tobool) HEAP32[$wcs >> 2] = HEAP32[$ws >> 2]; STACKTOP = sp; - return; + return $cnt$3 | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E18parseFunctionParamEv($0) { - $0 = $0 | 0; - var $$0 = 0, $$1 = 0, $$2 = 0, $$byval_copy1 = 0, $1 = 0, $2 = 0, sp = 0; +function __ZNKSt3__27num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_putES4_RNS_8ios_baseEcb($this, $__s, $__iob, $__fl, $__v) { + $this = $this | 0; + $__s = $__s | 0; + $__iob = $__iob | 0; + $__fl = $__fl | 0; + $__v = $__v | 0; + var $1 = 0, $10 = 0, $11 = 0, $12 = 0, $14 = 0, $5 = 0, $6 = 0, $7 = 0, $9 = 0, $__i$sroa$0$0 = 0, $__nout_$i$i = 0, $__size_$i$i$i = 0, $__size_$i3$i$i = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, $call$i = 0, $call$i$i = 0, $retval$0$i$i = 0, $retval$sroa$0$0 = 0, $retval$sroa$0$0$copyload = 0, $tobool$i$i$i9 = 0, $vtable$i = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $$byval_copy1 = sp + 16 | 0; - $1 = sp + 8 | 0; - $2 = sp; - __ZN12_GLOBAL__N_110StringViewC2EPKc($1, 54911); - HEAP32[$$byval_copy1 >> 2] = HEAP32[$1 >> 2]; - HEAP32[$$byval_copy1 + 4 >> 2] = HEAP32[$1 + 4 >> 2]; - if (!(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($0, $$byval_copy1) | 0)) { - __ZN12_GLOBAL__N_110StringViewC2EPKc($2, 54914); - HEAP32[$$byval_copy1 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy1 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - if ((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($0, $$byval_copy1) | 0 ? (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E11parseNumberEb($$byval_copy1, $0, 0), !(__ZNK12_GLOBAL__N_110StringView5emptyEv($$byval_copy1) | 0)) : 0) ? __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($0, 112) | 0 : 0) { - __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E17parseCVQualifiersEv($0) | 0; - __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E11parseNumberEb($$byval_copy1, $0, 0); - if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($0, 95) | 0) $$1 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_13FunctionParamEJRNS_10StringViewEEEEPNS0_4NodeEDpOT0_($0, $$byval_copy1) | 0; else $$1 = 0; - $$2 = $$1; - } else $$2 = 0; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $agg$tmp$byval_copy = sp + 4 | 0; + $agg$tmp = sp; + if (!(HEAP32[$__iob + 4 >> 2] & 1)) { + $1 = HEAP32[(HEAP32[$this >> 2] | 0) + 24 >> 2] | 0; + HEAP32[$agg$tmp >> 2] = HEAP32[$__s >> 2]; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + $retval$sroa$0$0 = FUNCTION_TABLE_iiiiii[$1 & 31]($this, $agg$tmp$byval_copy, $__iob, $__fl, $__v & 1) | 0; } else { - __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E17parseCVQualifiersEv($0) | 0; - __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E11parseNumberEb($$byval_copy1, $0, 0); - if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($0, 95) | 0) $$0 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_13FunctionParamEJRNS_10StringViewEEEEPNS0_4NodeEDpOT0_($0, $$byval_copy1) | 0; else $$0 = 0; - $$2 = $$0; + __ZNKSt3__28ios_base6getlocEv($agg$tmp$byval_copy, $__iob); + $call$i = __ZNKSt3__26locale9use_facetERNS0_2idE($agg$tmp$byval_copy, 67376) | 0; + __ZNSt3__26localeD2Ev($agg$tmp$byval_copy); + $vtable$i = HEAP32[$call$i >> 2] | 0; + if ($__v) FUNCTION_TABLE_vii[HEAP32[$vtable$i + 24 >> 2] & 255]($agg$tmp$byval_copy, $call$i); else FUNCTION_TABLE_vii[HEAP32[$vtable$i + 28 >> 2] & 255]($agg$tmp$byval_copy, $call$i); + $__size_$i$i$i = $agg$tmp$byval_copy + 11 | 0; + $5 = HEAP8[$__size_$i$i$i >> 0] | 0; + $6 = HEAP32[$agg$tmp$byval_copy >> 2] | 0; + $__size_$i3$i$i = $agg$tmp$byval_copy + 4 | 0; + $7 = $5; + $9 = $6; + $__i$sroa$0$0 = $5 << 24 >> 24 < 0 ? $6 : $agg$tmp$byval_copy; + while (1) { + $tobool$i$i$i9 = $7 << 24 >> 24 < 0; + if (($__i$sroa$0$0 | 0) == (($tobool$i$i$i9 ? $9 : $agg$tmp$byval_copy) + ($tobool$i$i$i9 ? HEAP32[$__size_$i3$i$i >> 2] | 0 : $7 & 255) | 0)) break; + $10 = HEAP8[$__i$sroa$0$0 >> 0] | 0; + $11 = HEAP32[$__s >> 2] | 0; + if ($11 | 0) { + $__nout_$i$i = $11 + 24 | 0; + $12 = HEAP32[$__nout_$i$i >> 2] | 0; + if (($12 | 0) == (HEAP32[$11 + 28 >> 2] | 0)) { + $14 = HEAP32[(HEAP32[$11 >> 2] | 0) + 52 >> 2] | 0; + $call$i$i = __ZNSt3__211char_traitsIcE11to_int_typeEc($10) | 0; + $retval$0$i$i = FUNCTION_TABLE_iii[$14 & 127]($11, $call$i$i) | 0; + } else { + HEAP32[$__nout_$i$i >> 2] = $12 + 1; + HEAP8[$12 >> 0] = $10; + $retval$0$i$i = __ZNSt3__211char_traitsIcE11to_int_typeEc($10) | 0; + } + if (__ZNSt3__211char_traitsIcE11eq_int_typeEii($retval$0$i$i, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) HEAP32[$__s >> 2] = 0; + } + $7 = HEAP8[$__size_$i$i$i >> 0] | 0; + $9 = HEAP32[$agg$tmp$byval_copy >> 2] | 0; + $__i$sroa$0$0 = $__i$sroa$0$0 + 1 | 0; + } + $retval$sroa$0$0$copyload = HEAP32[$__s >> 2] | 0; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($agg$tmp$byval_copy); + $retval$sroa$0$0 = $retval$sroa$0$0$copyload; } STACKTOP = sp; - return $$2 | 0; + return $retval$sroa$0$0 | 0; } -function __ZN6vision18BinomialPyramid32f12apply_filterERNS_5ImageERKS1_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $11 = 0, $16 = 0, $20 = 0, $22 = 0, $24 = 0, $25 = 0, $28 = 0, $3 = 0, $30 = 0, $31 = 0, $34 = 0, $36 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $3 = sp; - if ((__ZNK6vision5Image4typeEv($1) | 0) != 2) { - $11 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 31711) | 0, 31153) | 0, 39072) | 0, 357) | 0, 39079) | 0, 31758) | 0; - __ZNKSt3__28ios_base6getlocEv($3, $11 + (HEAP32[(HEAP32[$11 >> 2] | 0) + -12 >> 2] | 0) | 0); - $16 = __ZNKSt3__26locale9use_facetERNS0_2idE($3, 66512) | 0; - $20 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$16 >> 2] | 0) + 28 >> 2] & 127]($16, 10) | 0; - __ZNSt3__26localeD2Ev($3); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($11, $20) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($11) | 0; - _abort(); - } - switch (__ZNK6vision5Image4typeEv($2) | 0) { - case 1: - { - $22 = __ZN6vision5Image3getEv($1) | 0; - $24 = HEAP32[$0 + 32 >> 2] | 0; - $25 = __ZNK6vision5Image3getEv($2) | 0; - __ZN6vision18binomial_4th_orderEPfPtPKhmm($22, $24, $25, __ZNK6vision5Image5widthEv($2) | 0, __ZNK6vision5Image6heightEv($2) | 0); - break; - } - case 2: - { - $28 = __ZN6vision5Image3getEv($1) | 0; - $30 = HEAP32[$0 + 44 >> 2] | 0; - $31 = __ZNK6vision5Image3getEv($2) | 0; - __ZN6vision18binomial_4th_orderEPfS0_PKfmm($28, $30, $31, __ZNK6vision5Image5widthEv($2) | 0, __ZNK6vision5Image6heightEv($2) | 0); +function __ZNSt3__29__num_getIcE17__stage2_int_loopEciPcRS2_RjcRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSD_PKc($__ct, $__base, $__a, $__a_end, $__dc, $__thousands_sep, $__grouping, $__g, $__g_end, $__atoms) { + $__ct = $__ct | 0; + $__base = $__base | 0; + $__a = $__a | 0; + $__a_end = $__a_end | 0; + $__dc = $__dc | 0; + $__thousands_sep = $__thousands_sep | 0; + $__grouping = $__grouping | 0; + $__g = $__g | 0; + $__g_end = $__g_end | 0; + $__atoms = $__atoms | 0; + var $0 = 0, $10 = 0, $3 = 0, $5 = 0, $6 = 0, $9 = 0, $__first$addr$0$i$idx = 0, $__first$addr$0$i$ptr = 0, $__first$addr$0$lcssa$i = 0, $add$ptr = 0, $cmp = 0, $cmp2 = 0, $retval$1 = 0, $sub$ptr$sub25 = 0, label = 0; + $0 = HEAP32[$__a_end >> 2] | 0; + $cmp = ($0 | 0) == ($__a | 0); + do if ($cmp) { + $cmp2 = (HEAP8[$__atoms + 24 >> 0] | 0) == $__ct << 24 >> 24; + if (!$cmp2 ? (HEAP8[$__atoms + 25 >> 0] | 0) != $__ct << 24 >> 24 : 0) { + label = 5; break; } - case 0: - { - $34 = ___cxa_allocate_exception(16) | 0; - HEAP32[$3 >> 2] = 0; - HEAP32[$3 + 4 >> 2] = 0; - HEAP32[$3 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm($3, 31794, __ZNSt3__211char_traitsIcE6lengthEPKc(31794) | 0); - __ZN6vision9ExceptionC2ERKNSt3__212basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE($34, $3); - ___cxa_throw($34 | 0, 13208, 5); + HEAP32[$__a_end >> 2] = $__a + 1; + HEAP8[$__a >> 0] = $cmp2 ? 43 : 45; + HEAP32[$__dc >> 2] = 0; + $retval$1 = 0; + } else label = 5; while (0); + L6 : do if ((label | 0) == 5) { + $3 = HEAP8[$__grouping + 11 >> 0] | 0; + if ($__ct << 24 >> 24 == $__thousands_sep << 24 >> 24 ? (($3 << 24 >> 24 < 0 ? HEAP32[$__grouping + 4 >> 2] | 0 : $3 & 255) | 0) != 0 : 0) { + $5 = HEAP32[$__g_end >> 2] | 0; + if (($5 - $__g | 0) >= 160) { + $retval$1 = 0; + break; + } + $6 = HEAP32[$__dc >> 2] | 0; + HEAP32[$__g_end >> 2] = $5 + 4; + HEAP32[$5 >> 2] = $6; + HEAP32[$__dc >> 2] = 0; + $retval$1 = 0; break; } - default: - { - $36 = ___cxa_allocate_exception(16) | 0; - HEAP32[$3 >> 2] = 0; - HEAP32[$3 + 4 >> 2] = 0; - HEAP32[$3 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm($3, 31813, __ZNSt3__211char_traitsIcE6lengthEPKc(31813) | 0); - __ZN6vision9ExceptionC2ERKNSt3__212basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE($36, $3); - ___cxa_throw($36 | 0, 13208, 5); - } - } - STACKTOP = sp; - return; -} - -function __ZNSt3__27__sort3IRNS_7greaterINS_4pairIfmEEEENS_11__wrap_iterIPS3_EEEEjT0_S9_S9_T_($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $$09 = 0, $$phi$trans$insert = 0, $$phi$trans$insert16 = 0, $$pre$phi18Z2D = 0, $$pre$phiZ2D = 0, $15 = 0, $16 = 0.0, $24 = 0, $25 = 0, $26 = 0, $28 = 0.0, $29 = 0.0, $32 = 0, $33 = 0, $34 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $42 = 0, $43 = 0, $44 = 0, $46 = 0.0, $49 = 0, $5 = 0, $50 = 0, $52 = 0, $53 = 0, $54 = 0, $6 = 0.0, $7 = 0.0; - $4 = HEAP32[$1 >> 2] | 0; - $5 = HEAP32[$0 >> 2] | 0; - $6 = +HEAPF32[$5 >> 2]; - $7 = +HEAPF32[$4 >> 2]; - if (!($6 < $7)) if ($7 < $6) $53 = 0; else $53 = (HEAP32[$5 + 4 >> 2] | 0) >>> 0 < (HEAP32[$4 + 4 >> 2] | 0) >>> 0; else $53 = 1; - $15 = HEAP32[$2 >> 2] | 0; - $16 = +HEAPF32[$15 >> 2]; - if (!($7 < $16)) if ($16 < $7) $54 = 0; else $54 = (HEAP32[$4 + 4 >> 2] | 0) >>> 0 < (HEAP32[$15 + 4 >> 2] | 0) >>> 0; else $54 = 1; - do if (!$53) if ($54) { - HEAPF32[$4 >> 2] = $16; - HEAPF32[$15 >> 2] = $7; - $24 = $4 + 4 | 0; - $25 = $15 + 4 | 0; - $26 = HEAP32[$24 >> 2] | 0; - HEAP32[$24 >> 2] = HEAP32[$25 >> 2]; - HEAP32[$25 >> 2] = $26; - $28 = +HEAPF32[$5 >> 2]; - $29 = +HEAPF32[$4 >> 2]; - if (!($28 < $29)) { - if ($29 < $28) { - $$09 = 1; - break; - } - $32 = $5 + 4 | 0; - $33 = HEAP32[$32 >> 2] | 0; - $34 = HEAP32[$24 >> 2] | 0; - if ($33 >>> 0 < $34 >>> 0) { - $$pre$phi18Z2D = $32; - $36 = $34; - $37 = $33; - } else { - $$09 = 1; + $add$ptr = $__atoms + 26 | 0; + $__first$addr$0$i$idx = 0; + while (1) { + $__first$addr$0$i$ptr = $__atoms + $__first$addr$0$i$idx | 0; + if (($__first$addr$0$i$idx | 0) == 26) { + $__first$addr$0$lcssa$i = $add$ptr; break; } - } else { - $$phi$trans$insert = $5 + 4 | 0; - $$pre$phi18Z2D = $$phi$trans$insert; - $36 = HEAP32[$24 >> 2] | 0; - $37 = HEAP32[$$phi$trans$insert >> 2] | 0; - } - HEAPF32[$5 >> 2] = $29; - HEAPF32[$4 >> 2] = $28; - HEAP32[$$pre$phi18Z2D >> 2] = $36; - HEAP32[$24 >> 2] = $37; - $$09 = 2; - } else $$09 = 0; else { - if ($54) { - HEAPF32[$5 >> 2] = $16; - HEAPF32[$15 >> 2] = $6; - $38 = $5 + 4 | 0; - $39 = $15 + 4 | 0; - $40 = HEAP32[$38 >> 2] | 0; - HEAP32[$38 >> 2] = HEAP32[$39 >> 2]; - HEAP32[$39 >> 2] = $40; - $$09 = 1; - break; - } - HEAPF32[$5 >> 2] = $7; - HEAPF32[$4 >> 2] = $6; - $42 = $5 + 4 | 0; - $43 = $4 + 4 | 0; - $44 = HEAP32[$42 >> 2] | 0; - HEAP32[$42 >> 2] = HEAP32[$43 >> 2]; - HEAP32[$43 >> 2] = $44; - $46 = +HEAPF32[$15 >> 2]; - if (!($6 < $46)) { - if ($46 < $6) { - $$09 = 1; - break; - } - $49 = $15 + 4 | 0; - $50 = HEAP32[$49 >> 2] | 0; - if ($44 >>> 0 < $50 >>> 0) { - $$pre$phiZ2D = $49; - $52 = $50; - } else { - $$09 = 1; + if ((HEAP8[$__first$addr$0$i$ptr >> 0] | 0) == $__ct << 24 >> 24) { + $__first$addr$0$lcssa$i = $__first$addr$0$i$ptr; break; + } else $__first$addr$0$i$idx = $__first$addr$0$i$idx + 1 | 0; + } + $sub$ptr$sub25 = $__first$addr$0$lcssa$i - $__atoms | 0; + if (($sub$ptr$sub25 | 0) > 23) $retval$1 = -1; else { + switch ($__base | 0) { + case 10: + case 8: + { + if (($sub$ptr$sub25 | 0) >= ($__base | 0)) { + $retval$1 = -1; + break L6; + } + break; + } + case 16: + { + if (($sub$ptr$sub25 | 0) >= 22) { + if ($cmp) { + $retval$1 = -1; + break L6; + } + if (($0 - $__a | 0) >= 3) { + $retval$1 = -1; + break L6; + } + if ((HEAP8[$0 + -1 >> 0] | 0) != 48) { + $retval$1 = -1; + break L6; + } + HEAP32[$__dc >> 2] = 0; + $9 = HEAP8[12928 + $sub$ptr$sub25 >> 0] | 0; + HEAP32[$__a_end >> 2] = $0 + 1; + HEAP8[$0 >> 0] = $9; + $retval$1 = 0; + break L6; + } + break; + } + default: + {} } - } else { - $$phi$trans$insert16 = $15 + 4 | 0; - $$pre$phiZ2D = $$phi$trans$insert16; - $52 = HEAP32[$$phi$trans$insert16 >> 2] | 0; - } - HEAPF32[$4 >> 2] = $46; - HEAPF32[$15 >> 2] = $6; - HEAP32[$43 >> 2] = $52; - HEAP32[$$pre$phiZ2D >> 2] = $44; - $$09 = 2; + $10 = HEAP8[12928 + $sub$ptr$sub25 >> 0] | 0; + HEAP32[$__a_end >> 2] = $0 + 1; + HEAP8[$0 >> 0] = $10; + HEAP32[$__dc >> 2] = (HEAP32[$__dc >> 2] | 0) + 1; + $retval$1 = 0; + } } while (0); - return $$09 | 0; + return $retval$1 | 0; } -function __Z21kpmUtilGetPose_binaryP9ARParamLTRKNSt3__26vectorIN6vision7match_tENS1_9allocatorIS4_EEEERKNS2_INS3_7Point3dIfEENS5_ISB_EEEERKNS2_INS3_12FeaturePointENS5_ISG_EEEEPA4_fPf($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$0 = 0, $$064 = 0, $$065 = 0, $$066 = 0, $$1 = 0, $10 = 0, $13 = 0, $14 = 0, $15 = 0, $17 = 0, $19 = 0, $22 = 0, $24 = 0, $25 = 0, $27 = 0, $37 = 0, $50 = 0, $53 = 0, $58 = 0.0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $vararg_buffer = 0, $vararg_buffer1 = 0, sp = 0; +function _arPattCreateHandle2($pattSize, $patternCountMax) { + $pattSize = $pattSize | 0; + $patternCountMax = $patternCountMax | 0; + var $add = 0, $call = 0, $call14 = 0, $call20 = 0, $call26 = 0, $call32 = 0, $call44 = 0, $call53 = 0, $call8 = 0, $i$0 = 0, $j$0 = 0, $mul13 = 0, $mul25 = 0, $mul41 = 0, $mul43 = 0, $mul46 = 0, $mul52 = 0, $pattBW = 0, $retval$0 = 0, $vararg_buffer = 0, $vararg_buffer1 = 0, $vararg_buffer11 = 0, $vararg_buffer13 = 0, $vararg_buffer3 = 0, $vararg_buffer5 = 0, $vararg_buffer7 = 0, $vararg_buffer9 = 0, label = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 240 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(240); - $vararg_buffer1 = sp + 208 | 0; - $vararg_buffer = sp + 200 | 0; - $6 = sp + 224 | 0; - $7 = sp + 212 | 0; - $8 = sp + 96 | 0; - $9 = sp + 192 | 0; - $10 = sp; - $13 = HEAP32[$1 >> 2] | 0; - $14 = (HEAP32[$1 + 4 >> 2] | 0) - $13 | 0; - $15 = $14 >> 3; - $17 = $13; - do if ($15 >>> 0 < 4) $$1 = -1; else { - $19 = _malloc($14 << 1) | 0; - if (!$19) { - _arLog(0, 3, 45930, $vararg_buffer); + STACKTOP = STACKTOP + 64 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(64); + $vararg_buffer13 = sp + 56 | 0; + $vararg_buffer11 = sp + 48 | 0; + $vararg_buffer9 = sp + 40 | 0; + $vararg_buffer7 = sp + 32 | 0; + $vararg_buffer5 = sp + 24 | 0; + $vararg_buffer3 = sp + 16 | 0; + $vararg_buffer1 = sp + 8 | 0; + $vararg_buffer = sp; + L1 : do if (!(($pattSize + -16 | 0) >>> 0 > 48 | ($patternCountMax | 0) < 1)) { + $call = _malloc(32) | 0; + if (!$call) { + _arLog(0, 3, 46772, $vararg_buffer); _exit(1); } - $22 = _malloc($15 * 24 | 0) | 0; - if (!$22) { - _arLog(0, 3, 45930, $vararg_buffer1); + HEAP32[$call >> 2] = 0; + HEAP32[$call + 4 >> 2] = $patternCountMax; + HEAP32[$call + 28 >> 2] = $pattSize; + $call8 = _malloc($patternCountMax << 2) | 0; + HEAP32[$call + 8 >> 2] = $call8; + if (!$call8) { + _arLog(0, 3, 46772, $vararg_buffer1); _exit(1); } - $24 = HEAP32[$3 >> 2] | 0; - $25 = HEAP32[$2 >> 2] | 0; - $$065 = 0; - while (1) { - if (($$065 | 0) == ($15 | 0)) break; - $27 = HEAP32[$17 + ($$065 << 3) >> 2] | 0; - HEAPF64[$19 + ($$065 << 4) >> 3] = +HEAPF32[$24 + ($27 * 20 | 0) >> 2]; - HEAPF64[$19 + ($$065 << 4) + 8 >> 3] = +HEAPF32[$24 + ($27 * 20 | 0) + 4 >> 2]; - $37 = HEAP32[$17 + ($$065 << 3) + 4 >> 2] | 0; - HEAPF64[$22 + ($$065 * 24 | 0) >> 3] = +HEAPF32[$25 + ($37 * 12 | 0) >> 2]; - HEAPF64[$22 + ($$065 * 24 | 0) + 8 >> 3] = +HEAPF32[$25 + ($37 * 12 | 0) + 4 >> 2]; - HEAPF64[$22 + ($$065 * 24 | 0) + 16 >> 3] = 0.0; - $$065 = $$065 + 1 | 0; - } - HEAP32[$7 + 8 >> 2] = $15; - HEAP32[$7 >> 2] = $19; - HEAP32[$7 + 4 >> 2] = $22; - $50 = $0 + 8 | 0; - if ((_icpGetInitXw2Xc_from_PlanarData($50, $19, $22, $15, $8) | 0) < 0) { - _free($19); - _free($22); - $$1 = -1; - break; - } - $53 = _icpCreateHandle($50) | 0; - HEAP32[$6 >> 2] = $53; - if (!$53) { - _free($19); - _free($22); - $$1 = -1; - break; - } - if ((_icpPoint($53, $7, $8, $10, $9) | 0) < 0) { - _free($19); - _free($22); - _icpDeleteHandle($6) | 0; - $$066 = -1; - } else { - $$064 = 0; + $mul13 = $patternCountMax << 4; + $call14 = _malloc($mul13) | 0; + HEAP32[$call + 12 >> 2] = $call14; + if (!$call14) { + _arLog(0, 3, 46772, $vararg_buffer3); + _exit(1); + } + $call20 = _malloc($mul13) | 0; + $pattBW = $call + 20 | 0; + HEAP32[$pattBW >> 2] = $call20; + if (!$call20) { + _arLog(0, 3, 46772, $vararg_buffer5); + _exit(1); + } + $mul25 = $patternCountMax << 5; + $call26 = _malloc($mul25) | 0; + HEAP32[$call + 16 >> 2] = $call26; + if (!$call26) { + _arLog(0, 3, 46772, $vararg_buffer7); + _exit(1); + } + $call32 = _malloc($mul25) | 0; + HEAP32[$call + 24 >> 2] = $call32; + if (!$call32) { + _arLog(0, 3, 46772, $vararg_buffer9); + _exit(1); + } + $mul41 = Math_imul($pattSize, $pattSize) | 0; + $mul43 = $mul41 * 12 | 0; + $mul52 = $mul41 << 2; + $i$0 = 0; + L21 : while (1) { + if (($i$0 | 0) >= ($patternCountMax | 0)) { + $retval$0 = $call; + break L1; + } + HEAP32[$call8 + ($i$0 << 2) >> 2] = 0; + $mul46 = $i$0 << 2; + $j$0 = 0; while (1) { - if (($$064 | 0) == 3) break; - $$0 = 0; - while (1) { - if (($$0 | 0) == 4) break; - HEAPF32[$4 + ($$064 << 4) + ($$0 << 2) >> 2] = +HEAPF64[$10 + ($$064 << 5) + ($$0 << 3) >> 3]; - $$0 = $$0 + 1 | 0; + if ($j$0 >>> 0 >= 4) break; + $call44 = _malloc($mul43) | 0; + $add = $j$0 + $mul46 | 0; + HEAP32[$call14 + ($add << 2) >> 2] = $call44; + if (!$call44) { + label = 19; + break L21; } - $$064 = $$064 + 1 | 0; + $call53 = _malloc($mul52) | 0; + HEAP32[(HEAP32[$pattBW >> 2] | 0) + ($add << 2) >> 2] = $call53; + if (!$call53) { + label = 21; + break L21; + } else $j$0 = $j$0 + 1 | 0; } - _icpDeleteHandle($6) | 0; - _free($19); - _free($22); - $58 = +HEAPF64[$9 >> 3]; - HEAPF32[$5 >> 2] = $58; - $$066 = ($58 > 10.0) << 31 >> 31; + $i$0 = $i$0 + 1 | 0; } - $$1 = $$066; - } while (0); + if ((label | 0) == 19) { + _arLog(0, 3, 46772, $vararg_buffer11); + _exit(1); + } else if ((label | 0) == 21) { + _arLog(0, 3, 46772, $vararg_buffer13); + _exit(1); + } + } else $retval$0 = 0; while (0); STACKTOP = sp; - return $$1 | 0; -} - -function __ZNSt3__2L12init_wmonthsEv() { - var $$0$i$i = 0, $4 = 0; - if ((HEAP8[64720] | 0) == 0 ? ___cxa_guard_acquire(64720) | 0 : 0) { - $4 = 63840; - do { - HEAP32[$4 >> 2] = 0; - HEAP32[$4 + 4 >> 2] = 0; - HEAP32[$4 + 8 >> 2] = 0; - $$0$i$i = 0; - while (1) { - if (($$0$i$i | 0) == 3) break; - HEAP32[$4 + ($$0$i$i << 2) >> 2] = 0; - $$0$i$i = $$0$i$i + 1 | 0; - } - $4 = $4 + 12 | 0; - } while (($4 | 0) != 64128); - ___cxa_guard_release(64720); - } - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(63840, 21828) | 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(63852, 21860) | 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(63864, 21896) | 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(63876, 21920) | 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(63888, 21944) | 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(63900, 21960) | 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(63912, 21980) | 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(63924, 22e3) | 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(63936, 22028) | 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(63948, 22068) | 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(63960, 22100) | 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(63972, 22136) | 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(63984, 22172) | 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(63996, 22188) | 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(64008, 22204) | 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(64020, 22220) | 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(64032, 21944) | 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(64044, 22236) | 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(64056, 22252) | 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(64068, 22268) | 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(64080, 22284) | 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(64092, 22300) | 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(64104, 22316) | 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(64116, 22332) | 0; - return; + return $retval$0 | 0; } -function __ZNSt3__2L11init_monthsEv() { - var $$0$i$i = 0, $4 = 0; - if ((HEAP8[64640] | 0) == 0 ? ___cxa_guard_acquire(64640) | 0 : 0) { - $4 = 63344; - do { - HEAP32[$4 >> 2] = 0; - HEAP32[$4 + 4 >> 2] = 0; - HEAP32[$4 + 8 >> 2] = 0; - $$0$i$i = 0; - while (1) { - if (($$0$i$i | 0) == 3) break; - HEAP32[$4 + ($$0$i$i << 2) >> 2] = 0; - $$0$i$i = $$0$i$i + 1 | 0; - } - $4 = $4 + 12 | 0; - } while (($4 | 0) != 63632); - ___cxa_guard_release(64640); - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(63344, 59459) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(63356, 59467) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(63368, 59476) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(63380, 59482) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(63392, 59488) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(63404, 59492) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(63416, 59497) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(63428, 59502) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(63440, 59509) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(63452, 59519) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(63464, 59527) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(63476, 59536) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(63488, 59545) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(63500, 59549) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(63512, 59553) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(63524, 59557) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(63536, 59488) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(63548, 59561) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(63560, 59565) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(63572, 59569) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(63584, 59573) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(63596, 59577) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(63608, 59581) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(63620, 59585) | 0; - return; -} - -function _jpeg_idct_4x2($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $110 = 0, $112 = 0, $114 = 0, $116 = 0, $118 = 0, $120 = 0, $122 = 0, $13 = 0, $19 = 0, $20 = 0, $22 = 0, $29 = 0, $35 = 0, $36 = 0, $37 = 0, $45 = 0, $5 = 0, $51 = 0, $52 = 0, $53 = 0, $61 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $71 = 0, $73 = 0, $74 = 0, $76 = 0, $78 = 0, $80 = 0, $82 = 0, $84 = 0, $9 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $5 = sp; - $7 = HEAP32[$0 + 336 >> 2] | 0; - $9 = HEAP32[$1 + 84 >> 2] | 0; - $13 = Math_imul(HEAP32[$9 >> 2] | 0, HEAP16[$2 >> 1] | 0) | 0; - $19 = Math_imul(HEAP32[$9 + 32 >> 2] | 0, HEAP16[$2 + 16 >> 1] | 0) | 0; - $20 = $19 + $13 | 0; - HEAP32[$5 >> 2] = $20; - $22 = $5 + 16 | 0; - HEAP32[$22 >> 2] = $13 - $19; - $29 = Math_imul(HEAP32[$9 + 4 >> 2] | 0, HEAP16[$2 + 2 >> 1] | 0) | 0; - $35 = Math_imul(HEAP32[$9 + 36 >> 2] | 0, HEAP16[$2 + 18 >> 1] | 0) | 0; - $36 = $35 + $29 | 0; - HEAP32[$5 + 4 >> 2] = $36; - $37 = $29 - $35 | 0; - HEAP32[$5 + 20 >> 2] = $37; - $45 = Math_imul(HEAP32[$9 + 8 >> 2] | 0, HEAP16[$2 + 4 >> 1] | 0) | 0; - $51 = Math_imul(HEAP32[$9 + 40 >> 2] | 0, HEAP16[$2 + 20 >> 1] | 0) | 0; - $52 = $51 + $45 | 0; - HEAP32[$5 + 8 >> 2] = $52; - $53 = $45 - $51 | 0; - HEAP32[$5 + 24 >> 2] = $53; - $61 = Math_imul(HEAP32[$9 + 12 >> 2] | 0, HEAP16[$2 + 6 >> 1] | 0) | 0; - $67 = Math_imul(HEAP32[$9 + 44 >> 2] | 0, HEAP16[$2 + 22 >> 1] | 0) | 0; - $68 = $67 + $61 | 0; - HEAP32[$5 + 12 >> 2] = $68; - $69 = $61 - $67 | 0; - HEAP32[$5 + 28 >> 2] = $69; - $71 = $7 + -384 | 0; - $73 = (HEAP32[$3 >> 2] | 0) + $4 | 0; - $74 = $20 + 4100 | 0; - $76 = $74 + $52 << 13; - $78 = $74 - $52 << 13; - $80 = ($68 + $36 | 0) * 4433 | 0; - $82 = $80 + ($36 * 6270 | 0) | 0; - $84 = $80 + (Math_imul($68, -15137) | 0) | 0; - HEAP8[$73 >> 0] = HEAP8[$71 + (($82 + $76 | 0) >>> 16 & 1023) >> 0] | 0; - HEAP8[$73 + 3 >> 0] = HEAP8[$71 + (($76 - $82 | 0) >>> 16 & 1023) >> 0] | 0; - HEAP8[$73 + 1 >> 0] = HEAP8[$71 + (($84 + $78 | 0) >>> 16 & 1023) >> 0] | 0; - HEAP8[$73 + 2 >> 0] = HEAP8[$71 + (($78 - $84 | 0) >>> 16 & 1023) >> 0] | 0; - $110 = (HEAP32[$3 + 4 >> 2] | 0) + $4 | 0; - $112 = (HEAP32[$22 >> 2] | 0) + 4100 | 0; - $114 = $112 + $53 << 13; - $116 = $112 - $53 << 13; - $118 = ($69 + $37 | 0) * 4433 | 0; - $120 = $118 + ($37 * 6270 | 0) | 0; - $122 = $118 + (Math_imul($69, -15137) | 0) | 0; - HEAP8[$110 >> 0] = HEAP8[$71 + (($120 + $114 | 0) >>> 16 & 1023) >> 0] | 0; - HEAP8[$110 + 3 >> 0] = HEAP8[$71 + (($114 - $120 | 0) >>> 16 & 1023) >> 0] | 0; - HEAP8[$110 + 1 >> 0] = HEAP8[$71 + (($122 + $116 | 0) >>> 16 & 1023) >> 0] | 0; - HEAP8[$110 + 2 >> 0] = HEAP8[$71 + (($116 - $122 | 0) >>> 16 & 1023) >> 0] | 0; - STACKTOP = sp; - return; -} - -function _mbrtowc($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $$0 = 0, $$03952 = 0, $$03952$pn = 0, $$04051 = 0, $$04350 = 0, $$2 = 0, $$lcssa = 0, $$lcssa56 = 0, $12 = 0, $18 = 0, $22 = 0, $26 = 0, $30 = 0, $31 = 0, $34 = 0, $35 = 0, $4 = 0, $43 = 0, $44 = 0, $47 = 0, $49 = 0, $51 = 0, $52 = 0, $53 = 0, $6 = 0, $60 = 0, $spec$select = 0, $spec$select47 = 0, label = 0, sp = 0; +function _mbrtowc($wc, $src, $n, $st) { + $wc = $wc | 0; + $src = $src | 0; + $n = $n | 0; + $st = $st | 0; + var $0 = 0, $1 = 0, $4 = 0, $5 = 0, $7 = 0, $8 = 0, $c$036 = 0, $c$2 = 0, $call71 = 0, $conv42 = 0, $dec = 0, $dec55 = 0, $dec55$lcssa = 0, $dec5547 = 0, $dec5551 = 0, $dummy = 0, $locale = 0, $n$addr$035 = 0, $or54 = 0, $or54$lcssa = 0, $or5446 = 0, $or5450 = 0, $retval$0 = 0, $s$037 = 0, $s$037$pn = 0, $spec$select = 0, $spec$select32 = 0, $sub = 0, label = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $4 = sp; - $spec$select = ($3 | 0) == 0 ? 65400 : $3; - $6 = HEAP32[$spec$select >> 2] | 0; - L1 : do if (!$1) if (!$6) $$0 = 0; else label = 19; else { - $spec$select47 = ($0 | 0) == 0 ? $4 : $0; - if (!$2) $$0 = -2; else { - if (!$6) { - $12 = HEAP8[$1 >> 0] | 0; - if ($12 << 24 >> 24 > -1) { - HEAP32[$spec$select47 >> 2] = $12 & 255; - $$0 = $12 << 24 >> 24 != 0 & 1; + $dummy = sp; + $spec$select = ($st | 0) == 0 ? 66260 : $st; + $0 = HEAP32[$spec$select >> 2] | 0; + L1 : do if (!$src) if (!$0) $retval$0 = 0; else label = 19; else { + $spec$select32 = ($wc | 0) == 0 ? $dummy : $wc; + if (!$n) $retval$0 = -2; else { + if (!$0) { + $1 = HEAP8[$src >> 0] | 0; + if ($1 << 24 >> 24 > -1) { + HEAP32[$spec$select32 >> 2] = $1 & 255; + $retval$0 = $1 << 24 >> 24 != 0 & 1; break; } - $18 = (___pthread_self_414() | 0) + 188 | 0; - $22 = HEAP8[$1 >> 0] | 0; - if (!(HEAP32[HEAP32[$18 >> 2] >> 2] | 0)) { - HEAP32[$spec$select47 >> 2] = $22 << 24 >> 24 & 57343; - $$0 = 1; + $locale = (___pthread_self_691() | 0) + 188 | 0; + $4 = HEAP8[$src >> 0] | 0; + if (!(HEAP32[HEAP32[$locale >> 2] >> 2] | 0)) { + HEAP32[$spec$select32 >> 2] = $4 << 24 >> 24 & 57343; + $retval$0 = 1; break; } - $26 = ($22 & 255) + -194 | 0; - if ($26 >>> 0 > 50) { + $sub = ($4 & 255) + -194 | 0; + if ($sub >>> 0 > 50) { label = 19; break; } - $30 = HEAP32[5728 + ($26 << 2) >> 2] | 0; - $31 = $2 + -1 | 0; - if (!$31) $$2 = $30; else { - $$03952 = $1 + 1 | 0; - $$04051 = $30; - $$04350 = $31; + $5 = HEAP32[5728 + ($sub << 2) >> 2] | 0; + $dec = $n + -1 | 0; + if (!$dec) $c$2 = $5; else { + $c$036 = $5; + $n$addr$035 = $dec; + $s$037 = $src + 1 | 0; label = 11; } } else { - $$03952 = $1; - $$04051 = $6; - $$04350 = $2; + $c$036 = $0; + $n$addr$035 = $n; + $s$037 = $src; label = 11; } L14 : do if ((label | 0) == 11) { - $34 = HEAPU8[$$03952 >> 0] | 0; - $35 = $34 >>> 3; - if (($35 + -16 | $35 + ($$04051 >> 26)) >>> 0 > 7) { + $conv42 = HEAPU8[$s$037 >> 0] | 0; + $7 = $conv42 >>> 3; + if (($7 + -16 | $7 + ($c$036 >> 26)) >>> 0 > 7) { label = 19; break L1; } - $43 = $34 + -128 | $$04051 << 6; - $44 = $$04350 + -1 | 0; - if (($43 | 0) < 0) { - $$03952$pn = $$03952; - $47 = $43; - $53 = $44; + $or5446 = $conv42 + -128 | $c$036 << 6; + $dec5547 = $n$addr$035 + -1 | 0; + if (($or5446 | 0) < 0) { + $dec5551 = $dec5547; + $or5450 = $or5446; + $s$037$pn = $s$037; while (1) { - $$03952$pn = $$03952$pn + 1 | 0; - if (!$53) { - $$2 = $47; + $s$037$pn = $s$037$pn + 1 | 0; + if (!$dec5551) { + $c$2 = $or5450; break L14; } - $49 = HEAP8[$$03952$pn >> 0] | 0; - if (($49 & -64) << 24 >> 24 != -128) { + $8 = HEAP8[$s$037$pn >> 0] | 0; + if (($8 & -64) << 24 >> 24 != -128) { label = 19; break L1; } - $51 = ($49 & 255) + -128 | $47 << 6; - $52 = $53 + -1 | 0; - if (($51 | 0) >= 0) { - $$lcssa = $52; - $$lcssa56 = $51; + $or54 = ($8 & 255) + -128 | $or5450 << 6; + $dec55 = $dec5551 + -1 | 0; + if (($or54 | 0) >= 0) { + $dec55$lcssa = $dec55; + $or54$lcssa = $or54; break; } else { - $47 = $51; - $53 = $52; + $dec5551 = $dec55; + $or5450 = $or54; } } } else { - $$lcssa = $44; - $$lcssa56 = $43; + $dec55$lcssa = $dec5547; + $or54$lcssa = $or5446; } HEAP32[$spec$select >> 2] = 0; - HEAP32[$spec$select47 >> 2] = $$lcssa56; - $$0 = $2 - $$lcssa | 0; + HEAP32[$spec$select32 >> 2] = $or54$lcssa; + $retval$0 = $n - $dec55$lcssa | 0; break L1; } while (0); - HEAP32[$spec$select >> 2] = $$2; - $$0 = -2; + HEAP32[$spec$select >> 2] = $c$2; + $retval$0 = -2; } } while (0); if ((label | 0) == 19) { HEAP32[$spec$select >> 2] = 0; - $60 = ___errno_location() | 0; - HEAP32[$60 >> 2] = 25; - $$0 = -1; + $call71 = ___errno_location() | 0; + HEAP32[$call71 >> 2] = 25; + $retval$0 = -1; } STACKTOP = sp; - return $$0 | 0; + return $retval$0 | 0; } -function _next_marker($0) { - $0 = $0 | 0; - var $$0 = 0, $$058 = 0, $$064 = 0, $$1 = 0, $$159 = 0, $$2 = 0, $$260 = 0, $$26076 = 0, $$26078 = 0, $$275 = 0, $$277 = 0, $$3 = 0, $$361 = 0, $$4 = 0, $$4$ph = 0, $$462 = 0, $$462$ph = 0, $$5 = 0, $$563 = 0, $17 = 0, $2 = 0, $36 = 0, $4 = 0, $40 = 0, $41 = 0, $43 = 0, $45 = 0, $6 = 0, $7 = 0, label = 0; - $2 = HEAP32[$0 + 24 >> 2] | 0; - $4 = $2 + 4 | 0; - $6 = $2 + 12 | 0; - $7 = $0 + 464 | 0; - $$0 = HEAP32[$4 >> 2] | 0; - $$058 = HEAP32[$2 >> 2] | 0; - L1 : while (1) { - if (!$$0) { - if (!(FUNCTION_TABLE_ii[HEAP32[$6 >> 2] & 127]($0) | 0)) { - $$064 = 0; - label = 21; - break; - } - $$1 = HEAP32[$4 >> 2] | 0; - $$159 = HEAP32[$2 >> 2] | 0; +function __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE23__append_forward_unsafeIPcEERS5_T_S9_($this, $__first, $__last) { + $this = $this | 0; + $__first = $__first | 0; + $__last = $__last | 0; + var $0 = 0, $5 = 0, $__first$addr$0 = 0, $__p$0 = 0, $__size_$i$i = 0, $__temp = 0, $add20 = 0, $cond$i$i6380 = 0, $cond$i32 = 0, $cond$i38 = 0, $cond$i72 = 0, $cond$i74 = 0, $scevgep84 = 0, $sub$ptr$rhs$cast$i$i = 0, $sub$ptr$sub$i$i = 0, $tobool$i$i = 0, $tobool$i$i$i = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $sub$ptr$rhs$cast$i$i = $__first; + $__temp = sp; + $__size_$i$i = $this + 11 | 0; + $0 = HEAP8[$__size_$i$i >> 0] | 0; + $tobool$i$i = $0 << 24 >> 24 < 0; + if ($tobool$i$i) { + $cond$i32 = (HEAP32[$this + 8 >> 2] & 2147483647) + -1 | 0; + $cond$i74 = HEAP32[$this + 4 >> 2] | 0; + } else { + $cond$i32 = 10; + $cond$i74 = $0 & 255; + } + $sub$ptr$sub$i$i = $__last - $sub$ptr$rhs$cast$i$i | 0; + do if ($sub$ptr$sub$i$i | 0) { + if ($tobool$i$i) { + $cond$i$i6380 = HEAP32[$this >> 2] | 0; + $cond$i72 = HEAP32[$this + 4 >> 2] | 0; } else { - $$1 = $$0; - $$159 = $$058; - } - $$275 = $$1 + -1 | 0; - $$26076 = $$159 + 1 | 0; - if ((HEAP8[$$159 >> 0] | 0) == -1) { - $$4$ph = $$275; - $$462$ph = $$26076; + $cond$i$i6380 = $this; + $cond$i72 = $0 & 255; + } + if (__ZNSt3__214__ptr_in_rangeIcEEbPKT_S3_S3_($__first, $cond$i$i6380, $cond$i$i6380 + $cond$i72 | 0) | 0) { + HEAP32[$__temp >> 2] = 0; + HEAP32[$__temp + 4 >> 2] = 0; + HEAP32[$__temp + 8 >> 2] = 0; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initIPcEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeES9_S9_($__temp, $__first, $__last); + $5 = HEAP8[$__temp + 11 >> 0] | 0; + $tobool$i$i$i = $5 << 24 >> 24 < 0; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6appendEPKcm($this, $tobool$i$i$i ? HEAP32[$__temp >> 2] | 0 : $__temp, $tobool$i$i$i ? HEAP32[$__temp + 4 >> 2] | 0 : $5 & 255) | 0; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($__temp); + break; + } + if (($cond$i32 - $cond$i74 | 0) >>> 0 < $sub$ptr$sub$i$i >>> 0) __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9__grow_byEmmmmmm($this, $cond$i32, $cond$i74 + $sub$ptr$sub$i$i - $cond$i32 | 0, $cond$i74, $cond$i74, 0, 0); + if ((HEAP8[$__size_$i$i >> 0] | 0) < 0) $cond$i38 = HEAP32[$this >> 2] | 0; else $cond$i38 = $this; + $scevgep84 = $__last + ($cond$i74 - $sub$ptr$rhs$cast$i$i) | 0; + $__first$addr$0 = $__first; + $__p$0 = $cond$i38 + $cond$i74 | 0; + while (1) { + if (($__first$addr$0 | 0) == ($__last | 0)) break; + __ZNSt3__211char_traitsIcE6assignERcRKc($__p$0, $__first$addr$0); + $__first$addr$0 = $__first$addr$0 + 1 | 0; + $__p$0 = $__p$0 + 1 | 0; + } + HEAP8[$__temp >> 0] = 0; + __ZNSt3__211char_traitsIcE6assignERcRKc($cond$i38 + $scevgep84 | 0, $__temp); + $add20 = $cond$i74 + $sub$ptr$sub$i$i | 0; + if ((HEAP8[$__size_$i$i >> 0] | 0) < 0) { + HEAP32[$this + 4 >> 2] = $add20; + break; } else { - $$26078 = $$26076; - $$277 = $$275; - while (1) { - $17 = (HEAP32[$7 >> 2] | 0) + 24 | 0; - HEAP32[$17 >> 2] = (HEAP32[$17 >> 2] | 0) + 1; - HEAP32[$2 >> 2] = $$26078; - HEAP32[$4 >> 2] = $$277; - if (!$$277) { - if (!(FUNCTION_TABLE_ii[HEAP32[$6 >> 2] & 127]($0) | 0)) { - $$064 = 0; - label = 21; - break L1; + HEAP8[$__size_$i$i >> 0] = $add20; + break; + } + } while (0); + STACKTOP = sp; + return $this | 0; +} + +function __ZN6vision21HoughSimilarityVoting4voteEPKfS2_i($this, $ins, $ref, $size) { + $this = $this | 0; + $ins = $ins | 0; + $ref = $ref | 0; + $size = $size | 0; + var $angle = 0, $arrayidx = 0, $arrayidx$i = 0, $arrayidx6 = 0, $i$0 = 0, $mSubBinLocationIndices = 0, $mSubBinLocations = 0, $mfBinAngle = 0, $mfBinScale = 0, $mfBinX = 0, $mfBinY = 0, $num_features_that_cast_vote$0 = 0, $num_features_that_cast_vote$1 = 0, $scale = 0, $shl = 0, $x = 0, $y = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $x = sp + 12 | 0; + $y = sp + 8 | 0; + $angle = sp + 4 | 0; + $scale = sp; + __ZNSt3__212__hash_tableINS_17__hash_value_typeIjjEENS_22__unordered_map_hasherIjS2_NS_4hashIjEELb1EEENS_21__unordered_map_equalIjS2_NS_8equal_toIjEELb1EEENS_9allocatorIS2_EEE5clearEv($this + 92 | 0); + if ($size | 0) { + $mSubBinLocations = $this + 112 | 0; + __ZNSt3__26vectorIfNS_9allocatorIfEEE6resizeEm($mSubBinLocations, $size << 2); + $mSubBinLocationIndices = $this + 124 | 0; + __ZNSt3__26vectorIiNS_9allocatorIiEEE6resizeEm($mSubBinLocationIndices, $size); + if (HEAP8[$this + 16 >> 0] | 0) __ZN6vision21HoughSimilarityVoting19autoAdjustXYNumBinsEPKfS2_i($this, $ins, $ref, $size); + $mfBinX = $this + 68 | 0; + $mfBinY = $this + 72 | 0; + $mfBinAngle = $this + 76 | 0; + $mfBinScale = $this + 80 | 0; + $i$0 = 0; + $num_features_that_cast_vote$0 = 0; + while (1) { + if (($i$0 | 0) >= ($size | 0)) break; + $shl = $i$0 << 2; + $arrayidx = $ins + ($shl << 2) | 0; + $arrayidx6 = $ref + ($shl << 2) | 0; + __ZNK6vision21HoughSimilarityVoting17mapCorrespondenceERfS1_S1_S1_ffffffff($this, $x, $y, $angle, $scale, +HEAPF32[$arrayidx >> 2], +HEAPF32[$arrayidx + 4 >> 2], +HEAPF32[$arrayidx + 8 >> 2], +HEAPF32[$arrayidx + 12 >> 2], +HEAPF32[$arrayidx6 >> 2], +HEAPF32[$arrayidx6 + 4 >> 2], +HEAPF32[$arrayidx6 + 8 >> 2], +HEAPF32[$arrayidx6 + 12 >> 2]); + if (__ZN6vision21HoughSimilarityVoting4voteEffff($this, +HEAPF32[$x >> 2], +HEAPF32[$y >> 2], +HEAPF32[$angle >> 2], +HEAPF32[$scale >> 2]) | 0) { + $arrayidx$i = (HEAP32[$mSubBinLocations >> 2] | 0) + ($num_features_that_cast_vote$0 << 2 << 2) | 0; + HEAP32[$arrayidx$i >> 2] = HEAP32[$mfBinX >> 2]; + HEAP32[$arrayidx$i + 4 >> 2] = HEAP32[$mfBinY >> 2]; + HEAP32[$arrayidx$i + 8 >> 2] = HEAP32[$mfBinAngle >> 2]; + HEAP32[$arrayidx$i + 12 >> 2] = HEAP32[$mfBinScale >> 2]; + HEAP32[(HEAP32[$mSubBinLocationIndices >> 2] | 0) + ($num_features_that_cast_vote$0 << 2) >> 2] = $i$0; + $num_features_that_cast_vote$1 = $num_features_that_cast_vote$0 + 1 | 0; + } else $num_features_that_cast_vote$1 = $num_features_that_cast_vote$0; + $i$0 = $i$0 + 1 | 0; + $num_features_that_cast_vote$0 = $num_features_that_cast_vote$1; + } + __ZNSt3__26vectorIfNS_9allocatorIfEEE6resizeEm($mSubBinLocations, $num_features_that_cast_vote$0 << 2); + __ZNSt3__26vectorIiNS_9allocatorIiEEE6resizeEm($mSubBinLocationIndices, $num_features_that_cast_vote$0); + } + STACKTOP = sp; + return; +} +function __ZNSt3__2L12ucs4_to_utf8EPKjS1_RS1_PhS3_RS3_mNS_12codecvt_modeE($frm, $frm_end, $frm_nxt, $to, $to_end, $to_nxt, $Maxcode, $mode) { + $frm = $frm | 0; + $frm_end = $frm_end | 0; + $frm_nxt = $frm_nxt | 0; + $to = $to | 0; + $to_end = $to_end | 0; + $to_nxt = $to_nxt | 0; + $Maxcode = $Maxcode | 0; + $mode = $mode | 0; + var $$pre39 = 0, $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $incdec$ptr84 = 0, $retval$2 = 0, $sub$ptr$sub39 = 0, label = 0; + HEAP32[$frm_nxt >> 2] = $frm; + HEAP32[$to_nxt >> 2] = $to; + $$pre39 = $to_end; + if ($mode & 2) if (($$pre39 - $to | 0) < 3) $retval$2 = 1; else { + HEAP32[$to_nxt >> 2] = $to + 1; + HEAP8[$to >> 0] = -17; + $0 = HEAP32[$to_nxt >> 2] | 0; + HEAP32[$to_nxt >> 2] = $0 + 1; + HEAP8[$0 >> 0] = -69; + $1 = HEAP32[$to_nxt >> 2] | 0; + HEAP32[$to_nxt >> 2] = $1 + 1; + HEAP8[$1 >> 0] = -65; + label = 4; + } else label = 4; + L4 : do if ((label | 0) == 4) { + $2 = HEAP32[$frm_nxt >> 2] | 0; + while (1) { + if ($2 >>> 0 >= $frm_end >>> 0) { + $retval$2 = 0; + break L4; + } + $3 = HEAP32[$2 >> 2] | 0; + if ($3 >>> 0 > $Maxcode >>> 0 | ($3 & -2048 | 0) == 55296) { + $retval$2 = 2; + break L4; + } + do if ($3 >>> 0 >= 128) { + if ($3 >>> 0 < 2048) { + $5 = HEAP32[$to_nxt >> 2] | 0; + if (($$pre39 - $5 | 0) < 2) { + $retval$2 = 1; + break L4; } - $$3 = HEAP32[$4 >> 2] | 0; - $$361 = HEAP32[$2 >> 2] | 0; - } else { - $$3 = $$277; - $$361 = $$26078; - } - $$2 = $$3 + -1 | 0; - $$260 = $$361 + 1 | 0; - if ((HEAP8[$$361 >> 0] | 0) == -1) { - $$4$ph = $$2; - $$462$ph = $$260; + HEAP32[$to_nxt >> 2] = $5 + 1; + HEAP8[$5 >> 0] = $3 >>> 6 | 192; + $6 = HEAP32[$to_nxt >> 2] | 0; + HEAP32[$to_nxt >> 2] = $6 + 1; + HEAP8[$6 >> 0] = $3 & 63 | 128; + break; + } + $7 = HEAP32[$to_nxt >> 2] | 0; + $sub$ptr$sub39 = $$pre39 - $7 | 0; + if ($3 >>> 0 < 65536) { + if (($sub$ptr$sub39 | 0) < 3) { + $retval$2 = 1; + break L4; + } + HEAP32[$to_nxt >> 2] = $7 + 1; + HEAP8[$7 >> 0] = $3 >>> 12 | 224; + $8 = HEAP32[$to_nxt >> 2] | 0; + HEAP32[$to_nxt >> 2] = $8 + 1; + HEAP8[$8 >> 0] = $3 >>> 6 & 63 | 128; + $9 = HEAP32[$to_nxt >> 2] | 0; + HEAP32[$to_nxt >> 2] = $9 + 1; + HEAP8[$9 >> 0] = $3 & 63 | 128; break; } else { - $$26078 = $$260; - $$277 = $$2; + if (($sub$ptr$sub39 | 0) < 4) { + $retval$2 = 1; + break L4; + } + HEAP32[$to_nxt >> 2] = $7 + 1; + HEAP8[$7 >> 0] = $3 >>> 18 | 240; + $10 = HEAP32[$to_nxt >> 2] | 0; + HEAP32[$to_nxt >> 2] = $10 + 1; + HEAP8[$10 >> 0] = $3 >>> 12 & 63 | 128; + $11 = HEAP32[$to_nxt >> 2] | 0; + HEAP32[$to_nxt >> 2] = $11 + 1; + HEAP8[$11 >> 0] = $3 >>> 6 & 63 | 128; + $12 = HEAP32[$to_nxt >> 2] | 0; + HEAP32[$to_nxt >> 2] = $12 + 1; + HEAP8[$12 >> 0] = $3 & 63 | 128; + break; } - } + } else { + $4 = HEAP32[$to_nxt >> 2] | 0; + if (($$pre39 - $4 | 0) < 1) { + $retval$2 = 1; + break L4; + } + HEAP32[$to_nxt >> 2] = $4 + 1; + HEAP8[$4 >> 0] = $3; + } while (0); + $incdec$ptr84 = (HEAP32[$frm_nxt >> 2] | 0) + 4 | 0; + HEAP32[$frm_nxt >> 2] = $incdec$ptr84; + $2 = $incdec$ptr84; } - $$4 = $$4$ph; - $$462 = $$462$ph; - do { - if (!$$4) { - if (!(FUNCTION_TABLE_ii[HEAP32[$6 >> 2] & 127]($0) | 0)) { - $$064 = 0; - label = 21; - break L1; + } while (0); + return $retval$2 | 0; +} + +function _jpeg_huff_decode($state, $get_buffer, $bits_left, $htbl, $min_bits) { + $state = $state | 0; + $get_buffer = $get_buffer | 0; + $bits_left = $bits_left | 0; + $htbl = $htbl | 0; + $min_bits = $min_bits | 0; + var $7 = 0, $8 = 0, $and = 0, $bits_left$addr$0 = 0, $bits_left$addr$1$lcssa = 0, $bits_left$addr$142 = 0, $bits_left$addr$2 = 0, $bits_left14 = 0, $code$0$lcssa = 0, $code$045 = 0, $get_buffer$addr$0 = 0, $get_buffer$addr$1$lcssa = 0, $get_buffer$addr$143 = 0, $get_buffer$addr$2 = 0, $get_buffer13 = 0, $inc = 0, $l$0$lcssa = 0, $l$044 = 0, $or = 0, $retval$0 = 0, $shl = 0, $sub = 0, $sub16 = 0; + do if (($bits_left | 0) < ($min_bits | 0)) if (!(_jpeg_fill_bit_buffer($state, $get_buffer, $bits_left, $min_bits) | 0)) { + $retval$0 = -1; + return $retval$0 | 0; + } else { + $bits_left$addr$0 = HEAP32[$state + 12 >> 2] | 0; + $get_buffer$addr$0 = HEAP32[$state + 8 >> 2] | 0; + break; + } else { + $bits_left$addr$0 = $bits_left; + $get_buffer$addr$0 = $get_buffer; + } while (0); + $sub = $bits_left$addr$0 - $min_bits | 0; + $and = $get_buffer$addr$0 >> $sub & HEAP32[5184 + ($min_bits << 2) >> 2]; + $get_buffer13 = $state + 8 | 0; + $bits_left14 = $state + 12 | 0; + L7 : do if (($and | 0) > (HEAP32[$htbl + ($min_bits << 2) >> 2] | 0)) { + $bits_left$addr$142 = $sub; + $code$045 = $and; + $get_buffer$addr$143 = $get_buffer$addr$0; + $l$044 = $min_bits; + while (1) { + $shl = $code$045 << 1; + if (($bits_left$addr$142 | 0) < 1) { + if (!(_jpeg_fill_bit_buffer($state, $get_buffer$addr$143, $bits_left$addr$142, 1) | 0)) { + $retval$0 = -1; + break; } - $$5 = HEAP32[$4 >> 2] | 0; - $$563 = HEAP32[$2 >> 2] | 0; + $bits_left$addr$2 = HEAP32[$bits_left14 >> 2] | 0; + $get_buffer$addr$2 = HEAP32[$get_buffer13 >> 2] | 0; } else { - $$5 = $$4; - $$563 = $$462; - } - $$4 = $$5 + -1 | 0; - $$462 = $$563 + 1 | 0; - $36 = HEAP8[$$563 >> 0] | 0; - } while ($36 << 24 >> 24 == -1); - $40 = (HEAP32[$7 >> 2] | 0) + 24 | 0; - $41 = HEAP32[$40 >> 2] | 0; - if ($36 << 24 >> 24) { - label = 18; - break; + $bits_left$addr$2 = $bits_left$addr$142; + $get_buffer$addr$2 = $get_buffer$addr$143; + } + $sub16 = $bits_left$addr$2 + -1 | 0; + $or = $get_buffer$addr$2 >>> $sub16 & 1 | $shl; + $inc = $l$044 + 1 | 0; + if (($or | 0) > (HEAP32[$htbl + ($inc << 2) >> 2] | 0)) { + $bits_left$addr$142 = $sub16; + $code$045 = $or; + $get_buffer$addr$143 = $get_buffer$addr$2; + $l$044 = $inc; + } else { + $bits_left$addr$1$lcssa = $sub16; + $code$0$lcssa = $or; + $get_buffer$addr$1$lcssa = $get_buffer$addr$2; + $l$0$lcssa = $inc; + break L7; + } } - HEAP32[$40 >> 2] = $41 + 2; - HEAP32[$2 >> 2] = $$462; - HEAP32[$4 >> 2] = $$4; - $$0 = $$4; - $$058 = $$462; + return $retval$0 | 0; + } else { + $bits_left$addr$1$lcssa = $sub; + $code$0$lcssa = $and; + $get_buffer$addr$1$lcssa = $get_buffer$addr$0; + $l$0$lcssa = $min_bits; + } while (0); + HEAP32[$get_buffer13 >> 2] = $get_buffer$addr$1$lcssa; + HEAP32[$bits_left14 >> 2] = $bits_left$addr$1$lcssa; + if (($l$0$lcssa | 0) > 16) { + $7 = HEAP32[$state + 16 >> 2] | 0; + $8 = HEAP32[$7 >> 2] | 0; + HEAP32[$8 + 20 >> 2] = 121; + FUNCTION_TABLE_vii[HEAP32[$8 + 4 >> 2] & 255]($7, -1); + $retval$0 = 0; + return $retval$0 | 0; + } else { + $retval$0 = HEAPU8[(HEAP32[$htbl + 72 + ($l$0$lcssa << 2) >> 2] | 0) + $code$0$lcssa + ((HEAP32[$htbl + 140 >> 2] | 0) + 17) >> 0] | 0; + return $retval$0 | 0; } - if ((label | 0) == 18) { - $43 = $36 & 255; - if ($41 | 0) { - $45 = HEAP32[$0 >> 2] | 0; - HEAP32[$45 + 20 >> 2] = 119; - HEAP32[$45 + 24 >> 2] = $41; - HEAP32[(HEAP32[$0 >> 2] | 0) + 28 >> 2] = $43; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$0 >> 2] | 0) + 4 >> 2] & 255]($0, -1); - HEAP32[(HEAP32[$7 >> 2] | 0) + 24 >> 2] = 0; - } - HEAP32[$0 + 440 >> 2] = $43; - HEAP32[$2 >> 2] = $$462; - HEAP32[$4 >> 2] = $$4; - $$064 = 1; - return $$064 | 0; - } else if ((label | 0) == 21) return $$064 | 0; return 0; } -function __ZN6vision19FindHoughSimilarityERNS_21HoughSimilarityVotingERKNSt3__26vectorINS_12FeaturePointENS2_9allocatorIS4_EEEES9_RKNS3_INS_7match_tENS5_ISA_EEEEiiii($0, $1, $2, $3, $4, $5, $6, $7) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - $6 = $6 | 0; - $7 = $7 | 0; - var $$065 = 0, $$cast = 0, $10 = 0, $11 = 0, $12 = 0, $22 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0.0, $31 = 0.0, $32 = 0.0, $34 = 0.0, $50 = 0, $52 = 0, $55 = 0, $57 = 0, $58 = 0, $69 = 0, $8 = 0, $9 = 0, sp = 0; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E14parseArrayTypeEv($this) { + $this = $this | 0; + var $Dimension = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, $call11 = 0, $call21 = 0, $retval$1 = 0, $retval$2 = 0, $retval$3 = 0, label = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 32 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $8 = sp + 20 | 0; - $9 = sp + 8 | 0; - $10 = sp + 4 | 0; - $11 = sp; - $12 = $3 + 4 | 0; - __ZNSt3__26vectorIfNS_9allocatorIfEEEC2Em($8, (HEAP32[$12 >> 2] | 0) - (HEAP32[$3 >> 2] | 0) >> 1); - __ZNSt3__26vectorIfNS_9allocatorIfEEEC2Em($9, (HEAP32[$12 >> 2] | 0) - (HEAP32[$3 >> 2] | 0) >> 1); - $22 = HEAP32[$3 >> 2] | 0; - $24 = (HEAP32[$12 >> 2] | 0) - $22 >> 3; - $$cast = $22; - $25 = HEAP32[$1 >> 2] | 0; - $26 = HEAP32[$2 >> 2] | 0; - $27 = HEAP32[$8 >> 2] | 0; - $28 = HEAP32[$9 >> 2] | 0; - $$065 = 0; - while (1) { - if (($$065 | 0) == ($24 | 0)) break; - $52 = HEAP32[$$cast + ($$065 << 3) >> 2] | 0; - $55 = HEAP32[$$cast + ($$065 << 3) + 4 >> 2] | 0; - $57 = $$065 << 2; - $58 = $27 + ($57 << 2) | 0; - HEAP32[$58 >> 2] = HEAP32[$25 + ($52 * 20 | 0) >> 2]; - HEAP32[$58 + 4 >> 2] = HEAP32[$25 + ($52 * 20 | 0) + 4 >> 2]; - HEAP32[$58 + 8 >> 2] = HEAP32[$25 + ($52 * 20 | 0) + 8 >> 2]; - HEAP32[$58 + 12 >> 2] = HEAP32[$25 + ($52 * 20 | 0) + 12 >> 2]; - $69 = $28 + ($57 << 2) | 0; - HEAP32[$69 >> 2] = HEAP32[$26 + ($55 * 20 | 0) >> 2]; - HEAP32[$69 + 4 >> 2] = HEAP32[$26 + ($55 * 20 | 0) + 4 >> 2]; - HEAP32[$69 + 8 >> 2] = HEAP32[$26 + ($55 * 20 | 0) + 8 >> 2]; - HEAP32[$69 + 12 >> 2] = HEAP32[$26 + ($55 * 20 | 0) + 12 >> 2]; - $$065 = $$065 + 1 | 0; - } - $29 = +($4 | 0); - $31 = $29 * .20000000298023224 + $29; - $32 = +($5 | 0); - $34 = $32 * .20000000298023224 + $32; - __ZN6vision21HoughSimilarityVoting4initEffffiiii($0, -$31, $31, -$34, $34, 0, 0, 12, 10); - __ZN6vision21HoughSimilarityVoting26setObjectCenterInReferenceEff($0, +($6 >> 1 | 0), +($7 >> 1 | 0)); - __ZN6vision21HoughSimilarityVoting21setRefImageDimensionsEii($0, $6, $7); - __ZN6vision21HoughSimilarityVoting4voteEPKfS2_i($0, HEAP32[$8 >> 2] | 0, HEAP32[$9 >> 2] | 0, (HEAP32[$12 >> 2] | 0) - (HEAP32[$3 >> 2] | 0) >> 3); - __ZNK6vision21HoughSimilarityVoting23getMaximumNumberOfVotesERfRi($0, $10, $11); - $50 = +HEAPF32[$10 >> 2] < 3.0 ? -1 : HEAP32[$11 >> 2] | 0; - __ZNSt3__213__vector_baseIfNS_9allocatorIfEEED2Ev($9); - __ZNSt3__213__vector_baseIfNS_9allocatorIfEEED2Ev($8); - STACKTOP = sp; - return $50 | 0; -} - -function __ZNK12_GLOBAL__N_116itanium_demangle7NewExpr9printLeftERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$byval_copy6 = 0, $15 = 0, $19 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, sp = 0; + $agg$tmp$byval_copy = sp + 16 | 0; + $Dimension = sp; + $agg$tmp = sp + 8 | 0; + if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($this, 65) | 0) { + __ZN12_GLOBAL__N_116itanium_demangle12NodeOrStringC2Ev($Dimension); + if ((((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($this, 0) | 0) << 24 >> 24) + -48 | 0) >>> 0 < 10) { + __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E11parseNumberEb($agg$tmp, $this, 0); + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_116itanium_demangle12NodeOrStringC2ENS_10StringViewE($Dimension, $agg$tmp$byval_copy); + if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($this, 95) | 0) label = 8; else $retval$2 = 0; + } else if (!(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($this, 95) | 0)) { + $call11 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseExprEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0) | 0; + if (($call11 | 0) != 0 ? __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($this, 95) | 0 : 0) { + __ZN12_GLOBAL__N_116itanium_demangle12NodeOrStringC2EPNS0_4NodeE($Dimension, $call11); + label = 8; + } else $retval$2 = 0; + } else label = 8; + if ((label | 0) == 8) { + $call21 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseTypeEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0) | 0; + HEAP32[$agg$tmp$byval_copy >> 2] = $call21; + if (!$call21) $retval$1 = 0; else $retval$1 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_9ArrayTypeEJRPNS0_4NodeERNS0_12NodeOrStringEEEES9_DpOT0_($this, $agg$tmp$byval_copy, $Dimension) | 0; + $retval$2 = $retval$1; + } + $retval$3 = $retval$2; + } else $retval$3 = 0; + STACKTOP = sp; + return $retval$3 | 0; +} + +function __ZNSt3__26vectorIN6vision12FeaturePointENS_9allocatorIS2_EEE6assignIPS2_EENS_9enable_ifIXaasr21__is_forward_iteratorIT_EE5valuesr16is_constructibleIS2_NS_15iterator_traitsIS9_E9referenceEEE5valueEvE4typeES9_S9_($this, $__first, $__last) { + $this = $this | 0; + $__first = $__first | 0; + $__last = $__last | 0; + var $1 = 0, $2 = 0, $__end_$i = 0, $__soon_to_be_end$0$i$i = 0, $__value_$i$i$i$i$i = 0, $add$ptr$i$i22 = 0, $call$i = 0, $cmp4 = 0, $incdec$ptr$i$i = 0, $mul$i = 0, $spec$select = 0, $sub$ptr$div$i = 0, $sub$ptr$div$i$i = 0, $sub$ptr$div$i$i$i = 0, $sub$ptr$rhs$cast$i$i = 0, $sub$ptr$sub$i$i20 = 0; + $sub$ptr$rhs$cast$i$i = $__first; + $sub$ptr$div$i$i = ($__last - $sub$ptr$rhs$cast$i$i | 0) / 20 | 0; + $__value_$i$i$i$i$i = $this + 8 | 0; + $1 = HEAP32[$this >> 2] | 0; + $2 = $1; + do if ($sub$ptr$div$i$i >>> 0 > (((HEAP32[$__value_$i$i$i$i$i >> 2] | 0) - $1 | 0) / 20 | 0) >>> 0) { + __ZNSt3__26vectorIN6vision12FeaturePointENS_9allocatorIS2_EEE13__vdeallocateEv($this); + $call$i = __ZNKSt3__26vectorIN6vision12FeaturePointENS_9allocatorIS2_EEE8max_sizeEv($this) | 0; + if ($call$i >>> 0 < $sub$ptr$div$i$i >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv($this); else { + $sub$ptr$div$i$i$i = ((HEAP32[$__value_$i$i$i$i$i >> 2] | 0) - (HEAP32[$this >> 2] | 0) | 0) / 20 | 0; + $mul$i = $sub$ptr$div$i$i$i << 1; + __ZNSt3__26vectorIN6vision12FeaturePointENS_9allocatorIS2_EEE11__vallocateEm($this, $sub$ptr$div$i$i$i >>> 0 < $call$i >>> 1 >>> 0 ? ($mul$i >>> 0 < $sub$ptr$div$i$i >>> 0 ? $sub$ptr$div$i$i : $mul$i) : $call$i); + __ZNSt3__26vectorIN6vision12FeaturePointENS_9allocatorIS2_EEE18__construct_at_endIPS2_EENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeES9_S9_m($this, $__first, $__last, $sub$ptr$div$i$i); + break; + } + } else { + $__end_$i = $this + 4 | 0; + $sub$ptr$div$i = ((HEAP32[$__end_$i >> 2] | 0) - $1 | 0) / 20 | 0; + $cmp4 = $sub$ptr$div$i$i >>> 0 > $sub$ptr$div$i >>> 0; + $spec$select = $cmp4 ? $__first + ($sub$ptr$div$i * 20 | 0) | 0 : $__last; + $sub$ptr$sub$i$i20 = $spec$select - $sub$ptr$rhs$cast$i$i | 0; + if ($sub$ptr$sub$i$i20 | 0) _memmove($1 | 0, $__first | 0, $sub$ptr$sub$i$i20 | 0) | 0; + $add$ptr$i$i22 = $2 + ((($sub$ptr$sub$i$i20 | 0) / 20 | 0) * 20 | 0) | 0; + if ($cmp4) { + __ZNSt3__26vectorIN6vision12FeaturePointENS_9allocatorIS2_EEE18__construct_at_endIPS2_EENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeES9_S9_m($this, $spec$select, $__last, $sub$ptr$div$i$i - (((HEAP32[$__end_$i >> 2] | 0) - (HEAP32[$this >> 2] | 0) | 0) / 20 | 0) | 0); + break; + } + $__soon_to_be_end$0$i$i = HEAP32[$__end_$i >> 2] | 0; + while (1) { + if (($__soon_to_be_end$0$i$i | 0) == ($add$ptr$i$i22 | 0)) break; + $incdec$ptr$i$i = $__soon_to_be_end$0$i$i + -20 | 0; + __ZN6vision12FeaturePointD2Ev($incdec$ptr$i$i); + $__soon_to_be_end$0$i$i = $incdec$ptr$i$i; + } + HEAP32[$__end_$i >> 2] = $add$ptr$i$i22; + } while (0); + return; +} + +function __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE23__append_forward_unsafeIPwEERS5_T_S9_($this, $__first, $__last) { + $this = $this | 0; + $__first = $__first | 0; + $__last = $__last | 0; + var $0 = 0, $1 = 0, $7 = 0, $__first$addr$0 = 0, $__p$0 = 0, $__size_$i$i = 0, $__temp = 0, $add20 = 0, $cond$i$i5874 = 0, $cond$i31 = 0, $cond$i36 = 0, $cond$i66 = 0, $cond$i68 = 0, $sub$ptr$div$i$i = 0, $sub$ptr$sub$i$i = 0, $tobool$i$i = 0, $tobool$i$i$i = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 64 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(64); - $$byval_copy6 = sp + 56 | 0; - $2 = sp + 48 | 0; - $3 = sp + 40 | 0; - $4 = sp + 32 | 0; - $5 = sp + 24 | 0; - $6 = sp + 16 | 0; - $7 = sp + 8 | 0; - $8 = sp; - if (HEAP8[$0 + 28 >> 0] | 0) { - __ZN12_GLOBAL__N_110StringViewC2EPKc($2, 53288); - HEAP32[$$byval_copy6 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy6 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy6); - } - __ZN12_GLOBAL__N_110StringViewC2EPKc($3, 53300); - HEAP32[$$byval_copy6 >> 2] = HEAP32[$3 >> 2]; - HEAP32[$$byval_copy6 + 4 >> 2] = HEAP32[$3 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy6); - if (HEAP8[$0 + 29 >> 0] | 0) { - __ZN12_GLOBAL__N_110StringViewC2EPKc($4, 53304); - HEAP32[$$byval_copy6 >> 2] = HEAP32[$4 >> 2]; - HEAP32[$$byval_copy6 + 4 >> 2] = HEAP32[$4 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy6); - } - __ZN12_GLOBAL__N_112OutputStreampLEc($1, 32); - $15 = $0 + 8 | 0; - if (!(__ZNK12_GLOBAL__N_116itanium_demangle9NodeArray5emptyEv($15) | 0)) { - __ZN12_GLOBAL__N_110StringViewC2EPKc($5, 51968); - HEAP32[$$byval_copy6 >> 2] = HEAP32[$5 >> 2]; - HEAP32[$$byval_copy6 + 4 >> 2] = HEAP32[$5 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy6); - __ZNK12_GLOBAL__N_116itanium_demangle9NodeArray14printWithCommaERNS_12OutputStreamE($15, $1); - __ZN12_GLOBAL__N_110StringViewC2EPKc($6, 51964); - HEAP32[$$byval_copy6 >> 2] = HEAP32[$6 >> 2]; - HEAP32[$$byval_copy6 + 4 >> 2] = HEAP32[$6 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy6); - } - __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(HEAP32[$0 + 16 >> 2] | 0, $1); - $19 = $0 + 20 | 0; - if (!(__ZNK12_GLOBAL__N_116itanium_demangle9NodeArray5emptyEv($19) | 0)) { - __ZN12_GLOBAL__N_110StringViewC2EPKc($7, 51968); - HEAP32[$$byval_copy6 >> 2] = HEAP32[$7 >> 2]; - HEAP32[$$byval_copy6 + 4 >> 2] = HEAP32[$7 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy6); - __ZNK12_GLOBAL__N_116itanium_demangle9NodeArray14printWithCommaERNS_12OutputStreamE($19, $1); - __ZN12_GLOBAL__N_110StringViewC2EPKc($8, 51964); - HEAP32[$$byval_copy6 >> 2] = HEAP32[$8 >> 2]; - HEAP32[$$byval_copy6 + 4 >> 2] = HEAP32[$8 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy6); - } - STACKTOP = sp; - return; -} - -function __ZNSt3__2L20utf8_to_utf16_lengthEPKhS1_mmNS_12codecvt_modeE($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $$0100 = 0, $$194 = 0, $$194$ph = 0, $$2102 = 0, $$598 = 0, $$pre = 0, $21 = 0, $22 = 0, $33 = 0, $47 = 0, $49 = 0, $56 = 0, $76 = 0, $78 = 0, $80 = 0, $86 = 0, $89 = 0; - $$pre = $1; - if (((($4 & 4 | 0) != 0 ? ($$pre - $0 | 0) > 2 : 0) ? (HEAP8[$0 >> 0] | 0) == -17 : 0) ? (HEAP8[$0 + 1 >> 0] | 0) == -69 : 0) $$194$ph = (HEAP8[$0 + 2 >> 0] | 0) == -65 ? $0 + 3 | 0 : $0; else $$194$ph = $0; - $$0100 = 0; - $$194 = $$194$ph; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $__temp = sp; + $0 = $this + 8 | 0; + $__size_$i$i = $0 + 3 | 0; + $1 = HEAP8[$__size_$i$i >> 0] | 0; + $tobool$i$i = $1 << 24 >> 24 < 0; + if ($tobool$i$i) { + $cond$i31 = (HEAP32[$0 >> 2] & 2147483647) + -1 | 0; + $cond$i68 = HEAP32[$this + 4 >> 2] | 0; + } else { + $cond$i31 = 1; + $cond$i68 = $1 & 255; + } + $sub$ptr$sub$i$i = $__last - $__first | 0; + $sub$ptr$div$i$i = $sub$ptr$sub$i$i >> 2; + do if ($sub$ptr$sub$i$i | 0) { + if ($tobool$i$i) { + $cond$i$i5874 = HEAP32[$this >> 2] | 0; + $cond$i66 = HEAP32[$this + 4 >> 2] | 0; + } else { + $cond$i$i5874 = $this; + $cond$i66 = $1 & 255; + } + if (__ZNSt3__214__ptr_in_rangeIwEEbPKT_S3_S3_($__first, $cond$i$i5874, $cond$i$i5874 + ($cond$i66 << 2) | 0) | 0) { + HEAP32[$__temp >> 2] = 0; + HEAP32[$__temp + 4 >> 2] = 0; + HEAP32[$__temp + 8 >> 2] = 0; + __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6__initIPwEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeES9_S9_($__temp, $__first, $__last); + $7 = HEAP8[$__temp + 8 + 3 >> 0] | 0; + $tobool$i$i$i = $7 << 24 >> 24 < 0; + __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6appendEPKwm($this, $tobool$i$i$i ? HEAP32[$__temp >> 2] | 0 : $__temp, $tobool$i$i$i ? HEAP32[$__temp + 4 >> 2] | 0 : $7 & 255) | 0; + __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev($__temp); + break; + } + if (($cond$i31 - $cond$i68 | 0) >>> 0 < $sub$ptr$div$i$i >>> 0) __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9__grow_byEmmmmmm($this, $cond$i31, $cond$i68 + $sub$ptr$div$i$i - $cond$i31 | 0, $cond$i68, $cond$i68, 0, 0); + if ((HEAP8[$__size_$i$i >> 0] | 0) < 0) $cond$i36 = HEAP32[$this >> 2] | 0; else $cond$i36 = $this; + $__first$addr$0 = $__first; + $__p$0 = $cond$i36 + ($cond$i68 << 2) | 0; + while (1) { + if (($__first$addr$0 | 0) == ($__last | 0)) break; + __ZNSt3__211char_traitsIwE6assignERwRKw($__p$0, $__first$addr$0); + $__first$addr$0 = $__first$addr$0 + 4 | 0; + $__p$0 = $__p$0 + 4 | 0; + } + HEAP32[$__temp >> 2] = 0; + __ZNSt3__211char_traitsIwE6assignERwRKw($__p$0, $__temp); + $add20 = $cond$i68 + $sub$ptr$div$i$i | 0; + if ((HEAP8[$__size_$i$i >> 0] | 0) < 0) { + HEAP32[$this + 4 >> 2] = $add20; + break; + } else { + HEAP8[$__size_$i$i >> 0] = $add20; + break; + } + } while (0); + STACKTOP = sp; + return $this | 0; +} + +function __ZNSt3__2L19utf8_to_ucs4_lengthEPKhS1_mmNS_12codecvt_modeE($frm, $frm_end, $mx, $Maxcode, $mode) { + $frm = $frm | 0; + $frm_end = $frm_end | 0; + $mx = $mx | 0; + $Maxcode = $Maxcode | 0; + $mode = $mode | 0; + var $$pre = 0, $11 = 0, $12 = 0, $13 = 0, $3 = 0, $5 = 0, $6 = 0, $conv14 = 0, $conv151 = 0, $conv155 = 0, $conv33 = 0, $conv85 = 0, $frm_nxt$1 = 0, $frm_nxt$1$ph = 0, $frm_nxt$5 = 0, $nchar32_t$0 = 0; + $$pre = $frm_end; + if (((($mode & 4 | 0) != 0 ? ($$pre - $frm | 0) > 2 : 0) ? (HEAP8[$frm >> 0] | 0) == -17 : 0) ? (HEAP8[$frm + 1 >> 0] | 0) == -69 : 0) $frm_nxt$1$ph = (HEAP8[$frm + 2 >> 0] | 0) == -65 ? $frm + 3 | 0 : $frm; else $frm_nxt$1$ph = $frm; + $frm_nxt$1 = $frm_nxt$1$ph; + $nchar32_t$0 = 0; L7 : while (1) { - if (!($$0100 >>> 0 < $2 >>> 0 & $$194 >>> 0 < $1 >>> 0)) break; - $21 = HEAP8[$$194 >> 0] | 0; - $22 = $21 & 255; - if ($22 >>> 0 > $3 >>> 0) break; - do if ($21 << 24 >> 24 <= -1) { - if (($21 & 255) < 194) break L7; - if (($21 & 255) < 224) { - if (($$pre - $$194 | 0) < 2) break L7; - $33 = HEAPU8[$$194 + 1 >> 0] | 0; - if (($33 & 192 | 0) != 128) break L7; - if (($33 & 63 | $22 << 6 & 1984) >>> 0 > $3 >>> 0) break L7; else { - $$2102 = $$0100; - $$598 = $$194 + 2 | 0; + if (!($nchar32_t$0 >>> 0 < $mx >>> 0 & $frm_nxt$1 >>> 0 < $frm_end >>> 0)) break; + $3 = HEAP8[$frm_nxt$1 >> 0] | 0; + $conv14 = $3 & 255; + do if ($3 << 24 >> 24 <= -1) { + if (($3 & 255) < 194) break L7; + if (($3 & 255) < 224) { + if (($$pre - $frm_nxt$1 | 0) < 2) break L7; + $conv33 = HEAPU8[$frm_nxt$1 + 1 >> 0] | 0; + if (($conv33 & 192 | 0) != 128) break L7; + if (($conv33 & 63 | $conv14 << 6 & 1984) >>> 0 > $Maxcode >>> 0) break L7; + $frm_nxt$5 = $frm_nxt$1 + 2 | 0; + break; + } + if (($3 & 255) < 240) { + if (($$pre - $frm_nxt$1 | 0) < 3) break L7; + $5 = HEAP8[$frm_nxt$1 + 1 >> 0] | 0; + $6 = HEAP8[$frm_nxt$1 + 2 >> 0] | 0; + switch ($3 << 24 >> 24) { + case -32: + { + if (($5 & -32) << 24 >> 24 != -96) break L7; + break; + } + case -19: + { + if (($5 & -32) << 24 >> 24 != -128) break L7; + break; + } + default: + if (($5 & -64) << 24 >> 24 != -128) break L7; + } + $conv85 = $6 & 255; + if (($conv85 & 192 | 0) != 128) break L7; + if ((($5 & 63) << 6 | $conv14 << 12 & 61440 | $conv85 & 63) >>> 0 > $Maxcode >>> 0) break L7; else { + $frm_nxt$5 = $frm_nxt$1 + 3 | 0; + break; + } + } + if (($3 & 255) >= 245) break L7; + if (($$pre - $frm_nxt$1 | 0) < 4) break L7; + $11 = HEAP8[$frm_nxt$1 + 1 >> 0] | 0; + $12 = HEAP8[$frm_nxt$1 + 2 >> 0] | 0; + $13 = HEAP8[$frm_nxt$1 + 3 >> 0] | 0; + switch ($3 << 24 >> 24) { + case -16: + { + if (($11 + 112 & 255) >= 48) break L7; + break; + } + case -12: + { + if (($11 & -16) << 24 >> 24 != -128) break L7; break; } + default: + if (($11 & -64) << 24 >> 24 != -128) break L7; + } + $conv151 = $12 & 255; + if (($conv151 & 192 | 0) != 128) break L7; + $conv155 = $13 & 255; + if (($conv155 & 192 | 0) != 128) break L7; + if ((($11 & 63) << 12 | $conv14 << 18 & 1835008 | $conv151 << 6 & 4032 | $conv155 & 63) >>> 0 > $Maxcode >>> 0) break L7; else $frm_nxt$5 = $frm_nxt$1 + 4 | 0; + } else { + if ($conv14 >>> 0 > $Maxcode >>> 0) break L7; + $frm_nxt$5 = $frm_nxt$1 + 1 | 0; + } while (0); + $frm_nxt$1 = $frm_nxt$5; + $nchar32_t$0 = $nchar32_t$0 + 1 | 0; + } + return $frm_nxt$1 - $frm | 0; +} + +function __ZNSt3__2L12init_wmonthsEv() { + var $__i$0$i$i = 0, $arrayctor$cur = 0; + if ((HEAP8[65568] | 0) == 0 ? ___cxa_guard_acquire(65568) | 0 : 0) { + $arrayctor$cur = 64688; + do { + HEAP32[$arrayctor$cur >> 2] = 0; + HEAP32[$arrayctor$cur + 4 >> 2] = 0; + HEAP32[$arrayctor$cur + 8 >> 2] = 0; + $__i$0$i$i = 0; + while (1) { + if (($__i$0$i$i | 0) == 3) break; + HEAP32[$arrayctor$cur + ($__i$0$i$i << 2) >> 2] = 0; + $__i$0$i$i = $__i$0$i$i + 1 | 0; + } + $arrayctor$cur = $arrayctor$cur + 12 | 0; + } while (($arrayctor$cur | 0) != 64976); + ___cxa_guard_release(65568); + } + __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(64688, 21828) | 0; + __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(64700, 21860) | 0; + __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(64712, 21896) | 0; + __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(64724, 21920) | 0; + __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(64736, 21944) | 0; + __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(64748, 21960) | 0; + __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(64760, 21980) | 0; + __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(64772, 22e3) | 0; + __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(64784, 22028) | 0; + __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(64796, 22068) | 0; + __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(64808, 22100) | 0; + __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(64820, 22136) | 0; + __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(64832, 22172) | 0; + __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(64844, 22188) | 0; + __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(64856, 22204) | 0; + __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(64868, 22220) | 0; + __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(64880, 21944) | 0; + __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(64892, 22236) | 0; + __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(64904, 22252) | 0; + __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(64916, 22268) | 0; + __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(64928, 22284) | 0; + __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(64940, 22300) | 0; + __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(64952, 22316) | 0; + __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(64964, 22332) | 0; + return; +} + +function __ZNSt3__2L11init_monthsEv() { + var $__i$0$i$i = 0, $arrayctor$cur = 0; + if ((HEAP8[65488] | 0) == 0 ? ___cxa_guard_acquire(65488) | 0 : 0) { + $arrayctor$cur = 64192; + do { + HEAP32[$arrayctor$cur >> 2] = 0; + HEAP32[$arrayctor$cur + 4 >> 2] = 0; + HEAP32[$arrayctor$cur + 8 >> 2] = 0; + $__i$0$i$i = 0; + while (1) { + if (($__i$0$i$i | 0) == 3) break; + HEAP32[$arrayctor$cur + ($__i$0$i$i << 2) >> 2] = 0; + $__i$0$i$i = $__i$0$i$i + 1 | 0; + } + $arrayctor$cur = $arrayctor$cur + 12 | 0; + } while (($arrayctor$cur | 0) != 64480); + ___cxa_guard_release(65488); + } + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(64192, 60301) | 0; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(64204, 60309) | 0; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(64216, 60318) | 0; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(64228, 60324) | 0; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(64240, 60330) | 0; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(64252, 60334) | 0; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(64264, 60339) | 0; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(64276, 60344) | 0; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(64288, 60351) | 0; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(64300, 60361) | 0; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(64312, 60369) | 0; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(64324, 60378) | 0; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(64336, 60387) | 0; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(64348, 60391) | 0; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(64360, 60395) | 0; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(64372, 60399) | 0; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(64384, 60330) | 0; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(64396, 60403) | 0; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(64408, 60407) | 0; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(64420, 60411) | 0; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(64432, 60415) | 0; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(64444, 60419) | 0; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(64456, 60423) | 0; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(64468, 60427) | 0; + return; +} + +function _start_pass_main_98($cinfo, $pass_mode) { + $cinfo = $cinfo | 0; + $pass_mode = $pass_mode | 0; + var $0 = 0, $11 = 0, $12 = 0, $13 = 0, $18 = 0, $3 = 0, $4 = 0, $9 = 0, $add$i = 0, $add19$i = 0, $add22$i = 0, $arrayidx$i = 0, $arrayidx4$i = 0, $ci$060$i = 0, $compptr$059$i = 0, $div$i = 0, $i$053$i = 0, $i$155$i = 0, $i$257$i = 0, $mul15$i = 0, $mul18$i = 0, $mul21$i = 0, $mul8$i = 0, $process_data = 0, $sub$i = 0; + $0 = HEAP32[$cinfo + 448 >> 2] | 0; + switch ($pass_mode | 0) { + case 0: + { + $process_data = $0 + 4 | 0; + if (!(HEAP32[(HEAP32[$cinfo + 476 >> 2] | 0) + 8 >> 2] | 0)) { + HEAP32[$process_data >> 2] = 22; + HEAP32[$0 + 48 >> 2] = HEAP32[$0 + 52 >> 2]; + return; + } + HEAP32[$process_data >> 2] = 21; + $3 = HEAP32[$cinfo + 328 >> 2] | 0; + $4 = HEAP32[$cinfo + 36 >> 2] | 0; + if (($4 | 0) > 0) { + $arrayidx$i = $0 + 60 | 0; + $arrayidx4$i = $0 + 64 | 0; + $add$i = $3 + 2 | 0; + $sub$i = $3 + -2 | 0; + $ci$060$i = 0; + $compptr$059$i = HEAP32[$cinfo + 216 >> 2] | 0; + while (1) { + $div$i = (Math_imul(HEAP32[$compptr$059$i + 40 >> 2] | 0, HEAP32[$compptr$059$i + 12 >> 2] | 0) | 0) / ($3 | 0) | 0; + $9 = HEAP32[(HEAP32[$arrayidx$i >> 2] | 0) + ($ci$060$i << 2) >> 2] | 0; + $11 = HEAP32[(HEAP32[$arrayidx4$i >> 2] | 0) + ($ci$060$i << 2) >> 2] | 0; + $12 = HEAP32[$0 + 8 + ($ci$060$i << 2) >> 2] | 0; + $mul8$i = Math_imul($div$i, $add$i) | 0; + if (($mul8$i | 0) > 0) { + $i$053$i = 0; + do { + $13 = HEAP32[$12 + ($i$053$i << 2) >> 2] | 0; + HEAP32[$11 + ($i$053$i << 2) >> 2] = $13; + HEAP32[$9 + ($i$053$i << 2) >> 2] = $13; + $i$053$i = $i$053$i + 1 | 0; + } while (($i$053$i | 0) != ($mul8$i | 0)); + } + $mul15$i = $div$i << 1; + if (($div$i | 0) > 0) { + $mul18$i = Math_imul($div$i, $3) | 0; + $mul21$i = Math_imul($div$i, $sub$i) | 0; + $i$155$i = 0; + do { + $add19$i = $i$155$i + $mul18$i | 0; + $add22$i = $i$155$i + $mul21$i | 0; + HEAP32[$11 + ($add22$i << 2) >> 2] = HEAP32[$12 + ($add19$i << 2) >> 2]; + HEAP32[$11 + ($add19$i << 2) >> 2] = HEAP32[$12 + ($add22$i << 2) >> 2]; + $i$155$i = $i$155$i + 1 | 0; + } while (($i$155$i | 0) < ($mul15$i | 0)); + $i$257$i = 0; + do { + HEAP32[$9 + ($i$257$i - $div$i << 2) >> 2] = HEAP32[$9 >> 2]; + $i$257$i = $i$257$i + 1 | 0; + } while (($i$257$i | 0) != ($div$i | 0)); + } + $ci$060$i = $ci$060$i + 1 | 0; + if (($ci$060$i | 0) == ($4 | 0)) break; else $compptr$059$i = $compptr$059$i + 88 | 0; + } + } + HEAP32[$0 + 68 >> 2] = 0; + HEAP32[$0 + 72 >> 2] = 0; + HEAP32[$0 + 76 >> 2] = 0; + HEAP32[$0 + 56 >> 2] = 0; + return; + } + case 2: + { + HEAP32[$0 + 4 >> 2] = 23; + return; + } + default: + { + $18 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$18 + 20 >> 2] = 3; + FUNCTION_TABLE_vi[HEAP32[$18 >> 2] & 255]($cinfo); + return; + } + } +} + +function _arParamChangeSize($source, $xsize, $ysize, $newparam) { + $source = $source | 0; + $xsize = $xsize | 0; + $ysize = $ysize | 0; + $newparam = $newparam | 0; + var $5 = 0, $div = 0.0, $div6 = 0.0, $i$0 = 0, $retval$0 = 0, label = 0; + $div = +($xsize | 0) / +(HEAP32[$source >> 2] | 0); + $div6 = +($ysize | 0) / +(HEAP32[$source + 4 >> 2] | 0); + HEAP32[$newparam >> 2] = $xsize; + HEAP32[$newparam + 4 >> 2] = $ysize; + $i$0 = 0; + while (1) { + if (($i$0 | 0) == 4) break; + HEAPF64[$newparam + 8 + ($i$0 << 3) >> 3] = $div * +HEAPF64[$source + 8 + ($i$0 << 3) >> 3]; + HEAPF64[$newparam + 40 + ($i$0 << 3) >> 3] = $div6 * +HEAPF64[$source + 40 + ($i$0 << 3) >> 3]; + HEAPF64[$newparam + 72 + ($i$0 << 3) >> 3] = +HEAPF64[$source + 72 + ($i$0 << 3) >> 3]; + $i$0 = $i$0 + 1 | 0; + } + $5 = HEAP32[$source + 176 >> 2] | 0; + switch ($5 | 0) { + case 4: + { + HEAPF64[$newparam + 104 >> 3] = +HEAPF64[$source + 104 >> 3]; + HEAPF64[$newparam + 112 >> 3] = +HEAPF64[$source + 112 >> 3]; + HEAPF64[$newparam + 120 >> 3] = +HEAPF64[$source + 120 >> 3]; + HEAPF64[$newparam + 128 >> 3] = +HEAPF64[$source + 128 >> 3]; + HEAPF64[$newparam + 136 >> 3] = $div * +HEAPF64[$source + 136 >> 3]; + HEAPF64[$newparam + 144 >> 3] = $div6 * +HEAPF64[$source + 144 >> 3]; + HEAPF64[$newparam + 152 >> 3] = $div * +HEAPF64[$source + 152 >> 3]; + HEAPF64[$newparam + 160 >> 3] = $div6 * +HEAPF64[$source + 160 >> 3]; + HEAPF64[$newparam + 168 >> 3] = +HEAPF64[$source + 168 >> 3]; + label = 9; + break; + } + case 3: + { + HEAPF64[$newparam + 104 >> 3] = $div * +HEAPF64[$source + 104 >> 3]; + HEAPF64[$newparam + 112 >> 3] = $div6 * +HEAPF64[$source + 112 >> 3]; + HEAPF64[$newparam + 120 >> 3] = +HEAPF64[$source + 120 >> 3]; + HEAPF64[$newparam + 128 >> 3] = +HEAPF64[$source + 128 >> 3]; + HEAPF64[$newparam + 136 >> 3] = +HEAPF64[$source + 136 >> 3] / ($div * $div6); + HEAPF64[$newparam + 144 >> 3] = +HEAPF64[$source + 144 >> 3] / ($div6 * ($div * $div * $div6)); + label = 9; + break; + } + case 2: + { + HEAPF64[$newparam + 104 >> 3] = $div * +HEAPF64[$source + 104 >> 3]; + HEAPF64[$newparam + 112 >> 3] = $div6 * +HEAPF64[$source + 112 >> 3]; + HEAPF64[$newparam + 120 >> 3] = +HEAPF64[$source + 120 >> 3]; + HEAPF64[$newparam + 128 >> 3] = +HEAPF64[$source + 128 >> 3] / ($div * $div6); + HEAPF64[$newparam + 136 >> 3] = +HEAPF64[$source + 136 >> 3] / ($div6 * ($div * $div * $div6)); + label = 9; + break; + } + case 1: + { + HEAPF64[$newparam + 104 >> 3] = $div * +HEAPF64[$source + 104 >> 3]; + HEAPF64[$newparam + 112 >> 3] = $div6 * +HEAPF64[$source + 112 >> 3]; + HEAPF64[$newparam + 120 >> 3] = +HEAPF64[$source + 120 >> 3]; + HEAPF64[$newparam + 128 >> 3] = +HEAPF64[$source + 128 >> 3] / ($div * $div6); + label = 9; + break; + } + default: + $retval$0 = -1; + } + if ((label | 0) == 9) { + HEAP32[$newparam + 176 >> 2] = $5; + $retval$0 = 0; + } + return $retval$0 | 0; +} + +function _decode_mcu_DC_refine_22($cinfo, $MCU_data) { + $cinfo = $cinfo | 0; + $MCU_data = $MCU_data | 0; + var $0 = 0, $18 = 0, $19 = 0, $2 = 0, $22 = 0, $5 = 0, $8 = 0, $Ah$i = 0, $Ss$i = 0, $arraydecay = 0, $blkn$016 = 0, $blocks_in_MCU = 0, $ci$032$i = 0, $comps_in_scan$i = 0, $lim_Se$i = 0, $progressive_mode$i = 0, $restart_interval = 0, $restarts_to_go = 0, $shl = 0, dest = 0, label = 0, stop = 0; + $0 = HEAP32[$cinfo + 468 >> 2] | 0; + $restart_interval = $cinfo + 280 | 0; + if (HEAP32[$restart_interval >> 2] | 0) { + $restarts_to_go = $0 + 56 | 0; + $2 = HEAP32[$restarts_to_go >> 2] | 0; + if (!$2) { + if (!(FUNCTION_TABLE_ii[HEAP32[(HEAP32[$cinfo + 464 >> 2] | 0) + 8 >> 2] & 127]($cinfo) | 0)) { + $5 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$5 + 20 >> 2] = 25; + FUNCTION_TABLE_vi[HEAP32[$5 >> 2] & 255]($cinfo); + } + $comps_in_scan$i = $cinfo + 340 | 0; + if ((HEAP32[$comps_in_scan$i >> 2] | 0) > 0) { + $progressive_mode$i = $cinfo + 224 | 0; + $Ss$i = $cinfo + 412 | 0; + $lim_Se$i = $cinfo + 436 | 0; + $Ah$i = $cinfo + 420 | 0; + $ci$032$i = 0; + do { + $8 = HEAP32[$cinfo + 344 + ($ci$032$i << 2) >> 2] | 0; + if (HEAP32[$progressive_mode$i >> 2] | 0) if (!(HEAP32[$Ss$i >> 2] | 0)) { + if (!(HEAP32[$Ah$i >> 2] | 0)) label = 10; + } else label = 13; else label = 10; + do if ((label | 0) == 10) { + label = 0; + dest = HEAP32[$0 + 60 + (HEAP32[$8 + 20 >> 2] << 2) >> 2] | 0; + stop = dest + 64 | 0; + do { + HEAP8[dest >> 0] = 0; + dest = dest + 1 | 0; + } while ((dest | 0) < (stop | 0)); + HEAP32[$0 + 24 + ($ci$032$i << 2) >> 2] = 0; + HEAP32[$0 + 40 + ($ci$032$i << 2) >> 2] = 0; + if (!(HEAP32[$progressive_mode$i >> 2] | 0)) if (!(HEAP32[$lim_Se$i >> 2] | 0)) break; else { + label = 13; + break; + } else if (!(HEAP32[$Ss$i >> 2] | 0)) break; else { + label = 13; + break; + } + } while (0); + if ((label | 0) == 13) { + label = 0; + _memset(HEAP32[$0 + 124 + (HEAP32[$8 + 24 >> 2] << 2) >> 2] | 0, 0, 256) | 0; + } + $ci$032$i = $ci$032$i + 1 | 0; + } while (($ci$032$i | 0) < (HEAP32[$comps_in_scan$i >> 2] | 0)); + } + HEAP32[$0 + 12 >> 2] = 0; + HEAP32[$0 + 16 >> 2] = 0; + HEAP32[$0 + 20 >> 2] = -16; + $18 = HEAP32[$restart_interval >> 2] | 0; + HEAP32[$restarts_to_go >> 2] = $18; + $19 = $18; + } else $19 = $2; + HEAP32[$restarts_to_go >> 2] = $19 + -1; + } + $arraydecay = $0 + 188 | 0; + $shl = 1 << HEAP32[$cinfo + 424 >> 2]; + $blocks_in_MCU = $cinfo + 368 | 0; + if ((HEAP32[$blocks_in_MCU >> 2] | 0) <= 0) return 1; + $blkn$016 = 0; + do { + if (_arith_decode($cinfo, $arraydecay) | 0) { + $22 = HEAP32[$MCU_data + ($blkn$016 << 2) >> 2] | 0; + HEAP16[$22 >> 1] = $shl | (HEAPU16[$22 >> 1] | 0); + } + $blkn$016 = $blkn$016 + 1 | 0; + } while (($blkn$016 | 0) < (HEAP32[$blocks_in_MCU >> 2] | 0)); + return 1; +} + +function __ZN6vision10DoGPyramid5allocEPKNS_25GaussianScaleSpacePyramidE($this, $pyramid) { + $this = $this | 0; + $pyramid = $pyramid | 0; + var $3 = 0, $add = 0, $call$i1$i = 0, $call$i2$i = 0, $call10 = 0, $call12 = 0, $call14 = 0, $call15 = 0, $call7 = 0, $i$0 = 0, $j$0 = 0, $mNumOctaves = 0, $mNumScalesPerOctave = 0, $ref$tmp$i = 0, $shr = 0, $shr30 = 0, $sub = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $ref$tmp$i = sp; + if (!(__ZNK6vision25GaussianScaleSpacePyramid4sizeEv($pyramid) | 0)) { + $call7 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 26705) | 0, 26748) | 0, 39794) | 0, 53) | 0, 39801) | 0, 26881) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i, $call7 + (HEAP32[(HEAP32[$call7 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i, 67360) | 0; + $call$i2$i = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i >> 2] | 0) + 28 >> 2] & 127]($call$i1$i, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call7, $call$i2$i) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call7) | 0; + _abort(); + } + $call10 = __ZNK6vision5Image4typeEv(__ZNK6vision25GaussianScaleSpacePyramid3getEmm($pyramid, 0, 0) | 0) | 0; + $call12 = __ZNK6vision5Image5widthEv(__ZNK6vision25GaussianScaleSpacePyramid3getEmm($pyramid, 0, 0) | 0) | 0; + $call14 = __ZNK6vision5Image6heightEv(__ZNK6vision25GaussianScaleSpacePyramid3getEmm($pyramid, 0, 0) | 0) | 0; + $call15 = __ZNK6vision25GaussianScaleSpacePyramid10numOctavesEv($pyramid) | 0; + $mNumOctaves = $this + 12 | 0; + HEAP32[$mNumOctaves >> 2] = $call15; + $sub = (__ZNK6vision25GaussianScaleSpacePyramid18numScalesPerOctaveEv($pyramid) | 0) + -1 | 0; + $mNumScalesPerOctave = $this + 16 | 0; + HEAP32[$mNumScalesPerOctave >> 2] = $sub; + __ZNSt3__26vectorIN6vision5ImageENS_9allocatorIS2_EEE6resizeEm($this, Math_imul(HEAP32[$mNumOctaves >> 2] | 0, $sub) | 0); + $i$0 = 0; + while (1) { + if ($i$0 >>> 0 >= (HEAP32[$mNumOctaves >> 2] | 0) >>> 0) break; + $shr = $call12 >>> $i$0; + $shr30 = $call14 >>> $i$0; + $j$0 = 0; + while (1) { + $3 = HEAP32[$mNumScalesPerOctave >> 2] | 0; + if ($j$0 >>> 0 >= $3 >>> 0) break; + $add = (Math_imul($3, $i$0) | 0) + $j$0 | 0; + __ZN6vision5Image5allocENS_9ImageTypeEmmim((HEAP32[$this >> 2] | 0) + ($add << 5) | 0, $call10, $shr, $shr30, -1, 1); + $j$0 = $j$0 + 1 | 0; + } + $i$0 = $i$0 + 1 | 0; + } + STACKTOP = sp; + return; +} + +function _memchr($src, $c, $n) { + $src = $src | 0; + $c = $c | 0; + $n = $n | 0; + var $$in = 0, $1 = 0, $5 = 0, $8 = 0, $conv1 = 0, $dec = 0, $incdec$ptr = 0, $incdec$ptr21 = 0, $mul = 0, $n$addr$0$lcssa = 0, $n$addr$0$lcssa52 = 0, $n$addr$043 = 0, $n$addr$1$lcssa = 0, $n$addr$1$lcssa55 = 0, $n$addr$133 = 0, $n$addr$227 = 0, $s$0$lcssa = 0, $s$0$lcssa53 = 0, $s$044 = 0, $s$128 = 0, $sub22 = 0, $tobool2 = 0, $tobool2$lcssa = 0, $tobool241 = 0, $w$0$lcssa = 0, $w$034 = 0, $xor = 0, label = 0; + $conv1 = $c & 255; + $tobool241 = ($n | 0) != 0; + L1 : do if ($tobool241 & ($src & 3 | 0) != 0) { + $1 = $c & 255; + $n$addr$043 = $n; + $s$044 = $src; + while (1) { + if ((HEAP8[$s$044 >> 0] | 0) == $1 << 24 >> 24) { + $n$addr$0$lcssa52 = $n$addr$043; + $s$0$lcssa53 = $s$044; + label = 6; + break L1; } - if (($21 & 255) < 240) { - if (($$pre - $$194 | 0) < 3) break L7; - $47 = HEAP8[$$194 + 1 >> 0] | 0; - $49 = HEAP8[$$194 + 2 >> 0] | 0; - switch ($21 << 24 >> 24) { - case -32: - { - if (($47 & -32) << 24 >> 24 != -96) break L7; - break; - } - case -19: - { - if (($47 & -32) << 24 >> 24 != -128) break L7; - break; - } - default: - if (($47 & -64) << 24 >> 24 != -128) break L7; - } - $56 = $49 & 255; - if (($56 & 192 | 0) != 128) break L7; - if ((($47 & 63) << 6 | $22 << 12 & 61440 | $56 & 63) >>> 0 > $3 >>> 0) break L7; else { - $$2102 = $$0100; - $$598 = $$194 + 3 | 0; - break; - } + $incdec$ptr = $s$044 + 1 | 0; + $dec = $n$addr$043 + -1 | 0; + $tobool2 = ($dec | 0) != 0; + if ($tobool2 & ($incdec$ptr & 3 | 0) != 0) { + $n$addr$043 = $dec; + $s$044 = $incdec$ptr; + } else { + $n$addr$0$lcssa = $dec; + $s$0$lcssa = $incdec$ptr; + $tobool2$lcssa = $tobool2; + label = 5; + break; } - if (($21 & 255) >= 245) break L7; - if (($2 - $$0100 | 0) >>> 0 < 2 | ($$pre - $$194 | 0) < 4) break L7; - $76 = HEAP8[$$194 + 1 >> 0] | 0; - $78 = HEAP8[$$194 + 2 >> 0] | 0; - $80 = HEAP8[$$194 + 3 >> 0] | 0; - switch ($21 << 24 >> 24) { - case -16: - { - if (($76 + 112 & 255) >= 48) break L7; - break; + } + } else { + $n$addr$0$lcssa = $n; + $s$0$lcssa = $src; + $tobool2$lcssa = $tobool241; + label = 5; + } while (0); + if ((label | 0) == 5) if ($tobool2$lcssa) { + $n$addr$0$lcssa52 = $n$addr$0$lcssa; + $s$0$lcssa53 = $s$0$lcssa; + label = 6; + } else label = 16; + L8 : do if ((label | 0) == 6) { + $5 = $c & 255; + if ((HEAP8[$s$0$lcssa53 >> 0] | 0) == $5 << 24 >> 24) if (!$n$addr$0$lcssa52) { + label = 16; + break; + } else { + $8 = $s$0$lcssa53; + break; + } + $mul = Math_imul($conv1, 16843009) | 0; + L13 : do if ($n$addr$0$lcssa52 >>> 0 > 3) { + $n$addr$133 = $n$addr$0$lcssa52; + $w$034 = $s$0$lcssa53; + while (1) { + $xor = HEAP32[$w$034 >> 2] ^ $mul; + if (($xor & -2139062144 ^ -2139062144) & $xor + -16843009 | 0) { + $$in = $w$034; + $n$addr$1$lcssa55 = $n$addr$133; + break L13; } - case -12: - { - if (($76 & -16) << 24 >> 24 != -128) break L7; + $incdec$ptr21 = $w$034 + 4 | 0; + $sub22 = $n$addr$133 + -4 | 0; + if ($sub22 >>> 0 > 3) { + $n$addr$133 = $sub22; + $w$034 = $incdec$ptr21; + } else { + $n$addr$1$lcssa = $sub22; + $w$0$lcssa = $incdec$ptr21; + label = 11; break; } - default: - if (($76 & -64) << 24 >> 24 != -128) break L7; - } - $86 = $78 & 255; - if (($86 & 192 | 0) != 128) break L7; - $89 = $80 & 255; - if (($89 & 192 | 0) != 128) break L7; - if ((($76 & 63) << 12 | $22 << 18 & 1835008 | $86 << 6 & 4032 | $89 & 63) >>> 0 > $3 >>> 0) break L7; else { - $$2102 = $$0100 + 1 | 0; - $$598 = $$194 + 4 | 0; } } else { - $$2102 = $$0100; - $$598 = $$194 + 1 | 0; + $n$addr$1$lcssa = $n$addr$0$lcssa52; + $w$0$lcssa = $s$0$lcssa53; + label = 11; } while (0); - $$0100 = $$2102 + 1 | 0; - $$194 = $$598; - } - return $$194 - $0 | 0; + if ((label | 0) == 11) if (!$n$addr$1$lcssa) { + label = 16; + break; + } else { + $$in = $w$0$lcssa; + $n$addr$1$lcssa55 = $n$addr$1$lcssa; + } + $n$addr$227 = $n$addr$1$lcssa55; + $s$128 = $$in; + while (1) { + if ((HEAP8[$s$128 >> 0] | 0) == $5 << 24 >> 24) { + $8 = $s$128; + break L8; + } + $n$addr$227 = $n$addr$227 + -1 | 0; + if (!$n$addr$227) { + label = 16; + break; + } else $s$128 = $s$128 + 1 | 0; + } + } while (0); + if ((label | 0) == 16) $8 = 0; + return $8 | 0; } -function _pop_arg($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $10 = 0, $100 = 0, $109 = 0, $11 = 0, $110 = 0.0, $17 = 0, $18 = 0, $21 = 0, $30 = 0, $31 = 0, $32 = 0, $41 = 0, $42 = 0, $44 = 0, $47 = 0, $48 = 0, $57 = 0, $58 = 0, $60 = 0, $63 = 0, $72 = 0, $73 = 0, $74 = 0, $83 = 0, $84 = 0, $86 = 0, $89 = 0, $98 = 0, $99 = 0; - L1 : do if ($1 >>> 0 <= 20) do switch ($1 | 0) { +function _pop_arg_782($arg, $type, $ap, $pop_arg_long_double) { + $arg = $arg | 0; + $type = $type | 0; + $ap = $ap | 0; + $pop_arg_long_double = $pop_arg_long_double | 0; + var $102 = 0, $103 = 0.0, $12 = 0, $13 = 0, $16 = 0, $25 = 0, $26 = 0, $27 = 0, $36 = 0, $37 = 0, $39 = 0, $42 = 0, $43 = 0, $5 = 0, $52 = 0, $53 = 0, $54 = 0, $57 = 0, $6 = 0, $66 = 0, $67 = 0, $68 = 0, $77 = 0, $78 = 0, $79 = 0, $82 = 0, $91 = 0, $92 = 0, $93 = 0; + L1 : do if ($type >>> 0 <= 20) do switch ($type | 0) { case 9: { - $10 = (HEAP32[$2 >> 2] | 0) + (4 - 1) & ~(4 - 1); - $11 = HEAP32[$10 >> 2] | 0; - HEAP32[$2 >> 2] = $10 + 4; - HEAP32[$0 >> 2] = $11; + $5 = (HEAP32[$ap >> 2] | 0) + (4 - 1) & ~(4 - 1); + $6 = HEAP32[$5 >> 2] | 0; + HEAP32[$ap >> 2] = $5 + 4; + HEAP32[$arg >> 2] = $6; break L1; break; } case 10: { - $17 = (HEAP32[$2 >> 2] | 0) + (4 - 1) & ~(4 - 1); - $18 = HEAP32[$17 >> 2] | 0; - HEAP32[$2 >> 2] = $17 + 4; - $21 = $0; - HEAP32[$21 >> 2] = $18; - HEAP32[$21 + 4 >> 2] = (($18 | 0) < 0) << 31 >> 31; + $12 = (HEAP32[$ap >> 2] | 0) + (4 - 1) & ~(4 - 1); + $13 = HEAP32[$12 >> 2] | 0; + HEAP32[$ap >> 2] = $12 + 4; + $16 = $arg; + HEAP32[$16 >> 2] = $13; + HEAP32[$16 + 4 >> 2] = (($13 | 0) < 0) << 31 >> 31; break L1; break; } case 11: { - $30 = (HEAP32[$2 >> 2] | 0) + (4 - 1) & ~(4 - 1); - $31 = HEAP32[$30 >> 2] | 0; - HEAP32[$2 >> 2] = $30 + 4; - $32 = $0; - HEAP32[$32 >> 2] = $31; - HEAP32[$32 + 4 >> 2] = 0; + $25 = (HEAP32[$ap >> 2] | 0) + (4 - 1) & ~(4 - 1); + $26 = HEAP32[$25 >> 2] | 0; + HEAP32[$ap >> 2] = $25 + 4; + $27 = $arg; + HEAP32[$27 >> 2] = $26; + HEAP32[$27 + 4 >> 2] = 0; break L1; break; } case 12: { - $41 = (HEAP32[$2 >> 2] | 0) + (8 - 1) & ~(8 - 1); - $42 = $41; - $44 = HEAP32[$42 >> 2] | 0; - $47 = HEAP32[$42 + 4 >> 2] | 0; - HEAP32[$2 >> 2] = $41 + 8; - $48 = $0; - HEAP32[$48 >> 2] = $44; - HEAP32[$48 + 4 >> 2] = $47; + $36 = (HEAP32[$ap >> 2] | 0) + (8 - 1) & ~(8 - 1); + $37 = $36; + $39 = HEAP32[$37 >> 2] | 0; + $42 = HEAP32[$37 + 4 >> 2] | 0; + HEAP32[$ap >> 2] = $36 + 8; + $43 = $arg; + HEAP32[$43 >> 2] = $39; + HEAP32[$43 + 4 >> 2] = $42; break L1; break; } case 13: { - $57 = (HEAP32[$2 >> 2] | 0) + (4 - 1) & ~(4 - 1); - $58 = HEAP32[$57 >> 2] | 0; - HEAP32[$2 >> 2] = $57 + 4; - $60 = ($58 & 65535) << 16 >> 16; - $63 = $0; - HEAP32[$63 >> 2] = $60; - HEAP32[$63 + 4 >> 2] = (($60 | 0) < 0) << 31 >> 31; + $52 = (HEAP32[$ap >> 2] | 0) + (4 - 1) & ~(4 - 1); + $53 = HEAP32[$52 >> 2] | 0; + HEAP32[$ap >> 2] = $52 + 4; + $54 = ($53 & 65535) << 16 >> 16; + $57 = $arg; + HEAP32[$57 >> 2] = $54; + HEAP32[$57 + 4 >> 2] = (($54 | 0) < 0) << 31 >> 31; break L1; break; } case 14: { - $72 = (HEAP32[$2 >> 2] | 0) + (4 - 1) & ~(4 - 1); - $73 = HEAP32[$72 >> 2] | 0; - HEAP32[$2 >> 2] = $72 + 4; - $74 = $0; - HEAP32[$74 >> 2] = $73 & 65535; - HEAP32[$74 + 4 >> 2] = 0; + $66 = (HEAP32[$ap >> 2] | 0) + (4 - 1) & ~(4 - 1); + $67 = HEAP32[$66 >> 2] | 0; + HEAP32[$ap >> 2] = $66 + 4; + $68 = $arg; + HEAP32[$68 >> 2] = $67 & 65535; + HEAP32[$68 + 4 >> 2] = 0; break L1; break; } case 15: { - $83 = (HEAP32[$2 >> 2] | 0) + (4 - 1) & ~(4 - 1); - $84 = HEAP32[$83 >> 2] | 0; - HEAP32[$2 >> 2] = $83 + 4; - $86 = ($84 & 255) << 24 >> 24; - $89 = $0; - HEAP32[$89 >> 2] = $86; - HEAP32[$89 + 4 >> 2] = (($86 | 0) < 0) << 31 >> 31; + $77 = (HEAP32[$ap >> 2] | 0) + (4 - 1) & ~(4 - 1); + $78 = HEAP32[$77 >> 2] | 0; + HEAP32[$ap >> 2] = $77 + 4; + $79 = ($78 & 255) << 24 >> 24; + $82 = $arg; + HEAP32[$82 >> 2] = $79; + HEAP32[$82 + 4 >> 2] = (($79 | 0) < 0) << 31 >> 31; break L1; break; } case 16: { - $98 = (HEAP32[$2 >> 2] | 0) + (4 - 1) & ~(4 - 1); - $99 = HEAP32[$98 >> 2] | 0; - HEAP32[$2 >> 2] = $98 + 4; - $100 = $0; - HEAP32[$100 >> 2] = $99 & 255; - HEAP32[$100 + 4 >> 2] = 0; + $91 = (HEAP32[$ap >> 2] | 0) + (4 - 1) & ~(4 - 1); + $92 = HEAP32[$91 >> 2] | 0; + HEAP32[$ap >> 2] = $91 + 4; + $93 = $arg; + HEAP32[$93 >> 2] = $92 & 255; + HEAP32[$93 + 4 >> 2] = 0; break L1; break; } case 17: { - $109 = (HEAP32[$2 >> 2] | 0) + (8 - 1) & ~(8 - 1); - $110 = +HEAPF64[$109 >> 3]; - HEAP32[$2 >> 2] = $109 + 8; - HEAPF64[$0 >> 3] = $110; + $102 = (HEAP32[$ap >> 2] | 0) + (8 - 1) & ~(8 - 1); + $103 = +HEAPF64[$102 >> 3]; + HEAP32[$ap >> 2] = $102 + 8; + HEAPF64[$arg >> 3] = $103; break L1; break; } case 18: { - FUNCTION_TABLE_vii[$3 & 255]($0, $2); + FUNCTION_TABLE_vii[$pop_arg_long_double & 255]($arg, $ap); break L1; break; } @@ -69954,327 +72590,619 @@ function _pop_arg($0, $1, $2, $3) { return; } -function __ZNK12_GLOBAL__N_116itanium_demangle10BinaryExpr9printLeftERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$byval_copy5 = 0, $13 = 0, $18 = 0, $19 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 64 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(64); - $$byval_copy5 = sp + 56 | 0; - $2 = sp + 48 | 0; - $3 = sp + 40 | 0; - $4 = sp + 32 | 0; - $5 = sp; - $6 = sp + 24 | 0; - $7 = sp + 16 | 0; - $8 = sp + 8 | 0; - $9 = $0 + 12 | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($$byval_copy5, 52043); - if (__ZN12_GLOBAL__N_1eqERKNS_10StringViewES2_($9, $$byval_copy5) | 0) { - __ZN12_GLOBAL__N_110StringViewC2EPKc($2, 51968); - HEAP32[$$byval_copy5 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy5 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy5); - } - __ZN12_GLOBAL__N_110StringViewC2EPKc($3, 51968); - HEAP32[$$byval_copy5 >> 2] = HEAP32[$3 >> 2]; - HEAP32[$$byval_copy5 + 4 >> 2] = HEAP32[$3 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy5); - __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(HEAP32[$0 + 8 >> 2] | 0, $1); - __ZN12_GLOBAL__N_110StringViewC2EPKc($4, 54711); - HEAP32[$$byval_copy5 >> 2] = HEAP32[$4 >> 2]; - HEAP32[$$byval_copy5 + 4 >> 2] = HEAP32[$4 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy5); - $13 = $9; - $18 = HEAP32[$13 + 4 >> 2] | 0; - $19 = $5; - HEAP32[$19 >> 2] = HEAP32[$13 >> 2]; - HEAP32[$19 + 4 >> 2] = $18; - HEAP32[$$byval_copy5 >> 2] = HEAP32[$5 >> 2]; - HEAP32[$$byval_copy5 + 4 >> 2] = HEAP32[$5 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy5); - __ZN12_GLOBAL__N_110StringViewC2EPKc($6, 54714); - HEAP32[$$byval_copy5 >> 2] = HEAP32[$6 >> 2]; - HEAP32[$$byval_copy5 + 4 >> 2] = HEAP32[$6 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy5); - __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(HEAP32[$0 + 20 >> 2] | 0, $1); - __ZN12_GLOBAL__N_110StringViewC2EPKc($7, 51964); - HEAP32[$$byval_copy5 >> 2] = HEAP32[$7 >> 2]; - HEAP32[$$byval_copy5 + 4 >> 2] = HEAP32[$7 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy5); - __ZN12_GLOBAL__N_110StringViewC2EPKc($$byval_copy5, 52043); - if (__ZN12_GLOBAL__N_1eqERKNS_10StringViewES2_($9, $$byval_copy5) | 0) { - __ZN12_GLOBAL__N_110StringViewC2EPKc($8, 51964); - HEAP32[$$byval_copy5 >> 2] = HEAP32[$8 >> 2]; - HEAP32[$$byval_copy5 + 4 >> 2] = HEAP32[$8 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy5); - } - STACKTOP = sp; - return; -} - -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E14parseArrayTypeEv($0) { - $0 = $0 | 0; - var $$1 = 0, $$2 = 0, $$3 = 0, $$byval_copy = 0, $1 = 0, $13 = 0, $2 = 0, $9 = 0, label = 0, sp = 0; +function _free_pool($cinfo, $pool_id) { + $cinfo = $cinfo | 0; + $pool_id = $pool_id | 0; + var $$in5661 = 0, $$in5759 = 0, $0 = 0, $14 = 0, $2 = 0, $9 = 0, $add37 = 0, $add51 = 0, $arrayidx30 = 0, $arrayidx38 = 0, $b_s_open = 0, $b_s_open17 = 0, $bptr$062 = 0, $bptr$064 = 0, $sptr$065 = 0, $sptr$067 = 0, $total_space_allocated = 0, $total_space_allocated52 = 0, $virt_barray_list = 0, $virt_sarray_list = 0, $$in5661$looptemp = 0, $$in5759$looptemp = 0; + $0 = HEAP32[$cinfo + 4 >> 2] | 0; + if ($pool_id >>> 0 <= 1) { + if (($pool_id | 0) == 1) { + $virt_sarray_list = $0 + 68 | 0; + $sptr$065 = HEAP32[$virt_sarray_list >> 2] | 0; + if ($sptr$065 | 0) { + $sptr$067 = $sptr$065; + do { + $b_s_open = $sptr$067 + 40 | 0; + if (HEAP32[$b_s_open >> 2] | 0) { + HEAP32[$b_s_open >> 2] = 0; + FUNCTION_TABLE_vii[HEAP32[$sptr$067 + 56 >> 2] & 255]($cinfo, $sptr$067 + 48 | 0); + } + $sptr$067 = HEAP32[$sptr$067 + 44 >> 2] | 0; + } while (($sptr$067 | 0) != 0); + } + HEAP32[$virt_sarray_list >> 2] = 0; + $virt_barray_list = $0 + 72 | 0; + $bptr$062 = HEAP32[$virt_barray_list >> 2] | 0; + if ($bptr$062 | 0) { + $bptr$064 = $bptr$062; + do { + $b_s_open17 = $bptr$064 + 40 | 0; + if (HEAP32[$b_s_open17 >> 2] | 0) { + HEAP32[$b_s_open17 >> 2] = 0; + FUNCTION_TABLE_vii[HEAP32[$bptr$064 + 56 >> 2] & 255]($cinfo, $bptr$064 + 48 | 0); + } + $bptr$064 = HEAP32[$bptr$064 + 44 >> 2] | 0; + } while (($bptr$064 | 0) != 0); + } + HEAP32[$virt_barray_list >> 2] = 0; + } + } else { + $2 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$2 + 20 >> 2] = 15; + HEAP32[$2 + 24 >> 2] = $pool_id; + FUNCTION_TABLE_vi[HEAP32[HEAP32[$cinfo >> 2] >> 2] & 255]($cinfo); + } + $arrayidx30 = $0 + 60 + ($pool_id << 2) | 0; + $9 = HEAP32[$arrayidx30 >> 2] | 0; + HEAP32[$arrayidx30 >> 2] = 0; + if ($9 | 0) { + $total_space_allocated = $0 + 76 | 0; + $$in5661 = $9; + do { + $$in5661$looptemp = $$in5661; + $$in5661 = HEAP32[$$in5661 >> 2] | 0; + $add37 = (HEAP32[$$in5661$looptemp + 4 >> 2] | 0) + 16 + (HEAP32[$$in5661$looptemp + 8 >> 2] | 0) | 0; + _jpeg_free_large($cinfo, $$in5661$looptemp, $add37); + HEAP32[$total_space_allocated >> 2] = (HEAP32[$total_space_allocated >> 2] | 0) - $add37; + } while (($$in5661 | 0) != 0); + } + $arrayidx38 = $0 + 52 + ($pool_id << 2) | 0; + $14 = HEAP32[$arrayidx38 >> 2] | 0; + HEAP32[$arrayidx38 >> 2] = 0; + if (!$14) return; + $total_space_allocated52 = $0 + 76 | 0; + $$in5759 = $14; + do { + $$in5759$looptemp = $$in5759; + $$in5759 = HEAP32[$$in5759 >> 2] | 0; + $add51 = (HEAP32[$$in5759$looptemp + 4 >> 2] | 0) + 16 + (HEAP32[$$in5759$looptemp + 8 >> 2] | 0) | 0; + _jpeg_free_small($cinfo, $$in5759$looptemp, $add51); + HEAP32[$total_space_allocated52 >> 2] = (HEAP32[$total_space_allocated52 >> 2] | 0) - $add51; + } while (($$in5759 | 0) != 0); + return; +} + +function __ZN6vision25DoGScaleInvariantDetector6detectEPKNS_25GaussianScaleSpacePyramidE($this, $pyramid) { + $this = $this | 0; + $pyramid = $pyramid | 0; + var $call$i1$i$i = 0, $call$i2$i$i = 0, $call7 = 0, $ref$tmp$i$i = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 32 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $$byval_copy = sp + 16 | 0; - $1 = sp; - $2 = sp + 8 | 0; - if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($0, 65) | 0) { - __ZN12_GLOBAL__N_116itanium_demangle12NodeOrStringC2Ev($1); - if ((((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($0, 0) | 0) << 24 >> 24) + -48 | 0) >>> 0 < 10) { - __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E11parseNumberEb($2, $0, 0); - HEAP32[$$byval_copy >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - __ZN12_GLOBAL__N_116itanium_demangle12NodeOrStringC2ENS_10StringViewE($1, $$byval_copy); - if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($0, 95) | 0) label = 8; else $$2 = 0; - } else if (!(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($0, 95) | 0)) { - $9 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseExprEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0) | 0; - if (($9 | 0) != 0 ? __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($0, 95) | 0 : 0) { - __ZN12_GLOBAL__N_116itanium_demangle12NodeOrStringC2EPNS0_4NodeE($1, $9); - label = 8; - } else $$2 = 0; - } else label = 8; - if ((label | 0) == 8) { - $13 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseTypeEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0) | 0; - HEAP32[$$byval_copy >> 2] = $13; - if (!$13) $$1 = 0; else $$1 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_9ArrayTypeEJRPNS0_4NodeERNS0_12NodeOrStringEEEES9_DpOT0_($0, $$byval_copy, $1) | 0; - $$2 = $$1; - } - $$3 = $$2; - } else $$3 = 0; + $ref$tmp$i$i = sp; + if ((__ZNK6vision25GaussianScaleSpacePyramid10numOctavesEv($pyramid) | 0) <= 0) { + $call7 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 27028) | 0, 26748) | 0, 39794) | 0, 147) | 0, 39801) | 0, 27077) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i$i, $call7 + (HEAP32[(HEAP32[$call7 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i$i = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i$i, 67360) | 0; + $call$i2$i$i = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i$i >> 2] | 0) + 28 >> 2] & 127]($call$i1$i$i, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i$i); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call7, $call$i2$i$i) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call7) | 0; + _abort(); + } + __ZN6vision11ScopedTimerC2EPKc($ref$tmp$i$i, 28014); + if (__ZN6vision11ScopedTimercvbEv($ref$tmp$i$i) | 0) __ZN6vision10DoGPyramid7computeEPKNS_25GaussianScaleSpacePyramidE($this + 32 | 0, $pyramid); + __ZN6vision11ScopedTimerD2Ev($ref$tmp$i$i); + __ZN6vision11ScopedTimerC2EPKc($ref$tmp$i$i, 28026); + if (__ZN6vision11ScopedTimercvbEv($ref$tmp$i$i) | 0) __ZN6vision25DoGScaleInvariantDetector15extractFeaturesEPKNS_25GaussianScaleSpacePyramidEPKNS_10DoGPyramidE($this, $pyramid, $this + 32 | 0); + __ZN6vision11ScopedTimerD2Ev($ref$tmp$i$i); + __ZN6vision11ScopedTimerC2EPKc($ref$tmp$i$i, 28046); + if (__ZN6vision11ScopedTimercvbEv($ref$tmp$i$i) | 0) __ZN6vision25DoGScaleInvariantDetector21findSubpixelLocationsEPKNS_25GaussianScaleSpacePyramidE($this, $pyramid); + __ZN6vision11ScopedTimerD2Ev($ref$tmp$i$i); + __ZN6vision11ScopedTimerC2EPKc($ref$tmp$i$i, 28055); + if (__ZN6vision11ScopedTimercvbEv($ref$tmp$i$i) | 0) __ZN6vision25DoGScaleInvariantDetector13pruneFeaturesEv($this); + __ZN6vision11ScopedTimerD2Ev($ref$tmp$i$i); + __ZN6vision11ScopedTimerC2EPKc($ref$tmp$i$i, 28069); + if (__ZN6vision11ScopedTimercvbEv($ref$tmp$i$i) | 0) __ZN6vision25DoGScaleInvariantDetector23findFeatureOrientationsEPKNS_25GaussianScaleSpacePyramidE($this, $pyramid); + __ZN6vision11ScopedTimerD2Ev($ref$tmp$i$i); STACKTOP = sp; - return $$3 | 0; + return; } -function __ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_6vectorIN6vision7Point3dIfEENS_9allocatorIS5_EEEEEENS_22__unordered_map_hasherIiS9_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS9_NS_8equal_toIiEELb1EEENS6_IS9_EEE8__rehashEm($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $$054$ph$ph = 0, $$055 = 0, $$056$ph = 0, $$056$ph$ph = 0, $$058 = 0, $13 = 0, $14 = 0, $2 = 0, $20 = 0, $21 = 0, $23 = 0, $29 = 0, $32 = 0, $37 = 0, $39 = 0, $42 = 0, $43 = 0, $5 = 0, $57 = 0, $7 = 0, $8 = 0; - $2 = $0 + 4 | 0; - L1 : do if ($1) { - if ($1 >>> 0 > 1073741823) { - $5 = ___cxa_allocate_exception(8) | 0; - __ZNSt11logic_errorC2EPKc($5, 41481); - HEAP32[$5 >> 2] = 17472; - ___cxa_throw($5 | 0, 13960, 22); - } - $7 = __Znwm($1 << 2) | 0; - $8 = HEAP32[$0 >> 2] | 0; - HEAP32[$0 >> 2] = $7; - if ($8 | 0) __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($8, HEAP32[$0 + 4 >> 2] << 2); - HEAP32[$2 >> 2] = $1; - $$058 = 0; - while (1) { - if (($$058 | 0) == ($1 | 0)) break; - HEAP32[(HEAP32[$0 >> 2] | 0) + ($$058 << 2) >> 2] = 0; - $$058 = $$058 + 1 | 0; - } - $13 = $0 + 8 | 0; - $14 = HEAP32[$13 >> 2] | 0; - if ($14 | 0) { - $20 = HEAP32[$14 + 4 >> 2] | 0; - $21 = $1 + -1 | 0; - $23 = ($21 & $1 | 0) == 0; - if (!$23) if ($20 >>> 0 < $1 >>> 0) $29 = $20; else $29 = ($20 >>> 0) % ($1 >>> 0) | 0; else $29 = $20 & $21; - HEAP32[(HEAP32[$0 >> 2] | 0) + ($29 << 2) >> 2] = $13; - $$054$ph$ph = $29; - $$056$ph$ph = $14; - while (1) { - $$056$ph = $$056$ph$ph; - L25 : while (1) { - while (1) { - $$055 = HEAP32[$$056$ph >> 2] | 0; - if (!$$055) break L1; - $32 = HEAP32[$$055 + 4 >> 2] | 0; - if (!$23) if ($32 >>> 0 < $1 >>> 0) $37 = $32; else $37 = ($32 >>> 0) % ($1 >>> 0) | 0; else $37 = $32 & $21; - if (($37 | 0) == ($$054$ph$ph | 0)) break; - $39 = (HEAP32[$0 >> 2] | 0) + ($37 << 2) | 0; - if (!(HEAP32[$39 >> 2] | 0)) break L25; - $42 = $$055 + 8 | 0; - $$0 = $$055; - while (1) { - $43 = HEAP32[$$0 >> 2] | 0; - if (!$43) break; - if ((HEAP32[$42 >> 2] | 0) == (HEAP32[$43 + 8 >> 2] | 0)) $$0 = $43; else break; - } - HEAP32[$$056$ph >> 2] = $43; - HEAP32[$$0 >> 2] = HEAP32[HEAP32[(HEAP32[$0 >> 2] | 0) + ($37 << 2) >> 2] >> 2]; - HEAP32[HEAP32[(HEAP32[$0 >> 2] | 0) + ($37 << 2) >> 2] >> 2] = $$055; +function __ZNSt3__210__stdinbufIwE9pbackfailEj($this, $__c) { + $this = $this | 0; + $__c = $__c | 0; + var $1 = 0, $3 = 0, $7 = 0, $__ci = 0, $__enxt = 0, $__extbuf = 0, $__file_ = 0, $__inxt = 0, $__last_consumed_12 = 0, $__last_consumed_33$pre$phiZ2D = 0, $__last_consumed_is_next_ = 0, $call13 = 0, $call2 = 0, $cleanup$dest$slot$0 = 0, $frombool = 0, $incdec$ptr = 0, $retval$0 = 0, $retval$1 = 0, $tobool = 0, label = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 32 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); + $__extbuf = sp + 16 | 0; + $__enxt = sp + 8 | 0; + $__ci = sp + 4 | 0; + $__inxt = sp; + $call2 = __ZNSt3__211char_traitsIwE11eq_int_typeEjj($__c, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0; + $__last_consumed_is_next_ = $this + 52 | 0; + $tobool = (HEAP8[$__last_consumed_is_next_ >> 0] | 0) != 0; + do if ($call2) if ($tobool) $retval$1 = $__c; else { + $1 = HEAP32[$this + 48 >> 2] | 0; + $frombool = ((__ZNSt3__211char_traitsIwE11eq_int_typeEjj($1, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) ^ 1) & 1; + HEAP8[$__last_consumed_is_next_ >> 0] = $frombool; + $retval$1 = $1; + } else { + if ($tobool) { + $__last_consumed_12 = $this + 48 | 0; + $call13 = __ZNSt3__211char_traitsIwE12to_char_typeEj(HEAP32[$__last_consumed_12 >> 2] | 0) | 0; + HEAP32[$__ci >> 2] = $call13; + $3 = HEAP32[$this + 36 >> 2] | 0; + switch (FUNCTION_TABLE_iiiiiiiii[HEAP32[(HEAP32[$3 >> 2] | 0) + 12 >> 2] & 15]($3, HEAP32[$this + 40 >> 2] | 0, $__ci, $__ci + 4 | 0, $__inxt, $__extbuf, $__extbuf + 8 | 0, $__enxt) | 0) { + case 1: + case 2: + { + label = 11; + break; + } + case 3: + { + HEAP8[$__extbuf >> 0] = HEAP32[$__last_consumed_12 >> 2]; + HEAP32[$__enxt >> 2] = $__extbuf + 1; + label = 8; + break; + } + default: + label = 8; + } + L9 : do if ((label | 0) == 8) { + $__file_ = $this + 32 | 0; + while (1) { + $7 = HEAP32[$__enxt >> 2] | 0; + if ($7 >>> 0 <= $__extbuf >>> 0) { + $cleanup$dest$slot$0 = 1; + $retval$0 = 0; + break L9; + } + $incdec$ptr = $7 + -1 | 0; + HEAP32[$__enxt >> 2] = $incdec$ptr; + if ((_ungetc(HEAP8[$incdec$ptr >> 0] | 0, HEAP32[$__file_ >> 2] | 0) | 0) == -1) { + label = 11; + break; } - $$056$ph = $$055; } - HEAP32[$39 >> 2] = $$056$ph; - $$054$ph$ph = $37; - $$056$ph$ph = $$055; + } while (0); + if ((label | 0) == 11) { + $cleanup$dest$slot$0 = 0; + $retval$0 = __ZNSt3__211char_traitsIwE3eofEv() | 0; } - } - } else { - $57 = HEAP32[$0 >> 2] | 0; - HEAP32[$0 >> 2] = 0; - if ($57 | 0) __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($57, HEAP32[$0 + 4 >> 2] << 2); - HEAP32[$2 >> 2] = 0; + if ($cleanup$dest$slot$0) $__last_consumed_33$pre$phiZ2D = $__last_consumed_12; else { + $retval$1 = $retval$0; + break; + } + } else $__last_consumed_33$pre$phiZ2D = $this + 48 | 0; + HEAP32[$__last_consumed_33$pre$phiZ2D >> 2] = $__c; + HEAP8[$__last_consumed_is_next_ >> 0] = 1; + $retval$1 = $__c; } while (0); - return; + STACKTOP = sp; + return $retval$1 | 0; } -function __ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_10shared_ptrIN6vision8KeyframeILi96EEEEEEENS_22__unordered_map_hasherIiS7_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS7_NS_8equal_toIiEELb1EEENS_9allocatorIS7_EEE8__rehashEm($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $$054$ph$ph = 0, $$055 = 0, $$056$ph = 0, $$056$ph$ph = 0, $$058 = 0, $13 = 0, $14 = 0, $2 = 0, $20 = 0, $21 = 0, $23 = 0, $29 = 0, $32 = 0, $37 = 0, $39 = 0, $42 = 0, $43 = 0, $5 = 0, $57 = 0, $7 = 0, $8 = 0; - $2 = $0 + 4 | 0; - L1 : do if ($1) { - if ($1 >>> 0 > 1073741823) { - $5 = ___cxa_allocate_exception(8) | 0; - __ZNSt11logic_errorC2EPKc($5, 41481); - HEAP32[$5 >> 2] = 17472; - ___cxa_throw($5 | 0, 13960, 22); - } - $7 = __Znwm($1 << 2) | 0; - $8 = HEAP32[$0 >> 2] | 0; - HEAP32[$0 >> 2] = $7; - if ($8 | 0) __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($8, HEAP32[$0 + 4 >> 2] << 2); - HEAP32[$2 >> 2] = $1; - $$058 = 0; - while (1) { - if (($$058 | 0) == ($1 | 0)) break; - HEAP32[(HEAP32[$0 >> 2] | 0) + ($$058 << 2) >> 2] = 0; - $$058 = $$058 + 1 | 0; - } - $13 = $0 + 8 | 0; - $14 = HEAP32[$13 >> 2] | 0; - if ($14 | 0) { - $20 = HEAP32[$14 + 4 >> 2] | 0; - $21 = $1 + -1 | 0; - $23 = ($21 & $1 | 0) == 0; - if (!$23) if ($20 >>> 0 < $1 >>> 0) $29 = $20; else $29 = ($20 >>> 0) % ($1 >>> 0) | 0; else $29 = $20 & $21; - HEAP32[(HEAP32[$0 >> 2] | 0) + ($29 << 2) >> 2] = $13; - $$054$ph$ph = $29; - $$056$ph$ph = $14; - while (1) { - $$056$ph = $$056$ph$ph; - L25 : while (1) { - while (1) { - $$055 = HEAP32[$$056$ph >> 2] | 0; - if (!$$055) break L1; - $32 = HEAP32[$$055 + 4 >> 2] | 0; - if (!$23) if ($32 >>> 0 < $1 >>> 0) $37 = $32; else $37 = ($32 >>> 0) % ($1 >>> 0) | 0; else $37 = $32 & $21; - if (($37 | 0) == ($$054$ph$ph | 0)) break; - $39 = (HEAP32[$0 >> 2] | 0) + ($37 << 2) | 0; - if (!(HEAP32[$39 >> 2] | 0)) break L25; - $42 = $$055 + 8 | 0; - $$0 = $$055; - while (1) { - $43 = HEAP32[$$0 >> 2] | 0; - if (!$43) break; - if ((HEAP32[$42 >> 2] | 0) == (HEAP32[$43 + 8 >> 2] | 0)) $$0 = $43; else break; - } - HEAP32[$$056$ph >> 2] = $43; - HEAP32[$$0 >> 2] = HEAP32[HEAP32[(HEAP32[$0 >> 2] | 0) + ($37 << 2) >> 2] >> 2]; - HEAP32[HEAP32[(HEAP32[$0 >> 2] | 0) + ($37 << 2) >> 2] >> 2] = $$055; +function __ZNSt3__210__stdinbufIcE9pbackfailEi($this, $__c) { + $this = $this | 0; + $__c = $__c | 0; + var $1 = 0, $3 = 0, $7 = 0, $__ci = 0, $__enxt = 0, $__extbuf = 0, $__file_ = 0, $__inxt = 0, $__last_consumed_12 = 0, $__last_consumed_33$pre$phiZ2D = 0, $__last_consumed_is_next_ = 0, $call13 = 0, $call2 = 0, $cleanup$dest$slot$0 = 0, $frombool = 0, $incdec$ptr = 0, $retval$0 = 0, $retval$1 = 0, $tobool = 0, label = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 32 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); + $__extbuf = sp + 16 | 0; + $__enxt = sp + 4 | 0; + $__ci = sp + 8 | 0; + $__inxt = sp; + $call2 = __ZNSt3__211char_traitsIcE11eq_int_typeEii($__c, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0; + $__last_consumed_is_next_ = $this + 52 | 0; + $tobool = (HEAP8[$__last_consumed_is_next_ >> 0] | 0) != 0; + do if ($call2) if ($tobool) $retval$1 = $__c; else { + $1 = HEAP32[$this + 48 >> 2] | 0; + $frombool = ((__ZNSt3__211char_traitsIcE11eq_int_typeEii($1, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) ^ 1) & 1; + HEAP8[$__last_consumed_is_next_ >> 0] = $frombool; + $retval$1 = $1; + } else { + if ($tobool) { + $__last_consumed_12 = $this + 48 | 0; + $call13 = __ZNSt3__211char_traitsIcE12to_char_typeEi(HEAP32[$__last_consumed_12 >> 2] | 0) | 0; + HEAP8[$__ci >> 0] = $call13; + $3 = HEAP32[$this + 36 >> 2] | 0; + switch (FUNCTION_TABLE_iiiiiiiii[HEAP32[(HEAP32[$3 >> 2] | 0) + 12 >> 2] & 15]($3, HEAP32[$this + 40 >> 2] | 0, $__ci, $__ci + 1 | 0, $__inxt, $__extbuf, $__extbuf + 8 | 0, $__enxt) | 0) { + case 1: + case 2: + { + label = 11; + break; + } + case 3: + { + HEAP8[$__extbuf >> 0] = HEAP32[$__last_consumed_12 >> 2]; + HEAP32[$__enxt >> 2] = $__extbuf + 1; + label = 8; + break; + } + default: + label = 8; + } + L9 : do if ((label | 0) == 8) { + $__file_ = $this + 32 | 0; + while (1) { + $7 = HEAP32[$__enxt >> 2] | 0; + if ($7 >>> 0 <= $__extbuf >>> 0) { + $cleanup$dest$slot$0 = 1; + $retval$0 = 0; + break L9; + } + $incdec$ptr = $7 + -1 | 0; + HEAP32[$__enxt >> 2] = $incdec$ptr; + if ((_ungetc(HEAP8[$incdec$ptr >> 0] | 0, HEAP32[$__file_ >> 2] | 0) | 0) == -1) { + label = 11; + break; } - $$056$ph = $$055; } - HEAP32[$39 >> 2] = $$056$ph; - $$054$ph$ph = $37; - $$056$ph$ph = $$055; + } while (0); + if ((label | 0) == 11) { + $cleanup$dest$slot$0 = 0; + $retval$0 = __ZNSt3__211char_traitsIcE3eofEv() | 0; } - } - } else { - $57 = HEAP32[$0 >> 2] | 0; - HEAP32[$0 >> 2] = 0; - if ($57 | 0) __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($57, HEAP32[$0 + 4 >> 2] << 2); - HEAP32[$2 >> 2] = 0; + if ($cleanup$dest$slot$0) $__last_consumed_33$pre$phiZ2D = $__last_consumed_12; else { + $retval$1 = $retval$0; + break; + } + } else $__last_consumed_33$pre$phiZ2D = $this + 48 | 0; + HEAP32[$__last_consumed_33$pre$phiZ2D >> 2] = $__c; + HEAP8[$__last_consumed_is_next_ >> 0] = 1; + $retval$1 = $__c; } while (0); - return; + STACKTOP = sp; + return $retval$1 | 0; } -function _jinit_merged_upsampler($0) { - $0 = $0 | 0; - var $$03233$i = 0, $$03233$i23 = 0, $$034$i = 0, $$034$i22 = 0, $1 = 0, $11 = 0, $16 = 0, $21 = 0, $27 = 0, $30 = 0, $31 = 0, $32 = 0, $35 = 0, $36 = 0, $39 = 0, $4 = 0, $40 = 0, $43 = 0, $45 = 0, $46 = 0, $47 = 0, $5 = 0, $56 = 0, $59 = 0, $71 = 0, $74 = 0; - $1 = $0 + 4 | 0; - $4 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[$1 >> 2] >> 2] & 63]($0, 1, 48) | 0; - $5 = $0 + 476 | 0; - HEAP32[$5 >> 2] = $4; - HEAP32[$4 >> 2] = 189; - HEAP32[$4 + 8 >> 2] = 0; - $11 = Math_imul(HEAP32[$0 + 120 >> 2] | 0, HEAP32[$0 + 112 >> 2] | 0) | 0; - HEAP32[$4 + 40 >> 2] = $11; - $16 = $4 + 4 | 0; - if ((HEAP32[$0 + 320 >> 2] | 0) == 2) { - HEAP32[$16 >> 2] = 1; - HEAP32[$4 + 12 >> 2] = 9; - $21 = FUNCTION_TABLE_iiii[HEAP32[(HEAP32[$1 >> 2] | 0) + 4 >> 2] & 63]($0, 1, $11) | 0; - HEAP32[$4 + 32 >> 2] = $21; - $32 = HEAP32[$5 >> 2] | 0; +function __ZNKSt3__27num_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_putES4_RNS_8ios_baseEwl($this, $__s, $__iob, $__fl, $__v) { + $this = $this | 0; + $__s = $__s | 0; + $__iob = $__iob | 0; + $__fl = $__fl | 0; + $__v = $__v | 0; + var $2 = 0, $4 = 0, $5 = 0, $__fmt = 0, $__fmtflags_$i = 0, $__oe = 0, $__op = 0, $add$ptr7 = 0, $add3 = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, $and$lobit = 0, $call11 = 0, $call4 = 0, $call8 = 0, $vla = 0, $vla$alloca_mul = 0, $vla10 = 0, $vla10$alloca_mul = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 32 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); + $agg$tmp$byval_copy = sp; + $__fmt = sp + 16 | 0; + $__op = sp + 12 | 0; + $__oe = sp + 4 | 0; + $agg$tmp = sp + 8 | 0; + HEAP8[$__fmt >> 0] = HEAP8[60031] | 0; + HEAP8[$__fmt + 1 >> 0] = HEAP8[60032] | 0; + HEAP8[$__fmt + 2 >> 0] = HEAP8[60033] | 0; + HEAP8[$__fmt + 3 >> 0] = HEAP8[60034] | 0; + HEAP8[$__fmt + 4 >> 0] = HEAP8[60035] | 0; + HEAP8[$__fmt + 5 >> 0] = HEAP8[60036] | 0; + $__fmtflags_$i = $__iob + 4 | 0; + __ZNSt3__214__num_put_base12__format_intEPcPKcbj($__fmt + 1 | 0, 60037, 1, HEAP32[$__fmtflags_$i >> 2] | 0); + $and$lobit = (HEAP32[$__fmtflags_$i >> 2] | 0) >>> 9 & 1; + $add3 = $and$lobit + 13 | 0; + $2 = _llvm_stacksave() | 0; + $vla$alloca_mul = $add3; + $vla = STACKTOP; + STACKTOP = STACKTOP + ((1 * $vla$alloca_mul | 0) + 15 & -16) | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow((1 * $vla$alloca_mul | 0) + 15 & -16 | 0); + $call4 = __ZNSt3__26__clocEv() | 0; + HEAP32[$agg$tmp$byval_copy >> 2] = $__v; + $add$ptr7 = $vla + (__ZNSt3__219__libcpp_snprintf_lEPcmP15__locale_structPKcz($vla, $add3, $call4, $__fmt, $agg$tmp$byval_copy) | 0) | 0; + $call8 = __ZNSt3__214__num_put_base18__identify_paddingEPcS1_RKNS_8ios_baseE($vla, $add$ptr7, $__iob) | 0; + $vla10$alloca_mul = ($and$lobit << 1 | 24) + -1 << 2; + $vla10 = STACKTOP; + STACKTOP = STACKTOP + ((1 * $vla10$alloca_mul | 0) + 15 & -16) | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow((1 * $vla10$alloca_mul | 0) + 15 & -16 | 0); + __ZNKSt3__28ios_base6getlocEv($agg$tmp$byval_copy, $__iob); + __ZNSt3__29__num_putIwE21__widen_and_group_intEPcS2_S2_PwRS3_S4_RKNS_6localeE($vla, $call8, $add$ptr7, $vla10, $__op, $__oe, $agg$tmp$byval_copy); + __ZNSt3__26localeD2Ev($agg$tmp$byval_copy); + HEAP32[$agg$tmp >> 2] = HEAP32[$__s >> 2]; + $4 = HEAP32[$__op >> 2] | 0; + $5 = HEAP32[$__oe >> 2] | 0; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + $call11 = __ZNSt3__216__pad_and_outputIwNS_11char_traitsIwEEEENS_19ostreambuf_iteratorIT_T0_EES6_PKS4_S8_S8_RNS_8ios_baseES4_($agg$tmp$byval_copy, $vla10, $4, $5, $__iob, $__fl) | 0; + _llvm_stackrestore($2 | 0); + STACKTOP = sp; + return $call11 | 0; +} + +function __ZNKSt3__27num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_putES4_RNS_8ios_baseEcl($this, $__s, $__iob, $__fl, $__v) { + $this = $this | 0; + $__s = $__s | 0; + $__iob = $__iob | 0; + $__fl = $__fl | 0; + $__v = $__v | 0; + var $2 = 0, $4 = 0, $5 = 0, $__fmt = 0, $__fmtflags_$i = 0, $__oe = 0, $__op = 0, $add$ptr7 = 0, $add3 = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, $and$lobit = 0, $call11 = 0, $call4 = 0, $call8 = 0, $vla = 0, $vla$alloca_mul = 0, $vla10 = 0, $vla10$alloca_mul = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 32 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); + $agg$tmp$byval_copy = sp; + $__fmt = sp + 16 | 0; + $__op = sp + 12 | 0; + $__oe = sp + 4 | 0; + $agg$tmp = sp + 8 | 0; + HEAP8[$__fmt >> 0] = HEAP8[60031] | 0; + HEAP8[$__fmt + 1 >> 0] = HEAP8[60032] | 0; + HEAP8[$__fmt + 2 >> 0] = HEAP8[60033] | 0; + HEAP8[$__fmt + 3 >> 0] = HEAP8[60034] | 0; + HEAP8[$__fmt + 4 >> 0] = HEAP8[60035] | 0; + HEAP8[$__fmt + 5 >> 0] = HEAP8[60036] | 0; + $__fmtflags_$i = $__iob + 4 | 0; + __ZNSt3__214__num_put_base12__format_intEPcPKcbj($__fmt + 1 | 0, 60037, 1, HEAP32[$__fmtflags_$i >> 2] | 0); + $and$lobit = (HEAP32[$__fmtflags_$i >> 2] | 0) >>> 9 & 1; + $add3 = $and$lobit + 13 | 0; + $2 = _llvm_stacksave() | 0; + $vla$alloca_mul = $add3; + $vla = STACKTOP; + STACKTOP = STACKTOP + ((1 * $vla$alloca_mul | 0) + 15 & -16) | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow((1 * $vla$alloca_mul | 0) + 15 & -16 | 0); + $call4 = __ZNSt3__26__clocEv() | 0; + HEAP32[$agg$tmp$byval_copy >> 2] = $__v; + $add$ptr7 = $vla + (__ZNSt3__219__libcpp_snprintf_lEPcmP15__locale_structPKcz($vla, $add3, $call4, $__fmt, $agg$tmp$byval_copy) | 0) | 0; + $call8 = __ZNSt3__214__num_put_base18__identify_paddingEPcS1_RKNS_8ios_baseE($vla, $add$ptr7, $__iob) | 0; + $vla10$alloca_mul = ($and$lobit << 1 | 24) + -1 | 0; + $vla10 = STACKTOP; + STACKTOP = STACKTOP + ((1 * $vla10$alloca_mul | 0) + 15 & -16) | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow((1 * $vla10$alloca_mul | 0) + 15 & -16 | 0); + __ZNKSt3__28ios_base6getlocEv($agg$tmp$byval_copy, $__iob); + __ZNSt3__29__num_putIcE21__widen_and_group_intEPcS2_S2_S2_RS2_S3_RKNS_6localeE($vla, $call8, $add$ptr7, $vla10, $__op, $__oe, $agg$tmp$byval_copy); + __ZNSt3__26localeD2Ev($agg$tmp$byval_copy); + HEAP32[$agg$tmp >> 2] = HEAP32[$__s >> 2]; + $4 = HEAP32[$__op >> 2] | 0; + $5 = HEAP32[$__oe >> 2] | 0; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + $call11 = __ZNSt3__216__pad_and_outputIcNS_11char_traitsIcEEEENS_19ostreambuf_iteratorIT_T0_EES6_PKS4_S8_S8_RNS_8ios_baseES4_($agg$tmp$byval_copy, $vla10, $4, $5, $__iob, $__fl) | 0; + _llvm_stackrestore($2 | 0); + STACKTOP = sp; + return $call11 | 0; +} + +function __ZNKSt3__27num_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_putES4_RNS_8ios_baseEwm($this, $__s, $__iob, $__fl, $__v) { + $this = $this | 0; + $__s = $__s | 0; + $__iob = $__iob | 0; + $__fl = $__fl | 0; + $__v = $__v | 0; + var $2 = 0, $4 = 0, $5 = 0, $__fmt = 0, $__fmtflags_$i = 0, $__oe = 0, $__op = 0, $add$ptr7 = 0, $add3 = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, $and$lobit = 0, $call11 = 0, $call4 = 0, $call8 = 0, $vla = 0, $vla$alloca_mul = 0, $vla10 = 0, $vla10$alloca_mul = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 32 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); + $agg$tmp$byval_copy = sp; + $__fmt = sp + 16 | 0; + $__op = sp + 12 | 0; + $__oe = sp + 4 | 0; + $agg$tmp = sp + 8 | 0; + HEAP8[$__fmt >> 0] = HEAP8[60031] | 0; + HEAP8[$__fmt + 1 >> 0] = HEAP8[60032] | 0; + HEAP8[$__fmt + 2 >> 0] = HEAP8[60033] | 0; + HEAP8[$__fmt + 3 >> 0] = HEAP8[60034] | 0; + HEAP8[$__fmt + 4 >> 0] = HEAP8[60035] | 0; + HEAP8[$__fmt + 5 >> 0] = HEAP8[60036] | 0; + $__fmtflags_$i = $__iob + 4 | 0; + __ZNSt3__214__num_put_base12__format_intEPcPKcbj($__fmt + 1 | 0, 60037, 0, HEAP32[$__fmtflags_$i >> 2] | 0); + $and$lobit = (HEAP32[$__fmtflags_$i >> 2] | 0) >>> 9 & 1; + $add3 = $and$lobit | 12; + $2 = _llvm_stacksave() | 0; + $vla$alloca_mul = $add3; + $vla = STACKTOP; + STACKTOP = STACKTOP + ((1 * $vla$alloca_mul | 0) + 15 & -16) | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow((1 * $vla$alloca_mul | 0) + 15 & -16 | 0); + $call4 = __ZNSt3__26__clocEv() | 0; + HEAP32[$agg$tmp$byval_copy >> 2] = $__v; + $add$ptr7 = $vla + (__ZNSt3__219__libcpp_snprintf_lEPcmP15__locale_structPKcz($vla, $add3, $call4, $__fmt, $agg$tmp$byval_copy) | 0) | 0; + $call8 = __ZNSt3__214__num_put_base18__identify_paddingEPcS1_RKNS_8ios_baseE($vla, $add$ptr7, $__iob) | 0; + $vla10$alloca_mul = ($and$lobit << 1 | 21) << 2; + $vla10 = STACKTOP; + STACKTOP = STACKTOP + ((1 * $vla10$alloca_mul | 0) + 15 & -16) | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow((1 * $vla10$alloca_mul | 0) + 15 & -16 | 0); + __ZNKSt3__28ios_base6getlocEv($agg$tmp$byval_copy, $__iob); + __ZNSt3__29__num_putIwE21__widen_and_group_intEPcS2_S2_PwRS3_S4_RKNS_6localeE($vla, $call8, $add$ptr7, $vla10, $__op, $__oe, $agg$tmp$byval_copy); + __ZNSt3__26localeD2Ev($agg$tmp$byval_copy); + HEAP32[$agg$tmp >> 2] = HEAP32[$__s >> 2]; + $4 = HEAP32[$__op >> 2] | 0; + $5 = HEAP32[$__oe >> 2] | 0; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + $call11 = __ZNSt3__216__pad_and_outputIwNS_11char_traitsIwEEEENS_19ostreambuf_iteratorIT_T0_EES6_PKS4_S8_S8_RNS_8ios_baseES4_($agg$tmp$byval_copy, $vla10, $4, $5, $__iob, $__fl) | 0; + _llvm_stackrestore($2 | 0); + STACKTOP = sp; + return $call11 | 0; +} + +function _arGetTransMatSquare($handle, $marker_info, $width, $conv) { + $handle = $handle | 0; + $marker_info = $marker_info | 0; + $width = +$width; + $conv = $conv | 0; + var $cmp107 = 0, $data = 0, $dir$0 = 0, $dir$0$in = 0, $div = 0.0, $div61 = 0.0, $err = 0, $initMatXw2Xc = 0, $rem = 0, $rem18 = 0, $rem32 = 0, $rem46 = 0, $retval$0 = 0.0, $screenCoord = 0, $worldCoord = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 288 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(288); + $screenCoord = sp + 192 | 0; + $worldCoord = sp + 96 | 0; + $data = sp + 264 | 0; + $initMatXw2Xc = sp; + $err = sp + 256 | 0; + do if ((HEAP32[$marker_info + 12 >> 2] | 0) >= 0) if ((HEAP32[$marker_info + 8 >> 2] | 0) < 0) { + $dir$0$in = $marker_info + 24 | 0; + break; } else { - HEAP32[$16 >> 2] = 2; - HEAP32[$4 + 12 >> 2] = 10; - HEAP32[$4 + 32 >> 2] = 0; - $32 = $4; - } - $27 = (HEAP32[$0 + 40 >> 2] | 0) == 7; - $30 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[$1 >> 2] >> 2] & 63]($0, 1, 1024) | 0; - $31 = $32 + 16 | 0; - HEAP32[$31 >> 2] = $30; - $35 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[$1 >> 2] >> 2] & 63]($0, 1, 1024) | 0; - $36 = $32 + 20 | 0; - HEAP32[$36 >> 2] = $35; - $39 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[$1 >> 2] >> 2] & 63]($0, 1, 1024) | 0; - $40 = $32 + 24 | 0; - HEAP32[$40 >> 2] = $39; - $43 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[$1 >> 2] >> 2] & 63]($0, 1, 1024) | 0; - HEAP32[$32 + 28 >> 2] = $43; - $45 = HEAP32[$31 >> 2] | 0; - $46 = HEAP32[$36 >> 2] | 0; - $47 = HEAP32[$40 >> 2] | 0; - if ($27) { - $$03233$i = 0; - $$034$i = -128; - while (1) { - HEAP32[$45 + ($$03233$i << 2) >> 2] = ($$034$i * 183763 | 0) + 32768 >> 16; - HEAP32[$46 + ($$03233$i << 2) >> 2] = ($$034$i * 232260 | 0) + 32768 >> 16; - $56 = Math_imul($$034$i, -93603) | 0; - HEAP32[$47 + ($$03233$i << 2) >> 2] = $56; - $59 = (Math_imul($$034$i, -45107) | 0) + 32768 | 0; - HEAP32[$43 + ($$03233$i << 2) >> 2] = $59; - $$03233$i = $$03233$i + 1 | 0; - if (($$03233$i | 0) == 256) break; else $$034$i = $$034$i + 1 | 0; - } - return; + $dir$0$in = $marker_info + 16 | 0; + break; + } else $dir$0$in = $marker_info + 20 | 0; while (0); + $dir$0 = HEAP32[$dir$0$in >> 2] | 0; + $rem = (4 - $dir$0 | 0) % 4 | 0; + HEAPF64[$screenCoord >> 3] = +HEAPF64[$marker_info + 168 + ($rem << 4) >> 3]; + HEAPF64[$screenCoord + 8 >> 3] = +HEAPF64[$marker_info + 168 + ($rem << 4) + 8 >> 3]; + $rem18 = (5 - $dir$0 | 0) % 4 | 0; + HEAPF64[$screenCoord + 16 >> 3] = +HEAPF64[$marker_info + 168 + ($rem18 << 4) >> 3]; + HEAPF64[$screenCoord + 24 >> 3] = +HEAPF64[$marker_info + 168 + ($rem18 << 4) + 8 >> 3]; + $rem32 = (6 - $dir$0 | 0) % 4 | 0; + HEAPF64[$screenCoord + 32 >> 3] = +HEAPF64[$marker_info + 168 + ($rem32 << 4) >> 3]; + HEAPF64[$screenCoord + 40 >> 3] = +HEAPF64[$marker_info + 168 + ($rem32 << 4) + 8 >> 3]; + $rem46 = (7 - $dir$0 | 0) % 4 | 0; + HEAPF64[$screenCoord + 48 >> 3] = +HEAPF64[$marker_info + 168 + ($rem46 << 4) >> 3]; + HEAPF64[$screenCoord + 56 >> 3] = +HEAPF64[$marker_info + 168 + ($rem46 << 4) + 8 >> 3]; + $div = $width * -.5; + HEAPF64[$worldCoord >> 3] = $div; + $div61 = $width * .5; + HEAPF64[$worldCoord + 8 >> 3] = $div61; + HEAPF64[$worldCoord + 16 >> 3] = 0.0; + HEAPF64[$worldCoord + 24 >> 3] = $div61; + HEAPF64[$worldCoord + 32 >> 3] = $div61; + HEAPF64[$worldCoord + 40 >> 3] = 0.0; + HEAPF64[$worldCoord + 48 >> 3] = $div61; + HEAPF64[$worldCoord + 56 >> 3] = $div; + HEAPF64[$worldCoord + 64 >> 3] = 0.0; + HEAPF64[$worldCoord + 72 >> 3] = $div; + HEAPF64[$worldCoord + 80 >> 3] = $div; + HEAPF64[$worldCoord + 88 >> 3] = 0.0; + HEAP32[$data >> 2] = $screenCoord; + HEAP32[$data + 4 >> 2] = $worldCoord; + HEAP32[$data + 8 >> 2] = 4; + if ((_icpGetInitXw2Xc_from_PlanarData(HEAP32[$handle >> 2] | 0, $screenCoord, $worldCoord, 4, $initMatXw2Xc) | 0) < 0) $retval$0 = 1.0e8; else { + $cmp107 = (_icpPoint(HEAP32[$handle >> 2] | 0, $data, $initMatXw2Xc, $conv, $err) | 0) < 0; + $retval$0 = $cmp107 ? 1.0e8 : +HEAPF64[$err >> 3]; + } + STACKTOP = sp; + return +$retval$0; +} + +function __ZNKSt3__27num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_putES4_RNS_8ios_baseEcm($this, $__s, $__iob, $__fl, $__v) { + $this = $this | 0; + $__s = $__s | 0; + $__iob = $__iob | 0; + $__fl = $__fl | 0; + $__v = $__v | 0; + var $2 = 0, $4 = 0, $5 = 0, $__fmt = 0, $__fmtflags_$i = 0, $__oe = 0, $__op = 0, $add$ptr7 = 0, $add3 = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, $and$lobit = 0, $call11 = 0, $call4 = 0, $call8 = 0, $vla = 0, $vla$alloca_mul = 0, $vla10 = 0, $vla10$alloca_mul = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 32 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); + $agg$tmp$byval_copy = sp; + $__fmt = sp + 16 | 0; + $__op = sp + 12 | 0; + $__oe = sp + 4 | 0; + $agg$tmp = sp + 8 | 0; + HEAP8[$__fmt >> 0] = HEAP8[60031] | 0; + HEAP8[$__fmt + 1 >> 0] = HEAP8[60032] | 0; + HEAP8[$__fmt + 2 >> 0] = HEAP8[60033] | 0; + HEAP8[$__fmt + 3 >> 0] = HEAP8[60034] | 0; + HEAP8[$__fmt + 4 >> 0] = HEAP8[60035] | 0; + HEAP8[$__fmt + 5 >> 0] = HEAP8[60036] | 0; + $__fmtflags_$i = $__iob + 4 | 0; + __ZNSt3__214__num_put_base12__format_intEPcPKcbj($__fmt + 1 | 0, 60037, 0, HEAP32[$__fmtflags_$i >> 2] | 0); + $and$lobit = (HEAP32[$__fmtflags_$i >> 2] | 0) >>> 9 & 1; + $add3 = $and$lobit | 12; + $2 = _llvm_stacksave() | 0; + $vla$alloca_mul = $add3; + $vla = STACKTOP; + STACKTOP = STACKTOP + ((1 * $vla$alloca_mul | 0) + 15 & -16) | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow((1 * $vla$alloca_mul | 0) + 15 & -16 | 0); + $call4 = __ZNSt3__26__clocEv() | 0; + HEAP32[$agg$tmp$byval_copy >> 2] = $__v; + $add$ptr7 = $vla + (__ZNSt3__219__libcpp_snprintf_lEPcmP15__locale_structPKcz($vla, $add3, $call4, $__fmt, $agg$tmp$byval_copy) | 0) | 0; + $call8 = __ZNSt3__214__num_put_base18__identify_paddingEPcS1_RKNS_8ios_baseE($vla, $add$ptr7, $__iob) | 0; + $vla10$alloca_mul = $and$lobit << 1 | 21; + $vla10 = STACKTOP; + STACKTOP = STACKTOP + ((1 * $vla10$alloca_mul | 0) + 15 & -16) | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow((1 * $vla10$alloca_mul | 0) + 15 & -16 | 0); + __ZNKSt3__28ios_base6getlocEv($agg$tmp$byval_copy, $__iob); + __ZNSt3__29__num_putIcE21__widen_and_group_intEPcS2_S2_S2_RS2_S3_RKNS_6localeE($vla, $call8, $add$ptr7, $vla10, $__op, $__oe, $agg$tmp$byval_copy); + __ZNSt3__26localeD2Ev($agg$tmp$byval_copy); + HEAP32[$agg$tmp >> 2] = HEAP32[$__s >> 2]; + $4 = HEAP32[$__op >> 2] | 0; + $5 = HEAP32[$__oe >> 2] | 0; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + $call11 = __ZNSt3__216__pad_and_outputIcNS_11char_traitsIcEEEENS_19ostreambuf_iteratorIT_T0_EES6_PKS4_S8_S8_RNS_8ios_baseES4_($agg$tmp$byval_copy, $vla10, $4, $5, $__iob, $__fl) | 0; + _llvm_stackrestore($2 | 0); + STACKTOP = sp; + return $call11 | 0; +} + +function __ZNK6vision25GaussianScaleSpacePyramid3getEmm($this, $octave, $scale) { + $this = $this | 0; + $octave = $octave | 0; + $scale = $scale | 0; + var $2 = 0, $add = 0, $call$i1$i = 0, $call$i1$i12 = 0, $call$i2$i = 0, $call$i2$i15 = 0, $call16 = 0, $call6 = 0, $ref$tmp$i11 = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $ref$tmp$i11 = sp; + if ((HEAP32[$this + 16 >> 2] | 0) >>> 0 <= $octave >>> 0) { + $call6 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 38735) | 0, 38580) | 0, 39794) | 0, 218) | 0, 39801) | 0, 26906) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i11, $call6 + (HEAP32[(HEAP32[$call6 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i11, 67360) | 0; + $call$i2$i = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i >> 2] | 0) + 28 >> 2] & 127]($call$i1$i, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i11); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call6, $call$i2$i) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call6) | 0; + _abort(); + } + $2 = HEAP32[$this + 20 >> 2] | 0; + if ($2 >>> 0 > $scale >>> 0) { + $add = (Math_imul($2, $octave) | 0) + $scale | 0; + STACKTOP = sp; + return (HEAP32[$this + 4 >> 2] | 0) + ($add << 5) | 0; } else { - $$03233$i23 = 0; - $$034$i22 = -128; - while (1) { - HEAP32[$45 + ($$03233$i23 << 2) >> 2] = ($$034$i22 * 91881 | 0) + 32768 >> 16; - HEAP32[$46 + ($$03233$i23 << 2) >> 2] = ($$034$i22 * 116130 | 0) + 32768 >> 16; - $71 = Math_imul($$034$i22, -46802) | 0; - HEAP32[$47 + ($$03233$i23 << 2) >> 2] = $71; - $74 = (Math_imul($$034$i22, -22553) | 0) + 32768 | 0; - HEAP32[$43 + ($$03233$i23 << 2) >> 2] = $74; - $$03233$i23 = $$03233$i23 + 1 | 0; - if (($$03233$i23 | 0) == 256) break; else $$034$i22 = $$034$i22 + 1 | 0; - } - return; + $call16 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 38879) | 0, 38580) | 0, 39794) | 0, 219) | 0, 39801) | 0, 26926) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i11, $call16 + (HEAP32[(HEAP32[$call16 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i12 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i11, 67360) | 0; + $call$i2$i15 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i12 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i12, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i11); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call16, $call$i2$i15) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call16) | 0; + _abort(); } + return 0; +} + +function __ZN6vision16MatrixInverse3x3IfEEbPT_PKS1_S1_($B, $A, $threshold) { + $B = $B | 0; + $A = $A | 0; + $threshold = +$threshold; + var $arrayidx = 0, $arrayidx23 = 0, $arrayidx25 = 0, $arrayidx3 = 0, $arrayidx4 = 0, $arrayidx5 = 0, $arrayidx8 = 0, $arrayidx9 = 0, $call = 0.0, $conv2 = 0.0, $mul = 0.0, $mul13 = 0.0, $mul20 = 0.0, $mul27 = 0.0, $mul34 = 0.0, $mul41 = 0.0, $mul48 = 0.0, $mul55 = 0.0, $mul62 = 0.0, $retval$0 = 0; + $call = +__ZN6vision14Determinant3x3IfEET_PKS1_($A); + if (!(+Math_abs(+$call) <= $threshold)) { + $conv2 = 1.0 / $call; + $arrayidx = $A + 16 | 0; + $arrayidx3 = $A + 20 | 0; + $arrayidx4 = $A + 28 | 0; + $arrayidx5 = $A + 32 | 0; + $mul = $conv2 * +__ZN6vision11Cofactor2x2IfEET_S1_S1_S1_S1_(+HEAPF32[$arrayidx >> 2], +HEAPF32[$arrayidx3 >> 2], +HEAPF32[$arrayidx4 >> 2], +HEAPF32[$arrayidx5 >> 2]); + HEAPF32[$B >> 2] = $mul; + $arrayidx8 = $A + 8 | 0; + $arrayidx9 = $A + 4 | 0; + $mul13 = $conv2 * +__ZN6vision11Cofactor2x2IfEET_S1_S1_S1_S1_(+HEAPF32[$arrayidx8 >> 2], +HEAPF32[$arrayidx9 >> 2], +HEAPF32[$arrayidx5 >> 2], +HEAPF32[$arrayidx4 >> 2]); + HEAPF32[$B + 4 >> 2] = $mul13; + $mul20 = $conv2 * +__ZN6vision11Cofactor2x2IfEET_S1_S1_S1_S1_(+HEAPF32[$arrayidx9 >> 2], +HEAPF32[$arrayidx8 >> 2], +HEAPF32[$arrayidx >> 2], +HEAPF32[$arrayidx3 >> 2]); + HEAPF32[$B + 8 >> 2] = $mul20; + $arrayidx23 = $A + 12 | 0; + $arrayidx25 = $A + 24 | 0; + $mul27 = $conv2 * +__ZN6vision11Cofactor2x2IfEET_S1_S1_S1_S1_(+HEAPF32[$arrayidx3 >> 2], +HEAPF32[$arrayidx23 >> 2], +HEAPF32[$arrayidx5 >> 2], +HEAPF32[$arrayidx25 >> 2]); + HEAPF32[$B + 12 >> 2] = $mul27; + $mul34 = $conv2 * +__ZN6vision11Cofactor2x2IfEET_S1_S1_S1_S1_(+HEAPF32[$A >> 2], +HEAPF32[$arrayidx8 >> 2], +HEAPF32[$arrayidx25 >> 2], +HEAPF32[$arrayidx5 >> 2]); + HEAPF32[$B + 16 >> 2] = $mul34; + $mul41 = $conv2 * +__ZN6vision11Cofactor2x2IfEET_S1_S1_S1_S1_(+HEAPF32[$arrayidx8 >> 2], +HEAPF32[$A >> 2], +HEAPF32[$arrayidx3 >> 2], +HEAPF32[$arrayidx23 >> 2]); + HEAPF32[$B + 20 >> 2] = $mul41; + $mul48 = $conv2 * +__ZN6vision11Cofactor2x2IfEET_S1_S1_S1_S1_(+HEAPF32[$arrayidx23 >> 2], +HEAPF32[$arrayidx >> 2], +HEAPF32[$arrayidx25 >> 2], +HEAPF32[$arrayidx4 >> 2]); + HEAPF32[$B + 24 >> 2] = $mul48; + $mul55 = $conv2 * +__ZN6vision11Cofactor2x2IfEET_S1_S1_S1_S1_(+HEAPF32[$arrayidx9 >> 2], +HEAPF32[$A >> 2], +HEAPF32[$arrayidx4 >> 2], +HEAPF32[$arrayidx25 >> 2]); + HEAPF32[$B + 28 >> 2] = $mul55; + $mul62 = $conv2 * +__ZN6vision11Cofactor2x2IfEET_S1_S1_S1_S1_(+HEAPF32[$A >> 2], +HEAPF32[$arrayidx9 >> 2], +HEAPF32[$arrayidx23 >> 2], +HEAPF32[$arrayidx >> 2]); + HEAPF32[$B + 32 >> 2] = $mul62; + $retval$0 = 1; + } else $retval$0 = 0; + return $retval$0 | 0; } function __ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE6removeENS_21__hash_const_iteratorIPNS_11__hash_nodeIS3_PvEEEE($agg$result, $this, $__p) { $agg$result = $agg$result | 0; $this = $this | 0; $__p = $__p | 0; - var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $13 = 0, $2 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $__next_20$pre$phiZ2D = 0, $__p1_ = 0, $__pn$0 = 0, $__value_$i$i$i = 0, $arrayidx$i48 = 0, $cond3$i = 0, $cond3$i35 = 0, $cond3$i44 = 0, $cond3$i55 = 0, $sub$i49 = 0, $tobool$i51 = 0, label = 0; + var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $13 = 0, $2 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $__next_28$pre$phiZ2D = 0, $__p1_ = 0, $__pn$0 = 0, $__value_$i$i$i = 0, $arrayidx$i54 = 0, $cond6$i = 0, $cond6$i38 = 0, $cond6$i50 = 0, $cond6$i64 = 0, $sub$i55 = 0, $tobool$i57 = 0, label = 0; $0 = HEAP32[$__p >> 2] | 0; $1 = HEAP32[$this + 4 >> 2] | 0; $2 = HEAP32[$0 + 4 >> 2] | 0; - $sub$i49 = $1 + -1 | 0; - $tobool$i51 = ($sub$i49 & $1 | 0) == 0; - if (!$tobool$i51) if ($2 >>> 0 < $1 >>> 0) $cond3$i55 = $2; else $cond3$i55 = ($2 >>> 0) % ($1 >>> 0) | 0; else $cond3$i55 = $sub$i49 & $2; - $arrayidx$i48 = (HEAP32[$this >> 2] | 0) + ($cond3$i55 << 2) | 0; - $__pn$0 = HEAP32[$arrayidx$i48 >> 2] | 0; + $sub$i55 = $1 + -1 | 0; + $tobool$i57 = ($sub$i55 & $1 | 0) == 0; + if (!$tobool$i57) if ($2 >>> 0 < $1 >>> 0) $cond6$i64 = $2; else $cond6$i64 = ($2 >>> 0) % ($1 >>> 0) | 0; else $cond6$i64 = $sub$i55 & $2; + $arrayidx$i54 = (HEAP32[$this >> 2] | 0) + ($cond6$i64 << 2) | 0; + $__pn$0 = HEAP32[$arrayidx$i54 >> 2] | 0; while (1) { $5 = HEAP32[$__pn$0 >> 2] | 0; if (($5 | 0) == ($0 | 0)) break; else $__pn$0 = $5; @@ -70282,34 +73210,34 @@ function __ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22_ $__p1_ = $this + 8 | 0; if (($__pn$0 | 0) != ($__p1_ | 0)) { $6 = HEAP32[$__pn$0 + 4 >> 2] | 0; - if (!$tobool$i51) if ($6 >>> 0 < $1 >>> 0) $cond3$i44 = $6; else $cond3$i44 = ($6 >>> 0) % ($1 >>> 0) | 0; else $cond3$i44 = $6 & $sub$i49; - if (($cond3$i44 | 0) == ($cond3$i55 | 0)) $__next_20$pre$phiZ2D = $0; else label = 14; + if (!$tobool$i57) if ($6 >>> 0 < $1 >>> 0) $cond6$i50 = $6; else $cond6$i50 = ($6 >>> 0) % ($1 >>> 0) | 0; else $cond6$i50 = $6 & $sub$i55; + if (($cond6$i50 | 0) == ($cond6$i64 | 0)) $__next_28$pre$phiZ2D = $0; else label = 14; } else label = 14; do if ((label | 0) == 14) { $7 = HEAP32[$0 >> 2] | 0; if ($7 | 0) { $8 = HEAP32[$7 + 4 >> 2] | 0; - if (!$tobool$i51) if ($8 >>> 0 < $1 >>> 0) $cond3$i35 = $8; else $cond3$i35 = ($8 >>> 0) % ($1 >>> 0) | 0; else $cond3$i35 = $8 & $sub$i49; - if (($cond3$i35 | 0) == ($cond3$i55 | 0)) { - $__next_20$pre$phiZ2D = $0; + if (!$tobool$i57) if ($8 >>> 0 < $1 >>> 0) $cond6$i38 = $8; else $cond6$i38 = ($8 >>> 0) % ($1 >>> 0) | 0; else $cond6$i38 = $8 & $sub$i55; + if (($cond6$i38 | 0) == ($cond6$i64 | 0)) { + $__next_28$pre$phiZ2D = $0; break; } } - HEAP32[$arrayidx$i48 >> 2] = 0; - $__next_20$pre$phiZ2D = $0; + HEAP32[$arrayidx$i54 >> 2] = 0; + $__next_28$pre$phiZ2D = $0; } while (0); - $9 = HEAP32[$__next_20$pre$phiZ2D >> 2] | 0; + $9 = HEAP32[$__next_28$pre$phiZ2D >> 2] | 0; $10 = $9; if ($9) { $11 = HEAP32[$9 + 4 >> 2] | 0; - if (!$tobool$i51) if ($11 >>> 0 < $1 >>> 0) $cond3$i = $11; else $cond3$i = ($11 >>> 0) % ($1 >>> 0) | 0; else $cond3$i = $11 & $sub$i49; - if (($cond3$i | 0) != ($cond3$i55 | 0)) { - HEAP32[(HEAP32[$this >> 2] | 0) + ($cond3$i << 2) >> 2] = $__pn$0; + if (!$tobool$i57) if ($11 >>> 0 < $1 >>> 0) $cond6$i = $11; else $cond6$i = ($11 >>> 0) % ($1 >>> 0) | 0; else $cond6$i = $11 & $sub$i55; + if (($cond6$i | 0) != ($cond6$i64 | 0)) { + HEAP32[(HEAP32[$this >> 2] | 0) + ($cond6$i << 2) >> 2] = $__pn$0; $13 = HEAP32[$0 >> 2] | 0; } else $13 = $10; } else $13 = $10; HEAP32[$__pn$0 >> 2] = $13; - HEAP32[$__next_20$pre$phiZ2D >> 2] = 0; + HEAP32[$__next_28$pre$phiZ2D >> 2] = 0; $__value_$i$i$i = $this + 12 | 0; HEAP32[$__value_$i$i$i >> 2] = (HEAP32[$__value_$i$i$i >> 2] | 0) + -1; HEAP32[$agg$result >> 2] = $0; @@ -70318,1176 +73246,672 @@ function __ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22_ return; } -function __ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_6vectorIiNS_9allocatorIiEEEEEENS_22__unordered_map_hasherIiS6_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS6_NS_8equal_toIiEELb1EEENS3_IS6_EEE8__rehashEm($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $$054$ph$ph = 0, $$055 = 0, $$056$ph = 0, $$056$ph$ph = 0, $$058 = 0, $13 = 0, $14 = 0, $2 = 0, $20 = 0, $21 = 0, $23 = 0, $29 = 0, $32 = 0, $37 = 0, $39 = 0, $42 = 0, $43 = 0, $5 = 0, $57 = 0, $7 = 0, $8 = 0; - $2 = $0 + 4 | 0; - L1 : do if ($1) { - if ($1 >>> 0 > 1073741823) { - $5 = ___cxa_allocate_exception(8) | 0; - __ZNSt11logic_errorC2EPKc($5, 41481); - HEAP32[$5 >> 2] = 17472; - ___cxa_throw($5 | 0, 13960, 22); - } - $7 = __Znwm($1 << 2) | 0; - $8 = HEAP32[$0 >> 2] | 0; - HEAP32[$0 >> 2] = $7; - if ($8 | 0) __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($8, HEAP32[$0 + 4 >> 2] << 2); - HEAP32[$2 >> 2] = $1; - $$058 = 0; - while (1) { - if (($$058 | 0) == ($1 | 0)) break; - HEAP32[(HEAP32[$0 >> 2] | 0) + ($$058 << 2) >> 2] = 0; - $$058 = $$058 + 1 | 0; - } - $13 = $0 + 8 | 0; - $14 = HEAP32[$13 >> 2] | 0; - if ($14 | 0) { - $20 = HEAP32[$14 + 4 >> 2] | 0; - $21 = $1 + -1 | 0; - $23 = ($21 & $1 | 0) == 0; - if (!$23) if ($20 >>> 0 < $1 >>> 0) $29 = $20; else $29 = ($20 >>> 0) % ($1 >>> 0) | 0; else $29 = $20 & $21; - HEAP32[(HEAP32[$0 >> 2] | 0) + ($29 << 2) >> 2] = $13; - $$054$ph$ph = $29; - $$056$ph$ph = $14; - while (1) { - $$056$ph = $$056$ph$ph; - L25 : while (1) { - while (1) { - $$055 = HEAP32[$$056$ph >> 2] | 0; - if (!$$055) break L1; - $32 = HEAP32[$$055 + 4 >> 2] | 0; - if (!$23) if ($32 >>> 0 < $1 >>> 0) $37 = $32; else $37 = ($32 >>> 0) % ($1 >>> 0) | 0; else $37 = $32 & $21; - if (($37 | 0) == ($$054$ph$ph | 0)) break; - $39 = (HEAP32[$0 >> 2] | 0) + ($37 << 2) | 0; - if (!(HEAP32[$39 >> 2] | 0)) break L25; - $42 = $$055 + 8 | 0; - $$0 = $$055; - while (1) { - $43 = HEAP32[$$0 >> 2] | 0; - if (!$43) break; - if ((HEAP32[$42 >> 2] | 0) == (HEAP32[$43 + 8 >> 2] | 0)) $$0 = $43; else break; - } - HEAP32[$$056$ph >> 2] = $43; - HEAP32[$$0 >> 2] = HEAP32[HEAP32[(HEAP32[$0 >> 2] | 0) + ($37 << 2) >> 2] >> 2]; - HEAP32[HEAP32[(HEAP32[$0 >> 2] | 0) + ($37 << 2) >> 2] >> 2] = $$055; - } - $$056$ph = $$055; - } - HEAP32[$39 >> 2] = $$056$ph; - $$054$ph$ph = $37; - $$056$ph$ph = $$055; - } - } - } else { - $57 = HEAP32[$0 >> 2] | 0; - HEAP32[$0 >> 2] = 0; - if ($57 | 0) __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($57, HEAP32[$0 + 4 >> 2] << 2); - HEAP32[$2 >> 2] = 0; - } while (0); - return; -} - -function _wcsnrtombs($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $$0 = 0, $$04773 = 0, $$05172 = 0, $$054 = 0, $$148 = 0, $$152 = 0, $$15571 = 0, $$162 = 0, $$174 = 0, $$2 = 0, $$24968 = 0, $$25367 = 0, $$256 = 0, $$350 = 0, $$357 = 0, $$369 = 0, $$466 = 0, $$cast = 0, $11 = 0, $14 = 0, $15 = 0, $17 = 0, $20 = 0, $21 = 0, $25 = 0, $30 = 0, $31 = 0, $40 = 0, $45 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $spec$select = 0, sp = 0; +function __ZNK6vision25GaussianScaleSpacePyramid14effectiveSigmaEmf($this, $octave, $scale) { + $this = $this | 0; + $octave = $octave | 0; + $scale = +$scale; + var $call$i1$i$i = 0, $call$i1$i$i8 = 0, $call$i2$i$i = 0, $call$i2$i$i11 = 0, $call16 = 0, $call6 = 0, $mul = 0.0, $ref$tmp$i$i3 = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 272 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(272); - $5 = sp; - $6 = sp + 256 | 0; - $7 = HEAP32[$1 >> 2] | 0; - HEAP32[$6 >> 2] = $7; - $8 = ($0 | 0) != 0; - $$054 = $8 ? $3 : 256; - $$0 = $8 ? $0 : $5; - $$cast = $7; - L1 : do if (($$054 | 0) != 0 & ($7 | 0) != 0) { - $$04773 = 0; - $$05172 = $2; - $$15571 = $$054; - $$174 = $$0; - $45 = $$cast; - while (1) { - $11 = $$05172 >>> 0 >= $$15571 >>> 0; - if (!($11 | $$05172 >>> 0 > 32)) { - $$148 = $$04773; - $$152 = $$05172; - $$162 = $$174; - $$357 = $$15571; - $25 = $45; - break L1; - } - $spec$select = $11 ? $$15571 : $$05172; - $14 = $$05172 - $spec$select | 0; - $15 = _wcsrtombs($$174, $6, $spec$select, 0) | 0; - if (($15 | 0) == -1) break; - $17 = ($$174 | 0) == ($5 | 0); - $$256 = $$15571 - ($17 ? 0 : $15) | 0; - $$2 = $17 ? $$174 : $$174 + $15 | 0; - $20 = $15 + $$04773 | 0; - $21 = HEAP32[$6 >> 2] | 0; - if (($$256 | 0) != 0 & ($21 | 0) != 0) { - $$04773 = $20; - $$05172 = $14; - $$15571 = $$256; - $$174 = $$2; - $45 = $21; - } else { - $$148 = $20; - $$152 = $14; - $$162 = $$2; - $$357 = $$256; - $25 = $21; - break L1; - } - } - $$148 = -1; - $$152 = $14; - $$162 = $$174; - $$357 = 0; - $25 = HEAP32[$6 >> 2] | 0; - } else { - $$148 = 0; - $$152 = $2; - $$162 = $$0; - $$357 = $$054; - $25 = $$cast; - } while (0); - L9 : do if (($25 | 0) != 0 ? ($$357 | 0) != 0 & ($$152 | 0) != 0 : 0) { - $$24968 = $$148; - $$25367 = $$152; - $$369 = $$162; - $$466 = $$357; - $30 = $25; - while (1) { - $31 = _wcrtomb($$369, HEAP32[$30 >> 2] | 0, 0) | 0; - if (($31 + 1 | 0) >>> 0 < 2) break; - $30 = (HEAP32[$6 >> 2] | 0) + 4 | 0; - HEAP32[$6 >> 2] = $30; - $$25367 = $$25367 + -1 | 0; - $$466 = $$466 - $31 | 0; - $40 = $31 + $$24968 | 0; - if (!(($$466 | 0) != 0 & ($$25367 | 0) != 0)) { - $$350 = $40; - break L9; - } else { - $$24968 = $40; - $$369 = $$369 + $31 | 0; - } - } - if (!$31) { - HEAP32[$6 >> 2] = 0; - $$350 = $$24968; - } else $$350 = -1; - } else $$350 = $$148; while (0); - if ($8) HEAP32[$1 >> 2] = HEAP32[$6 >> 2]; - STACKTOP = sp; - return $$350 | 0; -} - -function _alloc_small($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$0 = 0, $$069 = 0, $$070 = 0, $$07082 = 0, $$07084 = 0, $$072$lcssa = 0, $$1 = 0, $$171 = 0, $$277 = 0, $$lcssa73 = 0, $$lcssa74 = 0, $$pre$phiZ2D = 0, $11 = 0, $16 = 0, $21 = 0, $25 = 0, $26 = 0, $28 = 0, $29 = 0, $30 = 0, $34 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $43 = 0, $49 = 0, $50 = 0, $53 = 0, $6 = 0, label = 0; - $4 = HEAP32[$0 + 4 >> 2] | 0; - if ($2 >>> 0 > 999999984) { - $6 = HEAP32[$0 >> 2] | 0; - HEAP32[$6 + 20 >> 2] = 56; - HEAP32[$6 + 24 >> 2] = 1; - FUNCTION_TABLE_vi[HEAP32[HEAP32[$0 >> 2] >> 2] & 255]($0); - } - $11 = $2 & 7; - $$069 = (($11 | 0) == 0 ? 0 : 8 - $11 | 0) + $2 | 0; - if ($1 >>> 0 > 1) { - $16 = HEAP32[$0 >> 2] | 0; - HEAP32[$16 + 20 >> 2] = 15; - HEAP32[$16 + 24 >> 2] = $1; - FUNCTION_TABLE_vi[HEAP32[HEAP32[$0 >> 2] >> 2] & 255]($0); - } - $21 = $4 + 52 + ($1 << 2) | 0; - $$07082 = HEAP32[$21 >> 2] | 0; - L7 : do if (!$$07082) { - $$072$lcssa = 0; - label = 9; - } else { - $$07084 = $$07082; - while (1) { - if ((HEAP32[$$07084 + 8 >> 2] | 0) >>> 0 >= $$069 >>> 0) { - $$171 = $$07084; - break L7; - } - $$070 = HEAP32[$$07084 >> 2] | 0; - if (!$$070) { - $$072$lcssa = $$07084; - label = 9; - break; - } else $$07084 = $$070; - } - } while (0); - do if ((label | 0) == 9) { - $25 = ($$072$lcssa | 0) == 0; - $$0 = HEAP32[($25 ? 17016 : 17024) + ($1 << 2) >> 2] | 0; - $26 = 999999984 - $$069 | 0; - $$1 = $$0 >>> 0 > $26 >>> 0 ? $26 : $$0; - $28 = $$1 + $$069 | 0; - $29 = $28 + 16 | 0; - $30 = _jpeg_get_small($0, $29) | 0; - if (!$30) { - $$277 = $$1; - do { - if ($$277 >>> 0 < 100) { - $34 = HEAP32[$0 >> 2] | 0; - HEAP32[$34 + 20 >> 2] = 56; - HEAP32[$34 + 24 >> 2] = 2; - FUNCTION_TABLE_vi[HEAP32[HEAP32[$0 >> 2] >> 2] & 255]($0); - } - $$277 = $$277 >>> 1; - $39 = $$277 + $$069 | 0; - $40 = $39 + 16 | 0; - $41 = _jpeg_get_small($0, $40) | 0; - } while (!($41 | 0)); - $$lcssa73 = $41; - $$lcssa74 = $40; - $$pre$phiZ2D = $39; - } else { - $$lcssa73 = $30; - $$lcssa74 = $29; - $$pre$phiZ2D = $28; - } - $43 = $4 + 76 | 0; - HEAP32[$43 >> 2] = (HEAP32[$43 >> 2] | 0) + $$lcssa74; - HEAP32[$$lcssa73 >> 2] = 0; - HEAP32[$$lcssa73 + 4 >> 2] = 0; - HEAP32[$$lcssa73 + 8 >> 2] = $$pre$phiZ2D; - if ($25) { - HEAP32[$21 >> 2] = $$lcssa73; - $$171 = $$lcssa73; - break; - } else { - HEAP32[$$072$lcssa >> 2] = $$lcssa73; - $$171 = $$lcssa73; - break; - } - } while (0); - $49 = $$171 + 4 | 0; - $50 = HEAP32[$49 >> 2] | 0; - HEAP32[$49 >> 2] = $50 + $$069; - $53 = $$171 + 8 | 0; - HEAP32[$53 >> 2] = (HEAP32[$53 >> 2] | 0) - $$069; - return $$171 + 16 + $50 | 0; -} - -function _arImageProcLumaHistAndBoxFilterWithBias($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $$0 = 0, $$073 = 0, $$074 = 0, $$075 = 0, $$076 = 0, $$078 = 0, $$082 = 0, $$1 = 0, $$177 = 0, $$179 = 0, $$2 = 0, $$280 = 0, $$3 = 0, $$381 = 0, $$pre$phi86Z2D = 0, $$pre$phiZ2D = 0, $10 = 0, $13 = 0, $15 = 0, $16 = 0, $17 = 0, $19 = 0, $22 = 0, $26 = 0, $28 = 0, $4 = 0, $44 = 0, $50 = 0, $53 = 0, $8 = 0; - $4 = _arImageProcLumaHist($0, $1) | 0; - L1 : do if (($4 | 0) >= 0) { - if (!(HEAP32[$0 >> 2] | 0)) { - $8 = $0 + 4 | 0; - $10 = $0 + 8 | 0; - $13 = _malloc(Math_imul(HEAP32[$10 >> 2] | 0, HEAP32[$8 >> 2] | 0) | 0) | 0; - HEAP32[$0 >> 2] = $13; - if (!$13) { - $$0 = -1; - break; - } else { - $$pre$phi86Z2D = $8; - $$pre$phiZ2D = $10; - } - } else { - $$pre$phi86Z2D = $0 + 4 | 0; - $$pre$phiZ2D = $0 + 8 | 0; - } - $15 = $2 >> 1; - $16 = 0 - $15 | 0; - $$082 = 0; - while (1) { - $17 = HEAP32[$$pre$phiZ2D >> 2] | 0; - if (($$082 | 0) >= ($17 | 0)) break; - $$073 = 0; - while (1) { - $19 = HEAP32[$$pre$phi86Z2D >> 2] | 0; - if (($$073 | 0) >= ($19 | 0)) break; - $$074 = $16; - $$076 = 0; - $$078 = 0; - while (1) { - if (($$074 | 0) > ($15 | 0)) break; - $22 = $$074 + $$082 | 0; - L16 : do if (($22 | 0) >= 0 ? ($22 | 0) < (HEAP32[$$pre$phiZ2D >> 2] | 0) : 0) { - $26 = Math_imul($22, $19) | 0; - $$075 = $16; - $$177 = $$076; - $$179 = $$078; - while (1) { - if (($$075 | 0) > ($15 | 0)) { - $$3 = $$177; - $$381 = $$179; - break L16; - } - $28 = $$075 + $$073 | 0; - if (($28 | 0) > -1 & ($28 | 0) < ($19 | 0)) { - $$2 = $$177 + 1 | 0; - $$280 = $$179 + (HEAPU8[$1 + ($28 + $26) >> 0] | 0) | 0; - } else { - $$2 = $$177; - $$280 = $$179; - } - $$075 = $$075 + 1 | 0; - $$177 = $$2; - $$179 = $$280; - } - } else { - $$3 = $$076; - $$381 = $$078; - } while (0); - $$074 = $$074 + 1 | 0; - $$076 = $$3; - $$078 = $$381; - } - $44 = (HEAP32[$0 >> 2] | 0) + ((Math_imul($19, $$082) | 0) + $$073) | 0; - HEAP8[$44 >> 0] = ($$078 | 0) / ($$076 | 0) | 0; - $$073 = $$073 + 1 | 0; - } - $$082 = $$082 + 1 | 0; - } - if (!$3) $$0 = 0; else { - $$1 = 0; - $50 = $17; - while (1) { - if (($$1 | 0) >= (Math_imul($50, HEAP32[$$pre$phi86Z2D >> 2] | 0) | 0)) { - $$0 = 0; - break L1; - } - $53 = (HEAP32[$0 >> 2] | 0) + $$1 | 0; - HEAP8[$53 >> 0] = (HEAPU8[$53 >> 0] | 0) + $3; - $$1 = $$1 + 1 | 0; - $50 = HEAP32[$$pre$phiZ2D >> 2] | 0; - } - } - } else $$0 = $4; while (0); - return $$0 | 0; -} - -function __ZNSt3__212__hash_tableINS_17__hash_value_typeIjjEENS_22__unordered_map_hasherIjS2_NS_4hashIjEELb1EEENS_21__unordered_map_equalIjS2_NS_8equal_toIjEELb1EEENS_9allocatorIS2_EEE8__rehashEm($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $$054$ph$ph = 0, $$055 = 0, $$056$ph = 0, $$056$ph$ph = 0, $$058 = 0, $13 = 0, $14 = 0, $2 = 0, $20 = 0, $21 = 0, $23 = 0, $29 = 0, $32 = 0, $37 = 0, $39 = 0, $42 = 0, $43 = 0, $5 = 0, $57 = 0, $7 = 0, $8 = 0; - $2 = $0 + 4 | 0; - L1 : do if ($1) { - if ($1 >>> 0 > 1073741823) { - $5 = ___cxa_allocate_exception(8) | 0; - __ZNSt11logic_errorC2EPKc($5, 41481); - HEAP32[$5 >> 2] = 17472; - ___cxa_throw($5 | 0, 13960, 22); - } - $7 = __Znwm($1 << 2) | 0; - $8 = HEAP32[$0 >> 2] | 0; - HEAP32[$0 >> 2] = $7; - if ($8 | 0) __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($8, HEAP32[$0 + 4 >> 2] << 2); - HEAP32[$2 >> 2] = $1; - $$058 = 0; - while (1) { - if (($$058 | 0) == ($1 | 0)) break; - HEAP32[(HEAP32[$0 >> 2] | 0) + ($$058 << 2) >> 2] = 0; - $$058 = $$058 + 1 | 0; - } - $13 = $0 + 8 | 0; - $14 = HEAP32[$13 >> 2] | 0; - if ($14 | 0) { - $20 = HEAP32[$14 + 4 >> 2] | 0; - $21 = $1 + -1 | 0; - $23 = ($21 & $1 | 0) == 0; - if (!$23) if ($20 >>> 0 < $1 >>> 0) $29 = $20; else $29 = ($20 >>> 0) % ($1 >>> 0) | 0; else $29 = $20 & $21; - HEAP32[(HEAP32[$0 >> 2] | 0) + ($29 << 2) >> 2] = $13; - $$054$ph$ph = $29; - $$056$ph$ph = $14; - while (1) { - $$056$ph = $$056$ph$ph; - L25 : while (1) { - while (1) { - $$055 = HEAP32[$$056$ph >> 2] | 0; - if (!$$055) break L1; - $32 = HEAP32[$$055 + 4 >> 2] | 0; - if (!$23) if ($32 >>> 0 < $1 >>> 0) $37 = $32; else $37 = ($32 >>> 0) % ($1 >>> 0) | 0; else $37 = $32 & $21; - if (($37 | 0) == ($$054$ph$ph | 0)) break; - $39 = (HEAP32[$0 >> 2] | 0) + ($37 << 2) | 0; - if (!(HEAP32[$39 >> 2] | 0)) break L25; - $42 = $$055 + 8 | 0; - $$0 = $$055; - while (1) { - $43 = HEAP32[$$0 >> 2] | 0; - if (!$43) break; - if ((HEAP32[$42 >> 2] | 0) == (HEAP32[$43 + 8 >> 2] | 0)) $$0 = $43; else break; - } - HEAP32[$$056$ph >> 2] = $43; - HEAP32[$$0 >> 2] = HEAP32[HEAP32[(HEAP32[$0 >> 2] | 0) + ($37 << 2) >> 2] >> 2]; - HEAP32[HEAP32[(HEAP32[$0 >> 2] | 0) + ($37 << 2) >> 2] >> 2] = $$055; - } - $$056$ph = $$055; - } - HEAP32[$39 >> 2] = $$056$ph; - $$054$ph$ph = $37; - $$056$ph$ph = $$055; - } - } + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $ref$tmp$i$i3 = sp; + if (!($scale >= 0.0)) { + $call6 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 38822) | 0, 38580) | 0, 39794) | 0, 232) | 0, 39801) | 0, 38856) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i$i3, $call6 + (HEAP32[(HEAP32[$call6 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i$i = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i$i3, 67360) | 0; + $call$i2$i$i = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i$i >> 2] | 0) + 28 >> 2] & 127]($call$i1$i$i, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i$i3); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call6, $call$i2$i$i) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call6) | 0; + _abort(); + } + if (+(HEAP32[$this + 20 >> 2] | 0) > $scale) { + $mul = +Math_pow(+(+HEAPF32[$this + 24 >> 2]), +$scale) * +(1 << $octave | 0); + STACKTOP = sp; + return +$mul; } else { - $57 = HEAP32[$0 >> 2] | 0; - HEAP32[$0 >> 2] = 0; - if ($57 | 0) __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($57, HEAP32[$0 + 4 >> 2] << 2); - HEAP32[$2 >> 2] = 0; - } while (0); - return; -} - -function __ZNSt3__2L12ucs4_to_utf8EPKjS1_RS1_PhS3_RS3_mNS_12codecvt_modeE($0, $1, $2, $3, $4, $5, $6, $7) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - $6 = $6 | 0; - $7 = $7 | 0; - var $$2 = 0, $$pre49 = 0, $14 = 0, $16 = 0, $19 = 0, $20 = 0, $25 = 0, $32 = 0, $43 = 0, $46 = 0, $48 = 0, $58 = 0, $63 = 0, $74 = 0, $80 = 0, $85 = 0, $88 = 0, label = 0; - HEAP32[$2 >> 2] = $0; - HEAP32[$5 >> 2] = $3; - $$pre49 = $4; - if ($7 & 2) if (($$pre49 - $3 | 0) < 3) $$2 = 1; else { - HEAP32[$5 >> 2] = $3 + 1; - HEAP8[$3 >> 0] = -17; - $14 = HEAP32[$5 >> 2] | 0; - HEAP32[$5 >> 2] = $14 + 1; - HEAP8[$14 >> 0] = -69; - $16 = HEAP32[$5 >> 2] | 0; - HEAP32[$5 >> 2] = $16 + 1; - HEAP8[$16 >> 0] = -65; - label = 4; - } else label = 4; - L4 : do if ((label | 0) == 4) { - $19 = HEAP32[$2 >> 2] | 0; - while (1) { - if ($19 >>> 0 >= $1 >>> 0) { - $$2 = 0; - break L4; - } - $20 = HEAP32[$19 >> 2] | 0; - if ($20 >>> 0 > $6 >>> 0 | ($20 & -2048 | 0) == 55296) { - $$2 = 2; - break L4; - } - do if ($20 >>> 0 >= 128) { - if ($20 >>> 0 < 2048) { - $32 = HEAP32[$5 >> 2] | 0; - if (($$pre49 - $32 | 0) < 2) { - $$2 = 1; - break L4; - } - HEAP32[$5 >> 2] = $32 + 1; - HEAP8[$32 >> 0] = $20 >>> 6 | 192; - $43 = HEAP32[$5 >> 2] | 0; - HEAP32[$5 >> 2] = $43 + 1; - HEAP8[$43 >> 0] = $20 & 63 | 128; - break; - } - $46 = HEAP32[$5 >> 2] | 0; - $48 = $$pre49 - $46 | 0; - if ($20 >>> 0 < 65536) { - if (($48 | 0) < 3) { - $$2 = 1; - break L4; - } - HEAP32[$5 >> 2] = $46 + 1; - HEAP8[$46 >> 0] = $20 >>> 12 | 224; - $58 = HEAP32[$5 >> 2] | 0; - HEAP32[$5 >> 2] = $58 + 1; - HEAP8[$58 >> 0] = $20 >>> 6 & 63 | 128; - $63 = HEAP32[$5 >> 2] | 0; - HEAP32[$5 >> 2] = $63 + 1; - HEAP8[$63 >> 0] = $20 & 63 | 128; - break; - } else { - if (($48 | 0) < 4) { - $$2 = 1; - break L4; - } - HEAP32[$5 >> 2] = $46 + 1; - HEAP8[$46 >> 0] = $20 >>> 18 | 240; - $74 = HEAP32[$5 >> 2] | 0; - HEAP32[$5 >> 2] = $74 + 1; - HEAP8[$74 >> 0] = $20 >>> 12 & 63 | 128; - $80 = HEAP32[$5 >> 2] | 0; - HEAP32[$5 >> 2] = $80 + 1; - HEAP8[$80 >> 0] = $20 >>> 6 & 63 | 128; - $85 = HEAP32[$5 >> 2] | 0; - HEAP32[$5 >> 2] = $85 + 1; - HEAP8[$85 >> 0] = $20 & 63 | 128; - break; - } - } else { - $25 = HEAP32[$5 >> 2] | 0; - if (($$pre49 - $25 | 0) < 1) { - $$2 = 1; - break L4; - } - HEAP32[$5 >> 2] = $25 + 1; - HEAP8[$25 >> 0] = $20; - } while (0); - $88 = (HEAP32[$2 >> 2] | 0) + 4 | 0; - HEAP32[$2 >> 2] = $88; - $19 = $88; - } - } while (0); - return $$2 | 0; + $call16 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 38879) | 0, 38580) | 0, 39794) | 0, 233) | 0, 39801) | 0, 38930) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i$i3, $call16 + (HEAP32[(HEAP32[$call16 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i$i8 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i$i3, 67360) | 0; + $call$i2$i$i11 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i$i8 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i$i8, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i$i3); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call16, $call$i2$i$i11) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call16) | 0; + _abort(); + } + return +(0.0); } -function _trinkle($0, $1, $2, $3, $4, $5, $6) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - $6 = $6 | 0; - var $$0$lcssa = 0, $$045$lcssa = 0, $$04551 = 0, $$0455780 = 0, $$046$lcssa = 0, $$04653 = 0, $$0465681 = 0, $$047$lcssa = 0, $$0475582 = 0, $$049 = 0, $$05879 = 0, $$05879$phi = 0, $11 = 0, $12 = 0, $16 = 0, $20 = 0, $24 = 0, $27 = 0, $28 = 0, $35 = 0, $37 = 0, $38 = 0, $47 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0; +function __ZN6vision18EstimateHomographyEPfRKNSt3__26vectorINS_12FeaturePointENS1_9allocatorIS3_EEEES8_RKNS2_INS_7match_tENS4_IS9_EEEERNS_16RobustHomographyIfEEii($H, $p1, $p2, $matches, $estimator, $refWidth, $refHeight) { + $H = $H | 0; + $p1 = $p1 | 0; + $p2 = $p2 | 0; + $matches = $matches | 0; + $estimator = $estimator | 0; + $refWidth = $refWidth | 0; + $refHeight = $refHeight | 0; + var $$cast = 0, $10 = 0, $13 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $__end_$i = 0, $conv = 0.0, $conv41 = 0.0, $dstPoints = 0, $i$0 = 0, $retval$0 = 0, $srcPoints = 0, $sub$ptr$div$i30 = 0, $test_points = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 240 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(240); - $7 = sp + 232 | 0; - $8 = sp; - $9 = HEAP32[$3 >> 2] | 0; - HEAP32[$7 >> 2] = $9; - $11 = HEAP32[$3 + 4 >> 2] | 0; - $12 = $7 + 4 | 0; - HEAP32[$12 >> 2] = $11; - HEAP32[$8 >> 2] = $0; - L1 : do if (($9 | 0) != 1 | ($11 | 0) != 0 ? ($16 = 0 - $1 | 0, $20 = $0 + (0 - (HEAP32[$6 + ($4 << 2) >> 2] | 0)) | 0, (FUNCTION_TABLE_iii[$2 & 127]($20, $0) | 0) >= 1) : 0) { - $$0455780 = 1; - $$0465681 = $4; - $$0475582 = ($5 | 0) == 0; - $$05879 = $0; - $28 = $20; - while (1) { - if ($$0475582 & ($$0465681 | 0) > 1) { - $24 = $$05879 + $16 | 0; - $27 = HEAP32[$6 + ($$0465681 + -2 << 2) >> 2] | 0; - if ((FUNCTION_TABLE_iii[$2 & 127]($24, $28) | 0) > -1) { - $$04551 = $$0455780; - $$04653 = $$0465681; - $$049 = $$05879; - label = 10; - break L1; - } - if ((FUNCTION_TABLE_iii[$2 & 127]($24 + (0 - $27) | 0, $28) | 0) > -1) { - $$04551 = $$0455780; - $$04653 = $$0465681; - $$049 = $$05879; - label = 10; - break L1; - } - } - $35 = $$0455780 + 1 | 0; - HEAP32[$8 + ($$0455780 << 2) >> 2] = $28; - $37 = _pntz($7) | 0; - _shr($7, $37); - $38 = $37 + $$0465681 | 0; - if (!((HEAP32[$7 >> 2] | 0) != 1 | (HEAP32[$12 >> 2] | 0) != 0)) { - $$04551 = $35; - $$04653 = $38; - $$049 = $28; - label = 10; - break L1; - } - $47 = $28 + (0 - (HEAP32[$6 + ($38 << 2) >> 2] | 0)) | 0; - if ((FUNCTION_TABLE_iii[$2 & 127]($47, HEAP32[$8 >> 2] | 0) | 0) < 1) { - $$0$lcssa = $28; - $$045$lcssa = $35; - $$046$lcssa = $38; - $$047$lcssa = 0; - label = 9; - break; - } else { - $$05879$phi = $28; - $$0455780 = $35; - $$0465681 = $38; - $$0475582 = 1; - $28 = $47; - $$05879 = $$05879$phi; - } - } - } else { - $$0$lcssa = $0; - $$045$lcssa = 1; - $$046$lcssa = $4; - $$047$lcssa = $5; - label = 9; - } while (0); - if ((label | 0) == 9 ? ($$047$lcssa | 0) == 0 : 0) { - $$04551 = $$045$lcssa; - $$04653 = $$046$lcssa; - $$049 = $$0$lcssa; - label = 10; - } - if ((label | 0) == 10) { - _cycle($1, $8, $$04551); - _sift($$049, $1, $2, $$04653, $6); + STACKTOP = STACKTOP + 64 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(64); + $srcPoints = sp + 44 | 0; + $dstPoints = sp + 32 | 0; + $test_points = sp; + $__end_$i = $matches + 4 | 0; + __ZNSt3__26vectorIN6vision7Point2dIfEENS_9allocatorIS3_EEEC2Em($srcPoints, (HEAP32[$__end_$i >> 2] | 0) - (HEAP32[$matches >> 2] | 0) >> 3); + __ZNSt3__26vectorIN6vision7Point2dIfEENS_9allocatorIS3_EEEC2Em($dstPoints, (HEAP32[$__end_$i >> 2] | 0) - (HEAP32[$matches >> 2] | 0) >> 3); + $5 = HEAP32[$matches >> 2] | 0; + $sub$ptr$div$i30 = (HEAP32[$__end_$i >> 2] | 0) - $5 >> 3; + $$cast = $5; + $6 = HEAP32[$p1 >> 2] | 0; + $7 = HEAP32[$dstPoints >> 2] | 0; + $8 = HEAP32[$p2 >> 2] | 0; + $9 = HEAP32[$srcPoints >> 2] | 0; + $i$0 = 0; + while (1) { + if (($i$0 | 0) == ($sub$ptr$div$i30 | 0)) break; + $10 = HEAP32[$$cast + ($i$0 << 3) >> 2] | 0; + HEAP32[$7 + ($i$0 << 3) >> 2] = HEAP32[$6 + ($10 * 20 | 0) >> 2]; + HEAP32[$7 + ($i$0 << 3) + 4 >> 2] = HEAP32[$6 + ($10 * 20 | 0) + 4 >> 2]; + $13 = HEAP32[$$cast + ($i$0 << 3) + 4 >> 2] | 0; + HEAP32[$9 + ($i$0 << 3) >> 2] = HEAP32[$8 + ($13 * 20 | 0) >> 2]; + HEAP32[$9 + ($i$0 << 3) + 4 >> 2] = HEAP32[$8 + ($13 * 20 | 0) + 4 >> 2]; + $i$0 = $i$0 + 1 | 0; } + HEAPF32[$test_points >> 2] = 0.0; + HEAPF32[$test_points + 4 >> 2] = 0.0; + $conv = +($refWidth | 0); + HEAPF32[$test_points + 8 >> 2] = $conv; + HEAPF32[$test_points + 12 >> 2] = 0.0; + HEAPF32[$test_points + 16 >> 2] = $conv; + $conv41 = +($refHeight | 0); + HEAPF32[$test_points + 20 >> 2] = $conv41; + HEAPF32[$test_points + 24 >> 2] = 0.0; + HEAPF32[$test_points + 28 >> 2] = $conv41; + if (__ZN6vision16RobustHomographyIfE4findEPfPKfS4_iS4_i($estimator, $H, $9, $7, $sub$ptr$div$i30, $test_points, 4) | 0) $retval$0 = __ZN6vision25CheckHomographyHeuristicsEPfii($H, $refWidth, $refHeight) | 0; else $retval$0 = 0; + __ZNSt3__213__vector_baseIN6vision7Point2dIfEENS_9allocatorIS3_EEED2Ev($dstPoints); + __ZNSt3__213__vector_baseIN6vision7Point2dIfEENS_9allocatorIS3_EEED2Ev($srcPoints); STACKTOP = sp; - return; + return $retval$0 | 0; } -function _jinit_upsampler($0) { - $0 = $0 | 0; - var $$08488 = 0, $$089 = 0, $1 = 0, $11 = 0, $14 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $33 = 0, $35 = 0, $4 = 0, $40 = 0, $42 = 0, $43 = 0, $44 = 0, $51 = 0, $54 = 0, $59 = 0, $63 = 0, $72 = 0, $77 = 0, $80 = 0, $82 = 0; - $1 = $0 + 4 | 0; - $4 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[$1 >> 2] >> 2] & 63]($0, 1, 160) | 0; - HEAP32[$0 + 476 >> 2] = $4; - HEAP32[$4 >> 2] = 191; - HEAP32[$4 + 4 >> 2] = 3; - HEAP32[$4 + 8 >> 2] = 0; - if (HEAP32[$0 + 308 >> 2] | 0) { - $11 = HEAP32[$0 >> 2] | 0; - HEAP32[$11 + 20 >> 2] = 26; - FUNCTION_TABLE_vi[HEAP32[$11 >> 2] & 255]($0); - } - $14 = $0 + 36 | 0; - if ((HEAP32[$14 >> 2] | 0) <= 0) return; - $19 = $0 + 324 | 0; - $20 = $0 + 328 | 0; - $21 = $0 + 316 | 0; - $22 = $0 + 320 | 0; - $23 = $4 + 100 | 0; - $24 = $4 + 52 | 0; - $25 = $0 + 112 | 0; - $26 = $4 + 12 | 0; - $27 = $4 + 140 | 0; - $28 = $4 + 150 | 0; - $$08488 = HEAP32[$0 + 216 >> 2] | 0; - $$089 = 0; +function _get_cpara($world, $vertex, $para) { + $world = $world | 0; + $vertex = $vertex | 0; + $para = $para | 0; + var $1 = 0, $18 = 0, $20 = 0, $arrayidx3 = 0, $arrayidx30 = 0, $arrayidx6 = 0, $arrayidx78 = 0, $call = 0, $call1 = 0, $call2 = 0, $i$0 = 0, $i$1 = 0, $mul = 0, $mul112 = 0, $mul97 = 0; + $call = _arMatrixAlloc(8, 8) | 0; + $call1 = _arMatrixAlloc(8, 1) | 0; + $call2 = _arMatrixAlloc(8, 1) | 0; + $i$0 = 0; while (1) { - $33 = Math_imul(HEAP32[$$08488 + 36 >> 2] | 0, HEAP32[$$08488 + 8 >> 2] | 0) | 0; - $35 = ($33 | 0) / (HEAP32[$19 >> 2] | 0) | 0; - $40 = Math_imul(HEAP32[$$08488 + 40 >> 2] | 0, HEAP32[$$08488 + 12 >> 2] | 0) | 0; - $42 = ($40 | 0) / (HEAP32[$20 >> 2] | 0) | 0; - $43 = HEAP32[$21 >> 2] | 0; - $44 = HEAP32[$22 >> 2] | 0; - HEAP32[$23 + ($$089 << 2) >> 2] = $42; - do if (!(HEAP32[$$08488 + 52 >> 2] | 0)) HEAP32[$24 + ($$089 << 2) >> 2] = 11; else { - $51 = ($42 | 0) == ($44 | 0); - if (($35 | 0) == ($43 | 0) & $51) { - HEAP32[$24 + ($$089 << 2) >> 2] = 12; - break; - } - $54 = ($35 << 1 | 0) == ($43 | 0); - do if ($54 & $51) HEAP32[$24 + ($$089 << 2) >> 2] = 13; else { - if ($54 & ($42 << 1 | 0) == ($44 | 0)) { - HEAP32[$24 + ($$089 << 2) >> 2] = 14; - break; - } - $59 = ($43 | 0) / ($35 | 0) | 0; - if (($43 - (Math_imul($59, $35) | 0) | 0) == 0 ? ($63 = ($44 | 0) / ($42 | 0) | 0, ($44 - (Math_imul($63, $42) | 0) | 0) == 0) : 0) { - HEAP32[$24 + ($$089 << 2) >> 2] = 15; - HEAP8[$27 + $$089 >> 0] = $59; - HEAP8[$28 + $$089 >> 0] = $63; - break; - } - $72 = HEAP32[$0 >> 2] | 0; - HEAP32[$72 + 20 >> 2] = 39; - FUNCTION_TABLE_vi[HEAP32[$72 >> 2] & 255]($0); - } while (0); - $77 = HEAP32[(HEAP32[$1 >> 2] | 0) + 8 >> 2] | 0; - $80 = _jround_up(HEAP32[$25 >> 2] | 0, HEAP32[$21 >> 2] | 0) | 0; - $82 = FUNCTION_TABLE_iiiii[$77 & 15]($0, 1, $80, HEAP32[$22 >> 2] | 0) | 0; - HEAP32[$26 + ($$089 << 2) >> 2] = $82; - } while (0); - $$089 = $$089 + 1 | 0; - if (($$089 | 0) >= (HEAP32[$14 >> 2] | 0)) break; else $$08488 = $$08488 + 88 | 0; + if (($i$0 | 0) == 4) break; + $arrayidx3 = $world + ($i$0 << 4) | 0; + $1 = HEAP32[$call >> 2] | 0; + $mul = $i$0 << 4; + HEAPF64[$1 + ($mul << 3) >> 3] = +HEAPF64[$arrayidx3 >> 3]; + $arrayidx6 = $world + ($i$0 << 4) + 8 | 0; + HEAPF64[$1 + (($mul | 1) << 3) >> 3] = +HEAPF64[$arrayidx6 >> 3]; + HEAPF64[$1 + (($mul | 2) << 3) >> 3] = 1.0; + HEAPF64[$1 + (($mul | 3) << 3) >> 3] = 0.0; + HEAPF64[$1 + (($mul | 4) << 3) >> 3] = 0.0; + HEAPF64[$1 + (($mul | 5) << 3) >> 3] = 0.0; + $arrayidx30 = $vertex + ($i$0 << 4) | 0; + HEAPF64[$1 + (($mul | 6) << 3) >> 3] = -(+HEAPF64[$arrayidx3 >> 3] * +HEAPF64[$arrayidx30 >> 3]); + HEAPF64[$1 + (($mul | 7) << 3) >> 3] = -(+HEAPF64[$arrayidx6 >> 3] * +HEAPF64[$arrayidx30 >> 3]); + HEAPF64[$1 + (($mul | 8) << 3) >> 3] = 0.0; + HEAPF64[$1 + (($mul | 9) << 3) >> 3] = 0.0; + HEAPF64[$1 + (($mul | 10) << 3) >> 3] = 0.0; + HEAPF64[$1 + (($mul | 11) << 3) >> 3] = +HEAPF64[$arrayidx3 >> 3]; + HEAPF64[$1 + (($mul | 12) << 3) >> 3] = +HEAPF64[$arrayidx6 >> 3]; + HEAPF64[$1 + (($mul | 13) << 3) >> 3] = 1.0; + $arrayidx78 = $vertex + ($i$0 << 4) + 8 | 0; + HEAPF64[$1 + (($mul | 14) << 3) >> 3] = -(+HEAPF64[$arrayidx3 >> 3] * +HEAPF64[$arrayidx78 >> 3]); + HEAPF64[$1 + (($mul | 15) << 3) >> 3] = -(+HEAPF64[$arrayidx6 >> 3] * +HEAPF64[$arrayidx78 >> 3]); + $18 = HEAP32[$call1 >> 2] | 0; + $mul97 = $i$0 << 1; + HEAPF64[$18 + ($mul97 << 3) >> 3] = +HEAPF64[$arrayidx30 >> 3]; + HEAPF64[$18 + (($mul97 | 1) << 3) >> 3] = +HEAPF64[$arrayidx78 >> 3]; + $i$0 = $i$0 + 1 | 0; } - return; -} - -function _arPattCreateHandle2($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $$043 = 0, $$044 = 0, $12 = 0, $13 = 0, $16 = 0, $17 = 0, $19 = 0, $20 = 0, $23 = 0, $26 = 0, $27 = 0, $28 = 0, $31 = 0, $33 = 0, $34 = 0, $37 = 0, $4 = 0, $9 = 0, $vararg_buffer = 0, $vararg_buffer1 = 0, $vararg_buffer11 = 0, $vararg_buffer13 = 0, $vararg_buffer3 = 0, $vararg_buffer5 = 0, $vararg_buffer7 = 0, $vararg_buffer9 = 0, label = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 64 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(64); - $vararg_buffer13 = sp + 56 | 0; - $vararg_buffer11 = sp + 48 | 0; - $vararg_buffer9 = sp + 40 | 0; - $vararg_buffer7 = sp + 32 | 0; - $vararg_buffer5 = sp + 24 | 0; - $vararg_buffer3 = sp + 16 | 0; - $vararg_buffer1 = sp + 8 | 0; - $vararg_buffer = sp; - L1 : do if (!(($0 + -16 | 0) >>> 0 > 48 | ($1 | 0) < 1)) { - $4 = _malloc(32) | 0; - if (!$4) { - _arLog(0, 3, 45930, $vararg_buffer); - _exit(1); - } - HEAP32[$4 >> 2] = 0; - HEAP32[$4 + 4 >> 2] = $1; - HEAP32[$4 + 28 >> 2] = $0; - $9 = _malloc($1 << 2) | 0; - HEAP32[$4 + 8 >> 2] = $9; - if (!$9) { - _arLog(0, 3, 45930, $vararg_buffer1); - _exit(1); - } - $12 = $1 << 4; - $13 = _malloc($12) | 0; - HEAP32[$4 + 12 >> 2] = $13; - if (!$13) { - _arLog(0, 3, 45930, $vararg_buffer3); - _exit(1); - } - $16 = _malloc($12) | 0; - $17 = $4 + 20 | 0; - HEAP32[$17 >> 2] = $16; - if (!$16) { - _arLog(0, 3, 45930, $vararg_buffer5); - _exit(1); - } - $19 = $1 << 5; - $20 = _malloc($19) | 0; - HEAP32[$4 + 16 >> 2] = $20; - if (!$20) { - _arLog(0, 3, 45930, $vararg_buffer7); - _exit(1); - } - $23 = _malloc($19) | 0; - HEAP32[$4 + 24 >> 2] = $23; - if (!$23) { - _arLog(0, 3, 45930, $vararg_buffer9); - _exit(1); - } - $26 = Math_imul($0, $0) | 0; - $27 = $26 * 12 | 0; - $28 = $26 << 2; - $$043 = 0; - L21 : while (1) { - if (($$043 | 0) >= ($1 | 0)) { - $$044 = $4; + _arMatrixSelfInv($call) | 0; + _arMatrixMul($call2, $call, $call1) | 0; + $20 = HEAP32[$call2 >> 2] | 0; + $i$1 = 0; + while (1) { + if (($i$1 | 0) == 2) break; + $mul112 = $i$1 * 3 | 0; + HEAPF64[$para + ($i$1 * 24 | 0) >> 3] = +HEAPF64[$20 + ($mul112 << 3) >> 3]; + HEAPF64[$para + ($i$1 * 24 | 0) + 8 >> 3] = +HEAPF64[$20 + ($mul112 + 1 << 3) >> 3]; + HEAPF64[$para + ($i$1 * 24 | 0) + 16 >> 3] = +HEAPF64[$20 + ($mul112 + 2 << 3) >> 3]; + $i$1 = $i$1 + 1 | 0; + } + HEAPF64[$para + 48 >> 3] = +HEAPF64[$20 + 48 >> 3]; + HEAPF64[$para + 56 >> 3] = +HEAPF64[$20 + 56 >> 3]; + HEAPF64[$para + 64 >> 3] = 1.0; + _arMatrixFree($call) | 0; + _arMatrixFree($call1) | 0; + _arMatrixFree($call2) | 0; + return; +} + +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E18parseClassEnumTypeEv($this) { + $this = $this | 0; + var $ElabSpef = 0, $agg$tmp = 0, $agg$tmp2 = 0, $agg$tmp7 = 0, $agg$tmp7$byval_copy = 0, $call14 = 0, $retval$0 = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 48 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); + $agg$tmp7$byval_copy = sp + 32 | 0; + $ElabSpef = sp; + $agg$tmp = sp + 24 | 0; + $agg$tmp2 = sp + 16 | 0; + $agg$tmp7 = sp + 8 | 0; + __ZN12_GLOBAL__N_110StringViewC2Ev($ElabSpef); + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, 55870); + HEAP32[$agg$tmp7$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp7$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + do if (!(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($this, $agg$tmp7$byval_copy) | 0)) { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp2, 55880); + HEAP32[$agg$tmp7$byval_copy >> 2] = HEAP32[$agg$tmp2 >> 2]; + HEAP32[$agg$tmp7$byval_copy + 4 >> 2] = HEAP32[$agg$tmp2 + 4 >> 2]; + if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($this, $agg$tmp7$byval_copy) | 0) { + __ZN12_GLOBAL__N_110StringViewC2EPKc($ElabSpef, 55883); + break; + } + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp7, 55889); + HEAP32[$agg$tmp7$byval_copy >> 2] = HEAP32[$agg$tmp7 >> 2]; + HEAP32[$agg$tmp7$byval_copy + 4 >> 2] = HEAP32[$agg$tmp7 + 4 >> 2]; + if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($this, $agg$tmp7$byval_copy) | 0) __ZN12_GLOBAL__N_110StringViewC2EPKc($ElabSpef, 55892); + } else __ZN12_GLOBAL__N_110StringViewC2EPKc($ElabSpef, 55873); while (0); + $call14 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseNameEPNS5_9NameStateE(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0, 0) | 0; + HEAP32[$agg$tmp7$byval_copy >> 2] = $call14; + if ($call14) if (__ZNK12_GLOBAL__N_110StringView5emptyEv($ElabSpef) | 0) $retval$0 = $call14; else $retval$0 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_22ElaboratedTypeSpefTypeEJRNS_10StringViewERPNS0_4NodeEEEESB_DpOT0_($this, $ElabSpef, $agg$tmp7$byval_copy) | 0; else $retval$0 = 0; + STACKTOP = sp; + return $retval$0 | 0; +} + +function ___dynamic_cast($static_ptr, $static_type, $dst_type, $src2dst_offset) { + $static_ptr = $static_ptr | 0; + $static_type = $static_type | 0; + $dst_type = $dst_type | 0; + $src2dst_offset = $src2dst_offset | 0; + var $0 = 0, $2 = 0, $add$ptr = 0, $dst_ptr$0 = 0, $dst_ptr_leading_to_static_ptr = 0, $dst_ptr_not_leading_to_static_ptr = 0, $info = 0, $number_to_dst_ptr = 0, $path_dst_ptr_to_static_ptr = 0, $path_dynamic_ptr_to_dst_ptr = 0, $path_dynamic_ptr_to_static_ptr = 0, dest = 0, sp = 0, stop = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 64 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(64); + $info = sp; + $0 = HEAP32[$static_ptr >> 2] | 0; + $add$ptr = $static_ptr + (HEAP32[$0 + -8 >> 2] | 0) | 0; + $2 = HEAP32[$0 + -4 >> 2] | 0; + HEAP32[$info >> 2] = $dst_type; + HEAP32[$info + 4 >> 2] = $static_ptr; + HEAP32[$info + 8 >> 2] = $static_type; + HEAP32[$info + 12 >> 2] = $src2dst_offset; + $dst_ptr_leading_to_static_ptr = $info + 16 | 0; + $dst_ptr_not_leading_to_static_ptr = $info + 20 | 0; + $path_dst_ptr_to_static_ptr = $info + 24 | 0; + $path_dynamic_ptr_to_static_ptr = $info + 28 | 0; + $path_dynamic_ptr_to_dst_ptr = $info + 32 | 0; + $number_to_dst_ptr = $info + 40 | 0; + dest = $dst_ptr_leading_to_static_ptr; + stop = dest + 36 | 0; + do { + HEAP32[dest >> 2] = 0; + dest = dest + 4 | 0; + } while ((dest | 0) < (stop | 0)); + HEAP16[$dst_ptr_leading_to_static_ptr + 36 >> 1] = 0; + HEAP8[$dst_ptr_leading_to_static_ptr + 38 >> 0] = 0; + L1 : do if (__ZL8is_equalPKSt9type_infoS1_b($2, $dst_type, 0) | 0) { + HEAP32[$info + 48 >> 2] = 1; + FUNCTION_TABLE_viiiiii[HEAP32[(HEAP32[$2 >> 2] | 0) + 20 >> 2] & 7]($2, $info, $add$ptr, $add$ptr, 1, 0); + $dst_ptr$0 = (HEAP32[$path_dst_ptr_to_static_ptr >> 2] | 0) == 1 ? $add$ptr : 0; + } else { + FUNCTION_TABLE_viiiii[HEAP32[(HEAP32[$2 >> 2] | 0) + 24 >> 2] & 63]($2, $info, $add$ptr, 1, 0); + switch (HEAP32[$info + 36 >> 2] | 0) { + case 0: + { + $dst_ptr$0 = (HEAP32[$number_to_dst_ptr >> 2] | 0) == 1 & (HEAP32[$path_dynamic_ptr_to_static_ptr >> 2] | 0) == 1 & (HEAP32[$path_dynamic_ptr_to_dst_ptr >> 2] | 0) == 1 ? HEAP32[$dst_ptr_not_leading_to_static_ptr >> 2] | 0 : 0; break L1; + break; } - HEAP32[$9 + ($$043 << 2) >> 2] = 0; - $31 = $$043 << 2; - $$0 = 0; - while (1) { - if ($$0 >>> 0 >= 4) break; - $33 = _malloc($27) | 0; - $34 = $$0 + $31 | 0; - HEAP32[$13 + ($34 << 2) >> 2] = $33; - if (!$33) { - label = 19; - break L21; - } - $37 = _malloc($28) | 0; - HEAP32[(HEAP32[$17 >> 2] | 0) + ($34 << 2) >> 2] = $37; - if (!$37) { - label = 21; - break L21; - } else $$0 = $$0 + 1 | 0; + case 1: + break; + default: + { + $dst_ptr$0 = 0; + break L1; } - $$043 = $$043 + 1 | 0; } - if ((label | 0) == 19) { - _arLog(0, 3, 45930, $vararg_buffer11); - _exit(1); - } else if ((label | 0) == 21) { - _arLog(0, 3, 45930, $vararg_buffer13); - _exit(1); + if ((HEAP32[$path_dst_ptr_to_static_ptr >> 2] | 0) != 1 ? !((HEAP32[$number_to_dst_ptr >> 2] | 0) == 0 & (HEAP32[$path_dynamic_ptr_to_static_ptr >> 2] | 0) == 1 & (HEAP32[$path_dynamic_ptr_to_dst_ptr >> 2] | 0) == 1) : 0) { + $dst_ptr$0 = 0; + break; } - } else $$044 = 0; while (0); + $dst_ptr$0 = HEAP32[$dst_ptr_leading_to_static_ptr >> 2] | 0; + } while (0); STACKTOP = sp; - return $$044 | 0; + return $dst_ptr$0 | 0; } -function __ZNKSt3__27num_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_putES4_RNS_8ios_baseEwb($0, $1, $2, $3, $4) { +function __ZNKSt3__27num_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_putES4_RNS_8ios_baseEwx($this, $__s, $__iob, $__fl, $0, $1) { + $this = $this | 0; + $__s = $__s | 0; + $__iob = $__iob | 0; + $__fl = $__fl | 0; $0 = $0 | 0; $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $$0$i$i = 0, $$byval_copy = 0, $$sroa$0$0 = 0, $$sroa$0$0$copyload = 0, $$sroa$09$0 = 0, $12 = 0, $16 = 0, $17 = 0, $23 = 0, $24 = 0, $26 = 0, $28 = 0, $29 = 0, $30 = 0, $34 = 0, $38 = 0, $39 = 0, $41 = 0, $42 = 0, $48 = 0, $49 = 0, $5 = 0, sp = 0; + var $14 = 0, $15 = 0, $2 = 0, $8 = 0, $9 = 0, $__fmt = 0, $__fmtflags_$i = 0, $__oe = 0, $__op = 0, $add$ptr7 = 0, $add3 = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, $and$lobit = 0, $call11 = 0, $call4 = 0, $call8 = 0, $vla = 0, $vla$alloca_mul = 0, $vla10 = 0, $vla10$alloca_mul = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy = sp + 4 | 0; - $5 = sp; - if (!(HEAP32[$2 + 4 >> 2] & 1)) { - $12 = HEAP32[(HEAP32[$0 >> 2] | 0) + 24 >> 2] | 0; - HEAP32[$5 >> 2] = HEAP32[$1 >> 2]; - HEAP32[$$byval_copy >> 2] = HEAP32[$5 >> 2]; - $$sroa$0$0 = FUNCTION_TABLE_iiiiii[$12 & 31]($0, $$byval_copy, $2, $3, $4 & 1) | 0; - } else { - __ZNKSt3__28ios_base6getlocEv($$byval_copy, $2); - $16 = __ZNKSt3__26locale9use_facetERNS0_2idE($$byval_copy, 66552) | 0; - __ZNSt3__26localeD2Ev($$byval_copy); - $17 = HEAP32[$16 >> 2] | 0; - if ($4) FUNCTION_TABLE_vii[HEAP32[$17 + 24 >> 2] & 255]($$byval_copy, $16); else FUNCTION_TABLE_vii[HEAP32[$17 + 28 >> 2] & 255]($$byval_copy, $16); - $23 = $$byval_copy + 8 + 3 | 0; - $24 = HEAP8[$23 >> 0] | 0; - $26 = HEAP32[$$byval_copy >> 2] | 0; - $28 = $$byval_copy + 4 | 0; - $$sroa$09$0 = $24 << 24 >> 24 < 0 ? $26 : $$byval_copy; - $30 = $24; - $34 = $26; - while (1) { - $29 = $30 << 24 >> 24 < 0; - if (($$sroa$09$0 | 0) == (($29 ? $34 : $$byval_copy) + (($29 ? HEAP32[$28 >> 2] | 0 : $30 & 255) << 2) | 0)) break; - $38 = HEAP32[$$sroa$09$0 >> 2] | 0; - $39 = HEAP32[$1 >> 2] | 0; - if ($39 | 0) { - $41 = $39 + 24 | 0; - $42 = HEAP32[$41 >> 2] | 0; - if (($42 | 0) == (HEAP32[$39 + 28 >> 2] | 0)) { - $48 = HEAP32[(HEAP32[$39 >> 2] | 0) + 52 >> 2] | 0; - $49 = __ZNSt3__211char_traitsIwE11to_int_typeEw($38) | 0; - $$0$i$i = FUNCTION_TABLE_iii[$48 & 127]($39, $49) | 0; - } else { - HEAP32[$41 >> 2] = $42 + 4; - HEAP32[$42 >> 2] = $38; - $$0$i$i = __ZNSt3__211char_traitsIwE11to_int_typeEw($38) | 0; - } - if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj($$0$i$i, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) HEAP32[$1 >> 2] = 0; - } - $$sroa$09$0 = $$sroa$09$0 + 4 | 0; - $30 = HEAP8[$23 >> 0] | 0; - $34 = HEAP32[$$byval_copy >> 2] | 0; - } - $$sroa$0$0$copyload = HEAP32[$1 >> 2] | 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev($$byval_copy); - $$sroa$0$0 = $$sroa$0$0$copyload; - } + STACKTOP = STACKTOP + 32 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); + $agg$tmp$byval_copy = sp + 8 | 0; + $__fmt = sp; + $__op = sp + 24 | 0; + $__oe = sp + 16 | 0; + $agg$tmp = sp + 20 | 0; + $2 = $__fmt; + HEAP32[$2 >> 2] = 37; + HEAP32[$2 + 4 >> 2] = 0; + $__fmtflags_$i = $__iob + 4 | 0; + __ZNSt3__214__num_put_base12__format_intEPcPKcbj($__fmt + 1 | 0, 60028, 1, HEAP32[$__fmtflags_$i >> 2] | 0); + $and$lobit = (HEAP32[$__fmtflags_$i >> 2] | 0) >>> 9 & 1; + $add3 = $and$lobit + 23 | 0; + $8 = _llvm_stacksave() | 0; + $vla$alloca_mul = $add3; + $vla = STACKTOP; + STACKTOP = STACKTOP + ((1 * $vla$alloca_mul | 0) + 15 & -16) | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow((1 * $vla$alloca_mul | 0) + 15 & -16 | 0); + $call4 = __ZNSt3__26__clocEv() | 0; + $9 = $agg$tmp$byval_copy; + HEAP32[$9 >> 2] = $0; + HEAP32[$9 + 4 >> 2] = $1; + $add$ptr7 = $vla + (__ZNSt3__219__libcpp_snprintf_lEPcmP15__locale_structPKcz($vla, $add3, $call4, $__fmt, $agg$tmp$byval_copy) | 0) | 0; + $call8 = __ZNSt3__214__num_put_base18__identify_paddingEPcS1_RKNS_8ios_baseE($vla, $add$ptr7, $__iob) | 0; + $vla10$alloca_mul = ($and$lobit << 1 | 44) + -1 << 2; + $vla10 = STACKTOP; + STACKTOP = STACKTOP + ((1 * $vla10$alloca_mul | 0) + 15 & -16) | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow((1 * $vla10$alloca_mul | 0) + 15 & -16 | 0); + __ZNKSt3__28ios_base6getlocEv($agg$tmp$byval_copy, $__iob); + __ZNSt3__29__num_putIwE21__widen_and_group_intEPcS2_S2_PwRS3_S4_RKNS_6localeE($vla, $call8, $add$ptr7, $vla10, $__op, $__oe, $agg$tmp$byval_copy); + __ZNSt3__26localeD2Ev($agg$tmp$byval_copy); + HEAP32[$agg$tmp >> 2] = HEAP32[$__s >> 2]; + $14 = HEAP32[$__op >> 2] | 0; + $15 = HEAP32[$__oe >> 2] | 0; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + $call11 = __ZNSt3__216__pad_and_outputIwNS_11char_traitsIwEEEENS_19ostreambuf_iteratorIT_T0_EES6_PKS4_S8_S8_RNS_8ios_baseES4_($agg$tmp$byval_copy, $vla10, $14, $15, $__iob, $__fl) | 0; + _llvm_stackrestore($8 | 0); STACKTOP = sp; - return $$sroa$0$0 | 0; + return $call11 | 0; } -function __ZNKSt3__27num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_putES4_RNS_8ios_baseEcb($0, $1, $2, $3, $4) { +function __ZNKSt3__27num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_putES4_RNS_8ios_baseEcx($this, $__s, $__iob, $__fl, $0, $1) { + $this = $this | 0; + $__s = $__s | 0; + $__iob = $__iob | 0; + $__fl = $__fl | 0; $0 = $0 | 0; $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $$0$i$i = 0, $$byval_copy = 0, $$sroa$0$0 = 0, $$sroa$0$0$copyload = 0, $$sroa$09$0 = 0, $12 = 0, $16 = 0, $17 = 0, $22 = 0, $23 = 0, $25 = 0, $27 = 0, $28 = 0, $29 = 0, $33 = 0, $37 = 0, $38 = 0, $40 = 0, $41 = 0, $47 = 0, $48 = 0, $5 = 0, sp = 0; + var $14 = 0, $15 = 0, $2 = 0, $8 = 0, $9 = 0, $__fmt = 0, $__fmtflags_$i = 0, $__oe = 0, $__op = 0, $add$ptr7 = 0, $add3 = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, $and$lobit = 0, $call11 = 0, $call4 = 0, $call8 = 0, $vla = 0, $vla$alloca_mul = 0, $vla10 = 0, $vla10$alloca_mul = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 32 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); + $agg$tmp$byval_copy = sp + 8 | 0; + $__fmt = sp; + $__op = sp + 24 | 0; + $__oe = sp + 16 | 0; + $agg$tmp = sp + 20 | 0; + $2 = $__fmt; + HEAP32[$2 >> 2] = 37; + HEAP32[$2 + 4 >> 2] = 0; + $__fmtflags_$i = $__iob + 4 | 0; + __ZNSt3__214__num_put_base12__format_intEPcPKcbj($__fmt + 1 | 0, 60028, 1, HEAP32[$__fmtflags_$i >> 2] | 0); + $and$lobit = (HEAP32[$__fmtflags_$i >> 2] | 0) >>> 9 & 1; + $add3 = $and$lobit + 23 | 0; + $8 = _llvm_stacksave() | 0; + $vla$alloca_mul = $add3; + $vla = STACKTOP; + STACKTOP = STACKTOP + ((1 * $vla$alloca_mul | 0) + 15 & -16) | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow((1 * $vla$alloca_mul | 0) + 15 & -16 | 0); + $call4 = __ZNSt3__26__clocEv() | 0; + $9 = $agg$tmp$byval_copy; + HEAP32[$9 >> 2] = $0; + HEAP32[$9 + 4 >> 2] = $1; + $add$ptr7 = $vla + (__ZNSt3__219__libcpp_snprintf_lEPcmP15__locale_structPKcz($vla, $add3, $call4, $__fmt, $agg$tmp$byval_copy) | 0) | 0; + $call8 = __ZNSt3__214__num_put_base18__identify_paddingEPcS1_RKNS_8ios_baseE($vla, $add$ptr7, $__iob) | 0; + $vla10$alloca_mul = ($and$lobit << 1 | 44) + -1 | 0; + $vla10 = STACKTOP; + STACKTOP = STACKTOP + ((1 * $vla10$alloca_mul | 0) + 15 & -16) | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow((1 * $vla10$alloca_mul | 0) + 15 & -16 | 0); + __ZNKSt3__28ios_base6getlocEv($agg$tmp$byval_copy, $__iob); + __ZNSt3__29__num_putIcE21__widen_and_group_intEPcS2_S2_S2_RS2_S3_RKNS_6localeE($vla, $call8, $add$ptr7, $vla10, $__op, $__oe, $agg$tmp$byval_copy); + __ZNSt3__26localeD2Ev($agg$tmp$byval_copy); + HEAP32[$agg$tmp >> 2] = HEAP32[$__s >> 2]; + $14 = HEAP32[$__op >> 2] | 0; + $15 = HEAP32[$__oe >> 2] | 0; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + $call11 = __ZNSt3__216__pad_and_outputIcNS_11char_traitsIcEEEENS_19ostreambuf_iteratorIT_T0_EES6_PKS4_S8_S8_RNS_8ios_baseES4_($agg$tmp$byval_copy, $vla10, $14, $15, $__iob, $__fl) | 0; + _llvm_stackrestore($8 | 0); + STACKTOP = sp; + return $call11 | 0; +} + +function _ar2GenImageLayer2($src, $dpi) { + $src = $src | 0; + $dpi = +$dpi; + var $1 = 0.0, $3 = 0.0, $4 = 0, $5 = 0.0, $6 = 0, $add = 0, $add48 = 0, $add75 = 0, $call = 0, $call14 = 0, $call26 = 0, $call31 = 0, $call47 = 0, $call53 = 0, $call6 = 0, $call7 = 0, $co$0 = 0, $co$1 = 0, $dpi1 = 0, $ii$0 = 0, $iii$0 = 0, $jj$0 = 0, $jjj$0 = 0, $p1$0 = 0, $p2$0 = 0, $p2$1 = 0, $spec$select = 0, $spec$select58 = 0, $value$0 = 0, $value$1 = 0, $xsize = 0, $ysize = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy = sp + 4 | 0; - $5 = sp; - if (!(HEAP32[$2 + 4 >> 2] & 1)) { - $12 = HEAP32[(HEAP32[$0 >> 2] | 0) + 24 >> 2] | 0; - HEAP32[$5 >> 2] = HEAP32[$1 >> 2]; - HEAP32[$$byval_copy >> 2] = HEAP32[$5 >> 2]; - $$sroa$0$0 = FUNCTION_TABLE_iiiiii[$12 & 31]($0, $$byval_copy, $2, $3, $4 & 1) | 0; - } else { - __ZNKSt3__28ios_base6getlocEv($$byval_copy, $2); - $16 = __ZNKSt3__26locale9use_facetERNS0_2idE($$byval_copy, 66528) | 0; - __ZNSt3__26localeD2Ev($$byval_copy); - $17 = HEAP32[$16 >> 2] | 0; - if ($4) FUNCTION_TABLE_vii[HEAP32[$17 + 24 >> 2] & 255]($$byval_copy, $16); else FUNCTION_TABLE_vii[HEAP32[$17 + 28 >> 2] & 255]($$byval_copy, $16); - $22 = $$byval_copy + 11 | 0; - $23 = HEAP8[$22 >> 0] | 0; - $25 = HEAP32[$$byval_copy >> 2] | 0; - $27 = $$byval_copy + 4 | 0; - $$sroa$09$0 = $23 << 24 >> 24 < 0 ? $25 : $$byval_copy; - $29 = $23; - $33 = $25; + $xsize = $src + 4 | 0; + $dpi1 = $src + 12 | 0; + $1 = +HEAPF32[$dpi1 >> 2]; + $call = _lroundf(+(HEAP32[$xsize >> 2] | 0) * $dpi / $1) | 0; + $ysize = $src + 8 | 0; + $call6 = _lroundf(+(HEAP32[$ysize >> 2] | 0) * $dpi / $1) | 0; + $call7 = _malloc(16) | 0; + if (!$call7) { + _arLog(0, 3, 46772, sp); + _exit(1); + } + HEAP32[$call7 + 4 >> 2] = $call; + HEAP32[$call7 + 8 >> 2] = $call6; + HEAPF32[$call7 + 12 >> 2] = $dpi; + $call14 = _malloc(Math_imul($call6, $call) | 0) | 0; + HEAP32[$call7 >> 2] = $call14; + if (!$call14) { + _arLog(0, 3, 46772, sp + 8 | 0); + _exit(1); + } + $jj$0 = 0; + $p2$0 = $call14; + while (1) { + if (($jj$0 | 0) >= ($call6 | 0)) break; + $3 = +HEAPF32[$dpi1 >> 2]; + $call26 = _lroundf($3 * +($jj$0 | 0) / $dpi) | 0; + $add = $jj$0 + 1 | 0; + $call31 = _lroundf($3 * +($add | 0) / $dpi) | 0; + $4 = HEAP32[$ysize >> 2] | 0; + $spec$select = ($call31 | 0) > ($4 | 0) ? $4 : $call31; + $ii$0 = 0; + $p2$1 = $p2$0; while (1) { - $28 = $29 << 24 >> 24 < 0; - if (($$sroa$09$0 | 0) == (($28 ? $33 : $$byval_copy) + ($28 ? HEAP32[$27 >> 2] | 0 : $29 & 255) | 0)) break; - $37 = HEAP8[$$sroa$09$0 >> 0] | 0; - $38 = HEAP32[$1 >> 2] | 0; - if ($38 | 0) { - $40 = $38 + 24 | 0; - $41 = HEAP32[$40 >> 2] | 0; - if (($41 | 0) == (HEAP32[$38 + 28 >> 2] | 0)) { - $47 = HEAP32[(HEAP32[$38 >> 2] | 0) + 52 >> 2] | 0; - $48 = __ZNSt3__211char_traitsIcE11to_int_typeEc($37) | 0; - $$0$i$i = FUNCTION_TABLE_iii[$47 & 127]($38, $48) | 0; - } else { - HEAP32[$40 >> 2] = $41 + 1; - HEAP8[$41 >> 0] = $37; - $$0$i$i = __ZNSt3__211char_traitsIcE11to_int_typeEc($37) | 0; + if (($ii$0 | 0) >= ($call | 0)) break; + $5 = +HEAPF32[$dpi1 >> 2]; + $call47 = _lroundf($5 * +($ii$0 | 0) / $dpi) | 0; + $add48 = $ii$0 + 1 | 0; + $call53 = _lroundf($5 * +($add48 | 0) / $dpi) | 0; + $6 = HEAP32[$xsize >> 2] | 0; + $spec$select58 = ($call53 | 0) > ($6 | 0) ? $6 : $call53; + $co$0 = 0; + $jjj$0 = $call26; + $value$0 = 0; + while (1) { + if (($jjj$0 | 0) >= ($spec$select | 0)) break; + $co$1 = $co$0; + $iii$0 = $call47; + $p1$0 = (HEAP32[$src >> 2] | 0) + ((Math_imul($jjj$0, $6) | 0) + $call47) | 0; + $value$1 = $value$0; + while (1) { + if (($iii$0 | 0) >= ($spec$select58 | 0)) break; + $add75 = $value$1 + (HEAPU8[$p1$0 >> 0] | 0) | 0; + $co$1 = $co$1 + 1 | 0; + $iii$0 = $iii$0 + 1 | 0; + $p1$0 = $p1$0 + 1 | 0; + $value$1 = $add75; } - if (__ZNSt3__211char_traitsIcE11eq_int_typeEii($$0$i$i, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) HEAP32[$1 >> 2] = 0; + $co$0 = $co$1; + $jjj$0 = $jjj$0 + 1 | 0; + $value$0 = $value$1; } - $$sroa$09$0 = $$sroa$09$0 + 1 | 0; - $29 = HEAP8[$22 >> 0] | 0; - $33 = HEAP32[$$byval_copy >> 2] | 0; + HEAP8[$p2$1 >> 0] = ($value$0 | 0) / ($co$0 | 0) | 0; + $ii$0 = $add48; + $p2$1 = $p2$1 + 1 | 0; } - $$sroa$0$0$copyload = HEAP32[$1 >> 2] | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($$byval_copy); - $$sroa$0$0 = $$sroa$0$0$copyload; + $jj$0 = $add; + $p2$0 = $p2$1; } STACKTOP = sp; - return $$sroa$0$0 | 0; + return $call7 | 0; } -function _start_pass_main($0, $1) { +function __ZNKSt3__27num_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_putES4_RNS_8ios_baseEwy($this, $__s, $__iob, $__fl, $0, $1) { + $this = $this | 0; + $__s = $__s | 0; + $__iob = $__iob | 0; + $__fl = $__fl | 0; $0 = $0 | 0; $1 = $1 | 0; - var $$06870$i = 0, $$06979$i = 0, $$080$i = 0, $$171$i = 0, $$275$i = 0, $11 = 0, $13 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $26 = 0, $29 = 0, $3 = 0, $32 = 0, $34 = 0, $35 = 0, $38 = 0, $42 = 0, $44 = 0, $45 = 0, $46 = 0, $49 = 0, $70 = 0, $9 = 0; - $3 = HEAP32[$0 + 448 >> 2] | 0; - switch ($1 | 0) { - case 0: - { - $9 = $3 + 4 | 0; - if (!(HEAP32[(HEAP32[$0 + 476 >> 2] | 0) + 8 >> 2] | 0)) { - HEAP32[$9 >> 2] = 17; - HEAP32[$3 + 48 >> 2] = HEAP32[$3 + 52 >> 2]; - return; - } - HEAP32[$9 >> 2] = 16; - $11 = HEAP32[$0 + 328 >> 2] | 0; - $13 = HEAP32[$0 + 36 >> 2] | 0; - if (($13 | 0) > 0) { - $17 = $3 + 60 | 0; - $18 = $3 + 64 | 0; - $19 = $11 + 2 | 0; - $20 = $11 + -2 | 0; - $$06979$i = HEAP32[$0 + 216 >> 2] | 0; - $$080$i = 0; - while (1) { - $26 = (Math_imul(HEAP32[$$06979$i + 40 >> 2] | 0, HEAP32[$$06979$i + 12 >> 2] | 0) | 0) / ($11 | 0) | 0; - $29 = HEAP32[(HEAP32[$17 >> 2] | 0) + ($$080$i << 2) >> 2] | 0; - $32 = HEAP32[(HEAP32[$18 >> 2] | 0) + ($$080$i << 2) >> 2] | 0; - $34 = HEAP32[$3 + 8 + ($$080$i << 2) >> 2] | 0; - $35 = Math_imul($26, $19) | 0; - if (($35 | 0) > 0) { - $$06870$i = 0; - do { - $38 = HEAP32[$34 + ($$06870$i << 2) >> 2] | 0; - HEAP32[$32 + ($$06870$i << 2) >> 2] = $38; - HEAP32[$29 + ($$06870$i << 2) >> 2] = $38; - $$06870$i = $$06870$i + 1 | 0; - } while (($$06870$i | 0) != ($35 | 0)); - } - $42 = $26 << 1; - if (($26 | 0) > 0) { - $44 = Math_imul($26, $11) | 0; - $45 = Math_imul($26, $20) | 0; - $$171$i = 0; - do { - $46 = $$171$i + $44 | 0; - $49 = $$171$i + $45 | 0; - HEAP32[$32 + ($49 << 2) >> 2] = HEAP32[$34 + ($46 << 2) >> 2]; - HEAP32[$32 + ($46 << 2) >> 2] = HEAP32[$34 + ($49 << 2) >> 2]; - $$171$i = $$171$i + 1 | 0; - } while (($$171$i | 0) < ($42 | 0)); - $$275$i = 0; - do { - HEAP32[$29 + ($$275$i - $26 << 2) >> 2] = HEAP32[$29 >> 2]; - $$275$i = $$275$i + 1 | 0; - } while (($$275$i | 0) != ($26 | 0)); - } - $$080$i = $$080$i + 1 | 0; - if (($$080$i | 0) == ($13 | 0)) break; else $$06979$i = $$06979$i + 88 | 0; - } - } - HEAP32[$3 + 68 >> 2] = 0; - HEAP32[$3 + 72 >> 2] = 0; - HEAP32[$3 + 76 >> 2] = 0; - HEAP32[$3 + 56 >> 2] = 0; - return; - } - case 2: - { - HEAP32[$3 + 4 >> 2] = 18; - return; - } - default: - { - $70 = HEAP32[$0 >> 2] | 0; - HEAP32[$70 + 20 >> 2] = 3; - FUNCTION_TABLE_vi[HEAP32[$70 >> 2] & 255]($0); - return; - } - } + var $14 = 0, $15 = 0, $2 = 0, $8 = 0, $9 = 0, $__fmt = 0, $__fmtflags_$i = 0, $__oe = 0, $__op = 0, $add = 0, $add$ptr7 = 0, $add3 = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, $call11 = 0, $call4 = 0, $call8 = 0, $vla = 0, $vla$alloca_mul = 0, $vla10 = 0, $vla10$alloca_mul = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 32 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); + $agg$tmp$byval_copy = sp + 8 | 0; + $__fmt = sp; + $__op = sp + 24 | 0; + $__oe = sp + 16 | 0; + $agg$tmp = sp + 20 | 0; + $2 = $__fmt; + HEAP32[$2 >> 2] = 37; + HEAP32[$2 + 4 >> 2] = 0; + $__fmtflags_$i = $__iob + 4 | 0; + __ZNSt3__214__num_put_base12__format_intEPcPKcbj($__fmt + 1 | 0, 60028, 0, HEAP32[$__fmtflags_$i >> 2] | 0); + $add = (HEAP32[$__fmtflags_$i >> 2] | 0) >>> 9 & 1 | 22; + $add3 = $add + 1 | 0; + $8 = _llvm_stacksave() | 0; + $vla$alloca_mul = $add3; + $vla = STACKTOP; + STACKTOP = STACKTOP + ((1 * $vla$alloca_mul | 0) + 15 & -16) | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow((1 * $vla$alloca_mul | 0) + 15 & -16 | 0); + $call4 = __ZNSt3__26__clocEv() | 0; + $9 = $agg$tmp$byval_copy; + HEAP32[$9 >> 2] = $0; + HEAP32[$9 + 4 >> 2] = $1; + $add$ptr7 = $vla + (__ZNSt3__219__libcpp_snprintf_lEPcmP15__locale_structPKcz($vla, $add3, $call4, $__fmt, $agg$tmp$byval_copy) | 0) | 0; + $call8 = __ZNSt3__214__num_put_base18__identify_paddingEPcS1_RKNS_8ios_baseE($vla, $add$ptr7, $__iob) | 0; + $vla10$alloca_mul = ($add << 1) + -1 << 2; + $vla10 = STACKTOP; + STACKTOP = STACKTOP + ((1 * $vla10$alloca_mul | 0) + 15 & -16) | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow((1 * $vla10$alloca_mul | 0) + 15 & -16 | 0); + __ZNKSt3__28ios_base6getlocEv($agg$tmp$byval_copy, $__iob); + __ZNSt3__29__num_putIwE21__widen_and_group_intEPcS2_S2_PwRS3_S4_RKNS_6localeE($vla, $call8, $add$ptr7, $vla10, $__op, $__oe, $agg$tmp$byval_copy); + __ZNSt3__26localeD2Ev($agg$tmp$byval_copy); + HEAP32[$agg$tmp >> 2] = HEAP32[$__s >> 2]; + $14 = HEAP32[$__op >> 2] | 0; + $15 = HEAP32[$__oe >> 2] | 0; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + $call11 = __ZNSt3__216__pad_and_outputIwNS_11char_traitsIwEEEENS_19ostreambuf_iteratorIT_T0_EES6_PKS4_S8_S8_RNS_8ios_baseES4_($agg$tmp$byval_copy, $vla10, $14, $15, $__iob, $__fl) | 0; + _llvm_stackrestore($8 | 0); + STACKTOP = sp; + return $call11 | 0; } -function __ZNSt3__211__sift_downIRNS_4lessIN6vision17PriorityQueueItemILi96EEEEENS_11__wrap_iterIPS4_EEEEvT0_SA_T_NS_15iterator_traitsISA_E15difference_typeESA_($0, $1, $2, $3, $4) { +function __ZNKSt3__27num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_putES4_RNS_8ios_baseEcy($this, $__s, $__iob, $__fl, $0, $1) { + $this = $this | 0; + $__s = $__s | 0; + $__iob = $__iob | 0; + $__fl = $__fl | 0; $0 = $0 | 0; $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $$0 = 0, $$1 = 0, $$2 = 0, $$sroa$024$0 = 0, $$sroa$024$1 = 0, $$sroa$024$2 = 0, $10 = 0, $11 = 0, $12 = 0, $15 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $23 = 0, $24 = 0, $29 = 0, $34 = 0, $35 = 0, $40 = 0, $45 = 0, $46 = 0, $47 = 0, $5 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $58 = 0, $59 = 0, $6 = 0, $64 = 0, $69 = 0, $7 = 0, $70 = 0, $8 = 0, sp = 0, $47$looptemp = 0; + var $14 = 0, $15 = 0, $2 = 0, $8 = 0, $9 = 0, $__fmt = 0, $__fmtflags_$i = 0, $__oe = 0, $__op = 0, $add = 0, $add$ptr7 = 0, $add3 = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, $call11 = 0, $call4 = 0, $call8 = 0, $vla = 0, $vla$alloca_mul = 0, $vla10 = 0, $vla10$alloca_mul = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $5 = sp; - $6 = HEAP32[$4 >> 2] | 0; - $7 = HEAP32[$0 >> 2] | 0; - $8 = $6 - $7 | 0; - $10 = $7; - $11 = $6; - $12 = $6; - if (($3 | 0) >= 2 ? ($15 = ($3 + -2 | 0) / 2 | 0, ($15 | 0) >= ($8 >> 3 | 0)) : 0) { - $18 = $8 >> 2 | 1; - $19 = $10 + ($18 << 3) | 0; - $20 = $19; - $21 = $18 + 1 | 0; - if (($21 | 0) < ($3 | 0)) { - $23 = $19 + 8 | 0; - $24 = __ZNK6vision17PriorityQueueItemILi96EEltERKS1_($19, $23) | 0; - $$0 = $24 ? $21 : $18; - $$sroa$024$0 = $24 ? $23 : $20; - } else { - $$0 = $18; - $$sroa$024$0 = $20; - } - if (!(__ZNK6vision17PriorityQueueItemILi96EEltERKS1_($$sroa$024$0, $11) | 0)) { - $29 = $6; - $34 = HEAP32[$29 + 4 >> 2] | 0; - $35 = $5; - HEAP32[$35 >> 2] = HEAP32[$29 >> 2]; - HEAP32[$35 + 4 >> 2] = $34; - $$1 = $$0; - $$sroa$024$1 = $$sroa$024$0; - $47 = $12; + STACKTOP = STACKTOP + 32 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); + $agg$tmp$byval_copy = sp + 8 | 0; + $__fmt = sp; + $__op = sp + 24 | 0; + $__oe = sp + 16 | 0; + $agg$tmp = sp + 20 | 0; + $2 = $__fmt; + HEAP32[$2 >> 2] = 37; + HEAP32[$2 + 4 >> 2] = 0; + $__fmtflags_$i = $__iob + 4 | 0; + __ZNSt3__214__num_put_base12__format_intEPcPKcbj($__fmt + 1 | 0, 60028, 0, HEAP32[$__fmtflags_$i >> 2] | 0); + $add = (HEAP32[$__fmtflags_$i >> 2] | 0) >>> 9 & 1 | 22; + $add3 = $add + 1 | 0; + $8 = _llvm_stacksave() | 0; + $vla$alloca_mul = $add3; + $vla = STACKTOP; + STACKTOP = STACKTOP + ((1 * $vla$alloca_mul | 0) + 15 & -16) | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow((1 * $vla$alloca_mul | 0) + 15 & -16 | 0); + $call4 = __ZNSt3__26__clocEv() | 0; + $9 = $agg$tmp$byval_copy; + HEAP32[$9 >> 2] = $0; + HEAP32[$9 + 4 >> 2] = $1; + $add$ptr7 = $vla + (__ZNSt3__219__libcpp_snprintf_lEPcmP15__locale_structPKcz($vla, $add3, $call4, $__fmt, $agg$tmp$byval_copy) | 0) | 0; + $call8 = __ZNSt3__214__num_put_base18__identify_paddingEPcS1_RKNS_8ios_baseE($vla, $add$ptr7, $__iob) | 0; + $vla10$alloca_mul = ($add << 1) + -1 | 0; + $vla10 = STACKTOP; + STACKTOP = STACKTOP + ((1 * $vla10$alloca_mul | 0) + 15 & -16) | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow((1 * $vla10$alloca_mul | 0) + 15 & -16 | 0); + __ZNKSt3__28ios_base6getlocEv($agg$tmp$byval_copy, $__iob); + __ZNSt3__29__num_putIcE21__widen_and_group_intEPcS2_S2_S2_RS2_S3_RKNS_6localeE($vla, $call8, $add$ptr7, $vla10, $__op, $__oe, $agg$tmp$byval_copy); + __ZNSt3__26localeD2Ev($agg$tmp$byval_copy); + HEAP32[$agg$tmp >> 2] = HEAP32[$__s >> 2]; + $14 = HEAP32[$__op >> 2] | 0; + $15 = HEAP32[$__oe >> 2] | 0; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + $call11 = __ZNSt3__216__pad_and_outputIcNS_11char_traitsIcEEEENS_19ostreambuf_iteratorIT_T0_EES6_PKS4_S8_S8_RNS_8ios_baseES4_($agg$tmp$byval_copy, $vla10, $14, $15, $__iob, $__fl) | 0; + _llvm_stackrestore($8 | 0); + STACKTOP = sp; + return $call11 | 0; +} + +function __ZN6vision39HomographyPointsGeometricallyConsistentIfEEbPKT_S3_i($H, $x, $size) { + $H = $H | 0; + $x = $x | 0; + $size = $size | 0; + var $add$ptr = 0, $add$ptr1 = 0, $add$ptr15 = 0, $add$ptr16 = 0, $first_xp1 = 0, $first_xp2 = 0, $i$0 = 0, $retval$4 = 0, $x1_ptr$0 = 0, $x2_ptr$0 = 0, $x3_ptr$0 = 0, $xp1 = 0, $xp1_ptr$0 = 0, $xp1_ptr$0$phi = 0, $xp2 = 0, $xp2_ptr$0 = 0, $xp2_ptr$0$phi = 0, $xp3 = 0, $xp3_ptr$0 = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 48 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); + $xp1 = sp + 32 | 0; + $xp2 = sp + 24 | 0; + $xp3 = sp + 16 | 0; + $first_xp1 = sp + 8 | 0; + $first_xp2 = sp; + L1 : do if (($size | 0) >= 2) { + $add$ptr = $x + 8 | 0; + $add$ptr1 = $x + 16 | 0; + __ZN6vision35MultiplyPointHomographyInhomogenousIfEEvPT_PKS1_S4_($xp1, $H, $x); + __ZN6vision35MultiplyPointHomographyInhomogenousIfEEvPT_PKS1_S4_($xp2, $H, $add$ptr); + __ZN6vision35MultiplyPointHomographyInhomogenousIfEEvPT_PKS1_S4_($xp3, $H, $add$ptr1); + __ZN6vision11CopyVector2IfEEvPT_PKS1_($first_xp1, $xp1); + __ZN6vision11CopyVector2IfEEvPT_PKS1_($first_xp2, $xp2); + if (__ZN6vision40Homography3PointsGeometricallyConsistentIfEEbPKT_S3_S3_S3_S3_S3_($x, $add$ptr, $add$ptr1, $xp1, $xp2, $xp3) | 0) { + $i$0 = 3; + $x1_ptr$0 = $x; + $x2_ptr$0 = $add$ptr; + $x3_ptr$0 = $add$ptr1; + $xp1_ptr$0 = $xp1; + $xp2_ptr$0 = $xp2; + $xp3_ptr$0 = $xp3; while (1) { - $47$looptemp = $47; - $47 = $$sroa$024$1; - $40 = $47; - $45 = HEAP32[$40 + 4 >> 2] | 0; - $46 = $47$looptemp; - HEAP32[$46 >> 2] = HEAP32[$40 >> 2]; - HEAP32[$46 + 4 >> 2] = $45; - HEAP32[$4 >> 2] = $$sroa$024$1; - if (($15 | 0) < ($$1 | 0)) break; - $53 = $$1 << 1 | 1; - $54 = $10 + ($53 << 3) | 0; - $55 = $54; - $56 = $53 + 1 | 0; - if (($56 | 0) < ($3 | 0)) { - $58 = $54 + 8 | 0; - $59 = __ZNK6vision17PriorityQueueItemILi96EEltERKS1_($54, $58) | 0; - $$2 = $59 ? $56 : $53; - $$sroa$024$2 = $59 ? $58 : $55; + if (($i$0 | 0) >= ($size | 0)) break; + $x1_ptr$0 = $x1_ptr$0 + 8 | 0; + $add$ptr15 = $x2_ptr$0 + 8 | 0; + $add$ptr16 = $x3_ptr$0 + 8 | 0; + __ZN6vision35MultiplyPointHomographyInhomogenousIfEEvPT_PKS1_S4_($xp1_ptr$0, $H, $add$ptr16); + if (!(__ZN6vision40Homography3PointsGeometricallyConsistentIfEEbPKT_S3_S3_S3_S3_S3_($x1_ptr$0, $add$ptr15, $add$ptr16, $xp2_ptr$0, $xp3_ptr$0, $xp1_ptr$0) | 0)) { + $retval$4 = 0; + break L1; } else { - $$2 = $53; - $$sroa$024$2 = $55; - } - if (__ZNK6vision17PriorityQueueItemILi96EEltERKS1_($$sroa$024$2, $5) | 0) break; else { - $$1 = $$2; - $$sroa$024$1 = $$sroa$024$2; + $xp2_ptr$0$phi = $xp3_ptr$0; + $xp1_ptr$0$phi = $xp2_ptr$0; + $i$0 = $i$0 + 1 | 0; + $x2_ptr$0 = $add$ptr15; + $x3_ptr$0 = $add$ptr16; + $xp3_ptr$0 = $xp1_ptr$0; + $xp2_ptr$0 = $xp2_ptr$0$phi; + $xp1_ptr$0 = $xp1_ptr$0$phi; } } - $64 = $5; - $69 = HEAP32[$64 + 4 >> 2] | 0; - $70 = $$sroa$024$1; - HEAP32[$70 >> 2] = HEAP32[$64 >> 2]; - HEAP32[$70 + 4 >> 2] = $69; - __ZN6vision17PriorityQueueItemILi96EED2Ev($5); - } - } + if (__ZN6vision40Homography3PointsGeometricallyConsistentIfEEbPKT_S3_S3_S3_S3_S3_($x2_ptr$0, $x3_ptr$0, $x, $xp2_ptr$0, $xp3_ptr$0, $first_xp1) | 0) $retval$4 = __ZN6vision40Homography3PointsGeometricallyConsistentIfEEbPKT_S3_S3_S3_S3_S3_($x3_ptr$0, $x, $add$ptr, $xp3_ptr$0, $first_xp1, $first_xp2) | 0; else $retval$4 = 0; + } else $retval$4 = 0; + } else $retval$4 = 1; while (0); STACKTOP = sp; - return; + return $retval$4 | 0; } -function __ZNSt3__2L19utf8_to_ucs4_lengthEPKhS1_mmNS_12codecvt_modeE($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $$091 = 0, $$185 = 0, $$185$ph = 0, $$589 = 0, $$pre = 0, $21 = 0, $22 = 0, $33 = 0, $47 = 0, $49 = 0, $56 = 0, $74 = 0, $76 = 0, $78 = 0, $84 = 0, $87 = 0; - $$pre = $1; - if (((($4 & 4 | 0) != 0 ? ($$pre - $0 | 0) > 2 : 0) ? (HEAP8[$0 >> 0] | 0) == -17 : 0) ? (HEAP8[$0 + 1 >> 0] | 0) == -69 : 0) $$185$ph = (HEAP8[$0 + 2 >> 0] | 0) == -65 ? $0 + 3 | 0 : $0; else $$185$ph = $0; - $$091 = 0; - $$185 = $$185$ph; - L7 : while (1) { - if (!($$091 >>> 0 < $2 >>> 0 & $$185 >>> 0 < $1 >>> 0)) break; - $21 = HEAP8[$$185 >> 0] | 0; - $22 = $21 & 255; - do if ($21 << 24 >> 24 <= -1) { - if (($21 & 255) < 194) break L7; - if (($21 & 255) < 224) { - if (($$pre - $$185 | 0) < 2) break L7; - $33 = HEAPU8[$$185 + 1 >> 0] | 0; - if (($33 & 192 | 0) != 128) break L7; - if (($33 & 63 | $22 << 6 & 1984) >>> 0 > $3 >>> 0) break L7; - $$589 = $$185 + 2 | 0; - break; - } - if (($21 & 255) < 240) { - if (($$pre - $$185 | 0) < 3) break L7; - $47 = HEAP8[$$185 + 1 >> 0] | 0; - $49 = HEAP8[$$185 + 2 >> 0] | 0; - switch ($21 << 24 >> 24) { - case -32: - { - if (($47 & -32) << 24 >> 24 != -96) break L7; - break; - } - case -19: - { - if (($47 & -32) << 24 >> 24 != -128) break L7; - break; - } - default: - if (($47 & -64) << 24 >> 24 != -128) break L7; - } - $56 = $49 & 255; - if (($56 & 192 | 0) != 128) break L7; - if ((($47 & 63) << 6 | $22 << 12 & 61440 | $56 & 63) >>> 0 > $3 >>> 0) break L7; else { - $$589 = $$185 + 3 | 0; - break; - } - } - if (($21 & 255) >= 245) break L7; - if (($$pre - $$185 | 0) < 4) break L7; - $74 = HEAP8[$$185 + 1 >> 0] | 0; - $76 = HEAP8[$$185 + 2 >> 0] | 0; - $78 = HEAP8[$$185 + 3 >> 0] | 0; - switch ($21 << 24 >> 24) { - case -16: - { - if (($74 + 112 & 255) >= 48) break L7; - break; - } - case -12: - { - if (($74 & -16) << 24 >> 24 != -128) break L7; - break; +function _fgets($s, $n, $f) { + $s = $s | 0; + $n = $n | 0; + $f = $f | 0; + var $2 = 0, $add$ptr = 0, $add$ptr36 = 0, $call12 = 0, $call50 = 0, $cond = 0, $cond26 = 0, $cond32 = 0, $cond5248 = 0, $conv = 0, $dec = 0, $incdec$ptr65 = 0, $mode = 0, $n$addr$053 = 0, $p$052 = 0, $p$1 = 0, $rend = 0, $retval$0 = 0, $rpos = 0, $s$addr$050 = 0, $sub$ptr$rhs$cast = 0, $sub$ptr$sub = 0, $sub37 = 0, $tobool13 = 0, label = 0; + if ((HEAP32[$f + 76 >> 2] | 0) > -1) $cond = ___lockfile($f) | 0; else $cond = 0; + $dec = $n + -1 | 0; + if (($n | 0) < 2) { + $mode = $f + 74 | 0; + $conv = HEAP8[$mode >> 0] | 0; + HEAP8[$mode >> 0] = $conv + 255 | $conv; + if ($cond | 0) ___unlockfile($f); + if (!$dec) { + HEAP8[$s >> 0] = 0; + $retval$0 = $s; + } else $retval$0 = 0; + } else { + L11 : do if ($dec) { + $rpos = $f + 4 | 0; + $rend = $f + 8 | 0; + $n$addr$053 = $dec; + $p$052 = $s; + while (1) { + $2 = HEAP32[$rpos >> 2] | 0; + $sub$ptr$rhs$cast = $2; + $sub$ptr$sub = (HEAP32[$rend >> 2] | 0) - $sub$ptr$rhs$cast | 0; + $call12 = _memchr($2, 10, $sub$ptr$sub) | 0; + $tobool13 = ($call12 | 0) == 0; + $cond26 = $tobool13 ? $sub$ptr$sub : 1 - $sub$ptr$rhs$cast + $call12 | 0; + $cond32 = $cond26 >>> 0 < $n$addr$053 >>> 0 ? $cond26 : $n$addr$053; + _memcpy($p$052 | 0, $2 | 0, $cond32 | 0) | 0; + $add$ptr = (HEAP32[$rpos >> 2] | 0) + $cond32 | 0; + HEAP32[$rpos >> 2] = $add$ptr; + $add$ptr36 = $p$052 + $cond32 | 0; + $sub37 = $n$addr$053 - $cond32 | 0; + if (!($tobool13 & ($sub37 | 0) != 0)) { + $p$1 = $add$ptr36; + label = 17; + break L11; } - default: - if (($74 & -64) << 24 >> 24 != -128) break L7; + if ($add$ptr >>> 0 >= (HEAP32[$rend >> 2] | 0) >>> 0) { + $call50 = ___uflow($f) | 0; + if (($call50 | 0) < 0) break; else $cond5248 = $call50; + } else { + HEAP32[$rpos >> 2] = $add$ptr + 1; + $cond5248 = HEAPU8[$add$ptr >> 0] | 0; + } + $incdec$ptr65 = $add$ptr36 + 1 | 0; + HEAP8[$add$ptr36 >> 0] = $cond5248; + $n$addr$053 = $sub37 + -1 | 0; + if (($cond5248 & 255 | 0) == 10 | ($n$addr$053 | 0) == 0) { + $p$1 = $incdec$ptr65; + label = 17; + break L11; + } else $p$052 = $incdec$ptr65; } - $84 = $76 & 255; - if (($84 & 192 | 0) != 128) break L7; - $87 = $78 & 255; - if (($87 & 192 | 0) != 128) break L7; - if ((($74 & 63) << 12 | $22 << 18 & 1835008 | $84 << 6 & 4032 | $87 & 63) >>> 0 > $3 >>> 0) break L7; else $$589 = $$185 + 4 | 0; + if (($add$ptr36 | 0) != ($s | 0) ? (HEAP32[$f >> 2] & 16 | 0) != 0 : 0) { + $p$1 = $add$ptr36; + label = 17; + } else $s$addr$050 = 0; } else { - if ($22 >>> 0 > $3 >>> 0) break L7; - $$589 = $$185 + 1 | 0; + $p$1 = $s; + label = 17; } while (0); - $$091 = $$091 + 1 | 0; - $$185 = $$589; + if ((label | 0) == 17) if (!$s) $s$addr$050 = 0; else { + HEAP8[$p$1 >> 0] = 0; + $s$addr$050 = $s; + } + if (!$cond) $retval$0 = $s$addr$050; else { + ___unlockfile($f); + $retval$0 = $s$addr$050; + } } - return $$185 - $0 | 0; + return $retval$0 | 0; } function _loadNFTMarker($arc, $surfaceSetCount, $datasetPathname) { $arc = $arc | 0; $surfaceSetCount = $surfaceSetCount | 0; $datasetPathname = $datasetPathname | 0; - var $0 = 0, $call6 = 0, $refDataSet = 0, $refDataSet2 = 0, $retval$0 = 0, $vararg_buffer = 0, $vararg_buffer1 = 0, $vararg_buffer11 = 0, $vararg_buffer13 = 0, $vararg_buffer16 = 0, $vararg_buffer19 = 0, $vararg_buffer21 = 0, $vararg_buffer23 = 0, $vararg_buffer4 = 0, $vararg_buffer7 = 0, $vararg_buffer9 = 0, sp = 0; + var $0 = 0, $call10 = 0, $refDataSet = 0, $refDataSet2 = 0, $retval$0 = 0, $vararg_buffer = 0, $vararg_buffer1 = 0, $vararg_buffer11 = 0, $vararg_buffer13 = 0, $vararg_buffer16 = 0, $vararg_buffer19 = 0, $vararg_buffer21 = 0, $vararg_buffer23 = 0, $vararg_buffer4 = 0, $vararg_buffer7 = 0, $vararg_buffer9 = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 96 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(96); @@ -71507,566 +73931,1003 @@ function _loadNFTMarker($arc, $surfaceSetCount, $datasetPathname) { $0 = HEAP32[$arc + 232 >> 2] | 0; HEAP32[$refDataSet >> 2] = 0; HEAP32[$vararg_buffer >> 2] = $datasetPathname; - _arLog(0, 1, 44959, $vararg_buffer); - do if ((_kpmLoadRefDataSet($datasetPathname, 44977, $refDataSet2) | 0) >= 0) { + _arLog(0, 1, 45801, $vararg_buffer); + do if ((_kpmLoadRefDataSet($datasetPathname, 45819, $refDataSet2) | 0) >= 0) { HEAP32[$vararg_buffer4 >> 2] = $surfaceSetCount; - _arLog(0, 1, 45021, $vararg_buffer4); + _arLog(0, 1, 45863, $vararg_buffer4); if ((_kpmChangePageNoOfRefDataSet(HEAP32[$refDataSet2 >> 2] | 0, -1, $surfaceSetCount) | 0) < 0) { - _arLog(0, 3, 45046, $vararg_buffer7); + _arLog(0, 3, 45888, $vararg_buffer7); $retval$0 = 0; break; } if ((_kpmMergeRefDataSet($refDataSet, $refDataSet2) | 0) < 0) { - _arLog(0, 3, 45082, $vararg_buffer9); + _arLog(0, 3, 45924, $vararg_buffer9); $retval$0 = 0; break; } - _arLog(0, 1, 45109, $vararg_buffer11); + _arLog(0, 1, 45951, $vararg_buffer11); HEAP32[$vararg_buffer13 >> 2] = $datasetPathname; - _arLog(0, 1, 45118, $vararg_buffer13); - $call6 = _ar2ReadSurfaceSet($datasetPathname, 45135, 0) | 0; - HEAP32[$arc + 248 + ($surfaceSetCount << 2) >> 2] = $call6; - if (!$call6) { + _arLog(0, 1, 45960, $vararg_buffer13); + $call10 = _ar2ReadSurfaceSet($datasetPathname, 45977, 0) | 0; + HEAP32[$arc + 272 + ($surfaceSetCount << 2) >> 2] = $call10; + if (!$call10) { HEAP32[$vararg_buffer16 >> 2] = $datasetPathname; - _arLog(0, 3, 45140, $vararg_buffer16); + _arLog(0, 3, 45982, $vararg_buffer16); } - _arLog(0, 1, 45109, $vararg_buffer19); + _arLog(0, 1, 45951, $vararg_buffer19); if (($surfaceSetCount | 0) == 10) _exit(-1); if ((_kpmSetRefDataSet($0, HEAP32[$refDataSet >> 2] | 0) | 0) < 0) { - _arLog(0, 3, 45173, $vararg_buffer21); + _arLog(0, 3, 46015, $vararg_buffer21); $retval$0 = 0; break; } else { _kpmDeleteRefDataSet($refDataSet) | 0; - _arLog(0, 1, 45198, $vararg_buffer23); + _arLog(0, 1, 46040, $vararg_buffer23); $retval$0 = 1; break; } } else { HEAP32[$vararg_buffer1 >> 2] = $datasetPathname; - _arLog(0, 3, 44983, $vararg_buffer1); + _arLog(0, 3, 45825, $vararg_buffer1); $retval$0 = 0; } while (0); STACKTOP = sp; return $retval$0 | 0; } -function __ZNKSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_RNS_8ios_baseERjRb($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$byval_copy = 0, $$byval_copy2 = 0, $$sroa$022$0 = 0, $$sroa$022$0$copyload24 = 0, $16 = 0, $19 = 0, $21 = 0, $22 = 0, $31 = 0, $34 = 0, $36 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 48 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); - $$byval_copy2 = sp + 40 | 0; - $$byval_copy = sp; - $6 = sp + 32 | 0; - $7 = sp + 36 | 0; - $8 = sp + 28 | 0; - $9 = sp + 24 | 0; - if (!(HEAP32[$3 + 4 >> 2] & 1)) { - HEAP32[$6 >> 2] = -1; - $16 = HEAP32[(HEAP32[$0 >> 2] | 0) + 16 >> 2] | 0; - HEAP32[$7 >> 2] = HEAP32[$1 >> 2]; - HEAP32[$8 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy >> 2] = HEAP32[$7 >> 2]; - HEAP32[$$byval_copy2 >> 2] = HEAP32[$8 >> 2]; - $19 = FUNCTION_TABLE_iiiiiii[$16 & 63]($0, $$byval_copy, $$byval_copy2, $3, $4, $6) | 0; - HEAP32[$1 >> 2] = $19; - switch (HEAP32[$6 >> 2] | 0) { - case 0: - { - HEAP8[$5 >> 0] = 0; - break; - } - case 1: - { - HEAP8[$5 >> 0] = 1; - break; - } - default: - { - HEAP8[$5 >> 0] = 1; - HEAP32[$4 >> 2] = 4; - } +function __ZNSt3__26vectorIN6vision7Point3dIfEENS_9allocatorIS3_EEE6assignIPS3_EENS_9enable_ifIXaasr21__is_forward_iteratorIT_EE5valuesr16is_constructibleIS3_NS_15iterator_traitsISA_E9referenceEEE5valueEvE4typeESA_SA_($this, $__first, $__last) { + $this = $this | 0; + $__first = $__first | 0; + $__last = $__last | 0; + var $1 = 0, $2 = 0, $__end_$i = 0, $__value_$i$i$i$i$i = 0, $call$i = 0, $cmp4 = 0, $mul$i = 0, $spec$select = 0, $sub$ptr$div$i = 0, $sub$ptr$div$i$i = 0, $sub$ptr$div$i$i$i = 0, $sub$ptr$rhs$cast$i$i = 0, $sub$ptr$sub$i$i20 = 0; + $sub$ptr$rhs$cast$i$i = $__first; + $sub$ptr$div$i$i = ($__last - $sub$ptr$rhs$cast$i$i | 0) / 12 | 0; + $__value_$i$i$i$i$i = $this + 8 | 0; + $1 = HEAP32[$this >> 2] | 0; + $2 = $1; + do if ($sub$ptr$div$i$i >>> 0 > (((HEAP32[$__value_$i$i$i$i$i >> 2] | 0) - $1 | 0) / 12 | 0) >>> 0) { + __ZNSt3__26vectorIN6vision7Point3dIfEENS_9allocatorIS3_EEE13__vdeallocateEv($this); + $call$i = __ZNKSt3__26vectorIN6vision7Point3dIfEENS_9allocatorIS3_EEE8max_sizeEv($this) | 0; + if ($call$i >>> 0 < $sub$ptr$div$i$i >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv($this); else { + $sub$ptr$div$i$i$i = ((HEAP32[$__value_$i$i$i$i$i >> 2] | 0) - (HEAP32[$this >> 2] | 0) | 0) / 12 | 0; + $mul$i = $sub$ptr$div$i$i$i << 1; + __ZNSt3__26vectorIN6vision7Point3dIfEENS_9allocatorIS3_EEE11__vallocateEm($this, $sub$ptr$div$i$i$i >>> 0 < $call$i >>> 1 >>> 0 ? ($mul$i >>> 0 < $sub$ptr$div$i$i >>> 0 ? $sub$ptr$div$i$i : $mul$i) : $call$i); + __ZNSt3__26vectorIN6vision7Point3dIfEENS_9allocatorIS3_EEE18__construct_at_endIPS3_EENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESA_SA_m($this, $__first, $__last, $sub$ptr$div$i$i); + break; } - $$sroa$022$0 = HEAP32[$1 >> 2] | 0; } else { - __ZNKSt3__28ios_base6getlocEv($$byval_copy2, $3); - $21 = __ZNKSt3__26locale9use_facetERNS0_2idE($$byval_copy2, 66544) | 0; - __ZNSt3__26localeD2Ev($$byval_copy2); - __ZNKSt3__28ios_base6getlocEv($$byval_copy2, $3); - $22 = __ZNKSt3__26locale9use_facetERNS0_2idE($$byval_copy2, 66552) | 0; - __ZNSt3__26localeD2Ev($$byval_copy2); - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$22 >> 2] | 0) + 24 >> 2] & 255]($$byval_copy, $22); - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$22 >> 2] | 0) + 28 >> 2] & 255]($$byval_copy + 12 | 0, $22); - HEAP32[$9 >> 2] = HEAP32[$2 >> 2]; - $31 = $$byval_copy + 24 | 0; - HEAP32[$$byval_copy2 >> 2] = HEAP32[$9 >> 2]; - $34 = (__ZNSt3__214__scan_keywordINS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEPKNS_12basic_stringIwS3_NS_9allocatorIwEEEENS_5ctypeIwEEEET0_RT_SE_SD_SD_RKT1_Rjb($1, $$byval_copy2, $$byval_copy, $31, $21, $4, 1) | 0) == ($$byval_copy | 0) & 1; - HEAP8[$5 >> 0] = $34; - $$sroa$022$0$copyload24 = HEAP32[$1 >> 2] | 0; - $36 = $31; - do { - $36 = $36 + -12 | 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev($36); - } while (($36 | 0) != ($$byval_copy | 0)); - $$sroa$022$0 = $$sroa$022$0$copyload24; + $__end_$i = $this + 4 | 0; + $sub$ptr$div$i = ((HEAP32[$__end_$i >> 2] | 0) - $1 | 0) / 12 | 0; + $cmp4 = $sub$ptr$div$i$i >>> 0 > $sub$ptr$div$i >>> 0; + $spec$select = $cmp4 ? $__first + ($sub$ptr$div$i * 12 | 0) | 0 : $__last; + $sub$ptr$sub$i$i20 = $spec$select - $sub$ptr$rhs$cast$i$i | 0; + if ($sub$ptr$sub$i$i20 | 0) _memmove($1 | 0, $__first | 0, $sub$ptr$sub$i$i20 | 0) | 0; + if ($cmp4) { + __ZNSt3__26vectorIN6vision7Point3dIfEENS_9allocatorIS3_EEE18__construct_at_endIPS3_EENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESA_SA_m($this, $spec$select, $__last, $sub$ptr$div$i$i - (((HEAP32[$__end_$i >> 2] | 0) - (HEAP32[$this >> 2] | 0) | 0) / 12 | 0) | 0); + break; + } else { + HEAP32[$__end_$i >> 2] = $2 + ((($sub$ptr$sub$i$i20 | 0) / 12 | 0) * 12 | 0); + break; + } + } while (0); + return; +} + +function _ycck_cmyk_convert($cinfo, $input_buf, $input_row, $output_buf, $num_rows) { + $cinfo = $cinfo | 0; + $input_buf = $input_buf | 0; + $input_row = $input_row | 0; + $output_buf = $output_buf | 0; + $num_rows = $num_rows | 0; + var $0 = 0, $1 = 0, $10 = 0, $12 = 0, $14 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $8 = 0, $add$neg$us = 0, $arrayidx3 = 0, $arrayidx5 = 0, $arrayidx7 = 0, $col$046$us = 0, $conv12$us = 0, $conv14$us = 0, $dec52$us$in = 0, $input_row$addr$051$us = 0, $outptr$047$us = 0, $output_buf$addr$050$us = 0, $dec52$us$in$looptemp = 0; + $0 = HEAP32[$cinfo + 480 >> 2] | 0; + $1 = HEAP32[$cinfo + 112 >> 2] | 0; + $2 = HEAP32[$cinfo + 336 >> 2] | 0; + $3 = HEAP32[$0 + 8 >> 2] | 0; + $4 = HEAP32[$0 + 12 >> 2] | 0; + $5 = HEAP32[$0 + 16 >> 2] | 0; + $6 = HEAP32[$0 + 20 >> 2] | 0; + if (($num_rows | 0) <= 0) return; + $arrayidx3 = $input_buf + 4 | 0; + $arrayidx5 = $input_buf + 8 | 0; + $arrayidx7 = $input_buf + 12 | 0; + if (!$1) return; + $dec52$us$in = $num_rows; + $input_row$addr$051$us = $input_row; + $output_buf$addr$050$us = $output_buf; + while (1) { + $dec52$us$in$looptemp = $dec52$us$in; + $dec52$us$in = $dec52$us$in + -1 | 0; + $8 = HEAP32[(HEAP32[$input_buf >> 2] | 0) + ($input_row$addr$051$us << 2) >> 2] | 0; + $10 = HEAP32[(HEAP32[$arrayidx3 >> 2] | 0) + ($input_row$addr$051$us << 2) >> 2] | 0; + $12 = HEAP32[(HEAP32[$arrayidx5 >> 2] | 0) + ($input_row$addr$051$us << 2) >> 2] | 0; + $14 = HEAP32[(HEAP32[$arrayidx7 >> 2] | 0) + ($input_row$addr$051$us << 2) >> 2] | 0; + $input_row$addr$051$us = $input_row$addr$051$us + 1 | 0; + $col$046$us = 0; + $outptr$047$us = HEAP32[$output_buf$addr$050$us >> 2] | 0; + while (1) { + $conv12$us = HEAPU8[$10 + $col$046$us >> 0] | 0; + $conv14$us = HEAPU8[$12 + $col$046$us >> 0] | 0; + $add$neg$us = ~HEAP8[$8 + $col$046$us >> 0] & 255; + HEAP8[$outptr$047$us >> 0] = HEAP8[$2 + ($add$neg$us - (HEAP32[$3 + ($conv14$us << 2) >> 2] | 0)) >> 0] | 0; + HEAP8[$outptr$047$us + 1 >> 0] = HEAP8[$2 + ($add$neg$us - ((HEAP32[$5 + ($conv14$us << 2) >> 2] | 0) + (HEAP32[$6 + ($conv12$us << 2) >> 2] | 0) >> 16)) >> 0] | 0; + HEAP8[$outptr$047$us + 2 >> 0] = HEAP8[$2 + ($add$neg$us - (HEAP32[$4 + ($conv12$us << 2) >> 2] | 0)) >> 0] | 0; + HEAP8[$outptr$047$us + 3 >> 0] = HEAP8[$14 + $col$046$us >> 0] | 0; + $col$046$us = $col$046$us + 1 | 0; + if (($col$046$us | 0) == ($1 | 0)) break; else $outptr$047$us = $outptr$047$us + 4 | 0; + } + if (($dec52$us$in$looptemp | 0) <= 1) break; else $output_buf$addr$050$us = $output_buf$addr$050$us + 4 | 0; } - STACKTOP = sp; - return $$sroa$022$0 | 0; + return; } -function __ZNKSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_RNS_8ios_baseERjRb($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$byval_copy = 0, $$byval_copy2 = 0, $$sroa$022$0 = 0, $$sroa$022$0$copyload24 = 0, $16 = 0, $19 = 0, $21 = 0, $22 = 0, $31 = 0, $34 = 0, $36 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, sp = 0; +function __ZNK6vision5Timer19duration_in_secondsEv($this) { + $this = $this | 0; + var $0 = 0.0, $2 = 0.0, $call$i1$i$i = 0, $call$i1$i$i6 = 0, $call$i2$i$i = 0, $call$i2$i$i9 = 0, $call16 = 0, $call6 = 0, $ref$tmp$i$i1 = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 48 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); - $$byval_copy2 = sp + 40 | 0; - $$byval_copy = sp; - $6 = sp + 32 | 0; - $7 = sp + 36 | 0; - $8 = sp + 28 | 0; - $9 = sp + 24 | 0; - if (!(HEAP32[$3 + 4 >> 2] & 1)) { - HEAP32[$6 >> 2] = -1; - $16 = HEAP32[(HEAP32[$0 >> 2] | 0) + 16 >> 2] | 0; - HEAP32[$7 >> 2] = HEAP32[$1 >> 2]; - HEAP32[$8 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy >> 2] = HEAP32[$7 >> 2]; - HEAP32[$$byval_copy2 >> 2] = HEAP32[$8 >> 2]; - $19 = FUNCTION_TABLE_iiiiiii[$16 & 63]($0, $$byval_copy, $$byval_copy2, $3, $4, $6) | 0; - HEAP32[$1 >> 2] = $19; - switch (HEAP32[$6 >> 2] | 0) { - case 0: - { - HEAP8[$5 >> 0] = 0; - break; - } - case 1: - { - HEAP8[$5 >> 0] = 1; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $ref$tmp$i$i1 = sp; + $0 = +HEAPF64[$this >> 3]; + if (!($0 >= 0.0)) { + $call6 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 39644) | 0, 39683) | 0, 39794) | 0, 80) | 0, 39801) | 0, 39804) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i$i1, $call6 + (HEAP32[(HEAP32[$call6 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i$i = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i$i1, 67360) | 0; + $call$i2$i$i = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i$i >> 2] | 0) + 28 >> 2] & 127]($call$i1$i$i, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i$i1); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call6, $call$i2$i$i) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call6) | 0; + _abort(); + } + $2 = +HEAPF64[$this + 8 >> 3]; + if (!($2 >= 0.0)) { + $call16 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 39831) | 0, 39683) | 0, 39794) | 0, 81) | 0, 39801) | 0, 39869) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i$i1, $call16 + (HEAP32[(HEAP32[$call16 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i$i6 = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i$i1, 67360) | 0; + $call$i2$i$i9 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i$i6 >> 2] | 0) + 28 >> 2] & 127]($call$i1$i$i6, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i$i1); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call16, $call$i2$i$i9) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call16) | 0; + _abort(); + } else { + STACKTOP = sp; + return +($2 - $0); + } + return +(0.0); +} + +function _jinit_d_coef_controller($cinfo, $need_full_buffer) { + $cinfo = $cinfo | 0; + $need_full_buffer = $need_full_buffer | 0; + var $4 = 0, $7 = 0, $call = 0, $call15 = 0, $call6 = 0, $call8 = 0, $call9 = 0, $ci$044 = 0, $compptr$043 = 0, $mem = 0, $num_components = 0, $progressive_mode = 0, $spec$select = 0, $v_samp_factor = 0, $whole_image = 0, $whole_image12$pre$phiZ2D = 0; + $mem = $cinfo + 4 | 0; + $call = FUNCTION_TABLE_iiii[HEAP32[HEAP32[$mem >> 2] >> 2] & 63]($cinfo, 1, 116) | 0; + HEAP32[$cinfo + 452 >> 2] = $call; + HEAP32[$call >> 2] = 188; + HEAP32[$call + 8 >> 2] = 189; + HEAP32[$call + 112 >> 2] = 0; + if (!$need_full_buffer) { + $call15 = FUNCTION_TABLE_iiii[HEAP32[(HEAP32[$mem >> 2] | 0) + 4 >> 2] & 63]($cinfo, 1, 1280) | 0; + HEAP32[$call + 32 >> 2] = $call15; + HEAP32[$call + 36 >> 2] = $call15 + 128; + HEAP32[$call + 40 >> 2] = $call15 + 256; + HEAP32[$call + 44 >> 2] = $call15 + 384; + HEAP32[$call + 48 >> 2] = $call15 + 512; + HEAP32[$call + 52 >> 2] = $call15 + 640; + HEAP32[$call + 56 >> 2] = $call15 + 768; + HEAP32[$call + 60 >> 2] = $call15 + 896; + HEAP32[$call + 64 >> 2] = $call15 + 1024; + HEAP32[$call + 68 >> 2] = $call15 + 1152; + if (!(HEAP32[$cinfo + 436 >> 2] | 0)) _memset($call15 | 0, 0, 1280) | 0; + HEAP32[$call + 4 >> 2] = 84; + HEAP32[$call + 12 >> 2] = 64; + HEAP32[$call + 16 >> 2] = 0; + return; + } + $num_components = $cinfo + 36 | 0; + if ((HEAP32[$num_components >> 2] | 0) > 0) { + $progressive_mode = $cinfo + 224 | 0; + $whole_image = $call + 72 | 0; + $ci$044 = 0; + $compptr$043 = HEAP32[$cinfo + 216 >> 2] | 0; + while (1) { + $v_samp_factor = $compptr$043 + 12 | 0; + $4 = HEAP32[$v_samp_factor >> 2] | 0; + $spec$select = (HEAP32[$progressive_mode >> 2] | 0) == 0 ? $4 : $4 * 3 | 0; + $7 = HEAP32[(HEAP32[$mem >> 2] | 0) + 20 >> 2] | 0; + $call6 = _jround_up(HEAP32[$compptr$043 + 28 >> 2] | 0, HEAP32[$compptr$043 + 8 >> 2] | 0) | 0; + $call8 = _jround_up(HEAP32[$compptr$043 + 32 >> 2] | 0, HEAP32[$v_samp_factor >> 2] | 0) | 0; + $call9 = FUNCTION_TABLE_iiiiiii[$7 & 63]($cinfo, 1, 1, $call6, $call8, $spec$select) | 0; + HEAP32[$whole_image + ($ci$044 << 2) >> 2] = $call9; + $ci$044 = $ci$044 + 1 | 0; + if (($ci$044 | 0) >= (HEAP32[$num_components >> 2] | 0)) { + $whole_image12$pre$phiZ2D = $whole_image; break; - } - default: - { - HEAP8[$5 >> 0] = 1; - HEAP32[$4 >> 2] = 4; - } + } else $compptr$043 = $compptr$043 + 88 | 0; + } + } else $whole_image12$pre$phiZ2D = $call + 72 | 0; + HEAP32[$call + 4 >> 2] = 83; + HEAP32[$call + 12 >> 2] = 63; + HEAP32[$call + 16 >> 2] = $whole_image12$pre$phiZ2D; + return; +} + +function _ar2GetBestMatchingSubFineOpt($img, $xsize, $sx1, $sy1, $mtemp, $subImage1, $subImage2, $sx2, $sy2, $val) { + $img = $img | 0; + $xsize = $xsize | 0; + $sx1 = $sx1 | 0; + $sy1 = $sy1 | 0; + $mtemp = $mtemp | 0; + $subImage1 = $subImage1 | 0; + $subImage2 = $subImage2 | 0; + $sx2 = $sx2 | 0; + $sy2 = $sy2 | 0; + $val = $val | 0; + var $1 = 0, $13 = 0, $2 = 0, $add15 = 0, $add17 = 0, $add20 = 0, $add29 = 0, $add31 = 0, $add34 = 0, $add37 = 0, $add8 = 0, $arrayidx = 0, $i$0 = 0, $j$0 = 0, $mul19 = 0, $mul24 = 0, $mul26 = 0, $mul28 = 0, $mul59 = 0, $mul9 = 0, $p1$0 = 0, $p1$1 = 0, $p2$1 = 0, $p3$0 = 0, $storemerge = 0, $sub39 = 0, $sub56 = 0, $sum3$0 = 0, $sum3$1 = 0; + $arrayidx = $img + ((Math_imul($sy1, $xsize) | 0) + $sx1) | 0; + $1 = HEAP32[$mtemp + 4 >> 2] | 0; + $mul9 = $xsize << 1; + $2 = HEAP32[$mtemp >> 2] | 0; + $j$0 = 0; + $p1$0 = HEAP32[$mtemp + 24 >> 2] | 0; + $p3$0 = $arrayidx; + $sum3$0 = 0; + while (1) { + if (($j$0 | 0) >= ($1 | 0)) break; + $i$0 = 0; + $p1$1 = $p1$0; + $p2$1 = $p3$0; + $sum3$1 = $sum3$0; + while (1) { + if (($i$0 | 0) >= ($2 | 0)) break; + $add8 = (Math_imul(HEAPU16[$p1$1 >> 1] | 0, HEAPU8[$p2$1 >> 0] | 0) | 0) + $sum3$1 | 0; + $i$0 = $i$0 + 1 | 0; + $p1$1 = $p1$1 + 2 | 0; + $p2$1 = $p2$1 + 2 | 0; + $sum3$1 = $add8; } - $$sroa$022$0 = HEAP32[$1 >> 2] | 0; + $j$0 = $j$0 + 1 | 0; + $p1$0 = $p1$1; + $p3$0 = $p3$0 + $mul9 | 0; + $sum3$0 = $sum3$1; + } + $add15 = $2 << 1; + $add17 = $add15 + 8 | 0; + $mul19 = $sx2 + -2 | 0; + $add20 = $mul19 + $add15 | 0; + $mul24 = $sy2 + -2 | 0; + $mul26 = Math_imul($add17, $mul24 + ($1 << 1) | 0) | 0; + $mul28 = Math_imul($add17, $mul24) | 0; + $add29 = $mul26 + $add20 | 0; + $add31 = $mul28 + $mul19 | 0; + $add34 = $mul26 + $mul19 | 0; + $add37 = $mul28 + $add20 | 0; + $sub39 = (HEAP32[$subImage1 + ($add31 << 2) >> 2] | 0) + (HEAP32[$subImage1 + ($add29 << 2) >> 2] | 0) - (HEAP32[$subImage1 + ($add34 << 2) >> 2] | 0) - (HEAP32[$subImage1 + ($add37 << 2) >> 2] | 0) | 0; + $13 = HEAP32[$mtemp + 36 >> 2] | 0; + $sub56 = (HEAP32[$subImage2 + ($add31 << 2) >> 2] | 0) + (HEAP32[$subImage2 + ($add29 << 2) >> 2] | 0) - (HEAP32[$subImage2 + ($add34 << 2) >> 2] | 0) - (HEAP32[$subImage2 + ($add37 << 2) >> 2] | 0) - ((Math_imul($sub39, $sub39) | 0) / ($13 | 0) | 0) | 0; + if (!$sub56) $storemerge = 0; else { + $mul59 = ($sum3$0 - ((Math_imul(HEAP32[$mtemp + 32 >> 2] | 0, $sub39) | 0) / ($13 | 0) | 0) | 0) * 100 | 0; + $storemerge = ((($mul59 | 0) / (HEAP32[$mtemp + 28 >> 2] | 0) | 0) * 100 | 0) / (~~+Math_sqrt(+(+($sub56 | 0))) | 0) | 0; + } + HEAP32[$val >> 2] = $storemerge; + return; +} + +function _arGetTransMatSquareCont($handle, $marker_info, $initConv, $width, $conv) { + $handle = $handle | 0; + $marker_info = $marker_info | 0; + $initConv = $initConv | 0; + $width = +$width; + $conv = $conv | 0; + var $cmp95 = 0, $data = 0, $dir$0 = 0, $dir$0$in = 0, $div = 0.0, $div61 = 0.0, $err = 0, $rem = 0, $rem18 = 0, $rem32 = 0, $rem46 = 0, $screenCoord = 0, $worldCoord = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 192 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(192); + $screenCoord = sp + 96 | 0; + $worldCoord = sp; + $data = sp + 168 | 0; + $err = sp + 160 | 0; + do if ((HEAP32[$marker_info + 12 >> 2] | 0) >= 0) if ((HEAP32[$marker_info + 8 >> 2] | 0) < 0) { + $dir$0$in = $marker_info + 24 | 0; + break; } else { - __ZNKSt3__28ios_base6getlocEv($$byval_copy2, $3); - $21 = __ZNKSt3__26locale9use_facetERNS0_2idE($$byval_copy2, 66512) | 0; - __ZNSt3__26localeD2Ev($$byval_copy2); - __ZNKSt3__28ios_base6getlocEv($$byval_copy2, $3); - $22 = __ZNKSt3__26locale9use_facetERNS0_2idE($$byval_copy2, 66528) | 0; - __ZNSt3__26localeD2Ev($$byval_copy2); - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$22 >> 2] | 0) + 24 >> 2] & 255]($$byval_copy, $22); - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$22 >> 2] | 0) + 28 >> 2] & 255]($$byval_copy + 12 | 0, $22); - HEAP32[$9 >> 2] = HEAP32[$2 >> 2]; - $31 = $$byval_copy + 24 | 0; - HEAP32[$$byval_copy2 >> 2] = HEAP32[$9 >> 2]; - $34 = (__ZNSt3__214__scan_keywordINS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEPKNS_12basic_stringIcS3_NS_9allocatorIcEEEENS_5ctypeIcEEEET0_RT_SE_SD_SD_RKT1_Rjb($1, $$byval_copy2, $$byval_copy, $31, $21, $4, 1) | 0) == ($$byval_copy | 0) & 1; - HEAP8[$5 >> 0] = $34; - $$sroa$022$0$copyload24 = HEAP32[$1 >> 2] | 0; - $36 = $31; - do { - $36 = $36 + -12 | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($36); - } while (($36 | 0) != ($$byval_copy | 0)); - $$sroa$022$0 = $$sroa$022$0$copyload24; + $dir$0$in = $marker_info + 16 | 0; + break; + } else $dir$0$in = $marker_info + 20 | 0; while (0); + $dir$0 = HEAP32[$dir$0$in >> 2] | 0; + $rem = (4 - $dir$0 | 0) % 4 | 0; + HEAPF64[$screenCoord >> 3] = +HEAPF64[$marker_info + 168 + ($rem << 4) >> 3]; + HEAPF64[$screenCoord + 8 >> 3] = +HEAPF64[$marker_info + 168 + ($rem << 4) + 8 >> 3]; + $rem18 = (5 - $dir$0 | 0) % 4 | 0; + HEAPF64[$screenCoord + 16 >> 3] = +HEAPF64[$marker_info + 168 + ($rem18 << 4) >> 3]; + HEAPF64[$screenCoord + 24 >> 3] = +HEAPF64[$marker_info + 168 + ($rem18 << 4) + 8 >> 3]; + $rem32 = (6 - $dir$0 | 0) % 4 | 0; + HEAPF64[$screenCoord + 32 >> 3] = +HEAPF64[$marker_info + 168 + ($rem32 << 4) >> 3]; + HEAPF64[$screenCoord + 40 >> 3] = +HEAPF64[$marker_info + 168 + ($rem32 << 4) + 8 >> 3]; + $rem46 = (7 - $dir$0 | 0) % 4 | 0; + HEAPF64[$screenCoord + 48 >> 3] = +HEAPF64[$marker_info + 168 + ($rem46 << 4) >> 3]; + HEAPF64[$screenCoord + 56 >> 3] = +HEAPF64[$marker_info + 168 + ($rem46 << 4) + 8 >> 3]; + $div = $width * -.5; + HEAPF64[$worldCoord >> 3] = $div; + $div61 = $width * .5; + HEAPF64[$worldCoord + 8 >> 3] = $div61; + HEAPF64[$worldCoord + 16 >> 3] = 0.0; + HEAPF64[$worldCoord + 24 >> 3] = $div61; + HEAPF64[$worldCoord + 32 >> 3] = $div61; + HEAPF64[$worldCoord + 40 >> 3] = 0.0; + HEAPF64[$worldCoord + 48 >> 3] = $div61; + HEAPF64[$worldCoord + 56 >> 3] = $div; + HEAPF64[$worldCoord + 64 >> 3] = 0.0; + HEAPF64[$worldCoord + 72 >> 3] = $div; + HEAPF64[$worldCoord + 80 >> 3] = $div; + HEAPF64[$worldCoord + 88 >> 3] = 0.0; + HEAP32[$data >> 2] = $screenCoord; + HEAP32[$data + 4 >> 2] = $worldCoord; + HEAP32[$data + 8 >> 2] = 4; + $cmp95 = (_icpPoint(HEAP32[$handle >> 2] | 0, $data, $initConv, $conv, $err) | 0) < 0; + STACKTOP = sp; + return +($cmp95 ? 1.0e8 : +HEAPF64[$err >> 3]); +} + +function __ZNK12_GLOBAL__N_116itanium_demangle27ExpandedSpecialSubstitution9printLeftERNS_12OutputStreamE($this, $S) { + $this = $this | 0; + $S = $S | 0; + var $agg$tmp = 0, $agg$tmp12 = 0, $agg$tmp15 = 0, $agg$tmp15$byval_copy = 0, $agg$tmp3 = 0, $agg$tmp6 = 0, $agg$tmp9 = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 64 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(64); + $agg$tmp15$byval_copy = sp + 48 | 0; + $agg$tmp = sp + 40 | 0; + $agg$tmp3 = sp + 32 | 0; + $agg$tmp6 = sp + 24 | 0; + $agg$tmp9 = sp + 16 | 0; + $agg$tmp12 = sp + 8 | 0; + $agg$tmp15 = sp; + switch (HEAP32[$this + 8 >> 2] | 0) { + case 0: + { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, 52600); + HEAP32[$agg$tmp15$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp15$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp15$byval_copy); + break; + } + case 1: + { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp3, 52615); + HEAP32[$agg$tmp15$byval_copy >> 2] = HEAP32[$agg$tmp3 >> 2]; + HEAP32[$agg$tmp15$byval_copy + 4 >> 2] = HEAP32[$agg$tmp3 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp15$byval_copy); + break; + } + case 2: + { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp6, 56374); + HEAP32[$agg$tmp15$byval_copy >> 2] = HEAP32[$agg$tmp6 >> 2]; + HEAP32[$agg$tmp15$byval_copy + 4 >> 2] = HEAP32[$agg$tmp6 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp15$byval_copy); + break; + } + case 3: + { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp9, 56445); + HEAP32[$agg$tmp15$byval_copy >> 2] = HEAP32[$agg$tmp9 >> 2]; + HEAP32[$agg$tmp15$byval_copy + 4 >> 2] = HEAP32[$agg$tmp9 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp15$byval_copy); + break; + } + case 4: + { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp12, 56495); + HEAP32[$agg$tmp15$byval_copy >> 2] = HEAP32[$agg$tmp12 >> 2]; + HEAP32[$agg$tmp15$byval_copy + 4 >> 2] = HEAP32[$agg$tmp12 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp15$byval_copy); + break; + } + case 5: + { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp15, 56545); + HEAP32[$agg$tmp15$byval_copy >> 2] = HEAP32[$agg$tmp15 >> 2]; + HEAP32[$agg$tmp15$byval_copy + 4 >> 2] = HEAP32[$agg$tmp15 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp15$byval_copy); + break; + } + default: + {} } STACKTOP = sp; - return $$sroa$022$0 | 0; + return; } -function __ZNK10__cxxabiv121__vmi_class_type_info16search_above_dstEPNS_19__dynamic_cast_infoEPKvS4_ib($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$0 = 0, $$046 = 0, $$047 = 0, $$1$off0$in = 0, $$148$off0$in = 0, $10 = 0, $11 = 0, $12 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $23 = 0, $24 = 0, $25 = 0, $28 = 0, $29 = 0, $31 = 0, $38 = 0, $43 = 0, $45 = 0, $9 = 0; - if (__ZL8is_equalPKSt9type_infoS1_b($0, HEAP32[$1 + 8 >> 2] | 0, $5) | 0) __ZNK10__cxxabiv117__class_type_info29process_static_type_above_dstEPNS_19__dynamic_cast_infoEPKvS4_i(0, $1, $2, $3, $4); else { - $9 = $1 + 52 | 0; - $10 = HEAP8[$9 >> 0] | 0; - $11 = $1 + 53 | 0; - $12 = HEAP8[$11 >> 0] | 0; - $15 = HEAP32[$0 + 12 >> 2] | 0; - $16 = $0 + 16 + ($15 << 3) | 0; - HEAP8[$9 >> 0] = 0; - HEAP8[$11 >> 0] = 0; - __ZNK10__cxxabiv122__base_class_type_info16search_above_dstEPNS_19__dynamic_cast_infoEPKvS4_ib($0 + 16 | 0, $1, $2, $3, $4, $5); - $17 = HEAP8[$9 >> 0] | 0; - $18 = $17 | $10; - $19 = HEAP8[$11 >> 0] | 0; - $20 = $19 | $12; - L4 : do if (($15 | 0) > 1) { - $23 = $1 + 24 | 0; - $24 = $0 + 8 | 0; - $25 = $1 + 54 | 0; - $$0 = $0 + 24 | 0; - $$046 = $18; - $$047 = $20; - $31 = $17; - $38 = $19; +function _sep_upsample($cinfo, $input_buf, $in_row_group_ctr, $in_row_groups_avail, $output_buf, $out_row_ctr, $out_rows_avail) { + $cinfo = $cinfo | 0; + $input_buf = $input_buf | 0; + $in_row_group_ctr = $in_row_group_ctr | 0; + $in_row_groups_avail = $in_row_groups_avail | 0; + $output_buf = $output_buf | 0; + $out_row_ctr = $out_row_ctr | 0; + $out_rows_avail = $out_rows_avail | 0; + var $$pre = 0, $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $2 = 0, $add$ptr = 0, $add24 = 0, $ci$041 = 0, $compptr$042 = 0, $max_v_samp_factor = 0, $next_row_out = 0, $num_components = 0, $num_rows$1 = 0, $rows_to_go = 0, $spec$select = 0, $sub = 0, $sub13 = 0; + $0 = HEAP32[$cinfo + 476 >> 2] | 0; + $next_row_out = $0 + 92 | 0; + $1 = HEAP32[$next_row_out >> 2] | 0; + $max_v_samp_factor = $cinfo + 320 | 0; + $2 = HEAP32[$max_v_samp_factor >> 2] | 0; + if (($1 | 0) < ($2 | 0)) { + $10 = $1; + $11 = $2; + } else { + $num_components = $cinfo + 36 | 0; + if ((HEAP32[$num_components >> 2] | 0) > 0) { + $ci$041 = 0; + $compptr$042 = HEAP32[$cinfo + 216 >> 2] | 0; while (1) { - $28 = $$047 & 1; - $29 = $$046 & 1; - if (HEAP8[$25 >> 0] | 0) { - $$1$off0$in = $29; - $$148$off0$in = $28; - break L4; - } - if (!($31 << 24 >> 24)) { - if ($38 << 24 >> 24 ? (HEAP32[$24 >> 2] & 1 | 0) == 0 : 0) { - $$1$off0$in = $29; - $$148$off0$in = $28; - break L4; - } - } else { - if ((HEAP32[$23 >> 2] | 0) == 1) { - $$1$off0$in = $29; - $$148$off0$in = $28; - break L4; - } - if (!(HEAP32[$24 >> 2] & 2)) { - $$1$off0$in = $29; - $$148$off0$in = $28; - break L4; - } - } - HEAP8[$9 >> 0] = 0; - HEAP8[$11 >> 0] = 0; - __ZNK10__cxxabiv122__base_class_type_info16search_above_dstEPNS_19__dynamic_cast_infoEPKvS4_ib($$0, $1, $2, $3, $4, $5); - $31 = HEAP8[$9 >> 0] | 0; - $43 = $31 | $29; - $38 = HEAP8[$11 >> 0] | 0; - $45 = $38 | $28; - $$0 = $$0 + 8 | 0; - if ($$0 >>> 0 >= $16 >>> 0) { - $$1$off0$in = $43; - $$148$off0$in = $45; - break; - } else { - $$046 = $43; - $$047 = $45; - } - } - } else { - $$1$off0$in = $18; - $$148$off0$in = $20; - } while (0); - HEAP8[$9 >> 0] = $$1$off0$in << 24 >> 24 != 0 & 1; - HEAP8[$11 >> 0] = $$148$off0$in << 24 >> 24 != 0 & 1; + $add$ptr = (HEAP32[$input_buf + ($ci$041 << 2) >> 2] | 0) + ((Math_imul(HEAP32[$0 + 100 + ($ci$041 << 2) >> 2] | 0, HEAP32[$in_row_group_ctr >> 2] | 0) | 0) << 2) | 0; + FUNCTION_TABLE_viiii[HEAP32[$0 + 52 + ($ci$041 << 2) >> 2] & 31]($cinfo, $compptr$042, $add$ptr, $0 + 12 + ($ci$041 << 2) | 0); + $ci$041 = $ci$041 + 1 | 0; + if (($ci$041 | 0) >= (HEAP32[$num_components >> 2] | 0)) break; else $compptr$042 = $compptr$042 + 88 | 0; + } + $$pre = HEAP32[$max_v_samp_factor >> 2] | 0; + } else $$pre = $2; + HEAP32[$next_row_out >> 2] = 0; + $10 = 0; + $11 = $$pre; + } + $sub = $11 - $10 | 0; + $rows_to_go = $0 + 96 | 0; + $12 = HEAP32[$rows_to_go >> 2] | 0; + $spec$select = $sub >>> 0 > $12 >>> 0 ? $12 : $sub; + $13 = HEAP32[$out_row_ctr >> 2] | 0; + $sub13 = $out_rows_avail - $13 | 0; + $num_rows$1 = $spec$select >>> 0 > $sub13 >>> 0 ? $sub13 : $spec$select; + FUNCTION_TABLE_viiiii[HEAP32[(HEAP32[$cinfo + 480 >> 2] | 0) + 4 >> 2] & 63]($cinfo, $0 + 12 | 0, $10, $output_buf + ($13 << 2) | 0, $num_rows$1); + HEAP32[$out_row_ctr >> 2] = (HEAP32[$out_row_ctr >> 2] | 0) + $num_rows$1; + HEAP32[$rows_to_go >> 2] = (HEAP32[$rows_to_go >> 2] | 0) - $num_rows$1; + $add24 = (HEAP32[$next_row_out >> 2] | 0) + $num_rows$1 | 0; + HEAP32[$next_row_out >> 2] = $add24; + if (($add24 | 0) < (HEAP32[$max_v_samp_factor >> 2] | 0)) return; + HEAP32[$in_row_group_ctr >> 2] = (HEAP32[$in_row_group_ctr >> 2] | 0) + 1; + return; +} + +function __ZNK12_GLOBAL__N_116itanium_demangle19SpecialSubstitution9printLeftERNS_12OutputStreamE($this, $S) { + $this = $this | 0; + $S = $S | 0; + var $agg$tmp = 0, $agg$tmp12 = 0, $agg$tmp15 = 0, $agg$tmp15$byval_copy = 0, $agg$tmp3 = 0, $agg$tmp6 = 0, $agg$tmp9 = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 64 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(64); + $agg$tmp15$byval_copy = sp + 48 | 0; + $agg$tmp = sp + 40 | 0; + $agg$tmp3 = sp + 32 | 0; + $agg$tmp6 = sp + 24 | 0; + $agg$tmp9 = sp + 16 | 0; + $agg$tmp12 = sp + 8 | 0; + $agg$tmp15 = sp; + switch (HEAP32[$this + 8 >> 2] | 0) { + case 0: + { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, 52600); + HEAP32[$agg$tmp15$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp15$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp15$byval_copy); + break; + } + case 1: + { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp3, 52615); + HEAP32[$agg$tmp15$byval_copy >> 2] = HEAP32[$agg$tmp3 >> 2]; + HEAP32[$agg$tmp15$byval_copy + 4 >> 2] = HEAP32[$agg$tmp3 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp15$byval_copy); + break; + } + case 2: + { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp6, 58021); + HEAP32[$agg$tmp15$byval_copy >> 2] = HEAP32[$agg$tmp6 >> 2]; + HEAP32[$agg$tmp15$byval_copy + 4 >> 2] = HEAP32[$agg$tmp6 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp15$byval_copy); + break; + } + case 3: + { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp9, 52633); + HEAP32[$agg$tmp15$byval_copy >> 2] = HEAP32[$agg$tmp9 >> 2]; + HEAP32[$agg$tmp15$byval_copy + 4 >> 2] = HEAP32[$agg$tmp9 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp15$byval_copy); + break; + } + case 4: + { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp12, 52646); + HEAP32[$agg$tmp15$byval_copy >> 2] = HEAP32[$agg$tmp12 >> 2]; + HEAP32[$agg$tmp15$byval_copy + 4 >> 2] = HEAP32[$agg$tmp12 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp15$byval_copy); + break; + } + case 5: + { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp15, 52659); + HEAP32[$agg$tmp15$byval_copy >> 2] = HEAP32[$agg$tmp15 >> 2]; + HEAP32[$agg$tmp15$byval_copy + 4 >> 2] = HEAP32[$agg$tmp15 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp15$byval_copy); + break; + } + default: + {} } + STACKTOP = sp; return; } -function _memchr($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$0$lcssa = 0, $$035$lcssa = 0, $$035$lcssa65 = 0, $$03555 = 0, $$036$lcssa = 0, $$036$lcssa64 = 0, $$03654 = 0, $$046 = 0, $$137$lcssa = 0, $$137$lcssa66 = 0, $$13745 = 0, $$140 = 0, $$23839 = 0, $$in = 0, $$lcssa = 0, $11 = 0, $12 = 0, $16 = 0, $18 = 0, $20 = 0, $23 = 0, $29 = 0, $3 = 0, $30 = 0, $39 = 0, $7 = 0, $8 = 0, label = 0; - $3 = $1 & 255; - $7 = ($2 | 0) != 0; - L1 : do if ($7 & ($0 & 3 | 0) != 0) { - $8 = $1 & 255; - $$03555 = $0; - $$03654 = $2; - while (1) { - if ((HEAP8[$$03555 >> 0] | 0) == $8 << 24 >> 24) { - $$035$lcssa65 = $$03555; - $$036$lcssa64 = $$03654; - label = 6; - break L1; - } - $11 = $$03555 + 1 | 0; - $12 = $$03654 + -1 | 0; - $16 = ($12 | 0) != 0; - if ($16 & ($11 & 3 | 0) != 0) { - $$03555 = $11; - $$03654 = $12; - } else { - $$035$lcssa = $11; - $$036$lcssa = $12; - $$lcssa = $16; - label = 5; - break; - } +function __ZN12_GLOBAL__N_116itanium_demangle13ParameterPackC2ENS0_9NodeArrayE($this, $Data_) { + $this = $this | 0; + $Data_ = $Data_ | 0; + var $0 = 0, $5 = 0, $6 = 0, $ArrayCache = 0, $Data = 0, $FunctionCache = 0, $RHSComponentCache = 0, $__first$addr$0$i = 0, $__first$addr$0$i1 = 0, $__first$addr$0$i8 = 0, $call = 0, $call10 = 0, $call17 = 0, $call19 = 0, $call4 = 0, $call8 = 0, label = 0; + __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($this, 27, 1, 1, 1); + HEAP32[$this >> 2] = 17912; + $Data = $this + 8 | 0; + $0 = $Data_; + $5 = HEAP32[$0 + 4 >> 2] | 0; + $6 = $Data; + HEAP32[$6 >> 2] = HEAP32[$0 >> 2]; + HEAP32[$6 + 4 >> 2] = $5; + $RHSComponentCache = $this + 5 | 0; + HEAP8[$RHSComponentCache >> 0] = 2; + $FunctionCache = $this + 7 | 0; + HEAP8[$FunctionCache >> 0] = 2; + $ArrayCache = $this + 6 | 0; + HEAP8[$ArrayCache >> 0] = 2; + $call = __ZNK12_GLOBAL__N_116itanium_demangle9NodeArray5beginEv($Data) | 0; + $call4 = __ZNK12_GLOBAL__N_116itanium_demangle9NodeArray3endEv($Data) | 0; + $__first$addr$0$i = $call; + while (1) { + if (($__first$addr$0$i | 0) == ($call4 | 0)) { + label = 4; + break; } - } else { - $$035$lcssa = $0; - $$036$lcssa = $2; - $$lcssa = $7; - label = 5; - } while (0); - if ((label | 0) == 5) if ($$lcssa) { - $$035$lcssa65 = $$035$lcssa; - $$036$lcssa64 = $$036$lcssa; - label = 6; - } else label = 16; - L8 : do if ((label | 0) == 6) { - $18 = $1 & 255; - if ((HEAP8[$$035$lcssa65 >> 0] | 0) == $18 << 24 >> 24) if (!$$036$lcssa64) { - label = 16; + if (__ZZN12_GLOBAL__N_116itanium_demangle13ParameterPackC1ENS0_9NodeArrayEENKUlPNS0_4NodeEE_clES4_(HEAP32[$__first$addr$0$i >> 2] | 0) | 0) $__first$addr$0$i = $__first$addr$0$i + 4 | 0; else break; + } + if ((label | 0) == 4) HEAP8[$ArrayCache >> 0] = 1; + $call8 = __ZNK12_GLOBAL__N_116itanium_demangle9NodeArray5beginEv($Data) | 0; + $call10 = __ZNK12_GLOBAL__N_116itanium_demangle9NodeArray3endEv($Data) | 0; + $__first$addr$0$i1 = $call8; + while (1) { + if (($__first$addr$0$i1 | 0) == ($call10 | 0)) { + label = 8; break; - } else { - $39 = $$035$lcssa65; + } + if (__ZZN12_GLOBAL__N_116itanium_demangle13ParameterPackC1ENS0_9NodeArrayEENKUlPNS0_4NodeEE0_clES4_(HEAP32[$__first$addr$0$i1 >> 2] | 0) | 0) $__first$addr$0$i1 = $__first$addr$0$i1 + 4 | 0; else break; + } + if ((label | 0) == 8) HEAP8[$FunctionCache >> 0] = 1; + $call17 = __ZNK12_GLOBAL__N_116itanium_demangle9NodeArray5beginEv($Data) | 0; + $call19 = __ZNK12_GLOBAL__N_116itanium_demangle9NodeArray3endEv($Data) | 0; + $__first$addr$0$i8 = $call17; + while (1) { + if (($__first$addr$0$i8 | 0) == ($call19 | 0)) { + label = 12; break; } - $20 = Math_imul($3, 16843009) | 0; - L13 : do if ($$036$lcssa64 >>> 0 > 3) { - $$046 = $$035$lcssa65; - $$13745 = $$036$lcssa64; - while (1) { - $23 = HEAP32[$$046 >> 2] ^ $20; - if (($23 & -2139062144 ^ -2139062144) & $23 + -16843009 | 0) { - $$137$lcssa66 = $$13745; - $$in = $$046; - break L13; - } - $29 = $$046 + 4 | 0; - $30 = $$13745 + -4 | 0; - if ($30 >>> 0 > 3) { - $$046 = $29; - $$13745 = $30; - } else { - $$0$lcssa = $29; - $$137$lcssa = $30; - label = 11; - break; - } + if (__ZZN12_GLOBAL__N_116itanium_demangle13ParameterPackC1ENS0_9NodeArrayEENKUlPNS0_4NodeEE1_clES4_(HEAP32[$__first$addr$0$i8 >> 2] | 0) | 0) $__first$addr$0$i8 = $__first$addr$0$i8 + 4 | 0; else break; + } + if ((label | 0) == 12) HEAP8[$RHSComponentCache >> 0] = 1; + return; +} + +function __ZNSt3__216__pad_and_outputIwNS_11char_traitsIwEEEENS_19ostreambuf_iteratorIT_T0_EES6_PKS4_S8_S8_RNS_8ios_baseES4_($__s, $__ob, $__op, $__oe, $__iob, $__fl) { + $__s = $__s | 0; + $__ob = $__ob | 0; + $__op = $__op | 0; + $__oe = $__oe | 0; + $__iob = $__iob | 0; + $__fl = $__fl | 0; + var $0 = 0, $1 = 0, $__ns$0 = 0, $__sp = 0, $__width_$i = 0, $retval$sroa$0$2 = 0, $sub$ptr$div = 0, $sub$ptr$div31 = 0, $sub$ptr$div7 = 0, $sub$ptr$lhs$cast = 0, $sub$ptr$lhs$cast4 = 0, $sub$ptr$rhs$cast = 0, $sub$ptr$sub30 = 0, $sub$ptr$sub6 = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $__sp = sp; + $0 = HEAP32[$__s >> 2] | 0; + L1 : do if (!$0) $retval$sroa$0$2 = 0; else { + $sub$ptr$lhs$cast = $__oe; + $sub$ptr$rhs$cast = $__ob; + $sub$ptr$div = $sub$ptr$lhs$cast - $sub$ptr$rhs$cast >> 2; + $__width_$i = $__iob + 12 | 0; + $1 = HEAP32[$__width_$i >> 2] | 0; + $__ns$0 = ($1 | 0) > ($sub$ptr$div | 0) ? $1 - $sub$ptr$div | 0 : 0; + $sub$ptr$lhs$cast4 = $__op; + $sub$ptr$sub6 = $sub$ptr$lhs$cast4 - $sub$ptr$rhs$cast | 0; + $sub$ptr$div7 = $sub$ptr$sub6 >> 2; + if (($sub$ptr$sub6 | 0) > 0 ? (FUNCTION_TABLE_iiii[HEAP32[(HEAP32[$0 >> 2] | 0) + 48 >> 2] & 63]($0, $__ob, $sub$ptr$div7) | 0) != ($sub$ptr$div7 | 0) : 0) { + HEAP32[$__s >> 2] = 0; + $retval$sroa$0$2 = 0; + break; + } + do if (($__ns$0 | 0) > 0) { + HEAP32[$__sp >> 2] = 0; + HEAP32[$__sp + 4 >> 2] = 0; + HEAP32[$__sp + 8 >> 2] = 0; + __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6__initEmw($__sp, $__ns$0, $__fl); + if ((FUNCTION_TABLE_iiii[HEAP32[(HEAP32[$0 >> 2] | 0) + 48 >> 2] & 63]($0, (HEAP8[$__sp + 8 + 3 >> 0] | 0) < 0 ? HEAP32[$__sp >> 2] | 0 : $__sp, $__ns$0) | 0) == ($__ns$0 | 0)) { + __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev($__sp); + break; + } else { + HEAP32[$__s >> 2] = 0; + __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev($__sp); + $retval$sroa$0$2 = 0; + break L1; } - } else { - $$0$lcssa = $$035$lcssa65; - $$137$lcssa = $$036$lcssa64; - label = 11; } while (0); - if ((label | 0) == 11) if (!$$137$lcssa) { - label = 16; + $sub$ptr$sub30 = $sub$ptr$lhs$cast - $sub$ptr$lhs$cast4 | 0; + $sub$ptr$div31 = $sub$ptr$sub30 >> 2; + if (($sub$ptr$sub30 | 0) > 0 ? (FUNCTION_TABLE_iiii[HEAP32[(HEAP32[$0 >> 2] | 0) + 48 >> 2] & 63]($0, $__op, $sub$ptr$div31) | 0) != ($sub$ptr$div31 | 0) : 0) { + HEAP32[$__s >> 2] = 0; + $retval$sroa$0$2 = 0; break; - } else { - $$137$lcssa66 = $$137$lcssa; - $$in = $$0$lcssa; - } - $$140 = $$in; - $$23839 = $$137$lcssa66; - while (1) { - if ((HEAP8[$$140 >> 0] | 0) == $18 << 24 >> 24) { - $39 = $$140; - break L8; - } - $$23839 = $$23839 + -1 | 0; - if (!$$23839) { - label = 16; - break; - } else $$140 = $$140 + 1 | 0; } + HEAP32[$__width_$i >> 2] = 0; + $retval$sroa$0$2 = $0; } while (0); - if ((label | 0) == 16) $39 = 0; - return $39 | 0; + STACKTOP = sp; + return $retval$sroa$0$2 | 0; } -function __ZN6vision10DoGPyramid5allocEPKNS_25GaussianScaleSpacePyramidE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $$026 = 0, $10 = 0, $15 = 0, $19 = 0, $2 = 0, $21 = 0, $23 = 0, $25 = 0, $26 = 0, $27 = 0, $29 = 0, $30 = 0, $35 = 0, $36 = 0, $37 = 0, $41 = 0, sp = 0; +function __ZN6vision21OrientationAssignment16computeGradientsEPKNS_25GaussianScaleSpacePyramidE($this, $pyramid) { + $this = $this | 0; + $pyramid = $pyramid | 0; + var $__begin_$i12 = 0, $arrayidx$i = 0, $call = 0, $call$i1$i = 0, $call$i2$i = 0, $call13 = 0, $call16 = 0, $call17 = 0, $call18 = 0, $call3 = 0, $call5 = 0, $i$0 = 0, $ref$tmp$i = 0, label = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $2 = sp; - if (!(__ZNK6vision25GaussianScaleSpacePyramid4sizeEv($1) | 0)) { - $10 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 26705) | 0, 26748) | 0, 39072) | 0, 53) | 0, 39079) | 0, 26843) | 0; - __ZNKSt3__28ios_base6getlocEv($2, $10 + (HEAP32[(HEAP32[$10 >> 2] | 0) + -12 >> 2] | 0) | 0); - $15 = __ZNKSt3__26locale9use_facetERNS0_2idE($2, 66512) | 0; - $19 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$15 >> 2] | 0) + 28 >> 2] & 127]($15, 10) | 0; - __ZNSt3__26localeD2Ev($2); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($10, $19) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($10) | 0; + $ref$tmp$i = sp; + $__begin_$i12 = $this + 40 | 0; + $i$0 = 0; + while (1) { + $call = __ZNK6vision25GaussianScaleSpacePyramid6imagesEv($pyramid) | 0; + if ($i$0 >>> 0 >= (HEAP32[$call + 4 >> 2] | 0) - (HEAP32[$call >> 2] | 0) >> 5 >>> 0) { + label = 3; + break; + } + $call3 = __ZNK6vision25GaussianScaleSpacePyramid6imagesEv($pyramid) | 0; + $arrayidx$i = (HEAP32[$call3 >> 2] | 0) + ($i$0 << 5) | 0; + $call5 = __ZNK6vision5Image5widthEv($arrayidx$i) | 0; + if (($call5 | 0) != ((__ZNK6vision5Image4stepEv($arrayidx$i) | 0) >>> 2 | 0)) { + label = 5; + break; + } + $call16 = __ZN6vision5Image3getIfEEPT_v((HEAP32[$__begin_$i12 >> 2] | 0) + ($i$0 << 5) | 0) | 0; + $call17 = __ZNK6vision5Image3getIfEEPKT_v($arrayidx$i) | 0; + $call18 = __ZNK6vision5Image5widthEv($arrayidx$i) | 0; + __ZN6vision21ComputePolarGradientsEPfPKfmm($call16, $call17, $call18, __ZNK6vision5Image6heightEv($arrayidx$i) | 0); + $i$0 = $i$0 + 1 | 0; + } + if ((label | 0) == 3) { + STACKTOP = sp; + return; + } else if ((label | 0) == 5) { + $call13 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 32046) | 0, 32107) | 0, 39794) | 0, 96) | 0, 39801) | 0, 32234) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i, $call13 + (HEAP32[(HEAP32[$call13 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i, 67360) | 0; + $call$i2$i = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i >> 2] | 0) + 28 >> 2] & 127]($call$i1$i, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call13, $call$i2$i) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call13) | 0; _abort(); } - $21 = __ZNK6vision5Image4typeEv(__ZNK6vision25GaussianScaleSpacePyramid3getEmm($1, 0, 0) | 0) | 0; - $23 = __ZNK6vision5Image5widthEv(__ZNK6vision25GaussianScaleSpacePyramid3getEmm($1, 0, 0) | 0) | 0; - $25 = __ZNK6vision5Image6heightEv(__ZNK6vision25GaussianScaleSpacePyramid3getEmm($1, 0, 0) | 0) | 0; - $26 = __ZNK6vision25GaussianScaleSpacePyramid10numOctavesEv($1) | 0; - $27 = $0 + 12 | 0; - HEAP32[$27 >> 2] = $26; - $29 = (__ZNK6vision25GaussianScaleSpacePyramid18numScalesPerOctaveEv($1) | 0) + -1 | 0; - $30 = $0 + 16 | 0; - HEAP32[$30 >> 2] = $29; - __ZNSt3__26vectorIN6vision5ImageENS_9allocatorIS2_EEE6resizeEm($0, Math_imul(HEAP32[$27 >> 2] | 0, $29) | 0); - $$026 = 0; +} + +function __ZL18genBWImageTwoThirdPhiiPiS0_($image, $xsize, $ysize, $newXsize, $newYsize) { + $image = $image | 0; + $xsize = $xsize | 0; + $ysize = $ysize | 0; + $newXsize = $newXsize | 0; + $newYsize = $newYsize | 0; + var $add$ptr23 = 0, $add$ptr31 = 0, $add$ptr48 = 0, $add$ptr69 = 0, $call = 0, $call$pn = 0, $div = 0, $div1 = 0, $i$0 = 0, $j$0 = 0, $mul = 0, $mul2 = 0, $mul7 = 0, $p1$0 = 0, $p2$0 = 0, $p3$0 = 0, $q1$0 = 0, $q1$1 = 0, $q2$1 = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $div = ($xsize | 0) / 3 | 0; + $mul = $div << 1; + HEAP32[$newXsize >> 2] = $mul; + $div1 = ($ysize | 0) / 3 | 0; + $mul2 = $div1 << 1; + HEAP32[$newYsize >> 2] = $mul2; + $call = _malloc(Math_imul($mul2, $mul) | 0) | 0; + if (!$call) { + _arLog(0, 3, 46772, sp); + _exit(1); + } + $call$pn = $call; + $j$0 = 0; + $q1$0 = $call; while (1) { - if ($$026 >>> 0 >= (HEAP32[$27 >> 2] | 0) >>> 0) break; - $35 = $23 >>> $$026; - $36 = $25 >>> $$026; - $$0 = 0; + if (($j$0 | 0) >= ($div1 | 0)) break; + $mul7 = $j$0 * 3 | 0; + $i$0 = 0; + $p1$0 = $image + (Math_imul($mul7, $xsize) | 0) | 0; + $p2$0 = $image + (Math_imul($mul7 + 1 | 0, $xsize) | 0) | 0; + $p3$0 = $image + (Math_imul($mul7 + 2 | 0, $xsize) | 0) | 0; + $q1$1 = $q1$0; + $q2$1 = $call$pn + $mul | 0; while (1) { - $37 = HEAP32[$30 >> 2] | 0; - if ($$0 >>> 0 >= $37 >>> 0) break; - $41 = (Math_imul($37, $$026) | 0) + $$0 | 0; - __ZN6vision5Image5allocENS_9ImageTypeEmmim((HEAP32[$0 >> 2] | 0) + ($41 << 5) | 0, $21, $35, $36, -1, 1); - $$0 = $$0 + 1 | 0; + if (($i$0 | 0) >= ($div | 0)) break; + $add$ptr23 = $p1$0 + 1 | 0; + $add$ptr31 = $p2$0 + 1 | 0; + HEAP8[$q1$1 >> 0] = (((HEAPU8[$add$ptr23 >> 0] | 0) >>> 1 & 255) + (HEAPU8[$p1$0 >> 0] | 0) + ((HEAPU8[$p2$0 >> 0] | 0) >>> 1 & 255) + ((HEAPU8[$add$ptr31 >> 0] | 0) >>> 2 & 255) << 2 >>> 0) / 9 | 0; + $add$ptr48 = $p3$0 + 1 | 0; + HEAP8[$q2$1 >> 0] = ((((HEAPU8[$add$ptr31 >> 0] | 0) >>> 2) + ((HEAPU8[$p2$0 >> 0] | 0) >>> 1) & 255) + (HEAPU8[$p3$0 >> 0] | 0) + ((HEAPU8[$add$ptr48 >> 0] | 0) >>> 1 & 255) << 2 >>> 0) / 9 | 0; + $add$ptr69 = $p2$0 + 2 | 0; + HEAP8[$q1$1 + 1 >> 0] = (((HEAPU8[$add$ptr23 >> 0] | 0) >>> 1 & 255) + (HEAPU8[$p1$0 + 2 >> 0] | 0) + ((HEAPU8[$add$ptr31 >> 0] | 0) >>> 2 & 255) + ((HEAPU8[$add$ptr69 >> 0] | 0) >>> 1 & 255) << 2 >>> 0) / 9 | 0; + HEAP8[$q2$1 + 1 >> 0] = ((((HEAPU8[$add$ptr69 >> 0] | 0) >>> 1) + ((HEAPU8[$add$ptr31 >> 0] | 0) >>> 2) & 255) + ((HEAPU8[$add$ptr48 >> 0] | 0) >>> 1 & 255) + (HEAPU8[$p3$0 + 2 >> 0] | 0) << 2 >>> 0) / 9 | 0; + $i$0 = $i$0 + 1 | 0; + $p1$0 = $p1$0 + 3 | 0; + $p2$0 = $p2$0 + 3 | 0; + $p3$0 = $p3$0 + 3 | 0; + $q1$1 = $q1$1 + 2 | 0; + $q2$1 = $q2$1 + 2 | 0; } - $$026 = $$026 + 1 | 0; + $call$pn = $q2$1; + $j$0 = $j$0 + 1 | 0; + $q1$0 = $q1$1 + $mul | 0; } STACKTOP = sp; + return $call | 0; +} + +function __ZNK10__cxxabiv120__si_class_type_info16search_below_dstEPNS_19__dynamic_cast_infoEPKvib($this, $info, $current_ptr, $path_below, $use_strcmp) { + $this = $this | 0; + $info = $info | 0; + $current_ptr = $current_ptr | 0; + $path_below = $path_below | 0; + $use_strcmp = $use_strcmp | 0; + var $12 = 0, $5 = 0, $dst_ptr_not_leading_to_static_ptr = 0, $found_any_static_type = 0, $found_our_static_ptr = 0, $is_dst_type_derived_from_static_type = 0, $number_to_dst_ptr = 0, $tobool19 = 0; + L1 : do if (!(__ZL8is_equalPKSt9type_infoS1_b($this, HEAP32[$info + 8 >> 2] | 0, $use_strcmp) | 0)) { + if (!(__ZL8is_equalPKSt9type_infoS1_b($this, HEAP32[$info >> 2] | 0, $use_strcmp) | 0)) { + $12 = HEAP32[$this + 8 >> 2] | 0; + FUNCTION_TABLE_viiiii[HEAP32[(HEAP32[$12 >> 2] | 0) + 24 >> 2] & 63]($12, $info, $current_ptr, $path_below, $use_strcmp); + break; + } + if ((HEAP32[$info + 16 >> 2] | 0) != ($current_ptr | 0) ? ($dst_ptr_not_leading_to_static_ptr = $info + 20 | 0, (HEAP32[$dst_ptr_not_leading_to_static_ptr >> 2] | 0) != ($current_ptr | 0)) : 0) { + HEAP32[$info + 32 >> 2] = $path_below; + $is_dst_type_derived_from_static_type = $info + 44 | 0; + do if ((HEAP32[$is_dst_type_derived_from_static_type >> 2] | 0) != 4) { + $found_our_static_ptr = $info + 52 | 0; + HEAP8[$found_our_static_ptr >> 0] = 0; + $found_any_static_type = $info + 53 | 0; + HEAP8[$found_any_static_type >> 0] = 0; + $5 = HEAP32[$this + 8 >> 2] | 0; + FUNCTION_TABLE_viiiiii[HEAP32[(HEAP32[$5 >> 2] | 0) + 20 >> 2] & 7]($5, $info, $current_ptr, $current_ptr, 1, $use_strcmp); + if (HEAP8[$found_any_static_type >> 0] | 0) { + $tobool19 = (HEAP8[$found_our_static_ptr >> 0] | 0) == 0; + HEAP32[$is_dst_type_derived_from_static_type >> 2] = 3; + if ($tobool19) break; else break L1; + } else { + HEAP32[$is_dst_type_derived_from_static_type >> 2] = 4; + break; + } + } while (0); + HEAP32[$dst_ptr_not_leading_to_static_ptr >> 2] = $current_ptr; + $number_to_dst_ptr = $info + 40 | 0; + HEAP32[$number_to_dst_ptr >> 2] = (HEAP32[$number_to_dst_ptr >> 2] | 0) + 1; + if ((HEAP32[$info + 36 >> 2] | 0) != 1) break; + if ((HEAP32[$info + 24 >> 2] | 0) != 2) break; + HEAP8[$info + 54 >> 0] = 1; + break; + } + if (($path_below | 0) == 1) HEAP32[$info + 32 >> 2] = 1; + } else __ZNK10__cxxabiv117__class_type_info29process_static_type_below_dstEPNS_19__dynamic_cast_infoEPKvi(0, $info, $current_ptr, $path_below); while (0); return; } -function ___embind_register_native_and_builtin_types() { - __embind_register_void(__ZN10emscripten8internal6TypeIDIvvE3getEv() | 0, 57068); - __embind_register_bool(__ZN10emscripten8internal6TypeIDIbvE3getEv() | 0, 57073, 1, 1, 0); - __ZN12_GLOBAL__N_116register_integerIcEEvPKc(57078); - __ZN12_GLOBAL__N_116register_integerIaEEvPKc(57083); - __ZN12_GLOBAL__N_116register_integerIhEEvPKc(57095); - __ZN12_GLOBAL__N_116register_integerIsEEvPKc(57109); - __ZN12_GLOBAL__N_116register_integerItEEvPKc(57115); - __ZN12_GLOBAL__N_116register_integerIiEEvPKc(57130); - __ZN12_GLOBAL__N_116register_integerIjEEvPKc(57134); - __ZN12_GLOBAL__N_116register_integerIlEEvPKc(57147); - __ZN12_GLOBAL__N_116register_integerImEEvPKc(57152); - __ZN12_GLOBAL__N_114register_floatIfEEvPKc(57166); - __ZN12_GLOBAL__N_114register_floatIdEEvPKc(57172); - __embind_register_std_string(__ZN10emscripten8internal6TypeIDINSt3__212basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEvE3getEv() | 0, 57179); - __embind_register_std_string(__ZN10emscripten8internal6TypeIDINSt3__212basic_stringIhNS2_11char_traitsIhEENS2_9allocatorIhEEEEvE3getEv() | 0, 57191); - __embind_register_std_wstring(__ZN10emscripten8internal6TypeIDINSt3__212basic_stringIwNS2_11char_traitsIwEENS2_9allocatorIwEEEEvE3getEv() | 0, 4, 57224); - __embind_register_emval(__ZN10emscripten8internal6TypeIDINS_3valEvE3getEv() | 0, 57237); - __ZN12_GLOBAL__N_120register_memory_viewIcEEvPKc(57253); - __ZN12_GLOBAL__N_120register_memory_viewIaEEvPKc(57283); - __ZN12_GLOBAL__N_120register_memory_viewIhEEvPKc(57320); - __ZN12_GLOBAL__N_120register_memory_viewIsEEvPKc(57359); - __ZN12_GLOBAL__N_120register_memory_viewItEEvPKc(57390); - __ZN12_GLOBAL__N_120register_memory_viewIiEEvPKc(57430); - __ZN12_GLOBAL__N_120register_memory_viewIjEEvPKc(57459); - __ZN12_GLOBAL__N_120register_memory_viewIlEEvPKc(57497); - __ZN12_GLOBAL__N_120register_memory_viewImEEvPKc(57527); - __ZN12_GLOBAL__N_120register_memory_viewIaEEvPKc(57566); - __ZN12_GLOBAL__N_120register_memory_viewIhEEvPKc(57598); - __ZN12_GLOBAL__N_120register_memory_viewIsEEvPKc(57631); - __ZN12_GLOBAL__N_120register_memory_viewItEEvPKc(57664); - __ZN12_GLOBAL__N_120register_memory_viewIiEEvPKc(57698); - __ZN12_GLOBAL__N_120register_memory_viewIjEEvPKc(57731); - __ZN12_GLOBAL__N_120register_memory_viewIfEEvPKc(57765); - __ZN12_GLOBAL__N_120register_memory_viewIdEEvPKc(57796); - __ZN12_GLOBAL__N_120register_memory_viewIeEEvPKc(57828); - return; -} - -function __ZNSt3__29__num_getIwE17__stage2_int_loopEwiPcRS2_RjwRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSD_PKw($0, $1, $2, $3, $4, $5, $6, $7, $8, $9) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - $6 = $6 | 0; - $7 = $7 | 0; - $8 = $8 | 0; - $9 = $9 | 0; - var $$0$i$idx = 0, $$0$i$ptr = 0, $$0$lcssa$i = 0, $$1 = 0, $10 = 0, $11 = 0, $14 = 0, $21 = 0, $29 = 0, $34 = 0, $36 = 0, $42 = 0, $43 = 0, $56 = 0, $58 = 0, label = 0; - $10 = HEAP32[$3 >> 2] | 0; - $11 = ($10 | 0) == ($2 | 0); - do if ($11) { - $14 = (HEAP32[$9 + 96 >> 2] | 0) == ($0 | 0); - if (!$14 ? (HEAP32[$9 + 100 >> 2] | 0) != ($0 | 0) : 0) { +function __ZN6vision27OrthogonalizePivot8x9Basis1IfEEbPT_S2_($Q, $A) { + $Q = $Q | 0; + $A = $A | 0; + var $add$ptr = 0, $add$ptr1 = 0, $add$ptr10 = 0, $add$ptr12 = 0, $add$ptr2 = 0, $add$ptr4 = 0, $add$ptr6 = 0, $add$ptr8 = 0, $arrayidx34 = 0, $call = 0.0, $call16 = 0.0, $call19 = 0.0, $call22 = 0.0, $call25 = 0.0, $call28 = 0.0, $call31 = 0.0, $call33 = 0, $mul = 0, $retval$0 = 0, $ss = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 32 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); + $ss = sp; + $add$ptr = $Q + 36 | 0; + $add$ptr1 = $A + 36 | 0; + __ZN6vision21AccumulateProjection9IfEEvPT_PKS1_S4_($add$ptr, $Q, $add$ptr1); + $add$ptr2 = $Q + 72 | 0; + __ZN6vision21AccumulateProjection9IfEEvPT_PKS1_S4_($add$ptr2, $Q, $A + 72 | 0); + $add$ptr4 = $Q + 108 | 0; + __ZN6vision21AccumulateProjection9IfEEvPT_PKS1_S4_($add$ptr4, $Q, $A + 108 | 0); + $add$ptr6 = $Q + 144 | 0; + __ZN6vision21AccumulateProjection9IfEEvPT_PKS1_S4_($add$ptr6, $Q, $A + 144 | 0); + $add$ptr8 = $Q + 180 | 0; + __ZN6vision21AccumulateProjection9IfEEvPT_PKS1_S4_($add$ptr8, $Q, $A + 180 | 0); + $add$ptr10 = $Q + 216 | 0; + __ZN6vision21AccumulateProjection9IfEEvPT_PKS1_S4_($add$ptr10, $Q, $A + 216 | 0); + $add$ptr12 = $Q + 252 | 0; + __ZN6vision21AccumulateProjection9IfEEvPT_PKS1_S4_($add$ptr12, $Q, $A + 252 | 0); + $call = +__ZN6vision11SumSquares9IfEET_PKS1_($add$ptr); + HEAPF32[$ss >> 2] = $call; + $call16 = +__ZN6vision11SumSquares9IfEET_PKS1_($add$ptr2); + HEAPF32[$ss + 4 >> 2] = $call16; + $call19 = +__ZN6vision11SumSquares9IfEET_PKS1_($add$ptr4); + HEAPF32[$ss + 8 >> 2] = $call19; + $call22 = +__ZN6vision11SumSquares9IfEET_PKS1_($add$ptr6); + HEAPF32[$ss + 12 >> 2] = $call22; + $call25 = +__ZN6vision11SumSquares9IfEET_PKS1_($add$ptr8); + HEAPF32[$ss + 16 >> 2] = $call25; + $call28 = +__ZN6vision11SumSquares9IfEET_PKS1_($add$ptr10); + HEAPF32[$ss + 20 >> 2] = $call28; + $call31 = +__ZN6vision11SumSquares9IfEET_PKS1_($add$ptr12); + HEAPF32[$ss + 24 >> 2] = $call31; + $call33 = __ZN6vision9MaxIndex7IfEEiPKT_($ss) | 0; + $arrayidx34 = $ss + ($call33 << 2) | 0; + if (+HEAPF32[$arrayidx34 >> 2] == 0.0) $retval$0 = 0; else { + $mul = $call33 * 9 | 0; + __ZN6vision5Swap9IfEEvPT_S2_($add$ptr, $add$ptr + ($mul << 2) | 0); + __ZN6vision5Swap9IfEEvPT_S2_($add$ptr1, $add$ptr1 + ($mul << 2) | 0); + __ZN6vision12ScaleVector9IfEEvPT_PKS1_S1_($add$ptr, $add$ptr, 1.0 / +Math_sqrt(+(+HEAPF32[$arrayidx34 >> 2]))); + $retval$0 = 1; + } + STACKTOP = sp; + return $retval$0 | 0; +} + +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E18parseTemplateParamEv($this) { + $this = $this | 0; + var $3 = 0, $Index = 0, $TemplateParams = 0, $call16 = 0, $call25 = 0, $inc = 0, $ref$tmp = 0, $retval$1 = 0, $retval$2 = 0, label = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $Index = sp + 4 | 0; + $ref$tmp = sp; + if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($this, 84) | 0) { + HEAP32[$Index >> 2] = 0; + if (!(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($this, 95) | 0)) if (!(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E20parsePositiveIntegerEPm($this, $Index) | 0) ? ($inc = (HEAP32[$Index >> 2] | 0) + 1 | 0, HEAP32[$Index >> 2] = $inc, __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($this, 95) | 0) : 0) { + $3 = $inc; + label = 5; + } else $retval$1 = 0; else { + $3 = 0; label = 5; - break; } - HEAP32[$3 >> 2] = $2 + 1; - HEAP8[$2 >> 0] = $14 ? 43 : 45; - HEAP32[$4 >> 2] = 0; - $$1 = 0; - } else label = 5; while (0); - L6 : do if ((label | 0) == 5) { - $21 = HEAP8[$6 + 11 >> 0] | 0; - if (($0 | 0) == ($5 | 0) ? (($21 << 24 >> 24 < 0 ? HEAP32[$6 + 4 >> 2] | 0 : $21 & 255) | 0) != 0 : 0) { - $29 = HEAP32[$8 >> 2] | 0; - if (($29 - $7 | 0) >= 160) { - $$1 = 0; + do if ((label | 0) == 5) { + if (HEAP8[$this + 362 >> 0] | 0) { + $retval$1 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA5_KcEEEPNS0_4NodeEDpOT0_($this, 52415) | 0; break; } - $34 = HEAP32[$4 >> 2] | 0; - HEAP32[$8 >> 2] = $29 + 4; - HEAP32[$29 >> 2] = $34; - HEAP32[$4 >> 2] = 0; - $$1 = 0; - break; - } - $36 = $9 + 104 | 0; - $$0$i$idx = 0; - while (1) { - $$0$i$ptr = $9 + ($$0$i$idx << 2) | 0; - if (($$0$i$idx | 0) == 26) { - $$0$lcssa$i = $36; + if (HEAP8[$this + 361 >> 0] | 0) { + $call16 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_24ForwardTemplateReferenceEJRmEEEPNS0_4NodeEDpOT0_($this, $Index) | 0; + HEAP32[$ref$tmp >> 2] = $call16; + __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_24ForwardTemplateReferenceELm4EE9push_backERKS3_($this + 332 | 0, $ref$tmp); + $retval$1 = $call16; break; } - if ((HEAP32[$$0$i$ptr >> 2] | 0) == ($0 | 0)) { - $$0$lcssa$i = $$0$i$ptr; - break; - } else $$0$i$idx = $$0$i$idx + 1 | 0; - } - $42 = $$0$lcssa$i - $9 | 0; - $43 = $42 >> 2; - if (($42 | 0) > 92) $$1 = -1; else { - switch ($1 | 0) { - case 10: - case 8: - { - if (($43 | 0) >= ($1 | 0)) { - $$1 = -1; - break L6; - } + $TemplateParams = $this + 288 | 0; + if ($3 >>> 0 < (__ZNK12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm8EE4sizeEv($TemplateParams) | 0) >>> 0) { + $call25 = __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm8EEixEm($TemplateParams, $3) | 0; + $retval$1 = HEAP32[$call25 >> 2] | 0; + } else $retval$1 = 0; + } while (0); + $retval$2 = $retval$1; + } else $retval$2 = 0; + STACKTOP = sp; + return $retval$2 | 0; +} + +function _PCA($input, $output, $ev) { + $input = $input | 0; + $output = $output | 0; + $ev = $ev | 0; + var $0 = 0, $1 = 0, $call = 0, $cmp26 = 0, $cond = 0, $i$0 = 0, $i$1 = 0, $j$0 = 0, $j$1 = 0, $m1$0 = 0, $m1$1 = 0, $m2$0 = 0, $m2$1 = 0, $m2$2 = 0, $m2$3 = 0, $retval$0 = 0; + $0 = HEAP32[$input + 4 >> 2] | 0; + $1 = HEAP32[$input + 8 >> 2] | 0; + $cond = ($1 | 0) < ($0 | 0) ? $1 : $0; + L1 : do if (((!(($0 | 0) < 2 | ($1 | 0) < 2) ? (HEAP32[$output + 8 >> 2] | 0) == ($1 | 0) : 0) ? (HEAP32[$output + 4 >> 2] | 0) == ($cond | 0) : 0) ? (HEAP32[$ev + 4 >> 2] | 0) == ($cond | 0) : 0) { + $call = _arMatrixAlloc($cond, $cond) | 0; + if ((HEAP32[$call + 4 >> 2] | 0) == ($cond | 0) ? (HEAP32[$call + 8 >> 2] | 0) == ($cond | 0) : 0) { + $cmp26 = ($0 | 0) < ($1 | 0); + if ($cmp26) { + if ((_x_by_xt($input, $call) | 0) < 0) { + _arMatrixFree($call) | 0; + $retval$0 = -1; break; } - case 16: - { - if (($42 | 0) >= 88) { - if ($11) { - $$1 = -1; - break L6; - } - if (($10 - $2 | 0) >= 3) { - $$1 = -1; - break L6; - } - if ((HEAP8[$10 + -1 >> 0] | 0) != 48) { - $$1 = -1; - break L6; - } - HEAP32[$4 >> 2] = 0; - $56 = HEAP8[12928 + $43 >> 0] | 0; - HEAP32[$3 >> 2] = $10 + 1; - HEAP8[$10 >> 0] = $56; - $$1 = 0; - break L6; + } else if ((_xt_by_x($input, $call) | 0) < 0) { + _arMatrixFree($call) | 0; + $retval$0 = -1; + break; + } + if ((_QRM($call, $ev) | 0) < 0) { + _arMatrixFree($call) | 0; + $retval$0 = -1; + break; + } + L18 : do if ($cmp26) { + if ((_EV_create($input, $call, $output, $ev) | 0) < 0) { + _arMatrixFree($call) | 0; + $retval$0 = -1; + break L1; + } + } else { + $i$0 = 0; + $m1$0 = HEAP32[$call >> 2] | 0; + $m2$0 = HEAP32[$output >> 2] | 0; + while (1) { + if (($i$0 | 0) >= ($cond | 0)) break; + if (+HEAPF64[(HEAP32[$ev >> 2] | 0) + ($i$0 << 3) >> 3] < 1.0e-16) break; + $j$0 = 0; + $m1$1 = $m1$0; + $m2$1 = $m2$0; + while (1) { + if (($j$0 | 0) >= ($cond | 0)) break; + HEAPF64[$m2$1 >> 3] = +HEAPF64[$m1$1 >> 3]; + $j$0 = $j$0 + 1 | 0; + $m1$1 = $m1$1 + 8 | 0; + $m2$1 = $m2$1 + 8 | 0; + } + $i$0 = $i$0 + 1 | 0; + $m1$0 = $m1$1; + $m2$0 = $m2$1; + } + $i$1 = $i$0; + $m2$2 = $m2$0; + while (1) { + if (($i$1 | 0) >= ($cond | 0)) break L18; + HEAPF64[(HEAP32[$ev >> 2] | 0) + ($i$1 << 3) >> 3] = 0.0; + $j$1 = 0; + $m2$3 = $m2$2; + while (1) { + if (($j$1 | 0) >= ($cond | 0)) break; + HEAPF64[$m2$3 >> 3] = 0.0; + $j$1 = $j$1 + 1 | 0; + $m2$3 = $m2$3 + 8 | 0; } - break; + $i$1 = $i$1 + 1 | 0; + $m2$2 = $m2$3; } - default: - {} - } - $58 = HEAP8[12928 + $43 >> 0] | 0; - HEAP32[$3 >> 2] = $10 + 1; - HEAP8[$10 >> 0] = $58; - HEAP32[$4 >> 2] = (HEAP32[$4 >> 2] | 0) + 1; - $$1 = 0; + } while (0); + _arMatrixFree($call) | 0; + $retval$0 = 0; + break; } - } while (0); - return $$1 | 0; + _arMatrixFree($call) | 0; + $retval$0 = -1; + } else $retval$0 = -1; while (0); + return $retval$0 | 0; +} + +function ___embind_register_native_and_builtin_types() { + __embind_register_void(__ZN10emscripten8internal6TypeIDIvvE3getEv() | 0, 57910); + __embind_register_bool(__ZN10emscripten8internal6TypeIDIbvE3getEv() | 0, 57915, 1, 1, 0); + __ZN12_GLOBAL__N_116register_integerIcEEvPKc(57920); + __ZN12_GLOBAL__N_116register_integerIaEEvPKc(57925); + __ZN12_GLOBAL__N_116register_integerIhEEvPKc(57937); + __ZN12_GLOBAL__N_116register_integerIsEEvPKc(57951); + __ZN12_GLOBAL__N_116register_integerItEEvPKc(57957); + __ZN12_GLOBAL__N_116register_integerIiEEvPKc(57972); + __ZN12_GLOBAL__N_116register_integerIjEEvPKc(57976); + __ZN12_GLOBAL__N_116register_integerIlEEvPKc(57989); + __ZN12_GLOBAL__N_116register_integerImEEvPKc(57994); + __ZN12_GLOBAL__N_114register_floatIfEEvPKc(58008); + __ZN12_GLOBAL__N_114register_floatIdEEvPKc(58014); + __embind_register_std_string(__ZN10emscripten8internal6TypeIDINSt3__212basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEvE3getEv() | 0, 58021); + __embind_register_std_string(__ZN10emscripten8internal6TypeIDINSt3__212basic_stringIhNS2_11char_traitsIhEENS2_9allocatorIhEEEEvE3getEv() | 0, 58033); + __embind_register_std_wstring(__ZN10emscripten8internal6TypeIDINSt3__212basic_stringIwNS2_11char_traitsIwEENS2_9allocatorIwEEEEvE3getEv() | 0, 4, 58066); + __embind_register_emval(__ZN10emscripten8internal6TypeIDINS_3valEvE3getEv() | 0, 58079); + __ZN12_GLOBAL__N_120register_memory_viewIcEEvPKc(58095); + __ZN12_GLOBAL__N_120register_memory_viewIaEEvPKc(58125); + __ZN12_GLOBAL__N_120register_memory_viewIhEEvPKc(58162); + __ZN12_GLOBAL__N_120register_memory_viewIsEEvPKc(58201); + __ZN12_GLOBAL__N_120register_memory_viewItEEvPKc(58232); + __ZN12_GLOBAL__N_120register_memory_viewIiEEvPKc(58272); + __ZN12_GLOBAL__N_120register_memory_viewIjEEvPKc(58301); + __ZN12_GLOBAL__N_120register_memory_viewIlEEvPKc(58339); + __ZN12_GLOBAL__N_120register_memory_viewImEEvPKc(58369); + __ZN12_GLOBAL__N_120register_memory_viewIaEEvPKc(58408); + __ZN12_GLOBAL__N_120register_memory_viewIhEEvPKc(58440); + __ZN12_GLOBAL__N_120register_memory_viewIsEEvPKc(58473); + __ZN12_GLOBAL__N_120register_memory_viewItEEvPKc(58506); + __ZN12_GLOBAL__N_120register_memory_viewIiEEvPKc(58540); + __ZN12_GLOBAL__N_120register_memory_viewIjEEvPKc(58573); + __ZN12_GLOBAL__N_120register_memory_viewIfEEvPKc(58607); + __ZN12_GLOBAL__N_120register_memory_viewIdEEvPKc(58638); + __ZN12_GLOBAL__N_120register_memory_viewIeEEvPKc(58670); + return; } function _getMarkerInfo($id, $markerIndex) { @@ -72078,11 +74939,11 @@ function _getMarkerInfo($id, $markerIndex) { if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); $id$addr = sp; HEAP32[$id$addr >> 2] = $id; - do if (__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(65260, $id$addr) | 0) { - $arhandle = (__ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(65260, $id$addr) | 0) + 216 | 0; + do if (__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(66108, $id$addr) | 0) { + $arhandle = (__ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(66108, $id$addr) | 0) + 216 | 0; $1 = HEAP32[$arhandle >> 2] | 0; if ((HEAP32[$1 + 44 >> 2] | 0) > ($markerIndex | 0)) { - $spec$select = ($markerIndex | 0) < 0 ? 64312 : $1 + 48 + ($markerIndex << 8) | 0; + $spec$select = ($markerIndex | 0) < 0 ? 65160 : $1 + 48 + ($markerIndex << 8) | 0; _emscripten_asm_const_iiiiiiiidddddddddddddddddddddddddi(2, HEAP32[$spec$select >> 2] | 0, HEAP32[$spec$select + 4 >> 2] | 0, HEAP32[$spec$select + 8 >> 2] | 0, HEAP32[$spec$select + 12 >> 2] | 0, HEAP32[$spec$select + 16 >> 2] | 0, HEAP32[$spec$select + 20 >> 2] | 0, HEAP32[$spec$select + 24 >> 2] | 0, +(+HEAPF64[$spec$select + 32 >> 3]), +(+HEAPF64[$spec$select + 40 >> 3]), +(+HEAPF64[$spec$select + 48 >> 3]), +(+HEAPF64[$spec$select + 56 >> 3]), +(+HEAPF64[$spec$select + 64 >> 3]), +(+HEAPF64[$spec$select + 72 >> 3]), +(+HEAPF64[$spec$select + 80 >> 3]), +(+HEAPF64[$spec$select + 88 >> 3]), +(+HEAPF64[$spec$select + 96 >> 3]), +(+HEAPF64[$spec$select + 104 >> 3]), +(+HEAPF64[$spec$select + 112 >> 3]), +(+HEAPF64[$spec$select + 120 >> 3]), +(+HEAPF64[$spec$select + 128 >> 3]), +(+HEAPF64[$spec$select + 136 >> 3]), +(+HEAPF64[$spec$select + 144 >> 3]), +(+HEAPF64[$spec$select + 152 >> 3]), +(+HEAPF64[$spec$select + 160 >> 3]), +(+HEAPF64[$spec$select + 168 >> 3]), +(+HEAPF64[$spec$select + 176 >> 3]), +(+HEAPF64[$spec$select + 184 >> 3]), +(+HEAPF64[$spec$select + 192 >> 3]), +(+HEAPF64[$spec$select + 200 >> 3]), +(+HEAPF64[$spec$select + 208 >> 3]), +(+HEAPF64[$spec$select + 216 >> 3]), +(+HEAPF64[$spec$select + 224 >> 3]), HEAP32[$spec$select + 240 >> 2] | 0) | 0; $retval$1 = 0; break; @@ -72095,1596 +74956,1747 @@ function _getMarkerInfo($id, $markerIndex) { return $retval$1 | 0; } -function __ZNSt3__29__num_getIcE17__stage2_int_loopEciPcRS2_RjcRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSD_PKc($0, $1, $2, $3, $4, $5, $6, $7, $8, $9) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - $6 = $6 | 0; - $7 = $7 | 0; - $8 = $8 | 0; - $9 = $9 | 0; - var $$0$i$idx = 0, $$0$i$ptr = 0, $$0$lcssa$i = 0, $$1 = 0, $10 = 0, $11 = 0, $14 = 0, $21 = 0, $29 = 0, $34 = 0, $36 = 0, $42 = 0, $55 = 0, $57 = 0, label = 0; - $10 = HEAP32[$3 >> 2] | 0; - $11 = ($10 | 0) == ($2 | 0); - do if ($11) { - $14 = (HEAP8[$9 + 24 >> 0] | 0) == $0 << 24 >> 24; - if (!$14 ? (HEAP8[$9 + 25 >> 0] | 0) != $0 << 24 >> 24 : 0) { - label = 5; +function __ZN6vision14VisualDatabaseINS_14FREAKExtractorENS_18BinaryFeatureStoreENS_20BinaryFeatureMatcherILi96EEEE11addKeyframeENSt3__210shared_ptrINS_8KeyframeILi96EEEEEi($this, $keyframe, $id) { + $this = $this | 0; + $keyframe = $keyframe | 0; + $id = $id | 0; + var $$pre$phi$iZ2D = 0, $0 = 0, $1 = 0, $6 = 0, $__cntrl_$i$i = 0, $__cntrl_3$i2$i = 0, $__shared_owners_$i$i$i$i = 0, $call18 = 0, $exception = 0, $id$addr = 0, $mKeyframeMap = 0, $ref$tmp$i = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $ref$tmp$i = sp + 4 | 0; + $id$addr = sp; + HEAP32[$id$addr >> 2] = $id; + $mKeyframeMap = $this + 72 | 0; + if (__ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_10shared_ptrIN6vision8KeyframeILi96EEEEEEENS_22__unordered_map_hasherIiS7_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS7_NS_8equal_toIiEELb1EEENS_9allocatorIS7_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS7_PvEEEERKT_($mKeyframeMap, $id$addr) | 0) { + $exception = ___cxa_allocate_exception(16) | 0; + HEAP32[$ref$tmp$i >> 2] = 0; + HEAP32[$ref$tmp$i + 4 >> 2] = 0; + HEAP32[$ref$tmp$i + 8 >> 2] = 0; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm($ref$tmp$i, 33423, __ZNSt3__211char_traitsIcE6lengthEPKc(33423) | 0); + __ZN6vision9ExceptionC2ERKNSt3__212basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE($exception, $ref$tmp$i); + ___cxa_throw($exception | 0, 13208, 5); + } + $call18 = __ZNSt3__213unordered_mapIiNS_10shared_ptrIN6vision8KeyframeILi96EEEEENS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS5_EEEEEixERSC_($mKeyframeMap, $id$addr) | 0; + $0 = HEAP32[$keyframe >> 2] | 0; + HEAP32[$ref$tmp$i >> 2] = $0; + $__cntrl_$i$i = $ref$tmp$i + 4 | 0; + $1 = HEAP32[$keyframe + 4 >> 2] | 0; + HEAP32[$__cntrl_$i$i >> 2] = $1; + if (!$1) { + $$pre$phi$iZ2D = $__cntrl_$i$i; + $6 = 0; + } else { + $__shared_owners_$i$i$i$i = $1 + 4 | 0; + HEAP32[$__shared_owners_$i$i$i$i >> 2] = (HEAP32[$__shared_owners_$i$i$i$i >> 2] | 0) + 1; + $$pre$phi$iZ2D = $__cntrl_$i$i; + $6 = HEAP32[$__cntrl_$i$i >> 2] | 0; + } + HEAP32[$ref$tmp$i >> 2] = HEAP32[$call18 >> 2]; + HEAP32[$call18 >> 2] = $0; + $__cntrl_3$i2$i = $call18 + 4 | 0; + HEAP32[$$pre$phi$iZ2D >> 2] = HEAP32[$__cntrl_3$i2$i >> 2]; + HEAP32[$__cntrl_3$i2$i >> 2] = $6; + __ZNSt3__210shared_ptrIN6vision8KeyframeILi96EEEED2Ev($ref$tmp$i); + STACKTOP = sp; + return; +} + +function __ZNSt3__216__check_groupingERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjS8_Rj($__grouping, $__g, $__g_end, $__err) { + $__grouping = $__grouping | 0; + $__g = $__g | 0; + $__g_end = $__g_end | 0; + $__err = $__err | 0; + var $$pre = 0, $0 = 0, $1 = 0, $2 = 0, $4 = 0, $6 = 0, $7 = 0, $__first$addr$0$i$i = 0, $__ig$0 = 0, $__last$addr$0$i$i = 0, $__r$0 = 0, $__size_$i$i = 0, $__size_$i3$i = 0, $add$ptr3 = 0, $cond$i$i30 = 0, $conv$i$i = 0, $conv$i$i26$pre$phiZZZ2D = 0, $incdec$ptr$i$i = 0, $or$cond32 = 0, $sub$ptr$lhs$cast = 0, $tobool$i$i$i = 0, label = 0; + $__size_$i$i = $__grouping + 11 | 0; + $0 = HEAP8[$__size_$i$i >> 0] | 0; + $__size_$i3$i = $__grouping + 4 | 0; + $1 = HEAP32[$__size_$i3$i >> 2] | 0; + $conv$i$i = $0 & 255; + do if (($0 << 24 >> 24 < 0 ? $1 : $conv$i$i) | 0) { + if (($__g | 0) == ($__g_end | 0)) { + $4 = $0; + $6 = $1; + $conv$i$i26$pre$phiZZZ2D = $conv$i$i; + } else { + $__first$addr$0$i$i = $__g; + $__last$addr$0$i$i = $__g_end; + while (1) { + $incdec$ptr$i$i = $__last$addr$0$i$i + -4 | 0; + if ($__first$addr$0$i$i >>> 0 >= $incdec$ptr$i$i >>> 0) break; + $2 = HEAP32[$__first$addr$0$i$i >> 2] | 0; + HEAP32[$__first$addr$0$i$i >> 2] = HEAP32[$incdec$ptr$i$i >> 2]; + HEAP32[$incdec$ptr$i$i >> 2] = $2; + $__first$addr$0$i$i = $__first$addr$0$i$i + 4 | 0; + $__last$addr$0$i$i = $incdec$ptr$i$i; + } + $$pre = HEAP8[$__size_$i$i >> 0] | 0; + $4 = $$pre; + $6 = HEAP32[$__size_$i3$i >> 2] | 0; + $conv$i$i26$pre$phiZZZ2D = $$pre & 255; + } + $tobool$i$i$i = $4 << 24 >> 24 < 0; + $cond$i$i30 = $tobool$i$i$i ? HEAP32[$__grouping >> 2] | 0 : $__grouping; + $add$ptr3 = $__g_end + -4 | 0; + $sub$ptr$lhs$cast = $cond$i$i30 + ($tobool$i$i$i ? $6 : $conv$i$i26$pre$phiZZZ2D) | 0; + $__ig$0 = $cond$i$i30; + $__r$0 = $__g; + while (1) { + $7 = HEAP8[$__ig$0 >> 0] | 0; + $or$cond32 = $7 << 24 >> 24 > 0 & $7 << 24 >> 24 != 127; + if ($__r$0 >>> 0 >= $add$ptr3 >>> 0) break; + if ($or$cond32 ? (HEAP32[$__r$0 >> 2] | 0) != ($7 << 24 >> 24 | 0) : 0) { + label = 11; + break; + } + $__ig$0 = ($sub$ptr$lhs$cast - $__ig$0 | 0) > 1 ? $__ig$0 + 1 | 0 : $__ig$0; + $__r$0 = $__r$0 + 4 | 0; + } + if ((label | 0) == 11) { + HEAP32[$__err >> 2] = 4; break; } - HEAP32[$3 >> 2] = $2 + 1; - HEAP8[$2 >> 0] = $14 ? 43 : 45; - HEAP32[$4 >> 2] = 0; - $$1 = 0; - } else label = 5; while (0); - L6 : do if ((label | 0) == 5) { - $21 = HEAP8[$6 + 11 >> 0] | 0; - if ($0 << 24 >> 24 == $5 << 24 >> 24 ? (($21 << 24 >> 24 < 0 ? HEAP32[$6 + 4 >> 2] | 0 : $21 & 255) | 0) != 0 : 0) { - $29 = HEAP32[$8 >> 2] | 0; - if (($29 - $7 | 0) >= 160) { - $$1 = 0; + if ($or$cond32 ? ((HEAP32[$add$ptr3 >> 2] | 0) + -1 | 0) >>> 0 >= $7 << 24 >> 24 >>> 0 : 0) HEAP32[$__err >> 2] = 4; + } while (0); + return; +} + +function _icpGetJ_T_S($J_T_S) { + $J_T_S = $J_T_S | 0; + var $arrayidx115 = 0, $arrayidx129 = 0, $arrayidx143 = 0, $arrayidx17 = 0, $arrayidx19 = 0, $arrayidx41 = 0, $arrayidx61 = 0, $arrayidx75 = 0, $arrayidx77 = 0, dest = 0, stop = 0; + $arrayidx17 = $J_T_S + 64 | 0; + dest = $J_T_S; + stop = dest + 64 | 0; + do { + HEAP32[dest >> 2] = 0; + dest = dest + 4 | 0; + } while ((dest | 0) < (stop | 0)); + HEAPF64[$arrayidx17 >> 3] = -1.0; + $arrayidx19 = $J_T_S + 72 | 0; + HEAP32[$arrayidx19 >> 2] = 0; + HEAP32[$arrayidx19 + 4 >> 2] = 0; + HEAP32[$arrayidx19 + 8 >> 2] = 0; + HEAP32[$arrayidx19 + 12 >> 2] = 0; + HEAP32[$arrayidx19 + 16 >> 2] = 0; + HEAP32[$arrayidx19 + 20 >> 2] = 0; + HEAP32[$arrayidx19 + 24 >> 2] = 0; + HEAP32[$arrayidx19 + 28 >> 2] = 0; + HEAPF64[$J_T_S + 104 >> 3] = 1.0; + $arrayidx41 = $J_T_S + 160 | 0; + dest = $J_T_S + 112 | 0; + stop = dest + 48 | 0; + do { + HEAP32[dest >> 2] = 0; + dest = dest + 4 | 0; + } while ((dest | 0) < (stop | 0)); + HEAPF64[$arrayidx41 >> 3] = 1.0; + $arrayidx61 = $J_T_S + 240 | 0; + dest = $J_T_S + 168 | 0; + stop = dest + 72 | 0; + do { + HEAP32[dest >> 2] = 0; + dest = dest + 4 | 0; + } while ((dest | 0) < (stop | 0)); + HEAPF64[$arrayidx61 >> 3] = -1.0; + $arrayidx75 = $J_T_S + 296 | 0; + dest = $J_T_S + 248 | 0; + stop = dest + 48 | 0; + do { + HEAP32[dest >> 2] = 0; + dest = dest + 4 | 0; + } while ((dest | 0) < (stop | 0)); + HEAPF64[$arrayidx75 >> 3] = -1.0; + $arrayidx77 = $J_T_S + 304 | 0; + HEAP32[$arrayidx77 >> 2] = 0; + HEAP32[$arrayidx77 + 4 >> 2] = 0; + HEAP32[$arrayidx77 + 8 >> 2] = 0; + HEAP32[$arrayidx77 + 12 >> 2] = 0; + HEAP32[$arrayidx77 + 16 >> 2] = 0; + HEAP32[$arrayidx77 + 20 >> 2] = 0; + HEAP32[$arrayidx77 + 24 >> 2] = 0; + HEAP32[$arrayidx77 + 28 >> 2] = 0; + HEAPF64[$J_T_S + 336 >> 3] = 1.0; + $arrayidx115 = $J_T_S + 456 | 0; + dest = $J_T_S + 344 | 0; + stop = dest + 112 | 0; + do { + HEAP32[dest >> 2] = 0; + dest = dest + 4 | 0; + } while ((dest | 0) < (stop | 0)); + HEAPF64[$arrayidx115 >> 3] = 1.0; + $arrayidx129 = $J_T_S + 512 | 0; + dest = $J_T_S + 464 | 0; + stop = dest + 48 | 0; + do { + HEAP32[dest >> 2] = 0; + dest = dest + 4 | 0; + } while ((dest | 0) < (stop | 0)); + HEAPF64[$arrayidx129 >> 3] = 1.0; + $arrayidx143 = $J_T_S + 568 | 0; + dest = $J_T_S + 520 | 0; + stop = dest + 48 | 0; + do { + HEAP32[dest >> 2] = 0; + dest = dest + 4 | 0; + } while ((dest | 0) < (stop | 0)); + HEAPF64[$arrayidx143 >> 3] = 1.0; + return; +} + +function __ZNSt3__211__stdoutbufIwE8overflowEj($this, $__c) { + $this = $this | 0; + $__c = $__c | 0; + var $2 = 0, $__1buf = 0, $__cv_ = 0, $__e = 0, $__extbe = 0, $__extbuf = 0, $__file_30 = 0, $__st_ = 0, $add$ptr = 0, $add$ptr10 = 0, $call$i = 0, $call3 = 0, $pbase$0 = 0, $retval$4 = 0, $sub$ptr$rhs$cast = 0, $sub$ptr$sub = 0, label = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 32 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); + $__extbuf = sp + 16 | 0; + $__1buf = sp + 8 | 0; + $__extbe = sp + 4 | 0; + $__e = sp; + do if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj($__c, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) { + $call3 = __ZNSt3__211char_traitsIwE12to_char_typeEj($__c) | 0; + HEAP32[$__1buf >> 2] = $call3; + if (HEAP8[$this + 44 >> 0] | 0) { + if ((_fwrite($__1buf, 4, 1, HEAP32[$this + 32 >> 2] | 0) | 0) == 1) { + label = 15; break; } - $34 = HEAP32[$4 >> 2] | 0; - HEAP32[$8 >> 2] = $29 + 4; - HEAP32[$29 >> 2] = $34; - HEAP32[$4 >> 2] = 0; - $$1 = 0; + $retval$4 = __ZNSt3__211char_traitsIwE3eofEv() | 0; break; } - $36 = $9 + 26 | 0; - $$0$i$idx = 0; + HEAP32[$__extbe >> 2] = $__extbuf; + $add$ptr = $__1buf + 4 | 0; + $__cv_ = $this + 36 | 0; + $__st_ = $this + 40 | 0; + $add$ptr10 = $__extbuf + 8 | 0; + $sub$ptr$rhs$cast = $__extbuf; + $__file_30 = $this + 32 | 0; + $pbase$0 = $__1buf; while (1) { - $$0$i$ptr = $9 + $$0$i$idx | 0; - if (($$0$i$idx | 0) == 26) { - $$0$lcssa$i = $36; + $2 = HEAP32[$__cv_ >> 2] | 0; + $call$i = FUNCTION_TABLE_iiiiiiiii[HEAP32[(HEAP32[$2 >> 2] | 0) + 12 >> 2] & 15]($2, HEAP32[$__st_ >> 2] | 0, $pbase$0, $add$ptr, $__e, $__extbuf, $add$ptr10, $__extbe) | 0; + if ((HEAP32[$__e >> 2] | 0) == ($pbase$0 | 0)) { + label = 14; + break; + } + if (($call$i | 0) == 3) { + label = 8; + break; + } + if ($call$i >>> 0 >= 2) { + label = 14; + break; + } + $sub$ptr$sub = (HEAP32[$__extbe >> 2] | 0) - $sub$ptr$rhs$cast | 0; + if ((_fwrite($__extbuf, 1, $sub$ptr$sub, HEAP32[$__file_30 >> 2] | 0) | 0) != ($sub$ptr$sub | 0)) { + label = 14; break; } - if ((HEAP8[$$0$i$ptr >> 0] | 0) == $0 << 24 >> 24) { - $$0$lcssa$i = $$0$i$ptr; + if (($call$i | 0) == 1) $pbase$0 = HEAP32[$__e >> 2] | 0; else { + label = 13; break; - } else $$0$i$idx = $$0$i$idx + 1 | 0; + } } - $42 = $$0$lcssa$i - $9 | 0; - if (($42 | 0) > 23) $$1 = -1; else { - switch ($1 | 0) { - case 10: - case 8: - { - if (($42 | 0) >= ($1 | 0)) { - $$1 = -1; - break L6; - } + if ((label | 0) == 8) if ((_fwrite($pbase$0, 1, 1, HEAP32[$__file_30 >> 2] | 0) | 0) == 1) label = 13; else label = 14; + if ((label | 0) == 13) { + label = 15; + break; + } else if ((label | 0) == 14) { + $retval$4 = __ZNSt3__211char_traitsIwE3eofEv() | 0; + break; + } + } else label = 15; while (0); + if ((label | 0) == 15) $retval$4 = __ZNSt3__211char_traitsIwE7not_eofEj($__c) | 0; + STACKTOP = sp; + return $retval$4 | 0; +} + +function __ZNSt3__211__stdoutbufIcE8overflowEi($this, $__c) { + $this = $this | 0; + $__c = $__c | 0; + var $2 = 0, $__1buf = 0, $__cv_ = 0, $__e = 0, $__extbe = 0, $__extbuf = 0, $__file_30 = 0, $__st_ = 0, $add$ptr = 0, $add$ptr10 = 0, $call$i = 0, $call3 = 0, $pbase$0 = 0, $retval$4 = 0, $sub$ptr$rhs$cast = 0, $sub$ptr$sub = 0, label = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 32 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); + $__extbuf = sp + 16 | 0; + $__1buf = sp + 8 | 0; + $__extbe = sp + 4 | 0; + $__e = sp; + do if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii($__c, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) { + $call3 = __ZNSt3__211char_traitsIcE12to_char_typeEi($__c) | 0; + HEAP8[$__1buf >> 0] = $call3; + if (HEAP8[$this + 44 >> 0] | 0) { + if ((_fwrite($__1buf, 1, 1, HEAP32[$this + 32 >> 2] | 0) | 0) == 1) { + label = 15; + break; + } + $retval$4 = __ZNSt3__211char_traitsIcE3eofEv() | 0; + break; + } + HEAP32[$__extbe >> 2] = $__extbuf; + $add$ptr = $__1buf + 1 | 0; + $__cv_ = $this + 36 | 0; + $__st_ = $this + 40 | 0; + $add$ptr10 = $__extbuf + 8 | 0; + $sub$ptr$rhs$cast = $__extbuf; + $__file_30 = $this + 32 | 0; + $pbase$0 = $__1buf; + while (1) { + $2 = HEAP32[$__cv_ >> 2] | 0; + $call$i = FUNCTION_TABLE_iiiiiiiii[HEAP32[(HEAP32[$2 >> 2] | 0) + 12 >> 2] & 15]($2, HEAP32[$__st_ >> 2] | 0, $pbase$0, $add$ptr, $__e, $__extbuf, $add$ptr10, $__extbe) | 0; + if ((HEAP32[$__e >> 2] | 0) == ($pbase$0 | 0)) { + label = 14; + break; + } + if (($call$i | 0) == 3) { + label = 8; + break; + } + if ($call$i >>> 0 >= 2) { + label = 14; + break; + } + $sub$ptr$sub = (HEAP32[$__extbe >> 2] | 0) - $sub$ptr$rhs$cast | 0; + if ((_fwrite($__extbuf, 1, $sub$ptr$sub, HEAP32[$__file_30 >> 2] | 0) | 0) != ($sub$ptr$sub | 0)) { + label = 14; + break; + } + if (($call$i | 0) == 1) $pbase$0 = HEAP32[$__e >> 2] | 0; else { + label = 13; + break; + } + } + if ((label | 0) == 8) if ((_fwrite($pbase$0, 1, 1, HEAP32[$__file_30 >> 2] | 0) | 0) == 1) label = 13; else label = 14; + if ((label | 0) == 13) { + label = 15; + break; + } else if ((label | 0) == 14) { + $retval$4 = __ZNSt3__211char_traitsIcE3eofEv() | 0; + break; + } + } else label = 15; while (0); + if ((label | 0) == 15) $retval$4 = __ZNSt3__211char_traitsIcE7not_eofEi($__c) | 0; + STACKTOP = sp; + return $retval$4 | 0; +} + +function __ZNSt3__216__pad_and_outputIcNS_11char_traitsIcEEEENS_19ostreambuf_iteratorIT_T0_EES6_PKS4_S8_S8_RNS_8ios_baseES4_($__s, $__ob, $__op, $__oe, $__iob, $__fl) { + $__s = $__s | 0; + $__ob = $__ob | 0; + $__op = $__op | 0; + $__oe = $__oe | 0; + $__iob = $__iob | 0; + $__fl = $__fl | 0; + var $0 = 0, $1 = 0, $__ns$0 = 0, $__sp = 0, $__width_$i = 0, $retval$sroa$0$2 = 0, $sub$ptr$lhs$cast = 0, $sub$ptr$lhs$cast4 = 0, $sub$ptr$rhs$cast = 0, $sub$ptr$sub = 0, $sub$ptr$sub29 = 0, $sub$ptr$sub6 = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $__sp = sp; + $0 = HEAP32[$__s >> 2] | 0; + L1 : do if (!$0) $retval$sroa$0$2 = 0; else { + $sub$ptr$lhs$cast = $__oe; + $sub$ptr$rhs$cast = $__ob; + $sub$ptr$sub = $sub$ptr$lhs$cast - $sub$ptr$rhs$cast | 0; + $__width_$i = $__iob + 12 | 0; + $1 = HEAP32[$__width_$i >> 2] | 0; + $__ns$0 = ($1 | 0) > ($sub$ptr$sub | 0) ? $1 - $sub$ptr$sub | 0 : 0; + $sub$ptr$lhs$cast4 = $__op; + $sub$ptr$sub6 = $sub$ptr$lhs$cast4 - $sub$ptr$rhs$cast | 0; + if (($sub$ptr$sub6 | 0) > 0 ? (FUNCTION_TABLE_iiii[HEAP32[(HEAP32[$0 >> 2] | 0) + 48 >> 2] & 63]($0, $__ob, $sub$ptr$sub6) | 0) != ($sub$ptr$sub6 | 0) : 0) { + HEAP32[$__s >> 2] = 0; + $retval$sroa$0$2 = 0; + break; + } + do if (($__ns$0 | 0) > 0) { + HEAP32[$__sp >> 2] = 0; + HEAP32[$__sp + 4 >> 2] = 0; + HEAP32[$__sp + 8 >> 2] = 0; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEmc($__sp, $__ns$0, $__fl); + if ((FUNCTION_TABLE_iiii[HEAP32[(HEAP32[$0 >> 2] | 0) + 48 >> 2] & 63]($0, (HEAP8[$__sp + 11 >> 0] | 0) < 0 ? HEAP32[$__sp >> 2] | 0 : $__sp, $__ns$0) | 0) == ($__ns$0 | 0)) { + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($__sp); + break; + } else { + HEAP32[$__s >> 2] = 0; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($__sp); + $retval$sroa$0$2 = 0; + break L1; + } + } while (0); + $sub$ptr$sub29 = $sub$ptr$lhs$cast - $sub$ptr$lhs$cast4 | 0; + if (($sub$ptr$sub29 | 0) > 0 ? (FUNCTION_TABLE_iiii[HEAP32[(HEAP32[$0 >> 2] | 0) + 48 >> 2] & 63]($0, $__op, $sub$ptr$sub29) | 0) != ($sub$ptr$sub29 | 0) : 0) { + HEAP32[$__s >> 2] = 0; + $retval$sroa$0$2 = 0; + break; + } + HEAP32[$__width_$i >> 2] = 0; + $retval$sroa$0$2 = $0; + } while (0); + STACKTOP = sp; + return $retval$sroa$0$2 | 0; +} + +function _prepare_for_output_pass($cinfo) { + $cinfo = $cinfo | 0; + var $0 = 0, $15 = 0, $36 = 0, $37 = 0, $add = 0, $is_dummy_pass = 0, $quantize_colors = 0, $total_passes = 0; + $0 = HEAP32[$cinfo + 444 >> 2] | 0; + $is_dummy_pass = $0 + 8 | 0; + if (!(HEAP32[$is_dummy_pass >> 2] | 0)) { + $quantize_colors = $cinfo + 84 | 0; + do if (HEAP32[$quantize_colors >> 2] | 0 ? (HEAP32[$cinfo + 136 >> 2] | 0) == 0 : 0) { + if (HEAP32[$cinfo + 92 >> 2] | 0 ? HEAP32[$cinfo + 108 >> 2] | 0 : 0) { + HEAP32[$cinfo + 484 >> 2] = HEAP32[$0 + 24 >> 2]; + HEAP32[$is_dummy_pass >> 2] = 1; + break; + } + if (!(HEAP32[$cinfo + 100 >> 2] | 0)) { + $15 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$15 + 20 >> 2] = 47; + FUNCTION_TABLE_vi[HEAP32[$15 >> 2] & 255]($cinfo); + break; + } else { + HEAP32[$cinfo + 484 >> 2] = HEAP32[$0 + 20 >> 2]; + break; + } + } while (0); + FUNCTION_TABLE_vi[HEAP32[HEAP32[$cinfo + 472 >> 2] >> 2] & 255]($cinfo); + FUNCTION_TABLE_vi[HEAP32[(HEAP32[$cinfo + 452 >> 2] | 0) + 8 >> 2] & 255]($cinfo); + if (!(HEAP32[$cinfo + 68 >> 2] | 0)) { + if (!(HEAP32[$0 + 16 >> 2] | 0)) FUNCTION_TABLE_vi[HEAP32[HEAP32[$cinfo + 480 >> 2] >> 2] & 255]($cinfo); + FUNCTION_TABLE_vi[HEAP32[HEAP32[$cinfo + 476 >> 2] >> 2] & 255]($cinfo); + if (HEAP32[$quantize_colors >> 2] | 0) FUNCTION_TABLE_vii[HEAP32[HEAP32[$cinfo + 484 >> 2] >> 2] & 255]($cinfo, HEAP32[$is_dummy_pass >> 2] | 0); + FUNCTION_TABLE_vii[HEAP32[HEAP32[$cinfo + 456 >> 2] >> 2] & 255]($cinfo, (HEAP32[$is_dummy_pass >> 2] | 0) == 0 ? 0 : 3); + FUNCTION_TABLE_vii[HEAP32[HEAP32[$cinfo + 448 >> 2] >> 2] & 255]($cinfo, 0); + } + } else { + HEAP32[$is_dummy_pass >> 2] = 0; + FUNCTION_TABLE_vii[HEAP32[HEAP32[$cinfo + 484 >> 2] >> 2] & 255]($cinfo, 0); + FUNCTION_TABLE_vii[HEAP32[HEAP32[$cinfo + 456 >> 2] >> 2] & 255]($cinfo, 2); + FUNCTION_TABLE_vii[HEAP32[HEAP32[$cinfo + 448 >> 2] >> 2] & 255]($cinfo, 2); + } + $36 = HEAP32[$cinfo + 8 >> 2] | 0; + if (!$36) return; + $37 = HEAP32[$0 + 12 >> 2] | 0; + HEAP32[$36 + 12 >> 2] = $37; + $add = ((HEAP32[$is_dummy_pass >> 2] | 0) == 0 ? 1 : 2) + $37 | 0; + $total_passes = $36 + 16 | 0; + HEAP32[$total_passes >> 2] = $add; + if (!(HEAP32[$cinfo + 64 >> 2] | 0)) return; + if (HEAP32[(HEAP32[$cinfo + 460 >> 2] | 0) + 20 >> 2] | 0) return; + HEAP32[$total_passes >> 2] = ((HEAP32[$cinfo + 108 >> 2] | 0) == 0 ? 1 : 2) + $add; + return; +} + +function ___stpcpy($d, $s) { + $d = $d | 0; + $s = $s | 0; + var $0 = 0, $10 = 0, $4 = 0, $6 = 0, $7 = 0, $9 = 0, $d$addr$0$lcssa = 0, $d$addr$037 = 0, $d$addr$1 = 0, $d$addr$224 = 0, $incdec$ptr = 0, $incdec$ptr11 = 0, $incdec$ptr12 = 0, $incdec$ptr20 = 0, $incdec$ptr5 = 0, $retval$0 = 0, $s$addr$0$lcssa = 0, $s$addr$038 = 0, $s$addr$1 = 0, $s$addr$225 = 0, $wd$0$lcssa = 0, $wd$031 = 0, $ws$0$lcssa = 0, $ws$032 = 0, label = 0; + $0 = $s; + L1 : do if (!(($0 ^ $d) & 3)) { + if (!($0 & 3)) { + $d$addr$0$lcssa = $d; + $s$addr$0$lcssa = $s; + } else { + $d$addr$037 = $d; + $s$addr$038 = $s; + while (1) { + $4 = HEAP8[$s$addr$038 >> 0] | 0; + HEAP8[$d$addr$037 >> 0] = $4; + if (!($4 << 24 >> 24)) { + $retval$0 = $d$addr$037; + break L1; + } + $incdec$ptr = $s$addr$038 + 1 | 0; + $incdec$ptr5 = $d$addr$037 + 1 | 0; + if (!($incdec$ptr & 3)) { + $d$addr$0$lcssa = $incdec$ptr5; + $s$addr$0$lcssa = $incdec$ptr; break; + } else { + $d$addr$037 = $incdec$ptr5; + $s$addr$038 = $incdec$ptr; } - case 16: - { - if (($42 | 0) >= 22) { - if ($11) { - $$1 = -1; - break L6; - } - if (($10 - $2 | 0) >= 3) { - $$1 = -1; - break L6; - } - if ((HEAP8[$10 + -1 >> 0] | 0) != 48) { - $$1 = -1; - break L6; - } - HEAP32[$4 >> 2] = 0; - $55 = HEAP8[12928 + $42 >> 0] | 0; - HEAP32[$3 >> 2] = $10 + 1; - HEAP8[$10 >> 0] = $55; - $$1 = 0; - break L6; - } + } + } + $6 = HEAP32[$s$addr$0$lcssa >> 2] | 0; + if (!(($6 & -2139062144 ^ -2139062144) & $6 + -16843009)) { + $7 = $6; + $wd$031 = $d$addr$0$lcssa; + $ws$032 = $s$addr$0$lcssa; + while (1) { + $incdec$ptr11 = $ws$032 + 4 | 0; + $incdec$ptr12 = $wd$031 + 4 | 0; + HEAP32[$wd$031 >> 2] = $7; + $7 = HEAP32[$incdec$ptr11 >> 2] | 0; + if (($7 & -2139062144 ^ -2139062144) & $7 + -16843009 | 0) { + $wd$0$lcssa = $incdec$ptr12; + $ws$0$lcssa = $incdec$ptr11; break; + } else { + $wd$031 = $incdec$ptr12; + $ws$032 = $incdec$ptr11; } - default: - {} } - $57 = HEAP8[12928 + $42 >> 0] | 0; - HEAP32[$3 >> 2] = $10 + 1; - HEAP8[$10 >> 0] = $57; - HEAP32[$4 >> 2] = (HEAP32[$4 >> 2] | 0) + 1; - $$1 = 0; + } else { + $wd$0$lcssa = $d$addr$0$lcssa; + $ws$0$lcssa = $s$addr$0$lcssa; } + $d$addr$1 = $wd$0$lcssa; + $s$addr$1 = $ws$0$lcssa; + label = 10; + } else { + $d$addr$1 = $d; + $s$addr$1 = $s; + label = 10; } while (0); - return $$1 | 0; + if ((label | 0) == 10) { + $9 = HEAP8[$s$addr$1 >> 0] | 0; + HEAP8[$d$addr$1 >> 0] = $9; + if (!($9 << 24 >> 24)) $retval$0 = $d$addr$1; else { + $d$addr$224 = $d$addr$1; + $s$addr$225 = $s$addr$1; + while (1) { + $s$addr$225 = $s$addr$225 + 1 | 0; + $incdec$ptr20 = $d$addr$224 + 1 | 0; + $10 = HEAP8[$s$addr$225 >> 0] | 0; + HEAP8[$incdec$ptr20 >> 0] = $10; + if (!($10 << 24 >> 24)) { + $retval$0 = $incdec$ptr20; + break; + } else $d$addr$224 = $incdec$ptr20; + } + } + } + return $retval$0 | 0; } -function __ZN6vision25DoGScaleInvariantDetector6detectEPKNS_25GaussianScaleSpacePyramidE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $10 = 0, $15 = 0, $19 = 0, $2 = 0, sp = 0; +function _format_message($cinfo, $buffer) { + $cinfo = $cinfo | 0; + $buffer = $buffer | 0; + var $0 = 0, $1 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $4 = 0, $5 = 0, $incdec$ptr = 0, $msgptr$0 = 0, $msgtext$0 = 0, $msgtext$0$in = 0, $msgtext$1 = 0, $vararg_buffer = 0, $vararg_buffer1 = 0, label = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $2 = sp; - if ((__ZNK6vision25GaussianScaleSpacePyramid10numOctavesEv($1) | 0) <= 0) { - $10 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 26990) | 0, 26748) | 0, 39072) | 0, 147) | 0, 39079) | 0, 27039) | 0; - __ZNKSt3__28ios_base6getlocEv($2, $10 + (HEAP32[(HEAP32[$10 >> 2] | 0) + -12 >> 2] | 0) | 0); - $15 = __ZNKSt3__26locale9use_facetERNS0_2idE($2, 66512) | 0; - $19 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$15 >> 2] | 0) + 28 >> 2] & 127]($15, 10) | 0; - __ZNSt3__26localeD2Ev($2); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($10, $19) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($10) | 0; - _abort(); + STACKTOP = STACKTOP + 48 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); + $vararg_buffer1 = sp + 8 | 0; + $vararg_buffer = sp; + $0 = HEAP32[$cinfo >> 2] | 0; + $1 = HEAP32[$0 + 20 >> 2] | 0; + if (($1 | 0) > 0 ? ($1 | 0) <= (HEAP32[$0 + 116 >> 2] | 0) : 0) { + $msgtext$0$in = (HEAP32[$0 + 112 >> 2] | 0) + ($1 << 2) | 0; + label = 8; + } else { + $4 = HEAP32[$0 + 120 >> 2] | 0; + if ((($4 | 0) != 0 ? ($5 = HEAP32[$0 + 124 >> 2] | 0, ($1 | 0) >= ($5 | 0)) : 0) ? ($1 | 0) <= (HEAP32[$0 + 128 >> 2] | 0) : 0) { + $msgtext$0$in = $4 + ($1 - $5 << 2) | 0; + label = 8; + } else label = 9; } - __ZN6vision11ScopedTimerC2EPKc($2, 27938); - if (__ZN6vision11ScopedTimercvbEv($2) | 0) __ZN6vision10DoGPyramid7computeEPKNS_25GaussianScaleSpacePyramidE($0 + 32 | 0, $1); - __ZN6vision11ScopedTimerD2Ev($2); - __ZN6vision11ScopedTimerC2EPKc($2, 27950); - if (__ZN6vision11ScopedTimercvbEv($2) | 0) __ZN6vision25DoGScaleInvariantDetector15extractFeaturesEPKNS_25GaussianScaleSpacePyramidEPKNS_10DoGPyramidE($0, $1, $0 + 32 | 0); - __ZN6vision11ScopedTimerD2Ev($2); - __ZN6vision11ScopedTimerC2EPKc($2, 27970); - if (__ZN6vision11ScopedTimercvbEv($2) | 0) __ZN6vision25DoGScaleInvariantDetector21findSubpixelLocationsEPKNS_25GaussianScaleSpacePyramidE($0, $1); - __ZN6vision11ScopedTimerD2Ev($2); - __ZN6vision11ScopedTimerC2EPKc($2, 27979); - if (__ZN6vision11ScopedTimercvbEv($2) | 0) __ZN6vision25DoGScaleInvariantDetector13pruneFeaturesEv($0); - __ZN6vision11ScopedTimerD2Ev($2); - __ZN6vision11ScopedTimerC2EPKc($2, 27993); - if (__ZN6vision11ScopedTimercvbEv($2) | 0) __ZN6vision25DoGScaleInvariantDetector23findFeatureOrientationsEPKNS_25GaussianScaleSpacePyramidE($0, $1); - __ZN6vision11ScopedTimerD2Ev($2); - STACKTOP = sp; - return; -} - -function _decode_mcu_DC_refine($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$021 = 0, $$035$i = 0, $16 = 0, $19 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $27 = 0, $3 = 0, $4 = 0, $54 = 0, $56 = 0, $57 = 0, $60 = 0, $61 = 0, $67 = 0, $7 = 0, $8 = 0, dest = 0, label = 0, stop = 0; - $3 = HEAP32[$0 + 468 >> 2] | 0; - $4 = $0 + 280 | 0; - if (HEAP32[$4 >> 2] | 0) { - $7 = $3 + 56 | 0; - $8 = HEAP32[$7 >> 2] | 0; - if (!$8) { - if (!(FUNCTION_TABLE_ii[HEAP32[(HEAP32[$0 + 464 >> 2] | 0) + 8 >> 2] & 127]($0) | 0)) { - $16 = HEAP32[$0 >> 2] | 0; - HEAP32[$16 + 20 >> 2] = 25; - FUNCTION_TABLE_vi[HEAP32[$16 >> 2] & 255]($0); - } - $19 = $0 + 340 | 0; - if ((HEAP32[$19 >> 2] | 0) > 0) { - $22 = $0 + 224 | 0; - $23 = $0 + 412 | 0; - $24 = $0 + 436 | 0; - $25 = $0 + 420 | 0; - $$035$i = 0; - do { - $27 = HEAP32[$0 + 344 + ($$035$i << 2) >> 2] | 0; - if (HEAP32[$22 >> 2] | 0) if (!(HEAP32[$23 >> 2] | 0)) { - if (!(HEAP32[$25 >> 2] | 0)) label = 10; - } else label = 13; else label = 10; - do if ((label | 0) == 10) { - label = 0; - dest = HEAP32[$3 + 60 + (HEAP32[$27 + 20 >> 2] << 2) >> 2] | 0; - stop = dest + 64 | 0; - do { - HEAP8[dest >> 0] = 0; - dest = dest + 1 | 0; - } while ((dest | 0) < (stop | 0)); - HEAP32[$3 + 24 + ($$035$i << 2) >> 2] = 0; - HEAP32[$3 + 40 + ($$035$i << 2) >> 2] = 0; - if (!(HEAP32[$22 >> 2] | 0)) if (!(HEAP32[$24 >> 2] | 0)) break; else { - label = 13; - break; - } else if (!(HEAP32[$23 >> 2] | 0)) break; else { - label = 13; - break; - } - } while (0); - if ((label | 0) == 13) { - label = 0; - _memset(HEAP32[$3 + 124 + (HEAP32[$27 + 24 >> 2] << 2) >> 2] | 0, 0, 256) | 0; - } - $$035$i = $$035$i + 1 | 0; - } while (($$035$i | 0) < (HEAP32[$19 >> 2] | 0)); - } - HEAP32[$3 + 12 >> 2] = 0; - HEAP32[$3 + 16 >> 2] = 0; - HEAP32[$3 + 20 >> 2] = -16; - $54 = HEAP32[$4 >> 2] | 0; - HEAP32[$7 >> 2] = $54; - $56 = $54; - } else $56 = $8; - HEAP32[$7 >> 2] = $56 + -1; - } - $57 = $3 + 188 | 0; - $60 = 1 << HEAP32[$0 + 424 >> 2]; - $61 = $0 + 368 | 0; - if ((HEAP32[$61 >> 2] | 0) <= 0) return 1; - $$021 = 0; + if ((label | 0) == 8) { + $msgtext$0 = HEAP32[$msgtext$0$in >> 2] | 0; + if (!$msgtext$0) label = 9; else $msgtext$1 = $msgtext$0; + } + if ((label | 0) == 9) { + HEAP32[$0 + 24 >> 2] = $1; + $msgtext$1 = HEAP32[HEAP32[$0 + 112 >> 2] >> 2] | 0; + } + $msgptr$0 = $msgtext$1; + L14 : while (1) { + $incdec$ptr = $msgptr$0 + 1 | 0; + switch (HEAP8[$msgptr$0 >> 0] | 0) { + case 0: + { + break L14; + break; + } + case 37: + { + label = 12; + break L14; + break; + } + default: + $msgptr$0 = $incdec$ptr; + } + } + if ((label | 0) == 12 ? (HEAP8[$incdec$ptr >> 0] | 0) == 115 : 0) { + HEAP32[$vararg_buffer >> 2] = $0 + 24; + _sprintf($buffer, $msgtext$1, $vararg_buffer) | 0; + STACKTOP = sp; + return; + } + $12 = HEAP32[$0 + 28 >> 2] | 0; + $13 = HEAP32[$0 + 32 >> 2] | 0; + $14 = HEAP32[$0 + 36 >> 2] | 0; + $15 = HEAP32[$0 + 40 >> 2] | 0; + $16 = HEAP32[$0 + 44 >> 2] | 0; + $17 = HEAP32[$0 + 48 >> 2] | 0; + $18 = HEAP32[$0 + 52 >> 2] | 0; + HEAP32[$vararg_buffer1 >> 2] = HEAP32[$0 + 24 >> 2]; + HEAP32[$vararg_buffer1 + 4 >> 2] = $12; + HEAP32[$vararg_buffer1 + 8 >> 2] = $13; + HEAP32[$vararg_buffer1 + 12 >> 2] = $14; + HEAP32[$vararg_buffer1 + 16 >> 2] = $15; + HEAP32[$vararg_buffer1 + 20 >> 2] = $16; + HEAP32[$vararg_buffer1 + 24 >> 2] = $17; + HEAP32[$vararg_buffer1 + 28 >> 2] = $18; + _sprintf($buffer, $msgtext$1, $vararg_buffer1) | 0; + STACKTOP = sp; + return; +} + +function _quantize_ord_dither($cinfo, $input_buf, $output_buf, $num_rows) { + $cinfo = $cinfo | 0; + $input_buf = $input_buf | 0; + $output_buf = $output_buf | 0; + $num_rows = $num_rows | 0; + var $0 = 0, $1 = 0, $2 = 0, $4 = 0, $8 = 0, $9 = 0, $arrayidx$us = 0, $arrayidx6$us = 0, $ci$041$us45 = 0, $cmp1235 = 0, $col$038$us51 = 0, $col_index$036$us53 = 0, $colorindex = 0, $input_ptr$039$us50 = 0, $output_ptr$037$us52 = 0, $row$043 = 0, $row$043$us = 0, $row_index2 = 0; + $0 = HEAP32[$cinfo + 484 >> 2] | 0; + $1 = HEAP32[$cinfo + 120 >> 2] | 0; + $2 = HEAP32[$cinfo + 112 >> 2] | 0; + if (($num_rows | 0) <= 0) return; + $row_index2 = $0 + 48 | 0; + $colorindex = $0 + 24 | 0; + $cmp1235 = ($2 | 0) == 0; + if (($1 | 0) <= 0) { + $row$043 = 0; + do { + _memset(HEAP32[$output_buf + ($row$043 << 2) >> 2] | 0, 0, $2 | 0) | 0; + HEAP32[$row_index2 >> 2] = (HEAP32[$row_index2 >> 2] | 0) + 1 & 15; + $row$043 = $row$043 + 1 | 0; + } while (($row$043 | 0) != ($num_rows | 0)); + return; + } + $row$043$us = 0; do { - if (_arith_decode($0, $57) | 0) { - $67 = HEAP32[$1 + ($$021 << 2) >> 2] | 0; - HEAP16[$67 >> 1] = $60 | (HEAPU16[$67 >> 1] | 0); + $arrayidx$us = $output_buf + ($row$043$us << 2) | 0; + _memset(HEAP32[$arrayidx$us >> 2] | 0, 0, $2 | 0) | 0; + $4 = HEAP32[$row_index2 >> 2] | 0; + $arrayidx6$us = $input_buf + ($row$043$us << 2) | 0; + if (!$cmp1235) { + $ci$041$us45 = 0; + do { + $8 = HEAP32[(HEAP32[$colorindex >> 2] | 0) + ($ci$041$us45 << 2) >> 2] | 0; + $9 = HEAP32[$0 + 52 + ($ci$041$us45 << 2) >> 2] | 0; + $col$038$us51 = $2; + $col_index$036$us53 = 0; + $input_ptr$039$us50 = (HEAP32[$arrayidx6$us >> 2] | 0) + $ci$041$us45 | 0; + $output_ptr$037$us52 = HEAP32[$arrayidx$us >> 2] | 0; + while (1) { + HEAP8[$output_ptr$037$us52 >> 0] = (HEAPU8[$output_ptr$037$us52 >> 0] | 0) + (HEAPU8[$8 + ((HEAP32[$9 + ($4 << 6) + ($col_index$036$us53 << 2) >> 2] | 0) + (HEAPU8[$input_ptr$039$us50 >> 0] | 0)) >> 0] | 0); + $col$038$us51 = $col$038$us51 + -1 | 0; + if (!$col$038$us51) break; else { + $col_index$036$us53 = $col_index$036$us53 + 1 & 15; + $input_ptr$039$us50 = $input_ptr$039$us50 + $1 | 0; + $output_ptr$037$us52 = $output_ptr$037$us52 + 1 | 0; + } + } + $ci$041$us45 = $ci$041$us45 + 1 | 0; + } while (($ci$041$us45 | 0) != ($1 | 0)); } - $$021 = $$021 + 1 | 0; - } while (($$021 | 0) < (HEAP32[$61 >> 2] | 0)); - return 1; + HEAP32[$row_index2 >> 2] = $4 + 1 & 15; + $row$043$us = $row$043$us + 1 | 0; + } while (($row$043$us | 0) != ($num_rows | 0)); + return; } -function __ZNK6vision25GaussianScaleSpacePyramid3getEmm($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $12 = 0, $17 = 0, $21 = 0, $23 = 0, $3 = 0, $30 = 0, $35 = 0, $39 = 0, $41 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $3 = sp; - if ((HEAP32[$0 + 16 >> 2] | 0) >>> 0 <= $1 >>> 0) { - $12 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 38089) | 0, 37972) | 0, 39072) | 0, 218) | 0, 39079) | 0, 26868) | 0; - __ZNKSt3__28ios_base6getlocEv($3, $12 + (HEAP32[(HEAP32[$12 >> 2] | 0) + -12 >> 2] | 0) | 0); - $17 = __ZNKSt3__26locale9use_facetERNS0_2idE($3, 66512) | 0; - $21 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$17 >> 2] | 0) + 28 >> 2] & 127]($17, 10) | 0; - __ZNSt3__26localeD2Ev($3); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($12, $21) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($12) | 0; - _abort(); +function ___shgetc($f) { + $f = $f | 0; + var $$pre = 0, $0 = 0, $14 = 0, $2 = 0, $20 = 0, $22 = 0, $25 = 0, $30 = 0, $32 = 0, $33 = 0, $39 = 0, $40 = 0, $46 = 0, $47 = 0, $48 = 0, $5 = 0, $51 = 0, $57 = 0, $58 = 0, $59 = 0, $64 = 0, $66 = 0, $9 = 0, $add = 0, $arrayidx = 0, $call = 0, $retval$0 = 0, $rpos33$phi$trans$insert = 0, $shcnt30 = 0, $shlim = 0, $sub$ptr$sub = 0, label = 0; + $shlim = $f + 112 | 0; + $0 = $shlim; + $2 = HEAP32[$0 >> 2] | 0; + $5 = HEAP32[$0 + 4 >> 2] | 0; + if (!(($2 | 0) == 0 & ($5 | 0) == 0) ? ($9 = $f + 120 | 0, $14 = HEAP32[$9 + 4 >> 2] | 0, !(($14 | 0) < ($5 | 0) | (($14 | 0) == ($5 | 0) ? (HEAP32[$9 >> 2] | 0) >>> 0 < $2 >>> 0 : 0))) : 0) label = 4; else { + $call = ___uflow($f) | 0; + if (($call | 0) >= 0) { + $20 = $shlim; + $22 = HEAP32[$20 >> 2] | 0; + $25 = HEAP32[$20 + 4 >> 2] | 0; + $$pre = HEAP32[$f + 8 >> 2] | 0; + if (!(($22 | 0) == 0 & ($25 | 0) == 0)) { + $30 = HEAP32[$f + 4 >> 2] | 0; + $sub$ptr$sub = $$pre - $30 | 0; + $32 = (($sub$ptr$sub | 0) < 0) << 31 >> 31; + $33 = $f + 120 | 0; + $39 = _i64Subtract($22 | 0, $25 | 0, HEAP32[$33 >> 2] | 0, HEAP32[$33 + 4 >> 2] | 0) | 0; + $40 = getTempRet0() | 0; + $46 = $$pre; + if (($40 | 0) > ($32 | 0) | ($40 | 0) == ($32 | 0) & $39 >>> 0 > $sub$ptr$sub >>> 0) { + $66 = $46; + label = 9; + } else { + HEAP32[$f + 104 >> 2] = $30 + ($39 + -1); + $47 = $46; + } + } else { + $66 = $$pre; + label = 9; + } + if ((label | 0) == 9) { + HEAP32[$f + 104 >> 2] = $$pre; + $47 = $66; + } + $rpos33$phi$trans$insert = $f + 4 | 0; + if (!$47) $64 = HEAP32[$rpos33$phi$trans$insert >> 2] | 0; else { + $48 = HEAP32[$rpos33$phi$trans$insert >> 2] | 0; + $add = $47 + 1 - $48 | 0; + $shcnt30 = $f + 120 | 0; + $51 = $shcnt30; + $57 = _i64Add(HEAP32[$51 >> 2] | 0, HEAP32[$51 + 4 >> 2] | 0, $add | 0, (($add | 0) < 0) << 31 >> 31 | 0) | 0; + $58 = getTempRet0() | 0; + $59 = $shcnt30; + HEAP32[$59 >> 2] = $57; + HEAP32[$59 + 4 >> 2] = $58; + $64 = $48; + } + $arrayidx = $64 + -1 | 0; + if (($call | 0) == (HEAPU8[$arrayidx >> 0] | 0 | 0)) $retval$0 = $call; else { + HEAP8[$arrayidx >> 0] = $call; + $retval$0 = $call; + } + } else label = 4; } - $23 = HEAP32[$0 + 20 >> 2] | 0; - if ($23 >>> 0 > $2 >>> 0) { - $41 = (Math_imul($23, $1) | 0) + $2 | 0; - STACKTOP = sp; - return (HEAP32[$0 + 4 >> 2] | 0) + ($41 << 5) | 0; - } else { - $30 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 38233) | 0, 37972) | 0, 39072) | 0, 219) | 0, 39079) | 0, 26888) | 0; - __ZNKSt3__28ios_base6getlocEv($3, $30 + (HEAP32[(HEAP32[$30 >> 2] | 0) + -12 >> 2] | 0) | 0); - $35 = __ZNKSt3__26locale9use_facetERNS0_2idE($3, 66512) | 0; - $39 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$35 >> 2] | 0) + 28 >> 2] & 127]($35, 10) | 0; - __ZNSt3__26localeD2Ev($3); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($30, $39) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($30) | 0; - _abort(); + if ((label | 0) == 4) { + HEAP32[$f + 104 >> 2] = 0; + $retval$0 = -1; } - return 0; + return $retval$0 | 0; } -function _arParamChangeSize($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $$0 = 0, $$0103 = 0, $12 = 0.0, $27 = 0, $7 = 0.0, label = 0; - $7 = +($1 | 0) / +(HEAP32[$0 >> 2] | 0); - $12 = +($2 | 0) / +(HEAP32[$0 + 4 >> 2] | 0); - HEAP32[$3 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - $$0 = 0; - while (1) { - if (($$0 | 0) == 4) break; - HEAPF64[$3 + 8 + ($$0 << 3) >> 3] = $7 * +HEAPF64[$0 + 8 + ($$0 << 3) >> 3]; - HEAPF64[$3 + 40 + ($$0 << 3) >> 3] = $12 * +HEAPF64[$0 + 40 + ($$0 << 3) >> 3]; - HEAPF64[$3 + 72 + ($$0 << 3) >> 3] = +HEAPF64[$0 + 72 + ($$0 << 3) >> 3]; - $$0 = $$0 + 1 | 0; - } - $27 = HEAP32[$0 + 176 >> 2] | 0; - switch ($27 | 0) { - case 4: - { - HEAPF64[$3 + 104 >> 3] = +HEAPF64[$0 + 104 >> 3]; - HEAPF64[$3 + 112 >> 3] = +HEAPF64[$0 + 112 >> 3]; - HEAPF64[$3 + 120 >> 3] = +HEAPF64[$0 + 120 >> 3]; - HEAPF64[$3 + 128 >> 3] = +HEAPF64[$0 + 128 >> 3]; - HEAPF64[$3 + 136 >> 3] = $7 * +HEAPF64[$0 + 136 >> 3]; - HEAPF64[$3 + 144 >> 3] = $12 * +HEAPF64[$0 + 144 >> 3]; - HEAPF64[$3 + 152 >> 3] = $7 * +HEAPF64[$0 + 152 >> 3]; - HEAPF64[$3 + 160 >> 3] = $12 * +HEAPF64[$0 + 160 >> 3]; - HEAPF64[$3 + 168 >> 3] = +HEAPF64[$0 + 168 >> 3]; - label = 9; - break; - } - case 3: - { - HEAPF64[$3 + 104 >> 3] = $7 * +HEAPF64[$0 + 104 >> 3]; - HEAPF64[$3 + 112 >> 3] = $12 * +HEAPF64[$0 + 112 >> 3]; - HEAPF64[$3 + 120 >> 3] = +HEAPF64[$0 + 120 >> 3]; - HEAPF64[$3 + 128 >> 3] = +HEAPF64[$0 + 128 >> 3]; - HEAPF64[$3 + 136 >> 3] = +HEAPF64[$0 + 136 >> 3] / ($7 * $12); - HEAPF64[$3 + 144 >> 3] = +HEAPF64[$0 + 144 >> 3] / ($12 * ($7 * $7 * $12)); - label = 9; +function __ZNSt3__26vectorIhNS_9allocatorIhEEE6assignIPhEENS_9enable_ifIXaasr21__is_forward_iteratorIT_EE5valuesr16is_constructibleIhNS_15iterator_traitsIS7_E9referenceEEE5valueEvE4typeES7_S7_($this, $__first, $__last) { + $this = $this | 0; + $__first = $__first | 0; + $__last = $__last | 0; + var $1 = 0, $2 = 0, $__end_$i = 0, $__value_$i$i$i$i$i = 0, $call$i = 0, $cmp4 = 0, $mul$i = 0, $spec$select = 0, $sub$ptr$rhs$cast$i$i = 0, $sub$ptr$sub$i = 0, $sub$ptr$sub$i$i = 0, $sub$ptr$sub$i$i$i = 0, $sub$ptr$sub$i$i18 = 0; + $sub$ptr$rhs$cast$i$i = $__first; + $sub$ptr$sub$i$i = $__last - $sub$ptr$rhs$cast$i$i | 0; + $__value_$i$i$i$i$i = $this + 8 | 0; + $1 = HEAP32[$this >> 2] | 0; + $2 = $1; + do if ($sub$ptr$sub$i$i >>> 0 > ((HEAP32[$__value_$i$i$i$i$i >> 2] | 0) - $1 | 0) >>> 0) { + __ZNSt3__26vectorIhNS_9allocatorIhEEE13__vdeallocateEv($this); + $call$i = __ZNKSt3__26vectorIhNS_9allocatorIhEEE8max_sizeEv($this) | 0; + if ($call$i >>> 0 < $sub$ptr$sub$i$i >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv($this); else { + $sub$ptr$sub$i$i$i = (HEAP32[$__value_$i$i$i$i$i >> 2] | 0) - (HEAP32[$this >> 2] | 0) | 0; + $mul$i = $sub$ptr$sub$i$i$i << 1; + __ZNSt3__26vectorIhNS_9allocatorIhEEE11__vallocateEm($this, $sub$ptr$sub$i$i$i >>> 0 < $call$i >>> 1 >>> 0 ? ($mul$i >>> 0 < $sub$ptr$sub$i$i >>> 0 ? $sub$ptr$sub$i$i : $mul$i) : $call$i); + __ZNSt3__26vectorIhNS_9allocatorIhEEE18__construct_at_endIPhEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeES7_S7_m($this, $__first, $__last, $sub$ptr$sub$i$i); break; } - case 2: - { - HEAPF64[$3 + 104 >> 3] = $7 * +HEAPF64[$0 + 104 >> 3]; - HEAPF64[$3 + 112 >> 3] = $12 * +HEAPF64[$0 + 112 >> 3]; - HEAPF64[$3 + 120 >> 3] = +HEAPF64[$0 + 120 >> 3]; - HEAPF64[$3 + 128 >> 3] = +HEAPF64[$0 + 128 >> 3] / ($7 * $12); - HEAPF64[$3 + 136 >> 3] = +HEAPF64[$0 + 136 >> 3] / ($12 * ($7 * $7 * $12)); - label = 9; + } else { + $__end_$i = $this + 4 | 0; + $sub$ptr$sub$i = (HEAP32[$__end_$i >> 2] | 0) - $1 | 0; + $cmp4 = $sub$ptr$sub$i$i >>> 0 > $sub$ptr$sub$i >>> 0; + $spec$select = $cmp4 ? $__first + $sub$ptr$sub$i | 0 : $__last; + $sub$ptr$sub$i$i18 = $spec$select - $sub$ptr$rhs$cast$i$i | 0; + if ($sub$ptr$sub$i$i18 | 0) _memmove($2 | 0, $__first | 0, $sub$ptr$sub$i$i18 | 0) | 0; + if ($cmp4) { + __ZNSt3__26vectorIhNS_9allocatorIhEEE18__construct_at_endIPhEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeES7_S7_m($this, $spec$select, $__last, $sub$ptr$sub$i$i - (HEAP32[$__end_$i >> 2] | 0) + (HEAP32[$this >> 2] | 0) | 0); break; - } - case 1: - { - HEAPF64[$3 + 104 >> 3] = $7 * +HEAPF64[$0 + 104 >> 3]; - HEAPF64[$3 + 112 >> 3] = $12 * +HEAPF64[$0 + 112 >> 3]; - HEAPF64[$3 + 120 >> 3] = +HEAPF64[$0 + 120 >> 3]; - HEAPF64[$3 + 128 >> 3] = +HEAPF64[$0 + 128 >> 3] / ($7 * $12); - label = 9; + } else { + HEAP32[$__end_$i >> 2] = $2 + $sub$ptr$sub$i$i18; break; } - default: - $$0103 = -1; - } - if ((label | 0) == 9) { - HEAP32[$3 + 176 >> 2] = $27; - $$0103 = 0; - } - return $$0103 | 0; + } while (0); + return; } -function __ZNKSt3__27num_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_putES4_RNS_8ios_baseEwl($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $$alloca_mul = 0, $$alloca_mul6 = 0, $$byval_copy = 0, $$lobit = 0, $10 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $19 = 0, $20 = 0, $24 = 0, $26 = 0, $27 = 0, $28 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $$byval_copy = sp; - $5 = sp + 16 | 0; - $6 = sp + 12 | 0; - $7 = sp + 4 | 0; - $8 = sp + 8 | 0; - HEAP8[$5 >> 0] = HEAP8[59189] | 0; - HEAP8[$5 + 1 >> 0] = HEAP8[59190] | 0; - HEAP8[$5 + 2 >> 0] = HEAP8[59191] | 0; - HEAP8[$5 + 3 >> 0] = HEAP8[59192] | 0; - HEAP8[$5 + 4 >> 0] = HEAP8[59193] | 0; - HEAP8[$5 + 5 >> 0] = HEAP8[59194] | 0; - $10 = $2 + 4 | 0; - __ZNSt3__214__num_put_base12__format_intEPcPKcbj($5 + 1 | 0, 59195, 1, HEAP32[$10 >> 2] | 0); - $$lobit = (HEAP32[$10 >> 2] | 0) >>> 9 & 1; - $14 = $$lobit + 13 | 0; - $15 = _llvm_stacksave() | 0; - $$alloca_mul = $14; - $16 = STACKTOP; - STACKTOP = STACKTOP + ((1 * $$alloca_mul | 0) + 15 & -16) | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow((1 * $$alloca_mul | 0) + 15 & -16 | 0); - $17 = __ZNSt3__26__clocEv() | 0; - HEAP32[$$byval_copy >> 2] = $4; - $19 = $16 + (__ZNSt3__219__libcpp_snprintf_lEPcmP15__locale_structPKcz($16, $14, $17, $5, $$byval_copy) | 0) | 0; - $20 = __ZNSt3__214__num_put_base18__identify_paddingEPcS1_RKNS_8ios_baseE($16, $19, $2) | 0; - $$alloca_mul6 = ($$lobit << 1 | 24) + -1 << 2; - $24 = STACKTOP; - STACKTOP = STACKTOP + ((1 * $$alloca_mul6 | 0) + 15 & -16) | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow((1 * $$alloca_mul6 | 0) + 15 & -16 | 0); - __ZNKSt3__28ios_base6getlocEv($$byval_copy, $2); - __ZNSt3__29__num_putIwE21__widen_and_group_intEPcS2_S2_PwRS3_S4_RKNS_6localeE($16, $20, $19, $24, $6, $7, $$byval_copy); - __ZNSt3__26localeD2Ev($$byval_copy); - HEAP32[$8 >> 2] = HEAP32[$1 >> 2]; - $26 = HEAP32[$6 >> 2] | 0; - $27 = HEAP32[$7 >> 2] | 0; - HEAP32[$$byval_copy >> 2] = HEAP32[$8 >> 2]; - $28 = __ZNSt3__216__pad_and_outputIwNS_11char_traitsIwEEEENS_19ostreambuf_iteratorIT_T0_EES6_PKS4_S8_S8_RNS_8ios_baseES4_($$byval_copy, $24, $26, $27, $2, $3) | 0; - _llvm_stackrestore($15 | 0); - STACKTOP = sp; - return $28 | 0; -} - -function __ZNKSt3__27num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_putES4_RNS_8ios_baseEcl($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $$alloca_mul = 0, $$alloca_mul6 = 0, $$byval_copy = 0, $$lobit = 0, $10 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $19 = 0, $20 = 0, $24 = 0, $26 = 0, $27 = 0, $28 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $$byval_copy = sp; - $5 = sp + 16 | 0; - $6 = sp + 12 | 0; - $7 = sp + 4 | 0; - $8 = sp + 8 | 0; - HEAP8[$5 >> 0] = HEAP8[59189] | 0; - HEAP8[$5 + 1 >> 0] = HEAP8[59190] | 0; - HEAP8[$5 + 2 >> 0] = HEAP8[59191] | 0; - HEAP8[$5 + 3 >> 0] = HEAP8[59192] | 0; - HEAP8[$5 + 4 >> 0] = HEAP8[59193] | 0; - HEAP8[$5 + 5 >> 0] = HEAP8[59194] | 0; - $10 = $2 + 4 | 0; - __ZNSt3__214__num_put_base12__format_intEPcPKcbj($5 + 1 | 0, 59195, 1, HEAP32[$10 >> 2] | 0); - $$lobit = (HEAP32[$10 >> 2] | 0) >>> 9 & 1; - $14 = $$lobit + 13 | 0; - $15 = _llvm_stacksave() | 0; - $$alloca_mul = $14; - $16 = STACKTOP; - STACKTOP = STACKTOP + ((1 * $$alloca_mul | 0) + 15 & -16) | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow((1 * $$alloca_mul | 0) + 15 & -16 | 0); - $17 = __ZNSt3__26__clocEv() | 0; - HEAP32[$$byval_copy >> 2] = $4; - $19 = $16 + (__ZNSt3__219__libcpp_snprintf_lEPcmP15__locale_structPKcz($16, $14, $17, $5, $$byval_copy) | 0) | 0; - $20 = __ZNSt3__214__num_put_base18__identify_paddingEPcS1_RKNS_8ios_baseE($16, $19, $2) | 0; - $$alloca_mul6 = ($$lobit << 1 | 24) + -1 | 0; - $24 = STACKTOP; - STACKTOP = STACKTOP + ((1 * $$alloca_mul6 | 0) + 15 & -16) | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow((1 * $$alloca_mul6 | 0) + 15 & -16 | 0); - __ZNKSt3__28ios_base6getlocEv($$byval_copy, $2); - __ZNSt3__29__num_putIcE21__widen_and_group_intEPcS2_S2_S2_RS2_S3_RKNS_6localeE($16, $20, $19, $24, $6, $7, $$byval_copy); - __ZNSt3__26localeD2Ev($$byval_copy); - HEAP32[$8 >> 2] = HEAP32[$1 >> 2]; - $26 = HEAP32[$6 >> 2] | 0; - $27 = HEAP32[$7 >> 2] | 0; - HEAP32[$$byval_copy >> 2] = HEAP32[$8 >> 2]; - $28 = __ZNSt3__216__pad_and_outputIcNS_11char_traitsIcEEEENS_19ostreambuf_iteratorIT_T0_EES6_PKS4_S8_S8_RNS_8ios_baseES4_($$byval_copy, $24, $26, $27, $2, $3) | 0; - _llvm_stackrestore($15 | 0); - STACKTOP = sp; - return $28 | 0; -} - -function __ZNKSt3__27num_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_putES4_RNS_8ios_baseEwm($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $$alloca_mul = 0, $$alloca_mul6 = 0, $$byval_copy = 0, $$lobit = 0, $10 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $19 = 0, $20 = 0, $23 = 0, $25 = 0, $26 = 0, $27 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $$byval_copy = sp; - $5 = sp + 16 | 0; - $6 = sp + 12 | 0; - $7 = sp + 4 | 0; - $8 = sp + 8 | 0; - HEAP8[$5 >> 0] = HEAP8[59189] | 0; - HEAP8[$5 + 1 >> 0] = HEAP8[59190] | 0; - HEAP8[$5 + 2 >> 0] = HEAP8[59191] | 0; - HEAP8[$5 + 3 >> 0] = HEAP8[59192] | 0; - HEAP8[$5 + 4 >> 0] = HEAP8[59193] | 0; - HEAP8[$5 + 5 >> 0] = HEAP8[59194] | 0; - $10 = $2 + 4 | 0; - __ZNSt3__214__num_put_base12__format_intEPcPKcbj($5 + 1 | 0, 59195, 0, HEAP32[$10 >> 2] | 0); - $$lobit = (HEAP32[$10 >> 2] | 0) >>> 9 & 1; - $14 = $$lobit | 12; - $15 = _llvm_stacksave() | 0; - $$alloca_mul = $14; - $16 = STACKTOP; - STACKTOP = STACKTOP + ((1 * $$alloca_mul | 0) + 15 & -16) | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow((1 * $$alloca_mul | 0) + 15 & -16 | 0); - $17 = __ZNSt3__26__clocEv() | 0; - HEAP32[$$byval_copy >> 2] = $4; - $19 = $16 + (__ZNSt3__219__libcpp_snprintf_lEPcmP15__locale_structPKcz($16, $14, $17, $5, $$byval_copy) | 0) | 0; - $20 = __ZNSt3__214__num_put_base18__identify_paddingEPcS1_RKNS_8ios_baseE($16, $19, $2) | 0; - $$alloca_mul6 = ($$lobit << 1 | 21) << 2; - $23 = STACKTOP; - STACKTOP = STACKTOP + ((1 * $$alloca_mul6 | 0) + 15 & -16) | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow((1 * $$alloca_mul6 | 0) + 15 & -16 | 0); - __ZNKSt3__28ios_base6getlocEv($$byval_copy, $2); - __ZNSt3__29__num_putIwE21__widen_and_group_intEPcS2_S2_PwRS3_S4_RKNS_6localeE($16, $20, $19, $23, $6, $7, $$byval_copy); - __ZNSt3__26localeD2Ev($$byval_copy); - HEAP32[$8 >> 2] = HEAP32[$1 >> 2]; - $25 = HEAP32[$6 >> 2] | 0; - $26 = HEAP32[$7 >> 2] | 0; - HEAP32[$$byval_copy >> 2] = HEAP32[$8 >> 2]; - $27 = __ZNSt3__216__pad_and_outputIwNS_11char_traitsIwEEEENS_19ostreambuf_iteratorIT_T0_EES6_PKS4_S8_S8_RNS_8ios_baseES4_($$byval_copy, $23, $25, $26, $2, $3) | 0; - _llvm_stackrestore($15 | 0); - STACKTOP = sp; - return $27 | 0; -} - -function __ZNKSt3__27num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_putES4_RNS_8ios_baseEcm($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $$alloca_mul = 0, $$alloca_mul6 = 0, $$byval_copy = 0, $$lobit = 0, $10 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $19 = 0, $20 = 0, $23 = 0, $25 = 0, $26 = 0, $27 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, sp = 0; +function __ZN6vision27OrthogonalizePivot8x9Basis2IfEEbPT_S2_($Q, $A) { + $Q = $Q | 0; + $A = $A | 0; + var $add$ptr = 0, $add$ptr1 = 0, $add$ptr12 = 0, $add$ptr15 = 0, $add$ptr2 = 0, $add$ptr3 = 0, $add$ptr6 = 0, $add$ptr9 = 0, $arrayidx35 = 0, $call = 0.0, $call20 = 0.0, $call23 = 0.0, $call26 = 0.0, $call29 = 0.0, $call32 = 0.0, $call34 = 0, $mul = 0, $retval$0 = 0, $ss = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 32 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $$byval_copy = sp; - $5 = sp + 16 | 0; - $6 = sp + 12 | 0; - $7 = sp + 4 | 0; - $8 = sp + 8 | 0; - HEAP8[$5 >> 0] = HEAP8[59189] | 0; - HEAP8[$5 + 1 >> 0] = HEAP8[59190] | 0; - HEAP8[$5 + 2 >> 0] = HEAP8[59191] | 0; - HEAP8[$5 + 3 >> 0] = HEAP8[59192] | 0; - HEAP8[$5 + 4 >> 0] = HEAP8[59193] | 0; - HEAP8[$5 + 5 >> 0] = HEAP8[59194] | 0; - $10 = $2 + 4 | 0; - __ZNSt3__214__num_put_base12__format_intEPcPKcbj($5 + 1 | 0, 59195, 0, HEAP32[$10 >> 2] | 0); - $$lobit = (HEAP32[$10 >> 2] | 0) >>> 9 & 1; - $14 = $$lobit | 12; - $15 = _llvm_stacksave() | 0; - $$alloca_mul = $14; - $16 = STACKTOP; - STACKTOP = STACKTOP + ((1 * $$alloca_mul | 0) + 15 & -16) | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow((1 * $$alloca_mul | 0) + 15 & -16 | 0); - $17 = __ZNSt3__26__clocEv() | 0; - HEAP32[$$byval_copy >> 2] = $4; - $19 = $16 + (__ZNSt3__219__libcpp_snprintf_lEPcmP15__locale_structPKcz($16, $14, $17, $5, $$byval_copy) | 0) | 0; - $20 = __ZNSt3__214__num_put_base18__identify_paddingEPcS1_RKNS_8ios_baseE($16, $19, $2) | 0; - $$alloca_mul6 = $$lobit << 1 | 21; - $23 = STACKTOP; - STACKTOP = STACKTOP + ((1 * $$alloca_mul6 | 0) + 15 & -16) | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow((1 * $$alloca_mul6 | 0) + 15 & -16 | 0); - __ZNKSt3__28ios_base6getlocEv($$byval_copy, $2); - __ZNSt3__29__num_putIcE21__widen_and_group_intEPcS2_S2_S2_RS2_S3_RKNS_6localeE($16, $20, $19, $23, $6, $7, $$byval_copy); - __ZNSt3__26localeD2Ev($$byval_copy); - HEAP32[$8 >> 2] = HEAP32[$1 >> 2]; - $25 = HEAP32[$6 >> 2] | 0; - $26 = HEAP32[$7 >> 2] | 0; - HEAP32[$$byval_copy >> 2] = HEAP32[$8 >> 2]; - $27 = __ZNSt3__216__pad_and_outputIcNS_11char_traitsIcEEEENS_19ostreambuf_iteratorIT_T0_EES6_PKS4_S8_S8_RNS_8ios_baseES4_($$byval_copy, $23, $25, $26, $2, $3) | 0; - _llvm_stackrestore($15 | 0); - STACKTOP = sp; - return $27 | 0; -} - -function __ZNK6vision25GaussianScaleSpacePyramid14effectiveSigmaEmf($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = +$2; - var $10 = 0, $15 = 0, $19 = 0, $29 = 0, $3 = 0, $34 = 0, $38 = 0, $44 = 0.0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $3 = sp; - if (!($2 >= 0.0)) { - $10 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 38176) | 0, 37972) | 0, 39072) | 0, 232) | 0, 39079) | 0, 38210) | 0; - __ZNKSt3__28ios_base6getlocEv($3, $10 + (HEAP32[(HEAP32[$10 >> 2] | 0) + -12 >> 2] | 0) | 0); - $15 = __ZNKSt3__26locale9use_facetERNS0_2idE($3, 66512) | 0; - $19 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$15 >> 2] | 0) + 28 >> 2] & 127]($15, 10) | 0; - __ZNSt3__26localeD2Ev($3); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($10, $19) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($10) | 0; - _abort(); - } - if (+(HEAP32[$0 + 20 >> 2] | 0) > $2) { - $44 = +Math_pow(+(+HEAPF32[$0 + 24 >> 2]), +$2) * +(1 << $1 | 0); - STACKTOP = sp; - return +$44; - } else { - $29 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 38233) | 0, 37972) | 0, 39072) | 0, 233) | 0, 39079) | 0, 38284) | 0; - __ZNKSt3__28ios_base6getlocEv($3, $29 + (HEAP32[(HEAP32[$29 >> 2] | 0) + -12 >> 2] | 0) | 0); - $34 = __ZNKSt3__26locale9use_facetERNS0_2idE($3, 66512) | 0; - $38 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$34 >> 2] | 0) + 28 >> 2] & 127]($34, 10) | 0; - __ZNSt3__26localeD2Ev($3); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($29, $38) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($29) | 0; - _abort(); + $ss = sp; + $add$ptr = $Q + 72 | 0; + $add$ptr1 = $Q + 36 | 0; + $add$ptr2 = $A + 72 | 0; + __ZN6vision21AccumulateProjection9IfEEvPT_PKS1_S4_($add$ptr, $add$ptr1, $add$ptr2); + $add$ptr3 = $Q + 108 | 0; + __ZN6vision21AccumulateProjection9IfEEvPT_PKS1_S4_($add$ptr3, $add$ptr1, $A + 108 | 0); + $add$ptr6 = $Q + 144 | 0; + __ZN6vision21AccumulateProjection9IfEEvPT_PKS1_S4_($add$ptr6, $add$ptr1, $A + 144 | 0); + $add$ptr9 = $Q + 180 | 0; + __ZN6vision21AccumulateProjection9IfEEvPT_PKS1_S4_($add$ptr9, $add$ptr1, $A + 180 | 0); + $add$ptr12 = $Q + 216 | 0; + __ZN6vision21AccumulateProjection9IfEEvPT_PKS1_S4_($add$ptr12, $add$ptr1, $A + 216 | 0); + $add$ptr15 = $Q + 252 | 0; + __ZN6vision21AccumulateProjection9IfEEvPT_PKS1_S4_($add$ptr15, $add$ptr1, $A + 252 | 0); + $call = +__ZN6vision11SumSquares9IfEET_PKS1_($add$ptr); + HEAPF32[$ss >> 2] = $call; + $call20 = +__ZN6vision11SumSquares9IfEET_PKS1_($add$ptr3); + HEAPF32[$ss + 4 >> 2] = $call20; + $call23 = +__ZN6vision11SumSquares9IfEET_PKS1_($add$ptr6); + HEAPF32[$ss + 8 >> 2] = $call23; + $call26 = +__ZN6vision11SumSquares9IfEET_PKS1_($add$ptr9); + HEAPF32[$ss + 12 >> 2] = $call26; + $call29 = +__ZN6vision11SumSquares9IfEET_PKS1_($add$ptr12); + HEAPF32[$ss + 16 >> 2] = $call29; + $call32 = +__ZN6vision11SumSquares9IfEET_PKS1_($add$ptr15); + HEAPF32[$ss + 20 >> 2] = $call32; + $call34 = __ZN6vision9MaxIndex6IfEEiPKT_($ss) | 0; + $arrayidx35 = $ss + ($call34 << 2) | 0; + if (+HEAPF32[$arrayidx35 >> 2] == 0.0) $retval$0 = 0; else { + $mul = $call34 * 9 | 0; + __ZN6vision5Swap9IfEEvPT_S2_($add$ptr, $add$ptr + ($mul << 2) | 0); + __ZN6vision5Swap9IfEEvPT_S2_($add$ptr2, $add$ptr2 + ($mul << 2) | 0); + __ZN6vision12ScaleVector9IfEEvPT_PKS1_S1_($add$ptr, $add$ptr, 1.0 / +Math_sqrt(+(+HEAPF32[$arrayidx35 >> 2]))); + $retval$0 = 1; } - return +(0.0); + STACKTOP = sp; + return $retval$0 | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E18parseClassEnumTypeEv($0) { - $0 = $0 | 0; - var $$0 = 0, $$byval_copy2 = 0, $1 = 0, $2 = 0, $3 = 0, $4 = 0, $9 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 48 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); - $$byval_copy2 = sp + 32 | 0; - $1 = sp; - $2 = sp + 24 | 0; - $3 = sp + 16 | 0; - $4 = sp + 8 | 0; - __ZN12_GLOBAL__N_110StringViewC2Ev($1); - __ZN12_GLOBAL__N_110StringViewC2EPKc($2, 55028); - HEAP32[$$byval_copy2 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy2 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - do if (!(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($0, $$byval_copy2) | 0)) { - __ZN12_GLOBAL__N_110StringViewC2EPKc($3, 55038); - HEAP32[$$byval_copy2 >> 2] = HEAP32[$3 >> 2]; - HEAP32[$$byval_copy2 + 4 >> 2] = HEAP32[$3 + 4 >> 2]; - if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($0, $$byval_copy2) | 0) { - __ZN12_GLOBAL__N_110StringViewC2EPKc($1, 55041); - break; - } - __ZN12_GLOBAL__N_110StringViewC2EPKc($4, 55047); - HEAP32[$$byval_copy2 >> 2] = HEAP32[$4 >> 2]; - HEAP32[$$byval_copy2 + 4 >> 2] = HEAP32[$4 + 4 >> 2]; - if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($0, $$byval_copy2) | 0) __ZN12_GLOBAL__N_110StringViewC2EPKc($1, 55050); - } else __ZN12_GLOBAL__N_110StringViewC2EPKc($1, 55031); while (0); - $9 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseNameEPNS5_9NameStateE(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0, 0) | 0; - HEAP32[$$byval_copy2 >> 2] = $9; - if ($9) if (__ZNK12_GLOBAL__N_110StringView5emptyEv($1) | 0) $$0 = $9; else $$0 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_22ElaboratedTypeSpefTypeEJRNS_10StringViewERPNS0_4NodeEEEESB_DpOT0_($0, $1, $$byval_copy2) | 0; else $$0 = 0; - STACKTOP = sp; - return $$0 | 0; -} - -function _ar2GenImageLayer2($0, $1) { - $0 = $0 | 0; - $1 = +$1; - var $$0 = 0, $$087 = 0, $$089 = 0, $$090 = 0, $$091 = 0, $$092 = 0, $$095 = 0, $$096 = 0, $$1 = 0, $$188 = 0, $$197 = 0, $10 = 0, $15 = 0, $16 = 0, $2 = 0, $22 = 0, $26 = 0.0, $29 = 0, $30 = 0, $34 = 0, $35 = 0, $39 = 0.0, $42 = 0, $43 = 0, $47 = 0, $48 = 0, $59 = 0, $6 = 0, $7 = 0.0, $9 = 0, $spec$select = 0, $spec$select98 = 0, sp = 0; +function __ZN6vision11FindInliersERNSt3__26vectorINS_7match_tENS0_9allocatorIS2_EEEEPKfRKNS1_INS_12FeaturePointENS3_IS9_EEEESD_RKS5_f($inliers, $H, $p1, $p2, $matches, $threshold) { + $inliers = $inliers | 0; + $H = $H | 0; + $p1 = $p1 | 0; + $p2 = $p2 | 0; + $matches = $matches | 0; + $threshold = +$threshold; + var $20 = 0, $22 = 0, $27 = 0, $28 = 0, $3 = 0, $5 = 0, $6 = 0, $__end_$i = 0, $__end_$i19 = 0, $__value_$i$i$i$i = 0, $arrayidx$i = 0, $arrayidx3 = 0, $call = 0.0, $call13 = 0.0, $i$0 = 0, $xp = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $2 = $0 + 4 | 0; - $6 = $0 + 12 | 0; - $7 = +HEAPF32[$6 >> 2]; - $9 = _lroundf(+(HEAP32[$2 >> 2] | 0) * $1 / $7) | 0; - $10 = $0 + 8 | 0; - $15 = _lroundf(+(HEAP32[$10 >> 2] | 0) * $1 / $7) | 0; - $16 = _malloc(16) | 0; - if (!$16) { - _arLog(0, 3, 45930, sp); - _exit(1); - } - HEAP32[$16 + 4 >> 2] = $9; - HEAP32[$16 + 8 >> 2] = $15; - HEAPF32[$16 + 12 >> 2] = $1; - $22 = _malloc(Math_imul($15, $9) | 0) | 0; - HEAP32[$16 >> 2] = $22; - if (!$22) { - _arLog(0, 3, 45930, sp + 8 | 0); - _exit(1); - } - $$091 = 0; - $$096 = $22; + $xp = sp; + $call = +__ZN6vision3sqrIfEET_S1_($threshold); + $__end_$i = $matches + 4 | 0; + __ZNSt3__26vectorIN6vision7match_tENS_9allocatorIS2_EEE7reserveEm($inliers, (HEAP32[$__end_$i >> 2] | 0) - (HEAP32[$matches >> 2] | 0) >> 3); + $arrayidx3 = $xp + 4 | 0; + $__end_$i19 = $inliers + 4 | 0; + $__value_$i$i$i$i = $inliers + 8 | 0; + $i$0 = 0; while (1) { - if (($$091 | 0) >= ($15 | 0)) break; - $26 = +HEAPF32[$6 >> 2]; - $29 = _lroundf($26 * +($$091 | 0) / $1) | 0; - $30 = $$091 + 1 | 0; - $34 = _lroundf($26 * +($30 | 0) / $1) | 0; - $35 = HEAP32[$10 >> 2] | 0; - $spec$select = ($34 | 0) > ($35 | 0) ? $35 : $34; - $$092 = 0; - $$197 = $$096; - while (1) { - if (($$092 | 0) >= ($9 | 0)) break; - $39 = +HEAPF32[$6 >> 2]; - $42 = _lroundf($39 * +($$092 | 0) / $1) | 0; - $43 = $$092 + 1 | 0; - $47 = _lroundf($39 * +($43 | 0) / $1) | 0; - $48 = HEAP32[$2 >> 2] | 0; - $spec$select98 = ($47 | 0) > ($48 | 0) ? $48 : $47; - $$0 = 0; - $$087 = 0; - $$089 = $29; - while (1) { - if (($$089 | 0) >= ($spec$select | 0)) break; - $$090 = $42; - $$095 = (HEAP32[$0 >> 2] | 0) + ((Math_imul($$089, $48) | 0) + $42) | 0; - $$1 = $$0; - $$188 = $$087; - while (1) { - if (($$090 | 0) >= ($spec$select98 | 0)) break; - $59 = $$1 + (HEAPU8[$$095 >> 0] | 0) | 0; - $$090 = $$090 + 1 | 0; - $$095 = $$095 + 1 | 0; - $$1 = $59; - $$188 = $$188 + 1 | 0; - } - $$0 = $$1; - $$087 = $$188; - $$089 = $$089 + 1 | 0; + $3 = HEAP32[$matches >> 2] | 0; + if ($i$0 >>> 0 >= (HEAP32[$__end_$i >> 2] | 0) - $3 >> 3 >>> 0) break; + $5 = HEAP32[$3 + ($i$0 << 3) + 4 >> 2] | 0; + $6 = HEAP32[$p2 >> 2] | 0; + __ZN6vision35MultiplyPointHomographyInhomogenousIfEEvRT_S2_PKS1_S1_S1_($xp, $arrayidx3, $H, +HEAPF32[$6 + ($5 * 20 | 0) >> 2], +HEAPF32[$6 + ($5 * 20 | 0) + 4 >> 2]); + $call13 = +__ZN6vision3sqrIfEET_S1_(+HEAPF32[$xp >> 2] - +HEAPF32[(HEAP32[$p1 >> 2] | 0) + ((HEAP32[(HEAP32[$matches >> 2] | 0) + ($i$0 << 3) >> 2] | 0) * 20 | 0) >> 2]); + do if ($call13 + +__ZN6vision3sqrIfEET_S1_(+HEAPF32[$arrayidx3 >> 2] - +HEAPF32[(HEAP32[$p1 >> 2] | 0) + ((HEAP32[(HEAP32[$matches >> 2] | 0) + ($i$0 << 3) >> 2] | 0) * 20 | 0) + 4 >> 2]) <= $call) { + $arrayidx$i = (HEAP32[$matches >> 2] | 0) + ($i$0 << 3) | 0; + $20 = HEAP32[$__end_$i19 >> 2] | 0; + if (($20 | 0) == (HEAP32[$__value_$i$i$i$i >> 2] | 0)) { + __ZNSt3__26vectorIN6vision7match_tENS_9allocatorIS2_EEE21__push_back_slow_pathIRKS2_EEvOT_($inliers, $arrayidx$i); + break; + } else { + $22 = $arrayidx$i; + $27 = HEAP32[$22 + 4 >> 2] | 0; + $28 = $20; + HEAP32[$28 >> 2] = HEAP32[$22 >> 2]; + HEAP32[$28 + 4 >> 2] = $27; + HEAP32[$__end_$i19 >> 2] = (HEAP32[$__end_$i19 >> 2] | 0) + 8; + break; } - HEAP8[$$197 >> 0] = ($$0 | 0) / ($$087 | 0) | 0; - $$092 = $43; - $$197 = $$197 + 1 | 0; - } - $$091 = $30; - $$096 = $$197; + } while (0); + $i$0 = $i$0 + 1 | 0; } STACKTOP = sp; - return $16 | 0; -} - -function _free_pool($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$07181 = 0, $$07182 = 0, $$07286 = 0, $$07287 = 0, $$in7477 = 0, $$in7576 = 0, $11 = 0, $13 = 0, $21 = 0, $23 = 0, $3 = 0, $31 = 0, $32 = 0, $34 = 0, $41 = 0, $45 = 0, $46 = 0, $48 = 0, $5 = 0, $55 = 0, $$in7477$looptemp = 0, $$in7576$looptemp = 0; - $3 = HEAP32[$0 + 4 >> 2] | 0; - if ($1 >>> 0 <= 1) { - if (($1 | 0) == 1) { - $11 = $3 + 68 | 0; - $$07286 = HEAP32[$11 >> 2] | 0; - if ($$07286 | 0) { - $$07287 = $$07286; - do { - $13 = $$07287 + 40 | 0; - if (HEAP32[$13 >> 2] | 0) { - HEAP32[$13 >> 2] = 0; - FUNCTION_TABLE_vii[HEAP32[$$07287 + 56 >> 2] & 255]($0, $$07287 + 48 | 0); - } - $$07287 = HEAP32[$$07287 + 44 >> 2] | 0; - } while (($$07287 | 0) != 0); - } - HEAP32[$11 >> 2] = 0; - $21 = $3 + 72 | 0; - $$07181 = HEAP32[$21 >> 2] | 0; - if ($$07181 | 0) { - $$07182 = $$07181; - do { - $23 = $$07182 + 40 | 0; - if (HEAP32[$23 >> 2] | 0) { - HEAP32[$23 >> 2] = 0; - FUNCTION_TABLE_vii[HEAP32[$$07182 + 56 >> 2] & 255]($0, $$07182 + 48 | 0); - } - $$07182 = HEAP32[$$07182 + 44 >> 2] | 0; - } while (($$07182 | 0) != 0); - } - HEAP32[$21 >> 2] = 0; - } - } else { - $5 = HEAP32[$0 >> 2] | 0; - HEAP32[$5 + 20 >> 2] = 15; - HEAP32[$5 + 24 >> 2] = $1; - FUNCTION_TABLE_vi[HEAP32[HEAP32[$0 >> 2] >> 2] & 255]($0); - } - $31 = $3 + 60 + ($1 << 2) | 0; - $32 = HEAP32[$31 >> 2] | 0; - HEAP32[$31 >> 2] = 0; - if ($32 | 0) { - $34 = $3 + 76 | 0; - $$in7477 = $32; - do { - $$in7477$looptemp = $$in7477; - $$in7477 = HEAP32[$$in7477 >> 2] | 0; - $41 = (HEAP32[$$in7477$looptemp + 4 >> 2] | 0) + 16 + (HEAP32[$$in7477$looptemp + 8 >> 2] | 0) | 0; - _jpeg_free_large($0, $$in7477$looptemp, $41); - HEAP32[$34 >> 2] = (HEAP32[$34 >> 2] | 0) - $41; - } while (($$in7477 | 0) != 0); - } - $45 = $3 + 52 + ($1 << 2) | 0; - $46 = HEAP32[$45 >> 2] | 0; - HEAP32[$45 >> 2] = 0; - if (!$46) return; - $48 = $3 + 76 | 0; - $$in7576 = $46; - do { - $$in7576$looptemp = $$in7576; - $$in7576 = HEAP32[$$in7576 >> 2] | 0; - $55 = (HEAP32[$$in7576$looptemp + 4 >> 2] | 0) + 16 + (HEAP32[$$in7576$looptemp + 8 >> 2] | 0) | 0; - _jpeg_free_small($0, $$in7576$looptemp, $55); - HEAP32[$48 >> 2] = (HEAP32[$48 >> 2] | 0) - $55; - } while (($$in7576 | 0) != 0); return; } -function __ZNK6vision5Timer19duration_in_secondsEv($0) { - $0 = $0 | 0; - var $1 = 0, $14 = 0, $18 = 0, $2 = 0.0, $20 = 0.0, $27 = 0, $32 = 0, $36 = 0, $9 = 0, sp = 0; +function __ZNK6vision21HoughSimilarityVoting14getBinDistanceERfS1_S1_S1_ffffffff($this, $distBinX, $distBinY, $distBinAngle, $distBinScale, $insBinX, $insBinY, $insBinAngle, $insBinScale, $refBinX, $refBinY, $refBinAngle, $refBinScale) { + $this = $this | 0; + $distBinX = $distBinX | 0; + $distBinY = $distBinY | 0; + $distBinAngle = $distBinAngle | 0; + $distBinScale = $distBinScale | 0; + $insBinX = +$insBinX; + $insBinY = +$insBinY; + $insBinAngle = +$insBinAngle; + $insBinScale = +$insBinScale; + $refBinX = +$refBinX; + $refBinY = +$refBinY; + $refBinAngle = +$refBinAngle; + $refBinScale = +$refBinScale; + var $0 = 0.0, $1 = 0.0, $2 = 0.0, $3 = 0.0, $call$i1$i = 0, $call$i2$i = 0, $call15 = 0, $call9 = 0.0, $ref$tmp$i = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $1 = sp; - $2 = +HEAPF64[$0 >> 3]; - if (!($2 >= 0.0)) { - $9 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 38960) | 0, 38999) | 0, 39072) | 0, 80) | 0, 39079) | 0, 39082) | 0; - __ZNKSt3__28ios_base6getlocEv($1, $9 + (HEAP32[(HEAP32[$9 >> 2] | 0) + -12 >> 2] | 0) | 0); - $14 = __ZNKSt3__26locale9use_facetERNS0_2idE($1, 66512) | 0; - $18 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$14 >> 2] | 0) + 28 >> 2] & 127]($14, 10) | 0; - __ZNSt3__26localeD2Ev($1); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($9, $18) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($9) | 0; - _abort(); - } - $20 = +HEAPF64[$0 + 8 >> 3]; - if (!($20 >= 0.0)) { - $27 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 39109) | 0, 38999) | 0, 39072) | 0, 81) | 0, 39079) | 0, 39147) | 0; - __ZNKSt3__28ios_base6getlocEv($1, $27 + (HEAP32[(HEAP32[$27 >> 2] | 0) + -12 >> 2] | 0) | 0); - $32 = __ZNKSt3__26locale9use_facetERNS0_2idE($1, 66512) | 0; - $36 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$32 >> 2] | 0) + 28 >> 2] & 127]($32, 10) | 0; - __ZNSt3__26localeD2Ev($1); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($27, $36) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($27) | 0; + $ref$tmp$i = sp; + $0 = +Math_abs(+($insBinX - $refBinX)); + HEAPF32[$distBinX >> 2] = $0; + $1 = +Math_abs(+($insBinY - $refBinY)); + HEAPF32[$distBinY >> 2] = $1; + $2 = +Math_abs(+($insBinScale - $refBinScale)); + HEAPF32[$distBinScale >> 2] = $2; + $3 = +Math_abs(+($insBinAngle - $refBinAngle)); + $call9 = +__ZN6vision4min2IfEET_S1_S1_($3, +(HEAP32[$this + 60 >> 2] | 0) - $3); + HEAPF32[$distBinAngle >> 2] = $call9; + if (!($call9 >= 0.0)) { + $call15 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 36463) | 0, 36683) | 0, 39794) | 0, 333) | 0, 39801) | 0, 36504) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i, $call15 + (HEAP32[(HEAP32[$call15 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i, 67360) | 0; + $call$i2$i = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i >> 2] | 0) + 28 >> 2] & 127]($call$i1$i, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call15, $call$i2$i) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call15) | 0; _abort(); } else { STACKTOP = sp; - return +($20 - $2); + return; } - return +(0.0); } -function _get_cpara($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$0 = 0, $$1 = 0, $11 = 0, $24 = 0, $3 = 0, $4 = 0, $5 = 0, $51 = 0, $6 = 0, $64 = 0, $65 = 0, $71 = 0, $72 = 0, $8 = 0, $9 = 0; - $3 = _arMatrixAlloc(8, 8) | 0; - $4 = _arMatrixAlloc(8, 1) | 0; - $5 = _arMatrixAlloc(8, 1) | 0; - $$0 = 0; - while (1) { - if (($$0 | 0) == 4) break; - $6 = $0 + ($$0 << 4) | 0; - $8 = HEAP32[$3 >> 2] | 0; - $9 = $$0 << 4; - HEAPF64[$8 + ($9 << 3) >> 3] = +HEAPF64[$6 >> 3]; - $11 = $0 + ($$0 << 4) + 8 | 0; - HEAPF64[$8 + (($9 | 1) << 3) >> 3] = +HEAPF64[$11 >> 3]; - HEAPF64[$8 + (($9 | 2) << 3) >> 3] = 1.0; - HEAPF64[$8 + (($9 | 3) << 3) >> 3] = 0.0; - HEAPF64[$8 + (($9 | 4) << 3) >> 3] = 0.0; - HEAPF64[$8 + (($9 | 5) << 3) >> 3] = 0.0; - $24 = $1 + ($$0 << 4) | 0; - HEAPF64[$8 + (($9 | 6) << 3) >> 3] = -(+HEAPF64[$6 >> 3] * +HEAPF64[$24 >> 3]); - HEAPF64[$8 + (($9 | 7) << 3) >> 3] = -(+HEAPF64[$11 >> 3] * +HEAPF64[$24 >> 3]); - HEAPF64[$8 + (($9 | 8) << 3) >> 3] = 0.0; - HEAPF64[$8 + (($9 | 9) << 3) >> 3] = 0.0; - HEAPF64[$8 + (($9 | 10) << 3) >> 3] = 0.0; - HEAPF64[$8 + (($9 | 11) << 3) >> 3] = +HEAPF64[$6 >> 3]; - HEAPF64[$8 + (($9 | 12) << 3) >> 3] = +HEAPF64[$11 >> 3]; - HEAPF64[$8 + (($9 | 13) << 3) >> 3] = 1.0; - $51 = $1 + ($$0 << 4) + 8 | 0; - HEAPF64[$8 + (($9 | 14) << 3) >> 3] = -(+HEAPF64[$6 >> 3] * +HEAPF64[$51 >> 3]); - HEAPF64[$8 + (($9 | 15) << 3) >> 3] = -(+HEAPF64[$11 >> 3] * +HEAPF64[$51 >> 3]); - $64 = HEAP32[$4 >> 2] | 0; - $65 = $$0 << 1; - HEAPF64[$64 + ($65 << 3) >> 3] = +HEAPF64[$24 >> 3]; - HEAPF64[$64 + (($65 | 1) << 3) >> 3] = +HEAPF64[$51 >> 3]; - $$0 = $$0 + 1 | 0; - } - _arMatrixSelfInv($3) | 0; - _arMatrixMul($5, $3, $4) | 0; - $71 = HEAP32[$5 >> 2] | 0; - $$1 = 0; +function _ycc_rgb_convert($cinfo, $input_buf, $input_row, $output_buf, $num_rows) { + $cinfo = $cinfo | 0; + $input_buf = $input_buf | 0; + $input_row = $input_row | 0; + $output_buf = $output_buf | 0; + $num_rows = $num_rows | 0; + var $0 = 0, $1 = 0, $10 = 0, $12 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $8 = 0, $arrayidx3 = 0, $arrayidx5 = 0, $col$040$us = 0, $conv$us = 0, $conv10$us = 0, $conv12$us = 0, $dec46$us$in = 0, $input_row$addr$045$us = 0, $outptr$041$us = 0, $output_buf$addr$044$us = 0, $dec46$us$in$looptemp = 0; + $0 = HEAP32[$cinfo + 480 >> 2] | 0; + $1 = HEAP32[$cinfo + 112 >> 2] | 0; + $2 = HEAP32[$cinfo + 336 >> 2] | 0; + $3 = HEAP32[$0 + 8 >> 2] | 0; + $4 = HEAP32[$0 + 12 >> 2] | 0; + $5 = HEAP32[$0 + 16 >> 2] | 0; + $6 = HEAP32[$0 + 20 >> 2] | 0; + if (($num_rows | 0) <= 0) return; + $arrayidx3 = $input_buf + 4 | 0; + $arrayidx5 = $input_buf + 8 | 0; + if (!$1) return; + $dec46$us$in = $num_rows; + $input_row$addr$045$us = $input_row; + $output_buf$addr$044$us = $output_buf; while (1) { - if (($$1 | 0) == 2) break; - $72 = $$1 * 3 | 0; - HEAPF64[$2 + ($$1 * 24 | 0) >> 3] = +HEAPF64[$71 + ($72 << 3) >> 3]; - HEAPF64[$2 + ($$1 * 24 | 0) + 8 >> 3] = +HEAPF64[$71 + ($72 + 1 << 3) >> 3]; - HEAPF64[$2 + ($$1 * 24 | 0) + 16 >> 3] = +HEAPF64[$71 + ($72 + 2 << 3) >> 3]; - $$1 = $$1 + 1 | 0; + $dec46$us$in$looptemp = $dec46$us$in; + $dec46$us$in = $dec46$us$in + -1 | 0; + $8 = HEAP32[(HEAP32[$input_buf >> 2] | 0) + ($input_row$addr$045$us << 2) >> 2] | 0; + $10 = HEAP32[(HEAP32[$arrayidx3 >> 2] | 0) + ($input_row$addr$045$us << 2) >> 2] | 0; + $12 = HEAP32[(HEAP32[$arrayidx5 >> 2] | 0) + ($input_row$addr$045$us << 2) >> 2] | 0; + $input_row$addr$045$us = $input_row$addr$045$us + 1 | 0; + $col$040$us = 0; + $outptr$041$us = HEAP32[$output_buf$addr$044$us >> 2] | 0; + while (1) { + $conv$us = HEAPU8[$8 + $col$040$us >> 0] | 0; + $conv10$us = HEAPU8[$10 + $col$040$us >> 0] | 0; + $conv12$us = HEAPU8[$12 + $col$040$us >> 0] | 0; + HEAP8[$outptr$041$us >> 0] = HEAP8[$2 + ((HEAP32[$3 + ($conv12$us << 2) >> 2] | 0) + $conv$us) >> 0] | 0; + HEAP8[$outptr$041$us + 1 >> 0] = HEAP8[$2 + (((HEAP32[$5 + ($conv12$us << 2) >> 2] | 0) + (HEAP32[$6 + ($conv10$us << 2) >> 2] | 0) >> 16) + $conv$us) >> 0] | 0; + HEAP8[$outptr$041$us + 2 >> 0] = HEAP8[$2 + ((HEAP32[$4 + ($conv10$us << 2) >> 2] | 0) + $conv$us) >> 0] | 0; + $col$040$us = $col$040$us + 1 | 0; + if (($col$040$us | 0) == ($1 | 0)) break; else $outptr$041$us = $outptr$041$us + 3 | 0; + } + if (($dec46$us$in$looptemp | 0) <= 1) break; else $output_buf$addr$044$us = $output_buf$addr$044$us + 4 | 0; } - HEAPF64[$2 + 48 >> 3] = +HEAPF64[$71 + 48 >> 3]; - HEAPF64[$2 + 56 >> 3] = +HEAPF64[$71 + 56 >> 3]; - HEAPF64[$2 + 64 >> 3] = 1.0; - _arMatrixFree($3) | 0; - _arMatrixFree($4) | 0; - _arMatrixFree($5) | 0; return; } -function __ZNKSt3__27num_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_putES4_RNS_8ios_baseEwx($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$alloca_mul = 0, $$alloca_mul6 = 0, $$byval_copy = 0, $$lobit = 0, $10 = 0, $15 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $28 = 0, $29 = 0, $33 = 0, $35 = 0, $36 = 0, $37 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $$byval_copy = sp + 8 | 0; - $6 = sp; - $7 = sp + 24 | 0; - $8 = sp + 16 | 0; - $9 = sp + 20 | 0; - $10 = $6; - HEAP32[$10 >> 2] = 37; - HEAP32[$10 + 4 >> 2] = 0; - $15 = $2 + 4 | 0; - __ZNSt3__214__num_put_base12__format_intEPcPKcbj($6 + 1 | 0, 59186, 1, HEAP32[$15 >> 2] | 0); - $$lobit = (HEAP32[$15 >> 2] | 0) >>> 9 & 1; - $19 = $$lobit + 23 | 0; - $20 = _llvm_stacksave() | 0; - $$alloca_mul = $19; - $21 = STACKTOP; - STACKTOP = STACKTOP + ((1 * $$alloca_mul | 0) + 15 & -16) | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow((1 * $$alloca_mul | 0) + 15 & -16 | 0); - $22 = __ZNSt3__26__clocEv() | 0; - $23 = $$byval_copy; - HEAP32[$23 >> 2] = $4; - HEAP32[$23 + 4 >> 2] = $5; - $28 = $21 + (__ZNSt3__219__libcpp_snprintf_lEPcmP15__locale_structPKcz($21, $19, $22, $6, $$byval_copy) | 0) | 0; - $29 = __ZNSt3__214__num_put_base18__identify_paddingEPcS1_RKNS_8ios_baseE($21, $28, $2) | 0; - $$alloca_mul6 = ($$lobit << 1 | 44) + -1 << 2; - $33 = STACKTOP; - STACKTOP = STACKTOP + ((1 * $$alloca_mul6 | 0) + 15 & -16) | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow((1 * $$alloca_mul6 | 0) + 15 & -16 | 0); - __ZNKSt3__28ios_base6getlocEv($$byval_copy, $2); - __ZNSt3__29__num_putIwE21__widen_and_group_intEPcS2_S2_PwRS3_S4_RKNS_6localeE($21, $29, $28, $33, $7, $8, $$byval_copy); - __ZNSt3__26localeD2Ev($$byval_copy); - HEAP32[$9 >> 2] = HEAP32[$1 >> 2]; - $35 = HEAP32[$7 >> 2] | 0; - $36 = HEAP32[$8 >> 2] | 0; - HEAP32[$$byval_copy >> 2] = HEAP32[$9 >> 2]; - $37 = __ZNSt3__216__pad_and_outputIwNS_11char_traitsIwEEEENS_19ostreambuf_iteratorIT_T0_EES6_PKS4_S8_S8_RNS_8ios_baseES4_($$byval_copy, $33, $35, $36, $2, $3) | 0; - _llvm_stackrestore($20 | 0); - STACKTOP = sp; - return $37 | 0; -} - -function __ZNKSt3__27num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_putES4_RNS_8ios_baseEcx($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$alloca_mul = 0, $$alloca_mul6 = 0, $$byval_copy = 0, $$lobit = 0, $10 = 0, $15 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $28 = 0, $29 = 0, $33 = 0, $35 = 0, $36 = 0, $37 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $$byval_copy = sp + 8 | 0; - $6 = sp; - $7 = sp + 24 | 0; - $8 = sp + 16 | 0; - $9 = sp + 20 | 0; - $10 = $6; - HEAP32[$10 >> 2] = 37; - HEAP32[$10 + 4 >> 2] = 0; - $15 = $2 + 4 | 0; - __ZNSt3__214__num_put_base12__format_intEPcPKcbj($6 + 1 | 0, 59186, 1, HEAP32[$15 >> 2] | 0); - $$lobit = (HEAP32[$15 >> 2] | 0) >>> 9 & 1; - $19 = $$lobit + 23 | 0; - $20 = _llvm_stacksave() | 0; - $$alloca_mul = $19; - $21 = STACKTOP; - STACKTOP = STACKTOP + ((1 * $$alloca_mul | 0) + 15 & -16) | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow((1 * $$alloca_mul | 0) + 15 & -16 | 0); - $22 = __ZNSt3__26__clocEv() | 0; - $23 = $$byval_copy; - HEAP32[$23 >> 2] = $4; - HEAP32[$23 + 4 >> 2] = $5; - $28 = $21 + (__ZNSt3__219__libcpp_snprintf_lEPcmP15__locale_structPKcz($21, $19, $22, $6, $$byval_copy) | 0) | 0; - $29 = __ZNSt3__214__num_put_base18__identify_paddingEPcS1_RKNS_8ios_baseE($21, $28, $2) | 0; - $$alloca_mul6 = ($$lobit << 1 | 44) + -1 | 0; - $33 = STACKTOP; - STACKTOP = STACKTOP + ((1 * $$alloca_mul6 | 0) + 15 & -16) | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow((1 * $$alloca_mul6 | 0) + 15 & -16 | 0); - __ZNKSt3__28ios_base6getlocEv($$byval_copy, $2); - __ZNSt3__29__num_putIcE21__widen_and_group_intEPcS2_S2_S2_RS2_S3_RKNS_6localeE($21, $29, $28, $33, $7, $8, $$byval_copy); - __ZNSt3__26localeD2Ev($$byval_copy); - HEAP32[$9 >> 2] = HEAP32[$1 >> 2]; - $35 = HEAP32[$7 >> 2] | 0; - $36 = HEAP32[$8 >> 2] | 0; - HEAP32[$$byval_copy >> 2] = HEAP32[$9 >> 2]; - $37 = __ZNSt3__216__pad_and_outputIcNS_11char_traitsIcEEEENS_19ostreambuf_iteratorIT_T0_EES6_PKS4_S8_S8_RNS_8ios_baseES4_($$byval_copy, $33, $35, $36, $2, $3) | 0; - _llvm_stackrestore($20 | 0); - STACKTOP = sp; - return $37 | 0; -} - -function __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE23__append_forward_unsafeIPcEERS5_T_S9_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$0 = 0, $$034 = 0, $15 = 0, $22 = 0, $23 = 0, $26 = 0, $27 = 0, $3 = 0, $35 = 0, $36 = 0, $4 = 0, $44 = 0, $49 = 0, $5 = 0, $6 = 0, $7 = 0, $scevgep38 = 0, sp = 0; +function __ZNKSt3__28messagesIcE6do_getEliiRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEE($agg$result, $this, $__c, $__set, $__msgid, $__dflt) { + $agg$result = $agg$result | 0; + $this = $this | 0; + $__c = $__c | 0; + $__set = $__set | 0; + $__msgid = $__msgid | 0; + $__dflt = $__dflt | 0; + var $0 = 0, $__i$0$i$i = 0, $__i$0$i$i11 = 0, $__nb$addr$0$i = 0, $__ndflt = 0, $__wb$addr$0$i = 0, $add$ptr = 0, $add$ptr14 = 0, $call8 = 0, $cond$i$i$i25 = 0, $cond$i$i$i4149 = 0, $tobool$i$i$i$i = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $3 = $1; - $4 = sp; - $5 = $0 + 11 | 0; - $6 = HEAP8[$5 >> 0] | 0; - $7 = $6 << 24 >> 24 < 0; - if ($7) { - $35 = HEAP32[$0 + 4 >> 2] | 0; - $36 = (HEAP32[$0 + 8 >> 2] & 2147483647) + -1 | 0; - } else { - $35 = $6 & 255; - $36 = 10; + $__ndflt = sp; + HEAP32[$__ndflt >> 2] = 0; + HEAP32[$__ndflt + 4 >> 2] = 0; + HEAP32[$__ndflt + 8 >> 2] = 0; + $__i$0$i$i = 0; + while (1) { + if (($__i$0$i$i | 0) == 3) break; + HEAP32[$__ndflt + ($__i$0$i$i << 2) >> 2] = 0; + $__i$0$i$i = $__i$0$i$i + 1 | 0; + } + $0 = HEAP8[$__dflt + 11 >> 0] | 0; + $tobool$i$i$i$i = $0 << 24 >> 24 < 0; + $cond$i$i$i4149 = $tobool$i$i$i$i ? HEAP32[$__dflt >> 2] | 0 : $__dflt; + $add$ptr = $cond$i$i$i4149 + ($tobool$i$i$i$i ? HEAP32[$__dflt + 4 >> 2] | 0 : $0 & 255) | 0; + $__wb$addr$0$i = $cond$i$i$i4149; + while (1) { + if ($__wb$addr$0$i >>> 0 >= $add$ptr >>> 0) break; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc($__ndflt, HEAP8[$__wb$addr$0$i >> 0] | 0); + $__wb$addr$0$i = $__wb$addr$0$i + 1 | 0; } - $15 = $2 - $3 | 0; - do if ($15 | 0) { - if ($7) { - $22 = HEAP32[$0 >> 2] | 0; - $23 = HEAP32[$0 + 4 >> 2] | 0; - } else { - $22 = $0; - $23 = $6 & 255; - } - if (__ZNSt3__214__ptr_in_rangeIcEEbPKT_S3_S3_($1, $22, $22 + $23 | 0) | 0) { - HEAP32[$4 >> 2] = 0; - HEAP32[$4 + 4 >> 2] = 0; - HEAP32[$4 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initIPcEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeES9_S9_($4, $1, $2); - $26 = HEAP8[$4 + 11 >> 0] | 0; - $27 = $26 << 24 >> 24 < 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6appendEPKcm($0, $27 ? HEAP32[$4 >> 2] | 0 : $4, $27 ? HEAP32[$4 + 4 >> 2] | 0 : $26 & 255) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($4); - break; - } - if (($36 - $35 | 0) >>> 0 < $15 >>> 0) __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9__grow_byEmmmmmm($0, $36, $35 + $15 - $36 | 0, $35, $35, 0, 0); - if ((HEAP8[$5 >> 0] | 0) < 0) $44 = HEAP32[$0 >> 2] | 0; else $44 = $0; - $scevgep38 = $2 + ($35 - $3) | 0; - $$0 = $44 + $35 | 0; - $$034 = $1; - while (1) { - if (($$034 | 0) == ($2 | 0)) break; - __ZNSt3__211char_traitsIcE6assignERcRKc($$0, $$034); - $$0 = $$0 + 1 | 0; - $$034 = $$034 + 1 | 0; - } - HEAP8[$4 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc($44 + $scevgep38 | 0, $4); - $49 = $35 + $15 | 0; - if ((HEAP8[$5 >> 0] | 0) < 0) { - HEAP32[$0 + 4 >> 2] = $49; - break; - } else { - HEAP8[$5 >> 0] = $49; - break; - } - } while (0); + $cond$i$i$i25 = (HEAP8[$__ndflt + 11 >> 0] | 0) < 0 ? HEAP32[$__ndflt >> 2] | 0 : $__ndflt; + $call8 = _catgets(($__c | 0) == -1 ? -1 : $__c << 1, $__set, $__msgid, $cond$i$i$i25) | 0; + HEAP32[$agg$result >> 2] = 0; + HEAP32[$agg$result + 4 >> 2] = 0; + HEAP32[$agg$result + 8 >> 2] = 0; + $__i$0$i$i11 = 0; + while (1) { + if (($__i$0$i$i11 | 0) == 3) break; + HEAP32[$agg$result + ($__i$0$i$i11 << 2) >> 2] = 0; + $__i$0$i$i11 = $__i$0$i$i11 + 1 | 0; + } + $add$ptr14 = $cond$i$i$i25 + (_strlen($call8) | 0) | 0; + $__nb$addr$0$i = $cond$i$i$i25; + while (1) { + if ($__nb$addr$0$i >>> 0 >= $add$ptr14 >>> 0) break; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc($agg$result, HEAP8[$__nb$addr$0$i >> 0] | 0); + $__nb$addr$0$i = $__nb$addr$0$i + 1 | 0; + } + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($__ndflt); STACKTOP = sp; - return $0 | 0; + return; } -function __ZNKSt3__27num_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_putES4_RNS_8ios_baseEwy($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$alloca_mul = 0, $$alloca_mul6 = 0, $$byval_copy = 0, $10 = 0, $15 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $29 = 0, $30 = 0, $33 = 0, $35 = 0, $36 = 0, $37 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, sp = 0; +function __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE21__grow_by_and_replaceEmmmmmmPKw($this, $__old_cap, $__delta_cap, $__old_sz, $__n_copy, $__n_del, $__n_add, $__p_new_stuff) { + $this = $this | 0; + $__old_cap = $__old_cap | 0; + $__delta_cap = $__delta_cap | 0; + $__old_sz = $__old_sz | 0; + $__n_copy = $__n_copy | 0; + $__n_del = $__n_del | 0; + $__n_add = $__n_add | 0; + $__p_new_stuff = $__p_new_stuff | 0; + var $$sroa$speculated = 0, $0 = 0, $add = 0, $add15 = 0, $add1545 = 0, $add40 = 0, $add48 = 0, $call$i$i$i = 0, $cond$i = 0, $mul = 0, $ref$tmp49 = 0, $sub28 = 0, $sub29 = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $$byval_copy = sp + 8 | 0; - $6 = sp; - $7 = sp + 24 | 0; - $8 = sp + 16 | 0; - $9 = sp + 20 | 0; - $10 = $6; - HEAP32[$10 >> 2] = 37; - HEAP32[$10 + 4 >> 2] = 0; - $15 = $2 + 4 | 0; - __ZNSt3__214__num_put_base12__format_intEPcPKcbj($6 + 1 | 0, 59186, 0, HEAP32[$15 >> 2] | 0); - $19 = (HEAP32[$15 >> 2] | 0) >>> 9 & 1 | 22; - $20 = $19 + 1 | 0; - $21 = _llvm_stacksave() | 0; - $$alloca_mul = $20; - $22 = STACKTOP; - STACKTOP = STACKTOP + ((1 * $$alloca_mul | 0) + 15 & -16) | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow((1 * $$alloca_mul | 0) + 15 & -16 | 0); - $23 = __ZNSt3__26__clocEv() | 0; - $24 = $$byval_copy; - HEAP32[$24 >> 2] = $4; - HEAP32[$24 + 4 >> 2] = $5; - $29 = $22 + (__ZNSt3__219__libcpp_snprintf_lEPcmP15__locale_structPKcz($22, $20, $23, $6, $$byval_copy) | 0) | 0; - $30 = __ZNSt3__214__num_put_base18__identify_paddingEPcS1_RKNS_8ios_baseE($22, $29, $2) | 0; - $$alloca_mul6 = ($19 << 1) + -1 << 2; - $33 = STACKTOP; - STACKTOP = STACKTOP + ((1 * $$alloca_mul6 | 0) + 15 & -16) | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow((1 * $$alloca_mul6 | 0) + 15 & -16 | 0); - __ZNKSt3__28ios_base6getlocEv($$byval_copy, $2); - __ZNSt3__29__num_putIwE21__widen_and_group_intEPcS2_S2_PwRS3_S4_RKNS_6localeE($22, $30, $29, $33, $7, $8, $$byval_copy); - __ZNSt3__26localeD2Ev($$byval_copy); - HEAP32[$9 >> 2] = HEAP32[$1 >> 2]; - $35 = HEAP32[$7 >> 2] | 0; - $36 = HEAP32[$8 >> 2] | 0; - HEAP32[$$byval_copy >> 2] = HEAP32[$9 >> 2]; - $37 = __ZNSt3__216__pad_and_outputIwNS_11char_traitsIwEEEENS_19ostreambuf_iteratorIT_T0_EES6_PKS4_S8_S8_RNS_8ios_baseES4_($$byval_copy, $33, $35, $36, $2, $3) | 0; - _llvm_stackrestore($21 | 0); - STACKTOP = sp; - return $37 | 0; -} - -function __ZNKSt3__27num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_putES4_RNS_8ios_baseEcy($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$alloca_mul = 0, $$alloca_mul6 = 0, $$byval_copy = 0, $10 = 0, $15 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $29 = 0, $30 = 0, $33 = 0, $35 = 0, $36 = 0, $37 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, sp = 0; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $ref$tmp49 = sp; + if ((1073741806 - $__old_cap | 0) >>> 0 < $__delta_cap >>> 0) __ZNKSt3__221__basic_string_commonILb1EE20__throw_length_errorEv($this); + $0 = $this + 8 | 0; + if ((HEAP8[$0 + 3 >> 0] | 0) < 0) $cond$i = HEAP32[$this >> 2] | 0; else $cond$i = $this; + if ($__old_cap >>> 0 < 536870887) { + $add = $__delta_cap + $__old_cap | 0; + $mul = $__old_cap << 1; + $$sroa$speculated = $add >>> 0 < $mul >>> 0 ? $mul : $add; + $add15 = $$sroa$speculated >>> 0 < 2 ? 2 : $$sroa$speculated + 4 & -4; + if ($add15 >>> 0 > 1073741823) _abort(); else $add1545 = $add15; + } else $add1545 = 1073741807; + $call$i$i$i = __Znwm($add1545 << 2) | 0; + if ($__n_copy | 0) __ZNSt3__211char_traitsIwE4copyEPwPKwm($call$i$i$i, $cond$i, $__n_copy) | 0; + if ($__n_add | 0) __ZNSt3__211char_traitsIwE4copyEPwPKwm($call$i$i$i + ($__n_copy << 2) | 0, $__p_new_stuff, $__n_add) | 0; + $sub28 = $__old_sz - $__n_del | 0; + $sub29 = $sub28 - $__n_copy | 0; + if ($sub29 | 0) __ZNSt3__211char_traitsIwE4copyEPwPKwm($call$i$i$i + ($__n_copy << 2) + ($__n_add << 2) | 0, $cond$i + ($__n_copy << 2) + ($__n_del << 2) | 0, $sub29) | 0; + $add40 = $__old_cap + 1 | 0; + if (($add40 | 0) != 2) __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($cond$i, $add40 << 2); + HEAP32[$this >> 2] = $call$i$i$i; + HEAP32[$0 >> 2] = $add1545 | -2147483648; + $add48 = $sub28 + $__n_add | 0; + HEAP32[$this + 4 >> 2] = $add48; + HEAP32[$ref$tmp49 >> 2] = 0; + __ZNSt3__211char_traitsIwE6assignERwRKw($call$i$i$i + ($add48 << 2) | 0, $ref$tmp49); + STACKTOP = sp; + return; +} + +function __ZNK12_GLOBAL__N_116itanium_demangle16FloatLiteralImplIdE9printLeftERNS_12OutputStreamE($this, $s) { + $this = $this | 0; + $s = $s | 0; + var $0 = 0, $3 = 0, $Contents = 0, $__first$addr$0$i$i = 0, $__last$addr$0$i$i = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, $call = 0, $conv = 0, $conv10 = 0, $e$0 = 0, $incdec$ptr$i$i = 0, $num = 0, $scevgep = 0, $t$0$idx = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $$byval_copy = sp + 8 | 0; - $6 = sp; - $7 = sp + 24 | 0; - $8 = sp + 16 | 0; - $9 = sp + 20 | 0; - $10 = $6; - HEAP32[$10 >> 2] = 37; - HEAP32[$10 + 4 >> 2] = 0; - $15 = $2 + 4 | 0; - __ZNSt3__214__num_put_base12__format_intEPcPKcbj($6 + 1 | 0, 59186, 0, HEAP32[$15 >> 2] | 0); - $19 = (HEAP32[$15 >> 2] | 0) >>> 9 & 1 | 22; - $20 = $19 + 1 | 0; - $21 = _llvm_stacksave() | 0; - $$alloca_mul = $20; - $22 = STACKTOP; - STACKTOP = STACKTOP + ((1 * $$alloca_mul | 0) + 15 & -16) | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow((1 * $$alloca_mul | 0) + 15 & -16 | 0); - $23 = __ZNSt3__26__clocEv() | 0; - $24 = $$byval_copy; - HEAP32[$24 >> 2] = $4; - HEAP32[$24 + 4 >> 2] = $5; - $29 = $22 + (__ZNSt3__219__libcpp_snprintf_lEPcmP15__locale_structPKcz($22, $20, $23, $6, $$byval_copy) | 0) | 0; - $30 = __ZNSt3__214__num_put_base18__identify_paddingEPcS1_RKNS_8ios_baseE($22, $29, $2) | 0; - $$alloca_mul6 = ($19 << 1) + -1 | 0; - $33 = STACKTOP; - STACKTOP = STACKTOP + ((1 * $$alloca_mul6 | 0) + 15 & -16) | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow((1 * $$alloca_mul6 | 0) + 15 & -16 | 0); - __ZNKSt3__28ios_base6getlocEv($$byval_copy, $2); - __ZNSt3__29__num_putIcE21__widen_and_group_intEPcS2_S2_S2_RS2_S3_RKNS_6localeE($22, $30, $29, $33, $7, $8, $$byval_copy); - __ZNSt3__26localeD2Ev($$byval_copy); - HEAP32[$9 >> 2] = HEAP32[$1 >> 2]; - $35 = HEAP32[$7 >> 2] | 0; - $36 = HEAP32[$8 >> 2] | 0; - HEAP32[$$byval_copy >> 2] = HEAP32[$9 >> 2]; - $37 = __ZNSt3__216__pad_and_outputIcNS_11char_traitsIcEEEENS_19ostreambuf_iteratorIT_T0_EES6_PKS4_S8_S8_RNS_8ios_baseES4_($$byval_copy, $33, $35, $36, $2, $3) | 0; - _llvm_stackrestore($21 | 0); - STACKTOP = sp; - return $37 | 0; -} - -function _PCA($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$0 = 0, $$075 = 0, $$077 = 0, $$078 = 0, $$080 = 0, $$1 = 0, $$176 = 0, $$179 = 0, $$181 = 0, $$2 = 0, $$3 = 0, $20 = 0, $27 = 0, $4 = 0, $6 = 0, $8 = 0; - $4 = HEAP32[$0 + 4 >> 2] | 0; - $6 = HEAP32[$0 + 8 >> 2] | 0; - $8 = ($6 | 0) < ($4 | 0) ? $6 : $4; - L1 : do if (((!(($4 | 0) < 2 | ($6 | 0) < 2) ? (HEAP32[$1 + 8 >> 2] | 0) == ($6 | 0) : 0) ? (HEAP32[$1 + 4 >> 2] | 0) == ($8 | 0) : 0) ? (HEAP32[$2 + 4 >> 2] | 0) == ($8 | 0) : 0) { - $20 = _arMatrixAlloc($8, $8) | 0; - if ((HEAP32[$20 + 4 >> 2] | 0) == ($8 | 0) ? (HEAP32[$20 + 8 >> 2] | 0) == ($8 | 0) : 0) { - $27 = ($4 | 0) < ($6 | 0); - if ($27) { - if ((_x_by_xt($0, $20) | 0) < 0) { - _arMatrixFree($20) | 0; - $$077 = -1; - break; - } - } else if ((_xt_by_x($0, $20) | 0) < 0) { - _arMatrixFree($20) | 0; - $$077 = -1; - break; - } - if ((_QRM($20, $2) | 0) < 0) { - _arMatrixFree($20) | 0; - $$077 = -1; - break; - } - L18 : do if ($27) { - if ((_EV_create($0, $20, $1, $2) | 0) < 0) { - _arMatrixFree($20) | 0; - $$077 = -1; - break L1; - } - } else { - $$075 = 0; - $$078 = HEAP32[$20 >> 2] | 0; - $$080 = HEAP32[$1 >> 2] | 0; - while (1) { - if (($$075 | 0) >= ($8 | 0)) break; - if (+HEAPF64[(HEAP32[$2 >> 2] | 0) + ($$075 << 3) >> 3] < 1.0e-16) break; - $$0 = 0; - $$179 = $$078; - $$181 = $$080; - while (1) { - if (($$0 | 0) >= ($8 | 0)) break; - HEAPF64[$$181 >> 3] = +HEAPF64[$$179 >> 3]; - $$0 = $$0 + 1 | 0; - $$179 = $$179 + 8 | 0; - $$181 = $$181 + 8 | 0; - } - $$075 = $$075 + 1 | 0; - $$078 = $$179; - $$080 = $$181; - } - $$176 = $$075; - $$2 = $$080; - while (1) { - if (($$176 | 0) >= ($8 | 0)) break L18; - HEAPF64[(HEAP32[$2 >> 2] | 0) + ($$176 << 3) >> 3] = 0.0; - $$1 = 0; - $$3 = $$2; - while (1) { - if (($$1 | 0) >= ($8 | 0)) break; - HEAPF64[$$3 >> 3] = 0.0; - $$1 = $$1 + 1 | 0; - $$3 = $$3 + 8 | 0; - } - $$176 = $$176 + 1 | 0; - $$2 = $$3; - } - } while (0); - _arMatrixFree($20) | 0; - $$077 = 0; - break; - } - _arMatrixFree($20) | 0; - $$077 = -1; - } else $$077 = -1; while (0); - return $$077 | 0; + STACKTOP = STACKTOP + 64 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(64); + $agg$tmp$byval_copy = sp + 40 | 0; + $0 = sp + 32 | 0; + $num = sp; + $agg$tmp = sp + 48 | 0; + $Contents = $this + 8 | 0; + $call = __ZNK12_GLOBAL__N_110StringView5beginEv($Contents) | 0; + if (((__ZNK12_GLOBAL__N_110StringView3endEv($Contents) | 0) + 1 - $call | 0) >>> 0 > 16) { + $scevgep = $0 + 8 | 0; + $e$0 = $0; + $t$0$idx = 0; + while (1) { + if (($t$0$idx | 0) == 16) break; + $conv = HEAP8[$call + $t$0$idx >> 0] | 0; + $conv10 = HEAP8[$call + ($t$0$idx | 1) >> 0] | 0; + HEAP8[$e$0 >> 0] = (($conv10 + -48 | 0) >>> 0 < 10 ? 208 : 169) + $conv10 + ((($conv + -48 | 0) >>> 0 < 10 ? 0 : 9) + $conv << 4); + $e$0 = $e$0 + 1 | 0; + $t$0$idx = $t$0$idx + 2 | 0; + } + $__first$addr$0$i$i = $0; + $__last$addr$0$i$i = $scevgep; + while (1) { + $incdec$ptr$i$i = $__last$addr$0$i$i + -1 | 0; + if ($__first$addr$0$i$i >>> 0 >= $incdec$ptr$i$i >>> 0) break; + $3 = HEAP8[$__first$addr$0$i$i >> 0] | 0; + HEAP8[$__first$addr$0$i$i >> 0] = HEAP8[$incdec$ptr$i$i >> 0] | 0; + HEAP8[$incdec$ptr$i$i >> 0] = $3; + $__first$addr$0$i$i = $__first$addr$0$i$i + 1 | 0; + $__last$addr$0$i$i = $incdec$ptr$i$i; + } + HEAP32[$num >> 2] = 0; + HEAP32[$num + 4 >> 2] = 0; + HEAP32[$num + 8 >> 2] = 0; + HEAP32[$num + 12 >> 2] = 0; + HEAP32[$num + 16 >> 2] = 0; + HEAP32[$num + 20 >> 2] = 0; + HEAP32[$num + 24 >> 2] = 0; + HEAP32[$num + 28 >> 2] = 0; + HEAPF64[$agg$tmp$byval_copy >> 3] = +HEAPF64[$0 >> 3]; + __ZN12_GLOBAL__N_110StringViewC2EPKcS2_($agg$tmp, $num, $num + (_snprintf($num, 32, 53234, $agg$tmp$byval_copy) | 0) | 0); + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($s, $agg$tmp$byval_copy); + } + STACKTOP = sp; + return; +} + +function ___vfprintf_internal($f, $fmt, $ap, $fmt_fp, $pop_arg_long_double) { + $f = $f | 0; + $fmt = $fmt | 0; + $ap = $ap | 0; + $fmt_fp = $fmt_fp | 0; + $pop_arg_long_double = $pop_arg_long_double | 0; + var $1 = 0, $4 = 0, $7 = 0, $and = 0, $ap2 = 0, $buf = 0, $buf_size = 0, $call21 = 0, $cond = 0, $internal_buf = 0, $nl_arg = 0, $nl_type = 0, $ret$1 = 0, $retval$0 = 0, $spec$select = 0, $wbase = 0, $wend = 0, $wpos = 0, dest = 0, sp = 0, stop = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 224 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(224); + $ap2 = sp + 208 | 0; + $nl_type = sp + 160 | 0; + $nl_arg = sp + 80 | 0; + $internal_buf = sp; + dest = $nl_type; + stop = dest + 40 | 0; + do { + HEAP32[dest >> 2] = 0; + dest = dest + 4 | 0; + } while ((dest | 0) < (stop | 0)); + HEAP32[$ap2 >> 2] = HEAP32[$ap >> 2]; + if ((_printf_core(0, $fmt, $ap2, $nl_arg, $nl_type, $fmt_fp, $pop_arg_long_double) | 0) < 0) $retval$0 = -1; else { + if ((HEAP32[$f + 76 >> 2] | 0) > -1) $cond = ___lockfile($f) | 0; else $cond = 0; + $1 = HEAP32[$f >> 2] | 0; + $and = $1 & 32; + if ((HEAP8[$f + 74 >> 0] | 0) < 1) HEAP32[$f >> 2] = $1 & -33; + $buf_size = $f + 48 | 0; + if (!(HEAP32[$buf_size >> 2] | 0)) { + $buf = $f + 44 | 0; + $4 = HEAP32[$buf >> 2] | 0; + HEAP32[$buf >> 2] = $internal_buf; + $wbase = $f + 28 | 0; + HEAP32[$wbase >> 2] = $internal_buf; + $wpos = $f + 20 | 0; + HEAP32[$wpos >> 2] = $internal_buf; + HEAP32[$buf_size >> 2] = 80; + $wend = $f + 16 | 0; + HEAP32[$wend >> 2] = $internal_buf + 80; + $call21 = _printf_core($f, $fmt, $ap2, $nl_arg, $nl_type, $fmt_fp, $pop_arg_long_double) | 0; + if (!$4) $ret$1 = $call21; else { + FUNCTION_TABLE_iiii[HEAP32[$f + 36 >> 2] & 63]($f, 0, 0) | 0; + $spec$select = (HEAP32[$wpos >> 2] | 0) == 0 ? -1 : $call21; + HEAP32[$buf >> 2] = $4; + HEAP32[$buf_size >> 2] = 0; + HEAP32[$wend >> 2] = 0; + HEAP32[$wbase >> 2] = 0; + HEAP32[$wpos >> 2] = 0; + $ret$1 = $spec$select; + } + } else $ret$1 = _printf_core($f, $fmt, $ap2, $nl_arg, $nl_type, $fmt_fp, $pop_arg_long_double) | 0; + $7 = HEAP32[$f >> 2] | 0; + HEAP32[$f >> 2] = $7 | $and; + if ($cond | 0) ___unlockfile($f); + $retval$0 = ($7 & 32 | 0) == 0 ? $ret$1 : -1; + } + STACKTOP = sp; + return $retval$0 | 0; } -function __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE23__append_forward_unsafeIPwEERS5_T_S9_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$0 = 0, $$034 = 0, $15 = 0, $16 = 0, $23 = 0, $24 = 0, $28 = 0, $29 = 0, $3 = 0, $37 = 0, $38 = 0, $4 = 0, $46 = 0, $5 = 0, $50 = 0, $6 = 0, $7 = 0, sp = 0; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E17parseUnscopedNameEPNS5_9NameStateE($this, $State) { + $this = $this | 0; + $State = $State | 0; + var $agg$tmp = 0, $agg$tmp2 = 0, $agg$tmp2$byval_copy = 0, $call5 = 0, $retval$0 = 0, $retval$1 = 0, label = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $3 = sp; - $4 = $0 + 8 | 0; - $5 = $4 + 3 | 0; - $6 = HEAP8[$5 >> 0] | 0; - $7 = $6 << 24 >> 24 < 0; - if ($7) { - $37 = HEAP32[$0 + 4 >> 2] | 0; - $38 = (HEAP32[$4 >> 2] & 2147483647) + -1 | 0; - } else { - $37 = $6 & 255; - $38 = 1; + STACKTOP = STACKTOP + 32 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); + $agg$tmp2$byval_copy = sp + 16 | 0; + $agg$tmp = sp + 8 | 0; + $agg$tmp2 = sp; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, 55956); + HEAP32[$agg$tmp2$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp2$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + if (!(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($this, $agg$tmp2$byval_copy) | 0) ? (__ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp2, 55960), HEAP32[$agg$tmp2$byval_copy >> 2] = HEAP32[$agg$tmp2 >> 2], HEAP32[$agg$tmp2$byval_copy + 4 >> 2] = HEAP32[$agg$tmp2 + 4 >> 2], !(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($this, $agg$tmp2$byval_copy) | 0)) : 0) $retval$1 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E20parseUnqualifiedNameEPNS5_9NameStateE(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0, $State) | 0; else { + $call5 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E20parseUnqualifiedNameEPNS5_9NameStateE(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0, $State) | 0; + HEAP32[$agg$tmp2$byval_copy >> 2] = $call5; + if (!$call5) $retval$0 = 0; else $retval$0 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_16StdQualifiedNameEJRPNS0_4NodeEEEES9_DpOT0_($this, $agg$tmp2$byval_copy) | 0; + $retval$1 = $retval$0; } - $15 = $2 - $1 | 0; - $16 = $15 >> 2; - do if ($15 | 0) { - if ($7) { - $23 = HEAP32[$0 >> 2] | 0; - $24 = HEAP32[$0 + 4 >> 2] | 0; - } else { - $23 = $0; - $24 = $6 & 255; - } - if (__ZNSt3__214__ptr_in_rangeIwEEbPKT_S3_S3_($1, $23, $23 + ($24 << 2) | 0) | 0) { - HEAP32[$3 >> 2] = 0; - HEAP32[$3 + 4 >> 2] = 0; - HEAP32[$3 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6__initIPwEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeES9_S9_($3, $1, $2); - $28 = HEAP8[$3 + 8 + 3 >> 0] | 0; - $29 = $28 << 24 >> 24 < 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6appendEPKwm($0, $29 ? HEAP32[$3 >> 2] | 0 : $3, $29 ? HEAP32[$3 + 4 >> 2] | 0 : $28 & 255) | 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev($3); - break; - } - if (($38 - $37 | 0) >>> 0 < $16 >>> 0) __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9__grow_byEmmmmmm($0, $38, $37 + $16 - $38 | 0, $37, $37, 0, 0); - if ((HEAP8[$5 >> 0] | 0) < 0) $46 = HEAP32[$0 >> 2] | 0; else $46 = $0; - $$0 = $46 + ($37 << 2) | 0; - $$034 = $1; - while (1) { - if (($$034 | 0) == ($2 | 0)) break; - __ZNSt3__211char_traitsIwE6assignERwRKw($$0, $$034); - $$0 = $$0 + 4 | 0; - $$034 = $$034 + 4 | 0; - } - HEAP32[$3 >> 2] = 0; - __ZNSt3__211char_traitsIwE6assignERwRKw($$0, $3); - $50 = $37 + $16 | 0; - if ((HEAP8[$5 >> 0] | 0) < 0) { - HEAP32[$0 + 4 >> 2] = $50; - break; - } else { - HEAP8[$5 >> 0] = $50; - break; - } - } while (0); STACKTOP = sp; - return $0 | 0; + return $retval$1 | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E18parseTemplateParamEv($0) { - $0 = $0 | 0; - var $$1 = 0, $$2 = 0, $1 = 0, $16 = 0, $18 = 0, $2 = 0, $21 = 0, $22 = 0, $7 = 0, label = 0, sp = 0; +function _post_process_2pass($cinfo, $input_buf, $in_row_group_ctr, $in_row_groups_avail, $output_buf, $out_row_ctr, $out_rows_avail) { + $cinfo = $cinfo | 0; + $input_buf = $input_buf | 0; + $in_row_group_ctr = $in_row_group_ctr | 0; + $in_row_groups_avail = $in_row_groups_avail | 0; + $output_buf = $output_buf | 0; + $out_row_ctr = $out_row_ctr | 0; + $out_rows_avail = $out_rows_avail | 0; + var $0 = 0, $1 = 0, $14 = 0, $17 = 0, $8 = 0, $9 = 0, $add17 = 0, $call = 0, $next_row = 0, $num_rows$1 = 0, $spec$select = 0, $starting_row = 0, $starting_row8$pre$phiZ2D = 0, $strip_height = 0, $strip_height2$pre$phiZ2D = 0, $sub = 0, $sub4 = 0, $sub9 = 0; + $0 = HEAP32[$cinfo + 456 >> 2] | 0; + $next_row = $0 + 24 | 0; + $1 = HEAP32[$next_row >> 2] | 0; + if (!$1) { + $starting_row = $0 + 20 | 0; + $strip_height = $0 + 16 | 0; + $call = FUNCTION_TABLE_iiiiii[HEAP32[(HEAP32[$cinfo + 4 >> 2] | 0) + 28 >> 2] & 31]($cinfo, HEAP32[$0 + 8 >> 2] | 0, HEAP32[$starting_row >> 2] | 0, HEAP32[$strip_height >> 2] | 0, 0) | 0; + HEAP32[$0 + 12 >> 2] = $call; + $14 = $call; + $8 = HEAP32[$next_row >> 2] | 0; + $starting_row8$pre$phiZ2D = $starting_row; + $strip_height2$pre$phiZ2D = $strip_height; + } else { + $14 = HEAP32[$0 + 12 >> 2] | 0; + $8 = $1; + $starting_row8$pre$phiZ2D = $0 + 20 | 0; + $strip_height2$pre$phiZ2D = $0 + 16 | 0; + } + $sub = (HEAP32[$strip_height2$pre$phiZ2D >> 2] | 0) - $8 | 0; + $9 = HEAP32[$out_row_ctr >> 2] | 0; + $sub4 = $out_rows_avail - $9 | 0; + $spec$select = $sub >>> 0 > $sub4 >>> 0 ? $sub4 : $sub; + $sub9 = (HEAP32[$cinfo + 116 >> 2] | 0) - (HEAP32[$starting_row8$pre$phiZ2D >> 2] | 0) | 0; + $num_rows$1 = $spec$select >>> 0 > $sub9 >>> 0 ? $sub9 : $spec$select; + FUNCTION_TABLE_viiii[HEAP32[(HEAP32[$cinfo + 484 >> 2] | 0) + 4 >> 2] & 31]($cinfo, $14 + ($8 << 2) | 0, $output_buf + ($9 << 2) | 0, $num_rows$1); + HEAP32[$out_row_ctr >> 2] = (HEAP32[$out_row_ctr >> 2] | 0) + $num_rows$1; + $add17 = (HEAP32[$next_row >> 2] | 0) + $num_rows$1 | 0; + HEAP32[$next_row >> 2] = $add17; + $17 = HEAP32[$strip_height2$pre$phiZ2D >> 2] | 0; + if ($add17 >>> 0 < $17 >>> 0) return; + HEAP32[$starting_row8$pre$phiZ2D >> 2] = (HEAP32[$starting_row8$pre$phiZ2D >> 2] | 0) + $17; + HEAP32[$next_row >> 2] = 0; + return; +} + +function __ZNK12_GLOBAL__N_116itanium_demangle9ArrayType10printRightERNS_12OutputStreamE($this, $S) { + $this = $this | 0; + $S = $S | 0; + var $0 = 0, $Dimension = 0, $agg$tmp = 0, $agg$tmp17 = 0, $agg$tmp17$byval_copy = 0, $agg$tmp3 = 0, $agg$tmp7 = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $1 = sp + 4 | 0; - $2 = sp; - if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($0, 84) | 0) { - HEAP32[$1 >> 2] = 0; - if (!(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($0, 95) | 0)) if (!(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E20parsePositiveIntegerEPm($0, $1) | 0) ? ($7 = (HEAP32[$1 >> 2] | 0) + 1 | 0, HEAP32[$1 >> 2] = $7, __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($0, 95) | 0) : 0) { - $21 = $7; - label = 5; - } else $$1 = 0; else { - $21 = 0; - label = 5; - } - do if ((label | 0) == 5) { - if (HEAP8[$0 + 362 >> 0] | 0) { - $$1 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA5_KcEEEPNS0_4NodeEDpOT0_($0, 51573) | 0; - break; - } - if (HEAP8[$0 + 361 >> 0] | 0) { - $16 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_24ForwardTemplateReferenceEJRmEEEPNS0_4NodeEDpOT0_($0, $1) | 0; - HEAP32[$2 >> 2] = $16; - __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_24ForwardTemplateReferenceELm4EE9push_backERKS3_($0 + 332 | 0, $2); - $$1 = $16; - break; - } - $18 = $0 + 288 | 0; - if ($21 >>> 0 < (__ZNK12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm8EE4sizeEv($18) | 0) >>> 0) { - $22 = __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm8EEixEm($18, $21) | 0; - $$1 = HEAP32[$22 >> 2] | 0; - } else $$1 = 0; - } while (0); - $$2 = $$1; - } else $$2 = 0; + STACKTOP = STACKTOP + 48 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); + $agg$tmp17$byval_copy = sp + 32 | 0; + $agg$tmp = sp + 24 | 0; + $agg$tmp3 = sp + 16 | 0; + $agg$tmp7 = sp + 8 | 0; + $agg$tmp17 = sp; + if ((__ZNK12_GLOBAL__N_112OutputStream4backEv($S) | 0) << 24 >> 24 != 93) { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, 52808); + HEAP32[$agg$tmp17$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp17$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp17$byval_copy); + } + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp3, 56767); + HEAP32[$agg$tmp17$byval_copy >> 2] = HEAP32[$agg$tmp3 >> 2]; + HEAP32[$agg$tmp17$byval_copy + 4 >> 2] = HEAP32[$agg$tmp3 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp17$byval_copy); + $Dimension = $this + 12 | 0; + if (!(__ZNK12_GLOBAL__N_116itanium_demangle12NodeOrString8isStringEv($Dimension) | 0)) { + if (__ZNK12_GLOBAL__N_116itanium_demangle12NodeOrString6isNodeEv($Dimension) | 0) __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(__ZNK12_GLOBAL__N_116itanium_demangle12NodeOrString6asNodeEv($Dimension) | 0, $S); + } else { + __ZNK12_GLOBAL__N_116itanium_demangle12NodeOrString8asStringEv($agg$tmp7, $Dimension); + HEAP32[$agg$tmp17$byval_copy >> 2] = HEAP32[$agg$tmp7 >> 2]; + HEAP32[$agg$tmp17$byval_copy + 4 >> 2] = HEAP32[$agg$tmp7 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp17$byval_copy); + } + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp17, 52456); + HEAP32[$agg$tmp17$byval_copy >> 2] = HEAP32[$agg$tmp17 >> 2]; + HEAP32[$agg$tmp17$byval_copy + 4 >> 2] = HEAP32[$agg$tmp17 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp17$byval_copy); + $0 = HEAP32[$this + 8 >> 2] | 0; + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$0 >> 2] | 0) + 20 >> 2] & 255]($0, $S); STACKTOP = sp; - return $$2 | 0; + return; } -function __ZN6vision18EstimateHomographyEPfRKNSt3__26vectorINS_12FeaturePointENS1_9allocatorIS3_EEEES8_RKNS2_INS_7match_tENS4_IS9_EEEERNS_16RobustHomographyIfEEii($0, $1, $2, $3, $4, $5, $6) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - $6 = $6 | 0; - var $$0 = 0, $$036 = 0, $$cast = 0, $10 = 0, $20 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $28 = 0.0, $32 = 0.0, $38 = 0, $46 = 0, $7 = 0, $8 = 0, $9 = 0, sp = 0; +function __ZNK12_GLOBAL__N_116itanium_demangle13ReferenceType9printLeftERNS_12OutputStreamE($this, $s) { + $this = $this | 0; + $s = $s | 0; + var $1 = 0, $Collapsed = 0, $Printing = 0, $SavePrinting = 0, $agg$tmp = 0, $agg$tmp12 = 0, $agg$tmp15 = 0, $agg$tmp15$byval_copy = 0, label = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 64 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(64); - $7 = sp + 44 | 0; - $8 = sp + 32 | 0; - $9 = sp; - $10 = $3 + 4 | 0; - __ZNSt3__26vectorIN6vision7Point2dIfEENS_9allocatorIS3_EEEC2Em($7, (HEAP32[$10 >> 2] | 0) - (HEAP32[$3 >> 2] | 0) >> 3); - __ZNSt3__26vectorIN6vision7Point2dIfEENS_9allocatorIS3_EEEC2Em($8, (HEAP32[$10 >> 2] | 0) - (HEAP32[$3 >> 2] | 0) >> 3); - $20 = HEAP32[$3 >> 2] | 0; - $22 = (HEAP32[$10 >> 2] | 0) - $20 >> 3; - $$cast = $20; - $23 = HEAP32[$1 >> 2] | 0; - $24 = HEAP32[$8 >> 2] | 0; - $25 = HEAP32[$2 >> 2] | 0; - $26 = HEAP32[$7 >> 2] | 0; - $$0 = 0; - while (1) { - if (($$0 | 0) == ($22 | 0)) break; - $38 = HEAP32[$$cast + ($$0 << 3) >> 2] | 0; - HEAP32[$24 + ($$0 << 3) >> 2] = HEAP32[$23 + ($38 * 20 | 0) >> 2]; - HEAP32[$24 + ($$0 << 3) + 4 >> 2] = HEAP32[$23 + ($38 * 20 | 0) + 4 >> 2]; - $46 = HEAP32[$$cast + ($$0 << 3) + 4 >> 2] | 0; - HEAP32[$26 + ($$0 << 3) >> 2] = HEAP32[$25 + ($46 * 20 | 0) >> 2]; - HEAP32[$26 + ($$0 << 3) + 4 >> 2] = HEAP32[$25 + ($46 * 20 | 0) + 4 >> 2]; - $$0 = $$0 + 1 | 0; - } - HEAPF32[$9 >> 2] = 0.0; - HEAPF32[$9 + 4 >> 2] = 0.0; - $28 = +($5 | 0); - HEAPF32[$9 + 8 >> 2] = $28; - HEAPF32[$9 + 12 >> 2] = 0.0; - HEAPF32[$9 + 16 >> 2] = $28; - $32 = +($6 | 0); - HEAPF32[$9 + 20 >> 2] = $32; - HEAPF32[$9 + 24 >> 2] = 0.0; - HEAPF32[$9 + 28 >> 2] = $32; - if (__ZN6vision16RobustHomographyIfE4findEPfPKfS4_iS4_i($4, $0, $26, $24, $22, $9, 4) | 0) $$036 = __ZN6vision25CheckHomographyHeuristicsEPfii($0, $5, $6) | 0; else $$036 = 0; - __ZNSt3__213__vector_baseIN6vision7Point2dIfEENS_9allocatorIS3_EEED2Ev($8); - __ZNSt3__213__vector_baseIN6vision7Point2dIfEENS_9allocatorIS3_EEED2Ev($7); - STACKTOP = sp; - return $$036 | 0; -} - -function __ZN6vision21HoughSimilarityVoting4voteEPKfS2_i($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $$0 = 0, $$040 = 0, $$1 = 0, $10 = 0, $12 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $22 = 0, $23 = 0, $24 = 0, $4 = 0, $46 = 0, $5 = 0, $6 = 0, $7 = 0, sp = 0; + STACKTOP = STACKTOP + 48 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); + $agg$tmp15$byval_copy = sp + 40 | 0; + $SavePrinting = sp + 24 | 0; + $Collapsed = sp + 8 | 0; + $agg$tmp = sp + 32 | 0; + $agg$tmp12 = sp + 16 | 0; + $agg$tmp15 = sp; + $Printing = $this + 16 | 0; + if (!(HEAP8[$Printing >> 0] | 0)) { + __ZN12_GLOBAL__N_114SwapAndRestoreIbEC2ERbb($SavePrinting, $Printing, 1); + __ZNK12_GLOBAL__N_116itanium_demangle13ReferenceType8collapseERNS_12OutputStreamE($Collapsed, $this, $s); + $1 = HEAP32[$Collapsed + 4 >> 2] | 0; + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$1 >> 2] | 0) + 16 >> 2] & 255]($1, $s); + if (__ZNK12_GLOBAL__N_116itanium_demangle4Node8hasArrayERNS_12OutputStreamE($1, $s) | 0) { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, 52808); + HEAP32[$agg$tmp15$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp15$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($s, $agg$tmp15$byval_copy); + } + if (!(__ZNK12_GLOBAL__N_116itanium_demangle4Node8hasArrayERNS_12OutputStreamE($1, $s) | 0) ? !(__ZNK12_GLOBAL__N_116itanium_demangle4Node11hasFunctionERNS_12OutputStreamE($1, $s) | 0) : 0) {} else { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp12, 52810); + HEAP32[$agg$tmp15$byval_copy >> 2] = HEAP32[$agg$tmp12 >> 2]; + HEAP32[$agg$tmp15$byval_copy + 4 >> 2] = HEAP32[$agg$tmp12 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($s, $agg$tmp15$byval_copy); + } + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp15, (HEAP32[$Collapsed >> 2] | 0) == 0 ? 52812 : 52814); + HEAP32[$agg$tmp15$byval_copy >> 2] = HEAP32[$agg$tmp15 >> 2]; + HEAP32[$agg$tmp15$byval_copy + 4 >> 2] = HEAP32[$agg$tmp15 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($s, $agg$tmp15$byval_copy); + __ZN12_GLOBAL__N_114SwapAndRestoreIbED2Ev($SavePrinting); + } + STACKTOP = sp; + return; +} + +function __ZNSt3__224__put_character_sequenceIcNS_11char_traitsIcEEEERNS_13basic_ostreamIT_T0_EES7_PKS4_m($__os, $__str, $__len) { + $__os = $__os | 0; + $__str = $__str | 0; + $__len = $__len | 0; + var $2 = 0, $5 = 0, $__fill_$i = 0, $__s = 0, $add$ptr = 0, $add$ptr25 = 0, $add$ptr6 = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, $call$i = 0, $call$i1$i$i = 0, $call$i2$i$i = 0, $conv$i = 0, $vbase$offset$ptr$i = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $4 = sp + 12 | 0; - $5 = sp + 8 | 0; - $6 = sp + 4 | 0; - $7 = sp; - __ZNSt3__212__hash_tableINS_17__hash_value_typeIjjEENS_22__unordered_map_hasherIjS2_NS_4hashIjEELb1EEENS_21__unordered_map_equalIjS2_NS_8equal_toIjEELb1EEENS_9allocatorIS2_EEE5clearEv($0 + 92 | 0); - if ($3 | 0) { - $10 = $0 + 112 | 0; - __ZNSt3__26vectorIfNS_9allocatorIfEEE6resizeEm($10, $3 << 2); - $12 = $0 + 124 | 0; - __ZNSt3__26vectorIiNS_9allocatorIiEEE6resizeEm($12, $3); - if (HEAP8[$0 + 16 >> 0] | 0) __ZN6vision21HoughSimilarityVoting19autoAdjustXYNumBinsEPKfS2_i($0, $1, $2, $3); - $16 = $0 + 68 | 0; - $17 = $0 + 72 | 0; - $18 = $0 + 76 | 0; - $19 = $0 + 80 | 0; - $$0 = 0; - $$040 = 0; - while (1) { - if (($$040 | 0) >= ($3 | 0)) break; - $22 = $$040 << 2; - $23 = $1 + ($22 << 2) | 0; - $24 = $2 + ($22 << 2) | 0; - __ZNK6vision21HoughSimilarityVoting17mapCorrespondenceERfS1_S1_S1_ffffffff($0, $4, $5, $6, $7, +HEAPF32[$23 >> 2], +HEAPF32[$23 + 4 >> 2], +HEAPF32[$23 + 8 >> 2], +HEAPF32[$23 + 12 >> 2], +HEAPF32[$24 >> 2], +HEAPF32[$24 + 4 >> 2], +HEAPF32[$24 + 8 >> 2], +HEAPF32[$24 + 12 >> 2]); - if (__ZN6vision21HoughSimilarityVoting4voteEffff($0, +HEAPF32[$4 >> 2], +HEAPF32[$5 >> 2], +HEAPF32[$6 >> 2], +HEAPF32[$7 >> 2]) | 0) { - $46 = (HEAP32[$10 >> 2] | 0) + ($$0 << 2 << 2) | 0; - HEAP32[$46 >> 2] = HEAP32[$16 >> 2]; - HEAP32[$46 + 4 >> 2] = HEAP32[$17 >> 2]; - HEAP32[$46 + 8 >> 2] = HEAP32[$18 >> 2]; - HEAP32[$46 + 12 >> 2] = HEAP32[$19 >> 2]; - HEAP32[(HEAP32[$12 >> 2] | 0) + ($$0 << 2) >> 2] = $$040; - $$1 = $$0 + 1 | 0; - } else $$1 = $$0; - $$0 = $$1; - $$040 = $$040 + 1 | 0; + $agg$tmp$byval_copy = sp + 12 | 0; + $__s = sp; + $agg$tmp = sp + 8 | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE6sentryC2ERS3_($__s, $__os); + if (HEAP8[$__s >> 0] | 0) { + $vbase$offset$ptr$i = (HEAP32[$__os >> 2] | 0) + -12 | 0; + HEAP32[$agg$tmp >> 2] = HEAP32[$__os + (HEAP32[$vbase$offset$ptr$i >> 2] | 0) + 24 >> 2]; + $add$ptr = $__os + (HEAP32[$vbase$offset$ptr$i >> 2] | 0) | 0; + $2 = HEAP32[$add$ptr + 4 >> 2] | 0; + $add$ptr6 = $__str + $__len | 0; + $call$i = __ZNSt3__211char_traitsIcE3eofEv() | 0; + $__fill_$i = $add$ptr + 76 | 0; + if (__ZNSt3__211char_traitsIcE11eq_int_typeEii($call$i, HEAP32[$__fill_$i >> 2] | 0) | 0) { + __ZNKSt3__28ios_base6getlocEv($agg$tmp$byval_copy, $add$ptr); + $call$i1$i$i = __ZNKSt3__26locale9use_facetERNS0_2idE($agg$tmp$byval_copy, 67360) | 0; + $call$i2$i$i = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i$i >> 2] | 0) + 28 >> 2] & 127]($call$i1$i$i, 32) | 0; + __ZNSt3__26localeD2Ev($agg$tmp$byval_copy); + $conv$i = $call$i2$i$i << 24 >> 24; + HEAP32[$__fill_$i >> 2] = $conv$i; + $5 = $conv$i; + } else $5 = HEAP32[$__fill_$i >> 2] | 0; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + if (!(__ZNSt3__216__pad_and_outputIcNS_11char_traitsIcEEEENS_19ostreambuf_iteratorIT_T0_EES6_PKS4_S8_S8_RNS_8ios_baseES4_($agg$tmp$byval_copy, $__str, ($2 & 176 | 0) == 32 ? $add$ptr6 : $__str, $add$ptr6, $add$ptr, $5 & 255) | 0)) { + $add$ptr25 = $__os + (HEAP32[(HEAP32[$__os >> 2] | 0) + -12 >> 2] | 0) | 0; + __ZNSt3__28ios_base5clearEj($add$ptr25, HEAP32[$add$ptr25 + 16 >> 2] | 5); } - __ZNSt3__26vectorIfNS_9allocatorIfEEE6resizeEm($10, $$0 << 2); - __ZNSt3__26vectorIiNS_9allocatorIiEEE6resizeEm($12, $$0); } + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE6sentryD2Ev($__s); STACKTOP = sp; - return; + return $__os | 0; } -function _format_message($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$042 = 0, $$042$in = 0, $$043 = 0, $$1 = 0, $13 = 0, $16 = 0, $2 = 0, $28 = 0, $36 = 0, $38 = 0, $4 = 0, $40 = 0, $42 = 0, $44 = 0, $46 = 0, $48 = 0, $vararg_buffer = 0, $vararg_buffer1 = 0, label = 0, sp = 0; +function __ZNK12_GLOBAL__N_116itanium_demangle16FloatLiteralImplIfE9printLeftERNS_12OutputStreamE($this, $s) { + $this = $this | 0; + $s = $s | 0; + var $0 = 0, $3 = 0, $Contents = 0, $__first$addr$0$i$i = 0, $__last$addr$0$i$i = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, $call = 0, $conv = 0, $conv10 = 0, $e$0 = 0, $incdec$ptr$i$i = 0, $num = 0, $scevgep = 0, $t$0$idx = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 48 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); - $vararg_buffer1 = sp + 8 | 0; - $vararg_buffer = sp; - $2 = HEAP32[$0 >> 2] | 0; - $4 = HEAP32[$2 + 20 >> 2] | 0; - if (($4 | 0) > 0 ? ($4 | 0) <= (HEAP32[$2 + 116 >> 2] | 0) : 0) { - $$042$in = (HEAP32[$2 + 112 >> 2] | 0) + ($4 << 2) | 0; - label = 8; - } else { - $13 = HEAP32[$2 + 120 >> 2] | 0; - if ((($13 | 0) != 0 ? ($16 = HEAP32[$2 + 124 >> 2] | 0, ($4 | 0) >= ($16 | 0)) : 0) ? ($4 | 0) <= (HEAP32[$2 + 128 >> 2] | 0) : 0) { - $$042$in = $13 + ($4 - $16 << 2) | 0; - label = 8; - } else label = 9; - } - if ((label | 0) == 8) { - $$042 = HEAP32[$$042$in >> 2] | 0; - if (!$$042) label = 9; else $$1 = $$042; + $agg$tmp$byval_copy = sp + 24 | 0; + $0 = sp + 40 | 0; + $num = sp; + $agg$tmp = sp + 32 | 0; + $Contents = $this + 8 | 0; + $call = __ZNK12_GLOBAL__N_110StringView5beginEv($Contents) | 0; + if (((__ZNK12_GLOBAL__N_110StringView3endEv($Contents) | 0) + 1 - $call | 0) >>> 0 > 8) { + $scevgep = $0 + 4 | 0; + $e$0 = $0; + $t$0$idx = 0; + while (1) { + if (($t$0$idx | 0) == 8) break; + $conv = HEAP8[$call + $t$0$idx >> 0] | 0; + $conv10 = HEAP8[$call + ($t$0$idx | 1) >> 0] | 0; + HEAP8[$e$0 >> 0] = (($conv10 + -48 | 0) >>> 0 < 10 ? 208 : 169) + $conv10 + ((($conv + -48 | 0) >>> 0 < 10 ? 0 : 9) + $conv << 4); + $e$0 = $e$0 + 1 | 0; + $t$0$idx = $t$0$idx + 2 | 0; + } + $__first$addr$0$i$i = $0; + $__last$addr$0$i$i = $scevgep; + while (1) { + $incdec$ptr$i$i = $__last$addr$0$i$i + -1 | 0; + if ($__first$addr$0$i$i >>> 0 >= $incdec$ptr$i$i >>> 0) break; + $3 = HEAP8[$__first$addr$0$i$i >> 0] | 0; + HEAP8[$__first$addr$0$i$i >> 0] = HEAP8[$incdec$ptr$i$i >> 0] | 0; + HEAP8[$incdec$ptr$i$i >> 0] = $3; + $__first$addr$0$i$i = $__first$addr$0$i$i + 1 | 0; + $__last$addr$0$i$i = $incdec$ptr$i$i; + } + HEAP32[$num >> 2] = 0; + HEAP32[$num + 4 >> 2] = 0; + HEAP32[$num + 8 >> 2] = 0; + HEAP32[$num + 12 >> 2] = 0; + HEAP32[$num + 16 >> 2] = 0; + HEAP32[$num + 20 >> 2] = 0; + HEAPF64[$agg$tmp$byval_copy >> 3] = +HEAPF32[$0 >> 2]; + __ZN12_GLOBAL__N_110StringViewC2EPKcS2_($agg$tmp, $num, $num + (_snprintf($num, 24, 53293, $agg$tmp$byval_copy) | 0) | 0); + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($s, $agg$tmp$byval_copy); } - if ((label | 0) == 9) { - HEAP32[$2 + 24 >> 2] = $4; - $$1 = HEAP32[HEAP32[$2 + 112 >> 2] >> 2] | 0; + STACKTOP = sp; + return; +} + +function __ZNK12_GLOBAL__N_116itanium_demangle16FloatLiteralImplIeE9printLeftERNS_12OutputStreamE($this, $s) { + $this = $this | 0; + $s = $s | 0; + var $0 = 0, $3 = 0, $Contents = 0, $__first$addr$0$i$i = 0, $__last$addr$0$i$i = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, $call = 0, $conv = 0, $conv10 = 0, $e$0 = 0, $incdec$ptr$i$i = 0, $num = 0, $scevgep = 0, $t$0$idx = 0, dest = 0, sp = 0, stop = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 64 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(64); + $agg$tmp$byval_copy = sp + 48 | 0; + $0 = sp + 40 | 0; + $num = sp; + $agg$tmp = sp + 56 | 0; + $Contents = $this + 8 | 0; + $call = __ZNK12_GLOBAL__N_110StringView5beginEv($Contents) | 0; + if (((__ZNK12_GLOBAL__N_110StringView3endEv($Contents) | 0) + 1 - $call | 0) >>> 0 > 20) { + $scevgep = $0 + 8 | 0; + $e$0 = $0; + $t$0$idx = 0; + while (1) { + if (($t$0$idx | 0) == 20) break; + $conv = HEAP8[$call + $t$0$idx >> 0] | 0; + $conv10 = HEAP8[$call + ($t$0$idx | 1) >> 0] | 0; + HEAP8[$e$0 >> 0] = (($conv10 + -48 | 0) >>> 0 < 10 ? 208 : 169) + $conv10 + ((($conv + -48 | 0) >>> 0 < 10 ? 0 : 9) + $conv << 4); + $e$0 = $e$0 + 1 | 0; + $t$0$idx = $t$0$idx + 2 | 0; + } + $__first$addr$0$i$i = $0; + $__last$addr$0$i$i = $scevgep + 2 | 0; + while (1) { + $incdec$ptr$i$i = $__last$addr$0$i$i + -1 | 0; + if ($__first$addr$0$i$i >>> 0 >= $incdec$ptr$i$i >>> 0) break; + $3 = HEAP8[$__first$addr$0$i$i >> 0] | 0; + HEAP8[$__first$addr$0$i$i >> 0] = HEAP8[$incdec$ptr$i$i >> 0] | 0; + HEAP8[$incdec$ptr$i$i >> 0] = $3; + $__first$addr$0$i$i = $__first$addr$0$i$i + 1 | 0; + $__last$addr$0$i$i = $incdec$ptr$i$i; + } + dest = $num; + stop = dest + 40 | 0; + do { + HEAP32[dest >> 2] = 0; + dest = dest + 4 | 0; + } while ((dest | 0) < (stop | 0)); + HEAPF64[$agg$tmp$byval_copy >> 3] = +HEAPF64[$0 >> 3]; + __ZN12_GLOBAL__N_110StringViewC2EPKcS2_($agg$tmp, $num, $num + (_snprintf($num, 40, 53173, $agg$tmp$byval_copy) | 0) | 0); + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($s, $agg$tmp$byval_copy); } - $$043 = $$1; - L14 : while (1) { - $28 = $$043 + 1 | 0; - switch (HEAP8[$$043 >> 0] | 0) { - case 0: - { - break L14; - break; - } - case 37: - { - label = 12; - break L14; - break; + STACKTOP = sp; + return; +} + +function __ZNK12_GLOBAL__N_116itanium_demangle22ParameterPackExpansion9printLeftERNS_12OutputStreamE($this, $S) { + $this = $this | 0; + $S = $S | 0; + var $1 = 0, $Child = 0, $CurrentPackIndex = 0, $CurrentPackMax = 0, $I$0 = 0, $SavePackIdx = 0, $SavePackMax = 0, $agg$tmp = 0, $agg$tmp10 = 0, $agg$tmp10$byval_copy = 0, $call = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 64 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(64); + $agg$tmp10$byval_copy = sp + 48 | 0; + $SavePackIdx = sp + 32 | 0; + $SavePackMax = sp + 8 | 0; + $agg$tmp = sp + 24 | 0; + $agg$tmp10 = sp; + $CurrentPackIndex = $S + 12 | 0; + __ZN12_GLOBAL__N_114SwapAndRestoreIjEC2ERjj($SavePackIdx, $CurrentPackIndex); + $CurrentPackMax = $S + 16 | 0; + __ZN12_GLOBAL__N_114SwapAndRestoreIjEC2ERjj($SavePackMax, $CurrentPackMax); + $call = __ZNK12_GLOBAL__N_112OutputStream18getCurrentPositionEv($S) | 0; + $Child = $this + 8 | 0; + __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(HEAP32[$Child >> 2] | 0, $S); + $1 = HEAP32[$CurrentPackMax >> 2] | 0; + L1 : do switch ($1 | 0) { + case -1: + { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, 52352); + HEAP32[$agg$tmp10$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp10$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp10$byval_copy); + break; + } + case 0: + { + __ZN12_GLOBAL__N_112OutputStream18setCurrentPositionEm($S, $call); + break; + } + default: + { + $I$0 = 1; + while (1) { + if ($I$0 >>> 0 >= $1 >>> 0) break L1; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp10, 52994); + HEAP32[$agg$tmp10$byval_copy >> 2] = HEAP32[$agg$tmp10 >> 2]; + HEAP32[$agg$tmp10$byval_copy + 4 >> 2] = HEAP32[$agg$tmp10 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp10$byval_copy); + HEAP32[$CurrentPackIndex >> 2] = $I$0; + __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(HEAP32[$Child >> 2] | 0, $S); + $I$0 = $I$0 + 1 | 0; } - default: - $$043 = $28; } - } - if ((label | 0) == 12 ? (HEAP8[$28 >> 0] | 0) == 115 : 0) { - HEAP32[$vararg_buffer >> 2] = $2 + 24; - _sprintf($1, $$1, $vararg_buffer) | 0; - STACKTOP = sp; + } while (0); + __ZN12_GLOBAL__N_114SwapAndRestoreIjED2Ev($SavePackMax); + __ZN12_GLOBAL__N_114SwapAndRestoreIjED2Ev($SavePackIdx); + STACKTOP = sp; + return; +} + +function _quantize3_ord_dither($cinfo, $input_buf, $output_buf, $num_rows) { + $cinfo = $cinfo | 0; + $input_buf = $input_buf | 0; + $output_buf = $output_buf | 0; + $num_rows = $num_rows | 0; + var $$pre48 = 0, $0 = 0, $1 = 0, $10 = 0, $11 = 0, $13 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $9 = 0, $arrayidx10 = 0, $arrayidx13 = 0, $arrayidx17 = 0, $col$042 = 0, $col_index$041 = 0, $input_ptr$043 = 0, $output_ptr$040 = 0, $row$045 = 0, $row$045$us = 0, $row_index7 = 0; + $0 = HEAP32[$cinfo + 484 >> 2] | 0; + $1 = HEAP32[$0 + 24 >> 2] | 0; + $2 = HEAP32[$1 >> 2] | 0; + $3 = HEAP32[$1 + 4 >> 2] | 0; + $4 = HEAP32[$1 + 8 >> 2] | 0; + $5 = HEAP32[$cinfo + 112 >> 2] | 0; + if (($num_rows | 0) <= 0) return; + $row_index7 = $0 + 48 | 0; + $arrayidx10 = $0 + 52 | 0; + $arrayidx13 = $0 + 56 | 0; + $arrayidx17 = $0 + 60 | 0; + $$pre48 = HEAP32[$row_index7 >> 2] | 0; + if (!$5) { + $6 = $$pre48; + $row$045$us = 0; + do { + $6 = $6 + 1 & 15; + $row$045$us = $row$045$us + 1 | 0; + } while (($row$045$us | 0) != ($num_rows | 0)); + HEAP32[$row_index7 >> 2] = $6; return; } - $36 = HEAP32[$2 + 28 >> 2] | 0; - $38 = HEAP32[$2 + 32 >> 2] | 0; - $40 = HEAP32[$2 + 36 >> 2] | 0; - $42 = HEAP32[$2 + 40 >> 2] | 0; - $44 = HEAP32[$2 + 44 >> 2] | 0; - $46 = HEAP32[$2 + 48 >> 2] | 0; - $48 = HEAP32[$2 + 52 >> 2] | 0; - HEAP32[$vararg_buffer1 >> 2] = HEAP32[$2 + 24 >> 2]; - HEAP32[$vararg_buffer1 + 4 >> 2] = $36; - HEAP32[$vararg_buffer1 + 8 >> 2] = $38; - HEAP32[$vararg_buffer1 + 12 >> 2] = $40; - HEAP32[$vararg_buffer1 + 16 >> 2] = $42; - HEAP32[$vararg_buffer1 + 20 >> 2] = $44; - HEAP32[$vararg_buffer1 + 24 >> 2] = $46; - HEAP32[$vararg_buffer1 + 28 >> 2] = $48; - _sprintf($1, $$1, $vararg_buffer1) | 0; - STACKTOP = sp; + $13 = $$pre48; + $row$045 = 0; + do { + $9 = HEAP32[$arrayidx10 >> 2] | 0; + $10 = HEAP32[$arrayidx13 >> 2] | 0; + $11 = HEAP32[$arrayidx17 >> 2] | 0; + $col$042 = $5; + $col_index$041 = 0; + $input_ptr$043 = HEAP32[$input_buf + ($row$045 << 2) >> 2] | 0; + $output_ptr$040 = HEAP32[$output_buf + ($row$045 << 2) >> 2] | 0; + while (1) { + HEAP8[$output_ptr$040 >> 0] = (HEAPU8[$3 + ((HEAP32[$10 + ($13 << 6) + ($col_index$041 << 2) >> 2] | 0) + (HEAPU8[$input_ptr$043 + 1 >> 0] | 0)) >> 0] | 0) + (HEAPU8[$2 + ((HEAP32[$9 + ($13 << 6) + ($col_index$041 << 2) >> 2] | 0) + (HEAPU8[$input_ptr$043 >> 0] | 0)) >> 0] | 0) + (HEAPU8[$4 + ((HEAP32[$11 + ($13 << 6) + ($col_index$041 << 2) >> 2] | 0) + (HEAPU8[$input_ptr$043 + 2 >> 0] | 0)) >> 0] | 0); + $col$042 = $col$042 + -1 | 0; + if (!$col$042) break; else { + $col_index$041 = $col_index$041 + 1 & 15; + $input_ptr$043 = $input_ptr$043 + 3 | 0; + $output_ptr$040 = $output_ptr$040 + 1 | 0; + } + } + $13 = $13 + 1 & 15; + HEAP32[$row_index7 >> 2] = $13; + $row$045 = $row$045 + 1 | 0; + } while (($row$045 | 0) != ($num_rows | 0)); return; } -function __ZN6vision21OrientationAssignment16computeGradientsEPKNS_25GaussianScaleSpacePyramidE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $11 = 0, $13 = 0, $14 = 0, $2 = 0, $23 = 0, $28 = 0, $3 = 0, $32 = 0, $35 = 0, $36 = 0, $37 = 0, $4 = 0, label = 0, sp = 0; +function __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi($this, $__n) { + $this = $this | 0; + $__n = $__n | 0; + var $1 = 0, $4 = 0, $5 = 0, $__fill_$i = 0, $__s = 0, $add$ptr$i = 0, $add$ptr25 = 0, $agg$tmp$i = 0, $agg$tmp$i$byval_copy = 0, $call$i = 0, $call$i$i$i = 0, $call$i1$i$i = 0, $call$i8 = 0, $conv$i = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $2 = sp; - $3 = $0 + 40 | 0; - $$0 = 0; - while (1) { - $4 = __ZNK6vision25GaussianScaleSpacePyramid6imagesEv($1) | 0; - if ($$0 >>> 0 >= (HEAP32[$4 + 4 >> 2] | 0) - (HEAP32[$4 >> 2] | 0) >> 5 >>> 0) { - label = 3; + $agg$tmp$i$byval_copy = sp + 12 | 0; + $agg$tmp$i = sp + 8 | 0; + $__s = sp; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE6sentryC2ERS3_($__s, $this); + if (HEAP8[$__s >> 0] | 0) { + __ZNKSt3__28ios_base6getlocEv($agg$tmp$i$byval_copy, $this + (HEAP32[(HEAP32[$this >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i = __ZNKSt3__26locale9use_facetERNS0_2idE($agg$tmp$i$byval_copy, 67416) | 0; + __ZNSt3__26localeD2Ev($agg$tmp$i$byval_copy); + $add$ptr$i = $this + (HEAP32[(HEAP32[$this >> 2] | 0) + -12 >> 2] | 0) | 0; + $1 = HEAP32[$add$ptr$i + 24 >> 2] | 0; + $call$i8 = __ZNSt3__211char_traitsIcE3eofEv() | 0; + $__fill_$i = $add$ptr$i + 76 | 0; + if (__ZNSt3__211char_traitsIcE11eq_int_typeEii($call$i8, HEAP32[$__fill_$i >> 2] | 0) | 0) { + __ZNKSt3__28ios_base6getlocEv($agg$tmp$i$byval_copy, $add$ptr$i); + $call$i$i$i = __ZNKSt3__26locale9use_facetERNS0_2idE($agg$tmp$i$byval_copy, 67360) | 0; + $call$i1$i$i = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i$i$i >> 2] | 0) + 28 >> 2] & 127]($call$i$i$i, 32) | 0; + __ZNSt3__26localeD2Ev($agg$tmp$i$byval_copy); + $conv$i = $call$i1$i$i << 24 >> 24; + HEAP32[$__fill_$i >> 2] = $conv$i; + $4 = $conv$i; + } else $4 = HEAP32[$__fill_$i >> 2] | 0; + $5 = HEAP32[(HEAP32[$call$i >> 2] | 0) + 16 >> 2] | 0; + HEAP32[$agg$tmp$i >> 2] = $1; + HEAP32[$agg$tmp$i$byval_copy >> 2] = HEAP32[$agg$tmp$i >> 2]; + if (!(FUNCTION_TABLE_iiiiii[$5 & 31]($call$i, $agg$tmp$i$byval_copy, $add$ptr$i, $4 & 255, $__n) | 0)) { + $add$ptr25 = $this + (HEAP32[(HEAP32[$this >> 2] | 0) + -12 >> 2] | 0) | 0; + __ZNSt3__28ios_base5clearEj($add$ptr25, HEAP32[$add$ptr25 + 16 >> 2] | 5); + } + } + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE6sentryD2Ev($__s); + STACKTOP = sp; + return $this | 0; +} + +function _post_process_prepass($cinfo, $input_buf, $in_row_group_ctr, $in_row_groups_avail, $output_buf, $out_row_ctr, $out_rows_avail) { + $cinfo = $cinfo | 0; + $input_buf = $input_buf | 0; + $in_row_group_ctr = $in_row_group_ctr | 0; + $in_row_groups_avail = $in_row_groups_avail | 0; + $output_buf = $output_buf | 0; + $out_row_ctr = $out_row_ctr | 0; + $out_rows_avail = $out_rows_avail | 0; + var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $17 = 0, $18 = 0, $buffer = 0, $buffer4$phi$trans$insert = 0, $buffer4$pre$phiZ2D = 0, $call = 0, $next_row = 0, $starting_row18 = 0, $strip_height = 0, $strip_height6$pre$phiZ2D = 0, $sub = 0; + $0 = HEAP32[$cinfo + 456 >> 2] | 0; + $next_row = $0 + 24 | 0; + $1 = HEAP32[$next_row >> 2] | 0; + if (!$1) { + $strip_height = $0 + 16 | 0; + $call = FUNCTION_TABLE_iiiiii[HEAP32[(HEAP32[$cinfo + 4 >> 2] | 0) + 28 >> 2] & 31]($cinfo, HEAP32[$0 + 8 >> 2] | 0, HEAP32[$0 + 20 >> 2] | 0, HEAP32[$strip_height >> 2] | 0, 1) | 0; + $buffer = $0 + 12 | 0; + HEAP32[$buffer >> 2] = $call; + $10 = $call; + $12 = HEAP32[$next_row >> 2] | 0; + $buffer4$pre$phiZ2D = $buffer; + $strip_height6$pre$phiZ2D = $strip_height; + } else { + $buffer4$phi$trans$insert = $0 + 12 | 0; + $10 = HEAP32[$buffer4$phi$trans$insert >> 2] | 0; + $12 = $1; + $buffer4$pre$phiZ2D = $buffer4$phi$trans$insert; + $strip_height6$pre$phiZ2D = $0 + 16 | 0; + } + FUNCTION_TABLE_viiiiiii[HEAP32[(HEAP32[$cinfo + 476 >> 2] | 0) + 4 >> 2] & 7]($cinfo, $input_buf, $in_row_group_ctr, $in_row_groups_avail, $10, $next_row, HEAP32[$strip_height6$pre$phiZ2D >> 2] | 0); + $11 = HEAP32[$next_row >> 2] | 0; + if ($11 >>> 0 > $12 >>> 0) { + $sub = $11 - $12 | 0; + FUNCTION_TABLE_viiii[HEAP32[(HEAP32[$cinfo + 484 >> 2] | 0) + 4 >> 2] & 31]($cinfo, (HEAP32[$buffer4$pre$phiZ2D >> 2] | 0) + ($12 << 2) | 0, 0, $sub); + HEAP32[$out_row_ctr >> 2] = (HEAP32[$out_row_ctr >> 2] | 0) + $sub; + $18 = HEAP32[$next_row >> 2] | 0; + } else $18 = $11; + $17 = HEAP32[$strip_height6$pre$phiZ2D >> 2] | 0; + if ($18 >>> 0 < $17 >>> 0) return; + $starting_row18 = $0 + 20 | 0; + HEAP32[$starting_row18 >> 2] = (HEAP32[$starting_row18 >> 2] | 0) + $17; + HEAP32[$next_row >> 2] = 0; + return; +} + +function _arLabeling($imageLuma, $xsize, $ysize, $debugMode, $labelingMode, $labelingThresh, $imageProcMode, $labelInfo, $image_thresh) { + $imageLuma = $imageLuma | 0; + $xsize = $xsize | 0; + $ysize = $ysize | 0; + $debugMode = $debugMode | 0; + $labelingMode = $labelingMode | 0; + $labelingThresh = $labelingThresh | 0; + $imageProcMode = $imageProcMode | 0; + $labelInfo = $labelInfo | 0; + $image_thresh = $image_thresh | 0; + var $cmp1 = 0, $retval$0 = 0, $tobool = 0; + $cmp1 = ($labelingMode | 0) == 1; + $tobool = ($image_thresh | 0) != 0; + do if (!$debugMode) if ($cmp1) { + if ($tobool) { + $retval$0 = _arLabelingSubDBZ($imageLuma, $xsize, $ysize, $image_thresh, $labelInfo) | 0; + break; + } + if (!$imageProcMode) { + $retval$0 = _arLabelingSubDBRC($imageLuma, $xsize, $ysize, $labelingThresh, $labelInfo) | 0; + break; + } else { + $retval$0 = _arLabelingSubDBIC($imageLuma, $xsize, $ysize, $labelingThresh, $labelInfo) | 0; break; } - $11 = __ZNK6vision25GaussianScaleSpacePyramid6imagesEv($1) | 0; - $13 = (HEAP32[$11 >> 2] | 0) + ($$0 << 5) | 0; - $14 = __ZNK6vision5Image5widthEv($13) | 0; - if (($14 | 0) != ((__ZNK6vision5Image4stepEv($13) | 0) >>> 2 | 0)) { - label = 5; + } else { + if ($tobool) { + $retval$0 = _arLabelingSubDWZ($imageLuma, $xsize, $ysize, $image_thresh, $labelInfo) | 0; break; } - $35 = __ZN6vision5Image3getIfEEPT_v((HEAP32[$3 >> 2] | 0) + ($$0 << 5) | 0) | 0; - $36 = __ZNK6vision5Image3getIfEEPKT_v($13) | 0; - $37 = __ZNK6vision5Image5widthEv($13) | 0; - __ZN6vision21ComputePolarGradientsEPfPKfmm($35, $36, $37, __ZNK6vision5Image6heightEv($13) | 0); - $$0 = $$0 + 1 | 0; - } - if ((label | 0) == 3) { - STACKTOP = sp; - return; - } else if ((label | 0) == 5) { - $23 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 31856) | 0, 31917) | 0, 39072) | 0, 96) | 0, 39079) | 0, 32006) | 0; - __ZNKSt3__28ios_base6getlocEv($2, $23 + (HEAP32[(HEAP32[$23 >> 2] | 0) + -12 >> 2] | 0) | 0); - $28 = __ZNKSt3__26locale9use_facetERNS0_2idE($2, 66512) | 0; - $32 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$28 >> 2] | 0) + 28 >> 2] & 127]($28, 10) | 0; - __ZNSt3__26localeD2Ev($2); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($23, $32) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($23) | 0; - _abort(); - } + if (!$imageProcMode) { + $retval$0 = _arLabelingSubDWRC($imageLuma, $xsize, $ysize, $labelingThresh, $labelInfo) | 0; + break; + } else { + $retval$0 = _arLabelingSubDWIC($imageLuma, $xsize, $ysize, $labelingThresh, $labelInfo) | 0; + break; + } + } else if ($cmp1) { + if ($tobool) { + $retval$0 = _arLabelingSubEBZ($imageLuma, $xsize, $ysize, $image_thresh, $labelInfo) | 0; + break; + } + if (!$imageProcMode) { + $retval$0 = _arLabelingSubEBRC($imageLuma, $xsize, $ysize, $labelingThresh, $labelInfo) | 0; + break; + } else { + $retval$0 = _arLabelingSubEBIC($imageLuma, $xsize, $ysize, $labelingThresh, $labelInfo) | 0; + break; + } + } else { + if ($tobool) { + $retval$0 = _arLabelingSubEWZ($imageLuma, $xsize, $ysize, $image_thresh, $labelInfo) | 0; + break; + } + if (!$imageProcMode) { + $retval$0 = _arLabelingSubEWRC($imageLuma, $xsize, $ysize, $labelingThresh, $labelInfo) | 0; + break; + } else { + $retval$0 = _arLabelingSubEWIC($imageLuma, $xsize, $ysize, $labelingThresh, $labelInfo) | 0; + break; + } + } while (0); + return $retval$0 | 0; } -function ___shgetc($0) { - $0 = $0 | 0; - var $$0 = 0, $$phi$trans$insert28 = 0, $$pre = 0, $1 = 0, $12 = 0, $17 = 0, $2 = 0, $23 = 0, $26 = 0, $28 = 0, $31 = 0, $37 = 0, $39 = 0, $4 = 0, $41 = 0, $43 = 0, $49 = 0, $50 = 0, $56 = 0, $62 = 0, $63 = 0, $66 = 0, $69 = 0, $7 = 0, $70 = 0, $76 = 0, $77 = 0, $78 = 0, $83 = 0, $84 = 0, $89 = 0, label = 0; - $1 = $0 + 112 | 0; - $2 = $1; - $4 = HEAP32[$2 >> 2] | 0; - $7 = HEAP32[$2 + 4 >> 2] | 0; - if (!(($4 | 0) == 0 & ($7 | 0) == 0) ? ($12 = $0 + 120 | 0, $17 = HEAP32[$12 + 4 >> 2] | 0, !(($17 | 0) < ($7 | 0) | (($17 | 0) == ($7 | 0) ? (HEAP32[$12 >> 2] | 0) >>> 0 < $4 >>> 0 : 0))) : 0) label = 4; else { - $23 = ___uflow($0) | 0; - if (($23 | 0) >= 0) { - $26 = $1; - $28 = HEAP32[$26 >> 2] | 0; - $31 = HEAP32[$26 + 4 >> 2] | 0; - $$pre = HEAP32[$0 + 8 >> 2] | 0; - if (!(($28 | 0) == 0 & ($31 | 0) == 0)) { - $37 = HEAP32[$0 + 4 >> 2] | 0; - $39 = $$pre - $37 | 0; - $41 = (($39 | 0) < 0) << 31 >> 31; - $43 = $0 + 120 | 0; - $49 = _i64Subtract($28 | 0, $31 | 0, HEAP32[$43 >> 2] | 0, HEAP32[$43 + 4 >> 2] | 0) | 0; - $50 = getTempRet0() | 0; - $56 = $$pre; - if (($50 | 0) > ($41 | 0) | ($50 | 0) == ($41 | 0) & $49 >>> 0 > $39 >>> 0) { - $89 = $56; - label = 9; - } else { - HEAP32[$0 + 104 >> 2] = $37 + ($49 + -1); - $62 = $56; - } - } else { - $89 = $$pre; - label = 9; - } - if ((label | 0) == 9) { - HEAP32[$0 + 104 >> 2] = $$pre; - $62 = $89; - } - $$phi$trans$insert28 = $0 + 4 | 0; - if (!$62) $84 = HEAP32[$$phi$trans$insert28 >> 2] | 0; else { - $63 = HEAP32[$$phi$trans$insert28 >> 2] | 0; - $66 = $62 + 1 - $63 | 0; - $69 = $0 + 120 | 0; - $70 = $69; - $76 = _i64Add(HEAP32[$70 >> 2] | 0, HEAP32[$70 + 4 >> 2] | 0, $66 | 0, (($66 | 0) < 0) << 31 >> 31 | 0) | 0; - $77 = getTempRet0() | 0; - $78 = $69; - HEAP32[$78 >> 2] = $76; - HEAP32[$78 + 4 >> 2] = $77; - $84 = $63; - } - $83 = $84 + -1 | 0; - if (($23 | 0) == (HEAPU8[$83 >> 0] | 0 | 0)) $$0 = $23; else { - HEAP8[$83 >> 0] = $23; - $$0 = $23; +function _jinit_2pass_quantizer($cinfo) { + $cinfo = $cinfo | 0; + var $11 = 0, $12 = 0, $15 = 0, $3 = 0, $call = 0, $call10 = 0, $call35 = 0, $call48 = 0, $call7 = 0, $dither_mode = 0, $fserrors = 0, $histogram = 0, $i$051 = 0, $mem = 0; + $mem = $cinfo + 4 | 0; + $call = FUNCTION_TABLE_iiii[HEAP32[HEAP32[$mem >> 2] >> 2] & 63]($cinfo, 1, 44) | 0; + HEAP32[$cinfo + 484 >> 2] = $call; + HEAP32[$call >> 2] = 137; + HEAP32[$call + 12 >> 2] = 205; + $fserrors = $call + 32 | 0; + HEAP32[$fserrors >> 2] = 0; + HEAP32[$call + 40 >> 2] = 0; + if ((HEAP32[$cinfo + 120 >> 2] | 0) != 3) { + $3 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$3 + 20 >> 2] = 48; + FUNCTION_TABLE_vi[HEAP32[$3 >> 2] & 255]($cinfo); + } + $call7 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[$mem >> 2] >> 2] & 63]($cinfo, 1, 128) | 0; + $histogram = $call + 24 | 0; + HEAP32[$histogram >> 2] = $call7; + $i$051 = 0; + do { + $call10 = FUNCTION_TABLE_iiii[HEAP32[(HEAP32[$mem >> 2] | 0) + 4 >> 2] & 63]($cinfo, 1, 4096) | 0; + HEAP32[(HEAP32[$histogram >> 2] | 0) + ($i$051 << 2) >> 2] = $call10; + $i$051 = $i$051 + 1 | 0; + } while (($i$051 | 0) != 32); + HEAP32[$call + 28 >> 2] = 1; + if (!(HEAP32[$cinfo + 108 >> 2] | 0)) HEAP32[$call + 16 >> 2] = 0; else { + $11 = HEAP32[$cinfo + 96 >> 2] | 0; + if (($11 | 0) >= 8) { + if (($11 | 0) > 256) { + $15 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$15 + 20 >> 2] = 59; + HEAP32[$15 + 24 >> 2] = 256; + FUNCTION_TABLE_vi[HEAP32[HEAP32[$cinfo >> 2] >> 2] & 255]($cinfo); } - } else label = 4; - } - if ((label | 0) == 4) { - HEAP32[$0 + 104 >> 2] = 0; - $$0 = -1; + } else { + $12 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$12 + 20 >> 2] = 58; + HEAP32[$12 + 24 >> 2] = 8; + FUNCTION_TABLE_vi[HEAP32[HEAP32[$cinfo >> 2] >> 2] & 255]($cinfo); + } + $call35 = FUNCTION_TABLE_iiiii[HEAP32[(HEAP32[$mem >> 2] | 0) + 8 >> 2] & 15]($cinfo, 1, $11, 3) | 0; + HEAP32[$call + 16 >> 2] = $call35; + HEAP32[$call + 20 >> 2] = $11; } - return $$0 | 0; + $dither_mode = $cinfo + 88 | 0; + if (!(HEAP32[$dither_mode >> 2] | 0)) return; + HEAP32[$dither_mode >> 2] = 2; + $call48 = FUNCTION_TABLE_iiii[HEAP32[(HEAP32[$mem >> 2] | 0) + 4 >> 2] & 63]($cinfo, 1, ((HEAP32[$cinfo + 112 >> 2] | 0) * 6 | 0) + 12 | 0) | 0; + HEAP32[$fserrors >> 2] = $call48; + _init_error_limit($cinfo); + return; } function _memcpy(dest, src, num) { @@ -73752,1992 +76764,1920 @@ function _memcpy(dest, src, num) { return ret | 0; } -function __ZNSt3__26vectorIN6vision12FeaturePointENS_9allocatorIS2_EEE6assignIPS2_EENS_9enable_ifIXaasr21__is_forward_iteratorIT_EE5valuesr16is_constructibleIS2_NS_15iterator_traitsIS9_E9referenceEEE5valueEvE4typeES9_S9_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$0$i$i = 0, $13 = 0, $14 = 0, $17 = 0, $18 = 0, $21 = 0, $25 = 0, $33 = 0, $34 = 0, $39 = 0, $4 = 0, $42 = 0, $6 = 0, $7 = 0, $9 = 0, $spec$select = 0; - $4 = $1; - $6 = ($2 - $4 | 0) / 20 | 0; - $7 = $0 + 8 | 0; - $9 = HEAP32[$0 >> 2] | 0; - $13 = $9; - do if ($6 >>> 0 > (((HEAP32[$7 >> 2] | 0) - $9 | 0) / 20 | 0) >>> 0) { - __ZNSt3__26vectorIN6vision12FeaturePointENS_9allocatorIS2_EEE13__vdeallocateEv($0); - $34 = __ZNKSt3__26vectorIN6vision12FeaturePointENS_9allocatorIS2_EEE8max_sizeEv($0) | 0; - if ($34 >>> 0 < $6 >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv($0); else { - $39 = ((HEAP32[$7 >> 2] | 0) - (HEAP32[$0 >> 2] | 0) | 0) / 20 | 0; - $42 = $39 << 1; - __ZNSt3__26vectorIN6vision12FeaturePointENS_9allocatorIS2_EEE11__vallocateEm($0, $39 >>> 0 < $34 >>> 1 >>> 0 ? ($42 >>> 0 < $6 >>> 0 ? $6 : $42) : $34); - __ZNSt3__26vectorIN6vision12FeaturePointENS_9allocatorIS2_EEE18__construct_at_endIPS2_EENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeES9_S9_m($0, $1, $2, $6); - break; - } - } else { - $14 = $0 + 4 | 0; - $17 = ((HEAP32[$14 >> 2] | 0) - $9 | 0) / 20 | 0; - $18 = $6 >>> 0 > $17 >>> 0; - $spec$select = $18 ? $1 + ($17 * 20 | 0) | 0 : $2; - $21 = $spec$select - $4 | 0; - if ($21 | 0) _memmove($9 | 0, $1 | 0, $21 | 0) | 0; - $25 = $13 + ((($21 | 0) / 20 | 0) * 20 | 0) | 0; - if ($18) { - __ZNSt3__26vectorIN6vision12FeaturePointENS_9allocatorIS2_EEE18__construct_at_endIPS2_EENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeES9_S9_m($0, $spec$select, $2, $6 - (((HEAP32[$14 >> 2] | 0) - (HEAP32[$0 >> 2] | 0) | 0) / 20 | 0) | 0); - break; - } - $$0$i$i = HEAP32[$14 >> 2] | 0; +function _arParamLTCreate($param, $offset) { + $param = $param | 0; + $offset = $offset | 0; + var $2 = 0, $add = 0, $add4 = 0, $arraydecay = 0, $call = 0, $call16 = 0, $call28 = 0, $conv47 = 0.0, $conv50 = 0.0, $i$0 = 0, $i2of$0 = 0, $i2of$1 = 0, $ix = 0, $iy = 0, $j$0 = 0, $mul = 0, $mul15 = 0, $o2if$0 = 0, $o2if$1 = 0, $ox = 0, $oy = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 64 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(64); + $ix = sp + 24 | 0; + $iy = sp + 16 | 0; + $ox = sp + 8 | 0; + $oy = sp; + $call = _malloc(208) | 0; + if (!$call) { + _arLog(0, 3, 46772, sp + 32 | 0); + _exit(1); + } + _memcpy($call | 0, $param | 0, 184) | 0; + $mul = $offset << 1; + $add = (HEAP32[$param >> 2] | 0) + $mul | 0; + HEAP32[$call + 192 >> 2] = $add; + $add4 = (HEAP32[$param + 4 >> 2] | 0) + $mul | 0; + HEAP32[$call + 196 >> 2] = $add4; + HEAP32[$call + 200 >> 2] = $offset; + HEAP32[$call + 204 >> 2] = $offset; + $mul15 = Math_imul($add << 3, $add4) | 0; + $call16 = _malloc($mul15) | 0; + HEAP32[$call + 184 >> 2] = $call16; + if (!$call16) { + _arLog(0, 3, 46772, sp + 40 | 0); + _exit(1); + } + $call28 = _malloc($mul15) | 0; + HEAP32[$call + 188 >> 2] = $call28; + if (!$call28) { + _arLog(0, 3, 46772, sp + 48 | 0); + _exit(1); + } + $arraydecay = $param + 104 | 0; + $2 = HEAP32[$param + 176 >> 2] | 0; + $i2of$0 = $call16; + $j$0 = 0; + $o2if$0 = $call28; + while (1) { + if (($j$0 | 0) >= ($add4 | 0)) break; + $conv50 = +($j$0 - $offset | 0); + $i$0 = 0; + $i2of$1 = $i2of$0; + $o2if$1 = $o2if$0; while (1) { - if (($$0$i$i | 0) == ($25 | 0)) break; - $33 = $$0$i$i + -20 | 0; - __ZN6vision12FeaturePointD2Ev($33); - $$0$i$i = $33; + if (($i$0 | 0) >= ($add | 0)) break; + $conv47 = +($i$0 - $offset | 0); + _arParamIdeal2Observ($arraydecay, $conv47, $conv50, $ox, $oy, $2) | 0; + HEAPF32[$i2of$1 >> 2] = +HEAPF64[$ox >> 3]; + HEAPF32[$i2of$1 + 4 >> 2] = +HEAPF64[$oy >> 3]; + _arParamObserv2Ideal($arraydecay, $conv47, $conv50, $ix, $iy, $2) | 0; + HEAPF32[$o2if$1 >> 2] = +HEAPF64[$ix >> 3]; + HEAPF32[$o2if$1 + 4 >> 2] = +HEAPF64[$iy >> 3]; + $i$0 = $i$0 + 1 | 0; + $i2of$1 = $i2of$1 + 8 | 0; + $o2if$1 = $o2if$1 + 8 | 0; } - HEAP32[$14 >> 2] = $25; + $i2of$0 = $i2of$1; + $j$0 = $j$0 + 1 | 0; + $o2if$0 = $o2if$1; + } + STACKTOP = sp; + return $call | 0; +} + +function __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm8EEaSEOS4_($this, $Other) { + $this = $this | 0; + $Other = $Other | 0; + var $10 = 0, $2 = 0, $6 = 0, $8 = 0, $Cap23 = 0, $Cap24 = 0, $Last21 = 0, $Last22 = 0, $add$ptr = 0, $call = 0, $call2 = 0, $call4 = 0, $sub$ptr$sub$i$i = 0; + $call = __ZNK12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm8EE8isInlineEv($Other) | 0; + $call2 = __ZNK12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm8EE8isInlineEv($this) | 0; + do if (!$call) if ($call2) { + HEAP32[$this >> 2] = HEAP32[$Other >> 2]; + HEAP32[$this + 4 >> 2] = HEAP32[$Other + 4 >> 2]; + HEAP32[$this + 8 >> 2] = HEAP32[$Other + 8 >> 2]; + __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm8EE11clearInlineEv($Other); + break; + } else { + $6 = HEAP32[$this >> 2] | 0; + HEAP32[$this >> 2] = HEAP32[$Other >> 2]; + HEAP32[$Other >> 2] = $6; + $Last21 = $this + 4 | 0; + $Last22 = $Other + 4 | 0; + $8 = HEAP32[$Last21 >> 2] | 0; + HEAP32[$Last21 >> 2] = HEAP32[$Last22 >> 2]; + HEAP32[$Last22 >> 2] = $8; + $Cap23 = $this + 8 | 0; + $Cap24 = $Other + 8 | 0; + $10 = HEAP32[$Cap23 >> 2] | 0; + HEAP32[$Cap23 >> 2] = HEAP32[$Cap24 >> 2]; + HEAP32[$Cap24 >> 2] = $10; + __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm8EE5clearEv($Other); + break; + } else { + if (!$call2) { + _free(HEAP32[$this >> 2] | 0); + __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm8EE11clearInlineEv($this); + } + $call4 = __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm8EE5beginEv($Other) | 0; + $sub$ptr$sub$i$i = (__ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm8EE3endEv($Other) | 0) - $call4 | 0; + if ($sub$ptr$sub$i$i | 0) _memmove(HEAP32[$this >> 2] | 0, $call4 | 0, $sub$ptr$sub$i$i | 0) | 0; + $2 = HEAP32[$this >> 2] | 0; + $add$ptr = $2 + ((__ZNK12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm8EE4sizeEv($Other) | 0) << 2) | 0; + HEAP32[$this + 4 >> 2] = $add$ptr; + __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm8EE5clearEv($Other); } while (0); return; } -function __ZL18genBWImageTwoThirdPhiiPiS0_($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $$0 = 0, $$073 = 0, $$074 = 0, $$077 = 0, $$078 = 0, $$079 = 0, $$1 = 0, $$176 = 0, $$pn = 0, $10 = 0, $13 = 0, $25 = 0, $34 = 0, $5 = 0, $51 = 0, $6 = 0, $7 = 0, $71 = 0, $8 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $5 = ($1 | 0) / 3 | 0; - $6 = $5 << 1; - HEAP32[$3 >> 2] = $6; - $7 = ($2 | 0) / 3 | 0; - $8 = $7 << 1; - HEAP32[$4 >> 2] = $8; - $10 = _malloc(Math_imul($8, $6) | 0) | 0; - if (!$10) { - _arLog(0, 3, 45930, sp); - _exit(1); - } - $$0 = 0; - $$074 = $10; - $$pn = $10; - while (1) { - if (($$0 | 0) >= ($7 | 0)) break; - $13 = $$0 * 3 | 0; - $$073 = 0; - $$077 = $0 + (Math_imul($13 + 2 | 0, $1) | 0) | 0; - $$078 = $0 + (Math_imul($13 + 1 | 0, $1) | 0) | 0; - $$079 = $0 + (Math_imul($13, $1) | 0) | 0; - $$1 = $$074; - $$176 = $$pn + $6 | 0; - while (1) { - if (($$073 | 0) >= ($5 | 0)) break; - $25 = $$079 + 1 | 0; - $34 = $$078 + 1 | 0; - HEAP8[$$1 >> 0] = (((HEAPU8[$25 >> 0] | 0) >>> 1 & 255) + (HEAPU8[$$079 >> 0] | 0) + ((HEAPU8[$$078 >> 0] | 0) >>> 1 & 255) + ((HEAPU8[$34 >> 0] | 0) >>> 2 & 255) << 2 >>> 0) / 9 | 0; - $51 = $$077 + 1 | 0; - HEAP8[$$176 >> 0] = ((((HEAPU8[$34 >> 0] | 0) >>> 2) + ((HEAPU8[$$078 >> 0] | 0) >>> 1) & 255) + (HEAPU8[$$077 >> 0] | 0) + ((HEAPU8[$51 >> 0] | 0) >>> 1 & 255) << 2 >>> 0) / 9 | 0; - $71 = $$078 + 2 | 0; - HEAP8[$$1 + 1 >> 0] = (((HEAPU8[$25 >> 0] | 0) >>> 1 & 255) + (HEAPU8[$$079 + 2 >> 0] | 0) + ((HEAPU8[$34 >> 0] | 0) >>> 2 & 255) + ((HEAPU8[$71 >> 0] | 0) >>> 1 & 255) << 2 >>> 0) / 9 | 0; - HEAP8[$$176 + 1 >> 0] = ((((HEAPU8[$71 >> 0] | 0) >>> 1) + ((HEAPU8[$34 >> 0] | 0) >>> 2) & 255) + ((HEAPU8[$51 >> 0] | 0) >>> 1 & 255) + (HEAPU8[$$077 + 2 >> 0] | 0) << 2 >>> 0) / 9 | 0; - $$073 = $$073 + 1 | 0; - $$077 = $$077 + 3 | 0; - $$078 = $$078 + 3 | 0; - $$079 = $$079 + 3 | 0; - $$1 = $$1 + 2 | 0; - $$176 = $$176 + 2 | 0; - } - $$0 = $$0 + 1 | 0; - $$074 = $$1 + $6 | 0; - $$pn = $$176; - } - STACKTOP = sp; - return $10 | 0; -} - -function __ZN6vision16MatrixInverse3x3IfEEbPT_PKS1_S1_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = +$2; - var $$0 = 0, $11 = 0, $13 = 0, $16 = 0.0, $17 = 0, $19 = 0, $24 = 0.0, $3 = 0.0, $31 = 0.0, $34 = 0, $37 = 0, $40 = 0.0, $47 = 0.0, $54 = 0.0, $6 = 0.0, $61 = 0.0, $68 = 0.0, $7 = 0, $75 = 0.0, $9 = 0; - $3 = +__ZN6vision14Determinant3x3IfEET_PKS1_($1); - if (!(+Math_abs(+$3) <= $2)) { - $6 = 1.0 / $3; - $7 = $1 + 16 | 0; - $9 = $1 + 20 | 0; - $11 = $1 + 28 | 0; - $13 = $1 + 32 | 0; - $16 = $6 * +__ZN6vision11Cofactor2x2IfEET_S1_S1_S1_S1_(+HEAPF32[$7 >> 2], +HEAPF32[$9 >> 2], +HEAPF32[$11 >> 2], +HEAPF32[$13 >> 2]); - HEAPF32[$0 >> 2] = $16; - $17 = $1 + 8 | 0; - $19 = $1 + 4 | 0; - $24 = $6 * +__ZN6vision11Cofactor2x2IfEET_S1_S1_S1_S1_(+HEAPF32[$17 >> 2], +HEAPF32[$19 >> 2], +HEAPF32[$13 >> 2], +HEAPF32[$11 >> 2]); - HEAPF32[$0 + 4 >> 2] = $24; - $31 = $6 * +__ZN6vision11Cofactor2x2IfEET_S1_S1_S1_S1_(+HEAPF32[$19 >> 2], +HEAPF32[$17 >> 2], +HEAPF32[$7 >> 2], +HEAPF32[$9 >> 2]); - HEAPF32[$0 + 8 >> 2] = $31; - $34 = $1 + 12 | 0; - $37 = $1 + 24 | 0; - $40 = $6 * +__ZN6vision11Cofactor2x2IfEET_S1_S1_S1_S1_(+HEAPF32[$9 >> 2], +HEAPF32[$34 >> 2], +HEAPF32[$13 >> 2], +HEAPF32[$37 >> 2]); - HEAPF32[$0 + 12 >> 2] = $40; - $47 = $6 * +__ZN6vision11Cofactor2x2IfEET_S1_S1_S1_S1_(+HEAPF32[$1 >> 2], +HEAPF32[$17 >> 2], +HEAPF32[$37 >> 2], +HEAPF32[$13 >> 2]); - HEAPF32[$0 + 16 >> 2] = $47; - $54 = $6 * +__ZN6vision11Cofactor2x2IfEET_S1_S1_S1_S1_(+HEAPF32[$17 >> 2], +HEAPF32[$1 >> 2], +HEAPF32[$9 >> 2], +HEAPF32[$34 >> 2]); - HEAPF32[$0 + 20 >> 2] = $54; - $61 = $6 * +__ZN6vision11Cofactor2x2IfEET_S1_S1_S1_S1_(+HEAPF32[$34 >> 2], +HEAPF32[$7 >> 2], +HEAPF32[$37 >> 2], +HEAPF32[$11 >> 2]); - HEAPF32[$0 + 24 >> 2] = $61; - $68 = $6 * +__ZN6vision11Cofactor2x2IfEET_S1_S1_S1_S1_(+HEAPF32[$19 >> 2], +HEAPF32[$1 >> 2], +HEAPF32[$11 >> 2], +HEAPF32[$37 >> 2]); - HEAPF32[$0 + 28 >> 2] = $68; - $75 = $6 * +__ZN6vision11Cofactor2x2IfEET_S1_S1_S1_S1_(+HEAPF32[$1 >> 2], +HEAPF32[$19 >> 2], +HEAPF32[$34 >> 2], +HEAPF32[$7 >> 2]); - HEAPF32[$0 + 32 >> 2] = $75; - $$0 = 1; - } else $$0 = 0; - return $$0 | 0; -} - -function __ZNK12_GLOBAL__N_116itanium_demangle27ExpandedSpecialSubstitution9printLeftERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$byval_copy5 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, sp = 0; +function _ar2ScreenCoord2MarkerCoord($cparamLT, $trans, $sx, $sy, $mx, $my) { + $cparamLT = $cparamLT | 0; + $trans = $trans | 0; + $sx = +$sx; + $sy = +$sy; + $mx = $mx | 0; + $my = $my | 0; + var $$sink = 0.0, $0 = 0.0, $10 = 0.0, $12 = 0.0, $14 = 0.0, $18 = 0.0, $2 = 0.0, $7 = 0.0, $9 = 0.0, $b1$0 = 0.0, $c11$0 = 0.0, $c12$0 = 0.0, $c21$0 = 0.0, $c22$0 = 0.0, $ix = 0, $iy = 0, $mul72$sink = 0.0, $retval$0 = 0, $sub73 = 0.0, $sub77 = 0.0, $wtrans = 0, label = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 64 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(64); - $$byval_copy5 = sp + 48 | 0; - $2 = sp + 40 | 0; - $3 = sp + 32 | 0; - $4 = sp + 24 | 0; - $5 = sp + 16 | 0; - $6 = sp + 8 | 0; - $7 = sp; - switch (HEAP32[$0 + 8 >> 2] | 0) { - case 0: - { - __ZN12_GLOBAL__N_110StringViewC2EPKc($2, 51758); - HEAP32[$$byval_copy5 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy5 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy5); - break; - } - case 1: - { - __ZN12_GLOBAL__N_110StringViewC2EPKc($3, 51773); - HEAP32[$$byval_copy5 >> 2] = HEAP32[$3 >> 2]; - HEAP32[$$byval_copy5 + 4 >> 2] = HEAP32[$3 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy5); - break; - } - case 2: - { - __ZN12_GLOBAL__N_110StringViewC2EPKc($4, 55532); - HEAP32[$$byval_copy5 >> 2] = HEAP32[$4 >> 2]; - HEAP32[$$byval_copy5 + 4 >> 2] = HEAP32[$4 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy5); - break; - } - case 3: - { - __ZN12_GLOBAL__N_110StringViewC2EPKc($5, 55603); - HEAP32[$$byval_copy5 >> 2] = HEAP32[$5 >> 2]; - HEAP32[$$byval_copy5 + 4 >> 2] = HEAP32[$5 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy5); - break; - } - case 4: - { - __ZN12_GLOBAL__N_110StringViewC2EPKc($6, 55653); - HEAP32[$$byval_copy5 >> 2] = HEAP32[$6 >> 2]; - HEAP32[$$byval_copy5 + 4 >> 2] = HEAP32[$6 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy5); - break; - } - case 5: - { - __ZN12_GLOBAL__N_110StringViewC2EPKc($7, 55703); - HEAP32[$$byval_copy5 >> 2] = HEAP32[$7 >> 2]; - HEAP32[$$byval_copy5 + 4 >> 2] = HEAP32[$7 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy5); - break; + $ix = sp + 52 | 0; + $iy = sp + 48 | 0; + $wtrans = sp; + if ($cparamLT) if ((_arParamObserv2IdealLTf($cparamLT + 184 | 0, $sx, $sy, $ix, $iy) | 0) < 0) $retval$0 = -1; else { + _arUtilMatMuldff($cparamLT + 8 | 0, $trans, $wtrans) | 0; + $9 = +HEAPF32[$wtrans + 32 >> 2]; + $10 = +HEAPF32[$ix >> 2]; + $12 = +HEAPF32[$wtrans + 36 >> 2]; + $14 = +HEAPF32[$iy >> 2]; + $18 = +HEAPF32[$wtrans + 44 >> 2]; + $$sink = +HEAPF32[$wtrans + 28 >> 2]; + $b1$0 = +HEAPF32[$wtrans + 12 >> 2] - $10 * $18; + $c11$0 = $9 * $10 - +HEAPF32[$wtrans >> 2]; + $c12$0 = $10 * $12 - +HEAPF32[$wtrans + 4 >> 2]; + $c21$0 = $9 * $14 - +HEAPF32[$wtrans + 16 >> 2]; + $c22$0 = $12 * $14 - +HEAPF32[$wtrans + 20 >> 2]; + $mul72$sink = $14 * $18; + label = 5; + } else { + $0 = +HEAPF32[$trans + 32 >> 2]; + $2 = +HEAPF32[$trans + 36 >> 2]; + $7 = +HEAPF32[$trans + 44 >> 2]; + $$sink = +HEAPF32[$trans + 28 >> 2]; + $b1$0 = +HEAPF32[$trans + 12 >> 2] - $7 * $sx; + $c11$0 = $0 * $sx - +HEAPF32[$trans >> 2]; + $c12$0 = $2 * $sx - +HEAPF32[$trans + 4 >> 2]; + $c21$0 = $0 * $sy - +HEAPF32[$trans + 16 >> 2]; + $c22$0 = $2 * $sy - +HEAPF32[$trans + 20 >> 2]; + $mul72$sink = $7 * $sy; + label = 5; + } + if ((label | 0) == 5) { + $sub73 = $$sink - $mul72$sink; + $sub77 = $c11$0 * $c22$0 - $c12$0 * $c21$0; + if ($sub77 == 0.0) $retval$0 = -1; else { + HEAPF32[$mx >> 2] = ($c22$0 * $b1$0 - $c12$0 * $sub73) / $sub77; + HEAPF32[$my >> 2] = ($c11$0 * $sub73 - $c21$0 * $b1$0) / $sub77; + $retval$0 = 0; } - default: - {} } STACKTOP = sp; - return; + return $retval$0 | 0; } -function __ZNK12_GLOBAL__N_116itanium_demangle19SpecialSubstitution9printLeftERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$byval_copy5 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, sp = 0; +function __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE21__grow_by_and_replaceEmmmmmmPKc($this, $__old_cap, $__delta_cap, $__old_sz, $__n_copy, $__n_del, $__n_add, $__p_new_stuff) { + $this = $this | 0; + $__old_cap = $__old_cap | 0; + $__delta_cap = $__delta_cap | 0; + $__old_sz = $__old_sz | 0; + $__n_copy = $__n_copy | 0; + $__n_del = $__n_del | 0; + $__n_add = $__n_add | 0; + $__p_new_stuff = $__p_new_stuff | 0; + var $$sroa$speculated = 0, $add = 0, $add40 = 0, $add48 = 0, $call$i$i$i = 0, $cond$i = 0, $cond40 = 0, $mul = 0, $ref$tmp49 = 0, $sub28 = 0, $sub29 = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 64 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(64); - $$byval_copy5 = sp + 48 | 0; - $2 = sp + 40 | 0; - $3 = sp + 32 | 0; - $4 = sp + 24 | 0; - $5 = sp + 16 | 0; - $6 = sp + 8 | 0; - $7 = sp; - switch (HEAP32[$0 + 8 >> 2] | 0) { - case 0: - { - __ZN12_GLOBAL__N_110StringViewC2EPKc($2, 51758); - HEAP32[$$byval_copy5 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy5 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy5); + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $ref$tmp49 = sp; + if ((-18 - $__old_cap | 0) >>> 0 < $__delta_cap >>> 0) __ZNKSt3__221__basic_string_commonILb1EE20__throw_length_errorEv($this); + if ((HEAP8[$this + 11 >> 0] | 0) < 0) $cond$i = HEAP32[$this >> 2] | 0; else $cond$i = $this; + if ($__old_cap >>> 0 < 2147483623) { + $add = $__delta_cap + $__old_cap | 0; + $mul = $__old_cap << 1; + $$sroa$speculated = $add >>> 0 < $mul >>> 0 ? $mul : $add; + $cond40 = $$sroa$speculated >>> 0 < 11 ? 11 : $$sroa$speculated + 16 & -16; + } else $cond40 = -17; + $call$i$i$i = __Znwm($cond40) | 0; + if ($__n_copy | 0) __ZNSt3__211char_traitsIcE4copyEPcPKcm($call$i$i$i, $cond$i, $__n_copy) | 0; + if ($__n_add | 0) __ZNSt3__211char_traitsIcE4copyEPcPKcm($call$i$i$i + $__n_copy | 0, $__p_new_stuff, $__n_add) | 0; + $sub28 = $__old_sz - $__n_del | 0; + $sub29 = $sub28 - $__n_copy | 0; + if ($sub29 | 0) __ZNSt3__211char_traitsIcE4copyEPcPKcm($call$i$i$i + $__n_copy + $__n_add | 0, $cond$i + $__n_copy + $__n_del | 0, $sub29) | 0; + $add40 = $__old_cap + 1 | 0; + if (($add40 | 0) != 11) __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($cond$i, $add40); + HEAP32[$this >> 2] = $call$i$i$i; + HEAP32[$this + 8 >> 2] = $cond40 | -2147483648; + $add48 = $sub28 + $__n_add | 0; + HEAP32[$this + 4 >> 2] = $add48; + HEAP8[$ref$tmp49 >> 0] = 0; + __ZNSt3__211char_traitsIcE6assignERcRKc($call$i$i$i + $add48 | 0, $ref$tmp49); + STACKTOP = sp; + return; +} + +function _arUtilMat2QuatPos($m, $q, $p) { + $m = $m | 0; + $q = $q | 0; + $p = $p | 0; + var $0 = 0.0, $1 = 0.0, $2 = 0.0, $add7 = 0.0, $arrayidx2 = 0, $arrayidx4 = 0, $div71$sink = 0.0, $mul = 0.0, $mul123 = 0.0, $mul49 = 0.0, $mul89 = 0.0; + $0 = +HEAPF64[$m >> 3]; + $arrayidx2 = $m + 32 | 0; + $1 = +HEAPF64[$m + 40 >> 3]; + $arrayidx4 = $m + 64 | 0; + $2 = +HEAPF64[$m + 80 >> 3]; + $add7 = $0 + $1 + $2 + 1.0; + do if (!($add7 > .0001)) { + if ($0 > $1 & $0 > $2) { + $mul49 = +Math_sqrt(+($0 + 1.0 - $1 - $2)) * 2.0; + HEAPF64[$q >> 3] = $mul49 * .25; + HEAPF64[$q + 8 >> 3] = (+HEAPF64[$m + 8 >> 3] + +HEAPF64[$arrayidx2 >> 3]) / $mul49; + HEAPF64[$q + 16 >> 3] = (+HEAPF64[$arrayidx4 >> 3] + +HEAPF64[$m + 16 >> 3]) / $mul49; + $div71$sink = (+HEAPF64[$m + 48 >> 3] - +HEAPF64[$m + 72 >> 3]) / $mul49; + break; + } + if ($1 > $2) { + $mul89 = +Math_sqrt(+($1 + 1.0 - $0 - $2)) * 2.0; + HEAPF64[$q >> 3] = (+HEAPF64[$m + 8 >> 3] + +HEAPF64[$arrayidx2 >> 3]) / $mul89; + HEAPF64[$q + 8 >> 3] = $mul89 * .25; + HEAPF64[$q + 16 >> 3] = (+HEAPF64[$m + 48 >> 3] + +HEAPF64[$m + 72 >> 3]) / $mul89; + $div71$sink = (+HEAPF64[$arrayidx4 >> 3] - +HEAPF64[$m + 16 >> 3]) / $mul89; break; - } - case 1: - { - __ZN12_GLOBAL__N_110StringViewC2EPKc($3, 51773); - HEAP32[$$byval_copy5 >> 2] = HEAP32[$3 >> 2]; - HEAP32[$$byval_copy5 + 4 >> 2] = HEAP32[$3 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy5); + } else { + $mul123 = +Math_sqrt(+($2 + 1.0 - $0 - $1)) * 2.0; + HEAPF64[$q >> 3] = (+HEAPF64[$arrayidx4 >> 3] + +HEAPF64[$m + 16 >> 3]) / $mul123; + HEAPF64[$q + 8 >> 3] = (+HEAPF64[$m + 48 >> 3] + +HEAPF64[$m + 72 >> 3]) / $mul123; + HEAPF64[$q + 16 >> 3] = $mul123 * .25; + $div71$sink = (+HEAPF64[$m + 8 >> 3] - +HEAPF64[$arrayidx2 >> 3]) / $mul123; break; } - case 2: - { - __ZN12_GLOBAL__N_110StringViewC2EPKc($4, 57179); - HEAP32[$$byval_copy5 >> 2] = HEAP32[$4 >> 2]; - HEAP32[$$byval_copy5 + 4 >> 2] = HEAP32[$4 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy5); - break; + } else { + $mul = +Math_sqrt(+$add7) * 2.0; + HEAPF64[$q >> 3] = (+HEAPF64[$m + 48 >> 3] - +HEAPF64[$m + 72 >> 3]) / $mul; + HEAPF64[$q + 8 >> 3] = (+HEAPF64[$arrayidx4 >> 3] - +HEAPF64[$m + 16 >> 3]) / $mul; + HEAPF64[$q + 16 >> 3] = (+HEAPF64[$m + 8 >> 3] - +HEAPF64[$arrayidx2 >> 3]) / $mul; + $div71$sink = $mul * .25; + } while (0); + HEAPF64[$q + 24 >> 3] = $div71$sink; + HEAPF64[$p >> 3] = +HEAPF64[$m + 24 >> 3]; + HEAPF64[$p + 8 >> 3] = +HEAPF64[$m + 56 >> 3]; + HEAPF64[$p + 16 >> 3] = +HEAPF64[$m + 88 >> 3]; + return 0; +} + +function __ZN6vision25MatrixInverseSymmetric3x3IfEEbPT_PKS1_S1_($B, $A, $threshold) { + $B = $B | 0; + $A = $A | 0; + $threshold = +$threshold; + var $arrayidx = 0, $arrayidx13 = 0, $arrayidx20 = 0, $arrayidx3 = 0, $arrayidx33 = 0, $arrayidx4 = 0, $arrayidx7 = 0, $arrayidx8 = 0, $call = 0.0, $conv2 = 0.0, $mul = 0.0, $mul12 = 0.0, $mul19 = 0.0, $mul25 = 0.0, $mul32 = 0.0, $mul38 = 0.0, $retval$0 = 0; + $call = +__ZN6vision23DeterminantSymmetric3x3IfEET_PKS1_($A); + if (!(+Math_abs(+$call) <= $threshold)) { + $conv2 = 1.0 / $call; + $arrayidx = $A + 16 | 0; + $arrayidx3 = $A + 20 | 0; + $arrayidx4 = $A + 32 | 0; + $mul = $conv2 * +__ZN6vision11Cofactor2x2IfEET_S1_S1_S1_(+HEAPF32[$arrayidx >> 2], +HEAPF32[$arrayidx3 >> 2], +HEAPF32[$arrayidx4 >> 2]); + HEAPF32[$B >> 2] = $mul; + $arrayidx7 = $A + 8 | 0; + $arrayidx8 = $A + 4 | 0; + $mul12 = $conv2 * +__ZN6vision11Cofactor2x2IfEET_S1_S1_S1_S1_(+HEAPF32[$arrayidx7 >> 2], +HEAPF32[$arrayidx8 >> 2], +HEAPF32[$arrayidx4 >> 2], +HEAPF32[$A + 28 >> 2]); + $arrayidx13 = $B + 4 | 0; + HEAPF32[$arrayidx13 >> 2] = $mul12; + $mul19 = $conv2 * +__ZN6vision11Cofactor2x2IfEET_S1_S1_S1_S1_(+HEAPF32[$arrayidx8 >> 2], +HEAPF32[$arrayidx7 >> 2], +HEAPF32[$arrayidx >> 2], +HEAPF32[$arrayidx3 >> 2]); + $arrayidx20 = $B + 8 | 0; + HEAPF32[$arrayidx20 >> 2] = $mul19; + $mul25 = $conv2 * +__ZN6vision11Cofactor2x2IfEET_S1_S1_S1_(+HEAPF32[$A >> 2], +HEAPF32[$arrayidx7 >> 2], +HEAPF32[$arrayidx4 >> 2]); + HEAPF32[$B + 16 >> 2] = $mul25; + $mul32 = $conv2 * +__ZN6vision11Cofactor2x2IfEET_S1_S1_S1_S1_(+HEAPF32[$arrayidx7 >> 2], +HEAPF32[$A >> 2], +HEAPF32[$arrayidx3 >> 2], +HEAPF32[$A + 12 >> 2]); + $arrayidx33 = $B + 20 | 0; + HEAPF32[$arrayidx33 >> 2] = $mul32; + $mul38 = $conv2 * +__ZN6vision11Cofactor2x2IfEET_S1_S1_S1_(+HEAPF32[$A >> 2], +HEAPF32[$arrayidx8 >> 2], +HEAPF32[$arrayidx >> 2]); + HEAPF32[$B + 32 >> 2] = $mul38; + HEAP32[$B + 12 >> 2] = HEAP32[$arrayidx13 >> 2]; + HEAP32[$B + 24 >> 2] = HEAP32[$arrayidx20 >> 2]; + HEAP32[$B + 28 >> 2] = HEAP32[$arrayidx33 >> 2]; + $retval$0 = 1; + } else $retval$0 = 0; + return $retval$0 | 0; +} + +function _merged_2v_upsample($cinfo, $input_buf, $in_row_group_ctr, $in_row_groups_avail, $output_buf, $out_row_ctr, $out_rows_avail) { + $cinfo = $cinfo | 0; + $input_buf = $input_buf | 0; + $in_row_group_ctr = $in_row_group_ctr | 0; + $in_row_groups_avail = $in_row_groups_avail | 0; + $output_buf = $output_buf | 0; + $out_row_ctr = $out_row_ctr | 0; + $out_rows_avail = $out_rows_avail | 0; + var $$pre27 = 0, $0 = 0, $6 = 0, $7 = 0, $num_rows$1 = 0, $phitmp = 0, $rows_to_go = 0, $spare_full = 0, $spec$select = 0, $sub = 0, $work_ptrs = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $work_ptrs = sp; + $0 = HEAP32[$cinfo + 476 >> 2] | 0; + $spare_full = $0 + 36 | 0; + if (!(HEAP32[$spare_full >> 2] | 0)) { + $rows_to_go = $0 + 44 | 0; + $6 = HEAP32[$rows_to_go >> 2] | 0; + $spec$select = $6 >>> 0 < 2 ? $6 : 2; + $7 = HEAP32[$out_row_ctr >> 2] | 0; + $sub = $out_rows_avail - $7 | 0; + $num_rows$1 = $spec$select >>> 0 > $sub >>> 0 ? $sub : $spec$select; + HEAP32[$work_ptrs >> 2] = HEAP32[$output_buf + ($7 << 2) >> 2]; + if ($num_rows$1 >>> 0 > 1) HEAP32[$work_ptrs + 4 >> 2] = HEAP32[$output_buf + ($7 + 1 << 2) >> 2]; else { + HEAP32[$work_ptrs + 4 >> 2] = HEAP32[$0 + 32 >> 2]; + HEAP32[$spare_full >> 2] = 1; + } + FUNCTION_TABLE_viiii[HEAP32[$0 + 12 >> 2] & 31]($cinfo, $input_buf, HEAP32[$in_row_group_ctr >> 2] | 0, $work_ptrs); + $phitmp = (HEAP32[$spare_full >> 2] | 0) == 0; + HEAP32[$out_row_ctr >> 2] = (HEAP32[$out_row_ctr >> 2] | 0) + $num_rows$1; + HEAP32[$rows_to_go >> 2] = (HEAP32[$rows_to_go >> 2] | 0) - $num_rows$1; + if (!$phitmp) { + STACKTOP = sp; + return; } - case 3: - { - __ZN12_GLOBAL__N_110StringViewC2EPKc($5, 51791); - HEAP32[$$byval_copy5 >> 2] = HEAP32[$5 >> 2]; - HEAP32[$$byval_copy5 + 4 >> 2] = HEAP32[$5 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy5); - break; + } else { + _jcopy_sample_rows($0 + 32 | 0, 0, $output_buf + (HEAP32[$out_row_ctr >> 2] << 2) | 0, 0, 1, HEAP32[$0 + 40 >> 2] | 0); + HEAP32[$spare_full >> 2] = 0; + $$pre27 = $0 + 44 | 0; + HEAP32[$out_row_ctr >> 2] = (HEAP32[$out_row_ctr >> 2] | 0) + 1; + HEAP32[$$pre27 >> 2] = (HEAP32[$$pre27 >> 2] | 0) + -1; + } + HEAP32[$in_row_group_ctr >> 2] = (HEAP32[$in_row_group_ctr >> 2] | 0) + 1; + STACKTOP = sp; + return; +} + +function __ZN6vision18Condition4Points2dIfEEbPT_S2_S2_S2_RS1_S2_PKS1_S5_S5_S5_($xp1, $xp2, $xp3, $xp4, $s, $mu, $x1, $x2, $x3, $x4) { + $xp1 = $xp1 | 0; + $xp2 = $xp2 | 0; + $xp3 = $xp3 | 0; + $xp4 = $xp4 | 0; + $s = $s | 0; + $mu = $mu | 0; + $x1 = $x1 | 0; + $x2 = $x2 | 0; + $x3 = $x3 | 0; + $x4 = $x4 | 0; + var $arrayidx10 = 0, $arrayidx12 = 0, $arrayidx7 = 0, $arrayidx8 = 0, $conv83 = 0.0, $div = 0.0, $div14 = 0.0, $div80 = 0.0, $retval$0 = 0, $sub = 0.0, $sub21 = 0.0, $sub25 = 0.0, $sub29 = 0.0, $sub33 = 0.0, $sub37 = 0.0, $sub41 = 0.0, $sub45 = 0.0; + $div = (+HEAPF32[$x1 >> 2] + +HEAPF32[$x2 >> 2] + +HEAPF32[$x3 >> 2] + +HEAPF32[$x4 >> 2]) * .25; + HEAPF32[$mu >> 2] = $div; + $arrayidx7 = $x1 + 4 | 0; + $arrayidx8 = $x2 + 4 | 0; + $arrayidx10 = $x3 + 4 | 0; + $arrayidx12 = $x4 + 4 | 0; + $div14 = (+HEAPF32[$arrayidx7 >> 2] + +HEAPF32[$arrayidx8 >> 2] + +HEAPF32[$arrayidx10 >> 2] + +HEAPF32[$arrayidx12 >> 2]) * .25; + HEAPF32[$mu + 4 >> 2] = $div14; + $sub = +HEAPF32[$x1 >> 2] - $div; + $sub21 = +HEAPF32[$arrayidx7 >> 2] - $div14; + $sub25 = +HEAPF32[$x2 >> 2] - $div; + $sub29 = +HEAPF32[$arrayidx8 >> 2] - $div14; + $sub33 = +HEAPF32[$x3 >> 2] - $div; + $sub37 = +HEAPF32[$arrayidx10 >> 2] - $div14; + $sub41 = +HEAPF32[$x4 >> 2] - $div; + $sub45 = +HEAPF32[$arrayidx12 >> 2] - $div14; + $div80 = (+Math_sqrt(+($sub * $sub + $sub21 * $sub21)) + +Math_sqrt(+($sub25 * $sub25 + $sub29 * $sub29)) + +Math_sqrt(+($sub33 * $sub33 + $sub37 * $sub37)) + +Math_sqrt(+($sub41 * $sub41 + $sub45 * $sub45))) * .25; + if ($div80 == 0.0) $retval$0 = 0; else { + $conv83 = 1.0 / $div80 * 1.4142135623730951; + HEAPF32[$s >> 2] = $conv83; + HEAPF32[$xp1 >> 2] = $sub * $conv83; + HEAPF32[$xp1 + 4 >> 2] = $sub21 * +HEAPF32[$s >> 2]; + HEAPF32[$xp2 >> 2] = $sub25 * +HEAPF32[$s >> 2]; + HEAPF32[$xp2 + 4 >> 2] = $sub29 * +HEAPF32[$s >> 2]; + HEAPF32[$xp3 >> 2] = $sub33 * +HEAPF32[$s >> 2]; + HEAPF32[$xp3 + 4 >> 2] = $sub37 * +HEAPF32[$s >> 2]; + HEAPF32[$xp4 >> 2] = $sub41 * +HEAPF32[$s >> 2]; + HEAPF32[$xp4 + 4 >> 2] = $sub45 * +HEAPF32[$s >> 2]; + $retval$0 = 1; + } + return $retval$0 | 0; +} + +function ___stdio_write($f, $buf, $len) { + $f = $f | 0; + $buf = $buf | 0; + $len = $len | 0; + var $0 = 0, $3 = 0, $4 = 0, $6 = 0, $9 = 0, $cmp26 = 0, $cnt$0 = 0, $fd = 0, $iov$0 = 0, $iov$1 = 0, $iov_len38 = 0, $iovcnt$0 = 0, $iovs = 0, $num = 0, $rem$0 = 0, $retval$1$ph = 0, $sub$ptr$sub = 0, $wbase = 0, $wpos = 0, label = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 32 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); + $iovs = sp; + $num = sp + 16 | 0; + $wbase = $f + 28 | 0; + $0 = HEAP32[$wbase >> 2] | 0; + HEAP32[$iovs >> 2] = $0; + $wpos = $f + 20 | 0; + $sub$ptr$sub = (HEAP32[$wpos >> 2] | 0) - $0 | 0; + HEAP32[$iovs + 4 >> 2] = $sub$ptr$sub; + HEAP32[$iovs + 8 >> 2] = $buf; + HEAP32[$iovs + 12 >> 2] = $len; + $fd = $f + 60 | 0; + $iov$0 = $iovs; + $iovcnt$0 = 2; + $rem$0 = $sub$ptr$sub + $len | 0; + while (1) { + if (!(___wasi_syscall_ret(___wasi_fd_write(HEAP32[$fd >> 2] | 0, $iov$0 | 0, $iovcnt$0 | 0, $num | 0) | 0) | 0)) $3 = HEAP32[$num >> 2] | 0; else { + HEAP32[$num >> 2] = -1; + $3 = -1; } - case 4: - { - __ZN12_GLOBAL__N_110StringViewC2EPKc($6, 51804); - HEAP32[$$byval_copy5 >> 2] = HEAP32[$6 >> 2]; - HEAP32[$$byval_copy5 + 4 >> 2] = HEAP32[$6 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy5); + if (($rem$0 | 0) == ($3 | 0)) { + label = 6; break; } - case 5: - { - __ZN12_GLOBAL__N_110StringViewC2EPKc($7, 51817); - HEAP32[$$byval_copy5 >> 2] = HEAP32[$7 >> 2]; - HEAP32[$$byval_copy5 + 4 >> 2] = HEAP32[$7 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy5); + if (($3 | 0) < 0) { + label = 8; break; } - default: - {} + $9 = HEAP32[$iov$0 + 4 >> 2] | 0; + $cmp26 = $3 >>> 0 > $9 >>> 0; + $iov$1 = $cmp26 ? $iov$0 + 8 | 0 : $iov$0; + $cnt$0 = $3 - ($cmp26 ? $9 : 0) | 0; + HEAP32[$iov$1 >> 2] = (HEAP32[$iov$1 >> 2] | 0) + $cnt$0; + $iov_len38 = $iov$1 + 4 | 0; + HEAP32[$iov_len38 >> 2] = (HEAP32[$iov_len38 >> 2] | 0) - $cnt$0; + $iov$0 = $iov$1; + $iovcnt$0 = $iovcnt$0 + ($cmp26 << 31 >> 31) | 0; + $rem$0 = $rem$0 - $3 | 0; + } + if ((label | 0) == 6) { + $4 = HEAP32[$f + 44 >> 2] | 0; + HEAP32[$f + 16 >> 2] = $4 + (HEAP32[$f + 48 >> 2] | 0); + $6 = $4; + HEAP32[$wbase >> 2] = $6; + HEAP32[$wpos >> 2] = $6; + $retval$1$ph = $len; + } else if ((label | 0) == 8) { + HEAP32[$f + 16 >> 2] = 0; + HEAP32[$wbase >> 2] = 0; + HEAP32[$wpos >> 2] = 0; + HEAP32[$f >> 2] = HEAP32[$f >> 2] | 32; + if (($iovcnt$0 | 0) == 2) $retval$1$ph = 0; else $retval$1$ph = $len - (HEAP32[$iov$0 + 4 >> 2] | 0) | 0; } STACKTOP = sp; - return; + return $retval$1$ph | 0; } -function __ZNSt3__210__stdinbufIwE9pbackfailEj($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $$07 = 0, $$1 = 0, $$pre$phiZ2D = 0, $10 = 0, $12 = 0, $16 = 0, $17 = 0, $19 = 0, $2 = 0, $21 = 0, $3 = 0, $33 = 0, $34 = 0, $36 = 0, $4 = 0, $5 = 0, $7 = 0, $8 = 0, label = 0, sp = 0; +function __ZN6vision27OrthogonalizePivot8x9Basis3IfEEbPT_S2_($Q, $A) { + $Q = $Q | 0; + $A = $A | 0; + var $add$ptr = 0, $add$ptr1 = 0, $add$ptr12 = 0, $add$ptr2 = 0, $add$ptr3 = 0, $add$ptr6 = 0, $add$ptr9 = 0, $arrayidx29 = 0, $call = 0.0, $call17 = 0.0, $call20 = 0.0, $call23 = 0.0, $call26 = 0.0, $call28 = 0, $mul = 0, $retval$0 = 0, $ss = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 32 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $2 = sp + 16 | 0; - $3 = sp + 8 | 0; - $4 = sp + 4 | 0; - $5 = sp; - $7 = __ZNSt3__211char_traitsIwE11eq_int_typeEjj($1, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0; - $8 = $0 + 52 | 0; - $10 = (HEAP8[$8 >> 0] | 0) != 0; - do if ($7) if ($10) $$1 = $1; else { - $12 = HEAP32[$0 + 48 >> 2] | 0; - $16 = ((__ZNSt3__211char_traitsIwE11eq_int_typeEjj($12, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) ^ 1) & 1; - HEAP8[$8 >> 0] = $16; - $$1 = $12; - } else { - if ($10) { - $17 = $0 + 48 | 0; - $19 = __ZNSt3__211char_traitsIwE12to_char_typeEj(HEAP32[$17 >> 2] | 0) | 0; - HEAP32[$4 >> 2] = $19; - $21 = HEAP32[$0 + 36 >> 2] | 0; - switch (FUNCTION_TABLE_iiiiiiiii[HEAP32[(HEAP32[$21 >> 2] | 0) + 12 >> 2] & 15]($21, HEAP32[$0 + 40 >> 2] | 0, $4, $4 + 4 | 0, $5, $2, $2 + 8 | 0, $3) | 0) { - case 1: - case 2: - { - label = 11; - break; - } - case 3: - { - HEAP8[$2 >> 0] = HEAP32[$17 >> 2]; - HEAP32[$3 >> 2] = $2 + 1; - label = 8; - break; - } - default: - label = 8; - } - L9 : do if ((label | 0) == 8) { - $33 = $0 + 32 | 0; - while (1) { - $34 = HEAP32[$3 >> 2] | 0; - if ($34 >>> 0 <= $2 >>> 0) { - $$0 = 1; - $$07 = 0; - break L9; - } - $36 = $34 + -1 | 0; - HEAP32[$3 >> 2] = $36; - if ((_ungetc(HEAP8[$36 >> 0] | 0, HEAP32[$33 >> 2] | 0) | 0) == -1) { - label = 11; - break; - } - } - } while (0); - if ((label | 0) == 11) { - $$0 = 0; - $$07 = __ZNSt3__211char_traitsIwE3eofEv() | 0; - } - if ($$0) $$pre$phiZ2D = $17; else { - $$1 = $$07; - break; - } - } else $$pre$phiZ2D = $0 + 48 | 0; - HEAP32[$$pre$phiZ2D >> 2] = $1; - HEAP8[$8 >> 0] = 1; - $$1 = $1; + $ss = sp; + $add$ptr = $Q + 108 | 0; + $add$ptr1 = $Q + 72 | 0; + $add$ptr2 = $A + 108 | 0; + __ZN6vision21AccumulateProjection9IfEEvPT_PKS1_S4_($add$ptr, $add$ptr1, $add$ptr2); + $add$ptr3 = $Q + 144 | 0; + __ZN6vision21AccumulateProjection9IfEEvPT_PKS1_S4_($add$ptr3, $add$ptr1, $A + 144 | 0); + $add$ptr6 = $Q + 180 | 0; + __ZN6vision21AccumulateProjection9IfEEvPT_PKS1_S4_($add$ptr6, $add$ptr1, $A + 180 | 0); + $add$ptr9 = $Q + 216 | 0; + __ZN6vision21AccumulateProjection9IfEEvPT_PKS1_S4_($add$ptr9, $add$ptr1, $A + 216 | 0); + $add$ptr12 = $Q + 252 | 0; + __ZN6vision21AccumulateProjection9IfEEvPT_PKS1_S4_($add$ptr12, $add$ptr1, $A + 252 | 0); + $call = +__ZN6vision11SumSquares9IfEET_PKS1_($add$ptr); + HEAPF32[$ss >> 2] = $call; + $call17 = +__ZN6vision11SumSquares9IfEET_PKS1_($add$ptr3); + HEAPF32[$ss + 4 >> 2] = $call17; + $call20 = +__ZN6vision11SumSquares9IfEET_PKS1_($add$ptr6); + HEAPF32[$ss + 8 >> 2] = $call20; + $call23 = +__ZN6vision11SumSquares9IfEET_PKS1_($add$ptr9); + HEAPF32[$ss + 12 >> 2] = $call23; + $call26 = +__ZN6vision11SumSquares9IfEET_PKS1_($add$ptr12); + HEAPF32[$ss + 16 >> 2] = $call26; + $call28 = __ZN6vision9MaxIndex5IfEEiPKT_($ss) | 0; + $arrayidx29 = $ss + ($call28 << 2) | 0; + if (+HEAPF32[$arrayidx29 >> 2] == 0.0) $retval$0 = 0; else { + $mul = $call28 * 9 | 0; + __ZN6vision5Swap9IfEEvPT_S2_($add$ptr, $add$ptr + ($mul << 2) | 0); + __ZN6vision5Swap9IfEEvPT_S2_($add$ptr2, $add$ptr2 + ($mul << 2) | 0); + __ZN6vision12ScaleVector9IfEEvPT_PKS1_S1_($add$ptr, $add$ptr, 1.0 / +Math_sqrt(+(+HEAPF32[$arrayidx29 >> 2]))); + $retval$0 = 1; + } + STACKTOP = sp; + return $retval$0 | 0; +} + +function _addMultiMarker($id, $patt_name) { + $id = $id | 0; + $patt_name = $patt_name | 0; + var $14 = 0, $15 = 0, $3 = 0, $9 = 0, $__end_$i8 = 0, $arMultiMarkerHandle = 0, $call7 = 0, $cond$i$i$i = 0, $id$addr = 0, $marker = 0, $multi_markers = 0, $retval$1 = 0, $vararg_buffer = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $vararg_buffer = sp + 8 | 0; + $id$addr = sp + 12 | 0; + $marker = sp; + HEAP32[$id$addr >> 2] = $id; + do if (!(__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(66108, $id$addr) | 0)) $retval$1 = -1; else { + $call7 = __ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(66108, $id$addr) | 0; + if ((HEAP8[$patt_name + 11 >> 0] | 0) < 0) $cond$i$i$i = HEAP32[$patt_name >> 2] | 0; else $cond$i$i$i = $patt_name; + $arMultiMarkerHandle = $call7 + 224 | 0; + if (!(__ZL15loadMultiMarkerPKcP8ARHandlePP12ARPattHandlePP18ARMultiMarkerInfoT($cond$i$i$i, HEAP32[$call7 + 216 >> 2] | 0, $call7 + 220 | 0, $arMultiMarkerHandle) | 0)) { + _arLog(0, 3, 46071, $vararg_buffer); + $retval$1 = -1; + break; + } + $multi_markers = $call7 + 352 | 0; + $__end_$i8 = $call7 + 356 | 0; + $3 = HEAP32[$__end_$i8 >> 2] | 0; + HEAP32[$marker >> 2] = $3 - (HEAP32[$multi_markers >> 2] | 0) >> 3; + HEAP32[$marker + 4 >> 2] = HEAP32[$arMultiMarkerHandle >> 2]; + if ((HEAP32[$call7 + 360 >> 2] | 0) == ($3 | 0)) __ZNSt3__26vectorI12multi_markerNS_9allocatorIS1_EEE21__push_back_slow_pathIRKS1_EEvOT_($multi_markers, $marker); else { + $9 = $marker; + $14 = HEAP32[$9 + 4 >> 2] | 0; + $15 = $3; + HEAP32[$15 >> 2] = HEAP32[$9 >> 2]; + HEAP32[$15 + 4 >> 2] = $14; + HEAP32[$__end_$i8 >> 2] = (HEAP32[$__end_$i8 >> 2] | 0) + 8; + } + $retval$1 = HEAP32[$marker >> 2] | 0; } while (0); STACKTOP = sp; - return $$1 | 0; + return $retval$1 | 0; } -function __ZNSt3__210__stdinbufIcE9pbackfailEi($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $$07 = 0, $$1 = 0, $$pre$phiZ2D = 0, $10 = 0, $12 = 0, $16 = 0, $17 = 0, $19 = 0, $2 = 0, $21 = 0, $3 = 0, $33 = 0, $34 = 0, $36 = 0, $4 = 0, $5 = 0, $7 = 0, $8 = 0, label = 0, sp = 0; +function ___fdopen($fd, $mode) { + $fd = $fd | 0; + $mode = $mode | 0; + var $1 = 0, $3 = 0, $4 = 0, $call1 = 0, $call18 = 0, $call2 = 0, $or24 = 0, $retval$0 = 0, $tobool8 = 0, $vararg_buffer = 0, $vararg_buffer2 = 0, $vararg_buffer7 = 0, $wsz = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $2 = sp + 16 | 0; - $3 = sp + 4 | 0; - $4 = sp + 8 | 0; - $5 = sp; - $7 = __ZNSt3__211char_traitsIcE11eq_int_typeEii($1, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0; - $8 = $0 + 52 | 0; - $10 = (HEAP8[$8 >> 0] | 0) != 0; - do if ($7) if ($10) $$1 = $1; else { - $12 = HEAP32[$0 + 48 >> 2] | 0; - $16 = ((__ZNSt3__211char_traitsIcE11eq_int_typeEii($12, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) ^ 1) & 1; - HEAP8[$8 >> 0] = $16; - $$1 = $12; - } else { - if ($10) { - $17 = $0 + 48 | 0; - $19 = __ZNSt3__211char_traitsIcE12to_char_typeEi(HEAP32[$17 >> 2] | 0) | 0; - HEAP8[$4 >> 0] = $19; - $21 = HEAP32[$0 + 36 >> 2] | 0; - switch (FUNCTION_TABLE_iiiiiiiii[HEAP32[(HEAP32[$21 >> 2] | 0) + 12 >> 2] & 15]($21, HEAP32[$0 + 40 >> 2] | 0, $4, $4 + 1 | 0, $5, $2, $2 + 8 | 0, $3) | 0) { - case 1: - case 2: - { - label = 11; - break; - } - case 3: - { - HEAP8[$2 >> 0] = HEAP32[$17 >> 2]; - HEAP32[$3 >> 2] = $2 + 1; - label = 8; - break; + STACKTOP = STACKTOP + 48 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); + $vararg_buffer7 = sp + 24 | 0; + $vararg_buffer2 = sp + 8 | 0; + $vararg_buffer = sp; + $wsz = sp + 40 | 0; + if (_strchr(51682, HEAP8[$mode >> 0] | 0) | 0) { + $call2 = _malloc(1176) | 0; + if (!$call2) $retval$0 = 0; else { + _memset($call2 | 0, 0, 144) | 0; + $tobool8 = (_strchr($mode, 43) | 0) == 0; + $1 = HEAP8[$mode >> 0] | 0; + if ($tobool8) HEAP32[$call2 >> 2] = $1 << 24 >> 24 == 114 ? 8 : 4; + if ($1 << 24 >> 24 == 97) { + HEAP32[$vararg_buffer >> 2] = $fd; + HEAP32[$vararg_buffer + 4 >> 2] = 3; + $call18 = ___syscall221(221, $vararg_buffer | 0) | 0; + if (!($call18 & 1024)) { + HEAP32[$vararg_buffer2 >> 2] = $fd; + HEAP32[$vararg_buffer2 + 4 >> 2] = 4; + HEAP32[$vararg_buffer2 + 8 >> 2] = $call18 | 1024; + ___syscall221(221, $vararg_buffer2 | 0) | 0; } - default: - label = 8; + $or24 = HEAP32[$call2 >> 2] | 128; + HEAP32[$call2 >> 2] = $or24; + $4 = $or24; + } else $4 = HEAP32[$call2 >> 2] | 0; + HEAP32[$call2 + 60 >> 2] = $fd; + HEAP32[$call2 + 44 >> 2] = $call2 + 152; + HEAP32[$call2 + 48 >> 2] = 1024; + $3 = $call2 + 75 | 0; + HEAP8[$3 >> 0] = -1; + if (($4 & 8 | 0) == 0 ? (HEAP32[$vararg_buffer7 >> 2] = $fd, HEAP32[$vararg_buffer7 + 4 >> 2] = 21523, HEAP32[$vararg_buffer7 + 8 >> 2] = $wsz, (___syscall54(54, $vararg_buffer7 | 0) | 0) == 0) : 0) HEAP8[$3 >> 0] = 10; + HEAP32[$call2 + 32 >> 2] = 1; + HEAP32[$call2 + 36 >> 2] = 2; + HEAP32[$call2 + 40 >> 2] = 1; + HEAP32[$call2 + 12 >> 2] = 2; + if (!(HEAP32[16546] | 0)) HEAP32[$call2 + 76 >> 2] = -1; + ___ofl_add($call2) | 0; + $retval$0 = $call2; + } + } else { + $call1 = ___errno_location() | 0; + HEAP32[$call1 >> 2] = 28; + $retval$0 = 0; + } + STACKTOP = sp; + return $retval$0 | 0; +} + +function __ZNSt3__26vectorINS0_INS0_INS_4pairIfmEENS_9allocatorIS2_EEEENS3_IS5_EEEENS3_IS7_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS7_RS8_EE($this, $__v) { + $this = $this | 0; + $__v = $__v | 0; + var $0 = 0, $11 = 0, $2 = 0, $7 = 0, $9 = 0, $__begin_2 = 0, $__end1$addr$0$i = 0, $__end_ = 0, $__end_$i$i$i$i$i = 0, $__end_$i$i$i$i$i$i = 0, $__end_6 = 0, $__value_$i$i$i = 0, $__value_$i$i$i6 = 0, $__value_$i$i$i8$i$i$i$i$i = 0, $__value_$i$i$i9$i$i$i$i$i = 0, $add$ptr$i = 0, $incdec$ptr$i = 0; + $0 = HEAP32[$this >> 2] | 0; + $__end_ = $this + 4 | 0; + $__begin_2 = $__v + 4 | 0; + $__end1$addr$0$i = HEAP32[$__end_ >> 2] | 0; + while (1) { + if (($__end1$addr$0$i | 0) == ($0 | 0)) break; + $2 = HEAP32[$__begin_2 >> 2] | 0; + $add$ptr$i = $2 + -12 | 0; + $incdec$ptr$i = $__end1$addr$0$i + -12 | 0; + HEAP32[$add$ptr$i >> 2] = 0; + $__end_$i$i$i$i$i$i = $2 + -8 | 0; + HEAP32[$__end_$i$i$i$i$i$i >> 2] = 0; + $__value_$i$i$i9$i$i$i$i$i = $2 + -4 | 0; + HEAP32[$__value_$i$i$i9$i$i$i$i$i >> 2] = 0; + HEAP32[$add$ptr$i >> 2] = HEAP32[$incdec$ptr$i >> 2]; + $__end_$i$i$i$i$i = $__end1$addr$0$i + -8 | 0; + HEAP32[$__end_$i$i$i$i$i$i >> 2] = HEAP32[$__end_$i$i$i$i$i >> 2]; + $__value_$i$i$i8$i$i$i$i$i = $__end1$addr$0$i + -4 | 0; + HEAP32[$__value_$i$i$i9$i$i$i$i$i >> 2] = HEAP32[$__value_$i$i$i8$i$i$i$i$i >> 2]; + HEAP32[$__value_$i$i$i8$i$i$i$i$i >> 2] = 0; + HEAP32[$__end_$i$i$i$i$i >> 2] = 0; + HEAP32[$incdec$ptr$i >> 2] = 0; + HEAP32[$__begin_2 >> 2] = (HEAP32[$__begin_2 >> 2] | 0) + -12; + $__end1$addr$0$i = $incdec$ptr$i; + } + $7 = HEAP32[$this >> 2] | 0; + HEAP32[$this >> 2] = HEAP32[$__begin_2 >> 2]; + HEAP32[$__begin_2 >> 2] = $7; + $__end_6 = $__v + 8 | 0; + $9 = HEAP32[$__end_ >> 2] | 0; + HEAP32[$__end_ >> 2] = HEAP32[$__end_6 >> 2]; + HEAP32[$__end_6 >> 2] = $9; + $__value_$i$i$i6 = $this + 8 | 0; + $__value_$i$i$i = $__v + 12 | 0; + $11 = HEAP32[$__value_$i$i$i6 >> 2] | 0; + HEAP32[$__value_$i$i$i6 >> 2] = HEAP32[$__value_$i$i$i >> 2]; + HEAP32[$__value_$i$i$i >> 2] = $11; + HEAP32[$__v >> 2] = HEAP32[$__begin_2 >> 2]; + return; +} + +function __ZNSt3__26vectorINS0_INS_4pairIfmEENS_9allocatorIS2_EEEENS3_IS5_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS5_RS6_EE($this, $__v) { + $this = $this | 0; + $__v = $__v | 0; + var $0 = 0, $11 = 0, $2 = 0, $7 = 0, $9 = 0, $__begin_2 = 0, $__end1$addr$0$i = 0, $__end_ = 0, $__end_$i$i$i$i$i = 0, $__end_$i$i$i$i$i$i = 0, $__end_6 = 0, $__value_$i$i$i = 0, $__value_$i$i$i6 = 0, $__value_$i$i$i8$i$i$i$i$i = 0, $__value_$i$i$i9$i$i$i$i$i = 0, $add$ptr$i = 0, $incdec$ptr$i = 0; + $0 = HEAP32[$this >> 2] | 0; + $__end_ = $this + 4 | 0; + $__begin_2 = $__v + 4 | 0; + $__end1$addr$0$i = HEAP32[$__end_ >> 2] | 0; + while (1) { + if (($__end1$addr$0$i | 0) == ($0 | 0)) break; + $2 = HEAP32[$__begin_2 >> 2] | 0; + $add$ptr$i = $2 + -12 | 0; + $incdec$ptr$i = $__end1$addr$0$i + -12 | 0; + HEAP32[$add$ptr$i >> 2] = 0; + $__end_$i$i$i$i$i$i = $2 + -8 | 0; + HEAP32[$__end_$i$i$i$i$i$i >> 2] = 0; + $__value_$i$i$i9$i$i$i$i$i = $2 + -4 | 0; + HEAP32[$__value_$i$i$i9$i$i$i$i$i >> 2] = 0; + HEAP32[$add$ptr$i >> 2] = HEAP32[$incdec$ptr$i >> 2]; + $__end_$i$i$i$i$i = $__end1$addr$0$i + -8 | 0; + HEAP32[$__end_$i$i$i$i$i$i >> 2] = HEAP32[$__end_$i$i$i$i$i >> 2]; + $__value_$i$i$i8$i$i$i$i$i = $__end1$addr$0$i + -4 | 0; + HEAP32[$__value_$i$i$i9$i$i$i$i$i >> 2] = HEAP32[$__value_$i$i$i8$i$i$i$i$i >> 2]; + HEAP32[$__value_$i$i$i8$i$i$i$i$i >> 2] = 0; + HEAP32[$__end_$i$i$i$i$i >> 2] = 0; + HEAP32[$incdec$ptr$i >> 2] = 0; + HEAP32[$__begin_2 >> 2] = (HEAP32[$__begin_2 >> 2] | 0) + -12; + $__end1$addr$0$i = $incdec$ptr$i; + } + $7 = HEAP32[$this >> 2] | 0; + HEAP32[$this >> 2] = HEAP32[$__begin_2 >> 2]; + HEAP32[$__begin_2 >> 2] = $7; + $__end_6 = $__v + 8 | 0; + $9 = HEAP32[$__end_ >> 2] | 0; + HEAP32[$__end_ >> 2] = HEAP32[$__end_6 >> 2]; + HEAP32[$__end_6 >> 2] = $9; + $__value_$i$i$i6 = $this + 8 | 0; + $__value_$i$i$i = $__v + 12 | 0; + $11 = HEAP32[$__value_$i$i$i6 >> 2] | 0; + HEAP32[$__value_$i$i$i6 >> 2] = HEAP32[$__value_$i$i$i >> 2]; + HEAP32[$__value_$i$i$i >> 2] = $11; + HEAP32[$__v >> 2] = HEAP32[$__begin_2 >> 2]; + return; +} + +function __ZN6vision5Swap9IfEEvPT_S2_($a, $b) { + $a = $a | 0; + $b = $b | 0; + var $0 = 0, $10 = 0, $12 = 0, $14 = 0, $16 = 0, $2 = 0, $4 = 0, $6 = 0, $8 = 0, $incdec$ptr = 0, $incdec$ptr1 = 0, $incdec$ptr10 = 0, $incdec$ptr11 = 0, $incdec$ptr12 = 0, $incdec$ptr13 = 0, $incdec$ptr14 = 0, $incdec$ptr15 = 0, $incdec$ptr2 = 0, $incdec$ptr3 = 0, $incdec$ptr4 = 0, $incdec$ptr5 = 0, $incdec$ptr6 = 0, $incdec$ptr7 = 0, $incdec$ptr8 = 0, $incdec$ptr9 = 0; + $0 = HEAP32[$a >> 2] | 0; + $incdec$ptr = $a + 4 | 0; + HEAP32[$a >> 2] = HEAP32[$b >> 2]; + $incdec$ptr1 = $b + 4 | 0; + HEAP32[$b >> 2] = $0; + $2 = HEAP32[$incdec$ptr >> 2] | 0; + $incdec$ptr2 = $a + 8 | 0; + HEAP32[$incdec$ptr >> 2] = HEAP32[$incdec$ptr1 >> 2]; + $incdec$ptr3 = $b + 8 | 0; + HEAP32[$incdec$ptr1 >> 2] = $2; + $4 = HEAP32[$incdec$ptr2 >> 2] | 0; + $incdec$ptr4 = $a + 12 | 0; + HEAP32[$incdec$ptr2 >> 2] = HEAP32[$incdec$ptr3 >> 2]; + $incdec$ptr5 = $b + 12 | 0; + HEAP32[$incdec$ptr3 >> 2] = $4; + $6 = HEAP32[$incdec$ptr4 >> 2] | 0; + $incdec$ptr6 = $a + 16 | 0; + HEAP32[$incdec$ptr4 >> 2] = HEAP32[$incdec$ptr5 >> 2]; + $incdec$ptr7 = $b + 16 | 0; + HEAP32[$incdec$ptr5 >> 2] = $6; + $8 = HEAP32[$incdec$ptr6 >> 2] | 0; + $incdec$ptr8 = $a + 20 | 0; + HEAP32[$incdec$ptr6 >> 2] = HEAP32[$incdec$ptr7 >> 2]; + $incdec$ptr9 = $b + 20 | 0; + HEAP32[$incdec$ptr7 >> 2] = $8; + $10 = HEAP32[$incdec$ptr8 >> 2] | 0; + $incdec$ptr10 = $a + 24 | 0; + HEAP32[$incdec$ptr8 >> 2] = HEAP32[$incdec$ptr9 >> 2]; + $incdec$ptr11 = $b + 24 | 0; + HEAP32[$incdec$ptr9 >> 2] = $10; + $12 = HEAP32[$incdec$ptr10 >> 2] | 0; + $incdec$ptr12 = $a + 28 | 0; + HEAP32[$incdec$ptr10 >> 2] = HEAP32[$incdec$ptr11 >> 2]; + $incdec$ptr13 = $b + 28 | 0; + HEAP32[$incdec$ptr11 >> 2] = $12; + $14 = HEAP32[$incdec$ptr12 >> 2] | 0; + $incdec$ptr14 = $a + 32 | 0; + HEAP32[$incdec$ptr12 >> 2] = HEAP32[$incdec$ptr13 >> 2]; + $incdec$ptr15 = $b + 32 | 0; + HEAP32[$incdec$ptr13 >> 2] = $14; + $16 = HEAP32[$incdec$ptr14 >> 2] | 0; + HEAP32[$incdec$ptr14 >> 2] = HEAP32[$incdec$ptr15 >> 2]; + HEAP32[$incdec$ptr15 >> 2] = $16; + return; +} + +function _jinit_memory_mgr($cinfo) { + $cinfo = $cinfo | 0; + var $0 = 0, $5 = 0, $call = 0, $call33 = 0, $call4 = 0, $ch = 0, $max_memory_to_use = 0, $max_to_use = 0, $mem1 = 0, $mul = 0, $vararg_buffer = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $vararg_buffer = sp; + $max_to_use = sp + 8 | 0; + $ch = sp + 12 | 0; + $mem1 = $cinfo + 4 | 0; + HEAP32[$mem1 >> 2] = 0; + $call = _jpeg_mem_init($cinfo) | 0; + HEAP32[$max_to_use >> 2] = $call; + $call4 = _jpeg_get_small($cinfo, 84) | 0; + if (!$call4) { + _jpeg_mem_term($cinfo); + $0 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$0 + 20 >> 2] = 56; + HEAP32[$0 + 24 >> 2] = 0; + FUNCTION_TABLE_vi[HEAP32[HEAP32[$cinfo >> 2] >> 2] & 255]($cinfo); + } + HEAP32[$call4 >> 2] = 33; + HEAP32[$call4 + 4 >> 2] = 34; + HEAP32[$call4 + 8 >> 2] = 9; + HEAP32[$call4 + 12 >> 2] = 10; + HEAP32[$call4 + 16 >> 2] = 39; + HEAP32[$call4 + 20 >> 2] = 40; + HEAP32[$call4 + 24 >> 2] = 190; + HEAP32[$call4 + 28 >> 2] = 21; + HEAP32[$call4 + 32 >> 2] = 22; + HEAP32[$call4 + 36 >> 2] = 133; + HEAP32[$call4 + 40 >> 2] = 191; + HEAP32[$call4 + 48 >> 2] = 1e9; + $max_memory_to_use = $call4 + 44 | 0; + HEAP32[$max_memory_to_use >> 2] = $call; + HEAP32[$call4 + 56 >> 2] = 0; + HEAP32[$call4 + 64 >> 2] = 0; + HEAP32[$call4 + 52 >> 2] = 0; + HEAP32[$call4 + 60 >> 2] = 0; + HEAP32[$call4 + 68 >> 2] = 0; + HEAP32[$call4 + 72 >> 2] = 0; + HEAP32[$call4 + 76 >> 2] = 84; + HEAP32[$mem1 >> 2] = $call4; + $call33 = _getenv(51555) | 0; + if (!$call33) { + STACKTOP = sp; + return; + } + HEAP8[$ch >> 0] = 120; + HEAP32[$vararg_buffer >> 2] = $max_to_use; + HEAP32[$vararg_buffer + 4 >> 2] = $ch; + if ((_sscanf($call33, 51563, $vararg_buffer) | 0) > 0) { + switch (HEAP8[$ch >> 0] | 0) { + case 77: + case 109: + { + $mul = (HEAP32[$max_to_use >> 2] | 0) * 1e3 | 0; + HEAP32[$max_to_use >> 2] = $mul; + $5 = $mul; + break; } - L9 : do if ((label | 0) == 8) { - $33 = $0 + 32 | 0; + default: + $5 = HEAP32[$max_to_use >> 2] | 0; + } + HEAP32[$max_memory_to_use >> 2] = $5 * 1e3; + } + STACKTOP = sp; + return; +} + +function _EV_create($input, $u, $output, $ev) { + $input = $input | 0; + $u = $u | 0; + $output = $output | 0; + $ev = $ev | 0; + var $0 = 0, $1 = 0, $9 = 0.0, $add = 0.0, $div = 0.0, $i$0 = 0, $i$1 = 0, $j$0 = 0, $j$1 = 0, $k$0 = 0, $m$0 = 0, $m$1 = 0, $m$2 = 0, $m$3 = 0, $m1$0 = 0, $m2$0 = 0, $mul = 0, $retval$0 = 0, $sum$0 = 0.0; + $0 = HEAP32[$input + 4 >> 2] | 0; + $1 = HEAP32[$input + 8 >> 2] | 0; + L1 : do if (((((!(($0 | 0) < 1 | ($1 | 0) < 1) ? (HEAP32[$u + 4 >> 2] | 0) == ($0 | 0) : 0) ? (HEAP32[$u + 8 >> 2] | 0) == ($0 | 0) : 0) ? (HEAP32[$output + 4 >> 2] | 0) == ($0 | 0) : 0) ? (HEAP32[$output + 8 >> 2] | 0) == ($1 | 0) : 0) ? (HEAP32[$ev + 4 >> 2] | 0) == ($0 | 0) : 0) { + $i$0 = 0; + $m$0 = HEAP32[$output >> 2] | 0; + while (1) { + if (($i$0 | 0) >= ($0 | 0)) break; + $9 = +HEAPF64[(HEAP32[$ev >> 2] | 0) + ($i$0 << 3) >> 3]; + if ($9 < 1.0e-16) break; + $div = 1.0 / +Math_sqrt(+(+Math_abs(+$9))); + $mul = Math_imul($i$0, $0) | 0; + $j$0 = 0; + $m$1 = $m$0; + while (1) { + if (($j$0 | 0) == ($1 | 0)) break; + $k$0 = 0; + $m1$0 = (HEAP32[$u >> 2] | 0) + ($mul << 3) | 0; + $m2$0 = (HEAP32[$input >> 2] | 0) + ($j$0 << 3) | 0; + $sum$0 = 0.0; while (1) { - $34 = HEAP32[$3 >> 2] | 0; - if ($34 >>> 0 <= $2 >>> 0) { - $$0 = 1; - $$07 = 0; - break L9; - } - $36 = $34 + -1 | 0; - HEAP32[$3 >> 2] = $36; - if ((_ungetc(HEAP8[$36 >> 0] | 0, HEAP32[$33 >> 2] | 0) | 0) == -1) { - label = 11; - break; - } + if (($k$0 | 0) == ($0 | 0)) break; + $add = $sum$0 + +HEAPF64[$m1$0 >> 3] * +HEAPF64[$m2$0 >> 3]; + $k$0 = $k$0 + 1 | 0; + $m1$0 = $m1$0 + 8 | 0; + $m2$0 = $m2$0 + ($1 << 3) | 0; + $sum$0 = $add; } - } while (0); - if ((label | 0) == 11) { - $$0 = 0; - $$07 = __ZNSt3__211char_traitsIcE3eofEv() | 0; + HEAPF64[$m$1 >> 3] = $div * $sum$0; + $j$0 = $j$0 + 1 | 0; + $m$1 = $m$1 + 8 | 0; } - if ($$0) $$pre$phiZ2D = $17; else { - $$1 = $$07; - break; + $i$0 = $i$0 + 1 | 0; + $m$0 = $m$0 + ($1 << 3) | 0; + } + $i$1 = $i$0; + $m$2 = $m$0; + while (1) { + if (($i$1 | 0) >= ($0 | 0)) { + $retval$0 = 0; + break L1; } - } else $$pre$phiZ2D = $0 + 48 | 0; - HEAP32[$$pre$phiZ2D >> 2] = $1; - HEAP8[$8 >> 0] = 1; - $$1 = $1; - } while (0); - STACKTOP = sp; - return $$1 | 0; + HEAPF64[(HEAP32[$ev >> 2] | 0) + ($i$1 << 3) >> 3] = 0.0; + $j$1 = 0; + $m$3 = $m$2; + while (1) { + if (($j$1 | 0) >= ($1 | 0)) break; + HEAPF64[$m$3 >> 3] = 0.0; + $j$1 = $j$1 + 1 | 0; + $m$3 = $m$3 + 8 | 0; + } + $i$1 = $i$1 + 1 | 0; + $m$2 = $m$3; + } + } else $retval$0 = -1; while (0); + return $retval$0 | 0; } -function _ar2GetBestMatchingSubFineOpt($0, $1, $2, $3, $4, $5, $6, $7, $8, $9) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - $6 = $6 | 0; - $7 = $7 | 0; - $8 = $8 | 0; - $9 = $9 | 0; - var $$0 = 0, $$090 = 0, $$091 = 0, $$094 = 0, $$095 = 0, $$1 = 0, $$193 = 0, $$196 = 0, $14 = 0, $16 = 0, $17 = 0, $18 = 0, $27 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $37 = 0, $39 = 0, $40 = 0, $41 = 0, $44 = 0, $48 = 0, $52 = 0, $55 = 0, $68 = 0, $71 = 0, $78 = 0, $storemerge = 0; - $14 = $0 + ((Math_imul($3, $1) | 0) + $2) | 0; - $16 = HEAP32[$4 + 4 >> 2] | 0; - $17 = $1 << 1; - $18 = HEAP32[$4 >> 2] | 0; - $$0 = 0; - $$091 = HEAP32[$4 + 24 >> 2] | 0; - $$094 = $14; - $$095 = 0; - while (1) { - if (($$0 | 0) >= ($16 | 0)) break; - $$090 = 0; - $$1 = $$091; - $$193 = $$094; - $$196 = $$095; - while (1) { - if (($$090 | 0) >= ($18 | 0)) break; - $27 = (Math_imul(HEAPU16[$$1 >> 1] | 0, HEAPU8[$$193 >> 0] | 0) | 0) + $$196 | 0; - $$090 = $$090 + 1 | 0; - $$1 = $$1 + 2 | 0; - $$193 = $$193 + 2 | 0; - $$196 = $27; - } - $$0 = $$0 + 1 | 0; - $$091 = $$1; - $$094 = $$094 + $17 | 0; - $$095 = $$196; - } - $32 = $18 << 1; - $33 = $32 + 8 | 0; - $34 = $7 + -2 | 0; - $35 = $34 + $32 | 0; - $37 = $8 + -2 | 0; - $39 = Math_imul($33, $37 + ($16 << 1) | 0) | 0; - $40 = Math_imul($33, $37) | 0; - $41 = $39 + $35 | 0; - $44 = $40 + $34 | 0; - $48 = $39 + $34 | 0; - $52 = $40 + $35 | 0; - $55 = (HEAP32[$5 + ($44 << 2) >> 2] | 0) + (HEAP32[$5 + ($41 << 2) >> 2] | 0) - (HEAP32[$5 + ($48 << 2) >> 2] | 0) - (HEAP32[$5 + ($52 << 2) >> 2] | 0) | 0; - $68 = HEAP32[$4 + 36 >> 2] | 0; - $71 = (HEAP32[$6 + ($44 << 2) >> 2] | 0) + (HEAP32[$6 + ($41 << 2) >> 2] | 0) - (HEAP32[$6 + ($48 << 2) >> 2] | 0) - (HEAP32[$6 + ($52 << 2) >> 2] | 0) - ((Math_imul($55, $55) | 0) / ($68 | 0) | 0) | 0; - if (!$71) $storemerge = 0; else { - $78 = ($$095 - ((Math_imul(HEAP32[$4 + 32 >> 2] | 0, $55) | 0) / ($68 | 0) | 0) | 0) * 100 | 0; - $storemerge = ((($78 | 0) / (HEAP32[$4 + 28 >> 2] | 0) | 0) * 100 | 0) / (~~+Math_sqrt(+(+($71 | 0))) | 0) | 0; - } - HEAP32[$9 >> 2] = $storemerge; - return; -} - -function _jpeg_huff_decode($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $$0$lcssa = 0, $$042$lcssa = 0, $$04254 = 0, $$043 = 0, $$044 = 0, $$045 = 0, $$055 = 0, $$1$lcssa = 0, $$146$lcssa = 0, $$14652 = 0, $$153 = 0, $$2 = 0, $$247 = 0, $12 = 0, $16 = 0, $20 = 0, $21 = 0, $22 = 0, $28 = 0, $31 = 0, $32 = 0, $38 = 0, $39 = 0; - do if (($2 | 0) < ($4 | 0)) if (!(_jpeg_fill_bit_buffer($0, $1, $2, $4) | 0)) { - $$043 = -1; - return $$043 | 0; - } else { - $$044 = HEAP32[$0 + 8 >> 2] | 0; - $$045 = HEAP32[$0 + 12 >> 2] | 0; - break; - } else { - $$044 = $1; - $$045 = $2; - } while (0); - $12 = $$045 - $4 | 0; - $16 = $$044 >> $12 & HEAP32[5184 + ($4 << 2) >> 2]; - $20 = $0 + 8 | 0; - $21 = $0 + 12 | 0; - L7 : do if (($16 | 0) > (HEAP32[$3 + ($4 << 2) >> 2] | 0)) { - $$04254 = $4; - $$055 = $16; - $$14652 = $12; - $$153 = $$044; +function _arImageProcLumaHistAndOtsu($ipi, $dataPtr, $value_p) { + $ipi = $ipi | 0; + $dataPtr = $dataPtr | 0; + $value_p = $value_p | 0; + var $$pre$phiZ2D = 0, $3 = 0, $4 = 0, $add26 = 0.0, $call = 0, $cmp34 = 0, $conv6 = 0.0, $indvars$iv = 0, $indvars$iv38 = 0, $mul33 = 0.0, $retval$0 = 0, $sub = 0.0, $sub30 = 0.0, $sum$0 = 0.0, $sumB$0 = 0.0, $sumB$1 = 0.0, $threshold$0 = 0, $threshold$2 = 0, $threshold$3 = 0, $varMax$0 = 0.0, $varMax$2 = 0.0, $wB$0 = 0.0; + $call = _arImageProcLumaHist($ipi, $dataPtr) | 0; + if (($call | 0) < 0) $retval$0 = $call; else { + $indvars$iv38 = 1; + $sum$0 = 0.0; + do { + $sum$0 = $sum$0 + +((Math_imul(HEAP32[$ipi + 12 + ($indvars$iv38 << 2) >> 2] | 0, $indvars$iv38) | 0) >>> 0); + $indvars$iv38 = $indvars$iv38 + 1 | 0; + } while (($indvars$iv38 | 0) != 256); + $conv6 = +(Math_imul(HEAP32[$ipi + 8 >> 2] | 0, HEAP32[$ipi + 4 >> 2] | 0) | 0); + $indvars$iv = 0; + $sumB$0 = 0.0; + $threshold$0 = 0; + $varMax$0 = 0.0; + $wB$0 = 0.0; while (1) { - $22 = $$055 << 1; - if (($$14652 | 0) < 1) { - if (!(_jpeg_fill_bit_buffer($0, $$153, $$14652, 1) | 0)) { - $$043 = -1; + $3 = HEAP32[$ipi + 12 + ($indvars$iv << 2) >> 2] | 0; + $wB$0 = $wB$0 + +($3 >>> 0); + if ($wB$0 != 0.0) { + $sub = $conv6 - $wB$0; + if ($sub == 0.0) { + $threshold$3 = $threshold$0; break; } - $$2 = HEAP32[$20 >> 2] | 0; - $$247 = HEAP32[$21 >> 2] | 0; + $add26 = $sumB$0 + +((Math_imul($3, $indvars$iv) | 0) >>> 0); + $sub30 = $add26 / $wB$0 - ($sum$0 - $add26) / $sub; + $mul33 = $sub30 * ($wB$0 * $sub * $sub30); + $cmp34 = $mul33 > $varMax$0; + $4 = $indvars$iv & 255; + $$pre$phiZ2D = $4; + $sumB$1 = $add26; + $threshold$2 = $cmp34 ? $4 : $threshold$0; + $varMax$2 = $cmp34 ? $mul33 : $varMax$0; } else { - $$2 = $$153; - $$247 = $$14652; - } - $28 = $$247 + -1 | 0; - $31 = $$2 >>> $28 & 1 | $22; - $32 = $$04254 + 1 | 0; - if (($31 | 0) > (HEAP32[$3 + ($32 << 2) >> 2] | 0)) { - $$04254 = $32; - $$055 = $31; - $$14652 = $28; - $$153 = $$2; + $$pre$phiZ2D = $indvars$iv & 255; + $sumB$1 = $sumB$0; + $threshold$2 = $threshold$0; + $varMax$2 = $varMax$0; + } + if ($$pre$phiZ2D << 24 >> 24 == -1) { + $threshold$3 = $threshold$2; + break; } else { - $$0$lcssa = $31; - $$042$lcssa = $32; - $$1$lcssa = $$2; - $$146$lcssa = $28; - break L7; + $indvars$iv = $indvars$iv + 1 | 0; + $sumB$0 = $sumB$1; + $threshold$0 = $threshold$2; + $varMax$0 = $varMax$2; } } - return $$043 | 0; - } else { - $$0$lcssa = $16; - $$042$lcssa = $4; - $$1$lcssa = $$044; - $$146$lcssa = $12; - } while (0); - HEAP32[$20 >> 2] = $$1$lcssa; - HEAP32[$21 >> 2] = $$146$lcssa; - if (($$042$lcssa | 0) > 16) { - $38 = HEAP32[$0 + 16 >> 2] | 0; - $39 = HEAP32[$38 >> 2] | 0; - HEAP32[$39 + 20 >> 2] = 121; - FUNCTION_TABLE_vii[HEAP32[$39 + 4 >> 2] & 255]($38, -1); - $$043 = 0; - return $$043 | 0; - } else { - $$043 = HEAPU8[(HEAP32[$3 + 72 + ($$042$lcssa << 2) >> 2] | 0) + $$0$lcssa + ((HEAP32[$3 + 140 >> 2] | 0) + 17) >> 0] | 0; - return $$043 | 0; + HEAP8[$value_p >> 0] = $threshold$3; + $retval$0 = 0; } - return 0; + return $retval$0 | 0; } -function _addMultiMarker($id, $patt_name) { - $id = $id | 0; - $patt_name = $patt_name | 0; - var $14 = 0, $15 = 0, $3 = 0, $9 = 0, $__end_$i8 = 0, $arMultiMarkerHandle = 0, $call7 = 0, $cond$i$i$i = 0, $id$addr = 0, $marker = 0, $multi_markers = 0, $retval$1 = 0, $vararg_buffer = 0, sp = 0; +function __ZNKSt3__27num_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_putES4_RNS_8ios_baseEwPKv($this, $__s, $__iob, $__fl, $__v) { + $this = $this | 0; + $__s = $__s | 0; + $__iob = $__iob | 0; + $__fl = $__fl | 0; + $__v = $__v | 0; + var $__fmt = 0, $__nar = 0, $__o = 0, $add$ptr = 0, $add$ptr13 = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, $call = 0, $call$i = 0, $call21 = 0, $call3 = 0, $call6 = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $vararg_buffer = sp + 8 | 0; - $id$addr = sp + 12 | 0; - $marker = sp; - HEAP32[$id$addr >> 2] = $id; - do if (!(__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(65260, $id$addr) | 0)) $retval$1 = -1; else { - $call7 = __ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(65260, $id$addr) | 0; - if ((HEAP8[$patt_name + 11 >> 0] | 0) < 0) $cond$i$i$i = HEAP32[$patt_name >> 2] | 0; else $cond$i$i$i = $patt_name; - $arMultiMarkerHandle = $call7 + 224 | 0; - if (!(__ZL15loadMultiMarkerPKcP8ARHandlePP12ARPattHandlePP18ARMultiMarkerInfoT($cond$i$i$i, HEAP32[$call7 + 216 >> 2] | 0, $call7 + 220 | 0, $arMultiMarkerHandle) | 0)) { - _arLog(0, 3, 45229, $vararg_buffer); - $retval$1 = -1; - break; - } - $multi_markers = $call7 + 328 | 0; - $__end_$i8 = $call7 + 332 | 0; - $3 = HEAP32[$__end_$i8 >> 2] | 0; - HEAP32[$marker >> 2] = $3 - (HEAP32[$multi_markers >> 2] | 0) >> 3; - HEAP32[$marker + 4 >> 2] = HEAP32[$arMultiMarkerHandle >> 2]; - if ((HEAP32[$call7 + 336 >> 2] | 0) == ($3 | 0)) __ZNSt3__26vectorI12multi_markerNS_9allocatorIS1_EEE21__push_back_slow_pathIRKS1_EEvOT_($multi_markers, $marker); else { - $9 = $marker; - $14 = HEAP32[$9 + 4 >> 2] | 0; - $15 = $3; - HEAP32[$15 >> 2] = HEAP32[$9 >> 2]; - HEAP32[$15 + 4 >> 2] = $14; - HEAP32[$__end_$i8 >> 2] = (HEAP32[$__end_$i8 >> 2] | 0) + 8; - } - $retval$1 = HEAP32[$marker >> 2] | 0; - } while (0); + STACKTOP = STACKTOP + 208 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(208); + $agg$tmp$byval_copy = sp + 184 | 0; + $__fmt = sp + 192 | 0; + $__nar = sp + 160 | 0; + $__o = sp; + $agg$tmp = sp + 188 | 0; + HEAP8[$__fmt >> 0] = HEAP8[60020] | 0; + HEAP8[$__fmt + 1 >> 0] = HEAP8[60021] | 0; + HEAP8[$__fmt + 2 >> 0] = HEAP8[60022] | 0; + HEAP8[$__fmt + 3 >> 0] = HEAP8[60023] | 0; + HEAP8[$__fmt + 4 >> 0] = HEAP8[60024] | 0; + HEAP8[$__fmt + 5 >> 0] = HEAP8[60025] | 0; + $call = __ZNSt3__26__clocEv() | 0; + HEAP32[$agg$tmp$byval_copy >> 2] = $__v; + $call3 = __ZNSt3__219__libcpp_snprintf_lEPcmP15__locale_structPKcz($__nar, 20, $call, $__fmt, $agg$tmp$byval_copy) | 0; + $add$ptr = $__nar + $call3 | 0; + $call6 = __ZNSt3__214__num_put_base18__identify_paddingEPcS1_RKNS_8ios_baseE($__nar, $add$ptr, $__iob) | 0; + __ZNKSt3__28ios_base6getlocEv($agg$tmp$byval_copy, $__iob); + $call$i = __ZNKSt3__26locale9use_facetERNS0_2idE($agg$tmp$byval_copy, 67392) | 0; + __ZNSt3__26localeD2Ev($agg$tmp$byval_copy); + FUNCTION_TABLE_iiiii[HEAP32[(HEAP32[$call$i >> 2] | 0) + 48 >> 2] & 15]($call$i, $__nar, $add$ptr, $__o) | 0; + $add$ptr13 = $__o + ($call3 << 2) | 0; + HEAP32[$agg$tmp >> 2] = HEAP32[$__s >> 2]; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + $call21 = __ZNSt3__216__pad_and_outputIwNS_11char_traitsIwEEEENS_19ostreambuf_iteratorIT_T0_EES6_PKS4_S8_S8_RNS_8ios_baseES4_($agg$tmp$byval_copy, $__o, ($call6 | 0) == ($add$ptr | 0) ? $add$ptr13 : $__o + ($call6 - $__nar << 2) | 0, $add$ptr13, $__iob, $__fl) | 0; STACKTOP = sp; - return $retval$1 | 0; -} - -function _fgets($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$0 = 0, $$05963 = 0, $$06065 = 0, $$06164 = 0, $$1 = 0, $11 = 0, $16 = 0, $19 = 0, $20 = 0, $21 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $30 = 0, $32 = 0, $34 = 0, $35 = 0, $36 = 0, $43 = 0, $50 = 0, $51 = 0, $7 = 0, $9 = 0, label = 0; - if ((HEAP32[$2 + 76 >> 2] | 0) > -1) $16 = ___lockfile($2) | 0; else $16 = 0; - $7 = $1 + -1 | 0; - if (($1 | 0) < 2) { - $9 = $2 + 74 | 0; - $11 = HEAP8[$9 >> 0] | 0; - HEAP8[$9 >> 0] = $11 + 255 | $11; - if ($16 | 0) ___unlockfile($2); - if (!$7) { - HEAP8[$0 >> 0] = 0; - $$0 = $0; - } else $$0 = 0; - } else { - L11 : do if ($7) { - $19 = $2 + 4 | 0; - $20 = $2 + 8 | 0; - $$06065 = $7; - $$06164 = $0; - while (1) { - $21 = HEAP32[$19 >> 2] | 0; - $23 = $21; - $24 = (HEAP32[$20 >> 2] | 0) - $23 | 0; - $25 = _memchr($21, 10, $24) | 0; - $26 = ($25 | 0) == 0; - $30 = $26 ? $24 : 1 - $23 + $25 | 0; - $32 = $30 >>> 0 < $$06065 >>> 0 ? $30 : $$06065; - _memcpy($$06164 | 0, $21 | 0, $32 | 0) | 0; - $34 = (HEAP32[$19 >> 2] | 0) + $32 | 0; - HEAP32[$19 >> 2] = $34; - $35 = $$06164 + $32 | 0; - $36 = $$06065 - $32 | 0; - if (!($26 & ($36 | 0) != 0)) { - $$1 = $35; - label = 17; - break L11; - } - if ($34 >>> 0 >= (HEAP32[$20 >> 2] | 0) >>> 0) { - $43 = ___uflow($2) | 0; - if (($43 | 0) < 0) break; else $50 = $43; - } else { - HEAP32[$19 >> 2] = $34 + 1; - $50 = HEAPU8[$34 >> 0] | 0; - } - $51 = $35 + 1 | 0; - HEAP8[$35 >> 0] = $50; - $$06065 = $36 + -1 | 0; - if (($50 & 255 | 0) == 10 | ($$06065 | 0) == 0) { - $$1 = $51; - label = 17; - break L11; - } else $$06164 = $51; - } - if (($35 | 0) != ($0 | 0) ? (HEAP32[$2 >> 2] & 16 | 0) != 0 : 0) { - $$1 = $35; - label = 17; - } else $$05963 = 0; - } else { - $$1 = $0; - label = 17; - } while (0); - if ((label | 0) == 17) if (!$0) $$05963 = 0; else { - HEAP8[$$1 >> 0] = 0; - $$05963 = $0; - } - if (!$16) $$0 = $$05963; else { - ___unlockfile($2); - $$0 = $$05963; - } - } - return $$0 | 0; + return $call21 | 0; } -function __ZN6vision27OrthogonalizePivot8x9Basis1IfEEbPT_S2_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $11 = 0, $13 = 0, $15 = 0, $17 = 0.0, $18 = 0.0, $2 = 0, $20 = 0.0, $22 = 0.0, $24 = 0.0, $26 = 0.0, $28 = 0.0, $3 = 0, $30 = 0, $31 = 0, $34 = 0, $4 = 0, $5 = 0, $7 = 0, $9 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $2 = sp; - $3 = $0 + 36 | 0; - $4 = $1 + 36 | 0; - __ZN6vision21AccumulateProjection9IfEEvPT_PKS1_S4_($3, $0, $4); - $5 = $0 + 72 | 0; - __ZN6vision21AccumulateProjection9IfEEvPT_PKS1_S4_($5, $0, $1 + 72 | 0); - $7 = $0 + 108 | 0; - __ZN6vision21AccumulateProjection9IfEEvPT_PKS1_S4_($7, $0, $1 + 108 | 0); - $9 = $0 + 144 | 0; - __ZN6vision21AccumulateProjection9IfEEvPT_PKS1_S4_($9, $0, $1 + 144 | 0); - $11 = $0 + 180 | 0; - __ZN6vision21AccumulateProjection9IfEEvPT_PKS1_S4_($11, $0, $1 + 180 | 0); - $13 = $0 + 216 | 0; - __ZN6vision21AccumulateProjection9IfEEvPT_PKS1_S4_($13, $0, $1 + 216 | 0); - $15 = $0 + 252 | 0; - __ZN6vision21AccumulateProjection9IfEEvPT_PKS1_S4_($15, $0, $1 + 252 | 0); - $17 = +__ZN6vision11SumSquares9IfEET_PKS1_($3); - HEAPF32[$2 >> 2] = $17; - $18 = +__ZN6vision11SumSquares9IfEET_PKS1_($5); - HEAPF32[$2 + 4 >> 2] = $18; - $20 = +__ZN6vision11SumSquares9IfEET_PKS1_($7); - HEAPF32[$2 + 8 >> 2] = $20; - $22 = +__ZN6vision11SumSquares9IfEET_PKS1_($9); - HEAPF32[$2 + 12 >> 2] = $22; - $24 = +__ZN6vision11SumSquares9IfEET_PKS1_($11); - HEAPF32[$2 + 16 >> 2] = $24; - $26 = +__ZN6vision11SumSquares9IfEET_PKS1_($13); - HEAPF32[$2 + 20 >> 2] = $26; - $28 = +__ZN6vision11SumSquares9IfEET_PKS1_($15); - HEAPF32[$2 + 24 >> 2] = $28; - $30 = __ZN6vision9MaxIndex7IfEEiPKT_($2) | 0; - $31 = $2 + ($30 << 2) | 0; - if (+HEAPF32[$31 >> 2] == 0.0) $$0 = 0; else { - $34 = $30 * 9 | 0; - __ZN6vision5Swap9IfEEvPT_S2_($3, $3 + ($34 << 2) | 0); - __ZN6vision5Swap9IfEEvPT_S2_($4, $4 + ($34 << 2) | 0); - __ZN6vision12ScaleVector9IfEEvPT_PKS1_S1_($3, $3, 1.0 / +Math_sqrt(+(+HEAPF32[$31 >> 2]))); - $$0 = 1; - } - STACKTOP = sp; - return $$0 | 0; -} - -function __ZN6vision39HomographyPointsGeometricallyConsistentIfEEbPKT_S3_i($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$062 = 0, $$063 = 0, $$063$phi = 0, $$065 = 0, $$067 = 0, $$068 = 0, $$070 = 0, $$072 = 0, $$4 = 0, $10 = 0, $14 = 0, $15 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $9 = 0, sp = 0; +function _mbtowc($wc, $src, $n) { + $wc = $wc | 0; + $src = $src | 0; + $n = $n | 0; + var $0 = 0, $3 = 0, $4 = 0, $8 = 0, $call82 = 0, $conv38 = 0, $dummy = 0, $incdec$ptr = 0, $locale = 0, $or51 = 0, $or66 = 0, $retval$0 = 0, $spec$select = 0, $sub = 0, $sub57 = 0, $sub72 = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 48 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); - $3 = sp + 32 | 0; - $4 = sp + 24 | 0; - $5 = sp + 16 | 0; - $6 = sp + 8 | 0; - $7 = sp; - L1 : do if (($2 | 0) >= 2) { - $9 = $1 + 8 | 0; - $10 = $1 + 16 | 0; - __ZN6vision35MultiplyPointHomographyInhomogenousIfEEvPT_PKS1_S4_($3, $0, $1); - __ZN6vision35MultiplyPointHomographyInhomogenousIfEEvPT_PKS1_S4_($4, $0, $9); - __ZN6vision35MultiplyPointHomographyInhomogenousIfEEvPT_PKS1_S4_($5, $0, $10); - __ZN6vision11CopyVector2IfEEvPT_PKS1_($6, $3); - __ZN6vision11CopyVector2IfEEvPT_PKS1_($7, $4); - if (__ZN6vision40Homography3PointsGeometricallyConsistentIfEEbPKT_S3_S3_S3_S3_S3_($1, $9, $10, $3, $4, $5) | 0) { - $$062 = 3; - $$063 = $5; - $$065 = $4; - $$067 = $3; - $$068 = $10; - $$070 = $9; - $$072 = $1; - while (1) { - if (($$062 | 0) >= ($2 | 0)) break; - $$072 = $$072 + 8 | 0; - $14 = $$070 + 8 | 0; - $15 = $$068 + 8 | 0; - __ZN6vision35MultiplyPointHomographyInhomogenousIfEEvPT_PKS1_S4_($$067, $0, $15); - if (!(__ZN6vision40Homography3PointsGeometricallyConsistentIfEEbPKT_S3_S3_S3_S3_S3_($$072, $14, $15, $$065, $$063, $$067) | 0)) { - $$4 = 0; - break L1; - } else { - $$063$phi = $$067; - $$062 = $$062 + 1 | 0; - $$068 = $15; - $$070 = $14; - $$067 = $$065; - $$065 = $$063; - $$063 = $$063$phi; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $dummy = sp; + L1 : do if (!$src) $retval$0 = 0; else { + do if ($n | 0) { + $spec$select = ($wc | 0) == 0 ? $dummy : $wc; + $0 = HEAP8[$src >> 0] | 0; + if ($0 << 24 >> 24 > -1) { + HEAP32[$spec$select >> 2] = $0 & 255; + $retval$0 = $0 << 24 >> 24 != 0 & 1; + break L1; + } + $locale = (___pthread_self_686() | 0) + 188 | 0; + $3 = HEAP8[$src >> 0] | 0; + if (!(HEAP32[HEAP32[$locale >> 2] >> 2] | 0)) { + HEAP32[$spec$select >> 2] = $3 << 24 >> 24 & 57343; + $retval$0 = 1; + break L1; + } + $sub = ($3 & 255) + -194 | 0; + if ($sub >>> 0 <= 50) { + $incdec$ptr = $src + 1 | 0; + $4 = HEAP32[5728 + ($sub << 2) >> 2] | 0; + if ($n >>> 0 < 4 ? $4 & -2147483648 >>> (($n * 6 | 0) + -6 | 0) | 0 : 0) break; + $conv38 = HEAPU8[$incdec$ptr >> 0] | 0; + $8 = $conv38 >>> 3; + if (($8 + -16 | $8 + ($4 >> 26)) >>> 0 <= 7) { + $or51 = $conv38 + -128 | $4 << 6; + if (($or51 | 0) >= 0) { + HEAP32[$spec$select >> 2] = $or51; + $retval$0 = 2; + break L1; + } + $sub57 = (HEAPU8[$src + 2 >> 0] | 0) + -128 | 0; + if ($sub57 >>> 0 <= 63) { + $or66 = $sub57 | $or51 << 6; + if (($or66 | 0) >= 0) { + HEAP32[$spec$select >> 2] = $or66; + $retval$0 = 3; + break L1; + } + $sub72 = (HEAPU8[$src + 3 >> 0] | 0) + -128 | 0; + if ($sub72 >>> 0 <= 63) { + HEAP32[$spec$select >> 2] = $sub72 | $or66 << 6; + $retval$0 = 4; + break L1; + } + } } } - if (__ZN6vision40Homography3PointsGeometricallyConsistentIfEEbPKT_S3_S3_S3_S3_S3_($$070, $$068, $1, $$065, $$063, $6) | 0) $$4 = __ZN6vision40Homography3PointsGeometricallyConsistentIfEEbPKT_S3_S3_S3_S3_S3_($$068, $1, $9, $$063, $6, $7) | 0; else $$4 = 0; - } else $$4 = 0; - } else $$4 = 1; while (0); + } while (0); + $call82 = ___errno_location() | 0; + HEAP32[$call82 >> 2] = 25; + $retval$0 = -1; + } while (0); STACKTOP = sp; - return $$4 | 0; + return $retval$0 | 0; } -function _arGetTransMatSquare($0, $1, $2, $3) { +function __ZNKSt3__28time_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_putES4_RNS_8ios_baseEwPK2tmcc($this, $__s, $0, $1, $__tm, $__fmt, $__mod) { + $this = $this | 0; + $__s = $__s | 0; $0 = $0 | 0; $1 = $1 | 0; - $2 = +$2; - $3 = $3 | 0; - var $$0 = 0, $$0$in = 0, $$031 = 0.0, $19 = 0, $26 = 0, $34 = 0, $4 = 0, $42 = 0, $49 = 0.0, $5 = 0, $50 = 0.0, $6 = 0, $69 = 0, $7 = 0, $8 = 0, sp = 0; + $__tm = $__tm | 0; + $__fmt = $__fmt | 0; + $__mod = $__mod | 0; + var $2 = 0, $4 = 0, $5 = 0, $7 = 0, $__first$addr$0$i$i = 0, $__nar = 0, $__ne = 0, $__nout_$i$i$i$i = 0, $agg$tmp1$sroa$0$0$i = 0, $agg$tmp1$sroa$0$1$i = 0, $call$i$i$i$i = 0, $call4$i$i$i = 0, $retval$0$i$i$i$i = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 288 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(288); - $4 = sp + 192 | 0; - $5 = sp + 96 | 0; - $6 = sp + 264 | 0; - $7 = sp; - $8 = sp + 256 | 0; - do if ((HEAP32[$1 + 12 >> 2] | 0) >= 0) if ((HEAP32[$1 + 8 >> 2] | 0) < 0) { - $$0$in = $1 + 24 | 0; - break; - } else { - $$0$in = $1 + 16 | 0; - break; - } else $$0$in = $1 + 20 | 0; while (0); - $$0 = HEAP32[$$0$in >> 2] | 0; - $19 = (4 - $$0 | 0) % 4 | 0; - HEAPF64[$4 >> 3] = +HEAPF64[$1 + 168 + ($19 << 4) >> 3]; - HEAPF64[$4 + 8 >> 3] = +HEAPF64[$1 + 168 + ($19 << 4) + 8 >> 3]; - $26 = (5 - $$0 | 0) % 4 | 0; - HEAPF64[$4 + 16 >> 3] = +HEAPF64[$1 + 168 + ($26 << 4) >> 3]; - HEAPF64[$4 + 24 >> 3] = +HEAPF64[$1 + 168 + ($26 << 4) + 8 >> 3]; - $34 = (6 - $$0 | 0) % 4 | 0; - HEAPF64[$4 + 32 >> 3] = +HEAPF64[$1 + 168 + ($34 << 4) >> 3]; - HEAPF64[$4 + 40 >> 3] = +HEAPF64[$1 + 168 + ($34 << 4) + 8 >> 3]; - $42 = (7 - $$0 | 0) % 4 | 0; - HEAPF64[$4 + 48 >> 3] = +HEAPF64[$1 + 168 + ($42 << 4) >> 3]; - HEAPF64[$4 + 56 >> 3] = +HEAPF64[$1 + 168 + ($42 << 4) + 8 >> 3]; - $49 = $2 * -.5; - HEAPF64[$5 >> 3] = $49; - $50 = $2 * .5; - HEAPF64[$5 + 8 >> 3] = $50; - HEAPF64[$5 + 16 >> 3] = 0.0; - HEAPF64[$5 + 24 >> 3] = $50; - HEAPF64[$5 + 32 >> 3] = $50; - HEAPF64[$5 + 40 >> 3] = 0.0; - HEAPF64[$5 + 48 >> 3] = $50; - HEAPF64[$5 + 56 >> 3] = $49; - HEAPF64[$5 + 64 >> 3] = 0.0; - HEAPF64[$5 + 72 >> 3] = $49; - HEAPF64[$5 + 80 >> 3] = $49; - HEAPF64[$5 + 88 >> 3] = 0.0; - HEAP32[$6 >> 2] = $4; - HEAP32[$6 + 4 >> 2] = $5; - HEAP32[$6 + 8 >> 2] = 4; - if ((_icpGetInitXw2Xc_from_PlanarData(HEAP32[$0 >> 2] | 0, $4, $5, 4, $7) | 0) < 0) $$031 = 1.0e8; else { - $69 = (_icpPoint(HEAP32[$0 >> 2] | 0, $6, $7, $3, $8) | 0) < 0; - $$031 = $69 ? 1.0e8 : +HEAPF64[$8 >> 3]; - } - STACKTOP = sp; - return +$$031; -} - -function __ZN12_GLOBAL__N_116itanium_demangle13ParameterPackC2ENS0_9NodeArrayE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$05$i = 0, $$05$i1 = 0, $$05$i3 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $2 = 0, $22 = 0, $23 = 0, $28 = 0, $29 = 0, $3 = 0, $8 = 0, $9 = 0, label = 0; - __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($0, 27, 1, 1, 1); - HEAP32[$0 >> 2] = 17912; - $2 = $0 + 8 | 0; - $3 = $1; - $8 = HEAP32[$3 + 4 >> 2] | 0; - $9 = $2; - HEAP32[$9 >> 2] = HEAP32[$3 >> 2]; - HEAP32[$9 + 4 >> 2] = $8; - $13 = $0 + 5 | 0; - HEAP8[$13 >> 0] = 2; - $14 = $0 + 7 | 0; - HEAP8[$14 >> 0] = 2; - $15 = $0 + 6 | 0; - HEAP8[$15 >> 0] = 2; - $16 = __ZNK12_GLOBAL__N_116itanium_demangle9NodeArray5beginEv($2) | 0; - $17 = __ZNK12_GLOBAL__N_116itanium_demangle9NodeArray3endEv($2) | 0; - $$05$i = $16; - while (1) { - if (($$05$i | 0) == ($17 | 0)) { - label = 4; - break; - } - if (__ZZN12_GLOBAL__N_116itanium_demangle13ParameterPackC1ENS0_9NodeArrayEENKUlPNS0_4NodeEE_clES4_(HEAP32[$$05$i >> 2] | 0) | 0) $$05$i = $$05$i + 4 | 0; else break; - } - if ((label | 0) == 4) HEAP8[$15 >> 0] = 1; - $22 = __ZNK12_GLOBAL__N_116itanium_demangle9NodeArray5beginEv($2) | 0; - $23 = __ZNK12_GLOBAL__N_116itanium_demangle9NodeArray3endEv($2) | 0; - $$05$i1 = $22; - while (1) { - if (($$05$i1 | 0) == ($23 | 0)) { - label = 8; - break; - } - if (__ZZN12_GLOBAL__N_116itanium_demangle13ParameterPackC1ENS0_9NodeArrayEENKUlPNS0_4NodeEE0_clES4_(HEAP32[$$05$i1 >> 2] | 0) | 0) $$05$i1 = $$05$i1 + 4 | 0; else break; - } - if ((label | 0) == 8) HEAP8[$14 >> 0] = 1; - $28 = __ZNK12_GLOBAL__N_116itanium_demangle9NodeArray5beginEv($2) | 0; - $29 = __ZNK12_GLOBAL__N_116itanium_demangle9NodeArray3endEv($2) | 0; - $$05$i3 = $28; + STACKTOP = STACKTOP + 416 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(416); + $__nar = sp; + $__ne = sp + 400 | 0; + HEAP32[$__ne >> 2] = $__nar + 400; + __ZNKSt3__210__time_put8__do_putEPwRS1_PK2tmcc($this + 8 | 0, $__nar, $__ne, $__tm, $__fmt, $__mod); + $2 = HEAP32[$__ne >> 2] | 0; + $__first$addr$0$i$i = $__nar; + $agg$tmp1$sroa$0$0$i = HEAP32[$__s >> 2] | 0; while (1) { - if (($$05$i3 | 0) == ($29 | 0)) { - label = 12; - break; - } - if (__ZZN12_GLOBAL__N_116itanium_demangle13ParameterPackC1ENS0_9NodeArrayEENKUlPNS0_4NodeEE1_clES4_(HEAP32[$$05$i3 >> 2] | 0) | 0) $$05$i3 = $$05$i3 + 4 | 0; else break; + if (($__first$addr$0$i$i | 0) == ($2 | 0)) break; + $4 = HEAP32[$__first$addr$0$i$i >> 2] | 0; + if (!$agg$tmp1$sroa$0$0$i) $agg$tmp1$sroa$0$1$i = 0; else { + $__nout_$i$i$i$i = $agg$tmp1$sroa$0$0$i + 24 | 0; + $5 = HEAP32[$__nout_$i$i$i$i >> 2] | 0; + if (($5 | 0) == (HEAP32[$agg$tmp1$sroa$0$0$i + 28 >> 2] | 0)) { + $7 = HEAP32[(HEAP32[$agg$tmp1$sroa$0$0$i >> 2] | 0) + 52 >> 2] | 0; + $call$i$i$i$i = __ZNSt3__211char_traitsIwE11to_int_typeEw($4) | 0; + $retval$0$i$i$i$i = FUNCTION_TABLE_iii[$7 & 127]($agg$tmp1$sroa$0$0$i, $call$i$i$i$i) | 0; + } else { + HEAP32[$__nout_$i$i$i$i >> 2] = $5 + 4; + HEAP32[$5 >> 2] = $4; + $retval$0$i$i$i$i = __ZNSt3__211char_traitsIwE11to_int_typeEw($4) | 0; + } + $call4$i$i$i = __ZNSt3__211char_traitsIwE11eq_int_typeEjj($retval$0$i$i$i$i, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0; + $agg$tmp1$sroa$0$1$i = $call4$i$i$i ? 0 : $agg$tmp1$sroa$0$0$i; + } + $__first$addr$0$i$i = $__first$addr$0$i$i + 4 | 0; + $agg$tmp1$sroa$0$0$i = $agg$tmp1$sroa$0$1$i; + } + STACKTOP = sp; + return $agg$tmp1$sroa$0$0$i | 0; +} + +function _icpGetJ_U_Xc($J_U_Xc, $matXc2U, $cameraCoord) { + $J_U_Xc = $J_U_Xc | 0; + $matXc2U = $matXc2U | 0; + $cameraCoord = $cameraCoord | 0; + var $0 = 0.0, $1 = 0.0, $11 = 0.0, $3 = 0.0, $5 = 0.0, $add11 = 0.0, $add28 = 0.0, $add45 = 0.0, $arrayidx13 = 0, $arrayidx17 = 0, $arrayidx22 = 0, $arrayidx3 = 0, $arrayidx30 = 0, $arrayidx34 = 0, $arrayidx39 = 0, $arrayidx6 = 0, $mul46 = 0.0, $retval$0 = 0; + $0 = +HEAPF64[$matXc2U >> 3]; + $1 = +HEAPF64[$cameraCoord >> 3]; + $arrayidx3 = $matXc2U + 8 | 0; + $3 = +HEAPF64[$cameraCoord + 8 >> 3]; + $arrayidx6 = $matXc2U + 16 | 0; + $5 = +HEAPF64[$cameraCoord + 16 >> 3]; + $add11 = +HEAPF64[$matXc2U + 24 >> 3] + ($0 * $1 + +HEAPF64[$arrayidx3 >> 3] * $3 + +HEAPF64[$arrayidx6 >> 3] * $5); + $arrayidx13 = $matXc2U + 32 | 0; + $arrayidx17 = $matXc2U + 40 | 0; + $arrayidx22 = $matXc2U + 48 | 0; + $add28 = +HEAPF64[$matXc2U + 56 >> 3] + ($1 * +HEAPF64[$arrayidx13 >> 3] + $3 * +HEAPF64[$arrayidx17 >> 3] + $5 * +HEAPF64[$arrayidx22 >> 3]); + $arrayidx30 = $matXc2U + 64 | 0; + $11 = +HEAPF64[$arrayidx30 >> 3]; + $arrayidx34 = $matXc2U + 72 | 0; + $arrayidx39 = $matXc2U + 80 | 0; + $add45 = +HEAPF64[$matXc2U + 88 >> 3] + ($1 * $11 + $3 * +HEAPF64[$arrayidx34 >> 3] + $5 * +HEAPF64[$arrayidx39 >> 3]); + if ($add45 == 0.0) $retval$0 = -1; else { + $mul46 = $add45 * $add45; + HEAPF64[$J_U_Xc >> 3] = ($0 * $add45 - $add11 * $11) / $mul46; + HEAPF64[$J_U_Xc + 8 >> 3] = ($add45 * +HEAPF64[$arrayidx3 >> 3] - $add11 * +HEAPF64[$arrayidx34 >> 3]) / $mul46; + HEAPF64[$J_U_Xc + 16 >> 3] = ($add45 * +HEAPF64[$arrayidx6 >> 3] - $add11 * +HEAPF64[$arrayidx39 >> 3]) / $mul46; + HEAPF64[$J_U_Xc + 24 >> 3] = ($add45 * +HEAPF64[$arrayidx13 >> 3] - $add28 * +HEAPF64[$arrayidx30 >> 3]) / $mul46; + HEAPF64[$J_U_Xc + 32 >> 3] = ($add45 * +HEAPF64[$arrayidx17 >> 3] - $add28 * +HEAPF64[$arrayidx34 >> 3]) / $mul46; + HEAPF64[$J_U_Xc + 40 >> 3] = ($add45 * +HEAPF64[$arrayidx22 >> 3] - $add28 * +HEAPF64[$arrayidx39 >> 3]) / $mul46; + $retval$0 = 0; } - if ((label | 0) == 12) HEAP8[$13 >> 0] = 1; - return; + return $retval$0 | 0; } -function _prepare_for_output_pass($0) { - $0 = $0 | 0; - var $15 = 0, $2 = 0, $3 = 0, $36 = 0, $74 = 0, $77 = 0, $82 = 0, $83 = 0; - $2 = HEAP32[$0 + 444 >> 2] | 0; - $3 = $2 + 8 | 0; - if (!(HEAP32[$3 >> 2] | 0)) { - $15 = $0 + 84 | 0; - do if (HEAP32[$15 >> 2] | 0 ? (HEAP32[$0 + 136 >> 2] | 0) == 0 : 0) { - if (HEAP32[$0 + 92 >> 2] | 0 ? HEAP32[$0 + 108 >> 2] | 0 : 0) { - HEAP32[$0 + 484 >> 2] = HEAP32[$2 + 24 >> 2]; - HEAP32[$3 >> 2] = 1; - break; - } - if (!(HEAP32[$0 + 100 >> 2] | 0)) { - $36 = HEAP32[$0 >> 2] | 0; - HEAP32[$36 + 20 >> 2] = 47; - FUNCTION_TABLE_vi[HEAP32[$36 >> 2] & 255]($0); - break; - } else { - HEAP32[$0 + 484 >> 2] = HEAP32[$2 + 20 >> 2]; - break; +function __ZNSt3__216__selection_sortIRNS_7greaterINS_4pairIfmEEEENS_11__wrap_iterIPS3_EEEEvT0_S9_T_($__first, $__last, $__comp) { + $__first = $__first | 0; + $__last = $__last | 0; + $__comp = $__comp | 0; + var $0 = 0, $1 = 0, $2 = 0.0, $3 = 0.0, $6 = 0, $8 = 0, $__i$sroa$0$0$ptr$i = 0, $incdec$ptr$i = 0, $incdec$ptr$i$i = 0, $incdec$ptr$i2 = 0, $retval$sroa$0$0$copyload$i = 0, $retval$sroa$0$0$copyload11$i$ph = 0, $second$i$i = 0, $second$i$i$i$i = 0, $second3$i$i = 0; + $0 = HEAP32[$__last >> 2] | 0; + $incdec$ptr$i = $0 + -8 | 0; + $1 = HEAP32[$__first >> 2] | 0; + while (1) { + if (($1 | 0) == ($incdec$ptr$i | 0)) break; + L4 : do if (($1 | 0) == ($0 | 0)) $retval$sroa$0$0$copyload$i = $0; else { + $retval$sroa$0$0$copyload11$i$ph = $1; + while (1) { + $second$i$i$i$i = $retval$sroa$0$0$copyload11$i$ph + 4 | 0; + $__i$sroa$0$0$ptr$i = $retval$sroa$0$0$copyload11$i$ph; + while (1) { + $incdec$ptr$i$i = $__i$sroa$0$0$ptr$i + 8 | 0; + if (($incdec$ptr$i$i | 0) == ($0 | 0)) { + $retval$sroa$0$0$copyload$i = $retval$sroa$0$0$copyload11$i$ph; + break L4; + } + $2 = +HEAPF32[$retval$sroa$0$0$copyload11$i$ph >> 2]; + $3 = +HEAPF32[$incdec$ptr$i$i >> 2]; + if ($2 < $3) break; + if (!($3 < $2) ? (HEAP32[$second$i$i$i$i >> 2] | 0) >>> 0 < (HEAP32[$__i$sroa$0$0$ptr$i + 12 >> 2] | 0) >>> 0 : 0) break; + $__i$sroa$0$0$ptr$i = $incdec$ptr$i$i; + } + $retval$sroa$0$0$copyload11$i$ph = $incdec$ptr$i$i; } } while (0); - FUNCTION_TABLE_vi[HEAP32[HEAP32[$0 + 472 >> 2] >> 2] & 255]($0); - FUNCTION_TABLE_vi[HEAP32[(HEAP32[$0 + 452 >> 2] | 0) + 8 >> 2] & 255]($0); - if (!(HEAP32[$0 + 68 >> 2] | 0)) { - if (!(HEAP32[$2 + 16 >> 2] | 0)) FUNCTION_TABLE_vi[HEAP32[HEAP32[$0 + 480 >> 2] >> 2] & 255]($0); - FUNCTION_TABLE_vi[HEAP32[HEAP32[$0 + 476 >> 2] >> 2] & 255]($0); - if (HEAP32[$15 >> 2] | 0) FUNCTION_TABLE_vii[HEAP32[HEAP32[$0 + 484 >> 2] >> 2] & 255]($0, HEAP32[$3 >> 2] | 0); - FUNCTION_TABLE_vii[HEAP32[HEAP32[$0 + 456 >> 2] >> 2] & 255]($0, (HEAP32[$3 >> 2] | 0) == 0 ? 0 : 3); - FUNCTION_TABLE_vii[HEAP32[HEAP32[$0 + 448 >> 2] >> 2] & 255]($0, 0); + if (($retval$sroa$0$0$copyload$i | 0) != ($1 | 0)) { + $6 = HEAP32[$1 >> 2] | 0; + HEAP32[$1 >> 2] = HEAP32[$retval$sroa$0$0$copyload$i >> 2]; + HEAP32[$retval$sroa$0$0$copyload$i >> 2] = $6; + $second$i$i = $1 + 4 | 0; + $second3$i$i = $retval$sroa$0$0$copyload$i + 4 | 0; + $8 = HEAP32[$second$i$i >> 2] | 0; + HEAP32[$second$i$i >> 2] = HEAP32[$second3$i$i >> 2]; + HEAP32[$second3$i$i >> 2] = $8; } - } else { - HEAP32[$3 >> 2] = 0; - FUNCTION_TABLE_vii[HEAP32[HEAP32[$0 + 484 >> 2] >> 2] & 255]($0, 0); - FUNCTION_TABLE_vii[HEAP32[HEAP32[$0 + 456 >> 2] >> 2] & 255]($0, 2); - FUNCTION_TABLE_vii[HEAP32[HEAP32[$0 + 448 >> 2] >> 2] & 255]($0, 2); - } - $74 = HEAP32[$0 + 8 >> 2] | 0; - if (!$74) return; - $77 = HEAP32[$2 + 12 >> 2] | 0; - HEAP32[$74 + 12 >> 2] = $77; - $82 = ((HEAP32[$3 >> 2] | 0) == 0 ? 1 : 2) + $77 | 0; - $83 = $74 + 16 | 0; - HEAP32[$83 >> 2] = $82; - if (!(HEAP32[$0 + 64 >> 2] | 0)) return; - if (HEAP32[(HEAP32[$0 + 460 >> 2] | 0) + 20 >> 2] | 0) return; - HEAP32[$83 >> 2] = ((HEAP32[$0 + 108 >> 2] | 0) == 0 ? 1 : 2) + $82; - return; -} - -function _jinit_d_coef_controller($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$05257 = 0, $$05356 = 0, $$pre$phiZ2D = 0, $10 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $2 = 0, $24 = 0, $29 = 0, $33 = 0, $34 = 0, $46 = 0, $5 = 0, $spec$select = 0; - $2 = $0 + 4 | 0; - $5 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[$2 >> 2] >> 2] & 63]($0, 1, 116) | 0; - HEAP32[$0 + 452 >> 2] = $5; - HEAP32[$5 >> 2] = 197; - HEAP32[$5 + 8 >> 2] = 198; - HEAP32[$5 + 112 >> 2] = 0; - if (!$1) { - $46 = FUNCTION_TABLE_iiii[HEAP32[(HEAP32[$2 >> 2] | 0) + 4 >> 2] & 63]($0, 1, 1280) | 0; - HEAP32[$5 + 32 >> 2] = $46; - HEAP32[$5 + 36 >> 2] = $46 + 128; - HEAP32[$5 + 40 >> 2] = $46 + 256; - HEAP32[$5 + 44 >> 2] = $46 + 384; - HEAP32[$5 + 48 >> 2] = $46 + 512; - HEAP32[$5 + 52 >> 2] = $46 + 640; - HEAP32[$5 + 56 >> 2] = $46 + 768; - HEAP32[$5 + 60 >> 2] = $46 + 896; - HEAP32[$5 + 64 >> 2] = $46 + 1024; - HEAP32[$5 + 68 >> 2] = $46 + 1152; - if (!(HEAP32[$0 + 436 >> 2] | 0)) _memset($46 | 0, 0, 1280) | 0; - HEAP32[$5 + 4 >> 2] = 84; - HEAP32[$5 + 12 >> 2] = 58; - HEAP32[$5 + 16 >> 2] = 0; - return; + $incdec$ptr$i2 = $1 + 8 | 0; + HEAP32[$__first >> 2] = $incdec$ptr$i2; + $1 = $incdec$ptr$i2; } - $10 = $0 + 36 | 0; - if ((HEAP32[$10 >> 2] | 0) > 0) { - $15 = $0 + 224 | 0; - $16 = $5 + 72 | 0; - $$05257 = 0; - $$05356 = HEAP32[$0 + 216 >> 2] | 0; - while (1) { - $17 = $$05356 + 12 | 0; - $18 = HEAP32[$17 >> 2] | 0; - $spec$select = (HEAP32[$15 >> 2] | 0) == 0 ? $18 : $18 * 3 | 0; - $24 = HEAP32[(HEAP32[$2 >> 2] | 0) + 20 >> 2] | 0; - $29 = _jround_up(HEAP32[$$05356 + 28 >> 2] | 0, HEAP32[$$05356 + 8 >> 2] | 0) | 0; - $33 = _jround_up(HEAP32[$$05356 + 32 >> 2] | 0, HEAP32[$17 >> 2] | 0) | 0; - $34 = FUNCTION_TABLE_iiiiiii[$24 & 63]($0, 1, 1, $29, $33, $spec$select) | 0; - HEAP32[$16 + ($$05257 << 2) >> 2] = $34; - $$05257 = $$05257 + 1 | 0; - if (($$05257 | 0) >= (HEAP32[$10 >> 2] | 0)) { - $$pre$phiZ2D = $16; - break; - } else $$05356 = $$05356 + 88 | 0; - } - } else $$pre$phiZ2D = $5 + 72 | 0; - HEAP32[$5 + 4 >> 2] = 83; - HEAP32[$5 + 12 >> 2] = 57; - HEAP32[$5 + 16 >> 2] = $$pre$phiZ2D; return; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E17parseUnscopedNameEPNS5_9NameStateE($0, $1) { +function __ZNKSt3__28time_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_putES4_RNS_8ios_baseEcPK2tmcc($this, $__s, $0, $1, $__tm, $__fmt, $__mod) { + $this = $this | 0; + $__s = $__s | 0; $0 = $0 | 0; $1 = $1 | 0; - var $$0 = 0, $$1 = 0, $$byval_copy1 = 0, $2 = 0, $3 = 0, $7 = 0, label = 0, sp = 0; + $__tm = $__tm | 0; + $__fmt = $__fmt | 0; + $__mod = $__mod | 0; + var $2 = 0, $4 = 0, $5 = 0, $7 = 0, $__first$addr$0$i$i = 0, $__nar = 0, $__ne = 0, $__nout_$i$i$i$i = 0, $agg$tmp1$sroa$0$0$i = 0, $agg$tmp1$sroa$0$1$i = 0, $call$i$i$i$i = 0, $call4$i$i$i = 0, $retval$0$i$i$i$i = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $$byval_copy1 = sp + 16 | 0; - $2 = sp + 8 | 0; - $3 = sp; - __ZN12_GLOBAL__N_110StringViewC2EPKc($2, 55114); - HEAP32[$$byval_copy1 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy1 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - if (!(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($0, $$byval_copy1) | 0) ? (__ZN12_GLOBAL__N_110StringViewC2EPKc($3, 55118), HEAP32[$$byval_copy1 >> 2] = HEAP32[$3 >> 2], HEAP32[$$byval_copy1 + 4 >> 2] = HEAP32[$3 + 4 >> 2], !(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($0, $$byval_copy1) | 0)) : 0) $$1 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E20parseUnqualifiedNameEPNS5_9NameStateE(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0, $1) | 0; else { - $7 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E20parseUnqualifiedNameEPNS5_9NameStateE(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0, $1) | 0; - HEAP32[$$byval_copy1 >> 2] = $7; - if (!$7) $$0 = 0; else $$0 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_16StdQualifiedNameEJRPNS0_4NodeEEEES9_DpOT0_($0, $$byval_copy1) | 0; - $$1 = $$0; + STACKTOP = STACKTOP + 112 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(112); + $__nar = sp; + $__ne = sp + 100 | 0; + HEAP32[$__ne >> 2] = $__nar + 100; + __ZNKSt3__210__time_put8__do_putEPcRS1_PK2tmcc($this + 8 | 0, $__nar, $__ne, $__tm, $__fmt, $__mod); + $2 = HEAP32[$__ne >> 2] | 0; + $__first$addr$0$i$i = $__nar; + $agg$tmp1$sroa$0$0$i = HEAP32[$__s >> 2] | 0; + while (1) { + if (($__first$addr$0$i$i | 0) == ($2 | 0)) break; + $4 = HEAP8[$__first$addr$0$i$i >> 0] | 0; + if (!$agg$tmp1$sroa$0$0$i) $agg$tmp1$sroa$0$1$i = 0; else { + $__nout_$i$i$i$i = $agg$tmp1$sroa$0$0$i + 24 | 0; + $5 = HEAP32[$__nout_$i$i$i$i >> 2] | 0; + if (($5 | 0) == (HEAP32[$agg$tmp1$sroa$0$0$i + 28 >> 2] | 0)) { + $7 = HEAP32[(HEAP32[$agg$tmp1$sroa$0$0$i >> 2] | 0) + 52 >> 2] | 0; + $call$i$i$i$i = __ZNSt3__211char_traitsIcE11to_int_typeEc($4) | 0; + $retval$0$i$i$i$i = FUNCTION_TABLE_iii[$7 & 127]($agg$tmp1$sroa$0$0$i, $call$i$i$i$i) | 0; + } else { + HEAP32[$__nout_$i$i$i$i >> 2] = $5 + 1; + HEAP8[$5 >> 0] = $4; + $retval$0$i$i$i$i = __ZNSt3__211char_traitsIcE11to_int_typeEc($4) | 0; + } + $call4$i$i$i = __ZNSt3__211char_traitsIcE11eq_int_typeEii($retval$0$i$i$i$i, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0; + $agg$tmp1$sroa$0$1$i = $call4$i$i$i ? 0 : $agg$tmp1$sroa$0$0$i; + } + $__first$addr$0$i$i = $__first$addr$0$i$i + 1 | 0; + $agg$tmp1$sroa$0$0$i = $agg$tmp1$sroa$0$1$i; } STACKTOP = sp; - return $$1 | 0; + return $agg$tmp1$sroa$0$0$i | 0; } -function __ZNSt3__211__stdoutbufIwE8overflowEj($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$032 = 0, $$4 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $28 = 0, $3 = 0, $38 = 0, $4 = 0, $5 = 0, $8 = 0, label = 0, sp = 0; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E19parseUnresolvedTypeEv($this) { + $this = $this | 0; + var $TP = 0, $call12 = 0, $call3 = 0, $retval$0 = 0, $retval$1 = 0, $retval$2 = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $2 = sp + 16 | 0; - $3 = sp + 8 | 0; - $4 = sp + 4 | 0; - $5 = sp; - do if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj($1, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) { - $8 = __ZNSt3__211char_traitsIwE12to_char_typeEj($1) | 0; - HEAP32[$3 >> 2] = $8; - if (HEAP8[$0 + 44 >> 0] | 0) { - if ((_fwrite($3, 4, 1, HEAP32[$0 + 32 >> 2] | 0) | 0) == 1) { - label = 15; - break; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $TP = sp; + switch ((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($this, 0) | 0) << 24 >> 24) { + case 84: + { + $call3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E18parseTemplateParamEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0) | 0; + HEAP32[$TP >> 2] = $call3; + if (!$call3) $retval$0 = 0; else { + __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE9push_backERKS3_($this + 148 | 0, $TP); + $retval$0 = $call3; } - $$4 = __ZNSt3__211char_traitsIwE3eofEv() | 0; + $retval$2 = $retval$0; break; } - HEAP32[$4 >> 2] = $2; - $17 = $3 + 4 | 0; - $18 = $0 + 36 | 0; - $19 = $0 + 40 | 0; - $20 = $2 + 8 | 0; - $21 = $2; - $22 = $0 + 32 | 0; - $$032 = $3; - while (1) { - $23 = HEAP32[$18 >> 2] | 0; - $28 = FUNCTION_TABLE_iiiiiiiii[HEAP32[(HEAP32[$23 >> 2] | 0) + 12 >> 2] & 15]($23, HEAP32[$19 >> 2] | 0, $$032, $17, $5, $2, $20, $4) | 0; - if ((HEAP32[$5 >> 2] | 0) == ($$032 | 0)) { - label = 14; - break; - } - if (($28 | 0) == 3) { - label = 8; - break; - } - if ($28 >>> 0 >= 2) { - label = 14; - break; - } - $38 = (HEAP32[$4 >> 2] | 0) - $21 | 0; - if ((_fwrite($2, 1, $38, HEAP32[$22 >> 2] | 0) | 0) != ($38 | 0)) { - label = 14; - break; - } - if (($28 | 0) == 1) $$032 = HEAP32[$5 >> 2] | 0; else { - label = 13; - break; + case 68: + { + $call12 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E13parseDecltypeEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0) | 0; + HEAP32[$TP >> 2] = $call12; + if (!$call12) $retval$1 = 0; else { + __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE9push_backERKS3_($this + 148 | 0, $TP); + $retval$1 = $call12; } - } - if ((label | 0) == 8) if ((_fwrite($$032, 1, 1, HEAP32[$22 >> 2] | 0) | 0) == 1) label = 13; else label = 14; - if ((label | 0) == 13) { - label = 15; - break; - } else if ((label | 0) == 14) { - $$4 = __ZNSt3__211char_traitsIwE3eofEv() | 0; + $retval$2 = $retval$1; break; } - } else label = 15; while (0); - if ((label | 0) == 15) $$4 = __ZNSt3__211char_traitsIwE7not_eofEj($1) | 0; + default: + $retval$2 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E17parseSubstitutionEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0) | 0; + } STACKTOP = sp; - return $$4 | 0; + return $retval$2 | 0; } -function __ZNSt3__211__stdoutbufIcE8overflowEi($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$032 = 0, $$4 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $28 = 0, $3 = 0, $38 = 0, $4 = 0, $5 = 0, $8 = 0, label = 0, sp = 0; +function __ZNKSt3__27num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_putES4_RNS_8ios_baseEcPKv($this, $__s, $__iob, $__fl, $__v) { + $this = $this | 0; + $__s = $__s | 0; + $__iob = $__iob | 0; + $__fl = $__fl | 0; + $__v = $__v | 0; + var $__fmt = 0, $__nar = 0, $__o = 0, $add$ptr = 0, $add$ptr13 = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, $call = 0, $call$i = 0, $call21 = 0, $call3 = 0, $call6 = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $2 = sp + 16 | 0; - $3 = sp + 8 | 0; - $4 = sp + 4 | 0; - $5 = sp; - do if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii($1, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) { - $8 = __ZNSt3__211char_traitsIcE12to_char_typeEi($1) | 0; - HEAP8[$3 >> 0] = $8; - if (HEAP8[$0 + 44 >> 0] | 0) { - if ((_fwrite($3, 1, 1, HEAP32[$0 + 32 >> 2] | 0) | 0) == 1) { - label = 15; - break; - } - $$4 = __ZNSt3__211char_traitsIcE3eofEv() | 0; - break; - } - HEAP32[$4 >> 2] = $2; - $17 = $3 + 1 | 0; - $18 = $0 + 36 | 0; - $19 = $0 + 40 | 0; - $20 = $2 + 8 | 0; - $21 = $2; - $22 = $0 + 32 | 0; - $$032 = $3; + STACKTOP = STACKTOP + 96 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(96); + $agg$tmp$byval_copy = sp + 72 | 0; + $__fmt = sp + 80 | 0; + $__nar = sp + 48 | 0; + $__o = sp; + $agg$tmp = sp + 76 | 0; + HEAP8[$__fmt >> 0] = HEAP8[60020] | 0; + HEAP8[$__fmt + 1 >> 0] = HEAP8[60021] | 0; + HEAP8[$__fmt + 2 >> 0] = HEAP8[60022] | 0; + HEAP8[$__fmt + 3 >> 0] = HEAP8[60023] | 0; + HEAP8[$__fmt + 4 >> 0] = HEAP8[60024] | 0; + HEAP8[$__fmt + 5 >> 0] = HEAP8[60025] | 0; + $call = __ZNSt3__26__clocEv() | 0; + HEAP32[$agg$tmp$byval_copy >> 2] = $__v; + $call3 = __ZNSt3__219__libcpp_snprintf_lEPcmP15__locale_structPKcz($__nar, 20, $call, $__fmt, $agg$tmp$byval_copy) | 0; + $add$ptr = $__nar + $call3 | 0; + $call6 = __ZNSt3__214__num_put_base18__identify_paddingEPcS1_RKNS_8ios_baseE($__nar, $add$ptr, $__iob) | 0; + __ZNKSt3__28ios_base6getlocEv($agg$tmp$byval_copy, $__iob); + $call$i = __ZNKSt3__26locale9use_facetERNS0_2idE($agg$tmp$byval_copy, 67360) | 0; + __ZNSt3__26localeD2Ev($agg$tmp$byval_copy); + FUNCTION_TABLE_iiiii[HEAP32[(HEAP32[$call$i >> 2] | 0) + 32 >> 2] & 15]($call$i, $__nar, $add$ptr, $__o) | 0; + $add$ptr13 = $__o + $call3 | 0; + HEAP32[$agg$tmp >> 2] = HEAP32[$__s >> 2]; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + $call21 = __ZNSt3__216__pad_and_outputIcNS_11char_traitsIcEEEENS_19ostreambuf_iteratorIT_T0_EES6_PKS4_S8_S8_RNS_8ios_baseES4_($agg$tmp$byval_copy, $__o, ($call6 | 0) == ($add$ptr | 0) ? $add$ptr13 : $__o + ($call6 - $__nar) | 0, $add$ptr13, $__iob, $__fl) | 0; + STACKTOP = sp; + return $call21 | 0; +} + +function ___mo_lookup($p, $size, $s) { + $p = $p | 0; + $size = $size | 0; + $s = $s | 0; + var $add = 0, $add16 = 0, $add42 = 0, $b$0 = 0, $call = 0, $call18 = 0, $call2 = 0, $call25 = 0, $call36 = 0, $call4 = 0, $call44 = 0, $call51 = 0, $cmp71 = 0, $div12 = 0, $div13 = 0, $div14 = 0, $mul15 = 0, $n$0 = 0, $retval$4 = 0, $sub = 0, $sub5 = 0; + $sub = (HEAP32[$p >> 2] | 0) + 1794895138 | 0; + $call = _swapc(HEAP32[$p + 8 >> 2] | 0, $sub) | 0; + $call2 = _swapc(HEAP32[$p + 12 >> 2] | 0, $sub) | 0; + $call4 = _swapc(HEAP32[$p + 16 >> 2] | 0, $sub) | 0; + L1 : do if (($call >>> 0 < $size >>> 2 >>> 0 ? ($sub5 = $size - ($call << 2) | 0, $call2 >>> 0 < $sub5 >>> 0 & $call4 >>> 0 < $sub5 >>> 0) : 0) ? (($call4 | $call2) & 3 | 0) == 0 : 0) { + $div12 = $call2 >>> 2; + $div13 = $call4 >>> 2; + $b$0 = 0; + $n$0 = $call; while (1) { - $23 = HEAP32[$18 >> 2] | 0; - $28 = FUNCTION_TABLE_iiiiiiiii[HEAP32[(HEAP32[$23 >> 2] | 0) + 12 >> 2] & 15]($23, HEAP32[$19 >> 2] | 0, $$032, $17, $5, $2, $20, $4) | 0; - if ((HEAP32[$5 >> 2] | 0) == ($$032 | 0)) { - label = 14; - break; - } - if (($28 | 0) == 3) { - label = 8; - break; - } - if ($28 >>> 0 >= 2) { - label = 14; - break; + $div14 = $n$0 >>> 1; + $add = $b$0 + $div14 | 0; + $mul15 = $add << 1; + $add16 = $mul15 + $div12 | 0; + $call18 = _swapc(HEAP32[$p + ($add16 << 2) >> 2] | 0, $sub) | 0; + $call25 = _swapc(HEAP32[$p + ($add16 + 1 << 2) >> 2] | 0, $sub) | 0; + if (!($call25 >>> 0 < $size >>> 0 & $call18 >>> 0 < ($size - $call25 | 0) >>> 0)) { + $retval$4 = 0; + break L1; } - $38 = (HEAP32[$4 >> 2] | 0) - $21 | 0; - if ((_fwrite($2, 1, $38, HEAP32[$22 >> 2] | 0) | 0) != ($38 | 0)) { - label = 14; - break; + if (HEAP8[$p + ($call25 + $call18) >> 0] | 0) { + $retval$4 = 0; + break L1; } - if (($28 | 0) == 1) $$032 = HEAP32[$5 >> 2] | 0; else { - label = 13; - break; + $call36 = _strcmp($s, $p + $call25 | 0) | 0; + if (!$call36) break; + $cmp71 = ($call36 | 0) < 0; + if (($n$0 | 0) == 1) { + $retval$4 = 0; + break L1; } + $b$0 = $cmp71 ? $b$0 : $add; + $n$0 = $cmp71 ? $div14 : $n$0 - $div14 | 0; } - if ((label | 0) == 8) if ((_fwrite($$032, 1, 1, HEAP32[$22 >> 2] | 0) | 0) == 1) label = 13; else label = 14; - if ((label | 0) == 13) { - label = 15; - break; - } else if ((label | 0) == 14) { - $$4 = __ZNSt3__211char_traitsIcE3eofEv() | 0; - break; - } - } else label = 15; while (0); - if ((label | 0) == 15) $$4 = __ZNSt3__211char_traitsIcE7not_eofEi($1) | 0; - STACKTOP = sp; - return $$4 | 0; + $add42 = $mul15 + $div13 | 0; + $call44 = _swapc(HEAP32[$p + ($add42 << 2) >> 2] | 0, $sub) | 0; + $call51 = _swapc(HEAP32[$p + ($add42 + 1 << 2) >> 2] | 0, $sub) | 0; + if ($call51 >>> 0 < $size >>> 0 & $call44 >>> 0 < ($size - $call51 | 0) >>> 0) $retval$4 = (HEAP8[$p + ($call51 + $call44) >> 0] | 0) == 0 ? $p + $call51 | 0 : 0; else $retval$4 = 0; + } else $retval$4 = 0; while (0); + return $retval$4 | 0; } -function __ZN6vision11FindInliersERNSt3__26vectorINS_7match_tENS0_9allocatorIS2_EEEEPKfRKNS1_INS_12FeaturePointENS3_IS9_EEEESD_RKS5_f($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = +$5; - var $$0 = 0, $13 = 0, $14 = 0, $15 = 0, $17 = 0, $23 = 0, $24 = 0, $37 = 0.0, $50 = 0, $51 = 0, $54 = 0, $59 = 0, $6 = 0, $60 = 0, $7 = 0.0, $8 = 0, sp = 0; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseCallOffsetEv($this) { + $this = $this | 0; + var $$ph = 0, $0 = 0, $1 = 0, $ref$tmp = 0, $ref$tmp10 = 0, $retval$0 = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $6 = sp; - $7 = +__ZN6vision3sqrIfEET_S1_($5); - $8 = $4 + 4 | 0; - __ZNSt3__26vectorIN6vision7match_tENS_9allocatorIS2_EEE7reserveEm($0, (HEAP32[$8 >> 2] | 0) - (HEAP32[$4 >> 2] | 0) >> 3); - $13 = $6 + 4 | 0; - $14 = $0 + 4 | 0; - $15 = $0 + 8 | 0; - $$0 = 0; - while (1) { - $17 = HEAP32[$4 >> 2] | 0; - if ($$0 >>> 0 >= (HEAP32[$8 >> 2] | 0) - $17 >> 3 >>> 0) break; - $23 = HEAP32[$17 + ($$0 << 3) + 4 >> 2] | 0; - $24 = HEAP32[$3 >> 2] | 0; - __ZN6vision35MultiplyPointHomographyInhomogenousIfEEvRT_S2_PKS1_S1_S1_($6, $13, $1, +HEAPF32[$24 + ($23 * 20 | 0) >> 2], +HEAPF32[$24 + ($23 * 20 | 0) + 4 >> 2]); - $37 = +__ZN6vision3sqrIfEET_S1_(+HEAPF32[$6 >> 2] - +HEAPF32[(HEAP32[$2 >> 2] | 0) + ((HEAP32[(HEAP32[$4 >> 2] | 0) + ($$0 << 3) >> 2] | 0) * 20 | 0) >> 2]); - do if ($37 + +__ZN6vision3sqrIfEET_S1_(+HEAPF32[$13 >> 2] - +HEAPF32[(HEAP32[$2 >> 2] | 0) + ((HEAP32[(HEAP32[$4 >> 2] | 0) + ($$0 << 3) >> 2] | 0) * 20 | 0) + 4 >> 2]) <= $7) { - $50 = (HEAP32[$4 >> 2] | 0) + ($$0 << 3) | 0; - $51 = HEAP32[$14 >> 2] | 0; - if (($51 | 0) == (HEAP32[$15 >> 2] | 0)) { - __ZNSt3__26vectorIN6vision7match_tENS_9allocatorIS2_EEE21__push_back_slow_pathIRKS2_EEvOT_($0, $50); - break; - } else { - $54 = $50; - $59 = HEAP32[$54 + 4 >> 2] | 0; - $60 = $51; - HEAP32[$60 >> 2] = HEAP32[$54 >> 2]; - HEAP32[$60 + 4 >> 2] = $59; - HEAP32[$14 >> 2] = (HEAP32[$14 >> 2] | 0) + 8; - break; - } - } while (0); - $$0 = $$0 + 1 | 0; + $ref$tmp = sp + 8 | 0; + $ref$tmp10 = sp; + if (!(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($this, 104) | 0)) if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($this, 118) | 0) { + __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E11parseNumberEb($ref$tmp, $this, 1); + if (!(__ZNK12_GLOBAL__N_110StringView5emptyEv($ref$tmp) | 0) ? __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($this, 95) | 0 : 0) { + __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E11parseNumberEb($ref$tmp10, $this, 1); + if (__ZNK12_GLOBAL__N_110StringView5emptyEv($ref$tmp10) | 0) $$ph = 1; else $$ph = (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($this, 95) | 0) ^ 1; + $1 = $$ph; + } else $1 = 1; + $retval$0 = $1; + } else $retval$0 = 1; else { + __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E11parseNumberEb($ref$tmp, $this, 1); + if (__ZNK12_GLOBAL__N_110StringView5emptyEv($ref$tmp) | 0) $0 = 1; else $0 = (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($this, 95) | 0) ^ 1; + $retval$0 = $0; } STACKTOP = sp; + return $retval$0 | 0; +} + +function __ZNSt3__2L11init_wweeksEv() { + var $__i$0$i$i = 0, $arrayctor$cur = 0; + if ((HEAP8[65584] | 0) == 0 ? ___cxa_guard_acquire(65584) | 0 : 0) { + $arrayctor$cur = 64976; + do { + HEAP32[$arrayctor$cur >> 2] = 0; + HEAP32[$arrayctor$cur + 4 >> 2] = 0; + HEAP32[$arrayctor$cur + 8 >> 2] = 0; + $__i$0$i$i = 0; + while (1) { + if (($__i$0$i$i | 0) == 3) break; + HEAP32[$arrayctor$cur + ($__i$0$i$i << 2) >> 2] = 0; + $__i$0$i$i = $__i$0$i$i + 1 | 0; + } + $arrayctor$cur = $arrayctor$cur + 12 | 0; + } while (($arrayctor$cur | 0) != 65144); + ___cxa_guard_release(65584); + } + __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(64976, 22348) | 0; + __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(64988, 22376) | 0; + __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(65e3, 22404) | 0; + __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(65012, 22436) | 0; + __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(65024, 22476) | 0; + __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(65036, 22512) | 0; + __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(65048, 22540) | 0; + __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(65060, 22576) | 0; + __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(65072, 22592) | 0; + __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(65084, 22608) | 0; + __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(65096, 22624) | 0; + __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(65108, 22640) | 0; + __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(65120, 22656) | 0; + __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(65132, 22672) | 0; return; } -function _ycck_cmyk_convert($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $$07890$us = 0, $$08089$us = 0, $$08188$us = 0, $$091$us = 0, $$in = 0, $$neg83$us = 0, $10 = 0, $12 = 0, $14 = 0, $16 = 0, $18 = 0, $20 = 0, $21 = 0, $22 = 0, $27 = 0, $30 = 0, $33 = 0, $36 = 0, $43 = 0, $46 = 0, $6 = 0, $8 = 0, $$in$looptemp = 0; - $6 = HEAP32[$0 + 480 >> 2] | 0; - $8 = HEAP32[$0 + 112 >> 2] | 0; - $10 = HEAP32[$0 + 336 >> 2] | 0; - $12 = HEAP32[$6 + 8 >> 2] | 0; - $14 = HEAP32[$6 + 12 >> 2] | 0; - $16 = HEAP32[$6 + 16 >> 2] | 0; - $18 = HEAP32[$6 + 20 >> 2] | 0; - if (($4 | 0) <= 0) return; - $20 = $1 + 4 | 0; - $21 = $1 + 8 | 0; - $22 = $1 + 12 | 0; - if (!$8) return; - $$07890$us = $3; - $$091$us = $2; - $$in = $4; - while (1) { - $$in$looptemp = $$in; - $$in = $$in + -1 | 0; - $27 = HEAP32[(HEAP32[$1 >> 2] | 0) + ($$091$us << 2) >> 2] | 0; - $30 = HEAP32[(HEAP32[$20 >> 2] | 0) + ($$091$us << 2) >> 2] | 0; - $33 = HEAP32[(HEAP32[$21 >> 2] | 0) + ($$091$us << 2) >> 2] | 0; - $36 = HEAP32[(HEAP32[$22 >> 2] | 0) + ($$091$us << 2) >> 2] | 0; - $$091$us = $$091$us + 1 | 0; - $$08089$us = HEAP32[$$07890$us >> 2] | 0; - $$08188$us = 0; +function __ZNSt3__2L10init_weeksEv() { + var $__i$0$i$i = 0, $arrayctor$cur = 0; + if ((HEAP8[65504] | 0) == 0 ? ___cxa_guard_acquire(65504) | 0 : 0) { + $arrayctor$cur = 64480; + do { + HEAP32[$arrayctor$cur >> 2] = 0; + HEAP32[$arrayctor$cur + 4 >> 2] = 0; + HEAP32[$arrayctor$cur + 8 >> 2] = 0; + $__i$0$i$i = 0; + while (1) { + if (($__i$0$i$i | 0) == 3) break; + HEAP32[$arrayctor$cur + ($__i$0$i$i << 2) >> 2] = 0; + $__i$0$i$i = $__i$0$i$i + 1 | 0; + } + $arrayctor$cur = $arrayctor$cur + 12 | 0; + } while (($arrayctor$cur | 0) != 64648); + ___cxa_guard_release(65504); + } + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(64480, 60431) | 0; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(64492, 60438) | 0; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(64504, 60445) | 0; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(64516, 60453) | 0; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(64528, 60463) | 0; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(64540, 60472) | 0; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(64552, 60479) | 0; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(64564, 60488) | 0; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(64576, 60492) | 0; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(64588, 60496) | 0; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(64600, 60500) | 0; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(64612, 60504) | 0; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(64624, 60508) | 0; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(64636, 60512) | 0; + return; +} + +function __ZNSt3__29__sift_upIRNS_4lessIN6vision17PriorityQueueItemILi96EEEEENS_11__wrap_iterIPS4_EEEEvT0_SA_T_NS_15iterator_traitsISA_E15difference_typeE($__first, $__last, $__comp, $__len) { + $__first = $__first | 0; + $__last = $__last | 0; + $__comp = $__comp | 0; + $__len = $__len | 0; + var $0 = 0, $12 = 0, $17 = 0, $18 = 0, $18$phi = 0, $19 = 0, $2 = 0, $23 = 0, $28 = 0, $29 = 0, $7 = 0, $8 = 0, $__len$addr$0 = 0, $__ptr$sroa$0$0$in = 0, $__t = 0, $add$ptr$i$i = 0, $add$ptr$i$i12 = 0, $div = 0, $incdec$ptr$i = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $__t = sp; + if (($__len | 0) > 1 ? ($div = ($__len + -2 | 0) / 2 | 0, $0 = HEAP32[$__first >> 2] | 0, $add$ptr$i$i = $0 + ($div << 3) | 0, $incdec$ptr$i = (HEAP32[$__last >> 2] | 0) + -8 | 0, HEAP32[$__last >> 2] = $incdec$ptr$i, __ZNK6vision17PriorityQueueItemILi96EEltERKS1_($add$ptr$i$i, $incdec$ptr$i) | 0) : 0) { + $2 = $incdec$ptr$i; + $7 = HEAP32[$2 + 4 >> 2] | 0; + $8 = $__t; + HEAP32[$8 >> 2] = HEAP32[$2 >> 2]; + HEAP32[$8 + 4 >> 2] = $7; + $18 = $incdec$ptr$i; + $__len$addr$0 = $div; + $__ptr$sroa$0$0$in = $add$ptr$i$i; while (1) { - $43 = HEAPU8[$30 + $$08188$us >> 0] | 0; - $46 = HEAPU8[$33 + $$08188$us >> 0] | 0; - $$neg83$us = ~HEAP8[$27 + $$08188$us >> 0] & 255; - HEAP8[$$08089$us >> 0] = HEAP8[$10 + ($$neg83$us - (HEAP32[$12 + ($46 << 2) >> 2] | 0)) >> 0] | 0; - HEAP8[$$08089$us + 1 >> 0] = HEAP8[$10 + ($$neg83$us - ((HEAP32[$16 + ($46 << 2) >> 2] | 0) + (HEAP32[$18 + ($43 << 2) >> 2] | 0) >> 16)) >> 0] | 0; - HEAP8[$$08089$us + 2 >> 0] = HEAP8[$10 + ($$neg83$us - (HEAP32[$14 + ($43 << 2) >> 2] | 0)) >> 0] | 0; - HEAP8[$$08089$us + 3 >> 0] = HEAP8[$36 + $$08188$us >> 0] | 0; - $$08188$us = $$08188$us + 1 | 0; - if (($$08188$us | 0) == ($8 | 0)) break; else $$08089$us = $$08089$us + 4 | 0; + $12 = $__ptr$sroa$0$0$in; + $17 = HEAP32[$12 + 4 >> 2] | 0; + $19 = $18; + HEAP32[$19 >> 2] = HEAP32[$12 >> 2]; + HEAP32[$19 + 4 >> 2] = $17; + HEAP32[$__last >> 2] = $__ptr$sroa$0$0$in; + if (!$__len$addr$0) break; + $__len$addr$0 = ($__len$addr$0 + -1 | 0) / 2 | 0; + $add$ptr$i$i12 = $0 + ($__len$addr$0 << 3) | 0; + if (!(__ZNK6vision17PriorityQueueItemILi96EEltERKS1_($add$ptr$i$i12, $__t) | 0)) break; else { + $18$phi = $__ptr$sroa$0$0$in; + $__ptr$sroa$0$0$in = $add$ptr$i$i12; + $18 = $18$phi; + } } - if (($$in$looptemp | 0) <= 1) break; else $$07890$us = $$07890$us + 4 | 0; + $23 = $__t; + $28 = HEAP32[$23 + 4 >> 2] | 0; + $29 = $__ptr$sroa$0$0$in; + HEAP32[$29 >> 2] = HEAP32[$23 >> 2]; + HEAP32[$29 + 4 >> 2] = $28; + __ZN6vision17PriorityQueueItemILi96EED2Ev($__t); } + STACKTOP = sp; return; } -function __ZN6vision14VisualDatabaseINS_14FREAKExtractorENS_18BinaryFeatureStoreENS_20BinaryFeatureMatcherILi96EEEE11addKeyframeENSt3__210shared_ptrINS_8KeyframeILi96EEEEEi($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$pre$phi$iZ2D = 0, $10 = 0, $11 = 0, $12 = 0, $14 = 0, $16 = 0, $20 = 0, $22 = 0, $3 = 0, $4 = 0, $5 = 0, $8 = 0, sp = 0; +function __ZNSt3__26vectorIN6vision25DoGScaleInvariantDetector12FeaturePointENS_9allocatorIS3_EEE8__appendEm($this, $__n) { + $this = $this | 0; + $__n = $__n | 0; + var $1 = 0, $4 = 0, $__end_ = 0, $__v = 0, $__value_$i$i$i = 0, $add = 0, $call$i = 0, $mul$i = 0, $sub$ptr$div$i$i$i = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $3 = sp + 4 | 0; - $4 = sp; - HEAP32[$4 >> 2] = $2; - $5 = $0 + 72 | 0; - if (__ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_10shared_ptrIN6vision8KeyframeILi96EEEEEEENS_22__unordered_map_hasherIiS7_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS7_NS_8equal_toIiEELb1EEENS_9allocatorIS7_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS7_PvEEEERKT_($5, $4) | 0) { - $8 = ___cxa_allocate_exception(16) | 0; - HEAP32[$3 >> 2] = 0; - HEAP32[$3 + 4 >> 2] = 0; - HEAP32[$3 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm($3, 33157, __ZNSt3__211char_traitsIcE6lengthEPKc(33157) | 0); - __ZN6vision9ExceptionC2ERKNSt3__212basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE($8, $3); - ___cxa_throw($8 | 0, 13208, 5); - } - $10 = __ZNSt3__213unordered_mapIiNS_10shared_ptrIN6vision8KeyframeILi96EEEEENS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS5_EEEEEixERSC_($5, $4) | 0; - $11 = HEAP32[$1 >> 2] | 0; - HEAP32[$3 >> 2] = $11; - $12 = $3 + 4 | 0; - $14 = HEAP32[$1 + 4 >> 2] | 0; - HEAP32[$12 >> 2] = $14; - if (!$14) { - $$pre$phi$iZ2D = $12; - $22 = 0; - } else { - $16 = $14 + 4 | 0; - HEAP32[$16 >> 2] = (HEAP32[$16 >> 2] | 0) + 1; - $$pre$phi$iZ2D = $12; - $22 = HEAP32[$12 >> 2] | 0; - } - HEAP32[$3 >> 2] = HEAP32[$10 >> 2]; - HEAP32[$10 >> 2] = $11; - $20 = $10 + 4 | 0; - HEAP32[$$pre$phi$iZ2D >> 2] = HEAP32[$20 >> 2]; - HEAP32[$20 >> 2] = $22; - __ZNSt3__210shared_ptrIN6vision8KeyframeILi96EEEED2Ev($3); + STACKTOP = STACKTOP + 32 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); + $__v = sp; + $__value_$i$i$i = $this + 8 | 0; + $__end_ = $this + 4 | 0; + $1 = HEAP32[$__end_ >> 2] | 0; + do if ((((HEAP32[$__value_$i$i$i >> 2] | 0) - $1 | 0) / 36 | 0) >>> 0 < $__n >>> 0) { + $add = (($1 - (HEAP32[$this >> 2] | 0) | 0) / 36 | 0) + $__n | 0; + $call$i = __ZNKSt3__26vectorIN6vision25DoGScaleInvariantDetector12FeaturePointENS_9allocatorIS3_EEE8max_sizeEv($this) | 0; + if ($call$i >>> 0 < $add >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv($this); else { + $4 = HEAP32[$this >> 2] | 0; + $sub$ptr$div$i$i$i = ((HEAP32[$__value_$i$i$i >> 2] | 0) - $4 | 0) / 36 | 0; + $mul$i = $sub$ptr$div$i$i$i << 1; + __ZNSt3__214__split_bufferIN6vision25DoGScaleInvariantDetector12FeaturePointERNS_9allocatorIS3_EEEC2EmmS6_($__v, $sub$ptr$div$i$i$i >>> 0 < $call$i >>> 1 >>> 0 ? ($mul$i >>> 0 < $add >>> 0 ? $add : $mul$i) : $call$i, ((HEAP32[$__end_ >> 2] | 0) - $4 | 0) / 36 | 0, $this + 8 | 0); + __ZNSt3__214__split_bufferIN6vision25DoGScaleInvariantDetector12FeaturePointERNS_9allocatorIS3_EEE18__construct_at_endEm($__v, $__n); + __ZNSt3__26vectorIN6vision25DoGScaleInvariantDetector12FeaturePointENS_9allocatorIS3_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS3_RS5_EE($this, $__v); + __ZNSt3__214__split_bufferIN6vision25DoGScaleInvariantDetector12FeaturePointERNS_9allocatorIS3_EEED2Ev($__v); + break; + } + } else __ZNSt3__26vectorIN6vision25DoGScaleInvariantDetector12FeaturePointENS_9allocatorIS3_EEE18__construct_at_endEm($this, $__n); while (0); STACKTOP = sp; return; } -function _EV_create($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $$0 = 0, $$071 = 0, $$072 = 0, $$074 = 0, $$075 = 0, $$077 = 0, $$078 = 0.0, $$079 = 0, $$1 = 0, $$173 = 0, $$176 = 0, $$2 = 0, $$3 = 0, $29 = 0.0, $33 = 0.0, $34 = 0, $42 = 0.0, $5 = 0, $7 = 0; - $5 = HEAP32[$0 + 4 >> 2] | 0; - $7 = HEAP32[$0 + 8 >> 2] | 0; - L1 : do if (((((!(($5 | 0) < 1 | ($7 | 0) < 1) ? (HEAP32[$1 + 4 >> 2] | 0) == ($5 | 0) : 0) ? (HEAP32[$1 + 8 >> 2] | 0) == ($5 | 0) : 0) ? (HEAP32[$2 + 4 >> 2] | 0) == ($5 | 0) : 0) ? (HEAP32[$2 + 8 >> 2] | 0) == ($7 | 0) : 0) ? (HEAP32[$3 + 4 >> 2] | 0) == ($5 | 0) : 0) { - $$072 = 0; - $$075 = HEAP32[$2 >> 2] | 0; - while (1) { - if (($$072 | 0) >= ($5 | 0)) break; - $29 = +HEAPF64[(HEAP32[$3 >> 2] | 0) + ($$072 << 3) >> 3]; - if ($29 < 1.0e-16) break; - $33 = 1.0 / +Math_sqrt(+(+Math_abs(+$29))); - $34 = Math_imul($$072, $5) | 0; - $$071 = 0; - $$176 = $$075; - while (1) { - if (($$071 | 0) == ($7 | 0)) break; - $$0 = 0; - $$077 = (HEAP32[$1 >> 2] | 0) + ($34 << 3) | 0; - $$078 = 0.0; - $$079 = (HEAP32[$0 >> 2] | 0) + ($$071 << 3) | 0; - while (1) { - if (($$0 | 0) == ($5 | 0)) break; - $42 = $$078 + +HEAPF64[$$077 >> 3] * +HEAPF64[$$079 >> 3]; - $$0 = $$0 + 1 | 0; - $$077 = $$077 + 8 | 0; - $$078 = $42; - $$079 = $$079 + ($7 << 3) | 0; - } - HEAPF64[$$176 >> 3] = $33 * $$078; - $$071 = $$071 + 1 | 0; - $$176 = $$176 + 8 | 0; - } - $$072 = $$072 + 1 | 0; - $$075 = $$075 + ($7 << 3) | 0; - } - $$173 = $$072; - $$2 = $$075; - while (1) { - if (($$173 | 0) >= ($5 | 0)) { - $$074 = 0; - break L1; - } - HEAPF64[(HEAP32[$3 >> 2] | 0) + ($$173 << 3) >> 3] = 0.0; - $$1 = 0; - $$3 = $$2; +function __ZNSt3__26vectorINS0_INS0_INS_4pairIfmEENS_9allocatorIS2_EEEENS3_IS5_EEEENS3_IS7_EEE8__appendEm($this, $__n) { + $this = $this | 0; + $__n = $__n | 0; + var $1 = 0, $4 = 0, $__end_ = 0, $__v = 0, $__value_$i$i$i = 0, $add = 0, $call$i = 0, $mul$i = 0, $sub$ptr$div$i$i$i = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 32 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); + $__v = sp; + $__value_$i$i$i = $this + 8 | 0; + $__end_ = $this + 4 | 0; + $1 = HEAP32[$__end_ >> 2] | 0; + do if ((((HEAP32[$__value_$i$i$i >> 2] | 0) - $1 | 0) / 12 | 0) >>> 0 < $__n >>> 0) { + $add = (($1 - (HEAP32[$this >> 2] | 0) | 0) / 12 | 0) + $__n | 0; + $call$i = __ZNKSt3__26vectorINS0_INS0_INS_4pairIfmEENS_9allocatorIS2_EEEENS3_IS5_EEEENS3_IS7_EEE8max_sizeEv($this) | 0; + if ($call$i >>> 0 < $add >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv($this); else { + $4 = HEAP32[$this >> 2] | 0; + $sub$ptr$div$i$i$i = ((HEAP32[$__value_$i$i$i >> 2] | 0) - $4 | 0) / 12 | 0; + $mul$i = $sub$ptr$div$i$i$i << 1; + __ZNSt3__214__split_bufferINS_6vectorINS1_INS_4pairIfmEENS_9allocatorIS3_EEEENS4_IS6_EEEERNS4_IS8_EEEC2EmmSA_($__v, $sub$ptr$div$i$i$i >>> 0 < $call$i >>> 1 >>> 0 ? ($mul$i >>> 0 < $add >>> 0 ? $add : $mul$i) : $call$i, ((HEAP32[$__end_ >> 2] | 0) - $4 | 0) / 12 | 0, $this + 8 | 0); + __ZNSt3__214__split_bufferINS_6vectorINS1_INS_4pairIfmEENS_9allocatorIS3_EEEENS4_IS6_EEEERNS4_IS8_EEE18__construct_at_endEm($__v, $__n); + __ZNSt3__26vectorINS0_INS0_INS_4pairIfmEENS_9allocatorIS2_EEEENS3_IS5_EEEENS3_IS7_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS7_RS8_EE($this, $__v); + __ZNSt3__214__split_bufferINS_6vectorINS1_INS_4pairIfmEENS_9allocatorIS3_EEEENS4_IS6_EEEERNS4_IS8_EEED2Ev($__v); + break; + } + } else __ZNSt3__26vectorINS0_INS0_INS_4pairIfmEENS_9allocatorIS2_EEEENS3_IS5_EEEENS3_IS7_EEE18__construct_at_endEm($this, $__n); while (0); + STACKTOP = sp; + return; +} + +function _alloc_barray($cinfo, $pool_id, $blocksperrow, $numrows) { + $cinfo = $cinfo | 0; + $pool_id = $pool_id | 0; + $blocksperrow = $blocksperrow | 0; + $numrows = $numrows | 0; + var $0 = 0, $1 = 0, $3 = 0, $4 = 0, $5 = 0, $call = 0, $call13 = 0, $currow$039 = 0, $currow$1$lcssa = 0, $currow$134 = 0, $div = 0, $div$numrows = 0, $i$035 = 0, $mul = 0, $rowsperchunk$138 = 0, $sub = 0, $umax = 0, $workspace$036 = 0, $rowsperchunk$138$looptemp = 0; + $0 = HEAP32[$cinfo + 4 >> 2] | 0; + $mul = $blocksperrow << 7; + $div = 999999984 / ($mul >>> 0) | 0; + if ($mul >>> 0 > 999999984) { + $1 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$1 + 20 >> 2] = 72; + FUNCTION_TABLE_vi[HEAP32[$1 >> 2] & 255]($cinfo); + } + $div$numrows = ($div | 0) < ($numrows | 0) ? $div : $numrows; + HEAP32[$0 + 80 >> 2] = $div$numrows; + $call = _alloc_small($cinfo, $pool_id, $numrows << 2) | 0; + if (!$numrows) return $call | 0; + $3 = ~$numrows; + $currow$039 = 0; + $rowsperchunk$138 = $div$numrows; + while (1) { + $sub = $numrows - $currow$039 | 0; + $rowsperchunk$138$looptemp = $rowsperchunk$138; + $rowsperchunk$138 = $rowsperchunk$138 >>> 0 < $sub >>> 0 ? $rowsperchunk$138 : $sub; + $call13 = _alloc_large($cinfo, $pool_id, Math_imul($mul, $rowsperchunk$138) | 0) | 0; + if (!$rowsperchunk$138) $currow$1$lcssa = $currow$039; else { + $4 = $currow$039 + $3 | 0; + $5 = ~$rowsperchunk$138$looptemp; + $umax = $4 >>> 0 > $5 >>> 0 ? $4 : $5; + $currow$134 = $currow$039; + $i$035 = $rowsperchunk$138; + $workspace$036 = $call13; while (1) { - if (($$1 | 0) >= ($7 | 0)) break; - HEAPF64[$$3 >> 3] = 0.0; - $$1 = $$1 + 1 | 0; - $$3 = $$3 + 8 | 0; + HEAP32[$call + ($currow$134 << 2) >> 2] = $workspace$036; + $i$035 = $i$035 + -1 | 0; + if (!$i$035) break; else { + $currow$134 = $currow$134 + 1 | 0; + $workspace$036 = $workspace$036 + ($blocksperrow << 7) | 0; + } } - $$173 = $$173 + 1 | 0; - $$2 = $$3; + $currow$1$lcssa = $currow$039 + -1 - $umax | 0; } - } else $$074 = -1; while (0); - return $$074 | 0; -} - -function _icpGetJ_T_S($0) { - $0 = $0 | 0; - var $1 = 0, $10 = 0, $13 = 0, $15 = 0, $17 = 0, $2 = 0, $5 = 0, $7 = 0, $9 = 0, dest = 0, stop = 0; - $1 = $0 + 64 | 0; - dest = $0; - stop = dest + 64 | 0; - do { - HEAP32[dest >> 2] = 0; - dest = dest + 4 | 0; - } while ((dest | 0) < (stop | 0)); - HEAPF64[$1 >> 3] = -1.0; - $2 = $0 + 72 | 0; - HEAP32[$2 >> 2] = 0; - HEAP32[$2 + 4 >> 2] = 0; - HEAP32[$2 + 8 >> 2] = 0; - HEAP32[$2 + 12 >> 2] = 0; - HEAP32[$2 + 16 >> 2] = 0; - HEAP32[$2 + 20 >> 2] = 0; - HEAP32[$2 + 24 >> 2] = 0; - HEAP32[$2 + 28 >> 2] = 0; - HEAPF64[$0 + 104 >> 3] = 1.0; - $5 = $0 + 160 | 0; - dest = $0 + 112 | 0; - stop = dest + 48 | 0; - do { - HEAP32[dest >> 2] = 0; - dest = dest + 4 | 0; - } while ((dest | 0) < (stop | 0)); - HEAPF64[$5 >> 3] = 1.0; - $7 = $0 + 240 | 0; - dest = $0 + 168 | 0; - stop = dest + 72 | 0; - do { - HEAP32[dest >> 2] = 0; - dest = dest + 4 | 0; - } while ((dest | 0) < (stop | 0)); - HEAPF64[$7 >> 3] = -1.0; - $9 = $0 + 296 | 0; - dest = $0 + 248 | 0; - stop = dest + 48 | 0; - do { - HEAP32[dest >> 2] = 0; - dest = dest + 4 | 0; - } while ((dest | 0) < (stop | 0)); - HEAPF64[$9 >> 3] = -1.0; - $10 = $0 + 304 | 0; - HEAP32[$10 >> 2] = 0; - HEAP32[$10 + 4 >> 2] = 0; - HEAP32[$10 + 8 >> 2] = 0; - HEAP32[$10 + 12 >> 2] = 0; - HEAP32[$10 + 16 >> 2] = 0; - HEAP32[$10 + 20 >> 2] = 0; - HEAP32[$10 + 24 >> 2] = 0; - HEAP32[$10 + 28 >> 2] = 0; - HEAPF64[$0 + 336 >> 3] = 1.0; - $13 = $0 + 456 | 0; - dest = $0 + 344 | 0; - stop = dest + 112 | 0; - do { - HEAP32[dest >> 2] = 0; - dest = dest + 4 | 0; - } while ((dest | 0) < (stop | 0)); - HEAPF64[$13 >> 3] = 1.0; - $15 = $0 + 512 | 0; - dest = $0 + 464 | 0; - stop = dest + 48 | 0; - do { - HEAP32[dest >> 2] = 0; - dest = dest + 4 | 0; - } while ((dest | 0) < (stop | 0)); - HEAPF64[$15 >> 3] = 1.0; - $17 = $0 + 568 | 0; - dest = $0 + 520 | 0; - stop = dest + 48 | 0; - do { - HEAP32[dest >> 2] = 0; - dest = dest + 4 | 0; - } while ((dest | 0) < (stop | 0)); - HEAPF64[$17 >> 3] = 1.0; - return; + if ($currow$1$lcssa >>> 0 >= $numrows >>> 0) break; else $currow$039 = $currow$1$lcssa; + } + return $call | 0; } -function ___stpcpy($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0$lcssa = 0, $$025$lcssa = 0, $$02536 = 0, $$026$lcssa = 0, $$02642 = 0, $$027$lcssa = 0, $$02741 = 0, $$030 = 0, $$037 = 0, $$1 = 0, $$128 = 0, $$22934 = 0, $$235 = 0, $11 = 0, $12 = 0, $16 = 0, $2 = 0, $22 = 0, $23 = 0, $24 = 0, $31 = 0, $34 = 0, $35 = 0, $9 = 0, label = 0; - $2 = $1; - L1 : do if (!(($2 ^ $0) & 3)) { - if (!($2 & 3)) { - $$026$lcssa = $1; - $$027$lcssa = $0; - } else { - $$02642 = $1; - $$02741 = $0; - while (1) { - $9 = HEAP8[$$02642 >> 0] | 0; - HEAP8[$$02741 >> 0] = $9; - if (!($9 << 24 >> 24)) { - $$030 = $$02741; +function _jpeg_resync_to_restart($cinfo, $desired) { + $cinfo = $cinfo | 0; + $desired = $desired | 0; + var $0 = 0, $1 = 0, $8 = 0, $action$0 = 0, $add11 = 0, $add16 = 0, $add21 = 0, $add26 = 0, $cmp = 0, $marker$0$ph = 0, $or$cond30 = 0, $retval$0 = 0, $spec$select29 = 0, $unread_marker = 0, label = 0; + $unread_marker = $cinfo + 440 | 0; + $0 = HEAP32[$unread_marker >> 2] | 0; + $1 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$1 + 20 >> 2] = 124; + HEAP32[$1 + 24 >> 2] = $0; + HEAP32[(HEAP32[$cinfo >> 2] | 0) + 28 >> 2] = $desired; + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$cinfo >> 2] | 0) + 4 >> 2] & 255]($cinfo, -1); + $add11 = $desired + 1 & 7 | 208; + $add16 = $desired + 2 & 7 | 208; + $add21 = $desired + 7 & 7 | 208; + $add26 = $desired + 6 & 7 | 208; + $marker$0$ph = $0; + L1 : while (1) { + $cmp = ($marker$0$ph | 0) < 192; + $or$cond30 = ($marker$0$ph & -8 | 0) != 208 | ($marker$0$ph | 0) == ($add11 | 0) | ($marker$0$ph | 0) == ($add16 | 0); + $spec$select29 = ($marker$0$ph | 0) == ($add21 | 0) | ($marker$0$ph | 0) == ($add26 | 0) ? 2 : 1; + L3 : while (1) { + $action$0 = $cmp ? 2 : $or$cond30 ? 3 : $spec$select29; + $8 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$8 + 20 >> 2] = 99; + HEAP32[$8 + 24 >> 2] = $marker$0$ph; + HEAP32[(HEAP32[$cinfo >> 2] | 0) + 28 >> 2] = $action$0; + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$cinfo >> 2] | 0) + 4 >> 2] & 255]($cinfo, 4); + switch ($action$0 & 3) { + case 1: + { + label = 4; break L1; - } - $11 = $$02642 + 1 | 0; - $12 = $$02741 + 1 | 0; - if (!($11 & 3)) { - $$026$lcssa = $11; - $$027$lcssa = $12; break; - } else { - $$02642 = $11; - $$02741 = $12; } - } - } - $16 = HEAP32[$$026$lcssa >> 2] | 0; - if (!(($16 & -2139062144 ^ -2139062144) & $16 + -16843009)) { - $$02536 = $$027$lcssa; - $$037 = $$026$lcssa; - $24 = $16; - while (1) { - $22 = $$037 + 4 | 0; - $23 = $$02536 + 4 | 0; - HEAP32[$$02536 >> 2] = $24; - $24 = HEAP32[$22 >> 2] | 0; - if (($24 & -2139062144 ^ -2139062144) & $24 + -16843009 | 0) { - $$0$lcssa = $22; - $$025$lcssa = $23; + case 3: + { + $retval$0 = 1; + label = 7; + break L1; break; - } else { - $$02536 = $23; - $$037 = $22; } - } - } else { - $$0$lcssa = $$026$lcssa; - $$025$lcssa = $$027$lcssa; - } - $$1 = $$0$lcssa; - $$128 = $$025$lcssa; - label = 10; - } else { - $$1 = $1; - $$128 = $0; - label = 10; - } while (0); - if ((label | 0) == 10) { - $31 = HEAP8[$$1 >> 0] | 0; - HEAP8[$$128 >> 0] = $31; - if (!($31 << 24 >> 24)) $$030 = $$128; else { - $$22934 = $$128; - $$235 = $$1; - while (1) { - $$235 = $$235 + 1 | 0; - $34 = $$22934 + 1 | 0; - $35 = HEAP8[$$235 >> 0] | 0; - HEAP8[$34 >> 0] = $35; - if (!($35 << 24 >> 24)) { - $$030 = $34; + case 2: + { + break L3; break; - } else $$22934 = $34; + } + default: + {} } } - } - return $$030 | 0; -} - -function __ZNSt3__26vectorIN6vision7Point3dIfEENS_9allocatorIS3_EEE6assignIPS3_EENS_9enable_ifIXaasr21__is_forward_iteratorIT_EE5valuesr16is_constructibleIS3_NS_15iterator_traitsISA_E9referenceEEE5valueEvE4typeESA_SA_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $13 = 0, $14 = 0, $17 = 0, $18 = 0, $21 = 0, $31 = 0, $36 = 0, $39 = 0, $4 = 0, $6 = 0, $7 = 0, $9 = 0, $spec$select = 0; - $4 = $1; - $6 = ($2 - $4 | 0) / 12 | 0; - $7 = $0 + 8 | 0; - $9 = HEAP32[$0 >> 2] | 0; - $13 = $9; - do if ($6 >>> 0 > (((HEAP32[$7 >> 2] | 0) - $9 | 0) / 12 | 0) >>> 0) { - __ZNSt3__26vectorIN6vision7Point3dIfEENS_9allocatorIS3_EEE13__vdeallocateEv($0); - $31 = __ZNKSt3__26vectorIN6vision7Point3dIfEENS_9allocatorIS3_EEE8max_sizeEv($0) | 0; - if ($31 >>> 0 < $6 >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv($0); else { - $36 = ((HEAP32[$7 >> 2] | 0) - (HEAP32[$0 >> 2] | 0) | 0) / 12 | 0; - $39 = $36 << 1; - __ZNSt3__26vectorIN6vision7Point3dIfEENS_9allocatorIS3_EEE11__vallocateEm($0, $36 >>> 0 < $31 >>> 1 >>> 0 ? ($39 >>> 0 < $6 >>> 0 ? $6 : $39) : $31); - __ZNSt3__26vectorIN6vision7Point3dIfEENS_9allocatorIS3_EEE18__construct_at_endIPS3_EENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESA_SA_m($0, $1, $2, $6); - break; - } - } else { - $14 = $0 + 4 | 0; - $17 = ((HEAP32[$14 >> 2] | 0) - $9 | 0) / 12 | 0; - $18 = $6 >>> 0 > $17 >>> 0; - $spec$select = $18 ? $1 + ($17 * 12 | 0) | 0 : $2; - $21 = $spec$select - $4 | 0; - if ($21 | 0) _memmove($9 | 0, $1 | 0, $21 | 0) | 0; - if ($18) { - __ZNSt3__26vectorIN6vision7Point3dIfEENS_9allocatorIS3_EEE18__construct_at_endIPS3_EENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESA_SA_m($0, $spec$select, $2, $6 - (((HEAP32[$14 >> 2] | 0) - (HEAP32[$0 >> 2] | 0) | 0) / 12 | 0) | 0); - break; - } else { - HEAP32[$14 >> 2] = $13 + ((($21 | 0) / 12 | 0) * 12 | 0); + if (!(_next_marker($cinfo) | 0)) { + $retval$0 = 0; + label = 7; break; } - } while (0); - return; + $marker$0$ph = HEAP32[$unread_marker >> 2] | 0; + } + if ((label | 0) == 4) { + HEAP32[$unread_marker >> 2] = 0; + $retval$0 = 1; + return $retval$0 | 0; + } else if ((label | 0) == 7) return $retval$0 | 0; + return 0; } -function __ZNSt3__216__pad_and_outputIwNS_11char_traitsIwEEEENS_19ostreambuf_iteratorIT_T0_EES6_PKS4_S8_S8_RNS_8ios_baseES4_($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$038 = 0, $$sroa$0$2 = 0, $10 = 0, $12 = 0, $13 = 0, $14 = 0, $17 = 0, $18 = 0, $19 = 0, $38 = 0, $39 = 0, $6 = 0, $7 = 0, $9 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $6 = sp; - $7 = HEAP32[$0 >> 2] | 0; - L1 : do if (!$7) $$sroa$0$2 = 0; else { - $9 = $3; - $10 = $1; - $12 = $9 - $10 >> 2; - $13 = $4 + 12 | 0; - $14 = HEAP32[$13 >> 2] | 0; - $$038 = ($14 | 0) > ($12 | 0) ? $14 - $12 | 0 : 0; - $17 = $2; - $18 = $17 - $10 | 0; - $19 = $18 >> 2; - if (($18 | 0) > 0 ? (FUNCTION_TABLE_iiii[HEAP32[(HEAP32[$7 >> 2] | 0) + 48 >> 2] & 63]($7, $1, $19) | 0) != ($19 | 0) : 0) { - HEAP32[$0 >> 2] = 0; - $$sroa$0$2 = 0; - break; - } - do if (($$038 | 0) > 0) { - HEAP32[$6 >> 2] = 0; - HEAP32[$6 + 4 >> 2] = 0; - HEAP32[$6 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6__initEmw($6, $$038, $5); - if ((FUNCTION_TABLE_iiii[HEAP32[(HEAP32[$7 >> 2] | 0) + 48 >> 2] & 63]($7, (HEAP8[$6 + 8 + 3 >> 0] | 0) < 0 ? HEAP32[$6 >> 2] | 0 : $6, $$038) | 0) == ($$038 | 0)) { - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev($6); - break; - } else { - HEAP32[$0 >> 2] = 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev($6); - $$sroa$0$2 = 0; - break L1; +function _alloc_sarray($cinfo, $pool_id, $samplesperrow, $numrows) { + $cinfo = $cinfo | 0; + $pool_id = $pool_id | 0; + $samplesperrow = $samplesperrow | 0; + $numrows = $numrows | 0; + var $0 = 0, $1 = 0, $3 = 0, $4 = 0, $5 = 0, $call = 0, $call13 = 0, $currow$039 = 0, $currow$1$lcssa = 0, $currow$134 = 0, $div = 0, $div$numrows = 0, $i$035 = 0, $rowsperchunk$138 = 0, $sub = 0, $umax = 0, $workspace$036 = 0, $rowsperchunk$138$looptemp = 0; + $0 = HEAP32[$cinfo + 4 >> 2] | 0; + $div = 999999984 / ($samplesperrow >>> 0) | 0; + if ($samplesperrow >>> 0 > 999999984) { + $1 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$1 + 20 >> 2] = 72; + FUNCTION_TABLE_vi[HEAP32[$1 >> 2] & 255]($cinfo); + } + $div$numrows = ($div | 0) < ($numrows | 0) ? $div : $numrows; + HEAP32[$0 + 80 >> 2] = $div$numrows; + $call = _alloc_small($cinfo, $pool_id, $numrows << 2) | 0; + if (!$numrows) return $call | 0; + $3 = ~$numrows; + $currow$039 = 0; + $rowsperchunk$138 = $div$numrows; + while (1) { + $sub = $numrows - $currow$039 | 0; + $rowsperchunk$138$looptemp = $rowsperchunk$138; + $rowsperchunk$138 = $rowsperchunk$138 >>> 0 < $sub >>> 0 ? $rowsperchunk$138 : $sub; + $call13 = _alloc_large($cinfo, $pool_id, Math_imul($rowsperchunk$138, $samplesperrow) | 0) | 0; + if (!$rowsperchunk$138) $currow$1$lcssa = $currow$039; else { + $4 = $currow$039 + $3 | 0; + $5 = ~$rowsperchunk$138$looptemp; + $umax = $4 >>> 0 > $5 >>> 0 ? $4 : $5; + $currow$134 = $currow$039; + $i$035 = $rowsperchunk$138; + $workspace$036 = $call13; + while (1) { + HEAP32[$call + ($currow$134 << 2) >> 2] = $workspace$036; + $i$035 = $i$035 + -1 | 0; + if (!$i$035) break; else { + $currow$134 = $currow$134 + 1 | 0; + $workspace$036 = $workspace$036 + $samplesperrow | 0; + } } - } while (0); - $38 = $9 - $17 | 0; - $39 = $38 >> 2; - if (($38 | 0) > 0 ? (FUNCTION_TABLE_iiii[HEAP32[(HEAP32[$7 >> 2] | 0) + 48 >> 2] & 63]($7, $2, $39) | 0) != ($39 | 0) : 0) { - HEAP32[$0 >> 2] = 0; - $$sroa$0$2 = 0; - break; + $currow$1$lcssa = $currow$039 + -1 - $umax | 0; } - HEAP32[$13 >> 2] = 0; - $$sroa$0$2 = $7; - } while (0); - STACKTOP = sp; - return $$sroa$0$2 | 0; + if ($currow$1$lcssa >>> 0 >= $numrows >>> 0) break; else $currow$039 = $currow$1$lcssa; + } + return $call | 0; } -function __ZNK12_GLOBAL__N_116itanium_demangle9ArrayType10printRightERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$byval_copy3 = 0, $13 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $8 = 0, sp = 0; +function __ZNK12_GLOBAL__N_116itanium_demangle8CastExpr9printLeftERNS_12OutputStreamE($this, $S) { + $this = $this | 0; + $S = $S | 0; + var $0 = 0, $10 = 0, $12 = 0, $5 = 0, $6 = 0, $agg$tmp = 0, $agg$tmp2 = 0, $agg$tmp4 = 0, $agg$tmp8 = 0, $agg$tmp8$byval_copy = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 48 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); - $$byval_copy3 = sp + 32 | 0; - $2 = sp + 24 | 0; - $3 = sp + 16 | 0; - $4 = sp + 8 | 0; - $5 = sp; - if ((__ZNK12_GLOBAL__N_112OutputStream4backEv($1) | 0) << 24 >> 24 != 93) { - __ZN12_GLOBAL__N_110StringViewC2EPKc($2, 51966); - HEAP32[$$byval_copy3 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy3 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy3); - } - __ZN12_GLOBAL__N_110StringViewC2EPKc($3, 55925); - HEAP32[$$byval_copy3 >> 2] = HEAP32[$3 >> 2]; - HEAP32[$$byval_copy3 + 4 >> 2] = HEAP32[$3 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy3); - $8 = $0 + 12 | 0; - if (!(__ZNK12_GLOBAL__N_116itanium_demangle12NodeOrString8isStringEv($8) | 0)) { - if (__ZNK12_GLOBAL__N_116itanium_demangle12NodeOrString6isNodeEv($8) | 0) __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(__ZNK12_GLOBAL__N_116itanium_demangle12NodeOrString6asNodeEv($8) | 0, $1); - } else { - __ZNK12_GLOBAL__N_116itanium_demangle12NodeOrString8asStringEv($4, $8); - HEAP32[$$byval_copy3 >> 2] = HEAP32[$4 >> 2]; - HEAP32[$$byval_copy3 + 4 >> 2] = HEAP32[$4 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy3); + $agg$tmp8$byval_copy = sp + 32 | 0; + $agg$tmp = sp; + $agg$tmp2 = sp + 24 | 0; + $agg$tmp4 = sp + 16 | 0; + $agg$tmp8 = sp + 8 | 0; + $0 = $this + 8 | 0; + $5 = HEAP32[$0 + 4 >> 2] | 0; + $6 = $agg$tmp; + HEAP32[$6 >> 2] = HEAP32[$0 >> 2]; + HEAP32[$6 + 4 >> 2] = $5; + HEAP32[$agg$tmp8$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp8$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp8$byval_copy); + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp2, 52992); + HEAP32[$agg$tmp8$byval_copy >> 2] = HEAP32[$agg$tmp2 >> 2]; + HEAP32[$agg$tmp8$byval_copy + 4 >> 2] = HEAP32[$agg$tmp2 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp8$byval_copy); + $10 = HEAP32[$this + 16 >> 2] | 0; + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$10 >> 2] | 0) + 16 >> 2] & 255]($10, $S); + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp4, 53982); + HEAP32[$agg$tmp8$byval_copy >> 2] = HEAP32[$agg$tmp4 >> 2]; + HEAP32[$agg$tmp8$byval_copy + 4 >> 2] = HEAP32[$agg$tmp4 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp8$byval_copy); + $12 = HEAP32[$this + 20 >> 2] | 0; + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$12 >> 2] | 0) + 16 >> 2] & 255]($12, $S); + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp8, 52806); + HEAP32[$agg$tmp8$byval_copy >> 2] = HEAP32[$agg$tmp8 >> 2]; + HEAP32[$agg$tmp8$byval_copy + 4 >> 2] = HEAP32[$agg$tmp8 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp8$byval_copy); + STACKTOP = sp; + return; +} + +function __ZN6vision21OrientationAssignment5allocEmmiiiffif($this, $fine_width, $fine_height, $num_octaves, $num_scales_per_octave, $num_bins, $gaussian_expansion_factor, $support_region_expansion_factor, $num_smoothing_iterations, $peak_threshold) { + $this = $this | 0; + $fine_width = $fine_width | 0; + $fine_height = $fine_height | 0; + $num_octaves = $num_octaves | 0; + $num_scales_per_octave = $num_scales_per_octave | 0; + $num_bins = $num_bins | 0; + $gaussian_expansion_factor = +$gaussian_expansion_factor; + $support_region_expansion_factor = +$support_region_expansion_factor; + $num_smoothing_iterations = $num_smoothing_iterations | 0; + $peak_threshold = +$peak_threshold; + var $i$0 = 0, $j$0 = 0, $mGradients = 0, $mNumScalesPerOctave = 0, $mul9 = 0, $shr = 0, $shr10 = 0; + HEAP32[$this >> 2] = $num_octaves; + $mNumScalesPerOctave = $this + 4 | 0; + HEAP32[$mNumScalesPerOctave >> 2] = $num_scales_per_octave; + HEAP32[$this + 8 >> 2] = $num_bins; + HEAPF32[$this + 12 >> 2] = $gaussian_expansion_factor; + HEAPF32[$this + 16 >> 2] = $support_region_expansion_factor; + HEAP32[$this + 20 >> 2] = $num_smoothing_iterations; + HEAPF32[$this + 24 >> 2] = $peak_threshold; + __ZNSt3__26vectorIfNS_9allocatorIfEEE6resizeEm($this + 28 | 0, $num_bins); + $mGradients = $this + 40 | 0; + __ZNSt3__26vectorIN6vision5ImageENS_9allocatorIS2_EEE6resizeEm($mGradients, Math_imul(HEAP32[$mNumScalesPerOctave >> 2] | 0, HEAP32[$this >> 2] | 0) | 0); + $i$0 = 0; + while (1) { + if (($i$0 | 0) == ($num_octaves | 0)) break; + $mul9 = Math_imul($i$0, $num_scales_per_octave) | 0; + $shr = $fine_width >>> $i$0; + $shr10 = $fine_height >>> $i$0; + $j$0 = 0; + while (1) { + if (($j$0 | 0) == ($num_scales_per_octave | 0)) break; + __ZN6vision5Image5allocENS_9ImageTypeEmmim((HEAP32[$mGradients >> 2] | 0) + ($j$0 + $mul9 << 5) | 0, 2, $shr, $shr10, -1, 2); + $j$0 = $j$0 + 1 | 0; + } + $i$0 = $i$0 + 1 | 0; } - __ZN12_GLOBAL__N_110StringViewC2EPKc($5, 51614); - HEAP32[$$byval_copy3 >> 2] = HEAP32[$5 >> 2]; - HEAP32[$$byval_copy3 + 4 >> 2] = HEAP32[$5 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy3); - $13 = HEAP32[$0 + 8 >> 2] | 0; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$13 >> 2] | 0) + 20 >> 2] & 255]($13, $1); - STACKTOP = sp; return; } -function _arGetTransMatSquareCont($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = +$3; - $4 = $4 | 0; - var $$0 = 0, $$0$in = 0, $19 = 0, $26 = 0, $34 = 0, $42 = 0, $49 = 0.0, $5 = 0, $50 = 0.0, $6 = 0, $66 = 0, $7 = 0, $8 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 192 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(192); - $5 = sp + 96 | 0; - $6 = sp; - $7 = sp + 168 | 0; - $8 = sp + 160 | 0; - do if ((HEAP32[$1 + 12 >> 2] | 0) >= 0) if ((HEAP32[$1 + 8 >> 2] | 0) < 0) { - $$0$in = $1 + 24 | 0; - break; - } else { - $$0$in = $1 + 16 | 0; - break; - } else $$0$in = $1 + 20 | 0; while (0); - $$0 = HEAP32[$$0$in >> 2] | 0; - $19 = (4 - $$0 | 0) % 4 | 0; - HEAPF64[$5 >> 3] = +HEAPF64[$1 + 168 + ($19 << 4) >> 3]; - HEAPF64[$5 + 8 >> 3] = +HEAPF64[$1 + 168 + ($19 << 4) + 8 >> 3]; - $26 = (5 - $$0 | 0) % 4 | 0; - HEAPF64[$5 + 16 >> 3] = +HEAPF64[$1 + 168 + ($26 << 4) >> 3]; - HEAPF64[$5 + 24 >> 3] = +HEAPF64[$1 + 168 + ($26 << 4) + 8 >> 3]; - $34 = (6 - $$0 | 0) % 4 | 0; - HEAPF64[$5 + 32 >> 3] = +HEAPF64[$1 + 168 + ($34 << 4) >> 3]; - HEAPF64[$5 + 40 >> 3] = +HEAPF64[$1 + 168 + ($34 << 4) + 8 >> 3]; - $42 = (7 - $$0 | 0) % 4 | 0; - HEAPF64[$5 + 48 >> 3] = +HEAPF64[$1 + 168 + ($42 << 4) >> 3]; - HEAPF64[$5 + 56 >> 3] = +HEAPF64[$1 + 168 + ($42 << 4) + 8 >> 3]; - $49 = $3 * -.5; - HEAPF64[$6 >> 3] = $49; - $50 = $3 * .5; - HEAPF64[$6 + 8 >> 3] = $50; - HEAPF64[$6 + 16 >> 3] = 0.0; - HEAPF64[$6 + 24 >> 3] = $50; - HEAPF64[$6 + 32 >> 3] = $50; - HEAPF64[$6 + 40 >> 3] = 0.0; - HEAPF64[$6 + 48 >> 3] = $50; - HEAPF64[$6 + 56 >> 3] = $49; - HEAPF64[$6 + 64 >> 3] = 0.0; - HEAPF64[$6 + 72 >> 3] = $49; - HEAPF64[$6 + 80 >> 3] = $49; - HEAPF64[$6 + 88 >> 3] = 0.0; - HEAP32[$7 >> 2] = $5; - HEAP32[$7 + 4 >> 2] = $6; - HEAP32[$7 + 8 >> 2] = 4; - $66 = (_icpPoint(HEAP32[$0 >> 2] | 0, $7, $2, $4, $8) | 0) < 0; - STACKTOP = sp; - return +($66 ? 1.0e8 : +HEAPF64[$8 >> 3]); -} - -function __ZNK12_GLOBAL__N_116itanium_demangle13ReferenceType9printLeftERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$byval_copy2 = 0, $11 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, label = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 48 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); - $$byval_copy2 = sp + 40 | 0; - $2 = sp + 24 | 0; - $3 = sp + 8 | 0; - $4 = sp + 32 | 0; - $5 = sp + 16 | 0; - $6 = sp; - $7 = $0 + 16 | 0; - if (!(HEAP8[$7 >> 0] | 0)) { - __ZN12_GLOBAL__N_114SwapAndRestoreIbEC2ERbb($2, $7, 1); - __ZNK12_GLOBAL__N_116itanium_demangle13ReferenceType8collapseERNS_12OutputStreamE($3, $0, $1); - $11 = HEAP32[$3 + 4 >> 2] | 0; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$11 >> 2] | 0) + 16 >> 2] & 255]($11, $1); - if (__ZNK12_GLOBAL__N_116itanium_demangle4Node8hasArrayERNS_12OutputStreamE($11, $1) | 0) { - __ZN12_GLOBAL__N_110StringViewC2EPKc($4, 51966); - HEAP32[$$byval_copy2 >> 2] = HEAP32[$4 >> 2]; - HEAP32[$$byval_copy2 + 4 >> 2] = HEAP32[$4 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy2); - } - if (!(__ZNK12_GLOBAL__N_116itanium_demangle4Node8hasArrayERNS_12OutputStreamE($11, $1) | 0) ? !(__ZNK12_GLOBAL__N_116itanium_demangle4Node11hasFunctionERNS_12OutputStreamE($11, $1) | 0) : 0) {} else { - __ZN12_GLOBAL__N_110StringViewC2EPKc($5, 51968); - HEAP32[$$byval_copy2 >> 2] = HEAP32[$5 >> 2]; - HEAP32[$$byval_copy2 + 4 >> 2] = HEAP32[$5 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy2); - } - __ZN12_GLOBAL__N_110StringViewC2EPKc($6, (HEAP32[$3 >> 2] | 0) == 0 ? 51970 : 51972); - HEAP32[$$byval_copy2 >> 2] = HEAP32[$6 >> 2]; - HEAP32[$$byval_copy2 + 4 >> 2] = HEAP32[$6 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy2); - __ZN12_GLOBAL__N_114SwapAndRestoreIbED2Ev($2); - } - STACKTOP = sp; - return; -} - -function __ZNK12_GLOBAL__N_116itanium_demangle16FloatLiteralImplIdE9printLeftERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0$i$i = 0, $$0$idx = 0, $$034 = 0, $$07$i$i = 0, $$byval_copy = 0, $15 = 0, $18 = 0, $2 = 0, $24 = 0, $26 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $scevgep = 0, sp = 0; +function ___cxa_demangle($MangledName, $Buf, $N, $Status) { + $MangledName = $MangledName | 0; + $Buf = $Buf | 0; + $N = $N | 0; + $Status = $Status | 0; + var $Buf$addr$0 = 0, $InternalStatus$0 = 0, $Parser = 0, $S = 0, $call14 = 0, $call5 = 0, $cmp2 = 0, $retval$0 = 0, label = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 64 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(64); - $$byval_copy = sp + 40 | 0; - $2 = sp + 32 | 0; - $3 = sp; - $4 = sp + 48 | 0; - $5 = $0 + 8 | 0; - $6 = __ZNK12_GLOBAL__N_110StringView5beginEv($5) | 0; - if (((__ZNK12_GLOBAL__N_110StringView3endEv($5) | 0) + 1 - $6 | 0) >>> 0 > 16) { - $scevgep = $2 + 8 | 0; - $$0$idx = 0; - $$034 = $2; - while (1) { - if (($$0$idx | 0) == 16) break; - $15 = HEAP8[$6 + $$0$idx >> 0] | 0; - $18 = HEAP8[$6 + ($$0$idx | 1) >> 0] | 0; - HEAP8[$$034 >> 0] = (($18 + -48 | 0) >>> 0 < 10 ? 208 : 169) + $18 + ((($15 + -48 | 0) >>> 0 < 10 ? 0 : 9) + $15 << 4); - $$0$idx = $$0$idx + 2 | 0; - $$034 = $$034 + 1 | 0; - } - $$0$i$i = $scevgep; - $$07$i$i = $2; - while (1) { - $24 = $$0$i$i + -1 | 0; - if ($$07$i$i >>> 0 >= $24 >>> 0) break; - $26 = HEAP8[$$07$i$i >> 0] | 0; - HEAP8[$$07$i$i >> 0] = HEAP8[$24 >> 0] | 0; - HEAP8[$24 >> 0] = $26; - $$0$i$i = $24; - $$07$i$i = $$07$i$i + 1 | 0; - } - HEAP32[$3 >> 2] = 0; - HEAP32[$3 + 4 >> 2] = 0; - HEAP32[$3 + 8 >> 2] = 0; - HEAP32[$3 + 12 >> 2] = 0; - HEAP32[$3 + 16 >> 2] = 0; - HEAP32[$3 + 20 >> 2] = 0; - HEAP32[$3 + 24 >> 2] = 0; - HEAP32[$3 + 28 >> 2] = 0; - HEAPF64[$$byval_copy >> 3] = +HEAPF64[$2 >> 3]; - __ZN12_GLOBAL__N_110StringViewC2EPKcS2_($4, $3, $3 + (_snprintf($3, 32, 52392, $$byval_copy) | 0) | 0); - HEAP32[$$byval_copy >> 2] = HEAP32[$4 >> 2]; - HEAP32[$$byval_copy + 4 >> 2] = HEAP32[$4 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy); + STACKTOP = STACKTOP + 4496 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(4496); + $Parser = sp; + $S = sp + 4472 | 0; + if (($MangledName | 0) != 0 ? ($cmp2 = ($N | 0) == 0, !(($Buf | 0) != 0 & $cmp2)) : 0) { + __ZN12_GLOBAL__N_116itanium_demangle14ManglingParserINS_16DefaultAllocatorEECI2NS0_22AbstractManglingParserIS3_S2_EEEPKcS6_($Parser, $MangledName, $MangledName + (_strlen($MangledName) | 0) | 0); + __ZN12_GLOBAL__N_112OutputStreamC2Ev($S); + $call5 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E5parseEv($Parser) | 0; + if ($call5) if (__ZN12_GLOBAL__N_122initializeOutputStreamEPcPmRNS_12OutputStreamEm($Buf, $N, $S) | 0) { + __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE($call5, $S); + __ZN12_GLOBAL__N_112OutputStreampLEc($S, 0); + if (!$cmp2) { + $call14 = __ZNK12_GLOBAL__N_112OutputStream18getCurrentPositionEv($S) | 0; + HEAP32[$N >> 2] = $call14; + } + $Buf$addr$0 = __ZN12_GLOBAL__N_112OutputStream9getBufferEv($S) | 0; + $InternalStatus$0 = 0; + } else { + $Buf$addr$0 = $Buf; + $InternalStatus$0 = -1; + } else { + $Buf$addr$0 = $Buf; + $InternalStatus$0 = -2; + } + if ($Status | 0) HEAP32[$Status >> 2] = $InternalStatus$0; + __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_ED2Ev($Parser); + $retval$0 = ($InternalStatus$0 | 0) == 0 ? $Buf$addr$0 : 0; + } else if (!$Status) $retval$0 = 0; else { + HEAP32[$Status >> 2] = -3; + $retval$0 = 0; } STACKTOP = sp; - return; + return $retval$0 | 0; } -function __ZN6vision27OrthogonalizePivot8x9Basis2IfEEbPT_S2_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $10 = 0, $12 = 0, $14 = 0, $16 = 0.0, $17 = 0.0, $19 = 0.0, $2 = 0, $21 = 0.0, $23 = 0.0, $25 = 0.0, $27 = 0, $28 = 0, $3 = 0, $31 = 0, $4 = 0, $5 = 0, $6 = 0, $8 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $2 = sp; - $3 = $0 + 72 | 0; - $4 = $0 + 36 | 0; - $5 = $1 + 72 | 0; - __ZN6vision21AccumulateProjection9IfEEvPT_PKS1_S4_($3, $4, $5); - $6 = $0 + 108 | 0; - __ZN6vision21AccumulateProjection9IfEEvPT_PKS1_S4_($6, $4, $1 + 108 | 0); - $8 = $0 + 144 | 0; - __ZN6vision21AccumulateProjection9IfEEvPT_PKS1_S4_($8, $4, $1 + 144 | 0); - $10 = $0 + 180 | 0; - __ZN6vision21AccumulateProjection9IfEEvPT_PKS1_S4_($10, $4, $1 + 180 | 0); - $12 = $0 + 216 | 0; - __ZN6vision21AccumulateProjection9IfEEvPT_PKS1_S4_($12, $4, $1 + 216 | 0); - $14 = $0 + 252 | 0; - __ZN6vision21AccumulateProjection9IfEEvPT_PKS1_S4_($14, $4, $1 + 252 | 0); - $16 = +__ZN6vision11SumSquares9IfEET_PKS1_($3); - HEAPF32[$2 >> 2] = $16; - $17 = +__ZN6vision11SumSquares9IfEET_PKS1_($6); - HEAPF32[$2 + 4 >> 2] = $17; - $19 = +__ZN6vision11SumSquares9IfEET_PKS1_($8); - HEAPF32[$2 + 8 >> 2] = $19; - $21 = +__ZN6vision11SumSquares9IfEET_PKS1_($10); - HEAPF32[$2 + 12 >> 2] = $21; - $23 = +__ZN6vision11SumSquares9IfEET_PKS1_($12); - HEAPF32[$2 + 16 >> 2] = $23; - $25 = +__ZN6vision11SumSquares9IfEET_PKS1_($14); - HEAPF32[$2 + 20 >> 2] = $25; - $27 = __ZN6vision9MaxIndex6IfEEiPKT_($2) | 0; - $28 = $2 + ($27 << 2) | 0; - if (+HEAPF32[$28 >> 2] == 0.0) $$0 = 0; else { - $31 = $27 * 9 | 0; - __ZN6vision5Swap9IfEEvPT_S2_($3, $3 + ($31 << 2) | 0); - __ZN6vision5Swap9IfEEvPT_S2_($5, $5 + ($31 << 2) | 0); - __ZN6vision12ScaleVector9IfEEvPT_PKS1_S1_($3, $3, 1.0 / +Math_sqrt(+(+HEAPF32[$28 >> 2]))); - $$0 = 1; - } - STACKTOP = sp; - return $$0 | 0; -} - -function _quantize_ord_dither($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $$06067$us79 = 0, $$06173 = 0, $$06173$us = 0, $$06269$us77 = 0, $$06366$us80 = 0, $$06465$us81 = 0, $$068$us78 = 0, $11 = 0, $13 = 0, $14 = 0, $15 = 0, $17 = 0, $18 = 0, $24 = 0, $26 = 0, $5 = 0, $7 = 0, $9 = 0; - $5 = HEAP32[$0 + 484 >> 2] | 0; - $7 = HEAP32[$0 + 120 >> 2] | 0; - $9 = HEAP32[$0 + 112 >> 2] | 0; - if (($3 | 0) <= 0) return; - $11 = $5 + 48 | 0; - $13 = $5 + 24 | 0; - $14 = ($9 | 0) == 0; - if (($7 | 0) <= 0) { - $$06173 = 0; - do { - _memset(HEAP32[$2 + ($$06173 << 2) >> 2] | 0, 0, $9 | 0) | 0; - HEAP32[$11 >> 2] = (HEAP32[$11 >> 2] | 0) + 1 & 15; - $$06173 = $$06173 + 1 | 0; - } while (($$06173 | 0) != ($3 | 0)); - return; +function __ZN6vision25DoGScaleInvariantDetector5allocEPKNS_25GaussianScaleSpacePyramidE($this, $pyramid) { + $this = $this | 0; + $pyramid = $pyramid | 0; + var $6 = 0, $__end_$i = 0, $call = 0, $call11 = 0, $call12 = 0, $call14 = 0, $call3 = 0, $call4 = 0, $call6 = 0, $call7 = 0, $call9 = 0, $i$0 = 0, $mBuckets = 0, $mNumBucketsY = 0; + __ZN6vision10DoGPyramid5allocEPKNS_25GaussianScaleSpacePyramidE($this + 32 | 0, $pyramid); + $call = __ZNK6vision25GaussianScaleSpacePyramid6imagesEv($pyramid) | 0; + $call3 = __ZNK6vision5Image5widthEv(HEAP32[$call >> 2] | 0) | 0; + $call4 = __ZNK6vision25GaussianScaleSpacePyramid6imagesEv($pyramid) | 0; + $call6 = __ZNK6vision5Image6heightEv(HEAP32[$call4 >> 2] | 0) | 0; + $call7 = __ZNK6vision25GaussianScaleSpacePyramid10numOctavesEv($pyramid) | 0; + __ZN6vision21OrientationAssignment5allocEmmiiiffif($this + 92 | 0, $call3, $call6, $call7, __ZNK6vision25GaussianScaleSpacePyramid18numScalesPerOctaveEv($pyramid) | 0, 36, 3.0, 1.5, 5, .800000011920929); + $call9 = __ZNK6vision25GaussianScaleSpacePyramid6imagesEv($pyramid) | 0; + $call11 = __ZNK6vision5Image5widthEv(HEAP32[$call9 >> 2] | 0) | 0; + HEAP32[$this >> 2] = $call11; + $call12 = __ZNK6vision25GaussianScaleSpacePyramid6imagesEv($pyramid) | 0; + $call14 = __ZNK6vision5Image6heightEv(HEAP32[$call12 >> 2] | 0) | 0; + HEAP32[$this + 4 >> 2] = $call14; + $mBuckets = $this + 16 | 0; + __ZNSt3__26vectorINS0_INS0_INS_4pairIfmEENS_9allocatorIS2_EEEENS3_IS5_EEEENS3_IS7_EEE6resizeEm($mBuckets, HEAP32[$this + 8 >> 2] | 0); + $__end_$i = $this + 20 | 0; + $mNumBucketsY = $this + 12 | 0; + $i$0 = 0; + while (1) { + $6 = HEAP32[$mBuckets >> 2] | 0; + if ($i$0 >>> 0 >= (((HEAP32[$__end_$i >> 2] | 0) - $6 | 0) / 12 | 0) >>> 0) break; + __ZNSt3__26vectorINS0_INS_4pairIfmEENS_9allocatorIS2_EEEENS3_IS5_EEE6resizeEm($6 + ($i$0 * 12 | 0) | 0, HEAP32[$mNumBucketsY >> 2] | 0); + $i$0 = $i$0 + 1 | 0; } - $$06173$us = 0; - do { - $15 = $2 + ($$06173$us << 2) | 0; - _memset(HEAP32[$15 >> 2] | 0, 0, $9 | 0) | 0; - $17 = HEAP32[$11 >> 2] | 0; - $18 = $1 + ($$06173$us << 2) | 0; - if (!$14) { - $$06269$us77 = 0; - do { - $24 = HEAP32[(HEAP32[$13 >> 2] | 0) + ($$06269$us77 << 2) >> 2] | 0; - $26 = HEAP32[$5 + 52 + ($$06269$us77 << 2) >> 2] | 0; - $$06067$us79 = $9; - $$06366$us80 = HEAP32[$15 >> 2] | 0; - $$06465$us81 = 0; - $$068$us78 = (HEAP32[$18 >> 2] | 0) + $$06269$us77 | 0; - while (1) { - HEAP8[$$06366$us80 >> 0] = (HEAPU8[$$06366$us80 >> 0] | 0) + (HEAPU8[$24 + ((HEAP32[$26 + ($17 << 6) + ($$06465$us81 << 2) >> 2] | 0) + (HEAPU8[$$068$us78 >> 0] | 0)) >> 0] | 0); - $$06067$us79 = $$06067$us79 + -1 | 0; - if (!$$06067$us79) break; else { - $$06366$us80 = $$06366$us80 + 1 | 0; - $$06465$us81 = $$06465$us81 + 1 & 15; - $$068$us78 = $$068$us78 + $7 | 0; - } - } - $$06269$us77 = $$06269$us77 + 1 | 0; - } while (($$06269$us77 | 0) != ($7 | 0)); - } - HEAP32[$11 >> 2] = $17 + 1 & 15; - $$06173$us = $$06173$us + 1 | 0; - } while (($$06173$us | 0) != ($3 | 0)); return; } -function ___fdopen($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $11 = 0, $12 = 0, $16 = 0, $2 = 0, $21 = 0, $26 = 0, $28 = 0, $7 = 0, $8 = 0, $vararg_buffer = 0, $vararg_buffer2 = 0, $vararg_buffer7 = 0, sp = 0; +function __ZNK12_GLOBAL__N_116itanium_demangle15ConditionalExpr9printLeftERNS_12OutputStreamE($this, $S) { + $this = $this | 0; + $S = $S | 0; + var $agg$tmp = 0, $agg$tmp2 = 0, $agg$tmp4 = 0, $agg$tmp6 = 0, $agg$tmp6$byval_copy = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 48 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); - $vararg_buffer7 = sp + 24 | 0; - $vararg_buffer2 = sp + 8 | 0; - $vararg_buffer = sp; - $2 = sp + 40 | 0; - if (_strchr(50840, HEAP8[$1 >> 0] | 0) | 0) { - $8 = _malloc(1176) | 0; - if (!$8) $$0 = 0; else { - _memset($8 | 0, 0, 144) | 0; - $11 = (_strchr($1, 43) | 0) == 0; - $12 = HEAP8[$1 >> 0] | 0; - if ($11) HEAP32[$8 >> 2] = $12 << 24 >> 24 == 114 ? 8 : 4; - if ($12 << 24 >> 24 == 97) { - HEAP32[$vararg_buffer >> 2] = $0; - HEAP32[$vararg_buffer + 4 >> 2] = 3; - $16 = ___syscall221(221, $vararg_buffer | 0) | 0; - if (!($16 & 1024)) { - HEAP32[$vararg_buffer2 >> 2] = $0; - HEAP32[$vararg_buffer2 + 4 >> 2] = 4; - HEAP32[$vararg_buffer2 + 8 >> 2] = $16 | 1024; - ___syscall221(221, $vararg_buffer2 | 0) | 0; + $agg$tmp6$byval_copy = sp + 32 | 0; + $agg$tmp = sp + 24 | 0; + $agg$tmp2 = sp + 16 | 0; + $agg$tmp4 = sp + 8 | 0; + $agg$tmp6 = sp; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, 52810); + HEAP32[$agg$tmp6$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp6$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp6$byval_copy); + __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(HEAP32[$this + 8 >> 2] | 0, $S); + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp2, 54046); + HEAP32[$agg$tmp6$byval_copy >> 2] = HEAP32[$agg$tmp2 >> 2]; + HEAP32[$agg$tmp6$byval_copy + 4 >> 2] = HEAP32[$agg$tmp2 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp6$byval_copy); + __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(HEAP32[$this + 12 >> 2] | 0, $S); + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp4, 54052); + HEAP32[$agg$tmp6$byval_copy >> 2] = HEAP32[$agg$tmp4 >> 2]; + HEAP32[$agg$tmp6$byval_copy + 4 >> 2] = HEAP32[$agg$tmp4 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp6$byval_copy); + __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(HEAP32[$this + 16 >> 2] | 0, $S); + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp6, 52806); + HEAP32[$agg$tmp6$byval_copy >> 2] = HEAP32[$agg$tmp6 >> 2]; + HEAP32[$agg$tmp6$byval_copy + 4 >> 2] = HEAP32[$agg$tmp6 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp6$byval_copy); + STACKTOP = sp; + return; +} + +function _confidenceCutoff($arHandle) { + $arHandle = $arHandle | 0; + var $1 = 0, $4 = 0, $7 = 0, $cfOK$0 = 0, $i$0 = 0, $i$1 = 0, $i$2 = 0, $id = 0, $id25 = 0, $idMatrix66 = 0, $idPatt52 = 0; + L1 : do switch (HEAP32[$arHandle + 24 >> 2] | 0) { + case 1: + case 0: + { + $1 = HEAP32[$arHandle + 44 >> 2] | 0; + $i$0 = 0; + while (1) { + if (($i$0 | 0) >= ($1 | 0)) break L1; + $id = $arHandle + 48 + ($i$0 << 8) + 4 | 0; + if ((HEAP32[$id >> 2] | 0) > -1 ? +HEAPF64[$arHandle + 48 + ($i$0 << 8) + 32 >> 3] < .5 : 0) { + HEAP32[$arHandle + 48 + ($i$0 << 8) + 8 >> 2] = -1; + HEAP32[$id >> 2] = -1; + HEAP32[$arHandle + 48 + ($i$0 << 8) + 236 >> 2] = 6; } - $21 = HEAP32[$8 >> 2] | 128; - HEAP32[$8 >> 2] = $21; - $28 = $21; - } else $28 = HEAP32[$8 >> 2] | 0; - HEAP32[$8 + 60 >> 2] = $0; - HEAP32[$8 + 44 >> 2] = $8 + 152; - HEAP32[$8 + 48 >> 2] = 1024; - $26 = $8 + 75 | 0; - HEAP8[$26 >> 0] = -1; - if (($28 & 8 | 0) == 0 ? (HEAP32[$vararg_buffer7 >> 2] = $0, HEAP32[$vararg_buffer7 + 4 >> 2] = 21523, HEAP32[$vararg_buffer7 + 8 >> 2] = $2, (___syscall54(54, $vararg_buffer7 | 0) | 0) == 0) : 0) HEAP8[$26 >> 0] = 10; - HEAP32[$8 + 32 >> 2] = 2; - HEAP32[$8 + 36 >> 2] = 1; - HEAP32[$8 + 40 >> 2] = 1; - HEAP32[$8 + 12 >> 2] = 2; - if (!(HEAP32[16328] | 0)) HEAP32[$8 + 76 >> 2] = -1; - ___ofl_add($8) | 0; - $$0 = $8; + $i$0 = $i$0 + 1 | 0; + } + break; } - } else { - $7 = ___errno_location() | 0; - HEAP32[$7 >> 2] = 28; - $$0 = 0; - } - STACKTOP = sp; - return $$0 | 0; + case 2: + { + $4 = HEAP32[$arHandle + 44 >> 2] | 0; + $i$1 = 0; + while (1) { + if (($i$1 | 0) >= ($4 | 0)) break L1; + $id25 = $arHandle + 48 + ($i$1 << 8) + 4 | 0; + if ((HEAP32[$id25 >> 2] | 0) > -1 ? +HEAPF64[$arHandle + 48 + ($i$1 << 8) + 32 >> 3] < .5 : 0) { + HEAP32[$arHandle + 48 + ($i$1 << 8) + 12 >> 2] = -1; + HEAP32[$id25 >> 2] = -1; + HEAP32[$arHandle + 48 + ($i$1 << 8) + 236 >> 2] = 6; + } + $i$1 = $i$1 + 1 | 0; + } + break; + } + default: + { + $7 = HEAP32[$arHandle + 44 >> 2] | 0; + $i$2 = 0; + while (1) { + if (($i$2 | 0) >= ($7 | 0)) break L1; + $idPatt52 = $arHandle + 48 + ($i$2 << 8) + 8 | 0; + if ((HEAP32[$idPatt52 >> 2] | 0) > -1 ? +HEAPF64[$arHandle + 48 + ($i$2 << 8) + 40 >> 3] < .5 : 0) { + HEAP32[$idPatt52 >> 2] = -1; + $cfOK$0 = 0; + } else $cfOK$0 = 1; + $idMatrix66 = $arHandle + 48 + ($i$2 << 8) + 12 | 0; + if (((HEAP32[$idMatrix66 >> 2] | 0) > -1 ? +HEAPF64[$arHandle + 48 + ($i$2 << 8) + 48 >> 3] < .5 : 0) ? (HEAP32[$idMatrix66 >> 2] = -1, ($cfOK$0 | 0) == 0) : 0) HEAP32[$arHandle + 48 + ($i$2 << 8) + 236 >> 2] = 6; + $i$2 = $i$2 + 1 | 0; + } + } + } while (0); + return; } function _setMarkerInfoVertex($id, $markerIndex) { @@ -75749,26 +78689,26 @@ function _setMarkerInfoVertex($id, $markerIndex) { if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); $id$addr = sp; HEAP32[$id$addr >> 2] = $id; - do if (__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(65260, $id$addr) | 0) { - $arhandle = (__ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(65260, $id$addr) | 0) + 216 | 0; + do if (__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(66108, $id$addr) | 0) { + $arhandle = (__ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(66108, $id$addr) | 0) + 216 | 0; $1 = HEAP32[$arhandle >> 2] | 0; if ((HEAP32[$1 + 44 >> 2] | 0) > ($markerIndex | 0)) { - $spec$select = ($markerIndex | 0) < 0 ? 64312 : $1 + 48 + ($markerIndex << 8) | 0; - $4 = +HEAPF64[7642]; + $spec$select = ($markerIndex | 0) < 0 ? 65160 : $1 + 48 + ($markerIndex << 8) | 0; + $4 = +HEAPF64[7748]; HEAPF64[$spec$select + 168 >> 3] = $4; - $5 = +HEAPF64[7643]; + $5 = +HEAPF64[7749]; HEAPF64[$spec$select + 176 >> 3] = $5; - $6 = +HEAPF64[7644]; + $6 = +HEAPF64[7750]; HEAPF64[$spec$select + 184 >> 3] = $6; - $7 = +HEAPF64[7645]; + $7 = +HEAPF64[7751]; HEAPF64[$spec$select + 192 >> 3] = $7; - $8 = +HEAPF64[7646]; + $8 = +HEAPF64[7752]; HEAPF64[$spec$select + 200 >> 3] = $8; - $9 = +HEAPF64[7647]; + $9 = +HEAPF64[7753]; HEAPF64[$spec$select + 208 >> 3] = $9; - $10 = +HEAPF64[7648]; + $10 = +HEAPF64[7754]; HEAPF64[$spec$select + 216 >> 3] = $10; - $11 = +HEAPF64[7649]; + $11 = +HEAPF64[7755]; HEAPF64[$spec$select + 224 >> 3] = $11; HEAPF64[$spec$select + 56 >> 3] = ($4 + $6 + $8 + $10) * .25; HEAPF64[$spec$select + 64 >> 3] = ($5 + $7 + $9 + $11) * .25; @@ -75783,306 +78723,261 @@ function _setMarkerInfoVertex($id, $markerIndex) { return $retval$1 | 0; } -function _jinit_2pass_quantizer($0) { - $0 = $0 | 0; - var $$054 = 0, $1 = 0, $12 = 0, $17 = 0, $18 = 0, $22 = 0, $31 = 0, $33 = 0, $39 = 0, $4 = 0, $47 = 0, $51 = 0, $61 = 0, $7 = 0; - $1 = $0 + 4 | 0; - $4 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[$1 >> 2] >> 2] & 63]($0, 1, 44) | 0; - HEAP32[$0 + 484 >> 2] = $4; - HEAP32[$4 >> 2] = 134; - HEAP32[$4 + 12 >> 2] = 188; - $7 = $4 + 32 | 0; - HEAP32[$7 >> 2] = 0; - HEAP32[$4 + 40 >> 2] = 0; - if ((HEAP32[$0 + 120 >> 2] | 0) != 3) { - $12 = HEAP32[$0 >> 2] | 0; - HEAP32[$12 + 20 >> 2] = 48; - FUNCTION_TABLE_vi[HEAP32[$12 >> 2] & 255]($0); - } - $17 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[$1 >> 2] >> 2] & 63]($0, 1, 128) | 0; - $18 = $4 + 24 | 0; - HEAP32[$18 >> 2] = $17; - $$054 = 0; - do { - $22 = FUNCTION_TABLE_iiii[HEAP32[(HEAP32[$1 >> 2] | 0) + 4 >> 2] & 63]($0, 1, 4096) | 0; - HEAP32[(HEAP32[$18 >> 2] | 0) + ($$054 << 2) >> 2] = $22; - $$054 = $$054 + 1 | 0; - } while (($$054 | 0) != 32); - HEAP32[$4 + 28 >> 2] = 1; - if (!(HEAP32[$0 + 108 >> 2] | 0)) HEAP32[$4 + 16 >> 2] = 0; else { - $31 = HEAP32[$0 + 96 >> 2] | 0; - if (($31 | 0) >= 8) { - if (($31 | 0) > 256) { - $39 = HEAP32[$0 >> 2] | 0; - HEAP32[$39 + 20 >> 2] = 59; - HEAP32[$39 + 24 >> 2] = 256; - FUNCTION_TABLE_vi[HEAP32[HEAP32[$0 >> 2] >> 2] & 255]($0); +function _arMatrixPCA($input, $evec, $ev, $mean) { + $input = $input | 0; + $evec = $evec | 0; + $ev = $ev | 0; + $mean = $mean | 0; + var $0 = 0, $1 = 0, $6 = 0.0, $9 = 0, $add = 0.0, $arrayidx = 0, $arrayidx56 = 0, $call = 0, $call39 = 0, $clm13 = 0, $cond = 0, $i$0 = 0, $i$1 = 0, $i$2 = 0, $mul = 0, $retval$0 = 0, $sum$0 = 0.0; + $0 = HEAP32[$input + 4 >> 2] | 0; + $1 = HEAP32[$input + 8 >> 2] | 0; + $cond = ($0 | 0) < ($1 | 0) ? $0 : $1; + L1 : do if (((((!(($0 | 0) < 2 | ($1 | 0) < 2) ? (HEAP32[$evec + 8 >> 2] | 0) == ($1 | 0) : 0) ? (HEAP32[$evec + 4 >> 2] | 0) == ($cond | 0) : 0) ? ($clm13 = $ev + 4 | 0, (HEAP32[$clm13 >> 2] | 0) == ($cond | 0)) : 0) ? (HEAP32[$mean + 4 >> 2] | 0) == ($1 | 0) : 0) ? ($call = _arMatrixAllocDup($input) | 0, ($call | 0) != 0) : 0) { + $6 = +Math_sqrt(+(+($0 | 0))); + if ((_EX($call, $mean) | 0) < 0) { + _arMatrixFree($call) | 0; + $retval$0 = -1; + break; + } + if ((_CENTER($call, $mean) | 0) < 0) { + _arMatrixFree($call) | 0; + $retval$0 = -1; + break; + } + $mul = Math_imul($1, $0) | 0; + $i$0 = 0; + while (1) { + if (($i$0 | 0) >= ($mul | 0)) break; + $arrayidx = (HEAP32[$call >> 2] | 0) + ($i$0 << 3) | 0; + HEAPF64[$arrayidx >> 3] = +HEAPF64[$arrayidx >> 3] / $6; + $i$0 = $i$0 + 1 | 0; + } + $call39 = _PCA($call, $evec, $ev) | 0; + _arMatrixFree($call) | 0; + $9 = HEAP32[$clm13 >> 2] | 0; + $i$1 = 0; + $sum$0 = 0.0; + while (1) { + if (($i$1 | 0) >= ($9 | 0)) break; + $add = $sum$0 + +HEAPF64[(HEAP32[$ev >> 2] | 0) + ($i$1 << 3) >> 3]; + $i$1 = $i$1 + 1 | 0; + $sum$0 = $add; + } + $i$2 = 0; + while (1) { + if (($i$2 | 0) >= ($9 | 0)) { + $retval$0 = $call39; + break L1; } - } else { - $33 = HEAP32[$0 >> 2] | 0; - HEAP32[$33 + 20 >> 2] = 58; - HEAP32[$33 + 24 >> 2] = 8; - FUNCTION_TABLE_vi[HEAP32[HEAP32[$0 >> 2] >> 2] & 255]($0); + $arrayidx56 = (HEAP32[$ev >> 2] | 0) + ($i$2 << 3) | 0; + HEAPF64[$arrayidx56 >> 3] = +HEAPF64[$arrayidx56 >> 3] / $sum$0; + $i$2 = $i$2 + 1 | 0; } - $47 = FUNCTION_TABLE_iiiii[HEAP32[(HEAP32[$1 >> 2] | 0) + 8 >> 2] & 15]($0, 1, $31, 3) | 0; - HEAP32[$4 + 16 >> 2] = $47; - HEAP32[$4 + 20 >> 2] = $31; - } - $51 = $0 + 88 | 0; - if (!(HEAP32[$51 >> 2] | 0)) return; - HEAP32[$51 >> 2] = 2; - $61 = FUNCTION_TABLE_iiii[HEAP32[(HEAP32[$1 >> 2] | 0) + 4 >> 2] & 63]($0, 1, ((HEAP32[$0 + 112 >> 2] | 0) * 6 | 0) + 12 | 0) | 0; - HEAP32[$7 >> 2] = $61; - _init_error_limit($0); - return; + } else $retval$0 = -1; while (0); + return $retval$0 | 0; } -function ___stdio_write($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$048 = 0, $$049 = 0, $$050 = 0, $$052 = 0, $$153 = 0, $$156$ph = 0, $10 = 0, $14 = 0, $20 = 0, $22 = 0, $27 = 0, $3 = 0, $38 = 0, $39 = 0, $4 = 0, $45 = 0, $5 = 0, $6 = 0, $8 = 0, label = 0, sp = 0; +function __ZL15genBWImageQuartPhiiPiS0_($image, $xsize, $ysize, $newXsize, $newYsize) { + $image = $image | 0; + $xsize = $xsize | 0; + $ysize = $ysize | 0; + $newXsize = $newXsize | 0; + $newYsize = $newYsize | 0; + var $call = 0, $div = 0, $div1 = 0, $i$0 = 0, $j$0 = 0, $mul4 = 0, $p$0 = 0, $p$1 = 0, $p1$0 = 0, $p2$0 = 0, $p3$0 = 0, $p4$0 = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $3 = sp; - $4 = sp + 16 | 0; - $5 = $0 + 28 | 0; - $6 = HEAP32[$5 >> 2] | 0; - HEAP32[$3 >> 2] = $6; - $8 = $0 + 20 | 0; - $10 = (HEAP32[$8 >> 2] | 0) - $6 | 0; - HEAP32[$3 + 4 >> 2] = $10; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 12 >> 2] = $2; - $14 = $0 + 60 | 0; - $$049 = 2; - $$050 = $10 + $2 | 0; - $$052 = $3; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $div = ($xsize | 0) / 4 | 0; + HEAP32[$newXsize >> 2] = $div; + $div1 = ($ysize | 0) / 4 | 0; + HEAP32[$newYsize >> 2] = $div1; + $call = _malloc(Math_imul($div1, $div) | 0) | 0; + if (!$call) { + _arLog(0, 3, 46772, sp); + _exit(1); + } + $j$0 = 0; + $p$0 = $call; while (1) { - if (!(___wasi_syscall_ret(___wasi_fd_write(HEAP32[$14 >> 2] | 0, $$052 | 0, $$049 | 0, $4 | 0) | 0) | 0)) $20 = HEAP32[$4 >> 2] | 0; else { - HEAP32[$4 >> 2] = -1; - $20 = -1; - } - if (($$050 | 0) == ($20 | 0)) { - label = 6; - break; - } - if (($20 | 0) < 0) { - label = 8; - break; + if (($j$0 | 0) >= ($div1 | 0)) break; + $mul4 = $j$0 << 2; + $i$0 = 0; + $p$1 = $p$0; + $p1$0 = $image + (Math_imul($mul4, $xsize) | 0) | 0; + $p2$0 = $image + (Math_imul($mul4 | 1, $xsize) | 0) | 0; + $p3$0 = $image + (Math_imul($mul4 | 2, $xsize) | 0) | 0; + $p4$0 = $image + (Math_imul($mul4 | 3, $xsize) | 0) | 0; + while (1) { + if (($i$0 | 0) >= ($div | 0)) break; + HEAP8[$p$1 >> 0] = ((HEAPU8[$p1$0 + 1 >> 0] | 0) + (HEAPU8[$p1$0 >> 0] | 0) + (HEAPU8[$p1$0 + 2 >> 0] | 0) + (HEAPU8[$p1$0 + 3 >> 0] | 0) + (HEAPU8[$p2$0 >> 0] | 0) + (HEAPU8[$p2$0 + 1 >> 0] | 0) + (HEAPU8[$p2$0 + 2 >> 0] | 0) + (HEAPU8[$p2$0 + 3 >> 0] | 0) + (HEAPU8[$p3$0 >> 0] | 0) + (HEAPU8[$p3$0 + 1 >> 0] | 0) + (HEAPU8[$p3$0 + 2 >> 0] | 0) + (HEAPU8[$p3$0 + 3 >> 0] | 0) + (HEAPU8[$p4$0 >> 0] | 0) + (HEAPU8[$p4$0 + 1 >> 0] | 0) + (HEAPU8[$p4$0 + 2 >> 0] | 0) + (HEAPU8[$p4$0 + 3 >> 0] | 0) | 0) / 16 | 0; + $i$0 = $i$0 + 1 | 0; + $p$1 = $p$1 + 1 | 0; + $p1$0 = $p1$0 + 4 | 0; + $p2$0 = $p2$0 + 4 | 0; + $p3$0 = $p3$0 + 4 | 0; + $p4$0 = $p4$0 + 4 | 0; } - $38 = HEAP32[$$052 + 4 >> 2] | 0; - $39 = $20 >>> 0 > $38 >>> 0; - $$153 = $39 ? $$052 + 8 | 0 : $$052; - $$048 = $20 - ($39 ? $38 : 0) | 0; - HEAP32[$$153 >> 2] = (HEAP32[$$153 >> 2] | 0) + $$048; - $45 = $$153 + 4 | 0; - HEAP32[$45 >> 2] = (HEAP32[$45 >> 2] | 0) - $$048; - $$049 = $$049 + ($39 << 31 >> 31) | 0; - $$050 = $$050 - $20 | 0; - $$052 = $$153; - } - if ((label | 0) == 6) { - $22 = HEAP32[$0 + 44 >> 2] | 0; - HEAP32[$0 + 16 >> 2] = $22 + (HEAP32[$0 + 48 >> 2] | 0); - $27 = $22; - HEAP32[$5 >> 2] = $27; - HEAP32[$8 >> 2] = $27; - $$156$ph = $2; - } else if ((label | 0) == 8) { - HEAP32[$0 + 16 >> 2] = 0; - HEAP32[$5 >> 2] = 0; - HEAP32[$8 >> 2] = 0; - HEAP32[$0 >> 2] = HEAP32[$0 >> 2] | 32; - if (($$049 | 0) == 2) $$156$ph = 0; else $$156$ph = $2 - (HEAP32[$$052 + 4 >> 2] | 0) | 0; + $j$0 = $j$0 + 1 | 0; + $p$0 = $p$1; } STACKTOP = sp; - return $$156$ph | 0; + return $call | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm8EEaSEOS4_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $12 = 0, $14 = 0, $2 = 0, $23 = 0, $25 = 0, $26 = 0, $27 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $5 = 0, $9 = 0; - $2 = __ZNK12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm8EE8isInlineEv($1) | 0; - $3 = __ZNK12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm8EE8isInlineEv($0) | 0; - do if (!$2) if ($3) { - HEAP32[$0 >> 2] = HEAP32[$1 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$1 + 4 >> 2]; - HEAP32[$0 + 8 >> 2] = HEAP32[$1 + 8 >> 2]; - __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm8EE11clearInlineEv($1); - break; - } else { - $23 = HEAP32[$0 >> 2] | 0; - HEAP32[$0 >> 2] = HEAP32[$1 >> 2]; - HEAP32[$1 >> 2] = $23; - $25 = $0 + 4 | 0; - $26 = $1 + 4 | 0; - $27 = HEAP32[$25 >> 2] | 0; - HEAP32[$25 >> 2] = HEAP32[$26 >> 2]; - HEAP32[$26 >> 2] = $27; - $29 = $0 + 8 | 0; - $30 = $1 + 8 | 0; - $31 = HEAP32[$29 >> 2] | 0; - HEAP32[$29 >> 2] = HEAP32[$30 >> 2]; - HEAP32[$30 >> 2] = $31; - __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm8EE5clearEv($1); - break; - } else { - if (!$3) { - _free(HEAP32[$0 >> 2] | 0); - __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm8EE11clearInlineEv($0); - } - $5 = __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm8EE5beginEv($1) | 0; - $9 = (__ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm8EE3endEv($1) | 0) - $5 | 0; - if ($9 | 0) _memmove(HEAP32[$0 >> 2] | 0, $5 | 0, $9 | 0) | 0; - $12 = HEAP32[$0 >> 2] | 0; - $14 = $12 + ((__ZNK12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm8EE4sizeEv($1) | 0) << 2) | 0; - HEAP32[$0 + 4 >> 2] = $14; - __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm8EE5clearEv($1); - } while (0); - return; +function __ZN6vision14VisualDatabaseINS_14FREAKExtractorENS_18BinaryFeatureStoreENS_20BinaryFeatureMatcherILi96EEEE5queryERKNS_5ImageE($this, $image) { + $this = $this | 0; + $image = $image | 0; + var $_ScopedTimer = 0, $call = 0, $call16 = 0, $call20 = 0, $call26 = 0, $call30 = 0, $call33 = 0, $call48 = 0, $call5 = 0, $call9 = 0, $mPyramid = 0, label = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 32 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); + $_ScopedTimer = sp; + $mPyramid = $this + 92 | 0; + $call = __ZN6vision25GaussianScaleSpacePyramid6imagesEv($mPyramid) | 0; + if (((HEAP32[$call + 4 >> 2] | 0) != (HEAP32[$call >> 2] | 0) ? ($call5 = __ZN6vision25GaussianScaleSpacePyramid6imagesEv($mPyramid) | 0, $call9 = __ZNK6vision5Image5widthEv(HEAP32[$call5 >> 2] | 0) | 0, ($call9 | 0) == (__ZNK6vision5Image5widthEv($image) | 0)) : 0) ? ($call16 = __ZN6vision25GaussianScaleSpacePyramid6imagesEv($mPyramid) | 0, $call20 = __ZNK6vision5Image6heightEv(HEAP32[$call16 >> 2] | 0) | 0, ($call20 | 0) == (__ZNK6vision5Image6heightEv($image) | 0)) : 0) {} else { + $call26 = __ZNK6vision5Image5widthEv($image) | 0; + $call30 = __ZN6vision10numOctavesEiii($call26, __ZNK6vision5Image6heightEv($image) | 0, 8) | 0; + $call33 = __ZNK6vision5Image5widthEv($image) | 0; + __ZN6vision18BinomialPyramid32f5allocEmmi($mPyramid, $call33, __ZNK6vision5Image6heightEv($image) | 0, $call30); + } + __ZN6vision11ScopedTimerC2EPKc($_ScopedTimer, 33441); + if (__ZN6vision11ScopedTimercvbEv($_ScopedTimer) | 0) __ZN6vision18BinomialPyramid32f5buildERKNS_5ImageE($mPyramid, $image); + __ZN6vision11ScopedTimerD2Ev($_ScopedTimer); + $call48 = __ZN6vision14VisualDatabaseINS_14FREAKExtractorENS_18BinaryFeatureStoreENS_20BinaryFeatureMatcherILi96EEEE5queryEPKNS_25GaussianScaleSpacePyramidE($this, $mPyramid) | 0; + STACKTOP = sp; + return $call48 | 0; } -function _ar2ScreenCoord2MarkerCoord($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = +$2; - $3 = +$3; - $4 = $4 | 0; - $5 = $5 | 0; - var $$0 = 0, $$055 = 0.0, $$056 = 0.0, $$057 = 0.0, $$058 = 0.0, $$059 = 0.0, $$sink = 0.0, $$sink60 = 0.0, $11 = 0.0, $16 = 0.0, $32 = 0.0, $43 = 0.0, $44 = 0.0, $49 = 0.0, $54 = 0.0, $6 = 0, $66 = 0.0, $7 = 0, $72 = 0.0, $75 = 0.0, $8 = 0, label = 0, sp = 0; +function _ar2GetSearchPoint($cparamLT, $trans1, $trans2, $trans3, $feature, $search) { + $cparamLT = $cparamLT | 0; + $trans1 = $trans1 | 0; + $trans2 = $trans2 | 0; + $trans3 = $trans3 | 0; + $feature = $feature | 0; + $search = $search | 0; + var $$sink = 0, $0 = 0.0, $1 = 0.0, $ox1 = 0, $ox2 = 0, $ox3 = 0, $oy1 = 0, $oy2 = 0, $oy3 = 0, label = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 64 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(64); - $6 = sp + 52 | 0; - $7 = sp + 48 | 0; - $8 = sp; - if ($0) if ((_arParamObserv2IdealLTf($0 + 184 | 0, $2, $3, $6, $7) | 0) < 0) $$0 = -1; else { - _arUtilMatMuldff($0 + 8 | 0, $1, $8) | 0; - $43 = +HEAPF32[$8 + 32 >> 2]; - $44 = +HEAPF32[$6 >> 2]; - $49 = +HEAPF32[$8 + 36 >> 2]; - $54 = +HEAPF32[$7 >> 2]; - $66 = +HEAPF32[$8 + 44 >> 2]; - $$055 = +HEAPF32[$8 + 12 >> 2] - $44 * $66; - $$056 = $49 * $54 - +HEAPF32[$8 + 20 >> 2]; - $$057 = $43 * $54 - +HEAPF32[$8 + 16 >> 2]; - $$058 = $44 * $49 - +HEAPF32[$8 + 4 >> 2]; - $$059 = $43 * $44 - +HEAPF32[$8 >> 2]; - $$sink = +HEAPF32[$8 + 28 >> 2]; - $$sink60 = $54 * $66; - label = 5; + STACKTOP = STACKTOP + 32 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); + $ox1 = sp + 20 | 0; + $ox2 = sp + 16 | 0; + $ox3 = sp + 12 | 0; + $oy1 = sp + 8 | 0; + $oy2 = sp + 4 | 0; + $oy3 = sp; + $0 = +HEAPF32[$feature + 8 >> 2]; + $1 = +HEAPF32[$feature + 12 >> 2]; + if (($trans1 | 0) != 0 ? (_ar2MarkerCoord2ScreenCoord($cparamLT, $trans1, $0, $1, $ox1, $oy1) | 0) >= 0 : 0) { + HEAP32[$search >> 2] = ~~+HEAPF32[$ox1 >> 2]; + HEAP32[$search + 4 >> 2] = ~~+HEAPF32[$oy1 >> 2]; + if (($trans2 | 0) != 0 ? (_ar2MarkerCoord2ScreenCoord($cparamLT, $trans2, $0, $1, $ox2, $oy2) | 0) >= 0 : 0) { + HEAP32[$search + 8 >> 2] = ~~(+HEAPF32[$ox1 >> 2] * 2.0 - +HEAPF32[$ox2 >> 2]); + HEAP32[$search + 12 >> 2] = ~~(+HEAPF32[$oy1 >> 2] * 2.0 - +HEAPF32[$oy2 >> 2]); + if (($trans3 | 0) != 0 ? (_ar2MarkerCoord2ScreenCoord($cparamLT, $trans3, $0, $1, $ox3, $oy3) | 0) >= 0 : 0) { + HEAP32[$search + 16 >> 2] = ~~(+HEAPF32[$ox3 >> 2] + (+HEAPF32[$ox1 >> 2] * 3.0 - +HEAPF32[$ox2 >> 2] * 3.0)); + $$sink = ~~(+HEAPF32[$oy3 >> 2] + (+HEAPF32[$oy1 >> 2] * 3.0 - +HEAPF32[$oy2 >> 2] * 3.0)); + } else label = 10; + } else label = 9; } else { - $11 = +HEAPF32[$1 + 32 >> 2]; - $16 = +HEAPF32[$1 + 36 >> 2]; - $32 = +HEAPF32[$1 + 44 >> 2]; - $$055 = +HEAPF32[$1 + 12 >> 2] - $32 * $2; - $$056 = $16 * $3 - +HEAPF32[$1 + 20 >> 2]; - $$057 = $11 * $3 - +HEAPF32[$1 + 16 >> 2]; - $$058 = $16 * $2 - +HEAPF32[$1 + 4 >> 2]; - $$059 = $11 * $2 - +HEAPF32[$1 >> 2]; - $$sink = +HEAPF32[$1 + 28 >> 2]; - $$sink60 = $32 * $3; - label = 5; + HEAP32[$search >> 2] = -1; + HEAP32[$search + 4 >> 2] = -1; + label = 9; } - if ((label | 0) == 5) { - $72 = $$sink - $$sink60; - $75 = $$059 * $$056 - $$058 * $$057; - if ($75 == 0.0) $$0 = -1; else { - HEAPF32[$4 >> 2] = ($$056 * $$055 - $$058 * $72) / $75; - HEAPF32[$5 >> 2] = ($$059 * $72 - $$057 * $$055) / $75; - $$0 = 0; - } + if ((label | 0) == 9) { + HEAP32[$search + 8 >> 2] = -1; + HEAP32[$search + 12 >> 2] = -1; + label = 10; + } + if ((label | 0) == 10) { + HEAP32[$search + 16 >> 2] = -1; + $$sink = -1; } + HEAP32[$search + 20 >> 2] = $$sink; STACKTOP = sp; - return $$0 | 0; + return; } -function ___vfprintf_internal($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $$0 = 0, $$1 = 0, $15 = 0, $16 = 0, $21 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $30 = 0, $31 = 0, $37 = 0, $42 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $spec$select = 0, dest = 0, sp = 0, stop = 0; +function _strspn($s, $c) { + $s = $s | 0; + $c = $c | 0; + var $0 = 0, $3 = 0, $6 = 0, $7 = 0, $arrayidx12 = 0, $byteset = 0, $c$addr$020 = 0, $conv10 = 0, $conv22 = 0, $incdec$ptr32 = 0, $retval$0 = 0, $s$addr$0 = 0, $s$addr$1$lcssa = 0, $s$addr$117 = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 224 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(224); - $5 = sp + 208 | 0; - $6 = sp + 160 | 0; - $7 = sp + 80 | 0; - $8 = sp; - dest = $6; - stop = dest + 40 | 0; - do { - HEAP32[dest >> 2] = 0; - dest = dest + 4 | 0; - } while ((dest | 0) < (stop | 0)); - HEAP32[$5 >> 2] = HEAP32[$2 >> 2]; - if ((_printf_core(0, $1, $5, $7, $6, $3, $4) | 0) < 0) $$0 = -1; else { - if ((HEAP32[$0 + 76 >> 2] | 0) > -1) $42 = ___lockfile($0) | 0; else $42 = 0; - $15 = HEAP32[$0 >> 2] | 0; - $16 = $15 & 32; - if ((HEAP8[$0 + 74 >> 0] | 0) < 1) HEAP32[$0 >> 2] = $15 & -33; - $21 = $0 + 48 | 0; - if (!(HEAP32[$21 >> 2] | 0)) { - $25 = $0 + 44 | 0; - $26 = HEAP32[$25 >> 2] | 0; - HEAP32[$25 >> 2] = $8; - $27 = $0 + 28 | 0; - HEAP32[$27 >> 2] = $8; - $28 = $0 + 20 | 0; - HEAP32[$28 >> 2] = $8; - HEAP32[$21 >> 2] = 80; - $30 = $0 + 16 | 0; - HEAP32[$30 >> 2] = $8 + 80; - $31 = _printf_core($0, $1, $5, $7, $6, $3, $4) | 0; - if (!$26) $$1 = $31; else { - FUNCTION_TABLE_iiii[HEAP32[$0 + 36 >> 2] & 63]($0, 0, 0) | 0; - $spec$select = (HEAP32[$28 >> 2] | 0) == 0 ? -1 : $31; - HEAP32[$25 >> 2] = $26; - HEAP32[$21 >> 2] = 0; - HEAP32[$30 >> 2] = 0; - HEAP32[$27 >> 2] = 0; - HEAP32[$28 >> 2] = 0; - $$1 = $spec$select; - } - } else $$1 = _printf_core($0, $1, $5, $7, $6, $3, $4) | 0; - $37 = HEAP32[$0 >> 2] | 0; - HEAP32[$0 >> 2] = $37 | $16; - if ($42 | 0) ___unlockfile($0); - $$0 = ($37 & 32 | 0) == 0 ? $$1 : -1; - } - STACKTOP = sp; - return $$0 | 0; + STACKTOP = STACKTOP + 32 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); + $byteset = sp; + HEAP32[$byteset >> 2] = 0; + HEAP32[$byteset + 4 >> 2] = 0; + HEAP32[$byteset + 8 >> 2] = 0; + HEAP32[$byteset + 12 >> 2] = 0; + HEAP32[$byteset + 16 >> 2] = 0; + HEAP32[$byteset + 20 >> 2] = 0; + HEAP32[$byteset + 24 >> 2] = 0; + HEAP32[$byteset + 28 >> 2] = 0; + $0 = HEAP8[$c >> 0] | 0; + do if (!($0 << 24 >> 24)) $retval$0 = 0; else { + if (!(HEAP8[$c + 1 >> 0] | 0)) { + $s$addr$0 = $s; + while (1) if ((HEAP8[$s$addr$0 >> 0] | 0) == $0 << 24 >> 24) $s$addr$0 = $s$addr$0 + 1 | 0; else break; + $retval$0 = $s$addr$0 - $s | 0; + break; + } + $3 = $0; + $c$addr$020 = $c; + do { + $conv10 = $3 & 255; + $arrayidx12 = $byteset + ($conv10 >>> 5 << 2) | 0; + HEAP32[$arrayidx12 >> 2] = HEAP32[$arrayidx12 >> 2] | 1 << ($conv10 & 31); + $c$addr$020 = $c$addr$020 + 1 | 0; + $3 = HEAP8[$c$addr$020 >> 0] | 0; + } while ($3 << 24 >> 24 != 0); + $6 = HEAP8[$s >> 0] | 0; + L12 : do if (!($6 << 24 >> 24)) $s$addr$1$lcssa = $s; else { + $7 = $6; + $s$addr$117 = $s; + while (1) { + $conv22 = $7 & 255; + if (!(HEAP32[$byteset + ($conv22 >>> 5 << 2) >> 2] & 1 << ($conv22 & 31))) { + $s$addr$1$lcssa = $s$addr$117; + break L12; + } + $incdec$ptr32 = $s$addr$117 + 1 | 0; + $7 = HEAP8[$incdec$ptr32 >> 0] | 0; + if (!($7 << 24 >> 24)) { + $s$addr$1$lcssa = $incdec$ptr32; + break; + } else $s$addr$117 = $incdec$ptr32; + } + } while (0); + $retval$0 = $s$addr$1$lcssa - $s | 0; + } while (0); + STACKTOP = sp; + return $retval$0 | 0; } function _setupAR2($id) { $id = $id | 0; - var $2 = 0, $ar2Handle = 0, $call23 = 0, $call7 = 0, $call8 = 0, $id$addr = 0, $kpmHandle = 0, $kpmHandle24$pre$phiZ2D = 0, $paramLT = 0, $retval$0 = 0, $vararg_buffer = 0, sp = 0; + var $2 = 0, $ar2Handle = 0, $call25 = 0, $call7 = 0, $call8 = 0, $id$addr = 0, $kpmHandle = 0, $kpmHandle26$pre$phiZ2D = 0, $paramLT = 0, $retval$0 = 0, $vararg_buffer = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); $vararg_buffer = sp; $id$addr = sp + 4 | 0; HEAP32[$id$addr >> 2] = $id; - if (!(__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(65260, $id$addr) | 0)) $retval$0 = -1; else { - $call7 = __ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(65260, $id$addr) | 0; + if (!(__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(66108, $id$addr) | 0)) $retval$0 = -1; else { + $call7 = __ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(66108, $id$addr) | 0; $paramLT = $call7 + 192 | 0; - $call8 = _ar2CreateHandleMod(HEAP32[$paramLT >> 2] | 0, HEAP32[$call7 + 472 >> 2] | 0) | 0; + $call8 = _ar2CreateHandleMod(HEAP32[$paramLT >> 2] | 0, HEAP32[$call7 + 496 >> 2] | 0) | 0; $ar2Handle = $call7 + 236 | 0; HEAP32[$ar2Handle >> 2] = $call8; if (!$call8) { - _arLog(0, 3, 45395, $vararg_buffer); + _arLog(0, 3, 46237, $vararg_buffer); $kpmHandle = $call7 + 232 | 0; _kpmDeleteHandle($kpmHandle) | 0; $2 = HEAP32[$ar2Handle >> 2] | 0; - $kpmHandle24$pre$phiZ2D = $kpmHandle; + $kpmHandle26$pre$phiZ2D = $kpmHandle; } else { $2 = $call8; - $kpmHandle24$pre$phiZ2D = $call7 + 232 | 0; + $kpmHandle26$pre$phiZ2D = $call7 + 232 | 0; } _ar2SetTrackingThresh($2, 5.0) | 0; _ar2SetSimThresh(HEAP32[$ar2Handle >> 2] | 0, .5) | 0; @@ -76090,492 +78985,417 @@ function _setupAR2($id) { _ar2SetSearchSize(HEAP32[$ar2Handle >> 2] | 0, 6) | 0; _ar2SetTemplateSize1(HEAP32[$ar2Handle >> 2] | 0, 6) | 0; _ar2SetTemplateSize2(HEAP32[$ar2Handle >> 2] | 0, 6) | 0; - $call23 = _createKpmHandle(HEAP32[$paramLT >> 2] | 0) | 0; - HEAP32[$kpmHandle24$pre$phiZ2D >> 2] = $call23; + $call25 = _createKpmHandle(HEAP32[$paramLT >> 2] | 0) | 0; + HEAP32[$kpmHandle26$pre$phiZ2D >> 2] = $call25; $retval$0 = 0; } STACKTOP = sp; return $retval$0 | 0; } -function __ZNSt3__216__pad_and_outputIcNS_11char_traitsIcEEEENS_19ostreambuf_iteratorIT_T0_EES6_PKS4_S8_S8_RNS_8ios_baseES4_($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$0 = 0, $$sroa$0$2 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $16 = 0, $17 = 0, $35 = 0, $6 = 0, $7 = 0, $9 = 0, sp = 0; +function _rgb1_gray_convert($cinfo, $input_buf, $input_row, $output_buf, $num_rows) { + $cinfo = $cinfo | 0; + $input_buf = $input_buf | 0; + $input_row = $input_row | 0; + $output_buf = $output_buf | 0; + $num_rows = $num_rows | 0; + var $1 = 0, $2 = 0, $4 = 0, $6 = 0, $8 = 0, $9 = 0, $add$us = 0, $arrayidx3 = 0, $arrayidx5 = 0, $col$030$us = 0, $conv10$us = 0, $dec35$us$in = 0, $input_row$addr$034$us = 0, $output_buf$addr$033$us = 0, $dec35$us$in$looptemp = 0; + $1 = HEAP32[(HEAP32[$cinfo + 480 >> 2] | 0) + 24 >> 2] | 0; + $2 = HEAP32[$cinfo + 112 >> 2] | 0; + if (($num_rows | 0) <= 0) return; + $arrayidx3 = $input_buf + 4 | 0; + $arrayidx5 = $input_buf + 8 | 0; + if (!$2) return; + $dec35$us$in = $num_rows; + $input_row$addr$034$us = $input_row; + $output_buf$addr$033$us = $output_buf; + while (1) { + $dec35$us$in$looptemp = $dec35$us$in; + $dec35$us$in = $dec35$us$in + -1 | 0; + $4 = HEAP32[(HEAP32[$input_buf >> 2] | 0) + ($input_row$addr$034$us << 2) >> 2] | 0; + $6 = HEAP32[(HEAP32[$arrayidx3 >> 2] | 0) + ($input_row$addr$034$us << 2) >> 2] | 0; + $8 = HEAP32[(HEAP32[$arrayidx5 >> 2] | 0) + ($input_row$addr$034$us << 2) >> 2] | 0; + $input_row$addr$034$us = $input_row$addr$034$us + 1 | 0; + $9 = HEAP32[$output_buf$addr$033$us >> 2] | 0; + $col$030$us = 0; + do { + $conv10$us = HEAPU8[$6 + $col$030$us >> 0] | 0; + $add$us = $conv10$us + 128 | 0; + HEAP8[$9 + $col$030$us >> 0] = ((HEAP32[$1 + (($conv10$us | 256) << 2) >> 2] | 0) + (HEAP32[$1 + (($add$us + (HEAPU8[$4 + $col$030$us >> 0] | 0) & 255) << 2) >> 2] | 0) + (HEAP32[$1 + (($add$us + (HEAPU8[$8 + $col$030$us >> 0] | 0) & 255 | 512) << 2) >> 2] | 0) | 0) >>> 16; + $col$030$us = $col$030$us + 1 | 0; + } while (($col$030$us | 0) != ($2 | 0)); + if (($dec35$us$in$looptemp | 0) <= 1) break; else $output_buf$addr$033$us = $output_buf$addr$033$us + 4 | 0; + } + return; +} + +function _init_error_limit($cinfo) { + $cinfo = $cinfo | 0; + var $0 = 0, $add$ptr = 0, $call = 0, $in$136 = 0, $in$234 = 0, $out$137 = 0, $sub19 = 0; + $0 = HEAP32[$cinfo + 484 >> 2] | 0; + $call = FUNCTION_TABLE_iiii[HEAP32[HEAP32[$cinfo + 4 >> 2] >> 2] & 63]($cinfo, 1, 2044) | 0; + $add$ptr = $call + 1020 | 0; + HEAP32[$0 + 40 >> 2] = $add$ptr; + HEAP32[$add$ptr >> 2] = 0; + HEAP32[$call + 1024 >> 2] = 1; + HEAP32[$call + 1016 >> 2] = -1; + HEAP32[$call + 1028 >> 2] = 2; + HEAP32[$call + 1012 >> 2] = -2; + HEAP32[$call + 1032 >> 2] = 3; + HEAP32[$call + 1008 >> 2] = -3; + HEAP32[$call + 1036 >> 2] = 4; + HEAP32[$call + 1004 >> 2] = -4; + HEAP32[$call + 1040 >> 2] = 5; + HEAP32[$call + 1e3 >> 2] = -5; + HEAP32[$call + 1044 >> 2] = 6; + HEAP32[$call + 996 >> 2] = -6; + HEAP32[$call + 1048 >> 2] = 7; + HEAP32[$call + 992 >> 2] = -7; + HEAP32[$call + 1052 >> 2] = 8; + HEAP32[$call + 988 >> 2] = -8; + HEAP32[$call + 1056 >> 2] = 9; + HEAP32[$call + 984 >> 2] = -9; + HEAP32[$call + 1060 >> 2] = 10; + HEAP32[$call + 980 >> 2] = -10; + HEAP32[$call + 1064 >> 2] = 11; + HEAP32[$call + 976 >> 2] = -11; + HEAP32[$call + 1068 >> 2] = 12; + HEAP32[$call + 972 >> 2] = -12; + HEAP32[$call + 1072 >> 2] = 13; + HEAP32[$call + 968 >> 2] = -13; + HEAP32[$call + 1076 >> 2] = 14; + HEAP32[$call + 964 >> 2] = -14; + HEAP32[$call + 1080 >> 2] = 15; + HEAP32[$call + 960 >> 2] = -15; + $in$136 = 16; + $out$137 = 16; + do { + HEAP32[$add$ptr + ($in$136 << 2) >> 2] = $out$137; + HEAP32[$add$ptr + (0 - $in$136 << 2) >> 2] = 0 - $out$137; + $in$136 = $in$136 + 1 | 0; + $out$137 = ($in$136 & 1 ^ 1) + $out$137 | 0; + } while (($in$136 | 0) != 48); + $sub19 = 0 - $out$137 | 0; + $in$234 = 48; + do { + HEAP32[$add$ptr + ($in$234 << 2) >> 2] = $out$137; + HEAP32[$add$ptr + (0 - $in$234 << 2) >> 2] = $sub19; + $in$234 = $in$234 + 1 | 0; + } while (($in$234 | 0) != 256); + return; +} + +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseSourceNameEPNS5_9NameStateE($this) { + $this = $this | 0; + var $0 = 0, $3 = 0, $Length = 0, $Name = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, $call2 = 0, $retval$0 = 0, $retval$1 = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $6 = sp; - $7 = HEAP32[$0 >> 2] | 0; - L1 : do if (!$7) $$sroa$0$2 = 0; else { - $9 = $3; - $10 = $1; - $11 = $9 - $10 | 0; - $12 = $4 + 12 | 0; - $13 = HEAP32[$12 >> 2] | 0; - $$0 = ($13 | 0) > ($11 | 0) ? $13 - $11 | 0 : 0; - $16 = $2; - $17 = $16 - $10 | 0; - if (($17 | 0) > 0 ? (FUNCTION_TABLE_iiii[HEAP32[(HEAP32[$7 >> 2] | 0) + 48 >> 2] & 63]($7, $1, $17) | 0) != ($17 | 0) : 0) { - HEAP32[$0 >> 2] = 0; - $$sroa$0$2 = 0; - break; - } - do if (($$0 | 0) > 0) { - HEAP32[$6 >> 2] = 0; - HEAP32[$6 + 4 >> 2] = 0; - HEAP32[$6 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEmc($6, $$0, $5); - if ((FUNCTION_TABLE_iiii[HEAP32[(HEAP32[$7 >> 2] | 0) + 48 >> 2] & 63]($7, (HEAP8[$6 + 11 >> 0] | 0) < 0 ? HEAP32[$6 >> 2] | 0 : $6, $$0) | 0) == ($$0 | 0)) { - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($6); - break; - } else { - HEAP32[$0 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($6); - $$sroa$0$2 = 0; - break L1; - } - } while (0); - $35 = $9 - $16 | 0; - if (($35 | 0) > 0 ? (FUNCTION_TABLE_iiii[HEAP32[(HEAP32[$7 >> 2] | 0) + 48 >> 2] & 63]($7, $2, $35) | 0) != ($35 | 0) : 0) { - HEAP32[$0 >> 2] = 0; - $$sroa$0$2 = 0; - break; - } - HEAP32[$12 >> 2] = 0; - $$sroa$0$2 = $7; - } while (0); + STACKTOP = STACKTOP + 32 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); + $agg$tmp$byval_copy = sp + 24 | 0; + $Length = sp + 16 | 0; + $Name = sp + 8 | 0; + $agg$tmp = sp; + HEAP32[$Length >> 2] = 0; + if (!(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E20parsePositiveIntegerEPm($this, $Length) | 0) ? ($call2 = __ZNK12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E7numLeftEv($this) | 0, $0 = HEAP32[$Length >> 2] | 0, ($0 + -1 | 0) >>> 0 < $call2 >>> 0) : 0) { + $3 = HEAP32[$this >> 2] | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKcS2_($Name, $3, $3 + $0 | 0); + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + $0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, 54349); + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + if (__ZNK12_GLOBAL__N_110StringView10startsWithES0_($Name, $agg$tmp$byval_copy) | 0) $retval$0 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA22_KcEEEPNS0_4NodeEDpOT0_($this) | 0; else $retval$0 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRNS_10StringViewEEEEPNS0_4NodeEDpOT0_($this, $Name) | 0; + $retval$1 = $retval$0; + } else $retval$1 = 0; STACKTOP = sp; - return $$sroa$0$2 | 0; + return $retval$1 | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseCallOffsetEv($0) { - $0 = $0 | 0; - var $$03 = 0, $$ph = 0, $1 = 0, $13 = 0, $14 = 0, $2 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $1 = sp + 8 | 0; - $2 = sp; - if (!(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($0, 104) | 0)) if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($0, 118) | 0) { - __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E11parseNumberEb($1, $0, 1); - if (!(__ZNK12_GLOBAL__N_110StringView5emptyEv($1) | 0) ? __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($0, 95) | 0 : 0) { - __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E11parseNumberEb($2, $0, 1); - if (__ZNK12_GLOBAL__N_110StringView5emptyEv($2) | 0) $$ph = 1; else $$ph = (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($0, 95) | 0) ^ 1; - $14 = $$ph; - } else $14 = 1; - $$03 = $14; - } else $$03 = 1; else { - __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E11parseNumberEb($1, $0, 1); - if (__ZNK12_GLOBAL__N_110StringView5emptyEv($1) | 0) $13 = 1; else $13 = (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($0, 95) | 0) ^ 1; - $$03 = $13; - } - STACKTOP = sp; - return $$03 | 0; -} - -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E19parseUnresolvedTypeEv($0) { - $0 = $0 | 0; - var $$0 = 0, $$1 = 0, $$2 = 0, $1 = 0, $4 = 0, $8 = 0, sp = 0; +function __ZNSt3__26vectorIN6vision25DoGScaleInvariantDetector12FeaturePointENS_9allocatorIS3_EEE21__push_back_slow_pathIRKS3_EEvOT_($this, $__x) { + $this = $this | 0; + $__x = $__x | 0; + var $3 = 0, $5 = 0, $__end_ = 0, $__end_$i = 0, $__v = 0, $add = 0, $call$i = 0, $mul$i = 0, $sub$ptr$div$i$i$i = 0, dest = 0, sp = 0, src = 0, stop = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $1 = sp; - switch ((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($0, 0) | 0) << 24 >> 24) { - case 84: - { - $4 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E18parseTemplateParamEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0) | 0; - HEAP32[$1 >> 2] = $4; - if (!$4) $$0 = 0; else { - __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE9push_backERKS3_($0 + 148 | 0, $1); - $$0 = $4; + STACKTOP = STACKTOP + 32 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); + $__v = sp; + $__end_$i = $this + 4 | 0; + $add = (((HEAP32[$__end_$i >> 2] | 0) - (HEAP32[$this >> 2] | 0) | 0) / 36 | 0) + 1 | 0; + $call$i = __ZNKSt3__26vectorIN6vision25DoGScaleInvariantDetector12FeaturePointENS_9allocatorIS3_EEE8max_sizeEv($this) | 0; + if ($call$i >>> 0 < $add >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv($this); else { + $3 = HEAP32[$this >> 2] | 0; + $sub$ptr$div$i$i$i = ((HEAP32[$this + 8 >> 2] | 0) - $3 | 0) / 36 | 0; + $mul$i = $sub$ptr$div$i$i$i << 1; + __ZNSt3__214__split_bufferIN6vision25DoGScaleInvariantDetector12FeaturePointERNS_9allocatorIS3_EEEC2EmmS6_($__v, $sub$ptr$div$i$i$i >>> 0 < $call$i >>> 1 >>> 0 ? ($mul$i >>> 0 < $add >>> 0 ? $add : $mul$i) : $call$i, ((HEAP32[$__end_$i >> 2] | 0) - $3 | 0) / 36 | 0, $this + 8 | 0); + $__end_ = $__v + 8 | 0; + $5 = HEAP32[$__end_ >> 2] | 0; + dest = $5; + src = $__x; + stop = dest + 36 | 0; + do { + HEAP32[dest >> 2] = HEAP32[src >> 2]; + dest = dest + 4 | 0; + src = src + 4 | 0; + } while ((dest | 0) < (stop | 0)); + HEAP32[$__end_ >> 2] = $5 + 36; + __ZNSt3__26vectorIN6vision25DoGScaleInvariantDetector12FeaturePointENS_9allocatorIS3_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS3_RS5_EE($this, $__v); + __ZNSt3__214__split_bufferIN6vision25DoGScaleInvariantDetector12FeaturePointERNS_9allocatorIS3_EEED2Ev($__v); + STACKTOP = sp; + return; + } +} + +function _color_quantize($cinfo, $input_buf, $output_buf, $num_rows) { + $cinfo = $cinfo | 0; + $input_buf = $input_buf | 0; + $output_buf = $output_buf | 0; + $num_rows = $num_rows | 0; + var $1 = 0, $2 = 0, $3 = 0, $ci$022$us$us115 = 0, $col$028$us$us99 = 0, $pixcode$023$us$us114 = 0, $ptrin$026$us$us101 = 0, $ptrin$121$us$us116 = 0, $ptrout$027$us$us100 = 0, $row$030 = 0, $row$030$us61 = 0; + $1 = HEAP32[(HEAP32[$cinfo + 484 >> 2] | 0) + 24 >> 2] | 0; + $2 = HEAP32[$cinfo + 112 >> 2] | 0; + $3 = HEAP32[$cinfo + 120 >> 2] | 0; + if (($num_rows | 0) < 1 | ($2 | 0) == 0) return; + if (($3 | 0) <= 0) { + $row$030 = 0; + do { + _memset(HEAP32[$output_buf + ($row$030 << 2) >> 2] | 0, 0, $2 | 0) | 0; + $row$030 = $row$030 + 1 | 0; + } while (($row$030 | 0) != ($num_rows | 0)); + return; + } + $row$030$us61 = 0; + do { + $col$028$us$us99 = $2; + $ptrin$026$us$us101 = HEAP32[$input_buf + ($row$030$us61 << 2) >> 2] | 0; + $ptrout$027$us$us100 = HEAP32[$output_buf + ($row$030$us61 << 2) >> 2] | 0; + while (1) { + $ci$022$us$us115 = 0; + $pixcode$023$us$us114 = 0; + $ptrin$121$us$us116 = $ptrin$026$us$us101; + while (1) { + $pixcode$023$us$us114 = $pixcode$023$us$us114 + (HEAPU8[(HEAP32[$1 + ($ci$022$us$us115 << 2) >> 2] | 0) + (HEAPU8[$ptrin$121$us$us116 >> 0] | 0) >> 0] | 0) | 0; + $ci$022$us$us115 = $ci$022$us$us115 + 1 | 0; + if (($ci$022$us$us115 | 0) == ($3 | 0)) break; else $ptrin$121$us$us116 = $ptrin$121$us$us116 + 1 | 0; } - $$2 = $$0; - break; - } - case 68: - { - $8 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E13parseDecltypeEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0) | 0; - HEAP32[$1 >> 2] = $8; - if (!$8) $$1 = 0; else { - __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE9push_backERKS3_($0 + 148 | 0, $1); - $$1 = $8; + HEAP8[$ptrout$027$us$us100 >> 0] = $pixcode$023$us$us114; + $col$028$us$us99 = $col$028$us$us99 + -1 | 0; + if (!$col$028$us$us99) break; else { + $ptrin$026$us$us101 = $ptrin$026$us$us101 + $3 | 0; + $ptrout$027$us$us100 = $ptrout$027$us$us100 + 1 | 0; } - $$2 = $$1; - break; } - default: - $$2 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E17parseSubstitutionEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0) | 0; - } - STACKTOP = sp; - return $$2 | 0; + $row$030$us61 = $row$030$us61 + 1 | 0; + } while (($row$030$us61 | 0) != ($num_rows | 0)); + return; } -function __ZNK12_GLOBAL__N_116itanium_demangle16FloatLiteralImplIfE9printLeftERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0$i$i = 0, $$0$idx = 0, $$034 = 0, $$07$i$i = 0, $$byval_copy = 0, $15 = 0, $18 = 0, $2 = 0, $24 = 0, $26 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $scevgep = 0, sp = 0; +function __ZN6vision27OrthogonalizePivot8x9Basis4IfEEbPT_S2_($Q, $A) { + $Q = $Q | 0; + $A = $A | 0; + var $add$ptr = 0, $add$ptr1 = 0, $add$ptr2 = 0, $add$ptr3 = 0, $add$ptr6 = 0, $add$ptr9 = 0, $arrayidx23 = 0, $call = 0.0, $call14 = 0.0, $call17 = 0.0, $call20 = 0.0, $call22 = 0, $mul = 0, $retval$0 = 0, $ss = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 48 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); - $$byval_copy = sp + 24 | 0; - $2 = sp + 40 | 0; - $3 = sp; - $4 = sp + 32 | 0; - $5 = $0 + 8 | 0; - $6 = __ZNK12_GLOBAL__N_110StringView5beginEv($5) | 0; - if (((__ZNK12_GLOBAL__N_110StringView3endEv($5) | 0) + 1 - $6 | 0) >>> 0 > 8) { - $scevgep = $2 + 4 | 0; - $$0$idx = 0; - $$034 = $2; - while (1) { - if (($$0$idx | 0) == 8) break; - $15 = HEAP8[$6 + $$0$idx >> 0] | 0; - $18 = HEAP8[$6 + ($$0$idx | 1) >> 0] | 0; - HEAP8[$$034 >> 0] = (($18 + -48 | 0) >>> 0 < 10 ? 208 : 169) + $18 + ((($15 + -48 | 0) >>> 0 < 10 ? 0 : 9) + $15 << 4); - $$0$idx = $$0$idx + 2 | 0; - $$034 = $$034 + 1 | 0; - } - $$0$i$i = $scevgep; - $$07$i$i = $2; - while (1) { - $24 = $$0$i$i + -1 | 0; - if ($$07$i$i >>> 0 >= $24 >>> 0) break; - $26 = HEAP8[$$07$i$i >> 0] | 0; - HEAP8[$$07$i$i >> 0] = HEAP8[$24 >> 0] | 0; - HEAP8[$24 >> 0] = $26; - $$0$i$i = $24; - $$07$i$i = $$07$i$i + 1 | 0; - } - HEAP32[$3 >> 2] = 0; - HEAP32[$3 + 4 >> 2] = 0; - HEAP32[$3 + 8 >> 2] = 0; - HEAP32[$3 + 12 >> 2] = 0; - HEAP32[$3 + 16 >> 2] = 0; - HEAP32[$3 + 20 >> 2] = 0; - HEAPF64[$$byval_copy >> 3] = +HEAPF32[$2 >> 2]; - __ZN12_GLOBAL__N_110StringViewC2EPKcS2_($4, $3, $3 + (_snprintf($3, 24, 52451, $$byval_copy) | 0) | 0); - HEAP32[$$byval_copy >> 2] = HEAP32[$4 >> 2]; - HEAP32[$$byval_copy + 4 >> 2] = HEAP32[$4 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy); + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $ss = sp; + $add$ptr = $Q + 144 | 0; + $add$ptr1 = $Q + 108 | 0; + $add$ptr2 = $A + 144 | 0; + __ZN6vision21AccumulateProjection9IfEEvPT_PKS1_S4_($add$ptr, $add$ptr1, $add$ptr2); + $add$ptr3 = $Q + 180 | 0; + __ZN6vision21AccumulateProjection9IfEEvPT_PKS1_S4_($add$ptr3, $add$ptr1, $A + 180 | 0); + $add$ptr6 = $Q + 216 | 0; + __ZN6vision21AccumulateProjection9IfEEvPT_PKS1_S4_($add$ptr6, $add$ptr1, $A + 216 | 0); + $add$ptr9 = $Q + 252 | 0; + __ZN6vision21AccumulateProjection9IfEEvPT_PKS1_S4_($add$ptr9, $add$ptr1, $A + 252 | 0); + $call = +__ZN6vision11SumSquares9IfEET_PKS1_($add$ptr); + HEAPF32[$ss >> 2] = $call; + $call14 = +__ZN6vision11SumSquares9IfEET_PKS1_($add$ptr3); + HEAPF32[$ss + 4 >> 2] = $call14; + $call17 = +__ZN6vision11SumSquares9IfEET_PKS1_($add$ptr6); + HEAPF32[$ss + 8 >> 2] = $call17; + $call20 = +__ZN6vision11SumSquares9IfEET_PKS1_($add$ptr9); + HEAPF32[$ss + 12 >> 2] = $call20; + $call22 = __ZN6vision9MaxIndex4IfEEiPKT_($ss) | 0; + $arrayidx23 = $ss + ($call22 << 2) | 0; + if (+HEAPF32[$arrayidx23 >> 2] == 0.0) $retval$0 = 0; else { + $mul = $call22 * 9 | 0; + __ZN6vision5Swap9IfEEvPT_S2_($add$ptr, $add$ptr + ($mul << 2) | 0); + __ZN6vision5Swap9IfEEvPT_S2_($add$ptr2, $add$ptr2 + ($mul << 2) | 0); + __ZN6vision12ScaleVector9IfEEvPT_PKS1_S1_($add$ptr, $add$ptr, 1.0 / +Math_sqrt(+(+HEAPF32[$arrayidx23 >> 2]))); + $retval$0 = 1; } STACKTOP = sp; - return; + return $retval$0 | 0; } -function __ZNK12_GLOBAL__N_116itanium_demangle16FloatLiteralImplIeE9printLeftERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0$i$i = 0, $$0$idx = 0, $$034 = 0, $$07$i$i = 0, $$byval_copy = 0, $15 = 0, $18 = 0, $2 = 0, $24 = 0, $26 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $scevgep = 0, dest = 0, sp = 0, stop = 0; +function __ZNK12_GLOBAL__N_116itanium_demangle19PointerToMemberType9printLeftERNS_12OutputStreamE($this, $s) { + $this = $this | 0; + $s = $s | 0; + var $0 = 0, $MemberType = 0, $agg$tmp = 0, $agg$tmp6 = 0, $agg$tmp8 = 0, $agg$tmp8$byval_copy = 0, label = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 64 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(64); - $$byval_copy = sp + 48 | 0; - $2 = sp + 40 | 0; - $3 = sp; - $4 = sp + 56 | 0; - $5 = $0 + 8 | 0; - $6 = __ZNK12_GLOBAL__N_110StringView5beginEv($5) | 0; - if (((__ZNK12_GLOBAL__N_110StringView3endEv($5) | 0) + 1 - $6 | 0) >>> 0 > 20) { - $scevgep = $2 + 8 | 0; - $$0$idx = 0; - $$034 = $2; - while (1) { - if (($$0$idx | 0) == 20) break; - $15 = HEAP8[$6 + $$0$idx >> 0] | 0; - $18 = HEAP8[$6 + ($$0$idx | 1) >> 0] | 0; - HEAP8[$$034 >> 0] = (($18 + -48 | 0) >>> 0 < 10 ? 208 : 169) + $18 + ((($15 + -48 | 0) >>> 0 < 10 ? 0 : 9) + $15 << 4); - $$0$idx = $$0$idx + 2 | 0; - $$034 = $$034 + 1 | 0; - } - $$0$i$i = $scevgep + 2 | 0; - $$07$i$i = $2; - while (1) { - $24 = $$0$i$i + -1 | 0; - if ($$07$i$i >>> 0 >= $24 >>> 0) break; - $26 = HEAP8[$$07$i$i >> 0] | 0; - HEAP8[$$07$i$i >> 0] = HEAP8[$24 >> 0] | 0; - HEAP8[$24 >> 0] = $26; - $$0$i$i = $24; - $$07$i$i = $$07$i$i + 1 | 0; - } - dest = $3; - stop = dest + 40 | 0; - do { - HEAP32[dest >> 2] = 0; - dest = dest + 4 | 0; - } while ((dest | 0) < (stop | 0)); - HEAPF64[$$byval_copy >> 3] = +HEAPF64[$2 >> 3]; - __ZN12_GLOBAL__N_110StringViewC2EPKcS2_($4, $3, $3 + (_snprintf($3, 40, 52331, $$byval_copy) | 0) | 0); - HEAP32[$$byval_copy >> 2] = HEAP32[$4 >> 2]; - HEAP32[$$byval_copy + 4 >> 2] = HEAP32[$4 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy); + STACKTOP = STACKTOP + 32 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); + $agg$tmp8$byval_copy = sp + 24 | 0; + $agg$tmp = sp + 16 | 0; + $agg$tmp6 = sp + 8 | 0; + $agg$tmp8 = sp; + $MemberType = $this + 12 | 0; + $0 = HEAP32[$MemberType >> 2] | 0; + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$0 >> 2] | 0) + 16 >> 2] & 255]($0, $s); + if (!(__ZNK12_GLOBAL__N_116itanium_demangle4Node8hasArrayERNS_12OutputStreamE(HEAP32[$MemberType >> 2] | 0, $s) | 0) ? !(__ZNK12_GLOBAL__N_116itanium_demangle4Node11hasFunctionERNS_12OutputStreamE(HEAP32[$MemberType >> 2] | 0, $s) | 0) : 0) { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp6, 52808); + HEAP32[$agg$tmp8$byval_copy >> 2] = HEAP32[$agg$tmp6 >> 2]; + HEAP32[$agg$tmp8$byval_copy + 4 >> 2] = HEAP32[$agg$tmp6 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($s, $agg$tmp8$byval_copy); + } else { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, 52810); + HEAP32[$agg$tmp8$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp8$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($s, $agg$tmp8$byval_copy); } + __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(HEAP32[$this + 8 >> 2] | 0, $s); + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp8, 56707); + HEAP32[$agg$tmp8$byval_copy >> 2] = HEAP32[$agg$tmp8 >> 2]; + HEAP32[$agg$tmp8$byval_copy + 4 >> 2] = HEAP32[$agg$tmp8 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($s, $agg$tmp8$byval_copy); STACKTOP = sp; return; } -function __ZNSt3__2L11init_wweeksEv() { - var $$0$i$i = 0, $4 = 0; - if ((HEAP8[64736] | 0) == 0 ? ___cxa_guard_acquire(64736) | 0 : 0) { - $4 = 64128; - do { - HEAP32[$4 >> 2] = 0; - HEAP32[$4 + 4 >> 2] = 0; - HEAP32[$4 + 8 >> 2] = 0; - $$0$i$i = 0; - while (1) { - if (($$0$i$i | 0) == 3) break; - HEAP32[$4 + ($$0$i$i << 2) >> 2] = 0; - $$0$i$i = $$0$i$i + 1 | 0; - } - $4 = $4 + 12 | 0; - } while (($4 | 0) != 64296); - ___cxa_guard_release(64736); - } - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(64128, 22348) | 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(64140, 22376) | 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(64152, 22404) | 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(64164, 22436) | 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(64176, 22476) | 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(64188, 22512) | 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(64200, 22540) | 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(64212, 22576) | 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(64224, 22592) | 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(64236, 22608) | 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(64248, 22624) | 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(64260, 22640) | 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(64272, 22656) | 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(64284, 22672) | 0; +function __ZNSt3__26vectorINS0_INS_4pairIfmEENS_9allocatorIS2_EEEENS3_IS5_EEE8__appendEm($this, $__n) { + $this = $this | 0; + $__n = $__n | 0; + var $1 = 0, $4 = 0, $__end_ = 0, $__v = 0, $__value_$i$i$i = 0, $add = 0, $call$i = 0, $mul$i = 0, $sub$ptr$div$i$i$i = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 32 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); + $__v = sp; + $__value_$i$i$i = $this + 8 | 0; + $__end_ = $this + 4 | 0; + $1 = HEAP32[$__end_ >> 2] | 0; + do if ((((HEAP32[$__value_$i$i$i >> 2] | 0) - $1 | 0) / 12 | 0) >>> 0 < $__n >>> 0) { + $add = (($1 - (HEAP32[$this >> 2] | 0) | 0) / 12 | 0) + $__n | 0; + $call$i = __ZNKSt3__26vectorINS0_INS_4pairIfmEENS_9allocatorIS2_EEEENS3_IS5_EEE8max_sizeEv($this) | 0; + if ($call$i >>> 0 < $add >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv($this); else { + $4 = HEAP32[$this >> 2] | 0; + $sub$ptr$div$i$i$i = ((HEAP32[$__value_$i$i$i >> 2] | 0) - $4 | 0) / 12 | 0; + $mul$i = $sub$ptr$div$i$i$i << 1; + __ZNSt3__214__split_bufferINS_6vectorINS_4pairIfmEENS_9allocatorIS3_EEEERNS4_IS6_EEEC2EmmS8_($__v, $sub$ptr$div$i$i$i >>> 0 < $call$i >>> 1 >>> 0 ? ($mul$i >>> 0 < $add >>> 0 ? $add : $mul$i) : $call$i, ((HEAP32[$__end_ >> 2] | 0) - $4 | 0) / 12 | 0, $this + 8 | 0); + __ZNSt3__214__split_bufferINS_6vectorINS_4pairIfmEENS_9allocatorIS3_EEEERNS4_IS6_EEE18__construct_at_endEm($__v, $__n); + __ZNSt3__26vectorINS0_INS_4pairIfmEENS_9allocatorIS2_EEEENS3_IS5_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS5_RS6_EE($this, $__v); + __ZNSt3__214__split_bufferINS_6vectorINS_4pairIfmEENS_9allocatorIS3_EEEERNS4_IS6_EEED2Ev($__v); + break; + } + } else __ZNSt3__26vectorINS0_INS_4pairIfmEENS_9allocatorIS2_EEEENS3_IS5_EEE18__construct_at_endEm($this, $__n); while (0); + STACKTOP = sp; return; } -function __ZNSt3__2L10init_weeksEv() { - var $$0$i$i = 0, $4 = 0; - if ((HEAP8[64656] | 0) == 0 ? ___cxa_guard_acquire(64656) | 0 : 0) { - $4 = 63632; - do { - HEAP32[$4 >> 2] = 0; - HEAP32[$4 + 4 >> 2] = 0; - HEAP32[$4 + 8 >> 2] = 0; - $$0$i$i = 0; - while (1) { - if (($$0$i$i | 0) == 3) break; - HEAP32[$4 + ($$0$i$i << 2) >> 2] = 0; - $$0$i$i = $$0$i$i + 1 | 0; - } - $4 = $4 + 12 | 0; - } while (($4 | 0) != 63800); - ___cxa_guard_release(64656); - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(63632, 59589) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(63644, 59596) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(63656, 59603) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(63668, 59611) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(63680, 59621) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(63692, 59630) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(63704, 59637) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(63716, 59646) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(63728, 59650) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(63740, 59654) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(63752, 59658) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(63764, 59662) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(63776, 59666) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(63788, 59670) | 0; - return; -} - -function _arParamLTCreate($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $$057 = 0, $$058 = 0, $$059 = 0, $$1 = 0, $$160 = 0, $10 = 0, $15 = 0, $2 = 0, $20 = 0, $21 = 0, $23 = 0, $26 = 0, $28 = 0, $3 = 0, $32 = 0.0, $36 = 0.0, $4 = 0, $5 = 0, $6 = 0, $9 = 0, sp = 0; +function _ar2MarkerCoord2ScreenCoord2($cparamLT, $trans, $mx, $my, $sx, $sy) { + $cparamLT = $cparamLT | 0; + $trans = $trans | 0; + $mx = +$mx; + $my = +$my; + $sx = $sx | 0; + $sy = $sy | 0; + var $add28 = 0.0, $add49 = 0.0, $add59 = 0.0, $div = 0.0, $div29 = 0.0, $ix1 = 0, $iy1 = 0, $paramLTf = 0, $retval$0 = 0, $sub = 0.0, $sub73 = 0.0, $wtrans = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 64 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(64); - $2 = sp + 24 | 0; - $3 = sp + 16 | 0; - $4 = sp + 8 | 0; - $5 = sp; - $6 = _malloc(208) | 0; - if (!$6) { - _arLog(0, 3, 45930, sp + 32 | 0); - _exit(1); - } - _memcpy($6 | 0, $0 | 0, 184) | 0; - $9 = $1 << 1; - $10 = (HEAP32[$0 >> 2] | 0) + $9 | 0; - HEAP32[$6 + 192 >> 2] = $10; - $15 = (HEAP32[$0 + 4 >> 2] | 0) + $9 | 0; - HEAP32[$6 + 196 >> 2] = $15; - HEAP32[$6 + 200 >> 2] = $1; - HEAP32[$6 + 204 >> 2] = $1; - $20 = Math_imul($10 << 3, $15) | 0; - $21 = _malloc($20) | 0; - HEAP32[$6 + 184 >> 2] = $21; - if (!$21) { - _arLog(0, 3, 45930, sp + 40 | 0); - _exit(1); - } - $23 = _malloc($20) | 0; - HEAP32[$6 + 188 >> 2] = $23; - if (!$23) { - _arLog(0, 3, 45930, sp + 48 | 0); - _exit(1); - } - $26 = $0 + 104 | 0; - $28 = HEAP32[$0 + 176 >> 2] | 0; - $$0 = 0; - $$058 = $23; - $$059 = $21; - while (1) { - if (($$0 | 0) >= ($15 | 0)) break; - $32 = +($$0 - $1 | 0); - $$057 = 0; - $$1 = $$058; - $$160 = $$059; - while (1) { - if (($$057 | 0) >= ($10 | 0)) break; - $36 = +($$057 - $1 | 0); - _arParamIdeal2Observ($26, $36, $32, $4, $5, $28) | 0; - HEAPF32[$$160 >> 2] = +HEAPF64[$4 >> 3]; - HEAPF32[$$160 + 4 >> 2] = +HEAPF64[$5 >> 3]; - _arParamObserv2Ideal($26, $36, $32, $2, $3, $28) | 0; - HEAPF32[$$1 >> 2] = +HEAPF64[$2 >> 3]; - HEAPF32[$$1 + 4 >> 2] = +HEAPF64[$3 >> 3]; - $$057 = $$057 + 1 | 0; - $$1 = $$1 + 8 | 0; - $$160 = $$160 + 8 | 0; - } - $$0 = $$0 + 1 | 0; - $$058 = $$1; - $$059 = $$160; + $wtrans = sp; + $ix1 = sp + 52 | 0; + $iy1 = sp + 48 | 0; + if ($cparamLT) { + _arUtilMatMuldff($cparamLT + 8 | 0, $trans, $wtrans) | 0; + $add28 = +HEAPF32[$wtrans + 44 >> 2] + (+HEAPF32[$wtrans + 32 >> 2] * $mx + +HEAPF32[$wtrans + 36 >> 2] * $my); + $div = (+HEAPF32[$wtrans + 12 >> 2] + (+HEAPF32[$wtrans >> 2] * $mx + +HEAPF32[$wtrans + 4 >> 2] * $my)) / $add28; + $div29 = (+HEAPF32[$wtrans + 28 >> 2] + (+HEAPF32[$wtrans + 16 >> 2] * $mx + +HEAPF32[$wtrans + 20 >> 2] * $my)) / $add28; + $paramLTf = $cparamLT + 184 | 0; + if ((_arParamIdeal2ObservLTf($paramLTf, $div, $div29, $sx, $sy) | 0) >= 0 ? (_arParamObserv2IdealLTf($paramLTf, +HEAPF32[$sx >> 2], +HEAPF32[$sy >> 2], $ix1, $iy1) | 0) >= 0 : 0) { + $sub = $div - +HEAPF32[$ix1 >> 2]; + $sub73 = $div29 - +HEAPF32[$iy1 >> 2]; + $retval$0 = ($sub * $sub + $sub73 * $sub73 > 1.0) << 31 >> 31; + } else $retval$0 = -1; + } else { + $add49 = +HEAPF32[$trans + 28 >> 2] + (+HEAPF32[$trans + 16 >> 2] * $mx + +HEAPF32[$trans + 20 >> 2] * $my); + $add59 = +HEAPF32[$trans + 44 >> 2] + (+HEAPF32[$trans + 32 >> 2] * $mx + +HEAPF32[$trans + 36 >> 2] * $my); + HEAPF32[$sx >> 2] = (+HEAPF32[$trans + 12 >> 2] + (+HEAPF32[$trans >> 2] * $mx + +HEAPF32[$trans + 4 >> 2] * $my)) / $add59; + HEAPF32[$sy >> 2] = $add49 / $add59; + $retval$0 = 0; } STACKTOP = sp; - return $6 | 0; + return $retval$0 | 0; } -function __ZNK12_GLOBAL__N_116itanium_demangle22ParameterPackExpansion9printLeftERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $$byval_copy1 = 0, $11 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 64 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(64); - $$byval_copy1 = sp + 48 | 0; - $2 = sp + 32 | 0; - $3 = sp + 8 | 0; - $4 = sp + 24 | 0; - $5 = sp; - $6 = $1 + 12 | 0; - __ZN12_GLOBAL__N_114SwapAndRestoreIjEC2ERjj($2, $6); - $7 = $1 + 16 | 0; - __ZN12_GLOBAL__N_114SwapAndRestoreIjEC2ERjj($3, $7); - $8 = __ZNK12_GLOBAL__N_112OutputStream18getCurrentPositionEv($1) | 0; - $9 = $0 + 8 | 0; - __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(HEAP32[$9 >> 2] | 0, $1); - $11 = HEAP32[$7 >> 2] | 0; - L1 : do switch ($11 | 0) { - case -1: - { - __ZN12_GLOBAL__N_110StringViewC2EPKc($4, 51510); - HEAP32[$$byval_copy1 >> 2] = HEAP32[$4 >> 2]; - HEAP32[$$byval_copy1 + 4 >> 2] = HEAP32[$4 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy1); - break; - } - case 0: - { - __ZN12_GLOBAL__N_112OutputStream18setCurrentPositionEm($1, $8); - break; - } - default: - { - $$0 = 1; - while (1) { - if ($$0 >>> 0 >= $11 >>> 0) break L1; - __ZN12_GLOBAL__N_110StringViewC2EPKc($5, 52152); - HEAP32[$$byval_copy1 >> 2] = HEAP32[$5 >> 2]; - HEAP32[$$byval_copy1 + 4 >> 2] = HEAP32[$5 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy1); - HEAP32[$6 >> 2] = $$0; - __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(HEAP32[$9 >> 2] | 0, $1); - $$0 = $$0 + 1 | 0; - } +function _rgb1_rgb_convert($cinfo, $input_buf, $input_row, $output_buf, $num_rows) { + $cinfo = $cinfo | 0; + $input_buf = $input_buf | 0; + $input_row = $input_row | 0; + $output_buf = $output_buf | 0; + $num_rows = $num_rows | 0; + var $0 = 0, $2 = 0, $4 = 0, $6 = 0, $9 = 0, $add$us = 0, $arrayidx2 = 0, $arrayidx4 = 0, $col$026$us = 0, $conv11$us = 0, $dec31$us$in = 0, $input_row$addr$030$us = 0, $outptr$025$us = 0, $output_buf$addr$029$us = 0, $dec31$us$in$looptemp = 0; + $0 = HEAP32[$cinfo + 112 >> 2] | 0; + if (($num_rows | 0) <= 0) return; + $arrayidx2 = $input_buf + 4 | 0; + $arrayidx4 = $input_buf + 8 | 0; + if (!$0) return; + $dec31$us$in = $num_rows; + $input_row$addr$030$us = $input_row; + $output_buf$addr$029$us = $output_buf; + while (1) { + $dec31$us$in$looptemp = $dec31$us$in; + $dec31$us$in = $dec31$us$in + -1 | 0; + $2 = HEAP32[(HEAP32[$input_buf >> 2] | 0) + ($input_row$addr$030$us << 2) >> 2] | 0; + $4 = HEAP32[(HEAP32[$arrayidx2 >> 2] | 0) + ($input_row$addr$030$us << 2) >> 2] | 0; + $6 = HEAP32[(HEAP32[$arrayidx4 >> 2] | 0) + ($input_row$addr$030$us << 2) >> 2] | 0; + $input_row$addr$030$us = $input_row$addr$030$us + 1 | 0; + $col$026$us = 0; + $outptr$025$us = HEAP32[$output_buf$addr$029$us >> 2] | 0; + while (1) { + $9 = HEAP8[$4 + $col$026$us >> 0] | 0; + $conv11$us = HEAPU8[$6 + $col$026$us >> 0] | 0; + $add$us = ($9 & 255) + 128 | 0; + HEAP8[$outptr$025$us >> 0] = $add$us + (HEAPU8[$2 + $col$026$us >> 0] | 0); + HEAP8[$outptr$025$us + 1 >> 0] = $9; + HEAP8[$outptr$025$us + 2 >> 0] = $add$us + $conv11$us; + $col$026$us = $col$026$us + 1 | 0; + if (($col$026$us | 0) == ($0 | 0)) break; else $outptr$025$us = $outptr$025$us + 3 | 0; } - } while (0); - __ZN12_GLOBAL__N_114SwapAndRestoreIjED2Ev($3); - __ZN12_GLOBAL__N_114SwapAndRestoreIjED2Ev($2); - STACKTOP = sp; + if (($dec31$us$in$looptemp | 0) <= 1) break; else $output_buf$addr$029$us = $output_buf$addr$029$us + 4 | 0; + } return; } -function _mbtowc($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$0 = 0, $13 = 0, $17 = 0, $21 = 0, $23 = 0, $25 = 0, $3 = 0, $33 = 0, $34 = 0, $42 = 0, $47 = 0, $50 = 0, $55 = 0, $59 = 0, $7 = 0, $spec$select = 0, sp = 0; +function __ZNK12_GLOBAL__N_116itanium_demangle10VectorType9printLeftERNS_12OutputStreamE($this, $S) { + $this = $this | 0; + $S = $S | 0; + var $Dimension = 0, $agg$tmp = 0, $agg$tmp12 = 0, $agg$tmp12$byval_copy = 0, $agg$tmp8 = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $3 = sp; - L1 : do if (!$1) $$0 = 0; else { - do if ($2 | 0) { - $spec$select = ($0 | 0) == 0 ? $3 : $0; - $7 = HEAP8[$1 >> 0] | 0; - if ($7 << 24 >> 24 > -1) { - HEAP32[$spec$select >> 2] = $7 & 255; - $$0 = $7 << 24 >> 24 != 0 & 1; - break L1; - } - $13 = (___pthread_self_420() | 0) + 188 | 0; - $17 = HEAP8[$1 >> 0] | 0; - if (!(HEAP32[HEAP32[$13 >> 2] >> 2] | 0)) { - HEAP32[$spec$select >> 2] = $17 << 24 >> 24 & 57343; - $$0 = 1; - break L1; - } - $21 = ($17 & 255) + -194 | 0; - if ($21 >>> 0 <= 50) { - $23 = $1 + 1 | 0; - $25 = HEAP32[5728 + ($21 << 2) >> 2] | 0; - if ($2 >>> 0 < 4 ? $25 & -2147483648 >>> (($2 * 6 | 0) + -6 | 0) | 0 : 0) break; - $33 = HEAPU8[$23 >> 0] | 0; - $34 = $33 >>> 3; - if (($34 + -16 | $34 + ($25 >> 26)) >>> 0 <= 7) { - $42 = $33 + -128 | $25 << 6; - if (($42 | 0) >= 0) { - HEAP32[$spec$select >> 2] = $42; - $$0 = 2; - break L1; - } - $47 = (HEAPU8[$1 + 2 >> 0] | 0) + -128 | 0; - if ($47 >>> 0 <= 63) { - $50 = $47 | $42 << 6; - if (($50 | 0) >= 0) { - HEAP32[$spec$select >> 2] = $50; - $$0 = 3; - break L1; - } - $55 = (HEAPU8[$1 + 3 >> 0] | 0) + -128 | 0; - if ($55 >>> 0 <= 63) { - HEAP32[$spec$select >> 2] = $55 | $50 << 6; - $$0 = 4; - break L1; - } - } - } - } - } while (0); - $59 = ___errno_location() | 0; - HEAP32[$59 >> 2] = 25; - $$0 = -1; - } while (0); + STACKTOP = STACKTOP + 32 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); + $agg$tmp12$byval_copy = sp + 24 | 0; + $agg$tmp = sp + 16 | 0; + $agg$tmp8 = sp + 8 | 0; + $agg$tmp12 = sp; + __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(HEAP32[$this + 8 >> 2] | 0, $S); + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, 56817); + HEAP32[$agg$tmp12$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp12$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp12$byval_copy); + $Dimension = $this + 12 | 0; + if (!(__ZNK12_GLOBAL__N_116itanium_demangle12NodeOrString6isNodeEv($Dimension) | 0)) { + if (__ZNK12_GLOBAL__N_116itanium_demangle12NodeOrString8isStringEv($Dimension) | 0) { + __ZNK12_GLOBAL__N_116itanium_demangle12NodeOrString8asStringEv($agg$tmp8, $Dimension); + HEAP32[$agg$tmp12$byval_copy >> 2] = HEAP32[$agg$tmp8 >> 2]; + HEAP32[$agg$tmp12$byval_copy + 4 >> 2] = HEAP32[$agg$tmp8 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp12$byval_copy); + } + } else __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(__ZNK12_GLOBAL__N_116itanium_demangle12NodeOrString6asNodeEv($Dimension) | 0, $S); + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp12, 52456); + HEAP32[$agg$tmp12$byval_copy >> 2] = HEAP32[$agg$tmp12 >> 2]; + HEAP32[$agg$tmp12$byval_copy + 4 >> 2] = HEAP32[$agg$tmp12 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp12$byval_copy); STACKTOP = sp; - return $$0 | 0; + return; } function _teardown($id) { @@ -76586,8 +79406,8 @@ function _teardown($id) { if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); $id$addr = sp; HEAP32[$id$addr >> 2] = $id; - if (!(__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(65260, $id$addr) | 0)) $retval$0 = -1; else { - $call7 = __ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(65260, $id$addr) | 0; + if (!(__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(66108, $id$addr) | 0)) $retval$0 = -1; else { + $call7 = __ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(66108, $id$addr) | 0; $videoFrame = $call7 + 196 | 0; $0 = HEAP32[$videoFrame >> 2] | 0; if ($0 | 0) { @@ -76597,9 +79417,9 @@ function _teardown($id) { } _deleteHandle($call7); _arPattDeleteHandle(HEAP32[$call7 + 220 >> 2] | 0) | 0; - __ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE14__erase_uniqueIiEEmRKT_(65260, $id$addr) | 0; - $multi_markers = $call7 + 328 | 0; - $__end_$i = $call7 + 332 | 0; + __ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE14__erase_uniqueIiEEmRKT_(66108, $id$addr) | 0; + $multi_markers = $call7 + 352 | 0; + $__end_$i = $call7 + 356 | 0; $i$0 = 0; while (1) { $3 = HEAP32[$multi_markers >> 2] | 0; @@ -76617,864 +79437,730 @@ function _teardown($id) { return $retval$0 | 0; } -function __ZNK6vision21HoughSimilarityVoting14getBinDistanceERfS1_S1_S1_ffffffff($0, $1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = +$5; - $6 = +$6; - $7 = +$7; - $8 = +$8; - $9 = +$9; - $10 = +$10; - $11 = +$11; - $12 = +$12; - var $13 = 0, $15 = 0.0, $17 = 0.0, $19 = 0.0, $21 = 0.0, $26 = 0.0, $33 = 0, $38 = 0, $42 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $13 = sp; - $15 = +Math_abs(+($5 - $9)); - HEAPF32[$1 >> 2] = $15; - $17 = +Math_abs(+($6 - $10)); - HEAPF32[$2 >> 2] = $17; - $19 = +Math_abs(+($8 - $12)); - HEAPF32[$4 >> 2] = $19; - $21 = +Math_abs(+($7 - $11)); - $26 = +__ZN6vision4min2IfEET_S1_S1_($21, +(HEAP32[$0 + 60 >> 2] | 0) - $21); - HEAPF32[$3 >> 2] = $26; - if (!($26 >= 0.0)) { - $33 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 36007) | 0, 36227) | 0, 39072) | 0, 333) | 0, 39079) | 0, 36048) | 0; - __ZNKSt3__28ios_base6getlocEv($13, $33 + (HEAP32[(HEAP32[$33 >> 2] | 0) + -12 >> 2] | 0) | 0); - $38 = __ZNKSt3__26locale9use_facetERNS0_2idE($13, 66512) | 0; - $42 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$38 >> 2] | 0) + 28 >> 2] & 127]($38, 10) | 0; - __ZNSt3__26localeD2Ev($13); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($33, $42) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($33) | 0; - _abort(); - } else { - STACKTOP = sp; - return; - } -} - -function __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$byval_copy = 0, $10 = 0, $14 = 0, $16 = 0, $17 = 0, $18 = 0, $2 = 0, $21 = 0, $25 = 0, $26 = 0, $28 = 0, $3 = 0, $31 = 0, $37 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy = sp + 12 | 0; - $2 = sp + 8 | 0; - $3 = sp; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE6sentryC2ERS3_($3, $0); - if (HEAP8[$3 >> 0] | 0) { - __ZNKSt3__28ios_base6getlocEv($$byval_copy, $0 + (HEAP32[(HEAP32[$0 >> 2] | 0) + -12 >> 2] | 0) | 0); - $10 = __ZNKSt3__26locale9use_facetERNS0_2idE($$byval_copy, 66568) | 0; - __ZNSt3__26localeD2Ev($$byval_copy); - $14 = $0 + (HEAP32[(HEAP32[$0 >> 2] | 0) + -12 >> 2] | 0) | 0; - $16 = HEAP32[$14 + 24 >> 2] | 0; - $17 = __ZNSt3__211char_traitsIcE3eofEv() | 0; - $18 = $14 + 76 | 0; - if (__ZNSt3__211char_traitsIcE11eq_int_typeEii($17, HEAP32[$18 >> 2] | 0) | 0) { - __ZNKSt3__28ios_base6getlocEv($$byval_copy, $14); - $21 = __ZNKSt3__26locale9use_facetERNS0_2idE($$byval_copy, 66512) | 0; - $25 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$21 >> 2] | 0) + 28 >> 2] & 127]($21, 32) | 0; - __ZNSt3__26localeD2Ev($$byval_copy); - $26 = $25 << 24 >> 24; - HEAP32[$18 >> 2] = $26; - $28 = $26; - } else $28 = HEAP32[$18 >> 2] | 0; - $31 = HEAP32[(HEAP32[$10 >> 2] | 0) + 16 >> 2] | 0; - HEAP32[$2 >> 2] = $16; - HEAP32[$$byval_copy >> 2] = HEAP32[$2 >> 2]; - if (!(FUNCTION_TABLE_iiiiii[$31 & 31]($10, $$byval_copy, $14, $28 & 255, $1) | 0)) { - $37 = $0 + (HEAP32[(HEAP32[$0 >> 2] | 0) + -12 >> 2] | 0) | 0; - __ZNSt3__28ios_base5clearEj($37, HEAP32[$37 + 16 >> 2] | 5); - } - } - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE6sentryD2Ev($3); - STACKTOP = sp; - return $0 | 0; -} - -function _sep_upsample($0, $1, $2, $3, $4, $5, $6) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - $6 = $6 | 0; - var $$05154 = 0, $$05253 = 0, $$1 = 0, $$pre = 0, $10 = 0, $11 = 0, $12 = 0, $14 = 0, $27 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $39 = 0, $40 = 0, $53 = 0, $8 = 0, $9 = 0, $spec$select = 0; - $8 = HEAP32[$0 + 476 >> 2] | 0; - $9 = $8 + 92 | 0; - $10 = HEAP32[$9 >> 2] | 0; - $11 = $0 + 320 | 0; - $12 = HEAP32[$11 >> 2] | 0; - if (($10 | 0) < ($12 | 0)) { - $34 = $10; - $35 = $12; +function _fread($destv, $size, $nmemb, $f) { + $destv = $destv | 0; + $size = $size | 0; + $nmemb = $nmemb | 0; + $f = $f | 0; + var $3 = 0, $call34 = 0, $cond = 0, $conv = 0, $dest$0 = 0, $dest$146 = 0, $l$0 = 0, $l$147 = 0, $mode = 0, $mul = 0, $read = 0, $retval$0 = 0, $rpos = 0, $spec$select = 0, $sub$ptr$sub = 0, $sub$ptr$sub$mul = 0, $sub45 = 0, label = 0; + $mul = Math_imul($nmemb, $size) | 0; + $spec$select = ($size | 0) == 0 ? 0 : $nmemb; + if ((HEAP32[$f + 76 >> 2] | 0) > -1) $cond = ___lockfile($f) | 0; else $cond = 0; + $mode = $f + 74 | 0; + $conv = HEAP8[$mode >> 0] | 0; + HEAP8[$mode >> 0] = $conv + 255 | $conv; + $rpos = $f + 4 | 0; + $3 = HEAP32[$rpos >> 2] | 0; + $sub$ptr$sub = (HEAP32[$f + 8 >> 2] | 0) - $3 | 0; + if (($sub$ptr$sub | 0) > 0) { + $sub$ptr$sub$mul = $sub$ptr$sub >>> 0 < $mul >>> 0 ? $sub$ptr$sub : $mul; + _memcpy($destv | 0, $3 | 0, $sub$ptr$sub$mul | 0) | 0; + HEAP32[$rpos >> 2] = (HEAP32[$rpos >> 2] | 0) + $sub$ptr$sub$mul; + $dest$0 = $destv + $sub$ptr$sub$mul | 0; + $l$0 = $mul - $sub$ptr$sub$mul | 0; } else { - $14 = $0 + 36 | 0; - if ((HEAP32[$14 >> 2] | 0) > 0) { - $$05154 = HEAP32[$0 + 216 >> 2] | 0; - $$05253 = 0; - while (1) { - $27 = (HEAP32[$1 + ($$05253 << 2) >> 2] | 0) + ((Math_imul(HEAP32[$8 + 100 + ($$05253 << 2) >> 2] | 0, HEAP32[$2 >> 2] | 0) | 0) << 2) | 0; - FUNCTION_TABLE_viiii[HEAP32[$8 + 52 + ($$05253 << 2) >> 2] & 31]($0, $$05154, $27, $8 + 12 + ($$05253 << 2) | 0); - $$05253 = $$05253 + 1 | 0; - if (($$05253 | 0) >= (HEAP32[$14 >> 2] | 0)) break; else $$05154 = $$05154 + 88 | 0; - } - $$pre = HEAP32[$11 >> 2] | 0; - } else $$pre = $12; - HEAP32[$9 >> 2] = 0; - $34 = 0; - $35 = $$pre; - } - $33 = $35 - $34 | 0; - $36 = $8 + 96 | 0; - $37 = HEAP32[$36 >> 2] | 0; - $spec$select = $33 >>> 0 > $37 >>> 0 ? $37 : $33; - $39 = HEAP32[$5 >> 2] | 0; - $40 = $6 - $39 | 0; - $$1 = $spec$select >>> 0 > $40 >>> 0 ? $40 : $spec$select; - FUNCTION_TABLE_viiiii[HEAP32[(HEAP32[$0 + 480 >> 2] | 0) + 4 >> 2] & 63]($0, $8 + 12 | 0, $34, $4 + ($39 << 2) | 0, $$1); - HEAP32[$5 >> 2] = (HEAP32[$5 >> 2] | 0) + $$1; - HEAP32[$36 >> 2] = (HEAP32[$36 >> 2] | 0) - $$1; - $53 = (HEAP32[$9 >> 2] | 0) + $$1 | 0; - HEAP32[$9 >> 2] = $53; - if (($53 | 0) < (HEAP32[$11 >> 2] | 0)) return; - HEAP32[$2 >> 2] = (HEAP32[$2 >> 2] | 0) + 1; - return; -} - -function __ZNSt3__224__put_character_sequenceIcNS_11char_traitsIcEEEERNS_13basic_ostreamIT_T0_EES7_PKS4_m($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$byval_copy = 0, $14 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $22 = 0, $26 = 0, $27 = 0, $29 = 0, $3 = 0, $38 = 0, $4 = 0, $8 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy = sp + 12 | 0; - $3 = sp; - $4 = sp + 8 | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE6sentryC2ERS3_($3, $0); - if (HEAP8[$3 >> 0] | 0) { - $8 = (HEAP32[$0 >> 2] | 0) + -12 | 0; - HEAP32[$4 >> 2] = HEAP32[$0 + (HEAP32[$8 >> 2] | 0) + 24 >> 2]; - $14 = $0 + (HEAP32[$8 >> 2] | 0) | 0; - $16 = HEAP32[$14 + 4 >> 2] | 0; - $17 = $1 + $2 | 0; - $18 = __ZNSt3__211char_traitsIcE3eofEv() | 0; - $19 = $14 + 76 | 0; - if (__ZNSt3__211char_traitsIcE11eq_int_typeEii($18, HEAP32[$19 >> 2] | 0) | 0) { - __ZNKSt3__28ios_base6getlocEv($$byval_copy, $14); - $22 = __ZNKSt3__26locale9use_facetERNS0_2idE($$byval_copy, 66512) | 0; - $26 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$22 >> 2] | 0) + 28 >> 2] & 127]($22, 32) | 0; - __ZNSt3__26localeD2Ev($$byval_copy); - $27 = $26 << 24 >> 24; - HEAP32[$19 >> 2] = $27; - $29 = $27; - } else $29 = HEAP32[$19 >> 2] | 0; - HEAP32[$$byval_copy >> 2] = HEAP32[$4 >> 2]; - if (!(__ZNSt3__216__pad_and_outputIcNS_11char_traitsIcEEEENS_19ostreambuf_iteratorIT_T0_EES6_PKS4_S8_S8_RNS_8ios_baseES4_($$byval_copy, $1, ($16 & 176 | 0) == 32 ? $17 : $1, $17, $14, $29 & 255) | 0)) { - $38 = $0 + (HEAP32[(HEAP32[$0 >> 2] | 0) + -12 >> 2] | 0) | 0; - __ZNSt3__28ios_base5clearEj($38, HEAP32[$38 + 16 >> 2] | 5); - } - } - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE6sentryD2Ev($3); - STACKTOP = sp; - return $0 | 0; -} - -function _quantize3_ord_dither($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $$07076 = 0, $$07178 = 0, $$07178$us = 0, $$07275 = 0, $$07374 = 0, $$077 = 0, $$pre84 = 0, $10 = 0, $12 = 0, $14 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $22 = 0, $29 = 0, $30 = 0, $31 = 0, $36 = 0, $5 = 0, $7 = 0, $8 = 0; - $5 = HEAP32[$0 + 484 >> 2] | 0; - $7 = HEAP32[$5 + 24 >> 2] | 0; - $8 = HEAP32[$7 >> 2] | 0; - $10 = HEAP32[$7 + 4 >> 2] | 0; - $12 = HEAP32[$7 + 8 >> 2] | 0; - $14 = HEAP32[$0 + 112 >> 2] | 0; - if (($3 | 0) <= 0) return; - $16 = $5 + 48 | 0; - $17 = $5 + 52 | 0; - $18 = $5 + 56 | 0; - $19 = $5 + 60 | 0; - $$pre84 = HEAP32[$16 >> 2] | 0; - if (!$14) { - $$07178$us = 0; - $22 = $$pre84; - do { - $22 = $22 + 1 & 15; - $$07178$us = $$07178$us + 1 | 0; - } while (($$07178$us | 0) != ($3 | 0)); - HEAP32[$16 >> 2] = $22; - return; + $dest$0 = $destv; + $l$0 = $mul; } - $$07178 = 0; - $36 = $$pre84; - do { - $29 = HEAP32[$17 >> 2] | 0; - $30 = HEAP32[$18 >> 2] | 0; - $31 = HEAP32[$19 >> 2] | 0; - $$07076 = $14; - $$07275 = 0; - $$07374 = HEAP32[$2 + ($$07178 << 2) >> 2] | 0; - $$077 = HEAP32[$1 + ($$07178 << 2) >> 2] | 0; - while (1) { - HEAP8[$$07374 >> 0] = (HEAPU8[$10 + ((HEAP32[$30 + ($36 << 6) + ($$07275 << 2) >> 2] | 0) + (HEAPU8[$$077 + 1 >> 0] | 0)) >> 0] | 0) + (HEAPU8[$8 + ((HEAP32[$29 + ($36 << 6) + ($$07275 << 2) >> 2] | 0) + (HEAPU8[$$077 >> 0] | 0)) >> 0] | 0) + (HEAPU8[$12 + ((HEAP32[$31 + ($36 << 6) + ($$07275 << 2) >> 2] | 0) + (HEAPU8[$$077 + 2 >> 0] | 0)) >> 0] | 0); - $$07076 = $$07076 + -1 | 0; - if (!$$07076) break; else { - $$07275 = $$07275 + 1 & 15; - $$07374 = $$07374 + 1 | 0; - $$077 = $$077 + 3 | 0; - } - } - $36 = $36 + 1 & 15; - HEAP32[$16 >> 2] = $36; - $$07178 = $$07178 + 1 | 0; - } while (($$07178 | 0) != ($3 | 0)); - return; -} - -function __ZNSt3__216__check_groupingERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjS8_Rj($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $$0$i$i = 0, $$029 = 0, $$030 = 0, $$07$i$i = 0, $$pre = 0, $$pre$phiZ2D = 0, $13 = 0, $15 = 0, $18 = 0, $19 = 0, $21 = 0, $23 = 0, $25 = 0, $26 = 0, $28 = 0, $4 = 0, $5 = 0, $7 = 0, $8 = 0, $9 = 0, $or$cond32 = 0, label = 0; - $4 = $0 + 11 | 0; - $5 = HEAP8[$4 >> 0] | 0; - $7 = $0 + 4 | 0; - $8 = HEAP32[$7 >> 2] | 0; - $9 = $5 & 255; - do if (($5 << 24 >> 24 < 0 ? $8 : $9) | 0) { - if (($1 | 0) == ($2 | 0)) { - $$pre$phiZ2D = $9; - $19 = $5; - $23 = $8; - } else { - $$0$i$i = $2; - $$07$i$i = $1; - while (1) { - $13 = $$0$i$i + -4 | 0; - if ($$07$i$i >>> 0 >= $13 >>> 0) break; - $15 = HEAP32[$$07$i$i >> 2] | 0; - HEAP32[$$07$i$i >> 2] = HEAP32[$13 >> 2]; - HEAP32[$13 >> 2] = $15; - $$0$i$i = $13; - $$07$i$i = $$07$i$i + 4 | 0; - } - $$pre = HEAP8[$4 >> 0] | 0; - $$pre$phiZ2D = $$pre & 255; - $19 = $$pre; - $23 = HEAP32[$7 >> 2] | 0; - } - $18 = $19 << 24 >> 24 < 0; - $21 = $18 ? HEAP32[$0 >> 2] | 0 : $0; - $25 = $2 + -4 | 0; - $26 = $21 + ($18 ? $23 : $$pre$phiZ2D) | 0; - $$029 = $1; - $$030 = $21; + L7 : do if (!$l$0) label = 13; else { + $read = $f + 32 | 0; + $dest$146 = $dest$0; + $l$147 = $l$0; while (1) { - $28 = HEAP8[$$030 >> 0] | 0; - $or$cond32 = $28 << 24 >> 24 > 0 & $28 << 24 >> 24 != 127; - if ($$029 >>> 0 >= $25 >>> 0) break; - if ($or$cond32 ? (HEAP32[$$029 >> 2] | 0) != ($28 << 24 >> 24 | 0) : 0) { - label = 11; - break; + if (___toread($f) | 0) break; + $call34 = FUNCTION_TABLE_iiii[HEAP32[$read >> 2] & 63]($f, $dest$146, $l$147) | 0; + if (($call34 + 1 | 0) >>> 0 < 2) break; + $sub45 = $l$147 - $call34 | 0; + if (!$sub45) { + label = 13; + break L7; + } else { + $dest$146 = $dest$146 + $call34 | 0; + $l$147 = $sub45; } - $$029 = $$029 + 4 | 0; - $$030 = ($26 - $$030 | 0) > 1 ? $$030 + 1 | 0 : $$030; - } - if ((label | 0) == 11) { - HEAP32[$3 >> 2] = 4; - break; } - if ($or$cond32 ? ((HEAP32[$25 >> 2] | 0) + -1 | 0) >>> 0 >= $28 << 24 >> 24 >>> 0 : 0) HEAP32[$3 >> 2] = 4; + if ($cond | 0) ___unlockfile($f); + $retval$0 = (($mul - $l$147 | 0) >>> 0) / ($size >>> 0) | 0; } while (0); - return; + if ((label | 0) == 13) if (!$cond) $retval$0 = $spec$select; else { + ___unlockfile($f); + $retval$0 = $spec$select; + } + return $retval$0 | 0; } -function _ycc_rgb_convert($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $$07177$us = 0, $$07376$us = 0, $$07475$us = 0, $$078$us = 0, $$in = 0, $10 = 0, $12 = 0, $14 = 0, $16 = 0, $18 = 0, $20 = 0, $21 = 0, $26 = 0, $29 = 0, $32 = 0, $37 = 0, $40 = 0, $43 = 0, $6 = 0, $8 = 0, $$in$looptemp = 0; - $6 = HEAP32[$0 + 480 >> 2] | 0; - $8 = HEAP32[$0 + 112 >> 2] | 0; - $10 = HEAP32[$0 + 336 >> 2] | 0; - $12 = HEAP32[$6 + 8 >> 2] | 0; - $14 = HEAP32[$6 + 12 >> 2] | 0; - $16 = HEAP32[$6 + 16 >> 2] | 0; - $18 = HEAP32[$6 + 20 >> 2] | 0; - if (($4 | 0) <= 0) return; - $20 = $1 + 4 | 0; - $21 = $1 + 8 | 0; - if (!$8) return; - $$07177$us = $3; - $$078$us = $2; - $$in = $4; - while (1) { - $$in$looptemp = $$in; - $$in = $$in + -1 | 0; - $26 = HEAP32[(HEAP32[$1 >> 2] | 0) + ($$078$us << 2) >> 2] | 0; - $29 = HEAP32[(HEAP32[$20 >> 2] | 0) + ($$078$us << 2) >> 2] | 0; - $32 = HEAP32[(HEAP32[$21 >> 2] | 0) + ($$078$us << 2) >> 2] | 0; - $$078$us = $$078$us + 1 | 0; - $$07376$us = HEAP32[$$07177$us >> 2] | 0; - $$07475$us = 0; - while (1) { - $37 = HEAPU8[$26 + $$07475$us >> 0] | 0; - $40 = HEAPU8[$29 + $$07475$us >> 0] | 0; - $43 = HEAPU8[$32 + $$07475$us >> 0] | 0; - HEAP8[$$07376$us >> 0] = HEAP8[$10 + ((HEAP32[$12 + ($43 << 2) >> 2] | 0) + $37) >> 0] | 0; - HEAP8[$$07376$us + 1 >> 0] = HEAP8[$10 + (((HEAP32[$16 + ($43 << 2) >> 2] | 0) + (HEAP32[$18 + ($40 << 2) >> 2] | 0) >> 16) + $37) >> 0] | 0; - HEAP8[$$07376$us + 2 >> 0] = HEAP8[$10 + ((HEAP32[$14 + ($40 << 2) >> 2] | 0) + $37) >> 0] | 0; - $$07475$us = $$07475$us + 1 | 0; - if (($$07475$us | 0) == ($8 | 0)) break; else $$07376$us = $$07376$us + 3 | 0; - } - if (($$in$looptemp | 0) <= 1) break; else $$07177$us = $$07177$us + 4 | 0; +function _skip_variable($cinfo) { + $cinfo = $cinfo | 0; + var $0 = 0, $1 = 0, $9 = 0, $add = 0, $bytes_in_buffer$0 = 0, $bytes_in_buffer$1 = 0, $bytes_in_buffer2 = 0, $dec = 0, $incdec$ptr = 0, $next_input_byte$0 = 0, $next_input_byte$1 = 0, $retval$0 = 0, $shl = 0, $src = 0, $sub = 0; + $src = $cinfo + 24 | 0; + $0 = HEAP32[$src >> 2] | 0; + $bytes_in_buffer2 = $0 + 4 | 0; + $1 = HEAP32[$bytes_in_buffer2 >> 2] | 0; + do if (!$1) if (!(FUNCTION_TABLE_ii[HEAP32[$0 + 12 >> 2] & 127]($cinfo) | 0)) { + $retval$0 = 0; + return $retval$0 | 0; + } else { + $bytes_in_buffer$0 = HEAP32[$bytes_in_buffer2 >> 2] | 0; + break; + } else $bytes_in_buffer$0 = $1; while (0); + $next_input_byte$0 = HEAP32[$0 >> 2] | 0; + $dec = $bytes_in_buffer$0 + -1 | 0; + $incdec$ptr = $next_input_byte$0 + 1 | 0; + $shl = (HEAPU8[$next_input_byte$0 >> 0] | 0) << 8; + do if (!$dec) if (!(FUNCTION_TABLE_ii[HEAP32[$0 + 12 >> 2] & 127]($cinfo) | 0)) { + $retval$0 = 0; + return $retval$0 | 0; + } else { + $bytes_in_buffer$1 = HEAP32[$bytes_in_buffer2 >> 2] | 0; + $next_input_byte$1 = HEAP32[$0 >> 2] | 0; + break; + } else { + $bytes_in_buffer$1 = $dec; + $next_input_byte$1 = $incdec$ptr; + } while (0); + $add = $shl | (HEAPU8[$next_input_byte$1 >> 0] | 0); + $sub = $add + -2 | 0; + $9 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$9 + 20 >> 2] = 93; + HEAP32[$9 + 24 >> 2] = HEAP32[$cinfo + 440 >> 2]; + HEAP32[(HEAP32[$cinfo >> 2] | 0) + 28 >> 2] = $sub; + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$cinfo >> 2] | 0) + 4 >> 2] & 255]($cinfo, 1); + HEAP32[$0 >> 2] = $next_input_byte$1 + 1; + HEAP32[$bytes_in_buffer2 >> 2] = $bytes_in_buffer$1 + -1; + if ($add >>> 0 <= 2) { + $retval$0 = 1; + return $retval$0 | 0; } - return; + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$src >> 2] | 0) + 16 >> 2] & 255]($cinfo, $sub); + $retval$0 = 1; + return $retval$0 | 0; } -function __ZNKSt3__28messagesIcE6do_getEliiRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEE($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$0$i = 0, $$0$i$i = 0, $$0$i$i17 = 0, $$0$i22 = 0, $10 = 0, $11 = 0, $16 = 0, $18 = 0, $30 = 0, $31 = 0, $35 = 0, $6 = 0, sp = 0; +function __ZNSt3__26vectorIiNS_9allocatorIiEEE8__appendEmRKi($this, $__n, $__x) { + $this = $this | 0; + $__n = $__n | 0; + $__x = $__x | 0; + var $1 = 0, $2 = 0, $4 = 0, $7 = 0, $__end_ = 0, $__n$addr$0$i = 0, $__v = 0, $__value_$i$i$i = 0, $add = 0, $call$i = 0, $mul$i = 0, $sub$ptr$sub$i$i$i = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $6 = sp; - HEAP32[$6 >> 2] = 0; - HEAP32[$6 + 4 >> 2] = 0; - HEAP32[$6 + 8 >> 2] = 0; - $$0$i$i = 0; - while (1) { - if (($$0$i$i | 0) == 3) break; - HEAP32[$6 + ($$0$i$i << 2) >> 2] = 0; - $$0$i$i = $$0$i$i + 1 | 0; - } - $10 = HEAP8[$5 + 11 >> 0] | 0; - $11 = $10 << 24 >> 24 < 0; - $16 = $11 ? HEAP32[$5 >> 2] | 0 : $5; - $18 = $16 + ($11 ? HEAP32[$5 + 4 >> 2] | 0 : $10 & 255) | 0; - $$0$i22 = $16; - while (1) { - if ($$0$i22 >>> 0 >= $18 >>> 0) break; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc($6, HEAP8[$$0$i22 >> 0] | 0); - $$0$i22 = $$0$i22 + 1 | 0; - } - $30 = (HEAP8[$6 + 11 >> 0] | 0) < 0 ? HEAP32[$6 >> 2] | 0 : $6; - $31 = _catgets(($2 | 0) == -1 ? -1 : $2 << 1, $3, $4, $30) | 0; - HEAP32[$0 >> 2] = 0; - HEAP32[$0 + 4 >> 2] = 0; - HEAP32[$0 + 8 >> 2] = 0; - $$0$i$i17 = 0; - while (1) { - if (($$0$i$i17 | 0) == 3) break; - HEAP32[$0 + ($$0$i$i17 << 2) >> 2] = 0; - $$0$i$i17 = $$0$i$i17 + 1 | 0; - } - $35 = $30 + (_strlen($31) | 0) | 0; - $$0$i = $30; - while (1) { - if ($$0$i >>> 0 >= $35 >>> 0) break; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc($0, HEAP8[$$0$i >> 0] | 0); - $$0$i = $$0$i + 1 | 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($6); + STACKTOP = STACKTOP + 32 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); + $__v = sp; + $__value_$i$i$i = $this + 8 | 0; + $__end_ = $this + 4 | 0; + $1 = HEAP32[$__end_ >> 2] | 0; + $2 = $1; + do if ((HEAP32[$__value_$i$i$i >> 2] | 0) - $1 >> 2 >>> 0 < $__n >>> 0) { + $add = ($1 - (HEAP32[$this >> 2] | 0) >> 2) + $__n | 0; + $call$i = __ZNKSt3__26vectorIiNS_9allocatorIiEEE8max_sizeEv($this) | 0; + if ($call$i >>> 0 < $add >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv($this); else { + $7 = HEAP32[$this >> 2] | 0; + $sub$ptr$sub$i$i$i = (HEAP32[$__value_$i$i$i >> 2] | 0) - $7 | 0; + $mul$i = $sub$ptr$sub$i$i$i >> 1; + __ZNSt3__214__split_bufferIiRNS_9allocatorIiEEEC2EmmS3_($__v, $sub$ptr$sub$i$i$i >> 2 >>> 0 < $call$i >>> 1 >>> 0 ? ($mul$i >>> 0 < $add >>> 0 ? $add : $mul$i) : $call$i, (HEAP32[$__end_ >> 2] | 0) - $7 >> 2, $this + 8 | 0); + __ZNSt3__214__split_bufferIiRNS_9allocatorIiEEE18__construct_at_endEmRKi($__v, $__n, $__x); + __ZNSt3__26vectorIiNS_9allocatorIiEEE26__swap_out_circular_bufferERNS_14__split_bufferIiRS2_EE($this, $__v); + __ZNSt3__214__split_bufferIiRNS_9allocatorIiEEED2Ev($__v); + break; + } + } else { + $4 = $2; + $__n$addr$0$i = $__n; + while (1) { + HEAP32[$4 >> 2] = HEAP32[$__x >> 2]; + $__n$addr$0$i = $__n$addr$0$i + -1 | 0; + if (!$__n$addr$0$i) break; else $4 = $4 + 4 | 0; + } + HEAP32[$__end_ >> 2] = $2 + ($__n << 2); + } while (0); STACKTOP = sp; return; } -function _jinit_memory_mgr($0) { - $0 = $0 | 0; - var $1 = 0, $2 = 0, $23 = 0, $3 = 0, $31 = 0, $37 = 0, $39 = 0, $4 = 0, $5 = 0, $7 = 0, $vararg_buffer = 0, sp = 0; +function __ZNK12_GLOBAL__N_116itanium_demangle15ClosureTypeName9printLeftERNS_12OutputStreamE($this, $S) { + $this = $this | 0; + $S = $S | 0; + var $0 = 0, $5 = 0, $6 = 0, $agg$tmp = 0, $agg$tmp2 = 0, $agg$tmp4 = 0, $agg$tmp6 = 0, $agg$tmp6$byval_copy = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $vararg_buffer = sp; - $1 = sp + 8 | 0; - $2 = sp + 12 | 0; - $3 = $0 + 4 | 0; - HEAP32[$3 >> 2] = 0; - $4 = _jpeg_mem_init($0) | 0; - HEAP32[$1 >> 2] = $4; - $5 = _jpeg_get_small($0, 84) | 0; - if (!$5) { - _jpeg_mem_term($0); - $7 = HEAP32[$0 >> 2] | 0; - HEAP32[$7 + 20 >> 2] = 56; - HEAP32[$7 + 24 >> 2] = 0; - FUNCTION_TABLE_vi[HEAP32[HEAP32[$0 >> 2] >> 2] & 255]($0); - } - HEAP32[$5 >> 2] = 33; - HEAP32[$5 + 4 >> 2] = 34; - HEAP32[$5 + 8 >> 2] = 9; - HEAP32[$5 + 12 >> 2] = 10; - HEAP32[$5 + 16 >> 2] = 39; - HEAP32[$5 + 20 >> 2] = 40; - HEAP32[$5 + 24 >> 2] = 204; - HEAP32[$5 + 28 >> 2] = 21; - HEAP32[$5 + 32 >> 2] = 22; - HEAP32[$5 + 36 >> 2] = 138; - HEAP32[$5 + 40 >> 2] = 205; - HEAP32[$5 + 48 >> 2] = 1e9; - $23 = $5 + 44 | 0; - HEAP32[$23 >> 2] = $4; - HEAP32[$5 + 56 >> 2] = 0; - HEAP32[$5 + 64 >> 2] = 0; - HEAP32[$5 + 52 >> 2] = 0; - HEAP32[$5 + 60 >> 2] = 0; - HEAP32[$5 + 68 >> 2] = 0; - HEAP32[$5 + 72 >> 2] = 0; - HEAP32[$5 + 76 >> 2] = 84; - HEAP32[$3 >> 2] = $5; - $31 = _getenv(50713) | 0; - if (!$31) { - STACKTOP = sp; - return; - } - HEAP8[$2 >> 0] = 120; - HEAP32[$vararg_buffer >> 2] = $1; - HEAP32[$vararg_buffer + 4 >> 2] = $2; - if ((_sscanf($31, 50721, $vararg_buffer) | 0) > 0) { - switch (HEAP8[$2 >> 0] | 0) { - case 77: - case 109: - { - $37 = (HEAP32[$1 >> 2] | 0) * 1e3 | 0; - HEAP32[$1 >> 2] = $37; - $39 = $37; - break; - } - default: - $39 = HEAP32[$1 >> 2] | 0; - } - HEAP32[$23 >> 2] = $39 * 1e3; - } + STACKTOP = STACKTOP + 48 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); + $agg$tmp6$byval_copy = sp + 32 | 0; + $agg$tmp = sp + 24 | 0; + $agg$tmp2 = sp; + $agg$tmp4 = sp + 16 | 0; + $agg$tmp6 = sp + 8 | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, 56092); + HEAP32[$agg$tmp6$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp6$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp6$byval_copy); + $0 = $this + 16 | 0; + $5 = HEAP32[$0 + 4 >> 2] | 0; + $6 = $agg$tmp2; + HEAP32[$6 >> 2] = HEAP32[$0 >> 2]; + HEAP32[$6 + 4 >> 2] = $5; + HEAP32[$agg$tmp6$byval_copy >> 2] = HEAP32[$agg$tmp2 >> 2]; + HEAP32[$agg$tmp6$byval_copy + 4 >> 2] = HEAP32[$agg$tmp2 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp6$byval_copy); + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp4, 56100); + HEAP32[$agg$tmp6$byval_copy >> 2] = HEAP32[$agg$tmp4 >> 2]; + HEAP32[$agg$tmp6$byval_copy + 4 >> 2] = HEAP32[$agg$tmp4 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp6$byval_copy); + __ZNK12_GLOBAL__N_116itanium_demangle9NodeArray14printWithCommaERNS_12OutputStreamE($this + 8 | 0, $S); + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp6, 52806); + HEAP32[$agg$tmp6$byval_copy >> 2] = HEAP32[$agg$tmp6 >> 2]; + HEAP32[$agg$tmp6$byval_copy + 4 >> 2] = HEAP32[$agg$tmp6 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp6$byval_copy); STACKTOP = sp; return; } -function ___dynamic_cast($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $$0 = 0, $10 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $4 = 0, $5 = 0, $8 = 0, dest = 0, sp = 0, stop = 0; +function __ZNSt3__26vectorIhNS_9allocatorIhEEE8__appendEmRKh($this, $__n, $__x) { + $this = $this | 0; + $__n = $__n | 0; + $__x = $__x | 0; + var $1 = 0, $4 = 0, $8 = 0, $__end_ = 0, $__n$addr$0$i = 0, $__v = 0, $__value_$i$i$i = 0, $add = 0, $call$i = 0, $mul$i = 0, $sub$ptr$sub$i$i$i = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 64 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(64); - $4 = sp; - $5 = HEAP32[$0 >> 2] | 0; - $8 = $0 + (HEAP32[$5 + -8 >> 2] | 0) | 0; - $10 = HEAP32[$5 + -4 >> 2] | 0; - HEAP32[$4 >> 2] = $2; - HEAP32[$4 + 4 >> 2] = $0; - HEAP32[$4 + 8 >> 2] = $1; - HEAP32[$4 + 12 >> 2] = $3; - $14 = $4 + 16 | 0; - $15 = $4 + 20 | 0; - $16 = $4 + 24 | 0; - $17 = $4 + 28 | 0; - $18 = $4 + 32 | 0; - $19 = $4 + 40 | 0; - dest = $14; - stop = dest + 36 | 0; - do { - HEAP32[dest >> 2] = 0; - dest = dest + 4 | 0; - } while ((dest | 0) < (stop | 0)); - HEAP16[$14 + 36 >> 1] = 0; - HEAP8[$14 + 38 >> 0] = 0; - L1 : do if (__ZL8is_equalPKSt9type_infoS1_b($10, $2, 0) | 0) { - HEAP32[$4 + 48 >> 2] = 1; - FUNCTION_TABLE_viiiiii[HEAP32[(HEAP32[$10 >> 2] | 0) + 20 >> 2] & 7]($10, $4, $8, $8, 1, 0); - $$0 = (HEAP32[$16 >> 2] | 0) == 1 ? $8 : 0; - } else { - FUNCTION_TABLE_viiiii[HEAP32[(HEAP32[$10 >> 2] | 0) + 24 >> 2] & 63]($10, $4, $8, 1, 0); - switch (HEAP32[$4 + 36 >> 2] | 0) { - case 0: - { - $$0 = (HEAP32[$19 >> 2] | 0) == 1 & (HEAP32[$17 >> 2] | 0) == 1 & (HEAP32[$18 >> 2] | 0) == 1 ? HEAP32[$15 >> 2] | 0 : 0; - break L1; - break; - } - case 1: - break; - default: - { - $$0 = 0; - break L1; - } - } - if ((HEAP32[$16 >> 2] | 0) != 1 ? !((HEAP32[$19 >> 2] | 0) == 0 & (HEAP32[$17 >> 2] | 0) == 1 & (HEAP32[$18 >> 2] | 0) == 1) : 0) { - $$0 = 0; + STACKTOP = STACKTOP + 32 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); + $__v = sp; + $__value_$i$i$i = $this + 8 | 0; + $__end_ = $this + 4 | 0; + $1 = HEAP32[$__end_ >> 2] | 0; + do if (((HEAP32[$__value_$i$i$i >> 2] | 0) - $1 | 0) >>> 0 < $__n >>> 0) { + $add = $1 - (HEAP32[$this >> 2] | 0) + $__n | 0; + $call$i = __ZNKSt3__26vectorIhNS_9allocatorIhEEE8max_sizeEv($this) | 0; + if ($call$i >>> 0 < $add >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv($this); else { + $8 = HEAP32[$this >> 2] | 0; + $sub$ptr$sub$i$i$i = (HEAP32[$__value_$i$i$i >> 2] | 0) - $8 | 0; + $mul$i = $sub$ptr$sub$i$i$i << 1; + __ZNSt3__214__split_bufferIhRNS_9allocatorIhEEEC2EmmS3_($__v, $sub$ptr$sub$i$i$i >>> 0 < $call$i >>> 1 >>> 0 ? ($mul$i >>> 0 < $add >>> 0 ? $add : $mul$i) : $call$i, (HEAP32[$__end_ >> 2] | 0) - $8 | 0, $this + 8 | 0); + __ZNSt3__214__split_bufferIhRNS_9allocatorIhEEE18__construct_at_endEmRKh($__v, $__n, $__x); + __ZNSt3__26vectorIhNS_9allocatorIhEEE26__swap_out_circular_bufferERNS_14__split_bufferIhRS2_EE($this, $__v); + __ZNSt3__214__split_bufferIhRNS_9allocatorIhEEED2Ev($__v); break; } - $$0 = HEAP32[$14 >> 2] | 0; + } else { + $4 = $1; + $__n$addr$0$i = $__n; + do { + HEAP8[$4 >> 0] = HEAP8[$__x >> 0] | 0; + $4 = (HEAP32[$__end_ >> 2] | 0) + 1 | 0; + HEAP32[$__end_ >> 2] = $4; + $__n$addr$0$i = $__n$addr$0$i + -1 | 0; + } while (($__n$addr$0$i | 0) != 0); } while (0); STACKTOP = sp; - return $$0 | 0; + return; } -function __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE21__grow_by_and_replaceEmmmmmmPKw($0, $1, $2, $3, $4, $5, $6, $7) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - $6 = $6 | 0; - $7 = $7 | 0; - var $$sroa$speculated = 0, $11 = 0, $17 = 0, $18 = 0, $23 = 0, $26 = 0, $27 = 0, $29 = 0, $32 = 0, $33 = 0, $39 = 0, $43 = 0, $8 = 0, sp = 0; +function __ZNSt3__26vectorIPNS_6locale5facetENS_15__sso_allocatorIS3_Lm28EEEE8__appendEm($this, $__n) { + $this = $this | 0; + $__n = $__n | 0; + var $1 = 0, $5 = 0, $__end_ = 0, $__v = 0, $__value_$i$i$i = 0, $add = 0, $call$i = 0, $mul$i = 0, $sub$ptr$sub$i$i$i = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 32 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); + $__v = sp; + $__value_$i$i$i = $this + 8 | 0; + $__end_ = $this + 4 | 0; + $1 = HEAP32[$__end_ >> 2] | 0; + do if ((HEAP32[$__value_$i$i$i >> 2] | 0) - $1 >> 2 >>> 0 < $__n >>> 0) { + $add = ($1 - (HEAP32[$this >> 2] | 0) >> 2) + $__n | 0; + $call$i = __ZNKSt3__26vectorIPNS_6locale5facetENS_15__sso_allocatorIS3_Lm28EEEE8max_sizeEv($this) | 0; + if ($call$i >>> 0 < $add >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv($this); else { + $5 = HEAP32[$this >> 2] | 0; + $sub$ptr$sub$i$i$i = (HEAP32[$__value_$i$i$i >> 2] | 0) - $5 | 0; + $mul$i = $sub$ptr$sub$i$i$i >> 1; + __ZNSt3__214__split_bufferIPNS_6locale5facetERNS_15__sso_allocatorIS3_Lm28EEEEC2EmmS6_($__v, $sub$ptr$sub$i$i$i >> 2 >>> 0 < $call$i >>> 1 >>> 0 ? ($mul$i >>> 0 < $add >>> 0 ? $add : $mul$i) : $call$i, (HEAP32[$__end_ >> 2] | 0) - $5 >> 2, $this + 16 | 0); + __ZNSt3__214__split_bufferIPNS_6locale5facetERNS_15__sso_allocatorIS3_Lm28EEEE18__construct_at_endEm($__v, $__n); + __ZNSt3__26vectorIPNS_6locale5facetENS_15__sso_allocatorIS3_Lm28EEEE26__swap_out_circular_bufferERNS_14__split_bufferIS3_RS5_EE($this, $__v); + __ZNSt3__214__split_bufferIPNS_6locale5facetERNS_15__sso_allocatorIS3_Lm28EEEED2Ev($__v); + break; + } + } else __ZNSt3__26vectorIPNS_6locale5facetENS_15__sso_allocatorIS3_Lm28EEEE18__construct_at_endEm($this, $__n); while (0); + STACKTOP = sp; + return; +} + +function __ZN6vision24OrthogonalizeIdentity8x9IfEEbPT_PKS1_($x, $Q) { + $x = $x | 0; + $Q = $Q | 0; + var $X = 0, $call = 0.0, $call10 = 0.0, $call14 = 0.0, $call18 = 0.0, $call2 = 0.0, $call22 = 0.0, $call26 = 0.0, $call30 = 0.0, $call33 = 0, $call6 = 0.0, $retval$0 = 0, $w = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 384 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(384); + $w = sp + 336 | 0; + $X = sp; + $call = +__ZN6vision24OrthogonalizeIdentity8x9IfEET_PS1_PKS1_i($X, $Q, 0); + HEAPF32[$w >> 2] = $call; + $call2 = +__ZN6vision24OrthogonalizeIdentity8x9IfEET_PS1_PKS1_i($X + 36 | 0, $Q, 1); + HEAPF32[$w + 4 >> 2] = $call2; + $call6 = +__ZN6vision24OrthogonalizeIdentity8x9IfEET_PS1_PKS1_i($X + 72 | 0, $Q, 2); + HEAPF32[$w + 8 >> 2] = $call6; + $call10 = +__ZN6vision24OrthogonalizeIdentity8x9IfEET_PS1_PKS1_i($X + 108 | 0, $Q, 3); + HEAPF32[$w + 12 >> 2] = $call10; + $call14 = +__ZN6vision24OrthogonalizeIdentity8x9IfEET_PS1_PKS1_i($X + 144 | 0, $Q, 4); + HEAPF32[$w + 16 >> 2] = $call14; + $call18 = +__ZN6vision24OrthogonalizeIdentity8x9IfEET_PS1_PKS1_i($X + 180 | 0, $Q, 5); + HEAPF32[$w + 20 >> 2] = $call18; + $call22 = +__ZN6vision24OrthogonalizeIdentity8x9IfEET_PS1_PKS1_i($X + 216 | 0, $Q, 6); + HEAPF32[$w + 24 >> 2] = $call22; + $call26 = +__ZN6vision24OrthogonalizeIdentity8x9IfEET_PS1_PKS1_i($X + 252 | 0, $Q, 7); + HEAPF32[$w + 28 >> 2] = $call26; + $call30 = +__ZN6vision24OrthogonalizeIdentity8x9IfEET_PS1_PKS1_i($X + 288 | 0, $Q, 8); + HEAPF32[$w + 32 >> 2] = $call30; + $call33 = __ZN6vision9MaxIndex9IfEEiPKT_($w) | 0; + if (+HEAPF32[$w + ($call33 << 2) >> 2] == 0.0) $retval$0 = 0; else { + __ZN6vision11CopyVector9IfEEvPT_PKS1_($x, $X + ($call33 * 9 << 2) | 0); + $retval$0 = 1; + } + STACKTOP = sp; + return $retval$0 | 0; +} + +function __ZNK6vision10DoGPyramid15octaveFromIndexEi($this, $index) { + $this = $this | 0; + $index = $index | 0; + var $1 = 0, $call$i1$i$i = 0, $call$i2$i$i = 0, $call11 = 0, $call7 = 0, $conv17 = 0, $ref$tmp$i$i = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $8 = sp; - if ((1073741806 - $1 | 0) >>> 0 < $2 >>> 0) __ZNKSt3__221__basic_string_commonILb1EE20__throw_length_errorEv($0); - $11 = $0 + 8 | 0; - if ((HEAP8[$11 + 3 >> 0] | 0) < 0) $29 = HEAP32[$0 >> 2] | 0; else $29 = $0; - if ($1 >>> 0 < 536870887) { - $17 = $2 + $1 | 0; - $18 = $1 << 1; - $$sroa$speculated = $17 >>> 0 < $18 >>> 0 ? $18 : $17; - $23 = $$sroa$speculated >>> 0 < 2 ? 2 : $$sroa$speculated + 4 & -4; - if ($23 >>> 0 > 1073741823) _abort(); else $26 = $23; - } else $26 = 1073741807; - $27 = __Znwm($26 << 2) | 0; - if ($4 | 0) __ZNSt3__211char_traitsIwE4copyEPwPKwm($27, $29, $4) | 0; - if ($6 | 0) __ZNSt3__211char_traitsIwE4copyEPwPKwm($27 + ($4 << 2) | 0, $7, $6) | 0; - $32 = $3 - $5 | 0; - $33 = $32 - $4 | 0; - if ($33 | 0) __ZNSt3__211char_traitsIwE4copyEPwPKwm($27 + ($4 << 2) + ($6 << 2) | 0, $29 + ($4 << 2) + ($5 << 2) | 0, $33) | 0; - $39 = $1 + 1 | 0; - if (($39 | 0) != 2) __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($29, $39 << 2); - HEAP32[$0 >> 2] = $27; - HEAP32[$11 >> 2] = $26 | -2147483648; - $43 = $32 + $6 | 0; - HEAP32[$0 + 4 >> 2] = $43; - HEAP32[$8 >> 2] = 0; - __ZNSt3__211char_traitsIwE6assignERwRKw($27 + ($43 << 2) | 0, $8); - STACKTOP = sp; - return; -} - -function __ZNSt3__26vectorIN6vision25DoGScaleInvariantDetector12FeaturePointENS_9allocatorIS3_EEE8__appendEm($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $13 = 0, $14 = 0, $18 = 0, $2 = 0, $20 = 0, $23 = 0, $3 = 0, $5 = 0, $6 = 0, sp = 0; + $ref$tmp$i$i = sp; + $1 = HEAP32[$this >> 2] | 0; + if ((HEAP32[$this + 4 >> 2] | 0) - $1 >> 5 >>> 0 > $index >>> 0) { + $call11 = __ZNK6vision5Image5widthEv($1) | 0; + $conv17 = ~~+__ZN6vision5roundIfEET_S1_(+__ZN6vision4log2IfEET_S1_(+((($call11 >>> 0) / ((__ZNK6vision5Image5widthEv((HEAP32[$this >> 2] | 0) + ($index << 5) | 0) | 0) >>> 0) | 0) >>> 0))); + STACKTOP = sp; + return $conv17 | 0; + } else { + $call7 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 31173) | 0, 28676) | 0, 39794) | 0, 94) | 0, 39801) | 0, 31219) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i$i, $call7 + (HEAP32[(HEAP32[$call7 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i$i = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i$i, 67360) | 0; + $call$i2$i$i = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i$i >> 2] | 0) + 28 >> 2] & 127]($call$i1$i$i, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i$i); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call7, $call$i2$i$i) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call7) | 0; + _abort(); + } + return 0; +} + +function __ZNSt3__26vectorIN6vision12FeaturePointENS_9allocatorIS2_EEE8__appendEm($this, $__n) { + $this = $this | 0; + $__n = $__n | 0; + var $1 = 0, $4 = 0, $__end_ = 0, $__v = 0, $__value_$i$i$i = 0, $add = 0, $call$i = 0, $mul$i = 0, $sub$ptr$div$i$i$i = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 32 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $2 = sp; - $3 = $0 + 8 | 0; - $5 = $0 + 4 | 0; - $6 = HEAP32[$5 >> 2] | 0; - do if ((((HEAP32[$3 >> 2] | 0) - $6 | 0) / 36 | 0) >>> 0 < $1 >>> 0) { - $13 = (($6 - (HEAP32[$0 >> 2] | 0) | 0) / 36 | 0) + $1 | 0; - $14 = __ZNKSt3__26vectorIN6vision25DoGScaleInvariantDetector12FeaturePointENS_9allocatorIS3_EEE8max_sizeEv($0) | 0; - if ($14 >>> 0 < $13 >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv($0); else { - $18 = HEAP32[$0 >> 2] | 0; - $20 = ((HEAP32[$3 >> 2] | 0) - $18 | 0) / 36 | 0; - $23 = $20 << 1; - __ZNSt3__214__split_bufferIN6vision25DoGScaleInvariantDetector12FeaturePointERNS_9allocatorIS3_EEEC2EmmS6_($2, $20 >>> 0 < $14 >>> 1 >>> 0 ? ($23 >>> 0 < $13 >>> 0 ? $13 : $23) : $14, ((HEAP32[$5 >> 2] | 0) - $18 | 0) / 36 | 0, $0 + 8 | 0); - __ZNSt3__214__split_bufferIN6vision25DoGScaleInvariantDetector12FeaturePointERNS_9allocatorIS3_EEE18__construct_at_endEm($2, $1); - __ZNSt3__26vectorIN6vision25DoGScaleInvariantDetector12FeaturePointENS_9allocatorIS3_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS3_RS5_EE($0, $2); - __ZNSt3__214__split_bufferIN6vision25DoGScaleInvariantDetector12FeaturePointERNS_9allocatorIS3_EEED2Ev($2); + $__v = sp; + $__value_$i$i$i = $this + 8 | 0; + $__end_ = $this + 4 | 0; + $1 = HEAP32[$__end_ >> 2] | 0; + do if ((((HEAP32[$__value_$i$i$i >> 2] | 0) - $1 | 0) / 20 | 0) >>> 0 < $__n >>> 0) { + $add = (($1 - (HEAP32[$this >> 2] | 0) | 0) / 20 | 0) + $__n | 0; + $call$i = __ZNKSt3__26vectorIN6vision12FeaturePointENS_9allocatorIS2_EEE8max_sizeEv($this) | 0; + if ($call$i >>> 0 < $add >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv($this); else { + $4 = HEAP32[$this >> 2] | 0; + $sub$ptr$div$i$i$i = ((HEAP32[$__value_$i$i$i >> 2] | 0) - $4 | 0) / 20 | 0; + $mul$i = $sub$ptr$div$i$i$i << 1; + __ZNSt3__214__split_bufferIN6vision12FeaturePointERNS_9allocatorIS2_EEEC2EmmS5_($__v, $sub$ptr$div$i$i$i >>> 0 < $call$i >>> 1 >>> 0 ? ($mul$i >>> 0 < $add >>> 0 ? $add : $mul$i) : $call$i, ((HEAP32[$__end_ >> 2] | 0) - $4 | 0) / 20 | 0, $this + 8 | 0); + __ZNSt3__214__split_bufferIN6vision12FeaturePointERNS_9allocatorIS2_EEE18__construct_at_endEm($__v, $__n); + __ZNSt3__26vectorIN6vision12FeaturePointENS_9allocatorIS2_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS2_RS4_EE($this, $__v); + __ZNSt3__214__split_bufferIN6vision12FeaturePointERNS_9allocatorIS2_EEED2Ev($__v); break; } - } else __ZNSt3__26vectorIN6vision25DoGScaleInvariantDetector12FeaturePointENS_9allocatorIS3_EEE18__construct_at_endEm($0, $1); while (0); + } else __ZNSt3__26vectorIN6vision12FeaturePointENS_9allocatorIS2_EEE18__construct_at_endEm($this, $__n); while (0); STACKTOP = sp; return; } -function __ZNSt3__26vectorINS0_INS0_INS_4pairIfmEENS_9allocatorIS2_EEEENS3_IS5_EEEENS3_IS7_EEE8__appendEm($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $13 = 0, $14 = 0, $18 = 0, $2 = 0, $20 = 0, $23 = 0, $3 = 0, $5 = 0, $6 = 0, sp = 0; +function _arLogv($tag, $logLevel, $format, $ap) { + $tag = $tag | 0; + $logLevel = $logLevel | 0; + $format = $format | 0; + $ap = $ap | 0; + var $5 = 0, $add16 = 0, $add17 = 0, $ap2 = 0, $arrayidx43 = 0, $call = 0, $call18 = 0, $logLevelStringLen$0 = 0, $vararg_buffer = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 32 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $2 = sp; - $3 = $0 + 8 | 0; - $5 = $0 + 4 | 0; - $6 = HEAP32[$5 >> 2] | 0; - do if ((((HEAP32[$3 >> 2] | 0) - $6 | 0) / 12 | 0) >>> 0 < $1 >>> 0) { - $13 = (($6 - (HEAP32[$0 >> 2] | 0) | 0) / 12 | 0) + $1 | 0; - $14 = __ZNKSt3__26vectorINS0_INS0_INS_4pairIfmEENS_9allocatorIS2_EEEENS3_IS5_EEEENS3_IS7_EEE8max_sizeEv($0) | 0; - if ($14 >>> 0 < $13 >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv($0); else { - $18 = HEAP32[$0 >> 2] | 0; - $20 = ((HEAP32[$3 >> 2] | 0) - $18 | 0) / 12 | 0; - $23 = $20 << 1; - __ZNSt3__214__split_bufferINS_6vectorINS1_INS_4pairIfmEENS_9allocatorIS3_EEEENS4_IS6_EEEERNS4_IS8_EEEC2EmmSA_($2, $20 >>> 0 < $14 >>> 1 >>> 0 ? ($23 >>> 0 < $13 >>> 0 ? $13 : $23) : $14, ((HEAP32[$5 >> 2] | 0) - $18 | 0) / 12 | 0, $0 + 8 | 0); - __ZNSt3__214__split_bufferINS_6vectorINS1_INS_4pairIfmEENS_9allocatorIS3_EEEENS4_IS6_EEEERNS4_IS8_EEE18__construct_at_endEm($2, $1); - __ZNSt3__26vectorINS0_INS0_INS_4pairIfmEENS_9allocatorIS2_EEEENS3_IS5_EEEENS3_IS7_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS7_RS8_EE($0, $2); - __ZNSt3__214__split_bufferINS_6vectorINS1_INS_4pairIfmEENS_9allocatorIS3_EEEENS4_IS6_EEEERNS4_IS8_EEED2Ev($2); - break; - } - } else __ZNSt3__26vectorINS0_INS0_INS_4pairIfmEENS_9allocatorIS2_EEEENS3_IS5_EEEENS3_IS7_EEE18__construct_at_endEm($0, $1); while (0); + $vararg_buffer = sp + 16 | 0; + $ap2 = sp; + if ((!(($format | 0) == 0 | (HEAP32[4186] | 0) > ($logLevel | 0)) ? HEAP8[$format >> 0] | 0 : 0) ? (HEAP32[$ap2 >> 2] = HEAP32[$ap >> 2], $call = _vsnprintf(0, 0, $format, $ap2) | 0, $call | 0) : 0) { + if ($logLevel >>> 0 < 4) $logLevelStringLen$0 = (_strlen(HEAP32[1744 + ($logLevel << 2) >> 2] | 0) | 0) + 3 | 0; else $logLevelStringLen$0 = 0; + $add16 = $logLevelStringLen$0 + $call | 0; + $add17 = $add16 + 1 | 0; + $call18 = _malloc($add17) | 0; + if ($logLevelStringLen$0 | 0) { + HEAP32[$vararg_buffer >> 2] = HEAP32[1744 + ($logLevel << 2) >> 2]; + _snprintf($call18, $logLevelStringLen$0 + 1 | 0, 25625, $vararg_buffer) | 0; + } + _vsnprintf($call18 + $logLevelStringLen$0 | 0, $call + 1 | 0, $format, $ap) | 0; + do if (0) { + if (0 ? ($5 = HEAP32[16520] | 0, $5 >>> 0 < 0) : 0) { + $arrayidx43 = 0 + $5 | 0; + if ($add16 >>> 0 > (-4 - $5 + 0 | 0) >>> 0) { + HEAP8[$arrayidx43 >> 0] = 46; + HEAP8[$arrayidx43 + 1 >> 0] = 46; + HEAP8[$arrayidx43 + 2 >> 0] = 46; + HEAP8[$arrayidx43 + 3 >> 0] = 0; + HEAP32[16520] = 0; + break; + } else { + _strncpy($arrayidx43, $call18, $add17) | 0; + HEAP32[16520] = (HEAP32[16520] | 0) + $add16; + break; + } + } + } else _fputs($call18, HEAP32[4274] | 0) | 0; while (0); + _free($call18); + } STACKTOP = sp; return; } -function __ZN6vision18Condition4Points2dIfEEbPT_S2_S2_S2_RS1_S2_PKS1_S5_S5_S5_($0, $1, $2, $3, $4, $5, $6, $7, $8, $9) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - $6 = $6 | 0; - $7 = $7 | 0; - $8 = $8 | 0; - $9 = $9 | 0; - var $$0 = 0, $17 = 0.0, $18 = 0, $20 = 0, $23 = 0, $26 = 0, $29 = 0.0, $32 = 0.0, $34 = 0.0, $36 = 0.0, $38 = 0.0, $40 = 0.0, $42 = 0.0, $44 = 0.0, $46 = 0.0, $66 = 0.0, $71 = 0.0; - $17 = (+HEAPF32[$6 >> 2] + +HEAPF32[$7 >> 2] + +HEAPF32[$8 >> 2] + +HEAPF32[$9 >> 2]) * .25; - HEAPF32[$5 >> 2] = $17; - $18 = $6 + 4 | 0; - $20 = $7 + 4 | 0; - $23 = $8 + 4 | 0; - $26 = $9 + 4 | 0; - $29 = (+HEAPF32[$18 >> 2] + +HEAPF32[$20 >> 2] + +HEAPF32[$23 >> 2] + +HEAPF32[$26 >> 2]) * .25; - HEAPF32[$5 + 4 >> 2] = $29; - $32 = +HEAPF32[$6 >> 2] - $17; - $34 = +HEAPF32[$18 >> 2] - $29; - $36 = +HEAPF32[$7 >> 2] - $17; - $38 = +HEAPF32[$20 >> 2] - $29; - $40 = +HEAPF32[$8 >> 2] - $17; - $42 = +HEAPF32[$23 >> 2] - $29; - $44 = +HEAPF32[$9 >> 2] - $17; - $46 = +HEAPF32[$26 >> 2] - $29; - $66 = (+Math_sqrt(+($32 * $32 + $34 * $34)) + +Math_sqrt(+($36 * $36 + $38 * $38)) + +Math_sqrt(+($40 * $40 + $42 * $42)) + +Math_sqrt(+($44 * $44 + $46 * $46))) * .25; - if ($66 == 0.0) $$0 = 0; else { - $71 = 1.0 / $66 * 1.4142135623730951; - HEAPF32[$4 >> 2] = $71; - HEAPF32[$0 >> 2] = $32 * $71; - HEAPF32[$0 + 4 >> 2] = $34 * +HEAPF32[$4 >> 2]; - HEAPF32[$1 >> 2] = $36 * +HEAPF32[$4 >> 2]; - HEAPF32[$1 + 4 >> 2] = $38 * +HEAPF32[$4 >> 2]; - HEAPF32[$2 >> 2] = $40 * +HEAPF32[$4 >> 2]; - HEAPF32[$2 + 4 >> 2] = $42 * +HEAPF32[$4 >> 2]; - HEAPF32[$3 >> 2] = $44 * +HEAPF32[$4 >> 2]; - HEAPF32[$3 + 4 >> 2] = $46 * +HEAPF32[$4 >> 2]; - $$0 = 1; - } - return $$0 | 0; -} - -function __ZN6vision27OrthogonalizePivot8x9Basis3IfEEbPT_S2_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $10 = 0, $12 = 0, $14 = 0.0, $15 = 0.0, $17 = 0.0, $19 = 0.0, $2 = 0, $21 = 0.0, $23 = 0, $24 = 0, $27 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $8 = 0, sp = 0; +function __ZNSt3__26vectorIN6vision12FeaturePointENS_9allocatorIS2_EEE21__push_back_slow_pathIS2_EEvOT_($this, $__x) { + $this = $this | 0; + $__x = $__x | 0; + var $3 = 0, $5 = 0, $__end_ = 0, $__end_$i = 0, $__v = 0, $add = 0, $call$i = 0, $mul$i = 0, $sub$ptr$div$i$i$i = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 32 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $2 = sp; - $3 = $0 + 108 | 0; - $4 = $0 + 72 | 0; - $5 = $1 + 108 | 0; - __ZN6vision21AccumulateProjection9IfEEvPT_PKS1_S4_($3, $4, $5); - $6 = $0 + 144 | 0; - __ZN6vision21AccumulateProjection9IfEEvPT_PKS1_S4_($6, $4, $1 + 144 | 0); - $8 = $0 + 180 | 0; - __ZN6vision21AccumulateProjection9IfEEvPT_PKS1_S4_($8, $4, $1 + 180 | 0); - $10 = $0 + 216 | 0; - __ZN6vision21AccumulateProjection9IfEEvPT_PKS1_S4_($10, $4, $1 + 216 | 0); - $12 = $0 + 252 | 0; - __ZN6vision21AccumulateProjection9IfEEvPT_PKS1_S4_($12, $4, $1 + 252 | 0); - $14 = +__ZN6vision11SumSquares9IfEET_PKS1_($3); - HEAPF32[$2 >> 2] = $14; - $15 = +__ZN6vision11SumSquares9IfEET_PKS1_($6); - HEAPF32[$2 + 4 >> 2] = $15; - $17 = +__ZN6vision11SumSquares9IfEET_PKS1_($8); - HEAPF32[$2 + 8 >> 2] = $17; - $19 = +__ZN6vision11SumSquares9IfEET_PKS1_($10); - HEAPF32[$2 + 12 >> 2] = $19; - $21 = +__ZN6vision11SumSquares9IfEET_PKS1_($12); - HEAPF32[$2 + 16 >> 2] = $21; - $23 = __ZN6vision9MaxIndex5IfEEiPKT_($2) | 0; - $24 = $2 + ($23 << 2) | 0; - if (+HEAPF32[$24 >> 2] == 0.0) $$0 = 0; else { - $27 = $23 * 9 | 0; - __ZN6vision5Swap9IfEEvPT_S2_($3, $3 + ($27 << 2) | 0); - __ZN6vision5Swap9IfEEvPT_S2_($5, $5 + ($27 << 2) | 0); - __ZN6vision12ScaleVector9IfEEvPT_PKS1_S1_($3, $3, 1.0 / +Math_sqrt(+(+HEAPF32[$24 >> 2]))); - $$0 = 1; - } - STACKTOP = sp; - return $$0 | 0; -} - -function __ZNSt3__26vectorIhNS_9allocatorIhEEE6assignIPhEENS_9enable_ifIXaasr21__is_forward_iteratorIT_EE5valuesr16is_constructibleIhNS_15iterator_traitsIS7_E9referenceEEE5valueEvE4typeES7_S7_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $11 = 0, $12 = 0, $14 = 0, $15 = 0, $18 = 0, $25 = 0, $29 = 0, $32 = 0, $4 = 0, $5 = 0, $6 = 0, $8 = 0, $spec$select = 0; - $4 = $1; - $5 = $2 - $4 | 0; - $6 = $0 + 8 | 0; - $8 = HEAP32[$0 >> 2] | 0; - $11 = $8; - do if ($5 >>> 0 > ((HEAP32[$6 >> 2] | 0) - $8 | 0) >>> 0) { - __ZNSt3__26vectorIhNS_9allocatorIhEEE13__vdeallocateEv($0); - $25 = __ZNKSt3__26vectorIhNS_9allocatorIhEEE8max_sizeEv($0) | 0; - if ($25 >>> 0 < $5 >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv($0); else { - $29 = (HEAP32[$6 >> 2] | 0) - (HEAP32[$0 >> 2] | 0) | 0; - $32 = $29 << 1; - __ZNSt3__26vectorIhNS_9allocatorIhEEE11__vallocateEm($0, $29 >>> 0 < $25 >>> 1 >>> 0 ? ($32 >>> 0 < $5 >>> 0 ? $5 : $32) : $25); - __ZNSt3__26vectorIhNS_9allocatorIhEEE18__construct_at_endIPhEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeES7_S7_m($0, $1, $2, $5); - break; - } + $__v = sp; + $__end_$i = $this + 4 | 0; + $add = (((HEAP32[$__end_$i >> 2] | 0) - (HEAP32[$this >> 2] | 0) | 0) / 20 | 0) + 1 | 0; + $call$i = __ZNKSt3__26vectorIN6vision12FeaturePointENS_9allocatorIS2_EEE8max_sizeEv($this) | 0; + if ($call$i >>> 0 < $add >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv($this); else { + $3 = HEAP32[$this >> 2] | 0; + $sub$ptr$div$i$i$i = ((HEAP32[$this + 8 >> 2] | 0) - $3 | 0) / 20 | 0; + $mul$i = $sub$ptr$div$i$i$i << 1; + __ZNSt3__214__split_bufferIN6vision12FeaturePointERNS_9allocatorIS2_EEEC2EmmS5_($__v, $sub$ptr$div$i$i$i >>> 0 < $call$i >>> 1 >>> 0 ? ($mul$i >>> 0 < $add >>> 0 ? $add : $mul$i) : $call$i, ((HEAP32[$__end_$i >> 2] | 0) - $3 | 0) / 20 | 0, $this + 8 | 0); + $__end_ = $__v + 8 | 0; + $5 = HEAP32[$__end_ >> 2] | 0; + HEAP32[$5 >> 2] = HEAP32[$__x >> 2]; + HEAP32[$5 + 4 >> 2] = HEAP32[$__x + 4 >> 2]; + HEAP32[$5 + 8 >> 2] = HEAP32[$__x + 8 >> 2]; + HEAP32[$5 + 12 >> 2] = HEAP32[$__x + 12 >> 2]; + HEAP32[$5 + 16 >> 2] = HEAP32[$__x + 16 >> 2]; + HEAP32[$__end_ >> 2] = (HEAP32[$__end_ >> 2] | 0) + 20; + __ZNSt3__26vectorIN6vision12FeaturePointENS_9allocatorIS2_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS2_RS4_EE($this, $__v); + __ZNSt3__214__split_bufferIN6vision12FeaturePointERNS_9allocatorIS2_EEED2Ev($__v); + STACKTOP = sp; + return; + } +} + +function __ZNSt3__227__num_get_unsigned_integralIyEET_PKcS3_Rji($__a, $__a_end, $__err, $__base) { + $__a = $__a | 0; + $__a_end = $__a_end | 0; + $__err = $__err | 0; + $__base = $__base | 0; + var $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $2 = 0, $3 = 0, $4 = 0, $6 = 0, $7 = 0, $__a$addr$0 = 0, $__p2 = 0, $call = 0, $call10 = 0, $call4 = 0, $call7 = 0, $cmp1 = 0, $incdec$ptr = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $__p2 = sp; + do if (($__a | 0) == ($__a_end | 0)) { + HEAP32[$__err >> 2] = 4; + $10 = 0; + $11 = 0; } else { - $12 = $0 + 4 | 0; - $14 = (HEAP32[$12 >> 2] | 0) - $8 | 0; - $15 = $5 >>> 0 > $14 >>> 0; - $spec$select = $15 ? $1 + $14 | 0 : $2; - $18 = $spec$select - $4 | 0; - if ($18 | 0) _memmove($11 | 0, $1 | 0, $18 | 0) | 0; - if ($15) { - __ZNSt3__26vectorIhNS_9allocatorIhEEE18__construct_at_endIPhEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeES7_S7_m($0, $spec$select, $2, $5 - (HEAP32[$12 >> 2] | 0) + (HEAP32[$0 >> 2] | 0) | 0); + $cmp1 = (HEAP8[$__a >> 0] | 0) == 45; + if ($cmp1) { + $incdec$ptr = $__a + 1 | 0; + if (($incdec$ptr | 0) == ($__a_end | 0)) { + HEAP32[$__err >> 2] = 4; + $10 = 0; + $11 = 0; + break; + } else $__a$addr$0 = $incdec$ptr; + } else $__a$addr$0 = $__a; + $call = ___errno_location() | 0; + $1 = HEAP32[$call >> 2] | 0; + $call4 = ___errno_location() | 0; + HEAP32[$call4 >> 2] = 0; + $2 = _strtoull_l($__a$addr$0, $__p2, $__base, __ZNSt3__26__clocEv() | 0) | 0; + $3 = getTempRet0() | 0; + $call7 = ___errno_location() | 0; + $4 = HEAP32[$call7 >> 2] | 0; + if (!$4) { + $call10 = ___errno_location() | 0; + HEAP32[$call10 >> 2] = $1; + } + do if ((HEAP32[$__p2 >> 2] | 0) == ($__a_end | 0)) if (($4 | 0) == 68) { + HEAP32[$__err >> 2] = 4; + $12 = -1; + $13 = -1; break; } else { - HEAP32[$12 >> 2] = $11 + $18; + $6 = _i64Subtract(0, 0, $2 | 0, $3 | 0) | 0; + $7 = getTempRet0() | 0; + $12 = $cmp1 ? $6 : $2; + $13 = $cmp1 ? $7 : $3; break; - } + } else { + HEAP32[$__err >> 2] = 4; + $12 = 0; + $13 = 0; + } while (0); + $10 = $13; + $11 = $12; } while (0); + setTempRet0($10 | 0); + STACKTOP = sp; + return $11 | 0; +} + +function _rgb_gray_convert_12($cinfo, $input_buf, $input_row, $output_buf, $num_rows) { + $cinfo = $cinfo | 0; + $input_buf = $input_buf | 0; + $input_row = $input_row | 0; + $output_buf = $output_buf | 0; + $num_rows = $num_rows | 0; + var $1 = 0, $2 = 0, $4 = 0, $6 = 0, $8 = 0, $9 = 0, $arrayidx3 = 0, $arrayidx5 = 0, $col$026$us = 0, $dec31$us$in = 0, $input_row$addr$030$us = 0, $output_buf$addr$029$us = 0, $dec31$us$in$looptemp = 0; + $1 = HEAP32[(HEAP32[$cinfo + 480 >> 2] | 0) + 24 >> 2] | 0; + $2 = HEAP32[$cinfo + 112 >> 2] | 0; + if (($num_rows | 0) <= 0) return; + $arrayidx3 = $input_buf + 4 | 0; + $arrayidx5 = $input_buf + 8 | 0; + if (!$2) return; + $dec31$us$in = $num_rows; + $input_row$addr$030$us = $input_row; + $output_buf$addr$029$us = $output_buf; + while (1) { + $dec31$us$in$looptemp = $dec31$us$in; + $dec31$us$in = $dec31$us$in + -1 | 0; + $4 = HEAP32[(HEAP32[$input_buf >> 2] | 0) + ($input_row$addr$030$us << 2) >> 2] | 0; + $6 = HEAP32[(HEAP32[$arrayidx3 >> 2] | 0) + ($input_row$addr$030$us << 2) >> 2] | 0; + $8 = HEAP32[(HEAP32[$arrayidx5 >> 2] | 0) + ($input_row$addr$030$us << 2) >> 2] | 0; + $input_row$addr$030$us = $input_row$addr$030$us + 1 | 0; + $9 = HEAP32[$output_buf$addr$029$us >> 2] | 0; + $col$026$us = 0; + do { + HEAP8[$9 + $col$026$us >> 0] = ((HEAP32[$1 + ((HEAPU8[$6 + $col$026$us >> 0] | 0 | 256) << 2) >> 2] | 0) + (HEAP32[$1 + ((HEAPU8[$4 + $col$026$us >> 0] | 0) << 2) >> 2] | 0) + (HEAP32[$1 + ((HEAPU8[$8 + $col$026$us >> 0] | 0 | 512) << 2) >> 2] | 0) | 0) >>> 16; + $col$026$us = $col$026$us + 1 | 0; + } while (($col$026$us | 0) != ($2 | 0)); + if (($dec31$us$in$looptemp | 0) <= 1) break; else $output_buf$addr$029$us = $output_buf$addr$029$us + 4 | 0; + } return; } -function _arImageProcLumaHistAndOtsu($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$0 = 0, $$062 = 0, $$064 = 0.0, $$067 = 0.0, $$068 = 0.0, $$070 = 0.0, $$169 = 0.0, $$2 = 0, $$266 = 0.0, $$3 = 0, $$pre$phiZ2D = 0, $15 = 0.0, $17 = 0, $21 = 0.0, $25 = 0.0, $3 = 0, $30 = 0.0, $32 = 0.0, $33 = 0, $34 = 0, $indvars$iv = 0, $indvars$iv71 = 0; - $3 = _arImageProcLumaHist($0, $1) | 0; - if (($3 | 0) < 0) $$0 = $3; else { - $$070 = 0.0; - $indvars$iv71 = 1; - do { - $$070 = $$070 + +((Math_imul(HEAP32[$0 + 12 + ($indvars$iv71 << 2) >> 2] | 0, $indvars$iv71) | 0) >>> 0); - $indvars$iv71 = $indvars$iv71 + 1 | 0; - } while (($indvars$iv71 | 0) != 256); - $15 = +(Math_imul(HEAP32[$0 + 8 >> 2] | 0, HEAP32[$0 + 4 >> 2] | 0) | 0); - $$062 = 0; - $$064 = 0.0; - $$067 = 0.0; - $$068 = 0.0; - $indvars$iv = 0; - while (1) { - $17 = HEAP32[$0 + 12 + ($indvars$iv << 2) >> 2] | 0; - $$067 = $$067 + +($17 >>> 0); - if ($$067 != 0.0) { - $21 = $15 - $$067; - if ($21 == 0.0) { - $$3 = $$062; +function ___strchrnul($s, $c) { + $s = $s | 0; + $c = $c | 0; + var $1 = 0, $2 = 0, $4 = 0, $5 = 0, $7 = 0, $8 = 0, $conv1 = 0, $incdec$ptr = 0, $incdec$ptr19 = 0, $mul = 0, $retval$0 = 0, $s$addr$0$lcssa = 0, $s$addr$036 = 0, $s$addr$1 = 0, $w$0$lcssa = 0, $w$032 = 0, $xor = 0; + $conv1 = $c & 255; + L1 : do if (!$conv1) $retval$0 = $s + (_strlen($s) | 0) | 0; else { + if (!($s & 3)) $s$addr$0$lcssa = $s; else { + $1 = $c & 255; + $s$addr$036 = $s; + while (1) { + $2 = HEAP8[$s$addr$036 >> 0] | 0; + if ($2 << 24 >> 24 == 0 ? 1 : $2 << 24 >> 24 == $1 << 24 >> 24) { + $retval$0 = $s$addr$036; + break L1; + } + $incdec$ptr = $s$addr$036 + 1 | 0; + if (!($incdec$ptr & 3)) { + $s$addr$0$lcssa = $incdec$ptr; break; + } else $s$addr$036 = $incdec$ptr; + } + } + $mul = Math_imul($conv1, 16843009) | 0; + $4 = HEAP32[$s$addr$0$lcssa >> 2] | 0; + L10 : do if (!(($4 & -2139062144 ^ -2139062144) & $4 + -16843009)) { + $5 = $4; + $w$032 = $s$addr$0$lcssa; + while (1) { + $xor = $5 ^ $mul; + if (($xor & -2139062144 ^ -2139062144) & $xor + -16843009 | 0) { + $w$0$lcssa = $w$032; + break L10; } - $25 = $$068 + +((Math_imul($17, $indvars$iv) | 0) >>> 0); - $30 = $25 / $$067 - ($$070 - $25) / $21; - $32 = $30 * ($$067 * $21 * $30); - $33 = $32 > $$064; - $34 = $indvars$iv & 255; - $$169 = $25; - $$2 = $33 ? $34 : $$062; - $$266 = $33 ? $32 : $$064; - $$pre$phiZ2D = $34; - } else { - $$169 = $$068; - $$2 = $$062; - $$266 = $$064; - $$pre$phiZ2D = $indvars$iv & 255; + $incdec$ptr19 = $w$032 + 4 | 0; + $5 = HEAP32[$incdec$ptr19 >> 2] | 0; + if (($5 & -2139062144 ^ -2139062144) & $5 + -16843009 | 0) { + $w$0$lcssa = $incdec$ptr19; + break; + } else $w$032 = $incdec$ptr19; } - if ($$pre$phiZ2D << 24 >> 24 == -1) { - $$3 = $$2; + } else $w$0$lcssa = $s$addr$0$lcssa; while (0); + $7 = $c & 255; + $s$addr$1 = $w$0$lcssa; + while (1) { + $8 = HEAP8[$s$addr$1 >> 0] | 0; + if ($8 << 24 >> 24 == 0 ? 1 : $8 << 24 >> 24 == $7 << 24 >> 24) { + $retval$0 = $s$addr$1; break; - } else { - $$062 = $$2; - $$064 = $$266; - $$068 = $$169; - $indvars$iv = $indvars$iv + 1 | 0; - } + } else $s$addr$1 = $s$addr$1 + 1 | 0; } - HEAP8[$2 >> 0] = $$3; - $$0 = 0; - } - return $$0 | 0; + } while (0); + return $retval$0 | 0; } -function _confidenceCutoff($0) { - $0 = $0 | 0; - var $$0 = 0, $$049 = 0, $$150 = 0, $$2 = 0, $16 = 0, $18 = 0, $28 = 0, $30 = 0, $36 = 0, $4 = 0, $6 = 0; - L1 : do switch (HEAP32[$0 + 24 >> 2] | 0) { - case 1: - case 0: - { - $4 = HEAP32[$0 + 44 >> 2] | 0; - $$049 = 0; - while (1) { - if (($$049 | 0) >= ($4 | 0)) break L1; - $6 = $0 + 48 + ($$049 << 8) + 4 | 0; - if ((HEAP32[$6 >> 2] | 0) > -1 ? +HEAPF64[$0 + 48 + ($$049 << 8) + 32 >> 3] < .5 : 0) { - HEAP32[$0 + 48 + ($$049 << 8) + 8 >> 2] = -1; - HEAP32[$6 >> 2] = -1; - HEAP32[$0 + 48 + ($$049 << 8) + 236 >> 2] = 6; +function __ZL28demangling_terminate_handlerv() { + var $0 = 0, $1 = 0, $11 = 0, $2 = 0, $8 = 0, $9 = 0, $call = 0, $call13 = 0, $cond = 0, $thrown_object = 0, $vararg_buffer = 0, $vararg_buffer10 = 0, $vararg_buffer3 = 0, $vararg_buffer7 = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 48 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); + $vararg_buffer10 = sp + 32 | 0; + $vararg_buffer7 = sp + 24 | 0; + $vararg_buffer3 = sp + 16 | 0; + $vararg_buffer = sp; + $thrown_object = sp + 36 | 0; + $call = ___cxa_get_globals_fast() | 0; + if ($call | 0 ? ($0 = HEAP32[$call >> 2] | 0, $0 | 0) : 0) { + $1 = $0 + 48 | 0; + if (!(__ZN10__cxxabiv121__isOurExceptionClassEPK17_Unwind_Exception($1) | 0)) { + HEAP32[$vararg_buffer7 >> 2] = 51822; + _abort_message(51772, $vararg_buffer7); + } + $2 = __ZN10__cxxabiv119__getExceptionClassEPK17_Unwind_Exception($1) | 0; + if (($2 | 0) == 1126902529 & (getTempRet0() | 0) == 1129074247) $cond = HEAP32[$0 + 44 >> 2] | 0; else $cond = $0 + 80 | 0; + HEAP32[$thrown_object >> 2] = $cond; + $8 = HEAP32[$0 >> 2] | 0; + $9 = HEAP32[$8 + 4 >> 2] | 0; + if (FUNCTION_TABLE_iiii[HEAP32[(HEAP32[3470] | 0) + 16 >> 2] & 63](13880, $8, $thrown_object) | 0) { + $11 = HEAP32[$thrown_object >> 2] | 0; + $call13 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$11 >> 2] | 0) + 8 >> 2] & 127]($11) | 0; + HEAP32[$vararg_buffer >> 2] = 51822; + HEAP32[$vararg_buffer + 4 >> 2] = $9; + HEAP32[$vararg_buffer + 8 >> 2] = $call13; + _abort_message(51686, $vararg_buffer); + } else { + HEAP32[$vararg_buffer3 >> 2] = 51822; + HEAP32[$vararg_buffer3 + 4 >> 2] = $9; + _abort_message(51731, $vararg_buffer3); + } + } + _abort_message(51810, $vararg_buffer10); +} + +function _null_convert_14($cinfo, $input_buf, $input_row, $output_buf, $num_rows) { + $cinfo = $cinfo | 0; + $input_buf = $input_buf | 0; + $input_row = $input_row | 0; + $output_buf = $output_buf | 0; + $num_rows = $num_rows | 0; + var $0 = 0, $1 = 0, $ci$021$us$us = 0, $cmp516 = 0, $col$019$us$us = 0, $dec30$us$in = 0, $inptr$018$us$us = 0, $input_row$addr$027$us = 0, $outptr$017$us$us = 0, $output_buf$addr$024$us = 0, $dec30$us$in$looptemp = 0; + $0 = HEAP32[$cinfo + 36 >> 2] | 0; + $1 = HEAP32[$cinfo + 112 >> 2] | 0; + if (($num_rows | 0) <= 0) return; + $cmp516 = ($1 | 0) == 0; + if (($0 | 0) <= 0) return; + $dec30$us$in = $num_rows; + $input_row$addr$027$us = $input_row; + $output_buf$addr$024$us = $output_buf; + while (1) { + $dec30$us$in$looptemp = $dec30$us$in; + $dec30$us$in = $dec30$us$in + -1 | 0; + if (!$cmp516) { + $ci$021$us$us = 0; + do { + $col$019$us$us = 0; + $inptr$018$us$us = HEAP32[(HEAP32[$input_buf + ($ci$021$us$us << 2) >> 2] | 0) + ($input_row$addr$027$us << 2) >> 2] | 0; + $outptr$017$us$us = (HEAP32[$output_buf$addr$024$us >> 2] | 0) + $ci$021$us$us | 0; + while (1) { + HEAP8[$outptr$017$us$us >> 0] = HEAP8[$inptr$018$us$us >> 0] | 0; + $col$019$us$us = $col$019$us$us + 1 | 0; + if (($col$019$us$us | 0) == ($1 | 0)) break; else { + $inptr$018$us$us = $inptr$018$us$us + 1 | 0; + $outptr$017$us$us = $outptr$017$us$us + $0 | 0; + } } - $$049 = $$049 + 1 | 0; - } - break; + $ci$021$us$us = $ci$021$us$us + 1 | 0; + } while (($ci$021$us$us | 0) != ($0 | 0)); } - case 2: - { - $16 = HEAP32[$0 + 44 >> 2] | 0; - $$150 = 0; - while (1) { - if (($$150 | 0) >= ($16 | 0)) break L1; - $18 = $0 + 48 + ($$150 << 8) + 4 | 0; - if ((HEAP32[$18 >> 2] | 0) > -1 ? +HEAPF64[$0 + 48 + ($$150 << 8) + 32 >> 3] < .5 : 0) { - HEAP32[$0 + 48 + ($$150 << 8) + 12 >> 2] = -1; - HEAP32[$18 >> 2] = -1; - HEAP32[$0 + 48 + ($$150 << 8) + 236 >> 2] = 6; - } - $$150 = $$150 + 1 | 0; - } - break; + if (($dec30$us$in$looptemp | 0) <= 1) break; else { + $input_row$addr$027$us = $input_row$addr$027$us + 1 | 0; + $output_buf$addr$024$us = $output_buf$addr$024$us + 4 | 0; } - default: - { - $28 = HEAP32[$0 + 44 >> 2] | 0; - $$2 = 0; - while (1) { - if (($$2 | 0) >= ($28 | 0)) break L1; - $30 = $0 + 48 + ($$2 << 8) + 8 | 0; - if ((HEAP32[$30 >> 2] | 0) > -1 ? +HEAPF64[$0 + 48 + ($$2 << 8) + 40 >> 3] < .5 : 0) { - HEAP32[$30 >> 2] = -1; - $$0 = 0; - } else $$0 = 1; - $36 = $0 + 48 + ($$2 << 8) + 12 | 0; - if (((HEAP32[$36 >> 2] | 0) > -1 ? +HEAPF64[$0 + 48 + ($$2 << 8) + 48 >> 3] < .5 : 0) ? (HEAP32[$36 >> 2] = -1, ($$0 | 0) == 0) : 0) HEAP32[$0 + 48 + ($$2 << 8) + 236 >> 2] = 6; - $$2 = $$2 + 1 | 0; + } + return; +} + +function _sift($head, $width, $cmp, $pshift, $lp) { + $head = $head | 0; + $width = $width | 0; + $cmp = $cmp | 0; + $pshift = $pshift | 0; + $lp = $lp | 0; + var $1 = 0, $add$ptr = 0, $add$ptr6 = 0, $ar = 0, $arrayidx15 = 0, $head$addr$023 = 0, $head$addr$1 = 0, $i$0$lcssa = 0, $i$024 = 0, $i$1 = 0, $idx$neg = 0, $pshift$addr$022 = 0, $pshift$addr$1 = 0, $sub = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 240 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(240); + $ar = sp; + HEAP32[$ar >> 2] = $head; + L1 : do if (($pshift | 0) > 1) { + $idx$neg = 0 - $width | 0; + $1 = $head; + $head$addr$023 = $head; + $i$024 = 1; + $pshift$addr$022 = $pshift; + while (1) { + $add$ptr = $head$addr$023 + $idx$neg | 0; + $sub = $pshift$addr$022 + -2 | 0; + $add$ptr6 = $add$ptr + (0 - (HEAP32[$lp + ($sub << 2) >> 2] | 0)) | 0; + if ((FUNCTION_TABLE_iii[$cmp & 127]($1, $add$ptr6) | 0) > -1 ? (FUNCTION_TABLE_iii[$cmp & 127]($1, $add$ptr) | 0) > -1 : 0) { + $i$0$lcssa = $i$024; + break L1; + } + $arrayidx15 = $ar + ($i$024 << 2) | 0; + if ((FUNCTION_TABLE_iii[$cmp & 127]($add$ptr6, $add$ptr) | 0) > -1) { + HEAP32[$arrayidx15 >> 2] = $add$ptr6; + $head$addr$1 = $add$ptr6; + $pshift$addr$1 = $pshift$addr$022 + -1 | 0; + } else { + HEAP32[$arrayidx15 >> 2] = $add$ptr; + $head$addr$1 = $add$ptr; + $pshift$addr$1 = $sub; + } + $i$1 = $i$024 + 1 | 0; + if (($pshift$addr$1 | 0) <= 1) { + $i$0$lcssa = $i$1; + break L1; } + $1 = HEAP32[$ar >> 2] | 0; + $head$addr$023 = $head$addr$1; + $i$024 = $i$1; + $pshift$addr$022 = $pshift$addr$1; } - } while (0); + } else $i$0$lcssa = 1; while (0); + _cycle($width, $ar, $i$0$lcssa); + STACKTOP = sp; + return; +} + +function __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE11__get_am_pmERiRS4_S4_RjRKNS_5ctypeIwEE($this, $__h, $__b, $__e, $__err, $__ct) { + $this = $this | 0; + $__h = $__h | 0; + $__b = $__b | 0; + $__e = $__e | 0; + $__err = $__err | 0; + $__ct = $__ct | 0; + var $10 = 0, $2 = 0, $5 = 0, $add$ptr = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, $call = 0, $cond$i = 0, $cond$i18 = 0, $sub$ptr$sub = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $agg$tmp$byval_copy = sp + 4 | 0; + $agg$tmp = sp; + $add$ptr = $this + 8 | 0; + $call = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$add$ptr >> 2] | 0) + 8 >> 2] & 127]($add$ptr) | 0; + $2 = HEAP8[$call + 8 + 3 >> 0] | 0; + if ($2 << 24 >> 24 < 0) $cond$i = HEAP32[$call + 4 >> 2] | 0; else $cond$i = $2 & 255; + $5 = HEAP8[$call + 20 + 3 >> 0] | 0; + if ($5 << 24 >> 24 < 0) $cond$i18 = HEAP32[$call + 16 >> 2] | 0; else $cond$i18 = $5 & 255; + do if (($cond$i | 0) != (0 - $cond$i18 | 0)) { + HEAP32[$agg$tmp >> 2] = HEAP32[$__e >> 2]; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + $sub$ptr$sub = (__ZNSt3__214__scan_keywordINS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEPKNS_12basic_stringIwS3_NS_9allocatorIwEEEENS_5ctypeIwEEEET0_RT_SE_SD_SD_RKT1_Rjb($__b, $agg$tmp$byval_copy, $call, $call + 24 | 0, $__ct, $__err, 0) | 0) - $call | 0; + $10 = HEAP32[$__h >> 2] | 0; + if (($10 | 0) == 12 & ($sub$ptr$sub | 0) == 0) { + HEAP32[$__h >> 2] = 0; + break; + } + if (($10 | 0) < 12 & ($sub$ptr$sub | 0) == 12) HEAP32[$__h >> 2] = $10 + 12; + } else HEAP32[$__err >> 2] = HEAP32[$__err >> 2] | 4; while (0); + STACKTOP = sp; return; } @@ -77488,10 +80174,10 @@ function _getMultiEachMarkerInfo($id, $multiMarkerId, $markerIndex) { if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); $id$addr = sp; HEAP32[$id$addr >> 2] = $id; - do if (__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(65260, $id$addr) | 0) { - $call7 = __ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(65260, $id$addr) | 0; - $2 = HEAP32[$call7 + 328 >> 2] | 0; - if (($multiMarkerId | 0) < 0 ? 1 : (HEAP32[$call7 + 332 >> 2] | 0) - $2 >> 3 >>> 0 <= $multiMarkerId >>> 0) { + do if (__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(66108, $id$addr) | 0) { + $call7 = __ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(66108, $id$addr) | 0; + $2 = HEAP32[$call7 + 352 >> 2] | 0; + if (($multiMarkerId | 0) < 0 ? 1 : (HEAP32[$call7 + 356 >> 2] | 0) - $2 >> 3 >>> 0 <= $multiMarkerId >>> 0) { $retval$2 = HEAP32[4225] | 0; break; } @@ -77501,7 +80187,7 @@ function _getMultiEachMarkerInfo($id, $multiMarkerId, $markerIndex) { break; } else { $8 = HEAP32[$5 >> 2] | 0; - _matrixCopy($8 + ($markerIndex * 320 | 0) + 16 | 0, 61136); + _matrixCopy($8 + ($markerIndex * 320 | 0) + 16 | 0, 61984); _emscripten_asm_const_iiiid(1, HEAP32[$8 + ($markerIndex * 320 | 0) + 304 >> 2] | 0, HEAP32[$8 + ($markerIndex * 320 | 0) >> 2] | 0, HEAP32[$8 + ($markerIndex * 320 | 0) + 4 >> 2] | 0, +(+HEAPF64[$8 + ($markerIndex * 320 | 0) + 8 >> 3])) | 0; $retval$2 = 0; break; @@ -77511,594 +80197,899 @@ function _getMultiEachMarkerInfo($id, $multiMarkerId, $markerIndex) { return $retval$2 | 0; } -function __ZL15genBWImageQuartPhiiPiS0_($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $$0 = 0, $$065 = 0, $$066 = 0, $$067 = 0, $$068 = 0, $$069 = 0, $$070 = 0, $$1 = 0, $11 = 0, $5 = 0, $6 = 0, $8 = 0, sp = 0; +function __ZNSt3__26vectorIN6vision17PriorityQueueItemILi96EEENS_9allocatorIS3_EEE21__push_back_slow_pathIRKS3_EEvOT_($this, $__x) { + $this = $this | 0; + $__x = $__x | 0; + var $11 = 0, $12 = 0, $3 = 0, $6 = 0, $__end_ = 0, $__end_$i = 0, $__v = 0, $add = 0, $call$i = 0, $mul$i = 0, $sub$ptr$sub$i$i$i = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $5 = ($1 | 0) / 4 | 0; - HEAP32[$3 >> 2] = $5; - $6 = ($2 | 0) / 4 | 0; - HEAP32[$4 >> 2] = $6; - $8 = _malloc(Math_imul($6, $5) | 0) | 0; - if (!$8) { - _arLog(0, 3, 45930, sp); - _exit(1); + STACKTOP = STACKTOP + 32 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); + $__v = sp; + $__end_$i = $this + 4 | 0; + $add = ((HEAP32[$__end_$i >> 2] | 0) - (HEAP32[$this >> 2] | 0) >> 3) + 1 | 0; + $call$i = __ZNKSt3__26vectorIN6vision17PriorityQueueItemILi96EEENS_9allocatorIS3_EEE8max_sizeEv($this) | 0; + if ($call$i >>> 0 < $add >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv($this); else { + $3 = HEAP32[$this >> 2] | 0; + $sub$ptr$sub$i$i$i = (HEAP32[$this + 8 >> 2] | 0) - $3 | 0; + $mul$i = $sub$ptr$sub$i$i$i >> 2; + __ZNSt3__214__split_bufferIN6vision17PriorityQueueItemILi96EEERNS_9allocatorIS3_EEEC2EmmS6_($__v, $sub$ptr$sub$i$i$i >> 3 >>> 0 < $call$i >>> 1 >>> 0 ? ($mul$i >>> 0 < $add >>> 0 ? $add : $mul$i) : $call$i, (HEAP32[$__end_$i >> 2] | 0) - $3 >> 3, $this + 8 | 0); + $__end_ = $__v + 8 | 0; + $6 = $__x; + $11 = HEAP32[$6 + 4 >> 2] | 0; + $12 = HEAP32[$__end_ >> 2] | 0; + HEAP32[$12 >> 2] = HEAP32[$6 >> 2]; + HEAP32[$12 + 4 >> 2] = $11; + HEAP32[$__end_ >> 2] = (HEAP32[$__end_ >> 2] | 0) + 8; + __ZNSt3__26vectorIN6vision17PriorityQueueItemILi96EEENS_9allocatorIS3_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS3_RS5_EE($this, $__v); + __ZNSt3__214__split_bufferIN6vision17PriorityQueueItemILi96EEERNS_9allocatorIS3_EEED2Ev($__v); + STACKTOP = sp; + return; } - $$0 = 0; - $$066 = $8; +} + +function __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9__grow_byEmmmmmm($this, $__old_cap, $__delta_cap, $__old_sz, $__n_copy, $__n_del, $__n_add) { + $this = $this | 0; + $__old_cap = $__old_cap | 0; + $__delta_cap = $__delta_cap | 0; + $__old_sz = $__old_sz | 0; + $__n_copy = $__n_copy | 0; + $__n_del = $__n_del | 0; + $__n_add = $__n_add | 0; + var $$sroa$speculated = 0, $0 = 0, $add = 0, $add14 = 0, $add1435 = 0, $add33 = 0, $call$i$i$i = 0, $cond$i = 0, $mul = 0, $sub23 = 0; + if ((1073741807 - $__old_cap | 0) >>> 0 < $__delta_cap >>> 0) __ZNKSt3__221__basic_string_commonILb1EE20__throw_length_errorEv($this); + $0 = $this + 8 | 0; + if ((HEAP8[$0 + 3 >> 0] | 0) < 0) $cond$i = HEAP32[$this >> 2] | 0; else $cond$i = $this; + if ($__old_cap >>> 0 < 536870887) { + $add = $__delta_cap + $__old_cap | 0; + $mul = $__old_cap << 1; + $$sroa$speculated = $add >>> 0 < $mul >>> 0 ? $mul : $add; + $add14 = $$sroa$speculated >>> 0 < 2 ? 2 : $$sroa$speculated + 4 & -4; + if ($add14 >>> 0 > 1073741823) _abort(); else $add1435 = $add14; + } else $add1435 = 1073741807; + $call$i$i$i = __Znwm($add1435 << 2) | 0; + if ($__n_copy | 0) __ZNSt3__211char_traitsIwE4copyEPwPKwm($call$i$i$i, $cond$i, $__n_copy) | 0; + $sub23 = $__old_sz - $__n_del - $__n_copy | 0; + if ($sub23 | 0) __ZNSt3__211char_traitsIwE4copyEPwPKwm($call$i$i$i + ($__n_copy << 2) + ($__n_add << 2) | 0, $cond$i + ($__n_copy << 2) + ($__n_del << 2) | 0, $sub23) | 0; + $add33 = $__old_cap + 1 | 0; + if (($add33 | 0) != 2) __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($cond$i, $add33 << 2); + HEAP32[$this >> 2] = $call$i$i$i; + HEAP32[$0 >> 2] = $add1435 | -2147483648; + return; +} + +function _rgb_convert_13($cinfo, $input_buf, $input_row, $output_buf, $num_rows) { + $cinfo = $cinfo | 0; + $input_buf = $input_buf | 0; + $input_row = $input_row | 0; + $output_buf = $output_buf | 0; + $num_rows = $num_rows | 0; + var $0 = 0, $2 = 0, $4 = 0, $6 = 0, $arrayidx2 = 0, $arrayidx4 = 0, $col$021$us = 0, $dec26$us$in = 0, $input_row$addr$025$us = 0, $outptr$020$us = 0, $output_buf$addr$024$us = 0, $dec26$us$in$looptemp = 0; + $0 = HEAP32[$cinfo + 112 >> 2] | 0; + if (($num_rows | 0) <= 0) return; + $arrayidx2 = $input_buf + 4 | 0; + $arrayidx4 = $input_buf + 8 | 0; + if (!$0) return; + $dec26$us$in = $num_rows; + $input_row$addr$025$us = $input_row; + $output_buf$addr$024$us = $output_buf; while (1) { - if (($$0 | 0) >= ($6 | 0)) break; - $11 = $$0 << 2; - $$065 = 0; - $$067 = $0 + (Math_imul($11, $1) | 0) | 0; - $$068 = $0 + (Math_imul($11 | 3, $1) | 0) | 0; - $$069 = $0 + (Math_imul($11 | 2, $1) | 0) | 0; - $$070 = $0 + (Math_imul($11 | 1, $1) | 0) | 0; - $$1 = $$066; + $dec26$us$in$looptemp = $dec26$us$in; + $dec26$us$in = $dec26$us$in + -1 | 0; + $2 = HEAP32[(HEAP32[$input_buf >> 2] | 0) + ($input_row$addr$025$us << 2) >> 2] | 0; + $4 = HEAP32[(HEAP32[$arrayidx2 >> 2] | 0) + ($input_row$addr$025$us << 2) >> 2] | 0; + $6 = HEAP32[(HEAP32[$arrayidx4 >> 2] | 0) + ($input_row$addr$025$us << 2) >> 2] | 0; + $input_row$addr$025$us = $input_row$addr$025$us + 1 | 0; + $col$021$us = 0; + $outptr$020$us = HEAP32[$output_buf$addr$024$us >> 2] | 0; while (1) { - if (($$065 | 0) >= ($5 | 0)) break; - HEAP8[$$1 >> 0] = ((HEAPU8[$$067 + 1 >> 0] | 0) + (HEAPU8[$$067 >> 0] | 0) + (HEAPU8[$$067 + 2 >> 0] | 0) + (HEAPU8[$$067 + 3 >> 0] | 0) + (HEAPU8[$$070 >> 0] | 0) + (HEAPU8[$$070 + 1 >> 0] | 0) + (HEAPU8[$$070 + 2 >> 0] | 0) + (HEAPU8[$$070 + 3 >> 0] | 0) + (HEAPU8[$$069 >> 0] | 0) + (HEAPU8[$$069 + 1 >> 0] | 0) + (HEAPU8[$$069 + 2 >> 0] | 0) + (HEAPU8[$$069 + 3 >> 0] | 0) + (HEAPU8[$$068 >> 0] | 0) + (HEAPU8[$$068 + 1 >> 0] | 0) + (HEAPU8[$$068 + 2 >> 0] | 0) + (HEAPU8[$$068 + 3 >> 0] | 0) | 0) / 16 | 0; - $$065 = $$065 + 1 | 0; - $$067 = $$067 + 4 | 0; - $$068 = $$068 + 4 | 0; - $$069 = $$069 + 4 | 0; - $$070 = $$070 + 4 | 0; - $$1 = $$1 + 1 | 0; + HEAP8[$outptr$020$us >> 0] = HEAP8[$2 + $col$021$us >> 0] | 0; + HEAP8[$outptr$020$us + 1 >> 0] = HEAP8[$4 + $col$021$us >> 0] | 0; + HEAP8[$outptr$020$us + 2 >> 0] = HEAP8[$6 + $col$021$us >> 0] | 0; + $col$021$us = $col$021$us + 1 | 0; + if (($col$021$us | 0) == ($0 | 0)) break; else $outptr$020$us = $outptr$020$us + 3 | 0; } - $$0 = $$0 + 1 | 0; - $$066 = $$1; + if (($dec26$us$in$looptemp | 0) <= 1) break; else $output_buf$addr$024$us = $output_buf$addr$024$us + 4 | 0; } - STACKTOP = sp; - return $8 | 0; + return; } -function __ZNKSt3__27num_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_putES4_RNS_8ios_baseEwPKv($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $$byval_copy = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $17 = 0, $24 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 208 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(208); - $$byval_copy = sp + 184 | 0; - $5 = sp + 192 | 0; - $6 = sp + 160 | 0; - $7 = sp; - $8 = sp + 188 | 0; - HEAP8[$5 >> 0] = HEAP8[59178] | 0; - HEAP8[$5 + 1 >> 0] = HEAP8[59179] | 0; - HEAP8[$5 + 2 >> 0] = HEAP8[59180] | 0; - HEAP8[$5 + 3 >> 0] = HEAP8[59181] | 0; - HEAP8[$5 + 4 >> 0] = HEAP8[59182] | 0; - HEAP8[$5 + 5 >> 0] = HEAP8[59183] | 0; - $9 = __ZNSt3__26__clocEv() | 0; - HEAP32[$$byval_copy >> 2] = $4; - $10 = __ZNSt3__219__libcpp_snprintf_lEPcmP15__locale_structPKcz($6, 20, $9, $5, $$byval_copy) | 0; - $11 = $6 + $10 | 0; - $12 = __ZNSt3__214__num_put_base18__identify_paddingEPcS1_RKNS_8ios_baseE($6, $11, $2) | 0; - __ZNKSt3__28ios_base6getlocEv($$byval_copy, $2); - $13 = __ZNKSt3__26locale9use_facetERNS0_2idE($$byval_copy, 66544) | 0; - __ZNSt3__26localeD2Ev($$byval_copy); - FUNCTION_TABLE_iiiii[HEAP32[(HEAP32[$13 >> 2] | 0) + 48 >> 2] & 15]($13, $6, $11, $7) | 0; - $17 = $7 + ($10 << 2) | 0; - HEAP32[$8 >> 2] = HEAP32[$1 >> 2]; - HEAP32[$$byval_copy >> 2] = HEAP32[$8 >> 2]; - $24 = __ZNSt3__216__pad_and_outputIwNS_11char_traitsIwEEEENS_19ostreambuf_iteratorIT_T0_EES6_PKS4_S8_S8_RNS_8ios_baseES4_($$byval_copy, $7, ($12 | 0) == ($11 | 0) ? $17 : $7 + ($12 - $6 << 2) | 0, $17, $2, $3) | 0; - STACKTOP = sp; - return $24 | 0; -} - -function __ZNK12_GLOBAL__N_116itanium_demangle8CastExpr9printLeftERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$byval_copy2 = 0, $12 = 0, $13 = 0, $18 = 0, $2 = 0, $23 = 0, $3 = 0, $4 = 0, $5 = 0, $7 = 0, sp = 0; +function __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE11__get_am_pmERiRS4_S4_RjRKNS_5ctypeIcEE($this, $__h, $__b, $__e, $__err, $__ct) { + $this = $this | 0; + $__h = $__h | 0; + $__b = $__b | 0; + $__e = $__e | 0; + $__err = $__err | 0; + $__ct = $__ct | 0; + var $1 = 0, $3 = 0, $8 = 0, $add$ptr = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, $call = 0, $cond$i = 0, $cond$i19 = 0, $sub$ptr$sub = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 48 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); - $$byval_copy2 = sp + 32 | 0; - $2 = sp; - $3 = sp + 24 | 0; - $4 = sp + 16 | 0; - $5 = sp + 8 | 0; - $7 = $0 + 8 | 0; - $12 = HEAP32[$7 + 4 >> 2] | 0; - $13 = $2; - HEAP32[$13 >> 2] = HEAP32[$7 >> 2]; - HEAP32[$13 + 4 >> 2] = $12; - HEAP32[$$byval_copy2 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy2 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy2); - __ZN12_GLOBAL__N_110StringViewC2EPKc($3, 52150); - HEAP32[$$byval_copy2 >> 2] = HEAP32[$3 >> 2]; - HEAP32[$$byval_copy2 + 4 >> 2] = HEAP32[$3 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy2); - $18 = HEAP32[$0 + 16 >> 2] | 0; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$18 >> 2] | 0) + 16 >> 2] & 255]($18, $1); - __ZN12_GLOBAL__N_110StringViewC2EPKc($4, 53140); - HEAP32[$$byval_copy2 >> 2] = HEAP32[$4 >> 2]; - HEAP32[$$byval_copy2 + 4 >> 2] = HEAP32[$4 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy2); - $23 = HEAP32[$0 + 20 >> 2] | 0; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$23 >> 2] | 0) + 16 >> 2] & 255]($23, $1); - __ZN12_GLOBAL__N_110StringViewC2EPKc($5, 51964); - HEAP32[$$byval_copy2 >> 2] = HEAP32[$5 >> 2]; - HEAP32[$$byval_copy2 + 4 >> 2] = HEAP32[$5 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy2); - STACKTOP = sp; - return; -} - -function __ZN6vision25MatrixInverseSymmetric3x3IfEEbPT_PKS1_S1_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = +$2; - var $$0 = 0, $11 = 0, $14 = 0.0, $15 = 0, $17 = 0, $23 = 0.0, $24 = 0, $3 = 0.0, $30 = 0.0, $31 = 0, $36 = 0.0, $44 = 0.0, $45 = 0, $50 = 0.0, $6 = 0.0, $7 = 0, $9 = 0; - $3 = +__ZN6vision23DeterminantSymmetric3x3IfEET_PKS1_($1); - if (!(+Math_abs(+$3) <= $2)) { - $6 = 1.0 / $3; - $7 = $1 + 16 | 0; - $9 = $1 + 20 | 0; - $11 = $1 + 32 | 0; - $14 = $6 * +__ZN6vision11Cofactor2x2IfEET_S1_S1_S1_(+HEAPF32[$7 >> 2], +HEAPF32[$9 >> 2], +HEAPF32[$11 >> 2]); - HEAPF32[$0 >> 2] = $14; - $15 = $1 + 8 | 0; - $17 = $1 + 4 | 0; - $23 = $6 * +__ZN6vision11Cofactor2x2IfEET_S1_S1_S1_S1_(+HEAPF32[$15 >> 2], +HEAPF32[$17 >> 2], +HEAPF32[$11 >> 2], +HEAPF32[$1 + 28 >> 2]); - $24 = $0 + 4 | 0; - HEAPF32[$24 >> 2] = $23; - $30 = $6 * +__ZN6vision11Cofactor2x2IfEET_S1_S1_S1_S1_(+HEAPF32[$17 >> 2], +HEAPF32[$15 >> 2], +HEAPF32[$7 >> 2], +HEAPF32[$9 >> 2]); - $31 = $0 + 8 | 0; - HEAPF32[$31 >> 2] = $30; - $36 = $6 * +__ZN6vision11Cofactor2x2IfEET_S1_S1_S1_(+HEAPF32[$1 >> 2], +HEAPF32[$15 >> 2], +HEAPF32[$11 >> 2]); - HEAPF32[$0 + 16 >> 2] = $36; - $44 = $6 * +__ZN6vision11Cofactor2x2IfEET_S1_S1_S1_S1_(+HEAPF32[$15 >> 2], +HEAPF32[$1 >> 2], +HEAPF32[$9 >> 2], +HEAPF32[$1 + 12 >> 2]); - $45 = $0 + 20 | 0; - HEAPF32[$45 >> 2] = $44; - $50 = $6 * +__ZN6vision11Cofactor2x2IfEET_S1_S1_S1_(+HEAPF32[$1 >> 2], +HEAPF32[$17 >> 2], +HEAPF32[$7 >> 2]); - HEAPF32[$0 + 32 >> 2] = $50; - HEAP32[$0 + 12 >> 2] = HEAP32[$24 >> 2]; - HEAP32[$0 + 24 >> 2] = HEAP32[$31 >> 2]; - HEAP32[$0 + 28 >> 2] = HEAP32[$45 >> 2]; - $$0 = 1; - } else $$0 = 0; - return $$0 | 0; -} - -function __ZNKSt3__27num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_putES4_RNS_8ios_baseEcPKv($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $$byval_copy = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $17 = 0, $24 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, sp = 0; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $agg$tmp$byval_copy = sp + 4 | 0; + $agg$tmp = sp; + $add$ptr = $this + 8 | 0; + $call = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$add$ptr >> 2] | 0) + 8 >> 2] & 127]($add$ptr) | 0; + $1 = HEAP8[$call + 11 >> 0] | 0; + if ($1 << 24 >> 24 < 0) $cond$i = HEAP32[$call + 4 >> 2] | 0; else $cond$i = $1 & 255; + $3 = HEAP8[$call + 12 + 11 >> 0] | 0; + if ($3 << 24 >> 24 < 0) $cond$i19 = HEAP32[$call + 16 >> 2] | 0; else $cond$i19 = $3 & 255; + do if (($cond$i | 0) != (0 - $cond$i19 | 0)) { + HEAP32[$agg$tmp >> 2] = HEAP32[$__e >> 2]; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + $sub$ptr$sub = (__ZNSt3__214__scan_keywordINS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEPKNS_12basic_stringIcS3_NS_9allocatorIcEEEENS_5ctypeIcEEEET0_RT_SE_SD_SD_RKT1_Rjb($__b, $agg$tmp$byval_copy, $call, $call + 24 | 0, $__ct, $__err, 0) | 0) - $call | 0; + $8 = HEAP32[$__h >> 2] | 0; + if (($8 | 0) == 12 & ($sub$ptr$sub | 0) == 0) { + HEAP32[$__h >> 2] = 0; + break; + } + if (($8 | 0) < 12 & ($sub$ptr$sub | 0) == 12) HEAP32[$__h >> 2] = $8 + 12; + } else HEAP32[$__err >> 2] = HEAP32[$__err >> 2] | 4; while (0); + STACKTOP = sp; + return; +} + +function __ZN6vision21DenormalizeHomographyIfEEvPT_PKS1_S1_S4_S1_S4_($Hp, $H, $s, $t, $sp, $tp) { + $Hp = $Hp | 0; + $H = $H | 0; + $s = +$s; + $t = $t | 0; + $sp = +$sp; + $tp = $tp | 0; + var $0 = 0.0, $1 = 0.0, $2 = 0.0, $5 = 0.0, $add = 0.0, $add19 = 0.0, $add20 = 0.0, $add8 = 0.0, $arrayidx = 0, $arrayidx10 = 0, $arrayidx2 = 0, $arrayidx23 = 0, $arrayidx29 = 0, $mul22 = 0.0, $mul24 = 0.0, $mul55 = 0.0, $mul58 = 0.0; + $arrayidx = $H + 24 | 0; + $0 = +HEAPF32[$arrayidx >> 2]; + $1 = +HEAPF32[$tp >> 2]; + $arrayidx2 = $H + 28 | 0; + $2 = +HEAPF32[$arrayidx2 >> 2]; + $add = $0 * $1 + +HEAPF32[$H >> 2] / $sp; + $add8 = $1 * $2 + +HEAPF32[$H + 4 >> 2] / $sp; + $arrayidx10 = $tp + 4 | 0; + $5 = +HEAPF32[$arrayidx10 >> 2]; + $add19 = $0 * $5 + +HEAPF32[$H + 12 >> 2] / $sp; + $add20 = $2 * $5 + +HEAPF32[$H + 16 >> 2] / $sp; + $mul22 = +HEAPF32[$t >> 2] * $s; + $arrayidx23 = $t + 4 | 0; + $mul24 = +HEAPF32[$arrayidx23 >> 2] * $s; + HEAPF32[$Hp >> 2] = $add * $s; + HEAPF32[$Hp + 4 >> 2] = $add8 * $s; + $arrayidx29 = $H + 32 | 0; + HEAPF32[$Hp + 8 >> 2] = +HEAPF32[$arrayidx29 >> 2] * +HEAPF32[$tp >> 2] + +HEAPF32[$H + 8 >> 2] / $sp - $add * $mul22 - $add8 * $mul24; + HEAPF32[$Hp + 12 >> 2] = $add19 * $s; + HEAPF32[$Hp + 16 >> 2] = $add20 * $s; + HEAPF32[$Hp + 20 >> 2] = +HEAPF32[$arrayidx29 >> 2] * +HEAPF32[$arrayidx10 >> 2] + +HEAPF32[$H + 20 >> 2] / $sp - $add19 * $mul22 - $add20 * $mul24; + $mul55 = +HEAPF32[$arrayidx >> 2] * $s; + HEAPF32[$Hp + 24 >> 2] = $mul55; + $mul58 = +HEAPF32[$arrayidx2 >> 2] * $s; + HEAPF32[$Hp + 28 >> 2] = $mul58; + HEAPF32[$Hp + 32 >> 2] = +HEAPF32[$arrayidx29 >> 2] - $mul55 * +HEAPF32[$t >> 2] - $mul58 * +HEAPF32[$arrayidx23 >> 2]; + return; +} + +function __ZNK10__cxxabiv117__class_type_info9can_catchEPKNS_16__shim_type_infoERPv($this, $thrown_type, $adjustedPtr) { + $this = $this | 0; + $thrown_type = $thrown_type | 0; + $adjustedPtr = $adjustedPtr | 0; + var $1 = 0, $dst_ptr_leading_to_static_ptr = 0, $info = 0, $number_of_dst_type = 0, $path_dst_ptr_to_static_ptr = 0, $retval$0 = 0, $retval$2 = 0, dest = 0, sp = 0, stop = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 96 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(96); - $$byval_copy = sp + 72 | 0; - $5 = sp + 80 | 0; - $6 = sp + 48 | 0; - $7 = sp; - $8 = sp + 76 | 0; - HEAP8[$5 >> 0] = HEAP8[59178] | 0; - HEAP8[$5 + 1 >> 0] = HEAP8[59179] | 0; - HEAP8[$5 + 2 >> 0] = HEAP8[59180] | 0; - HEAP8[$5 + 3 >> 0] = HEAP8[59181] | 0; - HEAP8[$5 + 4 >> 0] = HEAP8[59182] | 0; - HEAP8[$5 + 5 >> 0] = HEAP8[59183] | 0; - $9 = __ZNSt3__26__clocEv() | 0; - HEAP32[$$byval_copy >> 2] = $4; - $10 = __ZNSt3__219__libcpp_snprintf_lEPcmP15__locale_structPKcz($6, 20, $9, $5, $$byval_copy) | 0; - $11 = $6 + $10 | 0; - $12 = __ZNSt3__214__num_put_base18__identify_paddingEPcS1_RKNS_8ios_baseE($6, $11, $2) | 0; - __ZNKSt3__28ios_base6getlocEv($$byval_copy, $2); - $13 = __ZNKSt3__26locale9use_facetERNS0_2idE($$byval_copy, 66512) | 0; - __ZNSt3__26localeD2Ev($$byval_copy); - FUNCTION_TABLE_iiiii[HEAP32[(HEAP32[$13 >> 2] | 0) + 32 >> 2] & 15]($13, $6, $11, $7) | 0; - $17 = $7 + $10 | 0; - HEAP32[$8 >> 2] = HEAP32[$1 >> 2]; - HEAP32[$$byval_copy >> 2] = HEAP32[$8 >> 2]; - $24 = __ZNSt3__216__pad_and_outputIcNS_11char_traitsIcEEEENS_19ostreambuf_iteratorIT_T0_EES6_PKS4_S8_S8_RNS_8ios_baseES4_($$byval_copy, $7, ($12 | 0) == ($11 | 0) ? $17 : $7 + ($12 - $6) | 0, $17, $2, $3) | 0; - STACKTOP = sp; - return $24 | 0; -} - -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseSourceNameEPNS5_9NameStateE($0) { - $0 = $0 | 0; - var $$0 = 0, $$1 = 0, $$byval_copy = 0, $1 = 0, $2 = 0, $3 = 0, $5 = 0, $6 = 0, $9 = 0, sp = 0; + STACKTOP = STACKTOP + 64 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(64); + $info = sp; + if (!(__ZL8is_equalPKSt9type_infoS1_b($this, $thrown_type, 0) | 0)) if (($thrown_type | 0) != 0 ? ($1 = ___dynamic_cast($thrown_type, 13904, 13888, 0) | 0, ($1 | 0) != 0) : 0) { + HEAP32[$info >> 2] = $1; + HEAP32[$info + 4 >> 2] = 0; + HEAP32[$info + 8 >> 2] = $this; + HEAP32[$info + 12 >> 2] = -1; + $dst_ptr_leading_to_static_ptr = $info + 16 | 0; + $path_dst_ptr_to_static_ptr = $info + 24 | 0; + $number_of_dst_type = $info + 48 | 0; + dest = $dst_ptr_leading_to_static_ptr; + stop = dest + 36 | 0; + do { + HEAP32[dest >> 2] = 0; + dest = dest + 4 | 0; + } while ((dest | 0) < (stop | 0)); + HEAP16[$dst_ptr_leading_to_static_ptr + 36 >> 1] = 0; + HEAP8[$dst_ptr_leading_to_static_ptr + 38 >> 0] = 0; + HEAP32[$number_of_dst_type >> 2] = 1; + FUNCTION_TABLE_viiii[HEAP32[(HEAP32[$1 >> 2] | 0) + 28 >> 2] & 31]($1, $info, HEAP32[$adjustedPtr >> 2] | 0, 1); + if ((HEAP32[$path_dst_ptr_to_static_ptr >> 2] | 0) == 1) { + HEAP32[$adjustedPtr >> 2] = HEAP32[$dst_ptr_leading_to_static_ptr >> 2]; + $retval$0 = 1; + } else $retval$0 = 0; + $retval$2 = $retval$0; + } else $retval$2 = 0; else $retval$2 = 1; + STACKTOP = sp; + return $retval$2 | 0; +} + +function __ZNSt3__26vectorIN6vision5ImageENS_9allocatorIS2_EEE8__appendEm($this, $__n) { + $this = $this | 0; + $__n = $__n | 0; + var $1 = 0, $4 = 0, $__end_ = 0, $__v = 0, $__value_$i$i$i = 0, $add = 0, $call$i = 0, $mul$i = 0, $sub$ptr$sub$i$i$i = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 32 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $$byval_copy = sp + 24 | 0; - $1 = sp + 16 | 0; - $2 = sp + 8 | 0; - $3 = sp; - HEAP32[$1 >> 2] = 0; - if (!(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E20parsePositiveIntegerEPm($0, $1) | 0) ? ($5 = __ZNK12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E7numLeftEv($0) | 0, $6 = HEAP32[$1 >> 2] | 0, ($6 + -1 | 0) >>> 0 < $5 >>> 0) : 0) { - $9 = HEAP32[$0 >> 2] | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKcS2_($2, $9, $9 + $6 | 0); - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + $6; - __ZN12_GLOBAL__N_110StringViewC2EPKc($3, 53507); - HEAP32[$$byval_copy >> 2] = HEAP32[$3 >> 2]; - HEAP32[$$byval_copy + 4 >> 2] = HEAP32[$3 + 4 >> 2]; - if (__ZNK12_GLOBAL__N_110StringView10startsWithES0_($2, $$byval_copy) | 0) $$0 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA22_KcEEEPNS0_4NodeEDpOT0_($0) | 0; else $$0 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRNS_10StringViewEEEEPNS0_4NodeEDpOT0_($0, $2) | 0; - $$1 = $$0; - } else $$1 = 0; - STACKTOP = sp; - return $$1 | 0; -} - -function ___mo_lookup($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$090 = 0, $$094 = 0, $$4 = 0, $10 = 0, $13 = 0, $17 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $31 = 0, $35 = 0, $4 = 0, $44 = 0, $46 = 0, $49 = 0, $53 = 0, $63 = 0, $7 = 0; - $4 = (HEAP32[$0 >> 2] | 0) + 1794895138 | 0; - $7 = _swapc(HEAP32[$0 + 8 >> 2] | 0, $4) | 0; - $10 = _swapc(HEAP32[$0 + 12 >> 2] | 0, $4) | 0; - $13 = _swapc(HEAP32[$0 + 16 >> 2] | 0, $4) | 0; - L1 : do if (($7 >>> 0 < $1 >>> 2 >>> 0 ? ($17 = $1 - ($7 << 2) | 0, $10 >>> 0 < $17 >>> 0 & $13 >>> 0 < $17 >>> 0) : 0) ? (($13 | $10) & 3 | 0) == 0 : 0) { - $23 = $10 >>> 2; - $24 = $13 >>> 2; - $$090 = 0; - $$094 = $7; - while (1) { - $25 = $$094 >>> 1; - $26 = $$090 + $25 | 0; - $27 = $26 << 1; - $28 = $27 + $23 | 0; - $31 = _swapc(HEAP32[$0 + ($28 << 2) >> 2] | 0, $4) | 0; - $35 = _swapc(HEAP32[$0 + ($28 + 1 << 2) >> 2] | 0, $4) | 0; - if (!($35 >>> 0 < $1 >>> 0 & $31 >>> 0 < ($1 - $35 | 0) >>> 0)) { - $$4 = 0; - break L1; - } - if (HEAP8[$0 + ($35 + $31) >> 0] | 0) { - $$4 = 0; - break L1; - } - $44 = _strcmp($2, $0 + $35 | 0) | 0; - if (!$44) break; - $63 = ($44 | 0) < 0; - if (($$094 | 0) == 1) { - $$4 = 0; - break L1; - } - $$090 = $63 ? $$090 : $26; - $$094 = $63 ? $25 : $$094 - $25 | 0; + $__v = sp; + $__value_$i$i$i = $this + 8 | 0; + $__end_ = $this + 4 | 0; + $1 = HEAP32[$__end_ >> 2] | 0; + do if ((HEAP32[$__value_$i$i$i >> 2] | 0) - $1 >> 5 >>> 0 < $__n >>> 0) { + $add = ($1 - (HEAP32[$this >> 2] | 0) >> 5) + $__n | 0; + $call$i = __ZNKSt3__26vectorIN6vision5ImageENS_9allocatorIS2_EEE8max_sizeEv($this) | 0; + if ($call$i >>> 0 < $add >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv($this); else { + $4 = HEAP32[$this >> 2] | 0; + $sub$ptr$sub$i$i$i = (HEAP32[$__value_$i$i$i >> 2] | 0) - $4 | 0; + $mul$i = $sub$ptr$sub$i$i$i >> 4; + __ZNSt3__214__split_bufferIN6vision5ImageERNS_9allocatorIS2_EEEC2EmmS5_($__v, $sub$ptr$sub$i$i$i >> 5 >>> 0 < $call$i >>> 1 >>> 0 ? ($mul$i >>> 0 < $add >>> 0 ? $add : $mul$i) : $call$i, (HEAP32[$__end_ >> 2] | 0) - $4 >> 5, $this + 8 | 0); + __ZNSt3__214__split_bufferIN6vision5ImageERNS_9allocatorIS2_EEE18__construct_at_endEm($__v, $__n); + __ZNSt3__26vectorIN6vision5ImageENS_9allocatorIS2_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS2_RS4_EE($this, $__v); + __ZNSt3__214__split_bufferIN6vision5ImageERNS_9allocatorIS2_EEED2Ev($__v); + break; } - $46 = $27 + $24 | 0; - $49 = _swapc(HEAP32[$0 + ($46 << 2) >> 2] | 0, $4) | 0; - $53 = _swapc(HEAP32[$0 + ($46 + 1 << 2) >> 2] | 0, $4) | 0; - if ($53 >>> 0 < $1 >>> 0 & $49 >>> 0 < ($1 - $53 | 0) >>> 0) $$4 = (HEAP8[$0 + ($53 + $49) >> 0] | 0) == 0 ? $0 + $53 | 0 : 0; else $$4 = 0; - } else $$4 = 0; while (0); - return $$4 | 0; + } else __ZNSt3__26vectorIN6vision5ImageENS_9allocatorIS2_EEE18__construct_at_endEm($this, $__n); while (0); + STACKTOP = sp; + return; } -function __ZNK10__cxxabiv120__si_class_type_info16search_below_dstEPNS_19__dynamic_cast_infoEPKvib($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $13 = 0, $19 = 0, $22 = 0, $23 = 0, $25 = 0, $32 = 0, $33 = 0, $44 = 0; - L1 : do if (!(__ZL8is_equalPKSt9type_infoS1_b($0, HEAP32[$1 + 8 >> 2] | 0, $4) | 0)) { - if (!(__ZL8is_equalPKSt9type_infoS1_b($0, HEAP32[$1 >> 2] | 0, $4) | 0)) { - $44 = HEAP32[$0 + 8 >> 2] | 0; - FUNCTION_TABLE_viiiii[HEAP32[(HEAP32[$44 >> 2] | 0) + 24 >> 2] & 63]($44, $1, $2, $3, $4); - break; - } - if ((HEAP32[$1 + 16 >> 2] | 0) != ($2 | 0) ? ($13 = $1 + 20 | 0, (HEAP32[$13 >> 2] | 0) != ($2 | 0)) : 0) { - HEAP32[$1 + 32 >> 2] = $3; - $19 = $1 + 44 | 0; - do if ((HEAP32[$19 >> 2] | 0) != 4) { - $22 = $1 + 52 | 0; - HEAP8[$22 >> 0] = 0; - $23 = $1 + 53 | 0; - HEAP8[$23 >> 0] = 0; - $25 = HEAP32[$0 + 8 >> 2] | 0; - FUNCTION_TABLE_viiiiii[HEAP32[(HEAP32[$25 >> 2] | 0) + 20 >> 2] & 7]($25, $1, $2, $2, 1, $4); - if (HEAP8[$23 >> 0] | 0) { - $32 = (HEAP8[$22 >> 0] | 0) == 0; - HEAP32[$19 >> 2] = 3; - if ($32) break; else break L1; - } else { - HEAP32[$19 >> 2] = 4; - break; - } - } while (0); - HEAP32[$13 >> 2] = $2; - $33 = $1 + 40 | 0; - HEAP32[$33 >> 2] = (HEAP32[$33 >> 2] | 0) + 1; - if ((HEAP32[$1 + 36 >> 2] | 0) != 1) break; - if ((HEAP32[$1 + 24 >> 2] | 0) != 2) break; - HEAP8[$1 + 54 >> 0] = 1; - break; +function __ZNSt3__227__num_get_unsigned_integralItEET_PKcS3_Rji($__a, $__a_end, $__err, $__base) { + $__a = $__a | 0; + $__a_end = $__a_end | 0; + $__err = $__err | 0; + $__base = $__base | 0; + var $1 = 0, $2 = 0, $3 = 0, $4 = 0, $__a$addr$0 = 0, $__p2 = 0, $call = 0, $call10 = 0, $call4 = 0, $call7 = 0, $cmp1 = 0, $incdec$ptr = 0, $retval$0 = 0, $retval$2 = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $__p2 = sp; + do if (($__a | 0) == ($__a_end | 0)) { + HEAP32[$__err >> 2] = 4; + $retval$2 = 0; + } else { + $cmp1 = (HEAP8[$__a >> 0] | 0) == 45; + if ($cmp1) { + $incdec$ptr = $__a + 1 | 0; + if (($incdec$ptr | 0) == ($__a_end | 0)) { + HEAP32[$__err >> 2] = 4; + $retval$2 = 0; + break; + } else $__a$addr$0 = $incdec$ptr; + } else $__a$addr$0 = $__a; + $call = ___errno_location() | 0; + $1 = HEAP32[$call >> 2] | 0; + $call4 = ___errno_location() | 0; + HEAP32[$call4 >> 2] = 0; + $2 = _strtoull_l($__a$addr$0, $__p2, $__base, __ZNSt3__26__clocEv() | 0) | 0; + $3 = getTempRet0() | 0; + $call7 = ___errno_location() | 0; + $4 = HEAP32[$call7 >> 2] | 0; + if (!$4) { + $call10 = ___errno_location() | 0; + HEAP32[$call10 >> 2] = $1; } - if (($3 | 0) == 1) HEAP32[$1 + 32 >> 2] = 1; - } else __ZNK10__cxxabiv117__class_type_info29process_static_type_below_dstEPNS_19__dynamic_cast_infoEPKvi(0, $1, $2, $3); while (0); + do if ((HEAP32[$__p2 >> 2] | 0) == ($__a_end | 0)) { + if ($3 >>> 0 > 0 | ($3 | 0) == 0 & $2 >>> 0 > 65535 | ($4 | 0) == 68) { + HEAP32[$__err >> 2] = 4; + $retval$0 = -1; + break; + } + if ($cmp1) $retval$0 = 0 - $2 & 65535; else $retval$0 = $2 & 65535; + } else { + HEAP32[$__err >> 2] = 4; + $retval$0 = 0; + } while (0); + $retval$2 = $retval$0; + } while (0); + STACKTOP = sp; + return $retval$2 | 0; +} + +function _get_vertex($x_coord, $y_coord, $st, $ed, $thresh, $vertex, $vnum) { + $x_coord = $x_coord | 0; + $y_coord = $y_coord | 0; + $st = $st | 0; + $ed = $ed | 0; + $thresh = +$thresh; + $vertex = $vertex | 0; + $vnum = $vnum | 0; + var $0 = 0, $1 = 0, $2 = 0, $3 = 0, $6 = 0, $add = 0, $add21 = 0.0, $cmp23 = 0, $conv = 0.0, $conv12 = 0.0, $conv5 = 0.0, $dmax$0 = 0.0, $i$0 = 0, $mul22 = 0.0, $retval$0 = 0, $v1$0 = 0, $v1$1 = 0, label = 0; + $0 = HEAP32[$y_coord + ($ed << 2) >> 2] | 0; + $1 = HEAP32[$y_coord + ($st << 2) >> 2] | 0; + $conv = +($0 - $1 | 0); + $2 = HEAP32[$x_coord + ($st << 2) >> 2] | 0; + $3 = HEAP32[$x_coord + ($ed << 2) >> 2] | 0; + $conv5 = +($2 - $3 | 0); + $conv12 = +((Math_imul($3, $1) | 0) - (Math_imul($2, $0) | 0) | 0); + $add = $st + 1 | 0; + $dmax$0 = 0.0; + $i$0 = $add; + $v1$0 = $add; + while (1) { + if (($i$0 | 0) >= ($ed | 0)) break; + $add21 = $conv * +(HEAP32[$x_coord + ($i$0 << 2) >> 2] | 0) + $conv5 * +(HEAP32[$y_coord + ($i$0 << 2) >> 2] | 0) + $conv12; + $mul22 = $add21 * $add21; + $cmp23 = $mul22 > $dmax$0; + $v1$1 = $cmp23 ? $i$0 : $v1$0; + $dmax$0 = $cmp23 ? $mul22 : $dmax$0; + $i$0 = $i$0 + 1 | 0; + $v1$0 = $v1$1; + } + if ($dmax$0 / ($conv * $conv + $conv5 * $conv5) > $thresh) if (((_get_vertex($x_coord, $y_coord, $st, $v1$0, $thresh, $vertex, $vnum) | 0) >= 0 ? ($6 = HEAP32[$vnum >> 2] | 0, ($6 | 0) <= 5) : 0) ? (HEAP32[$vertex + ($6 << 2) >> 2] = $v1$0, HEAP32[$vnum >> 2] = (HEAP32[$vnum >> 2] | 0) + 1, (_get_vertex($x_coord, $y_coord, $v1$0, $ed, $thresh, $vertex, $vnum) | 0) >= 0) : 0) label = 8; else $retval$0 = -1; else label = 8; + if ((label | 0) == 8) $retval$0 = 0; + return $retval$0 | 0; +} + +function __ZN6vision27OrthogonalizePivot8x9Basis0IfEEbPT_S2_($Q, $A) { + $Q = $Q | 0; + $A = $A | 0; + var $add$ptr = 0, $arrayidx22 = 0, $call = 0.0, $call1 = 0.0, $call10 = 0.0, $call13 = 0.0, $call16 = 0.0, $call19 = 0.0, $call21 = 0, $call4 = 0.0, $call7 = 0.0, $retval$0 = 0, $ss = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 32 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); + $ss = sp; + $call = +__ZN6vision11SumSquares9IfEET_PKS1_($A); + HEAPF32[$ss >> 2] = $call; + $add$ptr = $A + 36 | 0; + $call1 = +__ZN6vision11SumSquares9IfEET_PKS1_($add$ptr); + HEAPF32[$ss + 4 >> 2] = $call1; + $call4 = +__ZN6vision11SumSquares9IfEET_PKS1_($A + 72 | 0); + HEAPF32[$ss + 8 >> 2] = $call4; + $call7 = +__ZN6vision11SumSquares9IfEET_PKS1_($A + 108 | 0); + HEAPF32[$ss + 12 >> 2] = $call7; + $call10 = +__ZN6vision11SumSquares9IfEET_PKS1_($A + 144 | 0); + HEAPF32[$ss + 16 >> 2] = $call10; + $call13 = +__ZN6vision11SumSquares9IfEET_PKS1_($A + 180 | 0); + HEAPF32[$ss + 20 >> 2] = $call13; + $call16 = +__ZN6vision11SumSquares9IfEET_PKS1_($A + 216 | 0); + HEAPF32[$ss + 24 >> 2] = $call16; + $call19 = +__ZN6vision11SumSquares9IfEET_PKS1_($A + 252 | 0); + HEAPF32[$ss + 28 >> 2] = $call19; + $call21 = __ZN6vision9MaxIndex8IfEEiPKT_($ss) | 0; + $arrayidx22 = $ss + ($call21 << 2) | 0; + if (+HEAPF32[$arrayidx22 >> 2] == 0.0) $retval$0 = 0; else { + __ZN6vision5Swap9IfEEvPT_S2_($A, $A + ($call21 * 9 << 2) | 0); + __ZN6vision12ScaleVector9IfEEvPT_PKS1_S1_($Q, $A, 1.0 / +Math_sqrt(+(+HEAPF32[$arrayidx22 >> 2]))); + __ZN6vision10CopyVectorIfEEvPT_PKS1_m($Q + 36 | 0, $add$ptr, 63); + $retval$0 = 1; + } + STACKTOP = sp; + return $retval$0 | 0; +} + +function _jinit_marker_reader($cinfo) { + $cinfo = $cinfo | 0; + var $2 = 0, $call = 0, $marker1 = 0; + $call = FUNCTION_TABLE_iiii[HEAP32[HEAP32[$cinfo + 4 >> 2] >> 2] & 63]($cinfo, 0, 172) | 0; + $marker1 = $cinfo + 464 | 0; + HEAP32[$marker1 >> 2] = $call; + HEAP32[$call >> 2] = 192; + HEAP32[$call + 4 >> 2] = 85; + HEAP32[$call + 8 >> 2] = 86; + HEAP32[$call + 28 >> 2] = 87; + HEAP32[$call + 96 >> 2] = 0; + HEAP32[$call + 100 >> 2] = 0; + HEAP32[$call + 36 >> 2] = 87; + HEAP32[$call + 104 >> 2] = 0; + HEAP32[$call + 40 >> 2] = 87; + HEAP32[$call + 108 >> 2] = 0; + HEAP32[$call + 44 >> 2] = 87; + HEAP32[$call + 112 >> 2] = 0; + HEAP32[$call + 48 >> 2] = 87; + HEAP32[$call + 116 >> 2] = 0; + HEAP32[$call + 52 >> 2] = 87; + HEAP32[$call + 120 >> 2] = 0; + HEAP32[$call + 56 >> 2] = 87; + HEAP32[$call + 124 >> 2] = 0; + HEAP32[$call + 60 >> 2] = 87; + HEAP32[$call + 128 >> 2] = 0; + HEAP32[$call + 64 >> 2] = 87; + HEAP32[$call + 132 >> 2] = 0; + HEAP32[$call + 68 >> 2] = 87; + HEAP32[$call + 136 >> 2] = 0; + HEAP32[$call + 72 >> 2] = 87; + HEAP32[$call + 140 >> 2] = 0; + HEAP32[$call + 76 >> 2] = 87; + HEAP32[$call + 144 >> 2] = 0; + HEAP32[$call + 80 >> 2] = 87; + HEAP32[$call + 148 >> 2] = 0; + HEAP32[$call + 84 >> 2] = 87; + HEAP32[$call + 152 >> 2] = 0; + HEAP32[$call + 156 >> 2] = 0; + HEAP32[$call + 92 >> 2] = 87; + HEAP32[$call + 160 >> 2] = 0; + HEAP32[$call + 32 >> 2] = 88; + HEAP32[$call + 88 >> 2] = 88; + $2 = HEAP32[$marker1 >> 2] | 0; + HEAP32[$cinfo + 216 >> 2] = 0; + HEAP32[$cinfo + 144 >> 2] = 0; + HEAP32[$cinfo + 440 >> 2] = 0; + HEAP32[$2 + 12 >> 2] = 0; + HEAP32[$2 + 16 >> 2] = 0; + HEAP32[$2 + 24 >> 2] = 0; + HEAP32[$2 + 164 >> 2] = 0; return; } -function _jpeg_resync_to_restart($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $$034$ph = 0, $$035 = 0, $14 = 0, $17 = 0, $2 = 0, $20 = 0, $23 = 0, $24 = 0, $3 = 0, $32 = 0, $4 = 0, $or$cond37 = 0, $spec$select36 = 0, label = 0; - $2 = $0 + 440 | 0; - $3 = HEAP32[$2 >> 2] | 0; - $4 = HEAP32[$0 >> 2] | 0; - HEAP32[$4 + 20 >> 2] = 124; - HEAP32[$4 + 24 >> 2] = $3; - HEAP32[(HEAP32[$0 >> 2] | 0) + 28 >> 2] = $1; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$0 >> 2] | 0) + 4 >> 2] & 255]($0, -1); - $14 = $1 + 1 & 7 | 208; - $17 = $1 + 2 & 7 | 208; - $20 = $1 + 7 & 7 | 208; - $23 = $1 + 6 & 7 | 208; - $$034$ph = $3; - L1 : while (1) { - $24 = ($$034$ph | 0) < 192; - $or$cond37 = ($$034$ph & -8 | 0) != 208 | ($$034$ph | 0) == ($14 | 0) | ($$034$ph | 0) == ($17 | 0); - $spec$select36 = ($$034$ph | 0) == ($20 | 0) | ($$034$ph | 0) == ($23 | 0) ? 2 : 1; - L3 : while (1) { - $$0 = $24 ? 2 : $or$cond37 ? 3 : $spec$select36; - $32 = HEAP32[$0 >> 2] | 0; - HEAP32[$32 + 20 >> 2] = 99; - HEAP32[$32 + 24 >> 2] = $$034$ph; - HEAP32[(HEAP32[$0 >> 2] | 0) + 28 >> 2] = $$0; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$0 >> 2] | 0) + 4 >> 2] & 255]($0, 4); - switch ($$0 & 3) { +function _arSetPixelFormat($handle, $pixFormat) { + $handle = $handle | 0; + $pixFormat = $pixFormat | 0; + var $3 = 0, $arPatternDetectionMode = 0, $arPixelFormat = 0, $call = 0, $retval$0 = 0, $vararg_buffer = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $vararg_buffer = sp; + L1 : do if ($handle) { + $arPixelFormat = $handle + 4 | 0; + if ((HEAP32[$arPixelFormat >> 2] | 0) != ($pixFormat | 0)) { + if ($pixFormat >>> 0 >= 15) { + HEAP32[$vararg_buffer >> 2] = $pixFormat; + _arLog(0, 3, 23981, $vararg_buffer); + $retval$0 = -1; + break; + } + HEAP32[$arPixelFormat >> 2] = $pixFormat; + $call = _arUtilGetPixelSize($pixFormat) | 0; + HEAP32[$handle + 8 >> 2] = $call; + $arPatternDetectionMode = $handle + 24 | 0; + $3 = HEAP32[$arPatternDetectionMode >> 2] | 0; + if (!(28704 >>> ($pixFormat & 32767) & 1)) switch ($3 | 0) { case 1: { - label = 4; + HEAP32[$arPatternDetectionMode >> 2] = 4; + $retval$0 = 0; break L1; break; } - case 3: + case 4: { - $$035 = 1; - label = 7; + HEAP32[$arPatternDetectionMode >> 2] = 3; + $retval$0 = 0; break L1; break; } - case 2: + default: { - break L3; + $retval$0 = 0; + break L1; + } + } else switch ($3 | 0) { + case 0: + { + HEAP32[$arPatternDetectionMode >> 2] = 1; + $retval$0 = 0; + break L1; + break; + } + case 3: + { + HEAP32[$arPatternDetectionMode >> 2] = 4; + $retval$0 = 0; + break L1; break; } default: - {} + { + $retval$0 = 0; + break L1; + } } + } else $retval$0 = 0; + } else $retval$0 = -1; while (0); + STACKTOP = sp; + return $retval$0 | 0; +} + +function __ZNSt3__225__num_get_signed_integralIlEET_PKcS3_Rji($__a, $__a_end, $__err, $__base) { + $__a = $__a | 0; + $__a_end = $__a_end | 0; + $__err = $__err | 0; + $__base = $__base | 0; + var $0 = 0, $1 = 0, $2 = 0, $3 = 0, $__p2 = 0, $call = 0, $call1 = 0, $call4 = 0, $call7 = 0, $retval$0 = 0, $retval$1 = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $__p2 = sp; + if (($__a | 0) == ($__a_end | 0)) { + HEAP32[$__err >> 2] = 4; + $retval$1 = 0; + } else { + $call = ___errno_location() | 0; + $0 = HEAP32[$call >> 2] | 0; + $call1 = ___errno_location() | 0; + HEAP32[$call1 >> 2] = 0; + $1 = _strtoll_l($__a, $__p2, $__base, __ZNSt3__26__clocEv() | 0) | 0; + $2 = getTempRet0() | 0; + $call4 = ___errno_location() | 0; + $3 = HEAP32[$call4 >> 2] | 0; + if (!$3) { + $call7 = ___errno_location() | 0; + HEAP32[$call7 >> 2] = $0; + } + L7 : do if ((HEAP32[$__p2 >> 2] | 0) == ($__a_end | 0)) { + do if (($3 | 0) == 68) { + HEAP32[$__err >> 2] = 4; + if (($2 | 0) > 0 | ($2 | 0) == 0 & $1 >>> 0 > 0) { + $retval$0 = 2147483647; + break L7; + } + } else { + if (($2 | 0) < -1 | ($2 | 0) == -1 & $1 >>> 0 < 2147483648) { + HEAP32[$__err >> 2] = 4; + break; + } + if (($2 | 0) > 0 | ($2 | 0) == 0 & $1 >>> 0 > 2147483647) { + HEAP32[$__err >> 2] = 4; + $retval$0 = 2147483647; + break L7; + } else { + $retval$0 = $1; + break L7; + } + } while (0); + $retval$0 = -2147483648; + } else { + HEAP32[$__err >> 2] = 4; + $retval$0 = 0; + } while (0); + $retval$1 = $retval$0; + } + STACKTOP = sp; + return $retval$1 | 0; +} + +function __ZNSt3__26vectorINS_4pairIfiEENS_9allocatorIS2_EEE8__appendEm($this, $__n) { + $this = $this | 0; + $__n = $__n | 0; + var $1 = 0, $4 = 0, $__end_ = 0, $__v = 0, $__value_$i$i$i = 0, $add = 0, $call$i = 0, $mul$i = 0, $sub$ptr$sub$i$i$i = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 32 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); + $__v = sp; + $__value_$i$i$i = $this + 8 | 0; + $__end_ = $this + 4 | 0; + $1 = HEAP32[$__end_ >> 2] | 0; + do if ((HEAP32[$__value_$i$i$i >> 2] | 0) - $1 >> 3 >>> 0 < $__n >>> 0) { + $add = ($1 - (HEAP32[$this >> 2] | 0) >> 3) + $__n | 0; + $call$i = __ZNKSt3__26vectorINS_4pairIfiEENS_9allocatorIS2_EEE8max_sizeEv($this) | 0; + if ($call$i >>> 0 < $add >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv($this); else { + $4 = HEAP32[$this >> 2] | 0; + $sub$ptr$sub$i$i$i = (HEAP32[$__value_$i$i$i >> 2] | 0) - $4 | 0; + $mul$i = $sub$ptr$sub$i$i$i >> 2; + __ZNSt3__214__split_bufferINS_4pairIfiEERNS_9allocatorIS2_EEEC2EmmS5_($__v, $sub$ptr$sub$i$i$i >> 3 >>> 0 < $call$i >>> 1 >>> 0 ? ($mul$i >>> 0 < $add >>> 0 ? $add : $mul$i) : $call$i, (HEAP32[$__end_ >> 2] | 0) - $4 >> 3, $this + 8 | 0); + __ZNSt3__214__split_bufferINS_4pairIfiEERNS_9allocatorIS2_EEE18__construct_at_endEm($__v, $__n); + __ZNSt3__26vectorINS_4pairIfiEENS_9allocatorIS2_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS2_RS4_EE($this, $__v); + __ZNSt3__214__split_bufferINS_4pairIfiEERNS_9allocatorIS2_EEED2Ev($__v); + break; } - if (!(_next_marker($0) | 0)) { - $$035 = 0; - label = 7; + } else __ZNSt3__26vectorINS_4pairIfiEENS_9allocatorIS2_EEE18__construct_at_endEm($this, $__n); while (0); + STACKTOP = sp; + return; +} + +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E13parseDecltypeEv($this) { + $this = $this | 0; + var $E = 0, $call7 = 0, $retval$0 = 0, $retval$1 = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $E = sp; + do if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($this, 68) | 0) { + if (!(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($this, 116) | 0) ? !(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($this, 84) | 0) : 0) { + $retval$1 = 0; break; } - $$034$ph = HEAP32[$2 >> 2] | 0; - } - if ((label | 0) == 4) { - HEAP32[$2 >> 2] = 0; - $$035 = 1; - return $$035 | 0; - } else if ((label | 0) == 7) return $$035 | 0; - return 0; + $call7 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseExprEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0) | 0; + HEAP32[$E >> 2] = $call7; + if (($call7 | 0) != 0 ? __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($this, 69) | 0 : 0) $retval$0 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_13EnclosingExprEJRA10_KcRPNS0_4NodeERA2_S8_EEESC_DpOT0_($this, 56939, $E) | 0; else $retval$0 = 0; + $retval$1 = $retval$0; + } else $retval$1 = 0; while (0); + STACKTOP = sp; + return $retval$1 | 0; } -function __ZNK12_GLOBAL__N_116itanium_demangle15ConditionalExpr9printLeftERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$byval_copy3 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, sp = 0; +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle7NewExprEJRNS2_9NodeArrayERPNS2_4NodeES5_RbS9_EEEPT_DpOT0_($this, $args, $args1, $args3, $args5, $args7) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + $args3 = $args3 | 0; + $args5 = $args5 | 0; + $args7 = $args7 | 0; + var $0 = 0, $10 = 0, $11 = 0, $16 = 0, $17 = 0, $5 = 0, $6 = 0, $agg$tmp = 0, $agg$tmp12 = 0, $call = 0, $tmpcast$byval_copy = 0, $tmpcast1$byval_copy = 0, $tobool = 0, $tobool16 = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 48 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); - $$byval_copy3 = sp + 32 | 0; - $2 = sp + 24 | 0; - $3 = sp + 16 | 0; - $4 = sp + 8 | 0; - $5 = sp; - __ZN12_GLOBAL__N_110StringViewC2EPKc($2, 51968); - HEAP32[$$byval_copy3 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy3 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy3); - __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(HEAP32[$0 + 8 >> 2] | 0, $1); - __ZN12_GLOBAL__N_110StringViewC2EPKc($3, 53204); - HEAP32[$$byval_copy3 >> 2] = HEAP32[$3 >> 2]; - HEAP32[$$byval_copy3 + 4 >> 2] = HEAP32[$3 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy3); - __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(HEAP32[$0 + 12 >> 2] | 0, $1); - __ZN12_GLOBAL__N_110StringViewC2EPKc($4, 53210); - HEAP32[$$byval_copy3 >> 2] = HEAP32[$4 >> 2]; - HEAP32[$$byval_copy3 + 4 >> 2] = HEAP32[$4 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy3); - __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(HEAP32[$0 + 16 >> 2] | 0, $1); - __ZN12_GLOBAL__N_110StringViewC2EPKc($5, 51964); - HEAP32[$$byval_copy3 >> 2] = HEAP32[$5 >> 2]; - HEAP32[$$byval_copy3 + 4 >> 2] = HEAP32[$5 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy3); - STACKTOP = sp; - return; -} - -function __ZNSt3__26vectorIN6vision25DoGScaleInvariantDetector12FeaturePointENS_9allocatorIS3_EEE21__push_back_slow_pathIRKS3_EEvOT_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $14 = 0, $16 = 0, $19 = 0, $2 = 0, $24 = 0, $25 = 0, $3 = 0, $8 = 0, $9 = 0, dest = 0, sp = 0, src = 0, stop = 0; + STACKTOP = STACKTOP + 32 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); + $tmpcast1$byval_copy = sp + 24 | 0; + $tmpcast$byval_copy = sp + 16 | 0; + $agg$tmp = sp + 8 | 0; + $agg$tmp12 = sp; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 32) | 0; + $0 = $args; + $5 = HEAP32[$0 + 4 >> 2] | 0; + $6 = $agg$tmp; + HEAP32[$6 >> 2] = HEAP32[$0 >> 2]; + HEAP32[$6 + 4 >> 2] = $5; + $10 = HEAP32[$args1 >> 2] | 0; + $11 = $args3; + $16 = HEAP32[$11 + 4 >> 2] | 0; + $17 = $agg$tmp12; + HEAP32[$17 >> 2] = HEAP32[$11 >> 2]; + HEAP32[$17 + 4 >> 2] = $16; + $tobool = (HEAP8[$args5 >> 0] | 0) != 0; + $tobool16 = (HEAP8[$args7 >> 0] | 0) != 0; + HEAP32[$tmpcast$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$tmpcast$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + HEAP32[$tmpcast1$byval_copy >> 2] = HEAP32[$agg$tmp12 >> 2]; + HEAP32[$tmpcast1$byval_copy + 4 >> 2] = HEAP32[$agg$tmp12 + 4 >> 2]; + __ZN12_GLOBAL__N_116itanium_demangle7NewExprC2ENS0_9NodeArrayEPNS0_4NodeES2_bb($call, $tmpcast$byval_copy, $10, $tmpcast1$byval_copy, $tobool, $tobool16); + STACKTOP = sp; + return $call | 0; +} + +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle7NewExprEJRNS2_9NodeArrayERPNS2_4NodeES4_RbS9_EEEPT_DpOT0_($this, $args, $args1, $args3, $args5, $args7) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + $args3 = $args3 | 0; + $args5 = $args5 | 0; + $args7 = $args7 | 0; + var $0 = 0, $10 = 0, $11 = 0, $16 = 0, $17 = 0, $5 = 0, $6 = 0, $agg$tmp = 0, $agg$tmp12 = 0, $call = 0, $tmpcast$byval_copy = 0, $tmpcast1$byval_copy = 0, $tobool = 0, $tobool16 = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 32 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $2 = sp; - $3 = $0 + 4 | 0; - $8 = (((HEAP32[$3 >> 2] | 0) - (HEAP32[$0 >> 2] | 0) | 0) / 36 | 0) + 1 | 0; - $9 = __ZNKSt3__26vectorIN6vision25DoGScaleInvariantDetector12FeaturePointENS_9allocatorIS3_EEE8max_sizeEv($0) | 0; - if ($9 >>> 0 < $8 >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv($0); else { - $14 = HEAP32[$0 >> 2] | 0; - $16 = ((HEAP32[$0 + 8 >> 2] | 0) - $14 | 0) / 36 | 0; - $19 = $16 << 1; - __ZNSt3__214__split_bufferIN6vision25DoGScaleInvariantDetector12FeaturePointERNS_9allocatorIS3_EEEC2EmmS6_($2, $16 >>> 0 < $9 >>> 1 >>> 0 ? ($19 >>> 0 < $8 >>> 0 ? $8 : $19) : $9, ((HEAP32[$3 >> 2] | 0) - $14 | 0) / 36 | 0, $0 + 8 | 0); - $24 = $2 + 8 | 0; - $25 = HEAP32[$24 >> 2] | 0; - dest = $25; - src = $1; - stop = dest + 36 | 0; - do { - HEAP32[dest >> 2] = HEAP32[src >> 2]; - dest = dest + 4 | 0; - src = src + 4 | 0; - } while ((dest | 0) < (stop | 0)); - HEAP32[$24 >> 2] = $25 + 36; - __ZNSt3__26vectorIN6vision25DoGScaleInvariantDetector12FeaturePointENS_9allocatorIS3_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS3_RS5_EE($0, $2); - __ZNSt3__214__split_bufferIN6vision25DoGScaleInvariantDetector12FeaturePointERNS_9allocatorIS3_EEED2Ev($2); - STACKTOP = sp; - return; - } + $tmpcast1$byval_copy = sp + 24 | 0; + $tmpcast$byval_copy = sp + 16 | 0; + $agg$tmp = sp + 8 | 0; + $agg$tmp12 = sp; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 32) | 0; + $0 = $args; + $5 = HEAP32[$0 + 4 >> 2] | 0; + $6 = $agg$tmp; + HEAP32[$6 >> 2] = HEAP32[$0 >> 2]; + HEAP32[$6 + 4 >> 2] = $5; + $10 = HEAP32[$args1 >> 2] | 0; + $11 = $args3; + $16 = HEAP32[$11 + 4 >> 2] | 0; + $17 = $agg$tmp12; + HEAP32[$17 >> 2] = HEAP32[$11 >> 2]; + HEAP32[$17 + 4 >> 2] = $16; + $tobool = (HEAP8[$args5 >> 0] | 0) != 0; + $tobool16 = (HEAP8[$args7 >> 0] | 0) != 0; + HEAP32[$tmpcast$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$tmpcast$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + HEAP32[$tmpcast1$byval_copy >> 2] = HEAP32[$agg$tmp12 >> 2]; + HEAP32[$tmpcast1$byval_copy + 4 >> 2] = HEAP32[$agg$tmp12 + 4 >> 2]; + __ZN12_GLOBAL__N_116itanium_demangle7NewExprC2ENS0_9NodeArrayEPNS0_4NodeES2_bb($call, $tmpcast$byval_copy, $10, $tmpcast1$byval_copy, $tobool, $tobool16); + STACKTOP = sp; + return $call | 0; } -function __ZN6vision25DoGScaleInvariantDetector5allocEPKNS_25GaussianScaleSpacePyramidE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $10 = 0, $12 = 0, $14 = 0, $15 = 0, $17 = 0, $19 = 0, $22 = 0, $23 = 0, $25 = 0, $4 = 0, $6 = 0, $7 = 0, $9 = 0; - __ZN6vision10DoGPyramid5allocEPKNS_25GaussianScaleSpacePyramidE($0 + 32 | 0, $1); - $4 = __ZNK6vision25GaussianScaleSpacePyramid6imagesEv($1) | 0; - $6 = __ZNK6vision5Image5widthEv(HEAP32[$4 >> 2] | 0) | 0; - $7 = __ZNK6vision25GaussianScaleSpacePyramid6imagesEv($1) | 0; - $9 = __ZNK6vision5Image6heightEv(HEAP32[$7 >> 2] | 0) | 0; - $10 = __ZNK6vision25GaussianScaleSpacePyramid10numOctavesEv($1) | 0; - __ZN6vision21OrientationAssignment5allocEmmiiiffif($0 + 92 | 0, $6, $9, $10, __ZNK6vision25GaussianScaleSpacePyramid18numScalesPerOctaveEv($1) | 0, 36, 3.0, 1.5, 5, .800000011920929); - $12 = __ZNK6vision25GaussianScaleSpacePyramid6imagesEv($1) | 0; - $14 = __ZNK6vision5Image5widthEv(HEAP32[$12 >> 2] | 0) | 0; - HEAP32[$0 >> 2] = $14; - $15 = __ZNK6vision25GaussianScaleSpacePyramid6imagesEv($1) | 0; - $17 = __ZNK6vision5Image6heightEv(HEAP32[$15 >> 2] | 0) | 0; - HEAP32[$0 + 4 >> 2] = $17; - $19 = $0 + 16 | 0; - __ZNSt3__26vectorINS0_INS0_INS_4pairIfmEENS_9allocatorIS2_EEEENS3_IS5_EEEENS3_IS7_EEE6resizeEm($19, HEAP32[$0 + 8 >> 2] | 0); - $22 = $0 + 20 | 0; - $23 = $0 + 12 | 0; - $$0 = 0; - while (1) { - $25 = HEAP32[$19 >> 2] | 0; - if ($$0 >>> 0 >= (((HEAP32[$22 >> 2] | 0) - $25 | 0) / 12 | 0) >>> 0) break; - __ZNSt3__26vectorINS0_INS_4pairIfmEENS_9allocatorIS2_EEEENS3_IS5_EEE6resizeEm($25 + ($$0 * 12 | 0) | 0, HEAP32[$23 >> 2] | 0); - $$0 = $$0 + 1 | 0; - } - return; +function __ZNSt3__227__num_get_unsigned_integralImEET_PKcS3_Rji($__a, $__a_end, $__err, $__base) { + $__a = $__a | 0; + $__a_end = $__a_end | 0; + $__err = $__err | 0; + $__base = $__base | 0; + var $1 = 0, $2 = 0, $3 = 0, $4 = 0, $__a$addr$0 = 0, $__p2 = 0, $call = 0, $call10 = 0, $call4 = 0, $call7 = 0, $cmp1 = 0, $incdec$ptr = 0, $retval$0 = 0, $retval$2 = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $__p2 = sp; + do if (($__a | 0) == ($__a_end | 0)) { + HEAP32[$__err >> 2] = 4; + $retval$2 = 0; + } else { + $cmp1 = (HEAP8[$__a >> 0] | 0) == 45; + if ($cmp1) { + $incdec$ptr = $__a + 1 | 0; + if (($incdec$ptr | 0) == ($__a_end | 0)) { + HEAP32[$__err >> 2] = 4; + $retval$2 = 0; + break; + } else $__a$addr$0 = $incdec$ptr; + } else $__a$addr$0 = $__a; + $call = ___errno_location() | 0; + $1 = HEAP32[$call >> 2] | 0; + $call4 = ___errno_location() | 0; + HEAP32[$call4 >> 2] = 0; + $2 = _strtoull_l($__a$addr$0, $__p2, $__base, __ZNSt3__26__clocEv() | 0) | 0; + $3 = getTempRet0() | 0; + $call7 = ___errno_location() | 0; + $4 = HEAP32[$call7 >> 2] | 0; + if (!$4) { + $call10 = ___errno_location() | 0; + HEAP32[$call10 >> 2] = $1; + } + do if ((HEAP32[$__p2 >> 2] | 0) == ($__a_end | 0)) if ($3 >>> 0 > 0 | ($3 | 0) == 0 & $2 >>> 0 > 4294967295 | ($4 | 0) == 68) { + HEAP32[$__err >> 2] = 4; + $retval$0 = -1; + break; + } else { + $retval$0 = $cmp1 ? 0 - $2 | 0 : $2; + break; + } else { + HEAP32[$__err >> 2] = 4; + $retval$0 = 0; + } while (0); + $retval$2 = $retval$0; + } while (0); + STACKTOP = sp; + return $retval$2 | 0; } -function _init_error_limit($0) { - $0 = $0 | 0; - var $$14042 = 0, $$143 = 0, $$241 = 0, $2 = 0, $47 = 0, $6 = 0, $7 = 0; - $2 = HEAP32[$0 + 484 >> 2] | 0; - $6 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[$0 + 4 >> 2] >> 2] & 63]($0, 1, 2044) | 0; - $7 = $6 + 1020 | 0; - HEAP32[$2 + 40 >> 2] = $7; - HEAP32[$7 >> 2] = 0; - HEAP32[$6 + 1024 >> 2] = 1; - HEAP32[$6 + 1016 >> 2] = -1; - HEAP32[$6 + 1028 >> 2] = 2; - HEAP32[$6 + 1012 >> 2] = -2; - HEAP32[$6 + 1032 >> 2] = 3; - HEAP32[$6 + 1008 >> 2] = -3; - HEAP32[$6 + 1036 >> 2] = 4; - HEAP32[$6 + 1004 >> 2] = -4; - HEAP32[$6 + 1040 >> 2] = 5; - HEAP32[$6 + 1e3 >> 2] = -5; - HEAP32[$6 + 1044 >> 2] = 6; - HEAP32[$6 + 996 >> 2] = -6; - HEAP32[$6 + 1048 >> 2] = 7; - HEAP32[$6 + 992 >> 2] = -7; - HEAP32[$6 + 1052 >> 2] = 8; - HEAP32[$6 + 988 >> 2] = -8; - HEAP32[$6 + 1056 >> 2] = 9; - HEAP32[$6 + 984 >> 2] = -9; - HEAP32[$6 + 1060 >> 2] = 10; - HEAP32[$6 + 980 >> 2] = -10; - HEAP32[$6 + 1064 >> 2] = 11; - HEAP32[$6 + 976 >> 2] = -11; - HEAP32[$6 + 1068 >> 2] = 12; - HEAP32[$6 + 972 >> 2] = -12; - HEAP32[$6 + 1072 >> 2] = 13; - HEAP32[$6 + 968 >> 2] = -13; - HEAP32[$6 + 1076 >> 2] = 14; - HEAP32[$6 + 964 >> 2] = -14; - HEAP32[$6 + 1080 >> 2] = 15; - HEAP32[$6 + 960 >> 2] = -15; - $$14042 = 16; - $$143 = 16; - do { - HEAP32[$7 + ($$14042 << 2) >> 2] = $$143; - HEAP32[$7 + (0 - $$14042 << 2) >> 2] = 0 - $$143; - $$14042 = $$14042 + 1 | 0; - $$143 = ($$14042 & 1 ^ 1) + $$143 | 0; - } while (($$14042 | 0) != 48); - $47 = 0 - $$143 | 0; - $$241 = 48; - do { - HEAP32[$7 + ($$241 << 2) >> 2] = $$143; - HEAP32[$7 + (0 - $$241 << 2) >> 2] = $47; - $$241 = $$241 + 1 | 0; - } while (($$241 | 0) != 256); - return; +function __ZNSt3__227__num_get_unsigned_integralIjEET_PKcS3_Rji($__a, $__a_end, $__err, $__base) { + $__a = $__a | 0; + $__a_end = $__a_end | 0; + $__err = $__err | 0; + $__base = $__base | 0; + var $1 = 0, $2 = 0, $3 = 0, $4 = 0, $__a$addr$0 = 0, $__p2 = 0, $call = 0, $call10 = 0, $call4 = 0, $call7 = 0, $cmp1 = 0, $incdec$ptr = 0, $retval$0 = 0, $retval$2 = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $__p2 = sp; + do if (($__a | 0) == ($__a_end | 0)) { + HEAP32[$__err >> 2] = 4; + $retval$2 = 0; + } else { + $cmp1 = (HEAP8[$__a >> 0] | 0) == 45; + if ($cmp1) { + $incdec$ptr = $__a + 1 | 0; + if (($incdec$ptr | 0) == ($__a_end | 0)) { + HEAP32[$__err >> 2] = 4; + $retval$2 = 0; + break; + } else $__a$addr$0 = $incdec$ptr; + } else $__a$addr$0 = $__a; + $call = ___errno_location() | 0; + $1 = HEAP32[$call >> 2] | 0; + $call4 = ___errno_location() | 0; + HEAP32[$call4 >> 2] = 0; + $2 = _strtoull_l($__a$addr$0, $__p2, $__base, __ZNSt3__26__clocEv() | 0) | 0; + $3 = getTempRet0() | 0; + $call7 = ___errno_location() | 0; + $4 = HEAP32[$call7 >> 2] | 0; + if (!$4) { + $call10 = ___errno_location() | 0; + HEAP32[$call10 >> 2] = $1; + } + do if ((HEAP32[$__p2 >> 2] | 0) == ($__a_end | 0)) if ($3 >>> 0 > 0 | ($3 | 0) == 0 & $2 >>> 0 > 4294967295 | ($4 | 0) == 68) { + HEAP32[$__err >> 2] = 4; + $retval$0 = -1; + break; + } else { + $retval$0 = $cmp1 ? 0 - $2 | 0 : $2; + break; + } else { + HEAP32[$__err >> 2] = 4; + $retval$0 = 0; + } while (0); + $retval$2 = $retval$0; + } while (0); + STACKTOP = sp; + return $retval$2 | 0; } -function _arMatrixPCA($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $$0 = 0, $$064 = 0, $$065 = 0.0, $$1 = 0, $$2 = 0, $18 = 0, $24 = 0, $27 = 0.0, $32 = 0, $35 = 0, $39 = 0, $40 = 0, $49 = 0, $5 = 0, $7 = 0, $9 = 0; - $5 = HEAP32[$0 + 4 >> 2] | 0; - $7 = HEAP32[$0 + 8 >> 2] | 0; - $9 = ($5 | 0) < ($7 | 0) ? $5 : $7; - L1 : do if (((((!(($5 | 0) < 2 | ($7 | 0) < 2) ? (HEAP32[$1 + 8 >> 2] | 0) == ($7 | 0) : 0) ? (HEAP32[$1 + 4 >> 2] | 0) == ($9 | 0) : 0) ? ($18 = $2 + 4 | 0, (HEAP32[$18 >> 2] | 0) == ($9 | 0)) : 0) ? (HEAP32[$3 + 4 >> 2] | 0) == ($7 | 0) : 0) ? ($24 = _arMatrixAllocDup($0) | 0, ($24 | 0) != 0) : 0) { - $27 = +Math_sqrt(+(+($5 | 0))); - if ((_EX($24, $3) | 0) < 0) { - _arMatrixFree($24) | 0; - $$064 = -1; +function __ZNSt3__214__num_put_base14__format_floatEPcPKcj($__fmtp, $__len, $__flags) { + $__fmtp = $__fmtp | 0; + $__len = $__len | 0; + $__flags = $__flags | 0; + var $$sink = 0, $0 = 0, $8 = 0, $__fmtp$addr$0 = 0, $__fmtp$addr$1 = 0, $__fmtp$addr$2 = 0, $__fmtp$addr$3 = 0, $__len$addr$0 = 0, $and6 = 0, $and7 = 0, $cmp8 = 0, $specify_precision$0$off0 = 0; + if (!($__flags & 2048)) $__fmtp$addr$0 = $__fmtp; else { + HEAP8[$__fmtp >> 0] = 43; + $__fmtp$addr$0 = $__fmtp + 1 | 0; + } + if (!($__flags & 1024)) $__fmtp$addr$1 = $__fmtp$addr$0; else { + HEAP8[$__fmtp$addr$0 >> 0] = 35; + $__fmtp$addr$1 = $__fmtp$addr$0 + 1 | 0; + } + $and6 = $__flags & 260; + $and7 = $__flags & 16384; + $cmp8 = ($and6 | 0) == 260; + if ($cmp8) { + $__fmtp$addr$2 = $__fmtp$addr$1; + $specify_precision$0$off0 = 0; + } else { + HEAP8[$__fmtp$addr$1 >> 0] = 46; + HEAP8[$__fmtp$addr$1 + 1 >> 0] = 42; + $__fmtp$addr$2 = $__fmtp$addr$1 + 2 | 0; + $specify_precision$0$off0 = 1; + } + $__fmtp$addr$3 = $__fmtp$addr$2; + $__len$addr$0 = $__len; + while (1) { + $0 = HEAP8[$__len$addr$0 >> 0] | 0; + if (!($0 << 24 >> 24)) break; + HEAP8[$__fmtp$addr$3 >> 0] = $0; + $__fmtp$addr$3 = $__fmtp$addr$3 + 1 | 0; + $__len$addr$0 = $__len$addr$0 + 1 | 0; + } + L14 : do switch ($and6 & 511) { + case 4: + { + $$sink = $and7 >>> 9 & 255 ^ 102; break; } - if ((_CENTER($24, $3) | 0) < 0) { - _arMatrixFree($24) | 0; - $$064 = -1; + case 256: + { + $$sink = $and7 >>> 9 & 255 ^ 101; break; } - $32 = Math_imul($7, $5) | 0; - $$0 = 0; - while (1) { - if (($$0 | 0) >= ($32 | 0)) break; - $35 = (HEAP32[$24 >> 2] | 0) + ($$0 << 3) | 0; - HEAPF64[$35 >> 3] = +HEAPF64[$35 >> 3] / $27; - $$0 = $$0 + 1 | 0; - } - $39 = _PCA($24, $1, $2) | 0; - _arMatrixFree($24) | 0; - $40 = HEAP32[$18 >> 2] | 0; - $$065 = 0.0; - $$1 = 0; - while (1) { - if (($$1 | 0) >= ($40 | 0)) break; - $$065 = $$065 + +HEAPF64[(HEAP32[$2 >> 2] | 0) + ($$1 << 3) >> 3]; - $$1 = $$1 + 1 | 0; - } - $$2 = 0; - while (1) { - if (($$2 | 0) >= ($40 | 0)) { - $$064 = $39; - break L1; + default: + { + $8 = $and7 >>> 9 & 255; + if ($cmp8) { + $$sink = $8 ^ 97; + break L14; + } else { + $$sink = $8 ^ 103; + break L14; } - $49 = (HEAP32[$2 >> 2] | 0) + ($$2 << 3) | 0; - HEAPF64[$49 >> 3] = +HEAPF64[$49 >> 3] / $$065; - $$2 = $$2 + 1 | 0; } - } else $$064 = -1; while (0); - return $$064 | 0; + } while (0); + HEAP8[$__fmtp$addr$3 >> 0] = $$sink; + return $specify_precision$0$off0 | 0; +} + +function __ZN6vision25CheckHomographyHeuristicsEPfii($H, $refWidth, $refHeight) { + $H = $H | 0; + $refWidth = $refWidth | 0; + $refHeight = $refHeight | 0; + var $Hinv = 0, $conv = 0.0, $conv21 = 0.0, $conv4 = 0.0, $p0p = 0, $p1 = 0, $p1p = 0, $p2 = 0, $p2p = 0, $p3 = 0, $p3p = 0, $retval$0 = 0, $retval$1 = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 96 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(96); + $p0p = sp + 88 | 0; + $p1p = sp + 80 | 0; + $p2p = sp + 72 | 0; + $p3p = sp + 64 | 0; + $Hinv = sp; + $p1 = sp + 56 | 0; + $p2 = sp + 48 | 0; + $p3 = sp + 40 | 0; + if (__ZN6vision16MatrixInverse3x3IfEEbPT_PKS1_S1_($Hinv, $H, 9.999999747378752e-06) | 0) { + $conv = +($refWidth | 0); + HEAPF32[$p1 >> 2] = $conv; + HEAPF32[$p1 + 4 >> 2] = 0.0; + HEAPF32[$p2 >> 2] = $conv; + $conv4 = +($refHeight | 0); + HEAPF32[$p2 + 4 >> 2] = $conv4; + HEAPF32[$p3 >> 2] = 0.0; + HEAPF32[$p3 + 4 >> 2] = $conv4; + __ZN6vision35MultiplyPointHomographyInhomogenousIfEEvPT_PKS1_S4_($p0p, $Hinv, 66100); + __ZN6vision35MultiplyPointHomographyInhomogenousIfEEvPT_PKS1_S4_($p1p, $Hinv, $p1); + __ZN6vision35MultiplyPointHomographyInhomogenousIfEEvPT_PKS1_S4_($p2p, $Hinv, $p2); + __ZN6vision35MultiplyPointHomographyInhomogenousIfEEvPT_PKS1_S4_($p3p, $Hinv, $p3); + $conv21 = +(Math_imul($refHeight, $refWidth) | 0) * .0001; + if (+__ZN6vision20SmallestTriangleAreaIfEET_PKS1_S3_S3_S3_($p0p, $p1p, $p2p, $p3p) < $conv21) $retval$0 = 0; else $retval$0 = __ZN6vision19QuadrilateralConvexIfEEbPKT_S3_S3_S3_($p0p, $p1p, $p2p, $p3p) | 0; + $retval$1 = $retval$0; + } else $retval$1 = 0; + STACKTOP = sp; + return $retval$1 | 0; +} + +function __ZNSt3__26vectorIN6vision7Point3dIfEENS_9allocatorIS3_EEE21__push_back_slow_pathIS3_EEvOT_($this, $__x) { + $this = $this | 0; + $__x = $__x | 0; + var $3 = 0, $5 = 0, $__end_ = 0, $__end_$i = 0, $__v = 0, $add = 0, $call$i = 0, $mul$i = 0, $sub$ptr$div$i$i$i = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 32 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); + $__v = sp; + $__end_$i = $this + 4 | 0; + $add = (((HEAP32[$__end_$i >> 2] | 0) - (HEAP32[$this >> 2] | 0) | 0) / 12 | 0) + 1 | 0; + $call$i = __ZNKSt3__26vectorIN6vision7Point3dIfEENS_9allocatorIS3_EEE8max_sizeEv($this) | 0; + if ($call$i >>> 0 < $add >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv($this); else { + $3 = HEAP32[$this >> 2] | 0; + $sub$ptr$div$i$i$i = ((HEAP32[$this + 8 >> 2] | 0) - $3 | 0) / 12 | 0; + $mul$i = $sub$ptr$div$i$i$i << 1; + __ZNSt3__214__split_bufferIN6vision7Point3dIfEERNS_9allocatorIS3_EEEC2EmmS6_($__v, $sub$ptr$div$i$i$i >>> 0 < $call$i >>> 1 >>> 0 ? ($mul$i >>> 0 < $add >>> 0 ? $add : $mul$i) : $call$i, ((HEAP32[$__end_$i >> 2] | 0) - $3 | 0) / 12 | 0, $this + 8 | 0); + $__end_ = $__v + 8 | 0; + $5 = HEAP32[$__end_ >> 2] | 0; + HEAP32[$5 >> 2] = HEAP32[$__x >> 2]; + HEAP32[$5 + 4 >> 2] = HEAP32[$__x + 4 >> 2]; + HEAP32[$5 + 8 >> 2] = HEAP32[$__x + 8 >> 2]; + HEAP32[$__end_ >> 2] = (HEAP32[$__end_ >> 2] | 0) + 12; + __ZNSt3__26vectorIN6vision7Point3dIfEENS_9allocatorIS3_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS3_RS5_EE($this, $__v); + __ZNSt3__214__split_bufferIN6vision7Point3dIfEERNS_9allocatorIS3_EEED2Ev($__v); + STACKTOP = sp; + return; + } } function _setup($width, $height, $cameraID) { @@ -78111,10 +81102,10 @@ function _setup($width, $height, $cameraID) { if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); $vararg_buffer1 = sp + 8 | 0; $id = sp + 12 | 0; - $0 = HEAP32[16326] | 0; - HEAP32[16326] = $0 + 1; + $0 = HEAP32[16538] | 0; + HEAP32[16538] = $0 + 1; HEAP32[$id >> 2] = $0; - $call = __ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(65260, $id) | 0; + $call = __ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(66108, $id) | 0; HEAP32[$call >> 2] = HEAP32[$id >> 2]; HEAP32[$call + 208 >> 2] = $width; HEAP32[$call + 212 >> 2] = $height; @@ -78129,493 +81120,654 @@ function _setup($width, $height, $cameraID) { HEAP32[$videoLuma >> 2] = $call9; $call10 = _arPattCreateHandle() | 0; HEAP32[$call + 220 >> 2] = $call10; - if (!$call10) _arLog(0, 3, 45426, sp); + if (!$call10) _arLog(0, 3, 46268, sp); _setCamera(HEAP32[$id >> 2] | 0, $cameraID) | 0; HEAP32[$vararg_buffer1 >> 2] = HEAP32[$videoFrameSize >> 2]; - _arLog(0, 1, 45463, $vararg_buffer1); - _emscripten_asm_const_iiiiiii(0, HEAP32[$call >> 2] | 0, HEAP32[$videoFrame >> 2] | 0, HEAP32[$videoFrameSize >> 2] | 0, $call + 344 | 0, 61136, HEAP32[$videoLuma >> 2] | 0) | 0; + _arLog(0, 1, 46305, $vararg_buffer1); + _emscripten_asm_const_iiiiiii(0, HEAP32[$call >> 2] | 0, HEAP32[$videoFrame >> 2] | 0, HEAP32[$videoFrameSize >> 2] | 0, $call + 368 | 0, 61984, HEAP32[$videoLuma >> 2] | 0) | 0; STACKTOP = sp; return HEAP32[$call >> 2] | 0; } -function __ZNKSt3__28time_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_putES4_RNS_8ios_baseEwPK2tmcc($0, $1, $2, $3, $4, $5, $6) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - $6 = $6 | 0; - var $$0$i$i = 0, $$0$i$i$i$i = 0, $$sroa$04$0$i = 0, $$sroa$04$1$i = 0, $11 = 0, $14 = 0, $16 = 0, $17 = 0, $23 = 0, $24 = 0, $29 = 0, $7 = 0, $8 = 0, sp = 0; +function _x_by_xt($input, $output) { + $input = $input | 0; + $output = $output | 0; + var $0 = 0, $1 = 0, $4 = 0, $6 = 0, $9 = 0.0, $add24 = 0.0, $arrayidx = 0, $arrayidx18 = 0, $i$0 = 0, $in1$0 = 0, $in2$0 = 0, $j$0 = 0, $k$0 = 0, $mul14 = 0, $out$0 = 0, $out$1 = 0, $retval$0 = 0; + $0 = HEAP32[$input + 4 >> 2] | 0; + $1 = HEAP32[$input + 8 >> 2] | 0; + L1 : do if ((HEAP32[$output + 4 >> 2] | 0) == ($0 | 0) ? (HEAP32[$output + 8 >> 2] | 0) == ($0 | 0) : 0) { + $4 = HEAP32[$output >> 2] | 0; + $i$0 = 0; + $out$0 = $4; + while (1) { + if (($i$0 | 0) >= ($0 | 0)) { + $retval$0 = 0; + break L1; + } + $mul14 = Math_imul($i$0, $1) | 0; + $j$0 = 0; + $out$1 = $out$0; + while (1) { + if (($j$0 | 0) == ($0 | 0)) break; + L10 : do if ($j$0 >>> 0 < $i$0 >>> 0) { + $arrayidx = $4 + ((Math_imul($j$0, $0) | 0) + $i$0 << 3) | 0; + HEAPF64[$out$1 >> 3] = +HEAPF64[$arrayidx >> 3]; + } else { + $6 = HEAP32[$input >> 2] | 0; + $arrayidx18 = $6 + ((Math_imul($j$0, $1) | 0) << 3) | 0; + HEAPF64[$out$1 >> 3] = 0.0; + $9 = 0.0; + $in1$0 = $6 + ($mul14 << 3) | 0; + $in2$0 = $arrayidx18; + $k$0 = 0; + while (1) { + if (($k$0 | 0) >= ($1 | 0)) break L10; + $add24 = $9 + +HEAPF64[$in1$0 >> 3] * +HEAPF64[$in2$0 >> 3]; + HEAPF64[$out$1 >> 3] = $add24; + $9 = $add24; + $in1$0 = $in1$0 + 8 | 0; + $in2$0 = $in2$0 + 8 | 0; + $k$0 = $k$0 + 1 | 0; + } + } while (0); + $j$0 = $j$0 + 1 | 0; + $out$1 = $out$1 + 8 | 0; + } + $i$0 = $i$0 + 1 | 0; + $out$0 = $out$0 + ($0 << 3) | 0; + } + } else $retval$0 = -1; while (0); + return $retval$0 | 0; +} + +function __ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_6vectorIN6vision7Point3dIfEENS_9allocatorIS5_EEEEEENS_22__unordered_map_hasherIiS9_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS9_NS_8equal_toIiEELb1EEENS6_IS9_EEE6rehashEm($this, $__n) { + $this = $this | 0; + $__n = $__n | 0; + var $$sroa$speculated = 0, $0 = 0, $__n$addr$0 = 0, $cond = 0, $conv14 = 0, $shl$i = 0; + if (($__n | 0) != 1) if (!($__n + -1 & $__n)) $__n$addr$0 = $__n; else $__n$addr$0 = __ZNSt3__212__next_primeEm($__n) | 0; else $__n$addr$0 = 2; + $0 = HEAP32[$this + 4 >> 2] | 0; + if ($__n$addr$0 >>> 0 <= $0 >>> 0) { + if ($__n$addr$0 >>> 0 < $0 >>> 0) { + $conv14 = ~~+Math_ceil(+(+((HEAP32[$this + 12 >> 2] | 0) >>> 0) / +HEAPF32[$this + 16 >> 2])) >>> 0; + if ($0 >>> 0 > 2 & ($0 + -1 & $0 | 0) == 0) { + $shl$i = 1 << 32 - (Math_clz32($conv14 + -1 | 0) | 0); + $cond = $conv14 >>> 0 < 2 ? $conv14 : $shl$i; + } else $cond = __ZNSt3__212__next_primeEm($conv14) | 0; + $$sroa$speculated = $__n$addr$0 >>> 0 < $cond >>> 0 ? $cond : $__n$addr$0; + if ($$sroa$speculated >>> 0 < $0 >>> 0) __ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_6vectorIN6vision7Point3dIfEENS_9allocatorIS5_EEEEEENS_22__unordered_map_hasherIiS9_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS9_NS_8equal_toIiEELb1EEENS6_IS9_EEE8__rehashEm($this, $$sroa$speculated); + } + } else __ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_6vectorIN6vision7Point3dIfEENS_9allocatorIS5_EEEEEENS_22__unordered_map_hasherIiS9_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS9_NS_8equal_toIiEELb1EEENS6_IS9_EEE8__rehashEm($this, $__n$addr$0); + return; +} + +function __ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_10shared_ptrIN6vision8KeyframeILi96EEEEEEENS_22__unordered_map_hasherIiS7_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS7_NS_8equal_toIiEELb1EEENS_9allocatorIS7_EEE6rehashEm($this, $__n) { + $this = $this | 0; + $__n = $__n | 0; + var $$sroa$speculated = 0, $0 = 0, $__n$addr$0 = 0, $cond = 0, $conv14 = 0, $shl$i = 0; + if (($__n | 0) != 1) if (!($__n + -1 & $__n)) $__n$addr$0 = $__n; else $__n$addr$0 = __ZNSt3__212__next_primeEm($__n) | 0; else $__n$addr$0 = 2; + $0 = HEAP32[$this + 4 >> 2] | 0; + if ($__n$addr$0 >>> 0 <= $0 >>> 0) { + if ($__n$addr$0 >>> 0 < $0 >>> 0) { + $conv14 = ~~+Math_ceil(+(+((HEAP32[$this + 12 >> 2] | 0) >>> 0) / +HEAPF32[$this + 16 >> 2])) >>> 0; + if ($0 >>> 0 > 2 & ($0 + -1 & $0 | 0) == 0) { + $shl$i = 1 << 32 - (Math_clz32($conv14 + -1 | 0) | 0); + $cond = $conv14 >>> 0 < 2 ? $conv14 : $shl$i; + } else $cond = __ZNSt3__212__next_primeEm($conv14) | 0; + $$sroa$speculated = $__n$addr$0 >>> 0 < $cond >>> 0 ? $cond : $__n$addr$0; + if ($$sroa$speculated >>> 0 < $0 >>> 0) __ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_10shared_ptrIN6vision8KeyframeILi96EEEEEEENS_22__unordered_map_hasherIiS7_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS7_NS_8equal_toIiEELb1EEENS_9allocatorIS7_EEE8__rehashEm($this, $$sroa$speculated); + } + } else __ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_10shared_ptrIN6vision8KeyframeILi96EEEEEEENS_22__unordered_map_hasherIiS7_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS7_NS_8equal_toIiEELb1EEENS_9allocatorIS7_EEE8__rehashEm($this, $__n$addr$0); + return; +} + +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E20parseFloatingLiteralIeEEPNS0_4NodeEv($this) { + $this = $this | 0; + var $0 = 0, $Data = 0, $__begin$0 = 0, $call3 = 0, $call4 = 0, $retval$3 = 0, $retval$4 = 0, label = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 416 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(416); - $7 = sp; - $8 = sp + 400 | 0; - HEAP32[$8 >> 2] = $7 + 400; - __ZNKSt3__210__time_put8__do_putEPwRS1_PK2tmcc($0 + 8 | 0, $7, $8, $4, $5, $6); - $11 = HEAP32[$8 >> 2] | 0; - $$0$i$i = $7; - $$sroa$04$0$i = HEAP32[$1 >> 2] | 0; - while (1) { - if (($$0$i$i | 0) == ($11 | 0)) break; - $14 = HEAP32[$$0$i$i >> 2] | 0; - if (!$$sroa$04$0$i) $$sroa$04$1$i = 0; else { - $16 = $$sroa$04$0$i + 24 | 0; - $17 = HEAP32[$16 >> 2] | 0; - if (($17 | 0) == (HEAP32[$$sroa$04$0$i + 28 >> 2] | 0)) { - $23 = HEAP32[(HEAP32[$$sroa$04$0$i >> 2] | 0) + 52 >> 2] | 0; - $24 = __ZNSt3__211char_traitsIwE11to_int_typeEw($14) | 0; - $$0$i$i$i$i = FUNCTION_TABLE_iii[$23 & 127]($$sroa$04$0$i, $24) | 0; - } else { - HEAP32[$16 >> 2] = $17 + 4; - HEAP32[$17 >> 2] = $14; - $$0$i$i$i$i = __ZNSt3__211char_traitsIwE11to_int_typeEw($14) | 0; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $Data = sp; + if ((__ZNK12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E7numLeftEv($this) | 0) >>> 0 < 21) $retval$4 = 0; else { + $0 = HEAP32[$this >> 2] | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKcS2_($Data, $0, $0 + 20 | 0); + $call3 = __ZNK12_GLOBAL__N_110StringView5beginEv($Data) | 0; + $call4 = __ZNK12_GLOBAL__N_110StringView3endEv($Data) | 0; + $__begin$0 = $call3; + while (1) { + if (($__begin$0 | 0) == ($call4 | 0)) { + label = 5; + break; } - $29 = __ZNSt3__211char_traitsIwE11eq_int_typeEjj($$0$i$i$i$i, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0; - $$sroa$04$1$i = $29 ? 0 : $$sroa$04$0$i; + if (!(_isxdigit(HEAP8[$__begin$0 >> 0] | 0) | 0)) { + $retval$3 = 0; + break; + } else $__begin$0 = $__begin$0 + 1 | 0; + } + if ((label | 0) == 5) { + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 20; + if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($this, 69) | 0) $retval$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_16FloatLiteralImplIeEEJRNS_10StringViewEEEEPNS0_4NodeEDpOT0_($this, $Data) | 0; else $retval$3 = 0; } - $$0$i$i = $$0$i$i + 4 | 0; - $$sroa$04$0$i = $$sroa$04$1$i; + $retval$4 = $retval$3; } STACKTOP = sp; - return $$sroa$04$0$i | 0; + return $retval$4 | 0; } -function __ZNKSt3__28time_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_putES4_RNS_8ios_baseEcPK2tmcc($0, $1, $2, $3, $4, $5, $6) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - $6 = $6 | 0; - var $$0$i$i = 0, $$0$i$i$i$i = 0, $$sroa$04$0$i = 0, $$sroa$04$1$i = 0, $11 = 0, $14 = 0, $16 = 0, $17 = 0, $23 = 0, $24 = 0, $29 = 0, $7 = 0, $8 = 0, sp = 0; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E20parseFloatingLiteralIdEEPNS0_4NodeEv($this) { + $this = $this | 0; + var $0 = 0, $Data = 0, $__begin$0 = 0, $call3 = 0, $call4 = 0, $retval$3 = 0, $retval$4 = 0, label = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 112 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(112); - $7 = sp; - $8 = sp + 100 | 0; - HEAP32[$8 >> 2] = $7 + 100; - __ZNKSt3__210__time_put8__do_putEPcRS1_PK2tmcc($0 + 8 | 0, $7, $8, $4, $5, $6); - $11 = HEAP32[$8 >> 2] | 0; - $$0$i$i = $7; - $$sroa$04$0$i = HEAP32[$1 >> 2] | 0; - while (1) { - if (($$0$i$i | 0) == ($11 | 0)) break; - $14 = HEAP8[$$0$i$i >> 0] | 0; - if (!$$sroa$04$0$i) $$sroa$04$1$i = 0; else { - $16 = $$sroa$04$0$i + 24 | 0; - $17 = HEAP32[$16 >> 2] | 0; - if (($17 | 0) == (HEAP32[$$sroa$04$0$i + 28 >> 2] | 0)) { - $23 = HEAP32[(HEAP32[$$sroa$04$0$i >> 2] | 0) + 52 >> 2] | 0; - $24 = __ZNSt3__211char_traitsIcE11to_int_typeEc($14) | 0; - $$0$i$i$i$i = FUNCTION_TABLE_iii[$23 & 127]($$sroa$04$0$i, $24) | 0; - } else { - HEAP32[$16 >> 2] = $17 + 1; - HEAP8[$17 >> 0] = $14; - $$0$i$i$i$i = __ZNSt3__211char_traitsIcE11to_int_typeEc($14) | 0; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $Data = sp; + if ((__ZNK12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E7numLeftEv($this) | 0) >>> 0 < 17) $retval$4 = 0; else { + $0 = HEAP32[$this >> 2] | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKcS2_($Data, $0, $0 + 16 | 0); + $call3 = __ZNK12_GLOBAL__N_110StringView5beginEv($Data) | 0; + $call4 = __ZNK12_GLOBAL__N_110StringView3endEv($Data) | 0; + $__begin$0 = $call3; + while (1) { + if (($__begin$0 | 0) == ($call4 | 0)) { + label = 5; + break; } - $29 = __ZNSt3__211char_traitsIcE11eq_int_typeEii($$0$i$i$i$i, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0; - $$sroa$04$1$i = $29 ? 0 : $$sroa$04$0$i; + if (!(_isxdigit(HEAP8[$__begin$0 >> 0] | 0) | 0)) { + $retval$3 = 0; + break; + } else $__begin$0 = $__begin$0 + 1 | 0; + } + if ((label | 0) == 5) { + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 16; + if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($this, 69) | 0) $retval$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_16FloatLiteralImplIdEEJRNS_10StringViewEEEEPNS0_4NodeEDpOT0_($this, $Data) | 0; else $retval$3 = 0; } - $$0$i$i = $$0$i$i + 1 | 0; - $$sroa$04$0$i = $$sroa$04$1$i; + $retval$4 = $retval$3; } STACKTOP = sp; - return $$sroa$04$0$i | 0; + return $retval$4 | 0; } -function __ZN6vision24OrthogonalizeIdentity8x9IfEEbPT_PKS1_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $12 = 0.0, $15 = 0.0, $18 = 0.0, $2 = 0, $21 = 0.0, $24 = 0.0, $27 = 0.0, $29 = 0, $3 = 0, $4 = 0.0, $6 = 0.0, $9 = 0.0, sp = 0; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E20parseFloatingLiteralIfEEPNS0_4NodeEv($this) { + $this = $this | 0; + var $0 = 0, $Data = 0, $__begin$0 = 0, $call3 = 0, $call4 = 0, $retval$3 = 0, $retval$4 = 0, label = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 384 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(384); - $2 = sp + 336 | 0; - $3 = sp; - $4 = +__ZN6vision24OrthogonalizeIdentity8x9IfEET_PS1_PKS1_i($3, $1, 0); - HEAPF32[$2 >> 2] = $4; - $6 = +__ZN6vision24OrthogonalizeIdentity8x9IfEET_PS1_PKS1_i($3 + 36 | 0, $1, 1); - HEAPF32[$2 + 4 >> 2] = $6; - $9 = +__ZN6vision24OrthogonalizeIdentity8x9IfEET_PS1_PKS1_i($3 + 72 | 0, $1, 2); - HEAPF32[$2 + 8 >> 2] = $9; - $12 = +__ZN6vision24OrthogonalizeIdentity8x9IfEET_PS1_PKS1_i($3 + 108 | 0, $1, 3); - HEAPF32[$2 + 12 >> 2] = $12; - $15 = +__ZN6vision24OrthogonalizeIdentity8x9IfEET_PS1_PKS1_i($3 + 144 | 0, $1, 4); - HEAPF32[$2 + 16 >> 2] = $15; - $18 = +__ZN6vision24OrthogonalizeIdentity8x9IfEET_PS1_PKS1_i($3 + 180 | 0, $1, 5); - HEAPF32[$2 + 20 >> 2] = $18; - $21 = +__ZN6vision24OrthogonalizeIdentity8x9IfEET_PS1_PKS1_i($3 + 216 | 0, $1, 6); - HEAPF32[$2 + 24 >> 2] = $21; - $24 = +__ZN6vision24OrthogonalizeIdentity8x9IfEET_PS1_PKS1_i($3 + 252 | 0, $1, 7); - HEAPF32[$2 + 28 >> 2] = $24; - $27 = +__ZN6vision24OrthogonalizeIdentity8x9IfEET_PS1_PKS1_i($3 + 288 | 0, $1, 8); - HEAPF32[$2 + 32 >> 2] = $27; - $29 = __ZN6vision9MaxIndex9IfEEiPKT_($2) | 0; - if (+HEAPF32[$2 + ($29 << 2) >> 2] == 0.0) $$0 = 0; else { - __ZN6vision11CopyVector9IfEEvPT_PKS1_($0, $3 + ($29 * 9 << 2) | 0); - $$0 = 1; - } - STACKTOP = sp; - return $$0 | 0; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $Data = sp; + if ((__ZNK12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E7numLeftEv($this) | 0) >>> 0 < 9) $retval$4 = 0; else { + $0 = HEAP32[$this >> 2] | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKcS2_($Data, $0, $0 + 8 | 0); + $call3 = __ZNK12_GLOBAL__N_110StringView5beginEv($Data) | 0; + $call4 = __ZNK12_GLOBAL__N_110StringView3endEv($Data) | 0; + $__begin$0 = $call3; + while (1) { + if (($__begin$0 | 0) == ($call4 | 0)) { + label = 5; + break; + } + if (!(_isxdigit(HEAP8[$__begin$0 >> 0] | 0) | 0)) { + $retval$3 = 0; + break; + } else $__begin$0 = $__begin$0 + 1 | 0; + } + if ((label | 0) == 5) { + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 8; + if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($this, 69) | 0) $retval$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_16FloatLiteralImplIfEEJRNS_10StringViewEEEEPNS0_4NodeEDpOT0_($this, $Data) | 0; else $retval$3 = 0; + } + $retval$4 = $retval$3; + } + STACKTOP = sp; + return $retval$4 | 0; } -function __ZL28demangling_terminate_handlerv() { - var $0 = 0, $1 = 0, $15 = 0, $16 = 0, $18 = 0, $23 = 0, $27 = 0, $3 = 0, $6 = 0, $8 = 0, $vararg_buffer = 0, $vararg_buffer10 = 0, $vararg_buffer3 = 0, $vararg_buffer7 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 48 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); - $vararg_buffer10 = sp + 32 | 0; - $vararg_buffer7 = sp + 24 | 0; - $vararg_buffer3 = sp + 16 | 0; - $vararg_buffer = sp; - $0 = sp + 36 | 0; - $1 = ___cxa_get_globals_fast() | 0; - if ($1 | 0 ? ($3 = HEAP32[$1 >> 2] | 0, $3 | 0) : 0) { - $6 = $3 + 48 | 0; - if (!(__ZN10__cxxabiv121__isOurExceptionClassEPK17_Unwind_Exception($6) | 0)) { - HEAP32[$vararg_buffer7 >> 2] = 50980; - _abort_message(50930, $vararg_buffer7); - } - $8 = __ZN10__cxxabiv119__getExceptionClassEPK17_Unwind_Exception($6) | 0; - if (($8 | 0) == 1126902529 & (getTempRet0() | 0) == 1129074247) $15 = HEAP32[$3 + 44 >> 2] | 0; else $15 = $3 + 80 | 0; - HEAP32[$0 >> 2] = $15; - $16 = HEAP32[$3 >> 2] | 0; - $18 = HEAP32[$16 + 4 >> 2] | 0; - if (FUNCTION_TABLE_iiii[HEAP32[(HEAP32[3470] | 0) + 16 >> 2] & 63](13880, $16, $0) | 0) { - $23 = HEAP32[$0 >> 2] | 0; - $27 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$23 >> 2] | 0) + 8 >> 2] & 127]($23) | 0; - HEAP32[$vararg_buffer >> 2] = 50980; - HEAP32[$vararg_buffer + 4 >> 2] = $18; - HEAP32[$vararg_buffer + 8 >> 2] = $27; - _abort_message(50844, $vararg_buffer); - } else { - HEAP32[$vararg_buffer3 >> 2] = 50980; - HEAP32[$vararg_buffer3 + 4 >> 2] = $18; - _abort_message(50889, $vararg_buffer3); - } +function __ZNSt3__26vectorIiNS_9allocatorIiEEE26__swap_out_circular_bufferERNS_14__split_bufferIiRS2_EEPi($this, $__v, $__p) { + $this = $this | 0; + $__v = $__v | 0; + $__p = $__p | 0; + var $0 = 0, $1 = 0, $5 = 0, $7 = 0, $9 = 0, $__begin_ = 0, $__end_ = 0, $__end_5 = 0, $__value_$i$i$i = 0, $__value_$i$i$i10 = 0, $add$ptr$i16 = 0, $sub$ptr$lhs$cast$i12 = 0, $sub$ptr$sub$i11 = 0, $sub$ptr$sub$i14 = 0; + $__begin_ = $__v + 4 | 0; + $0 = HEAP32[$__begin_ >> 2] | 0; + $1 = HEAP32[$this >> 2] | 0; + $sub$ptr$lhs$cast$i12 = $__p; + $sub$ptr$sub$i14 = $sub$ptr$lhs$cast$i12 - $1 | 0; + $add$ptr$i16 = $0 + (0 - ($sub$ptr$sub$i14 >> 2) << 2) | 0; + HEAP32[$__begin_ >> 2] = $add$ptr$i16; + if (($sub$ptr$sub$i14 | 0) > 0) _memcpy($add$ptr$i16 | 0, $1 | 0, $sub$ptr$sub$i14 | 0) | 0; + $__end_ = $this + 4 | 0; + $__end_5 = $__v + 8 | 0; + $sub$ptr$sub$i11 = (HEAP32[$__end_ >> 2] | 0) - $sub$ptr$lhs$cast$i12 | 0; + if (($sub$ptr$sub$i11 | 0) > 0) { + _memcpy(HEAP32[$__end_5 >> 2] | 0, $__p | 0, $sub$ptr$sub$i11 | 0) | 0; + HEAP32[$__end_5 >> 2] = (HEAP32[$__end_5 >> 2] | 0) + ($sub$ptr$sub$i11 >>> 2 << 2); + } + $5 = HEAP32[$this >> 2] | 0; + HEAP32[$this >> 2] = HEAP32[$__begin_ >> 2]; + HEAP32[$__begin_ >> 2] = $5; + $7 = HEAP32[$__end_ >> 2] | 0; + HEAP32[$__end_ >> 2] = HEAP32[$__end_5 >> 2]; + HEAP32[$__end_5 >> 2] = $7; + $__value_$i$i$i10 = $this + 8 | 0; + $__value_$i$i$i = $__v + 12 | 0; + $9 = HEAP32[$__value_$i$i$i10 >> 2] | 0; + HEAP32[$__value_$i$i$i10 >> 2] = HEAP32[$__value_$i$i$i >> 2]; + HEAP32[$__value_$i$i$i >> 2] = $9; + HEAP32[$__v >> 2] = HEAP32[$__begin_ >> 2]; + return $0 | 0; +} + +function __ZNSt3__26vectorIN6vision12FeaturePointENS_9allocatorIS2_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS2_RS4_EE($this, $__v) { + $this = $this | 0; + $__v = $__v | 0; + var $0 = 0, $4 = 0, $6 = 0, $8 = 0, $__begin_2 = 0, $__end1$addr$0$i = 0, $__end_ = 0, $__end_6 = 0, $__value_$i$i$i = 0, $__value_$i$i$i6 = 0, $add$ptr$i = 0, $incdec$ptr$i = 0; + $0 = HEAP32[$this >> 2] | 0; + $__end_ = $this + 4 | 0; + $__begin_2 = $__v + 4 | 0; + $__end1$addr$0$i = HEAP32[$__end_ >> 2] | 0; + while (1) { + if (($__end1$addr$0$i | 0) == ($0 | 0)) break; + $add$ptr$i = (HEAP32[$__begin_2 >> 2] | 0) + -20 | 0; + $incdec$ptr$i = $__end1$addr$0$i + -20 | 0; + HEAP32[$add$ptr$i >> 2] = HEAP32[$incdec$ptr$i >> 2]; + HEAP32[$add$ptr$i + 4 >> 2] = HEAP32[$incdec$ptr$i + 4 >> 2]; + HEAP32[$add$ptr$i + 8 >> 2] = HEAP32[$incdec$ptr$i + 8 >> 2]; + HEAP32[$add$ptr$i + 12 >> 2] = HEAP32[$incdec$ptr$i + 12 >> 2]; + HEAP32[$add$ptr$i + 16 >> 2] = HEAP32[$incdec$ptr$i + 16 >> 2]; + HEAP32[$__begin_2 >> 2] = (HEAP32[$__begin_2 >> 2] | 0) + -20; + $__end1$addr$0$i = $incdec$ptr$i; } - _abort_message(50968, $vararg_buffer10); + $4 = HEAP32[$this >> 2] | 0; + HEAP32[$this >> 2] = HEAP32[$__begin_2 >> 2]; + HEAP32[$__begin_2 >> 2] = $4; + $__end_6 = $__v + 8 | 0; + $6 = HEAP32[$__end_ >> 2] | 0; + HEAP32[$__end_ >> 2] = HEAP32[$__end_6 >> 2]; + HEAP32[$__end_6 >> 2] = $6; + $__value_$i$i$i6 = $this + 8 | 0; + $__value_$i$i$i = $__v + 12 | 0; + $8 = HEAP32[$__value_$i$i$i6 >> 2] | 0; + HEAP32[$__value_$i$i$i6 >> 2] = HEAP32[$__value_$i$i$i >> 2]; + HEAP32[$__value_$i$i$i >> 2] = $8; + HEAP32[$__v >> 2] = HEAP32[$__begin_2 >> 2]; + return; } -function __ZNSt3__29__sift_upIRNS_4lessIN6vision17PriorityQueueItemILi96EEEEENS_11__wrap_iterIPS4_EEEEvT0_SA_T_NS_15iterator_traitsISA_E15difference_typeE($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $$0 = 0, $$sroa$0$0$in = 0, $11 = 0, $13 = 0, $18 = 0, $19 = 0, $23 = 0, $28 = 0, $29 = 0, $30 = 0, $30$phi = 0, $37 = 0, $39 = 0, $4 = 0, $44 = 0, $45 = 0, $7 = 0, $8 = 0, $9 = 0, sp = 0; +function _arSetLabelingThreshMode($handle, $mode) { + $handle = $handle | 0; + $mode = $mode | 0; + var $1 = 0, $arImageProcInfo = 0, $arLabelingThreshMode = 0, $call = 0, $mode1$0 = 0, $retval$0 = 0, $vararg_buffer = 0, $vararg_buffer1 = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $4 = sp; - if (($3 | 0) > 1 ? ($7 = ($3 + -2 | 0) / 2 | 0, $8 = HEAP32[$0 >> 2] | 0, $9 = $8 + ($7 << 3) | 0, $11 = (HEAP32[$1 >> 2] | 0) + -8 | 0, HEAP32[$1 >> 2] = $11, __ZNK6vision17PriorityQueueItemILi96EEltERKS1_($9, $11) | 0) : 0) { - $13 = $11; - $18 = HEAP32[$13 + 4 >> 2] | 0; - $19 = $4; - HEAP32[$19 >> 2] = HEAP32[$13 >> 2]; - HEAP32[$19 + 4 >> 2] = $18; - $$0 = $7; - $$sroa$0$0$in = $9; - $30 = $11; - while (1) { - $23 = $$sroa$0$0$in; - $28 = HEAP32[$23 + 4 >> 2] | 0; - $29 = $30; - HEAP32[$29 >> 2] = HEAP32[$23 >> 2]; - HEAP32[$29 + 4 >> 2] = $28; - HEAP32[$1 >> 2] = $$sroa$0$0$in; - if (!$$0) break; - $$0 = ($$0 + -1 | 0) / 2 | 0; - $37 = $8 + ($$0 << 3) | 0; - if (!(__ZNK6vision17PriorityQueueItemILi96EEltERKS1_($37, $4) | 0)) break; else { - $30$phi = $$sroa$0$0$in; - $$sroa$0$0$in = $37; - $30 = $30$phi; + $vararg_buffer1 = sp + 8 | 0; + $vararg_buffer = sp; + if ($handle) { + $arLabelingThreshMode = $handle + 7062388 | 0; + if ((HEAP32[$arLabelingThreshMode >> 2] | 0) != ($mode | 0)) { + $arImageProcInfo = $handle + 7062408 | 0; + $1 = HEAP32[$arImageProcInfo >> 2] | 0; + if ($1 | 0) { + _arImageProcFinal($1); + HEAP32[$arImageProcInfo >> 2] = 0; + } + switch ($mode | 0) { + case 3: + case 2: + case 1: + { + $call = _arImageProcInit(HEAP32[$handle + 36 >> 2] | 0, HEAP32[$handle + 40 >> 2] | 0) | 0; + HEAP32[$arImageProcInfo >> 2] = $call; + $mode1$0 = $mode; + break; + } + case 4: + { + HEAP32[$handle + 7062404 >> 2] = 1; + HEAP32[$handle + 7062400 >> 2] = 1; + $mode1$0 = 4; + break; + } + case 0: + { + $mode1$0 = $mode; + break; + } + default: + { + _arLog(0, 3, 23812, $vararg_buffer); + $mode1$0 = 0; + } } - } - $39 = $4; - $44 = HEAP32[$39 + 4 >> 2] | 0; - $45 = $$sroa$0$0$in; - HEAP32[$45 >> 2] = HEAP32[$39 >> 2]; - HEAP32[$45 + 4 >> 2] = $44; - __ZN6vision17PriorityQueueItemILi96EED2Ev($4); + HEAP32[$arLabelingThreshMode >> 2] = $mode1$0; + if ((HEAP32[$handle >> 2] | 0) == 1) { + HEAP32[$vararg_buffer1 >> 2] = HEAP32[16 + ($mode1$0 << 2) >> 2]; + _arLog(0, 3, 23886, $vararg_buffer1); + $retval$0 = 0; + } else $retval$0 = 0; + } else $retval$0 = 0; + } else $retval$0 = -1; + STACKTOP = sp; + return $retval$0 | 0; +} + +function __ZN6vision27OrthogonalizePivot8x9Basis5IfEEbPT_S2_($Q, $A) { + $Q = $Q | 0; + $A = $A | 0; + var $add$ptr = 0, $add$ptr1 = 0, $add$ptr2 = 0, $add$ptr3 = 0, $add$ptr6 = 0, $arrayidx17 = 0, $call = 0.0, $call11 = 0.0, $call14 = 0.0, $call16 = 0, $mul = 0, $retval$0 = 0, $ss = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $ss = sp; + $add$ptr = $Q + 180 | 0; + $add$ptr1 = $Q + 144 | 0; + $add$ptr2 = $A + 180 | 0; + __ZN6vision21AccumulateProjection9IfEEvPT_PKS1_S4_($add$ptr, $add$ptr1, $add$ptr2); + $add$ptr3 = $Q + 216 | 0; + __ZN6vision21AccumulateProjection9IfEEvPT_PKS1_S4_($add$ptr3, $add$ptr1, $A + 216 | 0); + $add$ptr6 = $Q + 252 | 0; + __ZN6vision21AccumulateProjection9IfEEvPT_PKS1_S4_($add$ptr6, $add$ptr1, $A + 252 | 0); + $call = +__ZN6vision11SumSquares9IfEET_PKS1_($add$ptr); + HEAPF32[$ss >> 2] = $call; + $call11 = +__ZN6vision11SumSquares9IfEET_PKS1_($add$ptr3); + HEAPF32[$ss + 4 >> 2] = $call11; + $call14 = +__ZN6vision11SumSquares9IfEET_PKS1_($add$ptr6); + HEAPF32[$ss + 8 >> 2] = $call14; + $call16 = __ZN6vision9MaxIndex3IfEEiPKT_($ss) | 0; + $arrayidx17 = $ss + ($call16 << 2) | 0; + if (+HEAPF32[$arrayidx17 >> 2] == 0.0) $retval$0 = 0; else { + $mul = $call16 * 9 | 0; + __ZN6vision5Swap9IfEEvPT_S2_($add$ptr, $add$ptr + ($mul << 2) | 0); + __ZN6vision5Swap9IfEEvPT_S2_($add$ptr2, $add$ptr2 + ($mul << 2) | 0); + __ZN6vision12ScaleVector9IfEEvPT_PKS1_S1_($add$ptr, $add$ptr, 1.0 / +Math_sqrt(+(+HEAPF32[$arrayidx17 >> 2]))); + $retval$0 = 1; } STACKTOP = sp; - return; + return $retval$0 | 0; } -function _post_process_2pass($0, $1, $2, $3, $4, $5, $6) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - $6 = $6 | 0; - var $$1 = 0, $$pre$phi43Z2D = 0, $$pre$phiZ2D = 0, $10 = 0, $18 = 0, $20 = 0, $22 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $33 = 0, $40 = 0, $45 = 0, $46 = 0, $8 = 0, $9 = 0, $spec$select = 0; - $8 = HEAP32[$0 + 456 >> 2] | 0; - $9 = $8 + 24 | 0; - $10 = HEAP32[$9 >> 2] | 0; - if (!$10) { - $18 = $8 + 20 | 0; - $20 = $8 + 16 | 0; - $22 = FUNCTION_TABLE_iiiiii[HEAP32[(HEAP32[$0 + 4 >> 2] | 0) + 28 >> 2] & 31]($0, HEAP32[$8 + 8 >> 2] | 0, HEAP32[$18 >> 2] | 0, HEAP32[$20 >> 2] | 0, 0) | 0; - HEAP32[$8 + 12 >> 2] = $22; - $$pre$phi43Z2D = $18; - $$pre$phiZ2D = $20; - $26 = HEAP32[$9 >> 2] | 0; - $40 = $22; - } else { - $$pre$phi43Z2D = $8 + 20 | 0; - $$pre$phiZ2D = $8 + 16 | 0; - $26 = $10; - $40 = HEAP32[$8 + 12 >> 2] | 0; - } - $25 = (HEAP32[$$pre$phiZ2D >> 2] | 0) - $26 | 0; - $27 = HEAP32[$5 >> 2] | 0; - $28 = $6 - $27 | 0; - $spec$select = $25 >>> 0 > $28 >>> 0 ? $28 : $25; - $33 = (HEAP32[$0 + 116 >> 2] | 0) - (HEAP32[$$pre$phi43Z2D >> 2] | 0) | 0; - $$1 = $spec$select >>> 0 > $33 >>> 0 ? $33 : $spec$select; - FUNCTION_TABLE_viiii[HEAP32[(HEAP32[$0 + 484 >> 2] | 0) + 4 >> 2] & 31]($0, $40 + ($26 << 2) | 0, $4 + ($27 << 2) | 0, $$1); - HEAP32[$5 >> 2] = (HEAP32[$5 >> 2] | 0) + $$1; - $45 = (HEAP32[$9 >> 2] | 0) + $$1 | 0; - HEAP32[$9 >> 2] = $45; - $46 = HEAP32[$$pre$phiZ2D >> 2] | 0; - if ($45 >>> 0 < $46 >>> 0) return; - HEAP32[$$pre$phi43Z2D >> 2] = (HEAP32[$$pre$phi43Z2D >> 2] | 0) + $46; - HEAP32[$9 >> 2] = 0; - return; -} - -function _ar2GetSearchPoint($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$sink = 0, $10 = 0, $11 = 0, $13 = 0.0, $15 = 0.0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0; +function __ZNSt3__26vectorIN6vision7match_tENS_9allocatorIS2_EEE21__push_back_slow_pathIRKS2_EEvOT_($this, $__x) { + $this = $this | 0; + $__x = $__x | 0; + var $11 = 0, $12 = 0, $3 = 0, $6 = 0, $__end_ = 0, $__end_$i = 0, $__v = 0, $add = 0, $call$i = 0, $mul$i = 0, $sub$ptr$sub$i$i$i = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 32 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $6 = sp + 20 | 0; - $7 = sp + 16 | 0; - $8 = sp + 12 | 0; - $9 = sp + 8 | 0; - $10 = sp + 4 | 0; - $11 = sp; - $13 = +HEAPF32[$4 + 8 >> 2]; - $15 = +HEAPF32[$4 + 12 >> 2]; - if (($1 | 0) != 0 ? (_ar2MarkerCoord2ScreenCoord($0, $1, $13, $15, $6, $9) | 0) >= 0 : 0) { - HEAP32[$5 >> 2] = ~~+HEAPF32[$6 >> 2]; - HEAP32[$5 + 4 >> 2] = ~~+HEAPF32[$9 >> 2]; - if (($2 | 0) != 0 ? (_ar2MarkerCoord2ScreenCoord($0, $2, $13, $15, $7, $10) | 0) >= 0 : 0) { - HEAP32[$5 + 8 >> 2] = ~~(+HEAPF32[$6 >> 2] * 2.0 - +HEAPF32[$7 >> 2]); - HEAP32[$5 + 12 >> 2] = ~~(+HEAPF32[$9 >> 2] * 2.0 - +HEAPF32[$10 >> 2]); - if (($3 | 0) != 0 ? (_ar2MarkerCoord2ScreenCoord($0, $3, $13, $15, $8, $11) | 0) >= 0 : 0) { - HEAP32[$5 + 16 >> 2] = ~~(+HEAPF32[$8 >> 2] + (+HEAPF32[$6 >> 2] * 3.0 - +HEAPF32[$7 >> 2] * 3.0)); - $$sink = ~~(+HEAPF32[$11 >> 2] + (+HEAPF32[$9 >> 2] * 3.0 - +HEAPF32[$10 >> 2] * 3.0)); - } else label = 10; - } else label = 9; - } else { - HEAP32[$5 >> 2] = -1; - HEAP32[$5 + 4 >> 2] = -1; - label = 9; - } - if ((label | 0) == 9) { - HEAP32[$5 + 8 >> 2] = -1; - HEAP32[$5 + 12 >> 2] = -1; - label = 10; - } - if ((label | 0) == 10) { - HEAP32[$5 + 16 >> 2] = -1; - $$sink = -1; + $__v = sp; + $__end_$i = $this + 4 | 0; + $add = ((HEAP32[$__end_$i >> 2] | 0) - (HEAP32[$this >> 2] | 0) >> 3) + 1 | 0; + $call$i = __ZNKSt3__26vectorIN6vision7match_tENS_9allocatorIS2_EEE8max_sizeEv($this) | 0; + if ($call$i >>> 0 < $add >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv($this); else { + $3 = HEAP32[$this >> 2] | 0; + $sub$ptr$sub$i$i$i = (HEAP32[$this + 8 >> 2] | 0) - $3 | 0; + $mul$i = $sub$ptr$sub$i$i$i >> 2; + __ZNSt3__214__split_bufferIN6vision7match_tERNS_9allocatorIS2_EEEC2EmmS5_($__v, $sub$ptr$sub$i$i$i >> 3 >>> 0 < $call$i >>> 1 >>> 0 ? ($mul$i >>> 0 < $add >>> 0 ? $add : $mul$i) : $call$i, (HEAP32[$__end_$i >> 2] | 0) - $3 >> 3, $this + 8 | 0); + $__end_ = $__v + 8 | 0; + $6 = $__x; + $11 = HEAP32[$6 + 4 >> 2] | 0; + $12 = HEAP32[$__end_ >> 2] | 0; + HEAP32[$12 >> 2] = HEAP32[$6 >> 2]; + HEAP32[$12 + 4 >> 2] = $11; + HEAP32[$__end_ >> 2] = (HEAP32[$__end_ >> 2] | 0) + 8; + __ZNSt3__26vectorIN6vision7match_tENS_9allocatorIS2_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS2_RS4_EE($this, $__v); + __ZNSt3__214__split_bufferIN6vision7match_tERNS_9allocatorIS2_EEED2Ev($__v); + STACKTOP = sp; + return; } - HEAP32[$5 + 20 >> 2] = $$sink; - STACKTOP = sp; - return; } -function __ZNSt3__26vectorINS0_INS_4pairIfmEENS_9allocatorIS2_EEEENS3_IS5_EEE8__appendEm($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $13 = 0, $14 = 0, $18 = 0, $2 = 0, $20 = 0, $23 = 0, $3 = 0, $5 = 0, $6 = 0, sp = 0; +function __ZNSt3__26vectorIN6vision7match_tENS_9allocatorIS2_EEE21__push_back_slow_pathIS2_EEvOT_($this, $__x) { + $this = $this | 0; + $__x = $__x | 0; + var $11 = 0, $12 = 0, $3 = 0, $6 = 0, $__end_ = 0, $__end_$i = 0, $__v = 0, $add = 0, $call$i = 0, $mul$i = 0, $sub$ptr$sub$i$i$i = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 32 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $2 = sp; - $3 = $0 + 8 | 0; - $5 = $0 + 4 | 0; - $6 = HEAP32[$5 >> 2] | 0; - do if ((((HEAP32[$3 >> 2] | 0) - $6 | 0) / 12 | 0) >>> 0 < $1 >>> 0) { - $13 = (($6 - (HEAP32[$0 >> 2] | 0) | 0) / 12 | 0) + $1 | 0; - $14 = __ZNKSt3__26vectorINS0_INS_4pairIfmEENS_9allocatorIS2_EEEENS3_IS5_EEE8max_sizeEv($0) | 0; - if ($14 >>> 0 < $13 >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv($0); else { - $18 = HEAP32[$0 >> 2] | 0; - $20 = ((HEAP32[$3 >> 2] | 0) - $18 | 0) / 12 | 0; - $23 = $20 << 1; - __ZNSt3__214__split_bufferINS_6vectorINS_4pairIfmEENS_9allocatorIS3_EEEERNS4_IS6_EEEC2EmmS8_($2, $20 >>> 0 < $14 >>> 1 >>> 0 ? ($23 >>> 0 < $13 >>> 0 ? $13 : $23) : $14, ((HEAP32[$5 >> 2] | 0) - $18 | 0) / 12 | 0, $0 + 8 | 0); - __ZNSt3__214__split_bufferINS_6vectorINS_4pairIfmEENS_9allocatorIS3_EEEERNS4_IS6_EEE18__construct_at_endEm($2, $1); - __ZNSt3__26vectorINS0_INS_4pairIfmEENS_9allocatorIS2_EEEENS3_IS5_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS5_RS6_EE($0, $2); - __ZNSt3__214__split_bufferINS_6vectorINS_4pairIfmEENS_9allocatorIS3_EEEERNS4_IS6_EEED2Ev($2); - break; - } - } else __ZNSt3__26vectorINS0_INS_4pairIfmEENS_9allocatorIS2_EEEENS3_IS5_EEE18__construct_at_endEm($0, $1); while (0); + $__v = sp; + $__end_$i = $this + 4 | 0; + $add = ((HEAP32[$__end_$i >> 2] | 0) - (HEAP32[$this >> 2] | 0) >> 3) + 1 | 0; + $call$i = __ZNKSt3__26vectorIN6vision7match_tENS_9allocatorIS2_EEE8max_sizeEv($this) | 0; + if ($call$i >>> 0 < $add >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv($this); else { + $3 = HEAP32[$this >> 2] | 0; + $sub$ptr$sub$i$i$i = (HEAP32[$this + 8 >> 2] | 0) - $3 | 0; + $mul$i = $sub$ptr$sub$i$i$i >> 2; + __ZNSt3__214__split_bufferIN6vision7match_tERNS_9allocatorIS2_EEEC2EmmS5_($__v, $sub$ptr$sub$i$i$i >> 3 >>> 0 < $call$i >>> 1 >>> 0 ? ($mul$i >>> 0 < $add >>> 0 ? $add : $mul$i) : $call$i, (HEAP32[$__end_$i >> 2] | 0) - $3 >> 3, $this + 8 | 0); + $__end_ = $__v + 8 | 0; + $6 = $__x; + $11 = HEAP32[$6 + 4 >> 2] | 0; + $12 = HEAP32[$__end_ >> 2] | 0; + HEAP32[$12 >> 2] = HEAP32[$6 >> 2]; + HEAP32[$12 + 4 >> 2] = $11; + HEAP32[$__end_ >> 2] = (HEAP32[$__end_ >> 2] | 0) + 8; + __ZNSt3__26vectorIN6vision7match_tENS_9allocatorIS2_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS2_RS4_EE($this, $__v); + __ZNSt3__214__split_bufferIN6vision7match_tERNS_9allocatorIS2_EEED2Ev($__v); + STACKTOP = sp; + return; + } +} + +function __ZN6vision14ExtractFREAK84EPhPKNS_25GaussianScaleSpacePyramidERKNS_12FeaturePointEPKfS8_S8_S8_S8_S8_ffffffff($desc, $pyramid, $point, $points_ring0, $points_ring1, $points_ring2, $points_ring3, $points_ring4, $points_ring5, $sigma_center, $sigma_ring0, $sigma_ring1, $sigma_ring2, $sigma_ring3, $sigma_ring4, $sigma_ring5, $expansion_factor) { + $desc = $desc | 0; + $pyramid = $pyramid | 0; + $point = $point | 0; + $points_ring0 = $points_ring0 | 0; + $points_ring1 = $points_ring1 | 0; + $points_ring2 = $points_ring2 | 0; + $points_ring3 = $points_ring3 | 0; + $points_ring4 = $points_ring4 | 0; + $points_ring5 = $points_ring5 | 0; + $sigma_center = +$sigma_center; + $sigma_ring0 = +$sigma_ring0; + $sigma_ring1 = +$sigma_ring1; + $sigma_ring2 = +$sigma_ring2; + $sigma_ring3 = +$sigma_ring3; + $sigma_ring4 = +$sigma_ring4; + $sigma_ring5 = +$sigma_ring5; + $expansion_factor = +$expansion_factor; + var $retval$0 = 0, $samples = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 160 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(160); + $samples = sp; + if (__ZN6vision20SamplePyramidFREAK84EPfPKNS_25GaussianScaleSpacePyramidERKNS_12FeaturePointEPKfS8_S8_S8_S8_S8_ffffffff($samples, $pyramid, $point, $points_ring0, $points_ring1, $points_ring2, $points_ring3, $points_ring4, $points_ring5, $sigma_center, $sigma_ring0, $sigma_ring1, $sigma_ring2, $sigma_ring3, $sigma_ring4, $sigma_ring5, $expansion_factor) | 0) { + __ZN6vision14CompareFREAK84EPhPKf($desc, $samples); + $retval$0 = 1; + } else $retval$0 = 0; STACKTOP = sp; - return; + return $retval$0 | 0; } -function __ZN6vision14VisualDatabaseINS_14FREAKExtractorENS_18BinaryFeatureStoreENS_20BinaryFeatureMatcherILi96EEEE5queryERKNS_5ImageE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $11 = 0, $14 = 0, $16 = 0, $19 = 0, $2 = 0, $21 = 0, $22 = 0, $25 = 0, $3 = 0, $4 = 0, $9 = 0, label = 0, sp = 0; +function __ZNSt3__26vectorI12multi_markerNS_9allocatorIS1_EEE21__push_back_slow_pathIRKS1_EEvOT_($this, $__x) { + $this = $this | 0; + $__x = $__x | 0; + var $11 = 0, $12 = 0, $3 = 0, $6 = 0, $__end_ = 0, $__end_$i = 0, $__v = 0, $add = 0, $call$i = 0, $mul$i = 0, $sub$ptr$sub$i$i$i = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 32 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $2 = sp; - $3 = $0 + 92 | 0; - $4 = __ZN6vision25GaussianScaleSpacePyramid6imagesEv($3) | 0; - if (((HEAP32[$4 + 4 >> 2] | 0) != (HEAP32[$4 >> 2] | 0) ? ($9 = __ZN6vision25GaussianScaleSpacePyramid6imagesEv($3) | 0, $11 = __ZNK6vision5Image5widthEv(HEAP32[$9 >> 2] | 0) | 0, ($11 | 0) == (__ZNK6vision5Image5widthEv($1) | 0)) : 0) ? ($14 = __ZN6vision25GaussianScaleSpacePyramid6imagesEv($3) | 0, $16 = __ZNK6vision5Image6heightEv(HEAP32[$14 >> 2] | 0) | 0, ($16 | 0) == (__ZNK6vision5Image6heightEv($1) | 0)) : 0) {} else { - $19 = __ZNK6vision5Image5widthEv($1) | 0; - $21 = __ZN6vision10numOctavesEiii($19, __ZNK6vision5Image6heightEv($1) | 0, 8) | 0; - $22 = __ZNK6vision5Image5widthEv($1) | 0; - __ZN6vision18BinomialPyramid32f5allocEmmi($3, $22, __ZNK6vision5Image6heightEv($1) | 0, $21); + $__v = sp; + $__end_$i = $this + 4 | 0; + $add = ((HEAP32[$__end_$i >> 2] | 0) - (HEAP32[$this >> 2] | 0) >> 3) + 1 | 0; + $call$i = __ZNKSt3__26vectorI12multi_markerNS_9allocatorIS1_EEE8max_sizeEv($this) | 0; + if ($call$i >>> 0 < $add >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv($this); else { + $3 = HEAP32[$this >> 2] | 0; + $sub$ptr$sub$i$i$i = (HEAP32[$this + 8 >> 2] | 0) - $3 | 0; + $mul$i = $sub$ptr$sub$i$i$i >> 2; + __ZNSt3__214__split_bufferI12multi_markerRNS_9allocatorIS1_EEEC2EmmS4_($__v, $sub$ptr$sub$i$i$i >> 3 >>> 0 < $call$i >>> 1 >>> 0 ? ($mul$i >>> 0 < $add >>> 0 ? $add : $mul$i) : $call$i, (HEAP32[$__end_$i >> 2] | 0) - $3 >> 3, $this + 8 | 0); + $__end_ = $__v + 8 | 0; + $6 = $__x; + $11 = HEAP32[$6 + 4 >> 2] | 0; + $12 = HEAP32[$__end_ >> 2] | 0; + HEAP32[$12 >> 2] = HEAP32[$6 >> 2]; + HEAP32[$12 + 4 >> 2] = $11; + HEAP32[$__end_ >> 2] = (HEAP32[$__end_ >> 2] | 0) + 8; + __ZNSt3__26vectorI12multi_markerNS_9allocatorIS1_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS1_RS3_EE($this, $__v); + __ZNSt3__214__split_bufferI12multi_markerRNS_9allocatorIS1_EEED2Ev($__v); + STACKTOP = sp; + return; } - __ZN6vision11ScopedTimerC2EPKc($2, 33175); - if (__ZN6vision11ScopedTimercvbEv($2) | 0) __ZN6vision18BinomialPyramid32f5buildERKNS_5ImageE($3, $1); - __ZN6vision11ScopedTimerD2Ev($2); - $25 = __ZN6vision14VisualDatabaseINS_14FREAKExtractorENS_18BinaryFeatureStoreENS_20BinaryFeatureMatcherILi96EEEE5queryEPKNS_25GaussianScaleSpacePyramidE($0, $3) | 0; +} + +function _strcspn($s, $c) { + $s = $s | 0; + $c = $c | 0; + var $0 = 0, $2 = 0, $3 = 0, $6 = 0, $7 = 0, $arrayidx8 = 0, $byteset = 0, $c$addr$019 = 0, $conv14 = 0, $conv6 = 0, $incdec$ptr24 = 0, $s$addr$0$lcssa$sink = 0, $s$addr$016 = 0, label = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 32 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); + $byteset = sp; + $0 = HEAP8[$c >> 0] | 0; + L1 : do if ($0 << 24 >> 24 != 0 ? (HEAP8[$c + 1 >> 0] | 0) != 0 : 0) { + _memset($byteset | 0, 0, 32) | 0; + $2 = HEAP8[$c >> 0] | 0; + if ($2 << 24 >> 24) { + $3 = $2; + $c$addr$019 = $c; + do { + $conv6 = $3 & 255; + $arrayidx8 = $byteset + ($conv6 >>> 5 << 2) | 0; + HEAP32[$arrayidx8 >> 2] = HEAP32[$arrayidx8 >> 2] | 1 << ($conv6 & 31); + $c$addr$019 = $c$addr$019 + 1 | 0; + $3 = HEAP8[$c$addr$019 >> 0] | 0; + } while ($3 << 24 >> 24 != 0); + } + $6 = HEAP8[$s >> 0] | 0; + if (!($6 << 24 >> 24)) $s$addr$0$lcssa$sink = $s; else { + $7 = $6; + $s$addr$016 = $s; + while (1) { + $conv14 = $7 & 255; + if (HEAP32[$byteset + ($conv14 >>> 5 << 2) >> 2] & 1 << ($conv14 & 31) | 0) { + $s$addr$0$lcssa$sink = $s$addr$016; + break L1; + } + $incdec$ptr24 = $s$addr$016 + 1 | 0; + $7 = HEAP8[$incdec$ptr24 >> 0] | 0; + if (!($7 << 24 >> 24)) { + $s$addr$0$lcssa$sink = $incdec$ptr24; + break; + } else $s$addr$016 = $incdec$ptr24; + } + } + } else label = 3; while (0); + if ((label | 0) == 3) $s$addr$0$lcssa$sink = ___strchrnul($s, $0 << 24 >> 24) | 0; STACKTOP = sp; - return $25 | 0; + return $s$addr$0$lcssa$sink - $s | 0; } -function ___cxa_demangle($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $$0 = 0, $$023 = 0, $$024 = 0, $12 = 0, $15 = 0, $4 = 0, $5 = 0, $8 = 0, label = 0, sp = 0; +function __ZL18genBWImageOneThirdPhiiPiS0_($image, $xsize, $ysize, $newXsize, $newYsize) { + $image = $image | 0; + $xsize = $xsize | 0; + $ysize = $ysize | 0; + $newXsize = $newXsize | 0; + $newYsize = $newYsize | 0; + var $call = 0, $div = 0, $div1 = 0, $i$0 = 0, $j$0 = 0, $mul4 = 0, $p$0 = 0, $p$1 = 0, $p1$0 = 0, $p2$0 = 0, $p3$0 = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 4496 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(4496); - $4 = sp; - $5 = sp + 4472 | 0; - if (($0 | 0) != 0 ? ($8 = ($2 | 0) == 0, !(($1 | 0) != 0 & $8)) : 0) { - __ZN12_GLOBAL__N_116itanium_demangle14ManglingParserINS_16DefaultAllocatorEECI2NS0_22AbstractManglingParserIS3_S2_EEEPKcS6_($4, $0, $0 + (_strlen($0) | 0) | 0); - __ZN12_GLOBAL__N_112OutputStreamC2Ev($5); - $12 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E5parseEv($4) | 0; - if ($12) if (__ZN12_GLOBAL__N_122initializeOutputStreamEPcPmRNS_12OutputStreamEm($1, $2, $5) | 0) { - __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE($12, $5); - __ZN12_GLOBAL__N_112OutputStreampLEc($5, 0); - if (!$8) { - $15 = __ZNK12_GLOBAL__N_112OutputStream18getCurrentPositionEv($5) | 0; - HEAP32[$2 >> 2] = $15; - } - $$023 = 0; - $$024 = __ZN12_GLOBAL__N_112OutputStream9getBufferEv($5) | 0; - } else { - $$023 = -1; - $$024 = $1; - } else { - $$023 = -2; - $$024 = $1; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $div = ($xsize | 0) / 3 | 0; + HEAP32[$newXsize >> 2] = $div; + $div1 = ($ysize | 0) / 3 | 0; + HEAP32[$newYsize >> 2] = $div1; + $call = _malloc(Math_imul($div1, $div) | 0) | 0; + if (!$call) { + _arLog(0, 3, 46772, sp); + _exit(1); + } + $j$0 = 0; + $p$0 = $call; + while (1) { + if (($j$0 | 0) >= ($div1 | 0)) break; + $mul4 = $j$0 * 3 | 0; + $i$0 = 0; + $p$1 = $p$0; + $p1$0 = $image + (Math_imul($mul4, $xsize) | 0) | 0; + $p2$0 = $image + (Math_imul($mul4 + 1 | 0, $xsize) | 0) | 0; + $p3$0 = $image + (Math_imul($mul4 + 2 | 0, $xsize) | 0) | 0; + while (1) { + if (($i$0 | 0) >= ($div | 0)) break; + HEAP8[$p$1 >> 0] = ((HEAPU8[$p1$0 + 1 >> 0] | 0) + (HEAPU8[$p1$0 >> 0] | 0) + (HEAPU8[$p1$0 + 2 >> 0] | 0) + (HEAPU8[$p2$0 >> 0] | 0) + (HEAPU8[$p2$0 + 1 >> 0] | 0) + (HEAPU8[$p2$0 + 2 >> 0] | 0) + (HEAPU8[$p3$0 >> 0] | 0) + (HEAPU8[$p3$0 + 1 >> 0] | 0) + (HEAPU8[$p3$0 + 2 >> 0] | 0) | 0) / 9 | 0; + $i$0 = $i$0 + 1 | 0; + $p$1 = $p$1 + 1 | 0; + $p1$0 = $p1$0 + 3 | 0; + $p2$0 = $p2$0 + 3 | 0; + $p3$0 = $p3$0 + 3 | 0; } - if ($3 | 0) HEAP32[$3 >> 2] = $$023; - __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_ED2Ev($4); - $$0 = ($$023 | 0) == 0 ? $$024 : 0; - } else if (!$3) $$0 = 0; else { - HEAP32[$3 >> 2] = -3; - $$0 = 0; + $j$0 = $j$0 + 1 | 0; + $p$0 = $p$1; } STACKTOP = sp; - return $$0 | 0; + return $call | 0; } -function __ZNSt3__216__selection_sortIRNS_7greaterINS_4pairIfmEEEENS_11__wrap_iterIPS3_EEEEvT0_S9_T_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$sroa$0$0$copyload$i = 0, $$sroa$0$0$copyload6$i$ph = 0, $$sroa$0$0$ptr$i = 0, $11 = 0.0, $12 = 0.0, $20 = 0, $22 = 0, $23 = 0, $24 = 0, $26 = 0, $3 = 0, $4 = 0, $6 = 0, $8 = 0, $9 = 0; - $3 = HEAP32[$1 >> 2] | 0; - $4 = $3 + -8 | 0; - $6 = HEAP32[$0 >> 2] | 0; - while (1) { - if (($6 | 0) == ($4 | 0)) break; - L4 : do if (($6 | 0) == ($3 | 0)) $$sroa$0$0$copyload$i = $3; else { - $$sroa$0$0$copyload6$i$ph = $6; +function __ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_10shared_ptrIN6vision8KeyframeILi96EEEEEEENS_22__unordered_map_hasherIiS7_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS7_NS_8equal_toIiEELb1EEENS_9allocatorIS7_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS7_PvEEEERKT_($this, $__k) { + $this = $this | 0; + $__k = $__k | 0; + var $$pn = 0, $0 = 0, $1 = 0, $3 = 0, $4 = 0, $__nd$0 = 0, $cond6$i = 0, $cond6$i30 = 0, $retval$sroa$0$0 = 0, $sub$i21 = 0, $tobool$i23 = 0; + $0 = HEAP32[$__k >> 2] | 0; + $1 = HEAP32[$this + 4 >> 2] | 0; + L1 : do if ($1) { + $sub$i21 = $1 + -1 | 0; + $tobool$i23 = ($sub$i21 & $1 | 0) == 0; + if (!$tobool$i23) if ($0 >>> 0 < $1 >>> 0) $cond6$i30 = $0; else $cond6$i30 = ($0 >>> 0) % ($1 >>> 0) | 0; else $cond6$i30 = $sub$i21 & $0; + $3 = HEAP32[(HEAP32[$this >> 2] | 0) + ($cond6$i30 << 2) >> 2] | 0; + if ($3) { + $$pn = $3; while (1) { - $8 = $$sroa$0$0$copyload6$i$ph + 4 | 0; - $$sroa$0$0$ptr$i = $$sroa$0$0$copyload6$i$ph; - while (1) { - $9 = $$sroa$0$0$ptr$i + 8 | 0; - if (($9 | 0) == ($3 | 0)) { - $$sroa$0$0$copyload$i = $$sroa$0$0$copyload6$i$ph; - break L4; + $__nd$0 = HEAP32[$$pn >> 2] | 0; + if (!$__nd$0) { + $retval$sroa$0$0 = 0; + break L1; + } + $4 = HEAP32[$__nd$0 + 4 >> 2] | 0; + if (($4 | 0) == ($0 | 0)) { + if ((HEAP32[$__nd$0 + 8 >> 2] | 0) == ($0 | 0)) { + $retval$sroa$0$0 = $__nd$0; + break L1; + } + } else { + if (!$tobool$i23) if ($4 >>> 0 < $1 >>> 0) $cond6$i = $4; else $cond6$i = ($4 >>> 0) % ($1 >>> 0) | 0; else $cond6$i = $4 & $sub$i21; + if (($cond6$i | 0) != ($cond6$i30 | 0)) { + $retval$sroa$0$0 = 0; + break L1; } - $11 = +HEAPF32[$$sroa$0$0$copyload6$i$ph >> 2]; - $12 = +HEAPF32[$9 >> 2]; - if ($11 < $12) break; - if (!($12 < $11) ? (HEAP32[$8 >> 2] | 0) >>> 0 < (HEAP32[$$sroa$0$0$ptr$i + 12 >> 2] | 0) >>> 0 : 0) break; - $$sroa$0$0$ptr$i = $9; } - $$sroa$0$0$copyload6$i$ph = $9; + $$pn = $__nd$0; } - } while (0); - if (($$sroa$0$0$copyload$i | 0) != ($6 | 0)) { - $20 = HEAP32[$6 >> 2] | 0; - HEAP32[$6 >> 2] = HEAP32[$$sroa$0$0$copyload$i >> 2]; - HEAP32[$$sroa$0$0$copyload$i >> 2] = $20; - $22 = $6 + 4 | 0; - $23 = $$sroa$0$0$copyload$i + 4 | 0; - $24 = HEAP32[$22 >> 2] | 0; - HEAP32[$22 >> 2] = HEAP32[$23 >> 2]; - HEAP32[$23 >> 2] = $24; - } - $26 = $6 + 8 | 0; - HEAP32[$0 >> 2] = $26; - $6 = $26; - } - return; + } else $retval$sroa$0$0 = 0; + } else $retval$sroa$0$0 = 0; while (0); + return $retval$sroa$0$0 | 0; } -function __ZNK12_GLOBAL__N_116itanium_demangle19PointerToMemberType9printLeftERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$byval_copy2 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, label = 0, sp = 0; +function __ZNK12_GLOBAL__N_116itanium_demangle15BracedRangeExpr9printLeftERNS_12OutputStreamE($this, $S) { + $this = $this | 0; + $S = $S | 0; + var $2 = 0, $3 = 0, $Init = 0, $agg$tmp = 0, $agg$tmp9 = 0, $agg$tmp9$byval_copy = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 32 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $$byval_copy2 = sp + 24 | 0; - $2 = sp + 16 | 0; - $3 = sp + 8 | 0; - $4 = sp; - $5 = $0 + 12 | 0; - $6 = HEAP32[$5 >> 2] | 0; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$6 >> 2] | 0) + 16 >> 2] & 255]($6, $1); - if (!(__ZNK12_GLOBAL__N_116itanium_demangle4Node8hasArrayERNS_12OutputStreamE(HEAP32[$5 >> 2] | 0, $1) | 0) ? !(__ZNK12_GLOBAL__N_116itanium_demangle4Node11hasFunctionERNS_12OutputStreamE(HEAP32[$5 >> 2] | 0, $1) | 0) : 0) { - __ZN12_GLOBAL__N_110StringViewC2EPKc($3, 51966); - HEAP32[$$byval_copy2 >> 2] = HEAP32[$3 >> 2]; - HEAP32[$$byval_copy2 + 4 >> 2] = HEAP32[$3 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy2); - } else { - __ZN12_GLOBAL__N_110StringViewC2EPKc($2, 51968); - HEAP32[$$byval_copy2 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy2 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy2); - } - __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(HEAP32[$0 + 8 >> 2] | 0, $1); - __ZN12_GLOBAL__N_110StringViewC2EPKc($4, 55865); - HEAP32[$$byval_copy2 >> 2] = HEAP32[$4 >> 2]; - HEAP32[$$byval_copy2 + 4 >> 2] = HEAP32[$4 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy2); - STACKTOP = sp; - return; -} - -function __ZNSt3__26vectorI12multi_markerNS_9allocatorIS1_EEE21__push_back_slow_pathIRKS1_EEvOT_($this, $__x) { + $agg$tmp9$byval_copy = sp + 16 | 0; + $agg$tmp = sp + 8 | 0; + $agg$tmp9 = sp; + __ZN12_GLOBAL__N_112OutputStreampLEc($S, 91); + __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(HEAP32[$this + 8 >> 2] | 0, $S); + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, 54240); + HEAP32[$agg$tmp9$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp9$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp9$byval_copy); + __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(HEAP32[$this + 12 >> 2] | 0, $S); + __ZN12_GLOBAL__N_112OutputStreampLEc($S, 93); + $Init = $this + 16 | 0; + $2 = HEAP32[$Init >> 2] | 0; + if (((__ZNK12_GLOBAL__N_116itanium_demangle4Node7getKindEv($2) | 0) + -65 & 255) < 2) $3 = $2; else { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp9, 54246); + HEAP32[$agg$tmp9$byval_copy >> 2] = HEAP32[$agg$tmp9 >> 2]; + HEAP32[$agg$tmp9$byval_copy + 4 >> 2] = HEAP32[$agg$tmp9 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp9$byval_copy); + $3 = HEAP32[$Init >> 2] | 0; + } + __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE($3, $S); + STACKTOP = sp; + return; +} + +function __ZNSt3__26vectorINS_4pairIfmEENS_9allocatorIS2_EEE21__push_back_slow_pathIS2_EEvOT_($this, $__x) { $this = $this | 0; $__x = $__x | 0; var $11 = 0, $12 = 0, $3 = 0, $6 = 0, $__end_ = 0, $__end_$i = 0, $__v = 0, $add = 0, $call$i = 0, $mul$i = 0, $sub$ptr$sub$i$i$i = 0, sp = 0; @@ -78625,12 +81777,12 @@ function __ZNSt3__26vectorI12multi_markerNS_9allocatorIS1_EEE21__push_back_slow_ $__v = sp; $__end_$i = $this + 4 | 0; $add = ((HEAP32[$__end_$i >> 2] | 0) - (HEAP32[$this >> 2] | 0) >> 3) + 1 | 0; - $call$i = __ZNKSt3__26vectorI12multi_markerNS_9allocatorIS1_EEE8max_sizeEv($this) | 0; + $call$i = __ZNKSt3__26vectorINS_4pairIfmEENS_9allocatorIS2_EEE8max_sizeEv($this) | 0; if ($call$i >>> 0 < $add >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv($this); else { $3 = HEAP32[$this >> 2] | 0; $sub$ptr$sub$i$i$i = (HEAP32[$this + 8 >> 2] | 0) - $3 | 0; $mul$i = $sub$ptr$sub$i$i$i >> 2; - __ZNSt3__214__split_bufferI12multi_markerRNS_9allocatorIS1_EEEC2EmmS4_($__v, $sub$ptr$sub$i$i$i >> 3 >>> 0 < $call$i >>> 1 >>> 0 ? ($mul$i >>> 0 < $add >>> 0 ? $add : $mul$i) : $call$i, (HEAP32[$__end_$i >> 2] | 0) - $3 >> 3, $this + 8 | 0); + __ZNSt3__214__split_bufferINS_4pairIfmEERNS_9allocatorIS2_EEEC2EmmS5_($__v, $sub$ptr$sub$i$i$i >> 3 >>> 0 < $call$i >>> 1 >>> 0 ? ($mul$i >>> 0 < $add >>> 0 ? $add : $mul$i) : $call$i, (HEAP32[$__end_$i >> 2] | 0) - $3 >> 3, $this + 8 | 0); $__end_ = $__v + 8 | 0; $6 = $__x; $11 = HEAP32[$6 + 4 >> 2] | 0; @@ -78638,355 +81790,359 @@ function __ZNSt3__26vectorI12multi_markerNS_9allocatorIS1_EEE21__push_back_slow_ HEAP32[$12 >> 2] = HEAP32[$6 >> 2]; HEAP32[$12 + 4 >> 2] = $11; HEAP32[$__end_ >> 2] = (HEAP32[$__end_ >> 2] | 0) + 8; - __ZNSt3__26vectorI12multi_markerNS_9allocatorIS1_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS1_RS3_EE($this, $__v); - __ZNSt3__214__split_bufferI12multi_markerRNS_9allocatorIS1_EEED2Ev($__v); + __ZNSt3__26vectorINS_4pairIfmEENS_9allocatorIS2_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS2_RS4_EE($this, $__v); + __ZNSt3__214__split_bufferINS_4pairIfmEERNS_9allocatorIS2_EEED2Ev($__v); STACKTOP = sp; return; } } -function _color_quantize($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $$04147$us$us101 = 0, $$04252$us$us91 = 0, $$04356 = 0, $$04356$us74 = 0, $$04451$us$us92 = 0, $$04550$us$us93 = 0, $$048$us$us100 = 0, $$146$us$us102 = 0, $11 = 0, $7 = 0, $9 = 0; - $7 = HEAP32[(HEAP32[$0 + 484 >> 2] | 0) + 24 >> 2] | 0; - $9 = HEAP32[$0 + 112 >> 2] | 0; - $11 = HEAP32[$0 + 120 >> 2] | 0; - if (($3 | 0) < 1 | ($9 | 0) == 0) return; - if (($11 | 0) <= 0) { - $$04356 = 0; - do { - _memset(HEAP32[$2 + ($$04356 << 2) >> 2] | 0, 0, $9 | 0) | 0; - $$04356 = $$04356 + 1 | 0; - } while (($$04356 | 0) != ($3 | 0)); - return; - } - $$04356$us74 = 0; - do { - $$04252$us$us91 = $9; - $$04451$us$us92 = HEAP32[$2 + ($$04356$us74 << 2) >> 2] | 0; - $$04550$us$us93 = HEAP32[$1 + ($$04356$us74 << 2) >> 2] | 0; +function _jpeg_finish_decompress($cinfo) { + $cinfo = $cinfo | 0; + var $0 = 0, $11 = 0, $16 = 0, $4 = 0, $8 = 0, $global_state = 0, $inputctl = 0, $retval$0 = 0, label = 0; + $global_state = $cinfo + 20 | 0; + $0 = HEAP32[$global_state >> 2] | 0; + if (($0 + -205 | 0) >>> 0 < 2 ? (HEAP32[$cinfo + 64 >> 2] | 0) == 0 : 0) { + if ((HEAP32[$cinfo + 140 >> 2] | 0) >>> 0 < (HEAP32[$cinfo + 116 >> 2] | 0) >>> 0) { + $4 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$4 + 20 >> 2] = 69; + FUNCTION_TABLE_vi[HEAP32[$4 >> 2] & 255]($cinfo); + } + FUNCTION_TABLE_vi[HEAP32[(HEAP32[$cinfo + 444 >> 2] | 0) + 4 >> 2] & 255]($cinfo); + HEAP32[$global_state >> 2] = 210; + } else label = 6; + L7 : do if ((label | 0) == 6) switch ($0 | 0) { + case 210: + { + break L7; + break; + } + case 207: + { + HEAP32[$global_state >> 2] = 210; + break L7; + break; + } + default: + { + $8 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$8 + 20 >> 2] = 21; + HEAP32[$8 + 24 >> 2] = $0; + FUNCTION_TABLE_vi[HEAP32[HEAP32[$cinfo >> 2] >> 2] & 255]($cinfo); + break L7; + } + } while (0); + $inputctl = $cinfo + 460 | 0; + $11 = HEAP32[$inputctl >> 2] | 0; + L13 : do if (!(HEAP32[$11 + 20 >> 2] | 0)) { + $16 = $11; while (1) { - $$04147$us$us101 = 0; - $$048$us$us100 = 0; - $$146$us$us102 = $$04550$us$us93; - while (1) { - $$048$us$us100 = $$048$us$us100 + (HEAPU8[(HEAP32[$7 + ($$04147$us$us101 << 2) >> 2] | 0) + (HEAPU8[$$146$us$us102 >> 0] | 0) >> 0] | 0) | 0; - $$04147$us$us101 = $$04147$us$us101 + 1 | 0; - if (($$04147$us$us101 | 0) == ($11 | 0)) break; else $$146$us$us102 = $$146$us$us102 + 1 | 0; - } - HEAP8[$$04451$us$us92 >> 0] = $$048$us$us100; - $$04252$us$us91 = $$04252$us$us91 + -1 | 0; - if (!$$04252$us$us91) break; else { - $$04451$us$us92 = $$04451$us$us92 + 1 | 0; - $$04550$us$us93 = $$04550$us$us93 + $11 | 0; + if (!(FUNCTION_TABLE_ii[HEAP32[$16 >> 2] & 127]($cinfo) | 0)) { + $retval$0 = 0; + break; } + $16 = HEAP32[$inputctl >> 2] | 0; + if (HEAP32[$16 + 20 >> 2] | 0) break L13; } - $$04356$us74 = $$04356$us74 + 1 | 0; - } while (($$04356$us74 | 0) != ($3 | 0)); - return; + return $retval$0 | 0; + } while (0); + FUNCTION_TABLE_vi[HEAP32[(HEAP32[$cinfo + 24 >> 2] | 0) + 24 >> 2] & 255]($cinfo); + _jpeg_abort($cinfo); + $retval$0 = 1; + return $retval$0 | 0; } -function _post_process_prepass($0, $1, $2, $3, $4, $5, $6) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - $6 = $6 | 0; - var $$phi$trans$insert = 0, $$pre$phi40Z2D = 0, $$pre$phiZ2D = 0, $10 = 0, $20 = 0, $22 = 0, $23 = 0, $29 = 0, $30 = 0, $32 = 0, $33 = 0, $42 = 0, $44 = 0, $45 = 0, $8 = 0, $9 = 0; - $8 = HEAP32[$0 + 456 >> 2] | 0; - $9 = $8 + 24 | 0; - $10 = HEAP32[$9 >> 2] | 0; - if (!$10) { - $20 = $8 + 16 | 0; - $22 = FUNCTION_TABLE_iiiiii[HEAP32[(HEAP32[$0 + 4 >> 2] | 0) + 28 >> 2] & 31]($0, HEAP32[$8 + 8 >> 2] | 0, HEAP32[$8 + 20 >> 2] | 0, HEAP32[$20 >> 2] | 0, 1) | 0; - $23 = $8 + 12 | 0; - HEAP32[$23 >> 2] = $22; - $$pre$phi40Z2D = $20; - $$pre$phiZ2D = $23; - $29 = $22; - $32 = HEAP32[$9 >> 2] | 0; - } else { - $$phi$trans$insert = $8 + 12 | 0; - $$pre$phi40Z2D = $8 + 16 | 0; - $$pre$phiZ2D = $$phi$trans$insert; - $29 = HEAP32[$$phi$trans$insert >> 2] | 0; - $32 = $10; - } - FUNCTION_TABLE_viiiiiii[HEAP32[(HEAP32[$0 + 476 >> 2] | 0) + 4 >> 2] & 7]($0, $1, $2, $3, $29, $9, HEAP32[$$pre$phi40Z2D >> 2] | 0); - $30 = HEAP32[$9 >> 2] | 0; - if ($30 >>> 0 > $32 >>> 0) { - $33 = $30 - $32 | 0; - FUNCTION_TABLE_viiii[HEAP32[(HEAP32[$0 + 484 >> 2] | 0) + 4 >> 2] & 31]($0, (HEAP32[$$pre$phiZ2D >> 2] | 0) + ($32 << 2) | 0, 0, $33); - HEAP32[$5 >> 2] = (HEAP32[$5 >> 2] | 0) + $33; - $44 = HEAP32[$9 >> 2] | 0; - } else $44 = $30; - $42 = HEAP32[$$pre$phi40Z2D >> 2] | 0; - if ($44 >>> 0 < $42 >>> 0) return; - $45 = $8 + 20 | 0; - HEAP32[$45 >> 2] = (HEAP32[$45 >> 2] | 0) + $42; - HEAP32[$9 >> 2] = 0; - return; -} - -function __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE21__grow_by_and_replaceEmmmmmmPKc($0, $1, $2, $3, $4, $5, $6, $7) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - $6 = $6 | 0; - $7 = $7 | 0; - var $$sroa$speculated = 0, $16 = 0, $17 = 0, $22 = 0, $23 = 0, $25 = 0, $28 = 0, $29 = 0, $35 = 0, $39 = 0, $8 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $8 = sp; - if ((-18 - $1 | 0) >>> 0 < $2 >>> 0) __ZNKSt3__221__basic_string_commonILb1EE20__throw_length_errorEv($0); - if ((HEAP8[$0 + 11 >> 0] | 0) < 0) $25 = HEAP32[$0 >> 2] | 0; else $25 = $0; - if ($1 >>> 0 < 2147483623) { - $16 = $2 + $1 | 0; - $17 = $1 << 1; - $$sroa$speculated = $16 >>> 0 < $17 >>> 0 ? $17 : $16; - $22 = $$sroa$speculated >>> 0 < 11 ? 11 : $$sroa$speculated + 16 & -16; - } else $22 = -17; - $23 = __Znwm($22) | 0; - if ($4 | 0) __ZNSt3__211char_traitsIcE4copyEPcPKcm($23, $25, $4) | 0; - if ($6 | 0) __ZNSt3__211char_traitsIcE4copyEPcPKcm($23 + $4 | 0, $7, $6) | 0; - $28 = $3 - $5 | 0; - $29 = $28 - $4 | 0; - if ($29 | 0) __ZNSt3__211char_traitsIcE4copyEPcPKcm($23 + $4 + $6 | 0, $25 + $4 + $5 | 0, $29) | 0; - $35 = $1 + 1 | 0; - if (($35 | 0) != 11) __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($25, $35); - HEAP32[$0 >> 2] = $23; - HEAP32[$0 + 8 >> 2] = $22 | -2147483648; - $39 = $28 + $6 | 0; - HEAP32[$0 + 4 >> 2] = $39; - HEAP8[$8 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc($23 + $39 | 0, $8); - STACKTOP = sp; - return; -} - -function __ZNK6vision10DoGPyramid15octaveFromIndexEi($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $14 = 0, $19 = 0, $2 = 0, $23 = 0, $25 = 0, $33 = 0, $5 = 0, sp = 0; +function __ZNK12_GLOBAL__N_116itanium_demangle9NodeArray14printWithCommaERNS_12OutputStreamE($this, $S) { + $this = $this | 0; + $S = $S | 0; + var $FirstElement$0$off0 = 0, $FirstElement$1$off0 = 0, $Idx$0 = 0, $NumElements = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, $call = 0, $call3 = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $2 = sp; - $5 = HEAP32[$0 >> 2] | 0; - if ((HEAP32[$0 + 4 >> 2] | 0) - $5 >> 5 >>> 0 > $1 >>> 0) { - $25 = __ZNK6vision5Image5widthEv($5) | 0; - $33 = ~~+__ZN6vision5roundIfEET_S1_(+__ZN6vision4log2IfEET_S1_(+((($25 >>> 0) / ((__ZNK6vision5Image5widthEv((HEAP32[$0 >> 2] | 0) + ($1 << 5) | 0) | 0) >>> 0) | 0) >>> 0))); - STACKTOP = sp; - return $33 | 0; - } else { - $14 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 31021) | 0, 28600) | 0, 39072) | 0, 94) | 0, 39079) | 0, 31067) | 0; - __ZNKSt3__28ios_base6getlocEv($2, $14 + (HEAP32[(HEAP32[$14 >> 2] | 0) + -12 >> 2] | 0) | 0); - $19 = __ZNKSt3__26locale9use_facetERNS0_2idE($2, 66512) | 0; - $23 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$19 >> 2] | 0) + 28 >> 2] & 127]($19, 10) | 0; - __ZNSt3__26localeD2Ev($2); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($14, $23) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($14) | 0; - _abort(); + $agg$tmp$byval_copy = sp + 8 | 0; + $agg$tmp = sp; + $NumElements = $this + 4 | 0; + $FirstElement$0$off0 = 1; + $Idx$0 = 0; + while (1) { + if (($Idx$0 | 0) == (HEAP32[$NumElements >> 2] | 0)) break; + $call = __ZNK12_GLOBAL__N_112OutputStream18getCurrentPositionEv($S) | 0; + if (!$FirstElement$0$off0) { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, 52994); + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp$byval_copy); + } + $call3 = __ZNK12_GLOBAL__N_112OutputStream18getCurrentPositionEv($S) | 0; + __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(HEAP32[(HEAP32[$this >> 2] | 0) + ($Idx$0 << 2) >> 2] | 0, $S); + if (($call3 | 0) == (__ZNK12_GLOBAL__N_112OutputStream18getCurrentPositionEv($S) | 0)) { + __ZN12_GLOBAL__N_112OutputStream18setCurrentPositionEm($S, $call); + $FirstElement$1$off0 = $FirstElement$0$off0; + } else $FirstElement$1$off0 = 0; + $FirstElement$0$off0 = $FirstElement$1$off0; + $Idx$0 = $Idx$0 + 1 | 0; } - return 0; + STACKTOP = sp; + return; } -function __ZNK12_GLOBAL__N_116itanium_demangle10VectorType9printLeftERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$byval_copy2 = 0, $2 = 0, $3 = 0, $4 = 0, $7 = 0, sp = 0; +function __ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_6vectorIiNS_9allocatorIiEEEEEENS_22__unordered_map_hasherIiS6_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS6_NS_8equal_toIiEELb1EEENS3_IS6_EEE6rehashEm($this, $__n) { + $this = $this | 0; + $__n = $__n | 0; + var $$sroa$speculated = 0, $0 = 0, $__n$addr$0 = 0, $cond = 0, $conv14 = 0, $shl$i = 0; + if (($__n | 0) != 1) if (!($__n + -1 & $__n)) $__n$addr$0 = $__n; else $__n$addr$0 = __ZNSt3__212__next_primeEm($__n) | 0; else $__n$addr$0 = 2; + $0 = HEAP32[$this + 4 >> 2] | 0; + if ($__n$addr$0 >>> 0 <= $0 >>> 0) { + if ($__n$addr$0 >>> 0 < $0 >>> 0) { + $conv14 = ~~+Math_ceil(+(+((HEAP32[$this + 12 >> 2] | 0) >>> 0) / +HEAPF32[$this + 16 >> 2])) >>> 0; + if ($0 >>> 0 > 2 & ($0 + -1 & $0 | 0) == 0) { + $shl$i = 1 << 32 - (Math_clz32($conv14 + -1 | 0) | 0); + $cond = $conv14 >>> 0 < 2 ? $conv14 : $shl$i; + } else $cond = __ZNSt3__212__next_primeEm($conv14) | 0; + $$sroa$speculated = $__n$addr$0 >>> 0 < $cond >>> 0 ? $cond : $__n$addr$0; + if ($$sroa$speculated >>> 0 < $0 >>> 0) __ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_6vectorIiNS_9allocatorIiEEEEEENS_22__unordered_map_hasherIiS6_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS6_NS_8equal_toIiEELb1EEENS3_IS6_EEE8__rehashEm($this, $$sroa$speculated); + } + } else __ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_6vectorIiNS_9allocatorIiEEEEEENS_22__unordered_map_hasherIiS6_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS6_NS_8equal_toIiEELb1EEENS3_IS6_EEE8__rehashEm($this, $__n$addr$0); + return; +} + +function __ZNSt3__26vectorIiNS_9allocatorIiEEE8__appendEm($this, $__n) { + $this = $this | 0; + $__n = $__n | 0; + var $1 = 0, $4 = 0, $__end_ = 0, $__v = 0, $__value_$i$i$i = 0, $add = 0, $call$i = 0, $mul$i = 0, $sub$ptr$sub$i$i$i = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 32 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $$byval_copy2 = sp + 24 | 0; - $2 = sp + 16 | 0; - $3 = sp + 8 | 0; - $4 = sp; - __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(HEAP32[$0 + 8 >> 2] | 0, $1); - __ZN12_GLOBAL__N_110StringViewC2EPKc($2, 55975); - HEAP32[$$byval_copy2 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy2 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy2); - $7 = $0 + 12 | 0; - if (!(__ZNK12_GLOBAL__N_116itanium_demangle12NodeOrString6isNodeEv($7) | 0)) { - if (__ZNK12_GLOBAL__N_116itanium_demangle12NodeOrString8isStringEv($7) | 0) { - __ZNK12_GLOBAL__N_116itanium_demangle12NodeOrString8asStringEv($3, $7); - HEAP32[$$byval_copy2 >> 2] = HEAP32[$3 >> 2]; - HEAP32[$$byval_copy2 + 4 >> 2] = HEAP32[$3 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy2); - } - } else __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(__ZNK12_GLOBAL__N_116itanium_demangle12NodeOrString6asNodeEv($7) | 0, $1); - __ZN12_GLOBAL__N_110StringViewC2EPKc($4, 51614); - HEAP32[$$byval_copy2 >> 2] = HEAP32[$4 >> 2]; - HEAP32[$$byval_copy2 + 4 >> 2] = HEAP32[$4 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy2); - STACKTOP = sp; - return; -} - -function _strspn($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $$01924 = 0, $$020 = 0, $$1$lcssa = 0, $$121 = 0, $14 = 0, $15 = 0, $19 = 0, $2 = 0, $25 = 0, $27 = 0, $28 = 0, $3 = 0, $36 = 0, sp = 0; + $__v = sp; + $__value_$i$i$i = $this + 8 | 0; + $__end_ = $this + 4 | 0; + $1 = HEAP32[$__end_ >> 2] | 0; + do if ((HEAP32[$__value_$i$i$i >> 2] | 0) - $1 >> 2 >>> 0 < $__n >>> 0) { + $add = ($1 - (HEAP32[$this >> 2] | 0) >> 2) + $__n | 0; + $call$i = __ZNKSt3__26vectorIiNS_9allocatorIiEEE8max_sizeEv($this) | 0; + if ($call$i >>> 0 < $add >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv($this); else { + $4 = HEAP32[$this >> 2] | 0; + $sub$ptr$sub$i$i$i = (HEAP32[$__value_$i$i$i >> 2] | 0) - $4 | 0; + $mul$i = $sub$ptr$sub$i$i$i >> 1; + __ZNSt3__214__split_bufferIiRNS_9allocatorIiEEEC2EmmS3_($__v, $sub$ptr$sub$i$i$i >> 2 >>> 0 < $call$i >>> 1 >>> 0 ? ($mul$i >>> 0 < $add >>> 0 ? $add : $mul$i) : $call$i, (HEAP32[$__end_ >> 2] | 0) - $4 >> 2, $this + 8 | 0); + __ZNSt3__214__split_bufferIiRNS_9allocatorIiEEE18__construct_at_endEm($__v, $__n); + __ZNSt3__26vectorIiNS_9allocatorIiEEE26__swap_out_circular_bufferERNS_14__split_bufferIiRS2_EE($this, $__v); + __ZNSt3__214__split_bufferIiRNS_9allocatorIiEEED2Ev($__v); + break; + } + } else __ZNSt3__26vectorIiNS_9allocatorIiEEE18__construct_at_endEm($this, $__n); while (0); + STACKTOP = sp; + return; +} + +function __ZNSt3__26vectorIfNS_9allocatorIfEEE8__appendEm($this, $__n) { + $this = $this | 0; + $__n = $__n | 0; + var $1 = 0, $4 = 0, $__end_ = 0, $__v = 0, $__value_$i$i$i = 0, $add = 0, $call$i = 0, $mul$i = 0, $sub$ptr$sub$i$i$i = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 32 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $2 = sp; - HEAP32[$2 >> 2] = 0; - HEAP32[$2 + 4 >> 2] = 0; - HEAP32[$2 + 8 >> 2] = 0; - HEAP32[$2 + 12 >> 2] = 0; - HEAP32[$2 + 16 >> 2] = 0; - HEAP32[$2 + 20 >> 2] = 0; - HEAP32[$2 + 24 >> 2] = 0; - HEAP32[$2 + 28 >> 2] = 0; - $3 = HEAP8[$1 >> 0] | 0; - do if (!($3 << 24 >> 24)) $$0 = 0; else { - if (!(HEAP8[$1 + 1 >> 0] | 0)) { - $$020 = $0; - while (1) if ((HEAP8[$$020 >> 0] | 0) == $3 << 24 >> 24) $$020 = $$020 + 1 | 0; else break; - $$0 = $$020 - $0 | 0; + $__v = sp; + $__value_$i$i$i = $this + 8 | 0; + $__end_ = $this + 4 | 0; + $1 = HEAP32[$__end_ >> 2] | 0; + do if ((HEAP32[$__value_$i$i$i >> 2] | 0) - $1 >> 2 >>> 0 < $__n >>> 0) { + $add = ($1 - (HEAP32[$this >> 2] | 0) >> 2) + $__n | 0; + $call$i = __ZNKSt3__26vectorIfNS_9allocatorIfEEE8max_sizeEv($this) | 0; + if ($call$i >>> 0 < $add >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv($this); else { + $4 = HEAP32[$this >> 2] | 0; + $sub$ptr$sub$i$i$i = (HEAP32[$__value_$i$i$i >> 2] | 0) - $4 | 0; + $mul$i = $sub$ptr$sub$i$i$i >> 1; + __ZNSt3__214__split_bufferIfRNS_9allocatorIfEEEC2EmmS3_($__v, $sub$ptr$sub$i$i$i >> 2 >>> 0 < $call$i >>> 1 >>> 0 ? ($mul$i >>> 0 < $add >>> 0 ? $add : $mul$i) : $call$i, (HEAP32[$__end_ >> 2] | 0) - $4 >> 2, $this + 8 | 0); + __ZNSt3__214__split_bufferIfRNS_9allocatorIfEEE18__construct_at_endEm($__v, $__n); + __ZNSt3__26vectorIfNS_9allocatorIfEEE26__swap_out_circular_bufferERNS_14__split_bufferIfRS2_EE($this, $__v); + __ZNSt3__214__split_bufferIfRNS_9allocatorIfEEED2Ev($__v); break; } - $$01924 = $1; - $15 = $3; - do { - $14 = $15 & 255; - $19 = $2 + ($14 >>> 5 << 2) | 0; - HEAP32[$19 >> 2] = HEAP32[$19 >> 2] | 1 << ($14 & 31); - $$01924 = $$01924 + 1 | 0; - $15 = HEAP8[$$01924 >> 0] | 0; - } while ($15 << 24 >> 24 != 0); - $25 = HEAP8[$0 >> 0] | 0; - L12 : do if (!($25 << 24 >> 24)) $$1$lcssa = $0; else { - $$121 = $0; - $28 = $25; - while (1) { - $27 = $28 & 255; - if (!(HEAP32[$2 + ($27 >>> 5 << 2) >> 2] & 1 << ($27 & 31))) { - $$1$lcssa = $$121; - break L12; - } - $36 = $$121 + 1 | 0; - $28 = HEAP8[$36 >> 0] | 0; - if (!($28 << 24 >> 24)) { - $$1$lcssa = $36; - break; - } else $$121 = $36; - } - } while (0); - $$0 = $$1$lcssa - $0 | 0; - } while (0); + } else __ZNSt3__26vectorIfNS_9allocatorIfEEE18__construct_at_endEm($this, $__n); while (0); STACKTOP = sp; - return $$0 | 0; + return; } -function __ZNK12_GLOBAL__N_116itanium_demangle15ClosureTypeName9printLeftERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$byval_copy2 = 0, $12 = 0, $13 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $7 = 0, sp = 0; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E24parsePointerToMemberTypeEv($this) { + $this = $this | 0; + var $ClassType = 0, $MemberType = 0, $call2 = 0, $call3 = 0, $call7 = 0, $retval$0 = 0, $retval$1 = 0, $retval$2 = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 48 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); - $$byval_copy2 = sp + 32 | 0; - $2 = sp + 24 | 0; - $3 = sp; - $4 = sp + 16 | 0; - $5 = sp + 8 | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($2, 55250); - HEAP32[$$byval_copy2 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy2 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy2); - $7 = $0 + 16 | 0; - $12 = HEAP32[$7 + 4 >> 2] | 0; - $13 = $3; - HEAP32[$13 >> 2] = HEAP32[$7 >> 2]; - HEAP32[$13 + 4 >> 2] = $12; - HEAP32[$$byval_copy2 >> 2] = HEAP32[$3 >> 2]; - HEAP32[$$byval_copy2 + 4 >> 2] = HEAP32[$3 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy2); - __ZN12_GLOBAL__N_110StringViewC2EPKc($4, 55258); - HEAP32[$$byval_copy2 >> 2] = HEAP32[$4 >> 2]; - HEAP32[$$byval_copy2 + 4 >> 2] = HEAP32[$4 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy2); - __ZNK12_GLOBAL__N_116itanium_demangle9NodeArray14printWithCommaERNS_12OutputStreamE($0 + 8 | 0, $1); - __ZN12_GLOBAL__N_110StringViewC2EPKc($5, 51964); - HEAP32[$$byval_copy2 >> 2] = HEAP32[$5 >> 2]; - HEAP32[$$byval_copy2 + 4 >> 2] = HEAP32[$5 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy2); - STACKTOP = sp; - return; -} - -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E13parseDecltypeEv($0) { - $0 = $0 | 0; - var $$0 = 0, $$1 = 0, $1 = 0, $6 = 0, sp = 0; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $ClassType = sp + 4 | 0; + $MemberType = sp; + if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($this, 77) | 0) { + $call2 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0; + $call3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseTypeEv($call2) | 0; + HEAP32[$ClassType >> 2] = $call3; + if (!$call3) $retval$1 = 0; else { + $call7 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseTypeEv($call2) | 0; + HEAP32[$MemberType >> 2] = $call7; + if (!$call7) $retval$0 = 0; else $retval$0 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_19PointerToMemberTypeEJRPNS0_4NodeESA_EEES9_DpOT0_($this, $ClassType, $MemberType) | 0; + $retval$1 = $retval$0; + } + $retval$2 = $retval$1; + } else $retval$2 = 0; + STACKTOP = sp; + return $retval$2 | 0; +} + +function __ZNK6vision5Image3getIfEEPKT_m($this, $row) { + $this = $this | 0; + $row = $row | 0; + var $add$ptr = 0, $call$i1$i$i = 0, $call$i2$i$i = 0, $call6 = 0, $ref$tmp$i$i = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $1 = sp; - do if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($0, 68) | 0) { - if (!(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($0, 116) | 0) ? !(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($0, 84) | 0) : 0) { - $$1 = 0; - break; - } - $6 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseExprEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0) | 0; - HEAP32[$1 >> 2] = $6; - if (($6 | 0) != 0 ? __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($0, 69) | 0 : 0) $$0 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_13EnclosingExprEJRA10_KcRPNS0_4NodeERA2_S8_EEESC_DpOT0_($0, 56097, $1) | 0; else $$0 = 0; - $$1 = $$0; - } else $$1 = 0; while (0); - STACKTOP = sp; - return $$1 | 0; + $ref$tmp$i$i = sp; + if ((HEAP32[$this + 8 >> 2] | 0) >>> 0 > $row >>> 0) { + $add$ptr = (HEAP32[$this + 24 >> 2] | 0) + (Math_imul(HEAP32[$this + 12 >> 2] | 0, $row) | 0) | 0; + STACKTOP = sp; + return $add$ptr | 0; + } else { + $call6 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 27814) | 0, 27851) | 0, 39794) | 0, 124) | 0, 39801) | 0, 27959) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i$i, $call6 + (HEAP32[(HEAP32[$call6 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i$i = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i$i, 67360) | 0; + $call$i2$i$i = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i$i >> 2] | 0) + 28 >> 2] & 127]($call$i1$i$i, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i$i); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call6, $call$i2$i$i) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call6) | 0; + _abort(); + } + return 0; } -function __ZNSt3__26vectorIPNS_6locale5facetENS_15__sso_allocatorIS3_Lm28EEEE8__appendEm($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $13 = 0, $14 = 0, $18 = 0, $19 = 0, $2 = 0, $23 = 0, $3 = 0, $5 = 0, $6 = 0, sp = 0; +function __ZNK12_GLOBAL__N_116itanium_demangle8QualType10printQualsERNS_12OutputStreamE($this, $S) { + $this = $this | 0; + $S = $S | 0; + var $0 = 0, $1 = 0, $2 = 0, $Quals = 0, $agg$tmp = 0, $agg$tmp13 = 0, $agg$tmp13$byval_copy = 0, $agg$tmp6 = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 32 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $2 = sp; - $3 = $0 + 8 | 0; - $5 = $0 + 4 | 0; - $6 = HEAP32[$5 >> 2] | 0; - do if ((HEAP32[$3 >> 2] | 0) - $6 >> 2 >>> 0 < $1 >>> 0) { - $13 = ($6 - (HEAP32[$0 >> 2] | 0) >> 2) + $1 | 0; - $14 = __ZNKSt3__26vectorIPNS_6locale5facetENS_15__sso_allocatorIS3_Lm28EEEE8max_sizeEv($0) | 0; - if ($14 >>> 0 < $13 >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv($0); else { - $18 = HEAP32[$0 >> 2] | 0; - $19 = (HEAP32[$3 >> 2] | 0) - $18 | 0; - $23 = $19 >> 1; - __ZNSt3__214__split_bufferIPNS_6locale5facetERNS_15__sso_allocatorIS3_Lm28EEEEC2EmmS6_($2, $19 >> 2 >>> 0 < $14 >>> 1 >>> 0 ? ($23 >>> 0 < $13 >>> 0 ? $13 : $23) : $14, (HEAP32[$5 >> 2] | 0) - $18 >> 2, $0 + 16 | 0); - __ZNSt3__214__split_bufferIPNS_6locale5facetERNS_15__sso_allocatorIS3_Lm28EEEE18__construct_at_endEm($2, $1); - __ZNSt3__26vectorIPNS_6locale5facetENS_15__sso_allocatorIS3_Lm28EEEE26__swap_out_circular_bufferERNS_14__split_bufferIS3_RS5_EE($0, $2); - __ZNSt3__214__split_bufferIPNS_6locale5facetERNS_15__sso_allocatorIS3_Lm28EEEED2Ev($2); - break; - } - } else __ZNSt3__26vectorIPNS_6locale5facetENS_15__sso_allocatorIS3_Lm28EEEE18__construct_at_endEm($0, $1); while (0); + $agg$tmp13$byval_copy = sp + 24 | 0; + $agg$tmp = sp + 16 | 0; + $agg$tmp6 = sp + 8 | 0; + $agg$tmp13 = sp; + $Quals = $this + 8 | 0; + $0 = HEAP32[$Quals >> 2] | 0; + if (!($0 & 1)) $1 = $0; else { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, 56978); + HEAP32[$agg$tmp13$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp13$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp13$byval_copy); + $1 = HEAP32[$Quals >> 2] | 0; + } + if (!($1 & 2)) $2 = $1; else { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp6, 56985); + HEAP32[$agg$tmp13$byval_copy >> 2] = HEAP32[$agg$tmp6 >> 2]; + HEAP32[$agg$tmp13$byval_copy + 4 >> 2] = HEAP32[$agg$tmp6 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp13$byval_copy); + $2 = HEAP32[$Quals >> 2] | 0; + } + if ($2 & 4 | 0) { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp13, 56995); + HEAP32[$agg$tmp13$byval_copy >> 2] = HEAP32[$agg$tmp13 >> 2]; + HEAP32[$agg$tmp13$byval_copy + 4 >> 2] = HEAP32[$agg$tmp13 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp13$byval_copy); + } STACKTOP = sp; return; } + +function __ZN6vision5Image3getIfEEPT_m($this, $row) { + $this = $this | 0; + $row = $row | 0; + var $add$ptr = 0, $call$i1$i$i = 0, $call$i2$i$i = 0, $call6 = 0, $ref$tmp$i$i = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $ref$tmp$i$i = sp; + if ((HEAP32[$this + 8 >> 2] | 0) >>> 0 > $row >>> 0) { + $add$ptr = (HEAP32[$this + 24 >> 2] | 0) + (Math_imul(HEAP32[$this + 12 >> 2] | 0, $row) | 0) | 0; + STACKTOP = sp; + return $add$ptr | 0; + } else { + $call6 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 27814) | 0, 27851) | 0, 39794) | 0, 119) | 0, 39801) | 0, 27959) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i$i, $call6 + (HEAP32[(HEAP32[$call6 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i$i = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i$i, 67360) | 0; + $call$i2$i$i = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i$i >> 2] | 0) + 28 >> 2] & 127]($call$i1$i$i, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i$i); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call6, $call$i2$i$i) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call6) | 0; + _abort(); + } + return 0; +} + +function ___fwritex($s, $l, $f) { + $s = $s | 0; + $l = $l | 0; + $f = $f | 0; + var $0 = 0, $2 = 0, $3 = 0, $4 = 0, $9 = 0, $call16 = 0, $i$033 = 0, $i$1 = 0, $l$addr$1 = 0, $retval$1 = 0, $s$addr$1 = 0, $sub = 0, $wend = 0, $wpos = 0, label = 0; + $wend = $f + 16 | 0; + $0 = HEAP32[$wend >> 2] | 0; + if (!$0) if (!(___towrite($f) | 0)) { + $3 = HEAP32[$wend >> 2] | 0; + label = 5; + } else $retval$1 = 0; else { + $3 = $0; + label = 5; + } + L5 : do if ((label | 0) == 5) { + $wpos = $f + 20 | 0; + $2 = HEAP32[$wpos >> 2] | 0; + $4 = $2; + if (($3 - $2 | 0) >>> 0 < $l >>> 0) { + $retval$1 = FUNCTION_TABLE_iiii[HEAP32[$f + 36 >> 2] & 63]($f, $s, $l) | 0; + break; + } + L10 : do if ((HEAP8[$f + 75 >> 0] | 0) < 0 | ($l | 0) == 0) { + $9 = $4; + $i$1 = 0; + $l$addr$1 = $l; + $s$addr$1 = $s; + } else { + $i$033 = $l; + while (1) { + $sub = $i$033 + -1 | 0; + if ((HEAP8[$s + $sub >> 0] | 0) == 10) break; + if (!$sub) { + $9 = $4; + $i$1 = 0; + $l$addr$1 = $l; + $s$addr$1 = $s; + break L10; + } else $i$033 = $sub; + } + $call16 = FUNCTION_TABLE_iiii[HEAP32[$f + 36 >> 2] & 63]($f, $s, $i$033) | 0; + if ($call16 >>> 0 < $i$033 >>> 0) { + $retval$1 = $call16; + break L5; + } + $9 = HEAP32[$wpos >> 2] | 0; + $i$1 = $i$033; + $l$addr$1 = $l - $i$033 | 0; + $s$addr$1 = $s + $i$033 | 0; + } while (0); + _memcpy($9 | 0, $s$addr$1 | 0, $l$addr$1 | 0) | 0; + HEAP32[$wpos >> 2] = (HEAP32[$wpos >> 2] | 0) + $l$addr$1; + $retval$1 = $i$1 + $l$addr$1 | 0; + } while (0); + return $retval$1 | 0; +} + function __ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_($this, $__k) { $this = $this | 0; $__k = $__k | 0; - var $$pn = 0, $0 = 0, $1 = 0, $3 = 0, $4 = 0, $__nd$0 = 0, $cond3$i = 0, $cond3$i29 = 0, $retval$sroa$0$0 = 0, $sub$i23 = 0, $tobool$i25 = 0; + var $$pn = 0, $0 = 0, $1 = 0, $3 = 0, $4 = 0, $__nd$0 = 0, $cond6$i = 0, $cond6$i30 = 0, $retval$sroa$0$0 = 0, $sub$i21 = 0, $tobool$i23 = 0; $0 = HEAP32[$__k >> 2] | 0; $1 = HEAP32[$this + 4 >> 2] | 0; L1 : do if ($1) { - $sub$i23 = $1 + -1 | 0; - $tobool$i25 = ($sub$i23 & $1 | 0) == 0; - if (!$tobool$i25) if ($0 >>> 0 < $1 >>> 0) $cond3$i29 = $0; else $cond3$i29 = ($0 >>> 0) % ($1 >>> 0) | 0; else $cond3$i29 = $sub$i23 & $0; - $3 = HEAP32[(HEAP32[$this >> 2] | 0) + ($cond3$i29 << 2) >> 2] | 0; + $sub$i21 = $1 + -1 | 0; + $tobool$i23 = ($sub$i21 & $1 | 0) == 0; + if (!$tobool$i23) if ($0 >>> 0 < $1 >>> 0) $cond6$i30 = $0; else $cond6$i30 = ($0 >>> 0) % ($1 >>> 0) | 0; else $cond6$i30 = $sub$i21 & $0; + $3 = HEAP32[(HEAP32[$this >> 2] | 0) + ($cond6$i30 << 2) >> 2] | 0; if ($3) { $$pn = $3; while (1) { @@ -79002,8 +82158,8 @@ function __ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22_ break L1; } } else { - if (!$tobool$i25) if ($4 >>> 0 < $1 >>> 0) $cond3$i = $4; else $cond3$i = ($4 >>> 0) % ($1 >>> 0) | 0; else $cond3$i = $4 & $sub$i23; - if (($cond3$i | 0) != ($cond3$i29 | 0)) { + if (!$tobool$i23) if ($4 >>> 0 < $1 >>> 0) $cond6$i = $4; else $cond6$i = ($4 >>> 0) % ($1 >>> 0) | 0; else $cond6$i = $4 & $sub$i21; + if (($cond6$i | 0) != ($cond6$i30 | 0)) { $retval$sroa$0$0 = 0; break L1; } @@ -79015,109 +82171,120 @@ function __ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22_ return $retval$sroa$0$0 | 0; } -function __ZNSt3__26vectorIN6vision12FeaturePointENS_9allocatorIS2_EEE21__push_back_slow_pathIS2_EEvOT_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $14 = 0, $16 = 0, $19 = 0, $2 = 0, $24 = 0, $25 = 0, $3 = 0, $8 = 0, $9 = 0, sp = 0; +function _arGetTransMatRobust($handle, $initConv, $pos2d, $pos3d, $num, $conv) { + $handle = $handle | 0; + $initConv = $initConv | 0; + $pos2d = $pos2d | 0; + $pos3d = $pos3d | 0; + $num = $num | 0; + $conv = $conv | 0; + var $call = 0, $call3 = 0, $data = 0, $err = 0, $i$0 = 0, $worldCoord = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 32 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $2 = sp; - $3 = $0 + 4 | 0; - $8 = (((HEAP32[$3 >> 2] | 0) - (HEAP32[$0 >> 2] | 0) | 0) / 20 | 0) + 1 | 0; - $9 = __ZNKSt3__26vectorIN6vision12FeaturePointENS_9allocatorIS2_EEE8max_sizeEv($0) | 0; - if ($9 >>> 0 < $8 >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv($0); else { - $14 = HEAP32[$0 >> 2] | 0; - $16 = ((HEAP32[$0 + 8 >> 2] | 0) - $14 | 0) / 20 | 0; - $19 = $16 << 1; - __ZNSt3__214__split_bufferIN6vision12FeaturePointERNS_9allocatorIS2_EEEC2EmmS5_($2, $16 >>> 0 < $9 >>> 1 >>> 0 ? ($19 >>> 0 < $8 >>> 0 ? $8 : $19) : $9, ((HEAP32[$3 >> 2] | 0) - $14 | 0) / 20 | 0, $0 + 8 | 0); - $24 = $2 + 8 | 0; - $25 = HEAP32[$24 >> 2] | 0; - HEAP32[$25 >> 2] = HEAP32[$1 >> 2]; - HEAP32[$25 + 4 >> 2] = HEAP32[$1 + 4 >> 2]; - HEAP32[$25 + 8 >> 2] = HEAP32[$1 + 8 >> 2]; - HEAP32[$25 + 12 >> 2] = HEAP32[$1 + 12 >> 2]; - HEAP32[$25 + 16 >> 2] = HEAP32[$1 + 16 >> 2]; - HEAP32[$24 >> 2] = (HEAP32[$24 >> 2] | 0) + 20; - __ZNSt3__26vectorIN6vision12FeaturePointENS_9allocatorIS2_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS2_RS4_EE($0, $2); - __ZNSt3__214__split_bufferIN6vision12FeaturePointERNS_9allocatorIS2_EEED2Ev($2); - STACKTOP = sp; - return; + $data = sp + 20 | 0; + $err = sp; + $call = _malloc($num << 4) | 0; + HEAP32[$data >> 2] = $call; + if (!$call) { + _arLog(0, 3, 46772, sp + 8 | 0); + _exit(1); + } + $call3 = _malloc($num * 24 | 0) | 0; + $worldCoord = $data + 4 | 0; + HEAP32[$worldCoord >> 2] = $call3; + if (!$call3) { + _arLog(0, 3, 46772, sp + 16 | 0); + _exit(1); + } + $i$0 = 0; + while (1) { + if (($i$0 | 0) >= ($num | 0)) break; + HEAPF64[$call + ($i$0 << 4) >> 3] = +HEAPF64[$pos2d + ($i$0 << 4) >> 3]; + HEAPF64[$call + ($i$0 << 4) + 8 >> 3] = +HEAPF64[$pos2d + ($i$0 << 4) + 8 >> 3]; + HEAPF64[$call3 + ($i$0 * 24 | 0) >> 3] = +HEAPF64[$pos3d + ($i$0 * 24 | 0) >> 3]; + HEAPF64[$call3 + ($i$0 * 24 | 0) + 8 >> 3] = +HEAPF64[$pos3d + ($i$0 * 24 | 0) + 8 >> 3]; + HEAPF64[$call3 + ($i$0 * 24 | 0) + 16 >> 3] = +HEAPF64[$pos3d + ($i$0 * 24 | 0) + 16 >> 3]; + $i$0 = $i$0 + 1 | 0; } + HEAP32[$data + 8 >> 2] = $num; + if ((_icpPointRobust(HEAP32[$handle >> 2] | 0, $data, $initConv, $conv, $err) | 0) < 0) HEAPF64[$err >> 3] = 1.0e8; + _free(HEAP32[$data >> 2] | 0); + _free(HEAP32[$worldCoord >> 2] | 0); + STACKTOP = sp; + return +(+HEAPF64[$err >> 3]); } -function __ZNSt3__227__num_get_unsigned_integralIyEET_PKcS3_Rji($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $$029 = 0, $10 = 0, $11 = 0, $12 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $19 = 0, $23 = 0, $24 = 0, $27 = 0, $28 = 0, $29 = 0, $30 = 0, $4 = 0, $7 = 0, $8 = 0, sp = 0; +function __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE11do_get_dateES4_S4_RNS_8ios_baseERjP2tm($this, $__b, $__e, $__iob, $__err, $__tm) { + $this = $this | 0; + $__b = $__b | 0; + $__e = $__e | 0; + $__iob = $__iob | 0; + $__err = $__err | 0; + $__tm = $__tm | 0; + var $4 = 0, $add$ptr = 0, $add$ptr6 = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, $agg$tmp2 = 0, $agg$tmp2$byval_copy = 0, $call = 0, $call7 = 0, $cond$i$i1016 = 0, $tobool$i$i$i = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $4 = sp; - do if (($0 | 0) == ($1 | 0)) { - HEAP32[$2 >> 2] = 4; - $27 = 0; - $28 = 0; - } else { - $7 = (HEAP8[$0 >> 0] | 0) == 45; - if ($7) { - $8 = $0 + 1 | 0; - if (($8 | 0) == ($1 | 0)) { - HEAP32[$2 >> 2] = 4; - $27 = 0; - $28 = 0; - break; - } else $$029 = $8; - } else $$029 = $0; - $10 = ___errno_location() | 0; - $11 = HEAP32[$10 >> 2] | 0; - $12 = ___errno_location() | 0; - HEAP32[$12 >> 2] = 0; - $14 = _strtoull_l($$029, $4, $3, __ZNSt3__26__clocEv() | 0) | 0; - $15 = getTempRet0() | 0; - $16 = ___errno_location() | 0; - $17 = HEAP32[$16 >> 2] | 0; - if (!$17) { - $19 = ___errno_location() | 0; - HEAP32[$19 >> 2] = $11; - } - do if ((HEAP32[$4 >> 2] | 0) == ($1 | 0)) if (($17 | 0) == 68) { - HEAP32[$2 >> 2] = 4; - $29 = -1; - $30 = -1; - break; - } else { - $23 = _i64Subtract(0, 0, $14 | 0, $15 | 0) | 0; - $24 = getTempRet0() | 0; - $29 = $7 ? $23 : $14; - $30 = $7 ? $24 : $15; + $agg$tmp2$byval_copy = sp + 12 | 0; + $agg$tmp$byval_copy = sp + 8 | 0; + $agg$tmp = sp + 4 | 0; + $agg$tmp2 = sp; + $add$ptr = $this + 8 | 0; + $call = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$add$ptr >> 2] | 0) + 20 >> 2] & 127]($add$ptr) | 0; + HEAP32[$agg$tmp >> 2] = HEAP32[$__b >> 2]; + HEAP32[$agg$tmp2 >> 2] = HEAP32[$__e >> 2]; + $4 = HEAP8[$call + 8 + 3 >> 0] | 0; + $tobool$i$i$i = $4 << 24 >> 24 < 0; + $cond$i$i1016 = $tobool$i$i$i ? HEAP32[$call >> 2] | 0 : $call; + $add$ptr6 = $cond$i$i1016 + (($tobool$i$i$i ? HEAP32[$call + 4 >> 2] | 0 : $4 & 255) << 2) | 0; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp2$byval_copy >> 2] = HEAP32[$agg$tmp2 >> 2]; + $call7 = __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE3getES4_S4_RNS_8ios_baseERjP2tmPKwSC_($this, $agg$tmp$byval_copy, $agg$tmp2$byval_copy, $__iob, $__err, $__tm, $cond$i$i1016, $add$ptr6) | 0; + STACKTOP = sp; + return $call7 | 0; +} + +function __ZNSt3__26vectorIhNS_9allocatorIhEEE8__appendEm($this, $__n) { + $this = $this | 0; + $__n = $__n | 0; + var $1 = 0, $4 = 0, $__end_ = 0, $__v = 0, $__value_$i$i$i = 0, $add = 0, $call$i = 0, $mul$i = 0, $sub$ptr$sub$i$i$i = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 32 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); + $__v = sp; + $__value_$i$i$i = $this + 8 | 0; + $__end_ = $this + 4 | 0; + $1 = HEAP32[$__end_ >> 2] | 0; + do if (((HEAP32[$__value_$i$i$i >> 2] | 0) - $1 | 0) >>> 0 < $__n >>> 0) { + $add = $1 - (HEAP32[$this >> 2] | 0) + $__n | 0; + $call$i = __ZNKSt3__26vectorIhNS_9allocatorIhEEE8max_sizeEv($this) | 0; + if ($call$i >>> 0 < $add >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv($this); else { + $4 = HEAP32[$this >> 2] | 0; + $sub$ptr$sub$i$i$i = (HEAP32[$__value_$i$i$i >> 2] | 0) - $4 | 0; + $mul$i = $sub$ptr$sub$i$i$i << 1; + __ZNSt3__214__split_bufferIhRNS_9allocatorIhEEEC2EmmS3_($__v, $sub$ptr$sub$i$i$i >>> 0 < $call$i >>> 1 >>> 0 ? ($mul$i >>> 0 < $add >>> 0 ? $add : $mul$i) : $call$i, (HEAP32[$__end_ >> 2] | 0) - $4 | 0, $this + 8 | 0); + __ZNSt3__214__split_bufferIhRNS_9allocatorIhEEE18__construct_at_endEm($__v, $__n); + __ZNSt3__26vectorIhNS_9allocatorIhEEE26__swap_out_circular_bufferERNS_14__split_bufferIhRS2_EE($this, $__v); + __ZNSt3__214__split_bufferIhRNS_9allocatorIhEEED2Ev($__v); break; - } else { - HEAP32[$2 >> 2] = 4; - $29 = 0; - $30 = 0; - } while (0); - $27 = $30; - $28 = $29; - } while (0); - setTempRet0($27 | 0); + } + } else __ZNSt3__26vectorIhNS_9allocatorIhEEE18__construct_at_endEm($this, $__n); while (0); STACKTOP = sp; - return $28 | 0; + return; } function __ZNSt3__212__hash_tableINS_17__hash_value_typeIi7ARParamEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_($this, $__k) { $this = $this | 0; $__k = $__k | 0; - var $$pn = 0, $0 = 0, $1 = 0, $3 = 0, $4 = 0, $__nd$0 = 0, $cond3$i = 0, $cond3$i29 = 0, $retval$sroa$0$0 = 0, $sub$i23 = 0, $tobool$i25 = 0; + var $$pn = 0, $0 = 0, $1 = 0, $3 = 0, $4 = 0, $__nd$0 = 0, $cond6$i = 0, $cond6$i30 = 0, $retval$sroa$0$0 = 0, $sub$i21 = 0, $tobool$i23 = 0; $0 = HEAP32[$__k >> 2] | 0; $1 = HEAP32[$this + 4 >> 2] | 0; L1 : do if ($1) { - $sub$i23 = $1 + -1 | 0; - $tobool$i25 = ($sub$i23 & $1 | 0) == 0; - if (!$tobool$i25) if ($0 >>> 0 < $1 >>> 0) $cond3$i29 = $0; else $cond3$i29 = ($0 >>> 0) % ($1 >>> 0) | 0; else $cond3$i29 = $sub$i23 & $0; - $3 = HEAP32[(HEAP32[$this >> 2] | 0) + ($cond3$i29 << 2) >> 2] | 0; + $sub$i21 = $1 + -1 | 0; + $tobool$i23 = ($sub$i21 & $1 | 0) == 0; + if (!$tobool$i23) if ($0 >>> 0 < $1 >>> 0) $cond6$i30 = $0; else $cond6$i30 = ($0 >>> 0) % ($1 >>> 0) | 0; else $cond6$i30 = $sub$i21 & $0; + $3 = HEAP32[(HEAP32[$this >> 2] | 0) + ($cond6$i30 << 2) >> 2] | 0; if ($3) { $$pn = $3; while (1) { @@ -79133,8 +82300,8 @@ function __ZNSt3__212__hash_tableINS_17__hash_value_typeIi7ARParamEENS_22__unord break L1; } } else { - if (!$tobool$i25) if ($4 >>> 0 < $1 >>> 0) $cond3$i = $4; else $cond3$i = ($4 >>> 0) % ($1 >>> 0) | 0; else $cond3$i = $4 & $sub$i23; - if (($cond3$i | 0) != ($cond3$i29 | 0)) { + if (!$tobool$i23) if ($4 >>> 0 < $1 >>> 0) $cond6$i = $4; else $cond6$i = ($4 >>> 0) % ($1 >>> 0) | 0; else $cond6$i = $4 & $sub$i21; + if (($cond6$i | 0) != ($cond6$i30 | 0)) { $retval$sroa$0$0 = 0; break L1; } @@ -79146,209 +82313,384 @@ function __ZNSt3__212__hash_tableINS_17__hash_value_typeIi7ARParamEENS_22__unord return $retval$sroa$0$0 | 0; } -function _merged_2v_upsample($0, $1, $2, $3, $4, $5, $6) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - $6 = $6 | 0; - var $$1 = 0, $$pre34 = 0, $10 = 0, $22 = 0, $23 = 0, $25 = 0, $26 = 0, $7 = 0, $9 = 0, $phitmp = 0, $spec$select = 0, sp = 0; +function __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9__grow_byEmmmmmm($this, $__old_cap, $__delta_cap, $__old_sz, $__n_copy, $__n_del, $__n_add) { + $this = $this | 0; + $__old_cap = $__old_cap | 0; + $__delta_cap = $__delta_cap | 0; + $__old_sz = $__old_sz | 0; + $__n_copy = $__n_copy | 0; + $__n_del = $__n_del | 0; + $__n_add = $__n_add | 0; + var $$sroa$speculated = 0, $add = 0, $add33 = 0, $call$i$i$i = 0, $cond$i = 0, $cond30 = 0, $mul = 0, $sub23 = 0; + if ((-17 - $__old_cap | 0) >>> 0 < $__delta_cap >>> 0) __ZNKSt3__221__basic_string_commonILb1EE20__throw_length_errorEv($this); + if ((HEAP8[$this + 11 >> 0] | 0) < 0) $cond$i = HEAP32[$this >> 2] | 0; else $cond$i = $this; + if ($__old_cap >>> 0 < 2147483623) { + $add = $__delta_cap + $__old_cap | 0; + $mul = $__old_cap << 1; + $$sroa$speculated = $add >>> 0 < $mul >>> 0 ? $mul : $add; + $cond30 = $$sroa$speculated >>> 0 < 11 ? 11 : $$sroa$speculated + 16 & -16; + } else $cond30 = -17; + $call$i$i$i = __Znwm($cond30) | 0; + if ($__n_copy | 0) __ZNSt3__211char_traitsIcE4copyEPcPKcm($call$i$i$i, $cond$i, $__n_copy) | 0; + $sub23 = $__old_sz - $__n_del - $__n_copy | 0; + if ($sub23 | 0) __ZNSt3__211char_traitsIcE4copyEPcPKcm($call$i$i$i + $__n_copy + $__n_add | 0, $cond$i + $__n_copy + $__n_del | 0, $sub23) | 0; + $add33 = $__old_cap + 1 | 0; + if (($add33 | 0) != 11) __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($cond$i, $add33); + HEAP32[$this >> 2] = $call$i$i$i; + HEAP32[$this + 8 >> 2] = $cond30 | -2147483648; + return; +} + +function __ZNSt3__212__hash_tableINS_17__hash_value_typeIjjEENS_22__unordered_map_hasherIjS2_NS_4hashIjEELb1EEENS_21__unordered_map_equalIjS2_NS_8equal_toIjEELb1EEENS_9allocatorIS2_EEE4findIjEENS_15__hash_iteratorIPNS_11__hash_nodeIS2_PvEEEERKT_($this, $__k) { + $this = $this | 0; + $__k = $__k | 0; + var $$pn = 0, $0 = 0, $1 = 0, $3 = 0, $4 = 0, $__nd$0 = 0, $cond6$i = 0, $cond6$i30 = 0, $retval$sroa$0$0 = 0, $sub$i21 = 0, $tobool$i23 = 0; + $0 = HEAP32[$__k >> 2] | 0; + $1 = HEAP32[$this + 4 >> 2] | 0; + L1 : do if ($1) { + $sub$i21 = $1 + -1 | 0; + $tobool$i23 = ($sub$i21 & $1 | 0) == 0; + if (!$tobool$i23) if ($0 >>> 0 < $1 >>> 0) $cond6$i30 = $0; else $cond6$i30 = ($0 >>> 0) % ($1 >>> 0) | 0; else $cond6$i30 = $sub$i21 & $0; + $3 = HEAP32[(HEAP32[$this >> 2] | 0) + ($cond6$i30 << 2) >> 2] | 0; + if ($3) { + $$pn = $3; + while (1) { + $__nd$0 = HEAP32[$$pn >> 2] | 0; + if (!$__nd$0) { + $retval$sroa$0$0 = 0; + break L1; + } + $4 = HEAP32[$__nd$0 + 4 >> 2] | 0; + if (($4 | 0) == ($0 | 0)) { + if ((HEAP32[$__nd$0 + 8 >> 2] | 0) == ($0 | 0)) { + $retval$sroa$0$0 = $__nd$0; + break L1; + } + } else { + if (!$tobool$i23) if ($4 >>> 0 < $1 >>> 0) $cond6$i = $4; else $cond6$i = ($4 >>> 0) % ($1 >>> 0) | 0; else $cond6$i = $4 & $sub$i21; + if (($cond6$i | 0) != ($cond6$i30 | 0)) { + $retval$sroa$0$0 = 0; + break L1; + } + } + $$pn = $__nd$0; + } + } else $retval$sroa$0$0 = 0; + } else $retval$sroa$0$0 = 0; while (0); + return $retval$sroa$0$0 | 0; +} + +function __ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE6rehashEm($this, $__n) { + $this = $this | 0; + $__n = $__n | 0; + var $$sroa$speculated = 0, $0 = 0, $__n$addr$0 = 0, $cond = 0, $conv14 = 0, $shl$i = 0; + if (($__n | 0) != 1) if (!($__n + -1 & $__n)) $__n$addr$0 = $__n; else $__n$addr$0 = __ZNSt3__212__next_primeEm($__n) | 0; else $__n$addr$0 = 2; + $0 = HEAP32[$this + 4 >> 2] | 0; + if ($__n$addr$0 >>> 0 <= $0 >>> 0) { + if ($__n$addr$0 >>> 0 < $0 >>> 0) { + $conv14 = ~~+Math_ceil(+(+((HEAP32[$this + 12 >> 2] | 0) >>> 0) / +HEAPF32[$this + 16 >> 2])) >>> 0; + if ($0 >>> 0 > 2 & ($0 + -1 & $0 | 0) == 0) { + $shl$i = 1 << 32 - (Math_clz32($conv14 + -1 | 0) | 0); + $cond = $conv14 >>> 0 < 2 ? $conv14 : $shl$i; + } else $cond = __ZNSt3__212__next_primeEm($conv14) | 0; + $$sroa$speculated = $__n$addr$0 >>> 0 < $cond >>> 0 ? $cond : $__n$addr$0; + if ($$sroa$speculated >>> 0 < $0 >>> 0) __ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE8__rehashEm($this, $$sroa$speculated); + } + } else __ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE8__rehashEm($this, $__n$addr$0); + return; +} + +function __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE11do_get_dateES4_S4_RNS_8ios_baseERjP2tm($this, $__b, $__e, $__iob, $__err, $__tm) { + $this = $this | 0; + $__b = $__b | 0; + $__e = $__e | 0; + $__iob = $__iob | 0; + $__err = $__err | 0; + $__tm = $__tm | 0; + var $3 = 0, $add$ptr = 0, $add$ptr6 = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, $agg$tmp2 = 0, $agg$tmp2$byval_copy = 0, $call = 0, $call7 = 0, $cond$i$i1117 = 0, $tobool$i$i$i = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $7 = sp; - $9 = HEAP32[$0 + 476 >> 2] | 0; - $10 = $9 + 36 | 0; - if (!(HEAP32[$10 >> 2] | 0)) { - $22 = $9 + 44 | 0; - $23 = HEAP32[$22 >> 2] | 0; - $spec$select = $23 >>> 0 < 2 ? $23 : 2; - $25 = HEAP32[$5 >> 2] | 0; - $26 = $6 - $25 | 0; - $$1 = $spec$select >>> 0 > $26 >>> 0 ? $26 : $spec$select; - HEAP32[$7 >> 2] = HEAP32[$4 + ($25 << 2) >> 2]; - if ($$1 >>> 0 > 1) HEAP32[$7 + 4 >> 2] = HEAP32[$4 + ($25 + 1 << 2) >> 2]; else { - HEAP32[$7 + 4 >> 2] = HEAP32[$9 + 32 >> 2]; - HEAP32[$10 >> 2] = 1; - } - FUNCTION_TABLE_viiii[HEAP32[$9 + 12 >> 2] & 31]($0, $1, HEAP32[$2 >> 2] | 0, $7); - $phitmp = (HEAP32[$10 >> 2] | 0) == 0; - HEAP32[$5 >> 2] = (HEAP32[$5 >> 2] | 0) + $$1; - HEAP32[$22 >> 2] = (HEAP32[$22 >> 2] | 0) - $$1; - if (!$phitmp) { - STACKTOP = sp; - return; - } + $agg$tmp2$byval_copy = sp + 12 | 0; + $agg$tmp$byval_copy = sp + 8 | 0; + $agg$tmp = sp + 4 | 0; + $agg$tmp2 = sp; + $add$ptr = $this + 8 | 0; + $call = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$add$ptr >> 2] | 0) + 20 >> 2] & 127]($add$ptr) | 0; + HEAP32[$agg$tmp >> 2] = HEAP32[$__b >> 2]; + HEAP32[$agg$tmp2 >> 2] = HEAP32[$__e >> 2]; + $3 = HEAP8[$call + 11 >> 0] | 0; + $tobool$i$i$i = $3 << 24 >> 24 < 0; + $cond$i$i1117 = $tobool$i$i$i ? HEAP32[$call >> 2] | 0 : $call; + $add$ptr6 = $cond$i$i1117 + ($tobool$i$i$i ? HEAP32[$call + 4 >> 2] | 0 : $3 & 255) | 0; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp2$byval_copy >> 2] = HEAP32[$agg$tmp2 >> 2]; + $call7 = __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE3getES4_S4_RNS_8ios_baseERjP2tmPKcSC_($this, $agg$tmp$byval_copy, $agg$tmp2$byval_copy, $__iob, $__err, $__tm, $cond$i$i1117, $add$ptr6) | 0; + STACKTOP = sp; + return $call7 | 0; +} + +function _arGetTransMat($handle, $initConv, $pos2d, $pos3d, $num, $conv) { + $handle = $handle | 0; + $initConv = $initConv | 0; + $pos2d = $pos2d | 0; + $pos3d = $pos3d | 0; + $num = $num | 0; + $conv = $conv | 0; + var $call = 0, $call3 = 0, $data = 0, $err = 0, $i$0 = 0, $worldCoord = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 32 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); + $data = sp + 20 | 0; + $err = sp; + $call = _malloc($num << 4) | 0; + HEAP32[$data >> 2] = $call; + if (!$call) { + _arLog(0, 3, 46772, sp + 8 | 0); + _exit(1); + } + $call3 = _malloc($num * 24 | 0) | 0; + $worldCoord = $data + 4 | 0; + HEAP32[$worldCoord >> 2] = $call3; + if (!$call3) { + _arLog(0, 3, 46772, sp + 16 | 0); + _exit(1); + } + $i$0 = 0; + while (1) { + if (($i$0 | 0) >= ($num | 0)) break; + HEAPF64[$call + ($i$0 << 4) >> 3] = +HEAPF64[$pos2d + ($i$0 << 4) >> 3]; + HEAPF64[$call + ($i$0 << 4) + 8 >> 3] = +HEAPF64[$pos2d + ($i$0 << 4) + 8 >> 3]; + HEAPF64[$call3 + ($i$0 * 24 | 0) >> 3] = +HEAPF64[$pos3d + ($i$0 * 24 | 0) >> 3]; + HEAPF64[$call3 + ($i$0 * 24 | 0) + 8 >> 3] = +HEAPF64[$pos3d + ($i$0 * 24 | 0) + 8 >> 3]; + HEAPF64[$call3 + ($i$0 * 24 | 0) + 16 >> 3] = +HEAPF64[$pos3d + ($i$0 * 24 | 0) + 16 >> 3]; + $i$0 = $i$0 + 1 | 0; + } + HEAP32[$data + 8 >> 2] = $num; + if ((_icpPoint(HEAP32[$handle >> 2] | 0, $data, $initConv, $conv, $err) | 0) < 0) HEAPF64[$err >> 3] = 1.0e8; + _free(HEAP32[$data >> 2] | 0); + _free(HEAP32[$worldCoord >> 2] | 0); + STACKTOP = sp; + return +(+HEAPF64[$err >> 3]); +} + +function __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initIPKcEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESA_SA_($this, $__first, $__last) { + $this = $this | 0; + $__first = $__first | 0; + $__last = $__last | 0; + var $1 = 0, $__first$addr$0 = 0, $__p$0 = 0, $__p$1 = 0, $and$i$i = 0, $call$i$i$i = 0, $ref$tmp = 0, $sub$ptr$rhs$cast$i$i = 0, $sub$ptr$sub$i$i = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $sub$ptr$rhs$cast$i$i = $__first; + $ref$tmp = sp; + $sub$ptr$sub$i$i = $__last - $sub$ptr$rhs$cast$i$i | 0; + if ($sub$ptr$sub$i$i >>> 0 > 4294967279) __ZNKSt3__221__basic_string_commonILb1EE20__throw_length_errorEv($this); + if ($sub$ptr$sub$i$i >>> 0 < 11) { + HEAP8[$this + 11 >> 0] = $sub$ptr$sub$i$i; + $__p$0 = $this; } else { - _jcopy_sample_rows($9 + 32 | 0, 0, $4 + (HEAP32[$5 >> 2] << 2) | 0, 0, 1, HEAP32[$9 + 40 >> 2] | 0); - HEAP32[$10 >> 2] = 0; - $$pre34 = $9 + 44 | 0; - HEAP32[$5 >> 2] = (HEAP32[$5 >> 2] | 0) + 1; - HEAP32[$$pre34 >> 2] = (HEAP32[$$pre34 >> 2] | 0) + -1; + $and$i$i = $sub$ptr$sub$i$i + 16 & -16; + $call$i$i$i = __Znwm($and$i$i) | 0; + HEAP32[$this >> 2] = $call$i$i$i; + HEAP32[$this + 8 >> 2] = $and$i$i | -2147483648; + HEAP32[$this + 4 >> 2] = $sub$ptr$sub$i$i; + $__p$0 = $call$i$i$i; } - HEAP32[$2 >> 2] = (HEAP32[$2 >> 2] | 0) + 1; + $1 = $__last - $sub$ptr$rhs$cast$i$i | 0; + $__first$addr$0 = $__first; + $__p$1 = $__p$0; + while (1) { + if (($__first$addr$0 | 0) == ($__last | 0)) break; + __ZNSt3__211char_traitsIcE6assignERcRKc($__p$1, $__first$addr$0); + $__first$addr$0 = $__first$addr$0 + 1 | 0; + $__p$1 = $__p$1 + 1 | 0; + } + HEAP8[$ref$tmp >> 0] = 0; + __ZNSt3__211char_traitsIcE6assignERcRKc($__p$0 + $1 | 0, $ref$tmp); STACKTOP = sp; return; } -function __ZNSt3__26vectorIN6vision12FeaturePointENS_9allocatorIS2_EEE8__appendEm($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $13 = 0, $14 = 0, $18 = 0, $2 = 0, $20 = 0, $23 = 0, $3 = 0, $5 = 0, $6 = 0, sp = 0; +function __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initIPcEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeES9_S9_($this, $__first, $__last) { + $this = $this | 0; + $__first = $__first | 0; + $__last = $__last | 0; + var $1 = 0, $__first$addr$0 = 0, $__p$0 = 0, $__p$1 = 0, $and$i$i = 0, $call$i$i$i = 0, $ref$tmp = 0, $sub$ptr$rhs$cast$i$i = 0, $sub$ptr$sub$i$i = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $2 = sp; - $3 = $0 + 8 | 0; - $5 = $0 + 4 | 0; - $6 = HEAP32[$5 >> 2] | 0; - do if ((((HEAP32[$3 >> 2] | 0) - $6 | 0) / 20 | 0) >>> 0 < $1 >>> 0) { - $13 = (($6 - (HEAP32[$0 >> 2] | 0) | 0) / 20 | 0) + $1 | 0; - $14 = __ZNKSt3__26vectorIN6vision12FeaturePointENS_9allocatorIS2_EEE8max_sizeEv($0) | 0; - if ($14 >>> 0 < $13 >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv($0); else { - $18 = HEAP32[$0 >> 2] | 0; - $20 = ((HEAP32[$3 >> 2] | 0) - $18 | 0) / 20 | 0; - $23 = $20 << 1; - __ZNSt3__214__split_bufferIN6vision12FeaturePointERNS_9allocatorIS2_EEEC2EmmS5_($2, $20 >>> 0 < $14 >>> 1 >>> 0 ? ($23 >>> 0 < $13 >>> 0 ? $13 : $23) : $14, ((HEAP32[$5 >> 2] | 0) - $18 | 0) / 20 | 0, $0 + 8 | 0); - __ZNSt3__214__split_bufferIN6vision12FeaturePointERNS_9allocatorIS2_EEE18__construct_at_endEm($2, $1); - __ZNSt3__26vectorIN6vision12FeaturePointENS_9allocatorIS2_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS2_RS4_EE($0, $2); - __ZNSt3__214__split_bufferIN6vision12FeaturePointERNS_9allocatorIS2_EEED2Ev($2); - break; - } - } else __ZNSt3__26vectorIN6vision12FeaturePointENS_9allocatorIS2_EEE18__construct_at_endEm($0, $1); while (0); + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $sub$ptr$rhs$cast$i$i = $__first; + $ref$tmp = sp; + $sub$ptr$sub$i$i = $__last - $sub$ptr$rhs$cast$i$i | 0; + if ($sub$ptr$sub$i$i >>> 0 > 4294967279) __ZNKSt3__221__basic_string_commonILb1EE20__throw_length_errorEv($this); + if ($sub$ptr$sub$i$i >>> 0 < 11) { + HEAP8[$this + 11 >> 0] = $sub$ptr$sub$i$i; + $__p$0 = $this; + } else { + $and$i$i = $sub$ptr$sub$i$i + 16 & -16; + $call$i$i$i = __Znwm($and$i$i) | 0; + HEAP32[$this >> 2] = $call$i$i$i; + HEAP32[$this + 8 >> 2] = $and$i$i | -2147483648; + HEAP32[$this + 4 >> 2] = $sub$ptr$sub$i$i; + $__p$0 = $call$i$i$i; + } + $1 = $__last - $sub$ptr$rhs$cast$i$i | 0; + $__first$addr$0 = $__first; + $__p$1 = $__p$0; + while (1) { + if (($__first$addr$0 | 0) == ($__last | 0)) break; + __ZNSt3__211char_traitsIcE6assignERcRKc($__p$1, $__first$addr$0); + $__first$addr$0 = $__first$addr$0 + 1 | 0; + $__p$1 = $__p$1 + 1 | 0; + } + HEAP8[$ref$tmp >> 0] = 0; + __ZNSt3__211char_traitsIcE6assignERcRKc($__p$0 + $1 | 0, $ref$tmp); STACKTOP = sp; return; } -function __ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE6rehashEm($this, $__n) { +function __ZNSt3__26vectorItNS_9allocatorItEEE8__appendEm($this, $__n) { $this = $this | 0; $__n = $__n | 0; - var $$sroa$speculated = 0, $0 = 0, $__n$addr$0 = 0, $cond = 0, $conv9 = 0, $shl$i = 0; - if (($__n | 0) != 1) if (!($__n + -1 & $__n)) $__n$addr$0 = $__n; else $__n$addr$0 = __ZNSt3__212__next_primeEm($__n) | 0; else $__n$addr$0 = 2; - $0 = HEAP32[$this + 4 >> 2] | 0; - if ($__n$addr$0 >>> 0 <= $0 >>> 0) { - if ($__n$addr$0 >>> 0 < $0 >>> 0) { - $conv9 = ~~+Math_ceil(+(+((HEAP32[$this + 12 >> 2] | 0) >>> 0) / +HEAPF32[$this + 16 >> 2])) >>> 0; - if ($0 >>> 0 > 2 & ($0 + -1 & $0 | 0) == 0) { - $shl$i = 1 << 32 - (Math_clz32($conv9 + -1 | 0) | 0); - $cond = $conv9 >>> 0 < 2 ? $conv9 : $shl$i; - } else $cond = __ZNSt3__212__next_primeEm($conv9) | 0; - $$sroa$speculated = $__n$addr$0 >>> 0 < $cond >>> 0 ? $cond : $__n$addr$0; - if ($$sroa$speculated >>> 0 < $0 >>> 0) __ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE8__rehashEm($this, $$sroa$speculated); + var $1 = 0, $4 = 0, $__end_ = 0, $__v = 0, $__value_$i$i$i = 0, $add = 0, $call$i = 0, $sub$ptr$sub$i$i$i = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 32 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); + $__v = sp; + $__value_$i$i$i = $this + 8 | 0; + $__end_ = $this + 4 | 0; + $1 = HEAP32[$__end_ >> 2] | 0; + do if ((HEAP32[$__value_$i$i$i >> 2] | 0) - $1 >> 1 >>> 0 < $__n >>> 0) { + $add = ($1 - (HEAP32[$this >> 2] | 0) >> 1) + $__n | 0; + $call$i = __ZNKSt3__26vectorItNS_9allocatorItEEE8max_sizeEv($this) | 0; + if ($call$i >>> 0 < $add >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv($this); else { + $4 = HEAP32[$this >> 2] | 0; + $sub$ptr$sub$i$i$i = (HEAP32[$__value_$i$i$i >> 2] | 0) - $4 | 0; + __ZNSt3__214__split_bufferItRNS_9allocatorItEEEC2EmmS3_($__v, $sub$ptr$sub$i$i$i >> 1 >>> 0 < $call$i >>> 1 >>> 0 ? ($sub$ptr$sub$i$i$i >>> 0 < $add >>> 0 ? $add : $sub$ptr$sub$i$i$i) : $call$i, (HEAP32[$__end_ >> 2] | 0) - $4 >> 1, $this + 8 | 0); + __ZNSt3__214__split_bufferItRNS_9allocatorItEEE18__construct_at_endEm($__v, $__n); + __ZNSt3__26vectorItNS_9allocatorItEEE26__swap_out_circular_bufferERNS_14__split_bufferItRS2_EE($this, $__v); + __ZNSt3__214__split_bufferItRNS_9allocatorItEEED2Ev($__v); + break; } - } else __ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE8__rehashEm($this, $__n$addr$0); + } else __ZNSt3__26vectorItNS_9allocatorItEEE18__construct_at_endEm($this, $__n); while (0); + STACKTOP = sp; return; } -function __ZNSt3__26vectorIiNS_9allocatorIiEEE8__appendEmRKi($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$0$i = 0, $11 = 0, $13 = 0, $20 = 0, $21 = 0, $25 = 0, $26 = 0, $3 = 0, $30 = 0, $4 = 0, $6 = 0, $7 = 0, sp = 0; +function ___stdio_read($f, $buf, $len) { + $f = $f | 0; + $buf = $buf | 0; + $len = $len | 0; + var $$cast = 0, $$pr = 0, $0 = 0, $3 = 0, $5 = 0, $6 = 0, $buf3 = 0, $buf_size = 0, $iov = 0, $iov_len = 0, $num = 0, $retval$0 = 0, $rpos = 0, label = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 32 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $3 = sp; - $4 = $0 + 8 | 0; - $6 = $0 + 4 | 0; - $7 = HEAP32[$6 >> 2] | 0; - $11 = $7; - do if ((HEAP32[$4 >> 2] | 0) - $7 >> 2 >>> 0 < $1 >>> 0) { - $20 = ($7 - (HEAP32[$0 >> 2] | 0) >> 2) + $1 | 0; - $21 = __ZNKSt3__26vectorIiNS_9allocatorIiEEE8max_sizeEv($0) | 0; - if ($21 >>> 0 < $20 >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv($0); else { - $25 = HEAP32[$0 >> 2] | 0; - $26 = (HEAP32[$4 >> 2] | 0) - $25 | 0; - $30 = $26 >> 1; - __ZNSt3__214__split_bufferIiRNS_9allocatorIiEEEC2EmmS3_($3, $26 >> 2 >>> 0 < $21 >>> 1 >>> 0 ? ($30 >>> 0 < $20 >>> 0 ? $20 : $30) : $21, (HEAP32[$6 >> 2] | 0) - $25 >> 2, $0 + 8 | 0); - __ZNSt3__214__split_bufferIiRNS_9allocatorIiEEE18__construct_at_endEmRKi($3, $1, $2); - __ZNSt3__26vectorIiNS_9allocatorIiEEE26__swap_out_circular_bufferERNS_14__split_bufferIiRS2_EE($0, $3); - __ZNSt3__214__split_bufferIiRNS_9allocatorIiEEED2Ev($3); - break; + $iov = sp; + $num = sp + 16 | 0; + HEAP32[$iov >> 2] = $buf; + $iov_len = $iov + 4 | 0; + $buf_size = $f + 48 | 0; + $0 = HEAP32[$buf_size >> 2] | 0; + HEAP32[$iov_len >> 2] = $len - (($0 | 0) != 0 & 1); + $buf3 = $f + 44 | 0; + HEAP32[$iov + 8 >> 2] = HEAP32[$buf3 >> 2]; + HEAP32[$iov + 12 >> 2] = $0; + if (!(___wasi_syscall_ret(___wasi_fd_read(HEAP32[$f + 60 >> 2] | 0, $iov | 0, 2, $num | 0) | 0) | 0)) { + $$pr = HEAP32[$num >> 2] | 0; + if (($$pr | 0) >= 1) { + $5 = HEAP32[$iov_len >> 2] | 0; + if ($$pr >>> 0 > $5 >>> 0) { + $6 = HEAP32[$buf3 >> 2] | 0; + $rpos = $f + 4 | 0; + HEAP32[$rpos >> 2] = $6; + $$cast = $6; + HEAP32[$f + 8 >> 2] = $$cast + ($$pr - $5); + if (!(HEAP32[$buf_size >> 2] | 0)) $retval$0 = $len; else { + HEAP32[$rpos >> 2] = $$cast + 1; + HEAP8[$buf + ($len + -1) >> 0] = HEAP8[$$cast >> 0] | 0; + $retval$0 = $len; + } + } else $retval$0 = $$pr; + } else { + $3 = $$pr; + label = 4; } } else { - $$0$i = $1; - $13 = $11; - while (1) { - HEAP32[$13 >> 2] = HEAP32[$2 >> 2]; - $$0$i = $$0$i + -1 | 0; - if (!$$0$i) break; else $13 = $13 + 4 | 0; - } - HEAP32[$6 >> 2] = $11 + ($1 << 2); - } while (0); + HEAP32[$num >> 2] = -1; + $3 = -1; + label = 4; + } + if ((label | 0) == 4) { + HEAP32[$f >> 2] = $3 & 48 ^ 16 | HEAP32[$f >> 2]; + $retval$0 = $3; + } STACKTOP = sp; - return; + return $retval$0 | 0; } -function ___strchrnul($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $$029$lcssa = 0, $$02936 = 0, $$030$lcssa = 0, $$03039 = 0, $$1 = 0, $10 = 0, $13 = 0, $17 = 0, $18 = 0, $2 = 0, $24 = 0, $25 = 0, $31 = 0, $38 = 0, $39 = 0, $9 = 0; - $2 = $1 & 255; - L1 : do if (!$2) $$0 = $0 + (_strlen($0) | 0) | 0; else { - if (!($0 & 3)) $$030$lcssa = $0; else { - $9 = $1 & 255; - $$03039 = $0; - while (1) { - $10 = HEAP8[$$03039 >> 0] | 0; - if ($10 << 24 >> 24 == 0 ? 1 : $10 << 24 >> 24 == $9 << 24 >> 24) { - $$0 = $$03039; - break L1; - } - $13 = $$03039 + 1 | 0; - if (!($13 & 3)) { - $$030$lcssa = $13; - break; - } else $$03039 = $13; +function _xt_by_x($input, $output) { + $input = $input | 0; + $output = $output | 0; + var $0 = 0, $1 = 0, $4 = 0, $6 = 0, $9 = 0.0, $add21 = 0.0, $arrayidx = 0, $i$0 = 0, $in1$0 = 0, $in2$0 = 0, $j$0 = 0, $k$0 = 0, $out$0 = 0, $out$1 = 0, $retval$0 = 0; + $0 = HEAP32[$input + 4 >> 2] | 0; + $1 = HEAP32[$input + 8 >> 2] | 0; + L1 : do if ((HEAP32[$output + 4 >> 2] | 0) == ($1 | 0) ? (HEAP32[$output + 8 >> 2] | 0) == ($1 | 0) : 0) { + $4 = HEAP32[$output >> 2] | 0; + $i$0 = 0; + $out$0 = $4; + while (1) { + if (($i$0 | 0) >= ($1 | 0)) { + $retval$0 = 0; + break L1; } - } - $17 = Math_imul($2, 16843009) | 0; - $18 = HEAP32[$$030$lcssa >> 2] | 0; - L10 : do if (!(($18 & -2139062144 ^ -2139062144) & $18 + -16843009)) { - $$02936 = $$030$lcssa; - $25 = $18; + $j$0 = 0; + $out$1 = $out$0; while (1) { - $24 = $25 ^ $17; - if (($24 & -2139062144 ^ -2139062144) & $24 + -16843009 | 0) { - $$029$lcssa = $$02936; - break L10; - } - $31 = $$02936 + 4 | 0; - $25 = HEAP32[$31 >> 2] | 0; - if (($25 & -2139062144 ^ -2139062144) & $25 + -16843009 | 0) { - $$029$lcssa = $31; - break; - } else $$02936 = $31; + if (($j$0 | 0) == ($1 | 0)) break; + L10 : do if ($j$0 >>> 0 < $i$0 >>> 0) { + $arrayidx = $4 + ((Math_imul($j$0, $1) | 0) + $i$0 << 3) | 0; + HEAPF64[$out$1 >> 3] = +HEAPF64[$arrayidx >> 3]; + } else { + $6 = HEAP32[$input >> 2] | 0; + HEAPF64[$out$1 >> 3] = 0.0; + $9 = 0.0; + $in1$0 = $6 + ($i$0 << 3) | 0; + $in2$0 = $6 + ($j$0 << 3) | 0; + $k$0 = 0; + while (1) { + if (($k$0 | 0) >= ($0 | 0)) break L10; + $add21 = $9 + +HEAPF64[$in1$0 >> 3] * +HEAPF64[$in2$0 >> 3]; + HEAPF64[$out$1 >> 3] = $add21; + $9 = $add21; + $in1$0 = $in1$0 + ($1 << 3) | 0; + $in2$0 = $in2$0 + ($1 << 3) | 0; + $k$0 = $k$0 + 1 | 0; + } + } while (0); + $j$0 = $j$0 + 1 | 0; + $out$1 = $out$1 + 8 | 0; } - } else $$029$lcssa = $$030$lcssa; while (0); - $38 = $1 & 255; - $$1 = $$029$lcssa; - while (1) { - $39 = HEAP8[$$1 >> 0] | 0; - if ($39 << 24 >> 24 == 0 ? 1 : $39 << 24 >> 24 == $38 << 24 >> 24) { - $$0 = $$1; - break; - } else $$1 = $$1 + 1 | 0; + $i$0 = $i$0 + 1 | 0; + $out$0 = $out$0 + ($1 << 3) | 0; } - } while (0); - return $$0 | 0; + } else $retval$0 = -1; while (0); + return $retval$0 | 0; } function __ZNSt3__212__hash_tableINS_17__hash_value_typeIi7ARParamEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE6rehashEm($this, $__n) { $this = $this | 0; $__n = $__n | 0; - var $$sroa$speculated = 0, $0 = 0, $__n$addr$0 = 0, $cond = 0, $conv9 = 0, $shl$i = 0; + var $$sroa$speculated = 0, $0 = 0, $__n$addr$0 = 0, $cond = 0, $conv14 = 0, $shl$i = 0; if (($__n | 0) != 1) if (!($__n + -1 & $__n)) $__n$addr$0 = $__n; else $__n$addr$0 = __ZNSt3__212__next_primeEm($__n) | 0; else $__n$addr$0 = 2; $0 = HEAP32[$this + 4 >> 2] | 0; if ($__n$addr$0 >>> 0 <= $0 >>> 0) { if ($__n$addr$0 >>> 0 < $0 >>> 0) { - $conv9 = ~~+Math_ceil(+(+((HEAP32[$this + 12 >> 2] | 0) >>> 0) / +HEAPF32[$this + 16 >> 2])) >>> 0; + $conv14 = ~~+Math_ceil(+(+((HEAP32[$this + 12 >> 2] | 0) >>> 0) / +HEAPF32[$this + 16 >> 2])) >>> 0; if ($0 >>> 0 > 2 & ($0 + -1 & $0 | 0) == 0) { - $shl$i = 1 << 32 - (Math_clz32($conv9 + -1 | 0) | 0); - $cond = $conv9 >>> 0 < 2 ? $conv9 : $shl$i; - } else $cond = __ZNSt3__212__next_primeEm($conv9) | 0; + $shl$i = 1 << 32 - (Math_clz32($conv14 + -1 | 0) | 0); + $cond = $conv14 >>> 0 < 2 ? $conv14 : $shl$i; + } else $cond = __ZNSt3__212__next_primeEm($conv14) | 0; $$sroa$speculated = $__n$addr$0 >>> 0 < $cond >>> 0 ? $cond : $__n$addr$0; if ($$sroa$speculated >>> 0 < $0 >>> 0) __ZNSt3__212__hash_tableINS_17__hash_value_typeIi7ARParamEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE8__rehashEm($this, $$sroa$speculated); } @@ -79356,1899 +82698,2180 @@ function __ZNSt3__212__hash_tableINS_17__hash_value_typeIi7ARParamEENS_22__unord return; } -function __ZN6vision27OrthogonalizePivot8x9Basis4IfEEbPT_S2_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $10 = 0, $12 = 0.0, $13 = 0.0, $15 = 0.0, $17 = 0.0, $19 = 0, $2 = 0, $20 = 0, $23 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $8 = 0, sp = 0; +function __ZNSt3__26vectorIPKN6vision4NodeILi96EEENS_9allocatorIS5_EEE21__push_back_slow_pathIS5_EEvOT_($this, $__x) { + $this = $this | 0; + $__x = $__x | 0; + var $3 = 0, $__end_ = 0, $__end_$i = 0, $__v = 0, $add = 0, $call$i = 0, $mul$i = 0, $sub$ptr$sub$i$i$i = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 32 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); + $__v = sp; + $__end_$i = $this + 4 | 0; + $add = ((HEAP32[$__end_$i >> 2] | 0) - (HEAP32[$this >> 2] | 0) >> 2) + 1 | 0; + $call$i = __ZNKSt3__26vectorIPKN6vision4NodeILi96EEENS_9allocatorIS5_EEE8max_sizeEv($this) | 0; + if ($call$i >>> 0 < $add >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv($this); else { + $3 = HEAP32[$this >> 2] | 0; + $sub$ptr$sub$i$i$i = (HEAP32[$this + 8 >> 2] | 0) - $3 | 0; + $mul$i = $sub$ptr$sub$i$i$i >> 1; + __ZNSt3__214__split_bufferIPKN6vision4NodeILi96EEERNS_9allocatorIS5_EEEC2EmmS8_($__v, $sub$ptr$sub$i$i$i >> 2 >>> 0 < $call$i >>> 1 >>> 0 ? ($mul$i >>> 0 < $add >>> 0 ? $add : $mul$i) : $call$i, (HEAP32[$__end_$i >> 2] | 0) - $3 >> 2, $this + 8 | 0); + $__end_ = $__v + 8 | 0; + HEAP32[HEAP32[$__end_ >> 2] >> 2] = HEAP32[$__x >> 2]; + HEAP32[$__end_ >> 2] = (HEAP32[$__end_ >> 2] | 0) + 4; + __ZNSt3__26vectorIPKN6vision4NodeILi96EEENS_9allocatorIS5_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS5_RS7_EE($this, $__v); + __ZNSt3__214__split_bufferIPKN6vision4NodeILi96EEERNS_9allocatorIS5_EEED2Ev($__v); + STACKTOP = sp; + return; + } +} + +function __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9push_backEw($this, $__c) { + $this = $this | 0; + $__c = $__c | 0; + var $0 = 0, $1 = 0, $5 = 0, $__c$addr = 0, $__cap$0 = 0, $__p$0 = 0, $__size_$i = 0, $__sz$0 = 0, $call12$pn = 0, $ref$tmp = 0, $tobool$i = 0, label = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $2 = sp; - $3 = $0 + 144 | 0; - $4 = $0 + 108 | 0; - $5 = $1 + 144 | 0; - __ZN6vision21AccumulateProjection9IfEEvPT_PKS1_S4_($3, $4, $5); - $6 = $0 + 180 | 0; - __ZN6vision21AccumulateProjection9IfEEvPT_PKS1_S4_($6, $4, $1 + 180 | 0); - $8 = $0 + 216 | 0; - __ZN6vision21AccumulateProjection9IfEEvPT_PKS1_S4_($8, $4, $1 + 216 | 0); - $10 = $0 + 252 | 0; - __ZN6vision21AccumulateProjection9IfEEvPT_PKS1_S4_($10, $4, $1 + 252 | 0); - $12 = +__ZN6vision11SumSquares9IfEET_PKS1_($3); - HEAPF32[$2 >> 2] = $12; - $13 = +__ZN6vision11SumSquares9IfEET_PKS1_($6); - HEAPF32[$2 + 4 >> 2] = $13; - $15 = +__ZN6vision11SumSquares9IfEET_PKS1_($8); - HEAPF32[$2 + 8 >> 2] = $15; - $17 = +__ZN6vision11SumSquares9IfEET_PKS1_($10); - HEAPF32[$2 + 12 >> 2] = $17; - $19 = __ZN6vision9MaxIndex4IfEEiPKT_($2) | 0; - $20 = $2 + ($19 << 2) | 0; - if (+HEAPF32[$20 >> 2] == 0.0) $$0 = 0; else { - $23 = $19 * 9 | 0; - __ZN6vision5Swap9IfEEvPT_S2_($3, $3 + ($23 << 2) | 0); - __ZN6vision5Swap9IfEEvPT_S2_($5, $5 + ($23 << 2) | 0); - __ZN6vision12ScaleVector9IfEEvPT_PKS1_S1_($3, $3, 1.0 / +Math_sqrt(+(+HEAPF32[$20 >> 2]))); - $$0 = 1; - } - STACKTOP = sp; - return $$0 | 0; -} - -function _ar2MarkerCoord2ScreenCoord2($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = +$2; - $3 = +$3; - $4 = $4 | 0; - $5 = $5 | 0; - var $$0 = 0, $39 = 0.0, $40 = 0.0, $41 = 0.0, $42 = 0, $6 = 0, $63 = 0.0, $7 = 0, $73 = 0.0, $8 = 0, $81 = 0.0, $84 = 0.0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 64 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(64); - $6 = sp; - $7 = sp + 52 | 0; - $8 = sp + 48 | 0; - if ($0) { - _arUtilMatMuldff($0 + 8 | 0, $1, $6) | 0; - $39 = +HEAPF32[$6 + 44 >> 2] + (+HEAPF32[$6 + 32 >> 2] * $2 + +HEAPF32[$6 + 36 >> 2] * $3); - $40 = (+HEAPF32[$6 + 12 >> 2] + (+HEAPF32[$6 >> 2] * $2 + +HEAPF32[$6 + 4 >> 2] * $3)) / $39; - $41 = (+HEAPF32[$6 + 28 >> 2] + (+HEAPF32[$6 + 16 >> 2] * $2 + +HEAPF32[$6 + 20 >> 2] * $3)) / $39; - $42 = $0 + 184 | 0; - if ((_arParamIdeal2ObservLTf($42, $40, $41, $4, $5) | 0) >= 0 ? (_arParamObserv2IdealLTf($42, +HEAPF32[$4 >> 2], +HEAPF32[$5 >> 2], $7, $8) | 0) >= 0 : 0) { - $81 = $40 - +HEAPF32[$7 >> 2]; - $84 = $41 - +HEAPF32[$8 >> 2]; - $$0 = ($81 * $81 + $84 * $84 > 1.0) << 31 >> 31; - } else $$0 = -1; + $__c$addr = sp; + $ref$tmp = sp + 4 | 0; + HEAP32[$__c$addr >> 2] = $__c; + $0 = $this + 8 | 0; + $__size_$i = $0 + 3 | 0; + $1 = HEAP8[$__size_$i >> 0] | 0; + $tobool$i = $1 << 24 >> 24 < 0; + if ($tobool$i) { + $__cap$0 = (HEAP32[$0 >> 2] & 2147483647) + -1 | 0; + $__sz$0 = HEAP32[$this + 4 >> 2] | 0; } else { - $63 = +HEAPF32[$1 + 28 >> 2] + (+HEAPF32[$1 + 16 >> 2] * $2 + +HEAPF32[$1 + 20 >> 2] * $3); - $73 = +HEAPF32[$1 + 44 >> 2] + (+HEAPF32[$1 + 32 >> 2] * $2 + +HEAPF32[$1 + 36 >> 2] * $3); - HEAPF32[$4 >> 2] = (+HEAPF32[$1 + 12 >> 2] + (+HEAPF32[$1 >> 2] * $2 + +HEAPF32[$1 + 4 >> 2] * $3)) / $73; - HEAPF32[$5 >> 2] = $63 / $73; - $$0 = 0; + $__cap$0 = 1; + $__sz$0 = $1 & 255; } + if (($__sz$0 | 0) == ($__cap$0 | 0)) { + __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9__grow_byEmmmmmm($this, $__cap$0, 1, $__cap$0, $__cap$0, 0, 0); + if ((HEAP8[$__size_$i >> 0] | 0) < 0) label = 8; else label = 7; + } else if ($tobool$i) label = 8; else label = 7; + if ((label | 0) == 7) { + HEAP8[$__size_$i >> 0] = $__sz$0 + 1; + $call12$pn = $this; + } else if ((label | 0) == 8) { + $5 = HEAP32[$this >> 2] | 0; + HEAP32[$this + 4 >> 2] = $__sz$0 + 1; + $call12$pn = $5; + } + $__p$0 = $call12$pn + ($__sz$0 << 2) | 0; + __ZNSt3__211char_traitsIwE6assignERwRKw($__p$0, $__c$addr); + HEAP32[$ref$tmp >> 2] = 0; + __ZNSt3__211char_traitsIwE6assignERwRKw($__p$0 + 4 | 0, $ref$tmp); STACKTOP = sp; - return $$0 | 0; + return; } -function __ZNSt3__26vectorIhNS_9allocatorIhEEE8__appendEmRKh($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$0$i = 0, $12 = 0, $19 = 0, $20 = 0, $24 = 0, $25 = 0, $28 = 0, $3 = 0, $4 = 0, $6 = 0, $7 = 0, sp = 0; +function __ZNSt3__26vectorIPN6vision4NodeILi96EEENS_9allocatorIS4_EEE21__push_back_slow_pathIRKS4_EEvOT_($this, $__x) { + $this = $this | 0; + $__x = $__x | 0; + var $3 = 0, $__end_ = 0, $__end_$i = 0, $__v = 0, $add = 0, $call$i = 0, $mul$i = 0, $sub$ptr$sub$i$i$i = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 32 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $3 = sp; - $4 = $0 + 8 | 0; - $6 = $0 + 4 | 0; - $7 = HEAP32[$6 >> 2] | 0; - do if (((HEAP32[$4 >> 2] | 0) - $7 | 0) >>> 0 < $1 >>> 0) { - $19 = $7 - (HEAP32[$0 >> 2] | 0) + $1 | 0; - $20 = __ZNKSt3__26vectorIhNS_9allocatorIhEEE8max_sizeEv($0) | 0; - if ($20 >>> 0 < $19 >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv($0); else { - $24 = HEAP32[$0 >> 2] | 0; - $25 = (HEAP32[$4 >> 2] | 0) - $24 | 0; - $28 = $25 << 1; - __ZNSt3__214__split_bufferIhRNS_9allocatorIhEEEC2EmmS3_($3, $25 >>> 0 < $20 >>> 1 >>> 0 ? ($28 >>> 0 < $19 >>> 0 ? $19 : $28) : $20, (HEAP32[$6 >> 2] | 0) - $24 | 0, $0 + 8 | 0); - __ZNSt3__214__split_bufferIhRNS_9allocatorIhEEE18__construct_at_endEmRKh($3, $1, $2); - __ZNSt3__26vectorIhNS_9allocatorIhEEE26__swap_out_circular_bufferERNS_14__split_bufferIhRS2_EE($0, $3); - __ZNSt3__214__split_bufferIhRNS_9allocatorIhEEED2Ev($3); + $__v = sp; + $__end_$i = $this + 4 | 0; + $add = ((HEAP32[$__end_$i >> 2] | 0) - (HEAP32[$this >> 2] | 0) >> 2) + 1 | 0; + $call$i = __ZNKSt3__26vectorIPN6vision4NodeILi96EEENS_9allocatorIS4_EEE8max_sizeEv($this) | 0; + if ($call$i >>> 0 < $add >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv($this); else { + $3 = HEAP32[$this >> 2] | 0; + $sub$ptr$sub$i$i$i = (HEAP32[$this + 8 >> 2] | 0) - $3 | 0; + $mul$i = $sub$ptr$sub$i$i$i >> 1; + __ZNSt3__214__split_bufferIPN6vision4NodeILi96EEERNS_9allocatorIS4_EEEC2EmmS7_($__v, $sub$ptr$sub$i$i$i >> 2 >>> 0 < $call$i >>> 1 >>> 0 ? ($mul$i >>> 0 < $add >>> 0 ? $add : $mul$i) : $call$i, (HEAP32[$__end_$i >> 2] | 0) - $3 >> 2, $this + 8 | 0); + $__end_ = $__v + 8 | 0; + HEAP32[HEAP32[$__end_ >> 2] >> 2] = HEAP32[$__x >> 2]; + HEAP32[$__end_ >> 2] = (HEAP32[$__end_ >> 2] | 0) + 4; + __ZNSt3__26vectorIPN6vision4NodeILi96EEENS_9allocatorIS4_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS4_RS6_EE($this, $__v); + __ZNSt3__214__split_bufferIPN6vision4NodeILi96EEERNS_9allocatorIS4_EEED2Ev($__v); + STACKTOP = sp; + return; + } +} + +function __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6__initIPKwEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESA_SA_($this, $__first, $__last) { + $this = $this | 0; + $__first = $__first | 0; + $__last = $__last | 0; + var $__first$addr$0 = 0, $__p$1 = 0, $__p$1$ph = 0, $and$i$i = 0, $call$i$i$i = 0, $ref$tmp = 0, $sub$ptr$div$i$i = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $ref$tmp = sp; + $sub$ptr$div$i$i = $__last - $__first >> 2; + if ($sub$ptr$div$i$i >>> 0 > 1073741807) __ZNKSt3__221__basic_string_commonILb1EE20__throw_length_errorEv($this); + do if ($sub$ptr$div$i$i >>> 0 >= 2) { + $and$i$i = $sub$ptr$div$i$i + 4 & -4; + if ($and$i$i >>> 0 > 1073741823) _abort(); else { + $call$i$i$i = __Znwm($and$i$i << 2) | 0; + HEAP32[$this >> 2] = $call$i$i$i; + HEAP32[$this + 8 >> 2] = $and$i$i | -2147483648; + HEAP32[$this + 4 >> 2] = $sub$ptr$div$i$i; + $__p$1$ph = $call$i$i$i; break; } } else { - $$0$i = $1; - $12 = $7; - do { - HEAP8[$12 >> 0] = HEAP8[$2 >> 0] | 0; - $12 = (HEAP32[$6 >> 2] | 0) + 1 | 0; - HEAP32[$6 >> 2] = $12; - $$0$i = $$0$i + -1 | 0; - } while (($$0$i | 0) != 0); + HEAP8[$this + 8 + 3 >> 0] = $sub$ptr$div$i$i; + $__p$1$ph = $this; } while (0); + $__first$addr$0 = $__first; + $__p$1 = $__p$1$ph; + while (1) { + if (($__first$addr$0 | 0) == ($__last | 0)) break; + __ZNSt3__211char_traitsIwE6assignERwRKw($__p$1, $__first$addr$0); + $__first$addr$0 = $__first$addr$0 + 4 | 0; + $__p$1 = $__p$1 + 4 | 0; + } + HEAP32[$ref$tmp >> 2] = 0; + __ZNSt3__211char_traitsIwE6assignERwRKw($__p$1, $ref$tmp); STACKTOP = sp; return; } -function _jinit_marker_reader($0) { - $0 = $0 | 0; - var $4 = 0, $42 = 0, $5 = 0; - $4 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[$0 + 4 >> 2] >> 2] & 63]($0, 0, 172) | 0; - $5 = $0 + 464 | 0; - HEAP32[$5 >> 2] = $4; - HEAP32[$4 >> 2] = 203; - HEAP32[$4 + 4 >> 2] = 86; - HEAP32[$4 + 8 >> 2] = 87; - HEAP32[$4 + 28 >> 2] = 88; - HEAP32[$4 + 96 >> 2] = 0; - HEAP32[$4 + 100 >> 2] = 0; - HEAP32[$4 + 36 >> 2] = 88; - HEAP32[$4 + 104 >> 2] = 0; - HEAP32[$4 + 40 >> 2] = 88; - HEAP32[$4 + 108 >> 2] = 0; - HEAP32[$4 + 44 >> 2] = 88; - HEAP32[$4 + 112 >> 2] = 0; - HEAP32[$4 + 48 >> 2] = 88; - HEAP32[$4 + 116 >> 2] = 0; - HEAP32[$4 + 52 >> 2] = 88; - HEAP32[$4 + 120 >> 2] = 0; - HEAP32[$4 + 56 >> 2] = 88; - HEAP32[$4 + 124 >> 2] = 0; - HEAP32[$4 + 60 >> 2] = 88; - HEAP32[$4 + 128 >> 2] = 0; - HEAP32[$4 + 64 >> 2] = 88; - HEAP32[$4 + 132 >> 2] = 0; - HEAP32[$4 + 68 >> 2] = 88; - HEAP32[$4 + 136 >> 2] = 0; - HEAP32[$4 + 72 >> 2] = 88; - HEAP32[$4 + 140 >> 2] = 0; - HEAP32[$4 + 76 >> 2] = 88; - HEAP32[$4 + 144 >> 2] = 0; - HEAP32[$4 + 80 >> 2] = 88; - HEAP32[$4 + 148 >> 2] = 0; - HEAP32[$4 + 84 >> 2] = 88; - HEAP32[$4 + 152 >> 2] = 0; - HEAP32[$4 + 156 >> 2] = 0; - HEAP32[$4 + 92 >> 2] = 88; - HEAP32[$4 + 160 >> 2] = 0; - HEAP32[$4 + 32 >> 2] = 89; - HEAP32[$4 + 88 >> 2] = 89; - $42 = HEAP32[$5 >> 2] | 0; - HEAP32[$0 + 216 >> 2] = 0; - HEAP32[$0 + 144 >> 2] = 0; - HEAP32[$0 + 440 >> 2] = 0; - HEAP32[$42 + 12 >> 2] = 0; - HEAP32[$42 + 16 >> 2] = 0; - HEAP32[$42 + 24 >> 2] = 0; - HEAP32[$42 + 164 >> 2] = 0; - return; -} - -function __ZNSt3__26vectorIN6vision17PriorityQueueItemILi96EEENS_9allocatorIS3_EEE21__push_back_slow_pathIRKS3_EEvOT_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $14 = 0, $15 = 0, $19 = 0, $2 = 0, $24 = 0, $26 = 0, $3 = 0, $31 = 0, $32 = 0, $8 = 0, $9 = 0, sp = 0; +function __ZNK10__cxxabiv117__class_type_info29process_static_type_above_dstEPNS_19__dynamic_cast_infoEPKvS4_i($this, $info, $dst_ptr, $current_ptr, $path_below) { + $this = $this | 0; + $info = $info | 0; + $dst_ptr = $dst_ptr | 0; + $current_ptr = $current_ptr | 0; + $path_below = $path_below | 0; + var $1 = 0, $3 = 0, $5 = 0, $dst_ptr_leading_to_static_ptr = 0, $number_to_static_ptr26 = 0, $path_dst_ptr_to_static_ptr12 = 0; + HEAP8[$info + 53 >> 0] = 1; + do if ((HEAP32[$info + 4 >> 2] | 0) == ($current_ptr | 0)) { + HEAP8[$info + 52 >> 0] = 1; + $dst_ptr_leading_to_static_ptr = $info + 16 | 0; + $1 = HEAP32[$dst_ptr_leading_to_static_ptr >> 2] | 0; + if (!$1) { + HEAP32[$dst_ptr_leading_to_static_ptr >> 2] = $dst_ptr; + HEAP32[$info + 24 >> 2] = $path_below; + HEAP32[$info + 36 >> 2] = 1; + if (!(($path_below | 0) == 1 ? (HEAP32[$info + 48 >> 2] | 0) == 1 : 0)) break; + HEAP8[$info + 54 >> 0] = 1; + break; + } + if (($1 | 0) != ($dst_ptr | 0)) { + $number_to_static_ptr26 = $info + 36 | 0; + HEAP32[$number_to_static_ptr26 >> 2] = (HEAP32[$number_to_static_ptr26 >> 2] | 0) + 1; + HEAP8[$info + 54 >> 0] = 1; + break; + } + $path_dst_ptr_to_static_ptr12 = $info + 24 | 0; + $3 = HEAP32[$path_dst_ptr_to_static_ptr12 >> 2] | 0; + if (($3 | 0) == 2) { + HEAP32[$path_dst_ptr_to_static_ptr12 >> 2] = $path_below; + $5 = $path_below; + } else $5 = $3; + if (($5 | 0) == 1 ? (HEAP32[$info + 48 >> 2] | 0) == 1 : 0) HEAP8[$info + 54 >> 0] = 1; + } while (0); + return; +} + +function __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6__initIPwEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeES9_S9_($this, $__first, $__last) { + $this = $this | 0; + $__first = $__first | 0; + $__last = $__last | 0; + var $__first$addr$0 = 0, $__p$1 = 0, $__p$1$ph = 0, $and$i$i = 0, $call$i$i$i = 0, $ref$tmp = 0, $sub$ptr$div$i$i = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $ref$tmp = sp; + $sub$ptr$div$i$i = $__last - $__first >> 2; + if ($sub$ptr$div$i$i >>> 0 > 1073741807) __ZNKSt3__221__basic_string_commonILb1EE20__throw_length_errorEv($this); + do if ($sub$ptr$div$i$i >>> 0 >= 2) { + $and$i$i = $sub$ptr$div$i$i + 4 & -4; + if ($and$i$i >>> 0 > 1073741823) _abort(); else { + $call$i$i$i = __Znwm($and$i$i << 2) | 0; + HEAP32[$this >> 2] = $call$i$i$i; + HEAP32[$this + 8 >> 2] = $and$i$i | -2147483648; + HEAP32[$this + 4 >> 2] = $sub$ptr$div$i$i; + $__p$1$ph = $call$i$i$i; + break; + } + } else { + HEAP8[$this + 8 + 3 >> 0] = $sub$ptr$div$i$i; + $__p$1$ph = $this; + } while (0); + $__first$addr$0 = $__first; + $__p$1 = $__p$1$ph; + while (1) { + if (($__first$addr$0 | 0) == ($__last | 0)) break; + __ZNSt3__211char_traitsIwE6assignERwRKw($__p$1, $__first$addr$0); + $__first$addr$0 = $__first$addr$0 + 4 | 0; + $__p$1 = $__p$1 + 4 | 0; + } + HEAP32[$ref$tmp >> 2] = 0; + __ZNSt3__211char_traitsIwE6assignERwRKw($__p$1, $ref$tmp); + STACKTOP = sp; + return; +} + +function __ZNSt3__212__hash_tableINS_17__hash_value_typeIjjEENS_22__unordered_map_hasherIjS2_NS_4hashIjEELb1EEENS_21__unordered_map_equalIjS2_NS_8equal_toIjEELb1EEENS_9allocatorIS2_EEE6rehashEm($this, $__n) { + $this = $this | 0; + $__n = $__n | 0; + var $$sroa$speculated = 0, $0 = 0, $__n$addr$0 = 0, $cond = 0, $conv14 = 0, $shl$i = 0; + if (($__n | 0) != 1) if (!($__n + -1 & $__n)) $__n$addr$0 = $__n; else $__n$addr$0 = __ZNSt3__212__next_primeEm($__n) | 0; else $__n$addr$0 = 2; + $0 = HEAP32[$this + 4 >> 2] | 0; + if ($__n$addr$0 >>> 0 <= $0 >>> 0) { + if ($__n$addr$0 >>> 0 < $0 >>> 0) { + $conv14 = ~~+Math_ceil(+(+((HEAP32[$this + 12 >> 2] | 0) >>> 0) / +HEAPF32[$this + 16 >> 2])) >>> 0; + if ($0 >>> 0 > 2 & ($0 + -1 & $0 | 0) == 0) { + $shl$i = 1 << 32 - (Math_clz32($conv14 + -1 | 0) | 0); + $cond = $conv14 >>> 0 < 2 ? $conv14 : $shl$i; + } else $cond = __ZNSt3__212__next_primeEm($conv14) | 0; + $$sroa$speculated = $__n$addr$0 >>> 0 < $cond >>> 0 ? $cond : $__n$addr$0; + if ($$sroa$speculated >>> 0 < $0 >>> 0) __ZNSt3__212__hash_tableINS_17__hash_value_typeIjjEENS_22__unordered_map_hasherIjS2_NS_4hashIjEELb1EEENS_21__unordered_map_equalIjS2_NS_8equal_toIjEELb1EEENS_9allocatorIS2_EEE8__rehashEm($this, $$sroa$speculated); + } + } else __ZNSt3__212__hash_tableINS_17__hash_value_typeIjjEENS_22__unordered_map_hasherIjS2_NS_4hashIjEELb1EEENS_21__unordered_map_equalIjS2_NS_8equal_toIjEELb1EEENS_9allocatorIS2_EEE8__rehashEm($this, $__n$addr$0); + return; +} + +function __ZNK12_GLOBAL__N_116itanium_demangle10AbiTagAttr9printLeftERNS_12OutputStreamE($this, $S) { + $this = $this | 0; + $S = $S | 0; + var $0 = 0, $2 = 0, $7 = 0, $8 = 0, $agg$tmp = 0, $agg$tmp2 = 0, $agg$tmp4 = 0, $agg$tmp4$byval_copy = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 32 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $2 = sp; - $3 = $0 + 4 | 0; - $8 = ((HEAP32[$3 >> 2] | 0) - (HEAP32[$0 >> 2] | 0) >> 3) + 1 | 0; - $9 = __ZNKSt3__26vectorIN6vision17PriorityQueueItemILi96EEENS_9allocatorIS3_EEE8max_sizeEv($0) | 0; - if ($9 >>> 0 < $8 >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv($0); else { - $14 = HEAP32[$0 >> 2] | 0; - $15 = (HEAP32[$0 + 8 >> 2] | 0) - $14 | 0; - $19 = $15 >> 2; - __ZNSt3__214__split_bufferIN6vision17PriorityQueueItemILi96EEERNS_9allocatorIS3_EEEC2EmmS6_($2, $15 >> 3 >>> 0 < $9 >>> 1 >>> 0 ? ($19 >>> 0 < $8 >>> 0 ? $8 : $19) : $9, (HEAP32[$3 >> 2] | 0) - $14 >> 3, $0 + 8 | 0); - $24 = $2 + 8 | 0; - $26 = $1; - $31 = HEAP32[$26 + 4 >> 2] | 0; - $32 = HEAP32[$24 >> 2] | 0; - HEAP32[$32 >> 2] = HEAP32[$26 >> 2]; - HEAP32[$32 + 4 >> 2] = $31; - HEAP32[$24 >> 2] = (HEAP32[$24 >> 2] | 0) + 8; - __ZNSt3__26vectorIN6vision17PriorityQueueItemILi96EEENS_9allocatorIS3_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS3_RS5_EE($0, $2); - __ZNSt3__214__split_bufferIN6vision17PriorityQueueItemILi96EEERNS_9allocatorIS3_EEED2Ev($2); - STACKTOP = sp; - return; - } + $agg$tmp4$byval_copy = sp + 24 | 0; + $agg$tmp = sp + 16 | 0; + $agg$tmp2 = sp; + $agg$tmp4 = sp + 8 | 0; + $0 = HEAP32[$this + 8 >> 2] | 0; + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$0 >> 2] | 0) + 16 >> 2] & 255]($0, $S); + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, 52450); + HEAP32[$agg$tmp4$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp4$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp4$byval_copy); + $2 = $this + 12 | 0; + $7 = HEAP32[$2 + 4 >> 2] | 0; + $8 = $agg$tmp2; + HEAP32[$8 >> 2] = HEAP32[$2 >> 2]; + HEAP32[$8 + 4 >> 2] = $7; + HEAP32[$agg$tmp4$byval_copy >> 2] = HEAP32[$agg$tmp2 >> 2]; + HEAP32[$agg$tmp4$byval_copy + 4 >> 2] = HEAP32[$agg$tmp2 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp4$byval_copy); + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp4, 52456); + HEAP32[$agg$tmp4$byval_copy >> 2] = HEAP32[$agg$tmp4 >> 2]; + HEAP32[$agg$tmp4$byval_copy + 4 >> 2] = HEAP32[$agg$tmp4 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp4$byval_copy); + STACKTOP = sp; + return; } -function _x_by_xt($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $$049 = 0, $$050 = 0, $$051 = 0, $$052 = 0, $$053 = 0, $$054 = 0, $$1 = 0, $12 = 0, $14 = 0, $18 = 0, $20 = 0, $23 = 0, $3 = 0, $30 = 0.0, $31 = 0.0, $5 = 0; - $3 = HEAP32[$0 + 4 >> 2] | 0; - $5 = HEAP32[$0 + 8 >> 2] | 0; - L1 : do if ((HEAP32[$1 + 4 >> 2] | 0) == ($3 | 0) ? (HEAP32[$1 + 8 >> 2] | 0) == ($3 | 0) : 0) { - $12 = HEAP32[$1 >> 2] | 0; - $$050 = 0; - $$053 = $12; +function _icpUpdateMat($matXw2Xc, $dS) { + $matXw2Xc = $matXw2Xc | 0; + $dS = $dS | 0; + var $arrayidx11 = 0, $arrayidx15 = 0, $arrayidx20 = 0, $arrayidx30 = 0, $i$0 = 0, $i$1 = 0, $j$0 = 0, $j$1 = 0, $mat = 0, $mat2 = 0, $q = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 256 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(256); + $q = sp + 192 | 0; + $mat = sp + 96 | 0; + $mat2 = sp; + _icpGetQ_from_S($q, $dS); + _icpGetMat_from_Q($mat, $q); + $j$0 = 0; + while (1) { + if (($j$0 | 0) == 3) break; + $arrayidx11 = $matXw2Xc + ($j$0 << 5) | 0; + $arrayidx15 = $matXw2Xc + ($j$0 << 5) + 8 | 0; + $arrayidx20 = $matXw2Xc + ($j$0 << 5) + 16 | 0; + $i$0 = 0; while (1) { - if (($$050 | 0) >= ($3 | 0)) { - $$051 = 0; - break L1; - } - $14 = Math_imul($$050, $5) | 0; - $$049 = 0; - $$1 = $$053; - while (1) { - if (($$049 | 0) == ($3 | 0)) break; - L10 : do if ($$049 >>> 0 < $$050 >>> 0) { - $18 = $12 + ((Math_imul($$049, $3) | 0) + $$050 << 3) | 0; - HEAPF64[$$1 >> 3] = +HEAPF64[$18 >> 3]; - } else { - $20 = HEAP32[$0 >> 2] | 0; - $23 = $20 + ((Math_imul($$049, $5) | 0) << 3) | 0; - HEAPF64[$$1 >> 3] = 0.0; - $$0 = 0; - $$052 = $20 + ($14 << 3) | 0; - $$054 = $23; - $31 = 0.0; - while (1) { - if (($$0 | 0) >= ($5 | 0)) break L10; - $30 = $31 + +HEAPF64[$$052 >> 3] * +HEAPF64[$$054 >> 3]; - HEAPF64[$$1 >> 3] = $30; - $$0 = $$0 + 1 | 0; - $$052 = $$052 + 8 | 0; - $$054 = $$054 + 8 | 0; - $31 = $30; - } - } while (0); - $$049 = $$049 + 1 | 0; - $$1 = $$1 + 8 | 0; - } - $$050 = $$050 + 1 | 0; - $$053 = $$053 + ($3 << 3) | 0; + if (($i$0 | 0) == 4) break; + HEAPF64[$mat2 + ($j$0 << 5) + ($i$0 << 3) >> 3] = +HEAPF64[$arrayidx11 >> 3] * +HEAPF64[$mat + ($i$0 << 3) >> 3] + +HEAPF64[$arrayidx15 >> 3] * +HEAPF64[$mat + 32 + ($i$0 << 3) >> 3] + +HEAPF64[$arrayidx20 >> 3] * +HEAPF64[$mat + 64 + ($i$0 << 3) >> 3]; + $i$0 = $i$0 + 1 | 0; + } + $arrayidx30 = $mat2 + ($j$0 << 5) + 24 | 0; + HEAPF64[$arrayidx30 >> 3] = +HEAPF64[$matXw2Xc + ($j$0 << 5) + 24 >> 3] + +HEAPF64[$arrayidx30 >> 3]; + $j$0 = $j$0 + 1 | 0; + } + $j$1 = 0; + while (1) { + if (($j$1 | 0) == 3) break; + $i$1 = 0; + while (1) { + if (($i$1 | 0) == 4) break; + HEAPF64[$matXw2Xc + ($j$1 << 5) + ($i$1 << 3) >> 3] = +HEAPF64[$mat2 + ($j$1 << 5) + ($i$1 << 3) >> 3]; + $i$1 = $i$1 + 1 | 0; } - } else $$051 = -1; while (0); - return $$051 | 0; + $j$1 = $j$1 + 1 | 0; + } + STACKTOP = sp; + return 0; +} + +function __ZNK12_GLOBAL__N_116itanium_demangle18ArraySubscriptExpr9printLeftERNS_12OutputStreamE($this, $S) { + $this = $this | 0; + $S = $S | 0; + var $agg$tmp = 0, $agg$tmp2 = 0, $agg$tmp4 = 0, $agg$tmp4$byval_copy = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 32 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); + $agg$tmp4$byval_copy = sp + 24 | 0; + $agg$tmp = sp + 16 | 0; + $agg$tmp2 = sp + 8 | 0; + $agg$tmp4 = sp; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, 52810); + HEAP32[$agg$tmp4$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp4$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp4$byval_copy); + __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(HEAP32[$this + 8 >> 2] | 0, $S); + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp2, 54426); + HEAP32[$agg$tmp4$byval_copy >> 2] = HEAP32[$agg$tmp2 >> 2]; + HEAP32[$agg$tmp4$byval_copy + 4 >> 2] = HEAP32[$agg$tmp2 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp4$byval_copy); + __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(HEAP32[$this + 12 >> 2] | 0, $S); + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp4, 52456); + HEAP32[$agg$tmp4$byval_copy >> 2] = HEAP32[$agg$tmp4 >> 2]; + HEAP32[$agg$tmp4$byval_copy + 4 >> 2] = HEAP32[$agg$tmp4 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp4$byval_copy); + STACKTOP = sp; + return; +} + +function __ZNK12_GLOBAL__N_116itanium_demangle14ConversionExpr9printLeftERNS_12OutputStreamE($this, $S) { + $this = $this | 0; + $S = $S | 0; + var $agg$tmp = 0, $agg$tmp2 = 0, $agg$tmp4 = 0, $agg$tmp4$byval_copy = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 32 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); + $agg$tmp4$byval_copy = sp + 24 | 0; + $agg$tmp = sp + 16 | 0; + $agg$tmp2 = sp + 8 | 0; + $agg$tmp4 = sp; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, 52810); + HEAP32[$agg$tmp4$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp4$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp4$byval_copy); + __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(HEAP32[$this + 8 >> 2] | 0, $S); + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp2, 55397); + HEAP32[$agg$tmp4$byval_copy >> 2] = HEAP32[$agg$tmp2 >> 2]; + HEAP32[$agg$tmp4$byval_copy + 4 >> 2] = HEAP32[$agg$tmp2 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp4$byval_copy); + __ZNK12_GLOBAL__N_116itanium_demangle9NodeArray14printWithCommaERNS_12OutputStreamE($this + 12 | 0, $S); + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp4, 52806); + HEAP32[$agg$tmp4$byval_copy >> 2] = HEAP32[$agg$tmp4 >> 2]; + HEAP32[$agg$tmp4$byval_copy + 4 >> 2] = HEAP32[$agg$tmp4 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp4$byval_copy); + STACKTOP = sp; + return; } -function _fread($0, $1, $2, $3) { +function _fmt_u($0, $1, $s) { $0 = $0 | 0; $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $$ = 0, $$0 = 0, $$054 = 0, $$056 = 0, $$15759 = 0, $$160 = 0, $10 = 0, $12 = 0, $18 = 0, $19 = 0, $20 = 0, $29 = 0, $33 = 0, $37 = 0, $4 = 0, $40 = 0, $spec$select = 0, label = 0; - $4 = Math_imul($2, $1) | 0; - $spec$select = ($1 | 0) == 0 ? 0 : $2; - if ((HEAP32[$3 + 76 >> 2] | 0) > -1) $37 = ___lockfile($3) | 0; else $37 = 0; - $10 = $3 + 74 | 0; - $12 = HEAP8[$10 >> 0] | 0; - HEAP8[$10 >> 0] = $12 + 255 | $12; - $18 = $3 + 4 | 0; - $19 = HEAP32[$18 >> 2] | 0; - $20 = (HEAP32[$3 + 8 >> 2] | 0) - $19 | 0; - if (($20 | 0) > 0) { - $$ = $20 >>> 0 < $4 >>> 0 ? $20 : $4; - _memcpy($0 | 0, $19 | 0, $$ | 0) | 0; - HEAP32[$18 >> 2] = (HEAP32[$18 >> 2] | 0) + $$; - $$054 = $4 - $$ | 0; - $$056 = $0 + $$ | 0; + $s = $s | 0; + var $11 = 0, $13 = 0, $7 = 0, $8 = 0, $incdec$ptr7 = 0, $s$addr$0$lcssa = 0, $s$addr$013 = 0, $s$addr$1$lcssa = 0, $s$addr$19 = 0, $x$addr$0$lcssa$off0 = 0, $y$010 = 0, $7$looptemp = 0, $8$looptemp = 0, $y$010$looptemp = 0; + if ($1 >>> 0 > 0 | ($1 | 0) == 0 & $0 >>> 0 > 4294967295) { + $7 = $0; + $8 = $1; + $s$addr$013 = $s; + do { + $7$looptemp = $7; + $7 = ___udivdi3($7 | 0, $8 | 0, 10, 0) | 0; + $8$looptemp = $8; + $8 = getTempRet0() | 0; + $11 = ___muldi3($7 | 0, $8 | 0, 10, 0) | 0; + $13 = _i64Subtract($7$looptemp | 0, $8$looptemp | 0, $11 | 0, getTempRet0() | 0) | 0; + getTempRet0() | 0; + $s$addr$013 = $s$addr$013 + -1 | 0; + HEAP8[$s$addr$013 >> 0] = $13 & 255 | 48; + } while ($8$looptemp >>> 0 > 9 | ($8$looptemp | 0) == 9 & $7$looptemp >>> 0 > 4294967295); + $s$addr$0$lcssa = $s$addr$013; + $x$addr$0$lcssa$off0 = $7; } else { - $$054 = $4; - $$056 = $0; + $s$addr$0$lcssa = $s; + $x$addr$0$lcssa$off0 = $0; } - L7 : do if (!$$054) label = 13; else { - $29 = $3 + 32 | 0; - $$15759 = $$056; - $$160 = $$054; + if (!$x$addr$0$lcssa$off0) $s$addr$1$lcssa = $s$addr$0$lcssa; else { + $s$addr$19 = $s$addr$0$lcssa; + $y$010 = $x$addr$0$lcssa$off0; while (1) { - if (___toread($3) | 0) break; - $33 = FUNCTION_TABLE_iiii[HEAP32[$29 >> 2] & 63]($3, $$15759, $$160) | 0; - if (($33 + 1 | 0) >>> 0 < 2) break; - $40 = $$160 - $33 | 0; - if (!$40) { - label = 13; - break L7; - } else { - $$15759 = $$15759 + $33 | 0; - $$160 = $40; - } + $y$010$looptemp = $y$010; + $y$010 = ($y$010 >>> 0) / 10 | 0; + $incdec$ptr7 = $s$addr$19 + -1 | 0; + HEAP8[$incdec$ptr7 >> 0] = $y$010$looptemp - ($y$010 * 10 | 0) | 48; + if ($y$010$looptemp >>> 0 < 10) { + $s$addr$1$lcssa = $incdec$ptr7; + break; + } else $s$addr$19 = $incdec$ptr7; } - if ($37 | 0) ___unlockfile($3); - $$0 = (($4 - $$160 | 0) >>> 0) / ($1 >>> 0) | 0; - } while (0); - if ((label | 0) == 13) if (!$37) $$0 = $spec$select; else { - ___unlockfile($3); - $$0 = $spec$select; } - return $$0 | 0; + return $s$addr$1$lcssa | 0; } -function __ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_6vectorIN6vision7Point3dIfEENS_9allocatorIS5_EEEEEENS_22__unordered_map_hasherIiS9_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS9_NS_8equal_toIiEELb1EEENS6_IS9_EEE6rehashEm($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $$sroa$speculated = 0, $22 = 0, $27 = 0, $30 = 0, $8 = 0; - if (($1 | 0) != 1) if (!($1 + -1 & $1)) $$0 = $1; else $$0 = __ZNSt3__212__next_primeEm($1) | 0; else $$0 = 2; - $8 = HEAP32[$0 + 4 >> 2] | 0; - if ($$0 >>> 0 <= $8 >>> 0) { - if ($$0 >>> 0 < $8 >>> 0) { - $22 = ~~+Math_ceil(+(+((HEAP32[$0 + 12 >> 2] | 0) >>> 0) / +HEAPF32[$0 + 16 >> 2])) >>> 0; - if ($8 >>> 0 > 2 & ($8 + -1 & $8 | 0) == 0) { - $27 = 1 << 32 - (Math_clz32($22 + -1 | 0) | 0); - $30 = $22 >>> 0 < 2 ? $22 : $27; - } else $30 = __ZNSt3__212__next_primeEm($22) | 0; - $$sroa$speculated = $$0 >>> 0 < $30 >>> 0 ? $30 : $$0; - if ($$sroa$speculated >>> 0 < $8 >>> 0) __ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_6vectorIN6vision7Point3dIfEENS_9allocatorIS5_EEEEEENS_22__unordered_map_hasherIiS9_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS9_NS_8equal_toIiEELb1EEENS6_IS9_EEE8__rehashEm($0, $$sroa$speculated); - } - } else __ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_6vectorIN6vision7Point3dIfEENS_9allocatorIS5_EEEEEENS_22__unordered_map_hasherIiS9_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS9_NS_8equal_toIiEELb1EEENS6_IS9_EEE8__rehashEm($0, $$0); - return; +function __ZN6vision5Timer4stopEv($this) { + $this = $this | 0; + var $call$i1$i = 0, $call$i2$i = 0, $call6 = 0, $ref$tmp$i = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $ref$tmp$i = sp; + if (!(+HEAPF64[$this >> 3] >= 0.0)) { + $call6 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(66656, 39644) | 0, 39683) | 0, 39794) | 0, 67) | 0, 39801) | 0, 39804) | 0; + __ZNKSt3__28ios_base6getlocEv($ref$tmp$i, $call6 + (HEAP32[(HEAP32[$call6 >> 2] | 0) + -12 >> 2] | 0) | 0); + $call$i1$i = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp$i, 67360) | 0; + $call$i2$i = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call$i1$i >> 2] | 0) + 28 >> 2] & 127]($call$i1$i, 10) | 0; + __ZNSt3__26localeD2Ev($ref$tmp$i); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($call6, $call$i2$i) | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($call6) | 0; + _abort(); + } else { + _gettimeofday($ref$tmp$i | 0, 0) | 0; + HEAPF64[$this + 8 >> 3] = +(HEAP32[$ref$tmp$i + 4 >> 2] | 0) * 1.0e-06 + +(HEAP32[$ref$tmp$i >> 2] | 0); + STACKTOP = sp; + return; + } } -function __ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_10shared_ptrIN6vision8KeyframeILi96EEEEEEENS_22__unordered_map_hasherIiS7_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS7_NS_8equal_toIiEELb1EEENS_9allocatorIS7_EEE6rehashEm($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $$sroa$speculated = 0, $22 = 0, $27 = 0, $30 = 0, $8 = 0; - if (($1 | 0) != 1) if (!($1 + -1 & $1)) $$0 = $1; else $$0 = __ZNSt3__212__next_primeEm($1) | 0; else $$0 = 2; - $8 = HEAP32[$0 + 4 >> 2] | 0; - if ($$0 >>> 0 <= $8 >>> 0) { - if ($$0 >>> 0 < $8 >>> 0) { - $22 = ~~+Math_ceil(+(+((HEAP32[$0 + 12 >> 2] | 0) >>> 0) / +HEAPF32[$0 + 16 >> 2])) >>> 0; - if ($8 >>> 0 > 2 & ($8 + -1 & $8 | 0) == 0) { - $27 = 1 << 32 - (Math_clz32($22 + -1 | 0) | 0); - $30 = $22 >>> 0 < 2 ? $22 : $27; - } else $30 = __ZNSt3__212__next_primeEm($22) | 0; - $$sroa$speculated = $$0 >>> 0 < $30 >>> 0 ? $30 : $$0; - if ($$sroa$speculated >>> 0 < $8 >>> 0) __ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_10shared_ptrIN6vision8KeyframeILi96EEEEEEENS_22__unordered_map_hasherIiS7_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS7_NS_8equal_toIiEELb1EEENS_9allocatorIS7_EEE8__rehashEm($0, $$sroa$speculated); - } - } else __ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_10shared_ptrIN6vision8KeyframeILi96EEEEEEENS_22__unordered_map_hasherIiS7_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS7_NS_8equal_toIiEELb1EEENS_9allocatorIS7_EEE8__rehashEm($0, $$0); +function __ZNK12_GLOBAL__N_116itanium_demangle13ObjCProtoName9printLeftERNS_12OutputStreamE($this, $S) { + $this = $this | 0; + $S = $S | 0; + var $1 = 0, $6 = 0, $7 = 0, $agg$tmp = 0, $agg$tmp2 = 0, $agg$tmp4 = 0, $agg$tmp4$byval_copy = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 32 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); + $agg$tmp4$byval_copy = sp + 24 | 0; + $agg$tmp = sp + 16 | 0; + $agg$tmp2 = sp; + $agg$tmp4 = sp + 8 | 0; + __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(HEAP32[$this + 8 >> 2] | 0, $S); + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, 52992); + HEAP32[$agg$tmp4$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp4$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp4$byval_copy); + $1 = $this + 12 | 0; + $6 = HEAP32[$1 + 4 >> 2] | 0; + $7 = $agg$tmp2; + HEAP32[$7 >> 2] = HEAP32[$1 >> 2]; + HEAP32[$7 + 4 >> 2] = $6; + HEAP32[$agg$tmp4$byval_copy >> 2] = HEAP32[$agg$tmp2 >> 2]; + HEAP32[$agg$tmp4$byval_copy + 4 >> 2] = HEAP32[$agg$tmp2 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp4$byval_copy); + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp4, 52885); + HEAP32[$agg$tmp4$byval_copy >> 2] = HEAP32[$agg$tmp4 >> 2]; + HEAP32[$agg$tmp4$byval_copy + 4 >> 2] = HEAP32[$agg$tmp4 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp4$byval_copy); + STACKTOP = sp; return; } -function __ZNSt3__225__num_get_signed_integralIlEET_PKcS3_Rji($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $$0 = 0, $$1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $15 = 0, $4 = 0, $6 = 0, $7 = 0, $8 = 0, sp = 0; +function __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc($this, $__c) { + $this = $this | 0; + $__c = $__c | 0; + var $0 = 0, $4 = 0, $__c$addr = 0, $__cap$0 = 0, $__p$0 = 0, $__size_$i = 0, $__sz$0 = 0, $call12$pn = 0, $ref$tmp = 0, $tobool$i = 0, label = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $4 = sp; - if (($0 | 0) == ($1 | 0)) { - HEAP32[$2 >> 2] = 4; - $$1 = 0; + $__c$addr = sp; + $ref$tmp = sp + 1 | 0; + HEAP8[$__c$addr >> 0] = $__c; + $__size_$i = $this + 11 | 0; + $0 = HEAP8[$__size_$i >> 0] | 0; + $tobool$i = $0 << 24 >> 24 < 0; + if ($tobool$i) { + $__cap$0 = (HEAP32[$this + 8 >> 2] & 2147483647) + -1 | 0; + $__sz$0 = HEAP32[$this + 4 >> 2] | 0; } else { - $6 = ___errno_location() | 0; - $7 = HEAP32[$6 >> 2] | 0; - $8 = ___errno_location() | 0; - HEAP32[$8 >> 2] = 0; - $10 = _strtoll_l($0, $4, $3, __ZNSt3__26__clocEv() | 0) | 0; - $11 = getTempRet0() | 0; - $12 = ___errno_location() | 0; - $13 = HEAP32[$12 >> 2] | 0; - if (!$13) { - $15 = ___errno_location() | 0; - HEAP32[$15 >> 2] = $7; - } - L7 : do if ((HEAP32[$4 >> 2] | 0) == ($1 | 0)) { - do if (($13 | 0) == 68) { - HEAP32[$2 >> 2] = 4; - if (($11 | 0) > 0 | ($11 | 0) == 0 & $10 >>> 0 > 0) { - $$0 = 2147483647; - break L7; - } - } else { - if (($11 | 0) < -1 | ($11 | 0) == -1 & $10 >>> 0 < 2147483648) { - HEAP32[$2 >> 2] = 4; - break; - } - if (($11 | 0) > 0 | ($11 | 0) == 0 & $10 >>> 0 > 2147483647) { - HEAP32[$2 >> 2] = 4; - $$0 = 2147483647; - break L7; - } else { - $$0 = $10; - break L7; - } - } while (0); - $$0 = -2147483648; - } else { - HEAP32[$2 >> 2] = 4; - $$0 = 0; - } while (0); - $$1 = $$0; + $__cap$0 = 10; + $__sz$0 = $0 & 255; + } + if (($__sz$0 | 0) == ($__cap$0 | 0)) { + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9__grow_byEmmmmmm($this, $__cap$0, 1, $__cap$0, $__cap$0, 0, 0); + if ((HEAP8[$__size_$i >> 0] | 0) < 0) label = 8; else label = 7; + } else if ($tobool$i) label = 8; else label = 7; + if ((label | 0) == 7) { + HEAP8[$__size_$i >> 0] = $__sz$0 + 1; + $call12$pn = $this; + } else if ((label | 0) == 8) { + $4 = HEAP32[$this >> 2] | 0; + HEAP32[$this + 4 >> 2] = $__sz$0 + 1; + $call12$pn = $4; + } + $__p$0 = $call12$pn + $__sz$0 | 0; + __ZNSt3__211char_traitsIcE6assignERcRKc($__p$0, $__c$addr); + HEAP8[$ref$tmp >> 0] = 0; + __ZNSt3__211char_traitsIcE6assignERcRKc($__p$0 + 1 | 0, $ref$tmp); + STACKTOP = sp; + return; +} + +function __ZNK12_GLOBAL__N_116itanium_demangle10PrefixExpr9printLeftERNS_12OutputStreamE($this, $S) { + $this = $this | 0; + $S = $S | 0; + var $0 = 0, $5 = 0, $6 = 0, $agg$tmp = 0, $agg$tmp2 = 0, $agg$tmp4 = 0, $agg$tmp4$byval_copy = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 32 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); + $agg$tmp4$byval_copy = sp + 24 | 0; + $agg$tmp = sp; + $agg$tmp2 = sp + 16 | 0; + $agg$tmp4 = sp + 8 | 0; + $0 = $this + 8 | 0; + $5 = HEAP32[$0 + 4 >> 2] | 0; + $6 = $agg$tmp; + HEAP32[$6 >> 2] = HEAP32[$0 >> 2]; + HEAP32[$6 + 4 >> 2] = $5; + HEAP32[$agg$tmp4$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp4$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp4$byval_copy); + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp2, 52810); + HEAP32[$agg$tmp4$byval_copy >> 2] = HEAP32[$agg$tmp2 >> 2]; + HEAP32[$agg$tmp4$byval_copy + 4 >> 2] = HEAP32[$agg$tmp2 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp4$byval_copy); + __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(HEAP32[$this + 16 >> 2] | 0, $S); + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp4, 52806); + HEAP32[$agg$tmp4$byval_copy >> 2] = HEAP32[$agg$tmp4 >> 2]; + HEAP32[$agg$tmp4$byval_copy + 4 >> 2] = HEAP32[$agg$tmp4 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp4$byval_copy); + STACKTOP = sp; + return; +} + +function __ZNK12_GLOBAL__N_116itanium_demangle9DotSuffix9printLeftERNS_12OutputStreamE($this, $s) { + $this = $this | 0; + $s = $s | 0; + var $1 = 0, $6 = 0, $7 = 0, $agg$tmp = 0, $agg$tmp2 = 0, $agg$tmp4 = 0, $agg$tmp4$byval_copy = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 32 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); + $agg$tmp4$byval_copy = sp + 24 | 0; + $agg$tmp = sp + 16 | 0; + $agg$tmp2 = sp; + $agg$tmp4 = sp + 8 | 0; + __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(HEAP32[$this + 8 >> 2] | 0, $s); + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, 55556); + HEAP32[$agg$tmp4$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp4$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($s, $agg$tmp4$byval_copy); + $1 = $this + 12 | 0; + $6 = HEAP32[$1 + 4 >> 2] | 0; + $7 = $agg$tmp2; + HEAP32[$7 >> 2] = HEAP32[$1 >> 2]; + HEAP32[$7 + 4 >> 2] = $6; + HEAP32[$agg$tmp4$byval_copy >> 2] = HEAP32[$agg$tmp2 >> 2]; + HEAP32[$agg$tmp4$byval_copy + 4 >> 2] = HEAP32[$agg$tmp2 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($s, $agg$tmp4$byval_copy); + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp4, 52806); + HEAP32[$agg$tmp4$byval_copy >> 2] = HEAP32[$agg$tmp4 >> 2]; + HEAP32[$agg$tmp4$byval_copy + 4 >> 2] = HEAP32[$agg$tmp4 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($s, $agg$tmp4$byval_copy); + STACKTOP = sp; + return; +} + +function _jpeg_idct_2x2($cinfo, $compptr, $coef_block, $output_buf, $output_col) { + $cinfo = $cinfo | 0; + $compptr = $compptr | 0; + $coef_block = $coef_block | 0; + $output_buf = $output_buf | 0; + $output_col = $output_col | 0; + var $1 = 0, $add = 0, $add$ptr = 0, $add$ptr18 = 0, $add$ptr28 = 0, $add15 = 0, $add6 = 0, $mul = 0, $mul10 = 0, $mul14 = 0, $mul5 = 0, $sub = 0, $sub16 = 0; + $add$ptr = (HEAP32[$cinfo + 336 >> 2] | 0) + -384 | 0; + $1 = HEAP32[$compptr + 84 >> 2] | 0; + $mul = Math_imul(HEAP32[$1 >> 2] | 0, HEAP16[$coef_block >> 1] | 0) | 0; + $mul5 = Math_imul(HEAP32[$1 + 32 >> 2] | 0, HEAP16[$coef_block + 16 >> 1] | 0) | 0; + $add = $mul + 4100 | 0; + $add6 = $mul5 + $add | 0; + $sub = $add - $mul5 | 0; + $mul10 = Math_imul(HEAP32[$1 + 4 >> 2] | 0, HEAP16[$coef_block + 2 >> 1] | 0) | 0; + $mul14 = Math_imul(HEAP32[$1 + 36 >> 2] | 0, HEAP16[$coef_block + 18 >> 1] | 0) | 0; + $add15 = $mul14 + $mul10 | 0; + $sub16 = $mul10 - $mul14 | 0; + $add$ptr18 = (HEAP32[$output_buf >> 2] | 0) + $output_col | 0; + HEAP8[$add$ptr18 >> 0] = HEAP8[$add$ptr + (($add15 + $add6 | 0) >>> 3 & 1023) >> 0] | 0; + HEAP8[$add$ptr18 + 1 >> 0] = HEAP8[$add$ptr + (($add6 - $add15 | 0) >>> 3 & 1023) >> 0] | 0; + $add$ptr28 = (HEAP32[$output_buf + 4 >> 2] | 0) + $output_col | 0; + HEAP8[$add$ptr28 >> 0] = HEAP8[$add$ptr + (($sub16 + $sub | 0) >>> 3 & 1023) >> 0] | 0; + HEAP8[$add$ptr28 + 1 >> 0] = HEAP8[$add$ptr + (($sub - $sub16 | 0) >>> 3 & 1023) >> 0] | 0; + return; +} + +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E13parseSimpleIdEv($this) { + $this = $this | 0; + var $SN = 0, $TA = 0, $call = 0, $call2 = 0, $call7 = 0, $retval$0 = 0, $retval$1 = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $SN = sp + 4 | 0; + $TA = sp; + $call = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0; + $call2 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseSourceNameEPNS5_9NameStateE($call) | 0; + HEAP32[$SN >> 2] = $call2; + if ($call2) if ((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($this, 0) | 0) << 24 >> 24 == 73) { + $call7 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E17parseTemplateArgsEb($call, 0) | 0; + HEAP32[$TA >> 2] = $call7; + if (!$call7) $retval$0 = 0; else $retval$0 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_20NameWithTemplateArgsEJRPNS0_4NodeESA_EEES9_DpOT0_($this, $SN, $TA) | 0; + $retval$1 = $retval$0; + } else $retval$1 = $call2; else $retval$1 = 0; + STACKTOP = sp; + return $retval$1 | 0; +} + +function __ZN6vision5Image11shallowCopyERKS0_($this, $image) { + $this = $this | 0; + $image = $image | 0; + var $$pre$phi$iZ2D = 0, $12 = 0, $6 = 0, $7 = 0, $__cntrl_$i$i = 0, $__cntrl_3$i2$i = 0, $__shared_owners_$i$i$i$i = 0, $mData8 = 0, $ref$tmp$i = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $ref$tmp$i = sp; + HEAP32[$this >> 2] = HEAP32[$image >> 2]; + HEAP32[$this + 4 >> 2] = HEAP32[$image + 4 >> 2]; + HEAP32[$this + 8 >> 2] = HEAP32[$image + 8 >> 2]; + HEAP32[$this + 12 >> 2] = HEAP32[$image + 12 >> 2]; + HEAP32[$this + 16 >> 2] = HEAP32[$image + 16 >> 2]; + HEAP32[$this + 20 >> 2] = HEAP32[$image + 20 >> 2]; + $mData8 = $this + 24 | 0; + $6 = HEAP32[$image + 24 >> 2] | 0; + HEAP32[$ref$tmp$i >> 2] = $6; + $__cntrl_$i$i = $ref$tmp$i + 4 | 0; + $7 = HEAP32[$image + 28 >> 2] | 0; + HEAP32[$__cntrl_$i$i >> 2] = $7; + if (!$7) { + $$pre$phi$iZ2D = $__cntrl_$i$i; + $12 = 0; + } else { + $__shared_owners_$i$i$i$i = $7 + 4 | 0; + HEAP32[$__shared_owners_$i$i$i$i >> 2] = (HEAP32[$__shared_owners_$i$i$i$i >> 2] | 0) + 1; + $$pre$phi$iZ2D = $__cntrl_$i$i; + $12 = HEAP32[$__cntrl_$i$i >> 2] | 0; } + HEAP32[$ref$tmp$i >> 2] = HEAP32[$mData8 >> 2]; + HEAP32[$mData8 >> 2] = $6; + $__cntrl_3$i2$i = $this + 28 | 0; + HEAP32[$$pre$phi$iZ2D >> 2] = HEAP32[$__cntrl_3$i2$i >> 2]; + HEAP32[$__cntrl_3$i2$i >> 2] = $12; + __ZNSt3__210shared_ptrIhED2Ev($ref$tmp$i); STACKTOP = sp; - return $$1 | 0; + return; } -function __ZN6vision27OrthogonalizePivot8x9Basis0IfEEbPT_S2_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $11 = 0.0, $14 = 0.0, $17 = 0.0, $2 = 0, $20 = 0.0, $23 = 0.0, $25 = 0, $26 = 0, $3 = 0.0, $4 = 0, $5 = 0.0, $8 = 0.0, sp = 0; +function __ZNK12_GLOBAL__N_116itanium_demangle15IntegerCastExpr9printLeftERNS_12OutputStreamE($this, $S) { + $this = $this | 0; + $S = $S | 0; + var $1 = 0, $6 = 0, $7 = 0, $agg$tmp = 0, $agg$tmp2 = 0, $agg$tmp4 = 0, $tmpcast$byval_copy = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 32 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $2 = sp; - $3 = +__ZN6vision11SumSquares9IfEET_PKS1_($1); - HEAPF32[$2 >> 2] = $3; - $4 = $1 + 36 | 0; - $5 = +__ZN6vision11SumSquares9IfEET_PKS1_($4); - HEAPF32[$2 + 4 >> 2] = $5; - $8 = +__ZN6vision11SumSquares9IfEET_PKS1_($1 + 72 | 0); - HEAPF32[$2 + 8 >> 2] = $8; - $11 = +__ZN6vision11SumSquares9IfEET_PKS1_($1 + 108 | 0); - HEAPF32[$2 + 12 >> 2] = $11; - $14 = +__ZN6vision11SumSquares9IfEET_PKS1_($1 + 144 | 0); - HEAPF32[$2 + 16 >> 2] = $14; - $17 = +__ZN6vision11SumSquares9IfEET_PKS1_($1 + 180 | 0); - HEAPF32[$2 + 20 >> 2] = $17; - $20 = +__ZN6vision11SumSquares9IfEET_PKS1_($1 + 216 | 0); - HEAPF32[$2 + 24 >> 2] = $20; - $23 = +__ZN6vision11SumSquares9IfEET_PKS1_($1 + 252 | 0); - HEAPF32[$2 + 28 >> 2] = $23; - $25 = __ZN6vision9MaxIndex8IfEEiPKT_($2) | 0; - $26 = $2 + ($25 << 2) | 0; - if (+HEAPF32[$26 >> 2] == 0.0) $$0 = 0; else { - __ZN6vision5Swap9IfEEvPT_S2_($1, $1 + ($25 * 9 << 2) | 0); - __ZN6vision12ScaleVector9IfEEvPT_PKS1_S1_($0, $1, 1.0 / +Math_sqrt(+(+HEAPF32[$26 >> 2]))); - __ZN6vision10CopyVectorIfEEvPT_PKS1_m($0 + 36 | 0, $4, 63); - $$0 = 1; - } - STACKTOP = sp; - return $$0 | 0; -} - -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E20parseFloatingLiteralIeEEPNS0_4NodeEv($0) { - $0 = $0 | 0; - var $$020 = 0, $$3 = 0, $$4 = 0, $1 = 0, $4 = 0, $6 = 0, $7 = 0, label = 0, sp = 0; + $tmpcast$byval_copy = sp + 24 | 0; + $agg$tmp = sp + 16 | 0; + $agg$tmp2 = sp + 8 | 0; + $agg$tmp4 = sp; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, 52810); + HEAP32[$tmpcast$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$tmpcast$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $tmpcast$byval_copy); + __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(HEAP32[$this + 8 >> 2] | 0, $S); + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp2, 52806); + HEAP32[$tmpcast$byval_copy >> 2] = HEAP32[$agg$tmp2 >> 2]; + HEAP32[$tmpcast$byval_copy + 4 >> 2] = HEAP32[$agg$tmp2 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $tmpcast$byval_copy); + $1 = $this + 12 | 0; + $6 = HEAP32[$1 + 4 >> 2] | 0; + $7 = $agg$tmp4; + HEAP32[$7 >> 2] = HEAP32[$1 >> 2]; + HEAP32[$7 + 4 >> 2] = $6; + HEAP32[$tmpcast$byval_copy >> 2] = HEAP32[$agg$tmp4 >> 2]; + HEAP32[$tmpcast$byval_copy + 4 >> 2] = HEAP32[$agg$tmp4 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $tmpcast$byval_copy); + STACKTOP = sp; + return; +} + +function __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6appendEPKwm($this, $__s, $__n) { + $this = $this | 0; + $__s = $__s | 0; + $__n = $__n | 0; + var $0 = 0, $1 = 0, $__size_$i$i = 0, $add = 0, $cond$i23 = 0, $cond$i28 = 0, $cond$i33 = 0, $ref$tmp = 0, $tobool$i$i = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $1 = sp; - if ((__ZNK12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E7numLeftEv($0) | 0) >>> 0 < 21) $$4 = 0; else { - $4 = HEAP32[$0 >> 2] | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKcS2_($1, $4, $4 + 20 | 0); - $6 = __ZNK12_GLOBAL__N_110StringView5beginEv($1) | 0; - $7 = __ZNK12_GLOBAL__N_110StringView3endEv($1) | 0; - $$020 = $6; - while (1) { - if (($$020 | 0) == ($7 | 0)) { - label = 5; - break; - } - if (!(_isxdigit(HEAP8[$$020 >> 0] | 0) | 0)) { - $$3 = 0; - break; - } else $$020 = $$020 + 1 | 0; + $ref$tmp = sp; + $0 = $this + 8 | 0; + $__size_$i$i = $0 + 3 | 0; + $1 = HEAP8[$__size_$i$i >> 0] | 0; + $tobool$i$i = $1 << 24 >> 24 < 0; + if ($tobool$i$i) { + $cond$i23 = HEAP32[$this + 4 >> 2] | 0; + $cond$i33 = (HEAP32[$0 >> 2] & 2147483647) + -1 | 0; + } else { + $cond$i23 = $1 & 255; + $cond$i33 = 1; + } + if (($cond$i33 - $cond$i23 | 0) >>> 0 >= $__n >>> 0) { + if ($__n | 0) { + if ($tobool$i$i) $cond$i28 = HEAP32[$this >> 2] | 0; else $cond$i28 = $this; + __ZNSt3__211char_traitsIwE4copyEPwPKwm($cond$i28 + ($cond$i23 << 2) | 0, $__s, $__n) | 0; + $add = $cond$i23 + $__n | 0; + if ((HEAP8[$__size_$i$i >> 0] | 0) < 0) HEAP32[$this + 4 >> 2] = $add; else HEAP8[$__size_$i$i >> 0] = $add; + HEAP32[$ref$tmp >> 2] = 0; + __ZNSt3__211char_traitsIwE6assignERwRKw($cond$i28 + ($add << 2) | 0, $ref$tmp); } - if ((label | 0) == 5) { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 20; - if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($0, 69) | 0) $$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_16FloatLiteralImplIeEEJRNS_10StringViewEEEEPNS0_4NodeEDpOT0_($0, $1) | 0; else $$3 = 0; + } else __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE21__grow_by_and_replaceEmmmmmmPKw($this, $cond$i33, $cond$i23 + $__n - $cond$i33 | 0, $cond$i23, $cond$i23, 0, $__n, $__s); + STACKTOP = sp; + return $this | 0; +} + +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E26resolveForwardTemplateRefsERNS5_9NameStateE($this, $State) { + $this = $this | 0; + $State = $State | 0; + var $0 = 0, $1 = 0, $2 = 0, $ForwardTemplateRefs = 0, $I$0 = 0, $TemplateParams = 0, $call = 0, $call3 = 0, $call7 = 0, $retval$2 = 0, label = 0; + $0 = HEAP32[$State + 12 >> 2] | 0; + $ForwardTemplateRefs = $this + 332 | 0; + $call = __ZNK12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_24ForwardTemplateReferenceELm4EE4sizeEv($ForwardTemplateRefs) | 0; + $TemplateParams = $this + 288 | 0; + $I$0 = $0; + while (1) { + if ($I$0 >>> 0 >= $call >>> 0) { + label = 5; + break; + } + $call3 = __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_24ForwardTemplateReferenceELm4EEixEm($ForwardTemplateRefs, $I$0) | 0; + $1 = HEAP32[$call3 >> 2] | 0; + $2 = HEAP32[$1 + 8 >> 2] | 0; + if ($2 >>> 0 >= (__ZNK12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm8EE4sizeEv($TemplateParams) | 0) >>> 0) { + $retval$2 = 1; + break; } - $$4 = $$3; + $call7 = __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm8EEixEm($TemplateParams, $2) | 0; + HEAP32[$1 + 12 >> 2] = HEAP32[$call7 >> 2]; + $I$0 = $I$0 + 1 | 0; } + if ((label | 0) == 5) { + __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_24ForwardTemplateReferenceELm4EE8dropBackEm($ForwardTemplateRefs, $0); + $retval$2 = 0; + } + return $retval$2 | 0; +} + +function __ZNK12_GLOBAL__N_116itanium_demangle11PostfixExpr9printLeftERNS_12OutputStreamE($this, $S) { + $this = $this | 0; + $S = $S | 0; + var $1 = 0, $6 = 0, $7 = 0, $agg$tmp = 0, $agg$tmp2 = 0, $agg$tmp4 = 0, $tmpcast$byval_copy = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 32 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); + $tmpcast$byval_copy = sp + 24 | 0; + $agg$tmp = sp + 16 | 0; + $agg$tmp2 = sp + 8 | 0; + $agg$tmp4 = sp; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, 52810); + HEAP32[$tmpcast$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$tmpcast$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $tmpcast$byval_copy); + __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(HEAP32[$this + 8 >> 2] | 0, $S); + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp2, 52806); + HEAP32[$tmpcast$byval_copy >> 2] = HEAP32[$agg$tmp2 >> 2]; + HEAP32[$tmpcast$byval_copy + 4 >> 2] = HEAP32[$agg$tmp2 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $tmpcast$byval_copy); + $1 = $this + 12 | 0; + $6 = HEAP32[$1 + 4 >> 2] | 0; + $7 = $agg$tmp4; + HEAP32[$7 >> 2] = HEAP32[$1 >> 2]; + HEAP32[$7 + 4 >> 2] = $6; + HEAP32[$tmpcast$byval_copy >> 2] = HEAP32[$agg$tmp4 >> 2]; + HEAP32[$tmpcast$byval_copy + 4 >> 2] = HEAP32[$agg$tmp4 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $tmpcast$byval_copy); STACKTOP = sp; - return $$4 | 0; + return; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E20parseFloatingLiteralIdEEPNS0_4NodeEv($0) { - $0 = $0 | 0; - var $$020 = 0, $$3 = 0, $$4 = 0, $1 = 0, $4 = 0, $6 = 0, $7 = 0, label = 0, sp = 0; +function __ZNK12_GLOBAL__N_116itanium_demangle12TemplateArgs9printLeftERNS_12OutputStreamE($this, $S) { + $this = $this | 0; + $S = $S | 0; + var $agg$tmp = 0, $agg$tmp3 = 0, $agg$tmp5 = 0, $agg$tmp5$byval_copy = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 32 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); + $agg$tmp5$byval_copy = sp + 24 | 0; + $agg$tmp = sp + 16 | 0; + $agg$tmp3 = sp + 8 | 0; + $agg$tmp5 = sp; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, 52992); + HEAP32[$agg$tmp5$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp5$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp5$byval_copy); + __ZNK12_GLOBAL__N_116itanium_demangle9NodeArray14printWithCommaERNS_12OutputStreamE($this + 8 | 0, $S); + if ((__ZNK12_GLOBAL__N_112OutputStream4backEv($S) | 0) << 24 >> 24 == 62) { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp3, 52808); + HEAP32[$agg$tmp5$byval_copy >> 2] = HEAP32[$agg$tmp3 >> 2]; + HEAP32[$agg$tmp5$byval_copy + 4 >> 2] = HEAP32[$agg$tmp3 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp5$byval_copy); + } + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp5, 52885); + HEAP32[$agg$tmp5$byval_copy >> 2] = HEAP32[$agg$tmp5 >> 2]; + HEAP32[$agg$tmp5$byval_copy + 4 >> 2] = HEAP32[$agg$tmp5 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp5$byval_copy); + STACKTOP = sp; + return; +} + +function _alloc_large($cinfo, $pool_id, $sizeofobject) { + $cinfo = $cinfo | 0; + $pool_id = $pool_id | 0; + $sizeofobject = $sizeofobject | 0; + var $0 = 0, $1 = 0, $5 = 0, $8 = 0, $add12 = 0, $arrayidx18 = 0, $call = 0, $rem = 0, $sizeofobject$addr$0 = 0, $total_space_allocated = 0; + $0 = HEAP32[$cinfo + 4 >> 2] | 0; + if ($sizeofobject >>> 0 > 999999984) { + $1 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$1 + 20 >> 2] = 56; + HEAP32[$1 + 24 >> 2] = 3; + FUNCTION_TABLE_vi[HEAP32[HEAP32[$cinfo >> 2] >> 2] & 255]($cinfo); + } + $rem = $sizeofobject & 7; + $sizeofobject$addr$0 = (($rem | 0) == 0 ? 0 : 8 - $rem | 0) + $sizeofobject | 0; + if ($pool_id >>> 0 > 1) { + $5 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$5 + 20 >> 2] = 15; + HEAP32[$5 + 24 >> 2] = $pool_id; + FUNCTION_TABLE_vi[HEAP32[HEAP32[$cinfo >> 2] >> 2] & 255]($cinfo); + } + $add12 = $sizeofobject$addr$0 + 16 | 0; + $call = _jpeg_get_large($cinfo, $add12) | 0; + if (!$call) { + $8 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$8 + 20 >> 2] = 56; + HEAP32[$8 + 24 >> 2] = 4; + FUNCTION_TABLE_vi[HEAP32[HEAP32[$cinfo >> 2] >> 2] & 255]($cinfo); + } + $total_space_allocated = $0 + 76 | 0; + HEAP32[$total_space_allocated >> 2] = (HEAP32[$total_space_allocated >> 2] | 0) + $add12; + $arrayidx18 = $0 + 60 + ($pool_id << 2) | 0; + HEAP32[$call >> 2] = HEAP32[$arrayidx18 >> 2]; + HEAP32[$call + 4 >> 2] = $sizeofobject$addr$0; + HEAP32[$call + 8 >> 2] = 0; + HEAP32[$arrayidx18 >> 2] = $call; + return $call + 16 | 0; +} + +function __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($this, $__c) { + $this = $this | 0; + $__c = $__c | 0; + var $1 = 0, $2 = 0, $3 = 0, $6 = 0, $__nout_$i$i = 0, $__s = 0, $add$ptr = 0, $call$i$i = 0, $retval$0$i$i = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $1 = sp; - if ((__ZNK12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E7numLeftEv($0) | 0) >>> 0 < 17) $$4 = 0; else { - $4 = HEAP32[$0 >> 2] | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKcS2_($1, $4, $4 + 16 | 0); - $6 = __ZNK12_GLOBAL__N_110StringView5beginEv($1) | 0; - $7 = __ZNK12_GLOBAL__N_110StringView3endEv($1) | 0; - $$020 = $6; - while (1) { - if (($$020 | 0) == ($7 | 0)) { - label = 5; - break; + $__s = sp; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE6sentryC2ERS3_($__s, $this); + do if (HEAP8[$__s >> 0] | 0) { + $1 = HEAP32[$this + (HEAP32[(HEAP32[$this >> 2] | 0) + -12 >> 2] | 0) + 24 >> 2] | 0; + $2 = $1; + if ($1 | 0) { + $__nout_$i$i = $2 + 24 | 0; + $3 = HEAP32[$__nout_$i$i >> 2] | 0; + if (($3 | 0) == (HEAP32[$2 + 28 >> 2] | 0)) { + $6 = HEAP32[(HEAP32[$1 >> 2] | 0) + 52 >> 2] | 0; + $call$i$i = __ZNSt3__211char_traitsIcE11to_int_typeEc($__c) | 0; + $retval$0$i$i = FUNCTION_TABLE_iii[$6 & 127]($2, $call$i$i) | 0; + } else { + HEAP32[$__nout_$i$i >> 2] = $3 + 1; + HEAP8[$3 >> 0] = $__c; + $retval$0$i$i = __ZNSt3__211char_traitsIcE11to_int_typeEc($__c) | 0; } - if (!(_isxdigit(HEAP8[$$020 >> 0] | 0) | 0)) { - $$3 = 0; - break; - } else $$020 = $$020 + 1 | 0; - } - if ((label | 0) == 5) { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 16; - if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($0, 69) | 0) $$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_16FloatLiteralImplIdEEJRNS_10StringViewEEEEPNS0_4NodeEDpOT0_($0, $1) | 0; else $$3 = 0; + if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii($retval$0$i$i, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) break; } - $$4 = $$3; - } + $add$ptr = $this + (HEAP32[(HEAP32[$this >> 2] | 0) + -12 >> 2] | 0) | 0; + __ZNSt3__28ios_base5clearEj($add$ptr, HEAP32[$add$ptr + 16 >> 2] | 1); + } while (0); + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE6sentryD2Ev($__s); STACKTOP = sp; - return $$4 | 0; + return $this | 0; } -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle7NewExprEJRNS2_9NodeArrayERPNS2_4NodeES5_RbS9_EEEPT_DpOT0_($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $14 = 0, $15 = 0, $19 = 0, $20 = 0, $25 = 0, $26 = 0, $31 = 0, $33 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $tmpcast$byval_copy = 0, $tmpcast6$byval_copy = 0, sp = 0; +function __ZNK12_GLOBAL__N_116itanium_demangle10DeleteExpr9printLeftERNS_12OutputStreamE($this, $S) { + $this = $this | 0; + $S = $S | 0; + var $agg$tmp = 0, $agg$tmp2 = 0, $agg$tmp6 = 0, $agg$tmp6$byval_copy = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 32 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $tmpcast6$byval_copy = sp + 24 | 0; - $tmpcast$byval_copy = sp + 16 | 0; - $6 = sp + 8 | 0; - $7 = sp; - $8 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 32) | 0; - $9 = $1; - $14 = HEAP32[$9 + 4 >> 2] | 0; - $15 = $6; - HEAP32[$15 >> 2] = HEAP32[$9 >> 2]; - HEAP32[$15 + 4 >> 2] = $14; - $19 = HEAP32[$2 >> 2] | 0; - $20 = $3; - $25 = HEAP32[$20 + 4 >> 2] | 0; - $26 = $7; - HEAP32[$26 >> 2] = HEAP32[$20 >> 2]; - HEAP32[$26 + 4 >> 2] = $25; - $31 = (HEAP8[$4 >> 0] | 0) != 0; - $33 = (HEAP8[$5 >> 0] | 0) != 0; - HEAP32[$tmpcast$byval_copy >> 2] = HEAP32[$6 >> 2]; - HEAP32[$tmpcast$byval_copy + 4 >> 2] = HEAP32[$6 + 4 >> 2]; - HEAP32[$tmpcast6$byval_copy >> 2] = HEAP32[$7 >> 2]; - HEAP32[$tmpcast6$byval_copy + 4 >> 2] = HEAP32[$7 + 4 >> 2]; - __ZN12_GLOBAL__N_116itanium_demangle7NewExprC2ENS0_9NodeArrayEPNS0_4NodeES2_bb($8, $tmpcast$byval_copy, $19, $tmpcast6$byval_copy, $31, $33); + $agg$tmp6$byval_copy = sp + 24 | 0; + $agg$tmp = sp + 16 | 0; + $agg$tmp2 = sp + 8 | 0; + $agg$tmp6 = sp; + if (HEAP8[$this + 12 >> 0] | 0) { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, 54540); + HEAP32[$agg$tmp6$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp6$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp6$byval_copy); + } + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp2, 55336); + HEAP32[$agg$tmp6$byval_copy >> 2] = HEAP32[$agg$tmp2 >> 2]; + HEAP32[$agg$tmp6$byval_copy + 4 >> 2] = HEAP32[$agg$tmp2 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp6$byval_copy); + if (HEAP8[$this + 13 >> 0] | 0) { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp6, 55343); + HEAP32[$agg$tmp6$byval_copy >> 2] = HEAP32[$agg$tmp6 >> 2]; + HEAP32[$agg$tmp6$byval_copy + 4 >> 2] = HEAP32[$agg$tmp6 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp6$byval_copy); + } + __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(HEAP32[$this + 8 >> 2] | 0, $S); STACKTOP = sp; - return $8 | 0; + return; } -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle7NewExprEJRNS2_9NodeArrayERPNS2_4NodeES4_RbS9_EEEPT_DpOT0_($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $14 = 0, $15 = 0, $19 = 0, $20 = 0, $25 = 0, $26 = 0, $31 = 0, $33 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $tmpcast$byval_copy = 0, $tmpcast6$byval_copy = 0, sp = 0; +function __ZNSt3__215basic_streambufIwNS_11char_traitsIwEEE6xsputnEPKwl($this, $__s, $__n) { + $this = $this | 0; + $__s = $__s | 0; + $__n = $__n | 0; + var $$sroa$speculated = 0, $0 = 0, $1 = 0, $2 = 0, $__eout_ = 0, $__i$0 = 0, $__i$0$be = 0, $__nout_ = 0, $__s$addr$0 = 0, $__s$addr$0$be = 0, $call = 0, $call3 = 0, $sub = 0, $sub$ptr$div = 0; + $call = __ZNSt3__211char_traitsIwE3eofEv() | 0; + $__nout_ = $this + 24 | 0; + $__eout_ = $this + 28 | 0; + $__i$0 = 0; + $__s$addr$0 = $__s; + while (1) { + if (($__i$0 | 0) >= ($__n | 0)) break; + $0 = HEAP32[$__nout_ >> 2] | 0; + $1 = HEAP32[$__eout_ >> 2] | 0; + if ($0 >>> 0 < $1 >>> 0) { + $sub$ptr$div = $1 - $0 >> 2; + $sub = $__n - $__i$0 | 0; + $$sroa$speculated = ($sub | 0) < ($sub$ptr$div | 0) ? $sub : $sub$ptr$div; + __ZNSt3__211char_traitsIwE4copyEPwPKwm($0, $__s$addr$0, $$sroa$speculated) | 0; + HEAP32[$__nout_ >> 2] = (HEAP32[$__nout_ >> 2] | 0) + ($$sroa$speculated << 2); + $__i$0$be = $$sroa$speculated + $__i$0 | 0; + $__s$addr$0$be = $__s$addr$0 + ($$sroa$speculated << 2) | 0; + } else { + $2 = HEAP32[(HEAP32[$this >> 2] | 0) + 52 >> 2] | 0; + $call3 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$__s$addr$0 >> 2] | 0) | 0; + if ((FUNCTION_TABLE_iii[$2 & 127]($this, $call3) | 0) == ($call | 0)) break; + $__i$0$be = $__i$0 + 1 | 0; + $__s$addr$0$be = $__s$addr$0 + 4 | 0; + } + $__i$0 = $__i$0$be; + $__s$addr$0 = $__s$addr$0$be; + } + return $__i$0 | 0; +} + +function _jpeg_CreateDecompress($cinfo, $version, $structsize) { + $cinfo = $cinfo | 0; + $version = $version | 0; + $structsize = $structsize | 0; + var $$pre$phiZ2D = 0, $0 = 0, $4 = 0, $8 = 0, $9 = 0, $client_data25 = 0, dest = 0, stop = 0; + HEAP32[$cinfo + 4 >> 2] = 0; + if (($version | 0) != 90) { + $0 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$0 + 20 >> 2] = 13; + HEAP32[$0 + 24 >> 2] = 90; + HEAP32[(HEAP32[$cinfo >> 2] | 0) + 28 >> 2] = $version; + FUNCTION_TABLE_vi[HEAP32[HEAP32[$cinfo >> 2] >> 2] & 255]($cinfo); + } + if (($structsize | 0) == 488) $$pre$phiZ2D = $cinfo; else { + $4 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$4 + 20 >> 2] = 22; + HEAP32[$4 + 24 >> 2] = 488; + HEAP32[(HEAP32[$cinfo >> 2] | 0) + 28 >> 2] = $structsize; + FUNCTION_TABLE_vi[HEAP32[HEAP32[$cinfo >> 2] >> 2] & 255]($cinfo); + $$pre$phiZ2D = $cinfo; + } + $8 = HEAP32[$cinfo >> 2] | 0; + $client_data25 = $cinfo + 12 | 0; + $9 = HEAP32[$client_data25 >> 2] | 0; + _memset($cinfo + 4 | 0, 0, 484) | 0; + HEAP32[$cinfo >> 2] = $8; + HEAP32[$client_data25 >> 2] = $9; + HEAP32[$cinfo + 16 >> 2] = 1; + _jinit_memory_mgr($$pre$phiZ2D); + HEAP32[$cinfo + 8 >> 2] = 0; + HEAP32[$cinfo + 24 >> 2] = 0; + HEAP32[$cinfo + 312 >> 2] = 0; + dest = $cinfo + 164 | 0; + stop = dest + 48 | 0; + do { + HEAP32[dest >> 2] = 0; + dest = dest + 4 | 0; + } while ((dest | 0) < (stop | 0)); + _jinit_marker_reader($cinfo); + _jinit_input_controller($cinfo); + HEAP32[$cinfo + 20 >> 2] = 200; + return; +} + +function __ZN6vision22SolveHomography4PointsIfEEbPT_PKS1_S4_S4_S4_S4_S4_S4_S4_($H, $x1, $x2, $x3, $x4, $xp1, $xp2, $xp3, $xp4) { + $H = $H | 0; + $x1 = $x1 | 0; + $x2 = $x2 | 0; + $x3 = $x3 | 0; + $x4 = $x4 | 0; + $xp1 = $xp1 | 0; + $xp2 = $xp2 | 0; + $xp3 = $xp3 | 0; + $xp4 = $xp4 | 0; + var $Hn = 0, $retval$0 = 0, $s = 0, $sp = 0, $t = 0, $tp = 0, $x1p = 0, $x2p = 0, $x3p = 0, $x4p = 0, $xp1p = 0, $xp2p = 0, $xp3p = 0, $xp4p = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $tmpcast6$byval_copy = sp + 24 | 0; - $tmpcast$byval_copy = sp + 16 | 0; - $6 = sp + 8 | 0; - $7 = sp; - $8 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 32) | 0; - $9 = $1; - $14 = HEAP32[$9 + 4 >> 2] | 0; - $15 = $6; - HEAP32[$15 >> 2] = HEAP32[$9 >> 2]; - HEAP32[$15 + 4 >> 2] = $14; - $19 = HEAP32[$2 >> 2] | 0; - $20 = $3; - $25 = HEAP32[$20 + 4 >> 2] | 0; - $26 = $7; - HEAP32[$26 >> 2] = HEAP32[$20 >> 2]; - HEAP32[$26 + 4 >> 2] = $25; - $31 = (HEAP8[$4 >> 0] | 0) != 0; - $33 = (HEAP8[$5 >> 0] | 0) != 0; - HEAP32[$tmpcast$byval_copy >> 2] = HEAP32[$6 >> 2]; - HEAP32[$tmpcast$byval_copy + 4 >> 2] = HEAP32[$6 + 4 >> 2]; - HEAP32[$tmpcast6$byval_copy >> 2] = HEAP32[$7 >> 2]; - HEAP32[$tmpcast6$byval_copy + 4 >> 2] = HEAP32[$7 + 4 >> 2]; - __ZN12_GLOBAL__N_116itanium_demangle7NewExprC2ENS0_9NodeArrayEPNS0_4NodeES2_bb($8, $tmpcast$byval_copy, $19, $tmpcast6$byval_copy, $31, $33); + STACKTOP = STACKTOP + 128 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(128); + $Hn = sp; + $s = sp + 124 | 0; + $sp = sp + 120 | 0; + $t = sp + 112 | 0; + $tp = sp + 104 | 0; + $x1p = sp + 96 | 0; + $x2p = sp + 88 | 0; + $x3p = sp + 80 | 0; + $x4p = sp + 72 | 0; + $xp1p = sp + 64 | 0; + $xp2p = sp + 56 | 0; + $xp3p = sp + 48 | 0; + $xp4p = sp + 40 | 0; + if ((__ZN6vision18Condition4Points2dIfEEbPT_S2_S2_S2_RS1_S2_PKS1_S5_S5_S5_($x1p, $x2p, $x3p, $x4p, $s, $t, $x1, $x2, $x3, $x4) | 0 ? __ZN6vision18Condition4Points2dIfEEbPT_S2_S2_S2_RS1_S2_PKS1_S5_S5_S5_($xp1p, $xp2p, $xp3p, $xp4p, $sp, $tp, $xp1, $xp2, $xp3, $xp4) | 0 : 0) ? __ZN6vision34SolveHomography4PointsInhomogenousIfEEbPT_PKS1_S4_S4_S4_S4_S4_S4_S4_($Hn, $x1p, $x2p, $x3p, $x4p, $xp1p, $xp2p, $xp3p, $xp4p) | 0 : 0) { + __ZN6vision21DenormalizeHomographyIfEEvPT_PKS1_S1_S4_S1_S4_($H, $Hn, +HEAPF32[$s >> 2], $t, +HEAPF32[$sp >> 2], $tp); + $retval$0 = 1; + } else $retval$0 = 0; STACKTOP = sp; - return $8 | 0; + return $retval$0 | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E20parseFloatingLiteralIfEEPNS0_4NodeEv($0) { - $0 = $0 | 0; - var $$020 = 0, $$3 = 0, $$4 = 0, $1 = 0, $4 = 0, $6 = 0, $7 = 0, label = 0, sp = 0; +function _icpGetMat_from_Q($mat, $q) { + $mat = $mat | 0; + $q = $q | 0; + var $0 = 0.0, $1 = 0.0, $14 = 0.0, $2 = 0.0, $25 = 0.0, $3 = 0.0, $arrayidx11 = 0, $arrayidx8 = 0, $sub = 0.0; + $0 = +HEAPF64[$q + 24 >> 3]; + $1 = +Math_cos(+$0); + $sub = 1.0 - $1; + $2 = +Math_sin(+$0); + $3 = +HEAPF64[$q >> 3]; + HEAPF64[$mat >> 3] = $1 + $3 * $3 * $sub; + $arrayidx8 = $q + 8 | 0; + $arrayidx11 = $q + 16 | 0; + HEAPF64[$mat + 8 >> 3] = $sub * (+HEAPF64[$q >> 3] * +HEAPF64[$arrayidx8 >> 3]) - $2 * +HEAPF64[$arrayidx11 >> 3]; + HEAPF64[$mat + 16 >> 3] = $sub * (+HEAPF64[$q >> 3] * +HEAPF64[$arrayidx11 >> 3]) + $2 * +HEAPF64[$arrayidx8 >> 3]; + HEAPF64[$mat + 24 >> 3] = +HEAPF64[$q + 32 >> 3]; + HEAPF64[$mat + 32 >> 3] = $sub * (+HEAPF64[$arrayidx8 >> 3] * +HEAPF64[$q >> 3]) + $2 * +HEAPF64[$arrayidx11 >> 3]; + $14 = +HEAPF64[$arrayidx8 >> 3]; + HEAPF64[$mat + 40 >> 3] = $1 + $sub * ($14 * $14); + HEAPF64[$mat + 48 >> 3] = $sub * (+HEAPF64[$arrayidx8 >> 3] * +HEAPF64[$arrayidx11 >> 3]) - $2 * +HEAPF64[$q >> 3]; + HEAPF64[$mat + 56 >> 3] = +HEAPF64[$q + 40 >> 3]; + HEAPF64[$mat + 64 >> 3] = $sub * (+HEAPF64[$arrayidx11 >> 3] * +HEAPF64[$q >> 3]) - $2 * +HEAPF64[$arrayidx8 >> 3]; + HEAPF64[$mat + 72 >> 3] = $sub * (+HEAPF64[$arrayidx11 >> 3] * +HEAPF64[$arrayidx8 >> 3]) + $2 * +HEAPF64[$q >> 3]; + $25 = +HEAPF64[$arrayidx11 >> 3]; + HEAPF64[$mat + 80 >> 3] = $1 + $sub * ($25 * $25); + HEAPF64[$mat + 88 >> 3] = +HEAPF64[$q + 48 >> 3]; + return; +} + +function __ZNSt3__215basic_streambufIcNS_11char_traitsIcEEE6xsputnEPKcl($this, $__s, $__n) { + $this = $this | 0; + $__s = $__s | 0; + $__n = $__n | 0; + var $$sroa$speculated = 0, $0 = 0, $1 = 0, $2 = 0, $__eout_ = 0, $__i$0 = 0, $__i$0$be = 0, $__nout_ = 0, $__s$addr$0 = 0, $__s$addr$0$be = 0, $call = 0, $call3 = 0, $sub = 0, $sub$ptr$sub = 0; + $call = __ZNSt3__211char_traitsIcE3eofEv() | 0; + $__nout_ = $this + 24 | 0; + $__eout_ = $this + 28 | 0; + $__i$0 = 0; + $__s$addr$0 = $__s; + while (1) { + if (($__i$0 | 0) >= ($__n | 0)) break; + $0 = HEAP32[$__nout_ >> 2] | 0; + $1 = HEAP32[$__eout_ >> 2] | 0; + if ($0 >>> 0 < $1 >>> 0) { + $sub$ptr$sub = $1 - $0 | 0; + $sub = $__n - $__i$0 | 0; + $$sroa$speculated = ($sub | 0) < ($sub$ptr$sub | 0) ? $sub : $sub$ptr$sub; + __ZNSt3__211char_traitsIcE4copyEPcPKcm($0, $__s$addr$0, $$sroa$speculated) | 0; + HEAP32[$__nout_ >> 2] = (HEAP32[$__nout_ >> 2] | 0) + $$sroa$speculated; + $__i$0$be = $$sroa$speculated + $__i$0 | 0; + $__s$addr$0$be = $__s$addr$0 + $$sroa$speculated | 0; + } else { + $2 = HEAP32[(HEAP32[$this >> 2] | 0) + 52 >> 2] | 0; + $call3 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$__s$addr$0 >> 0] | 0) | 0; + if ((FUNCTION_TABLE_iii[$2 & 127]($this, $call3) | 0) == ($call | 0)) break; + $__i$0$be = $__i$0 + 1 | 0; + $__s$addr$0$be = $__s$addr$0 + 1 | 0; + } + $__i$0 = $__i$0$be; + $__s$addr$0 = $__s$addr$0$be; + } + return $__i$0 | 0; +} + +function _jpeg_read_scanlines($cinfo, $scanlines, $max_lines) { + $cinfo = $cinfo | 0; + $scanlines = $scanlines | 0; + $max_lines = $max_lines | 0; + var $0 = 0, $1 = 0, $12 = 0, $4 = 0, $5 = 0, $6 = 0, $8 = 0, $output_scanline = 0, $retval$0 = 0, $row_ctr = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $1 = sp; - if ((__ZNK12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E7numLeftEv($0) | 0) >>> 0 < 9) $$4 = 0; else { - $4 = HEAP32[$0 >> 2] | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKcS2_($1, $4, $4 + 8 | 0); - $6 = __ZNK12_GLOBAL__N_110StringView5beginEv($1) | 0; - $7 = __ZNK12_GLOBAL__N_110StringView3endEv($1) | 0; - $$020 = $6; - while (1) { - if (($$020 | 0) == ($7 | 0)) { - label = 5; - break; - } - if (!(_isxdigit(HEAP8[$$020 >> 0] | 0) | 0)) { - $$3 = 0; - break; - } else $$020 = $$020 + 1 | 0; - } - if ((label | 0) == 5) { - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 8; - if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($0, 69) | 0) $$3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_16FloatLiteralImplIfEEJRNS_10StringViewEEEEPNS0_4NodeEDpOT0_($0, $1) | 0; else $$3 = 0; - } - $$4 = $$3; + $row_ctr = sp; + $0 = HEAP32[$cinfo + 20 >> 2] | 0; + if (($0 | 0) != 205) { + $1 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$1 + 20 >> 2] = 21; + HEAP32[$1 + 24 >> 2] = $0; + FUNCTION_TABLE_vi[HEAP32[HEAP32[$cinfo >> 2] >> 2] & 255]($cinfo); + } + $output_scanline = $cinfo + 140 | 0; + $4 = HEAP32[$output_scanline >> 2] | 0; + $5 = HEAP32[$cinfo + 116 >> 2] | 0; + if ($4 >>> 0 >= $5 >>> 0) { + $6 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$6 + 20 >> 2] = 126; + FUNCTION_TABLE_vii[HEAP32[$6 + 4 >> 2] & 255]($cinfo, -1); + $retval$0 = 0; + STACKTOP = sp; + return $retval$0 | 0; + } + $8 = HEAP32[$cinfo + 8 >> 2] | 0; + if ($8 | 0) { + HEAP32[$8 + 4 >> 2] = $4; + HEAP32[$8 + 8 >> 2] = $5; + FUNCTION_TABLE_vi[HEAP32[$8 >> 2] & 255]($cinfo); } + HEAP32[$row_ctr >> 2] = 0; + FUNCTION_TABLE_viiii[HEAP32[(HEAP32[$cinfo + 448 >> 2] | 0) + 4 >> 2] & 31]($cinfo, $scanlines, $row_ctr, $max_lines); + $12 = HEAP32[$row_ctr >> 2] | 0; + HEAP32[$output_scanline >> 2] = (HEAP32[$output_scanline >> 2] | 0) + $12; + $retval$0 = $12; STACKTOP = sp; - return $$4 | 0; + return $retval$0 | 0; } -function __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE11__get_am_pmERiRS4_S4_RjRKNS_5ctypeIwEE($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$byval_copy = 0, $11 = 0, $14 = 0, $21 = 0, $27 = 0, $29 = 0, $37 = 0, $39 = 0, $6 = 0, $7 = 0, sp = 0; +function __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6appendEmc($this, $__n, $__c) { + $this = $this | 0; + $__n = $__n | 0; + $__c = $__c | 0; + var $0 = 0, $3 = 0, $__size_$i$i = 0, $add8 = 0, $cond$i22 = 0, $cond$i32 = 0, $cond$i33 = 0, $ref$tmp = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy = sp + 4 | 0; - $6 = sp; - $7 = $0 + 8 | 0; - $11 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$7 >> 2] | 0) + 8 >> 2] & 127]($7) | 0; - $14 = HEAP8[$11 + 8 + 3 >> 0] | 0; - if ($14 << 24 >> 24 < 0) $29 = HEAP32[$11 + 4 >> 2] | 0; else $29 = $14 & 255; - $21 = HEAP8[$11 + 20 + 3 >> 0] | 0; - if ($21 << 24 >> 24 < 0) $27 = HEAP32[$11 + 16 >> 2] | 0; else $27 = $21 & 255; - do if (($29 | 0) != (0 - $27 | 0)) { - HEAP32[$6 >> 2] = HEAP32[$3 >> 2]; - HEAP32[$$byval_copy >> 2] = HEAP32[$6 >> 2]; - $37 = (__ZNSt3__214__scan_keywordINS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEPKNS_12basic_stringIwS3_NS_9allocatorIwEEEENS_5ctypeIwEEEET0_RT_SE_SD_SD_RKT1_Rjb($2, $$byval_copy, $11, $11 + 24 | 0, $5, $4, 0) | 0) - $11 | 0; - $39 = HEAP32[$1 >> 2] | 0; - if (($39 | 0) == 12 & ($37 | 0) == 0) { - HEAP32[$1 >> 2] = 0; - break; + $ref$tmp = sp; + if ($__n | 0) { + $__size_$i$i = $this + 11 | 0; + $0 = HEAP8[$__size_$i$i >> 0] | 0; + if ($0 << 24 >> 24 < 0) { + $cond$i22 = HEAP32[$this + 4 >> 2] | 0; + $cond$i33 = (HEAP32[$this + 8 >> 2] & 2147483647) + -1 | 0; + } else { + $cond$i22 = $0 & 255; + $cond$i33 = 10; } - if (($39 | 0) < 12 & ($37 | 0) == 12) HEAP32[$1 >> 2] = $39 + 12; - } else HEAP32[$4 >> 2] = HEAP32[$4 >> 2] | 4; while (0); + if (($cond$i33 - $cond$i22 | 0) >>> 0 < $__n >>> 0) { + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9__grow_byEmmmmmm($this, $cond$i33, $cond$i22 + $__n - $cond$i33 | 0, $cond$i22, $cond$i22, 0, 0); + $3 = HEAP8[$__size_$i$i >> 0] | 0; + } else $3 = $0; + if ($3 << 24 >> 24 < 0) $cond$i32 = HEAP32[$this >> 2] | 0; else $cond$i32 = $this; + __ZNSt3__211char_traitsIcE6assignEPcmc($cond$i32 + $cond$i22 | 0, $__n, $__c) | 0; + $add8 = $cond$i22 + $__n | 0; + if ((HEAP8[$__size_$i$i >> 0] | 0) < 0) HEAP32[$this + 4 >> 2] = $add8; else HEAP8[$__size_$i$i >> 0] = $add8; + HEAP8[$ref$tmp >> 0] = 0; + __ZNSt3__211char_traitsIcE6assignERcRKc($cond$i32 + $add8 | 0, $ref$tmp); + } STACKTOP = sp; - return; + return $this | 0; } -function __ZN6vision5Swap9IfEEvPT_S2_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $10 = 0, $12 = 0, $13 = 0, $14 = 0, $16 = 0, $17 = 0, $18 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $24 = 0, $25 = 0, $26 = 0, $28 = 0, $29 = 0, $30 = 0, $32 = 0, $33 = 0, $34 = 0, $4 = 0, $5 = 0, $6 = 0, $8 = 0, $9 = 0; - $2 = HEAP32[$0 >> 2] | 0; - $4 = $0 + 4 | 0; - HEAP32[$0 >> 2] = HEAP32[$1 >> 2]; - $5 = $1 + 4 | 0; - HEAP32[$1 >> 2] = $2; - $6 = HEAP32[$4 >> 2] | 0; - $8 = $0 + 8 | 0; - HEAP32[$4 >> 2] = HEAP32[$5 >> 2]; - $9 = $1 + 8 | 0; - HEAP32[$5 >> 2] = $6; - $10 = HEAP32[$8 >> 2] | 0; - $12 = $0 + 12 | 0; - HEAP32[$8 >> 2] = HEAP32[$9 >> 2]; - $13 = $1 + 12 | 0; - HEAP32[$9 >> 2] = $10; - $14 = HEAP32[$12 >> 2] | 0; - $16 = $0 + 16 | 0; - HEAP32[$12 >> 2] = HEAP32[$13 >> 2]; - $17 = $1 + 16 | 0; - HEAP32[$13 >> 2] = $14; - $18 = HEAP32[$16 >> 2] | 0; - $20 = $0 + 20 | 0; - HEAP32[$16 >> 2] = HEAP32[$17 >> 2]; - $21 = $1 + 20 | 0; - HEAP32[$17 >> 2] = $18; - $22 = HEAP32[$20 >> 2] | 0; - $24 = $0 + 24 | 0; - HEAP32[$20 >> 2] = HEAP32[$21 >> 2]; - $25 = $1 + 24 | 0; - HEAP32[$21 >> 2] = $22; - $26 = HEAP32[$24 >> 2] | 0; - $28 = $0 + 28 | 0; - HEAP32[$24 >> 2] = HEAP32[$25 >> 2]; - $29 = $1 + 28 | 0; - HEAP32[$25 >> 2] = $26; - $30 = HEAP32[$28 >> 2] | 0; - $32 = $0 + 32 | 0; - HEAP32[$28 >> 2] = HEAP32[$29 >> 2]; - $33 = $1 + 32 | 0; - HEAP32[$29 >> 2] = $30; - $34 = HEAP32[$32 >> 2] | 0; - HEAP32[$32 >> 2] = HEAP32[$33 >> 2]; - HEAP32[$33 >> 2] = $34; - return; -} - -function __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE11__get_am_pmERiRS4_S4_RjRKNS_5ctypeIcEE($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$byval_copy = 0, $11 = 0, $13 = 0, $20 = 0, $26 = 0, $28 = 0, $36 = 0, $38 = 0, $6 = 0, $7 = 0, sp = 0; +function __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6appendEPKcm($this, $__s, $__n) { + $this = $this | 0; + $__s = $__s | 0; + $__n = $__n | 0; + var $0 = 0, $__size_$i$i = 0, $add = 0, $cond$i24 = 0, $cond$i30 = 0, $cond$i35 = 0, $ref$tmp = 0, $tobool$i$i = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy = sp + 4 | 0; - $6 = sp; - $7 = $0 + 8 | 0; - $11 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$7 >> 2] | 0) + 8 >> 2] & 127]($7) | 0; - $13 = HEAP8[$11 + 11 >> 0] | 0; - if ($13 << 24 >> 24 < 0) $28 = HEAP32[$11 + 4 >> 2] | 0; else $28 = $13 & 255; - $20 = HEAP8[$11 + 12 + 11 >> 0] | 0; - if ($20 << 24 >> 24 < 0) $26 = HEAP32[$11 + 16 >> 2] | 0; else $26 = $20 & 255; - do if (($28 | 0) != (0 - $26 | 0)) { - HEAP32[$6 >> 2] = HEAP32[$3 >> 2]; - HEAP32[$$byval_copy >> 2] = HEAP32[$6 >> 2]; - $36 = (__ZNSt3__214__scan_keywordINS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEPKNS_12basic_stringIcS3_NS_9allocatorIcEEEENS_5ctypeIcEEEET0_RT_SE_SD_SD_RKT1_Rjb($2, $$byval_copy, $11, $11 + 24 | 0, $5, $4, 0) | 0) - $11 | 0; - $38 = HEAP32[$1 >> 2] | 0; - if (($38 | 0) == 12 & ($36 | 0) == 0) { - HEAP32[$1 >> 2] = 0; - break; + $ref$tmp = sp; + $__size_$i$i = $this + 11 | 0; + $0 = HEAP8[$__size_$i$i >> 0] | 0; + $tobool$i$i = $0 << 24 >> 24 < 0; + if ($tobool$i$i) { + $cond$i24 = HEAP32[$this + 4 >> 2] | 0; + $cond$i35 = (HEAP32[$this + 8 >> 2] & 2147483647) + -1 | 0; + } else { + $cond$i24 = $0 & 255; + $cond$i35 = 10; + } + if (($cond$i35 - $cond$i24 | 0) >>> 0 >= $__n >>> 0) { + if ($__n | 0) { + if ($tobool$i$i) $cond$i30 = HEAP32[$this >> 2] | 0; else $cond$i30 = $this; + __ZNSt3__211char_traitsIcE4copyEPcPKcm($cond$i30 + $cond$i24 | 0, $__s, $__n) | 0; + $add = $cond$i24 + $__n | 0; + if ((HEAP8[$__size_$i$i >> 0] | 0) < 0) HEAP32[$this + 4 >> 2] = $add; else HEAP8[$__size_$i$i >> 0] = $add; + HEAP8[$ref$tmp >> 0] = 0; + __ZNSt3__211char_traitsIcE6assignERcRKc($cond$i30 + $add | 0, $ref$tmp); } - if (($38 | 0) < 12 & ($36 | 0) == 12) HEAP32[$1 >> 2] = $38 + 12; - } else HEAP32[$4 >> 2] = HEAP32[$4 >> 2] | 4; while (0); + } else __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE21__grow_by_and_replaceEmmmmmmPKc($this, $cond$i35, $cond$i24 + $__n - $cond$i35 | 0, $cond$i24, $cond$i24, 0, $__n, $__s); STACKTOP = sp; - return; + return $this | 0; } -function _icpGetJ_U_Xc($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$0 = 0, $12 = 0, $15 = 0.0, $20 = 0.0, $21 = 0, $24 = 0, $28 = 0, $3 = 0.0, $34 = 0.0, $35 = 0, $36 = 0.0, $38 = 0, $4 = 0.0, $42 = 0, $48 = 0.0, $50 = 0.0, $6 = 0, $9 = 0.0; - $3 = +HEAPF64[$1 >> 3]; - $4 = +HEAPF64[$2 >> 3]; - $6 = $1 + 8 | 0; - $9 = +HEAPF64[$2 + 8 >> 3]; - $12 = $1 + 16 | 0; - $15 = +HEAPF64[$2 + 16 >> 3]; - $20 = +HEAPF64[$1 + 24 >> 3] + ($3 * $4 + +HEAPF64[$6 >> 3] * $9 + +HEAPF64[$12 >> 3] * $15); - $21 = $1 + 32 | 0; - $24 = $1 + 40 | 0; - $28 = $1 + 48 | 0; - $34 = +HEAPF64[$1 + 56 >> 3] + ($4 * +HEAPF64[$21 >> 3] + $9 * +HEAPF64[$24 >> 3] + $15 * +HEAPF64[$28 >> 3]); - $35 = $1 + 64 | 0; - $36 = +HEAPF64[$35 >> 3]; - $38 = $1 + 72 | 0; - $42 = $1 + 80 | 0; - $48 = +HEAPF64[$1 + 88 >> 3] + ($4 * $36 + $9 * +HEAPF64[$38 >> 3] + $15 * +HEAPF64[$42 >> 3]); - if ($48 == 0.0) $$0 = -1; else { - $50 = $48 * $48; - HEAPF64[$0 >> 3] = ($3 * $48 - $20 * $36) / $50; - HEAPF64[$0 + 8 >> 3] = ($48 * +HEAPF64[$6 >> 3] - $20 * +HEAPF64[$38 >> 3]) / $50; - HEAPF64[$0 + 16 >> 3] = ($48 * +HEAPF64[$12 >> 3] - $20 * +HEAPF64[$42 >> 3]) / $50; - HEAPF64[$0 + 24 >> 3] = ($48 * +HEAPF64[$21 >> 3] - $34 * +HEAPF64[$35 >> 3]) / $50; - HEAPF64[$0 + 32 >> 3] = ($48 * +HEAPF64[$24 >> 3] - $34 * +HEAPF64[$38 >> 3]) / $50; - HEAPF64[$0 + 40 >> 3] = ($48 * +HEAPF64[$28 >> 3] - $34 * +HEAPF64[$42 >> 3]) / $50; - $$0 = 0; - } - return $$0 | 0; -} - -function ___fwritex($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$03846 = 0, $$1 = 0, $$139 = 0, $$141 = 0, $$143 = 0, $10 = 0, $12 = 0, $14 = 0, $23 = 0, $29 = 0, $3 = 0, $32 = 0, $4 = 0, $9 = 0, label = 0; - $3 = $2 + 16 | 0; - $4 = HEAP32[$3 >> 2] | 0; - if (!$4) if (!(___towrite($2) | 0)) { - $12 = HEAP32[$3 >> 2] | 0; - label = 5; - } else $$1 = 0; else { - $12 = $4; - label = 5; +function _arCreateHandle($paramLT) { + $paramLT = $paramLT | 0; + var $0 = 0, $1 = 0, $call = 0, $call8 = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $call = _malloc(7062432) | 0; + if (!$call) { + _arLog(0, 3, 46772, sp); + _exit(1); } - L5 : do if ((label | 0) == 5) { - $9 = $2 + 20 | 0; - $10 = HEAP32[$9 >> 2] | 0; - $14 = $10; - if (($12 - $10 | 0) >>> 0 < $1 >>> 0) { - $$1 = FUNCTION_TABLE_iiii[HEAP32[$2 + 36 >> 2] & 63]($2, $0, $1) | 0; - break; - } - L10 : do if ((HEAP8[$2 + 75 >> 0] | 0) < 0 | ($1 | 0) == 0) { - $$139 = 0; - $$141 = $0; - $$143 = $1; - $32 = $14; - } else { - $$03846 = $1; - while (1) { - $23 = $$03846 + -1 | 0; - if ((HEAP8[$0 + $23 >> 0] | 0) == 10) break; - if (!$23) { - $$139 = 0; - $$141 = $0; - $$143 = $1; - $32 = $14; - break L10; - } else $$03846 = $23; - } - $29 = FUNCTION_TABLE_iiii[HEAP32[$2 + 36 >> 2] & 63]($2, $0, $$03846) | 0; - if ($29 >>> 0 < $$03846 >>> 0) { - $$1 = $29; - break L5; - } - $$139 = $$03846; - $$141 = $0 + $$03846 | 0; - $$143 = $1 - $$03846 | 0; - $32 = HEAP32[$9 >> 2] | 0; - } while (0); - _memcpy($32 | 0, $$141 | 0, $$143 | 0) | 0; - HEAP32[$9 >> 2] = (HEAP32[$9 >> 2] | 0) + $$143; - $$1 = $$139 + $$143 | 0; - } while (0); - return $$1 | 0; + HEAP32[$call >> 2] = 0; + HEAP32[$call + 4834148 >> 2] = 0; + HEAP32[$call + 7062408 >> 2] = 0; + HEAP32[$call + 4 >> 2] = -1; + HEAP32[$call + 8 >> 2] = 0; + HEAP32[$call + 12 >> 2] = 1; + HEAP32[$call + 16 >> 2] = 100; + HEAP32[$call + 20 >> 2] = 0; + HEAP32[$call + 24 >> 2] = 0; + HEAP32[$call + 28 >> 2] = 2; + HEAPF64[$call + 7062416 >> 3] = .5; + HEAP32[$call + 7062424 >> 2] = 3; + HEAP32[$call + 32 >> 2] = $paramLT; + $0 = HEAP32[$paramLT >> 2] | 0; + HEAP32[$call + 36 >> 2] = $0; + $1 = HEAP32[$paramLT + 4 >> 2] | 0; + HEAP32[$call + 40 >> 2] = $1; + HEAP32[$call + 44 >> 2] = 0; + HEAP32[$call + 15408 >> 2] = 0; + HEAP32[$call + 4834152 >> 2] = 0; + HEAP32[$call + 4818296 >> 2] = 0; + $call8 = _malloc(Math_imul($0 << 1, $1) | 0) | 0; + HEAP32[$call + 4834144 >> 2] = $call8; + if (!$call8) { + _arLog(0, 3, 46772, sp + 8 | 0); + _exit(1); + } else { + HEAP32[$call + 7062384 >> 2] = 0; + _arSetDebugMode($call, 0) | 0; + HEAP32[$call + 7062388 >> 2] = -1; + _arSetLabelingThreshMode($call, 0) | 0; + _arSetLabelingThreshModeAutoInterval($call, 7) | 0; + STACKTOP = sp; + return $call | 0; + } + return 0; } -function __ZNSt3__26vectorIN6vision5ImageENS_9allocatorIS2_EEE8__appendEm($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $13 = 0, $14 = 0, $18 = 0, $19 = 0, $2 = 0, $23 = 0, $3 = 0, $5 = 0, $6 = 0, sp = 0; +function __ZNK12_GLOBAL__N_116itanium_demangle13ReferenceType10printRightERNS_12OutputStreamE($this, $s) { + $this = $this | 0; + $s = $s | 0; + var $1 = 0, $Collapsed = 0, $Printing = 0, $SavePrinting = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, label = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 32 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $2 = sp; - $3 = $0 + 8 | 0; - $5 = $0 + 4 | 0; - $6 = HEAP32[$5 >> 2] | 0; - do if ((HEAP32[$3 >> 2] | 0) - $6 >> 5 >>> 0 < $1 >>> 0) { - $13 = ($6 - (HEAP32[$0 >> 2] | 0) >> 5) + $1 | 0; - $14 = __ZNKSt3__26vectorIN6vision5ImageENS_9allocatorIS2_EEE8max_sizeEv($0) | 0; - if ($14 >>> 0 < $13 >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv($0); else { - $18 = HEAP32[$0 >> 2] | 0; - $19 = (HEAP32[$3 >> 2] | 0) - $18 | 0; - $23 = $19 >> 4; - __ZNSt3__214__split_bufferIN6vision5ImageERNS_9allocatorIS2_EEEC2EmmS5_($2, $19 >> 5 >>> 0 < $14 >>> 1 >>> 0 ? ($23 >>> 0 < $13 >>> 0 ? $13 : $23) : $14, (HEAP32[$5 >> 2] | 0) - $18 >> 5, $0 + 8 | 0); - __ZNSt3__214__split_bufferIN6vision5ImageERNS_9allocatorIS2_EEE18__construct_at_endEm($2, $1); - __ZNSt3__26vectorIN6vision5ImageENS_9allocatorIS2_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS2_RS4_EE($0, $2); - __ZNSt3__214__split_bufferIN6vision5ImageERNS_9allocatorIS2_EEED2Ev($2); + $agg$tmp$byval_copy = sp + 24 | 0; + $SavePrinting = sp + 16 | 0; + $Collapsed = sp + 8 | 0; + $agg$tmp = sp; + $Printing = $this + 16 | 0; + if (!(HEAP8[$Printing >> 0] | 0)) { + __ZN12_GLOBAL__N_114SwapAndRestoreIbEC2ERbb($SavePrinting, $Printing, 1); + __ZNK12_GLOBAL__N_116itanium_demangle13ReferenceType8collapseERNS_12OutputStreamE($Collapsed, $this, $s); + $1 = HEAP32[$Collapsed + 4 >> 2] | 0; + if (!(__ZNK12_GLOBAL__N_116itanium_demangle4Node8hasArrayERNS_12OutputStreamE($1, $s) | 0) ? !(__ZNK12_GLOBAL__N_116itanium_demangle4Node11hasFunctionERNS_12OutputStreamE($1, $s) | 0) : 0) {} else { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, 52806); + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($s, $agg$tmp$byval_copy); + } + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$1 >> 2] | 0) + 20 >> 2] & 255]($1, $s); + __ZN12_GLOBAL__N_114SwapAndRestoreIbED2Ev($SavePrinting); + } + STACKTOP = sp; + return; +} + +function _updateCandidate($x, $y, $wval, $keep_num, $cx, $cy, $cval) { + $x = $x | 0; + $y = $y | 0; + $wval = $wval | 0; + $keep_num = $keep_num | 0; + $cx = $cx | 0; + $cy = $cy | 0; + $cval = $cval | 0; + var $0 = 0, $l$0 = 0, $n$0 = 0, $n$0$ph = 0, $sub = 0; + $0 = HEAP32[$keep_num >> 2] | 0; + do if (!$0) { + HEAP32[$cx >> 2] = $x; + HEAP32[$cy >> 2] = $y; + HEAP32[$cval >> 2] = $wval; + HEAP32[$keep_num >> 2] = 1; + } else { + $l$0 = 0; + while (1) { + if (($l$0 | 0) >= ($0 | 0)) break; + if ((HEAP32[$cval + ($l$0 << 2) >> 2] | 0) < ($wval | 0)) break; + $l$0 = $l$0 + 1 | 0; + } + if (($l$0 | 0) == ($0 | 0)) { + if ($0 >>> 0 >= 3) break; + HEAP32[$cx + ($0 << 2) >> 2] = $x; + HEAP32[$cy + ($0 << 2) >> 2] = $y; + HEAP32[$cval + ($0 << 2) >> 2] = $wval; + HEAP32[$keep_num >> 2] = (HEAP32[$keep_num >> 2] | 0) + 1; break; } - } else __ZNSt3__26vectorIN6vision5ImageENS_9allocatorIS2_EEE18__construct_at_endEm($0, $1); while (0); - STACKTOP = sp; + if (($0 | 0) == 3) $n$0$ph = 2; else { + HEAP32[$keep_num >> 2] = $0 + 1; + $n$0$ph = $0; + } + $n$0 = $n$0$ph; + while (1) { + if (($n$0 | 0) <= ($l$0 | 0)) break; + $sub = $n$0 + -1 | 0; + HEAP32[$cx + ($n$0 << 2) >> 2] = HEAP32[$cx + ($sub << 2) >> 2]; + HEAP32[$cy + ($n$0 << 2) >> 2] = HEAP32[$cy + ($sub << 2) >> 2]; + HEAP32[$cval + ($n$0 << 2) >> 2] = HEAP32[$cval + ($sub << 2) >> 2]; + $n$0 = $sub; + } + HEAP32[$cx + ($n$0 << 2) >> 2] = $x; + HEAP32[$cy + ($n$0 << 2) >> 2] = $y; + HEAP32[$cval + ($n$0 << 2) >> 2] = $wval; + } while (0); return; } -function _alloc_barray($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $$ = 0, $$04853 = 0, $$04956 = 0, $$054 = 0, $$1$lcssa = 0, $$15155 = 0, $$152 = 0, $15 = 0, $17 = 0, $18 = 0, $21 = 0, $23 = 0, $24 = 0, $5 = 0, $6 = 0, $7 = 0, $9 = 0, $umax = 0, $$15155$looptemp = 0; - $5 = HEAP32[$0 + 4 >> 2] | 0; - $6 = $2 << 7; - $7 = 999999984 / ($6 >>> 0) | 0; - if ($6 >>> 0 > 999999984) { - $9 = HEAP32[$0 >> 2] | 0; - HEAP32[$9 + 20 >> 2] = 72; - FUNCTION_TABLE_vi[HEAP32[$9 >> 2] & 255]($0); - } - $$ = ($7 | 0) < ($3 | 0) ? $7 : $3; - HEAP32[$5 + 80 >> 2] = $$; - $15 = _alloc_small($0, $1, $3 << 2) | 0; - if (!$3) return $15 | 0; - $17 = ~$3; - $$04956 = 0; - $$15155 = $$; +function __ZNSt3__26vectorIN6vision17PriorityQueueItemILi96EEENS_9allocatorIS3_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS3_RS5_EE($this, $__v) { + $this = $this | 0; + $__v = $__v | 0; + var $0 = 0, $14 = 0, $16 = 0, $18 = 0, $3 = 0, $8 = 0, $9 = 0, $__begin_2 = 0, $__end1$addr$0$i = 0, $__end_ = 0, $__end_6 = 0, $__value_$i$i$i = 0, $__value_$i$i$i6 = 0, $incdec$ptr$i = 0; + $0 = HEAP32[$this >> 2] | 0; + $__end_ = $this + 4 | 0; + $__begin_2 = $__v + 4 | 0; + $__end1$addr$0$i = HEAP32[$__end_ >> 2] | 0; while (1) { - $18 = $3 - $$04956 | 0; - $$15155$looptemp = $$15155; - $$15155 = $$15155 >>> 0 < $18 >>> 0 ? $$15155 : $18; - $21 = _alloc_large($0, $1, Math_imul($6, $$15155) | 0) | 0; - if (!$$15155) $$1$lcssa = $$04956; else { - $23 = $$04956 + $17 | 0; - $24 = ~$$15155$looptemp; - $umax = $23 >>> 0 > $24 >>> 0 ? $23 : $24; - $$04853 = $$15155; - $$054 = $21; - $$152 = $$04956; + if (($__end1$addr$0$i | 0) == ($0 | 0)) break; + $incdec$ptr$i = $__end1$addr$0$i + -8 | 0; + $3 = $incdec$ptr$i; + $8 = HEAP32[$3 + 4 >> 2] | 0; + $9 = (HEAP32[$__begin_2 >> 2] | 0) + -8 | 0; + HEAP32[$9 >> 2] = HEAP32[$3 >> 2]; + HEAP32[$9 + 4 >> 2] = $8; + HEAP32[$__begin_2 >> 2] = (HEAP32[$__begin_2 >> 2] | 0) + -8; + $__end1$addr$0$i = $incdec$ptr$i; + } + $14 = HEAP32[$this >> 2] | 0; + HEAP32[$this >> 2] = HEAP32[$__begin_2 >> 2]; + HEAP32[$__begin_2 >> 2] = $14; + $__end_6 = $__v + 8 | 0; + $16 = HEAP32[$__end_ >> 2] | 0; + HEAP32[$__end_ >> 2] = HEAP32[$__end_6 >> 2]; + HEAP32[$__end_6 >> 2] = $16; + $__value_$i$i$i6 = $this + 8 | 0; + $__value_$i$i$i = $__v + 12 | 0; + $18 = HEAP32[$__value_$i$i$i6 >> 2] | 0; + HEAP32[$__value_$i$i$i6 >> 2] = HEAP32[$__value_$i$i$i >> 2]; + HEAP32[$__value_$i$i$i >> 2] = $18; + HEAP32[$__v >> 2] = HEAP32[$__begin_2 >> 2]; + return; +} + +function __ZN12_GLOBAL__N_116itanium_demangle19parse_discriminatorEPKcS2_($first, $last) { + $first = $first | 0; + $last = $last | 0; + var $0 = 0, $1 = 0, $2 = 0, $add$ptr = 0, $first$addr$2 = 0, $first$pn = 0, $t1$0 = 0; + L1 : do if (($first | 0) != ($last | 0)) { + $0 = HEAP8[$first >> 0] | 0; + if ($0 << 24 >> 24 != 95) { + if ((($0 << 24 >> 24) + -48 | 0) >>> 0 >= 10) { + $first$addr$2 = $first; + break; + } + $first$pn = $first; while (1) { - HEAP32[$15 + ($$152 << 2) >> 2] = $$054; - $$04853 = $$04853 + -1 | 0; - if (!$$04853) break; else { - $$054 = $$054 + ($2 << 7) | 0; - $$152 = $$152 + 1 | 0; + $first$pn = $first$pn + 1 | 0; + if (($first$pn | 0) == ($last | 0)) { + $first$addr$2 = $last; + break L1; + } + if (((HEAP8[$first$pn >> 0] | 0) + -48 | 0) >>> 0 >= 10) { + $first$addr$2 = $first; + break L1; } } - $$1$lcssa = $$04956 + -1 - $umax | 0; } - if ($$1$lcssa >>> 0 >= $3 >>> 0) break; else $$04956 = $$1$lcssa; - } - return $15 | 0; -} - -function __ZNSt3__26vectorIN6vision7Point3dIfEENS_9allocatorIS3_EEE21__push_back_slow_pathIS3_EEvOT_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $14 = 0, $16 = 0, $19 = 0, $2 = 0, $24 = 0, $25 = 0, $3 = 0, $8 = 0, $9 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $2 = sp; - $3 = $0 + 4 | 0; - $8 = (((HEAP32[$3 >> 2] | 0) - (HEAP32[$0 >> 2] | 0) | 0) / 12 | 0) + 1 | 0; - $9 = __ZNKSt3__26vectorIN6vision7Point3dIfEENS_9allocatorIS3_EEE8max_sizeEv($0) | 0; - if ($9 >>> 0 < $8 >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv($0); else { - $14 = HEAP32[$0 >> 2] | 0; - $16 = ((HEAP32[$0 + 8 >> 2] | 0) - $14 | 0) / 12 | 0; - $19 = $16 << 1; - __ZNSt3__214__split_bufferIN6vision7Point3dIfEERNS_9allocatorIS3_EEEC2EmmS6_($2, $16 >>> 0 < $9 >>> 1 >>> 0 ? ($19 >>> 0 < $8 >>> 0 ? $8 : $19) : $9, ((HEAP32[$3 >> 2] | 0) - $14 | 0) / 12 | 0, $0 + 8 | 0); - $24 = $2 + 8 | 0; - $25 = HEAP32[$24 >> 2] | 0; - HEAP32[$25 >> 2] = HEAP32[$1 >> 2]; - HEAP32[$25 + 4 >> 2] = HEAP32[$1 + 4 >> 2]; - HEAP32[$25 + 8 >> 2] = HEAP32[$1 + 8 >> 2]; - HEAP32[$24 >> 2] = (HEAP32[$24 >> 2] | 0) + 12; - __ZNSt3__26vectorIN6vision7Point3dIfEENS_9allocatorIS3_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS3_RS5_EE($0, $2); - __ZNSt3__214__split_bufferIN6vision7Point3dIfEERNS_9allocatorIS3_EEED2Ev($2); - STACKTOP = sp; - return; - } + $add$ptr = $first + 1 | 0; + if (($add$ptr | 0) != ($last | 0)) { + $1 = HEAP8[$add$ptr >> 0] | 0; + if ((($1 << 24 >> 24) + -48 | 0) >>> 0 < 10) { + $first$addr$2 = $first + 2 | 0; + break; + } + if ($1 << 24 >> 24 == 95) { + $t1$0 = $first + 2 | 0; + while (1) { + if (($t1$0 | 0) == ($last | 0)) { + $first$addr$2 = $first; + break L1; + } + $2 = HEAP8[$t1$0 >> 0] | 0; + if ((($2 << 24 >> 24) + -48 | 0) >>> 0 >= 10) break; + $t1$0 = $t1$0 + 1 | 0; + } + return ($2 << 24 >> 24 == 95 ? $t1$0 + 1 | 0 : $first) | 0; + } else $first$addr$2 = $first; + } else $first$addr$2 = $first; + } else $first$addr$2 = $first; while (0); + return $first$addr$2 | 0; } -function __ZNK12_GLOBAL__N_116itanium_demangle15BracedRangeExpr9printLeftERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$byval_copy1 = 0, $11 = 0, $2 = 0, $3 = 0, $8 = 0, $9 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $$byval_copy1 = sp + 16 | 0; - $2 = sp + 8 | 0; - $3 = sp; - __ZN12_GLOBAL__N_112OutputStreampLEc($1, 91); - __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(HEAP32[$0 + 8 >> 2] | 0, $1); - __ZN12_GLOBAL__N_110StringViewC2EPKc($2, 53398); - HEAP32[$$byval_copy1 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy1 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy1); - __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(HEAP32[$0 + 12 >> 2] | 0, $1); - __ZN12_GLOBAL__N_112OutputStreampLEc($1, 93); - $8 = $0 + 16 | 0; - $9 = HEAP32[$8 >> 2] | 0; - if (((__ZNK12_GLOBAL__N_116itanium_demangle4Node7getKindEv($9) | 0) + -65 & 255) < 2) $11 = $9; else { - __ZN12_GLOBAL__N_110StringViewC2EPKc($3, 53404); - HEAP32[$$byval_copy1 >> 2] = HEAP32[$3 >> 2]; - HEAP32[$$byval_copy1 + 4 >> 2] = HEAP32[$3 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy1); - $11 = HEAP32[$8 >> 2] | 0; - } - __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE($11, $1); - STACKTOP = sp; - return; -} - -function __ZNSt3__26vectorINS_4pairIfiEENS_9allocatorIS2_EEE8__appendEm($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $13 = 0, $14 = 0, $18 = 0, $19 = 0, $2 = 0, $23 = 0, $3 = 0, $5 = 0, $6 = 0, sp = 0; +function _icpGetDeltaS($S, $dU, $J_U_S, $n) { + $S = $S | 0; + $dU = $dU | 0; + $J_U_S = $J_U_S | 0; + $n = $n | 0; + var $call = 0, $call13 = 0, $call8 = 0, $matJ = 0, $matS = 0, $matU = 0, $retval$0 = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $2 = sp; - $3 = $0 + 8 | 0; - $5 = $0 + 4 | 0; - $6 = HEAP32[$5 >> 2] | 0; - do if ((HEAP32[$3 >> 2] | 0) - $6 >> 3 >>> 0 < $1 >>> 0) { - $13 = ($6 - (HEAP32[$0 >> 2] | 0) >> 3) + $1 | 0; - $14 = __ZNKSt3__26vectorINS_4pairIfiEENS_9allocatorIS2_EEE8max_sizeEv($0) | 0; - if ($14 >>> 0 < $13 >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv($0); else { - $18 = HEAP32[$0 >> 2] | 0; - $19 = (HEAP32[$3 >> 2] | 0) - $18 | 0; - $23 = $19 >> 2; - __ZNSt3__214__split_bufferINS_4pairIfiEERNS_9allocatorIS2_EEEC2EmmS5_($2, $19 >> 3 >>> 0 < $14 >>> 1 >>> 0 ? ($23 >>> 0 < $13 >>> 0 ? $13 : $23) : $14, (HEAP32[$5 >> 2] | 0) - $18 >> 3, $0 + 8 | 0); - __ZNSt3__214__split_bufferINS_4pairIfiEERNS_9allocatorIS2_EEE18__construct_at_endEm($2, $1); - __ZNSt3__26vectorINS_4pairIfiEENS_9allocatorIS2_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS2_RS4_EE($0, $2); - __ZNSt3__214__split_bufferINS_4pairIfiEERNS_9allocatorIS2_EEED2Ev($2); + STACKTOP = STACKTOP + 48 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); + $matS = sp + 24 | 0; + $matU = sp + 12 | 0; + $matJ = sp; + HEAP32[$matS + 4 >> 2] = 6; + HEAP32[$matS + 8 >> 2] = 1; + HEAP32[$matS >> 2] = $S; + HEAP32[$matU + 4 >> 2] = $n; + HEAP32[$matU + 8 >> 2] = 1; + HEAP32[$matU >> 2] = $dU; + HEAP32[$matJ + 4 >> 2] = $n; + HEAP32[$matJ + 8 >> 2] = 6; + HEAP32[$matJ >> 2] = $J_U_S; + $call = _arMatrixAllocTrans($matJ) | 0; + do if ($call) { + $call8 = _arMatrixAllocMul($call, $matJ) | 0; + if (!$call8) { + _arMatrixFree($call) | 0; + $retval$0 = -1; + break; + } + $call13 = _arMatrixAllocMul($call, $matU) | 0; + if (!$call13) { + _arMatrixFree($call) | 0; + _arMatrixFree($call8) | 0; + $retval$0 = -1; + break; + } + if ((_arMatrixSelfInv($call8) | 0) < 0) { + _arMatrixFree($call) | 0; + _arMatrixFree($call8) | 0; + _arMatrixFree($call13) | 0; + $retval$0 = -1; + break; + } else { + _arMatrixMul($matS, $call8, $call13) | 0; + _arMatrixFree($call) | 0; + _arMatrixFree($call8) | 0; + _arMatrixFree($call13) | 0; + $retval$0 = 0; break; } - } else __ZNSt3__26vectorINS_4pairIfiEENS_9allocatorIS2_EEE18__construct_at_endEm($0, $1); while (0); + } else $retval$0 = -1; while (0); STACKTOP = sp; - return; + return $retval$0 | 0; } -function __ZN6vision21DenormalizeHomographyIfEEvPT_PKS1_S1_S4_S1_S4_($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = +$2; - $3 = $3 | 0; - $4 = +$4; - $5 = $5 | 0; - var $10 = 0, $11 = 0.0, $18 = 0.0, $19 = 0.0, $20 = 0, $21 = 0.0, $30 = 0.0, $31 = 0.0, $33 = 0.0, $34 = 0, $36 = 0.0, $40 = 0, $6 = 0, $7 = 0.0, $70 = 0.0, $73 = 0.0, $8 = 0.0; - $6 = $1 + 24 | 0; - $7 = +HEAPF32[$6 >> 2]; - $8 = +HEAPF32[$5 >> 2]; - $10 = $1 + 28 | 0; - $11 = +HEAPF32[$10 >> 2]; - $18 = $7 * $8 + +HEAPF32[$1 >> 2] / $4; - $19 = $8 * $11 + +HEAPF32[$1 + 4 >> 2] / $4; - $20 = $5 + 4 | 0; - $21 = +HEAPF32[$20 >> 2]; - $30 = $7 * $21 + +HEAPF32[$1 + 12 >> 2] / $4; - $31 = $11 * $21 + +HEAPF32[$1 + 16 >> 2] / $4; - $33 = +HEAPF32[$3 >> 2] * $2; - $34 = $3 + 4 | 0; - $36 = +HEAPF32[$34 >> 2] * $2; - HEAPF32[$0 >> 2] = $18 * $2; - HEAPF32[$0 + 4 >> 2] = $19 * $2; - $40 = $1 + 32 | 0; - HEAPF32[$0 + 8 >> 2] = +HEAPF32[$40 >> 2] * +HEAPF32[$5 >> 2] + +HEAPF32[$1 + 8 >> 2] / $4 - $18 * $33 - $19 * $36; - HEAPF32[$0 + 12 >> 2] = $30 * $2; - HEAPF32[$0 + 16 >> 2] = $31 * $2; - HEAPF32[$0 + 20 >> 2] = +HEAPF32[$40 >> 2] * +HEAPF32[$20 >> 2] + +HEAPF32[$1 + 20 >> 2] / $4 - $30 * $33 - $31 * $36; - $70 = +HEAPF32[$6 >> 2] * $2; - HEAPF32[$0 + 24 >> 2] = $70; - $73 = +HEAPF32[$10 >> 2] * $2; - HEAPF32[$0 + 28 >> 2] = $73; - HEAPF32[$0 + 32 >> 2] = +HEAPF32[$40 >> 2] - $70 * +HEAPF32[$3 >> 2] - $73 * +HEAPF32[$34 >> 2]; - return; -} - -function _arLogv($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $$0 = 0, $10 = 0, $17 = 0, $18 = 0, $19 = 0, $28 = 0, $32 = 0, $4 = 0, $vararg_buffer = 0, sp = 0; +function __ZNK12_GLOBAL__N_116itanium_demangle11PointerType10printRightERNS_12OutputStreamE($this, $s) { + $this = $this | 0; + $s = $s | 0; + var $0 = 0, $1 = 0, $3 = 0, $Pointee = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, label = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $vararg_buffer = sp + 16 | 0; - $4 = sp; - if ((!(($2 | 0) == 0 | (HEAP32[4186] | 0) > ($1 | 0)) ? HEAP8[$2 >> 0] | 0 : 0) ? (HEAP32[$4 >> 2] = HEAP32[$3 >> 2], $10 = _vsnprintf(0, 0, $2, $4) | 0, $10 | 0) : 0) { - if ($1 >>> 0 < 4) $$0 = (_strlen(HEAP32[1744 + ($1 << 2) >> 2] | 0) | 0) + 3 | 0; else $$0 = 0; - $17 = $$0 + $10 | 0; - $18 = $17 + 1 | 0; - $19 = _malloc($18) | 0; - if ($$0 | 0) { - HEAP32[$vararg_buffer >> 2] = HEAP32[1744 + ($1 << 2) >> 2]; - _snprintf($19, $$0 + 1 | 0, 25625, $vararg_buffer) | 0; - } - _vsnprintf($19 + $$0 | 0, $10 + 1 | 0, $2, $3) | 0; - do if (0) { - if (0 ? ($28 = HEAP32[16308] | 0, $28 >>> 0 < 0) : 0) { - $32 = 0 + $28 | 0; - if ($17 >>> 0 > (-4 - $28 + 0 | 0) >>> 0) { - HEAP8[$32 >> 0] = 46; - HEAP8[$32 + 1 >> 0] = 46; - HEAP8[$32 + 2 >> 0] = 46; - HEAP8[$32 + 3 >> 0] = 0; - HEAP32[16308] = 0; - break; - } else { - _strncpy($32, $19, $18) | 0; - HEAP32[16308] = (HEAP32[16308] | 0) + $17; - break; - } - } - } else _fputs($19, HEAP32[4271] | 0) | 0; while (0); - _free($19); + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $agg$tmp$byval_copy = sp + 8 | 0; + $agg$tmp = sp; + $Pointee = $this + 8 | 0; + $0 = HEAP32[$Pointee >> 2] | 0; + if ((__ZNK12_GLOBAL__N_116itanium_demangle4Node7getKindEv($0) | 0) << 24 >> 24 == 10) { + if (!(__ZNK12_GLOBAL__N_116itanium_demangle13ObjCProtoName12isObjCObjectEv($0) | 0)) { + $1 = HEAP32[$Pointee >> 2] | 0; + label = 4; + } + } else { + $1 = $0; + label = 4; + } + if ((label | 0) == 4) { + if (!(__ZNK12_GLOBAL__N_116itanium_demangle4Node8hasArrayERNS_12OutputStreamE($1, $s) | 0) ? !(__ZNK12_GLOBAL__N_116itanium_demangle4Node11hasFunctionERNS_12OutputStreamE(HEAP32[$Pointee >> 2] | 0, $s) | 0) : 0) {} else { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, 52806); + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($s, $agg$tmp$byval_copy); + } + $3 = HEAP32[$Pointee >> 2] | 0; + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$3 >> 2] | 0) + 20 >> 2] & 255]($3, $s); } STACKTOP = sp; return; } -function __ZN6vision25CheckHomographyHeuristicsEPfii($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$0 = 0, $$1 = 0, $10 = 0, $12 = 0.0, $15 = 0.0, $20 = 0.0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, sp = 0; +function __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKwm($this, $__s, $__n) { + $this = $this | 0; + $__s = $__s | 0; + $__n = $__n | 0; + var $0 = 0, $1 = 0, $__size_$i$i = 0, $cond$i = 0, $cond$i18 = 0, $cond$i23 = 0, $ref$tmp = 0, $tobool$i$i = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 96 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(96); - $3 = sp + 88 | 0; - $4 = sp + 80 | 0; - $5 = sp + 72 | 0; - $6 = sp + 64 | 0; - $7 = sp; - $8 = sp + 56 | 0; - $9 = sp + 48 | 0; - $10 = sp + 40 | 0; - if (__ZN6vision16MatrixInverse3x3IfEEbPT_PKS1_S1_($7, $0, 9.999999747378752e-06) | 0) { - $12 = +($1 | 0); - HEAPF32[$8 >> 2] = $12; - HEAPF32[$8 + 4 >> 2] = 0.0; - HEAPF32[$9 >> 2] = $12; - $15 = +($2 | 0); - HEAPF32[$9 + 4 >> 2] = $15; - HEAPF32[$10 >> 2] = 0.0; - HEAPF32[$10 + 4 >> 2] = $15; - __ZN6vision35MultiplyPointHomographyInhomogenousIfEEvPT_PKS1_S4_($3, $7, 65252); - __ZN6vision35MultiplyPointHomographyInhomogenousIfEEvPT_PKS1_S4_($4, $7, $8); - __ZN6vision35MultiplyPointHomographyInhomogenousIfEEvPT_PKS1_S4_($5, $7, $9); - __ZN6vision35MultiplyPointHomographyInhomogenousIfEEvPT_PKS1_S4_($6, $7, $10); - $20 = +(Math_imul($2, $1) | 0) * .0001; - if (+__ZN6vision20SmallestTriangleAreaIfEET_PKS1_S3_S3_S3_($3, $4, $5, $6) < $20) $$0 = 0; else $$0 = __ZN6vision19QuadrilateralConvexIfEEbPKT_S3_S3_S3_($3, $4, $5, $6) | 0; - $$1 = $$0; - } else $$1 = 0; - STACKTOP = sp; - return $$1 | 0; -} - -function _xt_by_x($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $$051 = 0, $$052 = 0, $$053 = 0, $$054 = 0, $$055 = 0, $$056 = 0, $$1 = 0, $12 = 0, $17 = 0, $19 = 0, $26 = 0.0, $27 = 0.0, $3 = 0, $5 = 0; - $3 = HEAP32[$0 + 4 >> 2] | 0; - $5 = HEAP32[$0 + 8 >> 2] | 0; - L1 : do if ((HEAP32[$1 + 4 >> 2] | 0) == ($5 | 0) ? (HEAP32[$1 + 8 >> 2] | 0) == ($5 | 0) : 0) { - $12 = HEAP32[$1 >> 2] | 0; - $$052 = 0; - $$055 = $12; - while (1) { - if (($$052 | 0) >= ($5 | 0)) { - $$053 = 0; - break L1; - } - $$051 = 0; - $$1 = $$055; - while (1) { - if (($$051 | 0) == ($5 | 0)) break; - L10 : do if ($$051 >>> 0 < $$052 >>> 0) { - $17 = $12 + ((Math_imul($$051, $5) | 0) + $$052 << 3) | 0; - HEAPF64[$$1 >> 3] = +HEAPF64[$17 >> 3]; - } else { - $19 = HEAP32[$0 >> 2] | 0; - HEAPF64[$$1 >> 3] = 0.0; - $$0 = 0; - $$054 = $19 + ($$052 << 3) | 0; - $$056 = $19 + ($$051 << 3) | 0; - $27 = 0.0; - while (1) { - if (($$0 | 0) >= ($3 | 0)) break L10; - $26 = $27 + +HEAPF64[$$054 >> 3] * +HEAPF64[$$056 >> 3]; - HEAPF64[$$1 >> 3] = $26; - $$0 = $$0 + 1 | 0; - $$054 = $$054 + ($5 << 3) | 0; - $$056 = $$056 + ($5 << 3) | 0; - $27 = $26; - } - } while (0); - $$051 = $$051 + 1 | 0; - $$1 = $$1 + 8 | 0; - } - $$052 = $$052 + 1 | 0; - $$055 = $$055 + ($5 << 3) | 0; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $ref$tmp = sp; + $0 = $this + 8 | 0; + $__size_$i$i = $0 + 3 | 0; + $1 = HEAP8[$__size_$i$i >> 0] | 0; + $tobool$i$i = $1 << 24 >> 24 < 0; + if ($tobool$i$i) $cond$i = (HEAP32[$0 >> 2] & 2147483647) + -1 | 0; else $cond$i = 1; + do if ($cond$i >>> 0 >= $__n >>> 0) { + if ($tobool$i$i) $cond$i18 = HEAP32[$this >> 2] | 0; else $cond$i18 = $this; + __ZNSt3__211char_traitsIwE4moveEPwPKwm($cond$i18, $__s, $__n) | 0; + HEAP32[$ref$tmp >> 2] = 0; + __ZNSt3__211char_traitsIwE6assignERwRKw($cond$i18 + ($__n << 2) | 0, $ref$tmp); + if ((HEAP8[$__size_$i$i >> 0] | 0) < 0) { + HEAP32[$this + 4 >> 2] = $__n; + break; + } else { + HEAP8[$__size_$i$i >> 0] = $__n; + break; } - } else $$053 = -1; while (0); - return $$053 | 0; + } else { + if ($tobool$i$i) $cond$i23 = HEAP32[$this + 4 >> 2] | 0; else $cond$i23 = $1 & 255; + __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE21__grow_by_and_replaceEmmmmmmPKw($this, $cond$i, $__n - $cond$i | 0, $cond$i23, 0, $cond$i23, $__n, $__s); + } while (0); + STACKTOP = sp; + return $this | 0; } -function __ZNSt3__227__num_get_unsigned_integralItEET_PKcS3_Rji($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $$028 = 0, $$029 = 0, $$2 = 0, $10 = 0, $11 = 0, $12 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $19 = 0, $4 = 0, $7 = 0, $8 = 0, sp = 0; +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle16FunctionEncodingEJRPNS2_4NodeES6_NS2_9NodeArrayES6_RNS2_10QualifiersERNS2_15FunctionRefQualEEEEPT_DpOT0_($this, $args, $args1, $args3, $args5, $args7, $args9) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + $args3 = $args3 | 0; + $args5 = $args5 | 0; + $args7 = $args7 | 0; + $args9 = $args9 | 0; + var $0 = 0, $1 = 0, $12 = 0, $13 = 0, $14 = 0, $2 = 0, $7 = 0, $8 = 0, $agg$tmp = 0, $call = 0, $tmpcast$byval_copy = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $4 = sp; - do if (($0 | 0) == ($1 | 0)) { - HEAP32[$2 >> 2] = 4; - $$2 = 0; - } else { - $7 = (HEAP8[$0 >> 0] | 0) == 45; - if ($7) { - $8 = $0 + 1 | 0; - if (($8 | 0) == ($1 | 0)) { - HEAP32[$2 >> 2] = 4; - $$2 = 0; - break; - } else $$029 = $8; - } else $$029 = $0; - $10 = ___errno_location() | 0; - $11 = HEAP32[$10 >> 2] | 0; - $12 = ___errno_location() | 0; - HEAP32[$12 >> 2] = 0; - $14 = _strtoull_l($$029, $4, $3, __ZNSt3__26__clocEv() | 0) | 0; - $15 = getTempRet0() | 0; - $16 = ___errno_location() | 0; - $17 = HEAP32[$16 >> 2] | 0; - if (!$17) { - $19 = ___errno_location() | 0; - HEAP32[$19 >> 2] = $11; - } - do if ((HEAP32[$4 >> 2] | 0) == ($1 | 0)) { - if ($15 >>> 0 > 0 | ($15 | 0) == 0 & $14 >>> 0 > 65535 | ($17 | 0) == 68) { - HEAP32[$2 >> 2] = 4; - $$028 = -1; - break; - } - if ($7) $$028 = 0 - $14 & 65535; else $$028 = $14 & 65535; - } else { - HEAP32[$2 >> 2] = 4; - $$028 = 0; - } while (0); - $$2 = $$028; - } while (0); + $tmpcast$byval_copy = sp + 8 | 0; + $agg$tmp = sp; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 36) | 0; + $0 = HEAP32[$args >> 2] | 0; + $1 = HEAP32[$args1 >> 2] | 0; + $2 = $args3; + $7 = HEAP32[$2 + 4 >> 2] | 0; + $8 = $agg$tmp; + HEAP32[$8 >> 2] = HEAP32[$2 >> 2]; + HEAP32[$8 + 4 >> 2] = $7; + $12 = HEAP32[$args5 >> 2] | 0; + $13 = HEAP32[$args7 >> 2] | 0; + $14 = HEAP8[$args9 >> 0] | 0; + HEAP32[$tmpcast$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$tmpcast$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_116itanium_demangle16FunctionEncodingC2EPKNS0_4NodeES4_NS0_9NodeArrayES4_NS0_10QualifiersENS0_15FunctionRefQualE($call, $0, $1, $tmpcast$byval_copy, $12, $13, $14); STACKTOP = sp; - return $$2 | 0; + return $call | 0; } -function _alloc_sarray($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $$ = 0, $$04853 = 0, $$04956 = 0, $$054 = 0, $$1$lcssa = 0, $$15155 = 0, $$152 = 0, $14 = 0, $16 = 0, $17 = 0, $20 = 0, $22 = 0, $23 = 0, $5 = 0, $6 = 0, $8 = 0, $umax = 0, $$15155$looptemp = 0; - $5 = HEAP32[$0 + 4 >> 2] | 0; - $6 = 999999984 / ($2 >>> 0) | 0; - if ($2 >>> 0 > 999999984) { - $8 = HEAP32[$0 >> 2] | 0; - HEAP32[$8 + 20 >> 2] = 72; - FUNCTION_TABLE_vi[HEAP32[$8 >> 2] & 255]($0); - } - $$ = ($6 | 0) < ($3 | 0) ? $6 : $3; - HEAP32[$5 + 80 >> 2] = $$; - $14 = _alloc_small($0, $1, $3 << 2) | 0; - if (!$3) return $14 | 0; - $16 = ~$3; - $$04956 = 0; - $$15155 = $$; - while (1) { - $17 = $3 - $$04956 | 0; - $$15155$looptemp = $$15155; - $$15155 = $$15155 >>> 0 < $17 >>> 0 ? $$15155 : $17; - $20 = _alloc_large($0, $1, Math_imul($$15155, $2) | 0) | 0; - if (!$$15155) $$1$lcssa = $$04956; else { - $22 = $$04956 + $16 | 0; - $23 = ~$$15155$looptemp; - $umax = $22 >>> 0 > $23 >>> 0 ? $22 : $23; - $$04853 = $$15155; - $$054 = $20; - $$152 = $$04956; - while (1) { - HEAP32[$14 + ($$152 << 2) >> 2] = $$054; - $$04853 = $$04853 + -1 | 0; - if (!$$04853) break; else { - $$054 = $$054 + $2 | 0; - $$152 = $$152 + 1 | 0; - } - } - $$1$lcssa = $$04956 + -1 - $umax | 0; - } - if ($$1$lcssa >>> 0 >= $3 >>> 0) break; else $$04956 = $$1$lcssa; +function __ZNSt3__26vectorIN6vision25DoGScaleInvariantDetector12FeaturePointENS_9allocatorIS3_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS3_RS5_EE($this, $__v) { + $this = $this | 0; + $__v = $__v | 0; + var $$pre$phiZ2D = 0, $0 = 0, $4 = 0, $5 = 0, $6 = 0, $8 = 0, $__begin_2 = 0, $__end_ = 0, $__end_6 = 0, $__value_$i$i$i = 0, $__value_$i$i$i6 = 0, $add$ptr$i = 0, $sub$ptr$sub$i7 = 0; + $0 = HEAP32[$this >> 2] | 0; + $__end_ = $this + 4 | 0; + $__begin_2 = $__v + 4 | 0; + $sub$ptr$sub$i7 = (HEAP32[$__end_ >> 2] | 0) - $0 | 0; + $add$ptr$i = (HEAP32[$__begin_2 >> 2] | 0) + ((($sub$ptr$sub$i7 | 0) / -36 | 0) * 36 | 0) | 0; + HEAP32[$__begin_2 >> 2] = $add$ptr$i; + if (($sub$ptr$sub$i7 | 0) > 0) { + _memcpy($add$ptr$i | 0, $0 | 0, $sub$ptr$sub$i7 | 0) | 0; + $$pre$phiZ2D = $__begin_2; + $5 = HEAP32[$__begin_2 >> 2] | 0; + } else { + $$pre$phiZ2D = $__begin_2; + $5 = $add$ptr$i; } - return $14 | 0; -} - -function __ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_6vectorIiNS_9allocatorIiEEEEEENS_22__unordered_map_hasherIiS6_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS6_NS_8equal_toIiEELb1EEENS3_IS6_EEE6rehashEm($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $$sroa$speculated = 0, $22 = 0, $27 = 0, $30 = 0, $8 = 0; - if (($1 | 0) != 1) if (!($1 + -1 & $1)) $$0 = $1; else $$0 = __ZNSt3__212__next_primeEm($1) | 0; else $$0 = 2; - $8 = HEAP32[$0 + 4 >> 2] | 0; - if ($$0 >>> 0 <= $8 >>> 0) { - if ($$0 >>> 0 < $8 >>> 0) { - $22 = ~~+Math_ceil(+(+((HEAP32[$0 + 12 >> 2] | 0) >>> 0) / +HEAPF32[$0 + 16 >> 2])) >>> 0; - if ($8 >>> 0 > 2 & ($8 + -1 & $8 | 0) == 0) { - $27 = 1 << 32 - (Math_clz32($22 + -1 | 0) | 0); - $30 = $22 >>> 0 < 2 ? $22 : $27; - } else $30 = __ZNSt3__212__next_primeEm($22) | 0; - $$sroa$speculated = $$0 >>> 0 < $30 >>> 0 ? $30 : $$0; - if ($$sroa$speculated >>> 0 < $8 >>> 0) __ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_6vectorIiNS_9allocatorIiEEEEEENS_22__unordered_map_hasherIiS6_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS6_NS_8equal_toIiEELb1EEENS3_IS6_EEE8__rehashEm($0, $$sroa$speculated); - } - } else __ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_6vectorIiNS_9allocatorIiEEEEEENS_22__unordered_map_hasherIiS6_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS6_NS_8equal_toIiEELb1EEENS3_IS6_EEE8__rehashEm($0, $$0); + $4 = HEAP32[$this >> 2] | 0; + HEAP32[$this >> 2] = $5; + HEAP32[$$pre$phiZ2D >> 2] = $4; + $__end_6 = $__v + 8 | 0; + $6 = HEAP32[$__end_ >> 2] | 0; + HEAP32[$__end_ >> 2] = HEAP32[$__end_6 >> 2]; + HEAP32[$__end_6 >> 2] = $6; + $__value_$i$i$i6 = $this + 8 | 0; + $__value_$i$i$i = $__v + 12 | 0; + $8 = HEAP32[$__value_$i$i$i6 >> 2] | 0; + HEAP32[$__value_$i$i$i6 >> 2] = HEAP32[$__value_$i$i$i >> 2]; + HEAP32[$__value_$i$i$i >> 2] = $8; + HEAP32[$__v >> 2] = HEAP32[$$pre$phiZ2D >> 2]; return; } -function __ZL18genBWImageOneThirdPhiiPiS0_($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $$0 = 0, $$052 = 0, $$053 = 0, $$054 = 0, $$055 = 0, $$056 = 0, $$1 = 0, $11 = 0, $5 = 0, $6 = 0, $8 = 0, sp = 0; +function _addNFTMarker($id, $datasetPathname) { + $id = $id | 0; + $datasetPathname = $datasetPathname | 0; + var $0 = 0, $call7 = 0, $cond$i$i$i = 0, $id$addr = 0, $retval$1 = 0, $surfaceSetCount = 0, $vararg_buffer = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $5 = ($1 | 0) / 3 | 0; - HEAP32[$3 >> 2] = $5; - $6 = ($2 | 0) / 3 | 0; - HEAP32[$4 >> 2] = $6; - $8 = _malloc(Math_imul($6, $5) | 0) | 0; - if (!$8) { - _arLog(0, 3, 45930, sp); - _exit(1); - } - $$0 = 0; - $$053 = $8; - while (1) { - if (($$0 | 0) >= ($6 | 0)) break; - $11 = $$0 * 3 | 0; - $$052 = 0; - $$054 = $0 + (Math_imul($11, $1) | 0) | 0; - $$055 = $0 + (Math_imul($11 + 2 | 0, $1) | 0) | 0; - $$056 = $0 + (Math_imul($11 + 1 | 0, $1) | 0) | 0; - $$1 = $$053; - while (1) { - if (($$052 | 0) >= ($5 | 0)) break; - HEAP8[$$1 >> 0] = ((HEAPU8[$$054 + 1 >> 0] | 0) + (HEAPU8[$$054 >> 0] | 0) + (HEAPU8[$$054 + 2 >> 0] | 0) + (HEAPU8[$$056 >> 0] | 0) + (HEAPU8[$$056 + 1 >> 0] | 0) + (HEAPU8[$$056 + 2 >> 0] | 0) + (HEAPU8[$$055 >> 0] | 0) + (HEAPU8[$$055 + 1 >> 0] | 0) + (HEAPU8[$$055 + 2 >> 0] | 0) | 0) / 9 | 0; - $$052 = $$052 + 1 | 0; - $$054 = $$054 + 3 | 0; - $$055 = $$055 + 3 | 0; - $$056 = $$056 + 3 | 0; - $$1 = $$1 + 1 | 0; + $vararg_buffer = sp; + $id$addr = sp + 4 | 0; + HEAP32[$id$addr >> 2] = $id; + do if (__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(66108, $id$addr) | 0) { + $call7 = __ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(66108, $id$addr) | 0; + $surfaceSetCount = $call7 + 268 | 0; + $0 = HEAP32[$surfaceSetCount >> 2] | 0; + if ((HEAP8[$datasetPathname + 11 >> 0] | 0) < 0) $cond$i$i$i = HEAP32[$datasetPathname >> 2] | 0; else $cond$i$i$i = $datasetPathname; + if (!(_loadNFTMarker($call7, $0, $cond$i$i$i) | 0)) { + _arLog(0, 3, 45756, $vararg_buffer); + $retval$1 = -1; + break; + } else { + HEAP32[$surfaceSetCount >> 2] = (HEAP32[$surfaceSetCount >> 2] | 0) + 1; + $retval$1 = $0; + break; } - $$0 = $$0 + 1 | 0; - $$053 = $$1; - } + } else $retval$1 = -1; while (0); STACKTOP = sp; - return $8 | 0; + return $retval$1 | 0; } -function _jpeg_finish_decompress($0) { - $0 = $0 | 0; - var $$0 = 0, $1 = 0, $11 = 0, $18 = 0, $2 = 0, $23 = 0, $24 = 0, $33 = 0, label = 0; - $1 = $0 + 20 | 0; - $2 = HEAP32[$1 >> 2] | 0; - if (($2 + -205 | 0) >>> 0 < 2 ? (HEAP32[$0 + 64 >> 2] | 0) == 0 : 0) { - if ((HEAP32[$0 + 140 >> 2] | 0) >>> 0 < (HEAP32[$0 + 116 >> 2] | 0) >>> 0) { - $11 = HEAP32[$0 >> 2] | 0; - HEAP32[$11 + 20 >> 2] = 69; - FUNCTION_TABLE_vi[HEAP32[$11 >> 2] & 255]($0); - } - FUNCTION_TABLE_vi[HEAP32[(HEAP32[$0 + 444 >> 2] | 0) + 4 >> 2] & 255]($0); - HEAP32[$1 >> 2] = 210; - } else label = 6; - L7 : do if ((label | 0) == 6) switch ($2 | 0) { - case 210: - { - break L7; - break; - } - case 207: - { - HEAP32[$1 >> 2] = 210; - break L7; - break; - } - default: - { - $18 = HEAP32[$0 >> 2] | 0; - HEAP32[$18 + 20 >> 2] = 21; - HEAP32[$18 + 24 >> 2] = $2; - FUNCTION_TABLE_vi[HEAP32[HEAP32[$0 >> 2] >> 2] & 255]($0); - break L7; - } - } while (0); - $23 = $0 + 460 | 0; - $24 = HEAP32[$23 >> 2] | 0; - L13 : do if (!(HEAP32[$24 + 20 >> 2] | 0)) { - $33 = $24; - while (1) { - if (!(FUNCTION_TABLE_ii[HEAP32[$33 >> 2] & 127]($0) | 0)) { - $$0 = 0; +function ___newlocale($mask, $name, $loc) { + $mask = $mask | 0; + $name = $name | 0; + $loc = $loc | 0; + var $$pre30 = 0, $call3 = 0, $i$028 = 0, $i$126 = 0, $j$027 = 0, $lm$0 = 0, $retval$0 = 0, $tmp = 0, $tobool8 = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 32 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); + $tmp = sp; + L1 : do if (!(___loc_is_allocated($loc) | 0)) { + $tobool8 = ($loc | 0) != 0; + $i$126 = 0; + $j$027 = 0; + do { + $$pre30 = 1 << $i$126 & $mask; + if ($tobool8 & ($$pre30 | 0) == 0) $lm$0 = HEAP32[$loc + ($i$126 << 2) >> 2] | 0; else $lm$0 = ___get_locale($i$126, ($$pre30 | 0) == 0 ? 68295 : $name) | 0; + $j$027 = $j$027 + (($lm$0 | 0) != 0 & 1) | 0; + HEAP32[$tmp + ($i$126 << 2) >> 2] = $lm$0; + $i$126 = $i$126 + 1 | 0; + } while (($i$126 | 0) != 6); + switch ($j$027 & 2147483647 | 0) { + case 0: + { + $retval$0 = 66156; + break L1; + break; + } + case 1: + { + if ((HEAP32[$tmp >> 2] | 0) == 17032) { + $retval$0 = 17060; + break L1; + } break; } - $33 = HEAP32[$23 >> 2] | 0; - if (HEAP32[$33 + 20 >> 2] | 0) break L13; + default: + {} } - return $$0 | 0; + $retval$0 = $loc; + } else { + $i$028 = 0; + do { + if (1 << $i$028 & $mask | 0) { + $call3 = ___get_locale($i$028, $name) | 0; + HEAP32[$loc + ($i$028 << 2) >> 2] = $call3; + } + $i$028 = $i$028 + 1 | 0; + } while (($i$028 | 0) != 6); + $retval$0 = $loc; } while (0); - FUNCTION_TABLE_vi[HEAP32[(HEAP32[$0 + 24 >> 2] | 0) + 24 >> 2] & 255]($0); - _jpeg_abort($0); - $$0 = 1; - return $$0 | 0; + STACKTOP = sp; + return $retval$0 | 0; } -function __ZNSt3__26vectorIN6vision7match_tENS_9allocatorIS2_EEE21__push_back_slow_pathIRKS2_EEvOT_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $14 = 0, $15 = 0, $19 = 0, $2 = 0, $24 = 0, $26 = 0, $3 = 0, $31 = 0, $32 = 0, $8 = 0, $9 = 0, sp = 0; +function _vsnprintf($s, $n, $fmt, $ap) { + $s = $s | 0; + $n = $n | 0; + $fmt = $fmt | 0; + $ap = $ap | 0; + var $0 = 0, $add$ptr = 0, $b = 0, $call = 0, $call10 = 0, $f = 0, $n$addr$0 = 0, $retval$0 = 0, $s$addr$0 = 0, $spec$select = 0, $sub3 = 0, $wend = 0, $wpos = 0, label = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $2 = sp; - $3 = $0 + 4 | 0; - $8 = ((HEAP32[$3 >> 2] | 0) - (HEAP32[$0 >> 2] | 0) >> 3) + 1 | 0; - $9 = __ZNKSt3__26vectorIN6vision7match_tENS_9allocatorIS2_EEE8max_sizeEv($0) | 0; - if ($9 >>> 0 < $8 >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv($0); else { - $14 = HEAP32[$0 >> 2] | 0; - $15 = (HEAP32[$0 + 8 >> 2] | 0) - $14 | 0; - $19 = $15 >> 2; - __ZNSt3__214__split_bufferIN6vision7match_tERNS_9allocatorIS2_EEEC2EmmS5_($2, $15 >> 3 >>> 0 < $9 >>> 1 >>> 0 ? ($19 >>> 0 < $8 >>> 0 ? $8 : $19) : $9, (HEAP32[$3 >> 2] | 0) - $14 >> 3, $0 + 8 | 0); - $24 = $2 + 8 | 0; - $26 = $1; - $31 = HEAP32[$26 + 4 >> 2] | 0; - $32 = HEAP32[$24 >> 2] | 0; - HEAP32[$32 >> 2] = HEAP32[$26 >> 2]; - HEAP32[$32 + 4 >> 2] = $31; - HEAP32[$24 >> 2] = (HEAP32[$24 >> 2] | 0) + 8; - __ZNSt3__26vectorIN6vision7match_tENS_9allocatorIS2_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS2_RS4_EE($0, $2); - __ZNSt3__214__split_bufferIN6vision7match_tERNS_9allocatorIS2_EEED2Ev($2); - STACKTOP = sp; - return; + STACKTOP = STACKTOP + 160 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(160); + $b = sp + 144 | 0; + $f = sp; + _memcpy($f | 0, 13736, 144) | 0; + if (($n + -1 | 0) >>> 0 > 2147483646) if (!$n) { + $n$addr$0 = 1; + $s$addr$0 = $b; + label = 4; + } else { + $call = ___errno_location() | 0; + HEAP32[$call >> 2] = 61; + $retval$0 = -1; + } else { + $n$addr$0 = $n; + $s$addr$0 = $s; + label = 4; + } + if ((label | 0) == 4) { + $sub3 = -2 - $s$addr$0 | 0; + $spec$select = $n$addr$0 >>> 0 > $sub3 >>> 0 ? $sub3 : $n$addr$0; + HEAP32[$f + 48 >> 2] = $spec$select; + $wpos = $f + 20 | 0; + HEAP32[$wpos >> 2] = $s$addr$0; + HEAP32[$f + 44 >> 2] = $s$addr$0; + $add$ptr = $s$addr$0 + $spec$select | 0; + $wend = $f + 16 | 0; + HEAP32[$wend >> 2] = $add$ptr; + HEAP32[$f + 28 >> 2] = $add$ptr; + $call10 = _vfprintf($f, $fmt, $ap) | 0; + if (!$spec$select) $retval$0 = $call10; else { + $0 = HEAP32[$wpos >> 2] | 0; + HEAP8[$0 + ((($0 | 0) == (HEAP32[$wend >> 2] | 0)) << 31 >> 31) >> 0] = 0; + $retval$0 = $call10; + } } + STACKTOP = sp; + return $retval$0 | 0; } -function _strcspn($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$01823 = 0, $$019$lcssa$sink = 0, $$01920 = 0, $10 = 0, $12 = 0, $13 = 0, $17 = 0, $2 = 0, $23 = 0, $25 = 0, $26 = 0, $3 = 0, $34 = 0, label = 0, sp = 0; +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle15ClosureTypeNameEJRNS2_9NodeArrayERNS_10StringViewEEEEPT_DpOT0_($this, $args, $args1) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + var $0 = 0, $10 = 0, $15 = 0, $16 = 0, $5 = 0, $6 = 0, $agg$tmp = 0, $agg$tmp5 = 0, $call = 0, $tmpcast$byval_copy = 0, $tmpcast1$byval_copy = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 32 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $2 = sp; - $3 = HEAP8[$1 >> 0] | 0; - L1 : do if ($3 << 24 >> 24 != 0 ? (HEAP8[$1 + 1 >> 0] | 0) != 0 : 0) { - _memset($2 | 0, 0, 32) | 0; - $10 = HEAP8[$1 >> 0] | 0; - if ($10 << 24 >> 24) { - $$01823 = $1; - $13 = $10; - do { - $12 = $13 & 255; - $17 = $2 + ($12 >>> 5 << 2) | 0; - HEAP32[$17 >> 2] = HEAP32[$17 >> 2] | 1 << ($12 & 31); - $$01823 = $$01823 + 1 | 0; - $13 = HEAP8[$$01823 >> 0] | 0; - } while ($13 << 24 >> 24 != 0); - } - $23 = HEAP8[$0 >> 0] | 0; - if (!($23 << 24 >> 24)) $$019$lcssa$sink = $0; else { - $$01920 = $0; - $26 = $23; - while (1) { - $25 = $26 & 255; - if (HEAP32[$2 + ($25 >>> 5 << 2) >> 2] & 1 << ($25 & 31) | 0) { - $$019$lcssa$sink = $$01920; - break L1; - } - $34 = $$01920 + 1 | 0; - $26 = HEAP8[$34 >> 0] | 0; - if (!($26 << 24 >> 24)) { - $$019$lcssa$sink = $34; - break; - } else $$01920 = $34; + $tmpcast1$byval_copy = sp + 24 | 0; + $tmpcast$byval_copy = sp + 16 | 0; + $agg$tmp = sp + 8 | 0; + $agg$tmp5 = sp; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 24) | 0; + $0 = $args; + $5 = HEAP32[$0 + 4 >> 2] | 0; + $6 = $agg$tmp; + HEAP32[$6 >> 2] = HEAP32[$0 >> 2]; + HEAP32[$6 + 4 >> 2] = $5; + $10 = $args1; + $15 = HEAP32[$10 + 4 >> 2] | 0; + $16 = $agg$tmp5; + HEAP32[$16 >> 2] = HEAP32[$10 >> 2]; + HEAP32[$16 + 4 >> 2] = $15; + HEAP32[$tmpcast$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$tmpcast$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + HEAP32[$tmpcast1$byval_copy >> 2] = HEAP32[$agg$tmp5 >> 2]; + HEAP32[$tmpcast1$byval_copy + 4 >> 2] = HEAP32[$agg$tmp5 + 4 >> 2]; + __ZN12_GLOBAL__N_116itanium_demangle15ClosureTypeNameC2ENS0_9NodeArrayENS_10StringViewE($call, $tmpcast$byval_copy, $tmpcast1$byval_copy); + STACKTOP = sp; + return $call | 0; +} + +function __ZNK10__cxxabiv117__class_type_info16search_below_dstEPNS_19__dynamic_cast_infoEPKvib($this, $info, $current_ptr, $path_below, $use_strcmp) { + $this = $this | 0; + $info = $info | 0; + $current_ptr = $current_ptr | 0; + $path_below = $path_below | 0; + $use_strcmp = $use_strcmp | 0; + var $dst_ptr_not_leading_to_static_ptr = 0, $number_to_dst_ptr = 0; + do if (!(__ZL8is_equalPKSt9type_infoS1_b($this, HEAP32[$info + 8 >> 2] | 0, $use_strcmp) | 0)) { + if (__ZL8is_equalPKSt9type_infoS1_b($this, HEAP32[$info >> 2] | 0, $use_strcmp) | 0) { + if ((HEAP32[$info + 16 >> 2] | 0) != ($current_ptr | 0) ? ($dst_ptr_not_leading_to_static_ptr = $info + 20 | 0, (HEAP32[$dst_ptr_not_leading_to_static_ptr >> 2] | 0) != ($current_ptr | 0)) : 0) { + HEAP32[$info + 32 >> 2] = $path_below; + HEAP32[$dst_ptr_not_leading_to_static_ptr >> 2] = $current_ptr; + $number_to_dst_ptr = $info + 40 | 0; + HEAP32[$number_to_dst_ptr >> 2] = (HEAP32[$number_to_dst_ptr >> 2] | 0) + 1; + if ((HEAP32[$info + 36 >> 2] | 0) == 1 ? (HEAP32[$info + 24 >> 2] | 0) == 2 : 0) HEAP8[$info + 54 >> 0] = 1; + HEAP32[$info + 44 >> 2] = 4; + break; } + if (($path_below | 0) == 1) HEAP32[$info + 32 >> 2] = 1; } - } else label = 3; while (0); - if ((label | 0) == 3) $$019$lcssa$sink = ___strchrnul($0, $3 << 24 >> 24) | 0; - STACKTOP = sp; - return $$019$lcssa$sink - $0 | 0; + } else __ZNK10__cxxabiv117__class_type_info29process_static_type_below_dstEPNS_19__dynamic_cast_infoEPKvi(0, $info, $current_ptr, $path_below); while (0); + return; +} + +function __ZNSt3__26vectorIiNS_9allocatorIiEEE21__push_back_slow_pathIRKiEEvOT_($this, $__x) { + $this = $this | 0; + $__x = $__x | 0; + var $3 = 0, $5 = 0, $__end_ = 0, $__end_$i = 0, $__v = 0, $add = 0, $call$i = 0, $mul$i = 0, $sub$ptr$sub$i$i$i = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 32 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); + $__v = sp; + $__end_$i = $this + 4 | 0; + $add = ((HEAP32[$__end_$i >> 2] | 0) - (HEAP32[$this >> 2] | 0) >> 2) + 1 | 0; + $call$i = __ZNKSt3__26vectorIiNS_9allocatorIiEEE8max_sizeEv($this) | 0; + if ($call$i >>> 0 < $add >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv($this); else { + $3 = HEAP32[$this >> 2] | 0; + $sub$ptr$sub$i$i$i = (HEAP32[$this + 8 >> 2] | 0) - $3 | 0; + $mul$i = $sub$ptr$sub$i$i$i >> 1; + __ZNSt3__214__split_bufferIiRNS_9allocatorIiEEEC2EmmS3_($__v, $sub$ptr$sub$i$i$i >> 2 >>> 0 < $call$i >>> 1 >>> 0 ? ($mul$i >>> 0 < $add >>> 0 ? $add : $mul$i) : $call$i, (HEAP32[$__end_$i >> 2] | 0) - $3 >> 2, $this + 8 | 0); + $__end_ = $__v + 8 | 0; + $5 = HEAP32[$__end_ >> 2] | 0; + HEAP32[$5 >> 2] = HEAP32[$__x >> 2]; + HEAP32[$__end_ >> 2] = $5 + 4; + __ZNSt3__26vectorIiNS_9allocatorIiEEE26__swap_out_circular_bufferERNS_14__split_bufferIiRS2_EE($this, $__v); + __ZNSt3__214__split_bufferIiRNS_9allocatorIiEEED2Ev($__v); + STACKTOP = sp; + return; + } } -function __ZNSt3__227__num_get_unsigned_integralImEET_PKcS3_Rji($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $$028 = 0, $$029 = 0, $$2 = 0, $10 = 0, $11 = 0, $12 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $19 = 0, $4 = 0, $7 = 0, $8 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $4 = sp; - do if (($0 | 0) == ($1 | 0)) { - HEAP32[$2 >> 2] = 4; - $$2 = 0; - } else { - $7 = (HEAP8[$0 >> 0] | 0) == 45; - if ($7) { - $8 = $0 + 1 | 0; - if (($8 | 0) == ($1 | 0)) { - HEAP32[$2 >> 2] = 4; - $$2 = 0; - break; - } else $$029 = $8; - } else $$029 = $0; - $10 = ___errno_location() | 0; - $11 = HEAP32[$10 >> 2] | 0; - $12 = ___errno_location() | 0; - HEAP32[$12 >> 2] = 0; - $14 = _strtoull_l($$029, $4, $3, __ZNSt3__26__clocEv() | 0) | 0; - $15 = getTempRet0() | 0; - $16 = ___errno_location() | 0; - $17 = HEAP32[$16 >> 2] | 0; - if (!$17) { - $19 = ___errno_location() | 0; - HEAP32[$19 >> 2] = $11; - } - do if ((HEAP32[$4 >> 2] | 0) == ($1 | 0)) if ($15 >>> 0 > 0 | ($15 | 0) == 0 & $14 >>> 0 > 4294967295 | ($17 | 0) == 68) { - HEAP32[$2 >> 2] = 4; - $$028 = -1; - break; - } else { - $$028 = $7 ? 0 - $14 | 0 : $14; - break; - } else { - HEAP32[$2 >> 2] = 4; - $$028 = 0; - } while (0); - $$2 = $$028; - } while (0); - STACKTOP = sp; - return $$2 | 0; +function _jinit_huff_decoder($cinfo) { + $cinfo = $cinfo | 0; + var $call = 0, $call9 = 0, $ci$035 = 0, $dc_derived_tbls = 0, $derived_tbls = 0, $mem = 0, $num_components = 0; + $mem = $cinfo + 4 | 0; + $call = FUNCTION_TABLE_iiii[HEAP32[HEAP32[$mem >> 2] >> 2] & 63]($cinfo, 1, 220) | 0; + HEAP32[$cinfo + 468 >> 2] = $call; + HEAP32[$call >> 2] = 184; + HEAP32[$call + 8 >> 2] = 185; + if (!(HEAP32[$cinfo + 224 >> 2] | 0)) { + $dc_derived_tbls = $call + 68 | 0; + HEAP32[$dc_derived_tbls >> 2] = 0; + HEAP32[$dc_derived_tbls + 4 >> 2] = 0; + HEAP32[$dc_derived_tbls + 8 >> 2] = 0; + HEAP32[$dc_derived_tbls + 12 >> 2] = 0; + HEAP32[$dc_derived_tbls + 16 >> 2] = 0; + HEAP32[$call + 88 >> 2] = 0; + HEAP32[$call + 92 >> 2] = 0; + HEAP32[$call + 96 >> 2] = 0; + return; + } + $num_components = $cinfo + 36 | 0; + $call9 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[$mem >> 2] >> 2] & 63]($cinfo, 1, HEAP32[$num_components >> 2] << 8) | 0; + HEAP32[$cinfo + 160 >> 2] = $call9; + if ((HEAP32[$num_components >> 2] | 0) > 0) { + $ci$035 = 0; + do { + _memset($call9 + ($ci$035 << 8) | 0, -1, 256) | 0; + $ci$035 = $ci$035 + 1 | 0; + } while (($ci$035 | 0) < (HEAP32[$num_components >> 2] | 0)); + } + $derived_tbls = $call + 48 | 0; + HEAP32[$derived_tbls >> 2] = 0; + HEAP32[$derived_tbls + 4 >> 2] = 0; + HEAP32[$derived_tbls + 8 >> 2] = 0; + HEAP32[$derived_tbls + 12 >> 2] = 0; + return; } -function __ZNSt3__227__num_get_unsigned_integralIjEET_PKcS3_Rji($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $$028 = 0, $$029 = 0, $$2 = 0, $10 = 0, $11 = 0, $12 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $19 = 0, $4 = 0, $7 = 0, $8 = 0, sp = 0; +function __ZNK12_GLOBAL__N_116itanium_demangle15UnnamedTypeName9printLeftERNS_12OutputStreamE($this, $S) { + $this = $this | 0; + $S = $S | 0; + var $0 = 0, $5 = 0, $6 = 0, $agg$tmp = 0, $agg$tmp2 = 0, $agg$tmp4 = 0, $agg$tmp4$byval_copy = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $4 = sp; - do if (($0 | 0) == ($1 | 0)) { - HEAP32[$2 >> 2] = 4; - $$2 = 0; - } else { - $7 = (HEAP8[$0 >> 0] | 0) == 45; - if ($7) { - $8 = $0 + 1 | 0; - if (($8 | 0) == ($1 | 0)) { - HEAP32[$2 >> 2] = 4; - $$2 = 0; - break; - } else $$029 = $8; - } else $$029 = $0; - $10 = ___errno_location() | 0; - $11 = HEAP32[$10 >> 2] | 0; - $12 = ___errno_location() | 0; - HEAP32[$12 >> 2] = 0; - $14 = _strtoull_l($$029, $4, $3, __ZNSt3__26__clocEv() | 0) | 0; - $15 = getTempRet0() | 0; - $16 = ___errno_location() | 0; - $17 = HEAP32[$16 >> 2] | 0; - if (!$17) { - $19 = ___errno_location() | 0; - HEAP32[$19 >> 2] = $11; - } - do if ((HEAP32[$4 >> 2] | 0) == ($1 | 0)) if ($15 >>> 0 > 0 | ($15 | 0) == 0 & $14 >>> 0 > 4294967295 | ($17 | 0) == 68) { - HEAP32[$2 >> 2] = 4; - $$028 = -1; - break; - } else { - $$028 = $7 ? 0 - $14 | 0 : $14; - break; - } else { - HEAP32[$2 >> 2] = 4; - $$028 = 0; - } while (0); - $$2 = $$028; - } while (0); + STACKTOP = STACKTOP + 32 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); + $agg$tmp4$byval_copy = sp + 24 | 0; + $agg$tmp = sp + 16 | 0; + $agg$tmp2 = sp; + $agg$tmp4 = sp + 8 | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, 56155); + HEAP32[$agg$tmp4$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp4$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp4$byval_copy); + $0 = $this + 8 | 0; + $5 = HEAP32[$0 + 4 >> 2] | 0; + $6 = $agg$tmp2; + HEAP32[$6 >> 2] = HEAP32[$0 >> 2]; + HEAP32[$6 + 4 >> 2] = $5; + HEAP32[$agg$tmp4$byval_copy >> 2] = HEAP32[$agg$tmp2 >> 2]; + HEAP32[$agg$tmp4$byval_copy + 4 >> 2] = HEAP32[$agg$tmp2 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp4$byval_copy); + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp4, 56164); + HEAP32[$agg$tmp4$byval_copy >> 2] = HEAP32[$agg$tmp4 >> 2]; + HEAP32[$agg$tmp4$byval_copy + 4 >> 2] = HEAP32[$agg$tmp4 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp4$byval_copy); STACKTOP = sp; - return $$2 | 0; + return; } -function _addNFTMarker($id, $datasetPathname) { - $id = $id | 0; - $datasetPathname = $datasetPathname | 0; - var $0 = 0, $call7 = 0, $cond$i$i$i = 0, $id$addr = 0, $retval$1 = 0, $surfaceSetCount = 0, $vararg_buffer = 0, sp = 0; +function __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKcm($this, $__s, $__n) { + $this = $this | 0; + $__s = $__s | 0; + $__n = $__n | 0; + var $0 = 0, $__size_$i$i = 0, $cond$i = 0, $cond$i19 = 0, $cond$i25 = 0, $ref$tmp = 0, $tobool$i$i = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $vararg_buffer = sp; - $id$addr = sp + 4 | 0; - HEAP32[$id$addr >> 2] = $id; - do if (__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(65260, $id$addr) | 0) { - $call7 = __ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(65260, $id$addr) | 0; - $surfaceSetCount = $call7 + 244 | 0; - $0 = HEAP32[$surfaceSetCount >> 2] | 0; - if ((HEAP8[$datasetPathname + 11 >> 0] | 0) < 0) $cond$i$i$i = HEAP32[$datasetPathname >> 2] | 0; else $cond$i$i$i = $datasetPathname; - if (!(_loadNFTMarker($call7, $0, $cond$i$i$i) | 0)) { - _arLog(0, 3, 44914, $vararg_buffer); - $retval$1 = -1; + $ref$tmp = sp; + $__size_$i$i = $this + 11 | 0; + $0 = HEAP8[$__size_$i$i >> 0] | 0; + $tobool$i$i = $0 << 24 >> 24 < 0; + if ($tobool$i$i) $cond$i = (HEAP32[$this + 8 >> 2] & 2147483647) + -1 | 0; else $cond$i = 10; + do if ($cond$i >>> 0 >= $__n >>> 0) { + if ($tobool$i$i) $cond$i19 = HEAP32[$this >> 2] | 0; else $cond$i19 = $this; + __ZNSt3__211char_traitsIcE4moveEPcPKcm($cond$i19, $__s, $__n) | 0; + HEAP8[$ref$tmp >> 0] = 0; + __ZNSt3__211char_traitsIcE6assignERcRKc($cond$i19 + $__n | 0, $ref$tmp); + if ((HEAP8[$__size_$i$i >> 0] | 0) < 0) { + HEAP32[$this + 4 >> 2] = $__n; break; } else { - HEAP32[$surfaceSetCount >> 2] = (HEAP32[$surfaceSetCount >> 2] | 0) + 1; - $retval$1 = $0; + HEAP8[$__size_$i$i >> 0] = $__n; break; } - } else $retval$1 = -1; while (0); + } else { + if ($tobool$i$i) $cond$i25 = HEAP32[$this + 4 >> 2] | 0; else $cond$i25 = $0 & 255; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE21__grow_by_and_replaceEmmmmmmPKc($this, $cond$i, $__n - $cond$i | 0, $cond$i25, 0, $cond$i25, $__n, $__s); + } while (0); STACKTOP = sp; - return $retval$1 | 0; + return $this | 0; } -function __ZNSt3__26vectorIN6vision7match_tENS_9allocatorIS2_EEE21__push_back_slow_pathIS2_EEvOT_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $14 = 0, $15 = 0, $19 = 0, $2 = 0, $24 = 0, $26 = 0, $3 = 0, $31 = 0, $32 = 0, $8 = 0, $9 = 0, sp = 0; +function __ZNSt3__26vectorIhNS_9allocatorIhEEE21__push_back_slow_pathIRKhEEvOT_($this, $__x) { + $this = $this | 0; + $__x = $__x | 0; + var $3 = 0, $__end_ = 0, $__end_$i = 0, $__v = 0, $add = 0, $call$i = 0, $mul$i = 0, $sub$ptr$sub$i$i$i = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 32 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $2 = sp; - $3 = $0 + 4 | 0; - $8 = ((HEAP32[$3 >> 2] | 0) - (HEAP32[$0 >> 2] | 0) >> 3) + 1 | 0; - $9 = __ZNKSt3__26vectorIN6vision7match_tENS_9allocatorIS2_EEE8max_sizeEv($0) | 0; - if ($9 >>> 0 < $8 >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv($0); else { - $14 = HEAP32[$0 >> 2] | 0; - $15 = (HEAP32[$0 + 8 >> 2] | 0) - $14 | 0; - $19 = $15 >> 2; - __ZNSt3__214__split_bufferIN6vision7match_tERNS_9allocatorIS2_EEEC2EmmS5_($2, $15 >> 3 >>> 0 < $9 >>> 1 >>> 0 ? ($19 >>> 0 < $8 >>> 0 ? $8 : $19) : $9, (HEAP32[$3 >> 2] | 0) - $14 >> 3, $0 + 8 | 0); - $24 = $2 + 8 | 0; - $26 = $1; - $31 = HEAP32[$26 + 4 >> 2] | 0; - $32 = HEAP32[$24 >> 2] | 0; - HEAP32[$32 >> 2] = HEAP32[$26 >> 2]; - HEAP32[$32 + 4 >> 2] = $31; - HEAP32[$24 >> 2] = (HEAP32[$24 >> 2] | 0) + 8; - __ZNSt3__26vectorIN6vision7match_tENS_9allocatorIS2_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS2_RS4_EE($0, $2); - __ZNSt3__214__split_bufferIN6vision7match_tERNS_9allocatorIS2_EEED2Ev($2); + $__v = sp; + $__end_$i = $this + 4 | 0; + $add = (HEAP32[$__end_$i >> 2] | 0) - (HEAP32[$this >> 2] | 0) + 1 | 0; + $call$i = __ZNKSt3__26vectorIhNS_9allocatorIhEEE8max_sizeEv($this) | 0; + if ($call$i >>> 0 < $add >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv($this); else { + $3 = HEAP32[$this >> 2] | 0; + $sub$ptr$sub$i$i$i = (HEAP32[$this + 8 >> 2] | 0) - $3 | 0; + $mul$i = $sub$ptr$sub$i$i$i << 1; + __ZNSt3__214__split_bufferIhRNS_9allocatorIhEEEC2EmmS3_($__v, $sub$ptr$sub$i$i$i >>> 0 < $call$i >>> 1 >>> 0 ? ($mul$i >>> 0 < $add >>> 0 ? $add : $mul$i) : $call$i, (HEAP32[$__end_$i >> 2] | 0) - $3 | 0, $this + 8 | 0); + $__end_ = $__v + 8 | 0; + HEAP8[HEAP32[$__end_ >> 2] >> 0] = HEAP8[$__x >> 0] | 0; + HEAP32[$__end_ >> 2] = (HEAP32[$__end_ >> 2] | 0) + 1; + __ZNSt3__26vectorIhNS_9allocatorIhEEE26__swap_out_circular_bufferERNS_14__split_bufferIhRS2_EE($this, $__v); + __ZNSt3__214__split_bufferIhRNS_9allocatorIhEEED2Ev($__v); STACKTOP = sp; return; } } -function ___stdio_read($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$0 = 0, $$cast = 0, $$pr = 0, $12 = 0, $22 = 0, $26 = 0, $29 = 0, $3 = 0, $30 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, label = 0, sp = 0; +function __ZN6vision5ImageC2EPhNS_9ImageTypeEmmim($this, $data, $type, $width, $height, $step, $channels) { + $this = $this | 0; + $data = $data | 0; + $type = $type | 0; + $width = $width | 0; + $height = $height | 0; + $step = $step | 0; + $channels = $channels | 0; + var $agg$tmp$byval_copy = 0, $agg$tmp2 = 0, $agg$tmp2$byval_copy = 0, $mul = 0, $step$sink = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $3 = sp; - $4 = sp + 16 | 0; - HEAP32[$3 >> 2] = $1; - $5 = $3 + 4 | 0; - $6 = $0 + 48 | 0; - $7 = HEAP32[$6 >> 2] | 0; - HEAP32[$5 >> 2] = $2 - (($7 | 0) != 0 & 1); - $12 = $0 + 44 | 0; - HEAP32[$3 + 8 >> 2] = HEAP32[$12 >> 2]; - HEAP32[$3 + 12 >> 2] = $7; - if (!(___wasi_syscall_ret(___wasi_fd_read(HEAP32[$0 + 60 >> 2] | 0, $3 | 0, 2, $4 | 0) | 0) | 0)) { - $$pr = HEAP32[$4 >> 2] | 0; - if (($$pr | 0) >= 1) { - $26 = HEAP32[$5 >> 2] | 0; - if ($$pr >>> 0 > $26 >>> 0) { - $29 = HEAP32[$12 >> 2] | 0; - $30 = $0 + 4 | 0; - HEAP32[$30 >> 2] = $29; - $$cast = $29; - HEAP32[$0 + 8 >> 2] = $$cast + ($$pr - $26); - if (!(HEAP32[$6 >> 2] | 0)) $$0 = $2; else { - HEAP32[$30 >> 2] = $$cast + 1; - HEAP8[$1 + ($2 + -1) >> 0] = HEAP8[$$cast >> 0] | 0; - $$0 = $2; - } - } else $$0 = $$pr; - } else { - $22 = $$pr; - label = 4; - } + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $agg$tmp2$byval_copy = sp + 8 | 0; + $agg$tmp$byval_copy = sp + 4 | 0; + $agg$tmp2 = sp; + HEAP32[$this >> 2] = $type; + HEAP32[$this + 4 >> 2] = $width; + HEAP32[$this + 8 >> 2] = $height; + HEAP32[$this + 16 >> 2] = $channels; + $mul = Math_imul($step, $height) | 0; + HEAP32[$this + 20 >> 2] = $mul; + HEAP32[$agg$tmp2 >> 2] = 0; + HEAP8[$agg$tmp$byval_copy >> 0] = HEAP8[sp + 12 >> 0] | 0; + HEAP32[$agg$tmp2$byval_copy >> 2] = HEAP32[$agg$tmp2 >> 2]; + __ZNSt3__210shared_ptrIhEC2Ih16NullArrayDeleterIhEEEPT_T0_NS_9enable_ifIXsr14is_convertibleIS6_PhEE5valueENS1_5__natEE4typeE($this + 24 | 0, $data, $agg$tmp$byval_copy, $agg$tmp2$byval_copy); + if (($step | 0) < 0) $step$sink = Math_imul(Math_imul($channels, $width) | 0, __ZN6vision5Image19calculate_unit_sizeENS_9ImageTypeE($type) | 0) | 0; else $step$sink = $step; + HEAP32[$this + 12 >> 2] = $step$sink; + STACKTOP = sp; + return; +} + +function _jinit_d_post_controller($cinfo, $need_full_buffer) { + $cinfo = $cinfo | 0; + $need_full_buffer = $need_full_buffer | 0; + var $3 = 0, $4 = 0, $5 = 0, $buffer = 0, $call = 0, $call15 = 0, $call6 = 0, $call8 = 0, $mem = 0, $mul = 0, $mul13 = 0, $strip_height = 0, $whole_image = 0; + $mem = $cinfo + 4 | 0; + $call = FUNCTION_TABLE_iiii[HEAP32[HEAP32[$mem >> 2] >> 2] & 63]($cinfo, 1, 28) | 0; + HEAP32[$cinfo + 456 >> 2] = $call; + HEAP32[$call >> 2] = 136; + $whole_image = $call + 8 | 0; + HEAP32[$whole_image >> 2] = 0; + $buffer = $call + 12 | 0; + HEAP32[$buffer >> 2] = 0; + if (!(HEAP32[$cinfo + 84 >> 2] | 0)) return; + $3 = HEAP32[$cinfo + 320 >> 2] | 0; + $strip_height = $call + 16 | 0; + HEAP32[$strip_height >> 2] = $3; + $4 = HEAP32[$mem >> 2] | 0; + if (!$need_full_buffer) { + $mul13 = Math_imul(HEAP32[$cinfo + 120 >> 2] | 0, HEAP32[$cinfo + 112 >> 2] | 0) | 0; + $call15 = FUNCTION_TABLE_iiiii[HEAP32[$4 + 8 >> 2] & 15]($cinfo, 1, $mul13, $3) | 0; + HEAP32[$buffer >> 2] = $call15; + return; } else { - HEAP32[$4 >> 2] = -1; - $22 = -1; - label = 4; - } - if ((label | 0) == 4) { - HEAP32[$0 >> 2] = $22 & 48 ^ 16 | HEAP32[$0 >> 2]; - $$0 = $22; + $5 = HEAP32[$4 + 16 >> 2] | 0; + $mul = Math_imul(HEAP32[$cinfo + 120 >> 2] | 0, HEAP32[$cinfo + 112 >> 2] | 0) | 0; + $call6 = _jround_up(HEAP32[$cinfo + 116 >> 2] | 0, $3) | 0; + $call8 = FUNCTION_TABLE_iiiiiii[$5 & 63]($cinfo, 1, 0, $mul, $call6, HEAP32[$strip_height >> 2] | 0) | 0; + HEAP32[$whole_image >> 2] = $call8; + return; } +} + +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E19parseDestructorNameEv($this) { + $this = $this | 0; + var $Result = 0, $call3 = 0, $isdigit = 0, $retval$0 = 0, $storemerge = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $Result = sp; + $isdigit = (((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($this, 0) | 0) << 24 >> 24) + -48 | 0) >>> 0 < 10; + $call3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0; + if ($isdigit) $storemerge = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E13parseSimpleIdEv($call3) | 0; else $storemerge = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E19parseUnresolvedTypeEv($call3) | 0; + HEAP32[$Result >> 2] = $storemerge; + if (!$storemerge) $retval$0 = 0; else $retval$0 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8DtorNameEJRPNS0_4NodeEEEES9_DpOT0_($this, $Result) | 0; STACKTOP = sp; - return $$0 | 0; + return $retval$0 | 0; } -function _rgb1_gray_convert($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $$05356$us = 0, $$05457$us = 0, $$058$us = 0, $$in = 0, $10 = 0, $12 = 0, $13 = 0, $18 = 0, $21 = 0, $24 = 0, $26 = 0, $32 = 0, $36 = 0, $8 = 0, $$in$looptemp = 0; - $8 = HEAP32[(HEAP32[$0 + 480 >> 2] | 0) + 24 >> 2] | 0; - $10 = HEAP32[$0 + 112 >> 2] | 0; - if (($4 | 0) <= 0) return; - $12 = $1 + 4 | 0; - $13 = $1 + 8 | 0; - if (!$10) return; - $$05457$us = $3; - $$058$us = $2; - $$in = $4; +function _h2v2_upsample($cinfo, $compptr, $input_data, $output_data_ptr) { + $cinfo = $cinfo | 0; + $compptr = $compptr | 0; + $input_data = $input_data | 0; + $output_data_ptr = $output_data_ptr | 0; + var $0 = 0, $2 = 0, $3 = 0, $5 = 0, $6 = 0, $add$ptr = 0, $inptr$022 = 0, $inrow$024 = 0, $max_v_samp_factor = 0, $outptr$021 = 0, $output_width = 0, $outrow$025 = 0; + $0 = HEAP32[$output_data_ptr >> 2] | 0; + $max_v_samp_factor = $cinfo + 320 | 0; + if ((HEAP32[$max_v_samp_factor >> 2] | 0) <= 0) return; + $output_width = $cinfo + 112 | 0; + $inrow$024 = 0; + $outrow$025 = 0; while (1) { - $$in$looptemp = $$in; - $$in = $$in + -1 | 0; - $18 = HEAP32[(HEAP32[$1 >> 2] | 0) + ($$058$us << 2) >> 2] | 0; - $21 = HEAP32[(HEAP32[$12 >> 2] | 0) + ($$058$us << 2) >> 2] | 0; - $24 = HEAP32[(HEAP32[$13 >> 2] | 0) + ($$058$us << 2) >> 2] | 0; - $$058$us = $$058$us + 1 | 0; - $26 = HEAP32[$$05457$us >> 2] | 0; - $$05356$us = 0; - do { - $32 = HEAPU8[$21 + $$05356$us >> 0] | 0; - $36 = $32 + 128 | 0; - HEAP8[$26 + $$05356$us >> 0] = ((HEAP32[$8 + (($32 | 256) << 2) >> 2] | 0) + (HEAP32[$8 + (($36 + (HEAPU8[$18 + $$05356$us >> 0] | 0) & 255) << 2) >> 2] | 0) + (HEAP32[$8 + (($36 + (HEAPU8[$24 + $$05356$us >> 0] | 0) & 255 | 512) << 2) >> 2] | 0) | 0) >>> 16; - $$05356$us = $$05356$us + 1 | 0; - } while (($$05356$us | 0) != ($10 | 0)); - if (($$in$looptemp | 0) <= 1) break; else $$05457$us = $$05457$us + 4 | 0; + $2 = HEAP32[$0 + ($outrow$025 << 2) >> 2] | 0; + $3 = HEAP32[$output_width >> 2] | 0; + $add$ptr = $2 + $3 | 0; + if (($3 | 0) > 0) { + $inptr$022 = HEAP32[$input_data + ($inrow$024 << 2) >> 2] | 0; + $outptr$021 = $2; + while (1) { + $5 = HEAP8[$inptr$022 >> 0] | 0; + HEAP8[$outptr$021 >> 0] = $5; + HEAP8[$outptr$021 + 1 >> 0] = $5; + $outptr$021 = $outptr$021 + 2 | 0; + if ($outptr$021 >>> 0 >= $add$ptr >>> 0) break; else $inptr$022 = $inptr$022 + 1 | 0; + } + $6 = HEAP32[$output_width >> 2] | 0; + } else $6 = $3; + _jcopy_sample_rows($0, $outrow$025, $0, $outrow$025 | 1, 1, $6); + $outrow$025 = $outrow$025 + 2 | 0; + if (($outrow$025 | 0) >= (HEAP32[$max_v_samp_factor >> 2] | 0)) break; else $inrow$024 = $inrow$024 + 1 | 0; } return; } -function __ZNK6vision5Image3getIfEEPKT_m($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $11 = 0, $16 = 0, $2 = 0, $20 = 0, $26 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $2 = sp; - if ((HEAP32[$0 + 8 >> 2] | 0) >>> 0 > $1 >>> 0) { - $26 = (HEAP32[$0 + 24 >> 2] | 0) + (Math_imul(HEAP32[$0 + 12 >> 2] | 0, $1) | 0) | 0; - STACKTOP = sp; - return $26 | 0; +function __ZNSt3__26vectorIN6vision7Point3dIfEENS_9allocatorIS3_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS3_RS5_EE($this, $__v) { + $this = $this | 0; + $__v = $__v | 0; + var $$pre$phiZ2D = 0, $0 = 0, $4 = 0, $5 = 0, $6 = 0, $8 = 0, $__begin_2 = 0, $__end_ = 0, $__end_6 = 0, $__value_$i$i$i = 0, $__value_$i$i$i6 = 0, $add$ptr$i = 0, $sub$ptr$sub$i7 = 0; + $0 = HEAP32[$this >> 2] | 0; + $__end_ = $this + 4 | 0; + $__begin_2 = $__v + 4 | 0; + $sub$ptr$sub$i7 = (HEAP32[$__end_ >> 2] | 0) - $0 | 0; + $add$ptr$i = (HEAP32[$__begin_2 >> 2] | 0) + ((($sub$ptr$sub$i7 | 0) / -12 | 0) * 12 | 0) | 0; + HEAP32[$__begin_2 >> 2] = $add$ptr$i; + if (($sub$ptr$sub$i7 | 0) > 0) { + _memcpy($add$ptr$i | 0, $0 | 0, $sub$ptr$sub$i7 | 0) | 0; + $$pre$phiZ2D = $__begin_2; + $5 = HEAP32[$__begin_2 >> 2] | 0; } else { - $11 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 27776) | 0, 27813) | 0, 39072) | 0, 124) | 0, 39079) | 0, 27883) | 0; - __ZNKSt3__28ios_base6getlocEv($2, $11 + (HEAP32[(HEAP32[$11 >> 2] | 0) + -12 >> 2] | 0) | 0); - $16 = __ZNKSt3__26locale9use_facetERNS0_2idE($2, 66512) | 0; - $20 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$16 >> 2] | 0) + 28 >> 2] & 127]($16, 10) | 0; - __ZNSt3__26localeD2Ev($2); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($11, $20) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($11) | 0; - _abort(); + $$pre$phiZ2D = $__begin_2; + $5 = $add$ptr$i; } - return 0; -} - -function __ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_10shared_ptrIN6vision8KeyframeILi96EEEEEEENS_22__unordered_map_hasherIiS7_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS7_NS_8equal_toIiEELb1EEENS_9allocatorIS7_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS7_PvEEEERKT_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$028 = 0, $$pn = 0, $$sroa$0$0 = 0, $14 = 0, $15 = 0, $19 = 0, $2 = 0, $25 = 0, $4 = 0, $6 = 0, $8 = 0; - $2 = HEAP32[$1 >> 2] | 0; - $4 = HEAP32[$0 + 4 >> 2] | 0; - L1 : do if ($4) { - $6 = $4 + -1 | 0; - $8 = ($6 & $4 | 0) == 0; - if (!$8) if ($2 >>> 0 < $4 >>> 0) $14 = $2; else $14 = ($2 >>> 0) % ($4 >>> 0) | 0; else $14 = $6 & $2; - $15 = HEAP32[(HEAP32[$0 >> 2] | 0) + ($14 << 2) >> 2] | 0; - if ($15) { - $$pn = $15; - while (1) { - $$028 = HEAP32[$$pn >> 2] | 0; - if (!$$028) { - $$sroa$0$0 = 0; - break L1; - } - $19 = HEAP32[$$028 + 4 >> 2] | 0; - if (($19 | 0) == ($2 | 0)) { - if ((HEAP32[$$028 + 8 >> 2] | 0) == ($2 | 0)) { - $$sroa$0$0 = $$028; - break L1; - } - } else { - if (!$8) if ($19 >>> 0 < $4 >>> 0) $25 = $19; else $25 = ($19 >>> 0) % ($4 >>> 0) | 0; else $25 = $19 & $6; - if (($25 | 0) != ($14 | 0)) { - $$sroa$0$0 = 0; - break L1; - } - } - $$pn = $$028; - } - } else $$sroa$0$0 = 0; - } else $$sroa$0$0 = 0; while (0); - return $$sroa$0$0 | 0; + $4 = HEAP32[$this >> 2] | 0; + HEAP32[$this >> 2] = $5; + HEAP32[$$pre$phiZ2D >> 2] = $4; + $__end_6 = $__v + 8 | 0; + $6 = HEAP32[$__end_ >> 2] | 0; + HEAP32[$__end_ >> 2] = HEAP32[$__end_6 >> 2]; + HEAP32[$__end_6 >> 2] = $6; + $__value_$i$i$i6 = $this + 8 | 0; + $__value_$i$i$i = $__v + 12 | 0; + $8 = HEAP32[$__value_$i$i$i6 >> 2] | 0; + HEAP32[$__value_$i$i$i6 >> 2] = HEAP32[$__value_$i$i$i >> 2]; + HEAP32[$__value_$i$i$i >> 2] = $8; + HEAP32[$__v >> 2] = HEAP32[$$pre$phiZ2D >> 2]; + return; } -function __ZNSt3__26vectorINS_4pairIfmEENS_9allocatorIS2_EEE21__push_back_slow_pathIS2_EEvOT_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $14 = 0, $15 = 0, $19 = 0, $2 = 0, $24 = 0, $26 = 0, $3 = 0, $31 = 0, $32 = 0, $8 = 0, $9 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $2 = sp; - $3 = $0 + 4 | 0; - $8 = ((HEAP32[$3 >> 2] | 0) - (HEAP32[$0 >> 2] | 0) >> 3) + 1 | 0; - $9 = __ZNKSt3__26vectorINS_4pairIfmEENS_9allocatorIS2_EEE8max_sizeEv($0) | 0; - if ($9 >>> 0 < $8 >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv($0); else { - $14 = HEAP32[$0 >> 2] | 0; - $15 = (HEAP32[$0 + 8 >> 2] | 0) - $14 | 0; - $19 = $15 >> 2; - __ZNSt3__214__split_bufferINS_4pairIfmEERNS_9allocatorIS2_EEEC2EmmS5_($2, $15 >> 3 >>> 0 < $9 >>> 1 >>> 0 ? ($19 >>> 0 < $8 >>> 0 ? $8 : $19) : $9, (HEAP32[$3 >> 2] | 0) - $14 >> 3, $0 + 8 | 0); - $24 = $2 + 8 | 0; - $26 = $1; - $31 = HEAP32[$26 + 4 >> 2] | 0; - $32 = HEAP32[$24 >> 2] | 0; - HEAP32[$32 >> 2] = HEAP32[$26 >> 2]; - HEAP32[$32 + 4 >> 2] = $31; - HEAP32[$24 >> 2] = (HEAP32[$24 >> 2] | 0) + 8; - __ZNSt3__26vectorINS_4pairIfmEENS_9allocatorIS2_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS2_RS4_EE($0, $2); - __ZNSt3__214__split_bufferINS_4pairIfmEERNS_9allocatorIS2_EEED2Ev($2); - STACKTOP = sp; - return; +function __ZN6vision24OrthogonalizeIdentity8x9IfEET_PS1_PKS1_i($x, $Q, $i) { + $x = $x | 0; + $Q = $Q | 0; + $i = $i | 0; + var $9 = 0.0, $arrayidx1 = 0, $call = 0.0, $retval$0 = 0.0; + __ZN6vision12ScaleVector9IfEEvPT_PKS1_S1_($x, $Q, -+HEAPF32[$Q + ($i << 2) >> 2]); + $arrayidx1 = $x + ($i << 2) | 0; + HEAPF32[$arrayidx1 >> 2] = +HEAPF32[$arrayidx1 >> 2] + 1.0; + __ZN6vision23AccumulateScaledVector9IfEEvPT_PKS1_S1_($x, $Q + 36 | 0, -+HEAPF32[$Q + ($i + 9 << 2) >> 2]); + __ZN6vision23AccumulateScaledVector9IfEEvPT_PKS1_S1_($x, $Q + 72 | 0, -+HEAPF32[$Q + ($i + 18 << 2) >> 2]); + __ZN6vision23AccumulateScaledVector9IfEEvPT_PKS1_S1_($x, $Q + 108 | 0, -+HEAPF32[$Q + ($i + 27 << 2) >> 2]); + __ZN6vision23AccumulateScaledVector9IfEEvPT_PKS1_S1_($x, $Q + 144 | 0, -+HEAPF32[$Q + ($i + 36 << 2) >> 2]); + __ZN6vision23AccumulateScaledVector9IfEEvPT_PKS1_S1_($x, $Q + 180 | 0, -+HEAPF32[$Q + ($i + 45 << 2) >> 2]); + __ZN6vision23AccumulateScaledVector9IfEEvPT_PKS1_S1_($x, $Q + 216 | 0, -+HEAPF32[$Q + ($i + 54 << 2) >> 2]); + __ZN6vision23AccumulateScaledVector9IfEEvPT_PKS1_S1_($x, $Q + 252 | 0, -+HEAPF32[$Q + ($i + 63 << 2) >> 2]); + $call = +__ZN6vision11SumSquares9IfEET_PKS1_($x); + $9 = +Math_sqrt(+$call); + if ($call == 0.0) $retval$0 = 0.0; else { + __ZN6vision12ScaleVector9IfEEvPT_PKS1_S1_($x, $x, 1.0 / $9); + $retval$0 = $9; } + return +$retval$0; } -function __ZN6vision5Image3getIfEEPT_m($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $11 = 0, $16 = 0, $2 = 0, $20 = 0, $26 = 0, sp = 0; +function _ar2MarkerCoord2ScreenCoord($cparamLT, $trans, $mx, $my, $sx, $sy) { + $cparamLT = $cparamLT | 0; + $trans = $trans | 0; + $mx = +$mx; + $my = +$my; + $sx = $sx | 0; + $sy = $sy | 0; + var $add28 = 0.0, $add49 = 0.0, $add59 = 0.0, $retval$0 = 0, $wtrans = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $2 = sp; - if ((HEAP32[$0 + 8 >> 2] | 0) >>> 0 > $1 >>> 0) { - $26 = (HEAP32[$0 + 24 >> 2] | 0) + (Math_imul(HEAP32[$0 + 12 >> 2] | 0, $1) | 0) | 0; - STACKTOP = sp; - return $26 | 0; + STACKTOP = STACKTOP + 48 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); + $wtrans = sp; + if (!$cparamLT) { + $add49 = +HEAPF32[$trans + 28 >> 2] + (+HEAPF32[$trans + 16 >> 2] * $mx + +HEAPF32[$trans + 20 >> 2] * $my); + $add59 = +HEAPF32[$trans + 44 >> 2] + (+HEAPF32[$trans + 32 >> 2] * $mx + +HEAPF32[$trans + 36 >> 2] * $my); + HEAPF32[$sx >> 2] = (+HEAPF32[$trans + 12 >> 2] + (+HEAPF32[$trans >> 2] * $mx + +HEAPF32[$trans + 4 >> 2] * $my)) / $add59; + HEAPF32[$sy >> 2] = $add49 / $add59; + $retval$0 = 0; } else { - $11 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 27776) | 0, 27813) | 0, 39072) | 0, 119) | 0, 39079) | 0, 27883) | 0; - __ZNKSt3__28ios_base6getlocEv($2, $11 + (HEAP32[(HEAP32[$11 >> 2] | 0) + -12 >> 2] | 0) | 0); - $16 = __ZNKSt3__26locale9use_facetERNS0_2idE($2, 66512) | 0; - $20 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$16 >> 2] | 0) + 28 >> 2] & 127]($16, 10) | 0; - __ZNSt3__26localeD2Ev($2); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($11, $20) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($11) | 0; - _abort(); + _arUtilMatMuldff($cparamLT + 8 | 0, $trans, $wtrans) | 0; + $add28 = +HEAPF32[$wtrans + 44 >> 2] + (+HEAPF32[$wtrans + 32 >> 2] * $mx + +HEAPF32[$wtrans + 36 >> 2] * $my); + $retval$0 = (_arParamIdeal2ObservLTf($cparamLT + 184 | 0, (+HEAPF32[$wtrans + 12 >> 2] + (+HEAPF32[$wtrans >> 2] * $mx + +HEAPF32[$wtrans + 4 >> 2] * $my)) / $add28, (+HEAPF32[$wtrans + 28 >> 2] + (+HEAPF32[$wtrans + 16 >> 2] * $mx + +HEAPF32[$wtrans + 20 >> 2] * $my)) / $add28, $sx, $sy) | 0) >> 31; } - return 0; + STACKTOP = sp; + return $retval$0 | 0; } -function __ZNSt3__26vectorINS0_INS0_INS_4pairIfmEENS_9allocatorIS2_EEEENS3_IS5_EEEENS3_IS7_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS7_RS8_EE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0$i = 0, $10 = 0, $11 = 0, $13 = 0, $15 = 0, $19 = 0, $2 = 0, $21 = 0, $22 = 0, $24 = 0, $25 = 0, $26 = 0, $3 = 0, $5 = 0, $7 = 0, $8 = 0, $9 = 0; - $2 = HEAP32[$0 >> 2] | 0; - $3 = $0 + 4 | 0; - $5 = $1 + 4 | 0; - $$0$i = HEAP32[$3 >> 2] | 0; - while (1) { - if (($$0$i | 0) == ($2 | 0)) break; - $7 = HEAP32[$5 >> 2] | 0; - $8 = $7 + -12 | 0; - $9 = $$0$i + -12 | 0; - HEAP32[$8 >> 2] = 0; - $10 = $7 + -8 | 0; - HEAP32[$10 >> 2] = 0; - $11 = $7 + -4 | 0; - HEAP32[$11 >> 2] = 0; - HEAP32[$8 >> 2] = HEAP32[$9 >> 2]; - $13 = $$0$i + -8 | 0; - HEAP32[$10 >> 2] = HEAP32[$13 >> 2]; - $15 = $$0$i + -4 | 0; - HEAP32[$11 >> 2] = HEAP32[$15 >> 2]; - HEAP32[$15 >> 2] = 0; - HEAP32[$13 >> 2] = 0; - HEAP32[$9 >> 2] = 0; - HEAP32[$5 >> 2] = (HEAP32[$5 >> 2] | 0) + -12; - $$0$i = $9; - } - $19 = HEAP32[$0 >> 2] | 0; - HEAP32[$0 >> 2] = HEAP32[$5 >> 2]; - HEAP32[$5 >> 2] = $19; - $21 = $1 + 8 | 0; - $22 = HEAP32[$3 >> 2] | 0; - HEAP32[$3 >> 2] = HEAP32[$21 >> 2]; - HEAP32[$21 >> 2] = $22; - $24 = $0 + 8 | 0; - $25 = $1 + 12 | 0; - $26 = HEAP32[$24 >> 2] | 0; - HEAP32[$24 >> 2] = HEAP32[$25 >> 2]; - HEAP32[$25 >> 2] = $26; - HEAP32[$1 >> 2] = HEAP32[$5 >> 2]; - return; -} - -function __ZNK12_GLOBAL__N_116itanium_demangle15IntegerCastExpr9printLeftERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $13 = 0, $14 = 0, $2 = 0, $3 = 0, $4 = 0, $8 = 0, $tmpcast$byval_copy = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $tmpcast$byval_copy = sp + 24 | 0; - $2 = sp + 16 | 0; - $3 = sp + 8 | 0; - $4 = sp; - __ZN12_GLOBAL__N_110StringViewC2EPKc($2, 51968); - HEAP32[$tmpcast$byval_copy >> 2] = HEAP32[$2 >> 2]; - HEAP32[$tmpcast$byval_copy + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $tmpcast$byval_copy); - __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(HEAP32[$0 + 8 >> 2] | 0, $1); - __ZN12_GLOBAL__N_110StringViewC2EPKc($3, 51964); - HEAP32[$tmpcast$byval_copy >> 2] = HEAP32[$3 >> 2]; - HEAP32[$tmpcast$byval_copy + 4 >> 2] = HEAP32[$3 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $tmpcast$byval_copy); - $8 = $0 + 12 | 0; - $13 = HEAP32[$8 + 4 >> 2] | 0; - $14 = $4; - HEAP32[$14 >> 2] = HEAP32[$8 >> 2]; - HEAP32[$14 + 4 >> 2] = $13; - HEAP32[$tmpcast$byval_copy >> 2] = HEAP32[$4 >> 2]; - HEAP32[$tmpcast$byval_copy + 4 >> 2] = HEAP32[$4 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $tmpcast$byval_copy); - STACKTOP = sp; +function __ZNSt3__26vectorIPNS_6locale5facetENS_15__sso_allocatorIS3_Lm28EEEE26__swap_out_circular_bufferERNS_14__split_bufferIS3_RS5_EE($this, $__v) { + $this = $this | 0; + $__v = $__v | 0; + var $$pre$phiZ2D = 0, $0 = 0, $4 = 0, $5 = 0, $6 = 0, $8 = 0, $__begin_2 = 0, $__end_ = 0, $__end_6 = 0, $__value_$i$i$i = 0, $__value_$i$i$i6 = 0, $add$ptr$i = 0, $sub$ptr$sub$i7 = 0; + $0 = HEAP32[$this >> 2] | 0; + $__end_ = $this + 4 | 0; + $__begin_2 = $__v + 4 | 0; + $sub$ptr$sub$i7 = (HEAP32[$__end_ >> 2] | 0) - $0 | 0; + $add$ptr$i = (HEAP32[$__begin_2 >> 2] | 0) + (0 - ($sub$ptr$sub$i7 >> 2) << 2) | 0; + HEAP32[$__begin_2 >> 2] = $add$ptr$i; + if (($sub$ptr$sub$i7 | 0) > 0) { + _memcpy($add$ptr$i | 0, $0 | 0, $sub$ptr$sub$i7 | 0) | 0; + $$pre$phiZ2D = $__begin_2; + $5 = HEAP32[$__begin_2 >> 2] | 0; + } else { + $$pre$phiZ2D = $__begin_2; + $5 = $add$ptr$i; + } + $4 = HEAP32[$this >> 2] | 0; + HEAP32[$this >> 2] = $5; + HEAP32[$$pre$phiZ2D >> 2] = $4; + $__end_6 = $__v + 8 | 0; + $6 = HEAP32[$__end_ >> 2] | 0; + HEAP32[$__end_ >> 2] = HEAP32[$__end_6 >> 2]; + HEAP32[$__end_6 >> 2] = $6; + $__value_$i$i$i6 = $this + 8 | 0; + $__value_$i$i$i = $__v + 12 | 0; + $8 = HEAP32[$__value_$i$i$i6 >> 2] | 0; + HEAP32[$__value_$i$i$i6 >> 2] = HEAP32[$__value_$i$i$i >> 2]; + HEAP32[$__value_$i$i$i >> 2] = $8; + HEAP32[$__v >> 2] = HEAP32[$$pre$phiZ2D >> 2]; return; } @@ -81271,12 +84894,78 @@ function __ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22_ HEAP32[$agg$tmp$ensured >> 2] = 0; if ($3 | 0) { if (HEAP8[$agg$tmp$ensured + 8 >> 0] | 0) __ZNSt3__24pairIKi12arControllerED2Ev($3 + 8 | 0); - __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($3, 496); + __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($3, 520); } STACKTOP = sp; return $2 | 0; } +function _gray_rgb_convert($cinfo, $input_buf, $input_row, $output_buf, $num_rows) { + $cinfo = $cinfo | 0; + $input_buf = $input_buf | 0; + $input_row = $input_row | 0; + $output_buf = $output_buf | 0; + $num_rows = $num_rows | 0; + var $0 = 0, $2 = 0, $4 = 0, $col$012$us = 0, $dec17$us$in = 0, $input_row$addr$016$us = 0, $outptr$011$us = 0, $output_buf$addr$015$us = 0, $dec17$us$in$looptemp = 0; + $0 = HEAP32[$cinfo + 112 >> 2] | 0; + if (($num_rows | 0) < 1 | ($0 | 0) == 0) return; + $dec17$us$in = $num_rows; + $input_row$addr$016$us = $input_row; + $output_buf$addr$015$us = $output_buf; + while (1) { + $dec17$us$in$looptemp = $dec17$us$in; + $dec17$us$in = $dec17$us$in + -1 | 0; + $2 = HEAP32[(HEAP32[$input_buf >> 2] | 0) + ($input_row$addr$016$us << 2) >> 2] | 0; + $col$012$us = 0; + $outptr$011$us = HEAP32[$output_buf$addr$015$us >> 2] | 0; + while (1) { + $4 = HEAP8[$2 + $col$012$us >> 0] | 0; + HEAP8[$outptr$011$us + 2 >> 0] = $4; + HEAP8[$outptr$011$us + 1 >> 0] = $4; + HEAP8[$outptr$011$us >> 0] = $4; + $col$012$us = $col$012$us + 1 | 0; + if (($col$012$us | 0) == ($0 | 0)) break; else $outptr$011$us = $outptr$011$us + 3 | 0; + } + if (($dec17$us$in$looptemp | 0) <= 1) break; else { + $input_row$addr$016$us = $input_row$addr$016$us + 1 | 0; + $output_buf$addr$015$us = $output_buf$addr$015$us + 4 | 0; + } + } + return; +} + +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle14IntegerLiteralEJRNS_10StringViewES5_EEEPT_DpOT0_($this, $args, $args1) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + var $0 = 0, $10 = 0, $15 = 0, $16 = 0, $5 = 0, $6 = 0, $agg$tmp = 0, $agg$tmp5 = 0, $call = 0, $tmpcast$byval_copy = 0, $tmpcast1$byval_copy = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 32 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); + $tmpcast1$byval_copy = sp + 24 | 0; + $tmpcast$byval_copy = sp + 16 | 0; + $agg$tmp = sp + 8 | 0; + $agg$tmp5 = sp; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 24) | 0; + $0 = $args; + $5 = HEAP32[$0 + 4 >> 2] | 0; + $6 = $agg$tmp; + HEAP32[$6 >> 2] = HEAP32[$0 >> 2]; + HEAP32[$6 + 4 >> 2] = $5; + $10 = $args1; + $15 = HEAP32[$10 + 4 >> 2] | 0; + $16 = $agg$tmp5; + HEAP32[$16 >> 2] = HEAP32[$10 >> 2]; + HEAP32[$16 + 4 >> 2] = $15; + HEAP32[$tmpcast$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$tmpcast$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + HEAP32[$tmpcast1$byval_copy >> 2] = HEAP32[$agg$tmp5 >> 2]; + HEAP32[$tmpcast1$byval_copy + 4 >> 2] = HEAP32[$agg$tmp5 + 4 >> 2]; + __ZN12_GLOBAL__N_116itanium_demangle14IntegerLiteralC2ENS_10StringViewES2_($call, $tmpcast$byval_copy, $tmpcast1$byval_copy); + STACKTOP = sp; + return $call | 0; +} + function _getTransMatMultiSquareRobust($id, $multiMarkerId) { $id = $id | 0; $multiMarkerId = $multiMarkerId | 0; @@ -81286,17 +84975,17 @@ function _getTransMatMultiSquareRobust($id, $multiMarkerId) { if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); $id$addr = sp; HEAP32[$id$addr >> 2] = $id; - do if (__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(65260, $id$addr) | 0) { - $call7 = __ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(65260, $id$addr) | 0; - $2 = HEAP32[$call7 + 328 >> 2] | 0; - if (($multiMarkerId | 0) < 0 ? 1 : (HEAP32[$call7 + 332 >> 2] | 0) - $2 >> 3 >>> 0 <= $multiMarkerId >>> 0) { + do if (__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(66108, $id$addr) | 0) { + $call7 = __ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(66108, $id$addr) | 0; + $2 = HEAP32[$call7 + 352 >> 2] | 0; + if (($multiMarkerId | 0) < 0 ? 1 : (HEAP32[$call7 + 356 >> 2] | 0) - $2 >> 3 >>> 0 <= $multiMarkerId >>> 0) { $retval$1 = HEAP32[4225] | 0; break; } else { $5 = HEAP32[$2 + ($multiMarkerId << 3) + 4 >> 2] | 0; $7 = HEAP32[$call7 + 216 >> 2] | 0; +_arGetTransMatMultiSquareRobust(HEAP32[$call7 + 228 >> 2] | 0, $7 + 48 | 0, HEAP32[$7 + 44 >> 2] | 0, $5); - _matrixCopy($5 + 8 | 0, 61136); + _matrixCopy($5 + 8 | 0, 61984); $retval$1 = 0; break; } @@ -81305,39 +84994,295 @@ function _getTransMatMultiSquareRobust($id, $multiMarkerId) { return $retval$1 | 0; } -function __ZNK12_GLOBAL__N_116itanium_demangle11PostfixExpr9printLeftERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $13 = 0, $14 = 0, $2 = 0, $3 = 0, $4 = 0, $8 = 0, $tmpcast$byval_copy = 0, sp = 0; +function __ZNSt3__26vectorIPKN6vision4NodeILi96EEENS_9allocatorIS5_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS5_RS7_EE($this, $__v) { + $this = $this | 0; + $__v = $__v | 0; + var $$pre$phiZ2D = 0, $0 = 0, $4 = 0, $5 = 0, $6 = 0, $8 = 0, $__begin_2 = 0, $__end_ = 0, $__end_6 = 0, $__value_$i$i$i = 0, $__value_$i$i$i6 = 0, $add$ptr$i = 0, $sub$ptr$sub$i7 = 0; + $0 = HEAP32[$this >> 2] | 0; + $__end_ = $this + 4 | 0; + $__begin_2 = $__v + 4 | 0; + $sub$ptr$sub$i7 = (HEAP32[$__end_ >> 2] | 0) - $0 | 0; + $add$ptr$i = (HEAP32[$__begin_2 >> 2] | 0) + (0 - ($sub$ptr$sub$i7 >> 2) << 2) | 0; + HEAP32[$__begin_2 >> 2] = $add$ptr$i; + if (($sub$ptr$sub$i7 | 0) > 0) { + _memcpy($add$ptr$i | 0, $0 | 0, $sub$ptr$sub$i7 | 0) | 0; + $$pre$phiZ2D = $__begin_2; + $5 = HEAP32[$__begin_2 >> 2] | 0; + } else { + $$pre$phiZ2D = $__begin_2; + $5 = $add$ptr$i; + } + $4 = HEAP32[$this >> 2] | 0; + HEAP32[$this >> 2] = $5; + HEAP32[$$pre$phiZ2D >> 2] = $4; + $__end_6 = $__v + 8 | 0; + $6 = HEAP32[$__end_ >> 2] | 0; + HEAP32[$__end_ >> 2] = HEAP32[$__end_6 >> 2]; + HEAP32[$__end_6 >> 2] = $6; + $__value_$i$i$i6 = $this + 8 | 0; + $__value_$i$i$i = $__v + 12 | 0; + $8 = HEAP32[$__value_$i$i$i6 >> 2] | 0; + HEAP32[$__value_$i$i$i6 >> 2] = HEAP32[$__value_$i$i$i >> 2]; + HEAP32[$__value_$i$i$i >> 2] = $8; + HEAP32[$__v >> 2] = HEAP32[$$pre$phiZ2D >> 2]; + return; +} + +function _kpmChangePageNoOfRefDataSet($refDataSet, $oldPageNo, $newPageNo) { + $refDataSet = $refDataSet | 0; + $oldPageNo = $oldPageNo | 0; + $newPageNo = $newPageNo | 0; + var $0 = 0, $1 = 0, $3 = 0, $5 = 0, $cmp2 = 0, $i$0 = 0, $i12$0 = 0, $pageInfo = 0, $pageNo = 0, $pageNo18 = 0, $retval$0 = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $tmpcast$byval_copy = sp + 24 | 0; - $2 = sp + 16 | 0; - $3 = sp + 8 | 0; - $4 = sp; - __ZN12_GLOBAL__N_110StringViewC2EPKc($2, 51968); - HEAP32[$tmpcast$byval_copy >> 2] = HEAP32[$2 >> 2]; - HEAP32[$tmpcast$byval_copy + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $tmpcast$byval_copy); - __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(HEAP32[$0 + 8 >> 2] | 0, $1); - __ZN12_GLOBAL__N_110StringViewC2EPKc($3, 51964); - HEAP32[$tmpcast$byval_copy >> 2] = HEAP32[$3 >> 2]; - HEAP32[$tmpcast$byval_copy + 4 >> 2] = HEAP32[$3 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $tmpcast$byval_copy); - $8 = $0 + 12 | 0; - $13 = HEAP32[$8 + 4 >> 2] | 0; - $14 = $4; - HEAP32[$14 >> 2] = HEAP32[$8 >> 2]; - HEAP32[$14 + 4 >> 2] = $13; - HEAP32[$tmpcast$byval_copy >> 2] = HEAP32[$4 >> 2]; - HEAP32[$tmpcast$byval_copy + 4 >> 2] = HEAP32[$4 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $tmpcast$byval_copy); + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + L1 : do if (!$refDataSet) { + _arLog(0, 3, 26474, sp); + $retval$0 = -1; + } else { + $0 = HEAP32[$refDataSet + 4 >> 2] | 0; + $cmp2 = ($oldPageNo | 0) == -1; + $i$0 = 0; + while (1) { + if (($i$0 | 0) >= ($0 | 0)) break; + $pageNo = (HEAP32[$refDataSet >> 2] | 0) + ($i$0 * 132 | 0) + 124 | 0; + $3 = HEAP32[$pageNo >> 2] | 0; + if (($3 | 0) == ($oldPageNo | 0) | $cmp2 & ($3 | 0) > -1) HEAP32[$pageNo >> 2] = $newPageNo; + $i$0 = $i$0 + 1 | 0; + } + $1 = HEAP32[$refDataSet + 12 >> 2] | 0; + $pageInfo = $refDataSet + 8 | 0; + $i12$0 = 0; + while (1) { + if (($i12$0 | 0) >= ($1 | 0)) { + $retval$0 = 0; + break L1; + } + $pageNo18 = (HEAP32[$pageInfo >> 2] | 0) + ($i12$0 * 12 | 0) + 8 | 0; + $5 = HEAP32[$pageNo18 >> 2] | 0; + if (($5 | 0) == ($oldPageNo | 0) | $cmp2 & ($5 | 0) > -1) HEAP32[$pageNo18 >> 2] = $newPageNo; + $i12$0 = $i12$0 + 1 | 0; + } + } while (0); + STACKTOP = sp; + return $retval$0 | 0; +} + +function __ZNSt3__26vectorIPN6vision4NodeILi96EEENS_9allocatorIS4_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS4_RS6_EE($this, $__v) { + $this = $this | 0; + $__v = $__v | 0; + var $$pre$phiZ2D = 0, $0 = 0, $4 = 0, $5 = 0, $6 = 0, $8 = 0, $__begin_2 = 0, $__end_ = 0, $__end_6 = 0, $__value_$i$i$i = 0, $__value_$i$i$i6 = 0, $add$ptr$i = 0, $sub$ptr$sub$i7 = 0; + $0 = HEAP32[$this >> 2] | 0; + $__end_ = $this + 4 | 0; + $__begin_2 = $__v + 4 | 0; + $sub$ptr$sub$i7 = (HEAP32[$__end_ >> 2] | 0) - $0 | 0; + $add$ptr$i = (HEAP32[$__begin_2 >> 2] | 0) + (0 - ($sub$ptr$sub$i7 >> 2) << 2) | 0; + HEAP32[$__begin_2 >> 2] = $add$ptr$i; + if (($sub$ptr$sub$i7 | 0) > 0) { + _memcpy($add$ptr$i | 0, $0 | 0, $sub$ptr$sub$i7 | 0) | 0; + $$pre$phiZ2D = $__begin_2; + $5 = HEAP32[$__begin_2 >> 2] | 0; + } else { + $$pre$phiZ2D = $__begin_2; + $5 = $add$ptr$i; + } + $4 = HEAP32[$this >> 2] | 0; + HEAP32[$this >> 2] = $5; + HEAP32[$$pre$phiZ2D >> 2] = $4; + $__end_6 = $__v + 8 | 0; + $6 = HEAP32[$__end_ >> 2] | 0; + HEAP32[$__end_ >> 2] = HEAP32[$__end_6 >> 2]; + HEAP32[$__end_6 >> 2] = $6; + $__value_$i$i$i6 = $this + 8 | 0; + $__value_$i$i$i = $__v + 12 | 0; + $8 = HEAP32[$__value_$i$i$i6 >> 2] | 0; + HEAP32[$__value_$i$i$i6 >> 2] = HEAP32[$__value_$i$i$i >> 2]; + HEAP32[$__value_$i$i$i >> 2] = $8; + HEAP32[$__v >> 2] = HEAP32[$$pre$phiZ2D >> 2]; + return; +} + +function __ZNK12_GLOBAL__N_116itanium_demangle10BracedExpr9printLeftERNS_12OutputStreamE($this, $S) { + $this = $this | 0; + $S = $S | 0; + var $3 = 0, $4 = 0, $Init = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $agg$tmp$byval_copy = sp + 8 | 0; + $agg$tmp = sp; + if (!(HEAP8[$this + 16 >> 0] | 0)) { + __ZN12_GLOBAL__N_112OutputStreampLEc($S, 46); + __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(HEAP32[$this + 8 >> 2] | 0, $S); + } else { + __ZN12_GLOBAL__N_112OutputStreampLEc($S, 91); + __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(HEAP32[$this + 8 >> 2] | 0, $S); + __ZN12_GLOBAL__N_112OutputStreampLEc($S, 93); + } + $Init = $this + 12 | 0; + $3 = HEAP32[$Init >> 2] | 0; + if (((__ZNK12_GLOBAL__N_116itanium_demangle4Node7getKindEv($3) | 0) + -65 & 255) < 2) $4 = $3; else { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, 54246); + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp$byval_copy); + $4 = HEAP32[$Init >> 2] | 0; + } + __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE($4, $S); STACKTOP = sp; return; } -function __ZNSt3__26vectorI12multi_markerNS_9allocatorIS1_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS1_RS3_EE($this, $__v) { +function _start_pass_dpost($cinfo, $pass_mode) { + $cinfo = $cinfo | 0; + $pass_mode = $pass_mode | 0; + var $0 = 0, $10 = 0, $13 = 0, $15 = 0, $buffer = 0, $call = 0; + $0 = HEAP32[$cinfo + 456 >> 2] | 0; + L1 : do switch ($pass_mode | 0) { + case 0: + { + if (!(HEAP32[$cinfo + 84 >> 2] | 0)) { + HEAP32[$0 + 4 >> 2] = HEAP32[(HEAP32[$cinfo + 476 >> 2] | 0) + 4 >> 2]; + break L1; + } + HEAP32[$0 + 4 >> 2] = 1; + $buffer = $0 + 12 | 0; + if (!(HEAP32[$buffer >> 2] | 0)) { + $call = FUNCTION_TABLE_iiiiii[HEAP32[(HEAP32[$cinfo + 4 >> 2] | 0) + 28 >> 2] & 31]($cinfo, HEAP32[$0 + 8 >> 2] | 0, 0, HEAP32[$0 + 16 >> 2] | 0, 1) | 0; + HEAP32[$buffer >> 2] = $call; + } + break; + } + case 3: + { + if (!(HEAP32[$0 + 8 >> 2] | 0)) { + $10 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$10 + 20 >> 2] = 3; + FUNCTION_TABLE_vi[HEAP32[$10 >> 2] & 255]($cinfo); + } + HEAP32[$0 + 4 >> 2] = 2; + break; + } + case 2: + { + if (!(HEAP32[$0 + 8 >> 2] | 0)) { + $13 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$13 + 20 >> 2] = 3; + FUNCTION_TABLE_vi[HEAP32[$13 >> 2] & 255]($cinfo); + } + HEAP32[$0 + 4 >> 2] = 3; + break; + } + default: + { + $15 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$15 + 20 >> 2] = 3; + FUNCTION_TABLE_vi[HEAP32[$15 >> 2] & 255]($cinfo); + } + } while (0); + HEAP32[$0 + 24 >> 2] = 0; + HEAP32[$0 + 20 >> 2] = 0; + return; +} + +function __ZN6vision27OrthogonalizePivot8x9Basis6IfEEbPT_S2_($Q, $A) { + $Q = $Q | 0; + $A = $A | 0; + var $add$ptr = 0, $add$ptr1 = 0, $add$ptr2 = 0, $add$ptr3 = 0, $arrayidx11 = 0, $call = 0.0, $call10 = 0, $call8 = 0.0, $mul = 0, $retval$0 = 0, $ss = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $ss = sp; + $add$ptr = $Q + 216 | 0; + $add$ptr1 = $Q + 180 | 0; + $add$ptr2 = $A + 216 | 0; + __ZN6vision21AccumulateProjection9IfEEvPT_PKS1_S4_($add$ptr, $add$ptr1, $add$ptr2); + $add$ptr3 = $Q + 252 | 0; + __ZN6vision21AccumulateProjection9IfEEvPT_PKS1_S4_($add$ptr3, $add$ptr1, $A + 252 | 0); + $call = +__ZN6vision11SumSquares9IfEET_PKS1_($add$ptr); + HEAPF32[$ss >> 2] = $call; + $call8 = +__ZN6vision11SumSquares9IfEET_PKS1_($add$ptr3); + HEAPF32[$ss + 4 >> 2] = $call8; + $call10 = __ZN6vision9MaxIndex2IfEEiPKT_($ss) | 0; + $arrayidx11 = $ss + ($call10 << 2) | 0; + if (+HEAPF32[$arrayidx11 >> 2] == 0.0) $retval$0 = 0; else { + $mul = $call10 * 9 | 0; + __ZN6vision5Swap9IfEEvPT_S2_($add$ptr, $add$ptr + ($mul << 2) | 0); + __ZN6vision5Swap9IfEEvPT_S2_($add$ptr2, $add$ptr2 + ($mul << 2) | 0); + __ZN6vision12ScaleVector9IfEEvPT_PKS1_S1_($add$ptr, $add$ptr, 1.0 / +Math_sqrt(+(+HEAPF32[$arrayidx11 >> 2]))); + $retval$0 = 1; + } + STACKTOP = sp; + return $retval$0 | 0; +} + +function __ZN6vision14VisualDatabaseINS_14FREAKExtractorENS_18BinaryFeatureStoreENS_20BinaryFeatureMatcherILi96EEEEC2Ev($this) { + $this = $this | 0; + var $mDetector = 0, $mQueryKeyframe = 0; + HEAP32[$this + 12 >> 2] = 0; + HEAP32[$this + 16 >> 2] = 0; + HEAP32[$this + 20 >> 2] = 0; + $mQueryKeyframe = $this + 64 | 0; + HEAP32[$mQueryKeyframe >> 2] = 0; + HEAP32[$mQueryKeyframe + 4 >> 2] = 0; + HEAP32[$mQueryKeyframe + 8 >> 2] = 0; + HEAP32[$mQueryKeyframe + 12 >> 2] = 0; + HEAP32[$mQueryKeyframe + 16 >> 2] = 0; + HEAP32[$mQueryKeyframe + 20 >> 2] = 0; + HEAP32[$this + 88 >> 2] = 1065353216; + __ZN6vision18BinomialPyramid32fC2Ev($this + 92 | 0); + $mDetector = $this + 160 | 0; + __ZN6vision25DoGScaleInvariantDetectorC2Ev($mDetector); + __ZN6vision14FREAKExtractorC2Ev($this + 316 | 0); + __ZN6vision20BinaryFeatureMatcherILi96EEC2Ev($this + 636 | 0); + __ZN6vision21HoughSimilarityVotingC2Ev($this + 652 | 0); + __ZN6vision16RobustHomographyIfEC2Efiii($this + 788 | 0, .009999999776482582, 1024, 1064, 50); + __ZN6vision25DoGScaleInvariantDetector21setLaplacianThresholdEf($mDetector, 3.0); + __ZN6vision25DoGScaleInvariantDetector16setEdgeThresholdEf($mDetector, 4.0); + __ZN6vision25DoGScaleInvariantDetector22setMaxNumFeaturePointsEm($mDetector, 500); + HEAPF32[$this + 4 >> 2] = 3.0; + HEAP32[$this >> 2] = 8; + HEAP8[$this + 8 >> 0] = 1; + return; +} + +function _pass2_no_dither($cinfo, $input_buf, $output_buf, $num_rows) { + $cinfo = $cinfo | 0; + $input_buf = $input_buf | 0; + $output_buf = $output_buf | 0; + $num_rows = $num_rows | 0; + var $1 = 0, $10 = 0, $12 = 0, $13 = 0, $2 = 0, $6 = 0, $8 = 0, $arrayidx15 = 0, $col$026 = 0, $inptr$027 = 0, $outptr$025 = 0, $row$029 = 0; + $1 = HEAP32[(HEAP32[$cinfo + 484 >> 2] | 0) + 24 >> 2] | 0; + $2 = HEAP32[$cinfo + 112 >> 2] | 0; + if (($num_rows | 0) < 1 | ($2 | 0) == 0) return; + $row$029 = 0; + do { + $col$026 = $2; + $inptr$027 = HEAP32[$input_buf + ($row$029 << 2) >> 2] | 0; + $outptr$025 = HEAP32[$output_buf + ($row$029 << 2) >> 2] | 0; + while (1) { + $6 = (HEAPU8[$inptr$027 >> 0] | 0) >>> 3; + $8 = (HEAPU8[$inptr$027 + 1 >> 0] | 0) >>> 2; + $10 = (HEAPU8[$inptr$027 + 2 >> 0] | 0) >>> 3; + $arrayidx15 = (HEAP32[$1 + ($6 << 2) >> 2] | 0) + ($8 << 6) + ($10 << 1) | 0; + $12 = HEAP16[$arrayidx15 >> 1] | 0; + if (!($12 << 16 >> 16)) { + _fill_inverse_cmap($cinfo, $6, $8, $10); + $13 = HEAP16[$arrayidx15 >> 1] | 0; + } else $13 = $12; + HEAP8[$outptr$025 >> 0] = ($13 & 65535) + 255; + $col$026 = $col$026 + -1 | 0; + if (!$col$026) break; else { + $inptr$027 = $inptr$027 + 3 | 0; + $outptr$025 = $outptr$025 + 1 | 0; + } + } + $row$029 = $row$029 + 1 | 0; + } while (($row$029 | 0) != ($num_rows | 0)); + return; +} + +function __ZNSt3__26vectorIN6vision7match_tENS_9allocatorIS2_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS2_RS4_EE($this, $__v) { $this = $this | 0; $__v = $__v | 0; var $$pre$phiZ2D = 0, $0 = 0, $4 = 0, $5 = 0, $6 = 0, $8 = 0, $__begin_2 = 0, $__end_ = 0, $__end_6 = 0, $__value_$i$i$i = 0, $__value_$i$i$i6 = 0, $add$ptr$i = 0, $sub$ptr$sub$i7 = 0; @@ -81371,96 +85316,180 @@ function __ZNSt3__26vectorI12multi_markerNS_9allocatorIS1_EEE26__swap_out_circul return; } -function __ZNSt3__26vectorINS0_INS_4pairIfmEENS_9allocatorIS2_EEEENS3_IS5_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS5_RS6_EE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0$i = 0, $10 = 0, $11 = 0, $13 = 0, $15 = 0, $19 = 0, $2 = 0, $21 = 0, $22 = 0, $24 = 0, $25 = 0, $26 = 0, $3 = 0, $5 = 0, $7 = 0, $8 = 0, $9 = 0; - $2 = HEAP32[$0 >> 2] | 0; - $3 = $0 + 4 | 0; - $5 = $1 + 4 | 0; - $$0$i = HEAP32[$3 >> 2] | 0; - while (1) { - if (($$0$i | 0) == ($2 | 0)) break; - $7 = HEAP32[$5 >> 2] | 0; - $8 = $7 + -12 | 0; - $9 = $$0$i + -12 | 0; - HEAP32[$8 >> 2] = 0; - $10 = $7 + -8 | 0; - HEAP32[$10 >> 2] = 0; - $11 = $7 + -4 | 0; - HEAP32[$11 >> 2] = 0; - HEAP32[$8 >> 2] = HEAP32[$9 >> 2]; - $13 = $$0$i + -8 | 0; - HEAP32[$10 >> 2] = HEAP32[$13 >> 2]; - $15 = $$0$i + -4 | 0; - HEAP32[$11 >> 2] = HEAP32[$15 >> 2]; - HEAP32[$15 >> 2] = 0; - HEAP32[$13 >> 2] = 0; - HEAP32[$9 >> 2] = 0; - HEAP32[$5 >> 2] = (HEAP32[$5 >> 2] | 0) + -12; - $$0$i = $9; - } - $19 = HEAP32[$0 >> 2] | 0; - HEAP32[$0 >> 2] = HEAP32[$5 >> 2]; - HEAP32[$5 >> 2] = $19; - $21 = $1 + 8 | 0; - $22 = HEAP32[$3 >> 2] | 0; - HEAP32[$3 >> 2] = HEAP32[$21 >> 2]; - HEAP32[$21 >> 2] = $22; - $24 = $0 + 8 | 0; - $25 = $1 + 12 | 0; - $26 = HEAP32[$24 >> 2] | 0; - HEAP32[$24 >> 2] = HEAP32[$25 >> 2]; - HEAP32[$25 >> 2] = $26; - HEAP32[$1 >> 2] = HEAP32[$5 >> 2]; - return; -} - -function _skip_variable($0) { - $0 = $0 | 0; - var $$0 = 0, $$041 = 0, $$043 = 0, $$1 = 0, $$142 = 0, $1 = 0, $11 = 0, $12 = 0, $15 = 0, $2 = 0, $27 = 0, $28 = 0, $29 = 0, $3 = 0, $4 = 0; - $1 = $0 + 24 | 0; - $2 = HEAP32[$1 >> 2] | 0; - $3 = $2 + 4 | 0; - $4 = HEAP32[$3 >> 2] | 0; - do if (!$4) if (!(FUNCTION_TABLE_ii[HEAP32[$2 + 12 >> 2] & 127]($0) | 0)) { - $$043 = 0; - return $$043 | 0; +function __ZNSt3__225__num_get_signed_integralIxEET_PKcS3_Rji($__a, $__a_end, $__err, $__base) { + $__a = $__a | 0; + $__a_end = $__a_end | 0; + $__err = $__err | 0; + $__base = $__base | 0; + var $0 = 0, $1 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $2 = 0, $3 = 0, $9 = 0, $__p2 = 0, $call = 0, $call1 = 0, $call4 = 0, $call7 = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $__p2 = sp; + if (($__a | 0) == ($__a_end | 0)) { + HEAP32[$__err >> 2] = 4; + $12 = 0; + $13 = 0; } else { - $$0 = HEAP32[$3 >> 2] | 0; - break; - } else $$0 = $4; while (0); - $$041 = HEAP32[$2 >> 2] | 0; - $11 = $$0 + -1 | 0; - $12 = $$041 + 1 | 0; - $15 = (HEAPU8[$$041 >> 0] | 0) << 8; - do if (!$11) if (!(FUNCTION_TABLE_ii[HEAP32[$2 + 12 >> 2] & 127]($0) | 0)) { - $$043 = 0; - return $$043 | 0; + $call = ___errno_location() | 0; + $0 = HEAP32[$call >> 2] | 0; + $call1 = ___errno_location() | 0; + HEAP32[$call1 >> 2] = 0; + $1 = _strtoll_l($__a, $__p2, $__base, __ZNSt3__26__clocEv() | 0) | 0; + $2 = getTempRet0() | 0; + $call4 = ___errno_location() | 0; + $3 = HEAP32[$call4 >> 2] | 0; + if (!$3) { + $call7 = ___errno_location() | 0; + HEAP32[$call7 >> 2] = $0; + } + if ((HEAP32[$__p2 >> 2] | 0) == ($__a_end | 0)) if (($3 | 0) == 68) { + HEAP32[$__err >> 2] = 4; + $9 = ($2 | 0) > 0 | ($2 | 0) == 0 & $1 >>> 0 > 0; + $14 = $9 ? -1 : 0; + $15 = $9 ? 2147483647 : -2147483648; + } else { + $14 = $1; + $15 = $2; + } else { + HEAP32[$__err >> 2] = 4; + $14 = 0; + $15 = 0; + } + $12 = $15; + $13 = $14; + } + setTempRet0($12 | 0); + STACKTOP = sp; + return $13 | 0; +} + +function __ZN6vision21AccumulateProjection9IfEEvPT_PKS1_S4_($x, $e, $a) { + $x = $x | 0; + $e = $e | 0; + $a = $a | 0; + var $arrayidx12 = 0, $arrayidx16 = 0, $arrayidx20 = 0, $arrayidx24 = 0, $arrayidx28 = 0, $arrayidx32 = 0, $arrayidx4 = 0, $arrayidx8 = 0, $call = 0.0; + $call = +__ZN6vision11DotProduct9IfEET_PKS1_S3_($a, $e); + HEAPF32[$x >> 2] = +HEAPF32[$x >> 2] - $call * +HEAPF32[$e >> 2]; + $arrayidx4 = $x + 4 | 0; + HEAPF32[$arrayidx4 >> 2] = +HEAPF32[$arrayidx4 >> 2] - $call * +HEAPF32[$e + 4 >> 2]; + $arrayidx8 = $x + 8 | 0; + HEAPF32[$arrayidx8 >> 2] = +HEAPF32[$arrayidx8 >> 2] - $call * +HEAPF32[$e + 8 >> 2]; + $arrayidx12 = $x + 12 | 0; + HEAPF32[$arrayidx12 >> 2] = +HEAPF32[$arrayidx12 >> 2] - $call * +HEAPF32[$e + 12 >> 2]; + $arrayidx16 = $x + 16 | 0; + HEAPF32[$arrayidx16 >> 2] = +HEAPF32[$arrayidx16 >> 2] - $call * +HEAPF32[$e + 16 >> 2]; + $arrayidx20 = $x + 20 | 0; + HEAPF32[$arrayidx20 >> 2] = +HEAPF32[$arrayidx20 >> 2] - $call * +HEAPF32[$e + 20 >> 2]; + $arrayidx24 = $x + 24 | 0; + HEAPF32[$arrayidx24 >> 2] = +HEAPF32[$arrayidx24 >> 2] - $call * +HEAPF32[$e + 24 >> 2]; + $arrayidx28 = $x + 28 | 0; + HEAPF32[$arrayidx28 >> 2] = +HEAPF32[$arrayidx28 >> 2] - $call * +HEAPF32[$e + 28 >> 2]; + $arrayidx32 = $x + 32 | 0; + HEAPF32[$arrayidx32 >> 2] = +HEAPF32[$arrayidx32 >> 2] - $call * +HEAPF32[$e + 32 >> 2]; + return; +} + +function __ZNSt3__26vectorI12multi_markerNS_9allocatorIS1_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS1_RS3_EE($this, $__v) { + $this = $this | 0; + $__v = $__v | 0; + var $$pre$phiZ2D = 0, $0 = 0, $4 = 0, $5 = 0, $6 = 0, $8 = 0, $__begin_2 = 0, $__end_ = 0, $__end_6 = 0, $__value_$i$i$i = 0, $__value_$i$i$i6 = 0, $add$ptr$i = 0, $sub$ptr$sub$i7 = 0; + $0 = HEAP32[$this >> 2] | 0; + $__end_ = $this + 4 | 0; + $__begin_2 = $__v + 4 | 0; + $sub$ptr$sub$i7 = (HEAP32[$__end_ >> 2] | 0) - $0 | 0; + $add$ptr$i = (HEAP32[$__begin_2 >> 2] | 0) + (0 - ($sub$ptr$sub$i7 >> 3) << 3) | 0; + HEAP32[$__begin_2 >> 2] = $add$ptr$i; + if (($sub$ptr$sub$i7 | 0) > 0) { + _memcpy($add$ptr$i | 0, $0 | 0, $sub$ptr$sub$i7 | 0) | 0; + $$pre$phiZ2D = $__begin_2; + $5 = HEAP32[$__begin_2 >> 2] | 0; } else { - $$1 = HEAP32[$3 >> 2] | 0; - $$142 = HEAP32[$2 >> 2] | 0; - break; + $$pre$phiZ2D = $__begin_2; + $5 = $add$ptr$i; + } + $4 = HEAP32[$this >> 2] | 0; + HEAP32[$this >> 2] = $5; + HEAP32[$$pre$phiZ2D >> 2] = $4; + $__end_6 = $__v + 8 | 0; + $6 = HEAP32[$__end_ >> 2] | 0; + HEAP32[$__end_ >> 2] = HEAP32[$__end_6 >> 2]; + HEAP32[$__end_6 >> 2] = $6; + $__value_$i$i$i6 = $this + 8 | 0; + $__value_$i$i$i = $__v + 12 | 0; + $8 = HEAP32[$__value_$i$i$i6 >> 2] | 0; + HEAP32[$__value_$i$i$i6 >> 2] = HEAP32[$__value_$i$i$i >> 2]; + HEAP32[$__value_$i$i$i >> 2] = $8; + HEAP32[$__v >> 2] = HEAP32[$$pre$phiZ2D >> 2]; + return; +} + +function __ZNSt3__26vectorINS_4pairIfmEENS_9allocatorIS2_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS2_RS4_EE($this, $__v) { + $this = $this | 0; + $__v = $__v | 0; + var $$pre$phiZ2D = 0, $0 = 0, $4 = 0, $5 = 0, $6 = 0, $8 = 0, $__begin_2 = 0, $__end_ = 0, $__end_6 = 0, $__value_$i$i$i = 0, $__value_$i$i$i6 = 0, $add$ptr$i = 0, $sub$ptr$sub$i7 = 0; + $0 = HEAP32[$this >> 2] | 0; + $__end_ = $this + 4 | 0; + $__begin_2 = $__v + 4 | 0; + $sub$ptr$sub$i7 = (HEAP32[$__end_ >> 2] | 0) - $0 | 0; + $add$ptr$i = (HEAP32[$__begin_2 >> 2] | 0) + (0 - ($sub$ptr$sub$i7 >> 3) << 3) | 0; + HEAP32[$__begin_2 >> 2] = $add$ptr$i; + if (($sub$ptr$sub$i7 | 0) > 0) { + _memcpy($add$ptr$i | 0, $0 | 0, $sub$ptr$sub$i7 | 0) | 0; + $$pre$phiZ2D = $__begin_2; + $5 = HEAP32[$__begin_2 >> 2] | 0; } else { - $$1 = $11; - $$142 = $12; - } while (0); - $27 = $15 | (HEAPU8[$$142 >> 0] | 0); - $28 = $27 + -2 | 0; - $29 = HEAP32[$0 >> 2] | 0; - HEAP32[$29 + 20 >> 2] = 93; - HEAP32[$29 + 24 >> 2] = HEAP32[$0 + 440 >> 2]; - HEAP32[(HEAP32[$0 >> 2] | 0) + 28 >> 2] = $28; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$0 >> 2] | 0) + 4 >> 2] & 255]($0, 1); - HEAP32[$2 >> 2] = $$142 + 1; - HEAP32[$3 >> 2] = $$1 + -1; - if ($27 >>> 0 <= 2) { - $$043 = 1; - return $$043 | 0; - } - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$1 >> 2] | 0) + 16 >> 2] & 255]($0, $28); - $$043 = 1; - return $$043 | 0; + $$pre$phiZ2D = $__begin_2; + $5 = $add$ptr$i; + } + $4 = HEAP32[$this >> 2] | 0; + HEAP32[$this >> 2] = $5; + HEAP32[$$pre$phiZ2D >> 2] = $4; + $__end_6 = $__v + 8 | 0; + $6 = HEAP32[$__end_ >> 2] | 0; + HEAP32[$__end_ >> 2] = HEAP32[$__end_6 >> 2]; + HEAP32[$__end_6 >> 2] = $6; + $__value_$i$i$i6 = $this + 8 | 0; + $__value_$i$i$i = $__v + 12 | 0; + $8 = HEAP32[$__value_$i$i$i6 >> 2] | 0; + HEAP32[$__value_$i$i$i6 >> 2] = HEAP32[$__value_$i$i$i >> 2]; + HEAP32[$__value_$i$i$i >> 2] = $8; + HEAP32[$__v >> 2] = HEAP32[$$pre$phiZ2D >> 2]; + return; +} + +function __ZNSt3__26vectorINS_4pairIfiEENS_9allocatorIS2_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS2_RS4_EE($this, $__v) { + $this = $this | 0; + $__v = $__v | 0; + var $$pre$phiZ2D = 0, $0 = 0, $4 = 0, $5 = 0, $6 = 0, $8 = 0, $__begin_2 = 0, $__end_ = 0, $__end_6 = 0, $__value_$i$i$i = 0, $__value_$i$i$i6 = 0, $add$ptr$i = 0, $sub$ptr$sub$i7 = 0; + $0 = HEAP32[$this >> 2] | 0; + $__end_ = $this + 4 | 0; + $__begin_2 = $__v + 4 | 0; + $sub$ptr$sub$i7 = (HEAP32[$__end_ >> 2] | 0) - $0 | 0; + $add$ptr$i = (HEAP32[$__begin_2 >> 2] | 0) + (0 - ($sub$ptr$sub$i7 >> 3) << 3) | 0; + HEAP32[$__begin_2 >> 2] = $add$ptr$i; + if (($sub$ptr$sub$i7 | 0) > 0) { + _memcpy($add$ptr$i | 0, $0 | 0, $sub$ptr$sub$i7 | 0) | 0; + $$pre$phiZ2D = $__begin_2; + $5 = HEAP32[$__begin_2 >> 2] | 0; + } else { + $$pre$phiZ2D = $__begin_2; + $5 = $add$ptr$i; + } + $4 = HEAP32[$this >> 2] | 0; + HEAP32[$this >> 2] = $5; + HEAP32[$$pre$phiZ2D >> 2] = $4; + $__end_6 = $__v + 8 | 0; + $6 = HEAP32[$__end_ >> 2] | 0; + HEAP32[$__end_ >> 2] = HEAP32[$__end_6 >> 2]; + HEAP32[$__end_6 >> 2] = $6; + $__value_$i$i$i6 = $this + 8 | 0; + $__value_$i$i$i = $__v + 12 | 0; + $8 = HEAP32[$__value_$i$i$i6 >> 2] | 0; + HEAP32[$__value_$i$i$i6 >> 2] = HEAP32[$__value_$i$i$i >> 2]; + HEAP32[$__value_$i$i$i >> 2] = $8; + HEAP32[$__v >> 2] = HEAP32[$$pre$phiZ2D >> 2]; + return; } function _getTransMatMultiSquare($id, $multiMarkerId) { @@ -81472,17 +85501,17 @@ function _getTransMatMultiSquare($id, $multiMarkerId) { if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); $id$addr = sp; HEAP32[$id$addr >> 2] = $id; - do if (__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(65260, $id$addr) | 0) { - $call7 = __ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(65260, $id$addr) | 0; - $2 = HEAP32[$call7 + 328 >> 2] | 0; - if (($multiMarkerId | 0) < 0 ? 1 : (HEAP32[$call7 + 332 >> 2] | 0) - $2 >> 3 >>> 0 <= $multiMarkerId >>> 0) { + do if (__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(66108, $id$addr) | 0) { + $call7 = __ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(66108, $id$addr) | 0; + $2 = HEAP32[$call7 + 352 >> 2] | 0; + if (($multiMarkerId | 0) < 0 ? 1 : (HEAP32[$call7 + 356 >> 2] | 0) - $2 >> 3 >>> 0 <= $multiMarkerId >>> 0) { $retval$1 = HEAP32[4225] | 0; break; } else { $5 = HEAP32[$2 + ($multiMarkerId << 3) + 4 >> 2] | 0; $7 = HEAP32[$call7 + 216 >> 2] | 0; +_arGetTransMatMultiSquare(HEAP32[$call7 + 228 >> 2] | 0, $7 + 48 | 0, HEAP32[$7 + 44 >> 2] | 0, $5); - _matrixCopy($5 + 8 | 0, 61136); + _matrixCopy($5 + 8 | 0, 61984); $retval$1 = 0; break; } @@ -81491,1541 +85520,746 @@ function _getTransMatMultiSquare($id, $multiMarkerId) { return $retval$1 | 0; } -function _get_vertex($0, $1, $2, $3, $4, $5, $6) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = +$4; - $5 = $5 | 0; - $6 = $6 | 0; - var $$0 = 0, $$071 = 0, $$072 = 0, $$073 = 0.0, $10 = 0, $12 = 0.0, $14 = 0, $16 = 0, $18 = 0.0, $22 = 0.0, $23 = 0, $34 = 0.0, $35 = 0.0, $36 = 0, $45 = 0, $8 = 0, label = 0; - $8 = HEAP32[$1 + ($3 << 2) >> 2] | 0; - $10 = HEAP32[$1 + ($2 << 2) >> 2] | 0; - $12 = +($8 - $10 | 0); - $14 = HEAP32[$0 + ($2 << 2) >> 2] | 0; - $16 = HEAP32[$0 + ($3 << 2) >> 2] | 0; - $18 = +($14 - $16 | 0); - $22 = +((Math_imul($16, $10) | 0) - (Math_imul($14, $8) | 0) | 0); - $23 = $2 + 1 | 0; - $$0 = $23; - $$071 = $23; - $$073 = 0.0; - while (1) { - if (($$071 | 0) >= ($3 | 0)) break; - $34 = $12 * +(HEAP32[$0 + ($$071 << 2) >> 2] | 0) + $18 * +(HEAP32[$1 + ($$071 << 2) >> 2] | 0) + $22; - $35 = $34 * $34; - $36 = $35 > $$073; - $$0 = $36 ? $$071 : $$0; - $$071 = $$071 + 1 | 0; - $$073 = $36 ? $35 : $$073; - } - if ($$073 / ($12 * $12 + $18 * $18) > $4) if (((_get_vertex($0, $1, $2, $$0, $4, $5, $6) | 0) >= 0 ? ($45 = HEAP32[$6 >> 2] | 0, ($45 | 0) <= 5) : 0) ? (HEAP32[$5 + ($45 << 2) >> 2] = $$0, HEAP32[$6 >> 2] = (HEAP32[$6 >> 2] | 0) + 1, (_get_vertex($0, $1, $$0, $3, $4, $5, $6) | 0) >= 0) : 0) label = 8; else $$072 = -1; else label = 8; - if ((label | 0) == 8) $$072 = 0; - return $$072 | 0; -} - -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E13parseSimpleIdEv($0) { - $0 = $0 | 0; - var $$0 = 0, $$1 = 0, $1 = 0, $2 = 0, $3 = 0, $4 = 0, $8 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $1 = sp + 4 | 0; - $2 = sp; - $3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0; - $4 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseSourceNameEPNS5_9NameStateE($3) | 0; - HEAP32[$1 >> 2] = $4; - if ($4) if ((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($0, 0) | 0) << 24 >> 24 == 73) { - $8 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E17parseTemplateArgsEb($3, 0) | 0; - HEAP32[$2 >> 2] = $8; - if (!$8) $$0 = 0; else $$0 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_20NameWithTemplateArgsEJRPNS0_4NodeESA_EEES9_DpOT0_($0, $1, $2) | 0; - $$1 = $$0; - } else $$1 = $4; else $$1 = 0; - STACKTOP = sp; - return $$1 | 0; -} - -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E24parsePointerToMemberTypeEv($0) { - $0 = $0 | 0; - var $$0 = 0, $$1 = 0, $$2 = 0, $1 = 0, $2 = 0, $4 = 0, $5 = 0, $7 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $1 = sp + 4 | 0; - $2 = sp; - if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($0, 77) | 0) { - $4 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0; - $5 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseTypeEv($4) | 0; - HEAP32[$1 >> 2] = $5; - if (!$5) $$1 = 0; else { - $7 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseTypeEv($4) | 0; - HEAP32[$2 >> 2] = $7; - if (!$7) $$0 = 0; else $$0 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_19PointerToMemberTypeEJRPNS0_4NodeESA_EEES9_DpOT0_($0, $1, $2) | 0; - $$1 = $$0; - } - $$2 = $$1; - } else $$2 = 0; - STACKTOP = sp; - return $$2 | 0; -} - -function __ZNSt3__212__hash_tableINS_17__hash_value_typeIjjEENS_22__unordered_map_hasherIjS2_NS_4hashIjEELb1EEENS_21__unordered_map_equalIjS2_NS_8equal_toIjEELb1EEENS_9allocatorIS2_EEE6rehashEm($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $$sroa$speculated = 0, $22 = 0, $27 = 0, $30 = 0, $8 = 0; - if (($1 | 0) != 1) if (!($1 + -1 & $1)) $$0 = $1; else $$0 = __ZNSt3__212__next_primeEm($1) | 0; else $$0 = 2; - $8 = HEAP32[$0 + 4 >> 2] | 0; - if ($$0 >>> 0 <= $8 >>> 0) { - if ($$0 >>> 0 < $8 >>> 0) { - $22 = ~~+Math_ceil(+(+((HEAP32[$0 + 12 >> 2] | 0) >>> 0) / +HEAPF32[$0 + 16 >> 2])) >>> 0; - if ($8 >>> 0 > 2 & ($8 + -1 & $8 | 0) == 0) { - $27 = 1 << 32 - (Math_clz32($22 + -1 | 0) | 0); - $30 = $22 >>> 0 < 2 ? $22 : $27; - } else $30 = __ZNSt3__212__next_primeEm($22) | 0; - $$sroa$speculated = $$0 >>> 0 < $30 >>> 0 ? $30 : $$0; - if ($$sroa$speculated >>> 0 < $8 >>> 0) __ZNSt3__212__hash_tableINS_17__hash_value_typeIjjEENS_22__unordered_map_hasherIjS2_NS_4hashIjEELb1EEENS_21__unordered_map_equalIjS2_NS_8equal_toIjEELb1EEENS_9allocatorIS2_EEE8__rehashEm($0, $$sroa$speculated); - } - } else __ZNSt3__212__hash_tableINS_17__hash_value_typeIjjEENS_22__unordered_map_hasherIjS2_NS_4hashIjEELb1EEENS_21__unordered_map_equalIjS2_NS_8equal_toIjEELb1EEENS_9allocatorIS2_EEE8__rehashEm($0, $$0); - return; -} - -function __ZN6vision22SolveHomography4PointsIfEEbPT_PKS1_S4_S4_S4_S4_S4_S4_S4_($0, $1, $2, $3, $4, $5, $6, $7, $8) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - $6 = $6 | 0; - $7 = $7 | 0; - $8 = $8 | 0; - var $$0 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $9 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 128 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(128); - $9 = sp; - $10 = sp + 124 | 0; - $11 = sp + 120 | 0; - $12 = sp + 112 | 0; - $13 = sp + 104 | 0; - $14 = sp + 96 | 0; - $15 = sp + 88 | 0; - $16 = sp + 80 | 0; - $17 = sp + 72 | 0; - $18 = sp + 64 | 0; - $19 = sp + 56 | 0; - $20 = sp + 48 | 0; - $21 = sp + 40 | 0; - if ((__ZN6vision18Condition4Points2dIfEEbPT_S2_S2_S2_RS1_S2_PKS1_S5_S5_S5_($14, $15, $16, $17, $10, $12, $1, $2, $3, $4) | 0 ? __ZN6vision18Condition4Points2dIfEEbPT_S2_S2_S2_RS1_S2_PKS1_S5_S5_S5_($18, $19, $20, $21, $11, $13, $5, $6, $7, $8) | 0 : 0) ? __ZN6vision34SolveHomography4PointsInhomogenousIfEEbPT_PKS1_S4_S4_S4_S4_S4_S4_S4_($9, $14, $15, $16, $17, $18, $19, $20, $21) | 0 : 0) { - __ZN6vision21DenormalizeHomographyIfEEvPT_PKS1_S1_S4_S1_S4_($0, $9, +HEAPF32[$10 >> 2], $12, +HEAPF32[$11 >> 2], $13); - $$0 = 1; - } else $$0 = 0; - STACKTOP = sp; - return $$0 | 0; -} - -function __ZNK12_GLOBAL__N_116itanium_demangle8QualType10printQualsERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$byval_copy2 = 0, $10 = 0, $13 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $$byval_copy2 = sp + 24 | 0; - $2 = sp + 16 | 0; - $3 = sp + 8 | 0; - $4 = sp; - $5 = $0 + 8 | 0; - $6 = HEAP32[$5 >> 2] | 0; - if (!($6 & 1)) $10 = $6; else { - __ZN12_GLOBAL__N_110StringViewC2EPKc($2, 56136); - HEAP32[$$byval_copy2 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy2 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy2); - $10 = HEAP32[$5 >> 2] | 0; - } - if (!($10 & 2)) $13 = $10; else { - __ZN12_GLOBAL__N_110StringViewC2EPKc($3, 56143); - HEAP32[$$byval_copy2 >> 2] = HEAP32[$3 >> 2]; - HEAP32[$$byval_copy2 + 4 >> 2] = HEAP32[$3 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy2); - $13 = HEAP32[$5 >> 2] | 0; - } - if ($13 & 4 | 0) { - __ZN12_GLOBAL__N_110StringViewC2EPKc($4, 56153); - HEAP32[$$byval_copy2 >> 2] = HEAP32[$4 >> 2]; - HEAP32[$$byval_copy2 + 4 >> 2] = HEAP32[$4 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy2); - } - STACKTOP = sp; - return; -} - -function __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0$i$i = 0, $10 = 0, $11 = 0, $13 = 0, $14 = 0, $2 = 0, $21 = 0, $22 = 0, $31 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $2 = sp; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE6sentryC2ERS3_($2, $0); - do if (HEAP8[$2 >> 0] | 0) { - $10 = HEAP32[$0 + (HEAP32[(HEAP32[$0 >> 2] | 0) + -12 >> 2] | 0) + 24 >> 2] | 0; - $11 = $10; - if ($10 | 0) { - $13 = $11 + 24 | 0; - $14 = HEAP32[$13 >> 2] | 0; - if (($14 | 0) == (HEAP32[$11 + 28 >> 2] | 0)) { - $21 = HEAP32[(HEAP32[$10 >> 2] | 0) + 52 >> 2] | 0; - $22 = __ZNSt3__211char_traitsIcE11to_int_typeEc($1) | 0; - $$0$i$i = FUNCTION_TABLE_iii[$21 & 127]($11, $22) | 0; - } else { - HEAP32[$13 >> 2] = $14 + 1; - HEAP8[$14 >> 0] = $1; - $$0$i$i = __ZNSt3__211char_traitsIcE11to_int_typeEc($1) | 0; +function _arMatrixMulf($dest, $a, $b) { + $dest = $dest | 0; + $a = $a | 0; + $b = $b | 0; + var $0 = 0, $11 = 0.0, $2 = 0, $4 = 0, $add = 0.0, $c$0 = 0, $i$0 = 0, $mul = 0, $p1$0 = 0, $p2$0 = 0, $p3$0 = 0, $p3$1 = 0, $r$0 = 0, $retval$0 = 0; + $0 = HEAP32[$a + 8 >> 2] | 0; + L1 : do if ((($0 | 0) == (HEAP32[$b + 4 >> 2] | 0) ? ($2 = HEAP32[$dest + 4 >> 2] | 0, ($2 | 0) == (HEAP32[$a + 4 >> 2] | 0)) : 0) ? ($4 = HEAP32[$dest + 8 >> 2] | 0, ($4 | 0) == (HEAP32[$b + 8 >> 2] | 0)) : 0) { + $p3$0 = HEAP32[$dest >> 2] | 0; + $r$0 = 0; + while (1) { + if (($r$0 | 0) >= ($2 | 0)) { + $retval$0 = 0; + break L1; } - if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii($$0$i$i, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) break; - } - $31 = $0 + (HEAP32[(HEAP32[$0 >> 2] | 0) + -12 >> 2] | 0) | 0; - __ZNSt3__28ios_base5clearEj($31, HEAP32[$31 + 16 >> 2] | 1); - } while (0); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE6sentryD2Ev($2); - STACKTOP = sp; - return $0 | 0; -} - -function __ZNSt3__212__hash_tableINS_17__hash_value_typeIjjEENS_22__unordered_map_hasherIjS2_NS_4hashIjEELb1EEENS_21__unordered_map_equalIjS2_NS_8equal_toIjEELb1EEENS_9allocatorIS2_EEE4findIjEENS_15__hash_iteratorIPNS_11__hash_nodeIS2_PvEEEERKT_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$028 = 0, $$pn = 0, $$sroa$0$0 = 0, $14 = 0, $15 = 0, $19 = 0, $2 = 0, $25 = 0, $4 = 0, $6 = 0, $8 = 0; - $2 = HEAP32[$1 >> 2] | 0; - $4 = HEAP32[$0 + 4 >> 2] | 0; - L1 : do if ($4) { - $6 = $4 + -1 | 0; - $8 = ($6 & $4 | 0) == 0; - if (!$8) if ($2 >>> 0 < $4 >>> 0) $14 = $2; else $14 = ($2 >>> 0) % ($4 >>> 0) | 0; else $14 = $6 & $2; - $15 = HEAP32[(HEAP32[$0 >> 2] | 0) + ($14 << 2) >> 2] | 0; - if ($15) { - $$pn = $15; + $mul = Math_imul($r$0, $0) | 0; + $c$0 = 0; + $p3$1 = $p3$0; while (1) { - $$028 = HEAP32[$$pn >> 2] | 0; - if (!$$028) { - $$sroa$0$0 = 0; - break L1; - } - $19 = HEAP32[$$028 + 4 >> 2] | 0; - if (($19 | 0) == ($2 | 0)) { - if ((HEAP32[$$028 + 8 >> 2] | 0) == ($2 | 0)) { - $$sroa$0$0 = $$028; - break L1; - } - } else { - if (!$8) if ($19 >>> 0 < $4 >>> 0) $25 = $19; else $25 = ($19 >>> 0) % ($4 >>> 0) | 0; else $25 = $19 & $6; - if (($25 | 0) != ($14 | 0)) { - $$sroa$0$0 = 0; - break L1; - } + if (($c$0 | 0) >= ($4 | 0)) break; + HEAPF32[$p3$1 >> 2] = 0.0; + $11 = 0.0; + $i$0 = 0; + $p1$0 = (HEAP32[$a >> 2] | 0) + ($mul << 2) | 0; + $p2$0 = (HEAP32[$b >> 2] | 0) + ($c$0 << 2) | 0; + while (1) { + if (($i$0 | 0) >= ($0 | 0)) break; + $add = $11 + +HEAPF32[$p1$0 >> 2] * +HEAPF32[$p2$0 >> 2]; + HEAPF32[$p3$1 >> 2] = $add; + $11 = $add; + $i$0 = $i$0 + 1 | 0; + $p1$0 = $p1$0 + 4 | 0; + $p2$0 = $p2$0 + ($4 << 2) | 0; } - $$pn = $$028; + $c$0 = $c$0 + 1 | 0; + $p3$1 = $p3$1 + 4 | 0; } - } else $$sroa$0$0 = 0; - } else $$sroa$0$0 = 0; while (0); - return $$sroa$0$0 | 0; -} - -function __ZN6vision5Timer4stopEv($0) { - $0 = $0 | 0; - var $1 = 0, $14 = 0, $18 = 0, $9 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $1 = sp; - if (!(+HEAPF64[$0 >> 3] >= 0.0)) { - $9 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(65808, 38960) | 0, 38999) | 0, 39072) | 0, 67) | 0, 39079) | 0, 39082) | 0; - __ZNKSt3__28ios_base6getlocEv($1, $9 + (HEAP32[(HEAP32[$9 >> 2] | 0) + -12 >> 2] | 0) | 0); - $14 = __ZNKSt3__26locale9use_facetERNS0_2idE($1, 66512) | 0; - $18 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$14 >> 2] | 0) + 28 >> 2] & 127]($14, 10) | 0; - __ZNSt3__26localeD2Ev($1); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc($9, $18) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($9) | 0; - _abort(); - } else { - _gettimeofday($1 | 0, 0) | 0; - HEAPF64[$0 + 8 >> 3] = +(HEAP32[$1 + 4 >> 2] | 0) * 1.0e-06 + +(HEAP32[$1 >> 2] | 0); - STACKTOP = sp; - return; - } -} - -function __ZNSt3__26vectorIiNS_9allocatorIiEEE8__appendEm($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $13 = 0, $14 = 0, $18 = 0, $19 = 0, $2 = 0, $23 = 0, $3 = 0, $5 = 0, $6 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $2 = sp; - $3 = $0 + 8 | 0; - $5 = $0 + 4 | 0; - $6 = HEAP32[$5 >> 2] | 0; - do if ((HEAP32[$3 >> 2] | 0) - $6 >> 2 >>> 0 < $1 >>> 0) { - $13 = ($6 - (HEAP32[$0 >> 2] | 0) >> 2) + $1 | 0; - $14 = __ZNKSt3__26vectorIiNS_9allocatorIiEEE8max_sizeEv($0) | 0; - if ($14 >>> 0 < $13 >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv($0); else { - $18 = HEAP32[$0 >> 2] | 0; - $19 = (HEAP32[$3 >> 2] | 0) - $18 | 0; - $23 = $19 >> 1; - __ZNSt3__214__split_bufferIiRNS_9allocatorIiEEEC2EmmS3_($2, $19 >> 2 >>> 0 < $14 >>> 1 >>> 0 ? ($23 >>> 0 < $13 >>> 0 ? $13 : $23) : $14, (HEAP32[$5 >> 2] | 0) - $18 >> 2, $0 + 8 | 0); - __ZNSt3__214__split_bufferIiRNS_9allocatorIiEEE18__construct_at_endEm($2, $1); - __ZNSt3__26vectorIiNS_9allocatorIiEEE26__swap_out_circular_bufferERNS_14__split_bufferIiRS2_EE($0, $2); - __ZNSt3__214__split_bufferIiRNS_9allocatorIiEEED2Ev($2); - break; + $p3$0 = $p3$1; + $r$0 = $r$0 + 1 | 0; } - } else __ZNSt3__26vectorIiNS_9allocatorIiEEE18__construct_at_endEm($0, $1); while (0); - STACKTOP = sp; - return; + } else $retval$0 = -1; while (0); + return $retval$0 | 0; } -function __ZNSt3__26vectorIfNS_9allocatorIfEEE8__appendEm($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $13 = 0, $14 = 0, $18 = 0, $19 = 0, $2 = 0, $23 = 0, $3 = 0, $5 = 0, $6 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $2 = sp; - $3 = $0 + 8 | 0; - $5 = $0 + 4 | 0; - $6 = HEAP32[$5 >> 2] | 0; - do if ((HEAP32[$3 >> 2] | 0) - $6 >> 2 >>> 0 < $1 >>> 0) { - $13 = ($6 - (HEAP32[$0 >> 2] | 0) >> 2) + $1 | 0; - $14 = __ZNKSt3__26vectorIfNS_9allocatorIfEEE8max_sizeEv($0) | 0; - if ($14 >>> 0 < $13 >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv($0); else { - $18 = HEAP32[$0 >> 2] | 0; - $19 = (HEAP32[$3 >> 2] | 0) - $18 | 0; - $23 = $19 >> 1; - __ZNSt3__214__split_bufferIfRNS_9allocatorIfEEEC2EmmS3_($2, $19 >> 2 >>> 0 < $14 >>> 1 >>> 0 ? ($23 >>> 0 < $13 >>> 0 ? $13 : $23) : $14, (HEAP32[$5 >> 2] | 0) - $18 >> 2, $0 + 8 | 0); - __ZNSt3__214__split_bufferIfRNS_9allocatorIfEEE18__construct_at_endEm($2, $1); - __ZNSt3__26vectorIfNS_9allocatorIfEEE26__swap_out_circular_bufferERNS_14__split_bufferIfRS2_EE($0, $2); - __ZNSt3__214__split_bufferIfRNS_9allocatorIfEEED2Ev($2); - break; +function __ZN6vision18BinomialPyramid32f5allocEmmi($this, $width, $height, $num_octaves) { + $this = $this | 0; + $width = $width | 0; + $height = $height | 0; + $num_octaves = $num_octaves | 0; + var $1 = 0, $add = 0, $i$0 = 0, $j$0 = 0, $mNumScalesPerOctave = 0, $mPyramid = 0, $mul14 = 0, $shr = 0, $shr10 = 0; + __ZN6vision25GaussianScaleSpacePyramid9configureEii($this, $num_octaves, 3); + $mPyramid = $this + 4 | 0; + $mNumScalesPerOctave = $this + 20 | 0; + __ZNSt3__26vectorIN6vision5ImageENS_9allocatorIS2_EEE6resizeEm($mPyramid, Math_imul(HEAP32[$mNumScalesPerOctave >> 2] | 0, $num_octaves) | 0); + $i$0 = 0; + while (1) { + if (($i$0 | 0) >= ($num_octaves | 0)) break; + $shr = $width >>> $i$0; + $shr10 = $height >>> $i$0; + $j$0 = 0; + while (1) { + $1 = HEAP32[$mNumScalesPerOctave >> 2] | 0; + if ($j$0 >>> 0 >= $1 >>> 0) break; + $add = (Math_imul($1, $i$0) | 0) + $j$0 | 0; + __ZN6vision5Image5allocENS_9ImageTypeEmmim((HEAP32[$mPyramid >> 2] | 0) + ($add << 5) | 0, 2, $shr, $shr10, -1, 1); + $j$0 = $j$0 + 1 | 0; } - } else __ZNSt3__26vectorIfNS_9allocatorIfEEE18__construct_at_endEm($0, $1); while (0); - STACKTOP = sp; + $i$0 = $i$0 + 1 | 0; + } + $mul14 = Math_imul($height, $width) | 0; + __ZNSt3__26vectorItNS_9allocatorItEEE6resizeEm($this + 32 | 0, $mul14); + __ZNSt3__26vectorIfNS_9allocatorIfEEE6resizeEm($this + 44 | 0, $mul14); + __ZNSt3__26vectorIfNS_9allocatorIfEEE6resizeEm($this + 56 | 0, $mul14); return; } -function _sift($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $$0$lcssa = 0, $$02934 = 0, $$03133 = 0, $$035 = 0, $$1 = 0, $$130 = 0, $$132 = 0, $13 = 0, $14 = 0, $21 = 0, $5 = 0, $7 = 0, $8 = 0, $9 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 240 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(240); - $5 = sp; - HEAP32[$5 >> 2] = $0; - L1 : do if (($3 | 0) > 1) { - $7 = 0 - $1 | 0; - $$02934 = $0; - $$03133 = $3; - $$035 = 1; - $14 = $0; +function _arMatrixMul($dest, $a, $b) { + $dest = $dest | 0; + $a = $a | 0; + $b = $b | 0; + var $0 = 0, $11 = 0.0, $2 = 0, $4 = 0, $add = 0.0, $c$0 = 0, $i$0 = 0, $mul = 0, $p1$0 = 0, $p2$0 = 0, $p3$0 = 0, $p3$1 = 0, $r$0 = 0, $retval$0 = 0; + $0 = HEAP32[$a + 8 >> 2] | 0; + L1 : do if ((($0 | 0) == (HEAP32[$b + 4 >> 2] | 0) ? ($2 = HEAP32[$dest + 4 >> 2] | 0, ($2 | 0) == (HEAP32[$a + 4 >> 2] | 0)) : 0) ? ($4 = HEAP32[$dest + 8 >> 2] | 0, ($4 | 0) == (HEAP32[$b + 8 >> 2] | 0)) : 0) { + $p3$0 = HEAP32[$dest >> 2] | 0; + $r$0 = 0; while (1) { - $8 = $$02934 + $7 | 0; - $9 = $$03133 + -2 | 0; - $13 = $8 + (0 - (HEAP32[$4 + ($9 << 2) >> 2] | 0)) | 0; - if ((FUNCTION_TABLE_iii[$2 & 127]($14, $13) | 0) > -1 ? (FUNCTION_TABLE_iii[$2 & 127]($14, $8) | 0) > -1 : 0) { - $$0$lcssa = $$035; + if (($r$0 | 0) >= ($2 | 0)) { + $retval$0 = 0; break L1; } - $21 = $5 + ($$035 << 2) | 0; - if ((FUNCTION_TABLE_iii[$2 & 127]($13, $8) | 0) > -1) { - HEAP32[$21 >> 2] = $13; - $$130 = $13; - $$132 = $$03133 + -1 | 0; - } else { - HEAP32[$21 >> 2] = $8; - $$130 = $8; - $$132 = $9; - } - $$1 = $$035 + 1 | 0; - if (($$132 | 0) <= 1) { - $$0$lcssa = $$1; - break L1; + $mul = Math_imul($r$0, $0) | 0; + $c$0 = 0; + $p3$1 = $p3$0; + while (1) { + if (($c$0 | 0) >= ($4 | 0)) break; + HEAPF64[$p3$1 >> 3] = 0.0; + $11 = 0.0; + $i$0 = 0; + $p1$0 = (HEAP32[$a >> 2] | 0) + ($mul << 3) | 0; + $p2$0 = (HEAP32[$b >> 2] | 0) + ($c$0 << 3) | 0; + while (1) { + if (($i$0 | 0) >= ($0 | 0)) break; + $add = $11 + +HEAPF64[$p1$0 >> 3] * +HEAPF64[$p2$0 >> 3]; + HEAPF64[$p3$1 >> 3] = $add; + $11 = $add; + $i$0 = $i$0 + 1 | 0; + $p1$0 = $p1$0 + 8 | 0; + $p2$0 = $p2$0 + ($4 << 3) | 0; + } + $c$0 = $c$0 + 1 | 0; + $p3$1 = $p3$1 + 8 | 0; } - $$02934 = $$130; - $$03133 = $$132; - $$035 = $$1; - $14 = HEAP32[$5 >> 2] | 0; - } - } else $$0$lcssa = 1; while (0); - _cycle($1, $5, $$0$lcssa); - STACKTOP = sp; - return; -} - -function _rgb1_rgb_convert($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $$04449$us = 0, $$04550$us = 0, $$04748$us = 0, $$051$us = 0, $$in = 0, $14 = 0, $17 = 0, $20 = 0, $27 = 0, $31 = 0, $32 = 0, $6 = 0, $8 = 0, $9 = 0, $$in$looptemp = 0; - $6 = HEAP32[$0 + 112 >> 2] | 0; - if (($4 | 0) <= 0) return; - $8 = $1 + 4 | 0; - $9 = $1 + 8 | 0; - if (!$6) return; - $$04550$us = $3; - $$051$us = $2; - $$in = $4; - while (1) { - $$in$looptemp = $$in; - $$in = $$in + -1 | 0; - $14 = HEAP32[(HEAP32[$1 >> 2] | 0) + ($$051$us << 2) >> 2] | 0; - $17 = HEAP32[(HEAP32[$8 >> 2] | 0) + ($$051$us << 2) >> 2] | 0; - $20 = HEAP32[(HEAP32[$9 >> 2] | 0) + ($$051$us << 2) >> 2] | 0; - $$051$us = $$051$us + 1 | 0; - $$04449$us = 0; - $$04748$us = HEAP32[$$04550$us >> 2] | 0; - while (1) { - $27 = HEAP8[$17 + $$04449$us >> 0] | 0; - $31 = HEAPU8[$20 + $$04449$us >> 0] | 0; - $32 = ($27 & 255) + 128 | 0; - HEAP8[$$04748$us >> 0] = $32 + (HEAPU8[$14 + $$04449$us >> 0] | 0); - HEAP8[$$04748$us + 1 >> 0] = $27; - HEAP8[$$04748$us + 2 >> 0] = $32 + $31; - $$04449$us = $$04449$us + 1 | 0; - if (($$04449$us | 0) == ($6 | 0)) break; else $$04748$us = $$04748$us + 3 | 0; - } - if (($$in$looptemp | 0) <= 1) break; else $$04550$us = $$04550$us + 4 | 0; - } - return; -} - -function __ZNSt3__26vectorIhNS_9allocatorIhEEE8__appendEm($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $11 = 0, $12 = 0, $16 = 0, $17 = 0, $2 = 0, $20 = 0, $3 = 0, $5 = 0, $6 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $2 = sp; - $3 = $0 + 8 | 0; - $5 = $0 + 4 | 0; - $6 = HEAP32[$5 >> 2] | 0; - do if (((HEAP32[$3 >> 2] | 0) - $6 | 0) >>> 0 < $1 >>> 0) { - $11 = $6 - (HEAP32[$0 >> 2] | 0) + $1 | 0; - $12 = __ZNKSt3__26vectorIhNS_9allocatorIhEEE8max_sizeEv($0) | 0; - if ($12 >>> 0 < $11 >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv($0); else { - $16 = HEAP32[$0 >> 2] | 0; - $17 = (HEAP32[$3 >> 2] | 0) - $16 | 0; - $20 = $17 << 1; - __ZNSt3__214__split_bufferIhRNS_9allocatorIhEEEC2EmmS3_($2, $17 >>> 0 < $12 >>> 1 >>> 0 ? ($20 >>> 0 < $11 >>> 0 ? $11 : $20) : $12, (HEAP32[$5 >> 2] | 0) - $16 | 0, $0 + 8 | 0); - __ZNSt3__214__split_bufferIhRNS_9allocatorIhEEE18__construct_at_endEm($2, $1); - __ZNSt3__26vectorIhNS_9allocatorIhEEE26__swap_out_circular_bufferERNS_14__split_bufferIhRS2_EE($0, $2); - __ZNSt3__214__split_bufferIhRNS_9allocatorIhEEED2Ev($2); - break; + $p3$0 = $p3$1; + $r$0 = $r$0 + 1 | 0; } - } else __ZNSt3__26vectorIhNS_9allocatorIhEEE18__construct_at_endEm($0, $1); while (0); - STACKTOP = sp; - return; + } else $retval$0 = -1; while (0); + return $retval$0 | 0; } -function _arSetPixelFormat($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$016 = 0, $10 = 0, $11 = 0, $3 = 0, $8 = 0, $vararg_buffer = 0, sp = 0; +function _icpGetJ_U_S($J_U_S, $matXc2U, $matXw2Xc, $worldCoord) { + $J_U_S = $J_U_S | 0; + $matXc2U = $matXc2U | 0; + $matXw2Xc = $matXw2Xc | 0; + $worldCoord = $worldCoord | 0; + var $2 = 0.0, $J_U_Xc = 0, $J_Xc_S = 0, $Xc = 0, $add = 0.0, $arrayidx10 = 0, $i$0 = 0, $j$0 = 0, $k$0 = 0, $retval$0 = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $vararg_buffer = sp; - L1 : do if ($0) { - $3 = $0 + 4 | 0; - if ((HEAP32[$3 >> 2] | 0) != ($1 | 0)) { - if ($1 >>> 0 >= 15) { - HEAP32[$vararg_buffer >> 2] = $1; - _arLog(0, 3, 23981, $vararg_buffer); - $$016 = -1; - break; + STACKTOP = STACKTOP + 224 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(224); + $J_Xc_S = sp + 48 | 0; + $J_U_Xc = sp; + $Xc = sp + 192 | 0; + _icpGetJ_Xc_S($J_Xc_S, $Xc, $matXw2Xc, $worldCoord); + L1 : do if ((_icpGetJ_U_Xc($J_U_Xc, $matXc2U, $Xc) | 0) < 0) { + _arLog(0, 3, 24733, sp + 216 | 0); + $retval$0 = -1; + } else { + $j$0 = 0; + while (1) { + if (($j$0 | 0) == 2) { + $retval$0 = 0; + break L1; } - HEAP32[$3 >> 2] = $1; - $8 = _arUtilGetPixelSize($1) | 0; - HEAP32[$0 + 8 >> 2] = $8; - $10 = $0 + 24 | 0; - $11 = HEAP32[$10 >> 2] | 0; - if (!(28704 >>> ($1 & 32767) & 1)) switch ($11 | 0) { - case 1: - { - HEAP32[$10 >> 2] = 4; - $$016 = 0; - break L1; - break; - } - case 4: - { - HEAP32[$10 >> 2] = 3; - $$016 = 0; - break L1; - break; - } - default: - { - $$016 = 0; - break L1; - } - } else switch ($11 | 0) { - case 0: - { - HEAP32[$10 >> 2] = 1; - $$016 = 0; - break L1; - break; - } - case 3: - { - HEAP32[$10 >> 2] = 4; - $$016 = 0; - break L1; - break; - } - default: - { - $$016 = 0; - break L1; + $i$0 = 0; + while (1) { + if (($i$0 | 0) == 6) break; + $arrayidx10 = $J_U_S + ($j$0 * 48 | 0) + ($i$0 << 3) | 0; + HEAPF64[$arrayidx10 >> 3] = 0.0; + $2 = 0.0; + $k$0 = 0; + while (1) { + if (($k$0 | 0) == 3) break; + $add = $2 + +HEAPF64[$J_U_Xc + ($j$0 * 24 | 0) + ($k$0 << 3) >> 3] * +HEAPF64[$J_Xc_S + ($k$0 * 48 | 0) + ($i$0 << 3) >> 3]; + HEAPF64[$arrayidx10 >> 3] = $add; + $2 = $add; + $k$0 = $k$0 + 1 | 0; } + $i$0 = $i$0 + 1 | 0; } - } else $$016 = 0; - } else $$016 = -1; while (0); + $j$0 = $j$0 + 1 | 0; + } + } while (0); STACKTOP = sp; - return $$016 | 0; + return $retval$0 | 0; } -function __ZNK12_GLOBAL__N_116itanium_demangle9NodeArray14printWithCommaERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0$off0 = 0, $$018 = 0, $$1$off0 = 0, $$byval_copy = 0, $2 = 0, $3 = 0, $6 = 0, $7 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy = sp + 8 | 0; - $2 = sp; - $3 = $0 + 4 | 0; - $$0$off0 = 1; - $$018 = 0; - while (1) { - if (($$018 | 0) == (HEAP32[$3 >> 2] | 0)) break; - $6 = __ZNK12_GLOBAL__N_112OutputStream18getCurrentPositionEv($1) | 0; - if (!$$0$off0) { - __ZN12_GLOBAL__N_110StringViewC2EPKc($2, 52152); - HEAP32[$$byval_copy >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy); - } - $7 = __ZNK12_GLOBAL__N_112OutputStream18getCurrentPositionEv($1) | 0; - __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(HEAP32[(HEAP32[$0 >> 2] | 0) + ($$018 << 2) >> 2] | 0, $1); - if (($7 | 0) == (__ZNK12_GLOBAL__N_112OutputStream18getCurrentPositionEv($1) | 0)) { - __ZN12_GLOBAL__N_112OutputStream18setCurrentPositionEm($1, $6); - $$1$off0 = $$0$off0; - } else $$1$off0 = 0; - $$0$off0 = $$1$off0; - $$018 = $$018 + 1 | 0; +function __ZNSt3__26vectorItNS_9allocatorItEEE26__swap_out_circular_bufferERNS_14__split_bufferItRS2_EE($this, $__v) { + $this = $this | 0; + $__v = $__v | 0; + var $$pre$phiZ2D = 0, $0 = 0, $4 = 0, $5 = 0, $6 = 0, $8 = 0, $__begin_2 = 0, $__end_ = 0, $__end_6 = 0, $__value_$i$i$i = 0, $__value_$i$i$i6 = 0, $add$ptr$i = 0, $sub$ptr$sub$i7 = 0; + $0 = HEAP32[$this >> 2] | 0; + $__end_ = $this + 4 | 0; + $__begin_2 = $__v + 4 | 0; + $sub$ptr$sub$i7 = (HEAP32[$__end_ >> 2] | 0) - $0 | 0; + $add$ptr$i = (HEAP32[$__begin_2 >> 2] | 0) + (0 - ($sub$ptr$sub$i7 >> 1) << 1) | 0; + HEAP32[$__begin_2 >> 2] = $add$ptr$i; + if (($sub$ptr$sub$i7 | 0) > 0) { + _memcpy($add$ptr$i | 0, $0 | 0, $sub$ptr$sub$i7 | 0) | 0; + $$pre$phiZ2D = $__begin_2; + $5 = HEAP32[$__begin_2 >> 2] | 0; + } else { + $$pre$phiZ2D = $__begin_2; + $5 = $add$ptr$i; } - STACKTOP = sp; + $4 = HEAP32[$this >> 2] | 0; + HEAP32[$this >> 2] = $5; + HEAP32[$$pre$phiZ2D >> 2] = $4; + $__end_6 = $__v + 8 | 0; + $6 = HEAP32[$__end_ >> 2] | 0; + HEAP32[$__end_ >> 2] = HEAP32[$__end_6 >> 2]; + HEAP32[$__end_6 >> 2] = $6; + $__value_$i$i$i6 = $this + 8 | 0; + $__value_$i$i$i = $__v + 12 | 0; + $8 = HEAP32[$__value_$i$i$i6 >> 2] | 0; + HEAP32[$__value_$i$i$i6 >> 2] = HEAP32[$__value_$i$i$i >> 2]; + HEAP32[$__value_$i$i$i >> 2] = $8; + HEAP32[$__v >> 2] = HEAP32[$$pre$phiZ2D >> 2]; return; } -function _fmt_u($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$010$lcssa$off0 = 0, $$012 = 0, $$09$lcssa = 0, $$0914 = 0, $$1$lcssa = 0, $$111 = 0, $12 = 0, $14 = 0, $30 = 0, $8 = 0, $9 = 0, $8$looptemp = 0, $9$looptemp = 0, $$012$looptemp = 0; - if ($1 >>> 0 > 0 | ($1 | 0) == 0 & $0 >>> 0 > 4294967295) { - $$0914 = $2; - $8 = $0; - $9 = $1; - do { - $8$looptemp = $8; - $8 = ___udivdi3($8 | 0, $9 | 0, 10, 0) | 0; - $9$looptemp = $9; - $9 = getTempRet0() | 0; - $12 = ___muldi3($8 | 0, $9 | 0, 10, 0) | 0; - $14 = _i64Subtract($8$looptemp | 0, $9$looptemp | 0, $12 | 0, getTempRet0() | 0) | 0; - getTempRet0() | 0; - $$0914 = $$0914 + -1 | 0; - HEAP8[$$0914 >> 0] = $14 & 255 | 48; - } while ($9$looptemp >>> 0 > 9 | ($9$looptemp | 0) == 9 & $8$looptemp >>> 0 > 4294967295); - $$010$lcssa$off0 = $8; - $$09$lcssa = $$0914; + +function __ZNSt3__26vectorIiNS_9allocatorIiEEE26__swap_out_circular_bufferERNS_14__split_bufferIiRS2_EE($this, $__v) { + $this = $this | 0; + $__v = $__v | 0; + var $$pre$phiZ2D = 0, $0 = 0, $4 = 0, $5 = 0, $6 = 0, $8 = 0, $__begin_2 = 0, $__end_ = 0, $__end_6 = 0, $__value_$i$i$i = 0, $__value_$i$i$i6 = 0, $add$ptr$i = 0, $sub$ptr$sub$i7 = 0; + $0 = HEAP32[$this >> 2] | 0; + $__end_ = $this + 4 | 0; + $__begin_2 = $__v + 4 | 0; + $sub$ptr$sub$i7 = (HEAP32[$__end_ >> 2] | 0) - $0 | 0; + $add$ptr$i = (HEAP32[$__begin_2 >> 2] | 0) + (0 - ($sub$ptr$sub$i7 >> 2) << 2) | 0; + HEAP32[$__begin_2 >> 2] = $add$ptr$i; + if (($sub$ptr$sub$i7 | 0) > 0) { + _memcpy($add$ptr$i | 0, $0 | 0, $sub$ptr$sub$i7 | 0) | 0; + $$pre$phiZ2D = $__begin_2; + $5 = HEAP32[$__begin_2 >> 2] | 0; } else { - $$010$lcssa$off0 = $0; - $$09$lcssa = $2; - } - if (!$$010$lcssa$off0) $$1$lcssa = $$09$lcssa; else { - $$012 = $$010$lcssa$off0; - $$111 = $$09$lcssa; - while (1) { - $$012$looptemp = $$012; - $$012 = ($$012 >>> 0) / 10 | 0; - $30 = $$111 + -1 | 0; - HEAP8[$30 >> 0] = $$012$looptemp - ($$012 * 10 | 0) | 48; - if ($$012$looptemp >>> 0 < 10) { - $$1$lcssa = $30; - break; - } else $$111 = $30; - } + $$pre$phiZ2D = $__begin_2; + $5 = $add$ptr$i; } - return $$1$lcssa | 0; -} - -function _arSetLabelingThreshMode($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $$018 = 0, $13 = 0, $3 = 0, $6 = 0, $7 = 0, $vararg_buffer = 0, $vararg_buffer1 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $vararg_buffer1 = sp + 8 | 0; - $vararg_buffer = sp; - if ($0) { - $3 = $0 + 7062388 | 0; - if ((HEAP32[$3 >> 2] | 0) != ($1 | 0)) { - $6 = $0 + 7062408 | 0; - $7 = HEAP32[$6 >> 2] | 0; - if ($7 | 0) { - _arImageProcFinal($7); - HEAP32[$6 >> 2] = 0; - } - switch ($1 | 0) { - case 3: - case 2: - case 1: - { - $13 = _arImageProcInit(HEAP32[$0 + 36 >> 2] | 0, HEAP32[$0 + 40 >> 2] | 0) | 0; - HEAP32[$6 >> 2] = $13; - $$0 = $1; - break; - } - case 4: - { - HEAP32[$0 + 7062404 >> 2] = 1; - HEAP32[$0 + 7062400 >> 2] = 1; - $$0 = 4; - break; - } - case 0: - { - $$0 = $1; - break; - } - default: - { - _arLog(0, 3, 23812, $vararg_buffer); - $$0 = 0; - } - } - HEAP32[$3 >> 2] = $$0; - if ((HEAP32[$0 >> 2] | 0) == 1) { - HEAP32[$vararg_buffer1 >> 2] = HEAP32[16 + ($$0 << 2) >> 2]; - _arLog(0, 3, 23886, $vararg_buffer1); - $$018 = 0; - } else $$018 = 0; - } else $$018 = 0; - } else $$018 = -1; - STACKTOP = sp; - return $$018 | 0; -} - -function __ZNK12_GLOBAL__N_116itanium_demangle10AbiTagAttr9printLeftERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$byval_copy1 = 0, $11 = 0, $16 = 0, $17 = 0, $2 = 0, $3 = 0, $4 = 0, $6 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $$byval_copy1 = sp + 24 | 0; - $2 = sp + 16 | 0; - $3 = sp; - $4 = sp + 8 | 0; - $6 = HEAP32[$0 + 8 >> 2] | 0; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$6 >> 2] | 0) + 16 >> 2] & 255]($6, $1); - __ZN12_GLOBAL__N_110StringViewC2EPKc($2, 51608); - HEAP32[$$byval_copy1 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy1 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy1); - $11 = $0 + 12 | 0; - $16 = HEAP32[$11 + 4 >> 2] | 0; - $17 = $3; - HEAP32[$17 >> 2] = HEAP32[$11 >> 2]; - HEAP32[$17 + 4 >> 2] = $16; - HEAP32[$$byval_copy1 >> 2] = HEAP32[$3 >> 2]; - HEAP32[$$byval_copy1 + 4 >> 2] = HEAP32[$3 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy1); - __ZN12_GLOBAL__N_110StringViewC2EPKc($4, 51614); - HEAP32[$$byval_copy1 >> 2] = HEAP32[$4 >> 2]; - HEAP32[$$byval_copy1 + 4 >> 2] = HEAP32[$4 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy1); - STACKTOP = sp; + $4 = HEAP32[$this >> 2] | 0; + HEAP32[$this >> 2] = $5; + HEAP32[$$pre$phiZ2D >> 2] = $4; + $__end_6 = $__v + 8 | 0; + $6 = HEAP32[$__end_ >> 2] | 0; + HEAP32[$__end_ >> 2] = HEAP32[$__end_6 >> 2]; + HEAP32[$__end_6 >> 2] = $6; + $__value_$i$i$i6 = $this + 8 | 0; + $__value_$i$i$i = $__v + 12 | 0; + $8 = HEAP32[$__value_$i$i$i6 >> 2] | 0; + HEAP32[$__value_$i$i$i6 >> 2] = HEAP32[$__value_$i$i$i >> 2]; + HEAP32[$__value_$i$i$i >> 2] = $8; + HEAP32[$__v >> 2] = HEAP32[$$pre$phiZ2D >> 2]; return; } -function __ZN6vision27OrthogonalizePivot8x9Basis5IfEEbPT_S2_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $10 = 0.0, $11 = 0.0, $13 = 0.0, $15 = 0, $16 = 0, $19 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $8 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $2 = sp; - $3 = $0 + 180 | 0; - $4 = $0 + 144 | 0; - $5 = $1 + 180 | 0; - __ZN6vision21AccumulateProjection9IfEEvPT_PKS1_S4_($3, $4, $5); - $6 = $0 + 216 | 0; - __ZN6vision21AccumulateProjection9IfEEvPT_PKS1_S4_($6, $4, $1 + 216 | 0); - $8 = $0 + 252 | 0; - __ZN6vision21AccumulateProjection9IfEEvPT_PKS1_S4_($8, $4, $1 + 252 | 0); - $10 = +__ZN6vision11SumSquares9IfEET_PKS1_($3); - HEAPF32[$2 >> 2] = $10; - $11 = +__ZN6vision11SumSquares9IfEET_PKS1_($6); - HEAPF32[$2 + 4 >> 2] = $11; - $13 = +__ZN6vision11SumSquares9IfEET_PKS1_($8); - HEAPF32[$2 + 8 >> 2] = $13; - $15 = __ZN6vision9MaxIndex3IfEEiPKT_($2) | 0; - $16 = $2 + ($15 << 2) | 0; - if (+HEAPF32[$16 >> 2] == 0.0) $$0 = 0; else { - $19 = $15 * 9 | 0; - __ZN6vision5Swap9IfEEvPT_S2_($3, $3 + ($19 << 2) | 0); - __ZN6vision5Swap9IfEEvPT_S2_($5, $5 + ($19 << 2) | 0); - __ZN6vision12ScaleVector9IfEEvPT_PKS1_S1_($3, $3, 1.0 / +Math_sqrt(+(+HEAPF32[$16 >> 2]))); - $$0 = 1; - } - STACKTOP = sp; - return $$0 | 0; -} - -function _arGetTransMatRobust($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$0 = 0, $12 = 0, $13 = 0, $6 = 0, $7 = 0, $9 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $6 = sp + 20 | 0; - $7 = sp; - $9 = _malloc($4 << 4) | 0; - HEAP32[$6 >> 2] = $9; - if (!$9) { - _arLog(0, 3, 45930, sp + 8 | 0); - _exit(1); - } - $12 = _malloc($4 * 24 | 0) | 0; - $13 = $6 + 4 | 0; - HEAP32[$13 >> 2] = $12; - if (!$12) { - _arLog(0, 3, 45930, sp + 16 | 0); - _exit(1); - } - $$0 = 0; - while (1) { - if (($$0 | 0) >= ($4 | 0)) break; - HEAPF64[$9 + ($$0 << 4) >> 3] = +HEAPF64[$2 + ($$0 << 4) >> 3]; - HEAPF64[$9 + ($$0 << 4) + 8 >> 3] = +HEAPF64[$2 + ($$0 << 4) + 8 >> 3]; - HEAPF64[$12 + ($$0 * 24 | 0) >> 3] = +HEAPF64[$3 + ($$0 * 24 | 0) >> 3]; - HEAPF64[$12 + ($$0 * 24 | 0) + 8 >> 3] = +HEAPF64[$3 + ($$0 * 24 | 0) + 8 >> 3]; - HEAPF64[$12 + ($$0 * 24 | 0) + 16 >> 3] = +HEAPF64[$3 + ($$0 * 24 | 0) + 16 >> 3]; - $$0 = $$0 + 1 | 0; +function __ZNSt3__26vectorIfNS_9allocatorIfEEE26__swap_out_circular_bufferERNS_14__split_bufferIfRS2_EE($this, $__v) { + $this = $this | 0; + $__v = $__v | 0; + var $$pre$phiZ2D = 0, $0 = 0, $4 = 0, $5 = 0, $6 = 0, $8 = 0, $__begin_2 = 0, $__end_ = 0, $__end_6 = 0, $__value_$i$i$i = 0, $__value_$i$i$i6 = 0, $add$ptr$i = 0, $sub$ptr$sub$i7 = 0; + $0 = HEAP32[$this >> 2] | 0; + $__end_ = $this + 4 | 0; + $__begin_2 = $__v + 4 | 0; + $sub$ptr$sub$i7 = (HEAP32[$__end_ >> 2] | 0) - $0 | 0; + $add$ptr$i = (HEAP32[$__begin_2 >> 2] | 0) + (0 - ($sub$ptr$sub$i7 >> 2) << 2) | 0; + HEAP32[$__begin_2 >> 2] = $add$ptr$i; + if (($sub$ptr$sub$i7 | 0) > 0) { + _memcpy($add$ptr$i | 0, $0 | 0, $sub$ptr$sub$i7 | 0) | 0; + $$pre$phiZ2D = $__begin_2; + $5 = HEAP32[$__begin_2 >> 2] | 0; + } else { + $$pre$phiZ2D = $__begin_2; + $5 = $add$ptr$i; } - HEAP32[$6 + 8 >> 2] = $4; - if ((_icpPointRobust(HEAP32[$0 >> 2] | 0, $6, $1, $5, $7) | 0) < 0) HEAPF64[$7 >> 3] = 1.0e8; - _free(HEAP32[$6 >> 2] | 0); - _free(HEAP32[$13 >> 2] | 0); - STACKTOP = sp; - return +(+HEAPF64[$7 >> 3]); + $4 = HEAP32[$this >> 2] | 0; + HEAP32[$this >> 2] = $5; + HEAP32[$$pre$phiZ2D >> 2] = $4; + $__end_6 = $__v + 8 | 0; + $6 = HEAP32[$__end_ >> 2] | 0; + HEAP32[$__end_ >> 2] = HEAP32[$__end_6 >> 2]; + HEAP32[$__end_6 >> 2] = $6; + $__value_$i$i$i6 = $this + 8 | 0; + $__value_$i$i$i = $__v + 12 | 0; + $8 = HEAP32[$__value_$i$i$i6 >> 2] | 0; + HEAP32[$__value_$i$i$i6 >> 2] = HEAP32[$__value_$i$i$i >> 2]; + HEAP32[$__value_$i$i$i >> 2] = $8; + HEAP32[$__v >> 2] = HEAP32[$$pre$phiZ2D >> 2]; + return; } -function __ZN6vision24OrthogonalizeIdentity8x9IfEET_PS1_PKS1_i($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$0 = 0.0, $44 = 0.0, $46 = 0.0, $6 = 0; - __ZN6vision12ScaleVector9IfEEvPT_PKS1_S1_($0, $1, -+HEAPF32[$1 + ($2 << 2) >> 2]); - $6 = $0 + ($2 << 2) | 0; - HEAPF32[$6 >> 2] = +HEAPF32[$6 >> 2] + 1.0; - __ZN6vision23AccumulateScaledVector9IfEEvPT_PKS1_S1_($0, $1 + 36 | 0, -+HEAPF32[$1 + ($2 + 9 << 2) >> 2]); - __ZN6vision23AccumulateScaledVector9IfEEvPT_PKS1_S1_($0, $1 + 72 | 0, -+HEAPF32[$1 + ($2 + 18 << 2) >> 2]); - __ZN6vision23AccumulateScaledVector9IfEEvPT_PKS1_S1_($0, $1 + 108 | 0, -+HEAPF32[$1 + ($2 + 27 << 2) >> 2]); - __ZN6vision23AccumulateScaledVector9IfEEvPT_PKS1_S1_($0, $1 + 144 | 0, -+HEAPF32[$1 + ($2 + 36 << 2) >> 2]); - __ZN6vision23AccumulateScaledVector9IfEEvPT_PKS1_S1_($0, $1 + 180 | 0, -+HEAPF32[$1 + ($2 + 45 << 2) >> 2]); - __ZN6vision23AccumulateScaledVector9IfEEvPT_PKS1_S1_($0, $1 + 216 | 0, -+HEAPF32[$1 + ($2 + 54 << 2) >> 2]); - __ZN6vision23AccumulateScaledVector9IfEEvPT_PKS1_S1_($0, $1 + 252 | 0, -+HEAPF32[$1 + ($2 + 63 << 2) >> 2]); - $44 = +__ZN6vision11SumSquares9IfEET_PKS1_($0); - $46 = +Math_sqrt(+$44); - if ($44 == 0.0) $$0 = 0.0; else { - __ZN6vision12ScaleVector9IfEEvPT_PKS1_S1_($0, $0, 1.0 / $46); - $$0 = $46; - } - return +$$0; -} - -function _arLabeling($0, $1, $2, $3, $4, $5, $6, $7, $8) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - $6 = $6 | 0; - $7 = $7 | 0; - $8 = $8 | 0; - var $$0 = 0, $10 = 0, $11 = 0; - $10 = ($4 | 0) == 1; - $11 = ($8 | 0) != 0; - do if (!$3) if ($10) { - if ($11) { - $$0 = _arLabelingSubDBZ($0, $1, $2, $8, $7) | 0; - break; - } - if (!$6) { - $$0 = _arLabelingSubDBRC($0, $1, $2, $5, $7) | 0; - break; - } else { - $$0 = _arLabelingSubDBIC($0, $1, $2, $5, $7) | 0; - break; - } - } else { - if ($11) { - $$0 = _arLabelingSubDWZ($0, $1, $2, $8, $7) | 0; - break; - } - if (!$6) { - $$0 = _arLabelingSubDWRC($0, $1, $2, $5, $7) | 0; - break; - } else { - $$0 = _arLabelingSubDWIC($0, $1, $2, $5, $7) | 0; - break; - } - } else if ($10) { - if ($11) { - $$0 = _arLabelingSubEBZ($0, $1, $2, $8, $7) | 0; +function _fflush($f) { + $f = $f | 0; + var $call1 = 0, $call11 = 0, $cond10 = 0, $cond20 = 0, $f$addr$019 = 0, $f$addr$022 = 0, $phitmp = 0, $r$0$lcssa = 0, $r$021 = 0, $r$1 = 0, $retval$0 = 0; + do if ($f) { + if ((HEAP32[$f + 76 >> 2] | 0) <= -1) { + $retval$0 = ___fflush_unlocked($f) | 0; break; } - if (!$6) { - $$0 = _arLabelingSubEBRC($0, $1, $2, $5, $7) | 0; - break; - } else { - $$0 = _arLabelingSubEBIC($0, $1, $2, $5, $7) | 0; - break; + $phitmp = (___lockfile($f) | 0) == 0; + $call1 = ___fflush_unlocked($f) | 0; + if ($phitmp) $retval$0 = $call1; else { + ___unlockfile($f); + $retval$0 = $call1; } } else { - if ($11) { - $$0 = _arLabelingSubEWZ($0, $1, $2, $8, $7) | 0; - break; - } - if (!$6) { - $$0 = _arLabelingSubEWRC($0, $1, $2, $5, $7) | 0; - break; - } else { - $$0 = _arLabelingSubEWIC($0, $1, $2, $5, $7) | 0; - break; - } - } while (0); - return $$0 | 0; -} - -function _arMatrixMulf($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$0 = 0, $$040 = 0, $$041 = 0, $$042 = 0, $$043 = 0, $$044 = 0, $$045 = 0, $$1 = 0, $14 = 0, $20 = 0, $30 = 0.0, $31 = 0.0, $4 = 0, $9 = 0; - $4 = HEAP32[$1 + 8 >> 2] | 0; - L1 : do if ((($4 | 0) == (HEAP32[$2 + 4 >> 2] | 0) ? ($9 = HEAP32[$0 + 4 >> 2] | 0, ($9 | 0) == (HEAP32[$1 + 4 >> 2] | 0)) : 0) ? ($14 = HEAP32[$0 + 8 >> 2] | 0, ($14 | 0) == (HEAP32[$2 + 8 >> 2] | 0)) : 0) { - $$0 = HEAP32[$0 >> 2] | 0; - $$044 = 0; - while (1) { - if (($$044 | 0) >= ($9 | 0)) { - $$045 = 0; - break L1; - } - $20 = Math_imul($$044, $4) | 0; - $$043 = 0; - $$1 = $$0; + if (!(HEAP32[4273] | 0)) $cond10 = 0; else $cond10 = _fflush(HEAP32[4273] | 0) | 0; + $call11 = ___ofl_lock() | 0; + $f$addr$019 = HEAP32[$call11 >> 2] | 0; + if (!$f$addr$019) $r$0$lcssa = $cond10; else { + $f$addr$022 = $f$addr$019; + $r$021 = $cond10; while (1) { - if (($$043 | 0) >= ($14 | 0)) break; - HEAPF32[$$1 >> 2] = 0.0; - $$040 = (HEAP32[$2 >> 2] | 0) + ($$043 << 2) | 0; - $$041 = (HEAP32[$1 >> 2] | 0) + ($20 << 2) | 0; - $$042 = 0; - $31 = 0.0; - while (1) { - if (($$042 | 0) >= ($4 | 0)) break; - $30 = $31 + +HEAPF32[$$041 >> 2] * +HEAPF32[$$040 >> 2]; - HEAPF32[$$1 >> 2] = $30; - $$040 = $$040 + ($14 << 2) | 0; - $$041 = $$041 + 4 | 0; - $$042 = $$042 + 1 | 0; - $31 = $30; - } - $$043 = $$043 + 1 | 0; - $$1 = $$1 + 4 | 0; - } - $$0 = $$1; - $$044 = $$044 + 1 | 0; - } - } else $$045 = -1; while (0); - return $$045 | 0; -} - -function _arMatrixMul($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$0 = 0, $$040 = 0, $$041 = 0, $$042 = 0, $$043 = 0, $$044 = 0, $$045 = 0, $$1 = 0, $14 = 0, $20 = 0, $30 = 0.0, $31 = 0.0, $4 = 0, $9 = 0; - $4 = HEAP32[$1 + 8 >> 2] | 0; - L1 : do if ((($4 | 0) == (HEAP32[$2 + 4 >> 2] | 0) ? ($9 = HEAP32[$0 + 4 >> 2] | 0, ($9 | 0) == (HEAP32[$1 + 4 >> 2] | 0)) : 0) ? ($14 = HEAP32[$0 + 8 >> 2] | 0, ($14 | 0) == (HEAP32[$2 + 8 >> 2] | 0)) : 0) { - $$0 = HEAP32[$0 >> 2] | 0; - $$044 = 0; - while (1) { - if (($$044 | 0) >= ($9 | 0)) { - $$045 = 0; - break L1; - } - $20 = Math_imul($$044, $4) | 0; - $$043 = 0; - $$1 = $$0; - while (1) { - if (($$043 | 0) >= ($14 | 0)) break; - HEAPF64[$$1 >> 3] = 0.0; - $$040 = (HEAP32[$2 >> 2] | 0) + ($$043 << 3) | 0; - $$041 = (HEAP32[$1 >> 2] | 0) + ($20 << 3) | 0; - $$042 = 0; - $31 = 0.0; - while (1) { - if (($$042 | 0) >= ($4 | 0)) break; - $30 = $31 + +HEAPF64[$$041 >> 3] * +HEAPF64[$$040 >> 3]; - HEAPF64[$$1 >> 3] = $30; - $$040 = $$040 + ($14 << 3) | 0; - $$041 = $$041 + 8 | 0; - $$042 = $$042 + 1 | 0; - $31 = $30; - } - $$043 = $$043 + 1 | 0; - $$1 = $$1 + 8 | 0; + if ((HEAP32[$f$addr$022 + 76 >> 2] | 0) > -1) $cond20 = ___lockfile($f$addr$022) | 0; else $cond20 = 0; + if ((HEAP32[$f$addr$022 + 20 >> 2] | 0) >>> 0 > (HEAP32[$f$addr$022 + 28 >> 2] | 0) >>> 0) $r$1 = ___fflush_unlocked($f$addr$022) | 0 | $r$021; else $r$1 = $r$021; + if ($cond20 | 0) ___unlockfile($f$addr$022); + $f$addr$022 = HEAP32[$f$addr$022 + 56 >> 2] | 0; + if (!$f$addr$022) { + $r$0$lcssa = $r$1; + break; + } else $r$021 = $r$1; } - $$0 = $$1; - $$044 = $$044 + 1 | 0; } - } else $$045 = -1; while (0); - return $$045 | 0; -} - -function __ZNSt3__26vectorIPKN6vision4NodeILi96EEENS_9allocatorIS5_EEE21__push_back_slow_pathIS5_EEvOT_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $14 = 0, $15 = 0, $19 = 0, $2 = 0, $24 = 0, $3 = 0, $8 = 0, $9 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $2 = sp; - $3 = $0 + 4 | 0; - $8 = ((HEAP32[$3 >> 2] | 0) - (HEAP32[$0 >> 2] | 0) >> 2) + 1 | 0; - $9 = __ZNKSt3__26vectorIPKN6vision4NodeILi96EEENS_9allocatorIS5_EEE8max_sizeEv($0) | 0; - if ($9 >>> 0 < $8 >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv($0); else { - $14 = HEAP32[$0 >> 2] | 0; - $15 = (HEAP32[$0 + 8 >> 2] | 0) - $14 | 0; - $19 = $15 >> 1; - __ZNSt3__214__split_bufferIPKN6vision4NodeILi96EEERNS_9allocatorIS5_EEEC2EmmS8_($2, $15 >> 2 >>> 0 < $9 >>> 1 >>> 0 ? ($19 >>> 0 < $8 >>> 0 ? $8 : $19) : $9, (HEAP32[$3 >> 2] | 0) - $14 >> 2, $0 + 8 | 0); - $24 = $2 + 8 | 0; - HEAP32[HEAP32[$24 >> 2] >> 2] = HEAP32[$1 >> 2]; - HEAP32[$24 >> 2] = (HEAP32[$24 >> 2] | 0) + 4; - __ZNSt3__26vectorIPKN6vision4NodeILi96EEENS_9allocatorIS5_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS5_RS7_EE($0, $2); - __ZNSt3__214__split_bufferIPKN6vision4NodeILi96EEERNS_9allocatorIS5_EEED2Ev($2); - STACKTOP = sp; - return; - } + ___ofl_unlock(); + $retval$0 = $r$0$lcssa; + } while (0); + return $retval$0 | 0; } -function _arCreateHandle($0) { - $0 = $0 | 0; - var $1 = 0, $16 = 0, $19 = 0, $27 = 0, sp = 0; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseBinaryExprENS_10StringViewE($this, $Kind) { + $this = $this | 0; + $Kind = $Kind | 0; + var $LHS = 0, $RHS = 0, $call = 0, $call2 = 0, $call4 = 0, $retval$0 = 0, $retval$1 = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $1 = _malloc(7062432) | 0; - if (!$1) { - _arLog(0, 3, 45930, sp); - _exit(1); - } - HEAP32[$1 >> 2] = 0; - HEAP32[$1 + 4834148 >> 2] = 0; - HEAP32[$1 + 7062408 >> 2] = 0; - HEAP32[$1 + 4 >> 2] = -1; - HEAP32[$1 + 8 >> 2] = 0; - HEAP32[$1 + 12 >> 2] = 1; - HEAP32[$1 + 16 >> 2] = 100; - HEAP32[$1 + 20 >> 2] = 0; - HEAP32[$1 + 24 >> 2] = 0; - HEAP32[$1 + 28 >> 2] = 2; - HEAPF64[$1 + 7062416 >> 3] = .5; - HEAP32[$1 + 7062424 >> 2] = 3; - HEAP32[$1 + 32 >> 2] = $0; - $16 = HEAP32[$0 >> 2] | 0; - HEAP32[$1 + 36 >> 2] = $16; - $19 = HEAP32[$0 + 4 >> 2] | 0; - HEAP32[$1 + 40 >> 2] = $19; - HEAP32[$1 + 44 >> 2] = 0; - HEAP32[$1 + 15408 >> 2] = 0; - HEAP32[$1 + 4834152 >> 2] = 0; - HEAP32[$1 + 4818296 >> 2] = 0; - $27 = _malloc(Math_imul($16 << 1, $19) | 0) | 0; - HEAP32[$1 + 4834144 >> 2] = $27; - if (!$27) { - _arLog(0, 3, 45930, sp + 8 | 0); - _exit(1); - } else { - HEAP32[$1 + 7062384 >> 2] = 0; - _arSetDebugMode($1, 0) | 0; - HEAP32[$1 + 7062388 >> 2] = -1; - _arSetLabelingThreshMode($1, 0) | 0; - _arSetLabelingThreshModeAutoInterval($1, 7) | 0; - STACKTOP = sp; - return $1 | 0; + $LHS = sp + 4 | 0; + $RHS = sp; + $call = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0; + $call2 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseExprEv($call) | 0; + HEAP32[$LHS >> 2] = $call2; + if (!$call2) $retval$1 = 0; else { + $call4 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseExprEv($call) | 0; + HEAP32[$RHS >> 2] = $call4; + if (!$call4) $retval$0 = 0; else $retval$0 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_10BinaryExprEJRPNS0_4NodeERNS_10StringViewESA_EEES9_DpOT0_($this, $LHS, $Kind, $RHS) | 0; + $retval$1 = $retval$0; } - return 0; + STACKTOP = sp; + return $retval$1 | 0; } -function ___newlocale($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$0 = 0, $$03338 = 0, $$03439 = 0, $$036 = 0, $$13537 = 0, $$pre41 = 0, $10 = 0, $12 = 0, $3 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $3 = sp; - L1 : do if (!(___loc_is_allocated($2) | 0)) { - $12 = ($2 | 0) != 0; - $$03338 = 0; - $$13537 = 0; - do { - $$pre41 = 1 << $$13537 & $0; - if ($12 & ($$pre41 | 0) == 0) $$0 = HEAP32[$2 + ($$13537 << 2) >> 2] | 0; else $$0 = ___get_locale($$13537, ($$pre41 | 0) == 0 ? 67447 : $1) | 0; - $$03338 = $$03338 + (($$0 | 0) != 0 & 1) | 0; - HEAP32[$3 + ($$13537 << 2) >> 2] = $$0; - $$13537 = $$13537 + 1 | 0; - } while (($$13537 | 0) != 6); - switch ($$03338 & 2147483647 | 0) { - case 0: - { - $$036 = 65372; - break L1; - break; - } - case 1: - { - if ((HEAP32[$3 >> 2] | 0) == 17032) { - $$036 = 17060; - break L1; - } - break; - } - default: - {} - } - $$036 = $2; +function __ZNSt3__26vectorIhNS_9allocatorIhEEE26__swap_out_circular_bufferERNS_14__split_bufferIhRS2_EE($this, $__v) { + $this = $this | 0; + $__v = $__v | 0; + var $$pre$phiZ2D = 0, $0 = 0, $4 = 0, $5 = 0, $6 = 0, $8 = 0, $__begin_2 = 0, $__end_ = 0, $__end_6 = 0, $__value_$i$i$i = 0, $__value_$i$i$i6 = 0, $add$ptr$i = 0, $sub$ptr$sub$i7 = 0; + $0 = HEAP32[$this >> 2] | 0; + $__end_ = $this + 4 | 0; + $__begin_2 = $__v + 4 | 0; + $sub$ptr$sub$i7 = (HEAP32[$__end_ >> 2] | 0) - $0 | 0; + $add$ptr$i = (HEAP32[$__begin_2 >> 2] | 0) + (0 - $sub$ptr$sub$i7) | 0; + HEAP32[$__begin_2 >> 2] = $add$ptr$i; + if (($sub$ptr$sub$i7 | 0) > 0) { + _memcpy($add$ptr$i | 0, $0 | 0, $sub$ptr$sub$i7 | 0) | 0; + $$pre$phiZ2D = $__begin_2; + $5 = HEAP32[$__begin_2 >> 2] | 0; } else { - $$03439 = 0; - do { - if (1 << $$03439 & $0 | 0) { - $10 = ___get_locale($$03439, $1) | 0; - HEAP32[$2 + ($$03439 << 2) >> 2] = $10; - } - $$03439 = $$03439 + 1 | 0; - } while (($$03439 | 0) != 6); - $$036 = $2; - } while (0); - STACKTOP = sp; - return $$036 | 0; + $$pre$phiZ2D = $__begin_2; + $5 = $add$ptr$i; + } + $4 = HEAP32[$this >> 2] | 0; + HEAP32[$this >> 2] = $5; + HEAP32[$$pre$phiZ2D >> 2] = $4; + $__end_6 = $__v + 8 | 0; + $6 = HEAP32[$__end_ >> 2] | 0; + HEAP32[$__end_ >> 2] = HEAP32[$__end_6 >> 2]; + HEAP32[$__end_6 >> 2] = $6; + $__value_$i$i$i6 = $this + 8 | 0; + $__value_$i$i$i = $__v + 12 | 0; + $8 = HEAP32[$__value_$i$i$i6 >> 2] | 0; + HEAP32[$__value_$i$i$i6 >> 2] = HEAP32[$__value_$i$i$i >> 2]; + HEAP32[$__value_$i$i$i >> 2] = $8; + HEAP32[$__v >> 2] = HEAP32[$$pre$phiZ2D >> 2]; + return; } -function _rgb_gray_convert_53($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $$04952$us = 0, $$05053$us = 0, $$054$us = 0, $$in = 0, $10 = 0, $12 = 0, $13 = 0, $18 = 0, $21 = 0, $24 = 0, $26 = 0, $8 = 0, $$in$looptemp = 0; - $8 = HEAP32[(HEAP32[$0 + 480 >> 2] | 0) + 24 >> 2] | 0; - $10 = HEAP32[$0 + 112 >> 2] | 0; - if (($4 | 0) <= 0) return; - $12 = $1 + 4 | 0; - $13 = $1 + 8 | 0; - if (!$10) return; - $$05053$us = $3; - $$054$us = $2; - $$in = $4; +function __ZNSt3__215basic_streambufIwNS_11char_traitsIwEEE6xsgetnEPwl($this, $__s, $__n) { + $this = $this | 0; + $__s = $__s | 0; + $__n = $__n | 0; + var $$pn = 0, $0 = 0, $1 = 0, $4 = 0, $__einp_ = 0, $__i$0 = 0, $__ninp_ = 0, $__s$addr$0 = 0, $__s$addr$1 = 0, $call11 = 0, $call14 = 0, $sub = 0, $sub$ptr$div = 0; + __ZNSt3__211char_traitsIwE3eofEv() | 0; + $__ninp_ = $this + 12 | 0; + $__einp_ = $this + 16 | 0; + $__i$0 = 0; + $__s$addr$0 = $__s; while (1) { - $$in$looptemp = $$in; - $$in = $$in + -1 | 0; - $18 = HEAP32[(HEAP32[$1 >> 2] | 0) + ($$054$us << 2) >> 2] | 0; - $21 = HEAP32[(HEAP32[$12 >> 2] | 0) + ($$054$us << 2) >> 2] | 0; - $24 = HEAP32[(HEAP32[$13 >> 2] | 0) + ($$054$us << 2) >> 2] | 0; - $$054$us = $$054$us + 1 | 0; - $26 = HEAP32[$$05053$us >> 2] | 0; - $$04952$us = 0; - do { - HEAP8[$26 + $$04952$us >> 0] = ((HEAP32[$8 + ((HEAPU8[$21 + $$04952$us >> 0] | 0 | 256) << 2) >> 2] | 0) + (HEAP32[$8 + ((HEAPU8[$18 + $$04952$us >> 0] | 0) << 2) >> 2] | 0) + (HEAP32[$8 + ((HEAPU8[$24 + $$04952$us >> 0] | 0 | 512) << 2) >> 2] | 0) | 0) >>> 16; - $$04952$us = $$04952$us + 1 | 0; - } while (($$04952$us | 0) != ($10 | 0)); - if (($$in$looptemp | 0) <= 1) break; else $$05053$us = $$05053$us + 4 | 0; + if (($__i$0 | 0) >= ($__n | 0)) break; + $0 = HEAP32[$__ninp_ >> 2] | 0; + $1 = HEAP32[$__einp_ >> 2] | 0; + if ($0 >>> 0 < $1 >>> 0) { + $sub$ptr$div = $1 - $0 >> 2; + $sub = $__n - $__i$0 | 0; + $4 = ($sub | 0) < ($sub$ptr$div | 0) ? $sub : $sub$ptr$div; + __ZNSt3__211char_traitsIwE4copyEPwPKwm($__s$addr$0, $0, $4) | 0; + HEAP32[$__ninp_ >> 2] = (HEAP32[$__ninp_ >> 2] | 0) + ($4 << 2); + $$pn = $4; + $__s$addr$1 = $__s$addr$0 + ($4 << 2) | 0; + } else { + $call11 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$this >> 2] | 0) + 40 >> 2] & 127]($this) | 0; + if (($call11 | 0) == -1) break; + $call14 = __ZNSt3__211char_traitsIwE12to_char_typeEj($call11) | 0; + HEAP32[$__s$addr$0 >> 2] = $call14; + $$pn = 1; + $__s$addr$1 = $__s$addr$0 + 4 | 0; + } + $__i$0 = $$pn + $__i$0 | 0; + $__s$addr$0 = $__s$addr$1; } - return; + return $__i$0 | 0; } -function __ZNSt3__26vectorIPN6vision4NodeILi96EEENS_9allocatorIS4_EEE21__push_back_slow_pathIRKS4_EEvOT_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $14 = 0, $15 = 0, $19 = 0, $2 = 0, $24 = 0, $3 = 0, $8 = 0, $9 = 0, sp = 0; +function __ZNK12_GLOBAL__N_116itanium_demangle15PixelVectorType9printLeftERNS_12OutputStreamE($this, $S) { + $this = $this | 0; + $S = $S | 0; + var $agg$tmp = 0, $agg$tmp2 = 0, $agg$tmp4 = 0, $agg$tmp4$byval_copy = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 32 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $2 = sp; - $3 = $0 + 4 | 0; - $8 = ((HEAP32[$3 >> 2] | 0) - (HEAP32[$0 >> 2] | 0) >> 2) + 1 | 0; - $9 = __ZNKSt3__26vectorIPN6vision4NodeILi96EEENS_9allocatorIS4_EEE8max_sizeEv($0) | 0; - if ($9 >>> 0 < $8 >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv($0); else { - $14 = HEAP32[$0 >> 2] | 0; - $15 = (HEAP32[$0 + 8 >> 2] | 0) - $14 | 0; - $19 = $15 >> 1; - __ZNSt3__214__split_bufferIPN6vision4NodeILi96EEERNS_9allocatorIS4_EEEC2EmmS7_($2, $15 >> 2 >>> 0 < $9 >>> 1 >>> 0 ? ($19 >>> 0 < $8 >>> 0 ? $8 : $19) : $9, (HEAP32[$3 >> 2] | 0) - $14 >> 2, $0 + 8 | 0); - $24 = $2 + 8 | 0; - HEAP32[HEAP32[$24 >> 2] >> 2] = HEAP32[$1 >> 2]; - HEAP32[$24 >> 2] = (HEAP32[$24 >> 2] | 0) + 4; - __ZNSt3__26vectorIPN6vision4NodeILi96EEENS_9allocatorIS4_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS4_RS6_EE($0, $2); - __ZNSt3__214__split_bufferIPN6vision4NodeILi96EEERNS_9allocatorIS4_EEED2Ev($2); - STACKTOP = sp; - return; - } -} - -function __ZNK12_GLOBAL__N_116itanium_demangle11PointerType10printRightERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$byval_copy = 0, $12 = 0, $2 = 0, $3 = 0, $4 = 0, $8 = 0, label = 0, sp = 0; + $agg$tmp4$byval_copy = sp + 24 | 0; + $agg$tmp = sp + 16 | 0; + $agg$tmp2 = sp + 8 | 0; + $agg$tmp4 = sp; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, 56873); + HEAP32[$agg$tmp4$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp4$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp4$byval_copy); + __ZNK12_GLOBAL__N_116itanium_demangle12NodeOrString8asStringEv($agg$tmp2, $this + 8 | 0); + HEAP32[$agg$tmp4$byval_copy >> 2] = HEAP32[$agg$tmp2 >> 2]; + HEAP32[$agg$tmp4$byval_copy + 4 >> 2] = HEAP32[$agg$tmp2 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp4$byval_copy); + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp4, 52456); + HEAP32[$agg$tmp4$byval_copy >> 2] = HEAP32[$agg$tmp4 >> 2]; + HEAP32[$agg$tmp4$byval_copy + 4 >> 2] = HEAP32[$agg$tmp4 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp4$byval_copy); + STACKTOP = sp; + return; +} + +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle12FunctionTypeEJRPNS2_4NodeERNS2_9NodeArrayERNS2_10QualifiersERNS2_15FunctionRefQualES6_EEEPT_DpOT0_($this, $args, $args1, $args3, $args5, $args7) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + $args3 = $args3 | 0; + $args5 = $args5 | 0; + $args7 = $args7 | 0; + var $0 = 0, $1 = 0, $11 = 0, $12 = 0, $13 = 0, $6 = 0, $7 = 0, $agg$tmp = 0, $call = 0, $tmpcast$byval_copy = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy = sp + 8 | 0; - $2 = sp; - $3 = $0 + 8 | 0; - $4 = HEAP32[$3 >> 2] | 0; - if ((__ZNK12_GLOBAL__N_116itanium_demangle4Node7getKindEv($4) | 0) << 24 >> 24 == 10) { - if (!(__ZNK12_GLOBAL__N_116itanium_demangle13ObjCProtoName12isObjCObjectEv($4) | 0)) { - $8 = HEAP32[$3 >> 2] | 0; - label = 4; - } - } else { - $8 = $4; - label = 4; - } - if ((label | 0) == 4) { - if (!(__ZNK12_GLOBAL__N_116itanium_demangle4Node8hasArrayERNS_12OutputStreamE($8, $1) | 0) ? !(__ZNK12_GLOBAL__N_116itanium_demangle4Node11hasFunctionERNS_12OutputStreamE(HEAP32[$3 >> 2] | 0, $1) | 0) : 0) {} else { - __ZN12_GLOBAL__N_110StringViewC2EPKc($2, 51964); - HEAP32[$$byval_copy >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy); - } - $12 = HEAP32[$3 >> 2] | 0; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$12 >> 2] | 0) + 20 >> 2] & 255]($12, $1); - } - STACKTOP = sp; - return; -} - -function __ZNSt3__26vectorItNS_9allocatorItEEE8__appendEm($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $13 = 0, $14 = 0, $18 = 0, $19 = 0, $2 = 0, $3 = 0, $5 = 0, $6 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $2 = sp; - $3 = $0 + 8 | 0; - $5 = $0 + 4 | 0; - $6 = HEAP32[$5 >> 2] | 0; - do if ((HEAP32[$3 >> 2] | 0) - $6 >> 1 >>> 0 < $1 >>> 0) { - $13 = ($6 - (HEAP32[$0 >> 2] | 0) >> 1) + $1 | 0; - $14 = __ZNKSt3__26vectorItNS_9allocatorItEEE8max_sizeEv($0) | 0; - if ($14 >>> 0 < $13 >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv($0); else { - $18 = HEAP32[$0 >> 2] | 0; - $19 = (HEAP32[$3 >> 2] | 0) - $18 | 0; - __ZNSt3__214__split_bufferItRNS_9allocatorItEEEC2EmmS3_($2, $19 >> 1 >>> 0 < $14 >>> 1 >>> 0 ? ($19 >>> 0 < $13 >>> 0 ? $13 : $19) : $14, (HEAP32[$5 >> 2] | 0) - $18 >> 1, $0 + 8 | 0); - __ZNSt3__214__split_bufferItRNS_9allocatorItEEE18__construct_at_endEm($2, $1); - __ZNSt3__26vectorItNS_9allocatorItEEE26__swap_out_circular_bufferERNS_14__split_bufferItRS2_EE($0, $2); - __ZNSt3__214__split_bufferItRNS_9allocatorItEEED2Ev($2); - break; - } - } else __ZNSt3__26vectorItNS_9allocatorItEEE18__construct_at_endEm($0, $1); while (0); + $tmpcast$byval_copy = sp + 8 | 0; + $agg$tmp = sp; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 32) | 0; + $0 = HEAP32[$args >> 2] | 0; + $1 = $args1; + $6 = HEAP32[$1 + 4 >> 2] | 0; + $7 = $agg$tmp; + HEAP32[$7 >> 2] = HEAP32[$1 >> 2]; + HEAP32[$7 + 4 >> 2] = $6; + $11 = HEAP32[$args3 >> 2] | 0; + $12 = HEAP8[$args5 >> 0] | 0; + $13 = HEAP32[$args7 >> 2] | 0; + HEAP32[$tmpcast$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$tmpcast$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_116itanium_demangle12FunctionTypeC2EPKNS0_4NodeENS0_9NodeArrayENS0_10QualifiersENS0_15FunctionRefQualES4_($call, $0, $tmpcast$byval_copy, $11, $12, $13); STACKTOP = sp; - return; -} - -function __ZNK12_GLOBAL__N_116itanium_demangle18ArraySubscriptExpr9printLeftERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$byval_copy2 = 0, $2 = 0, $3 = 0, $4 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $$byval_copy2 = sp + 24 | 0; - $2 = sp + 16 | 0; - $3 = sp + 8 | 0; - $4 = sp; - __ZN12_GLOBAL__N_110StringViewC2EPKc($2, 51968); - HEAP32[$$byval_copy2 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy2 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy2); - __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(HEAP32[$0 + 8 >> 2] | 0, $1); - __ZN12_GLOBAL__N_110StringViewC2EPKc($3, 53584); - HEAP32[$$byval_copy2 >> 2] = HEAP32[$3 >> 2]; - HEAP32[$$byval_copy2 + 4 >> 2] = HEAP32[$3 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy2); - __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(HEAP32[$0 + 12 >> 2] | 0, $1); - __ZN12_GLOBAL__N_110StringViewC2EPKc($4, 51614); - HEAP32[$$byval_copy2 >> 2] = HEAP32[$4 >> 2]; - HEAP32[$$byval_copy2 + 4 >> 2] = HEAP32[$4 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy2); - STACKTOP = sp; - return; -} - -function _null_convert_55($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $$03038$us$us = 0, $$03137$us$us = 0, $$03236$us$us = 0, $$03343$us = 0, $$03439$us$us = 0, $$046$us = 0, $$in = 0, $11 = 0, $6 = 0, $8 = 0, $$in$looptemp = 0; - $6 = HEAP32[$0 + 36 >> 2] | 0; - $8 = HEAP32[$0 + 112 >> 2] | 0; - if (($4 | 0) <= 0) return; - $11 = ($8 | 0) == 0; - if (($6 | 0) <= 0) return; - $$03343$us = $3; - $$046$us = $2; - $$in = $4; - while (1) { - $$in$looptemp = $$in; - $$in = $$in + -1 | 0; - if (!$11) { - $$03439$us$us = 0; - do { - $$03038$us$us = 0; - $$03137$us$us = HEAP32[(HEAP32[$1 + ($$03439$us$us << 2) >> 2] | 0) + ($$046$us << 2) >> 2] | 0; - $$03236$us$us = (HEAP32[$$03343$us >> 2] | 0) + $$03439$us$us | 0; - while (1) { - HEAP8[$$03236$us$us >> 0] = HEAP8[$$03137$us$us >> 0] | 0; - $$03038$us$us = $$03038$us$us + 1 | 0; - if (($$03038$us$us | 0) == ($8 | 0)) break; else { - $$03137$us$us = $$03137$us$us + 1 | 0; - $$03236$us$us = $$03236$us$us + $6 | 0; - } - } - $$03439$us$us = $$03439$us$us + 1 | 0; - } while (($$03439$us$us | 0) != ($6 | 0)); - } - if (($$in$looptemp | 0) <= 1) break; else { - $$03343$us = $$03343$us + 4 | 0; - $$046$us = $$046$us + 1 | 0; - } - } - return; + return $call | 0; } -function _arGetTransMat($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$0 = 0, $12 = 0, $13 = 0, $6 = 0, $7 = 0, $9 = 0, sp = 0; +function __ZL14genBWImageHalfPhiiPiS0_($image, $xsize, $ysize, $newXsize, $newYsize) { + $image = $image | 0; + $xsize = $xsize | 0; + $ysize = $ysize | 0; + $newXsize = $newXsize | 0; + $newYsize = $newYsize | 0; + var $call = 0, $div = 0, $div1 = 0, $i$0 = 0, $j$0 = 0, $mul4 = 0, $p$0 = 0, $p$1 = 0, $p1$0 = 0, $p2$0 = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $6 = sp + 20 | 0; - $7 = sp; - $9 = _malloc($4 << 4) | 0; - HEAP32[$6 >> 2] = $9; - if (!$9) { - _arLog(0, 3, 45930, sp + 8 | 0); - _exit(1); - } - $12 = _malloc($4 * 24 | 0) | 0; - $13 = $6 + 4 | 0; - HEAP32[$13 >> 2] = $12; - if (!$12) { - _arLog(0, 3, 45930, sp + 16 | 0); + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $div = ($xsize | 0) / 2 | 0; + HEAP32[$newXsize >> 2] = $div; + $div1 = ($ysize | 0) / 2 | 0; + HEAP32[$newYsize >> 2] = $div1; + $call = _malloc(Math_imul($div1, $div) | 0) | 0; + if (!$call) { + _arLog(0, 3, 46772, sp); _exit(1); } - $$0 = 0; + $j$0 = 0; + $p$0 = $call; while (1) { - if (($$0 | 0) >= ($4 | 0)) break; - HEAPF64[$9 + ($$0 << 4) >> 3] = +HEAPF64[$2 + ($$0 << 4) >> 3]; - HEAPF64[$9 + ($$0 << 4) + 8 >> 3] = +HEAPF64[$2 + ($$0 << 4) + 8 >> 3]; - HEAPF64[$12 + ($$0 * 24 | 0) >> 3] = +HEAPF64[$3 + ($$0 * 24 | 0) >> 3]; - HEAPF64[$12 + ($$0 * 24 | 0) + 8 >> 3] = +HEAPF64[$3 + ($$0 * 24 | 0) + 8 >> 3]; - HEAPF64[$12 + ($$0 * 24 | 0) + 16 >> 3] = +HEAPF64[$3 + ($$0 * 24 | 0) + 16 >> 3]; - $$0 = $$0 + 1 | 0; + if (($j$0 | 0) >= ($div1 | 0)) break; + $mul4 = $j$0 << 1; + $i$0 = 0; + $p$1 = $p$0; + $p1$0 = $image + (Math_imul($mul4, $xsize) | 0) | 0; + $p2$0 = $image + (Math_imul($mul4 | 1, $xsize) | 0) | 0; + while (1) { + if (($i$0 | 0) >= ($div | 0)) break; + HEAP8[$p$1 >> 0] = ((HEAPU8[$p1$0 + 1 >> 0] | 0) + (HEAPU8[$p1$0 >> 0] | 0) + (HEAPU8[$p2$0 >> 0] | 0) + (HEAPU8[$p2$0 + 1 >> 0] | 0) | 0) >>> 2; + $i$0 = $i$0 + 1 | 0; + $p$1 = $p$1 + 1 | 0; + $p1$0 = $p1$0 + 2 | 0; + $p2$0 = $p2$0 + 2 | 0; + } + $j$0 = $j$0 + 1 | 0; + $p$0 = $p$1; } - HEAP32[$6 + 8 >> 2] = $4; - if ((_icpPoint(HEAP32[$0 >> 2] | 0, $6, $1, $5, $7) | 0) < 0) HEAPF64[$7 >> 3] = 1.0e8; - _free(HEAP32[$6 >> 2] | 0); - _free(HEAP32[$13 >> 2] | 0); STACKTOP = sp; - return +(+HEAPF64[$7 >> 3]); + return $call | 0; } -function __ZNK12_GLOBAL__N_116itanium_demangle14ConversionExpr9printLeftERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$byval_copy2 = 0, $2 = 0, $3 = 0, $4 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $$byval_copy2 = sp + 24 | 0; - $2 = sp + 16 | 0; - $3 = sp + 8 | 0; - $4 = sp; - __ZN12_GLOBAL__N_110StringViewC2EPKc($2, 51968); - HEAP32[$$byval_copy2 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy2 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy2); - __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(HEAP32[$0 + 8 >> 2] | 0, $1); - __ZN12_GLOBAL__N_110StringViewC2EPKc($3, 54555); - HEAP32[$$byval_copy2 >> 2] = HEAP32[$3 >> 2]; - HEAP32[$$byval_copy2 + 4 >> 2] = HEAP32[$3 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy2); - __ZNK12_GLOBAL__N_116itanium_demangle9NodeArray14printWithCommaERNS_12OutputStreamE($0 + 12 | 0, $1); - __ZN12_GLOBAL__N_110StringViewC2EPKc($4, 51964); - HEAP32[$$byval_copy2 >> 2] = HEAP32[$4 >> 2]; - HEAP32[$$byval_copy2 + 4 >> 2] = HEAP32[$4 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy2); - STACKTOP = sp; - return; -} - -function __ZNK12_GLOBAL__N_116itanium_demangle13ObjCProtoName9printLeftERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$byval_copy1 = 0, $13 = 0, $14 = 0, $2 = 0, $3 = 0, $4 = 0, $8 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $$byval_copy1 = sp + 24 | 0; - $2 = sp + 16 | 0; - $3 = sp; - $4 = sp + 8 | 0; - __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(HEAP32[$0 + 8 >> 2] | 0, $1); - __ZN12_GLOBAL__N_110StringViewC2EPKc($2, 52150); - HEAP32[$$byval_copy1 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy1 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy1); - $8 = $0 + 12 | 0; - $13 = HEAP32[$8 + 4 >> 2] | 0; - $14 = $3; - HEAP32[$14 >> 2] = HEAP32[$8 >> 2]; - HEAP32[$14 + 4 >> 2] = $13; - HEAP32[$$byval_copy1 >> 2] = HEAP32[$3 >> 2]; - HEAP32[$$byval_copy1 + 4 >> 2] = HEAP32[$3 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy1); - __ZN12_GLOBAL__N_110StringViewC2EPKc($4, 52043); - HEAP32[$$byval_copy1 >> 2] = HEAP32[$4 >> 2]; - HEAP32[$$byval_copy1 + 4 >> 2] = HEAP32[$4 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy1); - STACKTOP = sp; - return; -} - -function _updateCandidate($0, $1, $2, $3, $4, $5, $6) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - $6 = $6 | 0; - var $$0 = 0, $$0$ph = 0, $$060 = 0, $24 = 0, $7 = 0; - $7 = HEAP32[$3 >> 2] | 0; - do if (!$7) { - HEAP32[$4 >> 2] = $0; - HEAP32[$5 >> 2] = $1; - HEAP32[$6 >> 2] = $2; - HEAP32[$3 >> 2] = 1; - } else { - $$060 = 0; - while (1) { - if (($$060 | 0) >= ($7 | 0)) break; - if ((HEAP32[$6 + ($$060 << 2) >> 2] | 0) < ($2 | 0)) break; - $$060 = $$060 + 1 | 0; +function _wcrtomb($s, $wc, $st) { + $s = $s | 0; + $wc = $wc | 0; + $st = $st | 0; + var $call10 = 0, $call66 = 0, $locale = 0, $retval$0 = 0; + do if ($s) { + if ($wc >>> 0 < 128) { + HEAP8[$s >> 0] = $wc; + $retval$0 = 1; + break; } - if (($$060 | 0) == ($7 | 0)) { - if ($7 >>> 0 >= 3) break; - HEAP32[$4 + ($7 << 2) >> 2] = $0; - HEAP32[$5 + ($7 << 2) >> 2] = $1; - HEAP32[$6 + ($7 << 2) >> 2] = $2; - HEAP32[$3 >> 2] = (HEAP32[$3 >> 2] | 0) + 1; + $locale = (___pthread_self_696() | 0) + 188 | 0; + if (!(HEAP32[HEAP32[$locale >> 2] >> 2] | 0)) if (($wc & -128 | 0) == 57216) { + HEAP8[$s >> 0] = $wc; + $retval$0 = 1; + break; + } else { + $call10 = ___errno_location() | 0; + HEAP32[$call10 >> 2] = 25; + $retval$0 = -1; break; } - if (($7 | 0) == 3) $$0$ph = 2; else { - HEAP32[$3 >> 2] = $7 + 1; - $$0$ph = $7; + if ($wc >>> 0 < 2048) { + HEAP8[$s >> 0] = $wc >>> 6 | 192; + HEAP8[$s + 1 >> 0] = $wc & 63 | 128; + $retval$0 = 2; + break; } - $$0 = $$0$ph; - while (1) { - if (($$0 | 0) <= ($$060 | 0)) break; - $24 = $$0 + -1 | 0; - HEAP32[$4 + ($$0 << 2) >> 2] = HEAP32[$4 + ($24 << 2) >> 2]; - HEAP32[$5 + ($$0 << 2) >> 2] = HEAP32[$5 + ($24 << 2) >> 2]; - HEAP32[$6 + ($$0 << 2) >> 2] = HEAP32[$6 + ($24 << 2) >> 2]; - $$0 = $24; - } - HEAP32[$4 + ($$0 << 2) >> 2] = $0; - HEAP32[$5 + ($$0 << 2) >> 2] = $1; - HEAP32[$6 + ($$0 << 2) >> 2] = $2; - } while (0); - return; + if ($wc >>> 0 < 55296 | ($wc & -8192 | 0) == 57344) { + HEAP8[$s >> 0] = $wc >>> 12 | 224; + HEAP8[$s + 1 >> 0] = $wc >>> 6 & 63 | 128; + HEAP8[$s + 2 >> 0] = $wc & 63 | 128; + $retval$0 = 3; + break; + } + if (($wc + -65536 | 0) >>> 0 < 1048576) { + HEAP8[$s >> 0] = $wc >>> 18 | 240; + HEAP8[$s + 1 >> 0] = $wc >>> 12 & 63 | 128; + HEAP8[$s + 2 >> 0] = $wc >>> 6 & 63 | 128; + HEAP8[$s + 3 >> 0] = $wc & 63 | 128; + $retval$0 = 4; + break; + } else { + $call66 = ___errno_location() | 0; + HEAP32[$call66 >> 2] = 25; + $retval$0 = -1; + break; + } + } else $retval$0 = 1; while (0); + return $retval$0 | 0; } -function __ZNK12_GLOBAL__N_116itanium_demangle10PrefixExpr9printLeftERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$byval_copy1 = 0, $11 = 0, $12 = 0, $2 = 0, $3 = 0, $4 = 0, $6 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $$byval_copy1 = sp + 24 | 0; - $2 = sp; - $3 = sp + 16 | 0; - $4 = sp + 8 | 0; - $6 = $0 + 8 | 0; - $11 = HEAP32[$6 + 4 >> 2] | 0; - $12 = $2; - HEAP32[$12 >> 2] = HEAP32[$6 >> 2]; - HEAP32[$12 + 4 >> 2] = $11; - HEAP32[$$byval_copy1 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy1 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy1); - __ZN12_GLOBAL__N_110StringViewC2EPKc($3, 51968); - HEAP32[$$byval_copy1 >> 2] = HEAP32[$3 >> 2]; - HEAP32[$$byval_copy1 + 4 >> 2] = HEAP32[$3 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy1); - __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(HEAP32[$0 + 16 >> 2] | 0, $1); - __ZN12_GLOBAL__N_110StringViewC2EPKc($4, 51964); - HEAP32[$$byval_copy1 >> 2] = HEAP32[$4 >> 2]; - HEAP32[$$byval_copy1 + 4 >> 2] = HEAP32[$4 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy1); - STACKTOP = sp; - return; -} - -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E19parseDestructorNameEv($0) { - $0 = $0 | 0; - var $$0 = 0, $1 = 0, $4 = 0, $isdigit = 0, $storemerge = 0, sp = 0; +function _post_process_1pass($cinfo, $input_buf, $in_row_group_ctr, $in_row_groups_avail, $output_buf, $out_row_ctr, $out_rows_avail) { + $cinfo = $cinfo | 0; + $input_buf = $input_buf | 0; + $in_row_group_ctr = $in_row_group_ctr | 0; + $in_row_groups_avail = $in_row_groups_avail | 0; + $output_buf = $output_buf | 0; + $out_row_ctr = $out_row_ctr | 0; + $out_rows_avail = $out_rows_avail | 0; + var $0 = 0, $2 = 0, $buffer = 0, $num_rows = 0, $sub = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $1 = sp; - $isdigit = (((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($0, 0) | 0) << 24 >> 24) + -48 | 0) >>> 0 < 10; - $4 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0; - if ($isdigit) $storemerge = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E13parseSimpleIdEv($4) | 0; else $storemerge = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E19parseUnresolvedTypeEv($4) | 0; - HEAP32[$1 >> 2] = $storemerge; - if (!$storemerge) $$0 = 0; else $$0 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8DtorNameEJRPNS0_4NodeEEEES9_DpOT0_($0, $1) | 0; + $num_rows = sp; + $0 = HEAP32[$cinfo + 456 >> 2] | 0; + $sub = $out_rows_avail - (HEAP32[$out_row_ctr >> 2] | 0) | 0; + $2 = HEAP32[$0 + 16 >> 2] | 0; + HEAP32[$num_rows >> 2] = 0; + $buffer = $0 + 12 | 0; + FUNCTION_TABLE_viiiiiii[HEAP32[(HEAP32[$cinfo + 476 >> 2] | 0) + 4 >> 2] & 7]($cinfo, $input_buf, $in_row_group_ctr, $in_row_groups_avail, HEAP32[$buffer >> 2] | 0, $num_rows, $sub >>> 0 > $2 >>> 0 ? $2 : $sub); + FUNCTION_TABLE_viiii[HEAP32[(HEAP32[$cinfo + 484 >> 2] | 0) + 4 >> 2] & 31]($cinfo, HEAP32[$buffer >> 2] | 0, $output_buf + (HEAP32[$out_row_ctr >> 2] << 2) | 0, HEAP32[$num_rows >> 2] | 0); + HEAP32[$out_row_ctr >> 2] = (HEAP32[$out_row_ctr >> 2] | 0) + (HEAP32[$num_rows >> 2] | 0); STACKTOP = sp; - return $$0 | 0; + return; } -function __ZNK12_GLOBAL__N_116itanium_demangle9DotSuffix9printLeftERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$byval_copy1 = 0, $13 = 0, $14 = 0, $2 = 0, $3 = 0, $4 = 0, $8 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $$byval_copy1 = sp + 24 | 0; - $2 = sp + 16 | 0; - $3 = sp; - $4 = sp + 8 | 0; - __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(HEAP32[$0 + 8 >> 2] | 0, $1); - __ZN12_GLOBAL__N_110StringViewC2EPKc($2, 54714); - HEAP32[$$byval_copy1 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy1 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy1); - $8 = $0 + 12 | 0; - $13 = HEAP32[$8 + 4 >> 2] | 0; - $14 = $3; - HEAP32[$14 >> 2] = HEAP32[$8 >> 2]; - HEAP32[$14 + 4 >> 2] = $13; - HEAP32[$$byval_copy1 >> 2] = HEAP32[$3 >> 2]; - HEAP32[$$byval_copy1 + 4 >> 2] = HEAP32[$3 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy1); - __ZN12_GLOBAL__N_110StringViewC2EPKc($4, 51964); - HEAP32[$$byval_copy1 >> 2] = HEAP32[$4 >> 2]; - HEAP32[$$byval_copy1 + 4 >> 2] = HEAP32[$4 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy1); - STACKTOP = sp; - return; -} - -function _icpUpdateMat($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $$028 = 0, $$1 = 0, $$129 = 0, $2 = 0, $26 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 256 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(256); - $2 = sp + 192 | 0; - $3 = sp + 96 | 0; - $4 = sp; - _icpGetQ_from_S($2, $1); - _icpGetMat_from_Q($3, $2); - $$0 = 0; +function __ZN6vision23AccumulateScaledVector9IfEEvPT_PKS1_S1_($dst, $src, $s) { + $dst = $dst | 0; + $src = $src | 0; + $s = +$s; + var $arrayidx12 = 0, $arrayidx16 = 0, $arrayidx20 = 0, $arrayidx24 = 0, $arrayidx28 = 0, $arrayidx32 = 0, $arrayidx4 = 0, $arrayidx8 = 0; + HEAPF32[$dst >> 2] = +HEAPF32[$dst >> 2] + +HEAPF32[$src >> 2] * $s; + $arrayidx4 = $dst + 4 | 0; + HEAPF32[$arrayidx4 >> 2] = +HEAPF32[$arrayidx4 >> 2] + +HEAPF32[$src + 4 >> 2] * $s; + $arrayidx8 = $dst + 8 | 0; + HEAPF32[$arrayidx8 >> 2] = +HEAPF32[$arrayidx8 >> 2] + +HEAPF32[$src + 8 >> 2] * $s; + $arrayidx12 = $dst + 12 | 0; + HEAPF32[$arrayidx12 >> 2] = +HEAPF32[$arrayidx12 >> 2] + +HEAPF32[$src + 12 >> 2] * $s; + $arrayidx16 = $dst + 16 | 0; + HEAPF32[$arrayidx16 >> 2] = +HEAPF32[$arrayidx16 >> 2] + +HEAPF32[$src + 16 >> 2] * $s; + $arrayidx20 = $dst + 20 | 0; + HEAPF32[$arrayidx20 >> 2] = +HEAPF32[$arrayidx20 >> 2] + +HEAPF32[$src + 20 >> 2] * $s; + $arrayidx24 = $dst + 24 | 0; + HEAPF32[$arrayidx24 >> 2] = +HEAPF32[$arrayidx24 >> 2] + +HEAPF32[$src + 24 >> 2] * $s; + $arrayidx28 = $dst + 28 | 0; + HEAPF32[$arrayidx28 >> 2] = +HEAPF32[$arrayidx28 >> 2] + +HEAPF32[$src + 28 >> 2] * $s; + $arrayidx32 = $dst + 32 | 0; + HEAPF32[$arrayidx32 >> 2] = +HEAPF32[$arrayidx32 >> 2] + +HEAPF32[$src + 32 >> 2] * $s; + return; +} + +function __ZNSt3__215basic_streambufIcNS_11char_traitsIcEEE6xsgetnEPcl($this, $__s, $__n) { + $this = $this | 0; + $__s = $__s | 0; + $__n = $__n | 0; + var $$pn = 0, $0 = 0, $1 = 0, $4 = 0, $__einp_ = 0, $__i$0 = 0, $__ninp_ = 0, $__s$addr$0 = 0, $__s$addr$1 = 0, $call11 = 0, $call14 = 0, $sub = 0, $sub$ptr$sub = 0; + __ZNSt3__211char_traitsIcE3eofEv() | 0; + $__ninp_ = $this + 12 | 0; + $__einp_ = $this + 16 | 0; + $__i$0 = 0; + $__s$addr$0 = $__s; while (1) { - if (($$0 | 0) == 3) break; - $5 = $0 + ($$0 << 5) | 0; - $6 = $0 + ($$0 << 5) + 8 | 0; - $7 = $0 + ($$0 << 5) + 16 | 0; - $$028 = 0; - while (1) { - if (($$028 | 0) == 4) break; - HEAPF64[$4 + ($$0 << 5) + ($$028 << 3) >> 3] = +HEAPF64[$5 >> 3] * +HEAPF64[$3 + ($$028 << 3) >> 3] + +HEAPF64[$6 >> 3] * +HEAPF64[$3 + 32 + ($$028 << 3) >> 3] + +HEAPF64[$7 >> 3] * +HEAPF64[$3 + 64 + ($$028 << 3) >> 3]; - $$028 = $$028 + 1 | 0; + if (($__i$0 | 0) >= ($__n | 0)) break; + $0 = HEAP32[$__ninp_ >> 2] | 0; + $1 = HEAP32[$__einp_ >> 2] | 0; + if ($0 >>> 0 < $1 >>> 0) { + $sub$ptr$sub = $1 - $0 | 0; + $sub = $__n - $__i$0 | 0; + $4 = ($sub | 0) < ($sub$ptr$sub | 0) ? $sub : $sub$ptr$sub; + __ZNSt3__211char_traitsIcE4copyEPcPKcm($__s$addr$0, $0, $4) | 0; + HEAP32[$__ninp_ >> 2] = (HEAP32[$__ninp_ >> 2] | 0) + $4; + $$pn = $4; + $__s$addr$1 = $__s$addr$0 + $4 | 0; + } else { + $call11 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$this >> 2] | 0) + 40 >> 2] & 127]($this) | 0; + if (($call11 | 0) == -1) break; + $call14 = __ZNSt3__211char_traitsIcE12to_char_typeEi($call11) | 0; + HEAP8[$__s$addr$0 >> 0] = $call14; + $$pn = 1; + $__s$addr$1 = $__s$addr$0 + 1 | 0; } - $26 = $4 + ($$0 << 5) + 24 | 0; - HEAPF64[$26 >> 3] = +HEAPF64[$0 + ($$0 << 5) + 24 >> 3] + +HEAPF64[$26 >> 3]; - $$0 = $$0 + 1 | 0; + $__i$0 = $$pn + $__i$0 | 0; + $__s$addr$0 = $__s$addr$1; } - $$1 = 0; - while (1) { - if (($$1 | 0) == 3) break; - $$129 = 0; + return $__i$0 | 0; +} + +function _EX($input, $mean) { + $input = $input | 0; + $mean = $mean | 0; + var $0 = 0, $1 = 0, $arrayidx29 = 0, $conv = 0.0, $i$0 = 0, $i$1 = 0, $i$2 = 0, $j$0 = 0, $m$0 = 0, $m$1 = 0, $retval$0 = 0, $v$0 = 0; + $0 = HEAP32[$input + 4 >> 2] | 0; + $1 = HEAP32[$input + 8 >> 2] | 0; + L1 : do if (!(($0 | 0) < 1 | ($1 | 0) < 1) ? (HEAP32[$mean + 4 >> 2] | 0) == ($1 | 0) : 0) { + $i$0 = 0; + while (1) { + if (($i$0 | 0) == ($1 | 0)) break; + HEAPF64[(HEAP32[$mean >> 2] | 0) + ($i$0 << 3) >> 3] = 0.0; + $i$0 = $i$0 + 1 | 0; + } + $i$1 = 0; + $m$0 = HEAP32[$input >> 2] | 0; + while (1) { + if (($i$1 | 0) == ($0 | 0)) break; + $j$0 = 0; + $m$1 = $m$0; + $v$0 = HEAP32[$mean >> 2] | 0; + while (1) { + if (($j$0 | 0) == ($1 | 0)) break; + HEAPF64[$v$0 >> 3] = +HEAPF64[$m$1 >> 3] + +HEAPF64[$v$0 >> 3]; + $j$0 = $j$0 + 1 | 0; + $m$1 = $m$1 + 8 | 0; + $v$0 = $v$0 + 8 | 0; + } + $i$1 = $i$1 + 1 | 0; + $m$0 = $m$0 + ($1 << 3) | 0; + } + $conv = +($0 | 0); + $i$2 = 0; while (1) { - if (($$129 | 0) == 4) break; - HEAPF64[$0 + ($$1 << 5) + ($$129 << 3) >> 3] = +HEAPF64[$4 + ($$1 << 5) + ($$129 << 3) >> 3]; - $$129 = $$129 + 1 | 0; + if (($i$2 | 0) == ($1 | 0)) { + $retval$0 = 0; + break L1; + } + $arrayidx29 = (HEAP32[$mean >> 2] | 0) + ($i$2 << 3) | 0; + HEAPF64[$arrayidx29 >> 3] = +HEAPF64[$arrayidx29 >> 3] / $conv; + $i$2 = $i$2 + 1 | 0; } - $$1 = $$1 + 1 | 0; + } else $retval$0 = -1; while (0); + return $retval$0 | 0; +} + +function __ZNSt3__26vectorIN6vision5ImageENS_9allocatorIS2_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS2_RS4_EE($this, $__v) { + $this = $this | 0; + $__v = $__v | 0; + var $0 = 0, $4 = 0, $6 = 0, $8 = 0, $__begin_2 = 0, $__end1$addr$0$i = 0, $__end_ = 0, $__end_6 = 0, $__value_$i$i$i = 0, $__value_$i$i$i6 = 0, $incdec$ptr$i = 0; + $0 = HEAP32[$this >> 2] | 0; + $__end_ = $this + 4 | 0; + $__begin_2 = $__v + 4 | 0; + $__end1$addr$0$i = HEAP32[$__end_ >> 2] | 0; + while (1) { + if (($__end1$addr$0$i | 0) == ($0 | 0)) break; + $incdec$ptr$i = $__end1$addr$0$i + -32 | 0; + __ZN6vision5ImageC2ERKS0_((HEAP32[$__begin_2 >> 2] | 0) + -32 | 0, $incdec$ptr$i); + HEAP32[$__begin_2 >> 2] = (HEAP32[$__begin_2 >> 2] | 0) + -32; + $__end1$addr$0$i = $incdec$ptr$i; } - STACKTOP = sp; - return 0; + $4 = HEAP32[$this >> 2] | 0; + HEAP32[$this >> 2] = HEAP32[$__begin_2 >> 2]; + HEAP32[$__begin_2 >> 2] = $4; + $__end_6 = $__v + 8 | 0; + $6 = HEAP32[$__end_ >> 2] | 0; + HEAP32[$__end_ >> 2] = HEAP32[$__end_6 >> 2]; + HEAP32[$__end_6 >> 2] = $6; + $__value_$i$i$i6 = $this + 8 | 0; + $__value_$i$i$i = $__v + 12 | 0; + $8 = HEAP32[$__value_$i$i$i6 >> 2] | 0; + HEAP32[$__value_$i$i$i6 >> 2] = HEAP32[$__value_$i$i$i >> 2]; + HEAP32[$__value_$i$i$i >> 2] = $8; + HEAP32[$__v >> 2] = HEAP32[$__begin_2 >> 2]; + return; +} + +function __ZN6vision21HoughSimilarityVoting4initEffffiiii($this, $minX, $maxX, $minY, $maxY, $numXBins, $numYBins, $numAngleBins, $numScaleBins) { + $this = $this | 0; + $minX = +$minX; + $maxX = +$maxX; + $minY = +$minY; + $maxY = +$maxY; + $numXBins = $numXBins | 0; + $numYBins = $numYBins | 0; + $numAngleBins = $numAngleBins | 0; + $numScaleBins = $numScaleBins | 0; + var $mul = 0, $mul8 = 0; + HEAPF32[$this + 20 >> 2] = $minX; + HEAPF32[$this + 24 >> 2] = $maxX; + HEAPF32[$this + 28 >> 2] = $minY; + HEAPF32[$this + 32 >> 2] = $maxY; + HEAPF32[$this + 36 >> 2] = -1.0; + HEAPF32[$this + 40 >> 2] = 1.0; + HEAP32[$this + 52 >> 2] = $numXBins; + HEAP32[$this + 56 >> 2] = $numYBins; + HEAP32[$this + 60 >> 2] = $numAngleBins; + HEAP32[$this + 64 >> 2] = $numScaleBins; + $mul = Math_imul($numYBins, $numXBins) | 0; + HEAP32[$this + 84 >> 2] = $mul; + $mul8 = Math_imul($mul, $numAngleBins) | 0; + HEAP32[$this + 88 >> 2] = $mul8; + HEAPF32[$this + 44 >> 2] = 10.0; + HEAPF32[$this + 48 >> 2] = .4342944622039795; + HEAP8[$this + 16 >> 0] = ($numYBins | $numXBins | 0) == 0 & 1; + __ZNSt3__212__hash_tableINS_17__hash_value_typeIjjEENS_22__unordered_map_hasherIjS2_NS_4hashIjEELb1EEENS_21__unordered_map_equalIjS2_NS_8equal_toIjEELb1EEENS_9allocatorIS2_EEE5clearEv($this + 92 | 0); + return; } function _addMarker($id, $patt_name) { @@ -83038,12 +86272,12 @@ function _addMarker($id, $patt_name) { $vararg_buffer = sp; $id$addr = sp + 4 | 0; HEAP32[$id$addr >> 2] = $id; - do if (__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(65260, $id$addr) | 0) { - $call7 = __ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(65260, $id$addr) | 0; + do if (__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(66108, $id$addr) | 0) { + $call7 = __ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(66108, $id$addr) | 0; if ((HEAP8[$patt_name + 11 >> 0] | 0) < 0) $cond$i$i$i = HEAP32[$patt_name >> 2] | 0; else $cond$i$i$i = $patt_name; - $patt_id = $call7 + 340 | 0; + $patt_id = $call7 + 364 | 0; if (!(__ZL10loadMarkerPKcPiP8ARHandlePP12ARPattHandle($cond$i$i$i, $patt_id, $call7 + 220 | 0) | 0)) { - _arLog(0, 3, 45305, $vararg_buffer); + _arLog(0, 3, 46147, $vararg_buffer); $retval$1 = -1; break; } else { @@ -83101,43 +86335,33 @@ function _memset(ptr, value, num) { return end - num | 0; } -function __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9push_backEw($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $$018 = 0, $$019 = 0, $$pn = 0, $19 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, label = 0, sp = 0; +function __ZNK12_GLOBAL__N_116itanium_demangle13EnclosingExpr9printLeftERNS_12OutputStreamE($this, $S) { + $this = $this | 0; + $S = $S | 0; + var $0 = 0, $11 = 0, $16 = 0, $17 = 0, $5 = 0, $6 = 0, $agg$tmp = 0, $agg$tmp2 = 0, $tmpcast3$byval_copy = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $2 = sp; - $3 = sp + 4 | 0; - HEAP32[$2 >> 2] = $1; - $4 = $0 + 8 | 0; - $5 = $4 + 3 | 0; - $6 = HEAP8[$5 >> 0] | 0; - $7 = $6 << 24 >> 24 < 0; - if ($7) { - $$018 = HEAP32[$0 + 4 >> 2] | 0; - $$019 = (HEAP32[$4 >> 2] & 2147483647) + -1 | 0; - } else { - $$018 = $6 & 255; - $$019 = 1; - } - if (($$018 | 0) == ($$019 | 0)) { - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9__grow_byEmmmmmm($0, $$019, 1, $$019, $$019, 0, 0); - if ((HEAP8[$5 >> 0] | 0) < 0) label = 8; else label = 7; - } else if ($7) label = 8; else label = 7; - if ((label | 0) == 7) { - HEAP8[$5 >> 0] = $$018 + 1; - $$pn = $0; - } else if ((label | 0) == 8) { - $19 = HEAP32[$0 >> 2] | 0; - HEAP32[$0 + 4 >> 2] = $$018 + 1; - $$pn = $19; - } - $$0 = $$pn + ($$018 << 2) | 0; - __ZNSt3__211char_traitsIwE6assignERwRKw($$0, $2); - HEAP32[$3 >> 2] = 0; - __ZNSt3__211char_traitsIwE6assignERwRKw($$0 + 4 | 0, $3); + STACKTOP = STACKTOP + 32 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); + $tmpcast3$byval_copy = sp + 16 | 0; + $agg$tmp = sp + 8 | 0; + $agg$tmp2 = sp; + $0 = $this + 8 | 0; + $5 = HEAP32[$0 + 4 >> 2] | 0; + $6 = $agg$tmp; + HEAP32[$6 >> 2] = HEAP32[$0 >> 2]; + HEAP32[$6 + 4 >> 2] = $5; + HEAP32[$tmpcast3$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$tmpcast3$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $tmpcast3$byval_copy); + __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(HEAP32[$this + 16 >> 2] | 0, $S); + $11 = $this + 20 | 0; + $16 = HEAP32[$11 + 4 >> 2] | 0; + $17 = $agg$tmp2; + HEAP32[$17 >> 2] = HEAP32[$11 >> 2]; + HEAP32[$17 + 4 >> 2] = $16; + HEAP32[$tmpcast3$byval_copy >> 2] = HEAP32[$agg$tmp2 >> 2]; + HEAP32[$tmpcast3$byval_copy + 4 >> 2] = HEAP32[$agg$tmp2 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $tmpcast3$byval_copy); STACKTOP = sp; return; } @@ -83162,135 +86386,191 @@ function __ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22_ return $retval$0 | 0; } -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle15ClosureTypeNameEJRNS2_9NodeArrayERNS_10StringViewEEEEPT_DpOT0_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $11 = 0, $12 = 0, $16 = 0, $21 = 0, $22 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $tmpcast$byval_copy = 0, $tmpcast3$byval_copy = 0, sp = 0; +function __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, $N) { + $this = $this | 0; + $N = $N | 0; + var $$pre = 0, $$pre6 = 0, $0 = 0, $1 = 0, $2 = 0, $3 = 0, $BlockList = 0, $Current = 0, $Current7$phi$trans$insert = 0, $Current7$pre$phiZ2D = 0, $add2 = 0, $add8$pre$phiZ2D = 0, $and = 0, $retval$0 = 0, label = 0; + $and = $N + 15 & -16; + $BlockList = $this + 4096 | 0; + $0 = HEAP32[$BlockList >> 2] | 0; + $Current = $0 + 4 | 0; + $1 = HEAP32[$Current >> 2] | 0; + $add2 = $1 + $and | 0; + do if ($add2 >>> 0 > 4087) if ($and >>> 0 > 4088) { + $retval$0 = __ZN12_GLOBAL__N_120BumpPointerAllocator15allocateMassiveEm($this, $and) | 0; + break; + } else { + __ZN12_GLOBAL__N_120BumpPointerAllocator4growEv($this); + $$pre = HEAP32[$BlockList >> 2] | 0; + $Current7$phi$trans$insert = $$pre + 4 | 0; + $$pre6 = HEAP32[$Current7$phi$trans$insert >> 2] | 0; + $2 = $$pre; + $3 = $$pre6; + $Current7$pre$phiZ2D = $Current7$phi$trans$insert; + $add8$pre$phiZ2D = $$pre6 + $and | 0; + label = 5; + break; + } else { + $2 = $0; + $3 = $1; + $Current7$pre$phiZ2D = $Current; + $add8$pre$phiZ2D = $add2; + label = 5; + } while (0); + if ((label | 0) == 5) { + HEAP32[$Current7$pre$phiZ2D >> 2] = $add8$pre$phiZ2D; + $retval$0 = $2 + 8 + $3 | 0; + } + return $retval$0 | 0; +} + +function __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm8EEC2EOS4_($this, $Other) { + $this = $this | 0; + $Other = $Other | 0; + var $1 = 0, $add$ptr = 0, $call2 = 0, $sub$ptr$sub$i$i = 0; + __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm8EEC2Ev($this); + if (__ZNK12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm8EE8isInlineEv($Other) | 0) { + $call2 = __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm8EE5beginEv($Other) | 0; + $sub$ptr$sub$i$i = (__ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm8EE3endEv($Other) | 0) - $call2 | 0; + if ($sub$ptr$sub$i$i | 0) _memmove(HEAP32[$this >> 2] | 0, $call2 | 0, $sub$ptr$sub$i$i | 0) | 0; + $1 = HEAP32[$this >> 2] | 0; + $add$ptr = $1 + ((__ZNK12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm8EE4sizeEv($Other) | 0) << 2) | 0; + HEAP32[$this + 4 >> 2] = $add$ptr; + __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm8EE5clearEv($Other); + } else { + HEAP32[$this >> 2] = HEAP32[$Other >> 2]; + HEAP32[$this + 4 >> 2] = HEAP32[$Other + 4 >> 2]; + HEAP32[$this + 8 >> 2] = HEAP32[$Other + 8 >> 2]; + __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm8EE11clearInlineEv($Other); + } + return; +} + +function __ZN6vision16Quadratic3PointsIfEEbRT_S2_S2_PKS1_S4_S4_($A, $B, $C, $p1, $p2, $p3) { + $A = $A | 0; + $B = $B | 0; + $C = $C | 0; + $p1 = $p1 | 0; + $p2 = $p2 | 0; + $p3 = $p3 | 0; + var $0 = 0.0, $1 = 0.0, $2 = 0.0, $4 = 0.0, $arrayidx25 = 0, $arrayidx27 = 0, $div37 = 0.0, $mul = 0.0, $mul11 = 0.0, $mul20 = 0.0, $retval$0 = 0, $storemerge = 0.0, $sub31 = 0.0, $sub4 = 0.0, $sub7 = 0.0; + $0 = +HEAPF32[$p3 >> 2]; + $1 = +HEAPF32[$p2 >> 2]; + $2 = +HEAPF32[$p1 >> 2]; + $sub4 = $0 - $2; + $mul = ($0 - $1) * $sub4; + $sub7 = $2 - $1; + $mul11 = $sub7 * $sub4; + if ($sub7 == 0.0 | ($mul == 0.0 | $mul11 == 0.0)) { + HEAPF32[$A >> 2] = 0.0; + HEAPF32[$B >> 2] = 0.0; + $retval$0 = 0; + $storemerge = 0.0; + } else { + $mul20 = $2 * $2; + $arrayidx25 = $p2 + 4 | 0; + $4 = +HEAPF32[$arrayidx25 >> 2]; + $arrayidx27 = $p1 + 4 | 0; + $sub31 = (+HEAPF32[$p3 + 4 >> 2] - $4) / $mul - (+HEAPF32[$arrayidx27 >> 2] - $4) / $mul11; + HEAPF32[$A >> 2] = $sub31; + $div37 = (+HEAPF32[$arrayidx27 >> 2] - +HEAPF32[$arrayidx25 >> 2] + ($1 * $1 - $mul20) * $sub31) / $sub7; + HEAPF32[$B >> 2] = $div37; + $retval$0 = 1; + $storemerge = +HEAPF32[$arrayidx27 >> 2] - $mul20 * +HEAPF32[$A >> 2] - $div37 * +HEAPF32[$p1 >> 2]; + } + HEAPF32[$C >> 2] = $storemerge; + return $retval$0 | 0; +} + +function __ZN6vision11ScopedTimerD2Ev($this) { + $this = $this | 0; + var $call = 0, $call10 = 0.0, $cond$i$i$i = 0, $cond$i$i$i8 = 0, $mStr = 0, $ref$tmp = 0, $vararg_buffer = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 48 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); + $vararg_buffer = sp; + $ref$tmp = sp + 24 | 0; + __ZN6vision5Timer4stopEv($this); + $call = __ZN6vision6Logger11getInstanceEv() | 0; + __ZN6vision15get_pretty_timeEv($ref$tmp); + $cond$i$i$i = (HEAP8[$ref$tmp + 11 >> 0] | 0) < 0 ? HEAP32[$ref$tmp >> 2] | 0 : $ref$tmp; + $mStr = $this + 16 | 0; + if ((HEAP8[$mStr + 11 >> 0] | 0) < 0) $cond$i$i$i8 = HEAP32[$mStr >> 2] | 0; else $cond$i$i$i8 = $mStr; + $call10 = +__ZNK6vision5Timer24duration_in_millisecondsEv($this); + HEAP32[$vararg_buffer >> 2] = 39923; + HEAP32[$vararg_buffer + 4 >> 2] = $cond$i$i$i; + HEAP32[$vararg_buffer + 8 >> 2] = 39931; + HEAP32[$vararg_buffer + 12 >> 2] = $cond$i$i$i8; + HEAPF64[$vararg_buffer + 16 >> 3] = $call10; + __ZN6vision6Logger5writeENS_19LoggerPriorityLevelEPKcz($call, 8, 39896, $vararg_buffer); + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($ref$tmp); + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($mStr); + STACKTOP = sp; + return; +} + +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle10VectorTypeEJRPNS2_4NodeERNS_10StringViewEEEEPT_DpOT0_($this, $args, $args1) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + var $0 = 0, $1 = 0, $6 = 0, $7 = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, $agg$tmp5 = 0, $call = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 32 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $tmpcast3$byval_copy = sp + 24 | 0; - $tmpcast$byval_copy = sp + 16 | 0; - $3 = sp + 8 | 0; - $4 = sp; - $5 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 24) | 0; - $6 = $1; - $11 = HEAP32[$6 + 4 >> 2] | 0; - $12 = $3; - HEAP32[$12 >> 2] = HEAP32[$6 >> 2]; - HEAP32[$12 + 4 >> 2] = $11; - $16 = $2; - $21 = HEAP32[$16 + 4 >> 2] | 0; - $22 = $4; - HEAP32[$22 >> 2] = HEAP32[$16 >> 2]; - HEAP32[$22 + 4 >> 2] = $21; - HEAP32[$tmpcast$byval_copy >> 2] = HEAP32[$3 >> 2]; - HEAP32[$tmpcast$byval_copy + 4 >> 2] = HEAP32[$3 + 4 >> 2]; - HEAP32[$tmpcast3$byval_copy >> 2] = HEAP32[$4 >> 2]; - HEAP32[$tmpcast3$byval_copy + 4 >> 2] = HEAP32[$4 + 4 >> 2]; - __ZN12_GLOBAL__N_116itanium_demangle15ClosureTypeNameC2ENS0_9NodeArrayENS_10StringViewE($5, $tmpcast$byval_copy, $tmpcast3$byval_copy); - STACKTOP = sp; - return $5 | 0; -} - -function __ZNK12_GLOBAL__N_116itanium_demangle12TemplateArgs9printLeftERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$byval_copy2 = 0, $2 = 0, $3 = 0, $4 = 0, sp = 0; + $agg$tmp$byval_copy = sp + 16 | 0; + $agg$tmp = sp + 8 | 0; + $agg$tmp5 = sp; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 20) | 0; + $0 = HEAP32[$args >> 2] | 0; + $1 = $args1; + $6 = HEAP32[$1 + 4 >> 2] | 0; + $7 = $agg$tmp5; + HEAP32[$7 >> 2] = HEAP32[$1 >> 2]; + HEAP32[$7 + 4 >> 2] = $6; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp5 >> 2]; + HEAP32[$agg$tmp$byval_copy + 4 >> 2] = HEAP32[$agg$tmp5 + 4 >> 2]; + __ZN12_GLOBAL__N_116itanium_demangle12NodeOrStringC2ENS_10StringViewE($agg$tmp, $agg$tmp$byval_copy); + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_116itanium_demangle10VectorTypeC2EPKNS0_4NodeENS0_12NodeOrStringE($call, $0, $agg$tmp$byval_copy); + STACKTOP = sp; + return $call | 0; +} + +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle10VectorTypeEJRPNS2_4NodeENS_10StringViewEEEEPT_DpOT0_($this, $args, $args1) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + var $0 = 0, $1 = 0, $6 = 0, $7 = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, $agg$tmp5 = 0, $call = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 32 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $$byval_copy2 = sp + 24 | 0; - $2 = sp + 16 | 0; - $3 = sp + 8 | 0; - $4 = sp; - __ZN12_GLOBAL__N_110StringViewC2EPKc($2, 52150); - HEAP32[$$byval_copy2 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy2 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy2); - __ZNK12_GLOBAL__N_116itanium_demangle9NodeArray14printWithCommaERNS_12OutputStreamE($0 + 8 | 0, $1); - if ((__ZNK12_GLOBAL__N_112OutputStream4backEv($1) | 0) << 24 >> 24 == 62) { - __ZN12_GLOBAL__N_110StringViewC2EPKc($3, 51966); - HEAP32[$$byval_copy2 >> 2] = HEAP32[$3 >> 2]; - HEAP32[$$byval_copy2 + 4 >> 2] = HEAP32[$3 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy2); - } - __ZN12_GLOBAL__N_110StringViewC2EPKc($4, 52043); - HEAP32[$$byval_copy2 >> 2] = HEAP32[$4 >> 2]; - HEAP32[$$byval_copy2 + 4 >> 2] = HEAP32[$4 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy2); - STACKTOP = sp; - return; -} - -function __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9__grow_byEmmmmmm($0, $1, $2, $3, $4, $5, $6) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - $6 = $6 | 0; - var $$sroa$speculated = 0, $15 = 0, $16 = 0, $21 = 0, $24 = 0, $25 = 0, $27 = 0, $29 = 0, $35 = 0, $9 = 0; - if ((1073741807 - $1 | 0) >>> 0 < $2 >>> 0) __ZNKSt3__221__basic_string_commonILb1EE20__throw_length_errorEv($0); - $9 = $0 + 8 | 0; - if ((HEAP8[$9 + 3 >> 0] | 0) < 0) $27 = HEAP32[$0 >> 2] | 0; else $27 = $0; - if ($1 >>> 0 < 536870887) { - $15 = $2 + $1 | 0; - $16 = $1 << 1; - $$sroa$speculated = $15 >>> 0 < $16 >>> 0 ? $16 : $15; - $21 = $$sroa$speculated >>> 0 < 2 ? 2 : $$sroa$speculated + 4 & -4; - if ($21 >>> 0 > 1073741823) _abort(); else $24 = $21; - } else $24 = 1073741807; - $25 = __Znwm($24 << 2) | 0; - if ($4 | 0) __ZNSt3__211char_traitsIwE4copyEPwPKwm($25, $27, $4) | 0; - $29 = $3 - $5 - $4 | 0; - if ($29 | 0) __ZNSt3__211char_traitsIwE4copyEPwPKwm($25 + ($4 << 2) + ($6 << 2) | 0, $27 + ($4 << 2) + ($5 << 2) | 0, $29) | 0; - $35 = $1 + 1 | 0; - if (($35 | 0) != 2) __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($27, $35 << 2); - HEAP32[$0 >> 2] = $25; - HEAP32[$9 >> 2] = $24 | -2147483648; - return; -} - -function __ZNK12_GLOBAL__N_116itanium_demangle10BracedExpr9printLeftERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$byval_copy = 0, $10 = 0, $11 = 0, $13 = 0, $2 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy = sp + 8 | 0; - $2 = sp; - if (!(HEAP8[$0 + 16 >> 0] | 0)) { - __ZN12_GLOBAL__N_112OutputStreampLEc($1, 46); - __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(HEAP32[$0 + 8 >> 2] | 0, $1); - } else { - __ZN12_GLOBAL__N_112OutputStreampLEc($1, 91); - __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(HEAP32[$0 + 8 >> 2] | 0, $1); - __ZN12_GLOBAL__N_112OutputStreampLEc($1, 93); - } - $10 = $0 + 12 | 0; - $11 = HEAP32[$10 >> 2] | 0; - if (((__ZNK12_GLOBAL__N_116itanium_demangle4Node7getKindEv($11) | 0) + -65 & 255) < 2) $13 = $11; else { - __ZN12_GLOBAL__N_110StringViewC2EPKc($2, 53404); - HEAP32[$$byval_copy >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy); - $13 = HEAP32[$10 >> 2] | 0; - } - __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE($13, $1); + $agg$tmp$byval_copy = sp + 16 | 0; + $agg$tmp = sp + 8 | 0; + $agg$tmp5 = sp; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 20) | 0; + $0 = HEAP32[$args >> 2] | 0; + $1 = $args1; + $6 = HEAP32[$1 + 4 >> 2] | 0; + $7 = $agg$tmp5; + HEAP32[$7 >> 2] = HEAP32[$1 >> 2]; + HEAP32[$7 + 4 >> 2] = $6; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp5 >> 2]; + HEAP32[$agg$tmp$byval_copy + 4 >> 2] = HEAP32[$agg$tmp5 + 4 >> 2]; + __ZN12_GLOBAL__N_116itanium_demangle12NodeOrStringC2ENS_10StringViewE($agg$tmp, $agg$tmp$byval_copy); + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_116itanium_demangle10VectorTypeC2EPKNS0_4NodeENS0_12NodeOrStringE($call, $0, $agg$tmp$byval_copy); STACKTOP = sp; - return; + return $call | 0; } -function _getDeltaS_181($H, $dU, $J_U_H, $n) { +function _getDeltaS_185($H, $dU, $J_U_H, $n) { $H = $H | 0; $dU = $dU | 0; $J_U_H = $J_U_H | 0; $n = $n | 0; - var $call = 0, $call10 = 0, $call8 = 0, $matH = 0, $matJ = 0, $matU = 0, $ret$0 = 0, $ret$1 = 0, $ret$2 = 0, $ret$3 = 0, sp = 0; + var $call = 0, $call12 = 0, $call8 = 0, $matH = 0, $matJ = 0, $matU = 0, $ret$0 = 0, $ret$1 = 0, $ret$2 = 0, $ret$3 = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 48 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); @@ -83310,13 +86590,13 @@ function _getDeltaS_181($H, $dU, $J_U_H, $n) { if (!$call) $ret$3 = -1; else { $call8 = _arMatrixAllocMulf($call, $matJ) | 0; if (!$call8) $ret$2 = -1; else { - $call10 = _arMatrixAllocMulf($call, $matU) | 0; - if (!$call10) $ret$1 = -1; else { + $call12 = _arMatrixAllocMulf($call, $matU) | 0; + if (!$call12) $ret$1 = -1; else { if ((_arMatrixSelfInvf($call8) | 0) < 0) $ret$0 = -1; else { - _arMatrixMulf($matH, $call8, $call10) | 0; + _arMatrixMulf($matH, $call8, $call12) | 0; $ret$0 = 0; } - _arMatrixFreef($call10) | 0; + _arMatrixFreef($call12) | 0; $ret$1 = $ret$0; } _arMatrixFreef($call8) | 0; @@ -83329,205 +86609,312 @@ function _getDeltaS_181($H, $dU, $J_U_H, $n) { return $ret$3 | 0; } -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle16FunctionEncodingEJRPNS2_4NodeES6_NS2_9NodeArrayES6_RNS2_10QualifiersERNS2_15FunctionRefQualEEEEPT_DpOT0_($0, $1, $2, $3, $4, $5, $6) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - $6 = $6 | 0; - var $10 = 0, $11 = 0, $16 = 0, $17 = 0, $21 = 0, $22 = 0, $23 = 0, $7 = 0, $8 = 0, $9 = 0, $tmpcast$byval_copy = 0, sp = 0; +function __ZNSt3__29__num_getIwE19__stage2_float_prepERNS_8ios_baseEPwRwS5_($agg$result, $__iob, $__atoms, $__decimal_point, $__thousands_sep) { + $agg$result = $agg$result | 0; + $__iob = $__iob | 0; + $__atoms = $__atoms | 0; + $__decimal_point = $__decimal_point | 0; + $__thousands_sep = $__thousands_sep | 0; + var $__loc = 0, $call$i = 0, $call$i11 = 0, $call$i5 = 0, $call$i8 = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $tmpcast$byval_copy = sp + 8 | 0; - $7 = sp; - $8 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 36) | 0; - $9 = HEAP32[$1 >> 2] | 0; - $10 = HEAP32[$2 >> 2] | 0; - $11 = $3; - $16 = HEAP32[$11 + 4 >> 2] | 0; - $17 = $7; - HEAP32[$17 >> 2] = HEAP32[$11 >> 2]; - HEAP32[$17 + 4 >> 2] = $16; - $21 = HEAP32[$4 >> 2] | 0; - $22 = HEAP32[$5 >> 2] | 0; - $23 = HEAP8[$6 >> 0] | 0; - HEAP32[$tmpcast$byval_copy >> 2] = HEAP32[$7 >> 2]; - HEAP32[$tmpcast$byval_copy + 4 >> 2] = HEAP32[$7 + 4 >> 2]; - __ZN12_GLOBAL__N_116itanium_demangle16FunctionEncodingC2EPKNS0_4NodeES4_NS0_9NodeArrayES4_NS0_10QualifiersENS0_15FunctionRefQualE($8, $9, $10, $tmpcast$byval_copy, $21, $22, $23); + $__loc = sp; + __ZNKSt3__28ios_base6getlocEv($__loc, $__iob); + $call$i = __ZNKSt3__26locale9use_facetERNS0_2idE($__loc, 67392) | 0; + FUNCTION_TABLE_iiiii[HEAP32[(HEAP32[$call$i >> 2] | 0) + 48 >> 2] & 15]($call$i, 12928, 12960, $__atoms) | 0; + $call$i5 = __ZNKSt3__26locale9use_facetERNS0_2idE($__loc, 67400) | 0; + $call$i8 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$call$i5 >> 2] | 0) + 12 >> 2] & 127]($call$i5) | 0; + HEAP32[$__decimal_point >> 2] = $call$i8; + $call$i11 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$call$i5 >> 2] | 0) + 16 >> 2] & 127]($call$i5) | 0; + HEAP32[$__thousands_sep >> 2] = $call$i11; + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$call$i5 >> 2] | 0) + 20 >> 2] & 255]($agg$result, $call$i5); + __ZNSt3__26localeD2Ev($__loc); STACKTOP = sp; - return $8 | 0; + return; } -function __ZNK12_GLOBAL__N_116itanium_demangle10DeleteExpr9printLeftERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$byval_copy2 = 0, $2 = 0, $3 = 0, $4 = 0, sp = 0; +function __ZNSt3__29__num_getIcE19__stage2_float_prepERNS_8ios_baseEPcRcS5_($agg$result, $__iob, $__atoms, $__decimal_point, $__thousands_sep) { + $agg$result = $agg$result | 0; + $__iob = $__iob | 0; + $__atoms = $__atoms | 0; + $__decimal_point = $__decimal_point | 0; + $__thousands_sep = $__thousands_sep | 0; + var $__loc = 0, $call$i = 0, $call$i11 = 0, $call$i5 = 0, $call$i8 = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $$byval_copy2 = sp + 24 | 0; - $2 = sp + 16 | 0; - $3 = sp + 8 | 0; - $4 = sp; - if (HEAP8[$0 + 12 >> 0] | 0) { - __ZN12_GLOBAL__N_110StringViewC2EPKc($2, 53698); - HEAP32[$$byval_copy2 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy2 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy2); - } - __ZN12_GLOBAL__N_110StringViewC2EPKc($3, 54494); - HEAP32[$$byval_copy2 >> 2] = HEAP32[$3 >> 2]; - HEAP32[$$byval_copy2 + 4 >> 2] = HEAP32[$3 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy2); - if (HEAP8[$0 + 13 >> 0] | 0) { - __ZN12_GLOBAL__N_110StringViewC2EPKc($4, 54501); - HEAP32[$$byval_copy2 >> 2] = HEAP32[$4 >> 2]; - HEAP32[$$byval_copy2 + 4 >> 2] = HEAP32[$4 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy2); - } - __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(HEAP32[$0 + 8 >> 2] | 0, $1); + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $__loc = sp; + __ZNKSt3__28ios_base6getlocEv($__loc, $__iob); + $call$i = __ZNKSt3__26locale9use_facetERNS0_2idE($__loc, 67360) | 0; + FUNCTION_TABLE_iiiii[HEAP32[(HEAP32[$call$i >> 2] | 0) + 32 >> 2] & 15]($call$i, 12928, 12960, $__atoms) | 0; + $call$i5 = __ZNKSt3__26locale9use_facetERNS0_2idE($__loc, 67376) | 0; + $call$i8 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$call$i5 >> 2] | 0) + 12 >> 2] & 127]($call$i5) | 0; + HEAP8[$__decimal_point >> 0] = $call$i8; + $call$i11 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$call$i5 >> 2] | 0) + 16 >> 2] & 127]($call$i5) | 0; + HEAP8[$__thousands_sep >> 0] = $call$i11; + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$call$i5 >> 2] | 0) + 20 >> 2] & 255]($agg$result, $call$i5); + __ZNSt3__26localeD2Ev($__loc); STACKTOP = sp; return; } -function _icpGetMat_from_Q($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $12 = 0, $16 = 0, $3 = 0.0, $4 = 0.0, $40 = 0.0, $5 = 0.0, $6 = 0.0, $7 = 0.0, $72 = 0.0; - $3 = +HEAPF64[$1 + 24 >> 3]; - $4 = +Math_cos(+$3); - $5 = 1.0 - $4; - $6 = +Math_sin(+$3); - $7 = +HEAPF64[$1 >> 3]; - HEAPF64[$0 >> 3] = $4 + $7 * $7 * $5; - $12 = $1 + 8 | 0; - $16 = $1 + 16 | 0; - HEAPF64[$0 + 8 >> 3] = $5 * (+HEAPF64[$1 >> 3] * +HEAPF64[$12 >> 3]) - $6 * +HEAPF64[$16 >> 3]; - HEAPF64[$0 + 16 >> 3] = $5 * (+HEAPF64[$1 >> 3] * +HEAPF64[$16 >> 3]) + $6 * +HEAPF64[$12 >> 3]; - HEAPF64[$0 + 24 >> 3] = +HEAPF64[$1 + 32 >> 3]; - HEAPF64[$0 + 32 >> 3] = $5 * (+HEAPF64[$12 >> 3] * +HEAPF64[$1 >> 3]) + $6 * +HEAPF64[$16 >> 3]; - $40 = +HEAPF64[$12 >> 3]; - HEAPF64[$0 + 40 >> 3] = $4 + $5 * ($40 * $40); - HEAPF64[$0 + 48 >> 3] = $5 * (+HEAPF64[$12 >> 3] * +HEAPF64[$16 >> 3]) - $6 * +HEAPF64[$1 >> 3]; - HEAPF64[$0 + 56 >> 3] = +HEAPF64[$1 + 40 >> 3]; - HEAPF64[$0 + 64 >> 3] = $5 * (+HEAPF64[$16 >> 3] * +HEAPF64[$1 >> 3]) - $6 * +HEAPF64[$12 >> 3]; - HEAPF64[$0 + 72 >> 3] = $5 * (+HEAPF64[$16 >> 3] * +HEAPF64[$12 >> 3]) + $6 * +HEAPF64[$1 >> 3]; - $72 = +HEAPF64[$16 >> 3]; - HEAPF64[$0 + 80 >> 3] = $4 + $5 * ($72 * $72); - HEAPF64[$0 + 88 >> 3] = +HEAPF64[$1 + 48 >> 3]; - return; -} - -function __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $$018 = 0, $$019 = 0, $$pn = 0, $19 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, label = 0, sp = 0; +function __ZNSt3__211__stdoutbufIwE4syncEv($this) { + $this = $this | 0; + var $0 = 0, $__cv_ = 0, $__extbe = 0, $__extbuf = 0, $__file_ = 0, $__st_ = 0, $add$ptr = 0, $call$i = 0, $retval$2 = 0, $sub$ptr$rhs$cast = 0, $sub$ptr$sub = 0, label = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $2 = sp; - $3 = sp + 1 | 0; - HEAP8[$2 >> 0] = $1; - $4 = $0 + 11 | 0; - $5 = HEAP8[$4 >> 0] | 0; - $6 = $5 << 24 >> 24 < 0; - if ($6) { - $$018 = HEAP32[$0 + 4 >> 2] | 0; - $$019 = (HEAP32[$0 + 8 >> 2] & 2147483647) + -1 | 0; - } else { - $$018 = $5 & 255; - $$019 = 10; - } - if (($$018 | 0) == ($$019 | 0)) { - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9__grow_byEmmmmmm($0, $$019, 1, $$019, $$019, 0, 0); - if ((HEAP8[$4 >> 0] | 0) < 0) label = 8; else label = 7; - } else if ($6) label = 8; else label = 7; - if ((label | 0) == 7) { - HEAP8[$4 >> 0] = $$018 + 1; - $$pn = $0; - } else if ((label | 0) == 8) { - $19 = HEAP32[$0 >> 2] | 0; - HEAP32[$0 + 4 >> 2] = $$018 + 1; - $$pn = $19; + $__extbuf = sp + 8 | 0; + $__extbe = sp; + $__cv_ = $this + 36 | 0; + $__st_ = $this + 40 | 0; + $add$ptr = $__extbuf + 8 | 0; + $sub$ptr$rhs$cast = $__extbuf; + $__file_ = $this + 32 | 0; + L1 : while (1) { + $0 = HEAP32[$__cv_ >> 2] | 0; + $call$i = FUNCTION_TABLE_iiiiii[HEAP32[(HEAP32[$0 >> 2] | 0) + 20 >> 2] & 31]($0, HEAP32[$__st_ >> 2] | 0, $__extbuf, $add$ptr, $__extbe) | 0; + $sub$ptr$sub = (HEAP32[$__extbe >> 2] | 0) - $sub$ptr$rhs$cast | 0; + if ((_fwrite($__extbuf, 1, $sub$ptr$sub, HEAP32[$__file_ >> 2] | 0) | 0) != ($sub$ptr$sub | 0)) { + $retval$2 = -1; + break; + } + switch ($call$i | 0) { + case 1: + break; + case 2: + { + $retval$2 = -1; + break L1; + break; + } + default: + { + label = 4; + break L1; + } + } } - $$0 = $$pn + $$018 | 0; - __ZNSt3__211char_traitsIcE6assignERcRKc($$0, $2); - HEAP8[$3 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc($$0 + 1 | 0, $3); + if ((label | 0) == 4) $retval$2 = ((_fflush(HEAP32[$__file_ >> 2] | 0) | 0) != 0) << 31 >> 31; STACKTOP = sp; - return; + return $retval$2 | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E26resolveForwardTemplateRefsERNS5_9NameStateE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$017 = 0, $$2 = 0, $11 = 0, $14 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $8 = 0, $9 = 0, label = 0; - $3 = HEAP32[$1 + 12 >> 2] | 0; - $4 = $0 + 332 | 0; - $5 = __ZNK12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_24ForwardTemplateReferenceELm4EE4sizeEv($4) | 0; - $6 = $0 + 288 | 0; - $$017 = $3; - while (1) { - if ($$017 >>> 0 >= $5 >>> 0) { - label = 5; +function __ZNSt3__211__stdoutbufIcE4syncEv($this) { + $this = $this | 0; + var $0 = 0, $__cv_ = 0, $__extbe = 0, $__extbuf = 0, $__file_ = 0, $__st_ = 0, $add$ptr = 0, $call$i = 0, $retval$2 = 0, $sub$ptr$rhs$cast = 0, $sub$ptr$sub = 0, label = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $__extbuf = sp + 8 | 0; + $__extbe = sp; + $__cv_ = $this + 36 | 0; + $__st_ = $this + 40 | 0; + $add$ptr = $__extbuf + 8 | 0; + $sub$ptr$rhs$cast = $__extbuf; + $__file_ = $this + 32 | 0; + L1 : while (1) { + $0 = HEAP32[$__cv_ >> 2] | 0; + $call$i = FUNCTION_TABLE_iiiiii[HEAP32[(HEAP32[$0 >> 2] | 0) + 20 >> 2] & 31]($0, HEAP32[$__st_ >> 2] | 0, $__extbuf, $add$ptr, $__extbe) | 0; + $sub$ptr$sub = (HEAP32[$__extbe >> 2] | 0) - $sub$ptr$rhs$cast | 0; + if ((_fwrite($__extbuf, 1, $sub$ptr$sub, HEAP32[$__file_ >> 2] | 0) | 0) != ($sub$ptr$sub | 0)) { + $retval$2 = -1; break; } - $8 = __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_24ForwardTemplateReferenceELm4EEixEm($4, $$017) | 0; - $9 = HEAP32[$8 >> 2] | 0; - $11 = HEAP32[$9 + 8 >> 2] | 0; - if ($11 >>> 0 >= (__ZNK12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm8EE4sizeEv($6) | 0) >>> 0) { - $$2 = 1; + switch ($call$i | 0) { + case 1: break; + case 2: + { + $retval$2 = -1; + break L1; + break; + } + default: + { + label = 4; + break L1; + } } - $14 = __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm8EEixEm($6, $11) | 0; - HEAP32[$9 + 12 >> 2] = HEAP32[$14 >> 2]; - $$017 = $$017 + 1 | 0; } - if ((label | 0) == 5) { - __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_24ForwardTemplateReferenceELm4EE8dropBackEm($4, $3); - $$2 = 0; + if ((label | 0) == 4) $retval$2 = ((_fflush(HEAP32[$__file_ >> 2] | 0) | 0) != 0) << 31 >> 31; + STACKTOP = sp; + return $retval$2 | 0; +} + +function _h2v1_upsample($cinfo, $compptr, $input_data, $output_data_ptr) { + $cinfo = $cinfo | 0; + $compptr = $compptr | 0; + $input_data = $input_data | 0; + $output_data_ptr = $output_data_ptr | 0; + var $0 = 0, $1 = 0, $2 = 0, $3 = 0, $5 = 0, $6 = 0, $7 = 0, $add$ptr = 0, $inptr$016 = 0, $max_v_samp_factor = 0, $outptr$015 = 0, $output_width = 0, $outrow$018 = 0; + $0 = HEAP32[$output_data_ptr >> 2] | 0; + $max_v_samp_factor = $cinfo + 320 | 0; + $1 = HEAP32[$max_v_samp_factor >> 2] | 0; + if (($1 | 0) <= 0) return; + $output_width = $cinfo + 112 | 0; + $7 = $1; + $outrow$018 = 0; + while (1) { + $2 = HEAP32[$0 + ($outrow$018 << 2) >> 2] | 0; + $3 = HEAP32[$output_width >> 2] | 0; + $add$ptr = $2 + $3 | 0; + if (($3 | 0) > 0) { + $inptr$016 = HEAP32[$input_data + ($outrow$018 << 2) >> 2] | 0; + $outptr$015 = $2; + while (1) { + $5 = HEAP8[$inptr$016 >> 0] | 0; + HEAP8[$outptr$015 >> 0] = $5; + HEAP8[$outptr$015 + 1 >> 0] = $5; + $outptr$015 = $outptr$015 + 2 | 0; + if ($outptr$015 >>> 0 >= $add$ptr >>> 0) break; else $inptr$016 = $inptr$016 + 1 | 0; + } + $6 = HEAP32[$max_v_samp_factor >> 2] | 0; + } else $6 = $7; + $outrow$018 = $outrow$018 + 1 | 0; + if (($outrow$018 | 0) >= ($6 | 0)) break; else $7 = $6; } - return $$2 | 0; + return; } -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle14IntegerLiteralEJRNS_10StringViewES5_EEEPT_DpOT0_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $11 = 0, $12 = 0, $16 = 0, $21 = 0, $22 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $tmpcast$byval_copy = 0, $tmpcast3$byval_copy = 0, sp = 0; +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle13EnclosingExprEJRA12_KcRPNS2_4NodeERA2_S4_EEEPT_DpOT0_($this, $args, $args1, $args3) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + $args3 = $args3 | 0; + var $0 = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, $agg$tmp8 = 0, $agg$tmp8$byval_copy = 0, $call = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 32 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $tmpcast3$byval_copy = sp + 24 | 0; - $tmpcast$byval_copy = sp + 16 | 0; - $3 = sp + 8 | 0; - $4 = sp; - $5 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 24) | 0; - $6 = $1; - $11 = HEAP32[$6 + 4 >> 2] | 0; - $12 = $3; - HEAP32[$12 >> 2] = HEAP32[$6 >> 2]; - HEAP32[$12 + 4 >> 2] = $11; - $16 = $2; - $21 = HEAP32[$16 + 4 >> 2] | 0; - $22 = $4; - HEAP32[$22 >> 2] = HEAP32[$16 >> 2]; - HEAP32[$22 + 4 >> 2] = $21; - HEAP32[$tmpcast$byval_copy >> 2] = HEAP32[$3 >> 2]; - HEAP32[$tmpcast$byval_copy + 4 >> 2] = HEAP32[$3 + 4 >> 2]; - HEAP32[$tmpcast3$byval_copy >> 2] = HEAP32[$4 >> 2]; - HEAP32[$tmpcast3$byval_copy + 4 >> 2] = HEAP32[$4 + 4 >> 2]; - __ZN12_GLOBAL__N_116itanium_demangle14IntegerLiteralC2ENS_10StringViewES2_($5, $tmpcast$byval_copy, $tmpcast3$byval_copy); - STACKTOP = sp; - return $5 | 0; + $agg$tmp8$byval_copy = sp + 24 | 0; + $agg$tmp$byval_copy = sp + 16 | 0; + $agg$tmp = sp + 8 | 0; + $agg$tmp8 = sp; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 28) | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, $args); + $0 = HEAP32[$args1 >> 2] | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp8, $args3); + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + HEAP32[$agg$tmp8$byval_copy >> 2] = HEAP32[$agg$tmp8 >> 2]; + HEAP32[$agg$tmp8$byval_copy + 4 >> 2] = HEAP32[$agg$tmp8 + 4 >> 2]; + __ZN12_GLOBAL__N_116itanium_demangle13EnclosingExprC2ENS_10StringViewEPNS0_4NodeES2_($call, $agg$tmp$byval_copy, $0, $agg$tmp8$byval_copy); + STACKTOP = sp; + return $call | 0; +} + +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle13EnclosingExprEJRA11_KcRPNS2_4NodeERA2_S4_EEEPT_DpOT0_($this, $args, $args1, $args3) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + $args3 = $args3 | 0; + var $0 = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, $agg$tmp8 = 0, $agg$tmp8$byval_copy = 0, $call = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 32 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); + $agg$tmp8$byval_copy = sp + 24 | 0; + $agg$tmp$byval_copy = sp + 16 | 0; + $agg$tmp = sp + 8 | 0; + $agg$tmp8 = sp; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 28) | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, $args); + $0 = HEAP32[$args1 >> 2] | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp8, $args3); + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + HEAP32[$agg$tmp8$byval_copy >> 2] = HEAP32[$agg$tmp8 >> 2]; + HEAP32[$agg$tmp8$byval_copy + 4 >> 2] = HEAP32[$agg$tmp8 + 4 >> 2]; + __ZN12_GLOBAL__N_116itanium_demangle13EnclosingExprC2ENS_10StringViewEPNS0_4NodeES2_($call, $agg$tmp$byval_copy, $0, $agg$tmp8$byval_copy); + STACKTOP = sp; + return $call | 0; +} + +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle13EnclosingExprEJRA10_KcRPNS2_4NodeERA2_S4_EEEPT_DpOT0_($this, $args, $args1, $args3) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + $args3 = $args3 | 0; + var $0 = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, $agg$tmp8 = 0, $agg$tmp8$byval_copy = 0, $call = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 32 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); + $agg$tmp8$byval_copy = sp + 24 | 0; + $agg$tmp$byval_copy = sp + 16 | 0; + $agg$tmp = sp + 8 | 0; + $agg$tmp8 = sp; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 28) | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, $args); + $0 = HEAP32[$args1 >> 2] | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp8, $args3); + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + HEAP32[$agg$tmp8$byval_copy >> 2] = HEAP32[$agg$tmp8 >> 2]; + HEAP32[$agg$tmp8$byval_copy + 4 >> 2] = HEAP32[$agg$tmp8 + 4 >> 2]; + __ZN12_GLOBAL__N_116itanium_demangle13EnclosingExprC2ENS_10StringViewEPNS0_4NodeES2_($call, $agg$tmp$byval_copy, $0, $agg$tmp8$byval_copy); + STACKTOP = sp; + return $call | 0; +} + +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle13EnclosingExprEJRA9_KcRPNS2_4NodeERA2_S4_EEEPT_DpOT0_($this, $args, $args1, $args3) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + $args3 = $args3 | 0; + var $0 = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, $agg$tmp8 = 0, $agg$tmp8$byval_copy = 0, $call = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 32 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); + $agg$tmp8$byval_copy = sp + 24 | 0; + $agg$tmp$byval_copy = sp + 16 | 0; + $agg$tmp = sp + 8 | 0; + $agg$tmp8 = sp; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 28) | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, $args); + $0 = HEAP32[$args1 >> 2] | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp8, $args3); + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + HEAP32[$agg$tmp8$byval_copy >> 2] = HEAP32[$agg$tmp8 >> 2]; + HEAP32[$agg$tmp8$byval_copy + 4 >> 2] = HEAP32[$agg$tmp8 + 4 >> 2]; + __ZN12_GLOBAL__N_116itanium_demangle13EnclosingExprC2ENS_10StringViewEPNS0_4NodeES2_($call, $agg$tmp$byval_copy, $0, $agg$tmp8$byval_copy); + STACKTOP = sp; + return $call | 0; +} + +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E12parseAbiTagsEPNS0_4NodeE($this, $N) { + $this = $this | 0; + $N = $N | 0; + var $0 = 0, $N$addr = 0, $SN = 0, $call3 = 0, $retval$2 = 0, label = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $N$addr = sp; + $SN = sp + 8 | 0; + HEAP32[$N$addr >> 2] = $N; + $0 = $N; + while (1) { + if (!(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($this, 66) | 0)) { + $retval$2 = $0; + break; + } + __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E19parseBareSourceNameEv($SN, $this); + if (__ZNK12_GLOBAL__N_110StringView5emptyEv($SN) | 0) { + label = 5; + break; + } + $call3 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_10AbiTagAttrEJRPNS0_4NodeERNS_10StringViewEEEES9_DpOT0_($this, $N$addr, $SN) | 0; + HEAP32[$N$addr >> 2] = $call3; + $0 = $call3; + } + if ((label | 0) == 5) $retval$2 = 0; + STACKTOP = sp; + return $retval$2 | 0; } function _loadCamera($cparam_name) { $cparam_name = $cparam_name | 0; - var $4 = 0, $__size_$i$i$i$i = 0, $cond$i$i$i = 0, $cond$i$i$i6 = 0, $param = 0, $retval$0 = 0, $vararg_buffer = 0, $vararg_buffer1 = 0, sp = 0; + var $4 = 0, $__size_$i$i$i$i = 0, $cond$i$i$i = 0, $cond$i$i$i8 = 0, $param = 0, $retval$0 = 0, $vararg_buffer = 0, $vararg_buffer1 = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 208 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(208); @@ -83537,15 +86924,15 @@ function _loadCamera($cparam_name) { $__size_$i$i$i$i = $cparam_name + 11 | 0; if ((HEAP8[$__size_$i$i$i$i >> 0] | 0) < 0) $cond$i$i$i = HEAP32[$cparam_name >> 2] | 0; else $cond$i$i$i = $cparam_name; if ((_arParamLoad($cond$i$i$i, 1, $param, $vararg_buffer) | 0) < 0) { - if ((HEAP8[$__size_$i$i$i$i >> 0] | 0) < 0) $cond$i$i$i6 = HEAP32[$cparam_name >> 2] | 0; else $cond$i$i$i6 = $cparam_name; - HEAP32[$vararg_buffer1 >> 2] = $cond$i$i$i6; - _arLog(0, 3, 44850, $vararg_buffer1); + if ((HEAP8[$__size_$i$i$i$i >> 0] | 0) < 0) $cond$i$i$i8 = HEAP32[$cparam_name >> 2] | 0; else $cond$i$i$i8 = $cparam_name; + HEAP32[$vararg_buffer1 >> 2] = $cond$i$i$i8; + _arLog(0, 3, 45692, $vararg_buffer1); $retval$0 = -1; } else { - $4 = HEAP32[16325] | 0; - HEAP32[16325] = $4 + 1; + $4 = HEAP32[16537] | 0; + HEAP32[16537] = $4 + 1; HEAP32[$vararg_buffer >> 2] = $4; - _memcpy(__ZNSt3__213unordered_mapIi7ARParamNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(65280, $vararg_buffer) | 0, $param | 0, 184) | 0; + _memcpy(__ZNSt3__213unordered_mapIi7ARParamNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(66128, $vararg_buffer) | 0, $param | 0, 184) | 0; $retval$0 = HEAP32[$vararg_buffer >> 2] | 0; } STACKTOP = sp; @@ -83562,11 +86949,11 @@ function _getTransMatSquareCont($id, $markerIndex, $markerWidth) { if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); $id$addr = sp; HEAP32[$id$addr >> 2] = $id; - do if (__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(65260, $id$addr) | 0) { - $call7 = __ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(65260, $id$addr) | 0; + do if (__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(66108, $id$addr) | 0) { + $call7 = __ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(66108, $id$addr) | 0; $1 = HEAP32[$call7 + 216 >> 2] | 0; if ((HEAP32[$1 + 44 >> 2] | 0) > ($markerIndex | 0)) { - +_arGetTransMatSquareCont(HEAP32[$call7 + 228 >> 2] | 0, ($markerIndex | 0) < 0 ? 64312 : $1 + 48 + ($markerIndex << 8) | 0, 61136, +($markerWidth | 0), 61136); + +_arGetTransMatSquareCont(HEAP32[$call7 + 228 >> 2] | 0, ($markerIndex | 0) < 0 ? 65160 : $1 + 48 + ($markerIndex << 8) | 0, 61984, +($markerWidth | 0), 61984); $retval$1 = 0; break; } else { @@ -83578,223 +86965,192 @@ function _getTransMatSquareCont($id, $markerIndex, $markerWidth) { return $retval$1 | 0; } -function __ZNK12_GLOBAL__N_116itanium_demangle13ReferenceType10printRightERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$byval_copy = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $9 = 0, label = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $$byval_copy = sp + 24 | 0; - $2 = sp + 16 | 0; - $3 = sp + 8 | 0; - $4 = sp; - $5 = $0 + 16 | 0; - if (!(HEAP8[$5 >> 0] | 0)) { - __ZN12_GLOBAL__N_114SwapAndRestoreIbEC2ERbb($2, $5, 1); - __ZNK12_GLOBAL__N_116itanium_demangle13ReferenceType8collapseERNS_12OutputStreamE($3, $0, $1); - $9 = HEAP32[$3 + 4 >> 2] | 0; - if (!(__ZNK12_GLOBAL__N_116itanium_demangle4Node8hasArrayERNS_12OutputStreamE($9, $1) | 0) ? !(__ZNK12_GLOBAL__N_116itanium_demangle4Node11hasFunctionERNS_12OutputStreamE($9, $1) | 0) : 0) {} else { - __ZN12_GLOBAL__N_110StringViewC2EPKc($4, 51964); - HEAP32[$$byval_copy >> 2] = HEAP32[$4 >> 2]; - HEAP32[$$byval_copy + 4 >> 2] = HEAP32[$4 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy); +function __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_24ForwardTemplateReferenceELm4EE7reserveEm($this, $NewCap) { + $this = $this | 0; + $NewCap = $NewCap | 0; + var $$in = 0, $0 = 0, $Last = 0, $Last17$pre$phiZ2D = 0, $call = 0, $call3 = 0, $call9 = 0, $sub$ptr$sub$i$i = 0; + $call = __ZNK12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_24ForwardTemplateReferenceELm4EE4sizeEv($this) | 0; + do if (!(__ZNK12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_24ForwardTemplateReferenceELm4EE8isInlineEv($this) | 0)) { + $call9 = _realloc(HEAP32[$this >> 2] | 0, $NewCap << 2) | 0; + HEAP32[$this >> 2] = $call9; + if (!$call9) __ZSt9terminatev(); else { + $$in = $call9; + $Last17$pre$phiZ2D = $this + 4 | 0; + break; } - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$9 >> 2] | 0) + 20 >> 2] & 255]($9, $1); - __ZN12_GLOBAL__N_114SwapAndRestoreIbED2Ev($2); - } - STACKTOP = sp; + } else { + $call3 = _malloc($NewCap << 2) | 0; + if (!$call3) __ZSt9terminatev(); + $0 = HEAP32[$this >> 2] | 0; + $Last = $this + 4 | 0; + $sub$ptr$sub$i$i = (HEAP32[$Last >> 2] | 0) - $0 | 0; + if ($sub$ptr$sub$i$i | 0) _memmove($call3 | 0, $0 | 0, $sub$ptr$sub$i$i | 0) | 0; + HEAP32[$this >> 2] = $call3; + $$in = $call3; + $Last17$pre$phiZ2D = $Last; + } while (0); + HEAP32[$Last17$pre$phiZ2D >> 2] = $$in + ($call << 2); + HEAP32[$this + 8 >> 2] = $$in + ($NewCap << 2); return; } -function _jpeg_CreateDecompress($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$pre$phiZ2D = 0, $13 = 0, $20 = 0, $21 = 0, $22 = 0, $5 = 0, dest = 0, stop = 0; - HEAP32[$0 + 4 >> 2] = 0; - if (($1 | 0) != 90) { - $5 = HEAP32[$0 >> 2] | 0; - HEAP32[$5 + 20 >> 2] = 13; - HEAP32[$5 + 24 >> 2] = 90; - HEAP32[(HEAP32[$0 >> 2] | 0) + 28 >> 2] = $1; - FUNCTION_TABLE_vi[HEAP32[HEAP32[$0 >> 2] >> 2] & 255]($0); - } - if (($2 | 0) == 488) $$pre$phiZ2D = $0; else { - $13 = HEAP32[$0 >> 2] | 0; - HEAP32[$13 + 20 >> 2] = 22; - HEAP32[$13 + 24 >> 2] = 488; - HEAP32[(HEAP32[$0 >> 2] | 0) + 28 >> 2] = $2; - FUNCTION_TABLE_vi[HEAP32[HEAP32[$0 >> 2] >> 2] & 255]($0); - $$pre$phiZ2D = $0; - } - $20 = HEAP32[$0 >> 2] | 0; - $21 = $0 + 12 | 0; - $22 = HEAP32[$21 >> 2] | 0; - _memset($0 + 4 | 0, 0, 484) | 0; - HEAP32[$0 >> 2] = $20; - HEAP32[$21 >> 2] = $22; - HEAP32[$0 + 16 >> 2] = 1; - _jinit_memory_mgr($$pre$phiZ2D); - HEAP32[$0 + 8 >> 2] = 0; - HEAP32[$0 + 24 >> 2] = 0; - HEAP32[$0 + 312 >> 2] = 0; - dest = $0 + 164 | 0; - stop = dest + 48 | 0; - do { - HEAP32[dest >> 2] = 0; - dest = dest + 4 | 0; - } while ((dest | 0) < (stop | 0)); - _jinit_marker_reader($0); - _jinit_input_controller($0); - HEAP32[$0 + 20 >> 2] = 200; - return; +function _fill_input_buffer($cinfo) { + $cinfo = $cinfo | 0; + var $$pre$phiZ2D = 0, $0 = 0, $10 = 0, $4 = 0, $6 = 0, $buffer = 0, $bytes_in_buffer = 0, $call = 0, $nbytes$0 = 0, $start_of_file = 0; + $0 = HEAP32[$cinfo + 24 >> 2] | 0; + $buffer = $0 + 32 | 0; + $call = _fread(HEAP32[$buffer >> 2] | 0, 1, 4096, HEAP32[$0 + 28 >> 2] | 0) | 0; + $start_of_file = $0 + 36 | 0; + if ($call | 0) { + $nbytes$0 = $call; + $10 = HEAP32[$buffer >> 2] | 0; + HEAP32[$0 >> 2] = $10; + $bytes_in_buffer = $0 + 4 | 0; + HEAP32[$bytes_in_buffer >> 2] = $nbytes$0; + HEAP32[$start_of_file >> 2] = 0; + return 1; + } + if (!(HEAP32[$start_of_file >> 2] | 0)) $$pre$phiZ2D = $cinfo; else { + $4 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$4 + 20 >> 2] = 43; + FUNCTION_TABLE_vi[HEAP32[$4 >> 2] & 255]($cinfo); + $$pre$phiZ2D = $cinfo; + } + $6 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$6 + 20 >> 2] = 123; + FUNCTION_TABLE_vii[HEAP32[$6 + 4 >> 2] & 255]($$pre$phiZ2D, -1); + HEAP8[HEAP32[$buffer >> 2] >> 0] = -1; + HEAP8[(HEAP32[$buffer >> 2] | 0) + 1 >> 0] = -39; + $nbytes$0 = 2; + $10 = HEAP32[$buffer >> 2] | 0; + HEAP32[$0 >> 2] = $10; + $bytes_in_buffer = $0 + 4 | 0; + HEAP32[$bytes_in_buffer >> 2] = $nbytes$0; + HEAP32[$start_of_file >> 2] = 0; + return 1; } -function _start_pass_dpost($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $19 = 0, $28 = 0, $3 = 0, $35 = 0, $39 = 0, $8 = 0; - $3 = HEAP32[$0 + 456 >> 2] | 0; - L1 : do switch ($1 | 0) { - case 0: - { - if (!(HEAP32[$0 + 84 >> 2] | 0)) { - HEAP32[$3 + 4 >> 2] = HEAP32[(HEAP32[$0 + 476 >> 2] | 0) + 4 >> 2]; - break L1; - } - HEAP32[$3 + 4 >> 2] = 4; - $8 = $3 + 12 | 0; - if (!(HEAP32[$8 >> 2] | 0)) { - $19 = FUNCTION_TABLE_iiiiii[HEAP32[(HEAP32[$0 + 4 >> 2] | 0) + 28 >> 2] & 31]($0, HEAP32[$3 + 8 >> 2] | 0, 0, HEAP32[$3 + 16 >> 2] | 0, 1) | 0; - HEAP32[$8 >> 2] = $19; - } - break; - } - case 3: - { - if (!(HEAP32[$3 + 8 >> 2] | 0)) { - $28 = HEAP32[$0 >> 2] | 0; - HEAP32[$28 + 20 >> 2] = 3; - FUNCTION_TABLE_vi[HEAP32[$28 >> 2] & 255]($0); - } - HEAP32[$3 + 4 >> 2] = 5; - break; + +function __ZNSt3__215__num_get_floatIeEET_PKcS3_Rj($__a, $__a_end, $__err) { + $__a = $__a | 0; + $__a_end = $__a_end | 0; + $__err = $__err | 0; + var $0 = 0, $1 = 0, $__p2 = 0, $call = 0, $call1 = 0, $call1$i = 0.0, $call3 = 0, $call6 = 0, $retval$0 = 0.0, $retval$0$ph = 0.0, $retval$1 = 0.0, label = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $__p2 = sp; + if (($__a | 0) == ($__a_end | 0)) { + HEAP32[$__err >> 2] = 4; + $retval$1 = 0.0; + } else { + $call = ___errno_location() | 0; + $0 = HEAP32[$call >> 2] | 0; + $call1 = ___errno_location() | 0; + HEAP32[$call1 >> 2] = 0; + $call1$i = +_strtold_l($__a, $__p2, __ZNSt3__26__clocEv() | 0); + $call3 = ___errno_location() | 0; + $1 = HEAP32[$call3 >> 2] | 0; + if (!$1) { + $call6 = ___errno_location() | 0; + HEAP32[$call6 >> 2] = $0; } - case 2: - { - if (!(HEAP32[$3 + 8 >> 2] | 0)) { - $35 = HEAP32[$0 >> 2] | 0; - HEAP32[$35 + 20 >> 2] = 3; - FUNCTION_TABLE_vi[HEAP32[$35 >> 2] & 255]($0); - } - HEAP32[$3 + 4 >> 2] = 6; - break; + if ((HEAP32[$__p2 >> 2] | 0) == ($__a_end | 0)) if (($1 | 0) == 68) { + $retval$0$ph = $call1$i; + label = 6; + } else $retval$0 = $call1$i; else { + $retval$0$ph = 0.0; + label = 6; } - default: - { - $39 = HEAP32[$0 >> 2] | 0; - HEAP32[$39 + 20 >> 2] = 3; - FUNCTION_TABLE_vi[HEAP32[$39 >> 2] & 255]($0); + if ((label | 0) == 6) { + HEAP32[$__err >> 2] = 4; + $retval$0 = $retval$0$ph; } - } while (0); - HEAP32[$3 + 24 >> 2] = 0; - HEAP32[$3 + 20 >> 2] = 0; - return; + $retval$1 = $retval$0; + } + STACKTOP = sp; + return +$retval$1; } -function __ZNSt3__225__num_get_signed_integralIxEET_PKcS3_Rji($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $15 = 0, $23 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $4 = 0, $6 = 0, $7 = 0, $8 = 0, sp = 0; +function __ZNSt3__215__num_get_floatIfEET_PKcS3_Rj($__a, $__a_end, $__err) { + $__a = $__a | 0; + $__a_end = $__a_end | 0; + $__err = $__err | 0; + var $0 = 0, $1 = 0, $__p2 = 0, $call = 0, $call1 = 0, $call1$i = 0.0, $call3 = 0, $call6 = 0, $retval$0 = 0.0, $retval$0$ph = 0.0, $retval$1 = 0.0, label = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $4 = sp; - if (($0 | 0) == ($1 | 0)) { - HEAP32[$2 >> 2] = 4; - $26 = 0; - $27 = 0; + $__p2 = sp; + if (($__a | 0) == ($__a_end | 0)) { + HEAP32[$__err >> 2] = 4; + $retval$1 = 0.0; } else { - $6 = ___errno_location() | 0; - $7 = HEAP32[$6 >> 2] | 0; - $8 = ___errno_location() | 0; - HEAP32[$8 >> 2] = 0; - $10 = _strtoll_l($0, $4, $3, __ZNSt3__26__clocEv() | 0) | 0; - $11 = getTempRet0() | 0; - $12 = ___errno_location() | 0; - $13 = HEAP32[$12 >> 2] | 0; - if (!$13) { - $15 = ___errno_location() | 0; - HEAP32[$15 >> 2] = $7; - } - if ((HEAP32[$4 >> 2] | 0) == ($1 | 0)) if (($13 | 0) == 68) { - HEAP32[$2 >> 2] = 4; - $23 = ($11 | 0) > 0 | ($11 | 0) == 0 & $10 >>> 0 > 0; - $28 = $23 ? -1 : 0; - $29 = $23 ? 2147483647 : -2147483648; - } else { - $28 = $10; - $29 = $11; - } else { - HEAP32[$2 >> 2] = 4; - $28 = 0; - $29 = 0; + $call = ___errno_location() | 0; + $0 = HEAP32[$call >> 2] | 0; + $call1 = ___errno_location() | 0; + HEAP32[$call1 >> 2] = 0; + $call1$i = +_strtof_l($__a, $__p2, __ZNSt3__26__clocEv() | 0); + $call3 = ___errno_location() | 0; + $1 = HEAP32[$call3 >> 2] | 0; + if (!$1) { + $call6 = ___errno_location() | 0; + HEAP32[$call6 >> 2] = $0; + } + if ((HEAP32[$__p2 >> 2] | 0) == ($__a_end | 0)) if (($1 | 0) == 68) { + $retval$0$ph = $call1$i; + label = 6; + } else $retval$0 = $call1$i; else { + $retval$0$ph = 0.0; + label = 6; + } + if ((label | 0) == 6) { + HEAP32[$__err >> 2] = 4; + $retval$0 = $retval$0$ph; } - $26 = $29; - $27 = $28; + $retval$1 = $retval$0; } - setTempRet0($26 | 0); STACKTOP = sp; - return $27 | 0; -} - -function _vsnprintf($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $$0 = 0, $$014 = 0, $$015 = 0, $11 = 0, $14 = 0, $16 = 0, $17 = 0, $19 = 0, $21 = 0, $4 = 0, $5 = 0, $9 = 0, $spec$select = 0, label = 0, sp = 0; + return +$retval$1; +} + +function __ZNSt3__215__num_get_floatIdEET_PKcS3_Rj($__a, $__a_end, $__err) { + $__a = $__a | 0; + $__a_end = $__a_end | 0; + $__err = $__err | 0; + var $0 = 0, $1 = 0, $__p2 = 0, $call = 0, $call1 = 0, $call1$i = 0.0, $call3 = 0, $call6 = 0, $retval$0 = 0.0, $retval$0$ph = 0.0, $retval$1 = 0.0, label = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 160 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(160); - $4 = sp + 144 | 0; - $5 = sp; - _memcpy($5 | 0, 13736, 144) | 0; - if (($1 + -1 | 0) >>> 0 > 2147483646) if (!$1) { - $$014 = $4; - $$015 = 1; - label = 4; - } else { - $9 = ___errno_location() | 0; - HEAP32[$9 >> 2] = 61; - $$0 = -1; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $__p2 = sp; + if (($__a | 0) == ($__a_end | 0)) { + HEAP32[$__err >> 2] = 4; + $retval$1 = 0.0; } else { - $$014 = $0; - $$015 = $1; - label = 4; - } - if ((label | 0) == 4) { - $11 = -2 - $$014 | 0; - $spec$select = $$015 >>> 0 > $11 >>> 0 ? $11 : $$015; - HEAP32[$5 + 48 >> 2] = $spec$select; - $14 = $5 + 20 | 0; - HEAP32[$14 >> 2] = $$014; - HEAP32[$5 + 44 >> 2] = $$014; - $16 = $$014 + $spec$select | 0; - $17 = $5 + 16 | 0; - HEAP32[$17 >> 2] = $16; - HEAP32[$5 + 28 >> 2] = $16; - $19 = _vfprintf($5, $2, $3) | 0; - if (!$spec$select) $$0 = $19; else { - $21 = HEAP32[$14 >> 2] | 0; - HEAP8[$21 + ((($21 | 0) == (HEAP32[$17 >> 2] | 0)) << 31 >> 31) >> 0] = 0; - $$0 = $19; + $call = ___errno_location() | 0; + $0 = HEAP32[$call >> 2] | 0; + $call1 = ___errno_location() | 0; + HEAP32[$call1 >> 2] = 0; + $call1$i = +_strtod_l($__a, $__p2, __ZNSt3__26__clocEv() | 0); + $call3 = ___errno_location() | 0; + $1 = HEAP32[$call3 >> 2] | 0; + if (!$1) { + $call6 = ___errno_location() | 0; + HEAP32[$call6 >> 2] = $0; + } + if ((HEAP32[$__p2 >> 2] | 0) == ($__a_end | 0)) if (($1 | 0) == 68) { + $retval$0$ph = $call1$i; + label = 6; + } else $retval$0 = $call1$i; else { + $retval$0$ph = 0.0; + label = 6; + } + if ((label | 0) == 6) { + HEAP32[$__err >> 2] = 4; + $retval$0 = $retval$0$ph; } + $retval$1 = $retval$0; } STACKTOP = sp; - return $$0 | 0; + return +$retval$1; } function _getTransMatSquare($id, $markerIndex, $markerWidth) { @@ -83807,11 +87163,11 @@ function _getTransMatSquare($id, $markerIndex, $markerWidth) { if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); $id$addr = sp; HEAP32[$id$addr >> 2] = $id; - do if (__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(65260, $id$addr) | 0) { - $call7 = __ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(65260, $id$addr) | 0; + do if (__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(66108, $id$addr) | 0) { + $call7 = __ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(66108, $id$addr) | 0; $1 = HEAP32[$call7 + 216 >> 2] | 0; if ((HEAP32[$1 + 44 >> 2] | 0) > ($markerIndex | 0)) { - +_arGetTransMatSquare(HEAP32[$call7 + 228 >> 2] | 0, ($markerIndex | 0) < 0 ? 64312 : $1 + 48 + ($markerIndex << 8) | 0, +($markerWidth | 0), 61136); + +_arGetTransMatSquare(HEAP32[$call7 + 228 >> 2] | 0, ($markerIndex | 0) < 0 ? 65160 : $1 + 48 + ($markerIndex << 8) | 0, +($markerWidth | 0), 61984); $retval$1 = 0; break; } else { @@ -83823,758 +87179,563 @@ function _getTransMatSquare($id, $markerIndex, $markerWidth) { return $retval$1 | 0; } -function _icpGetDeltaS($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $$0 = 0, $13 = 0, $15 = 0, $17 = 0, $4 = 0, $5 = 0, $6 = 0, sp = 0; +function __ZNK12_GLOBAL__N_116itanium_demangle19SizeofParamPackExpr9printLeftERNS_12OutputStreamE($this, $S) { + $this = $this | 0; + $S = $S | 0; + var $PPE = 0, $agg$tmp = 0, $agg$tmp2 = 0, $agg$tmp2$byval_copy = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 48 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); - $4 = sp + 24 | 0; - $5 = sp + 12 | 0; - $6 = sp; - HEAP32[$4 + 4 >> 2] = 6; - HEAP32[$4 + 8 >> 2] = 1; - HEAP32[$4 >> 2] = $0; - HEAP32[$5 + 4 >> 2] = $3; - HEAP32[$5 + 8 >> 2] = 1; - HEAP32[$5 >> 2] = $1; - HEAP32[$6 + 4 >> 2] = $3; - HEAP32[$6 + 8 >> 2] = 6; - HEAP32[$6 >> 2] = $2; - $13 = _arMatrixAllocTrans($6) | 0; - do if ($13) { - $15 = _arMatrixAllocMul($13, $6) | 0; - if (!$15) { - _arMatrixFree($13) | 0; - $$0 = -1; - break; - } - $17 = _arMatrixAllocMul($13, $5) | 0; - if (!$17) { - _arMatrixFree($13) | 0; - _arMatrixFree($15) | 0; - $$0 = -1; - break; + $agg$tmp2$byval_copy = sp + 32 | 0; + $agg$tmp = sp + 24 | 0; + $PPE = sp + 8 | 0; + $agg$tmp2 = sp; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, 53844); + HEAP32[$agg$tmp2$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp2$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp2$byval_copy); + __ZN12_GLOBAL__N_116itanium_demangle22ParameterPackExpansionC2EPKNS0_4NodeE($PPE, HEAP32[$this + 8 >> 2] | 0); + __ZNK12_GLOBAL__N_116itanium_demangle22ParameterPackExpansion9printLeftERNS_12OutputStreamE($PPE, $S); + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp2, 52806); + HEAP32[$agg$tmp2$byval_copy >> 2] = HEAP32[$agg$tmp2 >> 2]; + HEAP32[$agg$tmp2$byval_copy + 4 >> 2] = HEAP32[$agg$tmp2 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp2$byval_copy); + STACKTOP = sp; + return; +} + +function __ZNSt3__219__double_or_nothingIwEEvRNS_10unique_ptrIT_PFvPvEEERPS2_S9_($__b, $__n, $__e) { + $__b = $__b | 0; + $__n = $__n | 0; + $__e = $__e | 0; + var $$pr = 0, $2 = 0, $3 = 0, $8 = 0, $__value_$i$i$i = 0, $call17 = 0, $cmp = 0, $mul4 = 0, $sub$ptr$div11 = 0, $sub$ptr$rhs$cast = 0, $sub$ptr$sub = 0; + $__value_$i$i$i = $__b + 4 | 0; + $cmp = (HEAP32[$__value_$i$i$i >> 2] | 0) != 214; + $2 = HEAP32[$__b >> 2] | 0; + $sub$ptr$rhs$cast = $2; + $sub$ptr$sub = (HEAP32[$__e >> 2] | 0) - $sub$ptr$rhs$cast | 0; + $mul4 = $sub$ptr$sub << 1; + $3 = $sub$ptr$sub >>> 0 < 2147483647 ? (($mul4 | 0) == 0 ? 4 : $mul4) : -1; + $sub$ptr$div11 = (HEAP32[$__n >> 2] | 0) - $sub$ptr$rhs$cast >> 2; + $call17 = _realloc($cmp ? $2 : 0, $3) | 0; + if (!$call17) __ZSt17__throw_bad_allocv(); + if (!$cmp) { + $$pr = HEAP32[$__b >> 2] | 0; + HEAP32[$__b >> 2] = $call17; + if (!$$pr) $8 = $call17; else { + FUNCTION_TABLE_vi[HEAP32[$__value_$i$i$i >> 2] & 255]($$pr); + $8 = HEAP32[$__b >> 2] | 0; } - if ((_arMatrixSelfInv($15) | 0) < 0) { - _arMatrixFree($13) | 0; - _arMatrixFree($15) | 0; - _arMatrixFree($17) | 0; - $$0 = -1; - break; - } else { - _arMatrixMul($4, $15, $17) | 0; - _arMatrixFree($13) | 0; - _arMatrixFree($15) | 0; - _arMatrixFree($17) | 0; - $$0 = 0; - break; + } else { + HEAP32[$__b >> 2] = $call17; + $8 = $call17; + } + HEAP32[$__value_$i$i$i >> 2] = 215; + HEAP32[$__n >> 2] = $8 + ($sub$ptr$div11 << 2); + HEAP32[$__e >> 2] = (HEAP32[$__b >> 2] | 0) + ($3 >>> 2 << 2); + return; +} + +function __ZNSt3__219__double_or_nothingIjEEvRNS_10unique_ptrIT_PFvPvEEERPS2_S9_($__b, $__n, $__e) { + $__b = $__b | 0; + $__n = $__n | 0; + $__e = $__e | 0; + var $$pr = 0, $2 = 0, $3 = 0, $8 = 0, $__value_$i$i$i = 0, $call17 = 0, $cmp = 0, $mul4 = 0, $sub$ptr$div11 = 0, $sub$ptr$rhs$cast = 0, $sub$ptr$sub = 0; + $__value_$i$i$i = $__b + 4 | 0; + $cmp = (HEAP32[$__value_$i$i$i >> 2] | 0) != 214; + $2 = HEAP32[$__b >> 2] | 0; + $sub$ptr$rhs$cast = $2; + $sub$ptr$sub = (HEAP32[$__e >> 2] | 0) - $sub$ptr$rhs$cast | 0; + $mul4 = $sub$ptr$sub << 1; + $3 = $sub$ptr$sub >>> 0 < 2147483647 ? (($mul4 | 0) == 0 ? 4 : $mul4) : -1; + $sub$ptr$div11 = (HEAP32[$__n >> 2] | 0) - $sub$ptr$rhs$cast >> 2; + $call17 = _realloc($cmp ? $2 : 0, $3) | 0; + if (!$call17) __ZSt17__throw_bad_allocv(); + if (!$cmp) { + $$pr = HEAP32[$__b >> 2] | 0; + HEAP32[$__b >> 2] = $call17; + if (!$$pr) $8 = $call17; else { + FUNCTION_TABLE_vi[HEAP32[$__value_$i$i$i >> 2] & 255]($$pr); + $8 = HEAP32[$__b >> 2] | 0; } - } else $$0 = -1; while (0); - STACKTOP = sp; - return $$0 | 0; + } else { + HEAP32[$__b >> 2] = $call17; + $8 = $call17; + } + HEAP32[$__value_$i$i$i >> 2] = 215; + HEAP32[$__n >> 2] = $8 + ($sub$ptr$div11 << 2); + HEAP32[$__e >> 2] = (HEAP32[$__b >> 2] | 0) + ($3 >>> 2 << 2); + return; } -function __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE11do_get_dateES4_S4_RNS_8ios_baseERjP2tm($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$byval_copy = 0, $$byval_copy1 = 0, $12 = 0, $17 = 0, $18 = 0, $23 = 0, $25 = 0, $26 = 0, $6 = 0, $7 = 0, $8 = 0, sp = 0; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E19parseBareSourceNameEv($agg$result, $this) { + $agg$result = $agg$result | 0; + $this = $this | 0; + var $0 = 0, $1 = 0, $3 = 0, $8 = 0, $9 = 0, $Int = 0, $R = 0, $call2 = 0, label = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy1 = sp + 12 | 0; - $$byval_copy = sp + 8 | 0; - $6 = sp + 4 | 0; - $7 = sp; - $8 = $0 + 8 | 0; - $12 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$8 >> 2] | 0) + 20 >> 2] & 127]($8) | 0; - HEAP32[$6 >> 2] = HEAP32[$1 >> 2]; - HEAP32[$7 >> 2] = HEAP32[$2 >> 2]; - $17 = HEAP8[$12 + 8 + 3 >> 0] | 0; - $18 = $17 << 24 >> 24 < 0; - $23 = $18 ? HEAP32[$12 >> 2] | 0 : $12; - $25 = $23 + (($18 ? HEAP32[$12 + 4 >> 2] | 0 : $17 & 255) << 2) | 0; - HEAP32[$$byval_copy >> 2] = HEAP32[$6 >> 2]; - HEAP32[$$byval_copy1 >> 2] = HEAP32[$7 >> 2]; - $26 = __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE3getES4_S4_RNS_8ios_baseERjP2tmPKwSC_($0, $$byval_copy, $$byval_copy1, $3, $4, $5, $23, $25) | 0; - STACKTOP = sp; - return $26 | 0; -} - -function __ZNSt3__215basic_streambufIwNS_11char_traitsIwEEE6xsputnEPKwl($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$0 = 0, $$0$be = 0, $$021 = 0, $$021$be = 0, $$sroa$speculated = 0, $12 = 0, $14 = 0, $22 = 0, $23 = 0, $3 = 0, $4 = 0, $5 = 0, $7 = 0, $8 = 0; - $3 = __ZNSt3__211char_traitsIwE3eofEv() | 0; - $4 = $0 + 24 | 0; - $5 = $0 + 28 | 0; - $$0 = $1; - $$021 = 0; - while (1) { - if (($$021 | 0) >= ($2 | 0)) break; - $7 = HEAP32[$4 >> 2] | 0; - $8 = HEAP32[$5 >> 2] | 0; - if ($7 >>> 0 < $8 >>> 0) { - $22 = $8 - $7 >> 2; - $23 = $2 - $$021 | 0; - $$sroa$speculated = ($23 | 0) < ($22 | 0) ? $23 : $22; - __ZNSt3__211char_traitsIwE4copyEPwPKwm($7, $$0, $$sroa$speculated) | 0; - HEAP32[$4 >> 2] = (HEAP32[$4 >> 2] | 0) + ($$sroa$speculated << 2); - $$0$be = $$0 + ($$sroa$speculated << 2) | 0; - $$021$be = $$sroa$speculated + $$021 | 0; - } else { - $12 = HEAP32[(HEAP32[$0 >> 2] | 0) + 52 >> 2] | 0; - $14 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$$0 >> 2] | 0) | 0; - if ((FUNCTION_TABLE_iii[$12 & 127]($0, $14) | 0) == ($3 | 0)) break; - $$0$be = $$0 + 4 | 0; - $$021$be = $$021 + 1 | 0; - } - $$0 = $$0$be; - $$021 = $$021$be; - } - return $$021 | 0; + $Int = sp + 8 | 0; + $R = sp; + HEAP32[$Int >> 2] = 0; + if (!(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E20parsePositiveIntegerEPm($this, $Int) | 0) ? ($call2 = __ZNK12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E7numLeftEv($this) | 0, $0 = HEAP32[$Int >> 2] | 0, $call2 >>> 0 >= $0 >>> 0) : 0) { + $1 = HEAP32[$this >> 2] | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKcS2_($R, $1, $1 + $0 | 0); + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + $0; + $3 = $R; + $8 = HEAP32[$3 + 4 >> 2] | 0; + $9 = $agg$result; + HEAP32[$9 >> 2] = HEAP32[$3 >> 2]; + HEAP32[$9 + 4 >> 2] = $8; + } else __ZN12_GLOBAL__N_110StringViewC2Ev($agg$result); + STACKTOP = sp; + return; +} + +function _arUtilQuatPos2Mat($q, $p, $m) { + $q = $q | 0; + $p = $p | 0; + $m = $m | 0; + var $0 = 0.0, $1 = 0.0, $2 = 0.0, $3 = 0.0, $mul = 0.0, $mul10 = 0.0, $mul12 = 0.0, $mul14 = 0.0, $mul16 = 0.0, $mul18 = 0.0, $mul2 = 0.0, $mul20 = 0.0, $mul22 = 0.0, $mul4 = 0.0, $mul6 = 0.0, $mul8 = 0.0; + $0 = +HEAPF64[$q >> 3]; + $mul = $0 * 2.0; + $1 = +HEAPF64[$q + 8 >> 3]; + $mul2 = $1 * 2.0; + $2 = +HEAPF64[$q + 16 >> 3]; + $mul4 = $2 * 2.0; + $mul6 = $0 * $mul; + $mul8 = $0 * $mul2; + $mul10 = $0 * $mul4; + $mul12 = $1 * $mul2; + $mul14 = $1 * $mul4; + $mul16 = $2 * $mul4; + $3 = +HEAPF64[$q + 24 >> 3]; + $mul18 = $mul * $3; + $mul20 = $mul2 * $3; + $mul22 = $3 * $mul4; + HEAPF64[$m >> 3] = 1.0 - ($mul12 + $mul16); + HEAPF64[$m + 40 >> 3] = 1.0 - ($mul6 + $mul16); + HEAPF64[$m + 80 >> 3] = 1.0 - ($mul6 + $mul12); + HEAPF64[$m + 32 >> 3] = $mul8 - $mul22; + HEAPF64[$m + 8 >> 3] = $mul8 + $mul22; + HEAPF64[$m + 64 >> 3] = $mul10 + $mul20; + HEAPF64[$m + 16 >> 3] = $mul10 - $mul20; + HEAPF64[$m + 72 >> 3] = $mul14 - $mul18; + HEAPF64[$m + 48 >> 3] = $mul14 + $mul18; + HEAPF64[$m + 24 >> 3] = +HEAPF64[$p >> 3]; + HEAPF64[$m + 56 >> 3] = +HEAPF64[$p + 8 >> 3]; + HEAPF64[$m + 88 >> 3] = +HEAPF64[$p + 16 >> 3]; + return 0; } -function _rgb_convert_54($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $$03338$us = 0, $$03439$us = 0, $$03637$us = 0, $$040$us = 0, $$in = 0, $14 = 0, $17 = 0, $20 = 0, $6 = 0, $8 = 0, $9 = 0, $$in$looptemp = 0; - $6 = HEAP32[$0 + 112 >> 2] | 0; - if (($4 | 0) <= 0) return; - $8 = $1 + 4 | 0; - $9 = $1 + 8 | 0; - if (!$6) return; - $$03439$us = $3; - $$040$us = $2; - $$in = $4; - while (1) { - $$in$looptemp = $$in; - $$in = $$in + -1 | 0; - $14 = HEAP32[(HEAP32[$1 >> 2] | 0) + ($$040$us << 2) >> 2] | 0; - $17 = HEAP32[(HEAP32[$8 >> 2] | 0) + ($$040$us << 2) >> 2] | 0; - $20 = HEAP32[(HEAP32[$9 >> 2] | 0) + ($$040$us << 2) >> 2] | 0; - $$040$us = $$040$us + 1 | 0; - $$03338$us = 0; - $$03637$us = HEAP32[$$03439$us >> 2] | 0; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E11parseNumberEb($agg$result, $this, $AllowNegative) { + $agg$result = $agg$result | 0; + $this = $this | 0; + $AllowNegative = $AllowNegative | 0; + var $0 = 0, $1 = 0, $4 = 0, $incdec$ptr = 0, label = 0; + $0 = HEAP32[$this >> 2] | 0; + if ($AllowNegative) __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($this, 110) | 0; + if ((__ZNK12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E7numLeftEv($this) | 0) != 0 ? ($1 = HEAP32[$this >> 2] | 0, ((HEAP8[$1 >> 0] | 0) + -48 | 0) >>> 0 < 10) : 0) { + $4 = $1; while (1) { - HEAP8[$$03637$us >> 0] = HEAP8[$14 + $$03338$us >> 0] | 0; - HEAP8[$$03637$us + 1 >> 0] = HEAP8[$17 + $$03338$us >> 0] | 0; - HEAP8[$$03637$us + 2 >> 0] = HEAP8[$20 + $$03338$us >> 0] | 0; - $$03338$us = $$03338$us + 1 | 0; - if (($$03338$us | 0) == ($6 | 0)) break; else $$03637$us = $$03637$us + 3 | 0; + if (!(__ZNK12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E7numLeftEv($this) | 0)) break; + if (((HEAP8[$4 >> 0] | 0) + -48 | 0) >>> 0 >= 10) break; + $incdec$ptr = $4 + 1 | 0; + HEAP32[$this >> 2] = $incdec$ptr; + $4 = $incdec$ptr; } - if (($$in$looptemp | 0) <= 1) break; else $$03439$us = $$03439$us + 4 | 0; - } + __ZN12_GLOBAL__N_110StringViewC2EPKcS2_($agg$result, $0, $4); + } else __ZN12_GLOBAL__N_110StringViewC2Ev($agg$result); return; } -function __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE11do_get_dateES4_S4_RNS_8ios_baseERjP2tm($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$byval_copy = 0, $$byval_copy1 = 0, $12 = 0, $16 = 0, $17 = 0, $22 = 0, $24 = 0, $25 = 0, $6 = 0, $7 = 0, $8 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy1 = sp + 12 | 0; - $$byval_copy = sp + 8 | 0; - $6 = sp + 4 | 0; - $7 = sp; - $8 = $0 + 8 | 0; - $12 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$8 >> 2] | 0) + 20 >> 2] & 127]($8) | 0; - HEAP32[$6 >> 2] = HEAP32[$1 >> 2]; - HEAP32[$7 >> 2] = HEAP32[$2 >> 2]; - $16 = HEAP8[$12 + 11 >> 0] | 0; - $17 = $16 << 24 >> 24 < 0; - $22 = $17 ? HEAP32[$12 >> 2] | 0 : $12; - $24 = $22 + ($17 ? HEAP32[$12 + 4 >> 2] | 0 : $16 & 255) | 0; - HEAP32[$$byval_copy >> 2] = HEAP32[$6 >> 2]; - HEAP32[$$byval_copy1 >> 2] = HEAP32[$7 >> 2]; - $25 = __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE3getES4_S4_RNS_8ios_baseERjP2tmPKcSC_($0, $$byval_copy, $$byval_copy1, $3, $4, $5, $22, $24) | 0; - STACKTOP = sp; - return $25 | 0; -} - -function _jpeg_read_scanlines($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$0 = 0, $12 = 0, $13 = 0, $15 = 0, $17 = 0, $22 = 0, $3 = 0, $31 = 0, $5 = 0, $7 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $3 = sp; - $5 = HEAP32[$0 + 20 >> 2] | 0; - if (($5 | 0) != 205) { - $7 = HEAP32[$0 >> 2] | 0; - HEAP32[$7 + 20 >> 2] = 21; - HEAP32[$7 + 24 >> 2] = $5; - FUNCTION_TABLE_vi[HEAP32[HEAP32[$0 >> 2] >> 2] & 255]($0); - } - $12 = $0 + 140 | 0; - $13 = HEAP32[$12 >> 2] | 0; - $15 = HEAP32[$0 + 116 >> 2] | 0; - if ($13 >>> 0 >= $15 >>> 0) { - $17 = HEAP32[$0 >> 2] | 0; - HEAP32[$17 + 20 >> 2] = 126; - FUNCTION_TABLE_vii[HEAP32[$17 + 4 >> 2] & 255]($0, -1); - $$0 = 0; - STACKTOP = sp; - return $$0 | 0; - } - $22 = HEAP32[$0 + 8 >> 2] | 0; - if ($22 | 0) { - HEAP32[$22 + 4 >> 2] = $13; - HEAP32[$22 + 8 >> 2] = $15; - FUNCTION_TABLE_vi[HEAP32[$22 >> 2] & 255]($0); +function __ZNK6vision21HoughSimilarityVoting12mapVoteToBinERfS1_S1_S1_ffff($this, $fBinX, $fBinY, $fBinAngle, $fBinScale, $x, $y, $angle, $scale) { + $this = $this | 0; + $fBinX = $fBinX | 0; + $fBinY = $fBinY | 0; + $fBinAngle = $fBinAngle | 0; + $fBinScale = $fBinScale | 0; + $x = +$x; + $y = +$y; + $angle = +$angle; + $scale = +$scale; + var $1 = 0.0, $4 = 0.0, $8 = 0.0, $conv = 0.0, $conv15 = 0.0, $conv4 = 0.0, $mul = 0.0, $mul20 = 0.0, $mul9 = 0.0; + $conv = +(HEAP32[$this + 52 >> 2] | 0); + $1 = +HEAPF32[$this + 20 >> 2]; + $mul = +__ZN6vision12SafeDivisionIfEET_S1_S1_($x - $1, +HEAPF32[$this + 24 >> 2] - $1) * $conv; + HEAPF32[$fBinX >> 2] = $mul; + $conv4 = +(HEAP32[$this + 56 >> 2] | 0); + $4 = +HEAPF32[$this + 28 >> 2]; + $mul9 = +__ZN6vision12SafeDivisionIfEET_S1_S1_($y - $4, +HEAPF32[$this + 32 >> 2] - $4) * $conv4; + HEAPF32[$fBinY >> 2] = $mul9; + HEAPF32[$fBinAngle >> 2] = ($angle + 3.141592653589793) * .15915494309189535 * +(HEAP32[$this + 60 >> 2] | 0); + $conv15 = +(HEAP32[$this + 64 >> 2] | 0); + $8 = +HEAPF32[$this + 36 >> 2]; + $mul20 = +__ZN6vision12SafeDivisionIfEET_S1_S1_($scale - $8, +HEAPF32[$this + 40 >> 2] - $8) * $conv15; + HEAPF32[$fBinScale >> 2] = $mul20; + return; +} + +function _use_merged_upsample($cinfo) { + $cinfo = $cinfo | 0; + var $13 = 0, $17 = 0, $6 = 0; + if (HEAP32[$cinfo + 308 >> 2] | 0) return 0; + switch (HEAP32[$cinfo + 40 >> 2] | 0) { + case 7: + case 3: + break; + default: + return 0; } - HEAP32[$3 >> 2] = 0; - FUNCTION_TABLE_viiii[HEAP32[(HEAP32[$0 + 448 >> 2] | 0) + 4 >> 2] & 31]($0, $1, $3, $2); - $31 = HEAP32[$3 >> 2] | 0; - HEAP32[$12 >> 2] = (HEAP32[$12 >> 2] | 0) + $31; - $$0 = $31; - STACKTOP = sp; - return $$0 | 0; + if ((HEAP32[$cinfo + 36 >> 2] | 0) != 3) return 0; + if ((HEAP32[$cinfo + 44 >> 2] | 0) != 2) return 0; + if ((HEAP32[$cinfo + 120 >> 2] | 0) != 3) return 0; + if (HEAP32[$cinfo + 304 >> 2] | 0) return 0; + $6 = HEAP32[$cinfo + 216 >> 2] | 0; + if ((HEAP32[$6 + 8 >> 2] | 0) != 2) return 0; + if ((HEAP32[$6 + 96 >> 2] | 0) != 1) return 0; + if ((HEAP32[$6 + 184 >> 2] | 0) != 1) return 0; + if ((HEAP32[$6 + 12 >> 2] | 0) > 2) return 0; + if ((HEAP32[$6 + 100 >> 2] | 0) != 1) return 0; + if ((HEAP32[$6 + 188 >> 2] | 0) != 1) return 0; + $13 = HEAP32[$6 + 36 >> 2] | 0; + if (($13 | 0) != (HEAP32[$cinfo + 324 >> 2] | 0)) return 0; + if ((HEAP32[$6 + 124 >> 2] | 0) != ($13 | 0)) return 0; + if ((HEAP32[$6 + 212 >> 2] | 0) != ($13 | 0)) return 0; + $17 = HEAP32[$6 + 40 >> 2] | 0; + if (($17 | 0) != (HEAP32[$cinfo + 328 >> 2] | 0)) return 0; + if ((HEAP32[$6 + 128 >> 2] | 0) == ($17 | 0)) return (HEAP32[$6 + 216 >> 2] | 0) == ($17 | 0) | 0; else return 0; + return 0; } -function __ZNK12_GLOBAL__N_116itanium_demangle13EnclosingExpr9printLeftERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $10 = 0, $11 = 0, $18 = 0, $2 = 0, $23 = 0, $24 = 0, $3 = 0, $5 = 0, $tmpcast4$byval_copy = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $tmpcast4$byval_copy = sp + 16 | 0; - $2 = sp + 8 | 0; - $3 = sp; - $5 = $0 + 8 | 0; - $10 = HEAP32[$5 + 4 >> 2] | 0; - $11 = $2; - HEAP32[$11 >> 2] = HEAP32[$5 >> 2]; - HEAP32[$11 + 4 >> 2] = $10; - HEAP32[$tmpcast4$byval_copy >> 2] = HEAP32[$2 >> 2]; - HEAP32[$tmpcast4$byval_copy + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $tmpcast4$byval_copy); - __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(HEAP32[$0 + 16 >> 2] | 0, $1); - $18 = $0 + 20 | 0; - $23 = HEAP32[$18 + 4 >> 2] | 0; - $24 = $3; - HEAP32[$24 >> 2] = HEAP32[$18 >> 2]; - HEAP32[$24 + 4 >> 2] = $23; - HEAP32[$tmpcast4$byval_copy >> 2] = HEAP32[$3 >> 2]; - HEAP32[$tmpcast4$byval_copy + 4 >> 2] = HEAP32[$3 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $tmpcast4$byval_copy); - STACKTOP = sp; - return; -} - -function _EX($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $$039 = 0, $$040 = 0, $$041 = 0, $$043 = 0, $$1 = 0, $$142 = 0, $$2 = 0, $23 = 0.0, $25 = 0, $3 = 0, $5 = 0; - $3 = HEAP32[$0 + 4 >> 2] | 0; - $5 = HEAP32[$0 + 8 >> 2] | 0; - L1 : do if (!(($3 | 0) < 1 | ($5 | 0) < 1) ? (HEAP32[$1 + 4 >> 2] | 0) == ($5 | 0) : 0) { - $$039 = 0; - while (1) { - if (($$039 | 0) == ($5 | 0)) break; - HEAPF64[(HEAP32[$1 >> 2] | 0) + ($$039 << 3) >> 3] = 0.0; - $$039 = $$039 + 1 | 0; +function _atoi($s) { + $s = $s | 0; + var $conv1 = 0, $conv58$pre$phiZ2D = 0, $incdec$ptr = 0, $n$0$lcssa = 0, $n$012 = 0, $neg$0 = 0, $neg$1 = 0, $s$addr$0 = 0, $s$addr$1 = 0, $s$addr$211 = 0, $sub11 = 0, label = 0; + $s$addr$0 = $s; + while (1) { + $incdec$ptr = $s$addr$0 + 1 | 0; + if (!(_isspace(HEAP8[$s$addr$0 >> 0] | 0) | 0)) break; else $s$addr$0 = $incdec$ptr; + } + $conv1 = HEAP8[$s$addr$0 >> 0] | 0; + switch ($conv1 | 0) { + case 45: + { + $neg$0 = 1; + label = 5; + break; } - $$041 = HEAP32[$0 >> 2] | 0; - $$1 = 0; - while (1) { - if (($$1 | 0) == ($3 | 0)) break; - $$0 = 0; - $$043 = HEAP32[$1 >> 2] | 0; - $$142 = $$041; - while (1) { - if (($$0 | 0) == ($5 | 0)) break; - HEAPF64[$$043 >> 3] = +HEAPF64[$$142 >> 3] + +HEAPF64[$$043 >> 3]; - $$0 = $$0 + 1 | 0; - $$043 = $$043 + 8 | 0; - $$142 = $$142 + 8 | 0; - } - $$041 = $$041 + ($5 << 3) | 0; - $$1 = $$1 + 1 | 0; + case 43: + { + $neg$0 = 0; + label = 5; + break; } - $23 = +($3 | 0); - $$2 = 0; + default: + { + $conv58$pre$phiZ2D = $conv1; + $neg$1 = 0; + $s$addr$1 = $s$addr$0; + } + } + if ((label | 0) == 5) { + $conv58$pre$phiZ2D = HEAP8[$incdec$ptr >> 0] | 0; + $neg$1 = $neg$0; + $s$addr$1 = $incdec$ptr; + } + if (!(_isdigit($conv58$pre$phiZ2D) | 0)) $n$0$lcssa = 0; else { + $n$012 = 0; + $s$addr$211 = $s$addr$1; while (1) { - if (($$2 | 0) == ($5 | 0)) { - $$040 = 0; - break L1; - } - $25 = (HEAP32[$1 >> 2] | 0) + ($$2 << 3) | 0; - HEAPF64[$25 >> 3] = +HEAPF64[$25 >> 3] / $23; - $$2 = $$2 + 1 | 0; + $sub11 = ($n$012 * 10 | 0) + 48 - (HEAP8[$s$addr$211 >> 0] | 0) | 0; + $s$addr$211 = $s$addr$211 + 1 | 0; + if (!(_isdigit(HEAP8[$s$addr$211 >> 0] | 0) | 0)) { + $n$0$lcssa = $sub11; + break; + } else $n$012 = $sub11; } - } else $$040 = -1; while (0); - return $$040 | 0; + } + return (($neg$1 | 0) == 0 ? 0 - $n$0$lcssa | 0 : $n$0$lcssa) | 0; } -function __ZNSt3__215basic_streambufIcNS_11char_traitsIcEEE6xsputnEPKcl($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$0 = 0, $$0$be = 0, $$021 = 0, $$021$be = 0, $$sroa$speculated = 0, $12 = 0, $14 = 0, $21 = 0, $22 = 0, $3 = 0, $4 = 0, $5 = 0, $7 = 0, $8 = 0; - $3 = __ZNSt3__211char_traitsIcE3eofEv() | 0; - $4 = $0 + 24 | 0; - $5 = $0 + 28 | 0; - $$0 = $1; - $$021 = 0; - while (1) { - if (($$021 | 0) >= ($2 | 0)) break; - $7 = HEAP32[$4 >> 2] | 0; - $8 = HEAP32[$5 >> 2] | 0; - if ($7 >>> 0 < $8 >>> 0) { - $21 = $8 - $7 | 0; - $22 = $2 - $$021 | 0; - $$sroa$speculated = ($22 | 0) < ($21 | 0) ? $22 : $21; - __ZNSt3__211char_traitsIcE4copyEPcPKcm($7, $$0, $$sroa$speculated) | 0; - HEAP32[$4 >> 2] = (HEAP32[$4 >> 2] | 0) + $$sroa$speculated; - $$0$be = $$0 + $$sroa$speculated | 0; - $$021$be = $$sroa$speculated + $$021 | 0; - } else { - $12 = HEAP32[(HEAP32[$0 >> 2] | 0) + 52 >> 2] | 0; - $14 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$$0 >> 0] | 0) | 0; - if ((FUNCTION_TABLE_iii[$12 & 127]($0, $14) | 0) == ($3 | 0)) break; - $$0$be = $$0 + 1 | 0; - $$021$be = $$021 + 1 | 0; +function __ZNSt3__219__double_or_nothingIcEEvRNS_10unique_ptrIT_PFvPvEEERPS2_S9_($__b, $__n, $__e) { + $__b = $__b | 0; + $__n = $__n | 0; + $__e = $__e | 0; + var $$pr = 0, $2 = 0, $3 = 0, $8 = 0, $__value_$i$i$i = 0, $call16 = 0, $cmp = 0, $mul4 = 0, $sub$ptr$rhs$cast = 0, $sub$ptr$sub = 0, $sub$ptr$sub10 = 0; + $__value_$i$i$i = $__b + 4 | 0; + $cmp = (HEAP32[$__value_$i$i$i >> 2] | 0) != 214; + $2 = HEAP32[$__b >> 2] | 0; + $sub$ptr$rhs$cast = $2; + $sub$ptr$sub = (HEAP32[$__e >> 2] | 0) - $sub$ptr$rhs$cast | 0; + $mul4 = $sub$ptr$sub << 1; + $3 = $sub$ptr$sub >>> 0 < 2147483647 ? (($mul4 | 0) == 0 ? 1 : $mul4) : -1; + $sub$ptr$sub10 = (HEAP32[$__n >> 2] | 0) - $sub$ptr$rhs$cast | 0; + $call16 = _realloc($cmp ? $2 : 0, $3) | 0; + if (!$call16) __ZSt17__throw_bad_allocv(); + if (!$cmp) { + $$pr = HEAP32[$__b >> 2] | 0; + HEAP32[$__b >> 2] = $call16; + if (!$$pr) $8 = $call16; else { + FUNCTION_TABLE_vi[HEAP32[$__value_$i$i$i >> 2] & 255]($$pr); + $8 = HEAP32[$__b >> 2] | 0; } - $$0 = $$0$be; - $$021 = $$021$be; + } else { + HEAP32[$__b >> 2] = $call16; + $8 = $call16; } - return $$021 | 0; + HEAP32[$__value_$i$i$i >> 2] = 215; + HEAP32[$__n >> 2] = $8 + $sub$ptr$sub10; + HEAP32[$__e >> 2] = (HEAP32[$__b >> 2] | 0) + $3; + return; } -function __ZNK12_GLOBAL__N_116itanium_demangle15UnnamedTypeName9printLeftERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$byval_copy1 = 0, $11 = 0, $12 = 0, $2 = 0, $3 = 0, $4 = 0, $6 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $$byval_copy1 = sp + 24 | 0; - $2 = sp + 16 | 0; - $3 = sp; - $4 = sp + 8 | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($2, 55313); - HEAP32[$$byval_copy1 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy1 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy1); - $6 = $0 + 8 | 0; - $11 = HEAP32[$6 + 4 >> 2] | 0; - $12 = $3; - HEAP32[$12 >> 2] = HEAP32[$6 >> 2]; - HEAP32[$12 + 4 >> 2] = $11; - HEAP32[$$byval_copy1 >> 2] = HEAP32[$3 >> 2]; - HEAP32[$$byval_copy1 + 4 >> 2] = HEAP32[$3 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy1); - __ZN12_GLOBAL__N_110StringViewC2EPKc($4, 55322); - HEAP32[$$byval_copy1 >> 2] = HEAP32[$4 >> 2]; - HEAP32[$$byval_copy1 + 4 >> 2] = HEAP32[$4 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy1); - STACKTOP = sp; - return; -} - -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle12FunctionTypeEJRPNS2_4NodeERNS2_9NodeArrayERNS2_10QualifiersERNS2_15FunctionRefQualES6_EEEPT_DpOT0_($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $14 = 0, $15 = 0, $19 = 0, $20 = 0, $21 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $tmpcast$byval_copy = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $tmpcast$byval_copy = sp + 8 | 0; - $6 = sp; - $7 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 32) | 0; - $8 = HEAP32[$1 >> 2] | 0; - $9 = $2; - $14 = HEAP32[$9 + 4 >> 2] | 0; - $15 = $6; - HEAP32[$15 >> 2] = HEAP32[$9 >> 2]; - HEAP32[$15 + 4 >> 2] = $14; - $19 = HEAP32[$3 >> 2] | 0; - $20 = HEAP8[$4 >> 0] | 0; - $21 = HEAP32[$5 >> 2] | 0; - HEAP32[$tmpcast$byval_copy >> 2] = HEAP32[$6 >> 2]; - HEAP32[$tmpcast$byval_copy + 4 >> 2] = HEAP32[$6 + 4 >> 2]; - __ZN12_GLOBAL__N_116itanium_demangle12FunctionTypeC2EPKNS0_4NodeENS0_9NodeArrayENS0_10QualifiersENS0_15FunctionRefQualES4_($7, $8, $tmpcast$byval_copy, $19, $20, $21); - STACKTOP = sp; - return $7 | 0; -} - -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseBinaryExprENS_10StringViewE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $$1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $7 = 0, sp = 0; +function __ZN6vision6Logger5writeENS_19LoggerPriorityLevelEPKcz($this, $level, $fmt, $varargs) { + $this = $this | 0; + $level = $level | 0; + $fmt = $fmt | 0; + $varargs = $varargs | 0; + var $arg_list = 0, $ref$tmp = 0, $ref$tmp3 = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $2 = sp + 4 | 0; - $3 = sp; - $4 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0; - $5 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseExprEv($4) | 0; - HEAP32[$2 >> 2] = $5; - if (!$5) $$1 = 0; else { - $7 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseExprEv($4) | 0; - HEAP32[$3 >> 2] = $7; - if (!$7) $$0 = 0; else $$0 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_10BinaryExprEJRPNS0_4NodeERNS_10StringViewESA_EEES9_DpOT0_($0, $2, $1, $3) | 0; - $$1 = $$0; - } + STACKTOP = STACKTOP + 48 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); + $arg_list = sp; + $ref$tmp = sp + 28 | 0; + $ref$tmp3 = sp + 16 | 0; + HEAP32[$arg_list >> 2] = $varargs; + HEAP32[$ref$tmp3 >> 2] = 0; + HEAP32[$ref$tmp3 + 4 >> 2] = 0; + HEAP32[$ref$tmp3 + 8 >> 2] = 0; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm($ref$tmp3, $fmt, __ZNSt3__211char_traitsIcE6lengthEPKc($fmt) | 0); + __ZN6vision6detail23create_formatted_stringERKNSt3__212basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEPi($ref$tmp, $ref$tmp3, $arg_list); + __ZN6vision6Logger5writeENS_19LoggerPriorityLevelERKNSt3__212basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE($this, $level, $ref$tmp); + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($ref$tmp); + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($ref$tmp3); STACKTOP = sp; - return $$1 | 0; + return; } -function __ZNSt3__26vectorIiNS_9allocatorIiEEE21__push_back_slow_pathIRKiEEvOT_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $14 = 0, $15 = 0, $19 = 0, $2 = 0, $24 = 0, $25 = 0, $3 = 0, $8 = 0, $9 = 0, sp = 0; +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle15PixelVectorTypeEJRNS_10StringViewEEEEPT_DpOT0_($this, $args) { + $this = $this | 0; + $args = $args | 0; + var $0 = 0, $5 = 0, $6 = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, $agg$tmp2 = 0, $call = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 32 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $2 = sp; - $3 = $0 + 4 | 0; - $8 = ((HEAP32[$3 >> 2] | 0) - (HEAP32[$0 >> 2] | 0) >> 2) + 1 | 0; - $9 = __ZNKSt3__26vectorIiNS_9allocatorIiEEE8max_sizeEv($0) | 0; - if ($9 >>> 0 < $8 >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv($0); else { - $14 = HEAP32[$0 >> 2] | 0; - $15 = (HEAP32[$0 + 8 >> 2] | 0) - $14 | 0; - $19 = $15 >> 1; - __ZNSt3__214__split_bufferIiRNS_9allocatorIiEEEC2EmmS3_($2, $15 >> 2 >>> 0 < $9 >>> 1 >>> 0 ? ($19 >>> 0 < $8 >>> 0 ? $8 : $19) : $9, (HEAP32[$3 >> 2] | 0) - $14 >> 2, $0 + 8 | 0); - $24 = $2 + 8 | 0; - $25 = HEAP32[$24 >> 2] | 0; - HEAP32[$25 >> 2] = HEAP32[$1 >> 2]; - HEAP32[$24 >> 2] = $25 + 4; - __ZNSt3__26vectorIiNS_9allocatorIiEEE26__swap_out_circular_bufferERNS_14__split_bufferIiRS2_EE($0, $2); - __ZNSt3__214__split_bufferIiRNS_9allocatorIiEEED2Ev($2); - STACKTOP = sp; - return; - } + $agg$tmp$byval_copy = sp + 16 | 0; + $agg$tmp = sp + 8 | 0; + $agg$tmp2 = sp; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 16) | 0; + $0 = $args; + $5 = HEAP32[$0 + 4 >> 2] | 0; + $6 = $agg$tmp2; + HEAP32[$6 >> 2] = HEAP32[$0 >> 2]; + HEAP32[$6 + 4 >> 2] = $5; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp2 >> 2]; + HEAP32[$agg$tmp$byval_copy + 4 >> 2] = HEAP32[$agg$tmp2 + 4 >> 2]; + __ZN12_GLOBAL__N_116itanium_demangle12NodeOrStringC2ENS_10StringViewE($agg$tmp, $agg$tmp$byval_copy); + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_116itanium_demangle15PixelVectorTypeC2ENS0_12NodeOrStringE($call, $agg$tmp$byval_copy); + STACKTOP = sp; + return $call | 0; } -function __ZNK10__cxxabiv117__class_type_info9can_catchEPKNS_16__shim_type_infoERPv($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$0 = 0, $$2 = 0, $11 = 0, $12 = 0, $13 = 0, $3 = 0, $6 = 0, dest = 0, sp = 0, stop = 0; +function __ZNK12_GLOBAL__N_116itanium_demangle21CtorVtableSpecialName9printLeftERNS_12OutputStreamE($this, $S) { + $this = $this | 0; + $S = $S | 0; + var $agg$tmp = 0, $agg$tmp2 = 0, $agg$tmp2$byval_copy = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 64 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(64); - $3 = sp; - if (!(__ZL8is_equalPKSt9type_infoS1_b($0, $1, 0) | 0)) if (($1 | 0) != 0 ? ($6 = ___dynamic_cast($1, 13904, 13888, 0) | 0, ($6 | 0) != 0) : 0) { - HEAP32[$3 >> 2] = $6; - HEAP32[$3 + 4 >> 2] = 0; - HEAP32[$3 + 8 >> 2] = $0; - HEAP32[$3 + 12 >> 2] = -1; - $11 = $3 + 16 | 0; - $12 = $3 + 24 | 0; - $13 = $3 + 48 | 0; - dest = $11; - stop = dest + 36 | 0; - do { - HEAP32[dest >> 2] = 0; - dest = dest + 4 | 0; - } while ((dest | 0) < (stop | 0)); - HEAP16[$11 + 36 >> 1] = 0; - HEAP8[$11 + 38 >> 0] = 0; - HEAP32[$13 >> 2] = 1; - FUNCTION_TABLE_viiii[HEAP32[(HEAP32[$6 >> 2] | 0) + 28 >> 2] & 31]($6, $3, HEAP32[$2 >> 2] | 0, 1); - if ((HEAP32[$12 >> 2] | 0) == 1) { - HEAP32[$2 >> 2] = HEAP32[$11 >> 2]; - $$0 = 1; - } else $$0 = 0; - $$2 = $$0; - } else $$2 = 0; else $$2 = 1; + STACKTOP = STACKTOP + 32 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); + $agg$tmp2$byval_copy = sp + 16 | 0; + $agg$tmp = sp + 8 | 0; + $agg$tmp2 = sp; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, 57741); + HEAP32[$agg$tmp2$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp2$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp2$byval_copy); + __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(HEAP32[$this + 8 >> 2] | 0, $S); + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp2, 57766); + HEAP32[$agg$tmp2$byval_copy >> 2] = HEAP32[$agg$tmp2 >> 2]; + HEAP32[$agg$tmp2$byval_copy + 4 >> 2] = HEAP32[$agg$tmp2 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp2$byval_copy); + __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(HEAP32[$this + 12 >> 2] | 0, $S); STACKTOP = sp; - return $$2 | 0; + return; } -function _wcrtomb($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$0 = 0, $13 = 0, $57 = 0, $7 = 0; - do if ($0) { - if ($1 >>> 0 < 128) { - HEAP8[$0 >> 0] = $1; - $$0 = 1; - break; - } - $7 = (___pthread_self_423() | 0) + 188 | 0; - if (!(HEAP32[HEAP32[$7 >> 2] >> 2] | 0)) if (($1 & -128 | 0) == 57216) { - HEAP8[$0 >> 0] = $1; - $$0 = 1; - break; - } else { - $13 = ___errno_location() | 0; - HEAP32[$13 >> 2] = 25; - $$0 = -1; - break; - } - if ($1 >>> 0 < 2048) { - HEAP8[$0 >> 0] = $1 >>> 6 | 192; - HEAP8[$0 + 1 >> 0] = $1 & 63 | 128; - $$0 = 2; - break; - } - if ($1 >>> 0 < 55296 | ($1 & -8192 | 0) == 57344) { - HEAP8[$0 >> 0] = $1 >>> 12 | 224; - HEAP8[$0 + 1 >> 0] = $1 >>> 6 & 63 | 128; - HEAP8[$0 + 2 >> 0] = $1 & 63 | 128; - $$0 = 3; - break; - } - if (($1 + -65536 | 0) >>> 0 < 1048576) { - HEAP8[$0 >> 0] = $1 >>> 18 | 240; - HEAP8[$0 + 1 >> 0] = $1 >>> 12 & 63 | 128; - HEAP8[$0 + 2 >> 0] = $1 >>> 6 & 63 | 128; - HEAP8[$0 + 3 >> 0] = $1 & 63 | 128; - $$0 = 4; - break; - } else { - $57 = ___errno_location() | 0; - HEAP32[$57 >> 2] = 25; - $$0 = -1; +function __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE7reserveEm($this, $NewCap) { + $this = $this | 0; + $NewCap = $NewCap | 0; + var $$in = 0, $0 = 0, $Last = 0, $Last17$pre$phiZ2D = 0, $call = 0, $call3 = 0, $call9 = 0, $sub$ptr$sub$i$i = 0; + $call = __ZNK12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE4sizeEv($this) | 0; + do if (!(__ZNK12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE8isInlineEv($this) | 0)) { + $call9 = _realloc(HEAP32[$this >> 2] | 0, $NewCap << 2) | 0; + HEAP32[$this >> 2] = $call9; + if (!$call9) __ZSt9terminatev(); else { + $$in = $call9; + $Last17$pre$phiZ2D = $this + 4 | 0; break; } - } else $$0 = 1; while (0); - return $$0 | 0; + } else { + $call3 = _malloc($NewCap << 2) | 0; + if (!$call3) __ZSt9terminatev(); + $0 = HEAP32[$this >> 2] | 0; + $Last = $this + 4 | 0; + $sub$ptr$sub$i$i = (HEAP32[$Last >> 2] | 0) - $0 | 0; + if ($sub$ptr$sub$i$i | 0) _memmove($call3 | 0, $0 | 0, $sub$ptr$sub$i$i | 0) | 0; + HEAP32[$this >> 2] = $call3; + $$in = $call3; + $Last17$pre$phiZ2D = $Last; + } while (0); + HEAP32[$Last17$pre$phiZ2D >> 2] = $$in + ($call << 2); + HEAP32[$this + 8 >> 2] = $$in + ($NewCap << 2); + return; } -function __ZN12_GLOBAL__N_116itanium_demangle19parse_discriminatorEPKcS2_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$031 = 0, $$2 = 0, $$pn = 0, $13 = 0, $3 = 0, $5 = 0, $7 = 0; - L1 : do if (($0 | 0) != ($1 | 0)) { - $3 = HEAP8[$0 >> 0] | 0; - if ($3 << 24 >> 24 != 95) { - if ((($3 << 24 >> 24) + -48 | 0) >>> 0 >= 10) { - $$2 = $0; - break; - } - $$pn = $0; - while (1) { - $$pn = $$pn + 1 | 0; - if (($$pn | 0) == ($1 | 0)) { - $$2 = $1; - break L1; - } - if (((HEAP8[$$pn >> 0] | 0) + -48 | 0) >>> 0 >= 10) { - $$2 = $0; - break L1; - } - } +function _arUtilMatInvf($s, $d) { + $s = $s | 0; + $d = $d | 0; + var $2 = 0, $arrayidx10 = 0, $call = 0, $i$0 = 0, $i$1 = 0, $j$0 = 0, $j$1 = 0, $mul = 0, $mul27 = 0; + $call = _arMatrixAlloc(4, 4) | 0; + $j$0 = 0; + while (1) { + if (($j$0 | 0) == 3) break; + $mul = $j$0 << 2; + $i$0 = 0; + while (1) { + if (($i$0 | 0) == 4) break; + HEAPF64[(HEAP32[$call >> 2] | 0) + ($i$0 + $mul << 3) >> 3] = +HEAPF32[$s + ($j$0 << 4) + ($i$0 << 2) >> 2]; + $i$0 = $i$0 + 1 | 0; } - $5 = $0 + 1 | 0; - if (($5 | 0) != ($1 | 0)) { - $7 = HEAP8[$5 >> 0] | 0; - if ((($7 << 24 >> 24) + -48 | 0) >>> 0 < 10) { - $$2 = $0 + 2 | 0; - break; - } - if ($7 << 24 >> 24 == 95) { - $$031 = $0 + 2 | 0; - while (1) { - if (($$031 | 0) == ($1 | 0)) { - $$2 = $0; - break L1; - } - $13 = HEAP8[$$031 >> 0] | 0; - if ((($13 << 24 >> 24) + -48 | 0) >>> 0 >= 10) break; - $$031 = $$031 + 1 | 0; - } - return ($13 << 24 >> 24 == 95 ? $$031 + 1 | 0 : $0) | 0; - } else $$2 = $0; - } else $$2 = $0; - } else $$2 = $0; while (0); - return $$2 | 0; -} - -function __ZNSt3__214__num_put_base14__format_floatEPcPKcj($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$0 = 0, $$022 = 0, $$023$off0 = 0, $$1 = 0, $$2 = 0, $$3 = 0, $$sink = 0, $10 = 0, $11 = 0, $14 = 0, $25 = 0, $9 = 0; - if (!($2 & 2048)) $$0 = $0; else { - HEAP8[$0 >> 0] = 43; - $$0 = $0 + 1 | 0; - } - if (!($2 & 1024)) $$1 = $$0; else { - HEAP8[$$0 >> 0] = 35; - $$1 = $$0 + 1 | 0; - } - $9 = $2 & 260; - $10 = $2 & 16384; - $11 = ($9 | 0) == 260; - if ($11) { - $$023$off0 = 0; - $$2 = $$1; - } else { - HEAP8[$$1 >> 0] = 46; - HEAP8[$$1 + 1 >> 0] = 42; - $$023$off0 = 1; - $$2 = $$1 + 2 | 0; + $j$0 = $j$0 + 1 | 0; } - $$022 = $1; - $$3 = $$2; + $2 = HEAP32[$call >> 2] | 0; + $arrayidx10 = $2 + 96 | 0; + HEAP32[$arrayidx10 >> 2] = 0; + HEAP32[$arrayidx10 + 4 >> 2] = 0; + HEAP32[$arrayidx10 + 8 >> 2] = 0; + HEAP32[$arrayidx10 + 12 >> 2] = 0; + HEAP32[$arrayidx10 + 16 >> 2] = 0; + HEAP32[$arrayidx10 + 20 >> 2] = 0; + HEAPF64[$2 + 120 >> 3] = 1.0; + _arMatrixSelfInv($call) | 0; + $j$1 = 0; while (1) { - $14 = HEAP8[$$022 >> 0] | 0; - if (!($14 << 24 >> 24)) break; - HEAP8[$$3 >> 0] = $14; - $$022 = $$022 + 1 | 0; - $$3 = $$3 + 1 | 0; - } - L14 : do switch ($9 & 511) { - case 4: - { - $$sink = $10 >>> 9 & 255 ^ 102; - break; - } - case 256: - { - $$sink = $10 >>> 9 & 255 ^ 101; - break; - } - default: - { - $25 = $10 >>> 9 & 255; - if ($11) { - $$sink = $25 ^ 97; - break L14; - } else { - $$sink = $25 ^ 103; - break L14; - } + if (($j$1 | 0) == 3) break; + $mul27 = $j$1 << 2; + $i$1 = 0; + while (1) { + if (($i$1 | 0) == 4) break; + HEAPF32[$d + ($j$1 << 4) + ($i$1 << 2) >> 2] = +HEAPF64[(HEAP32[$call >> 2] | 0) + ($i$1 + $mul27 << 3) >> 3]; + $i$1 = $i$1 + 1 | 0; } - } while (0); - HEAP8[$$3 >> 0] = $$sink; - return $$023$off0 | 0; -} - -function __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6appendEPKwm($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $14 = 0, $15 = 0, $20 = 0, $21 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $3 = sp; - $4 = $0 + 8 | 0; - $5 = $4 + 3 | 0; - $6 = HEAP8[$5 >> 0] | 0; - $7 = $6 << 24 >> 24 < 0; - if ($7) { - $14 = HEAP32[$0 + 4 >> 2] | 0; - $15 = (HEAP32[$4 >> 2] & 2147483647) + -1 | 0; - } else { - $14 = $6 & 255; - $15 = 1; + $j$1 = $j$1 + 1 | 0; } - if (($15 - $14 | 0) >>> 0 >= $2 >>> 0) { - if ($2 | 0) { - if ($7) $20 = HEAP32[$0 >> 2] | 0; else $20 = $0; - __ZNSt3__211char_traitsIwE4copyEPwPKwm($20 + ($14 << 2) | 0, $1, $2) | 0; - $21 = $14 + $2 | 0; - if ((HEAP8[$5 >> 0] | 0) < 0) HEAP32[$0 + 4 >> 2] = $21; else HEAP8[$5 >> 0] = $21; - HEAP32[$3 >> 2] = 0; - __ZNSt3__211char_traitsIwE6assignERwRKw($20 + ($21 << 2) | 0, $3); - } - } else __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE21__grow_by_and_replaceEmmmmmmPKw($0, $15, $14 + $2 - $15 | 0, $14, $14, 0, $2, $1); - STACKTOP = sp; - return $0 | 0; + _arMatrixFree($call) | 0; + return 0; } -function _fflush($0) { - $0 = $0 | 0; - var $$0 = 0, $$02325 = 0, $$02327 = 0, $$024$lcssa = 0, $$02426 = 0, $$1 = 0, $12 = 0, $26 = 0, $29 = 0, $7 = 0, $phitmp = 0; - do if ($0) { - if ((HEAP32[$0 + 76 >> 2] | 0) <= -1) { - $$0 = ___fflush_unlocked($0) | 0; +function __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm8EE7reserveEm($this, $NewCap) { + $this = $this | 0; + $NewCap = $NewCap | 0; + var $$in = 0, $0 = 0, $Last = 0, $Last17$pre$phiZ2D = 0, $call = 0, $call3 = 0, $call9 = 0, $sub$ptr$sub$i$i = 0; + $call = __ZNK12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm8EE4sizeEv($this) | 0; + do if (!(__ZNK12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm8EE8isInlineEv($this) | 0)) { + $call9 = _realloc(HEAP32[$this >> 2] | 0, $NewCap << 2) | 0; + HEAP32[$this >> 2] = $call9; + if (!$call9) __ZSt9terminatev(); else { + $$in = $call9; + $Last17$pre$phiZ2D = $this + 4 | 0; break; } - $phitmp = (___lockfile($0) | 0) == 0; - $7 = ___fflush_unlocked($0) | 0; - if ($phitmp) $$0 = $7; else { - ___unlockfile($0); - $$0 = $7; - } } else { - if (!(HEAP32[4274] | 0)) $29 = 0; else $29 = _fflush(HEAP32[4274] | 0) | 0; - $12 = ___ofl_lock() | 0; - $$02325 = HEAP32[$12 >> 2] | 0; - if (!$$02325) $$024$lcssa = $29; else { - $$02327 = $$02325; - $$02426 = $29; - while (1) { - if ((HEAP32[$$02327 + 76 >> 2] | 0) > -1) $26 = ___lockfile($$02327) | 0; else $26 = 0; - if ((HEAP32[$$02327 + 20 >> 2] | 0) >>> 0 > (HEAP32[$$02327 + 28 >> 2] | 0) >>> 0) $$1 = ___fflush_unlocked($$02327) | 0 | $$02426; else $$1 = $$02426; - if ($26 | 0) ___unlockfile($$02327); - $$02327 = HEAP32[$$02327 + 56 >> 2] | 0; - if (!$$02327) { - $$024$lcssa = $$1; - break; - } else $$02426 = $$1; - } - } - ___ofl_unlock(); - $$0 = $$024$lcssa; + $call3 = _malloc($NewCap << 2) | 0; + if (!$call3) __ZSt9terminatev(); + $0 = HEAP32[$this >> 2] | 0; + $Last = $this + 4 | 0; + $sub$ptr$sub$i$i = (HEAP32[$Last >> 2] | 0) - $0 | 0; + if ($sub$ptr$sub$i$i | 0) _memmove($call3 | 0, $0 | 0, $sub$ptr$sub$i$i | 0) | 0; + HEAP32[$this >> 2] = $call3; + $$in = $call3; + $Last17$pre$phiZ2D = $Last; } while (0); - return $$0 | 0; + HEAP32[$Last17$pre$phiZ2D >> 2] = $$in + ($call << 2); + HEAP32[$this + 8 >> 2] = $$in + ($NewCap << 2); + return; } -function _use_merged_upsample($0) { - $0 = $0 | 0; - var $19 = 0, $39 = 0, $50 = 0; - if (HEAP32[$0 + 308 >> 2] | 0) return 0; - switch (HEAP32[$0 + 40 >> 2] | 0) { - case 7: - case 3: - break; - default: - return 0; +function _arUtilMatInv($s, $d) { + $s = $s | 0; + $d = $d | 0; + var $2 = 0, $arrayidx10 = 0, $call = 0, $i$0 = 0, $i$1 = 0, $j$0 = 0, $j$1 = 0, $mul = 0, $mul25 = 0; + $call = _arMatrixAlloc(4, 4) | 0; + $j$0 = 0; + while (1) { + if (($j$0 | 0) == 3) break; + $mul = $j$0 << 2; + $i$0 = 0; + while (1) { + if (($i$0 | 0) == 4) break; + HEAPF64[(HEAP32[$call >> 2] | 0) + ($i$0 + $mul << 3) >> 3] = +HEAPF64[$s + ($j$0 << 5) + ($i$0 << 3) >> 3]; + $i$0 = $i$0 + 1 | 0; + } + $j$0 = $j$0 + 1 | 0; + } + $2 = HEAP32[$call >> 2] | 0; + $arrayidx10 = $2 + 96 | 0; + HEAP32[$arrayidx10 >> 2] = 0; + HEAP32[$arrayidx10 + 4 >> 2] = 0; + HEAP32[$arrayidx10 + 8 >> 2] = 0; + HEAP32[$arrayidx10 + 12 >> 2] = 0; + HEAP32[$arrayidx10 + 16 >> 2] = 0; + HEAP32[$arrayidx10 + 20 >> 2] = 0; + HEAPF64[$2 + 120 >> 3] = 1.0; + _arMatrixSelfInv($call) | 0; + $j$1 = 0; + while (1) { + if (($j$1 | 0) == 3) break; + $mul25 = $j$1 << 2; + $i$1 = 0; + while (1) { + if (($i$1 | 0) == 4) break; + HEAPF64[$d + ($j$1 << 5) + ($i$1 << 3) >> 3] = +HEAPF64[(HEAP32[$call >> 2] | 0) + ($i$1 + $mul25 << 3) >> 3]; + $i$1 = $i$1 + 1 | 0; + } + $j$1 = $j$1 + 1 | 0; } - if ((HEAP32[$0 + 36 >> 2] | 0) != 3) return 0; - if ((HEAP32[$0 + 44 >> 2] | 0) != 2) return 0; - if ((HEAP32[$0 + 120 >> 2] | 0) != 3) return 0; - if (HEAP32[$0 + 304 >> 2] | 0) return 0; - $19 = HEAP32[$0 + 216 >> 2] | 0; - if ((HEAP32[$19 + 8 >> 2] | 0) != 2) return 0; - if ((HEAP32[$19 + 96 >> 2] | 0) != 1) return 0; - if ((HEAP32[$19 + 184 >> 2] | 0) != 1) return 0; - if ((HEAP32[$19 + 12 >> 2] | 0) > 2) return 0; - if ((HEAP32[$19 + 100 >> 2] | 0) != 1) return 0; - if ((HEAP32[$19 + 188 >> 2] | 0) != 1) return 0; - $39 = HEAP32[$19 + 36 >> 2] | 0; - if (($39 | 0) != (HEAP32[$0 + 324 >> 2] | 0)) return 0; - if ((HEAP32[$19 + 124 >> 2] | 0) != ($39 | 0)) return 0; - if ((HEAP32[$19 + 212 >> 2] | 0) != ($39 | 0)) return 0; - $50 = HEAP32[$19 + 40 >> 2] | 0; - if (($50 | 0) != (HEAP32[$0 + 328 >> 2] | 0)) return 0; - if ((HEAP32[$19 + 128 >> 2] | 0) == ($50 | 0)) return (HEAP32[$19 + 216 >> 2] | 0) == ($50 | 0) | 0; else return 0; + _arMatrixFree($call) | 0; return 0; } +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8FoldExprEJRbRNS_10StringViewERPNS2_4NodeES9_EEEPT_DpOT0_($this, $args, $args1, $args3, $args5) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + $args3 = $args3 | 0; + $args5 = $args5 | 0; + var $1 = 0, $11 = 0, $12 = 0, $6 = 0, $7 = 0, $agg$tmp = 0, $call = 0, $tmpcast$byval_copy = 0, $tobool = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $tmpcast$byval_copy = sp + 8 | 0; + $agg$tmp = sp; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 28) | 0; + $tobool = (HEAP8[$args >> 0] | 0) != 0; + $1 = $args1; + $6 = HEAP32[$1 + 4 >> 2] | 0; + $7 = $agg$tmp; + HEAP32[$7 >> 2] = HEAP32[$1 >> 2]; + HEAP32[$7 + 4 >> 2] = $6; + $11 = HEAP32[$args3 >> 2] | 0; + $12 = HEAP32[$args5 >> 2] | 0; + HEAP32[$tmpcast$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$tmpcast$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_116itanium_demangle8FoldExprC2EbNS_10StringViewEPKNS0_4NodeES5_($call, $tobool, $tmpcast$byval_copy, $11, $12); + STACKTOP = sp; + return $call | 0; +} + function _detectMarker($id) { $id = $id | 0; var $buff = 0, $call7 = 0, $id$addr = 0, $retval$0 = 0, dest = 0, sp = 0, stop = 0; @@ -84584,8 +87745,8 @@ function _detectMarker($id) { $id$addr = sp + 40 | 0; $buff = sp; HEAP32[$id$addr >> 2] = $id; - if (!(__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(65260, $id$addr) | 0)) $retval$0 = HEAP32[4224] | 0; else { - $call7 = __ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(65260, $id$addr) | 0; + if (!(__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(66108, $id$addr) | 0)) $retval$0 = HEAP32[4224] | 0; else { + $call7 = __ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(66108, $id$addr) | 0; dest = $buff; stop = dest + 40 | 0; do { @@ -84601,64 +87762,78 @@ function _detectMarker($id) { return $retval$0 | 0; } -function __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6appendEmc($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $15 = 0, $16 = 0, $21 = 0, $24 = 0, $25 = 0, $3 = 0, $5 = 0, $6 = 0, sp = 0; +function __ZNK12_GLOBAL__N_116itanium_demangle8CallExpr9printLeftERNS_12OutputStreamE($this, $S) { + $this = $this | 0; + $S = $S | 0; + var $agg$tmp = 0, $agg$tmp2 = 0, $agg$tmp2$byval_copy = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $3 = sp; - if ($1 | 0) { - $5 = $0 + 11 | 0; - $6 = HEAP8[$5 >> 0] | 0; - if ($6 << 24 >> 24 < 0) { - $15 = HEAP32[$0 + 4 >> 2] | 0; - $16 = (HEAP32[$0 + 8 >> 2] & 2147483647) + -1 | 0; - } else { - $15 = $6 & 255; - $16 = 10; - } - if (($16 - $15 | 0) >>> 0 < $1 >>> 0) { - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9__grow_byEmmmmmm($0, $16, $15 + $1 - $16 | 0, $15, $15, 0, 0); - $21 = HEAP8[$5 >> 0] | 0; - } else $21 = $6; - if ($21 << 24 >> 24 < 0) $24 = HEAP32[$0 >> 2] | 0; else $24 = $0; - __ZNSt3__211char_traitsIcE6assignEPcmc($24 + $15 | 0, $1, $2) | 0; - $25 = $15 + $1 | 0; - if ((HEAP8[$5 >> 0] | 0) < 0) HEAP32[$0 + 4 >> 2] = $25; else HEAP8[$5 >> 0] = $25; - HEAP8[$3 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc($24 + $25 | 0, $3); - } + STACKTOP = STACKTOP + 32 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); + $agg$tmp2$byval_copy = sp + 16 | 0; + $agg$tmp = sp + 8 | 0; + $agg$tmp2 = sp; + __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(HEAP32[$this + 8 >> 2] | 0, $S); + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, 52810); + HEAP32[$agg$tmp2$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp2$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp2$byval_copy); + __ZNK12_GLOBAL__N_116itanium_demangle9NodeArray14printWithCommaERNS_12OutputStreamE($this + 12 | 0, $S); + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp2, 52806); + HEAP32[$agg$tmp2$byval_copy >> 2] = HEAP32[$agg$tmp2 >> 2]; + HEAP32[$agg$tmp2$byval_copy + 4 >> 2] = HEAP32[$agg$tmp2 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp2$byval_copy); STACKTOP = sp; - return $0 | 0; + return; } -function __ZNSt3__26vectorIhNS_9allocatorIhEEE21__push_back_slow_pathIRKhEEvOT_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $13 = 0, $14 = 0, $17 = 0, $2 = 0, $21 = 0, $3 = 0, $7 = 0, $8 = 0, sp = 0; +function __ZNK12_GLOBAL__N_116itanium_demangle17VendorExtQualType9printLeftERNS_12OutputStreamE($this, $S) { + $this = $this | 0; + $S = $S | 0; + var $1 = 0, $6 = 0, $7 = 0, $agg$tmp = 0, $agg$tmp2 = 0, $tmpcast$byval_copy = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 32 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $2 = sp; - $3 = $0 + 4 | 0; - $7 = (HEAP32[$3 >> 2] | 0) - (HEAP32[$0 >> 2] | 0) + 1 | 0; - $8 = __ZNKSt3__26vectorIhNS_9allocatorIhEEE8max_sizeEv($0) | 0; - if ($8 >>> 0 < $7 >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv($0); else { - $13 = HEAP32[$0 >> 2] | 0; - $14 = (HEAP32[$0 + 8 >> 2] | 0) - $13 | 0; - $17 = $14 << 1; - __ZNSt3__214__split_bufferIhRNS_9allocatorIhEEEC2EmmS3_($2, $14 >>> 0 < $8 >>> 1 >>> 0 ? ($17 >>> 0 < $7 >>> 0 ? $7 : $17) : $8, (HEAP32[$3 >> 2] | 0) - $13 | 0, $0 + 8 | 0); - $21 = $2 + 8 | 0; - HEAP8[HEAP32[$21 >> 2] >> 0] = HEAP8[$1 >> 0] | 0; - HEAP32[$21 >> 2] = (HEAP32[$21 >> 2] | 0) + 1; - __ZNSt3__26vectorIhNS_9allocatorIhEEE26__swap_out_circular_bufferERNS_14__split_bufferIhRS2_EE($0, $2); - __ZNSt3__214__split_bufferIhRNS_9allocatorIhEEED2Ev($2); - STACKTOP = sp; - return; - } + $tmpcast$byval_copy = sp + 16 | 0; + $agg$tmp = sp + 8 | 0; + $agg$tmp2 = sp; + __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(HEAP32[$this + 8 >> 2] | 0, $S); + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, 52808); + HEAP32[$tmpcast$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$tmpcast$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $tmpcast$byval_copy); + $1 = $this + 12 | 0; + $6 = HEAP32[$1 + 4 >> 2] | 0; + $7 = $agg$tmp2; + HEAP32[$7 >> 2] = HEAP32[$1 >> 2]; + HEAP32[$7 + 4 >> 2] = $6; + HEAP32[$tmpcast$byval_copy >> 2] = HEAP32[$agg$tmp2 >> 2]; + HEAP32[$tmpcast$byval_copy + 4 >> 2] = HEAP32[$agg$tmp2 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $tmpcast$byval_copy); + STACKTOP = sp; + return; +} + +function __ZNK10__cxxabiv121__vmi_class_type_info27has_unambiguous_public_baseEPNS_19__dynamic_cast_infoEPvi($this, $info, $adjustedPtr, $path_below) { + $this = $this | 0; + $info = $info | 0; + $adjustedPtr = $adjustedPtr | 0; + $path_below = $path_below | 0; + var $1 = 0, $add$ptr = 0, $p$0 = 0, $search_done = 0; + L1 : do if (!(__ZL8is_equalPKSt9type_infoS1_b($this, HEAP32[$info + 8 >> 2] | 0, 0) | 0)) { + $1 = HEAP32[$this + 12 >> 2] | 0; + $add$ptr = $this + 16 + ($1 << 3) | 0; + __ZNK10__cxxabiv122__base_class_type_info27has_unambiguous_public_baseEPNS_19__dynamic_cast_infoEPvi($this + 16 | 0, $info, $adjustedPtr, $path_below); + if (($1 | 0) > 1) { + $search_done = $info + 54 | 0; + $p$0 = $this + 24 | 0; + do { + __ZNK10__cxxabiv122__base_class_type_info27has_unambiguous_public_baseEPNS_19__dynamic_cast_infoEPvi($p$0, $info, $adjustedPtr, $path_below); + if (HEAP8[$search_done >> 0] | 0) break L1; + $p$0 = $p$0 + 8 | 0; + } while ($p$0 >>> 0 < $add$ptr >>> 0); + } + } else __ZNK10__cxxabiv117__class_type_info24process_found_base_classEPNS_19__dynamic_cast_infoEPvi(0, $info, $adjustedPtr, $path_below); while (0); + return; } function _setMarkerInfoDir($id, $markerIndex, $dir) { @@ -84671,11 +87846,11 @@ function _setMarkerInfoDir($id, $markerIndex, $dir) { if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); $id$addr = sp; HEAP32[$id$addr >> 2] = $id; - do if (__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(65260, $id$addr) | 0) { - $arhandle = (__ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(65260, $id$addr) | 0) + 216 | 0; + do if (__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(66108, $id$addr) | 0) { + $arhandle = (__ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(66108, $id$addr) | 0) + 216 | 0; $1 = HEAP32[$arhandle >> 2] | 0; if ((HEAP32[$1 + 44 >> 2] | 0) > ($markerIndex | 0)) { - HEAP32[(($markerIndex | 0) < 0 ? 64312 : $1 + 48 + ($markerIndex << 8) | 0) + 16 >> 2] = $dir; + HEAP32[(($markerIndex | 0) < 0 ? 65160 : $1 + 48 + ($markerIndex << 8) | 0) + 16 >> 2] = $dir; $retval$1 = 0; break; } else { @@ -84687,1032 +87862,753 @@ function _setMarkerInfoDir($id, $markerIndex, $dir) { return $retval$1 | 0; } -function __ZNSt3__26vectorIN6vision12FeaturePointENS_9allocatorIS2_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS2_RS4_EE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0$i = 0, $12 = 0, $14 = 0, $15 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $3 = 0, $5 = 0, $8 = 0, $9 = 0; - $2 = HEAP32[$0 >> 2] | 0; - $3 = $0 + 4 | 0; - $5 = $1 + 4 | 0; - $$0$i = HEAP32[$3 >> 2] | 0; - while (1) { - if (($$0$i | 0) == ($2 | 0)) break; - $8 = (HEAP32[$5 >> 2] | 0) + -20 | 0; - $9 = $$0$i + -20 | 0; - HEAP32[$8 >> 2] = HEAP32[$9 >> 2]; - HEAP32[$8 + 4 >> 2] = HEAP32[$9 + 4 >> 2]; - HEAP32[$8 + 8 >> 2] = HEAP32[$9 + 8 >> 2]; - HEAP32[$8 + 12 >> 2] = HEAP32[$9 + 12 >> 2]; - HEAP32[$8 + 16 >> 2] = HEAP32[$9 + 16 >> 2]; - HEAP32[$5 >> 2] = (HEAP32[$5 >> 2] | 0) + -20; - $$0$i = $9; - } - $12 = HEAP32[$0 >> 2] | 0; - HEAP32[$0 >> 2] = HEAP32[$5 >> 2]; - HEAP32[$5 >> 2] = $12; - $14 = $1 + 8 | 0; - $15 = HEAP32[$3 >> 2] | 0; - HEAP32[$3 >> 2] = HEAP32[$14 >> 2]; - HEAP32[$14 >> 2] = $15; - $17 = $0 + 8 | 0; - $18 = $1 + 12 | 0; - $19 = HEAP32[$17 >> 2] | 0; - HEAP32[$17 >> 2] = HEAP32[$18 >> 2]; - HEAP32[$18 >> 2] = $19; - HEAP32[$1 >> 2] = HEAP32[$5 >> 2]; - return; -} - -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E12parseAbiTagsEPNS0_4NodeE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$2 = 0, $2 = 0, $3 = 0, $6 = 0, $7 = 0, label = 0, sp = 0; +function __ZNKSt3__27codecvtIwc11__mbstate_tE10do_unshiftERS1_PcS4_RS4_($this, $st, $to, $to_end, $to_nxt) { + $this = $this | 0; + $st = $st | 0; + $to = $to | 0; + $to_end = $to_end | 0; + $to_nxt = $to_nxt | 0; + var $4 = 0, $5 = 0, $call$i = 0, $call$i$i = 0, $dec = 0, $n$0 = 0, $p$0 = 0, $retval$0 = 0, $tmp = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $2 = sp; - $3 = sp + 8 | 0; - HEAP32[$2 >> 2] = $1; - $7 = $1; - while (1) { - if (!(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($0, 66) | 0)) { - $$2 = $7; - break; - } - __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E19parseBareSourceNameEv($3, $0); - if (__ZNK12_GLOBAL__N_110StringView5emptyEv($3) | 0) { - label = 5; - break; + $tmp = sp; + HEAP32[$to_nxt >> 2] = $to; + $call$i$i = ___uselocale(HEAP32[$this + 8 >> 2] | 0) | 0; + $call$i = _wcrtomb($tmp, 0, $st) | 0; + if ($call$i$i | 0) ___uselocale($call$i$i) | 0; + L4 : do if (($call$i + 1 | 0) >>> 0 >= 2) { + $dec = $call$i + -1 | 0; + if ($dec >>> 0 > ($to_end - (HEAP32[$to_nxt >> 2] | 0) | 0) >>> 0) $retval$0 = 1; else { + $n$0 = $dec; + $p$0 = $tmp; + while (1) { + if (!$n$0) { + $retval$0 = 0; + break L4; + } + $4 = HEAP8[$p$0 >> 0] | 0; + $5 = HEAP32[$to_nxt >> 2] | 0; + HEAP32[$to_nxt >> 2] = $5 + 1; + HEAP8[$5 >> 0] = $4; + $n$0 = $n$0 + -1 | 0; + $p$0 = $p$0 + 1 | 0; + } } - $6 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_10AbiTagAttrEJRPNS0_4NodeERNS_10StringViewEEEES9_DpOT0_($0, $2, $3) | 0; - HEAP32[$2 >> 2] = $6; - $7 = $6; - } - if ((label | 0) == 5) $$2 = 0; + } else $retval$0 = 2; while (0); STACKTOP = sp; - return $$2 | 0; + return $retval$0 | 0; } -function __ZN6vision14VisualDatabaseINS_14FREAKExtractorENS_18BinaryFeatureStoreENS_20BinaryFeatureMatcherILi96EEEEC2Ev($0) { - $0 = $0 | 0; - var $4 = 0, $7 = 0; - HEAP32[$0 + 12 >> 2] = 0; - HEAP32[$0 + 16 >> 2] = 0; - HEAP32[$0 + 20 >> 2] = 0; - $4 = $0 + 64 | 0; - HEAP32[$4 >> 2] = 0; - HEAP32[$4 + 4 >> 2] = 0; - HEAP32[$4 + 8 >> 2] = 0; - HEAP32[$4 + 12 >> 2] = 0; - HEAP32[$4 + 16 >> 2] = 0; - HEAP32[$4 + 20 >> 2] = 0; - HEAP32[$0 + 88 >> 2] = 1065353216; - __ZN6vision18BinomialPyramid32fC2Ev($0 + 92 | 0); - $7 = $0 + 160 | 0; - __ZN6vision25DoGScaleInvariantDetectorC2Ev($7); - __ZN6vision14FREAKExtractorC2Ev($0 + 316 | 0); - __ZN6vision20BinaryFeatureMatcherILi96EEC2Ev($0 + 636 | 0); - __ZN6vision21HoughSimilarityVotingC2Ev($0 + 652 | 0); - __ZN6vision16RobustHomographyIfEC2Efiii($0 + 788 | 0, .009999999776482582, 1024, 1064, 50); - __ZN6vision25DoGScaleInvariantDetector21setLaplacianThresholdEf($7, 3.0); - __ZN6vision25DoGScaleInvariantDetector16setEdgeThresholdEf($7, 4.0); - __ZN6vision25DoGScaleInvariantDetector22setMaxNumFeaturePointsEm($7, 500); - HEAPF32[$0 + 4 >> 2] = 3.0; - HEAP32[$0 >> 2] = 8; - HEAP8[$0 + 8 >> 0] = 1; - return; -} - -function __ZL14genBWImageHalfPhiiPiS0_($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $$0 = 0, $$041 = 0, $$042 = 0, $$043 = 0, $$044 = 0, $$1 = 0, $11 = 0, $5 = 0, $6 = 0, $8 = 0, sp = 0; +function _color_quantize3($cinfo, $input_buf, $output_buf, $num_rows) { + $cinfo = $cinfo | 0; + $input_buf = $input_buf | 0; + $output_buf = $output_buf | 0; + $num_rows = $num_rows | 0; + var $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $col$024 = 0, $ptrin$025 = 0, $ptrout$023 = 0, $row$027 = 0; + $1 = HEAP32[(HEAP32[$cinfo + 484 >> 2] | 0) + 24 >> 2] | 0; + $2 = HEAP32[$1 >> 2] | 0; + $3 = HEAP32[$1 + 4 >> 2] | 0; + $4 = HEAP32[$1 + 8 >> 2] | 0; + $5 = HEAP32[$cinfo + 112 >> 2] | 0; + if (($num_rows | 0) < 1 | ($5 | 0) == 0) return; + $row$027 = 0; + do { + $col$024 = $5; + $ptrin$025 = HEAP32[$input_buf + ($row$027 << 2) >> 2] | 0; + $ptrout$023 = HEAP32[$output_buf + ($row$027 << 2) >> 2] | 0; + while (1) { + HEAP8[$ptrout$023 >> 0] = (HEAPU8[$3 + (HEAPU8[$ptrin$025 + 1 >> 0] | 0) >> 0] | 0) + (HEAPU8[$2 + (HEAPU8[$ptrin$025 >> 0] | 0) >> 0] | 0) + (HEAPU8[$4 + (HEAPU8[$ptrin$025 + 2 >> 0] | 0) >> 0] | 0); + $col$024 = $col$024 + -1 | 0; + if (!$col$024) break; else { + $ptrin$025 = $ptrin$025 + 3 | 0; + $ptrout$023 = $ptrout$023 + 1 | 0; + } + } + $row$027 = $row$027 + 1 | 0; + } while (($row$027 | 0) != ($num_rows | 0)); + return; +} + +function __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE15__get_monthnameERiRS4_S4_RjRKNS_5ctypeIwEE($this, $__m, $__b, $__e, $__err, $__ct) { + $this = $this | 0; + $__m = $__m | 0; + $__b = $__b | 0; + $__e = $__e | 0; + $__err = $__err | 0; + $__ct = $__ct | 0; + var $add$ptr = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, $call = 0, $sub$ptr$sub = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $5 = ($1 | 0) / 2 | 0; - HEAP32[$3 >> 2] = $5; - $6 = ($2 | 0) / 2 | 0; - HEAP32[$4 >> 2] = $6; - $8 = _malloc(Math_imul($6, $5) | 0) | 0; - if (!$8) { - _arLog(0, 3, 45930, sp); - _exit(1); - } - $$0 = 0; - $$042 = $8; - while (1) { - if (($$0 | 0) >= ($6 | 0)) break; - $11 = $$0 << 1; - $$041 = 0; - $$043 = $0 + (Math_imul($11, $1) | 0) | 0; - $$044 = $0 + (Math_imul($11 | 1, $1) | 0) | 0; - $$1 = $$042; - while (1) { - if (($$041 | 0) >= ($5 | 0)) break; - HEAP8[$$1 >> 0] = ((HEAPU8[$$043 + 1 >> 0] | 0) + (HEAPU8[$$043 >> 0] | 0) + (HEAPU8[$$044 >> 0] | 0) + (HEAPU8[$$044 + 1 >> 0] | 0) | 0) >>> 2; - $$041 = $$041 + 1 | 0; - $$043 = $$043 + 2 | 0; - $$044 = $$044 + 2 | 0; - $$1 = $$1 + 1 | 0; - } - $$0 = $$0 + 1 | 0; - $$042 = $$1; - } + $agg$tmp$byval_copy = sp + 4 | 0; + $agg$tmp = sp; + $add$ptr = $this + 8 | 0; + $call = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$add$ptr >> 2] | 0) + 4 >> 2] & 127]($add$ptr) | 0; + HEAP32[$agg$tmp >> 2] = HEAP32[$__e >> 2]; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + $sub$ptr$sub = (__ZNSt3__214__scan_keywordINS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEPKNS_12basic_stringIwS3_NS_9allocatorIwEEEENS_5ctypeIwEEEET0_RT_SE_SD_SD_RKT1_Rjb($__b, $agg$tmp$byval_copy, $call, $call + 288 | 0, $__ct, $__err, 0) | 0) - $call | 0; + if (($sub$ptr$sub | 0) < 288) HEAP32[$__m >> 2] = (($sub$ptr$sub | 0) / 12 | 0 | 0) % 12 | 0; STACKTOP = sp; - return $8 | 0; + return; } -function __ZN6vision5Image11shallowCopyERKS0_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$pre$phi$iZ2D = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $24 = 0, $26 = 0, $30 = 0, $32 = 0, sp = 0; +function __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE15__get_monthnameERiRS4_S4_RjRKNS_5ctypeIcEE($this, $__m, $__b, $__e, $__err, $__ct) { + $this = $this | 0; + $__m = $__m | 0; + $__b = $__b | 0; + $__e = $__e | 0; + $__err = $__err | 0; + $__ct = $__ct | 0; + var $add$ptr = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, $call = 0, $sub$ptr$sub = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $2 = sp; - HEAP32[$0 >> 2] = HEAP32[$1 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$1 + 4 >> 2]; - HEAP32[$0 + 8 >> 2] = HEAP32[$1 + 8 >> 2]; - HEAP32[$0 + 12 >> 2] = HEAP32[$1 + 12 >> 2]; - HEAP32[$0 + 16 >> 2] = HEAP32[$1 + 16 >> 2]; - HEAP32[$0 + 20 >> 2] = HEAP32[$1 + 20 >> 2]; - $20 = $0 + 24 | 0; - $21 = HEAP32[$1 + 24 >> 2] | 0; - HEAP32[$2 >> 2] = $21; - $22 = $2 + 4 | 0; - $24 = HEAP32[$1 + 28 >> 2] | 0; - HEAP32[$22 >> 2] = $24; - if (!$24) { - $$pre$phi$iZ2D = $22; - $32 = 0; - } else { - $26 = $24 + 4 | 0; - HEAP32[$26 >> 2] = (HEAP32[$26 >> 2] | 0) + 1; - $$pre$phi$iZ2D = $22; - $32 = HEAP32[$22 >> 2] | 0; - } - HEAP32[$2 >> 2] = HEAP32[$20 >> 2]; - HEAP32[$20 >> 2] = $21; - $30 = $0 + 28 | 0; - HEAP32[$$pre$phi$iZ2D >> 2] = HEAP32[$30 >> 2]; - HEAP32[$30 >> 2] = $32; - __ZNSt3__210shared_ptrIhED2Ev($2); + $agg$tmp$byval_copy = sp + 4 | 0; + $agg$tmp = sp; + $add$ptr = $this + 8 | 0; + $call = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$add$ptr >> 2] | 0) + 4 >> 2] & 127]($add$ptr) | 0; + HEAP32[$agg$tmp >> 2] = HEAP32[$__e >> 2]; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + $sub$ptr$sub = (__ZNSt3__214__scan_keywordINS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEPKNS_12basic_stringIcS3_NS_9allocatorIcEEEENS_5ctypeIcEEEET0_RT_SE_SD_SD_RKT1_Rjb($__b, $agg$tmp$byval_copy, $call, $call + 288 | 0, $__ct, $__err, 0) | 0) - $call | 0; + if (($sub$ptr$sub | 0) < 288) HEAP32[$__m >> 2] = (($sub$ptr$sub | 0) / 12 | 0 | 0) % 12 | 0; STACKTOP = sp; return; } -function __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9__grow_byEmmmmmm($0, $1, $2, $3, $4, $5, $6) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - $6 = $6 | 0; - var $$sroa$speculated = 0, $14 = 0, $15 = 0, $20 = 0, $21 = 0, $23 = 0, $25 = 0, $31 = 0; - if ((-17 - $1 | 0) >>> 0 < $2 >>> 0) __ZNKSt3__221__basic_string_commonILb1EE20__throw_length_errorEv($0); - if ((HEAP8[$0 + 11 >> 0] | 0) < 0) $23 = HEAP32[$0 >> 2] | 0; else $23 = $0; - if ($1 >>> 0 < 2147483623) { - $14 = $2 + $1 | 0; - $15 = $1 << 1; - $$sroa$speculated = $14 >>> 0 < $15 >>> 0 ? $15 : $14; - $20 = $$sroa$speculated >>> 0 < 11 ? 11 : $$sroa$speculated + 16 & -16; - } else $20 = -17; - $21 = __Znwm($20) | 0; - if ($4 | 0) __ZNSt3__211char_traitsIcE4copyEPcPKcm($21, $23, $4) | 0; - $25 = $3 - $5 - $4 | 0; - if ($25 | 0) __ZNSt3__211char_traitsIcE4copyEPcPKcm($21 + $4 + $6 | 0, $23 + $4 + $5 | 0, $25) | 0; - $31 = $1 + 1 | 0; - if (($31 | 0) != 11) __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($23, $31); - HEAP32[$0 >> 2] = $21; - HEAP32[$0 + 8 >> 2] = $20 | -2147483648; - return; -} - -function __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6appendEPKcm($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $14 = 0, $15 = 0, $20 = 0, $21 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, sp = 0; +function __ZNKSt3__210__time_put8__do_putEPwRS1_PK2tmcc($this, $__wb, $__we, $__tm, $__fmt, $__mod) { + $this = $this | 0; + $__wb = $__wb | 0; + $__we = $__we | 0; + $__tm = $__tm | 0; + $__fmt = $__fmt | 0; + $__mod = $__mod | 0; + var $0 = 0, $__nar = 0, $__nb = 0, $__ne = 0, $call = 0, $call$i = 0, $call$i$i = 0, $mb = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 128 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(128); + $__nar = sp; + $__ne = sp + 116 | 0; + $mb = sp + 104 | 0; + $__nb = sp + 112 | 0; + HEAP32[$__ne >> 2] = $__nar + 100; + __ZNKSt3__210__time_put8__do_putEPcRS1_PK2tmcc($this, $__nar, $__ne, $__tm, $__fmt, $__mod); + $0 = $mb; + HEAP32[$0 >> 2] = 0; + HEAP32[$0 + 4 >> 2] = 0; + HEAP32[$__nb >> 2] = $__nar; + $call = __ZNSt3__212_GLOBAL__N_17countofIwEEmPKT_S4_($__wb, HEAP32[$__we >> 2] | 0) | 0; + $call$i$i = ___uselocale(HEAP32[$this >> 2] | 0) | 0; + $call$i = _mbsrtowcs($__wb, $__nb, $call, $mb) | 0; + if ($call$i$i | 0) ___uselocale($call$i$i) | 0; + if (($call$i | 0) == -1) __ZNSt3__221__throw_runtime_errorEPKc(0); else { + HEAP32[$__we >> 2] = $__wb + ($call$i << 2); + STACKTOP = sp; + return; + } +} + +function __ZL19kpmCreateHandleCoreP9ARParamLTiii($cparamLT, $xsize, $ysize, $poseMode) { + $cparamLT = $cparamLT | 0; + $xsize = $xsize | 0; + $ysize = $ysize | 0; + $poseMode = $poseMode | 0; + var $call = 0, $call1 = 0, $refDataSet = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $3 = sp; - $4 = $0 + 11 | 0; - $5 = HEAP8[$4 >> 0] | 0; - $6 = $5 << 24 >> 24 < 0; - if ($6) { - $14 = HEAP32[$0 + 4 >> 2] | 0; - $15 = (HEAP32[$0 + 8 >> 2] & 2147483647) + -1 | 0; + $call = _calloc(1, 4156) | 0; + if (!$call) { + _arLog(0, 3, 46772, sp); + _exit(1); } else { - $14 = $5 & 255; - $15 = 10; + $call1 = __Znwm(4) | 0; + __ZN6vision20VisualDatabaseFacadeC2Ev($call1); + HEAP32[$call >> 2] = $call1; + HEAP32[$call + 4 >> 2] = $cparamLT; + HEAP32[$call + 8 >> 2] = $poseMode; + HEAP32[$call + 12 >> 2] = $xsize; + HEAP32[$call + 16 >> 2] = $ysize; + HEAP32[$call + 20 >> 2] = 1; + HEAP32[$call + 24 >> 2] = -1; + $refDataSet = $call + 28 | 0; + HEAP32[$refDataSet >> 2] = 0; + HEAP32[$refDataSet + 4 >> 2] = 0; + HEAP32[$refDataSet + 8 >> 2] = 0; + HEAP32[$refDataSet + 12 >> 2] = 0; + HEAP32[$refDataSet + 16 >> 2] = 0; + HEAP32[$refDataSet + 20 >> 2] = 0; + HEAP32[$refDataSet + 24 >> 2] = 0; + HEAP32[$refDataSet + 28 >> 2] = 0; + STACKTOP = sp; + return $call | 0; } - if (($15 - $14 | 0) >>> 0 >= $2 >>> 0) { - if ($2 | 0) { - if ($6) $20 = HEAP32[$0 >> 2] | 0; else $20 = $0; - __ZNSt3__211char_traitsIcE4copyEPcPKcm($20 + $14 | 0, $1, $2) | 0; - $21 = $14 + $2 | 0; - if ((HEAP8[$4 >> 0] | 0) < 0) HEAP32[$0 + 4 >> 2] = $21; else HEAP8[$4 >> 0] = $21; - HEAP8[$3 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc($20 + $21 | 0, $3); - } - } else __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE21__grow_by_and_replaceEmmmmmmPKc($0, $15, $14 + $2 - $15 | 0, $14, $14, 0, $2, $1); - STACKTOP = sp; - return $0 | 0; + return 0; } -function _icpGetJ_U_S($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $$0 = 0, $$024 = 0, $$025 = 0, $$026 = 0, $15 = 0.0, $16 = 0.0, $4 = 0, $5 = 0, $6 = 0, $9 = 0, sp = 0; +function __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($this, $__n, $__c) { + $this = $this | 0; + $__n = $__n | 0; + $__c = $__c | 0; + var $0 = 0, $__size_$i$i = 0, $add$ptr$i = 0, $cond$i = 0, $ref$tmp$i = 0, $tobool$i$i = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 224 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(224); - $4 = sp + 48 | 0; - $5 = sp; - $6 = sp + 192 | 0; - _icpGetJ_Xc_S($4, $6, $2, $3); - L1 : do if ((_icpGetJ_U_Xc($5, $1, $6) | 0) < 0) { - _arLog(0, 3, 24733, sp + 216 | 0); - $$026 = -1; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $ref$tmp$i = sp; + $__size_$i$i = $this + 11 | 0; + $0 = HEAP8[$__size_$i$i >> 0] | 0; + $tobool$i$i = $0 << 24 >> 24 < 0; + if ($tobool$i$i) $cond$i = HEAP32[$this + 4 >> 2] | 0; else $cond$i = $0 & 255; + do if ($cond$i >>> 0 >= $__n >>> 0) if ($tobool$i$i) { + $add$ptr$i = (HEAP32[$this >> 2] | 0) + $__n | 0; + HEAP8[$ref$tmp$i >> 0] = 0; + __ZNSt3__211char_traitsIcE6assignERcRKc($add$ptr$i, $ref$tmp$i); + HEAP32[$this + 4 >> 2] = $__n; + break; } else { - $$024 = 0; - while (1) { - if (($$024 | 0) == 2) { - $$026 = 0; - break L1; - } - $$025 = 0; - while (1) { - if (($$025 | 0) == 6) break; - $9 = $0 + ($$024 * 48 | 0) + ($$025 << 3) | 0; - HEAPF64[$9 >> 3] = 0.0; - $$0 = 0; - $16 = 0.0; - while (1) { - if (($$0 | 0) == 3) break; - $15 = $16 + +HEAPF64[$5 + ($$024 * 24 | 0) + ($$0 << 3) >> 3] * +HEAPF64[$4 + ($$0 * 48 | 0) + ($$025 << 3) >> 3]; - HEAPF64[$9 >> 3] = $15; - $$0 = $$0 + 1 | 0; - $16 = $15; - } - $$025 = $$025 + 1 | 0; - } - $$024 = $$024 + 1 | 0; - } - } while (0); + HEAP8[$ref$tmp$i >> 0] = 0; + __ZNSt3__211char_traitsIcE6assignERcRKc($this + $__n | 0, $ref$tmp$i); + HEAP8[$__size_$i$i >> 0] = $__n; + break; + } else __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6appendEmc($this, $__n - $cond$i | 0, $__c) | 0; while (0); STACKTOP = sp; - return $$026 | 0; + return; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E19parseBareSourceNameEv($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $12 = 0, $17 = 0, $18 = 0, $2 = 0, $3 = 0, $5 = 0, $6 = 0, $8 = 0, label = 0, sp = 0; +function __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE17__get_weekdaynameERiRS4_S4_RjRKNS_5ctypeIwEE($this, $__w, $__b, $__e, $__err, $__ct) { + $this = $this | 0; + $__w = $__w | 0; + $__b = $__b | 0; + $__e = $__e | 0; + $__err = $__err | 0; + $__ct = $__ct | 0; + var $add$ptr = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, $call = 0, $sub$ptr$sub = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $2 = sp + 8 | 0; - $3 = sp; - HEAP32[$2 >> 2] = 0; - if (!(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E20parsePositiveIntegerEPm($1, $2) | 0) ? ($5 = __ZNK12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E7numLeftEv($1) | 0, $6 = HEAP32[$2 >> 2] | 0, $5 >>> 0 >= $6 >>> 0) : 0) { - $8 = HEAP32[$1 >> 2] | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKcS2_($3, $8, $8 + $6 | 0); - HEAP32[$1 >> 2] = (HEAP32[$1 >> 2] | 0) + $6; - $12 = $3; - $17 = HEAP32[$12 + 4 >> 2] | 0; - $18 = $0; - HEAP32[$18 >> 2] = HEAP32[$12 >> 2]; - HEAP32[$18 + 4 >> 2] = $17; - } else __ZN12_GLOBAL__N_110StringViewC2Ev($0); + $agg$tmp$byval_copy = sp + 4 | 0; + $agg$tmp = sp; + $add$ptr = $this + 8 | 0; + $call = FUNCTION_TABLE_ii[HEAP32[HEAP32[$add$ptr >> 2] >> 2] & 127]($add$ptr) | 0; + HEAP32[$agg$tmp >> 2] = HEAP32[$__e >> 2]; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + $sub$ptr$sub = (__ZNSt3__214__scan_keywordINS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEPKNS_12basic_stringIwS3_NS_9allocatorIwEEEENS_5ctypeIwEEEET0_RT_SE_SD_SD_RKT1_Rjb($__b, $agg$tmp$byval_copy, $call, $call + 168 | 0, $__ct, $__err, 0) | 0) - $call | 0; + if (($sub$ptr$sub | 0) < 168) HEAP32[$__w >> 2] = (($sub$ptr$sub | 0) / 12 | 0 | 0) % 7 | 0; STACKTOP = sp; return; } -function __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKwm($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $11 = 0, $13 = 0, $23 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, sp = 0; +function __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE17__get_weekdaynameERiRS4_S4_RjRKNS_5ctypeIcEE($this, $__w, $__b, $__e, $__err, $__ct) { + $this = $this | 0; + $__w = $__w | 0; + $__b = $__b | 0; + $__e = $__e | 0; + $__err = $__err | 0; + $__ct = $__ct | 0; + var $add$ptr = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, $call = 0, $sub$ptr$sub = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $3 = sp; - $4 = $0 + 8 | 0; - $5 = $4 + 3 | 0; - $6 = HEAP8[$5 >> 0] | 0; - $7 = $6 << 24 >> 24 < 0; - if ($7) $11 = (HEAP32[$4 >> 2] & 2147483647) + -1 | 0; else $11 = 1; - do if ($11 >>> 0 >= $2 >>> 0) { - if ($7) $13 = HEAP32[$0 >> 2] | 0; else $13 = $0; - __ZNSt3__211char_traitsIwE4moveEPwPKwm($13, $1, $2) | 0; - HEAP32[$3 >> 2] = 0; - __ZNSt3__211char_traitsIwE6assignERwRKw($13 + ($2 << 2) | 0, $3); - if ((HEAP8[$5 >> 0] | 0) < 0) { - HEAP32[$0 + 4 >> 2] = $2; - break; - } else { - HEAP8[$5 >> 0] = $2; - break; + $agg$tmp$byval_copy = sp + 4 | 0; + $agg$tmp = sp; + $add$ptr = $this + 8 | 0; + $call = FUNCTION_TABLE_ii[HEAP32[HEAP32[$add$ptr >> 2] >> 2] & 127]($add$ptr) | 0; + HEAP32[$agg$tmp >> 2] = HEAP32[$__e >> 2]; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + $sub$ptr$sub = (__ZNSt3__214__scan_keywordINS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEPKNS_12basic_stringIcS3_NS_9allocatorIcEEEENS_5ctypeIcEEEET0_RT_SE_SD_SD_RKT1_Rjb($__b, $agg$tmp$byval_copy, $call, $call + 168 | 0, $__ct, $__err, 0) | 0) - $call | 0; + if (($sub$ptr$sub | 0) < 168) HEAP32[$__w >> 2] = (($sub$ptr$sub | 0) / 12 | 0 | 0) % 7 | 0; + STACKTOP = sp; + return; +} + +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($this, $S) { + $this = $this | 0; + $S = $S | 0; + var $2 = 0, $7 = 0, $8 = 0, $agg$tmp = 0, $call2 = 0, $ref$tmp = 0, $retval$0 = 0, $tmpcast$byval_copy = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 32 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); + $tmpcast$byval_copy = sp + 16 | 0; + $ref$tmp = sp + 8 | 0; + $agg$tmp = sp; + __ZN12_GLOBAL__N_110StringViewC2EPKcS2_($ref$tmp, HEAP32[$this >> 2] | 0, HEAP32[$this + 4 >> 2] | 0); + $2 = $S; + $7 = HEAP32[$2 + 4 >> 2] | 0; + $8 = $agg$tmp; + HEAP32[$8 >> 2] = HEAP32[$2 >> 2]; + HEAP32[$8 + 4 >> 2] = $7; + HEAP32[$tmpcast$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$tmpcast$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + if (__ZNK12_GLOBAL__N_110StringView10startsWithES0_($ref$tmp, $tmpcast$byval_copy) | 0) { + $call2 = __ZNK12_GLOBAL__N_110StringView4sizeEv($S) | 0; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + $call2; + $retval$0 = 1; + } else $retval$0 = 0; + STACKTOP = sp; + return $retval$0 | 0; +} + +function __ZN6vision19downsample_bilinearEPfPKfmm($dst, $src, $src_width, $src_height) { + $dst = $dst | 0; + $src = $src | 0; + $src_width = $src_width | 0; + $src_height = $src_height | 0; + var $arrayidx = 0, $col$0 = 0, $dst$addr$0 = 0, $dst$addr$1 = 0, $row$0 = 0, $shl = 0, $shr = 0, $shr1 = 0, $src_ptr1$0 = 0, $src_ptr2$0 = 0; + $shr = $src_width >>> 1; + $shr1 = $src_height >>> 1; + $shl = $src_width << 1; + $dst$addr$0 = $dst; + $row$0 = 0; + while (1) { + if (($row$0 | 0) == ($shr1 | 0)) break; + $arrayidx = $src + ((Math_imul($shl, $row$0) | 0) << 2) | 0; + $col$0 = 0; + $dst$addr$1 = $dst$addr$0; + $src_ptr1$0 = $arrayidx; + $src_ptr2$0 = $arrayidx + ($src_width << 2) | 0; + while (1) { + if (($col$0 | 0) == ($shr | 0)) break; + HEAPF32[$dst$addr$1 >> 2] = (+HEAPF32[$src_ptr1$0 >> 2] + +HEAPF32[$src_ptr1$0 + 4 >> 2] + +HEAPF32[$src_ptr2$0 >> 2] + +HEAPF32[$src_ptr2$0 + 4 >> 2]) * .25; + $col$0 = $col$0 + 1 | 0; + $dst$addr$1 = $dst$addr$1 + 4 | 0; + $src_ptr1$0 = $src_ptr1$0 + 8 | 0; + $src_ptr2$0 = $src_ptr2$0 + 8 | 0; + } + $dst$addr$0 = $dst$addr$0 + ($shr << 2) | 0; + $row$0 = $row$0 + 1 | 0; + } + return; +} + +function _strlen($s) { + $s = $s | 0; + var $$pn = 0, $$pn24 = 0, $0 = 0, $3 = 0, $5 = 0, $incdec$ptr = 0, $incdec$ptr1323 = 0, $s$addr$0$lcssa = 0, $s$addr$015 = 0, $s$addr$1$lcssa = 0, $w$0 = 0, label = 0; + $0 = $s; + L1 : do if (!($0 & 3)) { + $s$addr$0$lcssa = $s; + label = 5; + } else { + $5 = $0; + $s$addr$015 = $s; + while (1) { + if (!(HEAP8[$s$addr$015 >> 0] | 0)) { + $$pn = $5; + break L1; + } + $incdec$ptr = $s$addr$015 + 1 | 0; + $5 = $incdec$ptr; + if (!($5 & 3)) { + $s$addr$0$lcssa = $incdec$ptr; + label = 5; + break; + } else $s$addr$015 = $incdec$ptr; } - } else { - if ($7) $23 = HEAP32[$0 + 4 >> 2] | 0; else $23 = $6 & 255; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE21__grow_by_and_replaceEmmmmmmPKw($0, $11, $2 - $11 | 0, $23, 0, $23, $2, $1); } while (0); - STACKTOP = sp; - return $0 | 0; + if ((label | 0) == 5) { + $w$0 = $s$addr$0$lcssa; + while (1) { + $3 = HEAP32[$w$0 >> 2] | 0; + if (!(($3 & -2139062144 ^ -2139062144) & $3 + -16843009)) $w$0 = $w$0 + 4 | 0; else break; + } + if (!(($3 & 255) << 24 >> 24)) $s$addr$1$lcssa = $w$0; else { + $$pn24 = $w$0; + while (1) { + $incdec$ptr1323 = $$pn24 + 1 | 0; + if (!(HEAP8[$incdec$ptr1323 >> 0] | 0)) { + $s$addr$1$lcssa = $incdec$ptr1323; + break; + } else $$pn24 = $incdec$ptr1323; + } + } + $$pn = $s$addr$1$lcssa; + } + return $$pn - $0 | 0; } -function __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6__initIPKwEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESA_SA_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$0 = 0, $$1 = 0, $$1$ph = 0, $14 = 0, $17 = 0, $3 = 0, $7 = 0, sp = 0; +function __ZN6vision20SmallestTriangleAreaIfEET_PKS1_S3_S3_S3_($x1, $x2, $x3, $x4) { + $x1 = $x1 | 0; + $x2 = $x2 | 0; + $x3 = $x3 | 0; + $x4 = $x4 | 0; + var $call = 0.0, $call12 = 0.0, $call16 = 0.0, $call9 = 0.0, $v12 = 0, $v13 = 0, $v14 = 0, $v32 = 0, $v34 = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $3 = sp; - $7 = $2 - $1 >> 2; - if ($7 >>> 0 > 1073741807) __ZNKSt3__221__basic_string_commonILb1EE20__throw_length_errorEv($0); - do if ($7 >>> 0 >= 2) { - $14 = $7 + 4 & -4; - if ($14 >>> 0 > 1073741823) _abort(); else { - $17 = __Znwm($14 << 2) | 0; - HEAP32[$0 >> 2] = $17; - HEAP32[$0 + 8 >> 2] = $14 | -2147483648; - HEAP32[$0 + 4 >> 2] = $7; - $$1$ph = $17; - break; + STACKTOP = STACKTOP + 48 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); + $v12 = sp + 32 | 0; + $v13 = sp + 24 | 0; + $v14 = sp + 16 | 0; + $v32 = sp + 8 | 0; + $v34 = sp; + __ZN6vision10SubVector2IfEEvPT_PKS1_S4_($v12, $x2, $x1); + __ZN6vision10SubVector2IfEEvPT_PKS1_S4_($v13, $x3, $x1); + __ZN6vision10SubVector2IfEEvPT_PKS1_S4_($v14, $x4, $x1); + __ZN6vision10SubVector2IfEEvPT_PKS1_S4_($v32, $x2, $x3); + __ZN6vision10SubVector2IfEEvPT_PKS1_S4_($v34, $x4, $x3); + $call = +__ZN6vision14AreaOfTriangleIfEET_PKS1_S3_($v12, $v13); + $call9 = +__ZN6vision14AreaOfTriangleIfEET_PKS1_S3_($v13, $v14); + $call12 = +__ZN6vision14AreaOfTriangleIfEET_PKS1_S3_($v12, $v14); + $call16 = +__ZN6vision4min4IfEET_S1_S1_S1_S1_($call, $call9, $call12, +__ZN6vision14AreaOfTriangleIfEET_PKS1_S3_($v32, $v34)); + STACKTOP = sp; + return +$call16; +} + +function __ZN6vision25DoGScaleInvariantDetectorC2Ev($this) { + $this = $this | 0; + var $mFeaturePoints = 0, $mOrientations = 0; + HEAP32[$this >> 2] = 0; + HEAP32[$this + 4 >> 2] = 0; + HEAP32[$this + 8 >> 2] = 10; + HEAP32[$this + 12 >> 2] = 10; + HEAP32[$this + 16 >> 2] = 0; + HEAP32[$this + 20 >> 2] = 0; + HEAP32[$this + 24 >> 2] = 0; + HEAP8[$this + 28 >> 0] = 1; + __ZN6vision10DoGPyramidC2Ev($this + 32 | 0); + HEAPF32[$this + 52 >> 2] = 0.0; + HEAPF32[$this + 56 >> 2] = 10.0; + $mFeaturePoints = $this + 60 | 0; + HEAP32[$mFeaturePoints >> 2] = 0; + HEAP32[$mFeaturePoints + 4 >> 2] = 0; + HEAP32[$mFeaturePoints + 8 >> 2] = 0; + HEAP32[$mFeaturePoints + 12 >> 2] = 0; + HEAP32[$mFeaturePoints + 16 >> 2] = 0; + HEAP32[$mFeaturePoints + 20 >> 2] = 0; + HEAPF32[$this + 88 >> 2] = 9.0; + __ZN6vision21OrientationAssignmentC2Ev($this + 92 | 0); + $mOrientations = $this + 144 | 0; + HEAP32[$mOrientations >> 2] = 0; + HEAP32[$this + 148 >> 2] = 0; + HEAP32[$this + 152 >> 2] = 0; + __ZN6vision25DoGScaleInvariantDetector22setMaxNumFeaturePointsEm($this, 5e3); + __ZNSt3__26vectorIfNS_9allocatorIfEEE6resizeEm($mOrientations, 36); + return; +} + +function _arPattDeleteHandle($pattHandle) { + $pattHandle = $pattHandle | 0; + var $add = 0, $i$0 = 0, $j$0 = 0, $mul = 0, $patt = 0, $pattBW = 0, $patt_num_max = 0, $pattf = 0, $retval$0 = 0; + if (!$pattHandle) $retval$0 = -1; else { + $patt_num_max = $pattHandle + 4 | 0; + $pattf = $pattHandle + 8 | 0; + $patt = $pattHandle + 12 | 0; + $pattBW = $pattHandle + 20 | 0; + $i$0 = 0; + while (1) { + if (($i$0 | 0) >= (HEAP32[$patt_num_max >> 2] | 0)) break; + if (HEAP32[(HEAP32[$pattf >> 2] | 0) + ($i$0 << 2) >> 2] | 0) _arPattFree($pattHandle, $i$0) | 0; + $mul = $i$0 << 2; + $j$0 = 0; + while (1) { + if (($j$0 | 0) == 4) break; + $add = $j$0 + $mul | 0; + _free(HEAP32[(HEAP32[$patt >> 2] | 0) + ($add << 2) >> 2] | 0); + _free(HEAP32[(HEAP32[$pattBW >> 2] | 0) + ($add << 2) >> 2] | 0); + $j$0 = $j$0 + 1 | 0; + } + $i$0 = $i$0 + 1 | 0; } - } else { - HEAP8[$0 + 8 + 3 >> 0] = $7; - $$1$ph = $0; - } while (0); - $$0 = $1; - $$1 = $$1$ph; - while (1) { - if (($$0 | 0) == ($2 | 0)) break; - __ZNSt3__211char_traitsIwE6assignERwRKw($$1, $$0); - $$0 = $$0 + 4 | 0; - $$1 = $$1 + 4 | 0; + _free(HEAP32[$patt >> 2] | 0); + _free(HEAP32[$pattBW >> 2] | 0); + _free(HEAP32[$pattf >> 2] | 0); + _free(HEAP32[$pattHandle + 16 >> 2] | 0); + _free(HEAP32[$pattHandle + 24 >> 2] | 0); + _free($pattHandle); + $retval$0 = 0; } - HEAP32[$3 >> 2] = 0; - __ZNSt3__211char_traitsIwE6assignERwRKw($$1, $3); - STACKTOP = sp; - return; + return $retval$0 | 0; } -function _pass2_no_dither($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $$04751 = 0, $$04853 = 0, $$04950 = 0, $$052 = 0, $19 = 0, $23 = 0, $27 = 0, $30 = 0, $31 = 0, $34 = 0, $7 = 0, $9 = 0; - $7 = HEAP32[(HEAP32[$0 + 484 >> 2] | 0) + 24 >> 2] | 0; - $9 = HEAP32[$0 + 112 >> 2] | 0; - if (($3 | 0) < 1 | ($9 | 0) == 0) return; - $$04853 = 0; - do { - $$04751 = $9; - $$04950 = HEAP32[$2 + ($$04853 << 2) >> 2] | 0; - $$052 = HEAP32[$1 + ($$04853 << 2) >> 2] | 0; - while (1) { - $19 = (HEAPU8[$$052 >> 0] | 0) >>> 3; - $23 = (HEAPU8[$$052 + 1 >> 0] | 0) >>> 2; - $27 = (HEAPU8[$$052 + 2 >> 0] | 0) >>> 3; - $30 = (HEAP32[$7 + ($19 << 2) >> 2] | 0) + ($23 << 6) + ($27 << 1) | 0; - $31 = HEAP16[$30 >> 1] | 0; - if (!($31 << 16 >> 16)) { - _fill_inverse_cmap($0, $19, $23, $27); - $34 = HEAP16[$30 >> 1] | 0; - } else $34 = $31; - HEAP8[$$04950 >> 0] = ($34 & 65535) + 255; - $$04751 = $$04751 + -1 | 0; - if (!$$04751) break; else { - $$04950 = $$04950 + 1 | 0; - $$052 = $$052 + 3 | 0; +function __ZNSt3__26vectorINS0_INS0_INS_4pairIfmEENS_9allocatorIS2_EEEENS3_IS5_EEEENS3_IS7_EEE6resizeEm($this, $__sz) { + $this = $this | 0; + $__sz = $__sz | 0; + var $0 = 0, $1 = 0, $2 = 0, $3 = 0, $__end_$i = 0, $__soon_to_be_end$0$i$i = 0, $add$ptr = 0, $incdec$ptr$i$i = 0, $sub$ptr$div$i = 0; + $__end_$i = $this + 4 | 0; + $0 = HEAP32[$__end_$i >> 2] | 0; + $1 = HEAP32[$this >> 2] | 0; + $sub$ptr$div$i = ($0 - $1 | 0) / 12 | 0; + $2 = $1; + $3 = $0; + if ($sub$ptr$div$i >>> 0 >= $__sz >>> 0) { + if ($sub$ptr$div$i >>> 0 > $__sz >>> 0) { + $add$ptr = $2 + ($__sz * 12 | 0) | 0; + $__soon_to_be_end$0$i$i = $3; + while (1) { + if (($__soon_to_be_end$0$i$i | 0) == ($add$ptr | 0)) break; + $incdec$ptr$i$i = $__soon_to_be_end$0$i$i + -12 | 0; + __ZNSt3__213__vector_baseINS_6vectorINS_4pairIfmEENS_9allocatorIS3_EEEENS4_IS6_EEED2Ev($incdec$ptr$i$i); + $__soon_to_be_end$0$i$i = $incdec$ptr$i$i; } + HEAP32[$__end_$i >> 2] = $add$ptr; } - $$04853 = $$04853 + 1 | 0; - } while (($$04853 | 0) != ($3 | 0)); + } else __ZNSt3__26vectorINS0_INS0_INS_4pairIfmEENS_9allocatorIS2_EEEENS3_IS5_EEEENS3_IS7_EEE8__appendEm($this, $__sz - $sub$ptr$div$i | 0); return; } -function __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6__initIPwEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeES9_S9_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$0 = 0, $$1 = 0, $$1$ph = 0, $14 = 0, $17 = 0, $3 = 0, $7 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $3 = sp; - $7 = $2 - $1 >> 2; - if ($7 >>> 0 > 1073741807) __ZNKSt3__221__basic_string_commonILb1EE20__throw_length_errorEv($0); - do if ($7 >>> 0 >= 2) { - $14 = $7 + 4 & -4; - if ($14 >>> 0 > 1073741823) _abort(); else { - $17 = __Znwm($14 << 2) | 0; - HEAP32[$0 >> 2] = $17; - HEAP32[$0 + 8 >> 2] = $14 | -2147483648; - HEAP32[$0 + 4 >> 2] = $7; - $$1$ph = $17; - break; +function _read_restart_marker($cinfo) { + $cinfo = $cinfo | 0; + var $0 = 0, $2 = 0, $3 = 0, $4 = 0, $marker = 0, $next_restart_num20 = 0, $retval$0 = 0, $unread_marker = 0; + $unread_marker = $cinfo + 440 | 0; + $0 = HEAP32[$unread_marker >> 2] | 0; + do if (!$0) if (!(_next_marker($cinfo) | 0)) { + $retval$0 = 0; + return $retval$0 | 0; + } else { + $3 = HEAP32[$unread_marker >> 2] | 0; + break; + } else $3 = $0; while (0); + $marker = $cinfo + 464 | 0; + $2 = HEAP32[(HEAP32[$marker >> 2] | 0) + 20 >> 2] | 0; + if (($3 | 0) != ($2 + 208 | 0)) { + if (!(FUNCTION_TABLE_iii[HEAP32[(HEAP32[$cinfo + 24 >> 2] | 0) + 20 >> 2] & 127]($cinfo, $2) | 0)) { + $retval$0 = 0; + return $retval$0 | 0; } } else { - HEAP8[$0 + 8 + 3 >> 0] = $7; - $$1$ph = $0; - } while (0); - $$0 = $1; - $$1 = $$1$ph; - while (1) { - if (($$0 | 0) == ($2 | 0)) break; - __ZNSt3__211char_traitsIwE6assignERwRKw($$1, $$0); - $$0 = $$0 + 4 | 0; - $$1 = $$1 + 4 | 0; + $4 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$4 + 20 >> 2] = 100; + HEAP32[$4 + 24 >> 2] = $2; + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$cinfo >> 2] | 0) + 4 >> 2] & 255]($cinfo, 3); + HEAP32[$unread_marker >> 2] = 0; } - HEAP32[$3 >> 2] = 0; - __ZNSt3__211char_traitsIwE6assignERwRKw($$1, $3); - STACKTOP = sp; - return; + $next_restart_num20 = (HEAP32[$marker >> 2] | 0) + 20 | 0; + HEAP32[$next_restart_num20 >> 2] = (HEAP32[$next_restart_num20 >> 2] | 0) + 1 & 7; + $retval$0 = 1; + return $retval$0 | 0; } -function _ar2MarkerCoord2ScreenCoord($0, $1, $2, $3, $4, $5) { +function ___fseeko_unlocked($f, $0, $1, $whence) { + $f = $f | 0; $0 = $0 | 0; $1 = $1 | 0; - $2 = +$2; - $3 = +$3; - $4 = $4 | 0; - $5 = $5 | 0; - var $$0 = 0, $37 = 0.0, $6 = 0, $60 = 0.0, $70 = 0.0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 48 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); - $6 = sp; - if (!$0) { - $60 = +HEAPF32[$1 + 28 >> 2] + (+HEAPF32[$1 + 16 >> 2] * $2 + +HEAPF32[$1 + 20 >> 2] * $3); - $70 = +HEAPF32[$1 + 44 >> 2] + (+HEAPF32[$1 + 32 >> 2] * $2 + +HEAPF32[$1 + 36 >> 2] * $3); - HEAPF32[$4 >> 2] = (+HEAPF32[$1 + 12 >> 2] + (+HEAPF32[$1 >> 2] * $2 + +HEAPF32[$1 + 4 >> 2] * $3)) / $70; - HEAPF32[$5 >> 2] = $60 / $70; - $$0 = 0; + $whence = $whence | 0; + var $13 = 0, $14 = 0, $6 = 0, $retval$0 = 0, $sub$ptr$sub = 0, $wbase = 0, $wpos = 0, label = 0; + if (($whence | 0) == 1) { + $sub$ptr$sub = (HEAP32[$f + 8 >> 2] | 0) - (HEAP32[$f + 4 >> 2] | 0) | 0; + $6 = _i64Subtract($0 | 0, $1 | 0, $sub$ptr$sub | 0, (($sub$ptr$sub | 0) < 0) << 31 >> 31 | 0) | 0; + $13 = $6; + $14 = getTempRet0() | 0; } else { - _arUtilMatMuldff($0 + 8 | 0, $1, $6) | 0; - $37 = +HEAPF32[$6 + 44 >> 2] + (+HEAPF32[$6 + 32 >> 2] * $2 + +HEAPF32[$6 + 36 >> 2] * $3); - $$0 = (_arParamIdeal2ObservLTf($0 + 184 | 0, (+HEAPF32[$6 + 12 >> 2] + (+HEAPF32[$6 >> 2] * $2 + +HEAPF32[$6 + 4 >> 2] * $3)) / $37, (+HEAPF32[$6 + 28 >> 2] + (+HEAPF32[$6 + 16 >> 2] * $2 + +HEAPF32[$6 + 20 >> 2] * $3)) / $37, $4, $5) | 0) >> 31; + $13 = $0; + $14 = $1; } - STACKTOP = sp; - return $$0 | 0; -} - -function __ZNK12_GLOBAL__N_116itanium_demangle15PixelVectorType9printLeftERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$byval_copy2 = 0, $2 = 0, $3 = 0, $4 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $$byval_copy2 = sp + 24 | 0; - $2 = sp + 16 | 0; - $3 = sp + 8 | 0; - $4 = sp; - __ZN12_GLOBAL__N_110StringViewC2EPKc($2, 56031); - HEAP32[$$byval_copy2 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy2 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy2); - __ZNK12_GLOBAL__N_116itanium_demangle12NodeOrString8asStringEv($3, $0 + 8 | 0); - HEAP32[$$byval_copy2 >> 2] = HEAP32[$3 >> 2]; - HEAP32[$$byval_copy2 + 4 >> 2] = HEAP32[$3 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy2); - __ZN12_GLOBAL__N_110StringViewC2EPKc($4, 51614); - HEAP32[$$byval_copy2 >> 2] = HEAP32[$4 >> 2]; - HEAP32[$$byval_copy2 + 4 >> 2] = HEAP32[$4 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy2); - STACKTOP = sp; - return; -} - -function __ZN6vision21OrientationAssignment5allocEmmiiiffif($0, $1, $2, $3, $4, $5, $6, $7, $8, $9) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - $6 = +$6; - $7 = +$7; - $8 = $8 | 0; - $9 = +$9; - var $$0 = 0, $$024 = 0, $10 = 0, $17 = 0, $21 = 0, $22 = 0, $23 = 0; - HEAP32[$0 >> 2] = $3; - $10 = $0 + 4 | 0; - HEAP32[$10 >> 2] = $4; - HEAP32[$0 + 8 >> 2] = $5; - HEAPF32[$0 + 12 >> 2] = $6; - HEAPF32[$0 + 16 >> 2] = $7; - HEAP32[$0 + 20 >> 2] = $8; - HEAPF32[$0 + 24 >> 2] = $9; - __ZNSt3__26vectorIfNS_9allocatorIfEEE6resizeEm($0 + 28 | 0, $5); - $17 = $0 + 40 | 0; - __ZNSt3__26vectorIN6vision5ImageENS_9allocatorIS2_EEE6resizeEm($17, Math_imul(HEAP32[$10 >> 2] | 0, HEAP32[$0 >> 2] | 0) | 0); - $$024 = 0; - while (1) { - if (($$024 | 0) == ($3 | 0)) break; - $21 = Math_imul($$024, $4) | 0; - $22 = $1 >>> $$024; - $23 = $2 >>> $$024; - $$0 = 0; - while (1) { - if (($$0 | 0) == ($4 | 0)) break; - __ZN6vision5Image5allocENS_9ImageTypeEmmim((HEAP32[$17 >> 2] | 0) + ($$0 + $21 << 5) | 0, 2, $22, $23, -1, 2); - $$0 = $$0 + 1 | 0; + $wpos = $f + 20 | 0; + $wbase = $f + 28 | 0; + if ((HEAP32[$wpos >> 2] | 0) >>> 0 > (HEAP32[$wbase >> 2] | 0) >>> 0 ? (FUNCTION_TABLE_iiii[HEAP32[$f + 36 >> 2] & 63]($f, 0, 0) | 0, (HEAP32[$wpos >> 2] | 0) == 0) : 0) $retval$0 = -1; else { + HEAP32[$f + 16 >> 2] = 0; + HEAP32[$wbase >> 2] = 0; + HEAP32[$wpos >> 2] = 0; + FUNCTION_TABLE_iiiii[HEAP32[$f + 40 >> 2] & 15]($f, $13, $14, $whence) | 0; + if ((getTempRet0() | 0) < 0) $retval$0 = -1; else { + HEAP32[$f + 8 >> 2] = 0; + HEAP32[$f + 4 >> 2] = 0; + HEAP32[$f >> 2] = HEAP32[$f >> 2] & -17; + $retval$0 = 0; } - $$024 = $$024 + 1 | 0; } - return; + return $retval$0 | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm8EEC2EOS4_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $10 = 0, $12 = 0, $3 = 0, $7 = 0; - __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm8EEC2Ev($0); - if (__ZNK12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm8EE8isInlineEv($1) | 0) { - $3 = __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm8EE5beginEv($1) | 0; - $7 = (__ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm8EE3endEv($1) | 0) - $3 | 0; - if ($7 | 0) _memmove(HEAP32[$0 >> 2] | 0, $3 | 0, $7 | 0) | 0; - $10 = HEAP32[$0 >> 2] | 0; - $12 = $10 + ((__ZNK12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm8EE4sizeEv($1) | 0) << 2) | 0; - HEAP32[$0 + 4 >> 2] = $12; - __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm8EE5clearEv($1); +function __ZNSt3__26locale5__imp7installEPNS0_5facetEl($this, $f, $id) { + $this = $this | 0; + $f = $f | 0; + $id = $id | 0; + var $3 = 0, $5 = 0, $6 = 0, $7 = 0, $__begin_$i9$pre$phiZZ2D = 0, $__shared_owners_$i = 0, $__shared_owners_$i6 = 0, $facets_ = 0; + $__shared_owners_$i = $f + 4 | 0; + HEAP32[$__shared_owners_$i >> 2] = (HEAP32[$__shared_owners_$i >> 2] | 0) + 1; + $facets_ = $this + 8 | 0; + $3 = HEAP32[$facets_ >> 2] | 0; + if ((HEAP32[$this + 12 >> 2] | 0) - $3 >> 2 >>> 0 > $id >>> 0) { + $5 = $3; + $__begin_$i9$pre$phiZZ2D = $facets_; } else { - HEAP32[$0 >> 2] = HEAP32[$1 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$1 + 4 >> 2]; - HEAP32[$0 + 8 >> 2] = HEAP32[$1 + 8 >> 2]; - __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm8EE11clearInlineEv($1); + __ZNSt3__26vectorIPNS_6locale5facetENS_15__sso_allocatorIS3_Lm28EEEE6resizeEm($facets_, $id + 1 | 0); + $5 = HEAP32[$facets_ >> 2] | 0; + $__begin_$i9$pre$phiZZ2D = $facets_; } + $6 = HEAP32[$5 + ($id << 2) >> 2] | 0; + if ($6 | 0 ? ($__shared_owners_$i6 = $6 + 4 | 0, $7 = HEAP32[$__shared_owners_$i6 >> 2] | 0, HEAP32[$__shared_owners_$i6 >> 2] = $7 + -1, ($7 | 0) == 0) : 0) FUNCTION_TABLE_vi[HEAP32[(HEAP32[$6 >> 2] | 0) + 8 >> 2] & 255]($6); + HEAP32[(HEAP32[$__begin_$i9$pre$phiZZ2D >> 2] | 0) + ($id << 2) >> 2] = $f; return; } -function __ZN6vision5ImageC2EPhNS_9ImageTypeEmmim($0, $1, $2, $3, $4, $5, $6) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - $6 = $6 | 0; - var $$byval_copy = 0, $$byval_copy1 = 0, $$sink = 0, $13 = 0, $8 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy1 = sp + 8 | 0; - $$byval_copy = sp + 4 | 0; - $8 = sp; - HEAP32[$0 >> 2] = $2; - HEAP32[$0 + 4 >> 2] = $3; - HEAP32[$0 + 8 >> 2] = $4; - HEAP32[$0 + 16 >> 2] = $6; - $13 = Math_imul($5, $4) | 0; - HEAP32[$0 + 20 >> 2] = $13; - HEAP32[$8 >> 2] = 0; - HEAP8[$$byval_copy >> 0] = HEAP8[sp + 12 >> 0] | 0; - HEAP32[$$byval_copy1 >> 2] = HEAP32[$8 >> 2]; - __ZNSt3__210shared_ptrIhEC2Ih16NullArrayDeleterIhEEEPT_T0_NS_9enable_ifIXsr14is_convertibleIS6_PhEE5valueENS1_5__natEE4typeE($0 + 24 | 0, $1, $$byval_copy, $$byval_copy1); - if (($5 | 0) < 0) $$sink = Math_imul(Math_imul($6, $3) | 0, __ZN6vision5Image19calculate_unit_sizeENS_9ImageTypeE($2) | 0) | 0; else $$sink = $5; - HEAP32[$0 + 12 >> 2] = $$sink; - STACKTOP = sp; - return; -} - -function _jpeg_idct_2x2($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $13 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $28 = 0, $34 = 0, $35 = 0, $36 = 0, $38 = 0, $52 = 0, $7 = 0, $9 = 0; - $7 = (HEAP32[$0 + 336 >> 2] | 0) + -384 | 0; - $9 = HEAP32[$1 + 84 >> 2] | 0; - $13 = Math_imul(HEAP32[$9 >> 2] | 0, HEAP16[$2 >> 1] | 0) | 0; - $19 = Math_imul(HEAP32[$9 + 32 >> 2] | 0, HEAP16[$2 + 16 >> 1] | 0) | 0; - $20 = $13 + 4100 | 0; - $21 = $19 + $20 | 0; - $22 = $20 - $19 | 0; - $28 = Math_imul(HEAP32[$9 + 4 >> 2] | 0, HEAP16[$2 + 2 >> 1] | 0) | 0; - $34 = Math_imul(HEAP32[$9 + 36 >> 2] | 0, HEAP16[$2 + 18 >> 1] | 0) | 0; - $35 = $34 + $28 | 0; - $36 = $28 - $34 | 0; - $38 = (HEAP32[$3 >> 2] | 0) + $4 | 0; - HEAP8[$38 >> 0] = HEAP8[$7 + (($35 + $21 | 0) >>> 3 & 1023) >> 0] | 0; - HEAP8[$38 + 1 >> 0] = HEAP8[$7 + (($21 - $35 | 0) >>> 3 & 1023) >> 0] | 0; - $52 = (HEAP32[$3 + 4 >> 2] | 0) + $4 | 0; - HEAP8[$52 >> 0] = HEAP8[$7 + (($36 + $22 | 0) >>> 3 & 1023) >> 0] | 0; - HEAP8[$52 + 1 >> 0] = HEAP8[$7 + (($22 - $36 | 0) >>> 3 & 1023) >> 0] | 0; - return; -} - -function __ZN6vision27OrthogonalizePivot8x9Basis6IfEEbPT_S2_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $11 = 0, $12 = 0, $15 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $8 = 0.0, $9 = 0.0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $2 = sp; - $3 = $0 + 216 | 0; - $4 = $0 + 180 | 0; - $5 = $1 + 216 | 0; - __ZN6vision21AccumulateProjection9IfEEvPT_PKS1_S4_($3, $4, $5); - $6 = $0 + 252 | 0; - __ZN6vision21AccumulateProjection9IfEEvPT_PKS1_S4_($6, $4, $1 + 252 | 0); - $8 = +__ZN6vision11SumSquares9IfEET_PKS1_($3); - HEAPF32[$2 >> 2] = $8; - $9 = +__ZN6vision11SumSquares9IfEET_PKS1_($6); - HEAPF32[$2 + 4 >> 2] = $9; - $11 = __ZN6vision9MaxIndex2IfEEiPKT_($2) | 0; - $12 = $2 + ($11 << 2) | 0; - if (+HEAPF32[$12 >> 2] == 0.0) $$0 = 0; else { - $15 = $11 * 9 | 0; - __ZN6vision5Swap9IfEEvPT_S2_($3, $3 + ($15 << 2) | 0); - __ZN6vision5Swap9IfEEvPT_S2_($5, $5 + ($15 << 2) | 0); - __ZN6vision12ScaleVector9IfEEvPT_PKS1_S1_($3, $3, 1.0 / +Math_sqrt(+(+HEAPF32[$12 >> 2]))); - $$0 = 1; - } - STACKTOP = sp; - return $$0 | 0; -} - -function __ZN6vision11ScopedTimerD2Ev($0) { - $0 = $0 | 0; - var $1 = 0, $13 = 0.0, $14 = 0, $2 = 0, $7 = 0, $8 = 0, $vararg_buffer = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 48 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); - $vararg_buffer = sp; - $1 = sp + 24 | 0; - __ZN6vision5Timer4stopEv($0); - $2 = __ZN6vision6Logger11getInstanceEv() | 0; - __ZN6vision15get_pretty_timeEv($1); - $7 = (HEAP8[$1 + 11 >> 0] | 0) < 0 ? HEAP32[$1 >> 2] | 0 : $1; - $8 = $0 + 16 | 0; - if ((HEAP8[$8 + 11 >> 0] | 0) < 0) $14 = HEAP32[$8 >> 2] | 0; else $14 = $8; - $13 = +__ZNK6vision5Timer24duration_in_millisecondsEv($0); - HEAP32[$vararg_buffer >> 2] = 39201; - HEAP32[$vararg_buffer + 4 >> 2] = $7; - HEAP32[$vararg_buffer + 8 >> 2] = 39209; - HEAP32[$vararg_buffer + 12 >> 2] = $14; - HEAPF64[$vararg_buffer + 16 >> 3] = $13; - __ZN6vision6Logger5writeENS_19LoggerPriorityLevelEPKcz($2, 8, 39174, $vararg_buffer); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($1); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($8); - STACKTOP = sp; - return; -} - -function __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKcm($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $11 = 0, $13 = 0, $23 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, sp = 0; +function __ZZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseNestedNameEPNS5_9NameStateEENKUlPNS0_4NodeEE_clES9_($this, $Comp) { + $this = $this | 0; + $Comp = $Comp | 0; + var $0 = 0, $1 = 0, $2 = 0, $7 = 0, $Comp$addr = 0, $call = 0, $retval$0 = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $3 = sp; - $4 = $0 + 11 | 0; - $5 = HEAP8[$4 >> 0] | 0; - $6 = $5 << 24 >> 24 < 0; - if ($6) $11 = (HEAP32[$0 + 8 >> 2] & 2147483647) + -1 | 0; else $11 = 10; - do if ($11 >>> 0 >= $2 >>> 0) { - if ($6) $13 = HEAP32[$0 >> 2] | 0; else $13 = $0; - __ZNSt3__211char_traitsIcE4moveEPcPKcm($13, $1, $2) | 0; - HEAP8[$3 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc($13 + $2 | 0, $3); - if ((HEAP8[$4 >> 0] | 0) < 0) { - HEAP32[$0 + 4 >> 2] = $2; - break; - } else { - HEAP8[$4 >> 0] = $2; + $Comp$addr = sp; + HEAP32[$Comp$addr >> 2] = $Comp; + $0 = HEAP32[$this >> 2] | 0; + if (!$Comp) $retval$0 = 0; else { + $1 = $this + 4 | 0; + $2 = HEAP32[$1 >> 2] | 0; + if (!(HEAP32[$2 >> 2] | 0)) HEAP32[$2 >> 2] = $Comp; else { + $call = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_10NestedNameEJRPNS0_4NodeESA_EEES9_DpOT0_($0, $2, $Comp$addr) | 0; + HEAP32[HEAP32[$1 >> 2] >> 2] = $call; + } + $7 = HEAP32[HEAP32[$this + 8 >> 2] >> 2] | 0; + if ($7 | 0) HEAP8[$7 + 1 >> 0] = 0; + $retval$0 = (HEAP32[HEAP32[$1 >> 2] >> 2] | 0) != 0; + } + STACKTOP = sp; + return $retval$0 | 0; +} + +function _process_data_simple_main_99($cinfo, $output_buf, $out_row_ctr, $out_rows_avail) { + $cinfo = $cinfo | 0; + $output_buf = $output_buf | 0; + $out_row_ctr = $out_row_ctr | 0; + $out_rows_avail = $out_rows_avail | 0; + var $0 = 0, $2 = 0, $7 = 0, $arraydecay = 0, $arraydecay5$pre$phiZ2D = 0, $rowgroup_ctr = 0, $rowgroups_avail = 0; + $0 = HEAP32[$cinfo + 448 >> 2] | 0; + $rowgroup_ctr = $0 + 48 | 0; + $rowgroups_avail = $0 + 52 | 0; + $2 = HEAP32[$rowgroups_avail >> 2] | 0; + do if ((HEAP32[$rowgroup_ctr >> 2] | 0) >>> 0 >= $2 >>> 0) { + $arraydecay = $0 + 8 | 0; + if (!(FUNCTION_TABLE_iii[HEAP32[(HEAP32[$cinfo + 452 >> 2] | 0) + 12 >> 2] & 127]($cinfo, $arraydecay) | 0)) return; else { + HEAP32[$rowgroup_ctr >> 2] = 0; + $7 = HEAP32[$rowgroups_avail >> 2] | 0; + $arraydecay5$pre$phiZ2D = $arraydecay; break; } } else { - if ($6) $23 = HEAP32[$0 + 4 >> 2] | 0; else $23 = $5 & 255; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE21__grow_by_and_replaceEmmmmmmPKc($0, $11, $2 - $11 | 0, $23, 0, $23, $2, $1); + $7 = $2; + $arraydecay5$pre$phiZ2D = $0 + 8 | 0; } while (0); - STACKTOP = sp; - return $0 | 0; + FUNCTION_TABLE_viiiiiii[HEAP32[(HEAP32[$cinfo + 456 >> 2] | 0) + 4 >> 2] & 7]($cinfo, $arraydecay5$pre$phiZ2D, $rowgroup_ctr, $7, $output_buf, $out_row_ctr, $out_rows_avail); + return; } -function __ZNSt3__26vectorIiNS_9allocatorIiEEE26__swap_out_circular_bufferERNS_14__split_bufferIiRS2_EEPi($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $11 = 0, $13 = 0, $15 = 0, $16 = 0, $22 = 0, $24 = 0, $26 = 0, $27 = 0, $28 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $8 = 0; - $3 = $1 + 4 | 0; - $4 = HEAP32[$3 >> 2] | 0; - $5 = HEAP32[$0 >> 2] | 0; - $6 = $2; - $8 = $6 - $5 | 0; - $11 = $4 + (0 - ($8 >> 2) << 2) | 0; - HEAP32[$3 >> 2] = $11; - if (($8 | 0) > 0) _memcpy($11 | 0, $5 | 0, $8 | 0) | 0; - $13 = $0 + 4 | 0; - $15 = $1 + 8 | 0; - $16 = (HEAP32[$13 >> 2] | 0) - $6 | 0; - if (($16 | 0) > 0) { - _memcpy(HEAP32[$15 >> 2] | 0, $2 | 0, $16 | 0) | 0; - HEAP32[$15 >> 2] = (HEAP32[$15 >> 2] | 0) + ($16 >>> 2 << 2); - } - $22 = HEAP32[$0 >> 2] | 0; - HEAP32[$0 >> 2] = HEAP32[$3 >> 2]; - HEAP32[$3 >> 2] = $22; - $24 = HEAP32[$13 >> 2] | 0; - HEAP32[$13 >> 2] = HEAP32[$15 >> 2]; - HEAP32[$15 >> 2] = $24; - $26 = $0 + 8 | 0; - $27 = $1 + 12 | 0; - $28 = HEAP32[$26 >> 2] | 0; - HEAP32[$26 >> 2] = HEAP32[$27 >> 2]; - HEAP32[$27 >> 2] = $28; - HEAP32[$1 >> 2] = HEAP32[$3 >> 2]; - return $4 | 0; +function _arImageProcLumaHistAndCDFAndPercentile($ipi, $dataPtr, $percentile, $value_p) { + $ipi = $ipi | 0; + $dataPtr = $dataPtr | 0; + $percentile = +$percentile; + $value_p = $value_p | 0; + var $2 = 0, $3 = 0, $call = 0, $conv6 = 0, $i$0 = 0, $idxprom = 0, $inc16 = 0, $j$0 = 0, $retval$0 = 0; + if (!($percentile < 0.0 | $percentile > 1.0)) { + $call = _arImageProcLumaHistAndCDF($ipi, $dataPtr) | 0; + if (($call | 0) < 0) $retval$0 = $call; else { + $conv6 = ~~(+(Math_imul(HEAP32[$ipi + 8 >> 2] | 0, HEAP32[$ipi + 4 >> 2] | 0) | 0) * $percentile) >>> 0; + $i$0 = 0; + while (1) { + $idxprom = $i$0 & 255; + $2 = HEAP32[$ipi + 1036 + ($idxprom << 2) >> 2] | 0; + if ($2 >>> 0 < $conv6 >>> 0) $i$0 = $i$0 + 1 << 24 >> 24; else break; + } + $3 = $2; + $j$0 = $i$0; + while (1) { + $inc16 = $j$0 + 1 << 24 >> 24; + if (($3 | 0) != ($conv6 | 0)) break; + $3 = HEAP32[$ipi + 1036 + (($inc16 & 255) << 2) >> 2] | 0; + $j$0 = $inc16; + } + HEAP8[$value_p >> 0] = (($j$0 & 255) + $idxprom | 0) >>> 1; + $retval$0 = 0; + } + } else $retval$0 = -1; + return $retval$0 | 0; } -function _kpmChangePageNoOfRefDataSet($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$0 = 0, $$028 = 0, $$029 = 0, $10 = 0, $12 = 0, $13 = 0, $19 = 0, $20 = 0, $5 = 0, $6 = 0, $9 = 0, sp = 0; +function __ZNSt3__26locale2id5__getEv($this) { + $this = $this | 0; + var $__p$i = 0, $indirect$arg$temp$byval_copy2D2D = 0, $indirect$arg$temp2D2D = 0, $ref$tmp = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - L1 : do if (!$0) { - _arLog(0, 3, 26474, sp); - $$029 = -1; - } else { - $5 = HEAP32[$0 + 4 >> 2] | 0; - $6 = ($1 | 0) == -1; - $$028 = 0; - while (1) { - if (($$028 | 0) >= ($5 | 0)) break; - $12 = (HEAP32[$0 >> 2] | 0) + ($$028 * 132 | 0) + 124 | 0; - $13 = HEAP32[$12 >> 2] | 0; - if (($13 | 0) == ($1 | 0) | $6 & ($13 | 0) > -1) HEAP32[$12 >> 2] = $2; - $$028 = $$028 + 1 | 0; - } - $9 = HEAP32[$0 + 12 >> 2] | 0; - $10 = $0 + 8 | 0; - $$0 = 0; - while (1) { - if (($$0 | 0) >= ($9 | 0)) { - $$029 = 0; - break L1; - } - $19 = (HEAP32[$10 >> 2] | 0) + ($$0 * 12 | 0) + 8 | 0; - $20 = HEAP32[$19 >> 2] | 0; - if (($20 | 0) == ($1 | 0) | $6 & ($20 | 0) > -1) HEAP32[$19 >> 2] = $2; - $$0 = $$0 + 1 | 0; - } - } while (0); + STACKTOP = STACKTOP + 48 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); + $indirect$arg$temp$byval_copy2D2D = sp + 32 | 0; + $__p$i = sp + 24 | 0; + $ref$tmp = sp; + $indirect$arg$temp2D2D = sp + 16 | 0; + HEAP32[$indirect$arg$temp2D2D >> 2] = 212; + HEAP32[$indirect$arg$temp2D2D + 4 >> 2] = 0; + HEAP32[$indirect$arg$temp$byval_copy2D2D >> 2] = HEAP32[$indirect$arg$temp2D2D >> 2]; + HEAP32[$indirect$arg$temp$byval_copy2D2D + 4 >> 2] = HEAP32[$indirect$arg$temp2D2D + 4 >> 2]; + __ZNSt3__212_GLOBAL__N_111__fake_bindC2EMNS_6locale2idEFvvEPS3_($ref$tmp, $indirect$arg$temp$byval_copy2D2D, $this); + if ((HEAP32[$this >> 2] | 0) != -1) { + HEAP32[$indirect$arg$temp$byval_copy2D2D >> 2] = $ref$tmp; + HEAP32[$__p$i >> 2] = $indirect$arg$temp$byval_copy2D2D; + __ZNSt3__211__call_onceERVmPvPFvS2_E($this, $__p$i, 213); + } STACKTOP = sp; - return $$029 | 0; + return (HEAP32[$this + 4 >> 2] | 0) + -1 | 0; } -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle10VectorTypeEJRPNS2_4NodeERNS_10StringViewEEEEPT_DpOT0_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$byval_copy = 0, $12 = 0, $13 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $$byval_copy = sp + 16 | 0; - $3 = sp + 8 | 0; - $4 = sp; - $5 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 20) | 0; - $6 = HEAP32[$1 >> 2] | 0; - $7 = $2; - $12 = HEAP32[$7 + 4 >> 2] | 0; - $13 = $4; - HEAP32[$13 >> 2] = HEAP32[$7 >> 2]; - HEAP32[$13 + 4 >> 2] = $12; - HEAP32[$$byval_copy >> 2] = HEAP32[$4 >> 2]; - HEAP32[$$byval_copy + 4 >> 2] = HEAP32[$4 + 4 >> 2]; - __ZN12_GLOBAL__N_116itanium_demangle12NodeOrStringC2ENS_10StringViewE($3, $$byval_copy); - HEAP32[$$byval_copy >> 2] = HEAP32[$3 >> 2]; - HEAP32[$$byval_copy + 4 >> 2] = HEAP32[$3 + 4 >> 2]; - __ZN12_GLOBAL__N_116itanium_demangle10VectorTypeC2EPKNS0_4NodeENS0_12NodeOrStringE($5, $6, $$byval_copy); - STACKTOP = sp; - return $5 | 0; -} - -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle10VectorTypeEJRPNS2_4NodeENS_10StringViewEEEEPT_DpOT0_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$byval_copy = 0, $12 = 0, $13 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $$byval_copy = sp + 16 | 0; - $3 = sp + 8 | 0; - $4 = sp; - $5 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 20) | 0; - $6 = HEAP32[$1 >> 2] | 0; - $7 = $2; - $12 = HEAP32[$7 + 4 >> 2] | 0; - $13 = $4; - HEAP32[$13 >> 2] = HEAP32[$7 >> 2]; - HEAP32[$13 + 4 >> 2] = $12; - HEAP32[$$byval_copy >> 2] = HEAP32[$4 >> 2]; - HEAP32[$$byval_copy + 4 >> 2] = HEAP32[$4 + 4 >> 2]; - __ZN12_GLOBAL__N_116itanium_demangle12NodeOrStringC2ENS_10StringViewE($3, $$byval_copy); - HEAP32[$$byval_copy >> 2] = HEAP32[$3 >> 2]; - HEAP32[$$byval_copy + 4 >> 2] = HEAP32[$3 + 4 >> 2]; - __ZN12_GLOBAL__N_116itanium_demangle10VectorTypeC2EPKNS0_4NodeENS0_12NodeOrStringE($5, $6, $$byval_copy); - STACKTOP = sp; - return $5 | 0; -} - -function _alloc_large($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$0 = 0, $11 = 0, $16 = 0, $21 = 0, $22 = 0, $24 = 0, $29 = 0, $32 = 0, $4 = 0, $6 = 0; - $4 = HEAP32[$0 + 4 >> 2] | 0; - if ($2 >>> 0 > 999999984) { - $6 = HEAP32[$0 >> 2] | 0; - HEAP32[$6 + 20 >> 2] = 56; - HEAP32[$6 + 24 >> 2] = 3; - FUNCTION_TABLE_vi[HEAP32[HEAP32[$0 >> 2] >> 2] & 255]($0); - } - $11 = $2 & 7; - $$0 = (($11 | 0) == 0 ? 0 : 8 - $11 | 0) + $2 | 0; - if ($1 >>> 0 > 1) { - $16 = HEAP32[$0 >> 2] | 0; - HEAP32[$16 + 20 >> 2] = 15; - HEAP32[$16 + 24 >> 2] = $1; - FUNCTION_TABLE_vi[HEAP32[HEAP32[$0 >> 2] >> 2] & 255]($0); - } - $21 = $$0 + 16 | 0; - $22 = _jpeg_get_large($0, $21) | 0; - if (!$22) { - $24 = HEAP32[$0 >> 2] | 0; - HEAP32[$24 + 20 >> 2] = 56; - HEAP32[$24 + 24 >> 2] = 4; - FUNCTION_TABLE_vi[HEAP32[HEAP32[$0 >> 2] >> 2] & 255]($0); - } - $29 = $4 + 76 | 0; - HEAP32[$29 >> 2] = (HEAP32[$29 >> 2] | 0) + $21; - $32 = $4 + 60 + ($1 << 2) | 0; - HEAP32[$22 >> 2] = HEAP32[$32 >> 2]; - HEAP32[$22 + 4 >> 2] = $$0; - HEAP32[$22 + 8 >> 2] = 0; - HEAP32[$32 >> 2] = $22; - return $22 + 16 | 0; -} - -function __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initIPKcEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESA_SA_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$0 = 0, $$021 = 0, $$1 = 0, $12 = 0, $13 = 0, $18 = 0, $3 = 0, $4 = 0, $6 = 0, sp = 0; +function __ZNK12_GLOBAL__N_116itanium_demangle19PointerToMemberType10printRightERNS_12OutputStreamE($this, $s) { + $this = $this | 0; + $s = $s | 0; + var $2 = 0, $MemberType = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, label = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $3 = $1; - $4 = sp; - $6 = $2 - $3 | 0; - if ($6 >>> 0 > 4294967279) __ZNKSt3__221__basic_string_commonILb1EE20__throw_length_errorEv($0); - if ($6 >>> 0 < 11) { - HEAP8[$0 + 11 >> 0] = $6; - $$021 = $0; - } else { - $12 = $6 + 16 & -16; - $13 = __Znwm($12) | 0; - HEAP32[$0 >> 2] = $13; - HEAP32[$0 + 8 >> 2] = $12 | -2147483648; - HEAP32[$0 + 4 >> 2] = $6; - $$021 = $13; - } - $18 = $2 - $3 | 0; - $$0 = $1; - $$1 = $$021; - while (1) { - if (($$0 | 0) == ($2 | 0)) break; - __ZNSt3__211char_traitsIcE6assignERcRKc($$1, $$0); - $$0 = $$0 + 1 | 0; - $$1 = $$1 + 1 | 0; + $agg$tmp$byval_copy = sp + 8 | 0; + $agg$tmp = sp; + $MemberType = $this + 12 | 0; + if (!(__ZNK12_GLOBAL__N_116itanium_demangle4Node8hasArrayERNS_12OutputStreamE(HEAP32[$MemberType >> 2] | 0, $s) | 0) ? !(__ZNK12_GLOBAL__N_116itanium_demangle4Node11hasFunctionERNS_12OutputStreamE(HEAP32[$MemberType >> 2] | 0, $s) | 0) : 0) {} else { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, 52806); + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($s, $agg$tmp$byval_copy); } - HEAP8[$4 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc($$021 + $18 | 0, $4); + $2 = HEAP32[$MemberType >> 2] | 0; + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$2 >> 2] | 0) + 20 >> 2] & 255]($2, $s); STACKTOP = sp; return; } -function __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initIPcEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeES9_S9_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$0 = 0, $$021 = 0, $$1 = 0, $12 = 0, $13 = 0, $18 = 0, $3 = 0, $4 = 0, $6 = 0, sp = 0; +function _ar2GetImageValue($cparamLT, $trans, $image, $sx, $sy, $pBW) { + $cparamLT = $cparamLT | 0; + $trans = $trans | 0; + $image = $image | 0; + $sx = +$sx; + $sy = +$sy; + $pBW = $pBW | 0; + var $1 = 0.0, $2 = 0, $3 = 0, $add23 = 0, $conv = 0, $conv12 = 0, $mx = 0, $my = 0, $retval$0 = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $3 = $1; - $4 = sp; - $6 = $2 - $3 | 0; - if ($6 >>> 0 > 4294967279) __ZNKSt3__221__basic_string_commonILb1EE20__throw_length_errorEv($0); - if ($6 >>> 0 < 11) { - HEAP8[$0 + 11 >> 0] = $6; - $$021 = $0; - } else { - $12 = $6 + 16 & -16; - $13 = __Znwm($12) | 0; - HEAP32[$0 >> 2] = $13; - HEAP32[$0 + 8 >> 2] = $12 | -2147483648; - HEAP32[$0 + 4 >> 2] = $6; - $$021 = $13; - } - $18 = $2 - $3 | 0; - $$0 = $1; - $$1 = $$021; - while (1) { - if (($$0 | 0) == ($2 | 0)) break; - __ZNSt3__211char_traitsIcE6assignERcRKc($$1, $$0); - $$0 = $$0 + 1 | 0; - $$1 = $$1 + 1 | 0; - } - HEAP8[$4 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc($$021 + $18 | 0, $4); + $mx = sp + 4 | 0; + $my = sp; + if ((((_ar2ScreenCoord2MarkerCoord($cparamLT, $trans, $sx, $sy, $mx, $my) | 0) >= 0 ? ($1 = +HEAPF32[$image + 12 >> 2], $conv = ~~(+HEAPF32[$mx >> 2] * $1 / 25.399999618530273 + .5), ($conv | 0) >= 0) : 0) ? ($2 = HEAP32[$image + 4 >> 2] | 0, ($2 | 0) > ($conv | 0)) : 0) ? ($3 = HEAP32[$image + 8 >> 2] | 0, $conv12 = ~~(+($3 | 0) - $1 * +HEAPF32[$my >> 2] / 25.399999618530273 + .5), ($conv12 | 0) > -1 & ($3 | 0) > ($conv12 | 0)) : 0) { + $add23 = (Math_imul($2, $conv12) | 0) + $conv | 0; + HEAP8[$pBW >> 0] = HEAP8[(HEAP32[$image >> 2] | 0) + $add23 >> 0] | 0; + $retval$0 = 0; + } else $retval$0 = -1; STACKTOP = sp; - return; + return $retval$0 | 0; } -function __ZN6vision16Quadratic3PointsIfEEbRT_S2_S2_PKS1_S4_S4_($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$0 = 0, $10 = 0.0, $11 = 0.0, $12 = 0.0, $13 = 0.0, $17 = 0.0, $21 = 0, $22 = 0.0, $25 = 0, $29 = 0.0, $36 = 0.0, $6 = 0.0, $7 = 0.0, $9 = 0.0, $storemerge = 0.0; - $6 = +HEAPF32[$5 >> 2]; - $7 = +HEAPF32[$4 >> 2]; - $9 = +HEAPF32[$3 >> 2]; - $10 = $6 - $9; - $11 = ($6 - $7) * $10; - $12 = $9 - $7; - $13 = $12 * $10; - if ($12 == 0.0 | ($11 == 0.0 | $13 == 0.0)) { - HEAPF32[$0 >> 2] = 0.0; - HEAPF32[$1 >> 2] = 0.0; - $$0 = 0; - $storemerge = 0.0; - } else { - $17 = $9 * $9; - $21 = $4 + 4 | 0; - $22 = +HEAPF32[$21 >> 2]; - $25 = $3 + 4 | 0; - $29 = (+HEAPF32[$5 + 4 >> 2] - $22) / $11 - (+HEAPF32[$25 >> 2] - $22) / $13; - HEAPF32[$0 >> 2] = $29; - $36 = (+HEAPF32[$25 >> 2] - +HEAPF32[$21 >> 2] + ($7 * $7 - $17) * $29) / $12; - HEAPF32[$1 >> 2] = $36; - $$0 = 1; - $storemerge = +HEAPF32[$25 >> 2] - $17 * +HEAPF32[$0 >> 2] - $36 * +HEAPF32[$3 >> 2]; - } - HEAPF32[$2 >> 2] = $storemerge; - return $$0 | 0; -} - -function __ZNK12_GLOBAL__N_116itanium_demangle17VendorExtQualType9printLeftERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $12 = 0, $13 = 0, $2 = 0, $3 = 0, $7 = 0, $tmpcast$byval_copy = 0, sp = 0; +function _cycle($width, $ar, $n) { + $width = $width | 0; + $ar = $ar | 0; + $n = $n | 0; + var $2 = 0, $arrayidx = 0, $arrayidx5 = 0, $cond = 0, $i$022 = 0, $sub = 0, $tmp = 0, $width$addr$024 = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $tmpcast$byval_copy = sp + 16 | 0; - $2 = sp + 8 | 0; - $3 = sp; - __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(HEAP32[$0 + 8 >> 2] | 0, $1); - __ZN12_GLOBAL__N_110StringViewC2EPKc($2, 51966); - HEAP32[$tmpcast$byval_copy >> 2] = HEAP32[$2 >> 2]; - HEAP32[$tmpcast$byval_copy + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $tmpcast$byval_copy); - $7 = $0 + 12 | 0; - $12 = HEAP32[$7 + 4 >> 2] | 0; - $13 = $3; - HEAP32[$13 >> 2] = HEAP32[$7 >> 2]; - HEAP32[$13 + 4 >> 2] = $12; - HEAP32[$tmpcast$byval_copy >> 2] = HEAP32[$3 >> 2]; - HEAP32[$tmpcast$byval_copy + 4 >> 2] = HEAP32[$3 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $tmpcast$byval_copy); + STACKTOP = STACKTOP + 256 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(256); + $tmp = sp; + L1 : do if (($n | 0) >= 2 ? ($arrayidx = $ar + ($n << 2) | 0, HEAP32[$arrayidx >> 2] = $tmp, $width | 0) : 0) { + $2 = $tmp; + $width$addr$024 = $width; + while (1) { + $cond = $width$addr$024 >>> 0 < 256 ? $width$addr$024 : 256; + _memcpy($2 | 0, HEAP32[$ar >> 2] | 0, $cond | 0) | 0; + $i$022 = 0; + do { + $arrayidx5 = $ar + ($i$022 << 2) | 0; + $i$022 = $i$022 + 1 | 0; + _memcpy(HEAP32[$arrayidx5 >> 2] | 0, HEAP32[$ar + ($i$022 << 2) >> 2] | 0, $cond | 0) | 0; + HEAP32[$arrayidx5 >> 2] = (HEAP32[$arrayidx5 >> 2] | 0) + $cond; + } while (($i$022 | 0) != ($n | 0)); + $sub = $width$addr$024 - $cond | 0; + if (!$sub) break L1; + $2 = HEAP32[$arrayidx >> 2] | 0; + $width$addr$024 = $sub; + } + } while (0); STACKTOP = sp; return; } @@ -85729,7 +88625,7 @@ function __ZL15loadMultiMarkerPKcP8ARHandlePP12ARPattHandlePP18ARMultiMarkerInfo $call = _arMultiReadConfigFile($patt_name, HEAP32[$pattHandle_p >> 2] | 0) | 0; HEAP32[$arMultiConfig >> 2] = $call; L1 : do if (!$call) { - _arLog(0, 3, 45278, sp); + _arLog(0, 3, 46120, sp); _arPattDeleteHandle(HEAP32[$pattHandle_p >> 2] | 0) | 0; $retval$0 = 0; } else switch (HEAP32[$call + 108 >> 2] | 0) { @@ -85758,36 +88654,45 @@ function __ZL15loadMultiMarkerPKcP8ARHandlePP12ARPattHandlePP18ARMultiMarkerInfo return $retval$0 | 0; } -function _jinit_d_post_controller($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $13 = 0, $14 = 0, $16 = 0, $18 = 0, $2 = 0, $23 = 0, $26 = 0, $28 = 0, $35 = 0, $36 = 0, $5 = 0, $7 = 0, $8 = 0; - $2 = $0 + 4 | 0; - $5 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[$2 >> 2] >> 2] & 63]($0, 1, 28) | 0; - HEAP32[$0 + 456 >> 2] = $5; - HEAP32[$5 >> 2] = 135; - $7 = $5 + 8 | 0; - HEAP32[$7 >> 2] = 0; - $8 = $5 + 12 | 0; - HEAP32[$8 >> 2] = 0; - if (!(HEAP32[$0 + 84 >> 2] | 0)) return; - $13 = HEAP32[$0 + 320 >> 2] | 0; - $14 = $5 + 16 | 0; - HEAP32[$14 >> 2] = $13; - $16 = HEAP32[$2 >> 2] | 0; - if (!$1) { - $35 = Math_imul(HEAP32[$0 + 120 >> 2] | 0, HEAP32[$0 + 112 >> 2] | 0) | 0; - $36 = FUNCTION_TABLE_iiiii[HEAP32[$16 + 8 >> 2] & 15]($0, 1, $35, $13) | 0; - HEAP32[$8 >> 2] = $36; - return; - } else { - $18 = HEAP32[$16 + 16 >> 2] | 0; - $23 = Math_imul(HEAP32[$0 + 120 >> 2] | 0, HEAP32[$0 + 112 >> 2] | 0) | 0; - $26 = _jround_up(HEAP32[$0 + 116 >> 2] | 0, $13) | 0; - $28 = FUNCTION_TABLE_iiiiiii[$18 & 63]($0, 1, 0, $23, $26, HEAP32[$14 >> 2] | 0) | 0; - HEAP32[$7 >> 2] = $28; - return; +function __ZNSt3__214__num_put_base12__format_intEPcPKcbj($__fmtp, $__len, $__signd, $__flags) { + $__fmtp = $__fmtp | 0; + $__len = $__len | 0; + $__signd = $__signd | 0; + $__flags = $__flags | 0; + var $$sink = 0, $0 = 0, $__fmtp$addr$0 = 0, $__fmtp$addr$2 = 0, $__fmtp$addr$2$ph = 0, $__len$addr$0 = 0; + if (!($__flags & 2048)) $__fmtp$addr$0 = $__fmtp; else { + HEAP8[$__fmtp >> 0] = 43; + $__fmtp$addr$0 = $__fmtp + 1 | 0; + } + if (!($__flags & 512)) $__fmtp$addr$2$ph = $__fmtp$addr$0; else { + HEAP8[$__fmtp$addr$0 >> 0] = 35; + $__fmtp$addr$2$ph = $__fmtp$addr$0 + 1 | 0; + } + $__fmtp$addr$2 = $__fmtp$addr$2$ph; + $__len$addr$0 = $__len; + while (1) { + $0 = HEAP8[$__len$addr$0 >> 0] | 0; + if (!($0 << 24 >> 24)) break; + HEAP8[$__fmtp$addr$2 >> 0] = $0; + $__fmtp$addr$2 = $__fmtp$addr$2 + 1 | 0; + $__len$addr$0 = $__len$addr$0 + 1 | 0; + } + switch ($__flags & 74) { + case 64: + { + $$sink = 111; + break; + } + case 8: + { + $$sink = $__flags >>> 9 & 32 ^ 120; + break; + } + default: + $$sink = $__signd ? 100 : 117; } + HEAP8[$__fmtp$addr$2 >> 0] = $$sink; + return; } function _setDebugMode($id, $enable) { @@ -85800,1581 +88705,420 @@ function _setDebugMode($id, $enable) { $vararg_buffer = sp; $id$addr = sp + 4 | 0; HEAP32[$id$addr >> 2] = $id; - if (!(__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(65260, $id$addr) | 0)) $retval$0 = 0; else { - $arhandle = (__ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(65260, $id$addr) | 0) + 216 | 0; + if (!(__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(66108, $id$addr) | 0)) $retval$0 = 0; else { + $arhandle = (__ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(66108, $id$addr) | 0) + 216 | 0; $tobool = ($enable | 0) != 0; _arSetDebugMode(HEAP32[$arhandle >> 2] | 0, $tobool & 1) | 0; - HEAP32[$vararg_buffer >> 2] = $tobool ? 41742 : 41746; - _arLog(0, 1, 41751, $vararg_buffer); + HEAP32[$vararg_buffer >> 2] = $tobool ? 42544 : 42548; + _arLog(0, 1, 42553, $vararg_buffer); $retval$0 = $enable; } STACKTOP = sp; return $retval$0 | 0; } -function __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $$phi$trans$insert = 0, $$pre = 0, $$pre$phi9Z2D = 0, $$pre$phiZ2D = 0, $$pre7 = 0, $13 = 0, $15 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, label = 0; - $3 = $1 + 15 & -16; - $4 = $0 + 4096 | 0; - $5 = HEAP32[$4 >> 2] | 0; - $6 = $5 + 4 | 0; - $7 = HEAP32[$6 >> 2] | 0; - $8 = $7 + $3 | 0; - do if ($8 >>> 0 > 4087) if ($3 >>> 0 > 4088) { - $$0 = __ZN12_GLOBAL__N_120BumpPointerAllocator15allocateMassiveEm($0, $3) | 0; - break; - } else { - __ZN12_GLOBAL__N_120BumpPointerAllocator4growEv($0); - $$pre = HEAP32[$4 >> 2] | 0; - $$phi$trans$insert = $$pre + 4 | 0; - $$pre7 = HEAP32[$$phi$trans$insert >> 2] | 0; - $$pre$phi9Z2D = $$pre7 + $3 | 0; - $$pre$phiZ2D = $$phi$trans$insert; - $13 = $$pre; - $15 = $$pre7; - label = 5; - break; - } else { - $$pre$phi9Z2D = $8; - $$pre$phiZ2D = $6; - $13 = $5; - $15 = $7; - label = 5; - } while (0); - if ((label | 0) == 5) { - HEAP32[$$pre$phiZ2D >> 2] = $$pre$phi9Z2D; - $$0 = $13 + 8 + $15 | 0; - } - return $$0 | 0; -} - -function __ZN6vision18BinomialPyramid32f5allocEmmi($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $$0 = 0, $$022 = 0, $10 = 0, $13 = 0, $14 = 0, $15 = 0, $19 = 0, $4 = 0, $5 = 0; - __ZN6vision25GaussianScaleSpacePyramid9configureEii($0, $3, 3); - $4 = $0 + 4 | 0; - $5 = $0 + 20 | 0; - __ZNSt3__26vectorIN6vision5ImageENS_9allocatorIS2_EEE6resizeEm($4, Math_imul(HEAP32[$5 >> 2] | 0, $3) | 0); - $$022 = 0; - while (1) { - if (($$022 | 0) >= ($3 | 0)) break; - $13 = $1 >>> $$022; - $14 = $2 >>> $$022; - $$0 = 0; - while (1) { - $15 = HEAP32[$5 >> 2] | 0; - if ($$0 >>> 0 >= $15 >>> 0) break; - $19 = (Math_imul($15, $$022) | 0) + $$0 | 0; - __ZN6vision5Image5allocENS_9ImageTypeEmmim((HEAP32[$4 >> 2] | 0) + ($19 << 5) | 0, 2, $13, $14, -1, 1); - $$0 = $$0 + 1 | 0; - } - $$022 = $$022 + 1 | 0; - } - $10 = Math_imul($2, $1) | 0; - __ZNSt3__26vectorItNS_9allocatorItEEE6resizeEm($0 + 32 | 0, $10); - __ZNSt3__26vectorIfNS_9allocatorIfEEE6resizeEm($0 + 44 | 0, $10); - __ZNSt3__26vectorIfNS_9allocatorIfEEE6resizeEm($0 + 56 | 0, $10); - return; -} - -function __ZNSt3__26vectorIN6vision17PriorityQueueItemILi96EEENS_9allocatorIS3_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS3_RS5_EE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0$i = 0, $10 = 0, $15 = 0, $16 = 0, $2 = 0, $22 = 0, $24 = 0, $25 = 0, $27 = 0, $28 = 0, $29 = 0, $3 = 0, $5 = 0, $9 = 0; - $2 = HEAP32[$0 >> 2] | 0; - $3 = $0 + 4 | 0; - $5 = $1 + 4 | 0; - $$0$i = HEAP32[$3 >> 2] | 0; - while (1) { - if (($$0$i | 0) == ($2 | 0)) break; - $9 = $$0$i + -8 | 0; - $10 = $9; - $15 = HEAP32[$10 + 4 >> 2] | 0; - $16 = (HEAP32[$5 >> 2] | 0) + -8 | 0; - HEAP32[$16 >> 2] = HEAP32[$10 >> 2]; - HEAP32[$16 + 4 >> 2] = $15; - HEAP32[$5 >> 2] = (HEAP32[$5 >> 2] | 0) + -8; - $$0$i = $9; - } - $22 = HEAP32[$0 >> 2] | 0; - HEAP32[$0 >> 2] = HEAP32[$5 >> 2]; - HEAP32[$5 >> 2] = $22; - $24 = $1 + 8 | 0; - $25 = HEAP32[$3 >> 2] | 0; - HEAP32[$3 >> 2] = HEAP32[$24 >> 2]; - HEAP32[$24 >> 2] = $25; - $27 = $0 + 8 | 0; - $28 = $1 + 12 | 0; - $29 = HEAP32[$27 >> 2] | 0; - HEAP32[$27 >> 2] = HEAP32[$28 >> 2]; - HEAP32[$28 >> 2] = $29; - HEAP32[$1 >> 2] = HEAP32[$5 >> 2]; - return; -} - -function _arUtilMatInvf($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $$030 = 0, $$1 = 0, $$131 = 0, $12 = 0, $13 = 0, $15 = 0, $2 = 0, $3 = 0; - $2 = _arMatrixAlloc(4, 4) | 0; - $$0 = 0; - while (1) { - if (($$0 | 0) == 3) break; - $3 = $$0 << 2; - $$030 = 0; - while (1) { - if (($$030 | 0) == 4) break; - HEAPF64[(HEAP32[$2 >> 2] | 0) + ($$030 + $3 << 3) >> 3] = +HEAPF32[$0 + ($$0 << 4) + ($$030 << 2) >> 2]; - $$030 = $$030 + 1 | 0; - } - $$0 = $$0 + 1 | 0; - } - $12 = HEAP32[$2 >> 2] | 0; - $13 = $12 + 96 | 0; - HEAP32[$13 >> 2] = 0; - HEAP32[$13 + 4 >> 2] = 0; - HEAP32[$13 + 8 >> 2] = 0; - HEAP32[$13 + 12 >> 2] = 0; - HEAP32[$13 + 16 >> 2] = 0; - HEAP32[$13 + 20 >> 2] = 0; - HEAPF64[$12 + 120 >> 3] = 1.0; - _arMatrixSelfInv($2) | 0; - $$1 = 0; - while (1) { - if (($$1 | 0) == 3) break; - $15 = $$1 << 2; - $$131 = 0; - while (1) { - if (($$131 | 0) == 4) break; - HEAPF32[$1 + ($$1 << 4) + ($$131 << 2) >> 2] = +HEAPF64[(HEAP32[$2 >> 2] | 0) + ($$131 + $15 << 3) >> 3]; - $$131 = $$131 + 1 | 0; - } - $$1 = $$1 + 1 | 0; - } - _arMatrixFree($2) | 0; - return 0; -} - -function _arUtilMatInv($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $$030 = 0, $$1 = 0, $$131 = 0, $11 = 0, $12 = 0, $14 = 0, $2 = 0, $3 = 0; - $2 = _arMatrixAlloc(4, 4) | 0; - $$0 = 0; - while (1) { - if (($$0 | 0) == 3) break; - $3 = $$0 << 2; - $$030 = 0; - while (1) { - if (($$030 | 0) == 4) break; - HEAPF64[(HEAP32[$2 >> 2] | 0) + ($$030 + $3 << 3) >> 3] = +HEAPF64[$0 + ($$0 << 5) + ($$030 << 3) >> 3]; - $$030 = $$030 + 1 | 0; - } - $$0 = $$0 + 1 | 0; - } - $11 = HEAP32[$2 >> 2] | 0; - $12 = $11 + 96 | 0; - HEAP32[$12 >> 2] = 0; - HEAP32[$12 + 4 >> 2] = 0; - HEAP32[$12 + 8 >> 2] = 0; - HEAP32[$12 + 12 >> 2] = 0; - HEAP32[$12 + 16 >> 2] = 0; - HEAP32[$12 + 20 >> 2] = 0; - HEAPF64[$11 + 120 >> 3] = 1.0; - _arMatrixSelfInv($2) | 0; - $$1 = 0; - while (1) { - if (($$1 | 0) == 3) break; - $14 = $$1 << 2; - $$131 = 0; +function _skip_input_data($cinfo, $num_bytes) { + $cinfo = $cinfo | 0; + $num_bytes = $num_bytes | 0; + var $$lcssa = 0, $0 = 0, $1 = 0, $2 = 0, $4 = 0, $bytes_in_buffer = 0, $fill_input_buffer = 0, $num_bytes$addr$0$lcssa = 0, $num_bytes$addr$012 = 0, $sub = 0; + $0 = HEAP32[$cinfo + 24 >> 2] | 0; + if (($num_bytes | 0) <= 0) return; + $bytes_in_buffer = $0 + 4 | 0; + $1 = HEAP32[$bytes_in_buffer >> 2] | 0; + if (($1 | 0) < ($num_bytes | 0)) { + $fill_input_buffer = $0 + 12 | 0; + $2 = $1; + $num_bytes$addr$012 = $num_bytes; while (1) { - if (($$131 | 0) == 4) break; - HEAPF64[$1 + ($$1 << 5) + ($$131 << 3) >> 3] = +HEAPF64[(HEAP32[$2 >> 2] | 0) + ($$131 + $14 << 3) >> 3]; - $$131 = $$131 + 1 | 0; - } - $$1 = $$1 + 1 | 0; - } - _arMatrixFree($2) | 0; - return 0; -} - -function __ZNK12_GLOBAL__N_116itanium_demangle19SizeofParamPackExpr9printLeftERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$byval_copy1 = 0, $2 = 0, $3 = 0, $4 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 48 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); - $$byval_copy1 = sp + 32 | 0; - $2 = sp + 24 | 0; - $3 = sp + 8 | 0; - $4 = sp; - __ZN12_GLOBAL__N_110StringViewC2EPKc($2, 53002); - HEAP32[$$byval_copy1 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy1 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy1); - __ZN12_GLOBAL__N_116itanium_demangle22ParameterPackExpansionC2EPKNS0_4NodeE($3, HEAP32[$0 + 8 >> 2] | 0); - __ZNK12_GLOBAL__N_116itanium_demangle22ParameterPackExpansion9printLeftERNS_12OutputStreamE($3, $1); - __ZN12_GLOBAL__N_110StringViewC2EPKc($4, 51964); - HEAP32[$$byval_copy1 >> 2] = HEAP32[$4 >> 2]; - HEAP32[$$byval_copy1 + 4 >> 2] = HEAP32[$4 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy1); - STACKTOP = sp; - return; -} - -function __ZNSt3__215basic_streambufIwNS_11char_traitsIwEEE6xsgetnEPwl($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$0 = 0, $$023 = 0, $$1 = 0, $$pn = 0, $12 = 0, $13 = 0, $15 = 0, $22 = 0, $24 = 0, $3 = 0, $4 = 0, $6 = 0, $7 = 0; - __ZNSt3__211char_traitsIwE3eofEv() | 0; - $3 = $0 + 12 | 0; - $4 = $0 + 16 | 0; - $$0 = $1; - $$023 = 0; - while (1) { - if (($$023 | 0) >= ($2 | 0)) break; - $6 = HEAP32[$3 >> 2] | 0; - $7 = HEAP32[$4 >> 2] | 0; - if ($6 >>> 0 < $7 >>> 0) { - $12 = $7 - $6 >> 2; - $13 = $2 - $$023 | 0; - $15 = ($13 | 0) < ($12 | 0) ? $13 : $12; - __ZNSt3__211char_traitsIwE4copyEPwPKwm($$0, $6, $15) | 0; - HEAP32[$3 >> 2] = (HEAP32[$3 >> 2] | 0) + ($15 << 2); - $$1 = $$0 + ($15 << 2) | 0; - $$pn = $15; - } else { - $22 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$0 >> 2] | 0) + 40 >> 2] & 127]($0) | 0; - if (($22 | 0) == -1) break; - $24 = __ZNSt3__211char_traitsIwE12to_char_typeEj($22) | 0; - HEAP32[$$0 >> 2] = $24; - $$1 = $$0 + 4 | 0; - $$pn = 1; + $sub = $num_bytes$addr$012 - $2 | 0; + FUNCTION_TABLE_ii[HEAP32[$fill_input_buffer >> 2] & 127]($cinfo) | 0; + $4 = HEAP32[$bytes_in_buffer >> 2] | 0; + if (($sub | 0) > ($4 | 0)) { + $2 = $4; + $num_bytes$addr$012 = $sub; + } else { + $$lcssa = $4; + $num_bytes$addr$0$lcssa = $sub; + break; + } } - $$0 = $$1; - $$023 = $$pn + $$023 | 0; - } - return $$023 | 0; -} - -function __ZN6vision21AccumulateProjection9IfEEvPT_PKS1_S4_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $11 = 0, $17 = 0, $23 = 0, $29 = 0, $3 = 0.0, $35 = 0, $41 = 0, $47 = 0, $53 = 0; - $3 = +__ZN6vision11DotProduct9IfEET_PKS1_S3_($2, $1); - HEAPF32[$0 >> 2] = +HEAPF32[$0 >> 2] - $3 * +HEAPF32[$1 >> 2]; - $11 = $0 + 4 | 0; - HEAPF32[$11 >> 2] = +HEAPF32[$11 >> 2] - $3 * +HEAPF32[$1 + 4 >> 2]; - $17 = $0 + 8 | 0; - HEAPF32[$17 >> 2] = +HEAPF32[$17 >> 2] - $3 * +HEAPF32[$1 + 8 >> 2]; - $23 = $0 + 12 | 0; - HEAPF32[$23 >> 2] = +HEAPF32[$23 >> 2] - $3 * +HEAPF32[$1 + 12 >> 2]; - $29 = $0 + 16 | 0; - HEAPF32[$29 >> 2] = +HEAPF32[$29 >> 2] - $3 * +HEAPF32[$1 + 16 >> 2]; - $35 = $0 + 20 | 0; - HEAPF32[$35 >> 2] = +HEAPF32[$35 >> 2] - $3 * +HEAPF32[$1 + 20 >> 2]; - $41 = $0 + 24 | 0; - HEAPF32[$41 >> 2] = +HEAPF32[$41 >> 2] - $3 * +HEAPF32[$1 + 24 >> 2]; - $47 = $0 + 28 | 0; - HEAPF32[$47 >> 2] = +HEAPF32[$47 >> 2] - $3 * +HEAPF32[$1 + 28 >> 2]; - $53 = $0 + 32 | 0; - HEAPF32[$53 >> 2] = +HEAPF32[$53 >> 2] - $3 * +HEAPF32[$1 + 32 >> 2]; - return; -} - -function __ZNSt3__26vectorIN6vision25DoGScaleInvariantDetector12FeaturePointENS_9allocatorIS3_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS3_RS5_EE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$pre$phiZ2D = 0, $10 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $3 = 0, $5 = 0, $7 = 0; - $2 = HEAP32[$0 >> 2] | 0; - $3 = $0 + 4 | 0; - $5 = $1 + 4 | 0; - $7 = (HEAP32[$3 >> 2] | 0) - $2 | 0; - $10 = (HEAP32[$5 >> 2] | 0) + ((($7 | 0) / -36 | 0) * 36 | 0) | 0; - HEAP32[$5 >> 2] = $10; - if (($7 | 0) > 0) { - _memcpy($10 | 0, $2 | 0, $7 | 0) | 0; - $$pre$phiZ2D = $5; - $14 = HEAP32[$5 >> 2] | 0; } else { - $$pre$phiZ2D = $5; - $14 = $10; - } - $13 = HEAP32[$0 >> 2] | 0; - HEAP32[$0 >> 2] = $14; - HEAP32[$$pre$phiZ2D >> 2] = $13; - $15 = $1 + 8 | 0; - $16 = HEAP32[$3 >> 2] | 0; - HEAP32[$3 >> 2] = HEAP32[$15 >> 2]; - HEAP32[$15 >> 2] = $16; - $18 = $0 + 8 | 0; - $19 = $1 + 12 | 0; - $20 = HEAP32[$18 >> 2] | 0; - HEAP32[$18 >> 2] = HEAP32[$19 >> 2]; - HEAP32[$19 >> 2] = $20; - HEAP32[$1 >> 2] = HEAP32[$$pre$phiZ2D >> 2]; - return; -} - -function _jinit_huff_decoder($0) { - $0 = $0 | 0; - var $$043 = 0, $1 = 0, $12 = 0, $15 = 0, $23 = 0, $24 = 0, $4 = 0; - $1 = $0 + 4 | 0; - $4 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[$1 >> 2] >> 2] & 63]($0, 1, 220) | 0; - HEAP32[$0 + 468 >> 2] = $4; - HEAP32[$4 >> 2] = 195; - HEAP32[$4 + 8 >> 2] = 196; - if (!(HEAP32[$0 + 224 >> 2] | 0)) { - $24 = $4 + 68 | 0; - HEAP32[$24 >> 2] = 0; - HEAP32[$24 + 4 >> 2] = 0; - HEAP32[$24 + 8 >> 2] = 0; - HEAP32[$24 + 12 >> 2] = 0; - HEAP32[$24 + 16 >> 2] = 0; - HEAP32[$4 + 88 >> 2] = 0; - HEAP32[$4 + 92 >> 2] = 0; - HEAP32[$4 + 96 >> 2] = 0; - return; - } - $12 = $0 + 36 | 0; - $15 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[$1 >> 2] >> 2] & 63]($0, 1, HEAP32[$12 >> 2] << 8) | 0; - HEAP32[$0 + 160 >> 2] = $15; - if ((HEAP32[$12 >> 2] | 0) > 0) { - $$043 = 0; - do { - _memset($15 + ($$043 << 8) | 0, -1, 256) | 0; - $$043 = $$043 + 1 | 0; - } while (($$043 | 0) < (HEAP32[$12 >> 2] | 0)); - } - $23 = $4 + 48 | 0; - HEAP32[$23 >> 2] = 0; - HEAP32[$23 + 4 >> 2] = 0; - HEAP32[$23 + 8 >> 2] = 0; - HEAP32[$23 + 12 >> 2] = 0; - return; -} - -function _getPattRatio($id) { - $id = $id | 0; - var $0 = 0, $arhandle = 0, $cmp = 0, $id$addr = 0, $pattRatio = 0, $retval$0 = 0.0, $retval$1 = 0.0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $id$addr = sp + 8 | 0; - $pattRatio = sp; - HEAP32[$id$addr >> 2] = $id; - if (!(__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(65260, $id$addr) | 0)) $retval$1 = -1.0; else { - $arhandle = (__ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(65260, $id$addr) | 0) + 216 | 0; - $0 = HEAP32[$arhandle >> 2] | 0; - if (!$0) $retval$0 = -1.0; else { - $cmp = (_arGetPattRatio($0, $pattRatio) | 0) == 0; - $retval$0 = $cmp ? +HEAPF64[$pattRatio >> 3] : -1.0; - } - $retval$1 = $retval$0; + $$lcssa = $1; + $num_bytes$addr$0$lcssa = $num_bytes; } - STACKTOP = sp; - return +$retval$1; -} - -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E11parseNumberEb($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $12 = 0, $14 = 0, $3 = 0, $6 = 0, label = 0; - $3 = HEAP32[$1 >> 2] | 0; - if ($2) __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($1, 110) | 0; - if ((__ZNK12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E7numLeftEv($1) | 0) != 0 ? ($6 = HEAP32[$1 >> 2] | 0, ((HEAP8[$6 >> 0] | 0) + -48 | 0) >>> 0 < 10) : 0) { - $12 = $6; - while (1) { - if (!(__ZNK12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E7numLeftEv($1) | 0)) break; - if (((HEAP8[$12 >> 0] | 0) + -48 | 0) >>> 0 >= 10) break; - $14 = $12 + 1 | 0; - HEAP32[$1 >> 2] = $14; - $12 = $14; - } - __ZN12_GLOBAL__N_110StringViewC2EPKcS2_($0, $3, $12); - } else __ZN12_GLOBAL__N_110StringViewC2Ev($0); + HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + $num_bytes$addr$0$lcssa; + HEAP32[$bytes_in_buffer >> 2] = $$lcssa - $num_bytes$addr$0$lcssa; return; } -function _getMultiMarkerNum($id, $multiMarker_id) { - $id = $id | 0; - $multiMarker_id = $multiMarker_id | 0; - var $1 = 0, $call7 = 0, $id$addr = 0, $retval$1 = 0, sp = 0; +function __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE11do_get_timeES4_S4_RNS_8ios_baseERjP2tm($this, $__b, $__e, $__iob, $__err, $__tm) { + $this = $this | 0; + $__b = $__b | 0; + $__e = $__e | 0; + $__iob = $__iob | 0; + $__err = $__err | 0; + $__tm = $__tm | 0; + var $agg$tmp = 0, $agg$tmp$byval_copy = 0, $agg$tmp2 = 0, $agg$tmp2$byval_copy = 0, $call = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $id$addr = sp; - HEAP32[$id$addr >> 2] = $id; - if (((__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(65260, $id$addr) | 0) != 0 ? ($call7 = __ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(65260, $id$addr) | 0, ($multiMarker_id | 0) >= 0) : 0) ? ($1 = HEAP32[$call7 + 328 >> 2] | 0, (HEAP32[$call7 + 332 >> 2] | 0) - $1 >> 3 >>> 0 > $multiMarker_id >>> 0) : 0) $retval$1 = HEAP32[(HEAP32[$1 + ($multiMarker_id << 3) + 4 >> 2] | 0) + 4 >> 2] | 0; else $retval$1 = -1; + $agg$tmp2$byval_copy = sp + 12 | 0; + $agg$tmp$byval_copy = sp + 8 | 0; + $agg$tmp = sp + 4 | 0; + $agg$tmp2 = sp; + HEAP32[$agg$tmp >> 2] = HEAP32[$__b >> 2]; + HEAP32[$agg$tmp2 >> 2] = HEAP32[$__e >> 2]; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp2$byval_copy >> 2] = HEAP32[$agg$tmp2 >> 2]; + $call = __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE3getES4_S4_RNS_8ios_baseERjP2tmPKwSC_($this, $agg$tmp$byval_copy, $agg$tmp2$byval_copy, $__iob, $__err, $__tm, 13152, 13184) | 0; STACKTOP = sp; - return $retval$1 | 0; + return $call | 0; } -function __ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE21__construct_node_hashIRKNS_21piecewise_construct_tEJNS_5tupleIJRKiEEENSJ_IJEEEEEENS_10unique_ptrINS_11__hash_nodeIS3_PvEENS_22__hash_node_destructorINSC_ISR_EEEEEEmOT_DpOT0_($agg$result, $this, $__hash, $__f, $__rest, $__rest1) { - $agg$result = $agg$result | 0; +function __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE11do_get_timeES4_S4_RNS_8ios_baseERjP2tm($this, $__b, $__e, $__iob, $__err, $__tm) { $this = $this | 0; - $__hash = $__hash | 0; - $__f = $__f | 0; - $__rest = $__rest | 0; - $__rest1 = $__rest1 | 0; - var $call$i$i$i = 0, $second$i$i$i$i$i = 0; - $call$i$i$i = __Znwm(496) | 0; - HEAP32[$agg$result >> 2] = $call$i$i$i; - HEAP32[$agg$result + 4 >> 2] = $this + 8; - HEAP32[$call$i$i$i + 8 >> 2] = HEAP32[HEAP32[$__rest >> 2] >> 2]; - $second$i$i$i$i$i = $call$i$i$i + 16 | 0; - _memset($second$i$i$i$i$i | 0, 0, 480) | 0; - __ZN12arControllerC2Ev($second$i$i$i$i$i); - HEAP8[$agg$result + 8 >> 0] = 1; - HEAP32[$call$i$i$i + 4 >> 2] = $__hash; - HEAP32[$call$i$i$i >> 2] = 0; - return; -} - -function __ZNSt3__215basic_streambufIcNS_11char_traitsIcEEE6xsgetnEPcl($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$0 = 0, $$023 = 0, $$1 = 0, $$pn = 0, $11 = 0, $12 = 0, $14 = 0, $21 = 0, $23 = 0, $3 = 0, $4 = 0, $6 = 0, $7 = 0; - __ZNSt3__211char_traitsIcE3eofEv() | 0; - $3 = $0 + 12 | 0; - $4 = $0 + 16 | 0; - $$0 = $1; - $$023 = 0; - while (1) { - if (($$023 | 0) >= ($2 | 0)) break; - $6 = HEAP32[$3 >> 2] | 0; - $7 = HEAP32[$4 >> 2] | 0; - if ($6 >>> 0 < $7 >>> 0) { - $11 = $7 - $6 | 0; - $12 = $2 - $$023 | 0; - $14 = ($12 | 0) < ($11 | 0) ? $12 : $11; - __ZNSt3__211char_traitsIcE4copyEPcPKcm($$0, $6, $14) | 0; - HEAP32[$3 >> 2] = (HEAP32[$3 >> 2] | 0) + $14; - $$1 = $$0 + $14 | 0; - $$pn = $14; - } else { - $21 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$0 >> 2] | 0) + 40 >> 2] & 127]($0) | 0; - if (($21 | 0) == -1) break; - $23 = __ZNSt3__211char_traitsIcE12to_char_typeEi($21) | 0; - HEAP8[$$0 >> 0] = $23; - $$1 = $$0 + 1 | 0; - $$pn = 1; - } - $$0 = $$1; - $$023 = $$pn + $$023 | 0; - } - return $$023 | 0; -} - -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle13EnclosingExprEJRA12_KcRPNS2_4NodeERA2_S4_EEEPT_DpOT0_($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $$byval_copy = 0, $$byval_copy1 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $$byval_copy1 = sp + 24 | 0; - $$byval_copy = sp + 16 | 0; - $4 = sp + 8 | 0; - $5 = sp; - $6 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 28) | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($4, $1); - $7 = HEAP32[$2 >> 2] | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($5, $3); - HEAP32[$$byval_copy >> 2] = HEAP32[$4 >> 2]; - HEAP32[$$byval_copy + 4 >> 2] = HEAP32[$4 + 4 >> 2]; - HEAP32[$$byval_copy1 >> 2] = HEAP32[$5 >> 2]; - HEAP32[$$byval_copy1 + 4 >> 2] = HEAP32[$5 + 4 >> 2]; - __ZN12_GLOBAL__N_116itanium_demangle13EnclosingExprC2ENS_10StringViewEPNS0_4NodeES2_($6, $$byval_copy, $7, $$byval_copy1); - STACKTOP = sp; - return $6 | 0; -} - -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle13EnclosingExprEJRA11_KcRPNS2_4NodeERA2_S4_EEEPT_DpOT0_($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $$byval_copy = 0, $$byval_copy1 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $$byval_copy1 = sp + 24 | 0; - $$byval_copy = sp + 16 | 0; - $4 = sp + 8 | 0; - $5 = sp; - $6 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 28) | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($4, $1); - $7 = HEAP32[$2 >> 2] | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($5, $3); - HEAP32[$$byval_copy >> 2] = HEAP32[$4 >> 2]; - HEAP32[$$byval_copy + 4 >> 2] = HEAP32[$4 + 4 >> 2]; - HEAP32[$$byval_copy1 >> 2] = HEAP32[$5 >> 2]; - HEAP32[$$byval_copy1 + 4 >> 2] = HEAP32[$5 + 4 >> 2]; - __ZN12_GLOBAL__N_116itanium_demangle13EnclosingExprC2ENS_10StringViewEPNS0_4NodeES2_($6, $$byval_copy, $7, $$byval_copy1); - STACKTOP = sp; - return $6 | 0; -} - -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle13EnclosingExprEJRA10_KcRPNS2_4NodeERA2_S4_EEEPT_DpOT0_($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $$byval_copy = 0, $$byval_copy1 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $$byval_copy1 = sp + 24 | 0; - $$byval_copy = sp + 16 | 0; - $4 = sp + 8 | 0; - $5 = sp; - $6 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 28) | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($4, $1); - $7 = HEAP32[$2 >> 2] | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($5, $3); - HEAP32[$$byval_copy >> 2] = HEAP32[$4 >> 2]; - HEAP32[$$byval_copy + 4 >> 2] = HEAP32[$4 + 4 >> 2]; - HEAP32[$$byval_copy1 >> 2] = HEAP32[$5 >> 2]; - HEAP32[$$byval_copy1 + 4 >> 2] = HEAP32[$5 + 4 >> 2]; - __ZN12_GLOBAL__N_116itanium_demangle13EnclosingExprC2ENS_10StringViewEPNS0_4NodeES2_($6, $$byval_copy, $7, $$byval_copy1); - STACKTOP = sp; - return $6 | 0; -} - -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8FoldExprEJRbRNS_10StringViewERPNS2_4NodeES9_EEEPT_DpOT0_($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $14 = 0, $15 = 0, $19 = 0, $20 = 0, $5 = 0, $6 = 0, $8 = 0, $9 = 0, $tmpcast$byval_copy = 0, sp = 0; + $__b = $__b | 0; + $__e = $__e | 0; + $__iob = $__iob | 0; + $__err = $__err | 0; + $__tm = $__tm | 0; + var $agg$tmp = 0, $agg$tmp$byval_copy = 0, $agg$tmp2 = 0, $agg$tmp2$byval_copy = 0, $call = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $tmpcast$byval_copy = sp + 8 | 0; - $5 = sp; - $6 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 28) | 0; - $8 = (HEAP8[$1 >> 0] | 0) != 0; - $9 = $2; - $14 = HEAP32[$9 + 4 >> 2] | 0; - $15 = $5; - HEAP32[$15 >> 2] = HEAP32[$9 >> 2]; - HEAP32[$15 + 4 >> 2] = $14; - $19 = HEAP32[$3 >> 2] | 0; - $20 = HEAP32[$4 >> 2] | 0; - HEAP32[$tmpcast$byval_copy >> 2] = HEAP32[$5 >> 2]; - HEAP32[$tmpcast$byval_copy + 4 >> 2] = HEAP32[$5 + 4 >> 2]; - __ZN12_GLOBAL__N_116itanium_demangle8FoldExprC2EbNS_10StringViewEPKNS0_4NodeES5_($6, $8, $tmpcast$byval_copy, $19, $20); - STACKTOP = sp; - return $6 | 0; -} - -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle13EnclosingExprEJRA9_KcRPNS2_4NodeERA2_S4_EEEPT_DpOT0_($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $$byval_copy = 0, $$byval_copy1 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $$byval_copy1 = sp + 24 | 0; - $$byval_copy = sp + 16 | 0; - $4 = sp + 8 | 0; - $5 = sp; - $6 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 28) | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($4, $1); - $7 = HEAP32[$2 >> 2] | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($5, $3); - HEAP32[$$byval_copy >> 2] = HEAP32[$4 >> 2]; - HEAP32[$$byval_copy + 4 >> 2] = HEAP32[$4 + 4 >> 2]; - HEAP32[$$byval_copy1 >> 2] = HEAP32[$5 >> 2]; - HEAP32[$$byval_copy1 + 4 >> 2] = HEAP32[$5 + 4 >> 2]; - __ZN12_GLOBAL__N_116itanium_demangle13EnclosingExprC2ENS_10StringViewEPNS0_4NodeES2_($6, $$byval_copy, $7, $$byval_copy1); + $agg$tmp2$byval_copy = sp + 12 | 0; + $agg$tmp$byval_copy = sp + 8 | 0; + $agg$tmp = sp + 4 | 0; + $agg$tmp2 = sp; + HEAP32[$agg$tmp >> 2] = HEAP32[$__b >> 2]; + HEAP32[$agg$tmp2 >> 2] = HEAP32[$__e >> 2]; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp2$byval_copy >> 2] = HEAP32[$agg$tmp2 >> 2]; + $call = __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE3getES4_S4_RNS_8ios_baseERjP2tmPKcSC_($this, $agg$tmp$byval_copy, $agg$tmp2$byval_copy, $__iob, $__err, $__tm, 60556, 60564) | 0; STACKTOP = sp; - return $6 | 0; + return $call | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfENS_10StringViewE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $12 = 0, $13 = 0, $18 = 0, $2 = 0, $3 = 0, $7 = 0, $tmpcast$byval_copy = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $tmpcast$byval_copy = sp + 16 | 0; - $2 = sp + 8 | 0; - $3 = sp; - __ZN12_GLOBAL__N_110StringViewC2EPKcS2_($2, HEAP32[$0 >> 2] | 0, HEAP32[$0 + 4 >> 2] | 0); - $7 = $1; - $12 = HEAP32[$7 + 4 >> 2] | 0; - $13 = $3; - HEAP32[$13 >> 2] = HEAP32[$7 >> 2]; - HEAP32[$13 + 4 >> 2] = $12; - HEAP32[$tmpcast$byval_copy >> 2] = HEAP32[$3 >> 2]; - HEAP32[$tmpcast$byval_copy + 4 >> 2] = HEAP32[$3 + 4 >> 2]; - if (__ZNK12_GLOBAL__N_110StringView10startsWithES0_($2, $tmpcast$byval_copy) | 0) { - $18 = __ZNK12_GLOBAL__N_110StringView4sizeEv($1) | 0; - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + $18; - $$0 = 1; - } else $$0 = 0; - STACKTOP = sp; - return $$0 | 0; -} - -function __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_24ForwardTemplateReferenceELm4EE7reserveEm($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$in = 0, $$pre$phi11Z2D = 0, $11 = 0, $15 = 0, $2 = 0, $5 = 0, $7 = 0, $8 = 0; - $2 = __ZNK12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_24ForwardTemplateReferenceELm4EE4sizeEv($0) | 0; - do if (!(__ZNK12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_24ForwardTemplateReferenceELm4EE8isInlineEv($0) | 0)) { - $15 = _realloc(HEAP32[$0 >> 2] | 0, $1 << 2) | 0; - HEAP32[$0 >> 2] = $15; - if (!$15) __ZSt9terminatev(); else { - $$in = $15; - $$pre$phi11Z2D = $0 + 4 | 0; +function __ZNK10__cxxabiv117__class_type_info24process_found_base_classEPNS_19__dynamic_cast_infoEPvi($this, $info, $adjustedPtr, $path_below) { + $this = $this | 0; + $info = $info | 0; + $adjustedPtr = $adjustedPtr | 0; + $path_below = $path_below | 0; + var $0 = 0, $dst_ptr_leading_to_static_ptr = 0, $number_to_static_ptr11 = 0, $path_dst_ptr_to_static_ptr6 = 0; + $dst_ptr_leading_to_static_ptr = $info + 16 | 0; + $0 = HEAP32[$dst_ptr_leading_to_static_ptr >> 2] | 0; + do if ($0) { + if (($0 | 0) != ($adjustedPtr | 0)) { + $number_to_static_ptr11 = $info + 36 | 0; + HEAP32[$number_to_static_ptr11 >> 2] = (HEAP32[$number_to_static_ptr11 >> 2] | 0) + 1; + HEAP32[$info + 24 >> 2] = 2; + HEAP8[$info + 54 >> 0] = 1; break; } + $path_dst_ptr_to_static_ptr6 = $info + 24 | 0; + if ((HEAP32[$path_dst_ptr_to_static_ptr6 >> 2] | 0) == 2) HEAP32[$path_dst_ptr_to_static_ptr6 >> 2] = $path_below; } else { - $5 = _malloc($1 << 2) | 0; - if (!$5) __ZSt9terminatev(); - $7 = HEAP32[$0 >> 2] | 0; - $8 = $0 + 4 | 0; - $11 = (HEAP32[$8 >> 2] | 0) - $7 | 0; - if ($11 | 0) _memmove($5 | 0, $7 | 0, $11 | 0) | 0; - HEAP32[$0 >> 2] = $5; - $$in = $5; - $$pre$phi11Z2D = $8; + HEAP32[$dst_ptr_leading_to_static_ptr >> 2] = $adjustedPtr; + HEAP32[$info + 24 >> 2] = $path_below; + HEAP32[$info + 36 >> 2] = 1; } while (0); - HEAP32[$$pre$phi11Z2D >> 2] = $$in + ($2 << 2); - HEAP32[$0 + 8 >> 2] = $$in + ($1 << 2); - return; -} - -function __ZNK12_GLOBAL__N_116itanium_demangle21CtorVtableSpecialName9printLeftERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$byval_copy1 = 0, $2 = 0, $3 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $$byval_copy1 = sp + 16 | 0; - $2 = sp + 8 | 0; - $3 = sp; - __ZN12_GLOBAL__N_110StringViewC2EPKc($2, 56899); - HEAP32[$$byval_copy1 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy1 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy1); - __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(HEAP32[$0 + 8 >> 2] | 0, $1); - __ZN12_GLOBAL__N_110StringViewC2EPKc($3, 56924); - HEAP32[$$byval_copy1 >> 2] = HEAP32[$3 >> 2]; - HEAP32[$$byval_copy1 + 4 >> 2] = HEAP32[$3 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy1); - __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(HEAP32[$0 + 12 >> 2] | 0, $1); - STACKTOP = sp; - return; -} - -function __ZNSt3__26vectorIN6vision7Point3dIfEENS_9allocatorIS3_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS3_RS5_EE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$pre$phiZ2D = 0, $10 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $3 = 0, $5 = 0, $7 = 0; - $2 = HEAP32[$0 >> 2] | 0; - $3 = $0 + 4 | 0; - $5 = $1 + 4 | 0; - $7 = (HEAP32[$3 >> 2] | 0) - $2 | 0; - $10 = (HEAP32[$5 >> 2] | 0) + ((($7 | 0) / -12 | 0) * 12 | 0) | 0; - HEAP32[$5 >> 2] = $10; - if (($7 | 0) > 0) { - _memcpy($10 | 0, $2 | 0, $7 | 0) | 0; - $$pre$phiZ2D = $5; - $14 = HEAP32[$5 >> 2] | 0; - } else { - $$pre$phiZ2D = $5; - $14 = $10; - } - $13 = HEAP32[$0 >> 2] | 0; - HEAP32[$0 >> 2] = $14; - HEAP32[$$pre$phiZ2D >> 2] = $13; - $15 = $1 + 8 | 0; - $16 = HEAP32[$3 >> 2] | 0; - HEAP32[$3 >> 2] = HEAP32[$15 >> 2]; - HEAP32[$15 >> 2] = $16; - $18 = $0 + 8 | 0; - $19 = $1 + 12 | 0; - $20 = HEAP32[$18 >> 2] | 0; - HEAP32[$18 >> 2] = HEAP32[$19 >> 2]; - HEAP32[$19 >> 2] = $20; - HEAP32[$1 >> 2] = HEAP32[$$pre$phiZ2D >> 2]; - return; -} - -function _setPattRatio($id, $ratio) { - $id = $id | 0; - $ratio = +$ratio; - var $0 = 0, $call7 = 0, $conv = 0.0, $id$addr = 0, $vararg_buffer = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $vararg_buffer = sp; - $id$addr = sp + 8 | 0; - HEAP32[$id$addr >> 2] = $id; - if (((__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(65260, $id$addr) | 0 ? ($call7 = __ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(65260, $id$addr) | 0, !($ratio <= 0.0 | $ratio >= 1.0)) : 0) ? ($conv = $ratio, $0 = HEAP32[$call7 + 216 >> 2] | 0, $0 | 0) : 0) ? (_arSetPattRatio($0, $conv) | 0) == 0 : 0) { - HEAPF64[$vararg_buffer >> 3] = $conv; - _arLog(0, 1, 41608, $vararg_buffer); - } - STACKTOP = sp; - return; -} - -function __ZNSt3__26vectorIPNS_6locale5facetENS_15__sso_allocatorIS3_Lm28EEEE26__swap_out_circular_bufferERNS_14__split_bufferIS3_RS5_EE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$pre$phiZ2D = 0, $11 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $3 = 0, $5 = 0, $7 = 0; - $2 = HEAP32[$0 >> 2] | 0; - $3 = $0 + 4 | 0; - $5 = $1 + 4 | 0; - $7 = (HEAP32[$3 >> 2] | 0) - $2 | 0; - $11 = (HEAP32[$5 >> 2] | 0) + (0 - ($7 >> 2) << 2) | 0; - HEAP32[$5 >> 2] = $11; - if (($7 | 0) > 0) { - _memcpy($11 | 0, $2 | 0, $7 | 0) | 0; - $$pre$phiZ2D = $5; - $15 = HEAP32[$5 >> 2] | 0; - } else { - $$pre$phiZ2D = $5; - $15 = $11; - } - $14 = HEAP32[$0 >> 2] | 0; - HEAP32[$0 >> 2] = $15; - HEAP32[$$pre$phiZ2D >> 2] = $14; - $16 = $1 + 8 | 0; - $17 = HEAP32[$3 >> 2] | 0; - HEAP32[$3 >> 2] = HEAP32[$16 >> 2]; - HEAP32[$16 >> 2] = $17; - $19 = $0 + 8 | 0; - $20 = $1 + 12 | 0; - $21 = HEAP32[$19 >> 2] | 0; - HEAP32[$19 >> 2] = HEAP32[$20 >> 2]; - HEAP32[$20 >> 2] = $21; - HEAP32[$1 >> 2] = HEAP32[$$pre$phiZ2D >> 2]; - return; -} - -function __ZN6vision6Logger5writeENS_19LoggerPriorityLevelEPKcz($0, $1, $2, $varargs) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $varargs = $varargs | 0; - var $3 = 0, $4 = 0, $5 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 48 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); - $3 = sp; - $4 = sp + 28 | 0; - $5 = sp + 16 | 0; - HEAP32[$3 >> 2] = $varargs; - HEAP32[$5 >> 2] = 0; - HEAP32[$5 + 4 >> 2] = 0; - HEAP32[$5 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm($5, $2, __ZNSt3__211char_traitsIcE6lengthEPKc($2) | 0); - __ZN6vision6detail23create_formatted_stringERKNSt3__212basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEPi($4, $5, $3); - __ZN6vision6Logger5writeENS_19LoggerPriorityLevelERKNSt3__212basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE($0, $1, $4); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($4); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($5); - STACKTOP = sp; return; } -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle15PixelVectorTypeEJRNS_10StringViewEEEEPT_DpOT0_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$byval_copy = 0, $10 = 0, $11 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, sp = 0; +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle10BinaryExprEJRPNS2_4NodeERNS_10StringViewES6_EEEPT_DpOT0_($this, $args, $args1, $args3) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + $args3 = $args3 | 0; + var $0 = 0, $1 = 0, $11 = 0, $6 = 0, $7 = 0, $agg$tmp = 0, $call = 0, $tmpcast$byval_copy = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $$byval_copy = sp + 16 | 0; - $2 = sp + 8 | 0; - $3 = sp; - $4 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 16) | 0; - $5 = $1; - $10 = HEAP32[$5 + 4 >> 2] | 0; - $11 = $3; - HEAP32[$11 >> 2] = HEAP32[$5 >> 2]; - HEAP32[$11 + 4 >> 2] = $10; - HEAP32[$$byval_copy >> 2] = HEAP32[$3 >> 2]; - HEAP32[$$byval_copy + 4 >> 2] = HEAP32[$3 + 4 >> 2]; - __ZN12_GLOBAL__N_116itanium_demangle12NodeOrStringC2ENS_10StringViewE($2, $$byval_copy); - HEAP32[$$byval_copy >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - __ZN12_GLOBAL__N_116itanium_demangle15PixelVectorTypeC2ENS0_12NodeOrStringE($4, $$byval_copy); + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $tmpcast$byval_copy = sp + 8 | 0; + $agg$tmp = sp; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 24) | 0; + $0 = HEAP32[$args >> 2] | 0; + $1 = $args1; + $6 = HEAP32[$1 + 4 >> 2] | 0; + $7 = $agg$tmp; + HEAP32[$7 >> 2] = HEAP32[$1 >> 2]; + HEAP32[$7 + 4 >> 2] = $6; + $11 = HEAP32[$args3 >> 2] | 0; + HEAP32[$tmpcast$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$tmpcast$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_116itanium_demangle10BinaryExprC2EPKNS0_4NodeENS_10StringViewES4_($call, $0, $tmpcast$byval_copy, $11); STACKTOP = sp; - return $4 | 0; + return $call | 0; } -function __ZNK12_GLOBAL__N_116itanium_demangle8CallExpr9printLeftERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$byval_copy1 = 0, $2 = 0, $3 = 0, sp = 0; +function __ZNK12_GLOBAL__N_116itanium_demangle12CtorDtorName9printLeftERNS_12OutputStreamE($this, $S) { + $this = $this | 0; + $S = $S | 0; + var $1 = 0, $agg$tmp = 0, $agg$tmp2 = 0, $agg$tmp2$byval_copy = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 32 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $$byval_copy1 = sp + 16 | 0; - $2 = sp + 8 | 0; - $3 = sp; - __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(HEAP32[$0 + 8 >> 2] | 0, $1); - __ZN12_GLOBAL__N_110StringViewC2EPKc($2, 51968); - HEAP32[$$byval_copy1 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy1 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy1); - __ZNK12_GLOBAL__N_116itanium_demangle9NodeArray14printWithCommaERNS_12OutputStreamE($0 + 12 | 0, $1); - __ZN12_GLOBAL__N_110StringViewC2EPKc($3, 51964); - HEAP32[$$byval_copy1 >> 2] = HEAP32[$3 >> 2]; - HEAP32[$$byval_copy1 + 4 >> 2] = HEAP32[$3 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy1); + $agg$tmp2$byval_copy = sp + 16 | 0; + $agg$tmp = sp + 8 | 0; + $agg$tmp2 = sp; + if (HEAP8[$this + 12 >> 0] | 0) { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, 53527); + HEAP32[$agg$tmp2$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp2$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp2$byval_copy); + } + $1 = HEAP32[$this + 8 >> 2] | 0; + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$1 >> 2] | 0) + 24 >> 2] & 255]($agg$tmp2, $1); + HEAP32[$agg$tmp2$byval_copy >> 2] = HEAP32[$agg$tmp2 >> 2]; + HEAP32[$agg$tmp2$byval_copy + 4 >> 2] = HEAP32[$agg$tmp2 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp2$byval_copy); STACKTOP = sp; return; } -function __ZNSt3__26vectorIPKN6vision4NodeILi96EEENS_9allocatorIS5_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS5_RS7_EE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$pre$phiZ2D = 0, $11 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $3 = 0, $5 = 0, $7 = 0; - $2 = HEAP32[$0 >> 2] | 0; - $3 = $0 + 4 | 0; - $5 = $1 + 4 | 0; - $7 = (HEAP32[$3 >> 2] | 0) - $2 | 0; - $11 = (HEAP32[$5 >> 2] | 0) + (0 - ($7 >> 2) << 2) | 0; - HEAP32[$5 >> 2] = $11; - if (($7 | 0) > 0) { - _memcpy($11 | 0, $2 | 0, $7 | 0) | 0; - $$pre$phiZ2D = $5; - $15 = HEAP32[$5 >> 2] | 0; - } else { - $$pre$phiZ2D = $5; - $15 = $11; - } - $14 = HEAP32[$0 >> 2] | 0; - HEAP32[$0 >> 2] = $15; - HEAP32[$$pre$phiZ2D >> 2] = $14; - $16 = $1 + 8 | 0; - $17 = HEAP32[$3 >> 2] | 0; - HEAP32[$3 >> 2] = HEAP32[$16 >> 2]; - HEAP32[$16 >> 2] = $17; - $19 = $0 + 8 | 0; - $20 = $1 + 12 | 0; - $21 = HEAP32[$19 >> 2] | 0; - HEAP32[$19 >> 2] = HEAP32[$20 >> 2]; - HEAP32[$20 >> 2] = $21; - HEAP32[$1 >> 2] = HEAP32[$$pre$phiZ2D >> 2]; - return; -} - -function __ZNSt3__26vectorIPN6vision4NodeILi96EEENS_9allocatorIS4_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS4_RS6_EE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$pre$phiZ2D = 0, $11 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $3 = 0, $5 = 0, $7 = 0; - $2 = HEAP32[$0 >> 2] | 0; - $3 = $0 + 4 | 0; - $5 = $1 + 4 | 0; - $7 = (HEAP32[$3 >> 2] | 0) - $2 | 0; - $11 = (HEAP32[$5 >> 2] | 0) + (0 - ($7 >> 2) << 2) | 0; - HEAP32[$5 >> 2] = $11; - if (($7 | 0) > 0) { - _memcpy($11 | 0, $2 | 0, $7 | 0) | 0; - $$pre$phiZ2D = $5; - $15 = HEAP32[$5 >> 2] | 0; - } else { - $$pre$phiZ2D = $5; - $15 = $11; - } - $14 = HEAP32[$0 >> 2] | 0; - HEAP32[$0 >> 2] = $15; - HEAP32[$$pre$phiZ2D >> 2] = $14; - $16 = $1 + 8 | 0; - $17 = HEAP32[$3 >> 2] | 0; - HEAP32[$3 >> 2] = HEAP32[$16 >> 2]; - HEAP32[$16 >> 2] = $17; - $19 = $0 + 8 | 0; - $20 = $1 + 12 | 0; - $21 = HEAP32[$19 >> 2] | 0; - HEAP32[$19 >> 2] = HEAP32[$20 >> 2]; - HEAP32[$20 >> 2] = $21; - HEAP32[$1 >> 2] = HEAP32[$$pre$phiZ2D >> 2]; - return; -} - -function __ZNSt3__215__num_get_floatIeEET_PKcS3_Rj($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$0 = 0.0, $$0$ph = 0.0, $$1 = 0.0, $10 = 0, $11 = 0, $13 = 0, $3 = 0, $5 = 0, $6 = 0, $7 = 0, $9 = 0.0, label = 0, sp = 0; +function __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6__initEPKwm($this, $__s, $__sz) { + $this = $this | 0; + $__s = $__s | 0; + $__sz = $__sz | 0; + var $__p$0 = 0, $and$i$i = 0, $call$i$i$i = 0, $ref$tmp = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $3 = sp; - if (($0 | 0) == ($1 | 0)) { - HEAP32[$2 >> 2] = 4; - $$1 = 0.0; - } else { - $5 = ___errno_location() | 0; - $6 = HEAP32[$5 >> 2] | 0; - $7 = ___errno_location() | 0; - HEAP32[$7 >> 2] = 0; - $9 = +_strtold_l($0, $3, __ZNSt3__26__clocEv() | 0); - $10 = ___errno_location() | 0; - $11 = HEAP32[$10 >> 2] | 0; - if (!$11) { - $13 = ___errno_location() | 0; - HEAP32[$13 >> 2] = $6; - } - if ((HEAP32[$3 >> 2] | 0) == ($1 | 0)) if (($11 | 0) == 68) { - $$0$ph = $9; - label = 6; - } else $$0 = $9; else { - $$0$ph = 0.0; - label = 6; - } - if ((label | 0) == 6) { - HEAP32[$2 >> 2] = 4; - $$0 = $$0$ph; + $ref$tmp = sp; + if ($__sz >>> 0 > 1073741807) __ZNKSt3__221__basic_string_commonILb1EE20__throw_length_errorEv($this); + do if ($__sz >>> 0 >= 2) { + $and$i$i = $__sz + 4 & -4; + if ($and$i$i >>> 0 > 1073741823) _abort(); else { + $call$i$i$i = __Znwm($and$i$i << 2) | 0; + HEAP32[$this >> 2] = $call$i$i$i; + HEAP32[$this + 8 >> 2] = $and$i$i | -2147483648; + HEAP32[$this + 4 >> 2] = $__sz; + $__p$0 = $call$i$i$i; + break; } - $$1 = $$0; - } + } else { + HEAP8[$this + 8 + 3 >> 0] = $__sz; + $__p$0 = $this; + } while (0); + __ZNSt3__211char_traitsIwE4copyEPwPKwm($__p$0, $__s, $__sz) | 0; + HEAP32[$ref$tmp >> 2] = 0; + __ZNSt3__211char_traitsIwE6assignERwRKw($__p$0 + ($__sz << 2) | 0, $ref$tmp); STACKTOP = sp; - return +$$1; + return; } -function __ZN6vision20SmallestTriangleAreaIfEET_PKS1_S3_S3_S3_($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $10 = 0.0, $11 = 0.0, $13 = 0.0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0.0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 48 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); - $4 = sp + 32 | 0; - $5 = sp + 24 | 0; - $6 = sp + 16 | 0; - $7 = sp + 8 | 0; - $8 = sp; - __ZN6vision10SubVector2IfEEvPT_PKS1_S4_($4, $1, $0); - __ZN6vision10SubVector2IfEEvPT_PKS1_S4_($5, $2, $0); - __ZN6vision10SubVector2IfEEvPT_PKS1_S4_($6, $3, $0); - __ZN6vision10SubVector2IfEEvPT_PKS1_S4_($7, $1, $2); - __ZN6vision10SubVector2IfEEvPT_PKS1_S4_($8, $3, $2); - $9 = +__ZN6vision14AreaOfTriangleIfEET_PKS1_S3_($4, $5); - $10 = +__ZN6vision14AreaOfTriangleIfEET_PKS1_S3_($5, $6); - $11 = +__ZN6vision14AreaOfTriangleIfEET_PKS1_S3_($4, $6); - $13 = +__ZN6vision4min4IfEET_S1_S1_S1_S1_($9, $10, $11, +__ZN6vision14AreaOfTriangleIfEET_PKS1_S3_($7, $8)); - STACKTOP = sp; - return +$13; -} - -function __ZNSt3__215__num_get_floatIfEET_PKcS3_Rj($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$0 = 0.0, $$0$ph = 0.0, $$1 = 0.0, $10 = 0, $11 = 0, $13 = 0, $3 = 0, $5 = 0, $6 = 0, $7 = 0, $9 = 0.0, label = 0, sp = 0; +function __ZNKSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_RNS_8ios_baseERjRf($this, $__b, $__e, $__iob, $__err, $__v) { + $this = $this | 0; + $__b = $__b | 0; + $__e = $__e | 0; + $__iob = $__iob | 0; + $__err = $__err | 0; + $__v = $__v | 0; + var $agg$tmp = 0, $agg$tmp$byval_copy = 0, $agg$tmp2 = 0, $agg$tmp2$byval_copy = 0, $call = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $3 = sp; - if (($0 | 0) == ($1 | 0)) { - HEAP32[$2 >> 2] = 4; - $$1 = 0.0; - } else { - $5 = ___errno_location() | 0; - $6 = HEAP32[$5 >> 2] | 0; - $7 = ___errno_location() | 0; - HEAP32[$7 >> 2] = 0; - $9 = +_strtof_l($0, $3, __ZNSt3__26__clocEv() | 0); - $10 = ___errno_location() | 0; - $11 = HEAP32[$10 >> 2] | 0; - if (!$11) { - $13 = ___errno_location() | 0; - HEAP32[$13 >> 2] = $6; - } - if ((HEAP32[$3 >> 2] | 0) == ($1 | 0)) if (($11 | 0) == 68) { - $$0$ph = $9; - label = 6; - } else $$0 = $9; else { - $$0$ph = 0.0; - label = 6; - } - if ((label | 0) == 6) { - HEAP32[$2 >> 2] = 4; - $$0 = $$0$ph; - } - $$1 = $$0; - } + $agg$tmp2$byval_copy = sp + 12 | 0; + $agg$tmp$byval_copy = sp + 8 | 0; + $agg$tmp = sp + 4 | 0; + $agg$tmp2 = sp; + HEAP32[$agg$tmp >> 2] = HEAP32[$__b >> 2]; + HEAP32[$agg$tmp2 >> 2] = HEAP32[$__e >> 2]; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp2$byval_copy >> 2] = HEAP32[$agg$tmp2 >> 2]; + $call = __ZNKSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE23__do_get_floating_pointIfEES4_S4_S4_RNS_8ios_baseERjRT_($this, $agg$tmp$byval_copy, $agg$tmp2$byval_copy, $__iob, $__err, $__v) | 0; STACKTOP = sp; - return +$$1; + return $call | 0; } -function __ZNSt3__215__num_get_floatIdEET_PKcS3_Rj($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$0 = 0.0, $$0$ph = 0.0, $$1 = 0.0, $10 = 0, $11 = 0, $13 = 0, $3 = 0, $5 = 0, $6 = 0, $7 = 0, $9 = 0.0, label = 0, sp = 0; +function __ZNKSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_RNS_8ios_baseERjRe($this, $__b, $__e, $__iob, $__err, $__v) { + $this = $this | 0; + $__b = $__b | 0; + $__e = $__e | 0; + $__iob = $__iob | 0; + $__err = $__err | 0; + $__v = $__v | 0; + var $agg$tmp = 0, $agg$tmp$byval_copy = 0, $agg$tmp2 = 0, $agg$tmp2$byval_copy = 0, $call = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $3 = sp; - if (($0 | 0) == ($1 | 0)) { - HEAP32[$2 >> 2] = 4; - $$1 = 0.0; - } else { - $5 = ___errno_location() | 0; - $6 = HEAP32[$5 >> 2] | 0; - $7 = ___errno_location() | 0; - HEAP32[$7 >> 2] = 0; - $9 = +_strtod_l($0, $3, __ZNSt3__26__clocEv() | 0); - $10 = ___errno_location() | 0; - $11 = HEAP32[$10 >> 2] | 0; - if (!$11) { - $13 = ___errno_location() | 0; - HEAP32[$13 >> 2] = $6; - } - if ((HEAP32[$3 >> 2] | 0) == ($1 | 0)) if (($11 | 0) == 68) { - $$0$ph = $9; - label = 6; - } else $$0 = $9; else { - $$0$ph = 0.0; - label = 6; - } - if ((label | 0) == 6) { - HEAP32[$2 >> 2] = 4; - $$0 = $$0$ph; - } - $$1 = $$0; - } + $agg$tmp2$byval_copy = sp + 12 | 0; + $agg$tmp$byval_copy = sp + 8 | 0; + $agg$tmp = sp + 4 | 0; + $agg$tmp2 = sp; + HEAP32[$agg$tmp >> 2] = HEAP32[$__b >> 2]; + HEAP32[$agg$tmp2 >> 2] = HEAP32[$__e >> 2]; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp2$byval_copy >> 2] = HEAP32[$agg$tmp2 >> 2]; + $call = __ZNKSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE23__do_get_floating_pointIeEES4_S4_S4_RNS_8ios_baseERjRT_($this, $agg$tmp$byval_copy, $agg$tmp2$byval_copy, $__iob, $__err, $__v) | 0; STACKTOP = sp; - return +$$1; -} - -function __ZNK10__cxxabiv117__class_type_info29process_static_type_above_dstEPNS_19__dynamic_cast_infoEPKvS4_i($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $10 = 0, $11 = 0, $21 = 0, $22 = 0, $28 = 0, $30 = 0; - HEAP8[$1 + 53 >> 0] = 1; - do if ((HEAP32[$1 + 4 >> 2] | 0) == ($3 | 0)) { - HEAP8[$1 + 52 >> 0] = 1; - $10 = $1 + 16 | 0; - $11 = HEAP32[$10 >> 2] | 0; - if (!$11) { - HEAP32[$10 >> 2] = $2; - HEAP32[$1 + 24 >> 2] = $4; - HEAP32[$1 + 36 >> 2] = 1; - if (!(($4 | 0) == 1 ? (HEAP32[$1 + 48 >> 2] | 0) == 1 : 0)) break; - HEAP8[$1 + 54 >> 0] = 1; - break; - } - if (($11 | 0) != ($2 | 0)) { - $30 = $1 + 36 | 0; - HEAP32[$30 >> 2] = (HEAP32[$30 >> 2] | 0) + 1; - HEAP8[$1 + 54 >> 0] = 1; - break; - } - $21 = $1 + 24 | 0; - $22 = HEAP32[$21 >> 2] | 0; - if (($22 | 0) == 2) { - HEAP32[$21 >> 2] = $4; - $28 = $4; - } else $28 = $22; - if (($28 | 0) == 1 ? (HEAP32[$1 + 48 >> 2] | 0) == 1 : 0) HEAP8[$1 + 54 >> 0] = 1; - } while (0); - return; -} - -function _h2v2_upsample($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $$03338 = 0, $$03437 = 0, $$03536 = 0, $$039 = 0, $10 = 0, $11 = 0, $12 = 0, $17 = 0, $22 = 0, $4 = 0, $5 = 0, $8 = 0; - $4 = HEAP32[$3 >> 2] | 0; - $5 = $0 + 320 | 0; - if ((HEAP32[$5 >> 2] | 0) <= 0) return; - $8 = $0 + 112 | 0; - $$03338 = 0; - $$039 = 0; - while (1) { - $10 = HEAP32[$4 + ($$039 << 2) >> 2] | 0; - $11 = HEAP32[$8 >> 2] | 0; - $12 = $10 + $11 | 0; - if (($11 | 0) > 0) { - $$03437 = HEAP32[$2 + ($$03338 << 2) >> 2] | 0; - $$03536 = $10; - while (1) { - $17 = HEAP8[$$03437 >> 0] | 0; - HEAP8[$$03536 >> 0] = $17; - HEAP8[$$03536 + 1 >> 0] = $17; - $$03536 = $$03536 + 2 | 0; - if ($$03536 >>> 0 >= $12 >>> 0) break; else $$03437 = $$03437 + 1 | 0; - } - $22 = HEAP32[$8 >> 2] | 0; - } else $22 = $11; - _jcopy_sample_rows($4, $$039, $4, $$039 | 1, 1, $22); - $$039 = $$039 + 2 | 0; - if (($$039 | 0) >= (HEAP32[$5 >> 2] | 0)) break; else $$03338 = $$03338 + 1 | 0; - } - return; + return $call | 0; } -function __ZNSt3__26vectorIN6vision7match_tENS_9allocatorIS2_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS2_RS4_EE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$pre$phiZ2D = 0, $11 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $3 = 0, $5 = 0, $7 = 0; - $2 = HEAP32[$0 >> 2] | 0; - $3 = $0 + 4 | 0; - $5 = $1 + 4 | 0; - $7 = (HEAP32[$3 >> 2] | 0) - $2 | 0; - $11 = (HEAP32[$5 >> 2] | 0) + (0 - ($7 >> 3) << 3) | 0; - HEAP32[$5 >> 2] = $11; - if (($7 | 0) > 0) { - _memcpy($11 | 0, $2 | 0, $7 | 0) | 0; - $$pre$phiZ2D = $5; - $15 = HEAP32[$5 >> 2] | 0; - } else { - $$pre$phiZ2D = $5; - $15 = $11; - } - $14 = HEAP32[$0 >> 2] | 0; - HEAP32[$0 >> 2] = $15; - HEAP32[$$pre$phiZ2D >> 2] = $14; - $16 = $1 + 8 | 0; - $17 = HEAP32[$3 >> 2] | 0; - HEAP32[$3 >> 2] = HEAP32[$16 >> 2]; - HEAP32[$16 >> 2] = $17; - $19 = $0 + 8 | 0; - $20 = $1 + 12 | 0; - $21 = HEAP32[$19 >> 2] | 0; - HEAP32[$19 >> 2] = HEAP32[$20 >> 2]; - HEAP32[$20 >> 2] = $21; - HEAP32[$1 >> 2] = HEAP32[$$pre$phiZ2D >> 2]; - return; -} - -function __ZNSt3__26vectorINS_4pairIfmEENS_9allocatorIS2_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS2_RS4_EE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$pre$phiZ2D = 0, $11 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $3 = 0, $5 = 0, $7 = 0; - $2 = HEAP32[$0 >> 2] | 0; - $3 = $0 + 4 | 0; - $5 = $1 + 4 | 0; - $7 = (HEAP32[$3 >> 2] | 0) - $2 | 0; - $11 = (HEAP32[$5 >> 2] | 0) + (0 - ($7 >> 3) << 3) | 0; - HEAP32[$5 >> 2] = $11; - if (($7 | 0) > 0) { - _memcpy($11 | 0, $2 | 0, $7 | 0) | 0; - $$pre$phiZ2D = $5; - $15 = HEAP32[$5 >> 2] | 0; - } else { - $$pre$phiZ2D = $5; - $15 = $11; - } - $14 = HEAP32[$0 >> 2] | 0; - HEAP32[$0 >> 2] = $15; - HEAP32[$$pre$phiZ2D >> 2] = $14; - $16 = $1 + 8 | 0; - $17 = HEAP32[$3 >> 2] | 0; - HEAP32[$3 >> 2] = HEAP32[$16 >> 2]; - HEAP32[$16 >> 2] = $17; - $19 = $0 + 8 | 0; - $20 = $1 + 12 | 0; - $21 = HEAP32[$19 >> 2] | 0; - HEAP32[$19 >> 2] = HEAP32[$20 >> 2]; - HEAP32[$20 >> 2] = $21; - HEAP32[$1 >> 2] = HEAP32[$$pre$phiZ2D >> 2]; - return; -} - -function __ZNSt3__26vectorINS_4pairIfiEENS_9allocatorIS2_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS2_RS4_EE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$pre$phiZ2D = 0, $11 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $3 = 0, $5 = 0, $7 = 0; - $2 = HEAP32[$0 >> 2] | 0; - $3 = $0 + 4 | 0; - $5 = $1 + 4 | 0; - $7 = (HEAP32[$3 >> 2] | 0) - $2 | 0; - $11 = (HEAP32[$5 >> 2] | 0) + (0 - ($7 >> 3) << 3) | 0; - HEAP32[$5 >> 2] = $11; - if (($7 | 0) > 0) { - _memcpy($11 | 0, $2 | 0, $7 | 0) | 0; - $$pre$phiZ2D = $5; - $15 = HEAP32[$5 >> 2] | 0; - } else { - $$pre$phiZ2D = $5; - $15 = $11; - } - $14 = HEAP32[$0 >> 2] | 0; - HEAP32[$0 >> 2] = $15; - HEAP32[$$pre$phiZ2D >> 2] = $14; - $16 = $1 + 8 | 0; - $17 = HEAP32[$3 >> 2] | 0; - HEAP32[$3 >> 2] = HEAP32[$16 >> 2]; - HEAP32[$16 >> 2] = $17; - $19 = $0 + 8 | 0; - $20 = $1 + 12 | 0; - $21 = HEAP32[$19 >> 2] | 0; - HEAP32[$19 >> 2] = HEAP32[$20 >> 2]; - HEAP32[$20 >> 2] = $21; - HEAP32[$1 >> 2] = HEAP32[$$pre$phiZ2D >> 2]; - return; -} - -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E17parseCVQualifiersEv($0) { - $0 = $0 | 0; - var $1 = 0, sp = 0; +function __ZNKSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_RNS_8ios_baseERjRd($this, $__b, $__e, $__iob, $__err, $__v) { + $this = $this | 0; + $__b = $__b | 0; + $__e = $__e | 0; + $__iob = $__iob | 0; + $__err = $__err | 0; + $__v = $__v | 0; + var $agg$tmp = 0, $agg$tmp$byval_copy = 0, $agg$tmp2 = 0, $agg$tmp2$byval_copy = 0, $call = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $1 = sp; - HEAP32[$1 >> 2] = 0; - if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($0, 114) | 0) __ZN12_GLOBAL__N_116itanium_demangleoRERNS0_10QualifiersES1_($1, 4); - if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($0, 86) | 0) __ZN12_GLOBAL__N_116itanium_demangleoRERNS0_10QualifiersES1_($1, 2); - if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($0, 75) | 0) __ZN12_GLOBAL__N_116itanium_demangleoRERNS0_10QualifiersES1_($1, 1); + $agg$tmp2$byval_copy = sp + 12 | 0; + $agg$tmp$byval_copy = sp + 8 | 0; + $agg$tmp = sp + 4 | 0; + $agg$tmp2 = sp; + HEAP32[$agg$tmp >> 2] = HEAP32[$__b >> 2]; + HEAP32[$agg$tmp2 >> 2] = HEAP32[$__e >> 2]; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp2$byval_copy >> 2] = HEAP32[$agg$tmp2 >> 2]; + $call = __ZNKSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE23__do_get_floating_pointIdEES4_S4_S4_RNS_8ios_baseERjRT_($this, $agg$tmp$byval_copy, $agg$tmp2$byval_copy, $__iob, $__err, $__v) | 0; STACKTOP = sp; - return HEAP32[$1 >> 2] | 0; + return $call | 0; } -function __ZNKSt3__27codecvtIwc11__mbstate_tE10do_unshiftERS1_PcS4_RS4_($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $$0 = 0, $$018 = 0, $$019 = 0, $13 = 0, $20 = 0, $21 = 0, $5 = 0, $8 = 0, $9 = 0, sp = 0; +function __ZNKSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_RNS_8ios_baseERjRf($this, $__b, $__e, $__iob, $__err, $__v) { + $this = $this | 0; + $__b = $__b | 0; + $__e = $__e | 0; + $__iob = $__iob | 0; + $__err = $__err | 0; + $__v = $__v | 0; + var $agg$tmp = 0, $agg$tmp$byval_copy = 0, $agg$tmp2 = 0, $agg$tmp2$byval_copy = 0, $call = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $5 = sp; - HEAP32[$4 >> 2] = $2; - $8 = ___uselocale(HEAP32[$0 + 8 >> 2] | 0) | 0; - $9 = _wcrtomb($5, 0, $1) | 0; - if ($8 | 0) ___uselocale($8) | 0; - L4 : do if (($9 + 1 | 0) >>> 0 >= 2) { - $13 = $9 + -1 | 0; - if ($13 >>> 0 > ($3 - (HEAP32[$4 >> 2] | 0) | 0) >>> 0) $$019 = 1; else { - $$0 = $5; - $$018 = $13; - while (1) { - if (!$$018) { - $$019 = 0; - break L4; - } - $20 = HEAP8[$$0 >> 0] | 0; - $21 = HEAP32[$4 >> 2] | 0; - HEAP32[$4 >> 2] = $21 + 1; - HEAP8[$21 >> 0] = $20; - $$0 = $$0 + 1 | 0; - $$018 = $$018 + -1 | 0; - } - } - } else $$019 = 2; while (0); + $agg$tmp2$byval_copy = sp + 12 | 0; + $agg$tmp$byval_copy = sp + 8 | 0; + $agg$tmp = sp + 4 | 0; + $agg$tmp2 = sp; + HEAP32[$agg$tmp >> 2] = HEAP32[$__b >> 2]; + HEAP32[$agg$tmp2 >> 2] = HEAP32[$__e >> 2]; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp2$byval_copy >> 2] = HEAP32[$agg$tmp2 >> 2]; + $call = __ZNKSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE23__do_get_floating_pointIfEES4_S4_S4_RNS_8ios_baseERjRT_($this, $agg$tmp$byval_copy, $agg$tmp2$byval_copy, $__iob, $__err, $__v) | 0; STACKTOP = sp; - return $$019 | 0; -} - -function _fill_input_buffer($0) { - $0 = $0 | 0; - var $$0 = 0, $$pre$phi22Z2D = 0, $12 = 0, $15 = 0, $2 = 0, $22 = 0, $23 = 0, $3 = 0, $7 = 0, $9 = 0; - $2 = HEAP32[$0 + 24 >> 2] | 0; - $3 = $2 + 32 | 0; - $7 = _fread(HEAP32[$3 >> 2] | 0, 1, 4096, HEAP32[$2 + 28 >> 2] | 0) | 0; - $9 = $2 + 36 | 0; - if ($7 | 0) { - $$0 = $7; - $22 = HEAP32[$3 >> 2] | 0; - HEAP32[$2 >> 2] = $22; - $23 = $2 + 4 | 0; - HEAP32[$23 >> 2] = $$0; - HEAP32[$9 >> 2] = 0; - return 1; - } - if (!(HEAP32[$9 >> 2] | 0)) $$pre$phi22Z2D = $0; else { - $12 = HEAP32[$0 >> 2] | 0; - HEAP32[$12 + 20 >> 2] = 43; - FUNCTION_TABLE_vi[HEAP32[$12 >> 2] & 255]($0); - $$pre$phi22Z2D = $0; - } - $15 = HEAP32[$0 >> 2] | 0; - HEAP32[$15 + 20 >> 2] = 123; - FUNCTION_TABLE_vii[HEAP32[$15 + 4 >> 2] & 255]($$pre$phi22Z2D, -1); - HEAP8[HEAP32[$3 >> 2] >> 0] = -1; - HEAP8[(HEAP32[$3 >> 2] | 0) + 1 >> 0] = -39; - $$0 = 2; - $22 = HEAP32[$3 >> 2] | 0; - HEAP32[$2 >> 2] = $22; - $23 = $2 + 4 | 0; - HEAP32[$23 >> 2] = $$0; - HEAP32[$9 >> 2] = 0; - return 1; + return $call | 0; } -function _atoi($0) { - $0 = $0 | 0; - var $$0 = 0, $$010$lcssa = 0, $$01015 = 0, $$011 = 0, $$1 = 0, $$112 = 0, $$214 = 0, $$pre$phiZ2D = 0, $14 = 0, $5 = 0, $7 = 0, label = 0; - $$011 = $0; - while (1) { - $5 = $$011 + 1 | 0; - if (!(_isspace(HEAP8[$$011 >> 0] | 0) | 0)) break; else $$011 = $5; - } - $7 = HEAP8[$$011 >> 0] | 0; - switch ($7 | 0) { - case 45: - { - $$0 = 1; - label = 5; - break; - } - case 43: - { - $$0 = 0; - label = 5; - break; - } - default: - { - $$1 = 0; - $$112 = $$011; - $$pre$phiZ2D = $7; - } - } - if ((label | 0) == 5) { - $$1 = $$0; - $$112 = $5; - $$pre$phiZ2D = HEAP8[$5 >> 0] | 0; - } - if (!(_isdigit($$pre$phiZ2D) | 0)) $$010$lcssa = 0; else { - $$01015 = 0; - $$214 = $$112; - while (1) { - $14 = ($$01015 * 10 | 0) + 48 - (HEAP8[$$214 >> 0] | 0) | 0; - $$214 = $$214 + 1 | 0; - if (!(_isdigit(HEAP8[$$214 >> 0] | 0) | 0)) { - $$010$lcssa = $14; - break; - } else $$01015 = $14; - } - } - return (($$1 | 0) == 0 ? 0 - $$010$lcssa | 0 : $$010$lcssa) | 0; +function __ZNKSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_RNS_8ios_baseERjRe($this, $__b, $__e, $__iob, $__err, $__v) { + $this = $this | 0; + $__b = $__b | 0; + $__e = $__e | 0; + $__iob = $__iob | 0; + $__err = $__err | 0; + $__v = $__v | 0; + var $agg$tmp = 0, $agg$tmp$byval_copy = 0, $agg$tmp2 = 0, $agg$tmp2$byval_copy = 0, $call = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $agg$tmp2$byval_copy = sp + 12 | 0; + $agg$tmp$byval_copy = sp + 8 | 0; + $agg$tmp = sp + 4 | 0; + $agg$tmp2 = sp; + HEAP32[$agg$tmp >> 2] = HEAP32[$__b >> 2]; + HEAP32[$agg$tmp2 >> 2] = HEAP32[$__e >> 2]; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp2$byval_copy >> 2] = HEAP32[$agg$tmp2 >> 2]; + $call = __ZNKSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE23__do_get_floating_pointIeEES4_S4_S4_RNS_8ios_baseERjRT_($this, $agg$tmp$byval_copy, $agg$tmp2$byval_copy, $__iob, $__err, $__v) | 0; + STACKTOP = sp; + return $call | 0; } -function __ZNK6vision21HoughSimilarityVoting12mapVoteToBinERfS1_S1_S1_ffff($0, $1, $2, $3, $4, $5, $6, $7, $8) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = +$5; - $6 = +$6; - $7 = +$7; - $8 = +$8; - var $11 = 0.0, $13 = 0.0, $19 = 0.0, $22 = 0.0, $24 = 0.0, $30 = 0.0, $41 = 0.0, $43 = 0.0, $49 = 0.0; - $11 = +(HEAP32[$0 + 52 >> 2] | 0); - $13 = +HEAPF32[$0 + 20 >> 2]; - $19 = +__ZN6vision12SafeDivisionIfEET_S1_S1_($5 - $13, +HEAPF32[$0 + 24 >> 2] - $13) * $11; - HEAPF32[$1 >> 2] = $19; - $22 = +(HEAP32[$0 + 56 >> 2] | 0); - $24 = +HEAPF32[$0 + 28 >> 2]; - $30 = +__ZN6vision12SafeDivisionIfEET_S1_S1_($6 - $24, +HEAPF32[$0 + 32 >> 2] - $24) * $22; - HEAPF32[$2 >> 2] = $30; - HEAPF32[$3 >> 2] = ($7 + 3.141592653589793) * .15915494309189535 * +(HEAP32[$0 + 60 >> 2] | 0); - $41 = +(HEAP32[$0 + 64 >> 2] | 0); - $43 = +HEAPF32[$0 + 36 >> 2]; - $49 = +__ZN6vision12SafeDivisionIfEET_S1_S1_($8 - $43, +HEAPF32[$0 + 40 >> 2] - $43) * $41; - HEAPF32[$4 >> 2] = $49; - return; +function __ZNKSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_RNS_8ios_baseERjRd($this, $__b, $__e, $__iob, $__err, $__v) { + $this = $this | 0; + $__b = $__b | 0; + $__e = $__e | 0; + $__iob = $__iob | 0; + $__err = $__err | 0; + $__v = $__v | 0; + var $agg$tmp = 0, $agg$tmp$byval_copy = 0, $agg$tmp2 = 0, $agg$tmp2$byval_copy = 0, $call = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $agg$tmp2$byval_copy = sp + 12 | 0; + $agg$tmp$byval_copy = sp + 8 | 0; + $agg$tmp = sp + 4 | 0; + $agg$tmp2 = sp; + HEAP32[$agg$tmp >> 2] = HEAP32[$__b >> 2]; + HEAP32[$agg$tmp2 >> 2] = HEAP32[$__e >> 2]; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp2$byval_copy >> 2] = HEAP32[$agg$tmp2 >> 2]; + $call = __ZNKSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE23__do_get_floating_pointIdEES4_S4_S4_RNS_8ios_baseERjRT_($this, $agg$tmp$byval_copy, $agg$tmp2$byval_copy, $__iob, $__err, $__v) | 0; + STACKTOP = sp; + return $call | 0; } -function __ZN10emscripten8internal7InvokerIiJiNSt3__212basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEE6invokeEPFiiS8_EiPNS0_11BindingTypeIS8_vEUt_E($fn, $args, $args1) { - $fn = $fn | 0; - $args = $args | 0; - $args1 = $args1 | 0; - var $agg$tmp = 0, $call = 0, $call3 = 0, $call4 = 0, $ref$tmp = 0, sp = 0; +function __ZNKSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_RNS_8ios_baseERjS8_($this, $__b, $__e, $__iob, $__err, $__v) { + $this = $this | 0; + $__b = $__b | 0; + $__e = $__e | 0; + $__iob = $__iob | 0; + $__err = $__err | 0; + $__v = $__v | 0; + var $agg$tmp = 0, $agg$tmp$byval_copy = 0, $agg$tmp2 = 0, $agg$tmp2$byval_copy = 0, $call = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $ref$tmp = sp + 12 | 0; - $agg$tmp = sp; - $call = __ZN10emscripten8internal11BindingTypeIivE12fromWireTypeEi($args) | 0; - __ZN10emscripten8internal11BindingTypeINSt3__212basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEvE12fromWireTypeEPNS9_Ut_E($agg$tmp, $args1); - $call3 = FUNCTION_TABLE_iii[$fn & 127]($call, $agg$tmp) | 0; - HEAP32[$ref$tmp >> 2] = $call3; - $call4 = __ZN10emscripten8internal11BindingTypeIivE10toWireTypeERKi($ref$tmp) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($agg$tmp); + $agg$tmp2$byval_copy = sp + 12 | 0; + $agg$tmp$byval_copy = sp + 8 | 0; + $agg$tmp = sp + 4 | 0; + $agg$tmp2 = sp; + HEAP32[$agg$tmp >> 2] = HEAP32[$__b >> 2]; + HEAP32[$agg$tmp2 >> 2] = HEAP32[$__e >> 2]; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp2$byval_copy >> 2] = HEAP32[$agg$tmp2 >> 2]; + $call = __ZNKSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE17__do_get_unsignedIjEES4_S4_S4_RNS_8ios_baseERjRT_($this, $agg$tmp$byval_copy, $agg$tmp2$byval_copy, $__iob, $__err, $__v) | 0; STACKTOP = sp; - return $call4 | 0; + return $call | 0; } -function __ZZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parseNestedNameEPNS5_9NameStateEENKUlPNS0_4NodeEE_clES9_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $13 = 0, $2 = 0, $3 = 0, $5 = 0, $6 = 0, $9 = 0, sp = 0; +function __ZNKSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_RNS_8ios_baseERjS8_($this, $__b, $__e, $__iob, $__err, $__v) { + $this = $this | 0; + $__b = $__b | 0; + $__e = $__e | 0; + $__iob = $__iob | 0; + $__err = $__err | 0; + $__v = $__v | 0; + var $agg$tmp = 0, $agg$tmp$byval_copy = 0, $agg$tmp2 = 0, $agg$tmp2$byval_copy = 0, $call = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $2 = sp; - HEAP32[$2 >> 2] = $1; - $3 = HEAP32[$0 >> 2] | 0; - if (!$1) $$0 = 0; else { - $5 = $0 + 4 | 0; - $6 = HEAP32[$5 >> 2] | 0; - if (!(HEAP32[$6 >> 2] | 0)) HEAP32[$6 >> 2] = $1; else { - $9 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_10NestedNameEJRPNS0_4NodeESA_EEES9_DpOT0_($3, $6, $2) | 0; - HEAP32[HEAP32[$5 >> 2] >> 2] = $9; - } - $13 = HEAP32[HEAP32[$0 + 8 >> 2] >> 2] | 0; - if ($13 | 0) HEAP8[$13 + 1 >> 0] = 0; - $$0 = (HEAP32[HEAP32[$5 >> 2] >> 2] | 0) != 0; - } + $agg$tmp2$byval_copy = sp + 12 | 0; + $agg$tmp$byval_copy = sp + 8 | 0; + $agg$tmp = sp + 4 | 0; + $agg$tmp2 = sp; + HEAP32[$agg$tmp >> 2] = HEAP32[$__b >> 2]; + HEAP32[$agg$tmp2 >> 2] = HEAP32[$__e >> 2]; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp2$byval_copy >> 2] = HEAP32[$agg$tmp2 >> 2]; + $call = __ZNKSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE17__do_get_unsignedIjEES4_S4_S4_RNS_8ios_baseERjRT_($this, $agg$tmp$byval_copy, $agg$tmp2$byval_copy, $__iob, $__err, $__v) | 0; STACKTOP = sp; - return $$0 | 0; + return $call | 0; } -function __ZNSt3__26vectorItNS_9allocatorItEEE26__swap_out_circular_bufferERNS_14__split_bufferItRS2_EE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$pre$phiZ2D = 0, $11 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $3 = 0, $5 = 0, $7 = 0; - $2 = HEAP32[$0 >> 2] | 0; - $3 = $0 + 4 | 0; - $5 = $1 + 4 | 0; - $7 = (HEAP32[$3 >> 2] | 0) - $2 | 0; - $11 = (HEAP32[$5 >> 2] | 0) + (0 - ($7 >> 1) << 1) | 0; - HEAP32[$5 >> 2] = $11; - if (($7 | 0) > 0) { - _memcpy($11 | 0, $2 | 0, $7 | 0) | 0; - $$pre$phiZ2D = $5; - $15 = HEAP32[$5 >> 2] | 0; - } else { - $$pre$phiZ2D = $5; - $15 = $11; - } - $14 = HEAP32[$0 >> 2] | 0; - HEAP32[$0 >> 2] = $15; - HEAP32[$$pre$phiZ2D >> 2] = $14; - $16 = $1 + 8 | 0; - $17 = HEAP32[$3 >> 2] | 0; - HEAP32[$3 >> 2] = HEAP32[$16 >> 2]; - HEAP32[$16 >> 2] = $17; - $19 = $0 + 8 | 0; - $20 = $1 + 12 | 0; - $21 = HEAP32[$19 >> 2] | 0; - HEAP32[$19 >> 2] = HEAP32[$20 >> 2]; - HEAP32[$20 >> 2] = $21; - HEAP32[$1 >> 2] = HEAP32[$$pre$phiZ2D >> 2]; - return; -} - -function __ZNSt3__26vectorIiNS_9allocatorIiEEE26__swap_out_circular_bufferERNS_14__split_bufferIiRS2_EE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$pre$phiZ2D = 0, $11 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $3 = 0, $5 = 0, $7 = 0; - $2 = HEAP32[$0 >> 2] | 0; - $3 = $0 + 4 | 0; - $5 = $1 + 4 | 0; - $7 = (HEAP32[$3 >> 2] | 0) - $2 | 0; - $11 = (HEAP32[$5 >> 2] | 0) + (0 - ($7 >> 2) << 2) | 0; - HEAP32[$5 >> 2] = $11; - if (($7 | 0) > 0) { - _memcpy($11 | 0, $2 | 0, $7 | 0) | 0; - $$pre$phiZ2D = $5; - $15 = HEAP32[$5 >> 2] | 0; - } else { - $$pre$phiZ2D = $5; - $15 = $11; - } - $14 = HEAP32[$0 >> 2] | 0; - HEAP32[$0 >> 2] = $15; - HEAP32[$$pre$phiZ2D >> 2] = $14; - $16 = $1 + 8 | 0; - $17 = HEAP32[$3 >> 2] | 0; - HEAP32[$3 >> 2] = HEAP32[$16 >> 2]; - HEAP32[$16 >> 2] = $17; - $19 = $0 + 8 | 0; - $20 = $1 + 12 | 0; - $21 = HEAP32[$19 >> 2] | 0; - HEAP32[$19 >> 2] = HEAP32[$20 >> 2]; - HEAP32[$20 >> 2] = $21; - HEAP32[$1 >> 2] = HEAP32[$$pre$phiZ2D >> 2]; - return; -} - -function __ZNSt3__26vectorIfNS_9allocatorIfEEE26__swap_out_circular_bufferERNS_14__split_bufferIfRS2_EE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$pre$phiZ2D = 0, $11 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $3 = 0, $5 = 0, $7 = 0; - $2 = HEAP32[$0 >> 2] | 0; - $3 = $0 + 4 | 0; - $5 = $1 + 4 | 0; - $7 = (HEAP32[$3 >> 2] | 0) - $2 | 0; - $11 = (HEAP32[$5 >> 2] | 0) + (0 - ($7 >> 2) << 2) | 0; - HEAP32[$5 >> 2] = $11; - if (($7 | 0) > 0) { - _memcpy($11 | 0, $2 | 0, $7 | 0) | 0; - $$pre$phiZ2D = $5; - $15 = HEAP32[$5 >> 2] | 0; - } else { - $$pre$phiZ2D = $5; - $15 = $11; - } - $14 = HEAP32[$0 >> 2] | 0; - HEAP32[$0 >> 2] = $15; - HEAP32[$$pre$phiZ2D >> 2] = $14; - $16 = $1 + 8 | 0; - $17 = HEAP32[$3 >> 2] | 0; - HEAP32[$3 >> 2] = HEAP32[$16 >> 2]; - HEAP32[$16 >> 2] = $17; - $19 = $0 + 8 | 0; - $20 = $1 + 12 | 0; - $21 = HEAP32[$19 >> 2] | 0; - HEAP32[$19 >> 2] = HEAP32[$20 >> 2]; - HEAP32[$20 >> 2] = $21; - HEAP32[$1 >> 2] = HEAP32[$$pre$phiZ2D >> 2]; - return; -} - -function __ZN6vision23AccumulateScaledVector9IfEEvPT_PKS1_S1_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = +$2; - var $10 = 0, $16 = 0, $22 = 0, $28 = 0, $34 = 0, $40 = 0, $46 = 0, $52 = 0; - HEAPF32[$0 >> 2] = +HEAPF32[$0 >> 2] + +HEAPF32[$1 >> 2] * $2; - $10 = $0 + 4 | 0; - HEAPF32[$10 >> 2] = +HEAPF32[$10 >> 2] + +HEAPF32[$1 + 4 >> 2] * $2; - $16 = $0 + 8 | 0; - HEAPF32[$16 >> 2] = +HEAPF32[$16 >> 2] + +HEAPF32[$1 + 8 >> 2] * $2; - $22 = $0 + 12 | 0; - HEAPF32[$22 >> 2] = +HEAPF32[$22 >> 2] + +HEAPF32[$1 + 12 >> 2] * $2; - $28 = $0 + 16 | 0; - HEAPF32[$28 >> 2] = +HEAPF32[$28 >> 2] + +HEAPF32[$1 + 16 >> 2] * $2; - $34 = $0 + 20 | 0; - HEAPF32[$34 >> 2] = +HEAPF32[$34 >> 2] + +HEAPF32[$1 + 20 >> 2] * $2; - $40 = $0 + 24 | 0; - HEAPF32[$40 >> 2] = +HEAPF32[$40 >> 2] + +HEAPF32[$1 + 24 >> 2] * $2; - $46 = $0 + 28 | 0; - HEAPF32[$46 >> 2] = +HEAPF32[$46 >> 2] + +HEAPF32[$1 + 28 >> 2] * $2; - $52 = $0 + 32 | 0; - HEAPF32[$52 >> 2] = +HEAPF32[$52 >> 2] + +HEAPF32[$1 + 32 >> 2] * $2; +function __ZNK12_GLOBAL__N_116itanium_demangle12NoexceptSpec9printLeftERNS_12OutputStreamE($this, $S) { + $this = $this | 0; + $S = $S | 0; + var $agg$tmp = 0, $agg$tmp2 = 0, $agg$tmp2$byval_copy = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 32 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); + $agg$tmp2$byval_copy = sp + 16 | 0; + $agg$tmp = sp + 8 | 0; + $agg$tmp2 = sp; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, 57300); + HEAP32[$agg$tmp2$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp2$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp2$byval_copy); + __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(HEAP32[$this + 8 >> 2] | 0, $S); + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp2, 52806); + HEAP32[$agg$tmp2$byval_copy >> 2] = HEAP32[$agg$tmp2 >> 2]; + HEAP32[$agg$tmp2$byval_copy + 4 >> 2] = HEAP32[$agg$tmp2 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp2$byval_copy); + STACKTOP = sp; return; } @@ -87390,1098 +89134,1235 @@ function __ZN12arControllerC2Ev($this) { HEAP32[$videoLuma + 12 >> 2] = 0; HEAP32[$videoLuma + 16 >> 2] = 0; HEAP32[$videoLuma + 20 >> 2] = 0; - HEAP32[$this + 240 >> 2] = -2; - HEAP32[$this + 244 >> 2] = 0; - $surfaceSets = $this + 288 | 0; + HEAPF64[$this + 248 >> 3] = 60.0; + HEAPF64[$this + 256 >> 3] = 120.0; + HEAP32[$this + 264 >> 2] = -2; + HEAP32[$this + 268 >> 2] = 0; + $surfaceSets = $this + 312 | 0; HEAP32[$surfaceSets >> 2] = 0; HEAP32[$surfaceSets + 4 >> 2] = 0; HEAP32[$surfaceSets + 8 >> 2] = 0; HEAP32[$surfaceSets + 12 >> 2] = 0; - HEAP32[$this + 304 >> 2] = 1065353216; - HEAPF64[$this + 312 >> 3] = .0001; - HEAPF64[$this + 320 >> 3] = 1.0e3; - $__begin_$i$i = $this + 328 | 0; + HEAP32[$this + 328 >> 2] = 1065353216; + HEAPF64[$this + 336 >> 3] = .0001; + HEAPF64[$this + 344 >> 3] = 1.0e3; + $__begin_$i$i = $this + 352 | 0; HEAP32[$__begin_$i$i >> 2] = 0; HEAP32[$__begin_$i$i + 4 >> 2] = 0; HEAP32[$__begin_$i$i + 8 >> 2] = 0; HEAP32[$__begin_$i$i + 12 >> 2] = 0; - HEAP32[$this + 472 >> 2] = 2; + HEAP32[$this + 496 >> 2] = 2; return; } -function ___fseeko_unlocked($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $$0 = 0, $12 = 0, $14 = 0, $16 = 0, $26 = 0, $27 = 0, $9 = 0, label = 0; - if (($3 | 0) == 1) { - $9 = (HEAP32[$0 + 8 >> 2] | 0) - (HEAP32[$0 + 4 >> 2] | 0) | 0; - $12 = _i64Subtract($1 | 0, $2 | 0, $9 | 0, (($9 | 0) < 0) << 31 >> 31 | 0) | 0; - $26 = $12; - $27 = getTempRet0() | 0; - } else { - $26 = $1; - $27 = $2; - } - $14 = $0 + 20 | 0; - $16 = $0 + 28 | 0; - if ((HEAP32[$14 >> 2] | 0) >>> 0 > (HEAP32[$16 >> 2] | 0) >>> 0 ? (FUNCTION_TABLE_iiii[HEAP32[$0 + 36 >> 2] & 63]($0, 0, 0) | 0, (HEAP32[$14 >> 2] | 0) == 0) : 0) $$0 = -1; else { - HEAP32[$0 + 16 >> 2] = 0; - HEAP32[$16 >> 2] = 0; - HEAP32[$14 >> 2] = 0; - FUNCTION_TABLE_iiiii[HEAP32[$0 + 40 >> 2] & 15]($0, $26, $27, $3) | 0; - if ((getTempRet0() | 0) < 0) $$0 = -1; else { - HEAP32[$0 + 8 >> 2] = 0; - HEAP32[$0 + 4 >> 2] = 0; - HEAP32[$0 >> 2] = HEAP32[$0 >> 2] & -17; - $$0 = 0; - } - } - return $$0 | 0; +function __ZNKSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_RNS_8ios_baseERjRy($this, $__b, $__e, $__iob, $__err, $__v) { + $this = $this | 0; + $__b = $__b | 0; + $__e = $__e | 0; + $__iob = $__iob | 0; + $__err = $__err | 0; + $__v = $__v | 0; + var $agg$tmp = 0, $agg$tmp$byval_copy = 0, $agg$tmp2 = 0, $agg$tmp2$byval_copy = 0, $call = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $agg$tmp2$byval_copy = sp + 12 | 0; + $agg$tmp$byval_copy = sp + 8 | 0; + $agg$tmp = sp + 4 | 0; + $agg$tmp2 = sp; + HEAP32[$agg$tmp >> 2] = HEAP32[$__b >> 2]; + HEAP32[$agg$tmp2 >> 2] = HEAP32[$__e >> 2]; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp2$byval_copy >> 2] = HEAP32[$agg$tmp2 >> 2]; + $call = __ZNKSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE17__do_get_unsignedIyEES4_S4_S4_RNS_8ios_baseERjRT_($this, $agg$tmp$byval_copy, $agg$tmp2$byval_copy, $__iob, $__err, $__v) | 0; + STACKTOP = sp; + return $call | 0; } -function _setThreshold($id, $threshold) { - $id = $id | 0; - $threshold = $threshold | 0; - var $call7 = 0, $id$addr = 0, $vararg_buffer = 0, sp = 0; +function __ZNKSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_RNS_8ios_baseERjRt($this, $__b, $__e, $__iob, $__err, $__v) { + $this = $this | 0; + $__b = $__b | 0; + $__e = $__e | 0; + $__iob = $__iob | 0; + $__err = $__err | 0; + $__v = $__v | 0; + var $agg$tmp = 0, $agg$tmp$byval_copy = 0, $agg$tmp2 = 0, $agg$tmp2$byval_copy = 0, $call = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $vararg_buffer = sp; - $id$addr = sp + 4 | 0; - HEAP32[$id$addr >> 2] = $id; - if ((__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(65260, $id$addr) | 0 ? ($call7 = __ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(65260, $id$addr) | 0, $threshold >>> 0 <= 255) : 0) ? (_arSetLabelingThresh(HEAP32[$call7 + 216 >> 2] | 0, $threshold) | 0) == 0 : 0) { - HEAP32[$vararg_buffer >> 2] = $threshold; - _arLog(0, 1, 41674, $vararg_buffer); - } + $agg$tmp2$byval_copy = sp + 12 | 0; + $agg$tmp$byval_copy = sp + 8 | 0; + $agg$tmp = sp + 4 | 0; + $agg$tmp2 = sp; + HEAP32[$agg$tmp >> 2] = HEAP32[$__b >> 2]; + HEAP32[$agg$tmp2 >> 2] = HEAP32[$__e >> 2]; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp2$byval_copy >> 2] = HEAP32[$agg$tmp2 >> 2]; + $call = __ZNKSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE17__do_get_unsignedItEES4_S4_S4_RNS_8ios_baseERjRT_($this, $agg$tmp$byval_copy, $agg$tmp2$byval_copy, $__iob, $__err, $__v) | 0; STACKTOP = sp; - return; + return $call | 0; } -function __ZNSt3__26vectorIhNS_9allocatorIhEEE26__swap_out_circular_bufferERNS_14__split_bufferIhRS2_EE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$pre$phiZ2D = 0, $10 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $3 = 0, $5 = 0, $7 = 0; - $2 = HEAP32[$0 >> 2] | 0; - $3 = $0 + 4 | 0; - $5 = $1 + 4 | 0; - $7 = (HEAP32[$3 >> 2] | 0) - $2 | 0; - $10 = (HEAP32[$5 >> 2] | 0) + (0 - $7) | 0; - HEAP32[$5 >> 2] = $10; - if (($7 | 0) > 0) { - _memcpy($10 | 0, $2 | 0, $7 | 0) | 0; - $$pre$phiZ2D = $5; - $14 = HEAP32[$5 >> 2] | 0; - } else { - $$pre$phiZ2D = $5; - $14 = $10; - } - $13 = HEAP32[$0 >> 2] | 0; - HEAP32[$0 >> 2] = $14; - HEAP32[$$pre$phiZ2D >> 2] = $13; - $15 = $1 + 8 | 0; - $16 = HEAP32[$3 >> 2] | 0; - HEAP32[$3 >> 2] = HEAP32[$15 >> 2]; - HEAP32[$15 >> 2] = $16; - $18 = $0 + 8 | 0; - $19 = $1 + 12 | 0; - $20 = HEAP32[$18 >> 2] | 0; - HEAP32[$18 >> 2] = HEAP32[$19 >> 2]; - HEAP32[$19 >> 2] = $20; - HEAP32[$1 >> 2] = HEAP32[$$pre$phiZ2D >> 2]; - return; +function __ZNKSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_RNS_8ios_baseERjRm($this, $__b, $__e, $__iob, $__err, $__v) { + $this = $this | 0; + $__b = $__b | 0; + $__e = $__e | 0; + $__iob = $__iob | 0; + $__err = $__err | 0; + $__v = $__v | 0; + var $agg$tmp = 0, $agg$tmp$byval_copy = 0, $agg$tmp2 = 0, $agg$tmp2$byval_copy = 0, $call = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $agg$tmp2$byval_copy = sp + 12 | 0; + $agg$tmp$byval_copy = sp + 8 | 0; + $agg$tmp = sp + 4 | 0; + $agg$tmp2 = sp; + HEAP32[$agg$tmp >> 2] = HEAP32[$__b >> 2]; + HEAP32[$agg$tmp2 >> 2] = HEAP32[$__e >> 2]; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp2$byval_copy >> 2] = HEAP32[$agg$tmp2 >> 2]; + $call = __ZNKSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE17__do_get_unsignedImEES4_S4_S4_RNS_8ios_baseERjRT_($this, $agg$tmp$byval_copy, $agg$tmp2$byval_copy, $__iob, $__err, $__v) | 0; + STACKTOP = sp; + return $call | 0; } -function _getThresholdMode($id) { - $id = $id | 0; - var $arhandle = 0, $cmp = 0, $id$addr = 0, $retval$1 = 0, $thresholdMode = 0, sp = 0; +function __ZNKSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_RNS_8ios_baseERjRy($this, $__b, $__e, $__iob, $__err, $__v) { + $this = $this | 0; + $__b = $__b | 0; + $__e = $__e | 0; + $__iob = $__iob | 0; + $__err = $__err | 0; + $__v = $__v | 0; + var $agg$tmp = 0, $agg$tmp$byval_copy = 0, $agg$tmp2 = 0, $agg$tmp2$byval_copy = 0, $call = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $id$addr = sp; - $thresholdMode = sp + 4 | 0; - HEAP32[$id$addr >> 2] = $id; - if (!(__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(65260, $id$addr) | 0)) $retval$1 = -1; else { - $arhandle = (__ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(65260, $id$addr) | 0) + 216 | 0; - $cmp = (_arGetLabelingThreshMode(HEAP32[$arhandle >> 2] | 0, $thresholdMode) | 0) == 0; - $retval$1 = $cmp ? HEAP32[$thresholdMode >> 2] | 0 : -1; - } + $agg$tmp2$byval_copy = sp + 12 | 0; + $agg$tmp$byval_copy = sp + 8 | 0; + $agg$tmp = sp + 4 | 0; + $agg$tmp2 = sp; + HEAP32[$agg$tmp >> 2] = HEAP32[$__b >> 2]; + HEAP32[$agg$tmp2 >> 2] = HEAP32[$__e >> 2]; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp2$byval_copy >> 2] = HEAP32[$agg$tmp2 >> 2]; + $call = __ZNKSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE17__do_get_unsignedIyEES4_S4_S4_RNS_8ios_baseERjRT_($this, $agg$tmp$byval_copy, $agg$tmp2$byval_copy, $__iob, $__err, $__v) | 0; STACKTOP = sp; - return $retval$1 | 0; + return $call | 0; } -function __ZNSt3__211__stdoutbufIwE4syncEv($0) { - $0 = $0 | 0; - var $$2 = 0, $1 = 0, $13 = 0, $15 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, label = 0, sp = 0; +function __ZNKSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_RNS_8ios_baseERjRt($this, $__b, $__e, $__iob, $__err, $__v) { + $this = $this | 0; + $__b = $__b | 0; + $__e = $__e | 0; + $__iob = $__iob | 0; + $__err = $__err | 0; + $__v = $__v | 0; + var $agg$tmp = 0, $agg$tmp$byval_copy = 0, $agg$tmp2 = 0, $agg$tmp2$byval_copy = 0, $call = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $1 = sp + 8 | 0; - $2 = sp; - $3 = $0 + 36 | 0; - $4 = $0 + 40 | 0; - $5 = $1 + 8 | 0; - $6 = $1; - $7 = $0 + 32 | 0; - L1 : while (1) { - $8 = HEAP32[$3 >> 2] | 0; - $13 = FUNCTION_TABLE_iiiiii[HEAP32[(HEAP32[$8 >> 2] | 0) + 20 >> 2] & 31]($8, HEAP32[$4 >> 2] | 0, $1, $5, $2) | 0; - $15 = (HEAP32[$2 >> 2] | 0) - $6 | 0; - if ((_fwrite($1, 1, $15, HEAP32[$7 >> 2] | 0) | 0) != ($15 | 0)) { - $$2 = -1; - break; - } - switch ($13 | 0) { - case 1: - break; - case 2: - { - $$2 = -1; - break L1; - break; - } - default: - { - label = 4; - break L1; - } - } - } - if ((label | 0) == 4) $$2 = ((_fflush(HEAP32[$7 >> 2] | 0) | 0) != 0) << 31 >> 31; + $agg$tmp2$byval_copy = sp + 12 | 0; + $agg$tmp$byval_copy = sp + 8 | 0; + $agg$tmp = sp + 4 | 0; + $agg$tmp2 = sp; + HEAP32[$agg$tmp >> 2] = HEAP32[$__b >> 2]; + HEAP32[$agg$tmp2 >> 2] = HEAP32[$__e >> 2]; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp2$byval_copy >> 2] = HEAP32[$agg$tmp2 >> 2]; + $call = __ZNKSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE17__do_get_unsignedItEES4_S4_S4_RNS_8ios_baseERjRT_($this, $agg$tmp$byval_copy, $agg$tmp2$byval_copy, $__iob, $__err, $__v) | 0; STACKTOP = sp; - return $$2 | 0; + return $call | 0; } -function __ZNSt3__211__stdoutbufIcE4syncEv($0) { - $0 = $0 | 0; - var $$2 = 0, $1 = 0, $13 = 0, $15 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, label = 0, sp = 0; +function __ZNKSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_RNS_8ios_baseERjRm($this, $__b, $__e, $__iob, $__err, $__v) { + $this = $this | 0; + $__b = $__b | 0; + $__e = $__e | 0; + $__iob = $__iob | 0; + $__err = $__err | 0; + $__v = $__v | 0; + var $agg$tmp = 0, $agg$tmp$byval_copy = 0, $agg$tmp2 = 0, $agg$tmp2$byval_copy = 0, $call = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $1 = sp + 8 | 0; - $2 = sp; - $3 = $0 + 36 | 0; - $4 = $0 + 40 | 0; - $5 = $1 + 8 | 0; - $6 = $1; - $7 = $0 + 32 | 0; - L1 : while (1) { - $8 = HEAP32[$3 >> 2] | 0; - $13 = FUNCTION_TABLE_iiiiii[HEAP32[(HEAP32[$8 >> 2] | 0) + 20 >> 2] & 31]($8, HEAP32[$4 >> 2] | 0, $1, $5, $2) | 0; - $15 = (HEAP32[$2 >> 2] | 0) - $6 | 0; - if ((_fwrite($1, 1, $15, HEAP32[$7 >> 2] | 0) | 0) != ($15 | 0)) { - $$2 = -1; - break; - } - switch ($13 | 0) { - case 1: - break; - case 2: - { - $$2 = -1; - break L1; - break; - } - default: - { - label = 4; - break L1; - } + $agg$tmp2$byval_copy = sp + 12 | 0; + $agg$tmp$byval_copy = sp + 8 | 0; + $agg$tmp = sp + 4 | 0; + $agg$tmp2 = sp; + HEAP32[$agg$tmp >> 2] = HEAP32[$__b >> 2]; + HEAP32[$agg$tmp2 >> 2] = HEAP32[$__e >> 2]; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp2$byval_copy >> 2] = HEAP32[$agg$tmp2 >> 2]; + $call = __ZNKSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE17__do_get_unsignedImEES4_S4_S4_RNS_8ios_baseERjRT_($this, $agg$tmp$byval_copy, $agg$tmp2$byval_copy, $__iob, $__err, $__v) | 0; + STACKTOP = sp; + return $call | 0; +} + +function __ZN6vision40Homography4PointsGeometricallyConsistentIfEEbPKT_S3_S3_S3_S3_S3_S3_S3_($x1, $x2, $x3, $x4, $x1p, $x2p, $x3p, $x4p) { + $x1 = $x1 | 0; + $x2 = $x2 | 0; + $x3 = $x3 | 0; + $x4 = $x4 | 0; + $x1p = $x1p | 0; + $x2p = $x2p | 0; + $x3p = $x3p | 0; + $x4p = $x4p | 0; + var $cmp = 0, $cmp16 = 0, $cmp26 = 0, $cmp6 = 0, $retval$0 = 0; + $cmp = +__ZN6vision13LinePointSideIfEET_PKS1_S3_S3_($x1, $x2, $x3) > 0.0; + if ((!($cmp ^ +__ZN6vision13LinePointSideIfEET_PKS1_S3_S3_($x1p, $x2p, $x3p) > 0.0) ? ($cmp6 = +__ZN6vision13LinePointSideIfEET_PKS1_S3_S3_($x2, $x3, $x4) > 0.0, !($cmp6 ^ +__ZN6vision13LinePointSideIfEET_PKS1_S3_S3_($x2p, $x3p, $x4p) > 0.0)) : 0) ? ($cmp16 = +__ZN6vision13LinePointSideIfEET_PKS1_S3_S3_($x3, $x4, $x1) > 0.0, !($cmp16 ^ +__ZN6vision13LinePointSideIfEET_PKS1_S3_S3_($x3p, $x4p, $x1p) > 0.0)) : 0) { + $cmp26 = +__ZN6vision13LinePointSideIfEET_PKS1_S3_S3_($x4, $x1, $x2) > 0.0; + $retval$0 = $cmp26 ^ +__ZN6vision13LinePointSideIfEET_PKS1_S3_S3_($x4p, $x1p, $x2p) > 0.0 ^ 1; + } else $retval$0 = 0; + return $retval$0 | 0; +} + +function _getPattRatio($id) { + $id = $id | 0; + var $0 = 0, $arhandle = 0, $cmp = 0, $id$addr = 0, $pattRatio = 0, $retval$0 = 0.0, $retval$1 = 0.0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $id$addr = sp + 8 | 0; + $pattRatio = sp; + HEAP32[$id$addr >> 2] = $id; + if (!(__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(66108, $id$addr) | 0)) $retval$1 = -1.0; else { + $arhandle = (__ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(66108, $id$addr) | 0) + 216 | 0; + $0 = HEAP32[$arhandle >> 2] | 0; + if (!$0) $retval$0 = -1.0; else { + $cmp = (_arGetPattRatio($0, $pattRatio) | 0) == 0; + $retval$0 = $cmp ? +HEAPF64[$pattRatio >> 3] : -1.0; } + $retval$1 = $retval$0; } - if ((label | 0) == 4) $$2 = ((_fflush(HEAP32[$7 >> 2] | 0) | 0) != 0) << 31 >> 31; STACKTOP = sp; - return $$2 | 0; + return +$retval$1; } -function __ZNK12_GLOBAL__N_116itanium_demangle13FunctionParam9printLeftERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $10 = 0, $11 = 0, $2 = 0, $3 = 0, $5 = 0, $tmpcast$byval_copy = 0, sp = 0; +function __ZNKSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_RNS_8ios_baseERjRx($this, $__b, $__e, $__iob, $__err, $__v) { + $this = $this | 0; + $__b = $__b | 0; + $__e = $__e | 0; + $__iob = $__iob | 0; + $__err = $__err | 0; + $__v = $__v | 0; + var $agg$tmp = 0, $agg$tmp$byval_copy = 0, $agg$tmp2 = 0, $agg$tmp2$byval_copy = 0, $call = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $tmpcast$byval_copy = sp + 16 | 0; - $2 = sp + 8 | 0; - $3 = sp; - __ZN12_GLOBAL__N_110StringViewC2EPKc($2, 54911); - HEAP32[$tmpcast$byval_copy >> 2] = HEAP32[$2 >> 2]; - HEAP32[$tmpcast$byval_copy + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $tmpcast$byval_copy); - $5 = $0 + 8 | 0; - $10 = HEAP32[$5 + 4 >> 2] | 0; - $11 = $3; - HEAP32[$11 >> 2] = HEAP32[$5 >> 2]; - HEAP32[$11 + 4 >> 2] = $10; - HEAP32[$tmpcast$byval_copy >> 2] = HEAP32[$3 >> 2]; - HEAP32[$tmpcast$byval_copy + 4 >> 2] = HEAP32[$3 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $tmpcast$byval_copy); + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $agg$tmp2$byval_copy = sp + 12 | 0; + $agg$tmp$byval_copy = sp + 8 | 0; + $agg$tmp = sp + 4 | 0; + $agg$tmp2 = sp; + HEAP32[$agg$tmp >> 2] = HEAP32[$__b >> 2]; + HEAP32[$agg$tmp2 >> 2] = HEAP32[$__e >> 2]; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp2$byval_copy >> 2] = HEAP32[$agg$tmp2 >> 2]; + $call = __ZNKSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE15__do_get_signedIxEES4_S4_S4_RNS_8ios_baseERjRT_($this, $agg$tmp$byval_copy, $agg$tmp2$byval_copy, $__iob, $__err, $__v) | 0; STACKTOP = sp; - return; + return $call | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE7reserveEm($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$in = 0, $$pre$phi11Z2D = 0, $11 = 0, $15 = 0, $2 = 0, $5 = 0, $7 = 0, $8 = 0; - $2 = __ZNK12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE4sizeEv($0) | 0; - do if (!(__ZNK12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE8isInlineEv($0) | 0)) { - $15 = _realloc(HEAP32[$0 >> 2] | 0, $1 << 2) | 0; - HEAP32[$0 >> 2] = $15; - if (!$15) __ZSt9terminatev(); else { - $$in = $15; - $$pre$phi11Z2D = $0 + 4 | 0; - break; - } - } else { - $5 = _malloc($1 << 2) | 0; - if (!$5) __ZSt9terminatev(); - $7 = HEAP32[$0 >> 2] | 0; - $8 = $0 + 4 | 0; - $11 = (HEAP32[$8 >> 2] | 0) - $7 | 0; - if ($11 | 0) _memmove($5 | 0, $7 | 0, $11 | 0) | 0; - HEAP32[$0 >> 2] = $5; - $$in = $5; - $$pre$phi11Z2D = $8; - } while (0); - HEAP32[$$pre$phi11Z2D >> 2] = $$in + ($2 << 2); - HEAP32[$0 + 8 >> 2] = $$in + ($1 << 2); - return; +function __ZNKSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_RNS_8ios_baseERjRl($this, $__b, $__e, $__iob, $__err, $__v) { + $this = $this | 0; + $__b = $__b | 0; + $__e = $__e | 0; + $__iob = $__iob | 0; + $__err = $__err | 0; + $__v = $__v | 0; + var $agg$tmp = 0, $agg$tmp$byval_copy = 0, $agg$tmp2 = 0, $agg$tmp2$byval_copy = 0, $call = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $agg$tmp2$byval_copy = sp + 12 | 0; + $agg$tmp$byval_copy = sp + 8 | 0; + $agg$tmp = sp + 4 | 0; + $agg$tmp2 = sp; + HEAP32[$agg$tmp >> 2] = HEAP32[$__b >> 2]; + HEAP32[$agg$tmp2 >> 2] = HEAP32[$__e >> 2]; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp2$byval_copy >> 2] = HEAP32[$agg$tmp2 >> 2]; + $call = __ZNKSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE15__do_get_signedIlEES4_S4_S4_RNS_8ios_baseERjRT_($this, $agg$tmp$byval_copy, $agg$tmp2$byval_copy, $__iob, $__err, $__v) | 0; + STACKTOP = sp; + return $call | 0; } -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle10BinaryExprEJRPNS2_4NodeERNS_10StringViewES6_EEEPT_DpOT0_($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $12 = 0, $13 = 0, $17 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $tmpcast$byval_copy = 0, sp = 0; +function __ZNKSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_RNS_8ios_baseERjRx($this, $__b, $__e, $__iob, $__err, $__v) { + $this = $this | 0; + $__b = $__b | 0; + $__e = $__e | 0; + $__iob = $__iob | 0; + $__err = $__err | 0; + $__v = $__v | 0; + var $agg$tmp = 0, $agg$tmp$byval_copy = 0, $agg$tmp2 = 0, $agg$tmp2$byval_copy = 0, $call = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $tmpcast$byval_copy = sp + 8 | 0; - $4 = sp; - $5 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 24) | 0; - $6 = HEAP32[$1 >> 2] | 0; - $7 = $2; - $12 = HEAP32[$7 + 4 >> 2] | 0; - $13 = $4; - HEAP32[$13 >> 2] = HEAP32[$7 >> 2]; - HEAP32[$13 + 4 >> 2] = $12; - $17 = HEAP32[$3 >> 2] | 0; - HEAP32[$tmpcast$byval_copy >> 2] = HEAP32[$4 >> 2]; - HEAP32[$tmpcast$byval_copy + 4 >> 2] = HEAP32[$4 + 4 >> 2]; - __ZN12_GLOBAL__N_116itanium_demangle10BinaryExprC2EPKNS0_4NodeENS_10StringViewES4_($5, $6, $tmpcast$byval_copy, $17); - STACKTOP = sp; - return $5 | 0; + $agg$tmp2$byval_copy = sp + 12 | 0; + $agg$tmp$byval_copy = sp + 8 | 0; + $agg$tmp = sp + 4 | 0; + $agg$tmp2 = sp; + HEAP32[$agg$tmp >> 2] = HEAP32[$__b >> 2]; + HEAP32[$agg$tmp2 >> 2] = HEAP32[$__e >> 2]; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp2$byval_copy >> 2] = HEAP32[$agg$tmp2 >> 2]; + $call = __ZNKSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE15__do_get_signedIxEES4_S4_S4_RNS_8ios_baseERjRT_($this, $agg$tmp$byval_copy, $agg$tmp2$byval_copy, $__iob, $__err, $__v) | 0; + STACKTOP = sp; + return $call | 0; } -function _getImageProcMode($id) { +function __ZNKSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_RNS_8ios_baseERjRl($this, $__b, $__e, $__iob, $__err, $__v) { + $this = $this | 0; + $__b = $__b | 0; + $__e = $__e | 0; + $__iob = $__iob | 0; + $__err = $__err | 0; + $__v = $__v | 0; + var $agg$tmp = 0, $agg$tmp$byval_copy = 0, $agg$tmp2 = 0, $agg$tmp2$byval_copy = 0, $call = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $agg$tmp2$byval_copy = sp + 12 | 0; + $agg$tmp$byval_copy = sp + 8 | 0; + $agg$tmp = sp + 4 | 0; + $agg$tmp2 = sp; + HEAP32[$agg$tmp >> 2] = HEAP32[$__b >> 2]; + HEAP32[$agg$tmp2 >> 2] = HEAP32[$__e >> 2]; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp2$byval_copy >> 2] = HEAP32[$agg$tmp2 >> 2]; + $call = __ZNKSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE15__do_get_signedIlEES4_S4_S4_RNS_8ios_baseERjRT_($this, $agg$tmp$byval_copy, $agg$tmp2$byval_copy, $__iob, $__err, $__v) | 0; + STACKTOP = sp; + return $call | 0; +} + +function _getMultiMarkerNum($id, $multiMarker_id) { $id = $id | 0; - var $arhandle = 0, $cmp = 0, $id$addr = 0, $imageProcMode = 0, $retval$1 = 0, sp = 0; + $multiMarker_id = $multiMarker_id | 0; + var $1 = 0, $call7 = 0, $id$addr = 0, $retval$1 = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); $id$addr = sp; - $imageProcMode = sp + 4 | 0; HEAP32[$id$addr >> 2] = $id; - if (!(__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(65260, $id$addr) | 0)) $retval$1 = -1; else { - $arhandle = (__ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(65260, $id$addr) | 0) + 216 | 0; - $cmp = (_arGetImageProcMode(HEAP32[$arhandle >> 2] | 0, $imageProcMode) | 0) == 0; - $retval$1 = $cmp ? HEAP32[$imageProcMode >> 2] | 0 : -1; - } + if (((__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(66108, $id$addr) | 0) != 0 ? ($call7 = __ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(66108, $id$addr) | 0, ($multiMarker_id | 0) >= 0) : 0) ? ($1 = HEAP32[$call7 + 352 >> 2] | 0, (HEAP32[$call7 + 356 >> 2] | 0) - $1 >> 3 >>> 0 > $multiMarker_id >>> 0) : 0) $retval$1 = HEAP32[(HEAP32[$1 + ($multiMarker_id << 3) + 4 >> 2] | 0) + 4 >> 2] | 0; else $retval$1 = -1; STACKTOP = sp; return $retval$1 | 0; } -function __ZN6vision21HoughSimilarityVoting4initEffffiiii($0, $1, $2, $3, $4, $5, $6, $7, $8) { - $0 = $0 | 0; - $1 = +$1; - $2 = +$2; - $3 = +$3; - $4 = +$4; - $5 = $5 | 0; - $6 = $6 | 0; - $7 = $7 | 0; - $8 = $8 | 0; - var $19 = 0, $21 = 0; - HEAPF32[$0 + 20 >> 2] = $1; - HEAPF32[$0 + 24 >> 2] = $2; - HEAPF32[$0 + 28 >> 2] = $3; - HEAPF32[$0 + 32 >> 2] = $4; - HEAPF32[$0 + 36 >> 2] = -1.0; - HEAPF32[$0 + 40 >> 2] = 1.0; - HEAP32[$0 + 52 >> 2] = $5; - HEAP32[$0 + 56 >> 2] = $6; - HEAP32[$0 + 60 >> 2] = $7; - HEAP32[$0 + 64 >> 2] = $8; - $19 = Math_imul($6, $5) | 0; - HEAP32[$0 + 84 >> 2] = $19; - $21 = Math_imul($19, $7) | 0; - HEAP32[$0 + 88 >> 2] = $21; - HEAPF32[$0 + 44 >> 2] = 10.0; - HEAPF32[$0 + 48 >> 2] = .4342944622039795; - HEAP8[$0 + 16 >> 0] = ($6 | $5 | 0) == 0 & 1; - __ZNSt3__212__hash_tableINS_17__hash_value_typeIjjEENS_22__unordered_map_hasherIjS2_NS_4hashIjEELb1EEENS_21__unordered_map_equalIjS2_NS_8equal_toIjEELb1EEENS_9allocatorIS2_EEE5clearEv($0 + 92 | 0); - return; -} - -function __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm8EE7reserveEm($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$in = 0, $$pre$phi11Z2D = 0, $11 = 0, $15 = 0, $2 = 0, $5 = 0, $7 = 0, $8 = 0; - $2 = __ZNK12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm8EE4sizeEv($0) | 0; - do if (!(__ZNK12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm8EE8isInlineEv($0) | 0)) { - $15 = _realloc(HEAP32[$0 >> 2] | 0, $1 << 2) | 0; - HEAP32[$0 >> 2] = $15; - if (!$15) __ZSt9terminatev(); else { - $$in = $15; - $$pre$phi11Z2D = $0 + 4 | 0; +function _fputc($c, $f) { + $c = $c | 0; + $f = $f | 0; + var $2 = 0, $5 = 0, $cond30 = 0, $conv = 0, $conv1 = 0, $conv11 = 0, $conv12 = 0, $retval$0 = 0, $wpos = 0, $wpos18 = 0, label = 0; + if ((HEAP32[$f + 76 >> 2] | 0) >= 0 ? (___lockfile($f) | 0) != 0 : 0) { + $conv11 = $c & 255; + $conv12 = $c & 255; + if (($conv12 | 0) != (HEAP8[$f + 75 >> 0] | 0) ? ($wpos18 = $f + 20 | 0, $5 = HEAP32[$wpos18 >> 2] | 0, $5 >>> 0 < (HEAP32[$f + 16 >> 2] | 0) >>> 0) : 0) { + HEAP32[$wpos18 >> 2] = $5 + 1; + HEAP8[$5 >> 0] = $conv11; + $cond30 = $conv12; + } else $cond30 = ___overflow($f, $c) | 0; + ___unlockfile($f); + $retval$0 = $cond30; + } else label = 3; + do if ((label | 0) == 3) { + $conv = $c & 255; + $conv1 = $c & 255; + if (($conv1 | 0) != (HEAP8[$f + 75 >> 0] | 0) ? ($wpos = $f + 20 | 0, $2 = HEAP32[$wpos >> 2] | 0, $2 >>> 0 < (HEAP32[$f + 16 >> 2] | 0) >>> 0) : 0) { + HEAP32[$wpos >> 2] = $2 + 1; + HEAP8[$2 >> 0] = $conv; + $retval$0 = $conv1; break; } - } else { - $5 = _malloc($1 << 2) | 0; - if (!$5) __ZSt9terminatev(); - $7 = HEAP32[$0 >> 2] | 0; - $8 = $0 + 4 | 0; - $11 = (HEAP32[$8 >> 2] | 0) - $7 | 0; - if ($11 | 0) _memmove($5 | 0, $7 | 0, $11 | 0) | 0; - HEAP32[$0 >> 2] = $5; - $$in = $5; - $$pre$phi11Z2D = $8; + $retval$0 = ___overflow($f, $c) | 0; } while (0); - HEAP32[$$pre$phi11Z2D >> 2] = $$in + ($2 << 2); - HEAP32[$0 + 8 >> 2] = $$in + ($1 << 2); - return; + return $retval$0 | 0; } -function _gray_rgb_convert($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $$02025$us = 0, $$02126$us = 0, $$02224$us = 0, $$027$us = 0, $$in = 0, $12 = 0, $15 = 0, $6 = 0, $$in$looptemp = 0; - $6 = HEAP32[$0 + 112 >> 2] | 0; - if (($4 | 0) < 1 | ($6 | 0) == 0) return; - $$02126$us = $3; - $$027$us = $2; - $$in = $4; - while (1) { - $$in$looptemp = $$in; - $$in = $$in + -1 | 0; - $12 = HEAP32[(HEAP32[$1 >> 2] | 0) + ($$027$us << 2) >> 2] | 0; - $$02025$us = 0; - $$02224$us = HEAP32[$$02126$us >> 2] | 0; - while (1) { - $15 = HEAP8[$12 + $$02025$us >> 0] | 0; - HEAP8[$$02224$us + 2 >> 0] = $15; - HEAP8[$$02224$us + 1 >> 0] = $15; - HEAP8[$$02224$us >> 0] = $15; - $$02025$us = $$02025$us + 1 | 0; - if (($$02025$us | 0) == ($6 | 0)) break; else $$02224$us = $$02224$us + 3 | 0; - } - if (($$in$looptemp | 0) <= 1) break; else { - $$02126$us = $$02126$us + 4 | 0; - $$027$us = $$027$us + 1 | 0; +function __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6__initEmw($this, $__n, $__c) { + $this = $this | 0; + $__n = $__n | 0; + $__c = $__c | 0; + var $__p$0 = 0, $and$i$i = 0, $call$i$i$i = 0, $ref$tmp = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $ref$tmp = sp; + if ($__n >>> 0 > 1073741807) __ZNKSt3__221__basic_string_commonILb1EE20__throw_length_errorEv($this); + do if ($__n >>> 0 >= 2) { + $and$i$i = $__n + 4 & -4; + if ($and$i$i >>> 0 > 1073741823) _abort(); else { + $call$i$i$i = __Znwm($and$i$i << 2) | 0; + HEAP32[$this >> 2] = $call$i$i$i; + HEAP32[$this + 8 >> 2] = $and$i$i | -2147483648; + HEAP32[$this + 4 >> 2] = $__n; + $__p$0 = $call$i$i$i; + break; } - } - return; -} - -function _strlen($0) { - $0 = $0 | 0; - var $$0 = 0, $$015$lcssa = 0, $$01518 = 0, $$1$lcssa = 0, $$pn = 0, $$pn29 = 0, $1 = 0, $10 = 0, $19 = 0, $22 = 0, $6 = 0, label = 0; - $1 = $0; - L1 : do if (!($1 & 3)) { - $$015$lcssa = $0; - label = 5; } else { - $$01518 = $0; - $22 = $1; - while (1) { - if (!(HEAP8[$$01518 >> 0] | 0)) { - $$pn = $22; - break L1; - } - $6 = $$01518 + 1 | 0; - $22 = $6; - if (!($22 & 3)) { - $$015$lcssa = $6; - label = 5; - break; - } else $$01518 = $6; - } + HEAP8[$this + 8 + 3 >> 0] = $__n; + $__p$0 = $this; } while (0); - if ((label | 0) == 5) { - $$0 = $$015$lcssa; - while (1) { - $10 = HEAP32[$$0 >> 2] | 0; - if (!(($10 & -2139062144 ^ -2139062144) & $10 + -16843009)) $$0 = $$0 + 4 | 0; else break; - } - if (!(($10 & 255) << 24 >> 24)) $$1$lcssa = $$0; else { - $$pn29 = $$0; - while (1) { - $19 = $$pn29 + 1 | 0; - if (!(HEAP8[$19 >> 0] | 0)) { - $$1$lcssa = $19; - break; - } else $$pn29 = $19; - } - } - $$pn = $$1$lcssa; - } - return $$pn - $1 | 0; + __ZNSt3__211char_traitsIwE6assignEPwmw($__p$0, $__n, $__c) | 0; + HEAP32[$ref$tmp >> 2] = 0; + __ZNSt3__211char_traitsIwE6assignERwRKw($__p$0 + ($__n << 2) | 0, $ref$tmp); + STACKTOP = sp; + return; } -function _ar2CreateHandleSubMod($pixFormat, $xsize, $ysize) { - $pixFormat = $pixFormat | 0; - $xsize = $xsize | 0; - $ysize = $ysize | 0; - var $call = 0, $call10 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $call = _malloc(13732) | 0; - if (!$call) { - _arLog(0, 3, 45930, sp); - _exit(1); - } - HEAP32[$call + 20 >> 2] = $pixFormat; - HEAP32[$call + 4 >> 2] = $xsize; - HEAP32[$call + 8 >> 2] = $ysize; - HEAP32[$call + 24 >> 2] = 25; - HEAP32[$call + 28 >> 2] = 11; - HEAP32[$call + 32 >> 2] = 11; - HEAP32[$call + 36 >> 2] = 10; - HEAPF32[$call + 40 >> 2] = .6000000238418579; - HEAPF32[$call + 44 >> 2] = 2.0; - HEAP32[$call + 13280 >> 2] = 1; - $call10 = _malloc(Math_imul($ysize, $xsize) | 0) | 0; - HEAP32[$call + 13300 >> 2] = $call10; - if (!$call10) { - _arLog(0, 3, 45930, sp + 8 | 0); - _exit(1); - } else { - HEAP32[$call + 13304 >> 2] = 0; - STACKTOP = sp; - return $call | 0; - } - return 0; +function __ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE21__construct_node_hashIRKNS_21piecewise_construct_tEJNS_5tupleIJRKiEEENSJ_IJEEEEEENS_10unique_ptrINS_11__hash_nodeIS3_PvEENS_22__hash_node_destructorINSC_ISR_EEEEEEmOT_DpOT0_($agg$result, $this, $__hash, $__f, $__rest, $__rest1) { + $agg$result = $agg$result | 0; + $this = $this | 0; + $__hash = $__hash | 0; + $__f = $__f | 0; + $__rest = $__rest | 0; + $__rest1 = $__rest1 | 0; + var $call$i$i$i = 0, $second$i$i$i$i$i = 0; + $call$i$i$i = __Znwm(520) | 0; + HEAP32[$agg$result >> 2] = $call$i$i$i; + HEAP32[$agg$result + 4 >> 2] = $this + 8; + HEAP32[$call$i$i$i + 8 >> 2] = HEAP32[HEAP32[$__rest >> 2] >> 2]; + $second$i$i$i$i$i = $call$i$i$i + 16 | 0; + _memset($second$i$i$i$i$i | 0, 0, 504) | 0; + __ZN12arControllerC2Ev($second$i$i$i$i$i); + HEAP8[$agg$result + 8 >> 0] = 1; + HEAP32[$call$i$i$i + 4 >> 2] = $__hash; + HEAP32[$call$i$i$i >> 2] = 0; + return; } -function _getLabelingMode($id) { - $id = $id | 0; - var $arhandle = 0, $cmp = 0, $id$addr = 0, $labelingMode = 0, $retval$1 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $id$addr = sp; - $labelingMode = sp + 4 | 0; - HEAP32[$id$addr >> 2] = $id; - if (!(__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(65260, $id$addr) | 0)) $retval$1 = -1; else { - $arhandle = (__ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(65260, $id$addr) | 0) + 216 | 0; - $cmp = (_arGetLabelingMode(HEAP32[$arhandle >> 2] | 0, $labelingMode) | 0) == 0; - $retval$1 = $cmp ? HEAP32[$labelingMode >> 2] | 0 : -1; - } - STACKTOP = sp; - return $retval$1 | 0; +function _jinit_arith_decoder($cinfo) { + $cinfo = $cinfo | 0; + var $call = 0, $call11 = 0, $ci$028 = 0, $fixed_bin = 0, $mem = 0, $num_components = 0, dest = 0, stop = 0; + $mem = $cinfo + 4 | 0; + $call = FUNCTION_TABLE_iiii[HEAP32[HEAP32[$mem >> 2] >> 2] & 63]($cinfo, 1, 192) | 0; + HEAP32[$cinfo + 468 >> 2] = $call; + HEAP32[$call >> 2] = 186; + HEAP32[$call + 8 >> 2] = 187; + $fixed_bin = $call + 188 | 0; + dest = $call + 60 | 0; + stop = dest + 128 | 0; + do { + HEAP32[dest >> 2] = 0; + dest = dest + 4 | 0; + } while ((dest | 0) < (stop | 0)); + HEAP8[$fixed_bin >> 0] = 113; + if (!(HEAP32[$cinfo + 224 >> 2] | 0)) return; + $num_components = $cinfo + 36 | 0; + $call11 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[$mem >> 2] >> 2] & 63]($cinfo, 1, HEAP32[$num_components >> 2] << 8) | 0; + HEAP32[$cinfo + 160 >> 2] = $call11; + if ((HEAP32[$num_components >> 2] | 0) <= 0) return; + $ci$028 = 0; + do { + _memset($call11 + ($ci$028 << 8) | 0, -1, 256) | 0; + $ci$028 = $ci$028 + 1 | 0; + } while (($ci$028 | 0) < (HEAP32[$num_components >> 2] | 0)); + return; } -function _color_quantize3($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $$04347 = 0, $$04449 = 0, $$04546 = 0, $$048 = 0, $10 = 0, $12 = 0, $14 = 0, $7 = 0, $8 = 0; - $7 = HEAP32[(HEAP32[$0 + 484 >> 2] | 0) + 24 >> 2] | 0; - $8 = HEAP32[$7 >> 2] | 0; - $10 = HEAP32[$7 + 4 >> 2] | 0; - $12 = HEAP32[$7 + 8 >> 2] | 0; - $14 = HEAP32[$0 + 112 >> 2] | 0; - if (($3 | 0) < 1 | ($14 | 0) == 0) return; - $$04449 = 0; +function __ZNSt3__26vectorINS0_INS_4pairIfmEENS_9allocatorIS2_EEEENS3_IS5_EEE6resizeEm($this, $__sz) { + $this = $this | 0; + $__sz = $__sz | 0; + var $0 = 0, $1 = 0, $2 = 0, $3 = 0, $__end_$i = 0, $__soon_to_be_end$0$i$i = 0, $add$ptr = 0, $incdec$ptr$i$i = 0, $sub$ptr$div$i = 0; + $__end_$i = $this + 4 | 0; + $0 = HEAP32[$__end_$i >> 2] | 0; + $1 = HEAP32[$this >> 2] | 0; + $sub$ptr$div$i = ($0 - $1 | 0) / 12 | 0; + $2 = $1; + $3 = $0; + if ($sub$ptr$div$i >>> 0 >= $__sz >>> 0) { + if ($sub$ptr$div$i >>> 0 > $__sz >>> 0) { + $add$ptr = $2 + ($__sz * 12 | 0) | 0; + $__soon_to_be_end$0$i$i = $3; + while (1) { + if (($__soon_to_be_end$0$i$i | 0) == ($add$ptr | 0)) break; + $incdec$ptr$i$i = $__soon_to_be_end$0$i$i + -12 | 0; + __ZNSt3__213__vector_baseINS_4pairIfmEENS_9allocatorIS2_EEED2Ev($incdec$ptr$i$i); + $__soon_to_be_end$0$i$i = $incdec$ptr$i$i; + } + HEAP32[$__end_$i >> 2] = $add$ptr; + } + } else __ZNSt3__26vectorINS0_INS_4pairIfmEENS_9allocatorIS2_EEEENS3_IS5_EEE8__appendEm($this, $__sz - $sub$ptr$div$i | 0); + return; +} + +function _prescan_quantize($cinfo, $input_buf, $output_buf, $num_rows) { + $cinfo = $cinfo | 0; + $input_buf = $input_buf | 0; + $output_buf = $output_buf | 0; + $num_rows = $num_rows | 0; + var $1 = 0, $11 = 0, $2 = 0, $arrayidx15 = 0, $col$017 = 0, $inc = 0, $ptr$018 = 0, $row$020 = 0; + $1 = HEAP32[(HEAP32[$cinfo + 484 >> 2] | 0) + 24 >> 2] | 0; + $2 = HEAP32[$cinfo + 112 >> 2] | 0; + if (($num_rows | 0) < 1 | ($2 | 0) == 0) return; + $row$020 = 0; do { - $$04347 = $14; - $$04546 = HEAP32[$2 + ($$04449 << 2) >> 2] | 0; - $$048 = HEAP32[$1 + ($$04449 << 2) >> 2] | 0; + $col$017 = $2; + $ptr$018 = HEAP32[$input_buf + ($row$020 << 2) >> 2] | 0; while (1) { - HEAP8[$$04546 >> 0] = (HEAPU8[$10 + (HEAPU8[$$048 + 1 >> 0] | 0) >> 0] | 0) + (HEAPU8[$8 + (HEAPU8[$$048 >> 0] | 0) >> 0] | 0) + (HEAPU8[$12 + (HEAPU8[$$048 + 2 >> 0] | 0) >> 0] | 0); - $$04347 = $$04347 + -1 | 0; - if (!$$04347) break; else { - $$04546 = $$04546 + 1 | 0; - $$048 = $$048 + 3 | 0; - } + $arrayidx15 = (HEAP32[$1 + ((HEAPU8[$ptr$018 >> 0] | 0) >>> 3 << 2) >> 2] | 0) + ((HEAPU8[$ptr$018 + 1 >> 0] | 0) >>> 2 << 6) + ((HEAPU8[$ptr$018 + 2 >> 0] | 0) >>> 3 << 1) | 0; + $11 = HEAP16[$arrayidx15 >> 1] | 0; + $inc = $11 + 1 << 16 >> 16; + HEAP16[$arrayidx15 >> 1] = $inc << 16 >> 16 == 0 ? $11 : $inc; + $col$017 = $col$017 + -1 | 0; + if (!$col$017) break; else $ptr$018 = $ptr$018 + 3 | 0; } - $$04449 = $$04449 + 1 | 0; - } while (($$04449 | 0) != ($3 | 0)); + $row$020 = $row$020 + 1 | 0; + } while (($row$020 | 0) != ($num_rows | 0)); return; } -function __ZNK12_GLOBAL__N_116itanium_demangle19PointerToMemberType10printRightERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$byval_copy = 0, $2 = 0, $3 = 0, $8 = 0, label = 0, sp = 0; +function __ZNK12_GLOBAL__N_116itanium_demangle13FunctionParam9printLeftERNS_12OutputStreamE($this, $S) { + $this = $this | 0; + $S = $S | 0; + var $0 = 0, $5 = 0, $6 = 0, $agg$tmp = 0, $agg$tmp2 = 0, $tmpcast$byval_copy = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy = sp + 8 | 0; - $2 = sp; - $3 = $0 + 12 | 0; - if (!(__ZNK12_GLOBAL__N_116itanium_demangle4Node8hasArrayERNS_12OutputStreamE(HEAP32[$3 >> 2] | 0, $1) | 0) ? !(__ZNK12_GLOBAL__N_116itanium_demangle4Node11hasFunctionERNS_12OutputStreamE(HEAP32[$3 >> 2] | 0, $1) | 0) : 0) {} else { - __ZN12_GLOBAL__N_110StringViewC2EPKc($2, 51964); - HEAP32[$$byval_copy >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy); - } - $8 = HEAP32[$3 >> 2] | 0; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$8 >> 2] | 0) + 20 >> 2] & 255]($8, $1); + STACKTOP = STACKTOP + 32 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); + $tmpcast$byval_copy = sp + 16 | 0; + $agg$tmp = sp + 8 | 0; + $agg$tmp2 = sp; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, 55753); + HEAP32[$tmpcast$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$tmpcast$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $tmpcast$byval_copy); + $0 = $this + 8 | 0; + $5 = HEAP32[$0 + 4 >> 2] | 0; + $6 = $agg$tmp2; + HEAP32[$6 >> 2] = HEAP32[$0 >> 2]; + HEAP32[$6 + 4 >> 2] = $5; + HEAP32[$tmpcast$byval_copy >> 2] = HEAP32[$agg$tmp2 >> 2]; + HEAP32[$tmpcast$byval_copy + 4 >> 2] = HEAP32[$agg$tmp2 + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $tmpcast$byval_copy); STACKTOP = sp; return; } -function __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE15__get_monthnameERiRS4_S4_RjRKNS_5ctypeIwEE($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$byval_copy = 0, $11 = 0, $17 = 0, $6 = 0, $7 = 0, sp = 0; +function __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE16do_get_monthnameES4_S4_RNS_8ios_baseERjP2tm($this, $__b, $__e, $__iob, $__err, $__tm) { + $this = $this | 0; + $__b = $__b | 0; + $__e = $__e | 0; + $__iob = $__iob | 0; + $__err = $__err | 0; + $__tm = $__tm | 0; + var $agg$tmp = 0, $agg$tmp$byval_copy = 0, $call$i = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy = sp + 4 | 0; - $6 = sp; - $7 = $0 + 8 | 0; - $11 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$7 >> 2] | 0) + 4 >> 2] & 127]($7) | 0; - HEAP32[$6 >> 2] = HEAP32[$3 >> 2]; - HEAP32[$$byval_copy >> 2] = HEAP32[$6 >> 2]; - $17 = (__ZNSt3__214__scan_keywordINS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEPKNS_12basic_stringIwS3_NS_9allocatorIwEEEENS_5ctypeIwEEEET0_RT_SE_SD_SD_RKT1_Rjb($2, $$byval_copy, $11, $11 + 288 | 0, $5, $4, 0) | 0) - $11 | 0; - if (($17 | 0) < 288) HEAP32[$1 >> 2] = (($17 | 0) / 12 | 0 | 0) % 12 | 0; + $agg$tmp$byval_copy = sp + 4 | 0; + $agg$tmp = sp; + __ZNKSt3__28ios_base6getlocEv($agg$tmp$byval_copy, $__iob); + $call$i = __ZNKSt3__26locale9use_facetERNS0_2idE($agg$tmp$byval_copy, 67392) | 0; + __ZNSt3__26localeD2Ev($agg$tmp$byval_copy); + HEAP32[$agg$tmp >> 2] = HEAP32[$__e >> 2]; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE15__get_monthnameERiRS4_S4_RjRKNS_5ctypeIwEE($this, $__tm + 16 | 0, $__b, $agg$tmp$byval_copy, $__err, $call$i); STACKTOP = sp; - return; + return HEAP32[$__b >> 2] | 0; } -function __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE15__get_monthnameERiRS4_S4_RjRKNS_5ctypeIcEE($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$byval_copy = 0, $11 = 0, $17 = 0, $6 = 0, $7 = 0, sp = 0; +function __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE14do_get_weekdayES4_S4_RNS_8ios_baseERjP2tm($this, $__b, $__e, $__iob, $__err, $__tm) { + $this = $this | 0; + $__b = $__b | 0; + $__e = $__e | 0; + $__iob = $__iob | 0; + $__err = $__err | 0; + $__tm = $__tm | 0; + var $agg$tmp = 0, $agg$tmp$byval_copy = 0, $call$i = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy = sp + 4 | 0; - $6 = sp; - $7 = $0 + 8 | 0; - $11 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$7 >> 2] | 0) + 4 >> 2] & 127]($7) | 0; - HEAP32[$6 >> 2] = HEAP32[$3 >> 2]; - HEAP32[$$byval_copy >> 2] = HEAP32[$6 >> 2]; - $17 = (__ZNSt3__214__scan_keywordINS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEPKNS_12basic_stringIcS3_NS_9allocatorIcEEEENS_5ctypeIcEEEET0_RT_SE_SD_SD_RKT1_Rjb($2, $$byval_copy, $11, $11 + 288 | 0, $5, $4, 0) | 0) - $11 | 0; - if (($17 | 0) < 288) HEAP32[$1 >> 2] = (($17 | 0) / 12 | 0 | 0) % 12 | 0; + $agg$tmp$byval_copy = sp + 4 | 0; + $agg$tmp = sp; + __ZNKSt3__28ios_base6getlocEv($agg$tmp$byval_copy, $__iob); + $call$i = __ZNKSt3__26locale9use_facetERNS0_2idE($agg$tmp$byval_copy, 67392) | 0; + __ZNSt3__26localeD2Ev($agg$tmp$byval_copy); + HEAP32[$agg$tmp >> 2] = HEAP32[$__e >> 2]; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE17__get_weekdaynameERiRS4_S4_RjRKNS_5ctypeIwEE($this, $__tm + 24 | 0, $__b, $agg$tmp$byval_copy, $__err, $call$i); STACKTOP = sp; - return; -} - -function __ZNKSt3__210__time_put8__do_putEPwRS1_PK2tmcc($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $11 = 0, $16 = 0, $18 = 0, $19 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 128 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(128); - $6 = sp; - $7 = sp + 116 | 0; - $8 = sp + 104 | 0; - $9 = sp + 112 | 0; - HEAP32[$7 >> 2] = $6 + 100; - __ZNKSt3__210__time_put8__do_putEPcRS1_PK2tmcc($0, $6, $7, $3, $4, $5); - $11 = $8; - HEAP32[$11 >> 2] = 0; - HEAP32[$11 + 4 >> 2] = 0; - HEAP32[$9 >> 2] = $6; - $16 = __ZNSt3__212_GLOBAL__N_17countofIwEEmPKT_S4_($1, HEAP32[$2 >> 2] | 0) | 0; - $18 = ___uselocale(HEAP32[$0 >> 2] | 0) | 0; - $19 = _mbsrtowcs($1, $9, $16, $8) | 0; - if ($18 | 0) ___uselocale($18) | 0; - if (($19 | 0) == -1) __ZNSt3__221__throw_runtime_errorEPKc(0); else { - HEAP32[$2 >> 2] = $1 + ($19 << 2); - STACKTOP = sp; - return; - } -} - -function __ZNK10__cxxabiv117__class_type_info16search_below_dstEPNS_19__dynamic_cast_infoEPKvib($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $13 = 0, $19 = 0; - do if (!(__ZL8is_equalPKSt9type_infoS1_b($0, HEAP32[$1 + 8 >> 2] | 0, $4) | 0)) { - if (__ZL8is_equalPKSt9type_infoS1_b($0, HEAP32[$1 >> 2] | 0, $4) | 0) { - if ((HEAP32[$1 + 16 >> 2] | 0) != ($2 | 0) ? ($13 = $1 + 20 | 0, (HEAP32[$13 >> 2] | 0) != ($2 | 0)) : 0) { - HEAP32[$1 + 32 >> 2] = $3; - HEAP32[$13 >> 2] = $2; - $19 = $1 + 40 | 0; - HEAP32[$19 >> 2] = (HEAP32[$19 >> 2] | 0) + 1; - if ((HEAP32[$1 + 36 >> 2] | 0) == 1 ? (HEAP32[$1 + 24 >> 2] | 0) == 2 : 0) HEAP8[$1 + 54 >> 0] = 1; - HEAP32[$1 + 44 >> 2] = 4; - break; - } - if (($3 | 0) == 1) HEAP32[$1 + 32 >> 2] = 1; - } - } else __ZNK10__cxxabiv117__class_type_info29process_static_type_below_dstEPNS_19__dynamic_cast_infoEPKvi(0, $1, $2, $3); while (0); - return; + return HEAP32[$__b >> 2] | 0; } -function _setPatternDetectionMode($id, $mode) { - $id = $id | 0; - $mode = $mode | 0; - var $arhandle = 0, $id$addr = 0, $vararg_buffer = 0, sp = 0; +function __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE16do_get_monthnameES4_S4_RNS_8ios_baseERjP2tm($this, $__b, $__e, $__iob, $__err, $__tm) { + $this = $this | 0; + $__b = $__b | 0; + $__e = $__e | 0; + $__iob = $__iob | 0; + $__err = $__err | 0; + $__tm = $__tm | 0; + var $agg$tmp = 0, $agg$tmp$byval_copy = 0, $call$i = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $vararg_buffer = sp; - $id$addr = sp + 4 | 0; - HEAP32[$id$addr >> 2] = $id; - if (__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(65260, $id$addr) | 0 ? ($arhandle = (__ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(65260, $id$addr) | 0) + 216 | 0, (_arSetPatternDetectionMode(HEAP32[$arhandle >> 2] | 0, $mode) | 0) == 0) : 0) { - HEAP32[$vararg_buffer >> 2] = $mode; - _arLog(0, 1, 41639, $vararg_buffer); - } + $agg$tmp$byval_copy = sp + 4 | 0; + $agg$tmp = sp; + __ZNKSt3__28ios_base6getlocEv($agg$tmp$byval_copy, $__iob); + $call$i = __ZNKSt3__26locale9use_facetERNS0_2idE($agg$tmp$byval_copy, 67360) | 0; + __ZNSt3__26localeD2Ev($agg$tmp$byval_copy); + HEAP32[$agg$tmp >> 2] = HEAP32[$__e >> 2]; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE15__get_monthnameERiRS4_S4_RjRKNS_5ctypeIcEE($this, $__tm + 16 | 0, $__b, $agg$tmp$byval_copy, $__err, $call$i); STACKTOP = sp; - return; + return HEAP32[$__b >> 2] | 0; } -function _getThreshold($id) { - $id = $id | 0; - var $arhandle = 0, $cmp = 0, $id$addr = 0, $retval$1 = 0, $threshold = 0, sp = 0; +function __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE14do_get_weekdayES4_S4_RNS_8ios_baseERjP2tm($this, $__b, $__e, $__iob, $__err, $__tm) { + $this = $this | 0; + $__b = $__b | 0; + $__e = $__e | 0; + $__iob = $__iob | 0; + $__err = $__err | 0; + $__tm = $__tm | 0; + var $agg$tmp = 0, $agg$tmp$byval_copy = 0, $call$i = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $id$addr = sp; - $threshold = sp + 4 | 0; - HEAP32[$id$addr >> 2] = $id; - if (!(__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(65260, $id$addr) | 0)) $retval$1 = -1; else { - $arhandle = (__ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(65260, $id$addr) | 0) + 216 | 0; - $cmp = (_arGetLabelingThresh(HEAP32[$arhandle >> 2] | 0, $threshold) | 0) == 0; - $retval$1 = $cmp ? HEAP32[$threshold >> 2] | 0 : -1; - } + $agg$tmp$byval_copy = sp + 4 | 0; + $agg$tmp = sp; + __ZNKSt3__28ios_base6getlocEv($agg$tmp$byval_copy, $__iob); + $call$i = __ZNKSt3__26locale9use_facetERNS0_2idE($agg$tmp$byval_copy, 67360) | 0; + __ZNSt3__26localeD2Ev($agg$tmp$byval_copy); + HEAP32[$agg$tmp >> 2] = HEAP32[$__e >> 2]; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE17__get_weekdaynameERiRS4_S4_RjRKNS_5ctypeIcEE($this, $__tm + 24 | 0, $__b, $agg$tmp$byval_copy, $__err, $call$i); STACKTOP = sp; - return $retval$1 | 0; + return HEAP32[$__b >> 2] | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E20parsePositiveIntegerEPm($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $10 = 0, $12 = 0, $7 = 0; - HEAP32[$1 >> 2] = 0; - L1 : do if (((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($0, 0) | 0) + -48 & 255) > 9) $$0 = 1; else { - $7 = 0; +function __ZN6vision14CompareFREAK84EPhPKf($desc, $samples) { + $desc = $desc | 0; + $samples = $samples | 0; + var $0 = 0, $add = 0, $arrayidx = 0, $i$0 = 0, $indvars$iv = 0, $indvars$iv$next17 = 0, $indvars$iv14 = 0, $indvars$iv16 = 0, $j$0 = 0, $pos$0 = 0, $pos$1 = 0; + __ZN6vision10ZeroVectorIhEEvPT_m($desc, 84); + $i$0 = 0; + $indvars$iv = 36; + $indvars$iv14 = 35; + $indvars$iv16 = 36; + $pos$0 = 0; + while (1) { + if (($i$0 | 0) == 37) break; + $add = $i$0 + 1 | 0; + $arrayidx = $samples + ($i$0 << 2) | 0; + $j$0 = $add; + $pos$1 = $pos$0; while (1) { - if (((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($0, 0) | 0) + -48 & 255) >= 10) { - $$0 = 0; - break L1; - } - HEAP32[$1 >> 2] = $7 * 10; - $10 = ((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E7consumeEv($0) | 0) << 24 >> 24) + -48 | 0; - $12 = $10 + (HEAP32[$1 >> 2] | 0) | 0; - HEAP32[$1 >> 2] = $12; - $7 = $12; + if (($pos$1 | 0) == ($indvars$iv16 | 0)) break; + __ZN6vision17bitstring_set_bitEPhih($desc, $pos$1, +HEAPF32[$arrayidx >> 2] < +HEAPF32[$samples + ($j$0 << 2) >> 2] & 1); + $j$0 = $j$0 + 1 | 0; + $pos$1 = $pos$1 + 1 | 0; } - } while (0); - return $$0 | 0; + $0 = $pos$0 + $indvars$iv | 0; + $indvars$iv$next17 = $indvars$iv16 + $indvars$iv14 | 0; + $i$0 = $add; + $indvars$iv = $indvars$iv + -1 | 0; + $indvars$iv14 = $indvars$iv14 + -1 | 0; + $indvars$iv16 = $indvars$iv$next17; + $pos$0 = $0; + } + return; } -function __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE17__get_weekdaynameERiRS4_S4_RjRKNS_5ctypeIwEE($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$byval_copy = 0, $10 = 0, $16 = 0, $6 = 0, $7 = 0, sp = 0; +function __ZNK12_GLOBAL__N_116itanium_demangle16FunctionEncoding9printLeftERNS_12OutputStreamE($this, $S) { + $this = $this | 0; + $S = $S | 0; + var $0 = 0, $Ret = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy = sp + 4 | 0; - $6 = sp; - $7 = $0 + 8 | 0; - $10 = FUNCTION_TABLE_ii[HEAP32[HEAP32[$7 >> 2] >> 2] & 127]($7) | 0; - HEAP32[$6 >> 2] = HEAP32[$3 >> 2]; - HEAP32[$$byval_copy >> 2] = HEAP32[$6 >> 2]; - $16 = (__ZNSt3__214__scan_keywordINS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEPKNS_12basic_stringIwS3_NS_9allocatorIwEEEENS_5ctypeIwEEEET0_RT_SE_SD_SD_RKT1_Rjb($2, $$byval_copy, $10, $10 + 168 | 0, $5, $4, 0) | 0) - $10 | 0; - if (($16 | 0) < 168) HEAP32[$1 >> 2] = (($16 | 0) / 12 | 0 | 0) % 7 | 0; + $agg$tmp$byval_copy = sp + 8 | 0; + $agg$tmp = sp; + $Ret = $this + 8 | 0; + $0 = HEAP32[$Ret >> 2] | 0; + if ($0 | 0 ? (FUNCTION_TABLE_vii[HEAP32[(HEAP32[$0 >> 2] | 0) + 16 >> 2] & 255]($0, $S), !(__ZNK12_GLOBAL__N_116itanium_demangle4Node15hasRHSComponentERNS_12OutputStreamE(HEAP32[$Ret >> 2] | 0, $S) | 0)) : 0) { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, 52808); + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp$byval_copy); + } + __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(HEAP32[$this + 12 >> 2] | 0, $S); STACKTOP = sp; return; } -function __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE17__get_weekdaynameERiRS4_S4_RjRKNS_5ctypeIcEE($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$byval_copy = 0, $10 = 0, $16 = 0, $6 = 0, $7 = 0, sp = 0; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E17parseCVQualifiersEv($this) { + $this = $this | 0; + var $CVR = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy = sp + 4 | 0; - $6 = sp; - $7 = $0 + 8 | 0; - $10 = FUNCTION_TABLE_ii[HEAP32[HEAP32[$7 >> 2] >> 2] & 127]($7) | 0; - HEAP32[$6 >> 2] = HEAP32[$3 >> 2]; - HEAP32[$$byval_copy >> 2] = HEAP32[$6 >> 2]; - $16 = (__ZNSt3__214__scan_keywordINS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEPKNS_12basic_stringIcS3_NS_9allocatorIcEEEENS_5ctypeIcEEEET0_RT_SE_SD_SD_RKT1_Rjb($2, $$byval_copy, $10, $10 + 168 | 0, $5, $4, 0) | 0) - $10 | 0; - if (($16 | 0) < 168) HEAP32[$1 >> 2] = (($16 | 0) / 12 | 0 | 0) % 7 | 0; + $CVR = sp; + HEAP32[$CVR >> 2] = 0; + if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($this, 114) | 0) __ZN12_GLOBAL__N_116itanium_demangleoRERNS0_10QualifiersES1_($CVR, 4); + if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($this, 86) | 0) __ZN12_GLOBAL__N_116itanium_demangleoRERNS0_10QualifiersES1_($CVR, 2); + if (__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($this, 75) | 0) __ZN12_GLOBAL__N_116itanium_demangleoRERNS0_10QualifiersES1_($CVR, 1); STACKTOP = sp; - return; + return HEAP32[$CVR >> 2] | 0; } -function _getPatternDetectionMode($id) { - $id = $id | 0; - var $arhandle = 0, $cmp = 0, $id$addr = 0, $mode = 0, $retval$1 = 0, sp = 0; +function __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE11do_get_yearES4_S4_RNS_8ios_baseERjP2tm($this, $__b, $__e, $__iob, $__err, $__tm) { + $this = $this | 0; + $__b = $__b | 0; + $__e = $__e | 0; + $__iob = $__iob | 0; + $__err = $__err | 0; + $__tm = $__tm | 0; + var $agg$tmp = 0, $agg$tmp$byval_copy = 0, $call$i = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $id$addr = sp; - $mode = sp + 4 | 0; - HEAP32[$id$addr >> 2] = $id; - if (!(__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(65260, $id$addr) | 0)) $retval$1 = -1; else { - $arhandle = (__ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(65260, $id$addr) | 0) + 216 | 0; - $cmp = (_arGetPatternDetectionMode(HEAP32[$arhandle >> 2] | 0, $mode) | 0) == 0; - $retval$1 = $cmp ? HEAP32[$mode >> 2] | 0 : -1; - } + $agg$tmp$byval_copy = sp + 4 | 0; + $agg$tmp = sp; + __ZNKSt3__28ios_base6getlocEv($agg$tmp$byval_copy, $__iob); + $call$i = __ZNKSt3__26locale9use_facetERNS0_2idE($agg$tmp$byval_copy, 67392) | 0; + __ZNSt3__26localeD2Ev($agg$tmp$byval_copy); + HEAP32[$agg$tmp >> 2] = HEAP32[$__e >> 2]; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE10__get_yearERiRS4_S4_RjRKNS_5ctypeIwEE($this, $__tm + 20 | 0, $__b, $agg$tmp$byval_copy, $__err, $call$i); STACKTOP = sp; - return $retval$1 | 0; + return HEAP32[$__b >> 2] | 0; } -function __ZNSt3__29__num_getIwE19__stage2_float_prepERNS_8ios_baseEPwRwS5_($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $10 = 0, $14 = 0, $18 = 0, $5 = 0, $6 = 0, sp = 0; +function __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE11do_get_yearES4_S4_RNS_8ios_baseERjP2tm($this, $__b, $__e, $__iob, $__err, $__tm) { + $this = $this | 0; + $__b = $__b | 0; + $__e = $__e | 0; + $__iob = $__iob | 0; + $__err = $__err | 0; + $__tm = $__tm | 0; + var $agg$tmp = 0, $agg$tmp$byval_copy = 0, $call$i = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $5 = sp; - __ZNKSt3__28ios_base6getlocEv($5, $1); - $6 = __ZNKSt3__26locale9use_facetERNS0_2idE($5, 66544) | 0; - FUNCTION_TABLE_iiiii[HEAP32[(HEAP32[$6 >> 2] | 0) + 48 >> 2] & 15]($6, 12928, 12960, $2) | 0; - $10 = __ZNKSt3__26locale9use_facetERNS0_2idE($5, 66552) | 0; - $14 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$10 >> 2] | 0) + 12 >> 2] & 127]($10) | 0; - HEAP32[$3 >> 2] = $14; - $18 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$10 >> 2] | 0) + 16 >> 2] & 127]($10) | 0; - HEAP32[$4 >> 2] = $18; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$10 >> 2] | 0) + 20 >> 2] & 255]($0, $10); - __ZNSt3__26localeD2Ev($5); + $agg$tmp$byval_copy = sp + 4 | 0; + $agg$tmp = sp; + __ZNKSt3__28ios_base6getlocEv($agg$tmp$byval_copy, $__iob); + $call$i = __ZNKSt3__26locale9use_facetERNS0_2idE($agg$tmp$byval_copy, 67360) | 0; + __ZNSt3__26localeD2Ev($agg$tmp$byval_copy); + HEAP32[$agg$tmp >> 2] = HEAP32[$__e >> 2]; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE10__get_yearERiRS4_S4_RjRKNS_5ctypeIcEE($this, $__tm + 20 | 0, $__b, $agg$tmp$byval_copy, $__err, $call$i); STACKTOP = sp; + return HEAP32[$__b >> 2] | 0; +} + +function __ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_6vectorIN6vision7Point3dIfEENS_9allocatorIS5_EEEEEENS_22__unordered_map_hasherIiS9_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS9_NS_8equal_toIiEELb1EEENS6_IS9_EEE21__construct_node_hashIRKNS_21piecewise_construct_tEJNS_5tupleIJRKiEEENSO_IJEEEEEENS_10unique_ptrINS_11__hash_nodeIS9_PvEENS_22__hash_node_destructorINS6_ISW_EEEEEEmOT_DpOT0_($agg$result, $this, $__hash, $__f, $__rest, $__rest1) { + $agg$result = $agg$result | 0; + $this = $this | 0; + $__hash = $__hash | 0; + $__f = $__f | 0; + $__rest = $__rest | 0; + $__rest1 = $__rest1 | 0; + var $call$i$i$i = 0; + $call$i$i$i = __Znwm(24) | 0; + HEAP32[$agg$result >> 2] = $call$i$i$i; + HEAP32[$agg$result + 4 >> 2] = $this + 8; + HEAP32[$call$i$i$i + 8 >> 2] = HEAP32[HEAP32[$__rest >> 2] >> 2]; + HEAP32[$call$i$i$i + 12 >> 2] = 0; + HEAP32[$call$i$i$i + 16 >> 2] = 0; + HEAP32[$call$i$i$i + 20 >> 2] = 0; + HEAP8[$agg$result + 8 >> 0] = 1; + HEAP32[$call$i$i$i + 4 >> 2] = $__hash; + HEAP32[$call$i$i$i >> 2] = 0; return; } -function __ZNK12_GLOBAL__N_116itanium_demangle16FunctionEncoding9printLeftERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$byval_copy = 0, $2 = 0, $3 = 0, $4 = 0, sp = 0; +function __ZNKSt3__27codecvtIwc11__mbstate_tE9do_lengthERS1_PKcS5_m($this, $st, $frm, $frm_end, $mx) { + $this = $this | 0; + $st = $st | 0; + $frm = $frm | 0; + $frm_end = $frm_end | 0; + $mx = $mx | 0; + var $$sink = 0, $__l = 0, $call$i = 0, $call$i$i = 0, $frm$addr$0 = 0, $nbytes$0 = 0, $nwchar_t$0 = 0, $sub$ptr$lhs$cast = 0; + $sub$ptr$lhs$cast = $frm_end; + $__l = $this + 8 | 0; + $frm$addr$0 = $frm; + $nbytes$0 = 0; + $nwchar_t$0 = 0; + L1 : while (1) { + if (($frm$addr$0 | 0) == ($frm_end | 0) | $nwchar_t$0 >>> 0 >= $mx >>> 0) break; + $call$i$i = ___uselocale(HEAP32[$__l >> 2] | 0) | 0; + $call$i = _mbrlen($frm$addr$0, $sub$ptr$lhs$cast - $frm$addr$0 | 0, $st) | 0; + if ($call$i$i | 0) ___uselocale($call$i$i) | 0; + switch ($call$i | 0) { + case -2: + case -1: + { + break L1; + break; + } + case 0: + { + $$sink = 1; + break; + } + default: + $$sink = $call$i; + } + $frm$addr$0 = $frm$addr$0 + $$sink | 0; + $nbytes$0 = $$sink + $nbytes$0 | 0; + $nwchar_t$0 = $nwchar_t$0 + 1 | 0; + } + return $nbytes$0 | 0; +} + +function __ZNKSt3__210__time_put8__do_putEPcRS1_PK2tmcc($this, $__nb, $__ne, $__tm, $__fmt, $__mod) { + $this = $this | 0; + $__nb = $__nb | 0; + $__ne = $__ne | 0; + $__tm = $__tm | 0; + $__fmt = $__fmt | 0; + $__mod = $__mod | 0; + var $add$ptr = 0, $arrayinit$element = 0, $arrayinit$element2 = 0, $call = 0, $fmt = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy = sp + 8 | 0; - $2 = sp; - $3 = $0 + 8 | 0; - $4 = HEAP32[$3 >> 2] | 0; - if ($4 | 0 ? (FUNCTION_TABLE_vii[HEAP32[(HEAP32[$4 >> 2] | 0) + 16 >> 2] & 255]($4, $1), !(__ZNK12_GLOBAL__N_116itanium_demangle4Node15hasRHSComponentERNS_12OutputStreamE(HEAP32[$3 >> 2] | 0, $1) | 0)) : 0) { - __ZN12_GLOBAL__N_110StringViewC2EPKc($2, 51966); - HEAP32[$$byval_copy >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy); + $fmt = sp; + HEAP8[$fmt >> 0] = 37; + $arrayinit$element = $fmt + 1 | 0; + HEAP8[$arrayinit$element >> 0] = $__fmt; + $arrayinit$element2 = $fmt + 2 | 0; + HEAP8[$arrayinit$element2 >> 0] = $__mod; + HEAP8[$fmt + 3 >> 0] = 0; + if ($__mod << 24 >> 24) { + HEAP8[$arrayinit$element >> 0] = $__mod; + HEAP8[$arrayinit$element2 >> 0] = $__fmt; } - __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(HEAP32[$0 + 12 >> 2] | 0, $1); + $call = __ZNSt3__212_GLOBAL__N_17countofIcEEmPKT_S4_($__nb, HEAP32[$__ne >> 2] | 0) | 0; + $add$ptr = $__nb + (_strftime_l($__nb | 0, $call | 0, $fmt | 0, $__tm | 0, HEAP32[$this >> 2] | 0) | 0) | 0; + HEAP32[$__ne >> 2] = $add$ptr; STACKTOP = sp; return; } -function _setThresholdMode($id, $mode) { +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10parseSeqIdEPm($this, $Out) { + $this = $this | 0; + $Out = $Out | 0; + var $$sink = 0, $Id$0 = 0, $call = 0, $call13 = 0, $retval$0 = 0; + $call = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($this, 0) | 0; + if ($call << 24 >> 24 > 47 ? $call << 24 >> 24 < 58 | ($call + -65 & 255) < 26 : 0) { + $Id$0 = 0; + while (1) { + $call13 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($this, 0) | 0; + if ($call13 << 24 >> 24 <= 47) break; + if ($call13 << 24 >> 24 >= 58) if (($call13 + -65 & 255) < 26) $$sink = -55; else break; else $$sink = -48; + HEAP32[$this >> 2] = (HEAP32[$this >> 2] | 0) + 1; + $Id$0 = ($Id$0 * 36 | 0) + $$sink + ($call13 << 24 >> 24) | 0; + } + HEAP32[$Out >> 2] = $Id$0; + $retval$0 = 0; + } else $retval$0 = 1; + return $retval$0 | 0; +} + +function _setPattRatio($id, $ratio) { $id = $id | 0; - $mode = $mode | 0; - var $arhandle = 0, $id$addr = 0, $vararg_buffer = 0, sp = 0; + $ratio = +$ratio; + var $0 = 0, $call7 = 0, $conv = 0.0, $id$addr = 0, $vararg_buffer = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); $vararg_buffer = sp; - $id$addr = sp + 4 | 0; + $id$addr = sp + 8 | 0; HEAP32[$id$addr >> 2] = $id; - if (__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(65260, $id$addr) | 0 ? ($arhandle = (__ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(65260, $id$addr) | 0) + 216 | 0, (_arSetLabelingThreshMode(HEAP32[$arhandle >> 2] | 0, $mode) | 0) == 0) : 0) { - HEAP32[$vararg_buffer >> 2] = $mode; - _arLog(0, 1, 41700, $vararg_buffer); + if (((__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(66108, $id$addr) | 0 ? ($call7 = __ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(66108, $id$addr) | 0, !($ratio <= 0.0 | $ratio >= 1.0)) : 0) ? ($conv = $ratio, $0 = HEAP32[$call7 + 216 >> 2] | 0, $0 | 0) : 0) ? (_arSetPattRatio($0, $conv) | 0) == 0 : 0) { + HEAPF64[$vararg_buffer >> 3] = $conv; + _arLog(0, 1, 42410, $vararg_buffer); } STACKTOP = sp; return; } -function __ZNSt3__29__num_getIcE19__stage2_float_prepERNS_8ios_baseEPcRcS5_($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $10 = 0, $14 = 0, $18 = 0, $5 = 0, $6 = 0, sp = 0; +function _byteswap($param) { + $param = $param | 0; + var $0 = 0, $dist_function_version = 0, $i$0 = 0, $i$1 = 0, $j$0 = 0, $wparam = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $5 = sp; - __ZNKSt3__28ios_base6getlocEv($5, $1); - $6 = __ZNKSt3__26locale9use_facetERNS0_2idE($5, 66512) | 0; - FUNCTION_TABLE_iiiii[HEAP32[(HEAP32[$6 >> 2] | 0) + 32 >> 2] & 15]($6, 12928, 12960, $2) | 0; - $10 = __ZNKSt3__26locale9use_facetERNS0_2idE($5, 66528) | 0; - $14 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$10 >> 2] | 0) + 12 >> 2] & 127]($10) | 0; - HEAP8[$3 >> 0] = $14; - $18 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$10 >> 2] | 0) + 16 >> 2] & 127]($10) | 0; - HEAP8[$4 >> 0] = $18; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$10 >> 2] | 0) + 20 >> 2] & 255]($0, $10); - __ZNSt3__26localeD2Ev($5); + STACKTOP = STACKTOP + 192 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(192); + $wparam = sp; + _byteSwapInt($param, $wparam); + _byteSwapInt($param + 4 | 0, $wparam + 4 | 0); + $j$0 = 0; + while (1) { + if (($j$0 | 0) == 3) break; + $i$0 = 0; + while (1) { + if (($i$0 | 0) == 4) break; + _byteSwapDouble($param + 8 + ($j$0 << 5) + ($i$0 << 3) | 0, $wparam + 8 + ($j$0 << 5) + ($i$0 << 3) | 0); + $i$0 = $i$0 + 1 | 0; + } + $j$0 = $j$0 + 1 | 0; + } + $dist_function_version = $param + 176 | 0; + $i$1 = 0; + while (1) { + $0 = HEAP32[$dist_function_version >> 2] | 0; + if (($i$1 | 0) >= (HEAP32[1712 + ($0 + -1 << 3) >> 2] | 0)) break; + _byteSwapDouble($param + 104 + ($i$1 << 3) | 0, $wparam + 104 + ($i$1 << 3) | 0); + $i$1 = $i$1 + 1 | 0; + } + HEAP32[$wparam + 176 >> 2] = $0; + _memcpy($param | 0, $wparam | 0, 184) | 0; STACKTOP = sp; return; } -function __ZN6vision29SolveNullVector8x9DestructiveIfEEbPT_S2_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $2 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 288 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(288); - $2 = sp; - if (((((((__ZN6vision27OrthogonalizePivot8x9Basis0IfEEbPT_S2_($2, $1) | 0 ? __ZN6vision27OrthogonalizePivot8x9Basis1IfEEbPT_S2_($2, $1) | 0 : 0) ? __ZN6vision27OrthogonalizePivot8x9Basis2IfEEbPT_S2_($2, $1) | 0 : 0) ? __ZN6vision27OrthogonalizePivot8x9Basis3IfEEbPT_S2_($2, $1) | 0 : 0) ? __ZN6vision27OrthogonalizePivot8x9Basis4IfEEbPT_S2_($2, $1) | 0 : 0) ? __ZN6vision27OrthogonalizePivot8x9Basis5IfEEbPT_S2_($2, $1) | 0 : 0) ? __ZN6vision27OrthogonalizePivot8x9Basis6IfEEbPT_S2_($2, $1) | 0 : 0) ? __ZN6vision27OrthogonalizePivot8x9Basis7IfEEbPT_S2_($2, $1) | 0 : 0) $$0 = __ZN6vision24OrthogonalizeIdentity8x9IfEEbPT_PKS1_($0, $2) | 0; else $$0 = 0; - STACKTOP = sp; - return $$0 | 0; +function _kpmDeleteHandle($kpmHandle) { + $kpmHandle = $kpmHandle | 0; + var $$in = 0, $$in17 = 0, $$in18 = 0, $$in19 = 0, $0 = 0, $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $retval$0 = 0; + $0 = HEAP32[$kpmHandle >> 2] | 0; + if (!$0) $retval$0 = -1; else { + $1 = HEAP32[$0 >> 2] | 0; + if (!$1) $$in = $0; else { + __ZN6vision20VisualDatabaseFacadeD2Ev($1); + __ZdlPv($1); + $$in = HEAP32[$kpmHandle >> 2] | 0; + } + $2 = HEAP32[$$in + 28 >> 2] | 0; + if (!$2) $$in17 = $$in; else { + _free($2); + $$in17 = HEAP32[$kpmHandle >> 2] | 0; + } + $3 = HEAP32[$$in17 + 36 >> 2] | 0; + if (!$3) $$in18 = $$in17; else { + _free($3); + $$in18 = HEAP32[$kpmHandle >> 2] | 0; + } + $4 = HEAP32[$$in18 + 52 >> 2] | 0; + if (!$4) $$in19 = $$in18; else { + _free($4); + $$in19 = HEAP32[$kpmHandle >> 2] | 0; + } + $5 = HEAP32[$$in19 + 44 >> 2] | 0; + if (!$5) $6 = $$in19; else { + _free($5); + $6 = HEAP32[$kpmHandle >> 2] | 0; + } + _free($6); + HEAP32[$kpmHandle >> 2] = 0; + $retval$0 = 0; + } + return $retval$0 | 0; } -function _setImageProcMode($id, $mode) { - $id = $id | 0; - $mode = $mode | 0; - var $arhandle = 0, $id$addr = 0, $vararg_buffer = 0, sp = 0; +function __ZN6vision19NormalizeHomographyIfEEvPT_($H) { + $H = $H | 0; + var $arrayidx = 0, $arrayidx11 = 0, $arrayidx13 = 0, $arrayidx15 = 0, $arrayidx3 = 0, $arrayidx5 = 0, $arrayidx7 = 0, $arrayidx9 = 0, $conv1 = 0.0; + $arrayidx = $H + 32 | 0; + $conv1 = 1.0 / +HEAPF32[$arrayidx >> 2]; + HEAPF32[$H >> 2] = +HEAPF32[$H >> 2] * $conv1; + $arrayidx3 = $H + 4 | 0; + HEAPF32[$arrayidx3 >> 2] = $conv1 * +HEAPF32[$arrayidx3 >> 2]; + $arrayidx5 = $H + 8 | 0; + HEAPF32[$arrayidx5 >> 2] = $conv1 * +HEAPF32[$arrayidx5 >> 2]; + $arrayidx7 = $H + 12 | 0; + HEAPF32[$arrayidx7 >> 2] = $conv1 * +HEAPF32[$arrayidx7 >> 2]; + $arrayidx9 = $H + 16 | 0; + HEAPF32[$arrayidx9 >> 2] = $conv1 * +HEAPF32[$arrayidx9 >> 2]; + $arrayidx11 = $H + 20 | 0; + HEAPF32[$arrayidx11 >> 2] = $conv1 * +HEAPF32[$arrayidx11 >> 2]; + $arrayidx13 = $H + 24 | 0; + HEAPF32[$arrayidx13 >> 2] = $conv1 * +HEAPF32[$arrayidx13 >> 2]; + $arrayidx15 = $H + 28 | 0; + HEAPF32[$arrayidx15 >> 2] = $conv1 * +HEAPF32[$arrayidx15 >> 2]; + HEAPF32[$arrayidx >> 2] = 1.0; + return; +} + +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E20parsePositiveIntegerEPm($this, $Out) { + $this = $this | 0; + $Out = $Out | 0; + var $2 = 0, $add = 0, $retval$0 = 0, $sub = 0; + HEAP32[$Out >> 2] = 0; + L1 : do if (((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($this, 0) | 0) + -48 & 255) > 9) $retval$0 = 1; else { + $2 = 0; + while (1) { + if (((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($this, 0) | 0) + -48 & 255) >= 10) { + $retval$0 = 0; + break L1; + } + HEAP32[$Out >> 2] = $2 * 10; + $sub = ((__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E7consumeEv($this) | 0) << 24 >> 24) + -48 | 0; + $add = $sub + (HEAP32[$Out >> 2] | 0) | 0; + HEAP32[$Out >> 2] = $add; + $2 = $add; + } + } while (0); + return $retval$0 | 0; +} + +function _request_virt_sarray($cinfo, $pool_id, $pre_zero, $samplesperrow, $numrows, $maxaccess) { + $cinfo = $cinfo | 0; + $pool_id = $pool_id | 0; + $pre_zero = $pre_zero | 0; + $samplesperrow = $samplesperrow | 0; + $numrows = $numrows | 0; + $maxaccess = $maxaccess | 0; + var $0 = 0, $1 = 0, $4 = 0, $pool_id$sink = 0, $virt_sarray_list = 0; + $0 = HEAP32[$cinfo + 4 >> 2] | 0; + if (($pool_id | 0) == 1) $pool_id$sink = 1; else { + $1 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$1 + 20 >> 2] = 15; + HEAP32[$1 + 24 >> 2] = $pool_id; + FUNCTION_TABLE_vi[HEAP32[HEAP32[$cinfo >> 2] >> 2] & 255]($cinfo); + $pool_id$sink = $pool_id; + } + $4 = _alloc_small($cinfo, $pool_id$sink, 128) | 0; + HEAP32[$4 >> 2] = 0; + HEAP32[$4 + 4 >> 2] = $numrows; + HEAP32[$4 + 8 >> 2] = $samplesperrow; + HEAP32[$4 + 12 >> 2] = $maxaccess; + HEAP32[$4 + 32 >> 2] = $pre_zero; + HEAP32[$4 + 40 >> 2] = 0; + $virt_sarray_list = $0 + 68 | 0; + HEAP32[$4 + 44 >> 2] = HEAP32[$virt_sarray_list >> 2]; + HEAP32[$virt_sarray_list >> 2] = $4; + return $4 | 0; +} + +function __ZN6vision14FREAKExtractor7extractERNS_18BinaryFeatureStoreEPKNS_25GaussianScaleSpacePyramidERKNSt3__26vectorINS_12FeaturePointENS6_9allocatorIS8_EEEE($this, $store, $pyramid, $points) { + $this = $this | 0; + $store = $store | 0; + $pyramid = $pyramid | 0; + $points = $points | 0; + __ZN6vision18BinaryFeatureStore21setNumBytesPerFeatureEi($store, 96); + __ZN6vision18BinaryFeatureStore6resizeEm($store, ((HEAP32[$points + 4 >> 2] | 0) - (HEAP32[$points >> 2] | 0) | 0) / 20 | 0); + __ZN6vision14ExtractFREAK84ERNS_18BinaryFeatureStoreEPKNS_25GaussianScaleSpacePyramidERKNSt3__26vectorINS_12FeaturePointENS5_9allocatorIS7_EEEEPKfSE_SE_SE_SE_SE_ffffffff($store, $pyramid, $points, $this, $this + 48 | 0, $this + 96 | 0, $this + 144 | 0, $this + 192 | 0, $this + 240 | 0, +HEAPF32[$this + 288 >> 2], +HEAPF32[$this + 292 >> 2], +HEAPF32[$this + 296 >> 2], +HEAPF32[$this + 300 >> 2], +HEAPF32[$this + 304 >> 2], +HEAPF32[$this + 308 >> 2], +HEAPF32[$this + 312 >> 2], +HEAPF32[$this + 316 >> 2]); + return; +} + +function __ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_6vectorIiNS_9allocatorIiEEEEEENS_22__unordered_map_hasherIiS6_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS6_NS_8equal_toIiEELb1EEENS3_IS6_EEE21__construct_node_hashIRKNS_21piecewise_construct_tEJNS_5tupleIJRKiEEENSL_IJEEEEEENS_10unique_ptrINS_11__hash_nodeIS6_PvEENS_22__hash_node_destructorINS3_IST_EEEEEEmOT_DpOT0_($agg$result, $this, $__hash, $__f, $__rest, $__rest1) { + $agg$result = $agg$result | 0; + $this = $this | 0; + $__hash = $__hash | 0; + $__f = $__f | 0; + $__rest = $__rest | 0; + $__rest1 = $__rest1 | 0; + var $call$i$i$i = 0; + $call$i$i$i = __Znwm(24) | 0; + HEAP32[$agg$result >> 2] = $call$i$i$i; + HEAP32[$agg$result + 4 >> 2] = $this + 8; + HEAP32[$call$i$i$i + 8 >> 2] = HEAP32[HEAP32[$__rest >> 2] >> 2]; + HEAP32[$call$i$i$i + 12 >> 2] = 0; + HEAP32[$call$i$i$i + 16 >> 2] = 0; + HEAP32[$call$i$i$i + 20 >> 2] = 0; + HEAP8[$agg$result + 8 >> 0] = 1; + HEAP32[$call$i$i$i + 4 >> 2] = $__hash; + HEAP32[$call$i$i$i >> 2] = 0; + return; +} + +function _request_virt_barray($cinfo, $pool_id, $pre_zero, $blocksperrow, $numrows, $maxaccess) { + $cinfo = $cinfo | 0; + $pool_id = $pool_id | 0; + $pre_zero = $pre_zero | 0; + $blocksperrow = $blocksperrow | 0; + $numrows = $numrows | 0; + $maxaccess = $maxaccess | 0; + var $0 = 0, $1 = 0, $4 = 0, $pool_id$sink = 0, $virt_barray_list = 0; + $0 = HEAP32[$cinfo + 4 >> 2] | 0; + if (($pool_id | 0) == 1) $pool_id$sink = 1; else { + $1 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$1 + 20 >> 2] = 15; + HEAP32[$1 + 24 >> 2] = $pool_id; + FUNCTION_TABLE_vi[HEAP32[HEAP32[$cinfo >> 2] >> 2] & 255]($cinfo); + $pool_id$sink = $pool_id; + } + $4 = _alloc_small($cinfo, $pool_id$sink, 128) | 0; + HEAP32[$4 >> 2] = 0; + HEAP32[$4 + 4 >> 2] = $numrows; + HEAP32[$4 + 8 >> 2] = $blocksperrow; + HEAP32[$4 + 12 >> 2] = $maxaccess; + HEAP32[$4 + 32 >> 2] = $pre_zero; + HEAP32[$4 + 40 >> 2] = 0; + $virt_barray_list = $0 + 72 | 0; + HEAP32[$4 + 44 >> 2] = HEAP32[$virt_barray_list >> 2]; + HEAP32[$virt_barray_list >> 2] = $4; + return $4 | 0; +} + +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle22ElaboratedTypeSpefTypeEJRNS_10StringViewERPNS2_4NodeEEEEPT_DpOT0_($this, $args, $args1) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + var $0 = 0, $10 = 0, $5 = 0, $6 = 0, $agg$tmp = 0, $call = 0, $tmpcast$byval_copy = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $vararg_buffer = sp; - $id$addr = sp + 4 | 0; - HEAP32[$id$addr >> 2] = $id; - if (__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(65260, $id$addr) | 0 ? ($arhandle = (__ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(65260, $id$addr) | 0) + 216 | 0, (_arSetImageProcMode(HEAP32[$arhandle >> 2] | 0, $mode) | 0) == 0) : 0) { - HEAP32[$vararg_buffer >> 2] = $mode; - _arLog(0, 1, 41549, $vararg_buffer); - } + $tmpcast$byval_copy = sp + 8 | 0; + $agg$tmp = sp; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 20) | 0; + $0 = $args; + $5 = HEAP32[$0 + 4 >> 2] | 0; + $6 = $agg$tmp; + HEAP32[$6 >> 2] = HEAP32[$0 >> 2]; + HEAP32[$6 + 4 >> 2] = $5; + $10 = HEAP32[$args1 >> 2] | 0; + HEAP32[$tmpcast$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$tmpcast$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_116itanium_demangle22ElaboratedTypeSpefTypeC2ENS_10StringViewEPNS0_4NodeE($call, $tmpcast$byval_copy, $10); STACKTOP = sp; - return; + return $call | 0; } -function __ZNK10__cxxabiv121__vmi_class_type_info27has_unambiguous_public_baseEPNS_19__dynamic_cast_infoEPvi($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $$0 = 0, $10 = 0, $13 = 0, $9 = 0; - L1 : do if (!(__ZL8is_equalPKSt9type_infoS1_b($0, HEAP32[$1 + 8 >> 2] | 0, 0) | 0)) { - $9 = HEAP32[$0 + 12 >> 2] | 0; - $10 = $0 + 16 + ($9 << 3) | 0; - __ZNK10__cxxabiv122__base_class_type_info27has_unambiguous_public_baseEPNS_19__dynamic_cast_infoEPvi($0 + 16 | 0, $1, $2, $3); - if (($9 | 0) > 1) { - $13 = $1 + 54 | 0; - $$0 = $0 + 24 | 0; - do { - __ZNK10__cxxabiv122__base_class_type_info27has_unambiguous_public_baseEPNS_19__dynamic_cast_infoEPvi($$0, $1, $2, $3); - if (HEAP8[$13 >> 0] | 0) break L1; - $$0 = $$0 + 8 | 0; - } while ($$0 >>> 0 < $10 >>> 0); +function __ZNK12_GLOBAL__N_110StringView10startsWithES0_($this, $Str) { + $this = $this | 0; + $Str = $Str | 0; + var $__first1$addr$0$i$i = 0, $__first2$addr$0$i$i = 0, $call = 0, $call3 = 0, $call4 = 0, $retval$0 = 0; + $call = __ZNK12_GLOBAL__N_110StringView4sizeEv($Str) | 0; + L1 : do if ($call >>> 0 > (__ZNK12_GLOBAL__N_110StringView4sizeEv($this) | 0) >>> 0) $retval$0 = 0; else { + $call3 = __ZNK12_GLOBAL__N_110StringView5beginEv($Str) | 0; + $call4 = __ZNK12_GLOBAL__N_110StringView3endEv($Str) | 0; + $__first1$addr$0$i$i = $call3; + $__first2$addr$0$i$i = __ZNK12_GLOBAL__N_110StringView5beginEv($this) | 0; + while (1) { + if (($__first1$addr$0$i$i | 0) == ($call4 | 0)) { + $retval$0 = 1; + break L1; + } + if ((HEAP8[$__first1$addr$0$i$i >> 0] | 0) != (HEAP8[$__first2$addr$0$i$i >> 0] | 0)) { + $retval$0 = 0; + break L1; + } + $__first1$addr$0$i$i = $__first1$addr$0$i$i + 1 | 0; + $__first2$addr$0$i$i = $__first2$addr$0$i$i + 1 | 0; } - } else __ZNK10__cxxabiv117__class_type_info24process_found_base_classEPNS_19__dynamic_cast_infoEPvi(0, $1, $2, $3); while (0); - return; + } while (0); + return $retval$0 | 0; } -function _setLabelingMode($id, $mode) { - $id = $id | 0; - $mode = $mode | 0; - var $arhandle = 0, $id$addr = 0, $vararg_buffer = 0, sp = 0; +function __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE10__get_yearERiRS4_S4_RjRKNS_5ctypeIwEE($this, $__y, $__b, $__e, $__err, $__ct) { + $this = $this | 0; + $__y = $__y | 0; + $__b = $__b | 0; + $__e = $__e | 0; + $__err = $__err | 0; + $__ct = $__ct | 0; + var $__t$0 = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, $call = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $vararg_buffer = sp; - $id$addr = sp + 4 | 0; - HEAP32[$id$addr >> 2] = $id; - if (__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(65260, $id$addr) | 0 ? ($arhandle = (__ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(65260, $id$addr) | 0) + 216 | 0, (_arSetLabelingMode(HEAP32[$arhandle >> 2] | 0, $mode) | 0) == 0) : 0) { - HEAP32[$vararg_buffer >> 2] = $mode; - _arLog(0, 1, 41578, $vararg_buffer); + $agg$tmp$byval_copy = sp + 4 | 0; + $agg$tmp = sp; + HEAP32[$agg$tmp >> 2] = HEAP32[$__e >> 2]; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + $call = __ZNSt3__220__get_up_to_n_digitsIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEEEiRT0_S5_RjRKNS_5ctypeIT_EEi($__b, $agg$tmp$byval_copy, $__err, $__ct, 4) | 0; + if (!(HEAP32[$__err >> 2] & 4)) { + if (($call | 0) < 69) $__t$0 = $call + 2e3 | 0; else $__t$0 = ($call | 0) < 100 ? $call + 1900 | 0 : $call; + HEAP32[$__y >> 2] = $__t$0 + -1900; } STACKTOP = sp; return; } -function _h2v1_upsample($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $$02528 = 0, $$02627 = 0, $$029 = 0, $10 = 0, $11 = 0, $12 = 0, $17 = 0, $23 = 0, $24 = 0, $4 = 0, $5 = 0, $6 = 0, $8 = 0; - $4 = HEAP32[$3 >> 2] | 0; - $5 = $0 + 320 | 0; - $6 = HEAP32[$5 >> 2] | 0; - if (($6 | 0) <= 0) return; - $8 = $0 + 112 | 0; - $$029 = 0; - $24 = $6; - while (1) { - $10 = HEAP32[$4 + ($$029 << 2) >> 2] | 0; - $11 = HEAP32[$8 >> 2] | 0; - $12 = $10 + $11 | 0; - if (($11 | 0) > 0) { - $$02528 = HEAP32[$2 + ($$029 << 2) >> 2] | 0; - $$02627 = $10; - while (1) { - $17 = HEAP8[$$02528 >> 0] | 0; - HEAP8[$$02627 >> 0] = $17; - HEAP8[$$02627 + 1 >> 0] = $17; - $$02627 = $$02627 + 2 | 0; - if ($$02627 >>> 0 >= $12 >>> 0) break; else $$02528 = $$02528 + 1 | 0; - } - $23 = HEAP32[$5 >> 2] | 0; - } else $23 = $24; - $$029 = $$029 + 1 | 0; - if (($$029 | 0) >= ($23 | 0)) break; else $24 = $23; +function __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE10__get_yearERiRS4_S4_RjRKNS_5ctypeIcEE($this, $__y, $__b, $__e, $__err, $__ct) { + $this = $this | 0; + $__y = $__y | 0; + $__b = $__b | 0; + $__e = $__e | 0; + $__err = $__err | 0; + $__ct = $__ct | 0; + var $__t$0 = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, $call = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $agg$tmp$byval_copy = sp + 4 | 0; + $agg$tmp = sp; + HEAP32[$agg$tmp >> 2] = HEAP32[$__e >> 2]; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + $call = __ZNSt3__220__get_up_to_n_digitsIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEEiRT0_S5_RjRKNS_5ctypeIT_EEi($__b, $agg$tmp$byval_copy, $__err, $__ct, 4) | 0; + if (!(HEAP32[$__err >> 2] & 4)) { + if (($call | 0) < 69) $__t$0 = $call + 2e3 | 0; else $__t$0 = ($call | 0) < 100 ? $call + 1900 | 0 : $call; + HEAP32[$__y >> 2] = $__t$0 + -1900; } + STACKTOP = sp; return; } -function _ar2GetImageValue($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = +$3; - $4 = +$4; - $5 = $5 | 0; - var $$0 = 0, $12 = 0.0, $16 = 0, $19 = 0, $22 = 0, $29 = 0, $33 = 0, $6 = 0, $7 = 0, sp = 0; +function ___overflow($f, $_c) { + $f = $f | 0; + $_c = $_c | 0; + var $0 = 0, $1 = 0, $2 = 0, $c = 0, $conv = 0, $conv5 = 0, $retval$0 = 0, $wend = 0, $wpos = 0, label = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $6 = sp + 4 | 0; - $7 = sp; - if ((((_ar2ScreenCoord2MarkerCoord($0, $1, $3, $4, $6, $7) | 0) >= 0 ? ($12 = +HEAPF32[$2 + 12 >> 2], $16 = ~~(+HEAPF32[$6 >> 2] * $12 / 25.399999618530273 + .5), ($16 | 0) >= 0) : 0) ? ($19 = HEAP32[$2 + 4 >> 2] | 0, ($19 | 0) > ($16 | 0)) : 0) ? ($22 = HEAP32[$2 + 8 >> 2] | 0, $29 = ~~(+($22 | 0) - $12 * +HEAPF32[$7 >> 2] / 25.399999618530273 + .5), ($29 | 0) > -1 & ($22 | 0) > ($29 | 0)) : 0) { - $33 = (Math_imul($19, $29) | 0) + $16 | 0; - HEAP8[$5 >> 0] = HEAP8[(HEAP32[$2 >> 2] | 0) + $33 >> 0] | 0; - $$0 = 0; - } else $$0 = -1; - STACKTOP = sp; - return $$0 | 0; -} - -function _fputc($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $13 = 0, $14 = 0, $20 = 0, $21 = 0, $26 = 0, $27 = 0, $33 = 0, $7 = 0, $8 = 0, label = 0; - if ((HEAP32[$1 + 76 >> 2] | 0) >= 0 ? (___lockfile($1) | 0) != 0 : 0) { - $20 = $0 & 255; - $21 = $0 & 255; - if (($21 | 0) != (HEAP8[$1 + 75 >> 0] | 0) ? ($26 = $1 + 20 | 0, $27 = HEAP32[$26 >> 2] | 0, $27 >>> 0 < (HEAP32[$1 + 16 >> 2] | 0) >>> 0) : 0) { - HEAP32[$26 >> 2] = $27 + 1; - HEAP8[$27 >> 0] = $20; - $33 = $21; - } else $33 = ___overflow($1, $0) | 0; - ___unlockfile($1); - $$0 = $33; - } else label = 3; - do if ((label | 0) == 3) { - $7 = $0 & 255; - $8 = $0 & 255; - if (($8 | 0) != (HEAP8[$1 + 75 >> 0] | 0) ? ($13 = $1 + 20 | 0, $14 = HEAP32[$13 >> 2] | 0, $14 >>> 0 < (HEAP32[$1 + 16 >> 2] | 0) >>> 0) : 0) { - HEAP32[$13 >> 2] = $14 + 1; - HEAP8[$14 >> 0] = $7; - $$0 = $8; + $c = sp; + $conv = $_c & 255; + HEAP8[$c >> 0] = $conv; + $wend = $f + 16 | 0; + $0 = HEAP32[$wend >> 2] | 0; + if (!$0) if (!(___towrite($f) | 0)) { + $2 = HEAP32[$wend >> 2] | 0; + label = 4; + } else $retval$0 = -1; else { + $2 = $0; + label = 4; + } + do if ((label | 0) == 4) { + $wpos = $f + 20 | 0; + $1 = HEAP32[$wpos >> 2] | 0; + if ($1 >>> 0 < $2 >>> 0 ? ($conv5 = $_c & 255, ($conv5 | 0) != (HEAP8[$f + 75 >> 0] | 0)) : 0) { + HEAP32[$wpos >> 2] = $1 + 1; + HEAP8[$1 >> 0] = $conv; + $retval$0 = $conv5; break; } - $$0 = ___overflow($1, $0) | 0; + if ((FUNCTION_TABLE_iiii[HEAP32[$f + 36 >> 2] & 63]($f, $c, 1) | 0) == 1) $retval$0 = HEAPU8[$c >> 0] | 0; else $retval$0 = -1; } while (0); - return $$0 | 0; + STACKTOP = sp; + return $retval$0 | 0; } -function __ZNSt3__26vectorIN6vision5ImageENS_9allocatorIS2_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS2_RS4_EE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0$i = 0, $12 = 0, $14 = 0, $15 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $3 = 0, $5 = 0, $9 = 0; - $2 = HEAP32[$0 >> 2] | 0; - $3 = $0 + 4 | 0; - $5 = $1 + 4 | 0; - $$0$i = HEAP32[$3 >> 2] | 0; - while (1) { - if (($$0$i | 0) == ($2 | 0)) break; - $9 = $$0$i + -32 | 0; - __ZN6vision5ImageC2ERKS0_((HEAP32[$5 >> 2] | 0) + -32 | 0, $9); - HEAP32[$5 >> 2] = (HEAP32[$5 >> 2] | 0) + -32; - $$0$i = $9; - } - $12 = HEAP32[$0 >> 2] | 0; - HEAP32[$0 >> 2] = HEAP32[$5 >> 2]; - HEAP32[$5 >> 2] = $12; - $14 = $1 + 8 | 0; - $15 = HEAP32[$3 >> 2] | 0; - HEAP32[$3 >> 2] = HEAP32[$14 >> 2]; - HEAP32[$14 >> 2] = $15; - $17 = $0 + 8 | 0; - $18 = $1 + 12 | 0; - $19 = HEAP32[$17 >> 2] | 0; - HEAP32[$17 >> 2] = HEAP32[$18 >> 2]; - HEAP32[$18 >> 2] = $19; - HEAP32[$1 >> 2] = HEAP32[$5 >> 2]; - return; -} - -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E19parseIntegerLiteralENS_10StringViewE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $2 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $2 = sp; - __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E11parseNumberEb($2, $0, 1); - if (!(__ZNK12_GLOBAL__N_110StringView5emptyEv($2) | 0) ? __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($0, 69) | 0 : 0) $$0 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_14IntegerLiteralEJRNS_10StringViewES9_EEEPNS0_4NodeEDpOT0_($0, $1, $2) | 0; else $$0 = 0; - STACKTOP = sp; - return $$0 | 0; +function __ZNSt3__26vectorIN6vision12FeaturePointENS_9allocatorIS2_EEE6resizeEm($this, $__sz) { + $this = $this | 0; + $__sz = $__sz | 0; + var $0 = 0, $1 = 0, $2 = 0, $3 = 0, $__end_$i = 0, $__soon_to_be_end$0$i$i = 0, $add$ptr = 0, $incdec$ptr$i$i = 0, $sub$ptr$div$i = 0; + $__end_$i = $this + 4 | 0; + $0 = HEAP32[$__end_$i >> 2] | 0; + $1 = HEAP32[$this >> 2] | 0; + $sub$ptr$div$i = ($0 - $1 | 0) / 20 | 0; + $2 = $1; + $3 = $0; + if ($sub$ptr$div$i >>> 0 >= $__sz >>> 0) { + if ($sub$ptr$div$i >>> 0 > $__sz >>> 0) { + $add$ptr = $2 + ($__sz * 20 | 0) | 0; + $__soon_to_be_end$0$i$i = $3; + while (1) { + if (($__soon_to_be_end$0$i$i | 0) == ($add$ptr | 0)) break; + $incdec$ptr$i$i = $__soon_to_be_end$0$i$i + -20 | 0; + __ZN6vision12FeaturePointD2Ev($incdec$ptr$i$i); + $__soon_to_be_end$0$i$i = $incdec$ptr$i$i; + } + HEAP32[$__end_$i >> 2] = $add$ptr; + } + } else __ZNSt3__26vectorIN6vision12FeaturePointENS_9allocatorIS2_EEE8__appendEm($this, $__sz - $sub$ptr$div$i | 0); + return; } -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle22ElaboratedTypeSpefTypeEJRNS_10StringViewERPNS2_4NodeEEEEPT_DpOT0_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $10 = 0, $11 = 0, $15 = 0, $3 = 0, $4 = 0, $5 = 0, $tmpcast$byval_copy = 0, sp = 0; +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle17VendorExtQualTypeEJRPNS2_4NodeERNS_10StringViewEEEEPT_DpOT0_($this, $args, $args1) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + var $0 = 0, $1 = 0, $6 = 0, $7 = 0, $agg$tmp = 0, $call = 0, $tmpcast$byval_copy = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); $tmpcast$byval_copy = sp + 8 | 0; - $3 = sp; - $4 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 20) | 0; - $5 = $1; - $10 = HEAP32[$5 + 4 >> 2] | 0; - $11 = $3; - HEAP32[$11 >> 2] = HEAP32[$5 >> 2]; - HEAP32[$11 + 4 >> 2] = $10; - $15 = HEAP32[$2 >> 2] | 0; - HEAP32[$tmpcast$byval_copy >> 2] = HEAP32[$3 >> 2]; - HEAP32[$tmpcast$byval_copy + 4 >> 2] = HEAP32[$3 + 4 >> 2]; - __ZN12_GLOBAL__N_116itanium_demangle22ElaboratedTypeSpefTypeC2ENS_10StringViewEPNS0_4NodeE($4, $tmpcast$byval_copy, $15); + $agg$tmp = sp; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 20) | 0; + $0 = HEAP32[$args >> 2] | 0; + $1 = $args1; + $6 = HEAP32[$1 + 4 >> 2] | 0; + $7 = $agg$tmp; + HEAP32[$7 >> 2] = HEAP32[$1 >> 2]; + HEAP32[$7 + 4 >> 2] = $6; + HEAP32[$tmpcast$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$tmpcast$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_116itanium_demangle17VendorExtQualTypeC2EPKNS0_4NodeENS_10StringViewE($call, $0, $tmpcast$byval_copy); STACKTOP = sp; - return $4 | 0; + return $call | 0; } -function __ZNSt3__212__hash_tableINS_17__hash_value_typeIi7ARParamEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE21__construct_node_hashIRKNS_21piecewise_construct_tEJNS_5tupleIJRKiEEENSJ_IJEEEEEENS_10unique_ptrINS_11__hash_nodeIS3_PvEENS_22__hash_node_destructorINSC_ISR_EEEEEEmOT_DpOT0_($agg$result, $this, $__hash, $__f, $__rest, $__rest1) { +function __ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_10shared_ptrIN6vision8KeyframeILi96EEEEEEENS_22__unordered_map_hasherIiS7_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS7_NS_8equal_toIiEELb1EEENS_9allocatorIS7_EEE21__construct_node_hashIRKNS_21piecewise_construct_tEJNS_5tupleIJRKiEEENSN_IJEEEEEENS_10unique_ptrINS_11__hash_nodeIS7_PvEENS_22__hash_node_destructorINSG_ISV_EEEEEEmOT_DpOT0_($agg$result, $this, $__hash, $__f, $__rest, $__rest1) { $agg$result = $agg$result | 0; $this = $this | 0; $__hash = $__hash | 0; @@ -88489,607 +90370,556 @@ function __ZNSt3__212__hash_tableINS_17__hash_value_typeIi7ARParamEENS_22__unord $__rest = $__rest | 0; $__rest1 = $__rest1 | 0; var $call$i$i$i = 0; - $call$i$i$i = __Znwm(200) | 0; + $call$i$i$i = __Znwm(20) | 0; HEAP32[$agg$result >> 2] = $call$i$i$i; HEAP32[$agg$result + 4 >> 2] = $this + 8; HEAP32[$call$i$i$i + 8 >> 2] = HEAP32[HEAP32[$__rest >> 2] >> 2]; - _memset($call$i$i$i + 16 | 0, 0, 184) | 0; + HEAP32[$call$i$i$i + 12 >> 2] = 0; + HEAP32[$call$i$i$i + 16 >> 2] = 0; HEAP8[$agg$result + 8 >> 0] = 1; HEAP32[$call$i$i$i + 4 >> 2] = $__hash; HEAP32[$call$i$i$i >> 2] = 0; return; } -function __ZNSt3__219__double_or_nothingIwEEvRNS_10unique_ptrIT_PFvPvEEERPS2_S9_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$pr = 0, $11 = 0, $13 = 0, $16 = 0, $17 = 0, $25 = 0, $3 = 0, $5 = 0, $7 = 0, $8 = 0, $9 = 0; - $3 = $0 + 4 | 0; - $5 = (HEAP32[$3 >> 2] | 0) != 214; - $7 = HEAP32[$0 >> 2] | 0; - $8 = $7; - $9 = (HEAP32[$2 >> 2] | 0) - $8 | 0; - $11 = $9 << 1; - $13 = $9 >>> 0 < 2147483647 ? (($11 | 0) == 0 ? 4 : $11) : -1; - $16 = (HEAP32[$1 >> 2] | 0) - $8 >> 2; - $17 = _realloc($5 ? $7 : 0, $13) | 0; - if (!$17) __ZSt17__throw_bad_allocv(); - if (!$5) { - $$pr = HEAP32[$0 >> 2] | 0; - HEAP32[$0 >> 2] = $17; - if (!$$pr) $25 = $17; else { - FUNCTION_TABLE_vi[HEAP32[$3 >> 2] & 255]($$pr); - $25 = HEAP32[$0 >> 2] | 0; - } - } else { - HEAP32[$0 >> 2] = $17; - $25 = $17; - } - HEAP32[$3 >> 2] = 215; - HEAP32[$1 >> 2] = $25 + ($16 << 2); - HEAP32[$2 >> 2] = (HEAP32[$0 >> 2] | 0) + ($13 >>> 2 << 2); - return; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E19parseIntegerLiteralENS_10StringViewE($this, $Lit) { + $this = $this | 0; + $Lit = $Lit | 0; + var $Tmp = 0, $retval$0 = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $Tmp = sp; + __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E11parseNumberEb($Tmp, $this, 1); + if (!(__ZNK12_GLOBAL__N_110StringView5emptyEv($Tmp) | 0) ? __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($this, 69) | 0 : 0) $retval$0 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_14IntegerLiteralEJRNS_10StringViewES9_EEEPNS0_4NodeEDpOT0_($this, $Lit, $Tmp) | 0; else $retval$0 = 0; + STACKTOP = sp; + return $retval$0 | 0; } -function __ZNSt3__219__double_or_nothingIjEEvRNS_10unique_ptrIT_PFvPvEEERPS2_S9_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$pr = 0, $11 = 0, $13 = 0, $16 = 0, $17 = 0, $25 = 0, $3 = 0, $5 = 0, $7 = 0, $8 = 0, $9 = 0; - $3 = $0 + 4 | 0; - $5 = (HEAP32[$3 >> 2] | 0) != 214; - $7 = HEAP32[$0 >> 2] | 0; - $8 = $7; - $9 = (HEAP32[$2 >> 2] | 0) - $8 | 0; - $11 = $9 << 1; - $13 = $9 >>> 0 < 2147483647 ? (($11 | 0) == 0 ? 4 : $11) : -1; - $16 = (HEAP32[$1 >> 2] | 0) - $8 >> 2; - $17 = _realloc($5 ? $7 : 0, $13) | 0; - if (!$17) __ZSt17__throw_bad_allocv(); - if (!$5) { - $$pr = HEAP32[$0 >> 2] | 0; - HEAP32[$0 >> 2] = $17; - if (!$$pr) $25 = $17; else { - FUNCTION_TABLE_vi[HEAP32[$3 >> 2] & 255]($$pr); - $25 = HEAP32[$0 >> 2] | 0; - } +function _cat($file, $bufSize_p) { + $file = $file | 0; + $bufSize_p = $bufSize_p | 0; + var $add = 0, $call = 0, $call1 = 0, $call12 = 0, $call6 = 0, $call8 = 0, $retval$0 = 0; + do if ($file) { + $call1 = _fopen($file, 26308) | 0; + if ($call1) { + _fseek($call1, 0, 2) | 0; + $call6 = _ftell($call1) | 0; + _fseek($call1, 0, 0) | 0; + $add = $call6 + 1 | 0; + $call8 = _malloc($add) | 0; + if (!$call8) { + _fclose($call1) | 0; + $call12 = ___errno_location() | 0; + HEAP32[$call12 >> 2] = 48; + $retval$0 = 0; + break; + } + if (!(_fread($call8, $call6, 1, $call1) | 0)) { + _free($call8); + _fclose($call1) | 0; + $retval$0 = 0; + break; + } + HEAP8[$call8 + $call6 >> 0] = 0; + _fclose($call1) | 0; + if (!$bufSize_p) $retval$0 = $call8; else { + HEAP32[$bufSize_p >> 2] = $add; + $retval$0 = $call8; + } + } else $retval$0 = 0; } else { - HEAP32[$0 >> 2] = $17; - $25 = $17; - } - HEAP32[$3 >> 2] = 215; - HEAP32[$1 >> 2] = $25 + ($16 << 2); - HEAP32[$2 >> 2] = (HEAP32[$0 >> 2] | 0) + ($13 >>> 2 << 2); - return; + $call = ___errno_location() | 0; + HEAP32[$call >> 2] = 28; + $retval$0 = 0; + } while (0); + return $retval$0 | 0; } -function _kpmDeleteHandle($0) { - $0 = $0 | 0; - var $$0 = 0, $$in = 0, $$in17 = 0, $$in18 = 0, $$in19 = 0, $1 = 0, $12 = 0, $15 = 0, $17 = 0, $3 = 0, $6 = 0, $9 = 0; - $1 = HEAP32[$0 >> 2] | 0; - if (!$1) $$0 = -1; else { - $3 = HEAP32[$1 >> 2] | 0; - if (!$3) $$in = $1; else { - __ZN6vision20VisualDatabaseFacadeD2Ev($3); - __ZdlPv($3); - $$in = HEAP32[$0 >> 2] | 0; - } - $6 = HEAP32[$$in + 28 >> 2] | 0; - if (!$6) $$in17 = $$in; else { - _free($6); - $$in17 = HEAP32[$0 >> 2] | 0; - } - $9 = HEAP32[$$in17 + 36 >> 2] | 0; - if (!$9) $$in18 = $$in17; else { - _free($9); - $$in18 = HEAP32[$0 >> 2] | 0; - } - $12 = HEAP32[$$in18 + 52 >> 2] | 0; - if (!$12) $$in19 = $$in18; else { - _free($12); - $$in19 = HEAP32[$0 >> 2] | 0; - } - $15 = HEAP32[$$in19 + 44 >> 2] | 0; - if (!$15) $17 = $$in19; else { - _free($15); - $17 = HEAP32[$0 >> 2] | 0; - } - _free($17); - HEAP32[$0 >> 2] = 0; - $$0 = 0; - } - return $$0 | 0; +function __ZN10emscripten8internal7InvokerIiJiNSt3__212basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEE6invokeEPFiiS8_EiPNS0_11BindingTypeIS8_vEUt_E($fn, $args, $args1) { + $fn = $fn | 0; + $args = $args | 0; + $args1 = $args1 | 0; + var $agg$tmp = 0, $call = 0, $call3 = 0, $call5 = 0, $ref$tmp = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $ref$tmp = sp + 12 | 0; + $agg$tmp = sp; + $call = __ZN10emscripten8internal11BindingTypeIivE12fromWireTypeEi($args) | 0; + __ZN10emscripten8internal11BindingTypeINSt3__212basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEvE12fromWireTypeEPNS9_Ut_E($agg$tmp, $args1); + $call3 = FUNCTION_TABLE_iii[$fn & 127]($call, $agg$tmp) | 0; + HEAP32[$ref$tmp >> 2] = $call3; + $call5 = __ZN10emscripten8internal11BindingTypeIivE10toWireTypeERKi($ref$tmp) | 0; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($agg$tmp); + STACKTOP = sp; + return $call5 | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10parseSeqIdEPm($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $$08 = 0, $$sink15 = 0, $2 = 0, $6 = 0; - $2 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($0, 0) | 0; - if ($2 << 24 >> 24 > 47 ? $2 << 24 >> 24 < 58 | ($2 + -65 & 255) < 26 : 0) { - $$0 = 0; - while (1) { - $6 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($0, 0) | 0; - if ($6 << 24 >> 24 <= 47) break; - if ($6 << 24 >> 24 >= 58) if (($6 + -65 & 255) < 26) $$sink15 = -55; else break; else $$sink15 = -48; - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + 1; - $$0 = ($$0 * 36 | 0) + $$sink15 + ($6 << 24 >> 24) | 0; - } - HEAP32[$1 >> 2] = $$0; - $$08 = 0; - } else $$08 = 1; - return $$08 | 0; +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle15IntegerCastExprEJRPNS2_4NodeERNS_10StringViewEEEEPT_DpOT0_($this, $args, $args1) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + var $0 = 0, $1 = 0, $6 = 0, $7 = 0, $agg$tmp = 0, $call = 0, $tmpcast$byval_copy = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $tmpcast$byval_copy = sp + 8 | 0; + $agg$tmp = sp; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 20) | 0; + $0 = HEAP32[$args >> 2] | 0; + $1 = $args1; + $6 = HEAP32[$1 + 4 >> 2] | 0; + $7 = $agg$tmp; + HEAP32[$7 >> 2] = HEAP32[$1 >> 2]; + HEAP32[$7 + 4 >> 2] = $6; + HEAP32[$tmpcast$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$tmpcast$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_116itanium_demangle15IntegerCastExprC2EPKNS0_4NodeENS_10StringViewE($call, $0, $tmpcast$byval_copy); + STACKTOP = sp; + return $call | 0; +} + +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle14ConversionExprEJRPNS2_4NodeERNS2_9NodeArrayEEEEPT_DpOT0_($this, $args, $args1) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + var $0 = 0, $1 = 0, $6 = 0, $7 = 0, $agg$tmp = 0, $call = 0, $tmpcast$byval_copy = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $tmpcast$byval_copy = sp + 8 | 0; + $agg$tmp = sp; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 20) | 0; + $0 = HEAP32[$args >> 2] | 0; + $1 = $args1; + $6 = HEAP32[$1 + 4 >> 2] | 0; + $7 = $agg$tmp; + HEAP32[$7 >> 2] = HEAP32[$1 >> 2]; + HEAP32[$7 + 4 >> 2] = $6; + HEAP32[$tmpcast$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$tmpcast$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_116itanium_demangle14ConversionExprC2EPKNS0_4NodeENS0_9NodeArrayE($call, $0, $tmpcast$byval_copy); + STACKTOP = sp; + return $call | 0; +} + +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle13ObjCProtoNameEJRPNS2_4NodeERNS_10StringViewEEEEPT_DpOT0_($this, $args, $args1) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + var $0 = 0, $1 = 0, $6 = 0, $7 = 0, $agg$tmp = 0, $call = 0, $tmpcast$byval_copy = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $tmpcast$byval_copy = sp + 8 | 0; + $agg$tmp = sp; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 20) | 0; + $0 = HEAP32[$args >> 2] | 0; + $1 = $args1; + $6 = HEAP32[$1 + 4 >> 2] | 0; + $7 = $agg$tmp; + HEAP32[$7 >> 2] = HEAP32[$1 >> 2]; + HEAP32[$7 + 4 >> 2] = $6; + HEAP32[$tmpcast$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$tmpcast$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_116itanium_demangle13ObjCProtoNameC2EPKNS0_4NodeENS_10StringViewE($call, $0, $tmpcast$byval_copy); + STACKTOP = sp; + return $call | 0; +} + +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle14ConversionExprEJRPNS2_4NodeENS2_9NodeArrayEEEEPT_DpOT0_($this, $args, $args1) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + var $0 = 0, $1 = 0, $6 = 0, $7 = 0, $agg$tmp = 0, $call = 0, $tmpcast$byval_copy = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $tmpcast$byval_copy = sp + 8 | 0; + $agg$tmp = sp; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 20) | 0; + $0 = HEAP32[$args >> 2] | 0; + $1 = $args1; + $6 = HEAP32[$1 + 4 >> 2] | 0; + $7 = $agg$tmp; + HEAP32[$7 >> 2] = HEAP32[$1 >> 2]; + HEAP32[$7 + 4 >> 2] = $6; + HEAP32[$tmpcast$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$tmpcast$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_116itanium_demangle14ConversionExprC2EPKNS0_4NodeENS0_9NodeArrayE($call, $0, $tmpcast$byval_copy); + STACKTOP = sp; + return $call | 0; +} + +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle9ArrayTypeEJRPNS2_4NodeERNS2_12NodeOrStringEEEEPT_DpOT0_($this, $args, $args1) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + var $0 = 0, $1 = 0, $6 = 0, $7 = 0, $agg$tmp = 0, $call = 0, $tmpcast$byval_copy = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $tmpcast$byval_copy = sp + 8 | 0; + $agg$tmp = sp; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 20) | 0; + $0 = HEAP32[$args >> 2] | 0; + $1 = $args1; + $6 = HEAP32[$1 + 4 >> 2] | 0; + $7 = $agg$tmp; + HEAP32[$7 >> 2] = HEAP32[$1 >> 2]; + HEAP32[$7 + 4 >> 2] = $6; + HEAP32[$tmpcast$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$tmpcast$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_116itanium_demangle9ArrayTypeC2EPKNS0_4NodeENS0_12NodeOrStringE($call, $0, $tmpcast$byval_copy); + STACKTOP = sp; + return $call | 0; +} + +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle10PrefixExprEJRNS_10StringViewERPNS2_4NodeEEEEPT_DpOT0_($this, $args, $args1) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + var $0 = 0, $10 = 0, $5 = 0, $6 = 0, $agg$tmp = 0, $call = 0, $tmpcast$byval_copy = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $tmpcast$byval_copy = sp + 8 | 0; + $agg$tmp = sp; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 20) | 0; + $0 = $args; + $5 = HEAP32[$0 + 4 >> 2] | 0; + $6 = $agg$tmp; + HEAP32[$6 >> 2] = HEAP32[$0 >> 2]; + HEAP32[$6 + 4 >> 2] = $5; + $10 = HEAP32[$args1 >> 2] | 0; + HEAP32[$tmpcast$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$tmpcast$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_116itanium_demangle10PrefixExprC2ENS_10StringViewEPNS0_4NodeE($call, $tmpcast$byval_copy, $10); + STACKTOP = sp; + return $call | 0; } -function __ZN6vision40Homography4PointsGeometricallyConsistentIfEEbPKT_S3_S3_S3_S3_S3_S3_S3_($0, $1, $2, $3, $4, $5, $6, $7) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - $6 = $6 | 0; - $7 = $7 | 0; - var $$0 = 0, $14 = 0, $19 = 0, $24 = 0, $9 = 0; - $9 = +__ZN6vision13LinePointSideIfEET_PKS1_S3_S3_($0, $1, $2) > 0.0; - if ((!($9 ^ +__ZN6vision13LinePointSideIfEET_PKS1_S3_S3_($4, $5, $6) > 0.0) ? ($14 = +__ZN6vision13LinePointSideIfEET_PKS1_S3_S3_($1, $2, $3) > 0.0, !($14 ^ +__ZN6vision13LinePointSideIfEET_PKS1_S3_S3_($5, $6, $7) > 0.0)) : 0) ? ($19 = +__ZN6vision13LinePointSideIfEET_PKS1_S3_S3_($2, $3, $0) > 0.0, !($19 ^ +__ZN6vision13LinePointSideIfEET_PKS1_S3_S3_($6, $7, $4) > 0.0)) : 0) { - $24 = +__ZN6vision13LinePointSideIfEET_PKS1_S3_S3_($3, $0, $1) > 0.0; - $$0 = $24 ^ +__ZN6vision13LinePointSideIfEET_PKS1_S3_S3_($7, $4, $5) > 0.0 ^ 1; - } else $$0 = 0; - return $$0 | 0; +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle12InitListExprEJRPNS2_4NodeENS2_9NodeArrayEEEEPT_DpOT0_($this, $args, $args1) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + var $0 = 0, $1 = 0, $6 = 0, $7 = 0, $agg$tmp = 0, $call = 0, $tmpcast$byval_copy = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $tmpcast$byval_copy = sp + 8 | 0; + $agg$tmp = sp; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 20) | 0; + $0 = HEAP32[$args >> 2] | 0; + $1 = $args1; + $6 = HEAP32[$1 + 4 >> 2] | 0; + $7 = $agg$tmp; + HEAP32[$7 >> 2] = HEAP32[$1 >> 2]; + HEAP32[$7 + 4 >> 2] = $6; + HEAP32[$tmpcast$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$tmpcast$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_116itanium_demangle12InitListExprC2EPKNS0_4NodeENS0_9NodeArrayE($call, $0, $tmpcast$byval_copy); + STACKTOP = sp; + return $call | 0; } -function _getMatrixCodeType($id) { +function _setThreshold($id, $threshold) { $id = $id | 0; - var $arhandle = 0, $id$addr = 0, $matrixType = 0, $retval$0 = 0, sp = 0; + $threshold = $threshold | 0; + var $call7 = 0, $id$addr = 0, $vararg_buffer = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $id$addr = sp; - $matrixType = sp + 4 | 0; + $vararg_buffer = sp; + $id$addr = sp + 4 | 0; HEAP32[$id$addr >> 2] = $id; - if (!(__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(65260, $id$addr) | 0)) $retval$0 = -1; else { - $arhandle = (__ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(65260, $id$addr) | 0) + 216 | 0; - _arGetMatrixCodeType(HEAP32[$arhandle >> 2] | 0, $matrixType) | 0; - $retval$0 = HEAP32[$matrixType >> 2] | 0; + if ((__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(66108, $id$addr) | 0 ? ($call7 = __ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(66108, $id$addr) | 0, $threshold >>> 0 <= 255) : 0) ? (_arSetLabelingThresh(HEAP32[$call7 + 216 >> 2] | 0, $threshold) | 0) == 0 : 0) { + HEAP32[$vararg_buffer >> 2] = $threshold; + _arLog(0, 1, 42476, $vararg_buffer); } STACKTOP = sp; - return $retval$0 | 0; + return; } -function __ZNK12_GLOBAL__N_116itanium_demangle12CtorDtorName9printLeftERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$byval_copy1 = 0, $2 = 0, $3 = 0, $8 = 0, sp = 0; +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle10AbiTagAttrEJRPNS2_4NodeERNS_10StringViewEEEEPT_DpOT0_($this, $args, $args1) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + var $0 = 0, $1 = 0, $6 = 0, $7 = 0, $agg$tmp = 0, $call = 0, $tmpcast$byval_copy = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $$byval_copy1 = sp + 16 | 0; - $2 = sp + 8 | 0; - $3 = sp; - if (HEAP8[$0 + 12 >> 0] | 0) { - __ZN12_GLOBAL__N_110StringViewC2EPKc($2, 52685); - HEAP32[$$byval_copy1 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy1 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy1); - } - $8 = HEAP32[$0 + 8 >> 2] | 0; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$8 >> 2] | 0) + 24 >> 2] & 255]($3, $8); - HEAP32[$$byval_copy1 >> 2] = HEAP32[$3 >> 2]; - HEAP32[$$byval_copy1 + 4 >> 2] = HEAP32[$3 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy1); + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $tmpcast$byval_copy = sp + 8 | 0; + $agg$tmp = sp; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 20) | 0; + $0 = HEAP32[$args >> 2] | 0; + $1 = $args1; + $6 = HEAP32[$1 + 4 >> 2] | 0; + $7 = $agg$tmp; + HEAP32[$7 >> 2] = HEAP32[$1 >> 2]; + HEAP32[$7 + 4 >> 2] = $6; + HEAP32[$tmpcast$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$tmpcast$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_116itanium_demangle10AbiTagAttrC2EPNS0_4NodeENS_10StringViewE($call, $0, $tmpcast$byval_copy); STACKTOP = sp; - return; -} - -function __ZN6vision14CompareFREAK84EPhPKf($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $$018 = 0, $$019 = 0, $$1 = 0, $2 = 0, $3 = 0, $indvars$iv = 0, $indvars$iv$next23 = 0, $indvars$iv20 = 0, $indvars$iv22 = 0; - __ZN6vision10ZeroVectorIhEEvPT_m($0, 84); - $$018 = 0; - $$019 = 0; - $indvars$iv = 36; - $indvars$iv20 = 35; - $indvars$iv22 = 36; - while (1) { - if (($$018 | 0) == 37) break; - $2 = $$018 + 1 | 0; - $3 = $1 + ($$018 << 2) | 0; - $$0 = $2; - $$1 = $$019; - while (1) { - if (($$1 | 0) == ($indvars$iv22 | 0)) break; - __ZN6vision17bitstring_set_bitEPhih($0, $$1, +HEAPF32[$3 >> 2] < +HEAPF32[$1 + ($$0 << 2) >> 2] & 1); - $$0 = $$0 + 1 | 0; - $$1 = $$1 + 1 | 0; - } - $indvars$iv$next23 = $indvars$iv22 + $indvars$iv20 | 0; - $$018 = $2; - $$019 = $$019 + $indvars$iv | 0; - $indvars$iv = $indvars$iv + -1 | 0; - $indvars$iv20 = $indvars$iv20 + -1 | 0; - $indvars$iv22 = $indvars$iv$next23; - } - return; + return $call | 0; } -function __ZNK12_GLOBAL__N_116itanium_demangle12NoexceptSpec9printLeftERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$byval_copy1 = 0, $2 = 0, $3 = 0, sp = 0; +function _getThresholdMode($id) { + $id = $id | 0; + var $arhandle = 0, $cmp = 0, $id$addr = 0, $retval$1 = 0, $thresholdMode = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $$byval_copy1 = sp + 16 | 0; - $2 = sp + 8 | 0; - $3 = sp; - __ZN12_GLOBAL__N_110StringViewC2EPKc($2, 56458); - HEAP32[$$byval_copy1 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy1 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy1); - __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(HEAP32[$0 + 8 >> 2] | 0, $1); - __ZN12_GLOBAL__N_110StringViewC2EPKc($3, 51964); - HEAP32[$$byval_copy1 >> 2] = HEAP32[$3 >> 2]; - HEAP32[$$byval_copy1 + 4 >> 2] = HEAP32[$3 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy1); + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $id$addr = sp; + $thresholdMode = sp + 4 | 0; + HEAP32[$id$addr >> 2] = $id; + if (!(__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(66108, $id$addr) | 0)) $retval$1 = -1; else { + $arhandle = (__ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(66108, $id$addr) | 0) + 216 | 0; + $cmp = (_arGetLabelingThreshMode(HEAP32[$arhandle >> 2] | 0, $thresholdMode) | 0) == 0; + $retval$1 = $cmp ? HEAP32[$thresholdMode >> 2] | 0 : -1; + } STACKTOP = sp; - return; + return $retval$1 | 0; } -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle17VendorExtQualTypeEJRPNS2_4NodeERNS_10StringViewEEEEPT_DpOT0_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $11 = 0, $12 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $tmpcast$byval_copy = 0, sp = 0; +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle9DotSuffixEJRPNS2_4NodeENS_10StringViewEEEEPT_DpOT0_($this, $args, $args1) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + var $0 = 0, $1 = 0, $6 = 0, $7 = 0, $agg$tmp = 0, $call = 0, $tmpcast$byval_copy = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); $tmpcast$byval_copy = sp + 8 | 0; - $3 = sp; - $4 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 20) | 0; - $5 = HEAP32[$1 >> 2] | 0; - $6 = $2; - $11 = HEAP32[$6 + 4 >> 2] | 0; - $12 = $3; - HEAP32[$12 >> 2] = HEAP32[$6 >> 2]; - HEAP32[$12 + 4 >> 2] = $11; - HEAP32[$tmpcast$byval_copy >> 2] = HEAP32[$3 >> 2]; - HEAP32[$tmpcast$byval_copy + 4 >> 2] = HEAP32[$3 + 4 >> 2]; - __ZN12_GLOBAL__N_116itanium_demangle17VendorExtQualTypeC2EPKNS0_4NodeENS_10StringViewE($4, $5, $tmpcast$byval_copy); + $agg$tmp = sp; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 20) | 0; + $0 = HEAP32[$args >> 2] | 0; + $1 = $args1; + $6 = HEAP32[$1 + 4 >> 2] | 0; + $7 = $agg$tmp; + HEAP32[$7 >> 2] = HEAP32[$1 >> 2]; + HEAP32[$7 + 4 >> 2] = $6; + HEAP32[$tmpcast$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$tmpcast$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_116itanium_demangle9DotSuffixC2EPKNS0_4NodeENS_10StringViewE($call, $0, $tmpcast$byval_copy); STACKTOP = sp; - return $4 | 0; + return $call | 0; } -function __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $11 = 0, $14 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, sp = 0; +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8CallExprEJRPNS2_4NodeENS2_9NodeArrayEEEEPT_DpOT0_($this, $args, $args1) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + var $0 = 0, $1 = 0, $6 = 0, $7 = 0, $agg$tmp = 0, $call = 0, $tmpcast$byval_copy = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $3 = sp; - $4 = $0 + 11 | 0; - $5 = HEAP8[$4 >> 0] | 0; - $6 = $5 << 24 >> 24 < 0; - if ($6) $11 = HEAP32[$0 + 4 >> 2] | 0; else $11 = $5 & 255; - do if ($11 >>> 0 >= $1 >>> 0) if ($6) { - $14 = (HEAP32[$0 >> 2] | 0) + $1 | 0; - HEAP8[$3 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc($14, $3); - HEAP32[$0 + 4 >> 2] = $1; - break; - } else { - HEAP8[$3 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc($0 + $1 | 0, $3); - HEAP8[$4 >> 0] = $1; - break; - } else __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6appendEmc($0, $1 - $11 | 0, $2) | 0; while (0); + $tmpcast$byval_copy = sp + 8 | 0; + $agg$tmp = sp; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 20) | 0; + $0 = HEAP32[$args >> 2] | 0; + $1 = $args1; + $6 = HEAP32[$1 + 4 >> 2] | 0; + $7 = $agg$tmp; + HEAP32[$7 >> 2] = HEAP32[$1 >> 2]; + HEAP32[$7 + 4 >> 2] = $6; + HEAP32[$tmpcast$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$tmpcast$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_116itanium_demangle8CallExprC2EPKNS0_4NodeENS0_9NodeArrayE($call, $0, $tmpcast$byval_copy); STACKTOP = sp; - return; + return $call | 0; } -function ___overflow($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $10 = 0, $12 = 0, $13 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $9 = 0, label = 0, sp = 0; +function _getImageProcMode($id) { + $id = $id | 0; + var $arhandle = 0, $cmp = 0, $id$addr = 0, $imageProcMode = 0, $retval$1 = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $2 = sp; - $3 = $1 & 255; - HEAP8[$2 >> 0] = $3; - $4 = $0 + 16 | 0; - $5 = HEAP32[$4 >> 2] | 0; - if (!$5) if (!(___towrite($0) | 0)) { - $12 = HEAP32[$4 >> 2] | 0; - label = 4; - } else $$0 = -1; else { - $12 = $5; - label = 4; + $id$addr = sp; + $imageProcMode = sp + 4 | 0; + HEAP32[$id$addr >> 2] = $id; + if (!(__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(66108, $id$addr) | 0)) $retval$1 = -1; else { + $arhandle = (__ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(66108, $id$addr) | 0) + 216 | 0; + $cmp = (_arGetImageProcMode(HEAP32[$arhandle >> 2] | 0, $imageProcMode) | 0) == 0; + $retval$1 = $cmp ? HEAP32[$imageProcMode >> 2] | 0 : -1; } - do if ((label | 0) == 4) { - $9 = $0 + 20 | 0; - $10 = HEAP32[$9 >> 2] | 0; - if ($10 >>> 0 < $12 >>> 0 ? ($13 = $1 & 255, ($13 | 0) != (HEAP8[$0 + 75 >> 0] | 0)) : 0) { - HEAP32[$9 >> 2] = $10 + 1; - HEAP8[$10 >> 0] = $3; - $$0 = $13; - break; - } - if ((FUNCTION_TABLE_iiii[HEAP32[$0 + 36 >> 2] & 63]($0, $2, 1) | 0) == 1) $$0 = HEAPU8[$2 >> 0] | 0; else $$0 = -1; - } while (0); STACKTOP = sp; - return $$0 | 0; + return $retval$1 | 0; } -function __ZN6vision25DoGScaleInvariantDetectorC2Ev($0) { - $0 = $0 | 0; - var $11 = 0, $14 = 0; - HEAP32[$0 >> 2] = 0; - HEAP32[$0 + 4 >> 2] = 0; - HEAP32[$0 + 8 >> 2] = 10; - HEAP32[$0 + 12 >> 2] = 10; - HEAP32[$0 + 16 >> 2] = 0; - HEAP32[$0 + 20 >> 2] = 0; - HEAP32[$0 + 24 >> 2] = 0; - HEAP8[$0 + 28 >> 0] = 1; - __ZN6vision10DoGPyramidC2Ev($0 + 32 | 0); - HEAPF32[$0 + 52 >> 2] = 0.0; - HEAPF32[$0 + 56 >> 2] = 10.0; - $11 = $0 + 60 | 0; - HEAP32[$11 >> 2] = 0; - HEAP32[$11 + 4 >> 2] = 0; - HEAP32[$11 + 8 >> 2] = 0; - HEAP32[$11 + 12 >> 2] = 0; - HEAP32[$11 + 16 >> 2] = 0; - HEAP32[$11 + 20 >> 2] = 0; - HEAPF32[$0 + 88 >> 2] = 9.0; - __ZN6vision21OrientationAssignmentC2Ev($0 + 92 | 0); - $14 = $0 + 144 | 0; - HEAP32[$14 >> 2] = 0; - HEAP32[$0 + 148 >> 2] = 0; - HEAP32[$0 + 152 >> 2] = 0; - __ZN6vision25DoGScaleInvariantDetector22setMaxNumFeaturePointsEm($0, 5e3); - __ZNSt3__26vectorIfNS_9allocatorIfEEE6resizeEm($14, 36); - return; -} - -function __ZL19kpmCreateHandleCoreP9ARParamLTiii($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $13 = 0, $4 = 0, $6 = 0, sp = 0; +function _ar2CreateHandleSubMod($pixFormat, $xsize, $ysize) { + $pixFormat = $pixFormat | 0; + $xsize = $xsize | 0; + $ysize = $ysize | 0; + var $call = 0, $call12 = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $4 = _calloc(1, 4156) | 0; - if (!$4) { - _arLog(0, 3, 45930, sp); + $call = _malloc(13732) | 0; + if (!$call) { + _arLog(0, 3, 46772, sp); + _exit(1); + } + HEAP32[$call + 20 >> 2] = $pixFormat; + HEAP32[$call + 4 >> 2] = $xsize; + HEAP32[$call + 8 >> 2] = $ysize; + HEAP32[$call + 24 >> 2] = 25; + HEAP32[$call + 28 >> 2] = 11; + HEAP32[$call + 32 >> 2] = 11; + HEAP32[$call + 36 >> 2] = 10; + HEAPF32[$call + 40 >> 2] = .6000000238418579; + HEAPF32[$call + 44 >> 2] = 2.0; + HEAP32[$call + 13280 >> 2] = 1; + $call12 = _malloc(Math_imul($ysize, $xsize) | 0) | 0; + HEAP32[$call + 13300 >> 2] = $call12; + if (!$call12) { + _arLog(0, 3, 46772, sp + 8 | 0); _exit(1); } else { - $6 = __Znwm(4) | 0; - __ZN6vision20VisualDatabaseFacadeC2Ev($6); - HEAP32[$4 >> 2] = $6; - HEAP32[$4 + 4 >> 2] = $0; - HEAP32[$4 + 8 >> 2] = $3; - HEAP32[$4 + 12 >> 2] = $1; - HEAP32[$4 + 16 >> 2] = $2; - HEAP32[$4 + 20 >> 2] = 1; - HEAP32[$4 + 24 >> 2] = -1; - $13 = $4 + 28 | 0; - HEAP32[$13 >> 2] = 0; - HEAP32[$13 + 4 >> 2] = 0; - HEAP32[$13 + 8 >> 2] = 0; - HEAP32[$13 + 12 >> 2] = 0; - HEAP32[$13 + 16 >> 2] = 0; - HEAP32[$13 + 20 >> 2] = 0; - HEAP32[$13 + 24 >> 2] = 0; - HEAP32[$13 + 28 >> 2] = 0; + HEAP32[$call + 13304 >> 2] = 0; STACKTOP = sp; - return $4 | 0; + return $call | 0; } return 0; } -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle15IntegerCastExprEJRPNS2_4NodeERNS_10StringViewEEEEPT_DpOT0_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $11 = 0, $12 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $tmpcast$byval_copy = 0, sp = 0; +function __ZN6vision29SolveNullVector8x9DestructiveIfEEbPT_S2_($x, $A) { + $x = $x | 0; + $A = $A | 0; + var $Q = 0, $retval$0 = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $tmpcast$byval_copy = sp + 8 | 0; - $3 = sp; - $4 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 20) | 0; - $5 = HEAP32[$1 >> 2] | 0; - $6 = $2; - $11 = HEAP32[$6 + 4 >> 2] | 0; - $12 = $3; - HEAP32[$12 >> 2] = HEAP32[$6 >> 2]; - HEAP32[$12 + 4 >> 2] = $11; - HEAP32[$tmpcast$byval_copy >> 2] = HEAP32[$3 >> 2]; - HEAP32[$tmpcast$byval_copy + 4 >> 2] = HEAP32[$3 + 4 >> 2]; - __ZN12_GLOBAL__N_116itanium_demangle15IntegerCastExprC2EPKNS0_4NodeENS_10StringViewE($4, $5, $tmpcast$byval_copy); + STACKTOP = STACKTOP + 288 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(288); + $Q = sp; + if (((((((__ZN6vision27OrthogonalizePivot8x9Basis0IfEEbPT_S2_($Q, $A) | 0 ? __ZN6vision27OrthogonalizePivot8x9Basis1IfEEbPT_S2_($Q, $A) | 0 : 0) ? __ZN6vision27OrthogonalizePivot8x9Basis2IfEEbPT_S2_($Q, $A) | 0 : 0) ? __ZN6vision27OrthogonalizePivot8x9Basis3IfEEbPT_S2_($Q, $A) | 0 : 0) ? __ZN6vision27OrthogonalizePivot8x9Basis4IfEEbPT_S2_($Q, $A) | 0 : 0) ? __ZN6vision27OrthogonalizePivot8x9Basis5IfEEbPT_S2_($Q, $A) | 0 : 0) ? __ZN6vision27OrthogonalizePivot8x9Basis6IfEEbPT_S2_($Q, $A) | 0 : 0) ? __ZN6vision27OrthogonalizePivot8x9Basis7IfEEbPT_S2_($Q, $A) | 0 : 0) $retval$0 = __ZN6vision24OrthogonalizeIdentity8x9IfEEbPT_PKS1_($x, $Q) | 0; else $retval$0 = 0; STACKTOP = sp; - return $4 | 0; + return $retval$0 | 0; } -function _cycle($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$02527 = 0, $$026 = 0, $10 = 0, $11 = 0, $18 = 0, $3 = 0, $5 = 0, $8 = 0, sp = 0; +function _getLabelingMode($id) { + $id = $id | 0; + var $arhandle = 0, $cmp = 0, $id$addr = 0, $labelingMode = 0, $retval$1 = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 256 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(256); - $3 = sp; - L1 : do if (($2 | 0) >= 2 ? ($5 = $1 + ($2 << 2) | 0, HEAP32[$5 >> 2] = $3, $0 | 0) : 0) { - $$02527 = $0; - $10 = $3; - while (1) { - $8 = $$02527 >>> 0 < 256 ? $$02527 : 256; - _memcpy($10 | 0, HEAP32[$1 >> 2] | 0, $8 | 0) | 0; - $$026 = 0; - do { - $11 = $1 + ($$026 << 2) | 0; - $$026 = $$026 + 1 | 0; - _memcpy(HEAP32[$11 >> 2] | 0, HEAP32[$1 + ($$026 << 2) >> 2] | 0, $8 | 0) | 0; - HEAP32[$11 >> 2] = (HEAP32[$11 >> 2] | 0) + $8; - } while (($$026 | 0) != ($2 | 0)); - $18 = $$02527 - $8 | 0; - if (!$18) break L1; - $$02527 = $18; - $10 = HEAP32[$5 >> 2] | 0; - } - } while (0); + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $id$addr = sp; + $labelingMode = sp + 4 | 0; + HEAP32[$id$addr >> 2] = $id; + if (!(__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(66108, $id$addr) | 0)) $retval$1 = -1; else { + $arhandle = (__ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(66108, $id$addr) | 0) + 216 | 0; + $cmp = (_arGetLabelingMode(HEAP32[$arhandle >> 2] | 0, $labelingMode) | 0) == 0; + $retval$1 = $cmp ? HEAP32[$labelingMode >> 2] | 0 : -1; + } STACKTOP = sp; - return; + return $retval$1 | 0; } -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle14ConversionExprEJRPNS2_4NodeERNS2_9NodeArrayEEEEPT_DpOT0_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $11 = 0, $12 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $tmpcast$byval_copy = 0, sp = 0; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parsePrefixExprENS_10StringViewE($this, $Kind) { + $this = $this | 0; + $Kind = $Kind | 0; + var $E = 0, $call2 = 0, $retval$0 = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $tmpcast$byval_copy = sp + 8 | 0; - $3 = sp; - $4 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 20) | 0; - $5 = HEAP32[$1 >> 2] | 0; - $6 = $2; - $11 = HEAP32[$6 + 4 >> 2] | 0; - $12 = $3; - HEAP32[$12 >> 2] = HEAP32[$6 >> 2]; - HEAP32[$12 + 4 >> 2] = $11; - HEAP32[$tmpcast$byval_copy >> 2] = HEAP32[$3 >> 2]; - HEAP32[$tmpcast$byval_copy + 4 >> 2] = HEAP32[$3 + 4 >> 2]; - __ZN12_GLOBAL__N_116itanium_demangle14ConversionExprC2EPKNS0_4NodeENS0_9NodeArrayE($4, $5, $tmpcast$byval_copy); + $E = sp; + $call2 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseExprEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) | 0) | 0; + HEAP32[$E >> 2] = $call2; + if (!$call2) $retval$0 = 0; else $retval$0 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_10PrefixExprEJRNS_10StringViewERPNS0_4NodeEEEESB_DpOT0_($this, $Kind, $E) | 0; STACKTOP = sp; - return $4 | 0; + return $retval$0 | 0; } -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle13ObjCProtoNameEJRPNS2_4NodeERNS_10StringViewEEEEPT_DpOT0_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $11 = 0, $12 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $tmpcast$byval_copy = 0, sp = 0; +function __ZN6vision14Determinant3x3IfEET_PKS1_($A) { + $A = $A | 0; + var $arrayidx = 0, $arrayidx1 = 0, $arrayidx2 = 0, $arrayidx3 = 0, $arrayidx4 = 0, $arrayidx6 = 0, $call = 0.0, $call13 = 0.0, $call8 = 0.0; + $arrayidx = $A + 16 | 0; + $arrayidx1 = $A + 20 | 0; + $arrayidx2 = $A + 28 | 0; + $arrayidx3 = $A + 32 | 0; + $call = +__ZN6vision11Cofactor2x2IfEET_S1_S1_S1_S1_(+HEAPF32[$arrayidx >> 2], +HEAPF32[$arrayidx1 >> 2], +HEAPF32[$arrayidx2 >> 2], +HEAPF32[$arrayidx3 >> 2]); + $arrayidx4 = $A + 12 | 0; + $arrayidx6 = $A + 24 | 0; + $call8 = +__ZN6vision11Cofactor2x2IfEET_S1_S1_S1_S1_(+HEAPF32[$arrayidx4 >> 2], +HEAPF32[$arrayidx1 >> 2], +HEAPF32[$arrayidx6 >> 2], +HEAPF32[$arrayidx3 >> 2]); + $call13 = +__ZN6vision11Cofactor2x2IfEET_S1_S1_S1_S1_(+HEAPF32[$arrayidx4 >> 2], +HEAPF32[$arrayidx >> 2], +HEAPF32[$arrayidx6 >> 2], +HEAPF32[$arrayidx2 >> 2]); + return +($call * +HEAPF32[$A >> 2] - $call8 * +HEAPF32[$A + 4 >> 2] + $call13 * +HEAPF32[$A + 8 >> 2]); +} + +function __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm($this, $__s, $__sz) { + $this = $this | 0; + $__s = $__s | 0; + $__sz = $__sz | 0; + var $__p$0 = 0, $and$i$i = 0, $call$i$i$i = 0, $ref$tmp = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $tmpcast$byval_copy = sp + 8 | 0; - $3 = sp; - $4 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 20) | 0; - $5 = HEAP32[$1 >> 2] | 0; - $6 = $2; - $11 = HEAP32[$6 + 4 >> 2] | 0; - $12 = $3; - HEAP32[$12 >> 2] = HEAP32[$6 >> 2]; - HEAP32[$12 + 4 >> 2] = $11; - HEAP32[$tmpcast$byval_copy >> 2] = HEAP32[$3 >> 2]; - HEAP32[$tmpcast$byval_copy + 4 >> 2] = HEAP32[$3 + 4 >> 2]; - __ZN12_GLOBAL__N_116itanium_demangle13ObjCProtoNameC2EPKNS0_4NodeENS_10StringViewE($4, $5, $tmpcast$byval_copy); + $ref$tmp = sp; + if ($__sz >>> 0 > 4294967279) __ZNKSt3__221__basic_string_commonILb1EE20__throw_length_errorEv($this); + if ($__sz >>> 0 < 11) { + HEAP8[$this + 11 >> 0] = $__sz; + $__p$0 = $this; + } else { + $and$i$i = $__sz + 16 & -16; + $call$i$i$i = __Znwm($and$i$i) | 0; + HEAP32[$this >> 2] = $call$i$i$i; + HEAP32[$this + 8 >> 2] = $and$i$i | -2147483648; + HEAP32[$this + 4 >> 2] = $__sz; + $__p$0 = $call$i$i$i; + } + __ZNSt3__211char_traitsIcE4copyEPcPKcm($__p$0, $__s, $__sz) | 0; + HEAP8[$ref$tmp >> 0] = 0; + __ZNSt3__211char_traitsIcE6assignERcRKc($__p$0 + $__sz | 0, $ref$tmp); STACKTOP = sp; - return $4 | 0; + return; } -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle14ConversionExprEJRPNS2_4NodeENS2_9NodeArrayEEEEPT_DpOT0_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $11 = 0, $12 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $tmpcast$byval_copy = 0, sp = 0; +function __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE13__get_12_hourERiRS4_S4_RjRKNS_5ctypeIwEE($this, $__h, $__b, $__e, $__err, $__ct) { + $this = $this | 0; + $__h = $__h | 0; + $__b = $__b | 0; + $__e = $__e | 0; + $__err = $__err | 0; + $__ct = $__ct | 0; + var $1 = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, $call = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $tmpcast$byval_copy = sp + 8 | 0; - $3 = sp; - $4 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 20) | 0; - $5 = HEAP32[$1 >> 2] | 0; - $6 = $2; - $11 = HEAP32[$6 + 4 >> 2] | 0; - $12 = $3; - HEAP32[$12 >> 2] = HEAP32[$6 >> 2]; - HEAP32[$12 + 4 >> 2] = $11; - HEAP32[$tmpcast$byval_copy >> 2] = HEAP32[$3 >> 2]; - HEAP32[$tmpcast$byval_copy + 4 >> 2] = HEAP32[$3 + 4 >> 2]; - __ZN12_GLOBAL__N_116itanium_demangle14ConversionExprC2EPKNS0_4NodeENS0_9NodeArrayE($4, $5, $tmpcast$byval_copy); + $agg$tmp$byval_copy = sp + 4 | 0; + $agg$tmp = sp; + HEAP32[$agg$tmp >> 2] = HEAP32[$__e >> 2]; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + $call = __ZNSt3__220__get_up_to_n_digitsIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEEEiRT0_S5_RjRKNS_5ctypeIT_EEi($__b, $agg$tmp$byval_copy, $__err, $__ct, 2) | 0; + $1 = HEAP32[$__err >> 2] | 0; + if (($call + -1 | 0) >>> 0 < 12 & ($1 & 4 | 0) == 0) HEAP32[$__h >> 2] = $call; else HEAP32[$__err >> 2] = $1 | 4; STACKTOP = sp; - return $4 | 0; -} - -function _arPattDeleteHandle($0) { - $0 = $0 | 0; - var $$0 = 0, $$024 = 0, $$025 = 0, $12 = 0, $14 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0; - if (!$0) $$025 = -1; else { - $2 = $0 + 4 | 0; - $3 = $0 + 8 | 0; - $4 = $0 + 12 | 0; - $5 = $0 + 20 | 0; - $$024 = 0; - while (1) { - if (($$024 | 0) >= (HEAP32[$2 >> 2] | 0)) break; - if (HEAP32[(HEAP32[$3 >> 2] | 0) + ($$024 << 2) >> 2] | 0) _arPattFree($0, $$024) | 0; - $12 = $$024 << 2; - $$0 = 0; - while (1) { - if (($$0 | 0) == 4) break; - $14 = $$0 + $12 | 0; - _free(HEAP32[(HEAP32[$4 >> 2] | 0) + ($14 << 2) >> 2] | 0); - _free(HEAP32[(HEAP32[$5 >> 2] | 0) + ($14 << 2) >> 2] | 0); - $$0 = $$0 + 1 | 0; - } - $$024 = $$024 + 1 | 0; - } - _free(HEAP32[$4 >> 2] | 0); - _free(HEAP32[$5 >> 2] | 0); - _free(HEAP32[$3 >> 2] | 0); - _free(HEAP32[$0 + 16 >> 2] | 0); - _free(HEAP32[$0 + 24 >> 2] | 0); - _free($0); - $$025 = 0; - } - return $$025 | 0; + return; } -function __ZNSt3__219__double_or_nothingIcEEvRNS_10unique_ptrIT_PFvPvEEERPS2_S9_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$pr = 0, $11 = 0, $13 = 0, $15 = 0, $16 = 0, $23 = 0, $3 = 0, $5 = 0, $7 = 0, $8 = 0, $9 = 0; - $3 = $0 + 4 | 0; - $5 = (HEAP32[$3 >> 2] | 0) != 214; - $7 = HEAP32[$0 >> 2] | 0; - $8 = $7; - $9 = (HEAP32[$2 >> 2] | 0) - $8 | 0; - $11 = $9 << 1; - $13 = $9 >>> 0 < 2147483647 ? (($11 | 0) == 0 ? 1 : $11) : -1; - $15 = (HEAP32[$1 >> 2] | 0) - $8 | 0; - $16 = _realloc($5 ? $7 : 0, $13) | 0; - if (!$16) __ZSt17__throw_bad_allocv(); - if (!$5) { - $$pr = HEAP32[$0 >> 2] | 0; - HEAP32[$0 >> 2] = $16; - if (!$$pr) $23 = $16; else { - FUNCTION_TABLE_vi[HEAP32[$3 >> 2] & 255]($$pr); - $23 = HEAP32[$0 >> 2] | 0; - } - } else { - HEAP32[$0 >> 2] = $16; - $23 = $16; - } - HEAP32[$3 >> 2] = 215; - HEAP32[$1 >> 2] = $23 + $15; - HEAP32[$2 >> 2] = (HEAP32[$0 >> 2] | 0) + $13; +function __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE13__get_12_hourERiRS4_S4_RjRKNS_5ctypeIcEE($this, $__h, $__b, $__e, $__err, $__ct) { + $this = $this | 0; + $__h = $__h | 0; + $__b = $__b | 0; + $__e = $__e | 0; + $__err = $__err | 0; + $__ct = $__ct | 0; + var $1 = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, $call = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $agg$tmp$byval_copy = sp + 4 | 0; + $agg$tmp = sp; + HEAP32[$agg$tmp >> 2] = HEAP32[$__e >> 2]; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + $call = __ZNSt3__220__get_up_to_n_digitsIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEEiRT0_S5_RjRKNS_5ctypeIT_EEi($__b, $agg$tmp$byval_copy, $__err, $__ct, 2) | 0; + $1 = HEAP32[$__err >> 2] | 0; + if (($call + -1 | 0) >>> 0 < 12 & ($1 & 4 | 0) == 0) HEAP32[$__h >> 2] = $call; else HEAP32[$__err >> 2] = $1 | 4; + STACKTOP = sp; return; } -function __ZNSt3__214__split_bufferI12multi_markerRNS_9allocatorIS1_EEEC2EmmS4_($this, $__cap, $__start, $__a) { +function __ZNSt3__214__split_bufferINS_6vectorINS1_INS_4pairIfmEENS_9allocatorIS3_EEEENS4_IS6_EEEERNS4_IS8_EEEC2EmmSA_($this, $__cap, $__start, $__a) { $this = $this | 0; $__cap = $__cap | 0; $__start = $__start | 0; @@ -89098,6560 +90928,6463 @@ function __ZNSt3__214__split_bufferI12multi_markerRNS_9allocatorIS1_EEEC2EmmS4_( $__value_$i1$i = $this + 12 | 0; HEAP32[$__value_$i1$i >> 2] = 0; HEAP32[$this + 16 >> 2] = $__a; - do if ($__cap) if ($__cap >>> 0 > 536870911) { + do if ($__cap) if ($__cap >>> 0 > 357913941) { $exception$i$i$i = ___cxa_allocate_exception(8) | 0; - __ZNSt11logic_errorC2EPKc($exception$i$i$i, 41481); + __ZNSt11logic_errorC2EPKc($exception$i$i$i, 42283); HEAP32[$exception$i$i$i >> 2] = 17472; ___cxa_throw($exception$i$i$i | 0, 13960, 22); } else { - $cond = __Znwm($__cap << 3) | 0; + $cond = __Znwm($__cap * 12 | 0) | 0; break; } else $cond = 0; while (0); HEAP32[$this >> 2] = $cond; - $add$ptr = $cond + ($__start << 3) | 0; + $add$ptr = $cond + ($__start * 12 | 0) | 0; HEAP32[$this + 8 >> 2] = $add$ptr; HEAP32[$this + 4 >> 2] = $add$ptr; - HEAP32[$__value_$i1$i >> 2] = $cond + ($__cap << 3); + HEAP32[$__value_$i1$i >> 2] = $cond + ($__cap * 12 | 0); return; } -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle9ArrayTypeEJRPNS2_4NodeERNS2_12NodeOrStringEEEEPT_DpOT0_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $11 = 0, $12 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $tmpcast$byval_copy = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $tmpcast$byval_copy = sp + 8 | 0; - $3 = sp; - $4 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 20) | 0; - $5 = HEAP32[$1 >> 2] | 0; - $6 = $2; - $11 = HEAP32[$6 + 4 >> 2] | 0; - $12 = $3; - HEAP32[$12 >> 2] = HEAP32[$6 >> 2]; - HEAP32[$12 + 4 >> 2] = $11; - HEAP32[$tmpcast$byval_copy >> 2] = HEAP32[$3 >> 2]; - HEAP32[$tmpcast$byval_copy + 4 >> 2] = HEAP32[$3 + 4 >> 2]; - __ZN12_GLOBAL__N_116itanium_demangle9ArrayTypeC2EPKNS0_4NodeENS0_12NodeOrStringE($4, $5, $tmpcast$byval_copy); - STACKTOP = sp; - return $4 | 0; -} - -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle10PrefixExprEJRNS_10StringViewERPNS2_4NodeEEEEPT_DpOT0_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $10 = 0, $11 = 0, $15 = 0, $3 = 0, $4 = 0, $5 = 0, $tmpcast$byval_copy = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $tmpcast$byval_copy = sp + 8 | 0; - $3 = sp; - $4 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 20) | 0; - $5 = $1; - $10 = HEAP32[$5 + 4 >> 2] | 0; - $11 = $3; - HEAP32[$11 >> 2] = HEAP32[$5 >> 2]; - HEAP32[$11 + 4 >> 2] = $10; - $15 = HEAP32[$2 >> 2] | 0; - HEAP32[$tmpcast$byval_copy >> 2] = HEAP32[$3 >> 2]; - HEAP32[$tmpcast$byval_copy + 4 >> 2] = HEAP32[$3 + 4 >> 2]; - __ZN12_GLOBAL__N_116itanium_demangle10PrefixExprC2ENS_10StringViewEPNS0_4NodeE($4, $tmpcast$byval_copy, $15); - STACKTOP = sp; - return $4 | 0; +function __ZNSt3__26vectorIN6vision5ImageENS_9allocatorIS2_EEE6resizeEm($this, $__sz) { + $this = $this | 0; + $__sz = $__sz | 0; + var $0 = 0, $1 = 0, $2 = 0, $3 = 0, $__end_$i = 0, $__soon_to_be_end$0$i$i = 0, $add$ptr = 0, $incdec$ptr$i$i = 0, $sub$ptr$div$i = 0; + $__end_$i = $this + 4 | 0; + $0 = HEAP32[$__end_$i >> 2] | 0; + $1 = HEAP32[$this >> 2] | 0; + $sub$ptr$div$i = $0 - $1 >> 5; + $2 = $1; + $3 = $0; + if ($sub$ptr$div$i >>> 0 >= $__sz >>> 0) { + if ($sub$ptr$div$i >>> 0 > $__sz >>> 0) { + $add$ptr = $2 + ($__sz << 5) | 0; + $__soon_to_be_end$0$i$i = $3; + while (1) { + if (($__soon_to_be_end$0$i$i | 0) == ($add$ptr | 0)) break; + $incdec$ptr$i$i = $__soon_to_be_end$0$i$i + -32 | 0; + __ZN6vision5ImageD2Ev($incdec$ptr$i$i); + $__soon_to_be_end$0$i$i = $incdec$ptr$i$i; + } + HEAP32[$__end_$i >> 2] = $add$ptr; + } + } else __ZNSt3__26vectorIN6vision5ImageENS_9allocatorIS2_EEE8__appendEm($this, $__sz - $sub$ptr$div$i | 0); + return; } -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle12InitListExprEJRPNS2_4NodeENS2_9NodeArrayEEEEPT_DpOT0_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $11 = 0, $12 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $tmpcast$byval_copy = 0, sp = 0; +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle10MemberExprEJRPNS2_4NodeERA3_KcS6_EEEPT_DpOT0_($this, $args, $args1, $args3) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + $args3 = $args3 | 0; + var $0 = 0, $1 = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, $call = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $tmpcast$byval_copy = sp + 8 | 0; - $3 = sp; - $4 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 20) | 0; - $5 = HEAP32[$1 >> 2] | 0; - $6 = $2; - $11 = HEAP32[$6 + 4 >> 2] | 0; - $12 = $3; - HEAP32[$12 >> 2] = HEAP32[$6 >> 2]; - HEAP32[$12 + 4 >> 2] = $11; - HEAP32[$tmpcast$byval_copy >> 2] = HEAP32[$3 >> 2]; - HEAP32[$tmpcast$byval_copy + 4 >> 2] = HEAP32[$3 + 4 >> 2]; - __ZN12_GLOBAL__N_116itanium_demangle12InitListExprC2EPKNS0_4NodeENS0_9NodeArrayE($4, $5, $tmpcast$byval_copy); + $agg$tmp$byval_copy = sp + 8 | 0; + $agg$tmp = sp; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 24) | 0; + $0 = HEAP32[$args >> 2] | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, $args1); + $1 = HEAP32[$args3 >> 2] | 0; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_116itanium_demangle10MemberExprC2EPKNS0_4NodeENS_10StringViewES4_($call, $0, $agg$tmp$byval_copy, $1); STACKTOP = sp; - return $4 | 0; + return $call | 0; } -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle10AbiTagAttrEJRPNS2_4NodeERNS_10StringViewEEEEPT_DpOT0_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $11 = 0, $12 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $tmpcast$byval_copy = 0, sp = 0; +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle10MemberExprEJRPNS2_4NodeERA2_KcS6_EEEPT_DpOT0_($this, $args, $args1, $args3) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + $args3 = $args3 | 0; + var $0 = 0, $1 = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, $call = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $tmpcast$byval_copy = sp + 8 | 0; - $3 = sp; - $4 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 20) | 0; - $5 = HEAP32[$1 >> 2] | 0; - $6 = $2; - $11 = HEAP32[$6 + 4 >> 2] | 0; - $12 = $3; - HEAP32[$12 >> 2] = HEAP32[$6 >> 2]; - HEAP32[$12 + 4 >> 2] = $11; - HEAP32[$tmpcast$byval_copy >> 2] = HEAP32[$3 >> 2]; - HEAP32[$tmpcast$byval_copy + 4 >> 2] = HEAP32[$3 + 4 >> 2]; - __ZN12_GLOBAL__N_116itanium_demangle10AbiTagAttrC2EPNS0_4NodeENS_10StringViewE($4, $5, $tmpcast$byval_copy); + $agg$tmp$byval_copy = sp + 8 | 0; + $agg$tmp = sp; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 24) | 0; + $0 = HEAP32[$args >> 2] | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, $args1); + $1 = HEAP32[$args3 >> 2] | 0; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_116itanium_demangle10MemberExprC2EPKNS0_4NodeENS_10StringViewES4_($call, $0, $agg$tmp$byval_copy, $1); STACKTOP = sp; - return $4 | 0; + return $call | 0; } -function _arImageProcLumaHistAndCDFAndPercentile($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = +$2; - $3 = $3 | 0; - var $$0 = 0, $$024 = 0, $$025 = 0, $15 = 0, $16 = 0, $18 = 0, $22 = 0, $23 = 0, $6 = 0; - if (!($2 < 0.0 | $2 > 1.0)) { - $6 = _arImageProcLumaHistAndCDF($0, $1) | 0; - if (($6 | 0) < 0) $$025 = $6; else { - $15 = ~~(+(Math_imul(HEAP32[$0 + 8 >> 2] | 0, HEAP32[$0 + 4 >> 2] | 0) | 0) * $2) >>> 0; - $$024 = 0; - while (1) { - $16 = $$024 & 255; - $18 = HEAP32[$0 + 1036 + ($16 << 2) >> 2] | 0; - if ($18 >>> 0 < $15 >>> 0) $$024 = $$024 + 1 << 24 >> 24; else break; +function __ZN6vision27AddHomographyPointContraintIfEEvPT_PKS1_S4_($A, $x, $xp) { + $A = $A | 0; + $x = $x | 0; + $xp = $xp | 0; + var $arrayidx2 = 0, $arrayidx23 = 0; + HEAPF32[$A >> 2] = -+HEAPF32[$x >> 2]; + $arrayidx2 = $x + 4 | 0; + HEAPF32[$A + 4 >> 2] = -+HEAPF32[$arrayidx2 >> 2]; + HEAPF32[$A + 8 >> 2] = -1.0; + __ZN6vision11ZeroVector3IfEEvPT_($A + 12 | 0); + HEAPF32[$A + 24 >> 2] = +HEAPF32[$xp >> 2] * +HEAPF32[$x >> 2]; + HEAPF32[$A + 28 >> 2] = +HEAPF32[$xp >> 2] * +HEAPF32[$arrayidx2 >> 2]; + HEAP32[$A + 32 >> 2] = HEAP32[$xp >> 2]; + __ZN6vision11ZeroVector3IfEEvPT_($A + 36 | 0); + HEAPF32[$A + 48 >> 2] = -+HEAPF32[$x >> 2]; + HEAPF32[$A + 52 >> 2] = -+HEAPF32[$arrayidx2 >> 2]; + HEAPF32[$A + 56 >> 2] = -1.0; + $arrayidx23 = $xp + 4 | 0; + HEAPF32[$A + 60 >> 2] = +HEAPF32[$arrayidx23 >> 2] * +HEAPF32[$x >> 2]; + HEAPF32[$A + 64 >> 2] = +HEAPF32[$arrayidx23 >> 2] * +HEAPF32[$arrayidx2 >> 2]; + HEAP32[$A + 68 >> 2] = HEAP32[$arrayidx23 >> 2]; + return; +} + +function _ungetc($c, $f) { + $c = $c | 0; + $f = $f | 0; + var $$pr = 0, $1 = 0, $3 = 0, $cond = 0, $incdec$ptr = 0, $retval$1 = 0, $rpos = 0, label = 0; + do if (($c | 0) != -1) { + if ((HEAP32[$f + 76 >> 2] | 0) > -1) $cond = ___lockfile($f) | 0; else $cond = 0; + $rpos = $f + 4 | 0; + $1 = HEAP32[$rpos >> 2] | 0; + if (!$1) { + ___toread($f) | 0; + $$pr = HEAP32[$rpos >> 2] | 0; + if ($$pr | 0) { + $3 = $$pr; + label = 6; } - $$0 = $$024; - $22 = $18; - while (1) { - $23 = $$0 + 1 << 24 >> 24; - if (($22 | 0) != ($15 | 0)) break; - $$0 = $23; - $22 = HEAP32[$0 + 1036 + (($23 & 255) << 2) >> 2] | 0; + } else { + $3 = $1; + label = 6; + } + if ((label | 0) == 6 ? $3 >>> 0 > ((HEAP32[$f + 44 >> 2] | 0) + -8 | 0) >>> 0 : 0) { + $incdec$ptr = $3 + -1 | 0; + HEAP32[$rpos >> 2] = $incdec$ptr; + HEAP8[$incdec$ptr >> 0] = $c; + HEAP32[$f >> 2] = HEAP32[$f >> 2] & -17; + if (!$cond) { + $retval$1 = $c; + break; } - HEAP8[$3 >> 0] = (($$0 & 255) + $16 | 0) >>> 1; - $$025 = 0; + ___unlockfile($f); + $retval$1 = $c; + break; } - } else $$025 = -1; - return $$025 | 0; + if ($cond) { + ___unlockfile($f); + $retval$1 = -1; + } else $retval$1 = -1; + } else $retval$1 = -1; while (0); + return $retval$1 | 0; } -function __ZNK12_GLOBAL__N_116itanium_demangle10MemberExpr9printLeftERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $11 = 0, $12 = 0, $2 = 0, $6 = 0, $tmpcast$byval_copy = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $tmpcast$byval_copy = sp + 8 | 0; - $2 = sp; - __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(HEAP32[$0 + 8 >> 2] | 0, $1); - $6 = $0 + 12 | 0; - $11 = HEAP32[$6 + 4 >> 2] | 0; - $12 = $2; - HEAP32[$12 >> 2] = HEAP32[$6 >> 2]; - HEAP32[$12 + 4 >> 2] = $11; - HEAP32[$tmpcast$byval_copy >> 2] = HEAP32[$2 >> 2]; - HEAP32[$tmpcast$byval_copy + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $tmpcast$byval_copy); - __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(HEAP32[$0 + 20 >> 2] | 0, $1); - STACKTOP = sp; +function __ZNSt3__214__split_bufferIN6vision25DoGScaleInvariantDetector12FeaturePointERNS_9allocatorIS3_EEEC2EmmS6_($this, $__cap, $__start, $__a) { + $this = $this | 0; + $__cap = $__cap | 0; + $__start = $__start | 0; + $__a = $__a | 0; + var $__value_$i1$i = 0, $add$ptr = 0, $cond = 0, $exception$i$i$i = 0; + $__value_$i1$i = $this + 12 | 0; + HEAP32[$__value_$i1$i >> 2] = 0; + HEAP32[$this + 16 >> 2] = $__a; + do if ($__cap) if ($__cap >>> 0 > 119304647) { + $exception$i$i$i = ___cxa_allocate_exception(8) | 0; + __ZNSt11logic_errorC2EPKc($exception$i$i$i, 42283); + HEAP32[$exception$i$i$i >> 2] = 17472; + ___cxa_throw($exception$i$i$i | 0, 13960, 22); + } else { + $cond = __Znwm($__cap * 36 | 0) | 0; + break; + } else $cond = 0; while (0); + HEAP32[$this >> 2] = $cond; + $add$ptr = $cond + ($__start * 36 | 0) | 0; + HEAP32[$this + 8 >> 2] = $add$ptr; + HEAP32[$this + 4 >> 2] = $add$ptr; + HEAP32[$__value_$i1$i >> 2] = $cond + ($__cap * 36 | 0); return; } -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle9DotSuffixEJRPNS2_4NodeENS_10StringViewEEEEPT_DpOT0_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $11 = 0, $12 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $tmpcast$byval_copy = 0, sp = 0; +function _setPatternDetectionMode($id, $mode) { + $id = $id | 0; + $mode = $mode | 0; + var $arhandle = 0, $id$addr = 0, $vararg_buffer = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $tmpcast$byval_copy = sp + 8 | 0; - $3 = sp; - $4 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 20) | 0; - $5 = HEAP32[$1 >> 2] | 0; - $6 = $2; - $11 = HEAP32[$6 + 4 >> 2] | 0; - $12 = $3; - HEAP32[$12 >> 2] = HEAP32[$6 >> 2]; - HEAP32[$12 + 4 >> 2] = $11; - HEAP32[$tmpcast$byval_copy >> 2] = HEAP32[$3 >> 2]; - HEAP32[$tmpcast$byval_copy + 4 >> 2] = HEAP32[$3 + 4 >> 2]; - __ZN12_GLOBAL__N_116itanium_demangle9DotSuffixC2EPKNS0_4NodeENS_10StringViewE($4, $5, $tmpcast$byval_copy); + $vararg_buffer = sp; + $id$addr = sp + 4 | 0; + HEAP32[$id$addr >> 2] = $id; + if (__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(66108, $id$addr) | 0 ? ($arhandle = (__ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(66108, $id$addr) | 0) + 216 | 0, (_arSetPatternDetectionMode(HEAP32[$arhandle >> 2] | 0, $mode) | 0) == 0) : 0) { + HEAP32[$vararg_buffer >> 2] = $mode; + _arLog(0, 1, 42441, $vararg_buffer); + } STACKTOP = sp; - return $4 | 0; + return; } -function __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6__initEPKwm($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$0 = 0, $10 = 0, $13 = 0, $3 = 0, sp = 0; +function _kpmFopen($filename, $ext, $mode) { + $filename = $filename | 0; + $ext = $ext | 0; + $mode = $mode | 0; + var $call = 0, $call5 = 0, $call9 = 0, $retval$0 = 0, $vararg_buffer = 0, $vararg_buffer1 = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $3 = sp; - if ($2 >>> 0 > 1073741807) __ZNKSt3__221__basic_string_commonILb1EE20__throw_length_errorEv($0); - do if ($2 >>> 0 >= 2) { - $10 = $2 + 4 & -4; - if ($10 >>> 0 > 1073741823) _abort(); else { - $13 = __Znwm($10 << 2) | 0; - HEAP32[$0 >> 2] = $13; - HEAP32[$0 + 8 >> 2] = $10 | -2147483648; - HEAP32[$0 + 4 >> 2] = $2; - $$0 = $13; + $vararg_buffer1 = sp + 8 | 0; + $vararg_buffer = sp; + do if ($filename) { + if (!$ext) { + $retval$0 = _fopen($filename, $mode) | 0; break; } - } else { - HEAP8[$0 + 8 + 3 >> 0] = $2; - $$0 = $0; - } while (0); - __ZNSt3__211char_traitsIwE4copyEPwPKwm($$0, $1, $2) | 0; - HEAP32[$3 >> 2] = 0; - __ZNSt3__211char_traitsIwE6assignERwRKw($$0 + ($2 << 2) | 0, $3); + $call = _strlen($filename) | 0; + $call5 = _malloc($call + 2 + (_strlen($ext) | 0) | 0) | 0; + if (!$call5) { + _arLog(0, 3, 46772, $vararg_buffer); + _exit(1); + } else { + HEAP32[$vararg_buffer1 >> 2] = $filename; + HEAP32[$vararg_buffer1 + 4 >> 2] = $ext; + _sprintf($call5, 26699, $vararg_buffer1) | 0; + $call9 = _fopen($call5, $mode) | 0; + _free($call5); + $retval$0 = $call9; + break; + } + } else $retval$0 = 0; while (0); STACKTOP = sp; - return; + return $retval$0 | 0; } -function _getDebugMode($id) { - $id = $id | 0; - var $arhandle = 0, $enable = 0, $id$addr = 0, $retval$0 = 0, sp = 0; +function __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE9__get_dayERiRS4_S4_RjRKNS_5ctypeIwEE($this, $__d, $__b, $__e, $__err, $__ct) { + $this = $this | 0; + $__d = $__d | 0; + $__b = $__b | 0; + $__e = $__e | 0; + $__err = $__err | 0; + $__ct = $__ct | 0; + var $1 = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, $call = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $id$addr = sp; - $enable = sp + 4 | 0; - HEAP32[$id$addr >> 2] = $id; - if (!(__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(65260, $id$addr) | 0)) $retval$0 = 0; else { - $arhandle = (__ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(65260, $id$addr) | 0) + 216 | 0; - _arGetDebugMode(HEAP32[$arhandle >> 2] | 0, $enable) | 0; - $retval$0 = HEAP32[$enable >> 2] | 0; - } + $agg$tmp$byval_copy = sp + 4 | 0; + $agg$tmp = sp; + HEAP32[$agg$tmp >> 2] = HEAP32[$__e >> 2]; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + $call = __ZNSt3__220__get_up_to_n_digitsIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEEEiRT0_S5_RjRKNS_5ctypeIT_EEi($__b, $agg$tmp$byval_copy, $__err, $__ct, 2) | 0; + $1 = HEAP32[$__err >> 2] | 0; + if (($call + -1 | 0) >>> 0 < 31 & ($1 & 4 | 0) == 0) HEAP32[$__d >> 2] = $call; else HEAP32[$__err >> 2] = $1 | 4; STACKTOP = sp; - return $retval$0 | 0; + return; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E15parsePrefixExprENS_10StringViewE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $2 = 0, $4 = 0, sp = 0; +function __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE18__get_day_year_numERiRS4_S4_RjRKNS_5ctypeIwEE($this, $__d, $__b, $__e, $__err, $__ct) { + $this = $this | 0; + $__d = $__d | 0; + $__b = $__b | 0; + $__e = $__e | 0; + $__err = $__err | 0; + $__ct = $__ct | 0; + var $1 = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, $call = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $2 = sp; - $4 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9parseExprEv(__ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) | 0) | 0; - HEAP32[$2 >> 2] = $4; - if (!$4) $$0 = 0; else $$0 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_10PrefixExprEJRNS_10StringViewERPNS0_4NodeEEEESB_DpOT0_($0, $1, $2) | 0; + $agg$tmp$byval_copy = sp + 4 | 0; + $agg$tmp = sp; + HEAP32[$agg$tmp >> 2] = HEAP32[$__e >> 2]; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + $call = __ZNSt3__220__get_up_to_n_digitsIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEEEiRT0_S5_RjRKNS_5ctypeIT_EEi($__b, $agg$tmp$byval_copy, $__err, $__ct, 3) | 0; + $1 = HEAP32[$__err >> 2] | 0; + if (($call | 0) < 366 & ($1 & 4 | 0) == 0) HEAP32[$__d >> 2] = $call; else HEAP32[$__err >> 2] = $1 | 4; STACKTOP = sp; - return $$0 | 0; + return; } -function __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6__initEmw($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$0 = 0, $10 = 0, $13 = 0, $3 = 0, sp = 0; +function __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE9__get_dayERiRS4_S4_RjRKNS_5ctypeIcEE($this, $__d, $__b, $__e, $__err, $__ct) { + $this = $this | 0; + $__d = $__d | 0; + $__b = $__b | 0; + $__e = $__e | 0; + $__err = $__err | 0; + $__ct = $__ct | 0; + var $1 = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, $call = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $3 = sp; - if ($1 >>> 0 > 1073741807) __ZNKSt3__221__basic_string_commonILb1EE20__throw_length_errorEv($0); - do if ($1 >>> 0 >= 2) { - $10 = $1 + 4 & -4; - if ($10 >>> 0 > 1073741823) _abort(); else { - $13 = __Znwm($10 << 2) | 0; - HEAP32[$0 >> 2] = $13; - HEAP32[$0 + 8 >> 2] = $10 | -2147483648; - HEAP32[$0 + 4 >> 2] = $1; - $$0 = $13; - break; - } - } else { - HEAP8[$0 + 8 + 3 >> 0] = $1; - $$0 = $0; - } while (0); - __ZNSt3__211char_traitsIwE6assignEPwmw($$0, $1, $2) | 0; - HEAP32[$3 >> 2] = 0; - __ZNSt3__211char_traitsIwE6assignERwRKw($$0 + ($1 << 2) | 0, $3); + $agg$tmp$byval_copy = sp + 4 | 0; + $agg$tmp = sp; + HEAP32[$agg$tmp >> 2] = HEAP32[$__e >> 2]; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + $call = __ZNSt3__220__get_up_to_n_digitsIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEEiRT0_S5_RjRKNS_5ctypeIT_EEi($__b, $agg$tmp$byval_copy, $__err, $__ct, 2) | 0; + $1 = HEAP32[$__err >> 2] | 0; + if (($call + -1 | 0) >>> 0 < 31 & ($1 & 4 | 0) == 0) HEAP32[$__d >> 2] = $call; else HEAP32[$__err >> 2] = $1 | 4; STACKTOP = sp; return; } -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8CallExprEJRPNS2_4NodeENS2_9NodeArrayEEEEPT_DpOT0_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $11 = 0, $12 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $tmpcast$byval_copy = 0, sp = 0; +function __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE18__get_day_year_numERiRS4_S4_RjRKNS_5ctypeIcEE($this, $__d, $__b, $__e, $__err, $__ct) { + $this = $this | 0; + $__d = $__d | 0; + $__b = $__b | 0; + $__e = $__e | 0; + $__err = $__err | 0; + $__ct = $__ct | 0; + var $1 = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, $call = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $tmpcast$byval_copy = sp + 8 | 0; - $3 = sp; - $4 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 20) | 0; - $5 = HEAP32[$1 >> 2] | 0; - $6 = $2; - $11 = HEAP32[$6 + 4 >> 2] | 0; - $12 = $3; - HEAP32[$12 >> 2] = HEAP32[$6 >> 2]; - HEAP32[$12 + 4 >> 2] = $11; - HEAP32[$tmpcast$byval_copy >> 2] = HEAP32[$3 >> 2]; - HEAP32[$tmpcast$byval_copy + 4 >> 2] = HEAP32[$3 + 4 >> 2]; - __ZN12_GLOBAL__N_116itanium_demangle8CallExprC2EPKNS0_4NodeENS0_9NodeArrayE($4, $5, $tmpcast$byval_copy); + $agg$tmp$byval_copy = sp + 4 | 0; + $agg$tmp = sp; + HEAP32[$agg$tmp >> 2] = HEAP32[$__e >> 2]; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + $call = __ZNSt3__220__get_up_to_n_digitsIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEEiRT0_S5_RjRKNS_5ctypeIT_EEi($__b, $agg$tmp$byval_copy, $__err, $__ct, 3) | 0; + $1 = HEAP32[$__err >> 2] | 0; + if (($call | 0) < 366 & ($1 & 4 | 0) == 0) HEAP32[$__d >> 2] = $call; else HEAP32[$__err >> 2] = $1 | 4; STACKTOP = sp; - return $4 | 0; + return; } -function ___strerror_l($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$012$lcssa = 0, $$01214 = 0, $$016 = 0, $$113 = 0, $$115 = 0, $$115$ph = 0, $6 = 0, label = 0, $$113$looptemp = 0; - $$016 = 0; - while (1) { - if ((HEAPU8[10528 + $$016 >> 0] | 0) == ($0 | 0)) { - label = 4; - break; - } - $6 = $$016 + 1 | 0; - if (($6 | 0) == 87) { - $$115$ph = 87; - label = 5; - break; - } else $$016 = $6; - } - if ((label | 0) == 4) if (!$$016) $$012$lcssa = 10624; else { - $$115$ph = $$016; - label = 5; - } - if ((label | 0) == 5) { - $$01214 = 10624; - $$115 = $$115$ph; +function __ZN12_GLOBAL__N_1eqERKNS_10StringViewES2_($LHS, $RHS) { + $LHS = $LHS | 0; + $RHS = $RHS | 0; + var $2 = 0, $__first1$addr$0$i$i = 0, $__first2$addr$0$i$i = 0, $call = 0, $call2 = 0, $call3 = 0; + $call = __ZNK12_GLOBAL__N_110StringView4sizeEv($LHS) | 0; + L1 : do if (($call | 0) == (__ZNK12_GLOBAL__N_110StringView4sizeEv($RHS) | 0)) { + $call2 = __ZNK12_GLOBAL__N_110StringView5beginEv($LHS) | 0; + $call3 = __ZNK12_GLOBAL__N_110StringView3endEv($LHS) | 0; + $__first1$addr$0$i$i = $call2; + $__first2$addr$0$i$i = __ZNK12_GLOBAL__N_110StringView5beginEv($RHS) | 0; while (1) { - $$113 = $$01214; - do { - $$113$looptemp = $$113; - $$113 = $$113 + 1 | 0; - } while ((HEAP8[$$113$looptemp >> 0] | 0) != 0); - $$115 = $$115 + -1 | 0; - if (!$$115) { - $$012$lcssa = $$113; - break; - } else $$01214 = $$113; + if (($__first1$addr$0$i$i | 0) == ($call3 | 0)) { + $2 = 1; + break L1; + } + if ((HEAP8[$__first1$addr$0$i$i >> 0] | 0) != (HEAP8[$__first2$addr$0$i$i >> 0] | 0)) { + $2 = 0; + break L1; + } + $__first1$addr$0$i$i = $__first1$addr$0$i$i + 1 | 0; + $__first2$addr$0$i$i = $__first2$addr$0$i$i + 1 | 0; } - } - return ___lctrans($$012$lcssa, HEAP32[$1 + 20 >> 2] | 0) | 0; + } else $2 = 0; while (0); + return $2 | 0; } -function __ZN6vision14ExtractFREAK84EPhPKNS_25GaussianScaleSpacePyramidERKNS_12FeaturePointEPKfS8_S8_S8_S8_S8_ffffffff($0, $1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - $6 = $6 | 0; - $7 = $7 | 0; - $8 = $8 | 0; - $9 = +$9; - $10 = +$10; - $11 = +$11; - $12 = +$12; - $13 = +$13; - $14 = +$14; - $15 = +$15; - $16 = +$16; - var $$0 = 0, $17 = 0, sp = 0; +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8CastExprEJRA17_KcRPNS2_4NodeES9_EEEPT_DpOT0_($this, $args, $args1, $args3) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + $args3 = $args3 | 0; + var $0 = 0, $1 = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, $call = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 160 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(160); - $17 = sp; - if (__ZN6vision20SamplePyramidFREAK84EPfPKNS_25GaussianScaleSpacePyramidERKNS_12FeaturePointEPKfS8_S8_S8_S8_S8_ffffffff($17, $1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16) | 0) { - __ZN6vision14CompareFREAK84EPhPKf($0, $17); - $$0 = 1; - } else $$0 = 0; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $agg$tmp$byval_copy = sp + 8 | 0; + $agg$tmp = sp; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 24) | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, $args); + $0 = HEAP32[$args1 >> 2] | 0; + $1 = HEAP32[$args3 >> 2] | 0; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_116itanium_demangle8CastExprC2ENS_10StringViewEPKNS0_4NodeES5_($call, $agg$tmp$byval_copy, $0, $1); STACKTOP = sp; - return $$0 | 0; + return $call | 0; } -function __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE11do_get_timeES4_S4_RNS_8ios_baseERjP2tm($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$byval_copy = 0, $$byval_copy1 = 0, $10 = 0, $6 = 0, $7 = 0, sp = 0; +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8CastExprEJRA13_KcRPNS2_4NodeES9_EEEPT_DpOT0_($this, $args, $args1, $args3) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + $args3 = $args3 | 0; + var $0 = 0, $1 = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, $call = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $agg$tmp$byval_copy = sp + 8 | 0; + $agg$tmp = sp; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 24) | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, $args); + $0 = HEAP32[$args1 >> 2] | 0; + $1 = HEAP32[$args3 >> 2] | 0; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_116itanium_demangle8CastExprC2ENS_10StringViewEPKNS0_4NodeES5_($call, $agg$tmp$byval_copy, $0, $1); + STACKTOP = sp; + return $call | 0; +} + +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8CastExprEJRA12_KcRPNS2_4NodeES9_EEEPT_DpOT0_($this, $args, $args1, $args3) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + $args3 = $args3 | 0; + var $0 = 0, $1 = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, $call = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy1 = sp + 12 | 0; - $$byval_copy = sp + 8 | 0; - $6 = sp + 4 | 0; - $7 = sp; - HEAP32[$6 >> 2] = HEAP32[$1 >> 2]; - HEAP32[$7 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy >> 2] = HEAP32[$6 >> 2]; - HEAP32[$$byval_copy1 >> 2] = HEAP32[$7 >> 2]; - $10 = __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE3getES4_S4_RNS_8ios_baseERjP2tmPKwSC_($0, $$byval_copy, $$byval_copy1, $3, $4, $5, 13152, 13184) | 0; + $agg$tmp$byval_copy = sp + 8 | 0; + $agg$tmp = sp; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 24) | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, $args); + $0 = HEAP32[$args1 >> 2] | 0; + $1 = HEAP32[$args3 >> 2] | 0; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_116itanium_demangle8CastExprC2ENS_10StringViewEPKNS0_4NodeES5_($call, $agg$tmp$byval_copy, $0, $1); STACKTOP = sp; - return $10 | 0; + return $call | 0; } -function __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE11do_get_timeES4_S4_RNS_8ios_baseERjP2tm($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$byval_copy = 0, $$byval_copy1 = 0, $10 = 0, $6 = 0, $7 = 0, sp = 0; +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8CastExprEJRA11_KcRPNS2_4NodeES9_EEEPT_DpOT0_($this, $args, $args1, $args3) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + $args3 = $args3 | 0; + var $0 = 0, $1 = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, $call = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy1 = sp + 12 | 0; - $$byval_copy = sp + 8 | 0; - $6 = sp + 4 | 0; - $7 = sp; - HEAP32[$6 >> 2] = HEAP32[$1 >> 2]; - HEAP32[$7 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy >> 2] = HEAP32[$6 >> 2]; - HEAP32[$$byval_copy1 >> 2] = HEAP32[$7 >> 2]; - $10 = __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE3getES4_S4_RNS_8ios_baseERjP2tmPKcSC_($0, $$byval_copy, $$byval_copy1, $3, $4, $5, 59714, 59722) | 0; + $agg$tmp$byval_copy = sp + 8 | 0; + $agg$tmp = sp; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 24) | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, $args); + $0 = HEAP32[$args1 >> 2] | 0; + $1 = HEAP32[$args3 >> 2] | 0; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_116itanium_demangle8CastExprC2ENS_10StringViewEPKNS0_4NodeES5_($call, $agg$tmp$byval_copy, $0, $1); STACKTOP = sp; - return $10 | 0; + return $call | 0; } -function _byteswap($0) { - $0 = $0 | 0; - var $$0 = 0, $$020 = 0, $$1 = 0, $1 = 0, $8 = 0, $9 = 0, sp = 0; +function _getThreshold($id) { + $id = $id | 0; + var $arhandle = 0, $cmp = 0, $id$addr = 0, $retval$1 = 0, $threshold = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 192 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(192); - $1 = sp; - _byteSwapInt($0, $1); - _byteSwapInt($0 + 4 | 0, $1 + 4 | 0); - $$0 = 0; - while (1) { - if (($$0 | 0) == 3) break; - $$020 = 0; - while (1) { - if (($$020 | 0) == 4) break; - _byteSwapDouble($0 + 8 + ($$0 << 5) + ($$020 << 3) | 0, $1 + 8 + ($$0 << 5) + ($$020 << 3) | 0); - $$020 = $$020 + 1 | 0; - } - $$0 = $$0 + 1 | 0; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $id$addr = sp; + $threshold = sp + 4 | 0; + HEAP32[$id$addr >> 2] = $id; + if (!(__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(66108, $id$addr) | 0)) $retval$1 = -1; else { + $arhandle = (__ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(66108, $id$addr) | 0) + 216 | 0; + $cmp = (_arGetLabelingThresh(HEAP32[$arhandle >> 2] | 0, $threshold) | 0) == 0; + $retval$1 = $cmp ? HEAP32[$threshold >> 2] | 0 : -1; } - $8 = $0 + 176 | 0; - $$1 = 0; - while (1) { - $9 = HEAP32[$8 >> 2] | 0; - if (($$1 | 0) >= (HEAP32[1712 + ($9 + -1 << 3) >> 2] | 0)) break; - _byteSwapDouble($0 + 104 + ($$1 << 3) | 0, $1 + 104 + ($$1 << 3) | 0); - $$1 = $$1 + 1 | 0; + STACKTOP = sp; + return $retval$1 | 0; +} + +function __ZNSt3__26vectorIN6vision12FeaturePointENS_9allocatorIS2_EEE13__vdeallocateEv($this) { + $this = $this | 0; + var $0 = 0, $2 = 0, $__end_$i$i$i = 0, $__soon_to_be_end$0$i$i$i = 0, $__value_$i$i$i$i$i = 0, $incdec$ptr$i$i$i = 0; + $0 = HEAP32[$this >> 2] | 0; + if ($0 | 0) { + $__end_$i$i$i = $this + 4 | 0; + $__soon_to_be_end$0$i$i$i = HEAP32[$__end_$i$i$i >> 2] | 0; + while (1) { + if (($__soon_to_be_end$0$i$i$i | 0) == ($0 | 0)) break; + $incdec$ptr$i$i$i = $__soon_to_be_end$0$i$i$i + -20 | 0; + __ZN6vision12FeaturePointD2Ev($incdec$ptr$i$i$i); + $__soon_to_be_end$0$i$i$i = $incdec$ptr$i$i$i; + } + HEAP32[$__end_$i$i$i >> 2] = $0; + $2 = HEAP32[$this >> 2] | 0; + $__value_$i$i$i$i$i = $this + 8 | 0; + __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($2, (HEAP32[$__value_$i$i$i$i$i >> 2] | 0) - $2 | 0); + HEAP32[$__value_$i$i$i$i$i >> 2] = 0; + HEAP32[$__end_$i$i$i >> 2] = 0; + HEAP32[$this >> 2] = 0; } - HEAP32[$1 + 176 >> 2] = $9; - _memcpy($0 | 0, $1 | 0, 184) | 0; + return; +} + +function __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE11__get_monthERiRS4_S4_RjRKNS_5ctypeIwEE($this, $__m, $__b, $__e, $__err, $__ct) { + $this = $this | 0; + $__m = $__m | 0; + $__b = $__b | 0; + $__e = $__e | 0; + $__err = $__err | 0; + $__ct = $__ct | 0; + var $1 = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, $call = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $agg$tmp$byval_copy = sp + 4 | 0; + $agg$tmp = sp; + HEAP32[$agg$tmp >> 2] = HEAP32[$__e >> 2]; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + $call = __ZNSt3__220__get_up_to_n_digitsIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEEEiRT0_S5_RjRKNS_5ctypeIT_EEi($__b, $agg$tmp$byval_copy, $__err, $__ct, 2) | 0; + $1 = HEAP32[$__err >> 2] | 0; + if (($call | 0) < 13 & ($1 & 4 | 0) == 0) HEAP32[$__m >> 2] = $call + -1; else HEAP32[$__err >> 2] = $1 | 4; + STACKTOP = sp; + return; +} + +function __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE11__get_monthERiRS4_S4_RjRKNS_5ctypeIcEE($this, $__m, $__b, $__e, $__err, $__ct) { + $this = $this | 0; + $__m = $__m | 0; + $__b = $__b | 0; + $__e = $__e | 0; + $__err = $__err | 0; + $__ct = $__ct | 0; + var $1 = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, $call = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $agg$tmp$byval_copy = sp + 4 | 0; + $agg$tmp = sp; + HEAP32[$agg$tmp >> 2] = HEAP32[$__e >> 2]; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + $call = __ZNSt3__220__get_up_to_n_digitsIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEEiRT0_S5_RjRKNS_5ctypeIT_EEi($__b, $agg$tmp$byval_copy, $__err, $__ct, 2) | 0; + $1 = HEAP32[$__err >> 2] | 0; + if (($call | 0) < 13 & ($1 & 4 | 0) == 0) HEAP32[$__m >> 2] = $call + -1; else HEAP32[$__err >> 2] = $1 | 4; STACKTOP = sp; return; } -function __ZN6vision14FREAKExtractor7extractERNS_18BinaryFeatureStoreEPKNS_25GaussianScaleSpacePyramidERKNSt3__26vectorINS_12FeaturePointENS6_9allocatorIS8_EEEE($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - __ZN6vision18BinaryFeatureStore21setNumBytesPerFeatureEi($1, 96); - __ZN6vision18BinaryFeatureStore6resizeEm($1, ((HEAP32[$3 + 4 >> 2] | 0) - (HEAP32[$3 >> 2] | 0) | 0) / 20 | 0); - __ZN6vision14ExtractFREAK84ERNS_18BinaryFeatureStoreEPKNS_25GaussianScaleSpacePyramidERKNSt3__26vectorINS_12FeaturePointENS5_9allocatorIS7_EEEEPKfSE_SE_SE_SE_SE_ffffffff($1, $2, $3, $0, $0 + 48 | 0, $0 + 96 | 0, $0 + 144 | 0, $0 + 192 | 0, $0 + 240 | 0, +HEAPF32[$0 + 288 >> 2], +HEAPF32[$0 + 292 >> 2], +HEAPF32[$0 + 296 >> 2], +HEAPF32[$0 + 300 >> 2], +HEAPF32[$0 + 304 >> 2], +HEAPF32[$0 + 308 >> 2], +HEAPF32[$0 + 312 >> 2], +HEAPF32[$0 + 316 >> 2]); - return; +function _scalbn($x, $n) { + $x = +$x; + $n = $n | 0; + var $2 = 0, $3 = 0, $add14 = 0, $cmp1 = 0, $cmp11 = 0, $mul = 0.0, $mul10 = 0.0, $n$addr$0 = 0, $sub4 = 0, $y$0 = 0.0; + if (($n | 0) <= 1023) if (($n | 0) < -1022) { + $mul10 = $x * 2.2250738585072014e-308; + $cmp11 = ($n | 0) < -2044; + $add14 = $n + 2044 | 0; + $n$addr$0 = $cmp11 ? (($add14 | 0) > -1022 ? $add14 : -1022) : $n + 1022 | 0; + $y$0 = $cmp11 ? $mul10 * 2.2250738585072014e-308 : $mul10; + } else { + $n$addr$0 = $n; + $y$0 = $x; + } else { + $mul = $x * 8988465674311579538646525.0e283; + $cmp1 = ($n | 0) > 2046; + $sub4 = $n + -2046 | 0; + $n$addr$0 = $cmp1 ? (($sub4 | 0) < 1023 ? $sub4 : 1023) : $n + -1023 | 0; + $y$0 = $cmp1 ? $mul * 8988465674311579538646525.0e283 : $mul; + } + $2 = _bitshift64Shl($n$addr$0 + 1023 | 0, 0, 52) | 0; + $3 = getTempRet0() | 0; + HEAP32[tempDoublePtr >> 2] = $2; + HEAP32[tempDoublePtr + 4 >> 2] = $3; + return +($y$0 * +HEAPF64[tempDoublePtr >> 3]); } -function _post_process_1pass($0, $1, $2, $3, $4, $5, $6) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - $6 = $6 | 0; - var $11 = 0, $13 = 0, $19 = 0, $7 = 0, $9 = 0, sp = 0; +function _getPatternDetectionMode($id) { + $id = $id | 0; + var $arhandle = 0, $cmp = 0, $id$addr = 0, $mode = 0, $retval$1 = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $7 = sp; - $9 = HEAP32[$0 + 456 >> 2] | 0; - $11 = $6 - (HEAP32[$5 >> 2] | 0) | 0; - $13 = HEAP32[$9 + 16 >> 2] | 0; - HEAP32[$7 >> 2] = 0; - $19 = $9 + 12 | 0; - FUNCTION_TABLE_viiiiiii[HEAP32[(HEAP32[$0 + 476 >> 2] | 0) + 4 >> 2] & 7]($0, $1, $2, $3, HEAP32[$19 >> 2] | 0, $7, $11 >>> 0 > $13 >>> 0 ? $13 : $11); - FUNCTION_TABLE_viiii[HEAP32[(HEAP32[$0 + 484 >> 2] | 0) + 4 >> 2] & 31]($0, HEAP32[$19 >> 2] | 0, $4 + (HEAP32[$5 >> 2] << 2) | 0, HEAP32[$7 >> 2] | 0); - HEAP32[$5 >> 2] = (HEAP32[$5 >> 2] | 0) + (HEAP32[$7 >> 2] | 0); + $id$addr = sp; + $mode = sp + 4 | 0; + HEAP32[$id$addr >> 2] = $id; + if (!(__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(66108, $id$addr) | 0)) $retval$1 = -1; else { + $arhandle = (__ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(66108, $id$addr) | 0) + 216 | 0; + $cmp = (_arGetPatternDetectionMode(HEAP32[$arhandle >> 2] | 0, $mode) | 0) == 0; + $retval$1 = $cmp ? HEAP32[$mode >> 2] | 0 : -1; + } STACKTOP = sp; - return; + return $retval$1 | 0; } -function __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE16do_get_monthnameES4_S4_RNS_8ios_baseERjP2tm($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$byval_copy = 0, $6 = 0, $7 = 0, sp = 0; +function __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEmc($this, $__n, $__c) { + $this = $this | 0; + $__n = $__n | 0; + $__c = $__c | 0; + var $__p$0 = 0, $and$i$i = 0, $call$i$i$i = 0, $ref$tmp = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy = sp + 4 | 0; - $6 = sp; - __ZNKSt3__28ios_base6getlocEv($$byval_copy, $3); - $7 = __ZNKSt3__26locale9use_facetERNS0_2idE($$byval_copy, 66544) | 0; - __ZNSt3__26localeD2Ev($$byval_copy); - HEAP32[$6 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy >> 2] = HEAP32[$6 >> 2]; - __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE15__get_monthnameERiRS4_S4_RjRKNS_5ctypeIwEE($0, $5 + 16 | 0, $1, $$byval_copy, $4, $7); + $ref$tmp = sp; + if ($__n >>> 0 > 4294967279) __ZNKSt3__221__basic_string_commonILb1EE20__throw_length_errorEv($this); + if ($__n >>> 0 < 11) { + HEAP8[$this + 11 >> 0] = $__n; + $__p$0 = $this; + } else { + $and$i$i = $__n + 16 & -16; + $call$i$i$i = __Znwm($and$i$i) | 0; + HEAP32[$this >> 2] = $call$i$i$i; + HEAP32[$this + 8 >> 2] = $and$i$i | -2147483648; + HEAP32[$this + 4 >> 2] = $__n; + $__p$0 = $call$i$i$i; + } + __ZNSt3__211char_traitsIcE6assignEPcmc($__p$0, $__n, $__c) | 0; + HEAP8[$ref$tmp >> 0] = 0; + __ZNSt3__211char_traitsIcE6assignERcRKc($__p$0 + $__n | 0, $ref$tmp); STACKTOP = sp; - return HEAP32[$1 >> 2] | 0; + return; } -function __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE14do_get_weekdayES4_S4_RNS_8ios_baseERjP2tm($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$byval_copy = 0, $6 = 0, $7 = 0, sp = 0; +function __ZN6vision26SmoothOrientationHistogramIfEEvPT_PKS1_mS4_($y, $x, $n, $kernel) { + $y = $y | 0; + $x = $x | 0; + $n = $n | 0; + $kernel = $kernel | 0; + var $0 = 0.0, $6 = 0.0, $add8 = 0, $arrayidx1 = 0, $arrayidx5 = 0, $arrayidx7 = 0, $i$0 = 0, $prev$0 = 0.0, $sub = 0; + $0 = +HEAPF32[$x >> 2]; + $sub = $n + -1 | 0; + $arrayidx1 = $x + ($sub << 2) | 0; + $arrayidx5 = $kernel + 4 | 0; + $arrayidx7 = $kernel + 8 | 0; + $i$0 = 0; + $prev$0 = +HEAPF32[$arrayidx1 >> 2]; + while (1) { + if (($i$0 | 0) == ($sub | 0)) break; + $6 = +HEAPF32[$x + ($i$0 << 2) >> 2]; + $add8 = $i$0 + 1 | 0; + HEAPF32[$y + ($i$0 << 2) >> 2] = $prev$0 * +HEAPF32[$kernel >> 2] + $6 * +HEAPF32[$arrayidx5 >> 2] + +HEAPF32[$arrayidx7 >> 2] * +HEAPF32[$x + ($add8 << 2) >> 2]; + $i$0 = $add8; + $prev$0 = $6; + } + HEAPF32[$y + ($sub << 2) >> 2] = $prev$0 * +HEAPF32[$kernel >> 2] + +HEAPF32[$arrayidx5 >> 2] * +HEAPF32[$arrayidx1 >> 2] + $0 * +HEAPF32[$arrayidx7 >> 2]; + return; +} + +function __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE13__get_weekdayERiRS4_S4_RjRKNS_5ctypeIwEE($this, $__w, $__b, $__e, $__err, $__ct) { + $this = $this | 0; + $__w = $__w | 0; + $__b = $__b | 0; + $__e = $__e | 0; + $__err = $__err | 0; + $__ct = $__ct | 0; + var $1 = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, $call = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy = sp + 4 | 0; - $6 = sp; - __ZNKSt3__28ios_base6getlocEv($$byval_copy, $3); - $7 = __ZNKSt3__26locale9use_facetERNS0_2idE($$byval_copy, 66544) | 0; - __ZNSt3__26localeD2Ev($$byval_copy); - HEAP32[$6 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy >> 2] = HEAP32[$6 >> 2]; - __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE17__get_weekdaynameERiRS4_S4_RjRKNS_5ctypeIwEE($0, $5 + 24 | 0, $1, $$byval_copy, $4, $7); + $agg$tmp$byval_copy = sp + 4 | 0; + $agg$tmp = sp; + HEAP32[$agg$tmp >> 2] = HEAP32[$__e >> 2]; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + $call = __ZNSt3__220__get_up_to_n_digitsIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEEEiRT0_S5_RjRKNS_5ctypeIT_EEi($__b, $agg$tmp$byval_copy, $__err, $__ct, 1) | 0; + $1 = HEAP32[$__err >> 2] | 0; + if (($call | 0) < 7 & ($1 & 4 | 0) == 0) HEAP32[$__w >> 2] = $call; else HEAP32[$__err >> 2] = $1 | 4; STACKTOP = sp; - return HEAP32[$1 >> 2] | 0; + return; } -function __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE16do_get_monthnameES4_S4_RNS_8ios_baseERjP2tm($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$byval_copy = 0, $6 = 0, $7 = 0, sp = 0; +function __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE12__get_secondERiRS4_S4_RjRKNS_5ctypeIwEE($this, $__s, $__b, $__e, $__err, $__ct) { + $this = $this | 0; + $__s = $__s | 0; + $__b = $__b | 0; + $__e = $__e | 0; + $__err = $__err | 0; + $__ct = $__ct | 0; + var $1 = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, $call = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy = sp + 4 | 0; - $6 = sp; - __ZNKSt3__28ios_base6getlocEv($$byval_copy, $3); - $7 = __ZNKSt3__26locale9use_facetERNS0_2idE($$byval_copy, 66512) | 0; - __ZNSt3__26localeD2Ev($$byval_copy); - HEAP32[$6 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy >> 2] = HEAP32[$6 >> 2]; - __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE15__get_monthnameERiRS4_S4_RjRKNS_5ctypeIcEE($0, $5 + 16 | 0, $1, $$byval_copy, $4, $7); + $agg$tmp$byval_copy = sp + 4 | 0; + $agg$tmp = sp; + HEAP32[$agg$tmp >> 2] = HEAP32[$__e >> 2]; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + $call = __ZNSt3__220__get_up_to_n_digitsIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEEEiRT0_S5_RjRKNS_5ctypeIT_EEi($__b, $agg$tmp$byval_copy, $__err, $__ct, 2) | 0; + $1 = HEAP32[$__err >> 2] | 0; + if (($call | 0) < 61 & ($1 & 4 | 0) == 0) HEAP32[$__s >> 2] = $call; else HEAP32[$__err >> 2] = $1 | 4; STACKTOP = sp; - return HEAP32[$1 >> 2] | 0; + return; } -function __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE14do_get_weekdayES4_S4_RNS_8ios_baseERjP2tm($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$byval_copy = 0, $6 = 0, $7 = 0, sp = 0; +function __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE12__get_minuteERiRS4_S4_RjRKNS_5ctypeIwEE($this, $__m, $__b, $__e, $__err, $__ct) { + $this = $this | 0; + $__m = $__m | 0; + $__b = $__b | 0; + $__e = $__e | 0; + $__err = $__err | 0; + $__ct = $__ct | 0; + var $1 = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, $call = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy = sp + 4 | 0; - $6 = sp; - __ZNKSt3__28ios_base6getlocEv($$byval_copy, $3); - $7 = __ZNKSt3__26locale9use_facetERNS0_2idE($$byval_copy, 66512) | 0; - __ZNSt3__26localeD2Ev($$byval_copy); - HEAP32[$6 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy >> 2] = HEAP32[$6 >> 2]; - __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE17__get_weekdaynameERiRS4_S4_RjRKNS_5ctypeIcEE($0, $5 + 24 | 0, $1, $$byval_copy, $4, $7); + $agg$tmp$byval_copy = sp + 4 | 0; + $agg$tmp = sp; + HEAP32[$agg$tmp >> 2] = HEAP32[$__e >> 2]; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + $call = __ZNSt3__220__get_up_to_n_digitsIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEEEiRT0_S5_RjRKNS_5ctypeIT_EEi($__b, $agg$tmp$byval_copy, $__err, $__ct, 2) | 0; + $1 = HEAP32[$__err >> 2] | 0; + if (($call | 0) < 60 & ($1 & 4 | 0) == 0) HEAP32[$__m >> 2] = $call; else HEAP32[$__err >> 2] = $1 | 4; STACKTOP = sp; - return HEAP32[$1 >> 2] | 0; + return; } -function __ZNKSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_RNS_8ios_baseERjRf($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$byval_copy = 0, $$byval_copy1 = 0, $10 = 0, $6 = 0, $7 = 0, sp = 0; +function __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE13__get_weekdayERiRS4_S4_RjRKNS_5ctypeIcEE($this, $__w, $__b, $__e, $__err, $__ct) { + $this = $this | 0; + $__w = $__w | 0; + $__b = $__b | 0; + $__e = $__e | 0; + $__err = $__err | 0; + $__ct = $__ct | 0; + var $1 = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, $call = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy1 = sp + 12 | 0; - $$byval_copy = sp + 8 | 0; - $6 = sp + 4 | 0; - $7 = sp; - HEAP32[$6 >> 2] = HEAP32[$1 >> 2]; - HEAP32[$7 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy >> 2] = HEAP32[$6 >> 2]; - HEAP32[$$byval_copy1 >> 2] = HEAP32[$7 >> 2]; - $10 = __ZNKSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE23__do_get_floating_pointIfEES4_S4_S4_RNS_8ios_baseERjRT_($0, $$byval_copy, $$byval_copy1, $3, $4, $5) | 0; + $agg$tmp$byval_copy = sp + 4 | 0; + $agg$tmp = sp; + HEAP32[$agg$tmp >> 2] = HEAP32[$__e >> 2]; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + $call = __ZNSt3__220__get_up_to_n_digitsIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEEiRT0_S5_RjRKNS_5ctypeIT_EEi($__b, $agg$tmp$byval_copy, $__err, $__ct, 1) | 0; + $1 = HEAP32[$__err >> 2] | 0; + if (($call | 0) < 7 & ($1 & 4 | 0) == 0) HEAP32[$__w >> 2] = $call; else HEAP32[$__err >> 2] = $1 | 4; STACKTOP = sp; - return $10 | 0; + return; } -function __ZNKSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_RNS_8ios_baseERjRe($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$byval_copy = 0, $$byval_copy1 = 0, $10 = 0, $6 = 0, $7 = 0, sp = 0; +function __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE12__get_secondERiRS4_S4_RjRKNS_5ctypeIcEE($this, $__s, $__b, $__e, $__err, $__ct) { + $this = $this | 0; + $__s = $__s | 0; + $__b = $__b | 0; + $__e = $__e | 0; + $__err = $__err | 0; + $__ct = $__ct | 0; + var $1 = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, $call = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy1 = sp + 12 | 0; - $$byval_copy = sp + 8 | 0; - $6 = sp + 4 | 0; - $7 = sp; - HEAP32[$6 >> 2] = HEAP32[$1 >> 2]; - HEAP32[$7 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy >> 2] = HEAP32[$6 >> 2]; - HEAP32[$$byval_copy1 >> 2] = HEAP32[$7 >> 2]; - $10 = __ZNKSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE23__do_get_floating_pointIeEES4_S4_S4_RNS_8ios_baseERjRT_($0, $$byval_copy, $$byval_copy1, $3, $4, $5) | 0; + $agg$tmp$byval_copy = sp + 4 | 0; + $agg$tmp = sp; + HEAP32[$agg$tmp >> 2] = HEAP32[$__e >> 2]; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + $call = __ZNSt3__220__get_up_to_n_digitsIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEEiRT0_S5_RjRKNS_5ctypeIT_EEi($__b, $agg$tmp$byval_copy, $__err, $__ct, 2) | 0; + $1 = HEAP32[$__err >> 2] | 0; + if (($call | 0) < 61 & ($1 & 4 | 0) == 0) HEAP32[$__s >> 2] = $call; else HEAP32[$__err >> 2] = $1 | 4; STACKTOP = sp; - return $10 | 0; + return; } -function __ZNKSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_RNS_8ios_baseERjRd($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$byval_copy = 0, $$byval_copy1 = 0, $10 = 0, $6 = 0, $7 = 0, sp = 0; +function __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE12__get_minuteERiRS4_S4_RjRKNS_5ctypeIcEE($this, $__m, $__b, $__e, $__err, $__ct) { + $this = $this | 0; + $__m = $__m | 0; + $__b = $__b | 0; + $__e = $__e | 0; + $__err = $__err | 0; + $__ct = $__ct | 0; + var $1 = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, $call = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy1 = sp + 12 | 0; - $$byval_copy = sp + 8 | 0; - $6 = sp + 4 | 0; - $7 = sp; - HEAP32[$6 >> 2] = HEAP32[$1 >> 2]; - HEAP32[$7 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy >> 2] = HEAP32[$6 >> 2]; - HEAP32[$$byval_copy1 >> 2] = HEAP32[$7 >> 2]; - $10 = __ZNKSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE23__do_get_floating_pointIdEES4_S4_S4_RNS_8ios_baseERjRT_($0, $$byval_copy, $$byval_copy1, $3, $4, $5) | 0; + $agg$tmp$byval_copy = sp + 4 | 0; + $agg$tmp = sp; + HEAP32[$agg$tmp >> 2] = HEAP32[$__e >> 2]; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + $call = __ZNSt3__220__get_up_to_n_digitsIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEEiRT0_S5_RjRKNS_5ctypeIT_EEi($__b, $agg$tmp$byval_copy, $__err, $__ct, 2) | 0; + $1 = HEAP32[$__err >> 2] | 0; + if (($call | 0) < 60 & ($1 & 4 | 0) == 0) HEAP32[$__m >> 2] = $call; else HEAP32[$__err >> 2] = $1 | 4; STACKTOP = sp; - return $10 | 0; + return; } -function __ZNKSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_RNS_8ios_baseERjRf($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$byval_copy = 0, $$byval_copy1 = 0, $10 = 0, $6 = 0, $7 = 0, sp = 0; +function _setThresholdMode($id, $mode) { + $id = $id | 0; + $mode = $mode | 0; + var $arhandle = 0, $id$addr = 0, $vararg_buffer = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy1 = sp + 12 | 0; - $$byval_copy = sp + 8 | 0; - $6 = sp + 4 | 0; - $7 = sp; - HEAP32[$6 >> 2] = HEAP32[$1 >> 2]; - HEAP32[$7 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy >> 2] = HEAP32[$6 >> 2]; - HEAP32[$$byval_copy1 >> 2] = HEAP32[$7 >> 2]; - $10 = __ZNKSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE23__do_get_floating_pointIfEES4_S4_S4_RNS_8ios_baseERjRT_($0, $$byval_copy, $$byval_copy1, $3, $4, $5) | 0; + $vararg_buffer = sp; + $id$addr = sp + 4 | 0; + HEAP32[$id$addr >> 2] = $id; + if (__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(66108, $id$addr) | 0 ? ($arhandle = (__ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(66108, $id$addr) | 0) + 216 | 0, (_arSetLabelingThreshMode(HEAP32[$arhandle >> 2] | 0, $mode) | 0) == 0) : 0) { + HEAP32[$vararg_buffer >> 2] = $mode; + _arLog(0, 1, 42502, $vararg_buffer); + } STACKTOP = sp; - return $10 | 0; + return; } -function __ZNKSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_RNS_8ios_baseERjRe($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$byval_copy = 0, $$byval_copy1 = 0, $10 = 0, $6 = 0, $7 = 0, sp = 0; +function __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE10__get_hourERiRS4_S4_RjRKNS_5ctypeIwEE($this, $__h, $__b, $__e, $__err, $__ct) { + $this = $this | 0; + $__h = $__h | 0; + $__b = $__b | 0; + $__e = $__e | 0; + $__err = $__err | 0; + $__ct = $__ct | 0; + var $1 = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, $call = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy1 = sp + 12 | 0; - $$byval_copy = sp + 8 | 0; - $6 = sp + 4 | 0; - $7 = sp; - HEAP32[$6 >> 2] = HEAP32[$1 >> 2]; - HEAP32[$7 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy >> 2] = HEAP32[$6 >> 2]; - HEAP32[$$byval_copy1 >> 2] = HEAP32[$7 >> 2]; - $10 = __ZNKSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE23__do_get_floating_pointIeEES4_S4_S4_RNS_8ios_baseERjRT_($0, $$byval_copy, $$byval_copy1, $3, $4, $5) | 0; + $agg$tmp$byval_copy = sp + 4 | 0; + $agg$tmp = sp; + HEAP32[$agg$tmp >> 2] = HEAP32[$__e >> 2]; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + $call = __ZNSt3__220__get_up_to_n_digitsIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEEEiRT0_S5_RjRKNS_5ctypeIT_EEi($__b, $agg$tmp$byval_copy, $__err, $__ct, 2) | 0; + $1 = HEAP32[$__err >> 2] | 0; + if (($call | 0) < 24 & ($1 & 4 | 0) == 0) HEAP32[$__h >> 2] = $call; else HEAP32[$__err >> 2] = $1 | 4; STACKTOP = sp; - return $10 | 0; + return; } -function __ZNKSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_RNS_8ios_baseERjRd($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$byval_copy = 0, $$byval_copy1 = 0, $10 = 0, $6 = 0, $7 = 0, sp = 0; +function __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE10__get_hourERiRS4_S4_RjRKNS_5ctypeIcEE($this, $__h, $__b, $__e, $__err, $__ct) { + $this = $this | 0; + $__h = $__h | 0; + $__b = $__b | 0; + $__e = $__e | 0; + $__err = $__err | 0; + $__ct = $__ct | 0; + var $1 = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, $call = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy1 = sp + 12 | 0; - $$byval_copy = sp + 8 | 0; - $6 = sp + 4 | 0; - $7 = sp; - HEAP32[$6 >> 2] = HEAP32[$1 >> 2]; - HEAP32[$7 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy >> 2] = HEAP32[$6 >> 2]; - HEAP32[$$byval_copy1 >> 2] = HEAP32[$7 >> 2]; - $10 = __ZNKSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE23__do_get_floating_pointIdEES4_S4_S4_RNS_8ios_baseERjRT_($0, $$byval_copy, $$byval_copy1, $3, $4, $5) | 0; + $agg$tmp$byval_copy = sp + 4 | 0; + $agg$tmp = sp; + HEAP32[$agg$tmp >> 2] = HEAP32[$__e >> 2]; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + $call = __ZNSt3__220__get_up_to_n_digitsIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEEiRT0_S5_RjRKNS_5ctypeIT_EEi($__b, $agg$tmp$byval_copy, $__err, $__ct, 2) | 0; + $1 = HEAP32[$__err >> 2] | 0; + if (($call | 0) < 24 & ($1 & 4 | 0) == 0) HEAP32[$__h >> 2] = $call; else HEAP32[$__err >> 2] = $1 | 4; STACKTOP = sp; - return $10 | 0; + return; } -function _read_restart_marker($0) { - $0 = $0 | 0; - var $$0 = 0, $1 = 0, $12 = 0, $13 = 0, $2 = 0, $26 = 0, $6 = 0, $9 = 0; - $1 = $0 + 440 | 0; - $2 = HEAP32[$1 >> 2] | 0; - do if (!$2) if (!(_next_marker($0) | 0)) { - $$0 = 0; - return $$0 | 0; - } else { - $12 = HEAP32[$1 >> 2] | 0; - break; - } else $12 = $2; while (0); - $6 = $0 + 464 | 0; - $9 = HEAP32[(HEAP32[$6 >> 2] | 0) + 20 >> 2] | 0; - if (($12 | 0) != ($9 + 208 | 0)) { - if (!(FUNCTION_TABLE_iii[HEAP32[(HEAP32[$0 + 24 >> 2] | 0) + 20 >> 2] & 127]($0, $9) | 0)) { - $$0 = 0; - return $$0 | 0; +function __ZNSt3__212__hash_tableINS_17__hash_value_typeIjjEENS_22__unordered_map_hasherIjS2_NS_4hashIjEELb1EEENS_21__unordered_map_equalIjS2_NS_8equal_toIjEELb1EEENS_9allocatorIS2_EEE5clearEv($this) { + $this = $this | 0; + var $2 = 0, $__i$0 = 0, $__next_ = 0, $__value_$i$i$i = 0; + $__value_$i$i$i = $this + 12 | 0; + if (HEAP32[$__value_$i$i$i >> 2] | 0) { + $__next_ = $this + 8 | 0; + __ZNSt3__212__hash_tableINS_17__hash_value_typeIjjEENS_22__unordered_map_hasherIjS2_NS_4hashIjEELb1EEENS_21__unordered_map_equalIjS2_NS_8equal_toIjEELb1EEENS_9allocatorIS2_EEE17__deallocate_nodeEPNS_16__hash_node_baseIPNS_11__hash_nodeIS2_PvEEEE($this, HEAP32[$__next_ >> 2] | 0); + HEAP32[$__next_ >> 2] = 0; + $2 = HEAP32[$this + 4 >> 2] | 0; + $__i$0 = 0; + while (1) { + if (($__i$0 | 0) == ($2 | 0)) break; + HEAP32[(HEAP32[$this >> 2] | 0) + ($__i$0 << 2) >> 2] = 0; + $__i$0 = $__i$0 + 1 | 0; } - } else { - $13 = HEAP32[$0 >> 2] | 0; - HEAP32[$13 + 20 >> 2] = 100; - HEAP32[$13 + 24 >> 2] = $9; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$0 >> 2] | 0) + 4 >> 2] & 255]($0, 3); - HEAP32[$1 >> 2] = 0; + HEAP32[$__value_$i$i$i >> 2] = 0; } - $26 = (HEAP32[$6 >> 2] | 0) + 20 | 0; - HEAP32[$26 >> 2] = (HEAP32[$26 >> 2] | 0) + 1 & 7; - $$0 = 1; - return $$0 | 0; + return; } -function __ZNKSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_RNS_8ios_baseERjS8_($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$byval_copy = 0, $$byval_copy1 = 0, $10 = 0, $6 = 0, $7 = 0, sp = 0; +function __ZNK12_GLOBAL__N_116itanium_demangle10MemberExpr9printLeftERNS_12OutputStreamE($this, $S) { + $this = $this | 0; + $S = $S | 0; + var $1 = 0, $6 = 0, $7 = 0, $agg$tmp = 0, $tmpcast$byval_copy = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy1 = sp + 12 | 0; - $$byval_copy = sp + 8 | 0; - $6 = sp + 4 | 0; - $7 = sp; - HEAP32[$6 >> 2] = HEAP32[$1 >> 2]; - HEAP32[$7 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy >> 2] = HEAP32[$6 >> 2]; - HEAP32[$$byval_copy1 >> 2] = HEAP32[$7 >> 2]; - $10 = __ZNKSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE17__do_get_unsignedIjEES4_S4_S4_RNS_8ios_baseERjRT_($0, $$byval_copy, $$byval_copy1, $3, $4, $5) | 0; + $tmpcast$byval_copy = sp + 8 | 0; + $agg$tmp = sp; + __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(HEAP32[$this + 8 >> 2] | 0, $S); + $1 = $this + 12 | 0; + $6 = HEAP32[$1 + 4 >> 2] | 0; + $7 = $agg$tmp; + HEAP32[$7 >> 2] = HEAP32[$1 >> 2]; + HEAP32[$7 + 4 >> 2] = $6; + HEAP32[$tmpcast$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$tmpcast$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $tmpcast$byval_copy); + __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(HEAP32[$this + 20 >> 2] | 0, $S); STACKTOP = sp; - return $10 | 0; + return; } -function __ZNKSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_RNS_8ios_baseERjS8_($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$byval_copy = 0, $$byval_copy1 = 0, $10 = 0, $6 = 0, $7 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy1 = sp + 12 | 0; - $$byval_copy = sp + 8 | 0; - $6 = sp + 4 | 0; - $7 = sp; - HEAP32[$6 >> 2] = HEAP32[$1 >> 2]; - HEAP32[$7 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy >> 2] = HEAP32[$6 >> 2]; - HEAP32[$$byval_copy1 >> 2] = HEAP32[$7 >> 2]; - $10 = __ZNKSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE17__do_get_unsignedIjEES4_S4_S4_RNS_8ios_baseERjRT_($0, $$byval_copy, $$byval_copy1, $3, $4, $5) | 0; - STACKTOP = sp; - return $10 | 0; +function __ZNSt3__214__split_bufferINS_6vectorINS_4pairIfmEENS_9allocatorIS3_EEEERNS4_IS6_EEEC2EmmS8_($this, $__cap, $__start, $__a) { + $this = $this | 0; + $__cap = $__cap | 0; + $__start = $__start | 0; + $__a = $__a | 0; + var $__value_$i1$i = 0, $add$ptr = 0, $cond = 0, $exception$i$i$i = 0; + $__value_$i1$i = $this + 12 | 0; + HEAP32[$__value_$i1$i >> 2] = 0; + HEAP32[$this + 16 >> 2] = $__a; + do if ($__cap) if ($__cap >>> 0 > 357913941) { + $exception$i$i$i = ___cxa_allocate_exception(8) | 0; + __ZNSt11logic_errorC2EPKc($exception$i$i$i, 42283); + HEAP32[$exception$i$i$i >> 2] = 17472; + ___cxa_throw($exception$i$i$i | 0, 13960, 22); + } else { + $cond = __Znwm($__cap * 12 | 0) | 0; + break; + } else $cond = 0; while (0); + HEAP32[$this >> 2] = $cond; + $add$ptr = $cond + ($__start * 12 | 0) | 0; + HEAP32[$this + 8 >> 2] = $add$ptr; + HEAP32[$this + 4 >> 2] = $add$ptr; + HEAP32[$__value_$i1$i >> 2] = $cond + ($__cap * 12 | 0); + return; } -function __ZNKSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_RNS_8ios_baseERjRy($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$byval_copy = 0, $$byval_copy1 = 0, $10 = 0, $6 = 0, $7 = 0, sp = 0; +function _setImageProcMode($id, $mode) { + $id = $id | 0; + $mode = $mode | 0; + var $arhandle = 0, $id$addr = 0, $vararg_buffer = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy1 = sp + 12 | 0; - $$byval_copy = sp + 8 | 0; - $6 = sp + 4 | 0; - $7 = sp; - HEAP32[$6 >> 2] = HEAP32[$1 >> 2]; - HEAP32[$7 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy >> 2] = HEAP32[$6 >> 2]; - HEAP32[$$byval_copy1 >> 2] = HEAP32[$7 >> 2]; - $10 = __ZNKSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE17__do_get_unsignedIyEES4_S4_S4_RNS_8ios_baseERjRT_($0, $$byval_copy, $$byval_copy1, $3, $4, $5) | 0; + $vararg_buffer = sp; + $id$addr = sp + 4 | 0; + HEAP32[$id$addr >> 2] = $id; + if (__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(66108, $id$addr) | 0 ? ($arhandle = (__ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(66108, $id$addr) | 0) + 216 | 0, (_arSetImageProcMode(HEAP32[$arhandle >> 2] | 0, $mode) | 0) == 0) : 0) { + HEAP32[$vararg_buffer >> 2] = $mode; + _arLog(0, 1, 42351, $vararg_buffer); + } STACKTOP = sp; - return $10 | 0; + return; } -function __ZNKSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_RNS_8ios_baseERjRt($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$byval_copy = 0, $$byval_copy1 = 0, $10 = 0, $6 = 0, $7 = 0, sp = 0; +function _setLabelingMode($id, $mode) { + $id = $id | 0; + $mode = $mode | 0; + var $arhandle = 0, $id$addr = 0, $vararg_buffer = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy1 = sp + 12 | 0; - $$byval_copy = sp + 8 | 0; - $6 = sp + 4 | 0; - $7 = sp; - HEAP32[$6 >> 2] = HEAP32[$1 >> 2]; - HEAP32[$7 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy >> 2] = HEAP32[$6 >> 2]; - HEAP32[$$byval_copy1 >> 2] = HEAP32[$7 >> 2]; - $10 = __ZNKSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE17__do_get_unsignedItEES4_S4_S4_RNS_8ios_baseERjRT_($0, $$byval_copy, $$byval_copy1, $3, $4, $5) | 0; + $vararg_buffer = sp; + $id$addr = sp + 4 | 0; + HEAP32[$id$addr >> 2] = $id; + if (__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(66108, $id$addr) | 0 ? ($arhandle = (__ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(66108, $id$addr) | 0) + 216 | 0, (_arSetLabelingMode(HEAP32[$arhandle >> 2] | 0, $mode) | 0) == 0) : 0) { + HEAP32[$vararg_buffer >> 2] = $mode; + _arLog(0, 1, 42380, $vararg_buffer); + } STACKTOP = sp; - return $10 | 0; + return; } -function __ZNKSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_RNS_8ios_baseERjRm($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$byval_copy = 0, $$byval_copy1 = 0, $10 = 0, $6 = 0, $7 = 0, sp = 0; +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle12InitListExprEJDnNS2_9NodeArrayEEEEPT_DpOT0_($this, $args, $args1) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + var $0 = 0, $5 = 0, $6 = 0, $agg$tmp = 0, $call = 0, $tmpcast$byval_copy = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy1 = sp + 12 | 0; - $$byval_copy = sp + 8 | 0; - $6 = sp + 4 | 0; - $7 = sp; - HEAP32[$6 >> 2] = HEAP32[$1 >> 2]; - HEAP32[$7 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy >> 2] = HEAP32[$6 >> 2]; - HEAP32[$$byval_copy1 >> 2] = HEAP32[$7 >> 2]; - $10 = __ZNKSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE17__do_get_unsignedImEES4_S4_S4_RNS_8ios_baseERjRT_($0, $$byval_copy, $$byval_copy1, $3, $4, $5) | 0; + $tmpcast$byval_copy = sp + 8 | 0; + $agg$tmp = sp; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 20) | 0; + $0 = $args1; + $5 = HEAP32[$0 + 4 >> 2] | 0; + $6 = $agg$tmp; + HEAP32[$6 >> 2] = HEAP32[$0 >> 2]; + HEAP32[$6 + 4 >> 2] = $5; + HEAP32[$tmpcast$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$tmpcast$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_116itanium_demangle12InitListExprC2EPKNS0_4NodeENS0_9NodeArrayE($call, 0, $tmpcast$byval_copy); STACKTOP = sp; - return $10 | 0; + return $call | 0; } -function __ZNKSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_RNS_8ios_baseERjRy($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$byval_copy = 0, $$byval_copy1 = 0, $10 = 0, $6 = 0, $7 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy1 = sp + 12 | 0; - $$byval_copy = sp + 8 | 0; - $6 = sp + 4 | 0; - $7 = sp; - HEAP32[$6 >> 2] = HEAP32[$1 >> 2]; - HEAP32[$7 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy >> 2] = HEAP32[$6 >> 2]; - HEAP32[$$byval_copy1 >> 2] = HEAP32[$7 >> 2]; - $10 = __ZNKSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE17__do_get_unsignedIyEES4_S4_S4_RNS_8ios_baseERjRT_($0, $$byval_copy, $$byval_copy1, $3, $4, $5) | 0; - STACKTOP = sp; - return $10 | 0; +function __ZNSt3__212__hash_tableINS_17__hash_value_typeIi7ARParamEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE21__construct_node_hashIRKNS_21piecewise_construct_tEJNS_5tupleIJRKiEEENSJ_IJEEEEEENS_10unique_ptrINS_11__hash_nodeIS3_PvEENS_22__hash_node_destructorINSC_ISR_EEEEEEmOT_DpOT0_($agg$result, $this, $__hash, $__f, $__rest, $__rest1) { + $agg$result = $agg$result | 0; + $this = $this | 0; + $__hash = $__hash | 0; + $__f = $__f | 0; + $__rest = $__rest | 0; + $__rest1 = $__rest1 | 0; + var $call$i$i$i = 0; + $call$i$i$i = __Znwm(200) | 0; + HEAP32[$agg$result >> 2] = $call$i$i$i; + HEAP32[$agg$result + 4 >> 2] = $this + 8; + HEAP32[$call$i$i$i + 8 >> 2] = HEAP32[HEAP32[$__rest >> 2] >> 2]; + _memset($call$i$i$i + 16 | 0, 0, 184) | 0; + HEAP8[$agg$result + 8 >> 0] = 1; + HEAP32[$call$i$i$i + 4 >> 2] = $__hash; + HEAP32[$call$i$i$i >> 2] = 0; + return; } -function __ZNKSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_RNS_8ios_baseERjRt($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$byval_copy = 0, $$byval_copy1 = 0, $10 = 0, $6 = 0, $7 = 0, sp = 0; +function _fopen($filename, $mode) { + $filename = $filename | 0; + $mode = $mode | 0; + var $call1 = 0, $call4 = 0, $call8 = 0, $or = 0, $retval$0 = 0, $vararg_buffer = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy1 = sp + 12 | 0; - $$byval_copy = sp + 8 | 0; - $6 = sp + 4 | 0; - $7 = sp; - HEAP32[$6 >> 2] = HEAP32[$1 >> 2]; - HEAP32[$7 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy >> 2] = HEAP32[$6 >> 2]; - HEAP32[$$byval_copy1 >> 2] = HEAP32[$7 >> 2]; - $10 = __ZNKSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE17__do_get_unsignedItEES4_S4_S4_RNS_8ios_baseERjRT_($0, $$byval_copy, $$byval_copy1, $3, $4, $5) | 0; + $vararg_buffer = sp; + if (_strchr(51682, HEAP8[$mode >> 0] | 0) | 0) { + $or = ___fmodeflags($mode) | 0 | 32768; + HEAP32[$vararg_buffer >> 2] = $filename; + HEAP32[$vararg_buffer + 4 >> 2] = $or; + HEAP32[$vararg_buffer + 8 >> 2] = 438; + $call4 = ___syscall_ret(___syscall5(5, $vararg_buffer | 0) | 0) | 0; + if (($call4 | 0) >= 0) { + $call8 = ___fdopen($call4, $mode) | 0; + if (!$call8) { + ___wasi_fd_close($call4 | 0) | 0; + $retval$0 = 0; + } else $retval$0 = $call8; + } else $retval$0 = 0; + } else { + $call1 = ___errno_location() | 0; + HEAP32[$call1 >> 2] = 28; + $retval$0 = 0; + } STACKTOP = sp; - return $10 | 0; + return $retval$0 | 0; } -function __ZNKSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_RNS_8ios_baseERjRm($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$byval_copy = 0, $$byval_copy1 = 0, $10 = 0, $6 = 0, $7 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy1 = sp + 12 | 0; - $$byval_copy = sp + 8 | 0; - $6 = sp + 4 | 0; - $7 = sp; - HEAP32[$6 >> 2] = HEAP32[$1 >> 2]; - HEAP32[$7 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy >> 2] = HEAP32[$6 >> 2]; - HEAP32[$$byval_copy1 >> 2] = HEAP32[$7 >> 2]; - $10 = __ZNKSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE17__do_get_unsignedImEES4_S4_S4_RNS_8ios_baseERjRT_($0, $$byval_copy, $$byval_copy1, $3, $4, $5) | 0; - STACKTOP = sp; - return $10 | 0; +function __ZNSt3__214__split_bufferIN6vision17PriorityQueueItemILi96EEERNS_9allocatorIS3_EEEC2EmmS6_($this, $__cap, $__start, $__a) { + $this = $this | 0; + $__cap = $__cap | 0; + $__start = $__start | 0; + $__a = $__a | 0; + var $__value_$i1$i = 0, $add$ptr = 0, $cond = 0, $exception$i$i$i = 0; + $__value_$i1$i = $this + 12 | 0; + HEAP32[$__value_$i1$i >> 2] = 0; + HEAP32[$this + 16 >> 2] = $__a; + do if ($__cap) if ($__cap >>> 0 > 536870911) { + $exception$i$i$i = ___cxa_allocate_exception(8) | 0; + __ZNSt11logic_errorC2EPKc($exception$i$i$i, 42283); + HEAP32[$exception$i$i$i >> 2] = 17472; + ___cxa_throw($exception$i$i$i | 0, 13960, 22); + } else { + $cond = __Znwm($__cap << 3) | 0; + break; + } else $cond = 0; while (0); + HEAP32[$this >> 2] = $cond; + $add$ptr = $cond + ($__start << 3) | 0; + HEAP32[$this + 8 >> 2] = $add$ptr; + HEAP32[$this + 4 >> 2] = $add$ptr; + HEAP32[$__value_$i1$i >> 2] = $cond + ($__cap << 3); + return; } -function __ZNSt3__26vectorIN6vision25DoGScaleInvariantDetector12FeaturePointENS_9allocatorIS3_EEE7reserveEm($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $5 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $2 = sp; - $5 = HEAP32[$0 >> 2] | 0; - if ((((HEAP32[$0 + 8 >> 2] | 0) - $5 | 0) / 36 | 0) >>> 0 < $1 >>> 0) { - __ZNSt3__214__split_bufferIN6vision25DoGScaleInvariantDetector12FeaturePointERNS_9allocatorIS3_EEEC2EmmS6_($2, $1, ((HEAP32[$0 + 4 >> 2] | 0) - $5 | 0) / 36 | 0, $0 + 8 | 0); - __ZNSt3__26vectorIN6vision25DoGScaleInvariantDetector12FeaturePointENS_9allocatorIS3_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS3_RS5_EE($0, $2); - __ZNSt3__214__split_bufferIN6vision25DoGScaleInvariantDetector12FeaturePointERNS_9allocatorIS3_EEED2Ev($2); - } - STACKTOP = sp; +function __ZNSt3__214__split_bufferIN6vision12FeaturePointERNS_9allocatorIS2_EEEC2EmmS5_($this, $__cap, $__start, $__a) { + $this = $this | 0; + $__cap = $__cap | 0; + $__start = $__start | 0; + $__a = $__a | 0; + var $__value_$i1$i = 0, $add$ptr = 0, $cond = 0, $exception$i$i$i = 0; + $__value_$i1$i = $this + 12 | 0; + HEAP32[$__value_$i1$i >> 2] = 0; + HEAP32[$this + 16 >> 2] = $__a; + do if ($__cap) if ($__cap >>> 0 > 214748364) { + $exception$i$i$i = ___cxa_allocate_exception(8) | 0; + __ZNSt11logic_errorC2EPKc($exception$i$i$i, 42283); + HEAP32[$exception$i$i$i >> 2] = 17472; + ___cxa_throw($exception$i$i$i | 0, 13960, 22); + } else { + $cond = __Znwm($__cap * 20 | 0) | 0; + break; + } else $cond = 0; while (0); + HEAP32[$this >> 2] = $cond; + $add$ptr = $cond + ($__start * 20 | 0) | 0; + HEAP32[$this + 8 >> 2] = $add$ptr; + HEAP32[$this + 4 >> 2] = $add$ptr; + HEAP32[$__value_$i1$i >> 2] = $cond + ($__cap * 20 | 0); return; } -function __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE11do_get_yearES4_S4_RNS_8ios_baseERjP2tm($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$byval_copy = 0, $6 = 0, $7 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy = sp + 4 | 0; - $6 = sp; - __ZNKSt3__28ios_base6getlocEv($$byval_copy, $3); - $7 = __ZNKSt3__26locale9use_facetERNS0_2idE($$byval_copy, 66544) | 0; - __ZNSt3__26localeD2Ev($$byval_copy); - HEAP32[$6 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy >> 2] = HEAP32[$6 >> 2]; - __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE10__get_yearERiRS4_S4_RjRKNS_5ctypeIwEE($0, $5 + 20 | 0, $1, $$byval_copy, $4, $7); - STACKTOP = sp; - return HEAP32[$1 >> 2] | 0; +function __ZNSt3__214__split_bufferIN6vision7Point3dIfEERNS_9allocatorIS3_EEEC2EmmS6_($this, $__cap, $__start, $__a) { + $this = $this | 0; + $__cap = $__cap | 0; + $__start = $__start | 0; + $__a = $__a | 0; + var $__value_$i1$i = 0, $add$ptr = 0, $cond = 0, $exception$i$i$i = 0; + $__value_$i1$i = $this + 12 | 0; + HEAP32[$__value_$i1$i >> 2] = 0; + HEAP32[$this + 16 >> 2] = $__a; + do if ($__cap) if ($__cap >>> 0 > 357913941) { + $exception$i$i$i = ___cxa_allocate_exception(8) | 0; + __ZNSt11logic_errorC2EPKc($exception$i$i$i, 42283); + HEAP32[$exception$i$i$i >> 2] = 17472; + ___cxa_throw($exception$i$i$i | 0, 13960, 22); + } else { + $cond = __Znwm($__cap * 12 | 0) | 0; + break; + } else $cond = 0; while (0); + HEAP32[$this >> 2] = $cond; + $add$ptr = $cond + ($__start * 12 | 0) | 0; + HEAP32[$this + 8 >> 2] = $add$ptr; + HEAP32[$this + 4 >> 2] = $add$ptr; + HEAP32[$__value_$i1$i >> 2] = $cond + ($__cap * 12 | 0); + return; } -function __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE11do_get_yearES4_S4_RNS_8ios_baseERjP2tm($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$byval_copy = 0, $6 = 0, $7 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy = sp + 4 | 0; - $6 = sp; - __ZNKSt3__28ios_base6getlocEv($$byval_copy, $3); - $7 = __ZNKSt3__26locale9use_facetERNS0_2idE($$byval_copy, 66512) | 0; - __ZNSt3__26localeD2Ev($$byval_copy); - HEAP32[$6 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy >> 2] = HEAP32[$6 >> 2]; - __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE10__get_yearERiRS4_S4_RjRKNS_5ctypeIcEE($0, $5 + 20 | 0, $1, $$byval_copy, $4, $7); - STACKTOP = sp; - return HEAP32[$1 >> 2] | 0; +function __ZN6vision28BinaryHierarchicalClusteringILi96EE5buildEPKhiPKii($this, $features, $num_features, $indices, $num_indices) { + $this = $this | 0; + $features = $features | 0; + $num_features = $num_features | 0; + $indices = $indices | 0; + $num_indices = $num_indices | 0; + var $0 = 0, $1 = 0, $__value_$i$i$i = 0, $call = 0; + $call = __Znwm(128) | 0; + __ZN6vision4NodeILi96EEC2Ei($call, __ZN6vision28BinaryHierarchicalClusteringILi96EE10nextNodeIdEv($this) | 0); + $__value_$i$i$i = $this + 8 | 0; + $0 = HEAP32[$__value_$i$i$i >> 2] | 0; + HEAP32[$__value_$i$i$i >> 2] = $call; + if (!$0) $1 = $call; else { + __ZN6vision4NodeILi96EED2Ev($0); + __ZdlPv($0); + $1 = HEAP32[$__value_$i$i$i >> 2] | 0; + } + __ZN6vision4NodeILi96EE4leafEb($1, 0); + __ZN6vision28BinaryHierarchicalClusteringILi96EE5buildEPNS_4NodeILi96EEEPKhiPKii($this, HEAP32[$__value_$i$i$i >> 2] | 0, $features, $num_features, $indices, $num_indices); + return; } -function __ZNKSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_RNS_8ios_baseERjRx($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$byval_copy = 0, $$byval_copy1 = 0, $10 = 0, $6 = 0, $7 = 0, sp = 0; +function _getMatrixCodeType($id) { + $id = $id | 0; + var $arhandle = 0, $id$addr = 0, $matrixType = 0, $retval$0 = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy1 = sp + 12 | 0; - $$byval_copy = sp + 8 | 0; - $6 = sp + 4 | 0; - $7 = sp; - HEAP32[$6 >> 2] = HEAP32[$1 >> 2]; - HEAP32[$7 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy >> 2] = HEAP32[$6 >> 2]; - HEAP32[$$byval_copy1 >> 2] = HEAP32[$7 >> 2]; - $10 = __ZNKSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE15__do_get_signedIxEES4_S4_S4_RNS_8ios_baseERjRT_($0, $$byval_copy, $$byval_copy1, $3, $4, $5) | 0; + $id$addr = sp; + $matrixType = sp + 4 | 0; + HEAP32[$id$addr >> 2] = $id; + if (!(__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(66108, $id$addr) | 0)) $retval$0 = -1; else { + $arhandle = (__ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(66108, $id$addr) | 0) + 216 | 0; + _arGetMatrixCodeType(HEAP32[$arhandle >> 2] | 0, $matrixType) | 0; + $retval$0 = HEAP32[$matrixType >> 2] | 0; + } STACKTOP = sp; - return $10 | 0; + return $retval$0 | 0; } -function __ZNKSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_RNS_8ios_baseERjRl($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$byval_copy = 0, $$byval_copy1 = 0, $10 = 0, $6 = 0, $7 = 0, sp = 0; +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle10VectorTypeEJRPNS2_4NodeES6_EEEPT_DpOT0_($this, $args, $args1) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + var $0 = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, $call = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy1 = sp + 12 | 0; - $$byval_copy = sp + 8 | 0; - $6 = sp + 4 | 0; - $7 = sp; - HEAP32[$6 >> 2] = HEAP32[$1 >> 2]; - HEAP32[$7 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy >> 2] = HEAP32[$6 >> 2]; - HEAP32[$$byval_copy1 >> 2] = HEAP32[$7 >> 2]; - $10 = __ZNKSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE15__do_get_signedIlEES4_S4_S4_RNS_8ios_baseERjRT_($0, $$byval_copy, $$byval_copy1, $3, $4, $5) | 0; + $agg$tmp$byval_copy = sp + 8 | 0; + $agg$tmp = sp; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 20) | 0; + $0 = HEAP32[$args >> 2] | 0; + __ZN12_GLOBAL__N_116itanium_demangle12NodeOrStringC2EPNS0_4NodeE($agg$tmp, HEAP32[$args1 >> 2] | 0); + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_116itanium_demangle10VectorTypeC2EPKNS0_4NodeENS0_12NodeOrStringE($call, $0, $agg$tmp$byval_copy); STACKTOP = sp; - return $10 | 0; + return $call | 0; } -function __ZNKSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_RNS_8ios_baseERjRx($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$byval_copy = 0, $$byval_copy1 = 0, $10 = 0, $6 = 0, $7 = 0, sp = 0; +function _kpmDeleteRefDataSet($refDataSetPtr) { + $refDataSetPtr = $refDataSetPtr | 0; + var $0 = 0, $1 = 0, $2 = 0, $i$0 = 0, $pageInfo = 0, $retval$0 = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy1 = sp + 12 | 0; - $$byval_copy = sp + 8 | 0; - $6 = sp + 4 | 0; - $7 = sp; - HEAP32[$6 >> 2] = HEAP32[$1 >> 2]; - HEAP32[$7 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy >> 2] = HEAP32[$6 >> 2]; - HEAP32[$$byval_copy1 >> 2] = HEAP32[$7 >> 2]; - $10 = __ZNKSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE15__do_get_signedIxEES4_S4_S4_RNS_8ios_baseERjRT_($0, $$byval_copy, $$byval_copy1, $3, $4, $5) | 0; + if ($refDataSetPtr) { + $0 = HEAP32[$refDataSetPtr >> 2] | 0; + if (!$0) $retval$0 = 0; else { + $1 = HEAP32[$0 >> 2] | 0; + if ($1 | 0) _free($1); + $i$0 = 0; + while (1) { + $2 = HEAP32[$refDataSetPtr >> 2] | 0; + $pageInfo = $2 + 8 | 0; + if (($i$0 | 0) >= (HEAP32[$2 + 12 >> 2] | 0)) break; + _free(HEAP32[(HEAP32[$pageInfo >> 2] | 0) + ($i$0 * 12 | 0) >> 2] | 0); + $i$0 = $i$0 + 1 | 0; + } + _free(HEAP32[$pageInfo >> 2] | 0); + _free(HEAP32[$refDataSetPtr >> 2] | 0); + HEAP32[$refDataSetPtr >> 2] = 0; + $retval$0 = 0; + } + } else { + _arLog(0, 3, 26264, sp); + $retval$0 = -1; + } STACKTOP = sp; - return $10 | 0; + return $retval$0 | 0; } -function __ZNKSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_RNS_8ios_baseERjRl($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$byval_copy = 0, $$byval_copy1 = 0, $10 = 0, $6 = 0, $7 = 0, sp = 0; +function __ZN6vision28BinaryHierarchicalClusteringILi96EE5buildEPKhi($this, $features, $num_features) { + $this = $this | 0; + $features = $features | 0; + $num_features = $num_features | 0; + var $$cast = 0, $1 = 0, $i$0 = 0, $indices = 0, $sub$ptr$div$i = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy1 = sp + 12 | 0; - $$byval_copy = sp + 8 | 0; - $6 = sp + 4 | 0; - $7 = sp; - HEAP32[$6 >> 2] = HEAP32[$1 >> 2]; - HEAP32[$7 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy >> 2] = HEAP32[$6 >> 2]; - HEAP32[$$byval_copy1 >> 2] = HEAP32[$7 >> 2]; - $10 = __ZNKSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE15__do_get_signedIlEES4_S4_S4_RNS_8ios_baseERjRT_($0, $$byval_copy, $$byval_copy1, $3, $4, $5) | 0; + $indices = sp; + __ZNSt3__26vectorIiNS_9allocatorIiEEEC2Em($indices, $num_features); + $1 = HEAP32[$indices >> 2] | 0; + $sub$ptr$div$i = (HEAP32[$indices + 4 >> 2] | 0) - $1 >> 2; + $$cast = $1; + $i$0 = 0; + while (1) { + if (($i$0 | 0) == ($sub$ptr$div$i | 0)) break; + HEAP32[$$cast + ($i$0 << 2) >> 2] = $i$0; + $i$0 = $i$0 + 1 | 0; + } + __ZN6vision28BinaryHierarchicalClusteringILi96EE5buildEPKhiPKii($this, $features, $num_features, $$cast, $sub$ptr$div$i); + __ZNSt3__213__vector_baseIiNS_9allocatorIiEEED2Ev($indices); STACKTOP = sp; - return $10 | 0; + return; } -function _frexp($0, $1) { - $0 = +$0; - $1 = $1 | 0; - var $$0 = 0.0, $$016 = 0.0, $2 = 0, $3 = 0, $4 = 0, $9 = 0.0, $storemerge = 0; - HEAPF64[tempDoublePtr >> 3] = $0; - $2 = HEAP32[tempDoublePtr >> 2] | 0; - $3 = HEAP32[tempDoublePtr + 4 >> 2] | 0; - $4 = _bitshift64Lshr($2 | 0, $3 | 0, 52) | 0; +function _frexp($x, $e) { + $x = +$x; + $e = $e | 0; + var $0 = 0, $1 = 0, $2 = 0, $call = 0.0, $retval$0 = 0.0, $storemerge = 0, $x$addr$0 = 0.0; + HEAPF64[tempDoublePtr >> 3] = $x; + $0 = HEAP32[tempDoublePtr >> 2] | 0; + $1 = HEAP32[tempDoublePtr + 4 >> 2] | 0; + $2 = _bitshift64Lshr($0 | 0, $1 | 0, 52) | 0; getTempRet0() | 0; - switch ($4 & 2047) { + switch ($2 & 2047) { case 0: { - if ($0 != 0.0) { - $9 = +_frexp($0 * 18446744073709551616.0, $1); - $$016 = $9; - $storemerge = (HEAP32[$1 >> 2] | 0) + -64 | 0; + if ($x != 0.0) { + $call = +_frexp($x * 18446744073709551616.0, $e); + $storemerge = (HEAP32[$e >> 2] | 0) + -64 | 0; + $x$addr$0 = $call; } else { - $$016 = $0; $storemerge = 0; + $x$addr$0 = $x; + } + HEAP32[$e >> 2] = $storemerge; + $retval$0 = $x$addr$0; + break; + } + case 2047: + { + $retval$0 = $x; + break; + } + default: + { + HEAP32[$e >> 2] = ($2 & 2047) + -1022; + HEAP32[tempDoublePtr >> 2] = $0; + HEAP32[tempDoublePtr + 4 >> 2] = $1 & -2146435073 | 1071644672; + $retval$0 = +HEAPF64[tempDoublePtr >> 3]; + } + } + return +$retval$0; +} + +function __ZNSt3__26vectorIN6vision12FeaturePointENS_9allocatorIS2_EEE18__construct_at_endIPS2_EENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeES9_S9_m($this, $__first, $__last, $__n) { + $this = $this | 0; + $__first = $__first | 0; + $__last = $__last | 0; + $__n = $__n | 0; + var $0 = 0, $__begin1$addr$0$i = 0, $__end_ = 0; + $__end_ = $this + 4 | 0; + $__begin1$addr$0$i = $__first; + while (1) { + if (($__begin1$addr$0$i | 0) == ($__last | 0)) break; + $0 = HEAP32[$__end_ >> 2] | 0; + HEAP32[$0 >> 2] = HEAP32[$__begin1$addr$0$i >> 2]; + HEAP32[$0 + 4 >> 2] = HEAP32[$__begin1$addr$0$i + 4 >> 2]; + HEAP32[$0 + 8 >> 2] = HEAP32[$__begin1$addr$0$i + 8 >> 2]; + HEAP32[$0 + 12 >> 2] = HEAP32[$__begin1$addr$0$i + 12 >> 2]; + HEAP32[$0 + 16 >> 2] = HEAP32[$__begin1$addr$0$i + 16 >> 2]; + HEAP32[$__end_ >> 2] = (HEAP32[$__end_ >> 2] | 0) + 20; + $__begin1$addr$0$i = $__begin1$addr$0$i + 20 | 0; + } + return; +} + +function _jpeg_read_header($cinfo, $require_image) { + $cinfo = $cinfo | 0; + $require_image = $require_image | 0; + var $$pre$phiZ2D = 0, $0 = 0, $2 = 0, $5 = 0, $call = 0, $retcode$0 = 0; + $0 = HEAP32[$cinfo + 20 >> 2] | 0; + if (($0 & -2 | 0) != 200) { + $2 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$2 + 20 >> 2] = 21; + HEAP32[$2 + 24 >> 2] = $0; + FUNCTION_TABLE_vi[HEAP32[HEAP32[$cinfo >> 2] >> 2] & 255]($cinfo); + } + $call = _jpeg_consume_input($cinfo) | 0; + switch ($call | 0) { + case 1: + { + $retcode$0 = 1; + return $retcode$0 | 0; + } + case 2: + { + if (!$require_image) $$pre$phiZ2D = $cinfo; else { + $5 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$5 + 20 >> 2] = 53; + FUNCTION_TABLE_vi[HEAP32[$5 >> 2] & 255]($cinfo); + $$pre$phiZ2D = $cinfo; } - HEAP32[$1 >> 2] = $storemerge; - $$0 = $$016; + _jpeg_abort($$pre$phiZ2D); + $retcode$0 = 2; + return $retcode$0 | 0; + } + default: + { + $retcode$0 = $call; + return $retcode$0 | 0; + } + } + return 0; +} + +function __ZNSt3__214__split_bufferIPKN6vision4NodeILi96EEERNS_9allocatorIS5_EEEC2EmmS8_($this, $__cap, $__start, $__a) { + $this = $this | 0; + $__cap = $__cap | 0; + $__start = $__start | 0; + $__a = $__a | 0; + var $__value_$i1$i = 0, $add$ptr = 0, $cond = 0, $exception$i$i$i = 0; + $__value_$i1$i = $this + 12 | 0; + HEAP32[$__value_$i1$i >> 2] = 0; + HEAP32[$this + 16 >> 2] = $__a; + do if ($__cap) if ($__cap >>> 0 > 1073741823) { + $exception$i$i$i = ___cxa_allocate_exception(8) | 0; + __ZNSt11logic_errorC2EPKc($exception$i$i$i, 42283); + HEAP32[$exception$i$i$i >> 2] = 17472; + ___cxa_throw($exception$i$i$i | 0, 13960, 22); + } else { + $cond = __Znwm($__cap << 2) | 0; + break; + } else $cond = 0; while (0); + HEAP32[$this >> 2] = $cond; + $add$ptr = $cond + ($__start << 2) | 0; + HEAP32[$this + 8 >> 2] = $add$ptr; + HEAP32[$this + 4 >> 2] = $add$ptr; + HEAP32[$__value_$i1$i >> 2] = $cond + ($__cap << 2); + return; +} + +function __ZNSt3__214__split_bufferIPN6vision4NodeILi96EEERNS_9allocatorIS4_EEEC2EmmS7_($this, $__cap, $__start, $__a) { + $this = $this | 0; + $__cap = $__cap | 0; + $__start = $__start | 0; + $__a = $__a | 0; + var $__value_$i1$i = 0, $add$ptr = 0, $cond = 0, $exception$i$i$i = 0; + $__value_$i1$i = $this + 12 | 0; + HEAP32[$__value_$i1$i >> 2] = 0; + HEAP32[$this + 16 >> 2] = $__a; + do if ($__cap) if ($__cap >>> 0 > 1073741823) { + $exception$i$i$i = ___cxa_allocate_exception(8) | 0; + __ZNSt11logic_errorC2EPKc($exception$i$i$i, 42283); + HEAP32[$exception$i$i$i >> 2] = 17472; + ___cxa_throw($exception$i$i$i | 0, 13960, 22); + } else { + $cond = __Znwm($__cap << 2) | 0; + break; + } else $cond = 0; while (0); + HEAP32[$this >> 2] = $cond; + $add$ptr = $cond + ($__start << 2) | 0; + HEAP32[$this + 8 >> 2] = $add$ptr; + HEAP32[$this + 4 >> 2] = $add$ptr; + HEAP32[$__value_$i1$i >> 2] = $cond + ($__cap << 2); + return; +} + +function _kpmUtilResizeImage($image, $xsize, $ysize, $procMode, $newXsize, $newYsize) { + $image = $image | 0; + $xsize = $xsize | 0; + $ysize = $ysize | 0; + $procMode = $procMode | 0; + $newXsize = $newXsize | 0; + $newYsize = $newYsize | 0; + var $retval$0 = 0; + switch ($procMode | 0) { + case 1: + { + $retval$0 = __ZL14genBWImageFullPhiiPiS0_($image, $xsize, $ysize, $newXsize, $newYsize) | 0; + break; + } + case 5: + { + $retval$0 = __ZL18genBWImageTwoThirdPhiiPiS0_($image, $xsize, $ysize, $newXsize, $newYsize) | 0; + break; + } + case 2: + { + $retval$0 = __ZL14genBWImageHalfPhiiPiS0_($image, $xsize, $ysize, $newXsize, $newYsize) | 0; + break; + } + case 4: + { + $retval$0 = __ZL18genBWImageOneThirdPhiiPiS0_($image, $xsize, $ysize, $newXsize, $newYsize) | 0; + break; + } + default: + $retval$0 = __ZL15genBWImageQuartPhiiPiS0_($image, $xsize, $ysize, $newXsize, $newYsize) | 0; + } + return $retval$0 | 0; +} + +function __ZNSt3__26vectorIN6vision25DoGScaleInvariantDetector12FeaturePointENS_9allocatorIS3_EEE7reserveEm($this, $__n) { + $this = $this | 0; + $__n = $__n | 0; + var $1 = 0, $__v = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 32 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); + $__v = sp; + $1 = HEAP32[$this >> 2] | 0; + if ((((HEAP32[$this + 8 >> 2] | 0) - $1 | 0) / 36 | 0) >>> 0 < $__n >>> 0) { + __ZNSt3__214__split_bufferIN6vision25DoGScaleInvariantDetector12FeaturePointERNS_9allocatorIS3_EEEC2EmmS6_($__v, $__n, ((HEAP32[$this + 4 >> 2] | 0) - $1 | 0) / 36 | 0, $this + 8 | 0); + __ZNSt3__26vectorIN6vision25DoGScaleInvariantDetector12FeaturePointENS_9allocatorIS3_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS3_RS5_EE($this, $__v); + __ZNSt3__214__split_bufferIN6vision25DoGScaleInvariantDetector12FeaturePointERNS_9allocatorIS3_EEED2Ev($__v); + } + STACKTOP = sp; + return; +} + +function __ZNKSt3__27collateIcE10do_compareEPKcS3_S3_S3_($this, $__lo1, $__hi1, $__lo2, $__hi2) { + $this = $this | 0; + $__lo1 = $__lo1 | 0; + $__hi1 = $__hi1 | 0; + $__lo2 = $__lo2 | 0; + $__hi2 = $__hi2 | 0; + var $0 = 0, $1 = 0, $__lo1$addr$0 = 0, $__lo2$addr$0 = 0, $retval$0 = 0, label = 0; + $__lo1$addr$0 = $__lo1; + $__lo2$addr$0 = $__lo2; + while (1) { + if (($__lo2$addr$0 | 0) == ($__hi2 | 0)) { + label = 7; break; } - case 2047: - { - $$0 = $0; + if (($__lo1$addr$0 | 0) == ($__hi1 | 0)) { + $retval$0 = -1; break; } - default: - { - HEAP32[$1 >> 2] = ($4 & 2047) + -1022; - HEAP32[tempDoublePtr >> 2] = $2; - HEAP32[tempDoublePtr + 4 >> 2] = $3 & -2146435073 | 1071644672; - $$0 = +HEAPF64[tempDoublePtr >> 3]; + $0 = HEAP8[$__lo1$addr$0 >> 0] | 0; + $1 = HEAP8[$__lo2$addr$0 >> 0] | 0; + if ($0 << 24 >> 24 < $1 << 24 >> 24) { + $retval$0 = -1; + break; + } + if ($1 << 24 >> 24 < $0 << 24 >> 24) { + $retval$0 = 1; + break; } + $__lo1$addr$0 = $__lo1$addr$0 + 1 | 0; + $__lo2$addr$0 = $__lo2$addr$0 + 1 | 0; } - return +$$0; + if ((label | 0) == 7) $retval$0 = ($__lo1$addr$0 | 0) != ($__hi1 | 0) & 1; + return $retval$0 | 0; } -function _jinit_arith_decoder($0) { - $0 = $0 | 0; - var $$036 = 0, $1 = 0, $14 = 0, $17 = 0, $4 = 0, $8 = 0, dest = 0, stop = 0; - $1 = $0 + 4 | 0; - $4 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[$1 >> 2] >> 2] & 63]($0, 1, 192) | 0; - HEAP32[$0 + 468 >> 2] = $4; - HEAP32[$4 >> 2] = 193; - HEAP32[$4 + 8 >> 2] = 194; - $8 = $4 + 188 | 0; - dest = $4 + 60 | 0; - stop = dest + 128 | 0; - do { - HEAP32[dest >> 2] = 0; - dest = dest + 4 | 0; - } while ((dest | 0) < (stop | 0)); - HEAP8[$8 >> 0] = 113; - if (!(HEAP32[$0 + 224 >> 2] | 0)) return; - $14 = $0 + 36 | 0; - $17 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[$1 >> 2] >> 2] & 63]($0, 1, HEAP32[$14 >> 2] << 8) | 0; - HEAP32[$0 + 160 >> 2] = $17; - if ((HEAP32[$14 >> 2] | 0) <= 0) return; - $$036 = 0; - do { - _memset($17 + ($$036 << 8) | 0, -1, 256) | 0; - $$036 = $$036 + 1 | 0; - } while (($$036 | 0) < (HEAP32[$14 >> 2] | 0)); +function __ZNSt3__214__split_bufferIN6vision7match_tERNS_9allocatorIS2_EEEC2EmmS5_($this, $__cap, $__start, $__a) { + $this = $this | 0; + $__cap = $__cap | 0; + $__start = $__start | 0; + $__a = $__a | 0; + var $__value_$i1$i = 0, $add$ptr = 0, $cond = 0, $exception$i$i$i = 0; + $__value_$i1$i = $this + 12 | 0; + HEAP32[$__value_$i1$i >> 2] = 0; + HEAP32[$this + 16 >> 2] = $__a; + do if ($__cap) if ($__cap >>> 0 > 536870911) { + $exception$i$i$i = ___cxa_allocate_exception(8) | 0; + __ZNSt11logic_errorC2EPKc($exception$i$i$i, 42283); + HEAP32[$exception$i$i$i >> 2] = 17472; + ___cxa_throw($exception$i$i$i | 0, 13960, 22); + } else { + $cond = __Znwm($__cap << 3) | 0; + break; + } else $cond = 0; while (0); + HEAP32[$this >> 2] = $cond; + $add$ptr = $cond + ($__start << 3) | 0; + HEAP32[$this + 8 >> 2] = $add$ptr; + HEAP32[$this + 4 >> 2] = $add$ptr; + HEAP32[$__value_$i1$i >> 2] = $cond + ($__cap << 3); return; } -function _scalbn($0, $1) { - $0 = +$0; - $1 = $1 | 0; - var $$0 = 0.0, $$020 = 0, $10 = 0.0, $12 = 0, $14 = 0, $17 = 0, $18 = 0, $3 = 0.0, $5 = 0, $7 = 0; - if (($1 | 0) <= 1023) if (($1 | 0) < -1022) { - $10 = $0 * 2.2250738585072014e-308; - $12 = ($1 | 0) < -2044; - $14 = $1 + 2044 | 0; - $$0 = $12 ? $10 * 2.2250738585072014e-308 : $10; - $$020 = $12 ? (($14 | 0) > -1022 ? $14 : -1022) : $1 + 1022 | 0; - } else { - $$0 = $0; - $$020 = $1; - } else { - $3 = $0 * 8988465674311579538646525.0e283; - $5 = ($1 | 0) > 2046; - $7 = $1 + -2046 | 0; - $$0 = $5 ? $3 * 8988465674311579538646525.0e283 : $3; - $$020 = $5 ? (($7 | 0) < 1023 ? $7 : 1023) : $1 + -1023 | 0; - } - $17 = _bitshift64Shl($$020 + 1023 | 0, 0, 52) | 0; - $18 = getTempRet0() | 0; - HEAP32[tempDoublePtr >> 2] = $17; - HEAP32[tempDoublePtr + 4 >> 2] = $18; - return +($$0 * +HEAPF64[tempDoublePtr >> 3]); +function _strtox_667($s, $p, $prec) { + $s = $s | 0; + $p = $p | 0; + $prec = $prec | 0; + var $0 = 0, $10 = 0, $11 = 0, $call = 0.0, $f = 0, $rend = 0, $rpos = 0, $sub$ptr$sub = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 144 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(144); + $f = sp; + _memset($f | 0, 0, 144) | 0; + $rpos = $f + 4 | 0; + HEAP32[$rpos >> 2] = $s; + $rend = $f + 8 | 0; + HEAP32[$rend >> 2] = -1; + HEAP32[$f + 44 >> 2] = $s; + HEAP32[$f + 76 >> 2] = -1; + ___shlim($f, 0, 0); + $call = +___floatscan($f, $prec, 1); + $0 = $f + 120 | 0; + $sub$ptr$sub = (HEAP32[$rpos >> 2] | 0) - (HEAP32[$rend >> 2] | 0) | 0; + $10 = _i64Add(HEAP32[$0 >> 2] | 0, HEAP32[$0 + 4 >> 2] | 0, $sub$ptr$sub | 0, (($sub$ptr$sub | 0) < 0) << 31 >> 31 | 0) | 0; + $11 = getTempRet0() | 0; + if ($p | 0) HEAP32[$p >> 2] = ($10 | 0) == 0 & ($11 | 0) == 0 ? $s : $s + $10 | 0; + STACKTOP = sp; + return +$call; } -function _ungetc($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$1 = 0, $$pr = 0, $15 = 0, $17 = 0, $19 = 0, $7 = 0, $8 = 0, label = 0; - do if (($0 | 0) != -1) { - if ((HEAP32[$1 + 76 >> 2] | 0) > -1) $17 = ___lockfile($1) | 0; else $17 = 0; - $7 = $1 + 4 | 0; - $8 = HEAP32[$7 >> 2] | 0; - if (!$8) { - ___toread($1) | 0; - $$pr = HEAP32[$7 >> 2] | 0; - if ($$pr | 0) { - $15 = $$pr; - label = 6; - } - } else { - $15 = $8; - label = 6; - } - if ((label | 0) == 6 ? $15 >>> 0 > ((HEAP32[$1 + 44 >> 2] | 0) + -8 | 0) >>> 0 : 0) { - $19 = $15 + -1 | 0; - HEAP32[$7 >> 2] = $19; - HEAP8[$19 >> 0] = $0; - HEAP32[$1 >> 2] = HEAP32[$1 >> 2] & -17; - if (!$17) { - $$1 = $0; - break; - } - ___unlockfile($1); - $$1 = $0; - break; - } - if ($17) { - ___unlockfile($1); - $$1 = -1; - } else $$1 = -1; - } else $$1 = -1; while (0); - return $$1 | 0; +function __ZNSt3__214__split_bufferIN6vision5ImageERNS_9allocatorIS2_EEEC2EmmS5_($this, $__cap, $__start, $__a) { + $this = $this | 0; + $__cap = $__cap | 0; + $__start = $__start | 0; + $__a = $__a | 0; + var $__value_$i1$i = 0, $add$ptr = 0, $cond = 0, $exception$i$i$i = 0; + $__value_$i1$i = $this + 12 | 0; + HEAP32[$__value_$i1$i >> 2] = 0; + HEAP32[$this + 16 >> 2] = $__a; + do if ($__cap) if ($__cap >>> 0 > 134217727) { + $exception$i$i$i = ___cxa_allocate_exception(8) | 0; + __ZNSt11logic_errorC2EPKc($exception$i$i$i, 42283); + HEAP32[$exception$i$i$i >> 2] = 17472; + ___cxa_throw($exception$i$i$i | 0, 13960, 22); + } else { + $cond = __Znwm($__cap << 5) | 0; + break; + } else $cond = 0; while (0); + HEAP32[$this >> 2] = $cond; + $add$ptr = $cond + ($__start << 5) | 0; + HEAP32[$this + 8 >> 2] = $add$ptr; + HEAP32[$this + 4 >> 2] = $add$ptr; + HEAP32[$__value_$i1$i >> 2] = $cond + ($__cap << 5); + return; } -function __ZN6vision27AddHomographyPointContraintIfEEvPT_PKS1_S4_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $29 = 0, $5 = 0; - HEAPF32[$0 >> 2] = -+HEAPF32[$1 >> 2]; - $5 = $1 + 4 | 0; - HEAPF32[$0 + 4 >> 2] = -+HEAPF32[$5 >> 2]; - HEAPF32[$0 + 8 >> 2] = -1.0; - __ZN6vision11ZeroVector3IfEEvPT_($0 + 12 | 0); - HEAPF32[$0 + 24 >> 2] = +HEAPF32[$2 >> 2] * +HEAPF32[$1 >> 2]; - HEAPF32[$0 + 28 >> 2] = +HEAPF32[$2 >> 2] * +HEAPF32[$5 >> 2]; - HEAP32[$0 + 32 >> 2] = HEAP32[$2 >> 2]; - __ZN6vision11ZeroVector3IfEEvPT_($0 + 36 | 0); - HEAPF32[$0 + 48 >> 2] = -+HEAPF32[$1 >> 2]; - HEAPF32[$0 + 52 >> 2] = -+HEAPF32[$5 >> 2]; - HEAPF32[$0 + 56 >> 2] = -1.0; - $29 = $2 + 4 | 0; - HEAPF32[$0 + 60 >> 2] = +HEAPF32[$29 >> 2] * +HEAPF32[$1 >> 2]; - HEAPF32[$0 + 64 >> 2] = +HEAPF32[$29 >> 2] * +HEAPF32[$5 >> 2]; - HEAP32[$0 + 68 >> 2] = HEAP32[$29 >> 2]; - return; -} - -function _prescan_quantize($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $$03032 = 0, $$03134 = 0, $$033 = 0, $27 = 0, $28 = 0, $29 = 0, $7 = 0, $9 = 0; - $7 = HEAP32[(HEAP32[$0 + 484 >> 2] | 0) + 24 >> 2] | 0; - $9 = HEAP32[$0 + 112 >> 2] | 0; - if (($3 | 0) < 1 | ($9 | 0) == 0) return; - $$03134 = 0; - do { - $$03032 = $9; - $$033 = HEAP32[$1 + ($$03134 << 2) >> 2] | 0; - while (1) { - $27 = (HEAP32[$7 + ((HEAPU8[$$033 >> 0] | 0) >>> 3 << 2) >> 2] | 0) + ((HEAPU8[$$033 + 1 >> 0] | 0) >>> 2 << 6) + ((HEAPU8[$$033 + 2 >> 0] | 0) >>> 3 << 1) | 0; - $28 = HEAP16[$27 >> 1] | 0; - $29 = $28 + 1 << 16 >> 16; - HEAP16[$27 >> 1] = $29 << 16 >> 16 == 0 ? $28 : $29; - $$03032 = $$03032 + -1 | 0; - if (!$$03032) break; else $$033 = $$033 + 3 | 0; - } - $$03134 = $$03134 + 1 | 0; - } while (($$03134 | 0) != ($3 | 0)); +function __ZNSt3__214__split_bufferI12multi_markerRNS_9allocatorIS1_EEEC2EmmS4_($this, $__cap, $__start, $__a) { + $this = $this | 0; + $__cap = $__cap | 0; + $__start = $__start | 0; + $__a = $__a | 0; + var $__value_$i1$i = 0, $add$ptr = 0, $cond = 0, $exception$i$i$i = 0; + $__value_$i1$i = $this + 12 | 0; + HEAP32[$__value_$i1$i >> 2] = 0; + HEAP32[$this + 16 >> 2] = $__a; + do if ($__cap) if ($__cap >>> 0 > 536870911) { + $exception$i$i$i = ___cxa_allocate_exception(8) | 0; + __ZNSt11logic_errorC2EPKc($exception$i$i$i, 42283); + HEAP32[$exception$i$i$i >> 2] = 17472; + ___cxa_throw($exception$i$i$i | 0, 13960, 22); + } else { + $cond = __Znwm($__cap << 3) | 0; + break; + } else $cond = 0; while (0); + HEAP32[$this >> 2] = $cond; + $add$ptr = $cond + ($__start << 3) | 0; + HEAP32[$this + 8 >> 2] = $add$ptr; + HEAP32[$this + 4 >> 2] = $add$ptr; + HEAP32[$__value_$i1$i >> 2] = $cond + ($__cap << 3); return; } -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle12InitListExprEJDnNS2_9NodeArrayEEEEPT_DpOT0_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $10 = 0, $11 = 0, $3 = 0, $4 = 0, $5 = 0, $tmpcast$byval_copy = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $tmpcast$byval_copy = sp + 8 | 0; - $3 = sp; - $4 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 20) | 0; - $5 = $2; - $10 = HEAP32[$5 + 4 >> 2] | 0; - $11 = $3; - HEAP32[$11 >> 2] = HEAP32[$5 >> 2]; - HEAP32[$11 + 4 >> 2] = $10; - HEAP32[$tmpcast$byval_copy >> 2] = HEAP32[$3 >> 2]; - HEAP32[$tmpcast$byval_copy + 4 >> 2] = HEAP32[$3 + 4 >> 2]; - __ZN12_GLOBAL__N_116itanium_demangle12InitListExprC2EPKNS0_4NodeENS0_9NodeArrayE($4, 0, $tmpcast$byval_copy); - STACKTOP = sp; - return $4 | 0; +function __ZNSt3__214__split_bufferINS_4pairIfmEERNS_9allocatorIS2_EEEC2EmmS5_($this, $__cap, $__start, $__a) { + $this = $this | 0; + $__cap = $__cap | 0; + $__start = $__start | 0; + $__a = $__a | 0; + var $__value_$i1$i = 0, $add$ptr = 0, $cond = 0, $exception$i$i$i = 0; + $__value_$i1$i = $this + 12 | 0; + HEAP32[$__value_$i1$i >> 2] = 0; + HEAP32[$this + 16 >> 2] = $__a; + do if ($__cap) if ($__cap >>> 0 > 536870911) { + $exception$i$i$i = ___cxa_allocate_exception(8) | 0; + __ZNSt11logic_errorC2EPKc($exception$i$i$i, 42283); + HEAP32[$exception$i$i$i >> 2] = 17472; + ___cxa_throw($exception$i$i$i | 0, 13960, 22); + } else { + $cond = __Znwm($__cap << 3) | 0; + break; + } else $cond = 0; while (0); + HEAP32[$this >> 2] = $cond; + $add$ptr = $cond + ($__start << 3) | 0; + HEAP32[$this + 8 >> 2] = $add$ptr; + HEAP32[$this + 4 >> 2] = $add$ptr; + HEAP32[$__value_$i1$i >> 2] = $cond + ($__cap << 3); + return; } -function __ZNK12_GLOBAL__N_116itanium_demangle22ElaboratedTypeSpefType9printLeftERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $10 = 0, $2 = 0, $4 = 0, $9 = 0, $tmpcast$byval_copy = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $tmpcast$byval_copy = sp + 8 | 0; - $2 = sp; - $4 = $0 + 8 | 0; - $9 = HEAP32[$4 + 4 >> 2] | 0; - $10 = $2; - HEAP32[$10 >> 2] = HEAP32[$4 >> 2]; - HEAP32[$10 + 4 >> 2] = $9; - HEAP32[$tmpcast$byval_copy >> 2] = HEAP32[$2 >> 2]; - HEAP32[$tmpcast$byval_copy + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $tmpcast$byval_copy); - __ZN12_GLOBAL__N_112OutputStreampLEc($1, 32); - __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(HEAP32[$0 + 16 >> 2] | 0, $1); - STACKTOP = sp; +function __ZNSt3__214__split_bufferINS_4pairIfiEERNS_9allocatorIS2_EEEC2EmmS5_($this, $__cap, $__start, $__a) { + $this = $this | 0; + $__cap = $__cap | 0; + $__start = $__start | 0; + $__a = $__a | 0; + var $__value_$i1$i = 0, $add$ptr = 0, $cond = 0, $exception$i$i$i = 0; + $__value_$i1$i = $this + 12 | 0; + HEAP32[$__value_$i1$i >> 2] = 0; + HEAP32[$this + 16 >> 2] = $__a; + do if ($__cap) if ($__cap >>> 0 > 536870911) { + $exception$i$i$i = ___cxa_allocate_exception(8) | 0; + __ZNSt11logic_errorC2EPKc($exception$i$i$i, 42283); + HEAP32[$exception$i$i$i >> 2] = 17472; + ___cxa_throw($exception$i$i$i | 0, 13960, 22); + } else { + $cond = __Znwm($__cap << 3) | 0; + break; + } else $cond = 0; while (0); + HEAP32[$this >> 2] = $cond; + $add$ptr = $cond + ($__start << 3) | 0; + HEAP32[$this + 8 >> 2] = $add$ptr; + HEAP32[$this + 4 >> 2] = $add$ptr; + HEAP32[$__value_$i1$i >> 2] = $cond + ($__cap << 3); return; } -function __ZN10emscripten8internal7InvokerIiJiiiEE6invokeEPFiiiiEiii($fn, $args, $args1, $args3) { - $fn = $fn | 0; - $args = $args | 0; - $args1 = $args1 | 0; - $args3 = $args3 | 0; - var $call = 0, $call5 = 0, $call6 = 0, $call7 = 0, $call8 = 0, $ref$tmp = 0, sp = 0; +function ___ftello_unlocked($f) { + $f = $f | 0; + var $12 = 0, $13 = 0, $18 = 0, $20 = 0, $21 = 0, $4 = 0, $5 = 0, $6 = 0, $sub$ptr$sub = 0, $sub$ptr$sub6 = 0; + if (!(HEAP32[$f >> 2] & 128)) $4 = 1; else $4 = (HEAP32[$f + 20 >> 2] | 0) >>> 0 > (HEAP32[$f + 28 >> 2] | 0) >>> 0 ? 2 : 1; + $5 = FUNCTION_TABLE_iiiii[HEAP32[$f + 40 >> 2] & 15]($f, 0, 0, $4) | 0; + $6 = getTempRet0() | 0; + if (($6 | 0) < 0) { + $20 = $6; + $21 = $5; + } else { + $sub$ptr$sub = (HEAP32[$f + 8 >> 2] | 0) - (HEAP32[$f + 4 >> 2] | 0) | 0; + $12 = _i64Subtract($5 | 0, $6 | 0, $sub$ptr$sub | 0, (($sub$ptr$sub | 0) < 0) << 31 >> 31 | 0) | 0; + $13 = getTempRet0() | 0; + $sub$ptr$sub6 = (HEAP32[$f + 20 >> 2] | 0) - (HEAP32[$f + 28 >> 2] | 0) | 0; + $18 = _i64Add($12 | 0, $13 | 0, $sub$ptr$sub6 | 0, (($sub$ptr$sub6 | 0) < 0) << 31 >> 31 | 0) | 0; + $20 = getTempRet0() | 0; + $21 = $18; + } + setTempRet0($20 | 0); + return $21 | 0; +} + +function __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($this) { + $this = $this | 0; + var $2 = 0, $__s = 0, $add$ptr14 = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $ref$tmp = sp; - $call = __ZN10emscripten8internal11BindingTypeIivE12fromWireTypeEi($args) | 0; - $call5 = __ZN10emscripten8internal11BindingTypeIivE12fromWireTypeEi($args1) | 0; - $call6 = __ZN10emscripten8internal11BindingTypeIivE12fromWireTypeEi($args3) | 0; - $call7 = FUNCTION_TABLE_iiii[$fn & 63]($call, $call5, $call6) | 0; - HEAP32[$ref$tmp >> 2] = $call7; - $call8 = __ZN10emscripten8internal11BindingTypeIivE10toWireTypeERKi($ref$tmp) | 0; + $__s = sp; + if (HEAP32[$this + (HEAP32[(HEAP32[$this >> 2] | 0) + -12 >> 2] | 0) + 24 >> 2] | 0) { + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE6sentryC2ERS3_($__s, $this); + if (HEAP8[$__s >> 0] | 0 ? ($2 = HEAP32[$this + (HEAP32[(HEAP32[$this >> 2] | 0) + -12 >> 2] | 0) + 24 >> 2] | 0, (FUNCTION_TABLE_ii[HEAP32[(HEAP32[$2 >> 2] | 0) + 24 >> 2] & 127]($2) | 0) == -1) : 0) { + $add$ptr14 = $this + (HEAP32[(HEAP32[$this >> 2] | 0) + -12 >> 2] | 0) | 0; + __ZNSt3__28ios_base5clearEj($add$ptr14, HEAP32[$add$ptr14 + 16 >> 2] | 1); + } + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE6sentryD2Ev($__s); + } STACKTOP = sp; - return $call8 | 0; + return $this | 0; } -function __ZNSt3__26locale5__imp7installEPNS0_5facetEl($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$pre$phiZ2D = 0, $16 = 0, $17 = 0, $19 = 0, $20 = 0, $3 = 0, $6 = 0, $9 = 0; - $3 = $1 + 4 | 0; - HEAP32[$3 >> 2] = (HEAP32[$3 >> 2] | 0) + 1; - $6 = $0 + 8 | 0; - $9 = HEAP32[$6 >> 2] | 0; - if ((HEAP32[$0 + 12 >> 2] | 0) - $9 >> 2 >>> 0 > $2 >>> 0) { - $$pre$phiZ2D = $6; - $16 = $9; - } else { - __ZNSt3__26vectorIPNS_6locale5facetENS_15__sso_allocatorIS3_Lm28EEEE6resizeEm($6, $2 + 1 | 0); - $$pre$phiZ2D = $6; - $16 = HEAP32[$6 >> 2] | 0; +function _arUtilReplaceExt($filename, $n, $ext) { + $filename = $filename | 0; + $n = $n | 0; + $ext = $ext | 0; + var $add = 0, $arrayidx$le = 0, $i$0 = 0, $j$0 = 0, $j$1 = 0, $j$2 = 0, $retval$0 = 0, label = 0; + $i$0 = 0; + $j$0 = 0; + L1 : while (1) { + switch (HEAP8[$filename + $i$0 >> 0] | 0) { + case 0: + { + break L1; + break; + } + case 46: + { + $j$1 = $i$0; + break; + } + default: + $j$1 = $j$0; + } + $i$0 = $i$0 + 1 | 0; + $j$0 = $j$1; } - $17 = HEAP32[$16 + ($2 << 2) >> 2] | 0; - if ($17 | 0 ? ($19 = $17 + 4 | 0, $20 = HEAP32[$19 >> 2] | 0, HEAP32[$19 >> 2] = $20 + -1, ($20 | 0) == 0) : 0) FUNCTION_TABLE_vi[HEAP32[(HEAP32[$17 >> 2] | 0) + 8 >> 2] & 255]($17); - HEAP32[(HEAP32[$$pre$phiZ2D >> 2] | 0) + ($2 << 2) >> 2] = $1; - return; + $arrayidx$le = $filename + $i$0 | 0; + $add = (_strlen($ext) | 0) + 2 | 0; + if (!$j$0) if (($add + $i$0 | 0) > ($n | 0)) $retval$0 = -1; else { + HEAP8[$arrayidx$le >> 0] = 46; + $j$2 = $i$0; + label = 9; + } else if (($add + $j$0 | 0) > ($n | 0)) $retval$0 = -1; else { + $j$2 = $j$0; + label = 9; + } + if ((label | 0) == 9) { + HEAP8[$filename + ($j$2 + 1) >> 0] = 0; + _strcat($filename, $ext) | 0; + $retval$0 = 0; + } + return $retval$0 | 0; } -function __ZN10emscripten8internal7InvokerIiJNSt3__212basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEE6invokeEPFiS8_EPNS0_11BindingTypeIS8_vEUt_E($fn, $args) { - $fn = $fn | 0; +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle21StructuredBindingNameEJNS2_9NodeArrayEEEEPT_DpOT0_($this, $args) { + $this = $this | 0; $args = $args | 0; - var $agg$tmp = 0, $call = 0, $call1 = 0, $ref$tmp = 0, sp = 0; + var $0 = 0, $5 = 0, $6 = 0, $agg$tmp = 0, $call = 0, $tmpcast$byval_copy = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $ref$tmp = sp + 12 | 0; + $tmpcast$byval_copy = sp + 8 | 0; $agg$tmp = sp; - __ZN10emscripten8internal11BindingTypeINSt3__212basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEvE12fromWireTypeEPNS9_Ut_E($agg$tmp, $args); - $call = FUNCTION_TABLE_ii[$fn & 127]($agg$tmp) | 0; - HEAP32[$ref$tmp >> 2] = $call; - $call1 = __ZN10emscripten8internal11BindingTypeIivE10toWireTypeERKi($ref$tmp) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($agg$tmp); + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 16) | 0; + $0 = $args; + $5 = HEAP32[$0 + 4 >> 2] | 0; + $6 = $agg$tmp; + HEAP32[$6 >> 2] = HEAP32[$0 >> 2]; + HEAP32[$6 + 4 >> 2] = $5; + HEAP32[$tmpcast$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$tmpcast$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_116itanium_demangle21StructuredBindingNameC2ENS0_9NodeArrayE($call, $tmpcast$byval_copy); STACKTOP = sp; - return $call1 | 0; + return $call | 0; } -function __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE10__get_yearERiRS4_S4_RjRKNS_5ctypeIwEE($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$0 = 0, $$byval_copy = 0, $6 = 0, $8 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy = sp + 4 | 0; - $6 = sp; - HEAP32[$6 >> 2] = HEAP32[$3 >> 2]; - HEAP32[$$byval_copy >> 2] = HEAP32[$6 >> 2]; - $8 = __ZNSt3__220__get_up_to_n_digitsIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEEEiRT0_S5_RjRKNS_5ctypeIT_EEi($2, $$byval_copy, $4, $5, 4) | 0; - if (!(HEAP32[$4 >> 2] & 4)) { - if (($8 | 0) < 69) $$0 = $8 + 2e3 | 0; else $$0 = ($8 | 0) < 100 ? $8 + 1900 | 0 : $8; - HEAP32[$1 >> 2] = $$0 + -1900; +function _jinit_inverse_dct($cinfo) { + $cinfo = $cinfo | 0; + var $call = 0, $call6 = 0, $ci$017 = 0, $compptr$018 = 0, $cur_method = 0, $mem = 0, $num_components = 0; + $mem = $cinfo + 4 | 0; + $call = FUNCTION_TABLE_iiii[HEAP32[HEAP32[$mem >> 2] >> 2] & 63]($cinfo, 1, 84) | 0; + HEAP32[$cinfo + 472 >> 2] = $call; + HEAP32[$call >> 2] = 206; + $num_components = $cinfo + 36 | 0; + if ((HEAP32[$num_components >> 2] | 0) <= 0) return; + $cur_method = $call + 44 | 0; + $ci$017 = 0; + $compptr$018 = HEAP32[$cinfo + 216 >> 2] | 0; + while (1) { + $call6 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[$mem >> 2] >> 2] & 63]($cinfo, 1, 256) | 0; + HEAP32[$compptr$018 + 84 >> 2] = $call6; + _memset($call6 | 0, 0, 256) | 0; + HEAP32[$cur_method + ($ci$017 << 2) >> 2] = -1; + $ci$017 = $ci$017 + 1 | 0; + if (($ci$017 | 0) >= (HEAP32[$num_components >> 2] | 0)) break; else $compptr$018 = $compptr$018 + 88 | 0; } - STACKTOP = sp; return; } -function __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE10__get_yearERiRS4_S4_RjRKNS_5ctypeIcEE($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$0 = 0, $$byval_copy = 0, $6 = 0, $8 = 0, sp = 0; +function __ZN6vision5Image19calculate_unit_sizeENS_9ImageTypeE($type) { + $type = $type | 0; + var $exception = 0, $ref$tmp = 0, $size$0 = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy = sp + 4 | 0; - $6 = sp; - HEAP32[$6 >> 2] = HEAP32[$3 >> 2]; - HEAP32[$$byval_copy >> 2] = HEAP32[$6 >> 2]; - $8 = __ZNSt3__220__get_up_to_n_digitsIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEEiRT0_S5_RjRKNS_5ctypeIT_EEi($2, $$byval_copy, $4, $5, 4) | 0; - if (!(HEAP32[$4 >> 2] & 4)) { - if (($8 | 0) < 69) $$0 = $8 + 2e3 | 0; else $$0 = ($8 | 0) < 100 ? $8 + 1900 | 0 : $8; - HEAP32[$1 >> 2] = $$0 + -1900; + $ref$tmp = sp; + switch ($type | 0) { + case 1: + { + $size$0 = $type; + break; + } + case 2: + { + $size$0 = 4; + break; + } + default: + { + $exception = ___cxa_allocate_exception(16) | 0; + HEAP32[$ref$tmp >> 2] = 0; + HEAP32[$ref$tmp + 4 >> 2] = 0; + HEAP32[$ref$tmp + 8 >> 2] = 0; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm($ref$tmp, 39530, __ZNSt3__211char_traitsIcE6lengthEPKc(39530) | 0); + __ZN6vision9ExceptionC2ERKNSt3__212basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE($exception, $ref$tmp); + ___cxa_throw($exception | 0, 13208, 5); + } } STACKTOP = sp; - return; + return $size$0 | 0; } -function _getMarkerNum($id) { - $id = $id | 0; - var $arhandle = 0, $id$addr = 0, $retval$0$in = 0, sp = 0; +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle20TemplateArgumentPackEJRNS2_9NodeArrayEEEEPT_DpOT0_($this, $args) { + $this = $this | 0; + $args = $args | 0; + var $0 = 0, $5 = 0, $6 = 0, $agg$tmp = 0, $call = 0, $tmpcast$byval_copy = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $id$addr = sp; - HEAP32[$id$addr >> 2] = $id; - if (!(__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(65260, $id$addr) | 0)) $retval$0$in = 16896; else { - $arhandle = (__ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(65260, $id$addr) | 0) + 216 | 0; - $retval$0$in = (HEAP32[$arhandle >> 2] | 0) + 44 | 0; - } + $tmpcast$byval_copy = sp + 8 | 0; + $agg$tmp = sp; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 16) | 0; + $0 = $args; + $5 = HEAP32[$0 + 4 >> 2] | 0; + $6 = $agg$tmp; + HEAP32[$6 >> 2] = HEAP32[$0 >> 2]; + HEAP32[$6 + 4 >> 2] = $5; + HEAP32[$tmpcast$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$tmpcast$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_116itanium_demangle20TemplateArgumentPackC2ENS0_9NodeArrayE($call, $tmpcast$byval_copy); STACKTOP = sp; - return HEAP32[$retval$0$in >> 2] | 0; -} - -function ___ftello_unlocked($0) { - $0 = $0 | 0; - var $11 = 0, $12 = 0, $13 = 0, $19 = 0, $22 = 0, $23 = 0, $28 = 0, $31 = 0, $33 = 0, $34 = 0; - if (!(HEAP32[$0 >> 2] & 128)) $11 = 1; else $11 = (HEAP32[$0 + 20 >> 2] | 0) >>> 0 > (HEAP32[$0 + 28 >> 2] | 0) >>> 0 ? 2 : 1; - $12 = FUNCTION_TABLE_iiiii[HEAP32[$0 + 40 >> 2] & 15]($0, 0, 0, $11) | 0; - $13 = getTempRet0() | 0; - if (($13 | 0) < 0) { - $33 = $13; - $34 = $12; - } else { - $19 = (HEAP32[$0 + 8 >> 2] | 0) - (HEAP32[$0 + 4 >> 2] | 0) | 0; - $22 = _i64Subtract($12 | 0, $13 | 0, $19 | 0, (($19 | 0) < 0) << 31 >> 31 | 0) | 0; - $23 = getTempRet0() | 0; - $28 = (HEAP32[$0 + 20 >> 2] | 0) - (HEAP32[$0 + 28 >> 2] | 0) | 0; - $31 = _i64Add($22 | 0, $23 | 0, $28 | 0, (($28 | 0) < 0) << 31 >> 31 | 0) | 0; - $33 = getTempRet0() | 0; - $34 = $31; - } - setTempRet0($33 | 0); - return $34 | 0; + return $call | 0; } -function _setProjectionNearPlane($id, $projectionNearPlane) { - $id = $id | 0; - $projectionNearPlane = +$projectionNearPlane; - var $id$addr = 0, $nearPlane = 0, sp = 0; +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle16FloatLiteralImplIfEEJRNS_10StringViewEEEEPT_DpOT0_($this, $args) { + $this = $this | 0; + $args = $args | 0; + var $0 = 0, $5 = 0, $6 = 0, $agg$tmp = 0, $call = 0, $tmpcast$byval_copy = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $id$addr = sp; - HEAP32[$id$addr >> 2] = $id; - if (__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(65260, $id$addr) | 0) { - $nearPlane = (__ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(65260, $id$addr) | 0) + 312 | 0; - HEAPF64[$nearPlane >> 3] = $projectionNearPlane; - } + $tmpcast$byval_copy = sp + 8 | 0; + $agg$tmp = sp; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 16) | 0; + $0 = $args; + $5 = HEAP32[$0 + 4 >> 2] | 0; + $6 = $agg$tmp; + HEAP32[$6 >> 2] = HEAP32[$0 >> 2]; + HEAP32[$6 + 4 >> 2] = $5; + HEAP32[$tmpcast$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$tmpcast$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_116itanium_demangle16FloatLiteralImplIfEC2ENS_10StringViewE($call, $tmpcast$byval_copy); STACKTOP = sp; - return; + return $call | 0; } -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle21StructuredBindingNameEJNS2_9NodeArrayEEEEPT_DpOT0_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $10 = 0, $2 = 0, $3 = 0, $4 = 0, $9 = 0, $tmpcast$byval_copy = 0, sp = 0; +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle16FloatLiteralImplIeEEJRNS_10StringViewEEEEPT_DpOT0_($this, $args) { + $this = $this | 0; + $args = $args | 0; + var $0 = 0, $5 = 0, $6 = 0, $agg$tmp = 0, $call = 0, $tmpcast$byval_copy = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); $tmpcast$byval_copy = sp + 8 | 0; - $2 = sp; - $3 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 16) | 0; - $4 = $1; - $9 = HEAP32[$4 + 4 >> 2] | 0; - $10 = $2; - HEAP32[$10 >> 2] = HEAP32[$4 >> 2]; - HEAP32[$10 + 4 >> 2] = $9; - HEAP32[$tmpcast$byval_copy >> 2] = HEAP32[$2 >> 2]; - HEAP32[$tmpcast$byval_copy + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - __ZN12_GLOBAL__N_116itanium_demangle21StructuredBindingNameC2ENS0_9NodeArrayE($3, $tmpcast$byval_copy); + $agg$tmp = sp; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 16) | 0; + $0 = $args; + $5 = HEAP32[$0 + 4 >> 2] | 0; + $6 = $agg$tmp; + HEAP32[$6 >> 2] = HEAP32[$0 >> 2]; + HEAP32[$6 + 4 >> 2] = $5; + HEAP32[$tmpcast$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$tmpcast$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_116itanium_demangle16FloatLiteralImplIeEC2ENS_10StringViewE($call, $tmpcast$byval_copy); STACKTOP = sp; - return $3 | 0; + return $call | 0; } -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle20TemplateArgumentPackEJRNS2_9NodeArrayEEEEPT_DpOT0_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $10 = 0, $2 = 0, $3 = 0, $4 = 0, $9 = 0, $tmpcast$byval_copy = 0, sp = 0; +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle16FloatLiteralImplIdEEJRNS_10StringViewEEEEPT_DpOT0_($this, $args) { + $this = $this | 0; + $args = $args | 0; + var $0 = 0, $5 = 0, $6 = 0, $agg$tmp = 0, $call = 0, $tmpcast$byval_copy = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); $tmpcast$byval_copy = sp + 8 | 0; - $2 = sp; - $3 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 16) | 0; - $4 = $1; - $9 = HEAP32[$4 + 4 >> 2] | 0; - $10 = $2; - HEAP32[$10 >> 2] = HEAP32[$4 >> 2]; - HEAP32[$10 + 4 >> 2] = $9; - HEAP32[$tmpcast$byval_copy >> 2] = HEAP32[$2 >> 2]; - HEAP32[$tmpcast$byval_copy + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - __ZN12_GLOBAL__N_116itanium_demangle20TemplateArgumentPackC2ENS0_9NodeArrayE($3, $tmpcast$byval_copy); + $agg$tmp = sp; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 16) | 0; + $0 = $args; + $5 = HEAP32[$0 + 4 >> 2] | 0; + $6 = $agg$tmp; + HEAP32[$6 >> 2] = HEAP32[$0 >> 2]; + HEAP32[$6 + 4 >> 2] = $5; + HEAP32[$tmpcast$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$tmpcast$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_116itanium_demangle16FloatLiteralImplIdEC2ENS_10StringViewE($call, $tmpcast$byval_copy); STACKTOP = sp; - return $3 | 0; + return $call | 0; } -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle16FloatLiteralImplIfEEJRNS_10StringViewEEEEPT_DpOT0_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $10 = 0, $2 = 0, $3 = 0, $4 = 0, $9 = 0, $tmpcast$byval_copy = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $tmpcast$byval_copy = sp + 8 | 0; - $2 = sp; - $3 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 16) | 0; - $4 = $1; - $9 = HEAP32[$4 + 4 >> 2] | 0; - $10 = $2; - HEAP32[$10 >> 2] = HEAP32[$4 >> 2]; - HEAP32[$10 + 4 >> 2] = $9; - HEAP32[$tmpcast$byval_copy >> 2] = HEAP32[$2 >> 2]; - HEAP32[$tmpcast$byval_copy + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - __ZN12_GLOBAL__N_116itanium_demangle16FloatLiteralImplIfEC2ENS_10StringViewE($3, $tmpcast$byval_copy); - STACKTOP = sp; - return $3 | 0; +function ___strerror_l($e, $loc) { + $e = $e | 0; + $loc = $loc | 0; + var $i$012 = 0, $i$111 = 0, $i$111$ph = 0, $inc = 0, $s$0$lcssa = 0, $s$010 = 0, $s$1 = 0, label = 0, $s$1$looptemp = 0; + $i$012 = 0; + while (1) { + if ((HEAPU8[5936 + $i$012 >> 0] | 0) == ($e | 0)) { + label = 4; + break; + } + $inc = $i$012 + 1 | 0; + if (($inc | 0) == 87) { + $i$111$ph = 87; + label = 5; + break; + } else $i$012 = $inc; + } + if ((label | 0) == 4) if (!$i$012) $s$0$lcssa = 6032; else { + $i$111$ph = $i$012; + label = 5; + } + if ((label | 0) == 5) { + $i$111 = $i$111$ph; + $s$010 = 6032; + while (1) { + $s$1 = $s$010; + do { + $s$1$looptemp = $s$1; + $s$1 = $s$1 + 1 | 0; + } while ((HEAP8[$s$1$looptemp >> 0] | 0) != 0); + $i$111 = $i$111 + -1 | 0; + if (!$i$111) { + $s$0$lcssa = $s$1; + break; + } else $s$010 = $s$1; + } + } + return ___lctrans($s$0$lcssa, HEAP32[$loc + 20 >> 2] | 0) | 0; } -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle16FloatLiteralImplIeEEJRNS_10StringViewEEEEPT_DpOT0_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $10 = 0, $2 = 0, $3 = 0, $4 = 0, $9 = 0, $tmpcast$byval_copy = 0, sp = 0; +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle20DynamicExceptionSpecEJNS2_9NodeArrayEEEEPT_DpOT0_($this, $args) { + $this = $this | 0; + $args = $args | 0; + var $0 = 0, $5 = 0, $6 = 0, $agg$tmp = 0, $call = 0, $tmpcast$byval_copy = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); $tmpcast$byval_copy = sp + 8 | 0; - $2 = sp; - $3 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 16) | 0; - $4 = $1; - $9 = HEAP32[$4 + 4 >> 2] | 0; - $10 = $2; - HEAP32[$10 >> 2] = HEAP32[$4 >> 2]; - HEAP32[$10 + 4 >> 2] = $9; - HEAP32[$tmpcast$byval_copy >> 2] = HEAP32[$2 >> 2]; - HEAP32[$tmpcast$byval_copy + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - __ZN12_GLOBAL__N_116itanium_demangle16FloatLiteralImplIeEC2ENS_10StringViewE($3, $tmpcast$byval_copy); + $agg$tmp = sp; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 16) | 0; + $0 = $args; + $5 = HEAP32[$0 + 4 >> 2] | 0; + $6 = $agg$tmp; + HEAP32[$6 >> 2] = HEAP32[$0 >> 2]; + HEAP32[$6 + 4 >> 2] = $5; + HEAP32[$tmpcast$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$tmpcast$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_116itanium_demangle20DynamicExceptionSpecC2ENS0_9NodeArrayE($call, $tmpcast$byval_copy); STACKTOP = sp; - return $3 | 0; + return $call | 0; } -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle16FloatLiteralImplIdEEJRNS_10StringViewEEEEPT_DpOT0_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $10 = 0, $2 = 0, $3 = 0, $4 = 0, $9 = 0, $tmpcast$byval_copy = 0, sp = 0; +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle20PostfixQualifiedTypeEJRPNS2_4NodeERA11_KcEEEPT_DpOT0_($this, $args, $args1) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + var $0 = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, $call = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $tmpcast$byval_copy = sp + 8 | 0; - $2 = sp; - $3 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 16) | 0; - $4 = $1; - $9 = HEAP32[$4 + 4 >> 2] | 0; - $10 = $2; - HEAP32[$10 >> 2] = HEAP32[$4 >> 2]; - HEAP32[$10 + 4 >> 2] = $9; - HEAP32[$tmpcast$byval_copy >> 2] = HEAP32[$2 >> 2]; - HEAP32[$tmpcast$byval_copy + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - __ZN12_GLOBAL__N_116itanium_demangle16FloatLiteralImplIdEC2ENS_10StringViewE($3, $tmpcast$byval_copy); + $agg$tmp$byval_copy = sp + 8 | 0; + $agg$tmp = sp; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 20) | 0; + $0 = HEAP32[$args >> 2] | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, $args1); + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_116itanium_demangle20PostfixQualifiedTypeC2EPNS0_4NodeENS_10StringViewE($call, $0, $agg$tmp$byval_copy); STACKTOP = sp; - return $3 | 0; + return $call | 0; } -function _getProcessingImage($id) { +function _getDebugMode($id) { $id = $id | 0; - var $arhandle = 0, $id$addr = 0, $retval$0 = 0, sp = 0; + var $arhandle = 0, $enable = 0, $id$addr = 0, $retval$0 = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); $id$addr = sp; + $enable = sp + 4 | 0; HEAP32[$id$addr >> 2] = $id; - if (!(__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(65260, $id$addr) | 0)) $retval$0 = 0; else { - $arhandle = (__ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(65260, $id$addr) | 0) + 216 | 0; - $retval$0 = HEAP32[(HEAP32[$arhandle >> 2] | 0) + 4834148 >> 2] | 0; + if (!(__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(66108, $id$addr) | 0)) $retval$0 = 0; else { + $arhandle = (__ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(66108, $id$addr) | 0) + 216 | 0; + _arGetDebugMode(HEAP32[$arhandle >> 2] | 0, $enable) | 0; + $retval$0 = HEAP32[$enable >> 2] | 0; } STACKTOP = sp; return $retval$0 | 0; } -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle20DynamicExceptionSpecEJNS2_9NodeArrayEEEEPT_DpOT0_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $10 = 0, $2 = 0, $3 = 0, $4 = 0, $9 = 0, $tmpcast$byval_copy = 0, sp = 0; +function __ZNK12_GLOBAL__N_116itanium_demangle22ElaboratedTypeSpefType9printLeftERNS_12OutputStreamE($this, $S) { + $this = $this | 0; + $S = $S | 0; + var $0 = 0, $5 = 0, $6 = 0, $agg$tmp = 0, $tmpcast$byval_copy = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); $tmpcast$byval_copy = sp + 8 | 0; - $2 = sp; - $3 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 16) | 0; - $4 = $1; - $9 = HEAP32[$4 + 4 >> 2] | 0; - $10 = $2; - HEAP32[$10 >> 2] = HEAP32[$4 >> 2]; - HEAP32[$10 + 4 >> 2] = $9; - HEAP32[$tmpcast$byval_copy >> 2] = HEAP32[$2 >> 2]; - HEAP32[$tmpcast$byval_copy + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - __ZN12_GLOBAL__N_116itanium_demangle20DynamicExceptionSpecC2ENS0_9NodeArrayE($3, $tmpcast$byval_copy); + $agg$tmp = sp; + $0 = $this + 8 | 0; + $5 = HEAP32[$0 + 4 >> 2] | 0; + $6 = $agg$tmp; + HEAP32[$6 >> 2] = HEAP32[$0 >> 2]; + HEAP32[$6 + 4 >> 2] = $5; + HEAP32[$tmpcast$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$tmpcast$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $tmpcast$byval_copy); + __ZN12_GLOBAL__N_112OutputStreampLEc($S, 32); + __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(HEAP32[$this + 16 >> 2] | 0, $S); STACKTOP = sp; - return $3 | 0; + return; } -function _getMultiMarkerCount($id) { - $id = $id | 0; - var $call7 = 0, $id$addr = 0, $retval$0 = 0, sp = 0; +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle20PostfixQualifiedTypeEJRPNS2_4NodeERA9_KcEEEPT_DpOT0_($this, $args, $args1) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + var $0 = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, $call = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $id$addr = sp; - HEAP32[$id$addr >> 2] = $id; - if (!(__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(65260, $id$addr) | 0)) $retval$0 = -1; else { - $call7 = __ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(65260, $id$addr) | 0; - $retval$0 = (HEAP32[$call7 + 332 >> 2] | 0) - (HEAP32[$call7 + 328 >> 2] | 0) >> 3; - } + $agg$tmp$byval_copy = sp + 8 | 0; + $agg$tmp = sp; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 20) | 0; + $0 = HEAP32[$args >> 2] | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, $args1); + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_116itanium_demangle20PostfixQualifiedTypeC2EPNS0_4NodeENS_10StringViewE($call, $0, $agg$tmp$byval_copy); STACKTOP = sp; - return $retval$0 | 0; + return $call | 0; } -function __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($0) { - $0 = $0 | 0; - var $1 = 0, $16 = 0, $25 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $1 = sp; - if (HEAP32[$0 + (HEAP32[(HEAP32[$0 >> 2] | 0) + -12 >> 2] | 0) + 24 >> 2] | 0) { - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE6sentryC2ERS3_($1, $0); - if (HEAP8[$1 >> 0] | 0 ? ($16 = HEAP32[$0 + (HEAP32[(HEAP32[$0 >> 2] | 0) + -12 >> 2] | 0) + 24 >> 2] | 0, (FUNCTION_TABLE_ii[HEAP32[(HEAP32[$16 >> 2] | 0) + 24 >> 2] & 127]($16) | 0) == -1) : 0) { - $25 = $0 + (HEAP32[(HEAP32[$0 >> 2] | 0) + -12 >> 2] | 0) | 0; - __ZNSt3__28ios_base5clearEj($25, HEAP32[$25 + 16 >> 2] | 1); - } - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE6sentryD2Ev($1); + +function __ZNSt3__26locale5__impD2Ev($this) { + $this = $this | 0; + var $1 = 0, $3 = 0, $4 = 0, $__end_$i = 0, $__shared_owners_$i = 0, $facets_ = 0, $i$0 = 0; + HEAP32[$this >> 2] = 23288; + $facets_ = $this + 8 | 0; + $__end_$i = $this + 12 | 0; + $i$0 = 0; + while (1) { + $1 = HEAP32[$facets_ >> 2] | 0; + if ($i$0 >>> 0 >= (HEAP32[$__end_$i >> 2] | 0) - $1 >> 2 >>> 0) break; + $3 = HEAP32[$1 + ($i$0 << 2) >> 2] | 0; + if ($3 | 0 ? ($__shared_owners_$i = $3 + 4 | 0, $4 = HEAP32[$__shared_owners_$i >> 2] | 0, HEAP32[$__shared_owners_$i >> 2] = $4 + -1, ($4 | 0) == 0) : 0) FUNCTION_TABLE_vi[HEAP32[(HEAP32[$3 >> 2] | 0) + 8 >> 2] & 255]($3); + $i$0 = $i$0 + 1 | 0; } - STACKTOP = sp; - return $0 | 0; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($this + 144 | 0); + __ZNSt3__213__vector_baseIPNS_6locale5facetENS_15__sso_allocatorIS3_Lm28EEEED2Ev($facets_); + __ZNSt3__26locale5facetD2Ev($this); + return; } -function __ZN10emscripten8functionIiJiNSt3__212basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEJEEEvPKcPFT_DpT0_EDpT1_($name, $fn) { - $name = $name | 0; - $fn = $fn | 0; - var $args = 0, $call = 0, $call1 = 0, sp = 0; +function __ZNSt3__214__split_bufferIiRNS_9allocatorIiEEEC2EmmS3_($this, $__cap, $__start, $__a) { + $this = $this | 0; + $__cap = $__cap | 0; + $__start = $__start | 0; + $__a = $__a | 0; + var $__value_$i1$i = 0, $add$ptr = 0, $cond = 0, $exception$i$i$i = 0; + $__value_$i1$i = $this + 12 | 0; + HEAP32[$__value_$i1$i >> 2] = 0; + HEAP32[$this + 16 >> 2] = $__a; + do if ($__cap) if ($__cap >>> 0 > 1073741823) { + $exception$i$i$i = ___cxa_allocate_exception(8) | 0; + __ZNSt11logic_errorC2EPKc($exception$i$i$i, 42283); + HEAP32[$exception$i$i$i >> 2] = 17472; + ___cxa_throw($exception$i$i$i | 0, 13960, 22); + } else { + $cond = __Znwm($__cap << 2) | 0; + break; + } else $cond = 0; while (0); + HEAP32[$this >> 2] = $cond; + $add$ptr = $cond + ($__start << 2) | 0; + HEAP32[$this + 8 >> 2] = $add$ptr; + HEAP32[$this + 4 >> 2] = $add$ptr; + HEAP32[$__value_$i1$i >> 2] = $cond + ($__cap << 2); + return; +} + +function __ZNSt3__214__split_bufferIfRNS_9allocatorIfEEEC2EmmS3_($this, $__cap, $__start, $__a) { + $this = $this | 0; + $__cap = $__cap | 0; + $__start = $__start | 0; + $__a = $__a | 0; + var $__value_$i1$i = 0, $add$ptr = 0, $cond = 0, $exception$i$i$i = 0; + $__value_$i1$i = $this + 12 | 0; + HEAP32[$__value_$i1$i >> 2] = 0; + HEAP32[$this + 16 >> 2] = $__a; + do if ($__cap) if ($__cap >>> 0 > 1073741823) { + $exception$i$i$i = ___cxa_allocate_exception(8) | 0; + __ZNSt11logic_errorC2EPKc($exception$i$i$i, 42283); + HEAP32[$exception$i$i$i >> 2] = 17472; + ___cxa_throw($exception$i$i$i | 0, 13960, 22); + } else { + $cond = __Znwm($__cap << 2) | 0; + break; + } else $cond = 0; while (0); + HEAP32[$this >> 2] = $cond; + $add$ptr = $cond + ($__start << 2) | 0; + HEAP32[$this + 8 >> 2] = $add$ptr; + HEAP32[$this + 4 >> 2] = $add$ptr; + HEAP32[$__value_$i1$i >> 2] = $cond + ($__cap << 2); + return; +} + +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle15UnnamedTypeNameEJRNS_10StringViewEEEEPT_DpOT0_($this, $args) { + $this = $this | 0; + $args = $args | 0; + var $0 = 0, $5 = 0, $6 = 0, $agg$tmp = 0, $call = 0, $tmpcast$byval_copy = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $args = sp; - $call = __ZNK10emscripten8internal12WithPoliciesIJEE11ArgTypeListIJiiNSt3__212basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEEE8getCountEv($args) | 0; - $call1 = __ZNK10emscripten8internal12WithPoliciesIJEE11ArgTypeListIJiiNSt3__212basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEEE8getTypesEv($args) | 0; - __embind_register_function($name | 0, $call | 0, $call1 | 0, __ZN10emscripten8internal19getGenericSignatureIJiiiiEEEPKcv() | 0, 31, $fn | 0); + $tmpcast$byval_copy = sp + 8 | 0; + $agg$tmp = sp; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 16) | 0; + $0 = $args; + $5 = HEAP32[$0 + 4 >> 2] | 0; + $6 = $agg$tmp; + HEAP32[$6 >> 2] = HEAP32[$0 >> 2]; + HEAP32[$6 + 4 >> 2] = $5; + HEAP32[$tmpcast$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$tmpcast$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_116itanium_demangle15UnnamedTypeNameC2ENS_10StringViewE($call, $tmpcast$byval_copy); STACKTOP = sp; + return $call | 0; +} + +function __ZN12_GLOBAL__N_116itanium_demangle7NewExprC2ENS0_9NodeArrayEPNS0_4NodeES2_bb($this, $ExprList_, $Type_, $InitList_, $IsGlobal_, $IsArray_) { + $this = $this | 0; + $ExprList_ = $ExprList_ | 0; + $Type_ = $Type_ | 0; + $InitList_ = $InitList_ | 0; + $IsGlobal_ = $IsGlobal_ | 0; + $IsArray_ = $IsArray_ | 0; + var $0 = 0, $10 = 0, $15 = 0, $16 = 0, $5 = 0, $6 = 0; + __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($this, 51, 1, 1, 1); + HEAP32[$this >> 2] = 18616; + $0 = $ExprList_; + $5 = HEAP32[$0 + 4 >> 2] | 0; + $6 = $this + 8 | 0; + HEAP32[$6 >> 2] = HEAP32[$0 >> 2]; + HEAP32[$6 + 4 >> 2] = $5; + HEAP32[$this + 16 >> 2] = $Type_; + $10 = $InitList_; + $15 = HEAP32[$10 + 4 >> 2] | 0; + $16 = $this + 20 | 0; + HEAP32[$16 >> 2] = HEAP32[$10 >> 2]; + HEAP32[$16 + 4 >> 2] = $15; + HEAP8[$this + 28 >> 0] = $IsGlobal_ & 1; + HEAP8[$this + 29 >> 0] = $IsArray_ & 1; return; } -function _setProjectionFarPlane($id, $projectionFarPlane) { - $id = $id | 0; - $projectionFarPlane = +$projectionFarPlane; - var $farPlane = 0, $id$addr = 0, sp = 0; +function _arPattLoad($pattHandle, $filename) { + $pattHandle = $pattHandle | 0; + $filename = $filename | 0; + var $call = 0, $call1 = 0, $call2 = 0, $call3 = 0, $patno$0 = 0, $vararg_buffer = 0, $vararg_buffer1 = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $id$addr = sp; - HEAP32[$id$addr >> 2] = $id; - if (__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(65260, $id$addr) | 0) { - $farPlane = (__ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(65260, $id$addr) | 0) + 320 | 0; - HEAPF64[$farPlane >> 3] = $projectionFarPlane; + $vararg_buffer1 = sp + 8 | 0; + $vararg_buffer = sp; + $call = _cat($filename, 0) | 0; + if (!$call) { + HEAP32[$vararg_buffer >> 2] = $filename; + _arLog(0, 3, 24397, $vararg_buffer); + $call1 = ___errno_location() | 0; + $call2 = _strerror(HEAP32[$call1 >> 2] | 0) | 0; + HEAP32[$vararg_buffer1 >> 2] = 68295; + HEAP32[$vararg_buffer1 + 4 >> 2] = $call2; + _arLog(0, 3, 25953, $vararg_buffer1); + $patno$0 = -1; + } else { + $call3 = _arPattLoadFromBuffer($pattHandle, $call) | 0; + _free($call); + $patno$0 = $call3; } STACKTOP = sp; - return; + return $patno$0 | 0; +} + +function __ZNKSt3__27collateIwE10do_compareEPKwS3_S3_S3_($this, $__lo1, $__hi1, $__lo2, $__hi2) { + $this = $this | 0; + $__lo1 = $__lo1 | 0; + $__hi1 = $__hi1 | 0; + $__lo2 = $__lo2 | 0; + $__hi2 = $__hi2 | 0; + var $0 = 0, $1 = 0, $__lo1$addr$0 = 0, $__lo2$addr$0 = 0, $retval$0 = 0, label = 0; + $__lo1$addr$0 = $__lo1; + $__lo2$addr$0 = $__lo2; + while (1) { + if (($__lo2$addr$0 | 0) == ($__hi2 | 0)) { + label = 7; + break; + } + if (($__lo1$addr$0 | 0) == ($__hi1 | 0)) { + $retval$0 = -1; + break; + } + $0 = HEAP32[$__lo1$addr$0 >> 2] | 0; + $1 = HEAP32[$__lo2$addr$0 >> 2] | 0; + if (($0 | 0) < ($1 | 0)) { + $retval$0 = -1; + break; + } + if (($1 | 0) < ($0 | 0)) { + $retval$0 = 1; + break; + } + $__lo1$addr$0 = $__lo1$addr$0 + 4 | 0; + $__lo2$addr$0 = $__lo2$addr$0 + 4 | 0; + } + if ((label | 0) == 7) $retval$0 = ($__lo1$addr$0 | 0) != ($__hi1 | 0) & 1; + return $retval$0 | 0; } -function __ZN10emscripten8functionIiJNSt3__212basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEJEEEvPKcPFT_DpT0_EDpT1_($name, $fn) { - $name = $name | 0; - $fn = $fn | 0; - var $args = 0, $call = 0, $call1 = 0, sp = 0; +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle13FunctionParamEJRNS_10StringViewEEEEPT_DpOT0_($this, $args) { + $this = $this | 0; + $args = $args | 0; + var $0 = 0, $5 = 0, $6 = 0, $agg$tmp = 0, $call = 0, $tmpcast$byval_copy = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $args = sp; - $call = __ZNK10emscripten8internal12WithPoliciesIJEE11ArgTypeListIJiNSt3__212basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEEE8getCountEv($args) | 0; - $call1 = __ZNK10emscripten8internal12WithPoliciesIJEE11ArgTypeListIJiNSt3__212basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEEE8getTypesEv($args) | 0; - __embind_register_function($name | 0, $call | 0, $call1 | 0, __ZN10emscripten8internal19getGenericSignatureIJiiiEEEPKcv() | 0, 55, $fn | 0); + $tmpcast$byval_copy = sp + 8 | 0; + $agg$tmp = sp; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 16) | 0; + $0 = $args; + $5 = HEAP32[$0 + 4 >> 2] | 0; + $6 = $agg$tmp; + HEAP32[$6 >> 2] = HEAP32[$0 >> 2]; + HEAP32[$6 + 4 >> 2] = $5; + HEAP32[$tmpcast$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$tmpcast$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_116itanium_demangle13FunctionParamC2ENS_10StringViewE($call, $tmpcast$byval_copy); STACKTOP = sp; - return; + return $call | 0; } -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle15UnnamedTypeNameEJRNS_10StringViewEEEEPT_DpOT0_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $10 = 0, $2 = 0, $3 = 0, $4 = 0, $9 = 0, $tmpcast$byval_copy = 0, sp = 0; +function _icpGetU_from_X_by_MatX2U($u, $matX2U, $coord3d) { + $u = $u | 0; + $matX2U = $matX2U | 0; + $coord3d = $coord3d | 0; + var $0 = 0.0, $1 = 0.0, $2 = 0.0, $add28 = 0.0, $add45 = 0.0, $retval$0 = 0; + $0 = +HEAPF64[$coord3d >> 3]; + $1 = +HEAPF64[$coord3d + 8 >> 3]; + $2 = +HEAPF64[$coord3d + 16 >> 3]; + $add45 = +HEAPF64[$matX2U + 88 >> 3] + ($0 * +HEAPF64[$matX2U + 64 >> 3] + $1 * +HEAPF64[$matX2U + 72 >> 3] + $2 * +HEAPF64[$matX2U + 80 >> 3]); + if ($add45 == 0.0) $retval$0 = -1; else { + $add28 = +HEAPF64[$matX2U + 56 >> 3] + ($0 * +HEAPF64[$matX2U + 32 >> 3] + $1 * +HEAPF64[$matX2U + 40 >> 3] + $2 * +HEAPF64[$matX2U + 48 >> 3]); + HEAPF64[$u >> 3] = (+HEAPF64[$matX2U + 24 >> 3] + ($0 * +HEAPF64[$matX2U >> 3] + $1 * +HEAPF64[$matX2U + 8 >> 3] + $2 * +HEAPF64[$matX2U + 16 >> 3])) / $add45; + HEAPF64[$u + 8 >> 3] = $add28 / $add45; + $retval$0 = 0; + } + return $retval$0 | 0; +} + +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle13ParameterPackEJNS2_9NodeArrayEEEEPT_DpOT0_($this, $args) { + $this = $this | 0; + $args = $args | 0; + var $0 = 0, $5 = 0, $6 = 0, $agg$tmp = 0, $call = 0, $tmpcast$byval_copy = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); $tmpcast$byval_copy = sp + 8 | 0; - $2 = sp; - $3 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 16) | 0; - $4 = $1; - $9 = HEAP32[$4 + 4 >> 2] | 0; - $10 = $2; - HEAP32[$10 >> 2] = HEAP32[$4 >> 2]; - HEAP32[$10 + 4 >> 2] = $9; - HEAP32[$tmpcast$byval_copy >> 2] = HEAP32[$2 >> 2]; - HEAP32[$tmpcast$byval_copy + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - __ZN12_GLOBAL__N_116itanium_demangle15UnnamedTypeNameC2ENS_10StringViewE($3, $tmpcast$byval_copy); + $agg$tmp = sp; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 16) | 0; + $0 = $args; + $5 = HEAP32[$0 + 4 >> 2] | 0; + $6 = $agg$tmp; + HEAP32[$6 >> 2] = HEAP32[$0 >> 2]; + HEAP32[$6 + 4 >> 2] = $5; + HEAP32[$tmpcast$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$tmpcast$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_116itanium_demangle13ParameterPackC2ENS0_9NodeArrayE($call, $tmpcast$byval_copy); STACKTOP = sp; - return $3 | 0; + return $call | 0; } -function _strtox($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $10 = 0, $18 = 0, $21 = 0, $22 = 0, $3 = 0, $4 = 0, $5 = 0, $8 = 0.0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 144 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(144); - $3 = sp; - _memset($3 | 0, 0, 144) | 0; - $4 = $3 + 4 | 0; - HEAP32[$4 >> 2] = $0; - $5 = $3 + 8 | 0; - HEAP32[$5 >> 2] = -1; - HEAP32[$3 + 44 >> 2] = $0; - HEAP32[$3 + 76 >> 2] = -1; - ___shlim($3, 0, 0); - $8 = +___floatscan($3, $2, 1); - $10 = $3 + 120 | 0; - $18 = (HEAP32[$4 >> 2] | 0) - (HEAP32[$5 >> 2] | 0) | 0; - $21 = _i64Add(HEAP32[$10 >> 2] | 0, HEAP32[$10 + 4 >> 2] | 0, $18 | 0, (($18 | 0) < 0) << 31 >> 31 | 0) | 0; - $22 = getTempRet0() | 0; - if ($1 | 0) HEAP32[$1 >> 2] = ($21 | 0) == 0 & ($22 | 0) == 0 ? $0 : $0 + $21 | 0; - STACKTOP = sp; - return +$8; -} - -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle13FunctionParamEJRNS_10StringViewEEEEPT_DpOT0_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $10 = 0, $2 = 0, $3 = 0, $4 = 0, $9 = 0, $tmpcast$byval_copy = 0, sp = 0; +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle13NodeArrayNodeEJNS2_9NodeArrayEEEEPT_DpOT0_($this, $args) { + $this = $this | 0; + $args = $args | 0; + var $0 = 0, $5 = 0, $6 = 0, $agg$tmp = 0, $call = 0, $tmpcast$byval_copy = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); $tmpcast$byval_copy = sp + 8 | 0; - $2 = sp; - $3 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 16) | 0; - $4 = $1; - $9 = HEAP32[$4 + 4 >> 2] | 0; - $10 = $2; - HEAP32[$10 >> 2] = HEAP32[$4 >> 2]; - HEAP32[$10 + 4 >> 2] = $9; - HEAP32[$tmpcast$byval_copy >> 2] = HEAP32[$2 >> 2]; - HEAP32[$tmpcast$byval_copy + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - __ZN12_GLOBAL__N_116itanium_demangle13FunctionParamC2ENS_10StringViewE($3, $tmpcast$byval_copy); + $agg$tmp = sp; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 16) | 0; + $0 = $args; + $5 = HEAP32[$0 + 4 >> 2] | 0; + $6 = $agg$tmp; + HEAP32[$6 >> 2] = HEAP32[$0 >> 2]; + HEAP32[$6 + 4 >> 2] = $5; + HEAP32[$tmpcast$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$tmpcast$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_116itanium_demangle13NodeArrayNodeC2ENS0_9NodeArrayE($call, $tmpcast$byval_copy); STACKTOP = sp; - return $3 | 0; + return $call | 0; } -function __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE13__get_12_hourERiRS4_S4_RjRKNS_5ctypeIwEE($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$byval_copy = 0, $6 = 0, $8 = 0, $9 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy = sp + 4 | 0; - $6 = sp; - HEAP32[$6 >> 2] = HEAP32[$3 >> 2]; - HEAP32[$$byval_copy >> 2] = HEAP32[$6 >> 2]; - $8 = __ZNSt3__220__get_up_to_n_digitsIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEEEiRT0_S5_RjRKNS_5ctypeIT_EEi($2, $$byval_copy, $4, $5, 2) | 0; - $9 = HEAP32[$4 >> 2] | 0; - if (($8 + -1 | 0) >>> 0 < 12 & ($9 & 4 | 0) == 0) HEAP32[$1 >> 2] = $8; else HEAP32[$4 >> 2] = $9 | 4; - STACKTOP = sp; +function __ZNSt3__214__split_bufferItRNS_9allocatorItEEEC2EmmS3_($this, $__cap, $__start, $__a) { + $this = $this | 0; + $__cap = $__cap | 0; + $__start = $__start | 0; + $__a = $__a | 0; + var $__value_$i1$i = 0, $add$ptr = 0, $cond = 0, $exception$i$i$i = 0; + $__value_$i1$i = $this + 12 | 0; + HEAP32[$__value_$i1$i >> 2] = 0; + HEAP32[$this + 16 >> 2] = $__a; + do if ($__cap) if (($__cap | 0) < 0) { + $exception$i$i$i = ___cxa_allocate_exception(8) | 0; + __ZNSt11logic_errorC2EPKc($exception$i$i$i, 42283); + HEAP32[$exception$i$i$i >> 2] = 17472; + ___cxa_throw($exception$i$i$i | 0, 13960, 22); + } else { + $cond = __Znwm($__cap << 1) | 0; + break; + } else $cond = 0; while (0); + HEAP32[$this >> 2] = $cond; + $add$ptr = $cond + ($__start << 1) | 0; + HEAP32[$this + 8 >> 2] = $add$ptr; + HEAP32[$this + 4 >> 2] = $add$ptr; + HEAP32[$__value_$i1$i >> 2] = $cond + ($__cap << 1); return; } -function __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE13__get_12_hourERiRS4_S4_RjRKNS_5ctypeIcEE($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$byval_copy = 0, $6 = 0, $8 = 0, $9 = 0, sp = 0; +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle12TemplateArgsEJNS2_9NodeArrayEEEEPT_DpOT0_($this, $args) { + $this = $this | 0; + $args = $args | 0; + var $0 = 0, $5 = 0, $6 = 0, $agg$tmp = 0, $call = 0, $tmpcast$byval_copy = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy = sp + 4 | 0; - $6 = sp; - HEAP32[$6 >> 2] = HEAP32[$3 >> 2]; - HEAP32[$$byval_copy >> 2] = HEAP32[$6 >> 2]; - $8 = __ZNSt3__220__get_up_to_n_digitsIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEEiRT0_S5_RjRKNS_5ctypeIT_EEi($2, $$byval_copy, $4, $5, 2) | 0; - $9 = HEAP32[$4 >> 2] | 0; - if (($8 + -1 | 0) >>> 0 < 12 & ($9 & 4 | 0) == 0) HEAP32[$1 >> 2] = $8; else HEAP32[$4 >> 2] = $9 | 4; + $tmpcast$byval_copy = sp + 8 | 0; + $agg$tmp = sp; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 16) | 0; + $0 = $args; + $5 = HEAP32[$0 + 4 >> 2] | 0; + $6 = $agg$tmp; + HEAP32[$6 >> 2] = HEAP32[$0 >> 2]; + HEAP32[$6 + 4 >> 2] = $5; + HEAP32[$tmpcast$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$tmpcast$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_116itanium_demangle12TemplateArgsC2ENS0_9NodeArrayE($call, $tmpcast$byval_copy); STACKTOP = sp; - return; -} - -function __ZNSt3__26vectorINS0_INS0_INS_4pairIfmEENS_9allocatorIS2_EEEENS3_IS5_EEEENS3_IS7_EEE6resizeEm($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0$i$i = 0, $12 = 0, $14 = 0, $2 = 0, $3 = 0, $4 = 0, $6 = 0, $8 = 0, $9 = 0; - $2 = $0 + 4 | 0; - $3 = HEAP32[$2 >> 2] | 0; - $4 = HEAP32[$0 >> 2] | 0; - $6 = ($3 - $4 | 0) / 12 | 0; - $8 = $4; - $9 = $3; - if ($6 >>> 0 >= $1 >>> 0) { - if ($6 >>> 0 > $1 >>> 0) { - $12 = $8 + ($1 * 12 | 0) | 0; - $$0$i$i = $9; - while (1) { - if (($$0$i$i | 0) == ($12 | 0)) break; - $14 = $$0$i$i + -12 | 0; - __ZNSt3__213__vector_baseINS_6vectorINS_4pairIfmEENS_9allocatorIS3_EEEENS4_IS6_EEED2Ev($14); - $$0$i$i = $14; - } - HEAP32[$2 >> 2] = $12; - } - } else __ZNSt3__26vectorINS0_INS0_INS_4pairIfmEENS_9allocatorIS2_EEEENS3_IS5_EEEENS3_IS7_EEE8__appendEm($0, $1 - $6 | 0); - return; + return $call | 0; } -function __ZNK12_GLOBAL__N_116itanium_demangle20PostfixQualifiedType9printLeftERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $14 = 0, $15 = 0, $2 = 0, $4 = 0, $9 = 0, $tmpcast$byval_copy = 0, sp = 0; +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle12EnableIfAttrEJNS2_9NodeArrayEEEEPT_DpOT0_($this, $args) { + $this = $this | 0; + $args = $args | 0; + var $0 = 0, $5 = 0, $6 = 0, $agg$tmp = 0, $call = 0, $tmpcast$byval_copy = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); $tmpcast$byval_copy = sp + 8 | 0; - $2 = sp; - $4 = HEAP32[$0 + 8 >> 2] | 0; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$4 >> 2] | 0) + 16 >> 2] & 255]($4, $1); - $9 = $0 + 12 | 0; - $14 = HEAP32[$9 + 4 >> 2] | 0; - $15 = $2; - HEAP32[$15 >> 2] = HEAP32[$9 >> 2]; - HEAP32[$15 + 4 >> 2] = $14; - HEAP32[$tmpcast$byval_copy >> 2] = HEAP32[$2 >> 2]; - HEAP32[$tmpcast$byval_copy + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $tmpcast$byval_copy); + $agg$tmp = sp; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 16) | 0; + $0 = $args; + $5 = HEAP32[$0 + 4 >> 2] | 0; + $6 = $agg$tmp; + HEAP32[$6 >> 2] = HEAP32[$0 >> 2]; + HEAP32[$6 + 4 >> 2] = $5; + HEAP32[$tmpcast$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$tmpcast$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_116itanium_demangle12EnableIfAttrC2ENS0_9NodeArrayE($call, $tmpcast$byval_copy); STACKTOP = sp; - return; + return $call | 0; } -function __ZNSt3__212__hash_tableINS_17__hash_value_typeIjjEENS_22__unordered_map_hasherIjS2_NS_4hashIjEELb1EEENS_21__unordered_map_equalIjS2_NS_8equal_toIjEELb1EEENS_9allocatorIS2_EEE5clearEv($0) { - $0 = $0 | 0; - var $$0 = 0, $1 = 0, $4 = 0, $7 = 0; - $1 = $0 + 12 | 0; - if (HEAP32[$1 >> 2] | 0) { - $4 = $0 + 8 | 0; - __ZNSt3__212__hash_tableINS_17__hash_value_typeIjjEENS_22__unordered_map_hasherIjS2_NS_4hashIjEELb1EEENS_21__unordered_map_equalIjS2_NS_8equal_toIjEELb1EEENS_9allocatorIS2_EEE17__deallocate_nodeEPNS_16__hash_node_baseIPNS_11__hash_nodeIS2_PvEEEE($0, HEAP32[$4 >> 2] | 0); - HEAP32[$4 >> 2] = 0; - $7 = HEAP32[$0 + 4 >> 2] | 0; - $$0 = 0; - while (1) { - if (($$0 | 0) == ($7 | 0)) break; - HEAP32[(HEAP32[$0 >> 2] | 0) + ($$0 << 2) >> 2] = 0; - $$0 = $$0 + 1 | 0; - } - HEAP32[$1 >> 2] = 0; +function _icpGetQ_from_S($q, $s) { + $q = $q | 0; + $s = $s | 0; + var $$sink = 0.0, $$sink1 = 0.0, $0 = 0.0, $1 = 0.0, $2 = 0.0, $3 = 0.0, $add8 = 0.0, $arrayidx2 = 0, $arrayidx5 = 0; + $0 = +HEAPF64[$s >> 3]; + $arrayidx2 = $s + 8 | 0; + $1 = +HEAPF64[$arrayidx2 >> 3]; + $arrayidx5 = $s + 16 | 0; + $2 = +HEAPF64[$arrayidx5 >> 3]; + $add8 = $0 * $0 + $1 * $1 + $2 * $2; + if ($add8 == 0.0) { + HEAPF64[$q >> 3] = 1.0; + HEAPF64[$q + 8 >> 3] = 0.0; + $$sink = 0.0; + $$sink1 = 0.0; + } else { + $3 = +Math_sqrt(+$add8); + HEAPF64[$q >> 3] = $0 / $3; + HEAPF64[$q + 8 >> 3] = +HEAPF64[$arrayidx2 >> 3] / $3; + $$sink = $3; + $$sink1 = +HEAPF64[$arrayidx5 >> 3] / $3; } + HEAPF64[$q + 16 >> 3] = $$sink1; + HEAPF64[$q + 24 >> 3] = $$sink; + HEAPF64[$q + 32 >> 3] = +HEAPF64[$s + 24 >> 3]; + HEAPF64[$q + 40 >> 3] = +HEAPF64[$s + 32 >> 3]; + HEAPF64[$q + 48 >> 3] = +HEAPF64[$s + 40 >> 3]; return; } -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle13ParameterPackEJNS2_9NodeArrayEEEEPT_DpOT0_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $10 = 0, $2 = 0, $3 = 0, $4 = 0, $9 = 0, $tmpcast$byval_copy = 0, sp = 0; +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle11SpecialNameEJRA41_KcRPNS2_4NodeEEEEPT_DpOT0_($this, $args, $args1) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + var $0 = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, $call = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $tmpcast$byval_copy = sp + 8 | 0; - $2 = sp; - $3 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 16) | 0; - $4 = $1; - $9 = HEAP32[$4 + 4 >> 2] | 0; - $10 = $2; - HEAP32[$10 >> 2] = HEAP32[$4 >> 2]; - HEAP32[$10 + 4 >> 2] = $9; - HEAP32[$tmpcast$byval_copy >> 2] = HEAP32[$2 >> 2]; - HEAP32[$tmpcast$byval_copy + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - __ZN12_GLOBAL__N_116itanium_demangle13ParameterPackC2ENS0_9NodeArrayE($3, $tmpcast$byval_copy); + $agg$tmp$byval_copy = sp + 8 | 0; + $agg$tmp = sp; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 20) | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, $args); + $0 = HEAP32[$args1 >> 2] | 0; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_116itanium_demangle11SpecialNameC2ENS_10StringViewEPKNS0_4NodeE($call, $agg$tmp$byval_copy, $0); STACKTOP = sp; - return $3 | 0; + return $call | 0; } -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle13NodeArrayNodeEJNS2_9NodeArrayEEEEPT_DpOT0_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $10 = 0, $2 = 0, $3 = 0, $4 = 0, $9 = 0, $tmpcast$byval_copy = 0, sp = 0; +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle11SpecialNameEJRA34_KcRPNS2_4NodeEEEEPT_DpOT0_($this, $args, $args1) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + var $0 = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, $call = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $tmpcast$byval_copy = sp + 8 | 0; - $2 = sp; - $3 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 16) | 0; - $4 = $1; - $9 = HEAP32[$4 + 4 >> 2] | 0; - $10 = $2; - HEAP32[$10 >> 2] = HEAP32[$4 >> 2]; - HEAP32[$10 + 4 >> 2] = $9; - HEAP32[$tmpcast$byval_copy >> 2] = HEAP32[$2 >> 2]; - HEAP32[$tmpcast$byval_copy + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - __ZN12_GLOBAL__N_116itanium_demangle13NodeArrayNodeC2ENS0_9NodeArrayE($3, $tmpcast$byval_copy); + $agg$tmp$byval_copy = sp + 8 | 0; + $agg$tmp = sp; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 20) | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, $args); + $0 = HEAP32[$args1 >> 2] | 0; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_116itanium_demangle11SpecialNameC2ENS_10StringViewEPKNS0_4NodeE($call, $agg$tmp$byval_copy, $0); STACKTOP = sp; - return $3 | 0; + return $call | 0; } -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle10MemberExprEJRPNS2_4NodeERA3_KcS6_EEEPT_DpOT0_($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $$byval_copy = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, sp = 0; +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle11SpecialNameEJRA27_KcRPNS2_4NodeEEEEPT_DpOT0_($this, $args, $args1) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + var $0 = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, $call = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy = sp + 8 | 0; - $4 = sp; - $5 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 24) | 0; - $6 = HEAP32[$1 >> 2] | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($4, $2); - $7 = HEAP32[$3 >> 2] | 0; - HEAP32[$$byval_copy >> 2] = HEAP32[$4 >> 2]; - HEAP32[$$byval_copy + 4 >> 2] = HEAP32[$4 + 4 >> 2]; - __ZN12_GLOBAL__N_116itanium_demangle10MemberExprC2EPKNS0_4NodeENS_10StringViewES4_($5, $6, $$byval_copy, $7); + $agg$tmp$byval_copy = sp + 8 | 0; + $agg$tmp = sp; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 20) | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, $args); + $0 = HEAP32[$args1 >> 2] | 0; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_116itanium_demangle11SpecialNameC2ENS_10StringViewEPKNS0_4NodeE($call, $agg$tmp$byval_copy, $0); STACKTOP = sp; - return $5 | 0; + return $call | 0; } -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle10MemberExprEJRPNS2_4NodeERA2_KcS6_EEEPT_DpOT0_($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $$byval_copy = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, sp = 0; +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle11SpecialNameEJRA25_KcRPNS2_4NodeEEEEPT_DpOT0_($this, $args, $args1) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + var $0 = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, $call = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy = sp + 8 | 0; - $4 = sp; - $5 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 24) | 0; - $6 = HEAP32[$1 >> 2] | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($4, $2); - $7 = HEAP32[$3 >> 2] | 0; - HEAP32[$$byval_copy >> 2] = HEAP32[$4 >> 2]; - HEAP32[$$byval_copy + 4 >> 2] = HEAP32[$4 + 4 >> 2]; - __ZN12_GLOBAL__N_116itanium_demangle10MemberExprC2EPKNS0_4NodeENS_10StringViewES4_($5, $6, $$byval_copy, $7); + $agg$tmp$byval_copy = sp + 8 | 0; + $agg$tmp = sp; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 20) | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, $args); + $0 = HEAP32[$args1 >> 2] | 0; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_116itanium_demangle11SpecialNameC2ENS_10StringViewEPKNS0_4NodeE($call, $agg$tmp$byval_copy, $0); STACKTOP = sp; - return $5 | 0; + return $call | 0; } -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle12TemplateArgsEJNS2_9NodeArrayEEEEPT_DpOT0_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $10 = 0, $2 = 0, $3 = 0, $4 = 0, $9 = 0, $tmpcast$byval_copy = 0, sp = 0; +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle11SpecialNameEJRA22_KcRPNS2_4NodeEEEEPT_DpOT0_($this, $args, $args1) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + var $0 = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, $call = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $tmpcast$byval_copy = sp + 8 | 0; - $2 = sp; - $3 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 16) | 0; - $4 = $1; - $9 = HEAP32[$4 + 4 >> 2] | 0; - $10 = $2; - HEAP32[$10 >> 2] = HEAP32[$4 >> 2]; - HEAP32[$10 + 4 >> 2] = $9; - HEAP32[$tmpcast$byval_copy >> 2] = HEAP32[$2 >> 2]; - HEAP32[$tmpcast$byval_copy + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - __ZN12_GLOBAL__N_116itanium_demangle12TemplateArgsC2ENS0_9NodeArrayE($3, $tmpcast$byval_copy); + $agg$tmp$byval_copy = sp + 8 | 0; + $agg$tmp = sp; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 20) | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, $args); + $0 = HEAP32[$args1 >> 2] | 0; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_116itanium_demangle11SpecialNameC2ENS_10StringViewEPKNS0_4NodeE($call, $agg$tmp$byval_copy, $0); STACKTOP = sp; - return $3 | 0; + return $call | 0; } -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle12EnableIfAttrEJNS2_9NodeArrayEEEEPT_DpOT0_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $10 = 0, $2 = 0, $3 = 0, $4 = 0, $9 = 0, $tmpcast$byval_copy = 0, sp = 0; +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle11SpecialNameEJRA20_KcRPNS2_4NodeEEEEPT_DpOT0_($this, $args, $args1) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + var $0 = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, $call = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $tmpcast$byval_copy = sp + 8 | 0; - $2 = sp; - $3 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 16) | 0; - $4 = $1; - $9 = HEAP32[$4 + 4 >> 2] | 0; - $10 = $2; - HEAP32[$10 >> 2] = HEAP32[$4 >> 2]; - HEAP32[$10 + 4 >> 2] = $9; - HEAP32[$tmpcast$byval_copy >> 2] = HEAP32[$2 >> 2]; - HEAP32[$tmpcast$byval_copy + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - __ZN12_GLOBAL__N_116itanium_demangle12EnableIfAttrC2ENS0_9NodeArrayE($3, $tmpcast$byval_copy); + $agg$tmp$byval_copy = sp + 8 | 0; + $agg$tmp = sp; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 20) | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, $args); + $0 = HEAP32[$args1 >> 2] | 0; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_116itanium_demangle11SpecialNameC2ENS_10StringViewEPKNS0_4NodeE($call, $agg$tmp$byval_copy, $0); STACKTOP = sp; - return $3 | 0; + return $call | 0; } -function __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE9__get_dayERiRS4_S4_RjRKNS_5ctypeIwEE($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$byval_copy = 0, $6 = 0, $8 = 0, $9 = 0, sp = 0; +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle11SpecialNameEJRA19_KcRPNS2_4NodeEEEEPT_DpOT0_($this, $args, $args1) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + var $0 = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, $call = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy = sp + 4 | 0; - $6 = sp; - HEAP32[$6 >> 2] = HEAP32[$3 >> 2]; - HEAP32[$$byval_copy >> 2] = HEAP32[$6 >> 2]; - $8 = __ZNSt3__220__get_up_to_n_digitsIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEEEiRT0_S5_RjRKNS_5ctypeIT_EEi($2, $$byval_copy, $4, $5, 2) | 0; - $9 = HEAP32[$4 >> 2] | 0; - if (($8 + -1 | 0) >>> 0 < 31 & ($9 & 4 | 0) == 0) HEAP32[$1 >> 2] = $8; else HEAP32[$4 >> 2] = $9 | 4; + $agg$tmp$byval_copy = sp + 8 | 0; + $agg$tmp = sp; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 20) | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, $args); + $0 = HEAP32[$args1 >> 2] | 0; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_116itanium_demangle11SpecialNameC2ENS_10StringViewEPKNS0_4NodeE($call, $agg$tmp$byval_copy, $0); STACKTOP = sp; - return; + return $call | 0; } -function __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE18__get_day_year_numERiRS4_S4_RjRKNS_5ctypeIwEE($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$byval_copy = 0, $6 = 0, $8 = 0, $9 = 0, sp = 0; +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle11SpecialNameEJRA18_KcRPNS2_4NodeEEEEPT_DpOT0_($this, $args, $args1) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + var $0 = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, $call = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy = sp + 4 | 0; - $6 = sp; - HEAP32[$6 >> 2] = HEAP32[$3 >> 2]; - HEAP32[$$byval_copy >> 2] = HEAP32[$6 >> 2]; - $8 = __ZNSt3__220__get_up_to_n_digitsIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEEEiRT0_S5_RjRKNS_5ctypeIT_EEi($2, $$byval_copy, $4, $5, 3) | 0; - $9 = HEAP32[$4 >> 2] | 0; - if (($8 | 0) < 366 & ($9 & 4 | 0) == 0) HEAP32[$1 >> 2] = $8; else HEAP32[$4 >> 2] = $9 | 4; + $agg$tmp$byval_copy = sp + 8 | 0; + $agg$tmp = sp; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 20) | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, $args); + $0 = HEAP32[$args1 >> 2] | 0; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_116itanium_demangle11SpecialNameC2ENS_10StringViewEPKNS0_4NodeE($call, $agg$tmp$byval_copy, $0); STACKTOP = sp; - return; + return $call | 0; } -function __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE9__get_dayERiRS4_S4_RjRKNS_5ctypeIcEE($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$byval_copy = 0, $6 = 0, $8 = 0, $9 = 0, sp = 0; +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle11SpecialNameEJRA14_KcRPNS2_4NodeEEEEPT_DpOT0_($this, $args, $args1) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + var $0 = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, $call = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy = sp + 4 | 0; - $6 = sp; - HEAP32[$6 >> 2] = HEAP32[$3 >> 2]; - HEAP32[$$byval_copy >> 2] = HEAP32[$6 >> 2]; - $8 = __ZNSt3__220__get_up_to_n_digitsIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEEiRT0_S5_RjRKNS_5ctypeIT_EEi($2, $$byval_copy, $4, $5, 2) | 0; - $9 = HEAP32[$4 >> 2] | 0; - if (($8 + -1 | 0) >>> 0 < 31 & ($9 & 4 | 0) == 0) HEAP32[$1 >> 2] = $8; else HEAP32[$4 >> 2] = $9 | 4; + $agg$tmp$byval_copy = sp + 8 | 0; + $agg$tmp = sp; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 20) | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, $args); + $0 = HEAP32[$args1 >> 2] | 0; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_116itanium_demangle11SpecialNameC2ENS_10StringViewEPKNS0_4NodeE($call, $agg$tmp$byval_copy, $0); STACKTOP = sp; - return; + return $call | 0; } -function __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE18__get_day_year_numERiRS4_S4_RjRKNS_5ctypeIcEE($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$byval_copy = 0, $6 = 0, $8 = 0, $9 = 0, sp = 0; +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle11SpecialNameEJRA12_KcRPNS2_4NodeEEEEPT_DpOT0_($this, $args, $args1) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + var $0 = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, $call = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy = sp + 4 | 0; - $6 = sp; - HEAP32[$6 >> 2] = HEAP32[$3 >> 2]; - HEAP32[$$byval_copy >> 2] = HEAP32[$6 >> 2]; - $8 = __ZNSt3__220__get_up_to_n_digitsIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEEiRT0_S5_RjRKNS_5ctypeIT_EEi($2, $$byval_copy, $4, $5, 3) | 0; - $9 = HEAP32[$4 >> 2] | 0; - if (($8 | 0) < 366 & ($9 & 4 | 0) == 0) HEAP32[$1 >> 2] = $8; else HEAP32[$4 >> 2] = $9 | 4; + $agg$tmp$byval_copy = sp + 8 | 0; + $agg$tmp = sp; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 20) | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, $args); + $0 = HEAP32[$args1 >> 2] | 0; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_116itanium_demangle11SpecialNameC2ENS_10StringViewEPKNS0_4NodeE($call, $agg$tmp$byval_copy, $0); STACKTOP = sp; - return; + return $call | 0; } -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8CastExprEJRA17_KcRPNS2_4NodeES9_EEEPT_DpOT0_($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $$byval_copy = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, sp = 0; +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle11SpecialNameEJRA9_KcRPNS2_4NodeEEEEPT_DpOT0_($this, $args, $args1) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + var $0 = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, $call = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy = sp + 8 | 0; - $4 = sp; - $5 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 24) | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($4, $1); - $6 = HEAP32[$2 >> 2] | 0; - $7 = HEAP32[$3 >> 2] | 0; - HEAP32[$$byval_copy >> 2] = HEAP32[$4 >> 2]; - HEAP32[$$byval_copy + 4 >> 2] = HEAP32[$4 + 4 >> 2]; - __ZN12_GLOBAL__N_116itanium_demangle8CastExprC2ENS_10StringViewEPKNS0_4NodeES5_($5, $$byval_copy, $6, $7); + $agg$tmp$byval_copy = sp + 8 | 0; + $agg$tmp = sp; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 20) | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, $args); + $0 = HEAP32[$args1 >> 2] | 0; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_116itanium_demangle11SpecialNameC2ENS_10StringViewEPKNS0_4NodeE($call, $agg$tmp$byval_copy, $0); STACKTOP = sp; - return $5 | 0; + return $call | 0; } -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8CastExprEJRA13_KcRPNS2_4NodeES9_EEEPT_DpOT0_($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $$byval_copy = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, sp = 0; +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle11PostfixExprEJRPNS2_4NodeERA3_KcEEEPT_DpOT0_($this, $args, $args1) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + var $0 = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, $call = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy = sp + 8 | 0; - $4 = sp; - $5 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 24) | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($4, $1); - $6 = HEAP32[$2 >> 2] | 0; - $7 = HEAP32[$3 >> 2] | 0; - HEAP32[$$byval_copy >> 2] = HEAP32[$4 >> 2]; - HEAP32[$$byval_copy + 4 >> 2] = HEAP32[$4 + 4 >> 2]; - __ZN12_GLOBAL__N_116itanium_demangle8CastExprC2ENS_10StringViewEPKNS0_4NodeES5_($5, $$byval_copy, $6, $7); + $agg$tmp$byval_copy = sp + 8 | 0; + $agg$tmp = sp; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 20) | 0; + $0 = HEAP32[$args >> 2] | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, $args1); + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_116itanium_demangle11PostfixExprC2EPKNS0_4NodeENS_10StringViewE($call, $0, $agg$tmp$byval_copy); STACKTOP = sp; - return $5 | 0; + return $call | 0; } -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8CastExprEJRA12_KcRPNS2_4NodeES9_EEEPT_DpOT0_($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $$byval_copy = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, sp = 0; +function ___fflush_unlocked($f) { + $f = $f | 0; + var $4 = 0, $5 = 0, $rend = 0, $retval$0 = 0, $rpos = 0, $sub$ptr$sub = 0, $wbase = 0, $wpos = 0, label = 0; + $wpos = $f + 20 | 0; + $wbase = $f + 28 | 0; + if ((HEAP32[$wpos >> 2] | 0) >>> 0 > (HEAP32[$wbase >> 2] | 0) >>> 0 ? (FUNCTION_TABLE_iiii[HEAP32[$f + 36 >> 2] & 63]($f, 0, 0) | 0, (HEAP32[$wpos >> 2] | 0) == 0) : 0) $retval$0 = -1; else { + $rpos = $f + 4 | 0; + $4 = HEAP32[$rpos >> 2] | 0; + $rend = $f + 8 | 0; + $5 = HEAP32[$rend >> 2] | 0; + if ($4 >>> 0 < $5 >>> 0) { + $sub$ptr$sub = $4 - $5 | 0; + FUNCTION_TABLE_iiiii[HEAP32[$f + 40 >> 2] & 15]($f, $sub$ptr$sub, (($sub$ptr$sub | 0) < 0) << 31 >> 31, 1) | 0; + getTempRet0() | 0; + } + HEAP32[$f + 16 >> 2] = 0; + HEAP32[$wbase >> 2] = 0; + HEAP32[$wpos >> 2] = 0; + HEAP32[$rend >> 2] = 0; + HEAP32[$rpos >> 2] = 0; + $retval$0 = 0; + } + return $retval$0 | 0; +} + +function __ZNSt3__214__num_put_base18__identify_paddingEPcS1_RKNS_8ios_baseE($__nb, $__ne, $__iob) { + $__nb = $__nb | 0; + $__ne = $__ne | 0; + $__iob = $__iob | 0; + var $1 = 0, $retval$0 = 0, label = 0; + L1 : do switch ((HEAP32[$__iob + 4 >> 2] & 176) << 24 >> 24) { + case 16: + { + $1 = HEAP8[$__nb >> 0] | 0; + switch ($1 << 24 >> 24) { + case 43: + case 45: + { + $retval$0 = $__nb + 1 | 0; + break L1; + break; + } + default: + {} + } + if (($__ne - $__nb | 0) > 1 & $1 << 24 >> 24 == 48) { + switch (HEAP8[$__nb + 1 >> 0] | 0) { + case 88: + case 120: + break; + default: + { + label = 7; + break L1; + } + } + $retval$0 = $__nb + 2 | 0; + } else label = 7; + break; + } + case 32: + { + $retval$0 = $__ne; + break; + } + default: + label = 7; + } while (0); + if ((label | 0) == 7) $retval$0 = $__nb; + return $retval$0 | 0; +} + +function __ZNK12_GLOBAL__N_116itanium_demangle13ReferenceType8collapseERNS_12OutputStreamE($agg$result, $this, $S) { + $agg$result = $agg$result | 0; + $this = $this | 0; + $S = $S | 0; + var $$in = 0, $0 = 0, $1 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $call = 0, $second$i$i = 0; + $0 = HEAP32[$this + 12 >> 2] | 0; + HEAP32[$agg$result >> 2] = $0; + $second$i$i = $agg$result + 4 | 0; + $1 = HEAP32[$this + 8 >> 2] | 0; + HEAP32[$second$i$i >> 2] = $1; + $$in = $1; + $7 = $0; + while (1) { + $call = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$$in >> 2] | 0) + 12 >> 2] & 127]($$in, $S) | 0; + if ((__ZNK12_GLOBAL__N_116itanium_demangle4Node7getKindEv($call) | 0) << 24 >> 24 != 12) break; + $5 = HEAP32[$call + 8 >> 2] | 0; + HEAP32[$second$i$i >> 2] = $5; + $6 = HEAP32[$call + 12 >> 2] | 0; + $8 = ($6 | 0) < ($7 | 0) ? $6 : $7; + HEAP32[$agg$result >> 2] = $8; + $$in = $5; + $7 = $8; + } + return; +} + +function __ZNSt3__211__stdoutbufIwE6xsputnEPKwl($this, $__s, $__n) { + $this = $this | 0; + $__s = $__s | 0; + $__n = $__n | 0; + var $2 = 0, $__i$0 = 0, $__s$addr$0 = 0, $call2 = 0, $call3 = 0, $retval$0 = 0; + L1 : do if (!(HEAP8[$this + 44 >> 0] | 0)) { + $__i$0 = 0; + $__s$addr$0 = $__s; + while (1) { + if (($__i$0 | 0) >= ($__n | 0)) { + $retval$0 = $__i$0; + break L1; + } + $2 = HEAP32[(HEAP32[$this >> 2] | 0) + 52 >> 2] | 0; + $call2 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$__s$addr$0 >> 2] | 0) | 0; + $call3 = FUNCTION_TABLE_iii[$2 & 127]($this, $call2) | 0; + if (($call3 | 0) == (__ZNSt3__211char_traitsIwE3eofEv() | 0)) { + $retval$0 = $__i$0; + break L1; + } + $__i$0 = $__i$0 + 1 | 0; + $__s$addr$0 = $__s$addr$0 + 4 | 0; + } + } else $retval$0 = _fwrite($__s, 4, $__n, HEAP32[$this + 32 >> 2] | 0) | 0; while (0); + return $retval$0 | 0; +} + +function __ZNSt3__211__stdoutbufIcE6xsputnEPKcl($this, $__s, $__n) { + $this = $this | 0; + $__s = $__s | 0; + $__n = $__n | 0; + var $2 = 0, $__i$0 = 0, $__s$addr$0 = 0, $call2 = 0, $call3 = 0, $retval$0 = 0; + L1 : do if (!(HEAP8[$this + 44 >> 0] | 0)) { + $__i$0 = 0; + $__s$addr$0 = $__s; + while (1) { + if (($__i$0 | 0) >= ($__n | 0)) { + $retval$0 = $__i$0; + break L1; + } + $2 = HEAP32[(HEAP32[$this >> 2] | 0) + 52 >> 2] | 0; + $call2 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$__s$addr$0 >> 0] | 0) | 0; + $call3 = FUNCTION_TABLE_iii[$2 & 127]($this, $call2) | 0; + if (($call3 | 0) == (__ZNSt3__211char_traitsIcE3eofEv() | 0)) { + $retval$0 = $__i$0; + break L1; + } + $__i$0 = $__i$0 + 1 | 0; + $__s$addr$0 = $__s$addr$0 + 1 | 0; + } + } else $retval$0 = _fwrite($__s, 1, $__n, HEAP32[$this + 32 >> 2] | 0) | 0; while (0); + return $retval$0 | 0; +} + +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8NameTypeEJRNS_10StringViewEEEEPT_DpOT0_($this, $args) { + $this = $this | 0; + $args = $args | 0; + var $0 = 0, $5 = 0, $6 = 0, $agg$tmp = 0, $call = 0, $tmpcast$byval_copy = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy = sp + 8 | 0; - $4 = sp; - $5 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 24) | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($4, $1); - $6 = HEAP32[$2 >> 2] | 0; - $7 = HEAP32[$3 >> 2] | 0; - HEAP32[$$byval_copy >> 2] = HEAP32[$4 >> 2]; - HEAP32[$$byval_copy + 4 >> 2] = HEAP32[$4 + 4 >> 2]; - __ZN12_GLOBAL__N_116itanium_demangle8CastExprC2ENS_10StringViewEPKNS0_4NodeES5_($5, $$byval_copy, $6, $7); + $tmpcast$byval_copy = sp + 8 | 0; + $agg$tmp = sp; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 16) | 0; + $0 = $args; + $5 = HEAP32[$0 + 4 >> 2] | 0; + $6 = $agg$tmp; + HEAP32[$6 >> 2] = HEAP32[$0 >> 2]; + HEAP32[$6 + 4 >> 2] = $5; + HEAP32[$tmpcast$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$tmpcast$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_116itanium_demangle8NameTypeC2ENS_10StringViewE($call, $tmpcast$byval_copy); STACKTOP = sp; - return $5 | 0; + return $call | 0; } -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8CastExprEJRA11_KcRPNS2_4NodeES9_EEEPT_DpOT0_($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $$byval_copy = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, sp = 0; +function _jcopy_sample_rows($input_array, $source_row, $output_array, $dest_row, $num_rows, $num_cols) { + $input_array = $input_array | 0; + $source_row = $source_row | 0; + $output_array = $output_array | 0; + $dest_row = $dest_row | 0; + $num_rows = $num_rows | 0; + $num_cols = $num_cols | 0; + var $input_array$addr$010 = 0, $output_array$addr$09 = 0, $row$011 = 0; + if (($num_rows | 0) <= 0) return; + $input_array$addr$010 = $input_array + ($source_row << 2) | 0; + $output_array$addr$09 = $output_array + ($dest_row << 2) | 0; + $row$011 = $num_rows; + while (1) { + _memcpy(HEAP32[$output_array$addr$09 >> 2] | 0, HEAP32[$input_array$addr$010 >> 2] | 0, $num_cols | 0) | 0; + if (($row$011 | 0) > 1) { + $input_array$addr$010 = $input_array$addr$010 + 4 | 0; + $output_array$addr$09 = $output_array$addr$09 + 4 | 0; + $row$011 = $row$011 + -1 | 0; + } else break; + } + return; +} + +function __ZNSt3__214__split_bufferIPNS_6locale5facetERNS_15__sso_allocatorIS3_Lm28EEEEC2EmmS6_($this, $__cap, $__start, $__a) { + $this = $this | 0; + $__cap = $__cap | 0; + $__start = $__start | 0; + $__a = $__a | 0; + var $__allocated_$i$i = 0, $__value_$i1$i = 0, $add$ptr = 0, $cond = 0; + $__value_$i1$i = $this + 12 | 0; + HEAP32[$__value_$i1$i >> 2] = 0; + HEAP32[$this + 16 >> 2] = $__a; + do if ($__cap) { + $__allocated_$i$i = $__a + 112 | 0; + if ($__cap >>> 0 < 29 & (HEAP8[$__allocated_$i$i >> 0] | 0) == 0) { + HEAP8[$__allocated_$i$i >> 0] = 1; + $cond = $__a; + break; + } else { + $cond = __Znwm($__cap << 2) | 0; + break; + } + } else $cond = 0; while (0); + HEAP32[$this >> 2] = $cond; + $add$ptr = $cond + ($__start << 2) | 0; + HEAP32[$this + 8 >> 2] = $add$ptr; + HEAP32[$this + 4 >> 2] = $add$ptr; + HEAP32[$__value_$i1$i >> 2] = $cond + ($__cap << 2); + return; +} + +function __ZN6vision28BinaryHierarchicalClusteringILi96EEC2Ev($this) { + $this = $this | 0; + var $mBinarykMedoids = 0, $mQueryReverseIndex = 0; + HEAP32[$this >> 2] = 1234; + HEAP32[$this + 4 >> 2] = 0; + HEAP32[$this + 8 >> 2] = 0; + $mBinarykMedoids = $this + 12 | 0; + __ZN6vision14BinarykMedoidsILi96EEC2ERi($mBinarykMedoids, $this); + $mQueryReverseIndex = $this + 72 | 0; + HEAP32[$this + 100 >> 2] = 0; + HEAP32[$this + 104 >> 2] = 0; + HEAP32[$mQueryReverseIndex >> 2] = 0; + HEAP32[$mQueryReverseIndex + 4 >> 2] = 0; + HEAP32[$mQueryReverseIndex + 8 >> 2] = 0; + HEAP32[$mQueryReverseIndex + 12 >> 2] = 0; + HEAP32[$mQueryReverseIndex + 16 >> 2] = 0; + HEAP32[$mQueryReverseIndex + 20 >> 2] = 0; + HEAP32[$this + 108 >> 2] = 16; + __ZN6vision14BinarykMedoidsILi96EE4setkEi($mBinarykMedoids, 8); + __ZN6vision14BinarykMedoidsILi96EE16setNumHypothesesEi($mBinarykMedoids, 1); + return; +} + +function _arSetDebugMode($handle, $mode) { + $handle = $handle | 0; + $mode = $mode | 0; + var $bwImage = 0, $call = 0, $retval$0 = 0, $vararg_buffer = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy = sp + 8 | 0; - $4 = sp; - $5 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 24) | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($4, $1); - $6 = HEAP32[$2 >> 2] | 0; - $7 = HEAP32[$3 >> 2] | 0; - HEAP32[$$byval_copy >> 2] = HEAP32[$4 >> 2]; - HEAP32[$$byval_copy + 4 >> 2] = HEAP32[$4 + 4 >> 2]; - __ZN12_GLOBAL__N_116itanium_demangle8CastExprC2ENS_10StringViewEPKNS0_4NodeES5_($5, $$byval_copy, $6, $7); + $vararg_buffer = sp; + do if ($handle) if ((HEAP32[$handle >> 2] | 0) != ($mode | 0)) { + HEAP32[$handle >> 2] = $mode; + if (!$mode) { + $bwImage = $handle + 4834148 | 0; + _free(HEAP32[$bwImage >> 2] | 0); + HEAP32[$bwImage >> 2] = 0; + $retval$0 = 0; + break; + } + $call = _malloc(Math_imul(HEAP32[$handle + 40 >> 2] | 0, HEAP32[$handle + 36 >> 2] | 0) | 0) | 0; + HEAP32[$handle + 4834148 >> 2] = $call; + if (!$call) { + _arLog(0, 3, 46772, $vararg_buffer); + _exit(1); + } else $retval$0 = 0; + } else $retval$0 = 0; else $retval$0 = -1; while (0); STACKTOP = sp; - return $5 | 0; + return $retval$0 | 0; } -function __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE11__get_monthERiRS4_S4_RjRKNS_5ctypeIwEE($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$byval_copy = 0, $6 = 0, $8 = 0, $9 = 0, sp = 0; +function __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE11__get_year4ERiRS4_S4_RjRKNS_5ctypeIwEE($this, $__y, $__b, $__e, $__err, $__ct) { + $this = $this | 0; + $__y = $__y | 0; + $__b = $__b | 0; + $__e = $__e | 0; + $__err = $__err | 0; + $__ct = $__ct | 0; + var $agg$tmp = 0, $agg$tmp$byval_copy = 0, $call = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy = sp + 4 | 0; - $6 = sp; - HEAP32[$6 >> 2] = HEAP32[$3 >> 2]; - HEAP32[$$byval_copy >> 2] = HEAP32[$6 >> 2]; - $8 = __ZNSt3__220__get_up_to_n_digitsIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEEEiRT0_S5_RjRKNS_5ctypeIT_EEi($2, $$byval_copy, $4, $5, 2) | 0; - $9 = HEAP32[$4 >> 2] | 0; - if (($8 | 0) < 13 & ($9 & 4 | 0) == 0) HEAP32[$1 >> 2] = $8 + -1; else HEAP32[$4 >> 2] = $9 | 4; + $agg$tmp$byval_copy = sp + 4 | 0; + $agg$tmp = sp; + HEAP32[$agg$tmp >> 2] = HEAP32[$__e >> 2]; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + $call = __ZNSt3__220__get_up_to_n_digitsIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEEEiRT0_S5_RjRKNS_5ctypeIT_EEi($__b, $agg$tmp$byval_copy, $__err, $__ct, 4) | 0; + if (!(HEAP32[$__err >> 2] & 4)) HEAP32[$__y >> 2] = $call + -1900; STACKTOP = sp; return; } -function __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE11__get_monthERiRS4_S4_RjRKNS_5ctypeIcEE($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$byval_copy = 0, $6 = 0, $8 = 0, $9 = 0, sp = 0; +function __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE11__get_year4ERiRS4_S4_RjRKNS_5ctypeIcEE($this, $__y, $__b, $__e, $__err, $__ct) { + $this = $this | 0; + $__y = $__y | 0; + $__b = $__b | 0; + $__e = $__e | 0; + $__err = $__err | 0; + $__ct = $__ct | 0; + var $agg$tmp = 0, $agg$tmp$byval_copy = 0, $call = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy = sp + 4 | 0; - $6 = sp; - HEAP32[$6 >> 2] = HEAP32[$3 >> 2]; - HEAP32[$$byval_copy >> 2] = HEAP32[$6 >> 2]; - $8 = __ZNSt3__220__get_up_to_n_digitsIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEEiRT0_S5_RjRKNS_5ctypeIT_EEi($2, $$byval_copy, $4, $5, 2) | 0; - $9 = HEAP32[$4 >> 2] | 0; - if (($8 | 0) < 13 & ($9 & 4 | 0) == 0) HEAP32[$1 >> 2] = $8 + -1; else HEAP32[$4 >> 2] = $9 | 4; + $agg$tmp$byval_copy = sp + 4 | 0; + $agg$tmp = sp; + HEAP32[$agg$tmp >> 2] = HEAP32[$__e >> 2]; + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + $call = __ZNSt3__220__get_up_to_n_digitsIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEEiRT0_S5_RjRKNS_5ctypeIT_EEi($__b, $agg$tmp$byval_copy, $__err, $__ct, 4) | 0; + if (!(HEAP32[$__err >> 2] & 4)) HEAP32[$__y >> 2] = $call + -1900; STACKTOP = sp; return; } -function __ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_6vectorIN6vision7Point3dIfEENS_9allocatorIS5_EEEEEENS_22__unordered_map_hasherIiS9_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS9_NS_8equal_toIiEELb1EEENS6_IS9_EEE21__construct_node_hashIRKNS_21piecewise_construct_tEJNS_5tupleIJRKiEEENSO_IJEEEEEENS_10unique_ptrINS_11__hash_nodeIS9_PvEENS_22__hash_node_destructorINS6_ISW_EEEEEEmOT_DpOT0_($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $7 = 0; - $7 = __Znwm(24) | 0; - HEAP32[$0 >> 2] = $7; - HEAP32[$0 + 4 >> 2] = $1 + 8; - HEAP32[$7 + 8 >> 2] = HEAP32[HEAP32[$4 >> 2] >> 2]; - HEAP32[$7 + 12 >> 2] = 0; - HEAP32[$7 + 16 >> 2] = 0; - HEAP32[$7 + 20 >> 2] = 0; - HEAP8[$0 + 8 >> 0] = 1; - HEAP32[$7 + 4 >> 2] = $2; - HEAP32[$7 >> 2] = 0; - return; -} - -function __ZN6vision19downsample_bilinearEPfPKfmm($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $$0 = 0, $$030 = 0, $$031 = 0, $$032 = 0, $$033 = 0, $$1 = 0, $4 = 0, $5 = 0, $6 = 0, $8 = 0; - $4 = $2 >>> 1; - $5 = $3 >>> 1; - $6 = $2 << 1; - $$030 = 0; - $$033 = $0; +function _arUtilMatMuldff($s1, $s2, $d) { + $s1 = $s1 | 0; + $s2 = $s2 | 0; + $d = $d | 0; + var $arrayidx14 = 0, $arrayidx26 = 0, $arrayidx4 = 0, $arrayidx8 = 0, $i$0 = 0, $j$0 = 0; + $j$0 = 0; while (1) { - if (($$030 | 0) == ($5 | 0)) break; - $8 = $1 + ((Math_imul($6, $$030) | 0) << 2) | 0; - $$0 = 0; - $$031 = $8 + ($2 << 2) | 0; - $$032 = $8; - $$1 = $$033; + if (($j$0 | 0) == 3) break; + $arrayidx4 = $s1 + ($j$0 << 5) | 0; + $arrayidx8 = $s1 + ($j$0 << 5) + 8 | 0; + $arrayidx14 = $s1 + ($j$0 << 5) + 16 | 0; + $i$0 = 0; while (1) { - if (($$0 | 0) == ($4 | 0)) break; - HEAPF32[$$1 >> 2] = (+HEAPF32[$$032 >> 2] + +HEAPF32[$$032 + 4 >> 2] + +HEAPF32[$$031 >> 2] + +HEAPF32[$$031 + 4 >> 2]) * .25; - $$0 = $$0 + 1 | 0; - $$031 = $$031 + 8 | 0; - $$032 = $$032 + 8 | 0; - $$1 = $$1 + 4 | 0; + if (($i$0 | 0) == 4) break; + HEAPF32[$d + ($j$0 << 4) + ($i$0 << 2) >> 2] = +HEAPF32[$s2 + ($i$0 << 2) >> 2] * +HEAPF64[$arrayidx4 >> 3] + +HEAPF32[$s2 + 16 + ($i$0 << 2) >> 2] * +HEAPF64[$arrayidx8 >> 3] + +HEAPF32[$s2 + 32 + ($i$0 << 2) >> 2] * +HEAPF64[$arrayidx14 >> 3]; + $i$0 = $i$0 + 1 | 0; } - $$030 = $$030 + 1 | 0; - $$033 = $$033 + ($4 << 2) | 0; + $arrayidx26 = $d + ($j$0 << 4) + 12 | 0; + HEAPF32[$arrayidx26 >> 2] = +HEAPF32[$arrayidx26 >> 2] + +HEAPF64[$s1 + ($j$0 << 5) + 24 >> 3]; + $j$0 = $j$0 + 1 | 0; } - return; + return 0; } -function _icpGetQ_from_S($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$sink = 0.0, $$sink1 = 0.0, $11 = 0.0, $14 = 0.0, $2 = 0.0, $4 = 0, $5 = 0.0, $8 = 0, $9 = 0.0; - $2 = +HEAPF64[$1 >> 3]; - $4 = $1 + 8 | 0; - $5 = +HEAPF64[$4 >> 3]; - $8 = $1 + 16 | 0; - $9 = +HEAPF64[$8 >> 3]; - $11 = $2 * $2 + $5 * $5 + $9 * $9; - if ($11 == 0.0) { - HEAPF64[$0 >> 3] = 1.0; - HEAPF64[$0 + 8 >> 3] = 0.0; - $$sink = 0.0; - $$sink1 = 0.0; - } else { - $14 = +Math_sqrt(+$11); - HEAPF64[$0 >> 3] = $2 / $14; - HEAPF64[$0 + 8 >> 3] = +HEAPF64[$4 >> 3] / $14; - $$sink = $14; - $$sink1 = +HEAPF64[$8 >> 3] / $14; - } - HEAPF64[$0 + 16 >> 3] = $$sink1; - HEAPF64[$0 + 24 >> 3] = $$sink; - HEAPF64[$0 + 32 >> 3] = +HEAPF64[$1 + 24 >> 3]; - HEAPF64[$0 + 40 >> 3] = +HEAPF64[$1 + 32 >> 3]; - HEAPF64[$0 + 48 >> 3] = +HEAPF64[$1 + 40 >> 3]; - return; +function _arMatrixTrans($dest, $source) { + $dest = $dest | 0; + $source = $source | 0; + var $0 = 0, $2 = 0, $c$0 = 0, $p1$0 = 0, $p2$0 = 0, $p2$1 = 0, $r$0 = 0, $retval$0 = 0; + $0 = HEAP32[$dest + 4 >> 2] | 0; + L1 : do if (($0 | 0) == (HEAP32[$source + 8 >> 2] | 0) ? ($2 = HEAP32[$dest + 8 >> 2] | 0, ($2 | 0) == (HEAP32[$source + 4 >> 2] | 0)) : 0) { + $p2$0 = HEAP32[$dest >> 2] | 0; + $r$0 = 0; + while (1) { + if (($r$0 | 0) >= ($0 | 0)) { + $retval$0 = 0; + break L1; + } + $c$0 = 0; + $p1$0 = (HEAP32[$source >> 2] | 0) + ($r$0 << 3) | 0; + $p2$1 = $p2$0; + while (1) { + if (($c$0 | 0) >= ($2 | 0)) break; + HEAPF64[$p2$1 >> 3] = +HEAPF64[$p1$0 >> 3]; + $c$0 = $c$0 + 1 | 0; + $p1$0 = $p1$0 + ($0 << 3) | 0; + $p2$1 = $p2$1 + 8 | 0; + } + $p2$0 = $p2$1; + $r$0 = $r$0 + 1 | 0; + } + } else $retval$0 = -1; while (0); + return $retval$0 | 0; } -function _getProjectionNearPlane($id) { - $id = $id | 0; - var $id$addr = 0, $nearPlane = 0, $retval$0 = 0.0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $id$addr = sp; - HEAP32[$id$addr >> 2] = $id; - if (!(__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(65260, $id$addr) | 0)) $retval$0 = -1.0; else { - $nearPlane = (__ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(65260, $id$addr) | 0) + 312 | 0; - $retval$0 = +HEAPF64[$nearPlane >> 3]; +function __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE6sentryD2Ev($this) { + $this = $this | 0; + var $0 = 0, $4 = 0, $5 = 0, $7 = 0, $__os_ = 0, $add$ptr = 0, $add$ptr30 = 0; + $__os_ = $this + 4 | 0; + $0 = HEAP32[$__os_ >> 2] | 0; + $add$ptr = $0 + (HEAP32[(HEAP32[$0 >> 2] | 0) + -12 >> 2] | 0) | 0; + if ((((HEAP32[$add$ptr + 24 >> 2] | 0 ? (HEAP32[$add$ptr + 16 >> 2] | 0) == 0 : 0) ? HEAP32[$add$ptr + 4 >> 2] & 8192 | 0 : 0) ? !(__ZSt18uncaught_exceptionv() | 0) : 0) ? ($4 = HEAP32[$__os_ >> 2] | 0, $5 = HEAP32[$4 + (HEAP32[(HEAP32[$4 >> 2] | 0) + -12 >> 2] | 0) + 24 >> 2] | 0, (FUNCTION_TABLE_ii[HEAP32[(HEAP32[$5 >> 2] | 0) + 24 >> 2] & 127]($5) | 0) == -1) : 0) { + $7 = HEAP32[$__os_ >> 2] | 0; + $add$ptr30 = $7 + (HEAP32[(HEAP32[$7 >> 2] | 0) + -12 >> 2] | 0) | 0; + __ZNSt3__28ios_base5clearEj($add$ptr30, HEAP32[$add$ptr30 + 16 >> 2] | 1); + } + return; +} + +function _arMatrixTransf($dest, $source) { + $dest = $dest | 0; + $source = $source | 0; + var $0 = 0, $2 = 0, $c$0 = 0, $p1$0 = 0, $p2$0 = 0, $p2$1 = 0, $r$0 = 0, $retval$0 = 0; + $0 = HEAP32[$dest + 4 >> 2] | 0; + L1 : do if (($0 | 0) == (HEAP32[$source + 8 >> 2] | 0) ? ($2 = HEAP32[$dest + 8 >> 2] | 0, ($2 | 0) == (HEAP32[$source + 4 >> 2] | 0)) : 0) { + $p2$0 = HEAP32[$dest >> 2] | 0; + $r$0 = 0; + while (1) { + if (($r$0 | 0) >= ($0 | 0)) { + $retval$0 = 0; + break L1; + } + $c$0 = 0; + $p1$0 = (HEAP32[$source >> 2] | 0) + ($r$0 << 2) | 0; + $p2$1 = $p2$0; + while (1) { + if (($c$0 | 0) >= ($2 | 0)) break; + HEAP32[$p2$1 >> 2] = HEAP32[$p1$0 >> 2]; + $c$0 = $c$0 + 1 | 0; + $p1$0 = $p1$0 + ($0 << 2) | 0; + $p2$1 = $p2$1 + 4 | 0; + } + $p2$0 = $p2$1; + $r$0 = $r$0 + 1 | 0; + } + } else $retval$0 = -1; while (0); + return $retval$0 | 0; +} + +function _arUtilMatMulf($s1, $s2, $d) { + $s1 = $s1 | 0; + $s2 = $s2 | 0; + $d = $d | 0; + var $arrayidx13 = 0, $arrayidx23 = 0, $arrayidx4 = 0, $arrayidx8 = 0, $i$0 = 0, $j$0 = 0; + $j$0 = 0; + while (1) { + if (($j$0 | 0) == 3) break; + $arrayidx4 = $s1 + ($j$0 << 4) | 0; + $arrayidx8 = $s1 + ($j$0 << 4) + 4 | 0; + $arrayidx13 = $s1 + ($j$0 << 4) + 8 | 0; + $i$0 = 0; + while (1) { + if (($i$0 | 0) == 4) break; + HEAPF32[$d + ($j$0 << 4) + ($i$0 << 2) >> 2] = +HEAPF32[$arrayidx4 >> 2] * +HEAPF32[$s2 + ($i$0 << 2) >> 2] + +HEAPF32[$arrayidx8 >> 2] * +HEAPF32[$s2 + 16 + ($i$0 << 2) >> 2] + +HEAPF32[$arrayidx13 >> 2] * +HEAPF32[$s2 + 32 + ($i$0 << 2) >> 2]; + $i$0 = $i$0 + 1 | 0; + } + $arrayidx23 = $d + ($j$0 << 4) + 12 | 0; + HEAPF32[$arrayidx23 >> 2] = +HEAPF32[$s1 + ($j$0 << 4) + 12 >> 2] + +HEAPF32[$arrayidx23 >> 2]; + $j$0 = $j$0 + 1 | 0; } - STACKTOP = sp; - return +$retval$0; + return 0; } -function _fclose($0) { - $0 = $0 | 0; - var $$pre = 0, $10 = 0, $15 = 0, $21 = 0, $25 = 0, $27 = 0, $30 = 0, $7 = 0, $8 = 0; - if ((HEAP32[$0 + 76 >> 2] | 0) > -1) $30 = ___lockfile($0) | 0; else $30 = 0; - ___unlist_locked_file($0); - $7 = (HEAP32[$0 >> 2] & 1 | 0) != 0; - if (!$7) { - $8 = ___ofl_lock() | 0; - $10 = HEAP32[$0 + 52 >> 2] | 0; - $$pre = $0 + 56 | 0; - if ($10 | 0) HEAP32[$10 + 56 >> 2] = HEAP32[$$pre >> 2]; - $15 = HEAP32[$$pre >> 2] | 0; - if ($15 | 0) HEAP32[$15 + 52 >> 2] = $10; - if ((HEAP32[$8 >> 2] | 0) == ($0 | 0)) HEAP32[$8 >> 2] = $15; - ___ofl_unlock(); +function _arUtilMatMul($s1, $s2, $d) { + $s1 = $s1 | 0; + $s2 = $s2 | 0; + $d = $d | 0; + var $arrayidx13 = 0, $arrayidx23 = 0, $arrayidx4 = 0, $arrayidx8 = 0, $i$0 = 0, $j$0 = 0; + $j$0 = 0; + while (1) { + if (($j$0 | 0) == 3) break; + $arrayidx4 = $s1 + ($j$0 << 5) | 0; + $arrayidx8 = $s1 + ($j$0 << 5) + 8 | 0; + $arrayidx13 = $s1 + ($j$0 << 5) + 16 | 0; + $i$0 = 0; + while (1) { + if (($i$0 | 0) == 4) break; + HEAPF64[$d + ($j$0 << 5) + ($i$0 << 3) >> 3] = +HEAPF64[$arrayidx4 >> 3] * +HEAPF64[$s2 + ($i$0 << 3) >> 3] + +HEAPF64[$arrayidx8 >> 3] * +HEAPF64[$s2 + 32 + ($i$0 << 3) >> 3] + +HEAPF64[$arrayidx13 >> 3] * +HEAPF64[$s2 + 64 + ($i$0 << 3) >> 3]; + $i$0 = $i$0 + 1 | 0; + } + $arrayidx23 = $d + ($j$0 << 5) + 24 | 0; + HEAPF64[$arrayidx23 >> 3] = +HEAPF64[$s1 + ($j$0 << 5) + 24 >> 3] + +HEAPF64[$arrayidx23 >> 3]; + $j$0 = $j$0 + 1 | 0; } - $21 = _fflush($0) | 0; - $25 = FUNCTION_TABLE_ii[HEAP32[$0 + 12 >> 2] & 127]($0) | 0 | $21; - $27 = HEAP32[$0 + 96 >> 2] | 0; - if ($27 | 0) _free($27); - if ($7) { - if ($30 | 0) ___unlockfile($0); - } else _free($0); - return $25 | 0; + return 0; } -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8NameTypeEJRNS_10StringViewEEEEPT_DpOT0_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $10 = 0, $2 = 0, $3 = 0, $4 = 0, $9 = 0, $tmpcast$byval_copy = 0, sp = 0; +function __ZNK12_GLOBAL__N_116itanium_demangle20PostfixQualifiedType9printLeftERNS_12OutputStreamE($this, $s) { + $this = $this | 0; + $s = $s | 0; + var $0 = 0, $2 = 0, $7 = 0, $8 = 0, $agg$tmp = 0, $tmpcast$byval_copy = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); $tmpcast$byval_copy = sp + 8 | 0; - $2 = sp; - $3 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 16) | 0; - $4 = $1; - $9 = HEAP32[$4 + 4 >> 2] | 0; - $10 = $2; - HEAP32[$10 >> 2] = HEAP32[$4 >> 2]; - HEAP32[$10 + 4 >> 2] = $9; - HEAP32[$tmpcast$byval_copy >> 2] = HEAP32[$2 >> 2]; - HEAP32[$tmpcast$byval_copy + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - __ZN12_GLOBAL__N_116itanium_demangle8NameTypeC2ENS_10StringViewE($3, $tmpcast$byval_copy); + $agg$tmp = sp; + $0 = HEAP32[$this + 8 >> 2] | 0; + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$0 >> 2] | 0) + 16 >> 2] & 255]($0, $s); + $2 = $this + 12 | 0; + $7 = HEAP32[$2 + 4 >> 2] | 0; + $8 = $agg$tmp; + HEAP32[$8 >> 2] = HEAP32[$2 >> 2]; + HEAP32[$8 + 4 >> 2] = $7; + HEAP32[$tmpcast$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$tmpcast$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($s, $tmpcast$byval_copy); STACKTOP = sp; - return $3 | 0; + return; } -function __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE13__get_weekdayERiRS4_S4_RjRKNS_5ctypeIwEE($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$byval_copy = 0, $6 = 0, $8 = 0, $9 = 0, sp = 0; +function __ZN6vision18BinomialPyramid32f18apply_filter_twiceERNS_5ImageERKS1_($this, $dst, $src) { + $this = $this | 0; + $dst = $dst | 0; + $src = $src | 0; + var $0 = 0, $call2 = 0, $call3 = 0, $call4 = 0, $tmp = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy = sp + 4 | 0; - $6 = sp; - HEAP32[$6 >> 2] = HEAP32[$3 >> 2]; - HEAP32[$$byval_copy >> 2] = HEAP32[$6 >> 2]; - $8 = __ZNSt3__220__get_up_to_n_digitsIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEEEiRT0_S5_RjRKNS_5ctypeIT_EEi($2, $$byval_copy, $4, $5, 1) | 0; - $9 = HEAP32[$4 >> 2] | 0; - if (($8 | 0) < 7 & ($9 & 4 | 0) == 0) HEAP32[$1 >> 2] = $8; else HEAP32[$4 >> 2] = $9 | 4; - STACKTOP = sp; - return; + STACKTOP = STACKTOP + 32 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); + $tmp = sp; + $0 = HEAP32[$this + 56 >> 2] | 0; + $call2 = __ZNK6vision5Image4typeEv($src) | 0; + $call3 = __ZNK6vision5Image5widthEv($src) | 0; + $call4 = __ZNK6vision5Image6heightEv($src) | 0; + __ZN6vision5ImageC2EPhNS_9ImageTypeEmmim($tmp, $0, $call2, $call3, $call4, __ZNK6vision5Image4stepEv($src) | 0, 1); + __ZN6vision18BinomialPyramid32f12apply_filterERNS_5ImageERKS1_($this, $tmp, $src); + __ZN6vision18BinomialPyramid32f12apply_filterERNS_5ImageERKS1_($this, $dst, $tmp); + __ZN6vision5ImageD2Ev($tmp); + STACKTOP = sp; + return; +} + +function _fclose($f) { + $f = $f | 0; + var $$pre = 0, $2 = 0, $5 = 0, $9 = 0, $call1 = 0, $call18 = 0, $cond = 0, $or = 0, $tobool = 0; + if ((HEAP32[$f + 76 >> 2] | 0) > -1) $cond = ___lockfile($f) | 0; else $cond = 0; + ___unlist_locked_file($f); + $tobool = (HEAP32[$f >> 2] & 1 | 0) != 0; + if (!$tobool) { + $call1 = ___ofl_lock() | 0; + $2 = HEAP32[$f + 52 >> 2] | 0; + $$pre = $f + 56 | 0; + if ($2 | 0) HEAP32[$2 + 56 >> 2] = HEAP32[$$pre >> 2]; + $5 = HEAP32[$$pre >> 2] | 0; + if ($5 | 0) HEAP32[$5 + 52 >> 2] = $2; + if ((HEAP32[$call1 >> 2] | 0) == ($f | 0)) HEAP32[$call1 >> 2] = $5; + ___ofl_unlock(); + } + $call18 = _fflush($f) | 0; + $or = FUNCTION_TABLE_ii[HEAP32[$f + 12 >> 2] & 127]($f) | 0 | $call18; + $9 = HEAP32[$f + 96 >> 2] | 0; + if ($9 | 0) _free($9); + if ($tobool) { + if ($cond | 0) ___unlockfile($f); + } else _free($f); + return $or | 0; } -function __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE12__get_secondERiRS4_S4_RjRKNS_5ctypeIwEE($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$byval_copy = 0, $6 = 0, $8 = 0, $9 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy = sp + 4 | 0; - $6 = sp; - HEAP32[$6 >> 2] = HEAP32[$3 >> 2]; - HEAP32[$$byval_copy >> 2] = HEAP32[$6 >> 2]; - $8 = __ZNSt3__220__get_up_to_n_digitsIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEEEiRT0_S5_RjRKNS_5ctypeIT_EEi($2, $$byval_copy, $4, $5, 2) | 0; - $9 = HEAP32[$4 >> 2] | 0; - if (($8 | 0) < 61 & ($9 & 4 | 0) == 0) HEAP32[$1 >> 2] = $8; else HEAP32[$4 >> 2] = $9 | 4; - STACKTOP = sp; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E20popTrailingNodeArrayEm($agg$result, $this, $FromPosition) { + $agg$result = $agg$result | 0; + $this = $this | 0; + $FromPosition = $FromPosition | 0; + var $Names = 0, $add$ptr = 0; + $Names = $this + 8 | 0; + $add$ptr = (__ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE5beginEv($Names) | 0) + ($FromPosition << 2) | 0; + __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E13makeNodeArrayIPPNS0_4NodeEEENS0_9NodeArrayET_SB_($agg$result, $this, $add$ptr, __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE3endEv($Names) | 0); + __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE8dropBackEm($Names, $FromPosition); return; } -function __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE12__get_minuteERiRS4_S4_RjRKNS_5ctypeIwEE($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$byval_copy = 0, $6 = 0, $8 = 0, $9 = 0, sp = 0; +function __ZN10emscripten8internal7InvokerIiJiiiEE6invokeEPFiiiiEiii($fn, $args, $args1, $args3) { + $fn = $fn | 0; + $args = $args | 0; + $args1 = $args1 | 0; + $args3 = $args3 | 0; + var $call = 0, $call5 = 0, $call6 = 0, $call7 = 0, $call8 = 0, $ref$tmp = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy = sp + 4 | 0; - $6 = sp; - HEAP32[$6 >> 2] = HEAP32[$3 >> 2]; - HEAP32[$$byval_copy >> 2] = HEAP32[$6 >> 2]; - $8 = __ZNSt3__220__get_up_to_n_digitsIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEEEiRT0_S5_RjRKNS_5ctypeIT_EEi($2, $$byval_copy, $4, $5, 2) | 0; - $9 = HEAP32[$4 >> 2] | 0; - if (($8 | 0) < 60 & ($9 & 4 | 0) == 0) HEAP32[$1 >> 2] = $8; else HEAP32[$4 >> 2] = $9 | 4; + $ref$tmp = sp; + $call = __ZN10emscripten8internal11BindingTypeIivE12fromWireTypeEi($args) | 0; + $call5 = __ZN10emscripten8internal11BindingTypeIivE12fromWireTypeEi($args1) | 0; + $call6 = __ZN10emscripten8internal11BindingTypeIivE12fromWireTypeEi($args3) | 0; + $call7 = FUNCTION_TABLE_iiii[$fn & 63]($call, $call5, $call6) | 0; + HEAP32[$ref$tmp >> 2] = $call7; + $call8 = __ZN10emscripten8internal11BindingTypeIivE10toWireTypeERKi($ref$tmp) | 0; STACKTOP = sp; - return; + return $call8 | 0; } -function __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE13__get_weekdayERiRS4_S4_RjRKNS_5ctypeIcEE($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$byval_copy = 0, $6 = 0, $8 = 0, $9 = 0, sp = 0; +function __ZN10emscripten8internal7InvokerIiJNSt3__212basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEE6invokeEPFiS8_EPNS0_11BindingTypeIS8_vEUt_E($fn, $args) { + $fn = $fn | 0; + $args = $args | 0; + var $agg$tmp = 0, $call = 0, $call2 = 0, $ref$tmp = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy = sp + 4 | 0; - $6 = sp; - HEAP32[$6 >> 2] = HEAP32[$3 >> 2]; - HEAP32[$$byval_copy >> 2] = HEAP32[$6 >> 2]; - $8 = __ZNSt3__220__get_up_to_n_digitsIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEEiRT0_S5_RjRKNS_5ctypeIT_EEi($2, $$byval_copy, $4, $5, 1) | 0; - $9 = HEAP32[$4 >> 2] | 0; - if (($8 | 0) < 7 & ($9 & 4 | 0) == 0) HEAP32[$1 >> 2] = $8; else HEAP32[$4 >> 2] = $9 | 4; + $ref$tmp = sp + 12 | 0; + $agg$tmp = sp; + __ZN10emscripten8internal11BindingTypeINSt3__212basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEvE12fromWireTypeEPNS9_Ut_E($agg$tmp, $args); + $call = FUNCTION_TABLE_ii[$fn & 127]($agg$tmp) | 0; + HEAP32[$ref$tmp >> 2] = $call; + $call2 = __ZN10emscripten8internal11BindingTypeIivE10toWireTypeERKi($ref$tmp) | 0; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($agg$tmp); STACKTOP = sp; - return; + return $call2 | 0; +} + +function _realloc($oldmem, $bytes) { + $oldmem = $oldmem | 0; + $bytes = $bytes | 0; + var $0 = 0, $call12 = 0, $call3 = 0, $call7 = 0, $mem$1 = 0, $sub = 0; + if (!$oldmem) { + $mem$1 = _malloc($bytes) | 0; + return $mem$1 | 0; + } + if ($bytes >>> 0 > 4294967231) { + $call3 = ___errno_location() | 0; + HEAP32[$call3 >> 2] = 48; + $mem$1 = 0; + return $mem$1 | 0; + } + $call7 = _try_realloc_chunk($oldmem + -8 | 0, $bytes >>> 0 < 11 ? 16 : $bytes + 11 & -8) | 0; + if ($call7 | 0) { + $mem$1 = $call7 + 8 | 0; + return $mem$1 | 0; + } + $call12 = _malloc($bytes) | 0; + if (!$call12) { + $mem$1 = 0; + return $mem$1 | 0; + } + $0 = HEAP32[$oldmem + -4 >> 2] | 0; + $sub = ($0 & -8) - (($0 & 3 | 0) == 0 ? 8 : 4) | 0; + _memcpy($call12 | 0, $oldmem | 0, ($sub >>> 0 < $bytes >>> 0 ? $sub : $bytes) | 0) | 0; + _free($oldmem); + $mem$1 = $call12; + return $mem$1 | 0; } -function __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE12__get_secondERiRS4_S4_RjRKNS_5ctypeIcEE($0, $1, $2, $3, $4, $5) { +function __ZNKSt3__27codecvtIDsc11__mbstate_tE6do_outERS1_PKDsS5_RS5_PcS7_RS7_($this, $0, $frm, $frm_end, $frm_nxt, $to, $to_end, $to_nxt) { + $this = $this | 0; $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$byval_copy = 0, $6 = 0, $8 = 0, $9 = 0, sp = 0; + $frm = $frm | 0; + $frm_end = $frm_end | 0; + $frm_nxt = $frm_nxt | 0; + $to = $to | 0; + $to_end = $to_end | 0; + $to_nxt = $to_nxt | 0; + var $_frm_nxt = 0, $_to_nxt = 0, $call = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy = sp + 4 | 0; - $6 = sp; - HEAP32[$6 >> 2] = HEAP32[$3 >> 2]; - HEAP32[$$byval_copy >> 2] = HEAP32[$6 >> 2]; - $8 = __ZNSt3__220__get_up_to_n_digitsIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEEiRT0_S5_RjRKNS_5ctypeIT_EEi($2, $$byval_copy, $4, $5, 2) | 0; - $9 = HEAP32[$4 >> 2] | 0; - if (($8 | 0) < 61 & ($9 & 4 | 0) == 0) HEAP32[$1 >> 2] = $8; else HEAP32[$4 >> 2] = $9 | 4; + $_frm_nxt = sp + 4 | 0; + $_to_nxt = sp; + HEAP32[$_frm_nxt >> 2] = $frm; + HEAP32[$_to_nxt >> 2] = $to; + $call = __ZNSt3__2L13utf16_to_utf8EPKtS1_RS1_PhS3_RS3_mNS_12codecvt_modeE($frm, $frm_end, $_frm_nxt, $to, $to_end, $_to_nxt, 1114111, 0) | 0; + HEAP32[$frm_nxt >> 2] = HEAP32[$_frm_nxt >> 2]; + HEAP32[$to_nxt >> 2] = HEAP32[$_to_nxt >> 2]; STACKTOP = sp; - return; + return $call | 0; } -function __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE12__get_minuteERiRS4_S4_RjRKNS_5ctypeIcEE($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$byval_copy = 0, $6 = 0, $8 = 0, $9 = 0, sp = 0; +function __ZNSt3__211__stdoutbufIwEC2EP8_IO_FILEP11__mbstate_t($this, $__fp, $__st) { + $this = $this | 0; + $__fp = $__fp | 0; + $__st = $__st | 0; + var $call$i = 0, $frombool = 0, $ref$tmp = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy = sp + 4 | 0; - $6 = sp; - HEAP32[$6 >> 2] = HEAP32[$3 >> 2]; - HEAP32[$$byval_copy >> 2] = HEAP32[$6 >> 2]; - $8 = __ZNSt3__220__get_up_to_n_digitsIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEEiRT0_S5_RjRKNS_5ctypeIT_EEi($2, $$byval_copy, $4, $5, 2) | 0; - $9 = HEAP32[$4 >> 2] | 0; - if (($8 | 0) < 60 & ($9 & 4 | 0) == 0) HEAP32[$1 >> 2] = $8; else HEAP32[$4 >> 2] = $9 | 4; + $ref$tmp = sp; + __ZNSt3__215basic_streambufIwNS_11char_traitsIwEEEC2Ev($this); + HEAP32[$this >> 2] = 20888; + HEAP32[$this + 32 >> 2] = $__fp; + __ZNSt3__26localeC2ERKS0_($ref$tmp, $this + 4 | 0); + $call$i = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp, 67672) | 0; + __ZNSt3__26localeD2Ev($ref$tmp); + HEAP32[$this + 36 >> 2] = $call$i; + HEAP32[$this + 40 >> 2] = $__st; + $frombool = (FUNCTION_TABLE_ii[HEAP32[(HEAP32[$call$i >> 2] | 0) + 28 >> 2] & 127]($call$i) | 0) & 1; + HEAP8[$this + 44 >> 0] = $frombool; STACKTOP = sp; return; } -function _getProjectionFarPlane($id) { - $id = $id | 0; - var $farPlane = 0, $id$addr = 0, $retval$0 = 0.0, sp = 0; +function __ZNSt3__211__stdoutbufIcEC2EP8_IO_FILEP11__mbstate_t($this, $__fp, $__st) { + $this = $this | 0; + $__fp = $__fp | 0; + $__st = $__st | 0; + var $call$i = 0, $frombool = 0, $ref$tmp = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $id$addr = sp; - HEAP32[$id$addr >> 2] = $id; - if (!(__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(65260, $id$addr) | 0)) $retval$0 = -1.0; else { - $farPlane = (__ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(65260, $id$addr) | 0) + 320 | 0; - $retval$0 = +HEAPF64[$farPlane >> 3]; - } + $ref$tmp = sp; + __ZNSt3__215basic_streambufIcNS_11char_traitsIcEEEC2Ev($this); + HEAP32[$this >> 2] = 20952; + HEAP32[$this + 32 >> 2] = $__fp; + __ZNSt3__26localeC2ERKS0_($ref$tmp, $this + 4 | 0); + $call$i = __ZNKSt3__26locale9use_facetERNS0_2idE($ref$tmp, 67664) | 0; + __ZNSt3__26localeD2Ev($ref$tmp); + HEAP32[$this + 36 >> 2] = $call$i; + HEAP32[$this + 40 >> 2] = $__st; + $frombool = (FUNCTION_TABLE_ii[HEAP32[(HEAP32[$call$i >> 2] | 0) + 28 >> 2] & 127]($call$i) | 0) & 1; + HEAP8[$this + 44 >> 0] = $frombool; STACKTOP = sp; - return +$retval$0; + return; } -function __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE10__get_hourERiRS4_S4_RjRKNS_5ctypeIwEE($0, $1, $2, $3, $4, $5) { +function __ZNKSt3__27codecvtIDsc11__mbstate_tE5do_inERS1_PKcS5_RS5_PDsS7_RS7_($this, $0, $frm, $frm_end, $frm_nxt, $to, $to_end, $to_nxt) { + $this = $this | 0; $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$byval_copy = 0, $6 = 0, $8 = 0, $9 = 0, sp = 0; + $frm = $frm | 0; + $frm_end = $frm_end | 0; + $frm_nxt = $frm_nxt | 0; + $to = $to | 0; + $to_end = $to_end | 0; + $to_nxt = $to_nxt | 0; + var $_frm_nxt = 0, $_to_nxt = 0, $call = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy = sp + 4 | 0; - $6 = sp; - HEAP32[$6 >> 2] = HEAP32[$3 >> 2]; - HEAP32[$$byval_copy >> 2] = HEAP32[$6 >> 2]; - $8 = __ZNSt3__220__get_up_to_n_digitsIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEEEiRT0_S5_RjRKNS_5ctypeIT_EEi($2, $$byval_copy, $4, $5, 2) | 0; - $9 = HEAP32[$4 >> 2] | 0; - if (($8 | 0) < 24 & ($9 & 4 | 0) == 0) HEAP32[$1 >> 2] = $8; else HEAP32[$4 >> 2] = $9 | 4; + $_frm_nxt = sp + 4 | 0; + $_to_nxt = sp; + HEAP32[$_frm_nxt >> 2] = $frm; + HEAP32[$_to_nxt >> 2] = $to; + $call = __ZNSt3__2L13utf8_to_utf16EPKhS1_RS1_PtS3_RS3_mNS_12codecvt_modeE($frm, $frm_end, $_frm_nxt, $to, $to_end, $_to_nxt, 1114111, 0) | 0; + HEAP32[$frm_nxt >> 2] = HEAP32[$_frm_nxt >> 2]; + HEAP32[$to_nxt >> 2] = HEAP32[$_to_nxt >> 2]; STACKTOP = sp; - return; + return $call | 0; } -function __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE10__get_hourERiRS4_S4_RjRKNS_5ctypeIcEE($0, $1, $2, $3, $4, $5) { +function __ZNKSt3__27codecvtIDic11__mbstate_tE6do_outERS1_PKDiS5_RS5_PcS7_RS7_($this, $0, $frm, $frm_end, $frm_nxt, $to, $to_end, $to_nxt) { + $this = $this | 0; $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$byval_copy = 0, $6 = 0, $8 = 0, $9 = 0, sp = 0; + $frm = $frm | 0; + $frm_end = $frm_end | 0; + $frm_nxt = $frm_nxt | 0; + $to = $to | 0; + $to_end = $to_end | 0; + $to_nxt = $to_nxt | 0; + var $_frm_nxt = 0, $_to_nxt = 0, $call = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy = sp + 4 | 0; - $6 = sp; - HEAP32[$6 >> 2] = HEAP32[$3 >> 2]; - HEAP32[$$byval_copy >> 2] = HEAP32[$6 >> 2]; - $8 = __ZNSt3__220__get_up_to_n_digitsIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEEiRT0_S5_RjRKNS_5ctypeIT_EEi($2, $$byval_copy, $4, $5, 2) | 0; - $9 = HEAP32[$4 >> 2] | 0; - if (($8 | 0) < 24 & ($9 & 4 | 0) == 0) HEAP32[$1 >> 2] = $8; else HEAP32[$4 >> 2] = $9 | 4; + $_frm_nxt = sp + 4 | 0; + $_to_nxt = sp; + HEAP32[$_frm_nxt >> 2] = $frm; + HEAP32[$_to_nxt >> 2] = $to; + $call = __ZNSt3__2L12ucs4_to_utf8EPKjS1_RS1_PhS3_RS3_mNS_12codecvt_modeE($frm, $frm_end, $_frm_nxt, $to, $to_end, $_to_nxt, 1114111, 0) | 0; + HEAP32[$frm_nxt >> 2] = HEAP32[$_frm_nxt >> 2]; + HEAP32[$to_nxt >> 2] = HEAP32[$_to_nxt >> 2]; STACKTOP = sp; - return; + return $call | 0; } -function _kpmFopen($0, $1, $2) { +function __ZNKSt3__27codecvtIDic11__mbstate_tE5do_inERS1_PKcS5_RS5_PDiS7_RS7_($this, $0, $frm, $frm_end, $frm_nxt, $to, $to_end, $to_nxt) { + $this = $this | 0; $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$0 = 0, $11 = 0, $5 = 0, $9 = 0, $vararg_buffer = 0, $vararg_buffer1 = 0, sp = 0; + $frm = $frm | 0; + $frm_end = $frm_end | 0; + $frm_nxt = $frm_nxt | 0; + $to = $to | 0; + $to_end = $to_end | 0; + $to_nxt = $to_nxt | 0; + var $_frm_nxt = 0, $_to_nxt = 0, $call = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $vararg_buffer1 = sp + 8 | 0; - $vararg_buffer = sp; - do if ($0) { - if (!$1) { - $$0 = _fopen($0, $2) | 0; - break; - } - $5 = _strlen($0) | 0; - $9 = _malloc($5 + 2 + (_strlen($1) | 0) | 0) | 0; - if (!$9) { - _arLog(0, 3, 45930, $vararg_buffer); - _exit(1); - } else { - HEAP32[$vararg_buffer1 >> 2] = $0; - HEAP32[$vararg_buffer1 + 4 >> 2] = $1; - _sprintf($9, 26699, $vararg_buffer1) | 0; - $11 = _fopen($9, $2) | 0; - _free($9); - $$0 = $11; - break; - } - } else $$0 = 0; while (0); + $_frm_nxt = sp + 4 | 0; + $_to_nxt = sp; + HEAP32[$_frm_nxt >> 2] = $frm; + HEAP32[$_to_nxt >> 2] = $to; + $call = __ZNSt3__2L12utf8_to_ucs4EPKhS1_RS1_PjS3_RS3_mNS_12codecvt_modeE($frm, $frm_end, $_frm_nxt, $to, $to_end, $_to_nxt, 1114111, 0) | 0; + HEAP32[$frm_nxt >> 2] = HEAP32[$_frm_nxt >> 2]; + HEAP32[$to_nxt >> 2] = HEAP32[$_to_nxt >> 2]; STACKTOP = sp; - return $$0 | 0; + return $call | 0; } -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle10VectorTypeEJRPNS2_4NodeES6_EEEPT_DpOT0_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$byval_copy = 0, $3 = 0, $4 = 0, $5 = 0, sp = 0; +function __ZNK12_GLOBAL__N_116itanium_demangle13QualifiedName9printLeftERNS_12OutputStreamE($this, $S) { + $this = $this | 0; + $S = $S | 0; + var $agg$tmp = 0, $agg$tmp$byval_copy = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy = sp + 8 | 0; - $3 = sp; - $4 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 20) | 0; - $5 = HEAP32[$1 >> 2] | 0; - __ZN12_GLOBAL__N_116itanium_demangle12NodeOrStringC2EPNS0_4NodeE($3, HEAP32[$2 >> 2] | 0); - HEAP32[$$byval_copy >> 2] = HEAP32[$3 >> 2]; - HEAP32[$$byval_copy + 4 >> 2] = HEAP32[$3 + 4 >> 2]; - __ZN12_GLOBAL__N_116itanium_demangle10VectorTypeC2EPKNS0_4NodeENS0_12NodeOrStringE($4, $5, $$byval_copy); + $agg$tmp$byval_copy = sp + 8 | 0; + $agg$tmp = sp; + __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(HEAP32[$this + 8 >> 2] | 0, $S); + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, 54540); + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp$byval_copy); + __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(HEAP32[$this + 12 >> 2] | 0, $S); STACKTOP = sp; - return $4 | 0; + return; } -function _setMatrixCodeType($id, $type) { +function __ZN6vision9MaxIndex9IfEEiPKT_($x) { + $x = $x | 0; + var $index$0 = 0, $index$1 = 0, $index$2 = 0, $index$3 = 0, $index$4 = 0, $index$5 = 0, $index$6 = 0; + $index$0 = +HEAPF32[$x + 4 >> 2] > +HEAPF32[$x >> 2] & 1; + $index$1 = +HEAPF32[$x + 8 >> 2] > +HEAPF32[$x + ($index$0 << 2) >> 2] ? 2 : $index$0; + $index$2 = +HEAPF32[$x + 12 >> 2] > +HEAPF32[$x + ($index$1 << 2) >> 2] ? 3 : $index$1; + $index$3 = +HEAPF32[$x + 16 >> 2] > +HEAPF32[$x + ($index$2 << 2) >> 2] ? 4 : $index$2; + $index$4 = +HEAPF32[$x + 20 >> 2] > +HEAPF32[$x + ($index$3 << 2) >> 2] ? 5 : $index$3; + $index$5 = +HEAPF32[$x + 24 >> 2] > +HEAPF32[$x + ($index$4 << 2) >> 2] ? 6 : $index$4; + $index$6 = +HEAPF32[$x + 28 >> 2] > +HEAPF32[$x + ($index$5 << 2) >> 2] ? 7 : $index$5; + return (+HEAPF32[$x + 32 >> 2] > +HEAPF32[$x + ($index$6 << 2) >> 2] ? 8 : $index$6) | 0; +} + +function _getMarkerNum($id) { $id = $id | 0; - $type = $type | 0; - var $arhandle = 0, $id$addr = 0, sp = 0; + var $arhandle = 0, $id$addr = 0, $retval$0$in = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); $id$addr = sp; HEAP32[$id$addr >> 2] = $id; - if (__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(65260, $id$addr) | 0) { - $arhandle = (__ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(65260, $id$addr) | 0) + 216 | 0; - _arSetMatrixCodeType(HEAP32[$arhandle >> 2] | 0, $type) | 0; + if (!(__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(66108, $id$addr) | 0)) $retval$0$in = 16896; else { + $arhandle = (__ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(66108, $id$addr) | 0) + 216 | 0; + $retval$0$in = (HEAP32[$arhandle >> 2] | 0) + 44 | 0; } STACKTOP = sp; - return; + return HEAP32[$retval$0$in >> 2] | 0; } -function _fopen($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $11 = 0, $13 = 0, $6 = 0, $9 = 0, $vararg_buffer = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $vararg_buffer = sp; - if (_strchr(50840, HEAP8[$1 >> 0] | 0) | 0) { - $9 = ___fmodeflags($1) | 0 | 32768; - HEAP32[$vararg_buffer >> 2] = $0; - HEAP32[$vararg_buffer + 4 >> 2] = $9; - HEAP32[$vararg_buffer + 8 >> 2] = 438; - $11 = ___syscall_ret(___syscall5(5, $vararg_buffer | 0) | 0) | 0; - if (($11 | 0) >= 0) { - $13 = ___fdopen($11, $1) | 0; - if (!$13) { - ___wasi_fd_close($11 | 0) | 0; - $$0 = 0; - } else $$0 = $13; - } else $$0 = 0; - } else { - $6 = ___errno_location() | 0; - HEAP32[$6 >> 2] = 28; - $$0 = 0; - } - STACKTOP = sp; - return $$0 | 0; +function __ZN12_GLOBAL__N_116itanium_demangle16FunctionEncodingC2EPKNS0_4NodeES4_NS0_9NodeArrayES4_NS0_10QualifiersENS0_15FunctionRefQualE($this, $Ret_, $Name_, $Params_, $Attrs_, $CVQuals_, $RefQual_) { + $this = $this | 0; + $Ret_ = $Ret_ | 0; + $Name_ = $Name_ | 0; + $Params_ = $Params_ | 0; + $Attrs_ = $Attrs_ | 0; + $CVQuals_ = $CVQuals_ | 0; + $RefQual_ = $RefQual_ | 0; + var $0 = 0, $5 = 0, $6 = 0; + __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($this, 18, 0, 1, 0); + HEAP32[$this >> 2] = 20420; + HEAP32[$this + 8 >> 2] = $Ret_; + HEAP32[$this + 12 >> 2] = $Name_; + $0 = $Params_; + $5 = HEAP32[$0 + 4 >> 2] | 0; + $6 = $this + 16 | 0; + HEAP32[$6 >> 2] = HEAP32[$0 >> 2]; + HEAP32[$6 + 4 >> 2] = $5; + HEAP32[$this + 24 >> 2] = $Attrs_; + HEAP32[$this + 28 >> 2] = $CVQuals_; + HEAP8[$this + 32 >> 0] = $RefQual_; + return; } -function __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$0 = 0, $10 = 0, $3 = 0, $9 = 0, sp = 0; +function __ZNK12_GLOBAL__N_116itanium_demangle10NestedName9printLeftERNS_12OutputStreamE($this, $S) { + $this = $this | 0; + $S = $S | 0; + var $agg$tmp = 0, $agg$tmp$byval_copy = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $3 = sp; - if ($2 >>> 0 > 4294967279) __ZNKSt3__221__basic_string_commonILb1EE20__throw_length_errorEv($0); - if ($2 >>> 0 < 11) { - HEAP8[$0 + 11 >> 0] = $2; - $$0 = $0; - } else { - $9 = $2 + 16 & -16; - $10 = __Znwm($9) | 0; - HEAP32[$0 >> 2] = $10; - HEAP32[$0 + 8 >> 2] = $9 | -2147483648; - HEAP32[$0 + 4 >> 2] = $2; - $$0 = $10; - } - __ZNSt3__211char_traitsIcE4copyEPcPKcm($$0, $1, $2) | 0; - HEAP8[$3 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc($$0 + $2 | 0, $3); + $agg$tmp$byval_copy = sp + 8 | 0; + $agg$tmp = sp; + __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(HEAP32[$this + 8 >> 2] | 0, $S); + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, 54540); + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp$byval_copy); + __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(HEAP32[$this + 12 >> 2] | 0, $S); STACKTOP = sp; return; } -function __ZN6vision5Image19calculate_unit_sizeENS_9ImageTypeE($0) { - $0 = $0 | 0; - var $$08 = 0, $1 = 0, $2 = 0, sp = 0; +function _setProjectionNearPlane($id, $projectionNearPlane) { + $id = $id | 0; + $projectionNearPlane = +$projectionNearPlane; + var $id$addr = 0, $nearPlane = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $1 = sp; - switch ($0 | 0) { - case 1: - { - $$08 = $0; - break; - } - case 2: - { - $$08 = 4; - break; - } - default: - { - $2 = ___cxa_allocate_exception(16) | 0; - HEAP32[$1 >> 2] = 0; - HEAP32[$1 + 4 >> 2] = 0; - HEAP32[$1 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm($1, 38846, __ZNSt3__211char_traitsIcE6lengthEPKc(38846) | 0); - __ZN6vision9ExceptionC2ERKNSt3__212basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE($2, $1); - ___cxa_throw($2 | 0, 13208, 5); - } + $id$addr = sp; + HEAP32[$id$addr >> 2] = $id; + if (__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(66108, $id$addr) | 0) { + $nearPlane = (__ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(66108, $id$addr) | 0) + 336 | 0; + HEAPF64[$nearPlane >> 3] = $projectionNearPlane; } STACKTOP = sp; - return $$08 | 0; + return; } -function __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEmc($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$0 = 0, $10 = 0, $3 = 0, $9 = 0, sp = 0; +function __ZNK12_GLOBAL__N_116itanium_demangle9LocalName9printLeftERNS_12OutputStreamE($this, $S) { + $this = $this | 0; + $S = $S | 0; + var $agg$tmp = 0, $agg$tmp$byval_copy = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $3 = sp; - if ($1 >>> 0 > 4294967279) __ZNKSt3__221__basic_string_commonILb1EE20__throw_length_errorEv($0); - if ($1 >>> 0 < 11) { - HEAP8[$0 + 11 >> 0] = $1; - $$0 = $0; - } else { - $9 = $1 + 16 & -16; - $10 = __Znwm($9) | 0; - HEAP32[$0 >> 2] = $10; - HEAP32[$0 + 8 >> 2] = $9 | -2147483648; - HEAP32[$0 + 4 >> 2] = $1; - $$0 = $10; - } - __ZNSt3__211char_traitsIcE6assignEPcmc($$0, $1, $2) | 0; - HEAP8[$3 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc($$0 + $1 | 0, $3); + $agg$tmp$byval_copy = sp + 8 | 0; + $agg$tmp = sp; + __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(HEAP32[$this + 8 >> 2] | 0, $S); + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, 54540); + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp$byval_copy); + __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(HEAP32[$this + 12 >> 2] | 0, $S); STACKTOP = sp; return; } -function __ZNK12_GLOBAL__N_116itanium_demangle11SpecialName9printLeftERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $10 = 0, $2 = 0, $4 = 0, $9 = 0, $tmpcast$byval_copy = 0, sp = 0; +function __ZNK12_GLOBAL__N_116itanium_demangle11SpecialName9printLeftERNS_12OutputStreamE($this, $S) { + $this = $this | 0; + $S = $S | 0; + var $0 = 0, $5 = 0, $6 = 0, $agg$tmp = 0, $tmpcast$byval_copy = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); $tmpcast$byval_copy = sp + 8 | 0; - $2 = sp; - $4 = $0 + 8 | 0; - $9 = HEAP32[$4 + 4 >> 2] | 0; - $10 = $2; - HEAP32[$10 >> 2] = HEAP32[$4 >> 2]; - HEAP32[$10 + 4 >> 2] = $9; - HEAP32[$tmpcast$byval_copy >> 2] = HEAP32[$2 >> 2]; - HEAP32[$tmpcast$byval_copy + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $tmpcast$byval_copy); - __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(HEAP32[$0 + 16 >> 2] | 0, $1); + $agg$tmp = sp; + $0 = $this + 8 | 0; + $5 = HEAP32[$0 + 4 >> 2] | 0; + $6 = $agg$tmp; + HEAP32[$6 >> 2] = HEAP32[$0 >> 2]; + HEAP32[$6 + 4 >> 2] = $5; + HEAP32[$tmpcast$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$tmpcast$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $tmpcast$byval_copy); + __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(HEAP32[$this + 16 >> 2] | 0, $S); STACKTOP = sp; return; } -function __ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_6vectorIiNS_9allocatorIiEEEEEENS_22__unordered_map_hasherIiS6_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS6_NS_8equal_toIiEELb1EEENS3_IS6_EEE21__construct_node_hashIRKNS_21piecewise_construct_tEJNS_5tupleIJRKiEEENSL_IJEEEEEENS_10unique_ptrINS_11__hash_nodeIS6_PvEENS_22__hash_node_destructorINS3_IST_EEEEEEmOT_DpOT0_($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $7 = 0; - $7 = __Znwm(24) | 0; - HEAP32[$0 >> 2] = $7; - HEAP32[$0 + 4 >> 2] = $1 + 8; - HEAP32[$7 + 8 >> 2] = HEAP32[HEAP32[$4 >> 2] >> 2]; - HEAP32[$7 + 12 >> 2] = 0; - HEAP32[$7 + 16 >> 2] = 0; - HEAP32[$7 + 20 >> 2] = 0; - HEAP8[$0 + 8 >> 0] = 1; - HEAP32[$7 + 4 >> 2] = $2; - HEAP32[$7 >> 2] = 0; - return; -} - -function _arMatrixTrans($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $$024 = 0, $$025 = 0, $$026 = 0, $$027 = 0, $$1 = 0, $3 = 0, $8 = 0; - $3 = HEAP32[$0 + 4 >> 2] | 0; - L1 : do if (($3 | 0) == (HEAP32[$1 + 8 >> 2] | 0) ? ($8 = HEAP32[$0 + 8 >> 2] | 0, ($8 | 0) == (HEAP32[$1 + 4 >> 2] | 0)) : 0) { - $$0 = HEAP32[$0 >> 2] | 0; - $$026 = 0; - while (1) { - if (($$026 | 0) >= ($3 | 0)) { - $$027 = 0; - break L1; - } - $$024 = (HEAP32[$1 >> 2] | 0) + ($$026 << 3) | 0; - $$025 = 0; - $$1 = $$0; - while (1) { - if (($$025 | 0) >= ($8 | 0)) break; - HEAPF64[$$1 >> 3] = +HEAPF64[$$024 >> 3]; - $$024 = $$024 + ($3 << 3) | 0; - $$025 = $$025 + 1 | 0; - $$1 = $$1 + 8 | 0; - } - $$0 = $$1; - $$026 = $$026 + 1 | 0; - } - } else $$027 = -1; while (0); - return $$027 | 0; -} - -function _arMatrixTransf($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $$024 = 0, $$025 = 0, $$026 = 0, $$027 = 0, $$1 = 0, $3 = 0, $8 = 0; - $3 = HEAP32[$0 + 4 >> 2] | 0; - L1 : do if (($3 | 0) == (HEAP32[$1 + 8 >> 2] | 0) ? ($8 = HEAP32[$0 + 8 >> 2] | 0, ($8 | 0) == (HEAP32[$1 + 4 >> 2] | 0)) : 0) { - $$0 = HEAP32[$0 >> 2] | 0; - $$026 = 0; - while (1) { - if (($$026 | 0) >= ($3 | 0)) { - $$027 = 0; - break L1; - } - $$024 = (HEAP32[$1 >> 2] | 0) + ($$026 << 2) | 0; - $$025 = 0; - $$1 = $$0; - while (1) { - if (($$025 | 0) >= ($8 | 0)) break; - HEAP32[$$1 >> 2] = HEAP32[$$024 >> 2]; - $$024 = $$024 + ($3 << 2) | 0; - $$025 = $$025 + 1 | 0; - $$1 = $$1 + 4 | 0; - } - $$0 = $$1; - $$026 = $$026 + 1 | 0; - } - } else $$027 = -1; while (0); - return $$027 | 0; -} - -function __ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_10shared_ptrIN6vision8KeyframeILi96EEEEEEENS_22__unordered_map_hasherIiS7_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS7_NS_8equal_toIiEELb1EEENS_9allocatorIS7_EEE21__construct_node_hashIRKNS_21piecewise_construct_tEJNS_5tupleIJRKiEEENSN_IJEEEEEENS_10unique_ptrINS_11__hash_nodeIS7_PvEENS_22__hash_node_destructorINSG_ISV_EEEEEEmOT_DpOT0_($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $7 = 0; - $7 = __Znwm(20) | 0; - HEAP32[$0 >> 2] = $7; - HEAP32[$0 + 4 >> 2] = $1 + 8; - HEAP32[$7 + 8 >> 2] = HEAP32[HEAP32[$4 >> 2] >> 2]; - HEAP32[$7 + 12 >> 2] = 0; - HEAP32[$7 + 16 >> 2] = 0; - HEAP8[$0 + 8 >> 0] = 1; - HEAP32[$7 + 4 >> 2] = $2; - HEAP32[$7 >> 2] = 0; - return; -} - -function __ZN6vision26SmoothOrientationHistogramIfEEvPT_PKS1_mS4_($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $$0 = 0.0, $$033 = 0, $21 = 0.0, $28 = 0, $4 = 0.0, $5 = 0, $6 = 0, $8 = 0, $9 = 0; - $4 = +HEAPF32[$1 >> 2]; - $5 = $2 + -1 | 0; - $6 = $1 + ($5 << 2) | 0; - $8 = $3 + 4 | 0; - $9 = $3 + 8 | 0; - $$0 = +HEAPF32[$6 >> 2]; - $$033 = 0; - while (1) { - if (($$033 | 0) == ($5 | 0)) break; - $21 = +HEAPF32[$1 + ($$033 << 2) >> 2]; - $28 = $$033 + 1 | 0; - HEAPF32[$0 + ($$033 << 2) >> 2] = $$0 * +HEAPF32[$3 >> 2] + $21 * +HEAPF32[$8 >> 2] + +HEAPF32[$9 >> 2] * +HEAPF32[$1 + ($28 << 2) >> 2]; - $$0 = $21; - $$033 = $28; - } - HEAPF32[$0 + ($5 << 2) >> 2] = $$0 * +HEAPF32[$3 >> 2] + +HEAPF32[$8 >> 2] * +HEAPF32[$6 >> 2] + $4 * +HEAPF32[$9 >> 2]; - return; -} - -function __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE6sentryD2Ev($0) { - $0 = $0 | 0; - var $1 = 0, $18 = 0, $2 = 0, $24 = 0, $30 = 0, $34 = 0, $6 = 0; - $1 = $0 + 4 | 0; - $2 = HEAP32[$1 >> 2] | 0; - $6 = $2 + (HEAP32[(HEAP32[$2 >> 2] | 0) + -12 >> 2] | 0) | 0; - if ((((HEAP32[$6 + 24 >> 2] | 0 ? (HEAP32[$6 + 16 >> 2] | 0) == 0 : 0) ? HEAP32[$6 + 4 >> 2] & 8192 | 0 : 0) ? !(__ZSt18uncaught_exceptionv() | 0) : 0) ? ($18 = HEAP32[$1 >> 2] | 0, $24 = HEAP32[$18 + (HEAP32[(HEAP32[$18 >> 2] | 0) + -12 >> 2] | 0) + 24 >> 2] | 0, (FUNCTION_TABLE_ii[HEAP32[(HEAP32[$24 >> 2] | 0) + 24 >> 2] & 127]($24) | 0) == -1) : 0) { - $30 = HEAP32[$1 >> 2] | 0; - $34 = $30 + (HEAP32[(HEAP32[$30 >> 2] | 0) + -12 >> 2] | 0) | 0; - __ZNSt3__28ios_base5clearEj($34, HEAP32[$34 + 16 >> 2] | 1); - } - return; -} - -function __ZNKSt3__27codecvtIwc11__mbstate_tE9do_lengthERS1_PKcS5_m($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $$029 = 0, $$030 = 0, $$034 = 0, $$sink = 0, $12 = 0, $13 = 0, $5 = 0, $6 = 0; - $5 = $3; - $6 = $0 + 8 | 0; - $$029 = 0; - $$030 = 0; - $$034 = $2; - L1 : while (1) { - if (($$034 | 0) == ($3 | 0) | $$029 >>> 0 >= $4 >>> 0) break; - $12 = ___uselocale(HEAP32[$6 >> 2] | 0) | 0; - $13 = _mbrlen($$034, $5 - $$034 | 0, $1) | 0; - if ($12 | 0) ___uselocale($12) | 0; - switch ($13 | 0) { - case -2: - case -1: - { - break L1; - break; - } - case 0: - { - $$sink = 1; - break; - } - default: - $$sink = $13; - } - $$029 = $$029 + 1 | 0; - $$030 = $$sink + $$030 | 0; - $$034 = $$034 + $$sink | 0; - } - return $$030 | 0; -} - -function __ZNSt3__214__num_put_base18__identify_paddingEPcS1_RKNS_8ios_baseE($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$0 = 0, $6 = 0, label = 0; - L1 : do switch ((HEAP32[$2 + 4 >> 2] & 176) << 24 >> 24) { - case 16: - { - $6 = HEAP8[$0 >> 0] | 0; - switch ($6 << 24 >> 24) { - case 43: - case 45: - { - $$0 = $0 + 1 | 0; - break L1; - break; - } - default: - {} - } - if (($1 - $0 | 0) > 1 & $6 << 24 >> 24 == 48) { - switch (HEAP8[$0 + 1 >> 0] | 0) { - case 88: - case 120: - break; - default: - { - label = 7; - break L1; - } - } - $$0 = $0 + 2 | 0; - } else label = 7; - break; - } - case 32: - { - $$0 = $1; - break; - } - default: - label = 7; - } while (0); - if ((label | 0) == 7) $$0 = $0; - return $$0 | 0; -} - -function __ZNK12_GLOBAL__N_116itanium_demangle13ReferenceType8collapseERNS_12OutputStreamE($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$in = 0, $13 = 0, $17 = 0, $19 = 0, $21 = 0, $22 = 0, $5 = 0, $6 = 0, $7 = 0; - $5 = HEAP32[$1 + 12 >> 2] | 0; - HEAP32[$0 >> 2] = $5; - $6 = $0 + 4 | 0; - $7 = HEAP32[$1 + 8 >> 2] | 0; - HEAP32[$6 >> 2] = $7; - $$in = $7; - $21 = $5; - while (1) { - $13 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$$in >> 2] | 0) + 12 >> 2] & 127]($$in, $2) | 0; - if ((__ZNK12_GLOBAL__N_116itanium_demangle4Node7getKindEv($13) | 0) << 24 >> 24 != 12) break; - $17 = HEAP32[$13 + 8 >> 2] | 0; - HEAP32[$6 >> 2] = $17; - $19 = HEAP32[$13 + 12 >> 2] | 0; - $22 = ($19 | 0) < ($21 | 0) ? $19 : $21; - HEAP32[$0 >> 2] = $22; - $$in = $17; - $21 = $22; - } - return; -} - -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle20PostfixQualifiedTypeEJRPNS2_4NodeERA11_KcEEEPT_DpOT0_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$byval_copy = 0, $3 = 0, $4 = 0, $5 = 0, sp = 0; +function _getProcessingImage($id) { + $id = $id | 0; + var $arhandle = 0, $id$addr = 0, $retval$0 = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy = sp + 8 | 0; - $3 = sp; - $4 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 20) | 0; - $5 = HEAP32[$1 >> 2] | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($3, $2); - HEAP32[$$byval_copy >> 2] = HEAP32[$3 >> 2]; - HEAP32[$$byval_copy + 4 >> 2] = HEAP32[$3 + 4 >> 2]; - __ZN12_GLOBAL__N_116itanium_demangle20PostfixQualifiedTypeC2EPNS0_4NodeENS_10StringViewE($4, $5, $$byval_copy); + $id$addr = sp; + HEAP32[$id$addr >> 2] = $id; + if (!(__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(66108, $id$addr) | 0)) $retval$0 = 0; else { + $arhandle = (__ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(66108, $id$addr) | 0) + 216 | 0; + $retval$0 = HEAP32[(HEAP32[$arhandle >> 2] | 0) + 4834148 >> 2] | 0; + } STACKTOP = sp; - return $4 | 0; + return $retval$0 | 0; } -function _arUtilReplaceExt($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$0 = 0, $$023 = 0, $$024 = 0, $$1 = 0, $$2 = 0, $6 = 0, $9 = 0, label = 0; - $$0 = 0; - $$023 = 0; - L1 : while (1) { - switch (HEAP8[$0 + $$023 >> 0] | 0) { - case 0: - { - break L1; - break; - } - case 46: - { - $$1 = $$023; - break; - } - default: - $$1 = $$0; - } - $$0 = $$1; - $$023 = $$023 + 1 | 0; - } - $6 = $0 + $$023 | 0; - $9 = (_strlen($2) | 0) + 2 | 0; - if (!$$0) if (($9 + $$023 | 0) > ($1 | 0)) $$024 = -1; else { - HEAP8[$6 >> 0] = 46; - $$2 = $$023; - label = 9; - } else if (($9 + $$0 | 0) > ($1 | 0)) $$024 = -1; else { - $$2 = $$0; - label = 9; - } - if ((label | 0) == 9) { - HEAP8[$0 + ($$2 + 1) >> 0] = 0; - _strcat($0, $2) | 0; - $$024 = 0; +function _getMultiMarkerCount($id) { + $id = $id | 0; + var $call7 = 0, $id$addr = 0, $retval$0 = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $id$addr = sp; + HEAP32[$id$addr >> 2] = $id; + if (!(__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(66108, $id$addr) | 0)) $retval$0 = -1; else { + $call7 = __ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(66108, $id$addr) | 0; + $retval$0 = (HEAP32[$call7 + 356 >> 2] | 0) - (HEAP32[$call7 + 352 >> 2] | 0) >> 3; } - return $$024 | 0; + STACKTOP = sp; + return $retval$0 | 0; } -function ___fflush_unlocked($0) { - $0 = $0 | 0; - var $$0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $17 = 0, $3 = 0, label = 0; - $1 = $0 + 20 | 0; - $3 = $0 + 28 | 0; - if ((HEAP32[$1 >> 2] | 0) >>> 0 > (HEAP32[$3 >> 2] | 0) >>> 0 ? (FUNCTION_TABLE_iiii[HEAP32[$0 + 36 >> 2] & 63]($0, 0, 0) | 0, (HEAP32[$1 >> 2] | 0) == 0) : 0) $$0 = -1; else { - $10 = $0 + 4 | 0; - $11 = HEAP32[$10 >> 2] | 0; - $12 = $0 + 8 | 0; - $13 = HEAP32[$12 >> 2] | 0; - if ($11 >>> 0 < $13 >>> 0) { - $17 = $11 - $13 | 0; - FUNCTION_TABLE_iiiii[HEAP32[$0 + 40 >> 2] & 15]($0, $17, (($17 | 0) < 0) << 31 >> 31, 1) | 0; - getTempRet0() | 0; - } - HEAP32[$0 + 16 >> 2] = 0; - HEAP32[$3 >> 2] = 0; - HEAP32[$1 >> 2] = 0; - HEAP32[$12 >> 2] = 0; - HEAP32[$10 >> 2] = 0; - $$0 = 0; - } - return $$0 | 0; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_EC2EPKcS7_($this, $First_, $Last_) { + $this = $this | 0; + $First_ = $First_ | 0; + $Last_ = $Last_ | 0; + HEAP32[$this >> 2] = $First_; + HEAP32[$this + 4 >> 2] = $Last_; + __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EEC2Ev($this + 8 | 0); + __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EEC2Ev($this + 148 | 0); + __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm8EEC2Ev($this + 288 | 0); + __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_24ForwardTemplateReferenceELm4EEC2Ev($this + 332 | 0); + HEAP8[$this + 360 >> 0] = 1; + HEAP8[$this + 361 >> 0] = 0; + HEAP8[$this + 362 >> 0] = 0; + __ZN12_GLOBAL__N_116DefaultAllocatorC2Ev($this + 368 | 0); + return; } -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle20PostfixQualifiedTypeEJRPNS2_4NodeERA9_KcEEEPT_DpOT0_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$byval_copy = 0, $3 = 0, $4 = 0, $5 = 0, sp = 0; +function __ZN10emscripten8functionIiJiNSt3__212basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEJEEEvPKcPFT_DpT0_EDpT1_($name, $fn) { + $name = $name | 0; + $fn = $fn | 0; + var $args = 0, $call = 0, $call1 = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy = sp + 8 | 0; - $3 = sp; - $4 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 20) | 0; - $5 = HEAP32[$1 >> 2] | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($3, $2); - HEAP32[$$byval_copy >> 2] = HEAP32[$3 >> 2]; - HEAP32[$$byval_copy + 4 >> 2] = HEAP32[$3 + 4 >> 2]; - __ZN12_GLOBAL__N_116itanium_demangle20PostfixQualifiedTypeC2EPNS0_4NodeENS_10StringViewE($4, $5, $$byval_copy); + $args = sp; + $call = __ZNK10emscripten8internal12WithPoliciesIJEE11ArgTypeListIJiiNSt3__212basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEEE8getCountEv($args) | 0; + $call1 = __ZNK10emscripten8internal12WithPoliciesIJEE11ArgTypeListIJiiNSt3__212basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEEE8getTypesEv($args) | 0; + __embind_register_function($name | 0, $call | 0, $call1 | 0, __ZN10emscripten8internal19getGenericSignatureIJiiiiEEEPKcv() | 0, 31, $fn | 0); STACKTOP = sp; - return $4 | 0; -} - -function __ZN6vision14VisualDatabaseINS_14FREAKExtractorENS_18BinaryFeatureStoreENS_20BinaryFeatureMatcherILi96EEEED2Ev($0) { - $0 = $0 | 0; - __ZN6vision16RobustHomographyIfED2Ev($0 + 788 | 0); - __ZN6vision21HoughSimilarityVotingD2Ev($0 + 652 | 0); - __ZN6vision20BinaryFeatureMatcherILi96EED2Ev($0 + 636 | 0); - __ZN6vision14FREAKExtractorD2Ev($0 + 316 | 0); - __ZN6vision25DoGScaleInvariantDetectorD2Ev($0 + 160 | 0); - __ZN6vision18BinomialPyramid32fD2Ev($0 + 92 | 0); - __ZNSt3__213unordered_mapIiNS_10shared_ptrIN6vision8KeyframeILi96EEEEENS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS5_EEEEED2Ev($0 + 72 | 0); - __ZNSt3__210shared_ptrIN6vision8KeyframeILi96EEEED2Ev($0 + 64 | 0); - __ZNSt3__213__vector_baseIN6vision7match_tENS_9allocatorIS2_EEED2Ev($0 + 12 | 0); return; } -function _kpmDeleteRefDataSet($0) { - $0 = $0 | 0; - var $$0 = 0, $$013 = 0, $10 = 0, $2 = 0, $4 = 0, $6 = 0, sp = 0; +function _setProjectionFarPlane($id, $projectionFarPlane) { + $id = $id | 0; + $projectionFarPlane = +$projectionFarPlane; + var $farPlane = 0, $id$addr = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - if ($0) { - $2 = HEAP32[$0 >> 2] | 0; - if (!$2) $$013 = 0; else { - $4 = HEAP32[$2 >> 2] | 0; - if ($4 | 0) _free($4); - $$0 = 0; - while (1) { - $6 = HEAP32[$0 >> 2] | 0; - $10 = $6 + 8 | 0; - if (($$0 | 0) >= (HEAP32[$6 + 12 >> 2] | 0)) break; - _free(HEAP32[(HEAP32[$10 >> 2] | 0) + ($$0 * 12 | 0) >> 2] | 0); - $$0 = $$0 + 1 | 0; - } - _free(HEAP32[$10 >> 2] | 0); - _free(HEAP32[$0 >> 2] | 0); - HEAP32[$0 >> 2] = 0; - $$013 = 0; - } - } else { - _arLog(0, 3, 26264, sp); - $$013 = -1; + $id$addr = sp; + HEAP32[$id$addr >> 2] = $id; + if (__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(66108, $id$addr) | 0) { + $farPlane = (__ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(66108, $id$addr) | 0) + 344 | 0; + HEAPF64[$farPlane >> 3] = $projectionFarPlane; } STACKTOP = sp; - return $$013 | 0; + return; } -function __ZNK12_GLOBAL__N_110StringView10startsWithES0_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $$0$i$i = 0, $$08$i$i = 0, $2 = 0, $5 = 0, $6 = 0; - $2 = __ZNK12_GLOBAL__N_110StringView4sizeEv($1) | 0; - L1 : do if ($2 >>> 0 > (__ZNK12_GLOBAL__N_110StringView4sizeEv($0) | 0) >>> 0) $$0 = 0; else { - $5 = __ZNK12_GLOBAL__N_110StringView5beginEv($1) | 0; - $6 = __ZNK12_GLOBAL__N_110StringView3endEv($1) | 0; - $$0$i$i = __ZNK12_GLOBAL__N_110StringView5beginEv($0) | 0; - $$08$i$i = $5; +function __ZNSt3__213__vector_baseINS_6vectorINS1_INS_4pairIfmEENS_9allocatorIS3_EEEENS4_IS6_EEEENS4_IS8_EEED2Ev($this) { + $this = $this | 0; + var $0 = 0, $2 = 0, $__end_$i$i = 0, $__soon_to_be_end$0$i$i = 0, $incdec$ptr$i$i = 0; + $0 = HEAP32[$this >> 2] | 0; + if ($0 | 0) { + $__end_$i$i = $this + 4 | 0; + $__soon_to_be_end$0$i$i = HEAP32[$__end_$i$i >> 2] | 0; while (1) { - if (($$08$i$i | 0) == ($6 | 0)) { - $$0 = 1; - break L1; - } - if ((HEAP8[$$08$i$i >> 0] | 0) != (HEAP8[$$0$i$i >> 0] | 0)) { - $$0 = 0; - break L1; - } - $$0$i$i = $$0$i$i + 1 | 0; - $$08$i$i = $$08$i$i + 1 | 0; + if (($__soon_to_be_end$0$i$i | 0) == ($0 | 0)) break; + $incdec$ptr$i$i = $__soon_to_be_end$0$i$i + -12 | 0; + __ZNSt3__213__vector_baseINS_6vectorINS_4pairIfmEENS_9allocatorIS3_EEEENS4_IS6_EEED2Ev($incdec$ptr$i$i); + $__soon_to_be_end$0$i$i = $incdec$ptr$i$i; } - } while (0); - return $$0 | 0; + HEAP32[$__end_$i$i >> 2] = $0; + $2 = HEAP32[$this >> 2] | 0; + __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($2, (HEAP32[$this + 8 >> 2] | 0) - $2 | 0); + } + return; } -function __ZN6vision14FREAKExtractorC2Ev($0) { - $0 = $0 | 0; - __ZN6vision10CopyVectorIfEEvPT_PKS1_m($0, 1760, 12); - __ZN6vision10CopyVectorIfEEvPT_PKS1_m($0 + 48 | 0, 1808, 12); - __ZN6vision10CopyVectorIfEEvPT_PKS1_m($0 + 96 | 0, 1856, 12); - __ZN6vision10CopyVectorIfEEvPT_PKS1_m($0 + 144 | 0, 1904, 12); - __ZN6vision10CopyVectorIfEEvPT_PKS1_m($0 + 192 | 0, 1952, 12); - __ZN6vision10CopyVectorIfEEvPT_PKS1_m($0 + 240 | 0, 2e3, 12); - HEAPF32[$0 + 288 >> 2] = .10000000149011612; - HEAPF32[$0 + 292 >> 2] = .17499999701976776; - HEAPF32[$0 + 296 >> 2] = .25; - HEAPF32[$0 + 300 >> 2] = .32499998807907104; - HEAPF32[$0 + 304 >> 2] = .4000000059604645; - HEAPF32[$0 + 308 >> 2] = .4749999940395355; - HEAPF32[$0 + 312 >> 2] = .550000011920929; - HEAPF32[$0 + 316 >> 2] = 7.0; - return; -} - -function __ZN6vision18BinomialPyramid32f18apply_filter_twiceERNS_5ImageERKS1_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, sp = 0; +function __ZN10emscripten8functionIiJNSt3__212basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEJEEEvPKcPFT_DpT0_EDpT1_($name, $fn) { + $name = $name | 0; + $fn = $fn | 0; + var $args = 0, $call = 0, $call1 = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $3 = sp; - $5 = HEAP32[$0 + 56 >> 2] | 0; - $6 = __ZNK6vision5Image4typeEv($2) | 0; - $7 = __ZNK6vision5Image5widthEv($2) | 0; - $8 = __ZNK6vision5Image6heightEv($2) | 0; - __ZN6vision5ImageC2EPhNS_9ImageTypeEmmim($3, $5, $6, $7, $8, __ZNK6vision5Image4stepEv($2) | 0, 1); - __ZN6vision18BinomialPyramid32f12apply_filterERNS_5ImageERKS1_($0, $3, $2); - __ZN6vision18BinomialPyramid32f12apply_filterERNS_5ImageERKS1_($0, $1, $3); - __ZN6vision5ImageD2Ev($3); + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $args = sp; + $call = __ZNK10emscripten8internal12WithPoliciesIJEE11ArgTypeListIJiNSt3__212basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEEE8getCountEv($args) | 0; + $call1 = __ZNK10emscripten8internal12WithPoliciesIJEE11ArgTypeListIJiNSt3__212basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEEE8getTypesEv($args) | 0; + __embind_register_function($name | 0, $call | 0, $call1 | 0, __ZN10emscripten8internal19getGenericSignatureIJiiiEEEPKcv() | 0, 55, $fn | 0); STACKTOP = sp; return; } -function _jpeg_read_header($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $$pre$phiZ2D = 0, $10 = 0, $12 = 0, $3 = 0, $5 = 0; - $3 = HEAP32[$0 + 20 >> 2] | 0; - if (($3 & -2 | 0) != 200) { - $5 = HEAP32[$0 >> 2] | 0; - HEAP32[$5 + 20 >> 2] = 21; - HEAP32[$5 + 24 >> 2] = $3; - FUNCTION_TABLE_vi[HEAP32[HEAP32[$0 >> 2] >> 2] & 255]($0); - } - $10 = _jpeg_consume_input($0) | 0; - switch ($10 | 0) { - case 1: - { - $$0 = 1; - return $$0 | 0; - } - case 2: - { - if (!$1) $$pre$phiZ2D = $0; else { - $12 = HEAP32[$0 >> 2] | 0; - HEAP32[$12 + 20 >> 2] = 53; - FUNCTION_TABLE_vi[HEAP32[$12 >> 2] & 255]($0); - $$pre$phiZ2D = $0; - } - _jpeg_abort($$pre$phiZ2D); - $$0 = 2; - return $$0 | 0; - } - default: - { - $$0 = $10; - return $$0 | 0; - } - } - return 0; -} - -function __ZNSt3__26vectorINS0_INS_4pairIfmEENS_9allocatorIS2_EEEENS3_IS5_EEE6resizeEm($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0$i$i = 0, $12 = 0, $14 = 0, $2 = 0, $3 = 0, $4 = 0, $6 = 0, $8 = 0, $9 = 0; - $2 = $0 + 4 | 0; - $3 = HEAP32[$2 >> 2] | 0; - $4 = HEAP32[$0 >> 2] | 0; - $6 = ($3 - $4 | 0) / 12 | 0; - $8 = $4; - $9 = $3; - if ($6 >>> 0 >= $1 >>> 0) { - if ($6 >>> 0 > $1 >>> 0) { - $12 = $8 + ($1 * 12 | 0) | 0; - $$0$i$i = $9; - while (1) { - if (($$0$i$i | 0) == ($12 | 0)) break; - $14 = $$0$i$i + -12 | 0; - __ZNSt3__213__vector_baseINS_4pairIfmEENS_9allocatorIS2_EEED2Ev($14); - $$0$i$i = $14; - } - HEAP32[$2 >> 2] = $12; - } - } else __ZNSt3__26vectorINS0_INS_4pairIfmEENS_9allocatorIS2_EEEENS3_IS5_EEE8__appendEm($0, $1 - $6 | 0); - return; -} - -function _cat($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $10 = 0, $3 = 0, $4 = 0, $6 = 0, $7 = 0, $8 = 0; - do if ($0) { - $4 = _fopen($0, 26308) | 0; - if ($4) { - _fseek($4, 0, 2) | 0; - $6 = _ftell($4) | 0; - _fseek($4, 0, 0) | 0; - $7 = $6 + 1 | 0; - $8 = _malloc($7) | 0; - if (!$8) { - _fclose($4) | 0; - $10 = ___errno_location() | 0; - HEAP32[$10 >> 2] = 48; - $$0 = 0; - break; - } - if (!(_fread($8, $6, 1, $4) | 0)) { - _free($8); - _fclose($4) | 0; - $$0 = 0; - break; - } - HEAP8[$8 + $6 >> 0] = 0; - _fclose($4) | 0; - if (!$1) $$0 = $8; else { - HEAP32[$1 >> 2] = $7; - $$0 = $8; - } - } else $$0 = 0; - } else { - $3 = ___errno_location() | 0; - HEAP32[$3 >> 2] = 28; - $$0 = 0; - } while (0); - return $$0 | 0; +function __ZN6vision23DeterminantSymmetric3x3IfEET_PKS1_($A) { + $A = $A | 0; + var $0 = 0.0, $2 = 0.0, $4 = 0.0, $6 = 0.0, $7 = 0.0, $arrayidx = 0, $arrayidx1 = 0, $arrayidx6 = 0, $arrayidx8 = 0, $mul11 = 0.0, $mul15 = 0.0, $mul7 = 0.0; + $arrayidx = $A + 32 | 0; + $0 = +HEAPF32[$arrayidx >> 2]; + $arrayidx1 = $A + 4 | 0; + $2 = $0 * +__ZN6vision3sqrIfEET_S1_(+HEAPF32[$arrayidx1 >> 2]); + $4 = +HEAPF32[$A + 8 >> 2]; + $arrayidx6 = $A + 20 | 0; + $mul7 = +HEAPF32[$arrayidx1 >> 2] * 2.0 * $4 * +HEAPF32[$arrayidx6 >> 2]; + $arrayidx8 = $A + 16 | 0; + $6 = +HEAPF32[$arrayidx8 >> 2]; + $mul11 = $6 * +__ZN6vision3sqrIfEET_S1_($4); + $7 = +HEAPF32[$A >> 2]; + $mul15 = $7 * +__ZN6vision3sqrIfEET_S1_(+HEAPF32[$arrayidx6 >> 2]); + return +($mul7 - $2 - $mul11 - $mul15 + +HEAPF32[$A >> 2] * +HEAPF32[$arrayidx8 >> 2] * +HEAPF32[$arrayidx >> 2]); } -function __ZNSt3__26locale5__impD2Ev($0) { - $0 = $0 | 0; - var $$0 = 0, $1 = 0, $11 = 0, $13 = 0, $14 = 0, $2 = 0, $4 = 0; - HEAP32[$0 >> 2] = 23288; - $1 = $0 + 8 | 0; - $2 = $0 + 12 | 0; - $$0 = 0; +function __ZN6vision14FREAKExtractorC2Ev($this) { + $this = $this | 0; + __ZN6vision10CopyVectorIfEEvPT_PKS1_m($this, 1760, 12); + __ZN6vision10CopyVectorIfEEvPT_PKS1_m($this + 48 | 0, 1808, 12); + __ZN6vision10CopyVectorIfEEvPT_PKS1_m($this + 96 | 0, 1856, 12); + __ZN6vision10CopyVectorIfEEvPT_PKS1_m($this + 144 | 0, 1904, 12); + __ZN6vision10CopyVectorIfEEvPT_PKS1_m($this + 192 | 0, 1952, 12); + __ZN6vision10CopyVectorIfEEvPT_PKS1_m($this + 240 | 0, 2e3, 12); + HEAPF32[$this + 288 >> 2] = .10000000149011612; + HEAPF32[$this + 292 >> 2] = .17499999701976776; + HEAPF32[$this + 296 >> 2] = .25; + HEAPF32[$this + 300 >> 2] = .32499998807907104; + HEAPF32[$this + 304 >> 2] = .4000000059604645; + HEAPF32[$this + 308 >> 2] = .4749999940395355; + HEAPF32[$this + 312 >> 2] = .550000011920929; + HEAPF32[$this + 316 >> 2] = 7.0; + return; +} + +function __ZNSt3__26vectorIiNS_9allocatorIiEEE12__move_rangeEPiS4_S4_($this, $__from_s, $__from_e, $__to) { + $this = $this | 0; + $__from_s = $__from_s | 0; + $__from_e = $__from_e | 0; + $__to = $__to | 0; + var $0 = 0, $2 = 0, $__end_ = 0, $__i$0 = 0, $incdec$ptr6 = 0, $sub$ptr$div = 0, $sub$ptr$sub = 0; + $__end_ = $this + 4 | 0; + $0 = HEAP32[$__end_ >> 2] | 0; + $sub$ptr$sub = $0 - $__to | 0; + $sub$ptr$div = $sub$ptr$sub >> 2; + $2 = $0; + $__i$0 = $__from_s + ($sub$ptr$div << 2) | 0; while (1) { - $4 = HEAP32[$1 >> 2] | 0; - if ($$0 >>> 0 >= (HEAP32[$2 >> 2] | 0) - $4 >> 2 >>> 0) break; - $11 = HEAP32[$4 + ($$0 << 2) >> 2] | 0; - if ($11 | 0 ? ($13 = $11 + 4 | 0, $14 = HEAP32[$13 >> 2] | 0, HEAP32[$13 >> 2] = $14 + -1, ($14 | 0) == 0) : 0) FUNCTION_TABLE_vi[HEAP32[(HEAP32[$11 >> 2] | 0) + 8 >> 2] & 255]($11); - $$0 = $$0 + 1 | 0; + if ($__i$0 >>> 0 >= $__from_e >>> 0) break; + HEAP32[$2 >> 2] = HEAP32[$__i$0 >> 2]; + $incdec$ptr6 = $2 + 4 | 0; + HEAP32[$__end_ >> 2] = $incdec$ptr6; + $2 = $incdec$ptr6; + $__i$0 = $__i$0 + 4 | 0; } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($0 + 144 | 0); - __ZNSt3__213__vector_baseIPNS_6locale5facetENS_15__sso_allocatorIS3_Lm28EEEED2Ev($1); - __ZNSt3__26locale5facetD2Ev($0); + if ($sub$ptr$sub | 0) _memmove($0 + (0 - $sub$ptr$div << 2) | 0, $__from_s | 0, $sub$ptr$sub | 0) | 0; return; } -function __ZNK12_GLOBAL__N_116itanium_demangle13QualifiedName9printLeftERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$byval_copy = 0, $2 = 0, sp = 0; +function _getProjectionNearPlane($id) { + $id = $id | 0; + var $id$addr = 0, $nearPlane = 0, $retval$0 = 0.0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy = sp + 8 | 0; - $2 = sp; - __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(HEAP32[$0 + 8 >> 2] | 0, $1); - __ZN12_GLOBAL__N_110StringViewC2EPKc($2, 53698); - HEAP32[$$byval_copy >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy); - __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(HEAP32[$0 + 12 >> 2] | 0, $1); + $id$addr = sp; + HEAP32[$id$addr >> 2] = $id; + if (!(__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(66108, $id$addr) | 0)) $retval$0 = -1.0; else { + $nearPlane = (__ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(66108, $id$addr) | 0) + 336 | 0; + $retval$0 = +HEAPF64[$nearPlane >> 3]; + } STACKTOP = sp; - return; + return +$retval$0; } -function __ZN12_GLOBAL__N_1eqERKNS_10StringViewES2_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0$i$i = 0, $$08$i$i = 0, $14 = 0, $2 = 0, $5 = 0, $6 = 0; - $2 = __ZNK12_GLOBAL__N_110StringView4sizeEv($0) | 0; - L1 : do if (($2 | 0) == (__ZNK12_GLOBAL__N_110StringView4sizeEv($1) | 0)) { - $5 = __ZNK12_GLOBAL__N_110StringView5beginEv($0) | 0; - $6 = __ZNK12_GLOBAL__N_110StringView3endEv($0) | 0; - $$0$i$i = __ZNK12_GLOBAL__N_110StringView5beginEv($1) | 0; - $$08$i$i = $5; +function _strncat($d, $s, $n) { + $d = $d | 0; + $s = $s | 0; + $n = $n | 0; + var $0 = 0, $add$ptr = 0, $d$addr$0$lcssa = 0, $d$addr$011 = 0, $incdec$ptr2 = 0, $n$addr$010 = 0, $s$addr$09 = 0; + $add$ptr = $d + (_strlen($d) | 0) | 0; + L1 : do if (!$n) $d$addr$0$lcssa = $add$ptr; else { + $d$addr$011 = $add$ptr; + $n$addr$010 = $n; + $s$addr$09 = $s; while (1) { - if (($$08$i$i | 0) == ($6 | 0)) { - $14 = 1; + $0 = HEAP8[$s$addr$09 >> 0] | 0; + if (!($0 << 24 >> 24)) { + $d$addr$0$lcssa = $d$addr$011; break L1; } - if ((HEAP8[$$08$i$i >> 0] | 0) != (HEAP8[$$0$i$i >> 0] | 0)) { - $14 = 0; - break L1; + $n$addr$010 = $n$addr$010 + -1 | 0; + $incdec$ptr2 = $d$addr$011 + 1 | 0; + HEAP8[$d$addr$011 >> 0] = $0; + if (!$n$addr$010) { + $d$addr$0$lcssa = $incdec$ptr2; + break; + } else { + $d$addr$011 = $incdec$ptr2; + $s$addr$09 = $s$addr$09 + 1 | 0; } - $$0$i$i = $$0$i$i + 1 | 0; - $$08$i$i = $$08$i$i + 1 | 0; } - } else $14 = 0; while (0); - return $14 | 0; -} - -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle11SpecialNameEJRA41_KcRPNS2_4NodeEEEEPT_DpOT0_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$byval_copy = 0, $3 = 0, $4 = 0, $5 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy = sp + 8 | 0; - $3 = sp; - $4 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 20) | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($3, $1); - $5 = HEAP32[$2 >> 2] | 0; - HEAP32[$$byval_copy >> 2] = HEAP32[$3 >> 2]; - HEAP32[$$byval_copy + 4 >> 2] = HEAP32[$3 + 4 >> 2]; - __ZN12_GLOBAL__N_116itanium_demangle11SpecialNameC2ENS_10StringViewEPKNS0_4NodeE($4, $$byval_copy, $5); - STACKTOP = sp; - return $4 | 0; -} - -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle11SpecialNameEJRA34_KcRPNS2_4NodeEEEEPT_DpOT0_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$byval_copy = 0, $3 = 0, $4 = 0, $5 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy = sp + 8 | 0; - $3 = sp; - $4 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 20) | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($3, $1); - $5 = HEAP32[$2 >> 2] | 0; - HEAP32[$$byval_copy >> 2] = HEAP32[$3 >> 2]; - HEAP32[$$byval_copy + 4 >> 2] = HEAP32[$3 + 4 >> 2]; - __ZN12_GLOBAL__N_116itanium_demangle11SpecialNameC2ENS_10StringViewEPKNS0_4NodeE($4, $$byval_copy, $5); - STACKTOP = sp; - return $4 | 0; -} - -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle11SpecialNameEJRA27_KcRPNS2_4NodeEEEEPT_DpOT0_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$byval_copy = 0, $3 = 0, $4 = 0, $5 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy = sp + 8 | 0; - $3 = sp; - $4 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 20) | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($3, $1); - $5 = HEAP32[$2 >> 2] | 0; - HEAP32[$$byval_copy >> 2] = HEAP32[$3 >> 2]; - HEAP32[$$byval_copy + 4 >> 2] = HEAP32[$3 + 4 >> 2]; - __ZN12_GLOBAL__N_116itanium_demangle11SpecialNameC2ENS_10StringViewEPKNS0_4NodeE($4, $$byval_copy, $5); - STACKTOP = sp; - return $4 | 0; -} - -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle11SpecialNameEJRA25_KcRPNS2_4NodeEEEEPT_DpOT0_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$byval_copy = 0, $3 = 0, $4 = 0, $5 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy = sp + 8 | 0; - $3 = sp; - $4 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 20) | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($3, $1); - $5 = HEAP32[$2 >> 2] | 0; - HEAP32[$$byval_copy >> 2] = HEAP32[$3 >> 2]; - HEAP32[$$byval_copy + 4 >> 2] = HEAP32[$3 + 4 >> 2]; - __ZN12_GLOBAL__N_116itanium_demangle11SpecialNameC2ENS_10StringViewEPKNS0_4NodeE($4, $$byval_copy, $5); - STACKTOP = sp; - return $4 | 0; + } while (0); + HEAP8[$d$addr$0$lcssa >> 0] = 0; + return $d | 0; } -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle11SpecialNameEJRA22_KcRPNS2_4NodeEEEEPT_DpOT0_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$byval_copy = 0, $3 = 0, $4 = 0, $5 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy = sp + 8 | 0; - $3 = sp; - $4 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 20) | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($3, $1); - $5 = HEAP32[$2 >> 2] | 0; - HEAP32[$$byval_copy >> 2] = HEAP32[$3 >> 2]; - HEAP32[$$byval_copy + 4 >> 2] = HEAP32[$3 + 4 >> 2]; - __ZN12_GLOBAL__N_116itanium_demangle11SpecialNameC2ENS_10StringViewEPKNS0_4NodeE($4, $$byval_copy, $5); - STACKTOP = sp; - return $4 | 0; +function __ZN6vision14VisualDatabaseINS_14FREAKExtractorENS_18BinaryFeatureStoreENS_20BinaryFeatureMatcherILi96EEEED2Ev($this) { + $this = $this | 0; + __ZN6vision16RobustHomographyIfED2Ev($this + 788 | 0); + __ZN6vision21HoughSimilarityVotingD2Ev($this + 652 | 0); + __ZN6vision20BinaryFeatureMatcherILi96EED2Ev($this + 636 | 0); + __ZN6vision14FREAKExtractorD2Ev($this + 316 | 0); + __ZN6vision25DoGScaleInvariantDetectorD2Ev($this + 160 | 0); + __ZN6vision18BinomialPyramid32fD2Ev($this + 92 | 0); + __ZNSt3__213unordered_mapIiNS_10shared_ptrIN6vision8KeyframeILi96EEEEENS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS5_EEEEED2Ev($this + 72 | 0); + __ZNSt3__210shared_ptrIN6vision8KeyframeILi96EEEED2Ev($this + 64 | 0); + __ZNSt3__213__vector_baseIN6vision7match_tENS_9allocatorIS2_EEED2Ev($this + 12 | 0); + return; } -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle11SpecialNameEJRA20_KcRPNS2_4NodeEEEEPT_DpOT0_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$byval_copy = 0, $3 = 0, $4 = 0, $5 = 0, sp = 0; +function _getProjectionFarPlane($id) { + $id = $id | 0; + var $farPlane = 0, $id$addr = 0, $retval$0 = 0.0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy = sp + 8 | 0; - $3 = sp; - $4 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 20) | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($3, $1); - $5 = HEAP32[$2 >> 2] | 0; - HEAP32[$$byval_copy >> 2] = HEAP32[$3 >> 2]; - HEAP32[$$byval_copy + 4 >> 2] = HEAP32[$3 + 4 >> 2]; - __ZN12_GLOBAL__N_116itanium_demangle11SpecialNameC2ENS_10StringViewEPKNS0_4NodeE($4, $$byval_copy, $5); + $id$addr = sp; + HEAP32[$id$addr >> 2] = $id; + if (!(__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(66108, $id$addr) | 0)) $retval$0 = -1.0; else { + $farPlane = (__ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(66108, $id$addr) | 0) + 344 | 0; + $retval$0 = +HEAPF64[$farPlane >> 3]; + } STACKTOP = sp; - return $4 | 0; + return +$retval$0; } -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle11SpecialNameEJRA19_KcRPNS2_4NodeEEEEPT_DpOT0_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$byval_copy = 0, $3 = 0, $4 = 0, $5 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy = sp + 8 | 0; - $3 = sp; - $4 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 20) | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($3, $1); - $5 = HEAP32[$2 >> 2] | 0; - HEAP32[$$byval_copy >> 2] = HEAP32[$3 >> 2]; - HEAP32[$$byval_copy + 4 >> 2] = HEAP32[$3 + 4 >> 2]; - __ZN12_GLOBAL__N_116itanium_demangle11SpecialNameC2ENS_10StringViewEPKNS0_4NodeE($4, $$byval_copy, $5); - STACKTOP = sp; - return $4 | 0; +function __ZNSt3__26vectorIN6vision17PriorityQueueItemILi96EEENS_9allocatorIS3_EEE11__vallocateEm($this, $__n) { + $this = $this | 0; + $__n = $__n | 0; + var $call$i$i$i = 0, $exception$i$i$i = 0; + if ((__ZNKSt3__26vectorIN6vision17PriorityQueueItemILi96EEENS_9allocatorIS3_EEE8max_sizeEv($this) | 0) >>> 0 < $__n >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv($this); + if ($__n >>> 0 > 536870911) { + $exception$i$i$i = ___cxa_allocate_exception(8) | 0; + __ZNSt11logic_errorC2EPKc($exception$i$i$i, 42283); + HEAP32[$exception$i$i$i >> 2] = 17472; + ___cxa_throw($exception$i$i$i | 0, 13960, 22); + } else { + $call$i$i$i = __Znwm($__n << 3) | 0; + HEAP32[$this + 4 >> 2] = $call$i$i$i; + HEAP32[$this >> 2] = $call$i$i$i; + HEAP32[$this + 8 >> 2] = $call$i$i$i + ($__n << 3); + return; + } } -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle11SpecialNameEJRA18_KcRPNS2_4NodeEEEEPT_DpOT0_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$byval_copy = 0, $3 = 0, $4 = 0, $5 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy = sp + 8 | 0; - $3 = sp; - $4 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 20) | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($3, $1); - $5 = HEAP32[$2 >> 2] | 0; - HEAP32[$$byval_copy >> 2] = HEAP32[$3 >> 2]; - HEAP32[$$byval_copy + 4 >> 2] = HEAP32[$3 + 4 >> 2]; - __ZN12_GLOBAL__N_116itanium_demangle11SpecialNameC2ENS_10StringViewEPKNS0_4NodeE($4, $$byval_copy, $5); - STACKTOP = sp; - return $4 | 0; +function _strtok($s, $sep) { + $s = $s | 0; + $sep = $sep | 0; + var $0 = 0, $add$ptr = 0, $add$ptr6 = 0, $retval$0 = 0, $s$addr$0 = 0, label = 0; + if (!$s) { + $0 = HEAP32[16566] | 0; + if (!$0) $retval$0 = 0; else { + $s$addr$0 = $0; + label = 3; + } + } else { + $s$addr$0 = $s; + label = 3; + } + do if ((label | 0) == 3) { + $add$ptr = $s$addr$0 + (_strspn($s$addr$0, $sep) | 0) | 0; + if (!(HEAP8[$add$ptr >> 0] | 0)) { + HEAP32[16566] = 0; + $retval$0 = 0; + break; + } + $add$ptr6 = $add$ptr + (_strcspn($add$ptr, $sep) | 0) | 0; + HEAP32[16566] = $add$ptr6; + if (!(HEAP8[$add$ptr6 >> 0] | 0)) { + HEAP32[16566] = 0; + $retval$0 = $add$ptr; + break; + } else { + HEAP32[16566] = $add$ptr6 + 1; + HEAP8[$add$ptr6 >> 0] = 0; + $retval$0 = $add$ptr; + break; + } + } while (0); + return $retval$0 | 0; } -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle11SpecialNameEJRA14_KcRPNS2_4NodeEEEEPT_DpOT0_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$byval_copy = 0, $3 = 0, $4 = 0, $5 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy = sp + 8 | 0; - $3 = sp; - $4 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 20) | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($3, $1); - $5 = HEAP32[$2 >> 2] | 0; - HEAP32[$$byval_copy >> 2] = HEAP32[$3 >> 2]; - HEAP32[$$byval_copy + 4 >> 2] = HEAP32[$3 + 4 >> 2]; - __ZN12_GLOBAL__N_116itanium_demangle11SpecialNameC2ENS_10StringViewEPKNS0_4NodeE($4, $$byval_copy, $5); - STACKTOP = sp; - return $4 | 0; +function __ZNSt3__212__hash_tableINS_17__hash_value_typeIjjEENS_22__unordered_map_hasherIjS2_NS_4hashIjEELb1EEENS_21__unordered_map_equalIjS2_NS_8equal_toIjEELb1EEENS_9allocatorIS2_EEE21__construct_node_hashINS_4pairIjjEEJEEENS_10unique_ptrINS_11__hash_nodeIS2_PvEENS_22__hash_node_destructorINSB_ISK_EEEEEEmOT_DpOT0_($agg$result, $this, $__hash, $__f) { + $agg$result = $agg$result | 0; + $this = $this | 0; + $__hash = $__hash | 0; + $__f = $__f | 0; + var $call$i$i$i = 0; + $call$i$i$i = __Znwm(16) | 0; + HEAP32[$agg$result >> 2] = $call$i$i$i; + HEAP32[$agg$result + 4 >> 2] = $this + 8; + HEAP32[$call$i$i$i + 8 >> 2] = HEAP32[$__f >> 2]; + HEAP32[$call$i$i$i + 12 >> 2] = HEAP32[$__f + 4 >> 2]; + HEAP8[$agg$result + 8 >> 0] = 1; + HEAP32[$call$i$i$i + 4 >> 2] = $__hash; + HEAP32[$call$i$i$i >> 2] = 0; + return; } -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle11SpecialNameEJRA12_KcRPNS2_4NodeEEEEPT_DpOT0_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$byval_copy = 0, $3 = 0, $4 = 0, $5 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy = sp + 8 | 0; - $3 = sp; - $4 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 20) | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($3, $1); - $5 = HEAP32[$2 >> 2] | 0; - HEAP32[$$byval_copy >> 2] = HEAP32[$3 >> 2]; - HEAP32[$$byval_copy + 4 >> 2] = HEAP32[$3 + 4 >> 2]; - __ZN12_GLOBAL__N_116itanium_demangle11SpecialNameC2ENS_10StringViewEPKNS0_4NodeE($4, $$byval_copy, $5); - STACKTOP = sp; - return $4 | 0; +function __ZNK6vision21HoughSimilarityVoting23getMaximumNumberOfVotesERfRi($this, $maxVotes, $maxIndex) { + $this = $this | 0; + $maxVotes = $maxVotes | 0; + $maxIndex = $maxIndex | 0; + var $0 = 0, $2 = 0.0, $5 = 0.0, $conv13 = 0.0, $it$sroa$0$0 = 0, $it$sroa$0$0$in = 0, $second = 0; + HEAPF32[$maxVotes >> 2] = 0.0; + HEAP32[$maxIndex >> 2] = -1; + $2 = 0.0; + $it$sroa$0$0$in = $this + 100 | 0; + while (1) { + $it$sroa$0$0 = HEAP32[$it$sroa$0$0$in >> 2] | 0; + if (!$it$sroa$0$0) break; + $0 = $it$sroa$0$0; + $second = $0 + 12 | 0; + if ($2 < +((HEAP32[$second >> 2] | 0) >>> 0)) { + HEAP32[$maxIndex >> 2] = HEAP32[$0 + 8 >> 2]; + $conv13 = +((HEAP32[$second >> 2] | 0) >>> 0); + HEAPF32[$maxVotes >> 2] = $conv13; + $5 = $conv13; + } else $5 = $2; + $2 = $5; + $it$sroa$0$0$in = $it$sroa$0$0; + } + return; } -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle11SpecialNameEJRA9_KcRPNS2_4NodeEEEEPT_DpOT0_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$byval_copy = 0, $3 = 0, $4 = 0, $5 = 0, sp = 0; +function _setMatrixCodeType($id, $type) { + $id = $id | 0; + $type = $type | 0; + var $arhandle = 0, $id$addr = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy = sp + 8 | 0; - $3 = sp; - $4 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 20) | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($3, $1); - $5 = HEAP32[$2 >> 2] | 0; - HEAP32[$$byval_copy >> 2] = HEAP32[$3 >> 2]; - HEAP32[$$byval_copy + 4 >> 2] = HEAP32[$3 + 4 >> 2]; - __ZN12_GLOBAL__N_116itanium_demangle11SpecialNameC2ENS_10StringViewEPKNS0_4NodeE($4, $$byval_copy, $5); + $id$addr = sp; + HEAP32[$id$addr >> 2] = $id; + if (__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(66108, $id$addr) | 0) { + $arhandle = (__ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(66108, $id$addr) | 0) + 216 | 0; + _arSetMatrixCodeType(HEAP32[$arhandle >> 2] | 0, $type) | 0; + } STACKTOP = sp; - return $4 | 0; + return; } -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle11PostfixExprEJRPNS2_4NodeERA3_KcEEEPT_DpOT0_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$byval_copy = 0, $3 = 0, $4 = 0, $5 = 0, sp = 0; +function _jpeg_idct_2x1($cinfo, $compptr, $coef_block, $output_buf, $output_col) { + $cinfo = $cinfo | 0; + $compptr = $compptr | 0; + $coef_block = $coef_block | 0; + $output_buf = $output_buf | 0; + $output_col = $output_col | 0; + var $1 = 0, $add = 0, $add$ptr = 0, $add$ptr1 = 0, $mul7 = 0; + $add$ptr = (HEAP32[$cinfo + 336 >> 2] | 0) + -384 | 0; + $1 = HEAP32[$compptr + 84 >> 2] | 0; + $add$ptr1 = (HEAP32[$output_buf >> 2] | 0) + $output_col | 0; + $add = (Math_imul(HEAP32[$1 >> 2] | 0, HEAP16[$coef_block >> 1] | 0) | 0) + 4100 | 0; + $mul7 = Math_imul(HEAP32[$1 + 4 >> 2] | 0, HEAP16[$coef_block + 2 >> 1] | 0) | 0; + HEAP8[$add$ptr1 >> 0] = HEAP8[$add$ptr + (($mul7 + $add | 0) >>> 3 & 1023) >> 0] | 0; + HEAP8[$add$ptr1 + 1 >> 0] = HEAP8[$add$ptr + (($add - $mul7 | 0) >>> 3 & 1023) >> 0] | 0; + return; +} + +function __ZNSt3__210__stdinbufIwEC2EP8_IO_FILEP11__mbstate_t($this, $__fp, $__st) { + $this = $this | 0; + $__fp = $__fp | 0; + $__st = $__st | 0; + var $0 = 0, $call = 0, $ref$tmp = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy = sp + 8 | 0; - $3 = sp; - $4 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 20) | 0; - $5 = HEAP32[$1 >> 2] | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($3, $2); - HEAP32[$$byval_copy >> 2] = HEAP32[$3 >> 2]; - HEAP32[$$byval_copy + 4 >> 2] = HEAP32[$3 + 4 >> 2]; - __ZN12_GLOBAL__N_116itanium_demangle11PostfixExprC2EPKNS0_4NodeENS_10StringViewE($4, $5, $$byval_copy); + $ref$tmp = sp; + __ZNSt3__215basic_streambufIwNS_11char_traitsIwEEEC2Ev($this); + HEAP32[$this >> 2] = 21016; + HEAP32[$this + 32 >> 2] = $__fp; + HEAP32[$this + 40 >> 2] = $__st; + $call = __ZNSt3__211char_traitsIwE3eofEv() | 0; + HEAP32[$this + 48 >> 2] = $call; + HEAP8[$this + 52 >> 0] = 0; + $0 = HEAP32[(HEAP32[$this >> 2] | 0) + 8 >> 2] | 0; + __ZNSt3__26localeC2ERKS0_($ref$tmp, $this + 4 | 0); + FUNCTION_TABLE_vii[$0 & 255]($this, $ref$tmp); + __ZNSt3__26localeD2Ev($ref$tmp); STACKTOP = sp; - return $4 | 0; + return; } -function __ZNK12_GLOBAL__N_116itanium_demangle10NestedName9printLeftERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$byval_copy = 0, $2 = 0, sp = 0; +function __ZNSt3__210__stdinbufIcEC2EP8_IO_FILEP11__mbstate_t($this, $__fp, $__st) { + $this = $this | 0; + $__fp = $__fp | 0; + $__st = $__st | 0; + var $0 = 0, $call = 0, $ref$tmp = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy = sp + 8 | 0; - $2 = sp; - __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(HEAP32[$0 + 8 >> 2] | 0, $1); - __ZN12_GLOBAL__N_110StringViewC2EPKc($2, 53698); - HEAP32[$$byval_copy >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy); - __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(HEAP32[$0 + 12 >> 2] | 0, $1); + $ref$tmp = sp; + __ZNSt3__215basic_streambufIcNS_11char_traitsIcEEEC2Ev($this); + HEAP32[$this >> 2] = 21080; + HEAP32[$this + 32 >> 2] = $__fp; + HEAP32[$this + 40 >> 2] = $__st; + $call = __ZNSt3__211char_traitsIcE3eofEv() | 0; + HEAP32[$this + 48 >> 2] = $call; + HEAP8[$this + 52 >> 0] = 0; + $0 = HEAP32[(HEAP32[$this >> 2] | 0) + 8 >> 2] | 0; + __ZNSt3__26localeC2ERKS0_($ref$tmp, $this + 4 | 0); + FUNCTION_TABLE_vii[$0 & 255]($this, $ref$tmp); + __ZNSt3__26localeD2Ev($ref$tmp); STACKTOP = sp; return; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_EC2EPKcS7_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - HEAP32[$0 >> 2] = $1; - HEAP32[$0 + 4 >> 2] = $2; - __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EEC2Ev($0 + 8 | 0); - __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EEC2Ev($0 + 148 | 0); - __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm8EEC2Ev($0 + 288 | 0); - __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_24ForwardTemplateReferenceELm4EEC2Ev($0 + 332 | 0); - HEAP8[$0 + 360 >> 0] = 1; - HEAP8[$0 + 361 >> 0] = 0; - HEAP8[$0 + 362 >> 0] = 0; - __ZN12_GLOBAL__N_116DefaultAllocatorC2Ev($0 + 368 | 0); +function __ZN12_GLOBAL__N_116itanium_demangle12FunctionTypeC2EPKNS0_4NodeENS0_9NodeArrayENS0_10QualifiersENS0_15FunctionRefQualES4_($this, $Ret_, $Params_, $CVQuals_, $RefQual_, $ExceptionSpec_) { + $this = $this | 0; + $Ret_ = $Ret_ | 0; + $Params_ = $Params_ | 0; + $CVQuals_ = $CVQuals_ | 0; + $RefQual_ = $RefQual_ | 0; + $ExceptionSpec_ = $ExceptionSpec_ | 0; + var $0 = 0, $5 = 0, $6 = 0; + __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($this, 15, 0, 1, 0); + HEAP32[$this >> 2] = 20200; + HEAP32[$this + 8 >> 2] = $Ret_; + $0 = $Params_; + $5 = HEAP32[$0 + 4 >> 2] | 0; + $6 = $this + 12 | 0; + HEAP32[$6 >> 2] = HEAP32[$0 >> 2]; + HEAP32[$6 + 4 >> 2] = $5; + HEAP32[$this + 20 >> 2] = $CVQuals_; + HEAP8[$this + 24 >> 0] = $RefQual_; + HEAP32[$this + 28 >> 2] = $ExceptionSpec_; return; } -function __ZNKSt3__210__time_put8__do_putEPcRS1_PK2tmcc($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $12 = 0, $15 = 0, $6 = 0, $7 = 0, $8 = 0, sp = 0; +function __ZN6vision34SolveHomography4PointsInhomogenousIfEEbPT_PKS1_S4_S4_S4_S4_S4_S4_S4_($H, $x1, $x2, $x3, $x4, $xp1, $xp2, $xp3, $xp4) { + $H = $H | 0; + $x1 = $x1 | 0; + $x2 = $x2 | 0; + $x3 = $x3 | 0; + $x4 = $x4 | 0; + $xp1 = $xp1 | 0; + $xp2 = $xp2 | 0; + $xp3 = $xp3 | 0; + $xp4 = $xp4 | 0; + var $A = 0, $retval$0 = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $6 = sp; - HEAP8[$6 >> 0] = 37; - $7 = $6 + 1 | 0; - HEAP8[$7 >> 0] = $4; - $8 = $6 + 2 | 0; - HEAP8[$8 >> 0] = $5; - HEAP8[$6 + 3 >> 0] = 0; - if ($5 << 24 >> 24) { - HEAP8[$7 >> 0] = $5; - HEAP8[$8 >> 0] = $4; - } - $12 = __ZNSt3__212_GLOBAL__N_17countofIcEEmPKT_S4_($1, HEAP32[$2 >> 2] | 0) | 0; - $15 = $1 + (_strftime_l($1 | 0, $12 | 0, $6 | 0, $3 | 0, HEAP32[$0 >> 2] | 0) | 0) | 0; - HEAP32[$2 >> 2] = $15; + STACKTOP = STACKTOP + 288 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(288); + $A = sp; + __ZN6vision40Homography4PointsInhomogeneousConstraintIfEEvPT_PKS1_S4_S4_S4_S4_S4_S4_S4_($A, $x1, $x2, $x3, $x4, $xp1, $xp2, $xp3, $xp4); + if (__ZN6vision29SolveNullVector8x9DestructiveIfEEbPT_S2_($H, $A) | 0) $retval$0 = !(+Math_abs(+(+__ZN6vision14Determinant3x3IfEET_PKS1_($H))) < 1.0e-05); else $retval$0 = 0; STACKTOP = sp; + return $retval$0 | 0; +} + +function _jpeg_idct_1x2($cinfo, $compptr, $coef_block, $output_buf, $output_col) { + $cinfo = $cinfo | 0; + $compptr = $compptr | 0; + $coef_block = $coef_block | 0; + $output_buf = $output_buf | 0; + $output_col = $output_col | 0; + var $1 = 0, $add = 0, $add$ptr = 0, $mul5 = 0; + $add$ptr = (HEAP32[$cinfo + 336 >> 2] | 0) + -384 | 0; + $1 = HEAP32[$compptr + 84 >> 2] | 0; + $add = (Math_imul(HEAP32[$1 >> 2] | 0, HEAP16[$coef_block >> 1] | 0) | 0) + 4100 | 0; + $mul5 = Math_imul(HEAP32[$1 + 32 >> 2] | 0, HEAP16[$coef_block + 16 >> 1] | 0) | 0; + HEAP8[(HEAP32[$output_buf >> 2] | 0) + $output_col >> 0] = HEAP8[$add$ptr + (($mul5 + $add | 0) >>> 3 & 1023) >> 0] | 0; + HEAP8[(HEAP32[$output_buf + 4 >> 2] | 0) + $output_col >> 0] = HEAP8[$add$ptr + (($add - $mul5 | 0) >>> 3 & 1023) >> 0] | 0; return; } -function __ZNK12_GLOBAL__N_116itanium_demangle9LocalName9printLeftERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$byval_copy = 0, $2 = 0, sp = 0; +function __ZNK12_GLOBAL__N_116itanium_demangle20DynamicExceptionSpec9printLeftERNS_12OutputStreamE($this, $S) { + $this = $this | 0; + $S = $S | 0; + var $agg$tmp = 0, $agg$tmp$byval_copy = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy = sp + 8 | 0; - $2 = sp; - __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(HEAP32[$0 + 8 >> 2] | 0, $1); - __ZN12_GLOBAL__N_110StringViewC2EPKc($2, 53698); - HEAP32[$$byval_copy >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy); - __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(HEAP32[$0 + 12 >> 2] | 0, $1); + $agg$tmp$byval_copy = sp + 8 | 0; + $agg$tmp = sp; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, 57236); + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp$byval_copy); + __ZNK12_GLOBAL__N_116itanium_demangle9NodeArray14printWithCommaERNS_12OutputStreamE($this + 8 | 0, $S); + __ZN12_GLOBAL__N_112OutputStreampLEc($S, 41); STACKTOP = sp; return; } -function __ZNSt3__26locale2id5__getEv($0) { - $0 = $0 | 0; - var $$byval_copy = 0, $1 = 0, $2 = 0, $3 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 48 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); - $$byval_copy = sp + 32 | 0; - $1 = sp + 24 | 0; - $2 = sp; - $3 = sp + 16 | 0; - HEAP32[$3 >> 2] = 212; - HEAP32[$3 + 4 >> 2] = 0; - HEAP32[$$byval_copy >> 2] = HEAP32[$3 >> 2]; - HEAP32[$$byval_copy + 4 >> 2] = HEAP32[$3 + 4 >> 2]; - __ZNSt3__212_GLOBAL__N_111__fake_bindC2EMNS_6locale2idEFvvEPS3_($2, $$byval_copy, $0); - if ((HEAP32[$0 >> 2] | 0) != -1) { - HEAP32[$$byval_copy >> 2] = $2; - HEAP32[$1 >> 2] = $$byval_copy; - __ZNSt3__211__call_onceERVmPvPFvS2_E($0, $1, 213); +function __ZNSt3__26vectorIN6vision12FeaturePointENS_9allocatorIS2_EEE11__vallocateEm($this, $__n) { + $this = $this | 0; + $__n = $__n | 0; + var $call$i$i$i = 0, $exception$i$i$i = 0; + if ((__ZNKSt3__26vectorIN6vision12FeaturePointENS_9allocatorIS2_EEE8max_sizeEv($this) | 0) >>> 0 < $__n >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv($this); + if ($__n >>> 0 > 214748364) { + $exception$i$i$i = ___cxa_allocate_exception(8) | 0; + __ZNSt11logic_errorC2EPKc($exception$i$i$i, 42283); + HEAP32[$exception$i$i$i >> 2] = 17472; + ___cxa_throw($exception$i$i$i | 0, 13960, 22); + } else { + $call$i$i$i = __Znwm($__n * 20 | 0) | 0; + HEAP32[$this + 4 >> 2] = $call$i$i$i; + HEAP32[$this >> 2] = $call$i$i$i; + HEAP32[$this + 8 >> 2] = $call$i$i$i + ($__n * 20 | 0); + return; } - STACKTOP = sp; - return (HEAP32[$0 + 4 >> 2] | 0) + -1 | 0; } -function __ZN6vision14Determinant3x3IfEET_PKS1_($0) { - $0 = $0 | 0; - var $1 = 0, $10 = 0, $13 = 0, $16 = 0.0, $21 = 0.0, $3 = 0, $5 = 0, $7 = 0, $9 = 0.0; - $1 = $0 + 16 | 0; - $3 = $0 + 20 | 0; - $5 = $0 + 28 | 0; - $7 = $0 + 32 | 0; - $9 = +__ZN6vision11Cofactor2x2IfEET_S1_S1_S1_S1_(+HEAPF32[$1 >> 2], +HEAPF32[$3 >> 2], +HEAPF32[$5 >> 2], +HEAPF32[$7 >> 2]); - $10 = $0 + 12 | 0; - $13 = $0 + 24 | 0; - $16 = +__ZN6vision11Cofactor2x2IfEET_S1_S1_S1_S1_(+HEAPF32[$10 >> 2], +HEAPF32[$3 >> 2], +HEAPF32[$13 >> 2], +HEAPF32[$7 >> 2]); - $21 = +__ZN6vision11Cofactor2x2IfEET_S1_S1_S1_S1_(+HEAPF32[$10 >> 2], +HEAPF32[$1 >> 2], +HEAPF32[$13 >> 2], +HEAPF32[$5 >> 2]); - return +($9 * +HEAPF32[$0 >> 2] - $16 * +HEAPF32[$0 + 4 >> 2] + $21 * +HEAPF32[$0 + 8 >> 2]); -} - -function _strtox_735($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $10 = 0, $12 = 0, $13 = 0, $5 = 0, $6 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 144 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(144); - $5 = sp; - HEAP32[$5 >> 2] = 0; - $6 = $5 + 4 | 0; - HEAP32[$6 >> 2] = $0; - HEAP32[$5 + 44 >> 2] = $0; - $10 = $5 + 8 | 0; - HEAP32[$10 >> 2] = ($0 | 0) < 0 ? -1 : $0 + 2147483647 | 0; - HEAP32[$5 + 76 >> 2] = -1; - ___shlim($5, 0, 0); - $12 = ___intscan($5, $2, 1, $3, $4) | 0; - $13 = getTempRet0() | 0; - if ($1 | 0) HEAP32[$1 >> 2] = $0 + ((HEAP32[$6 >> 2] | 0) + (HEAP32[$5 + 120 >> 2] | 0) - (HEAP32[$10 >> 2] | 0)); - setTempRet0($13 | 0); - STACKTOP = sp; - return $12 | 0; -} - -function __ZNSt3__211__stdoutbufIwE6xsputnEPKwl($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$0 = 0, $$010 = 0, $$011 = 0, $12 = 0, $14 = 0, $15 = 0; - L1 : do if (!(HEAP8[$0 + 44 >> 0] | 0)) { - $$0 = 0; - $$011 = $1; +function _arMatrixDup($dest, $source) { + $dest = $dest | 0; + $source = $source | 0; + var $0 = 0, $2 = 0, $add = 0, $c$0 = 0, $mul = 0, $r$0 = 0, $retval$0 = 0; + $0 = HEAP32[$dest + 4 >> 2] | 0; + L1 : do if (($0 | 0) == (HEAP32[$source + 4 >> 2] | 0) ? ($2 = HEAP32[$dest + 8 >> 2] | 0, ($2 | 0) == (HEAP32[$source + 8 >> 2] | 0)) : 0) { + $r$0 = 0; while (1) { - if (($$0 | 0) >= ($2 | 0)) { - $$010 = $$0; + if (($r$0 | 0) >= ($0 | 0)) { + $retval$0 = 0; break L1; } - $12 = HEAP32[(HEAP32[$0 >> 2] | 0) + 52 >> 2] | 0; - $14 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$$011 >> 2] | 0) | 0; - $15 = FUNCTION_TABLE_iii[$12 & 127]($0, $14) | 0; - if (($15 | 0) == (__ZNSt3__211char_traitsIwE3eofEv() | 0)) { - $$010 = $$0; - break L1; + $mul = Math_imul($r$0, $2) | 0; + $c$0 = 0; + while (1) { + if (($c$0 | 0) >= ($2 | 0)) break; + $add = $c$0 + $mul | 0; + HEAPF64[(HEAP32[$dest >> 2] | 0) + ($add << 3) >> 3] = +HEAPF64[(HEAP32[$source >> 2] | 0) + ($add << 3) >> 3]; + $c$0 = $c$0 + 1 | 0; } - $$0 = $$0 + 1 | 0; - $$011 = $$011 + 4 | 0; + $r$0 = $r$0 + 1 | 0; } - } else $$010 = _fwrite($1, 4, $2, HEAP32[$0 + 32 >> 2] | 0) | 0; while (0); - return $$010 | 0; + } else $retval$0 = -1; while (0); + return $retval$0 | 0; } -function __ZNSt3__214__num_put_base12__format_intEPcPKcbj($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $$0 = 0, $$013 = 0, $$2 = 0, $$2$ph = 0, $$sink = 0, $10 = 0; - if (!($3 & 2048)) $$0 = $0; else { - HEAP8[$0 >> 0] = 43; - $$0 = $0 + 1 | 0; - } - if (!($3 & 512)) $$2$ph = $$0; else { - HEAP8[$$0 >> 0] = 35; - $$2$ph = $$0 + 1 | 0; - } - $$013 = $1; - $$2 = $$2$ph; +function __ZNSt3__214__split_bufferIPNS_6locale5facetERNS_15__sso_allocatorIS3_Lm28EEEED2Ev($this) { + $this = $this | 0; + var $0 = 0, $1 = 0, $2 = 0, $3 = 0, $4 = 0, $__end_$i$i$i = 0, $incdec$ptr$i$i$i = 0; + $0 = HEAP32[$this + 4 >> 2] | 0; + $__end_$i$i$i = $this + 8 | 0; + $1 = HEAP32[$__end_$i$i$i >> 2] | 0; while (1) { - $10 = HEAP8[$$013 >> 0] | 0; - if (!($10 << 24 >> 24)) break; - HEAP8[$$2 >> 0] = $10; - $$013 = $$013 + 1 | 0; - $$2 = $$2 + 1 | 0; + if (($1 | 0) == ($0 | 0)) break; + $incdec$ptr$i$i$i = $1 + -4 | 0; + HEAP32[$__end_$i$i$i >> 2] = $incdec$ptr$i$i$i; + $1 = $incdec$ptr$i$i$i; } - switch ($3 & 74) { - case 64: - { - $$sink = 111; + $2 = HEAP32[$this >> 2] | 0; + $3 = $2; + do if ($2 | 0) { + $4 = HEAP32[$this + 16 >> 2] | 0; + if (($2 | 0) == ($4 | 0)) { + HEAP8[$4 + 112 >> 0] = 0; break; - } - case 8: - { - $$sink = $3 >>> 9 & 32 ^ 120; + } else { + __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($2, (HEAP32[$this + 12 >> 2] | 0) - $3 | 0); break; } - default: - $$sink = $2 ? 100 : 117; + } while (0); + return; +} + +function __ZNSt3__2L11init_wam_pmEv() { + var $__i$0$i$i = 0, $arrayctor$cur = 0; + if ((HEAP8[65552] | 0) == 0 ? ___cxa_guard_acquire(65552) | 0 : 0) { + $arrayctor$cur = 64656; + do { + HEAP32[$arrayctor$cur >> 2] = 0; + HEAP32[$arrayctor$cur + 4 >> 2] = 0; + HEAP32[$arrayctor$cur + 8 >> 2] = 0; + $__i$0$i$i = 0; + while (1) { + if (($__i$0$i$i | 0) == 3) break; + HEAP32[$arrayctor$cur + ($__i$0$i$i << 2) >> 2] = 0; + $__i$0$i$i = $__i$0$i$i + 1 | 0; + } + $arrayctor$cur = $arrayctor$cur + 12 | 0; + } while (($arrayctor$cur | 0) != 64680); + ___cxa_guard_release(65552); } - HEAP8[$$2 >> 0] = $$sink; + __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(64656, 21804) | 0; + __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(64668, 21816) | 0; return; } -function __ZNSt3__211__stdoutbufIcE6xsputnEPKcl($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$0 = 0, $$010 = 0, $$011 = 0, $12 = 0, $14 = 0, $15 = 0; - L1 : do if (!(HEAP8[$0 + 44 >> 0] | 0)) { - $$0 = 0; - $$011 = $1; +function __ZNSt3__213__vector_baseINS_6vectorINS_4pairIfmEENS_9allocatorIS3_EEEENS4_IS6_EEED2Ev($this) { + $this = $this | 0; + var $0 = 0, $2 = 0, $__end_$i$i = 0, $__soon_to_be_end$0$i$i = 0, $incdec$ptr$i$i = 0; + $0 = HEAP32[$this >> 2] | 0; + if ($0 | 0) { + $__end_$i$i = $this + 4 | 0; + $__soon_to_be_end$0$i$i = HEAP32[$__end_$i$i >> 2] | 0; while (1) { - if (($$0 | 0) >= ($2 | 0)) { - $$010 = $$0; - break L1; - } - $12 = HEAP32[(HEAP32[$0 >> 2] | 0) + 52 >> 2] | 0; - $14 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$$011 >> 0] | 0) | 0; - $15 = FUNCTION_TABLE_iii[$12 & 127]($0, $14) | 0; - if (($15 | 0) == (__ZNSt3__211char_traitsIcE3eofEv() | 0)) { - $$010 = $$0; - break L1; - } - $$0 = $$0 + 1 | 0; - $$011 = $$011 + 1 | 0; + if (($__soon_to_be_end$0$i$i | 0) == ($0 | 0)) break; + $incdec$ptr$i$i = $__soon_to_be_end$0$i$i + -12 | 0; + __ZNSt3__213__vector_baseINS_4pairIfmEENS_9allocatorIS2_EEED2Ev($incdec$ptr$i$i); + $__soon_to_be_end$0$i$i = $incdec$ptr$i$i; } - } else $$010 = _fwrite($1, 1, $2, HEAP32[$0 + 32 >> 2] | 0) | 0; while (0); - return $$010 | 0; + HEAP32[$__end_$i$i >> 2] = $0; + $2 = HEAP32[$this >> 2] | 0; + __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($2, (HEAP32[$this + 8 >> 2] | 0) - $2 | 0); + } + return; } -function _skip_input_data($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0$lcssa = 0, $$013 = 0, $$lcssa = 0, $10 = 0, $12 = 0, $3 = 0, $5 = 0, $6 = 0, $8 = 0, $9 = 0; - $3 = HEAP32[$0 + 24 >> 2] | 0; - if (($1 | 0) <= 0) return; - $5 = $3 + 4 | 0; - $6 = HEAP32[$5 >> 2] | 0; - if (($6 | 0) < ($1 | 0)) { - $8 = $3 + 12 | 0; - $$013 = $1; - $10 = $6; - while (1) { - $9 = $$013 - $10 | 0; - FUNCTION_TABLE_ii[HEAP32[$8 >> 2] & 127]($0) | 0; - $12 = HEAP32[$5 >> 2] | 0; - if (($9 | 0) > ($12 | 0)) { - $$013 = $9; - $10 = $12; - } else { - $$0$lcssa = $9; - $$lcssa = $12; - break; +function __ZNSt3__2L10init_am_pmEv() { + var $__i$0$i$i = 0, $arrayctor$cur = 0; + if ((HEAP8[65472] | 0) == 0 ? ___cxa_guard_acquire(65472) | 0 : 0) { + $arrayctor$cur = 64160; + do { + HEAP32[$arrayctor$cur >> 2] = 0; + HEAP32[$arrayctor$cur + 4 >> 2] = 0; + HEAP32[$arrayctor$cur + 8 >> 2] = 0; + $__i$0$i$i = 0; + while (1) { + if (($__i$0$i$i | 0) == 3) break; + HEAP32[$arrayctor$cur + ($__i$0$i$i << 2) >> 2] = 0; + $__i$0$i$i = $__i$0$i$i + 1 | 0; } - } - } else { - $$0$lcssa = $1; - $$lcssa = $6; + $arrayctor$cur = $arrayctor$cur + 12 | 0; + } while (($arrayctor$cur | 0) != 64184); + ___cxa_guard_release(65472); } - HEAP32[$3 >> 2] = (HEAP32[$3 >> 2] | 0) + $$0$lcssa; - HEAP32[$5 >> 2] = $$lcssa - $$0$lcssa; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(64160, 60295) | 0; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(64172, 60298) | 0; return; } -function _arPattLoad($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $2 = 0, $4 = 0, $6 = 0, $7 = 0, $vararg_buffer = 0, $vararg_buffer1 = 0, sp = 0; +function __ZNSt3__29__num_getIwE17__stage2_int_prepERNS_8ios_baseERw($agg$result, $__iob, $__thousands_sep) { + $agg$result = $agg$result | 0; + $__iob = $__iob | 0; + $__thousands_sep = $__thousands_sep | 0; + var $__loc = 0, $call$i = 0, $call$i3 = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $vararg_buffer1 = sp + 8 | 0; - $vararg_buffer = sp; - $2 = _cat($1, 0) | 0; - if (!$2) { - HEAP32[$vararg_buffer >> 2] = $1; - _arLog(0, 3, 24397, $vararg_buffer); - $4 = ___errno_location() | 0; - $6 = _strerror(HEAP32[$4 >> 2] | 0) | 0; - HEAP32[$vararg_buffer1 >> 2] = 67447; - HEAP32[$vararg_buffer1 + 4 >> 2] = $6; - _arLog(0, 3, 25953, $vararg_buffer1); - $$0 = -1; - } else { - $7 = _arPattLoadFromBuffer($0, $2) | 0; - _free($2); - $$0 = $7; - } + $__loc = sp; + __ZNKSt3__28ios_base6getlocEv($__loc, $__iob); + $call$i = __ZNKSt3__26locale9use_facetERNS0_2idE($__loc, 67400) | 0; + $call$i3 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$call$i >> 2] | 0) + 16 >> 2] & 127]($call$i) | 0; + HEAP32[$__thousands_sep >> 2] = $call$i3; + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$call$i >> 2] | 0) + 20 >> 2] & 255]($agg$result, $call$i); + __ZNSt3__26localeD2Ev($__loc); STACKTOP = sp; - return $$0 | 0; + return; } -function __ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_6vectorIN6vision7Point3dIfEENS_9allocatorIS5_EEEEEENS_22__unordered_map_hasherIiS9_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS9_NS_8equal_toIiEELb1EEENS6_IS9_EEED2Ev($0) { +function __ZNSt3__210shared_ptrIN6vision8KeyframeILi96EEEEC2IS3_EEPT_NS_9enable_ifIXsr14is_convertibleIS7_PS3_EE5valueENS4_5__natEE4typeE($this, $__p, $0) { + $this = $this | 0; + $__p = $__p | 0; $0 = $0 | 0; - var $3 = 0; - __ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_6vectorIN6vision7Point3dIfEENS_9allocatorIS5_EEEEEENS_22__unordered_map_hasherIiS9_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS9_NS_8equal_toIiEELb1EEENS6_IS9_EEE17__deallocate_nodeEPNS_16__hash_node_baseIPNS_11__hash_nodeIS9_PvEEEE($0, HEAP32[$0 + 8 >> 2] | 0); - $3 = HEAP32[$0 >> 2] | 0; - HEAP32[$0 >> 2] = 0; - if ($3 | 0) __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($3, HEAP32[$0 + 4 >> 2] << 2); + var $call = 0, $vararg_buffer = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $vararg_buffer = sp; + HEAP32[$this >> 2] = $__p; + $call = __Znwm(16) | 0; + HEAP32[$call + 4 >> 2] = 0; + HEAP32[$call + 8 >> 2] = 0; + HEAP32[$call >> 2] = 16820; + HEAP32[$call + 12 >> 2] = $__p; + HEAP32[$this + 4 >> 2] = $call; + HEAP32[$vararg_buffer >> 2] = $__p; + HEAP32[$vararg_buffer + 4 >> 2] = $__p; + __ZNSt3__210shared_ptrIN6vision8KeyframeILi96EEEE18__enable_weak_thisEz($this, $vararg_buffer); + STACKTOP = sp; return; } -function __ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_10shared_ptrIN6vision8KeyframeILi96EEEEEEENS_22__unordered_map_hasherIiS7_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS7_NS_8equal_toIiEELb1EEENS_9allocatorIS7_EEED2Ev($0) { - $0 = $0 | 0; - var $3 = 0; - __ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_10shared_ptrIN6vision8KeyframeILi96EEEEEEENS_22__unordered_map_hasherIiS7_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS7_NS_8equal_toIiEELb1EEENS_9allocatorIS7_EEE17__deallocate_nodeEPNS_16__hash_node_baseIPNS_11__hash_nodeIS7_PvEEEE($0, HEAP32[$0 + 8 >> 2] | 0); - $3 = HEAP32[$0 >> 2] | 0; - HEAP32[$0 >> 2] = 0; - if ($3 | 0) __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($3, HEAP32[$0 + 4 >> 2] << 2); +function __ZNSt3__29__num_getIcE17__stage2_int_prepERNS_8ios_baseERc($agg$result, $__iob, $__thousands_sep) { + $agg$result = $agg$result | 0; + $__iob = $__iob | 0; + $__thousands_sep = $__thousands_sep | 0; + var $__loc = 0, $call$i = 0, $call$i3 = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $__loc = sp; + __ZNKSt3__28ios_base6getlocEv($__loc, $__iob); + $call$i = __ZNKSt3__26locale9use_facetERNS0_2idE($__loc, 67376) | 0; + $call$i3 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$call$i >> 2] | 0) + 16 >> 2] & 127]($call$i) | 0; + HEAP8[$__thousands_sep >> 0] = $call$i3; + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$call$i >> 2] | 0) + 20 >> 2] & 255]($agg$result, $call$i); + __ZNSt3__26localeD2Ev($__loc); + STACKTOP = sp; return; } -function _arUtilMatMuldff($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$0 = 0, $$023 = 0, $28 = 0, $3 = 0, $4 = 0, $5 = 0; - $$0 = 0; - while (1) { - if (($$0 | 0) == 3) break; - $3 = $0 + ($$0 << 5) | 0; - $4 = $0 + ($$0 << 5) + 8 | 0; - $5 = $0 + ($$0 << 5) + 16 | 0; - $$023 = 0; - while (1) { - if (($$023 | 0) == 4) break; - HEAPF32[$2 + ($$0 << 4) + ($$023 << 2) >> 2] = +HEAPF32[$1 + ($$023 << 2) >> 2] * +HEAPF64[$3 >> 3] + +HEAPF32[$1 + 16 + ($$023 << 2) >> 2] * +HEAPF64[$4 >> 3] + +HEAPF32[$1 + 32 + ($$023 << 2) >> 2] * +HEAPF64[$5 >> 3]; - $$023 = $$023 + 1 | 0; - } - $28 = $2 + ($$0 << 4) + 12 | 0; - HEAPF32[$28 >> 2] = +HEAPF32[$28 >> 2] + +HEAPF64[$0 + ($$0 << 5) + 24 >> 3]; - $$0 = $$0 + 1 | 0; +function __ZNSt3__26vectorIN6vision7Point3dIfEENS_9allocatorIS3_EEE11__vallocateEm($this, $__n) { + $this = $this | 0; + $__n = $__n | 0; + var $call$i$i$i = 0, $exception$i$i$i = 0; + if ((__ZNKSt3__26vectorIN6vision7Point3dIfEENS_9allocatorIS3_EEE8max_sizeEv($this) | 0) >>> 0 < $__n >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv($this); + if ($__n >>> 0 > 357913941) { + $exception$i$i$i = ___cxa_allocate_exception(8) | 0; + __ZNSt11logic_errorC2EPKc($exception$i$i$i, 42283); + HEAP32[$exception$i$i$i >> 2] = 17472; + ___cxa_throw($exception$i$i$i | 0, 13960, 22); + } else { + $call$i$i$i = __Znwm($__n * 12 | 0) | 0; + HEAP32[$this + 4 >> 2] = $call$i$i$i; + HEAP32[$this >> 2] = $call$i$i$i; + HEAP32[$this + 8 >> 2] = $call$i$i$i + ($__n * 12 | 0); + return; } - return 0; } -function __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE11__get_year4ERiRS4_S4_RjRKNS_5ctypeIwEE($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$byval_copy = 0, $6 = 0, $8 = 0, sp = 0; +function __ZNK12_GLOBAL__N_116itanium_demangle12EnableIfAttr9printLeftERNS_12OutputStreamE($this, $S) { + $this = $this | 0; + $S = $S | 0; + var $agg$tmp = 0, $agg$tmp$byval_copy = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy = sp + 4 | 0; - $6 = sp; - HEAP32[$6 >> 2] = HEAP32[$3 >> 2]; - HEAP32[$$byval_copy >> 2] = HEAP32[$6 >> 2]; - $8 = __ZNSt3__220__get_up_to_n_digitsIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEEEiRT0_S5_RjRKNS_5ctypeIT_EEi($2, $$byval_copy, $4, $5, 4) | 0; - if (!(HEAP32[$4 >> 2] & 4)) HEAP32[$1 >> 2] = $8 + -1900; + $agg$tmp$byval_copy = sp + 8 | 0; + $agg$tmp = sp; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, 57519); + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp$byval_copy); + __ZNK12_GLOBAL__N_116itanium_demangle9NodeArray14printWithCommaERNS_12OutputStreamE($this + 8 | 0, $S); + __ZN12_GLOBAL__N_112OutputStreampLEc($S, 93); STACKTOP = sp; return; } -function __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE11__get_year4ERiRS4_S4_RjRKNS_5ctypeIcEE($0, $1, $2, $3, $4, $5) { +function __ZNSt3__210shared_ptrIhEC2Ih16NullArrayDeleterIhEEEPT_T0_NS_9enable_ifIXsr14is_convertibleIS6_PhEE5valueENS1_5__natEE4typeE($this, $__p, $__d, $0) { + $this = $this | 0; + $__p = $__p | 0; + $__d = $__d | 0; $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$byval_copy = 0, $6 = 0, $8 = 0, sp = 0; + var $call = 0, $vararg_buffer = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy = sp + 4 | 0; - $6 = sp; - HEAP32[$6 >> 2] = HEAP32[$3 >> 2]; - HEAP32[$$byval_copy >> 2] = HEAP32[$6 >> 2]; - $8 = __ZNSt3__220__get_up_to_n_digitsIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEEiRT0_S5_RjRKNS_5ctypeIT_EEi($2, $$byval_copy, $4, $5, 4) | 0; - if (!(HEAP32[$4 >> 2] & 4)) HEAP32[$1 >> 2] = $8 + -1900; + $vararg_buffer = sp; + HEAP32[$this >> 2] = $__p; + $call = __Znwm(16) | 0; + HEAP32[$call + 4 >> 2] = 0; + HEAP32[$call + 8 >> 2] = 0; + HEAP32[$call >> 2] = 16876; + HEAP32[$call + 12 >> 2] = $__p; + HEAP32[$this + 4 >> 2] = $call; + HEAP32[$vararg_buffer >> 2] = $__p; + HEAP32[$vararg_buffer + 4 >> 2] = $__p; + __ZNSt3__210shared_ptrIhE18__enable_weak_thisEz($this, $vararg_buffer); STACKTOP = sp; return; } -function _arUtilMatMulf($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$0 = 0, $$023 = 0, $24 = 0, $3 = 0, $4 = 0, $5 = 0; - $$0 = 0; - while (1) { - if (($$0 | 0) == 3) break; - $3 = $0 + ($$0 << 4) | 0; - $4 = $0 + ($$0 << 4) + 4 | 0; - $5 = $0 + ($$0 << 4) + 8 | 0; - $$023 = 0; - while (1) { - if (($$023 | 0) == 4) break; - HEAPF32[$2 + ($$0 << 4) + ($$023 << 2) >> 2] = +HEAPF32[$3 >> 2] * +HEAPF32[$1 + ($$023 << 2) >> 2] + +HEAPF32[$4 >> 2] * +HEAPF32[$1 + 16 + ($$023 << 2) >> 2] + +HEAPF32[$5 >> 2] * +HEAPF32[$1 + 32 + ($$023 << 2) >> 2]; - $$023 = $$023 + 1 | 0; - } - $24 = $2 + ($$0 << 4) + 12 | 0; - HEAPF32[$24 >> 2] = +HEAPF32[$0 + ($$0 << 4) + 12 >> 2] + +HEAPF32[$24 >> 2]; - $$0 = $$0 + 1 | 0; +function __ZN6vision32CauchyProjectiveReprojectionCostIfEET_PKS1_S3_S3_S1_($H, $p, $q, $one_over_scale2) { + $H = $H | 0; + $p = $p | 0; + $q = $q | 0; + $one_over_scale2 = +$one_over_scale2; + var $arrayidx1 = 0, $call = 0.0, $f = 0, $pp = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $pp = sp + 8 | 0; + $f = sp; + $arrayidx1 = $pp + 4 | 0; + __ZN6vision35MultiplyPointHomographyInhomogenousIfEEvRT_S2_PKS1_S1_S1_($pp, $arrayidx1, $H, +HEAPF32[$p >> 2], +HEAPF32[$p + 4 >> 2]); + HEAPF32[$f >> 2] = +HEAPF32[$pp >> 2] - +HEAPF32[$q >> 2]; + HEAPF32[$f + 4 >> 2] = +HEAPF32[$arrayidx1 >> 2] - +HEAPF32[$q + 4 >> 2]; + $call = +__ZN6vision10CauchyCostIfEET_PKS1_S1_($f, $one_over_scale2); + STACKTOP = sp; + return +$call; +} + +function _pad_785($f, $c, $w, $l, $fl) { + $f = $f | 0; + $c = $c | 0; + $w = $w | 0; + $l = $l | 0; + $fl = $fl | 0; + var $1 = 0, $l$addr$0$lcssa = 0, $l$addr$09 = 0, $pad = 0, $sub = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 256 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(256); + $pad = sp; + if (($w | 0) > ($l | 0) & ($fl & 73728 | 0) == 0) { + $sub = $w - $l | 0; + _memset($pad | 0, $c << 24 >> 24 | 0, ($sub >>> 0 < 256 ? $sub : 256) | 0) | 0; + if ($sub >>> 0 > 255) { + $1 = $w - $l | 0; + $l$addr$09 = $sub; + do { + _out_779($f, $pad, 256); + $l$addr$09 = $l$addr$09 + -256 | 0; + } while ($l$addr$09 >>> 0 > 255); + $l$addr$0$lcssa = $1 & 255; + } else $l$addr$0$lcssa = $sub; + _out_779($f, $pad, $l$addr$0$lcssa); } - return 0; + STACKTOP = sp; + return; } -function _arUtilMatMul($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$0 = 0, $$023 = 0, $24 = 0, $3 = 0, $4 = 0, $5 = 0; - $$0 = 0; - while (1) { - if (($$0 | 0) == 3) break; - $3 = $0 + ($$0 << 5) | 0; - $4 = $0 + ($$0 << 5) + 8 | 0; - $5 = $0 + ($$0 << 5) + 16 | 0; - $$023 = 0; +function _CENTER($inout, $mean) { + $inout = $inout | 0; + $mean = $mean | 0; + var $0 = 0, $1 = 0, $i$0 = 0, $j$0 = 0, $m$0 = 0, $m$1 = 0, $retval$0 = 0, $v$0 = 0; + $0 = HEAP32[$inout + 4 >> 2] | 0; + $1 = HEAP32[$inout + 8 >> 2] | 0; + L1 : do if ((HEAP32[$mean + 4 >> 2] | 0) == ($1 | 0)) { + $i$0 = 0; + $m$0 = HEAP32[$inout >> 2] | 0; while (1) { - if (($$023 | 0) == 4) break; - HEAPF64[$2 + ($$0 << 5) + ($$023 << 3) >> 3] = +HEAPF64[$3 >> 3] * +HEAPF64[$1 + ($$023 << 3) >> 3] + +HEAPF64[$4 >> 3] * +HEAPF64[$1 + 32 + ($$023 << 3) >> 3] + +HEAPF64[$5 >> 3] * +HEAPF64[$1 + 64 + ($$023 << 3) >> 3]; - $$023 = $$023 + 1 | 0; + if (($i$0 | 0) >= ($0 | 0)) { + $retval$0 = 0; + break L1; + } + $j$0 = 0; + $m$1 = $m$0; + $v$0 = HEAP32[$mean >> 2] | 0; + while (1) { + if (($j$0 | 0) >= ($1 | 0)) break; + HEAPF64[$m$1 >> 3] = +HEAPF64[$m$1 >> 3] - +HEAPF64[$v$0 >> 3]; + $j$0 = $j$0 + 1 | 0; + $m$1 = $m$1 + 8 | 0; + $v$0 = $v$0 + 8 | 0; + } + $i$0 = $i$0 + 1 | 0; + $m$0 = $m$1; } - $24 = $2 + ($$0 << 5) + 24 | 0; - HEAPF64[$24 >> 3] = +HEAPF64[$0 + ($$0 << 5) + 24 >> 3] + +HEAPF64[$24 >> 3]; - $$0 = $$0 + 1 | 0; - } - return 0; + } else $retval$0 = -1; while (0); + return $retval$0 | 0; } -function _process_data_simple_main($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $$pre$phiZ2D = 0, $15 = 0, $22 = 0, $5 = 0, $6 = 0, $8 = 0, $9 = 0; - $5 = HEAP32[$0 + 448 >> 2] | 0; - $6 = $5 + 48 | 0; - $8 = $5 + 52 | 0; - $9 = HEAP32[$8 >> 2] | 0; - do if ((HEAP32[$6 >> 2] | 0) >>> 0 >= $9 >>> 0) { - $15 = $5 + 8 | 0; - if (!(FUNCTION_TABLE_iii[HEAP32[(HEAP32[$0 + 452 >> 2] | 0) + 12 >> 2] & 127]($0, $15) | 0)) return; else { - HEAP32[$6 >> 2] = 0; - $$pre$phiZ2D = $15; - $22 = HEAP32[$8 >> 2] | 0; - break; - } +function __ZN6vision16RobustHomographyIfE4findEPfPKfS4_iS4_i($this, $H, $p, $q, $num_points, $test_points, $num_test_points) { + $this = $this | 0; + $H = $H | 0; + $p = $p | 0; + $q = $q | 0; + $num_points = $num_points | 0; + $test_points = $test_points | 0; + $num_test_points = $num_test_points | 0; + var $mTmpi = 0; + $mTmpi = $this + 12 | 0; + __ZNSt3__26vectorIiNS_9allocatorIiEEE6resizeEm($mTmpi, $num_points); + return __ZN6vision26PreemptiveRobustHomographyIfEEbPT_PKS1_S4_iS4_iRNSt3__26vectorIS1_NS5_9allocatorIS1_EEEERNS6_IiNS7_IiEEEERNS6_INS5_4pairIS1_iEENS7_ISF_EEEES1_iii($H, $p, $q, $num_points, $test_points, $num_test_points, $this, $mTmpi, $this + 24 | 0, +HEAPF32[$this + 36 >> 2], HEAP32[$this + 40 >> 2] | 0, HEAP32[$this + 44 >> 2] | 0, HEAP32[$this + 48 >> 2] | 0) | 0; +} + +function __ZNSt3__26vectorIN6vision7Point2dIfEENS_9allocatorIS3_EEE11__vallocateEm($this, $__n) { + $this = $this | 0; + $__n = $__n | 0; + var $call$i$i$i = 0, $exception$i$i$i = 0; + if ((__ZNKSt3__26vectorIN6vision7Point2dIfEENS_9allocatorIS3_EEE8max_sizeEv($this) | 0) >>> 0 < $__n >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv($this); + if ($__n >>> 0 > 536870911) { + $exception$i$i$i = ___cxa_allocate_exception(8) | 0; + __ZNSt11logic_errorC2EPKc($exception$i$i$i, 42283); + HEAP32[$exception$i$i$i >> 2] = 17472; + ___cxa_throw($exception$i$i$i | 0, 13960, 22); } else { - $$pre$phiZ2D = $5 + 8 | 0; - $22 = $9; - } while (0); - FUNCTION_TABLE_viiiiiii[HEAP32[(HEAP32[$0 + 456 >> 2] | 0) + 4 >> 2] & 7]($0, $$pre$phiZ2D, $6, $22, $1, $2, $3); - return; + $call$i$i$i = __Znwm($__n << 3) | 0; + HEAP32[$this + 4 >> 2] = $call$i$i$i; + HEAP32[$this >> 2] = $call$i$i$i; + HEAP32[$this + 8 >> 2] = $call$i$i$i + ($__n << 3); + return; + } } -function __ZNSt3__210shared_ptrIN6vision8KeyframeILi96EEEEC2IS3_EEPT_NS_9enable_ifIXsr14is_convertibleIS7_PS3_EE5valueENS4_5__natEE4typeE($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0, $vararg_buffer = 0, sp = 0; +function __ZNK12_GLOBAL__N_116itanium_demangle24ForwardTemplateReference13getSyntaxNodeERNS_12OutputStreamE($this, $S) { + $this = $this | 0; + $S = $S | 0; + var $1 = 0, $Printing = 0, $SavePrinting = 0, $call = 0, $retval$0 = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $vararg_buffer = sp; - HEAP32[$0 >> 2] = $1; - $3 = __Znwm(16) | 0; - HEAP32[$3 + 4 >> 2] = 0; - HEAP32[$3 + 8 >> 2] = 0; - HEAP32[$3 >> 2] = 16820; - HEAP32[$3 + 12 >> 2] = $1; - HEAP32[$0 + 4 >> 2] = $3; - HEAP32[$vararg_buffer >> 2] = $1; - HEAP32[$vararg_buffer + 4 >> 2] = $1; - __ZNSt3__210shared_ptrIN6vision8KeyframeILi96EEEE18__enable_weak_thisEz($0, $vararg_buffer); + $SavePrinting = sp; + $Printing = $this + 16 | 0; + if (!(HEAP8[$Printing >> 0] | 0)) { + __ZN12_GLOBAL__N_114SwapAndRestoreIbEC2ERbb($SavePrinting, $Printing, 1); + $1 = HEAP32[$this + 12 >> 2] | 0; + $call = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$1 >> 2] | 0) + 12 >> 2] & 127]($1, $S) | 0; + __ZN12_GLOBAL__N_114SwapAndRestoreIbED2Ev($SavePrinting); + $retval$0 = $call; + } else $retval$0 = $this; STACKTOP = sp; + return $retval$0 | 0; +} + +function __ZNK10__cxxabiv122__base_class_type_info16search_above_dstEPNS_19__dynamic_cast_infoEPKvS4_ib($this, $info, $dst_ptr, $current_ptr, $path_below, $use_strcmp) { + $this = $this | 0; + $info = $info | 0; + $dst_ptr = $dst_ptr | 0; + $current_ptr = $current_ptr | 0; + $path_below = $path_below | 0; + $use_strcmp = $use_strcmp | 0; + var $0 = 0, $3 = 0, $offset_to_base$0 = 0, $shr = 0; + $0 = HEAP32[$this + 4 >> 2] | 0; + $shr = $0 >> 8; + if (!($0 & 1)) $offset_to_base$0 = $shr; else $offset_to_base$0 = HEAP32[(HEAP32[$current_ptr >> 2] | 0) + $shr >> 2] | 0; + $3 = HEAP32[$this >> 2] | 0; + FUNCTION_TABLE_viiiiii[HEAP32[(HEAP32[$3 >> 2] | 0) + 20 >> 2] & 7]($3, $info, $dst_ptr, $current_ptr + $offset_to_base$0 | 0, ($0 & 2 | 0) == 0 ? 2 : $path_below, $use_strcmp); return; } -function _request_virt_sarray($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$sink = 0, $14 = 0, $20 = 0, $7 = 0, $9 = 0; - $7 = HEAP32[$0 + 4 >> 2] | 0; - if (($1 | 0) == 1) $$sink = 1; else { - $9 = HEAP32[$0 >> 2] | 0; - HEAP32[$9 + 20 >> 2] = 15; - HEAP32[$9 + 24 >> 2] = $1; - FUNCTION_TABLE_vi[HEAP32[HEAP32[$0 >> 2] >> 2] & 255]($0); - $$sink = $1; - } - $14 = _alloc_small($0, $$sink, 128) | 0; - HEAP32[$14 >> 2] = 0; - HEAP32[$14 + 4 >> 2] = $4; - HEAP32[$14 + 8 >> 2] = $3; - HEAP32[$14 + 12 >> 2] = $5; - HEAP32[$14 + 32 >> 2] = $2; - HEAP32[$14 + 40 >> 2] = 0; - $20 = $7 + 68 | 0; - HEAP32[$14 + 44 >> 2] = HEAP32[$20 >> 2]; - HEAP32[$20 >> 2] = $14; - return $14 | 0; +function __ZNSt3__26vectorIPN6vision4NodeILi96EEENS_9allocatorIS4_EEE7reserveEm($this, $__n) { + $this = $this | 0; + $__n = $__n | 0; + var $1 = 0, $__v = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 32 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); + $__v = sp; + $1 = HEAP32[$this >> 2] | 0; + if ((HEAP32[$this + 8 >> 2] | 0) - $1 >> 2 >>> 0 < $__n >>> 0) { + __ZNSt3__214__split_bufferIPN6vision4NodeILi96EEERNS_9allocatorIS4_EEEC2EmmS7_($__v, $__n, (HEAP32[$this + 4 >> 2] | 0) - $1 >> 2, $this + 8 | 0); + __ZNSt3__26vectorIPN6vision4NodeILi96EEENS_9allocatorIS4_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS4_RS6_EE($this, $__v); + __ZNSt3__214__split_bufferIPN6vision4NodeILi96EEERNS_9allocatorIS4_EEED2Ev($__v); + } + STACKTOP = sp; + return; } -function _request_virt_barray($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$sink = 0, $14 = 0, $20 = 0, $7 = 0, $9 = 0; - $7 = HEAP32[$0 + 4 >> 2] | 0; - if (($1 | 0) == 1) $$sink = 1; else { - $9 = HEAP32[$0 >> 2] | 0; - HEAP32[$9 + 20 >> 2] = 15; - HEAP32[$9 + 24 >> 2] = $1; - FUNCTION_TABLE_vi[HEAP32[HEAP32[$0 >> 2] >> 2] & 255]($0); - $$sink = $1; - } - $14 = _alloc_small($0, $$sink, 128) | 0; - HEAP32[$14 >> 2] = 0; - HEAP32[$14 + 4 >> 2] = $4; - HEAP32[$14 + 8 >> 2] = $3; - HEAP32[$14 + 12 >> 2] = $5; - HEAP32[$14 + 32 >> 2] = $2; - HEAP32[$14 + 40 >> 2] = 0; - $20 = $7 + 72 | 0; - HEAP32[$14 + 44 >> 2] = HEAP32[$20 >> 2]; - HEAP32[$20 >> 2] = $14; - return $14 | 0; +function __ZNK12_GLOBAL__N_116itanium_demangle24ForwardTemplateReference19hasRHSComponentSlowERNS_12OutputStreamE($this, $S) { + $this = $this | 0; + $S = $S | 0; + var $Printing = 0, $SavePrinting = 0, $call = 0, $retval$0 = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $SavePrinting = sp; + $Printing = $this + 16 | 0; + if (!(HEAP8[$Printing >> 0] | 0)) { + __ZN12_GLOBAL__N_114SwapAndRestoreIbEC2ERbb($SavePrinting, $Printing, 1); + $call = __ZNK12_GLOBAL__N_116itanium_demangle4Node15hasRHSComponentERNS_12OutputStreamE(HEAP32[$this + 12 >> 2] | 0, $S) | 0; + __ZN12_GLOBAL__N_114SwapAndRestoreIbED2Ev($SavePrinting); + $retval$0 = $call; + } else $retval$0 = 0; + STACKTOP = sp; + return $retval$0 | 0; } -function _arSetDebugMode($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $13 = 0, $6 = 0, $vararg_buffer = 0, sp = 0; +function ___toread($f) { + $f = $f | 0; + var $4 = 0, $add$ptr = 0, $conv = 0, $mode = 0, $retval$0 = 0, $wbase = 0, $wpos = 0; + $mode = $f + 74 | 0; + $conv = HEAP8[$mode >> 0] | 0; + HEAP8[$mode >> 0] = $conv + 255 | $conv; + $wpos = $f + 20 | 0; + $wbase = $f + 28 | 0; + if ((HEAP32[$wpos >> 2] | 0) >>> 0 > (HEAP32[$wbase >> 2] | 0) >>> 0) FUNCTION_TABLE_iiii[HEAP32[$f + 36 >> 2] & 63]($f, 0, 0) | 0; + HEAP32[$f + 16 >> 2] = 0; + HEAP32[$wbase >> 2] = 0; + HEAP32[$wpos >> 2] = 0; + $4 = HEAP32[$f >> 2] | 0; + if (!($4 & 4)) { + $add$ptr = (HEAP32[$f + 44 >> 2] | 0) + (HEAP32[$f + 48 >> 2] | 0) | 0; + HEAP32[$f + 8 >> 2] = $add$ptr; + HEAP32[$f + 4 >> 2] = $add$ptr; + $retval$0 = $4 << 27 >> 31; + } else { + HEAP32[$f >> 2] = $4 | 32; + $retval$0 = -1; + } + return $retval$0 | 0; +} + +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8NameTypeEJRA22_KcEEEPT_DpOT0_($this, $args) { + $this = $this | 0; + $args = $args | 0; + var $agg$tmp = 0, $agg$tmp$byval_copy = 0, $call = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $vararg_buffer = sp; - do if ($0) if ((HEAP32[$0 >> 2] | 0) != ($1 | 0)) { - HEAP32[$0 >> 2] = $1; - if (!$1) { - $6 = $0 + 4834148 | 0; - _free(HEAP32[$6 >> 2] | 0); - HEAP32[$6 >> 2] = 0; - $$0 = 0; - break; - } - $13 = _malloc(Math_imul(HEAP32[$0 + 40 >> 2] | 0, HEAP32[$0 + 36 >> 2] | 0) | 0) | 0; - HEAP32[$0 + 4834148 >> 2] = $13; - if (!$13) { - _arLog(0, 3, 45930, $vararg_buffer); - _exit(1); - } else $$0 = 0; - } else $$0 = 0; else $$0 = -1; while (0); + $agg$tmp$byval_copy = sp + 8 | 0; + $agg$tmp = sp; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 16) | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, $args); + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_116itanium_demangle8NameTypeC2ENS_10StringViewE($call, $agg$tmp$byval_copy); STACKTOP = sp; - return $$0 | 0; + return $call | 0; } -function __ZNSt3__26vectorIPN6vision4NodeILi96EEENS_9allocatorIS4_EEE7reserveEm($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $5 = 0, sp = 0; +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8NameTypeEJRA19_KcEEEPT_DpOT0_($this, $args) { + $this = $this | 0; + $args = $args | 0; + var $agg$tmp = 0, $agg$tmp$byval_copy = 0, $call = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $2 = sp; - $5 = HEAP32[$0 >> 2] | 0; - if ((HEAP32[$0 + 8 >> 2] | 0) - $5 >> 2 >>> 0 < $1 >>> 0) { - __ZNSt3__214__split_bufferIPN6vision4NodeILi96EEERNS_9allocatorIS4_EEEC2EmmS7_($2, $1, (HEAP32[$0 + 4 >> 2] | 0) - $5 >> 2, $0 + 8 | 0); - __ZNSt3__26vectorIPN6vision4NodeILi96EEENS_9allocatorIS4_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS4_RS6_EE($0, $2); - __ZNSt3__214__split_bufferIPN6vision4NodeILi96EEERNS_9allocatorIS4_EEED2Ev($2); - } + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $agg$tmp$byval_copy = sp + 8 | 0; + $agg$tmp = sp; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 16) | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, $args); + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_116itanium_demangle8NameTypeC2ENS_10StringViewE($call, $agg$tmp$byval_copy); STACKTOP = sp; - return; + return $call | 0; } -function __ZN6vision28BinaryHierarchicalClusteringILi96EE5buildEPKhi($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$0 = 0, $$cast = 0, $3 = 0, $6 = 0, $8 = 0, sp = 0; +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8NameTypeEJRA18_KcEEEPT_DpOT0_($this, $args) { + $this = $this | 0; + $args = $args | 0; + var $agg$tmp = 0, $agg$tmp$byval_copy = 0, $call = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $3 = sp; - __ZNSt3__26vectorIiNS_9allocatorIiEEEC2Em($3, $2); - $6 = HEAP32[$3 >> 2] | 0; - $8 = (HEAP32[$3 + 4 >> 2] | 0) - $6 >> 2; - $$cast = $6; - $$0 = 0; - while (1) { - if (($$0 | 0) == ($8 | 0)) break; - HEAP32[$$cast + ($$0 << 2) >> 2] = $$0; - $$0 = $$0 + 1 | 0; - } - __ZN6vision28BinaryHierarchicalClusteringILi96EE5buildEPKhiPKii($0, $1, $2, $$cast, $8); - __ZNSt3__213__vector_baseIiNS_9allocatorIiEEED2Ev($3); + $agg$tmp$byval_copy = sp + 8 | 0; + $agg$tmp = sp; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 16) | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, $args); + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_116itanium_demangle8NameTypeC2ENS_10StringViewE($call, $agg$tmp$byval_copy); STACKTOP = sp; - return; + return $call | 0; } -function __ZN6vision19NormalizeHomographyIfEEvPT_($0) { - $0 = $0 | 0; - var $1 = 0, $12 = 0, $15 = 0, $18 = 0, $21 = 0, $24 = 0, $3 = 0.0, $6 = 0, $9 = 0; - $1 = $0 + 32 | 0; - $3 = 1.0 / +HEAPF32[$1 >> 2]; - HEAPF32[$0 >> 2] = +HEAPF32[$0 >> 2] * $3; - $6 = $0 + 4 | 0; - HEAPF32[$6 >> 2] = $3 * +HEAPF32[$6 >> 2]; - $9 = $0 + 8 | 0; - HEAPF32[$9 >> 2] = $3 * +HEAPF32[$9 >> 2]; - $12 = $0 + 12 | 0; - HEAPF32[$12 >> 2] = $3 * +HEAPF32[$12 >> 2]; - $15 = $0 + 16 | 0; - HEAPF32[$15 >> 2] = $3 * +HEAPF32[$15 >> 2]; - $18 = $0 + 20 | 0; - HEAPF32[$18 >> 2] = $3 * +HEAPF32[$18 >> 2]; - $21 = $0 + 24 | 0; - HEAPF32[$21 >> 2] = $3 * +HEAPF32[$21 >> 2]; - $24 = $0 + 28 | 0; - HEAPF32[$24 >> 2] = $3 * +HEAPF32[$24 >> 2]; - HEAPF32[$1 >> 2] = 1.0; - return; -} - -function _CENTER($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $$025 = 0, $$026 = 0, $$027 = 0, $$028 = 0, $$1 = 0, $3 = 0, $5 = 0; - $3 = HEAP32[$0 + 4 >> 2] | 0; - $5 = HEAP32[$0 + 8 >> 2] | 0; - L1 : do if ((HEAP32[$1 + 4 >> 2] | 0) == ($5 | 0)) { - $$025 = 0; - $$027 = HEAP32[$0 >> 2] | 0; - while (1) { - if (($$025 | 0) >= ($3 | 0)) { - $$026 = 0; - break L1; - } - $$0 = 0; - $$028 = HEAP32[$1 >> 2] | 0; - $$1 = $$027; - while (1) { - if (($$0 | 0) >= ($5 | 0)) break; - HEAPF64[$$1 >> 3] = +HEAPF64[$$1 >> 3] - +HEAPF64[$$028 >> 3]; - $$0 = $$0 + 1 | 0; - $$028 = $$028 + 8 | 0; - $$1 = $$1 + 8 | 0; - } - $$025 = $$025 + 1 | 0; - $$027 = $$1; - } - } else $$026 = -1; while (0); - return $$026 | 0; +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8NameTypeEJRA16_KcEEEPT_DpOT0_($this, $args) { + $this = $this | 0; + $args = $args | 0; + var $agg$tmp = 0, $agg$tmp$byval_copy = 0, $call = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $agg$tmp$byval_copy = sp + 8 | 0; + $agg$tmp = sp; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 16) | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, $args); + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_116itanium_demangle8NameTypeC2ENS_10StringViewE($call, $agg$tmp$byval_copy); + STACKTOP = sp; + return $call | 0; } -function __ZN6vision34SolveHomography4PointsInhomogenousIfEEbPT_PKS1_S4_S4_S4_S4_S4_S4_S4_($0, $1, $2, $3, $4, $5, $6, $7, $8) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - $6 = $6 | 0; - $7 = $7 | 0; - $8 = $8 | 0; - var $$0 = 0, $9 = 0, sp = 0; +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8NameTypeEJRA15_KcEEEPT_DpOT0_($this, $args) { + $this = $this | 0; + $args = $args | 0; + var $agg$tmp = 0, $agg$tmp$byval_copy = 0, $call = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 288 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(288); - $9 = sp; - __ZN6vision40Homography4PointsInhomogeneousConstraintIfEEvPT_PKS1_S4_S4_S4_S4_S4_S4_S4_($9, $1, $2, $3, $4, $5, $6, $7, $8); - if (__ZN6vision29SolveNullVector8x9DestructiveIfEEbPT_S2_($0, $9) | 0) $$0 = !(+Math_abs(+(+__ZN6vision14Determinant3x3IfEET_PKS1_($0))) < 1.0e-05); else $$0 = 0; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $agg$tmp$byval_copy = sp + 8 | 0; + $agg$tmp = sp; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 16) | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, $args); + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_116itanium_demangle8NameTypeC2ENS_10StringViewE($call, $agg$tmp$byval_copy); STACKTOP = sp; - return $$0 | 0; + return $call | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle7NewExprC2ENS0_9NodeArrayEPNS0_4NodeES2_bb($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $14 = 0, $15 = 0, $21 = 0, $26 = 0, $27 = 0, $9 = 0; - __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($0, 51, 1, 1, 1); - HEAP32[$0 >> 2] = 18616; - $9 = $1; - $14 = HEAP32[$9 + 4 >> 2] | 0; - $15 = $0 + 8 | 0; - HEAP32[$15 >> 2] = HEAP32[$9 >> 2]; - HEAP32[$15 + 4 >> 2] = $14; - HEAP32[$0 + 16 >> 2] = $2; - $21 = $3; - $26 = HEAP32[$21 + 4 >> 2] | 0; - $27 = $0 + 20 | 0; - HEAP32[$27 >> 2] = HEAP32[$21 >> 2]; - HEAP32[$27 + 4 >> 2] = $26; - HEAP8[$0 + 28 >> 0] = $4 & 1; - HEAP8[$0 + 29 >> 0] = $5 & 1; - return; -} - -function __ZNSt3__210shared_ptrIhEC2Ih16NullArrayDeleterIhEEEPT_T0_NS_9enable_ifIXsr14is_convertibleIS6_PhEE5valueENS1_5__natEE4typeE($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $4 = 0, $vararg_buffer = 0, sp = 0; +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8NameTypeEJRA14_KcEEEPT_DpOT0_($this, $args) { + $this = $this | 0; + $args = $args | 0; + var $agg$tmp = 0, $agg$tmp$byval_copy = 0, $call = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $vararg_buffer = sp; - HEAP32[$0 >> 2] = $1; - $4 = __Znwm(16) | 0; - HEAP32[$4 + 4 >> 2] = 0; - HEAP32[$4 + 8 >> 2] = 0; - HEAP32[$4 >> 2] = 16876; - HEAP32[$4 + 12 >> 2] = $1; - HEAP32[$0 + 4 >> 2] = $4; - HEAP32[$vararg_buffer >> 2] = $1; - HEAP32[$vararg_buffer + 4 >> 2] = $1; - __ZNSt3__210shared_ptrIhE18__enable_weak_thisEz($0, $vararg_buffer); + $agg$tmp$byval_copy = sp + 8 | 0; + $agg$tmp = sp; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 16) | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, $args); + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_116itanium_demangle8NameTypeC2ENS_10StringViewE($call, $agg$tmp$byval_copy); STACKTOP = sp; - return; + return $call | 0; } -function _icpGetU_from_X_by_MatX2U($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$0 = 0, $21 = 0.0, $3 = 0.0, $36 = 0.0, $5 = 0.0, $7 = 0.0; - $3 = +HEAPF64[$2 >> 3]; - $5 = +HEAPF64[$2 + 8 >> 3]; - $7 = +HEAPF64[$2 + 16 >> 3]; - $21 = +HEAPF64[$1 + 88 >> 3] + ($3 * +HEAPF64[$1 + 64 >> 3] + $5 * +HEAPF64[$1 + 72 >> 3] + $7 * +HEAPF64[$1 + 80 >> 3]); - if ($21 == 0.0) $$0 = -1; else { - $36 = +HEAPF64[$1 + 56 >> 3] + ($3 * +HEAPF64[$1 + 32 >> 3] + $5 * +HEAPF64[$1 + 40 >> 3] + $7 * +HEAPF64[$1 + 48 >> 3]); - HEAPF64[$0 >> 3] = (+HEAPF64[$1 + 24 >> 3] + ($3 * +HEAPF64[$1 >> 3] + $5 * +HEAPF64[$1 + 8 >> 3] + $7 * +HEAPF64[$1 + 16 >> 3])) / $21; - HEAPF64[$0 + 8 >> 3] = $36 / $21; - $$0 = 0; - } - return $$0 | 0; +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8NameTypeEJRA13_KcEEEPT_DpOT0_($this, $args) { + $this = $this | 0; + $args = $args | 0; + var $agg$tmp = 0, $agg$tmp$byval_copy = 0, $call = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $agg$tmp$byval_copy = sp + 8 | 0; + $agg$tmp = sp; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 16) | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, $args); + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_116itanium_demangle8NameTypeC2ENS_10StringViewE($call, $agg$tmp$byval_copy); + STACKTOP = sp; + return $call | 0; } -function __ZL10loadMarkerPKcPiP8ARHandlePP12ARPattHandle($patt_name, $patt_id, $pattHandle_p) { - $patt_name = $patt_name | 0; - $patt_id = $patt_id | 0; - $pattHandle_p = $pattHandle_p | 0; - var $call = 0, $retval$0 = 0, $vararg_buffer = 0, sp = 0; +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8NameTypeEJRA12_KcEEEPT_DpOT0_($this, $args) { + $this = $this | 0; + $args = $args | 0; + var $agg$tmp = 0, $agg$tmp$byval_copy = 0, $call = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $vararg_buffer = sp; - $call = _arPattLoad(HEAP32[$pattHandle_p >> 2] | 0, $patt_name) | 0; - HEAP32[$patt_id >> 2] = $call; - if (($call | 0) < 0) { - HEAP32[$vararg_buffer >> 2] = $patt_name; - _arLog(0, 3, 45349, $vararg_buffer); - _arPattDeleteHandle(HEAP32[$pattHandle_p >> 2] | 0) | 0; - $retval$0 = 0; - } else $retval$0 = 1; + $agg$tmp$byval_copy = sp + 8 | 0; + $agg$tmp = sp; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 16) | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, $args); + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_116itanium_demangle8NameTypeC2ENS_10StringViewE($call, $agg$tmp$byval_copy); STACKTOP = sp; - return $retval$0 | 0; + return $call | 0; } -function _arMatrixDup($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $$021 = 0, $$022 = 0, $13 = 0, $16 = 0, $3 = 0, $8 = 0; - $3 = HEAP32[$0 + 4 >> 2] | 0; - L1 : do if (($3 | 0) == (HEAP32[$1 + 4 >> 2] | 0) ? ($8 = HEAP32[$0 + 8 >> 2] | 0, ($8 | 0) == (HEAP32[$1 + 8 >> 2] | 0)) : 0) { - $$021 = 0; - while (1) { - if (($$021 | 0) >= ($3 | 0)) { - $$022 = 0; - break L1; - } - $13 = Math_imul($$021, $8) | 0; - $$0 = 0; - while (1) { - if (($$0 | 0) >= ($8 | 0)) break; - $16 = $$0 + $13 | 0; - HEAPF64[(HEAP32[$0 >> 2] | 0) + ($16 << 3) >> 3] = +HEAPF64[(HEAP32[$1 >> 2] | 0) + ($16 << 3) >> 3]; - $$0 = $$0 + 1 | 0; - } - $$021 = $$021 + 1 | 0; - } - } else $$022 = -1; while (0); - return $$022 | 0; +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8NameTypeEJRA11_KcEEEPT_DpOT0_($this, $args) { + $this = $this | 0; + $args = $args | 0; + var $agg$tmp = 0, $agg$tmp$byval_copy = 0, $call = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $agg$tmp$byval_copy = sp + 8 | 0; + $agg$tmp = sp; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 16) | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, $args); + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_116itanium_demangle8NameTypeC2ENS_10StringViewE($call, $agg$tmp$byval_copy); + STACKTOP = sp; + return $call | 0; } -function __ZNSt3__214__split_bufferINS_6vectorINS1_INS_4pairIfmEENS_9allocatorIS3_EEEENS4_IS6_EEEERNS4_IS8_EEEC2EmmSA_($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $11 = 0, $12 = 0, $4 = 0, $8 = 0; - $4 = $0 + 12 | 0; - HEAP32[$4 >> 2] = 0; - HEAP32[$0 + 16 >> 2] = $3; - do if ($1) if ($1 >>> 0 > 357913941) { - $8 = ___cxa_allocate_exception(8) | 0; - __ZNSt11logic_errorC2EPKc($8, 41481); - HEAP32[$8 >> 2] = 17472; - ___cxa_throw($8 | 0, 13960, 22); - } else { - $11 = __Znwm($1 * 12 | 0) | 0; - break; - } else $11 = 0; while (0); - HEAP32[$0 >> 2] = $11; - $12 = $11 + ($2 * 12 | 0) | 0; - HEAP32[$0 + 8 >> 2] = $12; - HEAP32[$0 + 4 >> 2] = $12; - HEAP32[$4 >> 2] = $11 + ($1 * 12 | 0); - return; +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8NameTypeEJRA10_KcEEEPT_DpOT0_($this, $args) { + $this = $this | 0; + $args = $args | 0; + var $agg$tmp = 0, $agg$tmp$byval_copy = 0, $call = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $agg$tmp$byval_copy = sp + 8 | 0; + $agg$tmp = sp; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 16) | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, $args); + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_116itanium_demangle8NameTypeC2ENS_10StringViewE($call, $agg$tmp$byval_copy); + STACKTOP = sp; + return $call | 0; } -function __ZNSt3__214__split_bufferIN6vision25DoGScaleInvariantDetector12FeaturePointERNS_9allocatorIS3_EEEC2EmmS6_($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $11 = 0, $12 = 0, $4 = 0, $8 = 0; - $4 = $0 + 12 | 0; - HEAP32[$4 >> 2] = 0; - HEAP32[$0 + 16 >> 2] = $3; - do if ($1) if ($1 >>> 0 > 119304647) { - $8 = ___cxa_allocate_exception(8) | 0; - __ZNSt11logic_errorC2EPKc($8, 41481); - HEAP32[$8 >> 2] = 17472; - ___cxa_throw($8 | 0, 13960, 22); - } else { - $11 = __Znwm($1 * 36 | 0) | 0; - break; - } else $11 = 0; while (0); - HEAP32[$0 >> 2] = $11; - $12 = $11 + ($2 * 36 | 0) | 0; - HEAP32[$0 + 8 >> 2] = $12; - HEAP32[$0 + 4 >> 2] = $12; - HEAP32[$4 >> 2] = $11 + ($1 * 36 | 0); - return; +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8NameTypeEJRA9_KcEEEPT_DpOT0_($this, $args) { + $this = $this | 0; + $args = $args | 0; + var $agg$tmp = 0, $agg$tmp$byval_copy = 0, $call = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $agg$tmp$byval_copy = sp + 8 | 0; + $agg$tmp = sp; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 16) | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, $args); + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_116itanium_demangle8NameTypeC2ENS_10StringViewE($call, $agg$tmp$byval_copy); + STACKTOP = sp; + return $call | 0; } -function __ZNSt3__211__stdoutbufIwEC2EP8_IO_FILEP11__mbstate_t($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $14 = 0, $3 = 0, $7 = 0, sp = 0; +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8NameTypeEJRA8_KcEEEPT_DpOT0_($this, $args) { + $this = $this | 0; + $args = $args | 0; + var $agg$tmp = 0, $agg$tmp$byval_copy = 0, $call = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $3 = sp; - __ZNSt3__215basic_streambufIwNS_11char_traitsIwEEEC2Ev($0); - HEAP32[$0 >> 2] = 20888; - HEAP32[$0 + 32 >> 2] = $1; - __ZNSt3__26localeC2ERKS0_($3, $0 + 4 | 0); - $7 = __ZNKSt3__26locale9use_facetERNS0_2idE($3, 66824) | 0; - __ZNSt3__26localeD2Ev($3); - HEAP32[$0 + 36 >> 2] = $7; - HEAP32[$0 + 40 >> 2] = $2; - $14 = (FUNCTION_TABLE_ii[HEAP32[(HEAP32[$7 >> 2] | 0) + 28 >> 2] & 127]($7) | 0) & 1; - HEAP8[$0 + 44 >> 0] = $14; + $agg$tmp$byval_copy = sp + 8 | 0; + $agg$tmp = sp; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 16) | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, $args); + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_116itanium_demangle8NameTypeC2ENS_10StringViewE($call, $agg$tmp$byval_copy); STACKTOP = sp; - return; + return $call | 0; } -function __ZNSt3__211__stdoutbufIcEC2EP8_IO_FILEP11__mbstate_t($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $14 = 0, $3 = 0, $7 = 0, sp = 0; +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8NameTypeEJRA7_KcEEEPT_DpOT0_($this, $args) { + $this = $this | 0; + $args = $args | 0; + var $agg$tmp = 0, $agg$tmp$byval_copy = 0, $call = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $3 = sp; - __ZNSt3__215basic_streambufIcNS_11char_traitsIcEEEC2Ev($0); - HEAP32[$0 >> 2] = 20952; - HEAP32[$0 + 32 >> 2] = $1; - __ZNSt3__26localeC2ERKS0_($3, $0 + 4 | 0); - $7 = __ZNKSt3__26locale9use_facetERNS0_2idE($3, 66816) | 0; - __ZNSt3__26localeD2Ev($3); - HEAP32[$0 + 36 >> 2] = $7; - HEAP32[$0 + 40 >> 2] = $2; - $14 = (FUNCTION_TABLE_ii[HEAP32[(HEAP32[$7 >> 2] | 0) + 28 >> 2] & 127]($7) | 0) & 1; - HEAP8[$0 + 44 >> 0] = $14; + $agg$tmp$byval_copy = sp + 8 | 0; + $agg$tmp = sp; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 16) | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, $args); + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_116itanium_demangle8NameTypeC2ENS_10StringViewE($call, $agg$tmp$byval_copy); STACKTOP = sp; - return; + return $call | 0; } -function __ZN10emscripten8internal7InvokerIiJiiEE6invokeEPFiiiEii($fn, $args, $args1) { - $fn = $fn | 0; +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8NameTypeEJRA6_KcEEEPT_DpOT0_($this, $args) { + $this = $this | 0; $args = $args | 0; - $args1 = $args1 | 0; - var $call = 0, $call3 = 0, $call4 = 0, $call5 = 0, $ref$tmp = 0, sp = 0; + var $agg$tmp = 0, $agg$tmp$byval_copy = 0, $call = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $ref$tmp = sp; - $call = __ZN10emscripten8internal11BindingTypeIivE12fromWireTypeEi($args) | 0; - $call3 = __ZN10emscripten8internal11BindingTypeIivE12fromWireTypeEi($args1) | 0; - $call4 = FUNCTION_TABLE_iii[$fn & 127]($call, $call3) | 0; - HEAP32[$ref$tmp >> 2] = $call4; - $call5 = __ZN10emscripten8internal11BindingTypeIivE10toWireTypeERKi($ref$tmp) | 0; + $agg$tmp$byval_copy = sp + 8 | 0; + $agg$tmp = sp; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 16) | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, $args); + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_116itanium_demangle8NameTypeC2ENS_10StringViewE($call, $agg$tmp$byval_copy); STACKTOP = sp; - return $call5 | 0; + return $call | 0; } -function __ZNSt3__26vectorIN6vision12FeaturePointENS_9allocatorIS2_EEE6resizeEm($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0$i$i = 0, $12 = 0, $14 = 0, $2 = 0, $3 = 0, $4 = 0, $6 = 0, $8 = 0, $9 = 0; - $2 = $0 + 4 | 0; - $3 = HEAP32[$2 >> 2] | 0; - $4 = HEAP32[$0 >> 2] | 0; - $6 = ($3 - $4 | 0) / 20 | 0; - $8 = $4; - $9 = $3; - if ($6 >>> 0 >= $1 >>> 0) { - if ($6 >>> 0 > $1 >>> 0) { - $12 = $8 + ($1 * 20 | 0) | 0; - $$0$i$i = $9; - while (1) { - if (($$0$i$i | 0) == ($12 | 0)) break; - $14 = $$0$i$i + -20 | 0; - __ZN6vision12FeaturePointD2Ev($14); - $$0$i$i = $14; - } - HEAP32[$2 >> 2] = $12; - } - } else __ZNSt3__26vectorIN6vision12FeaturePointENS_9allocatorIS2_EEE8__appendEm($0, $1 - $6 | 0); - return; +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8NameTypeEJRA5_KcEEEPT_DpOT0_($this, $args) { + $this = $this | 0; + $args = $args | 0; + var $agg$tmp = 0, $agg$tmp$byval_copy = 0, $call = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $agg$tmp$byval_copy = sp + 8 | 0; + $agg$tmp = sp; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 16) | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, $args); + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_116itanium_demangle8NameTypeC2ENS_10StringViewE($call, $agg$tmp$byval_copy); + STACKTOP = sp; + return $call | 0; } -function __ZNK12_GLOBAL__N_116itanium_demangle20DynamicExceptionSpec9printLeftERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$byval_copy = 0, $2 = 0, sp = 0; +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8NameTypeEJRA4_KcEEEPT_DpOT0_($this, $args) { + $this = $this | 0; + $args = $args | 0; + var $agg$tmp = 0, $agg$tmp$byval_copy = 0, $call = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy = sp + 8 | 0; - $2 = sp; - __ZN12_GLOBAL__N_110StringViewC2EPKc($2, 56394); - HEAP32[$$byval_copy >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy); - __ZNK12_GLOBAL__N_116itanium_demangle9NodeArray14printWithCommaERNS_12OutputStreamE($0 + 8 | 0, $1); - __ZN12_GLOBAL__N_112OutputStreampLEc($1, 41); + $agg$tmp$byval_copy = sp + 8 | 0; + $agg$tmp = sp; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 16) | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, $args); + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_116itanium_demangle8NameTypeC2ENS_10StringViewE($call, $agg$tmp$byval_copy); + STACKTOP = sp; + return $call | 0; +} + +function __ZN6vision6detail23create_formatted_stringERKNSt3__212basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEPi($agg$result, $fmt, $arg_list) { + $agg$result = $agg$result | 0; + $fmt = $fmt | 0; + $arg_list = $arg_list | 0; + var $buffer = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 2048 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(2048); + $buffer = sp; + _vsnprintf($buffer, 2048, (HEAP8[$fmt + 11 >> 0] | 0) < 0 ? HEAP32[$fmt >> 2] | 0 : $fmt, $arg_list) | 0; + HEAP32[$agg$result >> 2] = 0; + HEAP32[$agg$result + 4 >> 2] = 0; + HEAP32[$agg$result + 8 >> 2] = 0; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm($agg$result, $buffer, __ZNSt3__211char_traitsIcE6lengthEPKc($buffer) | 0); STACKTOP = sp; return; } -function _jinit_inverse_dct($0) { - $0 = $0 | 0; - var $$02021 = 0, $$022 = 0, $1 = 0, $11 = 0, $14 = 0, $4 = 0, $6 = 0; - $1 = $0 + 4 | 0; - $4 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[$1 >> 2] >> 2] & 63]($0, 1, 84) | 0; - HEAP32[$0 + 472 >> 2] = $4; - HEAP32[$4 >> 2] = 192; - $6 = $0 + 36 | 0; - if ((HEAP32[$6 >> 2] | 0) <= 0) return; - $11 = $4 + 44 | 0; - $$02021 = 0; - $$022 = HEAP32[$0 + 216 >> 2] | 0; - while (1) { - $14 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[$1 >> 2] >> 2] & 63]($0, 1, 256) | 0; - HEAP32[$$022 + 84 >> 2] = $14; - _memset($14 | 0, 0, 256) | 0; - HEAP32[$11 + ($$02021 << 2) >> 2] = -1; - $$02021 = $$02021 + 1 | 0; - if (($$02021 | 0) >= (HEAP32[$6 >> 2] | 0)) break; else $$022 = $$022 + 88 | 0; - } +function __ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_6vectorIN6vision7Point3dIfEENS_9allocatorIS5_EEEEEENS_22__unordered_map_hasherIiS9_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS9_NS_8equal_toIiEELb1EEENS6_IS9_EEED2Ev($this) { + $this = $this | 0; + var $1 = 0; + __ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_6vectorIN6vision7Point3dIfEENS_9allocatorIS5_EEEEEENS_22__unordered_map_hasherIiS9_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS9_NS_8equal_toIiEELb1EEENS6_IS9_EEE17__deallocate_nodeEPNS_16__hash_node_baseIPNS_11__hash_nodeIS9_PvEEEE($this, HEAP32[$this + 8 >> 2] | 0); + $1 = HEAP32[$this >> 2] | 0; + HEAP32[$this >> 2] = 0; + if ($1 | 0) __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($1, HEAP32[$this + 4 >> 2] << 2); return; } -function __ZNSt3__212__hash_tableINS_17__hash_value_typeIiP14AR2SurfaceSetTEENS_22__unordered_map_hasherIiS4_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS4_NS_8equal_toIiEELb1EEENS_9allocatorIS4_EEED2Ev($this) { +function __ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_10shared_ptrIN6vision8KeyframeILi96EEEEEEENS_22__unordered_map_hasherIiS7_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS7_NS_8equal_toIiEELb1EEENS_9allocatorIS7_EEED2Ev($this) { $this = $this | 0; var $1 = 0; - __ZNSt3__212__hash_tableINS_17__hash_value_typeIiP14AR2SurfaceSetTEENS_22__unordered_map_hasherIiS4_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS4_NS_8equal_toIiEELb1EEENS_9allocatorIS4_EEE17__deallocate_nodeEPNS_16__hash_node_baseIPNS_11__hash_nodeIS4_PvEEEE($this, HEAP32[$this + 8 >> 2] | 0); + __ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_10shared_ptrIN6vision8KeyframeILi96EEEEEEENS_22__unordered_map_hasherIiS7_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS7_NS_8equal_toIiEELb1EEENS_9allocatorIS7_EEE17__deallocate_nodeEPNS_16__hash_node_baseIPNS_11__hash_nodeIS7_PvEEEE($this, HEAP32[$this + 8 >> 2] | 0); $1 = HEAP32[$this >> 2] | 0; HEAP32[$this >> 2] = 0; if ($1 | 0) __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($1, HEAP32[$this + 4 >> 2] << 2); return; } -function __ZNSt3__26vectorIN6vision7match_tENS_9allocatorIS2_EEE7reserveEm($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $5 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $2 = sp; - $5 = HEAP32[$0 >> 2] | 0; - if ((HEAP32[$0 + 8 >> 2] | 0) - $5 >> 3 >>> 0 < $1 >>> 0) { - __ZNSt3__214__split_bufferIN6vision7match_tERNS_9allocatorIS2_EEEC2EmmS5_($2, $1, (HEAP32[$0 + 4 >> 2] | 0) - $5 >> 3, $0 + 8 | 0); - __ZNSt3__26vectorIN6vision7match_tENS_9allocatorIS2_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS2_RS4_EE($0, $2); - __ZNSt3__214__split_bufferIN6vision7match_tERNS_9allocatorIS2_EEED2Ev($2); - } - STACKTOP = sp; +function _jpeg_stdio_src($cinfo, $infile) { + $cinfo = $cinfo | 0; + $infile = $infile | 0; + var $0 = 0, $5 = 0, $call = 0, $call6 = 0, $mem = 0, $src1 = 0; + $src1 = $cinfo + 24 | 0; + $0 = HEAP32[$src1 >> 2] | 0; + if (!$0) { + $mem = $cinfo + 4 | 0; + $call = FUNCTION_TABLE_iiii[HEAP32[HEAP32[$mem >> 2] >> 2] & 63]($cinfo, 0, 40) | 0; + HEAP32[$src1 >> 2] = $call; + $call6 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[$mem >> 2] >> 2] & 63]($cinfo, 0, 4096) | 0; + HEAP32[$call + 32 >> 2] = $call6; + $5 = HEAP32[$src1 >> 2] | 0; + } else $5 = $0; + HEAP32[$5 + 8 >> 2] = 197; + HEAP32[$5 + 12 >> 2] = 90; + HEAP32[$5 + 16 >> 2] = 134; + HEAP32[$5 + 20 >> 2] = 71; + HEAP32[$5 + 24 >> 2] = 198; + HEAP32[$5 + 28 >> 2] = $infile; + HEAP32[$5 + 4 >> 2] = 0; + HEAP32[$5 >> 2] = 0; return; } -function __ZNK12_GLOBAL__N_116itanium_demangle12EnableIfAttr9printLeftERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$byval_copy = 0, $2 = 0, sp = 0; +function __ZNK12_GLOBAL__N_116itanium_demangle24ForwardTemplateReference15hasFunctionSlowERNS_12OutputStreamE($this, $S) { + $this = $this | 0; + $S = $S | 0; + var $Printing = 0, $SavePrinting = 0, $call = 0, $retval$0 = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy = sp + 8 | 0; - $2 = sp; - __ZN12_GLOBAL__N_110StringViewC2EPKc($2, 56677); - HEAP32[$$byval_copy >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy); - __ZNK12_GLOBAL__N_116itanium_demangle9NodeArray14printWithCommaERNS_12OutputStreamE($0 + 8 | 0, $1); - __ZN12_GLOBAL__N_112OutputStreampLEc($1, 93); + $SavePrinting = sp; + $Printing = $this + 16 | 0; + if (!(HEAP8[$Printing >> 0] | 0)) { + __ZN12_GLOBAL__N_114SwapAndRestoreIbEC2ERbb($SavePrinting, $Printing, 1); + $call = __ZNK12_GLOBAL__N_116itanium_demangle4Node11hasFunctionERNS_12OutputStreamE(HEAP32[$this + 12 >> 2] | 0, $S) | 0; + __ZN12_GLOBAL__N_114SwapAndRestoreIbED2Ev($SavePrinting); + $retval$0 = $call; + } else $retval$0 = 0; STACKTOP = sp; - return; + return $retval$0 | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E20popTrailingNodeArrayEm($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0, $5 = 0; - $3 = $1 + 8 | 0; - $5 = (__ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE5beginEv($3) | 0) + ($2 << 2) | 0; - __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E13makeNodeArrayIPPNS0_4NodeEEENS0_9NodeArrayET_SB_($0, $1, $5, __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE3endEv($3) | 0); - __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE8dropBackEm($3, $2); +function __ZNK10__cxxabiv120__si_class_type_info16search_above_dstEPNS_19__dynamic_cast_infoEPKvS4_ib($this, $info, $dst_ptr, $current_ptr, $path_below, $use_strcmp) { + $this = $this | 0; + $info = $info | 0; + $dst_ptr = $dst_ptr | 0; + $current_ptr = $current_ptr | 0; + $path_below = $path_below | 0; + $use_strcmp = $use_strcmp | 0; + var $1 = 0; + if (__ZL8is_equalPKSt9type_infoS1_b($this, HEAP32[$info + 8 >> 2] | 0, $use_strcmp) | 0) __ZNK10__cxxabiv117__class_type_info29process_static_type_above_dstEPNS_19__dynamic_cast_infoEPKvS4_i(0, $info, $dst_ptr, $current_ptr, $path_below); else { + $1 = HEAP32[$this + 8 >> 2] | 0; + FUNCTION_TABLE_viiiiii[HEAP32[(HEAP32[$1 >> 2] | 0) + 20 >> 2] & 7]($1, $info, $dst_ptr, $current_ptr, $path_below, $use_strcmp); + } return; } -function __ZNSt3__214__split_bufferINS_6vectorINS_4pairIfmEENS_9allocatorIS3_EEEERNS4_IS6_EEEC2EmmS8_($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $11 = 0, $12 = 0, $4 = 0, $8 = 0; - $4 = $0 + 12 | 0; - HEAP32[$4 >> 2] = 0; - HEAP32[$0 + 16 >> 2] = $3; - do if ($1) if ($1 >>> 0 > 357913941) { - $8 = ___cxa_allocate_exception(8) | 0; - __ZNSt11logic_errorC2EPKc($8, 41481); - HEAP32[$8 >> 2] = 17472; - ___cxa_throw($8 | 0, 13960, 22); - } else { - $11 = __Znwm($1 * 12 | 0) | 0; - break; - } else $11 = 0; while (0); - HEAP32[$0 >> 2] = $11; - $12 = $11 + ($2 * 12 | 0) | 0; - HEAP32[$0 + 8 >> 2] = $12; - HEAP32[$0 + 4 >> 2] = $12; - HEAP32[$4 >> 2] = $11 + ($1 * 12 | 0); - return; +function __ZNSt3__213__vector_baseIN6vision17PriorityQueueItemILi96EEENS_9allocatorIS3_EEED2Ev($this) { + $this = $this | 0; + var $0 = 0, $2 = 0, $__end_$i$i = 0, $__soon_to_be_end$0$i$i = 0, $incdec$ptr$i$i = 0; + $0 = HEAP32[$this >> 2] | 0; + if ($0 | 0) { + $__end_$i$i = $this + 4 | 0; + $__soon_to_be_end$0$i$i = HEAP32[$__end_$i$i >> 2] | 0; + while (1) { + if (($__soon_to_be_end$0$i$i | 0) == ($0 | 0)) break; + $incdec$ptr$i$i = $__soon_to_be_end$0$i$i + -8 | 0; + __ZN6vision17PriorityQueueItemILi96EED2Ev($incdec$ptr$i$i); + $__soon_to_be_end$0$i$i = $incdec$ptr$i$i; + } + HEAP32[$__end_$i$i >> 2] = $0; + $2 = HEAP32[$this >> 2] | 0; + __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($2, (HEAP32[$this + 8 >> 2] | 0) - $2 | 0); + } + return; +} + +function _arParamObserv2IdealLTf($paramLTf, $ox, $oy, $ix, $iy) { + $paramLTf = $paramLTf | 0; + $ox = +$ox; + $oy = +$oy; + $ix = $ix | 0; + $iy = $iy | 0; + var $2 = 0, $add$ptr = 0, $add1 = 0, $add4 = 0, $retval$0 = 0; + $add1 = (HEAP32[$paramLTf + 16 >> 2] | 0) + ~~($ox + .5) | 0; + $add4 = (HEAP32[$paramLTf + 20 >> 2] | 0) + ~~($oy + .5) | 0; + if ((($add1 | 0) >= 0 ? ($2 = HEAP32[$paramLTf + 8 >> 2] | 0, !(($add4 | 0) < 0 | ($add1 | 0) >= ($2 | 0))) : 0) ? ($add4 | 0) < (HEAP32[$paramLTf + 12 >> 2] | 0) : 0) { + $add$ptr = (HEAP32[$paramLTf + 4 >> 2] | 0) + ((Math_imul($2, $add4) | 0) + $add1 << 1 << 2) | 0; + HEAP32[$ix >> 2] = HEAP32[$add$ptr >> 2]; + HEAP32[$iy >> 2] = HEAP32[$add$ptr + 4 >> 2]; + $retval$0 = 0; + } else $retval$0 = -1; + return $retval$0 | 0; } -function __ZNSt3__210__stdinbufIwEC2EP8_IO_FILEP11__mbstate_t($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $11 = 0, $3 = 0, $7 = 0, sp = 0; +function _arParamIdeal2ObservLTf($paramLTf, $ix, $iy, $ox, $oy) { + $paramLTf = $paramLTf | 0; + $ix = +$ix; + $iy = +$iy; + $ox = $ox | 0; + $oy = $oy | 0; + var $2 = 0, $add$ptr = 0, $add1 = 0, $add4 = 0, $retval$0 = 0; + $add1 = (HEAP32[$paramLTf + 16 >> 2] | 0) + ~~($ix + .5) | 0; + $add4 = (HEAP32[$paramLTf + 20 >> 2] | 0) + ~~($iy + .5) | 0; + if ((($add1 | 0) >= 0 ? ($2 = HEAP32[$paramLTf + 8 >> 2] | 0, !(($add4 | 0) < 0 | ($add1 | 0) >= ($2 | 0))) : 0) ? ($add4 | 0) < (HEAP32[$paramLTf + 12 >> 2] | 0) : 0) { + $add$ptr = (HEAP32[$paramLTf >> 2] | 0) + ((Math_imul($2, $add4) | 0) + $add1 << 1 << 2) | 0; + HEAP32[$ox >> 2] = HEAP32[$add$ptr >> 2]; + HEAP32[$oy >> 2] = HEAP32[$add$ptr + 4 >> 2]; + $retval$0 = 0; + } else $retval$0 = -1; + return $retval$0 | 0; +} + +function __ZNK12_GLOBAL__N_116itanium_demangle24ForwardTemplateReference12hasArraySlowERNS_12OutputStreamE($this, $S) { + $this = $this | 0; + $S = $S | 0; + var $Printing = 0, $SavePrinting = 0, $call = 0, $retval$0 = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $3 = sp; - __ZNSt3__215basic_streambufIwNS_11char_traitsIwEEEC2Ev($0); - HEAP32[$0 >> 2] = 21016; - HEAP32[$0 + 32 >> 2] = $1; - HEAP32[$0 + 40 >> 2] = $2; - $7 = __ZNSt3__211char_traitsIwE3eofEv() | 0; - HEAP32[$0 + 48 >> 2] = $7; - HEAP8[$0 + 52 >> 0] = 0; - $11 = HEAP32[(HEAP32[$0 >> 2] | 0) + 8 >> 2] | 0; - __ZNSt3__26localeC2ERKS0_($3, $0 + 4 | 0); - FUNCTION_TABLE_vii[$11 & 255]($0, $3); - __ZNSt3__26localeD2Ev($3); + $SavePrinting = sp; + $Printing = $this + 16 | 0; + if (!(HEAP8[$Printing >> 0] | 0)) { + __ZN12_GLOBAL__N_114SwapAndRestoreIbEC2ERbb($SavePrinting, $Printing, 1); + $call = __ZNK12_GLOBAL__N_116itanium_demangle4Node8hasArrayERNS_12OutputStreamE(HEAP32[$this + 12 >> 2] | 0, $S) | 0; + __ZN12_GLOBAL__N_114SwapAndRestoreIbED2Ev($SavePrinting); + $retval$0 = $call; + } else $retval$0 = 0; STACKTOP = sp; - return; + return $retval$0 | 0; } -function __ZNSt3__210__stdinbufIcEC2EP8_IO_FILEP11__mbstate_t($0, $1, $2) { +function _strtox($s, $p, $base, $0, $1) { + $s = $s | 0; + $p = $p | 0; + $base = $base | 0; $0 = $0 | 0; $1 = $1 | 0; - $2 = $2 | 0; - var $11 = 0, $3 = 0, $7 = 0, sp = 0; + var $2 = 0, $3 = 0, $4 = 0, $f = 0, $rpos = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $3 = sp; - __ZNSt3__215basic_streambufIcNS_11char_traitsIcEEEC2Ev($0); - HEAP32[$0 >> 2] = 21080; - HEAP32[$0 + 32 >> 2] = $1; - HEAP32[$0 + 40 >> 2] = $2; - $7 = __ZNSt3__211char_traitsIcE3eofEv() | 0; - HEAP32[$0 + 48 >> 2] = $7; - HEAP8[$0 + 52 >> 0] = 0; - $11 = HEAP32[(HEAP32[$0 >> 2] | 0) + 8 >> 2] | 0; - __ZNSt3__26localeC2ERKS0_($3, $0 + 4 | 0); - FUNCTION_TABLE_vii[$11 & 255]($0, $3); - __ZNSt3__26localeD2Ev($3); + STACKTOP = STACKTOP + 144 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(144); + $f = sp; + HEAP32[$f >> 2] = 0; + $rpos = $f + 4 | 0; + HEAP32[$rpos >> 2] = $s; + HEAP32[$f + 44 >> 2] = $s; + $2 = $f + 8 | 0; + HEAP32[$2 >> 2] = ($s | 0) < 0 ? -1 : $s + 2147483647 | 0; + HEAP32[$f + 76 >> 2] = -1; + ___shlim($f, 0, 0); + $3 = ___intscan($f, $base, 1, $0, $1) | 0; + $4 = getTempRet0() | 0; + if ($p | 0) HEAP32[$p >> 2] = $s + ((HEAP32[$rpos >> 2] | 0) + (HEAP32[$f + 120 >> 2] | 0) - (HEAP32[$2 >> 2] | 0)); + setTempRet0($4 | 0); STACKTOP = sp; - return; -} - -function __ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_6vectorIiNS_9allocatorIiEEEEEENS_22__unordered_map_hasherIiS6_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS6_NS_8equal_toIiEELb1EEENS3_IS6_EEED2Ev($0) { - $0 = $0 | 0; - var $3 = 0; - __ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_6vectorIiNS_9allocatorIiEEEEEENS_22__unordered_map_hasherIiS6_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS6_NS_8equal_toIiEELb1EEENS3_IS6_EEE17__deallocate_nodeEPNS_16__hash_node_baseIPNS_11__hash_nodeIS6_PvEEEE($0, HEAP32[$0 + 8 >> 2] | 0); - $3 = HEAP32[$0 >> 2] | 0; - HEAP32[$0 >> 2] = 0; - if ($3 | 0) __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($3, HEAP32[$0 + 4 >> 2] << 2); - return; + return $3 | 0; } -function __ZN6vision9MaxIndex9IfEEiPKT_($0) { - $0 = $0 | 0; - var $$0 = 0, $$1 = 0, $$2 = 0, $$3 = 0, $$4 = 0, $$5 = 0, $$6 = 0; - $$0 = +HEAPF32[$0 + 4 >> 2] > +HEAPF32[$0 >> 2] & 1; - $$1 = +HEAPF32[$0 + 8 >> 2] > +HEAPF32[$0 + ($$0 << 2) >> 2] ? 2 : $$0; - $$2 = +HEAPF32[$0 + 12 >> 2] > +HEAPF32[$0 + ($$1 << 2) >> 2] ? 3 : $$1; - $$3 = +HEAPF32[$0 + 16 >> 2] > +HEAPF32[$0 + ($$2 << 2) >> 2] ? 4 : $$2; - $$4 = +HEAPF32[$0 + 20 >> 2] > +HEAPF32[$0 + ($$3 << 2) >> 2] ? 5 : $$3; - $$5 = +HEAPF32[$0 + 24 >> 2] > +HEAPF32[$0 + ($$4 << 2) >> 2] ? 6 : $$4; - $$6 = +HEAPF32[$0 + 28 >> 2] > +HEAPF32[$0 + ($$5 << 2) >> 2] ? 7 : $$5; - return (+HEAPF32[$0 + 32 >> 2] > +HEAPF32[$0 + ($$6 << 2) >> 2] ? 8 : $$6) | 0; -} - -function _pad_667($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $$0$lcssa = 0, $$011 = 0, $14 = 0, $5 = 0, $9 = 0, sp = 0; +function __ZNSt3__26vectorIN6vision7match_tENS_9allocatorIS2_EEE7reserveEm($this, $__n) { + $this = $this | 0; + $__n = $__n | 0; + var $1 = 0, $__v = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 256 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(256); - $5 = sp; - if (($2 | 0) > ($3 | 0) & ($4 & 73728 | 0) == 0) { - $9 = $2 - $3 | 0; - _memset($5 | 0, $1 << 24 >> 24 | 0, ($9 >>> 0 < 256 ? $9 : 256) | 0) | 0; - if ($9 >>> 0 > 255) { - $14 = $2 - $3 | 0; - $$011 = $9; - do { - _out($0, $5, 256); - $$011 = $$011 + -256 | 0; - } while ($$011 >>> 0 > 255); - $$0$lcssa = $14 & 255; - } else $$0$lcssa = $9; - _out($0, $5, $$0$lcssa); + STACKTOP = STACKTOP + 32 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); + $__v = sp; + $1 = HEAP32[$this >> 2] | 0; + if ((HEAP32[$this + 8 >> 2] | 0) - $1 >> 3 >>> 0 < $__n >>> 0) { + __ZNSt3__214__split_bufferIN6vision7match_tERNS_9allocatorIS2_EEEC2EmmS5_($__v, $__n, (HEAP32[$this + 4 >> 2] | 0) - $1 >> 3, $this + 8 | 0); + __ZNSt3__26vectorIN6vision7match_tENS_9allocatorIS2_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS2_RS4_EE($this, $__v); + __ZNSt3__214__split_bufferIN6vision7match_tERNS_9allocatorIS2_EEED2Ev($__v); } STACKTOP = sp; return; } -function __ZNSt3__26vectorIN6vision12FeaturePointENS_9allocatorIS2_EEE18__construct_at_endIPS2_EENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeES9_S9_m($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $$0$i = 0, $4 = 0, $6 = 0; - $4 = $0 + 4 | 0; - $$0$i = $1; - while (1) { - if (($$0$i | 0) == ($2 | 0)) break; - $6 = HEAP32[$4 >> 2] | 0; - HEAP32[$6 >> 2] = HEAP32[$$0$i >> 2]; - HEAP32[$6 + 4 >> 2] = HEAP32[$$0$i + 4 >> 2]; - HEAP32[$6 + 8 >> 2] = HEAP32[$$0$i + 8 >> 2]; - HEAP32[$6 + 12 >> 2] = HEAP32[$$0$i + 12 >> 2]; - HEAP32[$6 + 16 >> 2] = HEAP32[$$0$i + 16 >> 2]; - HEAP32[$4 >> 2] = (HEAP32[$4 >> 2] | 0) + 20; - $$0$i = $$0$i + 20 | 0; +function _ar2GenTemplate($ts1, $ts2) { + $ts1 = $ts1 | 0; + $ts2 = $ts2 | 0; + var $add3 = 0, $call = 0, $call11 = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $call = _malloc(40) | 0; + if (!$call) { + _arLog(0, 3, 46772, sp); + _exit(1); } - return; -} - -function __ZN6vision23DeterminantSymmetric3x3IfEET_PKS1_($0) { - $0 = $0 | 0; - var $1 = 0, $10 = 0.0, $12 = 0, $14 = 0.0, $15 = 0, $16 = 0.0, $18 = 0.0, $19 = 0.0, $2 = 0.0, $22 = 0.0, $3 = 0, $6 = 0.0; - $1 = $0 + 32 | 0; - $2 = +HEAPF32[$1 >> 2]; - $3 = $0 + 4 | 0; - $6 = $2 * +__ZN6vision3sqrIfEET_S1_(+HEAPF32[$3 >> 2]); - $10 = +HEAPF32[$0 + 8 >> 2]; - $12 = $0 + 20 | 0; - $14 = +HEAPF32[$3 >> 2] * 2.0 * $10 * +HEAPF32[$12 >> 2]; - $15 = $0 + 16 | 0; - $16 = +HEAPF32[$15 >> 2]; - $18 = $16 * +__ZN6vision3sqrIfEET_S1_($10); - $19 = +HEAPF32[$0 >> 2]; - $22 = $19 * +__ZN6vision3sqrIfEET_S1_(+HEAPF32[$12 >> 2]); - return +($14 - $6 - $18 - $22 + +HEAPF32[$0 >> 2] * +HEAPF32[$15 >> 2] * +HEAPF32[$1 >> 2]); -} - -function __ZNSt3__214__split_bufferIN6vision17PriorityQueueItemILi96EEERNS_9allocatorIS3_EEEC2EmmS6_($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $11 = 0, $12 = 0, $4 = 0, $8 = 0; - $4 = $0 + 12 | 0; - HEAP32[$4 >> 2] = 0; - HEAP32[$0 + 16 >> 2] = $3; - do if ($1) if ($1 >>> 0 > 536870911) { - $8 = ___cxa_allocate_exception(8) | 0; - __ZNSt11logic_errorC2EPKc($8, 41481); - HEAP32[$8 >> 2] = 17472; - ___cxa_throw($8 | 0, 13960, 22); - } else { - $11 = __Znwm($1 << 3) | 0; - break; - } else $11 = 0; while (0); - HEAP32[$0 >> 2] = $11; - $12 = $11 + ($2 << 3) | 0; - HEAP32[$0 + 8 >> 2] = $12; - HEAP32[$0 + 4 >> 2] = $12; - HEAP32[$4 >> 2] = $11 + ($1 << 3); - return; -} - -function __ZNSt3__214__split_bufferIN6vision12FeaturePointERNS_9allocatorIS2_EEEC2EmmS5_($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $11 = 0, $12 = 0, $4 = 0, $8 = 0; - $4 = $0 + 12 | 0; - HEAP32[$4 >> 2] = 0; - HEAP32[$0 + 16 >> 2] = $3; - do if ($1) if ($1 >>> 0 > 214748364) { - $8 = ___cxa_allocate_exception(8) | 0; - __ZNSt11logic_errorC2EPKc($8, 41481); - HEAP32[$8 >> 2] = 17472; - ___cxa_throw($8 | 0, 13960, 22); + HEAP32[$call + 16 >> 2] = $ts1; + HEAP32[$call + 8 >> 2] = $ts1; + HEAP32[$call + 20 >> 2] = $ts2; + HEAP32[$call + 12 >> 2] = $ts2; + $add3 = $ts1 + 1 + $ts2 | 0; + HEAP32[$call >> 2] = $add3; + HEAP32[$call + 4 >> 2] = $add3; + $call11 = _malloc(Math_imul($add3 << 1, $add3) | 0) | 0; + HEAP32[$call + 24 >> 2] = $call11; + if (!$call11) { + _arLog(0, 3, 46772, sp + 8 | 0); + _exit(1); } else { - $11 = __Znwm($1 * 20 | 0) | 0; - break; - } else $11 = 0; while (0); - HEAP32[$0 >> 2] = $11; - $12 = $11 + ($2 * 20 | 0) | 0; - HEAP32[$0 + 8 >> 2] = $12; - HEAP32[$0 + 4 >> 2] = $12; - HEAP32[$4 >> 2] = $11 + ($1 * 20 | 0); - return; + STACKTOP = sp; + return $call | 0; + } + return 0; } -function __ZNKSt3__27collateIcE10do_compareEPKcS3_S3_S3_($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $$0 = 0, $$011 = 0, $$012 = 0, $7 = 0, $8 = 0, label = 0; - $$011 = $3; - $$012 = $1; - while (1) { - if (($$011 | 0) == ($4 | 0)) { - label = 7; +function __ZNK12_GLOBAL__N_116itanium_demangle27ExpandedSpecialSubstitution11getBaseNameEv($agg$result, $this) { + $agg$result = $agg$result | 0; + $this = $this | 0; + switch (HEAP32[$this + 8 >> 2] | 0) { + case 0: + { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$result, 52545); + break; + } + case 1: + { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$result, 52555); + break; + } + case 2: + { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$result, 52555); break; } - if (($$012 | 0) == ($2 | 0)) { - $$0 = -1; + case 3: + { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$result, 56331); break; } - $7 = HEAP8[$$012 >> 0] | 0; - $8 = HEAP8[$$011 >> 0] | 0; - if ($7 << 24 >> 24 < $8 << 24 >> 24) { - $$0 = -1; + case 4: + { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$result, 56345); break; } - if ($8 << 24 >> 24 < $7 << 24 >> 24) { - $$0 = 1; + case 5: + { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$result, 56359); break; } - $$011 = $$011 + 1 | 0; - $$012 = $$012 + 1 | 0; + default: + {} } - if ((label | 0) == 7) $$0 = ($$012 | 0) != ($2 | 0) & 1; - return $$0 | 0; -} - -function _realloc($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$1 = 0, $11 = 0, $14 = 0, $17 = 0, $22 = 0, $5 = 0; - if (!$0) { - $$1 = _malloc($1) | 0; - return $$1 | 0; - } - if ($1 >>> 0 > 4294967231) { - $5 = ___errno_location() | 0; - HEAP32[$5 >> 2] = 48; - $$1 = 0; - return $$1 | 0; - } - $11 = _try_realloc_chunk($0 + -8 | 0, $1 >>> 0 < 11 ? 16 : $1 + 11 & -8) | 0; - if ($11 | 0) { - $$1 = $11 + 8 | 0; - return $$1 | 0; - } - $14 = _malloc($1) | 0; - if (!$14) { - $$1 = 0; - return $$1 | 0; - } - $17 = HEAP32[$0 + -4 >> 2] | 0; - $22 = ($17 & -8) - (($17 & 3 | 0) == 0 ? 8 : 4) | 0; - _memcpy($14 | 0, $0 | 0, ($22 >>> 0 < $1 >>> 0 ? $22 : $1) | 0) | 0; - _free($0); - $$1 = $14; - return $$1 | 0; -} - -function __ZNK12_GLOBAL__N_116itanium_demangle8NameType9printLeftERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $10 = 0, $2 = 0, $4 = 0, $9 = 0, $tmpcast$byval_copy = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $tmpcast$byval_copy = sp + 8 | 0; - $2 = sp; - $4 = $0 + 8 | 0; - $9 = HEAP32[$4 + 4 >> 2] | 0; - $10 = $2; - HEAP32[$10 >> 2] = HEAP32[$4 >> 2]; - HEAP32[$10 + 4 >> 2] = $9; - HEAP32[$tmpcast$byval_copy >> 2] = HEAP32[$2 >> 2]; - HEAP32[$tmpcast$byval_copy + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $tmpcast$byval_copy); - STACKTOP = sp; return; } -function __ZN12_GLOBAL__N_116itanium_demangle16FunctionEncodingC2EPKNS0_4NodeES4_NS0_9NodeArrayES4_NS0_10QualifiersENS0_15FunctionRefQualE($0, $1, $2, $3, $4, $5, $6) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - $6 = $6 | 0; - var $10 = 0, $15 = 0, $16 = 0; - __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($0, 18, 0, 1, 0); - HEAP32[$0 >> 2] = 20420; - HEAP32[$0 + 8 >> 2] = $1; - HEAP32[$0 + 12 >> 2] = $2; - $10 = $3; - $15 = HEAP32[$10 + 4 >> 2] | 0; - $16 = $0 + 16 | 0; - HEAP32[$16 >> 2] = HEAP32[$10 >> 2]; - HEAP32[$16 + 4 >> 2] = $15; - HEAP32[$0 + 24 >> 2] = $4; - HEAP32[$0 + 28 >> 2] = $5; - HEAP8[$0 + 32 >> 0] = $6; +function __ZN6vision21HoughSimilarityVotingC2Ev($this) { + $this = $this | 0; + var $__begin_$i$i1 = 0, $__p3_$i$i = 0, dest = 0, stop = 0; + HEAP32[$this >> 2] = 0; + HEAP32[$this + 4 >> 2] = 0; + HEAP32[$this + 8 >> 2] = 0; + HEAP32[$this + 12 >> 2] = 0; + HEAP8[$this + 16 >> 0] = 1; + $__p3_$i$i = $this + 108 | 0; + dest = $this + 20 | 0; + stop = dest + 88 | 0; + do { + HEAP32[dest >> 2] = 0; + dest = dest + 4 | 0; + } while ((dest | 0) < (stop | 0)); + HEAP32[$__p3_$i$i >> 2] = 1065353216; + $__begin_$i$i1 = $this + 112 | 0; + HEAP32[$__begin_$i$i1 >> 2] = 0; + HEAP32[$__begin_$i$i1 + 4 >> 2] = 0; + HEAP32[$__begin_$i$i1 + 8 >> 2] = 0; + HEAP32[$__begin_$i$i1 + 12 >> 2] = 0; + HEAP32[$__begin_$i$i1 + 16 >> 2] = 0; + HEAP32[$__begin_$i$i1 + 20 >> 2] = 0; return; } -function __ZNSt3__214__split_bufferIN6vision7Point3dIfEERNS_9allocatorIS3_EEEC2EmmS6_($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $11 = 0, $12 = 0, $4 = 0, $8 = 0; - $4 = $0 + 12 | 0; - HEAP32[$4 >> 2] = 0; - HEAP32[$0 + 16 >> 2] = $3; - do if ($1) if ($1 >>> 0 > 357913941) { - $8 = ___cxa_allocate_exception(8) | 0; - __ZNSt11logic_errorC2EPKc($8, 41481); - HEAP32[$8 >> 2] = 17472; - ___cxa_throw($8 | 0, 13960, 22); - } else { - $11 = __Znwm($1 * 12 | 0) | 0; - break; - } else $11 = 0; while (0); - HEAP32[$0 >> 2] = $11; - $12 = $11 + ($2 * 12 | 0) | 0; - HEAP32[$0 + 8 >> 2] = $12; - HEAP32[$0 + 4 >> 2] = $12; - HEAP32[$4 >> 2] = $11 + ($1 * 12 | 0); +function __ZNSt3__210__stdinbufIwE5imbueERKNS_6localeE($this, $__loc) { + $this = $this | 0; + $__loc = $__loc | 0; + var $1 = 0, $__cv_ = 0, $__encoding_ = 0, $call$i = 0, $call$i1 = 0, $frombool = 0; + $call$i = __ZNKSt3__26locale9use_facetERNS0_2idE($__loc, 67672) | 0; + $__cv_ = $this + 36 | 0; + HEAP32[$__cv_ >> 2] = $call$i; + $call$i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$call$i >> 2] | 0) + 24 >> 2] & 127]($call$i) | 0; + $__encoding_ = $this + 44 | 0; + HEAP32[$__encoding_ >> 2] = $call$i1; + $1 = HEAP32[$__cv_ >> 2] | 0; + $frombool = (FUNCTION_TABLE_ii[HEAP32[(HEAP32[$1 >> 2] | 0) + 28 >> 2] & 127]($1) | 0) & 1; + HEAP8[$this + 53 >> 0] = $frombool; + if ((HEAP32[$__encoding_ >> 2] | 0) > 8) __ZNSt3__221__throw_runtime_errorEPKc(59662); else return; +} + +function __ZNSt3__210__stdinbufIcE5imbueERKNS_6localeE($this, $__loc) { + $this = $this | 0; + $__loc = $__loc | 0; + var $1 = 0, $__cv_ = 0, $__encoding_ = 0, $call$i = 0, $call$i1 = 0, $frombool = 0; + $call$i = __ZNKSt3__26locale9use_facetERNS0_2idE($__loc, 67664) | 0; + $__cv_ = $this + 36 | 0; + HEAP32[$__cv_ >> 2] = $call$i; + $call$i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$call$i >> 2] | 0) + 24 >> 2] & 127]($call$i) | 0; + $__encoding_ = $this + 44 | 0; + HEAP32[$__encoding_ >> 2] = $call$i1; + $1 = HEAP32[$__cv_ >> 2] | 0; + $frombool = (FUNCTION_TABLE_ii[HEAP32[(HEAP32[$1 >> 2] | 0) + 28 >> 2] & 127]($1) | 0) & 1; + HEAP8[$this + 53 >> 0] = $frombool; + if ((HEAP32[$__encoding_ >> 2] | 0) > 8) __ZNSt3__221__throw_runtime_errorEPKc(59662); else return; +} + +function __ZNK12_GLOBAL__N_116itanium_demangle12FunctionType9printLeftERNS_12OutputStreamE($this, $S) { + $this = $this | 0; + $S = $S | 0; + var $0 = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $agg$tmp$byval_copy = sp + 8 | 0; + $agg$tmp = sp; + $0 = HEAP32[$this + 8 >> 2] | 0; + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$0 >> 2] | 0) + 16 >> 2] & 255]($0, $S); + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, 52808); + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp$byval_copy); + STACKTOP = sp; return; } -function _jpeg_stdio_src($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $11 = 0, $14 = 0, $2 = 0, $3 = 0, $5 = 0, $8 = 0; - $2 = $0 + 24 | 0; - $3 = HEAP32[$2 >> 2] | 0; - if (!$3) { - $5 = $0 + 4 | 0; - $8 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[$5 >> 2] >> 2] & 63]($0, 0, 40) | 0; - HEAP32[$2 >> 2] = $8; - $11 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[$5 >> 2] >> 2] & 63]($0, 0, 4096) | 0; - HEAP32[$8 + 32 >> 2] = $11; - $14 = HEAP32[$2 >> 2] | 0; - } else $14 = $3; - HEAP32[$14 + 8 >> 2] = 201; - HEAP32[$14 + 12 >> 2] = 85; - HEAP32[$14 + 16 >> 2] = 137; - HEAP32[$14 + 20 >> 2] = 71; - HEAP32[$14 + 24 >> 2] = 202; - HEAP32[$14 + 28 >> 2] = $1; - HEAP32[$14 + 4 >> 2] = 0; - HEAP32[$14 >> 2] = 0; - return; -} - -function __ZNK6vision21HoughSimilarityVoting23getMaximumNumberOfVotesERfRi($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$sroa$09$0 = 0, $$sroa$09$0$in = 0, $10 = 0.0, $14 = 0.0, $15 = 0.0, $5 = 0, $6 = 0; - HEAPF32[$1 >> 2] = 0.0; - HEAP32[$2 >> 2] = -1; - $$sroa$09$0$in = $0 + 100 | 0; - $10 = 0.0; - while (1) { - $$sroa$09$0 = HEAP32[$$sroa$09$0$in >> 2] | 0; - if (!$$sroa$09$0) break; - $5 = $$sroa$09$0; - $6 = $5 + 12 | 0; - if ($10 < +((HEAP32[$6 >> 2] | 0) >>> 0)) { - HEAP32[$2 >> 2] = HEAP32[$5 + 8 >> 2]; - $14 = +((HEAP32[$6 >> 2] | 0) >>> 0); - HEAPF32[$1 >> 2] = $14; - $15 = $14; - } else $15 = $10; - $$sroa$09$0$in = $$sroa$09$0; - $10 = $15; - } +function __ZN6vision8KeyframeILi96EE10buildIndexEv($this) { + $this = $this | 0; + var $0 = 0, $call = 0, $mIndex = 0, $mStore = 0; + $mIndex = $this + 36 | 0; + __ZN6vision28BinaryHierarchicalClusteringILi96EE16setNumHypothesesEi($mIndex, 128); + __ZN6vision28BinaryHierarchicalClusteringILi96EE13setNumCentersEi($mIndex, 8); + __ZN6vision28BinaryHierarchicalClusteringILi96EE16setMaxNodesToPopEi($mIndex, 8); + __ZN6vision28BinaryHierarchicalClusteringILi96EE21setMinFeaturesPerNodeEi($mIndex, 16); + $mStore = $this + 8 | 0; + $call = __ZN6vision18BinaryFeatureStore8featuresEv($mStore) | 0; + $0 = HEAP32[$call >> 2] | 0; + __ZN6vision28BinaryHierarchicalClusteringILi96EE5buildEPKhi($mIndex, $0, __ZNK6vision18BinaryFeatureStore4sizeEv($mStore) | 0); return; } -function __ZN6vision32CauchyProjectiveReprojectionCostIfEET_PKS1_S3_S3_S1_($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = +$3; - var $18 = 0.0, $4 = 0, $5 = 0, $6 = 0, sp = 0; +function __ZNK12_GLOBAL__N_116itanium_demangle8DtorName9printLeftERNS_12OutputStreamE($this, $S) { + $this = $this | 0; + $S = $S | 0; + var $0 = 0, $agg$tmp = 0, $agg$tmp$byval_copy = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $4 = sp + 8 | 0; - $5 = sp; - $6 = $4 + 4 | 0; - __ZN6vision35MultiplyPointHomographyInhomogenousIfEEvRT_S2_PKS1_S1_S1_($4, $6, $0, +HEAPF32[$1 >> 2], +HEAPF32[$1 + 4 >> 2]); - HEAPF32[$5 >> 2] = +HEAPF32[$4 >> 2] - +HEAPF32[$2 >> 2]; - HEAPF32[$5 + 4 >> 2] = +HEAPF32[$6 >> 2] - +HEAPF32[$2 + 4 >> 2]; - $18 = +__ZN6vision10CauchyCostIfEET_PKS1_S1_($5, $3); + $agg$tmp$byval_copy = sp + 8 | 0; + $agg$tmp = sp; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, 53527); + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp$byval_copy); + $0 = HEAP32[$this + 8 >> 2] | 0; + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$0 >> 2] | 0) + 16 >> 2] & 255]($0, $S); STACKTOP = sp; - return +$18; -} - -function ___toread($0) { - $0 = $0 | 0; - var $$0 = 0, $1 = 0, $15 = 0, $23 = 0, $3 = 0, $7 = 0, $9 = 0; - $1 = $0 + 74 | 0; - $3 = HEAP8[$1 >> 0] | 0; - HEAP8[$1 >> 0] = $3 + 255 | $3; - $7 = $0 + 20 | 0; - $9 = $0 + 28 | 0; - if ((HEAP32[$7 >> 2] | 0) >>> 0 > (HEAP32[$9 >> 2] | 0) >>> 0) FUNCTION_TABLE_iiii[HEAP32[$0 + 36 >> 2] & 63]($0, 0, 0) | 0; - HEAP32[$0 + 16 >> 2] = 0; - HEAP32[$9 >> 2] = 0; - HEAP32[$7 >> 2] = 0; - $15 = HEAP32[$0 >> 2] | 0; - if (!($15 & 4)) { - $23 = (HEAP32[$0 + 44 >> 2] | 0) + (HEAP32[$0 + 48 >> 2] | 0) | 0; - HEAP32[$0 + 8 >> 2] = $23; - HEAP32[$0 + 4 >> 2] = $23; - $$0 = $15 << 27 >> 31; - } else { - HEAP32[$0 >> 2] = $15 | 32; - $$0 = -1; - } - return $$0 | 0; + return; } -function __ZNSt3__210shared_ptrIhEC2IhEEPT_NS_9enable_ifIXsr14is_convertibleIS4_PhEE5valueENS1_5__natEE4typeE($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0, $vararg_buffer = 0, sp = 0; +function __ZNK12_GLOBAL__N_116itanium_demangle22ConversionOperatorType9printLeftERNS_12OutputStreamE($this, $S) { + $this = $this | 0; + $S = $S | 0; + var $agg$tmp = 0, $agg$tmp$byval_copy = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $vararg_buffer = sp; - HEAP32[$0 >> 2] = $1; - $3 = __Znwm(16) | 0; - HEAP32[$3 + 4 >> 2] = 0; - HEAP32[$3 + 8 >> 2] = 0; - HEAP32[$3 >> 2] = 16848; - HEAP32[$3 + 12 >> 2] = $1; - HEAP32[$0 + 4 >> 2] = $3; - HEAP32[$vararg_buffer >> 2] = $1; - HEAP32[$vararg_buffer + 4 >> 2] = $1; - __ZNSt3__210shared_ptrIhE18__enable_weak_thisEz($0, $vararg_buffer); + $agg$tmp$byval_copy = sp + 8 | 0; + $agg$tmp = sp; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, 55160); + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp$byval_copy); + __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(HEAP32[$this + 8 >> 2] | 0, $S); STACKTOP = sp; return; } -function _getc($0) { - $0 = $0 | 0; - var $$0 = 0, $15 = 0, $16 = 0, $24 = 0, $6 = 0, $7 = 0, label = 0; - if ((HEAP32[$0 + 76 >> 2] | 0) >= 0 ? (___lockfile($0) | 0) != 0 : 0) { - $15 = $0 + 4 | 0; - $16 = HEAP32[$15 >> 2] | 0; - if ($16 >>> 0 < (HEAP32[$0 + 8 >> 2] | 0) >>> 0) { - HEAP32[$15 >> 2] = $16 + 1; - $24 = HEAPU8[$16 >> 0] | 0; - } else $24 = ___uflow($0) | 0; - $$0 = $24; - } else label = 3; - do if ((label | 0) == 3) { - $6 = $0 + 4 | 0; - $7 = HEAP32[$6 >> 2] | 0; - if ($7 >>> 0 < (HEAP32[$0 + 8 >> 2] | 0) >>> 0) { - HEAP32[$6 >> 2] = $7 + 1; - $$0 = HEAPU8[$7 >> 0] | 0; +function __ZNK12_GLOBAL__N_116itanium_demangle19SpecialSubstitution11getBaseNameEv($agg$result, $this) { + $agg$result = $agg$result | 0; + $this = $this | 0; + switch (HEAP32[$this + 8 >> 2] | 0) { + case 0: + { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$result, 52545); break; - } else { - $$0 = ___uflow($0) | 0; + } + case 1: + { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$result, 52555); break; } - } while (0); - return $$0 | 0; -} - -function __ZNSt3__214__split_bufferIPKN6vision4NodeILi96EEERNS_9allocatorIS5_EEEC2EmmS8_($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $11 = 0, $12 = 0, $4 = 0, $8 = 0; - $4 = $0 + 12 | 0; - HEAP32[$4 >> 2] = 0; - HEAP32[$0 + 16 >> 2] = $3; - do if ($1) if ($1 >>> 0 > 1073741823) { - $8 = ___cxa_allocate_exception(8) | 0; - __ZNSt11logic_errorC2EPKc($8, 41481); - HEAP32[$8 >> 2] = 17472; - ___cxa_throw($8 | 0, 13960, 22); - } else { - $11 = __Znwm($1 << 2) | 0; - break; - } else $11 = 0; while (0); - HEAP32[$0 >> 2] = $11; - $12 = $11 + ($2 << 2) | 0; - HEAP32[$0 + 8 >> 2] = $12; - HEAP32[$0 + 4 >> 2] = $12; - HEAP32[$4 >> 2] = $11 + ($1 << 2); - return; -} - -function __ZNSt3__26vectorIN6vision5ImageENS_9allocatorIS2_EEE6resizeEm($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0$i$i = 0, $12 = 0, $14 = 0, $2 = 0, $3 = 0, $4 = 0, $6 = 0, $8 = 0, $9 = 0; - $2 = $0 + 4 | 0; - $3 = HEAP32[$2 >> 2] | 0; - $4 = HEAP32[$0 >> 2] | 0; - $6 = $3 - $4 >> 5; - $8 = $4; - $9 = $3; - if ($6 >>> 0 >= $1 >>> 0) { - if ($6 >>> 0 > $1 >>> 0) { - $12 = $8 + ($1 << 5) | 0; - $$0$i$i = $9; - while (1) { - if (($$0$i$i | 0) == ($12 | 0)) break; - $14 = $$0$i$i + -32 | 0; - __ZN6vision5ImageD2Ev($14); - $$0$i$i = $14; - } - HEAP32[$2 >> 2] = $12; + case 2: + { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$result, 52568); + break; + } + case 3: + { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$result, 52575); + break; + } + case 4: + { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$result, 52583); + break; + } + case 5: + { + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$result, 52591); + break; } - } else __ZNSt3__26vectorIN6vision5ImageENS_9allocatorIS2_EEE8__appendEm($0, $1 - $6 | 0); + default: + {} + } return; } -function __ZNSt3__214__split_bufferIPN6vision4NodeILi96EEERNS_9allocatorIS4_EEEC2EmmS7_($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $11 = 0, $12 = 0, $4 = 0, $8 = 0; - $4 = $0 + 12 | 0; - HEAP32[$4 >> 2] = 0; - HEAP32[$0 + 16 >> 2] = $3; - do if ($1) if ($1 >>> 0 > 1073741823) { - $8 = ___cxa_allocate_exception(8) | 0; - __ZNSt11logic_errorC2EPKc($8, 41481); - HEAP32[$8 >> 2] = 17472; - ___cxa_throw($8 | 0, 13960, 22); - } else { - $11 = __Znwm($1 << 2) | 0; - break; - } else $11 = 0; while (0); - HEAP32[$0 >> 2] = $11; - $12 = $11 + ($2 << 2) | 0; - HEAP32[$0 + 8 >> 2] = $12; - HEAP32[$0 + 4 >> 2] = $12; - HEAP32[$4 >> 2] = $11 + ($1 << 2); +function __ZNK10__cxxabiv122__base_class_type_info27has_unambiguous_public_baseEPNS_19__dynamic_cast_infoEPvi($this, $info, $adjustedPtr, $path_below) { + $this = $this | 0; + $info = $info | 0; + $adjustedPtr = $adjustedPtr | 0; + $path_below = $path_below | 0; + var $$pre = 0, $2 = 0, $offset_to_base$0 = 0, $shr = 0; + $$pre = HEAP32[$this + 4 >> 2] | 0; + if ($adjustedPtr) { + $shr = $$pre >> 8; + if (!($$pre & 1)) $offset_to_base$0 = $shr; else $offset_to_base$0 = HEAP32[(HEAP32[$adjustedPtr >> 2] | 0) + $shr >> 2] | 0; + } else $offset_to_base$0 = 0; + $2 = HEAP32[$this >> 2] | 0; + FUNCTION_TABLE_viiii[HEAP32[(HEAP32[$2 >> 2] | 0) + 28 >> 2] & 31]($2, $info, $adjustedPtr + $offset_to_base$0 | 0, ($$pre & 2 | 0) == 0 ? 2 : $path_below); return; } -function __ZN6vision28BinaryHierarchicalClusteringILi96EE5buildEPKhiPKii($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $10 = 0, $5 = 0, $7 = 0, $8 = 0; - $5 = __Znwm(128) | 0; - __ZN6vision4NodeILi96EEC2Ei($5, __ZN6vision28BinaryHierarchicalClusteringILi96EE10nextNodeIdEv($0) | 0); - $7 = $0 + 8 | 0; - $8 = HEAP32[$7 >> 2] | 0; - HEAP32[$7 >> 2] = $5; - if (!$8) $10 = $5; else { - __ZN6vision4NodeILi96EED2Ev($8); - __ZdlPv($8); - $10 = HEAP32[$7 >> 2] | 0; - } - __ZN6vision4NodeILi96EE4leafEb($10, 0); - __ZN6vision28BinaryHierarchicalClusteringILi96EE5buildEPNS_4NodeILi96EEEPKhiPKii($0, HEAP32[$7 >> 2] | 0, $1, $2, $3, $4); - return; +function _getc($f) { + $f = $f | 0; + var $1 = 0, $4 = 0, $cond15 = 0, $retval$0 = 0, $rpos = 0, $rpos4 = 0, label = 0; + if ((HEAP32[$f + 76 >> 2] | 0) >= 0 ? (___lockfile($f) | 0) != 0 : 0) { + $rpos4 = $f + 4 | 0; + $4 = HEAP32[$rpos4 >> 2] | 0; + if ($4 >>> 0 < (HEAP32[$f + 8 >> 2] | 0) >>> 0) { + HEAP32[$rpos4 >> 2] = $4 + 1; + $cond15 = HEAPU8[$4 >> 0] | 0; + } else $cond15 = ___uflow($f) | 0; + $retval$0 = $cond15; + } else label = 3; + do if ((label | 0) == 3) { + $rpos = $f + 4 | 0; + $1 = HEAP32[$rpos >> 2] | 0; + if ($1 >>> 0 < (HEAP32[$f + 8 >> 2] | 0) >>> 0) { + HEAP32[$rpos >> 2] = $1 + 1; + $retval$0 = HEAPU8[$1 >> 0] | 0; + break; + } else { + $retval$0 = ___uflow($f) | 0; + break; + } + } while (0); + return $retval$0 | 0; } -function __ZNK12_GLOBAL__N_116itanium_demangle12FunctionType9printLeftERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$byval_copy = 0, $2 = 0, $4 = 0, sp = 0; +function __ZNK12_GLOBAL__N_116itanium_demangle19GlobalQualifiedName9printLeftERNS_12OutputStreamE($this, $S) { + $this = $this | 0; + $S = $S | 0; + var $agg$tmp = 0, $agg$tmp$byval_copy = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy = sp + 8 | 0; - $2 = sp; - $4 = HEAP32[$0 + 8 >> 2] | 0; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$4 >> 2] | 0) + 16 >> 2] & 255]($4, $1); - __ZN12_GLOBAL__N_110StringViewC2EPKc($2, 51966); - HEAP32[$$byval_copy >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy); + $agg$tmp$byval_copy = sp + 8 | 0; + $agg$tmp = sp; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, 54540); + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp$byval_copy); + __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(HEAP32[$this + 8 >> 2] | 0, $S); STACKTOP = sp; return; } -function __ZNSt3__214__split_bufferIN6vision7match_tERNS_9allocatorIS2_EEEC2EmmS5_($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $11 = 0, $12 = 0, $4 = 0, $8 = 0; - $4 = $0 + 12 | 0; - HEAP32[$4 >> 2] = 0; - HEAP32[$0 + 16 >> 2] = $3; - do if ($1) if ($1 >>> 0 > 536870911) { - $8 = ___cxa_allocate_exception(8) | 0; - __ZNSt11logic_errorC2EPKc($8, 41481); - HEAP32[$8 >> 2] = 17472; - ___cxa_throw($8 | 0, 13960, 22); - } else { - $11 = __Znwm($1 << 3) | 0; - break; - } else $11 = 0; while (0); - HEAP32[$0 >> 2] = $11; - $12 = $11 + ($2 << 3) | 0; - HEAP32[$0 + 8 >> 2] = $12; - HEAP32[$0 + 4 >> 2] = $12; - HEAP32[$4 >> 2] = $11 + ($1 << 3); +function __ZNSt3__213__vector_baseIN6vision12FeaturePointENS_9allocatorIS2_EEED2Ev($this) { + $this = $this | 0; + var $0 = 0, $2 = 0, $__end_$i$i = 0, $__soon_to_be_end$0$i$i = 0, $incdec$ptr$i$i = 0; + $0 = HEAP32[$this >> 2] | 0; + if ($0 | 0) { + $__end_$i$i = $this + 4 | 0; + $__soon_to_be_end$0$i$i = HEAP32[$__end_$i$i >> 2] | 0; + while (1) { + if (($__soon_to_be_end$0$i$i | 0) == ($0 | 0)) break; + $incdec$ptr$i$i = $__soon_to_be_end$0$i$i + -20 | 0; + __ZN6vision12FeaturePointD2Ev($incdec$ptr$i$i); + $__soon_to_be_end$0$i$i = $incdec$ptr$i$i; + } + HEAP32[$__end_$i$i >> 2] = $0; + $2 = HEAP32[$this >> 2] | 0; + __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($2, (HEAP32[$this + 8 >> 2] | 0) - $2 | 0); + } return; } -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8NameTypeEJRA22_KcEEEPT_DpOT0_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$byval_copy = 0, $2 = 0, $3 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy = sp + 8 | 0; - $2 = sp; - $3 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 16) | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($2, $1); - HEAP32[$$byval_copy >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - __ZN12_GLOBAL__N_116itanium_demangle8NameTypeC2ENS_10StringViewE($3, $$byval_copy); - STACKTOP = sp; - return $3 | 0; -} - -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8NameTypeEJRA19_KcEEEPT_DpOT0_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$byval_copy = 0, $2 = 0, $3 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy = sp + 8 | 0; - $2 = sp; - $3 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 16) | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($2, $1); - HEAP32[$$byval_copy >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - __ZN12_GLOBAL__N_116itanium_demangle8NameTypeC2ENS_10StringViewE($3, $$byval_copy); - STACKTOP = sp; - return $3 | 0; -} - -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8NameTypeEJRA18_KcEEEPT_DpOT0_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$byval_copy = 0, $2 = 0, $3 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy = sp + 8 | 0; - $2 = sp; - $3 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 16) | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($2, $1); - HEAP32[$$byval_copy >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - __ZN12_GLOBAL__N_116itanium_demangle8NameTypeC2ENS_10StringViewE($3, $$byval_copy); - STACKTOP = sp; - return $3 | 0; -} - -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8NameTypeEJRA16_KcEEEPT_DpOT0_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$byval_copy = 0, $2 = 0, $3 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy = sp + 8 | 0; - $2 = sp; - $3 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 16) | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($2, $1); - HEAP32[$$byval_copy >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - __ZN12_GLOBAL__N_116itanium_demangle8NameTypeC2ENS_10StringViewE($3, $$byval_copy); - STACKTOP = sp; - return $3 | 0; -} - -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8NameTypeEJRA15_KcEEEPT_DpOT0_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$byval_copy = 0, $2 = 0, $3 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy = sp + 8 | 0; - $2 = sp; - $3 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 16) | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($2, $1); - HEAP32[$$byval_copy >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - __ZN12_GLOBAL__N_116itanium_demangle8NameTypeC2ENS_10StringViewE($3, $$byval_copy); - STACKTOP = sp; - return $3 | 0; -} - -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8NameTypeEJRA14_KcEEEPT_DpOT0_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$byval_copy = 0, $2 = 0, $3 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy = sp + 8 | 0; - $2 = sp; - $3 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 16) | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($2, $1); - HEAP32[$$byval_copy >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - __ZN12_GLOBAL__N_116itanium_demangle8NameTypeC2ENS_10StringViewE($3, $$byval_copy); - STACKTOP = sp; - return $3 | 0; -} - -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8NameTypeEJRA13_KcEEEPT_DpOT0_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$byval_copy = 0, $2 = 0, $3 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy = sp + 8 | 0; - $2 = sp; - $3 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 16) | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($2, $1); - HEAP32[$$byval_copy >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - __ZN12_GLOBAL__N_116itanium_demangle8NameTypeC2ENS_10StringViewE($3, $$byval_copy); - STACKTOP = sp; - return $3 | 0; -} - -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8NameTypeEJRA12_KcEEEPT_DpOT0_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$byval_copy = 0, $2 = 0, $3 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy = sp + 8 | 0; - $2 = sp; - $3 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 16) | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($2, $1); - HEAP32[$$byval_copy >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - __ZN12_GLOBAL__N_116itanium_demangle8NameTypeC2ENS_10StringViewE($3, $$byval_copy); - STACKTOP = sp; - return $3 | 0; -} - -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8NameTypeEJRA11_KcEEEPT_DpOT0_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$byval_copy = 0, $2 = 0, $3 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy = sp + 8 | 0; - $2 = sp; - $3 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 16) | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($2, $1); - HEAP32[$$byval_copy >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - __ZN12_GLOBAL__N_116itanium_demangle8NameTypeC2ENS_10StringViewE($3, $$byval_copy); - STACKTOP = sp; - return $3 | 0; +function __ZNSt3__213__lower_boundIRNS_6__lessIjmEEPKjmEET0_S6_S6_RKT1_T_($__first, $__last, $__value_, $__comp) { + $__first = $__first | 0; + $__last = $__last | 0; + $__value_ = $__value_ | 0; + $__comp = $__comp | 0; + var $0 = 0, $__first$addr$0 = 0, $__len$0 = 0, $add$ptr$i$i = 0, $cmp$i = 0, $div$i = 0; + $0 = HEAP32[$__value_ >> 2] | 0; + $__first$addr$0 = $__first; + $__len$0 = $__last - $__first >> 2; + while (1) { + if (!$__len$0) break; + $div$i = $__len$0 >>> 1; + $add$ptr$i$i = $__first$addr$0 + ($div$i << 2) | 0; + $cmp$i = (HEAP32[$add$ptr$i$i >> 2] | 0) >>> 0 < $0 >>> 0; + $__first$addr$0 = $cmp$i ? $add$ptr$i$i + 4 | 0 : $__first$addr$0; + $__len$0 = $cmp$i ? $__len$0 + -1 - $div$i | 0 : $div$i; + } + return $__first$addr$0 | 0; } -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8NameTypeEJRA10_KcEEEPT_DpOT0_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$byval_copy = 0, $2 = 0, $3 = 0, sp = 0; +function __ZNK12_GLOBAL__N_116itanium_demangle16StdQualifiedName9printLeftERNS_12OutputStreamE($this, $S) { + $this = $this | 0; + $S = $S | 0; + var $agg$tmp = 0, $agg$tmp$byval_copy = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy = sp + 8 | 0; - $2 = sp; - $3 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 16) | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($2, $1); - HEAP32[$$byval_copy >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - __ZN12_GLOBAL__N_116itanium_demangle8NameTypeC2ENS_10StringViewE($3, $$byval_copy); + $agg$tmp$byval_copy = sp + 8 | 0; + $agg$tmp = sp; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, 55963); + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp$byval_copy); + __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(HEAP32[$this + 8 >> 2] | 0, $S); STACKTOP = sp; - return $3 | 0; -} - -function __ZNSt3__214__split_bufferIN6vision5ImageERNS_9allocatorIS2_EEEC2EmmS5_($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $11 = 0, $12 = 0, $4 = 0, $8 = 0; - $4 = $0 + 12 | 0; - HEAP32[$4 >> 2] = 0; - HEAP32[$0 + 16 >> 2] = $3; - do if ($1) if ($1 >>> 0 > 134217727) { - $8 = ___cxa_allocate_exception(8) | 0; - __ZNSt11logic_errorC2EPKc($8, 41481); - HEAP32[$8 >> 2] = 17472; - ___cxa_throw($8 | 0, 13960, 22); - } else { - $11 = __Znwm($1 << 5) | 0; - break; - } else $11 = 0; while (0); - HEAP32[$0 >> 2] = $11; - $12 = $11 + ($2 << 5) | 0; - HEAP32[$0 + 8 >> 2] = $12; - HEAP32[$0 + 4 >> 2] = $12; - HEAP32[$4 >> 2] = $11 + ($1 << 5); - return; -} - -function __ZN6vision8KeyframeILi96EE10buildIndexEv($0) { - $0 = $0 | 0; - var $1 = 0, $2 = 0, $3 = 0, $4 = 0; - $1 = $0 + 36 | 0; - __ZN6vision28BinaryHierarchicalClusteringILi96EE16setNumHypothesesEi($1, 128); - __ZN6vision28BinaryHierarchicalClusteringILi96EE13setNumCentersEi($1, 8); - __ZN6vision28BinaryHierarchicalClusteringILi96EE16setMaxNodesToPopEi($1, 8); - __ZN6vision28BinaryHierarchicalClusteringILi96EE21setMinFeaturesPerNodeEi($1, 16); - $2 = $0 + 8 | 0; - $3 = __ZN6vision18BinaryFeatureStore8featuresEv($2) | 0; - $4 = HEAP32[$3 >> 2] | 0; - __ZN6vision28BinaryHierarchicalClusteringILi96EE5buildEPKhi($1, $4, __ZNK6vision18BinaryFeatureStore4sizeEv($2) | 0); return; } -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8NameTypeEJRA9_KcEEEPT_DpOT0_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$byval_copy = 0, $2 = 0, $3 = 0, sp = 0; +function __ZNK12_GLOBAL__N_116itanium_demangle15LiteralOperator9printLeftERNS_12OutputStreamE($this, $S) { + $this = $this | 0; + $S = $S | 0; + var $agg$tmp = 0, $agg$tmp$byval_copy = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy = sp + 8 | 0; - $2 = sp; - $3 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 16) | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($2, $1); - HEAP32[$$byval_copy >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - __ZN12_GLOBAL__N_116itanium_demangle8NameTypeC2ENS_10StringViewE($3, $$byval_copy); + $agg$tmp$byval_copy = sp + 8 | 0; + $agg$tmp = sp; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, 55080); + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp$byval_copy); + __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(HEAP32[$this + 8 >> 2] | 0, $S); STACKTOP = sp; - return $3 | 0; + return; } -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8NameTypeEJRA8_KcEEEPT_DpOT0_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$byval_copy = 0, $2 = 0, $3 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy = sp + 8 | 0; - $2 = sp; - $3 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 16) | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($2, $1); - HEAP32[$$byval_copy >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - __ZN12_GLOBAL__N_116itanium_demangle8NameTypeC2ENS_10StringViewE($3, $$byval_copy); - STACKTOP = sp; - return $3 | 0; +function __ZN6vision9MaxIndex8IfEEiPKT_($x) { + $x = $x | 0; + var $index$0 = 0, $index$1 = 0, $index$2 = 0, $index$3 = 0, $index$4 = 0, $index$5 = 0; + $index$0 = +HEAPF32[$x + 4 >> 2] > +HEAPF32[$x >> 2] & 1; + $index$1 = +HEAPF32[$x + 8 >> 2] > +HEAPF32[$x + ($index$0 << 2) >> 2] ? 2 : $index$0; + $index$2 = +HEAPF32[$x + 12 >> 2] > +HEAPF32[$x + ($index$1 << 2) >> 2] ? 3 : $index$1; + $index$3 = +HEAPF32[$x + 16 >> 2] > +HEAPF32[$x + ($index$2 << 2) >> 2] ? 4 : $index$2; + $index$4 = +HEAPF32[$x + 20 >> 2] > +HEAPF32[$x + ($index$3 << 2) >> 2] ? 5 : $index$3; + $index$5 = +HEAPF32[$x + 24 >> 2] > +HEAPF32[$x + ($index$4 << 2) >> 2] ? 6 : $index$4; + return (+HEAPF32[$x + 28 >> 2] > +HEAPF32[$x + ($index$5 << 2) >> 2] ? 7 : $index$5) | 0; } -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8NameTypeEJRA7_KcEEEPT_DpOT0_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$byval_copy = 0, $2 = 0, $3 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy = sp + 8 | 0; - $2 = sp; - $3 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 16) | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($2, $1); - HEAP32[$$byval_copy >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - __ZN12_GLOBAL__N_116itanium_demangle8NameTypeC2ENS_10StringViewE($3, $$byval_copy); - STACKTOP = sp; - return $3 | 0; +function __ZNSt3__26vectorIiNS_9allocatorIiEEE11__vallocateEm($this, $__n) { + $this = $this | 0; + $__n = $__n | 0; + var $call$i$i$i = 0, $exception$i$i$i = 0; + if ((__ZNKSt3__26vectorIiNS_9allocatorIiEEE8max_sizeEv($this) | 0) >>> 0 < $__n >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv($this); + if ($__n >>> 0 > 1073741823) { + $exception$i$i$i = ___cxa_allocate_exception(8) | 0; + __ZNSt11logic_errorC2EPKc($exception$i$i$i, 42283); + HEAP32[$exception$i$i$i >> 2] = 17472; + ___cxa_throw($exception$i$i$i | 0, 13960, 22); + } else { + $call$i$i$i = __Znwm($__n << 2) | 0; + HEAP32[$this + 4 >> 2] = $call$i$i$i; + HEAP32[$this >> 2] = $call$i$i$i; + HEAP32[$this + 8 >> 2] = $call$i$i$i + ($__n << 2); + return; + } } -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8NameTypeEJRA6_KcEEEPT_DpOT0_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$byval_copy = 0, $2 = 0, $3 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy = sp + 8 | 0; - $2 = sp; - $3 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 16) | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($2, $1); - HEAP32[$$byval_copy >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - __ZN12_GLOBAL__N_116itanium_demangle8NameTypeC2ENS_10StringViewE($3, $$byval_copy); - STACKTOP = sp; - return $3 | 0; +function __ZNSt3__26vectorIfNS_9allocatorIfEEE11__vallocateEm($this, $__n) { + $this = $this | 0; + $__n = $__n | 0; + var $call$i$i$i = 0, $exception$i$i$i = 0; + if ((__ZNKSt3__26vectorIfNS_9allocatorIfEEE8max_sizeEv($this) | 0) >>> 0 < $__n >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv($this); + if ($__n >>> 0 > 1073741823) { + $exception$i$i$i = ___cxa_allocate_exception(8) | 0; + __ZNSt11logic_errorC2EPKc($exception$i$i$i, 42283); + HEAP32[$exception$i$i$i >> 2] = 17472; + ___cxa_throw($exception$i$i$i | 0, 13960, 22); + } else { + $call$i$i$i = __Znwm($__n << 2) | 0; + HEAP32[$this + 4 >> 2] = $call$i$i$i; + HEAP32[$this >> 2] = $call$i$i$i; + HEAP32[$this + 8 >> 2] = $call$i$i$i + ($__n << 2); + return; + } } -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8NameTypeEJRA5_KcEEEPT_DpOT0_($0, $1) { +function __ZNSt3__210shared_ptrIhEC2IhEEPT_NS_9enable_ifIXsr14is_convertibleIS4_PhEE5valueENS1_5__natEE4typeE($this, $__p, $0) { + $this = $this | 0; + $__p = $__p | 0; $0 = $0 | 0; - $1 = $1 | 0; - var $$byval_copy = 0, $2 = 0, $3 = 0, sp = 0; + var $call = 0, $vararg_buffer = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy = sp + 8 | 0; - $2 = sp; - $3 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 16) | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($2, $1); - HEAP32[$$byval_copy >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - __ZN12_GLOBAL__N_116itanium_demangle8NameTypeC2ENS_10StringViewE($3, $$byval_copy); + $vararg_buffer = sp; + HEAP32[$this >> 2] = $__p; + $call = __Znwm(16) | 0; + HEAP32[$call + 4 >> 2] = 0; + HEAP32[$call + 8 >> 2] = 0; + HEAP32[$call >> 2] = 16848; + HEAP32[$call + 12 >> 2] = $__p; + HEAP32[$this + 4 >> 2] = $call; + HEAP32[$vararg_buffer >> 2] = $__p; + HEAP32[$vararg_buffer + 4 >> 2] = $__p; + __ZNSt3__210shared_ptrIhE18__enable_weak_thisEz($this, $vararg_buffer); STACKTOP = sp; - return $3 | 0; + return; } -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8NameTypeEJRA4_KcEEEPT_DpOT0_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$byval_copy = 0, $2 = 0, $3 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy = sp + 8 | 0; - $2 = sp; - $3 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 16) | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKc($2, $1); - HEAP32[$$byval_copy >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - __ZN12_GLOBAL__N_116itanium_demangle8NameTypeC2ENS_10StringViewE($3, $$byval_copy); - STACKTOP = sp; - return $3 | 0; +function _arFilterTransMatInit($sampleRate, $cutoffFreq) { + $sampleRate = +$sampleRate; + $cutoffFreq = +$cutoffFreq; + var $call = 0, $ftmi$0 = 0, $p = 0, $q = 0; + $call = _malloc(64) | 0; + if (($call | 0) != 0 ? ($q = $call + 8 | 0, HEAP32[$q >> 2] = 0, HEAP32[$q + 4 >> 2] = 0, HEAP32[$q + 8 >> 2] = 0, HEAP32[$q + 12 >> 2] = 0, HEAP32[$q + 16 >> 2] = 0, HEAP32[$q + 20 >> 2] = 0, HEAPF64[$call + 32 >> 3] = 1.0, $p = $call + 40 | 0, HEAP32[$p >> 2] = 0, HEAP32[$p + 4 >> 2] = 0, HEAP32[$p + 8 >> 2] = 0, HEAP32[$p + 12 >> 2] = 0, HEAP32[$p + 16 >> 2] = 0, HEAP32[$p + 20 >> 2] = 0, (_arFilterTransMatSetParams($call, $sampleRate, $cutoffFreq) | 0) < 0) : 0) { + _free($call); + $ftmi$0 = 0; + } else $ftmi$0 = $call; + return $ftmi$0 | 0; } -function __ZNK12_GLOBAL__N_116itanium_demangle8DtorName9printLeftERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$byval_copy = 0, $2 = 0, $4 = 0, sp = 0; +function __ZNK12_GLOBAL__N_116itanium_demangle9ThrowExpr9printLeftERNS_12OutputStreamE($this, $S) { + $this = $this | 0; + $S = $S | 0; + var $agg$tmp = 0, $agg$tmp$byval_copy = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy = sp + 8 | 0; - $2 = sp; - __ZN12_GLOBAL__N_110StringViewC2EPKc($2, 52685); - HEAP32[$$byval_copy >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy); - $4 = HEAP32[$0 + 8 >> 2] | 0; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$4 >> 2] | 0) + 16 >> 2] & 255]($4, $1); + $agg$tmp$byval_copy = sp + 8 | 0; + $agg$tmp = sp; + __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, 53631); + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp$byval_copy); + __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(HEAP32[$this + 8 >> 2] | 0, $S); STACKTOP = sp; return; } -function __ZNK12_GLOBAL__N_116itanium_demangle22ConversionOperatorType9printLeftERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$byval_copy = 0, $2 = 0, sp = 0; +function __ZNSt3__26vectorIN6vision25DoGScaleInvariantDetector12FeaturePointENS_9allocatorIS3_EEE4swapERS6_($this, $__x) { + $this = $this | 0; + $__x = $__x | 0; + var $0 = 0, $2 = 0, $4 = 0, $__end_ = 0, $__end_3 = 0, $__value_$i$i$i = 0, $__value_$i$i$i6 = 0; + $0 = HEAP32[$this >> 2] | 0; + HEAP32[$this >> 2] = HEAP32[$__x >> 2]; + HEAP32[$__x >> 2] = $0; + $__end_ = $this + 4 | 0; + $__end_3 = $__x + 4 | 0; + $2 = HEAP32[$__end_ >> 2] | 0; + HEAP32[$__end_ >> 2] = HEAP32[$__end_3 >> 2]; + HEAP32[$__end_3 >> 2] = $2; + $__value_$i$i$i6 = $this + 8 | 0; + $__value_$i$i$i = $__x + 8 | 0; + $4 = HEAP32[$__value_$i$i$i6 >> 2] | 0; + HEAP32[$__value_$i$i$i6 >> 2] = HEAP32[$__value_$i$i$i >> 2]; + HEAP32[$__value_$i$i$i >> 2] = $4; + return; +} + +function __ZNK12_GLOBAL__N_116itanium_demangle8NameType9printLeftERNS_12OutputStreamE($this, $s) { + $this = $this | 0; + $s = $s | 0; + var $0 = 0, $5 = 0, $6 = 0, $agg$tmp = 0, $tmpcast$byval_copy = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy = sp + 8 | 0; - $2 = sp; - __ZN12_GLOBAL__N_110StringViewC2EPKc($2, 54318); - HEAP32[$$byval_copy >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy); - __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(HEAP32[$0 + 8 >> 2] | 0, $1); + $tmpcast$byval_copy = sp + 8 | 0; + $agg$tmp = sp; + $0 = $this + 8 | 0; + $5 = HEAP32[$0 + 4 >> 2] | 0; + $6 = $agg$tmp; + HEAP32[$6 >> 2] = HEAP32[$0 >> 2]; + HEAP32[$6 + 4 >> 2] = $5; + HEAP32[$tmpcast$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$tmpcast$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($s, $tmpcast$byval_copy); STACKTOP = sp; return; } -function __ZNSt3__214__split_bufferINS_4pairIfmEERNS_9allocatorIS2_EEEC2EmmS5_($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $11 = 0, $12 = 0, $4 = 0, $8 = 0; - $4 = $0 + 12 | 0; - HEAP32[$4 >> 2] = 0; - HEAP32[$0 + 16 >> 2] = $3; - do if ($1) if ($1 >>> 0 > 536870911) { - $8 = ___cxa_allocate_exception(8) | 0; - __ZNSt11logic_errorC2EPKc($8, 41481); - HEAP32[$8 >> 2] = 17472; - ___cxa_throw($8 | 0, 13960, 22); - } else { - $11 = __Znwm($1 << 3) | 0; - break; - } else $11 = 0; while (0); - HEAP32[$0 >> 2] = $11; - $12 = $11 + ($2 << 3) | 0; - HEAP32[$0 + 8 >> 2] = $12; - HEAP32[$0 + 4 >> 2] = $12; - HEAP32[$4 >> 2] = $11 + ($1 << 3); - return; -} - -function __ZNSt3__214__split_bufferINS_4pairIfiEERNS_9allocatorIS2_EEEC2EmmS5_($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $11 = 0, $12 = 0, $4 = 0, $8 = 0; - $4 = $0 + 12 | 0; - HEAP32[$4 >> 2] = 0; - HEAP32[$0 + 16 >> 2] = $3; - do if ($1) if ($1 >>> 0 > 536870911) { - $8 = ___cxa_allocate_exception(8) | 0; - __ZNSt11logic_errorC2EPKc($8, 41481); - HEAP32[$8 >> 2] = 17472; - ___cxa_throw($8 | 0, 13960, 22); - } else { - $11 = __Znwm($1 << 3) | 0; - break; - } else $11 = 0; while (0); - HEAP32[$0 >> 2] = $11; - $12 = $11 + ($2 << 3) | 0; - HEAP32[$0 + 8 >> 2] = $12; - HEAP32[$0 + 4 >> 2] = $12; - HEAP32[$4 >> 2] = $11 + ($1 << 3); +function __ZNK10__cxxabiv122__base_class_type_info16search_below_dstEPNS_19__dynamic_cast_infoEPKvib($this, $info, $current_ptr, $path_below, $use_strcmp) { + $this = $this | 0; + $info = $info | 0; + $current_ptr = $current_ptr | 0; + $path_below = $path_below | 0; + $use_strcmp = $use_strcmp | 0; + var $0 = 0, $3 = 0, $offset_to_base$0 = 0, $shr = 0; + $0 = HEAP32[$this + 4 >> 2] | 0; + $shr = $0 >> 8; + if (!($0 & 1)) $offset_to_base$0 = $shr; else $offset_to_base$0 = HEAP32[(HEAP32[$current_ptr >> 2] | 0) + $shr >> 2] | 0; + $3 = HEAP32[$this >> 2] | 0; + FUNCTION_TABLE_viiiii[HEAP32[(HEAP32[$3 >> 2] | 0) + 24 >> 2] & 63]($3, $info, $current_ptr + $offset_to_base$0 | 0, ($0 & 2 | 0) == 0 ? 2 : $path_below, $use_strcmp); return; } -function __ZNKSt3__27collateIwE10do_compareEPKwS3_S3_S3_($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $$0 = 0, $$011 = 0, $$012 = 0, $7 = 0, $8 = 0, label = 0; - $$011 = $3; - $$012 = $1; - while (1) { - if (($$011 | 0) == ($4 | 0)) { - label = 7; - break; - } - if (($$012 | 0) == ($2 | 0)) { - $$0 = -1; - break; - } - $7 = HEAP32[$$012 >> 2] | 0; - $8 = HEAP32[$$011 >> 2] | 0; - if (($7 | 0) < ($8 | 0)) { - $$0 = -1; - break; - } - if (($8 | 0) < ($7 | 0)) { - $$0 = 1; - break; - } - $$011 = $$011 + 4 | 0; - $$012 = $$012 + 4 | 0; - } - if ((label | 0) == 7) $$0 = ($$012 | 0) != ($2 | 0) & 1; - return $$0 | 0; -} - -function _arVecHousehold($0) { - $0 = $0 | 0; - var $$0 = 0, $$020 = 0.0, $$1 = 0.0, $11 = 0.0, $13 = 0, $15 = 0, $2 = 0.0, $4 = 0, $5 = 0.0, $8 = 0.0; - $2 = +Math_sqrt(+(+_arVecInnerproduct($0, $0))); - L1 : do if ($2 != 0.0) { - $4 = HEAP32[$0 >> 2] | 0; - $5 = +HEAPF64[$4 >> 3]; - $$020 = $5 < 0.0 ? -$2 : $2; - $8 = $5 + $$020; - HEAPF64[$4 >> 3] = $8; - $11 = 1.0 / +Math_sqrt(+($$020 * $8)); - $13 = HEAP32[$0 + 4 >> 2] | 0; - $$0 = 0; +function __ZNSt3__213__vector_baseIN6vision5ImageENS_9allocatorIS2_EEED2Ev($this) { + $this = $this | 0; + var $0 = 0, $2 = 0, $__end_$i$i = 0, $__soon_to_be_end$0$i$i = 0, $incdec$ptr$i$i = 0; + $0 = HEAP32[$this >> 2] | 0; + if ($0 | 0) { + $__end_$i$i = $this + 4 | 0; + $__soon_to_be_end$0$i$i = HEAP32[$__end_$i$i >> 2] | 0; while (1) { - if (($$0 | 0) >= ($13 | 0)) { - $$1 = $$020; - break L1; - } - $15 = $4 + ($$0 << 3) | 0; - HEAPF64[$15 >> 3] = $11 * +HEAPF64[$15 >> 3]; - $$0 = $$0 + 1 | 0; + if (($__soon_to_be_end$0$i$i | 0) == ($0 | 0)) break; + $incdec$ptr$i$i = $__soon_to_be_end$0$i$i + -32 | 0; + __ZN6vision5ImageD2Ev($incdec$ptr$i$i); + $__soon_to_be_end$0$i$i = $incdec$ptr$i$i; } - } else $$1 = $2; while (0); - return +-$$1; + HEAP32[$__end_$i$i >> 2] = $0; + $2 = HEAP32[$this >> 2] | 0; + __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($2, (HEAP32[$this + 8 >> 2] | 0) - $2 | 0); + } + return; } -function __ZNSt3__214__split_bufferIPNS_6locale5facetERNS_15__sso_allocatorIS3_Lm28EEEED2Ev($0) { - $0 = $0 | 0; - var $11 = 0, $2 = 0, $3 = 0, $5 = 0, $6 = 0, $7 = 0, $9 = 0; - $2 = HEAP32[$0 + 4 >> 2] | 0; - $3 = $0 + 8 | 0; - $5 = HEAP32[$3 >> 2] | 0; - while (1) { - if (($5 | 0) == ($2 | 0)) break; - $6 = $5 + -4 | 0; - HEAP32[$3 >> 2] = $6; - $5 = $6; - } - $7 = HEAP32[$0 >> 2] | 0; - $9 = $7; - do if ($7 | 0) { - $11 = HEAP32[$0 + 16 >> 2] | 0; - if (($7 | 0) == ($11 | 0)) { - HEAP8[$11 + 112 >> 0] = 0; - break; - } else { - __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($7, (HEAP32[$0 + 12 >> 2] | 0) - $9 | 0); - break; - } - } while (0); +function __ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_6vectorIiNS_9allocatorIiEEEEEENS_22__unordered_map_hasherIiS6_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS6_NS_8equal_toIiEELb1EEENS3_IS6_EEED2Ev($this) { + $this = $this | 0; + var $1 = 0; + __ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_6vectorIiNS_9allocatorIiEEEEEENS_22__unordered_map_hasherIiS6_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS6_NS_8equal_toIiEELb1EEENS3_IS6_EEE17__deallocate_nodeEPNS_16__hash_node_baseIPNS_11__hash_nodeIS6_PvEEEE($this, HEAP32[$this + 8 >> 2] | 0); + $1 = HEAP32[$this >> 2] | 0; + HEAP32[$this >> 2] = 0; + if ($1 | 0) __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($1, HEAP32[$this + 4 >> 2] << 2); return; } -function __ZNK12_GLOBAL__N_116itanium_demangle19GlobalQualifiedName9printLeftERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$byval_copy = 0, $2 = 0, sp = 0; +function __ZNK12_GLOBAL__N_116itanium_demangle8BoolExpr9printLeftERNS_12OutputStreamE($this, $S) { + $this = $this | 0; + $S = $S | 0; + var $agg$tmp = 0, $agg$tmp$byval_copy = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy = sp + 8 | 0; - $2 = sp; - __ZN12_GLOBAL__N_110StringViewC2EPKc($2, 53698); - HEAP32[$$byval_copy >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy); - __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(HEAP32[$0 + 8 >> 2] | 0, $1); + $agg$tmp$byval_copy = sp + 8 | 0; + $agg$tmp = sp; + if (!(HEAP8[$this + 8 >> 0] | 0)) __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, 61868); else __ZN12_GLOBAL__N_110StringViewC2EPKc($agg$tmp, 61874); + HEAP32[$agg$tmp$byval_copy >> 2] = HEAP32[$agg$tmp >> 2]; + HEAP32[$agg$tmp$byval_copy + 4 >> 2] = HEAP32[$agg$tmp + 4 >> 2]; + __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($S, $agg$tmp$byval_copy); STACKTOP = sp; return; } -function _saveSetjmp(env, label, table, size) { - env = env | 0; - label = label | 0; - table = table | 0; - size = size | 0; - var i = 0; - setjmpId = setjmpId + 1 | 0; - HEAP32[env >> 2] = setjmpId; - while ((i | 0) < (size | 0)) { - if (!(HEAP32[table + (i << 3) >> 2] | 0)) { - HEAP32[table + (i << 3) >> 2] = setjmpId; - HEAP32[table + ((i << 3) + 4) >> 2] = label; - HEAP32[table + ((i << 3) + 8) >> 2] = 0; - setTempRet0(size | 0); - return table | 0; - } - i = i + 1 | 0; - } - size = size * 2 | 0; - table = _realloc(table | 0, 8 * (size + 1 | 0) | 0) | 0; - table = _saveSetjmp(env | 0, label | 0, table | 0, size | 0) | 0; - setTempRet0(size | 0); - return table | 0; +function __ZN12_GLOBAL__N_116itanium_demangle13EnclosingExprC2ENS_10StringViewEPNS0_4NodeES2_($this, $Prefix_, $Infix_, $Postfix_) { + $this = $this | 0; + $Prefix_ = $Prefix_ | 0; + $Infix_ = $Infix_ | 0; + $Postfix_ = $Postfix_ | 0; + var $0 = 0, $10 = 0, $15 = 0, $16 = 0, $5 = 0, $6 = 0; + __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($this, 47, 1, 1, 1); + HEAP32[$this >> 2] = 18396; + $0 = $Prefix_; + $5 = HEAP32[$0 + 4 >> 2] | 0; + $6 = $this + 8 | 0; + HEAP32[$6 >> 2] = HEAP32[$0 >> 2]; + HEAP32[$6 + 4 >> 2] = $5; + HEAP32[$this + 16 >> 2] = $Infix_; + $10 = $Postfix_; + $15 = HEAP32[$10 + 4 >> 2] | 0; + $16 = $this + 20 | 0; + HEAP32[$16 >> 2] = HEAP32[$10 >> 2]; + HEAP32[$16 + 4 >> 2] = $15; + return; } -function _detectNFTMarker($id) { - $id = $id | 0; - var $id$addr = 0, sp = 0; +function __ZL10loadMarkerPKcPiP8ARHandlePP12ARPattHandle($patt_name, $patt_id, $pattHandle_p) { + $patt_name = $patt_name | 0; + $patt_id = $patt_id | 0; + $pattHandle_p = $pattHandle_p | 0; + var $call = 0, $retval$0 = 0, $vararg_buffer = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $id$addr = sp; - HEAP32[$id$addr >> 2] = $id; - if (__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(65260, $id$addr) | 0) __ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(65260, $id$addr) | 0; + $vararg_buffer = sp; + $call = _arPattLoad(HEAP32[$pattHandle_p >> 2] | 0, $patt_name) | 0; + HEAP32[$patt_id >> 2] = $call; + if (($call | 0) < 0) { + HEAP32[$vararg_buffer >> 2] = $patt_name; + _arLog(0, 3, 46191, $vararg_buffer); + _arPattDeleteHandle(HEAP32[$pattHandle_p >> 2] | 0) | 0; + $retval$0 = 0; + } else $retval$0 = 1; STACKTOP = sp; - return -1; + return $retval$0 | 0; } -function _strtok($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $$010 = 0, $10 = 0, $3 = 0, $6 = 0, label = 0; - if (!$0) { - $3 = HEAP32[16358] | 0; - if (!$3) $$0 = 0; else { - $$010 = $3; - label = 3; - } - } else { - $$010 = $0; - label = 3; +function _merged_1v_upsample($cinfo, $input_buf, $in_row_group_ctr, $in_row_groups_avail, $output_buf, $out_row_ctr, $out_rows_avail) { + $cinfo = $cinfo | 0; + $input_buf = $input_buf | 0; + $in_row_group_ctr = $in_row_group_ctr | 0; + $in_row_groups_avail = $in_row_groups_avail | 0; + $output_buf = $output_buf | 0; + $out_row_ctr = $out_row_ctr | 0; + $out_rows_avail = $out_rows_avail | 0; + FUNCTION_TABLE_viiii[HEAP32[(HEAP32[$cinfo + 476 >> 2] | 0) + 12 >> 2] & 31]($cinfo, $input_buf, HEAP32[$in_row_group_ctr >> 2] | 0, $output_buf + (HEAP32[$out_row_ctr >> 2] << 2) | 0); + HEAP32[$out_row_ctr >> 2] = (HEAP32[$out_row_ctr >> 2] | 0) + 1; + HEAP32[$in_row_group_ctr >> 2] = (HEAP32[$in_row_group_ctr >> 2] | 0) + 1; + return; +} + +function __ZNSt3__214__split_bufferINS_6vectorINS1_INS_4pairIfmEENS_9allocatorIS3_EEEENS4_IS6_EEEERNS4_IS8_EEED2Ev($this) { + $this = $this | 0; + var $0 = 0, $1 = 0, $2 = 0, $__end_$i$i$i = 0, $incdec$ptr$i$i$i = 0; + $0 = HEAP32[$this + 4 >> 2] | 0; + $__end_$i$i$i = $this + 8 | 0; + while (1) { + $1 = HEAP32[$__end_$i$i$i >> 2] | 0; + if (($1 | 0) == ($0 | 0)) break; + $incdec$ptr$i$i$i = $1 + -12 | 0; + HEAP32[$__end_$i$i$i >> 2] = $incdec$ptr$i$i$i; + __ZNSt3__213__vector_baseINS_6vectorINS_4pairIfmEENS_9allocatorIS3_EEEENS4_IS6_EEED2Ev($incdec$ptr$i$i$i); } - do if ((label | 0) == 3) { - $6 = $$010 + (_strspn($$010, $1) | 0) | 0; - if (!(HEAP8[$6 >> 0] | 0)) { - HEAP32[16358] = 0; - $$0 = 0; - break; - } - $10 = $6 + (_strcspn($6, $1) | 0) | 0; - HEAP32[16358] = $10; - if (!(HEAP8[$10 >> 0] | 0)) { - HEAP32[16358] = 0; - $$0 = $6; - break; - } else { - HEAP32[16358] = $10 + 1; - HEAP8[$10 >> 0] = 0; - $$0 = $6; - break; - } - } while (0); - return $$0 | 0; + $2 = HEAP32[$this >> 2] | 0; + if ($2 | 0) __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($2, (HEAP32[$this + 12 >> 2] | 0) - $2 | 0); + return; } -function _ar2GenTemplate($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $13 = 0, $2 = 0, $9 = 0, sp = 0; +function ___fmodeflags($mode) { + $mode = $mode | 0; + var $0 = 0, $flags$0 = 0, $flags$2 = 0, $flags$4 = 0, $spec$select = 0, $spec$select13 = 0, $tobool = 0, $tobool10 = 0, $tobool6 = 0; + $tobool = (_strchr($mode, 43) | 0) == 0; + $0 = HEAP8[$mode >> 0] | 0; + $flags$0 = $tobool ? $0 << 24 >> 24 != 114 & 1 : 2; + $tobool6 = (_strchr($mode, 120) | 0) == 0; + $spec$select = $tobool6 ? $flags$0 : $flags$0 | 128; + $tobool10 = (_strchr($mode, 101) | 0) == 0; + $flags$2 = $tobool10 ? $spec$select : $spec$select | 524288; + $spec$select13 = $0 << 24 >> 24 == 114 ? $flags$2 : $flags$2 | 64; + $flags$4 = $0 << 24 >> 24 == 119 ? $spec$select13 | 512 : $spec$select13; + return ($0 << 24 >> 24 == 97 ? $flags$4 | 1024 : $flags$4) | 0; +} + +function __ZN10emscripten8internal7InvokerIiJiiEE6invokeEPFiiiEii($fn, $args, $args1) { + $fn = $fn | 0; + $args = $args | 0; + $args1 = $args1 | 0; + var $call = 0, $call3 = 0, $call4 = 0, $call5 = 0, $ref$tmp = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $2 = _malloc(40) | 0; - if (!$2) { - _arLog(0, 3, 45930, sp); - _exit(1); - } - HEAP32[$2 + 16 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 12 >> 2] = $1; - $9 = $0 + 1 + $1 | 0; - HEAP32[$2 >> 2] = $9; - HEAP32[$2 + 4 >> 2] = $9; - $13 = _malloc(Math_imul($9 << 1, $9) | 0) | 0; - HEAP32[$2 + 24 >> 2] = $13; - if (!$13) { - _arLog(0, 3, 45930, sp + 8 | 0); - _exit(1); - } else { - STACKTOP = sp; - return $2 | 0; - } - return 0; + $ref$tmp = sp; + $call = __ZN10emscripten8internal11BindingTypeIivE12fromWireTypeEi($args) | 0; + $call3 = __ZN10emscripten8internal11BindingTypeIivE12fromWireTypeEi($args1) | 0; + $call4 = FUNCTION_TABLE_iii[$fn & 127]($call, $call3) | 0; + HEAP32[$ref$tmp >> 2] = $call4; + $call5 = __ZN10emscripten8internal11BindingTypeIivE10toWireTypeERKi($ref$tmp) | 0; + STACKTOP = sp; + return $call5 | 0; } -function __ZNSt3__2L11init_wam_pmEv() { - var $$0$i$i = 0, $4 = 0; - if ((HEAP8[64704] | 0) == 0 ? ___cxa_guard_acquire(64704) | 0 : 0) { - $4 = 63808; - do { - HEAP32[$4 >> 2] = 0; - HEAP32[$4 + 4 >> 2] = 0; - HEAP32[$4 + 8 >> 2] = 0; - $$0$i$i = 0; - while (1) { - if (($$0$i$i | 0) == 3) break; - HEAP32[$4 + ($$0$i$i << 2) >> 2] = 0; - $$0$i$i = $$0$i$i + 1 | 0; +function __ZNSt3__212__hash_tableINS_17__hash_value_typeIiP14AR2SurfaceSetTEENS_22__unordered_map_hasherIiS4_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS4_NS_8equal_toIiEELb1EEENS_9allocatorIS4_EEED2Ev($this) { + $this = $this | 0; + var $1 = 0; + __ZNSt3__212__hash_tableINS_17__hash_value_typeIiP14AR2SurfaceSetTEENS_22__unordered_map_hasherIiS4_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS4_NS_8equal_toIiEELb1EEENS_9allocatorIS4_EEE17__deallocate_nodeEPNS_16__hash_node_baseIPNS_11__hash_nodeIS4_PvEEEE($this, HEAP32[$this + 8 >> 2] | 0); + $1 = HEAP32[$this >> 2] | 0; + HEAP32[$this >> 2] = 0; + if ($1 | 0) __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($1, HEAP32[$this + 4 >> 2] << 2); + return; +} + +function __ZN6vision16Multiply_3x3_3x1IfEEvPT_PKS1_S4_($y, $A, $x) { + $y = $y | 0; + $A = $A | 0; + $x = $x | 0; + var $arrayidx3 = 0, $arrayidx6 = 0; + $arrayidx3 = $x + 4 | 0; + $arrayidx6 = $x + 8 | 0; + HEAPF32[$y >> 2] = +HEAPF32[$A >> 2] * +HEAPF32[$x >> 2] + +HEAPF32[$A + 4 >> 2] * +HEAPF32[$arrayidx3 >> 2] + +HEAPF32[$A + 8 >> 2] * +HEAPF32[$arrayidx6 >> 2]; + HEAPF32[$y + 4 >> 2] = +HEAPF32[$A + 12 >> 2] * +HEAPF32[$x >> 2] + +HEAPF32[$A + 16 >> 2] * +HEAPF32[$arrayidx3 >> 2] + +HEAPF32[$A + 20 >> 2] * +HEAPF32[$arrayidx6 >> 2]; + HEAPF32[$y + 8 >> 2] = +HEAPF32[$A + 24 >> 2] * +HEAPF32[$x >> 2] + +HEAPF32[$A + 28 >> 2] * +HEAPF32[$arrayidx3 >> 2] + +HEAPF32[$A + 32 >> 2] * +HEAPF32[$arrayidx6 >> 2]; + return; +} + +function _arVecHousehold($x) { + $x = $x | 0; + var $0 = 0.0, $1 = 0, $2 = 0.0, $4 = 0, $add = 0.0, $arrayidx9 = 0, $div = 0.0, $i$0 = 0, $s$0 = 0.0, $s$1 = 0.0; + $0 = +Math_sqrt(+(+_arVecInnerproduct($x, $x))); + L1 : do if ($0 != 0.0) { + $1 = HEAP32[$x >> 2] | 0; + $2 = +HEAPF64[$1 >> 3]; + $s$0 = $2 < 0.0 ? -$0 : $0; + $add = $2 + $s$0; + HEAPF64[$1 >> 3] = $add; + $div = 1.0 / +Math_sqrt(+($s$0 * $add)); + $4 = HEAP32[$x + 4 >> 2] | 0; + $i$0 = 0; + while (1) { + if (($i$0 | 0) >= ($4 | 0)) { + $s$1 = $s$0; + break L1; } - $4 = $4 + 12 | 0; - } while (($4 | 0) != 63832); - ___cxa_guard_release(64704); + $arrayidx9 = $1 + ($i$0 << 3) | 0; + HEAPF64[$arrayidx9 >> 3] = $div * +HEAPF64[$arrayidx9 >> 3]; + $i$0 = $i$0 + 1 | 0; + } + } else $s$1 = $0; while (0); + return +-$s$1; +} + +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E13makeNodeArrayIPPNS0_4NodeEEENS0_9NodeArrayET_SB_($agg$result, $this, $begin, $end) { + $agg$result = $agg$result | 0; + $this = $this | 0; + $begin = $begin | 0; + $end = $end | 0; + var $call = 0, $sub$ptr$div = 0, $sub$ptr$sub = 0; + $sub$ptr$sub = $end - $begin | 0; + $sub$ptr$div = $sub$ptr$sub >> 2; + $call = __ZN12_GLOBAL__N_116DefaultAllocator17allocateNodeArrayEm($this + 368 | 0, $sub$ptr$div) | 0; + if ($sub$ptr$sub | 0) _memmove($call | 0, $begin | 0, $sub$ptr$sub | 0) | 0; + __ZN12_GLOBAL__N_116itanium_demangle9NodeArrayC2EPPNS0_4NodeEm($agg$result, $call, $sub$ptr$div); + return; +} + +function _deleteHandle($arc) { + $arc = $arc | 0; + var $0 = 0, $2 = 0, $ar3DHandle = 0, $arhandle = 0, $ftmi = 0, $paramLT = 0; + $arhandle = $arc + 216 | 0; + $0 = HEAP32[$arhandle >> 2] | 0; + if ($0 | 0 ? (_arPattDetach($0) | 0, _arDeleteHandle(HEAP32[$arhandle >> 2] | 0) | 0, HEAP32[$arhandle >> 2] = 0, $ftmi = $arc + 240 | 0, $2 = HEAP32[$ftmi >> 2] | 0, $2 | 0) : 0) { + _arFilterTransMatFinal($2); + HEAP32[$ftmi >> 2] = 0; + } + $ar3DHandle = $arc + 228 | 0; + if (HEAP32[$ar3DHandle >> 2] | 0) { + _ar3DDeleteHandle($ar3DHandle) | 0; + HEAP32[$ar3DHandle >> 2] = 0; + } + $paramLT = $arc + 192 | 0; + if (HEAP32[$paramLT >> 2] | 0) { + _arParamLTFree($paramLT) | 0; + HEAP32[$paramLT >> 2] = 0; } - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(63808, 21804) | 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(63820, 21816) | 0; return; } -function __ZNK12_GLOBAL__N_116itanium_demangle16StdQualifiedName9printLeftERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$byval_copy = 0, $2 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy = sp + 8 | 0; - $2 = sp; - __ZN12_GLOBAL__N_110StringViewC2EPKc($2, 55121); - HEAP32[$$byval_copy >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy); - __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(HEAP32[$0 + 8 >> 2] | 0, $1); - STACKTOP = sp; +function __ZNSt3__26vectorIPNS_6locale5facetENS_15__sso_allocatorIS3_Lm28EEEE11__vallocateEm($this, $__n) { + $this = $this | 0; + $__n = $__n | 0; + var $0 = 0, $retval$0$i$i$in = 0; + if ((__ZNKSt3__26vectorIPNS_6locale5facetENS_15__sso_allocatorIS3_Lm28EEEE8max_sizeEv($this) | 0) >>> 0 < $__n >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv($this); + $0 = $this + 128 | 0; + if ($__n >>> 0 < 29 & (HEAP8[$0 >> 0] | 0) == 0) { + HEAP8[$0 >> 0] = 1; + $retval$0$i$i$in = $this + 16 | 0; + } else $retval$0$i$i$in = __Znwm($__n << 2) | 0; + HEAP32[$this + 4 >> 2] = $retval$0$i$i$in; + HEAP32[$this >> 2] = $retval$0$i$i$in; + HEAP32[$this + 8 >> 2] = $retval$0$i$i$in + ($__n << 2); return; } -function __ZNSt3__2L10init_am_pmEv() { - var $$0$i$i = 0, $4 = 0; - if ((HEAP8[64624] | 0) == 0 ? ___cxa_guard_acquire(64624) | 0 : 0) { - $4 = 63312; +function _wmemmove($d, $s, $n) { + $d = $d | 0; + $s = $s | 0; + $n = $n | 0; + var $d$addr$018 = 0, $dec14$in = 0, $n$addr$117 = 0, $s$addr$016 = 0; + if ($d - $s >> 2 >>> 0 >= $n >>> 0) { + if ($n | 0) { + $d$addr$018 = $d; + $n$addr$117 = $n; + $s$addr$016 = $s; + while (1) { + $n$addr$117 = $n$addr$117 + -1 | 0; + HEAP32[$d$addr$018 >> 2] = HEAP32[$s$addr$016 >> 2]; + if (!$n$addr$117) break; else { + $d$addr$018 = $d$addr$018 + 4 | 0; + $s$addr$016 = $s$addr$016 + 4 | 0; + } + } + } + } else { + $dec14$in = $n; do { - HEAP32[$4 >> 2] = 0; - HEAP32[$4 + 4 >> 2] = 0; - HEAP32[$4 + 8 >> 2] = 0; - $$0$i$i = 0; + $dec14$in = $dec14$in + -1 | 0; + HEAP32[$d + ($dec14$in << 2) >> 2] = HEAP32[$s + ($dec14$in << 2) >> 2]; + } while (($dec14$in | 0) != 0); + } + return $d | 0; +} + +function _icpCreateHandle($matXc2U) { + $matXc2U = $matXc2U | 0; + var $call = 0, $i$0 = 0, $j$0 = 0, $retval$0 = 0; + $call = _malloc(136) | 0; + if (!$call) $retval$0 = 0; else { + $j$0 = 0; + while (1) { + if (($j$0 | 0) == 3) break; + $i$0 = 0; while (1) { - if (($$0$i$i | 0) == 3) break; - HEAP32[$4 + ($$0$i$i << 2) >> 2] = 0; - $$0$i$i = $$0$i$i + 1 | 0; + if (($i$0 | 0) == 4) break; + HEAPF64[$call + ($j$0 << 5) + ($i$0 << 3) >> 3] = +HEAPF64[$matXc2U + ($j$0 << 5) + ($i$0 << 3) >> 3]; + $i$0 = $i$0 + 1 | 0; } - $4 = $4 + 12 | 0; - } while (($4 | 0) != 63336); - ___cxa_guard_release(64624); + $j$0 = $j$0 + 1 | 0; + } + HEAP32[$call + 96 >> 2] = 10; + HEAPF64[$call + 104 >> 3] = .10000000149011612; + HEAPF64[$call + 112 >> 3] = .9900000095367432; + HEAPF64[$call + 120 >> 3] = 4.0; + HEAPF64[$call + 128 >> 3] = .5; + $retval$0 = $call; + } + return $retval$0 | 0; +} + +function __ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_6vectorIN6vision7Point3dIfEENS_9allocatorIS5_EEEEEENS_22__unordered_map_hasherIiS9_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS9_NS_8equal_toIiEELb1EEENS6_IS9_EEE17__deallocate_nodeEPNS_16__hash_node_baseIPNS_11__hash_nodeIS9_PvEEEE($this, $__np) { + $this = $this | 0; + $__np = $__np | 0; + var $0 = 0, $__np$addr$0 = 0; + $__np$addr$0 = $__np; + while (1) { + if (!$__np$addr$0) break; + $0 = HEAP32[$__np$addr$0 >> 2] | 0; + __ZNSt3__24pairIKiNS_6vectorIN6vision7Point3dIfEENS_9allocatorIS5_EEEEED2Ev($__np$addr$0 + 8 | 0); + __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($__np$addr$0, 24); + $__np$addr$0 = $0; } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(63312, 59453) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(63324, 59456) | 0; return; } -function __ZNKSt3__27codecvtIDsc11__mbstate_tE6do_outERS1_PKDsS5_RS5_PcS7_RS7_($0, $1, $2, $3, $4, $5, $6, $7) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - $6 = $6 | 0; - $7 = $7 | 0; - var $10 = 0, $8 = 0, $9 = 0, sp = 0; +function __ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii($pyramid, $x, $y, $octave, $scale) { + $pyramid = $pyramid | 0; + $x = +$x; + $y = +$y; + $octave = $octave | 0; + $scale = $scale | 0; + var $call = 0, $call1 = 0.0, $xp = 0, $yp = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $8 = sp + 4 | 0; - $9 = sp; - HEAP32[$8 >> 2] = $2; - HEAP32[$9 >> 2] = $5; - $10 = __ZNSt3__2L13utf16_to_utf8EPKtS1_RS1_PhS3_RS3_mNS_12codecvt_modeE($2, $3, $8, $5, $6, $9, 1114111, 0) | 0; - HEAP32[$4 >> 2] = HEAP32[$8 >> 2]; - HEAP32[$7 >> 2] = HEAP32[$9 >> 2]; + $xp = sp + 4 | 0; + $yp = sp; + $call = __ZNK6vision25GaussianScaleSpacePyramid3getEmm($pyramid, $octave, $scale) | 0; + __ZN6vision25bilinear_downsample_pointERfS0_ffi($xp, $yp, $x, $y, $octave); + $call1 = +__ZN6vision14SampleReceptorERKNS_5ImageEff($call, +HEAPF32[$xp >> 2], +HEAPF32[$yp >> 2]); STACKTOP = sp; - return $10 | 0; + return +$call1; } -function __ZNK12_GLOBAL__N_116itanium_demangle15LiteralOperator9printLeftERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$byval_copy = 0, $2 = 0, sp = 0; +function __ZZNK12_GLOBAL__N_116itanium_demangle8FoldExpr9printLeftERNS_12OutputStreamEENKUlvE_clEv($this) { + $this = $this | 0; + var $1 = 0, $ref$tmp = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy = sp + 8 | 0; - $2 = sp; - __ZN12_GLOBAL__N_110StringViewC2EPKc($2, 54238); - HEAP32[$$byval_copy >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy); - __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(HEAP32[$0 + 8 >> 2] | 0, $1); + $ref$tmp = sp; + $1 = HEAP32[$this + 4 >> 2] | 0; + __ZN12_GLOBAL__N_112OutputStreampLEc(HEAP32[$this >> 2] | 0, 40); + __ZN12_GLOBAL__N_116itanium_demangle22ParameterPackExpansionC2EPKNS0_4NodeE($ref$tmp, HEAP32[$1 + 8 >> 2] | 0); + __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE($ref$tmp, HEAP32[$this >> 2] | 0); + __ZN12_GLOBAL__N_112OutputStreampLEc(HEAP32[$this >> 2] | 0, 41); STACKTOP = sp; return; } -function __ZNKSt3__27codecvtIDsc11__mbstate_tE5do_inERS1_PKcS5_RS5_PDsS7_RS7_($0, $1, $2, $3, $4, $5, $6, $7) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - $6 = $6 | 0; - $7 = $7 | 0; - var $10 = 0, $8 = 0, $9 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $8 = sp + 4 | 0; - $9 = sp; - HEAP32[$8 >> 2] = $2; - HEAP32[$9 >> 2] = $5; - $10 = __ZNSt3__2L13utf8_to_utf16EPKhS1_RS1_PtS3_RS3_mNS_12codecvt_modeE($2, $3, $8, $5, $6, $9, 1114111, 0) | 0; - HEAP32[$4 >> 2] = HEAP32[$8 >> 2]; - HEAP32[$7 >> 2] = HEAP32[$9 >> 2]; - STACKTOP = sp; - return $10 | 0; +function __ZNSt3__26vectorIN6vision7match_tENS_9allocatorIS2_EEE4swapERS5_($this, $__x) { + $this = $this | 0; + $__x = $__x | 0; + var $0 = 0, $2 = 0, $4 = 0, $__end_ = 0, $__end_3 = 0, $__value_$i$i$i = 0, $__value_$i$i$i6 = 0; + $0 = HEAP32[$this >> 2] | 0; + HEAP32[$this >> 2] = HEAP32[$__x >> 2]; + HEAP32[$__x >> 2] = $0; + $__end_ = $this + 4 | 0; + $__end_3 = $__x + 4 | 0; + $2 = HEAP32[$__end_ >> 2] | 0; + HEAP32[$__end_ >> 2] = HEAP32[$__end_3 >> 2]; + HEAP32[$__end_3 >> 2] = $2; + $__value_$i$i$i6 = $this + 8 | 0; + $__value_$i$i$i = $__x + 8 | 0; + $4 = HEAP32[$__value_$i$i$i6 >> 2] | 0; + HEAP32[$__value_$i$i$i6 >> 2] = HEAP32[$__value_$i$i$i >> 2]; + HEAP32[$__value_$i$i$i >> 2] = $4; + return; } -function __ZNKSt3__27codecvtIDic11__mbstate_tE6do_outERS1_PKDiS5_RS5_PcS7_RS7_($0, $1, $2, $3, $4, $5, $6, $7) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - $6 = $6 | 0; - $7 = $7 | 0; - var $10 = 0, $8 = 0, $9 = 0, sp = 0; +function __ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_10shared_ptrIN6vision8KeyframeILi96EEEEEEENS_22__unordered_map_hasherIiS7_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS7_NS_8equal_toIiEELb1EEENS_9allocatorIS7_EEE17__deallocate_nodeEPNS_16__hash_node_baseIPNS_11__hash_nodeIS7_PvEEEE($this, $__np) { + $this = $this | 0; + $__np = $__np | 0; + var $0 = 0, $__np$addr$0 = 0; + $__np$addr$0 = $__np; + while (1) { + if (!$__np$addr$0) break; + $0 = HEAP32[$__np$addr$0 >> 2] | 0; + __ZNSt3__24pairIKiNS_10shared_ptrIN6vision8KeyframeILi96EEEEEED2Ev($__np$addr$0 + 8 | 0); + __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($__np$addr$0, 20); + $__np$addr$0 = $0; + } + return; +} + +function __ZNK12_GLOBAL__N_116itanium_demangle13ObjCProtoName12isObjCObjectEv($this) { + $this = $this | 0; + var $0 = 0, $1 = 0, $ref$tmp = 0, $ref$tmp3 = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $8 = sp + 4 | 0; - $9 = sp; - HEAP32[$8 >> 2] = $2; - HEAP32[$9 >> 2] = $5; - $10 = __ZNSt3__2L12ucs4_to_utf8EPKjS1_RS1_PhS3_RS3_mNS_12codecvt_modeE($2, $3, $8, $5, $6, $9, 1114111, 0) | 0; - HEAP32[$4 >> 2] = HEAP32[$8 >> 2]; - HEAP32[$7 >> 2] = HEAP32[$9 >> 2]; + $ref$tmp = sp + 8 | 0; + $ref$tmp3 = sp; + $0 = HEAP32[$this + 8 >> 2] | 0; + if ((__ZNK12_GLOBAL__N_116itanium_demangle4Node7getKindEv($0) | 0) << 24 >> 24 == 7) { + __ZNK12_GLOBAL__N_116itanium_demangle8NameType7getNameEv($ref$tmp, $0); + __ZN12_GLOBAL__N_110StringViewC2EPKc($ref$tmp3, 52867); + $1 = __ZN12_GLOBAL__N_1eqERKNS_10StringViewES2_($ref$tmp, $ref$tmp3) | 0; + } else $1 = 0; STACKTOP = sp; - return $10 | 0; + return $1 | 0; } -function __ZNK12_GLOBAL__N_116itanium_demangle27ExpandedSpecialSubstitution11getBaseNameEv($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - switch (HEAP32[$1 + 8 >> 2] | 0) { - case 0: - { - __ZN12_GLOBAL__N_110StringViewC2EPKc($0, 51703); - break; - } - case 1: - { - __ZN12_GLOBAL__N_110StringViewC2EPKc($0, 51713); - break; - } - case 2: - { - __ZN12_GLOBAL__N_110StringViewC2EPKc($0, 51713); +function __ZN12_GLOBAL__N_116itanium_demangle8FoldExprC2EbNS_10StringViewEPKNS0_4NodeES5_($this, $IsLeftFold_, $OperatorName_, $Pack_, $Init_) { + $this = $this | 0; + $IsLeftFold_ = $IsLeftFold_ | 0; + $OperatorName_ = $OperatorName_ | 0; + $Pack_ = $Pack_ | 0; + $Init_ = $Init_ | 0; + var $0 = 0, $5 = 0, $6 = 0; + __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($this, 57, 1, 1, 1); + HEAP32[$this >> 2] = 19364; + HEAP32[$this + 8 >> 2] = $Pack_; + HEAP32[$this + 12 >> 2] = $Init_; + $0 = $OperatorName_; + $5 = HEAP32[$0 + 4 >> 2] | 0; + $6 = $this + 16 | 0; + HEAP32[$6 >> 2] = HEAP32[$0 >> 2]; + HEAP32[$6 + 4 >> 2] = $5; + HEAP8[$this + 24 >> 0] = $IsLeftFold_ & 1; + return; +} + +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_16FunctionEncodingEJRPNS0_4NodeESA_NS0_9NodeArrayESA_RNS0_10QualifiersERNS0_15FunctionRefQualEEEES9_DpOT0_($this, $args, $args1, $args3, $args5, $args7, $args9) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + $args3 = $args3 | 0; + $args5 = $args5 | 0; + $args7 = $args7 | 0; + $args9 = $args9 | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle16FunctionEncodingEJRPNS2_4NodeES6_NS2_9NodeArrayES6_RNS2_10QualifiersERNS2_15FunctionRefQualEEEEPT_DpOT0_($this + 368 | 0, $args, $args1, $args3, $args5, $args7, $args9) | 0; +} + +function _arUtilGetDirectoryNameFromPath($dir, $path, $n, $addSeparator) { + $dir = $dir | 0; + $path = $path | 0; + $n = $n | 0; + $addSeparator = $addSeparator | 0; + var $call = 0, $retval$0 = 0, $sub$ptr$sub = 0; + do if (($dir | 0) != 0 & ($path | 0) != 0 & ($n | 0) != 0) { + $call = _strrchr($path, 47) | 0; + if (!$call) { + HEAP8[$dir >> 0] = 0; + $retval$0 = $dir; break; } - case 3: - { - __ZN12_GLOBAL__N_110StringViewC2EPKc($0, 55489); + $sub$ptr$sub = $call + (($addSeparator | 0) != 0 & 1) - $path | 0; + if (($sub$ptr$sub + 1 | 0) >>> 0 <= $n >>> 0) { + _strncpy($dir, $path, $sub$ptr$sub) | 0; + HEAP8[$dir + $sub$ptr$sub >> 0] = 0; + $retval$0 = $dir; + } else $retval$0 = 0; + } else $retval$0 = 0; while (0); + return $retval$0 | 0; +} + +function _arUtilQuatNorm($q) { + $q = $q | 0; + var $0 = 0.0, $1 = 0.0, $2 = 0.0, $3 = 0.0, $4 = 0.0, $add12 = 0.0, $arrayidx2 = 0, $arrayidx5 = 0, $arrayidx9 = 0, $retval$0 = 0; + $0 = +HEAPF64[$q >> 3]; + $arrayidx2 = $q + 8 | 0; + $1 = +HEAPF64[$arrayidx2 >> 3]; + $arrayidx5 = $q + 16 | 0; + $2 = +HEAPF64[$arrayidx5 >> 3]; + $arrayidx9 = $q + 24 | 0; + $3 = +HEAPF64[$arrayidx9 >> 3]; + $add12 = $0 * $0 + $1 * $1 + $2 * $2 + $3 * $3; + if ($add12 != 0.0) { + $4 = +Math_sqrt(+$add12); + HEAPF64[$q >> 3] = $0 / $4; + HEAPF64[$arrayidx2 >> 3] = $1 / $4; + HEAPF64[$arrayidx5 >> 3] = $2 / $4; + HEAPF64[$arrayidx9 >> 3] = $3 / $4; + $retval$0 = 0; + } else $retval$0 = -1; + return $retval$0 | 0; +} + +function __ZNSt3__212__hash_tableINS_17__hash_value_typeIjjEENS_22__unordered_map_hasherIjS2_NS_4hashIjEELb1EEENS_21__unordered_map_equalIjS2_NS_8equal_toIjEELb1EEENS_9allocatorIS2_EEED2Ev($this) { + $this = $this | 0; + var $1 = 0; + __ZNSt3__212__hash_tableINS_17__hash_value_typeIjjEENS_22__unordered_map_hasherIjS2_NS_4hashIjEELb1EEENS_21__unordered_map_equalIjS2_NS_8equal_toIjEELb1EEENS_9allocatorIS2_EEE17__deallocate_nodeEPNS_16__hash_node_baseIPNS_11__hash_nodeIS2_PvEEEE($this, HEAP32[$this + 8 >> 2] | 0); + $1 = HEAP32[$this >> 2] | 0; + HEAP32[$this >> 2] = 0; + if ($1 | 0) __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($1, HEAP32[$this + 4 >> 2] << 2); + return; +} + +function __ZN6vision20VisualDatabaseFacade5queryEPhmm($this, $grayImage, $width, $height) { + $this = $this | 0; + $grayImage = $grayImage | 0; + $width = $width | 0; + $height = $height | 0; + var $call3 = 0, $img = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 32 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); + $img = sp; + __ZN6vision5ImageC2EPhNS_9ImageTypeEmmim($img, $grayImage, 1, $width, $height, $width, 1); + $call3 = __ZN6vision14VisualDatabaseINS_14FREAKExtractorENS_18BinaryFeatureStoreENS_20BinaryFeatureMatcherILi96EEEE5queryERKNS_5ImageE(HEAP32[HEAP32[$this >> 2] >> 2] | 0, $img) | 0; + __ZN6vision5ImageD2Ev($img); + STACKTOP = sp; + return $call3 | 0; +} + +function __ZNKSt3__25ctypeIwE11do_scan_notEtPKwS3_($this, $m, $low, $high) { + $this = $this | 0; + $m = $m | 0; + $low = $low | 0; + $high = $high | 0; + var $call = 0, $low$addr$0 = 0, $low$addr$0$lcssa = 0; + $low$addr$0 = $low; + while (1) { + if (($low$addr$0 | 0) == ($high | 0)) { + $low$addr$0$lcssa = $high; break; } - case 4: - { - __ZN12_GLOBAL__N_110StringViewC2EPKc($0, 55503); + if ((HEAP32[$low$addr$0 >> 2] | 0) >>> 0 >= 128) { + $low$addr$0$lcssa = $low$addr$0; break; } - case 5: - { - __ZN12_GLOBAL__N_110StringViewC2EPKc($0, 55517); + $call = __ZNSt3__25ctypeIcE13classic_tableEv() | 0; + if (!((HEAP16[$call + (HEAP32[$low$addr$0 >> 2] << 1) >> 1] & $m) << 16 >> 16)) { + $low$addr$0$lcssa = $low$addr$0; break; } - default: - {} + $low$addr$0 = $low$addr$0 + 4 | 0; } - return; + return $low$addr$0$lcssa | 0; } -function __ZNSt3__26vectorIN6vision12FeaturePointENS_9allocatorIS2_EEE13__vdeallocateEv($0) { - $0 = $0 | 0; - var $$0$i$i$i = 0, $1 = 0, $3 = 0, $6 = 0, $7 = 0, $8 = 0; - $1 = HEAP32[$0 >> 2] | 0; - if ($1 | 0) { - $3 = $0 + 4 | 0; - $$0$i$i$i = HEAP32[$3 >> 2] | 0; - while (1) { - if (($$0$i$i$i | 0) == ($1 | 0)) break; - $6 = $$0$i$i$i + -20 | 0; - __ZN6vision12FeaturePointD2Ev($6); - $$0$i$i$i = $6; - } - HEAP32[$3 >> 2] = $1; - $7 = HEAP32[$0 >> 2] | 0; - $8 = $0 + 8 | 0; - __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($7, (HEAP32[$8 >> 2] | 0) - $7 | 0); - HEAP32[$8 >> 2] = 0; - HEAP32[$3 >> 2] = 0; - HEAP32[$0 >> 2] = 0; +function __ZNSt3__214__split_bufferINS_6vectorINS_4pairIfmEENS_9allocatorIS3_EEEERNS4_IS6_EEED2Ev($this) { + $this = $this | 0; + var $0 = 0, $1 = 0, $2 = 0, $__end_$i$i$i = 0, $incdec$ptr$i$i$i = 0; + $0 = HEAP32[$this + 4 >> 2] | 0; + $__end_$i$i$i = $this + 8 | 0; + while (1) { + $1 = HEAP32[$__end_$i$i$i >> 2] | 0; + if (($1 | 0) == ($0 | 0)) break; + $incdec$ptr$i$i$i = $1 + -12 | 0; + HEAP32[$__end_$i$i$i >> 2] = $incdec$ptr$i$i$i; + __ZNSt3__213__vector_baseINS_4pairIfmEENS_9allocatorIS2_EEED2Ev($incdec$ptr$i$i$i); } + $2 = HEAP32[$this >> 2] | 0; + if ($2 | 0) __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($2, (HEAP32[$this + 12 >> 2] | 0) - $2 | 0); return; } -function __ZNKSt3__27codecvtIDic11__mbstate_tE5do_inERS1_PKcS5_RS5_PDiS7_RS7_($0, $1, $2, $3, $4, $5, $6, $7) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - $6 = $6 | 0; - $7 = $7 | 0; - var $10 = 0, $8 = 0, $9 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $8 = sp + 4 | 0; - $9 = sp; - HEAP32[$8 >> 2] = $2; - HEAP32[$9 >> 2] = $5; - $10 = __ZNSt3__2L12utf8_to_ucs4EPKhS1_RS1_PjS3_RS3_mNS_12codecvt_modeE($2, $3, $8, $5, $6, $9, 1114111, 0) | 0; - HEAP32[$4 >> 2] = HEAP32[$8 >> 2]; - HEAP32[$7 >> 2] = HEAP32[$9 >> 2]; - STACKTOP = sp; - return $10 | 0; -} - -function __ZNSt3__212__hash_tableINS_17__hash_value_typeIjjEENS_22__unordered_map_hasherIjS2_NS_4hashIjEELb1EEENS_21__unordered_map_equalIjS2_NS_8equal_toIjEELb1EEENS_9allocatorIS2_EEED2Ev($0) { - $0 = $0 | 0; - var $3 = 0; - __ZNSt3__212__hash_tableINS_17__hash_value_typeIjjEENS_22__unordered_map_hasherIjS2_NS_4hashIjEELb1EEENS_21__unordered_map_equalIjS2_NS_8equal_toIjEELb1EEENS_9allocatorIS2_EEE17__deallocate_nodeEPNS_16__hash_node_baseIPNS_11__hash_nodeIS2_PvEEEE($0, HEAP32[$0 + 8 >> 2] | 0); - $3 = HEAP32[$0 >> 2] | 0; - HEAP32[$0 >> 2] = 0; - if ($3 | 0) __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($3, HEAP32[$0 + 4 >> 2] << 2); - return; -} - -function __ZNK12_GLOBAL__N_116itanium_demangle24ForwardTemplateReference13getSyntaxNodeERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $11 = 0, $2 = 0, $3 = 0, $7 = 0, sp = 0; +function __ZNK6vision20VisualDatabaseFacade21getQueryFeaturePointsEv($this) { + $this = $this | 0; + var $call6 = 0, $temp$lvalue = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $2 = sp; - $3 = $0 + 16 | 0; - if (!(HEAP8[$3 >> 0] | 0)) { - __ZN12_GLOBAL__N_114SwapAndRestoreIbEC2ERbb($2, $3, 1); - $7 = HEAP32[$0 + 12 >> 2] | 0; - $11 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$7 >> 2] | 0) + 12 >> 2] & 127]($7, $1) | 0; - __ZN12_GLOBAL__N_114SwapAndRestoreIbED2Ev($2); - $$0 = $11; - } else $$0 = $0; + $temp$lvalue = sp; + __ZNK6vision14VisualDatabaseINS_14FREAKExtractorENS_18BinaryFeatureStoreENS_20BinaryFeatureMatcherILi96EEEE13queryKeyframeEv($temp$lvalue, HEAP32[HEAP32[$this >> 2] >> 2] | 0); + $call6 = __ZN6vision18BinaryFeatureStore6pointsEv(__ZN6vision8KeyframeILi96EE5storeEv(HEAP32[$temp$lvalue >> 2] | 0) | 0) | 0; + __ZNSt3__210shared_ptrIN6vision8KeyframeILi96EEEED2Ev($temp$lvalue); STACKTOP = sp; - return $$0 | 0; -} - -function __ZNSt3__26vectorIN6vision17PriorityQueueItemILi96EEENS_9allocatorIS3_EEE11__vallocateEm($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $5 = 0, $7 = 0; - if ((__ZNKSt3__26vectorIN6vision17PriorityQueueItemILi96EEENS_9allocatorIS3_EEE8max_sizeEv($0) | 0) >>> 0 < $1 >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv($0); - if ($1 >>> 0 > 536870911) { - $5 = ___cxa_allocate_exception(8) | 0; - __ZNSt11logic_errorC2EPKc($5, 41481); - HEAP32[$5 >> 2] = 17472; - ___cxa_throw($5 | 0, 13960, 22); - } else { - $7 = __Znwm($1 << 3) | 0; - HEAP32[$0 + 4 >> 2] = $7; - HEAP32[$0 >> 2] = $7; - HEAP32[$0 + 8 >> 2] = $7 + ($1 << 3); - return; - } + return $call6 | 0; } -function __ZNSt3__214__split_bufferIiRNS_9allocatorIiEEEC2EmmS3_($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $11 = 0, $12 = 0, $4 = 0, $8 = 0; - $4 = $0 + 12 | 0; - HEAP32[$4 >> 2] = 0; - HEAP32[$0 + 16 >> 2] = $3; - do if ($1) if ($1 >>> 0 > 1073741823) { - $8 = ___cxa_allocate_exception(8) | 0; - __ZNSt11logic_errorC2EPKc($8, 41481); - HEAP32[$8 >> 2] = 17472; - ___cxa_throw($8 | 0, 13960, 22); - } else { - $11 = __Znwm($1 << 2) | 0; - break; - } else $11 = 0; while (0); - HEAP32[$0 >> 2] = $11; - $12 = $11 + ($2 << 2) | 0; - HEAP32[$0 + 8 >> 2] = $12; - HEAP32[$0 + 4 >> 2] = $12; - HEAP32[$4 >> 2] = $11 + ($1 << 2); +function __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_24ForwardTemplateReferenceELm4EE9push_backERKS3_($this, $Elem) { + $this = $this | 0; + $Elem = $Elem | 0; + var $0 = 0, $2 = 0, $3 = 0, $Last = 0; + $Last = $this + 4 | 0; + $0 = HEAP32[$Last >> 2] | 0; + if (($0 | 0) == (HEAP32[$this + 8 >> 2] | 0)) { + __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_24ForwardTemplateReferenceELm4EE7reserveEm($this, (__ZNK12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_24ForwardTemplateReferenceELm4EE4sizeEv($this) | 0) << 1); + $3 = HEAP32[$Last >> 2] | 0; + } else $3 = $0; + $2 = HEAP32[$Elem >> 2] | 0; + HEAP32[$Last >> 2] = $3 + 4; + HEAP32[$3 >> 2] = $2; return; } -function __ZNSt3__214__split_bufferIfRNS_9allocatorIfEEEC2EmmS3_($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $11 = 0, $12 = 0, $4 = 0, $8 = 0; - $4 = $0 + 12 | 0; - HEAP32[$4 >> 2] = 0; - HEAP32[$0 + 16 >> 2] = $3; - do if ($1) if ($1 >>> 0 > 1073741823) { - $8 = ___cxa_allocate_exception(8) | 0; - __ZNSt11logic_errorC2EPKc($8, 41481); - HEAP32[$8 >> 2] = 17472; - ___cxa_throw($8 | 0, 13960, 22); - } else { - $11 = __Znwm($1 << 2) | 0; - break; - } else $11 = 0; while (0); - HEAP32[$0 >> 2] = $11; - $12 = $11 + ($2 << 2) | 0; - HEAP32[$0 + 8 >> 2] = $12; - HEAP32[$0 + 4 >> 2] = $12; - HEAP32[$4 >> 2] = $11 + ($1 << 2); +function __ZNSt3__26vectorIiNS_9allocatorIiEEE4swapERS3_($this, $__x) { + $this = $this | 0; + $__x = $__x | 0; + var $0 = 0, $2 = 0, $4 = 0, $__end_ = 0, $__end_3 = 0, $__value_$i$i$i = 0, $__value_$i$i$i6 = 0; + $0 = HEAP32[$this >> 2] | 0; + HEAP32[$this >> 2] = HEAP32[$__x >> 2]; + HEAP32[$__x >> 2] = $0; + $__end_ = $this + 4 | 0; + $__end_3 = $__x + 4 | 0; + $2 = HEAP32[$__end_ >> 2] | 0; + HEAP32[$__end_ >> 2] = HEAP32[$__end_3 >> 2]; + HEAP32[$__end_3 >> 2] = $2; + $__value_$i$i$i6 = $this + 8 | 0; + $__value_$i$i$i = $__x + 8 | 0; + $4 = HEAP32[$__value_$i$i$i6 >> 2] | 0; + HEAP32[$__value_$i$i$i6 >> 2] = HEAP32[$__value_$i$i$i >> 2]; + HEAP32[$__value_$i$i$i >> 2] = $4; return; } -function __ZNK12_GLOBAL__N_116itanium_demangle9ThrowExpr9printLeftERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$byval_copy = 0, $2 = 0, sp = 0; +function __ZNK12_GLOBAL__N_116itanium_demangle24ForwardTemplateReference10printRightERNS_12OutputStreamE($this, $S) { + $this = $this | 0; + $S = $S | 0; + var $1 = 0, $Printing = 0, $SavePrinting = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy = sp + 8 | 0; - $2 = sp; - __ZN12_GLOBAL__N_110StringViewC2EPKc($2, 52789); - HEAP32[$$byval_copy >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy); - __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(HEAP32[$0 + 8 >> 2] | 0, $1); + $SavePrinting = sp; + $Printing = $this + 16 | 0; + if (!(HEAP8[$Printing >> 0] | 0)) { + __ZN12_GLOBAL__N_114SwapAndRestoreIbEC2ERbb($SavePrinting, $Printing, 1); + $1 = HEAP32[$this + 12 >> 2] | 0; + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$1 >> 2] | 0) + 20 >> 2] & 255]($1, $S); + __ZN12_GLOBAL__N_114SwapAndRestoreIbED2Ev($SavePrinting); + } STACKTOP = sp; return; } -function __ZNK12_GLOBAL__N_116itanium_demangle24ForwardTemplateReference19hasRHSComponentSlowERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $2 = 0, $3 = 0, $8 = 0, sp = 0; +function _fwrite($src, $size, $nmemb, $f) { + $src = $src | 0; + $size = $size | 0; + $nmemb = $nmemb | 0; + $f = $f | 0; + var $call1 = 0, $call113 = 0, $cond9 = 0, $mul = 0, $phitmp = 0, $spec$select = 0; + $mul = Math_imul($nmemb, $size) | 0; + $spec$select = ($size | 0) == 0 ? 0 : $nmemb; + if ((HEAP32[$f + 76 >> 2] | 0) > -1) { + $phitmp = (___lockfile($f) | 0) == 0; + $call1 = ___fwritex($src, $mul, $f) | 0; + if ($phitmp) $call113 = $call1; else { + ___unlockfile($f); + $call113 = $call1; + } + } else $call113 = ___fwritex($src, $mul, $f) | 0; + if (($call113 | 0) == ($mul | 0)) $cond9 = $spec$select; else $cond9 = ($call113 >>> 0) / ($size >>> 0) | 0; + return $cond9 | 0; +} + +function __ZNK12_GLOBAL__N_116itanium_demangle24ForwardTemplateReference9printLeftERNS_12OutputStreamE($this, $S) { + $this = $this | 0; + $S = $S | 0; + var $1 = 0, $Printing = 0, $SavePrinting = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $2 = sp; - $3 = $0 + 16 | 0; - if (!(HEAP8[$3 >> 0] | 0)) { - __ZN12_GLOBAL__N_114SwapAndRestoreIbEC2ERbb($2, $3, 1); - $8 = __ZNK12_GLOBAL__N_116itanium_demangle4Node15hasRHSComponentERNS_12OutputStreamE(HEAP32[$0 + 12 >> 2] | 0, $1) | 0; - __ZN12_GLOBAL__N_114SwapAndRestoreIbED2Ev($2); - $$0 = $8; - } else $$0 = 0; + $SavePrinting = sp; + $Printing = $this + 16 | 0; + if (!(HEAP8[$Printing >> 0] | 0)) { + __ZN12_GLOBAL__N_114SwapAndRestoreIbEC2ERbb($SavePrinting, $Printing, 1); + $1 = HEAP32[$this + 12 >> 2] | 0; + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$1 >> 2] | 0) + 16 >> 2] & 255]($1, $S); + __ZN12_GLOBAL__N_114SwapAndRestoreIbED2Ev($SavePrinting); + } STACKTOP = sp; - return $$0 | 0; + return; } -function __ZNK12_GLOBAL__N_116itanium_demangle19SpecialSubstitution11getBaseNameEv($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - switch (HEAP32[$1 + 8 >> 2] | 0) { - case 0: - { - __ZN12_GLOBAL__N_110StringViewC2EPKc($0, 51703); - break; - } - case 1: - { - __ZN12_GLOBAL__N_110StringViewC2EPKc($0, 51713); - break; - } - case 2: - { - __ZN12_GLOBAL__N_110StringViewC2EPKc($0, 51726); - break; - } - case 3: - { - __ZN12_GLOBAL__N_110StringViewC2EPKc($0, 51733); - break; - } - case 4: - { - __ZN12_GLOBAL__N_110StringViewC2EPKc($0, 51741); - break; +function _ar2FreeImageSet($imageSet) { + $imageSet = $imageSet | 0; + var $0 = 0, $1 = 0, $3 = 0, $i$0 = 0, $retval$0 = 0; + if (($imageSet | 0) != 0 ? ($0 = HEAP32[$imageSet >> 2] | 0, ($0 | 0) != 0) : 0) { + $1 = $0; + $i$0 = 0; + while (1) { + $3 = HEAP32[$1 >> 2] | 0; + if (($i$0 | 0) >= (HEAP32[$1 + 4 >> 2] | 0)) break; + _free(HEAP32[HEAP32[$3 + ($i$0 << 2) >> 2] >> 2] | 0); + _free(HEAP32[(HEAP32[HEAP32[$imageSet >> 2] >> 2] | 0) + ($i$0 << 2) >> 2] | 0); + $1 = HEAP32[$imageSet >> 2] | 0; + $i$0 = $i$0 + 1 | 0; } - case 5: - { - __ZN12_GLOBAL__N_110StringViewC2EPKc($0, 51749); - break; + _free($3); + _free(HEAP32[$imageSet >> 2] | 0); + HEAP32[$imageSet >> 2] = 0; + $retval$0 = 0; + } else $retval$0 = -1; + return $retval$0 | 0; +} + +function __ZNSt3__214__split_bufferIiRNS_9allocatorIiEEE18__construct_at_endINS_11__wrap_iterIPKiEEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESB_SB_($this, $__first, $__last) { + $this = $this | 0; + $__first = $__first | 0; + $__last = $__last | 0; + var $0 = 0, $1 = 0, $2 = 0, $__end_ = 0, $incdec$ptr$i = 0; + $0 = HEAP32[$__last >> 2] | 0; + $__end_ = $this + 8 | 0; + $1 = HEAP32[$__first >> 2] | 0; + while (1) { + if (($1 | 0) == ($0 | 0)) break; + $2 = HEAP32[$__end_ >> 2] | 0; + HEAP32[$2 >> 2] = HEAP32[$1 >> 2]; + HEAP32[$__end_ >> 2] = $2 + 4; + $incdec$ptr$i = $1 + 4 | 0; + HEAP32[$__first >> 2] = $incdec$ptr$i; + $1 = $incdec$ptr$i; + } + return; +} + +function _strcmp($l, $r) { + $l = $l | 0; + $r = $r | 0; + var $$lcssa = 0, $$lcssa6 = 0, $0 = 0, $1 = 0, $2 = 0, $3 = 0, $l$addr$010 = 0, $r$addr$011 = 0; + $0 = HEAP8[$l >> 0] | 0; + $1 = HEAP8[$r >> 0] | 0; + if ($0 << 24 >> 24 == 0 ? 1 : $0 << 24 >> 24 != $1 << 24 >> 24) { + $$lcssa = $1; + $$lcssa6 = $0; + } else { + $l$addr$010 = $l; + $r$addr$011 = $r; + do { + $l$addr$010 = $l$addr$010 + 1 | 0; + $r$addr$011 = $r$addr$011 + 1 | 0; + $2 = HEAP8[$l$addr$010 >> 0] | 0; + $3 = HEAP8[$r$addr$011 >> 0] | 0; + } while (!($2 << 24 >> 24 == 0 ? 1 : $2 << 24 >> 24 != $3 << 24 >> 24)); + $$lcssa = $3; + $$lcssa6 = $2; + } + return ($$lcssa6 & 255) - ($$lcssa & 255) | 0; +} + +function _saveSetjmp(env, label, table, size) { + env = env | 0; + label = label | 0; + table = table | 0; + size = size | 0; + var i = 0; + setjmpId = setjmpId + 1 | 0; + HEAP32[env >> 2] = setjmpId; + while ((i | 0) < (size | 0)) { + if (!(HEAP32[table + (i << 3) >> 2] | 0)) { + HEAP32[table + (i << 3) >> 2] = setjmpId; + HEAP32[table + ((i << 3) + 4) >> 2] = label; + HEAP32[table + ((i << 3) + 8) >> 2] = 0; + setTempRet0(size | 0); + return table | 0; } - default: - {} + i = i + 1 | 0; } - return; + size = size * 2 | 0; + table = _realloc(table | 0, 8 * (size + 1 | 0) | 0) | 0; + table = _saveSetjmp(env | 0, label | 0, table | 0, size | 0) | 0; + setTempRet0(size | 0); + return table | 0; } -function __ZZNK12_GLOBAL__N_116itanium_demangle8FoldExpr9printLeftERNS_12OutputStreamEENKUlvE_clEv($0) { - $0 = $0 | 0; - var $1 = 0, $3 = 0, sp = 0; +function _detectNFTMarker($id) { + $id = $id | 0; + var $id$addr = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $1 = sp; - $3 = HEAP32[$0 + 4 >> 2] | 0; - __ZN12_GLOBAL__N_112OutputStreampLEc(HEAP32[$0 >> 2] | 0, 40); - __ZN12_GLOBAL__N_116itanium_demangle22ParameterPackExpansionC2EPKNS0_4NodeE($1, HEAP32[$3 + 8 >> 2] | 0); - __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE($1, HEAP32[$0 >> 2] | 0); - __ZN12_GLOBAL__N_112OutputStreampLEc(HEAP32[$0 >> 2] | 0, 41); + $id$addr = sp; + HEAP32[$id$addr >> 2] = $id; + if (__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(66108, $id$addr) | 0) __ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(66108, $id$addr) | 0; STACKTOP = sp; - return; + return -1; } -function _strncat($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$0$lcssa = 0, $$01013 = 0, $$01112 = 0, $$014 = 0, $10 = 0, $4 = 0, $6 = 0; - $4 = $0 + (_strlen($0) | 0) | 0; - L1 : do if (!$2) $$0$lcssa = $4; else { - $$01013 = $2; - $$01112 = $1; - $$014 = $4; +function __ZNK12_GLOBAL__N_116itanium_demangle13ParameterPack13getSyntaxNodeERNS_12OutputStreamE($this, $S) { + $this = $this | 0; + $S = $S | 0; + var $0 = 0, $Data = 0, $call3 = 0, $cond = 0; + __ZNK12_GLOBAL__N_116itanium_demangle13ParameterPack23initializePackExpansionERNS_12OutputStreamE($this, $S); + $0 = HEAP32[$S + 12 >> 2] | 0; + $Data = $this + 8 | 0; + if ($0 >>> 0 < (__ZNK12_GLOBAL__N_116itanium_demangle9NodeArray4sizeEv($Data) | 0) >>> 0) { + $call3 = __ZNK12_GLOBAL__N_116itanium_demangle9NodeArrayixEm($Data, $0) | 0; + $cond = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$call3 >> 2] | 0) + 12 >> 2] & 127]($call3, $S) | 0; + } else $cond = $this; + return $cond | 0; +} + +function __ZN6vision19QuadrilateralConvexIfEEbPKT_S3_S3_S3_($x1, $x2, $x3, $x4) { + $x1 = $x1 | 0; + $x2 = $x2 | 0; + $x3 = $x3 | 0; + $x4 = $x4 | 0; + var $add11 = 0, $cmp = 0, $cmp2 = 0, $cmp5 = 0, $cmp9 = 0; + $cmp = +__ZN6vision13LinePointSideIfEET_PKS1_S3_S3_($x1, $x2, $x3) > 0.0; + $cmp2 = +__ZN6vision13LinePointSideIfEET_PKS1_S3_S3_($x2, $x3, $x4) > 0.0; + $cmp5 = +__ZN6vision13LinePointSideIfEET_PKS1_S3_S3_($x3, $x4, $x1) > 0.0; + $cmp9 = +__ZN6vision13LinePointSideIfEET_PKS1_S3_S3_($x4, $x1, $x2) > 0.0; + $add11 = ($cmp2 ? 1 : -1) + ($cmp ? 1 : -1) + ($cmp5 ? 1 : -1) + ($cmp9 ? 1 : -1) | 0; + return ((($add11 | 0) > -1 ? $add11 : 0 - $add11 | 0) | 0) == 4 | 0; +} + +function _arImageProcLumaHist($ipi, $dataPtr) { + $ipi = $ipi | 0; + $dataPtr = $dataPtr | 0; + var $add$ptr = 0, $arrayidx = 0, $p$0 = 0, $retval$0 = 0; + L1 : do if (($ipi | 0) != 0 & ($dataPtr | 0) != 0) { + _memset($ipi + 12 | 0, 0, 1024) | 0; + $add$ptr = $dataPtr + (Math_imul(HEAP32[$ipi + 8 >> 2] | 0, HEAP32[$ipi + 4 >> 2] | 0) | 0) | 0; + $p$0 = $dataPtr; while (1) { - $6 = HEAP8[$$01112 >> 0] | 0; - if (!($6 << 24 >> 24)) { - $$0$lcssa = $$014; + if ($p$0 >>> 0 >= $add$ptr >>> 0) { + $retval$0 = 0; break L1; } - $$01013 = $$01013 + -1 | 0; - $10 = $$014 + 1 | 0; - HEAP8[$$014 >> 0] = $6; - if (!$$01013) { - $$0$lcssa = $10; - break; - } else { - $$01112 = $$01112 + 1 | 0; - $$014 = $10; - } + $arrayidx = $ipi + 12 + ((HEAPU8[$p$0 >> 0] | 0) << 2) | 0; + HEAP32[$arrayidx >> 2] = (HEAP32[$arrayidx >> 2] | 0) + 1; + $p$0 = $p$0 + 1 | 0; } - } while (0); - HEAP8[$$0$lcssa >> 0] = 0; - return $0 | 0; + } else $retval$0 = -1; while (0); + return $retval$0 | 0; } -function __ZNSt3__214__split_bufferItRNS_9allocatorItEEEC2EmmS3_($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $11 = 0, $12 = 0, $4 = 0, $8 = 0; - $4 = $0 + 12 | 0; - HEAP32[$4 >> 2] = 0; - HEAP32[$0 + 16 >> 2] = $3; - do if ($1) if (($1 | 0) < 0) { - $8 = ___cxa_allocate_exception(8) | 0; - __ZNSt11logic_errorC2EPKc($8, 41481); - HEAP32[$8 >> 2] = 17472; - ___cxa_throw($8 | 0, 13960, 22); - } else { - $11 = __Znwm($1 << 1) | 0; - break; - } else $11 = 0; while (0); - HEAP32[$0 >> 2] = $11; - $12 = $11 + ($2 << 1) | 0; - HEAP32[$0 + 8 >> 2] = $12; - HEAP32[$0 + 4 >> 2] = $12; - HEAP32[$4 >> 2] = $11 + ($1 << 1); +function __ZNSt3__214__split_bufferIN6vision17PriorityQueueItemILi96EEERNS_9allocatorIS3_EEED2Ev($this) { + $this = $this | 0; + var $0 = 0, $1 = 0, $2 = 0, $__end_$i$i$i = 0, $incdec$ptr$i$i$i = 0; + $0 = HEAP32[$this + 4 >> 2] | 0; + $__end_$i$i$i = $this + 8 | 0; + while (1) { + $1 = HEAP32[$__end_$i$i$i >> 2] | 0; + if (($1 | 0) == ($0 | 0)) break; + $incdec$ptr$i$i$i = $1 + -8 | 0; + HEAP32[$__end_$i$i$i >> 2] = $incdec$ptr$i$i$i; + __ZN6vision17PriorityQueueItemILi96EED2Ev($incdec$ptr$i$i$i); + } + $2 = HEAP32[$this >> 2] | 0; + if ($2 | 0) __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($2, (HEAP32[$this + 12 >> 2] | 0) - $2 | 0); + return; +} + +function __ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_6vectorIiNS_9allocatorIiEEEEEENS_22__unordered_map_hasherIiS6_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS6_NS_8equal_toIiEELb1EEENS3_IS6_EEE17__deallocate_nodeEPNS_16__hash_node_baseIPNS_11__hash_nodeIS6_PvEEEE($this, $__np) { + $this = $this | 0; + $__np = $__np | 0; + var $0 = 0, $__np$addr$0 = 0; + $__np$addr$0 = $__np; + while (1) { + if (!$__np$addr$0) break; + $0 = HEAP32[$__np$addr$0 >> 2] | 0; + __ZNSt3__24pairIKiNS_6vectorIiNS_9allocatorIiEEEEED2Ev($__np$addr$0 + 8 | 0); + __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($__np$addr$0, 24); + $__np$addr$0 = $0; + } return; } -function __ZNK12_GLOBAL__N_116itanium_demangle24ForwardTemplateReference15hasFunctionSlowERNS_12OutputStreamE($0, $1) { +function ___stdio_seek($f, $0, $1, $whence) { + $f = $f | 0; $0 = $0 | 0; $1 = $1 | 0; - var $$0 = 0, $2 = 0, $3 = 0, $8 = 0, sp = 0; + $whence = $whence | 0; + var $10 = 0, $14 = 0, $15 = 0, $4 = 0, $ret = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $2 = sp; - $3 = $0 + 16 | 0; - if (!(HEAP8[$3 >> 0] | 0)) { - __ZN12_GLOBAL__N_114SwapAndRestoreIbEC2ERbb($2, $3, 1); - $8 = __ZNK12_GLOBAL__N_116itanium_demangle4Node11hasFunctionERNS_12OutputStreamE(HEAP32[$0 + 12 >> 2] | 0, $1) | 0; - __ZN12_GLOBAL__N_114SwapAndRestoreIbED2Ev($2); - $$0 = $8; - } else $$0 = 0; + $ret = sp; + if (!(___wasi_syscall_ret(___wasi_fd_seek(HEAP32[$f + 60 >> 2] | 0, $0 | 0, $1 | 0, $whence & 255 | 0, $ret | 0) | 0) | 0)) { + $4 = $ret; + $14 = HEAP32[$4 + 4 >> 2] | 0; + $15 = HEAP32[$4 >> 2] | 0; + } else { + $10 = $ret; + HEAP32[$10 >> 2] = -1; + HEAP32[$10 + 4 >> 2] = -1; + $14 = -1; + $15 = -1; + } + setTempRet0($14 | 0); STACKTOP = sp; - return $$0 | 0; + return $15 | 0; +} + +function _sbrk($increment) { + $increment = $increment | 0; + var $0 = 0, $add = 0, $call = 0, $call1 = 0, $call7 = 0, $retval$2 = 0; + $call = _emscripten_get_sbrk_ptr() | 0; + $0 = HEAP32[$call >> 2] | 0; + $add = $0 + $increment | 0; + if (($add | 0) < 0) { + $call1 = ___errno_location() | 0; + HEAP32[$call1 >> 2] = 48; + $retval$2 = -1; + return $retval$2 | 0; + } + if ($add >>> 0 > (_emscripten_get_heap_size() | 0) >>> 0 ? (_emscripten_resize_heap($add | 0) | 0) == 0 : 0) { + $call7 = ___errno_location() | 0; + HEAP32[$call7 >> 2] = 48; + $retval$2 = -1; + return $retval$2 | 0; + } + HEAP32[$call >> 2] = $add; + $retval$2 = $0; + return $retval$2 | 0; +} + +function __ZN12_GLOBAL__N_116itanium_demangle15ClosureTypeNameC2ENS0_9NodeArrayENS_10StringViewE($this, $Params_, $Count_) { + $this = $this | 0; + $Params_ = $Params_ | 0; + $Count_ = $Count_ | 0; + var $0 = 0, $10 = 0, $15 = 0, $16 = 0, $5 = 0, $6 = 0; + __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($this, 40, 1, 1, 1); + HEAP32[$this >> 2] = 19628; + $0 = $Params_; + $5 = HEAP32[$0 + 4 >> 2] | 0; + $6 = $this + 8 | 0; + HEAP32[$6 >> 2] = HEAP32[$0 >> 2]; + HEAP32[$6 + 4 >> 2] = $5; + $10 = $Count_; + $15 = HEAP32[$10 + 4 >> 2] | 0; + $16 = $this + 16 | 0; + HEAP32[$16 >> 2] = HEAP32[$10 >> 2]; + HEAP32[$16 + 4 >> 2] = $15; + return; +} + +function __ZL14genBWImageFullPhiiPiS0_($image, $xsize, $ysize, $newXsize, $newYsize) { + $image = $image | 0; + $xsize = $xsize | 0; + $ysize = $ysize | 0; + $newXsize = $newXsize | 0; + $newYsize = $newYsize | 0; + var $call = 0, $mul = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + HEAP32[$newXsize >> 2] = $xsize; + HEAP32[$newYsize >> 2] = $ysize; + $mul = Math_imul($ysize, $xsize) | 0; + $call = _malloc($mul) | 0; + if (!$call) { + _arLog(0, 3, 46772, sp); + _exit(1); + } else { + _memcpy($call | 0, $image | 0, $mul | 0) | 0; + STACKTOP = sp; + return $call | 0; + } + return 0; } function __ZN10emscripten8functionIiJiiiEJEEEvPKcPFT_DpT0_EDpT1_($name, $fn) { @@ -95669,23 +97402,6 @@ function __ZN10emscripten8functionIiJiiiEJEEEvPKcPFT_DpT0_EDpT1_($name, $fn) { return; } -function __ZNSt3__212__hash_tableINS_17__hash_value_typeIjjEENS_22__unordered_map_hasherIjS2_NS_4hashIjEELb1EEENS_21__unordered_map_equalIjS2_NS_8equal_toIjEELb1EEENS_9allocatorIS2_EEE21__construct_node_hashINS_4pairIjjEEJEEENS_10unique_ptrINS_11__hash_nodeIS2_PvEENS_22__hash_node_destructorINSB_ISK_EEEEEEmOT_DpOT0_($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $5 = 0; - $5 = __Znwm(16) | 0; - HEAP32[$0 >> 2] = $5; - HEAP32[$0 + 4 >> 2] = $1 + 8; - HEAP32[$5 + 8 >> 2] = HEAP32[$3 >> 2]; - HEAP32[$5 + 12 >> 2] = HEAP32[$3 + 4 >> 2]; - HEAP8[$0 + 8 >> 0] = 1; - HEAP32[$5 + 4 >> 2] = $2; - HEAP32[$5 >> 2] = 0; - return; -} - function __ZN10emscripten8functionIiJiiEJEEEvPKcPFT_DpT0_EDpT1_($name, $fn) { $name = $name | 0; $fn = $fn | 0; @@ -95701,6 +97417,25 @@ function __ZN10emscripten8functionIiJiiEJEEEvPKcPFT_DpT0_EDpT1_($name, $fn) { return; } +function __ZNKSt3__27codecvtIwc11__mbstate_tE11do_encodingEv($this) { + $this = $this | 0; + var $1 = 0, $__l = 0, $call$i = 0, $call$i$i = 0, $call$i$i1 = 0, $call$i2 = 0, $retval$0 = 0; + $__l = $this + 8 | 0; + $call$i$i = ___uselocale(HEAP32[$__l >> 2] | 0) | 0; + $call$i = _mbtowc(0, 0, 4) | 0; + if ($call$i$i | 0) ___uselocale($call$i$i) | 0; + if (!$call$i) { + $1 = HEAP32[$__l >> 2] | 0; + if (!$1) $retval$0 = 1; else { + $call$i$i1 = ___uselocale($1) | 0; + $call$i2 = ___ctype_get_mb_cur_max() | 0; + if ($call$i$i1 | 0) ___uselocale($call$i$i1) | 0; + return ($call$i2 | 0) == 1 | 0; + } + } else $retval$0 = -1; + return $retval$0 | 0; +} + function __ZN10emscripten8functionIvJiiEJEEEvPKcPFT_DpT0_EDpT1_($name, $fn) { $name = $name | 0; $fn = $fn | 0; @@ -95746,85 +97481,26 @@ function __ZN10emscripten8functionIvJidEJEEEvPKcPFT_DpT0_EDpT1_($name, $fn) { return; } -function __ZNSt3__214__split_bufferIPNS_6locale5facetERNS_15__sso_allocatorIS3_Lm28EEEEC2EmmS6_($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $13 = 0, $14 = 0, $4 = 0, $7 = 0; - $4 = $0 + 12 | 0; - HEAP32[$4 >> 2] = 0; - HEAP32[$0 + 16 >> 2] = $3; - do if ($1) { - $7 = $3 + 112 | 0; - if ($1 >>> 0 < 29 & (HEAP8[$7 >> 0] | 0) == 0) { - HEAP8[$7 >> 0] = 1; - $13 = $3; - break; - } else { - $13 = __Znwm($1 << 2) | 0; - break; - } - } else $13 = 0; while (0); - HEAP32[$0 >> 2] = $13; - $14 = $13 + ($2 << 2) | 0; - HEAP32[$0 + 8 >> 2] = $14; - HEAP32[$0 + 4 >> 2] = $14; - HEAP32[$4 >> 2] = $13 + ($1 << 2); - return; -} - -function __ZN6vision6detail23create_formatted_stringERKNSt3__212basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEPi($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 2048 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(2048); - $3 = sp; - _vsnprintf($3, 2048, (HEAP8[$1 + 11 >> 0] | 0) < 0 ? HEAP32[$1 >> 2] | 0 : $1, $2) | 0; - HEAP32[$0 >> 2] = 0; - HEAP32[$0 + 4 >> 2] = 0; - HEAP32[$0 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm($0, $3, __ZNSt3__211char_traitsIcE6lengthEPKc($3) | 0); - STACKTOP = sp; - return; -} - -function __ZNSt3__213__vector_baseINS_6vectorINS1_INS_4pairIfmEENS_9allocatorIS3_EEEENS4_IS6_EEEENS4_IS8_EEED2Ev($0) { - $0 = $0 | 0; - var $$0$i$i = 0, $1 = 0, $3 = 0, $6 = 0, $7 = 0; - $1 = HEAP32[$0 >> 2] | 0; - if ($1 | 0) { - $3 = $0 + 4 | 0; - $$0$i$i = HEAP32[$3 >> 2] | 0; - while (1) { - if (($$0$i$i | 0) == ($1 | 0)) break; - $6 = $$0$i$i + -12 | 0; - __ZNSt3__213__vector_baseINS_6vectorINS_4pairIfmEENS_9allocatorIS3_EEEENS4_IS6_EEED2Ev($6); - $$0$i$i = $6; - } - HEAP32[$3 >> 2] = $1; - $7 = HEAP32[$0 >> 2] | 0; - __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($7, (HEAP32[$0 + 8 >> 2] | 0) - $7 | 0); +function __ZN6vision18VisualDatabaseImplC2Ev($this) { + $this = $this | 0; + var $0 = 0, $call = 0; + HEAP32[$this >> 2] = 0; + HEAP32[$this + 4 >> 2] = 0; + HEAP32[$this + 8 >> 2] = 0; + HEAP32[$this + 12 >> 2] = 0; + HEAP32[$this + 16 >> 2] = 0; + HEAP32[$this + 20 >> 2] = 1065353216; + $call = __Znwm(840) | 0; + __ZN6vision14VisualDatabaseINS_14FREAKExtractorENS_18BinaryFeatureStoreENS_20BinaryFeatureMatcherILi96EEEEC2Ev($call); + $0 = HEAP32[$this >> 2] | 0; + HEAP32[$this >> 2] = $call; + if ($0 | 0) { + __ZN6vision14VisualDatabaseINS_14FREAKExtractorENS_18BinaryFeatureStoreENS_20BinaryFeatureMatcherILi96EEEED2Ev($0); + __ZdlPv($0); } return; } -function __ZN6vision16Multiply_3x3_3x1IfEEvPT_PKS1_S4_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $14 = 0, $8 = 0; - $8 = $2 + 4 | 0; - $14 = $2 + 8 | 0; - HEAPF32[$0 >> 2] = +HEAPF32[$1 >> 2] * +HEAPF32[$2 >> 2] + +HEAPF32[$1 + 4 >> 2] * +HEAPF32[$8 >> 2] + +HEAPF32[$1 + 8 >> 2] * +HEAPF32[$14 >> 2]; - HEAPF32[$0 + 4 >> 2] = +HEAPF32[$1 + 12 >> 2] * +HEAPF32[$2 >> 2] + +HEAPF32[$1 + 16 >> 2] * +HEAPF32[$8 >> 2] + +HEAPF32[$1 + 20 >> 2] * +HEAPF32[$14 >> 2]; - HEAPF32[$0 + 8 >> 2] = +HEAPF32[$1 + 24 >> 2] * +HEAPF32[$2 >> 2] + +HEAPF32[$1 + 28 >> 2] * +HEAPF32[$8 >> 2] + +HEAPF32[$1 + 32 >> 2] * +HEAPF32[$14 >> 2]; - return; -} - function __ZN10emscripten8functionIvJiEJEEEvPKcPFT_DpT0_EDpT1_($name, $fn) { $name = $name | 0; $fn = $fn | 0; @@ -95840,61 +97516,20 @@ function __ZN10emscripten8functionIvJiEJEEEvPKcPFT_DpT0_EDpT1_($name, $fn) { return; } -function __ZNSt3__26vectorIN6vision12FeaturePointENS_9allocatorIS2_EEE11__vallocateEm($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $5 = 0, $7 = 0; - if ((__ZNKSt3__26vectorIN6vision12FeaturePointENS_9allocatorIS2_EEE8max_sizeEv($0) | 0) >>> 0 < $1 >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv($0); - if ($1 >>> 0 > 214748364) { - $5 = ___cxa_allocate_exception(8) | 0; - __ZNSt11logic_errorC2EPKc($5, 41481); - HEAP32[$5 >> 2] = 17472; - ___cxa_throw($5 | 0, 13960, 22); - } else { - $7 = __Znwm($1 * 20 | 0) | 0; - HEAP32[$0 + 4 >> 2] = $7; - HEAP32[$0 >> 2] = $7; - HEAP32[$0 + 8 >> 2] = $7 + ($1 * 20 | 0); - return; - } -} - -function __ZNK12_GLOBAL__N_116itanium_demangle8BoolExpr9printLeftERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$byval_copy = 0, $2 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $$byval_copy = sp + 8 | 0; - $2 = sp; - if (!(HEAP8[$0 + 8 >> 0] | 0)) __ZN12_GLOBAL__N_110StringViewC2EPKc($2, 61026); else __ZN12_GLOBAL__N_110StringViewC2EPKc($2, 61032); - HEAP32[$$byval_copy >> 2] = HEAP32[$2 >> 2]; - HEAP32[$$byval_copy + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($1, $$byval_copy); - STACKTOP = sp; +function __ZN6vision35MultiplyPointHomographyInhomogenousIfEEvPT_PKS1_S4_($xp, $H, $x) { + $xp = $xp | 0; + $H = $H | 0; + $x = $x | 0; + var $1 = 0.0, $3 = 0.0, $add6 = 0.0, $arrayidx3 = 0; + $1 = +HEAPF32[$x >> 2]; + $arrayidx3 = $x + 4 | 0; + $3 = +HEAPF32[$arrayidx3 >> 2]; + $add6 = +HEAPF32[$H + 32 >> 2] + (+HEAPF32[$H + 24 >> 2] * $1 + +HEAPF32[$H + 28 >> 2] * $3); + HEAPF32[$xp >> 2] = (+HEAPF32[$H + 8 >> 2] + ($1 * +HEAPF32[$H >> 2] + $3 * +HEAPF32[$H + 4 >> 2])) / $add6; + HEAPF32[$xp + 4 >> 2] = (+HEAPF32[$H + 20 >> 2] + (+HEAPF32[$H + 12 >> 2] * +HEAPF32[$x >> 2] + +HEAPF32[$H + 16 >> 2] * +HEAPF32[$arrayidx3 >> 2])) / $add6; return; } -function __ZNK12_GLOBAL__N_116itanium_demangle24ForwardTemplateReference12hasArraySlowERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $2 = 0, $3 = 0, $8 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $2 = sp; - $3 = $0 + 16 | 0; - if (!(HEAP8[$3 >> 0] | 0)) { - __ZN12_GLOBAL__N_114SwapAndRestoreIbEC2ERbb($2, $3, 1); - $8 = __ZNK12_GLOBAL__N_116itanium_demangle4Node8hasArrayERNS_12OutputStreamE(HEAP32[$0 + 12 >> 2] | 0, $1) | 0; - __ZN12_GLOBAL__N_114SwapAndRestoreIbED2Ev($2); - $$0 = $8; - } else $$0 = 0; - STACKTOP = sp; - return $$0 | 0; -} - function __ZN10emscripten8functionIiJiEJEEEvPKcPFT_DpT0_EDpT1_($name, $fn) { $name = $name | 0; $fn = $fn | 0; @@ -95910,64 +97545,30 @@ function __ZN10emscripten8functionIiJiEJEEEvPKcPFT_DpT0_EDpT1_($name, $fn) { return; } -function __ZN10emscripten8functionIdJiEJEEEvPKcPFT_DpT0_EDpT1_($name, $fn) { - $name = $name | 0; - $fn = $fn | 0; - var $args = 0, $call = 0, $call1 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $args = sp; - $call = __ZNK10emscripten8internal12WithPoliciesIJEE11ArgTypeListIJdiEE8getCountEv($args) | 0; - $call1 = __ZNK10emscripten8internal12WithPoliciesIJEE11ArgTypeListIJdiEE8getTypesEv($args) | 0; - __embind_register_function($name | 0, $call | 0, $call1 | 0, __ZN10emscripten8internal19getGenericSignatureIJdiiEEEPKcv() | 0, 1, $fn | 0); - STACKTOP = sp; - return; -} - -function __ZNK10__cxxabiv117__class_type_info24process_found_base_classEPNS_19__dynamic_cast_infoEPvi($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $10 = 0, $13 = 0, $4 = 0, $5 = 0; - $4 = $1 + 16 | 0; - $5 = HEAP32[$4 >> 2] | 0; - do if ($5) { - if (($5 | 0) != ($2 | 0)) { - $13 = $1 + 36 | 0; - HEAP32[$13 >> 2] = (HEAP32[$13 >> 2] | 0) + 1; - HEAP32[$1 + 24 >> 2] = 2; - HEAP8[$1 + 54 >> 0] = 1; - break; - } - $10 = $1 + 24 | 0; - if ((HEAP32[$10 >> 2] | 0) == 2) HEAP32[$10 >> 2] = $3; - } else { - HEAP32[$4 >> 2] = $2; - HEAP32[$1 + 24 >> 2] = $3; - HEAP32[$1 + 36 >> 2] = 1; - } while (0); +function __ZNK10__cxxabiv120__si_class_type_info27has_unambiguous_public_baseEPNS_19__dynamic_cast_infoEPvi($this, $info, $adjustedPtr, $path_below) { + $this = $this | 0; + $info = $info | 0; + $adjustedPtr = $adjustedPtr | 0; + $path_below = $path_below | 0; + var $1 = 0; + if (__ZL8is_equalPKSt9type_infoS1_b($this, HEAP32[$info + 8 >> 2] | 0, 0) | 0) __ZNK10__cxxabiv117__class_type_info24process_found_base_classEPNS_19__dynamic_cast_infoEPvi(0, $info, $adjustedPtr, $path_below); else { + $1 = HEAP32[$this + 8 >> 2] | 0; + FUNCTION_TABLE_viiii[HEAP32[(HEAP32[$1 >> 2] | 0) + 28 >> 2] & 31]($1, $info, $adjustedPtr, $path_below); + } return; } -function __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_24ForwardTemplateReferenceELm4EE9push_backERKS3_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $11 = 0, $2 = 0, $3 = 0, $9 = 0; - $2 = $0 + 4 | 0; - $3 = HEAP32[$2 >> 2] | 0; - if (($3 | 0) == (HEAP32[$0 + 8 >> 2] | 0)) { - __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_24ForwardTemplateReferenceELm4EE7reserveEm($0, (__ZNK12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_24ForwardTemplateReferenceELm4EE4sizeEv($0) | 0) << 1); - $11 = HEAP32[$2 >> 2] | 0; - } else $11 = $3; - $9 = HEAP32[$1 >> 2] | 0; - HEAP32[$2 >> 2] = $11 + 4; - HEAP32[$11 >> 2] = $9; - return; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_12FunctionTypeEJRPNS0_4NodeERNS0_9NodeArrayERNS0_10QualifiersERNS0_15FunctionRefQualESA_EEES9_DpOT0_($this, $args, $args1, $args3, $args5, $args7) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + $args3 = $args3 | 0; + $args5 = $args5 | 0; + $args7 = $args7 | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle12FunctionTypeEJRPNS2_4NodeERNS2_9NodeArrayERNS2_10QualifiersERNS2_15FunctionRefQualES6_EEEPT_DpOT0_($this + 368 | 0, $args, $args1, $args3, $args5, $args7) | 0; } -function __ZN10emscripten8functionIiJEJEEEvPKcPFT_DpT0_EDpT1_($name, $fn) { +function __ZN10emscripten8functionIdJiEJEEEvPKcPFT_DpT0_EDpT1_($name, $fn) { $name = $name | 0; $fn = $fn | 0; var $args = 0, $call = 0, $call1 = 0, sp = 0; @@ -95975,530 +97576,99 @@ function __ZN10emscripten8functionIiJEJEEEvPKcPFT_DpT0_EDpT1_($name, $fn) { STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); $args = sp; - $call = __ZNK10emscripten8internal12WithPoliciesIJEE11ArgTypeListIJiEE8getCountEv($args) | 0; - $call1 = __ZNK10emscripten8internal12WithPoliciesIJEE11ArgTypeListIJiEE8getTypesEv($args) | 0; - __embind_register_function($name | 0, $call | 0, $call1 | 0, __ZN10emscripten8internal19getGenericSignatureIJiiEEEPKcv() | 0, 82, $fn | 0); + $call = __ZNK10emscripten8internal12WithPoliciesIJEE11ArgTypeListIJdiEE8getCountEv($args) | 0; + $call1 = __ZNK10emscripten8internal12WithPoliciesIJEE11ArgTypeListIJdiEE8getTypesEv($args) | 0; + __embind_register_function($name | 0, $call | 0, $call1 | 0, __ZN10emscripten8internal19getGenericSignatureIJdiiEEEPKcv() | 0, 1, $fn | 0); STACKTOP = sp; return; } -function _kpmUtilResizeImage($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$0 = 0; - switch ($3 | 0) { - case 1: - { - $$0 = __ZL14genBWImageFullPhiiPiS0_($0, $1, $2, $4, $5) | 0; - break; - } - case 5: - { - $$0 = __ZL18genBWImageTwoThirdPhiiPiS0_($0, $1, $2, $4, $5) | 0; - break; - } - case 2: - { - $$0 = __ZL14genBWImageHalfPhiiPiS0_($0, $1, $2, $4, $5) | 0; - break; - } - case 4: - { - $$0 = __ZL18genBWImageOneThirdPhiiPiS0_($0, $1, $2, $4, $5) | 0; - break; - } - default: - $$0 = __ZL15genBWImageQuartPhiiPiS0_($0, $1, $2, $4, $5) | 0; - } - return $$0 | 0; -} - -function __ZNSt3__26vectorIN6vision7Point3dIfEENS_9allocatorIS3_EEE11__vallocateEm($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $5 = 0, $7 = 0; - if ((__ZNKSt3__26vectorIN6vision7Point3dIfEENS_9allocatorIS3_EEE8max_sizeEv($0) | 0) >>> 0 < $1 >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv($0); - if ($1 >>> 0 > 357913941) { - $5 = ___cxa_allocate_exception(8) | 0; - __ZNSt11logic_errorC2EPKc($5, 41481); - HEAP32[$5 >> 2] = 17472; - ___cxa_throw($5 | 0, 13960, 22); - } else { - $7 = __Znwm($1 * 12 | 0) | 0; - HEAP32[$0 + 4 >> 2] = $7; - HEAP32[$0 >> 2] = $7; - HEAP32[$0 + 8 >> 2] = $7 + ($1 * 12 | 0); - return; - } -} - -function __ZN12_GLOBAL__N_116itanium_demangle13EnclosingExprC2ENS_10StringViewEPNS0_4NodeES2_($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $10 = 0, $11 = 0, $17 = 0, $22 = 0, $23 = 0, $5 = 0; - __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($0, 47, 1, 1, 1); - HEAP32[$0 >> 2] = 18396; - $5 = $1; - $10 = HEAP32[$5 + 4 >> 2] | 0; - $11 = $0 + 8 | 0; - HEAP32[$11 >> 2] = HEAP32[$5 >> 2]; - HEAP32[$11 + 4 >> 2] = $10; - HEAP32[$0 + 16 >> 2] = $2; - $17 = $3; - $22 = HEAP32[$17 + 4 >> 2] | 0; - $23 = $0 + 20 | 0; - HEAP32[$23 >> 2] = HEAP32[$17 >> 2]; - HEAP32[$23 + 4 >> 2] = $22; +function __ZNSt3__26vectorIN6vision25DoGScaleInvariantDetector12FeaturePointENS_9allocatorIS3_EEE6resizeEm($this, $__sz) { + $this = $this | 0; + $__sz = $__sz | 0; + var $1 = 0, $2 = 0, $__end_$i = 0, $sub$ptr$div$i = 0; + $__end_$i = $this + 4 | 0; + $1 = HEAP32[$this >> 2] | 0; + $sub$ptr$div$i = ((HEAP32[$__end_$i >> 2] | 0) - $1 | 0) / 36 | 0; + $2 = $1; + if ($sub$ptr$div$i >>> 0 >= $__sz >>> 0) { + if ($sub$ptr$div$i >>> 0 > $__sz >>> 0) HEAP32[$__end_$i >> 2] = $2 + ($__sz * 36 | 0); + } else __ZNSt3__26vectorIN6vision25DoGScaleInvariantDetector12FeaturePointENS_9allocatorIS3_EEE8__appendEm($this, $__sz - $sub$ptr$div$i | 0); return; } -function __ZN12_GLOBAL__N_116itanium_demangle12FunctionTypeC2EPKNS0_4NodeENS0_9NodeArrayENS0_10QualifiersENS0_15FunctionRefQualES4_($0, $1, $2, $3, $4, $5) { +function _fmt_x($0, $1, $s, $lower) { $0 = $0 | 0; $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $13 = 0, $14 = 0, $8 = 0; - __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($0, 15, 0, 1, 0); - HEAP32[$0 >> 2] = 20200; - HEAP32[$0 + 8 >> 2] = $1; - $8 = $2; - $13 = HEAP32[$8 + 4 >> 2] | 0; - $14 = $0 + 12 | 0; - HEAP32[$14 >> 2] = HEAP32[$8 >> 2]; - HEAP32[$14 + 4 >> 2] = $13; - HEAP32[$0 + 20 >> 2] = $3; - HEAP8[$0 + 24 >> 0] = $4; - HEAP32[$0 + 28 >> 2] = $5; - return; -} - -function _icpCreateHandle($0) { - $0 = $0 | 0; - var $$0 = 0, $$022 = 0, $$023 = 0, $1 = 0; - $1 = _malloc(136) | 0; - if (!$1) $$023 = 0; else { - $$0 = 0; + $s = $s | 0; + $lower = $lower | 0; + var $5 = 0, $7 = 0, $incdec$ptr = 0, $s$addr$0$lcssa = 0, $s$addr$06 = 0; + if (($0 | 0) == 0 & ($1 | 0) == 0) $s$addr$0$lcssa = $s; else { + $5 = $0; + $7 = $1; + $s$addr$06 = $s; while (1) { - if (($$0 | 0) == 3) break; - $$022 = 0; - while (1) { - if (($$022 | 0) == 4) break; - HEAPF64[$1 + ($$0 << 5) + ($$022 << 3) >> 3] = +HEAPF64[$0 + ($$0 << 5) + ($$022 << 3) >> 3]; - $$022 = $$022 + 1 | 0; - } - $$0 = $$0 + 1 | 0; + $incdec$ptr = $s$addr$06 + -1 | 0; + HEAP8[$incdec$ptr >> 0] = HEAPU8[8656 + ($5 & 15) >> 0] | 0 | $lower; + $5 = _bitshift64Lshr($5 | 0, $7 | 0, 4) | 0; + $7 = getTempRet0() | 0; + if (($5 | 0) == 0 & ($7 | 0) == 0) { + $s$addr$0$lcssa = $incdec$ptr; + break; + } else $s$addr$06 = $incdec$ptr; } - HEAP32[$1 + 96 >> 2] = 10; - HEAPF64[$1 + 104 >> 3] = .10000000149011612; - HEAPF64[$1 + 112 >> 3] = .9900000095367432; - HEAPF64[$1 + 120 >> 3] = 4.0; - HEAPF64[$1 + 128 >> 3] = .5; - $$023 = $1; - } - return $$023 | 0; -} - -function _arParamObserv2IdealLTf($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = +$1; - $2 = +$2; - $3 = $3 | 0; - $4 = $4 | 0; - var $$0 = 0, $14 = 0, $17 = 0, $28 = 0, $9 = 0; - $9 = (HEAP32[$0 + 16 >> 2] | 0) + ~~($1 + .5) | 0; - $14 = (HEAP32[$0 + 20 >> 2] | 0) + ~~($2 + .5) | 0; - if ((($9 | 0) >= 0 ? ($17 = HEAP32[$0 + 8 >> 2] | 0, !(($14 | 0) < 0 | ($9 | 0) >= ($17 | 0))) : 0) ? ($14 | 0) < (HEAP32[$0 + 12 >> 2] | 0) : 0) { - $28 = (HEAP32[$0 + 4 >> 2] | 0) + ((Math_imul($17, $14) | 0) + $9 << 1 << 2) | 0; - HEAP32[$3 >> 2] = HEAP32[$28 >> 2]; - HEAP32[$4 >> 2] = HEAP32[$28 + 4 >> 2]; - $$0 = 0; - } else $$0 = -1; - return $$0 | 0; -} - -function __ZN6vision28BinaryHierarchicalClusteringILi96EEC2Ev($0) { - $0 = $0 | 0; - var $3 = 0, $4 = 0; - HEAP32[$0 >> 2] = 1234; - HEAP32[$0 + 4 >> 2] = 0; - HEAP32[$0 + 8 >> 2] = 0; - $3 = $0 + 12 | 0; - __ZN6vision14BinarykMedoidsILi96EEC2ERi($3, $0); - $4 = $0 + 72 | 0; - HEAP32[$0 + 100 >> 2] = 0; - HEAP32[$0 + 104 >> 2] = 0; - HEAP32[$4 >> 2] = 0; - HEAP32[$4 + 4 >> 2] = 0; - HEAP32[$4 + 8 >> 2] = 0; - HEAP32[$4 + 12 >> 2] = 0; - HEAP32[$4 + 16 >> 2] = 0; - HEAP32[$4 + 20 >> 2] = 0; - HEAP32[$0 + 108 >> 2] = 16; - __ZN6vision14BinarykMedoidsILi96EE4setkEi($3, 8); - __ZN6vision14BinarykMedoidsILi96EE16setNumHypothesesEi($3, 1); - return; -} - -function __ZNK12_GLOBAL__N_116itanium_demangle13ObjCProtoName12isObjCObjectEv($0) { - $0 = $0 | 0; - var $1 = 0, $2 = 0, $4 = 0, $8 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $1 = sp + 8 | 0; - $2 = sp; - $4 = HEAP32[$0 + 8 >> 2] | 0; - if ((__ZNK12_GLOBAL__N_116itanium_demangle4Node7getKindEv($4) | 0) << 24 >> 24 == 7) { - __ZNK12_GLOBAL__N_116itanium_demangle8NameType7getNameEv($1, $4); - __ZN12_GLOBAL__N_110StringViewC2EPKc($2, 52025); - $8 = __ZN12_GLOBAL__N_1eqERKNS_10StringViewES2_($1, $2) | 0; - } else $8 = 0; - STACKTOP = sp; - return $8 | 0; -} - -function ___stdio_seek($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $11 = 0, $17 = 0, $21 = 0, $22 = 0, $4 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $4 = sp; - if (!(___wasi_syscall_ret(___wasi_fd_seek(HEAP32[$0 + 60 >> 2] | 0, $1 | 0, $2 | 0, $3 & 255 | 0, $4 | 0) | 0) | 0)) { - $11 = $4; - $21 = HEAP32[$11 + 4 >> 2] | 0; - $22 = HEAP32[$11 >> 2] | 0; - } else { - $17 = $4; - HEAP32[$17 >> 2] = -1; - HEAP32[$17 + 4 >> 2] = -1; - $21 = -1; - $22 = -1; - } - setTempRet0($21 | 0); - STACKTOP = sp; - return $22 | 0; -} - -function __ZNSt3__26vectorIN6vision7Point2dIfEENS_9allocatorIS3_EEE11__vallocateEm($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $5 = 0, $7 = 0; - if ((__ZNKSt3__26vectorIN6vision7Point2dIfEENS_9allocatorIS3_EEE8max_sizeEv($0) | 0) >>> 0 < $1 >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv($0); - if ($1 >>> 0 > 536870911) { - $5 = ___cxa_allocate_exception(8) | 0; - __ZNSt11logic_errorC2EPKc($5, 41481); - HEAP32[$5 >> 2] = 17472; - ___cxa_throw($5 | 0, 13960, 22); - } else { - $7 = __Znwm($1 << 3) | 0; - HEAP32[$0 + 4 >> 2] = $7; - HEAP32[$0 >> 2] = $7; - HEAP32[$0 + 8 >> 2] = $7 + ($1 << 3); - return; } + return $s$addr$0$lcssa | 0; } -function _arParamIdeal2ObservLTf($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = +$1; - $2 = +$2; - $3 = $3 | 0; - $4 = $4 | 0; - var $$0 = 0, $14 = 0, $17 = 0, $27 = 0, $9 = 0; - $9 = (HEAP32[$0 + 16 >> 2] | 0) + ~~($1 + .5) | 0; - $14 = (HEAP32[$0 + 20 >> 2] | 0) + ~~($2 + .5) | 0; - if ((($9 | 0) >= 0 ? ($17 = HEAP32[$0 + 8 >> 2] | 0, !(($14 | 0) < 0 | ($9 | 0) >= ($17 | 0))) : 0) ? ($14 | 0) < (HEAP32[$0 + 12 >> 2] | 0) : 0) { - $27 = (HEAP32[$0 >> 2] | 0) + ((Math_imul($17, $14) | 0) + $9 << 1 << 2) | 0; - HEAP32[$3 >> 2] = HEAP32[$27 >> 2]; - HEAP32[$4 >> 2] = HEAP32[$27 + 4 >> 2]; - $$0 = 0; - } else $$0 = -1; - return $$0 | 0; -} - -function __ZNSt3__26vectorIPNS_6locale5facetENS_15__sso_allocatorIS3_Lm28EEEE11__vallocateEm($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0$i$i$in = 0, $4 = 0; - if ((__ZNKSt3__26vectorIPNS_6locale5facetENS_15__sso_allocatorIS3_Lm28EEEE8max_sizeEv($0) | 0) >>> 0 < $1 >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv($0); - $4 = $0 + 128 | 0; - if ($1 >>> 0 < 29 & (HEAP8[$4 >> 0] | 0) == 0) { - HEAP8[$4 >> 0] = 1; - $$0$i$i$in = $0 + 16 | 0; - } else $$0$i$i$in = __Znwm($1 << 2) | 0; - HEAP32[$0 + 4 >> 2] = $$0$i$i$in; - HEAP32[$0 >> 2] = $$0$i$i$in; - HEAP32[$0 + 8 >> 2] = $$0$i$i$in + ($1 << 2); - return; -} - -function __ZN6vision9MaxIndex8IfEEiPKT_($0) { - $0 = $0 | 0; - var $$0 = 0, $$1 = 0, $$2 = 0, $$3 = 0, $$4 = 0, $$5 = 0; - $$0 = +HEAPF32[$0 + 4 >> 2] > +HEAPF32[$0 >> 2] & 1; - $$1 = +HEAPF32[$0 + 8 >> 2] > +HEAPF32[$0 + ($$0 << 2) >> 2] ? 2 : $$0; - $$2 = +HEAPF32[$0 + 12 >> 2] > +HEAPF32[$0 + ($$1 << 2) >> 2] ? 3 : $$1; - $$3 = +HEAPF32[$0 + 16 >> 2] > +HEAPF32[$0 + ($$2 << 2) >> 2] ? 4 : $$2; - $$4 = +HEAPF32[$0 + 20 >> 2] > +HEAPF32[$0 + ($$3 << 2) >> 2] ? 5 : $$3; - $$5 = +HEAPF32[$0 + 24 >> 2] > +HEAPF32[$0 + ($$4 << 2) >> 2] ? 6 : $$4; - return (+HEAPF32[$0 + 28 >> 2] > +HEAPF32[$0 + ($$5 << 2) >> 2] ? 7 : $$5) | 0; -} - -function __ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_6vectorIN6vision7Point3dIfEENS_9allocatorIS5_EEEEEENS_22__unordered_map_hasherIiS9_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS9_NS_8equal_toIiEELb1EEENS6_IS9_EEE17__deallocate_nodeEPNS_16__hash_node_baseIPNS_11__hash_nodeIS9_PvEEEE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $3 = 0; - $$0 = $1; +function __ZNKSt3__25ctypeIwE5do_isEPKwS3_Pt($this, $low, $high, $vec) { + $this = $this | 0; + $low = $low | 0; + $high = $high | 0; + $vec = $vec | 0; + var $call = 0, $cond = 0, $low$addr$0 = 0, $vec$addr$0 = 0; + $low$addr$0 = $low; + $vec$addr$0 = $vec; while (1) { - if (!$$0) break; - $3 = HEAP32[$$0 >> 2] | 0; - __ZNSt3__24pairIKiNS_6vectorIN6vision7Point3dIfEENS_9allocatorIS5_EEEEED2Ev($$0 + 8 | 0); - __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($$0, 24); - $$0 = $3; - } - return; -} - -function _strcmp($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$011 = 0, $$0710 = 0, $$lcssa = 0, $$lcssa8 = 0, $2 = 0, $3 = 0, $8 = 0, $9 = 0; - $2 = HEAP8[$0 >> 0] | 0; - $3 = HEAP8[$1 >> 0] | 0; - if ($2 << 24 >> 24 == 0 ? 1 : $2 << 24 >> 24 != $3 << 24 >> 24) { - $$lcssa = $3; - $$lcssa8 = $2; - } else { - $$011 = $1; - $$0710 = $0; - do { - $$0710 = $$0710 + 1 | 0; - $$011 = $$011 + 1 | 0; - $8 = HEAP8[$$0710 >> 0] | 0; - $9 = HEAP8[$$011 >> 0] | 0; - } while (!($8 << 24 >> 24 == 0 ? 1 : $8 << 24 >> 24 != $9 << 24 >> 24)); - $$lcssa = $9; - $$lcssa8 = $8; + if (($low$addr$0 | 0) == ($high | 0)) break; + if ((HEAP32[$low$addr$0 >> 2] | 0) >>> 0 < 128) { + $call = __ZNSt3__25ctypeIcE13classic_tableEv() | 0; + $cond = HEAPU16[$call + (HEAP32[$low$addr$0 >> 2] << 1) >> 1] | 0; + } else $cond = 0; + HEAP16[$vec$addr$0 >> 1] = $cond; + $low$addr$0 = $low$addr$0 + 4 | 0; + $vec$addr$0 = $vec$addr$0 + 2 | 0; } - return ($$lcssa8 & 255) - ($$lcssa & 255) | 0; -} - -function __ZNSt3__29__num_getIwE17__stage2_int_prepERNS_8ios_baseERw($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0, $4 = 0, $8 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $3 = sp; - __ZNKSt3__28ios_base6getlocEv($3, $1); - $4 = __ZNKSt3__26locale9use_facetERNS0_2idE($3, 66552) | 0; - $8 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$4 >> 2] | 0) + 16 >> 2] & 127]($4) | 0; - HEAP32[$2 >> 2] = $8; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$4 >> 2] | 0) + 20 >> 2] & 255]($0, $4); - __ZNSt3__26localeD2Ev($3); - STACKTOP = sp; - return; -} - -function __ZNSt3__29__num_getIcE17__stage2_int_prepERNS_8ios_baseERc($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0, $4 = 0, $8 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $3 = sp; - __ZNKSt3__28ios_base6getlocEv($3, $1); - $4 = __ZNKSt3__26locale9use_facetERNS0_2idE($3, 66528) | 0; - $8 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$4 >> 2] | 0) + 16 >> 2] & 127]($4) | 0; - HEAP8[$2 >> 0] = $8; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$4 >> 2] | 0) + 20 >> 2] & 255]($0, $4); - __ZNSt3__26localeD2Ev($3); - STACKTOP = sp; - return; -} - -function __ZNK12_GLOBAL__N_116itanium_demangle13ParameterPack13getSyntaxNodeERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $12 = 0, $3 = 0, $4 = 0, $7 = 0; - __ZNK12_GLOBAL__N_116itanium_demangle13ParameterPack23initializePackExpansionERNS_12OutputStreamE($0, $1); - $3 = HEAP32[$1 + 12 >> 2] | 0; - $4 = $0 + 8 | 0; - if ($3 >>> 0 < (__ZNK12_GLOBAL__N_116itanium_demangle9NodeArray4sizeEv($4) | 0) >>> 0) { - $7 = __ZNK12_GLOBAL__N_116itanium_demangle9NodeArrayixEm($4, $3) | 0; - $12 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$7 >> 2] | 0) + 12 >> 2] & 127]($7, $1) | 0; - } else $12 = $0; - return $12 | 0; -} - -function __ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = +$1; - $2 = +$2; - $3 = $3 | 0; - $4 = $4 | 0; - var $10 = 0.0, $5 = 0, $6 = 0, $7 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $5 = sp + 4 | 0; - $6 = sp; - $7 = __ZNK6vision25GaussianScaleSpacePyramid3getEmm($0, $3, $4) | 0; - __ZN6vision25bilinear_downsample_pointERfS0_ffi($5, $6, $1, $2, $3); - $10 = +__ZN6vision14SampleReceptorERKNS_5ImageEff($7, +HEAPF32[$5 >> 2], +HEAPF32[$6 >> 2]); - STACKTOP = sp; - return +$10; + return $high | 0; } -function __ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_10shared_ptrIN6vision8KeyframeILi96EEEEEEENS_22__unordered_map_hasherIiS7_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS7_NS_8equal_toIiEELb1EEENS_9allocatorIS7_EEE17__deallocate_nodeEPNS_16__hash_node_baseIPNS_11__hash_nodeIS7_PvEEEE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $3 = 0; - $$0 = $1; - while (1) { - if (!$$0) break; - $3 = HEAP32[$$0 >> 2] | 0; - __ZNSt3__24pairIKiNS_10shared_ptrIN6vision8KeyframeILi96EEEEEED2Ev($$0 + 8 | 0); - __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($$0, 20); - $$0 = $3; - } - return; +function __ZN6vision9MaxIndex7IfEEiPKT_($x) { + $x = $x | 0; + var $index$0 = 0, $index$1 = 0, $index$2 = 0, $index$3 = 0, $index$4 = 0; + $index$0 = +HEAPF32[$x + 4 >> 2] > +HEAPF32[$x >> 2] & 1; + $index$1 = +HEAPF32[$x + 8 >> 2] > +HEAPF32[$x + ($index$0 << 2) >> 2] ? 2 : $index$0; + $index$2 = +HEAPF32[$x + 12 >> 2] > +HEAPF32[$x + ($index$1 << 2) >> 2] ? 3 : $index$1; + $index$3 = +HEAPF32[$x + 16 >> 2] > +HEAPF32[$x + ($index$2 << 2) >> 2] ? 4 : $index$2; + $index$4 = +HEAPF32[$x + 20 >> 2] > +HEAPF32[$x + ($index$3 << 2) >> 2] ? 5 : $index$3; + return (+HEAPF32[$x + 24 >> 2] > +HEAPF32[$x + ($index$4 << 2) >> 2] ? 6 : $index$4) | 0; } -function __ZNK6vision20VisualDatabaseFacade21getQueryFeaturePointsEv($0) { - $0 = $0 | 0; - var $1 = 0, $6 = 0, sp = 0; +function __ZN10emscripten8functionIiJEJEEEvPKcPFT_DpT0_EDpT1_($name, $fn) { + $name = $name | 0; + $fn = $fn | 0; + var $args = 0, $call = 0, $call1 = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $1 = sp; - __ZNK6vision14VisualDatabaseINS_14FREAKExtractorENS_18BinaryFeatureStoreENS_20BinaryFeatureMatcherILi96EEEE13queryKeyframeEv($1, HEAP32[HEAP32[$0 >> 2] >> 2] | 0); - $6 = __ZN6vision18BinaryFeatureStore6pointsEv(__ZN6vision8KeyframeILi96EE5storeEv(HEAP32[$1 >> 2] | 0) | 0) | 0; - __ZNSt3__210shared_ptrIN6vision8KeyframeILi96EEEED2Ev($1); + $args = sp; + $call = __ZNK10emscripten8internal12WithPoliciesIJEE11ArgTypeListIJiEE8getCountEv($args) | 0; + $call1 = __ZNK10emscripten8internal12WithPoliciesIJEE11ArgTypeListIJiEE8getTypesEv($args) | 0; + __embind_register_function($name | 0, $call | 0, $call1 | 0, __ZN10emscripten8internal19getGenericSignatureIJiiEEEPKcv() | 0, 82, $fn | 0); STACKTOP = sp; - return $6 | 0; -} - -function __ZNSt3__213__vector_baseINS_6vectorINS_4pairIfmEENS_9allocatorIS3_EEEENS4_IS6_EEED2Ev($0) { - $0 = $0 | 0; - var $$0$i$i = 0, $1 = 0, $3 = 0, $6 = 0, $7 = 0; - $1 = HEAP32[$0 >> 2] | 0; - if ($1 | 0) { - $3 = $0 + 4 | 0; - $$0$i$i = HEAP32[$3 >> 2] | 0; - while (1) { - if (($$0$i$i | 0) == ($1 | 0)) break; - $6 = $$0$i$i + -12 | 0; - __ZNSt3__213__vector_baseINS_4pairIfmEENS_9allocatorIS2_EEED2Ev($6); - $$0$i$i = $6; - } - HEAP32[$3 >> 2] = $1; - $7 = HEAP32[$0 >> 2] | 0; - __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($7, (HEAP32[$0 + 8 >> 2] | 0) - $7 | 0); - } - return; -} - -function __ZNSt3__210__stdinbufIwE5imbueERKNS_6localeE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $15 = 0, $2 = 0, $3 = 0, $7 = 0, $8 = 0, $9 = 0; - $2 = __ZNKSt3__26locale9use_facetERNS0_2idE($1, 66824) | 0; - $3 = $0 + 36 | 0; - HEAP32[$3 >> 2] = $2; - $7 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$2 >> 2] | 0) + 24 >> 2] & 127]($2) | 0; - $8 = $0 + 44 | 0; - HEAP32[$8 >> 2] = $7; - $9 = HEAP32[$3 >> 2] | 0; - $15 = (FUNCTION_TABLE_ii[HEAP32[(HEAP32[$9 >> 2] | 0) + 28 >> 2] & 127]($9) | 0) & 1; - HEAP8[$0 + 53 >> 0] = $15; - if ((HEAP32[$8 >> 2] | 0) > 8) __ZNSt3__221__throw_runtime_errorEPKc(58820); else return; -} - -function __ZNSt3__210__stdinbufIcE5imbueERKNS_6localeE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $15 = 0, $2 = 0, $3 = 0, $7 = 0, $8 = 0, $9 = 0; - $2 = __ZNKSt3__26locale9use_facetERNS0_2idE($1, 66816) | 0; - $3 = $0 + 36 | 0; - HEAP32[$3 >> 2] = $2; - $7 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$2 >> 2] | 0) + 24 >> 2] & 127]($2) | 0; - $8 = $0 + 44 | 0; - HEAP32[$8 >> 2] = $7; - $9 = HEAP32[$3 >> 2] | 0; - $15 = (FUNCTION_TABLE_ii[HEAP32[(HEAP32[$9 >> 2] | 0) + 28 >> 2] & 127]($9) | 0) & 1; - HEAP8[$0 + 53 >> 0] = $15; - if ((HEAP32[$8 >> 2] | 0) > 8) __ZNSt3__221__throw_runtime_errorEPKc(58820); else return; -} - -function __ZN6vision21HoughSimilarityVotingC2Ev($0) { - $0 = $0 | 0; - var $3 = 0, $4 = 0, dest = 0, stop = 0; - HEAP32[$0 >> 2] = 0; - HEAP32[$0 + 4 >> 2] = 0; - HEAP32[$0 + 8 >> 2] = 0; - HEAP32[$0 + 12 >> 2] = 0; - HEAP8[$0 + 16 >> 0] = 1; - $3 = $0 + 108 | 0; - dest = $0 + 20 | 0; - stop = dest + 88 | 0; - do { - HEAP32[dest >> 2] = 0; - dest = dest + 4 | 0; - } while ((dest | 0) < (stop | 0)); - HEAP32[$3 >> 2] = 1065353216; - $4 = $0 + 112 | 0; - HEAP32[$4 >> 2] = 0; - HEAP32[$4 + 4 >> 2] = 0; - HEAP32[$4 + 8 >> 2] = 0; - HEAP32[$4 + 12 >> 2] = 0; - HEAP32[$4 + 16 >> 2] = 0; - HEAP32[$4 + 20 >> 2] = 0; - return; -} - -function __ZNK12_GLOBAL__N_116itanium_demangle13ParameterPack19hasRHSComponentSlowERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $3 = 0, $4 = 0, $9 = 0; - __ZNK12_GLOBAL__N_116itanium_demangle13ParameterPack23initializePackExpansionERNS_12OutputStreamE($0, $1); - $3 = HEAP32[$1 + 12 >> 2] | 0; - $4 = $0 + 8 | 0; - if ($3 >>> 0 < (__ZNK12_GLOBAL__N_116itanium_demangle9NodeArray4sizeEv($4) | 0) >>> 0) $9 = __ZNK12_GLOBAL__N_116itanium_demangle4Node15hasRHSComponentERNS_12OutputStreamE(__ZNK12_GLOBAL__N_116itanium_demangle9NodeArrayixEm($4, $3) | 0, $1) | 0; else $9 = 0; - return $9 | 0; -} - -function __ZN6vision35MultiplyPointHomographyInhomogenousIfEEvPT_PKS1_S4_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $10 = 0.0, $15 = 0.0, $5 = 0.0, $9 = 0; - $5 = +HEAPF32[$2 >> 2]; - $9 = $2 + 4 | 0; - $10 = +HEAPF32[$9 >> 2]; - $15 = +HEAPF32[$1 + 32 >> 2] + (+HEAPF32[$1 + 24 >> 2] * $5 + +HEAPF32[$1 + 28 >> 2] * $10); - HEAPF32[$0 >> 2] = (+HEAPF32[$1 + 8 >> 2] + ($5 * +HEAPF32[$1 >> 2] + $10 * +HEAPF32[$1 + 4 >> 2])) / $15; - HEAPF32[$0 + 4 >> 2] = (+HEAPF32[$1 + 20 >> 2] + (+HEAPF32[$1 + 12 >> 2] * +HEAPF32[$2 >> 2] + +HEAPF32[$1 + 16 >> 2] * +HEAPF32[$9 >> 2])) / $15; return; } -function __ZNSt3__214__split_bufferI12multi_markerRNS_9allocatorIS1_EEED2Ev($this) { +function __ZNSt3__214__split_bufferIN6vision25DoGScaleInvariantDetector12FeaturePointERNS_9allocatorIS3_EEED2Ev($this) { $this = $this | 0; var $0 = 0, $1 = 0, $2 = 0, $__end_$i$i$i = 0, $incdec$ptr$i$i$i = 0; $0 = HEAP32[$this + 4 >> 2] | 0; @@ -96506,7 +97676,7 @@ function __ZNSt3__214__split_bufferI12multi_markerRNS_9allocatorIS1_EEED2Ev($thi $1 = HEAP32[$__end_$i$i$i >> 2] | 0; while (1) { if (($1 | 0) == ($0 | 0)) break; - $incdec$ptr$i$i$i = $1 + -8 | 0; + $incdec$ptr$i$i$i = $1 + -36 | 0; HEAP32[$__end_$i$i$i >> 2] = $incdec$ptr$i$i$i; $1 = $incdec$ptr$i$i$i; } @@ -96515,693 +97685,554 @@ function __ZNSt3__214__split_bufferI12multi_markerRNS_9allocatorIS1_EEED2Ev($thi return; } -function __ZNSt3__214__split_bufferINS_6vectorINS1_INS_4pairIfmEENS_9allocatorIS3_EEEENS4_IS6_EEEERNS4_IS8_EEED2Ev($0) { - $0 = $0 | 0; - var $2 = 0, $3 = 0, $4 = 0, $6 = 0, $7 = 0; - $2 = HEAP32[$0 + 4 >> 2] | 0; - $3 = $0 + 8 | 0; +function __ZNSt3__214__split_bufferIN6vision12FeaturePointERNS_9allocatorIS2_EEED2Ev($this) { + $this = $this | 0; + var $0 = 0, $1 = 0, $2 = 0, $__end_$i$i$i = 0, $incdec$ptr$i$i$i = 0; + $0 = HEAP32[$this + 4 >> 2] | 0; + $__end_$i$i$i = $this + 8 | 0; while (1) { - $4 = HEAP32[$3 >> 2] | 0; - if (($4 | 0) == ($2 | 0)) break; - $6 = $4 + -12 | 0; - HEAP32[$3 >> 2] = $6; - __ZNSt3__213__vector_baseINS_6vectorINS_4pairIfmEENS_9allocatorIS3_EEEENS4_IS6_EEED2Ev($6); + $1 = HEAP32[$__end_$i$i$i >> 2] | 0; + if (($1 | 0) == ($0 | 0)) break; + $incdec$ptr$i$i$i = $1 + -20 | 0; + HEAP32[$__end_$i$i$i >> 2] = $incdec$ptr$i$i$i; + __ZN6vision12FeaturePointD2Ev($incdec$ptr$i$i$i); } - $7 = HEAP32[$0 >> 2] | 0; - if ($7 | 0) __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($7, (HEAP32[$0 + 12 >> 2] | 0) - $7 | 0); + $2 = HEAP32[$this >> 2] | 0; + if ($2 | 0) __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($2, (HEAP32[$this + 12 >> 2] | 0) - $2 | 0); return; } -function __ZN6vision19QuadrilateralConvexIfEEbPKT_S3_S3_S3_($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $12 = 0, $16 = 0, $18 = 0, $5 = 0, $8 = 0; - $5 = +__ZN6vision13LinePointSideIfEET_PKS1_S3_S3_($0, $1, $2) > 0.0; - $8 = +__ZN6vision13LinePointSideIfEET_PKS1_S3_S3_($1, $2, $3) > 0.0; - $12 = +__ZN6vision13LinePointSideIfEET_PKS1_S3_S3_($2, $3, $0) > 0.0; - $16 = +__ZN6vision13LinePointSideIfEET_PKS1_S3_S3_($3, $0, $1) > 0.0; - $18 = ($8 ? 1 : -1) + ($5 ? 1 : -1) + ($12 ? 1 : -1) + ($16 ? 1 : -1) | 0; - return ((($18 | 0) > -1 ? $18 : 0 - $18 | 0) | 0) == 4 | 0; -} - -function __ZN6vision18VisualDatabaseImplC2Ev($0) { - $0 = $0 | 0; - var $2 = 0, $3 = 0; - HEAP32[$0 >> 2] = 0; - HEAP32[$0 + 4 >> 2] = 0; - HEAP32[$0 + 8 >> 2] = 0; - HEAP32[$0 + 12 >> 2] = 0; - HEAP32[$0 + 16 >> 2] = 0; - HEAP32[$0 + 20 >> 2] = 1065353216; - $2 = __Znwm(840) | 0; - __ZN6vision14VisualDatabaseINS_14FREAKExtractorENS_18BinaryFeatureStoreENS_20BinaryFeatureMatcherILi96EEEEC2Ev($2); - $3 = HEAP32[$0 >> 2] | 0; - HEAP32[$0 >> 2] = $2; - if ($3 | 0) { - __ZN6vision14VisualDatabaseINS_14FREAKExtractorENS_18BinaryFeatureStoreENS_20BinaryFeatureMatcherILi96EEEED2Ev($3); - __ZdlPv($3); +function _emit_message($cinfo, $msg_level) { + $cinfo = $cinfo | 0; + $msg_level = $msg_level | 0; + var $0 = 0, $1 = 0, $4 = 0, $num_warnings = 0, label = 0; + $0 = HEAP32[$cinfo >> 2] | 0; + if (($msg_level | 0) >= 0) { + if ((HEAP32[$0 + 104 >> 2] | 0) < ($msg_level | 0)) return; + FUNCTION_TABLE_vi[HEAP32[$0 + 8 >> 2] & 255]($cinfo); + return; } + $num_warnings = $0 + 108 | 0; + $1 = HEAP32[$num_warnings >> 2] | 0; + if (($1 | 0) != 0 ? (HEAP32[$0 + 104 >> 2] | 0) <= 2 : 0) $4 = $1; else { + FUNCTION_TABLE_vi[HEAP32[$0 + 8 >> 2] & 255]($cinfo); + $4 = HEAP32[$num_warnings >> 2] | 0; + } + HEAP32[$num_warnings >> 2] = $4 + 1; return; } -function __ZN6vision16RobustHomographyIfE4findEPfPKfS4_iS4_i($0, $1, $2, $3, $4, $5, $6) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - $6 = $6 | 0; - var $7 = 0; - $7 = $0 + 12 | 0; - __ZNSt3__26vectorIiNS_9allocatorIiEEE6resizeEm($7, $4); - return __ZN6vision26PreemptiveRobustHomographyIfEEbPT_PKS1_S4_iS4_iRNSt3__26vectorIS1_NS5_9allocatorIS1_EEEERNS6_IiNS7_IiEEEERNS6_INS5_4pairIS1_iEENS7_ISF_EEEES1_iii($1, $2, $3, $4, $5, $6, $0, $7, $0 + 24 | 0, +HEAPF32[$0 + 36 >> 2], HEAP32[$0 + 40 >> 2] | 0, HEAP32[$0 + 44 >> 2] | 0, HEAP32[$0 + 48 >> 2] | 0) | 0; -} - -function __ZNK12_GLOBAL__N_116itanium_demangle13ParameterPack15hasFunctionSlowERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $3 = 0, $4 = 0, $9 = 0; - __ZNK12_GLOBAL__N_116itanium_demangle13ParameterPack23initializePackExpansionERNS_12OutputStreamE($0, $1); - $3 = HEAP32[$1 + 12 >> 2] | 0; - $4 = $0 + 8 | 0; - if ($3 >>> 0 < (__ZNK12_GLOBAL__N_116itanium_demangle9NodeArray4sizeEv($4) | 0) >>> 0) $9 = __ZNK12_GLOBAL__N_116itanium_demangle4Node11hasFunctionERNS_12OutputStreamE(__ZNK12_GLOBAL__N_116itanium_demangle9NodeArrayixEm($4, $3) | 0, $1) | 0; else $9 = 0; - return $9 | 0; -} - -function __ZNK12_GLOBAL__N_116itanium_demangle24ForwardTemplateReference10printRightERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = 0, $7 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $2 = sp; - $3 = $0 + 16 | 0; - if (!(HEAP8[$3 >> 0] | 0)) { - __ZN12_GLOBAL__N_114SwapAndRestoreIbEC2ERbb($2, $3, 1); - $7 = HEAP32[$0 + 12 >> 2] | 0; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$7 >> 2] | 0) + 20 >> 2] & 255]($7, $1); - __ZN12_GLOBAL__N_114SwapAndRestoreIbED2Ev($2); - } - STACKTOP = sp; +function __ZN6vision12ScaleVector9IfEEvPT_PKS1_S1_($dst, $src, $s) { + $dst = $dst | 0; + $src = $src | 0; + $s = +$s; + HEAPF32[$dst >> 2] = +HEAPF32[$src >> 2] * $s; + HEAPF32[$dst + 4 >> 2] = +HEAPF32[$src + 4 >> 2] * $s; + HEAPF32[$dst + 8 >> 2] = +HEAPF32[$src + 8 >> 2] * $s; + HEAPF32[$dst + 12 >> 2] = +HEAPF32[$src + 12 >> 2] * $s; + HEAPF32[$dst + 16 >> 2] = +HEAPF32[$src + 16 >> 2] * $s; + HEAPF32[$dst + 20 >> 2] = +HEAPF32[$src + 20 >> 2] * $s; + HEAPF32[$dst + 24 >> 2] = +HEAPF32[$src + 24 >> 2] * $s; + HEAPF32[$dst + 28 >> 2] = +HEAPF32[$src + 28 >> 2] * $s; + HEAPF32[$dst + 32 >> 2] = +HEAPF32[$src + 32 >> 2] * $s; return; } -function __ZN6vision25DoGScaleInvariantDetectorD2Ev($0) { - $0 = $0 | 0; - __ZNSt3__213__vector_baseIfNS_9allocatorIfEEED2Ev($0 + 144 | 0); - __ZN6vision21OrientationAssignmentD2Ev($0 + 92 | 0); - __ZNSt3__213__vector_baseIN6vision25DoGScaleInvariantDetector12FeaturePointENS_9allocatorIS3_EEED2Ev($0 + 72 | 0); - __ZNSt3__213__vector_baseIN6vision25DoGScaleInvariantDetector12FeaturePointENS_9allocatorIS3_EEED2Ev($0 + 60 | 0); - __ZN6vision10DoGPyramidD2Ev($0 + 32 | 0); - __ZNSt3__213__vector_baseINS_6vectorINS1_INS_4pairIfmEENS_9allocatorIS3_EEEENS4_IS6_EEEENS4_IS8_EEED2Ev($0 + 16 | 0); +function __ZN12_GLOBAL__N_116itanium_demangle14IntegerLiteralC2ENS_10StringViewES2_($this, $Type_, $Value_) { + $this = $this | 0; + $Type_ = $Type_ | 0; + $Value_ = $Value_ | 0; + var $0 = 0, $10 = 0, $15 = 0, $16 = 0, $5 = 0, $6 = 0; + __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($this, 61, 1, 1, 1); + HEAP32[$this >> 2] = 18176; + $0 = $Type_; + $5 = HEAP32[$0 + 4 >> 2] | 0; + $6 = $this + 8 | 0; + HEAP32[$6 >> 2] = HEAP32[$0 >> 2]; + HEAP32[$6 + 4 >> 2] = $5; + $10 = $Value_; + $15 = HEAP32[$10 + 4 >> 2] | 0; + $16 = $this + 16 | 0; + HEAP32[$16 >> 2] = HEAP32[$10 >> 2]; + HEAP32[$16 + 4 >> 2] = $15; return; } -function __ZNK12_GLOBAL__N_116itanium_demangle24ForwardTemplateReference9printLeftERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = 0, $7 = 0, sp = 0; +function __ZNKSt3__29__num_getIwE12__do_widen_pIwEEPKT_RNS_8ios_baseEPS3_($this, $__iob, $__atoms) { + $this = $this | 0; + $__iob = $__iob | 0; + $__atoms = $__atoms | 0; + var $__loc = 0, $call$i = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $2 = sp; - $3 = $0 + 16 | 0; - if (!(HEAP8[$3 >> 0] | 0)) { - __ZN12_GLOBAL__N_114SwapAndRestoreIbEC2ERbb($2, $3, 1); - $7 = HEAP32[$0 + 12 >> 2] | 0; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$7 >> 2] | 0) + 16 >> 2] & 255]($7, $1); - __ZN12_GLOBAL__N_114SwapAndRestoreIbED2Ev($2); - } + $__loc = sp; + __ZNKSt3__28ios_base6getlocEv($__loc, $__iob); + $call$i = __ZNKSt3__26locale9use_facetERNS0_2idE($__loc, 67392) | 0; + FUNCTION_TABLE_iiiii[HEAP32[(HEAP32[$call$i >> 2] | 0) + 48 >> 2] & 15]($call$i, 12928, 12954, $__atoms) | 0; + __ZNSt3__26localeD2Ev($__loc); STACKTOP = sp; - return; -} - -function __ZN12_GLOBAL__N_116itanium_demangle15ClosureTypeNameC2ENS0_9NodeArrayENS_10StringViewE($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $10 = 0, $15 = 0, $20 = 0, $21 = 0, $4 = 0, $9 = 0; - __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($0, 40, 1, 1, 1); - HEAP32[$0 >> 2] = 19628; - $4 = $1; - $9 = HEAP32[$4 + 4 >> 2] | 0; - $10 = $0 + 8 | 0; - HEAP32[$10 >> 2] = HEAP32[$4 >> 2]; - HEAP32[$10 + 4 >> 2] = $9; - $15 = $2; - $20 = HEAP32[$15 + 4 >> 2] | 0; - $21 = $0 + 16 | 0; - HEAP32[$21 >> 2] = HEAP32[$15 >> 2]; - HEAP32[$21 + 4 >> 2] = $20; - return; + return $__atoms | 0; } -function _wmemmove($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$01416 = 0, $$018 = 0, $$117 = 0, $$in = 0; - if ($0 - $1 >> 2 >>> 0 >= $2 >>> 0) { - if ($2 | 0) { - $$01416 = $1; - $$018 = $0; - $$117 = $2; - while (1) { - $$117 = $$117 + -1 | 0; - HEAP32[$$018 >> 2] = HEAP32[$$01416 >> 2]; - if (!$$117) break; else { - $$01416 = $$01416 + 4 | 0; - $$018 = $$018 + 4 | 0; - } - } - } - } else { - $$in = $2; - do { - $$in = $$in + -1 | 0; - HEAP32[$0 + ($$in << 2) >> 2] = HEAP32[$1 + ($$in << 2) >> 2]; - } while (($$in | 0) != 0); - } - return $0 | 0; +function __ZNK12_GLOBAL__N_116itanium_demangle13ParameterPack19hasRHSComponentSlowERNS_12OutputStreamE($this, $S) { + $this = $this | 0; + $S = $S | 0; + var $0 = 0, $1 = 0, $Data = 0; + __ZNK12_GLOBAL__N_116itanium_demangle13ParameterPack23initializePackExpansionERNS_12OutputStreamE($this, $S); + $0 = HEAP32[$S + 12 >> 2] | 0; + $Data = $this + 8 | 0; + if ($0 >>> 0 < (__ZNK12_GLOBAL__N_116itanium_demangle9NodeArray4sizeEv($Data) | 0) >>> 0) $1 = __ZNK12_GLOBAL__N_116itanium_demangle4Node15hasRHSComponentERNS_12OutputStreamE(__ZNK12_GLOBAL__N_116itanium_demangle9NodeArrayixEm($Data, $0) | 0, $S) | 0; else $1 = 0; + return $1 | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_ED2Ev($0) { - $0 = $0 | 0; - __ZN12_GLOBAL__N_116DefaultAllocatorD2Ev($0 + 368 | 0); - __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_24ForwardTemplateReferenceELm4EED2Ev($0 + 332 | 0); - __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm8EED2Ev($0 + 288 | 0); - __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EED2Ev($0 + 148 | 0); - __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EED2Ev($0 + 8 | 0); +function __ZN6vision40Homography4PointsInhomogeneousConstraintIfEEvPT_PKS1_S4_S4_S4_S4_S4_S4_S4_($A, $x1, $x2, $x3, $x4, $xp1, $xp2, $xp3, $xp4) { + $A = $A | 0; + $x1 = $x1 | 0; + $x2 = $x2 | 0; + $x3 = $x3 | 0; + $x4 = $x4 | 0; + $xp1 = $xp1 | 0; + $xp2 = $xp2 | 0; + $xp3 = $xp3 | 0; + $xp4 = $xp4 | 0; + __ZN6vision27AddHomographyPointContraintIfEEvPT_PKS1_S4_($A, $x1, $xp1); + __ZN6vision27AddHomographyPointContraintIfEEvPT_PKS1_S4_($A + 72 | 0, $x2, $xp2); + __ZN6vision27AddHomographyPointContraintIfEEvPT_PKS1_S4_($A + 144 | 0, $x3, $xp3); + __ZN6vision27AddHomographyPointContraintIfEEvPT_PKS1_S4_($A + 216 | 0, $x4, $xp4); return; } -function _ar2FreeImageSet($0) { - $0 = $0 | 0; - var $$0 = 0, $$012 = 0, $2 = 0, $5 = 0, $8 = 0; - if (($0 | 0) != 0 ? ($2 = HEAP32[$0 >> 2] | 0, ($2 | 0) != 0) : 0) { - $$0 = 0; - $5 = $2; - while (1) { - $8 = HEAP32[$5 >> 2] | 0; - if (($$0 | 0) >= (HEAP32[$5 + 4 >> 2] | 0)) break; - _free(HEAP32[HEAP32[$8 + ($$0 << 2) >> 2] >> 2] | 0); - _free(HEAP32[(HEAP32[HEAP32[$0 >> 2] >> 2] | 0) + ($$0 << 2) >> 2] | 0); - $$0 = $$0 + 1 | 0; - $5 = HEAP32[$0 >> 2] | 0; - } - _free($8); - _free(HEAP32[$0 >> 2] | 0); - HEAP32[$0 >> 2] = 0; - $$012 = 0; - } else $$012 = -1; - return $$012 | 0; -} - -function ___fmodeflags($0) { - $0 = $0 | 0; - var $$0 = 0, $$2 = 0, $$4 = 0, $2 = 0, $3 = 0, $6 = 0, $9 = 0, $spec$select = 0, $spec$select13 = 0; - $2 = (_strchr($0, 43) | 0) == 0; - $3 = HEAP8[$0 >> 0] | 0; - $$0 = $2 ? $3 << 24 >> 24 != 114 & 1 : 2; - $6 = (_strchr($0, 120) | 0) == 0; - $spec$select = $6 ? $$0 : $$0 | 128; - $9 = (_strchr($0, 101) | 0) == 0; - $$2 = $9 ? $spec$select : $spec$select | 524288; - $spec$select13 = $3 << 24 >> 24 == 114 ? $$2 : $$2 | 64; - $$4 = $3 << 24 >> 24 == 119 ? $spec$select13 | 512 : $spec$select13; - return ($3 << 24 >> 24 == 97 ? $$4 | 1024 : $$4) | 0; -} - -function __ZNSt3__26vectorIiNS_9allocatorIiEEE11__vallocateEm($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $5 = 0, $7 = 0; - if ((__ZNKSt3__26vectorIiNS_9allocatorIiEEE8max_sizeEv($0) | 0) >>> 0 < $1 >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv($0); - if ($1 >>> 0 > 1073741823) { - $5 = ___cxa_allocate_exception(8) | 0; - __ZNSt11logic_errorC2EPKc($5, 41481); - HEAP32[$5 >> 2] = 17472; - ___cxa_throw($5 | 0, 13960, 22); - } else { - $7 = __Znwm($1 << 2) | 0; - HEAP32[$0 + 4 >> 2] = $7; - HEAP32[$0 >> 2] = $7; - HEAP32[$0 + 8 >> 2] = $7 + ($1 << 2); - return; - } -} - -function __ZNSt3__26vectorIfNS_9allocatorIfEEE11__vallocateEm($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $5 = 0, $7 = 0; - if ((__ZNKSt3__26vectorIfNS_9allocatorIfEEE8max_sizeEv($0) | 0) >>> 0 < $1 >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv($0); - if ($1 >>> 0 > 1073741823) { - $5 = ___cxa_allocate_exception(8) | 0; - __ZNSt11logic_errorC2EPKc($5, 41481); - HEAP32[$5 >> 2] = 17472; - ___cxa_throw($5 | 0, 13960, 22); - } else { - $7 = __Znwm($1 << 2) | 0; - HEAP32[$0 + 4 >> 2] = $7; - HEAP32[$0 >> 2] = $7; - HEAP32[$0 + 8 >> 2] = $7 + ($1 << 2); - return; +function __ZNKSt3__25ctypeIwE10do_scan_isEtPKwS3_($this, $m, $low, $high) { + $this = $this | 0; + $m = $m | 0; + $low = $low | 0; + $high = $high | 0; + var $call = 0, $low$addr$0 = 0, $low$addr$0$lcssa = 0; + $low$addr$0 = $low; + while (1) { + if (($low$addr$0 | 0) == ($high | 0)) { + $low$addr$0$lcssa = $high; + break; + } + if ((HEAP32[$low$addr$0 >> 2] | 0) >>> 0 < 128 ? ($call = __ZNSt3__25ctypeIcE13classic_tableEv() | 0, (HEAP16[$call + (HEAP32[$low$addr$0 >> 2] << 1) >> 1] & $m) << 16 >> 16) : 0) { + $low$addr$0$lcssa = $low$addr$0; + break; + } + $low$addr$0 = $low$addr$0 + 4 | 0; } + return $low$addr$0$lcssa | 0; } -function __ZNK12_GLOBAL__N_116itanium_demangle13ParameterPack12hasArraySlowERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $3 = 0, $4 = 0, $9 = 0; - __ZNK12_GLOBAL__N_116itanium_demangle13ParameterPack23initializePackExpansionERNS_12OutputStreamE($0, $1); - $3 = HEAP32[$1 + 12 >> 2] | 0; - $4 = $0 + 8 | 0; - if ($3 >>> 0 < (__ZNK12_GLOBAL__N_116itanium_demangle9NodeArray4sizeEv($4) | 0) >>> 0) $9 = __ZNK12_GLOBAL__N_116itanium_demangle4Node8hasArrayERNS_12OutputStreamE(__ZNK12_GLOBAL__N_116itanium_demangle9NodeArrayixEm($4, $3) | 0, $1) | 0; else $9 = 0; - return $9 | 0; +function __ZN6vision16RobustHomographyIfE4initEfiii($this, $cauchyScale, $maxNumHypotheses, $maxTrials, $chunkSize) { + $this = $this | 0; + $cauchyScale = +$cauchyScale; + $maxNumHypotheses = $maxNumHypotheses | 0; + $maxTrials = $maxTrials | 0; + $chunkSize = $chunkSize | 0; + __ZNSt3__26vectorIfNS_9allocatorIfEEE6resizeEm($this, $maxNumHypotheses * 9 | 0); + __ZNSt3__26vectorINS_4pairIfiEENS_9allocatorIS2_EEE6resizeEm($this + 24 | 0, $maxNumHypotheses); + HEAPF32[$this + 36 >> 2] = $cauchyScale; + HEAP32[$this + 40 >> 2] = $maxNumHypotheses; + HEAP32[$this + 44 >> 2] = $maxTrials; + HEAP32[$this + 48 >> 2] = $chunkSize; + return; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_16FunctionEncodingEJRPNS0_4NodeESA_NS0_9NodeArrayESA_RNS0_10QualifiersERNS0_15FunctionRefQualEEEES9_DpOT0_($0, $1, $2, $3, $4, $5, $6) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - $6 = $6 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle16FunctionEncodingEJRPNS2_4NodeES6_NS2_9NodeArrayES6_RNS2_10QualifiersERNS2_15FunctionRefQualEEEEPT_DpOT0_($0 + 368 | 0, $1, $2, $3, $4, $5, $6) | 0; +function __ZN6vision4NodeILi96EED2Ev($this) { + $this = $this | 0; + var $1 = 0, $4 = 0, $__end_$i = 0, $i$0 = 0, $mChildren = 0; + $mChildren = $this + 104 | 0; + $__end_$i = $this + 108 | 0; + $i$0 = 0; + while (1) { + $1 = HEAP32[$mChildren >> 2] | 0; + if ($i$0 >>> 0 >= (HEAP32[$__end_$i >> 2] | 0) - $1 >> 2 >>> 0) break; + $4 = HEAP32[$1 + ($i$0 << 2) >> 2] | 0; + if ($4 | 0) { + __ZN6vision4NodeILi96EED2Ev($4); + __ZdlPv($4); + } + $i$0 = $i$0 + 1 | 0; + } + __ZNSt3__213__vector_baseIiNS_9allocatorIiEEED2Ev($this + 116 | 0); + __ZNSt3__213__vector_baseIPN6vision4NodeILi96EEENS_9allocatorIS4_EEED2Ev($mChildren); + return; } -function _jpeg_idct_2x1($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $11 = 0, $16 = 0, $22 = 0, $7 = 0, $9 = 0; - $7 = (HEAP32[$0 + 336 >> 2] | 0) + -384 | 0; - $9 = HEAP32[$1 + 84 >> 2] | 0; - $11 = (HEAP32[$3 >> 2] | 0) + $4 | 0; - $16 = (Math_imul(HEAP32[$9 >> 2] | 0, HEAP16[$2 >> 1] | 0) | 0) + 4100 | 0; - $22 = Math_imul(HEAP32[$9 + 4 >> 2] | 0, HEAP16[$2 + 2 >> 1] | 0) | 0; - HEAP8[$11 >> 0] = HEAP8[$7 + (($22 + $16 | 0) >>> 3 & 1023) >> 0] | 0; - HEAP8[$11 + 1 >> 0] = HEAP8[$7 + (($16 - $22 | 0) >>> 3 & 1023) >> 0] | 0; +function __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE9push_backERKS3_($this, $Elem) { + $this = $this | 0; + $Elem = $Elem | 0; + var $0 = 0, $2 = 0, $3 = 0, $Last = 0; + $Last = $this + 4 | 0; + $0 = HEAP32[$Last >> 2] | 0; + if (($0 | 0) == (HEAP32[$this + 8 >> 2] | 0)) { + __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE7reserveEm($this, (__ZNK12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE4sizeEv($this) | 0) << 1); + $3 = HEAP32[$Last >> 2] | 0; + } else $3 = $0; + $2 = HEAP32[$Elem >> 2] | 0; + HEAP32[$Last >> 2] = $3 + 4; + HEAP32[$3 >> 2] = $2; return; } -function _jpeg_idct_1x2($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $14 = 0, $20 = 0, $7 = 0, $9 = 0; - $7 = (HEAP32[$0 + 336 >> 2] | 0) + -384 | 0; - $9 = HEAP32[$1 + 84 >> 2] | 0; - $14 = (Math_imul(HEAP32[$9 >> 2] | 0, HEAP16[$2 >> 1] | 0) | 0) + 4100 | 0; - $20 = Math_imul(HEAP32[$9 + 32 >> 2] | 0, HEAP16[$2 + 16 >> 1] | 0) | 0; - HEAP8[(HEAP32[$3 >> 2] | 0) + $4 >> 0] = HEAP8[$7 + (($20 + $14 | 0) >>> 3 & 1023) >> 0] | 0; - HEAP8[(HEAP32[$3 + 4 >> 2] | 0) + $4 >> 0] = HEAP8[$7 + (($14 - $20 | 0) >>> 3 & 1023) >> 0] | 0; +function __ZNSt3__214__split_bufferIN6vision5ImageERNS_9allocatorIS2_EEED2Ev($this) { + $this = $this | 0; + var $0 = 0, $1 = 0, $2 = 0, $__end_$i$i$i = 0, $incdec$ptr$i$i$i = 0; + $0 = HEAP32[$this + 4 >> 2] | 0; + $__end_$i$i$i = $this + 8 | 0; + while (1) { + $1 = HEAP32[$__end_$i$i$i >> 2] | 0; + if (($1 | 0) == ($0 | 0)) break; + $incdec$ptr$i$i$i = $1 + -32 | 0; + HEAP32[$__end_$i$i$i >> 2] = $incdec$ptr$i$i$i; + __ZN6vision5ImageD2Ev($incdec$ptr$i$i$i); + } + $2 = HEAP32[$this >> 2] | 0; + if ($2 | 0) __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($2, (HEAP32[$this + 12 >> 2] | 0) - $2 | 0); return; } -function __ZN10emscripten8internal7InvokerIiJiEE6invokeEPFiiEi($fn, $args) { - $fn = $fn | 0; - $args = $args | 0; - var $call = 0, $call1 = 0, $call2 = 0, $ref$tmp = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $ref$tmp = sp; - $call = __ZN10emscripten8internal11BindingTypeIivE12fromWireTypeEi($args) | 0; - $call1 = FUNCTION_TABLE_ii[$fn & 127]($call) | 0; - HEAP32[$ref$tmp >> 2] = $call1; - $call2 = __ZN10emscripten8internal11BindingTypeIivE10toWireTypeERKi($ref$tmp) | 0; - STACKTOP = sp; - return $call2 | 0; +function __ZNK12_GLOBAL__N_116itanium_demangle13ParameterPack15hasFunctionSlowERNS_12OutputStreamE($this, $S) { + $this = $this | 0; + $S = $S | 0; + var $0 = 0, $1 = 0, $Data = 0; + __ZNK12_GLOBAL__N_116itanium_demangle13ParameterPack23initializePackExpansionERNS_12OutputStreamE($this, $S); + $0 = HEAP32[$S + 12 >> 2] | 0; + $Data = $this + 8 | 0; + if ($0 >>> 0 < (__ZNK12_GLOBAL__N_116itanium_demangle9NodeArray4sizeEv($Data) | 0) >>> 0) $1 = __ZNK12_GLOBAL__N_116itanium_demangle4Node11hasFunctionERNS_12OutputStreamE(__ZNK12_GLOBAL__N_116itanium_demangle9NodeArrayixEm($Data, $0) | 0, $S) | 0; else $1 = 0; + return $1 | 0; } -function __ZZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E13parseEncodingEvENKUlvE_clEv($0) { - $0 = $0 | 0; - var $1 = 0, $4 = 0; - $1 = HEAP32[$0 >> 2] | 0; - if (__ZNK12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E7numLeftEv($1) | 0 ? ($4 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($1, 0) | 0, $4 << 24 >> 24 != 69) : 0) return $4 << 24 >> 24 == 46 | $4 << 24 >> 24 == 95 | 0; - return 1; +function __ZN6vision25DoGScaleInvariantDetectorD2Ev($this) { + $this = $this | 0; + __ZNSt3__213__vector_baseIfNS_9allocatorIfEEED2Ev($this + 144 | 0); + __ZN6vision21OrientationAssignmentD2Ev($this + 92 | 0); + __ZNSt3__213__vector_baseIN6vision25DoGScaleInvariantDetector12FeaturePointENS_9allocatorIS3_EEED2Ev($this + 72 | 0); + __ZNSt3__213__vector_baseIN6vision25DoGScaleInvariantDetector12FeaturePointENS_9allocatorIS3_EEED2Ev($this + 60 | 0); + __ZN6vision10DoGPyramidD2Ev($this + 32 | 0); + __ZNSt3__213__vector_baseINS_6vectorINS1_INS_4pairIfmEENS_9allocatorIS3_EEEENS4_IS6_EEEENS4_IS8_EEED2Ev($this + 16 | 0); + return; } -function __ZN6vision12ScaleVector9IfEEvPT_PKS1_S1_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = +$2; - HEAPF32[$0 >> 2] = +HEAPF32[$1 >> 2] * $2; - HEAPF32[$0 + 4 >> 2] = +HEAPF32[$1 + 4 >> 2] * $2; - HEAPF32[$0 + 8 >> 2] = +HEAPF32[$1 + 8 >> 2] * $2; - HEAPF32[$0 + 12 >> 2] = +HEAPF32[$1 + 12 >> 2] * $2; - HEAPF32[$0 + 16 >> 2] = +HEAPF32[$1 + 16 >> 2] * $2; - HEAPF32[$0 + 20 >> 2] = +HEAPF32[$1 + 20 >> 2] * $2; - HEAPF32[$0 + 24 >> 2] = +HEAPF32[$1 + 24 >> 2] * $2; - HEAPF32[$0 + 28 >> 2] = +HEAPF32[$1 + 28 >> 2] * $2; - HEAPF32[$0 + 32 >> 2] = +HEAPF32[$1 + 32 >> 2] * $2; +function __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm8EE9push_backERKS3_($this, $Elem) { + $this = $this | 0; + $Elem = $Elem | 0; + var $0 = 0, $2 = 0, $3 = 0, $Last = 0; + $Last = $this + 4 | 0; + $0 = HEAP32[$Last >> 2] | 0; + if (($0 | 0) == (HEAP32[$this + 8 >> 2] | 0)) { + __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm8EE7reserveEm($this, (__ZNK12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm8EE4sizeEv($this) | 0) << 1); + $3 = HEAP32[$Last >> 2] | 0; + } else $3 = $0; + $2 = HEAP32[$Elem >> 2] | 0; + HEAP32[$Last >> 2] = $3 + 4; + HEAP32[$3 >> 2] = $2; return; } -function __ZN6vision40Homography4PointsInhomogeneousConstraintIfEEvPT_PKS1_S4_S4_S4_S4_S4_S4_S4_($0, $1, $2, $3, $4, $5, $6, $7, $8) { +function ___shlim($f, $0, $1) { + $f = $f | 0; $0 = $0 | 0; $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - $6 = $6 | 0; - $7 = $7 | 0; - $8 = $8 | 0; - __ZN6vision27AddHomographyPointContraintIfEEvPT_PKS1_S4_($0, $1, $5); - __ZN6vision27AddHomographyPointContraintIfEEvPT_PKS1_S4_($0 + 72 | 0, $2, $6); - __ZN6vision27AddHomographyPointContraintIfEEvPT_PKS1_S4_($0 + 144 | 0, $3, $7); - __ZN6vision27AddHomographyPointContraintIfEEvPT_PKS1_S4_($0 + 216 | 0, $4, $8); + var $10 = 0, $2 = 0, $6 = 0, $7 = 0, $9 = 0, $sub$ptr$sub = 0; + $2 = $f + 112 | 0; + HEAP32[$2 >> 2] = $0; + HEAP32[$2 + 4 >> 2] = $1; + $6 = HEAP32[$f + 8 >> 2] | 0; + $7 = HEAP32[$f + 4 >> 2] | 0; + $sub$ptr$sub = $6 - $7 | 0; + $9 = (($sub$ptr$sub | 0) < 0) << 31 >> 31; + $10 = $f + 120 | 0; + HEAP32[$10 >> 2] = $sub$ptr$sub; + HEAP32[$10 + 4 >> 2] = $9; + if ((($0 | 0) != 0 | ($1 | 0) != 0) & (($9 | 0) > ($1 | 0) | ($9 | 0) == ($1 | 0) & $sub$ptr$sub >>> 0 > $0 >>> 0)) HEAP32[$f + 104 >> 2] = $7 + $0; else HEAP32[$f + 104 >> 2] = $6; return; } -function ___shlim($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $11 = 0, $12 = 0, $14 = 0, $16 = 0, $4 = 0, $9 = 0; - $4 = $0 + 112 | 0; - HEAP32[$4 >> 2] = $1; - HEAP32[$4 + 4 >> 2] = $2; - $9 = HEAP32[$0 + 8 >> 2] | 0; - $11 = HEAP32[$0 + 4 >> 2] | 0; - $12 = $9 - $11 | 0; - $14 = (($12 | 0) < 0) << 31 >> 31; - $16 = $0 + 120 | 0; - HEAP32[$16 >> 2] = $12; - HEAP32[$16 + 4 >> 2] = $14; - if ((($1 | 0) != 0 | ($2 | 0) != 0) & (($14 | 0) > ($2 | 0) | ($14 | 0) == ($2 | 0) & $12 >>> 0 > $1 >>> 0)) HEAP32[$0 + 104 >> 2] = $11 + $1; else HEAP32[$0 + 104 >> 2] = $9; - return; -} - -function __ZN6vision20VisualDatabaseFacade5queryEPhmm($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $4 = 0, $7 = 0, sp = 0; +function __ZN6vision15get_pretty_timeEv($agg$result) { + $agg$result = $agg$result | 0; + var $str = 0, $t = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - $4 = sp; - __ZN6vision5ImageC2EPhNS_9ImageTypeEmmim($4, $1, 1, $2, $3, $2, 1); - $7 = __ZN6vision14VisualDatabaseINS_14FREAKExtractorENS_18BinaryFeatureStoreENS_20BinaryFeatureMatcherILi96EEEE5queryERKNS_5ImageE(HEAP32[HEAP32[$0 >> 2] >> 2] | 0, $4) | 0; - __ZN6vision5ImageD2Ev($4); - STACKTOP = sp; - return $7 | 0; + STACKTOP = STACKTOP + 272 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(272); + $t = sp + 256 | 0; + $str = sp; + _time($t | 0) | 0; + _strftime($str | 0, 256, 38981, _localtime($t | 0) | 0) | 0; + HEAP32[$agg$result >> 2] = 0; + HEAP32[$agg$result + 4 >> 2] = 0; + HEAP32[$agg$result + 8 >> 2] = 0; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm($agg$result, $str, __ZNSt3__211char_traitsIcE6lengthEPKc($str) | 0); + STACKTOP = sp; + return; +} + +function ___string_read($f, $buf, $len) { + $f = $f | 0; + $buf = $buf | 0; + $len = $len | 0; + var $0 = 0, $add = 0, $add$ptr4 = 0, $call = 0, $cookie = 0, $k$0 = 0, $spec$select = 0; + $cookie = $f + 84 | 0; + $0 = HEAP32[$cookie >> 2] | 0; + $add = $len + 256 | 0; + $call = _memchr($0, 0, $add) | 0; + $k$0 = ($call | 0) == 0 ? $add : $call - $0 | 0; + $spec$select = $k$0 >>> 0 < $len >>> 0 ? $k$0 : $len; + _memcpy($buf | 0, $0 | 0, $spec$select | 0) | 0; + HEAP32[$f + 4 >> 2] = $0 + $spec$select; + $add$ptr4 = $0 + $k$0 | 0; + HEAP32[$f + 8 >> 2] = $add$ptr4; + HEAP32[$cookie >> 2] = $add$ptr4; + return $spec$select | 0; } -function __ZNSt3__213__vector_baseIN6vision17PriorityQueueItemILi96EEENS_9allocatorIS3_EEED2Ev($0) { - $0 = $0 | 0; - var $$0$i$i = 0, $1 = 0, $3 = 0, $6 = 0, $7 = 0; - $1 = HEAP32[$0 >> 2] | 0; - if ($1 | 0) { - $3 = $0 + 4 | 0; - $$0$i$i = HEAP32[$3 >> 2] | 0; - while (1) { - if (($$0$i$i | 0) == ($1 | 0)) break; - $6 = $$0$i$i + -8 | 0; - __ZN6vision17PriorityQueueItemILi96EED2Ev($6); - $$0$i$i = $6; - } - HEAP32[$3 >> 2] = $1; - $7 = HEAP32[$0 >> 2] | 0; - __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($7, (HEAP32[$0 + 8 >> 2] | 0) - $7 | 0); - } - return; +function __ZZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E13parseEncodingEvENKUlvE_clEv($this) { + $this = $this | 0; + var $0 = 0, $call2 = 0; + $0 = HEAP32[$this >> 2] | 0; + if (__ZNK12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E7numLeftEv($0) | 0 ? ($call2 = __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($0, 0) | 0, $call2 << 24 >> 24 != 69) : 0) return $call2 << 24 >> 24 == 46 | $call2 << 24 >> 24 == 95 | 0; + return 1; } -function __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE9push_backERKS3_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $11 = 0, $2 = 0, $3 = 0, $9 = 0; - $2 = $0 + 4 | 0; - $3 = HEAP32[$2 >> 2] | 0; - if (($3 | 0) == (HEAP32[$0 + 8 >> 2] | 0)) { - __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE7reserveEm($0, (__ZNK12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE4sizeEv($0) | 0) << 1); - $11 = HEAP32[$2 >> 2] | 0; - } else $11 = $3; - $9 = HEAP32[$1 >> 2] | 0; - HEAP32[$2 >> 2] = $11 + 4; - HEAP32[$11 >> 2] = $9; +function __ZNSt3__214__split_bufferIN6vision25DoGScaleInvariantDetector12FeaturePointERNS_9allocatorIS3_EEE18__construct_at_endEm($this, $__n) { + $this = $this | 0; + $__n = $__n | 0; + var $0 = 0, $__end_ = 0, $__n$addr$0 = 0, dest = 0, stop = 0; + $__end_ = $this + 8 | 0; + $0 = HEAP32[$__end_ >> 2] | 0; + $__n$addr$0 = $__n; + do { + dest = $0; + stop = dest + 36 | 0; + do { + HEAP32[dest >> 2] = 0; + dest = dest + 4 | 0; + } while ((dest | 0) < (stop | 0)); + $0 = (HEAP32[$__end_ >> 2] | 0) + 36 | 0; + HEAP32[$__end_ >> 2] = $0; + $__n$addr$0 = $__n$addr$0 + -1 | 0; + } while (($__n$addr$0 | 0) != 0); return; } -function __ZN10emscripten8internal7InvokerIdJiEE6invokeEPFdiEi($fn, $args) { - $fn = $fn | 0; - $args = $args | 0; - var $call = 0, $call1 = 0.0, $call2 = 0.0, $ref$tmp = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $ref$tmp = sp; - $call = __ZN10emscripten8internal11BindingTypeIivE12fromWireTypeEi($args) | 0; - $call1 = +FUNCTION_TABLE_di[$fn & 3]($call); - HEAPF64[$ref$tmp >> 3] = $call1; - $call2 = +__ZN10emscripten8internal11BindingTypeIdvE10toWireTypeERKd($ref$tmp); - STACKTOP = sp; - return +$call2; +function __ZNK12_GLOBAL__N_116itanium_demangle13ParameterPack12hasArraySlowERNS_12OutputStreamE($this, $S) { + $this = $this | 0; + $S = $S | 0; + var $0 = 0, $1 = 0, $Data = 0; + __ZNK12_GLOBAL__N_116itanium_demangle13ParameterPack23initializePackExpansionERNS_12OutputStreamE($this, $S); + $0 = HEAP32[$S + 12 >> 2] | 0; + $Data = $this + 8 | 0; + if ($0 >>> 0 < (__ZNK12_GLOBAL__N_116itanium_demangle9NodeArray4sizeEv($Data) | 0) >>> 0) $1 = __ZNK12_GLOBAL__N_116itanium_demangle4Node8hasArrayERNS_12OutputStreamE(__ZNK12_GLOBAL__N_116itanium_demangle9NodeArrayixEm($Data, $0) | 0, $S) | 0; else $1 = 0; + return $1 | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle14IntegerLiteralC2ENS_10StringViewES2_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $10 = 0, $15 = 0, $20 = 0, $21 = 0, $4 = 0, $9 = 0; - __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($0, 61, 1, 1, 1); - HEAP32[$0 >> 2] = 18176; - $4 = $1; - $9 = HEAP32[$4 + 4 >> 2] | 0; - $10 = $0 + 8 | 0; - HEAP32[$10 >> 2] = HEAP32[$4 >> 2]; - HEAP32[$10 + 4 >> 2] = $9; - $15 = $2; - $20 = HEAP32[$15 + 4 >> 2] | 0; - $21 = $0 + 16 | 0; - HEAP32[$21 >> 2] = HEAP32[$15 >> 2]; - HEAP32[$21 + 4 >> 2] = $20; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_ED2Ev($this) { + $this = $this | 0; + __ZN12_GLOBAL__N_116DefaultAllocatorD2Ev($this + 368 | 0); + __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_24ForwardTemplateReferenceELm4EED2Ev($this + 332 | 0); + __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm8EED2Ev($this + 288 | 0); + __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EED2Ev($this + 148 | 0); + __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EED2Ev($this + 8 | 0); return; } -function __ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_6vectorIiNS_9allocatorIiEEEEEENS_22__unordered_map_hasherIiS6_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS6_NS_8equal_toIiEELb1EEENS3_IS6_EEE17__deallocate_nodeEPNS_16__hash_node_baseIPNS_11__hash_nodeIS6_PvEEEE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $3 = 0; - $$0 = $1; - while (1) { - if (!$$0) break; - $3 = HEAP32[$$0 >> 2] | 0; - __ZNSt3__24pairIKiNS_6vectorIiNS_9allocatorIiEEEEED2Ev($$0 + 8 | 0); - __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($$0, 24); - $$0 = $3; +function __ZNK12_GLOBAL__N_116itanium_demangle13ParameterPack10printRightERNS_12OutputStreamE($this, $S) { + $this = $this | 0; + $S = $S | 0; + var $0 = 0, $Data = 0, $call3 = 0; + __ZNK12_GLOBAL__N_116itanium_demangle13ParameterPack23initializePackExpansionERNS_12OutputStreamE($this, $S); + $0 = HEAP32[$S + 12 >> 2] | 0; + $Data = $this + 8 | 0; + if ($0 >>> 0 < (__ZNK12_GLOBAL__N_116itanium_demangle9NodeArray4sizeEv($Data) | 0) >>> 0) { + $call3 = __ZNK12_GLOBAL__N_116itanium_demangle9NodeArrayixEm($Data, $0) | 0; + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$call3 >> 2] | 0) + 20 >> 2] & 255]($call3, $S); } return; } -function __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm8EE9push_backERKS3_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $11 = 0, $2 = 0, $3 = 0, $9 = 0; - $2 = $0 + 4 | 0; - $3 = HEAP32[$2 >> 2] | 0; - if (($3 | 0) == (HEAP32[$0 + 8 >> 2] | 0)) { - __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm8EE7reserveEm($0, (__ZNK12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm8EE4sizeEv($0) | 0) << 1); - $11 = HEAP32[$2 >> 2] | 0; - } else $11 = $3; - $9 = HEAP32[$1 >> 2] | 0; - HEAP32[$2 >> 2] = $11 + 4; - HEAP32[$11 >> 2] = $9; +function __ZNSt3__214__split_bufferIPKN6vision4NodeILi96EEERNS_9allocatorIS5_EEED2Ev($this) { + $this = $this | 0; + var $0 = 0, $1 = 0, $2 = 0, $__end_$i$i$i = 0, $incdec$ptr$i$i$i = 0; + $0 = HEAP32[$this + 4 >> 2] | 0; + $__end_$i$i$i = $this + 8 | 0; + $1 = HEAP32[$__end_$i$i$i >> 2] | 0; + while (1) { + if (($1 | 0) == ($0 | 0)) break; + $incdec$ptr$i$i$i = $1 + -4 | 0; + HEAP32[$__end_$i$i$i >> 2] = $incdec$ptr$i$i$i; + $1 = $incdec$ptr$i$i$i; + } + $2 = HEAP32[$this >> 2] | 0; + if ($2 | 0) __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($2, (HEAP32[$this + 12 >> 2] | 0) - $2 | 0); return; } -function __ZNSt3__212__hash_tableINS_17__hash_value_typeIiP14AR2SurfaceSetTEENS_22__unordered_map_hasherIiS4_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS4_NS_8equal_toIiEELb1EEENS_9allocatorIS4_EEE17__deallocate_nodeEPNS_16__hash_node_baseIPNS_11__hash_nodeIS4_PvEEEE($this, $__np) { +function __ZNK12_GLOBAL__N_116itanium_demangle13ParameterPack9printLeftERNS_12OutputStreamE($this, $S) { $this = $this | 0; - $__np = $__np | 0; - var $0 = 0, $__np$addr$0 = 0; - $__np$addr$0 = $__np; - while (1) { - if (!$__np$addr$0) break; - $0 = HEAP32[$__np$addr$0 >> 2] | 0; - __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($__np$addr$0, 16); - $__np$addr$0 = $0; + $S = $S | 0; + var $0 = 0, $Data = 0, $call3 = 0; + __ZNK12_GLOBAL__N_116itanium_demangle13ParameterPack23initializePackExpansionERNS_12OutputStreamE($this, $S); + $0 = HEAP32[$S + 12 >> 2] | 0; + $Data = $this + 8 | 0; + if ($0 >>> 0 < (__ZNK12_GLOBAL__N_116itanium_demangle9NodeArray4sizeEv($Data) | 0) >>> 0) { + $call3 = __ZNK12_GLOBAL__N_116itanium_demangle9NodeArrayixEm($Data, $0) | 0; + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$call3 >> 2] | 0) + 16 >> 2] & 255]($call3, $S); } return; } -function __ZNSt3__26vectorIiNS_9allocatorIiEEE12__move_rangeEPiS4_S4_($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $$0 = 0, $16 = 0, $18 = 0, $4 = 0, $5 = 0, $8 = 0, $9 = 0; - $4 = $0 + 4 | 0; - $5 = HEAP32[$4 >> 2] | 0; - $8 = $5 - $3 | 0; - $9 = $8 >> 2; - $$0 = $1 + ($9 << 2) | 0; - $16 = $5; - while (1) { - if ($$0 >>> 0 >= $2 >>> 0) break; - HEAP32[$16 >> 2] = HEAP32[$$0 >> 2]; - $18 = $16 + 4 | 0; - HEAP32[$4 >> 2] = $18; - $$0 = $$0 + 4 | 0; - $16 = $18; +function __ZNSt3__26vectorIN6vision7Point3dIfEENS_9allocatorIS3_EEE18__construct_at_endIPS3_EENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESA_SA_m($this, $__first, $__last, $__n) { + $this = $this | 0; + $__first = $__first | 0; + $__last = $__last | 0; + $__n = $__n | 0; + var $__end_ = 0, $sub$ptr$sub$i = 0; + $__end_ = $this + 4 | 0; + $sub$ptr$sub$i = $__last - $__first | 0; + if (($sub$ptr$sub$i | 0) > 0) { + _memcpy(HEAP32[$__end_ >> 2] | 0, $__first | 0, $sub$ptr$sub$i | 0) | 0; + HEAP32[$__end_ >> 2] = (HEAP32[$__end_ >> 2] | 0) + ((($sub$ptr$sub$i >>> 0) / 12 | 0) * 12 | 0); } - if ($8 | 0) _memmove($5 + (0 - $9 << 2) | 0, $1 | 0, $8 | 0) | 0; return; } -function __ZNK10__cxxabiv120__si_class_type_info16search_above_dstEPNS_19__dynamic_cast_infoEPKvS4_ib($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $10 = 0; - if (__ZL8is_equalPKSt9type_infoS1_b($0, HEAP32[$1 + 8 >> 2] | 0, $5) | 0) __ZNK10__cxxabiv117__class_type_info29process_static_type_above_dstEPNS_19__dynamic_cast_infoEPKvS4_i(0, $1, $2, $3, $4); else { - $10 = HEAP32[$0 + 8 >> 2] | 0; - FUNCTION_TABLE_viiiiii[HEAP32[(HEAP32[$10 >> 2] | 0) + 20 >> 2] & 7]($10, $1, $2, $3, $4, $5); +function __ZNSt3__214__split_bufferIPN6vision4NodeILi96EEERNS_9allocatorIS4_EEED2Ev($this) { + $this = $this | 0; + var $0 = 0, $1 = 0, $2 = 0, $__end_$i$i$i = 0, $incdec$ptr$i$i$i = 0; + $0 = HEAP32[$this + 4 >> 2] | 0; + $__end_$i$i$i = $this + 8 | 0; + $1 = HEAP32[$__end_$i$i$i >> 2] | 0; + while (1) { + if (($1 | 0) == ($0 | 0)) break; + $incdec$ptr$i$i$i = $1 + -4 | 0; + HEAP32[$__end_$i$i$i >> 2] = $incdec$ptr$i$i$i; + $1 = $incdec$ptr$i$i$i; } + $2 = HEAP32[$this >> 2] | 0; + if ($2 | 0) __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($2, (HEAP32[$this + 12 >> 2] | 0) - $2 | 0); return; } -function _deleteHandle($arc) { - $arc = $arc | 0; - var $0 = 0, $ar3DHandle = 0, $arhandle = 0, $paramLT = 0; - $arhandle = $arc + 216 | 0; - $0 = HEAP32[$arhandle >> 2] | 0; - if ($0 | 0) { - _arPattDetach($0) | 0; - _arDeleteHandle(HEAP32[$arhandle >> 2] | 0) | 0; - HEAP32[$arhandle >> 2] = 0; - } - $ar3DHandle = $arc + 228 | 0; - if (HEAP32[$ar3DHandle >> 2] | 0) { - _ar3DDeleteHandle($ar3DHandle) | 0; - HEAP32[$ar3DHandle >> 2] = 0; - } - $paramLT = $arc + 192 | 0; - if (HEAP32[$paramLT >> 2] | 0) { - _arParamLTFree($paramLT) | 0; - HEAP32[$paramLT >> 2] = 0; - } +function __ZN12_GLOBAL__N_112OutputStream4growEm($this, $N) { + $this = $this | 0; + $N = $N | 0; + var $1 = 0, $BufferCapacity = 0, $add = 0, $call = 0, $mul = 0, $spec$store$select = 0; + $add = (HEAP32[$this + 4 >> 2] | 0) + $N | 0; + $BufferCapacity = $this + 8 | 0; + $1 = HEAP32[$BufferCapacity >> 2] | 0; + if ($add >>> 0 >= $1 >>> 0 ? ($mul = $1 << 1, $spec$store$select = $mul >>> 0 < $add >>> 0 ? $add : $mul, HEAP32[$BufferCapacity >> 2] = $spec$store$select, $call = _realloc(HEAP32[$this >> 2] | 0, $spec$store$select) | 0, HEAP32[$this >> 2] = $call, ($call | 0) == 0) : 0) __ZSt9terminatev(); return; } -function __ZNK12_GLOBAL__N_116itanium_demangle13ParameterPack10printRightERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $3 = 0, $4 = 0, $7 = 0; - __ZNK12_GLOBAL__N_116itanium_demangle13ParameterPack23initializePackExpansionERNS_12OutputStreamE($0, $1); - $3 = HEAP32[$1 + 12 >> 2] | 0; - $4 = $0 + 8 | 0; - if ($3 >>> 0 < (__ZNK12_GLOBAL__N_116itanium_demangle9NodeArray4sizeEv($4) | 0) >>> 0) { - $7 = __ZNK12_GLOBAL__N_116itanium_demangle9NodeArrayixEm($4, $3) | 0; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$7 >> 2] | 0) + 20 >> 2] & 255]($7, $1); +function __ZNSt3__214__split_bufferIN6vision7Point3dIfEERNS_9allocatorIS3_EEED2Ev($this) { + $this = $this | 0; + var $0 = 0, $1 = 0, $2 = 0, $__end_$i$i$i = 0, $incdec$ptr$i$i$i = 0; + $0 = HEAP32[$this + 4 >> 2] | 0; + $__end_$i$i$i = $this + 8 | 0; + $1 = HEAP32[$__end_$i$i$i >> 2] | 0; + while (1) { + if (($1 | 0) == ($0 | 0)) break; + $incdec$ptr$i$i$i = $1 + -12 | 0; + HEAP32[$__end_$i$i$i >> 2] = $incdec$ptr$i$i$i; + $1 = $incdec$ptr$i$i$i; } + $2 = HEAP32[$this >> 2] | 0; + if ($2 | 0) __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($2, (HEAP32[$this + 12 >> 2] | 0) - $2 | 0); return; } -function _fwrite($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $11 = 0, $13 = 0, $15 = 0, $4 = 0, $phitmp = 0, $spec$select = 0; - $4 = Math_imul($2, $1) | 0; - $spec$select = ($1 | 0) == 0 ? 0 : $2; - if ((HEAP32[$3 + 76 >> 2] | 0) > -1) { - $phitmp = (___lockfile($3) | 0) == 0; - $11 = ___fwritex($0, $4, $3) | 0; - if ($phitmp) $13 = $11; else { - ___unlockfile($3); - $13 = $11; - } - } else $13 = ___fwritex($0, $4, $3) | 0; - if (($13 | 0) == ($4 | 0)) $15 = $spec$select; else $15 = ($13 >>> 0) / ($1 >>> 0) | 0; - return $15 | 0; +function __ZNSt3__26vectorIN6vision25DoGScaleInvariantDetector12FeaturePointENS_9allocatorIS3_EEE18__construct_at_endEm($this, $__n) { + $this = $this | 0; + $__n = $__n | 0; + var $0 = 0, $__end_ = 0, $__n$addr$0 = 0, dest = 0, stop = 0; + $__end_ = $this + 4 | 0; + $0 = HEAP32[$__end_ >> 2] | 0; + $__n$addr$0 = $__n; + do { + dest = $0; + stop = dest + 36 | 0; + do { + HEAP32[dest >> 2] = 0; + dest = dest + 4 | 0; + } while ((dest | 0) < (stop | 0)); + $0 = (HEAP32[$__end_ >> 2] | 0) + 36 | 0; + HEAP32[$__end_ >> 2] = $0; + $__n$addr$0 = $__n$addr$0 + -1 | 0; + } while (($__n$addr$0 | 0) != 0); + return; } -function __ZNK12_GLOBAL__N_116itanium_demangle13ParameterPack9printLeftERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $3 = 0, $4 = 0, $7 = 0; - __ZNK12_GLOBAL__N_116itanium_demangle13ParameterPack23initializePackExpansionERNS_12OutputStreamE($0, $1); - $3 = HEAP32[$1 + 12 >> 2] | 0; - $4 = $0 + 8 | 0; - if ($3 >>> 0 < (__ZNK12_GLOBAL__N_116itanium_demangle9NodeArray4sizeEv($4) | 0) >>> 0) { - $7 = __ZNK12_GLOBAL__N_116itanium_demangle9NodeArrayixEm($4, $3) | 0; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$7 >> 2] | 0) + 16 >> 2] & 255]($7, $1); +function __ZNSt3__214__split_bufferIN6vision7match_tERNS_9allocatorIS2_EEED2Ev($this) { + $this = $this | 0; + var $0 = 0, $1 = 0, $2 = 0, $__end_$i$i$i = 0, $incdec$ptr$i$i$i = 0; + $0 = HEAP32[$this + 4 >> 2] | 0; + $__end_$i$i$i = $this + 8 | 0; + $1 = HEAP32[$__end_$i$i$i >> 2] | 0; + while (1) { + if (($1 | 0) == ($0 | 0)) break; + $incdec$ptr$i$i$i = $1 + -8 | 0; + HEAP32[$__end_$i$i$i >> 2] = $incdec$ptr$i$i$i; + $1 = $incdec$ptr$i$i$i; } + $2 = HEAP32[$this >> 2] | 0; + if ($2 | 0) __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($2, (HEAP32[$this + 12 >> 2] | 0) - $2 | 0); return; } -function __ZNSt3__214__split_bufferINS_6vectorINS_4pairIfmEENS_9allocatorIS3_EEEERNS4_IS6_EEED2Ev($0) { - $0 = $0 | 0; - var $2 = 0, $3 = 0, $4 = 0, $6 = 0, $7 = 0; - $2 = HEAP32[$0 + 4 >> 2] | 0; - $3 = $0 + 8 | 0; +function __ZNSt3__214__split_bufferI12multi_markerRNS_9allocatorIS1_EEED2Ev($this) { + $this = $this | 0; + var $0 = 0, $1 = 0, $2 = 0, $__end_$i$i$i = 0, $incdec$ptr$i$i$i = 0; + $0 = HEAP32[$this + 4 >> 2] | 0; + $__end_$i$i$i = $this + 8 | 0; + $1 = HEAP32[$__end_$i$i$i >> 2] | 0; while (1) { - $4 = HEAP32[$3 >> 2] | 0; - if (($4 | 0) == ($2 | 0)) break; - $6 = $4 + -12 | 0; - HEAP32[$3 >> 2] = $6; - __ZNSt3__213__vector_baseINS_4pairIfmEENS_9allocatorIS2_EEED2Ev($6); + if (($1 | 0) == ($0 | 0)) break; + $incdec$ptr$i$i$i = $1 + -8 | 0; + HEAP32[$__end_$i$i$i >> 2] = $incdec$ptr$i$i$i; + $1 = $incdec$ptr$i$i$i; } - $7 = HEAP32[$0 >> 2] | 0; - if ($7 | 0) __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($7, (HEAP32[$0 + 12 >> 2] | 0) - $7 | 0); + $2 = HEAP32[$this >> 2] | 0; + if ($2 | 0) __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($2, (HEAP32[$this + 12 >> 2] | 0) - $2 | 0); return; } -function _store_int($0, $1, $2, $3) { +function _store_int_768($dest, $size, $0, $1) { + $dest = $dest | 0; + $size = $size | 0; $0 = $0 | 0; $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $7 = 0; - L1 : do if ($0 | 0) switch ($1 | 0) { + var $4 = 0; + L1 : do if ($dest | 0) switch ($size | 0) { case -2: { - HEAP8[$0 >> 0] = $2; + HEAP8[$dest >> 0] = $0; break L1; break; } case -1: { - HEAP16[$0 >> 1] = $2; + HEAP16[$dest >> 1] = $0; break L1; break; } case 0: { - HEAP32[$0 >> 2] = $2; + HEAP32[$dest >> 2] = $0; break L1; break; } case 1: { - HEAP32[$0 >> 2] = $2; + HEAP32[$dest >> 2] = $0; break L1; break; } case 3: { - $7 = $0; - HEAP32[$7 >> 2] = $2; - HEAP32[$7 + 4 >> 2] = $3; + $4 = $dest; + HEAP32[$4 >> 2] = $0; + HEAP32[$4 + 4 >> 2] = $1; break L1; break; } @@ -97211,1177 +98242,1096 @@ function _store_int($0, $1, $2, $3) { return; } -function __ZNSt3__213__vector_baseIN6vision12FeaturePointENS_9allocatorIS2_EEED2Ev($0) { - $0 = $0 | 0; - var $$0$i$i = 0, $1 = 0, $3 = 0, $6 = 0, $7 = 0; - $1 = HEAP32[$0 >> 2] | 0; - if ($1 | 0) { - $3 = $0 + 4 | 0; - $$0$i$i = HEAP32[$3 >> 2] | 0; - while (1) { - if (($$0$i$i | 0) == ($1 | 0)) break; - $6 = $$0$i$i + -20 | 0; - __ZN6vision12FeaturePointD2Ev($6); - $$0$i$i = $6; - } - HEAP32[$3 >> 2] = $1; - $7 = HEAP32[$0 >> 2] | 0; - __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($7, (HEAP32[$0 + 8 >> 2] | 0) - $7 | 0); +function __ZNSt3__214__split_bufferINS_4pairIfmEERNS_9allocatorIS2_EEED2Ev($this) { + $this = $this | 0; + var $0 = 0, $1 = 0, $2 = 0, $__end_$i$i$i = 0, $incdec$ptr$i$i$i = 0; + $0 = HEAP32[$this + 4 >> 2] | 0; + $__end_$i$i$i = $this + 8 | 0; + $1 = HEAP32[$__end_$i$i$i >> 2] | 0; + while (1) { + if (($1 | 0) == ($0 | 0)) break; + $incdec$ptr$i$i$i = $1 + -8 | 0; + HEAP32[$__end_$i$i$i >> 2] = $incdec$ptr$i$i$i; + $1 = $incdec$ptr$i$i$i; } + $2 = HEAP32[$this >> 2] | 0; + if ($2 | 0) __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($2, (HEAP32[$this + 12 >> 2] | 0) - $2 | 0); return; } -function __ZN6vision4NodeILi96EED2Ev($0) { - $0 = $0 | 0; - var $$0 = 0, $1 = 0, $11 = 0, $2 = 0, $4 = 0; - $1 = $0 + 104 | 0; - $2 = $0 + 108 | 0; - $$0 = 0; +function __ZNSt3__214__split_bufferINS_4pairIfiEERNS_9allocatorIS2_EEED2Ev($this) { + $this = $this | 0; + var $0 = 0, $1 = 0, $2 = 0, $__end_$i$i$i = 0, $incdec$ptr$i$i$i = 0; + $0 = HEAP32[$this + 4 >> 2] | 0; + $__end_$i$i$i = $this + 8 | 0; + $1 = HEAP32[$__end_$i$i$i >> 2] | 0; while (1) { - $4 = HEAP32[$1 >> 2] | 0; - if ($$0 >>> 0 >= (HEAP32[$2 >> 2] | 0) - $4 >> 2 >>> 0) break; - $11 = HEAP32[$4 + ($$0 << 2) >> 2] | 0; - if ($11 | 0) { - __ZN6vision4NodeILi96EED2Ev($11); - __ZdlPv($11); - } - $$0 = $$0 + 1 | 0; + if (($1 | 0) == ($0 | 0)) break; + $incdec$ptr$i$i$i = $1 + -8 | 0; + HEAP32[$__end_$i$i$i >> 2] = $incdec$ptr$i$i$i; + $1 = $incdec$ptr$i$i$i; } - __ZNSt3__213__vector_baseIiNS_9allocatorIiEEED2Ev($0 + 116 | 0); - __ZNSt3__213__vector_baseIPN6vision4NodeILi96EEENS_9allocatorIS4_EEED2Ev($1); + $2 = HEAP32[$this >> 2] | 0; + if ($2 | 0) __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($2, (HEAP32[$this + 12 >> 2] | 0) - $2 | 0); return; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_12FunctionTypeEJRPNS0_4NodeERNS0_9NodeArrayERNS0_10QualifiersERNS0_15FunctionRefQualESA_EEES9_DpOT0_($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle12FunctionTypeEJRPNS2_4NodeERNS2_9NodeArrayERNS2_10QualifiersERNS2_15FunctionRefQualES6_EEEPT_DpOT0_($0 + 368 | 0, $1, $2, $3, $4, $5) | 0; +function _vasprintf($s, $fmt, $ap) { + $s = $s | 0; + $fmt = $fmt | 0; + $ap = $ap | 0; + var $add = 0, $ap2 = 0, $call = 0, $call4 = 0, $retval$0 = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $ap2 = sp; + HEAP32[$ap2 >> 2] = HEAP32[$ap >> 2]; + $call = _vsnprintf(0, 0, $fmt, $ap2) | 0; + if (($call | 0) >= 0 ? ($add = $call + 1 | 0, $call4 = _malloc($add) | 0, HEAP32[$s >> 2] = $call4, ($call4 | 0) != 0) : 0) $retval$0 = _vsnprintf($call4, $add, $fmt, $ap) | 0; else $retval$0 = -1; + STACKTOP = sp; + return $retval$0 | 0; } -function __ZNK10__cxxabiv122__base_class_type_info27has_unambiguous_public_baseEPNS_19__dynamic_cast_infoEPvi($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $$0 = 0, $$pre = 0, $11 = 0, $5 = 0; - $$pre = HEAP32[$0 + 4 >> 2] | 0; - if ($2) { - $5 = $$pre >> 8; - if (!($$pre & 1)) $$0 = $5; else $$0 = HEAP32[(HEAP32[$2 >> 2] | 0) + $5 >> 2] | 0; - } else $$0 = 0; - $11 = HEAP32[$0 >> 2] | 0; - FUNCTION_TABLE_viiii[HEAP32[(HEAP32[$11 >> 2] | 0) + 28 >> 2] & 31]($11, $1, $2 + $$0 | 0, ($$pre & 2 | 0) == 0 ? 2 : $3); +function __ZN12_GLOBAL__N_116itanium_demangle10BinaryExprC2EPKNS0_4NodeENS_10StringViewES4_($this, $LHS_, $InfixOperator_, $RHS_) { + $this = $this | 0; + $LHS_ = $LHS_ | 0; + $InfixOperator_ = $InfixOperator_ | 0; + $RHS_ = $RHS_ | 0; + var $0 = 0, $5 = 0, $6 = 0; + __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($this, 42, 1, 1, 1); + HEAP32[$this >> 2] = 19320; + HEAP32[$this + 8 >> 2] = $LHS_; + $0 = $InfixOperator_; + $5 = HEAP32[$0 + 4 >> 2] | 0; + $6 = $this + 12 | 0; + HEAP32[$6 >> 2] = HEAP32[$0 >> 2]; + HEAP32[$6 + 4 >> 2] = $5; + HEAP32[$this + 20 >> 2] = $RHS_; return; } -function __ZN12_GLOBAL__N_116itanium_demangle8FoldExprC2EbNS_10StringViewEPKNS0_4NodeES5_($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $14 = 0, $15 = 0, $9 = 0; - __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($0, 57, 1, 1, 1); - HEAP32[$0 >> 2] = 19364; - HEAP32[$0 + 8 >> 2] = $3; - HEAP32[$0 + 12 >> 2] = $4; - $9 = $2; - $14 = HEAP32[$9 + 4 >> 2] | 0; - $15 = $0 + 16 | 0; - HEAP32[$15 >> 2] = HEAP32[$9 >> 2]; - HEAP32[$15 + 4 >> 2] = $14; - HEAP8[$0 + 24 >> 0] = $1 & 1; - return; -} - -function __ZNSt3__214__split_bufferIiRNS_9allocatorIiEEE18__construct_at_endINS_11__wrap_iterIPKiEEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESB_SB_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $10 = 0, $3 = 0, $4 = 0, $6 = 0, $7 = 0; - $3 = HEAP32[$2 >> 2] | 0; - $4 = $0 + 8 | 0; - $6 = HEAP32[$1 >> 2] | 0; +function _matrixLerp2($src, $dst, $interpolationFactor) { + $src = $src | 0; + $dst = $dst | 0; + $interpolationFactor = +$interpolationFactor; + var $0 = 0.0, $arrayidx5 = 0, $conv = 0.0, $i$0 = 0, $j$0 = 0; + $conv = $interpolationFactor; + $i$0 = 0; while (1) { - if (($6 | 0) == ($3 | 0)) break; - $7 = HEAP32[$4 >> 2] | 0; - HEAP32[$7 >> 2] = HEAP32[$6 >> 2]; - HEAP32[$4 >> 2] = $7 + 4; - $10 = $6 + 4 | 0; - HEAP32[$1 >> 2] = $10; - $6 = $10; + if (($i$0 | 0) == 3) break; + $j$0 = 0; + while (1) { + if (($j$0 | 0) == 4) break; + $arrayidx5 = $dst + ($i$0 << 5) + ($j$0 << 3) | 0; + $0 = +HEAPF64[$arrayidx5 >> 3]; + HEAPF64[$arrayidx5 >> 3] = $0 + (+HEAPF64[$src + ($i$0 << 5) + ($j$0 << 3) >> 3] - $0) / $conv; + $j$0 = $j$0 + 1 | 0; + } + $i$0 = $i$0 + 1 | 0; } return; } -function _fmt_x($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $$05$lcssa = 0, $$056 = 0, $14 = 0, $15 = 0, $8 = 0; - if (($0 | 0) == 0 & ($1 | 0) == 0) $$05$lcssa = $2; else { - $$056 = $2; - $15 = $1; - $8 = $0; - while (1) { - $14 = $$056 + -1 | 0; - HEAP8[$14 >> 0] = HEAPU8[6672 + ($8 & 15) >> 0] | 0 | $3; - $8 = _bitshift64Lshr($8 | 0, $15 | 0, 4) | 0; - $15 = getTempRet0() | 0; - if (($8 | 0) == 0 & ($15 | 0) == 0) { - $$05$lcssa = $14; - break; - } else $$056 = $14; - } +function __ZNSt3__214__split_bufferIiRNS_9allocatorIiEEE18__construct_at_endEmRKi($this, $__n, $__x) { + $this = $this | 0; + $__n = $__n | 0; + $__x = $__x | 0; + var $__end_ = 0, $__end_$promoted = 0, $__n$addr$0 = 0, $incdec$ptr3 = 0; + $__end_ = $this + 8 | 0; + $__end_$promoted = HEAP32[$__end_ >> 2] | 0; + $__n$addr$0 = $__n; + $incdec$ptr3 = $__end_$promoted; + while (1) { + HEAP32[$incdec$ptr3 >> 2] = HEAP32[$__x >> 2]; + $__n$addr$0 = $__n$addr$0 + -1 | 0; + if (!$__n$addr$0) break; else $incdec$ptr3 = $incdec$ptr3 + 4 | 0; } - return $$05$lcssa | 0; + HEAP32[$__end_ >> 2] = $__end_$promoted + ($__n << 2); + return; } -function __ZNSt3__26vectorIN6vision25DoGScaleInvariantDetector12FeaturePointENS_9allocatorIS3_EEE4swapERS6_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $10 = 0, $2 = 0, $4 = 0, $5 = 0, $6 = 0, $8 = 0, $9 = 0; - $2 = HEAP32[$0 >> 2] | 0; - HEAP32[$0 >> 2] = HEAP32[$1 >> 2]; - HEAP32[$1 >> 2] = $2; - $4 = $0 + 4 | 0; - $5 = $1 + 4 | 0; - $6 = HEAP32[$4 >> 2] | 0; - HEAP32[$4 >> 2] = HEAP32[$5 >> 2]; - HEAP32[$5 >> 2] = $6; - $8 = $0 + 8 | 0; - $9 = $1 + 8 | 0; - $10 = HEAP32[$8 >> 2] | 0; - HEAP32[$8 >> 2] = HEAP32[$9 >> 2]; - HEAP32[$9 >> 2] = $10; - return; -} - -function _arImageProcLumaHist($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $$013 = 0, $12 = 0, $8 = 0; - L1 : do if (($0 | 0) != 0 & ($1 | 0) != 0) { - _memset($0 + 12 | 0, 0, 1024) | 0; - $8 = $1 + (Math_imul(HEAP32[$0 + 8 >> 2] | 0, HEAP32[$0 + 4 >> 2] | 0) | 0) | 0; - $$0 = $1; - while (1) { - if ($$0 >>> 0 >= $8 >>> 0) { - $$013 = 0; - break L1; - } - $12 = $0 + 12 + ((HEAPU8[$$0 >> 0] | 0) << 2) | 0; - HEAP32[$12 >> 2] = (HEAP32[$12 >> 2] | 0) + 1; - $$0 = $$0 + 1 | 0; +function __ZNSt3__26vectorIiNS_9allocatorIiEEE18__construct_at_endINS_11__wrap_iterIPKiEEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESA_SA_m($this, $__first, $__last, $__n) { + $this = $this | 0; + $__first = $__first | 0; + $__last = $__last | 0; + $__n = $__n | 0; + var $1 = 0, $2 = 0, $3 = 0, $__end_ = 0; + $1 = HEAP32[$__last >> 2] | 0; + $__end_ = $this + 4 | 0; + $2 = HEAP32[$__first >> 2] | 0; + while (1) { + if (($2 | 0) == ($1 | 0)) break; + $3 = HEAP32[$__end_ >> 2] | 0; + HEAP32[$3 >> 2] = HEAP32[$2 >> 2]; + HEAP32[$__end_ >> 2] = $3 + 4; + $2 = $2 + 4 | 0; + } + return; +} + +function __ZN12_GLOBAL__N_122initializeOutputStreamEPcPmRNS_12OutputStreamEm($Buf, $N, $S) { + $Buf = $Buf | 0; + $N = $N | 0; + $S = $S | 0; + var $Buf$addr$0 = 0, $BufferSize$0 = 0, $call = 0, $retval$0 = 0, label = 0; + if (!$Buf) { + $call = _malloc(1024) | 0; + if (!$call) $retval$0 = 0; else { + $Buf$addr$0 = $call; + $BufferSize$0 = 1024; + label = 4; } - } else $$013 = -1; while (0); - return $$013 | 0; + } else { + $Buf$addr$0 = $Buf; + $BufferSize$0 = HEAP32[$N >> 2] | 0; + label = 4; + } + if ((label | 0) == 4) { + __ZN12_GLOBAL__N_112OutputStream5resetEPcm($S, $Buf$addr$0, $BufferSize$0); + $retval$0 = 1; + } + return $retval$0 | 0; } -function __ZNK10__cxxabiv122__base_class_type_info16search_above_dstEPNS_19__dynamic_cast_infoEPKvS4_ib($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$0 = 0, $14 = 0, $7 = 0, $8 = 0; - $7 = HEAP32[$0 + 4 >> 2] | 0; - $8 = $7 >> 8; - if (!($7 & 1)) $$0 = $8; else $$0 = HEAP32[(HEAP32[$3 >> 2] | 0) + $8 >> 2] | 0; - $14 = HEAP32[$0 >> 2] | 0; - FUNCTION_TABLE_viiiiii[HEAP32[(HEAP32[$14 >> 2] | 0) + 20 >> 2] & 7]($14, $1, $2, $3 + $$0 | 0, ($7 & 2 | 0) == 0 ? 2 : $4, $5); - return; +function __ZNKSt3__25ctypeIwE9do_narrowEPKwS3_cPc($this, $low, $high, $dfault, $dest) { + $this = $this | 0; + $low = $low | 0; + $high = $high | 0; + $dfault = $dfault | 0; + $dest = $dest | 0; + var $2 = 0, $3 = 0, $dest$addr$0 = 0, $low$addr$0 = 0; + $2 = ($high - $low | 0) >>> 2; + $dest$addr$0 = $dest; + $low$addr$0 = $low; + while (1) { + if (($low$addr$0 | 0) == ($high | 0)) break; + $3 = HEAP32[$low$addr$0 >> 2] | 0; + HEAP8[$dest$addr$0 >> 0] = $3 >>> 0 < 128 ? $3 & 255 : $dfault; + $dest$addr$0 = $dest$addr$0 + 1 | 0; + $low$addr$0 = $low$addr$0 + 4 | 0; + } + return $low + ($2 << 2) | 0; } -function __ZN6vision15get_pretty_timeEv($0) { - $0 = $0 | 0; - var $1 = 0, $2 = 0, sp = 0; +function __ZNK6vision20VisualDatabaseFacade18get3DFeaturePointsEi($this, $image_id) { + $this = $this | 0; + $image_id = $image_id | 0; + var $call2 = 0, $image_id$addr = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 272 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(272); - $1 = sp + 256 | 0; - $2 = sp; - _time($1 | 0) | 0; - _strftime($2 | 0, 256, 38335, _localtime($1 | 0) | 0) | 0; - HEAP32[$0 >> 2] = 0; - HEAP32[$0 + 4 >> 2] = 0; - HEAP32[$0 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm($0, $2, __ZNSt3__211char_traitsIcE6lengthEPKc($2) | 0); + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $image_id$addr = sp; + HEAP32[$image_id$addr >> 2] = $image_id; + $call2 = __ZNSt3__213unordered_mapIiNS_6vectorIN6vision7Point3dIfEENS_9allocatorIS4_EEEENS_4hashIiEENS_8equal_toIiEENS5_INS_4pairIKiS7_EEEEEixERSD_((HEAP32[$this >> 2] | 0) + 4 | 0, $image_id$addr) | 0; STACKTOP = sp; - return; + return $call2 | 0; } -function ___muldi3($a$0, $a$1, $b$0, $b$1) { - $a$0 = $a$0 | 0; - $a$1 = $a$1 | 0; - $b$0 = $b$0 | 0; - $b$1 = $b$1 | 0; - var $x_sroa_0_0_extract_trunc = 0, $y_sroa_0_0_extract_trunc = 0, $1$0 = 0, $1$1 = 0; - $x_sroa_0_0_extract_trunc = $a$0; - $y_sroa_0_0_extract_trunc = $b$0; - $1$0 = ___muldsi3($x_sroa_0_0_extract_trunc, $y_sroa_0_0_extract_trunc) | 0; - $1$1 = getTempRet0() | 0; - return (setTempRet0((Math_imul($a$1, $y_sroa_0_0_extract_trunc) | 0) + (Math_imul($b$1, $x_sroa_0_0_extract_trunc) | 0) + $1$1 | $1$1 & 0 | 0), $1$0 | 0 | 0) | 0; -} -function __ZNSt3__213__vector_baseIN6vision5ImageENS_9allocatorIS2_EEED2Ev($0) { - $0 = $0 | 0; - var $$0$i$i = 0, $1 = 0, $3 = 0, $6 = 0, $7 = 0; - $1 = HEAP32[$0 >> 2] | 0; - if ($1 | 0) { - $3 = $0 + 4 | 0; - $$0$i$i = HEAP32[$3 >> 2] | 0; +function _ar2SetInitTrans($surfaceSet, $trans) { + $surfaceSet = $surfaceSet | 0; + $trans = $trans | 0; + var $i$0 = 0, $j$0 = 0, $retval$0 = 0; + if (!$surfaceSet) $retval$0 = -1; else { + HEAP32[$surfaceSet + 152 >> 2] = 1; + $j$0 = 0; while (1) { - if (($$0$i$i | 0) == ($1 | 0)) break; - $6 = $$0$i$i + -32 | 0; - __ZN6vision5ImageD2Ev($6); - $$0$i$i = $6; + if (($j$0 | 0) == 3) break; + $i$0 = 0; + while (1) { + if (($i$0 | 0) == 4) break; + HEAP32[$surfaceSet + 8 + ($j$0 << 4) + ($i$0 << 2) >> 2] = HEAP32[$trans + ($j$0 << 4) + ($i$0 << 2) >> 2]; + $i$0 = $i$0 + 1 | 0; + } + $j$0 = $j$0 + 1 | 0; } - HEAP32[$3 >> 2] = $1; - $7 = HEAP32[$0 >> 2] | 0; - __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($7, (HEAP32[$0 + 8 >> 2] | 0) - $7 | 0); + HEAP32[$surfaceSet + 168 >> 2] = -1; + $retval$0 = 0; } - return; -} - -function __ZN6vision9MaxIndex7IfEEiPKT_($0) { - $0 = $0 | 0; - var $$0 = 0, $$1 = 0, $$2 = 0, $$3 = 0, $$4 = 0; - $$0 = +HEAPF32[$0 + 4 >> 2] > +HEAPF32[$0 >> 2] & 1; - $$1 = +HEAPF32[$0 + 8 >> 2] > +HEAPF32[$0 + ($$0 << 2) >> 2] ? 2 : $$0; - $$2 = +HEAPF32[$0 + 12 >> 2] > +HEAPF32[$0 + ($$1 << 2) >> 2] ? 3 : $$1; - $$3 = +HEAPF32[$0 + 16 >> 2] > +HEAPF32[$0 + ($$2 << 2) >> 2] ? 4 : $$2; - $$4 = +HEAPF32[$0 + 20 >> 2] > +HEAPF32[$0 + ($$3 << 2) >> 2] ? 5 : $$3; - return (+HEAPF32[$0 + 24 >> 2] > +HEAPF32[$0 + ($$4 << 2) >> 2] ? 6 : $$4) | 0; -} - -function ___string_read($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$027 = 0, $14 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $spec$select = 0; - $3 = $0 + 84 | 0; - $4 = HEAP32[$3 >> 2] | 0; - $5 = $2 + 256 | 0; - $6 = _memchr($4, 0, $5) | 0; - $$027 = ($6 | 0) == 0 ? $5 : $6 - $4 | 0; - $spec$select = $$027 >>> 0 < $2 >>> 0 ? $$027 : $2; - _memcpy($1 | 0, $4 | 0, $spec$select | 0) | 0; - HEAP32[$0 + 4 >> 2] = $4 + $spec$select; - $14 = $4 + $$027 | 0; - HEAP32[$0 + 8 >> 2] = $14; - HEAP32[$3 >> 2] = $14; - return $spec$select | 0; + return $retval$0 | 0; } -function __ZNSt3__214__split_bufferIN6vision17PriorityQueueItemILi96EEERNS_9allocatorIS3_EEED2Ev($0) { - $0 = $0 | 0; - var $2 = 0, $3 = 0, $4 = 0, $6 = 0, $7 = 0; - $2 = HEAP32[$0 + 4 >> 2] | 0; - $3 = $0 + 8 | 0; +function __ZN6vision12ArrayShuffleIiEEvPT_iiRi($v, $pop_size, $sample_size, $seed) { + $v = $v | 0; + $pop_size = $pop_size | 0; + $sample_size = $sample_size | 0; + $seed = $seed | 0; + var $0 = 0, $arrayidx = 0, $arrayidx1 = 0, $i$0 = 0; + $i$0 = 0; while (1) { - $4 = HEAP32[$3 >> 2] | 0; - if (($4 | 0) == ($2 | 0)) break; - $6 = $4 + -8 | 0; - HEAP32[$3 >> 2] = $6; - __ZN6vision17PriorityQueueItemILi96EED2Ev($6); + if (($i$0 | 0) >= ($sample_size | 0)) break; + $arrayidx = $v + ($i$0 << 2) | 0; + $arrayidx1 = $v + (((__ZN6vision10FastRandomERi($seed) | 0) % ($pop_size | 0) | 0) << 2) | 0; + $0 = HEAP32[$arrayidx >> 2] | 0; + HEAP32[$arrayidx >> 2] = HEAP32[$arrayidx1 >> 2]; + HEAP32[$arrayidx1 >> 2] = $0; + $i$0 = $i$0 + 1 | 0; } - $7 = HEAP32[$0 >> 2] | 0; - if ($7 | 0) __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($7, (HEAP32[$0 + 12 >> 2] | 0) - $7 | 0); return; } -function __ZNKSt3__29__num_getIwE12__do_widen_pIwEEPKT_RNS_8ios_baseEPS3_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0, $4 = 0, sp = 0; +function __ZNSt3__219__libcpp_snprintf_lEPcmP15__locale_structPKcz($__s, $__n, $__l, $__format, $varargs) { + $__s = $__s | 0; + $__n = $__n | 0; + $__l = $__l | 0; + $__format = $__format | 0; + $varargs = $varargs | 0; + var $__va = 0, $call = 0, $call$i = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $3 = sp; - __ZNKSt3__28ios_base6getlocEv($3, $1); - $4 = __ZNKSt3__26locale9use_facetERNS0_2idE($3, 66544) | 0; - FUNCTION_TABLE_iiiii[HEAP32[(HEAP32[$4 >> 2] | 0) + 48 >> 2] & 15]($4, 12928, 12954, $2) | 0; - __ZNSt3__26localeD2Ev($3); + $__va = sp; + HEAP32[$__va >> 2] = $varargs; + $call$i = ___uselocale($__l) | 0; + $call = _vsnprintf($__s, $__n, $__format, $__va) | 0; + if ($call$i | 0) ___uselocale($call$i) | 0; STACKTOP = sp; - return $2 | 0; + return $call | 0; } -function _sbrk($0) { - $0 = $0 | 0; - var $$2 = 0, $1 = 0, $10 = 0, $2 = 0, $3 = 0, $5 = 0; - $1 = _emscripten_get_sbrk_ptr() | 0; - $2 = HEAP32[$1 >> 2] | 0; - $3 = $2 + $0 | 0; - if (($3 | 0) < 0) { - $5 = ___errno_location() | 0; - HEAP32[$5 >> 2] = 48; - $$2 = -1; - return $$2 | 0; - } - if ($3 >>> 0 > (_emscripten_get_heap_size() | 0) >>> 0 ? (_emscripten_resize_heap($3 | 0) | 0) == 0 : 0) { - $10 = ___errno_location() | 0; - HEAP32[$10 >> 2] = 48; - $$2 = -1; - return $$2 | 0; - } - HEAP32[$1 >> 2] = $3; - $$2 = $2; - return $$2 | 0; +function __ZN6vision18BinaryFeatureStore6resizeEm($this, $numFeatures) { + $this = $this | 0; + $numFeatures = $numFeatures | 0; + var $mul = 0, $ref$tmp = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $ref$tmp = sp; + $mul = Math_imul(HEAP32[$this >> 2] | 0, $numFeatures) | 0; + HEAP8[$ref$tmp >> 0] = 0; + __ZNSt3__26vectorIhNS_9allocatorIhEEE6resizeEmRKh($this + 4 | 0, $mul, $ref$tmp); + __ZNSt3__26vectorIN6vision12FeaturePointENS_9allocatorIS2_EEE6resizeEm($this + 16 | 0, $numFeatures); + STACKTOP = sp; + return; } -function __ZNKSt3__25ctypeIwE11do_scan_notEtPKwS3_($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $$0 = 0, $$0$lcssa = 0, $7 = 0; - $$0 = $2; - while (1) { - if (($$0 | 0) == ($3 | 0)) { - $$0$lcssa = $3; - break; - } - if ((HEAP32[$$0 >> 2] | 0) >>> 0 >= 128) { - $$0$lcssa = $$0; - break; - } - $7 = __ZNSt3__25ctypeIcE13classic_tableEv() | 0; - if (!((HEAP16[$7 + (HEAP32[$$0 >> 2] << 1) >> 1] & $1) << 16 >> 16)) { - $$0$lcssa = $$0; - break; - } - $$0 = $$0 + 4 | 0; +function __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($this, $R) { + $this = $this | 0; + $R = $R | 0; + var $CurrentPosition = 0, $add$ptr = 0, $call = 0; + $call = __ZNK12_GLOBAL__N_110StringView4sizeEv($R) | 0; + if ($call | 0) { + __ZN12_GLOBAL__N_112OutputStream4growEm($this, $call); + $CurrentPosition = $this + 4 | 0; + $add$ptr = (HEAP32[$this >> 2] | 0) + (HEAP32[$CurrentPosition >> 2] | 0) | 0; + _memmove($add$ptr | 0, __ZNK12_GLOBAL__N_110StringView5beginEv($R) | 0, $call | 0) | 0; + HEAP32[$CurrentPosition >> 2] = (HEAP32[$CurrentPosition >> 2] | 0) + $call; } - return $$0$lcssa | 0; + return; } -function _ar2GetTransMatHomography_176($initConv, $pos2d, $pos3d, $num, $conv, $robustMode, $inlierProb) { - $initConv = $initConv | 0; - $pos2d = $pos2d | 0; - $pos3d = $pos3d | 0; - $num = $num | 0; - $conv = $conv | 0; - $robustMode = $robustMode | 0; - $inlierProb = +$inlierProb; - var $retval$0 = 0.0; - if (!$robustMode) $retval$0 = +_ar2GetTransMatHomography2_177($initConv, $pos2d, $pos3d, $num, $conv); else $retval$0 = +_ar2GetTransMatHomographyRobust_178($initConv, $pos2d, $pos3d, $num, $conv, $inlierProb); - return +$retval$0; +function __ZNSt3__26vectorIPNS_6locale5facetENS_15__sso_allocatorIS3_Lm28EEEE6resizeEm($this, $__sz) { + $this = $this | 0; + $__sz = $__sz | 0; + var $1 = 0, $2 = 0, $__end_$i = 0, $sub$ptr$div$i = 0; + $__end_$i = $this + 4 | 0; + $1 = HEAP32[$this >> 2] | 0; + $sub$ptr$div$i = (HEAP32[$__end_$i >> 2] | 0) - $1 >> 2; + $2 = $1; + if ($sub$ptr$div$i >>> 0 >= $__sz >>> 0) { + if ($sub$ptr$div$i >>> 0 > $__sz >>> 0) HEAP32[$__end_$i >> 2] = $2 + ($__sz << 2); + } else __ZNSt3__26vectorIPNS_6locale5facetENS_15__sso_allocatorIS3_Lm28EEEE8__appendEm($this, $__sz - $sub$ptr$div$i | 0); + return; } -function __ZNSt3__214__split_bufferIN6vision25DoGScaleInvariantDetector12FeaturePointERNS_9allocatorIS3_EEE18__construct_at_endEm($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $2 = 0, $3 = 0, dest = 0, stop = 0; - $2 = $0 + 8 | 0; - $$0 = $1; - $3 = HEAP32[$2 >> 2] | 0; - do { - dest = $3; - stop = dest + 36 | 0; - do { - HEAP32[dest >> 2] = 0; - dest = dest + 4 | 0; - } while ((dest | 0) < (stop | 0)); - $3 = (HEAP32[$2 >> 2] | 0) + 36 | 0; - HEAP32[$2 >> 2] = $3; - $$0 = $$0 + -1 | 0; - } while (($$0 | 0) != 0); +function __ZNSt3__214__split_bufferItRNS_9allocatorItEEED2Ev($this) { + $this = $this | 0; + var $0 = 0, $1 = 0, $2 = 0, $__end_$i$i$i = 0, $incdec$ptr$i$i$i = 0; + $0 = HEAP32[$this + 4 >> 2] | 0; + $__end_$i$i$i = $this + 8 | 0; + $1 = HEAP32[$__end_$i$i$i >> 2] | 0; + while (1) { + if (($1 | 0) == ($0 | 0)) break; + $incdec$ptr$i$i$i = $1 + -2 | 0; + HEAP32[$__end_$i$i$i >> 2] = $incdec$ptr$i$i$i; + $1 = $incdec$ptr$i$i$i; + } + $2 = HEAP32[$this >> 2] | 0; + if ($2 | 0) __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($2, (HEAP32[$this + 12 >> 2] | 0) - $2 | 0); return; } -function __ZN6vision11DotProduct9IfEET_PKS1_S3_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return +(+HEAPF32[$0 >> 2] * +HEAPF32[$1 >> 2] + +HEAPF32[$0 + 4 >> 2] * +HEAPF32[$1 + 4 >> 2] + +HEAPF32[$0 + 8 >> 2] * +HEAPF32[$1 + 8 >> 2] + +HEAPF32[$0 + 12 >> 2] * +HEAPF32[$1 + 12 >> 2] + +HEAPF32[$0 + 16 >> 2] * +HEAPF32[$1 + 16 >> 2] + +HEAPF32[$0 + 20 >> 2] * +HEAPF32[$1 + 20 >> 2] + +HEAPF32[$0 + 24 >> 2] * +HEAPF32[$1 + 24 >> 2] + +HEAPF32[$0 + 28 >> 2] * +HEAPF32[$1 + 28 >> 2] + +HEAPF32[$0 + 32 >> 2] * +HEAPF32[$1 + 32 >> 2]); +function __ZNSt3__214__split_bufferIiRNS_9allocatorIiEEED2Ev($this) { + $this = $this | 0; + var $0 = 0, $1 = 0, $2 = 0, $__end_$i$i$i = 0, $incdec$ptr$i$i$i = 0; + $0 = HEAP32[$this + 4 >> 2] | 0; + $__end_$i$i$i = $this + 8 | 0; + $1 = HEAP32[$__end_$i$i$i >> 2] | 0; + while (1) { + if (($1 | 0) == ($0 | 0)) break; + $incdec$ptr$i$i$i = $1 + -4 | 0; + HEAP32[$__end_$i$i$i >> 2] = $incdec$ptr$i$i$i; + $1 = $incdec$ptr$i$i$i; + } + $2 = HEAP32[$this >> 2] | 0; + if ($2 | 0) __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($2, (HEAP32[$this + 12 >> 2] | 0) - $2 | 0); + return; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E13makeNodeArrayIPPNS0_4NodeEEENS0_9NodeArrayET_SB_($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $6 = 0, $7 = 0, $9 = 0; - $6 = $3 - $2 | 0; - $7 = $6 >> 2; - $9 = __ZN12_GLOBAL__N_116DefaultAllocator17allocateNodeArrayEm($1 + 368 | 0, $7) | 0; - if ($6 | 0) _memmove($9 | 0, $2 | 0, $6 | 0) | 0; - __ZN12_GLOBAL__N_116itanium_demangle9NodeArrayC2EPPNS0_4NodeEm($0, $9, $7); +function __ZNSt3__214__split_bufferIhRNS_9allocatorIhEEED2Ev($this) { + $this = $this | 0; + var $0 = 0, $1 = 0, $2 = 0, $__end_$i$i$i = 0, $incdec$ptr$i$i$i = 0; + $0 = HEAP32[$this + 4 >> 2] | 0; + $__end_$i$i$i = $this + 8 | 0; + $1 = HEAP32[$__end_$i$i$i >> 2] | 0; + while (1) { + if (($1 | 0) == ($0 | 0)) break; + $incdec$ptr$i$i$i = $1 + -1 | 0; + HEAP32[$__end_$i$i$i >> 2] = $incdec$ptr$i$i$i; + $1 = $incdec$ptr$i$i$i; + } + $2 = HEAP32[$this >> 2] | 0; + if ($2 | 0) __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($2, (HEAP32[$this + 12 >> 2] | 0) - $2 | 0); return; } -function __ZNK10__cxxabiv122__base_class_type_info16search_below_dstEPNS_19__dynamic_cast_infoEPKvib($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $$0 = 0, $13 = 0, $6 = 0, $7 = 0; - $6 = HEAP32[$0 + 4 >> 2] | 0; - $7 = $6 >> 8; - if (!($6 & 1)) $$0 = $7; else $$0 = HEAP32[(HEAP32[$2 >> 2] | 0) + $7 >> 2] | 0; - $13 = HEAP32[$0 >> 2] | 0; - FUNCTION_TABLE_viiiii[HEAP32[(HEAP32[$13 >> 2] | 0) + 24 >> 2] & 63]($13, $1, $2 + $$0 | 0, ($6 & 2 | 0) == 0 ? 2 : $3, $4); +function __ZNSt3__214__split_bufferIfRNS_9allocatorIfEEED2Ev($this) { + $this = $this | 0; + var $0 = 0, $1 = 0, $2 = 0, $__end_$i$i$i = 0, $incdec$ptr$i$i$i = 0; + $0 = HEAP32[$this + 4 >> 2] | 0; + $__end_$i$i$i = $this + 8 | 0; + $1 = HEAP32[$__end_$i$i$i >> 2] | 0; + while (1) { + if (($1 | 0) == ($0 | 0)) break; + $incdec$ptr$i$i$i = $1 + -4 | 0; + HEAP32[$__end_$i$i$i >> 2] = $incdec$ptr$i$i$i; + $1 = $incdec$ptr$i$i$i; + } + $2 = HEAP32[$this >> 2] | 0; + if ($2 | 0) __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($2, (HEAP32[$this + 12 >> 2] | 0) - $2 | 0); return; } -function _emit_message($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $13 = 0, $2 = 0, $4 = 0, $5 = 0, label = 0; - $2 = HEAP32[$0 >> 2] | 0; - if (($1 | 0) >= 0) { - if ((HEAP32[$2 + 104 >> 2] | 0) < ($1 | 0)) return; - FUNCTION_TABLE_vi[HEAP32[$2 + 8 >> 2] & 255]($0); - return; - } - $4 = $2 + 108 | 0; - $5 = HEAP32[$4 >> 2] | 0; - if (($5 | 0) != 0 ? (HEAP32[$2 + 104 >> 2] | 0) <= 2 : 0) $13 = $5; else { - FUNCTION_TABLE_vi[HEAP32[$2 + 8 >> 2] & 255]($0); - $13 = HEAP32[$4 >> 2] | 0; +function _arImageProcLumaHistAndCDF($ipi, $dataPtr) { + $ipi = $ipi | 0; + $dataPtr = $dataPtr | 0; + var $call = 0, $cdfCurrent$0 = 0, $indvars$iv = 0, $retval$0 = 0; + $call = _arImageProcLumaHist($ipi, $dataPtr) | 0; + if (($call | 0) < 0) $retval$0 = $call; else { + $cdfCurrent$0 = 0; + $indvars$iv = 0; + do { + $cdfCurrent$0 = (HEAP32[$ipi + 12 + ($indvars$iv << 2) >> 2] | 0) + $cdfCurrent$0 | 0; + HEAP32[$ipi + 1036 + ($indvars$iv << 2) >> 2] = $cdfCurrent$0; + $indvars$iv = $indvars$iv + 1 | 0; + } while (($indvars$iv | 0) != 256); + $retval$0 = 0; } - HEAP32[$4 >> 2] = $13 + 1; - return; + return $retval$0 | 0; } -function __ZNSt3__26vectorIN6vision25DoGScaleInvariantDetector12FeaturePointENS_9allocatorIS3_EEE18__construct_at_endEm($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $2 = 0, $3 = 0, dest = 0, stop = 0; - $2 = $0 + 4 | 0; - $$0 = $1; - $3 = HEAP32[$2 >> 2] | 0; - do { - dest = $3; - stop = dest + 36 | 0; - do { - HEAP32[dest >> 2] = 0; - dest = dest + 4 | 0; - } while ((dest | 0) < (stop | 0)); - $3 = (HEAP32[$2 >> 2] | 0) + 36 | 0; - HEAP32[$2 >> 2] = $3; - $$0 = $$0 + -1 | 0; - } while (($$0 | 0) != 0); - return; +function __ZN10emscripten8internal7InvokerIiJiEE6invokeEPFiiEi($fn, $args) { + $fn = $fn | 0; + $args = $args | 0; + var $call = 0, $call1 = 0, $call2 = 0, $ref$tmp = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $ref$tmp = sp; + $call = __ZN10emscripten8internal11BindingTypeIivE12fromWireTypeEi($args) | 0; + $call1 = FUNCTION_TABLE_ii[$fn & 127]($call) | 0; + HEAP32[$ref$tmp >> 2] = $call1; + $call2 = __ZN10emscripten8internal11BindingTypeIivE10toWireTypeERKi($ref$tmp) | 0; + STACKTOP = sp; + return $call2 | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle10AbiTagAttrC2EPNS0_4NodeENS_10StringViewE($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $11 = 0, $16 = 0, $17 = 0; - __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($0, 8, HEAP8[$1 + 5 >> 0] | 0, HEAP8[$1 + 6 >> 0] | 0, HEAP8[$1 + 7 >> 0] | 0); - HEAP32[$0 >> 2] = 17560; - HEAP32[$0 + 8 >> 2] = $1; - $11 = $2; - $16 = HEAP32[$11 + 4 >> 2] | 0; - $17 = $0 + 12 | 0; - HEAP32[$17 >> 2] = HEAP32[$11 >> 2]; - HEAP32[$17 + 4 >> 2] = $16; +function __ZNSt3__214__split_bufferIhRNS_9allocatorIhEEEC2EmmS3_($this, $__cap, $__start, $__a) { + $this = $this | 0; + $__cap = $__cap | 0; + $__start = $__start | 0; + $__a = $__a | 0; + var $__value_$i1$i = 0, $add$ptr = 0, $cond = 0; + $__value_$i1$i = $this + 12 | 0; + HEAP32[$__value_$i1$i >> 2] = 0; + HEAP32[$this + 16 >> 2] = $__a; + if (!$__cap) $cond = 0; else $cond = __Znwm($__cap) | 0; + HEAP32[$this >> 2] = $cond; + $add$ptr = $cond + $__start | 0; + HEAP32[$this + 8 >> 2] = $add$ptr; + HEAP32[$this + 4 >> 2] = $add$ptr; + HEAP32[$__value_$i1$i >> 2] = $cond + $__cap; return; } -function __ZL14genBWImageFullPhiiPiS0_($0, $1, $2, $3, $4) { +function _fmt_o($0, $1, $s) { $0 = $0 | 0; $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $5 = 0, $6 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - HEAP32[$3 >> 2] = $1; - HEAP32[$4 >> 2] = $2; - $5 = Math_imul($2, $1) | 0; - $6 = _malloc($5) | 0; - if (!$6) { - _arLog(0, 3, 45930, sp); - _exit(1); - } else { - _memcpy($6 | 0, $0 | 0, $5 | 0) | 0; - STACKTOP = sp; - return $6 | 0; + $s = $s | 0; + var $6 = 0, $8 = 0, $incdec$ptr = 0, $s$addr$0$lcssa = 0, $s$addr$06 = 0; + if (($0 | 0) == 0 & ($1 | 0) == 0) $s$addr$0$lcssa = $s; else { + $6 = $0; + $8 = $1; + $s$addr$06 = $s; + while (1) { + $incdec$ptr = $s$addr$06 + -1 | 0; + HEAP8[$incdec$ptr >> 0] = $6 & 7 | 48; + $6 = _bitshift64Lshr($6 | 0, $8 | 0, 3) | 0; + $8 = getTempRet0() | 0; + if (($6 | 0) == 0 & ($8 | 0) == 0) { + $s$addr$0$lcssa = $incdec$ptr; + break; + } else $s$addr$06 = $incdec$ptr; + } } - return 0; + return $s$addr$0$lcssa | 0; } -function __ZNSt3__26vectorIN6vision7match_tENS_9allocatorIS2_EEE4swapERS5_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $10 = 0, $2 = 0, $4 = 0, $5 = 0, $6 = 0, $8 = 0, $9 = 0; - $2 = HEAP32[$0 >> 2] | 0; - HEAP32[$0 >> 2] = HEAP32[$1 >> 2]; - HEAP32[$1 >> 2] = $2; - $4 = $0 + 4 | 0; - $5 = $1 + 4 | 0; - $6 = HEAP32[$4 >> 2] | 0; - HEAP32[$4 >> 2] = HEAP32[$5 >> 2]; - HEAP32[$5 >> 2] = $6; - $8 = $0 + 8 | 0; - $9 = $1 + 8 | 0; - $10 = HEAP32[$8 >> 2] | 0; - HEAP32[$8 >> 2] = HEAP32[$9 >> 2]; - HEAP32[$9 >> 2] = $10; - return; -} - -function __ZNSt3__26vectorIN6vision25DoGScaleInvariantDetector12FeaturePointENS_9allocatorIS3_EEE6resizeEm($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $4 = 0, $6 = 0, $8 = 0; - $2 = $0 + 4 | 0; - $4 = HEAP32[$0 >> 2] | 0; - $6 = ((HEAP32[$2 >> 2] | 0) - $4 | 0) / 36 | 0; - $8 = $4; - if ($6 >>> 0 >= $1 >>> 0) { - if ($6 >>> 0 > $1 >>> 0) HEAP32[$2 >> 2] = $8 + ($1 * 36 | 0); - } else __ZNSt3__26vectorIN6vision25DoGScaleInvariantDetector12FeaturePointENS_9allocatorIS3_EEE8__appendEm($0, $1 - $6 | 0); - return; +function __ZN10emscripten8internal7InvokerIdJiEE6invokeEPFdiEi($fn, $args) { + $fn = $fn | 0; + $args = $args | 0; + var $call = 0, $call1 = 0.0, $call2 = 0.0, $ref$tmp = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $ref$tmp = sp; + $call = __ZN10emscripten8internal11BindingTypeIivE12fromWireTypeEi($args) | 0; + $call1 = +FUNCTION_TABLE_di[$fn & 3]($call); + HEAPF64[$ref$tmp >> 3] = $call1; + $call2 = +__ZN10emscripten8internal11BindingTypeIdvE10toWireTypeERKd($ref$tmp); + STACKTOP = sp; + return +$call2; } -function __ZNK10__cxxabiv120__si_class_type_info27has_unambiguous_public_baseEPNS_19__dynamic_cast_infoEPvi($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $8 = 0; - if (__ZL8is_equalPKSt9type_infoS1_b($0, HEAP32[$1 + 8 >> 2] | 0, 0) | 0) __ZNK10__cxxabiv117__class_type_info24process_found_base_classEPNS_19__dynamic_cast_infoEPvi(0, $1, $2, $3); else { - $8 = HEAP32[$0 + 8 >> 2] | 0; - FUNCTION_TABLE_viiii[HEAP32[(HEAP32[$8 >> 2] | 0) + 28 >> 2] & 31]($8, $1, $2, $3); +function __ZN6vision28BinaryHierarchicalClusteringILi96EED2Ev($this) { + $this = $this | 0; + var $1 = 0, $__value_$i$i$i$i = 0; + __ZNSt3__214priority_queueIN6vision17PriorityQueueItemILi96EEENS_6vectorIS3_NS_9allocatorIS3_EEEENS_4lessIS3_EEED2Ev($this + 84 | 0); + __ZNSt3__213__vector_baseIiNS_9allocatorIiEEED2Ev($this + 72 | 0); + __ZN6vision14BinarykMedoidsILi96EED2Ev($this + 12 | 0); + $__value_$i$i$i$i = $this + 8 | 0; + $1 = HEAP32[$__value_$i$i$i$i >> 2] | 0; + HEAP32[$__value_$i$i$i$i >> 2] = 0; + if ($1 | 0) { + __ZN6vision4NodeILi96EED2Ev($1); + __ZdlPv($1); } return; } -function _arUtilGetDirectoryNameFromPath($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $$0 = 0, $14 = 0, $7 = 0; - do if (($0 | 0) != 0 & ($1 | 0) != 0 & ($2 | 0) != 0) { - $7 = _strrchr($1, 47) | 0; - if (!$7) { - HEAP8[$0 >> 0] = 0; - $$0 = $0; - break; - } - $14 = $7 + (($3 | 0) != 0 & 1) - $1 | 0; - if (($14 + 1 | 0) >>> 0 <= $2 >>> 0) { - _strncpy($0, $1, $14) | 0; - HEAP8[$0 + $14 >> 0] = 0; - $$0 = $0; - } else $$0 = 0; - } else $$0 = 0; while (0); - return $$0 | 0; +function __ZNK10__cxxabiv117__class_type_info16search_above_dstEPNS_19__dynamic_cast_infoEPKvS4_ib($this, $info, $dst_ptr, $current_ptr, $path_below, $use_strcmp) { + $this = $this | 0; + $info = $info | 0; + $dst_ptr = $dst_ptr | 0; + $current_ptr = $current_ptr | 0; + $path_below = $path_below | 0; + $use_strcmp = $use_strcmp | 0; + if (__ZL8is_equalPKSt9type_infoS1_b($this, HEAP32[$info + 8 >> 2] | 0, $use_strcmp) | 0) __ZNK10__cxxabiv117__class_type_info29process_static_type_above_dstEPNS_19__dynamic_cast_infoEPKvS4_i(0, $info, $dst_ptr, $current_ptr, $path_below); + return; } -function __ZNSt3__26vectorIiNS_9allocatorIiEEE18__construct_at_endINS_11__wrap_iterIPKiEEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESA_SA_m($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $5 = 0, $6 = 0, $8 = 0, $9 = 0; - $5 = HEAP32[$2 >> 2] | 0; - $6 = $0 + 4 | 0; - $8 = HEAP32[$1 >> 2] | 0; +function __ZNSt3__212__hash_tableINS_17__hash_value_typeIiP14AR2SurfaceSetTEENS_22__unordered_map_hasherIiS4_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS4_NS_8equal_toIiEELb1EEENS_9allocatorIS4_EEE17__deallocate_nodeEPNS_16__hash_node_baseIPNS_11__hash_nodeIS4_PvEEEE($this, $__np) { + $this = $this | 0; + $__np = $__np | 0; + var $0 = 0, $__np$addr$0 = 0; + $__np$addr$0 = $__np; while (1) { - if (($8 | 0) == ($5 | 0)) break; - $9 = HEAP32[$6 >> 2] | 0; - HEAP32[$9 >> 2] = HEAP32[$8 >> 2]; - HEAP32[$6 >> 2] = $9 + 4; - $8 = $8 + 4 | 0; + if (!$__np$addr$0) break; + $0 = HEAP32[$__np$addr$0 >> 2] | 0; + __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($__np$addr$0, 16); + $__np$addr$0 = $0; } return; } -function __ZNSt3__214__split_bufferIN6vision25DoGScaleInvariantDetector12FeaturePointERNS_9allocatorIS3_EEED2Ev($0) { - $0 = $0 | 0; - var $2 = 0, $3 = 0, $5 = 0, $6 = 0, $7 = 0; - $2 = HEAP32[$0 + 4 >> 2] | 0; - $3 = $0 + 8 | 0; - $5 = HEAP32[$3 >> 2] | 0; - while (1) { - if (($5 | 0) == ($2 | 0)) break; - $6 = $5 + -36 | 0; - HEAP32[$3 >> 2] = $6; - $5 = $6; - } - $7 = HEAP32[$0 >> 2] | 0; - if ($7 | 0) __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($7, (HEAP32[$0 + 12 >> 2] | 0) - $7 | 0); +function __ZN12_GLOBAL__N_116itanium_demangle8CastExprC2ENS_10StringViewEPKNS0_4NodeES5_($this, $CastKind_, $To_, $From_) { + $this = $this | 0; + $CastKind_ = $CastKind_ | 0; + $To_ = $To_ | 0; + $From_ = $From_ | 0; + var $0 = 0, $5 = 0, $6 = 0; + __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($this, 48, 1, 1, 1); + HEAP32[$this >> 2] = 18528; + $0 = $CastKind_; + $5 = HEAP32[$0 + 4 >> 2] | 0; + $6 = $this + 8 | 0; + HEAP32[$6 >> 2] = HEAP32[$0 >> 2]; + HEAP32[$6 + 4 >> 2] = $5; + HEAP32[$this + 16 >> 2] = $To_; + HEAP32[$this + 20 >> 2] = $From_; return; } -function __ZNSt3__214__split_bufferIN6vision12FeaturePointERNS_9allocatorIS2_EEED2Ev($0) { - $0 = $0 | 0; - var $2 = 0, $3 = 0, $4 = 0, $6 = 0, $7 = 0; - $2 = HEAP32[$0 + 4 >> 2] | 0; - $3 = $0 + 8 | 0; +function __ZNKSt3__25ctypeIcE10do_toupperEPcPKc($this, $low, $high) { + $this = $this | 0; + $low = $low | 0; + $high = $high | 0; + var $0 = 0, $call = 0, $cond = 0, $low$addr$0 = 0; + $low$addr$0 = $low; while (1) { - $4 = HEAP32[$3 >> 2] | 0; - if (($4 | 0) == ($2 | 0)) break; - $6 = $4 + -20 | 0; - HEAP32[$3 >> 2] = $6; - __ZN6vision12FeaturePointD2Ev($6); + if (($low$addr$0 | 0) == ($high | 0)) break; + $0 = HEAP8[$low$addr$0 >> 0] | 0; + if ($0 << 24 >> 24 > -1) { + $call = __ZNSt3__25ctypeIcE21__classic_upper_tableEv() | 0; + $cond = HEAP32[$call + (HEAP8[$low$addr$0 >> 0] << 2) >> 2] & 255; + } else $cond = $0; + HEAP8[$low$addr$0 >> 0] = $cond; + $low$addr$0 = $low$addr$0 + 1 | 0; } - $7 = HEAP32[$0 >> 2] | 0; - if ($7 | 0) __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($7, (HEAP32[$0 + 12 >> 2] | 0) - $7 | 0); - return; + return $high | 0; } -function __ZNKSt3__27codecvtIwc11__mbstate_tE11do_encodingEv($0) { - $0 = $0 | 0; - var $$0 = 0, $1 = 0, $10 = 0, $3 = 0, $4 = 0, $7 = 0, $9 = 0; - $1 = $0 + 8 | 0; - $3 = ___uselocale(HEAP32[$1 >> 2] | 0) | 0; - $4 = _mbtowc(0, 0, 4) | 0; - if ($3 | 0) ___uselocale($3) | 0; - if (!$4) { - $7 = HEAP32[$1 >> 2] | 0; - if (!$7) $$0 = 1; else { - $9 = ___uselocale($7) | 0; - $10 = ___ctype_get_mb_cur_max() | 0; - if ($9 | 0) ___uselocale($9) | 0; - return ($10 | 0) == 1 | 0; - } - } else $$0 = -1; - return $$0 | 0; -} - -function _vasprintf($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$0 = 0, $3 = 0, $4 = 0, $6 = 0, $7 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $3 = sp; - HEAP32[$3 >> 2] = HEAP32[$2 >> 2]; - $4 = _vsnprintf(0, 0, $1, $3) | 0; - if (($4 | 0) >= 0 ? ($6 = $4 + 1 | 0, $7 = _malloc($6) | 0, HEAP32[$0 >> 2] = $7, ($7 | 0) != 0) : 0) $$0 = _vsnprintf($7, $6, $1, $2) | 0; else $$0 = -1; - STACKTOP = sp; - return $$0 | 0; +function __ZNKSt3__25ctypeIcE10do_tolowerEPcPKc($this, $low, $high) { + $this = $this | 0; + $low = $low | 0; + $high = $high | 0; + var $0 = 0, $call = 0, $cond = 0, $low$addr$0 = 0; + $low$addr$0 = $low; + while (1) { + if (($low$addr$0 | 0) == ($high | 0)) break; + $0 = HEAP8[$low$addr$0 >> 0] | 0; + if ($0 << 24 >> 24 > -1) { + $call = __ZNSt3__25ctypeIcE21__classic_lower_tableEv() | 0; + $cond = HEAP32[$call + (HEAP8[$low$addr$0 >> 0] << 2) >> 2] & 255; + } else $cond = $0; + HEAP8[$low$addr$0 >> 0] = $cond; + $low$addr$0 = $low$addr$0 + 1 | 0; + } + return $high | 0; } -function _jcopy_sample_rows($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $$01922 = 0, $$02021 = 0, $$023 = 0; - if (($4 | 0) <= 0) return; - $$01922 = $0 + ($1 << 2) | 0; - $$02021 = $2 + ($3 << 2) | 0; - $$023 = $4; +function __ZN6vision6Logger5writeENS_19LoggerPriorityLevelERKNSt3__212basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE($this, $level, $str) { + $this = $this | 0; + $level = $level | 0; + $str = $str | 0; + var $1 = 0, $3 = 0, $__end_$i = 0, $i$0 = 0; + $__end_$i = $this + 4 | 0; + $i$0 = 0; while (1) { - _memcpy(HEAP32[$$02021 >> 2] | 0, HEAP32[$$01922 >> 2] | 0, $5 | 0) | 0; - if (($$023 | 0) > 1) { - $$01922 = $$01922 + 4 | 0; - $$02021 = $$02021 + 4 | 0; - $$023 = $$023 + -1 | 0; - } else break; + $1 = HEAP32[$this >> 2] | 0; + if ($i$0 >>> 0 >= (HEAP32[$__end_$i >> 2] | 0) - $1 >> 3 >>> 0) break; + $3 = HEAP32[$1 + ($i$0 << 3) >> 2] | 0; + FUNCTION_TABLE_viii[HEAP32[(HEAP32[$3 >> 2] | 0) + 8 >> 2] & 3]($3, $level, $str); + $i$0 = $i$0 + 1 | 0; } return; } -function __ZN6vision6Logger5writeENS_19LoggerPriorityLevelERKNSt3__212basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$0 = 0, $11 = 0, $3 = 0, $5 = 0; - $3 = $0 + 4 | 0; - $$0 = 0; - while (1) { - $5 = HEAP32[$0 >> 2] | 0; - if ($$0 >>> 0 >= (HEAP32[$3 >> 2] | 0) - $5 >> 3 >>> 0) break; - $11 = HEAP32[$5 + ($$0 << 3) >> 2] | 0; - FUNCTION_TABLE_viii[HEAP32[(HEAP32[$11 >> 2] | 0) + 8 >> 2] & 3]($11, $1, $2); - $$0 = $$0 + 1 | 0; +function __ZNSt3__26vectorIN6vision7Point3dIfEENS_9allocatorIS3_EEE13__vdeallocateEv($this) { + $this = $this | 0; + var $0 = 0, $1 = 0, $__end_$i$i$i = 0, $__value_$i$i$i$i$i = 0; + $0 = HEAP32[$this >> 2] | 0; + $1 = $0; + if ($0 | 0) { + $__end_$i$i$i = $this + 4 | 0; + HEAP32[$__end_$i$i$i >> 2] = $1; + $__value_$i$i$i$i$i = $this + 8 | 0; + __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($0, (HEAP32[$__value_$i$i$i$i$i >> 2] | 0) - $1 | 0); + HEAP32[$__value_$i$i$i$i$i >> 2] = 0; + HEAP32[$__end_$i$i$i >> 2] = 0; + HEAP32[$this >> 2] = 0; } return; } -function __ZN12_GLOBAL__N_112OutputStream4growEm($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $11 = 0, $4 = 0, $5 = 0, $6 = 0, $8 = 0, $spec$store$select = 0; - $4 = (HEAP32[$0 + 4 >> 2] | 0) + $1 | 0; - $5 = $0 + 8 | 0; - $6 = HEAP32[$5 >> 2] | 0; - if ($4 >>> 0 >= $6 >>> 0 ? ($8 = $6 << 1, $spec$store$select = $8 >>> 0 < $4 >>> 0 ? $4 : $8, HEAP32[$5 >> 2] = $spec$store$select, $11 = _realloc(HEAP32[$0 >> 2] | 0, $spec$store$select) | 0, HEAP32[$0 >> 2] = $11, ($11 | 0) == 0) : 0) __ZSt9terminatev(); +function __ZN12_GLOBAL__N_116itanium_demangle10AbiTagAttrC2EPNS0_4NodeENS_10StringViewE($this, $Base_, $Tag_) { + $this = $this | 0; + $Base_ = $Base_ | 0; + $Tag_ = $Tag_ | 0; + var $3 = 0, $8 = 0, $9 = 0; + __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($this, 8, HEAP8[$Base_ + 5 >> 0] | 0, HEAP8[$Base_ + 6 >> 0] | 0, HEAP8[$Base_ + 7 >> 0] | 0); + HEAP32[$this >> 2] = 17560; + HEAP32[$this + 8 >> 2] = $Base_; + $3 = $Tag_; + $8 = HEAP32[$3 + 4 >> 2] | 0; + $9 = $this + 12 | 0; + HEAP32[$9 >> 2] = HEAP32[$3 >> 2]; + HEAP32[$9 + 4 >> 2] = $8; return; } -function __ZN12_GLOBAL__N_120register_memory_viewItEEvPKc($0) { - $0 = $0 | 0; - var $1 = 0, $2 = 0, $3 = 0, sp = 0; +function __ZN12_GLOBAL__N_120register_memory_viewItEEvPKc($name) { + $name = $name | 0; + var $call = 0, $call1 = 0, $name$addr = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $1 = sp; - HEAP32[$1 >> 2] = $0; - $2 = __ZN10emscripten8internal6TypeIDINS_11memory_viewItEEvE3getEv() | 0; - $3 = __ZN12_GLOBAL__N_118getTypedArrayIndexItEENS_15TypedArrayIndexEv() | 0; - __embind_register_memory_view($2 | 0, $3 | 0, HEAP32[$1 >> 2] | 0); + $name$addr = sp; + HEAP32[$name$addr >> 2] = $name; + $call = __ZN10emscripten8internal6TypeIDINS_11memory_viewItEEvE3getEv() | 0; + $call1 = __ZN12_GLOBAL__N_118getTypedArrayIndexItEENS_15TypedArrayIndexEv() | 0; + __embind_register_memory_view($call | 0, $call1 | 0, HEAP32[$name$addr >> 2] | 0); STACKTOP = sp; return; } -function __ZN12_GLOBAL__N_120register_memory_viewIsEEvPKc($0) { - $0 = $0 | 0; - var $1 = 0, $2 = 0, $3 = 0, sp = 0; +function __ZN12_GLOBAL__N_120register_memory_viewIsEEvPKc($name) { + $name = $name | 0; + var $call = 0, $call1 = 0, $name$addr = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $1 = sp; - HEAP32[$1 >> 2] = $0; - $2 = __ZN10emscripten8internal6TypeIDINS_11memory_viewIsEEvE3getEv() | 0; - $3 = __ZN12_GLOBAL__N_118getTypedArrayIndexIsEENS_15TypedArrayIndexEv() | 0; - __embind_register_memory_view($2 | 0, $3 | 0, HEAP32[$1 >> 2] | 0); + $name$addr = sp; + HEAP32[$name$addr >> 2] = $name; + $call = __ZN10emscripten8internal6TypeIDINS_11memory_viewIsEEvE3getEv() | 0; + $call1 = __ZN12_GLOBAL__N_118getTypedArrayIndexIsEENS_15TypedArrayIndexEv() | 0; + __embind_register_memory_view($call | 0, $call1 | 0, HEAP32[$name$addr >> 2] | 0); STACKTOP = sp; return; } -function __ZN12_GLOBAL__N_120register_memory_viewImEEvPKc($0) { - $0 = $0 | 0; - var $1 = 0, $2 = 0, $3 = 0, sp = 0; +function __ZN12_GLOBAL__N_120register_memory_viewImEEvPKc($name) { + $name = $name | 0; + var $call = 0, $call1 = 0, $name$addr = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $1 = sp; - HEAP32[$1 >> 2] = $0; - $2 = __ZN10emscripten8internal6TypeIDINS_11memory_viewImEEvE3getEv() | 0; - $3 = __ZN12_GLOBAL__N_118getTypedArrayIndexImEENS_15TypedArrayIndexEv() | 0; - __embind_register_memory_view($2 | 0, $3 | 0, HEAP32[$1 >> 2] | 0); + $name$addr = sp; + HEAP32[$name$addr >> 2] = $name; + $call = __ZN10emscripten8internal6TypeIDINS_11memory_viewImEEvE3getEv() | 0; + $call1 = __ZN12_GLOBAL__N_118getTypedArrayIndexImEENS_15TypedArrayIndexEv() | 0; + __embind_register_memory_view($call | 0, $call1 | 0, HEAP32[$name$addr >> 2] | 0); STACKTOP = sp; return; } -function __ZN12_GLOBAL__N_120register_memory_viewIlEEvPKc($0) { - $0 = $0 | 0; - var $1 = 0, $2 = 0, $3 = 0, sp = 0; +function __ZN12_GLOBAL__N_120register_memory_viewIlEEvPKc($name) { + $name = $name | 0; + var $call = 0, $call1 = 0, $name$addr = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $1 = sp; - HEAP32[$1 >> 2] = $0; - $2 = __ZN10emscripten8internal6TypeIDINS_11memory_viewIlEEvE3getEv() | 0; - $3 = __ZN12_GLOBAL__N_118getTypedArrayIndexIlEENS_15TypedArrayIndexEv() | 0; - __embind_register_memory_view($2 | 0, $3 | 0, HEAP32[$1 >> 2] | 0); + $name$addr = sp; + HEAP32[$name$addr >> 2] = $name; + $call = __ZN10emscripten8internal6TypeIDINS_11memory_viewIlEEvE3getEv() | 0; + $call1 = __ZN12_GLOBAL__N_118getTypedArrayIndexIlEENS_15TypedArrayIndexEv() | 0; + __embind_register_memory_view($call | 0, $call1 | 0, HEAP32[$name$addr >> 2] | 0); STACKTOP = sp; return; } -function __ZN12_GLOBAL__N_120register_memory_viewIjEEvPKc($0) { - $0 = $0 | 0; - var $1 = 0, $2 = 0, $3 = 0, sp = 0; +function __ZN12_GLOBAL__N_120register_memory_viewIjEEvPKc($name) { + $name = $name | 0; + var $call = 0, $call1 = 0, $name$addr = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $1 = sp; - HEAP32[$1 >> 2] = $0; - $2 = __ZN10emscripten8internal6TypeIDINS_11memory_viewIjEEvE3getEv() | 0; - $3 = __ZN12_GLOBAL__N_118getTypedArrayIndexIjEENS_15TypedArrayIndexEv() | 0; - __embind_register_memory_view($2 | 0, $3 | 0, HEAP32[$1 >> 2] | 0); + $name$addr = sp; + HEAP32[$name$addr >> 2] = $name; + $call = __ZN10emscripten8internal6TypeIDINS_11memory_viewIjEEvE3getEv() | 0; + $call1 = __ZN12_GLOBAL__N_118getTypedArrayIndexIjEENS_15TypedArrayIndexEv() | 0; + __embind_register_memory_view($call | 0, $call1 | 0, HEAP32[$name$addr >> 2] | 0); STACKTOP = sp; return; } -function __ZN12_GLOBAL__N_120register_memory_viewIiEEvPKc($0) { - $0 = $0 | 0; - var $1 = 0, $2 = 0, $3 = 0, sp = 0; +function __ZN12_GLOBAL__N_120register_memory_viewIiEEvPKc($name) { + $name = $name | 0; + var $call = 0, $call1 = 0, $name$addr = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $1 = sp; - HEAP32[$1 >> 2] = $0; - $2 = __ZN10emscripten8internal6TypeIDINS_11memory_viewIiEEvE3getEv() | 0; - $3 = __ZN12_GLOBAL__N_118getTypedArrayIndexIiEENS_15TypedArrayIndexEv() | 0; - __embind_register_memory_view($2 | 0, $3 | 0, HEAP32[$1 >> 2] | 0); + $name$addr = sp; + HEAP32[$name$addr >> 2] = $name; + $call = __ZN10emscripten8internal6TypeIDINS_11memory_viewIiEEvE3getEv() | 0; + $call1 = __ZN12_GLOBAL__N_118getTypedArrayIndexIiEENS_15TypedArrayIndexEv() | 0; + __embind_register_memory_view($call | 0, $call1 | 0, HEAP32[$name$addr >> 2] | 0); STACKTOP = sp; return; } -function __ZN12_GLOBAL__N_120register_memory_viewIhEEvPKc($0) { - $0 = $0 | 0; - var $1 = 0, $2 = 0, $3 = 0, sp = 0; +function __ZN12_GLOBAL__N_120register_memory_viewIhEEvPKc($name) { + $name = $name | 0; + var $call = 0, $call1 = 0, $name$addr = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $1 = sp; - HEAP32[$1 >> 2] = $0; - $2 = __ZN10emscripten8internal6TypeIDINS_11memory_viewIhEEvE3getEv() | 0; - $3 = __ZN12_GLOBAL__N_118getTypedArrayIndexIhEENS_15TypedArrayIndexEv() | 0; - __embind_register_memory_view($2 | 0, $3 | 0, HEAP32[$1 >> 2] | 0); + $name$addr = sp; + HEAP32[$name$addr >> 2] = $name; + $call = __ZN10emscripten8internal6TypeIDINS_11memory_viewIhEEvE3getEv() | 0; + $call1 = __ZN12_GLOBAL__N_118getTypedArrayIndexIhEENS_15TypedArrayIndexEv() | 0; + __embind_register_memory_view($call | 0, $call1 | 0, HEAP32[$name$addr >> 2] | 0); STACKTOP = sp; return; } -function __ZN12_GLOBAL__N_120register_memory_viewIfEEvPKc($0) { - $0 = $0 | 0; - var $1 = 0, $2 = 0, $3 = 0, sp = 0; +function __ZN12_GLOBAL__N_120register_memory_viewIfEEvPKc($name) { + $name = $name | 0; + var $call = 0, $call1 = 0, $name$addr = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $1 = sp; - HEAP32[$1 >> 2] = $0; - $2 = __ZN10emscripten8internal6TypeIDINS_11memory_viewIfEEvE3getEv() | 0; - $3 = __ZN12_GLOBAL__N_118getTypedArrayIndexIfEENS_15TypedArrayIndexEv() | 0; - __embind_register_memory_view($2 | 0, $3 | 0, HEAP32[$1 >> 2] | 0); + $name$addr = sp; + HEAP32[$name$addr >> 2] = $name; + $call = __ZN10emscripten8internal6TypeIDINS_11memory_viewIfEEvE3getEv() | 0; + $call1 = __ZN12_GLOBAL__N_118getTypedArrayIndexIfEENS_15TypedArrayIndexEv() | 0; + __embind_register_memory_view($call | 0, $call1 | 0, HEAP32[$name$addr >> 2] | 0); STACKTOP = sp; return; } -function __ZN12_GLOBAL__N_120register_memory_viewIeEEvPKc($0) { - $0 = $0 | 0; - var $1 = 0, $2 = 0, $3 = 0, sp = 0; +function __ZN12_GLOBAL__N_120register_memory_viewIeEEvPKc($name) { + $name = $name | 0; + var $call = 0, $call1 = 0, $name$addr = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $1 = sp; - HEAP32[$1 >> 2] = $0; - $2 = __ZN10emscripten8internal6TypeIDINS_11memory_viewIeEEvE3getEv() | 0; - $3 = __ZN12_GLOBAL__N_118getTypedArrayIndexIeEENS_15TypedArrayIndexEv() | 0; - __embind_register_memory_view($2 | 0, $3 | 0, HEAP32[$1 >> 2] | 0); + $name$addr = sp; + HEAP32[$name$addr >> 2] = $name; + $call = __ZN10emscripten8internal6TypeIDINS_11memory_viewIeEEvE3getEv() | 0; + $call1 = __ZN12_GLOBAL__N_118getTypedArrayIndexIeEENS_15TypedArrayIndexEv() | 0; + __embind_register_memory_view($call | 0, $call1 | 0, HEAP32[$name$addr >> 2] | 0); STACKTOP = sp; return; } -function __ZN12_GLOBAL__N_120register_memory_viewIdEEvPKc($0) { - $0 = $0 | 0; - var $1 = 0, $2 = 0, $3 = 0, sp = 0; +function __ZN12_GLOBAL__N_120register_memory_viewIdEEvPKc($name) { + $name = $name | 0; + var $call = 0, $call1 = 0, $name$addr = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $1 = sp; - HEAP32[$1 >> 2] = $0; - $2 = __ZN10emscripten8internal6TypeIDINS_11memory_viewIdEEvE3getEv() | 0; - $3 = __ZN12_GLOBAL__N_118getTypedArrayIndexIdEENS_15TypedArrayIndexEv() | 0; - __embind_register_memory_view($2 | 0, $3 | 0, HEAP32[$1 >> 2] | 0); + $name$addr = sp; + HEAP32[$name$addr >> 2] = $name; + $call = __ZN10emscripten8internal6TypeIDINS_11memory_viewIdEEvE3getEv() | 0; + $call1 = __ZN12_GLOBAL__N_118getTypedArrayIndexIdEENS_15TypedArrayIndexEv() | 0; + __embind_register_memory_view($call | 0, $call1 | 0, HEAP32[$name$addr >> 2] | 0); STACKTOP = sp; return; } -function __ZN12_GLOBAL__N_120register_memory_viewIcEEvPKc($0) { - $0 = $0 | 0; - var $1 = 0, $2 = 0, $3 = 0, sp = 0; +function __ZN12_GLOBAL__N_120register_memory_viewIcEEvPKc($name) { + $name = $name | 0; + var $call = 0, $call1 = 0, $name$addr = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $1 = sp; - HEAP32[$1 >> 2] = $0; - $2 = __ZN10emscripten8internal6TypeIDINS_11memory_viewIcEEvE3getEv() | 0; - $3 = __ZN12_GLOBAL__N_118getTypedArrayIndexIcEENS_15TypedArrayIndexEv() | 0; - __embind_register_memory_view($2 | 0, $3 | 0, HEAP32[$1 >> 2] | 0); + $name$addr = sp; + HEAP32[$name$addr >> 2] = $name; + $call = __ZN10emscripten8internal6TypeIDINS_11memory_viewIcEEvE3getEv() | 0; + $call1 = __ZN12_GLOBAL__N_118getTypedArrayIndexIcEENS_15TypedArrayIndexEv() | 0; + __embind_register_memory_view($call | 0, $call1 | 0, HEAP32[$name$addr >> 2] | 0); STACKTOP = sp; return; } -function __ZN12_GLOBAL__N_120register_memory_viewIaEEvPKc($0) { - $0 = $0 | 0; - var $1 = 0, $2 = 0, $3 = 0, sp = 0; +function __ZN12_GLOBAL__N_120register_memory_viewIaEEvPKc($name) { + $name = $name | 0; + var $call = 0, $call1 = 0, $name$addr = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $1 = sp; - HEAP32[$1 >> 2] = $0; - $2 = __ZN10emscripten8internal6TypeIDINS_11memory_viewIaEEvE3getEv() | 0; - $3 = __ZN12_GLOBAL__N_118getTypedArrayIndexIaEENS_15TypedArrayIndexEv() | 0; - __embind_register_memory_view($2 | 0, $3 | 0, HEAP32[$1 >> 2] | 0); + $name$addr = sp; + HEAP32[$name$addr >> 2] = $name; + $call = __ZN10emscripten8internal6TypeIDINS_11memory_viewIaEEvE3getEv() | 0; + $call1 = __ZN12_GLOBAL__N_118getTypedArrayIndexIaEENS_15TypedArrayIndexEv() | 0; + __embind_register_memory_view($call | 0, $call1 | 0, HEAP32[$name$addr >> 2] | 0); STACKTOP = sp; return; } -function __ZN12_GLOBAL__N_116itanium_demangle10MemberExprC2EPKNS0_4NodeENS_10StringViewES4_($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $11 = 0, $12 = 0, $6 = 0; - __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($0, 46, 1, 1, 1); - HEAP32[$0 >> 2] = 18880; - HEAP32[$0 + 8 >> 2] = $1; - $6 = $2; - $11 = HEAP32[$6 + 4 >> 2] | 0; - $12 = $0 + 12 | 0; - HEAP32[$12 >> 2] = HEAP32[$6 >> 2]; - HEAP32[$12 + 4 >> 2] = $11; - HEAP32[$0 + 20 >> 2] = $3; +function __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC2ERKS5_($this, $__str) { + $this = $this | 0; + $__str = $__str | 0; + HEAP32[$this >> 2] = 0; + HEAP32[$this + 4 >> 2] = 0; + HEAP32[$this + 8 >> 2] = 0; + if ((HEAP8[$__str + 11 >> 0] | 0) < 0) __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm($this, HEAP32[$__str >> 2] | 0, HEAP32[$__str + 4 >> 2] | 0); else { + HEAP32[$this >> 2] = HEAP32[$__str >> 2]; + HEAP32[$this + 4 >> 2] = HEAP32[$__str + 4 >> 2]; + HEAP32[$this + 8 >> 2] = HEAP32[$__str + 8 >> 2]; + } return; } -function __ZN12_GLOBAL__N_116itanium_demangle10BinaryExprC2EPKNS0_4NodeENS_10StringViewES4_($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $11 = 0, $12 = 0, $6 = 0; - __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($0, 42, 1, 1, 1); - HEAP32[$0 >> 2] = 19320; - HEAP32[$0 + 8 >> 2] = $1; - $6 = $2; - $11 = HEAP32[$6 + 4 >> 2] | 0; - $12 = $0 + 12 | 0; - HEAP32[$12 >> 2] = HEAP32[$6 >> 2]; - HEAP32[$12 + 4 >> 2] = $11; - HEAP32[$0 + 20 >> 2] = $3; - return; +function __ZNKSt3__25ctypeIwE10do_toupperEPwPKw($this, $low, $high) { + $this = $this | 0; + $low = $low | 0; + $high = $high | 0; + var $0 = 0, $call = 0, $cond = 0, $low$addr$0 = 0; + $low$addr$0 = $low; + while (1) { + if (($low$addr$0 | 0) == ($high | 0)) break; + $0 = HEAP32[$low$addr$0 >> 2] | 0; + if ($0 >>> 0 < 128) { + $call = __ZNSt3__25ctypeIcE21__classic_upper_tableEv() | 0; + $cond = HEAP32[$call + (HEAP32[$low$addr$0 >> 2] << 2) >> 2] | 0; + } else $cond = $0; + HEAP32[$low$addr$0 >> 2] = $cond; + $low$addr$0 = $low$addr$0 + 4 | 0; + } + return $high | 0; } -function __ZN6vision35MultiplyPointHomographyInhomogenousIfEEvRT_S2_PKS1_S1_S1_($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = +$3; - $4 = +$4; - var $14 = 0.0; - $14 = +HEAPF32[$2 + 32 >> 2] + (+HEAPF32[$2 + 24 >> 2] * $3 + +HEAPF32[$2 + 28 >> 2] * $4); - HEAPF32[$0 >> 2] = (+HEAPF32[$2 + 8 >> 2] + (+HEAPF32[$2 >> 2] * $3 + +HEAPF32[$2 + 4 >> 2] * $4)) / $14; - HEAPF32[$1 >> 2] = (+HEAPF32[$2 + 20 >> 2] + (+HEAPF32[$2 + 12 >> 2] * $3 + +HEAPF32[$2 + 16 >> 2] * $4)) / $14; - return; +function __ZNKSt3__25ctypeIwE10do_tolowerEPwPKw($this, $low, $high) { + $this = $this | 0; + $low = $low | 0; + $high = $high | 0; + var $0 = 0, $call = 0, $cond = 0, $low$addr$0 = 0; + $low$addr$0 = $low; + while (1) { + if (($low$addr$0 | 0) == ($high | 0)) break; + $0 = HEAP32[$low$addr$0 >> 2] | 0; + if ($0 >>> 0 < 128) { + $call = __ZNSt3__25ctypeIcE21__classic_lower_tableEv() | 0; + $cond = HEAP32[$call + (HEAP32[$low$addr$0 >> 2] << 2) >> 2] | 0; + } else $cond = $0; + HEAP32[$low$addr$0 >> 2] = $cond; + $low$addr$0 = $low$addr$0 + 4 | 0; + } + return $high | 0; } -function __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC2ERKS5_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - HEAP32[$0 >> 2] = 0; - HEAP32[$0 + 4 >> 2] = 0; - HEAP32[$0 + 8 >> 2] = 0; - if ((HEAP8[$1 + 11 >> 0] | 0) < 0) __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm($0, HEAP32[$1 >> 2] | 0, HEAP32[$1 + 4 >> 2] | 0); else { - HEAP32[$0 >> 2] = HEAP32[$1 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$1 + 4 >> 2]; - HEAP32[$0 + 8 >> 2] = HEAP32[$1 + 8 >> 2]; +function __ZNSt3__215basic_streambufIwNS_11char_traitsIwEEE5uflowEv($this) { + $this = $this | 0; + var $1 = 0, $__ninp_ = 0, $call = 0, $retval$0 = 0; + $call = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$this >> 2] | 0) + 36 >> 2] & 127]($this) | 0; + if (($call | 0) == (__ZNSt3__211char_traitsIwE3eofEv() | 0)) $retval$0 = __ZNSt3__211char_traitsIwE3eofEv() | 0; else { + $__ninp_ = $this + 12 | 0; + $1 = HEAP32[$__ninp_ >> 2] | 0; + HEAP32[$__ninp_ >> 2] = $1 + 4; + $retval$0 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$1 >> 2] | 0) | 0; } - return; + return $retval$0 | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle8CastExprC2ENS_10StringViewEPKNS0_4NodeES5_($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $10 = 0, $11 = 0, $5 = 0; - __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($0, 48, 1, 1, 1); - HEAP32[$0 >> 2] = 18528; - $5 = $1; - $10 = HEAP32[$5 + 4 >> 2] | 0; - $11 = $0 + 8 | 0; - HEAP32[$11 >> 2] = HEAP32[$5 >> 2]; - HEAP32[$11 + 4 >> 2] = $10; - HEAP32[$0 + 16 >> 2] = $2; - HEAP32[$0 + 20 >> 2] = $3; +function __ZNSt3__215basic_streambufIcNS_11char_traitsIcEEE5uflowEv($this) { + $this = $this | 0; + var $1 = 0, $__ninp_ = 0, $call = 0, $retval$0 = 0; + $call = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$this >> 2] | 0) + 36 >> 2] & 127]($this) | 0; + if (($call | 0) == (__ZNSt3__211char_traitsIcE3eofEv() | 0)) $retval$0 = __ZNSt3__211char_traitsIcE3eofEv() | 0; else { + $__ninp_ = $this + 12 | 0; + $1 = HEAP32[$__ninp_ >> 2] | 0; + HEAP32[$__ninp_ >> 2] = $1 + 1; + $retval$0 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$1 >> 0] | 0) | 0; + } + return $retval$0 | 0; +} + +function _calloc($n_elements, $elem_size) { + $n_elements = $n_elements | 0; + $elem_size = $elem_size | 0; + var $call = 0, $mul = 0, $req$0 = 0; + if ($n_elements) { + $mul = Math_imul($elem_size, $n_elements) | 0; + if (($elem_size | $n_elements) >>> 0 > 65535) $req$0 = (($mul >>> 0) / ($n_elements >>> 0) | 0 | 0) == ($elem_size | 0) ? $mul : -1; else $req$0 = $mul; + } else $req$0 = 0; + $call = _malloc($req$0) | 0; + if (!$call) return $call | 0; + if (!(HEAP32[$call + -4 >> 2] & 3)) return $call | 0; + _memset($call | 0, 0, $req$0 | 0) | 0; + return $call | 0; +} + +function __ZN12_GLOBAL__N_116itanium_demangle10MemberExprC2EPKNS0_4NodeENS_10StringViewES4_($this, $LHS_, $Kind_, $RHS_) { + $this = $this | 0; + $LHS_ = $LHS_ | 0; + $Kind_ = $Kind_ | 0; + $RHS_ = $RHS_ | 0; + var $0 = 0, $5 = 0, $6 = 0; + __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($this, 46, 1, 1, 1); + HEAP32[$this >> 2] = 18880; + HEAP32[$this + 8 >> 2] = $LHS_; + $0 = $Kind_; + $5 = HEAP32[$0 + 4 >> 2] | 0; + $6 = $this + 12 | 0; + HEAP32[$6 >> 2] = HEAP32[$0 >> 2]; + HEAP32[$6 + 4 >> 2] = $5; + HEAP32[$this + 20 >> 2] = $RHS_; return; } -function __ZNSt3__213__lower_boundIRNS_6__lessIjmEEPKjmEET0_S6_S6_RKT1_T_($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $$0 = 0, $$014 = 0, $10 = 0, $11 = 0, $13 = 0, $8 = 0; - $8 = HEAP32[$2 >> 2] | 0; - $$0 = $0; - $$014 = $1 - $0 >> 2; - while (1) { - if (!$$014) break; - $10 = $$014 >>> 1; - $11 = $$0 + ($10 << 2) | 0; - $13 = (HEAP32[$11 >> 2] | 0) >>> 0 < $8 >>> 0; - $$0 = $13 ? $11 + 4 | 0 : $$0; - $$014 = $13 ? $$014 + -1 - $10 | 0 : $10; - } - return $$0 | 0; +function __ZNSt3__26vectorIiNS_9allocatorIiEEE6resizeEmRKi($this, $__sz, $__x) { + $this = $this | 0; + $__sz = $__sz | 0; + $__x = $__x | 0; + var $1 = 0, $2 = 0, $__end_$i = 0, $sub$ptr$div$i = 0; + $__end_$i = $this + 4 | 0; + $1 = HEAP32[$this >> 2] | 0; + $sub$ptr$div$i = (HEAP32[$__end_$i >> 2] | 0) - $1 >> 2; + $2 = $1; + if ($sub$ptr$div$i >>> 0 >= $__sz >>> 0) { + if ($sub$ptr$div$i >>> 0 > $__sz >>> 0) HEAP32[$__end_$i >> 2] = $2 + ($__sz << 2); + } else __ZNSt3__26vectorIiNS_9allocatorIiEEE8__appendEmRKi($this, $__sz - $sub$ptr$div$i | 0, $__x); + return; } -function ___towrite($0) { - $0 = $0 | 0; - var $$0 = 0, $1 = 0, $14 = 0, $3 = 0, $7 = 0; - $1 = $0 + 74 | 0; - $3 = HEAP8[$1 >> 0] | 0; - HEAP8[$1 >> 0] = $3 + 255 | $3; - $7 = HEAP32[$0 >> 2] | 0; - if (!($7 & 8)) { - HEAP32[$0 + 8 >> 2] = 0; - HEAP32[$0 + 4 >> 2] = 0; - $14 = HEAP32[$0 + 44 >> 2] | 0; - HEAP32[$0 + 28 >> 2] = $14; - HEAP32[$0 + 20 >> 2] = $14; - HEAP32[$0 + 16 >> 2] = $14 + (HEAP32[$0 + 48 >> 2] | 0); - $$0 = 0; - } else { - HEAP32[$0 >> 2] = $7 | 32; - $$0 = -1; +function _ar2FreeFeatureSet($featureSet) { + $featureSet = $featureSet | 0; + var $0 = 0, $1 = 0, $3 = 0, $i$0 = 0, $retval$0 = 0; + $0 = HEAP32[$featureSet >> 2] | 0; + if (!$0) $retval$0 = -1; else { + $1 = $0; + $i$0 = 0; + while (1) { + $3 = HEAP32[$1 >> 2] | 0; + if (($i$0 | 0) >= (HEAP32[$1 + 4 >> 2] | 0)) break; + _free(HEAP32[$3 + ($i$0 * 20 | 0) >> 2] | 0); + $1 = HEAP32[$featureSet >> 2] | 0; + $i$0 = $i$0 + 1 | 0; + } + _free($3); + _free(HEAP32[$featureSet >> 2] | 0); + HEAP32[$featureSet >> 2] = 0; + $retval$0 = 0; } - return $$0 | 0; + return $retval$0 | 0; } -function __ZNSt3__26vectorIiNS_9allocatorIiEEE4swapERS3_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $10 = 0, $2 = 0, $4 = 0, $5 = 0, $6 = 0, $8 = 0, $9 = 0; - $2 = HEAP32[$0 >> 2] | 0; - HEAP32[$0 >> 2] = HEAP32[$1 >> 2]; - HEAP32[$1 >> 2] = $2; - $4 = $0 + 4 | 0; - $5 = $1 + 4 | 0; - $6 = HEAP32[$4 >> 2] | 0; - HEAP32[$4 >> 2] = HEAP32[$5 >> 2]; - HEAP32[$5 >> 2] = $6; - $8 = $0 + 8 | 0; - $9 = $1 + 8 | 0; - $10 = HEAP32[$8 >> 2] | 0; - HEAP32[$8 >> 2] = HEAP32[$9 >> 2]; - HEAP32[$9 >> 2] = $10; - return; -} - -function __ZNSt3__214__split_bufferIN6vision5ImageERNS_9allocatorIS2_EEED2Ev($0) { - $0 = $0 | 0; - var $2 = 0, $3 = 0, $4 = 0, $6 = 0, $7 = 0; - $2 = HEAP32[$0 + 4 >> 2] | 0; - $3 = $0 + 8 | 0; +function __ZNSt3__28numpunctIwEC2Em($this, $refs) { + $this = $this | 0; + $refs = $refs | 0; + var $__grouping_ = 0, $__i$0$i$i = 0; + HEAP32[$this + 4 >> 2] = $refs + -1; + HEAP32[$this >> 2] = 23400; + HEAP32[$this + 8 >> 2] = 46; + HEAP32[$this + 12 >> 2] = 44; + $__grouping_ = $this + 16 | 0; + HEAP32[$__grouping_ >> 2] = 0; + HEAP32[$__grouping_ + 4 >> 2] = 0; + HEAP32[$__grouping_ + 8 >> 2] = 0; + $__i$0$i$i = 0; while (1) { - $4 = HEAP32[$3 >> 2] | 0; - if (($4 | 0) == ($2 | 0)) break; - $6 = $4 + -32 | 0; - HEAP32[$3 >> 2] = $6; - __ZN6vision5ImageD2Ev($6); + if (($__i$0$i$i | 0) == 3) break; + HEAP32[$__grouping_ + ($__i$0$i$i << 2) >> 2] = 0; + $__i$0$i$i = $__i$0$i$i + 1 | 0; } - $7 = HEAP32[$0 >> 2] | 0; - if ($7 | 0) __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($7, (HEAP32[$0 + 12 >> 2] | 0) - $7 | 0); return; } -function __ZN6vision28BinaryHierarchicalClusteringILi96EED2Ev($0) { - $0 = $0 | 0; - var $4 = 0, $5 = 0; - __ZNSt3__214priority_queueIN6vision17PriorityQueueItemILi96EEENS_6vectorIS3_NS_9allocatorIS3_EEEENS_4lessIS3_EEED2Ev($0 + 84 | 0); - __ZNSt3__213__vector_baseIiNS_9allocatorIiEEED2Ev($0 + 72 | 0); - __ZN6vision14BinarykMedoidsILi96EED2Ev($0 + 12 | 0); - $4 = $0 + 8 | 0; - $5 = HEAP32[$4 >> 2] | 0; - HEAP32[$4 >> 2] = 0; - if ($5 | 0) { - __ZN6vision4NodeILi96EED2Ev($5); - __ZdlPv($5); +function __ZNSt3__212__hash_tableINS_17__hash_value_typeIjjEENS_22__unordered_map_hasherIjS2_NS_4hashIjEELb1EEENS_21__unordered_map_equalIjS2_NS_8equal_toIjEELb1EEENS_9allocatorIS2_EEE17__deallocate_nodeEPNS_16__hash_node_baseIPNS_11__hash_nodeIS2_PvEEEE($this, $__np) { + $this = $this | 0; + $__np = $__np | 0; + var $0 = 0, $__np$addr$0 = 0; + $__np$addr$0 = $__np; + while (1) { + if (!$__np$addr$0) break; + $0 = HEAP32[$__np$addr$0 >> 2] | 0; + __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($__np$addr$0, 16); + $__np$addr$0 = $0; } return; } -function _fmt_o($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$0$lcssa = 0, $$06 = 0, $10 = 0, $11 = 0, $7 = 0; - if (($0 | 0) == 0 & ($1 | 0) == 0) $$0$lcssa = $2; else { - $$06 = $2; - $11 = $1; - $7 = $0; - while (1) { - $10 = $$06 + -1 | 0; - HEAP8[$10 >> 0] = $7 & 7 | 48; - $7 = _bitshift64Lshr($7 | 0, $11 | 0, 3) | 0; - $11 = getTempRet0() | 0; - if (($7 | 0) == 0 & ($11 | 0) == 0) { - $$0$lcssa = $10; - break; - } else $$06 = $10; - } - } - return $$0$lcssa | 0; +function __ZNSt3__219__libcpp_asprintf_lEPPcP15__locale_structPKcz($__s, $__l, $__format, $varargs) { + $__s = $__s | 0; + $__l = $__l | 0; + $__format = $__format | 0; + $varargs = $varargs | 0; + var $__va = 0, $call = 0, $call$i = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $__va = sp; + HEAP32[$__va >> 2] = $varargs; + $call$i = ___uselocale($__l) | 0; + $call = _vasprintf($__s, $__format, $__va) | 0; + if ($call$i | 0) ___uselocale($call$i) | 0; + STACKTOP = sp; + return $call | 0; } -function _ar2SetInitTrans($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $$016 = 0, $$017 = 0; - if (!$0) $$017 = -1; else { - HEAP32[$0 + 152 >> 2] = 1; - $$0 = 0; - while (1) { - if (($$0 | 0) == 3) break; - $$016 = 0; - while (1) { - if (($$016 | 0) == 4) break; - HEAP32[$0 + 8 + ($$0 << 4) + ($$016 << 2) >> 2] = HEAP32[$1 + ($$0 << 4) + ($$016 << 2) >> 2]; - $$016 = $$016 + 1 | 0; - } - $$0 = $$0 + 1 | 0; - } - HEAP32[$0 + 168 >> 2] = -1; - $$017 = 0; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_7NewExprEJRNS0_9NodeArrayERPNS0_4NodeES9_RbSD_EEESB_DpOT0_($this, $args, $args1, $args3, $args5, $args7) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + $args3 = $args3 | 0; + $args5 = $args5 | 0; + $args7 = $args7 | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle7NewExprEJRNS2_9NodeArrayERPNS2_4NodeES5_RbS9_EEEPT_DpOT0_($this + 368 | 0, $args, $args1, $args3, $args5, $args7) | 0; +} + +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_7NewExprEJRNS0_9NodeArrayERPNS0_4NodeES8_RbSD_EEESB_DpOT0_($this, $args, $args1, $args3, $args5, $args7) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + $args3 = $args3 | 0; + $args5 = $args5 | 0; + $args7 = $args7 | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle7NewExprEJRNS2_9NodeArrayERPNS2_4NodeES4_RbS9_EEEPT_DpOT0_($this + 368 | 0, $args, $args1, $args3, $args5, $args7) | 0; +} + +function __ZNSt3__28numpunctIcEC2Em($this, $refs) { + $this = $this | 0; + $refs = $refs | 0; + var $__grouping_ = 0, $__i$0$i$i = 0; + HEAP32[$this + 4 >> 2] = $refs + -1; + HEAP32[$this >> 2] = 23360; + HEAP8[$this + 8 >> 0] = 46; + HEAP8[$this + 9 >> 0] = 44; + $__grouping_ = $this + 12 | 0; + HEAP32[$__grouping_ >> 2] = 0; + HEAP32[$__grouping_ + 4 >> 2] = 0; + HEAP32[$__grouping_ + 8 >> 2] = 0; + $__i$0$i$i = 0; + while (1) { + if (($__i$0$i$i | 0) == 3) break; + HEAP32[$__grouping_ + ($__i$0$i$i << 2) >> 2] = 0; + $__i$0$i$i = $__i$0$i$i + 1 | 0; } - return $$017 | 0; + return; } -function __ZNSt3__219__libcpp_snprintf_lEPcmP15__locale_structPKcz($0, $1, $2, $3, $varargs) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $varargs = $varargs | 0; - var $4 = 0, $5 = 0, $6 = 0, sp = 0; +function ___cxa_can_catch($catchType, $excpType, $thrown) { + $catchType = $catchType | 0; + $excpType = $excpType | 0; + $thrown = $thrown | 0; + var $call = 0, $temp = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $4 = sp; - HEAP32[$4 >> 2] = $varargs; - $5 = ___uselocale($2) | 0; - $6 = _vsnprintf($0, $1, $3, $4) | 0; - if ($5 | 0) ___uselocale($5) | 0; + $temp = sp; + HEAP32[$temp >> 2] = HEAP32[$thrown >> 2]; + $call = FUNCTION_TABLE_iiii[HEAP32[(HEAP32[$catchType >> 2] | 0) + 16 >> 2] & 63]($catchType, $excpType, $temp) | 0; + if ($call) HEAP32[$thrown >> 2] = HEAP32[$temp >> 2]; STACKTOP = sp; - return $6 | 0; + return $call & 1 | 0; } -function __ZN6vision29SolveSymmetricLinearSystem3x3IfEEbPT_PKS1_S4_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$0 = 0, $3 = 0, sp = 0; +function __ZNSt3__26vectorIhNS_9allocatorIhEEE18__construct_at_endIPhEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeES7_S7_m($this, $__first, $__last, $__n) { + $this = $this | 0; + $__first = $__first | 0; + $__last = $__last | 0; + $__n = $__n | 0; + var $__end_ = 0, $sub$ptr$sub$i = 0; + $__end_ = $this + 4 | 0; + $sub$ptr$sub$i = $__last - $__first | 0; + if (($sub$ptr$sub$i | 0) > 0) { + _memcpy(HEAP32[$__end_ >> 2] | 0, $__first | 0, $sub$ptr$sub$i | 0) | 0; + HEAP32[$__end_ >> 2] = (HEAP32[$__end_ >> 2] | 0) + $sub$ptr$sub$i; + } + return; +} + +function __ZNSt3__217__libcpp_sscanf_lEPKcP15__locale_structS1_z($__s, $__l, $__format, $varargs) { + $__s = $__s | 0; + $__l = $__l | 0; + $__format = $__format | 0; + $varargs = $varargs | 0; + var $__va = 0, $call = 0, $call$i = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 48 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); - $3 = sp; - if (__ZN6vision25MatrixInverseSymmetric3x3IfEEbPT_PKS1_S1_($3, $1, 1.1920928955078125e-07) | 0) { - __ZN6vision16Multiply_3x3_3x1IfEEvPT_PKS1_S4_($0, $3, $2); - $$0 = 1; - } else $$0 = 0; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $__va = sp; + HEAP32[$__va >> 2] = $varargs; + $call$i = ___uselocale($__l) | 0; + $call = _vsscanf($__s, $__format, $__va) | 0; + if ($call$i | 0) ___uselocale($call$i) | 0; STACKTOP = sp; - return $$0 | 0; + return $call | 0; } -function _get_buff($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $6 = 0, $7 = 0; +function _get_buff($buf, $fp) { + $buf = $buf | 0; + $fp = $fp | 0; + var $arrayidx = 0, $l$0 = 0, $sub = 0; L1 : while (1) { - if (!(_fgets($0, 256, $1) | 0)) break; - $$0 = _strlen($0) | 0; + if (!(_fgets($buf, 256, $fp) | 0)) break; + $l$0 = _strlen($buf) | 0; L4 : while (1) { - if (!$$0) break; - $6 = $$0 + -1 | 0; - $7 = $0 + $6 | 0; - switch (HEAP8[$7 >> 0] | 0) { + if (!$l$0) break; + $sub = $l$0 + -1 | 0; + $arrayidx = $buf + $sub | 0; + switch (HEAP8[$arrayidx >> 0] | 0) { case 13: case 10: break; default: break L4; } - HEAP8[$7 >> 0] = 0; - $$0 = $6; + HEAP8[$arrayidx >> 0] = 0; + $l$0 = $sub; } - switch (HEAP8[$0 >> 0] | 0) { + switch (HEAP8[$buf >> 0] | 0) { case 0: case 35: break; @@ -98392,5068 +99342,5275 @@ function _get_buff($0, $1) { return; } -function __ZNKSt3__25ctypeIwE5do_isEPKwS3_Pt($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $$0 = 0, $$08 = 0, $13 = 0, $7 = 0; - $$0 = $3; - $$08 = $1; - while (1) { - if (($$08 | 0) == ($2 | 0)) break; - if ((HEAP32[$$08 >> 2] | 0) >>> 0 < 128) { - $7 = __ZNSt3__25ctypeIcE13classic_tableEv() | 0; - $13 = HEAPU16[$7 + (HEAP32[$$08 >> 2] << 1) >> 1] | 0; - } else $13 = 0; - HEAP16[$$0 >> 1] = $13; - $$0 = $$0 + 2 | 0; - $$08 = $$08 + 4 | 0; - } - return $2 | 0; -} - -function __ZNK6vision20VisualDatabaseFacade18get3DFeaturePointsEi($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $5 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $2 = sp; - HEAP32[$2 >> 2] = $1; - $5 = __ZNSt3__213unordered_mapIiNS_6vectorIN6vision7Point3dIfEENS_9allocatorIS4_EEEENS_4hashIiEENS_8equal_toIiEENS5_INS_4pairIKiS7_EEEEEixERSD_((HEAP32[$0 >> 2] | 0) + 4 | 0, $2) | 0; - STACKTOP = sp; - return $5 | 0; +function __ZNSt3__26vectorIhNS_9allocatorIhEEE6resizeEmRKh($this, $__sz, $__x) { + $this = $this | 0; + $__sz = $__sz | 0; + $__x = $__x | 0; + var $1 = 0, $2 = 0, $__end_$i = 0, $sub$ptr$sub$i = 0; + $__end_$i = $this + 4 | 0; + $1 = HEAP32[$this >> 2] | 0; + $sub$ptr$sub$i = (HEAP32[$__end_$i >> 2] | 0) - $1 | 0; + $2 = $1; + if ($sub$ptr$sub$i >>> 0 >= $__sz >>> 0) { + if ($sub$ptr$sub$i >>> 0 > $__sz >>> 0) HEAP32[$__end_$i >> 2] = $2 + $__sz; + } else __ZNSt3__26vectorIhNS_9allocatorIhEEE8__appendEmRKh($this, $__sz - $sub$ptr$sub$i | 0, $__x); + return; +} + +function __ZNSt3__26vectorINS_4pairIfiEENS_9allocatorIS2_EEE6resizeEm($this, $__sz) { + $this = $this | 0; + $__sz = $__sz | 0; + var $1 = 0, $2 = 0, $__end_$i = 0, $sub$ptr$div$i = 0; + $__end_$i = $this + 4 | 0; + $1 = HEAP32[$this >> 2] | 0; + $sub$ptr$div$i = (HEAP32[$__end_$i >> 2] | 0) - $1 >> 3; + $2 = $1; + if ($sub$ptr$div$i >>> 0 >= $__sz >>> 0) { + if ($sub$ptr$div$i >>> 0 > $__sz >>> 0) HEAP32[$__end_$i >> 2] = $2 + ($__sz << 3); + } else __ZNSt3__26vectorINS_4pairIfiEENS_9allocatorIS2_EEE8__appendEm($this, $__sz - $sub$ptr$div$i | 0); + return; +} + +function __ZNSt3__26vectorIhNS_9allocatorIhEEE13__vdeallocateEv($this) { + $this = $this | 0; + var $0 = 0, $1 = 0, $__end_$i$i$i = 0, $__value_$i$i$i$i$i = 0; + $0 = HEAP32[$this >> 2] | 0; + $1 = $0; + if ($0 | 0) { + $__end_$i$i$i = $this + 4 | 0; + HEAP32[$__end_$i$i$i >> 2] = $1; + $__value_$i$i$i$i$i = $this + 8 | 0; + __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($0, (HEAP32[$__value_$i$i$i$i$i >> 2] | 0) - $1 | 0); + HEAP32[$__value_$i$i$i$i$i >> 2] = 0; + HEAP32[$__end_$i$i$i >> 2] = 0; + HEAP32[$this >> 2] = 0; + } + return; +} + +function ___muldi3($a$0, $a$1, $b$0, $b$1) { + $a$0 = $a$0 | 0; + $a$1 = $a$1 | 0; + $b$0 = $b$0 | 0; + $b$1 = $b$1 | 0; + var $x_sroa_0_0_extract_trunc = 0, $y_sroa_0_0_extract_trunc = 0, $1$0 = 0, $1$1 = 0; + $x_sroa_0_0_extract_trunc = $a$0; + $y_sroa_0_0_extract_trunc = $b$0; + $1$0 = ___muldsi3($x_sroa_0_0_extract_trunc, $y_sroa_0_0_extract_trunc) | 0; + $1$1 = getTempRet0() | 0; + return (setTempRet0((Math_imul($a$1, $y_sroa_0_0_extract_trunc) | 0) + (Math_imul($b$1, $x_sroa_0_0_extract_trunc) | 0) + $1$1 | $1$1 & 0 | 0), $1$0 | 0 | 0) | 0; +} + +function ___towrite($f) { + $f = $f | 0; + var $1 = 0, $2 = 0, $conv = 0, $mode = 0, $retval$0 = 0; + $mode = $f + 74 | 0; + $conv = HEAP8[$mode >> 0] | 0; + HEAP8[$mode >> 0] = $conv + 255 | $conv; + $1 = HEAP32[$f >> 2] | 0; + if (!($1 & 8)) { + HEAP32[$f + 8 >> 2] = 0; + HEAP32[$f + 4 >> 2] = 0; + $2 = HEAP32[$f + 44 >> 2] | 0; + HEAP32[$f + 28 >> 2] = $2; + HEAP32[$f + 20 >> 2] = $2; + HEAP32[$f + 16 >> 2] = $2 + (HEAP32[$f + 48 >> 2] | 0); + $retval$0 = 0; + } else { + HEAP32[$f >> 2] = $1 | 32; + $retval$0 = -1; + } + return $retval$0 | 0; +} + +function __ZN12_GLOBAL__N_116itanium_demangle10VectorTypeC2EPKNS0_4NodeENS0_12NodeOrStringE($this, $BaseType_, $Dimension_) { + $this = $this | 0; + $BaseType_ = $BaseType_ | 0; + $Dimension_ = $Dimension_ | 0; + var $0 = 0, $5 = 0, $6 = 0; + __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($this, 25, 1, 1, 1); + HEAP32[$this >> 2] = 19980; + HEAP32[$this + 8 >> 2] = $BaseType_; + $0 = $Dimension_; + $5 = HEAP32[$0 + 4 >> 2] | 0; + $6 = $this + 12 | 0; + HEAP32[$6 >> 2] = HEAP32[$0 >> 2]; + HEAP32[$6 + 4 >> 2] = $5; + return; +} + +function __ZNKSt3__25ctypeIcE9do_narrowEPKcS3_cPc($this, $low, $high, $dfault, $dest) { + $this = $this | 0; + $low = $low | 0; + $high = $high | 0; + $dfault = $dfault | 0; + $dest = $dest | 0; + var $0 = 0, $dest$addr$0 = 0, $low$addr$0 = 0; + $dest$addr$0 = $dest; + $low$addr$0 = $low; + while (1) { + if (($low$addr$0 | 0) == ($high | 0)) break; + $0 = HEAP8[$low$addr$0 >> 0] | 0; + HEAP8[$dest$addr$0 >> 0] = $0 << 24 >> 24 > -1 ? $0 : $dfault; + $dest$addr$0 = $dest$addr$0 + 1 | 0; + $low$addr$0 = $low$addr$0 + 1 | 0; + } + return $high | 0; +} + +function __ZN6vision16RobustHomographyIfEC2Efiii($this, $cauchyScale, $maxNumHypotheses, $maxTrials, $chunkSize) { + $this = $this | 0; + $cauchyScale = +$cauchyScale; + $maxNumHypotheses = $maxNumHypotheses | 0; + $maxTrials = $maxTrials | 0; + $chunkSize = $chunkSize | 0; + var dest = 0, stop = 0; + dest = $this; + stop = dest + 36 | 0; + do { + HEAP32[dest >> 2] = 0; + dest = dest + 4 | 0; + } while ((dest | 0) < (stop | 0)); + __ZN6vision16RobustHomographyIfE4initEfiii($this, $cauchyScale, $maxNumHypotheses, $maxTrials, $chunkSize); + return; +} + +function __ZNK10__cxxabiv117__class_type_info29process_static_type_below_dstEPNS_19__dynamic_cast_infoEPKvi($this, $info, $current_ptr, $path_below) { + $this = $this | 0; + $info = $info | 0; + $current_ptr = $current_ptr | 0; + $path_below = $path_below | 0; + var $path_dynamic_ptr_to_static_ptr = 0; + if ((HEAP32[$info + 4 >> 2] | 0) == ($current_ptr | 0) ? ($path_dynamic_ptr_to_static_ptr = $info + 28 | 0, (HEAP32[$path_dynamic_ptr_to_static_ptr >> 2] | 0) != 1) : 0) HEAP32[$path_dynamic_ptr_to_static_ptr >> 2] = $path_below; + return; +} + +function __ZN6vision10SimilarityIfEEvPT_S1_S1_S1_S1_($H, $x, $y, $angle, $scale) { + $H = $H | 0; + $x = +$x; + $y = +$y; + $angle = +$angle; + $scale = +$scale; + var $mul = 0.0, $mul2 = 0.0; + $mul = +Math_cos(+$angle) * $scale; + $mul2 = +Math_sin(+$angle) * $scale; + HEAPF32[$H >> 2] = $mul; + HEAPF32[$H + 4 >> 2] = -$mul2; + HEAPF32[$H + 8 >> 2] = $x; + HEAPF32[$H + 12 >> 2] = $mul2; + HEAPF32[$H + 16 >> 2] = $mul; + HEAPF32[$H + 20 >> 2] = $y; + HEAPF32[$H + 24 >> 2] = 0.0; + HEAPF32[$H + 28 >> 2] = 0.0; + HEAPF32[$H + 32 >> 2] = 1.0; + return; +} + +function __ZN6vision9MaxIndex6IfEEiPKT_($x) { + $x = $x | 0; + var $index$0 = 0, $index$1 = 0, $index$2 = 0, $index$3 = 0; + $index$0 = +HEAPF32[$x + 4 >> 2] > +HEAPF32[$x >> 2] & 1; + $index$1 = +HEAPF32[$x + 8 >> 2] > +HEAPF32[$x + ($index$0 << 2) >> 2] ? 2 : $index$0; + $index$2 = +HEAPF32[$x + 12 >> 2] > +HEAPF32[$x + ($index$1 << 2) >> 2] ? 3 : $index$1; + $index$3 = +HEAPF32[$x + 16 >> 2] > +HEAPF32[$x + ($index$2 << 2) >> 2] ? 4 : $index$2; + return (+HEAPF32[$x + 20 >> 2] > +HEAPF32[$x + ($index$3 << 2) >> 2] ? 5 : $index$3) | 0; +} + +function __ZN6vision4NodeILi96EEC2EiPKh($this, $id, $center) { + $this = $this | 0; + $id = $id | 0; + $center = $center | 0; + var $__begin_$i$i = 0; + HEAP32[$this >> 2] = $id; + HEAP8[$this + 100 >> 0] = 1; + $__begin_$i$i = $this + 104 | 0; + HEAP32[$__begin_$i$i >> 2] = 0; + HEAP32[$__begin_$i$i + 4 >> 2] = 0; + HEAP32[$__begin_$i$i + 8 >> 2] = 0; + HEAP32[$__begin_$i$i + 12 >> 2] = 0; + HEAP32[$__begin_$i$i + 16 >> 2] = 0; + HEAP32[$__begin_$i$i + 20 >> 2] = 0; + __ZN6vision10CopyVectorIhEEvPT_PKS1_m($this + 4 | 0, $center, 96); + return; +} + +function __ZN6vision10numOctavesEiii($width, $height, $min_size) { + $width = $width | 0; + $height = $height | 0; + $min_size = $min_size | 0; + var $height$addr$0 = 0, $num_octaves$0 = 0, $width$addr$0 = 0; + $height$addr$0 = $height; + $num_octaves$0 = 0; + $width$addr$0 = $width; + while (1) { + if (($height$addr$0 | 0) < ($min_size | 0) | ($width$addr$0 | 0) < ($min_size | 0)) break; + $height$addr$0 = $height$addr$0 >> 1; + $num_octaves$0 = $num_octaves$0 + 1 | 0; + $width$addr$0 = $width$addr$0 >> 1; + } + return $num_octaves$0 | 0; +} + +function __ZN12_GLOBAL__N_116itanium_demangle14ConversionExprC2EPKNS0_4NodeENS0_9NodeArrayE($this, $Type_, $Expressions_) { + $this = $this | 0; + $Type_ = $Type_ | 0; + $Expressions_ = $Expressions_ | 0; + var $0 = 0, $5 = 0, $6 = 0; + __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($this, 55, 1, 1, 1); + HEAP32[$this >> 2] = 19188; + HEAP32[$this + 8 >> 2] = $Type_; + $0 = $Expressions_; + $5 = HEAP32[$0 + 4 >> 2] | 0; + $6 = $this + 12 | 0; + HEAP32[$6 >> 2] = HEAP32[$0 >> 2]; + HEAP32[$6 + 4 >> 2] = $5; + return; +} + +function _ar2ReadJpegImage2($fp) { + $fp = $fp | 0; + var $call = 0, $call1 = 0, $retval$0 = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $call = _malloc(20) | 0; + if (!$call) { + _arLog(0, 3, 46772, sp); + _exit(1); + } + $call1 = _jpgread($fp, $call + 8 | 0, $call + 12 | 0, $call + 4 | 0, $call + 16 | 0) | 0; + HEAP32[$call >> 2] = $call1; + if (!$call1) { + _free($call); + $retval$0 = 0; + } else $retval$0 = $call; + STACKTOP = sp; + return $retval$0 | 0; +} + +function _ar2GetTransMatHomography_180($initConv, $pos2d, $pos3d, $num, $conv, $robustMode, $inlierProb) { + $initConv = $initConv | 0; + $pos2d = $pos2d | 0; + $pos3d = $pos3d | 0; + $num = $num | 0; + $conv = $conv | 0; + $robustMode = $robustMode | 0; + $inlierProb = +$inlierProb; + var $retval$0 = 0.0; + if (!$robustMode) $retval$0 = +_ar2GetTransMatHomography2_181($initConv, $pos2d, $pos3d, $num, $conv); else $retval$0 = +_ar2GetTransMatHomographyRobust_182($initConv, $pos2d, $pos3d, $num, $conv, $inlierProb); + return +$retval$0; +} + +function __ZN6vision29SolveSymmetricLinearSystem3x3IfEEbPT_PKS1_S4_($x, $A, $b) { + $x = $x | 0; + $A = $A | 0; + $b = $b | 0; + var $Ainv = 0, $retval$0 = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 48 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); + $Ainv = sp; + if (__ZN6vision25MatrixInverseSymmetric3x3IfEEbPT_PKS1_S1_($Ainv, $A, 1.1920928955078125e-07) | 0) { + __ZN6vision16Multiply_3x3_3x1IfEEvPT_PKS1_S4_($x, $Ainv, $b); + $retval$0 = 1; + } else $retval$0 = 0; + STACKTOP = sp; + return $retval$0 | 0; +} + +function __ZN6vision11DotProduct9IfEET_PKS1_S3_($a, $b) { + $a = $a | 0; + $b = $b | 0; + return +(+HEAPF32[$a >> 2] * +HEAPF32[$b >> 2] + +HEAPF32[$a + 4 >> 2] * +HEAPF32[$b + 4 >> 2] + +HEAPF32[$a + 8 >> 2] * +HEAPF32[$b + 8 >> 2] + +HEAPF32[$a + 12 >> 2] * +HEAPF32[$b + 12 >> 2] + +HEAPF32[$a + 16 >> 2] * +HEAPF32[$b + 16 >> 2] + +HEAPF32[$a + 20 >> 2] * +HEAPF32[$b + 20 >> 2] + +HEAPF32[$a + 24 >> 2] * +HEAPF32[$b + 24 >> 2] + +HEAPF32[$a + 28 >> 2] * +HEAPF32[$b + 28 >> 2] + +HEAPF32[$a + 32 >> 2] * +HEAPF32[$b + 32 >> 2]); +} + +function __ZNSt3__28ios_base4initEPv($this, $sb) { + $this = $this | 0; + $sb = $sb | 0; + var $__loc_ = 0, dest = 0, stop = 0; + HEAP32[$this + 24 >> 2] = $sb; + HEAP32[$this + 16 >> 2] = ($sb | 0) == 0 & 1; + HEAP32[$this + 20 >> 2] = 0; + HEAP32[$this + 4 >> 2] = 4098; + HEAP32[$this + 12 >> 2] = 0; + HEAP32[$this + 8 >> 2] = 6; + $__loc_ = $this + 28 | 0; + dest = $this + 32 | 0; + stop = dest + 40 | 0; + do { + HEAP32[dest >> 2] = 0; + dest = dest + 4 | 0; + } while ((dest | 0) < (stop | 0)); + __ZNSt3__26localeC2Ev($__loc_); + return; +} + +function __ZNK6vision14VisualDatabaseINS_14FREAKExtractorENS_18BinaryFeatureStoreENS_20BinaryFeatureMatcherILi96EEEE13queryKeyframeEv($agg$result, $this) { + $agg$result = $agg$result | 0; + $this = $this | 0; + var $1 = 0, $__shared_owners_$i$i$i = 0; + HEAP32[$agg$result >> 2] = HEAP32[$this + 64 >> 2]; + $1 = HEAP32[$this + 68 >> 2] | 0; + HEAP32[$agg$result + 4 >> 2] = $1; + if ($1 | 0) { + $__shared_owners_$i$i$i = $1 + 4 | 0; + HEAP32[$__shared_owners_$i$i$i >> 2] = (HEAP32[$__shared_owners_$i$i$i >> 2] | 0) + 1; + } + return; +} + +function __ZN6vision25GaussianScaleSpacePyramid9configureEii($this, $num_octaves, $num_scales_per_octaves) { + $this = $this | 0; + $num_octaves = $num_octaves | 0; + $num_scales_per_octaves = $num_scales_per_octaves | 0; + var $div5 = 0.0, $exp2 = 0.0; + HEAP32[$this + 16 >> 2] = $num_octaves; + HEAP32[$this + 20 >> 2] = $num_scales_per_octaves; + $exp2 = +_llvm_exp2_f32(+(1.0 / +($num_scales_per_octaves + -1 | 0))); + HEAPF32[$this + 24 >> 2] = $exp2; + $div5 = 1.0 / +Math_log(+$exp2); + HEAPF32[$this + 28 >> 2] = $div5; + return; +} + +function __ZNSt3__26vectorItNS_9allocatorItEEE6resizeEm($this, $__sz) { + $this = $this | 0; + $__sz = $__sz | 0; + var $1 = 0, $2 = 0, $__end_$i = 0, $sub$ptr$div$i = 0; + $__end_$i = $this + 4 | 0; + $1 = HEAP32[$this >> 2] | 0; + $sub$ptr$div$i = (HEAP32[$__end_$i >> 2] | 0) - $1 >> 1; + $2 = $1; + if ($sub$ptr$div$i >>> 0 >= $__sz >>> 0) { + if ($sub$ptr$div$i >>> 0 > $__sz >>> 0) HEAP32[$__end_$i >> 2] = $2 + ($__sz << 1); + } else __ZNSt3__26vectorItNS_9allocatorItEEE8__appendEm($this, $__sz - $sub$ptr$div$i | 0); + return; +} + +function __ZNSt3__26vectorIiNS_9allocatorIiEEE6resizeEm($this, $__sz) { + $this = $this | 0; + $__sz = $__sz | 0; + var $1 = 0, $2 = 0, $__end_$i = 0, $sub$ptr$div$i = 0; + $__end_$i = $this + 4 | 0; + $1 = HEAP32[$this >> 2] | 0; + $sub$ptr$div$i = (HEAP32[$__end_$i >> 2] | 0) - $1 >> 2; + $2 = $1; + if ($sub$ptr$div$i >>> 0 >= $__sz >>> 0) { + if ($sub$ptr$div$i >>> 0 > $__sz >>> 0) HEAP32[$__end_$i >> 2] = $2 + ($__sz << 2); + } else __ZNSt3__26vectorIiNS_9allocatorIiEEE8__appendEm($this, $__sz - $sub$ptr$div$i | 0); + return; +} + +function __ZNSt3__26vectorIfNS_9allocatorIfEEE6resizeEm($this, $__sz) { + $this = $this | 0; + $__sz = $__sz | 0; + var $1 = 0, $2 = 0, $__end_$i = 0, $sub$ptr$div$i = 0; + $__end_$i = $this + 4 | 0; + $1 = HEAP32[$this >> 2] | 0; + $sub$ptr$div$i = (HEAP32[$__end_$i >> 2] | 0) - $1 >> 2; + $2 = $1; + if ($sub$ptr$div$i >>> 0 >= $__sz >>> 0) { + if ($sub$ptr$div$i >>> 0 > $__sz >>> 0) HEAP32[$__end_$i >> 2] = $2 + ($__sz << 2); + } else __ZNSt3__26vectorIfNS_9allocatorIfEEE8__appendEm($this, $__sz - $sub$ptr$div$i | 0); + return; +} + +function _jpeg_idct_1x1($cinfo, $compptr, $coef_block, $output_buf, $output_col) { + $cinfo = $cinfo | 0; + $compptr = $compptr | 0; + $coef_block = $coef_block | 0; + $output_buf = $output_buf | 0; + $output_col = $output_col | 0; + var $arrayidx2 = 0; + $arrayidx2 = (HEAP32[$cinfo + 336 >> 2] | 0) + -384 + (((Math_imul(HEAP32[HEAP32[$compptr + 84 >> 2] >> 2] | 0, HEAP16[$coef_block >> 1] | 0) | 0) + 4100 | 0) >>> 3 & 1023) | 0; + HEAP8[(HEAP32[$output_buf >> 2] | 0) + $output_col >> 0] = HEAP8[$arrayidx2 >> 0] | 0; + return; } -function __ZNKSt3__25ctypeIwE10do_scan_isEtPKwS3_($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $$0 = 0, $$0$lcssa = 0, $7 = 0; - $$0 = $2; - while (1) { - if (($$0 | 0) == ($3 | 0)) { - $$0$lcssa = $3; - break; - } - if ((HEAP32[$$0 >> 2] | 0) >>> 0 < 128 ? ($7 = __ZNSt3__25ctypeIcE13classic_tableEv() | 0, (HEAP16[$7 + (HEAP32[$$0 >> 2] << 1) >> 1] & $1) << 16 >> 16) : 0) { - $$0$lcssa = $$0; - break; - } - $$0 = $$0 + 4 | 0; - } - return $$0$lcssa | 0; +function __ZN12_GLOBAL__N_116itanium_demangle9ArrayTypeC2EPKNS0_4NodeENS0_12NodeOrStringE($this, $Base_, $Dimension_) { + $this = $this | 0; + $Base_ = $Base_ | 0; + $Dimension_ = $Dimension_ | 0; + var $0 = 0, $5 = 0, $6 = 0; + __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($this, 14, 0, 0, 1); + HEAP32[$this >> 2] = 19936; + HEAP32[$this + 8 >> 2] = $Base_; + $0 = $Dimension_; + $5 = HEAP32[$0 + 4 >> 2] | 0; + $6 = $this + 12 | 0; + HEAP32[$6 >> 2] = HEAP32[$0 >> 2]; + HEAP32[$6 + 4 >> 2] = $5; + return; } -function __ZN6vision18BinaryFeatureStore6resizeEm($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $5 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $2 = sp; - $5 = Math_imul(HEAP32[$0 >> 2] | 0, $1) | 0; - HEAP8[$2 >> 0] = 0; - __ZNSt3__26vectorIhNS_9allocatorIhEEE6resizeEmRKh($0 + 4 | 0, $5, $2); - __ZNSt3__26vectorIN6vision12FeaturePointENS_9allocatorIS2_EEE6resizeEm($0 + 16 | 0, $1); - STACKTOP = sp; +function __ZN12_GLOBAL__N_116itanium_demangle11PostfixExprC2EPKNS0_4NodeENS_10StringViewE($this, $Child_, $Operator_) { + $this = $this | 0; + $Child_ = $Child_ | 0; + $Operator_ = $Operator_ | 0; + var $0 = 0, $5 = 0, $6 = 0; + __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($this, 44, 1, 1, 1); + HEAP32[$this >> 2] = 18660; + HEAP32[$this + 8 >> 2] = $Child_; + $0 = $Operator_; + $5 = HEAP32[$0 + 4 >> 2] | 0; + $6 = $this + 12 | 0; + HEAP32[$6 >> 2] = HEAP32[$0 >> 2]; + HEAP32[$6 + 4 >> 2] = $5; return; } -function __ZNSt3__215basic_streambufIwNS_11char_traitsIwEEE5uflowEv($0) { - $0 = $0 | 0; - var $$0 = 0, $4 = 0, $8 = 0, $9 = 0; - $4 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$0 >> 2] | 0) + 36 >> 2] & 127]($0) | 0; - if (($4 | 0) == (__ZNSt3__211char_traitsIwE3eofEv() | 0)) $$0 = __ZNSt3__211char_traitsIwE3eofEv() | 0; else { - $8 = $0 + 12 | 0; - $9 = HEAP32[$8 >> 2] | 0; - HEAP32[$8 >> 2] = $9 + 4; - $$0 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[$9 >> 2] | 0) | 0; - } - return $$0 | 0; +function __ZN6vision35MultiplyPointHomographyInhomogenousIfEEvRT_S2_PKS1_S1_S1_($xp, $yp, $H, $x, $y) { + $xp = $xp | 0; + $yp = $yp | 0; + $H = $H | 0; + $x = +$x; + $y = +$y; + var $add4 = 0.0; + $add4 = +HEAPF32[$H + 32 >> 2] + (+HEAPF32[$H + 24 >> 2] * $x + +HEAPF32[$H + 28 >> 2] * $y); + HEAPF32[$xp >> 2] = (+HEAPF32[$H + 8 >> 2] + (+HEAPF32[$H >> 2] * $x + +HEAPF32[$H + 4 >> 2] * $y)) / $add4; + HEAPF32[$yp >> 2] = (+HEAPF32[$H + 20 >> 2] + (+HEAPF32[$H + 12 >> 2] * $x + +HEAPF32[$H + 16 >> 2] * $y)) / $add4; + return; } -function __ZN12_GLOBAL__N_122initializeOutputStreamEPcPmRNS_12OutputStreamEm($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$0 = 0, $$010 = 0, $$09 = 0, $4 = 0, label = 0; - if (!$0) { - $4 = _malloc(1024) | 0; - if (!$4) $$09 = 0; else { - $$0 = 1024; - $$010 = $4; - label = 4; - } - } else { - $$0 = HEAP32[$1 >> 2] | 0; - $$010 = $0; - label = 4; - } - if ((label | 0) == 4) { - __ZN12_GLOBAL__N_112OutputStream5resetEPcm($2, $$010, $$0); - $$09 = 1; - } - return $$09 | 0; +function __ZN12_GLOBAL__N_116itanium_demangle11SpecialNameC2ENS_10StringViewEPKNS0_4NodeE($this, $Special_, $Child_) { + $this = $this | 0; + $Special_ = $Special_ | 0; + $Child_ = $Child_ | 0; + var $0 = 0, $5 = 0, $6 = 0; + __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($this, 20, 1, 1, 1); + HEAP32[$this >> 2] = 20332; + $0 = $Special_; + $5 = HEAP32[$0 + 4 >> 2] | 0; + $6 = $this + 8 | 0; + HEAP32[$6 >> 2] = HEAP32[$0 >> 2]; + HEAP32[$6 + 4 >> 2] = $5; + HEAP32[$this + 16 >> 2] = $Child_; + return; } -function __ZNSt3__215basic_streambufIcNS_11char_traitsIcEEE5uflowEv($0) { - $0 = $0 | 0; - var $$0 = 0, $4 = 0, $8 = 0, $9 = 0; - $4 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[$0 >> 2] | 0) + 36 >> 2] & 127]($0) | 0; - if (($4 | 0) == (__ZNSt3__211char_traitsIcE3eofEv() | 0)) $$0 = __ZNSt3__211char_traitsIcE3eofEv() | 0; else { - $8 = $0 + 12 | 0; - $9 = HEAP32[$8 >> 2] | 0; - HEAP32[$8 >> 2] = $9 + 1; - $$0 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[$9 >> 0] | 0) | 0; - } - return $$0 | 0; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8FoldExprEJRbRNS_10StringViewERPNS0_4NodeESD_EEESC_DpOT0_($this, $args, $args1, $args3, $args5) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + $args3 = $args3 | 0; + $args5 = $args5 | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8FoldExprEJRbRNS_10StringViewERPNS2_4NodeES9_EEEPT_DpOT0_($this + 368 | 0, $args, $args1, $args3, $args5) | 0; } -function __ZNSt3__214__split_bufferIPKN6vision4NodeILi96EEERNS_9allocatorIS5_EEED2Ev($0) { - $0 = $0 | 0; - var $2 = 0, $3 = 0, $5 = 0, $6 = 0, $7 = 0; - $2 = HEAP32[$0 + 4 >> 2] | 0; - $3 = $0 + 8 | 0; - $5 = HEAP32[$3 >> 2] | 0; - while (1) { - if (($5 | 0) == ($2 | 0)) break; - $6 = $5 + -4 | 0; - HEAP32[$3 >> 2] = $6; - $5 = $6; - } - $7 = HEAP32[$0 >> 2] | 0; - if ($7 | 0) __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($7, (HEAP32[$0 + 12 >> 2] | 0) - $7 | 0); +function __ZNSt3__26vectorIhNS_9allocatorIhEEE6resizeEm($this, $__sz) { + $this = $this | 0; + $__sz = $__sz | 0; + var $1 = 0, $2 = 0, $__end_$i = 0, $sub$ptr$sub$i = 0; + $__end_$i = $this + 4 | 0; + $1 = HEAP32[$this >> 2] | 0; + $sub$ptr$sub$i = (HEAP32[$__end_$i >> 2] | 0) - $1 | 0; + $2 = $1; + if ($sub$ptr$sub$i >>> 0 >= $__sz >>> 0) { + if ($sub$ptr$sub$i >>> 0 > $__sz >>> 0) HEAP32[$__end_$i >> 2] = $2 + $__sz; + } else __ZNSt3__26vectorIhNS_9allocatorIhEEE8__appendEm($this, $__sz - $sub$ptr$sub$i | 0); return; } -function __ZNSt3__212__hash_tableINS_17__hash_value_typeIjjEENS_22__unordered_map_hasherIjS2_NS_4hashIjEELb1EEENS_21__unordered_map_equalIjS2_NS_8equal_toIjEELb1EEENS_9allocatorIS2_EEE17__deallocate_nodeEPNS_16__hash_node_baseIPNS_11__hash_nodeIS2_PvEEEE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $3 = 0; - $$0 = $1; - while (1) { - if (!$$0) break; - $3 = HEAP32[$$0 >> 2] | 0; - __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($$0, 16); - $$0 = $3; +function __ZN6vision16ComputeEdgeScoreERfPKf($score, $H) { + $score = $score | 0; + $H = $H | 0; + var $arrayidx1 = 0, $div = 0.0, $mul = 0.0, $retval$0 = 0, $sub = 0.0; + $arrayidx1 = $H + 16 | 0; + $mul = +HEAPF32[$H >> 2] * +HEAPF32[$arrayidx1 >> 2]; + $sub = $mul - +__ZN6vision3sqrIfEET_S1_(+HEAPF32[$H + 4 >> 2]); + if ($sub == 0.0) $retval$0 = 0; else { + $div = +__ZN6vision3sqrIfEET_S1_(+HEAPF32[$H >> 2] + +HEAPF32[$arrayidx1 >> 2]) / $sub; + HEAPF32[$score >> 2] = $div; + $retval$0 = 1; } - return; + return $retval$0 | 0; } -function __ZNSt3__214__split_bufferIPN6vision4NodeILi96EEERNS_9allocatorIS4_EEED2Ev($0) { - $0 = $0 | 0; - var $2 = 0, $3 = 0, $5 = 0, $6 = 0, $7 = 0; - $2 = HEAP32[$0 + 4 >> 2] | 0; - $3 = $0 + 8 | 0; - $5 = HEAP32[$3 >> 2] | 0; - while (1) { - if (($5 | 0) == ($2 | 0)) break; - $6 = $5 + -4 | 0; - HEAP32[$3 >> 2] = $6; - $5 = $6; - } - $7 = HEAP32[$0 >> 2] | 0; - if ($7 | 0) __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($7, (HEAP32[$0 + 12 >> 2] | 0) - $7 | 0); +function __ZN12_GLOBAL__N_116itanium_demangle22ElaboratedTypeSpefTypeC2ENS_10StringViewEPNS0_4NodeE($this, $Kind_, $Child_) { + $this = $this | 0; + $Kind_ = $Kind_ | 0; + $Child_ = $Child_ | 0; + var $0 = 0, $5 = 0, $6 = 0; + __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($this, 6, 1, 1, 1); + HEAP32[$this >> 2] = 19496; + $0 = $Kind_; + $5 = HEAP32[$0 + 4 >> 2] | 0; + $6 = $this + 8 | 0; + HEAP32[$6 >> 2] = HEAP32[$0 >> 2]; + HEAP32[$6 + 4 >> 2] = $5; + HEAP32[$this + 16 >> 2] = $Child_; return; } -function __ZNSt3__214__split_bufferIN6vision7Point3dIfEERNS_9allocatorIS3_EEED2Ev($0) { - $0 = $0 | 0; - var $2 = 0, $3 = 0, $5 = 0, $6 = 0, $7 = 0; - $2 = HEAP32[$0 + 4 >> 2] | 0; - $3 = $0 + 8 | 0; - $5 = HEAP32[$3 >> 2] | 0; - while (1) { - if (($5 | 0) == ($2 | 0)) break; - $6 = $5 + -12 | 0; - HEAP32[$3 >> 2] = $6; - $5 = $6; - } - $7 = HEAP32[$0 >> 2] | 0; - if ($7 | 0) __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($7, (HEAP32[$0 + 12 >> 2] | 0) - $7 | 0); +function __ZN12_GLOBAL__N_116itanium_demangle9DotSuffixC2EPKNS0_4NodeENS_10StringViewE($this, $Prefix_, $Suffix_) { + $this = $this | 0; + $Prefix_ = $Prefix_ | 0; + $Suffix_ = $Suffix_ | 0; + var $0 = 0, $5 = 0, $6 = 0; + __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($this, 1, 1, 1, 1); + HEAP32[$this >> 2] = 20376; + HEAP32[$this + 8 >> 2] = $Prefix_; + $0 = $Suffix_; + $5 = HEAP32[$0 + 4 >> 2] | 0; + $6 = $this + 12 | 0; + HEAP32[$6 >> 2] = HEAP32[$0 >> 2]; + HEAP32[$6 + 4 >> 2] = $5; return; } -function __ZNSt3__28ios_base4initEPv($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $11 = 0, dest = 0, stop = 0; - HEAP32[$0 + 24 >> 2] = $1; - HEAP32[$0 + 16 >> 2] = ($1 | 0) == 0 & 1; - HEAP32[$0 + 20 >> 2] = 0; - HEAP32[$0 + 4 >> 2] = 4098; - HEAP32[$0 + 12 >> 2] = 0; - HEAP32[$0 + 8 >> 2] = 6; - $11 = $0 + 28 | 0; - dest = $0 + 32 | 0; - stop = dest + 40 | 0; - do { - HEAP32[dest >> 2] = 0; - dest = dest + 4 | 0; - } while ((dest | 0) < (stop | 0)); - __ZNSt3__26localeC2Ev($11); +function __ZN12_GLOBAL__N_116itanium_demangle20PostfixQualifiedTypeC2EPNS0_4NodeENS_10StringViewE($this, $Ty_, $Postfix_) { + $this = $this | 0; + $Ty_ = $Ty_ | 0; + $Postfix_ = $Postfix_ | 0; + var $0 = 0, $5 = 0, $6 = 0; + __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($this, 5, 1, 1, 1); + HEAP32[$this >> 2] = 17692; + HEAP32[$this + 8 >> 2] = $Ty_; + $0 = $Postfix_; + $5 = HEAP32[$0 + 4 >> 2] | 0; + $6 = $this + 12 | 0; + HEAP32[$6 >> 2] = HEAP32[$0 >> 2]; + HEAP32[$6 + 4 >> 2] = $5; return; } -function __ZNSt3__214__split_bufferIN6vision7match_tERNS_9allocatorIS2_EEED2Ev($0) { - $0 = $0 | 0; - var $2 = 0, $3 = 0, $5 = 0, $6 = 0, $7 = 0; - $2 = HEAP32[$0 + 4 >> 2] | 0; - $3 = $0 + 8 | 0; - $5 = HEAP32[$3 >> 2] | 0; - while (1) { - if (($5 | 0) == ($2 | 0)) break; - $6 = $5 + -8 | 0; - HEAP32[$3 >> 2] = $6; - $5 = $6; - } - $7 = HEAP32[$0 >> 2] | 0; - if ($7 | 0) __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($7, (HEAP32[$0 + 12 >> 2] | 0) - $7 | 0); +function __ZN12_GLOBAL__N_116itanium_demangle13ObjCProtoNameC2EPKNS0_4NodeENS_10StringViewE($this, $Ty_, $Protocol_) { + $this = $this | 0; + $Ty_ = $Ty_ | 0; + $Protocol_ = $Protocol_ | 0; + var $0 = 0, $5 = 0, $6 = 0; + __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($this, 10, 1, 1, 1); + HEAP32[$this >> 2] = 20156; + HEAP32[$this + 8 >> 2] = $Ty_; + $0 = $Protocol_; + $5 = HEAP32[$0 + 4 >> 2] | 0; + $6 = $this + 12 | 0; + HEAP32[$6 >> 2] = HEAP32[$0 >> 2]; + HEAP32[$6 + 4 >> 2] = $5; return; } -function _arg_n($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $10 = 0, $2 = 0, $9 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $2 = sp; - HEAP32[$2 >> 2] = HEAP32[$0 >> 2]; - $$0 = $1; - while (1) { - $9 = (HEAP32[$2 >> 2] | 0) + (4 - 1) & ~(4 - 1); - $10 = HEAP32[$9 >> 2] | 0; - HEAP32[$2 >> 2] = $9 + 4; - if ($$0 >>> 0 > 1) $$0 = $$0 + -1 | 0; else break; - } - STACKTOP = sp; - return $10 | 0; +function __ZN12_GLOBAL__N_116itanium_demangle10PrefixExprC2ENS_10StringViewEPNS0_4NodeE($this, $Prefix_, $Child_) { + $this = $this | 0; + $Prefix_ = $Prefix_ | 0; + $Child_ = $Child_ | 0; + var $0 = 0, $5 = 0, $6 = 0; + __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($this, 53, 1, 1, 1); + HEAP32[$this >> 2] = 19276; + $0 = $Prefix_; + $5 = HEAP32[$0 + 4 >> 2] | 0; + $6 = $this + 8 | 0; + HEAP32[$6 >> 2] = HEAP32[$0 >> 2]; + HEAP32[$6 + 4 >> 2] = $5; + HEAP32[$this + 16 >> 2] = $Child_; + return; } -function __ZN6vision10SimilarityIfEEvPT_S1_S1_S1_S1_($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = +$1; - $2 = +$2; - $3 = +$3; - $4 = +$4; - var $6 = 0.0, $8 = 0.0; - $6 = +Math_cos(+$3) * $4; - $8 = +Math_sin(+$3) * $4; - HEAPF32[$0 >> 2] = $6; - HEAPF32[$0 + 4 >> 2] = -$8; - HEAPF32[$0 + 8 >> 2] = $1; - HEAPF32[$0 + 12 >> 2] = $8; - HEAPF32[$0 + 16 >> 2] = $6; - HEAPF32[$0 + 20 >> 2] = $2; - HEAPF32[$0 + 24 >> 2] = 0.0; - HEAPF32[$0 + 28 >> 2] = 0.0; - HEAPF32[$0 + 32 >> 2] = 1.0; - return; -} - -function __ZNSt3__214__split_bufferINS_4pairIfmEERNS_9allocatorIS2_EEED2Ev($0) { - $0 = $0 | 0; - var $2 = 0, $3 = 0, $5 = 0, $6 = 0, $7 = 0; - $2 = HEAP32[$0 + 4 >> 2] | 0; - $3 = $0 + 8 | 0; - $5 = HEAP32[$3 >> 2] | 0; - while (1) { - if (($5 | 0) == ($2 | 0)) break; - $6 = $5 + -8 | 0; - HEAP32[$3 >> 2] = $6; - $5 = $6; - } - $7 = HEAP32[$0 >> 2] | 0; - if ($7 | 0) __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($7, (HEAP32[$0 + 12 >> 2] | 0) - $7 | 0); +function __ZN12_GLOBAL__N_116itanium_demangle15IntegerCastExprC2EPKNS0_4NodeENS_10StringViewE($this, $Ty_, $Integer_) { + $this = $this | 0; + $Ty_ = $Ty_ | 0; + $Integer_ = $Integer_ | 0; + var $0 = 0, $5 = 0, $6 = 0; + __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($this, 60, 1, 1, 1); + HEAP32[$this >> 2] = 17956; + HEAP32[$this + 8 >> 2] = $Ty_; + $0 = $Integer_; + $5 = HEAP32[$0 + 4 >> 2] | 0; + $6 = $this + 12 | 0; + HEAP32[$6 >> 2] = HEAP32[$0 >> 2]; + HEAP32[$6 + 4 >> 2] = $5; return; } -function __ZNSt3__214__split_bufferINS_4pairIfiEERNS_9allocatorIS2_EEED2Ev($0) { - $0 = $0 | 0; - var $2 = 0, $3 = 0, $5 = 0, $6 = 0, $7 = 0; - $2 = HEAP32[$0 + 4 >> 2] | 0; - $3 = $0 + 8 | 0; - $5 = HEAP32[$3 >> 2] | 0; - while (1) { - if (($5 | 0) == ($2 | 0)) break; - $6 = $5 + -8 | 0; - HEAP32[$3 >> 2] = $6; - $5 = $6; - } - $7 = HEAP32[$0 >> 2] | 0; - if ($7 | 0) __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($7, (HEAP32[$0 + 12 >> 2] | 0) - $7 | 0); - return; +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle15ConditionalExprEJRPNS2_4NodeES6_S6_EEEPT_DpOT0_($this, $args, $args1, $args3) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + $args3 = $args3 | 0; + var $call = 0; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 20) | 0; + __ZN12_GLOBAL__N_116itanium_demangle15ConditionalExprC2EPKNS0_4NodeES4_S4_($call, HEAP32[$args >> 2] | 0, HEAP32[$args1 >> 2] | 0, HEAP32[$args3 >> 2] | 0); + return $call | 0; } -function __ZNSt3__219__libcpp_asprintf_lEPPcP15__locale_structPKcz($0, $1, $2, $varargs) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $varargs = $varargs | 0; - var $3 = 0, $4 = 0, $5 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $3 = sp; - HEAP32[$3 >> 2] = $varargs; - $4 = ___uselocale($1) | 0; - $5 = _vasprintf($0, $2, $3) | 0; - if ($4 | 0) ___uselocale($4) | 0; - STACKTOP = sp; - return $5 | 0; +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle15BracedRangeExprEJRPNS2_4NodeES6_S6_EEEPT_DpOT0_($this, $args, $args1, $args3) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + $args3 = $args3 | 0; + var $call = 0; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 20) | 0; + __ZN12_GLOBAL__N_116itanium_demangle15BracedRangeExprC2EPKNS0_4NodeES4_S4_($call, HEAP32[$args >> 2] | 0, HEAP32[$args1 >> 2] | 0, HEAP32[$args3 >> 2] | 0); + return $call | 0; } -function _arImageProcLumaHistAndCDF($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $$017 = 0, $2 = 0, $indvars$iv = 0; - $2 = _arImageProcLumaHist($0, $1) | 0; - if (($2 | 0) < 0) $$0 = $2; else { - $$017 = 0; - $indvars$iv = 0; - do { - $$017 = (HEAP32[$0 + 12 + ($indvars$iv << 2) >> 2] | 0) + $$017 | 0; - HEAP32[$0 + 1036 + ($indvars$iv << 2) >> 2] = $$017; - $indvars$iv = $indvars$iv + 1 | 0; - } while (($indvars$iv | 0) != 256); - $$0 = 0; - } - return $$0 | 0; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9NameStateC2EPS5_($this, $Enclosing) { + $this = $this | 0; + $Enclosing = $Enclosing | 0; + var $call = 0; + HEAP8[$this >> 0] = 0; + HEAP8[$this + 1 >> 0] = 0; + HEAP32[$this + 4 >> 2] = 0; + HEAP8[$this + 8 >> 0] = 0; + $call = __ZNK12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_24ForwardTemplateReferenceELm4EE4sizeEv($Enclosing + 332 | 0) | 0; + HEAP32[$this + 12 >> 2] = $call; + return; } -function _ar2FreeFeatureSet($0) { - $0 = $0 | 0; - var $$0 = 0, $$09 = 0, $1 = 0, $4 = 0, $7 = 0; - $1 = HEAP32[$0 >> 2] | 0; - if (!$1) $$09 = -1; else { - $$0 = 0; - $4 = $1; +function _getint_780($s) { + $s = $s | 0; + var $2 = 0, $add = 0, $i$0$lcssa = 0, $i$07 = 0, $incdec$ptr = 0; + if (!(_isdigit(HEAP8[HEAP32[$s >> 2] >> 0] | 0) | 0)) $i$0$lcssa = 0; else { + $i$07 = 0; while (1) { - $7 = HEAP32[$4 >> 2] | 0; - if (($$0 | 0) >= (HEAP32[$4 + 4 >> 2] | 0)) break; - _free(HEAP32[$7 + ($$0 * 20 | 0) >> 2] | 0); - $$0 = $$0 + 1 | 0; - $4 = HEAP32[$0 >> 2] | 0; - } - _free($7); - _free(HEAP32[$0 >> 2] | 0); - HEAP32[$0 >> 2] = 0; - $$09 = 0; + $2 = HEAP32[$s >> 2] | 0; + $add = ($i$07 * 10 | 0) + -48 + (HEAP8[$2 >> 0] | 0) | 0; + $incdec$ptr = $2 + 1 | 0; + HEAP32[$s >> 2] = $incdec$ptr; + if (!(_isdigit(HEAP8[$incdec$ptr >> 0] | 0) | 0)) { + $i$0$lcssa = $add; + break; + } else $i$07 = $add; + } } - return $$09 | 0; + return $i$0$lcssa | 0; } -function __ZNK12_GLOBAL__N_116itanium_demangle12InitListExpr9printLeftERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $3 = 0; - $3 = HEAP32[$0 + 8 >> 2] | 0; - if ($3 | 0) __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE($3, $1); - __ZN12_GLOBAL__N_112OutputStreampLEc($1, 123); - __ZNK12_GLOBAL__N_116itanium_demangle9NodeArray14printWithCommaERNS_12OutputStreamE($0 + 12 | 0, $1); - __ZN12_GLOBAL__N_112OutputStreampLEc($1, 125); +function __ZN12_GLOBAL__N_116itanium_demangle8CallExprC2EPKNS0_4NodeENS0_9NodeArrayE($this, $Callee_, $Args_) { + $this = $this | 0; + $Callee_ = $Callee_ | 0; + $Args_ = $Args_ | 0; + var $0 = 0, $5 = 0, $6 = 0; + __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($this, 50, 1, 1, 1); + HEAP32[$this >> 2] = 19232; + HEAP32[$this + 8 >> 2] = $Callee_; + $0 = $Args_; + $5 = HEAP32[$0 + 4 >> 2] | 0; + $6 = $this + 12 | 0; + HEAP32[$6 >> 2] = HEAP32[$0 >> 2]; + HEAP32[$6 + 4 >> 2] = $5; return; } -function __ZNSt3__217__libcpp_sscanf_lEPKcP15__locale_structS1_z($0, $1, $2, $varargs) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $varargs = $varargs | 0; - var $3 = 0, $4 = 0, $5 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $3 = sp; - HEAP32[$3 >> 2] = $varargs; - $4 = ___uselocale($1) | 0; - $5 = _vsscanf($0, $2, $3) | 0; - if ($4 | 0) ___uselocale($4) | 0; - STACKTOP = sp; - return $5 | 0; +function _shl($p, $n) { + $p = $p | 0; + $n = $n | 0; + var $0 = 0, $1 = 0, $2 = 0, $arrayidx1 = 0, $n$addr$0 = 0; + $arrayidx1 = $p + 4 | 0; + if ($n >>> 0 > 31) { + $0 = HEAP32[$p >> 2] | 0; + HEAP32[$arrayidx1 >> 2] = $0; + HEAP32[$p >> 2] = 0; + $1 = $0; + $2 = 0; + $n$addr$0 = $n + -32 | 0; + } else { + $1 = HEAP32[$arrayidx1 >> 2] | 0; + $2 = HEAP32[$p >> 2] | 0; + $n$addr$0 = $n; + } + HEAP32[$arrayidx1 >> 2] = $2 >>> (32 - $n$addr$0 | 0) | $1 << $n$addr$0; + HEAP32[$p >> 2] = $2 << $n$addr$0; + return; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_7NewExprEJRNS0_9NodeArrayERPNS0_4NodeES9_RbSD_EEESB_DpOT0_($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle7NewExprEJRNS2_9NodeArrayERPNS2_4NodeES5_RbS9_EEEPT_DpOT0_($0 + 368 | 0, $1, $2, $3, $4, $5) | 0; +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle10DeleteExprEJRPNS2_4NodeERbbEEEPT_DpOT0_($this, $args, $args1, $args3) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + $args3 = $args3 | 0; + var $call = 0; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 16) | 0; + __ZN12_GLOBAL__N_116itanium_demangle10DeleteExprC2EPNS0_4NodeEbb($call, HEAP32[$args >> 2] | 0, (HEAP8[$args1 >> 0] | 0) != 0, (HEAP8[$args3 >> 0] | 0) != 0); + return $call | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_7NewExprEJRNS0_9NodeArrayERPNS0_4NodeES8_RbSD_EEESB_DpOT0_($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle7NewExprEJRNS2_9NodeArrayERPNS2_4NodeES4_RbS9_EEEPT_DpOT0_($0 + 368 | 0, $1, $2, $3, $4, $5) | 0; +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle12CtorDtorNameEJRPNS2_4NodeEbRiEEEPT_DpOT0_($this, $args, $args1, $args3) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + $args3 = $args3 | 0; + var $call = 0; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 20) | 0; + __ZN12_GLOBAL__N_116itanium_demangle12CtorDtorNameC2EPKNS0_4NodeEbi($call, HEAP32[$args >> 2] | 0, (HEAP8[$args1 >> 0] | 0) != 0, HEAP32[$args3 >> 2] | 0); + return $call | 0; } -function ___ftello($0) { - $0 = $0 | 0; - var $10 = 0, $4 = 0, $7 = 0, $8 = 0, $9 = 0, $phitmp = 0; - if ((HEAP32[$0 + 76 >> 2] | 0) > -1) { - $phitmp = (___lockfile($0) | 0) == 0; - $7 = ___ftello_unlocked($0) | 0; - $8 = getTempRet0() | 0; - if ($phitmp) { - $10 = $7; - $9 = $8; - } else { - ___unlockfile($0); - $10 = $7; - $9 = $8; - } - } else { - $4 = ___ftello_unlocked($0) | 0; - $10 = $4; - $9 = getTempRet0() | 0; - } - setTempRet0($9 | 0); - return $10 | 0; +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle10BracedExprEJRPNS2_4NodeES6_bEEEPT_DpOT0_($this, $args, $args1, $args3) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + $args3 = $args3 | 0; + var $call = 0; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 20) | 0; + __ZN12_GLOBAL__N_116itanium_demangle10BracedExprC2EPKNS0_4NodeES4_b($call, HEAP32[$args >> 2] | 0, HEAP32[$args1 >> 2] | 0, (HEAP8[$args3 >> 0] | 0) != 0); + return $call | 0; } -function __ZN12_GLOBAL__N_112OutputStreampLENS_10StringViewE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $5 = 0, $7 = 0; - $2 = __ZNK12_GLOBAL__N_110StringView4sizeEv($1) | 0; - if ($2 | 0) { - __ZN12_GLOBAL__N_112OutputStream4growEm($0, $2); - $5 = $0 + 4 | 0; - $7 = (HEAP32[$0 >> 2] | 0) + (HEAP32[$5 >> 2] | 0) | 0; - _memmove($7 | 0, __ZNK12_GLOBAL__N_110StringView5beginEv($1) | 0, $2 | 0) | 0; - HEAP32[$5 >> 2] = (HEAP32[$5 >> 2] | 0) + $2; +function _shr($p, $n) { + $p = $p | 0; + $n = $n | 0; + var $0 = 0, $1 = 0, $2 = 0, $arrayidx = 0, $n$addr$0 = 0; + $arrayidx = $p + 4 | 0; + if ($n >>> 0 > 31) { + $0 = HEAP32[$arrayidx >> 2] | 0; + HEAP32[$p >> 2] = $0; + HEAP32[$arrayidx >> 2] = 0; + $1 = $0; + $2 = 0; + $n$addr$0 = $n + -32 | 0; + } else { + $1 = HEAP32[$p >> 2] | 0; + $2 = HEAP32[$arrayidx >> 2] | 0; + $n$addr$0 = $n; } + HEAP32[$p >> 2] = $2 << 32 - $n$addr$0 | $1 >>> $n$addr$0; + HEAP32[$arrayidx >> 2] = $2 >>> $n$addr$0; return; } -function __ZN12_GLOBAL__N_116itanium_demangle20PostfixQualifiedTypeC2EPNS0_4NodeENS_10StringViewE($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $10 = 0, $11 = 0, $5 = 0; - __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($0, 5, 1, 1, 1); - HEAP32[$0 >> 2] = 17692; - HEAP32[$0 + 8 >> 2] = $1; - $5 = $2; - $10 = HEAP32[$5 + 4 >> 2] | 0; - $11 = $0 + 12 | 0; - HEAP32[$11 >> 2] = HEAP32[$5 >> 2]; - HEAP32[$11 + 4 >> 2] = $10; +function __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($this, $K_, $RHSComponentCache_, $ArrayCache_, $FunctionCache_) { + $this = $this | 0; + $K_ = $K_ | 0; + $RHSComponentCache_ = $RHSComponentCache_ | 0; + $ArrayCache_ = $ArrayCache_ | 0; + $FunctionCache_ = $FunctionCache_ | 0; + HEAP32[$this >> 2] = 17604; + HEAP8[$this + 4 >> 0] = $K_; + HEAP8[$this + 5 >> 0] = $RHSComponentCache_; + HEAP8[$this + 6 >> 0] = $ArrayCache_; + HEAP8[$this + 7 >> 0] = $FunctionCache_; return; } -function __ZN12_GLOBAL__N_116itanium_demangle22ElaboratedTypeSpefTypeC2ENS_10StringViewEPNS0_4NodeE($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $10 = 0, $4 = 0, $9 = 0; - __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($0, 6, 1, 1, 1); - HEAP32[$0 >> 2] = 19496; - $4 = $1; - $9 = HEAP32[$4 + 4 >> 2] | 0; - $10 = $0 + 8 | 0; - HEAP32[$10 >> 2] = HEAP32[$4 >> 2]; - HEAP32[$10 + 4 >> 2] = $9; - HEAP32[$0 + 16 >> 2] = $2; +function __ZN12_GLOBAL__N_116itanium_demangle12InitListExprC2EPKNS0_4NodeENS0_9NodeArrayE($this, $Ty_, $Inits_) { + $this = $this | 0; + $Ty_ = $Ty_ | 0; + $Inits_ = $Inits_ | 0; + var $0 = 0, $5 = 0, $6 = 0; + __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($this, 56, 1, 1, 1); + HEAP32[$this >> 2] = 18308; + HEAP32[$this + 8 >> 2] = $Ty_; + $0 = $Inits_; + $5 = HEAP32[$0 + 4 >> 2] | 0; + $6 = $this + 12 | 0; + HEAP32[$6 >> 2] = HEAP32[$0 >> 2]; + HEAP32[$6 + 4 >> 2] = $5; return; } -function __ZN12_GLOBAL__N_116itanium_demangle17VendorExtQualTypeC2EPKNS0_4NodeENS_10StringViewE($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $10 = 0, $11 = 0, $5 = 0; - __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($0, 2, 1, 1, 1); - HEAP32[$0 >> 2] = 20112; - HEAP32[$0 + 8 >> 2] = $1; - $5 = $2; - $10 = HEAP32[$5 + 4 >> 2] | 0; - $11 = $0 + 12 | 0; - HEAP32[$11 >> 2] = HEAP32[$5 >> 2]; - HEAP32[$11 + 4 >> 2] = $10; +function _arg_n_767($ap, $n) { + $ap = $ap | 0; + $n = $n | 0; + var $5 = 0, $6 = 0, $ap2 = 0, $i$0 = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $ap2 = sp; + HEAP32[$ap2 >> 2] = HEAP32[$ap >> 2]; + $i$0 = $n; + while (1) { + $5 = (HEAP32[$ap2 >> 2] | 0) + (4 - 1) & ~(4 - 1); + $6 = HEAP32[$5 >> 2] | 0; + HEAP32[$ap2 >> 2] = $5 + 4; + if ($i$0 >>> 0 > 1) $i$0 = $i$0 + -1 | 0; else break; + } + STACKTOP = sp; + return $6 | 0; +} + +function __ZN12_GLOBAL__N_116itanium_demangle17VendorExtQualTypeC2EPKNS0_4NodeENS_10StringViewE($this, $Ty_, $Ext_) { + $this = $this | 0; + $Ty_ = $Ty_ | 0; + $Ext_ = $Ext_ | 0; + var $0 = 0, $5 = 0, $6 = 0; + __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($this, 2, 1, 1, 1); + HEAP32[$this >> 2] = 20112; + HEAP32[$this + 8 >> 2] = $Ty_; + $0 = $Ext_; + $5 = HEAP32[$0 + 4 >> 2] | 0; + $6 = $this + 12 | 0; + HEAP32[$6 >> 2] = HEAP32[$0 >> 2]; + HEAP32[$6 + 4 >> 2] = $5; return; } -function _getint($0) { - $0 = $0 | 0; - var $$0$lcssa = 0, $$04 = 0, $11 = 0, $12 = 0, $7 = 0; - if (!(_isdigit(HEAP8[HEAP32[$0 >> 2] >> 0] | 0) | 0)) $$0$lcssa = 0; else { - $$04 = 0; - while (1) { - $7 = HEAP32[$0 >> 2] | 0; - $11 = ($$04 * 10 | 0) + -48 + (HEAP8[$7 >> 0] | 0) | 0; - $12 = $7 + 1 | 0; - HEAP32[$0 >> 2] = $12; - if (!(_isdigit(HEAP8[$12 >> 0] | 0) | 0)) { - $$0$lcssa = $11; - break; - } else $$04 = $11; - } +function __ZN6vision27OrthogonalizePivot8x9Basis7IfEEbPT_S2_($Q, $A) { + $Q = $Q | 0; + $A = $A | 0; + var $add$ptr = 0, $call = 0.0, $retval$0 = 0; + $add$ptr = $Q + 252 | 0; + __ZN6vision21AccumulateProjection9IfEEvPT_PKS1_S4_($add$ptr, $Q + 216 | 0, $A + 252 | 0); + $call = +__ZN6vision11SumSquares9IfEET_PKS1_($add$ptr); + if ($call == 0.0) $retval$0 = 0; else { + __ZN6vision12ScaleVector9IfEEvPT_PKS1_S1_($add$ptr, $add$ptr, 1.0 / +Math_sqrt(+$call)); + $retval$0 = 1; } - return $$0$lcssa | 0; + return $retval$0 | 0; } -function __ZNSt3__214__split_bufferItRNS_9allocatorItEEED2Ev($0) { - $0 = $0 | 0; - var $2 = 0, $3 = 0, $5 = 0, $6 = 0, $7 = 0; - $2 = HEAP32[$0 + 4 >> 2] | 0; - $3 = $0 + 8 | 0; - $5 = HEAP32[$3 >> 2] | 0; - while (1) { - if (($5 | 0) == ($2 | 0)) break; - $6 = $5 + -2 | 0; - HEAP32[$3 >> 2] = $6; - $5 = $6; - } - $7 = HEAP32[$0 >> 2] | 0; - if ($7 | 0) __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($7, (HEAP32[$0 + 12 >> 2] | 0) - $7 | 0); +function _output_message($cinfo) { + $cinfo = $cinfo | 0; + var $2 = 0, $buffer = 0, $vararg_buffer = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 208 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(208); + $vararg_buffer = sp + 200 | 0; + $buffer = sp; + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$cinfo >> 2] | 0) + 12 >> 2] & 255]($cinfo, $buffer); + $2 = HEAP32[4274] | 0; + HEAP32[$vararg_buffer >> 2] = $buffer; + _fprintf($2, 51569, $vararg_buffer) | 0; + STACKTOP = sp; return; } -function __ZNSt3__214__split_bufferIiRNS_9allocatorIiEEED2Ev($0) { - $0 = $0 | 0; - var $2 = 0, $3 = 0, $5 = 0, $6 = 0, $7 = 0; - $2 = HEAP32[$0 + 4 >> 2] | 0; - $3 = $0 + 8 | 0; - $5 = HEAP32[$3 >> 2] | 0; +function __ZNSt3__28ios_base16__call_callbacksENS0_5eventE($this, $ev) { + $this = $this | 0; + $ev = $ev | 0; + var $__fn_ = 0, $__index_ = 0, $dec = 0, $i$0 = 0; + $__fn_ = $this + 32 | 0; + $__index_ = $this + 36 | 0; + $i$0 = HEAP32[$this + 40 >> 2] | 0; while (1) { - if (($5 | 0) == ($2 | 0)) break; - $6 = $5 + -4 | 0; - HEAP32[$3 >> 2] = $6; - $5 = $6; + if (!$i$0) break; + $dec = $i$0 + -1 | 0; + FUNCTION_TABLE_viii[HEAP32[(HEAP32[$__fn_ >> 2] | 0) + ($dec << 2) >> 2] & 3]($ev, $this, HEAP32[(HEAP32[$__index_ >> 2] | 0) + ($dec << 2) >> 2] | 0); + $i$0 = $dec; } - $7 = HEAP32[$0 >> 2] | 0; - if ($7 | 0) __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($7, (HEAP32[$0 + 12 >> 2] | 0) - $7 | 0); return; } -function __ZNSt3__214__split_bufferIhRNS_9allocatorIhEEED2Ev($0) { - $0 = $0 | 0; - var $2 = 0, $3 = 0, $5 = 0, $6 = 0, $7 = 0; - $2 = HEAP32[$0 + 4 >> 2] | 0; - $3 = $0 + 8 | 0; - $5 = HEAP32[$3 >> 2] | 0; - while (1) { - if (($5 | 0) == ($2 | 0)) break; - $6 = $5 + -1 | 0; - HEAP32[$3 >> 2] = $6; - $5 = $6; +function _arLog($tag, $logLevel, $format, $varargs) { + $tag = $tag | 0; + $logLevel = $logLevel | 0; + $format = $format | 0; + $varargs = $varargs | 0; + var $ap = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $ap = sp; + if (($format | 0) != 0 & (HEAP32[4186] | 0) <= ($logLevel | 0) ? HEAP8[$format >> 0] | 0 : 0) { + HEAP32[$ap >> 2] = $varargs; + _arLogv(0, $logLevel, $format, $ap); } - $7 = HEAP32[$0 >> 2] | 0; - if ($7 | 0) __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($7, (HEAP32[$0 + 12 >> 2] | 0) - $7 | 0); + STACKTOP = sp; return; } -function __ZNSt3__214__split_bufferIfRNS_9allocatorIfEEED2Ev($0) { - $0 = $0 | 0; - var $2 = 0, $3 = 0, $5 = 0, $6 = 0, $7 = 0; - $2 = HEAP32[$0 + 4 >> 2] | 0; - $3 = $0 + 8 | 0; - $5 = HEAP32[$3 >> 2] | 0; - while (1) { - if (($5 | 0) == ($2 | 0)) break; - $6 = $5 + -4 | 0; - HEAP32[$3 >> 2] = $6; - $5 = $6; +function _ar3DCreateHandle2($cpara) { + $cpara = $cpara | 0; + var $call = 0, $call1 = 0, $retval$0 = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $call = _malloc(4) | 0; + if (!$call) { + _arLog(0, 3, 46772, sp); + _exit(1); } - $7 = HEAP32[$0 >> 2] | 0; - if ($7 | 0) __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($7, (HEAP32[$0 + 12 >> 2] | 0) - $7 | 0); + $call1 = _icpCreateHandle($cpara) | 0; + HEAP32[$call >> 2] = $call1; + if (!$call1) { + _free($call); + $retval$0 = 0; + } else $retval$0 = $call; + STACKTOP = sp; + return $retval$0 | 0; +} + +function __ZNSt3__26vectorIN6vision17PriorityQueueItemILi96EEENS_9allocatorIS3_EEE18__construct_at_endEm($this, $__n) { + $this = $this | 0; + $__n = $__n | 0; + var $0 = 0, $__end_ = 0, $__n$addr$0 = 0; + $__end_ = $this + 4 | 0; + $0 = HEAP32[$__end_ >> 2] | 0; + $__n$addr$0 = $__n; + do { + __ZN6vision17PriorityQueueItemILi96EEC2Ev($0); + $0 = (HEAP32[$__end_ >> 2] | 0) + 8 | 0; + HEAP32[$__end_ >> 2] = $0; + $__n$addr$0 = $__n$addr$0 + -1 | 0; + } while (($__n$addr$0 | 0) != 0); return; } -function __ZN12_GLOBAL__N_116itanium_demangle15IntegerCastExprC2EPKNS0_4NodeENS_10StringViewE($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $10 = 0, $11 = 0, $5 = 0; - __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($0, 60, 1, 1, 1); - HEAP32[$0 >> 2] = 17956; - HEAP32[$0 + 8 >> 2] = $1; - $5 = $2; - $10 = HEAP32[$5 + 4 >> 2] | 0; - $11 = $0 + 12 | 0; - HEAP32[$11 >> 2] = HEAP32[$5 >> 2]; - HEAP32[$11 + 4 >> 2] = $10; +function __ZN12_GLOBAL__N_116register_integerIsEEvPKc($name) { + $name = $name | 0; + var $call = 0, $name$addr = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $name$addr = sp; + HEAP32[$name$addr >> 2] = $name; + $call = __ZN10emscripten8internal6TypeIDIsvE3getEv() | 0; + __embind_register_integer($call | 0, HEAP32[$name$addr >> 2] | 0, 2, -32768 << 16 >> 16 | 0, 32767 << 16 >> 16 | 0); + STACKTOP = sp; return; } -function __ZN10emscripten8internal11BindingTypeINSt3__212basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEvE12fromWireTypeEPNS9_Ut_E($agg$result, $v) { - $agg$result = $agg$result | 0; - $v = $v | 0; +function __ZNK12_GLOBAL__N_116itanium_demangle12InitListExpr9printLeftERNS_12OutputStreamE($this, $S) { + $this = $this | 0; + $S = $S | 0; var $0 = 0; - $0 = HEAP32[$v >> 2] | 0; - HEAP32[$agg$result >> 2] = 0; - HEAP32[$agg$result + 4 >> 2] = 0; - HEAP32[$agg$result + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm($agg$result, $v + 4 | 0, $0); + $0 = HEAP32[$this + 8 >> 2] | 0; + if ($0 | 0) __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE($0, $S); + __ZN12_GLOBAL__N_112OutputStreampLEc($S, 123); + __ZNK12_GLOBAL__N_116itanium_demangle9NodeArray14printWithCommaERNS_12OutputStreamE($this + 12 | 0, $S); + __ZN12_GLOBAL__N_112OutputStreampLEc($S, 125); return; } -function _ar2CreateHandleMod($cparamLT, $pixFormat) { - $cparamLT = $cparamLT | 0; - $pixFormat = $pixFormat | 0; - var $call = 0, $call4 = 0; - $call = _ar2CreateHandleSubMod($pixFormat, HEAP32[$cparamLT >> 2] | 0, HEAP32[$cparamLT + 4 >> 2] | 0) | 0; - HEAP32[$call >> 2] = 1; - HEAP32[$call + 12 >> 2] = $cparamLT; - $call4 = _icpCreateHandle($cparamLT + 8 | 0) | 0; - HEAP32[$call + 16 >> 2] = $call4; - _icpSetInlierProbability($call4, 0.0) | 0; - return $call | 0; +function __ZNSt3__218__libcpp_refstringC2EPKc($this, $msg) { + $this = $this | 0; + $msg = $msg | 0; + var $call = 0, $call3 = 0, $call5 = 0; + $call = _strlen($msg) | 0; + $call3 = __Znwm($call + 13 | 0) | 0; + HEAP32[$call3 >> 2] = $call; + HEAP32[$call3 + 4 >> 2] = $call; + HEAP32[$call3 + 8 >> 2] = 0; + $call5 = __ZNSt3__215__refstring_imp12_GLOBAL__N_113data_from_repEPNS1_9_Rep_baseE($call3) | 0; + _memcpy($call5 | 0, $msg | 0, $call + 1 | 0) | 0; + HEAP32[$this >> 2] = $call5; + return; } -function __ZNSt3__26vectorIPNS_6locale5facetENS_15__sso_allocatorIS3_Lm28EEEE6resizeEm($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $4 = 0, $6 = 0, $8 = 0; - $2 = $0 + 4 | 0; - $4 = HEAP32[$0 >> 2] | 0; - $6 = (HEAP32[$2 >> 2] | 0) - $4 >> 2; - $8 = $4; - if ($6 >>> 0 >= $1 >>> 0) { - if ($6 >>> 0 > $1 >>> 0) HEAP32[$2 >> 2] = $8 + ($1 << 2); - } else __ZNSt3__26vectorIPNS_6locale5facetENS_15__sso_allocatorIS3_Lm28EEEE8__appendEm($0, $1 - $6 | 0); +function __ZN6vision4NodeILi96EEC2Ei($this, $id) { + $this = $this | 0; + $id = $id | 0; + var $__begin_$i$i = 0; + HEAP32[$this >> 2] = $id; + HEAP8[$this + 100 >> 0] = 1; + $__begin_$i$i = $this + 104 | 0; + HEAP32[$__begin_$i$i >> 2] = 0; + HEAP32[$__begin_$i$i + 4 >> 2] = 0; + HEAP32[$__begin_$i$i + 8 >> 2] = 0; + HEAP32[$__begin_$i$i + 12 >> 2] = 0; + HEAP32[$__begin_$i$i + 16 >> 2] = 0; + HEAP32[$__begin_$i$i + 20 >> 2] = 0; + __ZN6vision10ZeroVectorIhEEvPT_m($this + 4 | 0, 96); return; } -function __ZNKSt3__25ctypeIcE10do_toupperEPcPKc($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$0 = 0, $12 = 0, $4 = 0, $6 = 0; - $$0 = $1; - while (1) { - if (($$0 | 0) == ($2 | 0)) break; - $4 = HEAP8[$$0 >> 0] | 0; - if ($4 << 24 >> 24 > -1) { - $6 = __ZNSt3__25ctypeIcE21__classic_upper_tableEv() | 0; - $12 = HEAP32[$6 + (HEAP8[$$0 >> 0] << 2) >> 2] & 255; - } else $12 = $4; - HEAP8[$$0 >> 0] = $12; - $$0 = $$0 + 1 | 0; +function __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE6sentryC2ERS3_($this, $__os) { + $this = $this | 0; + $__os = $__os | 0; + var $1 = 0, $add$ptr = 0; + HEAP8[$this >> 0] = 0; + HEAP32[$this + 4 >> 2] = $__os; + $add$ptr = $__os + (HEAP32[(HEAP32[$__os >> 2] | 0) + -12 >> 2] | 0) | 0; + if (!(HEAP32[$add$ptr + 16 >> 2] | 0)) { + $1 = HEAP32[$add$ptr + 72 >> 2] | 0; + if ($1 | 0) __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($1) | 0; + HEAP8[$this >> 0] = 1; } - return $2 | 0; + return; } -function __ZNKSt3__25ctypeIcE10do_tolowerEPcPKc($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$0 = 0, $12 = 0, $4 = 0, $6 = 0; - $$0 = $1; - while (1) { - if (($$0 | 0) == ($2 | 0)) break; - $4 = HEAP8[$$0 >> 0] | 0; - if ($4 << 24 >> 24 > -1) { - $6 = __ZNSt3__25ctypeIcE21__classic_lower_tableEv() | 0; - $12 = HEAP32[$6 + (HEAP8[$$0 >> 0] << 2) >> 2] & 255; - } else $12 = $4; - HEAP8[$$0 >> 0] = $12; - $$0 = $$0 + 1 | 0; +function __ZNSt3__26vectorIPNS_6locale5facetENS_15__sso_allocatorIS3_Lm28EEEEC2Em($this, $__n) { + $this = $this | 0; + $__n = $__n | 0; + HEAP32[$this >> 2] = 0; + HEAP32[$this + 4 >> 2] = 0; + HEAP32[$this + 8 >> 2] = 0; + HEAP8[$this + 128 >> 0] = 0; + if ($__n | 0) { + __ZNSt3__26vectorIPNS_6locale5facetENS_15__sso_allocatorIS3_Lm28EEEE11__vallocateEm($this, $__n); + __ZNSt3__26vectorIPNS_6locale5facetENS_15__sso_allocatorIS3_Lm28EEEE18__construct_at_endEm($this, $__n); } - return $2 | 0; + return; } -function __ZN12_GLOBAL__N_116itanium_demangle14ConversionExprC2EPKNS0_4NodeENS0_9NodeArrayE($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $10 = 0, $11 = 0, $5 = 0; - __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($0, 55, 1, 1, 1); - HEAP32[$0 >> 2] = 19188; - HEAP32[$0 + 8 >> 2] = $1; - $5 = $2; - $10 = HEAP32[$5 + 4 >> 2] | 0; - $11 = $0 + 12 | 0; - HEAP32[$11 >> 2] = HEAP32[$5 >> 2]; - HEAP32[$11 + 4 >> 2] = $10; +function __ZNSt3__211__stdoutbufIwE5imbueERKNS_6localeE($this, $__loc) { + $this = $this | 0; + $__loc = $__loc | 0; + var $call$i = 0, $frombool = 0; + FUNCTION_TABLE_ii[HEAP32[(HEAP32[$this >> 2] | 0) + 24 >> 2] & 127]($this) | 0; + $call$i = __ZNKSt3__26locale9use_facetERNS0_2idE($__loc, 67672) | 0; + HEAP32[$this + 36 >> 2] = $call$i; + $frombool = (FUNCTION_TABLE_ii[HEAP32[(HEAP32[$call$i >> 2] | 0) + 28 >> 2] & 127]($call$i) | 0) & 1; + HEAP8[$this + 44 >> 0] = $frombool; return; } -function __ZN12_GLOBAL__N_116itanium_demangle13ObjCProtoNameC2EPKNS0_4NodeENS_10StringViewE($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $10 = 0, $11 = 0, $5 = 0; - __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($0, 10, 1, 1, 1); - HEAP32[$0 >> 2] = 20156; - HEAP32[$0 + 8 >> 2] = $1; - $5 = $2; - $10 = HEAP32[$5 + 4 >> 2] | 0; - $11 = $0 + 12 | 0; - HEAP32[$11 >> 2] = HEAP32[$5 >> 2]; - HEAP32[$11 + 4 >> 2] = $10; +function __ZNSt3__211__stdoutbufIcE5imbueERKNS_6localeE($this, $__loc) { + $this = $this | 0; + $__loc = $__loc | 0; + var $call$i = 0, $frombool = 0; + FUNCTION_TABLE_ii[HEAP32[(HEAP32[$this >> 2] | 0) + 24 >> 2] & 127]($this) | 0; + $call$i = __ZNKSt3__26locale9use_facetERNS0_2idE($__loc, 67664) | 0; + HEAP32[$this + 36 >> 2] = $call$i; + $frombool = (FUNCTION_TABLE_ii[HEAP32[(HEAP32[$call$i >> 2] | 0) + 28 >> 2] & 127]($call$i) | 0) & 1; + HEAP8[$this + 44 >> 0] = $frombool; return; } -function __ZN12_GLOBAL__N_116itanium_demangle10VectorTypeC2EPKNS0_4NodeENS0_12NodeOrStringE($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $10 = 0, $11 = 0, $5 = 0; - __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($0, 25, 1, 1, 1); - HEAP32[$0 >> 2] = 19980; - HEAP32[$0 + 8 >> 2] = $1; - $5 = $2; - $10 = HEAP32[$5 + 4 >> 2] | 0; - $11 = $0 + 12 | 0; - HEAP32[$11 >> 2] = HEAP32[$5 >> 2]; - HEAP32[$11 + 4 >> 2] = $10; +function __ZN12_GLOBAL__N_116register_integerIcEEvPKc($name) { + $name = $name | 0; + var $call = 0, $name$addr = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $name$addr = sp; + HEAP32[$name$addr >> 2] = $name; + $call = __ZN10emscripten8internal6TypeIDIcvE3getEv() | 0; + __embind_register_integer($call | 0, HEAP32[$name$addr >> 2] | 0, 1, -128 << 24 >> 24 | 0, 127 << 24 >> 24 | 0); + STACKTOP = sp; return; } -function _ar2ReadJpegImage2($0) { - $0 = $0 | 0; - var $$0 = 0, $1 = 0, $7 = 0, sp = 0; +function __ZN12_GLOBAL__N_116register_integerIaEEvPKc($name) { + $name = $name | 0; + var $call = 0, $name$addr = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $1 = _malloc(20) | 0; - if (!$1) { - _arLog(0, 3, 45930, sp); - _exit(1); - } - $7 = _jpgread($0, $1 + 8 | 0, $1 + 12 | 0, $1 + 4 | 0, $1 + 16 | 0) | 0; - HEAP32[$1 >> 2] = $7; - if (!$7) { - _free($1); - $$0 = 0; - } else $$0 = $1; + $name$addr = sp; + HEAP32[$name$addr >> 2] = $name; + $call = __ZN10emscripten8internal6TypeIDIavE3getEv() | 0; + __embind_register_integer($call | 0, HEAP32[$name$addr >> 2] | 0, 1, -128 << 24 >> 24 | 0, 127 << 24 >> 24 | 0); STACKTOP = sp; - return $$0 | 0; + return; } -function __ZN12_GLOBAL__N_116itanium_demangle9ArrayTypeC2EPKNS0_4NodeENS0_12NodeOrStringE($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $10 = 0, $11 = 0, $5 = 0; - __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($0, 14, 0, 0, 1); - HEAP32[$0 >> 2] = 19936; - HEAP32[$0 + 8 >> 2] = $1; - $5 = $2; - $10 = HEAP32[$5 + 4 >> 2] | 0; - $11 = $0 + 12 | 0; - HEAP32[$11 >> 2] = HEAP32[$5 >> 2]; - HEAP32[$11 + 4 >> 2] = $10; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_10BinaryExprEJRPNS0_4NodeERNS_10StringViewESA_EEES9_DpOT0_($this, $args, $args1, $args3) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + $args3 = $args3 | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle10BinaryExprEJRPNS2_4NodeERNS_10StringViewES6_EEEPT_DpOT0_($this + 368 | 0, $args, $args1, $args3) | 0; +} + +function _arMatrixAllocf($row, $clm) { + $row = $row | 0; + $clm = $clm | 0; + var $call = 0, $call2 = 0, $retval$0 = 0; + $call = _malloc(12) | 0; + do if ($call) { + $call2 = _malloc(Math_imul($row << 2, $clm) | 0) | 0; + HEAP32[$call >> 2] = $call2; + if (!$call2) { + _free($call); + $retval$0 = 0; + break; + } else { + HEAP32[$call + 4 >> 2] = $row; + HEAP32[$call + 8 >> 2] = $clm; + $retval$0 = $call; + break; + } + } else $retval$0 = 0; while (0); + return $retval$0 | 0; +} + +function __ZNSt3__214__split_bufferIhRNS_9allocatorIhEEE18__construct_at_endEmRKh($this, $__n, $__x) { + $this = $this | 0; + $__n = $__n | 0; + $__x = $__x | 0; + var $1 = 0, $__end_ = 0, $__n$addr$0 = 0; + $__end_ = $this + 8 | 0; + $1 = HEAP32[$__end_ >> 2] | 0; + $__n$addr$0 = $__n; + do { + HEAP8[$1 >> 0] = HEAP8[$__x >> 0] | 0; + $1 = (HEAP32[$__end_ >> 2] | 0) + 1 | 0; + HEAP32[$__end_ >> 2] = $1; + $__n$addr$0 = $__n$addr$0 + -1 | 0; + } while (($__n$addr$0 | 0) != 0); + return; +} + +function _arMatrixAlloc($row, $clm) { + $row = $row | 0; + $clm = $clm | 0; + var $call = 0, $call2 = 0, $retval$0 = 0; + $call = _malloc(12) | 0; + do if ($call) { + $call2 = _malloc(Math_imul($row << 3, $clm) | 0) | 0; + HEAP32[$call >> 2] = $call2; + if (!$call2) { + _free($call); + $retval$0 = 0; + break; + } else { + HEAP32[$call + 4 >> 2] = $row; + HEAP32[$call + 8 >> 2] = $clm; + $retval$0 = $call; + break; + } + } else $retval$0 = 0; while (0); + return $retval$0 | 0; +} + +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle13ReferenceTypeEJRPNS2_4NodeENS2_13ReferenceKindEEEEPT_DpOT0_($this, $args, $args1) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + var $call = 0; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 20) | 0; + __ZN12_GLOBAL__N_116itanium_demangle13ReferenceTypeC2EPKNS0_4NodeENS0_13ReferenceKindE($call, HEAP32[$args >> 2] | 0, HEAP32[$args1 >> 2] | 0); + return $call | 0; +} + +function __ZNSt3__210shared_ptrIN6vision8KeyframeILi96EEEED2Ev($this) { + $this = $this | 0; + var $0 = 0, $1 = 0, $__shared_owners_$i$i = 0; + $0 = HEAP32[$this + 4 >> 2] | 0; + if ($0 | 0 ? ($__shared_owners_$i$i = $0 + 4 | 0, $1 = HEAP32[$__shared_owners_$i$i >> 2] | 0, HEAP32[$__shared_owners_$i$i >> 2] = $1 + -1, ($1 | 0) == 0) : 0) { + FUNCTION_TABLE_vi[HEAP32[(HEAP32[$0 >> 2] | 0) + 8 >> 2] & 255]($0); + __ZNSt3__219__shared_weak_count14__release_weakEv($0); + } return; } -function __ZN12_GLOBAL__N_116itanium_demangle12InitListExprC2EPKNS0_4NodeENS0_9NodeArrayE($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $10 = 0, $11 = 0, $5 = 0; - __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($0, 56, 1, 1, 1); - HEAP32[$0 >> 2] = 18308; - HEAP32[$0 + 8 >> 2] = $1; - $5 = $2; - $10 = HEAP32[$5 + 4 >> 2] | 0; - $11 = $0 + 12 | 0; - HEAP32[$11 >> 2] = HEAP32[$5 >> 2]; - HEAP32[$11 + 4 >> 2] = $10; +function __ZNSt3__214__split_bufferIN6vision12FeaturePointERNS_9allocatorIS2_EEE18__construct_at_endEm($this, $__n) { + $this = $this | 0; + $__n = $__n | 0; + var $0 = 0, $__end_ = 0, $__n$addr$0 = 0; + $__end_ = $this + 8 | 0; + $0 = HEAP32[$__end_ >> 2] | 0; + $__n$addr$0 = $__n; + do { + __ZN6vision12FeaturePointC2Ev($0); + $0 = (HEAP32[$__end_ >> 2] | 0) + 20 | 0; + HEAP32[$__end_ >> 2] = $0; + $__n$addr$0 = $__n$addr$0 + -1 | 0; + } while (($__n$addr$0 | 0) != 0); return; } -function __ZN12_GLOBAL__N_116itanium_demangle11PostfixExprC2EPKNS0_4NodeENS_10StringViewE($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $10 = 0, $11 = 0, $5 = 0; - __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($0, 44, 1, 1, 1); - HEAP32[$0 >> 2] = 18660; - HEAP32[$0 + 8 >> 2] = $1; - $5 = $2; - $10 = HEAP32[$5 + 4 >> 2] | 0; - $11 = $0 + 12 | 0; - HEAP32[$11 >> 2] = HEAP32[$5 >> 2]; - HEAP32[$11 + 4 >> 2] = $10; +function __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_($xp, $H, $x) { + $xp = $xp | 0; + $H = $H | 0; + $x = $x | 0; + var $arrayidx3 = 0; + $arrayidx3 = $x + 4 | 0; + HEAPF32[$xp >> 2] = +HEAPF32[$H + 8 >> 2] + (+HEAPF32[$H >> 2] * +HEAPF32[$x >> 2] + +HEAPF32[$H + 4 >> 2] * +HEAPF32[$arrayidx3 >> 2]); + HEAPF32[$xp + 4 >> 2] = +HEAPF32[$H + 20 >> 2] + (+HEAPF32[$H + 12 >> 2] * +HEAPF32[$x >> 2] + +HEAPF32[$H + 16 >> 2] * +HEAPF32[$arrayidx3 >> 2]); return; } -function __ZNSt3__26vectorIN6vision7Point3dIfEENS_9allocatorIS3_EEE18__construct_at_endIPS3_EENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESA_SA_m($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $4 = 0, $7 = 0; - $4 = $0 + 4 | 0; - $7 = $2 - $1 | 0; - if (($7 | 0) > 0) { - _memcpy(HEAP32[$4 >> 2] | 0, $1 | 0, $7 | 0) | 0; - HEAP32[$4 >> 2] = (HEAP32[$4 >> 2] | 0) + ((($7 >>> 0) / 12 | 0) * 12 | 0); +function _arVecInnerproduct($x, $y) { + $x = $x | 0; + $y = $y | 0; + var $0 = 0, $add = 0.0, $i$0 = 0, $result$0 = 0.0; + $0 = HEAP32[$x + 4 >> 2] | 0; + if (($0 | 0) != (HEAP32[$y + 4 >> 2] | 0)) _exit(0); + $i$0 = 0; + $result$0 = 0.0; + while (1) { + if (($i$0 | 0) >= ($0 | 0)) break; + $add = $result$0 + +HEAPF64[(HEAP32[$x >> 2] | 0) + ($i$0 << 3) >> 3] * +HEAPF64[(HEAP32[$y >> 2] | 0) + ($i$0 << 3) >> 3]; + $i$0 = $i$0 + 1 | 0; + $result$0 = $add; + } + return +$result$0; +} + +function __ZNSt3__26vectorIhNS_9allocatorIhEEE11__vallocateEm($this, $__n) { + $this = $this | 0; + $__n = $__n | 0; + var $call$i$i$i = 0; + if ((__ZNKSt3__26vectorIhNS_9allocatorIhEEE8max_sizeEv($this) | 0) >>> 0 < $__n >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv($this); else { + $call$i$i$i = __Znwm($__n) | 0; + HEAP32[$this + 4 >> 2] = $call$i$i$i; + HEAP32[$this >> 2] = $call$i$i$i; + HEAP32[$this + 8 >> 2] = $call$i$i$i + $__n; + return; } +} + +function __ZNK10__cxxabiv117__class_type_info27has_unambiguous_public_baseEPNS_19__dynamic_cast_infoEPvi($this, $info, $adjustedPtr, $path_below) { + $this = $this | 0; + $info = $info | 0; + $adjustedPtr = $adjustedPtr | 0; + $path_below = $path_below | 0; + if (__ZL8is_equalPKSt9type_infoS1_b($this, HEAP32[$info + 8 >> 2] | 0, 0) | 0) __ZNK10__cxxabiv117__class_type_info24process_found_base_classEPNS_19__dynamic_cast_infoEPvi(0, $info, $adjustedPtr, $path_below); return; } -function __ZNKSt3__25ctypeIwE10do_toupperEPwPKw($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$0 = 0, $10 = 0, $4 = 0, $6 = 0; - $$0 = $1; - while (1) { - if (($$0 | 0) == ($2 | 0)) break; - $4 = HEAP32[$$0 >> 2] | 0; - if ($4 >>> 0 < 128) { - $6 = __ZNSt3__25ctypeIcE21__classic_upper_tableEv() | 0; - $10 = HEAP32[$6 + (HEAP32[$$0 >> 2] << 2) >> 2] | 0; - } else $10 = $4; - HEAP32[$$0 >> 2] = $10; - $$0 = $$0 + 4 | 0; +function _arUtilGetPixelSize($arPixelFormat) { + $arPixelFormat = $arPixelFormat | 0; + var $retval$0 = 0; + switch ($arPixelFormat | 0) { + case 1: + case 0: + { + $retval$0 = 3; + break; + } + case 6: + case 4: + case 3: + case 2: + { + $retval$0 = 4; + break; + } + case 14: + case 13: + case 12: + case 5: + { + $retval$0 = 1; + break; + } + case 11: + case 10: + case 9: + case 8: + case 7: + { + $retval$0 = 2; + break; + } + default: + $retval$0 = 0; } - return $2 | 0; + return $retval$0 | 0; } -function __ZNKSt3__25ctypeIwE10do_tolowerEPwPKw($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$0 = 0, $10 = 0, $4 = 0, $6 = 0; - $$0 = $1; - while (1) { - if (($$0 | 0) == ($2 | 0)) break; - $4 = HEAP32[$$0 >> 2] | 0; - if ($4 >>> 0 < 128) { - $6 = __ZNSt3__25ctypeIcE21__classic_lower_tableEv() | 0; - $10 = HEAP32[$6 + (HEAP32[$$0 >> 2] << 2) >> 2] | 0; - } else $10 = $4; - HEAP32[$$0 >> 2] = $10; - $$0 = $$0 + 4 | 0; +function _ar2GetVectorAngle($p1, $p2, $psinf, $pcosf) { + $p1 = $p1 | 0; + $p2 = $p2 | 0; + $psinf = $psinf | 0; + $pcosf = $pcosf | 0; + var $4 = 0.0, $sub = 0.0, $sub7 = 0.0; + $sub = +HEAPF32[$p2 >> 2] - +HEAPF32[$p1 >> 2]; + $sub7 = +HEAPF32[$p2 + 4 >> 2] - +HEAPF32[$p1 + 4 >> 2]; + $4 = +Math_sqrt(+($sub * $sub + $sub7 * $sub7)); + if (!($4 == 0.0)) { + HEAPF32[$psinf >> 2] = $sub7 / $4; + HEAPF32[$pcosf >> 2] = (+HEAPF32[$p2 >> 2] - +HEAPF32[$p1 >> 2]) / $4; } - return $2 | 0; + return; } -function __ZN6vision9MaxIndex6IfEEiPKT_($0) { - $0 = $0 | 0; - var $$0 = 0, $$1 = 0, $$2 = 0, $$3 = 0; - $$0 = +HEAPF32[$0 + 4 >> 2] > +HEAPF32[$0 >> 2] & 1; - $$1 = +HEAPF32[$0 + 8 >> 2] > +HEAPF32[$0 + ($$0 << 2) >> 2] ? 2 : $$0; - $$2 = +HEAPF32[$0 + 12 >> 2] > +HEAPF32[$0 + ($$1 << 2) >> 2] ? 3 : $$1; - $$3 = +HEAPF32[$0 + 16 >> 2] > +HEAPF32[$0 + ($$2 << 2) >> 2] ? 4 : $$2; - return (+HEAPF32[$0 + 20 >> 2] > +HEAPF32[$0 + ($$3 << 2) >> 2] ? 5 : $$3) | 0; +function __ZN12_GLOBAL__N_116itanium_demangle12CtorDtorNameC2EPKNS0_4NodeEbi($this, $Basename_, $IsDtor_, $Variant_) { + $this = $this | 0; + $Basename_ = $Basename_ | 0; + $IsDtor_ = $IsDtor_ | 0; + $Variant_ = $Variant_ | 0; + __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($this, 37, 1, 1, 1); + HEAP32[$this >> 2] = 19760; + HEAP32[$this + 8 >> 2] = $Basename_; + HEAP8[$this + 12 >> 0] = $IsDtor_ & 1; + HEAP32[$this + 16 >> 2] = $Variant_; + return; +} + +function _arDeleteHandle($handle) { + $handle = $handle | 0; + var $0 = 0, $arImageProcInfo = 0, $retval$0 = 0; + if (!$handle) $retval$0 = -1; else { + $arImageProcInfo = $handle + 7062408 | 0; + $0 = HEAP32[$arImageProcInfo >> 2] | 0; + if ($0 | 0) { + _arImageProcFinal($0); + HEAP32[$arImageProcInfo >> 2] = 0; + } + _free(HEAP32[$handle + 4834144 >> 2] | 0); + _free(HEAP32[$handle + 4834148 >> 2] | 0); + _free($handle); + $retval$0 = 0; + } + return $retval$0 | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle11SpecialNameC2ENS_10StringViewEPKNS0_4NodeE($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $10 = 0, $4 = 0, $9 = 0; - __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($0, 20, 1, 1, 1); - HEAP32[$0 >> 2] = 20332; - $4 = $1; - $9 = HEAP32[$4 + 4 >> 2] | 0; - $10 = $0 + 8 | 0; - HEAP32[$10 >> 2] = HEAP32[$4 >> 2]; - HEAP32[$10 + 4 >> 2] = $9; - HEAP32[$0 + 16 >> 2] = $2; +function __ZNSt3__26vectorIN6vision17PriorityQueueItemILi96EEENS_9allocatorIS3_EEEC2Em($this, $__n) { + $this = $this | 0; + $__n = $__n | 0; + HEAP32[$this >> 2] = 0; + HEAP32[$this + 4 >> 2] = 0; + HEAP32[$this + 8 >> 2] = 0; + if ($__n | 0) { + __ZNSt3__26vectorIN6vision17PriorityQueueItemILi96EEENS_9allocatorIS3_EEE11__vallocateEm($this, $__n); + __ZNSt3__26vectorIN6vision17PriorityQueueItemILi96EEENS_9allocatorIS3_EEE18__construct_at_endEm($this, $__n); + } return; } -function __ZN10emscripten8internal7InvokerIiJEE6invokeEPFivE($fn) { - $fn = $fn | 0; - var $call = 0, $call1 = 0, $ref$tmp = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $ref$tmp = sp; - $call = FUNCTION_TABLE_i[$fn & 1]() | 0; - HEAP32[$ref$tmp >> 2] = $call; - $call1 = __ZN10emscripten8internal11BindingTypeIivE10toWireTypeERKi($ref$tmp) | 0; - STACKTOP = sp; - return $call1 | 0; +function __ZNSt3__214__split_bufferIPNS_6locale5facetERNS_15__sso_allocatorIS3_Lm28EEEE18__construct_at_endEm($this, $__n) { + $this = $this | 0; + $__n = $__n | 0; + var $0 = 0, $__end_ = 0, $__n$addr$0 = 0; + $__end_ = $this + 8 | 0; + $0 = HEAP32[$__end_ >> 2] | 0; + $__n$addr$0 = $__n; + do { + HEAP32[$0 >> 2] = 0; + $0 = (HEAP32[$__end_ >> 2] | 0) + 4 | 0; + HEAP32[$__end_ >> 2] = $0; + $__n$addr$0 = $__n$addr$0 + -1 | 0; + } while (($__n$addr$0 | 0) != 0); + return; } -function __ZN12_GLOBAL__N_116itanium_demangle9DotSuffixC2EPKNS0_4NodeENS_10StringViewE($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $10 = 0, $11 = 0, $5 = 0; - __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($0, 1, 1, 1, 1); - HEAP32[$0 >> 2] = 20376; - HEAP32[$0 + 8 >> 2] = $1; - $5 = $2; - $10 = HEAP32[$5 + 4 >> 2] | 0; - $11 = $0 + 12 | 0; - HEAP32[$11 >> 2] = HEAP32[$5 >> 2]; - HEAP32[$11 + 4 >> 2] = $10; +function __ZNSt3__213__vector_baseIPNS_6locale5facetENS_15__sso_allocatorIS3_Lm28EEEED2Ev($this) { + $this = $this | 0; + var $0 = 0, $1 = 0; + $0 = HEAP32[$this >> 2] | 0; + $1 = $0; + do if ($0 | 0) { + HEAP32[$this + 4 >> 2] = $1; + if (($0 | 0) == ($this + 16 | 0)) { + HEAP8[$this + 128 >> 0] = 0; + break; + } else { + __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($0, (HEAP32[$this + 8 >> 2] | 0) - $1 | 0); + break; + } + } while (0); return; } -function __ZN12_GLOBAL__N_116itanium_demangle8CallExprC2EPKNS0_4NodeENS0_9NodeArrayE($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $10 = 0, $11 = 0, $5 = 0; - __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($0, 50, 1, 1, 1); - HEAP32[$0 >> 2] = 19232; - HEAP32[$0 + 8 >> 2] = $1; - $5 = $2; - $10 = HEAP32[$5 + 4 >> 2] | 0; - $11 = $0 + 12 | 0; - HEAP32[$11 >> 2] = HEAP32[$5 >> 2]; - HEAP32[$11 + 4 >> 2] = $10; +function __ZNSt3__26vectorIN6vision12FeaturePointENS_9allocatorIS2_EEE18__construct_at_endEm($this, $__n) { + $this = $this | 0; + $__n = $__n | 0; + var $0 = 0, $__end_ = 0, $__n$addr$0 = 0; + $__end_ = $this + 4 | 0; + $0 = HEAP32[$__end_ >> 2] | 0; + $__n$addr$0 = $__n; + do { + __ZN6vision12FeaturePointC2Ev($0); + $0 = (HEAP32[$__end_ >> 2] | 0) + 20 | 0; + HEAP32[$__end_ >> 2] = $0; + $__n$addr$0 = $__n$addr$0 + -1 | 0; + } while (($__n$addr$0 | 0) != 0); return; } -function __ZN12_GLOBAL__N_116itanium_demangle10PrefixExprC2ENS_10StringViewEPNS0_4NodeE($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $10 = 0, $4 = 0, $9 = 0; - __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($0, 53, 1, 1, 1); - HEAP32[$0 >> 2] = 19276; - $4 = $1; - $9 = HEAP32[$4 + 4 >> 2] | 0; - $10 = $0 + 8 | 0; - HEAP32[$10 >> 2] = HEAP32[$4 >> 2]; - HEAP32[$10 + 4 >> 2] = $9; - HEAP32[$0 + 16 >> 2] = $2; +function __ZN12_GLOBAL__N_116register_integerIlEEvPKc($name) { + $name = $name | 0; + var $call = 0, $name$addr = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $name$addr = sp; + HEAP32[$name$addr >> 2] = $name; + $call = __ZN10emscripten8internal6TypeIDIlvE3getEv() | 0; + __embind_register_integer($call | 0, HEAP32[$name$addr >> 2] | 0, 4, -2147483648, 2147483647); + STACKTOP = sp; return; } -function _output_message($0) { - $0 = $0 | 0; - var $1 = 0, $5 = 0, $vararg_buffer = 0, sp = 0; +function __ZN12_GLOBAL__N_116register_integerIiEEvPKc($name) { + $name = $name | 0; + var $call = 0, $name$addr = 0, sp = 0; sp = STACKTOP; - STACKTOP = STACKTOP + 208 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(208); - $vararg_buffer = sp + 200 | 0; - $1 = sp; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$0 >> 2] | 0) + 12 >> 2] & 255]($0, $1); - $5 = HEAP32[4271] | 0; - HEAP32[$vararg_buffer >> 2] = $1; - _fprintf($5, 50727, $vararg_buffer) | 0; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $name$addr = sp; + HEAP32[$name$addr >> 2] = $name; + $call = __ZN10emscripten8internal6TypeIDIivE3getEv() | 0; + __embind_register_integer($call | 0, HEAP32[$name$addr >> 2] | 0, 4, -2147483648, 2147483647); STACKTOP = sp; return; } -function __ZNSt3__28numpunctIwEC2Em($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0$i$i = 0, $6 = 0; - HEAP32[$0 + 4 >> 2] = $1 + -1; - HEAP32[$0 >> 2] = 23400; - HEAP32[$0 + 8 >> 2] = 46; - HEAP32[$0 + 12 >> 2] = 44; - $6 = $0 + 16 | 0; - HEAP32[$6 >> 2] = 0; - HEAP32[$6 + 4 >> 2] = 0; - HEAP32[$6 + 8 >> 2] = 0; - $$0$i$i = 0; - while (1) { - if (($$0$i$i | 0) == 3) break; - HEAP32[$6 + ($$0$i$i << 2) >> 2] = 0; - $$0$i$i = $$0$i$i + 1 | 0; - } - return; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_15ConditionalExprEJRPNS0_4NodeESA_SA_EEES9_DpOT0_($this, $args, $args1, $args3) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + $args3 = $args3 | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle15ConditionalExprEJRPNS2_4NodeES6_S6_EEEPT_DpOT0_($this + 368 | 0, $args, $args1, $args3) | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8FoldExprEJRbRNS_10StringViewERPNS0_4NodeESD_EEESC_DpOT0_($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8FoldExprEJRbRNS_10StringViewERPNS2_4NodeES9_EEEPT_DpOT0_($0 + 368 | 0, $1, $2, $3, $4) | 0; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_15ClosureTypeNameEJRNS0_9NodeArrayERNS_10StringViewEEEEPNS0_4NodeEDpOT0_($this, $args, $args1) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle15ClosureTypeNameEJRNS2_9NodeArrayERNS_10StringViewEEEEPT_DpOT0_($this + 368 | 0, $args, $args1) | 0; } -function __ZN6vision12ArrayShuffleIiEEvPT_iiRi($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $$0 = 0, $7 = 0, $8 = 0, $9 = 0; - $$0 = 0; - while (1) { - if (($$0 | 0) >= ($2 | 0)) break; - $7 = $0 + ($$0 << 2) | 0; - $8 = $0 + (((__ZN6vision10FastRandomERi($3) | 0) % ($1 | 0) | 0) << 2) | 0; - $9 = HEAP32[$7 >> 2] | 0; - HEAP32[$7 >> 2] = HEAP32[$8 >> 2]; - HEAP32[$8 >> 2] = $9; - $$0 = $$0 + 1 | 0; - } - return; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_15BracedRangeExprEJRPNS0_4NodeESA_SA_EEES9_DpOT0_($this, $args, $args1, $args3) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + $args3 = $args3 | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle15BracedRangeExprEJRPNS2_4NodeES6_S6_EEEPT_DpOT0_($this + 368 | 0, $args, $args1, $args3) | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9NameStateC2EPS5_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $7 = 0; - HEAP8[$0 >> 0] = 0; - HEAP8[$0 + 1 >> 0] = 0; - HEAP32[$0 + 4 >> 2] = 0; - HEAP8[$0 + 8 >> 0] = 0; - $7 = __ZNK12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_24ForwardTemplateReferenceELm4EE4sizeEv($1 + 332 | 0) | 0; - HEAP32[$0 + 12 >> 2] = $7; +function __ZNKSt3__27collateIwE12do_transformEPKwS3_($agg$result, $this, $__lo, $__hi) { + $agg$result = $agg$result | 0; + $this = $this | 0; + $__lo = $__lo | 0; + $__hi = $__hi | 0; + HEAP32[$agg$result >> 2] = 0; + HEAP32[$agg$result + 4 >> 2] = 0; + HEAP32[$agg$result + 8 >> 2] = 0; + __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6__initIPKwEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESA_SA_($agg$result, $__lo, $__hi); return; } -function __ZNSt3__26vectorIPNS_6locale5facetENS_15__sso_allocatorIS3_Lm28EEEEC2Em($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - HEAP32[$0 >> 2] = 0; - HEAP32[$0 + 4 >> 2] = 0; - HEAP32[$0 + 8 >> 2] = 0; - HEAP8[$0 + 128 >> 0] = 0; - if ($1 | 0) { - __ZNSt3__26vectorIPNS_6locale5facetENS_15__sso_allocatorIS3_Lm28EEEE11__vallocateEm($0, $1); - __ZNSt3__26vectorIPNS_6locale5facetENS_15__sso_allocatorIS3_Lm28EEEE18__construct_at_endEm($0, $1); - } +function __ZNKSt3__27collateIcE12do_transformEPKcS3_($agg$result, $this, $__lo, $__hi) { + $agg$result = $agg$result | 0; + $this = $this | 0; + $__lo = $__lo | 0; + $__hi = $__hi | 0; + HEAP32[$agg$result >> 2] = 0; + HEAP32[$agg$result + 4 >> 2] = 0; + HEAP32[$agg$result + 8 >> 2] = 0; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initIPKcEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESA_SA_($agg$result, $__lo, $__hi); return; } -function _arVecInnerproduct($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $$013 = 0.0, $15 = 0.0, $3 = 0; - $3 = HEAP32[$0 + 4 >> 2] | 0; - if (($3 | 0) != (HEAP32[$1 + 4 >> 2] | 0)) _exit(0); - $$0 = 0; - $$013 = 0.0; - while (1) { - if (($$0 | 0) >= ($3 | 0)) break; - $15 = $$013 + +HEAPF64[(HEAP32[$0 >> 2] | 0) + ($$0 << 3) >> 3] * +HEAPF64[(HEAP32[$1 >> 2] | 0) + ($$0 << 3) >> 3]; - $$0 = $$0 + 1 | 0; - $$013 = $15; - } - return +$$013; +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8QualTypeEJRPNS2_4NodeERNS2_10QualifiersEEEEPT_DpOT0_($this, $args, $args1) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + var $call = 0; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 16) | 0; + __ZN12_GLOBAL__N_116itanium_demangle8QualTypeC2EPKNS0_4NodeENS0_10QualifiersE($call, HEAP32[$args >> 2] | 0, HEAP32[$args1 >> 2] | 0); + return $call | 0; } -function __ZNSt3__28numpunctIcEC2Em($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0$i$i = 0, $6 = 0; - HEAP32[$0 + 4 >> 2] = $1 + -1; - HEAP32[$0 >> 2] = 23360; - HEAP8[$0 + 8 >> 0] = 46; - HEAP8[$0 + 9 >> 0] = 44; - $6 = $0 + 12 | 0; - HEAP32[$6 >> 2] = 0; - HEAP32[$6 + 4 >> 2] = 0; - HEAP32[$6 + 8 >> 2] = 0; - $$0$i$i = 0; - while (1) { - if (($$0$i$i | 0) == 3) break; - HEAP32[$6 + ($$0$i$i << 2) >> 2] = 0; - $$0$i$i = $$0$i$i + 1 | 0; +function ___ftello($f) { + $f = $f | 0; + var $1 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $phitmp = 0; + if ((HEAP32[$f + 76 >> 2] | 0) > -1) { + $phitmp = (___lockfile($f) | 0) == 0; + $3 = ___ftello_unlocked($f) | 0; + $4 = getTempRet0() | 0; + if ($phitmp) { + $5 = $4; + $6 = $3; + } else { + ___unlockfile($f); + $5 = $4; + $6 = $3; + } + } else { + $1 = ___ftello_unlocked($f) | 0; + $5 = getTempRet0() | 0; + $6 = $1; } - return; + setTempRet0($5 | 0); + return $6 | 0; } -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle15ConditionalExprEJRPNS2_4NodeES6_S6_EEEPT_DpOT0_($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $4 = 0; - $4 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 20) | 0; - __ZN12_GLOBAL__N_116itanium_demangle15ConditionalExprC2EPKNS0_4NodeES4_S4_($4, HEAP32[$1 >> 2] | 0, HEAP32[$2 >> 2] | 0, HEAP32[$3 >> 2] | 0); - return $4 | 0; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_22ElaboratedTypeSpefTypeEJRNS_10StringViewERPNS0_4NodeEEEESB_DpOT0_($this, $args, $args1) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle22ElaboratedTypeSpefTypeEJRNS_10StringViewERPNS2_4NodeEEEEPT_DpOT0_($this + 368 | 0, $args, $args1) | 0; } -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle15BracedRangeExprEJRPNS2_4NodeES6_S6_EEEPT_DpOT0_($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $4 = 0; - $4 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 20) | 0; - __ZN12_GLOBAL__N_116itanium_demangle15BracedRangeExprC2EPKNS0_4NodeES4_S4_($4, HEAP32[$1 >> 2] | 0, HEAP32[$2 >> 2] | 0, HEAP32[$3 >> 2] | 0); - return $4 | 0; +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle21CtorVtableSpecialNameEJRPNS2_4NodeES6_EEEPT_DpOT0_($this, $args, $args1) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + var $call = 0; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 16) | 0; + __ZN12_GLOBAL__N_116itanium_demangle21CtorVtableSpecialNameC2EPKNS0_4NodeES4_($call, HEAP32[$args >> 2] | 0, HEAP32[$args1 >> 2] | 0); + return $call | 0; } -function __ZNSt3__213__vector_baseIPNS_6locale5facetENS_15__sso_allocatorIS3_Lm28EEEED2Ev($0) { - $0 = $0 | 0; - var $1 = 0, $3 = 0; - $1 = HEAP32[$0 >> 2] | 0; - $3 = $1; - do if ($1 | 0) { - HEAP32[$0 + 4 >> 2] = $3; - if (($1 | 0) == ($0 + 16 | 0)) { - HEAP8[$0 + 128 >> 0] = 0; - break; - } else { - __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($1, (HEAP32[$0 + 8 >> 2] | 0) - $3 | 0); - break; - } - } while (0); +function __ZN12_GLOBAL__N_116itanium_demangle8QualTypeC2EPKNS0_4NodeENS0_10QualifiersE($this, $Child_, $Quals_) { + $this = $this | 0; + $Child_ = $Child_ | 0; + $Quals_ = $Quals_ | 0; + __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($this, 3, HEAP8[$Child_ + 5 >> 0] | 0, HEAP8[$Child_ + 6 >> 0] | 0, HEAP8[$Child_ + 7 >> 0] | 0); + HEAP32[$this >> 2] = 20068; + HEAP32[$this + 8 >> 2] = $Quals_; + HEAP32[$this + 12 >> 2] = $Child_; return; } -function __ZNKSt3__25ctypeIwE9do_narrowEPKwS3_cPc($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $$0 = 0, $$09 = 0, $10 = 0, $8 = 0; - $8 = ($2 - $1 | 0) >>> 2; - $$0 = $4; - $$09 = $1; - while (1) { - if (($$09 | 0) == ($2 | 0)) break; - $10 = HEAP32[$$09 >> 2] | 0; - HEAP8[$$0 >> 0] = $10 >>> 0 < 128 ? $10 & 255 : $3; - $$0 = $$0 + 1 | 0; - $$09 = $$09 + 4 | 0; - } - return $1 + ($8 << 2) | 0; +function __ZN10emscripten8internal11BindingTypeINSt3__212basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEvE12fromWireTypeEPNS9_Ut_E($agg$result, $v) { + $agg$result = $agg$result | 0; + $v = $v | 0; + var $0 = 0; + $0 = HEAP32[$v >> 2] | 0; + HEAP32[$agg$result >> 2] = 0; + HEAP32[$agg$result + 4 >> 2] = 0; + HEAP32[$agg$result + 8 >> 2] = 0; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm($agg$result, $v + 4 | 0, $0); + return; } -function ___muldsi3($a, $b) { - $a = $a | 0; - $b = $b | 0; - var $1 = 0, $2 = 0, $3 = 0, $6 = 0, $8 = 0, $11 = 0, $12 = 0; - $1 = $a & 65535; - $2 = $b & 65535; - $3 = Math_imul($2, $1) | 0; - $6 = $a >>> 16; - $8 = ($3 >>> 16) + (Math_imul($2, $6) | 0) | 0; - $11 = $b >>> 16; - $12 = Math_imul($11, $1) | 0; - return (setTempRet0(($8 >>> 16) + (Math_imul($11, $6) | 0) + ((($8 & 65535) + $12 | 0) >>> 16) | 0), $8 + $12 << 16 | $3 & 65535 | 0) | 0; +function _jpeg_std_error($err) { + $err = $err | 0; + HEAP32[$err >> 2] = 209; + HEAP32[$err + 4 >> 2] = 139; + HEAP32[$err + 8 >> 2] = 210; + HEAP32[$err + 12 >> 2] = 140; + HEAP32[$err + 16 >> 2] = 211; + HEAP32[$err + 104 >> 2] = 0; + HEAP32[$err + 108 >> 2] = 0; + HEAP32[$err + 20 >> 2] = 0; + HEAP32[$err + 112 >> 2] = 3824; + HEAP32[$err + 116 >> 2] = 126; + HEAP32[$err + 120 >> 2] = 0; + HEAP32[$err + 124 >> 2] = 0; + HEAP32[$err + 128 >> 2] = 0; + return $err | 0; } -function __ZNSt3__26vectorIN6vision7Point3dIfEENS_9allocatorIS3_EEE13__vdeallocateEv($0) { - $0 = $0 | 0; - var $1 = 0, $3 = 0, $4 = 0, $5 = 0; - $1 = HEAP32[$0 >> 2] | 0; - $3 = $1; - if ($1 | 0) { - $4 = $0 + 4 | 0; - HEAP32[$4 >> 2] = $3; - $5 = $0 + 8 | 0; - __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($1, (HEAP32[$5 >> 2] | 0) - $3 | 0); - HEAP32[$5 >> 2] = 0; - HEAP32[$4 >> 2] = 0; - HEAP32[$0 >> 2] = 0; - } - return; +function _ar2CreateHandleMod($cparamLT, $pixFormat) { + $cparamLT = $cparamLT | 0; + $pixFormat = $pixFormat | 0; + var $call = 0, $call4 = 0; + $call = _ar2CreateHandleSubMod($pixFormat, HEAP32[$cparamLT >> 2] | 0, HEAP32[$cparamLT + 4 >> 2] | 0) | 0; + HEAP32[$call >> 2] = 1; + HEAP32[$call + 12 >> 2] = $cparamLT; + $call4 = _icpCreateHandle($cparamLT + 8 | 0) | 0; + HEAP32[$call + 16 >> 2] = $call4; + _icpSetInlierProbability($call4, 0.0) | 0; + return $call | 0; } -function __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $8 = 0; - $8 = $2 + 4 | 0; - HEAPF32[$0 >> 2] = +HEAPF32[$1 + 8 >> 2] + (+HEAPF32[$1 >> 2] * +HEAPF32[$2 >> 2] + +HEAPF32[$1 + 4 >> 2] * +HEAPF32[$8 >> 2]); - HEAPF32[$0 + 4 >> 2] = +HEAPF32[$1 + 20 >> 2] + (+HEAPF32[$1 + 12 >> 2] * +HEAPF32[$2 >> 2] + +HEAPF32[$1 + 16 >> 2] * +HEAPF32[$8 >> 2]); - return; +function __ZN6vision22SampleReceptorBilinearERKNS_5ImageEff($image, $x, $y) { + $image = $image | 0; + $x = +$x; + $y = +$y; + var $call1 = 0.0; + $call1 = +__ZN6vision10ClipScalarIfEET_S1_S1_S1_($x, 0.0, +(((__ZNK6vision5Image5widthEv($image) | 0) + -2 | 0) >>> 0)); + return +(+__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff($image, $call1, +__ZN6vision10ClipScalarIfEET_S1_S1_S1_($y, 0.0, +(((__ZNK6vision5Image6heightEv($image) | 0) + -2 | 0) >>> 0)))); } -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle10DeleteExprEJRPNS2_4NodeERbbEEEPT_DpOT0_($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $4 = 0; - $4 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 16) | 0; - __ZN12_GLOBAL__N_116itanium_demangle10DeleteExprC2EPNS0_4NodeEbb($4, HEAP32[$1 >> 2] | 0, (HEAP8[$2 >> 0] | 0) != 0, (HEAP8[$3 >> 0] | 0) != 0); - return $4 | 0; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_10MemberExprEJRPNS0_4NodeERA3_KcSA_EEES9_DpOT0_($this, $args, $args1, $args3) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + $args3 = $args3 | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle10MemberExprEJRPNS2_4NodeERA3_KcS6_EEEPT_DpOT0_($this + 368 | 0, $args, $args1, $args3) | 0; } -function ___cxa_can_catch($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0, $8 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $3 = sp; - HEAP32[$3 >> 2] = HEAP32[$2 >> 2]; - $8 = FUNCTION_TABLE_iiii[HEAP32[(HEAP32[$0 >> 2] | 0) + 16 >> 2] & 63]($0, $1, $3) | 0; - if ($8) HEAP32[$2 >> 2] = HEAP32[$3 >> 2]; - STACKTOP = sp; - return $8 & 1 | 0; +function __ZNSt3__214__split_bufferIN6vision5ImageERNS_9allocatorIS2_EEE18__construct_at_endEm($this, $__n) { + $this = $this | 0; + $__n = $__n | 0; + var $0 = 0, $__end_ = 0, $__n$addr$0 = 0; + $__end_ = $this + 8 | 0; + $0 = HEAP32[$__end_ >> 2] | 0; + $__n$addr$0 = $__n; + do { + __ZN6vision5ImageC2Ev($0); + $0 = (HEAP32[$__end_ >> 2] | 0) + 32 | 0; + HEAP32[$__end_ >> 2] = $0; + $__n$addr$0 = $__n$addr$0 + -1 | 0; + } while (($__n$addr$0 | 0) != 0); + return; } -function __ZN6vision18VisualDatabaseImplD2Ev($0) { - $0 = $0 | 0; - var $2 = 0; - __ZNSt3__213unordered_mapIiNS_6vectorIN6vision7Point3dIfEENS_9allocatorIS4_EEEENS_4hashIiEENS_8equal_toIiEENS5_INS_4pairIKiS7_EEEEED2Ev($0 + 4 | 0); - $2 = HEAP32[$0 >> 2] | 0; - HEAP32[$0 >> 2] = 0; - if ($2 | 0) { - __ZN6vision14VisualDatabaseINS_14FREAKExtractorENS_18BinaryFeatureStoreENS_20BinaryFeatureMatcherILi96EEEED2Ev($2); - __ZdlPv($2); - } - return; +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle20NameWithTemplateArgsEJRPNS2_4NodeES6_EEEPT_DpOT0_($this, $args, $args1) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + var $call = 0; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 16) | 0; + __ZN12_GLOBAL__N_116itanium_demangle20NameWithTemplateArgsC2EPNS0_4NodeES3_($call, HEAP32[$args >> 2] | 0, HEAP32[$args1 >> 2] | 0); + return $call | 0; } -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle12CtorDtorNameEJRPNS2_4NodeEbRiEEEPT_DpOT0_($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $4 = 0; - $4 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 20) | 0; - __ZN12_GLOBAL__N_116itanium_demangle12CtorDtorNameC2EPKNS0_4NodeEbi($4, HEAP32[$1 >> 2] | 0, (HEAP8[$2 >> 0] | 0) != 0, HEAP32[$3 >> 2] | 0); - return $4 | 0; +function __ZNSt3__26vectorIN6vision7Point2dIfEENS_9allocatorIS3_EEE18__construct_at_endEm($this, $__n) { + $this = $this | 0; + $__n = $__n | 0; + var $0 = 0, $__end_ = 0, $__n$addr$0 = 0; + $__end_ = $this + 4 | 0; + $0 = HEAP32[$__end_ >> 2] | 0; + $__n$addr$0 = $__n; + do { + __ZN6vision7Point2dIfEC2Ev($0); + $0 = (HEAP32[$__end_ >> 2] | 0) + 8 | 0; + HEAP32[$__end_ >> 2] = $0; + $__n$addr$0 = $__n$addr$0 + -1 | 0; + } while (($__n$addr$0 | 0) != 0); + return; } -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle10BracedExprEJRPNS2_4NodeES6_bEEEPT_DpOT0_($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $4 = 0; - $4 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 20) | 0; - __ZN12_GLOBAL__N_116itanium_demangle10BracedExprC2EPKNS0_4NodeES4_b($4, HEAP32[$1 >> 2] | 0, HEAP32[$2 >> 2] | 0, (HEAP8[$3 >> 0] | 0) != 0); - return $4 | 0; +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle19PointerToMemberTypeEJRPNS2_4NodeES6_EEEPT_DpOT0_($this, $args, $args1) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + var $call = 0; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 16) | 0; + __ZN12_GLOBAL__N_116itanium_demangle19PointerToMemberTypeC2EPKNS0_4NodeES4_($call, HEAP32[$args >> 2] | 0, HEAP32[$args1 >> 2] | 0); + return $call | 0; } -function _shl($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $10 = 0, $3 = 0, $5 = 0, $7 = 0; - $3 = $0 + 4 | 0; - if ($1 >>> 0 > 31) { - $5 = HEAP32[$0 >> 2] | 0; - HEAP32[$3 >> 2] = $5; +function __ZNSt3__26vectorIPNS_6locale5facetENS_15__sso_allocatorIS3_Lm28EEEE18__construct_at_endEm($this, $__n) { + $this = $this | 0; + $__n = $__n | 0; + var $0 = 0, $__end_ = 0, $__n$addr$0 = 0; + $__end_ = $this + 4 | 0; + $0 = HEAP32[$__end_ >> 2] | 0; + $__n$addr$0 = $__n; + do { HEAP32[$0 >> 2] = 0; - $$0 = $1 + -32 | 0; - $10 = 0; - $7 = $5; - } else { - $$0 = $1; - $10 = HEAP32[$0 >> 2] | 0; - $7 = HEAP32[$3 >> 2] | 0; - } - HEAP32[$3 >> 2] = $10 >>> (32 - $$0 | 0) | $7 << $$0; - HEAP32[$0 >> 2] = $10 << $$0; + $0 = (HEAP32[$__end_ >> 2] | 0) + 4 | 0; + HEAP32[$__end_ >> 2] = $0; + $__n$addr$0 = $__n$addr$0 + -1 | 0; + } while (($__n$addr$0 | 0) != 0); return; } -function __ZN12_GLOBAL__N_116register_integerIsEEvPKc($0) { - $0 = $0 | 0; - var $1 = 0, $2 = 0, sp = 0; +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle18ArraySubscriptExprEJRPNS2_4NodeES6_EEEPT_DpOT0_($this, $args, $args1) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + var $call = 0; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 16) | 0; + __ZN12_GLOBAL__N_116itanium_demangle18ArraySubscriptExprC2EPKNS0_4NodeES4_($call, HEAP32[$args >> 2] | 0, HEAP32[$args1 >> 2] | 0); + return $call | 0; +} + +function ___getTypeName($ti) { + $ti = $ti | 0; + var $call1 = 0, $this$addr$i = 0, $ti$addr = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $1 = sp; - HEAP32[$1 >> 2] = $0; - $2 = __ZN10emscripten8internal6TypeIDIsvE3getEv() | 0; - __embind_register_integer($2 | 0, HEAP32[$1 >> 2] | 0, 2, -32768 << 16 >> 16 | 0, 32767 << 16 >> 16 | 0); + $this$addr$i = sp + 4 | 0; + $ti$addr = sp; + HEAP32[$ti$addr >> 2] = $ti; + HEAP32[$this$addr$i >> 2] = HEAP32[$ti$addr >> 2]; + $call1 = ___strdup(HEAP32[(HEAP32[$this$addr$i >> 2] | 0) + 4 >> 2] | 0) | 0; STACKTOP = sp; - return; -} - -function _memmove(dest, src, num) { - dest = dest | 0; - src = src | 0; - num = num | 0; - var ret = 0; - if ((src | 0) < (dest | 0) & (dest | 0) < (src + num | 0)) { - ret = dest; - 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 >> 0] = HEAP8[src >> 0] | 0; - } - dest = ret; - } else _memcpy(dest, src, num) | 0; - return dest | 0; + return $call1 | 0; } -function __ZNSt3__214__split_bufferIiRNS_9allocatorIiEEE18__construct_at_endEmRKi($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$0 = 0, $$promoted = 0, $3 = 0, $5 = 0; - $3 = $0 + 8 | 0; - $$promoted = HEAP32[$3 >> 2] | 0; - $$0 = $1; - $5 = $$promoted; +function __ZNKSt3__25ctypeIcE8do_widenEPKcS3_Pc($this, $low, $high, $dest) { + $this = $this | 0; + $low = $low | 0; + $high = $high | 0; + $dest = $dest | 0; + var $dest$addr$0 = 0, $low$addr$0 = 0; + $dest$addr$0 = $dest; + $low$addr$0 = $low; while (1) { - HEAP32[$5 >> 2] = HEAP32[$2 >> 2]; - $$0 = $$0 + -1 | 0; - if (!$$0) break; else $5 = $5 + 4 | 0; + if (($low$addr$0 | 0) == ($high | 0)) break; + HEAP8[$dest$addr$0 >> 0] = HEAP8[$low$addr$0 >> 0] | 0; + $dest$addr$0 = $dest$addr$0 + 1 | 0; + $low$addr$0 = $low$addr$0 + 1 | 0; } - HEAP32[$3 >> 2] = $$promoted + ($1 << 2); - return; + return $high | 0; } -function __ZNSt3__26vectorIN6vision17PriorityQueueItemILi96EEENS_9allocatorIS3_EEEC2Em($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - HEAP32[$0 >> 2] = 0; - HEAP32[$0 + 4 >> 2] = 0; - HEAP32[$0 + 8 >> 2] = 0; - if ($1 | 0) { - __ZNSt3__26vectorIN6vision17PriorityQueueItemILi96EEENS_9allocatorIS3_EEE11__vallocateEm($0, $1); - __ZNSt3__26vectorIN6vision17PriorityQueueItemILi96EEENS_9allocatorIS3_EEE18__construct_at_endEm($0, $1); +function __ZN6vision18VisualDatabaseImplD2Ev($this) { + $this = $this | 0; + var $0 = 0; + __ZNSt3__213unordered_mapIiNS_6vectorIN6vision7Point3dIfEENS_9allocatorIS4_EEEENS_4hashIiEENS_8equal_toIiEENS5_INS_4pairIKiS7_EEEEED2Ev($this + 4 | 0); + $0 = HEAP32[$this >> 2] | 0; + HEAP32[$this >> 2] = 0; + if ($0 | 0) { + __ZN6vision14VisualDatabaseINS_14FREAKExtractorENS_18BinaryFeatureStoreENS_20BinaryFeatureMatcherILi96EEEED2Ev($0); + __ZdlPv($0); } return; } -function _vsscanf($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0, $8 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 144 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(144); - $3 = sp; - _memset($3 | 0, 0, 144) | 0; - HEAP32[$3 + 32 >> 2] = 35; - HEAP32[$3 + 44 >> 2] = $0; - HEAP32[$3 + 76 >> 2] = -1; - HEAP32[$3 + 84 >> 2] = $0; - $8 = _vfscanf($3, $1, $2) | 0; - STACKTOP = sp; - return $8 | 0; -} - -function __ZN12_GLOBAL__N_116register_integerIcEEvPKc($0) { - $0 = $0 | 0; - var $1 = 0, $2 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $1 = sp; - HEAP32[$1 >> 2] = $0; - $2 = __ZN10emscripten8internal6TypeIDIcvE3getEv() | 0; - __embind_register_integer($2 | 0, HEAP32[$1 >> 2] | 0, 1, -128 << 24 >> 24 | 0, 127 << 24 >> 24 | 0); - STACKTOP = sp; +function __ZN12_GLOBAL__N_116itanium_demangle10DeleteExprC2EPNS0_4NodeEbb($this, $Op_, $IsGlobal_, $IsArray_) { + $this = $this | 0; + $Op_ = $Op_ | 0; + $IsGlobal_ = $IsGlobal_ | 0; + $IsArray_ = $IsArray_ | 0; + __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($this, 52, 1, 1, 1); + HEAP32[$this >> 2] = 19144; + HEAP32[$this + 8 >> 2] = $Op_; + HEAP8[$this + 12 >> 0] = $IsGlobal_ & 1; + HEAP8[$this + 13 >> 0] = $IsArray_ & 1; return; } -function __ZN12_GLOBAL__N_116register_integerIaEEvPKc($0) { - $0 = $0 | 0; - var $1 = 0, $2 = 0, sp = 0; +function __ZN10emscripten8internal7InvokerIiJEE6invokeEPFivE($fn) { + $fn = $fn | 0; + var $call = 0, $call1 = 0, $ref$tmp = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $1 = sp; - HEAP32[$1 >> 2] = $0; - $2 = __ZN10emscripten8internal6TypeIDIavE3getEv() | 0; - __embind_register_integer($2 | 0, HEAP32[$1 >> 2] | 0, 1, -128 << 24 >> 24 | 0, 127 << 24 >> 24 | 0); + $ref$tmp = sp; + $call = FUNCTION_TABLE_i[$fn & 1]() | 0; + HEAP32[$ref$tmp >> 2] = $call; + $call1 = __ZN10emscripten8internal11BindingTypeIivE10toWireTypeERKi($ref$tmp) | 0; STACKTOP = sp; - return; + return $call1 | 0; } -function _shr($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $10 = 0, $3 = 0, $5 = 0, $7 = 0; - $3 = $0 + 4 | 0; - if ($1 >>> 0 > 31) { - $5 = HEAP32[$3 >> 2] | 0; - HEAP32[$0 >> 2] = $5; - HEAP32[$3 >> 2] = 0; - $$0 = $1 + -32 | 0; - $10 = 0; - $7 = $5; - } else { - $$0 = $1; - $10 = HEAP32[$3 >> 2] | 0; - $7 = HEAP32[$0 >> 2] | 0; +function _start_input_pass($cinfo) { + $cinfo = $cinfo | 0; + var $$sink = 0, $0 = 0, $3 = 0; + HEAP32[$cinfo + 148 >> 2] = 0; + $0 = HEAP32[$cinfo + 452 >> 2] | 0; + if ((HEAP32[$cinfo + 340 >> 2] | 0) > 1) $$sink = 1; else { + $3 = HEAP32[$cinfo + 344 >> 2] | 0; + $$sink = HEAP32[((HEAP32[$cinfo + 332 >> 2] | 0) == 1 ? $3 + 76 | 0 : $3 + 12 | 0) >> 2] | 0; } - HEAP32[$0 >> 2] = $10 << 32 - $$0 | $7 >>> $$0; - HEAP32[$3 >> 2] = $10 >>> $$0; + HEAP32[$0 + 28 >> 2] = $$sink; + HEAP32[$0 + 20 >> 2] = 0; + HEAP32[$0 + 24 >> 2] = 0; return; } -function __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE6sentryC2ERS3_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $11 = 0, $6 = 0; - HEAP8[$0 >> 0] = 0; - HEAP32[$0 + 4 >> 2] = $1; - $6 = $1 + (HEAP32[(HEAP32[$1 >> 2] | 0) + -12 >> 2] | 0) | 0; - if (!(HEAP32[$6 + 16 >> 2] | 0)) { - $11 = HEAP32[$6 + 72 >> 2] | 0; - if ($11 | 0) __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv($11) | 0; - HEAP8[$0 >> 0] = 1; +function __ZNSt3__210shared_ptrIhED2Ev($this) { + $this = $this | 0; + var $0 = 0, $1 = 0, $__shared_owners_$i$i = 0; + $0 = HEAP32[$this + 4 >> 2] | 0; + if ($0 | 0 ? ($__shared_owners_$i$i = $0 + 4 | 0, $1 = HEAP32[$__shared_owners_$i$i >> 2] | 0, HEAP32[$__shared_owners_$i$i >> 2] = $1 + -1, ($1 | 0) == 0) : 0) { + FUNCTION_TABLE_vi[HEAP32[(HEAP32[$0 >> 2] | 0) + 8 >> 2] & 255]($0); + __ZNSt3__219__shared_weak_count14__release_weakEv($0); } return; } -function __ZN6vision16ComputeEdgeScoreERfPKf($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $15 = 0.0, $2 = 0, $6 = 0.0, $9 = 0.0; - $2 = $1 + 16 | 0; - $6 = +HEAPF32[$1 >> 2] * +HEAPF32[$2 >> 2]; - $9 = $6 - +__ZN6vision3sqrIfEET_S1_(+HEAPF32[$1 + 4 >> 2]); - if ($9 == 0.0) $$0 = 0; else { - $15 = +__ZN6vision3sqrIfEET_S1_(+HEAPF32[$1 >> 2] + +HEAPF32[$2 >> 2]) / $9; - HEAPF32[$0 >> 2] = $15; - $$0 = 1; - } - return $$0 | 0; +function __ZN12_GLOBAL__N_116itanium_demangle15PixelVectorTypeC2ENS0_12NodeOrStringE($this, $Dimension_) { + $this = $this | 0; + $Dimension_ = $Dimension_ | 0; + var $0 = 0, $5 = 0, $6 = 0; + __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($this, 26, 1, 1, 1); + HEAP32[$this >> 2] = 20024; + $0 = $Dimension_; + $5 = HEAP32[$0 + 4 >> 2] | 0; + $6 = $this + 8 | 0; + HEAP32[$6 >> 2] = HEAP32[$0 >> 2]; + HEAP32[$6 + 4 >> 2] = $5; + return; } -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle13ReferenceTypeEJRPNS2_4NodeENS2_13ReferenceKindEEEEPT_DpOT0_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 20) | 0; - __ZN12_GLOBAL__N_116itanium_demangle13ReferenceTypeC2EPKNS0_4NodeENS0_13ReferenceKindE($3, HEAP32[$1 >> 2] | 0, HEAP32[$2 >> 2] | 0); - return $3 | 0; +function _vsscanf($s, $fmt, $ap) { + $s = $s | 0; + $fmt = $fmt | 0; + $ap = $ap | 0; + var $call = 0, $f = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 144 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(144); + $f = sp; + _memset($f | 0, 0, 144) | 0; + HEAP32[$f + 32 >> 2] = 35; + HEAP32[$f + 44 >> 2] = $s; + HEAP32[$f + 76 >> 2] = -1; + HEAP32[$f + 84 >> 2] = $s; + $call = _vfscanf($f, $fmt, $ap) | 0; + STACKTOP = sp; + return $call | 0; } -function _jpeg_std_error($0) { - $0 = $0 | 0; - HEAP32[$0 >> 2] = 209; - HEAP32[$0 + 4 >> 2] = 139; - HEAP32[$0 + 8 >> 2] = 210; - HEAP32[$0 + 12 >> 2] = 140; - HEAP32[$0 + 16 >> 2] = 211; - HEAP32[$0 + 104 >> 2] = 0; - HEAP32[$0 + 108 >> 2] = 0; - HEAP32[$0 + 20 >> 2] = 0; - HEAP32[$0 + 112 >> 2] = 2064; - HEAP32[$0 + 116 >> 2] = 126; - HEAP32[$0 + 120 >> 2] = 0; - HEAP32[$0 + 124 >> 2] = 0; - HEAP32[$0 + 128 >> 2] = 0; - return $0 | 0; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_17VendorExtQualTypeEJRPNS0_4NodeERNS_10StringViewEEEES9_DpOT0_($this, $args, $args1) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle17VendorExtQualTypeEJRPNS2_4NodeERNS_10StringViewEEEEPT_DpOT0_($this + 368 | 0, $args, $args1) | 0; } -function __ZNSt3__26vectorIiNS_9allocatorIiEEE6resizeEmRKi($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0, $5 = 0, $7 = 0, $9 = 0; - $3 = $0 + 4 | 0; - $5 = HEAP32[$0 >> 2] | 0; - $7 = (HEAP32[$3 >> 2] | 0) - $5 >> 2; - $9 = $5; - if ($7 >>> 0 >= $1 >>> 0) { - if ($7 >>> 0 > $1 >>> 0) HEAP32[$3 >> 2] = $9 + ($1 << 2); - } else __ZNSt3__26vectorIiNS_9allocatorIiEEE8__appendEmRKi($0, $1 - $7 | 0, $2); - return; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_12CtorDtorNameEJRPNS0_4NodeEbRiEEES9_DpOT0_($this, $args, $args1, $args3) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + $args3 = $args3 | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle12CtorDtorNameEJRPNS2_4NodeEbRiEEEPT_DpOT0_($this + 368 | 0, $args, $args1, $args3) | 0; } -function __ZNSt3__26vectorINS_4pairIfiEENS_9allocatorIS2_EEE6resizeEm($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $4 = 0, $6 = 0, $8 = 0; - $2 = $0 + 4 | 0; - $4 = HEAP32[$0 >> 2] | 0; - $6 = (HEAP32[$2 >> 2] | 0) - $4 >> 3; - $8 = $4; - if ($6 >>> 0 >= $1 >>> 0) { - if ($6 >>> 0 > $1 >>> 0) HEAP32[$2 >> 2] = $8 + ($1 << 3); - } else __ZNSt3__26vectorINS_4pairIfiEENS_9allocatorIS2_EEE8__appendEm($0, $1 - $6 | 0); - return; +function __ZNKSt3__25ctypeIwE8do_widenEPKcS3_Pw($this, $low, $high, $dest) { + $this = $this | 0; + $low = $low | 0; + $high = $high | 0; + $dest = $dest | 0; + var $dest$addr$0 = 0, $low$addr$0 = 0; + $dest$addr$0 = $dest; + $low$addr$0 = $low; + while (1) { + if (($low$addr$0 | 0) == ($high | 0)) break; + HEAP32[$dest$addr$0 >> 2] = HEAP8[$low$addr$0 >> 0]; + $dest$addr$0 = $dest$addr$0 + 4 | 0; + $low$addr$0 = $low$addr$0 + 1 | 0; + } + return $high | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_10BinaryExprEJRPNS0_4NodeERNS_10StringViewESA_EEES9_DpOT0_($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle10BinaryExprEJRPNS2_4NodeERNS_10StringViewES6_EEEPT_DpOT0_($0 + 368 | 0, $1, $2, $3) | 0; +function __ZN12_GLOBAL__N_116itanium_demangle21StructuredBindingNameC2ENS0_9NodeArrayE($this, $Bindings_) { + $this = $this | 0; + $Bindings_ = $Bindings_ | 0; + var $0 = 0, $5 = 0, $6 = 0; + __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($this, 41, 1, 1, 1); + HEAP32[$this >> 2] = 19584; + $0 = $Bindings_; + $5 = HEAP32[$0 + 4 >> 2] | 0; + $6 = $this + 8 | 0; + HEAP32[$6 >> 2] = HEAP32[$0 >> 2]; + HEAP32[$6 + 4 >> 2] = $5; + return; } -function _start_input_pass($0) { - $0 = $0 | 0; - var $$sink = 0, $11 = 0, $3 = 0; - HEAP32[$0 + 148 >> 2] = 0; - $3 = HEAP32[$0 + 452 >> 2] | 0; - if ((HEAP32[$0 + 340 >> 2] | 0) > 1) $$sink = 1; else { - $11 = HEAP32[$0 + 344 >> 2] | 0; - $$sink = HEAP32[((HEAP32[$0 + 332 >> 2] | 0) == 1 ? $11 + 76 | 0 : $11 + 12 | 0) >> 2] | 0; - } - HEAP32[$3 + 28 >> 2] = $$sink; - HEAP32[$3 + 20 >> 2] = 0; - HEAP32[$3 + 24 >> 2] = 0; +function __ZN12_GLOBAL__N_116register_integerItEEvPKc($name) { + $name = $name | 0; + var $call = 0, $name$addr = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $name$addr = sp; + HEAP32[$name$addr >> 2] = $name; + $call = __ZN10emscripten8internal6TypeIDItvE3getEv() | 0; + __embind_register_integer($call | 0, HEAP32[$name$addr >> 2] | 0, 2, 0, 65535); + STACKTOP = sp; return; } -function __ZN6vision22SampleReceptorBilinearERKNS_5ImageEff($0, $1, $2) { - $0 = $0 | 0; - $1 = +$1; - $2 = +$2; - var $6 = 0.0; - $6 = +__ZN6vision10ClipScalarIfEET_S1_S1_S1_($1, 0.0, +(((__ZNK6vision5Image5widthEv($0) | 0) + -2 | 0) >>> 0)); - return +(+__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff($0, $6, +__ZN6vision10ClipScalarIfEET_S1_S1_S1_($2, 0.0, +(((__ZNK6vision5Image6heightEv($0) | 0) + -2 | 0) >>> 0)))); +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_13ReferenceTypeEJRPNS0_4NodeENS0_13ReferenceKindEEEES9_DpOT0_($this, $args, $args1) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle13ReferenceTypeEJRPNS2_4NodeENS2_13ReferenceKindEEEEPT_DpOT0_($this + 368 | 0, $args, $args1) | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_15ClosureTypeNameEJRNS0_9NodeArrayERNS_10StringViewEEEEPNS0_4NodeEDpOT0_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle15ClosureTypeNameEJRNS2_9NodeArrayERNS_10StringViewEEEEPT_DpOT0_($0 + 368 | 0, $1, $2) | 0; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_10BracedExprEJRPNS0_4NodeESA_bEEES9_DpOT0_($this, $args, $args1, $args3) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + $args3 = $args3 | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle10BracedExprEJRPNS2_4NodeES6_bEEEPT_DpOT0_($this + 368 | 0, $args, $args1, $args3) | 0; } -function __ZN6vision27OrthogonalizePivot8x9Basis7IfEEbPT_S2_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $2 = 0, $5 = 0.0; - $2 = $0 + 252 | 0; - __ZN6vision21AccumulateProjection9IfEEvPT_PKS1_S4_($2, $0 + 216 | 0, $1 + 252 | 0); - $5 = +__ZN6vision11SumSquares9IfEET_PKS1_($2); - if ($5 == 0.0) $$0 = 0; else { - __ZN6vision12ScaleVector9IfEEvPT_PKS1_S1_($2, $2, 1.0 / +Math_sqrt(+$5)); - $$0 = 1; - } - return $$0 | 0; +function __ZN12_GLOBAL__N_116itanium_demangle20TemplateArgumentPackC2ENS0_9NodeArrayE($this, $Elements_) { + $this = $this | 0; + $Elements_ = $Elements_ | 0; + var $0 = 0, $5 = 0, $6 = 0; + __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($this, 28, 1, 1, 1); + HEAP32[$this >> 2] = 18220; + $0 = $Elements_; + $5 = HEAP32[$0 + 4 >> 2] | 0; + $6 = $this + 8 | 0; + HEAP32[$6 >> 2] = HEAP32[$0 >> 2]; + HEAP32[$6 + 4 >> 2] = $5; + return; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_22ElaboratedTypeSpefTypeEJRNS_10StringViewERPNS0_4NodeEEEESB_DpOT0_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle22ElaboratedTypeSpefTypeEJRNS_10StringViewERPNS2_4NodeEEEEPT_DpOT0_($0 + 368 | 0, $1, $2) | 0; +function __ZN12_GLOBAL__N_116itanium_demangle16FloatLiteralImplIfEC2ENS_10StringViewE($this, $Contents_) { + $this = $this | 0; + $Contents_ = $Contents_ | 0; + var $0 = 0, $5 = 0, $6 = 0; + __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($this, 62, 1, 1, 1); + HEAP32[$this >> 2] = 18088; + $0 = $Contents_; + $5 = HEAP32[$0 + 4 >> 2] | 0; + $6 = $this + 8 | 0; + HEAP32[$6 >> 2] = HEAP32[$0 >> 2]; + HEAP32[$6 + 4 >> 2] = $5; + return; } -function __ZNSt3__26vectorIhNS_9allocatorIhEEE6resizeEmRKh($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0, $5 = 0, $6 = 0, $8 = 0; - $3 = $0 + 4 | 0; - $5 = HEAP32[$0 >> 2] | 0; - $6 = (HEAP32[$3 >> 2] | 0) - $5 | 0; - $8 = $5; - if ($6 >>> 0 >= $1 >>> 0) { - if ($6 >>> 0 > $1 >>> 0) HEAP32[$3 >> 2] = $8 + $1; - } else __ZNSt3__26vectorIhNS_9allocatorIhEEE8__appendEmRKh($0, $1 - $6 | 0, $2); +function __ZN12_GLOBAL__N_116itanium_demangle16FloatLiteralImplIdEC2ENS_10StringViewE($this, $Contents_) { + $this = $this | 0; + $Contents_ = $Contents_ | 0; + var $0 = 0, $5 = 0, $6 = 0; + __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($this, 63, 1, 1, 1); + HEAP32[$this >> 2] = 18044; + $0 = $Contents_; + $5 = HEAP32[$0 + 4 >> 2] | 0; + $6 = $this + 8 | 0; + HEAP32[$6 >> 2] = HEAP32[$0 >> 2]; + HEAP32[$6 + 4 >> 2] = $5; return; } -function __ZNSt3__28ios_base16__call_callbacksENS0_5eventE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $4 = 0, $5 = 0, $7 = 0; - $4 = $0 + 32 | 0; - $5 = $0 + 36 | 0; - $$0 = HEAP32[$0 + 40 >> 2] | 0; - while (1) { - if (!$$0) break; - $7 = $$0 + -1 | 0; - FUNCTION_TABLE_viii[HEAP32[(HEAP32[$4 >> 2] | 0) + ($7 << 2) >> 2] & 3]($1, $0, HEAP32[(HEAP32[$5 >> 2] | 0) + ($7 << 2) >> 2] | 0); - $$0 = $7; - } - return; +function _a_ctz_l_673($x) { + $x = $x | 0; + var $inc = 0, $nTrailingZeros$07 = 0, $retval$0 = 0, $x$addr$06 = 0; + if ($x) if (!($x & 1)) { + $nTrailingZeros$07 = 0; + $x$addr$06 = $x; + while (1) { + $inc = $nTrailingZeros$07 + 1 | 0; + if (!($x$addr$06 & 2)) { + $nTrailingZeros$07 = $inc; + $x$addr$06 = $x$addr$06 >>> 1; + } else { + $retval$0 = $inc; + break; + } + } + } else $retval$0 = 0; else $retval$0 = 32; + return $retval$0 | 0; } -function __ZNSt3__26vectorIhNS_9allocatorIhEEE13__vdeallocateEv($0) { - $0 = $0 | 0; - var $1 = 0, $3 = 0, $4 = 0, $5 = 0; - $1 = HEAP32[$0 >> 2] | 0; - $3 = $1; - if ($1 | 0) { - $4 = $0 + 4 | 0; - HEAP32[$4 >> 2] = $3; - $5 = $0 + 8 | 0; - __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($1, (HEAP32[$5 >> 2] | 0) - $3 | 0); - HEAP32[$5 >> 2] = 0; - HEAP32[$4 >> 2] = 0; - HEAP32[$0 >> 2] = 0; - } +function __ZNSt3__26vectorIN6vision5ImageENS_9allocatorIS2_EEE18__construct_at_endEm($this, $__n) { + $this = $this | 0; + $__n = $__n | 0; + var $0 = 0, $__end_ = 0, $__n$addr$0 = 0; + $__end_ = $this + 4 | 0; + $0 = HEAP32[$__end_ >> 2] | 0; + $__n$addr$0 = $__n; + do { + __ZN6vision5ImageC2Ev($0); + $0 = (HEAP32[$__end_ >> 2] | 0) + 32 | 0; + HEAP32[$__end_ >> 2] = $0; + $__n$addr$0 = $__n$addr$0 + -1 | 0; + } while (($__n$addr$0 | 0) != 0); return; } -function _ar3DCreateHandle2($0) { - $0 = $0 | 0; - var $$0 = 0, $1 = 0, $3 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $1 = _malloc(4) | 0; - if (!$1) { - _arLog(0, 3, 45930, sp); - _exit(1); - } - $3 = _icpCreateHandle($0) | 0; - HEAP32[$1 >> 2] = $3; - if (!$3) { - _free($1); - $$0 = 0; - } else $$0 = $1; - STACKTOP = sp; - return $$0 | 0; +function __ZN12_GLOBAL__N_116itanium_demangle19PointerToMemberTypeC2EPKNS0_4NodeES4_($this, $ClassType_, $MemberType_) { + $this = $this | 0; + $ClassType_ = $ClassType_ | 0; + $MemberType_ = $MemberType_ | 0; + __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($this, 13, HEAP8[$MemberType_ + 5 >> 0] | 0, 1, 1); + HEAP32[$this >> 2] = 19892; + HEAP32[$this + 8 >> 2] = $ClassType_; + HEAP32[$this + 12 >> 2] = $MemberType_; + return; } -function _ar2GetVectorAngle($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $12 = 0.0, $15 = 0.0, $6 = 0.0; - $6 = +HEAPF32[$1 >> 2] - +HEAPF32[$0 >> 2]; - $12 = +HEAPF32[$1 + 4 >> 2] - +HEAPF32[$0 + 4 >> 2]; - $15 = +Math_sqrt(+($6 * $6 + $12 * $12)); - if (!($15 == 0.0)) { - HEAPF32[$2 >> 2] = $12 / $15; - HEAPF32[$3 >> 2] = (+HEAPF32[$1 >> 2] - +HEAPF32[$0 >> 2]) / $15; - } +function __ZN12_GLOBAL__N_116itanium_demangle16FloatLiteralImplIeEC2ENS_10StringViewE($this, $Contents_) { + $this = $this | 0; + $Contents_ = $Contents_ | 0; + var $0 = 0, $5 = 0, $6 = 0; + __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($this, 64, 1, 1, 1); + HEAP32[$this >> 2] = 18e3; + $0 = $Contents_; + $5 = HEAP32[$0 + 4 >> 2] | 0; + $6 = $this + 8 | 0; + HEAP32[$6 >> 2] = HEAP32[$0 >> 2]; + HEAP32[$6 + 4 >> 2] = $5; return; } -function __ZNK10__cxxabiv117__class_type_info16search_above_dstEPNS_19__dynamic_cast_infoEPKvS4_ib($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - if (__ZL8is_equalPKSt9type_infoS1_b($0, HEAP32[$1 + 8 >> 2] | 0, $5) | 0) __ZNK10__cxxabiv117__class_type_info29process_static_type_above_dstEPNS_19__dynamic_cast_infoEPKvS4_i(0, $1, $2, $3, $4); +function __ZN12_GLOBAL__N_116itanium_demangle12EnableIfAttrC2ENS0_9NodeArrayE($this, $Conditions_) { + $this = $this | 0; + $Conditions_ = $Conditions_ | 0; + var $0 = 0, $5 = 0, $6 = 0; + __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($this, 9, 1, 1, 1); + HEAP32[$this >> 2] = 20464; + $0 = $Conditions_; + $5 = HEAP32[$0 + 4 >> 2] | 0; + $6 = $this + 8 | 0; + HEAP32[$6 >> 2] = HEAP32[$0 >> 2]; + HEAP32[$6 + 4 >> 2] = $5; return; } -function _arLog($0, $1, $2, $varargs) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $varargs = $varargs | 0; - var $3 = 0, sp = 0; +function __ZN12_GLOBAL__N_116register_integerIhEEvPKc($name) { + $name = $name | 0; + var $call = 0, $name$addr = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $3 = sp; - if (($2 | 0) != 0 & (HEAP32[4186] | 0) <= ($1 | 0) ? HEAP8[$2 >> 0] | 0 : 0) { - HEAP32[$3 >> 2] = $varargs; - _arLogv(0, $1, $2, $3); - } + $name$addr = sp; + HEAP32[$name$addr >> 2] = $name; + $call = __ZN10emscripten8internal6TypeIDIhvE3getEv() | 0; + __embind_register_integer($call | 0, HEAP32[$name$addr >> 2] | 0, 1, 0, 255); STACKTOP = sp; return; } -function __ZNSt3__214__split_bufferIhRNS_9allocatorIhEEEC2EmmS3_($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $4 = 0, $8 = 0, $9 = 0; - $4 = $0 + 12 | 0; - HEAP32[$4 >> 2] = 0; - HEAP32[$0 + 16 >> 2] = $3; - if (!$1) $8 = 0; else $8 = __Znwm($1) | 0; - HEAP32[$0 >> 2] = $8; - $9 = $8 + $2 | 0; - HEAP32[$0 + 8 >> 2] = $9; - HEAP32[$0 + 4 >> 2] = $9; - HEAP32[$4 >> 2] = $8 + $1; - return; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_15IntegerCastExprEJRPNS0_4NodeERNS_10StringViewEEEES9_DpOT0_($this, $args, $args1) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle15IntegerCastExprEJRPNS2_4NodeERNS_10StringViewEEEEPT_DpOT0_($this + 368 | 0, $args, $args1) | 0; } -function _copysign($0, $1) { - $0 = +$0; - $1 = +$1; - var $2 = 0, $3 = 0, $8 = 0; - HEAPF64[tempDoublePtr >> 3] = $0; - $2 = HEAP32[tempDoublePtr >> 2] | 0; - $3 = HEAP32[tempDoublePtr + 4 >> 2] | 0; - HEAPF64[tempDoublePtr >> 3] = $1; - $8 = HEAP32[tempDoublePtr + 4 >> 2] & -2147483648 | $3 & 2147483647; - HEAP32[tempDoublePtr >> 2] = $2; - HEAP32[tempDoublePtr + 4 >> 2] = $8; - return +(+HEAPF64[tempDoublePtr >> 3]); +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_10DeleteExprEJRPNS0_4NodeERbbEEES9_DpOT0_($this, $args, $args1, $args3) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + $args3 = $args3 | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle10DeleteExprEJRPNS2_4NodeERbbEEEPT_DpOT0_($this + 368 | 0, $args, $args1, $args3) | 0; } -function __ZN12_GLOBAL__N_116register_integerIlEEvPKc($0) { - $0 = $0 | 0; - var $1 = 0, $2 = 0, sp = 0; +function __ZN12_GLOBAL__N_116register_integerImEEvPKc($name) { + $name = $name | 0; + var $call = 0, $name$addr = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $1 = sp; - HEAP32[$1 >> 2] = $0; - $2 = __ZN10emscripten8internal6TypeIDIlvE3getEv() | 0; - __embind_register_integer($2 | 0, HEAP32[$1 >> 2] | 0, 4, -2147483648, 2147483647); + $name$addr = sp; + HEAP32[$name$addr >> 2] = $name; + $call = __ZN10emscripten8internal6TypeIDImvE3getEv() | 0; + __embind_register_integer($call | 0, HEAP32[$name$addr >> 2] | 0, 4, 0, -1); STACKTOP = sp; return; } -function __ZN12_GLOBAL__N_116register_integerIiEEvPKc($0) { - $0 = $0 | 0; - var $1 = 0, $2 = 0, sp = 0; +function __ZN12_GLOBAL__N_116register_integerIjEEvPKc($name) { + $name = $name | 0; + var $call = 0, $name$addr = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $1 = sp; - HEAP32[$1 >> 2] = $0; - $2 = __ZN10emscripten8internal6TypeIDIivE3getEv() | 0; - __embind_register_integer($2 | 0, HEAP32[$1 >> 2] | 0, 4, -2147483648, 2147483647); + $name$addr = sp; + HEAP32[$name$addr >> 2] = $name; + $call = __ZN10emscripten8internal6TypeIDIjvE3getEv() | 0; + __embind_register_integer($call | 0, HEAP32[$name$addr >> 2] | 0, 4, 0, -1); STACKTOP = sp; return; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_17VendorExtQualTypeEJRPNS0_4NodeERNS_10StringViewEEEES9_DpOT0_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle17VendorExtQualTypeEJRPNS2_4NodeERNS_10StringViewEEEEPT_DpOT0_($0 + 368 | 0, $1, $2) | 0; -} - -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8QualTypeEJRPNS2_4NodeERNS2_10QualifiersEEEEPT_DpOT0_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 16) | 0; - __ZN12_GLOBAL__N_116itanium_demangle8QualTypeC2EPKNS0_4NodeENS0_10QualifiersE($3, HEAP32[$1 >> 2] | 0, HEAP32[$2 >> 2] | 0); - return $3 | 0; -} - -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_13ReferenceTypeEJRPNS0_4NodeENS0_13ReferenceKindEEEES9_DpOT0_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle13ReferenceTypeEJRPNS2_4NodeENS2_13ReferenceKindEEEEPT_DpOT0_($0 + 368 | 0, $1, $2) | 0; -} - -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle21CtorVtableSpecialNameEJRPNS2_4NodeES6_EEEPT_DpOT0_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 16) | 0; - __ZN12_GLOBAL__N_116itanium_demangle21CtorVtableSpecialNameC2EPKNS0_4NodeES4_($3, HEAP32[$1 >> 2] | 0, HEAP32[$2 >> 2] | 0); - return $3 | 0; -} - -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_15IntegerCastExprEJRPNS0_4NodeERNS_10StringViewEEEES9_DpOT0_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle15IntegerCastExprEJRPNS2_4NodeERNS_10StringViewEEEEPT_DpOT0_($0 + 368 | 0, $1, $2) | 0; +function __ZN12_GLOBAL__N_116itanium_demangle13ReferenceTypeC2EPKNS0_4NodeENS0_13ReferenceKindE($this, $Pointee_, $RK_) { + $this = $this | 0; + $Pointee_ = $Pointee_ | 0; + $RK_ = $RK_ | 0; + __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($this, 12, HEAP8[$Pointee_ + 5 >> 0] | 0, 1, 1); + HEAP32[$this >> 2] = 17736; + HEAP32[$this + 8 >> 2] = $Pointee_; + HEAP32[$this + 12 >> 2] = $RK_; + HEAP8[$this + 16 >> 0] = 0; + return; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_15ConditionalExprEJRPNS0_4NodeESA_SA_EEES9_DpOT0_($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle15ConditionalExprEJRPNS2_4NodeES6_S6_EEEPT_DpOT0_($0 + 368 | 0, $1, $2, $3) | 0; +function __ZN12_GLOBAL__N_116itanium_demangle10BracedExprC2EPKNS0_4NodeES4_b($this, $Elem_, $Init_, $IsArray_) { + $this = $this | 0; + $Elem_ = $Elem_ | 0; + $Init_ = $Init_ | 0; + $IsArray_ = $IsArray_ | 0; + __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($this, 65, 1, 1, 1); + HEAP32[$this >> 2] = 18748; + HEAP32[$this + 8 >> 2] = $Elem_; + HEAP32[$this + 12 >> 2] = $Init_; + HEAP8[$this + 16 >> 0] = $IsArray_ & 1; + return; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_15BracedRangeExprEJRPNS0_4NodeESA_SA_EEES9_DpOT0_($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle15BracedRangeExprEJRPNS2_4NodeES6_S6_EEEPT_DpOT0_($0 + 368 | 0, $1, $2, $3) | 0; +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle13QualifiedNameEJRPNS2_4NodeES6_EEEPT_DpOT0_($this, $args, $args1) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + var $call = 0; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 16) | 0; + __ZN12_GLOBAL__N_116itanium_demangle13QualifiedNameC2EPKNS0_4NodeES4_($call, HEAP32[$args >> 2] | 0, HEAP32[$args1 >> 2] | 0); + return $call | 0; } -function __ZN6vision16RobustHomographyIfE4initEfiii($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = +$1; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - __ZNSt3__26vectorIfNS_9allocatorIfEEE6resizeEm($0, $2 * 9 | 0); - __ZNSt3__26vectorINS_4pairIfiEENS_9allocatorIS2_EEE6resizeEm($0 + 24 | 0, $2); - HEAPF32[$0 + 36 >> 2] = $1; - HEAP32[$0 + 40 >> 2] = $2; - HEAP32[$0 + 44 >> 2] = $3; - HEAP32[$0 + 48 >> 2] = $4; - return; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_13EnclosingExprEJRA10_KcRPNS0_4NodeERA2_S8_EEESC_DpOT0_($this, $args, $args1) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle13EnclosingExprEJRA10_KcRPNS2_4NodeERA2_S4_EEEPT_DpOT0_($this + 368 | 0, $args, $args1, 52806) | 0; } -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle20NameWithTemplateArgsEJRPNS2_4NodeES6_EEEPT_DpOT0_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 16) | 0; - __ZN12_GLOBAL__N_116itanium_demangle20NameWithTemplateArgsC2EPNS0_4NodeES3_($3, HEAP32[$1 >> 2] | 0, HEAP32[$2 >> 2] | 0); - return $3 | 0; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_14ConversionExprEJRPNS0_4NodeERNS0_9NodeArrayEEEES9_DpOT0_($this, $args, $args1) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle14ConversionExprEJRPNS2_4NodeERNS2_9NodeArrayEEEEPT_DpOT0_($this + 368 | 0, $args, $args1) | 0; } -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle19PointerToMemberTypeEJRPNS2_4NodeES6_EEEPT_DpOT0_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 16) | 0; - __ZN12_GLOBAL__N_116itanium_demangle19PointerToMemberTypeC2EPKNS0_4NodeES4_($3, HEAP32[$1 >> 2] | 0, HEAP32[$2 >> 2] | 0); - return $3 | 0; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_13ObjCProtoNameEJRPNS0_4NodeERNS_10StringViewEEEES9_DpOT0_($this, $args, $args1) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle13ObjCProtoNameEJRPNS2_4NodeERNS_10StringViewEEEEPT_DpOT0_($this + 368 | 0, $args, $args1) | 0; } -function _rand() { - var $0 = 0, $10 = 0, $14 = 0, $6 = 0, $8 = 0, $9 = 0; - $0 = 64568; - $6 = ___muldi3(HEAP32[$0 >> 2] | 0, HEAP32[$0 + 4 >> 2] | 0, 1284865837, 1481765933) | 0; - $8 = _i64Add($6 | 0, getTempRet0() | 0, 1, 0) | 0; - $9 = getTempRet0() | 0; - $10 = 64568; - HEAP32[$10 >> 2] = $8; - HEAP32[$10 + 4 >> 2] = $9; - $14 = _bitshift64Lshr($8 | 0, $9 | 0, 33) | 0; - getTempRet0() | 0; - return $14 | 0; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_13EnclosingExprEJRA9_KcRPNS0_4NodeERA2_S8_EEESC_DpOT0_($this, $args, $args1) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle13EnclosingExprEJRA9_KcRPNS2_4NodeERA2_S4_EEEPT_DpOT0_($this + 368 | 0, $args, $args1, 52806) | 0; } -function ___unlist_locked_file($0) { - $0 = $0 | 0; - var $$pre = 0, $$sink = 0, $10 = 0, $5 = 0; - if (HEAP32[$0 + 68 >> 2] | 0) { - $5 = HEAP32[$0 + 132 >> 2] | 0; - $$pre = $0 + 128 | 0; - if ($5 | 0) HEAP32[$5 + 128 >> 2] = HEAP32[$$pre >> 2]; - $10 = HEAP32[$$pre >> 2] | 0; - if (!$10) $$sink = (___pthread_self_603() | 0) + 232 | 0; else $$sink = $10 + 132 | 0; - HEAP32[$$sink >> 2] = $5; - } - return; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_14ConversionExprEJRPNS0_4NodeENS0_9NodeArrayEEEES9_DpOT0_($this, $args, $args1) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle14ConversionExprEJRPNS2_4NodeENS2_9NodeArrayEEEEPT_DpOT0_($this + 368 | 0, $args, $args1) | 0; } -function __ZNSt3__218__libcpp_refstringC2EPKc($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $4 = 0, $7 = 0; - $2 = _strlen($1) | 0; - $4 = __Znwm($2 + 13 | 0) | 0; - HEAP32[$4 >> 2] = $2; - HEAP32[$4 + 4 >> 2] = $2; - HEAP32[$4 + 8 >> 2] = 0; - $7 = __ZNSt3__215__refstring_imp12_GLOBAL__N_113data_from_repEPNS1_9_Rep_baseE($4) | 0; - _memcpy($7 | 0, $1 | 0, $2 + 1 | 0) | 0; - HEAP32[$0 >> 2] = $7; +function __ZN12_GLOBAL__N_116itanium_demangle15BracedRangeExprC2EPKNS0_4NodeES4_S4_($this, $First_, $Last_, $Init_) { + $this = $this | 0; + $First_ = $First_ | 0; + $Last_ = $Last_ | 0; + $Init_ = $Init_ | 0; + __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($this, 66, 1, 1, 1); + HEAP32[$this >> 2] = 18704; + HEAP32[$this + 8 >> 2] = $First_; + HEAP32[$this + 12 >> 2] = $Last_; + HEAP32[$this + 16 >> 2] = $Init_; return; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_13EnclosingExprEJRA10_KcRPNS0_4NodeERA2_S8_EEESC_DpOT0_($0, $1, $2) { +function ___fseeko($f, $0, $1, $whence) { + $f = $f | 0; $0 = $0 | 0; $1 = $1 | 0; - $2 = $2 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle13EnclosingExprEJRA10_KcRPNS2_4NodeERA2_S4_EEEPT_DpOT0_($0 + 368 | 0, $1, $2, 51964) | 0; + $whence = $whence | 0; + var $4 = 0, $call17 = 0, $phitmp = 0; + if ((HEAP32[$f + 76 >> 2] | 0) > -1) { + $phitmp = (___lockfile($f) | 0) == 0; + $4 = ___fseeko_unlocked($f, $0, $1, $whence) | 0; + if ($phitmp) $call17 = $4; else { + ___unlockfile($f); + $call17 = $4; + } + } else $call17 = ___fseeko_unlocked($f, $0, $1, $whence) | 0; + return $call17 | 0; } -function ___munmap($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $4 = 0, $vararg_buffer = 0, sp = 0; +function ___munmap($start, $len) { + $start = $start | 0; + $len = $len | 0; + var $call1 = 0, $vararg_buffer = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); $vararg_buffer = sp; - HEAP32[$vararg_buffer >> 2] = $0; - HEAP32[$vararg_buffer + 4 >> 2] = $1; - $4 = ___syscall_ret(___syscall91(91, $vararg_buffer | 0) | 0) | 0; + HEAP32[$vararg_buffer >> 2] = $start; + HEAP32[$vararg_buffer + 4 >> 2] = $len; + $call1 = ___syscall_ret(___syscall91(91, $vararg_buffer | 0) | 0) | 0; STACKTOP = sp; - return $4 | 0; -} - -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_27ExpandedSpecialSubstitutionEJRNS0_14SpecialSubKindEEEEPNS0_4NodeEDpOT0_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle27ExpandedSpecialSubstitutionEJRNS2_14SpecialSubKindEEEEPT_DpOT0_($0 + 368 | 0, $1) | 0; -} - -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_14ConversionExprEJRPNS0_4NodeERNS0_9NodeArrayEEEES9_DpOT0_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle14ConversionExprEJRPNS2_4NodeERNS2_9NodeArrayEEEEPT_DpOT0_($0 + 368 | 0, $1, $2) | 0; -} - -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_13ObjCProtoNameEJRPNS0_4NodeERNS_10StringViewEEEES9_DpOT0_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle13ObjCProtoNameEJRPNS2_4NodeERNS_10StringViewEEEEPT_DpOT0_($0 + 368 | 0, $1, $2) | 0; -} - -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_10MemberExprEJRPNS0_4NodeERA3_KcSA_EEES9_DpOT0_($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle10MemberExprEJRPNS2_4NodeERA3_KcS6_EEEPT_DpOT0_($0 + 368 | 0, $1, $2, $3) | 0; + return $call1 | 0; } -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle18ArraySubscriptExprEJRPNS2_4NodeES6_EEEPT_DpOT0_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 16) | 0; - __ZN12_GLOBAL__N_116itanium_demangle18ArraySubscriptExprC2EPKNS0_4NodeES4_($3, HEAP32[$1 >> 2] | 0, HEAP32[$2 >> 2] | 0); - return $3 | 0; +function ___muldsi3($a, $b) { + $a = $a | 0; + $b = $b | 0; + var $1 = 0, $2 = 0, $3 = 0, $6 = 0, $8 = 0, $11 = 0, $12 = 0; + $1 = $a & 65535; + $2 = $b & 65535; + $3 = Math_imul($2, $1) | 0; + $6 = $a >>> 16; + $8 = ($3 >>> 16) + (Math_imul($2, $6) | 0) | 0; + $11 = $b >>> 16; + $12 = Math_imul($11, $1) | 0; + return (setTempRet0(($8 >>> 16) + (Math_imul($11, $6) | 0) + ((($8 & 65535) + $12 | 0) >>> 16) | 0), $8 + $12 << 16 | $3 & 65535 | 0) | 0; } -function __ZNSt3__26vectorIhNS_9allocatorIhEEE18__construct_at_endIPhEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeES7_S7_m($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $4 = 0, $7 = 0; - $4 = $0 + 4 | 0; - $7 = $2 - $1 | 0; - if (($7 | 0) > 0) { - _memcpy(HEAP32[$4 >> 2] | 0, $1 | 0, $7 | 0) | 0; - HEAP32[$4 >> 2] = (HEAP32[$4 >> 2] | 0) + $7; +function __ZNSt3__25ctypeIcEC2EPKtbm($this, $tab, $del, $refs) { + $this = $this | 0; + $tab = $tab | 0; + $del = $del | 0; + $refs = $refs | 0; + var $__tab_ = 0, $call = 0; + HEAP32[$this + 4 >> 2] = $refs + -1; + HEAP32[$this >> 2] = 23308; + $__tab_ = $this + 8 | 0; + HEAP32[$__tab_ >> 2] = $tab; + HEAP8[$this + 12 >> 0] = $del & 1; + if (!$tab) { + $call = __ZNSt3__25ctypeIcE13classic_tableEv() | 0; + HEAP32[$__tab_ >> 2] = $call; } return; } -function __ZNSt3__26vectorIN6vision17PriorityQueueItemILi96EEENS_9allocatorIS3_EEE18__construct_at_endEm($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $2 = 0, $3 = 0; - $2 = $0 + 4 | 0; - $$0 = $1; - $3 = HEAP32[$2 >> 2] | 0; - do { - __ZN6vision17PriorityQueueItemILi96EEC2Ev($3); - $3 = (HEAP32[$2 >> 2] | 0) + 8 | 0; - HEAP32[$2 >> 2] = $3; - $$0 = $$0 + -1 | 0; - } while (($$0 | 0) != 0); - return; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_9ArrayTypeEJRPNS0_4NodeERNS0_12NodeOrStringEEEES9_DpOT0_($this, $args, $args1) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle9ArrayTypeEJRPNS2_4NodeERNS2_12NodeOrStringEEEEPT_DpOT0_($this + 368 | 0, $args, $args1) | 0; } -function __ZNSt3__211__stdoutbufIwE5imbueERKNS_6localeE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $12 = 0, $5 = 0; - FUNCTION_TABLE_ii[HEAP32[(HEAP32[$0 >> 2] | 0) + 24 >> 2] & 127]($0) | 0; - $5 = __ZNKSt3__26locale9use_facetERNS0_2idE($1, 66824) | 0; - HEAP32[$0 + 36 >> 2] = $5; - $12 = (FUNCTION_TABLE_ii[HEAP32[(HEAP32[$5 >> 2] | 0) + 28 >> 2] & 127]($5) | 0) & 1; - HEAP8[$0 + 44 >> 0] = $12; - return; +function _wmemcpy($d, $s, $n) { + $d = $d | 0; + $s = $s | 0; + $n = $n | 0; + var $d$addr$06 = 0, $n$addr$05 = 0, $s$addr$04 = 0; + if ($n | 0) { + $d$addr$06 = $d; + $n$addr$05 = $n; + $s$addr$04 = $s; + while (1) { + $n$addr$05 = $n$addr$05 + -1 | 0; + HEAP32[$d$addr$06 >> 2] = HEAP32[$s$addr$04 >> 2]; + if (!$n$addr$05) break; else { + $d$addr$06 = $d$addr$06 + 4 | 0; + $s$addr$04 = $s$addr$04 + 4 | 0; + } + } + } + return $d | 0; } -function __ZNSt3__211__stdoutbufIcE5imbueERKNS_6localeE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $12 = 0, $5 = 0; - FUNCTION_TABLE_ii[HEAP32[(HEAP32[$0 >> 2] | 0) + 24 >> 2] & 127]($0) | 0; - $5 = __ZNKSt3__26locale9use_facetERNS0_2idE($1, 66816) | 0; - HEAP32[$0 + 36 >> 2] = $5; - $12 = (FUNCTION_TABLE_ii[HEAP32[(HEAP32[$5 >> 2] | 0) + 28 >> 2] & 127]($5) | 0) & 1; - HEAP8[$0 + 44 >> 0] = $12; +function __ZNK12_GLOBAL__N_116itanium_demangle13ParameterPack23initializePackExpansionERNS_12OutputStreamE($this, $S) { + $this = $this | 0; + $S = $S | 0; + var $CurrentPackMax = 0, $call2 = 0; + $CurrentPackMax = $S + 16 | 0; + if ((HEAP32[$CurrentPackMax >> 2] | 0) == -1) { + $call2 = __ZNK12_GLOBAL__N_116itanium_demangle9NodeArray4sizeEv($this + 8 | 0) | 0; + HEAP32[$CurrentPackMax >> 2] = $call2; + HEAP32[$S + 12 >> 2] = 0; + } return; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_13EnclosingExprEJRA9_KcRPNS0_4NodeERA2_S8_EEESC_DpOT0_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle13EnclosingExprEJRA9_KcRPNS2_4NodeERA2_S4_EEEPT_DpOT0_($0 + 368 | 0, $1, $2, 51964) | 0; +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle10NestedNameEJRPNS2_4NodeES6_EEEPT_DpOT0_($this, $args, $args1) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + var $call = 0; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 16) | 0; + __ZN12_GLOBAL__N_116itanium_demangle10NestedNameC2EPNS0_4NodeES3_($call, HEAP32[$args >> 2] | 0, HEAP32[$args1 >> 2] | 0); + return $call | 0; } -function __ZN6vision4NodeILi96EEC2EiPKh($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $4 = 0; - HEAP32[$0 >> 2] = $1; - HEAP8[$0 + 100 >> 0] = 1; - $4 = $0 + 104 | 0; - HEAP32[$4 >> 2] = 0; - HEAP32[$4 + 4 >> 2] = 0; - HEAP32[$4 + 8 >> 2] = 0; - HEAP32[$4 + 12 >> 2] = 0; - HEAP32[$4 + 16 >> 2] = 0; - HEAP32[$4 + 20 >> 2] = 0; - __ZN6vision10CopyVectorIhEEvPT_PKS1_m($0 + 4 | 0, $2, 96); - return; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_12InitListExprEJRPNS0_4NodeENS0_9NodeArrayEEEES9_DpOT0_($this, $args, $args1) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle12InitListExprEJRPNS2_4NodeENS2_9NodeArrayEEEEPT_DpOT0_($this + 368 | 0, $args, $args1) | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_14ConversionExprEJRPNS0_4NodeENS0_9NodeArrayEEEES9_DpOT0_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle14ConversionExprEJRPNS2_4NodeENS2_9NodeArrayEEEEPT_DpOT0_($0 + 368 | 0, $1, $2) | 0; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_10VectorTypeEJRPNS0_4NodeERNS_10StringViewEEEES9_DpOT0_($this, $args, $args1) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle10VectorTypeEJRPNS2_4NodeERNS_10StringViewEEEEPT_DpOT0_($this + 368 | 0, $args, $args1) | 0; } -function __ZNSt3__213unordered_mapIiNS_6vectorIN6vision7Point3dIfEENS_9allocatorIS4_EEEENS_4hashIiEENS_8equal_toIiEENS5_INS_4pairIKiS7_EEEEED2Ev($0) { - $0 = $0 | 0; - __ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_6vectorIN6vision7Point3dIfEENS_9allocatorIS5_EEEEEENS_22__unordered_map_hasherIiS9_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS9_NS_8equal_toIiEELb1EEENS6_IS9_EEED2Ev($0); - return; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_10PrefixExprEJRNS_10StringViewERPNS0_4NodeEEEESB_DpOT0_($this, $args, $args1) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle10PrefixExprEJRNS_10StringViewERPNS2_4NodeEEEEPT_DpOT0_($this + 368 | 0, $args, $args1) | 0; } -function __ZNSt3__213unordered_mapIiNS_10shared_ptrIN6vision8KeyframeILi96EEEEENS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS5_EEEEED2Ev($0) { - $0 = $0 | 0; - __ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_10shared_ptrIN6vision8KeyframeILi96EEEEEEENS_22__unordered_map_hasherIiS7_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS7_NS_8equal_toIiEELb1EEENS_9allocatorIS7_EEED2Ev($0); - return; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_10AbiTagAttrEJRPNS0_4NodeERNS_10StringViewEEEES9_DpOT0_($this, $args, $args1) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle10AbiTagAttrEJRPNS2_4NodeERNS_10StringViewEEEEPT_DpOT0_($this + 368 | 0, $args, $args1) | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle21StructuredBindingNameC2ENS0_9NodeArrayE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $3 = 0, $8 = 0, $9 = 0; - __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($0, 41, 1, 1, 1); - HEAP32[$0 >> 2] = 19584; - $3 = $1; - $8 = HEAP32[$3 + 4 >> 2] | 0; - $9 = $0 + 8 | 0; - HEAP32[$9 >> 2] = HEAP32[$3 >> 2]; - HEAP32[$9 + 4 >> 2] = $8; +function __ZN12_GLOBAL__N_116itanium_demangle20DynamicExceptionSpecC2ENS0_9NodeArrayE($this, $Types_) { + $this = $this | 0; + $Types_ = $Types_ | 0; + var $0 = 0, $5 = 0, $6 = 0; + __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($this, 17, 1, 1, 1); + HEAP32[$this >> 2] = 20244; + $0 = $Types_; + $5 = HEAP32[$0 + 4 >> 2] | 0; + $6 = $this + 8 | 0; + HEAP32[$6 >> 2] = HEAP32[$0 >> 2]; + HEAP32[$6 + 4 >> 2] = $5; return; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_9ArrayTypeEJRPNS0_4NodeERNS0_12NodeOrStringEEEES9_DpOT0_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle9ArrayTypeEJRPNS2_4NodeERNS2_12NodeOrStringEEEEPT_DpOT0_($0 + 368 | 0, $1, $2) | 0; -} - -function __ZN12_GLOBAL__N_116itanium_demangle20TemplateArgumentPackC2ENS0_9NodeArrayE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $3 = 0, $8 = 0, $9 = 0; - __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($0, 28, 1, 1, 1); - HEAP32[$0 >> 2] = 18220; - $3 = $1; - $8 = HEAP32[$3 + 4 >> 2] | 0; - $9 = $0 + 8 | 0; - HEAP32[$9 >> 2] = HEAP32[$3 >> 2]; - HEAP32[$9 + 4 >> 2] = $8; +function __ZN12_GLOBAL__N_116itanium_demangle15ConditionalExprC2EPKNS0_4NodeES4_S4_($this, $Cond_, $Then_, $Else_) { + $this = $this | 0; + $Cond_ = $Cond_ | 0; + $Then_ = $Then_ | 0; + $Else_ = $Else_ | 0; + __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($this, 45, 1, 1, 1); + HEAP32[$this >> 2] = 18572; + HEAP32[$this + 8 >> 2] = $Cond_; + HEAP32[$this + 12 >> 2] = $Then_; + HEAP32[$this + 16 >> 2] = $Else_; return; } -function __ZN12_GLOBAL__N_116itanium_demangle20DynamicExceptionSpecC2ENS0_9NodeArrayE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $3 = 0, $8 = 0, $9 = 0; - __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($0, 17, 1, 1, 1); - HEAP32[$0 >> 2] = 20244; - $3 = $1; - $8 = HEAP32[$3 + 4 >> 2] | 0; - $9 = $0 + 8 | 0; - HEAP32[$9 >> 2] = HEAP32[$3 >> 2]; - HEAP32[$9 + 4 >> 2] = $8; - return; +function __ZNKSt3__27collateIwE7do_hashEPKwS3_($this, $__lo, $__hi) { + $this = $this | 0; + $__lo = $__lo | 0; + $__hi = $__hi | 0; + var $__h$0 = 0, $__p$0 = 0, $add = 0, $and = 0; + $__h$0 = 0; + $__p$0 = $__lo; + while (1) { + if (($__p$0 | 0) == ($__hi | 0)) break; + $add = (HEAP32[$__p$0 >> 2] | 0) + ($__h$0 << 4) | 0; + $and = $add & -268435456; + $__h$0 = ($and >>> 24 | $and) ^ $add; + $__p$0 = $__p$0 + 4 | 0; + } + return $__h$0 | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle16FloatLiteralImplIfEC2ENS_10StringViewE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $3 = 0, $8 = 0, $9 = 0; - __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($0, 62, 1, 1, 1); - HEAP32[$0 >> 2] = 18088; - $3 = $1; - $8 = HEAP32[$3 + 4 >> 2] | 0; - $9 = $0 + 8 | 0; - HEAP32[$9 >> 2] = HEAP32[$3 >> 2]; - HEAP32[$9 + 4 >> 2] = $8; - return; +function __ZNKSt3__27collateIcE7do_hashEPKcS3_($this, $__lo, $__hi) { + $this = $this | 0; + $__lo = $__lo | 0; + $__hi = $__hi | 0; + var $__h$0 = 0, $__p$0 = 0, $add = 0, $and = 0; + $__h$0 = 0; + $__p$0 = $__lo; + while (1) { + if (($__p$0 | 0) == ($__hi | 0)) break; + $add = ($__h$0 << 4) + (HEAP8[$__p$0 >> 0] | 0) | 0; + $and = $add & -268435456; + $__h$0 = ($and >>> 24 | $and) ^ $add; + $__p$0 = $__p$0 + 1 | 0; + } + return $__h$0 | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle16FloatLiteralImplIdEC2ENS_10StringViewE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $3 = 0, $8 = 0, $9 = 0; - __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($0, 63, 1, 1, 1); - HEAP32[$0 >> 2] = 18044; - $3 = $1; - $8 = HEAP32[$3 + 4 >> 2] | 0; - $9 = $0 + 8 | 0; - HEAP32[$9 >> 2] = HEAP32[$3 >> 2]; - HEAP32[$9 + 4 >> 2] = $8; - return; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_14IntegerLiteralEJRNS_10StringViewES9_EEEPNS0_4NodeEDpOT0_($this, $args, $args1) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle14IntegerLiteralEJRNS_10StringViewES5_EEEPT_DpOT0_($this + 368 | 0, $args, $args1) | 0; } -function _calloc($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $3 = 0, $8 = 0; - if ($0) { - $3 = Math_imul($1, $0) | 0; - if (($1 | $0) >>> 0 > 65535) $$0 = (($3 >>> 0) / ($0 >>> 0) | 0 | 0) == ($1 | 0) ? $3 : -1; else $$0 = $3; - } else $$0 = 0; - $8 = _malloc($$0) | 0; - if (!$8) return $8 | 0; - if (!(HEAP32[$8 + -4 >> 2] & 3)) return $8 | 0; - _memset($8 | 0, 0, $$0 | 0) | 0; - return $8 | 0; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_10VectorTypeEJRPNS0_4NodeENS_10StringViewEEEES9_DpOT0_($this, $args, $args1) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle10VectorTypeEJRPNS2_4NodeENS_10StringViewEEEEPT_DpOT0_($this + 368 | 0, $args, $args1) | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle16FloatLiteralImplIeEC2ENS_10StringViewE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $3 = 0, $8 = 0, $9 = 0; - __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($0, 64, 1, 1, 1); - HEAP32[$0 >> 2] = 18e3; - $3 = $1; - $8 = HEAP32[$3 + 4 >> 2] | 0; - $9 = $0 + 8 | 0; - HEAP32[$9 >> 2] = HEAP32[$3 >> 2]; - HEAP32[$9 + 4 >> 2] = $8; +function __ZN12_GLOBAL__N_116itanium_demangle13FunctionParamC2ENS_10StringViewE($this, $Number_) { + $this = $this | 0; + $Number_ = $Number_ | 0; + var $0 = 0, $5 = 0, $6 = 0; + __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($this, 54, 1, 1, 1); + HEAP32[$this >> 2] = 19408; + $0 = $Number_; + $5 = HEAP32[$0 + 4 >> 2] | 0; + $6 = $this + 8 | 0; + HEAP32[$6 >> 2] = HEAP32[$0 >> 2]; + HEAP32[$6 + 4 >> 2] = $5; return; } -function __ZN12_GLOBAL__N_116itanium_demangle15PixelVectorTypeC2ENS0_12NodeOrStringE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $3 = 0, $8 = 0, $9 = 0; - __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($0, 26, 1, 1, 1); - HEAP32[$0 >> 2] = 20024; - $3 = $1; - $8 = HEAP32[$3 + 4 >> 2] | 0; - $9 = $0 + 8 | 0; - HEAP32[$9 >> 2] = HEAP32[$3 >> 2]; - HEAP32[$9 + 4 >> 2] = $8; +function __ZN12_GLOBAL__N_114register_floatIfEEvPKc($name) { + $name = $name | 0; + var $call = 0, $name$addr = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $name$addr = sp; + HEAP32[$name$addr >> 2] = $name; + $call = __ZN10emscripten8internal6TypeIDIfvE3getEv() | 0; + __embind_register_float($call | 0, HEAP32[$name$addr >> 2] | 0, 4); + STACKTOP = sp; return; } -function __ZNSt3__26vectorItNS_9allocatorItEEE6resizeEm($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $4 = 0, $6 = 0, $8 = 0; - $2 = $0 + 4 | 0; - $4 = HEAP32[$0 >> 2] | 0; - $6 = (HEAP32[$2 >> 2] | 0) - $4 >> 1; - $8 = $4; - if ($6 >>> 0 >= $1 >>> 0) { - if ($6 >>> 0 > $1 >>> 0) HEAP32[$2 >> 2] = $8 + ($1 << 1); - } else __ZNSt3__26vectorItNS_9allocatorItEEE8__appendEm($0, $1 - $6 | 0); +function __ZN12_GLOBAL__N_114register_floatIdEEvPKc($name) { + $name = $name | 0; + var $call = 0, $name$addr = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $name$addr = sp; + HEAP32[$name$addr >> 2] = $name; + $call = __ZN10emscripten8internal6TypeIDIdvE3getEv() | 0; + __embind_register_float($call | 0, HEAP32[$name$addr >> 2] | 0, 8); + STACKTOP = sp; return; } -function __ZNSt3__26vectorIiNS_9allocatorIiEEE6resizeEm($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $4 = 0, $6 = 0, $8 = 0; - $2 = $0 + 4 | 0; - $4 = HEAP32[$0 >> 2] | 0; - $6 = (HEAP32[$2 >> 2] | 0) - $4 >> 2; - $8 = $4; - if ($6 >>> 0 >= $1 >>> 0) { - if ($6 >>> 0 > $1 >>> 0) HEAP32[$2 >> 2] = $8 + ($1 << 2); - } else __ZNSt3__26vectorIiNS_9allocatorIiEEE8__appendEm($0, $1 - $6 | 0); - return; +function ___memrchr($m, $c, $n) { + $m = $m | 0; + $c = $c | 0; + $n = $n | 0; + var $0 = 0, $dec8$in = 0, $retval$0 = 0; + L1 : do if (!$n) $retval$0 = 0; else { + $0 = $c & 255; + $dec8$in = $n; + while (1) { + $dec8$in = $dec8$in + -1 | 0; + if ((HEAP8[$m + $dec8$in >> 0] | 0) == $0 << 24 >> 24) break; + if (!$dec8$in) { + $retval$0 = 0; + break L1; + } + } + $retval$0 = $m + $dec8$in | 0; + } while (0); + return $retval$0 | 0; } -function __ZNSt3__26vectorIfNS_9allocatorIfEEE6resizeEm($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $4 = 0, $6 = 0, $8 = 0; - $2 = $0 + 4 | 0; - $4 = HEAP32[$0 >> 2] | 0; - $6 = (HEAP32[$2 >> 2] | 0) - $4 >> 2; - $8 = $4; - if ($6 >>> 0 >= $1 >>> 0) { - if ($6 >>> 0 > $1 >>> 0) HEAP32[$2 >> 2] = $8 + ($1 << 2); - } else __ZNSt3__26vectorIfNS_9allocatorIfEEE8__appendEm($0, $1 - $6 | 0); +function __ZNSt3__214__split_bufferIhRNS_9allocatorIhEEE18__construct_at_endEm($this, $__n) { + $this = $this | 0; + $__n = $__n | 0; + var $0 = 0, $__end_ = 0, $__n$addr$0 = 0; + $__end_ = $this + 8 | 0; + $0 = HEAP32[$__end_ >> 2] | 0; + $__n$addr$0 = $__n; + do { + HEAP8[$0 >> 0] = 0; + $0 = (HEAP32[$__end_ >> 2] | 0) + 1 | 0; + HEAP32[$__end_ >> 2] = $0; + $__n$addr$0 = $__n$addr$0 + -1 | 0; + } while (($__n$addr$0 | 0) != 0); return; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_12InitListExprEJRPNS0_4NodeENS0_9NodeArrayEEEES9_DpOT0_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle12InitListExprEJRPNS2_4NodeENS2_9NodeArrayEEEEPT_DpOT0_($0 + 368 | 0, $1, $2) | 0; -} - -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_10VectorTypeEJRPNS0_4NodeERNS_10StringViewEEEES9_DpOT0_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle10VectorTypeEJRPNS2_4NodeERNS_10StringViewEEEEPT_DpOT0_($0 + 368 | 0, $1, $2) | 0; +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle9LocalNameEJRPNS2_4NodeES6_EEEPT_DpOT0_($this, $args, $args1) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + var $call = 0; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 16) | 0; + __ZN12_GLOBAL__N_116itanium_demangle9LocalNameC2EPNS0_4NodeES3_($call, HEAP32[$args >> 2] | 0, HEAP32[$args1 >> 2] | 0); + return $call | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_10PrefixExprEJRNS_10StringViewERPNS0_4NodeEEEESB_DpOT0_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle10PrefixExprEJRNS_10StringViewERPNS2_4NodeEEEEPT_DpOT0_($0 + 368 | 0, $1, $2) | 0; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8QualTypeEJRPNS0_4NodeERNS0_10QualifiersEEEES9_DpOT0_($this, $args, $args1) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8QualTypeEJRPNS2_4NodeERNS2_10QualifiersEEEEPT_DpOT0_($this + 368 | 0, $args, $args1) | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_10AbiTagAttrEJRPNS0_4NodeERNS_10StringViewEEEES9_DpOT0_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle10AbiTagAttrEJRPNS2_4NodeERNS_10StringViewEEEEPT_DpOT0_($0 + 368 | 0, $1, $2) | 0; +function __ZN12_GLOBAL__N_116itanium_demangle15UnnamedTypeNameC2ENS_10StringViewE($this, $Count_) { + $this = $this | 0; + $Count_ = $Count_ | 0; + var $0 = 0, $5 = 0, $6 = 0; + __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($this, 39, 1, 1, 1); + HEAP32[$this >> 2] = 19672; + $0 = $Count_; + $5 = HEAP32[$0 + 4 >> 2] | 0; + $6 = $this + 8 | 0; + HEAP32[$6 >> 2] = HEAP32[$0 >> 2]; + HEAP32[$6 + 4 >> 2] = $5; + return; } -function __ZNKSt3__220__time_get_c_storageIwE3__xEv($0) { - $0 = $0 | 0; - if ((HEAP8[64672] | 0) == 0 ? ___cxa_guard_acquire(64672) | 0 : 0) { - HEAP32[16666] = 0; - HEAP32[16667] = 0; - HEAP32[16668] = 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6__initEPKwm(66664, 21636, __ZNSt3__211char_traitsIwE6lengthEPKw(21636) | 0); - ___cxa_guard_release(64672); - } - return 66664; +function __ZN12_GLOBAL__N_116itanium_demangle12TemplateArgsC2ENS0_9NodeArrayE($this, $Params_) { + $this = $this | 0; + $Params_ = $Params_ | 0; + var $0 = 0, $5 = 0, $6 = 0; + __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($this, 30, 1, 1, 1); + HEAP32[$this >> 2] = 17868; + $0 = $Params_; + $5 = HEAP32[$0 + 4 >> 2] | 0; + $6 = $this + 8 | 0; + HEAP32[$6 >> 2] = HEAP32[$0 >> 2]; + HEAP32[$6 + 4 >> 2] = $5; + return; } -function __ZNKSt3__220__time_get_c_storageIwE3__rEv($0) { - $0 = $0 | 0; - if ((HEAP8[64680] | 0) == 0 ? ___cxa_guard_acquire(64680) | 0 : 0) { - HEAP32[16669] = 0; - HEAP32[16670] = 0; - HEAP32[16671] = 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6__initEPKwm(66676, 21672, __ZNSt3__211char_traitsIwE6lengthEPKw(21672) | 0); - ___cxa_guard_release(64680); - } - return 66676; +function __ZN12_GLOBAL__N_116itanium_demangle12NodeOrStringC2ENS_10StringViewE($this, $Str) { + $this = $this | 0; + $Str = $Str | 0; + var $call = 0, $call2 = 0, $cmp = 0; + $call = __ZNK12_GLOBAL__N_110StringView5beginEv($Str) | 0; + $call2 = __ZNK12_GLOBAL__N_110StringView3endEv($Str) | 0; + $cmp = ($call2 | 0) == 0; + HEAP32[$this >> 2] = $cmp ? $call + 1 | 0 : $call; + HEAP32[$this + 4 >> 2] = $cmp ? $call2 + 1 | 0 : $call2; + return; +} + +function _sn_write($f, $s, $l) { + $f = $f | 0; + $s = $s | 0; + $l = $l | 0; + var $1 = 0, $spec$select = 0, $sub$ptr$sub = 0, $wpos = 0; + $wpos = $f + 20 | 0; + $1 = HEAP32[$wpos >> 2] | 0; + $sub$ptr$sub = (HEAP32[$f + 16 >> 2] | 0) - $1 | 0; + $spec$select = $sub$ptr$sub >>> 0 > $l >>> 0 ? $l : $sub$ptr$sub; + _memcpy($1 | 0, $s | 0, $spec$select | 0) | 0; + HEAP32[$wpos >> 2] = (HEAP32[$wpos >> 2] | 0) + $spec$select; + return $l | 0; } -function __ZNKSt3__220__time_get_c_storageIwE3__cEv($0) { - $0 = $0 | 0; - if ((HEAP8[64688] | 0) == 0 ? ___cxa_guard_acquire(64688) | 0 : 0) { - HEAP32[16672] = 0; - HEAP32[16673] = 0; - HEAP32[16674] = 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6__initEPKwm(66688, 21720, __ZNSt3__211char_traitsIwE6lengthEPKw(21720) | 0); - ___cxa_guard_release(64688); - } - return 66688; +function _memmove(dest, src, num) { + dest = dest | 0; + src = src | 0; + num = num | 0; + var ret = 0; + if ((src | 0) < (dest | 0) & (dest | 0) < (src + num | 0)) { + ret = dest; + 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 >> 0] = HEAP8[src >> 0] | 0; + } + dest = ret; + } else _memcpy(dest, src, num) | 0; + return dest | 0; } -function __ZNKSt3__220__time_get_c_storageIcE3__xEv($0) { - $0 = $0 | 0; - if ((HEAP8[64592] | 0) == 0 ? ___cxa_guard_acquire(64592) | 0 : 0) { - HEAP32[16649] = 0; - HEAP32[16650] = 0; - HEAP32[16651] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm(66596, 59411, __ZNSt3__211char_traitsIcE6lengthEPKc(59411) | 0); - ___cxa_guard_release(64592); +function __Znwm($size) { + $size = $size | 0; + var $call = 0, $call$lcssa = 0, $call2 = 0, $spec$store$select = 0; + $spec$store$select = ($size | 0) == 0 ? 1 : $size; + while (1) { + $call = _malloc($spec$store$select) | 0; + if ($call | 0) { + $call$lcssa = $call; + break; + } + $call2 = __ZSt15get_new_handlerv() | 0; + if (!$call2) { + $call$lcssa = 0; + break; + } + FUNCTION_TABLE_v[$call2 & 3](); } - return 66596; + return $call$lcssa | 0; } -function __ZNKSt3__220__time_get_c_storageIcE3__rEv($0) { - $0 = $0 | 0; - if ((HEAP8[64600] | 0) == 0 ? ___cxa_guard_acquire(64600) | 0 : 0) { - HEAP32[16652] = 0; - HEAP32[16653] = 0; - HEAP32[16654] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm(66608, 59420, __ZNSt3__211char_traitsIcE6lengthEPKc(59420) | 0); - ___cxa_guard_release(64600); - } - return 66608; +function __ZN6vision9MaxIndex5IfEEiPKT_($x) { + $x = $x | 0; + var $index$0 = 0, $index$1 = 0, $index$2 = 0; + $index$0 = +HEAPF32[$x + 4 >> 2] > +HEAPF32[$x >> 2] & 1; + $index$1 = +HEAPF32[$x + 8 >> 2] > +HEAPF32[$x + ($index$0 << 2) >> 2] ? 2 : $index$0; + $index$2 = +HEAPF32[$x + 12 >> 2] > +HEAPF32[$x + ($index$1 << 2) >> 2] ? 3 : $index$1; + return (+HEAPF32[$x + 16 >> 2] > +HEAPF32[$x + ($index$2 << 2) >> 2] ? 4 : $index$2) | 0; } -function __ZNKSt3__220__time_get_c_storageIcE3__cEv($0) { - $0 = $0 | 0; - if ((HEAP8[64608] | 0) == 0 ? ___cxa_guard_acquire(64608) | 0 : 0) { - HEAP32[16655] = 0; - HEAP32[16656] = 0; - HEAP32[16657] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm(66620, 59432, __ZNSt3__211char_traitsIcE6lengthEPKc(59432) | 0); - ___cxa_guard_release(64608); - } - return 66620; +function __ZN6vision25GaussianScaleSpacePyramidC2Ev($this) { + $this = $this | 0; + var $__begin_$i$i = 0; + HEAP32[$this >> 2] = 16772; + $__begin_$i$i = $this + 4 | 0; + HEAP32[$__begin_$i$i >> 2] = 0; + HEAP32[$__begin_$i$i + 4 >> 2] = 0; + HEAP32[$__begin_$i$i + 8 >> 2] = 0; + HEAP32[$__begin_$i$i + 12 >> 2] = 0; + HEAP32[$__begin_$i$i + 16 >> 2] = 0; + HEAP32[$__begin_$i$i + 20 >> 2] = 0; + HEAP32[$__begin_$i$i + 24 >> 2] = 0; + return; } -function __ZNKSt3__220__time_get_c_storageIcE3__XEv($0) { - $0 = $0 | 0; - if ((HEAP8[64584] | 0) == 0 ? ___cxa_guard_acquire(64584) | 0 : 0) { - HEAP32[16646] = 0; - HEAP32[16647] = 0; - HEAP32[16648] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm(66584, 59402, __ZNSt3__211char_traitsIcE6lengthEPKc(59402) | 0); - ___cxa_guard_release(64584); +function __ZNSt3__26vectorIN6vision12FeaturePointENS_9allocatorIS2_EEEC2Em($this, $__n) { + $this = $this | 0; + $__n = $__n | 0; + HEAP32[$this >> 2] = 0; + HEAP32[$this + 4 >> 2] = 0; + HEAP32[$this + 8 >> 2] = 0; + if ($__n | 0) { + __ZNSt3__26vectorIN6vision12FeaturePointENS_9allocatorIS2_EEE11__vallocateEm($this, $__n); + __ZNSt3__26vectorIN6vision12FeaturePointENS_9allocatorIS2_EEE18__construct_at_endEm($this, $__n); } - return 66584; -} - -function __ZN12_GLOBAL__N_116register_integerItEEvPKc($0) { - $0 = $0 | 0; - var $1 = 0, $2 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $1 = sp; - HEAP32[$1 >> 2] = $0; - $2 = __ZN10emscripten8internal6TypeIDItvE3getEv() | 0; - __embind_register_integer($2 | 0, HEAP32[$1 >> 2] | 0, 2, 0, 65535); - STACKTOP = sp; return; } -function ___fseeko($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $10 = 0, $9 = 0, $phitmp = 0; - if ((HEAP32[$0 + 76 >> 2] | 0) > -1) { - $phitmp = (___lockfile($0) | 0) == 0; - $9 = ___fseeko_unlocked($0, $1, $2, $3) | 0; - if ($phitmp) $10 = $9; else { - ___unlockfile($0); - $10 = $9; - } - } else $10 = ___fseeko_unlocked($0, $1, $2, $3) | 0; - return $10 | 0; -} - -function __ZNSt3__26vectorIN6vision12FeaturePointENS_9allocatorIS2_EEEC2Em($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - HEAP32[$0 >> 2] = 0; - HEAP32[$0 + 4 >> 2] = 0; - HEAP32[$0 + 8 >> 2] = 0; - if ($1 | 0) { - __ZNSt3__26vectorIN6vision12FeaturePointENS_9allocatorIS2_EEE11__vallocateEm($0, $1); - __ZNSt3__26vectorIN6vision12FeaturePointENS_9allocatorIS2_EEE18__construct_at_endEm($0, $1); - } +function __ZN6vision11ScopedTimerC2EPKc($this, $str) { + $this = $this | 0; + $str = $str | 0; + var $mStr = 0; + __ZN6vision5TimerC2Ev($this); + $mStr = $this + 16 | 0; + HEAP32[$mStr >> 2] = 0; + HEAP32[$mStr + 4 >> 2] = 0; + HEAP32[$mStr + 8 >> 2] = 0; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm($mStr, $str, __ZNSt3__211char_traitsIcE6lengthEPKc($str) | 0); + __ZN6vision5Timer5startEv($this); return; } -function __ZNKSt3__220__time_get_c_storageIwE3__XEv($0) { - $0 = $0 | 0; - if ((HEAP8[64664] | 0) == 0 ? ___cxa_guard_acquire(64664) | 0 : 0) { - HEAP32[16663] = 0; - HEAP32[16664] = 0; - HEAP32[16665] = 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6__initEPKwm(66652, 21600, __ZNSt3__211char_traitsIwE6lengthEPKw(21600) | 0); - ___cxa_guard_release(64664); - } - return 66652; -} -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_14IntegerLiteralEJRNS_10StringViewES9_EEEPNS0_4NodeEDpOT0_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle14IntegerLiteralEJRNS_10StringViewES5_EEEPT_DpOT0_($0 + 368 | 0, $1, $2) | 0; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_9DotSuffixEJRPNS0_4NodeENS_10StringViewEEEES9_DpOT0_($this, $args, $args1) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle9DotSuffixEJRPNS2_4NodeENS_10StringViewEEEEPT_DpOT0_($this + 368 | 0, $args, $args1) | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_12CtorDtorNameEJRPNS0_4NodeEbRiEEES9_DpOT0_($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle12CtorDtorNameEJRPNS2_4NodeEbRiEEEPT_DpOT0_($0 + 368 | 0, $1, $2, $3) | 0; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_21CtorVtableSpecialNameEJRPNS0_4NodeESA_EEES9_DpOT0_($this, $args, $args1) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle21CtorVtableSpecialNameEJRPNS2_4NodeES6_EEEPT_DpOT0_($this + 368 | 0, $args, $args1) | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_10VectorTypeEJRPNS0_4NodeENS_10StringViewEEEES9_DpOT0_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle10VectorTypeEJRPNS2_4NodeENS_10StringViewEEEEPT_DpOT0_($0 + 368 | 0, $1, $2) | 0; +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle27ExpandedSpecialSubstitutionEJRNS2_14SpecialSubKindEEEEPT_DpOT0_($this, $args) { + $this = $this | 0; + $args = $args | 0; + var $call = 0; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 12) | 0; + __ZN12_GLOBAL__N_116itanium_demangle27ExpandedSpecialSubstitutionC2ENS0_14SpecialSubKindE($call, HEAP32[$args >> 2] | 0); + return $call | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle15UnnamedTypeNameC2ENS_10StringViewE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $3 = 0, $8 = 0, $9 = 0; - __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($0, 39, 1, 1, 1); - HEAP32[$0 >> 2] = 19672; - $3 = $1; - $8 = HEAP32[$3 + 4 >> 2] | 0; - $9 = $0 + 8 | 0; - HEAP32[$9 >> 2] = HEAP32[$3 >> 2]; - HEAP32[$9 + 4 >> 2] = $8; +function __ZNSt3__219__shared_weak_count14__release_weakEv($this) { + $this = $this | 0; + var $2 = 0, $__shared_weak_owners_ = 0; + $__shared_weak_owners_ = $this + 8 | 0; + if ((HEAP32[$__shared_weak_owners_ >> 2] | 0) != 0 ? ($2 = HEAP32[$__shared_weak_owners_ >> 2] | 0, HEAP32[$__shared_weak_owners_ >> 2] = $2 + -1, ($2 | 0) != 0) : 0) {} else FUNCTION_TABLE_vi[HEAP32[(HEAP32[$this >> 2] | 0) + 16 >> 2] & 255]($this); return; } -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle27ExpandedSpecialSubstitutionEJRNS2_14SpecialSubKindEEEEPT_DpOT0_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 12) | 0; - __ZN12_GLOBAL__N_116itanium_demangle27ExpandedSpecialSubstitutionC2ENS0_14SpecialSubKindE($2, HEAP32[$1 >> 2] | 0); - return $2 | 0; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_20NameWithTemplateArgsEJRPNS0_4NodeESA_EEES9_DpOT0_($this, $args, $args1) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle20NameWithTemplateArgsEJRPNS2_4NodeES6_EEEPT_DpOT0_($this + 368 | 0, $args, $args1) | 0; } -function __ZN12_GLOBAL__N_116register_integerIhEEvPKc($0) { - $0 = $0 | 0; - var $1 = 0, $2 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $1 = sp; - HEAP32[$1 >> 2] = $0; - $2 = __ZN10emscripten8internal6TypeIDIhvE3getEv() | 0; - __embind_register_integer($2 | 0, HEAP32[$1 >> 2] | 0, 1, 0, 255); - STACKTOP = sp; +function __ZN12_GLOBAL__N_116itanium_demangle13NodeArrayNodeC2ENS0_9NodeArrayE($this, $Array_) { + $this = $this | 0; + $Array_ = $Array_ | 0; + var $0 = 0, $5 = 0, $6 = 0; + __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($this, 0, 1, 1, 1); + HEAP32[$this >> 2] = 18352; + $0 = $Array_; + $5 = HEAP32[$0 + 4 >> 2] | 0; + $6 = $this + 8 | 0; + HEAP32[$6 >> 2] = HEAP32[$0 >> 2]; + HEAP32[$6 + 4 >> 2] = $5; return; } -function _merged_1v_upsample($0, $1, $2, $3, $4, $5, $6) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - $6 = $6 | 0; - FUNCTION_TABLE_viiii[HEAP32[(HEAP32[$0 + 476 >> 2] | 0) + 12 >> 2] & 31]($0, $1, HEAP32[$2 >> 2] | 0, $4 + (HEAP32[$5 >> 2] << 2) | 0); - HEAP32[$5 >> 2] = (HEAP32[$5 >> 2] | 0) + 1; - HEAP32[$2 >> 2] = (HEAP32[$2 >> 2] | 0) + 1; - return; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8CastExprEJRA17_KcRPNS0_4NodeESD_EEESC_DpOT0_($this, $args1, $args3) { + $this = $this | 0; + $args1 = $args1 | 0; + $args3 = $args3 | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8CastExprEJRA17_KcRPNS2_4NodeES9_EEEPT_DpOT0_($this + 368 | 0, 54029, $args1, $args3) | 0; } -function __ZNKSt3__212_GLOBAL__N_111__fake_bindclEv($0) { - $0 = $0 | 0; - var $$unpack = 0, $$unpack2 = 0, $10 = 0, $3 = 0; - $$unpack = HEAP32[$0 + 4 >> 2] | 0; - $$unpack2 = HEAP32[$0 + 8 >> 2] | 0; - $3 = (HEAP32[$0 >> 2] | 0) + ($$unpack2 >> 1) | 0; - if (!($$unpack2 & 1)) $10 = $$unpack; else $10 = HEAP32[(HEAP32[$3 >> 2] | 0) + $$unpack >> 2] | 0; - FUNCTION_TABLE_vi[$10 & 255]($3); - return; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8CastExprEJRA13_KcRPNS0_4NodeESD_EEESC_DpOT0_($this, $args1, $args3) { + $this = $this | 0; + $args1 = $args1 | 0; + $args3 = $args3 | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8CastExprEJRA13_KcRPNS2_4NodeES9_EEEPT_DpOT0_($this + 368 | 0, 55323, $args1, $args3) | 0; } -function __ZN12_GLOBAL__N_116register_integerImEEvPKc($0) { - $0 = $0 | 0; - var $1 = 0, $2 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $1 = sp; - HEAP32[$1 >> 2] = $0; - $2 = __ZN10emscripten8internal6TypeIDImvE3getEv() | 0; - __embind_register_integer($2 | 0, HEAP32[$1 >> 2] | 0, 4, 0, -1); - STACKTOP = sp; - return; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8CastExprEJRA12_KcRPNS0_4NodeESD_EEESC_DpOT0_($this, $args1, $args3) { + $this = $this | 0; + $args1 = $args1 | 0; + $args3 = $args3 | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8CastExprEJRA12_KcRPNS2_4NodeES9_EEEPT_DpOT0_($this + 368 | 0, 53970, $args1, $args3) | 0; } -function __ZN12_GLOBAL__N_116register_integerIjEEvPKc($0) { - $0 = $0 | 0; - var $1 = 0, $2 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $1 = sp; - HEAP32[$1 >> 2] = $0; - $2 = __ZN10emscripten8internal6TypeIDIjvE3getEv() | 0; - __embind_register_integer($2 | 0, HEAP32[$1 >> 2] | 0, 4, 0, -1); - STACKTOP = sp; - return; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8CastExprEJRA11_KcRPNS0_4NodeESD_EEESC_DpOT0_($this, $args1, $args3) { + $this = $this | 0; + $args1 = $args1 | 0; + $args3 = $args3 | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8CastExprEJRA11_KcRPNS2_4NodeES9_EEEPT_DpOT0_($this + 368 | 0, 55495, $args1, $args3) | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8QualTypeEJRPNS0_4NodeERNS0_10QualifiersEEEES9_DpOT0_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8QualTypeEJRPNS2_4NodeERNS2_10QualifiersEEEEPT_DpOT0_($0 + 368 | 0, $1, $2) | 0; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_10MemberExprEJRPNS0_4NodeERA2_KcSA_EEES9_DpOT0_($this, $args, $args3) { + $this = $this | 0; + $args = $args | 0; + $args3 = $args3 | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle10MemberExprEJRPNS2_4NodeERA2_KcS6_EEEPT_DpOT0_($this + 368 | 0, $args, 54484, $args3) | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_10BracedExprEJRPNS0_4NodeESA_bEEES9_DpOT0_($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle10BracedExprEJRPNS2_4NodeES6_bEEEPT_DpOT0_($0 + 368 | 0, $1, $2, $3) | 0; +function __ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff($im, $x, $y) { + $im = $im | 0; + $x = +$x; + $y = +$y; + var $call = 0, $call1 = 0, $call2 = 0; + $call = __ZNK6vision5Image3getEv($im) | 0; + $call1 = __ZNK6vision5Image5widthEv($im) | 0; + $call2 = __ZNK6vision5Image6heightEv($im) | 0; + return +(+__ZN6vision22bilinear_interpolationIfEET_PKS1_mmmff($call, $call1, $call2, __ZNK6vision5Image4stepEv($im) | 0, $x, $y)); } -function __ZN12_GLOBAL__N_116itanium_demangle13FunctionParamC2ENS_10StringViewE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $3 = 0, $8 = 0, $9 = 0; - __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($0, 54, 1, 1, 1); - HEAP32[$0 >> 2] = 19408; - $3 = $1; - $8 = HEAP32[$3 + 4 >> 2] | 0; - $9 = $0 + 8 | 0; - HEAP32[$9 >> 2] = HEAP32[$3 >> 2]; - HEAP32[$9 + 4 >> 2] = $8; - return; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8CallExprEJRPNS0_4NodeENS0_9NodeArrayEEEES9_DpOT0_($this, $args, $args1) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8CallExprEJRPNS2_4NodeENS2_9NodeArrayEEEEPT_DpOT0_($this + 368 | 0, $args, $args1) | 0; } -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle13QualifiedNameEJRPNS2_4NodeES6_EEEPT_DpOT0_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 16) | 0; - __ZN12_GLOBAL__N_116itanium_demangle13QualifiedNameC2EPKNS0_4NodeES4_($3, HEAP32[$1 >> 2] | 0, HEAP32[$2 >> 2] | 0); - return $3 | 0; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_27ExpandedSpecialSubstitutionEJRNS0_14SpecialSubKindEEEEPNS0_4NodeEDpOT0_($this, $args) { + $this = $this | 0; + $args = $args | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle27ExpandedSpecialSubstitutionEJRNS2_14SpecialSubKindEEEEPT_DpOT0_($this + 368 | 0, $args) | 0; } -function __ZNSt3__26vectorIhNS_9allocatorIhEEE11__vallocateEm($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $4 = 0; - if ((__ZNKSt3__26vectorIhNS_9allocatorIhEEE8max_sizeEv($0) | 0) >>> 0 < $1 >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv($0); else { - $4 = __Znwm($1) | 0; - HEAP32[$0 + 4 >> 2] = $4; - HEAP32[$0 >> 2] = $4; - HEAP32[$0 + 8 >> 2] = $4 + $1; - return; - } +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_19PointerToMemberTypeEJRPNS0_4NodeESA_EEES9_DpOT0_($this, $args, $args1) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle19PointerToMemberTypeEJRPNS2_4NodeES6_EEEPT_DpOT0_($this + 368 | 0, $args, $args1) | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_9DotSuffixEJRPNS0_4NodeENS_10StringViewEEEES9_DpOT0_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle9DotSuffixEJRPNS2_4NodeENS_10StringViewEEEEPT_DpOT0_($0 + 368 | 0, $1, $2) | 0; +function _jinit_input_controller($cinfo) { + $cinfo = $cinfo | 0; + var $call = 0; + $call = FUNCTION_TABLE_iiii[HEAP32[HEAP32[$cinfo + 4 >> 2] >> 2] & 63]($cinfo, 0, 28) | 0; + HEAP32[$cinfo + 460 >> 2] = $call; + HEAP32[$call >> 2] = 89; + HEAP32[$call + 4 >> 2] = 193; + HEAP32[$call + 8 >> 2] = 194; + HEAP32[$call + 12 >> 2] = 195; + HEAP32[$call + 16 >> 2] = 0; + HEAP32[$call + 20 >> 2] = 0; + HEAP32[$call + 24 >> 2] = 1; + return; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_21CtorVtableSpecialNameEJRPNS0_4NodeESA_EEES9_DpOT0_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle21CtorVtableSpecialNameEJRPNS2_4NodeES6_EEEPT_DpOT0_($0 + 368 | 0, $1, $2) | 0; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_18ArraySubscriptExprEJRPNS0_4NodeESA_EEES9_DpOT0_($this, $args, $args1) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle18ArraySubscriptExprEJRPNS2_4NodeES6_EEEPT_DpOT0_($this + 368 | 0, $args, $args1) | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_10DeleteExprEJRPNS0_4NodeERbbEEES9_DpOT0_($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle10DeleteExprEJRPNS2_4NodeERbbEEEPT_DpOT0_($0 + 368 | 0, $1, $2, $3) | 0; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_12InitListExprEJDnNS0_9NodeArrayEEEEPNS0_4NodeEDpOT0_($this, $args, $args1) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle12InitListExprEJDnNS2_9NodeArrayEEEEPT_DpOT0_($this + 368 | 0, $args, $args1) | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle13NodeArrayNodeC2ENS0_9NodeArrayE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $3 = 0, $8 = 0, $9 = 0; - __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($0, 0, 1, 1, 1); - HEAP32[$0 >> 2] = 18352; - $3 = $1; - $8 = HEAP32[$3 + 4 >> 2] | 0; - $9 = $0 + 8 | 0; - HEAP32[$9 >> 2] = HEAP32[$3 >> 2]; - HEAP32[$9 + 4 >> 2] = $8; +function __ZNSt3__26vectorIhNS_9allocatorIhEEE18__construct_at_endEm($this, $__n) { + $this = $this | 0; + $__n = $__n | 0; + var $0 = 0, $__end_ = 0, $__n$addr$0 = 0; + $__end_ = $this + 4 | 0; + $0 = HEAP32[$__end_ >> 2] | 0; + $__n$addr$0 = $__n; + do { + HEAP8[$0 >> 0] = 0; + $0 = (HEAP32[$__end_ >> 2] | 0) + 1 | 0; + HEAP32[$__end_ >> 2] = $0; + $__n$addr$0 = $__n$addr$0 + -1 | 0; + } while (($__n$addr$0 | 0) != 0); return; } -function __ZN12_GLOBAL__N_116itanium_demangle12TemplateArgsC2ENS0_9NodeArrayE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $3 = 0, $8 = 0, $9 = 0; - __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($0, 30, 1, 1, 1); - HEAP32[$0 >> 2] = 17868; - $3 = $1; - $8 = HEAP32[$3 + 4 >> 2] | 0; - $9 = $0 + 8 | 0; - HEAP32[$9 >> 2] = HEAP32[$3 >> 2]; - HEAP32[$9 + 4 >> 2] = $8; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($this, $C) { + $this = $this | 0; + $C = $C | 0; + var $0 = 0, $retval$0 = 0; + $0 = HEAP32[$this >> 2] | 0; + if (($0 | 0) != (HEAP32[$this + 4 >> 2] | 0) ? (HEAP8[$0 >> 0] | 0) == $C << 24 >> 24 : 0) { + HEAP32[$this >> 2] = $0 + 1; + $retval$0 = 1; + } else $retval$0 = 0; + return $retval$0 | 0; +} + +function __ZNSt3__26vectorIN6vision7Point2dIfEENS_9allocatorIS3_EEEC2Em($this, $__n) { + $this = $this | 0; + $__n = $__n | 0; + HEAP32[$this >> 2] = 0; + HEAP32[$this + 4 >> 2] = 0; + HEAP32[$this + 8 >> 2] = 0; + if ($__n | 0) { + __ZNSt3__26vectorIN6vision7Point2dIfEENS_9allocatorIS3_EEE11__vallocateEm($this, $__n); + __ZNSt3__26vectorIN6vision7Point2dIfEENS_9allocatorIS3_EEE18__construct_at_endEm($this, $__n); + } return; } -function _arMatrixAllocf($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $2 = 0, $6 = 0; - $2 = _malloc(12) | 0; - do if ($2) { - $6 = _malloc(Math_imul($0 << 2, $1) | 0) | 0; - HEAP32[$2 >> 2] = $6; - if (!$6) { - _free($2); - $$0 = 0; - break; - } else { - HEAP32[$2 + 4 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $$0 = $2; - break; +function _arUtilRemoveExt($filename) { + $filename = $filename | 0; + var $i$0 = 0, $j$0 = 0, $j$1 = 0; + $i$0 = 0; + $j$0 = -1; + L1 : while (1) { + switch (HEAP8[$filename + $i$0 >> 0] | 0) { + case 0: + { + break L1; + break; + } + case 46: + { + $j$1 = $i$0; + break; + } + default: + $j$1 = $j$0; } - } else $$0 = 0; while (0); - return $$0 | 0; + $i$0 = $i$0 + 1 | 0; + $j$0 = $j$1; + } + if (($j$0 | 0) != -1) HEAP8[$filename + $j$0 >> 0] = 0; + return 0; } -function __ZN12_GLOBAL__N_116itanium_demangle12EnableIfAttrC2ENS0_9NodeArrayE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $3 = 0, $8 = 0, $9 = 0; - __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($0, 9, 1, 1, 1); - HEAP32[$0 >> 2] = 20464; - $3 = $1; - $8 = HEAP32[$3 + 4 >> 2] | 0; - $9 = $0 + 8 | 0; - HEAP32[$9 >> 2] = HEAP32[$3 >> 2]; - HEAP32[$9 + 4 >> 2] = $8; +function __ZN12_GLOBAL__N_116itanium_demangle8NameTypeC2ENS_10StringViewE($this, $Name_) { + $this = $this | 0; + $Name_ = $Name_ | 0; + var $0 = 0, $5 = 0, $6 = 0; + __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($this, 7, 1, 1, 1); + HEAP32[$this >> 2] = 18792; + $0 = $Name_; + $5 = HEAP32[$0 + 4 >> 2] | 0; + $6 = $this + 8 | 0; + HEAP32[$6 >> 2] = HEAP32[$0 >> 2]; + HEAP32[$6 + 4 >> 2] = $5; return; } -function __ZN10emscripten8internal7InvokerIvJiiEE6invokeEPFviiEii($fn, $args, $args1) { - $fn = $fn | 0; - $args = $args | 0; - $args1 = $args1 | 0; - var $call = 0, $call3 = 0; - $call = __ZN10emscripten8internal11BindingTypeIivE12fromWireTypeEi($args) | 0; - $call3 = __ZN10emscripten8internal11BindingTypeIivE12fromWireTypeEi($args1) | 0; - FUNCTION_TABLE_vii[$fn & 255]($call, $call3); +function __ZNSt3__214__split_bufferINS_6vectorINS1_INS_4pairIfmEENS_9allocatorIS3_EEEENS4_IS6_EEEERNS4_IS8_EEE18__construct_at_endEm($this, $__n) { + $this = $this | 0; + $__n = $__n | 0; + var $__end_ = 0, $__end_$promoted = 0; + $__end_ = $this + 8 | 0; + $__end_$promoted = HEAP32[$__end_ >> 2] | 0; + _memset($__end_$promoted | 0, 0, $__n * 12 | 0) | 0; + HEAP32[$__end_ >> 2] = $__end_$promoted + ($__n * 12 | 0); return; } -function _arMatrixAlloc($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $2 = 0, $6 = 0; - $2 = _malloc(12) | 0; - do if ($2) { - $6 = _malloc(Math_imul($0 << 3, $1) | 0) | 0; - HEAP32[$2 >> 2] = $6; - if (!$6) { - _free($2); - $$0 = 0; - break; - } else { - HEAP32[$2 + 4 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $$0 = $2; - break; - } - } else $$0 = 0; while (0); - return $$0 | 0; +function __ZNKSt3__210moneypunctIwLb1EE16do_positive_signEv($agg$result, $this) { + $agg$result = $agg$result | 0; + $this = $this | 0; + var $__i$0$i$i = 0; + HEAP32[$agg$result >> 2] = 0; + HEAP32[$agg$result + 4 >> 2] = 0; + HEAP32[$agg$result + 8 >> 2] = 0; + $__i$0$i$i = 0; + while (1) { + if (($__i$0$i$i | 0) == 3) break; + HEAP32[$agg$result + ($__i$0$i$i << 2) >> 2] = 0; + $__i$0$i$i = $__i$0$i$i + 1 | 0; + } + return; } -function __ZNSt3__26vectorIhNS_9allocatorIhEEE6resizeEm($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $4 = 0, $5 = 0, $7 = 0; - $2 = $0 + 4 | 0; - $4 = HEAP32[$0 >> 2] | 0; - $5 = (HEAP32[$2 >> 2] | 0) - $4 | 0; - $7 = $4; - if ($5 >>> 0 >= $1 >>> 0) { - if ($5 >>> 0 > $1 >>> 0) HEAP32[$2 >> 2] = $7 + $1; - } else __ZNSt3__26vectorIhNS_9allocatorIhEEE8__appendEm($0, $1 - $5 | 0); +function __ZNKSt3__210moneypunctIwLb0EE16do_positive_signEv($agg$result, $this) { + $agg$result = $agg$result | 0; + $this = $this | 0; + var $__i$0$i$i = 0; + HEAP32[$agg$result >> 2] = 0; + HEAP32[$agg$result + 4 >> 2] = 0; + HEAP32[$agg$result + 8 >> 2] = 0; + $__i$0$i$i = 0; + while (1) { + if (($__i$0$i$i | 0) == 3) break; + HEAP32[$agg$result + ($__i$0$i$i << 2) >> 2] = 0; + $__i$0$i$i = $__i$0$i$i + 1 | 0; + } return; } -function __ZNSt3__214__split_bufferIN6vision12FeaturePointERNS_9allocatorIS2_EEE18__construct_at_endEm($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $2 = 0, $3 = 0; - $2 = $0 + 8 | 0; - $$0 = $1; - $3 = HEAP32[$2 >> 2] | 0; - do { - __ZN6vision12FeaturePointC2Ev($3); - $3 = (HEAP32[$2 >> 2] | 0) + 20 | 0; - HEAP32[$2 >> 2] = $3; - $$0 = $$0 + -1 | 0; - } while (($$0 | 0) != 0); +function __ZNKSt3__210moneypunctIcLb1EE16do_positive_signEv($agg$result, $this) { + $agg$result = $agg$result | 0; + $this = $this | 0; + var $__i$0$i$i = 0; + HEAP32[$agg$result >> 2] = 0; + HEAP32[$agg$result + 4 >> 2] = 0; + HEAP32[$agg$result + 8 >> 2] = 0; + $__i$0$i$i = 0; + while (1) { + if (($__i$0$i$i | 0) == 3) break; + HEAP32[$agg$result + ($__i$0$i$i << 2) >> 2] = 0; + $__i$0$i$i = $__i$0$i$i + 1 | 0; + } return; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_20NameWithTemplateArgsEJRPNS0_4NodeESA_EEES9_DpOT0_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle20NameWithTemplateArgsEJRPNS2_4NodeES6_EEEPT_DpOT0_($0 + 368 | 0, $1, $2) | 0; +function __ZNKSt3__210moneypunctIcLb0EE16do_positive_signEv($agg$result, $this) { + $agg$result = $agg$result | 0; + $this = $this | 0; + var $__i$0$i$i = 0; + HEAP32[$agg$result >> 2] = 0; + HEAP32[$agg$result + 4 >> 2] = 0; + HEAP32[$agg$result + 8 >> 2] = 0; + $__i$0$i$i = 0; + while (1) { + if (($__i$0$i$i | 0) == 3) break; + HEAP32[$agg$result + ($__i$0$i$i << 2) >> 2] = 0; + $__i$0$i$i = $__i$0$i$i + 1 | 0; + } + return; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_13EnclosingExprEJRA12_KcRPNS0_4NodeERA2_S8_EEESC_DpOT0_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle13EnclosingExprEJRA12_KcRPNS2_4NodeERA2_S4_EEEPT_DpOT0_($0 + 368 | 0, 52940, $1, 51964) | 0; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_11SpecialNameEJRA34_KcRPNS0_4NodeEEEESC_DpOT0_($this, $args, $args1) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle11SpecialNameEJRA34_KcRPNS2_4NodeEEEEPT_DpOT0_($this + 368 | 0, $args, $args1) | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_13EnclosingExprEJRA11_KcRPNS0_4NodeERA2_S8_EEESC_DpOT0_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle13EnclosingExprEJRA11_KcRPNS2_4NodeERA2_S4_EEEPT_DpOT0_($0 + 368 | 0, 53268, $1, 51964) | 0; +function __ZN12_GLOBAL__N_116itanium_demangle21CtorVtableSpecialNameC2EPKNS0_4NodeES4_($this, $FirstType_, $SecondType_) { + $this = $this | 0; + $FirstType_ = $FirstType_ | 0; + $SecondType_ = $SecondType_ | 0; + __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($this, 21, 1, 1, 1); + HEAP32[$this >> 2] = 20508; + HEAP32[$this + 8 >> 2] = $FirstType_; + HEAP32[$this + 12 >> 2] = $SecondType_; + return; } -function __ZNSt3__210shared_ptrIN6vision8KeyframeILi96EEEED2Ev($0) { - $0 = $0 | 0; - var $2 = 0, $4 = 0, $5 = 0; - $2 = HEAP32[$0 + 4 >> 2] | 0; - if ($2 | 0 ? ($4 = $2 + 4 | 0, $5 = HEAP32[$4 >> 2] | 0, HEAP32[$4 >> 2] = $5 + -1, ($5 | 0) == 0) : 0) { - FUNCTION_TABLE_vi[HEAP32[(HEAP32[$2 >> 2] | 0) + 8 >> 2] & 255]($2); - __ZNSt3__219__shared_weak_count14__release_weakEv($2); +function __ZNKSt3__210moneypunctIwLb1EE14do_curr_symbolEv($agg$result, $this) { + $agg$result = $agg$result | 0; + $this = $this | 0; + var $__i$0$i$i = 0; + HEAP32[$agg$result >> 2] = 0; + HEAP32[$agg$result + 4 >> 2] = 0; + HEAP32[$agg$result + 8 >> 2] = 0; + $__i$0$i$i = 0; + while (1) { + if (($__i$0$i$i | 0) == 3) break; + HEAP32[$agg$result + ($__i$0$i$i << 2) >> 2] = 0; + $__i$0$i$i = $__i$0$i$i + 1 | 0; } return; } -function __ZNKSt3__25ctypeIcE9do_narrowEPKcS3_cPc($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $$0 = 0, $$09 = 0, $6 = 0; - $$0 = $4; - $$09 = $1; +function __ZNKSt3__210moneypunctIwLb0EE14do_curr_symbolEv($agg$result, $this) { + $agg$result = $agg$result | 0; + $this = $this | 0; + var $__i$0$i$i = 0; + HEAP32[$agg$result >> 2] = 0; + HEAP32[$agg$result + 4 >> 2] = 0; + HEAP32[$agg$result + 8 >> 2] = 0; + $__i$0$i$i = 0; while (1) { - if (($$09 | 0) == ($2 | 0)) break; - $6 = HEAP8[$$09 >> 0] | 0; - HEAP8[$$0 >> 0] = $6 << 24 >> 24 > -1 ? $6 : $3; - $$0 = $$0 + 1 | 0; - $$09 = $$09 + 1 | 0; + if (($__i$0$i$i | 0) == 3) break; + HEAP32[$agg$result + ($__i$0$i$i << 2) >> 2] = 0; + $__i$0$i$i = $__i$0$i$i + 1 | 0; } - return $2 | 0; + return; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_10MemberExprEJRPNS0_4NodeERA2_KcSA_EEES9_DpOT0_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle10MemberExprEJRPNS2_4NodeERA2_KcS6_EEEPT_DpOT0_($0 + 368 | 0, $1, 53642, $2) | 0; +function __ZNKSt3__210moneypunctIcLb1EE14do_curr_symbolEv($agg$result, $this) { + $agg$result = $agg$result | 0; + $this = $this | 0; + var $__i$0$i$i = 0; + HEAP32[$agg$result >> 2] = 0; + HEAP32[$agg$result + 4 >> 2] = 0; + HEAP32[$agg$result + 8 >> 2] = 0; + $__i$0$i$i = 0; + while (1) { + if (($__i$0$i$i | 0) == 3) break; + HEAP32[$agg$result + ($__i$0$i$i << 2) >> 2] = 0; + $__i$0$i$i = $__i$0$i$i + 1 | 0; + } + return; } -function __ZNSt3__214__split_bufferIhRNS_9allocatorIhEEE18__construct_at_endEmRKh($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$0 = 0, $3 = 0, $5 = 0; - $3 = $0 + 8 | 0; - $$0 = $1; - $5 = HEAP32[$3 >> 2] | 0; - do { - HEAP8[$5 >> 0] = HEAP8[$2 >> 0] | 0; - $5 = (HEAP32[$3 >> 2] | 0) + 1 | 0; - HEAP32[$3 >> 2] = $5; - $$0 = $$0 + -1 | 0; - } while (($$0 | 0) != 0); +function __ZNKSt3__210moneypunctIcLb0EE14do_curr_symbolEv($agg$result, $this) { + $agg$result = $agg$result | 0; + $this = $this | 0; + var $__i$0$i$i = 0; + HEAP32[$agg$result >> 2] = 0; + HEAP32[$agg$result + 4 >> 2] = 0; + HEAP32[$agg$result + 8 >> 2] = 0; + $__i$0$i$i = 0; + while (1) { + if (($__i$0$i$i | 0) == 3) break; + HEAP32[$agg$result + ($__i$0$i$i << 2) >> 2] = 0; + $__i$0$i$i = $__i$0$i$i + 1 | 0; + } return; } -function __ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff($0, $1, $2) { - $0 = $0 | 0; - $1 = +$1; - $2 = +$2; - var $3 = 0, $4 = 0, $5 = 0; - $3 = __ZNK6vision5Image3getEv($0) | 0; - $4 = __ZNK6vision5Image5widthEv($0) | 0; - $5 = __ZNK6vision5Image6heightEv($0) | 0; - return +(+__ZN6vision22bilinear_interpolationIfEET_PKS1_mmmff($3, $4, $5, __ZNK6vision5Image4stepEv($0) | 0, $1, $2)); +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_13EnclosingExprEJRA12_KcRPNS0_4NodeERA2_S8_EEESC_DpOT0_($this, $args1) { + $this = $this | 0; + $args1 = $args1 | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle13EnclosingExprEJRA12_KcRPNS2_4NodeERA2_S4_EEEPT_DpOT0_($this + 368 | 0, 53782, $args1, 52806) | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8CallExprEJRPNS0_4NodeENS0_9NodeArrayEEEES9_DpOT0_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8CallExprEJRPNS2_4NodeENS2_9NodeArrayEEEEPT_DpOT0_($0 + 368 | 0, $1, $2) | 0; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_13EnclosingExprEJRA11_KcRPNS0_4NodeERA2_S8_EEESC_DpOT0_($this, $args1) { + $this = $this | 0; + $args1 = $args1 | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle13EnclosingExprEJRA11_KcRPNS2_4NodeERA2_S4_EEEPT_DpOT0_($this + 368 | 0, 54110, $args1, 52806) | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_19PointerToMemberTypeEJRPNS0_4NodeESA_EEES9_DpOT0_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle19PointerToMemberTypeEJRPNS2_4NodeES6_EEEPT_DpOT0_($0 + 368 | 0, $1, $2) | 0; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_11PostfixExprEJRPNS0_4NodeERA3_KcEEES9_DpOT0_($this, $args, $args1) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle11PostfixExprEJRPNS2_4NodeERA3_KcEEEPT_DpOT0_($this + 368 | 0, $args, $args1) | 0; } -function __ZNSt3__26vectorIN6vision7Point2dIfEENS_9allocatorIS3_EEEC2Em($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - HEAP32[$0 >> 2] = 0; - HEAP32[$0 + 4 >> 2] = 0; - HEAP32[$0 + 8 >> 2] = 0; - if ($1 | 0) { - __ZNSt3__26vectorIN6vision7Point2dIfEENS_9allocatorIS3_EEE11__vallocateEm($0, $1); - __ZNSt3__26vectorIN6vision7Point2dIfEENS_9allocatorIS3_EEE18__construct_at_endEm($0, $1); +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_13QualifiedNameEJRPNS0_4NodeESA_EEES9_DpOT0_($this, $args, $args1) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle13QualifiedNameEJRPNS2_4NodeES6_EEEPT_DpOT0_($this + 368 | 0, $args, $args1) | 0; +} + +function __ZNKSt3__210moneypunctIwLb1EE11do_groupingEv($agg$result, $this) { + $agg$result = $agg$result | 0; + $this = $this | 0; + var $__i$0$i$i = 0; + HEAP32[$agg$result >> 2] = 0; + HEAP32[$agg$result + 4 >> 2] = 0; + HEAP32[$agg$result + 8 >> 2] = 0; + $__i$0$i$i = 0; + while (1) { + if (($__i$0$i$i | 0) == 3) break; + HEAP32[$agg$result + ($__i$0$i$i << 2) >> 2] = 0; + $__i$0$i$i = $__i$0$i$i + 1 | 0; } return; } -function __ZN12_GLOBAL__N_116itanium_demangle8NameTypeC2ENS_10StringViewE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $3 = 0, $8 = 0, $9 = 0; - __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($0, 7, 1, 1, 1); - HEAP32[$0 >> 2] = 18792; - $3 = $1; - $8 = HEAP32[$3 + 4 >> 2] | 0; - $9 = $0 + 8 | 0; - HEAP32[$9 >> 2] = HEAP32[$3 >> 2]; - HEAP32[$9 + 4 >> 2] = $8; +function __ZNKSt3__210moneypunctIwLb0EE11do_groupingEv($agg$result, $this) { + $agg$result = $agg$result | 0; + $this = $this | 0; + var $__i$0$i$i = 0; + HEAP32[$agg$result >> 2] = 0; + HEAP32[$agg$result + 4 >> 2] = 0; + HEAP32[$agg$result + 8 >> 2] = 0; + $__i$0$i$i = 0; + while (1) { + if (($__i$0$i$i | 0) == 3) break; + HEAP32[$agg$result + ($__i$0$i$i << 2) >> 2] = 0; + $__i$0$i$i = $__i$0$i$i + 1 | 0; + } return; } -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle10NestedNameEJRPNS2_4NodeES6_EEEPT_DpOT0_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 16) | 0; - __ZN12_GLOBAL__N_116itanium_demangle10NestedNameC2EPNS0_4NodeES3_($3, HEAP32[$1 >> 2] | 0, HEAP32[$2 >> 2] | 0); - return $3 | 0; +function __ZNKSt3__210moneypunctIcLb1EE11do_groupingEv($agg$result, $this) { + $agg$result = $agg$result | 0; + $this = $this | 0; + var $__i$0$i$i = 0; + HEAP32[$agg$result >> 2] = 0; + HEAP32[$agg$result + 4 >> 2] = 0; + HEAP32[$agg$result + 8 >> 2] = 0; + $__i$0$i$i = 0; + while (1) { + if (($__i$0$i$i | 0) == 3) break; + HEAP32[$agg$result + ($__i$0$i$i << 2) >> 2] = 0; + $__i$0$i$i = $__i$0$i$i + 1 | 0; + } + return; } -function __ZN6vision11ScopedTimerC2EPKc($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - __ZN6vision5TimerC2Ev($0); - $2 = $0 + 16 | 0; - HEAP32[$2 >> 2] = 0; - HEAP32[$2 + 4 >> 2] = 0; - HEAP32[$2 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm($2, $1, __ZNSt3__211char_traitsIcE6lengthEPKc($1) | 0); - __ZN6vision5Timer5startEv($0); +function __ZNKSt3__210moneypunctIcLb0EE11do_groupingEv($agg$result, $this) { + $agg$result = $agg$result | 0; + $this = $this | 0; + var $__i$0$i$i = 0; + HEAP32[$agg$result >> 2] = 0; + HEAP32[$agg$result + 4 >> 2] = 0; + HEAP32[$agg$result + 8 >> 2] = 0; + $__i$0$i$i = 0; + while (1) { + if (($__i$0$i$i | 0) == 3) break; + HEAP32[$agg$result + ($__i$0$i$i << 2) >> 2] = 0; + $__i$0$i$i = $__i$0$i$i + 1 | 0; + } return; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_19SpecialSubstitutionEJNS0_14SpecialSubKindEEEEPNS0_4NodeEDpOT0_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle19SpecialSubstitutionEJNS2_14SpecialSubKindEEEEPT_DpOT0_($0 + 368 | 0, $1) | 0; +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle19SpecialSubstitutionEJNS2_14SpecialSubKindEEEEPT_DpOT0_($this, $args) { + $this = $this | 0; + $args = $args | 0; + var $call = 0; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 12) | 0; + __ZN12_GLOBAL__N_116itanium_demangle19SpecialSubstitutionC2ENS0_14SpecialSubKindE($call, HEAP32[$args >> 2] | 0); + return $call | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_18ArraySubscriptExprEJRPNS0_4NodeESA_EEES9_DpOT0_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle18ArraySubscriptExprEJRPNS2_4NodeES6_EEEPT_DpOT0_($0 + 368 | 0, $1, $2) | 0; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($this, $Lookahead) { + $this = $this | 0; + $Lookahead = $Lookahead | 0; + var $1 = 0, $retval$0 = 0; + $1 = HEAP32[$this >> 2] | 0; + if (((HEAP32[$this + 4 >> 2] | 0) - $1 | 0) >>> 0 > $Lookahead >>> 0) $retval$0 = HEAP8[$1 + $Lookahead >> 0] | 0; else $retval$0 = 0; + return $retval$0 | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_12InitListExprEJDnNS0_9NodeArrayEEEEPNS0_4NodeEDpOT0_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle12InitListExprEJDnNS2_9NodeArrayEEEEPT_DpOT0_($0 + 368 | 0, $1, $2) | 0; +function _arParamLTFree($paramLT_p) { + $paramLT_p = $paramLT_p | 0; + var $0 = 0, $retval$0 = 0; + if (($paramLT_p | 0) != 0 ? ($0 = HEAP32[$paramLT_p >> 2] | 0, ($0 | 0) != 0) : 0) { + _free(HEAP32[$0 + 184 >> 2] | 0); + _free(HEAP32[(HEAP32[$paramLT_p >> 2] | 0) + 188 >> 2] | 0); + _free(HEAP32[$paramLT_p >> 2] | 0); + HEAP32[$paramLT_p >> 2] = 0; + $retval$0 = 0; + } else $retval$0 = -1; + return $retval$0 | 0; } -function __ZNK6vision14VisualDatabaseINS_14FREAKExtractorENS_18BinaryFeatureStoreENS_20BinaryFeatureMatcherILi96EEEE13queryKeyframeEv($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $6 = 0, $8 = 0; - HEAP32[$0 >> 2] = HEAP32[$1 + 64 >> 2]; - $6 = HEAP32[$1 + 68 >> 2] | 0; - HEAP32[$0 + 4 >> 2] = $6; - if ($6 | 0) { - $8 = $6 + 4 | 0; - HEAP32[$8 >> 2] = (HEAP32[$8 >> 2] | 0) + 1; - } +function __ZNSt3__213unordered_mapIiNS_6vectorIN6vision7Point3dIfEENS_9allocatorIS4_EEEENS_4hashIiEENS_8equal_toIiEENS5_INS_4pairIKiS7_EEEEED2Ev($this) { + $this = $this | 0; + __ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_6vectorIN6vision7Point3dIfEENS_9allocatorIS5_EEEEEENS_22__unordered_map_hasherIiS9_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS9_NS_8equal_toIiEELb1EEENS6_IS9_EEED2Ev($this); return; } -function __ZN6vision16SequentialVectorIiEEvPT_iS1_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$0 = 0, $4 = 0, $5 = 0; - L1 : do if (($1 | 0) >= 1) { - HEAP32[$0 >> 2] = $2; - $$0 = 1; - $5 = $2; - while (1) { - if (($$0 | 0) == ($1 | 0)) break L1; - $4 = $5 + 1 | 0; - HEAP32[$0 + ($$0 << 2) >> 2] = $4; - $$0 = $$0 + 1 | 0; - $5 = $4; - } - } while (0); +function __ZNSt3__213unordered_mapIiNS_10shared_ptrIN6vision8KeyframeILi96EEEEENS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS5_EEEEED2Ev($this) { + $this = $this | 0; + __ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_10shared_ptrIN6vision8KeyframeILi96EEEEEEENS_22__unordered_map_hasherIiS7_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS7_NS_8equal_toIiEELb1EEENS_9allocatorIS7_EEED2Ev($this); return; } -function __ZN12_GLOBAL__N_116itanium_demangle8QualTypeC2EPKNS0_4NodeENS0_10QualifiersE($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($0, 3, HEAP8[$1 + 5 >> 0] | 0, HEAP8[$1 + 6 >> 0] | 0, HEAP8[$1 + 7 >> 0] | 0); - HEAP32[$0 >> 2] = 20068; - HEAP32[$0 + 8 >> 2] = $2; - HEAP32[$0 + 12 >> 2] = $1; - return; +function _reset_input_controller($cinfo) { + $cinfo = $cinfo | 0; + var $0 = 0; + $0 = HEAP32[$cinfo + 460 >> 2] | 0; + HEAP32[$0 >> 2] = 89; + HEAP32[$0 + 16 >> 2] = 0; + HEAP32[$0 + 20 >> 2] = 0; + HEAP32[$0 + 24 >> 2] = 1; + FUNCTION_TABLE_vi[HEAP32[(HEAP32[$cinfo >> 2] | 0) + 16 >> 2] & 255]($cinfo); + FUNCTION_TABLE_vi[HEAP32[HEAP32[$cinfo + 464 >> 2] >> 2] & 255]($cinfo); + HEAP32[$cinfo + 160 >> 2] = 0; + return; +} + +function _copysign($x, $y) { + $x = +$x; + $y = +$y; + var $0 = 0, $1 = 0, $6 = 0; + HEAPF64[tempDoublePtr >> 3] = $x; + $0 = HEAP32[tempDoublePtr >> 2] | 0; + $1 = HEAP32[tempDoublePtr + 4 >> 2] | 0; + HEAPF64[tempDoublePtr >> 3] = $y; + $6 = HEAP32[tempDoublePtr + 4 >> 2] & -2147483648 | $1 & 2147483647; + HEAP32[tempDoublePtr >> 2] = $0; + HEAP32[tempDoublePtr + 4 >> 2] = $6; + return +(+HEAPF64[tempDoublePtr >> 3]); } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8CastExprEJRA17_KcRPNS0_4NodeESD_EEESC_DpOT0_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8CastExprEJRA17_KcRPNS2_4NodeES9_EEEPT_DpOT0_($0 + 368 | 0, 53187, $1, $2) | 0; +function _arFilterTransMatSetParams($ftmi, $sampleRate, $cutoffFreq) { + $ftmi = $ftmi | 0; + $sampleRate = +$sampleRate; + $cutoffFreq = +$cutoffFreq; + var $div = 0.0, $retval$0 = 0; + if ($ftmi) if ($sampleRate != 0.0 & $cutoffFreq != 0.0) { + $div = 1.0 / $sampleRate; + HEAPF64[$ftmi >> 3] = $div / ($div + 1.0 / $cutoffFreq); + $retval$0 = 0; + } else $retval$0 = -2; else $retval$0 = -1; + return $retval$0 | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8CastExprEJRA13_KcRPNS0_4NodeESD_EEESC_DpOT0_($0, $1, $2) { +function __ZNSt3__215basic_streambufIwNS_11char_traitsIwEEE7seekoffExNS_8ios_base7seekdirEj($agg$result, $this, $0, $1, $2, $3) { + $agg$result = $agg$result | 0; + $this = $this | 0; $0 = $0 | 0; $1 = $1 | 0; $2 = $2 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8CastExprEJRA13_KcRPNS2_4NodeES9_EEEPT_DpOT0_($0 + 368 | 0, 54481, $1, $2) | 0; + $3 = $3 | 0; + var $4 = 0, $8 = 0; + $4 = $agg$result; + HEAP32[$4 >> 2] = 0; + HEAP32[$4 + 4 >> 2] = 0; + $8 = $agg$result + 8 | 0; + HEAP32[$8 >> 2] = -1; + HEAP32[$8 + 4 >> 2] = -1; + return; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8CastExprEJRA12_KcRPNS0_4NodeESD_EEESC_DpOT0_($0, $1, $2) { +function __ZNSt3__215basic_streambufIcNS_11char_traitsIcEEE7seekoffExNS_8ios_base7seekdirEj($agg$result, $this, $0, $1, $2, $3) { + $agg$result = $agg$result | 0; + $this = $this | 0; $0 = $0 | 0; $1 = $1 | 0; $2 = $2 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8CastExprEJRA12_KcRPNS2_4NodeES9_EEEPT_DpOT0_($0 + 368 | 0, 53128, $1, $2) | 0; + $3 = $3 | 0; + var $4 = 0, $8 = 0; + $4 = $agg$result; + HEAP32[$4 >> 2] = 0; + HEAP32[$4 + 4 >> 2] = 0; + $8 = $agg$result + 8 | 0; + HEAP32[$8 >> 2] = -1; + HEAP32[$8 + 4 >> 2] = -1; + return; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8CastExprEJRA11_KcRPNS0_4NodeESD_EEESC_DpOT0_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8CastExprEJRA11_KcRPNS2_4NodeES9_EEEPT_DpOT0_($0 + 368 | 0, 54653, $1, $2) | 0; +function __ZN6vision25bilinear_downsample_pointERfS0_S0_fffi($xp, $yp, $sp, $x, $y, $s, $octave) { + $xp = $xp | 0; + $yp = $yp | 0; + $sp = $sp | 0; + $x = +$x; + $y = +$y; + $s = +$s; + $octave = $octave | 0; + var $div = 0.0, $sub = 0.0; + $div = 1.0 / +(1 << $octave | 0); + $sub = $div * .5 + -.5; + HEAPF32[$xp >> 2] = $div * $x + $sub; + HEAPF32[$yp >> 2] = $div * $y + $sub; + HEAPF32[$sp >> 2] = $div * $s; + return; } -function __ZN10emscripten8internal7InvokerIvJifEE6invokeEPFvifEif($fn, $args, $args1) { - $fn = $fn | 0; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_19SpecialSubstitutionEJNS0_14SpecialSubKindEEEEPNS0_4NodeEDpOT0_($this, $args) { + $this = $this | 0; $args = $args | 0; - $args1 = +$args1; - var $call = 0, $call3 = 0.0; - $call = __ZN10emscripten8internal11BindingTypeIivE12fromWireTypeEi($args) | 0; - $call3 = +__ZN10emscripten8internal11BindingTypeIfvE12fromWireTypeEf($args1); - FUNCTION_TABLE_vid[$fn & 3]($call, $call3); - return; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle19SpecialSubstitutionEJNS2_14SpecialSubKindEEEEPT_DpOT0_($this + 368 | 0, $args) | 0; } -function __ZN10emscripten8internal7InvokerIvJidEE6invokeEPFvidEid($fn, $args, $args1) { - $fn = $fn | 0; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_10VectorTypeEJRPNS0_4NodeESA_EEES9_DpOT0_($this, $args, $args1) { + $this = $this | 0; $args = $args | 0; - $args1 = +$args1; - var $call = 0, $call3 = 0.0; - $call = __ZN10emscripten8internal11BindingTypeIivE12fromWireTypeEi($args) | 0; - $call3 = +__ZN10emscripten8internal11BindingTypeIdvE12fromWireTypeEd($args1); - FUNCTION_TABLE_vid[$fn & 3]($call, $call3); + $args1 = $args1 | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle10VectorTypeEJRPNS2_4NodeES6_EEEPT_DpOT0_($this + 368 | 0, $args, $args1) | 0; +} + +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_10NestedNameEJRPNS0_4NodeESA_EEES9_DpOT0_($this, $args, $args1) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle10NestedNameEJRPNS2_4NodeES6_EEEPT_DpOT0_($this + 368 | 0, $args, $args1) | 0; +} + +function _jpeg_abort($cinfo) { + $cinfo = $cinfo | 0; + var $0 = 0, $global_state = 0; + $0 = HEAP32[$cinfo + 4 >> 2] | 0; + if (!$0) return; + FUNCTION_TABLE_vii[HEAP32[$0 + 36 >> 2] & 255]($cinfo, 1); + $global_state = $cinfo + 20 | 0; + if (!(HEAP32[$cinfo + 16 >> 2] | 0)) { + HEAP32[$global_state >> 2] = 100; + return; + } else { + HEAP32[$global_state >> 2] = 200; + HEAP32[$cinfo + 312 >> 2] = 0; + return; + } +} + +function __ZNSt3__218__libcpp_refstringD2Ev($this) { + $this = $this | 0; + var $1 = 0, $call2 = 0, $count = 0; + if (__ZNKSt3__218__libcpp_refstring15__uses_refcountEv($this) | 0 ? ($call2 = __ZNSt3__215__refstring_imp12_GLOBAL__N_113rep_from_dataEPKc(HEAP32[$this >> 2] | 0) | 0, $count = $call2 + 8 | 0, $1 = HEAP32[$count >> 2] | 0, HEAP32[$count >> 2] = $1 + -1, ($1 | 0) < 1) : 0) __ZdlPv($call2); return; } -function _arUtilRemoveExt($0) { - $0 = $0 | 0; - var $$0 = 0, $$011 = 0, $$1 = 0; - $$0 = -1; - $$011 = 0; - L1 : while (1) { - switch (HEAP8[$0 + $$011 >> 0] | 0) { - case 0: - { - break L1; - break; - } - case 46: - { - $$1 = $$011; - break; - } - default: - $$1 = $$0; - } - $$0 = $$1; - $$011 = $$011 + 1 | 0; +function _ar2SetSearchFeatureNum($ar2Handle, $searchFeatureNum) { + $ar2Handle = $ar2Handle | 0; + $searchFeatureNum = $searchFeatureNum | 0; + var $retval$0 = 0, $spec$select = 0; + $spec$select = ($searchFeatureNum | 0) < 40 ? $searchFeatureNum : 40; + if (!$ar2Handle) $retval$0 = -1; else { + HEAP32[$ar2Handle + 36 >> 2] = ($spec$select | 0) > 3 ? $spec$select : 3; + $retval$0 = 0; } - if (($$0 | 0) != -1) HEAP8[$0 + $$0 >> 0] = 0; - return 0; + return $retval$0 | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_20PostfixQualifiedTypeEJRPNS0_4NodeERA11_KcEEES9_DpOT0_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle20PostfixQualifiedTypeEJRPNS2_4NodeERA11_KcEEEPT_DpOT0_($0 + 368 | 0, $1, 51887) | 0; +function __ZNKSt3__212_GLOBAL__N_111__fake_bindclEv($this) { + $this = $this | 0; + var $$unpack = 0, $$unpack2 = 0, $1 = 0, $4 = 0; + $$unpack = HEAP32[$this + 4 >> 2] | 0; + $$unpack2 = HEAP32[$this + 8 >> 2] | 0; + $1 = (HEAP32[$this >> 2] | 0) + ($$unpack2 >> 1) | 0; + if (!($$unpack2 & 1)) $4 = $$unpack; else $4 = HEAP32[(HEAP32[$1 >> 2] | 0) + $$unpack >> 2] | 0; + FUNCTION_TABLE_vi[$4 & 255]($1); + return; } -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle9LocalNameEJRPNS2_4NodeES6_EEEPT_DpOT0_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 16) | 0; - __ZN12_GLOBAL__N_116itanium_demangle9LocalNameC2EPNS0_4NodeES3_($3, HEAP32[$1 >> 2] | 0, HEAP32[$2 >> 2] | 0); - return $3 | 0; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_20PostfixQualifiedTypeEJRPNS0_4NodeERA11_KcEEES9_DpOT0_($this, $args) { + $this = $this | 0; + $args = $args | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle20PostfixQualifiedTypeEJRPNS2_4NodeERA11_KcEEEPT_DpOT0_($this + 368 | 0, $args, 52729) | 0; } -function __ZN12_GLOBAL__N_114register_floatIfEEvPKc($0) { - $0 = $0 | 0; - var $1 = 0, $2 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $1 = sp; - HEAP32[$1 >> 2] = $0; - $2 = __ZN10emscripten8internal6TypeIDIfvE3getEv() | 0; - __embind_register_float($2 | 0, HEAP32[$1 >> 2] | 0, 4); - STACKTOP = sp; +function __ZNSt3__215basic_streambufIwNS_11char_traitsIwEEEC2Ev($this) { + $this = $this | 0; + var $__binp_ = 0; + HEAP32[$this >> 2] = 20632; + __ZNSt3__26localeC2Ev($this + 4 | 0); + $__binp_ = $this + 8 | 0; + HEAP32[$__binp_ >> 2] = 0; + HEAP32[$__binp_ + 4 >> 2] = 0; + HEAP32[$__binp_ + 8 >> 2] = 0; + HEAP32[$__binp_ + 12 >> 2] = 0; + HEAP32[$__binp_ + 16 >> 2] = 0; + HEAP32[$__binp_ + 20 >> 2] = 0; return; } -function __ZN12_GLOBAL__N_114register_floatIdEEvPKc($0) { - $0 = $0 | 0; - var $1 = 0, $2 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $1 = sp; - HEAP32[$1 >> 2] = $0; - $2 = __ZN10emscripten8internal6TypeIDIdvE3getEv() | 0; - __embind_register_float($2 | 0, HEAP32[$1 >> 2] | 0, 8); - STACKTOP = sp; +function __ZNSt3__215basic_streambufIcNS_11char_traitsIcEEEC2Ev($this) { + $this = $this | 0; + var $__binp_ = 0; + HEAP32[$this >> 2] = 20568; + __ZNSt3__26localeC2Ev($this + 4 | 0); + $__binp_ = $this + 8 | 0; + HEAP32[$__binp_ >> 2] = 0; + HEAP32[$__binp_ + 4 >> 2] = 0; + HEAP32[$__binp_ + 8 >> 2] = 0; + HEAP32[$__binp_ + 12 >> 2] = 0; + HEAP32[$__binp_ + 16 >> 2] = 0; + HEAP32[$__binp_ + 20 >> 2] = 0; return; } -function _arUtilGetPixelSize($0) { - $0 = $0 | 0; - var $$0 = 0; - switch ($0 | 0) { - case 1: - case 0: - { - $$0 = 3; - break; - } - case 6: - case 4: - case 3: - case 2: - { - $$0 = 4; - break; - } - case 14: - case 13: - case 12: - case 5: - { - $$0 = 1; - break; - } - case 11: - case 10: - case 9: - case 8: - case 7: - { - $$0 = 2; - break; - } - default: - $$0 = 0; +function __ZNKSt3__220__time_get_c_storageIwE3__xEv($this) { + $this = $this | 0; + if ((HEAP8[65520] | 0) == 0 ? ___cxa_guard_acquire(65520) | 0 : 0) { + HEAP32[16878] = 0; + HEAP32[16879] = 0; + HEAP32[16880] = 0; + __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6__initEPKwm(67512, 21636, __ZNSt3__211char_traitsIwE6lengthEPKw(21636) | 0); + ___cxa_guard_release(65520); } - return $$0 | 0; + return 67512; } -function __ZNSt3__214__split_bufferIPNS_6locale5facetERNS_15__sso_allocatorIS3_Lm28EEEE18__construct_at_endEm($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $2 = 0, $3 = 0; - $2 = $0 + 8 | 0; - $$0 = $1; - $3 = HEAP32[$2 >> 2] | 0; - do { - HEAP32[$3 >> 2] = 0; - $3 = (HEAP32[$2 >> 2] | 0) + 4 | 0; - HEAP32[$2 >> 2] = $3; - $$0 = $$0 + -1 | 0; - } while (($$0 | 0) != 0); - return; +function __ZNKSt3__220__time_get_c_storageIwE3__rEv($this) { + $this = $this | 0; + if ((HEAP8[65528] | 0) == 0 ? ___cxa_guard_acquire(65528) | 0 : 0) { + HEAP32[16881] = 0; + HEAP32[16882] = 0; + HEAP32[16883] = 0; + __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6__initEPKwm(67524, 21672, __ZNSt3__211char_traitsIwE6lengthEPKw(21672) | 0); + ___cxa_guard_release(65528); + } + return 67524; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E9consumeIfEc($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $2 = 0; - $2 = HEAP32[$0 >> 2] | 0; - if (($2 | 0) != (HEAP32[$0 + 4 >> 2] | 0) ? (HEAP8[$2 >> 0] | 0) == $1 << 24 >> 24 : 0) { - HEAP32[$0 >> 2] = $2 + 1; - $$0 = 1; - } else $$0 = 0; - return $$0 | 0; +function __ZNKSt3__220__time_get_c_storageIwE3__cEv($this) { + $this = $this | 0; + if ((HEAP8[65536] | 0) == 0 ? ___cxa_guard_acquire(65536) | 0 : 0) { + HEAP32[16884] = 0; + HEAP32[16885] = 0; + HEAP32[16886] = 0; + __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6__initEPKwm(67536, 21720, __ZNSt3__211char_traitsIwE6lengthEPKw(21720) | 0); + ___cxa_guard_release(65536); + } + return 67536; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_20PostfixQualifiedTypeEJRPNS0_4NodeERA9_KcEEES9_DpOT0_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle20PostfixQualifiedTypeEJRPNS2_4NodeERA9_KcEEEPT_DpOT0_($0 + 368 | 0, $1, 51955) | 0; +function __ZNKSt3__220__time_get_c_storageIwE3__XEv($this) { + $this = $this | 0; + if ((HEAP8[65512] | 0) == 0 ? ___cxa_guard_acquire(65512) | 0 : 0) { + HEAP32[16875] = 0; + HEAP32[16876] = 0; + HEAP32[16877] = 0; + __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6__initEPKwm(67500, 21600, __ZNSt3__211char_traitsIwE6lengthEPKw(21600) | 0); + ___cxa_guard_release(65512); + } + return 67500; } -function __ZNSt3__26vectorIN6vision12FeaturePointENS_9allocatorIS2_EEE18__construct_at_endEm($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $2 = 0, $3 = 0; - $2 = $0 + 4 | 0; - $$0 = $1; - $3 = HEAP32[$2 >> 2] | 0; - do { - __ZN6vision12FeaturePointC2Ev($3); - $3 = (HEAP32[$2 >> 2] | 0) + 20 | 0; - HEAP32[$2 >> 2] = $3; - $$0 = $$0 + -1 | 0; - } while (($$0 | 0) != 0); - return; +function __ZNKSt3__220__time_get_c_storageIcE3__xEv($this) { + $this = $this | 0; + if ((HEAP8[65440] | 0) == 0 ? ___cxa_guard_acquire(65440) | 0 : 0) { + HEAP32[16861] = 0; + HEAP32[16862] = 0; + HEAP32[16863] = 0; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm(67444, 60253, __ZNSt3__211char_traitsIcE6lengthEPKc(60253) | 0); + ___cxa_guard_release(65440); + } + return 67444; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_11SpecialNameEJRA34_KcRPNS0_4NodeEEEESC_DpOT0_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle11SpecialNameEJRA34_KcRPNS2_4NodeEEEEPT_DpOT0_($0 + 368 | 0, $1, $2) | 0; +function __ZNKSt3__220__time_get_c_storageIcE3__rEv($this) { + $this = $this | 0; + if ((HEAP8[65448] | 0) == 0 ? ___cxa_guard_acquire(65448) | 0 : 0) { + HEAP32[16864] = 0; + HEAP32[16865] = 0; + HEAP32[16866] = 0; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm(67456, 60262, __ZNSt3__211char_traitsIcE6lengthEPKc(60262) | 0); + ___cxa_guard_release(65448); + } + return 67456; } -function __ZN12_GLOBAL__N_116itanium_demangle13ReferenceTypeC2EPKNS0_4NodeENS0_13ReferenceKindE($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($0, 12, HEAP8[$1 + 5 >> 0] | 0, 1, 1); - HEAP32[$0 >> 2] = 17736; - HEAP32[$0 + 8 >> 2] = $1; - HEAP32[$0 + 12 >> 2] = $2; - HEAP8[$0 + 16 >> 0] = 0; - return; +function __ZNKSt3__220__time_get_c_storageIcE3__cEv($this) { + $this = $this | 0; + if ((HEAP8[65456] | 0) == 0 ? ___cxa_guard_acquire(65456) | 0 : 0) { + HEAP32[16867] = 0; + HEAP32[16868] = 0; + HEAP32[16869] = 0; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm(67468, 60274, __ZNSt3__211char_traitsIcE6lengthEPKc(60274) | 0); + ___cxa_guard_release(65456); + } + return 67468; } -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle19SpecialSubstitutionEJNS2_14SpecialSubKindEEEEPT_DpOT0_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 12) | 0; - __ZN12_GLOBAL__N_116itanium_demangle19SpecialSubstitutionC2ENS0_14SpecialSubKindE($2, HEAP32[$1 >> 2] | 0); - return $2 | 0; +function __ZNKSt3__220__time_get_c_storageIcE3__XEv($this) { + $this = $this | 0; + if ((HEAP8[65432] | 0) == 0 ? ___cxa_guard_acquire(65432) | 0 : 0) { + HEAP32[16858] = 0; + HEAP32[16859] = 0; + HEAP32[16860] = 0; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm(67432, 60244, __ZNSt3__211char_traitsIcE6lengthEPKc(60244) | 0); + ___cxa_guard_release(65432); + } + return 67432; } -function _sn_write($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $5 = 0, $6 = 0, $7 = 0, $spec$select = 0; - $5 = $0 + 20 | 0; - $6 = HEAP32[$5 >> 2] | 0; - $7 = (HEAP32[$0 + 16 >> 2] | 0) - $6 | 0; - $spec$select = $7 >>> 0 > $2 >>> 0 ? $2 : $7; - _memcpy($6 | 0, $1 | 0, $spec$select | 0) | 0; - HEAP32[$5 >> 2] = (HEAP32[$5 >> 2] | 0) + $spec$select; - return $2 | 0; +function __ZN6vision40Homography3PointsGeometricallyConsistentIfEEbPKT_S3_S3_S3_S3_S3_($x1, $x2, $x3, $x1p, $x2p, $x3p) { + $x1 = $x1 | 0; + $x2 = $x2 | 0; + $x3 = $x3 | 0; + $x1p = $x1p | 0; + $x2p = $x2p | 0; + $x3p = $x3p | 0; + var $cmp = 0; + $cmp = +__ZN6vision13LinePointSideIfEET_PKS1_S3_S3_($x1, $x2, $x3) > 0.0; + return $cmp ^ +__ZN6vision13LinePointSideIfEET_PKS1_S3_S3_($x1p, $x2p, $x3p) > 0.0 ^ 1 | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_21StructuredBindingNameEJNS0_9NodeArrayEEEEPNS0_4NodeEDpOT0_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle21StructuredBindingNameEJNS2_9NodeArrayEEEEPT_DpOT0_($0 + 368 | 0, $1) | 0; +function __ZN12_GLOBAL__N_120BumpPointerAllocator15allocateMassiveEm($this, $NBytes) { + $this = $this | 0; + $NBytes = $NBytes | 0; + var $0 = 0, $call = 0; + $call = _malloc($NBytes + 8 | 0) | 0; + if (!$call) __ZSt9terminatev(); else { + $0 = HEAP32[$this + 4096 >> 2] | 0; + HEAP32[$call >> 2] = HEAP32[$0 >> 2]; + HEAP32[$call + 4 >> 2] = 0; + HEAP32[$0 >> 2] = $call; + return $call + 8 | 0; + } + return 0; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_20TemplateArgumentPackEJRNS0_9NodeArrayEEEEPNS0_4NodeEDpOT0_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle20TemplateArgumentPackEJRNS2_9NodeArrayEEEEPT_DpOT0_($0 + 368 | 0, $1) | 0; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_9LocalNameEJRPNS0_4NodeESA_EEES9_DpOT0_($this, $args, $args1) { + $this = $this | 0; + $args = $args | 0; + $args1 = $args1 | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle9LocalNameEJRPNS2_4NodeES6_EEEPT_DpOT0_($this + 368 | 0, $args, $args1) | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_16FloatLiteralImplIfEEJRNS_10StringViewEEEEPNS0_4NodeEDpOT0_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle16FloatLiteralImplIfEEJRNS_10StringViewEEEEPT_DpOT0_($0 + 368 | 0, $1) | 0; +function __ZN12_GLOBAL__N_116itanium_demangle20NameWithTemplateArgsC2EPNS0_4NodeES3_($this, $Name_, $TemplateArgs_) { + $this = $this | 0; + $Name_ = $Name_ | 0; + $TemplateArgs_ = $TemplateArgs_ | 0; + __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($this, 32, 1, 1, 1); + HEAP32[$this >> 2] = 17824; + HEAP32[$this + 8 >> 2] = $Name_; + HEAP32[$this + 12 >> 2] = $TemplateArgs_; + return; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_16FloatLiteralImplIeEEJRNS_10StringViewEEEEPNS0_4NodeEDpOT0_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle16FloatLiteralImplIeEEJRNS_10StringViewEEEEPT_DpOT0_($0 + 368 | 0, $1) | 0; +function _rand() { + var $0 = 0, $10 = 0, $14 = 0, $6 = 0, $8 = 0, $9 = 0; + $0 = 65416; + $6 = ___muldi3(HEAP32[$0 >> 2] | 0, HEAP32[$0 + 4 >> 2] | 0, 1284865837, 1481765933) | 0; + $8 = _i64Add($6 | 0, getTempRet0() | 0, 1, 0) | 0; + $9 = getTempRet0() | 0; + $10 = 65416; + HEAP32[$10 >> 2] = $8; + HEAP32[$10 + 4 >> 2] = $9; + $14 = _bitshift64Lshr($8 | 0, $9 | 0, 33) | 0; + getTempRet0() | 0; + return $14 | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_16FloatLiteralImplIdEEJRNS_10StringViewEEEEPNS0_4NodeEDpOT0_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle16FloatLiteralImplIdEEJRNS_10StringViewEEEEPT_DpOT0_($0 + 368 | 0, $1) | 0; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_20PostfixQualifiedTypeEJRPNS0_4NodeERA9_KcEEES9_DpOT0_($this, $args) { + $this = $this | 0; + $args = $args | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle20PostfixQualifiedTypeEJRPNS2_4NodeERA9_KcEEEPT_DpOT0_($this + 368 | 0, $args, 52797) | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_11PostfixExprEJRPNS0_4NodeERA3_KcEEES9_DpOT0_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle11PostfixExprEJRPNS2_4NodeERA3_KcEEEPT_DpOT0_($0 + 368 | 0, $1, $2) | 0; +function __ZNSt3__26vectorINS0_INS0_INS_4pairIfmEENS_9allocatorIS2_EEEENS3_IS5_EEEENS3_IS7_EEE18__construct_at_endEm($this, $__n) { + $this = $this | 0; + $__n = $__n | 0; + var $__end_ = 0, $__end_$promoted = 0; + $__end_ = $this + 4 | 0; + $__end_$promoted = HEAP32[$__end_ >> 2] | 0; + _memset($__end_$promoted | 0, 0, $__n * 12 | 0) | 0; + HEAP32[$__end_ >> 2] = $__end_$promoted + ($__n * 12 | 0); + return; } -function ___memrchr($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$0 = 0, $$in = 0, $4 = 0; - L1 : do if (!$2) $$0 = 0; else { - $4 = $1 & 255; - $$in = $2; +function __ZN6vision16SequentialVectorIiEEvPT_iS1_($x, $n, $x0) { + $x = $x | 0; + $n = $n | 0; + $x0 = $x0 | 0; + var $0 = 0, $add = 0, $i$0 = 0; + L1 : do if (($n | 0) >= 1) { + HEAP32[$x >> 2] = $x0; + $0 = $x0; + $i$0 = 1; while (1) { - $$in = $$in + -1 | 0; - if ((HEAP8[$0 + $$in >> 0] | 0) == $4 << 24 >> 24) break; - if (!$$in) { - $$0 = 0; - break L1; - } + if (($i$0 | 0) == ($n | 0)) break L1; + $add = $0 + 1 | 0; + HEAP32[$x + ($i$0 << 2) >> 2] = $add; + $0 = $add; + $i$0 = $i$0 + 1 | 0; } - $$0 = $0 + $$in | 0; } while (0); - return $$0 | 0; -} - -function _reset_input_controller($0) { - $0 = $0 | 0; - var $2 = 0; - $2 = HEAP32[$0 + 460 >> 2] | 0; - HEAP32[$2 >> 2] = 90; - HEAP32[$2 + 16 >> 2] = 0; - HEAP32[$2 + 20 >> 2] = 0; - HEAP32[$2 + 24 >> 2] = 1; - FUNCTION_TABLE_vi[HEAP32[(HEAP32[$0 >> 2] | 0) + 16 >> 2] & 255]($0); - FUNCTION_TABLE_vi[HEAP32[HEAP32[$0 + 464 >> 2] >> 2] & 255]($0); - HEAP32[$0 + 160 >> 2] = 0; return; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_20DynamicExceptionSpecEJNS0_9NodeArrayEEEEPNS0_4NodeEDpOT0_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle20DynamicExceptionSpecEJNS2_9NodeArrayEEEEPT_DpOT0_($0 + 368 | 0, $1) | 0; +function __ZNSt3__214__split_bufferINS_6vectorINS_4pairIfmEENS_9allocatorIS3_EEEERNS4_IS6_EEE18__construct_at_endEm($this, $__n) { + $this = $this | 0; + $__n = $__n | 0; + var $__end_ = 0, $__end_$promoted = 0; + $__end_ = $this + 8 | 0; + $__end_$promoted = HEAP32[$__end_ >> 2] | 0; + _memset($__end_$promoted | 0, 0, $__n * 12 | 0) | 0; + HEAP32[$__end_ >> 2] = $__end_$promoted + ($__n * 12 | 0); + return; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_13QualifiedNameEJRPNS0_4NodeESA_EEES9_DpOT0_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle13QualifiedNameEJRPNS2_4NodeES6_EEEPT_DpOT0_($0 + 368 | 0, $1, $2) | 0; +function __ZNKSt3__27codecvtIwc11__mbstate_tE13do_max_lengthEv($this) { + $this = $this | 0; + var $0 = 0, $call$i = 0, $call$i$i = 0, $cond = 0; + $0 = HEAP32[$this + 8 >> 2] | 0; + if ($0) { + $call$i$i = ___uselocale($0) | 0; + $call$i = ___ctype_get_mb_cur_max() | 0; + if (!$call$i$i) $cond = $call$i; else { + ___uselocale($call$i$i) | 0; + $cond = $call$i; + } + } else $cond = 1; + return $cond | 0; } -function ___getTypeName($0) { - $0 = $0 | 0; - var $1 = 0, $2 = 0, $7 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $1 = sp + 4 | 0; - $2 = sp; - HEAP32[$2 >> 2] = $0; - HEAP32[$1 >> 2] = HEAP32[$2 >> 2]; - $7 = ___strdup(HEAP32[(HEAP32[$1 >> 2] | 0) + 4 >> 2] | 0) | 0; - STACKTOP = sp; - return $7 | 0; +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle22ParameterPackExpansionEJRPNS2_4NodeEEEEPT_DpOT0_($this, $args) { + $this = $this | 0; + $args = $args | 0; + var $call = 0; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 12) | 0; + __ZN12_GLOBAL__N_116itanium_demangle22ParameterPackExpansionC2EPKNS0_4NodeE($call, HEAP32[$args >> 2] | 0); + return $call | 0; } -function __Znwm($0) { - $0 = $0 | 0; - var $$lcssa = 0, $2 = 0, $4 = 0, $spec$store$select = 0; - $spec$store$select = ($0 | 0) == 0 ? 1 : $0; - while (1) { - $2 = _malloc($spec$store$select) | 0; - if ($2 | 0) { - $$lcssa = $2; - break; - } - $4 = __ZSt15get_new_handlerv() | 0; - if (!$4) { - $$lcssa = 0; - break; - } - FUNCTION_TABLE_v[$4 & 3](); - } - return $$lcssa | 0; +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle22ConversionOperatorTypeEJRPNS2_4NodeEEEEPT_DpOT0_($this, $args) { + $this = $this | 0; + $args = $args | 0; + var $call = 0; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 12) | 0; + __ZN12_GLOBAL__N_116itanium_demangle22ConversionOperatorTypeC2EPKNS0_4NodeE($call, HEAP32[$args >> 2] | 0); + return $call | 0; } -function __ZNSt3__214__split_bufferIN6vision5ImageERNS_9allocatorIS2_EEE18__construct_at_endEm($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $2 = 0, $3 = 0; - $2 = $0 + 8 | 0; - $$0 = $1; - $3 = HEAP32[$2 >> 2] | 0; - do { - __ZN6vision5ImageC2Ev($3); - $3 = (HEAP32[$2 >> 2] | 0) + 32 | 0; - HEAP32[$2 >> 2] = $3; - $$0 = $$0 + -1 | 0; - } while (($$0 | 0) != 0); - return; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_21StructuredBindingNameEJNS0_9NodeArrayEEEEPNS0_4NodeEDpOT0_($this, $args) { + $this = $this | 0; + $args = $args | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle21StructuredBindingNameEJNS2_9NodeArrayEEEEPT_DpOT0_($this + 368 | 0, $args) | 0; } -function _jinit_input_controller($0) { - $0 = $0 | 0; - var $4 = 0; - $4 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[$0 + 4 >> 2] >> 2] & 63]($0, 0, 28) | 0; - HEAP32[$0 + 460 >> 2] = $4; - HEAP32[$4 >> 2] = 90; - HEAP32[$4 + 4 >> 2] = 206; - HEAP32[$4 + 8 >> 2] = 207; - HEAP32[$4 + 12 >> 2] = 208; - HEAP32[$4 + 16 >> 2] = 0; - HEAP32[$4 + 20 >> 2] = 0; - HEAP32[$4 + 24 >> 2] = 1; - return; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_20TemplateArgumentPackEJRNS0_9NodeArrayEEEEPNS0_4NodeEDpOT0_($this, $args) { + $this = $this | 0; + $args = $args | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle20TemplateArgumentPackEJRNS2_9NodeArrayEEEEPT_DpOT0_($this + 368 | 0, $args) | 0; } -function __ZNSt3__26vectorIN6vision7Point2dIfEENS_9allocatorIS3_EEE18__construct_at_endEm($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $2 = 0, $3 = 0; - $2 = $0 + 4 | 0; - $$0 = $1; - $3 = HEAP32[$2 >> 2] | 0; - do { - __ZN6vision7Point2dIfEC2Ev($3); - $3 = (HEAP32[$2 >> 2] | 0) + 8 | 0; - HEAP32[$2 >> 2] = $3; - $$0 = $$0 + -1 | 0; - } while (($$0 | 0) != 0); - return; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_16FloatLiteralImplIfEEJRNS_10StringViewEEEEPNS0_4NodeEDpOT0_($this, $args) { + $this = $this | 0; + $args = $args | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle16FloatLiteralImplIfEEJRNS_10StringViewEEEEPT_DpOT0_($this + 368 | 0, $args) | 0; } -function __ZN6vision9MaxIndex5IfEEiPKT_($0) { - $0 = $0 | 0; - var $$0 = 0, $$1 = 0, $$2 = 0; - $$0 = +HEAPF32[$0 + 4 >> 2] > +HEAPF32[$0 >> 2] & 1; - $$1 = +HEAPF32[$0 + 8 >> 2] > +HEAPF32[$0 + ($$0 << 2) >> 2] ? 2 : $$0; - $$2 = +HEAPF32[$0 + 12 >> 2] > +HEAPF32[$0 + ($$1 << 2) >> 2] ? 3 : $$1; - return (+HEAPF32[$0 + 16 >> 2] > +HEAPF32[$0 + ($$2 << 2) >> 2] ? 4 : $$2) | 0; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_16FloatLiteralImplIeEEJRNS_10StringViewEEEEPNS0_4NodeEDpOT0_($this, $args) { + $this = $this | 0; + $args = $args | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle16FloatLiteralImplIeEEJRNS_10StringViewEEEEPT_DpOT0_($this + 368 | 0, $args) | 0; } -function __ZNSt3__26vectorIPNS_6locale5facetENS_15__sso_allocatorIS3_Lm28EEEE18__construct_at_endEm($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $2 = 0, $3 = 0; - $2 = $0 + 4 | 0; - $$0 = $1; - $3 = HEAP32[$2 >> 2] | 0; - do { - HEAP32[$3 >> 2] = 0; - $3 = (HEAP32[$2 >> 2] | 0) + 4 | 0; - HEAP32[$2 >> 2] = $3; - $$0 = $$0 + -1 | 0; - } while (($$0 | 0) != 0); - return; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_16FloatLiteralImplIdEEJRNS_10StringViewEEEEPNS0_4NodeEDpOT0_($this, $args) { + $this = $this | 0; + $args = $args | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle16FloatLiteralImplIdEEJRNS_10StringViewEEEEPT_DpOT0_($this + 368 | 0, $args) | 0; } -function __ZN6vision4NodeILi96EEC2Ei($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $3 = 0; - HEAP32[$0 >> 2] = $1; - HEAP8[$0 + 100 >> 0] = 1; - $3 = $0 + 104 | 0; - HEAP32[$3 >> 2] = 0; - HEAP32[$3 + 4 >> 2] = 0; - HEAP32[$3 + 8 >> 2] = 0; - HEAP32[$3 + 12 >> 2] = 0; - HEAP32[$3 + 16 >> 2] = 0; - HEAP32[$3 + 20 >> 2] = 0; - __ZN6vision10ZeroVectorIhEEvPT_m($0 + 4 | 0, 96); +function ___unlist_locked_file($f) { + $f = $f | 0; + var $$pre = 0, $$sink = 0, $1 = 0, $4 = 0; + if (HEAP32[$f + 68 >> 2] | 0) { + $1 = HEAP32[$f + 132 >> 2] | 0; + $$pre = $f + 128 | 0; + if ($1 | 0) HEAP32[$1 + 128 >> 2] = HEAP32[$$pre >> 2]; + $4 = HEAP32[$$pre >> 2] | 0; + if (!$4) $$sink = (___pthread_self_720() | 0) + 232 | 0; else $$sink = $4 + 132 | 0; + HEAP32[$$sink >> 2] = $1; + } return; } -function _matrixCopy($src, $dst) { - $src = $src | 0; - $dst = $dst | 0; - var $i$0 = 0, $j$0 = 0; - $i$0 = 0; +function __ZN12_GLOBAL__N_120BumpPointerAllocator5resetEv($this) { + $this = $this | 0; + var $0 = 0, $BlockList = 0; + $BlockList = $this + 4096 | 0; while (1) { - if (($i$0 | 0) == 3) break; - $j$0 = 0; - while (1) { - if (($j$0 | 0) == 4) break; - HEAPF64[$dst + ($i$0 << 5) + ($j$0 << 3) >> 3] = +HEAPF64[$src + ($i$0 << 5) + ($j$0 << 3) >> 3]; - $j$0 = $j$0 + 1 | 0; - } - $i$0 = $i$0 + 1 | 0; + $0 = HEAP32[$BlockList >> 2] | 0; + if (!$0) break; + HEAP32[$BlockList >> 2] = HEAP32[$0 >> 2]; + if (($this | 0) != ($0 | 0)) _free($0); } + HEAP32[$this >> 2] = 0; + HEAP32[$this + 4 >> 2] = 0; + HEAP32[$BlockList >> 2] = $this; return; } -function __ZNK10__cxxabiv117__class_type_info27has_unambiguous_public_baseEPNS_19__dynamic_cast_infoEPvi($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - if (__ZL8is_equalPKSt9type_infoS1_b($0, HEAP32[$1 + 8 >> 2] | 0, 0) | 0) __ZNK10__cxxabiv117__class_type_info24process_found_base_classEPNS_19__dynamic_cast_infoEPvi(0, $1, $2, $3); - return; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_20DynamicExceptionSpecEJNS0_9NodeArrayEEEEPNS0_4NodeEDpOT0_($this, $args) { + $this = $this | 0; + $args = $args | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle20DynamicExceptionSpecEJNS2_9NodeArrayEEEEPT_DpOT0_($this + 368 | 0, $args) | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_15UnnamedTypeNameEJRNS_10StringViewEEEEPNS0_4NodeEDpOT0_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle15UnnamedTypeNameEJRNS_10StringViewEEEEPT_DpOT0_($0 + 368 | 0, $1) | 0; +function _arPattFree($pattHandle, $patno) { + $pattHandle = $pattHandle | 0; + $patno = $patno | 0; + var $arrayidx = 0, $retval$0 = 0; + $arrayidx = (HEAP32[$pattHandle + 8 >> 2] | 0) + ($patno << 2) | 0; + if (!(HEAP32[$arrayidx >> 2] | 0)) $retval$0 = -1; else { + HEAP32[$arrayidx >> 2] = 0; + HEAP32[$pattHandle >> 2] = (HEAP32[$pattHandle >> 2] | 0) + -1; + $retval$0 = 1; + } + return $retval$0 | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_15PixelVectorTypeEJRNS_10StringViewEEEEPNS0_4NodeEDpOT0_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle15PixelVectorTypeEJRNS_10StringViewEEEEPT_DpOT0_($0 + 368 | 0, $1) | 0; +function _arVecAlloc($clm) { + $clm = $clm | 0; + var $call = 0, $call1 = 0, $retval$0 = 0; + $call = _malloc(8) | 0; + do if ($call) { + $call1 = _malloc($clm << 3) | 0; + HEAP32[$call >> 2] = $call1; + if (!$call1) { + _free($call); + $retval$0 = 0; + break; + } else { + HEAP32[$call + 4 >> 2] = $clm; + $retval$0 = $call; + break; + } + } else $retval$0 = 0; while (0); + return $retval$0 | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_10VectorTypeEJRPNS0_4NodeESA_EEES9_DpOT0_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle10VectorTypeEJRPNS2_4NodeES6_EEEPT_DpOT0_($0 + 368 | 0, $1, $2) | 0; +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle19SizeofParamPackExprEJRPNS2_4NodeEEEEPT_DpOT0_($this, $args) { + $this = $this | 0; + $args = $args | 0; + var $call = 0; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 12) | 0; + __ZN12_GLOBAL__N_116itanium_demangle19SizeofParamPackExprC2EPKNS0_4NodeE($call, HEAP32[$args >> 2] | 0); + return $call | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_10NestedNameEJRPNS0_4NodeESA_EEES9_DpOT0_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle10NestedNameEJRPNS2_4NodeES6_EEEPT_DpOT0_($0 + 368 | 0, $1, $2) | 0; +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle19GlobalQualifiedNameEJRPNS2_4NodeEEEEPT_DpOT0_($this, $args) { + $this = $this | 0; + $args = $args | 0; + var $call = 0; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 12) | 0; + __ZN12_GLOBAL__N_116itanium_demangle19GlobalQualifiedNameC2EPNS0_4NodeE($call, HEAP32[$args >> 2] | 0); + return $call | 0; } -function ___uflow($0) { - $0 = $0 | 0; - var $$0 = 0, $1 = 0, sp = 0; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_15UnnamedTypeNameEJRNS_10StringViewEEEEPNS0_4NodeEDpOT0_($this, $args) { + $this = $this | 0; + $args = $args | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle15UnnamedTypeNameEJRNS_10StringViewEEEEPT_DpOT0_($this + 368 | 0, $args) | 0; +} + +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_15PixelVectorTypeEJRNS_10StringViewEEEEPNS0_4NodeEDpOT0_($this, $args) { + $this = $this | 0; + $args = $args | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle15PixelVectorTypeEJRNS_10StringViewEEEEPT_DpOT0_($this + 368 | 0, $args) | 0; +} + +function ___uflow($f) { + $f = $f | 0; + var $c = 0, $retval$0 = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $1 = sp; - if ((___toread($0) | 0) == 0 ? (FUNCTION_TABLE_iiii[HEAP32[$0 + 32 >> 2] & 63]($0, $1, 1) | 0) == 1 : 0) $$0 = HEAPU8[$1 >> 0] | 0; else $$0 = -1; + $c = sp; + if ((___toread($f) | 0) == 0 ? (FUNCTION_TABLE_iiii[HEAP32[$f + 32 >> 2] & 63]($f, $c, 1) | 0) == 1 : 0) $retval$0 = HEAPU8[$c >> 0] | 0; else $retval$0 = -1; STACKTOP = sp; - return $$0 | 0; + return $retval$0 | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle12NodeOrStringC2ENS_10StringViewE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = 0, $4 = 0; - $2 = __ZNK12_GLOBAL__N_110StringView5beginEv($1) | 0; - $3 = __ZNK12_GLOBAL__N_110StringView3endEv($1) | 0; - $4 = ($3 | 0) == 0; - HEAP32[$0 >> 2] = $4 ? $2 + 1 | 0 : $2; - HEAP32[$0 + 4 >> 2] = $4 ? $3 + 1 | 0 : $3; - return; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_11SpecialNameEJRA41_KcRPNS0_4NodeEEEESC_DpOT0_($this, $args1) { + $this = $this | 0; + $args1 = $args1 | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle11SpecialNameEJRA41_KcRPNS2_4NodeEEEEPT_DpOT0_($this + 368 | 0, 57700, $args1) | 0; } -function __ZNKSt3__27collateIwE7do_hashEPKwS3_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$0 = 0, $$020 = 0, $6 = 0, $7 = 0; - $$0 = 0; - $$020 = $1; - while (1) { - if (($$020 | 0) == ($2 | 0)) break; - $6 = (HEAP32[$$020 >> 2] | 0) + ($$0 << 4) | 0; - $7 = $6 & -268435456; - $$0 = ($7 >>> 24 | $7) ^ $6; - $$020 = $$020 + 4 | 0; - } - return $$0 | 0; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_11SpecialNameEJRA27_KcRPNS0_4NodeEEEESC_DpOT0_($this, $args1) { + $this = $this | 0; + $args1 = $args1 | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle11SpecialNameEJRA27_KcRPNS2_4NodeEEEEPT_DpOT0_($this + 368 | 0, 57829, $args1) | 0; } -function __ZNKSt3__27collateIwE12do_transformEPKwS3_($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - HEAP32[$0 >> 2] = 0; - HEAP32[$0 + 4 >> 2] = 0; - HEAP32[$0 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6__initIPKwEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESA_SA_($0, $2, $3); - return; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_11SpecialNameEJRA25_KcRPNS0_4NodeEEEESC_DpOT0_($this, $args1) { + $this = $this | 0; + $args1 = $args1 | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle11SpecialNameEJRA25_KcRPNS2_4NodeEEEEPT_DpOT0_($this + 368 | 0, 57615, $args1) | 0; } -function __ZNKSt3__27collateIcE12do_transformEPKcS3_($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - HEAP32[$0 >> 2] = 0; - HEAP32[$0 + 4 >> 2] = 0; - HEAP32[$0 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initIPKcEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESA_SA_($0, $2, $3); - return; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_11SpecialNameEJRA22_KcRPNS0_4NodeEEEESC_DpOT0_($this, $args1) { + $this = $this | 0; + $args1 = $args1 | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle11SpecialNameEJRA22_KcRPNS2_4NodeEEEEPT_DpOT0_($this + 368 | 0, 57660, $args1) | 0; } -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle22ParameterPackExpansionEJRPNS2_4NodeEEEEPT_DpOT0_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 12) | 0; - __ZN12_GLOBAL__N_116itanium_demangle22ParameterPackExpansionC2EPKNS0_4NodeE($2, HEAP32[$1 >> 2] | 0); - return $2 | 0; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_11SpecialNameEJRA20_KcRPNS0_4NodeEEEESC_DpOT0_($this, $args1) { + $this = $this | 0; + $args1 = $args1 | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle11SpecialNameEJRA20_KcRPNS2_4NodeEEEEPT_DpOT0_($this + 368 | 0, 57640, $args1) | 0; } -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle22ConversionOperatorTypeEJRPNS2_4NodeEEEEPT_DpOT0_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 12) | 0; - __ZN12_GLOBAL__N_116itanium_demangle22ConversionOperatorTypeC2EPKNS0_4NodeE($2, HEAP32[$1 >> 2] | 0); - return $2 | 0; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_11SpecialNameEJRA19_KcRPNS0_4NodeEEEESC_DpOT0_($this, $args1) { + $this = $this | 0; + $args1 = $args1 | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle11SpecialNameEJRA19_KcRPNS2_4NodeEEEEPT_DpOT0_($this + 368 | 0, 57856, $args1) | 0; } -function __ZNKSt3__27collateIcE7do_hashEPKcS3_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$0 = 0, $$020 = 0, $7 = 0, $8 = 0; - $$0 = 0; - $$020 = $1; - while (1) { - if (($$020 | 0) == ($2 | 0)) break; - $7 = ($$0 << 4) + (HEAP8[$$020 >> 0] | 0) | 0; - $8 = $7 & -268435456; - $$0 = ($8 >>> 24 | $8) ^ $7; - $$020 = $$020 + 1 | 0; - } - return $$0 | 0; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_11SpecialNameEJRA18_KcRPNS0_4NodeEEEESC_DpOT0_($this, $args1) { + $this = $this | 0; + $args1 = $args1 | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle11SpecialNameEJRA18_KcRPNS2_4NodeEEEEPT_DpOT0_($this + 368 | 0, 57682, $args1) | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_9LocalNameEJRPNS0_4NodeESA_EEES9_DpOT0_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle9LocalNameEJRPNS2_4NodeES6_EEEPT_DpOT0_($0 + 368 | 0, $1, $2) | 0; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_11SpecialNameEJRA14_KcRPNS0_4NodeEEEESC_DpOT0_($this, $args1) { + $this = $this | 0; + $args1 = $args1 | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle11SpecialNameEJRA14_KcRPNS2_4NodeEEEEPT_DpOT0_($this + 368 | 0, 57875, $args1) | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_22ParameterPackExpansionEJRPNS0_4NodeEEEES9_DpOT0_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle22ParameterPackExpansionEJRPNS2_4NodeEEEEPT_DpOT0_($0 + 368 | 0, $1) | 0; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_11SpecialNameEJRA12_KcRPNS0_4NodeEEEESC_DpOT0_($this, $args1) { + $this = $this | 0; + $args1 = $args1 | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle11SpecialNameEJRA12_KcRPNS2_4NodeEEEEPT_DpOT0_($this + 368 | 0, 57898, $args1) | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_22ConversionOperatorTypeEJRPNS0_4NodeEEEES9_DpOT0_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle22ConversionOperatorTypeEJRPNS2_4NodeEEEEPT_DpOT0_($0 + 368 | 0, $1) | 0; +function __ZNK12_GLOBAL__N_110StringView9dropFrontEm($agg$result, $this, $N) { + $agg$result = $agg$result | 0; + $this = $this | 0; + $N = $N | 0; + var $call = 0; + $call = __ZNK12_GLOBAL__N_110StringView4sizeEv($this) | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKcS2_($agg$result, (HEAP32[$this >> 2] | 0) + ($call >>> 0 > $N >>> 0 ? $N : $call + -1 | 0) | 0, HEAP32[$this + 4 >> 2] | 0); + return; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_13FunctionParamEJRNS_10StringViewEEEEPNS0_4NodeEDpOT0_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle13FunctionParamEJRNS_10StringViewEEEEPT_DpOT0_($0 + 368 | 0, $1) | 0; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_11SpecialNameEJRA9_KcRPNS0_4NodeEEEESC_DpOT0_($this, $args1) { + $this = $this | 0; + $args1 = $args1 | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle11SpecialNameEJRA9_KcRPNS2_4NodeEEEEPT_DpOT0_($this + 368 | 0, 57889, $args1) | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle15ConditionalExprC2EPKNS0_4NodeES4_S4_($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($0, 45, 1, 1, 1); - HEAP32[$0 >> 2] = 18572; - HEAP32[$0 + 8 >> 2] = $1; - HEAP32[$0 + 12 >> 2] = $2; - HEAP32[$0 + 16 >> 2] = $3; +function __ZN10emscripten8internal7InvokerIvJiiEE6invokeEPFviiEii($fn, $args, $args1) { + $fn = $fn | 0; + $args = $args | 0; + $args1 = $args1 | 0; + var $call = 0, $call3 = 0; + $call = __ZN10emscripten8internal11BindingTypeIivE12fromWireTypeEi($args) | 0; + $call3 = __ZN10emscripten8internal11BindingTypeIivE12fromWireTypeEi($args1) | 0; + FUNCTION_TABLE_vii[$fn & 255]($call, $call3); return; } -function __ZN12_GLOBAL__N_116itanium_demangle15BracedRangeExprC2EPKNS0_4NodeES4_S4_($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($0, 66, 1, 1, 1); - HEAP32[$0 >> 2] = 18704; - HEAP32[$0 + 8 >> 2] = $1; - HEAP32[$0 + 12 >> 2] = $2; - HEAP32[$0 + 16 >> 2] = $3; - return; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_22ParameterPackExpansionEJRPNS0_4NodeEEEES9_DpOT0_($this, $args) { + $this = $this | 0; + $args = $args | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle22ParameterPackExpansionEJRPNS2_4NodeEEEEPT_DpOT0_($this + 368 | 0, $args) | 0; } -function __ZNSt3__210shared_ptrIhED2Ev($0) { - $0 = $0 | 0; - var $2 = 0, $4 = 0, $5 = 0; - $2 = HEAP32[$0 + 4 >> 2] | 0; - if ($2 | 0 ? ($4 = $2 + 4 | 0, $5 = HEAP32[$4 >> 2] | 0, HEAP32[$4 >> 2] = $5 + -1, ($5 | 0) == 0) : 0) { - FUNCTION_TABLE_vi[HEAP32[(HEAP32[$2 >> 2] | 0) + 8 >> 2] & 255]($2); - __ZNSt3__219__shared_weak_count14__release_weakEv($2); - } - return; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_22ConversionOperatorTypeEJRPNS0_4NodeEEEES9_DpOT0_($this, $args) { + $this = $this | 0; + $args = $args | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle22ConversionOperatorTypeEJRPNS2_4NodeEEEEPT_DpOT0_($this + 368 | 0, $args) | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_11SpecialNameEJRA41_KcRPNS0_4NodeEEEESC_DpOT0_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle11SpecialNameEJRA41_KcRPNS2_4NodeEEEEPT_DpOT0_($0 + 368 | 0, 56858, $1) | 0; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_13FunctionParamEJRNS_10StringViewEEEEPNS0_4NodeEDpOT0_($this, $args) { + $this = $this | 0; + $args = $args | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle13FunctionParamEJRNS_10StringViewEEEEPT_DpOT0_($this + 368 | 0, $args) | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_11SpecialNameEJRA27_KcRPNS0_4NodeEEEESC_DpOT0_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle11SpecialNameEJRA27_KcRPNS2_4NodeEEEEPT_DpOT0_($0 + 368 | 0, 56987, $1) | 0; +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle16StdQualifiedNameEJRPNS2_4NodeEEEEPT_DpOT0_($this, $args) { + $this = $this | 0; + $args = $args | 0; + var $call = 0; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 12) | 0; + __ZN12_GLOBAL__N_116itanium_demangle16StdQualifiedNameC2EPNS0_4NodeE($call, HEAP32[$args >> 2] | 0); + return $call | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_11SpecialNameEJRA25_KcRPNS0_4NodeEEEESC_DpOT0_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle11SpecialNameEJRA25_KcRPNS2_4NodeEEEEPT_DpOT0_($0 + 368 | 0, 56773, $1) | 0; +function __ZN6vision5ImageC2ERKS0_($this, $image) { + $this = $this | 0; + $image = $image | 0; + HEAP32[$this >> 2] = 0; + HEAP32[$this + 4 >> 2] = 0; + HEAP32[$this + 8 >> 2] = 0; + HEAP32[$this + 12 >> 2] = 0; + HEAP32[$this + 16 >> 2] = 0; + HEAP32[$this + 20 >> 2] = 0; + HEAP32[$this + 24 >> 2] = 0; + HEAP32[$this + 28 >> 2] = 0; + __ZN6vision5Image11shallowCopyERKS0_($this, $image); + return; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_11SpecialNameEJRA22_KcRPNS0_4NodeEEEESC_DpOT0_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle11SpecialNameEJRA22_KcRPNS2_4NodeEEEEPT_DpOT0_($0 + 368 | 0, 56818, $1) | 0; +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle15LiteralOperatorEJRPNS2_4NodeEEEEPT_DpOT0_($this, $args) { + $this = $this | 0; + $args = $args | 0; + var $call = 0; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 12) | 0; + __ZN12_GLOBAL__N_116itanium_demangle15LiteralOperatorC2EPKNS0_4NodeE($call, HEAP32[$args >> 2] | 0); + return $call | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_11SpecialNameEJRA20_KcRPNS0_4NodeEEEESC_DpOT0_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle11SpecialNameEJRA20_KcRPNS2_4NodeEEEEPT_DpOT0_($0 + 368 | 0, 56798, $1) | 0; +function __ZN12_GLOBAL__N_116itanium_demangle13QualifiedNameC2EPKNS0_4NodeES4_($this, $Qualifier_, $Name_) { + $this = $this | 0; + $Qualifier_ = $Qualifier_ | 0; + $Name_ = $Name_ | 0; + __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($this, 22, 1, 1, 1); + HEAP32[$this >> 2] = 19100; + HEAP32[$this + 8 >> 2] = $Qualifier_; + HEAP32[$this + 12 >> 2] = $Name_; + return; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_11SpecialNameEJRA19_KcRPNS0_4NodeEEEESC_DpOT0_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle11SpecialNameEJRA19_KcRPNS2_4NodeEEEEPT_DpOT0_($0 + 368 | 0, 57014, $1) | 0; +function __ZNSt3__26vectorINS0_INS_4pairIfmEENS_9allocatorIS2_EEEENS3_IS5_EEE18__construct_at_endEm($this, $__n) { + $this = $this | 0; + $__n = $__n | 0; + var $__end_ = 0, $__end_$promoted = 0; + $__end_ = $this + 4 | 0; + $__end_$promoted = HEAP32[$__end_ >> 2] | 0; + _memset($__end_$promoted | 0, 0, $__n * 12 | 0) | 0; + HEAP32[$__end_ >> 2] = $__end_$promoted + ($__n * 12 | 0); + return; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_11SpecialNameEJRA18_KcRPNS0_4NodeEEEESC_DpOT0_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle11SpecialNameEJRA18_KcRPNS2_4NodeEEEEPT_DpOT0_($0 + 368 | 0, 56840, $1) | 0; +function __ZN12_GLOBAL__N_116itanium_demangle9LocalNameC2EPNS0_4NodeES3_($this, $Encoding_, $Entity_) { + $this = $this | 0; + $Encoding_ = $Encoding_ | 0; + $Entity_ = $Entity_ | 0; + __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($this, 24, 1, 1, 1); + HEAP32[$this >> 2] = 19716; + HEAP32[$this + 8 >> 2] = $Encoding_; + HEAP32[$this + 12 >> 2] = $Entity_; + return; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_11SpecialNameEJRA14_KcRPNS0_4NodeEEEESC_DpOT0_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle11SpecialNameEJRA14_KcRPNS2_4NodeEEEEPT_DpOT0_($0 + 368 | 0, 57033, $1) | 0; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_13ParameterPackEJNS0_9NodeArrayEEEEPNS0_4NodeEDpOT0_($this, $args) { + $this = $this | 0; + $args = $args | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle13ParameterPackEJNS2_9NodeArrayEEEEPT_DpOT0_($this + 368 | 0, $args) | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_11SpecialNameEJRA12_KcRPNS0_4NodeEEEESC_DpOT0_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle11SpecialNameEJRA12_KcRPNS2_4NodeEEEEPT_DpOT0_($0 + 368 | 0, 57056, $1) | 0; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_13NodeArrayNodeEJNS0_9NodeArrayEEEEPNS0_4NodeEDpOT0_($this, $args) { + $this = $this | 0; + $args = $args | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle13NodeArrayNodeEJNS2_9NodeArrayEEEEPT_DpOT0_($this + 368 | 0, $args) | 0; } -function __ZNSt3__26vectorIN6vision5ImageENS_9allocatorIS2_EEE18__construct_at_endEm($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $2 = 0, $3 = 0; - $2 = $0 + 4 | 0; - $$0 = $1; - $3 = HEAP32[$2 >> 2] | 0; - do { - __ZN6vision5ImageC2Ev($3); - $3 = (HEAP32[$2 >> 2] | 0) + 32 | 0; - HEAP32[$2 >> 2] = $3; - $$0 = $$0 + -1 | 0; - } while (($$0 | 0) != 0); - return; +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle24ForwardTemplateReferenceEJRmEEEPT_DpOT0_($this, $args) { + $this = $this | 0; + $args = $args | 0; + var $call = 0; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 20) | 0; + __ZN12_GLOBAL__N_116itanium_demangle24ForwardTemplateReferenceC2Em($call, HEAP32[$args >> 2] | 0); + return $call | 0; } -function __ZN6vision40Homography3PointsGeometricallyConsistentIfEEbPKT_S3_S3_S3_S3_S3_($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $7 = 0; - $7 = +__ZN6vision13LinePointSideIfEET_PKS1_S3_S3_($0, $1, $2) > 0.0; - return $7 ^ +__ZN6vision13LinePointSideIfEET_PKS1_S3_S3_($3, $4, $5) > 0.0 ^ 1 | 0; +function __ZN6vision12FeaturePointC2Effffb($this, $_x, $_y, $_angle, $_scale, $_maxima) { + $this = $this | 0; + $_x = +$_x; + $_y = +$_y; + $_angle = +$_angle; + $_scale = +$_scale; + $_maxima = $_maxima | 0; + HEAPF32[$this >> 2] = $_x; + HEAPF32[$this + 4 >> 2] = $_y; + HEAPF32[$this + 8 >> 2] = $_angle; + HEAPF32[$this + 12 >> 2] = $_scale; + HEAP8[$this + 16 >> 0] = $_maxima & 1; + return; } -function __ZNSt3__25ctypeIcEC2EPKtbm($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $10 = 0, $7 = 0; - HEAP32[$0 + 4 >> 2] = $3 + -1; - HEAP32[$0 >> 2] = 23308; - $7 = $0 + 8 | 0; - HEAP32[$7 >> 2] = $1; - HEAP8[$0 + 12 >> 0] = $2 & 1; - if (!$1) { - $10 = __ZNSt3__25ctypeIcE13classic_tableEv() | 0; - HEAP32[$7 >> 2] = $10; - } +function __ZN10emscripten8internal7InvokerIvJifEE6invokeEPFvifEif($fn, $args, $args1) { + $fn = $fn | 0; + $args = $args | 0; + $args1 = +$args1; + var $call = 0, $call3 = 0.0; + $call = __ZN10emscripten8internal11BindingTypeIivE12fromWireTypeEi($args) | 0; + $call3 = +__ZN10emscripten8internal11BindingTypeIfvE12fromWireTypeEf($args1); + FUNCTION_TABLE_vid[$fn & 3]($call, $call3); return; } -function __ZNK12_GLOBAL__N_116itanium_demangle13ParameterPack23initializePackExpansionERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $6 = 0; - $2 = $1 + 16 | 0; - if ((HEAP32[$2 >> 2] | 0) == -1) { - $6 = __ZNK12_GLOBAL__N_116itanium_demangle9NodeArray4sizeEv($0 + 8 | 0) | 0; - HEAP32[$2 >> 2] = $6; - HEAP32[$1 + 12 >> 2] = 0; - } +function __ZN10emscripten8internal7InvokerIvJidEE6invokeEPFvidEid($fn, $args, $args1) { + $fn = $fn | 0; + $args = $args | 0; + $args1 = +$args1; + var $call = 0, $call3 = 0.0; + $call = __ZN10emscripten8internal11BindingTypeIivE12fromWireTypeEi($args) | 0; + $call3 = +__ZN10emscripten8internal11BindingTypeIdvE12fromWireTypeEd($args1); + FUNCTION_TABLE_vid[$fn & 3]($call, $call3); return; } -function __ZN6vision25bilinear_downsample_pointERfS0_S0_fffi($0, $1, $2, $3, $4, $5, $6) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = +$3; - $4 = +$4; - $5 = +$5; - $6 = $6 | 0; - var $11 = 0.0, $9 = 0.0; - $9 = 1.0 / +(1 << $6 | 0); - $11 = $9 * .5 + -.5; - HEAPF32[$0 >> 2] = $9 * $3 + $11; - HEAPF32[$1 >> 2] = $9 * $4 + $11; - HEAPF32[$2 >> 2] = $9 * $5; - return; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_19SizeofParamPackExprEJRPNS0_4NodeEEEES9_DpOT0_($this, $args) { + $this = $this | 0; + $args = $args | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle19SizeofParamPackExprEJRPNS2_4NodeEEEEPT_DpOT0_($this + 368 | 0, $args) | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_11SpecialNameEJRA9_KcRPNS0_4NodeEEEESC_DpOT0_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle11SpecialNameEJRA9_KcRPNS2_4NodeEEEEPT_DpOT0_($0 + 368 | 0, 57047, $1) | 0; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_19GlobalQualifiedNameEJRPNS0_4NodeEEEES9_DpOT0_($this, $args) { + $this = $this | 0; + $args = $args | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle19GlobalQualifiedNameEJRPNS2_4NodeEEEEPT_DpOT0_($this + 368 | 0, $args) | 0; } -function __ZNSt3__218__libcpp_refstringD2Ev($0) { - $0 = $0 | 0; - var $3 = 0, $4 = 0, $5 = 0; - if (__ZNKSt3__218__libcpp_refstring15__uses_refcountEv($0) | 0 ? ($3 = __ZNSt3__215__refstring_imp12_GLOBAL__N_113rep_from_dataEPKc(HEAP32[$0 >> 2] | 0) | 0, $4 = $3 + 8 | 0, $5 = HEAP32[$4 >> 2] | 0, HEAP32[$4 >> 2] = $5 + -1, ($5 | 0) < 1) : 0) __ZdlPv($3); - return; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_12TemplateArgsEJNS0_9NodeArrayEEEEPNS0_4NodeEDpOT0_($this, $args) { + $this = $this | 0; + $args = $args | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle12TemplateArgsEJNS2_9NodeArrayEEEEPT_DpOT0_($this + 368 | 0, $args) | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_13ParameterPackEJNS0_9NodeArrayEEEEPNS0_4NodeEDpOT0_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle13ParameterPackEJNS2_9NodeArrayEEEEPT_DpOT0_($0 + 368 | 0, $1) | 0; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_12EnableIfAttrEJNS0_9NodeArrayEEEEPNS0_4NodeEDpOT0_($this, $args) { + $this = $this | 0; + $args = $args | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle12EnableIfAttrEJNS2_9NodeArrayEEEEPT_DpOT0_($this + 368 | 0, $args) | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_13NodeArrayNodeEJNS0_9NodeArrayEEEEPNS0_4NodeEDpOT0_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle13NodeArrayNodeEJNS2_9NodeArrayEEEEPT_DpOT0_($0 + 368 | 0, $1) | 0; +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle12NoexceptSpecEJRPNS2_4NodeEEEEPT_DpOT0_($this, $args) { + $this = $this | 0; + $args = $args | 0; + var $call = 0; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 12) | 0; + __ZN12_GLOBAL__N_116itanium_demangle12NoexceptSpecC2EPKNS0_4NodeE($call, HEAP32[$args >> 2] | 0); + return $call | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle12CtorDtorNameC2EPKNS0_4NodeEbi($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($0, 37, 1, 1, 1); - HEAP32[$0 >> 2] = 19760; - HEAP32[$0 + 8 >> 2] = $1; - HEAP8[$0 + 12 >> 0] = $2 & 1; - HEAP32[$0 + 16 >> 2] = $3; - return; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_24ForwardTemplateReferenceEJRmEEEPNS0_4NodeEDpOT0_($this, $args) { + $this = $this | 0; + $args = $args | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle24ForwardTemplateReferenceEJRmEEEPT_DpOT0_($this + 368 | 0, $args) | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle10DeleteExprC2EPNS0_4NodeEbb($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($0, 52, 1, 1, 1); - HEAP32[$0 >> 2] = 19144; - HEAP32[$0 + 8 >> 2] = $1; - HEAP8[$0 + 12 >> 0] = $2 & 1; - HEAP8[$0 + 13 >> 0] = $3 & 1; +function __ZNKSt3__28numpunctIwE12do_falsenameEv($agg$result, $this) { + $agg$result = $agg$result | 0; + $this = $this | 0; + HEAP32[$agg$result >> 2] = 0; + HEAP32[$agg$result + 4 >> 2] = 0; + HEAP32[$agg$result + 8 >> 2] = 0; + __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6__initEPKwm($agg$result, 23432, __ZNSt3__211char_traitsIwE6lengthEPKw(23432) | 0); return; } -function __ZN12_GLOBAL__N_116itanium_demangle10BracedExprC2EPKNS0_4NodeES4_b($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($0, 65, 1, 1, 1); - HEAP32[$0 >> 2] = 18748; - HEAP32[$0 + 8 >> 2] = $1; - HEAP32[$0 + 12 >> 2] = $2; - HEAP8[$0 + 16 >> 0] = $3 & 1; +function __ZNKSt3__28numpunctIcE12do_falsenameEv($agg$result, $this) { + $agg$result = $agg$result | 0; + $this = $this | 0; + HEAP32[$agg$result >> 2] = 0; + HEAP32[$agg$result + 4 >> 2] = 0; + HEAP32[$agg$result + 8 >> 2] = 0; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm($agg$result, 61868, __ZNSt3__211char_traitsIcE6lengthEPKc(61868) | 0); return; } -function __ZNSt3__215basic_streambufIwNS_11char_traitsIwEEE7seekoffExNS_8ios_base7seekdirEj($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $11 = 0, $6 = 0; - $6 = $0; - HEAP32[$6 >> 2] = 0; - HEAP32[$6 + 4 >> 2] = 0; - $11 = $0 + 8 | 0; - HEAP32[$11 >> 2] = -1; - HEAP32[$11 + 4 >> 2] = -1; - return; +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle11PointerTypeEJRPNS2_4NodeEEEEPT_DpOT0_($this, $args) { + $this = $this | 0; + $args = $args | 0; + var $call = 0; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 12) | 0; + __ZN12_GLOBAL__N_116itanium_demangle11PointerTypeC2EPKNS0_4NodeE($call, HEAP32[$args >> 2] | 0); + return $call | 0; } -function __ZNSt3__215basic_streambufIcNS_11char_traitsIcEEE7seekoffExNS_8ios_base7seekdirEj($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $11 = 0, $6 = 0; - $6 = $0; - HEAP32[$6 >> 2] = 0; - HEAP32[$6 + 4 >> 2] = 0; - $11 = $0 + 8 | 0; - HEAP32[$11 >> 2] = -1; - HEAP32[$11 + 4 >> 2] = -1; - return; +function _snprintf($s, $n, $fmt, $varargs) { + $s = $s | 0; + $n = $n | 0; + $fmt = $fmt | 0; + $varargs = $varargs | 0; + var $ap = 0, $call = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $ap = sp; + HEAP32[$ap >> 2] = $varargs; + $call = _vsnprintf($s, $n, $fmt, $ap) | 0; + STACKTOP = sp; + return $call | 0; } -function __ZNSt3__213unordered_mapIiP14AR2SurfaceSetTNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS2_EEEEED2Ev($this) { +function __ZNKSt3__28numpunctIwE11do_truenameEv($agg$result, $this) { + $agg$result = $agg$result | 0; $this = $this | 0; - __ZNSt3__212__hash_tableINS_17__hash_value_typeIiP14AR2SurfaceSetTEENS_22__unordered_map_hasherIiS4_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS4_NS_8equal_toIiEELb1EEENS_9allocatorIS4_EEED2Ev($this); + HEAP32[$agg$result >> 2] = 0; + HEAP32[$agg$result + 4 >> 2] = 0; + HEAP32[$agg$result + 8 >> 2] = 0; + __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6__initEPKwm($agg$result, 23456, __ZNSt3__211char_traitsIwE6lengthEPKw(23456) | 0); return; } -function __ZN6vision16RobustHomographyIfEC2Efiii($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = +$1; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var dest = 0, stop = 0; - dest = $0; - stop = dest + 36 | 0; - do { - HEAP32[dest >> 2] = 0; - dest = dest + 4 | 0; - } while ((dest | 0) < (stop | 0)); - __ZN6vision16RobustHomographyIfE4initEfiii($0, $1, $2, $3, $4); +function __ZNKSt3__28numpunctIcE11do_truenameEv($agg$result, $this) { + $agg$result = $agg$result | 0; + $this = $this | 0; + HEAP32[$agg$result >> 2] = 0; + HEAP32[$agg$result + 4 >> 2] = 0; + HEAP32[$agg$result + 8 >> 2] = 0; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm($agg$result, 61874, __ZNSt3__211char_traitsIcE6lengthEPKc(61874) | 0); return; } -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle19SizeofParamPackExprEJRPNS2_4NodeEEEEPT_DpOT0_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 12) | 0; - __ZN12_GLOBAL__N_116itanium_demangle19SizeofParamPackExprC2EPKNS0_4NodeE($2, HEAP32[$1 >> 2] | 0); - return $2 | 0; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRNS_10StringViewEEEEPNS0_4NodeEDpOT0_($this, $args) { + $this = $this | 0; + $args = $args | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8NameTypeEJRNS_10StringViewEEEEPT_DpOT0_($this + 368 | 0, $args) | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_19SizeofParamPackExprEJRPNS0_4NodeEEEES9_DpOT0_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle19SizeofParamPackExprEJRPNS2_4NodeEEEEPT_DpOT0_($0 + 368 | 0, $1) | 0; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_16StdQualifiedNameEJRPNS0_4NodeEEEES9_DpOT0_($this, $args) { + $this = $this | 0; + $args = $args | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle16StdQualifiedNameEJRPNS2_4NodeEEEEPT_DpOT0_($this + 368 | 0, $args) | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_19GlobalQualifiedNameEJRPNS0_4NodeEEEES9_DpOT0_($0, $1) { +function __ZNSt3__215basic_streambufIwNS_11char_traitsIwEEE7seekposENS_4fposI11__mbstate_tEEj($agg$result, $this, $0, $1) { + $agg$result = $agg$result | 0; + $this = $this | 0; $0 = $0 | 0; $1 = $1 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle19GlobalQualifiedNameEJRPNS2_4NodeEEEEPT_DpOT0_($0 + 368 | 0, $1) | 0; + var $2 = 0, $6 = 0; + $2 = $agg$result; + HEAP32[$2 >> 2] = 0; + HEAP32[$2 + 4 >> 2] = 0; + $6 = $agg$result + 8 | 0; + HEAP32[$6 >> 2] = -1; + HEAP32[$6 + 4 >> 2] = -1; + return; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_12TemplateArgsEJNS0_9NodeArrayEEEEPNS0_4NodeEDpOT0_($0, $1) { +function __ZNSt3__215basic_streambufIcNS_11char_traitsIcEEE7seekposENS_4fposI11__mbstate_tEEj($agg$result, $this, $0, $1) { + $agg$result = $agg$result | 0; + $this = $this | 0; $0 = $0 | 0; $1 = $1 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle12TemplateArgsEJNS2_9NodeArrayEEEEPT_DpOT0_($0 + 368 | 0, $1) | 0; + var $2 = 0, $6 = 0; + $2 = $agg$result; + HEAP32[$2 >> 2] = 0; + HEAP32[$2 + 4 >> 2] = 0; + $6 = $agg$result + 8 | 0; + HEAP32[$6 >> 2] = -1; + HEAP32[$6 + 4 >> 2] = -1; + return; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_12EnableIfAttrEJNS0_9NodeArrayEEEEPNS0_4NodeEDpOT0_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle12EnableIfAttrEJNS2_9NodeArrayEEEEPT_DpOT0_($0 + 368 | 0, $1) | 0; +function __ZNSt3__214__split_bufferINS_4pairIfiEERNS_9allocatorIS2_EEE18__construct_at_endEm($this, $__n) { + $this = $this | 0; + $__n = $__n | 0; + var $__end_ = 0, $__end_$promoted = 0; + $__end_ = $this + 8 | 0; + $__end_$promoted = HEAP32[$__end_ >> 2] | 0; + _memset($__end_$promoted | 0, 0, $__n << 3 | 0) | 0; + HEAP32[$__end_ >> 2] = $__end_$promoted + ($__n << 3); + return; } -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle19GlobalQualifiedNameEJRPNS2_4NodeEEEEPT_DpOT0_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 12) | 0; - __ZN12_GLOBAL__N_116itanium_demangle19GlobalQualifiedNameC2EPNS0_4NodeE($2, HEAP32[$1 >> 2] | 0); - return $2 | 0; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_15LiteralOperatorEJRPNS0_4NodeEEEES9_DpOT0_($this, $args) { + $this = $this | 0; + $args = $args | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle15LiteralOperatorEJRPNS2_4NodeEEEEPT_DpOT0_($this + 368 | 0, $args) | 0; } -function _wmemcpy($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$058 = 0, $$067 = 0, $$09 = 0; - if ($2 | 0) { - $$058 = $2; - $$067 = $1; - $$09 = $0; - while (1) { - $$058 = $$058 + -1 | 0; - HEAP32[$$09 >> 2] = HEAP32[$$067 >> 2]; - if (!$$058) break; else { - $$067 = $$067 + 4 | 0; - $$09 = $$09 + 4 | 0; - } - } - } - return $0 | 0; +function __ZNK12_GLOBAL__N_116itanium_demangle4Node11hasFunctionERNS_12OutputStreamE($this, $S) { + $this = $this | 0; + $S = $S | 0; + var $0 = 0, $retval$0 = 0; + $0 = HEAP8[$this + 7 >> 0] | 0; + if ($0 << 24 >> 24 == 2) $retval$0 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$this >> 2] | 0) + 8 >> 2] & 127]($this, $S) | 0; else $retval$0 = $0 << 24 >> 24 == 0; + return $retval$0 | 0; } -function _snprintf($0, $1, $2, $varargs) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle9ThrowExprEJRPNS2_4NodeEEEEPT_DpOT0_($this, $args) { + $this = $this | 0; + $args = $args | 0; + var $call = 0; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 12) | 0; + __ZN12_GLOBAL__N_116itanium_demangle9ThrowExprC2EPKNS0_4NodeE($call, HEAP32[$args >> 2] | 0); + return $call | 0; +} + +function _abort_message($format, $varargs) { + $format = $format | 0; $varargs = $varargs | 0; - var $3 = 0, $4 = 0, sp = 0; + var $0 = 0, $list = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $3 = sp; - HEAP32[$3 >> 2] = $varargs; - $4 = _vsnprintf($0, $1, $2, $3) | 0; - STACKTOP = sp; - return $4 | 0; + $list = sp; + HEAP32[$list >> 2] = $varargs; + $0 = HEAP32[4274] | 0; + _vfprintf($0, $format, $list) | 0; + _fputc(10, $0) | 0; + _abort(); +} + +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8DtorNameEJRPNS2_4NodeEEEEPT_DpOT0_($this, $args) { + $this = $this | 0; + $args = $args | 0; + var $call = 0; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 12) | 0; + __ZN12_GLOBAL__N_116itanium_demangle8DtorNameC2EPKNS0_4NodeE($call, HEAP32[$args >> 2] | 0); + return $call | 0; } -function __ZNSt3__213unordered_mapIiNS_6vectorIiNS_9allocatorIiEEEENS_4hashIiEENS_8equal_toIiEENS2_INS_4pairIKiS4_EEEEED2Ev($0) { +function __ZNSt3__212_GLOBAL__N_111__fake_bindC2EMNS_6locale2idEFvvEPS3_($this, $0, $id) { + $this = $this | 0; $0 = $0 | 0; - __ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_6vectorIiNS_9allocatorIiEEEEEENS_22__unordered_map_hasherIiS6_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS6_NS_8equal_toIiEELb1EEENS3_IS6_EEED2Ev($0); + $id = $id | 0; + var $pmf$unpack = 0, $pmf$unpack2 = 0; + $pmf$unpack = HEAP32[$0 >> 2] | 0; + $pmf$unpack2 = HEAP32[$0 + 4 >> 2] | 0; + HEAP32[$this >> 2] = $id; + HEAP32[$this + 4 >> 2] = $pmf$unpack; + HEAP32[$this + 8 >> 2] = $pmf$unpack2; return; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_24ForwardTemplateReferenceEJRmEEEPNS0_4NodeEDpOT0_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle24ForwardTemplateReferenceEJRmEEEPT_DpOT0_($0 + 368 | 0, $1) | 0; +function _arPattAttach($arHandle, $arPattHandle) { + $arHandle = $arHandle | 0; + $arPattHandle = $arPattHandle | 0; + var $pattHandle = 0, $retval$0 = 0; + if (($arHandle | 0) != 0 ? ($pattHandle = $arHandle + 7062384 | 0, (HEAP32[$pattHandle >> 2] | 0) == 0) : 0) { + HEAP32[$pattHandle >> 2] = $arPattHandle; + $retval$0 = 0; + } else $retval$0 = -1; + return $retval$0 | 0; } -function _rewind($0) { - $0 = $0 | 0; - var $phitmp = 0; - if ((HEAP32[$0 + 76 >> 2] | 0) > -1) { - $phitmp = (___lockfile($0) | 0) == 0; - ___fseeko_unlocked($0, 0, 0, 0) | 0; - HEAP32[$0 >> 2] = HEAP32[$0 >> 2] & -33; - if (!$phitmp) ___unlockfile($0); - } else { - ___fseeko_unlocked($0, 0, 0, 0) | 0; - HEAP32[$0 >> 2] = HEAP32[$0 >> 2] & -33; - } +function __ZNSt3__213unordered_mapIiNS_6vectorIiNS_9allocatorIiEEEENS_4hashIiEENS_8equal_toIiEENS2_INS_4pairIKiS4_EEEEED2Ev($this) { + $this = $this | 0; + __ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_6vectorIiNS_9allocatorIiEEEEEENS_22__unordered_map_hasherIiS6_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS6_NS_8equal_toIiEELb1EEENS3_IS6_EEED2Ev($this); return; } -function __ZN6vision25GaussianScaleSpacePyramid9configureEii($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $10 = 0.0, $exp2 = 0.0; - HEAP32[$0 + 16 >> 2] = $1; - HEAP32[$0 + 20 >> 2] = $2; - $exp2 = +_llvm_exp2_f32(+(1.0 / +($2 + -1 | 0))); - HEAPF32[$0 + 24 >> 2] = $exp2; - $10 = 1.0 / +Math_log(+$exp2); - HEAPF32[$0 + 28 >> 2] = $10; +function __ZNK12_GLOBAL__N_116itanium_demangle4Node8hasArrayERNS_12OutputStreamE($this, $S) { + $this = $this | 0; + $S = $S | 0; + var $0 = 0, $retval$0 = 0; + $0 = HEAP8[$this + 6 >> 0] | 0; + if ($0 << 24 >> 24 == 2) $retval$0 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$this >> 2] | 0) + 4 >> 2] & 127]($this, $S) | 0; else $retval$0 = $0 << 24 >> 24 == 0; + return $retval$0 | 0; +} + +function _matrixCopy($src, $dst) { + $src = $src | 0; + $dst = $dst | 0; + var $i$0 = 0, $j$0 = 0; + $i$0 = 0; + while (1) { + if (($i$0 | 0) == 3) break; + $j$0 = 0; + while (1) { + if (($j$0 | 0) == 4) break; + HEAPF64[$dst + ($i$0 << 5) + ($j$0 << 3) >> 3] = +HEAPF64[$src + ($i$0 << 5) + ($j$0 << 3) >> 3]; + $j$0 = $j$0 + 1 | 0; + } + $i$0 = $i$0 + 1 | 0; + } return; } -function _jpeg_idct_1x1($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $17 = 0; - $17 = (HEAP32[$0 + 336 >> 2] | 0) + -384 + (((Math_imul(HEAP32[HEAP32[$1 + 84 >> 2] >> 2] | 0, HEAP16[$2 >> 1] | 0) | 0) + 4100 | 0) >>> 3 & 1023) | 0; - HEAP8[(HEAP32[$3 >> 2] | 0) + $4 >> 0] = HEAP8[$17 >> 0] | 0; +function _finish_pass_huff($cinfo) { + $cinfo = $cinfo | 0; + var $bits_left = 0, $discarded_bytes = 0; + $bits_left = (HEAP32[$cinfo + 468 >> 2] | 0) + 16 | 0; + $discarded_bytes = (HEAP32[$cinfo + 464 >> 2] | 0) + 24 | 0; + HEAP32[$discarded_bytes >> 2] = (HEAP32[$discarded_bytes >> 2] | 0) + ((HEAP32[$bits_left >> 2] | 0) / 8 | 0); + HEAP32[$bits_left >> 2] = 0; return; } -function __ZNSt3__214__split_bufferINS_6vectorINS1_INS_4pairIfmEENS_9allocatorIS3_EEEENS4_IS6_EEEERNS4_IS8_EEE18__construct_at_endEm($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$promoted = 0, $2 = 0; - $2 = $0 + 8 | 0; - $$promoted = HEAP32[$2 >> 2] | 0; - _memset($$promoted | 0, 0, $1 * 12 | 0) | 0; - HEAP32[$2 >> 2] = $$promoted + ($1 * 12 | 0); +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_12NoexceptSpecEJRPNS0_4NodeEEEES9_DpOT0_($this, $args) { + $this = $this | 0; + $args = $args | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle12NoexceptSpecEJRPNS2_4NodeEEEEPT_DpOT0_($this + 368 | 0, $args) | 0; +} + +function __ZN12_GLOBAL__N_112OutputStreampLEc($this, $C) { + $this = $this | 0; + $C = $C | 0; + var $0 = 0, $1 = 0, $CurrentPosition = 0; + __ZN12_GLOBAL__N_112OutputStream4growEm($this, 1); + $0 = HEAP32[$this >> 2] | 0; + $CurrentPosition = $this + 4 | 0; + $1 = HEAP32[$CurrentPosition >> 2] | 0; + HEAP32[$CurrentPosition >> 2] = $1 + 1; + HEAP8[$0 + $1 >> 0] = $C; return; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRNS_10StringViewEEEEPNS0_4NodeEDpOT0_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8NameTypeEJRNS_10StringViewEEEEPT_DpOT0_($0 + 368 | 0, $1) | 0; +function __ZNK12_GLOBAL__N_116itanium_demangle4Node15hasRHSComponentERNS_12OutputStreamE($this, $S) { + $this = $this | 0; + $S = $S | 0; + var $0 = 0, $retval$0 = 0; + $0 = HEAP8[$this + 5 >> 0] | 0; + if ($0 << 24 >> 24 == 2) $retval$0 = FUNCTION_TABLE_iii[HEAP32[HEAP32[$this >> 2] >> 2] & 127]($this, $S) | 0; else $retval$0 = $0 << 24 >> 24 == 0; + return $retval$0 | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_16StdQualifiedNameEJRPNS0_4NodeEEEES9_DpOT0_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle16StdQualifiedNameEJRPNS2_4NodeEEEEPT_DpOT0_($0 + 368 | 0, $1) | 0; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_11PointerTypeEJRPNS0_4NodeEEEES9_DpOT0_($this, $args) { + $this = $this | 0; + $args = $args | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle11PointerTypeEJRPNS2_4NodeEEEEPT_DpOT0_($this + 368 | 0, $args) | 0; } -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle16StdQualifiedNameEJRPNS2_4NodeEEEEPT_DpOT0_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 12) | 0; - __ZN12_GLOBAL__N_116itanium_demangle16StdQualifiedNameC2EPNS0_4NodeE($2, HEAP32[$1 >> 2] | 0); - return $2 | 0; +function _ferror($f) { + $f = $f | 0; + var $and$lobit = 0, $and$lobit9 = 0, $phitmp = 0; + if ((HEAP32[$f + 76 >> 2] | 0) > -1) { + $phitmp = (___lockfile($f) | 0) == 0; + $and$lobit = (HEAP32[$f >> 2] | 0) >>> 5 & 1; + if ($phitmp) $and$lobit9 = $and$lobit; else $and$lobit9 = $and$lobit; + } else $and$lobit9 = (HEAP32[$f >> 2] | 0) >>> 5 & 1; + return $and$lobit9 | 0; } -function __ZN12_GLOBAL__N_120BumpPointerAllocator15allocateMassiveEm($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $3 = 0, $6 = 0; - $3 = _malloc($1 + 8 | 0) | 0; - if (!$3) __ZSt9terminatev(); else { - $6 = HEAP32[$0 + 4096 >> 2] | 0; - HEAP32[$3 >> 2] = HEAP32[$6 >> 2]; - HEAP32[$3 + 4 >> 2] = 0; - HEAP32[$6 >> 2] = $3; - return $3 + 8 | 0; +function __ZN6vision18BinomialPyramid32fD2Ev($this) { + $this = $this | 0; + HEAP32[$this >> 2] = 16756; + __ZNSt3__213__vector_baseIfNS_9allocatorIfEEED2Ev($this + 56 | 0); + __ZNSt3__213__vector_baseIfNS_9allocatorIfEEED2Ev($this + 44 | 0); + __ZNSt3__213__vector_baseItNS_9allocatorItEEED2Ev($this + 32 | 0); + __ZN6vision25GaussianScaleSpacePyramidD2Ev($this); + return; +} + +function __ZNSt3__26vectorINS_4pairIfiEENS_9allocatorIS2_EEE18__construct_at_endEm($this, $__n) { + $this = $this | 0; + $__n = $__n | 0; + var $__end_ = 0, $__end_$promoted = 0; + $__end_ = $this + 4 | 0; + $__end_$promoted = HEAP32[$__end_ >> 2] | 0; + _memset($__end_$promoted | 0, 0, $__n << 3 | 0) | 0; + HEAP32[$__end_ >> 2] = $__end_$promoted + ($__n << 3); + return; +} + +function __ZNSt3__213__vector_baseIN6vision25DoGScaleInvariantDetector12FeaturePointENS_9allocatorIS3_EEED2Ev($this) { + $this = $this | 0; + var $0 = 0, $1 = 0; + $0 = HEAP32[$this >> 2] | 0; + $1 = $0; + if ($0 | 0) { + HEAP32[$this + 4 >> 2] = $1; + __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($0, (HEAP32[$this + 8 >> 2] | 0) - $1 | 0); } - return 0; + return; } -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle15LiteralOperatorEJRPNS2_4NodeEEEEPT_DpOT0_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 12) | 0; - __ZN12_GLOBAL__N_116itanium_demangle15LiteralOperatorC2EPKNS0_4NodeE($2, HEAP32[$1 >> 2] | 0); - return $2 | 0; +function _process_data_crank_post($cinfo, $output_buf, $out_row_ctr, $out_rows_avail) { + $cinfo = $cinfo | 0; + $output_buf = $output_buf | 0; + $out_row_ctr = $out_row_ctr | 0; + $out_rows_avail = $out_rows_avail | 0; + FUNCTION_TABLE_viiiiiii[HEAP32[(HEAP32[$cinfo + 456 >> 2] | 0) + 4 >> 2] & 7]($cinfo, 0, 0, 0, $output_buf, $out_row_ctr, $out_rows_avail); + return; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_15LiteralOperatorEJRPNS0_4NodeEEEES9_DpOT0_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle15LiteralOperatorEJRPNS2_4NodeEEEEPT_DpOT0_($0 + 368 | 0, $1) | 0; +function __ZN12_GLOBAL__N_116itanium_demangle18ArraySubscriptExprC2EPKNS0_4NodeES4_($this, $Op1_, $Op2_) { + $this = $this | 0; + $Op1_ = $Op1_ | 0; + $Op2_ = $Op2_ | 0; + __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($this, 43, 1, 1, 1); + HEAP32[$this >> 2] = 18836; + HEAP32[$this + 8 >> 2] = $Op1_; + HEAP32[$this + 12 >> 2] = $Op2_; + return; } -function __ZN10emscripten8constantIiEEvPKcRKT_($name, $v) { - $name = $name | 0; - $v = $v | 0; - var $call = 0; - $call = __ZN10emscripten8internal6TypeIDIRKivE3getEv() | 0; - __embind_register_constant($name | 0, $call | 0, +(+__ZN10emscripten8internal14asGenericValueIiEEdT_(__ZN10emscripten8internal11BindingTypeIivE10toWireTypeERKi($v) | 0))); +function __ZN6vision23bilinear_upsample_pointERfS0_ffi($xp, $yp, $x, $y, $octave) { + $xp = $xp | 0; + $yp = $yp | 0; + $x = +$x; + $y = +$y; + $octave = $octave | 0; + var $conv = 0.0, $conv2 = 0.0; + $conv = +_ldexp(1.0, $octave + -1 | 0) + -.5; + $conv2 = +(1 << $octave | 0); + HEAPF32[$xp >> 2] = $conv2 * $x + $conv; + HEAPF32[$yp >> 2] = $conv2 * $y + $conv; return; } -function __ZNSt3__214__split_bufferIhRNS_9allocatorIhEEE18__construct_at_endEm($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $2 = 0, $3 = 0; - $2 = $0 + 8 | 0; - $$0 = $1; - $3 = HEAP32[$2 >> 2] | 0; - do { - HEAP8[$3 >> 0] = 0; - $3 = (HEAP32[$2 >> 2] | 0) + 1 | 0; - HEAP32[$2 >> 2] = $3; - $$0 = $$0 + -1 | 0; - } while (($$0 | 0) != 0); +function __ZN12_GLOBAL__N_116itanium_demangle10NestedNameC2EPNS0_4NodeES3_($this, $Qual_, $Name_) { + $this = $this | 0; + $Qual_ = $Qual_ | 0; + $Name_ = $Name_ | 0; + __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($this, 23, 1, 1, 1); + HEAP32[$this >> 2] = 19848; + HEAP32[$this + 8 >> 2] = $Qual_; + HEAP32[$this + 12 >> 2] = $Name_; return; } -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle24ForwardTemplateReferenceEJRmEEEPT_DpOT0_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 20) | 0; - __ZN12_GLOBAL__N_116itanium_demangle24ForwardTemplateReferenceC2Em($2, HEAP32[$1 >> 2] | 0); - return $2 | 0; +function __ZN12_GLOBAL__N_116itanium_demangle24ForwardTemplateReferenceC2Em($this, $Index_) { + $this = $this | 0; + $Index_ = $Index_ | 0; + __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($this, 31, 2, 2, 2); + HEAP32[$this >> 2] = 19452; + HEAP32[$this + 8 >> 2] = $Index_; + HEAP32[$this + 12 >> 2] = 0; + HEAP8[$this + 16 >> 0] = 0; + return; } -function __ZN10emscripten8constantIdEEvPKcRKT_($name, $v) { - $name = $name | 0; - $v = $v | 0; - var $call = 0; - $call = __ZN10emscripten8internal6TypeIDIRKdvE3getEv() | 0; - __embind_register_constant($name | 0, $call | 0, +(+__ZN10emscripten8internal14asGenericValueIdEEdT_(+__ZN10emscripten8internal11BindingTypeIdvE10toWireTypeERKd($v)))); +function _arMatrixAllocTransf($source) { + $source = $source | 0; + var $call = 0, $retval$0 = 0; + $call = _arMatrixAllocf(HEAP32[$source + 8 >> 2] | 0, HEAP32[$source + 4 >> 2] | 0) | 0; + if ($call) if ((_arMatrixTransf($call, $source) | 0) < 0) { + _arMatrixFreef($call) | 0; + $retval$0 = 0; + } else $retval$0 = $call; else $retval$0 = 0; + return $retval$0 | 0; +} + +function __ZNSt3__214__split_bufferItRNS_9allocatorItEEE18__construct_at_endEm($this, $__n) { + $this = $this | 0; + $__n = $__n | 0; + var $__end_ = 0, $__end_$promoted = 0; + $__end_ = $this + 8 | 0; + $__end_$promoted = HEAP32[$__end_ >> 2] | 0; + _memset($__end_$promoted | 0, 0, $__n << 1 | 0) | 0; + HEAP32[$__end_ >> 2] = $__end_$promoted + ($__n << 1); return; } -function _arDeleteHandle($0) { - $0 = $0 | 0; - var $$0 = 0, $2 = 0, $3 = 0; - if (!$0) $$0 = -1; else { - $2 = $0 + 7062408 | 0; - $3 = HEAP32[$2 >> 2] | 0; - if ($3 | 0) { - _arImageProcFinal($3); - HEAP32[$2 >> 2] = 0; - } - _free(HEAP32[$0 + 4834144 >> 2] | 0); - _free(HEAP32[$0 + 4834148 >> 2] | 0); - _free($0); - $$0 = 0; - } - return $$0 | 0; +function __ZNSt3__214__split_bufferIiRNS_9allocatorIiEEE18__construct_at_endEm($this, $__n) { + $this = $this | 0; + $__n = $__n | 0; + var $__end_ = 0, $__end_$promoted = 0; + $__end_ = $this + 8 | 0; + $__end_$promoted = HEAP32[$__end_ >> 2] | 0; + _memset($__end_$promoted | 0, 0, $__n << 2 | 0) | 0; + HEAP32[$__end_ >> 2] = $__end_$promoted + ($__n << 2); + return; } -function __ZNSt3__213__vector_baseIN6vision25DoGScaleInvariantDetector12FeaturePointENS_9allocatorIS3_EEED2Ev($0) { - $0 = $0 | 0; - var $1 = 0, $3 = 0; - $1 = HEAP32[$0 >> 2] | 0; - $3 = $1; - if ($1 | 0) { - HEAP32[$0 + 4 >> 2] = $3; - __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($1, (HEAP32[$0 + 8 >> 2] | 0) - $3 | 0); - } +function __ZNSt3__214__split_bufferIfRNS_9allocatorIfEEE18__construct_at_endEm($this, $__n) { + $this = $this | 0; + $__n = $__n | 0; + var $__end_ = 0, $__end_$promoted = 0; + $__end_ = $this + 8 | 0; + $__end_$promoted = HEAP32[$__end_ >> 2] | 0; + _memset($__end_$promoted | 0, 0, $__n << 2 | 0) | 0; + HEAP32[$__end_ >> 2] = $__end_$promoted + ($__n << 2); return; } -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle12NoexceptSpecEJRPNS2_4NodeEEEEPT_DpOT0_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 12) | 0; - __ZN12_GLOBAL__N_116itanium_demangle12NoexceptSpecC2EPKNS0_4NodeE($2, HEAP32[$1 >> 2] | 0); - return $2 | 0; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_9ThrowExprEJRPNS0_4NodeEEEES9_DpOT0_($this, $args) { + $this = $this | 0; + $args = $args | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle9ThrowExprEJRPNS2_4NodeEEEEPT_DpOT0_($this + 368 | 0, $args) | 0; } -function __ZNK12_GLOBAL__N_116itanium_demangle20NameWithTemplateArgs9printLeftERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(HEAP32[$0 + 8 >> 2] | 0, $1); - __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(HEAP32[$0 + 12 >> 2] | 0, $1); +function __ZNSt3__213unordered_mapIiP14AR2SurfaceSetTNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS2_EEEEED2Ev($this) { + $this = $this | 0; + __ZNSt3__212__hash_tableINS_17__hash_value_typeIiP14AR2SurfaceSetTEENS_22__unordered_map_hasherIiS4_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS4_NS_8equal_toIiEELb1EEENS_9allocatorIS4_EEED2Ev($this); return; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_12NoexceptSpecEJRPNS0_4NodeEEEES9_DpOT0_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle12NoexceptSpecEJRPNS2_4NodeEEEEPT_DpOT0_($0 + 368 | 0, $1) | 0; +function __ZNK12_GLOBAL__N_116itanium_demangle20NameWithTemplateArgs9printLeftERNS_12OutputStreamE($this, $S) { + $this = $this | 0; + $S = $S | 0; + __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(HEAP32[$this + 8 >> 2] | 0, $S); + __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE(HEAP32[$this + 12 >> 2] | 0, $S); + return; } -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle11PointerTypeEJRPNS2_4NodeEEEEPT_DpOT0_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 12) | 0; - __ZN12_GLOBAL__N_116itanium_demangle11PointerTypeC2EPKNS0_4NodeE($2, HEAP32[$1 >> 2] | 0); - return $2 | 0; +function __ZNSt3__26vectorIiNS_9allocatorIiEEEC2Em($this, $__n) { + $this = $this | 0; + $__n = $__n | 0; + HEAP32[$this >> 2] = 0; + HEAP32[$this + 4 >> 2] = 0; + HEAP32[$this + 8 >> 2] = 0; + if ($__n | 0) { + __ZNSt3__26vectorIiNS_9allocatorIiEEE11__vallocateEm($this, $__n); + __ZNSt3__26vectorIiNS_9allocatorIiEEE18__construct_at_endEm($this, $__n); + } + return; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_11PointerTypeEJRPNS0_4NodeEEEES9_DpOT0_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle11PointerTypeEJRPNS2_4NodeEEEEPT_DpOT0_($0 + 368 | 0, $1) | 0; +function __ZNSt3__26vectorIfNS_9allocatorIfEEEC2Em($this, $__n) { + $this = $this | 0; + $__n = $__n | 0; + HEAP32[$this >> 2] = 0; + HEAP32[$this + 4 >> 2] = 0; + HEAP32[$this + 8 >> 2] = 0; + if ($__n | 0) { + __ZNSt3__26vectorIfNS_9allocatorIfEEE11__vallocateEm($this, $__n); + __ZNSt3__26vectorIfNS_9allocatorIfEEE18__construct_at_endEm($this, $__n); + } + return; } -function __ZN6vision18BinomialPyramid32fD2Ev($0) { - $0 = $0 | 0; - HEAP32[$0 >> 2] = 16756; - __ZNSt3__213__vector_baseIfNS_9allocatorIfEEED2Ev($0 + 56 | 0); - __ZNSt3__213__vector_baseIfNS_9allocatorIfEEED2Ev($0 + 44 | 0); - __ZNSt3__213__vector_baseItNS_9allocatorItEEED2Ev($0 + 32 | 0); - __ZN6vision25GaussianScaleSpacePyramidD2Ev($0); - return; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E7consumeEv($this) { + $this = $this | 0; + var $0 = 0, $cond = 0; + $0 = HEAP32[$this >> 2] | 0; + if (($0 | 0) == (HEAP32[$this + 4 >> 2] | 0)) $cond = 0; else { + HEAP32[$this >> 2] = $0 + 1; + $cond = HEAP8[$0 >> 0] | 0; + } + return $cond | 0; } -function _abort_message($0, $varargs) { - $0 = $0 | 0; - $varargs = $varargs | 0; - var $1 = 0, $2 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $1 = sp; - HEAP32[$1 >> 2] = $varargs; - $2 = HEAP32[4271] | 0; - _vfprintf($2, $0, $1) | 0; - _fputc(10, $2) | 0; - _abort(); +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8DtorNameEJRPNS0_4NodeEEEES9_DpOT0_($this, $args) { + $this = $this | 0; + $args = $args | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8DtorNameEJRPNS2_4NodeEEEEPT_DpOT0_($this + 368 | 0, $args) | 0; } -function __ZNK12_GLOBAL__N_116itanium_demangle8QualType9printLeftERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $3 = 0; - $3 = HEAP32[$0 + 12 >> 2] | 0; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$3 >> 2] | 0) + 16 >> 2] & 255]($3, $1); - __ZNK12_GLOBAL__N_116itanium_demangle8QualType10printQualsERNS_12OutputStreamE($0, $1); +function _grayscale_convert_11($cinfo, $input_buf, $input_row, $output_buf, $num_rows) { + $cinfo = $cinfo | 0; + $input_buf = $input_buf | 0; + $input_row = $input_row | 0; + $output_buf = $output_buf | 0; + $num_rows = $num_rows | 0; + _jcopy_sample_rows(HEAP32[$input_buf >> 2] | 0, $input_row, $output_buf, 0, $num_rows, HEAP32[$cinfo + 112 >> 2] | 0); return; } -function __ZNK12_GLOBAL__N_116itanium_demangle21StructuredBindingName9printLeftERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - __ZN12_GLOBAL__N_112OutputStreampLEc($1, 91); - __ZNK12_GLOBAL__N_116itanium_demangle9NodeArray14printWithCommaERNS_12OutputStreamE($0 + 8 | 0, $1); - __ZN12_GLOBAL__N_112OutputStreampLEc($1, 93); - return; +function _kpmGetResult($kpmHandle, $result, $resultNum) { + $kpmHandle = $kpmHandle | 0; + $result = $result | 0; + $resultNum = $resultNum | 0; + var $retval$0 = 0; + if (!$kpmHandle) $retval$0 = -1; else { + HEAP32[$result >> 2] = HEAP32[$kpmHandle + 52 >> 2]; + HEAP32[$resultNum >> 2] = HEAP32[$kpmHandle + 56 >> 2]; + $retval$0 = 0; + } + return $retval$0 | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle19PointerToMemberTypeC2EPKNS0_4NodeES4_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($0, 13, HEAP8[$2 + 5 >> 0] | 0, 1, 1); - HEAP32[$0 >> 2] = 19892; - HEAP32[$0 + 8 >> 2] = $1; - HEAP32[$0 + 12 >> 2] = $2; - return; +function _get_buff_380($buf, $fp) { + $buf = $buf | 0; + $fp = $fp | 0; + var $call = 0, $retval$0 = 0; + L1 : while (1) { + $call = _fgets($buf, 256, $fp) | 0; + if (!$call) { + $retval$0 = 0; + break; + } + switch (HEAP8[$buf >> 0] | 0) { + case 35: + case 10: + break; + default: + { + $retval$0 = $call; + break L1; + } + } + } + return $retval$0 | 0; } -function _ferror($0) { - $0 = $0 | 0; - var $$lobit = 0, $$lobit9 = 0, $phitmp = 0; - if ((HEAP32[$0 + 76 >> 2] | 0) > -1) { - $phitmp = (___lockfile($0) | 0) == 0; - $$lobit = (HEAP32[$0 >> 2] | 0) >>> 5 & 1; - if ($phitmp) $$lobit9 = $$lobit; else $$lobit9 = $$lobit; - } else $$lobit9 = (HEAP32[$0 >> 2] | 0) >>> 5 & 1; - return $$lobit9 | 0; +function _get_buff_345($buf, $fp) { + $buf = $buf | 0; + $fp = $fp | 0; + var $call = 0, $retval$0 = 0; + L1 : while (1) { + $call = _fgets($buf, 256, $fp) | 0; + if (!$call) { + $retval$0 = 0; + break; + } + switch (HEAP8[$buf >> 0] | 0) { + case 35: + case 10: + break; + default: + { + $retval$0 = $call; + break L1; + } + } + } + return $retval$0 | 0; } -function __ZNSt3__26vectorIhNS_9allocatorIhEEE18__construct_at_endEm($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $2 = 0, $3 = 0; - $2 = $0 + 4 | 0; - $$0 = $1; - $3 = HEAP32[$2 >> 2] | 0; - do { - HEAP8[$3 >> 0] = 0; - $3 = (HEAP32[$2 >> 2] | 0) + 1 | 0; - HEAP32[$2 >> 2] = $3; - $$0 = $$0 + -1 | 0; - } while (($$0 | 0) != 0); - return; +function _arMatrixAllocTrans($source) { + $source = $source | 0; + var $call = 0, $retval$0 = 0; + $call = _arMatrixAlloc(HEAP32[$source + 8 >> 2] | 0, HEAP32[$source + 4 >> 2] | 0) | 0; + if ($call) if ((_arMatrixTrans($call, $source) | 0) < 0) { + _arMatrixFree($call) | 0; + $retval$0 = 0; + } else $retval$0 = $call; else $retval$0 = 0; + return $retval$0 | 0; } -function __ZNSt3__215basic_streambufIwNS_11char_traitsIwEEEC2Ev($0) { - $0 = $0 | 0; - var $2 = 0; - HEAP32[$0 >> 2] = 20632; - __ZNSt3__26localeC2Ev($0 + 4 | 0); - $2 = $0 + 8 | 0; - HEAP32[$2 >> 2] = 0; - HEAP32[$2 + 4 >> 2] = 0; - HEAP32[$2 + 8 >> 2] = 0; - HEAP32[$2 + 12 >> 2] = 0; - HEAP32[$2 + 16 >> 2] = 0; - HEAP32[$2 + 20 >> 2] = 0; - return; +function _ar2GetTriangleArea($p1, $p2, $p3) { + $p1 = $p1 | 0; + $p2 = $p2 | 0; + $p3 = $p3 | 0; + var $1 = 0.0, $3 = 0.0, $div = 0.0; + $1 = +HEAPF32[$p1 >> 2]; + $3 = +HEAPF32[$p1 + 4 >> 2]; + $div = ((+HEAPF32[$p2 >> 2] - $1) * (+HEAPF32[$p3 + 4 >> 2] - $3) - (+HEAPF32[$p2 + 4 >> 2] - $3) * (+HEAPF32[$p3 >> 2] - $1)) * .5; + return +($div < 0.0 ? -$div : $div); } -function __ZNSt3__215basic_streambufIcNS_11char_traitsIcEEEC2Ev($0) { - $0 = $0 | 0; - var $2 = 0; - HEAP32[$0 >> 2] = 20568; - __ZNSt3__26localeC2Ev($0 + 4 | 0); - $2 = $0 + 8 | 0; - HEAP32[$2 >> 2] = 0; - HEAP32[$2 + 4 >> 2] = 0; - HEAP32[$2 + 8 >> 2] = 0; - HEAP32[$2 + 12 >> 2] = 0; - HEAP32[$2 + 16 >> 2] = 0; - HEAP32[$2 + 20 >> 2] = 0; - return; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA18_KcEEEPNS0_4NodeEDpOT0_($this, $args) { + $this = $this | 0; + $args = $args | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8NameTypeEJRA18_KcEEEPT_DpOT0_($this + 368 | 0, $args) | 0; } -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle9ThrowExprEJRPNS2_4NodeEEEEPT_DpOT0_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 12) | 0; - __ZN12_GLOBAL__N_116itanium_demangle9ThrowExprC2EPKNS0_4NodeE($2, HEAP32[$1 >> 2] | 0); - return $2 | 0; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA15_KcEEEPNS0_4NodeEDpOT0_($this, $args) { + $this = $this | 0; + $args = $args | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8NameTypeEJRA15_KcEEEPT_DpOT0_($this + 368 | 0, $args) | 0; } -function _ar2GetTriangleArea($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $19 = 0.0, $4 = 0.0, $9 = 0.0; - $4 = +HEAPF32[$0 >> 2]; - $9 = +HEAPF32[$0 + 4 >> 2]; - $19 = ((+HEAPF32[$1 >> 2] - $4) * (+HEAPF32[$2 + 4 >> 2] - $9) - (+HEAPF32[$1 + 4 >> 2] - $9) * (+HEAPF32[$2 >> 2] - $4)) * .5; - return +($19 < 0.0 ? -$19 : $19); +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA14_KcEEEPNS0_4NodeEDpOT0_($this, $args) { + $this = $this | 0; + $args = $args | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8NameTypeEJRA14_KcEEEPT_DpOT0_($this + 368 | 0, $args) | 0; } -function __ZNSt3__26vectorINS0_INS0_INS_4pairIfmEENS_9allocatorIS2_EEEENS3_IS5_EEEENS3_IS7_EEE18__construct_at_endEm($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$promoted = 0, $2 = 0; - $2 = $0 + 4 | 0; - $$promoted = HEAP32[$2 >> 2] | 0; - _memset($$promoted | 0, 0, $1 * 12 | 0) | 0; - HEAP32[$2 >> 2] = $$promoted + ($1 * 12 | 0); - return; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA13_KcEEEPNS0_4NodeEDpOT0_($this, $args) { + $this = $this | 0; + $args = $args | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8NameTypeEJRA13_KcEEEPT_DpOT0_($this + 368 | 0, $args) | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_9ThrowExprEJRPNS0_4NodeEEEES9_DpOT0_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle9ThrowExprEJRPNS2_4NodeEEEEPT_DpOT0_($0 + 368 | 0, $1) | 0; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA12_KcEEEPNS0_4NodeEDpOT0_($this, $args) { + $this = $this | 0; + $args = $args | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8NameTypeEJRA12_KcEEEPT_DpOT0_($this + 368 | 0, $args) | 0; } -function __ZNSt3__214__split_bufferINS_6vectorINS_4pairIfmEENS_9allocatorIS3_EEEERNS4_IS6_EEE18__construct_at_endEm($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$promoted = 0, $2 = 0; - $2 = $0 + 8 | 0; - $$promoted = HEAP32[$2 >> 2] | 0; - _memset($$promoted | 0, 0, $1 * 12 | 0) | 0; - HEAP32[$2 >> 2] = $$promoted + ($1 * 12 | 0); - return; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA11_KcEEEPNS0_4NodeEDpOT0_($this, $args) { + $this = $this | 0; + $args = $args | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8NameTypeEJRA11_KcEEEPT_DpOT0_($this + 368 | 0, $args) | 0; } -function __ZN6vision5ImageC2ERKS0_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - HEAP32[$0 >> 2] = 0; - HEAP32[$0 + 4 >> 2] = 0; - HEAP32[$0 + 8 >> 2] = 0; - HEAP32[$0 + 12 >> 2] = 0; - HEAP32[$0 + 16 >> 2] = 0; - HEAP32[$0 + 20 >> 2] = 0; - HEAP32[$0 + 24 >> 2] = 0; - HEAP32[$0 + 28 >> 2] = 0; - __ZN6vision5Image11shallowCopyERKS0_($0, $1); - return; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA10_KcEEEPNS0_4NodeEDpOT0_($this, $args) { + $this = $this | 0; + $args = $args | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8NameTypeEJRA10_KcEEEPT_DpOT0_($this + 368 | 0, $args) | 0; } -function __ZN12_GLOBAL__N_120BumpPointerAllocator5resetEv($0) { - $0 = $0 | 0; - var $1 = 0, $2 = 0; - $1 = $0 + 4096 | 0; - while (1) { - $2 = HEAP32[$1 >> 2] | 0; - if (!$2) break; - HEAP32[$1 >> 2] = HEAP32[$2 >> 2]; - if (($0 | 0) != ($2 | 0)) _free($2); - } - HEAP32[$0 >> 2] = 0; - HEAP32[$0 + 4 >> 2] = 0; - HEAP32[$1 >> 2] = $0; - return; +function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8BoolExprEJiEEEPT_DpOT0_($this, $args) { + $this = $this | 0; + $args = $args | 0; + var $call = 0; + $call = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, 12) | 0; + __ZN12_GLOBAL__N_116itanium_demangle8BoolExprC2Eb($call, (HEAP32[$args >> 2] | 0) != 0); + return $call | 0; } -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8DtorNameEJRPNS2_4NodeEEEEPT_DpOT0_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 12) | 0; - __ZN12_GLOBAL__N_116itanium_demangle8DtorNameC2EPKNS0_4NodeE($2, HEAP32[$1 >> 2] | 0); - return $2 | 0; +function __ZNK12_GLOBAL__N_116itanium_demangle8QualType9printLeftERNS_12OutputStreamE($this, $S) { + $this = $this | 0; + $S = $S | 0; + var $0 = 0; + $0 = HEAP32[$this + 12 >> 2] | 0; + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$0 >> 2] | 0) + 16 >> 2] & 255]($0, $S); + __ZNK12_GLOBAL__N_116itanium_demangle8QualType10printQualsERNS_12OutputStreamE($this, $S); + return; } -function __ZN6vision14BinarykMedoidsILi96EED2Ev($0) { - $0 = $0 | 0; - __ZNSt3__213__vector_baseIiNS_9allocatorIiEEED2Ev($0 + 48 | 0); - __ZNSt3__213__vector_baseIiNS_9allocatorIiEEED2Ev($0 + 36 | 0); - __ZNSt3__213__vector_baseIiNS_9allocatorIiEEED2Ev($0 + 24 | 0); - __ZNSt3__213__vector_baseIiNS_9allocatorIiEEED2Ev($0 + 12 | 0); +function __ZN6vision14BinarykMedoidsILi96EED2Ev($this) { + $this = $this | 0; + __ZNSt3__213__vector_baseIiNS_9allocatorIiEEED2Ev($this + 48 | 0); + __ZNSt3__213__vector_baseIiNS_9allocatorIiEEED2Ev($this + 36 | 0); + __ZNSt3__213__vector_baseIiNS_9allocatorIiEEED2Ev($this + 24 | 0); + __ZNSt3__213__vector_baseIiNS_9allocatorIiEEED2Ev($this + 12 | 0); return; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8DtorNameEJRPNS0_4NodeEEEES9_DpOT0_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8DtorNameEJRPNS2_4NodeEEEEPT_DpOT0_($0 + 368 | 0, $1) | 0; +function __ZN6vision13Similarity2x2IfEEvPT_S1_S1_($S, $angle, $scale) { + $S = $S | 0; + $angle = +$angle; + $scale = +$scale; + var $mul = 0.0, $mul2 = 0.0; + $mul = +Math_cos(+$angle) * $scale; + $mul2 = +Math_sin(+$angle) * $scale; + HEAPF32[$S >> 2] = $mul; + HEAPF32[$S + 4 >> 2] = -$mul2; + HEAPF32[$S + 8 >> 2] = $mul2; + HEAPF32[$S + 12 >> 2] = $mul; + return; } -function _sprintf($0, $1, $varargs) { - $0 = $0 | 0; - $1 = $1 | 0; +function _sprintf($s, $fmt, $varargs) { + $s = $s | 0; + $fmt = $fmt | 0; $varargs = $varargs | 0; - var $2 = 0, $3 = 0, sp = 0; + var $ap = 0, $call = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $2 = sp; - HEAP32[$2 >> 2] = $varargs; - $3 = _vsprintf($0, $1, $2) | 0; + $ap = sp; + HEAP32[$ap >> 2] = $varargs; + $call = _vsprintf($s, $fmt, $ap) | 0; STACKTOP = sp; - return $3 | 0; + return $call | 0; } -function _fprintf($0, $1, $varargs) { - $0 = $0 | 0; - $1 = $1 | 0; +function _fprintf($f, $fmt, $varargs) { + $f = $f | 0; + $fmt = $fmt | 0; $varargs = $varargs | 0; - var $2 = 0, $3 = 0, sp = 0; + var $ap = 0, $call = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16 | 0; if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $2 = sp; - HEAP32[$2 >> 2] = $varargs; - $3 = _vfprintf($0, $1, $2) | 0; + $ap = sp; + HEAP32[$ap >> 2] = $varargs; + $call = _vfprintf($f, $fmt, $ap) | 0; STACKTOP = sp; - return $3 | 0; + return $call | 0; } -function _a_ctz_l_730($0) { - $0 = $0 | 0; - var $$068 = 0, $$07 = 0, $$09 = 0, $4 = 0; - if ($0) if (!($0 & 1)) { - $$068 = $0; - $$09 = 0; - while (1) { - $4 = $$09 + 1 | 0; - if (!($$068 & 2)) { - $$068 = $$068 >>> 1; - $$09 = $4; - } else { - $$07 = $4; - break; - } - } - } else $$07 = 0; else $$07 = 32; - return $$07 | 0; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA9_KcEEEPNS0_4NodeEDpOT0_($this, $args) { + $this = $this | 0; + $args = $args | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8NameTypeEJRA9_KcEEEPT_DpOT0_($this + 368 | 0, $args) | 0; } -function __ZN6vision5Timer5startEv($0) { - $0 = $0 | 0; - var $1 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $1 = sp; - _gettimeofday($1 | 0, 0) | 0; - HEAPF64[$0 >> 3] = +(HEAP32[$1 + 4 >> 2] | 0) * 1.0e-06 + +(HEAP32[$1 >> 2] | 0); - STACKTOP = sp; - return; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA6_KcEEEPNS0_4NodeEDpOT0_($this, $args) { + $this = $this | 0; + $args = $args | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8NameTypeEJRA6_KcEEEPT_DpOT0_($this + 368 | 0, $args) | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4lookEj($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $4 = 0; - $4 = HEAP32[$0 >> 2] | 0; - if (((HEAP32[$0 + 4 >> 2] | 0) - $4 | 0) >>> 0 > $1 >>> 0) $$0 = HEAP8[$4 + $1 >> 0] | 0; else $$0 = 0; - return $$0 | 0; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA5_KcEEEPNS0_4NodeEDpOT0_($this, $args) { + $this = $this | 0; + $args = $args | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8NameTypeEJRA5_KcEEEPT_DpOT0_($this + 368 | 0, $args) | 0; } -function __ZSt9terminatev() { - var $0 = 0, $2 = 0; - $0 = ___cxa_get_globals_fast() | 0; - if (($0 | 0 ? ($2 = HEAP32[$0 >> 2] | 0, $2 | 0) : 0) ? __ZN10__cxxabiv121__isOurExceptionClassEPK17_Unwind_Exception($2 + 48 | 0) | 0 : 0) __ZSt11__terminatePFvvE(HEAP32[$2 + 12 >> 2] | 0); - __ZSt11__terminatePFvvE(__ZSt13get_terminatev() | 0); +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA4_KcEEEPNS0_4NodeEDpOT0_($this, $args) { + $this = $this | 0; + $args = $args | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8NameTypeEJRA4_KcEEEPT_DpOT0_($this + 368 | 0, $args) | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA18_KcEEEPNS0_4NodeEDpOT0_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8NameTypeEJRA18_KcEEEPT_DpOT0_($0 + 368 | 0, $1) | 0; +function _rewind($f) { + $f = $f | 0; + var $phitmp = 0; + if ((HEAP32[$f + 76 >> 2] | 0) > -1) { + $phitmp = (___lockfile($f) | 0) == 0; + ___fseeko_unlocked($f, 0, 0, 0) | 0; + HEAP32[$f >> 2] = HEAP32[$f >> 2] & -33; + if (!$phitmp) ___unlockfile($f); + } else { + ___fseeko_unlocked($f, 0, 0, 0) | 0; + HEAP32[$f >> 2] = HEAP32[$f >> 2] & -33; + } + return; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA15_KcEEEPNS0_4NodeEDpOT0_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8NameTypeEJRA15_KcEEEPT_DpOT0_($0 + 368 | 0, $1) | 0; +function _sscanf($s, $fmt, $varargs) { + $s = $s | 0; + $fmt = $fmt | 0; + $varargs = $varargs | 0; + var $ap = 0, $call = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $ap = sp; + HEAP32[$ap >> 2] = $varargs; + $call = _vsscanf($s, $fmt, $ap) | 0; + STACKTOP = sp; + return $call | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA14_KcEEEPNS0_4NodeEDpOT0_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8NameTypeEJRA14_KcEEEPT_DpOT0_($0 + 368 | 0, $1) | 0; +function _arMatrixAllocDup($source) { + $source = $source | 0; + var $call = 0, $retval$0 = 0; + $call = _arMatrixAlloc(HEAP32[$source + 4 >> 2] | 0, HEAP32[$source + 8 >> 2] | 0) | 0; + if ($call) if ((_arMatrixDup($call, $source) | 0) < 0) { + _arMatrixFree($call) | 0; + $retval$0 = 0; + } else $retval$0 = $call; else $retval$0 = 0; + return $retval$0 | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA13_KcEEEPNS0_4NodeEDpOT0_($0, $1) { +function __ZNKSt3__28messagesIwE7do_openERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEERKNS_6localeE($this, $__nm, $0) { + $this = $this | 0; + $__nm = $__nm | 0; $0 = $0 | 0; - $1 = $1 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8NameTypeEJRA13_KcEEEPT_DpOT0_($0 + 368 | 0, $1) | 0; + var $call2 = 0; + $call2 = _catopen((HEAP8[$__nm + 11 >> 0] | 0) < 0 ? HEAP32[$__nm >> 2] | 0 : $__nm, 1) | 0; + return $call2 >>> (($call2 | 0) != (-1 | 0) & 1) | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA12_KcEEEPNS0_4NodeEDpOT0_($0, $1) { +function __ZNKSt3__28messagesIcE7do_openERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEERKNS_6localeE($this, $__nm, $0) { + $this = $this | 0; + $__nm = $__nm | 0; $0 = $0 | 0; - $1 = $1 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8NameTypeEJRA12_KcEEEPT_DpOT0_($0 + 368 | 0, $1) | 0; + var $call2 = 0; + $call2 = _catopen((HEAP8[$__nm + 11 >> 0] | 0) < 0 ? HEAP32[$__nm >> 2] | 0 : $__nm, 1) | 0; + return $call2 >>> (($call2 | 0) != (-1 | 0) & 1) | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA11_KcEEEPNS0_4NodeEDpOT0_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8NameTypeEJRA11_KcEEEPT_DpOT0_($0 + 368 | 0, $1) | 0; +function __ZNK12_GLOBAL__N_116itanium_demangle21StructuredBindingName9printLeftERNS_12OutputStreamE($this, $S) { + $this = $this | 0; + $S = $S | 0; + __ZN12_GLOBAL__N_112OutputStreampLEc($S, 91); + __ZNK12_GLOBAL__N_116itanium_demangle9NodeArray14printWithCommaERNS_12OutputStreamE($this + 8 | 0, $S); + __ZN12_GLOBAL__N_112OutputStreampLEc($S, 93); + return; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA10_KcEEEPNS0_4NodeEDpOT0_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8NameTypeEJRA10_KcEEEPT_DpOT0_($0 + 368 | 0, $1) | 0; +function __ZNSt3__26vectorItNS_9allocatorItEEE18__construct_at_endEm($this, $__n) { + $this = $this | 0; + $__n = $__n | 0; + var $__end_ = 0, $__end_$promoted = 0; + $__end_ = $this + 4 | 0; + $__end_$promoted = HEAP32[$__end_ >> 2] | 0; + _memset($__end_$promoted | 0, 0, $__n << 1 | 0) | 0; + HEAP32[$__end_ >> 2] = $__end_$promoted + ($__n << 1); + return; } -function _sscanf($0, $1, $varargs) { - $0 = $0 | 0; - $1 = $1 | 0; - $varargs = $varargs | 0; - var $2 = 0, $3 = 0, sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - $2 = sp; - HEAP32[$2 >> 2] = $varargs; - $3 = _vsscanf($0, $1, $2) | 0; - STACKTOP = sp; - return $3 | 0; +function __ZNSt3__26vectorIiNS_9allocatorIiEEE18__construct_at_endEm($this, $__n) { + $this = $this | 0; + $__n = $__n | 0; + var $__end_ = 0, $__end_$promoted = 0; + $__end_ = $this + 4 | 0; + $__end_$promoted = HEAP32[$__end_ >> 2] | 0; + _memset($__end_$promoted | 0, 0, $__n << 2 | 0) | 0; + HEAP32[$__end_ >> 2] = $__end_$promoted + ($__n << 2); + return; } -function _jpeg_abort($0) { - $0 = $0 | 0; - var $2 = 0, $9 = 0; - $2 = HEAP32[$0 + 4 >> 2] | 0; - if (!$2) return; - FUNCTION_TABLE_vii[HEAP32[$2 + 36 >> 2] & 255]($0, 1); - $9 = $0 + 20 | 0; - if (!(HEAP32[$0 + 16 >> 2] | 0)) { - HEAP32[$9 >> 2] = 100; - return; - } else { - HEAP32[$9 >> 2] = 200; - HEAP32[$0 + 312 >> 2] = 0; - return; - } +function __ZNSt3__26vectorIfNS_9allocatorIfEEE18__construct_at_endEm($this, $__n) { + $this = $this | 0; + $__n = $__n | 0; + var $__end_ = 0, $__end_$promoted = 0; + $__end_ = $this + 4 | 0; + $__end_$promoted = HEAP32[$__end_ >> 2] | 0; + _memset($__end_$promoted | 0, 0, $__n << 2 | 0) | 0; + HEAP32[$__end_ >> 2] = $__end_$promoted + ($__n << 2); + return; } -function __ZNK12_GLOBAL__N_116itanium_demangle4Node11hasFunctionERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $3 = 0; - $3 = HEAP8[$0 + 7 >> 0] | 0; - if ($3 << 24 >> 24 == 2) $$0 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$0 >> 2] | 0) + 8 >> 2] & 127]($0, $1) | 0; else $$0 = $3 << 24 >> 24 == 0; - return $$0 | 0; +function __ZN10emscripten8constantIiEEvPKcRKT_($name, $v) { + $name = $name | 0; + $v = $v | 0; + var $call = 0; + $call = __ZN10emscripten8internal6TypeIDIRKivE3getEv() | 0; + __embind_register_constant($name | 0, $call | 0, +(+__ZN10emscripten8internal14asGenericValueIiEEdT_(__ZN10emscripten8internal11BindingTypeIivE10toWireTypeERKi($v) | 0))); + return; } -function __ZNSt3__212_GLOBAL__N_111__fake_bindC2EMNS_6locale2idEFvvEPS3_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$unpack = 0, $$unpack5 = 0; - $$unpack = HEAP32[$1 >> 2] | 0; - $$unpack5 = HEAP32[$1 + 4 >> 2] | 0; - HEAP32[$0 >> 2] = $2; - HEAP32[$0 + 4 >> 2] = $$unpack; - HEAP32[$0 + 8 >> 2] = $$unpack5; +function _finish_output_pass($cinfo) { + $cinfo = $cinfo | 0; + var $0 = 0, $pass_number = 0; + $0 = HEAP32[$cinfo + 444 >> 2] | 0; + if (HEAP32[$cinfo + 84 >> 2] | 0) FUNCTION_TABLE_vi[HEAP32[(HEAP32[$cinfo + 484 >> 2] | 0) + 8 >> 2] & 255]($cinfo); + $pass_number = $0 + 12 | 0; + HEAP32[$pass_number >> 2] = (HEAP32[$pass_number >> 2] | 0) + 1; return; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA9_KcEEEPNS0_4NodeEDpOT0_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8NameTypeEJRA9_KcEEEPT_DpOT0_($0 + 368 | 0, $1) | 0; +function _arMatrixAllocMulf($a, $b) { + $a = $a | 0; + $b = $b | 0; + var $call = 0, $retval$0 = 0; + $call = _arMatrixAllocf(HEAP32[$a + 4 >> 2] | 0, HEAP32[$b + 8 >> 2] | 0) | 0; + if ($call) if ((_arMatrixMulf($call, $a, $b) | 0) < 0) { + _arMatrixFreef($call) | 0; + $retval$0 = 0; + } else $retval$0 = $call; else $retval$0 = 0; + return $retval$0 | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA6_KcEEEPNS0_4NodeEDpOT0_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8NameTypeEJRA6_KcEEEPT_DpOT0_($0 + 368 | 0, $1) | 0; +function __ZNSt3__28ios_baseD2Ev($this) { + $this = $this | 0; + HEAP32[$this >> 2] = 20552; + __ZNSt3__28ios_base16__call_callbacksENS0_5eventE($this, 0); + __ZNSt3__26localeD2Ev($this + 28 | 0); + _free(HEAP32[$this + 32 >> 2] | 0); + _free(HEAP32[$this + 36 >> 2] | 0); + _free(HEAP32[$this + 48 >> 2] | 0); + _free(HEAP32[$this + 60 >> 2] | 0); + return; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA5_KcEEEPNS0_4NodeEDpOT0_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8NameTypeEJRA5_KcEEEPT_DpOT0_($0 + 368 | 0, $1) | 0; +function __ZN10emscripten8constantIdEEvPKcRKT_($name, $v) { + $name = $name | 0; + $v = $v | 0; + var $call = 0; + $call = __ZN10emscripten8internal6TypeIDIRKdvE3getEv() | 0; + __embind_register_constant($name | 0, $call | 0, +(+__ZN10emscripten8internal14asGenericValueIdEEdT_(+__ZN10emscripten8internal11BindingTypeIdvE10toWireTypeERKd($v)))); + return; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA4_KcEEEPNS0_4NodeEDpOT0_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8NameTypeEJRA4_KcEEEPT_DpOT0_($0 + 368 | 0, $1) | 0; +function _ar2GetRegionArea($pos, $q1, $r1, $r2) { + $pos = $pos | 0; + $q1 = $q1 | 0; + $r1 = $r1 | 0; + $r2 = $r2 | 0; + var $arraydecay4 = 0, $call = 0.0; + $arraydecay4 = $pos + ($r1 << 3) | 0; + $call = +_ar2GetTriangleArea($pos, $pos + ($q1 << 3) | 0, $arraydecay4); + return +($call + +_ar2GetTriangleArea($pos, $arraydecay4, $pos + ($r2 << 3) | 0)); } -function __ZN12_GLOBAL__N_116itanium_demangle14ManglingParserINS_16DefaultAllocatorEECI2NS0_22AbstractManglingParserIS3_S2_EEEPKcS6_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_EC2EPKcS7_($0, $1, $2); +function __ZNSt3__26localeD2Ev($this) { + $this = $this | 0; + var $0 = 0, $1 = 0, $__shared_owners_$i = 0; + $0 = HEAP32[$this >> 2] | 0; + $__shared_owners_$i = $0 + 4 | 0; + $1 = HEAP32[$__shared_owners_$i >> 2] | 0; + HEAP32[$__shared_owners_$i >> 2] = $1 + -1; + if (!$1) FUNCTION_TABLE_vi[HEAP32[(HEAP32[$0 >> 2] | 0) + 8 >> 2] & 255]($0); return; } -function __ZNSt3__213__vector_baseI12multi_markerNS_9allocatorIS1_EEED2Ev($this) { +function __ZN6vision5Timer5startEv($this) { $this = $this | 0; - var $0 = 0, $1 = 0; - $0 = HEAP32[$this >> 2] | 0; - $1 = $0; - if ($0 | 0) { - HEAP32[$this + 4 >> 2] = $1; - __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($0, (HEAP32[$this + 8 >> 2] | 0) - $1 | 0); - } + var $t = 0, sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + $t = sp; + _gettimeofday($t | 0, 0) | 0; + HEAPF64[$this >> 3] = +(HEAP32[$t + 4 >> 2] | 0) * 1.0e-06 + +(HEAP32[$t >> 2] | 0); + STACKTOP = sp; return; } -function __ZNKSt3__210moneypunctIwLb1EE16do_positive_signEv($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0$i$i = 0; - HEAP32[$0 >> 2] = 0; - HEAP32[$0 + 4 >> 2] = 0; - HEAP32[$0 + 8 >> 2] = 0; - $$0$i$i = 0; - while (1) { - if (($$0$i$i | 0) == 3) break; - HEAP32[$0 + ($$0$i$i << 2) >> 2] = 0; - $$0$i$i = $$0$i$i + 1 | 0; - } - return; +function _arMatrixAllocMul($a, $b) { + $a = $a | 0; + $b = $b | 0; + var $call = 0, $retval$0 = 0; + $call = _arMatrixAlloc(HEAP32[$a + 4 >> 2] | 0, HEAP32[$b + 8 >> 2] | 0) | 0; + if ($call) if ((_arMatrixMul($call, $a, $b) | 0) < 0) { + _arMatrixFree($call) | 0; + $retval$0 = 0; + } else $retval$0 = $call; else $retval$0 = 0; + return $retval$0 | 0; } -function __ZNKSt3__210moneypunctIwLb0EE16do_positive_signEv($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0$i$i = 0; - HEAP32[$0 >> 2] = 0; - HEAP32[$0 + 4 >> 2] = 0; - HEAP32[$0 + 8 >> 2] = 0; - $$0$i$i = 0; - while (1) { - if (($$0$i$i | 0) == 3) break; - HEAP32[$0 + ($$0$i$i << 2) >> 2] = 0; - $$0$i$i = $$0$i$i + 1 | 0; - } - return; +function __ZSt9terminatev() { + var $0 = 0, $call = 0; + $call = ___cxa_get_globals_fast() | 0; + if (($call | 0 ? ($0 = HEAP32[$call >> 2] | 0, $0 | 0) : 0) ? __ZN10__cxxabiv121__isOurExceptionClassEPK17_Unwind_Exception($0 + 48 | 0) | 0 : 0) __ZSt11__terminatePFvvE(HEAP32[$0 + 12 >> 2] | 0); + __ZSt11__terminatePFvvE(__ZSt13get_terminatev() | 0); } -function __ZNKSt3__210moneypunctIcLb1EE16do_positive_signEv($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0$i$i = 0; - HEAP32[$0 >> 2] = 0; - HEAP32[$0 + 4 >> 2] = 0; - HEAP32[$0 + 8 >> 2] = 0; - $$0$i$i = 0; - while (1) { - if (($$0$i$i | 0) == 3) break; - HEAP32[$0 + ($$0$i$i << 2) >> 2] = 0; - $$0$i$i = $$0$i$i + 1 | 0; - } - return; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8BoolExprEJiEEEPNS0_4NodeEDpOT0_($this, $args) { + $this = $this | 0; + $args = $args | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8BoolExprEJiEEEPT_DpOT0_($this + 368 | 0, $args) | 0; } -function __ZNKSt3__210moneypunctIcLb0EE16do_positive_signEv($0, $1) { +function __ZNKSt3__27codecvtIcc11__mbstate_tE6do_outERS1_PKcS5_RS5_PcS7_RS7_($this, $0, $frm, $1, $frm_nxt, $to, $2, $to_nxt) { + $this = $this | 0; $0 = $0 | 0; + $frm = $frm | 0; $1 = $1 | 0; - var $$0$i$i = 0; - HEAP32[$0 >> 2] = 0; - HEAP32[$0 + 4 >> 2] = 0; - HEAP32[$0 + 8 >> 2] = 0; - $$0$i$i = 0; - while (1) { - if (($$0$i$i | 0) == 3) break; - HEAP32[$0 + ($$0$i$i << 2) >> 2] = 0; - $$0$i$i = $$0$i$i + 1 | 0; - } - return; + $frm_nxt = $frm_nxt | 0; + $to = $to | 0; + $2 = $2 | 0; + $to_nxt = $to_nxt | 0; + HEAP32[$frm_nxt >> 2] = $frm; + HEAP32[$to_nxt >> 2] = $to; + return 3; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E7consumeEv($0) { - $0 = $0 | 0; - var $1 = 0, $7 = 0; - $1 = HEAP32[$0 >> 2] | 0; - if (($1 | 0) == (HEAP32[$0 + 4 >> 2] | 0)) $7 = 0; else { - HEAP32[$0 >> 2] = $1 + 1; - $7 = HEAP8[$1 >> 0] | 0; +function __ZN12_GLOBAL__N_120BumpPointerAllocator4growEv($this) { + $this = $this | 0; + var $BlockList = 0, $call = 0; + $call = _malloc(4096) | 0; + if (!$call) __ZSt9terminatev(); else { + $BlockList = $this + 4096 | 0; + HEAP32[$call >> 2] = HEAP32[$BlockList >> 2]; + HEAP32[$call + 4 >> 2] = 0; + HEAP32[$BlockList >> 2] = $call; + return; } - return $7 | 0; } -function __ZNK12_GLOBAL__N_116itanium_demangle4Node8hasArrayERNS_12OutputStreamE($0, $1) { +function __ZNKSt3__27codecvtIcc11__mbstate_tE5do_inERS1_PKcS5_RS5_PcS7_RS7_($this, $0, $frm, $1, $frm_nxt, $to, $2, $to_nxt) { + $this = $this | 0; $0 = $0 | 0; + $frm = $frm | 0; $1 = $1 | 0; - var $$0 = 0, $3 = 0; - $3 = HEAP8[$0 + 6 >> 0] | 0; - if ($3 << 24 >> 24 == 2) $$0 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[$0 >> 2] | 0) + 4 >> 2] & 127]($0, $1) | 0; else $$0 = $3 << 24 >> 24 == 0; - return $$0 | 0; -} - -function __ZNKSt3__27codecvtIwc11__mbstate_tE13do_max_lengthEv($0) { - $0 = $0 | 0; - var $2 = 0, $4 = 0, $5 = 0, $7 = 0; - $2 = HEAP32[$0 + 8 >> 2] | 0; - if ($2) { - $4 = ___uselocale($2) | 0; - $5 = ___ctype_get_mb_cur_max() | 0; - if (!$4) $7 = $5; else { - ___uselocale($4) | 0; - $7 = $5; - } - } else $7 = 1; - return $7 | 0; + $frm_nxt = $frm_nxt | 0; + $to = $to | 0; + $2 = $2 | 0; + $to_nxt = $to_nxt | 0; + HEAP32[$frm_nxt >> 2] = $frm; + HEAP32[$to_nxt >> 2] = $to; + return 3; } -function __ZNKSt3__210moneypunctIwLb1EE14do_curr_symbolEv($0, $1) { +function __ZN12_GLOBAL__N_116itanium_demangle14ManglingParserINS_16DefaultAllocatorEECI2NS0_22AbstractManglingParserIS3_S2_EEEPKcS6_($this, $0, $1) { + $this = $this | 0; $0 = $0 | 0; $1 = $1 | 0; - var $$0$i$i = 0; - HEAP32[$0 >> 2] = 0; - HEAP32[$0 + 4 >> 2] = 0; - HEAP32[$0 + 8 >> 2] = 0; - $$0$i$i = 0; - while (1) { - if (($$0$i$i | 0) == 3) break; - HEAP32[$0 + ($$0$i$i << 2) >> 2] = 0; - $$0$i$i = $$0$i$i + 1 | 0; - } + __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_EC2EPKcS7_($this, $0, $1); return; } -function __ZNKSt3__210moneypunctIwLb0EE14do_curr_symbolEv($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0$i$i = 0; - HEAP32[$0 >> 2] = 0; - HEAP32[$0 + 4 >> 2] = 0; - HEAP32[$0 + 8 >> 2] = 0; - $$0$i$i = 0; - while (1) { - if (($$0$i$i | 0) == 3) break; - HEAP32[$0 + ($$0$i$i << 2) >> 2] = 0; - $$0$i$i = $$0$i$i + 1 | 0; - } +function __ZNKSt3__210moneypunctIwLb1EE16do_negative_signEv($agg$result, $this) { + $agg$result = $agg$result | 0; + $this = $this | 0; + HEAP32[$agg$result >> 2] = 0; + HEAP32[$agg$result + 4 >> 2] = 0; + HEAP32[$agg$result + 8 >> 2] = 0; + __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6__initEmw($agg$result, 1, 45); return; } -function __ZNKSt3__210moneypunctIcLb1EE14do_curr_symbolEv($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0$i$i = 0; - HEAP32[$0 >> 2] = 0; - HEAP32[$0 + 4 >> 2] = 0; - HEAP32[$0 + 8 >> 2] = 0; - $$0$i$i = 0; - while (1) { - if (($$0$i$i | 0) == 3) break; - HEAP32[$0 + ($$0$i$i << 2) >> 2] = 0; - $$0$i$i = $$0$i$i + 1 | 0; - } +function __ZNKSt3__210moneypunctIwLb0EE16do_negative_signEv($agg$result, $this) { + $agg$result = $agg$result | 0; + $this = $this | 0; + HEAP32[$agg$result >> 2] = 0; + HEAP32[$agg$result + 4 >> 2] = 0; + HEAP32[$agg$result + 8 >> 2] = 0; + __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6__initEmw($agg$result, 1, 45); return; } -function __ZNKSt3__210moneypunctIcLb0EE14do_curr_symbolEv($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0$i$i = 0; - HEAP32[$0 >> 2] = 0; - HEAP32[$0 + 4 >> 2] = 0; - HEAP32[$0 + 8 >> 2] = 0; - $$0$i$i = 0; - while (1) { - if (($$0$i$i | 0) == 3) break; - HEAP32[$0 + ($$0$i$i << 2) >> 2] = 0; - $$0$i$i = $$0$i$i + 1 | 0; - } +function __ZNKSt3__210moneypunctIcLb1EE16do_negative_signEv($agg$result, $this) { + $agg$result = $agg$result | 0; + $this = $this | 0; + HEAP32[$agg$result >> 2] = 0; + HEAP32[$agg$result + 4 >> 2] = 0; + HEAP32[$agg$result + 8 >> 2] = 0; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEmc($agg$result, 1, 45); return; } -function __ZNK12_GLOBAL__N_116itanium_demangle4Node15hasRHSComponentERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $3 = 0; - $3 = HEAP8[$0 + 5 >> 0] | 0; - if ($3 << 24 >> 24 == 2) $$0 = FUNCTION_TABLE_iii[HEAP32[HEAP32[$0 >> 2] >> 2] & 127]($0, $1) | 0; else $$0 = $3 << 24 >> 24 == 0; - return $$0 | 0; +function __ZNKSt3__210moneypunctIcLb0EE16do_negative_signEv($agg$result, $this) { + $agg$result = $agg$result | 0; + $this = $this | 0; + HEAP32[$agg$result >> 2] = 0; + HEAP32[$agg$result + 4 >> 2] = 0; + HEAP32[$agg$result + 8 >> 2] = 0; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEmc($agg$result, 1, 45); + return; } -function _arParamLTFree($0) { - $0 = $0 | 0; - var $$0 = 0, $2 = 0; - if (($0 | 0) != 0 ? ($2 = HEAP32[$0 >> 2] | 0, ($2 | 0) != 0) : 0) { - _free(HEAP32[$2 + 184 >> 2] | 0); - _free(HEAP32[(HEAP32[$0 >> 2] | 0) + 188 >> 2] | 0); - _free(HEAP32[$0 >> 2] | 0); - HEAP32[$0 >> 2] = 0; - $$0 = 0; - } else $$0 = -1; - return $$0 | 0; +function __ZNSt3__213__vector_baseIPKN6vision4NodeILi96EEENS_9allocatorIS5_EEED2Ev($this) { + $this = $this | 0; + var $0 = 0, $1 = 0; + $0 = HEAP32[$this >> 2] | 0; + $1 = $0; + if ($0 | 0) { + HEAP32[$this + 4 >> 2] = $1; + __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($0, (HEAP32[$this + 8 >> 2] | 0) - $1 | 0); + } + return; } -function __ZNKSt3__210moneypunctIwLb1EE11do_groupingEv($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0$i$i = 0; - HEAP32[$0 >> 2] = 0; - HEAP32[$0 + 4 >> 2] = 0; - HEAP32[$0 + 8 >> 2] = 0; - $$0$i$i = 0; - while (1) { - if (($$0$i$i | 0) == 3) break; - HEAP32[$0 + ($$0$i$i << 2) >> 2] = 0; - $$0$i$i = $$0$i$i + 1 | 0; - } +function __ZN6vision25bilinear_downsample_pointERfS0_ffi($xp, $yp, $x, $y, $octave) { + $xp = $xp | 0; + $yp = $yp | 0; + $x = +$x; + $y = +$y; + $octave = $octave | 0; + var $div = 0.0, $sub = 0.0; + $div = 1.0 / +(1 << $octave | 0); + $sub = $div * .5 + -.5; + HEAPF32[$xp >> 2] = $div * $x + $sub; + HEAPF32[$yp >> 2] = $div * $y + $sub; return; } -function __ZNKSt3__210moneypunctIwLb0EE11do_groupingEv($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0$i$i = 0; - HEAP32[$0 >> 2] = 0; - HEAP32[$0 + 4 >> 2] = 0; - HEAP32[$0 + 8 >> 2] = 0; - $$0$i$i = 0; - while (1) { - if (($$0$i$i | 0) == 3) break; - HEAP32[$0 + ($$0$i$i << 2) >> 2] = 0; - $$0$i$i = $$0$i$i + 1 | 0; +function __ZNSt3__214__num_get_base10__get_baseERNS_8ios_baseE($iob) { + $iob = $iob | 0; + var $retval$0 = 0; + switch (HEAP32[$iob + 4 >> 2] & 74) { + case 64: + { + $retval$0 = 8; + break; + } + case 8: + { + $retval$0 = 16; + break; + } + case 0: + { + $retval$0 = 0; + break; + } + default: + $retval$0 = 10; } - return; + return $retval$0 | 0; } -function __ZNKSt3__210moneypunctIcLb1EE11do_groupingEv($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0$i$i = 0; - HEAP32[$0 >> 2] = 0; - HEAP32[$0 + 4 >> 2] = 0; - HEAP32[$0 + 8 >> 2] = 0; - $$0$i$i = 0; - while (1) { - if (($$0$i$i | 0) == 3) break; - HEAP32[$0 + ($$0$i$i << 2) >> 2] = 0; - $$0$i$i = $$0$i$i + 1 | 0; +function __ZNSt3__213__vector_baseIPN6vision4NodeILi96EEENS_9allocatorIS4_EEED2Ev($this) { + $this = $this | 0; + var $0 = 0, $1 = 0; + $0 = HEAP32[$this >> 2] | 0; + $1 = $0; + if ($0 | 0) { + HEAP32[$this + 4 >> 2] = $1; + __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($0, (HEAP32[$this + 8 >> 2] | 0) - $1 | 0); } return; } -function __ZNKSt3__210moneypunctIcLb0EE11do_groupingEv($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0$i$i = 0; - HEAP32[$0 >> 2] = 0; - HEAP32[$0 + 4 >> 2] = 0; - HEAP32[$0 + 8 >> 2] = 0; - $$0$i$i = 0; - while (1) { - if (($$0$i$i | 0) == 3) break; - HEAP32[$0 + ($$0$i$i << 2) >> 2] = 0; - $$0$i$i = $$0$i$i + 1 | 0; +function __ZN6vision20VisualDatabaseFacadeC2Ev($this) { + $this = $this | 0; + var $0 = 0, $call = 0; + HEAP32[$this >> 2] = 0; + $call = __Znwm(24) | 0; + __ZN6vision18VisualDatabaseImplC2Ev($call); + $0 = HEAP32[$this >> 2] | 0; + HEAP32[$this >> 2] = $call; + if ($0 | 0) { + __ZN6vision18VisualDatabaseImplD2Ev($0); + __ZdlPv($0); } return; } -function __ZNK12_GLOBAL__N_110StringView9dropFrontEm($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __ZNK12_GLOBAL__N_110StringView4sizeEv($1) | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKcS2_($0, (HEAP32[$1 >> 2] | 0) + ($3 >>> 0 > $2 >>> 0 ? $2 : $3 + -1 | 0) | 0, HEAP32[$1 + 4 >> 2] | 0); +function __ZN12_GLOBAL__N_116itanium_demangle11PointerTypeC2EPKNS0_4NodeE($this, $Pointee_) { + $this = $this | 0; + $Pointee_ = $Pointee_ | 0; + __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($this, 11, HEAP8[$Pointee_ + 5 >> 0] | 0, 1, 1); + HEAP32[$this >> 2] = 17780; + HEAP32[$this + 8 >> 2] = $Pointee_; return; } -function __ZNK10emscripten8internal12WithPoliciesIJEE11ArgTypeListIJiiNSt3__212basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEEE8getTypesEv($this) { +function __ZNSt3__213__vector_baseIN6vision7Point3dIfEENS_9allocatorIS3_EEED2Ev($this) { $this = $this | 0; - return __ZN10emscripten8internal14ArgArrayGetterINS0_8TypeListIJiiNSt3__212basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEEEEE3getEv() | 0; + var $0 = 0, $1 = 0; + $0 = HEAP32[$this >> 2] | 0; + $1 = $0; + if ($0 | 0) { + HEAP32[$this + 4 >> 2] = $1; + __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($0, (HEAP32[$this + 8 >> 2] | 0) - $1 | 0); + } + return; } -function __ZNSt3__26vectorIiNS_9allocatorIiEEEC2Em($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - HEAP32[$0 >> 2] = 0; - HEAP32[$0 + 4 >> 2] = 0; - HEAP32[$0 + 8 >> 2] = 0; - if ($1 | 0) { - __ZNSt3__26vectorIiNS_9allocatorIiEEE11__vallocateEm($0, $1); - __ZNSt3__26vectorIiNS_9allocatorIiEEE18__construct_at_endEm($0, $1); +function __ZNSt3__213__vector_baseIN6vision7Point2dIfEENS_9allocatorIS3_EEED2Ev($this) { + $this = $this | 0; + var $0 = 0, $1 = 0; + $0 = HEAP32[$this >> 2] | 0; + $1 = $0; + if ($0 | 0) { + HEAP32[$this + 4 >> 2] = $1; + __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($0, (HEAP32[$this + 8 >> 2] | 0) - $1 | 0); } return; } -function __ZNSt3__26vectorIfNS_9allocatorIfEEEC2Em($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - HEAP32[$0 >> 2] = 0; - HEAP32[$0 + 4 >> 2] = 0; - HEAP32[$0 + 8 >> 2] = 0; - if ($1 | 0) { - __ZNSt3__26vectorIfNS_9allocatorIfEEE11__vallocateEm($0, $1); - __ZNSt3__26vectorIfNS_9allocatorIfEEE18__construct_at_endEm($0, $1); +function _wmemset($d, $c, $n) { + $d = $d | 0; + $c = $c | 0; + $n = $n | 0; + var $d$addr$05 = 0, $n$addr$04 = 0; + if ($n | 0) { + $d$addr$05 = $d; + $n$addr$04 = $n; + while (1) { + $n$addr$04 = $n$addr$04 + -1 | 0; + HEAP32[$d$addr$05 >> 2] = $c; + if (!$n$addr$04) break; else $d$addr$05 = $d$addr$05 + 4 | 0; + } } - return; + return $d | 0; } -function __ZNSt3__215basic_streambufIwNS_11char_traitsIwEEE7seekposENS_4fposI11__mbstate_tEEj($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $4 = 0, $9 = 0; - $4 = $0; - HEAP32[$4 >> 2] = 0; - HEAP32[$4 + 4 >> 2] = 0; - $9 = $0 + 8 | 0; - HEAP32[$9 >> 2] = -1; - HEAP32[$9 + 4 >> 2] = -1; +function __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE($this, $S) { + $this = $this | 0; + $S = $S | 0; + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$this >> 2] | 0) + 16 >> 2] & 255]($this, $S); + if ((HEAP8[$this + 5 >> 0] | 0) != 1) FUNCTION_TABLE_vii[HEAP32[(HEAP32[$this >> 2] | 0) + 20 >> 2] & 255]($this, $S); return; } -function __ZNSt3__215basic_streambufIcNS_11char_traitsIcEEE7seekposENS_4fposI11__mbstate_tEEj($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $4 = 0, $9 = 0; - $4 = $0; - HEAP32[$4 >> 2] = 0; - HEAP32[$4 + 4 >> 2] = 0; - $9 = $0 + 8 | 0; - HEAP32[$9 >> 2] = -1; - HEAP32[$9 + 4 >> 2] = -1; +function __ZNSt3__26localeC2Ev($this) { + $this = $this | 0; + var $0 = 0, $__shared_owners_$i = 0, $call = 0; + $call = __ZNSt3__26locale8__globalEv() | 0; + $0 = HEAP32[$call >> 2] | 0; + HEAP32[$this >> 2] = $0; + $__shared_owners_$i = $0 + 4 | 0; + HEAP32[$__shared_owners_$i >> 2] = (HEAP32[$__shared_owners_$i >> 2] | 0) + 1; return; } -function __ZNKSt3__25ctypeIcE8do_widenEPKcS3_Pc($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $$0 = 0, $$07 = 0; - $$0 = $3; - $$07 = $1; - while (1) { - if (($$07 | 0) == ($2 | 0)) break; - HEAP8[$$0 >> 0] = HEAP8[$$07 >> 0] | 0; - $$0 = $$0 + 1 | 0; - $$07 = $$07 + 1 | 0; +function __ZNSt3__213__vector_baseIN6vision7match_tENS_9allocatorIS2_EEED2Ev($this) { + $this = $this | 0; + var $0 = 0, $1 = 0; + $0 = HEAP32[$this >> 2] | 0; + $1 = $0; + if ($0 | 0) { + HEAP32[$this + 4 >> 2] = $1; + __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($0, (HEAP32[$this + 8 >> 2] | 0) - $1 | 0); } - return $2 | 0; + return; } -function __ZNK10emscripten8internal12WithPoliciesIJEE11ArgTypeListIJiNSt3__212basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEEE8getTypesEv($this) { +function __ZN6vision21HoughSimilarityVotingD2Ev($this) { $this = $this | 0; - return __ZN10emscripten8internal14ArgArrayGetterINS0_8TypeListIJiNSt3__212basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEEEEE3getEv() | 0; -} - -function __ZN12_GLOBAL__N_116itanium_demangle21CtorVtableSpecialNameC2EPKNS0_4NodeES4_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($0, 21, 1, 1, 1); - HEAP32[$0 >> 2] = 20508; - HEAP32[$0 + 8 >> 2] = $1; - HEAP32[$0 + 12 >> 2] = $2; + __ZNSt3__213__vector_baseIiNS_9allocatorIiEEED2Ev($this + 124 | 0); + __ZNSt3__213__vector_baseIfNS_9allocatorIfEEED2Ev($this + 112 | 0); + __ZNSt3__213unordered_mapIjjNS_4hashIjEENS_8equal_toIjEENS_9allocatorINS_4pairIKjjEEEEED2Ev($this + 92 | 0); return; } -function __ZNK10__cxxabiv117__class_type_info29process_static_type_below_dstEPNS_19__dynamic_cast_infoEPKvi($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $7 = 0; - if ((HEAP32[$1 + 4 >> 2] | 0) == ($2 | 0) ? ($7 = $1 + 28 | 0, (HEAP32[$7 >> 2] | 0) != 1) : 0) HEAP32[$7 >> 2] = $3; - return; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA22_KcEEEPNS0_4NodeEDpOT0_($this) { + $this = $this | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8NameTypeEJRA22_KcEEEPT_DpOT0_($this + 368 | 0, 54360) | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8BoolExprEJiEEEPNS0_4NodeEDpOT0_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8BoolExprEJiEEEPT_DpOT0_($0 + 368 | 0, $1) | 0; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA19_KcEEEPNS0_4NodeEDpOT0_($this) { + $this = $this | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8NameTypeEJRA19_KcEEEPT_DpOT0_($this + 368 | 0, 56949) | 0; } -function __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8BoolExprEJiEEEPT_DpOT0_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, 12) | 0; - __ZN12_GLOBAL__N_116itanium_demangle8BoolExprC2Eb($2, (HEAP32[$1 >> 2] | 0) != 0); - return $2 | 0; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA16_KcEEEPNS0_4NodeEDpOT0_($this) { + $this = $this | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8NameTypeEJRA16_KcEEEPT_DpOT0_($this + 368 | 0, 55144) | 0; } -function __ZNSt3__26vectorINS0_INS_4pairIfmEENS_9allocatorIS2_EEEENS3_IS5_EEE18__construct_at_endEm($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$promoted = 0, $2 = 0; - $2 = $0 + 4 | 0; - $$promoted = HEAP32[$2 >> 2] | 0; - _memset($$promoted | 0, 0, $1 * 12 | 0) | 0; - HEAP32[$2 >> 2] = $$promoted + ($1 * 12 | 0); +function __ZNSt3__213__vector_baseI12multi_markerNS_9allocatorIS1_EEED2Ev($this) { + $this = $this | 0; + var $0 = 0, $1 = 0; + $0 = HEAP32[$this >> 2] | 0; + $1 = $0; + if ($0 | 0) { + HEAP32[$this + 4 >> 2] = $1; + __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($0, (HEAP32[$this + 8 >> 2] | 0) - $1 | 0); + } return; } -function __ZNSt3__213__vector_baseIPKN6vision4NodeILi96EEENS_9allocatorIS5_EEED2Ev($0) { - $0 = $0 | 0; - var $1 = 0, $3 = 0; - $1 = HEAP32[$0 >> 2] | 0; - $3 = $1; - if ($1 | 0) { - HEAP32[$0 + 4 >> 2] = $3; - __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($1, (HEAP32[$0 + 8 >> 2] | 0) - $3 | 0); +function __ZN6vision9MaxIndex4IfEEiPKT_($x) { + $x = $x | 0; + var $index$0 = 0, $index$1 = 0; + $index$0 = +HEAPF32[$x + 4 >> 2] > +HEAPF32[$x >> 2] & 1; + $index$1 = +HEAPF32[$x + 8 >> 2] > +HEAPF32[$x + ($index$0 << 2) >> 2] ? 2 : $index$0; + return (+HEAPF32[$x + 12 >> 2] > +HEAPF32[$x + ($index$1 << 2) >> 2] ? 3 : $index$1) | 0; +} + +function __ZNSt3__213__vector_baseINS_4pairIfmEENS_9allocatorIS2_EEED2Ev($this) { + $this = $this | 0; + var $0 = 0, $1 = 0; + $0 = HEAP32[$this >> 2] | 0; + $1 = $0; + if ($0 | 0) { + HEAP32[$this + 4 >> 2] = $1; + __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($0, (HEAP32[$this + 8 >> 2] | 0) - $1 | 0); } return; } -function __ZN12_GLOBAL__N_116itanium_demangle20NameWithTemplateArgsC2EPNS0_4NodeES3_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($0, 32, 1, 1, 1); - HEAP32[$0 >> 2] = 17824; - HEAP32[$0 + 8 >> 2] = $1; - HEAP32[$0 + 12 >> 2] = $2; +function __ZNSt3__213__vector_baseINS_4pairIfiEENS_9allocatorIS2_EEED2Ev($this) { + $this = $this | 0; + var $0 = 0, $1 = 0; + $0 = HEAP32[$this >> 2] | 0; + $1 = $0; + if ($0 | 0) { + HEAP32[$this + 4 >> 2] = $1; + __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($0, (HEAP32[$this + 8 >> 2] | 0) - $1 | 0); + } return; } -function _arVecAlloc($0) { - $0 = $0 | 0; - var $$0 = 0, $1 = 0, $4 = 0; - $1 = _malloc(8) | 0; - do if ($1) { - $4 = _malloc($0 << 3) | 0; - HEAP32[$1 >> 2] = $4; - if (!$4) { - _free($1); - $$0 = 0; - break; - } else { - HEAP32[$1 + 4 >> 2] = $0; - $$0 = $1; - break; - } - } else $$0 = 0; while (0); - return $$0 | 0; +function __ZNKSt3__25ctypeIwE5do_isEtw($this, $m, $c) { + $this = $this | 0; + $m = $m | 0; + $c = $c | 0; + var $arrayidx = 0, $cond = 0; + if ($c >>> 0 < 128) { + $arrayidx = (__ZNSt3__25ctypeIcE13classic_tableEv() | 0) + ($c << 1) | 0; + $cond = (HEAP16[$arrayidx >> 1] & $m) << 16 >> 16 != 0; + } else $cond = 0; + return $cond | 0; } -function __ZNSt3__213__vector_baseIPN6vision4NodeILi96EEENS_9allocatorIS4_EEED2Ev($0) { - $0 = $0 | 0; - var $1 = 0, $3 = 0; - $1 = HEAP32[$0 >> 2] | 0; - $3 = $1; - if ($1 | 0) { - HEAP32[$0 + 4 >> 2] = $3; - __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($1, (HEAP32[$0 + 8 >> 2] | 0) - $3 | 0); - } +function __ZNK12_GLOBAL__N_116itanium_demangle20TemplateArgumentPack11getElementsEv($agg$result, $this) { + $agg$result = $agg$result | 0; + $this = $this | 0; + var $0 = 0, $5 = 0, $6 = 0; + $0 = $this + 8 | 0; + $5 = HEAP32[$0 + 4 >> 2] | 0; + $6 = $agg$result; + HEAP32[$6 >> 2] = HEAP32[$0 >> 2]; + HEAP32[$6 + 4 >> 2] = $5; return; } -function __ZNKSt3__25ctypeIwE8do_widenEPKcS3_Pw($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $$0 = 0, $$07 = 0; - $$0 = $3; - $$07 = $1; - while (1) { - if (($$07 | 0) == ($2 | 0)) break; - HEAP32[$$0 >> 2] = HEAP8[$$07 >> 0]; - $$0 = $$0 + 4 | 0; - $$07 = $$07 + 1 | 0; - } - return $2 | 0; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA8_KcEEEPNS0_4NodeEDpOT0_($this) { + $this = $this | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8NameTypeEJRA8_KcEEEPT_DpOT0_($this + 368 | 0, 53096) | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle18ArraySubscriptExprC2EPKNS0_4NodeES4_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($0, 43, 1, 1, 1); - HEAP32[$0 >> 2] = 18836; - HEAP32[$0 + 8 >> 2] = $1; - HEAP32[$0 + 12 >> 2] = $2; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA7_KcEEEPNS0_4NodeEDpOT0_($this) { + $this = $this | 0; + return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8NameTypeEJRA7_KcEEEPT_DpOT0_($this + 368 | 0, 58014) | 0; +} + +function __ZNSt3__213unordered_mapIjjNS_4hashIjEENS_8equal_toIjEENS_9allocatorINS_4pairIKjjEEEEED2Ev($this) { + $this = $this | 0; + __ZNSt3__212__hash_tableINS_17__hash_value_typeIjjEENS_22__unordered_map_hasherIjS2_NS_4hashIjEELb1EEENS_21__unordered_map_equalIjS2_NS_8equal_toIjEELb1EEENS_9allocatorIS2_EEED2Ev($this); return; } -function __ZNSt3__28ios_baseD2Ev($0) { - $0 = $0 | 0; - HEAP32[$0 >> 2] = 20552; - __ZNSt3__28ios_base16__call_callbacksENS0_5eventE($0, 0); - __ZNSt3__26localeD2Ev($0 + 28 | 0); - _free(HEAP32[$0 + 32 >> 2] | 0); - _free(HEAP32[$0 + 36 >> 2] | 0); - _free(HEAP32[$0 + 48 >> 2] | 0); - _free(HEAP32[$0 + 60 >> 2] | 0); +function _reset_marker_reader($cinfo) { + $cinfo = $cinfo | 0; + var $0 = 0; + $0 = HEAP32[$cinfo + 464 >> 2] | 0; + HEAP32[$cinfo + 216 >> 2] = 0; + HEAP32[$cinfo + 144 >> 2] = 0; + HEAP32[$cinfo + 440 >> 2] = 0; + HEAP32[$0 + 12 >> 2] = 0; + HEAP32[$0 + 16 >> 2] = 0; + HEAP32[$0 + 24 >> 2] = 0; + HEAP32[$0 + 164 >> 2] = 0; return; } -function __ZN6vision25GaussianScaleSpacePyramidC2Ev($0) { - $0 = $0 | 0; - var $1 = 0; - HEAP32[$0 >> 2] = 16772; - $1 = $0 + 4 | 0; - HEAP32[$1 >> 2] = 0; - HEAP32[$1 + 4 >> 2] = 0; - HEAP32[$1 + 8 >> 2] = 0; - HEAP32[$1 + 12 >> 2] = 0; - HEAP32[$1 + 16 >> 2] = 0; - HEAP32[$1 + 20 >> 2] = 0; - HEAP32[$1 + 24 >> 2] = 0; +function __ZNK10emscripten8internal12WithPoliciesIJEE11ArgTypeListIJiiNSt3__212basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEEE8getTypesEv($this) { + $this = $this | 0; + return __ZN10emscripten8internal14ArgArrayGetterINS0_8TypeListIJiiNSt3__212basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEEEEE3getEv() | 0; +} + +function __ZN6vision18BinomialPyramid32fC2Ev($this) { + $this = $this | 0; + var dest = 0, stop = 0; + __ZN6vision25GaussianScaleSpacePyramidC2Ev($this); + HEAP32[$this >> 2] = 16756; + dest = $this + 32 | 0; + stop = dest + 36 | 0; + do { + HEAP32[dest >> 2] = 0; + dest = dest + 4 | 0; + } while ((dest | 0) < (stop | 0)); return; } -function __ZN6vision10numOctavesEiii($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$0 = 0, $$010 = 0, $$09 = 0; - $$0 = 0; - $$010 = $1; - $$09 = $0; - while (1) { - if (($$010 | 0) < ($2 | 0) | ($$09 | 0) < ($2 | 0)) break; - $$0 = $$0 + 1 | 0; - $$010 = $$010 >> 1; - $$09 = $$09 >> 1; - } - return $$0 | 0; +function __ZNKSt3__25ctypeIcE10do_tolowerEc($this, $c) { + $this = $this | 0; + $c = $c | 0; + var $arrayidx = 0, $cond = 0; + if ($c << 24 >> 24 > -1) { + $arrayidx = (__ZNSt3__25ctypeIcE21__classic_lower_tableEv() | 0) + ($c << 24 >> 24 << 2) | 0; + $cond = HEAP32[$arrayidx >> 2] & 255; + } else $cond = $c; + return $cond | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle24ForwardTemplateReferenceC2Em($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($0, 31, 2, 2, 2); - HEAP32[$0 >> 2] = 19452; - HEAP32[$0 + 8 >> 2] = $1; - HEAP32[$0 + 12 >> 2] = 0; - HEAP8[$0 + 16 >> 0] = 0; +function __ZN53EmscriptenBindingInitializer_native_and_builtin_typesC2Ev($this) { + $this = $this | 0; + var sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + HEAP32[sp >> 2] = $this; + ___embind_register_native_and_builtin_types(); + STACKTOP = sp; return; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA22_KcEEEPNS0_4NodeEDpOT0_($0) { - $0 = $0 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8NameTypeEJRA22_KcEEEPT_DpOT0_($0 + 368 | 0, 53518) | 0; +function _ftell($f) { + $f = $f | 0; + var $0 = 0, $1 = 0, $call1 = 0, $retval$0 = 0; + $0 = ___ftello($f) | 0; + $1 = getTempRet0() | 0; + if (($1 | 0) > 0 | ($1 | 0) == 0 & $0 >>> 0 > 2147483647) { + $call1 = ___errno_location() | 0; + HEAP32[$call1 >> 2] = 61; + $retval$0 = -1; + } else $retval$0 = $0; + return $retval$0 | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA19_KcEEEPNS0_4NodeEDpOT0_($0) { - $0 = $0 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8NameTypeEJRA19_KcEEEPT_DpOT0_($0 + 368 | 0, 56107) | 0; +function __ZNK10emscripten8internal12WithPoliciesIJEE11ArgTypeListIJiNSt3__212basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEEE8getTypesEv($this) { + $this = $this | 0; + return __ZN10emscripten8internal14ArgArrayGetterINS0_8TypeListIJiNSt3__212basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEEEEE3getEv() | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA16_KcEEEPNS0_4NodeEDpOT0_($0) { - $0 = $0 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8NameTypeEJRA16_KcEEEPT_DpOT0_($0 + 368 | 0, 54302) | 0; +function __ZN6vision14BinarykMedoidsILi96EEC2ERi($this, $rand_seed) { + $this = $this | 0; + $rand_seed = $rand_seed | 0; + var dest = 0, stop = 0; + HEAP32[$this >> 2] = $rand_seed; + dest = $this + 4 | 0; + stop = dest + 56 | 0; + do { + HEAP32[dest >> 2] = 0; + dest = dest + 4 | 0; + } while ((dest | 0) < (stop | 0)); + return; +} + +function __ZNKSt3__25ctypeIcE10do_toupperEc($this, $c) { + $this = $this | 0; + $c = $c | 0; + var $arrayidx = 0, $cond = 0; + if ($c << 24 >> 24 > -1) { + $arrayidx = (__ZNSt3__25ctypeIcE21__classic_upper_tableEv() | 0) + (($c & 255) << 2) | 0; + $cond = HEAP32[$arrayidx >> 2] & 255; + } else $cond = $c; + return $cond | 0; +} + +function __ZN12_GLOBAL__N_116itanium_demangle27ExpandedSpecialSubstitutionC2ENS0_14SpecialSubKindE($this, $SSK_) { + $this = $this | 0; + $SSK_ = $SSK_ | 0; + __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($this, 35, 1, 1, 1); + HEAP32[$this >> 2] = 19804; + HEAP32[$this + 8 >> 2] = $SSK_; + return; } function _testSetjmp(id, table, size) { @@ -103470,74 +104627,112 @@ function _testSetjmp(id, table, size) { return 0; } -function __ZNSt3__213__vector_baseIN6vision7Point3dIfEENS_9allocatorIS3_EEED2Ev($0) { - $0 = $0 | 0; - var $1 = 0, $3 = 0; - $1 = HEAP32[$0 >> 2] | 0; - $3 = $1; - if ($1 | 0) { - HEAP32[$0 + 4 >> 2] = $3; - __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($1, (HEAP32[$0 + 8 >> 2] | 0) - $3 | 0); - } +function __ZNSt3__211__call_onceERVmPvPFvS2_E($flag, $arg, $func) { + $flag = $flag | 0; + $arg = $arg | 0; + $func = $func | 0; + do {} while ((HEAP32[$flag >> 2] | 0) == 1); + if (!(HEAP32[$flag >> 2] | 0)) { + HEAP32[$flag >> 2] = 1; + FUNCTION_TABLE_vi[$func & 255]($arg); + HEAP32[$flag >> 2] = -1; + } else {} return; } -function __ZNSt3__213__vector_baseIN6vision7Point2dIfEENS_9allocatorIS3_EEED2Ev($0) { - $0 = $0 | 0; - var $1 = 0, $3 = 0; - $1 = HEAP32[$0 >> 2] | 0; - $3 = $1; - if ($1 | 0) { - HEAP32[$0 + 4 >> 2] = $3; - __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($1, (HEAP32[$0 + 8 >> 2] | 0) - $3 | 0); - } +function __ZNK12_GLOBAL__N_116itanium_demangle8NameType11getBaseNameEv($agg$result, $this) { + $agg$result = $agg$result | 0; + $this = $this | 0; + var $0 = 0, $5 = 0, $6 = 0; + $0 = $this + 8 | 0; + $5 = HEAP32[$0 + 4 >> 2] | 0; + $6 = $agg$result; + HEAP32[$6 >> 2] = HEAP32[$0 >> 2]; + HEAP32[$6 + 4 >> 2] = $5; return; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA8_KcEEEPNS0_4NodeEDpOT0_($0) { - $0 = $0 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8NameTypeEJRA8_KcEEEPT_DpOT0_($0 + 368 | 0, 52254) | 0; +function __ZN6vision17HammingDistance32Ejj($a, $b) { + $a = $a | 0; + $b = $b | 0; + var $add = 0, $sub = 0, $xor = 0; + $xor = $b ^ $a; + $sub = $xor - ($xor >>> 1 & 1431655765) | 0; + $add = ($sub >>> 2 & 858993459) + ($sub & 858993459) | 0; + return (Math_imul(($add >>> 4) + $add & 252645135, 16843009) | 0) >>> 24 | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E4makeINS0_8NameTypeEJRA7_KcEEEPNS0_4NodeEDpOT0_($0) { - $0 = $0 | 0; - return __ZN12_GLOBAL__N_116DefaultAllocator8makeNodeINS_16itanium_demangle8NameTypeEJRA7_KcEEEPT_DpOT0_($0 + 368 | 0, 57172) | 0; +function __ZNSt3__213__vector_baseItNS_9allocatorItEEED2Ev($this) { + $this = $this | 0; + var $0 = 0, $1 = 0; + $0 = HEAP32[$this >> 2] | 0; + $1 = $0; + if ($0 | 0) { + HEAP32[$this + 4 >> 2] = $1; + __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($0, (HEAP32[$this + 8 >> 2] | 0) - $1 | 0); + } + return; } -function __ZNSt3__213unordered_mapIjjNS_4hashIjEENS_8equal_toIjEENS_9allocatorINS_4pairIKjjEEEEED2Ev($0) { - $0 = $0 | 0; - __ZNSt3__212__hash_tableINS_17__hash_value_typeIjjEENS_22__unordered_map_hasherIjS2_NS_4hashIjEELb1EEENS_21__unordered_map_equalIjS2_NS_8equal_toIjEELb1EEENS_9allocatorIS2_EEED2Ev($0); +function __ZNSt3__213__vector_baseIiNS_9allocatorIiEEED2Ev($this) { + $this = $this | 0; + var $0 = 0, $1 = 0; + $0 = HEAP32[$this >> 2] | 0; + $1 = $0; + if ($0 | 0) { + HEAP32[$this + 4 >> 2] = $1; + __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($0, (HEAP32[$this + 8 >> 2] | 0) - $1 | 0); + } return; } -function __ZNSt3__213__vector_baseIN6vision7match_tENS_9allocatorIS2_EEED2Ev($0) { - $0 = $0 | 0; - var $1 = 0, $3 = 0; - $1 = HEAP32[$0 >> 2] | 0; - $3 = $1; - if ($1 | 0) { - HEAP32[$0 + 4 >> 2] = $3; - __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($1, (HEAP32[$0 + 8 >> 2] | 0) - $3 | 0); +function __ZNSt3__213__vector_baseIhNS_9allocatorIhEEED2Ev($this) { + $this = $this | 0; + var $0 = 0, $1 = 0; + $0 = HEAP32[$this >> 2] | 0; + $1 = $0; + if ($0 | 0) { + HEAP32[$this + 4 >> 2] = $1; + __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($0, (HEAP32[$this + 8 >> 2] | 0) - $1 | 0); } return; } -function __ZN6vision21HoughSimilarityVotingD2Ev($0) { - $0 = $0 | 0; - __ZNSt3__213__vector_baseIiNS_9allocatorIiEEED2Ev($0 + 124 | 0); - __ZNSt3__213__vector_baseIfNS_9allocatorIfEEED2Ev($0 + 112 | 0); - __ZNSt3__213unordered_mapIjjNS_4hashIjEENS_8equal_toIjEENS_9allocatorINS_4pairIKjjEEEEED2Ev($0 + 92 | 0); +function __ZNSt3__213__vector_baseIfNS_9allocatorIfEEED2Ev($this) { + $this = $this | 0; + var $0 = 0, $1 = 0; + $0 = HEAP32[$this >> 2] | 0; + $1 = $0; + if ($0 | 0) { + HEAP32[$this + 4 >> 2] = $1; + __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($0, (HEAP32[$this + 8 >> 2] | 0) - $1 | 0); + } return; } -function __ZN12_GLOBAL__N_116itanium_demangle13QualifiedNameC2EPKNS0_4NodeES4_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($0, 22, 1, 1, 1); - HEAP32[$0 >> 2] = 19100; - HEAP32[$0 + 8 >> 2] = $1; - HEAP32[$0 + 12 >> 2] = $2; +function __ZN6vision11CopyVector9IfEEvPT_PKS1_($dst, $src) { + $dst = $dst | 0; + $src = $src | 0; + var dest = 0, src = 0, stop = 0; + dest = $dst; + src = $src; + stop = dest + 36 | 0; + do { + HEAP32[dest >> 2] = HEAP32[src >> 2]; + dest = dest + 4 | 0; + src = src + 4 | 0; + } while ((dest | 0) < (stop | 0)); + return; +} + +function __ZN12_GLOBAL__N_114SwapAndRestoreIPKcEC2ERS2_S2_($this, $Restore_, $NewVal) { + $this = $this | 0; + $Restore_ = $Restore_ | 0; + $NewVal = $NewVal | 0; + HEAP32[$this >> 2] = $Restore_; + HEAP32[$this + 4 >> 2] = HEAP32[$Restore_ >> 2]; + HEAP8[$this + 8 >> 0] = 1; + HEAP32[$Restore_ >> 2] = $NewVal; return; } @@ -103554,257 +104749,249 @@ function dynCall_iiiiiiiii(index, a1, a2, a3, a4, a5, a6, a7, a8) { return FUNCTION_TABLE_iiiiiiiii[index & 15](a1 | 0, a2 | 0, a3 | 0, a4 | 0, a5 | 0, a6 | 0, a7 | 0, a8 | 0) | 0; } -function __ZN6vision13LinePointSideIfEET_PKS1_S3_S3_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $4 = 0.0, $9 = 0.0; - $4 = +HEAPF32[$0 >> 2]; - $9 = +HEAPF32[$0 + 4 >> 2]; - return +((+HEAPF32[$1 >> 2] - $4) * (+HEAPF32[$2 + 4 >> 2] - $9) - (+HEAPF32[$1 + 4 >> 2] - $9) * (+HEAPF32[$2 >> 2] - $4)); +function __ZN6vision13LinePointSideIfEET_PKS1_S3_S3_($A, $B, $C) { + $A = $A | 0; + $B = $B | 0; + $C = $C | 0; + var $1 = 0.0, $3 = 0.0; + $1 = +HEAPF32[$A >> 2]; + $3 = +HEAPF32[$A + 4 >> 2]; + return +((+HEAPF32[$B >> 2] - $1) * (+HEAPF32[$C + 4 >> 2] - $3) - (+HEAPF32[$B + 4 >> 2] - $3) * (+HEAPF32[$C >> 2] - $1)); } -function __ZNSt3__219__shared_weak_count14__release_weakEv($0) { - $0 = $0 | 0; - var $1 = 0, $7 = 0; - $1 = $0 + 8 | 0; - if ((HEAP32[$1 >> 2] | 0) != 0 ? ($7 = HEAP32[$1 >> 2] | 0, HEAP32[$1 >> 2] = $7 + -1, ($7 | 0) != 0) : 0) {} else FUNCTION_TABLE_vi[HEAP32[(HEAP32[$0 >> 2] | 0) + 16 >> 2] & 255]($0); +function __ZN12_GLOBAL__N_116itanium_demangle22ParameterPackExpansionC2EPKNS0_4NodeE($this, $Child_) { + $this = $this | 0; + $Child_ = $Child_ | 0; + __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($this, 29, 1, 1, 1); + HEAP32[$this >> 2] = 18484; + HEAP32[$this + 8 >> 2] = $Child_; return; } -function __ZN53EmscriptenBindingInitializer_native_and_builtin_typesC2Ev($0) { - $0 = $0 | 0; - var sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - HEAP32[sp >> 2] = $0; - ___embind_register_native_and_builtin_types(); - STACKTOP = sp; +function __ZN12_GLOBAL__N_114SwapAndRestoreIbEC2ERbb($this, $Restore_, $NewVal) { + $this = $this | 0; + $Restore_ = $Restore_ | 0; + $NewVal = $NewVal | 0; + HEAP32[$this >> 2] = $Restore_; + HEAP8[$this + 4 >> 0] = HEAP8[$Restore_ >> 0] | 0; + HEAP8[$this + 5 >> 0] = 1; + HEAP8[$Restore_ >> 0] = $NewVal & 1; return; } -function __ZNSt3__213__vector_baseINS_4pairIfmEENS_9allocatorIS2_EEED2Ev($0) { - $0 = $0 | 0; - var $1 = 0, $3 = 0; - $1 = HEAP32[$0 >> 2] | 0; - $3 = $1; - if ($1 | 0) { - HEAP32[$0 + 4 >> 2] = $3; - __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($1, (HEAP32[$0 + 8 >> 2] | 0) - $3 | 0); - } +function __ZNK12_GLOBAL__N_116itanium_demangle8NameType7getNameEv($agg$result, $this) { + $agg$result = $agg$result | 0; + $this = $this | 0; + var $0 = 0, $5 = 0, $6 = 0; + $0 = $this + 8 | 0; + $5 = HEAP32[$0 + 4 >> 2] | 0; + $6 = $agg$result; + HEAP32[$6 >> 2] = HEAP32[$0 >> 2]; + HEAP32[$6 + 4 >> 2] = $5; return; } -function __ZNSt3__213__vector_baseINS_4pairIfiEENS_9allocatorIS2_EEED2Ev($0) { - $0 = $0 | 0; - var $1 = 0, $3 = 0; - $1 = HEAP32[$0 >> 2] | 0; - $3 = $1; - if ($1 | 0) { - HEAP32[$0 + 4 >> 2] = $3; - __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($1, (HEAP32[$0 + 8 >> 2] | 0) - $3 | 0); - } +function __ZN12_GLOBAL__N_116itanium_demangle19SpecialSubstitutionC2ENS0_14SpecialSubKindE($this, $SSK_) { + $this = $this | 0; + $SSK_ = $SSK_ | 0; + __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($this, 36, 1, 1, 1); + HEAP32[$this >> 2] = 17648; + HEAP32[$this + 8 >> 2] = $SSK_; return; } -function __ZNKSt3__28messagesIwE7do_openERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEERKNS_6localeE($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $8 = 0; - $8 = _catopen((HEAP8[$1 + 11 >> 0] | 0) < 0 ? HEAP32[$1 >> 2] | 0 : $1, 1) | 0; - return $8 >>> (($8 | 0) != (-1 | 0) & 1) | 0; +function __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc($__os, $__str) { + $__os = $__os | 0; + $__str = $__str | 0; + return __ZNSt3__224__put_character_sequenceIcNS_11char_traitsIcEEEERNS_13basic_ostreamIT_T0_EES7_PKS4_m($__os, $__str, __ZNSt3__211char_traitsIcE6lengthEPKc($__str) | 0) | 0; } -function __ZNKSt3__28messagesIcE7do_openERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEERKNS_6localeE($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $8 = 0; - $8 = _catopen((HEAP8[$1 + 11 >> 0] | 0) < 0 ? HEAP32[$1 >> 2] | 0 : $1, 1) | 0; - return $8 >>> (($8 | 0) != (-1 | 0) & 1) | 0; +function __ZN12_GLOBAL__N_116itanium_demangle15LiteralOperatorC2EPKNS0_4NodeE($this, $OpName_) { + $this = $this | 0; + $OpName_ = $OpName_ | 0; + __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($this, 19, 1, 1, 1); + HEAP32[$this >> 2] = 18968; + HEAP32[$this + 8 >> 2] = $OpName_; + return; } -function __ZNK12_GLOBAL__N_116itanium_demangle4Node5printERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$0 >> 2] | 0) + 16 >> 2] & 255]($0, $1); - if ((HEAP8[$0 + 5 >> 0] | 0) != 1) FUNCTION_TABLE_vii[HEAP32[(HEAP32[$0 >> 2] | 0) + 20 >> 2] & 255]($0, $1); +function __ZNSt3__27codecvtIwc11__mbstate_tED2Ev($this) { + $this = $this | 0; + var $0 = 0, $__l = 0; + HEAP32[$this >> 2] = 23240; + $__l = $this + 8 | 0; + $0 = HEAP32[$__l >> 2] | 0; + if (($0 | 0) != (__ZNSt3__26__clocEv() | 0)) _freelocale(HEAP32[$__l >> 2] | 0); + __ZNSt3__26locale5facetD2Ev($this); return; } -function __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - HEAP32[$0 >> 2] = 17604; - HEAP8[$0 + 4 >> 0] = $1; - HEAP8[$0 + 5 >> 0] = $2; - HEAP8[$0 + 6 >> 0] = $3; - HEAP8[$0 + 7 >> 0] = $4; +function __ZN12_GLOBAL__N_116itanium_demangle19GlobalQualifiedNameC2EPNS0_4NodeE($this, $Child_) { + $this = $this | 0; + $Child_ = $Child_ | 0; + __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($this, 33, 1, 1, 1); + HEAP32[$this >> 2] = 18924; + HEAP32[$this + 8 >> 2] = $Child_; return; } -function __ZN12_GLOBAL__N_116itanium_demangle10NestedNameC2EPNS0_4NodeES3_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($0, 23, 1, 1, 1); - HEAP32[$0 >> 2] = 19848; - HEAP32[$0 + 8 >> 2] = $1; - HEAP32[$0 + 12 >> 2] = $2; - return; +function _arPattDetach($arHandle) { + $arHandle = $arHandle | 0; + var $pattHandle = 0, $retval$0 = 0; + if (($arHandle | 0) != 0 ? ($pattHandle = $arHandle + 7062384 | 0, (HEAP32[$pattHandle >> 2] | 0) != 0) : 0) { + HEAP32[$pattHandle >> 2] = 0; + $retval$0 = 0; + } else $retval$0 = -1; + return $retval$0 | 0; } -function __ZNSt3__214__split_bufferINS_4pairIfiEERNS_9allocatorIS2_EEE18__construct_at_endEm($0, $1) { +function __ZNKSt3__27codecvtIcc11__mbstate_tE9do_lengthERS1_PKcS5_m($this, $0, $frm, $end, $mx) { + $this = $this | 0; $0 = $0 | 0; - $1 = $1 | 0; - var $$promoted = 0, $2 = 0; - $2 = $0 + 8 | 0; - $$promoted = HEAP32[$2 >> 2] | 0; - _memset($$promoted | 0, 0, $1 << 3 | 0) | 0; - HEAP32[$2 >> 2] = $$promoted + ($1 << 3); - return; + $frm = $frm | 0; + $end = $end | 0; + $mx = $mx | 0; + var $sub$ptr$sub = 0; + $sub$ptr$sub = $end - $frm | 0; + return ($sub$ptr$sub >>> 0 < $mx >>> 0 ? $sub$ptr$sub : $mx) | 0; } -function __ZNKSt3__28numpunctIwE12do_falsenameEv($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - HEAP32[$0 >> 2] = 0; - HEAP32[$0 + 4 >> 2] = 0; - HEAP32[$0 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6__initEPKwm($0, 23432, __ZNSt3__211char_traitsIwE6lengthEPKw(23432) | 0); +function __ZN6vision22bilinear_interpolationIfEET_PKS1_mmmff($im, $width, $height, $step, $x, $y) { + $im = $im | 0; + $width = $width | 0; + $height = $height | 0; + $step = $step | 0; + $x = +$x; + $y = +$y; + return +(+__ZN6vision22bilinear_interpolationIffEET0_PKT_mmmff($im, $width, $height, $step, $x, $y)); +} + +function __ZN12_GLOBAL__N_116itanium_demangle19SizeofParamPackExprC2EPKNS0_4NodeE($this, $Pack_) { + $this = $this | 0; + $Pack_ = $Pack_ | 0; + __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($this, 49, 1, 1, 1); + HEAP32[$this >> 2] = 18440; + HEAP32[$this + 8 >> 2] = $Pack_; return; } -function __ZNKSt3__28numpunctIcE12do_falsenameEv($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - HEAP32[$0 >> 2] = 0; - HEAP32[$0 + 4 >> 2] = 0; - HEAP32[$0 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm($0, 61026, __ZNSt3__211char_traitsIcE6lengthEPKc(61026) | 0); +function __ZN12_GLOBAL__N_116itanium_demangle16StdQualifiedNameC2EPNS0_4NodeE($this, $Child_) { + $this = $this | 0; + $Child_ = $Child_ | 0; + __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($this, 34, 1, 1, 1); + HEAP32[$this >> 2] = 19540; + HEAP32[$this + 8 >> 2] = $Child_; return; } -function __ZN12_GLOBAL__N_116itanium_demangle9LocalNameC2EPNS0_4NodeES3_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($0, 24, 1, 1, 1); - HEAP32[$0 >> 2] = 19716; - HEAP32[$0 + 8 >> 2] = $1; - HEAP32[$0 + 12 >> 2] = $2; +function __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_24ForwardTemplateReferenceELm4EEC2Ev($this) { + $this = $this | 0; + var $arraydecay = 0; + $arraydecay = $this + 12 | 0; + HEAP32[$this >> 2] = $arraydecay; + HEAP32[$this + 4 >> 2] = $arraydecay; + HEAP32[$this + 8 >> 2] = $this + 28; return; } -function _get_buff_380($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $2 = 0; - L1 : while (1) { - $2 = _fgets($0, 256, $1) | 0; - if (!$2) { - $$0 = 0; - break; - } - switch (HEAP8[$0 >> 0] | 0) { - case 35: - case 10: - break; - default: - { - $$0 = $2; - break L1; - } - } - } - return $$0 | 0; +function __ZNKSt3__25ctypeIwE10do_toupperEw($this, $c) { + $this = $this | 0; + $c = $c | 0; + var $arrayidx = 0, $cond = 0; + if ($c >>> 0 < 128) { + $arrayidx = (__ZNSt3__25ctypeIcE21__classic_upper_tableEv() | 0) + ($c << 2) | 0; + $cond = HEAP32[$arrayidx >> 2] | 0; + } else $cond = $c; + return $cond | 0; } -function _get_buff_345($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $2 = 0; - L1 : while (1) { - $2 = _fgets($0, 256, $1) | 0; - if (!$2) { - $$0 = 0; - break; - } - switch (HEAP8[$0 >> 0] | 0) { - case 35: - case 10: - break; - default: - { - $$0 = $2; - break L1; - } - } +function __ZNKSt3__25ctypeIwE10do_tolowerEw($this, $c) { + $this = $this | 0; + $c = $c | 0; + var $arrayidx = 0, $cond = 0; + if ($c >>> 0 < 128) { + $arrayidx = (__ZNSt3__25ctypeIcE21__classic_lower_tableEv() | 0) + ($c << 2) | 0; + $cond = HEAP32[$arrayidx >> 2] | 0; + } else $cond = $c; + return $cond | 0; +} + +function __ZL8is_equalPKSt9type_infoS1_b($x, $y, $use_strcmp) { + $x = $x | 0; + $y = $y | 0; + $use_strcmp = $use_strcmp | 0; + var $retval$0 = 0; + if ($use_strcmp) $retval$0 = (_strcmp(HEAP32[$x + 4 >> 2] | 0, HEAP32[$y + 4 >> 2] | 0) | 0) == 0; else $retval$0 = ($x | 0) == ($y | 0); + return $retval$0 | 0; +} + +function _arSetPattRatio($handle, $pattRatio) { + $handle = $handle | 0; + $pattRatio = +$pattRatio; + var $retval$0 = 0; + if (($handle | 0) != 0 ? !($pattRatio <= 0.0 | $pattRatio >= 1.0) : 0) { + HEAPF64[$handle + 7062416 >> 3] = $pattRatio; + $retval$0 = 0; + } else $retval$0 = -1; + return $retval$0 | 0; +} + +function _arSetLabelingThreshModeAutoInterval($handle, $interval) { + $handle = $handle | 0; + $interval = $interval | 0; + var $retval$0 = 0; + if (!$handle) $retval$0 = -1; else { + HEAP32[$handle + 7062392 >> 2] = $interval; + HEAP32[$handle + 7062396 >> 2] = 0; + $retval$0 = 0; } - return $$0 | 0; + return $retval$0 | 0; } -function __ZNKSt3__28numpunctIwE11do_truenameEv($0, $1) { +function __ZNKSt3__27codecvtIDsc11__mbstate_tE9do_lengthERS1_PKcS5_m($this, $0, $frm, $frm_end, $mx) { + $this = $this | 0; $0 = $0 | 0; - $1 = $1 | 0; - HEAP32[$0 >> 2] = 0; - HEAP32[$0 + 4 >> 2] = 0; - HEAP32[$0 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6__initEPKwm($0, 23456, __ZNSt3__211char_traitsIwE6lengthEPKw(23456) | 0); - return; + $frm = $frm | 0; + $frm_end = $frm_end | 0; + $mx = $mx | 0; + return __ZNSt3__2L20utf8_to_utf16_lengthEPKhS1_mmNS_12codecvt_modeE($frm, $frm_end, $mx, 1114111, 0) | 0; } -function __ZNKSt3__28numpunctIcE11do_truenameEv($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - HEAP32[$0 >> 2] = 0; - HEAP32[$0 + 4 >> 2] = 0; - HEAP32[$0 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm($0, 61032, __ZNSt3__211char_traitsIcE6lengthEPKc(61032) | 0); - return; +function __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_24ForwardTemplateReferenceELm4EEixEm($this, $Index) { + $this = $this | 0; + $Index = $Index | 0; + return (__ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_24ForwardTemplateReferenceELm4EE5beginEv($this) | 0) + ($Index << 2) | 0; } -function __ZN6vision20VisualDatabaseFacadeC2Ev($0) { +function __ZNKSt3__27codecvtIDic11__mbstate_tE9do_lengthERS1_PKcS5_m($this, $0, $frm, $frm_end, $mx) { + $this = $this | 0; $0 = $0 | 0; - var $1 = 0, $2 = 0; - HEAP32[$0 >> 2] = 0; - $1 = __Znwm(24) | 0; - __ZN6vision18VisualDatabaseImplC2Ev($1); - $2 = HEAP32[$0 >> 2] | 0; - HEAP32[$0 >> 2] = $1; - if ($2 | 0) { - __ZN6vision18VisualDatabaseImplD2Ev($2); - __ZdlPv($2); - } - return; + $frm = $frm | 0; + $frm_end = $frm_end | 0; + $mx = $mx | 0; + return __ZNSt3__2L19utf8_to_ucs4_lengthEPKhS1_mmNS_12codecvt_modeE($frm, $frm_end, $mx, 1114111, 0) | 0; } -function __ZN6vision23bilinear_upsample_pointERfS0_ffi($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = +$2; - $3 = +$3; - $4 = $4 | 0; - var $10 = 0.0, $8 = 0.0; - $8 = +_ldexp(1.0, $4 + -1 | 0) + -.5; - $10 = +(1 << $4 | 0); - HEAPF32[$0 >> 2] = $10 * $2 + $8; - HEAPF32[$1 >> 2] = $10 * $3 + $8; +function __ZN6vision5ImageC2Ev($this) { + $this = $this | 0; + HEAP32[$this >> 2] = 0; + HEAP32[$this + 4 >> 2] = 0; + HEAP32[$this + 8 >> 2] = 0; + HEAP32[$this + 12 >> 2] = 0; + HEAP32[$this + 16 >> 2] = 0; + HEAP32[$this + 20 >> 2] = 0; + HEAP32[$this + 24 >> 2] = 0; + HEAP32[$this + 28 >> 2] = 0; return; } -function __ZN6vision18BinomialPyramid32fC2Ev($0) { - $0 = $0 | 0; +function __ZN6vision21OrientationAssignmentC2Ev($this) { + $this = $this | 0; var dest = 0, stop = 0; - __ZN6vision25GaussianScaleSpacePyramidC2Ev($0); - HEAP32[$0 >> 2] = 16756; - dest = $0 + 32 | 0; - stop = dest + 36 | 0; + HEAP32[$this >> 2] = 0; + HEAP32[$this + 4 >> 2] = 0; + dest = $this + 12 | 0; + stop = dest + 40 | 0; do { HEAP32[dest >> 2] = 0; dest = dest + 4 | 0; @@ -103812,333 +104999,273 @@ function __ZN6vision18BinomialPyramid32fC2Ev($0) { return; } -function _arMatrixAllocMulf($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $6 = 0; - $6 = _arMatrixAllocf(HEAP32[$0 + 4 >> 2] | 0, HEAP32[$1 + 8 >> 2] | 0) | 0; - if ($6) if ((_arMatrixMulf($6, $0, $1) | 0) < 0) { - _arMatrixFreef($6) | 0; - $$0 = 0; - } else $$0 = $6; else $$0 = 0; - return $$0 | 0; +function __ZN6vision17bitstring_set_bitEPhih($bitstring, $pos, $bit) { + $bitstring = $bitstring | 0; + $pos = $pos | 0; + $bit = $bit | 0; + var $arrayidx = 0; + $arrayidx = $bitstring + (($pos | 0) / 8 | 0) | 0; + HEAP8[$arrayidx >> 0] = ($bit & 255) << ($pos & 7) | (HEAPU8[$arrayidx >> 0] | 0); + return; } -function __ZNSt3__26vectorINS_4pairIfiEENS_9allocatorIS2_EEE18__construct_at_endEm($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$promoted = 0, $2 = 0; - $2 = $0 + 4 | 0; - $$promoted = HEAP32[$2 >> 2] | 0; - _memset($$promoted | 0, 0, $1 << 3 | 0) | 0; - HEAP32[$2 >> 2] = $$promoted + ($1 << 3); +function __ZN12_GLOBAL__N_116itanium_demangle22ConversionOperatorTypeC2EPKNS0_4NodeE($this, $Ty_) { + $this = $this | 0; + $Ty_ = $Ty_ | 0; + __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($this, 4, 1, 1, 1); + HEAP32[$this >> 2] = 19012; + HEAP32[$this + 8 >> 2] = $Ty_; return; } -function __ZN6vision11CopyVector9IfEEvPT_PKS1_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var dest = 0, src = 0, stop = 0; - dest = $0; - src = $1; - stop = dest + 36 | 0; - do { - HEAP32[dest >> 2] = HEAP32[src >> 2]; - dest = dest + 4 | 0; - src = src + 4 | 0; - } while ((dest | 0) < (stop | 0)); +function __ZNK12_GLOBAL__N_116itanium_demangle20NameWithTemplateArgs11getBaseNameEv($agg$result, $this) { + $agg$result = $agg$result | 0; + $this = $this | 0; + var $0 = 0; + $0 = HEAP32[$this + 8 >> 2] | 0; + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$0 >> 2] | 0) + 24 >> 2] & 255]($agg$result, $0); return; } -function _arMatrixAllocMul($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $6 = 0; - $6 = _arMatrixAlloc(HEAP32[$0 + 4 >> 2] | 0, HEAP32[$1 + 8 >> 2] | 0) | 0; - if ($6) if ((_arMatrixMul($6, $0, $1) | 0) < 0) { - _arMatrixFree($6) | 0; - $$0 = 0; - } else $$0 = $6; else $$0 = 0; - return $$0 | 0; +function __ZNK12_GLOBAL__N_116itanium_demangle19GlobalQualifiedName11getBaseNameEv($agg$result, $this) { + $agg$result = $agg$result | 0; + $this = $this | 0; + var $0 = 0; + $0 = HEAP32[$this + 8 >> 2] | 0; + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$0 >> 2] | 0) + 24 >> 2] & 255]($agg$result, $0); + return; } -function _reset_marker_reader($0) { - $0 = $0 | 0; - var $2 = 0; - $2 = HEAP32[$0 + 464 >> 2] | 0; - HEAP32[$0 + 216 >> 2] = 0; - HEAP32[$0 + 144 >> 2] = 0; - HEAP32[$0 + 440 >> 2] = 0; - HEAP32[$2 + 12 >> 2] = 0; - HEAP32[$2 + 16 >> 2] = 0; - HEAP32[$2 + 24 >> 2] = 0; - HEAP32[$2 + 164 >> 2] = 0; +function __ZNSt3__26localeC2ERKS0_($this, $l) { + $this = $this | 0; + $l = $l | 0; + var $0 = 0, $__shared_owners_$i = 0; + $0 = HEAP32[$l >> 2] | 0; + HEAP32[$this >> 2] = $0; + $__shared_owners_$i = $0 + 4 | 0; + HEAP32[$__shared_owners_$i >> 2] = (HEAP32[$__shared_owners_$i >> 2] | 0) + 1; return; } -function __ZNSt3__213__vector_baseItNS_9allocatorItEEED2Ev($0) { - $0 = $0 | 0; - var $1 = 0, $3 = 0; - $1 = HEAP32[$0 >> 2] | 0; - $3 = $1; - if ($1 | 0) { - HEAP32[$0 + 4 >> 2] = $3; - __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($1, (HEAP32[$0 + 8 >> 2] | 0) - $3 | 0); - } +function __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm8EE11clearInlineEv($this) { + $this = $this | 0; + var $arraydecay = 0; + $arraydecay = $this + 12 | 0; + HEAP32[$this >> 2] = $arraydecay; + HEAP32[$this + 4 >> 2] = $arraydecay; + HEAP32[$this + 8 >> 2] = $this + 44; return; } -function __ZNSt3__213__vector_baseIiNS_9allocatorIiEEED2Ev($0) { - $0 = $0 | 0; - var $1 = 0, $3 = 0; - $1 = HEAP32[$0 >> 2] | 0; - $3 = $1; - if ($1 | 0) { - HEAP32[$0 + 4 >> 2] = $3; - __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($1, (HEAP32[$0 + 8 >> 2] | 0) - $3 | 0); - } +function __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_24ForwardTemplateReferenceELm4EED2Ev($this) { + $this = $this | 0; + if (!(__ZNK12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_24ForwardTemplateReferenceELm4EE8isInlineEv($this) | 0)) _free(HEAP32[$this >> 2] | 0); return; } -function __ZNSt3__213__vector_baseIhNS_9allocatorIhEEED2Ev($0) { - $0 = $0 | 0; - var $1 = 0, $3 = 0; - $1 = HEAP32[$0 >> 2] | 0; - $3 = $1; - if ($1 | 0) { - HEAP32[$0 + 4 >> 2] = $3; - __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($1, (HEAP32[$0 + 8 >> 2] | 0) - $3 | 0); - } +function __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev($this) { + $this = $this | 0; + var $0 = 0; + $0 = $this + 8 | 0; + if ((HEAP8[$0 + 3 >> 0] | 0) < 0) __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm(HEAP32[$this >> 2] | 0, HEAP32[$0 >> 2] << 2); return; } -function __ZNSt3__213__vector_baseIfNS_9allocatorIfEEED2Ev($0) { - $0 = $0 | 0; - var $1 = 0, $3 = 0; - $1 = HEAP32[$0 >> 2] | 0; - $3 = $1; - if ($1 | 0) { - HEAP32[$0 + 4 >> 2] = $3; - __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($1, (HEAP32[$0 + 8 >> 2] | 0) - $3 | 0); - } +function __ZNK12_GLOBAL__N_116itanium_demangle16StdQualifiedName11getBaseNameEv($agg$result, $this) { + $agg$result = $agg$result | 0; + $this = $this | 0; + var $0 = 0; + $0 = HEAP32[$this + 8 >> 2] | 0; + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$0 >> 2] | 0) + 24 >> 2] & 255]($agg$result, $0); return; } -function __ZN6vision13Similarity2x2IfEEvPT_S1_S1_($0, $1, $2) { - $0 = $0 | 0; - $1 = +$1; - $2 = +$2; - var $4 = 0.0, $6 = 0.0; - $4 = +Math_cos(+$1) * $2; - $6 = +Math_sin(+$1) * $2; - HEAPF32[$0 >> 2] = $4; - HEAPF32[$0 + 4 >> 2] = -$6; - HEAPF32[$0 + 8 >> 2] = $6; - HEAPF32[$0 + 12 >> 2] = $4; +function __ZN12_GLOBAL__N_116itanium_demangle8DtorNameC2EPKNS0_4NodeE($this, $Base_) { + $this = $this | 0; + $Base_ = $Base_ | 0; + __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($this, 38, 1, 1, 1); + HEAP32[$this >> 2] = 19056; + HEAP32[$this + 8 >> 2] = $Base_; return; } -function __ZNSt3__214__split_bufferItRNS_9allocatorItEEE18__construct_at_endEm($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$promoted = 0, $2 = 0; - $2 = $0 + 8 | 0; - $$promoted = HEAP32[$2 >> 2] | 0; - _memset($$promoted | 0, 0, $1 << 1 | 0) | 0; - HEAP32[$2 >> 2] = $$promoted + ($1 << 1); +function _jpeg_open_backing_store($cinfo, $info, $total_bytes_needed) { + $cinfo = $cinfo | 0; + $info = $info | 0; + $total_bytes_needed = $total_bytes_needed | 0; + var $0 = 0; + $0 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$0 + 20 >> 2] = 51; + FUNCTION_TABLE_vi[HEAP32[$0 >> 2] & 255]($cinfo); return; } -function __ZNSt3__214__split_bufferIiRNS_9allocatorIiEEE18__construct_at_endEm($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$promoted = 0, $2 = 0; - $2 = $0 + 8 | 0; - $$promoted = HEAP32[$2 >> 2] | 0; - _memset($$promoted | 0, 0, $1 << 2 | 0) | 0; - HEAP32[$2 >> 2] = $$promoted + ($1 << 2); +function __ZNK12_GLOBAL__N_116itanium_demangle13QualifiedName11getBaseNameEv($agg$result, $this) { + $agg$result = $agg$result | 0; + $this = $this | 0; + var $0 = 0; + $0 = HEAP32[$this + 12 >> 2] | 0; + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$0 >> 2] | 0) + 24 >> 2] & 255]($agg$result, $0); return; } -function __ZNSt3__214__split_bufferIfRNS_9allocatorIfEEE18__construct_at_endEm($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$promoted = 0, $2 = 0; - $2 = $0 + 8 | 0; - $$promoted = HEAP32[$2 >> 2] | 0; - _memset($$promoted | 0, 0, $1 << 2 | 0) | 0; - HEAP32[$2 >> 2] = $$promoted + ($1 << 2); +function __ZN6vision16RobustHomographyIfED2Ev($this) { + $this = $this | 0; + __ZNSt3__213__vector_baseINS_4pairIfiEENS_9allocatorIS2_EEED2Ev($this + 24 | 0); + __ZNSt3__213__vector_baseIiNS_9allocatorIiEEED2Ev($this + 12 | 0); + __ZNSt3__213__vector_baseIfNS_9allocatorIfEEED2Ev($this); return; } -function __ZN12_GLOBAL__N_112OutputStreampLEc($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = 0, $4 = 0; - __ZN12_GLOBAL__N_112OutputStream4growEm($0, 1); - $2 = HEAP32[$0 >> 2] | 0; - $3 = $0 + 4 | 0; - $4 = HEAP32[$3 >> 2] | 0; - HEAP32[$3 >> 2] = $4 + 1; - HEAP8[$2 + $4 >> 0] = $1; +function __ZNSt3__220__shared_ptr_pointerIPN6vision8KeyframeILi96EEENS_14default_deleteIS3_EENS_9allocatorIS3_EEE16__on_zero_sharedEv($this) { + $this = $this | 0; + var $0 = 0; + $0 = HEAP32[$this + 12 >> 2] | 0; + if ($0 | 0) { + __ZN6vision8KeyframeILi96EED2Ev($0); + __ZdlPv($0); + } return; } -function __ZNSt3__214__num_get_base10__get_baseERNS_8ios_baseE($0) { - $0 = $0 | 0; - var $$0 = 0; - switch (HEAP32[$0 + 4 >> 2] & 74) { - case 64: - { - $$0 = 8; - break; - } - case 8: - { - $$0 = 16; - break; - } - case 0: - { - $$0 = 0; - break; - } - default: - $$0 = 10; - } - return $$0 | 0; +function _arGetLabelingThreshMode($handle, $mode_p) { + $handle = $handle | 0; + $mode_p = $mode_p | 0; + var $retval$0 = 0; + if (($handle | 0) != 0 & ($mode_p | 0) != 0) { + HEAP32[$mode_p >> 2] = HEAP32[$handle + 7062388 >> 2]; + $retval$0 = 0; + } else $retval$0 = -1; + return $retval$0 | 0; } -function __ZN6vision25bilinear_downsample_pointERfS0_ffi($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = +$2; - $3 = +$3; - $4 = $4 | 0; - var $7 = 0.0, $9 = 0.0; - $7 = 1.0 / +(1 << $4 | 0); - $9 = $7 * .5 + -.5; - HEAPF32[$0 >> 2] = $7 * $2 + $9; - HEAPF32[$1 >> 2] = $7 * $3 + $9; +function __ZN12_GLOBAL__N_116itanium_demangle8BoolExprC2Eb($this, $Value_) { + $this = $this | 0; + $Value_ = $Value_ | 0; + __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($this, 59, 1, 1, 1); + HEAP32[$this >> 2] = 18132; + HEAP8[$this + 8 >> 0] = $Value_ & 1; return; } -function __ZN6vision17HammingDistance32Ejj($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $5 = 0, $9 = 0; - $2 = $1 ^ $0; - $5 = $2 - ($2 >>> 1 & 1431655765) | 0; - $9 = ($5 >>> 2 & 858993459) + ($5 & 858993459) | 0; - return (Math_imul(($9 >>> 4) + $9 & 252645135, 16843009) | 0) >>> 24 | 0; +function __ZN12_GLOBAL__N_112OutputStream5resetEPcm($this, $Buffer_, $BufferCapacity_) { + $this = $this | 0; + $Buffer_ = $Buffer_ | 0; + $BufferCapacity_ = $BufferCapacity_ | 0; + HEAP32[$this + 4 >> 2] = 0; + HEAP32[$this >> 2] = $Buffer_; + HEAP32[$this + 8 >> 2] = $BufferCapacity_; + return; } -function __ZN6vision9MaxIndex4IfEEiPKT_($0) { - $0 = $0 | 0; - var $$0 = 0, $$1 = 0; - $$0 = +HEAPF32[$0 + 4 >> 2] > +HEAPF32[$0 >> 2] & 1; - $$1 = +HEAPF32[$0 + 8 >> 2] > +HEAPF32[$0 + ($$0 << 2) >> 2] ? 2 : $$0; - return (+HEAPF32[$0 + 12 >> 2] > +HEAPF32[$0 + ($$1 << 2) >> 2] ? 3 : $$1) | 0; +function _arGetTransMatMultiSquareRobust($handle, $marker_info, $marker_num, $config) { + $handle = $handle | 0; + $marker_info = $marker_info | 0; + $marker_num = $marker_num | 0; + $config = $config | 0; + return +(+_arGetTransMatMultiSquare2($handle, $marker_info, $marker_num, $config, 1)); } -function __ZN6vision12FeaturePointC2Effffb($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = +$1; - $2 = +$2; - $3 = +$3; - $4 = +$4; - $5 = $5 | 0; - HEAPF32[$0 >> 2] = $1; - HEAPF32[$0 + 4 >> 2] = $2; - HEAPF32[$0 + 8 >> 2] = $3; - HEAPF32[$0 + 12 >> 2] = $4; - HEAP8[$0 + 16 >> 0] = $5 & 1; - return; +function __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw($this, $__s) { + $this = $this | 0; + $__s = $__s | 0; + return __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKwm($this, $__s, __ZNSt3__211char_traitsIwE6lengthEPKw($__s) | 0) | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle27ExpandedSpecialSubstitutionC2ENS0_14SpecialSubKindE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($0, 35, 1, 1, 1); - HEAP32[$0 >> 2] = 19804; - HEAP32[$0 + 8 >> 2] = $1; +function __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc($this, $__s) { + $this = $this | 0; + $__s = $__s | 0; + return __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKcm($this, $__s, __ZNSt3__211char_traitsIcE6lengthEPKc($__s) | 0) | 0; +} + +function __ZNK12_GLOBAL__N_116itanium_demangle10NestedName11getBaseNameEv($agg$result, $this) { + $agg$result = $agg$result | 0; + $this = $this | 0; + var $0 = 0; + $0 = HEAP32[$this + 12 >> 2] | 0; + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$0 >> 2] | 0) + 24 >> 2] & 255]($agg$result, $0); return; } -function _ftell($0) { - $0 = $0 | 0; - var $$0 = 0, $1 = 0, $2 = 0, $8 = 0; - $1 = ___ftello($0) | 0; - $2 = getTempRet0() | 0; - if (($2 | 0) > 0 | ($2 | 0) == 0 & $1 >>> 0 > 2147483647) { - $8 = ___errno_location() | 0; - HEAP32[$8 >> 2] = 61; - $$0 = -1; - } else $$0 = $1; - return $$0 | 0; +function _ar3DDeleteHandle($handle) { + $handle = $handle | 0; + var $0 = 0, $retval$0 = 0; + $0 = HEAP32[$handle >> 2] | 0; + if (!$0) $retval$0 = -1; else { + _icpDeleteHandle($0) | 0; + _free(HEAP32[$handle >> 2] | 0); + HEAP32[$handle >> 2] = 0; + $retval$0 = 0; + } + return $retval$0 | 0; } -function __ZNKSt3__25ctypeIwE5do_isEtw($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $5 = 0, $9 = 0; - if ($2 >>> 0 < 128) { - $5 = (__ZNSt3__25ctypeIcE13classic_tableEv() | 0) + ($2 << 1) | 0; - $9 = (HEAP16[$5 >> 1] & $1) << 16 >> 16 != 0; - } else $9 = 0; - return $9 | 0; +function __ZN12_GLOBAL__N_116itanium_demangle9ThrowExprC2EPKNS0_4NodeE($this, $Op_) { + $this = $this | 0; + $Op_ = $Op_ | 0; + __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($this, 58, 1, 1, 1); + HEAP32[$this >> 2] = 18264; + HEAP32[$this + 8 >> 2] = $Op_; + return; } -function _finish_output_pass($0) { - $0 = $0 | 0; - var $10 = 0, $2 = 0; - $2 = HEAP32[$0 + 444 >> 2] | 0; - if (HEAP32[$0 + 84 >> 2] | 0) FUNCTION_TABLE_vi[HEAP32[(HEAP32[$0 + 484 >> 2] | 0) + 8 >> 2] & 255]($0); - $10 = $2 + 12 | 0; - HEAP32[$10 >> 2] = (HEAP32[$10 >> 2] | 0) + 1; +function __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EEC2Ev($this) { + $this = $this | 0; + var $arraydecay = 0; + $arraydecay = $this + 12 | 0; + HEAP32[$this >> 2] = $arraydecay; + HEAP32[$this + 4 >> 2] = $arraydecay; + HEAP32[$this + 8 >> 2] = $this + 140; return; } -function __ZNSt3__26vectorItNS_9allocatorItEEE18__construct_at_endEm($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$promoted = 0, $2 = 0; - $2 = $0 + 4 | 0; - $$promoted = HEAP32[$2 >> 2] | 0; - _memset($$promoted | 0, 0, $1 << 1 | 0) | 0; - HEAP32[$2 >> 2] = $$promoted + ($1 << 1); +function __ZN12_GLOBAL__N_116itanium_demangle12NoexceptSpecC2EPKNS0_4NodeE($this, $E_) { + $this = $this | 0; + $E_ = $E_ | 0; + __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($this, 16, 1, 1, 1); + HEAP32[$this >> 2] = 20288; + HEAP32[$this + 8 >> 2] = $E_; return; } -function __ZNSt3__26vectorIiNS_9allocatorIiEEE18__construct_at_endEm($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$promoted = 0, $2 = 0; - $2 = $0 + 4 | 0; - $$promoted = HEAP32[$2 >> 2] | 0; - _memset($$promoted | 0, 0, $1 << 2 | 0) | 0; - HEAP32[$2 >> 2] = $$promoted + ($1 << 2); +function _arGetMatrixCodeType($handle, $type_p) { + $handle = $handle | 0; + $type_p = $type_p | 0; + var $retval$0 = 0; + if (($handle | 0) != 0 & ($type_p | 0) != 0) { + HEAP32[$type_p >> 2] = HEAP32[$handle + 7062424 >> 2]; + $retval$0 = 0; + } else $retval$0 = -1; + return $retval$0 | 0; +} + +function __ZN6vision9ExceptionC2ERKNSt3__212basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE($this, $str) { + $this = $this | 0; + $str = $str | 0; + HEAP32[$this >> 2] = 16788; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC2ERKS5_($this + 4 | 0, $str); return; } -function __ZNSt3__26vectorIfNS_9allocatorIfEEE18__construct_at_endEm($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$promoted = 0, $2 = 0; - $2 = $0 + 4 | 0; - $$promoted = HEAP32[$2 >> 2] | 0; - _memset($$promoted | 0, 0, $1 << 2 | 0) | 0; - HEAP32[$2 >> 2] = $$promoted + ($1 << 2); +function __ZN6vision18BinaryFeatureStoreC2Ev($this) { + $this = $this | 0; + HEAP32[$this >> 2] = 0; + HEAP32[$this + 4 >> 2] = 0; + HEAP32[$this + 8 >> 2] = 0; + HEAP32[$this + 12 >> 2] = 0; + HEAP32[$this + 16 >> 2] = 0; + HEAP32[$this + 20 >> 2] = 0; + HEAP32[$this + 24 >> 2] = 0; return; } -function __ZN12_GLOBAL__N_116itanium_demangle11PointerTypeC2EPKNS0_4NodeE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($0, 11, HEAP8[$1 + 5 >> 0] | 0, 1, 1); - HEAP32[$0 >> 2] = 17780; - HEAP32[$0 + 8 >> 2] = $1; +function __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm8EEC2Ev($this) { + $this = $this | 0; + var $arraydecay = 0; + $arraydecay = $this + 12 | 0; + HEAP32[$this >> 2] = $arraydecay; + HEAP32[$this + 4 >> 2] = $arraydecay; + HEAP32[$this + 8 >> 2] = $this + 44; return; } @@ -104154,215 +105281,147 @@ function dynCall_iiiiiiii(index, a1, a2, a3, a4, a5, a6, a7) { return FUNCTION_TABLE_iiiiiiii[index & 7](a1 | 0, a2 | 0, a3 | 0, a4 | 0, a5 | 0, a6 | 0, a7 | 0) | 0; } -function _arMatrixAllocTransf($0) { - $0 = $0 | 0; - var $$0 = 0, $5 = 0; - $5 = _arMatrixAllocf(HEAP32[$0 + 8 >> 2] | 0, HEAP32[$0 + 4 >> 2] | 0) | 0; - if ($5) if ((_arMatrixTransf($5, $0) | 0) < 0) { - _arMatrixFreef($5) | 0; - $$0 = 0; - } else $$0 = $5; else $$0 = 0; - return $$0 | 0; +function _pntz($p) { + $p = $p | 0; + var $call = 0, $call2 = 0; + $call = _a_ctz_l_673((HEAP32[$p >> 2] | 0) + -1 | 0) | 0; + if (!$call) { + $call2 = _a_ctz_l_673(HEAP32[$p + 4 >> 2] | 0) | 0; + return (($call2 | 0) == 0 ? 0 : $call2 + 32 | 0) | 0; + } else return $call | 0; + return 0; } -function __ZNSt3__27codecvtIwc11__mbstate_tED2Ev($0) { - $0 = $0 | 0; - var $1 = 0, $2 = 0; - HEAP32[$0 >> 2] = 23240; - $1 = $0 + 8 | 0; - $2 = HEAP32[$1 >> 2] | 0; - if (($2 | 0) != (__ZNSt3__26__clocEv() | 0)) _freelocale(HEAP32[$1 >> 2] | 0); - __ZNSt3__26locale5facetD2Ev($0); - return; +function _jpeg_mem_available($cinfo, $min_bytes_needed, $max_bytes_needed, $already_allocated) { + $cinfo = $cinfo | 0; + $min_bytes_needed = $min_bytes_needed | 0; + $max_bytes_needed = $max_bytes_needed | 0; + $already_allocated = $already_allocated | 0; + return $max_bytes_needed | 0; } -function __ZN6vision21OrientationAssignmentC2Ev($0) { - $0 = $0 | 0; - var dest = 0, stop = 0; - HEAP32[$0 >> 2] = 0; - HEAP32[$0 + 4 >> 2] = 0; - dest = $0 + 12 | 0; - stop = dest + 40 | 0; - do { - HEAP32[dest >> 2] = 0; - dest = dest + 4 | 0; - } while ((dest | 0) < (stop | 0)); - return; +function _arGetTransMatMultiSquare($handle, $marker_info, $marker_num, $config) { + $handle = $handle | 0; + $marker_info = $marker_info | 0; + $marker_num = $marker_num | 0; + $config = $config | 0; + return +(+_arGetTransMatMultiSquare2($handle, $marker_info, $marker_num, $config, 0)); } -function __ZNKSt3__25ctypeIcE10do_tolowerEc($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $5 = 0, $8 = 0; - if ($1 << 24 >> 24 > -1) { - $5 = (__ZNSt3__25ctypeIcE21__classic_lower_tableEv() | 0) + ($1 << 24 >> 24 << 2) | 0; - $8 = HEAP32[$5 >> 2] & 255; - } else $8 = $1; - return $8 | 0; +function _ar2SetTrackingThresh($ar2Handle, $trackingThresh) { + $ar2Handle = $ar2Handle | 0; + $trackingThresh = +$trackingThresh; + var $retval$0 = 0; + if (!$ar2Handle) $retval$0 = -1; else { + HEAPF32[$ar2Handle + 44 >> 2] = $trackingThresh; + $retval$0 = 0; + } + return $retval$0 | 0; } function __ZN12arControllerD2Ev($this) { $this = $this | 0; - __ZNSt3__213__vector_baseI12multi_markerNS_9allocatorIS1_EEED2Ev($this + 328 | 0); - __ZNSt3__213unordered_mapIiP14AR2SurfaceSetTNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS2_EEEEED2Ev($this + 288 | 0); + __ZNSt3__213__vector_baseI12multi_markerNS_9allocatorIS1_EEED2Ev($this + 352 | 0); + __ZNSt3__213unordered_mapIiP14AR2SurfaceSetTNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS2_EEEEED2Ev($this + 312 | 0); return; } -function __ZN12_GLOBAL__N_120BumpPointerAllocator4growEv($0) { - $0 = $0 | 0; - var $1 = 0, $3 = 0; - $1 = _malloc(4096) | 0; - if (!$1) __ZSt9terminatev(); else { - $3 = $0 + 4096 | 0; - HEAP32[$1 >> 2] = HEAP32[$3 >> 2]; - HEAP32[$1 + 4 >> 2] = 0; - HEAP32[$3 >> 2] = $1; - return; - } +function _arGetLabelingThresh($handle, $thresh) { + $handle = $handle | 0; + $thresh = $thresh | 0; + var $retval$0 = 0; + if (($handle | 0) != 0 & ($thresh | 0) != 0) { + HEAP32[$thresh >> 2] = HEAP32[$handle + 16 >> 2]; + $retval$0 = 0; + } else $retval$0 = -1; + return $retval$0 | 0; } -function __ZNK12_GLOBAL__N_116itanium_demangle20TemplateArgumentPack11getElementsEv($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $3 = 0, $8 = 0, $9 = 0; - $3 = $1 + 8 | 0; - $8 = HEAP32[$3 + 4 >> 2] | 0; - $9 = $0; - HEAP32[$9 >> 2] = HEAP32[$3 >> 2]; - HEAP32[$9 + 4 >> 2] = $8; +function __ZNSt3__212_GLOBAL__N_14makeINS_8time_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEEEjEERT_T0_() { + var $call$i$i = 0; + HEAP32[16469] = 0; + HEAP32[16468] = 23484; + $call$i$i = __ZNSt3__26__clocEv() | 0; + HEAP32[16470] = $call$i$i; + HEAP32[16468] = 22720; return; } -function __ZN12_GLOBAL__N_116itanium_demangle19SpecialSubstitutionC2ENS0_14SpecialSubKindE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($0, 36, 1, 1, 1); - HEAP32[$0 >> 2] = 17648; - HEAP32[$0 + 8 >> 2] = $1; +function __ZNSt3__212_GLOBAL__N_14makeINS_8time_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEEEjEERT_T0_() { + var $call$i$i = 0; + HEAP32[16465] = 0; + HEAP32[16464] = 23484; + $call$i$i = __ZNSt3__26__clocEv() | 0; + HEAP32[16466] = $call$i$i; + HEAP32[16464] = 22696; return; } -function _wmemset($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$056 = 0, $$07 = 0; - if ($2 | 0) { - $$056 = $2; - $$07 = $0; - while (1) { - $$056 = $$056 + -1 | 0; - HEAP32[$$07 >> 2] = $1; - if (!$$056) break; else $$07 = $$07 + 4 | 0; - } - } - return $0 | 0; -} - -function _arMatrixAllocTrans($0) { - $0 = $0 | 0; - var $$0 = 0, $5 = 0; - $5 = _arMatrixAlloc(HEAP32[$0 + 8 >> 2] | 0, HEAP32[$0 + 4 >> 2] | 0) | 0; - if ($5) if ((_arMatrixTrans($5, $0) | 0) < 0) { - _arMatrixFree($5) | 0; - $$0 = 0; - } else $$0 = $5; else $$0 = 0; - return $$0 | 0; +function __ZNK12_GLOBAL__N_116itanium_demangle19PointerToMemberType19hasRHSComponentSlowERNS_12OutputStreamE($this, $S) { + $this = $this | 0; + $S = $S | 0; + return __ZNK12_GLOBAL__N_116itanium_demangle4Node15hasRHSComponentERNS_12OutputStreamE(HEAP32[$this + 12 >> 2] | 0, $S) | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_24ForwardTemplateReferenceELm4EED2Ev($0) { - $0 = $0 | 0; - if (!(__ZNK12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_24ForwardTemplateReferenceELm4EE8isInlineEv($0) | 0)) _free(HEAP32[$0 >> 2] | 0); +function __ZN6vision25DoGScaleInvariantDetector22setMaxNumFeaturePointsEm($this, $n) { + $this = $this | 0; + $n = $n | 0; + HEAP32[$this + 84 >> 2] = $n; + __ZNSt3__26vectorIN6vision25DoGScaleInvariantDetector12FeaturePointENS_9allocatorIS3_EEE7reserveEm($this + 60 | 0, $n); return; } -function __ZNSt3__220__shared_ptr_pointerIPN6vision8KeyframeILi96EEENS_14default_deleteIS3_EENS_9allocatorIS3_EEE16__on_zero_sharedEv($0) { - $0 = $0 | 0; - var $2 = 0; - $2 = HEAP32[$0 + 12 >> 2] | 0; - if ($2 | 0) { - __ZN6vision8KeyframeILi96EED2Ev($2); - __ZdlPv($2); +function _ar2SetTemplateSize2($ar2Handle, $templateSize2) { + $ar2Handle = $ar2Handle | 0; + $templateSize2 = $templateSize2 | 0; + var $retval$0 = 0; + if (!$ar2Handle) $retval$0 = -1; else { + HEAP32[$ar2Handle + 32 >> 2] = $templateSize2; + $retval$0 = 0; } - return; -} - -function __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = $0 + 8 | 0; - if ((HEAP8[$1 + 3 >> 0] | 0) < 0) __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm(HEAP32[$0 >> 2] | 0, HEAP32[$1 >> 2] << 2); - return; -} - -function __ZNKSt3__27codecvtIcc11__mbstate_tE6do_outERS1_PKcS5_RS5_PcS7_RS7_($0, $1, $2, $3, $4, $5, $6, $7) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - $6 = $6 | 0; - $7 = $7 | 0; - HEAP32[$4 >> 2] = $2; - HEAP32[$7 >> 2] = $5; - return 3; + return $retval$0 | 0; } -function __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return __ZNSt3__224__put_character_sequenceIcNS_11char_traitsIcEEEERNS_13basic_ostreamIT_T0_EES7_PKS4_m($0, $1, __ZNSt3__211char_traitsIcE6lengthEPKc($1) | 0) | 0; +function _ar2SetTemplateSize1($ar2Handle, $templateSize1) { + $ar2Handle = $ar2Handle | 0; + $templateSize1 = $templateSize1 | 0; + var $retval$0 = 0; + if (!$ar2Handle) $retval$0 = -1; else { + HEAP32[$ar2Handle + 28 >> 2] = $templateSize1; + $retval$0 = 0; + } + return $retval$0 | 0; } -function __ZNKSt3__27codecvtIcc11__mbstate_tE5do_inERS1_PKcS5_RS5_PcS7_RS7_($0, $1, $2, $3, $4, $5, $6, $7) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - $6 = $6 | 0; - $7 = $7 | 0; - HEAP32[$4 >> 2] = $2; - HEAP32[$7 >> 2] = $5; - return 3; +function _ar2GetResolution($cparamLT, $trans, $pos, $dpi) { + $cparamLT = $cparamLT | 0; + $trans = $trans | 0; + $pos = $pos | 0; + $dpi = $dpi | 0; + if (!$cparamLT) _ar2GetResolution2(0, $trans, $pos, $dpi) | 0; else _ar2GetResolution2($cparamLT, $trans, $pos, $dpi) | 0; + return 0; } -function __ZNKSt3__25ctypeIcE10do_toupperEc($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $5 = 0, $8 = 0; - if ($1 << 24 >> 24 > -1) { - $5 = (__ZNSt3__25ctypeIcE21__classic_upper_tableEv() | 0) + (($1 & 255) << 2) | 0; - $8 = HEAP32[$5 >> 2] & 255; - } else $8 = $1; - return $8 | 0; +function __ZNSt3__220__shared_ptr_pointerIPh16NullArrayDeleterIhENS_9allocatorIhEEE16__on_zero_sharedEv($this) { + $this = $this | 0; + var $__value_$i$i = 0; + $__value_$i$i = $this + 12 | 0; + __ZNK16NullArrayDeleterIhEclEPh($__value_$i$i, HEAP32[$__value_$i$i >> 2] | 0); + return; } -function _arPattFree($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $4 = 0; - $4 = (HEAP32[$0 + 8 >> 2] | 0) + ($1 << 2) | 0; - if (!(HEAP32[$4 >> 2] | 0)) $$0 = -1; else { - HEAP32[$4 >> 2] = 0; - HEAP32[$0 >> 2] = (HEAP32[$0 >> 2] | 0) + -1; - $$0 = 1; - } - return $$0 | 0; +function __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($this) { + $this = $this | 0; + if ((HEAP8[$this + 11 >> 0] | 0) < 0) __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm(HEAP32[$this >> 2] | 0, HEAP32[$this + 8 >> 2] & 2147483647); + return; } -function __ZNSt3__211__call_onceERVmPvPFvS2_E($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - do {} while ((HEAP32[$0 >> 2] | 0) == 1); - if (!(HEAP32[$0 >> 2] | 0)) { - HEAP32[$0 >> 2] = 1; - FUNCTION_TABLE_vi[$2 & 255]($1); - HEAP32[$0 >> 2] = -1; - } else {} +function __ZN12_GLOBAL__N_116itanium_demangle9NodeArrayC2EPPNS0_4NodeEm($this, $Elements_, $NumElements_) { + $this = $this | 0; + $Elements_ = $Elements_ | 0; + $NumElements_ = $NumElements_ | 0; + HEAP32[$this >> 2] = $Elements_; + HEAP32[$this + 4 >> 2] = $NumElements_; return; } @@ -104378,61 +105437,52 @@ function _bitshift64Shl(low, high, bits) { return 0; } -function _arMatrixAllocDup($0) { - $0 = $0 | 0; - var $$0 = 0, $5 = 0; - $5 = _arMatrixAlloc(HEAP32[$0 + 4 >> 2] | 0, HEAP32[$0 + 8 >> 2] | 0) | 0; - if ($5) if ((_arMatrixDup($5, $0) | 0) < 0) { - _arMatrixFree($5) | 0; - $$0 = 0; - } else $$0 = $5; else $$0 = 0; - return $$0 | 0; +function __ZNSt3__211char_traitsIwE7not_eofEj($__c) { + $__c = $__c | 0; + var $cond = 0; + if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj($__c, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) $cond = ~(__ZNSt3__211char_traitsIwE3eofEv() | 0); else $cond = $__c; + return $cond | 0; } -function __ZN6vision14BinarykMedoidsILi96EEC2ERi($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var dest = 0, stop = 0; - HEAP32[$0 >> 2] = $1; - dest = $0 + 4 | 0; - stop = dest + 56 | 0; - do { - HEAP32[dest >> 2] = 0; - dest = dest + 4 | 0; - } while ((dest | 0) < (stop | 0)); - return; +function __ZNSt3__211char_traitsIcE7not_eofEi($__c) { + $__c = $__c | 0; + var $cond = 0; + if (__ZNSt3__211char_traitsIcE11eq_int_typeEii($__c, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) $cond = ~(__ZNSt3__211char_traitsIcE3eofEv() | 0); else $cond = $__c; + return $cond | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle22ParameterPackExpansionC2EPKNS0_4NodeE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($0, 29, 1, 1, 1); - HEAP32[$0 >> 2] = 18484; - HEAP32[$0 + 8 >> 2] = $1; - return; +function ___uselocale($new) { + $new = $new | 0; + var $0 = 0, $locale = 0; + $locale = (___pthread_self_10() | 0) + 188 | 0; + $0 = HEAP32[$locale >> 2] | 0; + if ($new | 0) HEAP32[$locale >> 2] = ($new | 0) == (-1 | 0) ? 66220 : $new; + return (($0 | 0) == 66220 ? -1 : $0) | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_24ForwardTemplateReferenceELm4EEixEm($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return (__ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_24ForwardTemplateReferenceELm4EE5beginEv($0) | 0) + ($1 << 2) | 0; +function __ZNKSt3__220__time_get_c_storageIwE8__monthsEv($this) { + $this = $this | 0; + if ((HEAP8[65560] | 0) == 0 ? ___cxa_guard_acquire(65560) | 0 : 0) { + __ZNSt3__2L12init_wmonthsEv(); + HEAP32[16888] = 64688; + ___cxa_guard_release(65560); + } + return HEAP32[16888] | 0; } -function __ZN6vision16RobustHomographyIfED2Ev($0) { - $0 = $0 | 0; - __ZNSt3__213__vector_baseINS_4pairIfiEENS_9allocatorIS2_EEED2Ev($0 + 24 | 0); - __ZNSt3__213__vector_baseIiNS_9allocatorIiEEED2Ev($0 + 12 | 0); - __ZNSt3__213__vector_baseIfNS_9allocatorIfEEED2Ev($0); - return; +function __ZNK12_GLOBAL__N_116itanium_demangle13ReferenceType19hasRHSComponentSlowERNS_12OutputStreamE($this, $S) { + $this = $this | 0; + $S = $S | 0; + return __ZNK12_GLOBAL__N_116itanium_demangle4Node15hasRHSComponentERNS_12OutputStreamE(HEAP32[$this + 8 >> 2] | 0, $S) | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle22ConversionOperatorTypeC2EPKNS0_4NodeE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($0, 4, 1, 1, 1); - HEAP32[$0 >> 2] = 19012; - HEAP32[$0 + 8 >> 2] = $1; - return; +function __ZN6vision10DoGPyramid3getEmm($this, $octave, $scale) { + $this = $this | 0; + $octave = $octave | 0; + $scale = $scale | 0; + var $add = 0; + $add = (Math_imul(HEAP32[$this + 16 >> 2] | 0, $octave) | 0) + $scale | 0; + return (HEAP32[$this >> 2] | 0) + ($add << 5) | 0; } function dynCall_viiiiiii(index, a1, a2, a3, a4, a5, a6, a7) { @@ -104447,381 +105497,484 @@ function dynCall_viiiiiii(index, a1, a2, a3, a4, a5, a6, a7) { FUNCTION_TABLE_viiiiiii[index & 7](a1 | 0, a2 | 0, a3 | 0, a4 | 0, a5 | 0, a6 | 0, a7 | 0); } -function __ZN12_GLOBAL__N_116itanium_demangle19SizeofParamPackExprC2EPKNS0_4NodeE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($0, 49, 1, 1, 1); - HEAP32[$0 >> 2] = 18440; - HEAP32[$0 + 8 >> 2] = $1; - return; +function __ZNKSt3__220__time_get_c_storageIcE8__monthsEv($this) { + $this = $this | 0; + if ((HEAP8[65480] | 0) == 0 ? ___cxa_guard_acquire(65480) | 0 : 0) { + __ZNSt3__2L11init_monthsEv(); + HEAP32[16871] = 64192; + ___cxa_guard_release(65480); + } + return HEAP32[16871] | 0; } -function _ar2GetRegionArea($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $5 = 0, $6 = 0.0; - $5 = $0 + ($2 << 3) | 0; - $6 = +_ar2GetTriangleArea($0, $0 + ($1 << 3) | 0, $5); - return +($6 + +_ar2GetTriangleArea($0, $5, $0 + ($3 << 3) | 0)); +function __ZN6vision10FastMedianIfiEENSt3__24pairIT_T0_EEPS5_i($agg$result, $a, $n) { + $agg$result = $agg$result | 0; + $a = $a | 0; + $n = $n | 0; + __ZN6vision11PartialSortIfiEENSt3__24pairIT_T0_EEPS5_ii($agg$result, $a, $n, ($n & 1) + -1 + (($n | 0) / 2 | 0) | 0); + return; } -function __ZN12_GLOBAL__N_116itanium_demangle19GlobalQualifiedNameC2EPNS0_4NodeE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($0, 33, 1, 1, 1); - HEAP32[$0 >> 2] = 18924; - HEAP32[$0 + 8 >> 2] = $1; - return; +function __ZNKSt3__220__time_get_c_storageIwE7__weeksEv($this) { + $this = $this | 0; + if ((HEAP8[65576] | 0) == 0 ? ___cxa_guard_acquire(65576) | 0 : 0) { + __ZNSt3__2L11init_wweeksEv(); + HEAP32[16889] = 64976; + ___cxa_guard_release(65576); + } + return HEAP32[16889] | 0; } -function _ar2SetSearchFeatureNum($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $spec$select = 0; - $spec$select = ($1 | 0) < 40 ? $1 : 40; - if (!$0) $$0 = -1; else { - HEAP32[$0 + 36 >> 2] = ($spec$select | 0) > 3 ? $spec$select : 3; - $$0 = 0; +function __ZNKSt3__220__time_get_c_storageIwE7__am_pmEv($this) { + $this = $this | 0; + if ((HEAP8[65544] | 0) == 0 ? ___cxa_guard_acquire(65544) | 0 : 0) { + __ZNSt3__2L11init_wam_pmEv(); + HEAP32[16887] = 64656; + ___cxa_guard_release(65544); } - return $$0 | 0; + return HEAP32[16887] | 0; } -function __ZNK12_GLOBAL__N_116itanium_demangle19PointerToMemberType19hasRHSComponentSlowERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return __ZNK12_GLOBAL__N_116itanium_demangle4Node15hasRHSComponentERNS_12OutputStreamE(HEAP32[$0 + 12 >> 2] | 0, $1) | 0; +function __ZNK12_GLOBAL__N_116itanium_demangle11PointerType19hasRHSComponentSlowERNS_12OutputStreamE($this, $S) { + $this = $this | 0; + $S = $S | 0; + return __ZNK12_GLOBAL__N_116itanium_demangle4Node15hasRHSComponentERNS_12OutputStreamE(HEAP32[$this + 8 >> 2] | 0, $S) | 0; } -function _bitshift64Lshr(low, high, bits) { - low = low | 0; - high = high | 0; - bits = bits | 0; - if ((bits | 0) < 32) { - setTempRet0(high >>> bits | 0); - return low >>> bits | (high & (1 << bits) - 1) << 32 - bits; +function __ZNKSt3__220__time_get_c_storageIcE7__weeksEv($this) { + $this = $this | 0; + if ((HEAP8[65496] | 0) == 0 ? ___cxa_guard_acquire(65496) | 0 : 0) { + __ZNSt3__2L10init_weeksEv(); + HEAP32[16872] = 64480; + ___cxa_guard_release(65496); } - setTempRet0(0); - return high >>> bits - 32 | 0; + return HEAP32[16872] | 0; } -function __ZNKSt3__210moneypunctIwLb1EE16do_negative_signEv($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - HEAP32[$0 >> 2] = 0; - HEAP32[$0 + 4 >> 2] = 0; - HEAP32[$0 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6__initEmw($0, 1, 45); +function __ZNKSt3__220__time_get_c_storageIcE7__am_pmEv($this) { + $this = $this | 0; + if ((HEAP8[65464] | 0) == 0 ? ___cxa_guard_acquire(65464) | 0 : 0) { + __ZNSt3__2L10init_am_pmEv(); + HEAP32[16870] = 64160; + ___cxa_guard_release(65464); + } + return HEAP32[16870] | 0; +} + +function __ZNKSt3__210moneypunctIwLb1EE13do_pos_formatEv($agg$result, $this) { + $agg$result = $agg$result | 0; + $this = $this | 0; + HEAP8[$agg$result >> 0] = 2; + HEAP8[$agg$result + 1 >> 0] = 3; + HEAP8[$agg$result + 2 >> 0] = 0; + HEAP8[$agg$result + 3 >> 0] = 4; return; } -function __ZNKSt3__210moneypunctIwLb0EE16do_negative_signEv($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - HEAP32[$0 >> 2] = 0; - HEAP32[$0 + 4 >> 2] = 0; - HEAP32[$0 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6__initEmw($0, 1, 45); +function __ZNKSt3__210moneypunctIwLb1EE13do_neg_formatEv($agg$result, $this) { + $agg$result = $agg$result | 0; + $this = $this | 0; + HEAP8[$agg$result >> 0] = 2; + HEAP8[$agg$result + 1 >> 0] = 3; + HEAP8[$agg$result + 2 >> 0] = 0; + HEAP8[$agg$result + 3 >> 0] = 4; return; } -function __ZNKSt3__210moneypunctIcLb1EE16do_negative_signEv($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - HEAP32[$0 >> 2] = 0; - HEAP32[$0 + 4 >> 2] = 0; - HEAP32[$0 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEmc($0, 1, 45); +function __ZNKSt3__210moneypunctIwLb0EE13do_pos_formatEv($agg$result, $this) { + $agg$result = $agg$result | 0; + $this = $this | 0; + HEAP8[$agg$result >> 0] = 2; + HEAP8[$agg$result + 1 >> 0] = 3; + HEAP8[$agg$result + 2 >> 0] = 0; + HEAP8[$agg$result + 3 >> 0] = 4; return; } -function __ZNKSt3__210moneypunctIcLb0EE16do_negative_signEv($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - HEAP32[$0 >> 2] = 0; - HEAP32[$0 + 4 >> 2] = 0; - HEAP32[$0 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEmc($0, 1, 45); +function __ZNKSt3__210moneypunctIwLb0EE13do_neg_formatEv($agg$result, $this) { + $agg$result = $agg$result | 0; + $this = $this | 0; + HEAP8[$agg$result >> 0] = 2; + HEAP8[$agg$result + 1 >> 0] = 3; + HEAP8[$agg$result + 2 >> 0] = 0; + HEAP8[$agg$result + 3 >> 0] = 4; return; } -function __ZNK12_GLOBAL__N_116itanium_demangle8NameType11getBaseNameEv($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $3 = 0, $8 = 0, $9 = 0; - $3 = $1 + 8 | 0; - $8 = HEAP32[$3 + 4 >> 2] | 0; - $9 = $0; - HEAP32[$9 >> 2] = HEAP32[$3 >> 2]; - HEAP32[$9 + 4 >> 2] = $8; +function __ZNKSt3__210moneypunctIcLb1EE13do_pos_formatEv($agg$result, $this) { + $agg$result = $agg$result | 0; + $this = $this | 0; + HEAP8[$agg$result >> 0] = 2; + HEAP8[$agg$result + 1 >> 0] = 3; + HEAP8[$agg$result + 2 >> 0] = 0; + HEAP8[$agg$result + 3 >> 0] = 4; return; } -function __ZN6vision5ImageC2Ev($0) { - $0 = $0 | 0; - HEAP32[$0 >> 2] = 0; - HEAP32[$0 + 4 >> 2] = 0; - HEAP32[$0 + 8 >> 2] = 0; - HEAP32[$0 + 12 >> 2] = 0; - HEAP32[$0 + 16 >> 2] = 0; - HEAP32[$0 + 20 >> 2] = 0; - HEAP32[$0 + 24 >> 2] = 0; - HEAP32[$0 + 28 >> 2] = 0; +function __ZNKSt3__210moneypunctIcLb1EE13do_neg_formatEv($agg$result, $this) { + $agg$result = $agg$result | 0; + $this = $this | 0; + HEAP8[$agg$result >> 0] = 2; + HEAP8[$agg$result + 1 >> 0] = 3; + HEAP8[$agg$result + 2 >> 0] = 0; + HEAP8[$agg$result + 3 >> 0] = 4; return; } -function __ZN12_GLOBAL__N_116itanium_demangle16StdQualifiedNameC2EPNS0_4NodeE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($0, 34, 1, 1, 1); - HEAP32[$0 >> 2] = 19540; - HEAP32[$0 + 8 >> 2] = $1; +function __ZNKSt3__210moneypunctIcLb0EE13do_pos_formatEv($agg$result, $this) { + $agg$result = $agg$result | 0; + $this = $this | 0; + HEAP8[$agg$result >> 0] = 2; + HEAP8[$agg$result + 1 >> 0] = 3; + HEAP8[$agg$result + 2 >> 0] = 0; + HEAP8[$agg$result + 3 >> 0] = 4; return; } -function __ZN12_GLOBAL__N_116itanium_demangle15LiteralOperatorC2EPKNS0_4NodeE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($0, 19, 1, 1, 1); - HEAP32[$0 >> 2] = 18968; - HEAP32[$0 + 8 >> 2] = $1; +function __ZNKSt3__210moneypunctIcLb0EE13do_neg_formatEv($agg$result, $this) { + $agg$result = $agg$result | 0; + $this = $this | 0; + HEAP8[$agg$result >> 0] = 2; + HEAP8[$agg$result + 1 >> 0] = 3; + HEAP8[$agg$result + 2 >> 0] = 0; + HEAP8[$agg$result + 3 >> 0] = 4; return; } -function __ZNSt3__26localeD2Ev($0) { - $0 = $0 | 0; - var $1 = 0, $2 = 0, $3 = 0; - $1 = HEAP32[$0 >> 2] | 0; - $2 = $1 + 4 | 0; - $3 = HEAP32[$2 >> 2] | 0; - HEAP32[$2 >> 2] = $3 + -1; - if (!$3) FUNCTION_TABLE_vi[HEAP32[(HEAP32[$1 >> 2] | 0) + 8 >> 2] & 255]($1); +function __ZNKSt3__220__shared_ptr_pointerIPN6vision8KeyframeILi96EEENS_14default_deleteIS3_EENS_9allocatorIS3_EEE13__get_deleterERKSt9type_info($this, $__t) { + $this = $this | 0; + $__t = $__t | 0; + return ((HEAP32[$__t + 4 >> 2] | 0) == 34899 ? $this + 12 | 0 : 0) | 0; +} + +function __ZN12_GLOBAL__N_114SwapAndRestoreIjEC2ERjj($this, $Restore_) { + $this = $this | 0; + $Restore_ = $Restore_ | 0; + HEAP32[$this >> 2] = $Restore_; + HEAP32[$this + 4 >> 2] = HEAP32[$Restore_ >> 2]; + HEAP8[$this + 8 >> 0] = 1; + HEAP32[$Restore_ >> 2] = -1; return; } -function __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKwm($0, $1, __ZNSt3__211char_traitsIwE6lengthEPKw($1) | 0) | 0; +function _arSetLabelingThresh($handle, $thresh) { + $handle = $handle | 0; + $thresh = $thresh | 0; + var $retval$0 = 0; + if (($handle | 0) == 0 | $thresh >>> 0 > 255) $retval$0 = -1; else { + HEAP32[$handle + 16 >> 2] = $thresh; + $retval$0 = 0; + } + return $retval$0 | 0; } -function __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKcm($0, $1, __ZNSt3__211char_traitsIcE6lengthEPKc($1) | 0) | 0; +function _arGetLabelingMode($handle, $mode) { + $handle = $handle | 0; + $mode = $mode | 0; + var $retval$0 = 0; + if (($handle | 0) != 0 & ($mode | 0) != 0) { + HEAP32[$mode >> 2] = HEAP32[$handle + 12 >> 2]; + $retval$0 = 0; + } else $retval$0 = -1; + return $retval$0 | 0; } -function __ZNSt3__212_GLOBAL__N_14makeINS_8time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEEjEERT_T0_() { - HEAP32[16245] = 0; - HEAP32[16244] = 23484; - __ZNSt3__220__time_get_c_storageIcEC2Ev(64984); - HEAP32[16244] = 21440; - HEAP32[16246] = 21488; +function __ZNK12_GLOBAL__N_116itanium_demangle8QualType19hasRHSComponentSlowERNS_12OutputStreamE($this, $S) { + $this = $this | 0; + $S = $S | 0; + return __ZNK12_GLOBAL__N_116itanium_demangle4Node15hasRHSComponentERNS_12OutputStreamE(HEAP32[$this + 12 >> 2] | 0, $S) | 0; +} + +function _bitshift64Lshr(low, high, bits) { + low = low | 0; + high = high | 0; + bits = bits | 0; + if ((bits | 0) < 32) { + setTempRet0(high >>> bits | 0); + return low >>> bits | (high & (1 << bits) - 1) << 32 - bits; + } + setTempRet0(0); + return high >>> bits - 32 | 0; +} + +function __ZNSt3__26locale5__imp7installINS_9money_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEEEEEvPT_($this, $f) { + $this = $this | 0; + $f = $f | 0; + __ZNSt3__26locale5__imp7installEPNS0_5facetEl($this, $f, __ZNSt3__26locale2id5__getEv(67640) | 0); return; } -function __ZN6vision25DoGScaleInvariantDetector22setMaxNumFeaturePointsEm($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - HEAP32[$0 + 84 >> 2] = $1; - __ZNSt3__26vectorIN6vision25DoGScaleInvariantDetector12FeaturePointENS_9allocatorIS3_EEE7reserveEm($0 + 60 | 0, $1); +function __ZNSt3__26locale5__imp7installINS_9money_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEEEEEvPT_($this, $f) { + $this = $this | 0; + $f = $f | 0; + __ZNSt3__26locale5__imp7installEPNS0_5facetEl($this, $f, __ZNSt3__26locale2id5__getEv(67632) | 0); return; } -function __ZNSt3__212_GLOBAL__N_14makeINS_8time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEEEjEERT_T0_() { - HEAP32[16249] = 0; - HEAP32[16248] = 23484; - __ZNSt3__220__time_get_c_storageIwEC2Ev(65e3); - HEAP32[16248] = 21524; - HEAP32[16250] = 21572; +function __ZNSt3__26locale5__imp7installINS_9money_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEEEEEvPT_($this, $f) { + $this = $this | 0; + $f = $f | 0; + __ZNSt3__26locale5__imp7installEPNS0_5facetEl($this, $f, __ZNSt3__26locale2id5__getEv(67624) | 0); return; } -function __ZNKSt3__220__time_get_c_storageIwE8__monthsEv($0) { - $0 = $0 | 0; - if ((HEAP8[64712] | 0) == 0 ? ___cxa_guard_acquire(64712) | 0 : 0) { - __ZNSt3__2L12init_wmonthsEv(); - HEAP32[16676] = 63840; - ___cxa_guard_release(64712); +function __ZNSt3__26locale5__imp7installINS_9money_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEEEEvPT_($this, $f) { + $this = $this | 0; + $f = $f | 0; + __ZNSt3__26locale5__imp7installEPNS0_5facetEl($this, $f, __ZNSt3__26locale2id5__getEv(67616) | 0); + return; +} + +function _arImageProcInit($xsize, $ysize) { + $xsize = $xsize | 0; + $ysize = $ysize | 0; + var $call = 0; + $call = _malloc(2064) | 0; + if ($call | 0) { + HEAP32[$call >> 2] = 0; + HEAP32[$call + 4 >> 2] = $xsize; + HEAP32[$call + 8 >> 2] = $ysize; } - return HEAP32[16676] | 0; + return $call | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle12NoexceptSpecC2EPKNS0_4NodeE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($0, 16, 1, 1, 1); - HEAP32[$0 >> 2] = 20288; - HEAP32[$0 + 8 >> 2] = $1; +function __ZNSt3__26locale5__imp7installINS_8time_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEEEEEvPT_($this, $f) { + $this = $this | 0; + $f = $f | 0; + __ZNSt3__26locale5__imp7installEPNS0_5facetEl($this, $f, __ZNSt3__26locale2id5__getEv(67576) | 0); return; } -function __ZNKSt3__220__time_get_c_storageIcE8__monthsEv($0) { - $0 = $0 | 0; - if ((HEAP8[64632] | 0) == 0 ? ___cxa_guard_acquire(64632) | 0 : 0) { - __ZNSt3__2L11init_monthsEv(); - HEAP32[16659] = 63344; - ___cxa_guard_release(64632); - } - return HEAP32[16659] | 0; +function __ZNSt3__26locale5__imp7installINS_8time_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEEEEEvPT_($this, $f) { + $this = $this | 0; + $f = $f | 0; + __ZNSt3__26locale5__imp7installEPNS0_5facetEl($this, $f, __ZNSt3__26locale2id5__getEv(67568) | 0); + return; } -function __ZNKSt3__25ctypeIwE10do_toupperEw($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $4 = 0, $6 = 0; - if ($1 >>> 0 < 128) { - $4 = (__ZNSt3__25ctypeIcE21__classic_upper_tableEv() | 0) + ($1 << 2) | 0; - $6 = HEAP32[$4 >> 2] | 0; - } else $6 = $1; - return $6 | 0; +function __ZNSt3__26locale5__imp7installINS_8time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEEEEEvPT_($this, $f) { + $this = $this | 0; + $f = $f | 0; + __ZNSt3__26locale5__imp7installEPNS0_5facetEl($this, $f, __ZNSt3__26locale2id5__getEv(67560) | 0); + return; } -function __ZNKSt3__25ctypeIwE10do_tolowerEw($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $4 = 0, $6 = 0; - if ($1 >>> 0 < 128) { - $4 = (__ZNSt3__25ctypeIcE21__classic_lower_tableEv() | 0) + ($1 << 2) | 0; - $6 = HEAP32[$4 >> 2] | 0; - } else $6 = $1; - return $6 | 0; +function __ZNSt3__26locale5__imp7installINS_8time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEEEEvPT_($this, $f) { + $this = $this | 0; + $f = $f | 0; + __ZNSt3__26locale5__imp7installEPNS0_5facetEl($this, $f, __ZNSt3__26locale2id5__getEv(67492) | 0); + return; } -function __ZNKSt3__220__time_get_c_storageIwE7__weeksEv($0) { - $0 = $0 | 0; - if ((HEAP8[64728] | 0) == 0 ? ___cxa_guard_acquire(64728) | 0 : 0) { - __ZNSt3__2L11init_wweeksEv(); - HEAP32[16677] = 64128; - ___cxa_guard_release(64728); - } - return HEAP32[16677] | 0; +function __ZNK12_GLOBAL__N_116itanium_demangle8QualType10printRightERNS_12OutputStreamE($this, $S) { + $this = $this | 0; + $S = $S | 0; + var $0 = 0; + $0 = HEAP32[$this + 12 >> 2] | 0; + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$0 >> 2] | 0) + 20 >> 2] & 255]($0, $S); + return; } -function __ZNKSt3__220__time_get_c_storageIwE7__am_pmEv($0) { - $0 = $0 | 0; - if ((HEAP8[64696] | 0) == 0 ? ___cxa_guard_acquire(64696) | 0 : 0) { - __ZNSt3__2L11init_wam_pmEv(); - HEAP32[16675] = 63808; - ___cxa_guard_release(64696); - } - return HEAP32[16675] | 0; +function __ZNSt3__26locale5__imp7installINS_7num_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEEEEEvPT_($this, $f) { + $this = $this | 0; + $f = $f | 0; + __ZNSt3__26locale5__imp7installEPNS0_5facetEl($this, $f, __ZNSt3__26locale2id5__getEv(67424) | 0); + return; } -function __ZNK12_GLOBAL__N_116itanium_demangle8NameType7getNameEv($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $3 = 0, $8 = 0, $9 = 0; - $3 = $1 + 8 | 0; - $8 = HEAP32[$3 + 4 >> 2] | 0; - $9 = $0; - HEAP32[$9 >> 2] = HEAP32[$3 >> 2]; - HEAP32[$9 + 4 >> 2] = $8; +function __ZNSt3__26locale5__imp7installINS_7num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEEEEEvPT_($this, $f) { + $this = $this | 0; + $f = $f | 0; + __ZNSt3__26locale5__imp7installEPNS0_5facetEl($this, $f, __ZNSt3__26locale2id5__getEv(67416) | 0); return; } -function __ZN6vision9ExceptionC2ERKNSt3__212basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - HEAP32[$0 >> 2] = 16788; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC2ERKS5_($0 + 4 | 0, $1); +function __ZNSt3__26locale5__imp7installINS_7num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEEEEEvPT_($this, $f) { + $this = $this | 0; + $f = $f | 0; + __ZNSt3__26locale5__imp7installEPNS0_5facetEl($this, $f, __ZNSt3__26locale2id5__getEv(67408) | 0); return; } -function _finish_pass_huff($0) { - $0 = $0 | 0; - var $3 = 0, $8 = 0; - $3 = (HEAP32[$0 + 468 >> 2] | 0) + 16 | 0; - $8 = (HEAP32[$0 + 464 >> 2] | 0) + 24 | 0; - HEAP32[$8 >> 2] = (HEAP32[$8 >> 2] | 0) + ((HEAP32[$3 >> 2] | 0) / 8 | 0); - HEAP32[$3 >> 2] = 0; +function __ZNSt3__26locale5__imp7installINS_7num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEEEEvPT_($this, $f) { + $this = $this | 0; + $f = $f | 0; + __ZNSt3__26locale5__imp7installEPNS0_5facetEl($this, $f, __ZNSt3__26locale2id5__getEv(67384) | 0); return; } -function __ZNKSt3__220__time_get_c_storageIcE7__weeksEv($0) { - $0 = $0 | 0; - if ((HEAP8[64648] | 0) == 0 ? ___cxa_guard_acquire(64648) | 0 : 0) { - __ZNSt3__2L10init_weeksEv(); - HEAP32[16660] = 63632; - ___cxa_guard_release(64648); +function __ZNSt3__212_GLOBAL__N_14makeINS_8time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEEEjEERT_T0_() { + HEAP32[16461] = 0; + HEAP32[16460] = 23484; + __ZNSt3__220__time_get_c_storageIwEC2Ev(65848); + HEAP32[16460] = 21524; + HEAP32[16462] = 21572; + return; +} + +function __ZNSt3__212_GLOBAL__N_14makeINS_8time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEEjEERT_T0_() { + HEAP32[16457] = 0; + HEAP32[16456] = 23484; + __ZNSt3__220__time_get_c_storageIcEC2Ev(65832); + HEAP32[16456] = 21440; + HEAP32[16458] = 21488; + return; +} + +function __ZN6vision22QuadraticCriticalPointIfEEbRT_S1_S1_S1_($x, $A, $B, $C) { + $x = $x | 0; + $A = +$A; + $B = +$B; + $C = +$C; + var $retval$0 = 0; + if ($A == 0.0) $retval$0 = 0; else { + HEAPF32[$x >> 2] = -$B / ($A * 2.0); + $retval$0 = 1; } - return HEAP32[16660] | 0; + return $retval$0 | 0; } -function __ZNKSt3__220__time_get_c_storageIcE7__am_pmEv($0) { - $0 = $0 | 0; - if ((HEAP8[64616] | 0) == 0 ? ___cxa_guard_acquire(64616) | 0 : 0) { - __ZNSt3__2L10init_am_pmEv(); - HEAP32[16658] = 63312; - ___cxa_guard_release(64616); +function _arGetPattRatio($handle, $pattRatio) { + $handle = $handle | 0; + $pattRatio = $pattRatio | 0; + var $retval$0 = 0; + if (!$handle) $retval$0 = -1; else { + HEAPF64[$pattRatio >> 3] = +HEAPF64[$handle + 7062416 >> 3]; + $retval$0 = 0; } - return HEAP32[16658] | 0; + return $retval$0 | 0; } -function __ZNK12_GLOBAL__N_116itanium_demangle13ReferenceType19hasRHSComponentSlowERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return __ZNK12_GLOBAL__N_116itanium_demangle4Node15hasRHSComponentERNS_12OutputStreamE(HEAP32[$0 + 8 >> 2] | 0, $1) | 0; +function _ar2SetSearchSize($ar2Handle, $searchSize) { + $ar2Handle = $ar2Handle | 0; + $searchSize = $searchSize | 0; + var $retval$0 = 0; + if (!$ar2Handle) $retval$0 = -1; else { + HEAP32[$ar2Handle + 24 >> 2] = $searchSize; + $retval$0 = 0; + } + return $retval$0 | 0; } -function __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($0) { - $0 = $0 | 0; - if ((HEAP8[$0 + 11 >> 0] | 0) < 0) __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm(HEAP32[$0 >> 2] | 0, HEAP32[$0 + 8 >> 2] & 2147483647); - return; +function ___ofl_add($f) { + $f = $f | 0; + var $1 = 0, $call = 0; + $call = ___ofl_lock() | 0; + HEAP32[$f + 56 >> 2] = HEAP32[$call >> 2]; + $1 = HEAP32[$call >> 2] | 0; + if ($1 | 0) HEAP32[$1 + 52 >> 2] = $f; + HEAP32[$call >> 2] = $f; + ___ofl_unlock(); + return $f | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle9ThrowExprC2EPKNS0_4NodeE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($0, 58, 1, 1, 1); - HEAP32[$0 >> 2] = 18264; - HEAP32[$0 + 8 >> 2] = $1; +function __ZNSt3__27codecvtIwc11__mbstate_tEC2Em($this, $refs) { + $this = $this | 0; + $refs = $refs | 0; + var $call = 0; + HEAP32[$this + 4 >> 2] = $refs + -1; + HEAP32[$this >> 2] = 23240; + $call = __ZNSt3__26__clocEv() | 0; + HEAP32[$this + 8 >> 2] = $call; return; } -function __ZNSt3__212_GLOBAL__N_14makeINS_8time_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEEEjEERT_T0_() { +function __ZNK12_GLOBAL__N_116itanium_demangle9ArrayType9printLeftERNS_12OutputStreamE($this, $S) { + $this = $this | 0; + $S = $S | 0; var $0 = 0; - HEAP32[16257] = 0; - HEAP32[16256] = 23484; - $0 = __ZNSt3__26__clocEv() | 0; - HEAP32[16258] = $0; - HEAP32[16256] = 22720; + $0 = HEAP32[$this + 8 >> 2] | 0; + FUNCTION_TABLE_vii[HEAP32[(HEAP32[$0 >> 2] | 0) + 16 >> 2] & 255]($0, $S); return; } -function __ZNSt3__212_GLOBAL__N_14makeINS_8time_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEEEjEERT_T0_() { - var $0 = 0; - HEAP32[16253] = 0; - HEAP32[16252] = 23484; - $0 = __ZNSt3__26__clocEv() | 0; - HEAP32[16254] = $0; - HEAP32[16252] = 22696; +function _arSetPatternDetectionMode($handle, $mode) { + $handle = $handle | 0; + $mode = $mode | 0; + var $retval$0 = 0; + if (($handle | 0) != 0 & $mode >>> 0 < 5) { + HEAP32[$handle + 24 >> 2] = $mode; + $retval$0 = 0; + } else $retval$0 = -1; + return $retval$0 | 0; +} + +function __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EEixEm($this, $Index) { + $this = $this | 0; + $Index = $Index | 0; + return (__ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE5beginEv($this) | 0) + ($Index << 2) | 0; +} + +function _jpeg_destroy($cinfo) { + $cinfo = $cinfo | 0; + var $0 = 0, $mem = 0; + $mem = $cinfo + 4 | 0; + $0 = HEAP32[$mem >> 2] | 0; + if ($0 | 0) FUNCTION_TABLE_vi[HEAP32[$0 + 40 >> 2] & 255]($cinfo); + HEAP32[$mem >> 2] = 0; + HEAP32[$cinfo + 20 >> 2] = 0; return; } -function __ZNK12_GLOBAL__N_116itanium_demangle11PointerType19hasRHSComponentSlowERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return __ZNK12_GLOBAL__N_116itanium_demangle4Node15hasRHSComponentERNS_12OutputStreamE(HEAP32[$0 + 8 >> 2] | 0, $1) | 0; +function _arGetDebugMode($handle, $mode) { + $handle = $handle | 0; + $mode = $mode | 0; + var $retval$0 = 0; + if (($handle | 0) != 0 & ($mode | 0) != 0) { + HEAP32[$mode >> 2] = HEAP32[$handle >> 2]; + $retval$0 = 0; + } else $retval$0 = -1; + return $retval$0 | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle8DtorNameC2EPKNS0_4NodeE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($0, 38, 1, 1, 1); - HEAP32[$0 >> 2] = 19056; - HEAP32[$0 + 8 >> 2] = $1; +function __ZNK12_GLOBAL__N_116itanium_demangle8QualType15hasFunctionSlowERNS_12OutputStreamE($this, $S) { + $this = $this | 0; + $S = $S | 0; + return __ZNK12_GLOBAL__N_116itanium_demangle4Node11hasFunctionERNS_12OutputStreamE(HEAP32[$this + 12 >> 2] | 0, $S) | 0; +} + +function __ZNK12_GLOBAL__N_116itanium_demangle12NodeOrString8asStringEv($agg$result, $this) { + $agg$result = $agg$result | 0; + $this = $this | 0; + __ZN12_GLOBAL__N_110StringViewC2EPKcS2_($agg$result, HEAP32[$this >> 2] | 0, HEAP32[$this + 4 >> 2] | 0); return; } -function __ZNKSt3__27codecvtIDsc11__mbstate_tE9do_lengthERS1_PKcS5_m($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - return __ZNSt3__2L20utf8_to_utf16_lengthEPKhS1_mmNS_12codecvt_modeE($2, $3, $4, 1114111, 0) | 0; +function __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm8EEixEm($this, $Index) { + $this = $this | 0; + $Index = $Index | 0; + return (__ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm8EE5beginEv($this) | 0) + ($Index << 2) | 0; +} + +function __ZNKSt3__29__num_getIwE10__do_widenERNS_8ios_baseEPw($this, $__iob, $__atoms) { + $this = $this | 0; + $__iob = $__iob | 0; + $__atoms = $__atoms | 0; + return __ZNKSt3__29__num_getIwE12__do_widen_pIwEEPKT_RNS_8ios_baseEPS3_($this, $__iob, $__atoms) | 0; +} + +function __ZNK12_GLOBAL__N_116itanium_demangle20TemplateArgumentPack9printLeftERNS_12OutputStreamE($this, $S) { + $this = $this | 0; + $S = $S | 0; + __ZNK12_GLOBAL__N_116itanium_demangle9NodeArray14printWithCommaERNS_12OutputStreamE($this + 8 | 0, $S); + return; +} + +function _ar2SetSimThresh($ar2Handle, $simThresh) { + $ar2Handle = $ar2Handle | 0; + $simThresh = +$simThresh; + var $retval$0 = 0; + if (!$ar2Handle) $retval$0 = -1; else { + HEAPF32[$ar2Handle + 40 >> 2] = $simThresh; + $retval$0 = 0; + } + return $retval$0 | 0; +} + +function __ZNSt3__214priority_queueIN6vision17PriorityQueueItemILi96EEENS_6vectorIS3_NS_9allocatorIS3_EEEENS_4lessIS3_EEED2Ev($this) { + $this = $this | 0; + __ZNSt3__213__vector_baseIN6vision17PriorityQueueItemILi96EEENS_9allocatorIS3_EEED2Ev($this); + return; } function dynCall_iiiiiii(index, a1, a2, a3, a4, a5, a6) { @@ -104835,188 +105988,227 @@ function dynCall_iiiiiii(index, a1, a2, a3, a4, a5, a6) { return FUNCTION_TABLE_iiiiiii[index & 63](a1 | 0, a2 | 0, a3 | 0, a4 | 0, a5 | 0, a6 | 0) | 0; } -function __ZNKSt3__27codecvtIDic11__mbstate_tE9do_lengthERS1_PKcS5_m($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - return __ZNSt3__2L19utf8_to_ucs4_lengthEPKhS1_mmNS_12codecvt_modeE($2, $3, $4, 1114111, 0) | 0; -} - -function __ZNK12_GLOBAL__N_116itanium_demangle8QualType19hasRHSComponentSlowERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return __ZNK12_GLOBAL__N_116itanium_demangle4Node15hasRHSComponentERNS_12OutputStreamE(HEAP32[$0 + 12 >> 2] | 0, $1) | 0; +function _icpSetInlierProbability($handle, $inlierProb) { + $handle = $handle | 0; + $inlierProb = +$inlierProb; + var $retval$0 = 0; + if (!$handle) $retval$0 = -1; else { + HEAPF64[$handle + 128 >> 3] = $inlierProb; + $retval$0 = 0; + } + return $retval$0 | 0; } -function __ZNSt3__26locale5__imp7installINS_9money_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEEEEEvPT_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - __ZNSt3__26locale5__imp7installEPNS0_5facetEl($0, $1, __ZNSt3__26locale2id5__getEv(66792) | 0); - return; +function _arSetImageProcMode($handle, $mode) { + $handle = $handle | 0; + $mode = $mode | 0; + var $retval$0 = 0; + if (($handle | 0) != 0 & $mode >>> 0 < 2) { + HEAP32[$handle + 20 >> 2] = $mode; + $retval$0 = 0; + } else $retval$0 = -1; + return $retval$0 | 0; } -function __ZNSt3__26locale5__imp7installINS_9money_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEEEEEvPT_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - __ZNSt3__26locale5__imp7installEPNS0_5facetEl($0, $1, __ZNSt3__26locale2id5__getEv(66784) | 0); - return; +function ___strdup($s) { + $s = $s | 0; + var $add = 0, $call1 = 0, $retval$0 = 0; + $add = (_strlen($s) | 0) + 1 | 0; + $call1 = _malloc($add) | 0; + if (!$call1) $retval$0 = 0; else $retval$0 = _memcpy($call1 | 0, $s | 0, $add | 0) | 0; + return $retval$0 | 0; } -function __ZNSt3__26locale5__imp7installINS_9money_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEEEEEvPT_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - __ZNSt3__26locale5__imp7installEPNS0_5facetEl($0, $1, __ZNSt3__26locale2id5__getEv(66776) | 0); - return; +function ___lctrans_impl($msg, $lm) { + $msg = $msg | 0; + $lm = $lm | 0; + var $trans$0 = 0; + if (!$lm) $trans$0 = 0; else $trans$0 = ___mo_lookup(HEAP32[$lm >> 2] | 0, HEAP32[$lm + 4 >> 2] | 0, $msg) | 0; + return (($trans$0 | 0) == 0 ? $msg : $trans$0) | 0; } -function __ZNSt3__26locale5__imp7installINS_9money_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEEEEvPT_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - __ZNSt3__26locale5__imp7installEPNS0_5facetEl($0, $1, __ZNSt3__26locale2id5__getEv(66768) | 0); +function __ZN6vision8KeyframeILi96EEC2Ev($this) { + $this = $this | 0; + HEAP32[$this >> 2] = 0; + HEAP32[$this + 4 >> 2] = 0; + __ZN6vision18BinaryFeatureStoreC2Ev($this + 8 | 0); + __ZN6vision28BinaryHierarchicalClusteringILi96EEC2Ev($this + 36 | 0); return; } -function _pntz($0) { - $0 = $0 | 0; - var $3 = 0, $7 = 0; - $3 = _a_ctz_l_730((HEAP32[$0 >> 2] | 0) + -1 | 0) | 0; - if (!$3) { - $7 = _a_ctz_l_730(HEAP32[$0 + 4 >> 2] | 0) | 0; - return (($7 | 0) == 0 ? 0 : $7 + 32 | 0) | 0; - } else return $3 | 0; - return 0; -} - -function __ZNSt3__26locale5__imp7installINS_8time_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEEEEEvPT_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - __ZNSt3__26locale5__imp7installEPNS0_5facetEl($0, $1, __ZNSt3__26locale2id5__getEv(66728) | 0); +function _fullsize_upsample($cinfo, $compptr, $input_data, $output_data_ptr) { + $cinfo = $cinfo | 0; + $compptr = $compptr | 0; + $input_data = $input_data | 0; + $output_data_ptr = $output_data_ptr | 0; + HEAP32[$output_data_ptr >> 2] = $input_data; return; } -function __ZNSt3__26locale5__imp7installINS_8time_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEEEEEvPT_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - __ZNSt3__26locale5__imp7installEPNS0_5facetEl($0, $1, __ZNSt3__26locale2id5__getEv(66720) | 0); - return; +function _arSetLabelingMode($handle, $mode) { + $handle = $handle | 0; + $mode = $mode | 0; + var $retval$0 = 0; + if (($handle | 0) != 0 & $mode >>> 0 < 2) { + HEAP32[$handle + 12 >> 2] = $mode; + $retval$0 = 0; + } else $retval$0 = -1; + return $retval$0 | 0; } -function __ZNSt3__26locale5__imp7installINS_8time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEEEEEvPT_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - __ZNSt3__26locale5__imp7installEPNS0_5facetEl($0, $1, __ZNSt3__26locale2id5__getEv(66712) | 0); +function __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EED2Ev($this) { + $this = $this | 0; + if (!(__ZNK12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE8isInlineEv($this) | 0)) _free(HEAP32[$this >> 2] | 0); return; } -function __ZNSt3__26locale5__imp7installINS_8time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEEEEvPT_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - __ZNSt3__26locale5__imp7installEPNS0_5facetEl($0, $1, __ZNSt3__26locale2id5__getEv(66644) | 0); +function __ZN10emscripten8internal7InvokerIvJiEE6invokeEPFviEi($fn, $args) { + $fn = $fn | 0; + $args = $args | 0; + var $call = 0; + $call = __ZN10emscripten8internal11BindingTypeIivE12fromWireTypeEi($args) | 0; + FUNCTION_TABLE_vi[$fn & 255]($call); return; } -function __ZNK12_GLOBAL__N_116itanium_demangle8QualType10printRightERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $3 = 0; - $3 = HEAP32[$0 + 12 >> 2] | 0; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$3 >> 2] | 0) + 20 >> 2] & 255]($3, $1); +function _self_destruct($cinfo) { + $cinfo = $cinfo | 0; + var $mem = 0; + _free_pool($cinfo, 1); + _free_pool($cinfo, 0); + $mem = $cinfo + 4 | 0; + _jpeg_free_small($cinfo, HEAP32[$mem >> 2] | 0, 84); + HEAP32[$mem >> 2] = 0; + _jpeg_mem_term($cinfo); return; } -function __ZN6vision18BinaryFeatureStoreC2Ev($0) { - $0 = $0 | 0; - HEAP32[$0 >> 2] = 0; - HEAP32[$0 + 4 >> 2] = 0; - HEAP32[$0 + 8 >> 2] = 0; - HEAP32[$0 + 12 >> 2] = 0; - HEAP32[$0 + 16 >> 2] = 0; - HEAP32[$0 + 20 >> 2] = 0; - HEAP32[$0 + 24 >> 2] = 0; - return; +function ___wasi_syscall_ret($code) { + $code = $code | 0; + var $call = 0, $retval$0 = 0; + if (!($code << 16 >> 16)) $retval$0 = 0; else { + $call = ___errno_location() | 0; + HEAP32[$call >> 2] = $code & 65535; + $retval$0 = -1; + } + return $retval$0 | 0; } -function __ZN10emscripten8internal7InvokerIvJiEE6invokeEPFviEi($fn, $args) { - $fn = $fn | 0; - $args = $args | 0; +function __ZNSt3__26__clocEv() { var $call = 0; - $call = __ZN10emscripten8internal11BindingTypeIivE12fromWireTypeEi($args) | 0; - FUNCTION_TABLE_vi[$fn & 255]($call); - return; + if ((HEAP8[65424] | 0) == 0 ? ___cxa_guard_acquire(65424) | 0 : 0) { + $call = ___newlocale(2147483647, 59813, 0) | 0; + HEAP32[16842] = $call; + ___cxa_guard_release(65424); + } + return HEAP32[16842] | 0; } -function __ZNSt3__26locale5__imp7installINS_7num_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEEEEEvPT_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - __ZNSt3__26locale5__imp7installEPNS0_5facetEl($0, $1, __ZNSt3__26locale2id5__getEv(66576) | 0); - return; +function __ZNK12_GLOBAL__N_116itanium_demangle8QualType12hasArraySlowERNS_12OutputStreamE($this, $S) { + $this = $this | 0; + $S = $S | 0; + return __ZNK12_GLOBAL__N_116itanium_demangle4Node8hasArrayERNS_12OutputStreamE(HEAP32[$this + 12 >> 2] | 0, $S) | 0; } -function __ZNSt3__26locale5__imp7installINS_7num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEEEEEvPT_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - __ZNSt3__26locale5__imp7installEPNS0_5facetEl($0, $1, __ZNSt3__26locale2id5__getEv(66568) | 0); - return; +function __ZNSt3__211char_traitsIwE4moveEPwPKwm($__s1, $__s2, $__n) { + $__s1 = $__s1 | 0; + $__s2 = $__s2 | 0; + $__n = $__n | 0; + var $cond = 0; + if (!$__n) $cond = $__s1; else { + _wmemmove($__s1, $__s2, $__n) | 0; + $cond = $__s1; + } + return $cond | 0; } -function __ZNSt3__26locale5__imp7installINS_7num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEEEEEvPT_($0, $1) { +function __ZNK10__cxxabiv123__fundamental_type_info9can_catchEPKNS_16__shim_type_infoERPv($this, $thrown_type, $0) { + $this = $this | 0; + $thrown_type = $thrown_type | 0; $0 = $0 | 0; - $1 = $1 | 0; - __ZNSt3__26locale5__imp7installEPNS0_5facetEl($0, $1, __ZNSt3__26locale2id5__getEv(66560) | 0); + return __ZL8is_equalPKSt9type_infoS1_b($this, $thrown_type, 0) | 0; +} + +function __ZN6vision20VisualDatabaseFacade9matchedIdEv($this) { + $this = $this | 0; + return __ZNK6vision14VisualDatabaseINS_14FREAKExtractorENS_18BinaryFeatureStoreENS_20BinaryFeatureMatcherILi96EEEE9matchedIdEv(HEAP32[HEAP32[$this >> 2] >> 2] | 0) | 0; +} + +function __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm8EED2Ev($this) { + $this = $this | 0; + if (!(__ZNK12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm8EE8isInlineEv($this) | 0)) _free(HEAP32[$this >> 2] | 0); return; } -function __ZNSt3__26locale5__imp7installINS_7num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEEEEvPT_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - __ZNSt3__26locale5__imp7installEPNS0_5facetEl($0, $1, __ZNSt3__26locale2id5__getEv(66536) | 0); +function __ZNSt3__220__shared_ptr_pointerIPN6vision8KeyframeILi96EEENS_14default_deleteIS3_EENS_9allocatorIS3_EEE21__on_zero_shared_weakEv($this) { + $this = $this | 0; + __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($this, 16); return; } -function __ZN6vision22bilinear_interpolationIfEET_PKS1_mmmff($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = +$4; - $5 = +$5; - return +(+__ZN6vision22bilinear_interpolationIffEET0_PKT_mmmff($0, $1, $2, $3, $4, $5)); +function __ZNSt3__211char_traitsIwE4copyEPwPKwm($__s1, $__s2, $__n) { + $__s1 = $__s1 | 0; + $__s2 = $__s2 | 0; + $__n = $__n | 0; + var $cond = 0; + if (!$__n) $cond = $__s1; else { + _wmemcpy($__s1, $__s2, $__n) | 0; + $cond = $__s1; + } + return $cond | 0; } -function __ZNSt3__211char_traitsIwE7not_eofEj($0) { - $0 = $0 | 0; - var $5 = 0; - if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj($0, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) $5 = ~(__ZNSt3__211char_traitsIwE3eofEv() | 0); else $5 = $0; - return $5 | 0; +function __ZNSt3__211char_traitsIcE6assignEPcmc($__s, $__n, $__a) { + $__s = $__s | 0; + $__n = $__n | 0; + $__a = $__a | 0; + if ($__n | 0) _memset($__s | 0, (__ZNSt3__211char_traitsIcE11to_int_typeEc($__a) | 0) & 255 | 0, $__n | 0) | 0; + return $__s | 0; } -function __ZNSt3__211char_traitsIcE7not_eofEi($0) { - $0 = $0 | 0; - var $5 = 0; - if (__ZNSt3__211char_traitsIcE11eq_int_typeEii($0, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) $5 = ~(__ZNSt3__211char_traitsIcE3eofEv() | 0); else $5 = $0; - return $5 | 0; +function __ZNK6vision9Exception4whatEv($this) { + $this = $this | 0; + var $cond$i$i$i = 0, $mStr = 0; + $mStr = $this + 4 | 0; + if ((HEAP8[$mStr + 11 >> 0] | 0) < 0) $cond$i$i$i = HEAP32[$mStr >> 2] | 0; else $cond$i$i$i = $mStr; + return $cond$i$i$i | 0; } -function __ZNK12_GLOBAL__N_116itanium_demangle9ArrayType9printLeftERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $3 = 0; - $3 = HEAP32[$0 + 8 >> 2] | 0; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$3 >> 2] | 0) + 16 >> 2] & 255]($3, $1); +function __ZNK12_GLOBAL__N_116itanium_demangle13NodeArrayNode9printLeftERNS_12OutputStreamE($this, $S) { + $this = $this | 0; + $S = $S | 0; + __ZNK12_GLOBAL__N_116itanium_demangle9NodeArray14printWithCommaERNS_12OutputStreamE($this + 8 | 0, $S); return; } -function __ZN12_GLOBAL__N_116itanium_demangle8BoolExprC2Eb($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - __ZN12_GLOBAL__N_116itanium_demangle4NodeC2ENS1_4KindENS1_5CacheES3_S3_($0, 59, 1, 1, 1); - HEAP32[$0 >> 2] = 18132; - HEAP8[$0 + 8 >> 0] = $1 & 1; +function __ZN6vision28BinaryHierarchicalClusteringILi96EE10nextNodeIdEv($this) { + $this = $this | 0; + var $0 = 0, $mNextNodeId = 0; + $mNextNodeId = $this + 4 | 0; + $0 = HEAP32[$mNextNodeId >> 2] | 0; + HEAP32[$mNextNodeId >> 2] = $0 + 1; + return $0 | 0; +} + +function __ZN6vision11CopyVector2IfEEvPT_PKS1_($dst, $src) { + $dst = $dst | 0; + $src = $src | 0; + var $0 = 0, $5 = 0, $6 = 0; + $0 = $src; + $5 = HEAP32[$0 + 4 >> 2] | 0; + $6 = $dst; + HEAP32[$6 >> 2] = HEAP32[$0 >> 2]; + HEAP32[$6 + 4 >> 2] = $5; return; } +function __ZNKSt3__29__num_getIcE10__do_widenERNS_8ios_baseEPc($this, $__iob, $__atoms) { + $this = $this | 0; + $__iob = $__iob | 0; + $__atoms = $__atoms | 0; + return __ZNKSt3__29__num_getIcE12__do_widen_pERNS_8ios_baseEPc($this, $__iob, $__atoms) | 0; +} + function dynCall_iiiiiid(index, a1, a2, a3, a4, a5, a6) { index = index | 0; a1 = a1 | 0; @@ -105039,77 +106231,26 @@ function dynCall_iidiiii(index, a1, a2, a3, a4, a5, a6) { return FUNCTION_TABLE_iidiiii[index & 1](a1 | 0, +a2, a3 | 0, a4 | 0, a5 | 0, a6 | 0) | 0; } -function ___ofl_add($0) { - $0 = $0 | 0; - var $1 = 0, $4 = 0; - $1 = ___ofl_lock() | 0; - HEAP32[$0 + 56 >> 2] = HEAP32[$1 >> 2]; - $4 = HEAP32[$1 >> 2] | 0; - if ($4 | 0) HEAP32[$4 + 52 >> 2] = $0; - HEAP32[$1 >> 2] = $0; - ___ofl_unlock(); - return $0 | 0; -} - -function __ZNKSt3__220__shared_ptr_pointerIPN6vision8KeyframeILi96EEENS_14default_deleteIS3_EENS_9allocatorIS3_EEE13__get_deleterERKSt9type_info($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return ((HEAP32[$1 + 4 >> 2] | 0) == 34519 ? $0 + 12 | 0 : 0) | 0; -} - -function __ZNK12_GLOBAL__N_116itanium_demangle20NameWithTemplateArgs11getBaseNameEv($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $3 = 0; - $3 = HEAP32[$1 + 8 >> 2] | 0; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$3 >> 2] | 0) + 24 >> 2] & 255]($0, $3); - return; -} - -function __ZNK12_GLOBAL__N_116itanium_demangle8QualType15hasFunctionSlowERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return __ZNK12_GLOBAL__N_116itanium_demangle4Node11hasFunctionERNS_12OutputStreamE(HEAP32[$0 + 12 >> 2] | 0, $1) | 0; -} - -function __ZNK12_GLOBAL__N_116itanium_demangle19GlobalQualifiedName11getBaseNameEv($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $3 = 0; - $3 = HEAP32[$1 + 8 >> 2] | 0; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$3 >> 2] | 0) + 24 >> 2] & 255]($0, $3); - return; -} - -function __ZNK12_GLOBAL__N_116itanium_demangle20TemplateArgumentPack9printLeftERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - __ZNK12_GLOBAL__N_116itanium_demangle9NodeArray14printWithCommaERNS_12OutputStreamE($0 + 8 | 0, $1); - return; -} - -function __ZNSt3__214priority_queueIN6vision17PriorityQueueItemILi96EEENS_6vectorIS3_NS_9allocatorIS3_EEEENS_4lessIS3_EEED2Ev($0) { - $0 = $0 | 0; - __ZNSt3__213__vector_baseIN6vision17PriorityQueueItemILi96EEENS_9allocatorIS3_EEED2Ev($0); - return; +function __ZNK6vision20VisualDatabaseFacade7inliersEv($this) { + $this = $this | 0; + return __ZNK6vision14VisualDatabaseINS_14FREAKExtractorENS_18BinaryFeatureStoreENS_20BinaryFeatureMatcherILi96EEEE7inliersEv(HEAP32[HEAP32[$this >> 2] >> 2] | 0) | 0; } -function __ZNK12_GLOBAL__N_116itanium_demangle16StdQualifiedName11getBaseNameEv($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $3 = 0; - $3 = HEAP32[$1 + 8 >> 2] | 0; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$3 >> 2] | 0) + 24 >> 2] & 255]($0, $3); - return; +function _arGetPatternDetectionMode($handle, $mode) { + $handle = $handle | 0; + $mode = $mode | 0; + var $retval$0 = 0; + if (!$handle) $retval$0 = -1; else { + HEAP32[$mode >> 2] = HEAP32[$handle + 24 >> 2]; + $retval$0 = 0; + } + return $retval$0 | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_24ForwardTemplateReferenceELm4EEC2Ev($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = $0 + 12 | 0; - HEAP32[$0 >> 2] = $1; - HEAP32[$0 + 4 >> 2] = $1; - HEAP32[$0 + 8 >> 2] = $0 + 28; +function __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_24ForwardTemplateReferenceELm4EE8dropBackEm($this, $Index) { + $this = $this | 0; + $Index = $Index | 0; + HEAP32[$this + 4 >> 2] = (HEAP32[$this >> 2] | 0) + ($Index << 2); return; } @@ -105124,61 +106265,41 @@ function dynCall_viiiiii(index, a1, a2, a3, a4, a5, a6) { FUNCTION_TABLE_viiiiii[index & 7](a1 | 0, a2 | 0, a3 | 0, a4 | 0, a5 | 0, a6 | 0); } +function __ZSt11__terminatePFvvE($func) { + $func = $func | 0; + var sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + FUNCTION_TABLE_v[$func & 3](); + _abort_message(51961, sp); +} + function __ZNSt3__26locale8__globalEv() { - if ((HEAP8[65224] | 0) == 0 ? ___cxa_guard_acquire(65224) | 0 : 0) { + if ((HEAP8[66072] | 0) == 0 ? ___cxa_guard_acquire(66072) | 0 : 0) { __ZNSt3__26locale5__imp11make_globalEv() | 0; - HEAP32[16715] = 66856; - ___cxa_guard_release(65224); + HEAP32[16927] = 67704; + ___cxa_guard_release(66072); } - return HEAP32[16715] | 0; + return HEAP32[16927] | 0; } function __ZNSt3__26locale7classicEv() { - if ((HEAP8[65056] | 0) == 0 ? ___cxa_guard_acquire(65056) | 0 : 0) { + if ((HEAP8[65904] | 0) == 0 ? ___cxa_guard_acquire(65904) | 0 : 0) { __ZNSt3__26locale5__imp12make_classicEv() | 0; - HEAP32[16713] = 66848; - ___cxa_guard_release(65056); - } - return HEAP32[16713] | 0; -} - -function __ZNSt3__26__clocEv() { - var $4 = 0; - if ((HEAP8[64576] | 0) == 0 ? ___cxa_guard_acquire(64576) | 0 : 0) { - $4 = ___newlocale(2147483647, 58971, 0) | 0; - HEAP32[16630] = $4; - ___cxa_guard_release(64576); + HEAP32[16925] = 67696; + ___cxa_guard_release(65904); } - return HEAP32[16630] | 0; -} - -function __ZL8is_equalPKSt9type_infoS1_b($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$0 = 0; - if ($2) $$0 = (_strcmp(HEAP32[$0 + 4 >> 2] | 0, HEAP32[$1 + 4 >> 2] | 0) | 0) == 0; else $$0 = ($0 | 0) == ($1 | 0); - return $$0 | 0; -} - -function __ZNSt3__26localeC2Ev($0) { - $0 = $0 | 0; - var $1 = 0, $2 = 0, $3 = 0; - $1 = __ZNSt3__26locale8__globalEv() | 0; - $2 = HEAP32[$1 >> 2] | 0; - HEAP32[$0 >> 2] = $2; - $3 = $2 + 4 | 0; - HEAP32[$3 >> 2] = (HEAP32[$3 >> 2] | 0) + 1; - return; + return HEAP32[16925] | 0; } -function __ZNK12_GLOBAL__N_116itanium_demangle13QualifiedName11getBaseNameEv($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $3 = 0; - $3 = HEAP32[$1 + 12 >> 2] | 0; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$3 >> 2] | 0) + 24 >> 2] & 255]($0, $3); - return; +function __ZN6vision10ClipScalarIfEET_S1_S1_S1_($x, $min, $max) { + $x = +$x; + $min = +$min; + $max = +$max; + var $x$addr$0 = 0.0; + if (!($x < $min)) if ($x > $max) $x$addr$0 = $max; else $x$addr$0 = $x; else $x$addr$0 = $min; + return +$x$addr$0; } function __ZN10emscripten8internal6TypeIDINSt3__212basic_stringIwNS2_11char_traitsIwEENS2_9allocatorIwEEEEvE3getEv() { @@ -105193,1089 +106314,916 @@ function __ZN10emscripten8internal6TypeIDINSt3__212basic_stringIcNS2_11char_trai return __ZN10emscripten8internal11LightTypeIDINSt3__212basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEE3getEv() | 0; } -function ___uselocale($0) { - $0 = $0 | 0; - var $2 = 0, $3 = 0; - $2 = (___pthread_self_234() | 0) + 188 | 0; - $3 = HEAP32[$2 >> 2] | 0; - if ($0 | 0) HEAP32[$2 >> 2] = ($0 | 0) == (-1 | 0) ? 65348 : $0; - return (($3 | 0) == 65348 ? -1 : $3) | 0; +function __ZNK12_GLOBAL__N_112OutputStream4backEv($this) { + $this = $this | 0; + var $0 = 0, $cond = 0; + $0 = HEAP32[$this + 4 >> 2] | 0; + if (!$0) $cond = 0; else $cond = HEAP8[(HEAP32[$this >> 2] | 0) + ($0 + -1) >> 0] | 0; + return $cond | 0; } -function __ZN6vision10SubVector2IfEEvPT_PKS1_S4_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - HEAPF32[$0 >> 2] = +HEAPF32[$1 >> 2] - +HEAPF32[$2 >> 2]; - HEAPF32[$0 + 4 >> 2] = +HEAPF32[$1 + 4 >> 2] - +HEAPF32[$2 + 4 >> 2]; +function __ZN6vision10SubVector2IfEEvPT_PKS1_S4_($c, $a, $b) { + $c = $c | 0; + $a = $a | 0; + $b = $b | 0; + HEAPF32[$c >> 2] = +HEAPF32[$a >> 2] - +HEAPF32[$b >> 2]; + HEAPF32[$c + 4 >> 2] = +HEAPF32[$a + 4 >> 2] - +HEAPF32[$b + 4 >> 2]; return; } -function __ZNK12_GLOBAL__N_116itanium_demangle8QualType12hasArraySlowERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return __ZNK12_GLOBAL__N_116itanium_demangle4Node8hasArrayERNS_12OutputStreamE(HEAP32[$0 + 12 >> 2] | 0, $1) | 0; +function __ZNSt3__25ctypeIcED2Ev($this) { + $this = $this | 0; + var $0 = 0; + HEAP32[$this >> 2] = 23308; + $0 = HEAP32[$this + 8 >> 2] | 0; + if ($0 | 0 ? HEAP8[$this + 12 >> 0] | 0 : 0) __ZdaPv($0); + __ZNSt3__26locale5facetD2Ev($this); + return; } -function __ZN6vision22QuadraticCriticalPointIfEEbRT_S1_S1_S1_($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = +$1; - $2 = +$2; - $3 = +$3; - var $$0 = 0; - if ($1 == 0.0) $$0 = 0; else { - HEAPF32[$0 >> 2] = -$2 / ($1 * 2.0); - $$0 = 1; +function __ZNSt3__211char_traitsIwE6assignEPwmw($__s, $__n, $__a) { + $__s = $__s | 0; + $__n = $__n | 0; + $__a = $__a | 0; + var $cond = 0; + if (!$__n) $cond = $__s; else { + _wmemset($__s, $__a, $__n) | 0; + $cond = $__s; } - return $$0 | 0; + return $cond | 0; } -function __ZNK12_GLOBAL__N_116itanium_demangle10NestedName11getBaseNameEv($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $3 = 0; - $3 = HEAP32[$1 + 12 >> 2] | 0; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[$3 >> 2] | 0) + 24 >> 2] & 255]($0, $3); - return; +function __ZNKSt3__220__shared_ptr_pointerIPhNS_14default_deleteIhEENS_9allocatorIhEEE13__get_deleterERKSt9type_info($this, $__t) { + $this = $this | 0; + $__t = $__t | 0; + return ((HEAP32[$__t + 4 >> 2] | 0) == 39427 ? $this + 12 | 0 : 0) | 0; } -function __ZN6vision20VisualDatabaseFacade9matchedIdEv($0) { - $0 = $0 | 0; - return __ZNK6vision14VisualDatabaseINS_14FREAKExtractorENS_18BinaryFeatureStoreENS_20BinaryFeatureMatcherILi96EEEE9matchedIdEv(HEAP32[HEAP32[$0 >> 2] >> 2] | 0) | 0; +function _noop_upsample($cinfo, $compptr, $input_data, $output_data_ptr) { + $cinfo = $cinfo | 0; + $compptr = $compptr | 0; + $input_data = $input_data | 0; + $output_data_ptr = $output_data_ptr | 0; + HEAP32[$output_data_ptr >> 2] = 0; + return; } -function __ZNSt3__220__shared_ptr_pointerIPN6vision8KeyframeILi96EEENS_14default_deleteIS3_EENS_9allocatorIS3_EEE21__on_zero_shared_weakEv($0) { - $0 = $0 | 0; - __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($0, 16); +function _byteSwapDouble($from, $to) { + $from = $from | 0; + $to = $to | 0; + var $i$0 = 0; + $i$0 = 0; + while (1) { + if (($i$0 | 0) == 8) break; + HEAP8[$to + $i$0 >> 0] = HEAP8[$from + (7 - $i$0) >> 0] | 0; + $i$0 = $i$0 + 1 | 0; + } return; } -function __ZNK12_GLOBAL__N_116itanium_demangle13NodeArrayNode9printLeftERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - __ZNK12_GLOBAL__N_116itanium_demangle9NodeArray14printWithCommaERNS_12OutputStreamE($0 + 8 | 0, $1); - return; +function _arGetImageProcMode($handle, $mode) { + $handle = $handle | 0; + $mode = $mode | 0; + var $retval$0 = 0; + if (!$handle) $retval$0 = -1; else { + HEAP32[$mode >> 2] = HEAP32[$handle + 20 >> 2]; + $retval$0 = 0; + } + return $retval$0 | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EED2Ev($0) { - $0 = $0 | 0; - if (!(__ZNK12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE8isInlineEv($0) | 0)) _free(HEAP32[$0 >> 2] | 0); +function __ZN6vision18BinaryFeatureStoreD2Ev($this) { + $this = $this | 0; + __ZNSt3__213__vector_baseIN6vision12FeaturePointENS_9allocatorIS2_EEED2Ev($this + 16 | 0); + __ZNSt3__213__vector_baseIhNS_9allocatorIhEEED2Ev($this + 4 | 0); return; } -function __ZNK6vision20VisualDatabaseFacade7inliersEv($0) { - $0 = $0 | 0; - return __ZNK6vision14VisualDatabaseINS_14FREAKExtractorENS_18BinaryFeatureStoreENS_20BinaryFeatureMatcherILi96EEEE7inliersEv(HEAP32[HEAP32[$0 >> 2] >> 2] | 0) | 0; +function __ZNKSt3__220__shared_ptr_pointerIPh16NullArrayDeleterIhENS_9allocatorIhEEE13__get_deleterERKSt9type_info($this, $__t) { + $this = $this | 0; + $__t = $__t | 0; + return ((HEAP32[$__t + 4 >> 2] | 0) == 39549 ? $this + 12 | 0 : 0) | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm8EED2Ev($0) { - $0 = $0 | 0; - if (!(__ZNK12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm8EE8isInlineEv($0) | 0)) _free(HEAP32[$0 >> 2] | 0); +function _pop_arg_long_double($arg, $ap) { + $arg = $arg | 0; + $ap = $ap | 0; + var $5 = 0, $6 = 0.0; + $5 = (HEAP32[$ap >> 2] | 0) + (8 - 1) & ~(8 - 1); + $6 = +HEAPF64[$5 >> 3]; + HEAP32[$ap >> 2] = $5 + 8; + HEAPF64[$arg >> 3] = $6; return; } -function __ZN6vision10FastMedianIfiEENSt3__24pairIT_T0_EEPS5_i($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - __ZN6vision11PartialSortIfiEENSt3__24pairIT_T0_EEPS5_ii($0, $1, $2, ($2 & 1) + -1 + (($2 | 0) / 2 | 0) | 0); +function _byteSwapInt($from, $to) { + $from = $from | 0; + $to = $to | 0; + var $i$0 = 0; + $i$0 = 0; + while (1) { + if (($i$0 | 0) == 4) break; + HEAP8[$to + $i$0 >> 0] = HEAP8[$from + (3 - $i$0) >> 0] | 0; + $i$0 = $i$0 + 1 | 0; + } return; } -function __ZNKSt3__27codecvtIcc11__mbstate_tE9do_lengthERS1_PKcS5_m($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $7 = 0; - $7 = $3 - $2 | 0; - return ($7 >>> 0 < $4 >>> 0 ? $7 : $4) | 0; +function _jcopy_block_row($input_row, $output_row, $num_blocks) { + $input_row = $input_row | 0; + $output_row = $output_row | 0; + $num_blocks = $num_blocks | 0; + _memcpy($output_row | 0, $input_row | 0, $num_blocks << 7 | 0) | 0; + return; } -function __ZN6vision11CopyVector2IfEEvPT_PKS1_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $7 = 0, $8 = 0; - $2 = $1; - $7 = HEAP32[$2 + 4 >> 2] | 0; - $8 = $0; - HEAP32[$8 >> 2] = HEAP32[$2 >> 2]; - HEAP32[$8 + 4 >> 2] = $7; - return; +function _icpDeleteHandle($handle) { + $handle = $handle | 0; + var $0 = 0, $retval$0 = 0; + $0 = HEAP32[$handle >> 2] | 0; + if (!$0) $retval$0 = -1; else { + _free($0); + HEAP32[$handle >> 2] = 0; + $retval$0 = 0; + } + return $retval$0 | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm8EE11clearInlineEv($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = $0 + 12 | 0; - HEAP32[$0 >> 2] = $1; - HEAP32[$0 + 4 >> 2] = $1; - HEAP32[$0 + 8 >> 2] = $0 + 44; +function __ZN6vision21OrientationAssignmentD2Ev($this) { + $this = $this | 0; + __ZNSt3__213__vector_baseIN6vision5ImageENS_9allocatorIS2_EEED2Ev($this + 40 | 0); + __ZNSt3__213__vector_baseIfNS_9allocatorIfEEED2Ev($this + 28 | 0); return; } -function __ZN6vision8KeyframeILi96EEC2Ev($0) { - $0 = $0 | 0; - HEAP32[$0 >> 2] = 0; - HEAP32[$0 + 4 >> 2] = 0; - __ZN6vision18BinaryFeatureStoreC2Ev($0 + 8 | 0); - __ZN6vision28BinaryHierarchicalClusteringILi96EEC2Ev($0 + 36 | 0); - return; +function ___syscall_ret($r) { + $r = $r | 0; + var $call = 0, $retval$0 = 0; + if ($r >>> 0 > 4294963200) { + $call = ___errno_location() | 0; + HEAP32[$call >> 2] = 0 - $r; + $retval$0 = -1; + } else $retval$0 = $r; + return $retval$0 | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EEixEm($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return (__ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE5beginEv($0) | 0) + ($1 << 2) | 0; +function __ZN6vision21HoughSimilarityVoting21setRefImageDimensionsEii($this, $width, $height) { + $this = $this | 0; + $width = $width | 0; + $height = $height | 0; + HEAP32[$this >> 2] = $width; + HEAP32[$this + 4 >> 2] = $height; + return; } -function _kpmGetResult($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $$0 = 0; - if (!$0) $$0 = -1; else { - HEAP32[$1 >> 2] = HEAP32[$0 + 52 >> 2]; - HEAP32[$2 >> 2] = HEAP32[$0 + 56 >> 2]; - $$0 = 0; - } - return $$0 | 0; +function __ZN6vision10CauchyCostIfEET_PKS1_S1_($x, $one_over_scale2) { + $x = $x | 0; + $one_over_scale2 = +$one_over_scale2; + return +(+__ZN6vision10CauchyCostIfEET_S1_S1_S1_(+HEAPF32[$x >> 2], +HEAPF32[$x + 4 >> 2], $one_over_scale2)); } -function _ar3DDeleteHandle($0) { - $0 = $0 | 0; - var $$0 = 0, $1 = 0; - $1 = HEAP32[$0 >> 2] | 0; - if (!$1) $$0 = -1; else { - _icpDeleteHandle($1) | 0; - _free(HEAP32[$0 >> 2] | 0); - HEAP32[$0 >> 2] = 0; - $$0 = 0; +function _arSetMatrixCodeType($handle, $type) { + $handle = $handle | 0; + $type = $type | 0; + var $retval$0 = 0; + if (!$handle) $retval$0 = -1; else { + HEAP32[$handle + 7062424 >> 2] = $type; + $retval$0 = 0; } - return $$0 | 0; + return $retval$0 | 0; } -function __ZN12_GLOBAL__N_114SwapAndRestoreIPKcEC2ERS2_S2_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - HEAP32[$0 >> 2] = $1; - HEAP32[$0 + 4 >> 2] = HEAP32[$1 >> 2]; - HEAP8[$0 + 8 >> 0] = 1; - HEAP32[$1 >> 2] = $2; +function __ZNKSt3__28numpunctIwE11do_groupingEv($agg$result, $this) { + $agg$result = $agg$result | 0; + $this = $this | 0; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC2ERKS5_($agg$result, $this + 16 | 0); return; } -function __ZSt11__terminatePFvvE($0) { - $0 = $0 | 0; - var sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - FUNCTION_TABLE_v[$0 & 3](); - _abort_message(51119, sp); -} - -function __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm8EEixEm($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return (__ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm8EE5beginEv($0) | 0) + ($1 << 2) | 0; +function __ZNKSt3__28numpunctIcE11do_groupingEv($agg$result, $this) { + $agg$result = $agg$result | 0; + $this = $this | 0; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC2ERKS5_($agg$result, $this + 12 | 0); + return; } -function __ZN12_GLOBAL__N_114SwapAndRestoreIbEC2ERbb($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - HEAP32[$0 >> 2] = $1; - HEAP8[$0 + 4 >> 0] = HEAP8[$1 >> 0] | 0; - HEAP8[$0 + 5 >> 0] = 1; - HEAP8[$1 >> 0] = $2 & 1; +function __ZN12_GLOBAL__N_110StringViewC2EPKc($this, $Str) { + $this = $this | 0; + $Str = $Str | 0; + var $add$ptr = 0; + HEAP32[$this >> 2] = $Str; + $add$ptr = $Str + (_strlen($Str) | 0) | 0; + HEAP32[$this + 4 >> 2] = $add$ptr; return; } -function _arPattAttach($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0, $3 = 0; - if (($0 | 0) != 0 ? ($3 = $0 + 7062384 | 0, (HEAP32[$3 >> 2] | 0) == 0) : 0) { - HEAP32[$3 >> 2] = $1; - $$0 = 0; - } else $$0 = -1; - return $$0 | 0; +function __ZNSt3__26locale5__imp7installINS_7codecvtIDsc11__mbstate_tEEEEvPT_($this, $f) { + $this = $this | 0; + $f = $f | 0; + __ZNSt3__26locale5__imp7installEPNS0_5facetEl($this, $f, __ZNSt3__26locale2id5__getEv(67680) | 0); + return; } -function _jpeg_destroy($0) { - $0 = $0 | 0; - var $1 = 0, $2 = 0; - $1 = $0 + 4 | 0; - $2 = HEAP32[$1 >> 2] | 0; - if ($2 | 0) FUNCTION_TABLE_vi[HEAP32[$2 + 40 >> 2] & 255]($0); - HEAP32[$1 >> 2] = 0; - HEAP32[$0 + 20 >> 2] = 0; +function __ZNSt3__26locale5__imp7installINS_7codecvtIDic11__mbstate_tEEEEvPT_($this, $f) { + $this = $this | 0; + $f = $f | 0; + __ZNSt3__26locale5__imp7installEPNS0_5facetEl($this, $f, __ZNSt3__26locale2id5__getEv(67688) | 0); return; } -function dynCall_iiiiii(index, a1, a2, a3, a4, a5) { - index = index | 0; - a1 = a1 | 0; - a2 = a2 | 0; - a3 = a3 | 0; - a4 = a4 | 0; - a5 = a5 | 0; - return FUNCTION_TABLE_iiiiii[index & 31](a1 | 0, a2 | 0, a3 | 0, a4 | 0, a5 | 0) | 0; -} -function stackAlloc(size) { - size = size | 0; - var ret = 0; - ret = STACKTOP; - STACKTOP = STACKTOP + size | 0; - STACKTOP = STACKTOP + 15 & -16; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(size | 0); - return ret | 0; +function __ZNSt3__213basic_ostreamIwNS_11char_traitsIwEEED1Ev($this) { + $this = $this | 0; + __ZNSt3__213basic_ostreamIwNS_11char_traitsIwEEED2Ev($this, 20872); + __ZNSt3__29basic_iosIwNS_11char_traitsIwEEED2Ev($this + 4 | 0); + return; } -function __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EEC2Ev($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = $0 + 12 | 0; - HEAP32[$0 >> 2] = $1; - HEAP32[$0 + 4 >> 2] = $1; - HEAP32[$0 + 8 >> 2] = $0 + 140; +function __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEED1Ev($this) { + $this = $this | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEED2Ev($this, 20824); + __ZNSt3__29basic_iosIcNS_11char_traitsIcEEED2Ev($this + 4 | 0); return; } -function __ZNSt3__27codecvtIwc11__mbstate_tEC2Em($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $5 = 0; - HEAP32[$0 + 4 >> 2] = $1 + -1; - HEAP32[$0 >> 2] = 23240; - $5 = __ZNSt3__26__clocEv() | 0; - HEAP32[$0 + 8 >> 2] = $5; +function __ZNSt3__213basic_istreamIwNS_11char_traitsIwEEED1Ev($this) { + $this = $this | 0; + __ZNSt3__213basic_istreamIwNS_11char_traitsIwEEED2Ev($this, 20776); + __ZNSt3__29basic_iosIwNS_11char_traitsIwEEED2Ev($this + 8 | 0); return; } -function __ZN6vision18BinaryFeatureStoreD2Ev($0) { - $0 = $0 | 0; - __ZNSt3__213__vector_baseIN6vision12FeaturePointENS_9allocatorIS2_EEED2Ev($0 + 16 | 0); - __ZNSt3__213__vector_baseIhNS_9allocatorIhEEED2Ev($0 + 4 | 0); +function __ZNSt3__213basic_istreamIcNS_11char_traitsIcEEED1Ev($this) { + $this = $this | 0; + __ZNSt3__213basic_istreamIcNS_11char_traitsIcEEED2Ev($this, 20728); + __ZNSt3__29basic_iosIcNS_11char_traitsIcEEED2Ev($this + 8 | 0); return; } -function _pop_arg_long_double($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $7 = 0, $8 = 0.0; - $7 = (HEAP32[$1 >> 2] | 0) + (8 - 1) & ~(8 - 1); - $8 = +HEAPF64[$7 >> 3]; - HEAP32[$1 >> 2] = $7 + 8; - HEAPF64[$0 >> 3] = $8; +function __ZNSt3__26locale5__imp7installINS_7codecvtIwc11__mbstate_tEEEEvPT_($this, $f) { + $this = $this | 0; + $f = $f | 0; + __ZNSt3__26locale5__imp7installEPNS0_5facetEl($this, $f, __ZNSt3__26locale2id5__getEv(67672) | 0); return; } -function __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm8EEC2Ev($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = $0 + 12 | 0; - HEAP32[$0 >> 2] = $1; - HEAP32[$0 + 4 >> 2] = $1; - HEAP32[$0 + 8 >> 2] = $0 + 44; +function __ZNSt3__26locale5__imp7installINS_7codecvtIcc11__mbstate_tEEEEvPT_($this, $f) { + $this = $this | 0; + $f = $f | 0; + __ZNSt3__26locale5__imp7installEPNS0_5facetEl($this, $f, __ZNSt3__26locale2id5__getEv(67664) | 0); return; } -function __ZNSt3__211char_traitsIcE6assignEPcmc($0, $1, $2) { +function __ZNKSt3__27codecvtIDsc11__mbstate_tE10do_unshiftERS1_PcS4_RS4_($this, $0, $to, $1, $to_nxt) { + $this = $this | 0; $0 = $0 | 0; + $to = $to | 0; $1 = $1 | 0; - $2 = $2 | 0; - if ($1 | 0) _memset($0 | 0, (__ZNSt3__211char_traitsIcE11to_int_typeEc($2) | 0) & 255 | 0, $1 | 0) | 0; - return $0 | 0; + $to_nxt = $to_nxt | 0; + HEAP32[$to_nxt >> 2] = $to; + return 3; } -function __ZNSt3__220__shared_ptr_pointerIPh16NullArrayDeleterIhENS_9allocatorIhEEE16__on_zero_sharedEv($0) { +function __ZNKSt3__27codecvtIDic11__mbstate_tE10do_unshiftERS1_PcS4_RS4_($this, $0, $to, $1, $to_nxt) { + $this = $this | 0; $0 = $0 | 0; - var $1 = 0; - $1 = $0 + 12 | 0; - __ZNK16NullArrayDeleterIhEclEPh($1, HEAP32[$1 >> 2] | 0); - return; + $to = $to | 0; + $1 = $1 | 0; + $to_nxt = $to_nxt | 0; + HEAP32[$to_nxt >> 2] = $to; + return 3; } -function __ZN6vision17bitstring_set_bitEPhih($0, $1, $2) { +function __ZNKSt3__27codecvtIcc11__mbstate_tE10do_unshiftERS1_PcS4_RS4_($this, $0, $to, $1, $to_nxt) { + $this = $this | 0; $0 = $0 | 0; + $to = $to | 0; $1 = $1 | 0; - $2 = $2 | 0; - var $7 = 0; - $7 = $0 + (($1 | 0) / 8 | 0) | 0; - HEAP8[$7 >> 0] = ($2 & 255) << ($1 & 7) | (HEAPU8[$7 >> 0] | 0); - return; + $to_nxt = $to_nxt | 0; + HEAP32[$to_nxt >> 2] = $to; + return 3; } -function dynCall_iiiiid(index, a1, a2, a3, a4, a5) { +function dynCall_iiiiii(index, a1, a2, a3, a4, a5) { index = index | 0; a1 = a1 | 0; a2 = a2 | 0; a3 = a3 | 0; a4 = a4 | 0; - a5 = +a5; - return FUNCTION_TABLE_iiiiid[index & 7](a1 | 0, a2 | 0, a3 | 0, a4 | 0, +a5) | 0; + a5 = a5 | 0; + return FUNCTION_TABLE_iiiiii[index & 31](a1 | 0, a2 | 0, a3 | 0, a4 | 0, a5 | 0) | 0; } -function _arSetLabelingThreshModeAutoInterval($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0; - if (!$0) $$0 = -1; else { - HEAP32[$0 + 7062392 >> 2] = $1; - HEAP32[$0 + 7062396 >> 2] = 0; - $$0 = 0; - } - return $$0 | 0; +function __ZNKSt3__26locale9use_facetERNS0_2idE($this, $x) { + $this = $this | 0; + $x = $x | 0; + var $0 = 0; + $0 = HEAP32[$this >> 2] | 0; + return __ZNKSt3__26locale5__imp9use_facetEl($0, __ZNSt3__26locale2id5__getEv($x) | 0) | 0; } - -function __ZNKSt3__220__shared_ptr_pointerIPhNS_14default_deleteIhEENS_9allocatorIhEEE13__get_deleterERKSt9type_info($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return ((HEAP32[$1 + 4 >> 2] | 0) == 38743 ? $0 + 12 | 0 : 0) | 0; +function stackAlloc(size) { + size = size | 0; + var ret = 0; + ret = STACKTOP; + STACKTOP = STACKTOP + size | 0; + STACKTOP = STACKTOP + 15 & -16; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(size | 0); + return ret | 0; } -function __ZN6vision21OrientationAssignmentD2Ev($0) { - $0 = $0 | 0; - __ZNSt3__213__vector_baseIN6vision5ImageENS_9allocatorIS2_EEED2Ev($0 + 40 | 0); - __ZNSt3__213__vector_baseIfNS_9allocatorIfEEED2Ev($0 + 28 | 0); - return; +function __ZNK12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E7numLeftEv($this) { + $this = $this | 0; + return (HEAP32[$this + 4 >> 2] | 0) - (HEAP32[$this >> 2] | 0) | 0; } -function __ZNSt3__26locale5__imp7installINS_7codecvtIDsc11__mbstate_tEEEEvPT_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - __ZNSt3__26locale5__imp7installEPNS0_5facetEl($0, $1, __ZNSt3__26locale2id5__getEv(66832) | 0); +function __ZN6vision20VisualDatabaseFacadeD2Ev($this) { + $this = $this | 0; + var $0 = 0; + $0 = HEAP32[$this >> 2] | 0; + HEAP32[$this >> 2] = 0; + if ($0 | 0) { + __ZN6vision18VisualDatabaseImplD2Ev($0); + __ZdlPv($0); + } return; } -function __ZNSt3__26locale5__imp7installINS_7codecvtIDic11__mbstate_tEEEEvPT_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - __ZNSt3__26locale5__imp7installEPNS0_5facetEl($0, $1, __ZNSt3__26locale2id5__getEv(66840) | 0); - return; +function __ZN6vision9MaxIndex3IfEEiPKT_($x) { + $x = $x | 0; + var $index$0 = 0; + $index$0 = +HEAPF32[$x + 4 >> 2] > +HEAPF32[$x >> 2] & 1; + return (+HEAPF32[$x + 8 >> 2] > +HEAPF32[$x + ($index$0 << 2) >> 2] ? 2 : $index$0) | 0; } -function __ZNSt3__25ctypeIcED2Ev($0) { - $0 = $0 | 0; - var $2 = 0; - HEAP32[$0 >> 2] = 23308; - $2 = HEAP32[$0 + 8 >> 2] | 0; - if ($2 | 0 ? HEAP8[$0 + 12 >> 0] | 0 : 0) __ZdaPv($2); - __ZNSt3__26locale5facetD2Ev($0); +function __ZNSt3__28numpunctIwED2Ev($this) { + $this = $this | 0; + HEAP32[$this >> 2] = 23400; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($this + 16 | 0); + __ZNSt3__26locale5facetD2Ev($this); return; } -function __ZNSt3__26locale5__imp7installINS_7codecvtIwc11__mbstate_tEEEEvPT_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - __ZNSt3__26locale5__imp7installEPNS0_5facetEl($0, $1, __ZNSt3__26locale2id5__getEv(66824) | 0); +function __ZNSt3__28numpunctIcED2Ev($this) { + $this = $this | 0; + HEAP32[$this >> 2] = 23360; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($this + 12 | 0); + __ZNSt3__26locale5facetD2Ev($this); return; } -function __ZNSt3__26locale5__imp7installINS_7codecvtIcc11__mbstate_tEEEEvPT_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - __ZNSt3__26locale5__imp7installEPNS0_5facetEl($0, $1, __ZNSt3__26locale2id5__getEv(66816) | 0); +function __ZNSt3__26locale5__imp7installINS_10moneypunctIwLb1EEEEEvPT_($this, $f) { + $this = $this | 0; + $f = $f | 0; + __ZNSt3__26locale5__imp7installEPNS0_5facetEl($this, $f, __ZNSt3__26locale2id5__getEv(67608) | 0); return; } -function __ZNKSt3__220__shared_ptr_pointerIPh16NullArrayDeleterIhENS_9allocatorIhEEE13__get_deleterERKSt9type_info($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return ((HEAP32[$1 + 4 >> 2] | 0) == 38865 ? $0 + 12 | 0 : 0) | 0; -} - -function dynCall_viiiii(index, a1, a2, a3, a4, a5) { - index = index | 0; - a1 = a1 | 0; - a2 = a2 | 0; - a3 = a3 | 0; - a4 = a4 | 0; - a5 = a5 | 0; - FUNCTION_TABLE_viiiii[index & 63](a1 | 0, a2 | 0, a3 | 0, a4 | 0, a5 | 0); -} - -function _byteSwapDouble($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0; - $$0 = 0; - while (1) { - if (($$0 | 0) == 8) break; - HEAP8[$1 + $$0 >> 0] = HEAP8[$0 + (7 - $$0) >> 0] | 0; - $$0 = $$0 + 1 | 0; - } +function __ZNSt3__26locale5__imp7installINS_10moneypunctIwLb0EEEEEvPT_($this, $f) { + $this = $this | 0; + $f = $f | 0; + __ZNSt3__26locale5__imp7installEPNS0_5facetEl($this, $f, __ZNSt3__26locale2id5__getEv(67600) | 0); return; } -function __ZNSt3__213basic_ostreamIwNS_11char_traitsIwEEED1Ev($0) { - $0 = $0 | 0; - __ZNSt3__213basic_ostreamIwNS_11char_traitsIwEEED2Ev($0, 20872); - __ZNSt3__29basic_iosIwNS_11char_traitsIwEEED2Ev($0 + 4 | 0); +function __ZNSt3__26locale5__imp7installINS_10moneypunctIcLb1EEEEEvPT_($this, $f) { + $this = $this | 0; + $f = $f | 0; + __ZNSt3__26locale5__imp7installEPNS0_5facetEl($this, $f, __ZNSt3__26locale2id5__getEv(67592) | 0); return; } -function __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEED1Ev($0) { - $0 = $0 | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEED2Ev($0, 20824); - __ZNSt3__29basic_iosIcNS_11char_traitsIcEEED2Ev($0 + 4 | 0); +function __ZNSt3__26locale5__imp7installINS_10moneypunctIcLb0EEEEEvPT_($this, $f) { + $this = $this | 0; + $f = $f | 0; + __ZNSt3__26locale5__imp7installEPNS0_5facetEl($this, $f, __ZNSt3__26locale2id5__getEv(67584) | 0); return; } -function __ZNSt3__213basic_istreamIwNS_11char_traitsIwEEED1Ev($0) { - $0 = $0 | 0; - __ZNSt3__213basic_istreamIwNS_11char_traitsIwEEED2Ev($0, 20776); - __ZNSt3__29basic_iosIwNS_11char_traitsIwEEED2Ev($0 + 8 | 0); +function __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE8dropBackEm($this, $Index) { + $this = $this | 0; + $Index = $Index | 0; + HEAP32[$this + 4 >> 2] = (HEAP32[$this >> 2] | 0) + ($Index << 2); return; } -function __ZNSt3__213basic_istreamIcNS_11char_traitsIcEEED1Ev($0) { - $0 = $0 | 0; - __ZNSt3__213basic_istreamIcNS_11char_traitsIcEEED2Ev($0, 20728); - __ZNSt3__29basic_iosIcNS_11char_traitsIcEEED2Ev($0 + 8 | 0); - return; +function _arImageProcLumaHistAndCDFAndMedian($ipi, $dataPtr, $value_p) { + $ipi = $ipi | 0; + $dataPtr = $dataPtr | 0; + $value_p = $value_p | 0; + return _arImageProcLumaHistAndCDFAndPercentile($ipi, $dataPtr, .5, $value_p) | 0; } -function _process_data_crank_post($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - FUNCTION_TABLE_viiiiiii[HEAP32[(HEAP32[$0 + 456 >> 2] | 0) + 4 >> 2] & 7]($0, 0, 0, 0, $1, $2, $3); +function __ZTv0_n12_NSt3__213basic_ostreamIwNS_11char_traitsIwEEED1Ev($this) { + $this = $this | 0; + __ZNSt3__213basic_ostreamIwNS_11char_traitsIwEEED1Ev($this + (HEAP32[(HEAP32[$this >> 2] | 0) + -12 >> 2] | 0) | 0); return; } -function __ZNKSt3__26locale9use_facetERNS0_2idE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = HEAP32[$0 >> 2] | 0; - return __ZNKSt3__26locale5__imp9use_facetEl($2, __ZNSt3__26locale2id5__getEv($1) | 0) | 0; -} - -function __ZN6vision10DoGPyramid3getEmm($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $6 = 0; - $6 = (Math_imul(HEAP32[$0 + 16 >> 2] | 0, $1) | 0) + $2 | 0; - return (HEAP32[$0 >> 2] | 0) + ($6 << 5) | 0; -} - -function _arGetLabelingThreshMode($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0; - if (($0 | 0) != 0 & ($1 | 0) != 0) { - HEAP32[$1 >> 2] = HEAP32[$0 + 7062388 >> 2]; - $$0 = 0; - } else $$0 = -1; - return $$0 | 0; -} - -function __ZNSt3__26localeC2ERKS0_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = 0; - $2 = HEAP32[$1 >> 2] | 0; - HEAP32[$0 >> 2] = $2; - $3 = $2 + 4 | 0; - HEAP32[$3 >> 2] = (HEAP32[$3 >> 2] | 0) + 1; +function __ZTv0_n12_NSt3__213basic_ostreamIwNS_11char_traitsIwEEED0Ev($this) { + $this = $this | 0; + __ZNSt3__213basic_ostreamIwNS_11char_traitsIwEEED0Ev($this + (HEAP32[(HEAP32[$this >> 2] | 0) + -12 >> 2] | 0) | 0); return; } -function __ZNK12_GLOBAL__N_112OutputStream4backEv($0) { - $0 = $0 | 0; - var $2 = 0, $8 = 0; - $2 = HEAP32[$0 + 4 >> 2] | 0; - if (!$2) $8 = 0; else $8 = HEAP8[(HEAP32[$0 >> 2] | 0) + ($2 + -1) >> 0] | 0; - return $8 | 0; -} - -function _grayscale_convert_52($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - _jcopy_sample_rows(HEAP32[$1 >> 2] | 0, $2, $3, 0, $4, HEAP32[$0 + 112 >> 2] | 0); +function __ZTv0_n12_NSt3__213basic_ostreamIcNS_11char_traitsIcEEED1Ev($this) { + $this = $this | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEED1Ev($this + (HEAP32[(HEAP32[$this >> 2] | 0) + -12 >> 2] | 0) | 0); return; } -function _byteSwapInt($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0; - $$0 = 0; - while (1) { - if (($$0 | 0) == 4) break; - HEAP8[$1 + $$0 >> 0] = HEAP8[$0 + (3 - $$0) >> 0] | 0; - $$0 = $$0 + 1 | 0; - } +function __ZTv0_n12_NSt3__213basic_ostreamIcNS_11char_traitsIcEEED0Ev($this) { + $this = $this | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEED0Ev($this + (HEAP32[(HEAP32[$this >> 2] | 0) + -12 >> 2] | 0) | 0); return; } -function ___lctrans_impl($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0; - if (!$1) $$0 = 0; else $$0 = ___mo_lookup(HEAP32[$1 >> 2] | 0, HEAP32[$1 + 4 >> 2] | 0, $0) | 0; - return (($$0 | 0) == 0 ? $0 : $$0) | 0; -} - -function __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_24ForwardTemplateReferenceELm4EE8dropBackEm($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - HEAP32[$0 + 4 >> 2] = (HEAP32[$0 >> 2] | 0) + ($1 << 2); +function __ZTv0_n12_NSt3__213basic_istreamIwNS_11char_traitsIwEEED1Ev($this) { + $this = $this | 0; + __ZNSt3__213basic_istreamIwNS_11char_traitsIwEEED1Ev($this + (HEAP32[(HEAP32[$this >> 2] | 0) + -12 >> 2] | 0) | 0); return; } -function _self_destruct($0) { - $0 = $0 | 0; - var $1 = 0; - _free_pool($0, 1); - _free_pool($0, 0); - $1 = $0 + 4 | 0; - _jpeg_free_small($0, HEAP32[$1 >> 2] | 0, 84); - HEAP32[$1 >> 2] = 0; - _jpeg_mem_term($0); +function __ZTv0_n12_NSt3__213basic_istreamIwNS_11char_traitsIwEEED0Ev($this) { + $this = $this | 0; + __ZNSt3__213basic_istreamIwNS_11char_traitsIwEEED0Ev($this + (HEAP32[(HEAP32[$this >> 2] | 0) + -12 >> 2] | 0) | 0); return; } -function _arImageProcInit($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = _malloc(2064) | 0; - if ($2 | 0) { - HEAP32[$2 >> 2] = 0; - HEAP32[$2 + 4 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - } - return $2 | 0; +function __ZTv0_n12_NSt3__213basic_istreamIcNS_11char_traitsIcEEED1Ev($this) { + $this = $this | 0; + __ZNSt3__213basic_istreamIcNS_11char_traitsIcEEED1Ev($this + (HEAP32[(HEAP32[$this >> 2] | 0) + -12 >> 2] | 0) | 0); + return; } -function __ZNSt3__26locale5__imp7installINS_10moneypunctIwLb1EEEEEvPT_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - __ZNSt3__26locale5__imp7installEPNS0_5facetEl($0, $1, __ZNSt3__26locale2id5__getEv(66760) | 0); +function __ZTv0_n12_NSt3__213basic_istreamIcNS_11char_traitsIcEEED0Ev($this) { + $this = $this | 0; + __ZNSt3__213basic_istreamIcNS_11char_traitsIcEEED0Ev($this + (HEAP32[(HEAP32[$this >> 2] | 0) + -12 >> 2] | 0) | 0); return; } -function __ZNSt3__26locale5__imp7installINS_10moneypunctIwLb0EEEEEvPT_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - __ZNSt3__26locale5__imp7installEPNS0_5facetEl($0, $1, __ZNSt3__26locale2id5__getEv(66752) | 0); +function __ZNSt3__220__shared_ptr_pointerIPhNS_14default_deleteIhEENS_9allocatorIhEEE21__on_zero_shared_weakEv($this) { + $this = $this | 0; + __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($this, 16); return; } -function __ZNSt3__26locale5__imp7installINS_10moneypunctIcLb1EEEEEvPT_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - __ZNSt3__26locale5__imp7installEPNS0_5facetEl($0, $1, __ZNSt3__26locale2id5__getEv(66744) | 0); - return; +function _jpeg_alloc_quant_table($cinfo) { + $cinfo = $cinfo | 0; + var $call = 0; + $call = FUNCTION_TABLE_iiii[HEAP32[HEAP32[$cinfo + 4 >> 2] >> 2] & 63]($cinfo, 0, 132) | 0; + HEAP32[$call + 128 >> 2] = 0; + return $call | 0; } -function __ZNSt3__26locale5__imp7installINS_10moneypunctIcLb0EEEEEvPT_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - __ZNSt3__26locale5__imp7installEPNS0_5facetEl($0, $1, __ZNSt3__26locale2id5__getEv(66736) | 0); - return; +function dynCall_iiiiid(index, a1, a2, a3, a4, a5) { + index = index | 0; + a1 = a1 | 0; + a2 = a2 | 0; + a3 = a3 | 0; + a4 = a4 | 0; + a5 = +a5; + return FUNCTION_TABLE_iiiiid[index & 7](a1 | 0, a2 | 0, a3 | 0, a4 | 0, +a5) | 0; } -function _jpeg_open_backing_store($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = HEAP32[$0 >> 2] | 0; - HEAP32[$3 + 20 >> 2] = 51; - FUNCTION_TABLE_vi[HEAP32[$3 >> 2] & 255]($0); +function _start_pass_upsample($cinfo) { + $cinfo = $cinfo | 0; + var $0 = 0; + $0 = HEAP32[$cinfo + 476 >> 2] | 0; + HEAP32[$0 + 92 >> 2] = HEAP32[$cinfo + 320 >> 2]; + HEAP32[$0 + 96 >> 2] = HEAP32[$cinfo + 116 >> 2]; return; } -function _arPattDetach($0) { - $0 = $0 | 0; - var $$0 = 0, $2 = 0; - if (($0 | 0) != 0 ? ($2 = $0 + 7062384 | 0, (HEAP32[$2 >> 2] | 0) != 0) : 0) { - HEAP32[$2 >> 2] = 0; - $$0 = 0; - } else $$0 = -1; - return $$0 | 0; +function _jpeg_alloc_huff_table($cinfo) { + $cinfo = $cinfo | 0; + var $call = 0; + $call = FUNCTION_TABLE_iiii[HEAP32[HEAP32[$cinfo + 4 >> 2] >> 2] & 63]($cinfo, 0, 280) | 0; + HEAP32[$call + 276 >> 2] = 0; + return $call | 0; } -function __ZNK12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E7numLeftEv($0) { - $0 = $0 | 0; - return (HEAP32[$0 + 4 >> 2] | 0) - (HEAP32[$0 >> 2] | 0) | 0; +function __ZNSt3__220__shared_ptr_pointerIPh16NullArrayDeleterIhENS_9allocatorIhEEE21__on_zero_shared_weakEv($this) { + $this = $this | 0; + __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($this, 16); + return; } -function __ZN6vision20VisualDatabaseFacadeD2Ev($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = HEAP32[$0 >> 2] | 0; - HEAP32[$0 >> 2] = 0; - if ($1 | 0) { - __ZN6vision18VisualDatabaseImplD2Ev($1); - __ZdlPv($1); - } +function __ZN6vision17PriorityQueueItemILi96EEC2EPKNS_4NodeILi96EEEj($this, $node, $dist) { + $this = $this | 0; + $node = $node | 0; + $dist = $dist | 0; + HEAP32[$this >> 2] = $node; + HEAP32[$this + 4 >> 2] = $dist; return; } -function _arGetMatrixCodeType($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0; - if (($0 | 0) != 0 & ($1 | 0) != 0) { - HEAP32[$1 >> 2] = HEAP32[$0 + 7062424 >> 2]; - $$0 = 0; - } else $$0 = -1; - return $$0 | 0; +function __ZN6vision7Point3dIfEC2Efff($this, $_x, $_y, $_z) { + $this = $this | 0; + $_x = +$_x; + $_y = +$_y; + $_z = +$_z; + HEAPF32[$this >> 2] = $_x; + HEAPF32[$this + 4 >> 2] = $_y; + HEAPF32[$this + 8 >> 2] = $_z; + return; } -function __ZNSt3__220__shared_ptr_pointerIPhNS_14default_deleteIhEENS_9allocatorIhEEE21__on_zero_shared_weakEv($0) { - $0 = $0 | 0; - __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($0, 16); +function __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE8pop_backEv($this) { + $this = $this | 0; + var $Last = 0; + $Last = $this + 4 | 0; + HEAP32[$Last >> 2] = (HEAP32[$Last >> 2] | 0) + -4; return; } -function __ZTv0_n12_NSt3__213basic_ostreamIwNS_11char_traitsIwEEED1Ev($0) { - $0 = $0 | 0; - __ZNSt3__213basic_ostreamIwNS_11char_traitsIwEEED1Ev($0 + (HEAP32[(HEAP32[$0 >> 2] | 0) + -12 >> 2] | 0) | 0); +function __ZN6vision20BinaryFeatureMatcherILi96EEC2Ev($this) { + $this = $this | 0; + HEAP32[$this >> 2] = 0; + HEAP32[$this + 4 >> 2] = 0; + HEAP32[$this + 8 >> 2] = 0; + HEAPF32[$this + 12 >> 2] = .699999988079071; return; } -function __ZTv0_n12_NSt3__213basic_ostreamIwNS_11char_traitsIwEEED0Ev($0) { - $0 = $0 | 0; - __ZNSt3__213basic_ostreamIwNS_11char_traitsIwEEED0Ev($0 + (HEAP32[(HEAP32[$0 >> 2] | 0) + -12 >> 2] | 0) | 0); +function __ZNSt3__28time_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEED0Ev($this) { + $this = $this | 0; + __ZNSt3__210__time_putD2Ev($this + 8 | 0); + __ZNSt3__26locale5facetD2Ev($this); + __ZdlPv($this); return; } -function __ZTv0_n12_NSt3__213basic_ostreamIcNS_11char_traitsIcEEED1Ev($0) { - $0 = $0 | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEED1Ev($0 + (HEAP32[(HEAP32[$0 >> 2] | 0) + -12 >> 2] | 0) | 0); +function __ZNSt3__28time_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEED0Ev($this) { + $this = $this | 0; + __ZNSt3__210__time_putD2Ev($this + 8 | 0); + __ZNSt3__26locale5facetD2Ev($this); + __ZdlPv($this); return; } -function __ZTv0_n12_NSt3__213basic_ostreamIcNS_11char_traitsIcEEED0Ev($0) { - $0 = $0 | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEED0Ev($0 + (HEAP32[(HEAP32[$0 >> 2] | 0) + -12 >> 2] | 0) | 0); +function __ZNSt3__26locale5__imp7installINS_8numpunctIwEEEEvPT_($this, $f) { + $this = $this | 0; + $f = $f | 0; + __ZNSt3__26locale5__imp7installEPNS0_5facetEl($this, $f, __ZNSt3__26locale2id5__getEv(67400) | 0); return; } -function __ZTv0_n12_NSt3__213basic_istreamIwNS_11char_traitsIwEEED1Ev($0) { - $0 = $0 | 0; - __ZNSt3__213basic_istreamIwNS_11char_traitsIwEEED1Ev($0 + (HEAP32[(HEAP32[$0 >> 2] | 0) + -12 >> 2] | 0) | 0); +function __ZNSt3__26locale5__imp7installINS_8numpunctIcEEEEvPT_($this, $f) { + $this = $this | 0; + $f = $f | 0; + __ZNSt3__26locale5__imp7installEPNS0_5facetEl($this, $f, __ZNSt3__26locale2id5__getEv(67376) | 0); return; } -function __ZTv0_n12_NSt3__213basic_istreamIwNS_11char_traitsIwEEED0Ev($0) { - $0 = $0 | 0; - __ZNSt3__213basic_istreamIwNS_11char_traitsIwEEED0Ev($0 + (HEAP32[(HEAP32[$0 >> 2] | 0) + -12 >> 2] | 0) | 0); +function __ZNSt3__26locale5__imp7installINS_8messagesIwEEEEvPT_($this, $f) { + $this = $this | 0; + $f = $f | 0; + __ZNSt3__26locale5__imp7installEPNS0_5facetEl($this, $f, __ZNSt3__26locale2id5__getEv(67656) | 0); return; } -function __ZTv0_n12_NSt3__213basic_istreamIcNS_11char_traitsIcEEED1Ev($0) { - $0 = $0 | 0; - __ZNSt3__213basic_istreamIcNS_11char_traitsIcEEED1Ev($0 + (HEAP32[(HEAP32[$0 >> 2] | 0) + -12 >> 2] | 0) | 0); +function __ZNSt3__26locale5__imp7installINS_8messagesIcEEEEvPT_($this, $f) { + $this = $this | 0; + $f = $f | 0; + __ZNSt3__26locale5__imp7installEPNS0_5facetEl($this, $f, __ZNSt3__26locale2id5__getEv(67648) | 0); return; } -function __ZTv0_n12_NSt3__213basic_istreamIcNS_11char_traitsIcEEED0Ev($0) { - $0 = $0 | 0; - __ZNSt3__213basic_istreamIcNS_11char_traitsIcEEED0Ev($0 + (HEAP32[(HEAP32[$0 >> 2] | 0) + -12 >> 2] | 0) | 0); - return; +function dynCall_viiiii(index, a1, a2, a3, a4, a5) { + index = index | 0; + a1 = a1 | 0; + a2 = a2 | 0; + a3 = a3 | 0; + a4 = a4 | 0; + a5 = a5 | 0; + FUNCTION_TABLE_viiiii[index & 63](a1 | 0, a2 | 0, a3 | 0, a4 | 0, a5 | 0); } -function __ZNSt3__220__shared_ptr_pointerIPh16NullArrayDeleterIhENS_9allocatorIhEEE21__on_zero_shared_weakEv($0) { - $0 = $0 | 0; - __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($0, 16); +function __ZNSt3__26locale5__imp7installINS_7collateIwEEEEvPT_($this, $f) { + $this = $this | 0; + $f = $f | 0; + __ZNSt3__26locale5__imp7installEPNS0_5facetEl($this, $f, __ZNSt3__26locale2id5__getEv(67352) | 0); return; } -function __ZNK12_GLOBAL__N_116itanium_demangle12NodeOrString8asStringEv($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - __ZN12_GLOBAL__N_110StringViewC2EPKcS2_($0, HEAP32[$1 >> 2] | 0, HEAP32[$1 + 4 >> 2] | 0); +function __ZNSt3__26locale5__imp7installINS_7collateIcEEEEvPT_($this, $f) { + $this = $this | 0; + $f = $f | 0; + __ZNSt3__26locale5__imp7installEPNS0_5facetEl($this, $f, __ZNSt3__26locale2id5__getEv(67344) | 0); return; } -function __ZN12_GLOBAL__N_114SwapAndRestoreIjEC2ERjj($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - HEAP32[$0 >> 2] = $1; - HEAP32[$0 + 4 >> 2] = HEAP32[$1 >> 2]; - HEAP8[$0 + 8 >> 0] = 1; - HEAP32[$1 >> 2] = -1; +function __ZN6vision12FeaturePointC2Ev($this) { + $this = $this | 0; + HEAP32[$this >> 2] = 0; + HEAP32[$this + 4 >> 2] = 0; + HEAP32[$this + 8 >> 2] = 0; + HEAP32[$this + 12 >> 2] = 0; + HEAP8[$this + 16 >> 0] = 1; return; } -function _i64Subtract(a, b, c, d) { - a = a | 0; - b = b | 0; - c = c | 0; - d = d | 0; - var h = 0; - h = b - d >>> 0; - h = b - d - (c >>> 0 > a >>> 0 | 0) >>> 0; - return (setTempRet0(h | 0), a - c >>> 0 | 0) | 0; +function __ZN6vision10DoGPyramidC2Ev($this) { + $this = $this | 0; + HEAP32[$this >> 2] = 0; + HEAP32[$this + 4 >> 2] = 0; + HEAP32[$this + 8 >> 2] = 0; + HEAP32[$this + 12 >> 2] = 0; + HEAP32[$this + 16 >> 2] = 0; + return; } -function ___strdup($0) { - $0 = $0 | 0; - var $$0 = 0, $2 = 0, $3 = 0; - $2 = (_strlen($0) | 0) + 1 | 0; - $3 = _malloc($2) | 0; - if (!$3) $$0 = 0; else $$0 = _memcpy($3 | 0, $0 | 0, $2 | 0) | 0; - return $$0 | 0; +function __ZN6vision10CauchyCostIfEET_S1_S1_S1_($x0, $x1, $one_over_scale2) { + $x0 = +$x0; + $x1 = +$x1; + $one_over_scale2 = +$one_over_scale2; + return +(+Math_log(+(($x0 * $x0 + $x1 * $x1) * $one_over_scale2 + 1.0))); } -function __ZNSt3__28numpunctIwED2Ev($0) { - $0 = $0 | 0; - HEAP32[$0 >> 2] = 23400; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($0 + 16 | 0); - __ZNSt3__26locale5facetD2Ev($0); +function __ZNSt3__26locale5__imp7installINS_5ctypeIwEEEEvPT_($this, $f) { + $this = $this | 0; + $f = $f | 0; + __ZNSt3__26locale5__imp7installEPNS0_5facetEl($this, $f, __ZNSt3__26locale2id5__getEv(67392) | 0); return; } -function __ZNSt3__28numpunctIcED2Ev($0) { - $0 = $0 | 0; - HEAP32[$0 >> 2] = 23360; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($0 + 12 | 0); - __ZNSt3__26locale5facetD2Ev($0); +function __ZNSt3__26locale5__imp7installINS_5ctypeIcEEEEvPT_($this, $f) { + $this = $this | 0; + $f = $f | 0; + __ZNSt3__26locale5__imp7installEPNS0_5facetEl($this, $f, __ZNSt3__26locale2id5__getEv(67360) | 0); return; } -function __ZNKSt3__29__num_getIwE10__do_widenERNS_8ios_baseEPw($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - return __ZNKSt3__29__num_getIwE12__do_widen_pIwEEPKT_RNS_8ios_baseEPS3_($0, $1, $2) | 0; +function __ZNSt3__214__ptr_in_rangeIwEEbPKT_S3_S3_($__p, $__first, $__last) { + $__p = $__p | 0; + $__first = $__first | 0; + $__last = $__last | 0; + return $__first >>> 0 <= $__p >>> 0 & $__p >>> 0 < $__last >>> 0 | 0; } -function _arSetPattRatio($0, $1) { - $0 = $0 | 0; - $1 = +$1; - var $$0 = 0; - if (($0 | 0) != 0 ? !($1 <= 0.0 | $1 >= 1.0) : 0) { - HEAPF64[$0 + 7062416 >> 3] = $1; - $$0 = 0; - } else $$0 = -1; - return $$0 | 0; +function __ZNSt3__214__ptr_in_rangeIcEEbPKT_S3_S3_($__p, $__first, $__last) { + $__p = $__p | 0; + $__first = $__first | 0; + $__last = $__last | 0; + return $__first >>> 0 <= $__p >>> 0 & $__p >>> 0 < $__last >>> 0 | 0; } -function _arGetLabelingThresh($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0; - if (($0 | 0) != 0 & ($1 | 0) != 0) { - HEAP32[$1 >> 2] = HEAP32[$0 + 16 >> 2]; - $$0 = 0; - } else $$0 = -1; - return $$0 | 0; +function __ZNSt3__28ios_base33__set_badbit_and_consider_rethrowEv($this) { + $this = $this | 0; + var $__rdstate_ = 0; + $__rdstate_ = $this + 16 | 0; + HEAP32[$__rdstate_ >> 2] = HEAP32[$__rdstate_ >> 2] | 1; + return; } -function __ZNSt3__26locale5__imp7installINS_8numpunctIwEEEEvPT_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - __ZNSt3__26locale5__imp7installEPNS0_5facetEl($0, $1, __ZNSt3__26locale2id5__getEv(66552) | 0); - return; +function __ZNK12_GLOBAL__N_116itanium_demangle12NodeOrString8isStringEv($this) { + $this = $this | 0; + var $2 = 0; + if (!(HEAP32[$this + 4 >> 2] | 0)) $2 = 0; else $2 = (HEAP32[$this >> 2] | 0) != 0; + return $2 | 0; } -function __ZNSt3__26locale5__imp7installINS_8numpunctIcEEEEvPT_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - __ZNSt3__26locale5__imp7installEPNS0_5facetEl($0, $1, __ZNSt3__26locale2id5__getEv(66528) | 0); +function __ZN12_GLOBAL__N_110StringViewC2EPKcS2_($this, $First_, $Last_) { + $this = $this | 0; + $First_ = $First_ | 0; + $Last_ = $Last_ | 0; + HEAP32[$this >> 2] = $First_; + HEAP32[$this + 4 >> 2] = $Last_; return; } -function __ZNSt3__26locale5__imp7installINS_8messagesIwEEEEvPT_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - __ZNSt3__26locale5__imp7installEPNS0_5facetEl($0, $1, __ZNSt3__26locale2id5__getEv(66808) | 0); - return; +function __ZNK6vision18BinaryFeatureStore7featureEm($this, $i) { + $this = $this | 0; + $i = $i | 0; + var $mul = 0; + $mul = Math_imul(HEAP32[$this >> 2] | 0, $i) | 0; + return (HEAP32[$this + 4 >> 2] | 0) + $mul | 0; } -function __ZNSt3__26locale5__imp7installINS_8messagesIcEEEEvPT_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - __ZNSt3__26locale5__imp7installEPNS0_5facetEl($0, $1, __ZNSt3__26locale2id5__getEv(66800) | 0); +function __ZN6vision4min4IfEET_S1_S1_S1_S1_($a1, $a2, $a3, $a4) { + $a1 = +$a1; + $a2 = +$a2; + $a3 = +$a3; + $a4 = +$a4; + return +(+__ZN6vision4min2IfEET_S1_S1_(+__ZN6vision4min3IfEET_S1_S1_S1_($a1, $a2, $a3), $a4)); +} + +function __ZNSt3__220__shared_ptr_pointerIPN6vision8KeyframeILi96EEENS_14default_deleteIS3_EENS_9allocatorIS3_EEED0Ev($this) { + $this = $this | 0; + __ZNSt3__214__shared_countD2Ev($this); + __ZdlPv($this); return; } -function __ZN6vision9MaxIndex3IfEEiPKT_($0) { - $0 = $0 | 0; - var $$0 = 0; - $$0 = +HEAPF32[$0 + 4 >> 2] > +HEAPF32[$0 >> 2] & 1; - return (+HEAPF32[$0 + 8 >> 2] > +HEAPF32[$0 + ($$0 << 2) >> 2] ? 2 : $$0) | 0; +function __ZNK12_GLOBAL__N_116itanium_demangle12NodeOrString6isNodeEv($this) { + $this = $this | 0; + var $2 = 0; + if (!(HEAP32[$this >> 2] | 0)) $2 = 0; else $2 = (HEAP32[$this + 4 >> 2] | 0) == 0; + return $2 | 0; } -function ___wasi_syscall_ret($0) { - $0 = $0 | 0; - var $$0 = 0, $3 = 0; - if (!($0 << 16 >> 16)) $$0 = 0; else { - $3 = ___errno_location() | 0; - HEAP32[$3 >> 2] = $0 & 65535; - $$0 = -1; - } - return $$0 | 0; +function __ZN6vision18BinaryFeatureStore7featureEm($this, $i) { + $this = $this | 0; + $i = $i | 0; + var $mul = 0; + $mul = Math_imul(HEAP32[$this >> 2] | 0, $i) | 0; + return (HEAP32[$this + 4 >> 2] | 0) + $mul | 0; } -function __ZNSt3__26locale5__imp7installINS_7collateIwEEEEvPT_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - __ZNSt3__26locale5__imp7installEPNS0_5facetEl($0, $1, __ZNSt3__26locale2id5__getEv(66504) | 0); +function __ZNSt3__24pairIKiNS_6vectorIN6vision7Point3dIfEENS_9allocatorIS5_EEEEED2Ev($this) { + $this = $this | 0; + __ZNSt3__213__vector_baseIN6vision7Point3dIfEENS_9allocatorIS3_EEED2Ev($this + 4 | 0); return; } -function __ZNSt3__26locale5__imp7installINS_7collateIcEEEEvPT_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - __ZNSt3__26locale5__imp7installEPNS0_5facetEl($0, $1, __ZNSt3__26locale2id5__getEv(66496) | 0); +function __ZNSt3__217__call_once_proxyINS_5tupleIJONS_12_GLOBAL__N_111__fake_bindEEEEEEvPv($__vp) { + $__vp = $__vp | 0; + __ZNKSt3__212_GLOBAL__N_111__fake_bindclEv(HEAP32[HEAP32[$__vp >> 2] >> 2] | 0); return; } -function _arGetLabelingMode($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0; - if (($0 | 0) != 0 & ($1 | 0) != 0) { - HEAP32[$1 >> 2] = HEAP32[$0 + 12 >> 2]; - $$0 = 0; - } else $$0 = -1; - return $$0 | 0; +function __ZNK12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_24ForwardTemplateReferenceELm4EE4sizeEv($this) { + $this = $this | 0; + return (HEAP32[$this + 4 >> 2] | 0) - (HEAP32[$this >> 2] | 0) >> 2 | 0; } -function _ar2GetResolution($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - if (!$0) _ar2GetResolution2(0, $1, $2, $3) | 0; else _ar2GetResolution2($0, $1, $2, $3) | 0; - return 0; +function __ZN6vision28BinaryHierarchicalClusteringILi96EE16setNumHypothesesEi($this, $n) { + $this = $this | 0; + $n = $n | 0; + __ZN6vision14BinarykMedoidsILi96EE16setNumHypothesesEi($this + 12 | 0, $n); + return; } -function __ZN6vision14AreaOfTriangleIfEET_PKS1_S3_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return +(+Math_abs(+(+HEAPF32[$0 >> 2] * +HEAPF32[$1 + 4 >> 2] - +HEAPF32[$0 + 4 >> 2] * +HEAPF32[$1 >> 2])) * .5); +function _i64Subtract(a, b, c, d) { + a = a | 0; + b = b | 0; + c = c | 0; + d = d | 0; + var h = 0; + h = b - d >>> 0; + h = b - d - (c >>> 0 > a >>> 0 | 0) >>> 0; + return (setTempRet0(h | 0), a - c >>> 0 | 0) | 0; } -function __ZNSt3__26locale5__imp7installINS_5ctypeIwEEEEvPT_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - __ZNSt3__26locale5__imp7installEPNS0_5facetEl($0, $1, __ZNSt3__26locale2id5__getEv(66544) | 0); - return; +function _strtoull_l($s, $p, $base, $loc) { + $s = $s | 0; + $p = $p | 0; + $base = $base | 0; + $loc = $loc | 0; + var $0 = 0; + $0 = _strtoull($s, $p, $base) | 0; + setTempRet0(getTempRet0() | 0); + return $0 | 0; } -function __ZNSt3__26locale5__imp7installINS_5ctypeIcEEEEvPT_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - __ZNSt3__26locale5__imp7installEPNS0_5facetEl($0, $1, __ZNSt3__26locale2id5__getEv(66512) | 0); - return; +function __ZNSt3__211char_traitsIcE4moveEPcPKcm($__s1, $__s2, $__n) { + $__s1 = $__s1 | 0; + $__s2 = $__s2 | 0; + $__n = $__n | 0; + if ($__n | 0) _memmove($__s1 | 0, $__s2 | 0, $__n | 0) | 0; + return $__s1 | 0; } -function ___syscall_ret($0) { - $0 = $0 | 0; - var $$0 = 0, $3 = 0; - if ($0 >>> 0 > 4294963200) { - $3 = ___errno_location() | 0; - HEAP32[$3 >> 2] = 0 - $0; - $$0 = -1; - } else $$0 = $0; - return $$0 | 0; +function __ZNSt3__211char_traitsIcE4copyEPcPKcm($__s1, $__s2, $__n) { + $__s1 = $__s1 | 0; + $__s2 = $__s2 | 0; + $__n = $__n | 0; + if ($__n | 0) _memcpy($__s1 | 0, $__s2 | 0, $__n | 0) | 0; + return $__s1 | 0; } -function dynCall_iiiii(index, a1, a2, a3, a4) { - index = index | 0; - a1 = a1 | 0; - a2 = a2 | 0; - a3 = a3 | 0; - a4 = a4 | 0; - return FUNCTION_TABLE_iiiii[index & 15](a1 | 0, a2 | 0, a3 | 0, a4 | 0) | 0; +function _strtoll_l($s, $p, $base, $loc) { + $s = $s | 0; + $p = $p | 0; + $base = $base | 0; + $loc = $loc | 0; + var $0 = 0; + $0 = _strtoll($s, $p, $base) | 0; + setTempRet0(getTempRet0() | 0); + return $0 | 0; } -function __ZNSt3__28time_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEED0Ev($0) { - $0 = $0 | 0; - __ZNSt3__210__time_putD2Ev($0 + 8 | 0); - __ZNSt3__26locale5facetD2Ev($0); - __ZdlPv($0); +function _start_pass_merged_upsample($cinfo) { + $cinfo = $cinfo | 0; + var $0 = 0; + $0 = HEAP32[$cinfo + 476 >> 2] | 0; + HEAP32[$0 + 36 >> 2] = 0; + HEAP32[$0 + 44 >> 2] = HEAP32[$cinfo + 116 >> 2]; return; } -function __ZNSt3__28time_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEED0Ev($0) { - $0 = $0 | 0; - __ZNSt3__210__time_putD2Ev($0 + 8 | 0); - __ZNSt3__26locale5facetD2Ev($0); - __ZdlPv($0); +function __ZN6vision21HoughSimilarityVoting26setObjectCenterInReferenceEff($this, $x, $y) { + $this = $this | 0; + $x = +$x; + $y = +$y; + HEAPF32[$this + 8 >> 2] = $x; + HEAPF32[$this + 12 >> 2] = $y; return; } -function __ZNSt3__211char_traitsIwE4moveEPwPKwm($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $5 = 0; - if (!$2) $5 = $0; else { - _wmemmove($0, $1, $2) | 0; - $5 = $0; - } - return $5 | 0; -} - -function __ZNK10emscripten8internal12WithPoliciesIJEE11ArgTypeListIJiiiiEE8getTypesEv($this) { +function __ZN6vision14BinarykMedoidsILi96EE4setkEi($this, $k) { $this = $this | 0; - return __ZN10emscripten8internal14ArgArrayGetterINS0_8TypeListIJiiiiEEEE3getEv() | 0; -} - -function __ZNK10__cxxabiv123__fundamental_type_info9can_catchEPKNS_16__shim_type_infoERPv($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - return __ZL8is_equalPKSt9type_infoS1_b($0, $1, 0) | 0; + $k = $k | 0; + HEAP32[$this + 4 >> 2] = $k; + __ZNSt3__26vectorIiNS_9allocatorIiEEE6resizeEm($this + 12 | 0, $k); + return; } -function __ZNSt3__211char_traitsIwE6assignEPwmw($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $5 = 0; - if (!$1) $5 = $0; else { - _wmemset($0, $2, $1) | 0; - $5 = $0; - } - return $5 | 0; +function __ZN6vision14AreaOfTriangleIfEET_PKS1_S3_($u, $v) { + $u = $u | 0; + $v = $v | 0; + return +(+Math_abs(+(+HEAPF32[$u >> 2] * +HEAPF32[$v + 4 >> 2] - +HEAPF32[$u + 4 >> 2] * +HEAPF32[$v >> 2])) * .5); } -function __ZNSt3__211char_traitsIwE4copyEPwPKwm($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $5 = 0; - if (!$2) $5 = $0; else { - _wmemcpy($0, $1, $2) | 0; - $5 = $0; - } - return $5 | 0; +function ___DOUBLE_BITS_788($__f) { + $__f = +$__f; + var $0 = 0; + HEAPF64[tempDoublePtr >> 3] = $__f; + $0 = HEAP32[tempDoublePtr >> 2] | 0; + setTempRet0(HEAP32[tempDoublePtr + 4 >> 2] | 0); + return $0 | 0; } -function __ZN6vision28BinaryHierarchicalClusteringILi96EE10nextNodeIdEv($0) { - $0 = $0 | 0; - var $1 = 0, $2 = 0; - $1 = $0 + 4 | 0; - $2 = HEAP32[$1 >> 2] | 0; - HEAP32[$1 >> 2] = $2 + 1; - return $2 | 0; +function ___DOUBLE_BITS_359($__f) { + $__f = +$__f; + var $0 = 0; + HEAPF64[tempDoublePtr >> 3] = $__f; + $0 = HEAP32[tempDoublePtr >> 2] | 0; + setTempRet0(HEAP32[tempDoublePtr + 4 >> 2] | 0); + return $0 | 0; } -function _arSetPatternDetectionMode($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0; - if (($0 | 0) != 0 & $1 >>> 0 < 5) { - HEAP32[$0 + 24 >> 2] = $1; - $$0 = 0; - } else $$0 = -1; - return $$0 | 0; +function __ZN6vision18BinaryFeatureStore21setNumBytesPerFeatureEi($this, $bytesPerFeature) { + $this = $this | 0; + $bytesPerFeature = $bytesPerFeature | 0; + HEAP32[$this >> 2] = $bytesPerFeature; + return; } -function __ZNKSt3__29__num_getIcE10__do_widenERNS_8ios_baseEPc($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - return __ZNKSt3__29__num_getIcE12__do_widen_pERNS_8ios_baseEPc($0, $1, $2) | 0; +function __ZN6vision10FastRandomERi($seed) { + $seed = $seed | 0; + var $add = 0; + $add = ((HEAP32[$seed >> 2] | 0) * 214013 | 0) + 2531011 | 0; + HEAP32[$seed >> 2] = $add; + return $add >>> 16 & 32767 | 0; } -function __ZNKSt3__210moneypunctIwLb1EE13do_pos_formatEv($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - HEAP8[$0 >> 0] = 2; - HEAP8[$0 + 1 >> 0] = 3; - HEAP8[$0 + 2 >> 0] = 0; - HEAP8[$0 + 3 >> 0] = 4; +function __ZNSt3__28time_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEED2Ev($this) { + $this = $this | 0; + __ZNSt3__210__time_putD2Ev($this + 8 | 0); + __ZNSt3__26locale5facetD2Ev($this); return; } -function __ZNKSt3__210moneypunctIwLb1EE13do_neg_formatEv($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - HEAP8[$0 >> 0] = 2; - HEAP8[$0 + 1 >> 0] = 3; - HEAP8[$0 + 2 >> 0] = 0; - HEAP8[$0 + 3 >> 0] = 4; +function __ZNSt3__28time_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEED2Ev($this) { + $this = $this | 0; + __ZNSt3__210__time_putD2Ev($this + 8 | 0); + __ZNSt3__26locale5facetD2Ev($this); return; } -function __ZNKSt3__210moneypunctIwLb0EE13do_pos_formatEv($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - HEAP8[$0 >> 0] = 2; - HEAP8[$0 + 1 >> 0] = 3; - HEAP8[$0 + 2 >> 0] = 0; - HEAP8[$0 + 3 >> 0] = 4; +function __ZN6vision8KeyframeILi96EED2Ev($this) { + $this = $this | 0; + __ZN6vision28BinaryHierarchicalClusteringILi96EED2Ev($this + 36 | 0); + __ZN6vision18BinaryFeatureStoreD2Ev($this + 8 | 0); return; } -function __ZNKSt3__210moneypunctIwLb0EE13do_neg_formatEv($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - HEAP8[$0 >> 0] = 2; - HEAP8[$0 + 1 >> 0] = 3; - HEAP8[$0 + 2 >> 0] = 0; - HEAP8[$0 + 3 >> 0] = 4; - return; +function dynCall_iiiii(index, a1, a2, a3, a4) { + index = index | 0; + a1 = a1 | 0; + a2 = a2 | 0; + a3 = a3 | 0; + a4 = a4 | 0; + return FUNCTION_TABLE_iiiii[index & 15](a1 | 0, a2 | 0, a3 | 0, a4 | 0) | 0; } -function __ZNKSt3__210moneypunctIcLb1EE13do_pos_formatEv($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - HEAP8[$0 >> 0] = 2; - HEAP8[$0 + 1 >> 0] = 3; - HEAP8[$0 + 2 >> 0] = 0; - HEAP8[$0 + 3 >> 0] = 4; - return; +function __ZNK10emscripten8internal12WithPoliciesIJEE11ArgTypeListIJiiiiEE8getTypesEv($this) { + $this = $this | 0; + return __ZN10emscripten8internal14ArgArrayGetterINS0_8TypeListIJiiiiEEEE3getEv() | 0; } -function __ZNKSt3__210moneypunctIcLb1EE13do_neg_formatEv($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - HEAP8[$0 >> 0] = 2; - HEAP8[$0 + 1 >> 0] = 3; - HEAP8[$0 + 2 >> 0] = 0; - HEAP8[$0 + 3 >> 0] = 4; +function __ZN6vision25GaussianScaleSpacePyramidD2Ev($this) { + $this = $this | 0; + HEAP32[$this >> 2] = 16772; + __ZNSt3__213__vector_baseIN6vision5ImageENS_9allocatorIS2_EEED2Ev($this + 4 | 0); return; } -function __ZNKSt3__210moneypunctIcLb0EE13do_pos_formatEv($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - HEAP8[$0 >> 0] = 2; - HEAP8[$0 + 1 >> 0] = 3; - HEAP8[$0 + 2 >> 0] = 0; - HEAP8[$0 + 3 >> 0] = 4; +function __ZNSt3__210__time_putD2Ev($this) { + $this = $this | 0; + var $0 = 0; + $0 = HEAP32[$this >> 2] | 0; + if (($0 | 0) != (__ZNSt3__26__clocEv() | 0)) _freelocale(HEAP32[$this >> 2] | 0); return; } -function __ZNKSt3__210moneypunctIcLb0EE13do_neg_formatEv($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - HEAP8[$0 >> 0] = 2; - HEAP8[$0 + 1 >> 0] = 3; - HEAP8[$0 + 2 >> 0] = 0; - HEAP8[$0 + 3 >> 0] = 4; +function __ZNK12_GLOBAL__N_116itanium_demangle4Node11getBaseNameEv($agg$result, $this) { + $agg$result = $agg$result | 0; + $this = $this | 0; + __ZN12_GLOBAL__N_110StringViewC2Ev($agg$result); return; } -function __ZNK12_GLOBAL__N_116itanium_demangle12NodeOrString8isStringEv($0) { - $0 = $0 | 0; - var $6 = 0; - if (!(HEAP32[$0 + 4 >> 2] | 0)) $6 = 0; else $6 = (HEAP32[$0 >> 2] | 0) != 0; - return $6 | 0; -} - function __ZNK10emscripten8internal12WithPoliciesIJEE11ArgTypeListIJviiEE8getTypesEv($this) { $this = $this | 0; return __ZN10emscripten8internal14ArgArrayGetterINS0_8TypeListIJviiEEEE3getEv() | 0; @@ -106296,104 +107244,37 @@ function __ZNK10emscripten8internal12WithPoliciesIJEE11ArgTypeListIJiiiEE8getTyp return __ZN10emscripten8internal14ArgArrayGetterINS0_8TypeListIJiiiEEEE3getEv() | 0; } -function __ZN6vision20BinaryFeatureMatcherILi96EEC2Ev($0) { - $0 = $0 | 0; - HEAP32[$0 >> 2] = 0; - HEAP32[$0 + 4 >> 2] = 0; - HEAP32[$0 + 8 >> 2] = 0; - HEAPF32[$0 + 12 >> 2] = .699999988079071; - return; -} - -function _start_pass_upsample($0) { - $0 = $0 | 0; - var $2 = 0; - $2 = HEAP32[$0 + 476 >> 2] | 0; - HEAP32[$2 + 92 >> 2] = HEAP32[$0 + 320 >> 2]; - HEAP32[$2 + 96 >> 2] = HEAP32[$0 + 116 >> 2]; - return; -} - -function __ZNSt3__24pairIKiNS_6vectorIN6vision7Point3dIfEENS_9allocatorIS5_EEEEED2Ev($0) { - $0 = $0 | 0; - __ZNSt3__213__vector_baseIN6vision7Point3dIfEENS_9allocatorIS3_EEED2Ev($0 + 4 | 0); +function _finish_input_pass($cinfo) { + $cinfo = $cinfo | 0; + FUNCTION_TABLE_vi[HEAP32[(HEAP32[$cinfo + 468 >> 2] | 0) + 8 >> 2] & 255]($cinfo); + HEAP32[HEAP32[$cinfo + 460 >> 2] >> 2] = 89; return; } -function __ZNSt3__217__call_once_proxyINS_5tupleIJONS_12_GLOBAL__N_111__fake_bindEEEEEEvPv($0) { - $0 = $0 | 0; - __ZNKSt3__212_GLOBAL__N_111__fake_bindclEv(HEAP32[HEAP32[$0 >> 2] >> 2] | 0); +function __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($__ptr, $__size) { + $__ptr = $__ptr | 0; + $__size = $__size | 0; + __ZNSt3__217_DeallocateCaller9__do_callEPv($__ptr); return; } -function __ZNKSt3__27codecvtIDsc11__mbstate_tE10do_unshiftERS1_PcS4_RS4_($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - HEAP32[$4 >> 2] = $2; - return 3; -} - -function __ZNKSt3__27codecvtIDic11__mbstate_tE10do_unshiftERS1_PcS4_RS4_($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - HEAP32[$4 >> 2] = $2; - return 3; +function __ZNK12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_24ForwardTemplateReferenceELm4EE8isInlineEv($this) { + $this = $this | 0; + return (HEAP32[$this >> 2] | 0) == ($this + 12 | 0) | 0; } function __ZN6vision6Logger11getInstanceEv() { - if ((HEAP8[64304] | 0) == 0 ? ___cxa_guard_acquire(64304) | 0 : 0) { - __ZN6vision6LoggerC2Ev(65240); - ___cxa_guard_release(64304); + if ((HEAP8[65152] | 0) == 0 ? ___cxa_guard_acquire(65152) | 0 : 0) { + __ZN6vision6LoggerC2Ev(66088); + ___cxa_guard_release(65152); } - return 65240; -} - -function __ZN6vision28BinaryHierarchicalClusteringILi96EE16setNumHypothesesEi($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - __ZN6vision14BinarykMedoidsILi96EE16setNumHypothesesEi($0 + 12 | 0, $1); - return; + return 66088; } -function _arGetDebugMode($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0; - if (($0 | 0) != 0 & ($1 | 0) != 0) { - HEAP32[$1 >> 2] = HEAP32[$0 >> 2]; - $$0 = 0; - } else $$0 = -1; - return $$0 | 0; -} - -function __ZNSt3__220__shared_ptr_pointerIPN6vision8KeyframeILi96EEENS_14default_deleteIS3_EENS_9allocatorIS3_EEED0Ev($0) { - $0 = $0 | 0; - __ZNSt3__214__shared_countD2Ev($0); - __ZdlPv($0); - return; -} - -function __ZNKSt3__27codecvtIcc11__mbstate_tE10do_unshiftERS1_PcS4_RS4_($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - HEAP32[$4 >> 2] = $2; - return 3; -} - -function __ZNK12_GLOBAL__N_116itanium_demangle12NodeOrString6isNodeEv($0) { - $0 = $0 | 0; - var $6 = 0; - if (!(HEAP32[$0 >> 2] | 0)) $6 = 0; else $6 = (HEAP32[$0 + 4 >> 2] | 0) == 0; - return $6 | 0; +function __ZN12_GLOBAL__N_116DefaultAllocator17allocateNodeArrayEm($this, $sz) { + $this = $this | 0; + $sz = $sz | 0; + return __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($this, $sz << 2) | 0; } function __ZNK10emscripten8internal12WithPoliciesIJEE11ArgTypeListIJviEE8getTypesEv($this) { @@ -106411,54 +107292,27 @@ function __ZNK10emscripten8internal12WithPoliciesIJEE11ArgTypeListIJdiEE8getType return __ZN10emscripten8internal14ArgArrayGetterINS0_8TypeListIJdiEEEE3getEv() | 0; } -function __ZN6vision4min4IfEET_S1_S1_S1_S1_($0, $1, $2, $3) { - $0 = +$0; - $1 = +$1; - $2 = +$2; - $3 = +$3; - return +(+__ZN6vision4min2IfEET_S1_S1_(+__ZN6vision4min3IfEET_S1_S1_S1_($0, $1, $2), $3)); -} - -function __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE8pop_backEv($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = $0 + 4 | 0; - HEAP32[$1 >> 2] = (HEAP32[$1 >> 2] | 0) + -4; - return; -} - -function ___DOUBLE_BITS_670($0) { - $0 = +$0; - var $1 = 0; - HEAPF64[tempDoublePtr >> 3] = $0; - $1 = HEAP32[tempDoublePtr >> 2] | 0; - setTempRet0(HEAP32[tempDoublePtr + 4 >> 2] | 0); - return $1 | 0; -} - -function ___DOUBLE_BITS_273($0) { - $0 = +$0; - var $1 = 0; - HEAPF64[tempDoublePtr >> 3] = $0; - $1 = HEAP32[tempDoublePtr >> 2] | 0; - setTempRet0(HEAP32[tempDoublePtr + 4 >> 2] | 0); - return $1 | 0; +function __ZNK6vision17PriorityQueueItemILi96EEltERKS1_($this, $item) { + $this = $this | 0; + $item = $item | 0; + return (HEAP32[$this + 4 >> 2] | 0) >>> 0 > (HEAP32[$item + 4 >> 2] | 0) >>> 0 | 0; } -function _arSetLabelingThresh($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0; - if (($0 | 0) == 0 | $1 >>> 0 > 255) $$0 = -1; else { - HEAP32[$0 + 16 >> 2] = $1; - $$0 = 0; - } - return $$0 | 0; +function _wcslen($s) { + $s = $s | 0; + var $s$addr$0 = 0; + $s$addr$0 = $s; + while (1) if (!(HEAP32[$s$addr$0 >> 2] | 0)) break; else $s$addr$0 = $s$addr$0 + 4 | 0; + return $s$addr$0 - $s >> 2 | 0; } -function __ZNK12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_24ForwardTemplateReferenceELm4EE4sizeEv($0) { - $0 = $0 | 0; - return (HEAP32[$0 + 4 >> 2] | 0) - (HEAP32[$0 >> 2] | 0) >> 2 | 0; +function _new_color_map_1_quant($cinfo) { + $cinfo = $cinfo | 0; + var $0 = 0; + $0 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$0 + 20 >> 2] = 47; + FUNCTION_TABLE_vi[HEAP32[$0 >> 2] & 255]($cinfo); + return; } function __ZNK10emscripten8internal12WithPoliciesIJEE11ArgTypeListIJiEE8getTypesEv($this) { @@ -106466,13 +107320,6 @@ function __ZNK10emscripten8internal12WithPoliciesIJEE11ArgTypeListIJiEE8getTypes return __ZN10emscripten8internal14ArgArrayGetterINS0_8TypeListIJiEEEE3getEv() | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE8dropBackEm($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - HEAP32[$0 + 4 >> 2] = (HEAP32[$0 >> 2] | 0) + ($1 << 2); - return; -} - function b13(p0, p1, p2, p3, p4, p5, p6, p7) { p0 = p0 | 0; p1 = p1 | 0; @@ -106486,403 +107333,375 @@ function b13(p0, p1, p2, p3, p4, p5, p6, p7) { return 0; } -function __ZN6vision12FeaturePointC2Ev($0) { - $0 = $0 | 0; - HEAP32[$0 >> 2] = 0; - HEAP32[$0 + 4 >> 2] = 0; - HEAP32[$0 + 8 >> 2] = 0; - HEAP32[$0 + 12 >> 2] = 0; - HEAP8[$0 + 16 >> 0] = 1; - return; +function _strtoll($s, $p, $base) { + $s = $s | 0; + $p = $p | 0; + $base = $base | 0; + var $0 = 0; + $0 = _strtox($s, $p, $base, 0, -2147483648) | 0; + setTempRet0(getTempRet0() | 0); + return $0 | 0; } -function __ZN6vision10ClipScalarIfEET_S1_S1_S1_($0, $1, $2) { - $0 = +$0; - $1 = +$1; - $2 = +$2; - var $$0 = 0.0; - if (!($0 < $1)) if ($0 > $2) $$0 = $2; else $$0 = $0; else $$0 = $1; - return +$$0; +function __ZNK6vision14VisualDatabaseINS_14FREAKExtractorENS_18BinaryFeatureStoreENS_20BinaryFeatureMatcherILi96EEEE9matchedIdEv($this) { + $this = $this | 0; + return HEAP32[$this + 24 >> 2] | 0; } -function __ZN6vision10DoGPyramidC2Ev($0) { - $0 = $0 | 0; - HEAP32[$0 >> 2] = 0; - HEAP32[$0 + 4 >> 2] = 0; - HEAP32[$0 + 8 >> 2] = 0; - HEAP32[$0 + 12 >> 2] = 0; - HEAP32[$0 + 16 >> 2] = 0; +function __ZN6vision28BinaryHierarchicalClusteringILi96EE13setNumCentersEi($this, $k) { + $this = $this | 0; + $k = $k | 0; + __ZN6vision14BinarykMedoidsILi96EE4setkEi($this + 12 | 0, $k); return; } -function _arSetImageProcMode($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0; - if (($0 | 0) != 0 & $1 >>> 0 < 2) { - HEAP32[$0 + 20 >> 2] = $1; - $$0 = 0; - } else $$0 = -1; - return $$0 | 0; +function _kpmCreateHandle($cparamLT) { + $cparamLT = $cparamLT | 0; + return __ZL19kpmCreateHandleCoreP9ARParamLTiii($cparamLT, HEAP32[$cparamLT >> 2] | 0, HEAP32[$cparamLT + 4 >> 2] | 0, 1) | 0; } -function __ZNK6vision18BinaryFeatureStore7featureEm($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $3 = 0; - $3 = Math_imul(HEAP32[$0 >> 2] | 0, $1) | 0; - return (HEAP32[$0 + 4 >> 2] | 0) + $3 | 0; +function __ZN6vision14SampleReceptorERKNS_5ImageEff($image, $x, $y) { + $image = $image | 0; + $x = +$x; + $y = +$y; + return +(+__ZN6vision22SampleReceptorBilinearERKNS_5ImageEff($image, $x, $y)); } -function __ZN12_GLOBAL__N_112OutputStream5resetEPcm($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - HEAP32[$0 + 4 >> 2] = 0; - HEAP32[$0 >> 2] = $1; - HEAP32[$0 + 8 >> 2] = $2; +function ___cxa_guard_release($guard_object) { + $guard_object = $guard_object | 0; + HEAP32[$guard_object >> 2] = 0; + __ZN10__cxxabiv112_GLOBAL__N_115set_initializedEPj($guard_object); return; } -function _jpeg_alloc_quant_table($0) { - $0 = $0 | 0; - var $4 = 0; - $4 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[$0 + 4 >> 2] >> 2] & 63]($0, 0, 132) | 0; - HEAP32[$4 + 128 >> 2] = 0; - return $4 | 0; +function dynCall_viiii(index, a1, a2, a3, a4) { + index = index | 0; + a1 = a1 | 0; + a2 = a2 | 0; + a3 = a3 | 0; + a4 = a4 | 0; + FUNCTION_TABLE_viiii[index & 31](a1 | 0, a2 | 0, a3 | 0, a4 | 0); } -function _arSetLabelingMode($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0; - if (($0 | 0) != 0 & $1 >>> 0 < 2) { - HEAP32[$0 + 12 >> 2] = $1; - $$0 = 0; - } else $$0 = -1; - return $$0 | 0; +function __ZNK12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE4sizeEv($this) { + $this = $this | 0; + return (HEAP32[$this + 4 >> 2] | 0) - (HEAP32[$this >> 2] | 0) >> 2 | 0; } -function __ZN6vision7Point3dIfEC2Efff($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = +$1; - $2 = +$2; - $3 = +$3; - HEAPF32[$0 >> 2] = $1; - HEAPF32[$0 + 4 >> 2] = $2; - HEAPF32[$0 + 8 >> 2] = $3; - return; +function __ZNK12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm8EE4sizeEv($this) { + $this = $this | 0; + return (HEAP32[$this + 4 >> 2] | 0) - (HEAP32[$this >> 2] | 0) >> 2 | 0; } -function __ZN6vision18BinaryFeatureStore7featureEm($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $3 = 0; - $3 = Math_imul(HEAP32[$0 >> 2] | 0, $1) | 0; - return (HEAP32[$0 + 4 >> 2] | 0) + $3 | 0; +function _strtoull($s, $p, $base) { + $s = $s | 0; + $p = $p | 0; + $base = $base | 0; + var $0 = 0; + $0 = _strtox($s, $p, $base, -1, -1) | 0; + setTempRet0(getTempRet0() | 0); + return $0 | 0; } -function dynCall_viiii(index, a1, a2, a3, a4) { - index = index | 0; - a1 = a1 | 0; - a2 = a2 | 0; - a3 = a3 | 0; - a4 = a4 | 0; - FUNCTION_TABLE_viiii[index & 31](a1 | 0, a2 | 0, a3 | 0, a4 | 0); +function _icpGetXw2XcCleanup_221($J_U_S, $dU, $E, $E2) { + $J_U_S = $J_U_S | 0; + $dU = $dU | 0; + $E = $E | 0; + $E2 = $E2 | 0; + _free($J_U_S); + _free($dU); + _free($E); + _free($E2); + return; } -function _jpeg_alloc_huff_table($0) { - $0 = $0 | 0; - var $4 = 0; - $4 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[$0 + 4 >> 2] >> 2] & 63]($0, 0, 280) | 0; - HEAP32[$4 + 276 >> 2] = 0; - return $4 | 0; +function __ZNK12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE5emptyEv($this) { + $this = $this | 0; + return (HEAP32[$this >> 2] | 0) == (HEAP32[$this + 4 >> 2] | 0) | 0; } -function __ZN6vision21HoughSimilarityVoting26setObjectCenterInReferenceEff($0, $1, $2) { - $0 = $0 | 0; - $1 = +$1; - $2 = +$2; - HEAPF32[$0 + 8 >> 2] = $1; - HEAPF32[$0 + 12 >> 2] = $2; +function __ZNK10emscripten8internal12WithPoliciesIJEE11ArgTypeListIJiiNSt3__212basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEEE8getCountEv($this) { + $this = $this | 0; + return 3; +} + +function __ZN6vision9ExceptionD2Ev($this) { + $this = $this | 0; + HEAP32[$this >> 2] = 16788; + __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($this + 4 | 0); return; } -function __ZN6vision14BinarykMedoidsILi96EE4setkEi($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - HEAP32[$0 + 4 >> 2] = $1; - __ZNSt3__26vectorIiNS_9allocatorIiEEE6resizeEm($0 + 12 | 0, $1); +function __ZN6vision7match_tC2Eii($this, $_ins, $_ref) { + $this = $this | 0; + $_ins = $_ins | 0; + $_ref = $_ref | 0; + HEAP32[$this >> 2] = $_ins; + HEAP32[$this + 4 >> 2] = $_ref; return; } -function _strtoull_l($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $4 = 0; - $4 = _strtoull($0, $1, $2) | 0; - setTempRet0(getTempRet0() | 0); - return $4 | 0; +function __ZNK10emscripten8internal12WithPoliciesIJEE11ArgTypeListIJiNSt3__212basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEEE8getCountEv($this) { + $this = $this | 0; + return 2; } -function __ZNK6vision9Exception4whatEv($0) { - $0 = $0 | 0; - var $1 = 0, $6 = 0; - $1 = $0 + 4 | 0; - if ((HEAP8[$1 + 11 >> 0] | 0) < 0) $6 = HEAP32[$1 >> 2] | 0; else $6 = $1; - return $6 | 0; +function _i64Add(a, b, c, d) { + a = a | 0; + b = b | 0; + c = c | 0; + d = d | 0; + var l = 0; + l = a + c >>> 0; + return (setTempRet0(b + d + (l >>> 0 < a >>> 0 | 0) >>> 0 | 0), l | 0) | 0; } -function __ZN12_GLOBAL__N_110StringViewC2EPKc($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $4 = 0; - HEAP32[$0 >> 2] = $1; - $4 = $1 + (_strlen($1) | 0) | 0; - HEAP32[$0 + 4 >> 2] = $4; +function __ZNSt11logic_errorC2EPKc($this, $msg) { + $this = $this | 0; + $msg = $msg | 0; + HEAP32[$this >> 2] = 17452; + __ZNSt3__218__libcpp_refstringC2EPKc($this + 4 | 0, $msg); return; } -function _icpDeleteHandle($0) { - $0 = $0 | 0; - var $$0 = 0, $1 = 0; - $1 = HEAP32[$0 >> 2] | 0; - if (!$1) $$0 = -1; else { - _free($1); - HEAP32[$0 >> 2] = 0; - $$0 = 0; - } - return $$0 | 0; +function ___cxa_pure_virtual() { + var sp = 0; + sp = STACKTOP; + STACKTOP = STACKTOP + 16 | 0; + if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); + _abort_message(52104, sp); } -function _strtoll_l($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $4 = 0; - $4 = _strtoll($0, $1, $2) | 0; - setTempRet0(getTempRet0() | 0); - return $4 | 0; +function __ZNSt3__24pairIKiNS_10shared_ptrIN6vision8KeyframeILi96EEEEEED2Ev($this) { + $this = $this | 0; + __ZNSt3__210shared_ptrIN6vision8KeyframeILi96EEEED2Ev($this + 4 | 0); + return; } -function _arGetPatternDetectionMode($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0; - if (!$0) $$0 = -1; else { - HEAP32[$1 >> 2] = HEAP32[$0 + 24 >> 2]; - $$0 = 0; - } - return $$0 | 0; +function __ZNSt3__220__shared_ptr_pointerIPhNS_14default_deleteIhEENS_9allocatorIhEEED0Ev($this) { + $this = $this | 0; + __ZNSt3__214__shared_countD2Ev($this); + __ZdlPv($this); + return; } -function __ZNSt3__28time_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEED2Ev($0) { - $0 = $0 | 0; - __ZNSt3__210__time_putD2Ev($0 + 8 | 0); - __ZNSt3__26locale5facetD2Ev($0); +function __ZN12_GLOBAL__N_116itanium_demangle12NodeOrStringC2EPNS0_4NodeE($this, $N) { + $this = $this | 0; + $N = $N | 0; + HEAP32[$this >> 2] = $N; + HEAP32[$this + 4 >> 2] = 0; return; } -function __ZNSt3__28time_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEED2Ev($0) { - $0 = $0 | 0; - __ZNSt3__210__time_putD2Ev($0 + 8 | 0); - __ZNSt3__26locale5facetD2Ev($0); +function __ZN10__cxxabiv112_GLOBAL__N_115set_initializedEPj($guard_object) { + $guard_object = $guard_object | 0; + HEAP32[$guard_object >> 2] = HEAP32[$guard_object >> 2] | 1; return; } -function __ZNK10emscripten8internal12WithPoliciesIJEE11ArgTypeListIJiiNSt3__212basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEEE8getCountEv($this) { +function _strchr($s, $c) { + $s = $s | 0; + $c = $c | 0; + var $call = 0; + $call = ___strchrnul($s, $c) | 0; + return ((HEAP8[$call >> 0] | 0) == ($c & 255) << 24 >> 24 ? $call : 0) | 0; +} + +function __ZNSt3__220__shared_ptr_pointerIPhNS_14default_deleteIhEENS_9allocatorIhEEE16__on_zero_sharedEv($this) { $this = $this | 0; - return 3; + __ZdlPv(HEAP32[$this + 12 >> 2] | 0); + return; } -function __ZN6vision8KeyframeILi96EED2Ev($0) { - $0 = $0 | 0; - __ZN6vision28BinaryHierarchicalClusteringILi96EED2Ev($0 + 36 | 0); - __ZN6vision18BinaryFeatureStoreD2Ev($0 + 8 | 0); +function __ZNSt3__220__shared_ptr_pointerIPh16NullArrayDeleterIhENS_9allocatorIhEEED0Ev($this) { + $this = $this | 0; + __ZNSt3__214__shared_countD2Ev($this); + __ZdlPv($this); return; } -function _strtoll($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = _strtox_735($0, $1, $2, 0, -2147483648) | 0; - setTempRet0(getTempRet0() | 0); - return $3 | 0; +function __ZNSt3__215basic_streambufIwNS_11char_traitsIwEEED0Ev($this) { + $this = $this | 0; + __ZNSt3__215basic_streambufIwNS_11char_traitsIwEEED2Ev($this); + __ZdlPv($this); + return; } -function __ZNKSt3__28numpunctIwE11do_groupingEv($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC2ERKS5_($0, $1 + 16 | 0); +function __ZNSt3__215basic_streambufIcNS_11char_traitsIcEEED0Ev($this) { + $this = $this | 0; + __ZNSt3__215basic_streambufIcNS_11char_traitsIcEEED2Ev($this); + __ZdlPv($this); return; } -function __ZNKSt3__28numpunctIcE11do_groupingEv($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC2ERKS5_($0, $1 + 12 | 0); +function __ZN6vision10CopyVectorIiEEvPT_PKS1_m($dst, $src, $size) { + $dst = $dst | 0; + $src = $src | 0; + $size = $size | 0; + _memcpy($dst | 0, $src | 0, $size << 2 | 0) | 0; return; } -function __ZNK10emscripten8internal12WithPoliciesIJEE11ArgTypeListIJiNSt3__212basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEEE8getCountEv($this) { +function __ZN6vision10CopyVectorIfEEvPT_PKS1_m($dst, $src, $size) { + $dst = $dst | 0; + $src = $src | 0; + $size = $size | 0; + _memcpy($dst | 0, $src | 0, $size << 2 | 0) | 0; + return; +} + +function __ZNSt3__26locale5facet16__on_zero_sharedEv($this) { $this = $this | 0; - return 2; + if ($this | 0) FUNCTION_TABLE_vi[HEAP32[(HEAP32[$this >> 2] | 0) + 4 >> 2] & 255]($this); + return; } -function __ZN6vision25GaussianScaleSpacePyramidD2Ev($0) { - $0 = $0 | 0; - HEAP32[$0 >> 2] = 16772; - __ZNSt3__213__vector_baseIN6vision5ImageENS_9allocatorIS2_EEED2Ev($0 + 4 | 0); +function __ZN12_GLOBAL__N_120BumpPointerAllocatorC2Ev($this) { + $this = $this | 0; + HEAP32[$this >> 2] = 0; + HEAP32[$this + 4 >> 2] = 0; + HEAP32[$this + 4096 >> 2] = $this; return; } -function __ZN12_GLOBAL__N_116itanium_demangle9NodeArrayC2EPPNS0_4NodeEm($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - HEAP32[$0 >> 2] = $1; - HEAP32[$0 + 4 >> 2] = $2; +function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($this) { + $this = $this | 0; + return $this | 0; +} + +function __ZN12_GLOBAL__N_114SwapAndRestoreIbED2Ev($this) { + $this = $this | 0; + if (HEAP8[$this + 5 >> 0] | 0) HEAP8[HEAP32[$this >> 2] >> 0] = HEAP8[$this + 4 >> 0] | 0; return; } -function _start_pass_merged_upsample($0) { - $0 = $0 | 0; - var $2 = 0; - $2 = HEAP32[$0 + 476 >> 2] | 0; - HEAP32[$2 + 36 >> 2] = 0; - HEAP32[$2 + 44 >> 2] = HEAP32[$0 + 116 >> 2]; +function __ZN12_GLOBAL__N_114SwapAndRestoreIPKcED2Ev($this) { + $this = $this | 0; + if (HEAP8[$this + 8 >> 0] | 0) HEAP32[HEAP32[$this >> 2] >> 2] = HEAP32[$this + 4 >> 2]; return; } -function _i64Add(a, b, c, d) { - a = a | 0; - b = b | 0; - c = c | 0; - d = d | 0; - var l = 0; - l = a + c >>> 0; - return (setTempRet0(b + d + (l >>> 0 < a >>> 0 | 0) >>> 0 | 0), l | 0) | 0; +function __ZNK6vision14VisualDatabaseINS_14FREAKExtractorENS_18BinaryFeatureStoreENS_20BinaryFeatureMatcherILi96EEEE7inliersEv($this) { + $this = $this | 0; + return $this + 12 | 0; } -function _arGetPattRatio($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0; - if (!$0) $$0 = -1; else { - HEAPF64[$1 >> 3] = +HEAPF64[$0 + 7062416 >> 3]; - $$0 = 0; - } - return $$0 | 0; +function __ZN6vision10FastMedianIfEET_PS1_i($a, $n) { + $a = $a | 0; + $n = $n | 0; + return +(+__ZN6vision11PartialSortIfEET_PS1_ii($a, $n, ($n & 1) + -1 + (($n | 0) / 2 | 0) | 0)); } -function ___cxa_pure_virtual() { - var sp = 0; - sp = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - _abort_message(51262, sp); +function __ZNSt3__213basic_ostreamIwNS_11char_traitsIwEEED0Ev($this) { + $this = $this | 0; + __ZNSt3__213basic_ostreamIwNS_11char_traitsIwEEED1Ev($this); + __ZdlPv($this); + return; } -function __ZNSt3__210__time_putD2Ev($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = HEAP32[$0 >> 2] | 0; - if (($1 | 0) != (__ZNSt3__26__clocEv() | 0)) _freelocale(HEAP32[$0 >> 2] | 0); +function __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEED0Ev($this) { + $this = $this | 0; + __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEED1Ev($this); + __ZdlPv($this); return; } -function __ZN6vision21HoughSimilarityVoting21setRefImageDimensionsEii($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - HEAP32[$0 >> 2] = $1; - HEAP32[$0 + 4 >> 2] = $2; +function __ZNSt3__213basic_istreamIwNS_11char_traitsIwEEED0Ev($this) { + $this = $this | 0; + __ZNSt3__213basic_istreamIwNS_11char_traitsIwEEED1Ev($this); + __ZdlPv($this); return; } -function __ZNK12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_24ForwardTemplateReferenceELm4EE8isInlineEv($0) { - $0 = $0 | 0; - return (HEAP32[$0 >> 2] | 0) == ($0 + 12 | 0) | 0; +function __ZNSt3__213basic_istreamIcNS_11char_traitsIcEEED0Ev($this) { + $this = $this | 0; + __ZNSt3__213basic_istreamIcNS_11char_traitsIcEEED1Ev($this); + __ZdlPv($this); + return; } -function __ZN6vision17PriorityQueueItemILi96EEC2EPKNS_4NodeILi96EEEj($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - HEAP32[$0 >> 2] = $1; - HEAP32[$0 + 4 >> 2] = $2; +function __ZNKSt3__28ios_base6getlocEv($agg$result, $this) { + $agg$result = $agg$result | 0; + $this = $this | 0; + __ZNSt3__26localeC2ERKS0_($agg$result, $this + 28 | 0); return; } -function __ZNK6vision14VisualDatabaseINS_14FREAKExtractorENS_18BinaryFeatureStoreENS_20BinaryFeatureMatcherILi96EEEE9matchedIdEv($0) { - $0 = $0 | 0; - return HEAP32[$0 + 24 >> 2] | 0; +function __ZNK12_GLOBAL__N_116itanium_demangle9NodeArrayixEm($this, $Idx) { + $this = $this | 0; + $Idx = $Idx | 0; + return HEAP32[(HEAP32[$this >> 2] | 0) + ($Idx << 2) >> 2] | 0; } -function __ZN6vision28BinaryHierarchicalClusteringILi96EE13setNumCentersEi($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - __ZN6vision14BinarykMedoidsILi96EE4setkEi($0 + 12 | 0, $1); +function __ZNK12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE8isInlineEv($this) { + $this = $this | 0; + return (HEAP32[$this >> 2] | 0) == ($this + 12 | 0) | 0; +} + +function __ZN12_GLOBAL__N_114SwapAndRestoreIjED2Ev($this) { + $this = $this | 0; + if (HEAP8[$this + 8 >> 0] | 0) HEAP32[HEAP32[$this >> 2] >> 2] = HEAP32[$this + 4 >> 2]; return; } -function __ZN12_GLOBAL__N_116DefaultAllocator17allocateNodeArrayEm($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return __ZN12_GLOBAL__N_120BumpPointerAllocator8allocateEm($0, $1 << 2) | 0; +function __ZNK12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm8EE8isInlineEv($this) { + $this = $this | 0; + return (HEAP32[$this >> 2] | 0) == ($this + 12 | 0) | 0; } -function _arGetImageProcMode($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0; - if (!$0) $$0 = -1; else { - HEAP32[$1 >> 2] = HEAP32[$0 + 20 >> 2]; - $$0 = 0; - } - return $$0 | 0; +function __ZN6vision10CopyVectorIhEEvPT_PKS1_m($dst, $src, $size) { + $dst = $dst | 0; + $src = $src | 0; + $size = $size | 0; + _memcpy($dst | 0, $src | 0, $size | 0) | 0; + return; } -function __ZN6vision10FastRandomERi($0) { - $0 = $0 | 0; - var $3 = 0; - $3 = ((HEAP32[$0 >> 2] | 0) * 214013 | 0) + 2531011 | 0; - HEAP32[$0 >> 2] = $3; - return $3 >>> 16 & 32767 | 0; +function ___cxa_is_pointer_type($type) { + $type = $type | 0; + var $2 = 0; + if (!$type) $2 = 0; else $2 = (___dynamic_cast($type, 13904, 13992, 0) | 0) != 0 & 1; + return $2 | 0; } -function _strtoull($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = _strtox_735($0, $1, $2, -1, -1) | 0; - setTempRet0(getTempRet0() | 0); - return $3 | 0; +function ___cxa_guard_acquire($guard_object) { + $guard_object = $guard_object | 0; + return ((__ZN10__cxxabiv112_GLOBAL__N_114is_initializedEPj($guard_object) | 0) ^ 1) & 1 | 0; } -function __ZN6vision10FastMedianIfEET_PS1_i($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return +(+__ZN6vision11PartialSortIfEET_PS1_ii($0, $1, ($1 & 1) + -1 + (($1 | 0) / 2 | 0) | 0)); +function __ZNSt3__29money_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEED0Ev($this) { + $this = $this | 0; + __ZNSt3__26locale5facetD2Ev($this); + __ZdlPv($this); + return; } -function __ZN6vision10CauchyCostIfEET_PKS1_S1_($0, $1) { - $0 = $0 | 0; - $1 = +$1; - return +(+__ZN6vision10CauchyCostIfEET_S1_S1_S1_(+HEAPF32[$0 >> 2], +HEAPF32[$0 + 4 >> 2], $1)); +function __ZNSt3__29money_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEED0Ev($this) { + $this = $this | 0; + __ZNSt3__26locale5facetD2Ev($this); + __ZdlPv($this); + return; } -function __ZN6vision14SampleReceptorERKNS_5ImageEff($0, $1, $2) { - $0 = $0 | 0; - $1 = +$1; - $2 = +$2; - return +(+__ZN6vision22SampleReceptorBilinearERKNS_5ImageEff($0, $1, $2)); +function __ZNSt3__29money_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEED0Ev($this) { + $this = $this | 0; + __ZNSt3__26locale5facetD2Ev($this); + __ZdlPv($this); + return; +} + +function __ZNSt3__29money_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEED0Ev($this) { + $this = $this | 0; + __ZNSt3__26locale5facetD2Ev($this); + __ZdlPv($this); + return; +} + +function __ZNSt3__28ios_base5clearEj($this, $state) { + $this = $this | 0; + $state = $state | 0; + HEAP32[$this + 16 >> 2] = (HEAP32[$this + 24 >> 2] | 0) == 0 | $state; + return; } function b12(p0, p1, p2, p3, p4, p5, p6) { @@ -106897,30 +107716,53 @@ function b12(p0, p1, p2, p3, p4, p5, p6) { return 0; } -function _new_color_map_1_quant($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = HEAP32[$0 >> 2] | 0; - HEAP32[$1 + 20 >> 2] = 47; - FUNCTION_TABLE_vi[HEAP32[$1 >> 2] & 255]($0); +function __ZNSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEED0Ev($this) { + $this = $this | 0; + __ZNSt3__26locale5facetD2Ev($this); + __ZdlPv($this); return; } -function __ZNK12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE4sizeEv($0) { - $0 = $0 | 0; - return (HEAP32[$0 + 4 >> 2] | 0) - (HEAP32[$0 >> 2] | 0) >> 2 | 0; +function __ZNSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEED0Ev($this) { + $this = $this | 0; + __ZNSt3__26locale5facetD2Ev($this); + __ZdlPv($this); + return; +} + +function __ZNSt3__27num_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEED0Ev($this) { + $this = $this | 0; + __ZNSt3__26locale5facetD2Ev($this); + __ZdlPv($this); + return; +} + +function __ZNSt3__27num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEED0Ev($this) { + $this = $this | 0; + __ZNSt3__26locale5facetD2Ev($this); + __ZdlPv($this); + return; +} + +function __ZNSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEED0Ev($this) { + $this = $this | 0; + __ZNSt3__26locale5facetD2Ev($this); + __ZdlPv($this); + return; } -function _finish_input_pass($0) { - $0 = $0 | 0; - FUNCTION_TABLE_vi[HEAP32[(HEAP32[$0 + 468 >> 2] | 0) + 8 >> 2] & 255]($0); - HEAP32[HEAP32[$0 + 460 >> 2] >> 2] = 90; +function __ZNSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEED0Ev($this) { + $this = $this | 0; + __ZNSt3__26locale5facetD2Ev($this); + __ZdlPv($this); return; } -function __ZNK12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm8EE4sizeEv($0) { - $0 = $0 | 0; - return (HEAP32[$0 + 4 >> 2] | 0) - (HEAP32[$0 >> 2] | 0) >> 2 | 0; +function __ZNKSt3__29__num_getIcE12__do_widen_pERNS_8ios_baseEPc($this, $__iob, $__atoms) { + $this = $this | 0; + $__iob = $__iob | 0; + $__atoms = $__atoms | 0; + return 12928; } function dynCall_iiii(index, a1, a2, a3) { @@ -106931,65 +107773,46 @@ function dynCall_iiii(index, a1, a2, a3) { return FUNCTION_TABLE_iiii[index & 63](a1 | 0, a2 | 0, a3 | 0) | 0; } -function _arSetMatrixCodeType($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0; - if (!$0) $$0 = -1; else { - HEAP32[$0 + 7062424 >> 2] = $1; - $$0 = 0; - } - return $$0 | 0; -} - -function _arGetTransMatMultiSquareRobust($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - return +(+_arGetTransMatMultiSquare2($0, $1, $2, $3, 1)); -} - -function __ZNSt3__24pairIKiNS_10shared_ptrIN6vision8KeyframeILi96EEEEEED2Ev($0) { - $0 = $0 | 0; - __ZNSt3__210shared_ptrIN6vision8KeyframeILi96EEEED2Ev($0 + 4 | 0); +function __ZNSt3__26locale2id6__initEv($this) { + $this = $this | 0; + var $0 = 0; + $0 = HEAP32[16843] | 0; + HEAP32[16843] = $0 + 1; + HEAP32[$this + 4 >> 2] = $0 + 1; return; } -function __ZNK6vision17PriorityQueueItemILi96EEltERKS1_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return (HEAP32[$0 + 4 >> 2] | 0) >>> 0 > (HEAP32[$1 + 4 >> 2] | 0) >>> 0 | 0; +function __ZNKSt3__25ctypeIwE9do_narrowEwc($this, $c, $dfault) { + $this = $this | 0; + $c = $c | 0; + $dfault = $dfault | 0; + return ($c >>> 0 < 128 ? $c & 255 : $dfault) | 0; } -function __ZNK12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE5emptyEv($0) { - $0 = $0 | 0; - return (HEAP32[$0 >> 2] | 0) == (HEAP32[$0 + 4 >> 2] | 0) | 0; +function ___ctype_get_mb_cur_max() { + var $locale = 0; + $locale = (___pthread_self_212() | 0) + 188 | 0; + return ((HEAP32[HEAP32[$locale >> 2] >> 2] | 0) == 0 ? 1 : 4) | 0; } -function __ZN6vision9ExceptionD2Ev($0) { - $0 = $0 | 0; - HEAP32[$0 >> 2] = 16788; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev($0 + 4 | 0); - return; +function __ZNKSt3__25ctypeIcE9do_narrowEcc($this, $c, $dfault) { + $this = $this | 0; + $c = $c | 0; + $dfault = $dfault | 0; + return ($c << 24 >> 24 > -1 ? $c : $dfault) | 0; } -function __ZN6vision4min3IfEET_S1_S1_S1_($0, $1, $2) { - $0 = +$0; - $1 = +$1; - $2 = +$2; - return +(+__ZN6vision4min2IfEET_S1_S1_(+__ZN6vision4min2IfEET_S1_S1_($0, $1), $2)); +function __ZNK6vision10DoGPyramid14scaleFromIndexEi($this, $index) { + $this = $this | 0; + $index = $index | 0; + return ($index | 0) % (HEAP32[$this + 16 >> 2] | 0) | 0 | 0; } -function _icpSetInlierProbability($0, $1) { - $0 = $0 | 0; - $1 = +$1; - var $$0 = 0; - if (!$0) $$0 = -1; else { - HEAPF64[$0 + 128 >> 3] = $1; - $$0 = 0; - } - return $$0 | 0; +function __ZN6vision4min3IfEET_S1_S1_S1_($x, $y, $z) { + $x = +$x; + $y = +$y; + $z = +$z; + return +(+__ZN6vision4min2IfEET_S1_S1_(+__ZN6vision4min2IfEET_S1_S1_($x, $y), $z)); } function ___udivdi3($a$0, $a$1, $b$0, $b$1) { @@ -107000,53 +107823,69 @@ function ___udivdi3($a$0, $a$1, $b$0, $b$1) { return ___udivmoddi4($a$0, $a$1, $b$0, $b$1, 0) | 0; } -function _strchr($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = ___strchrnul($0, $1) | 0; - return ((HEAP8[$2 >> 0] | 0) == ($1 & 255) << 24 >> 24 ? $2 : 0) | 0; +function __ZNSt3__212_GLOBAL__N_14makeINS_9money_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEEEjEERT_T0_() { + HEAP32[16455] = 0; + HEAP32[16454] = 23052; + return; } -function __ZNSt3__220__shared_ptr_pointerIPhNS_14default_deleteIhEENS_9allocatorIhEEE16__on_zero_sharedEv($0) { - $0 = $0 | 0; - __ZdlPv(HEAP32[$0 + 12 >> 2] | 0); +function __ZNSt3__212_GLOBAL__N_14makeINS_9money_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEEEjEERT_T0_() { + HEAP32[16453] = 0; + HEAP32[16452] = 23024; return; } -function __ZNSt3__212_GLOBAL__N_14makeINS_9money_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEEEjEERT_T0_() { - HEAP32[16243] = 0; - HEAP32[16242] = 23052; +function __ZNSt3__212_GLOBAL__N_14makeINS_9money_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEEEjEERT_T0_() { + HEAP32[16451] = 0; + HEAP32[16450] = 22996; return; } -function __ZNSt3__212_GLOBAL__N_14makeINS_9money_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEEEjEERT_T0_() { - HEAP32[16241] = 0; - HEAP32[16240] = 23024; +function __ZNSt3__212_GLOBAL__N_14makeINS_9money_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEEjEERT_T0_() { + HEAP32[16449] = 0; + HEAP32[16448] = 22968; return; } -function __ZNSt3__212_GLOBAL__N_14makeINS_9money_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEEEjEERT_T0_() { - HEAP32[16239] = 0; - HEAP32[16238] = 22996; +function __ZN6vision28BinaryHierarchicalClusteringILi96EE21setMinFeaturesPerNodeEi($this, $n) { + $this = $this | 0; + $n = $n | 0; + HEAP32[$this + 108 >> 2] = $n; return; } -function __ZNSt3__212_GLOBAL__N_14makeINS_9money_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEEjEERT_T0_() { - HEAP32[16237] = 0; - HEAP32[16236] = 22968; +function __ZN6vision10ZeroVectorIfEEvPT_m($x, $num_elements) { + $x = $x | 0; + $num_elements = $num_elements | 0; + _memset($x | 0, 0, $num_elements << 2 | 0) | 0; return; } -function __ZNSt3__211char_traitsIcE4moveEPcPKcm($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - if ($2 | 0) _memmove($0 | 0, $1 | 0, $2 | 0) | 0; - return $0 | 0; +function __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm8EE5clearEv($this) { + $this = $this | 0; + HEAP32[$this + 4 >> 2] = HEAP32[$this >> 2]; + return; +} + +function _fputs($s, $f) { + $s = $s | 0; + $f = $f | 0; + var $call = 0; + $call = _strlen($s) | 0; + return ((_fwrite($s, 1, $call, $f) | 0) != ($call | 0)) << 31 >> 31 | 0; } -function _compE_180($a, $b) { +function _dot($a1, $a2, $a3, $b1, $b2, $b3) { + $a1 = +$a1; + $a2 = +$a2; + $a3 = +$a3; + $b1 = +$b1; + $b2 = +$b2; + $b3 = +$b3; + return +($a1 * $b1 + $a2 * $b2 + $a3 * $b3); +} + +function _compE_184($a, $b) { $a = $a | 0; $b = $b | 0; var $sub = 0.0; @@ -107054,311 +107893,240 @@ function _compE_180($a, $b) { return ($sub < 0.0 ? -1 : $sub > 0.0 & 1) | 0; } -function _arImageProcLumaHistAndCDFAndMedian($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - return _arImageProcLumaHistAndCDFAndPercentile($0, $1, .5, $2) | 0; -} - -function __ZNSt3__220__shared_ptr_pointerIPhNS_14default_deleteIhEENS_9allocatorIhEEED0Ev($0) { - $0 = $0 | 0; - __ZNSt3__214__shared_countD2Ev($0); - __ZdlPv($0); +function __ZNSt3__215basic_streambufIwNS_11char_traitsIwEEED2Ev($this) { + $this = $this | 0; + HEAP32[$this >> 2] = 20632; + __ZNSt3__26localeD2Ev($this + 4 | 0); return; } -function __ZNSt3__211char_traitsIcE4copyEPcPKcm($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - if ($2 | 0) _memcpy($0 | 0, $1 | 0, $2 | 0) | 0; - return $0 | 0; -} - -function __ZN12_GLOBAL__N_116itanium_demangle22AbstractManglingParserINS0_14ManglingParserINS_16DefaultAllocatorEEES3_E10getDerivedEv($0) { - $0 = $0 | 0; - return $0 | 0; +function __ZNSt3__215basic_streambufIcNS_11char_traitsIcEEED2Ev($this) { + $this = $this | 0; + HEAP32[$this >> 2] = 20568; + __ZNSt3__26localeD2Ev($this + 4 | 0); + return; } -function __ZN12_GLOBAL__N_116itanium_demangle12NodeOrStringC2EPNS0_4NodeE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - HEAP32[$0 >> 2] = $1; - HEAP32[$0 + 4 >> 2] = 0; +function __ZN12_GLOBAL__N_112OutputStream18setCurrentPositionEm($this, $NewPos) { + $this = $this | 0; + $NewPos = $NewPos | 0; + HEAP32[$this + 4 >> 2] = $NewPos; return; } -function _ar2SetTemplateSize2($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0; - if (!$0) $$0 = -1; else { - HEAP32[$0 + 32 >> 2] = $1; - $$0 = 0; - } - return $$0 | 0; +function _wctomb($s, $wc) { + $s = $s | 0; + $wc = $wc | 0; + var $retval$0 = 0; + if (!$s) $retval$0 = 0; else $retval$0 = _wcrtomb($s, $wc, 0) | 0; + return $retval$0 | 0; } -function _ar2SetTemplateSize1($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0; - if (!$0) $$0 = -1; else { - HEAP32[$0 + 28 >> 2] = $1; - $$0 = 0; - } - return $$0 | 0; +function __ZNSt3__24pairIKiNS_6vectorIiNS_9allocatorIiEEEEED2Ev($this) { + $this = $this | 0; + __ZNSt3__213__vector_baseIiNS_9allocatorIiEEED2Ev($this + 4 | 0); + return; } function __ZNSt3__212_GLOBAL__N_14makeINS_7num_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEEEjEERT_T0_() { - HEAP32[16227] = 0; - HEAP32[16226] = 21388; + HEAP32[16439] = 0; + HEAP32[16438] = 21388; return; } function __ZNSt3__212_GLOBAL__N_14makeINS_7num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEEEjEERT_T0_() { - HEAP32[16225] = 0; - HEAP32[16224] = 21336; + HEAP32[16437] = 0; + HEAP32[16436] = 21336; return; } function __ZNSt3__212_GLOBAL__N_14makeINS_7num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEEEjEERT_T0_() { - HEAP32[16223] = 0; - HEAP32[16222] = 21272; + HEAP32[16435] = 0; + HEAP32[16434] = 21272; return; } function __ZNSt3__212_GLOBAL__N_14makeINS_7num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEEjEERT_T0_() { - HEAP32[16221] = 0; - HEAP32[16220] = 21208; + HEAP32[16433] = 0; + HEAP32[16432] = 21208; return; } -function _arGetTransMatMultiSquare($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - return +(+_arGetTransMatMultiSquare2($0, $1, $2, $3, 0)); -} - -function _ar2SetTrackingThresh($0, $1) { - $0 = $0 | 0; - $1 = +$1; - var $$0 = 0; - if (!$0) $$0 = -1; else { - HEAPF32[$0 + 44 >> 2] = $1; - $$0 = 0; - } - return $$0 | 0; -} - -function __ZZN12_GLOBAL__N_116itanium_demangle13ParameterPackC1ENS0_9NodeArrayEENKUlPNS0_4NodeEE1_clES4_($0) { - $0 = $0 | 0; - return (HEAP8[$0 + 5 >> 0] | 0) == 1 | 0; -} - -function __ZZN12_GLOBAL__N_116itanium_demangle13ParameterPackC1ENS0_9NodeArrayEENKUlPNS0_4NodeEE0_clES4_($0) { - $0 = $0 | 0; - return (HEAP8[$0 + 7 >> 0] | 0) == 1 | 0; -} - -function __ZNSt3__220__shared_ptr_pointerIPh16NullArrayDeleterIhENS_9allocatorIhEEED0Ev($0) { - $0 = $0 | 0; - __ZNSt3__214__shared_countD2Ev($0); - __ZdlPv($0); +function __ZN6vision20BinaryFeatureMatcherILi96EED2Ev($this) { + $this = $this | 0; + __ZNSt3__213__vector_baseIN6vision7match_tENS_9allocatorIS2_EEED2Ev($this); return; } -function __ZNSt3__217_DeallocateCaller27__do_deallocate_handle_sizeEPvm($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - __ZNSt3__217_DeallocateCaller9__do_callEPv($0); - return; +function __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_24ForwardTemplateReferenceELm4EE5beginEv($this) { + $this = $this | 0; + return HEAP32[$this >> 2] | 0; } -function __ZNSt3__215basic_streambufIwNS_11char_traitsIwEEED0Ev($0) { - $0 = $0 | 0; - __ZNSt3__215basic_streambufIwNS_11char_traitsIwEEED2Ev($0); - __ZdlPv($0); +function _jpeg_free_small($cinfo, $object, $sizeofobject) { + $cinfo = $cinfo | 0; + $object = $object | 0; + $sizeofobject = $sizeofobject | 0; + _free($object); return; } -function __ZNSt3__215basic_streambufIcNS_11char_traitsIcEEED0Ev($0) { - $0 = $0 | 0; - __ZNSt3__215basic_streambufIcNS_11char_traitsIcEEED2Ev($0); - __ZdlPv($0); +function _jpeg_free_large($cinfo, $object, $sizeofobject) { + $cinfo = $cinfo | 0; + $object = $object | 0; + $sizeofobject = $sizeofobject | 0; + _free($object); return; } -function __ZNK6vision14VisualDatabaseINS_14FREAKExtractorENS_18BinaryFeatureStoreENS_20BinaryFeatureMatcherILi96EEEE7inliersEv($0) { - $0 = $0 | 0; - return $0 + 12 | 0; +function __ZZN12_GLOBAL__N_116itanium_demangle13ParameterPackC1ENS0_9NodeArrayEENKUlPNS0_4NodeEE1_clES4_($P) { + $P = $P | 0; + return (HEAP8[$P + 5 >> 0] | 0) == 1 | 0; } -function __ZZN12_GLOBAL__N_116itanium_demangle13ParameterPackC1ENS0_9NodeArrayEENKUlPNS0_4NodeEE_clES4_($0) { - $0 = $0 | 0; - return (HEAP8[$0 + 6 >> 0] | 0) == 1 | 0; +function __ZZN12_GLOBAL__N_116itanium_demangle13ParameterPackC1ENS0_9NodeArrayEENKUlPNS0_4NodeEE0_clES4_($P) { + $P = $P | 0; + return (HEAP8[$P + 7 >> 0] | 0) == 1 | 0; } -function __ZNSt3__28ios_base33__set_badbit_and_consider_rethrowEv($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = $0 + 16 | 0; - HEAP32[$1 >> 2] = HEAP32[$1 >> 2] | 1; - return; +function __ZNK6vision18BinaryFeatureStore4sizeEv($this) { + $this = $this | 0; + return ((HEAP32[$this + 20 >> 2] | 0) - (HEAP32[$this + 16 >> 2] | 0) | 0) / 20 | 0 | 0; } -function __ZN6vision8fastexp6IfEET_S1_($0) { - $0 = +$0; - return +((((((($0 + 6.0) * $0 + 30.0) * $0 + 120.0) * $0 + 360.0) * $0 + 720.0) * $0 + 720.0) * .0013888888); +function __ZZN12_GLOBAL__N_116itanium_demangle13ParameterPackC1ENS0_9NodeArrayEENKUlPNS0_4NodeEE_clES4_($P) { + $P = $P | 0; + return (HEAP8[$P + 6 >> 0] | 0) == 1 | 0; } -function _ar2SetSearchSize($0, $1) { +function __ZNSt3__215basic_streambufIwNS_11char_traitsIwEEE9pbackfailEj($this, $0) { + $this = $this | 0; $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0; - if (!$0) $$0 = -1; else { - HEAP32[$0 + 24 >> 2] = $1; - $$0 = 0; - } - return $$0 | 0; + return __ZNSt3__211char_traitsIwE3eofEv() | 0; } -function b23(p0, p1, p2, p3, p4, p5, p6) { - p0 = p0 | 0; - p1 = p1 | 0; - p2 = p2 | 0; - p3 = p3 | 0; - p4 = p4 | 0; - p5 = p5 | 0; - p6 = p6 | 0; - nullFunc_viiiiiii(23); +function __ZNSt3__215basic_streambufIcNS_11char_traitsIcEEE9pbackfailEi($this, $0) { + $this = $this | 0; + $0 = $0 | 0; + return __ZNSt3__211char_traitsIcE3eofEv() | 0; } -function _arMatrixSelfInvf($0) { - $0 = $0 | 0; - var $3 = 0; - $3 = HEAP32[$0 + 4 >> 2] | 0; - return ((_minvf(HEAP32[$0 >> 2] | 0, $3, $3) | 0) == 0) << 31 >> 31 | 0; +function __ZN6vision8fastexp6IfEET_S1_($x) { + $x = +$x; + return +((((((($x + 6.0) * $x + 30.0) * $x + 120.0) * $x + 360.0) * $x + 720.0) * $x + 720.0) * .0013888888); } -function _icpGetXw2XcCleanup_221($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - _free($0); - _free($1); - _free($2); - _free($3); +function __ZN12_GLOBAL__N_116itanium_demangleoRERNS0_10QualifiersES1_($Q1, $Q2) { + $Q1 = $Q1 | 0; + $Q2 = $Q2 | 0; + HEAP32[$Q1 >> 2] = HEAP32[$Q1 >> 2] | $Q2; return; } -function __ZNSt3__26locale5facet16__on_zero_sharedEv($0) { - $0 = $0 | 0; - if ($0 | 0) FUNCTION_TABLE_vi[HEAP32[(HEAP32[$0 >> 2] | 0) + 4 >> 2] & 255]($0); +function _reset_error_mgr($cinfo) { + $cinfo = $cinfo | 0; + var $0 = 0; + $0 = HEAP32[$cinfo >> 2] | 0; + HEAP32[$0 + 108 >> 2] = 0; + HEAP32[$0 + 20 >> 2] = 0; return; } -function __ZNSt3__213basic_ostreamIwNS_11char_traitsIwEEED0Ev($0) { - $0 = $0 | 0; - __ZNSt3__213basic_ostreamIwNS_11char_traitsIwEEED1Ev($0); - __ZdlPv($0); - return; +function _error_exit($cinfo) { + $cinfo = $cinfo | 0; + FUNCTION_TABLE_vi[HEAP32[(HEAP32[$cinfo >> 2] | 0) + 8 >> 2] & 255]($cinfo); + _jpeg_destroy($cinfo); + _exit(1); } -function __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEED0Ev($0) { - $0 = $0 | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEED1Ev($0); - __ZdlPv($0); - return; +function _compE($a, $b) { + $a = $a | 0; + $b = $b | 0; + var $sub = 0.0; + $sub = +HEAPF64[$a >> 3] - +HEAPF64[$b >> 3]; + return ($sub < 0.0 ? -1 : $sub > 0.0 & 1) | 0; } -function __ZNSt3__213basic_istreamIwNS_11char_traitsIwEEED0Ev($0) { +function __ZNSt3__215basic_streambufIwNS_11char_traitsIwEEE8overflowEj($this, $0) { + $this = $this | 0; $0 = $0 | 0; - __ZNSt3__213basic_istreamIwNS_11char_traitsIwEEED1Ev($0); - __ZdlPv($0); - return; + return __ZNSt3__211char_traitsIwE3eofEv() | 0; } -function __ZNSt3__213basic_istreamIcNS_11char_traitsIcEEED0Ev($0) { +function __ZNSt3__215basic_streambufIcNS_11char_traitsIcEEE8overflowEi($this, $0) { + $this = $this | 0; $0 = $0 | 0; - __ZNSt3__213basic_istreamIcNS_11char_traitsIcEEED1Ev($0); - __ZdlPv($0); - return; + return __ZNSt3__211char_traitsIcE3eofEv() | 0; } -function __ZNK12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE8isInlineEv($0) { - $0 = $0 | 0; - return (HEAP32[$0 >> 2] | 0) == ($0 + 12 | 0) | 0; +function __ZN6vision28BinaryHierarchicalClusteringILi96EE16setMaxNodesToPopEi($this, $n) { + $this = $this | 0; + $n = $n | 0; + HEAP32[$this + 104 >> 2] = $n; + return; } -function __ZN12_GLOBAL__N_110StringViewC2EPKcS2_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - HEAP32[$0 >> 2] = $1; - HEAP32[$0 + 4 >> 2] = $2; +function __ZN6vision10ZeroVectorIhEEvPT_m($x, $num_elements) { + $x = $x | 0; + $num_elements = $num_elements | 0; + _memset($x | 0, 0, $num_elements | 0) | 0; return; } -function _arMatrixSelfInv($0) { - $0 = $0 | 0; - var $3 = 0; - $3 = HEAP32[$0 + 4 >> 2] | 0; - return ((_minv(HEAP32[$0 >> 2] | 0, $3, $3) | 0) == 0) << 31 >> 31 | 0; +function b23(p0, p1, p2, p3, p4, p5, p6) { + p0 = p0 | 0; + p1 = p1 | 0; + p2 = p2 | 0; + p3 = p3 | 0; + p4 = p4 | 0; + p5 = p5 | 0; + p6 = p6 | 0; + nullFunc_viiiiiii(23); } -function _ar2SetSimThresh($0, $1) { - $0 = $0 | 0; - $1 = +$1; - var $$0 = 0; - if (!$0) $$0 = -1; else { - HEAPF32[$0 + 40 >> 2] = $1; - $$0 = 0; - } - return $$0 | 0; +function _fseek($f, $off, $whence) { + $f = $f | 0; + $off = $off | 0; + $whence = $whence | 0; + return ___fseeko($f, $off, (($off | 0) < 0) << 31 >> 31, $whence) | 0; } -function __ZNSt3__214__ptr_in_rangeIwEEbPKT_S3_S3_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - return $1 >>> 0 <= $0 >>> 0 & $0 >>> 0 < $2 >>> 0 | 0; +function _arMatrixSelfInvf($m) { + $m = $m | 0; + var $1 = 0; + $1 = HEAP32[$m + 4 >> 2] | 0; + return ((_minvf(HEAP32[$m >> 2] | 0, $1, $1) | 0) == 0) << 31 >> 31 | 0; } -function __ZNSt3__214__ptr_in_rangeIcEEbPKT_S3_S3_($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - return $1 >>> 0 <= $0 >>> 0 & $0 >>> 0 < $2 >>> 0 | 0; +function __ZNKSt3__26locale5__imp9use_facetEl($this, $id) { + $this = $this | 0; + $id = $id | 0; + return HEAP32[(HEAP32[$this + 8 >> 2] | 0) + ($id << 2) >> 2] | 0; } -function __ZNSt11logic_errorC2EPKc($0, $1) { +function __ZNK12_GLOBAL__N_116itanium_demangle16FunctionEncoding19hasRHSComponentSlowERNS_12OutputStreamE($this, $0) { + $this = $this | 0; $0 = $0 | 0; - $1 = $1 | 0; - HEAP32[$0 >> 2] = 17452; - __ZNSt3__218__libcpp_refstringC2EPKc($0 + 4 | 0, $1); - return; + return 1; } -function __ZNK12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm8EE8isInlineEv($0) { - $0 = $0 | 0; - return (HEAP32[$0 >> 2] | 0) == ($0 + 12 | 0) | 0; +function _arMatrixSelfInv($m) { + $m = $m | 0; + var $1 = 0; + $1 = HEAP32[$m + 4 >> 2] | 0; + return ((_minv(HEAP32[$m >> 2] | 0, $1, $1) | 0) == 0) << 31 >> 31 | 0; } -function __ZN12_GLOBAL__N_114SwapAndRestoreIbED2Ev($0) { - $0 = $0 | 0; - if (HEAP8[$0 + 5 >> 0] | 0) HEAP8[HEAP32[$0 >> 2] >> 0] = HEAP8[$0 + 4 >> 0] | 0; - return; +function _ar2UtilReplaceExt($filename, $n, $ext) { + $filename = $filename | 0; + $n = $n | 0; + $ext = $ext | 0; + return _arUtilReplaceExt($filename, $n, $ext) | 0; } -function __ZN12_GLOBAL__N_114SwapAndRestoreIPKcED2Ev($0) { - $0 = $0 | 0; - if (HEAP8[$0 + 8 >> 0] | 0) HEAP32[HEAP32[$0 >> 2] >> 2] = HEAP32[$0 + 4 >> 2]; - return; +function __ZNK6vision25GaussianScaleSpacePyramid4sizeEv($this) { + $this = $this | 0; + return (HEAP32[$this + 8 >> 2] | 0) - (HEAP32[$this + 4 >> 2] | 0) >> 5 | 0; } function dynCall_viii(index, a1, a2, a3) { @@ -107369,167 +108137,161 @@ function dynCall_viii(index, a1, a2, a3) { FUNCTION_TABLE_viii[index & 3](a1 | 0, a2 | 0, a3 | 0); } -function ___cxa_is_pointer_type($0) { - $0 = $0 | 0; - var $3 = 0; - if (!$0) $3 = 0; else $3 = (___dynamic_cast($0, 13904, 13992, 0) | 0) != 0 & 1; - return $3 | 0; +function __ZNK12_GLOBAL__N_116itanium_demangle9NodeArray3endEv($this) { + $this = $this | 0; + return (HEAP32[$this >> 2] | 0) + (HEAP32[$this + 4 >> 2] << 2) | 0; } -function __ZNSt3__29money_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEED0Ev($0) { - $0 = $0 | 0; - __ZNSt3__26locale5facetD2Ev($0); - __ZdlPv($0); +function __ZN6vision25DoGScaleInvariantDetector21setLaplacianThresholdEf($this, $tr) { + $this = $this | 0; + $tr = +$tr; + HEAPF32[$this + 52 >> 2] = $tr; return; } -function __ZNSt3__29money_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEED0Ev($0) { - $0 = $0 | 0; - __ZNSt3__26locale5facetD2Ev($0); - __ZdlPv($0); - return; +function __ZN10emscripten8internal14ArgArrayGetterINS0_8TypeListIJiiNSt3__212basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEEEEE3getEv() { + return 16984; } -function __ZNSt3__29money_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEED0Ev($0) { - $0 = $0 | 0; - __ZNSt3__26locale5facetD2Ev($0); - __ZdlPv($0); - return; +function __ZN10__cxxabiv112_GLOBAL__N_114is_initializedEPj($guard_object) { + $guard_object = $guard_object | 0; + return (HEAP8[$guard_object >> 0] | 0) != 0 | 0; } -function __ZNSt3__29money_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEED0Ev($0) { - $0 = $0 | 0; - __ZNSt3__26locale5facetD2Ev($0); - __ZdlPv($0); - return; +function __ZN10emscripten8internal14ArgArrayGetterINS0_8TypeListIJiNSt3__212basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEEEEE3getEv() { + return 16964; } -function __ZNSt3__26locale2id6__initEv($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = HEAP32[16631] | 0; - HEAP32[16631] = $1 + 1; - HEAP32[$0 + 4 >> 2] = $1 + 1; +function _strerror($e) { + $e = $e | 0; + var $locale = 0; + $locale = (___pthread_self() | 0) + 188 | 0; + return ___strerror_l($e, HEAP32[$locale >> 2] | 0) | 0; +} + +function __ZNSt3__29money_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEED2Ev($this) { + $this = $this | 0; + __ZNSt3__26locale5facetD2Ev($this); return; } -function __ZN10emscripten8internal14ArgArrayGetterINS0_8TypeListIJiiNSt3__212basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEEEEE3getEv() { - return 16984; +function __ZNSt3__29money_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEED2Ev($this) { + $this = $this | 0; + __ZNSt3__26locale5facetD2Ev($this); + return; } -function __ZNSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEED0Ev($0) { - $0 = $0 | 0; - __ZNSt3__26locale5facetD2Ev($0); - __ZdlPv($0); +function __ZNSt3__29money_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEED2Ev($this) { + $this = $this | 0; + __ZNSt3__26locale5facetD2Ev($this); return; } -function __ZNSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEED0Ev($0) { - $0 = $0 | 0; - __ZNSt3__26locale5facetD2Ev($0); - __ZdlPv($0); +function __ZNSt3__29money_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEED2Ev($this) { + $this = $this | 0; + __ZNSt3__26locale5facetD2Ev($this); return; } -function __ZN12_GLOBAL__N_120BumpPointerAllocatorC2Ev($0) { +function __ZNK12_GLOBAL__N_116itanium_demangle16FunctionEncoding15hasFunctionSlowERNS_12OutputStreamE($this, $0) { + $this = $this | 0; $0 = $0 | 0; - HEAP32[$0 >> 2] = 0; - HEAP32[$0 + 4 >> 2] = 0; - HEAP32[$0 + 4096 >> 2] = $0; - return; + return 1; } -function __ZN12_GLOBAL__N_114SwapAndRestoreIjED2Ev($0) { +function __ZNK12_GLOBAL__N_116itanium_demangle12FunctionType19hasRHSComponentSlowERNS_12OutputStreamE($this, $0) { + $this = $this | 0; $0 = $0 | 0; - if (HEAP8[$0 + 8 >> 0] | 0) HEAP32[HEAP32[$0 >> 2] >> 2] = HEAP32[$0 + 4 >> 2]; + return 1; +} + +function __ZNSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEED2Ev($this) { + $this = $this | 0; + __ZNSt3__26locale5facetD2Ev($this); return; } -function __ZN10emscripten8internal14ArgArrayGetterINS0_8TypeListIJiNSt3__212basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEEEEE3getEv() { - return 16964; +function __ZNSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEED2Ev($this) { + $this = $this | 0; + __ZNSt3__26locale5facetD2Ev($this); + return; } -function _wcslen($0) { - $0 = $0 | 0; - var $$0 = 0; - $$0 = $0; - while (1) if (!(HEAP32[$$0 >> 2] | 0)) break; else $$0 = $$0 + 4 | 0; - return $$0 - $0 >> 2 | 0; +function __ZNSt3__211__stdoutbufIwED0Ev($this) { + $this = $this | 0; + __ZNSt3__215basic_streambufIwNS_11char_traitsIwEEED2Ev($this); + __ZdlPv($this); + return; } -function __ZNSt3__27num_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEED0Ev($0) { - $0 = $0 | 0; - __ZNSt3__26locale5facetD2Ev($0); - __ZdlPv($0); +function __ZNSt3__211__stdoutbufIcED0Ev($this) { + $this = $this | 0; + __ZNSt3__215basic_streambufIcNS_11char_traitsIcEEED2Ev($this); + __ZdlPv($this); return; } -function __ZNSt3__27num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEED0Ev($0) { - $0 = $0 | 0; - __ZNSt3__26locale5facetD2Ev($0); - __ZdlPv($0); +function __ZN6vision25GaussianScaleSpacePyramidD0Ev($this) { + $this = $this | 0; + __ZN6vision25GaussianScaleSpacePyramidD2Ev($this); + __ZdlPv($this); return; } -function __ZNSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEED0Ev($0) { - $0 = $0 | 0; - __ZNSt3__26locale5facetD2Ev($0); - __ZdlPv($0); +function __ZNSt3__27num_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEED2Ev($this) { + $this = $this | 0; + __ZNSt3__26locale5facetD2Ev($this); return; } -function __ZNSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEED0Ev($0) { - $0 = $0 | 0; - __ZNSt3__26locale5facetD2Ev($0); - __ZdlPv($0); +function __ZNSt3__27num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEED2Ev($this) { + $this = $this | 0; + __ZNSt3__26locale5facetD2Ev($this); return; } -function __ZNK12_GLOBAL__N_116itanium_demangle9NodeArrayixEm($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return HEAP32[(HEAP32[$0 >> 2] | 0) + ($1 << 2) >> 2] | 0; +function __ZNSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEED2Ev($this) { + $this = $this | 0; + __ZNSt3__26locale5facetD2Ev($this); + return; } -function __ZN6vision28BinaryHierarchicalClusteringILi96EE21setMinFeaturesPerNodeEi($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - HEAP32[$0 + 108 >> 2] = $1; +function __ZNSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEED2Ev($this) { + $this = $this | 0; + __ZNSt3__26locale5facetD2Ev($this); return; } -function _fputs($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = _strlen($0) | 0; - return ((_fwrite($0, 1, $2, $1) | 0) != ($2 | 0)) << 31 >> 31 | 0; +function __ZNSt3__211char_traitsIcE6assignERcRKc($__c1, $__c2) { + $__c1 = $__c1 | 0; + $__c2 = $__c2 | 0; + HEAP8[$__c1 >> 0] = HEAP8[$__c2 >> 0] | 0; + return; } -function _compE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $4 = 0.0; - $4 = +HEAPF64[$0 >> 3] - +HEAPF64[$1 >> 3]; - return ($4 < 0.0 ? -1 : $4 > 0.0 & 1) | 0; +function __ZNSt3__210__stdinbufIwED0Ev($this) { + $this = $this | 0; + __ZNSt3__215basic_streambufIwNS_11char_traitsIwEEED2Ev($this); + __ZdlPv($this); + return; } -function __ZNSt3__215basic_streambufIwNS_11char_traitsIwEEE9pbackfailEj($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return __ZNSt3__211char_traitsIwE3eofEv() | 0; +function __ZNSt3__210__stdinbufIcED0Ev($this) { + $this = $this | 0; + __ZNSt3__215basic_streambufIcNS_11char_traitsIcEEED2Ev($this); + __ZdlPv($this); + return; } -function __ZNSt3__215basic_streambufIcNS_11char_traitsIcEEE9pbackfailEi($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return __ZNSt3__211char_traitsIcE3eofEv() | 0; +function __ZNKSt3__26vectorIN6vision25DoGScaleInvariantDetector12FeaturePointENS_9allocatorIS3_EEE8max_sizeEv($this) { + $this = $this | 0; + return 119304647; } -function __ZN12_GLOBAL__N_116itanium_demangleoRERNS0_10QualifiersES1_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - HEAP32[$0 >> 2] = HEAP32[$0 >> 2] | $1; +function __ZN10__cxxabiv123__fundamental_type_infoD0Ev($this) { + $this = $this | 0; + __ZN10__cxxabiv116__shim_type_infoD2Ev($this); + __ZdlPv($this); return; } @@ -107544,35 +108306,13 @@ function b11(p0, p1, p2, p3, p4, p5) { return 0; } -function __ZNSt3__24pairIKiNS_6vectorIiNS_9allocatorIiEEEEED2Ev($0) { - $0 = $0 | 0; - __ZNSt3__213__vector_baseIiNS_9allocatorIiEEED2Ev($0 + 4 | 0); - return; -} - -function __ZNSt3__215basic_streambufIwNS_11char_traitsIwEEE8overflowEj($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return __ZNSt3__211char_traitsIwE3eofEv() | 0; -} - -function __ZNSt3__215basic_streambufIcNS_11char_traitsIcEEE8overflowEi($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return __ZNSt3__211char_traitsIcE3eofEv() | 0; -} - -function __ZN6vision20BinaryFeatureMatcherILi96EED2Ev($0) { - $0 = $0 | 0; - __ZNSt3__213__vector_baseIN6vision7match_tENS_9allocatorIS2_EEED2Ev($0); +function __ZN6vision25DoGScaleInvariantDetector16setEdgeThresholdEf($this, $tr) { + $this = $this | 0; + $tr = +$tr; + HEAPF32[$this + 56 >> 2] = $tr; return; } -function __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_24ForwardTemplateReferenceELm4EE5beginEv($0) { - $0 = $0 | 0; - return HEAP32[$0 >> 2] | 0; -} - function __ZN10emscripten8internal6TypeIDINS_11memory_viewItEEvE3getEv() { return __ZN10emscripten8internal11LightTypeIDINS_11memory_viewItEEE3getEv() | 0; } @@ -107630,60 +108370,100 @@ function dynCall_viid(index, a1, a2, a3) { } function ___cxx_global_var_init_1() { - HEAP32[16320] = 0; - HEAP32[16321] = 0; - HEAP32[16322] = 0; - HEAP32[16323] = 0; - HEAP32[16324] = 1065353216; + HEAP32[16532] = 0; + HEAP32[16533] = 0; + HEAP32[16534] = 0; + HEAP32[16535] = 0; + HEAP32[16536] = 1065353216; return; } -function __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm8EE5clearEv($0) { - $0 = $0 | 0; - HEAP32[$0 + 4 >> 2] = HEAP32[$0 >> 2]; +function __ZNSt3__211char_traitsIwE6assignERwRKw($__c1, $__c2) { + $__c1 = $__c1 | 0; + $__c2 = $__c2 | 0; + HEAP32[$__c1 >> 2] = HEAP32[$__c2 >> 2]; return; } -function __ZNSt3__215basic_streambufIwNS_11char_traitsIwEEED2Ev($0) { +function __ZNK6vision18BinaryFeatureStore5pointEm($this, $i) { + $this = $this | 0; + $i = $i | 0; + return (HEAP32[$this + 16 >> 2] | 0) + ($i * 20 | 0) | 0; +} + +function __ZNK12_GLOBAL__N_116itanium_demangle9ArrayType19hasRHSComponentSlowERNS_12OutputStreamE($this, $0) { + $this = $this | 0; $0 = $0 | 0; - HEAP32[$0 >> 2] = 20632; - __ZNSt3__26localeD2Ev($0 + 4 | 0); - return; + return 1; } -function __ZNSt3__215basic_streambufIcNS_11char_traitsIcEEED2Ev($0) { +function __ZNK12_GLOBAL__N_116itanium_demangle12FunctionType15hasFunctionSlowERNS_12OutputStreamE($this, $0) { + $this = $this | 0; $0 = $0 | 0; - HEAP32[$0 >> 2] = 20568; - __ZNSt3__26localeD2Ev($0 + 4 | 0); + return 1; +} + +function __ZN12_GLOBAL__N_116itanium_demangle12NodeOrStringC2Ev($this) { + $this = $this | 0; + HEAP32[$this >> 2] = 0; + HEAP32[$this + 4 >> 2] = 0; return; } -function __ZNK12_GLOBAL__N_116itanium_demangle4Node11getBaseNameEv($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - __ZN12_GLOBAL__N_110StringViewC2Ev($0); +function __ZN10__cxxabiv121__vmi_class_type_infoD0Ev($this) { + $this = $this | 0; + __ZN10__cxxabiv116__shim_type_infoD2Ev($this); + __ZdlPv($this); return; } -function __ZNK12_GLOBAL__N_116itanium_demangle16FunctionEncoding19hasRHSComponentSlowERNS_12OutputStreamE($0, $1) { +function __ZNSt3__215basic_streambufIwNS_11char_traitsIwEEE6setbufEPwl($this, $0, $1) { + $this = $this | 0; $0 = $0 | 0; $1 = $1 | 0; - return 1; + return $this | 0; } -function __ZN6vision10CopyVectorIiEEvPT_PKS1_m($0, $1, $2) { +function __ZNSt3__215basic_streambufIcNS_11char_traitsIcEEE6setbufEPcl($this, $0, $1) { + $this = $this | 0; $0 = $0 | 0; $1 = $1 | 0; - $2 = $2 | 0; - _memcpy($0 | 0, $1 | 0, $2 << 2 | 0) | 0; + return $this | 0; +} + +function __ZNSt3__210shared_ptrIN6vision8KeyframeILi96EEEE18__enable_weak_thisEz($this, $varargs) { + $this = $this | 0; + $varargs = $varargs | 0; return; } -function __ZN6vision10CopyVectorIfEEvPT_PKS1_m($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - _memcpy($0 | 0, $1 | 0, $2 << 2 | 0) | 0; +function __ZNKSt3__26vectorINS0_INS0_INS_4pairIfmEENS_9allocatorIS2_EEEENS3_IS5_EEEENS3_IS7_EEE8max_sizeEv($this) { + $this = $this | 0; + return 357913941; +} + +function __ZNK6vision5Timer24duration_in_millisecondsEv($this) { + $this = $this | 0; + return +(+__ZNK6vision5Timer19duration_in_secondsEv($this) * 1.0e3); +} + +function __ZN6vision8KeyframeILi96EE9setHeightEi($this, $height) { + $this = $this | 0; + $height = $height | 0; + HEAP32[$this + 4 >> 2] = $height; + return; +} + +function __ZN6vision18BinaryFeatureStore5pointEm($this, $i) { + $this = $this | 0; + $i = $i | 0; + return (HEAP32[$this + 16 >> 2] | 0) + ($i * 20 | 0) | 0; +} + +function __ZN10__cxxabiv120__si_class_type_infoD0Ev($this) { + $this = $this | 0; + __ZN10__cxxabiv116__shim_type_infoD2Ev($this); + __ZdlPv($this); return; } @@ -107699,36 +108479,45 @@ function b10(p0, p1, p2, p3, p4, p5) { } function ___cxx_global_var_init() { - HEAP32[16315] = 0; - HEAP32[16316] = 0; - HEAP32[16317] = 0; - HEAP32[16318] = 0; - HEAP32[16319] = 1065353216; + HEAP32[16527] = 0; + HEAP32[16528] = 0; + HEAP32[16529] = 0; + HEAP32[16530] = 0; + HEAP32[16531] = 1065353216; return; } -function ___ctype_get_mb_cur_max() { - var $1 = 0; - $1 = (___pthread_self() | 0) + 188 | 0; - return ((HEAP32[HEAP32[$1 >> 2] >> 2] | 0) == 0 ? 1 : 4) | 0; -} - -function __ZN6vision28BinaryHierarchicalClusteringILi96EE16setMaxNodesToPopEi($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - HEAP32[$0 + 104 >> 2] = $1; +function __ZNSt3__27codecvtIwc11__mbstate_tED0Ev($this) { + $this = $this | 0; + __ZNSt3__27codecvtIwc11__mbstate_tED2Ev($this); + __ZdlPv($this); return; } function __ZNSt3__26locale5__imp12make_classicEv() { __ZNSt3__212_GLOBAL__N_14makeINS_6locale5__impEjEERT_T0_(); - HEAP32[16712] = 65064; - return 66848; + HEAP32[16924] = 65912; + return 67696; +} + +function __ZNK6vision10DoGPyramid3getEm($this, $index) { + $this = $this | 0; + $index = $index | 0; + return (HEAP32[$this >> 2] | 0) + ($index << 5) | 0; } -function __ZNK6vision18BinaryFeatureStore4sizeEv($0) { +function __ZNK12_GLOBAL__N_116itanium_demangle4Node13getSyntaxNodeERNS_12OutputStreamE($this, $0) { + $this = $this | 0; $0 = $0 | 0; - return ((HEAP32[$0 + 20 >> 2] | 0) - (HEAP32[$0 + 16 >> 2] | 0) | 0) / 20 | 0 | 0; + return $this | 0; +} + +function __ZN6vision6LoggerC2Ev($this) { + $this = $this | 0; + HEAP32[$this >> 2] = 0; + HEAP32[$this + 4 >> 2] = 0; + HEAP32[$this + 8 >> 2] = 0; + return; } function establishStackSpace(stackBase, stackMax) { @@ -107749,107 +108538,118 @@ function b4(p0, p1, p2, p3, p4, p5) { return 0; } -function _kpmCreateHandle($0) { +function ___emscripten_stdout_seek($f, $0, $1, $whence) { + $f = $f | 0; $0 = $0 | 0; - return __ZL19kpmCreateHandleCoreP9ARParamLTiii($0, HEAP32[$0 >> 2] | 0, HEAP32[$0 + 4 >> 2] | 0, 1) | 0; + $1 = $1 | 0; + $whence = $whence | 0; + setTempRet0(0); + return 0; } -function __ZN6vision10CauchyCostIfEET_S1_S1_S1_($0, $1, $2) { - $0 = +$0; - $1 = +$1; - $2 = +$2; - return +(+Math_log(+(($0 * $0 + $1 * $1) * $2 + 1.0))); +function __ZNSt11logic_errorD2Ev($this) { + $this = $this | 0; + HEAP32[$this >> 2] = 17452; + __ZNSt3__218__libcpp_refstringD2Ev($this + 4 | 0); + return; } -function __ZNK12_GLOBAL__N_116itanium_demangle16FunctionEncoding15hasFunctionSlowERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return 1; +function __ZN12_GLOBAL__N_116itanium_demangle9NodeArrayC2Ev($this) { + $this = $this | 0; + HEAP32[$this >> 2] = 0; + HEAP32[$this + 4 >> 2] = 0; + return; } -function __ZNK12_GLOBAL__N_116itanium_demangle12FunctionType19hasRHSComponentSlowERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return 1; +function __ZN10__cxxabiv117__class_type_infoD0Ev($this) { + $this = $this | 0; + __ZN10__cxxabiv116__shim_type_infoD2Ev($this); + __ZdlPv($this); + return; } -function __ZN6vision15HammingDistanceILi96EEEjPKhS2_($0, $1) { +function __ZNK12_GLOBAL__N_116itanium_demangle4Node19hasRHSComponentSlowERNS_12OutputStreamE($this, $0) { + $this = $this | 0; $0 = $0 | 0; - $1 = $1 | 0; - return __ZN6vision18HammingDistance768EPKjS1_($0, $1) | 0; + return 0; } -function _reset_error_mgr($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = HEAP32[$0 >> 2] | 0; - HEAP32[$1 + 108 >> 2] = 0; - HEAP32[$1 + 20 >> 2] = 0; +function __ZN6vision15HammingDistanceILi96EEEjPKhS2_($a, $b) { + $a = $a | 0; + $b = $b | 0; + return __ZN6vision18HammingDistance768EPKjS1_($a, $b) | 0; +} + +function __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE3endEv($this) { + $this = $this | 0; + return HEAP32[$this + 4 >> 2] | 0; +} + +function __ZN6vision14BinarykMedoidsILi96EE16setNumHypothesesEi($this, $n) { + $this = $this | 0; + $n = $n | 0; + HEAP32[$this + 8 >> 2] = $n; return; } -function __ZN6vision10CopyVectorIhEEvPT_PKS1_m($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - _memcpy($0 | 0, $1 | 0, $2 | 0) | 0; +function __ZN6vision10DoGPyramidD2Ev($this) { + $this = $this | 0; + __ZNSt3__213__vector_baseIN6vision5ImageENS_9allocatorIS2_EEED2Ev($this); return; } -function _strerror($0) { - $0 = $0 | 0; - var $2 = 0; - $2 = (___pthread_self_105() | 0) + 188 | 0; - return ___strerror_l($0, HEAP32[$2 >> 2] | 0) | 0; +function __ZN12_GLOBAL__N_120BumpPointerAllocatorD2Ev($this) { + $this = $this | 0; + __ZN12_GLOBAL__N_120BumpPointerAllocator5resetEv($this); + return; } -function __ZNKSt3__26vectorIN6vision25DoGScaleInvariantDetector12FeaturePointENS_9allocatorIS3_EEE8max_sizeEv($0) { - $0 = $0 | 0; - return 119304647; +function __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm8EE3endEv($this) { + $this = $this | 0; + return HEAP32[$this + 4 >> 2] | 0; } -function __ZN6vision7match_tC2Eii($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - HEAP32[$0 >> 2] = $1; - HEAP32[$0 + 4 >> 2] = $2; - return; +function __ZNSt3__215basic_streambufIwNS_11char_traitsIwEEE9underflowEv($this) { + $this = $this | 0; + return __ZNSt3__211char_traitsIwE3eofEv() | 0; } -function __ZNSt3__29money_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEED2Ev($0) { - $0 = $0 | 0; - __ZNSt3__26locale5facetD2Ev($0); - return; +function __ZNSt3__215basic_streambufIcNS_11char_traitsIcEEE9underflowEv($this) { + $this = $this | 0; + return __ZNSt3__211char_traitsIcE3eofEv() | 0; } -function __ZNSt3__29money_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEED2Ev($0) { +function __ZNK12_GLOBAL__N_116itanium_demangle9ArrayType12hasArraySlowERNS_12OutputStreamE($this, $0) { + $this = $this | 0; $0 = $0 | 0; - __ZNSt3__26locale5facetD2Ev($0); - return; + return 1; } -function __ZNSt3__29money_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEED2Ev($0) { - $0 = $0 | 0; - __ZNSt3__26locale5facetD2Ev($0); - return; +function __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE5beginEv($this) { + $this = $this | 0; + return HEAP32[$this >> 2] | 0; } -function __ZNSt3__29money_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEED2Ev($0) { - $0 = $0 | 0; - __ZNSt3__26locale5facetD2Ev($0); - return; +function __ZNSt3__211char_traitsIwE11eq_int_typeEjj($__c1, $__c2) { + $__c1 = $__c1 | 0; + $__c2 = $__c2 | 0; + return ($__c1 | 0) == ($__c2 | 0) | 0; } -function __ZNKSt3__26locale5__imp9use_facetEl($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return HEAP32[(HEAP32[$0 + 8 >> 2] | 0) + ($1 << 2) >> 2] | 0; +function __ZNSt3__211char_traitsIcE11eq_int_typeEii($__c1, $__c2) { + $__c1 = $__c1 | 0; + $__c2 = $__c2 | 0; + return ($__c1 | 0) == ($__c2 | 0) | 0; } -function __ZNK6vision25GaussianScaleSpacePyramid4sizeEv($0) { - $0 = $0 | 0; - return (HEAP32[$0 + 8 >> 2] | 0) - (HEAP32[$0 + 4 >> 2] | 0) >> 5 | 0; +function __ZNK12_GLOBAL__N_110StringView5emptyEv($this) { + $this = $this | 0; + return (HEAP32[$this >> 2] | 0) == (HEAP32[$this + 4 >> 2] | 0) | 0; +} + +function __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm8EE5beginEv($this) { + $this = $this | 0; + return HEAP32[$this >> 2] | 0; } function dynCall_iii(index, a1, a2) { @@ -107859,33 +108659,34 @@ function dynCall_iii(index, a1, a2) { return FUNCTION_TABLE_iii[index & 127](a1 | 0, a2 | 0) | 0; } -function __ZNSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEED2Ev($0) { - $0 = $0 | 0; - __ZNSt3__26locale5facetD2Ev($0); - return; -} - -function __ZNSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEED2Ev($0) { - $0 = $0 | 0; - __ZNSt3__26locale5facetD2Ev($0); - return; +function _swapc($x, $c) { + $x = $x | 0; + $c = $c | 0; + var $or5 = 0; + $or5 = _llvm_bswap_i32($x | 0) | 0; + return (($c | 0) == 0 ? $x : $or5) | 0; } -function __ZNK12_GLOBAL__N_116itanium_demangle9NodeArray3endEv($0) { - $0 = $0 | 0; - return (HEAP32[$0 >> 2] | 0) + (HEAP32[$0 + 4 >> 2] << 2) | 0; +function _jround_up($a, $b) { + $a = $a | 0; + $b = $b | 0; + var $add = 0; + $add = $a + -1 + $b | 0; + return $add - (($add | 0) % ($b | 0) | 0) | 0; } -function __ZNK12_GLOBAL__N_116itanium_demangle9ArrayType19hasRHSComponentSlowERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return 1; +function _catgets($catd, $set_id, $msg_id, $s) { + $catd = $catd | 0; + $set_id = $set_id | 0; + $msg_id = $msg_id | 0; + $s = $s | 0; + return $s | 0; } -function __ZNK12_GLOBAL__N_116itanium_demangle12FunctionType15hasFunctionSlowERNS_12OutputStreamE($0, $1) { +function __ZNK12_GLOBAL__N_116itanium_demangle4Node15hasFunctionSlowERNS_12OutputStreamE($this, $0) { + $this = $this | 0; $0 = $0 | 0; - $1 = $1 | 0; - return 1; + return 0; } function b22(p0, p1, p2, p3, p4, p5) { @@ -107898,240 +108699,185 @@ function b22(p0, p1, p2, p3, p4, p5) { nullFunc_viiiiii(22); } -function _dot($0, $1, $2, $3, $4, $5) { - $0 = +$0; - $1 = +$1; - $2 = +$2; - $3 = +$3; - $4 = +$4; - $5 = +$5; - return +($0 * $3 + $1 * $4 + $2 * $5); -} - -function __ZNSt3__28ios_base5clearEj($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - HEAP32[$0 + 16 >> 2] = (HEAP32[$0 + 24 >> 2] | 0) == 0 | $1; - return; -} - -function __ZNSt3__27num_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEED2Ev($0) { - $0 = $0 | 0; - __ZNSt3__26locale5facetD2Ev($0); - return; -} - -function __ZNSt3__27num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEED2Ev($0) { - $0 = $0 | 0; - __ZNSt3__26locale5facetD2Ev($0); - return; -} - -function __ZNSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEED2Ev($0) { - $0 = $0 | 0; - __ZNSt3__26locale5facetD2Ev($0); - return; +function __ZNK12_GLOBAL__N_110StringView4sizeEv($this) { + $this = $this | 0; + return (HEAP32[$this + 4 >> 2] | 0) - (HEAP32[$this >> 2] | 0) | 0; } -function __ZNSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEED2Ev($0) { - $0 = $0 | 0; - __ZNSt3__26locale5facetD2Ev($0); +function __ZN6vision8KeyframeILi96EE8setWidthEi($this, $width) { + $this = $this | 0; + $width = $width | 0; + HEAP32[$this >> 2] = $width; return; } -function __ZNSt3__210shared_ptrIN6vision8KeyframeILi96EEEE18__enable_weak_thisEz($0, $varargs) { - $0 = $0 | 0; - $varargs = $varargs | 0; +function __ZN12_GLOBAL__N_112OutputStreamC2Ev($this) { + $this = $this | 0; + HEAP32[$this + 12 >> 2] = -1; + HEAP32[$this + 16 >> 2] = -1; return; } -function __ZNKSt3__26vectorINS0_INS0_INS_4pairIfmEENS_9allocatorIS2_EEEENS3_IS5_EEEENS3_IS7_EEE8max_sizeEv($0) { - $0 = $0 | 0; - return 357913941; -} - -function __ZN6vision25DoGScaleInvariantDetector21setLaplacianThresholdEf($0, $1) { - $0 = $0 | 0; - $1 = +$1; - HEAPF32[$0 + 52 >> 2] = $1; +function __ZN6vision18BinomialPyramid32fD0Ev($this) { + $this = $this | 0; + __ZN6vision18BinomialPyramid32fD2Ev($this); + __ZdlPv($this); return; } -function __ZNKSt3__25ctypeIwE9do_narrowEwc($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - return ($1 >>> 0 < 128 ? $1 & 255 : $2) | 0; -} - -function __ZNK6vision10DoGPyramid14scaleFromIndexEi($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return ($1 | 0) % (HEAP32[$0 + 16 >> 2] | 0) | 0 | 0; -} - -function __ZN6vision11ZeroVector3IfEEvPT_($0) { - $0 = $0 | 0; - HEAP32[$0 >> 2] = 0; - HEAP32[$0 + 4 >> 2] = 0; - HEAP32[$0 + 8 >> 2] = 0; +function __ZN6vision11ZeroVector3IfEEvPT_($x) { + $x = $x | 0; + HEAP32[$x >> 2] = 0; + HEAP32[$x + 4 >> 2] = 0; + HEAP32[$x + 8 >> 2] = 0; return; } -function __ZNSt3__211__stdoutbufIwED0Ev($0) { - $0 = $0 | 0; - __ZNSt3__215basic_streambufIwNS_11char_traitsIwEEED2Ev($0); - __ZdlPv($0); - return; +function _jpeg_get_small($cinfo, $sizeofobject) { + $cinfo = $cinfo | 0; + $sizeofobject = $sizeofobject | 0; + return _malloc($sizeofobject) | 0; } -function __ZNSt3__211__stdoutbufIcED0Ev($0) { - $0 = $0 | 0; - __ZNSt3__215basic_streambufIcNS_11char_traitsIcEEED2Ev($0); - __ZdlPv($0); - return; +function _jpeg_get_large($cinfo, $sizeofobject) { + $cinfo = $cinfo | 0; + $sizeofobject = $sizeofobject | 0; + return _malloc($sizeofobject) | 0; } -function __ZNKSt3__25ctypeIcE9do_narrowEcc($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - return ($1 << 24 >> 24 > -1 ? $1 : $2) | 0; +function __ZNK6vision10DoGPyramid4sizeEv($this) { + $this = $this | 0; + return (HEAP32[$this + 4 >> 2] | 0) - (HEAP32[$this >> 2] | 0) >> 5 | 0; } -function __ZNK6vision18BinaryFeatureStore5pointEm($0, $1) { +function __ZNK12_GLOBAL__N_116itanium_demangle4Node12hasArraySlowERNS_12OutputStreamE($this, $0) { + $this = $this | 0; $0 = $0 | 0; - $1 = $1 | 0; - return (HEAP32[$0 + 16 >> 2] | 0) + ($1 * 20 | 0) | 0; + return 0; } -function __ZN6vision25GaussianScaleSpacePyramidD0Ev($0) { - $0 = $0 | 0; - __ZN6vision25GaussianScaleSpacePyramidD2Ev($0); - __ZdlPv($0); - return; +function __ZN6vision11Cofactor2x2IfEET_S1_S1_S1_S1_($a, $b, $c, $d) { + $a = +$a; + $b = +$b; + $c = +$c; + $d = +$d; + return +($a * $d - $b * $c); } -function __ZN6vision11Cofactor2x2IfEET_S1_S1_S1_S1_($0, $1, $2, $3) { - $0 = +$0; - $1 = +$1; - $2 = +$2; - $3 = +$3; - return +($0 * $3 - $1 * $2); +function _strcat($dest, $src) { + $dest = $dest | 0; + $src = $src | 0; + _strcpy($dest + (_strlen($dest) | 0) | 0, $src) | 0; + return $dest | 0; } -function __ZNSt3__215basic_streambufIwNS_11char_traitsIwEEE6setbufEPwl($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - return $0 | 0; +function __ZNSt3__25ctypeIcE21__classic_upper_tableEv() { + var $call = 0; + $call = ___ctype_toupper_loc() | 0; + return HEAP32[$call >> 2] | 0; } -function __ZNSt3__215basic_streambufIcNS_11char_traitsIcEEE6setbufEPcl($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - return $0 | 0; +function __ZNSt3__25ctypeIcE21__classic_lower_tableEv() { + var $call = 0; + $call = ___ctype_tolower_loc() | 0; + return HEAP32[$call >> 2] | 0; } function __ZNSt3__212_GLOBAL__N_14makeINS_7codecvtIwc11__mbstate_tEEjEERT_T0_() { - __ZNSt3__27codecvtIwc11__mbstate_tEC2Em(64792, 1); + __ZNSt3__27codecvtIwc11__mbstate_tEC2Em(65640, 1); return; } -function __ZNSt3__210__stdinbufIwED0Ev($0) { - $0 = $0 | 0; - __ZNSt3__215basic_streambufIwNS_11char_traitsIwEEED2Ev($0); - __ZdlPv($0); - return; +function __ZNKSt3__26vectorIN6vision17PriorityQueueItemILi96EEENS_9allocatorIS3_EEE8max_sizeEv($this) { + $this = $this | 0; + return 536870911; } -function __ZNSt3__210__stdinbufIcED0Ev($0) { - $0 = $0 | 0; - __ZNSt3__215basic_streambufIcNS_11char_traitsIcEEED2Ev($0); - __ZdlPv($0); +function __ZN6vision17PriorityQueueItemILi96EEC2Ev($this) { + $this = $this | 0; + HEAP32[$this >> 2] = 0; + HEAP32[$this + 4 >> 2] = 0; return; } -function __ZNK6vision5Timer24duration_in_millisecondsEv($0) { - $0 = $0 | 0; - return +(+__ZNK6vision5Timer19duration_in_secondsEv($0) * 1.0e3); +function dynCall_dii(index, a1, a2) { + index = index | 0; + a1 = a1 | 0; + a2 = a2 | 0; + return +FUNCTION_TABLE_dii[index & 1](a1 | 0, a2 | 0); } -function __ZN6vision18BinaryFeatureStore5pointEm($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return (HEAP32[$0 + 16 >> 2] | 0) + ($1 * 20 | 0) | 0; +function __ZNSt3__27codecvtIDsc11__mbstate_tED0Ev($this) { + $this = $this | 0; + __ZNSt3__26locale5facetD2Ev($this); + __ZdlPv($this); + return; } -function __ZN10__cxxabiv123__fundamental_type_infoD0Ev($0) { - $0 = $0 | 0; - __ZN10__cxxabiv116__shim_type_infoD2Ev($0); - __ZdlPv($0); +function __ZNSt3__27codecvtIDic11__mbstate_tED0Ev($this) { + $this = $this | 0; + __ZNSt3__26locale5facetD2Ev($this); + __ZdlPv($this); return; } -function dynCall_dii(index, a1, a2) { - index = index | 0; - a1 = a1 | 0; - a2 = a2 | 0; - return +FUNCTION_TABLE_dii[index & 1](a1 | 0, a2 | 0); +function __ZNSt3__217__widen_from_utf8ILm32EED0Ev($this) { + $this = $this | 0; + __ZNSt3__26locale5facetD2Ev($this); + __ZdlPv($this); + return; } -function _error_exit($0) { - $0 = $0 | 0; - FUNCTION_TABLE_vi[HEAP32[(HEAP32[$0 >> 2] | 0) + 8 >> 2] & 255]($0); - _jpeg_destroy($0); - _exit(1); +function __ZNSt3__212_GLOBAL__N_17countofIwEEmPKT_S4_($begin, $end) { + $begin = $begin | 0; + $end = $end | 0; + return $end - $begin >> 2 | 0; } -function __ZNK12_GLOBAL__N_116itanium_demangle4Node19hasRHSComponentSlowERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return 0; +function __ZN12_GLOBAL__N_116DefaultAllocatorD2Ev($this) { + $this = $this | 0; + __ZN12_GLOBAL__N_120BumpPointerAllocatorD2Ev($this); + return; } -function _wctomb($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $$0 = 0; - if (!$0) $$0 = 0; else $$0 = _wcrtomb($0, $1, 0) | 0; - return $$0 | 0; +function __ZN12_GLOBAL__N_116DefaultAllocatorC2Ev($this) { + $this = $this | 0; + __ZN12_GLOBAL__N_120BumpPointerAllocatorC2Ev($this); + return; } -function _swapc($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $3 = 0; - $3 = _llvm_bswap_i32($0 | 0) | 0; - return (($1 | 0) == 0 ? $0 : $3) | 0; +function _vfprintf($f, $fmt, $ap) { + $f = $f | 0; + $fmt = $fmt | 0; + $ap = $ap | 0; + return ___vfprintf_internal($f, $fmt, $ap, 1, 141) | 0; } -function __ZNK12_GLOBAL__N_116itanium_demangle4Node13getSyntaxNodeERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return $0 | 0; +function _out_779($f, $s, $l) { + $f = $f | 0; + $s = $s | 0; + $l = $l | 0; + if (!(HEAP32[$f >> 2] & 32)) ___fwritex($s, $l, $f) | 0; + return; } -function __ZN6vision25DoGScaleInvariantDetector16setEdgeThresholdEf($0, $1) { - $0 = $0 | 0; - $1 = +$1; - HEAPF32[$0 + 56 >> 2] = $1; +function __ZNSt3__27codecvtIcc11__mbstate_tED0Ev($this) { + $this = $this | 0; + __ZNSt3__26locale5facetD2Ev($this); + __ZdlPv($this); return; } -function __ZN12_GLOBAL__N_116itanium_demangle12NodeOrStringC2Ev($0) { - $0 = $0 | 0; - HEAP32[$0 >> 2] = 0; - HEAP32[$0 + 4 >> 2] = 0; +function __ZNSt3__216__narrow_to_utf8ILm32EED0Ev($this) { + $this = $this | 0; + __ZNSt3__26locale5facetD2Ev($this); + __ZdlPv($this); return; } -function __ZN10__cxxabiv121__vmi_class_type_infoD0Ev($0) { - $0 = $0 | 0; - __ZN10__cxxabiv116__shim_type_infoD2Ev($0); - __ZdlPv($0); - return; +function __ZNK12_GLOBAL__N_116itanium_demangle9NodeArray5emptyEv($this) { + $this = $this | 0; + return (HEAP32[$this + 4 >> 2] | 0) == 0 | 0; } function _setThrew(threw, value) { @@ -108143,158 +108889,81 @@ function _setThrew(threw, value) { } } -function __ZNSt3__215basic_streambufIwNS_11char_traitsIwEEE9underflowEv($0) { - $0 = $0 | 0; - return __ZNSt3__211char_traitsIwE3eofEv() | 0; -} - -function __ZNSt3__215basic_streambufIcNS_11char_traitsIcEEE9underflowEv($0) { - $0 = $0 | 0; - return __ZNSt3__211char_traitsIcE3eofEv() | 0; -} - -function __ZNK12_GLOBAL__N_116itanium_demangle9ArrayType12hasArraySlowERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return 1; -} - -function __ZN10__cxxabiv120__si_class_type_infoD0Ev($0) { +function __ZNK12_GLOBAL__N_116itanium_demangle4Node10printRightERNS_12OutputStreamE($this, $0) { + $this = $this | 0; $0 = $0 | 0; - __ZN10__cxxabiv116__shim_type_infoD2Ev($0); - __ZdlPv($0); return; } function __GLOBAL__sub_I_ARToolKitJS_cpp() { ___cxx_global_var_init(); ___cxx_global_var_init_1(); - ___cxx_global_var_init_40(); + ___cxx_global_var_init_41(); return; } -function _jround_up($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $3 = 0; - $3 = $0 + -1 + $1 | 0; - return $3 - (($3 | 0) % ($1 | 0) | 0) | 0; +function _mbrlen($s, $n, $st) { + $s = $s | 0; + $n = $n | 0; + $st = $st | 0; + return _mbrtowc(0, $s, $n, ($st | 0) == 0 ? 66280 : $st) | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE3endEv($0) { - $0 = $0 | 0; - return HEAP32[$0 + 4 >> 2] | 0; +function __ZNKSt3__26vectorIPNS_6locale5facetENS_15__sso_allocatorIS3_Lm28EEEE8max_sizeEv($this) { + $this = $this | 0; + return 1073741823; } function __ZN10emscripten8internal11LightTypeIDINSt3__212basic_stringIwNS2_11char_traitsIwEENS2_9allocatorIwEEEEE3getEv() { return 15328; } -function __ZN10emscripten8internal11LightTypeIDINSt3__212basic_stringIhNS2_11char_traitsIhEENS2_9allocatorIhEEEEE3getEv() { - return 15352; -} - function __ZN10emscripten8internal11LightTypeIDINSt3__212basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEE3getEv() { return 13272; } -function ___cxa_guard_release($0) { - $0 = $0 | 0; - HEAP32[$0 >> 2] = 0; - __ZN10__cxxabiv112_GLOBAL__N_115set_initializedEPj($0); - return; -} - -function __ZNSt3__27codecvtIwc11__mbstate_tED0Ev($0) { - $0 = $0 | 0; - __ZNSt3__27codecvtIwc11__mbstate_tED2Ev($0); - __ZdlPv($0); - return; -} - -function __ZNK12_GLOBAL__N_116itanium_demangle4Node15hasFunctionSlowERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return 0; -} - -function __ZN6vision14BinarykMedoidsILi96EE16setNumHypothesesEi($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - HEAP32[$0 + 8 >> 2] = $1; - return; -} - -function __ZN6vision10DoGPyramidD2Ev($0) { - $0 = $0 | 0; - __ZNSt3__213__vector_baseIN6vision5ImageENS_9allocatorIS2_EEED2Ev($0); - return; -} - -function __ZN12_GLOBAL__N_120BumpPointerAllocatorD2Ev($0) { - $0 = $0 | 0; - __ZN12_GLOBAL__N_120BumpPointerAllocator5resetEv($0); - return; -} - -function __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm8EE3endEv($0) { - $0 = $0 | 0; - return HEAP32[$0 + 4 >> 2] | 0; +function __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE13do_date_orderEv($this) { + $this = $this | 0; + return 2; } -function __ZN12_GLOBAL__N_112OutputStream18setCurrentPositionEm($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - HEAP32[$0 + 4 >> 2] = $1; - return; +function __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE13do_date_orderEv($this) { + $this = $this | 0; + return 2; } -function _out($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - if (!(HEAP32[$0 >> 2] & 32)) ___fwritex($1, $2, $0) | 0; - return; +function __ZNKSt3__26vectorINS0_INS_4pairIfmEENS_9allocatorIS2_EEEENS3_IS5_EEE8max_sizeEv($this) { + $this = $this | 0; + return 357913941; } - -function ___emscripten_stdout_seek($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - setTempRet0(0); - return 0; +function __ZN10emscripten8internal11LightTypeIDINSt3__212basic_stringIhNS2_11char_traitsIhEENS2_9allocatorIhEEEEE3getEv() { + return 15352; } function __ZNSt3__26locale5__imp11make_globalEv() { - __ZNSt3__26localeC2ERKS0_(66856, __ZNSt3__26locale7classicEv() | 0); - return 66856; + __ZNSt3__26localeC2ERKS0_(67704, __ZNSt3__26locale7classicEv() | 0); + return 67704; } -function __ZNSt11logic_errorD2Ev($0) { - $0 = $0 | 0; - HEAP32[$0 >> 2] = 17452; - __ZNSt3__218__libcpp_refstringD2Ev($0 + 4 | 0); - return; +function __ZNSt3__212_GLOBAL__N_17countofIcEEmPKT_S4_($begin, $end) { + $begin = $begin | 0; + $end = $end | 0; + return $end - $begin | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle9NodeArrayC2Ev($0) { - $0 = $0 | 0; - HEAP32[$0 >> 2] = 0; - HEAP32[$0 + 4 >> 2] = 0; - return; +function __ZNSt3__210__stdinbufIwE9underflowEv($this) { + $this = $this | 0; + return __ZNSt3__210__stdinbufIwE9__getcharEb($this, 0) | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm32EE5beginEv($0) { - $0 = $0 | 0; - return HEAP32[$0 >> 2] | 0; +function __ZNSt3__210__stdinbufIcE9underflowEv($this) { + $this = $this | 0; + return __ZNSt3__210__stdinbufIcE9__getcharEb($this, 0) | 0; } -function __ZN10__cxxabiv117__class_type_infoD0Ev($0) { - $0 = $0 | 0; - __ZN10__cxxabiv116__shim_type_infoD2Ev($0); - __ZdlPv($0); - return; +function __ZNK6vision25GaussianScaleSpacePyramid18numScalesPerOctaveEv($this) { + $this = $this | 0; + return HEAP32[$this + 20 >> 2] | 0; } function dynCall_vii(index, a1, a2) { @@ -108314,110 +108983,111 @@ function b9(p0, p1, p2, p3, p4) { return 0; } -function __ZNSt3__212_GLOBAL__N_14makeINS_7codecvtIDsc11__mbstate_tEEjEERT_T0_() { - HEAP32[16203] = 0; - HEAP32[16202] = 23620; +function __ZNSt3__215basic_streambufIwNS_11char_traitsIwEEE5imbueERKNS_6localeE($this, $0) { + $this = $this | 0; + $0 = $0 | 0; return; } -function __ZNSt3__212_GLOBAL__N_14makeINS_7codecvtIDic11__mbstate_tEEjEERT_T0_() { - HEAP32[16205] = 0; - HEAP32[16204] = 23668; +function __ZNSt3__215basic_streambufIcNS_11char_traitsIcEEE5imbueERKNS_6localeE($this, $0) { + $this = $this | 0; + $0 = $0 | 0; return; } -function __ZNKSt3__29__num_getIcE12__do_widen_pERNS_8ios_baseEPc($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - return 12928; +function __ZNSt3__212_GLOBAL__N_14makeINS_7codecvtIDsc11__mbstate_tEEjEERT_T0_() { + HEAP32[16415] = 0; + HEAP32[16414] = 23620; + return; } -function __ZN6vision18BinaryFeatureStore21setNumBytesPerFeatureEi($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - HEAP32[$0 >> 2] = $1; +function __ZNSt3__212_GLOBAL__N_14makeINS_7codecvtIDic11__mbstate_tEEjEERT_T0_() { + HEAP32[16417] = 0; + HEAP32[16416] = 23668; return; } -function __ZN12_GLOBAL__N_116itanium_demangle14PODSmallVectorIPNS0_4NodeELm8EE5beginEv($0) { - $0 = $0 | 0; - return HEAP32[$0 >> 2] | 0; +function __ZN12_GLOBAL__N_110StringViewC2Ev($this) { + $this = $this | 0; + HEAP32[$this >> 2] = 0; + HEAP32[$this + 4 >> 2] = 0; + return; } -function _fseek($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - return ___fseeko($0, $1, (($1 | 0) < 0) << 31 >> 31, $2) | 0; +function _vsprintf($s, $fmt, $ap) { + $s = $s | 0; + $fmt = $fmt | 0; + $ap = $ap | 0; + return _vsnprintf($s, 2147483647, $fmt, $ap) | 0; } function __ZNSt3__212_GLOBAL__N_14makeINS_7codecvtIcc11__mbstate_tEEjEERT_T0_() { - HEAP32[16197] = 0; - HEAP32[16196] = 23572; + HEAP32[16409] = 0; + HEAP32[16408] = 23572; return; } -function __ZNK12_GLOBAL__N_116itanium_demangle4Node12hasArraySlowERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return 0; +function __ZNSt3__210moneypunctIwLb1EED0Ev($this) { + $this = $this | 0; + __ZNSt3__26locale5facetD2Ev($this); + __ZdlPv($this); + return; } -function __ZN6vision6LoggerC2Ev($0) { - $0 = $0 | 0; - HEAP32[$0 >> 2] = 0; - HEAP32[$0 + 4 >> 2] = 0; - HEAP32[$0 + 8 >> 2] = 0; +function __ZNSt3__210moneypunctIwLb0EED0Ev($this) { + $this = $this | 0; + __ZNSt3__26locale5facetD2Ev($this); + __ZdlPv($this); return; } -function _mbrlen($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - return _mbrtowc(0, $0, $1, ($2 | 0) == 0 ? 65428 : $2) | 0; +function __ZNSt3__210moneypunctIcLb1EED0Ev($this) { + $this = $this | 0; + __ZNSt3__26locale5facetD2Ev($this); + __ZdlPv($this); + return; } -function _jcopy_block_row($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - _memcpy($1 | 0, $0 | 0, $2 << 7 | 0) | 0; +function __ZNSt3__210moneypunctIcLb0EED0Ev($this) { + $this = $this | 0; + __ZNSt3__26locale5facetD2Ev($this); + __ZdlPv($this); return; } -function _fullsize_upsample($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - HEAP32[$3 >> 2] = $2; - return; +function _do_read_712($f, $buf, $len) { + $f = $f | 0; + $buf = $buf | 0; + $len = $len | 0; + return ___string_read($f, $buf, $len) | 0; } -function __ZNSt3__25ctypeIcE21__classic_upper_tableEv() { - var $0 = 0; - $0 = ___ctype_toupper_loc() | 0; - return HEAP32[$0 >> 2] | 0; +function ___loc_is_allocated($loc) { + $loc = $loc | 0; + return ($loc | 0) != 17060 & (($loc | 0) != 0 & ($loc | 0) != 66156) & 1 | 0; } -function __ZNSt3__25ctypeIcE21__classic_lower_tableEv() { - var $0 = 0; - $0 = ___ctype_tolower_loc() | 0; - return HEAP32[$0 >> 2] | 0; +function __ZNKSt11logic_error4whatEv($this) { + $this = $this | 0; + return __ZNKSt3__218__libcpp_refstring5c_strEv($this + 4 | 0) | 0; } -function __ZNSt3__211char_traitsIcE6assignERcRKc($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - HEAP8[$0 >> 0] = HEAP8[$1 >> 0] | 0; +function __ZNK12_GLOBAL__N_110StringViewixEm($this) { + $this = $this | 0; + return __ZNK12_GLOBAL__N_110StringView5beginEv($this) | 0; +} + +function __ZN6vision7Point2dIfEC2Ev($this) { + $this = $this | 0; + HEAPF32[$this >> 2] = 0.0; + HEAPF32[$this + 4 >> 2] = 0.0; return; } -function __ZNKSt3__26vectorIN6vision17PriorityQueueItemILi96EEENS_9allocatorIS3_EEE8max_sizeEv($0) { - $0 = $0 | 0; - return 536870911; +function __ZN12_GLOBAL__N_116itanium_demangle27ExpandedSpecialSubstitutionD0Ev($this) { + $this = $this | 0; + __ZdlPv($this); + return; } function b8(p0, p1, p2, p3, p4) { @@ -108430,154 +109100,177 @@ function b8(p0, p1, p2, p3, p4) { return 0; } -function ___cxa_guard_acquire($0) { - $0 = $0 | 0; - return ((__ZN10__cxxabiv112_GLOBAL__N_114is_initializedEPj($0) | 0) ^ 1) & 1 | 0; +function __ZNSt3__210__stdinbufIwE5uflowEv($this) { + $this = $this | 0; + return __ZNSt3__210__stdinbufIwE9__getcharEb($this, 1) | 0; } -function __ZNK12_GLOBAL__N_110StringView5emptyEv($0) { - $0 = $0 | 0; - return (HEAP32[$0 >> 2] | 0) == (HEAP32[$0 + 4 >> 2] | 0) | 0; +function __ZNSt3__210__stdinbufIcE5uflowEv($this) { + $this = $this | 0; + return __ZNSt3__210__stdinbufIcE9__getcharEb($this, 1) | 0; } function __ZN10emscripten8internal6TypeIDINS_3valEvE3getEv() { return __ZN10emscripten8internal11LightTypeIDINS_3valEE3getEv() | 0; } -function __ZNSt3__211char_traitsIwE6assignERwRKw($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - HEAP32[$0 >> 2] = HEAP32[$1 >> 2]; - return; +function _mbsinit($st) { + $st = $st | 0; + var $1 = 0; + if (!$st) $1 = 1; else $1 = (HEAP32[$st >> 2] | 0) == 0 & 1; + return $1 | 0; } -function __ZNKSt3__28ios_base6getlocEv($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - __ZNSt3__26localeC2ERKS0_($0, $1 + 28 | 0); +function __ZNSt3__215__refstring_imp12_GLOBAL__N_113data_from_repEPNS1_9_Rep_baseE($rep) { + $rep = $rep | 0; + return $rep + 12 | 0; +} + +function __ZNKSt3__26vectorIPKN6vision4NodeILi96EEENS_9allocatorIS5_EEE8max_sizeEv($this) { + $this = $this | 0; + return 1073741823; +} + +function __ZNSt3__210shared_ptrIhE18__enable_weak_thisEz($this, $varargs) { + $this = $this | 0; + $varargs = $varargs | 0; return; } -function __ZNK12_GLOBAL__N_116itanium_demangle4Node10printRightERNS_12OutputStreamE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; +function __ZNKSt3__26vectorIPN6vision4NodeILi96EEENS_9allocatorIS4_EEE8max_sizeEv($this) { + $this = $this | 0; + return 1073741823; +} + +function __ZNKSt3__26vectorIN6vision12FeaturePointENS_9allocatorIS2_EEE8max_sizeEv($this) { + $this = $this | 0; + return 214748364; +} + +function __ZNK12_GLOBAL__N_116itanium_demangle12NodeOrString6asNodeEv($this) { + $this = $this | 0; + return HEAP32[$this >> 2] | 0; +} + +function __ZN6vision5TimerC2Ev($this) { + $this = $this | 0; + HEAPF64[$this >> 3] = -1.0; + HEAPF64[$this + 8 >> 3] = -1.0; return; } -function __ZNK12_GLOBAL__N_110StringView4sizeEv($0) { - $0 = $0 | 0; - return (HEAP32[$0 + 4 >> 2] | 0) - (HEAP32[$0 >> 2] | 0) | 0; +function __ZN6vision4NodeILi96EE4leafEb($this, $b) { + $this = $this | 0; + $b = $b | 0; + HEAP8[$this + 100 >> 0] = $b & 1; + return; } -function __ZN12_GLOBAL__N_112OutputStreamC2Ev($0) { - $0 = $0 | 0; - HEAP32[$0 + 12 >> 2] = -1; - HEAP32[$0 + 16 >> 2] = -1; +function __ZN12_GLOBAL__N_116itanium_demangle24ForwardTemplateReferenceD0Ev($this) { + $this = $this | 0; + __ZdlPv($this); return; } -function ___stdio_close($0) { - $0 = $0 | 0; - return (___wasi_fd_close(_dummy_560(HEAP32[$0 + 60 >> 2] | 0) | 0) | 0) & 65535 | 0; +function ___stdio_close($f) { + $f = $f | 0; + return (___wasi_fd_close(_dummy_557(HEAP32[$f + 60 >> 2] | 0) | 0) | 0) & 65535 | 0; } function __ZNSt3__212_GLOBAL__N_14makeINS_5ctypeIcEEDnbjEERT_T0_T1_T2_() { - __ZNSt3__25ctypeIcEC2EPKtbm(64760, 0, 0, 1); + __ZNSt3__25ctypeIcEC2EPKtbm(65608, 0, 0, 1); return; } -function __ZNKSt3__26vectorIPNS_6locale5facetENS_15__sso_allocatorIS3_Lm28EEEE8max_sizeEv($0) { - $0 = $0 | 0; - return 1073741823; +function __ZNK12_GLOBAL__N_112OutputStream18getCurrentPositionEv($this) { + $this = $this | 0; + return HEAP32[$this + 4 >> 2] | 0; } -function __ZN6vision18BinomialPyramid32fD0Ev($0) { - $0 = $0 | 0; - __ZN6vision18BinomialPyramid32fD2Ev($0); - __ZdlPv($0); +function _new_color_map_2_quant($cinfo) { + $cinfo = $cinfo | 0; + HEAP32[(HEAP32[$cinfo + 484 >> 2] | 0) + 28 >> 2] = 1; return; } -function __ZN12_GLOBAL__N_116DefaultAllocatorD2Ev($0) { - $0 = $0 | 0; - __ZN12_GLOBAL__N_120BumpPointerAllocatorD2Ev($0); +function _arImageProcFinal($ipi) { + $ipi = $ipi | 0; + if ($ipi | 0) { + _free(HEAP32[$ipi >> 2] | 0); + _free($ipi); + } return; } -function __ZN12_GLOBAL__N_116DefaultAllocatorC2Ev($0) { - $0 = $0 | 0; - __ZN12_GLOBAL__N_120BumpPointerAllocatorC2Ev($0); +function __ZNSt3__26locale5facetD0Ev($this) { + $this = $this | 0; + __ZNSt3__26locale5facetD2Ev($this); + __ZdlPv($this); return; } -function _vfprintf($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - return ___vfprintf_internal($0, $1, $2, 1, 141) | 0; +function __ZNSt3__26locale5__impD0Ev($this) { + $this = $this | 0; + __ZNSt3__26locale5__impD2Ev($this); + __ZdlPv($this); + return; } -function _noop_upsample($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - HEAP32[$3 >> 2] = 0; - return; +function __ZNSt3__25ctypeIcE13classic_tableEv() { + var $call = 0; + $call = ___ctype_b_loc() | 0; + return HEAP32[$call >> 2] | 0; } function __ZNSt3__212_GLOBAL__N_14makeINS_10moneypunctIwLb1EEEjEERT_T0_() { - HEAP32[16235] = 0; - HEAP32[16234] = 22912; + HEAP32[16447] = 0; + HEAP32[16446] = 22912; return; } function __ZNSt3__212_GLOBAL__N_14makeINS_10moneypunctIwLb0EEEjEERT_T0_() { - HEAP32[16233] = 0; - HEAP32[16232] = 22856; + HEAP32[16445] = 0; + HEAP32[16444] = 22856; return; } function __ZNSt3__212_GLOBAL__N_14makeINS_10moneypunctIcLb1EEEjEERT_T0_() { - HEAP32[16231] = 0; - HEAP32[16230] = 22800; + HEAP32[16443] = 0; + HEAP32[16442] = 22800; return; } function __ZNSt3__212_GLOBAL__N_14makeINS_10moneypunctIcLb0EEEjEERT_T0_() { - HEAP32[16229] = 0; - HEAP32[16228] = 22744; + HEAP32[16441] = 0; + HEAP32[16440] = 22744; return; } -function __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE13do_date_orderEv($0) { - $0 = $0 | 0; - return 2; -} - -function __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE13do_date_orderEv($0) { - $0 = $0 | 0; - return 2; +function __ZNK6vision25GaussianScaleSpacePyramid10numOctavesEv($this) { + $this = $this | 0; + return HEAP32[$this + 16 >> 2] | 0; } -function __ZNKSt3__26vectorINS0_INS_4pairIfmEENS_9allocatorIS2_EEEENS3_IS5_EEE8max_sizeEv($0) { - $0 = $0 | 0; - return 357913941; +function __ZNK12_GLOBAL__N_116itanium_demangle9NodeArray4sizeEv($this) { + $this = $this | 0; + return HEAP32[$this + 4 >> 2] | 0; } -function __ZNK6vision10DoGPyramid4sizeEv($0) { - $0 = $0 | 0; - return (HEAP32[$0 + 4 >> 2] | 0) - (HEAP32[$0 >> 2] | 0) >> 5 | 0; +function __ZN12_GLOBAL__N_116itanium_demangle22ParameterPackExpansionD0Ev($this) { + $this = $this | 0; + __ZdlPv($this); + return; } -function __ZNK12_GLOBAL__N_116itanium_demangle9NodeArray5emptyEv($0) { - $0 = $0 | 0; - return (HEAP32[$0 + 4 >> 2] | 0) == 0 | 0; +function __ZN12_GLOBAL__N_116itanium_demangle22ElaboratedTypeSpefTypeD0Ev($this) { + $this = $this | 0; + __ZdlPv($this); + return; } -function __ZN10__cxxabiv112_GLOBAL__N_115set_initializedEPj($0) { - $0 = $0 | 0; - HEAP32[$0 >> 2] = HEAP32[$0 >> 2] | 1; +function __ZN12_GLOBAL__N_116itanium_demangle22ConversionOperatorTypeD0Ev($this) { + $this = $this | 0; + __ZdlPv($this); return; } @@ -108593,10 +109286,61 @@ function _llvm_bswap_i32(x) { return (x & 255) << 24 | (x >> 8 & 255) << 16 | (x >> 16 & 255) << 8 | x >>> 24 | 0; } -function __ZN6vision17PriorityQueueItemILi96EEC2Ev($0) { - $0 = $0 | 0; - HEAP32[$0 >> 2] = 0; - HEAP32[$0 + 4 >> 2] = 0; +function __ZNSt3__29basic_iosIwNS_11char_traitsIwEEED2Ev($this) { + $this = $this | 0; + __ZNSt3__28ios_baseD2Ev($this); + return; +} + +function __ZNSt3__29basic_iosIcNS_11char_traitsIcEEED2Ev($this) { + $this = $this | 0; + __ZNSt3__28ios_baseD2Ev($this); + return; +} + +function __ZNSt3__28messagesIwED0Ev($this) { + $this = $this | 0; + __ZNSt3__26locale5facetD2Ev($this); + __ZdlPv($this); + return; +} + +function __ZNSt3__28messagesIcED0Ev($this) { + $this = $this | 0; + __ZNSt3__26locale5facetD2Ev($this); + __ZdlPv($this); + return; +} + +function __ZNSt3__215__refstring_imp12_GLOBAL__N_113rep_from_dataEPKc($data_) { + $data_ = $data_ | 0; + return $data_ + -12 | 0; +} + +function __ZNKSt3__26vectorIN6vision7Point3dIfEENS_9allocatorIS3_EEE8max_sizeEv($this) { + $this = $this | 0; + return 357913941; +} + +function __ZNKSt3__26vectorIN6vision7Point2dIfEENS_9allocatorIS3_EEE8max_sizeEv($this) { + $this = $this | 0; + return 536870911; +} + +function __ZNK6vision28BinaryHierarchicalClusteringILi96EE12reverseIndexEv($this) { + $this = $this | 0; + return $this + 72 | 0; +} + +function __ZN12_GLOBAL__N_116itanium_demangle21StructuredBindingNameD0Ev($this) { + $this = $this | 0; + __ZdlPv($this); + return; +} + +function __ZN12_GLOBAL__N_116itanium_demangle21CtorVtableSpecialNameD0Ev($this) { + $this = $this | 0; + __ZdlPv($this); return; } @@ -108609,120 +109353,159 @@ function b21(p0, p1, p2, p3, p4) { nullFunc_viiiii(21); } -function _mbsinit($0) { - $0 = $0 | 0; - var $4 = 0; - if (!$0) $4 = 1; else $4 = (HEAP32[$0 >> 2] | 0) == 0 & 1; - return $4 | 0; +function __ZNSt3__28numpunctIwED0Ev($this) { + $this = $this | 0; + __ZNSt3__28numpunctIwED2Ev($this); + __ZdlPv($this); + return; } -function _ar2UtilReplaceExt($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - return _arUtilReplaceExt($0, $1, $2) | 0; +function __ZNSt3__28numpunctIcED0Ev($this) { + $this = $this | 0; + __ZNSt3__28numpunctIcED2Ev($this); + __ZdlPv($this); + return; } -function __ZNSt3__27codecvtIDsc11__mbstate_tED0Ev($0) { - $0 = $0 | 0; - __ZNSt3__26locale5facetD2Ev($0); - __ZdlPv($0); +function __ZNK6vision21HoughSimilarityVoting24getSubBinLocationIndicesEv($this) { + $this = $this | 0; + return $this + 124 | 0; +} + +function __ZN12_GLOBAL__N_116itanium_demangle20TemplateArgumentPackD0Ev($this) { + $this = $this | 0; + __ZdlPv($this); return; } -function __ZNSt3__27codecvtIDic11__mbstate_tED0Ev($0) { - $0 = $0 | 0; - __ZNSt3__26locale5facetD2Ev($0); - __ZdlPv($0); +function __ZN12_GLOBAL__N_116itanium_demangle20PostfixQualifiedTypeD0Ev($this) { + $this = $this | 0; + __ZdlPv($this); return; } -function __ZNSt3__217__widen_from_utf8ILm32EED0Ev($0) { - $0 = $0 | 0; - __ZNSt3__26locale5facetD2Ev($0); - __ZdlPv($0); +function __ZN12_GLOBAL__N_116itanium_demangle20NameWithTemplateArgsD0Ev($this) { + $this = $this | 0; + __ZdlPv($this); return; } -function __ZNSt3__215basic_streambufIwNS_11char_traitsIwEEE5imbueERKNS_6localeE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; +function __ZN12_GLOBAL__N_116itanium_demangle20DynamicExceptionSpecD0Ev($this) { + $this = $this | 0; + __ZdlPv($this); return; } -function __ZNSt3__215basic_streambufIcNS_11char_traitsIcEEE5imbueERKNS_6localeE($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; +function __ZNK12_GLOBAL__N_116itanium_demangle9NodeArray5beginEv($this) { + $this = $this | 0; + return HEAP32[$this >> 2] | 0; +} + +function __ZNK12_GLOBAL__N_116itanium_demangle4Node7getKindEv($this) { + $this = $this | 0; + return HEAP8[$this + 4 >> 0] | 0; +} + +function __ZNK10emscripten8internal12WithPoliciesIJEE11ArgTypeListIJiiiiEE8getCountEv($this) { + $this = $this | 0; + return 4; +} + +function __ZN6vision11Cofactor2x2IfEET_S1_S1_S1_($a, $b, $c) { + $a = +$a; + $b = +$b; + $c = +$c; + return +($a * $c - $b * $b); +} + +function __ZN12_GLOBAL__N_116itanium_demangle19SpecialSubstitutionD0Ev($this) { + $this = $this | 0; + __ZdlPv($this); return; } -function __ZN6vision10ZeroVectorIfEEvPT_m($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - _memset($0 | 0, 0, $1 << 2 | 0) | 0; +function __ZN12_GLOBAL__N_116itanium_demangle19SizeofParamPackExprD0Ev($this) { + $this = $this | 0; + __ZdlPv($this); return; } -function __ZNSt3__27codecvtIcc11__mbstate_tED0Ev($0) { - $0 = $0 | 0; - __ZNSt3__26locale5facetD2Ev($0); - __ZdlPv($0); +function __ZN12_GLOBAL__N_116itanium_demangle19PointerToMemberTypeD0Ev($this) { + $this = $this | 0; + __ZdlPv($this); return; } -function __ZNSt3__216__narrow_to_utf8ILm32EED0Ev($0) { - $0 = $0 | 0; - __ZNSt3__26locale5facetD2Ev($0); - __ZdlPv($0); +function __ZN12_GLOBAL__N_116itanium_demangle19GlobalQualifiedNameD0Ev($this) { + $this = $this | 0; + __ZdlPv($this); return; } -function __ZNK10emscripten8internal12WithPoliciesIJEE11ArgTypeListIJiiiiEE8getCountEv($this) { +function __ZN12_GLOBAL__N_116itanium_demangle16FloatLiteralImplIfED0Ev($this) { $this = $this | 0; - return 4; + __ZdlPv($this); + return; } -function __ZN6vision11Cofactor2x2IfEET_S1_S1_S1_($0, $1, $2) { - $0 = +$0; - $1 = +$1; - $2 = +$2; - return +($0 * $2 - $1 * $1); +function __ZN12_GLOBAL__N_116itanium_demangle16FloatLiteralImplIeED0Ev($this) { + $this = $this | 0; + __ZdlPv($this); + return; } -function _srand($0) { - $0 = $0 | 0; - var $2 = 0; - $2 = 64568; - HEAP32[$2 >> 2] = $0 + -1; - HEAP32[$2 + 4 >> 2] = 0; +function __ZN12_GLOBAL__N_116itanium_demangle16FloatLiteralImplIdED0Ev($this) { + $this = $this | 0; + __ZdlPv($this); return; } -function __ZNSt3__24pairIKi12arControllerED2Ev($this) { +function _srand($s) { + $s = $s | 0; + var $0 = 0; + $0 = 65416; + HEAP32[$0 >> 2] = $s + -1; + HEAP32[$0 + 4 >> 2] = 0; + return; +} + +function _arMultiFreeConfig($config) { + $config = $config | 0; + _free(HEAP32[$config >> 2] | 0); + _free($config); + return 0; +} + +function __ZNSt3__27collateIwED0Ev($this) { $this = $this | 0; - __ZN12arControllerD2Ev($this + 8 | 0); + __ZNSt3__27collateIwED2Ev($this); + __ZdlPv($this); return; } -function __ZNSt3__210__stdinbufIwE9underflowEv($0) { - $0 = $0 | 0; - return __ZNSt3__210__stdinbufIwE9__getcharEb($0, 0) | 0; +function __ZNSt3__27collateIcED0Ev($this) { + $this = $this | 0; + __ZNSt3__27collateIcED2Ev($this); + __ZdlPv($this); + return; } -function __ZNSt3__210__stdinbufIcE9underflowEv($0) { - $0 = $0 | 0; - return __ZNSt3__210__stdinbufIcE9__getcharEb($0, 0) | 0; +function __ZNSt3__25ctypeIwED0Ev($this) { + $this = $this | 0; + __ZNSt3__26locale5facetD2Ev($this); + __ZdlPv($this); + return; } -function __ZNK6vision25GaussianScaleSpacePyramid18numScalesPerOctaveEv($0) { - $0 = $0 | 0; - return HEAP32[$0 + 20 >> 2] | 0; +function __ZNSt3__24pairIKi12arControllerED2Ev($this) { + $this = $this | 0; + __ZN12arControllerD2Ev($this + 8 | 0); + return; } -function __ZNK6vision10DoGPyramid3getEm($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return (HEAP32[$0 >> 2] | 0) + ($1 << 5) | 0; +function __ZNKSt3__26vectorIN6vision7match_tENS_9allocatorIS2_EEE8max_sizeEv($this) { + $this = $this | 0; + return 536870911; } function __ZNK10emscripten8internal12WithPoliciesIJEE11ArgTypeListIJviiEE8getCountEv($this) { @@ -108745,26 +109528,46 @@ function __ZNK10emscripten8internal12WithPoliciesIJEE11ArgTypeListIJiiiEE8getCou return 3; } -function __ZN6vision11SumSquares9IfEET_PKS1_($0) { - $0 = $0 | 0; - return +(+__ZN6vision11DotProduct9IfEET_PKS1_S3_($0, $0)); +function __ZN6vision9ExceptionD0Ev($this) { + $this = $this | 0; + __ZN6vision9ExceptionD2Ev($this); + __ZdlPv($this); + return; } -function __ZNSt3__215__refstring_imp12_GLOBAL__N_113data_from_repEPNS1_9_Rep_baseE($0) { - $0 = $0 | 0; - return $0 + 12 | 0; +function __ZN6vision11SumSquares9IfEET_PKS1_($x) { + $x = $x | 0; + return +(+__ZN6vision11DotProduct9IfEET_PKS1_S3_($x, $x)); } -function __ZNSt3__211char_traitsIwE11eq_int_typeEjj($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return ($0 | 0) == ($1 | 0) | 0; +function __ZN12_GLOBAL__N_116itanium_demangle18ArraySubscriptExprD0Ev($this) { + $this = $this | 0; + __ZdlPv($this); + return; } -function __ZNSt3__211char_traitsIcE11eq_int_typeEii($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return ($0 | 0) == ($1 | 0) | 0; +function __ZNSt3__213basic_ostreamIwNS_11char_traitsIwEEED2Ev($this, $vtt) { + $this = $this | 0; + $vtt = $vtt | 0; + return; +} + +function __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEED2Ev($this, $vtt) { + $this = $this | 0; + $vtt = $vtt | 0; + return; +} + +function __ZNSt3__213basic_istreamIwNS_11char_traitsIwEEED2Ev($this, $vtt) { + $this = $this | 0; + $vtt = $vtt | 0; + return; +} + +function __ZNSt3__213basic_istreamIcNS_11char_traitsIcEEED2Ev($this, $vtt) { + $this = $this | 0; + $vtt = $vtt | 0; + return; } function __ZNK10emscripten8internal12WithPoliciesIJEE11ArgTypeListIJviEE8getCountEv($this) { @@ -108782,16 +109585,26 @@ function __ZNK10emscripten8internal12WithPoliciesIJEE11ArgTypeListIJdiEE8getCoun return 2; } -function _vsprintf($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - return _vsnprintf($0, 2147483647, $1, $2) | 0; +function __ZN12_GLOBAL__N_116itanium_demangle17VendorExtQualTypeD0Ev($this) { + $this = $this | 0; + __ZdlPv($this); + return; } -function __ZNKSt3__26vectorIPKN6vision4NodeILi96EEENS_9allocatorIS5_EEE8max_sizeEv($0) { - $0 = $0 | 0; - return 1073741823; +function ___cxa_guard_abort($guard_object) { + $guard_object = $guard_object | 0; + HEAP32[$guard_object >> 2] = 0; + return; +} + +function __ZNKSt3__26vectorIN6vision5ImageENS_9allocatorIS2_EEE8max_sizeEv($this) { + $this = $this | 0; + return 134217727; +} + +function __ZNK6vision25DoGScaleInvariantDetector6heightEv($this) { + $this = $this | 0; + return HEAP32[$this + 4 >> 2] | 0; } function __ZNK10emscripten8internal12WithPoliciesIJEE11ArgTypeListIJiEE8getCountEv($this) { @@ -108799,10 +109612,15 @@ function __ZNK10emscripten8internal12WithPoliciesIJEE11ArgTypeListIJiEE8getCount return 1; } -function __ZN6vision8KeyframeILi96EE9setHeightEi($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - HEAP32[$0 + 4 >> 2] = $1; +function __ZN12_GLOBAL__N_116itanium_demangle16StdQualifiedNameD0Ev($this) { + $this = $this | 0; + __ZdlPv($this); + return; +} + +function __ZN12_GLOBAL__N_116itanium_demangle16FunctionEncodingD0Ev($this) { + $this = $this | 0; + __ZdlPv($this); return; } @@ -108814,144 +109632,206 @@ function __ZN10emscripten8internal6TypeIDIRKdvE3getEv() { return __ZN10emscripten8internal11LightTypeIDIRKdE3getEv() | 0; } -function ___loc_is_allocated($0) { - $0 = $0 | 0; - return ($0 | 0) != 17060 & (($0 | 0) != 0 & ($0 | 0) != 65372) & 1 | 0; -} - -function ___cxx_global_var_init_713() { - __ZN53EmscriptenBindingInitializer_native_and_builtin_typesC2Ev(67446); +function ___cxx_global_var_init_721() { + __ZN53EmscriptenBindingInitializer_native_and_builtin_typesC2Ev(68294); return; } function __ZNSt3__212_GLOBAL__N_14makeINS_8messagesIwEEjEERT_T0_() { - HEAP32[16263] = 0; - HEAP32[16262] = 23112; + HEAP32[16475] = 0; + HEAP32[16474] = 23112; return; } function __ZNSt3__212_GLOBAL__N_14makeINS_8messagesIcEEjEERT_T0_() { - HEAP32[16261] = 0; - HEAP32[16260] = 23080; + HEAP32[16473] = 0; + HEAP32[16472] = 23080; return; } -function __ZNSt3__210shared_ptrIhE18__enable_weak_thisEz($0, $varargs) { - $0 = $0 | 0; - $varargs = $varargs | 0; +function __ZNSt12length_errorD0Ev($this) { + $this = $this | 0; + __ZNSt11logic_errorD2Ev($this); + __ZdlPv($this); return; } -function __ZNKSt3__26vectorIPN6vision4NodeILi96EEENS_9allocatorIS4_EEE8max_sizeEv($0) { - $0 = $0 | 0; - return 1073741823; +function __ZNKSt3__26vectorI12multi_markerNS_9allocatorIS1_EEE8max_sizeEv($this) { + $this = $this | 0; + return 536870911; } -function __ZNKSt3__26vectorIN6vision12FeaturePointENS_9allocatorIS2_EEE8max_sizeEv($0) { - $0 = $0 | 0; - return 214748364; +function __ZN12_GLOBAL__N_116itanium_demangle15UnnamedTypeNameD0Ev($this) { + $this = $this | 0; + __ZdlPv($this); + return; } -function __ZNKSt3__26vectorI12multi_markerNS_9allocatorIS1_EEE8max_sizeEv($this) { +function __ZN12_GLOBAL__N_116itanium_demangle15PixelVectorTypeD0Ev($this) { $this = $this | 0; - return 536870911; + __ZdlPv($this); + return; } -function __ZNKSt11logic_error4whatEv($0) { - $0 = $0 | 0; - return __ZNKSt3__218__libcpp_refstring5c_strEv($0 + 4 | 0) | 0; +function __ZN12_GLOBAL__N_116itanium_demangle15LiteralOperatorD0Ev($this) { + $this = $this | 0; + __ZdlPv($this); + return; } -function __ZNK12_GLOBAL__N_110StringViewixEm($0) { - $0 = $0 | 0; - return __ZNK12_GLOBAL__N_110StringView5beginEv($0) | 0; +function __ZN12_GLOBAL__N_116itanium_demangle15IntegerCastExprD0Ev($this) { + $this = $this | 0; + __ZdlPv($this); + return; } -function __ZN6vision10ZeroVectorIhEEvPT_m($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - _memset($0 | 0, 0, $1 | 0) | 0; +function __ZN12_GLOBAL__N_116itanium_demangle15ConditionalExprD0Ev($this) { + $this = $this | 0; + __ZdlPv($this); + return; +} + +function __ZN12_GLOBAL__N_116itanium_demangle15ClosureTypeNameD0Ev($this) { + $this = $this | 0; + __ZdlPv($this); + return; +} + +function __ZN12_GLOBAL__N_116itanium_demangle15BracedRangeExprD0Ev($this) { + $this = $this | 0; + __ZdlPv($this); + return; +} + +function __ZNSt3__28ios_baseD0Ev($this) { + $this = $this | 0; + __ZNSt3__28ios_baseD2Ev($this); + __ZdlPv($this); + return; +} + +function __ZNSt3__25ctypeIcED0Ev($this) { + $this = $this | 0; + __ZNSt3__25ctypeIcED2Ev($this); + __ZdlPv($this); + return; +} + +function __ZNSt3__212_GLOBAL__N_14makeINS_7collateIwEEjEERT_T0_() { + HEAP32[16401] = 0; + HEAP32[16400] = 21176; + return; +} + +function __ZNSt3__212_GLOBAL__N_14makeINS_7collateIcEEjEERT_T0_() { + HEAP32[16399] = 0; + HEAP32[16398] = 21144; + return; +} + +function __ZNSt11logic_errorD0Ev($this) { + $this = $this | 0; + __ZNSt11logic_errorD2Ev($this); + __ZdlPv($this); return; } -function __ZN12_GLOBAL__N_116itanium_demangle27ExpandedSpecialSubstitutionD0Ev($0) { - $0 = $0 | 0; - __ZdlPv($0); - return; +function __ZNKSt3__26vectorINS_4pairIfmEENS_9allocatorIS2_EEE8max_sizeEv($this) { + $this = $this | 0; + return 536870911; +} + +function __ZNKSt3__26vectorINS_4pairIfiEENS_9allocatorIS2_EEE8max_sizeEv($this) { + $this = $this | 0; + return 536870911; +} + +function __ZNK6vision21HoughSimilarityVoting18getSubBinLocationsEv($this) { + $this = $this | 0; + return $this + 112 | 0; +} + +function __ZNK6vision10DoGPyramid17numScalePerOctaveEv($this) { + $this = $this | 0; + return HEAP32[$this + 16 >> 2] | 0; +} + +function __ZN6vision4min2IiEET_S1_S1_($a, $b) { + $a = $a | 0; + $b = $b | 0; + return (($a | 0) < ($b | 0) ? $a : $b) | 0; +} + +function __ZN6vision4max2IiEET_S1_S1_($a, $b) { + $a = $a | 0; + $b = $b | 0; + return (($a | 0) > ($b | 0) ? $a : $b) | 0; } -function __ZNSt3__212_GLOBAL__N_14makeINS_7collateIwEEjEERT_T0_() { - HEAP32[16189] = 0; - HEAP32[16188] = 21176; +function __ZN12_GLOBAL__N_116itanium_demangle14IntegerLiteralD0Ev($this) { + $this = $this | 0; + __ZdlPv($this); return; } -function __ZNSt3__212_GLOBAL__N_14makeINS_7collateIcEEjEERT_T0_() { - HEAP32[16187] = 0; - HEAP32[16186] = 21144; +function __ZN12_GLOBAL__N_116itanium_demangle14ConversionExprD0Ev($this) { + $this = $this | 0; + __ZdlPv($this); return; } -function __ZNSt3__210__stdinbufIwE5uflowEv($0) { - $0 = $0 | 0; - return __ZNSt3__210__stdinbufIwE9__getcharEb($0, 1) | 0; -} - -function __ZNSt3__210__stdinbufIcE5uflowEv($0) { - $0 = $0 | 0; - return __ZNSt3__210__stdinbufIcE9__getcharEb($0, 1) | 0; +function _icpGetXw2XcCleanup($J_U_S, $dU) { + $J_U_S = $J_U_S | 0; + $dU = $dU | 0; + _free($J_U_S); + _free($dU); + return; } -function __ZN6vision4min2IiEET_S1_S1_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return (($0 | 0) < ($1 | 0) ? $0 : $1) | 0; +function __ZNK6vision17PriorityQueueItemILi96EE4distEv($this) { + $this = $this | 0; + return HEAP32[$this + 4 >> 2] | 0; } -function __ZN6vision4max2IiEET_S1_S1_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return (($0 | 0) > ($1 | 0) ? $0 : $1) | 0; +function __ZN12_GLOBAL__N_116itanium_demangle13ReferenceTypeD0Ev($this) { + $this = $this | 0; + __ZdlPv($this); + return; } -function __ZN12_GLOBAL__N_110StringViewC2Ev($0) { - $0 = $0 | 0; - HEAP32[$0 >> 2] = 0; - HEAP32[$0 + 4 >> 2] = 0; +function __ZN12_GLOBAL__N_116itanium_demangle13QualifiedNameD0Ev($this) { + $this = $this | 0; + __ZdlPv($this); return; } -function __ZNSt3__25ctypeIcE13classic_tableEv() { - var $0 = 0; - $0 = ___ctype_b_loc() | 0; - return HEAP32[$0 >> 2] | 0; +function __ZN12_GLOBAL__N_116itanium_demangle13ParameterPackD0Ev($this) { + $this = $this | 0; + __ZdlPv($this); + return; } -function __ZNSt3__210moneypunctIwLb1EED0Ev($0) { - $0 = $0 | 0; - __ZNSt3__26locale5facetD2Ev($0); - __ZdlPv($0); +function __ZN12_GLOBAL__N_116itanium_demangle13ObjCProtoNameD0Ev($this) { + $this = $this | 0; + __ZdlPv($this); return; } -function __ZNSt3__210moneypunctIwLb0EED0Ev($0) { - $0 = $0 | 0; - __ZNSt3__26locale5facetD2Ev($0); - __ZdlPv($0); +function __ZN12_GLOBAL__N_116itanium_demangle13NodeArrayNodeD0Ev($this) { + $this = $this | 0; + __ZdlPv($this); return; } -function __ZNSt3__210moneypunctIcLb1EED0Ev($0) { - $0 = $0 | 0; - __ZNSt3__26locale5facetD2Ev($0); - __ZdlPv($0); +function __ZN12_GLOBAL__N_116itanium_demangle13FunctionParamD0Ev($this) { + $this = $this | 0; + __ZdlPv($this); return; } -function __ZNSt3__210moneypunctIcLb0EED0Ev($0) { - $0 = $0 | 0; - __ZNSt3__26locale5facetD2Ev($0); - __ZdlPv($0); +function __ZN12_GLOBAL__N_116itanium_demangle13EnclosingExprD0Ev($this) { + $this = $this | 0; + __ZdlPv($this); return; } @@ -108961,71 +109841,69 @@ function dynCall_ii(index, a1) { return FUNCTION_TABLE_ii[index & 127](a1 | 0) | 0; } -function _strncpy($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - ___stpncpy($0, $1, $2) | 0; - return $0 | 0; -} - -function _jpeg_mem_available($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - return $2 | 0; +function _strncpy($d, $s, $n) { + $d = $d | 0; + $s = $s | 0; + $n = $n | 0; + ___stpncpy($d, $s, $n) | 0; + return $d | 0; } function __ZNSt3__212_GLOBAL__N_14makeINS_6locale5__impEjEERT_T0_() { - __ZNSt3__26locale5__impC2Em(65064, 1); + __ZNSt3__26locale5__impC2Em(65912, 1); return; } function __ZNSt3__212_GLOBAL__N_14makeINS_5ctypeIwEEjEERT_T0_() { - HEAP32[16195] = 0; - HEAP32[16194] = 23504; + HEAP32[16407] = 0; + HEAP32[16406] = 23504; return; } -function __ZNKSt3__26vectorIN6vision7Point3dIfEENS_9allocatorIS3_EEE8max_sizeEv($0) { - $0 = $0 | 0; - return 357913941; +function __ZNKSt3__28numpunctIwE16do_thousands_sepEv($this) { + $this = $this | 0; + return HEAP32[$this + 12 >> 2] | 0; } -function __ZNKSt3__26vectorIN6vision7Point2dIfEENS_9allocatorIS3_EEE8max_sizeEv($0) { - $0 = $0 | 0; - return 536870911; +function __ZN6vision12SafeDivisionIfEET_S1_S1_($x, $y) { + $x = +$x; + $y = +$y; + return +($x / ($y == 0.0 ? 1.0 : $y)); } -function __ZNK12_GLOBAL__N_116itanium_demangle12NodeOrString6asNodeEv($0) { - $0 = $0 | 0; - return HEAP32[$0 >> 2] | 0; +function __ZN12_GLOBAL__N_116itanium_demangle12TemplateArgsD0Ev($this) { + $this = $this | 0; + __ZdlPv($this); + return; } -function __ZN6vision7Point2dIfEC2Ev($0) { - $0 = $0 | 0; - HEAPF32[$0 >> 2] = 0.0; - HEAPF32[$0 + 4 >> 2] = 0.0; +function __ZN12_GLOBAL__N_116itanium_demangle12NoexceptSpecD0Ev($this) { + $this = $this | 0; + __ZdlPv($this); return; } -function __ZN6vision4NodeILi96EE4leafEb($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - HEAP8[$0 + 100 >> 0] = $1 & 1; +function __ZN12_GLOBAL__N_116itanium_demangle12InitListExprD0Ev($this) { + $this = $this | 0; + __ZdlPv($this); + return; +} + +function __ZN12_GLOBAL__N_116itanium_demangle12FunctionTypeD0Ev($this) { + $this = $this | 0; + __ZdlPv($this); return; } -function __ZN6vision12SafeDivisionIfEET_S1_S1_($0, $1) { - $0 = +$0; - $1 = +$1; - return +($0 / ($1 == 0.0 ? 1.0 : $1)); +function __ZN12_GLOBAL__N_116itanium_demangle12EnableIfAttrD0Ev($this) { + $this = $this | 0; + __ZdlPv($this); + return; } -function __ZN12_GLOBAL__N_116itanium_demangle24ForwardTemplateReferenceD0Ev($0) { - $0 = $0 | 0; - __ZdlPv($0); +function __ZN12_GLOBAL__N_116itanium_demangle12CtorDtorNameD0Ev($this) { + $this = $this | 0; + __ZdlPv($this); return; } @@ -109081,512 +109959,461 @@ function __ZN10emscripten8internal6TypeIDIavE3getEv() { return __ZN10emscripten8internal11LightTypeIDIaE3getEv() | 0; } -function __ZNSt3__212_GLOBAL__N_17countofIwEEmPKT_S4_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return $1 - $0 >> 2 | 0; -} - -function __ZNK12_GLOBAL__N_112OutputStream18getCurrentPositionEv($0) { - $0 = $0 | 0; - return HEAP32[$0 + 4 >> 2] | 0; +function _strcpy($dest, $src) { + $dest = $dest | 0; + $src = $src | 0; + ___stpcpy($dest, $src) | 0; + return $dest | 0; } -function __ZN6vision8KeyframeILi96EE8setWidthEi($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - HEAP32[$0 >> 2] = $1; +function _init_source($cinfo) { + $cinfo = $cinfo | 0; + HEAP32[(HEAP32[$cinfo + 24 >> 2] | 0) + 36 >> 2] = 1; return; } -function __ZN10emscripten8internal11BindingTypeIdvE10toWireTypeERKd($v) { - $v = $v | 0; - return +(+HEAPF64[$v >> 3]); -} - -function __ZN10__cxxabiv112_GLOBAL__N_114is_initializedEPj($0) { - $0 = $0 | 0; - return (HEAP8[$0 >> 0] | 0) != 0 | 0; -} - -function b7(p0, p1, p2, p3) { - p0 = p0 | 0; - p1 = p1 | 0; - p2 = p2 | 0; - p3 = p3 | 0; - nullFunc_iiiii(7); - return 0; -} - -function _strcat($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - _strcpy($0 + (_strlen($0) | 0) | 0, $1) | 0; - return $0 | 0; +function __ZNSt3__210moneypunctIwLb1EED2Ev($this) { + $this = $this | 0; + __ZNSt3__26locale5facetD2Ev($this); + return; } -function _norm($0, $1, $2) { - $0 = +$0; - $1 = +$1; - $2 = +$2; - return +(+Math_sqrt(+($0 * $0 + $1 * $1 + $2 * $2))); +function __ZNSt3__210moneypunctIwLb0EED2Ev($this) { + $this = $this | 0; + __ZNSt3__26locale5facetD2Ev($this); + return; } -function _arImageProcFinal($0) { - $0 = $0 | 0; - if ($0 | 0) { - _free(HEAP32[$0 >> 2] | 0); - _free($0); - } +function __ZNSt3__210moneypunctIcLb1EED2Ev($this) { + $this = $this | 0; + __ZNSt3__26locale5facetD2Ev($this); return; } -function __ZNSt3__212_GLOBAL__N_14makeINS_8numpunctIwEEjEERT_T0_() { - __ZNSt3__28numpunctIwEC2Em(64848, 1); +function __ZNSt3__210moneypunctIcLb0EED2Ev($this) { + $this = $this | 0; + __ZNSt3__26locale5facetD2Ev($this); return; } -function __ZNSt3__212_GLOBAL__N_14makeINS_8numpunctIcEEjEERT_T0_() { - __ZNSt3__28numpunctIcEC2Em(64824, 1); - return; +function __ZNKSt3__28numpunctIwE16do_decimal_pointEv($this) { + $this = $this | 0; + return HEAP32[$this + 8 >> 2] | 0; } -function __ZNK6vision25GaussianScaleSpacePyramid10numOctavesEv($0) { - $0 = $0 | 0; - return HEAP32[$0 + 16 >> 2] | 0; +function __ZNK6vision4NodeILi96EE4leafEv($this) { + $this = $this | 0; + return (HEAP8[$this + 100 >> 0] | 0) != 0 | 0; } -function __ZNK12_GLOBAL__N_116itanium_demangle9NodeArray4sizeEv($0) { - $0 = $0 | 0; - return HEAP32[$0 + 4 >> 2] | 0; +function __ZNK6vision25DoGScaleInvariantDetector5widthEv($this) { + $this = $this | 0; + return HEAP32[$this >> 2] | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle22ParameterPackExpansionD0Ev($0) { - $0 = $0 | 0; - __ZdlPv($0); +function __ZN12_GLOBAL__N_116itanium_demangle11SpecialNameD0Ev($this) { + $this = $this | 0; + __ZdlPv($this); return; } -function __ZN12_GLOBAL__N_116itanium_demangle22ElaboratedTypeSpefTypeD0Ev($0) { - $0 = $0 | 0; - __ZdlPv($0); +function __ZN12_GLOBAL__N_116itanium_demangle11PostfixExprD0Ev($this) { + $this = $this | 0; + __ZdlPv($this); return; } -function __ZN12_GLOBAL__N_116itanium_demangle22ConversionOperatorTypeD0Ev($0) { - $0 = $0 | 0; - __ZdlPv($0); +function __ZN12_GLOBAL__N_116itanium_demangle11PointerTypeD0Ev($this) { + $this = $this | 0; + __ZdlPv($this); return; } -function __ZN10emscripten8internal11BindingTypeIivE10toWireTypeERKi($v) { +function __ZN10emscripten8internal11BindingTypeIdvE10toWireTypeERKd($v) { $v = $v | 0; - return HEAP32[$v >> 2] | 0; + return +(+HEAPF64[$v >> 3]); } -function __ZN10__cxxabiv119__getExceptionClassEPK17_Unwind_Exception($0) { - $0 = $0 | 0; - setTempRet0(0); +function b7(p0, p1, p2, p3) { + p0 = p0 | 0; + p1 = p1 | 0; + p2 = p2 | 0; + p3 = p3 | 0; + nullFunc_iiiii(7); return 0; } -function _isxdigit($0) { - $0 = $0 | 0; - return ((($0 | 32) + -97 | 0) >>> 0 < 6 | (_isdigit($0) | 0) != 0) & 1 | 0; -} - -function _arMatrixFreef($0) { - $0 = $0 | 0; - if ($0 | 0) { - _free(HEAP32[$0 >> 2] | 0); - _free($0); - } - return 0; +function _norm($a, $b, $c) { + $a = +$a; + $b = +$b; + $c = +$c; + return +(+Math_sqrt(+($a * $a + $b * $b + $c * $c))); } -function __ZNSt3__29basic_iosIwNS_11char_traitsIwEEED2Ev($0) { - $0 = $0 | 0; - __ZNSt3__28ios_baseD2Ev($0); +function __ZNSt3__212_GLOBAL__N_14makeINS_8numpunctIwEEjEERT_T0_() { + __ZNSt3__28numpunctIwEC2Em(65696, 1); return; } -function __ZNSt3__29basic_iosIcNS_11char_traitsIcEEED2Ev($0) { - $0 = $0 | 0; - __ZNSt3__28ios_baseD2Ev($0); +function __ZNSt3__212_GLOBAL__N_14makeINS_8numpunctIcEEjEERT_T0_() { + __ZNSt3__28numpunctIcEC2Em(65672, 1); return; } -function __ZNKSt3__26vectorIN6vision7match_tENS_9allocatorIS2_EEE8max_sizeEv($0) { - $0 = $0 | 0; - return 536870911; +function __ZNKSt3__28numpunctIcE16do_thousands_sepEv($this) { + $this = $this | 0; + return HEAP8[$this + 9 >> 0] | 0; } -function __ZNK6vision28BinaryHierarchicalClusteringILi96EE12reverseIndexEv($0) { - $0 = $0 | 0; - return $0 + 72 | 0; +function __ZNKSt3__28numpunctIcE16do_decimal_pointEv($this) { + $this = $this | 0; + return HEAP8[$this + 8 >> 0] | 0; } -function __ZN6vision5TimerC2Ev($0) { - $0 = $0 | 0; - HEAPF64[$0 >> 3] = -1.0; - HEAPF64[$0 + 8 >> 3] = -1.0; +function __ZN6vision5ImageD2Ev($this) { + $this = $this | 0; + __ZNSt3__210shared_ptrIhED2Ev($this + 24 | 0); return; } -function __ZN12_GLOBAL__N_116itanium_demangle21StructuredBindingNameD0Ev($0) { - $0 = $0 | 0; - __ZdlPv($0); +function __ZN12_GLOBAL__N_116itanium_demangle10VectorTypeD0Ev($this) { + $this = $this | 0; + __ZdlPv($this); return; } -function __ZN12_GLOBAL__N_116itanium_demangle21CtorVtableSpecialNameD0Ev($0) { - $0 = $0 | 0; - __ZdlPv($0); +function __ZN12_GLOBAL__N_116itanium_demangle10PrefixExprD0Ev($this) { + $this = $this | 0; + __ZdlPv($this); return; } -function _strrchr($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return ___memrchr($0, $1, (_strlen($0) | 0) + 1 | 0) | 0; +function __ZN12_GLOBAL__N_116itanium_demangle10NestedNameD0Ev($this) { + $this = $this | 0; + __ZdlPv($this); + return; } -function _arMatrixFree($0) { - $0 = $0 | 0; - if ($0 | 0) { - _free(HEAP32[$0 >> 2] | 0); - _free($0); - } - return 0; +function __ZN12_GLOBAL__N_116itanium_demangle10MemberExprD0Ev($this) { + $this = $this | 0; + __ZdlPv($this); + return; } -function __ZNK6vision21HoughSimilarityVoting24getSubBinLocationIndicesEv($0) { - $0 = $0 | 0; - return $0 + 124 | 0; +function __ZN12_GLOBAL__N_116itanium_demangle10DeleteExprD0Ev($this) { + $this = $this | 0; + __ZdlPv($this); + return; } -function __ZN6vision9MaxIndex2IfEEiPKT_($0) { - $0 = $0 | 0; - return +HEAPF32[$0 + 4 >> 2] > +HEAPF32[$0 >> 2] | 0; +function __ZN12_GLOBAL__N_116itanium_demangle10BracedExprD0Ev($this) { + $this = $this | 0; + __ZdlPv($this); + return; } -function __ZN12_GLOBAL__N_116itanium_demangle20TemplateArgumentPackD0Ev($0) { - $0 = $0 | 0; - __ZdlPv($0); +function __ZN12_GLOBAL__N_116itanium_demangle10BinaryExprD0Ev($this) { + $this = $this | 0; + __ZdlPv($this); return; } -function __ZN12_GLOBAL__N_116itanium_demangle20PostfixQualifiedTypeD0Ev($0) { - $0 = $0 | 0; - __ZdlPv($0); +function __ZN12_GLOBAL__N_116itanium_demangle10AbiTagAttrD0Ev($this) { + $this = $this | 0; + __ZdlPv($this); return; } -function __ZN12_GLOBAL__N_116itanium_demangle20NameWithTemplateArgsD0Ev($0) { - $0 = $0 | 0; - __ZdlPv($0); - return; +function __ZN10emscripten8internal11BindingTypeIivE10toWireTypeERKi($v) { + $v = $v | 0; + return HEAP32[$v >> 2] | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle20DynamicExceptionSpecD0Ev($0) { +function __ZN10__cxxabiv119__getExceptionClassEPK17_Unwind_Exception($0) { $0 = $0 | 0; - __ZdlPv($0); - return; + setTempRet0(0); + return 0; } -function dynCall_di(index, a1) { - index = index | 0; - a1 = a1 | 0; - return +FUNCTION_TABLE_di[index & 3](a1 | 0); +function _isxdigit($c) { + $c = $c | 0; + return ((($c | 32) + -97 | 0) >>> 0 < 6 | (_isdigit($c) | 0) != 0) & 1 | 0; } -function _do_read($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - return ___string_read($0, $1, $2) | 0; +function _arMatrixFreef($m) { + $m = $m | 0; + if ($m | 0) { + _free(HEAP32[$m >> 2] | 0); + _free($m); + } + return 0; } -function __ZNSt3__26locale5facetD0Ev($0) { - $0 = $0 | 0; - __ZNSt3__26locale5facetD2Ev($0); - __ZdlPv($0); +function __ZNSt3__220__time_get_c_storageIwEC2Ev($this) { + $this = $this | 0; + HEAP32[$this >> 2] = 23752; return; } -function __ZNSt3__26locale5__impD0Ev($0) { - $0 = $0 | 0; - __ZNSt3__26locale5__impD2Ev($0); - __ZdlPv($0); +function __ZNSt3__220__time_get_c_storageIcEC2Ev($this) { + $this = $this | 0; + HEAP32[$this >> 2] = 23716; return; } -function __ZNKSt3__26vectorIN6vision5ImageENS_9allocatorIS2_EEE8max_sizeEv($0) { - $0 = $0 | 0; - return 134217727; +function __ZNKSt3__25ctypeIwE8do_widenEc($this, $c) { + $this = $this | 0; + $c = $c | 0; + return $c << 24 >> 24 | 0; } -function __ZNK12_GLOBAL__N_116itanium_demangle9NodeArray5beginEv($0) { - $0 = $0 | 0; - return HEAP32[$0 >> 2] | 0; +function __ZNK6vision17PriorityQueueItemILi96EE4nodeEv($this) { + $this = $this | 0; + return HEAP32[$this >> 2] | 0; } -function __ZNK12_GLOBAL__N_116itanium_demangle4Node7getKindEv($0) { - $0 = $0 | 0; - return HEAP8[$0 + 4 >> 0] | 0; +function _strrchr($s, $c) { + $s = $s | 0; + $c = $c | 0; + return ___memrchr($s, $c, (_strlen($s) | 0) + 1 | 0) | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle19SpecialSubstitutionD0Ev($0) { - $0 = $0 | 0; - __ZdlPv($0); - return; +function _arMatrixFree($m) { + $m = $m | 0; + if ($m | 0) { + _free(HEAP32[$m >> 2] | 0); + _free($m); + } + return 0; } -function __ZN12_GLOBAL__N_116itanium_demangle19SizeofParamPackExprD0Ev($0) { - $0 = $0 | 0; - __ZdlPv($0); - return; +function _ar3DCreateHandle($arParam) { + $arParam = $arParam | 0; + return _ar3DCreateHandle2($arParam + 8 | 0) | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle19PointerToMemberTypeD0Ev($0) { - $0 = $0 | 0; - __ZdlPv($0); - return; +function __ZN6vision9MaxIndex2IfEEiPKT_($x) { + $x = $x | 0; + return +HEAPF32[$x + 4 >> 2] > +HEAPF32[$x >> 2] | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle19GlobalQualifiedNameD0Ev($0) { - $0 = $0 | 0; - __ZdlPv($0); +function __ZN12_GLOBAL__N_116itanium_demangle9ThrowExprD0Ev($this) { + $this = $this | 0; + __ZdlPv($this); return; } -function __ZN12_GLOBAL__N_116itanium_demangle16FloatLiteralImplIfED0Ev($0) { - $0 = $0 | 0; - __ZdlPv($0); +function __ZN12_GLOBAL__N_116itanium_demangle9LocalNameD0Ev($this) { + $this = $this | 0; + __ZdlPv($this); return; } -function __ZN12_GLOBAL__N_116itanium_demangle16FloatLiteralImplIeED0Ev($0) { - $0 = $0 | 0; - __ZdlPv($0); +function __ZN12_GLOBAL__N_116itanium_demangle9DotSuffixD0Ev($this) { + $this = $this | 0; + __ZdlPv($this); return; } -function __ZN12_GLOBAL__N_116itanium_demangle16FloatLiteralImplIdED0Ev($0) { - $0 = $0 | 0; - __ZdlPv($0); +function __ZN12_GLOBAL__N_116itanium_demangle9ArrayTypeD0Ev($this) { + $this = $this | 0; + __ZdlPv($this); return; } -function _new_color_map_2_quant($0) { - $0 = $0 | 0; - HEAP32[(HEAP32[$0 + 484 >> 2] | 0) + 28 >> 2] = 1; - return; +function __ZN12_GLOBAL__N_112OutputStream9getBufferEv($this) { + $this = $this | 0; + return HEAP32[$this >> 2] | 0; } -function __ZNSt3__28messagesIwED0Ev($0) { - $0 = $0 | 0; - __ZNSt3__26locale5facetD2Ev($0); - __ZdlPv($0); - return; +function dynCall_di(index, a1) { + index = index | 0; + a1 = a1 | 0; + return +FUNCTION_TABLE_di[index & 3](a1 | 0); } -function __ZNSt3__28messagesIcED0Ev($0) { - $0 = $0 | 0; - __ZNSt3__26locale5facetD2Ev($0); - __ZdlPv($0); - return; +function __ZNKSt3__221__basic_string_commonILb1EE20__throw_length_errorEv($this) { + $this = $this | 0; + _abort(); } -function __ZNSt3__212_GLOBAL__N_17countofIcEEmPKT_S4_($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return $1 - $0 | 0; +function __ZNK6vision14BinarykMedoidsILi96EE1kEv($this) { + $this = $this | 0; + return HEAP32[$this + 4 >> 2] | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle18ArraySubscriptExprD0Ev($0) { - $0 = $0 | 0; - __ZdlPv($0); +function __ZN12_GLOBAL__N_116itanium_demangle8QualTypeD0Ev($this) { + $this = $this | 0; + __ZdlPv($this); return; } -function __ZNSt3__28numpunctIwED0Ev($0) { - $0 = $0 | 0; - __ZNSt3__28numpunctIwED2Ev($0); - __ZdlPv($0); +function __ZN12_GLOBAL__N_116itanium_demangle8NameTypeD0Ev($this) { + $this = $this | 0; + __ZdlPv($this); return; } -function __ZNSt3__28numpunctIcED0Ev($0) { - $0 = $0 | 0; - __ZNSt3__28numpunctIcED2Ev($0); - __ZdlPv($0); +function __ZN12_GLOBAL__N_116itanium_demangle8FoldExprD0Ev($this) { + $this = $this | 0; + __ZdlPv($this); return; } -function __ZNSt3__215__refstring_imp12_GLOBAL__N_113rep_from_dataEPKc($0) { - $0 = $0 | 0; - return $0 + -12 | 0; +function __ZN12_GLOBAL__N_116itanium_demangle8DtorNameD0Ev($this) { + $this = $this | 0; + __ZdlPv($this); + return; } -function __ZNKSt3__26vectorINS_4pairIfmEENS_9allocatorIS2_EEE8max_sizeEv($0) { - $0 = $0 | 0; - return 536870911; +function __ZN12_GLOBAL__N_116itanium_demangle8CastExprD0Ev($this) { + $this = $this | 0; + __ZdlPv($this); + return; } -function __ZNKSt3__26vectorINS_4pairIfiEENS_9allocatorIS2_EEE8max_sizeEv($0) { - $0 = $0 | 0; - return 536870911; +function __ZN12_GLOBAL__N_116itanium_demangle8CallExprD0Ev($this) { + $this = $this | 0; + __ZdlPv($this); + return; } -function __ZN12_GLOBAL__N_116itanium_demangle17VendorExtQualTypeD0Ev($0) { - $0 = $0 | 0; - __ZdlPv($0); +function __ZN12_GLOBAL__N_116itanium_demangle8BoolExprD0Ev($this) { + $this = $this | 0; + __ZdlPv($this); return; } -function __ZNK6vision25DoGScaleInvariantDetector6heightEv($0) { - $0 = $0 | 0; - return HEAP32[$0 + 4 >> 2] | 0; +function __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv($this) { + $this = $this | 0; + _abort(); } -function __ZN12_GLOBAL__N_116itanium_demangle16StdQualifiedNameD0Ev($0) { - $0 = $0 | 0; - __ZdlPv($0); - return; +function __ZNK6vision25DoGScaleInvariantDetector8featuresEv($this) { + $this = $this | 0; + return $this + 60 | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle16FunctionEncodingD0Ev($0) { - $0 = $0 | 0; - __ZdlPv($0); +function __ZN12_GLOBAL__N_116itanium_demangle7NewExprD0Ev($this) { + $this = $this | 0; + __ZdlPv($this); return; } -function ___cxx_global_var_init_40() { - __ZN46EmscriptenBindingInitializer_constant_bindingsC2Ev(0); - return; +function __ZNSt3__215basic_streambufIwNS_11char_traitsIwEEE9showmanycEv($this) { + $this = $this | 0; + return 0; } -function __ZNSt3__27collateIwED0Ev($0) { - $0 = $0 | 0; - __ZNSt3__27collateIwED2Ev($0); - __ZdlPv($0); - return; +function __ZNSt3__215basic_streambufIcNS_11char_traitsIcEEE9showmanycEv($this) { + $this = $this | 0; + return 0; } -function __ZNSt3__27collateIcED0Ev($0) { - $0 = $0 | 0; - __ZNSt3__27collateIcED2Ev($0); - __ZdlPv($0); - return; +function __ZNK6vision8KeyframeILi96EE6heightEv($this) { + $this = $this | 0; + return HEAP32[$this + 4 >> 2] | 0; } -function __ZNSt3__25ctypeIwED0Ev($0) { - $0 = $0 | 0; - __ZNSt3__26locale5facetD2Ev($0); - __ZdlPv($0); - return; +function __ZNK6vision14BinarykMedoidsILi96EE10assignmentEv($this) { + $this = $this | 0; + return $this + 24 | 0; } -function __ZN6vision9ExceptionD0Ev($0) { - $0 = $0 | 0; - __ZN6vision9ExceptionD2Ev($0); - __ZdlPv($0); - return; +function __ZNK12_GLOBAL__N_110StringView3endEv($this) { + $this = $this | 0; + return HEAP32[$this + 4 >> 2] | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle15UnnamedTypeNameD0Ev($0) { - $0 = $0 | 0; - __ZdlPv($0); +function __ZNSt3__28messagesIwED2Ev($this) { + $this = $this | 0; + __ZNSt3__26locale5facetD2Ev($this); return; } -function __ZN12_GLOBAL__N_116itanium_demangle15PixelVectorTypeD0Ev($0) { - $0 = $0 | 0; - __ZdlPv($0); +function __ZNSt3__28messagesIcED2Ev($this) { + $this = $this | 0; + __ZNSt3__26locale5facetD2Ev($this); return; } -function __ZN12_GLOBAL__N_116itanium_demangle15LiteralOperatorD0Ev($0) { - $0 = $0 | 0; - __ZdlPv($0); +function __ZNSt3__217_DeallocateCaller9__do_callEPv($__ptr) { + $__ptr = $__ptr | 0; + __ZdlPv($__ptr); return; } -function __ZN12_GLOBAL__N_116itanium_demangle15IntegerCastExprD0Ev($0) { - $0 = $0 | 0; - __ZdlPv($0); +function ___cxx_global_var_init_41() { + __ZN46EmscriptenBindingInitializer_constant_bindingsC2Ev(0); return; } -function __ZN12_GLOBAL__N_116itanium_demangle15ConditionalExprD0Ev($0) { - $0 = $0 | 0; - __ZdlPv($0); +function __ZNSt3__27collateIwED2Ev($this) { + $this = $this | 0; + __ZNSt3__26locale5facetD2Ev($this); return; } -function __ZN12_GLOBAL__N_116itanium_demangle15ClosureTypeNameD0Ev($0) { - $0 = $0 | 0; - __ZdlPv($0); +function __ZNSt3__27collateIcED2Ev($this) { + $this = $this | 0; + __ZNSt3__26locale5facetD2Ev($this); return; } -function __ZN12_GLOBAL__N_116itanium_demangle15BracedRangeExprD0Ev($0) { - $0 = $0 | 0; - __ZdlPv($0); - return; +function __ZNKSt3__218__libcpp_refstring5c_strEv($this) { + $this = $this | 0; + return HEAP32[$this >> 2] | 0; } -function _jdiv_round_up($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return ($0 + -1 + $1 | 0) / ($1 | 0) | 0 | 0; +function __ZNK6vision25GaussianScaleSpacePyramid6imagesEv($this) { + $this = $this | 0; + return $this + 4 | 0; } -function __ZNSt3__213basic_ostreamIwNS_11char_traitsIwEEED2Ev($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return; +function __ZNK12_GLOBAL__N_110StringView5beginEv($this) { + $this = $this | 0; + return HEAP32[$this >> 2] | 0; } -function __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEED2Ev($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return; +function _jdiv_round_up($a, $b) { + $a = $a | 0; + $b = $b | 0; + return ($a + -1 + $b | 0) / ($b | 0) | 0 | 0; } -function __ZNSt3__213basic_istreamIwNS_11char_traitsIwEEED2Ev($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return; +function _ar2UtilRemoveExt($filename) { + $filename = $filename | 0; + return _arUtilRemoveExt($filename) | 0; } -function __ZNSt3__213basic_istreamIcNS_11char_traitsIcEEED2Ev($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return; +function __ZNKSt3__210moneypunctIwLb1EE16do_thousands_sepEv($this) { + $this = $this | 0; + return 2147483647; } -function __ZNK6vision21HoughSimilarityVoting18getSubBinLocationsEv($0) { - $0 = $0 | 0; - return $0 + 112 | 0; +function __ZNKSt3__210moneypunctIwLb1EE16do_decimal_pointEv($this) { + $this = $this | 0; + return 2147483647; } -function __ZNK6vision10DoGPyramid17numScalePerOctaveEv($0) { - $0 = $0 | 0; - return HEAP32[$0 + 16 >> 2] | 0; +function __ZNKSt3__210moneypunctIwLb0EE16do_thousands_sepEv($this) { + $this = $this | 0; + return 2147483647; } -function __ZN12_GLOBAL__N_116itanium_demangle14IntegerLiteralD0Ev($0) { - $0 = $0 | 0; - __ZdlPv($0); - return; +function __ZNKSt3__210moneypunctIwLb0EE16do_decimal_pointEv($this) { + $this = $this | 0; + return 2147483647; } -function __ZN12_GLOBAL__N_116itanium_demangle14ConversionExprD0Ev($0) { - $0 = $0 | 0; - __ZdlPv($0); - return; +function __ZNK6vision20BinaryFeatureMatcherILi96EE7matchesEv($this) { + $this = $this | 0; + return $this | 0; +} + +function __ZN6vision25GaussianScaleSpacePyramid6imagesEv($this) { + $this = $this | 0; + return $this + 4 | 0; } function dynCall_vi(index, a1) { @@ -109608,59 +110435,35 @@ function _createKpmHandle($cparamLT) { return _kpmCreateHandle($cparamLT) | 0; } -function _catgets($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - return $3 | 0; -} - -function __ZNK6vision17PriorityQueueItemILi96EE4distEv($0) { - $0 = $0 | 0; - return HEAP32[$0 + 4 >> 2] | 0; -} - -function __ZN12_GLOBAL__N_116itanium_demangle13ReferenceTypeD0Ev($0) { - $0 = $0 | 0; - __ZdlPv($0); - return; -} - -function __ZN12_GLOBAL__N_116itanium_demangle13QualifiedNameD0Ev($0) { - $0 = $0 | 0; - __ZdlPv($0); - return; +function __ZNKSt3__26vectorItNS_9allocatorItEEE8max_sizeEv($this) { + $this = $this | 0; + return 2147483647; } -function __ZN12_GLOBAL__N_116itanium_demangle13ParameterPackD0Ev($0) { - $0 = $0 | 0; - __ZdlPv($0); - return; +function __ZNKSt3__26vectorIiNS_9allocatorIiEEE8max_sizeEv($this) { + $this = $this | 0; + return 1073741823; } -function __ZN12_GLOBAL__N_116itanium_demangle13ObjCProtoNameD0Ev($0) { - $0 = $0 | 0; - __ZdlPv($0); - return; +function __ZNKSt3__26vectorIhNS_9allocatorIhEEE8max_sizeEv($this) { + $this = $this | 0; + return 2147483647; } -function __ZN12_GLOBAL__N_116itanium_demangle13NodeArrayNodeD0Ev($0) { - $0 = $0 | 0; - __ZdlPv($0); - return; +function __ZNKSt3__26vectorIfNS_9allocatorIfEEE8max_sizeEv($this) { + $this = $this | 0; + return 1073741823; } -function __ZN12_GLOBAL__N_116itanium_demangle13FunctionParamD0Ev($0) { - $0 = $0 | 0; - __ZdlPv($0); - return; +function _my_error_exit($cinfo) { + $cinfo = $cinfo | 0; + _longjmp((HEAP32[$cinfo >> 2] | 0) + 132 | 0, 1); } -function __ZN12_GLOBAL__N_116itanium_demangle13EnclosingExprD0Ev($0) { - $0 = $0 | 0; - __ZdlPv($0); - return; +function ___lctrans($msg, $lm) { + $msg = $msg | 0; + $lm = $lm | 0; + return ___lctrans_impl($msg, $lm) | 0; } function ___clang_call_terminate($0) { @@ -109669,308 +110472,144 @@ function ___clang_call_terminate($0) { __ZSt9terminatev(); } -function __ZNSt12length_errorD0Ev($0) { - $0 = $0 | 0; - __ZNSt11logic_errorD2Ev($0); - __ZdlPv($0); - return; -} - -function __ZNKSt3__28numpunctIwE16do_thousands_sepEv($0) { - $0 = $0 | 0; - return HEAP32[$0 + 12 >> 2] | 0; -} - -function __ZNKSt3__25ctypeIwE8do_widenEc($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return $1 << 24 >> 24 | 0; -} - -function __ZN12_GLOBAL__N_116itanium_demangle12TemplateArgsD0Ev($0) { - $0 = $0 | 0; - __ZdlPv($0); - return; -} - -function __ZN12_GLOBAL__N_116itanium_demangle12NoexceptSpecD0Ev($0) { - $0 = $0 | 0; - __ZdlPv($0); - return; -} - -function __ZN12_GLOBAL__N_116itanium_demangle12InitListExprD0Ev($0) { - $0 = $0 | 0; - __ZdlPv($0); - return; -} - -function __ZN12_GLOBAL__N_116itanium_demangle12FunctionTypeD0Ev($0) { - $0 = $0 | 0; - __ZdlPv($0); - return; -} - -function __ZN12_GLOBAL__N_116itanium_demangle12EnableIfAttrD0Ev($0) { - $0 = $0 | 0; - __ZdlPv($0); - return; -} - -function __ZN12_GLOBAL__N_116itanium_demangle12CtorDtorNameD0Ev($0) { - $0 = $0 | 0; - __ZdlPv($0); - return; -} - -function _strtold_l($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - return +(+_strtold($0, $1)); -} - -function __ZNSt3__28ios_baseD0Ev($0) { - $0 = $0 | 0; - __ZNSt3__28ios_baseD2Ev($0); - __ZdlPv($0); - return; -} - -function __ZNSt3__25ctypeIcED0Ev($0) { - $0 = $0 | 0; - __ZNSt3__25ctypeIcED2Ev($0); - __ZdlPv($0); - return; -} - -function __ZNSt3__210moneypunctIwLb1EED2Ev($0) { - $0 = $0 | 0; - __ZNSt3__26locale5facetD2Ev($0); - return; -} - -function __ZNSt3__210moneypunctIwLb0EED2Ev($0) { - $0 = $0 | 0; - __ZNSt3__26locale5facetD2Ev($0); - return; -} - -function __ZNSt3__210moneypunctIcLb1EED2Ev($0) { - $0 = $0 | 0; - __ZNSt3__26locale5facetD2Ev($0); - return; -} - -function __ZNSt3__210moneypunctIcLb0EED2Ev($0) { - $0 = $0 | 0; - __ZNSt3__26locale5facetD2Ev($0); - return; -} - -function __ZNSt11logic_errorD0Ev($0) { - $0 = $0 | 0; - __ZNSt11logic_errorD2Ev($0); - __ZdlPv($0); - return; -} - -function __ZNKSt3__28numpunctIwE16do_decimal_pointEv($0) { - $0 = $0 | 0; - return HEAP32[$0 + 8 >> 2] | 0; -} - -function __ZNK6vision4NodeILi96EE4leafEv($0) { - $0 = $0 | 0; - return (HEAP8[$0 + 100 >> 0] | 0) != 0 | 0; -} - -function __ZNK6vision25DoGScaleInvariantDetector5widthEv($0) { - $0 = $0 | 0; - return HEAP32[$0 >> 2] | 0; -} - -function __ZN12_GLOBAL__N_116itanium_demangle11SpecialNameD0Ev($0) { - $0 = $0 | 0; - __ZdlPv($0); - return; -} - -function __ZN12_GLOBAL__N_116itanium_demangle11PostfixExprD0Ev($0) { - $0 = $0 | 0; - __ZdlPv($0); - return; -} - -function __ZN12_GLOBAL__N_116itanium_demangle11PointerTypeD0Ev($0) { - $0 = $0 | 0; - __ZdlPv($0); - return; -} - -function __ZNKSt3__28numpunctIcE16do_thousands_sepEv($0) { - $0 = $0 | 0; - return HEAP8[$0 + 9 >> 0] | 0; -} - -function __ZNKSt3__28numpunctIcE16do_decimal_pointEv($0) { - $0 = $0 | 0; - return HEAP8[$0 + 8 >> 0] | 0; -} - -function __ZNKSt3__221__basic_string_commonILb1EE20__throw_length_errorEv($0) { - $0 = $0 | 0; - _abort(); +function __ZNSt3__215basic_streambufIwNS_11char_traitsIwEEE4syncEv($this) { + $this = $this | 0; + return 0; } -function __ZN6vision5ImageD2Ev($0) { - $0 = $0 | 0; - __ZNSt3__210shared_ptrIhED2Ev($0 + 24 | 0); - return; +function __ZNSt3__215basic_streambufIcNS_11char_traitsIcEEE4syncEv($this) { + $this = $this | 0; + return 0; } -function __ZN12_GLOBAL__N_116itanium_demangle10VectorTypeD0Ev($0) { - $0 = $0 | 0; - __ZdlPv($0); - return; +function __ZNKSt3__27codecvtIDsc11__mbstate_tE16do_always_noconvEv($this) { + $this = $this | 0; + return 0; } -function __ZN12_GLOBAL__N_116itanium_demangle10PrefixExprD0Ev($0) { - $0 = $0 | 0; - __ZdlPv($0); - return; +function __ZNKSt3__27codecvtIDic11__mbstate_tE16do_always_noconvEv($this) { + $this = $this | 0; + return 0; } -function __ZN12_GLOBAL__N_116itanium_demangle10NestedNameD0Ev($0) { - $0 = $0 | 0; - __ZdlPv($0); - return; +function __ZNK6vision8KeyframeILi96EE5widthEv($this) { + $this = $this | 0; + return HEAP32[$this >> 2] | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle10MemberExprD0Ev($0) { - $0 = $0 | 0; - __ZdlPv($0); - return; +function __ZNK6vision5Image3getIfEEPKT_v($this) { + $this = $this | 0; + return HEAP32[$this + 24 >> 2] | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle10DeleteExprD0Ev($0) { - $0 = $0 | 0; - __ZdlPv($0); - return; +function _strtold_l($s, $p, $l) { + $s = $s | 0; + $p = $p | 0; + $l = $l | 0; + return +(+_strtold($s, $p)); } -function __ZN12_GLOBAL__N_116itanium_demangle10BracedExprD0Ev($0) { - $0 = $0 | 0; - __ZdlPv($0); +function __ZNKSt3__28messagesIwE8do_closeEl($this, $__c) { + $this = $this | 0; + $__c = $__c | 0; return; } -function __ZN12_GLOBAL__N_116itanium_demangle10BinaryExprD0Ev($0) { - $0 = $0 | 0; - __ZdlPv($0); +function __ZNKSt3__28messagesIcE8do_closeEl($this, $__c) { + $this = $this | 0; + $__c = $__c | 0; return; } -function __ZN12_GLOBAL__N_116itanium_demangle10AbiTagAttrD0Ev($0) { - $0 = $0 | 0; - __ZdlPv($0); - return; +function __ZNKSt3__27codecvtIwc11__mbstate_tE16do_always_noconvEv($this) { + $this = $this | 0; + return 0; } -function _strtof_l($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - return +(+_strtof($0, $1)); +function __ZNKSt3__27codecvtIcc11__mbstate_tE16do_always_noconvEv($this) { + $this = $this | 0; + return 1; } -function _strtod_l($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - return +(+_strtod($0, $1)); +function __ZNK6vision5Image8channelsEv($this) { + $this = $this | 0; + return HEAP32[$this + 16 >> 2] | 0; } -function __ZNSt3__220__time_get_c_storageIwEC2Ev($0) { - $0 = $0 | 0; - HEAP32[$0 >> 2] = 23752; - return; +function __ZN6vision5Image3getIfEEPT_v($this) { + $this = $this | 0; + return HEAP32[$this + 24 >> 2] | 0; } -function __ZNSt3__220__time_get_c_storageIcEC2Ev($0) { - $0 = $0 | 0; - HEAP32[$0 >> 2] = 23716; - return; +function _strtof_l($s, $p, $l) { + $s = $s | 0; + $p = $p | 0; + $l = $l | 0; + return +(+_strtof($s, $p)); } - -function __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv($0) { - $0 = $0 | 0; - _abort(); + +function _strtod_l($s, $p, $l) { + $s = $s | 0; + $p = $p | 0; + $l = $l | 0; + return +(+_strtod($s, $p)); } -function __ZNK6vision17PriorityQueueItemILi96EE4nodeEv($0) { - $0 = $0 | 0; - return HEAP32[$0 >> 2] | 0; +function __ZNKSt3__27codecvtIDsc11__mbstate_tE13do_max_lengthEv($this) { + $this = $this | 0; + return 4; } -function __ZN10emscripten8internal11BindingTypeIivE12fromWireTypeEi($v) { - $v = $v | 0; - return $v | 0; +function __ZNKSt3__27codecvtIDic11__mbstate_tE13do_max_lengthEv($this) { + $this = $this | 0; + return 4; } -function _jpeg_free_small($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - _free($1); - return; +function __ZNKSt3__25ctypeIcE8do_widenEc($this, $c) { + $this = $this | 0; + $c = $c | 0; + return $c | 0; } -function _jpeg_free_large($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - _free($1); - return; +function __ZNK6vision4NodeILi96EE12reverseIndexEv($this) { + $this = $this | 0; + return $this + 116 | 0; } -function __ZNSt3__215basic_streambufIwNS_11char_traitsIwEEE9showmanycEv($0) { - $0 = $0 | 0; - return 0; +function __ZNK6vision18BinaryFeatureStore6pointsEv($this) { + $this = $this | 0; + return $this + 16 | 0; } -function __ZNSt3__215basic_streambufIcNS_11char_traitsIcEEE9showmanycEv($0) { - $0 = $0 | 0; - return 0; +function __ZN6vision18BinaryFeatureStore8featuresEv($this) { + $this = $this | 0; + return $this + 4 | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle9ThrowExprD0Ev($0) { - $0 = $0 | 0; - __ZdlPv($0); - return; +function __ZN10emscripten8internal11BindingTypeIivE12fromWireTypeEi($v) { + $v = $v | 0; + return $v | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle9LocalNameD0Ev($0) { - $0 = $0 | 0; - __ZdlPv($0); - return; +function __ZNKSt3__27codecvtIcc11__mbstate_tE13do_max_lengthEv($this) { + $this = $this | 0; + return 1; } -function __ZN12_GLOBAL__N_116itanium_demangle9DotSuffixD0Ev($0) { - $0 = $0 | 0; - __ZdlPv($0); +function __ZNK16NullArrayDeleterIhEclEPh($this, $ptr) { + $this = $this | 0; + $ptr = $ptr | 0; return; } -function __ZN12_GLOBAL__N_116itanium_demangle9ArrayTypeD0Ev($0) { - $0 = $0 | 0; - __ZdlPv($0); - return; +function __ZN6vision4NodeILi96EE12reverseIndexEv($this) { + $this = $this | 0; + return $this + 116 | 0; } -function __ZN12_GLOBAL__N_112OutputStream9getBufferEv($0) { - $0 = $0 | 0; - return HEAP32[$0 >> 2] | 0; +function __ZN6vision18BinaryFeatureStore6pointsEv($this) { + $this = $this | 0; + return $this + 16 | 0; } function _llvm_cttz_i32(x) { @@ -109978,57 +110617,44 @@ function _llvm_cttz_i32(x) { return (x ? 31 - (Math_clz32(x ^ x - 1) | 0) | 0 : 32) | 0; } -function _init_source($0) { - $0 = $0 | 0; - HEAP32[(HEAP32[$0 + 24 >> 2] | 0) + 36 >> 2] = 1; - return; -} - -function __ZNK6vision14BinarykMedoidsILi96EE1kEv($0) { - $0 = $0 | 0; - return HEAP32[$0 + 4 >> 2] | 0; +function __ZNSt3__211char_traitsIcE12to_char_typeEi($__c) { + $__c = $__c | 0; + return $__c & 255 | 0; } -function __ZN12_GLOBAL__N_116itanium_demangle8QualTypeD0Ev($0) { - $0 = $0 | 0; - __ZdlPv($0); - return; +function __ZNKSt3__27codecvtIDsc11__mbstate_tE11do_encodingEv($this) { + $this = $this | 0; + return 0; } -function __ZN12_GLOBAL__N_116itanium_demangle8NameTypeD0Ev($0) { - $0 = $0 | 0; - __ZdlPv($0); - return; +function __ZNKSt3__27codecvtIDic11__mbstate_tE11do_encodingEv($this) { + $this = $this | 0; + return 0; } -function __ZN12_GLOBAL__N_116itanium_demangle8FoldExprD0Ev($0) { - $0 = $0 | 0; - __ZdlPv($0); - return; +function __ZNKSt3__210moneypunctIcLb1EE16do_thousands_sepEv($this) { + $this = $this | 0; + return 127; } -function __ZN12_GLOBAL__N_116itanium_demangle8DtorNameD0Ev($0) { - $0 = $0 | 0; - __ZdlPv($0); - return; +function __ZNKSt3__210moneypunctIcLb1EE16do_decimal_pointEv($this) { + $this = $this | 0; + return 127; } -function __ZN12_GLOBAL__N_116itanium_demangle8CastExprD0Ev($0) { - $0 = $0 | 0; - __ZdlPv($0); - return; +function __ZNKSt3__210moneypunctIcLb0EE16do_thousands_sepEv($this) { + $this = $this | 0; + return 127; } -function __ZN12_GLOBAL__N_116itanium_demangle8CallExprD0Ev($0) { - $0 = $0 | 0; - __ZdlPv($0); - return; +function __ZNKSt3__210moneypunctIcLb0EE16do_decimal_pointEv($this) { + $this = $this | 0; + return 127; } -function __ZN12_GLOBAL__N_116itanium_demangle8BoolExprD0Ev($0) { - $0 = $0 | 0; - __ZdlPv($0); - return; +function __ZNK6vision5Image6heightEv($this) { + $this = $this | 0; + return HEAP32[$this + 8 >> 2] | 0; } function __ZN10__cxxabiv121__isOurExceptionClassEPK17_Unwind_Exception($0) { @@ -110036,77 +110662,62 @@ function __ZN10__cxxabiv121__isOurExceptionClassEPK17_Unwind_Exception($0) { return 0; } -function __ZNK6vision25DoGScaleInvariantDetector8featuresEv($0) { - $0 = $0 | 0; - return $0 + 60 | 0; -} - -function __ZN12_GLOBAL__N_116itanium_demangle7NewExprD0Ev($0) { - $0 = $0 | 0; - __ZdlPv($0); - return; -} - -function _icpGetXw2XcCleanup($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - _free($0); - _free($1); - return; +function __ZNSt3__211char_traitsIcE11to_int_typeEc($__c) { + $__c = $__c | 0; + return $__c & 255 | 0; } -function _arMultiFreeConfig($0) { - $0 = $0 | 0; - _free(HEAP32[$0 >> 2] | 0); - _free($0); - return 0; +function __ZNKSt3__27codecvtIcc11__mbstate_tE11do_encodingEv($this) { + $this = $this | 0; + return 1; } -function __ZNKSt3__210moneypunctIwLb1EE16do_thousands_sepEv($0) { - $0 = $0 | 0; - return 2147483647; +function __ZNK6vision5Image5widthEv($this) { + $this = $this | 0; + return HEAP32[$this + 4 >> 2] | 0; } -function __ZNKSt3__210moneypunctIwLb1EE16do_decimal_pointEv($0) { - $0 = $0 | 0; - return 2147483647; +function __ZNK6vision5Image4stepEv($this) { + $this = $this | 0; + return HEAP32[$this + 12 >> 2] | 0; } -function __ZNKSt3__210moneypunctIwLb0EE16do_thousands_sepEv($0) { - $0 = $0 | 0; - return 2147483647; +function _arFilterTransMatFinal($ftmi) { + $ftmi = $ftmi | 0; + if ($ftmi | 0) _free($ftmi); + return; } -function __ZNKSt3__210moneypunctIwLb0EE16do_decimal_pointEv($0) { - $0 = $0 | 0; - return 2147483647; +function __ZNSt3__211char_traitsIwE6lengthEPKw($__s) { + $__s = $__s | 0; + return _wcslen($__s) | 0; } -function __ZNK6vision8KeyframeILi96EE6heightEv($0) { - $0 = $0 | 0; - return HEAP32[$0 + 4 >> 2] | 0; +function __ZNSt3__211char_traitsIcE6lengthEPKc($__s) { + $__s = $__s | 0; + return _strlen($__s) | 0; } -function __ZNK6vision14BinarykMedoidsILi96EE10assignmentEv($0) { - $0 = $0 | 0; - return $0 + 24 | 0; +function __ZNKSt3__218__libcpp_refstring15__uses_refcountEv($this) { + $this = $this | 0; + return 1; } -function __ZNK12_GLOBAL__N_110StringView3endEv($0) { - $0 = $0 | 0; - return HEAP32[$0 + 4 >> 2] | 0; +function __ZNK6vision5Image3getEv($this) { + $this = $this | 0; + return HEAP32[$this + 24 >> 2] | 0; } -function __ZN6vision4min2IfEET_S1_S1_($0, $1) { - $0 = +$0; - $1 = +$1; - return +($0 < $1 ? $0 : $1); +function __ZN6vision4min2IfEET_S1_S1_($a, $b) { + $a = +$a; + $b = +$b; + return +($a < $b ? $a : $b); } -function __ZN6vision4max2IfEET_S1_S1_($0, $1) { - $0 = +$0; - $1 = +$1; - return +($0 > $1 ? $0 : $1); +function __ZN6vision4max2IfEET_S1_S1_($a, $b) { + $a = +$a; + $b = +$b; + return +($a > $b ? $a : $b); } function __ZN10emscripten8internal14asGenericValueIiEEdT_($t) { @@ -110114,41 +110725,30 @@ function __ZN10emscripten8internal14asGenericValueIiEEdT_($t) { return +(+($t | 0)); } -function __ZNSt3__28messagesIwED2Ev($0) { - $0 = $0 | 0; - __ZNSt3__26locale5facetD2Ev($0); - return; -} - -function __ZNSt3__28messagesIcED2Ev($0) { - $0 = $0 | 0; - __ZNSt3__26locale5facetD2Ev($0); +function _jpeg_destroy_decompress($cinfo) { + $cinfo = $cinfo | 0; + _jpeg_destroy($cinfo); return; } -function __ZNKSt3__26vectorItNS_9allocatorItEEE8max_sizeEv($0) { - $0 = $0 | 0; - return 2147483647; -} - -function __ZNKSt3__26vectorIiNS_9allocatorIiEEE8max_sizeEv($0) { - $0 = $0 | 0; - return 1073741823; +function __ZNK6vision8KeyframeILi96EE5indexEv($this) { + $this = $this | 0; + return $this + 36 | 0; } -function __ZNKSt3__26vectorIhNS_9allocatorIhEEE8max_sizeEv($0) { - $0 = $0 | 0; - return 2147483647; +function __ZN6vision5Image3getEv($this) { + $this = $this | 0; + return HEAP32[$this + 24 >> 2] | 0; } -function __ZNKSt3__26vectorIfNS_9allocatorIfEEE8max_sizeEv($0) { - $0 = $0 | 0; - return 1073741823; +function __ZN6vision4log2IfEET_S1_($x) { + $x = +$x; + return +(+Math_log(+$x) / .6931471824645996); } -function __ZN6vision4log2IfEET_S1_($0) { - $0 = +$0; - return +(+Math_log(+$0) / .6931471824645996); +function __ZN12_GLOBAL__N_116itanium_demangle4NodeD0Ev($this) { + $this = $this | 0; + _llvm_trap(); } function __ZN10emscripten8internal14ArgArrayGetterINS0_8TypeListIJviiEEEE3getEv() { @@ -110179,56 +110779,45 @@ function b6(p0, p1, p2) { return 0; } -function _isspace($0) { - $0 = $0 | 0; - return (($0 | 0) == 32 | ($0 + -9 | 0) >>> 0 < 5) & 1 | 0; -} - -function __ZNSt3__27collateIwED2Ev($0) { - $0 = $0 | 0; - __ZNSt3__26locale5facetD2Ev($0); - return; +function _pthread_cond_wait($cond, $mutex) { + $cond = $cond | 0; + $mutex = $mutex | 0; + return 0; } -function __ZNSt3__27collateIcED2Ev($0) { - $0 = $0 | 0; - __ZNSt3__26locale5facetD2Ev($0); - return; +function _isspace($c) { + $c = $c | 0; + return (($c | 0) == 32 | ($c + -9 | 0) >>> 0 < 5) & 1 | 0; } -function __ZNSt3__215basic_streambufIwNS_11char_traitsIwEEE4syncEv($0) { - $0 = $0 | 0; +function __ZNKSt3__210moneypunctIwLb1EE14do_frac_digitsEv($this) { + $this = $this | 0; return 0; } -function __ZNSt3__215basic_streambufIcNS_11char_traitsIcEEE4syncEv($0) { - $0 = $0 | 0; +function __ZNKSt3__210moneypunctIwLb0EE14do_frac_digitsEv($this) { + $this = $this | 0; return 0; } -function __ZNKSt3__27codecvtIDsc11__mbstate_tE16do_always_noconvEv($0) { - $0 = $0 | 0; +function __ZNKSt3__210moneypunctIcLb1EE14do_frac_digitsEv($this) { + $this = $this | 0; return 0; } -function __ZNKSt3__27codecvtIDic11__mbstate_tE16do_always_noconvEv($0) { - $0 = $0 | 0; +function __ZNKSt3__210moneypunctIcLb0EE14do_frac_digitsEv($this) { + $this = $this | 0; return 0; } -function __ZNKSt3__218__libcpp_refstring5c_strEv($0) { - $0 = $0 | 0; - return HEAP32[$0 >> 2] | 0; -} - -function __ZNK6vision25GaussianScaleSpacePyramid6imagesEv($0) { - $0 = $0 | 0; - return $0 + 4 | 0; +function __ZNK6vision8KeyframeILi96EE5storeEv($this) { + $this = $this | 0; + return $this + 8 | 0; } -function __ZNK12_GLOBAL__N_110StringView5beginEv($0) { - $0 = $0 | 0; - return HEAP32[$0 >> 2] | 0; +function __ZN6vision4NodeILi96EE8childrenEv($this) { + $this = $this | 0; + return $this + 104 | 0; } function __ZN10emscripten8internal14ArgArrayGetterINS0_8TypeListIJviEEEE3getEv() { @@ -110253,79 +110842,34 @@ function __ZN10emscripten8internal11BindingTypeIdvE12fromWireTypeEd($v) { return +$v; } -function __ZNKSt3__27codecvtIwc11__mbstate_tE16do_always_noconvEv($0) { - $0 = $0 | 0; - return 0; -} - -function __ZNKSt3__27codecvtIcc11__mbstate_tE16do_always_noconvEv($0) { - $0 = $0 | 0; - return 1; -} - -function __ZNK6vision20BinaryFeatureMatcherILi96EE7matchesEv($0) { - $0 = $0 | 0; - return $0 | 0; -} - -function __ZN6vision25GaussianScaleSpacePyramid6imagesEv($0) { - $0 = $0 | 0; - return $0 + 4 | 0; +function __ZN6vision8KeyframeILi96EE5storeEv($this) { + $this = $this | 0; + return $this + 8 | 0; } function __ZN10emscripten8internal14ArgArrayGetterINS0_8TypeListIJiEEEE3getEv() { return 16952; } -function _strcpy($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - ___stpcpy($0, $1) | 0; - return $0 | 0; -} - -function _freelocale($0) { - $0 = $0 | 0; - if (___loc_is_allocated($0) | 0) _free($0); - return; +function __ZNSt3__211char_traitsIwE12to_char_typeEj($__c) { + $__c = $__c | 0; + return $__c | 0; } -function ___lctrans($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return ___lctrans_impl($0, $1) | 0; +function __ZNK6vision5Image4typeEv($this) { + $this = $this | 0; + return HEAP32[$this >> 2] | 0; } -function __ZNSt3__217_DeallocateCaller9__do_callEPv($0) { - $0 = $0 | 0; - __ZdlPv($0); +function _freelocale($l) { + $l = $l | 0; + if (___loc_is_allocated($l) | 0) _free($l); return; } -function __ZNKSt3__27codecvtIDsc11__mbstate_tE13do_max_lengthEv($0) { - $0 = $0 | 0; - return 4; -} - -function __ZNKSt3__27codecvtIDic11__mbstate_tE13do_max_lengthEv($0) { - $0 = $0 | 0; - return 4; -} - -function __ZNKSt3__25ctypeIcE8do_widenEc($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return $1 | 0; -} - -function __ZNK6vision8KeyframeILi96EE5widthEv($0) { - $0 = $0 | 0; - return HEAP32[$0 >> 2] | 0; -} - -function __ZNK6vision5Image3getIfEEPKT_v($0) { - $0 = $0 | 0; - return HEAP32[$0 + 24 >> 2] | 0; +function __ZNSt3__211char_traitsIwE11to_int_typeEw($__c) { + $__c = $__c | 0; + return $__c | 0; } function __ZN10emscripten8internal11LightTypeIDINS_11memory_viewItEEE3getEv() { @@ -110376,63 +110920,25 @@ function __ZN10emscripten8internal11LightTypeIDINS_11memory_viewIaEEE3getEv() { return 15304; } -function __ZNSt3__211char_traitsIcE12to_char_typeEi($0) { - $0 = $0 | 0; - return $0 & 255 | 0; -} - -function __ZNKSt3__27codecvtIcc11__mbstate_tE13do_max_lengthEv($0) { - $0 = $0 | 0; - return 1; +function _catopen($name, $oflag) { + $name = $name | 0; + $oflag = $oflag | 0; + return -1 | 0; } function __ZSt18uncaught_exceptionv() { return (__ZSt19uncaught_exceptionsv() | 0) > 0 | 0; } -function __ZNSt3__211char_traitsIcE11to_int_typeEc($0) { - $0 = $0 | 0; - return $0 & 255 | 0; -} - -function __ZNKSt3__27codecvtIDsc11__mbstate_tE11do_encodingEv($0) { - $0 = $0 | 0; - return 0; -} - -function __ZNKSt3__27codecvtIDic11__mbstate_tE11do_encodingEv($0) { - $0 = $0 | 0; - return 0; -} - -function __ZNKSt3__210moneypunctIcLb1EE16do_thousands_sepEv($0) { - $0 = $0 | 0; - return 127; -} - -function __ZNKSt3__210moneypunctIcLb1EE16do_decimal_pointEv($0) { - $0 = $0 | 0; - return 127; -} - -function __ZNKSt3__210moneypunctIcLb0EE16do_thousands_sepEv($0) { - $0 = $0 | 0; - return 127; -} - -function __ZNKSt3__210moneypunctIcLb0EE16do_decimal_pointEv($0) { - $0 = $0 | 0; - return 127; -} - -function __ZNK6vision5Image8channelsEv($0) { - $0 = $0 | 0; - return HEAP32[$0 + 16 >> 2] | 0; +function __ZN12_GLOBAL__N_116itanium_demangle4NodeD2Ev($this) { + $this = $this | 0; + return; } -function __ZN6vision5Image3getIfEEPT_v($0) { - $0 = $0 | 0; - return HEAP32[$0 + 24 >> 2] | 0; +function _strtold($s, $p) { + $s = $s | 0; + $p = $p | 0; + return +(+_strtox_667($s, $p, 2)); } function _roundf(d) { @@ -110440,93 +110946,43 @@ function _roundf(d) { return d >= 0.0 ? +Math_floor(d + .5) : +Math_ceil(d - .5); } -function _arVecFree($0) { - $0 = $0 | 0; - _free(HEAP32[$0 >> 2] | 0); - _free($0); +function _arVecFree($v) { + $v = $v | 0; + _free(HEAP32[$v >> 2] | 0); + _free($v); return 0; } -function __ZNSt3__211char_traitsIwE6lengthEPKw($0) { - $0 = $0 | 0; - return _wcslen($0) | 0; -} - -function __ZNSt3__211char_traitsIcE6lengthEPKc($0) { - $0 = $0 | 0; - return _strlen($0) | 0; -} - -function __ZNKSt3__27codecvtIcc11__mbstate_tE11do_encodingEv($0) { - $0 = $0 | 0; - return 1; -} - -function __ZNK6vision4NodeILi96EE12reverseIndexEv($0) { - $0 = $0 | 0; - return $0 + 116 | 0; -} - -function __ZNK6vision18BinaryFeatureStore6pointsEv($0) { - $0 = $0 | 0; - return $0 + 16 | 0; -} - -function __ZN6vision18BinaryFeatureStore8featuresEv($0) { - $0 = $0 | 0; - return $0 + 4 | 0; -} - function dynCall_i(index) { index = index | 0; return FUNCTION_TABLE_i[index & 1]() | 0; } -function _my_error_exit($0) { - $0 = $0 | 0; - _longjmp((HEAP32[$0 >> 2] | 0) + 132 | 0, 1); +function _strtof($s, $p) { + $s = $s | 0; + $p = $p | 0; + return +(+_strtox_667($s, $p, 0)); } -function _ar3DCreateHandle($0) { - $0 = $0 | 0; - return _ar3DCreateHandle2($0 + 8 | 0) | 0; +function _strtod($s, $p) { + $s = $s | 0; + $p = $p | 0; + return +(+_strtox_667($s, $p, 1)); } -function __ZNKSt3__28messagesIwE8do_closeEl($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return; +function __ZNK6vision10DoGPyramid6imagesEv($this) { + $this = $this | 0; + return $this | 0; } -function __ZNKSt3__28messagesIcE8do_closeEl($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; +function __ZNK10__cxxabiv116__shim_type_info5noop2Ev($this) { + $this = $this | 0; return; } -function __ZNKSt3__218__libcpp_refstring15__uses_refcountEv($0) { - $0 = $0 | 0; - return 1; -} - -function __ZN6vision4NodeILi96EE12reverseIndexEv($0) { - $0 = $0 | 0; - return $0 + 116 | 0; -} - -function __ZN6vision18BinaryFeatureStore6pointsEv($0) { - $0 = $0 | 0; - return $0 + 16 | 0; -} - -function __ZNK6vision5Image6heightEv($0) { - $0 = $0 | 0; - return HEAP32[$0 + 8 >> 2] | 0; -} - -function __ZN12_GLOBAL__N_116itanium_demangle4NodeD0Ev($0) { - $0 = $0 | 0; - _llvm_trap(); +function __ZNK10__cxxabiv116__shim_type_info5noop1Ev($this) { + $this = $this | 0; + return; } function b19(p0, p1, p2) { @@ -110536,39 +110992,14 @@ function b19(p0, p1, p2) { nullFunc_viii(19); } -function __ZNKSt3__210moneypunctIwLb1EE14do_frac_digitsEv($0) { - $0 = $0 | 0; - return 0; -} - -function __ZNKSt3__210moneypunctIwLb0EE14do_frac_digitsEv($0) { - $0 = $0 | 0; - return 0; -} - -function __ZNKSt3__210moneypunctIcLb1EE14do_frac_digitsEv($0) { - $0 = $0 | 0; - return 0; -} - -function __ZNKSt3__210moneypunctIcLb0EE14do_frac_digitsEv($0) { - $0 = $0 | 0; - return 0; -} - -function __ZNK6vision5Image5widthEv($0) { - $0 = $0 | 0; - return HEAP32[$0 + 4 >> 2] | 0; -} - -function __ZNK6vision5Image4stepEv($0) { - $0 = $0 | 0; - return HEAP32[$0 + 12 >> 2] | 0; +function __ZN6vision5roundIfEET_S1_($x) { + $x = +$x; + return +(+Math_floor(+($x + .5))); } -function __ZN6vision5roundIfEET_S1_($0) { - $0 = +$0; - return +(+Math_floor(+($0 + .5))); +function __ZN6vision17PriorityQueueItemILi96EED2Ev($this) { + $this = $this | 0; + return; } function __ZN12_GLOBAL__N_118getTypedArrayIndexItEENS_15TypedArrayIndexEv() { @@ -110620,57 +111051,23 @@ function __ZN12_GLOBAL__N_118getTypedArrayIndexIaEENS_15TypedArrayIndexEv() { } function __ZN10emscripten8internal19getGenericSignatureIJiiiiiEEEPKcv() { - return 45420; -} - -function _strtold($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return +(+_strtox($0, $1, 2)); -} - -function _jpeg_get_small($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return _malloc($1) | 0; -} - -function _jpeg_get_large($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return _malloc($1) | 0; -} - -function __ZNSt3__211char_traitsIwE12to_char_typeEj($0) { - $0 = $0 | 0; - return $0 | 0; -} - -function __ZNK6vision5Image3getEv($0) { - $0 = $0 | 0; - return HEAP32[$0 + 24 >> 2] | 0; -} - -function __ZNK16NullArrayDeleterIhEclEPh($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return; + return 46262; } function __ZN10emscripten8internal19getGenericSignatureIJviiiEEEPKcv() { - return 41695; + return 42497; } function __ZN10emscripten8internal19getGenericSignatureIJviifEEEPKcv() { - return 41603; + return 42405; } function __ZN10emscripten8internal19getGenericSignatureIJviidEEEPKcv() { - return 41730; + return 42532; } function __ZN10emscripten8internal19getGenericSignatureIJiiiiEEEPKcv() { - return 44909; + return 45751; } function __ZN10emscripten8internal14asGenericValueIdEEdT_($t) { @@ -110678,49 +111075,22 @@ function __ZN10emscripten8internal14asGenericValueIdEEdT_($t) { return +$t; } -function _strtof($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return +(+_strtox($0, $1, 0)); -} - -function _strtod($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return +(+_strtox($0, $1, 1)); -} - function _setLogLevel($level) { $level = $level | 0; HEAP32[4186] = $level; return; } -function __ZNSt3__211char_traitsIwE11to_int_typeEw($0) { - $0 = $0 | 0; - return $0 | 0; -} - -function __ZNK6vision8KeyframeILi96EE5indexEv($0) { - $0 = $0 | 0; - return $0 + 36 | 0; -} - -function __ZN6vision5Image3getEv($0) { - $0 = $0 | 0; - return HEAP32[$0 + 24 >> 2] | 0; -} - function __ZN10emscripten8internal19getGenericSignatureIJviiEEEPKcv() { - return 41738; + return 42540; } function __ZN10emscripten8internal19getGenericSignatureIJiiiEEEPKcv() { - return 44745; + return 45587; } function __ZN10emscripten8internal19getGenericSignatureIJdiiEEEPKcv() { - return 41726; + return 42528; } function b18(p0, p1, p2) { @@ -110730,65 +111100,44 @@ function b18(p0, p1, p2) { nullFunc_viid(18); } -function _isxdigit_l($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return _isxdigit($0) | 0; -} - -function __ZNK6vision8KeyframeILi96EE5storeEv($0) { - $0 = $0 | 0; - return $0 + 8 | 0; -} - -function __ZN6vision4NodeILi96EE8childrenEv($0) { - $0 = $0 | 0; - return $0 + 104 | 0; +function _isxdigit_l($c, $l) { + $c = $c | 0; + $l = $l | 0; + return _isxdigit($c) | 0; } function __ZN10emscripten8internal19getGenericSignatureIJiiEEEPKcv() { - return 41735; + return 42537; } -function ___emscripten_environ_constructor() { - ___buildEnvironment(65460); +function __ZN10__cxxabiv116__shim_type_infoD2Ev($this) { + $this = $this | 0; return; } -function __ZN6vision8KeyframeILi96EE5storeEv($0) { - $0 = $0 | 0; - return $0 + 8 | 0; -} - -function _isdigit_l($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return _isdigit($0) | 0; -} - -function __ZNK6vision5Image4typeEv($0) { - $0 = $0 | 0; - return HEAP32[$0 >> 2] | 0; +function ___emscripten_environ_constructor() { + ___buildEnvironment(66308); + return; } -function __ZN12_GLOBAL__N_116itanium_demangle4NodeD2Ev($0) { - $0 = $0 | 0; - return; +function _isdigit_l($c, $l) { + $c = $c | 0; + $l = $l | 0; + return _isdigit($c) | 0; } -function _jpeg_destroy_decompress($0) { - $0 = $0 | 0; - _jpeg_destroy($0); - return; +function __ZNSt3__221__throw_runtime_errorEPKc($msg) { + $msg = $msg | 0; + _abort(); } -function _copysignl($0, $1) { - $0 = +$0; - $1 = +$1; - return +(+_copysign($0, $1)); +function _copysignl($x, $y) { + $x = +$x; + $y = +$y; + return +(+_copysign($x, $y)); } -function ___cxx_global_var_init_834() { +function ___cxx_global_var_init_842() { __ZNSt3__28ios_base4InitC2Ev(0); return; } @@ -110801,20 +111150,10 @@ function __ZN10emscripten8internal11LightTypeIDINS_3valEE3getEv() { return 15320; } -function _scalbnl($0, $1) { - $0 = +$0; - $1 = $1 | 0; - return +(+_scalbn($0, $1)); -} - -function __ZNK10__cxxabiv116__shim_type_info5noop2Ev($0) { - $0 = $0 | 0; - return; -} - -function __ZNK10__cxxabiv116__shim_type_info5noop1Ev($0) { - $0 = $0 | 0; - return; +function _scalbnl($x, $n) { + $x = +$x; + $n = $n | 0; + return +(+_scalbn($x, $n)); } function b1(p0, p1) { @@ -110824,25 +111163,15 @@ function b1(p0, p1) { return 0.0; } -function _ar2UtilRemoveExt($0) { - $0 = $0 | 0; - return _arUtilRemoveExt($0) | 0; -} - function dynCall_v(index) { index = index | 0; FUNCTION_TABLE_v[index & 3](); } -function _ldexp($0, $1) { - $0 = +$0; - $1 = $1 | 0; - return +(+_scalbn($0, $1)); -} - -function __ZN6vision17PriorityQueueItemILi96EED2Ev($0) { - $0 = $0 | 0; - return; +function _ldexp($x, $n) { + $x = +$x; + $n = $n | 0; + return +(+_scalbn($x, $n)); } function b5(p0, p1) { @@ -110852,20 +111181,19 @@ function b5(p0, p1) { return 0; } -function ___cxa_guard_abort($0) { - $0 = $0 | 0; - HEAP32[$0 >> 2] = 0; +function __ZN6vision14FREAKExtractorD2Ev($this) { + $this = $this | 0; return; } -function __ZNK6vision10DoGPyramid6imagesEv($0) { - $0 = $0 | 0; - return $0 | 0; +function __ZN6vision11ScopedTimercvbEv($this) { + $this = $this | 0; + return 1; } -function __ZNSt3__221__throw_runtime_errorEPKc($0) { - $0 = $0 | 0; - _abort(); +function __ZNSt3__214__shared_countD2Ev($this) { + $this = $this | 0; + return; } function __ZN10emscripten8internal11LightTypeIDIRKiE3getEv() { @@ -110877,28 +111205,22 @@ function __ZN10emscripten8internal11LightTypeIDIRKdE3getEv() { } function __GLOBAL__sub_I_bind_cpp() { - ___cxx_global_var_init_713(); + ___cxx_global_var_init_721(); return; } -function _pthread_cond_wait($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return 0; -} - -function _islower($0) { - $0 = $0 | 0; - return ($0 + -97 | 0) >>> 0 < 26 | 0; +function _islower($c) { + $c = $c | 0; + return ($c + -97 | 0) >>> 0 < 26 | 0; } -function _isdigit($0) { - $0 = $0 | 0; - return ($0 + -48 | 0) >>> 0 < 10 | 0; +function _isdigit($c) { + $c = $c | 0; + return ($c + -48 | 0) >>> 0 < 10 | 0; } -function __ZN10__cxxabiv116__shim_type_infoD2Ev($0) { - $0 = $0 | 0; +function __ZN6vision12FeaturePointD2Ev($this) { + $this = $this | 0; return; } @@ -110954,30 +111276,59 @@ function __ZN10emscripten8internal11LightTypeIDIaE3getEv() { return 14056; } -function _fmodl($0, $1) { - $0 = +$0; - $1 = +$1; - return +(+_fmod($0, $1)); +function _fmodl($x, $y) { + $x = +$x; + $y = +$y; + return +(+_fmod($x, $y)); } function _arPattCreateHandle() { return _arPattCreateHandle2(16, 50) | 0; } -function _catopen($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - return -1 | 0; +function __ZNSt3__26locale5facetD2Ev($this) { + $this = $this | 0; + return; +} + +function _pthread_mutex_unlock($mutex) { + $mutex = $mutex | 0; + return 0; +} + +function _pthread_cond_broadcast($cond) { + $cond = $cond | 0; + return 0; +} + +function _pthread_mutex_lock($mutex) { + $mutex = $mutex | 0; + return 0; +} + +function _dummy_consume_data($cinfo) { + $cinfo = $cinfo | 0; + return 0; +} + +function __Znam($size) { + $size = $size | 0; + return __Znwm($size) | 0; } function __GLOBAL__I_000101() { - ___cxx_global_var_init_834(); + ___cxx_global_var_init_842(); return; } -function __ZN6vision3sqrIfEET_S1_($0) { - $0 = +$0; - return +($0 * $0); +function _finish_pass_1_quant($cinfo) { + $cinfo = $cinfo | 0; + return; +} + +function __ZN6vision3sqrIfEET_S1_($x) { + $x = +$x; + return +($x * $x); } function b17(p0, p1) { @@ -110986,23 +111337,24 @@ function b17(p0, p1) { nullFunc_vii(17); } -function __ZN6vision14FREAKExtractorD2Ev($0) { - $0 = $0 | 0; +function _start_pass_dcolor($cinfo) { + $cinfo = $cinfo | 0; return; } -function __ZN6vision11ScopedTimercvbEv($0) { - $0 = $0 | 0; - return 1; +function __ZdaPv($ptr) { + $ptr = $ptr | 0; + __ZdlPv($ptr); + return; } -function __ZNSt3__214__shared_countD2Ev($0) { - $0 = $0 | 0; +function __ZNSt9type_infoD2Ev($this) { + $this = $this | 0; return; } -function __ZN6vision12FeaturePointD2Ev($0) { - $0 = $0 | 0; +function __ZNSt9exceptionD2Ev($this) { + $this = $this | 0; return; } @@ -111012,13 +111364,19 @@ function b16(p0, p1) { nullFunc_vid(16); } -function ___emscripten_stdout_close($0) { - $0 = $0 | 0; +function _jpeg_mem_init($cinfo) { + $cinfo = $cinfo | 0; return 0; } -function __ZNSt3__26locale5facetD2Ev($0) { - $0 = $0 | 0; +function ___emscripten_stdout_close($f) { + $f = $f | 0; + return 0; +} + +function __ZdlPv($ptr) { + $ptr = $ptr | 0; + _free($ptr); return; } @@ -111027,14 +111385,29 @@ function __ZNSt3__212__do_nothingEPv($0) { return; } -function _pthread_cond_broadcast($0) { - $0 = $0 | 0; - return 0; +function _jpeg_mem_term($cinfo) { + $cinfo = $cinfo | 0; + return; +} + +function _lroundf($x) { + $x = +$x; + return ~~+_roundf(+$x) | 0; +} + +function _finish_pass2($cinfo) { + $cinfo = $cinfo | 0; + return; } -function _lroundf($0) { - $0 = +$0; - return ~~+_roundf(+$0) | 0; +function _term_source($cinfo) { + $cinfo = $cinfo | 0; + return; +} + +function _finish_pass($cinfo) { + $cinfo = $cinfo | 0; + return; } function stackRestore(top) { @@ -111048,36 +111421,31 @@ function b0(p0) { return 0.0; } -function _pthread_mutex_unlock($0) { - $0 = $0 | 0; - return 0; -} - -function ___pthread_self_603() { +function ___pthread_self_720() { return _pthread_self() | 0; } -function ___pthread_self_423() { +function ___pthread_self_696() { return _pthread_self() | 0; } -function ___pthread_self_420() { +function ___pthread_self_691() { return _pthread_self() | 0; } -function ___pthread_self_417() { +function ___pthread_self_686() { return _pthread_self() | 0; } -function ___pthread_self_414() { +function ___pthread_self_680() { return _pthread_self() | 0; } -function ___pthread_self_234() { +function ___pthread_self_212() { return _pthread_self() | 0; } -function ___pthread_self_105() { +function ___pthread_self_10() { return _pthread_self() | 0; } @@ -111087,52 +111455,20 @@ function b3(p0) { return 0; } -function _pthread_mutex_lock($0) { - $0 = $0 | 0; - return 0; +function _dummy_557($fd) { + $fd = $fd | 0; + return $fd | 0; } -function _dummy_consume_data($0) { - $0 = $0 | 0; +function _catclose($catd) { + $catd = $catd | 0; return 0; } -function __Znam($0) { - $0 = $0 | 0; - return __Znwm($0) | 0; -} - -function __ZdaPv($0) { - $0 = $0 | 0; - __ZdlPv($0); - return; -} - -function _finish_pass_1_quant($0) { - $0 = $0 | 0; - return; -} - -function __ZNSt9type_infoD2Ev($0) { - $0 = $0 | 0; - return; -} - -function __ZNSt9exceptionD2Ev($0) { - $0 = $0 | 0; - return; -} - function ___pthread_self() { return _pthread_self() | 0; } -function __ZdlPv($0) { - $0 = $0 | 0; - _free($0); - return; -} - function __ZNSt3__211char_traitsIwE3eofEv() { return -1; } @@ -111141,61 +111477,36 @@ function __ZNSt3__211char_traitsIcE3eofEv() { return -1; } -function _start_pass_dcolor($0) { - $0 = $0 | 0; - return; -} - function ___ofl_lock() { - ___lock(65416); - return 65424; -} - -function _dummy_560($0) { - $0 = $0 | 0; - return $0 | 0; -} - -function _jpeg_mem_init($0) { - $0 = $0 | 0; - return 0; + ___lock(66268); + return 66276; } function ___ofl_unlock() { - ___unlock(65416); - return; -} - -function _jpeg_mem_term($0) { - $0 = $0 | 0; + ___unlock(66268); return; } function _emscripten_get_sbrk_ptr() { - return 67472; + return 68320; } function _getLogLevel() { return HEAP32[4186] | 0; } -function _finish_pass2($0) { - $0 = $0 | 0; - return; -} - -function ___unlockfile($0) { - $0 = $0 | 0; +function ___unlockfile($f) { + $f = $f | 0; return; } -function ___lockfile($0) { - $0 = $0 | 0; +function ___lockfile($f) { + $f = $f | 0; return 1; } function ___cxa_get_globals_fast() { - return 65436; + return 66284; } function b15(p0) { @@ -111203,16 +111514,6 @@ function b15(p0) { nullFunc_vi(15); } -function _term_source($0) { - $0 = $0 | 0; - return; -} - -function _finish_pass($0) { - $0 = $0 | 0; - return; -} - function ___cxa_uncaught_exceptions() { return 0; } @@ -111221,11 +111522,6 @@ function __GLOBAL__sub_I_iostream_cpp() { return; } -function _catclose($0) { - $0 = $0 | 0; - return 0; -} - function __ZSt17__throw_bad_allocv() { _abort(); } @@ -111243,7 +111539,7 @@ function __ZSt15get_new_handlerv() { } function ___errno_location() { - return 65396; + return 66244; } function __ZSt13get_terminatev() { @@ -111260,11 +111556,11 @@ function b2() { } function __get_timezone() { - return 65456; + return 66304; } function __get_daylight() { - return 65452; + return 66300; } function ___ctype_b_loc() { @@ -111276,18 +111572,18 @@ function _pthread_self() { } function __get_environ() { - return 65460; + return 66308; } function __get_tzname() { - return 65444; + return 66292; } function b14() { nullFunc_v(14); } -function _dummy_405() { +function _dummy() { return; } @@ -111297,17 +111593,17 @@ var FUNCTION_TABLE_dii = [b1,__ZN10emscripten8internal7InvokerIdJiEE6invokeEPFdi var FUNCTION_TABLE_i = [b2,_getLogLevel]; var FUNCTION_TABLE_ii = [b3,__ZNK6vision9Exception4whatEv,___stdio_close,___emscripten_stdout_close,__ZNKSt11logic_error4whatEv,__ZNSt3__215basic_streambufIcNS_11char_traitsIcEEE4syncEv,__ZNSt3__215basic_streambufIcNS_11char_traitsIcEEE9showmanycEv,__ZNSt3__215basic_streambufIcNS_11char_traitsIcEEE9underflowEv,__ZNSt3__215basic_streambufIcNS_11char_traitsIcEEE5uflowEv,__ZNSt3__215basic_streambufIwNS_11char_traitsIwEEE4syncEv,__ZNSt3__215basic_streambufIwNS_11char_traitsIwEEE9showmanycEv,__ZNSt3__215basic_streambufIwNS_11char_traitsIwEEE9underflowEv,__ZNSt3__215basic_streambufIwNS_11char_traitsIwEEE5uflowEv,__ZNSt3__211__stdoutbufIwE4syncEv,__ZNSt3__211__stdoutbufIcE4syncEv,__ZNSt3__210__stdinbufIwE9underflowEv,__ZNSt3__210__stdinbufIwE5uflowEv,__ZNSt3__210__stdinbufIcE9underflowEv,__ZNSt3__210__stdinbufIcE5uflowEv,__ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE13do_date_orderEv,__ZNKSt3__220__time_get_c_storageIcE7__weeksEv,__ZNKSt3__220__time_get_c_storageIcE8__monthsEv,__ZNKSt3__220__time_get_c_storageIcE7__am_pmEv,__ZNKSt3__220__time_get_c_storageIcE3__cEv,__ZNKSt3__220__time_get_c_storageIcE3__rEv,__ZNKSt3__220__time_get_c_storageIcE3__xEv,__ZNKSt3__220__time_get_c_storageIcE3__XEv,__ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE13do_date_orderEv,__ZNKSt3__220__time_get_c_storageIwE7__weeksEv ,__ZNKSt3__220__time_get_c_storageIwE8__monthsEv,__ZNKSt3__220__time_get_c_storageIwE7__am_pmEv,__ZNKSt3__220__time_get_c_storageIwE3__cEv,__ZNKSt3__220__time_get_c_storageIwE3__rEv,__ZNKSt3__220__time_get_c_storageIwE3__xEv,__ZNKSt3__220__time_get_c_storageIwE3__XEv,__ZNKSt3__210moneypunctIcLb0EE16do_decimal_pointEv,__ZNKSt3__210moneypunctIcLb0EE16do_thousands_sepEv,__ZNKSt3__210moneypunctIcLb0EE14do_frac_digitsEv,__ZNKSt3__210moneypunctIcLb1EE16do_decimal_pointEv,__ZNKSt3__210moneypunctIcLb1EE16do_thousands_sepEv,__ZNKSt3__210moneypunctIcLb1EE14do_frac_digitsEv,__ZNKSt3__210moneypunctIwLb0EE16do_decimal_pointEv,__ZNKSt3__210moneypunctIwLb0EE16do_thousands_sepEv,__ZNKSt3__210moneypunctIwLb0EE14do_frac_digitsEv,__ZNKSt3__210moneypunctIwLb1EE16do_decimal_pointEv,__ZNKSt3__210moneypunctIwLb1EE16do_thousands_sepEv,__ZNKSt3__210moneypunctIwLb1EE14do_frac_digitsEv,__ZNKSt3__27codecvtIDic11__mbstate_tE11do_encodingEv,__ZNKSt3__27codecvtIDic11__mbstate_tE16do_always_noconvEv,__ZNKSt3__27codecvtIDic11__mbstate_tE13do_max_lengthEv,__ZNKSt3__27codecvtIwc11__mbstate_tE11do_encodingEv,__ZNKSt3__27codecvtIwc11__mbstate_tE16do_always_noconvEv,__ZNKSt3__27codecvtIwc11__mbstate_tE13do_max_lengthEv,__ZNKSt3__28numpunctIcE16do_decimal_pointEv,__ZNKSt3__28numpunctIcE16do_thousands_sepEv,__ZNKSt3__28numpunctIwE16do_decimal_pointEv,__ZNKSt3__28numpunctIwE16do_thousands_sepEv,__ZNKSt3__27codecvtIcc11__mbstate_tE11do_encodingEv,__ZNKSt3__27codecvtIcc11__mbstate_tE16do_always_noconvEv -,__ZNKSt3__27codecvtIcc11__mbstate_tE13do_max_lengthEv,__ZNKSt3__27codecvtIDsc11__mbstate_tE11do_encodingEv,__ZNKSt3__27codecvtIDsc11__mbstate_tE16do_always_noconvEv,__ZNKSt3__27codecvtIDsc11__mbstate_tE13do_max_lengthEv,_jpeg_std_error,_jpeg_start_decompress,_malloc,_jpeg_finish_decompress,_teardown,_setupAR2,_getMultiMarkerCount,_loadCamera,_detectMarker,_getMarkerNum,_detectNFTMarker,_getDebugMode,_getProcessingImage,_getThresholdMode,_getThreshold,_getPatternDetectionMode,_getMatrixCodeType,_getLabelingMode,_getImageProcMode,__ZN10emscripten8internal7InvokerIiJEE6invokeEPFivE,_consume_data,_dummy_consume_data,_fill_input_buffer,_read_markers,_read_restart_marker,_skip_variable -,_get_interesting_appn,_consume_markers,b3,b3,b3,b3,b3,b3,b3,b3,b3,b3,b3,b3,b3,b3,b3,b3,b3,b3,b3,b3,b3,b3,b3,b3,b3,b3,b3,b3 +,__ZNKSt3__27codecvtIcc11__mbstate_tE13do_max_lengthEv,__ZNKSt3__27codecvtIDsc11__mbstate_tE11do_encodingEv,__ZNKSt3__27codecvtIDsc11__mbstate_tE16do_always_noconvEv,__ZNKSt3__27codecvtIDsc11__mbstate_tE13do_max_lengthEv,_jpeg_std_error,_jpeg_start_decompress,_malloc,_jpeg_finish_decompress,_teardown,_setupAR2,_getMultiMarkerCount,_loadCamera,_detectMarker,_getMarkerNum,_detectNFTMarker,_getDebugMode,_getProcessingImage,_getThresholdMode,_getThreshold,_getPatternDetectionMode,_getMatrixCodeType,_getLabelingMode,_getImageProcMode,__ZN10emscripten8internal7InvokerIiJEE6invokeEPFivE,_consume_data,_dummy_consume_data,_read_markers,_read_restart_marker,_skip_variable,_get_interesting_appn +,_consume_markers,_fill_input_buffer,b3,b3,b3,b3,b3,b3,b3,b3,b3,b3,b3,b3,b3,b3,b3,b3,b3,b3,b3,b3,b3,b3,b3,b3,b3,b3,b3,b3 ,b3,b3,b3,b3,b3,b3,b3,b3,b3]; var FUNCTION_TABLE_iidiiii = [b4,_fmt_fp]; var FUNCTION_TABLE_iii = [b5,__ZNKSt3__220__shared_ptr_pointerIPN6vision8KeyframeILi96EEENS_14default_deleteIS3_EENS_9allocatorIS3_EEE13__get_deleterERKSt9type_info,__ZNKSt3__220__shared_ptr_pointerIPhNS_14default_deleteIhEENS_9allocatorIhEEE13__get_deleterERKSt9type_info,__ZNKSt3__220__shared_ptr_pointerIPh16NullArrayDeleterIhENS_9allocatorIhEEE13__get_deleterERKSt9type_info,__ZNK12_GLOBAL__N_116itanium_demangle4Node19hasRHSComponentSlowERNS_12OutputStreamE,__ZNK12_GLOBAL__N_116itanium_demangle4Node12hasArraySlowERNS_12OutputStreamE,__ZNK12_GLOBAL__N_116itanium_demangle4Node15hasFunctionSlowERNS_12OutputStreamE,__ZNK12_GLOBAL__N_116itanium_demangle4Node13getSyntaxNodeERNS_12OutputStreamE,__ZNK12_GLOBAL__N_116itanium_demangle13ReferenceType19hasRHSComponentSlowERNS_12OutputStreamE,__ZNK12_GLOBAL__N_116itanium_demangle11PointerType19hasRHSComponentSlowERNS_12OutputStreamE,__ZNK12_GLOBAL__N_116itanium_demangle13ParameterPack19hasRHSComponentSlowERNS_12OutputStreamE,__ZNK12_GLOBAL__N_116itanium_demangle13ParameterPack12hasArraySlowERNS_12OutputStreamE,__ZNK12_GLOBAL__N_116itanium_demangle13ParameterPack15hasFunctionSlowERNS_12OutputStreamE,__ZNK12_GLOBAL__N_116itanium_demangle13ParameterPack13getSyntaxNodeERNS_12OutputStreamE,__ZNK12_GLOBAL__N_116itanium_demangle24ForwardTemplateReference19hasRHSComponentSlowERNS_12OutputStreamE,__ZNK12_GLOBAL__N_116itanium_demangle24ForwardTemplateReference12hasArraySlowERNS_12OutputStreamE,__ZNK12_GLOBAL__N_116itanium_demangle24ForwardTemplateReference15hasFunctionSlowERNS_12OutputStreamE,__ZNK12_GLOBAL__N_116itanium_demangle24ForwardTemplateReference13getSyntaxNodeERNS_12OutputStreamE,__ZNK12_GLOBAL__N_116itanium_demangle19PointerToMemberType19hasRHSComponentSlowERNS_12OutputStreamE,__ZNK12_GLOBAL__N_116itanium_demangle9ArrayType19hasRHSComponentSlowERNS_12OutputStreamE,__ZNK12_GLOBAL__N_116itanium_demangle9ArrayType12hasArraySlowERNS_12OutputStreamE,__ZNK12_GLOBAL__N_116itanium_demangle8QualType19hasRHSComponentSlowERNS_12OutputStreamE,__ZNK12_GLOBAL__N_116itanium_demangle8QualType12hasArraySlowERNS_12OutputStreamE,__ZNK12_GLOBAL__N_116itanium_demangle8QualType15hasFunctionSlowERNS_12OutputStreamE,__ZNK12_GLOBAL__N_116itanium_demangle12FunctionType19hasRHSComponentSlowERNS_12OutputStreamE,__ZNK12_GLOBAL__N_116itanium_demangle12FunctionType15hasFunctionSlowERNS_12OutputStreamE,__ZNK12_GLOBAL__N_116itanium_demangle16FunctionEncoding19hasRHSComponentSlowERNS_12OutputStreamE,__ZNK12_GLOBAL__N_116itanium_demangle16FunctionEncoding15hasFunctionSlowERNS_12OutputStreamE,__ZNSt3__215basic_streambufIcNS_11char_traitsIcEEE9pbackfailEi -,__ZNSt3__215basic_streambufIcNS_11char_traitsIcEEE8overflowEi,__ZNSt3__215basic_streambufIwNS_11char_traitsIwEEE9pbackfailEj,__ZNSt3__215basic_streambufIwNS_11char_traitsIwEEE8overflowEj,__ZNSt3__211__stdoutbufIwE8overflowEj,__ZNSt3__211__stdoutbufIcE8overflowEi,__ZNSt3__210__stdinbufIwE9pbackfailEj,__ZNSt3__210__stdinbufIcE9pbackfailEi,__ZNKSt3__25ctypeIcE10do_toupperEc,__ZNKSt3__25ctypeIcE10do_tolowerEc,__ZNKSt3__25ctypeIcE8do_widenEc,__ZNKSt3__25ctypeIwE10do_toupperEw,__ZNKSt3__25ctypeIwE10do_tolowerEw,__ZNKSt3__25ctypeIwE8do_widenEc,_compE,_jpeg_read_header,_addMarker,_addMultiMarker,_addNFTMarker,_getMultiMarkerNum,_setMarkerInfoVertex,_getTransMatMultiSquare,_getTransMatMultiSquareRobust,_getMarkerInfo,_getNFTMarkerInfo,_setDebugMode,__ZN10emscripten8internal7InvokerIiJiEE6invokeEPFiiEi,__ZN10emscripten8internal7InvokerIiJNSt3__212basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEE6invokeEPFiS8_EPNS0_11BindingTypeIS8_vEUt_E,_compE_180,_decompress_data,_decompress_onepass -,_decompress_smooth_data,_decode_mcu_DC_first_62,_decode_mcu_AC_first_63,_decode_mcu_DC_refine_64,_decode_mcu_AC_refine_65,_decode_mcu_66,_decode_mcu_sub,_decode_mcu_DC_first,_decode_mcu_AC_first,_decode_mcu_DC_refine,_decode_mcu_AC_refine,_decode_mcu,_jpeg_resync_to_restart,b5,b5,b5,b5,b5,b5,b5,b5,b5,b5,b5,b5,b5,b5,b5,b5,b5 +,__ZNSt3__215basic_streambufIcNS_11char_traitsIcEEE8overflowEi,__ZNSt3__215basic_streambufIwNS_11char_traitsIwEEE9pbackfailEj,__ZNSt3__215basic_streambufIwNS_11char_traitsIwEEE8overflowEj,__ZNSt3__211__stdoutbufIwE8overflowEj,__ZNSt3__211__stdoutbufIcE8overflowEi,__ZNSt3__210__stdinbufIwE9pbackfailEj,__ZNSt3__210__stdinbufIcE9pbackfailEi,__ZNKSt3__25ctypeIcE10do_toupperEc,__ZNKSt3__25ctypeIcE10do_tolowerEc,__ZNKSt3__25ctypeIcE8do_widenEc,__ZNKSt3__25ctypeIwE10do_toupperEw,__ZNKSt3__25ctypeIwE10do_tolowerEw,__ZNKSt3__25ctypeIwE8do_widenEc,_compE,_jpeg_read_header,_addMarker,_addMultiMarker,_addNFTMarker,_getMultiMarkerNum,_setMarkerInfoVertex,_getTransMatMultiSquare,_getTransMatMultiSquareRobust,_getMarkerInfo,_getNFTMarkerInfo,_setDebugMode,__ZN10emscripten8internal7InvokerIiJiEE6invokeEPFiiEi,__ZN10emscripten8internal7InvokerIiJNSt3__212basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEE6invokeEPFiS8_EPNS0_11BindingTypeIS8_vEUt_E,_compE_184,_decode_mcu_AC_first,_decode_mcu_DC_first +,_decode_mcu_AC_refine,_decode_mcu_DC_refine,_decode_mcu_sub,_decode_mcu,_decompress_data,_decompress_onepass,_decompress_smooth_data,_decode_mcu_DC_first_20,_decode_mcu_AC_first_21,_decode_mcu_DC_refine_22,_decode_mcu_AC_refine_23,_decode_mcu_24,_jpeg_resync_to_restart,b5,b5,b5,b5,b5,b5,b5,b5,b5,b5,b5,b5,b5,b5,b5,b5,b5 ,b5,b5,b5,b5,b5,b5,b5,b5,b5,b5,b5,b5,b5,b5,b5,b5,b5,b5,b5,b5,b5,b5,b5,b5,b5,b5,b5,b5,b5,b5 ,b5,b5,b5,b5,b5,b5,b5,b5,b5]; -var FUNCTION_TABLE_iiii = [b6,___stdio_write,___stdio_read,_sn_write,__ZNK10__cxxabiv117__class_type_info9can_catchEPKNS_16__shim_type_infoERPv,__ZNK10__cxxabiv123__fundamental_type_info9can_catchEPKNS_16__shim_type_infoERPv,__ZNSt3__215basic_streambufIcNS_11char_traitsIcEEE6setbufEPcl,__ZNSt3__215basic_streambufIcNS_11char_traitsIcEEE6xsgetnEPcl,__ZNSt3__215basic_streambufIcNS_11char_traitsIcEEE6xsputnEPKcl,__ZNSt3__215basic_streambufIwNS_11char_traitsIwEEE6setbufEPwl,__ZNSt3__215basic_streambufIwNS_11char_traitsIwEEE6xsgetnEPwl,__ZNSt3__215basic_streambufIwNS_11char_traitsIwEEE6xsputnEPKwl,__ZNSt3__211__stdoutbufIwE6xsputnEPKwl,__ZNSt3__211__stdoutbufIcE6xsputnEPKcl,__ZNKSt3__27collateIcE7do_hashEPKcS3_,__ZNKSt3__27collateIwE7do_hashEPKwS3_,__ZNKSt3__28messagesIcE7do_openERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEERKNS_6localeE,__ZNKSt3__28messagesIwE7do_openERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEERKNS_6localeE,__ZNKSt3__25ctypeIcE10do_toupperEPcPKc,__ZNKSt3__25ctypeIcE10do_tolowerEPcPKc,__ZNKSt3__25ctypeIcE9do_narrowEcc,__ZNKSt3__25ctypeIwE5do_isEtw,__ZNKSt3__25ctypeIwE10do_toupperEPwPKw,__ZNKSt3__25ctypeIwE10do_tolowerEPwPKw,__ZNKSt3__25ctypeIwE9do_narrowEwc,_jpeg_read_scanlines,_setup,_setMarkerInfoDir,_getTransMatSquare -,_getTransMatSquareCont,_getMultiEachMarkerInfo,__ZN10emscripten8internal7InvokerIiJiNSt3__212basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEE6invokeEPFiiS8_EiPNS0_11BindingTypeIS8_vEUt_E,__ZN10emscripten8internal7InvokerIiJiiEE6invokeEPFiiiEii,_alloc_small,_alloc_large,_do_read,b6,b6,b6,b6,b6,b6,b6,b6,b6,b6,b6,b6,b6,b6,b6,b6,b6,b6,b6,b6,b6,b6,b6 +var FUNCTION_TABLE_iiii = [b6,___stdio_read,___stdio_write,_sn_write,__ZNK10__cxxabiv117__class_type_info9can_catchEPKNS_16__shim_type_infoERPv,__ZNK10__cxxabiv123__fundamental_type_info9can_catchEPKNS_16__shim_type_infoERPv,__ZNSt3__215basic_streambufIcNS_11char_traitsIcEEE6setbufEPcl,__ZNSt3__215basic_streambufIcNS_11char_traitsIcEEE6xsgetnEPcl,__ZNSt3__215basic_streambufIcNS_11char_traitsIcEEE6xsputnEPKcl,__ZNSt3__215basic_streambufIwNS_11char_traitsIwEEE6setbufEPwl,__ZNSt3__215basic_streambufIwNS_11char_traitsIwEEE6xsgetnEPwl,__ZNSt3__215basic_streambufIwNS_11char_traitsIwEEE6xsputnEPKwl,__ZNSt3__211__stdoutbufIwE6xsputnEPKwl,__ZNSt3__211__stdoutbufIcE6xsputnEPKcl,__ZNKSt3__27collateIcE7do_hashEPKcS3_,__ZNKSt3__27collateIwE7do_hashEPKwS3_,__ZNKSt3__28messagesIcE7do_openERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEERKNS_6localeE,__ZNKSt3__28messagesIwE7do_openERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEERKNS_6localeE,__ZNKSt3__25ctypeIcE10do_toupperEPcPKc,__ZNKSt3__25ctypeIcE10do_tolowerEPcPKc,__ZNKSt3__25ctypeIcE9do_narrowEcc,__ZNKSt3__25ctypeIwE5do_isEtw,__ZNKSt3__25ctypeIwE10do_toupperEPwPKw,__ZNKSt3__25ctypeIwE10do_tolowerEPwPKw,__ZNKSt3__25ctypeIwE9do_narrowEwc,_jpeg_read_scanlines,_setup,_setMarkerInfoDir,_getTransMatSquare +,_getTransMatSquareCont,_getMultiEachMarkerInfo,__ZN10emscripten8internal7InvokerIiJiNSt3__212basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEE6invokeEPFiiS8_EiPNS0_11BindingTypeIS8_vEUt_E,__ZN10emscripten8internal7InvokerIiJiiEE6invokeEPFiiiEii,_alloc_small,_alloc_large,_do_read_712,b6,b6,b6,b6,b6,b6,b6,b6,b6,b6,b6,b6,b6,b6,b6,b6,b6,b6,b6,b6,b6,b6,b6 ,b6,b6,b6,b6,b6]; var FUNCTION_TABLE_iiiii = [b7,___stdio_seek,___emscripten_stdout_seek,__ZNKSt3__25ctypeIcE8do_widenEPKcS3_Pc,__ZNKSt3__25ctypeIwE5do_isEPKwS3_Pt,__ZNKSt3__25ctypeIwE10do_scan_isEtPKwS3_,__ZNKSt3__25ctypeIwE11do_scan_notEtPKwS3_,__ZNKSt3__25ctypeIwE8do_widenEPKcS3_Pw,__ZN10emscripten8internal7InvokerIiJiiiEE6invokeEPFiiiiEiii,_alloc_sarray,_alloc_barray,b7,b7,b7,b7,b7]; var FUNCTION_TABLE_iiiiid = [b8,__ZNKSt3__27num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_putES4_RNS_8ios_baseEcd,__ZNKSt3__27num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_putES4_RNS_8ios_baseEce,__ZNKSt3__27num_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_putES4_RNS_8ios_baseEwd,__ZNKSt3__27num_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_putES4_RNS_8ios_baseEwe,b8,b8,b8]; @@ -111326,7 +111622,7 @@ var FUNCTION_TABLE_vi = [b15,__ZN6vision18BinomialPyramid32fD2Ev,__ZN6vision18Bi ,__ZN12_GLOBAL__N_116itanium_demangle20DynamicExceptionSpecD0Ev,__ZN12_GLOBAL__N_116itanium_demangle12NoexceptSpecD0Ev,__ZN12_GLOBAL__N_116itanium_demangle11SpecialNameD0Ev,__ZN12_GLOBAL__N_116itanium_demangle9DotSuffixD0Ev,__ZN12_GLOBAL__N_116itanium_demangle16FunctionEncodingD0Ev,__ZN12_GLOBAL__N_116itanium_demangle12EnableIfAttrD0Ev,__ZN12_GLOBAL__N_116itanium_demangle21CtorVtableSpecialNameD0Ev,__ZNSt3__28ios_baseD2Ev,__ZNSt3__28ios_baseD0Ev,__ZNSt3__215basic_streambufIcNS_11char_traitsIcEEED2Ev,__ZNSt3__215basic_streambufIcNS_11char_traitsIcEEED0Ev,__ZNSt3__215basic_streambufIwNS_11char_traitsIwEEED2Ev,__ZNSt3__215basic_streambufIwNS_11char_traitsIwEEED0Ev,__ZNSt3__213basic_istreamIcNS_11char_traitsIcEEED1Ev,__ZNSt3__213basic_istreamIcNS_11char_traitsIcEEED0Ev,__ZTv0_n12_NSt3__213basic_istreamIcNS_11char_traitsIcEEED1Ev,__ZTv0_n12_NSt3__213basic_istreamIcNS_11char_traitsIcEEED0Ev,__ZNSt3__213basic_istreamIwNS_11char_traitsIwEEED1Ev,__ZNSt3__213basic_istreamIwNS_11char_traitsIwEEED0Ev,__ZTv0_n12_NSt3__213basic_istreamIwNS_11char_traitsIwEEED1Ev,__ZTv0_n12_NSt3__213basic_istreamIwNS_11char_traitsIwEEED0Ev,__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEED1Ev,__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEED0Ev,__ZTv0_n12_NSt3__213basic_ostreamIcNS_11char_traitsIcEEED1Ev,__ZTv0_n12_NSt3__213basic_ostreamIcNS_11char_traitsIcEEED0Ev,__ZNSt3__213basic_ostreamIwNS_11char_traitsIwEEED1Ev,__ZNSt3__213basic_ostreamIwNS_11char_traitsIwEEED0Ev,__ZTv0_n12_NSt3__213basic_ostreamIwNS_11char_traitsIwEEED1Ev,__ZTv0_n12_NSt3__213basic_ostreamIwNS_11char_traitsIwEEED0Ev,__ZNSt3__211__stdoutbufIwED0Ev ,__ZNSt3__211__stdoutbufIcED0Ev,__ZNSt3__210__stdinbufIwED0Ev,__ZNSt3__210__stdinbufIcED0Ev,__ZNSt3__27collateIcED2Ev,__ZNSt3__27collateIcED0Ev,__ZNSt3__26locale5facet16__on_zero_sharedEv,__ZNSt3__27collateIwED2Ev,__ZNSt3__27collateIwED0Ev,__ZNSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEED2Ev,__ZNSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEED0Ev,__ZNSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEED2Ev,__ZNSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEED0Ev,__ZNSt3__27num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEED2Ev,__ZNSt3__27num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEED0Ev,__ZNSt3__27num_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEED2Ev,__ZNSt3__27num_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEED0Ev,__ZNSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEED2Ev,__ZNSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEED0Ev,__ZNSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEED2Ev,__ZNSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEED0Ev,__ZNSt3__28time_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEED2Ev,__ZNSt3__28time_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEED0Ev,__ZNSt3__28time_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEED2Ev,__ZNSt3__28time_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEED0Ev,__ZNSt3__210moneypunctIcLb0EED2Ev,__ZNSt3__210moneypunctIcLb0EED0Ev,__ZNSt3__210moneypunctIcLb1EED2Ev,__ZNSt3__210moneypunctIcLb1EED0Ev,__ZNSt3__210moneypunctIwLb0EED2Ev,__ZNSt3__210moneypunctIwLb0EED0Ev ,__ZNSt3__210moneypunctIwLb1EED2Ev,__ZNSt3__210moneypunctIwLb1EED0Ev,__ZNSt3__29money_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEED2Ev,__ZNSt3__29money_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEED0Ev,__ZNSt3__29money_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEED2Ev,__ZNSt3__29money_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEED0Ev,__ZNSt3__29money_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEED2Ev,__ZNSt3__29money_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEED0Ev,__ZNSt3__29money_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEED2Ev,__ZNSt3__29money_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEED0Ev,__ZNSt3__28messagesIcED2Ev,__ZNSt3__28messagesIcED0Ev,__ZNSt3__28messagesIwED2Ev,__ZNSt3__28messagesIwED0Ev,__ZNSt3__26locale5facetD2Ev,__ZNSt3__216__narrow_to_utf8ILm32EED0Ev,__ZNSt3__217__widen_from_utf8ILm32EED0Ev,__ZNSt3__27codecvtIwc11__mbstate_tED2Ev,__ZNSt3__27codecvtIwc11__mbstate_tED0Ev,__ZNSt3__26locale5__impD2Ev,__ZNSt3__26locale5__impD0Ev,__ZNSt3__25ctypeIcED2Ev,__ZNSt3__25ctypeIcED0Ev,__ZNSt3__28numpunctIcED2Ev,__ZNSt3__28numpunctIcED0Ev,__ZNSt3__28numpunctIwED2Ev,__ZNSt3__28numpunctIwED0Ev,__ZNSt3__26locale5facetD0Ev,__ZNSt3__25ctypeIwED0Ev,__ZNSt3__27codecvtIcc11__mbstate_tED0Ev -,__ZNSt3__27codecvtIDsc11__mbstate_tED0Ev,__ZNSt3__27codecvtIDic11__mbstate_tED0Ev,_my_error_exit,_jpeg_destroy_decompress,_setLogLevel,_prepare_for_output_pass,_finish_output_pass,_finish_pass_1_quant,_new_color_map_1_quant,_new_color_map_2_quant,_start_pass_merged_upsample,_start_pass_dcolor,_start_pass_upsample,_start_pass_51,_start_pass,_finish_pass,_start_pass_huff_decoder,_finish_pass_huff,_start_input_pass,_start_output_pass,_finish_pass1,_finish_pass2,_init_source,_term_source,_reset_marker_reader,_realize_virt_arrays,_self_destruct,_reset_input_controller,_start_input_pass_79,_finish_input_pass +,__ZNSt3__27codecvtIDsc11__mbstate_tED0Ev,__ZNSt3__27codecvtIDic11__mbstate_tED0Ev,_my_error_exit,_jpeg_destroy_decompress,_setLogLevel,_start_pass_huff_decoder,_finish_pass_huff,_start_pass,_finish_pass,_start_input_pass,_start_output_pass,_realize_virt_arrays,_self_destruct,_reset_marker_reader,_reset_input_controller,_start_input_pass_84,_finish_input_pass,_start_pass_dcolor,_init_source,_term_source,_finish_pass_1_quant,_new_color_map_1_quant,_start_pass_merged_upsample,_start_pass_upsample,_prepare_for_output_pass,_finish_output_pass,_new_color_map_2_quant,_start_pass_87,_finish_pass1,_finish_pass2 ,_error_exit,_output_message,_reset_error_mgr,__ZNSt3__26locale2id6__initEv,__ZNSt3__217__call_once_proxyINS_5tupleIJONS_12_GLOBAL__N_111__fake_bindEEEEEEvPv,__ZNSt3__212__do_nothingEPv,_free,b15,b15,b15,b15,b15,b15,b15,b15,b15,b15,b15,b15,b15,b15,b15,b15,b15,b15,b15,b15,b15,b15,b15 ,b15,b15,b15,b15,b15,b15,b15,b15,b15,b15,b15,b15,b15,b15,b15,b15,b15]; var FUNCTION_TABLE_vid = [b16,_setProjectionNearPlane,_setProjectionFarPlane,_setPattRatio]; @@ -111334,20 +111630,20 @@ var FUNCTION_TABLE_vii = [b17,__ZNK12_GLOBAL__N_116itanium_demangle10AbiTagAttr9 ,__ZNK12_GLOBAL__N_116itanium_demangle8CastExpr9printLeftERNS_12OutputStreamE,__ZNK12_GLOBAL__N_116itanium_demangle15ConditionalExpr9printLeftERNS_12OutputStreamE,__ZNK12_GLOBAL__N_116itanium_demangle7NewExpr9printLeftERNS_12OutputStreamE,__ZNK12_GLOBAL__N_116itanium_demangle11PostfixExpr9printLeftERNS_12OutputStreamE,__ZNK12_GLOBAL__N_116itanium_demangle15BracedRangeExpr9printLeftERNS_12OutputStreamE,__ZNK12_GLOBAL__N_116itanium_demangle10BracedExpr9printLeftERNS_12OutputStreamE,__ZNK12_GLOBAL__N_116itanium_demangle8NameType9printLeftERNS_12OutputStreamE,__ZNK12_GLOBAL__N_116itanium_demangle8NameType11getBaseNameEv,__ZNK12_GLOBAL__N_116itanium_demangle18ArraySubscriptExpr9printLeftERNS_12OutputStreamE,__ZNK12_GLOBAL__N_116itanium_demangle10MemberExpr9printLeftERNS_12OutputStreamE,__ZNK12_GLOBAL__N_116itanium_demangle19GlobalQualifiedName9printLeftERNS_12OutputStreamE,__ZNK12_GLOBAL__N_116itanium_demangle19GlobalQualifiedName11getBaseNameEv,__ZNK12_GLOBAL__N_116itanium_demangle15LiteralOperator9printLeftERNS_12OutputStreamE,__ZNK12_GLOBAL__N_116itanium_demangle22ConversionOperatorType9printLeftERNS_12OutputStreamE,__ZNK12_GLOBAL__N_116itanium_demangle8DtorName9printLeftERNS_12OutputStreamE,__ZNK12_GLOBAL__N_116itanium_demangle13QualifiedName9printLeftERNS_12OutputStreamE,__ZNK12_GLOBAL__N_116itanium_demangle13QualifiedName11getBaseNameEv,__ZNK12_GLOBAL__N_116itanium_demangle10DeleteExpr9printLeftERNS_12OutputStreamE,__ZNK12_GLOBAL__N_116itanium_demangle14ConversionExpr9printLeftERNS_12OutputStreamE,__ZNK12_GLOBAL__N_116itanium_demangle8CallExpr9printLeftERNS_12OutputStreamE,__ZNK12_GLOBAL__N_116itanium_demangle10PrefixExpr9printLeftERNS_12OutputStreamE,__ZNK12_GLOBAL__N_116itanium_demangle10BinaryExpr9printLeftERNS_12OutputStreamE,__ZNK12_GLOBAL__N_116itanium_demangle8FoldExpr9printLeftERNS_12OutputStreamE,__ZNK12_GLOBAL__N_116itanium_demangle13FunctionParam9printLeftERNS_12OutputStreamE,__ZNK12_GLOBAL__N_116itanium_demangle24ForwardTemplateReference9printLeftERNS_12OutputStreamE,__ZNK12_GLOBAL__N_116itanium_demangle24ForwardTemplateReference10printRightERNS_12OutputStreamE,__ZNK12_GLOBAL__N_116itanium_demangle22ElaboratedTypeSpefType9printLeftERNS_12OutputStreamE,__ZNK12_GLOBAL__N_116itanium_demangle16StdQualifiedName9printLeftERNS_12OutputStreamE,__ZNK12_GLOBAL__N_116itanium_demangle16StdQualifiedName11getBaseNameEv,__ZNK12_GLOBAL__N_116itanium_demangle21StructuredBindingName9printLeftERNS_12OutputStreamE ,__ZNK12_GLOBAL__N_116itanium_demangle15ClosureTypeName9printLeftERNS_12OutputStreamE,__ZNK12_GLOBAL__N_116itanium_demangle15UnnamedTypeName9printLeftERNS_12OutputStreamE,__ZNK12_GLOBAL__N_116itanium_demangle9LocalName9printLeftERNS_12OutputStreamE,__ZNK12_GLOBAL__N_116itanium_demangle12CtorDtorName9printLeftERNS_12OutputStreamE,__ZNK12_GLOBAL__N_116itanium_demangle27ExpandedSpecialSubstitution9printLeftERNS_12OutputStreamE,__ZNK12_GLOBAL__N_116itanium_demangle27ExpandedSpecialSubstitution11getBaseNameEv,__ZNK12_GLOBAL__N_116itanium_demangle10NestedName9printLeftERNS_12OutputStreamE,__ZNK12_GLOBAL__N_116itanium_demangle10NestedName11getBaseNameEv,__ZNK12_GLOBAL__N_116itanium_demangle19PointerToMemberType9printLeftERNS_12OutputStreamE,__ZNK12_GLOBAL__N_116itanium_demangle19PointerToMemberType10printRightERNS_12OutputStreamE,__ZNK12_GLOBAL__N_116itanium_demangle9ArrayType9printLeftERNS_12OutputStreamE,__ZNK12_GLOBAL__N_116itanium_demangle9ArrayType10printRightERNS_12OutputStreamE,__ZNK12_GLOBAL__N_116itanium_demangle10VectorType9printLeftERNS_12OutputStreamE,__ZNK12_GLOBAL__N_116itanium_demangle15PixelVectorType9printLeftERNS_12OutputStreamE,__ZNK12_GLOBAL__N_116itanium_demangle8QualType9printLeftERNS_12OutputStreamE,__ZNK12_GLOBAL__N_116itanium_demangle8QualType10printRightERNS_12OutputStreamE,__ZNK12_GLOBAL__N_116itanium_demangle17VendorExtQualType9printLeftERNS_12OutputStreamE,__ZNK12_GLOBAL__N_116itanium_demangle13ObjCProtoName9printLeftERNS_12OutputStreamE,__ZNK12_GLOBAL__N_116itanium_demangle12FunctionType9printLeftERNS_12OutputStreamE,__ZNK12_GLOBAL__N_116itanium_demangle12FunctionType10printRightERNS_12OutputStreamE,__ZNK12_GLOBAL__N_116itanium_demangle20DynamicExceptionSpec9printLeftERNS_12OutputStreamE,__ZNK12_GLOBAL__N_116itanium_demangle12NoexceptSpec9printLeftERNS_12OutputStreamE,__ZNK12_GLOBAL__N_116itanium_demangle11SpecialName9printLeftERNS_12OutputStreamE,__ZNK12_GLOBAL__N_116itanium_demangle9DotSuffix9printLeftERNS_12OutputStreamE,__ZNK12_GLOBAL__N_116itanium_demangle16FunctionEncoding9printLeftERNS_12OutputStreamE,__ZNK12_GLOBAL__N_116itanium_demangle16FunctionEncoding10printRightERNS_12OutputStreamE,__ZNK12_GLOBAL__N_116itanium_demangle12EnableIfAttr9printLeftERNS_12OutputStreamE,__ZNK12_GLOBAL__N_116itanium_demangle21CtorVtableSpecialName9printLeftERNS_12OutputStreamE,__ZNSt3__215basic_streambufIcNS_11char_traitsIcEEE5imbueERKNS_6localeE,__ZNSt3__215basic_streambufIwNS_11char_traitsIwEEE5imbueERKNS_6localeE ,__ZNSt3__211__stdoutbufIwE5imbueERKNS_6localeE,__ZNSt3__211__stdoutbufIcE5imbueERKNS_6localeE,__ZNSt3__210__stdinbufIwE5imbueERKNS_6localeE,__ZNSt3__210__stdinbufIcE5imbueERKNS_6localeE,__ZNKSt3__210moneypunctIcLb0EE11do_groupingEv,__ZNKSt3__210moneypunctIcLb0EE14do_curr_symbolEv,__ZNKSt3__210moneypunctIcLb0EE16do_positive_signEv,__ZNKSt3__210moneypunctIcLb0EE16do_negative_signEv,__ZNKSt3__210moneypunctIcLb0EE13do_pos_formatEv,__ZNKSt3__210moneypunctIcLb0EE13do_neg_formatEv,__ZNKSt3__210moneypunctIcLb1EE11do_groupingEv,__ZNKSt3__210moneypunctIcLb1EE14do_curr_symbolEv,__ZNKSt3__210moneypunctIcLb1EE16do_positive_signEv,__ZNKSt3__210moneypunctIcLb1EE16do_negative_signEv,__ZNKSt3__210moneypunctIcLb1EE13do_pos_formatEv,__ZNKSt3__210moneypunctIcLb1EE13do_neg_formatEv,__ZNKSt3__210moneypunctIwLb0EE11do_groupingEv,__ZNKSt3__210moneypunctIwLb0EE14do_curr_symbolEv,__ZNKSt3__210moneypunctIwLb0EE16do_positive_signEv,__ZNKSt3__210moneypunctIwLb0EE16do_negative_signEv,__ZNKSt3__210moneypunctIwLb0EE13do_pos_formatEv,__ZNKSt3__210moneypunctIwLb0EE13do_neg_formatEv,__ZNKSt3__210moneypunctIwLb1EE11do_groupingEv,__ZNKSt3__210moneypunctIwLb1EE14do_curr_symbolEv,__ZNKSt3__210moneypunctIwLb1EE16do_positive_signEv,__ZNKSt3__210moneypunctIwLb1EE16do_negative_signEv,__ZNKSt3__210moneypunctIwLb1EE13do_pos_formatEv,__ZNKSt3__210moneypunctIwLb1EE13do_neg_formatEv,__ZNKSt3__28messagesIcE8do_closeEl,__ZNKSt3__28messagesIwE8do_closeEl -,__ZNKSt3__28numpunctIcE11do_groupingEv,__ZNKSt3__28numpunctIcE11do_truenameEv,__ZNKSt3__28numpunctIcE12do_falsenameEv,__ZNKSt3__28numpunctIwE11do_groupingEv,__ZNKSt3__28numpunctIwE11do_truenameEv,__ZNKSt3__28numpunctIwE12do_falsenameEv,_jpeg_stdio_src,_setThresholdMode,_setThreshold,_setPatternDetectionMode,_setMatrixCodeType,_setLabelingMode,_setImageProcMode,__ZN10emscripten8internal7InvokerIvJiEE6invokeEPFviEi,_start_pass_1_quant,_start_pass_2_quant,_start_pass_dpost,_start_pass_main,_skip_input_data,_free_pool,_emit_message,_format_message,_pop_arg_long_double,b17,b17,b17,b17,b17,b17,b17 +,__ZNKSt3__28numpunctIcE11do_groupingEv,__ZNKSt3__28numpunctIcE11do_truenameEv,__ZNKSt3__28numpunctIcE12do_falsenameEv,__ZNKSt3__28numpunctIwE11do_groupingEv,__ZNKSt3__28numpunctIwE11do_truenameEv,__ZNKSt3__28numpunctIwE12do_falsenameEv,_jpeg_stdio_src,_setThresholdMode,_setThreshold,_setPatternDetectionMode,_setMatrixCodeType,_setLabelingMode,_setImageProcMode,__ZN10emscripten8internal7InvokerIvJiEE6invokeEPFviEi,_free_pool,_skip_input_data,_start_pass_1_quant,_start_pass_dpost,_start_pass_2_quant,_start_pass_main_98,_emit_message,_format_message,_pop_arg_long_double,b17,b17,b17,b17,b17,b17,b17 ,b17,b17,b17,b17,b17,b17,b17,b17,b17,b17,b17,b17,b17,b17,b17,b17,b17,b17,b17,b17,b17,b17,b17,b17,b17,b17,b17,b17,b17,b17 ,b17,b17,b17,b17,b17,b17,b17,b17,b17,b17,b17,b17,b17,b17,b17,b17,b17,b17,b17,b17,b17,b17,b17,b17,b17,b17,b17,b17,b17,b17 ,b17,b17,b17,b17,b17,b17,b17,b17,b17,b17,b17,b17,b17,b17,b17,b17,b17,b17,b17,b17,b17,b17,b17,b17,b17,b17,b17,b17,b17,b17 ,b17,b17,b17,b17,b17,b17,b17,b17,b17,b17,b17,b17,b17,b17,b17,b17,b17]; var FUNCTION_TABLE_viid = [b18,__ZN10emscripten8internal7InvokerIvJidEE6invokeEPFvidEid,__ZN10emscripten8internal7InvokerIvJifEE6invokeEPFvifEif,b18]; var FUNCTION_TABLE_viii = [b19,_jpeg_CreateDecompress,__ZN10emscripten8internal7InvokerIvJiiEE6invokeEPFviiEii,b19]; -var FUNCTION_TABLE_viiii = [b20,__ZNK10__cxxabiv117__class_type_info27has_unambiguous_public_baseEPNS_19__dynamic_cast_infoEPvi,__ZNK10__cxxabiv120__si_class_type_info27has_unambiguous_public_baseEPNS_19__dynamic_cast_infoEPvi,__ZNK10__cxxabiv121__vmi_class_type_info27has_unambiguous_public_baseEPNS_19__dynamic_cast_infoEPvi,__ZNSt3__215basic_streambufIcNS_11char_traitsIcEEE7seekposENS_4fposI11__mbstate_tEEj,__ZNSt3__215basic_streambufIwNS_11char_traitsIwEEE7seekposENS_4fposI11__mbstate_tEEj,__ZNKSt3__27collateIcE12do_transformEPKcS3_,__ZNKSt3__27collateIwE12do_transformEPKwS3_,_arLog,_h2v2_merged_upsample,_h2v1_merged_upsample,_noop_upsample,_fullsize_upsample,_h2v1_upsample,_h2v2_upsample,_int_upsample,_process_data_context_main,_process_data_simple_main,_process_data_crank_post,_prescan_quantize,_pass2_fs_dither,_pass2_no_dither,_color_quantize3,_color_quantize,_quantize3_ord_dither,_quantize_ord_dither,_quantize_fs_dither,b20,b20 +var FUNCTION_TABLE_viiii = [b20,__ZNK10__cxxabiv117__class_type_info27has_unambiguous_public_baseEPNS_19__dynamic_cast_infoEPvi,__ZNK10__cxxabiv120__si_class_type_info27has_unambiguous_public_baseEPNS_19__dynamic_cast_infoEPvi,__ZNK10__cxxabiv121__vmi_class_type_info27has_unambiguous_public_baseEPNS_19__dynamic_cast_infoEPvi,__ZNSt3__215basic_streambufIcNS_11char_traitsIcEEE7seekposENS_4fposI11__mbstate_tEEj,__ZNSt3__215basic_streambufIwNS_11char_traitsIwEEE7seekposENS_4fposI11__mbstate_tEEj,__ZNKSt3__27collateIcE12do_transformEPKcS3_,__ZNKSt3__27collateIwE12do_transformEPKwS3_,_arLog,_color_quantize3,_color_quantize,_quantize_ord_dither,_quantize3_ord_dither,_quantize_fs_dither,_h2v2_merged_upsample,_h2v1_merged_upsample,_noop_upsample,_fullsize_upsample,_h2v1_upsample,_h2v2_upsample,_int_upsample,_process_data_context_main,_process_data_simple_main_99,_process_data_crank_post,_prescan_quantize,_pass2_no_dither,_pass2_fs_dither,b20,b20 ,b20,b20,b20]; -var FUNCTION_TABLE_viiiii = [b21,__ZNK10__cxxabiv117__class_type_info16search_below_dstEPNS_19__dynamic_cast_infoEPKvib,__ZNK10__cxxabiv120__si_class_type_info16search_below_dstEPNS_19__dynamic_cast_infoEPKvib,__ZNK10__cxxabiv121__vmi_class_type_info16search_below_dstEPNS_19__dynamic_cast_infoEPKvib,_grayscale_convert_52,_rgb_gray_convert_53,_rgb1_gray_convert,_gray_rgb_convert,_ycc_rgb_convert,_rgb_convert_54,_rgb1_rgb_convert,_ycck_cmyk_convert,_null_convert_55,_jpeg_idct_1x1,_jpeg_idct_2x2,_jpeg_idct_3x3,_jpeg_idct_4x4,_jpeg_idct_5x5,_jpeg_idct_6x6,_jpeg_idct_7x7,_jpeg_idct_9x9,_jpeg_idct_10x10,_jpeg_idct_11x11,_jpeg_idct_12x12,_jpeg_idct_13x13,_jpeg_idct_14x14,_jpeg_idct_15x15,_jpeg_idct_16x16,_jpeg_idct_16x8 +var FUNCTION_TABLE_viiiii = [b21,__ZNK10__cxxabiv117__class_type_info16search_below_dstEPNS_19__dynamic_cast_infoEPKvib,__ZNK10__cxxabiv120__si_class_type_info16search_below_dstEPNS_19__dynamic_cast_infoEPKvib,__ZNK10__cxxabiv121__vmi_class_type_info16search_below_dstEPNS_19__dynamic_cast_infoEPKvib,_grayscale_convert_11,_rgb_gray_convert_12,_rgb1_gray_convert,_gray_rgb_convert,_ycc_rgb_convert,_rgb_convert_13,_rgb1_rgb_convert,_ycck_cmyk_convert,_null_convert_14,_jpeg_idct_1x1,_jpeg_idct_2x2,_jpeg_idct_3x3,_jpeg_idct_4x4,_jpeg_idct_5x5,_jpeg_idct_6x6,_jpeg_idct_7x7,_jpeg_idct_9x9,_jpeg_idct_10x10,_jpeg_idct_11x11,_jpeg_idct_12x12,_jpeg_idct_13x13,_jpeg_idct_14x14,_jpeg_idct_15x15,_jpeg_idct_16x16,_jpeg_idct_16x8 ,_jpeg_idct_14x7,_jpeg_idct_12x6,_jpeg_idct_10x5,_jpeg_idct_8x4,_jpeg_idct_6x3,_jpeg_idct_4x2,_jpeg_idct_2x1,_jpeg_idct_8x16,_jpeg_idct_7x14,_jpeg_idct_6x12,_jpeg_idct_5x10,_jpeg_idct_4x8,_jpeg_idct_3x6,_jpeg_idct_2x4,_jpeg_idct_1x2,_jpeg_idct_islow,_jpeg_idct_ifast,_jpeg_idct_float,b21,b21,b21,b21,b21,b21,b21,b21,b21,b21,b21,b21 ,b21,b21,b21,b21,b21]; var FUNCTION_TABLE_viiiiii = [b22,__ZNK10__cxxabiv117__class_type_info16search_above_dstEPNS_19__dynamic_cast_infoEPKvS4_ib,__ZNK10__cxxabiv120__si_class_type_info16search_above_dstEPNS_19__dynamic_cast_infoEPKvS4_ib,__ZNK10__cxxabiv121__vmi_class_type_info16search_above_dstEPNS_19__dynamic_cast_infoEPKvS4_ib,__ZNSt3__215basic_streambufIcNS_11char_traitsIcEEE7seekoffExNS_8ios_base7seekdirEj,__ZNSt3__215basic_streambufIwNS_11char_traitsIwEEE7seekoffExNS_8ios_base7seekdirEj,__ZNKSt3__28messagesIcE6do_getEliiRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEE,__ZNKSt3__28messagesIwE6do_getEliiRKNS_12basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEEE]; -var FUNCTION_TABLE_viiiiiii = [b23,_merged_2v_upsample,_merged_1v_upsample,_sep_upsample,_post_process_1pass,_post_process_prepass,_post_process_2pass,b23]; +var FUNCTION_TABLE_viiiiiii = [b23,_post_process_1pass,_post_process_prepass,_post_process_2pass,_merged_2v_upsample,_merged_1v_upsample,_sep_upsample,b23]; return { __GLOBAL__I_000101: __GLOBAL__I_000101, __GLOBAL__sub_I_ARToolKitJS_cpp: __GLOBAL__sub_I_ARToolKitJS_cpp, __GLOBAL__sub_I_bind_cpp: __GLOBAL__sub_I_bind_cpp, __GLOBAL__sub_I_iostream_cpp: __GLOBAL__sub_I_iostream_cpp, __ZSt18uncaught_exceptionv: __ZSt18uncaught_exceptionv, ___cxa_can_catch: ___cxa_can_catch, ___cxa_demangle: ___cxa_demangle, ___cxa_is_pointer_type: ___cxa_is_pointer_type, ___embind_register_native_and_builtin_types: ___embind_register_native_and_builtin_types, ___emscripten_environ_constructor: ___emscripten_environ_constructor, ___errno_location: ___errno_location, ___getTypeName: ___getTypeName, ___muldi3: ___muldi3, ___udivdi3: ___udivdi3, __get_daylight: __get_daylight, __get_environ: __get_environ, __get_timezone: __get_timezone, __get_tzname: __get_tzname, _bitshift64Lshr: _bitshift64Lshr, _bitshift64Shl: _bitshift64Shl, _emscripten_get_sbrk_ptr: _emscripten_get_sbrk_ptr, _emscripten_replace_memory: _emscripten_replace_memory, _fflush: _fflush, _free: _free, _i64Add: _i64Add, _i64Subtract: _i64Subtract, _llvm_bswap_i32: _llvm_bswap_i32, _malloc: _malloc, _memcpy: _memcpy, _memmove: _memmove, _memset: _memset, _realloc: _realloc, _roundf: _roundf, _saveSetjmp: _saveSetjmp, _setThrew: _setThrew, _testSetjmp: _testSetjmp, dynCall_di: dynCall_di, dynCall_dii: dynCall_dii, dynCall_i: dynCall_i, dynCall_ii: dynCall_ii, dynCall_iidiiii: dynCall_iidiiii, dynCall_iii: dynCall_iii, dynCall_iiii: dynCall_iiii, dynCall_iiiii: dynCall_iiiii, dynCall_iiiiid: dynCall_iiiiid, dynCall_iiiiii: dynCall_iiiiii, dynCall_iiiiiid: dynCall_iiiiiid, dynCall_iiiiiii: dynCall_iiiiiii, dynCall_iiiiiiii: dynCall_iiiiiiii, dynCall_iiiiiiiii: dynCall_iiiiiiiii, dynCall_v: dynCall_v, dynCall_vi: dynCall_vi, dynCall_vid: dynCall_vid, dynCall_vii: dynCall_vii, dynCall_viid: dynCall_viid, dynCall_viii: dynCall_viii, dynCall_viiii: dynCall_viiii, dynCall_viiiii: dynCall_viiiii, dynCall_viiiiii: dynCall_viiiiii, dynCall_viiiiiii: dynCall_viiiiiii, establishStackSpace: establishStackSpace, stackAlloc: stackAlloc, stackRestore: stackRestore, stackSave: stackSave }; }) diff --git a/build/artoolkit.min.js b/build/artoolkit.min.js index 4ba176b2..4704596c 100644 --- a/build/artoolkit.min.js +++ b/build/artoolkit.min.js @@ -1,20 +1,23 @@ -var Module=typeof Module!=="undefined"?Module:{};(function(){"use strict";var scope;if(typeof window!=="undefined"){scope=window}else{scope=self}if(scope.artoolkit_wasm_url){var downloadWasm=function(url){return new Promise(function(resolve,reject){var wasmXHR=new XMLHttpRequest;wasmXHR.open("GET",url,true);wasmXHR.responseType="arraybuffer";wasmXHR.onload=function(){resolve(wasmXHR.response)};wasmXHR.onerror=function(){reject("error "+wasmXHR.status)};wasmXHR.send(null)})};var wasm=downloadWasm(scope.artoolkit_wasm_url);Module.instantiateWasm=function(imports,successCallback){console.log("instantiateWasm: instantiating synchronously");wasm.then(function(wasmBinary){console.log("wasm download finished, begin instantiating");var wasmInstantiate=WebAssembly.instantiate(new Uint8Array(wasmBinary),imports).then(function(output){console.log("wasm instantiation succeeded");successCallback(output.instance)}).catch(function(e){console.log("wasm instantiation failed! "+e)})});return{}}}var ARController=function(width,height,cameraPara){this.id=undefined;var w=width,h=height;this.orientation="landscape";this.listeners={};if(typeof width!=="number"){var image=width;cameraPara=height;w=image.videoWidth||image.width;h=image.videoHeight||image.height;this.image=image}this.width=w;this.height=h;this.nftMarkerCount=0;this.defaultMarkerWidth=1;this.patternMarkers={};this.barcodeMarkers={};this.nftMarkers={};this.transform_mat=new Float32Array(16);this.transformGL_RH=new Float64Array(16);if(typeof document!=="undefined"){this.canvas=document.createElement("canvas");this.canvas.width=w;this.canvas.height=h;this.ctx=this.canvas.getContext("2d")}this.videoWidth=w;this.videoHeight=h;this.videoSize=this.videoWidth*this.videoHeight;this.framepointer=null;this.framesize=null;this.dataHeap=null;this.videoLuma=null;this.camera_mat=null;this.marker_transform_mat=null;this.videoLumaPointer=null;this._bwpointer=undefined;this._lumaCtx=undefined;if(typeof cameraPara==="string"){this.cameraParam=new ARCameraParam(cameraPara,function(){this._initialize()}.bind(this),function(err){console.error("ARController: Failed to load ARCameraParam",err);this.onload(err)}.bind(this))}else{this.cameraParam=cameraPara;this._initialize()}};ARController.prototype.dispose=function(){if(this.id>-1){artoolkit.teardown(this.id)}if(this.image&&this.image.srcObject){ARController._teardownVideo(this.image)}for(var t in this){this[t]=null}};ARController.prototype.process=function(image){var result=this.detectMarker(image);if(result!=0){console.error("detectMarker error: "+result)}var markerNum=this.getMarkerNum();var k,o;for(k in this.patternMarkers){o=this.patternMarkers[k];o.inPrevious=o.inCurrent;o.inCurrent=false}for(k in this.barcodeMarkers){o=this.barcodeMarkers[k];o.inPrevious=o.inCurrent;o.inCurrent=false}for(k in this.nftMarkers){o=this.nftMarkers[k];o.inPrevious=o.inCurrent;o.inCurrent=false}for(var i=0;i-1&&(markerInfo.id===markerInfo.idPatt||markerInfo.idMatrix===-1)){visible=this.trackPatternMarkerId(markerInfo.idPatt);markerType=artoolkit.PATTERN_MARKER;if(markerInfo.dir!==markerInfo.dirPatt){this.setMarkerInfoDir(i,markerInfo.dirPatt)}}else if(markerInfo.idMatrix>-1){visible=this.trackBarcodeMarkerId(markerInfo.idMatrix);markerType=artoolkit.BARCODE_MARKER;if(markerInfo.dir!==markerInfo.dirMatrix){this.setMarkerInfoDir(i,markerInfo.dirMatrix)}}if(markerType!==artoolkit.UNKNOWN_MARKER&&visible.inPrevious){this.getTransMatSquareCont(i,visible.markerWidth,visible.matrix,visible.matrix)}else{this.getTransMatSquare(i,visible.markerWidth,visible.matrix)}visible.inCurrent=true;this.transMatToGLMat(visible.matrix,this.transform_mat);this.transformGL_RH=this.arglCameraViewRHf(this.transform_mat);this.dispatchEvent({name:"getMarker",target:this,data:{index:i,type:markerType,marker:markerInfo,matrix:this.transform_mat,matrixGL_RH:this.transformGL_RH}})}var nftMarkerCount=this.nftMarkerCount;this.detectNFTMarker();var MARKER_LOST_TIME=200;for(var i=0;i=0){visible=true;this.dispatchEvent({name:"getMultiMarker",target:this,data:{multiMarkerId:i,matrix:this.transform_mat,matrixGL_RH:this.transformGL_RH}});break}}if(visible){for(var j=0;j-1){this.listeners[name].splice(index,1)}}};ARController.prototype.dispatchEvent=function(event){var listeners=this.listeners[event.name];if(listeners){for(var i=0;i>3;q+=4}}if(this.dataHeap){this.dataHeap.set(data);return true}return false};ARController.prototype._debugMarker=function(marker){var vertex,pos;vertex=marker.vertex;var ctx=this.ctx;ctx.strokeStyle="red";ctx.beginPath();ctx.moveTo(vertex[0][0],vertex[0][1]);ctx.lineTo(vertex[1][0],vertex[1][1]);ctx.stroke();ctx.beginPath();ctx.moveTo(vertex[2][0],vertex[2][1]);ctx.lineTo(vertex[3][0],vertex[3][1]);ctx.stroke();ctx.strokeStyle="green";ctx.beginPath();ctx.lineTo(vertex[1][0],vertex[1][1]);ctx.lineTo(vertex[2][0],vertex[2][1]);ctx.stroke();ctx.beginPath();ctx.moveTo(vertex[3][0],vertex[3][1]);ctx.lineTo(vertex[0][0],vertex[0][1]);ctx.stroke();pos=marker.pos;ctx.beginPath();ctx.arc(pos[0],pos[1],8,0,Math.PI*2);ctx.fillStyle="red";ctx.fill()};ARController.getUserMedia=function(configuration){var facing=configuration.facingMode||"environment";var onSuccess=configuration.onSuccess;var onError=configuration.onError||function(err){console.error("ARController.getUserMedia",err)};var video=document.createElement("video");var readyToPlay=false;var eventNames=["touchstart","touchend","touchmove","touchcancel","click","mousedown","mouseup","mousemove","keydown","keyup","keypress","scroll"];var play=function(){if(readyToPlay){video.play().then(function(){onSuccess(video)}).catch(function(error){onError(error);ARController._teardownVideo(video)});if(!video.paused){eventNames.forEach(function(eventName){window.removeEventListener(eventName,play,true)})}}};eventNames.forEach(function(eventName){window.addEventListener(eventName,play,true)});var success=function(stream){if(window.URL.createObjectURL){try{video.srcObject=stream}catch(ex){}}video.srcObject=stream;readyToPlay=true;video.autoplay=true;video.playsInline=true;play()};var constraints={};var mediaDevicesConstraints={};if(configuration.width){mediaDevicesConstraints.width=configuration.width;if(typeof configuration.width==="object"){if(configuration.width.max){constraints.maxWidth=configuration.width.max}if(configuration.width.min){constraints.minWidth=configuration.width.min}}else{constraints.maxWidth=configuration.width}}if(configuration.height){mediaDevicesConstraints.height=configuration.height;if(typeof configuration.height==="object"){if(configuration.height.max){constraints.maxHeight=configuration.height.max}if(configuration.height.min){constraints.minHeight=configuration.height.min}}else{constraints.maxHeight=configuration.height}}mediaDevicesConstraints.facingMode=facing;mediaDevicesConstraints.deviceId=configuration.deviceId;navigator.getUserMedia=navigator.getUserMedia||navigator.webkitGetUserMedia||navigator.mozGetUserMedia||navigator.msGetUserMedia;var hdConstraints={audio:false,video:constraints};if(navigator.mediaDevices||window.MediaStreamTrack.getSources){if(navigator.mediaDevices){navigator.mediaDevices.getUserMedia({audio:false,video:mediaDevicesConstraints}).then(success,onError)}else{window.MediaStreamTrack.getSources(function(sources){var facingDir=mediaDevicesConstraints.facingMode;if(facing&&facing.exact){facingDir=facing.exact}for(var i=0;i-1){writeStringToFS(filename,url,writeCallback)}else{ajax(url,filename,writeCallback,errorCallback)}}function writeStringToFS(target,string,callback){var byteArray=new Uint8Array(string.length);for(var i=0;i1){thisProgram=process["argv"][1].replace(/\\/g,"/")}arguments_=process["argv"].slice(2);if(typeof module!=="undefined"){module["exports"]=Module}process["on"]("uncaughtException",function(ex){if(!(ex instanceof ExitStatus)){throw ex}});process["on"]("unhandledRejection",abort);quit_=function(status){process["exit"](status)};Module["inspect"]=function(){return"[Emscripten Module object]"}}else if(ENVIRONMENT_IS_SHELL){if(typeof read!="undefined"){read_=function shell_read(f){var data=tryParseAsDataURI(f);if(data){return intArrayToString(data)}return read(f)}}readBinary=function readBinary(f){var data;data=tryParseAsDataURI(f);if(data){return data}if(typeof readbuffer==="function"){return new Uint8Array(readbuffer(f))}data=read(f,"binary");assert(typeof data==="object");return data};if(typeof scriptArgs!="undefined"){arguments_=scriptArgs}else if(typeof arguments!="undefined"){arguments_=arguments}if(typeof quit==="function"){quit_=function(status){quit(status)}}if(typeof print!=="undefined"){if(typeof console==="undefined")console={};console.log=print;console.warn=console.error=typeof printErr!=="undefined"?printErr:print}}else if(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER){if(ENVIRONMENT_IS_WORKER){scriptDirectory=self.location.href}else if(document.currentScript){scriptDirectory=document.currentScript.src}if(scriptDirectory.indexOf("blob:")!==0){scriptDirectory=scriptDirectory.substr(0,scriptDirectory.lastIndexOf("/")+1)}else{scriptDirectory=""}{read_=function shell_read(url){try{var xhr=new XMLHttpRequest;xhr.open("GET",url,false);xhr.send(null);return xhr.responseText}catch(err){var data=tryParseAsDataURI(url);if(data){return intArrayToString(data)}throw err}};if(ENVIRONMENT_IS_WORKER){readBinary=function readBinary(url){try{var xhr=new XMLHttpRequest;xhr.open("GET",url,false);xhr.responseType="arraybuffer";xhr.send(null);return new Uint8Array(xhr.response)}catch(err){var data=tryParseAsDataURI(url);if(data){return data}throw err}}}readAsync=function readAsync(url,onload,onerror){var xhr=new XMLHttpRequest;xhr.open("GET",url,true);xhr.responseType="arraybuffer";xhr.onload=function xhr_onload(){if(xhr.status==200||xhr.status==0&&xhr.response){onload(xhr.response);return}var data=tryParseAsDataURI(url);if(data){onload(data.buffer);return}onerror()};xhr.onerror=onerror;xhr.send(null)}}setWindowTitle=function(title){document.title=title}}else{}var out=Module["print"]||console.log.bind(console);var err=Module["printErr"]||console.warn.bind(console);for(key in moduleOverrides){if(moduleOverrides.hasOwnProperty(key)){Module[key]=moduleOverrides[key]}}moduleOverrides=null;if(Module["arguments"])arguments_=Module["arguments"];if(Module["thisProgram"])thisProgram=Module["thisProgram"];if(Module["quit"])quit_=Module["quit"];var STACK_ALIGN=16;function dynamicAlloc(size){var ret=HEAP32[DYNAMICTOP_PTR>>2];var end=ret+size+15&-16;if(end>_emscripten_get_heap_size()){abort()}HEAP32[DYNAMICTOP_PTR>>2]=end;return ret}function getNativeTypeSize(type){switch(type){case"i1":case"i8":return 1;case"i16":return 2;case"i32":return 4;case"i64":return 8;case"float":return 4;case"double":return 8;default:{if(type[type.length-1]==="*"){return 4}else if(type[0]==="i"){var bits=parseInt(type.substr(1));assert(bits%8===0,"getNativeTypeSize invalid bits "+bits+", type "+type);return bits/8}else{return 0}}}}function warnOnce(text){if(!warnOnce.shown)warnOnce.shown={};if(!warnOnce.shown[text]){warnOnce.shown[text]=1;err(text)}}var jsCallStartIndex=1;var functionPointers=new Array(0);var funcWrappers={};function dynCall(sig,ptr,args){if(args&&args.length){return Module["dynCall_"+sig].apply(null,[ptr].concat(args))}else{return Module["dynCall_"+sig].call(null,ptr)}}var tempRet0=0;var setTempRet0=function(value){tempRet0=value};var getTempRet0=function(){return tempRet0};var GLOBAL_BASE=8;var wasmBinary;if(Module["wasmBinary"])wasmBinary=Module["wasmBinary"];var noExitRuntime;if(Module["noExitRuntime"])noExitRuntime=Module["noExitRuntime"];function setValue(ptr,value,type,noSafe){type=type||"i8";if(type.charAt(type.length-1)==="*")type="i32";switch(type){case"i1":HEAP8[ptr>>0]=value;break;case"i8":HEAP8[ptr>>0]=value;break;case"i16":HEAP16[ptr>>1]=value;break;case"i32":HEAP32[ptr>>2]=value;break;case"i64":tempI64=[value>>>0,(tempDouble=value,+Math_abs(tempDouble)>=+1?tempDouble>+0?(Math_min(+Math_floor(tempDouble/+4294967296),+4294967295)|0)>>>0:~~+Math_ceil((tempDouble-+(~~tempDouble>>>0))/+4294967296)>>>0:0)],HEAP32[ptr>>2]=tempI64[0],HEAP32[ptr+4>>2]=tempI64[1];break;case"float":HEAPF32[ptr>>2]=value;break;case"double":HEAPF64[ptr>>3]=value;break;default:abort("invalid type for setValue: "+type)}}var ABORT=false;var EXITSTATUS=0;function assert(condition,text){if(!condition){abort("Assertion failed: "+text)}}function getCFunc(ident){var func=Module["_"+ident];assert(func,"Cannot call unknown function "+ident+", make sure it is exported");return func}function ccall(ident,returnType,argTypes,args,opts){var toC={"string":function(str){var ret=0;if(str!==null&&str!==undefined&&str!==0){var len=(str.length<<2)+1;ret=stackAlloc(len);stringToUTF8(str,ret,len)}return ret},"array":function(arr){var ret=stackAlloc(arr.length);writeArrayToMemory(arr,ret);return ret}};function convertReturnValue(ret){if(returnType==="string")return UTF8ToString(ret);if(returnType==="boolean")return Boolean(ret);return ret}var func=getCFunc(ident);var cArgs=[];var stack=0;if(args){for(var i=0;i>2]=0}stop=ret+size;while(ptr>0]=0}return ret}if(singleType==="i8"){if(slab.subarray||slab.slice){HEAPU8.set(slab,ret)}else{HEAPU8.set(new Uint8Array(slab),ret)}return ret}var i=0,type,typeSize,previousType;while(i=endIdx))++endPtr;if(endPtr-idx>16&&u8Array.subarray&&UTF8Decoder){return UTF8Decoder.decode(u8Array.subarray(idx,endPtr))}else{var str="";while(idx>10,56320|ch&1023)}}}return str}function UTF8ToString(ptr,maxBytesToRead){return ptr?UTF8ArrayToString(HEAPU8,ptr,maxBytesToRead):""}function stringToUTF8Array(str,outU8Array,outIdx,maxBytesToWrite){if(!(maxBytesToWrite>0))return 0;var startIdx=outIdx;var endIdx=outIdx+maxBytesToWrite-1;for(var i=0;i=55296&&u<=57343){var u1=str.charCodeAt(++i);u=65536+((u&1023)<<10)|u1&1023}if(u<=127){if(outIdx>=endIdx)break;outU8Array[outIdx++]=u}else if(u<=2047){if(outIdx+1>=endIdx)break;outU8Array[outIdx++]=192|u>>6;outU8Array[outIdx++]=128|u&63}else if(u<=65535){if(outIdx+2>=endIdx)break;outU8Array[outIdx++]=224|u>>12;outU8Array[outIdx++]=128|u>>6&63;outU8Array[outIdx++]=128|u&63}else{if(outIdx+3>=endIdx)break;outU8Array[outIdx++]=240|u>>18;outU8Array[outIdx++]=128|u>>12&63;outU8Array[outIdx++]=128|u>>6&63;outU8Array[outIdx++]=128|u&63}}outU8Array[outIdx]=0;return outIdx-startIdx}function stringToUTF8(str,outPtr,maxBytesToWrite){return stringToUTF8Array(str,HEAPU8,outPtr,maxBytesToWrite)}function lengthBytesUTF8(str){var len=0;for(var i=0;i=55296&&u<=57343)u=65536+((u&1023)<<10)|str.charCodeAt(++i)&1023;if(u<=127)++len;else if(u<=2047)len+=2;else if(u<=65535)len+=3;else len+=4}return len}var UTF16Decoder=typeof TextDecoder!=="undefined"?new TextDecoder("utf-16le"):undefined;function allocateUTF8(str){var size=lengthBytesUTF8(str)+1;var ret=_malloc(size);if(ret)stringToUTF8Array(str,HEAP8,ret,size);return ret}function writeArrayToMemory(array,buffer){HEAP8.set(array,buffer)}function writeAsciiToMemory(str,buffer,dontAddNull){for(var i=0;i>0]=str.charCodeAt(i)}if(!dontAddNull)HEAP8[buffer>>0]=0}var buffer,HEAP8,HEAPU8,HEAP16,HEAPU16,HEAP32,HEAPU32,HEAPF32,HEAPF64;function updateGlobalBufferAndViews(buf){buffer=buf;Module["HEAP8"]=HEAP8=new Int8Array(buf);Module["HEAP16"]=HEAP16=new Int16Array(buf);Module["HEAP32"]=HEAP32=new Int32Array(buf);Module["HEAPU8"]=HEAPU8=new Uint8Array(buf);Module["HEAPU16"]=HEAPU16=new Uint16Array(buf);Module["HEAPU32"]=HEAPU32=new Uint32Array(buf);Module["HEAPF32"]=HEAPF32=new Float32Array(buf);Module["HEAPF64"]=HEAPF64=new Float64Array(buf)}var STACK_BASE=57888,DYNAMIC_BASE=5300768,DYNAMICTOP_PTR=57696;var INITIAL_TOTAL_MEMORY=Module["TOTAL_MEMORY"]||268435456;if(Module["buffer"]){buffer=Module["buffer"]}else{buffer=new ArrayBuffer(INITIAL_TOTAL_MEMORY)}INITIAL_TOTAL_MEMORY=buffer.byteLength;updateGlobalBufferAndViews(buffer);HEAP32[DYNAMICTOP_PTR>>2]=DYNAMIC_BASE;function callRuntimeCallbacks(callbacks){while(callbacks.length>0){var callback=callbacks.shift();if(typeof callback=="function"){callback();continue}var func=callback.func;if(typeof func==="number"){if(callback.arg===undefined){Module["dynCall_v"](func)}else{Module["dynCall_vi"](func,callback.arg)}}else{func(callback.arg===undefined?null:callback.arg)}}}var __ATPRERUN__=[];var __ATINIT__=[];var __ATMAIN__=[];var __ATPOSTRUN__=[];var runtimeInitialized=false;var runtimeExited=false;function preRun(){if(Module["preRun"]){if(typeof Module["preRun"]=="function")Module["preRun"]=[Module["preRun"]];while(Module["preRun"].length){addOnPreRun(Module["preRun"].shift())}}callRuntimeCallbacks(__ATPRERUN__)}function initRuntime(){runtimeInitialized=true;if(!Module["noFSInit"]&&!FS.init.initialized)FS.init();TTY.init();callRuntimeCallbacks(__ATINIT__)}function preMain(){FS.ignorePermissions=false;callRuntimeCallbacks(__ATMAIN__)}function exitRuntime(){runtimeExited=true}function postRun(){if(Module["postRun"]){if(typeof Module["postRun"]=="function")Module["postRun"]=[Module["postRun"]];while(Module["postRun"].length){addOnPostRun(Module["postRun"].shift())}}callRuntimeCallbacks(__ATPOSTRUN__)}function addOnPreRun(cb){__ATPRERUN__.unshift(cb)}function addOnPostRun(cb){__ATPOSTRUN__.unshift(cb)}var Math_abs=Math.abs;var Math_ceil=Math.ceil;var Math_floor=Math.floor;var Math_min=Math.min;var runDependencies=0;var runDependencyWatcher=null;var dependenciesFulfilled=null;function getUniqueRunDependency(id){return id}function addRunDependency(id){runDependencies++;if(Module["monitorRunDependencies"]){Module["monitorRunDependencies"](runDependencies)}}function removeRunDependency(id){runDependencies--;if(Module["monitorRunDependencies"]){Module["monitorRunDependencies"](runDependencies)}if(runDependencies==0){if(runDependencyWatcher!==null){clearInterval(runDependencyWatcher);runDependencyWatcher=null}if(dependenciesFulfilled){var callback=dependenciesFulfilled;dependenciesFulfilled=null;callback()}}}Module["preloadedImages"]={};Module["preloadedAudios"]={};function abort(what){if(Module["onAbort"]){Module["onAbort"](what)}what+="";out(what);err(what);ABORT=true;EXITSTATUS=1;what="abort("+what+"). Build with -s ASSERTIONS=1 for more info.";throw what}var memoryInitializer=null;var dataURIPrefix="data:application/octet-stream;base64,";function isDataURI(filename){return String.prototype.startsWith?filename.startsWith(dataURIPrefix):filename.indexOf(dataURIPrefix)===0}var tempDouble;var tempI64;var ASM_CONSTS=[function($0,$1,$2,$3,$4,$5){if(!artoolkit["frameMalloc"]){artoolkit["frameMalloc"]={}}var frameMalloc=artoolkit["frameMalloc"];frameMalloc["framepointer"]=$1;frameMalloc["framesize"]=$2;frameMalloc["camera"]=$3;frameMalloc["transform"]=$4;frameMalloc["videoLumaPointer"]=$5},function($0,$1,$2,$3){if(!artoolkit["multiEachMarkerInfo"]){artoolkit["multiEachMarkerInfo"]={}}var multiEachMarker=artoolkit["multiEachMarkerInfo"];multiEachMarker["visible"]=$0;multiEachMarker["pattId"]=$1;multiEachMarker["pattType"]=$2;multiEachMarker["width"]=$3},function($0,$1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12,$13,$14,$15,$16,$17,$18,$19,$20,$21,$22,$23,$24,$25,$26,$27,$28,$29,$30,$31,$32){var $a=arguments;var i=12;if(!artoolkit["markerInfo"]){artoolkit["markerInfo"]={pos:[0,0],line:[[0,0,0],[0,0,0],[0,0,0],[0,0,0]],vertex:[[0,0],[0,0],[0,0],[0,0]]}}var markerInfo=artoolkit["markerInfo"];markerInfo["area"]=$0;markerInfo["id"]=$1;markerInfo["idPatt"]=$2;markerInfo["idMatrix"]=$3;markerInfo["dir"]=$4;markerInfo["dirPatt"]=$5;markerInfo["dirMatrix"]=$6;markerInfo["cf"]=$7;markerInfo["cfPatt"]=$8;markerInfo["cfMatrix"]=$9;markerInfo["pos"][0]=$10;markerInfo["pos"][1]=$11;markerInfo["line"][0][0]=$a[i++];markerInfo["line"][0][1]=$a[i++];markerInfo["line"][0][2]=$a[i++];markerInfo["line"][1][0]=$a[i++];markerInfo["line"][1][1]=$a[i++];markerInfo["line"][1][2]=$a[i++];markerInfo["line"][2][0]=$a[i++];markerInfo["line"][2][1]=$a[i++];markerInfo["line"][2][2]=$a[i++];markerInfo["line"][3][0]=$a[i++];markerInfo["line"][3][1]=$a[i++];markerInfo["line"][3][2]=$a[i++];markerInfo["vertex"][0][0]=$a[i++];markerInfo["vertex"][0][1]=$a[i++];markerInfo["vertex"][1][0]=$a[i++];markerInfo["vertex"][1][1]=$a[i++];markerInfo["vertex"][2][0]=$a[i++];markerInfo["vertex"][2][1]=$a[i++];markerInfo["vertex"][3][0]=$a[i++];markerInfo["vertex"][3][1]=$a[i++];markerInfo["errorCorrected"]=$a[i++]},function($0,$1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12,$13){var $a=arguments;var i=0;if(!artoolkit["NFTMarkerInfo"]){artoolkit["NFTMarkerInfo"]={id:0,error:-1,found:0,pose:[0,0,0,0,0,0,0,0,0,0,0,0]}}var markerInfo=artoolkit["NFTMarkerInfo"];markerInfo["id"]=$a[i++];markerInfo["error"]=$a[i++];markerInfo["found"]=1;markerInfo["pose"][0]=$a[i++];markerInfo["pose"][1]=$a[i++];markerInfo["pose"][2]=$a[i++];markerInfo["pose"][3]=$a[i++];markerInfo["pose"][4]=$a[i++];markerInfo["pose"][5]=$a[i++];markerInfo["pose"][6]=$a[i++];markerInfo["pose"][7]=$a[i++];markerInfo["pose"][8]=$a[i++];markerInfo["pose"][9]=$a[i++];markerInfo["pose"][10]=$a[i++];markerInfo["pose"][11]=$a[i++]},function($0){var $a=arguments;var i=0;if(!artoolkit["NFTMarkerInfo"]){artoolkit["NFTMarkerInfo"]={id:0,error:-1,found:0,pose:[0,0,0,0,0,0,0,0,0,0,0,0]}}var markerInfo=artoolkit["NFTMarkerInfo"];markerInfo["id"]=$a[i++];markerInfo["error"]=-1;markerInfo["found"]=0;markerInfo["pose"][0]=0;markerInfo["pose"][1]=0;markerInfo["pose"][2]=0;markerInfo["pose"][3]=0;markerInfo["pose"][4]=0;markerInfo["pose"][5]=0;markerInfo["pose"][6]=0;markerInfo["pose"][7]=0;markerInfo["pose"][8]=0;markerInfo["pose"][9]=0;markerInfo["pose"][10]=0;markerInfo["pose"][11]=0}];function _emscripten_asm_const_iiiiiii(code,a0,a1,a2,a3,a4,a5){return ASM_CONSTS[code](a0,a1,a2,a3,a4,a5)}function _emscripten_asm_const_iiiid(code,a0,a1,a2,a3){return ASM_CONSTS[code](a0,a1,a2,a3)}function _emscripten_asm_const_iiddddddddddddd(code,a0,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13){return ASM_CONSTS[code](a0,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13)}function _emscripten_asm_const_ii(code,a0){return ASM_CONSTS[code](a0)}function _emscripten_asm_const_iiiiiiiidddddddddddddddddddddddddi(code,a0,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21,a22,a23,a24,a25,a26,a27,a28,a29,a30,a31,a32){return ASM_CONSTS[code](a0,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21,a22,a23,a24,a25,a26,a27,a28,a29,a30,a31,a32)}__ATINIT__.push({func:function(){__GLOBAL__I_000101()}},{func:function(){__GLOBAL__sub_I_ARToolKitJS_cpp()}},{func:function(){___emscripten_environ_constructor()}},{func:function(){__GLOBAL__sub_I_bind_cpp()}},{func:function(){__GLOBAL__sub_I_iostream_cpp()}});memoryInitializer="data:application/octet-stream;base64,AAAAAAAAAACKTQAAkU0AAJ1NAACnTQAAtU0AAAAAAAAAAAAAAAAAAP//////////AAAAAAEAAAABAAAAAQAAAAAAAAD/////AAAAAAEAAAABAAAAAQAAAAAAAAD///////////////8AAAABAAEBAQACBP//BQMBAAL/Bgf/AwECAgMCAwIDAwD/BAYHBf8BBAUEBAUFBAUHBgYGBwcHBv8CBAYHBQP/AAEBAQEBAQABAQEAAAEBAQEBAAEBAAEBAQABAQEBAAEBAAEBAQEAAQEBAAEBAAEBAQEBAAABAQEAAQEBAQEBAAD//wP/BQb//wkK/wz//w//ERL/FP//Fxj//xv/HR7//wEC/wT//wcI//8L/w0O/xD//xP/FRb//xka/xz//x8BAAAAAgAAAAQAAAAIAAAAEAAAAAUAAAAKAAAAFAAAAA0AAAAaAAAAEQAAAAcAAAAOAAAAHAAAAB0AAAAfAAAAGwAAABMAAAADAAAABgAAAAwAAAAYAAAAFQAAAA8AAAAeAAAAGQAAABcAAAALAAAAFgAAAAkAAAASAAAAAAAAAAEAAAACAAAABAAAAAgAAAADAAAABgAAAAwAAAALAAAABQAAAAoAAAAHAAAADgAAAA8AAAANAAAACQAAAAAAAAD/////AAAAAAEAAAASAAAAAgAAAAUAAAATAAAACwAAAAMAAAAdAAAABgAAABsAAAAUAAAACAAAAAwAAAAXAAAABAAAAAoAAAAeAAAAEQAAAAcAAAAWAAAAHAAAABoAAAAVAAAAGQAAAAkAAAAQAAAADQAAAA4AAAAYAAAADwAAAP////8AAAAAAQAAAAQAAAACAAAACAAAAAUAAAAKAAAAAwAAAA4AAAAJAAAABwAAAAYAAAANAAAACwAAAAwAAAABAAAAAgAAAAQAAAAIAAAAEAAAACAAAABAAAAAAwAAAAYAAAAMAAAAGAAAADAAAABgAAAAQwAAAAUAAAAKAAAAFAAAACgAAABQAAAAIwAAAEYAAAAPAAAAHgAAADwAAAB4AAAAcwAAAGUAAABJAAAAEQAAACIAAABEAAAACwAAABYAAAAsAAAAWAAAADMAAABmAAAATwAAAB0AAAA6AAAAdAAAAGsAAABVAAAAKQAAAFIAAAAnAAAATgAAAB8AAAA+AAAAfAAAAHsAAAB1AAAAaQAAAFEAAAAhAAAAQgAAAAcAAAAOAAAAHAAAADgAAABwAAAAYwAAAEUAAAAJAAAAEgAAACQAAABIAAAAEwAAACYAAABMAAAAGwAAADYAAABsAAAAWwAAADUAAABqAAAAVwAAAC0AAABaAAAANwAAAG4AAABfAAAAPQAAAHoAAAB3AAAAbQAAAFkAAAAxAAAAYgAAAEcAAAANAAAAGgAAADQAAABoAAAAUwAAACUAAABKAAAAFwAAAC4AAABcAAAAOwAAAHYAAABvAAAAXQAAADkAAAByAAAAZwAAAE0AAAAZAAAAMgAAAGQAAABLAAAAFQAAACoAAABUAAAAKwAAAFYAAAAvAAAAXgAAAD8AAAB+AAAAfwAAAH0AAAB5AAAAcQAAAGEAAABBAAAAAAAAAP////8AAAAAAQAAAAcAAAACAAAADgAAAAgAAAA4AAAAAwAAAD8AAAAPAAAAHwAAAAkAAABaAAAAOQAAABUAAAAEAAAAHAAAAEAAAABDAAAAEAAAAHAAAAAgAAAAYQAAAAoAAABsAAAAWwAAAEYAAAA6AAAAJgAAABYAAAAvAAAABQAAADYAAAAdAAAAEwAAAEEAAABfAAAARAAAAC0AAAARAAAAKwAAAHEAAABzAAAAIQAAAE0AAABiAAAAdQAAAAsAAABXAAAAbQAAACMAAABcAAAASgAAAEcAAABPAAAAOwAAAGgAAAAnAAAAZAAAABcAAABSAAAAMAAAAHcAAAAGAAAAfgAAADcAAAANAAAAHgAAAD4AAAAUAAAAWQAAAEIAAAAbAAAAYAAAAG8AAABFAAAAawAAAC4AAAAlAAAAEgAAADUAAAAsAAAAXgAAAHIAAAAqAAAAdAAAAEwAAAAiAAAAVgAAAE4AAABJAAAAYwAAAGcAAAB2AAAAUQAAAAwAAAB9AAAAWAAAAD0AAABuAAAAGgAAACQAAABqAAAAXQAAADQAAABLAAAAKQAAAEgAAABVAAAAUAAAAGYAAAA8AAAAfAAAAGkAAAAZAAAAKAAAADMAAABlAAAAVAAAABgAAAB7AAAAUwAAADIAAAAxAAAAegAAAHgAAAB5AAAABAAAAIgAAAAFAAAAkAAAAAYAAACYAAAACQAAALAAAAA3VAAAPVQAAEJUAABKVAAAAAAAALK+uT4S3KC+kL45PhLcoL6Qvjm+AAAAgLK+ub4S3KA+kL45vhLcoD6Qvjk+0nIYvwAAAADScpi+OgYEv9JymD46BgS/0nIYPwAAAIDScpg+OgYEP9JymL46BgQ/AAAAgFa4Pb9mTSQ/Vri9vmZNJD9WuL0+AAAAAFa4PT9mTSS/Vri9PmZNJL9WuL2+DOlYPwAAAIAM6dg+mdk7Pwzp2L6Z2Ts/DOlYvwAAAAAM6di+mdk7vwzp2D6Z2Tu/AAAAAPxTbj/xZU6/DVTuPvFlTr8NVO6+AAAAgPxTbr/xZU4/DVTuvvFlTj8NVO4+AACAvwAAAAAAAAC/0LNdvwAAAD/Qs12/AACAPwAAAIAAAAA/0LNdPwAAAL/Qs10/ADcAAAA3AAAANwAAADcAANWjAADrowAAC6QAADCkAABKpAAAaaQAAH6kAACbpAAAxaQAAAWlAAAkpQAAO6UAAFGlAABlpQAAoqUAANKlAADupQAAEaYAAEimAAB/pgAAlqYAALamAADgpgAALacAAEinAABzpwAAj6cAALSnAADapwAA/6cAABKoAAAnqAAAOqgAAE2oAAByqAAAh6gAAJuoAAC8qAAA0qgAAAGpAAApqQAASqkAAGupAACaqQAAq6kAAMepAAAFqgAALKoAAFOqAABnqgAAlaoAAL2qAADZqgAA/qoAACCrAABKqwAAdasAAJOrAADBqwAA6asAABCsAAA7rAAAaKwAAJisAADCrAAA76wAABKtAAAwrQAATq0AAIStAACurQAAza0AAPCtAAAXrgAALK4AAECuAAB1rgAAha4AAMOuAAAFrwAAL68AAFuvAACCrwAAnq8AAMmvAADkrwAA+K8AAA+wAAAcsAAARLAAAHmwAAC1sAAA47AAAASxAAArsQAARLEAAGyxAACPsQAAp7EAAMuxAADwsQAA9rEAAC+yAABpsgAAiLIAAJeyAAC0sgAA0rIAAO+yAAAIswAAIbMAAGOzAACdswAA07MAAAe0AAAbtAAAMrQAAFi0AAB/tAAAwbQAAP20AAAutQAAUrUAAIC1AACbtQAA07UAAP61AAAAAAAAAAAAAAEAAAAIAAAAEAAAAAkAAAACAAAAAwAAAAoAAAARAAAAGAAAACAAAAAZAAAAEgAAAAsAAAAEAAAABQAAAAwAAAATAAAAGgAAACEAAAAoAAAAMAAAACkAAAAiAAAAGwAAABQAAAANAAAABgAAAAcAAAAOAAAAFQAAABwAAAAjAAAAKgAAADEAAAA4AAAAOQAAADIAAAArAAAAJAAAAB0AAAAWAAAADwAAABcAAAAeAAAAJQAAACwAAAAzAAAAOgAAADsAAAA0AAAALQAAACYAAAAfAAAAJwAAAC4AAAA1AAAAPAAAAD0AAAA2AAAALwAAADcAAAA+AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAAAAAAAAQAAAAgAAAAQAAAACQAAAAIAAAADAAAACgAAABEAAAAYAAAAIAAAABkAAAASAAAACwAAAAQAAAAFAAAADAAAABMAAAAaAAAAIQAAACgAAAAwAAAAKQAAACIAAAAbAAAAFAAAAA0AAAAGAAAADgAAABUAAAAcAAAAIwAAACoAAAAxAAAAMgAAACsAAAAkAAAAHQAAABYAAAAeAAAAJQAAACwAAAAzAAAANAAAAC0AAAAmAAAALgAAADUAAAA2AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAAAAAAAAAAAAAAAAAAAAAAABAAAACAAAABAAAAAJAAAAAgAAAAMAAAAKAAAAEQAAABgAAAAgAAAAGQAAABIAAAALAAAABAAAAAUAAAAMAAAAEwAAABoAAAAhAAAAKAAAACkAAAAiAAAAGwAAABQAAAANAAAAFQAAABwAAAAjAAAAKgAAACsAAAAkAAAAHQAAACUAAAAsAAAALQAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAAAAAAAAQAAAAgAAAAQAAAACQAAAAIAAAADAAAACgAAABEAAAAYAAAAIAAAABkAAAASAAAACwAAAAQAAAAMAAAAEwAAABoAAAAhAAAAIgAAABsAAAAUAAAAHAAAACMAAAAkAAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAAAAAAAAAAAAAAAAAAAAAAABAAAACAAAABAAAAAJAAAAAgAAAAMAAAAKAAAAEQAAABgAAAAZAAAAEgAAAAsAAAATAAAAGgAAABsAAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAAAAAAAEAAAAIAAAAEAAAAAkAAAACAAAACgAAABEAAAASAAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAAAAAAAAAAAAAAAAAAAAAAABAAAACAAAAAkAAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAgQEdWg4ChiUQAxQREgQLCBQF2AMXBtoBGQflABwIbwAeCTYAIQoaACMLDQAJDAYACg0DAAwNAQCPD39aJBAlPyYR8iwnEnwgKBO5FyoUghErFe8MLRahCS4XLwcwGFwFMRkGBDMaAwM0G0ACNhyxATgdRAE5HvUAOx+3ADwgigA+IWgAPyJOACAjOwAhCSwApSXhWkAmTEhBJw06QyjxLkQpHyZFKjMfRiuoGUgsGBVJLXcRSi50Dksv+wtNMPgJTjFhCE8yBgcwM80FMjTeBDI1DwQzNmMDNDfUAjU4XAI2OfgBNzqkATg7YAE5PCUBOj32ADs+ywA9P6sAPSCPAMFBEltQQgRNUUMsQVJE2DdTRegvVEY8KVZHeSNXSN8eV0mpGkhKThdISyQUSkycEUpNaw9LTlENTU+2C00wQArQUTJYWFIcTVlTjkNaVN07W1XuNFxWri5dV5opVkcWJdhZcFVfWqlMYFvZRGFcIj5jXSQ4Y160Ml1WFy7fYKhWZWFGT2Zi5UdnY89BaGQ9PGNdXjdpZjFSamcPTGtoOUZnY15B6WonVmxr51BtZ4VLbm2XVW9rT1DubxBacG0iVfBv61lxcR1aAAAAAAAAAAAAAAAAAQAAAAIAAAADAAAAAAAAAAEAAAAFAAAAAgAAAAQAAAAGAAAAAwAAAAcAAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAABgAAAAIAAAAEAAAABwAAAAwAAAADAAAACAAAAAsAAAANAAAACQAAAAoAAAAOAAAADwAAAAAAAAABAAAABQAAAAYAAAAOAAAAAgAAAAQAAAAHAAAADQAAAA8AAAADAAAACAAAAAwAAAAQAAAAFQAAAAkAAAALAAAAEQAAABQAAAAWAAAACgAAABIAAAATAAAAFwAAABgAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAUAAAAGAAAADgAAAA8AAAACAAAABAAAAAcAAAANAAAAEAAAABkAAAADAAAACAAAAAwAAAARAAAAGAAAABoAAAAJAAAACwAAABIAAAAXAAAAGwAAACAAAAAKAAAAEwAAABYAAAAcAAAAHwAAACEAAAAUAAAAFQAAAB0AAAAeAAAAIgAAACMAAAAAAAAAAQAAAAUAAAAGAAAADgAAAA8AAAAbAAAAAgAAAAQAAAAHAAAADQAAABAAAAAaAAAAHAAAAAMAAAAIAAAADAAAABEAAAAZAAAAHQAAACYAAAAJAAAACwAAABIAAAAYAAAAHgAAACUAAAAnAAAACgAAABMAAAAXAAAAHwAAACQAAAAoAAAALQAAABQAAAAWAAAAIAAAACMAAAApAAAALAAAAC4AAAAVAAAAIQAAACIAAAAqAAAAKwAAAC8AAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAABgAAAA4AAAAPAAAAGwAAABwAAAACAAAABAAAAAcAAAANAAAAEAAAABoAAAAdAAAAKgAAAAMAAAAIAAAADAAAABEAAAAZAAAAHgAAACkAAAArAAAACQAAAAsAAAASAAAAGAAAAB8AAAAoAAAALAAAADUAAAAKAAAAEwAAABcAAAAgAAAAJwAAAC0AAAA0AAAANgAAABQAAAAWAAAAIQAAACYAAAAuAAAAMwAAADcAAAA8AAAAFQAAACIAAAAlAAAALwAAADIAAAA4AAAAOwAAAD0AAAAjAAAAJAAAADAAAAAxAAAAOQAAADoAAAA+AAAAPwAAAAAAAAABAAAAAwAAAAcAAAAPAAAAHwAAAD8AAAB/AAAA/wAAAP8BAAD/AwAA/wcAAP8PAAD/HwAA/z8AAP9/AAAAQMVYn1NCSwBASTKjIqgRxVghe/xzYmjFWL9FCzB+GJ9T/HNBbVRin1OzQUEtEhdCS2JoVGJ+WEJLITu6KMMUAEDFWJ9TQksAQEkyoyKoEUkyv0WzQSE7STKCJzcb4A2jIgswQS26KKMiNxu/Eo4JqBF+GBIXwxSoEeANjgnfBAAAAAAAAPA/72FIsVAx9j/Kb02Rruf0P6oRbO9i0PI/AAAAAAAA8D87v6fAaSTpP7sgx3t6UeE/Xaty3lWo0T8AwDDwDMw8/APDM/MPzz//gECwcIxMvHyDQ7Nzj0+/fyDgENAs7BzcI+MT0y/vH9+gYJBQrGycXKNjk1Ovb59fCMg4+ATENPQLyzv7B8c394hIuHiERLR0i0u7e4dHt3co6BjYJOQU1CvrG9sn5xfXqGiYWKRklFSra5tbp2eXVwLCMvIOzj7+AcEx8Q3NPf2CQrJyjk6+foFBsXGNTb19IuIS0i7uHt4h4RHRLe0d3aJiklKubp5eoWGRUa1tnV0Kyjr6BsY29gnJOfkFxTX1ikq6eoZGtnaJSbl5hUW1dSrqGtom5hbWKekZ2SXlFdWqappapmaWVqlpmVmlZZVV3hIElQAAAAD///////////////8AAAAAAAAAAAAAAAACAADAAwAAwAQAAMAFAADABgAAwAcAAMAIAADACQAAwAoAAMALAADADAAAwA0AAMAOAADADwAAwBAAAMARAADAEgAAwBMAAMAUAADAFQAAwBYAAMAXAADAGAAAwBkAAMAaAADAGwAAwBwAAMAdAADAHgAAwB8AAMAAAACzAQAAwwIAAMMDAADDBAAAwwUAAMMGAADDBwAAwwgAAMMJAADDCgAAwwsAAMMMAADDDQAA0w4AAMMPAADDAAAMuwEADMMCAAzDAwAMwwQADNMAAAAA/////////////////////////////////////////////////////////////////wABAgMEBQYHCAn/////////CgsMDQ4PEBESExQVFhcYGRobHB0eHyAhIiP///////8KCwwNDg8QERITFBUWFxgZGhscHR4fICEiI/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////8AAAAAAAAAAAAAAAAAAAARAAoAERERAAAAAAUAAAAAAAAJAAAAAAsAAAAAAAAAABEADwoREREDCgcAARMJCwsAAAkGCwAACwAGEQAAABEREQAAAAAAAAAAAAAAAAAAAAALAAAAAAAAAAARAAoKERERAAoAAAIACQsAAAAJAAsAAAsAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAAAAAAAAAAAAAAADAAAAAAMAAAAAAkMAAAAAAAMAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAA0AAAAEDQAAAAAJDgAAAAAADgAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAPAAAAAA8AAAAACRAAAAAAABAAABAAABIAAAASEhIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEgAAABISEgAAAAAAAAkAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAsAAAAAAAAAAAAAAAoAAAAACgAAAAAJCwAAAAAACwAACwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAAAAAAAAAAAMAAAAAAwAAAAACQwAAAAAAAwAAAwAADAxMjM0NTY3ODlBQkNERUYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgACAAIAAgACAAIAAgACAAIAAyACIAIgAiACIAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAFgBMAEwATABMAEwATABMAEwATABMAEwATABMAEwATACNgI2AjYCNgI2AjYCNgI2AjYCNgEwATABMAEwATABMAEwAjVCNUI1QjVCNUI1QjFCMUIxQjFCMUIxQjFCMUIxQjFCMUIxQjFCMUIxQjFCMUIxQjFCMUEwATABMAEwATABMAI1gjWCNYI1gjWCNYIxgjGCMYIxgjGCMYIxgjGCMYIxgjGCMYIxgjGCMYIxgjGCMYIxgjGBMAEwATABMACAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAgAAAAMAAAAEAAAABQAAAAYAAAAHAAAACAAAAAkAAAAKAAAACwAAAAwAAAANAAAADgAAAA8AAAAQAAAAEQAAABIAAAATAAAAFAAAABUAAAAWAAAAFwAAABgAAAAZAAAAGgAAABsAAAAcAAAAHQAAAB4AAAAfAAAAIAAAACEAAAAiAAAAIwAAACQAAAAlAAAAJgAAACcAAAAoAAAAKQAAACoAAAArAAAALAAAAC0AAAAuAAAALwAAADAAAAAxAAAAMgAAADMAAAA0AAAANQAAADYAAAA3AAAAOAAAADkAAAA6AAAAOwAAADwAAAA9AAAAPgAAAD8AAABAAAAAYQAAAGIAAABjAAAAZAAAAGUAAABmAAAAZwAAAGgAAABpAAAAagAAAGsAAABsAAAAbQAAAG4AAABvAAAAcAAAAHEAAAByAAAAcwAAAHQAAAB1AAAAdgAAAHcAAAB4AAAAeQAAAHoAAABbAAAAXAAAAF0AAABeAAAAXwAAAGAAAABhAAAAYgAAAGMAAABkAAAAZQAAAGYAAABnAAAAaAAAAGkAAABqAAAAawAAAGwAAABtAAAAbgAAAG8AAABwAAAAcQAAAHIAAABzAAAAdAAAAHUAAAB2AAAAdwAAAHgAAAB5AAAAegAAAHsAAAB8AAAAfQAAAH4AAAB/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAgAAAAMAAAAEAAAABQAAAAYAAAAHAAAACAAAAAkAAAAKAAAACwAAAAwAAAANAAAADgAAAA8AAAAQAAAAEQAAABIAAAATAAAAFAAAABUAAAAWAAAAFwAAABgAAAAZAAAAGgAAABsAAAAcAAAAHQAAAB4AAAAfAAAAIAAAACEAAAAiAAAAIwAAACQAAAAlAAAAJgAAACcAAAAoAAAAKQAAACoAAAArAAAALAAAAC0AAAAuAAAALwAAADAAAAAxAAAAMgAAADMAAAA0AAAANQAAADYAAAA3AAAAOAAAADkAAAA6AAAAOwAAADwAAAA9AAAAPgAAAD8AAABAAAAAQQAAAEIAAABDAAAARAAAAEUAAABGAAAARwAAAEgAAABJAAAASgAAAEsAAABMAAAATQAAAE4AAABPAAAAUAAAAFEAAABSAAAAUwAAAFQAAABVAAAAVgAAAFcAAABYAAAAWQAAAFoAAABbAAAAXAAAAF0AAABeAAAAXwAAAGAAAABBAAAAQgAAAEMAAABEAAAARQAAAEYAAABHAAAASAAAAEkAAABKAAAASwAAAEwAAABNAAAATgAAAE8AAABQAAAAUQAAAFIAAABTAAAAVAAAAFUAAABWAAAAVwAAAFgAAABZAAAAWgAAAHsAAAB8AAAAfQAAAH4AAAB/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAZEkQ7Aj8sRxQ9MzAKGwZGS0U3D0kOjhcDQB08aSs2H0otHAEgJSkhCAwVFiIuEDg+CzQxGGR0dXYvQQl/OREjQzJCiYqLBQQmKCcNKh41jAcaSJMTlJUAAAAAAAAAAABJbGxlZ2FsIGJ5dGUgc2VxdWVuY2UARG9tYWluIGVycm9yAFJlc3VsdCBub3QgcmVwcmVzZW50YWJsZQBOb3QgYSB0dHkAUGVybWlzc2lvbiBkZW5pZWQAT3BlcmF0aW9uIG5vdCBwZXJtaXR0ZWQATm8gc3VjaCBmaWxlIG9yIGRpcmVjdG9yeQBObyBzdWNoIHByb2Nlc3MARmlsZSBleGlzdHMAVmFsdWUgdG9vIGxhcmdlIGZvciBkYXRhIHR5cGUATm8gc3BhY2UgbGVmdCBvbiBkZXZpY2UAT3V0IG9mIG1lbW9yeQBSZXNvdXJjZSBidXN5AEludGVycnVwdGVkIHN5c3RlbSBjYWxsAFJlc291cmNlIHRlbXBvcmFyaWx5IHVuYXZhaWxhYmxlAEludmFsaWQgc2VlawBDcm9zcy1kZXZpY2UgbGluawBSZWFkLW9ubHkgZmlsZSBzeXN0ZW0ARGlyZWN0b3J5IG5vdCBlbXB0eQBDb25uZWN0aW9uIHJlc2V0IGJ5IHBlZXIAT3BlcmF0aW9uIHRpbWVkIG91dABDb25uZWN0aW9uIHJlZnVzZWQASG9zdCBpcyBkb3duAEhvc3QgaXMgdW5yZWFjaGFibGUAQWRkcmVzcyBpbiB1c2UAQnJva2VuIHBpcGUASS9PIGVycm9yAE5vIHN1Y2ggZGV2aWNlIG9yIGFkZHJlc3MAQmxvY2sgZGV2aWNlIHJlcXVpcmVkAE5vIHN1Y2ggZGV2aWNlAE5vdCBhIGRpcmVjdG9yeQBJcyBhIGRpcmVjdG9yeQBUZXh0IGZpbGUgYnVzeQBFeGVjIGZvcm1hdCBlcnJvcgBJbnZhbGlkIGFyZ3VtZW50AEFyZ3VtZW50IGxpc3QgdG9vIGxvbmcAU3ltYm9saWMgbGluayBsb29wAEZpbGVuYW1lIHRvbyBsb25nAFRvbyBtYW55IG9wZW4gZmlsZXMgaW4gc3lzdGVtAE5vIGZpbGUgZGVzY3JpcHRvcnMgYXZhaWxhYmxlAEJhZCBmaWxlIGRlc2NyaXB0b3IATm8gY2hpbGQgcHJvY2VzcwBCYWQgYWRkcmVzcwBGaWxlIHRvbyBsYXJnZQBUb28gbWFueSBsaW5rcwBObyBsb2NrcyBhdmFpbGFibGUAUmVzb3VyY2UgZGVhZGxvY2sgd291bGQgb2NjdXIAU3RhdGUgbm90IHJlY292ZXJhYmxlAFByZXZpb3VzIG93bmVyIGRpZWQAT3BlcmF0aW9uIGNhbmNlbGVkAEZ1bmN0aW9uIG5vdCBpbXBsZW1lbnRlZABObyBtZXNzYWdlIG9mIGRlc2lyZWQgdHlwZQBJZGVudGlmaWVyIHJlbW92ZWQARGV2aWNlIG5vdCBhIHN0cmVhbQBObyBkYXRhIGF2YWlsYWJsZQBEZXZpY2UgdGltZW91dABPdXQgb2Ygc3RyZWFtcyByZXNvdXJjZXMATGluayBoYXMgYmVlbiBzZXZlcmVkAFByb3RvY29sIGVycm9yAEJhZCBtZXNzYWdlAEZpbGUgZGVzY3JpcHRvciBpbiBiYWQgc3RhdGUATm90IGEgc29ja2V0AERlc3RpbmF0aW9uIGFkZHJlc3MgcmVxdWlyZWQATWVzc2FnZSB0b28gbGFyZ2UAUHJvdG9jb2wgd3JvbmcgdHlwZSBmb3Igc29ja2V0AFByb3RvY29sIG5vdCBhdmFpbGFibGUAUHJvdG9jb2wgbm90IHN1cHBvcnRlZABTb2NrZXQgdHlwZSBub3Qgc3VwcG9ydGVkAE5vdCBzdXBwb3J0ZWQAUHJvdG9jb2wgZmFtaWx5IG5vdCBzdXBwb3J0ZWQAQWRkcmVzcyBmYW1pbHkgbm90IHN1cHBvcnRlZCBieSBwcm90b2NvbABBZGRyZXNzIG5vdCBhdmFpbGFibGUATmV0d29yayBpcyBkb3duAE5ldHdvcmsgdW5yZWFjaGFibGUAQ29ubmVjdGlvbiByZXNldCBieSBuZXR3b3JrAENvbm5lY3Rpb24gYWJvcnRlZABObyBidWZmZXIgc3BhY2UgYXZhaWxhYmxlAFNvY2tldCBpcyBjb25uZWN0ZWQAU29ja2V0IG5vdCBjb25uZWN0ZWQAQ2Fubm90IHNlbmQgYWZ0ZXIgc29ja2V0IHNodXRkb3duAE9wZXJhdGlvbiBhbHJlYWR5IGluIHByb2dyZXNzAE9wZXJhdGlvbiBpbiBwcm9ncmVzcwBTdGFsZSBmaWxlIGhhbmRsZQBSZW1vdGUgSS9PIGVycm9yAFF1b3RhIGV4Y2VlZGVkAE5vIG1lZGl1bSBmb3VuZABXcm9uZyBtZWRpdW0gdHlwZQBObyBlcnJvciBpbmZvcm1hdGlvbgAAAAAAAAoAAABkAAAA6AMAABAnAACghgEAQEIPAICWmAAA4fUFTENfQ1RZUEUAAAAATENfTlVNRVJJQwAATENfVElNRQAAAAAATENfQ09MTEFURQAATENfTU9ORVRBUlkATENfTUVTU0FHRVMAAAAAAAAAAAAAAAAAAgAAAAMAAAAFAAAABwAAAAsAAAANAAAAEQAAABMAAAAXAAAAHQAAAB8AAAAlAAAAKQAAACsAAAAvAAAANQAAADsAAAA9AAAAQwAAAEcAAABJAAAATwAAAFMAAABZAAAAYQAAAGUAAABnAAAAawAAAG0AAABxAAAAfwAAAIMAAACJAAAAiwAAAJUAAACXAAAAnQAAAKMAAACnAAAArQAAALMAAAC1AAAAvwAAAMEAAADFAAAAxwAAANMAAAABAAAACwAAAA0AAAARAAAAEwAAABcAAAAdAAAAHwAAACUAAAApAAAAKwAAAC8AAAA1AAAAOwAAAD0AAABDAAAARwAAAEkAAABPAAAAUwAAAFkAAABhAAAAZQAAAGcAAABrAAAAbQAAAHEAAAB5AAAAfwAAAIMAAACJAAAAiwAAAI8AAACVAAAAlwAAAJ0AAACjAAAApwAAAKkAAACtAAAAswAAALUAAAC7AAAAvwAAAMEAAADFAAAAxwAAANEAAAAwMTIzNDU2Nzg5YWJjZGVmQUJDREVGeFgrLXBQaUluTgAAAAAAAAAAAAAAAAAAAAAlAAAAbQAAAC8AAAAlAAAAZAAAAC8AAAAlAAAAeQAAACUAAABZAAAALQAAACUAAABtAAAALQAAACUAAABkAAAAJQAAAEkAAAA6AAAAJQAAAE0AAAA6AAAAJQAAAFMAAAAgAAAAJQAAAHAAAAAAAAAAJQAAAEgAAAA6AAAAJQAAAE0AAAAAAAAAAAAAAAAAAAAlAAAASAAAADoAAAAlAAAATQAAADoAAAAlAAAAUwAAACUAAABIAAAAOgAAACUAAABNAAAAOgAAACUAAABTAAAApD8AABVdAADMPwAAiWkAAIAzAAAAAAAAzD8AAHRsAAA4NgAAAAAAAMw/AAAjdwAAGD0AAAAAAADMPwAAi4cAABg9AAAAAAAAzD8AAP+HAAAYPQAAAAAAADhAAADlngAAAAAAAAEAAADwMwAAAAAAAKQ/AAAknwAABQAAAAAAAAAAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAEAAABG4QAAAAAAAAAAAAAAAAAAAgAAAAAAAAAAAAAAAAAA//////8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACQAAAAAAAAAAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAACAAAAAAAAAAEAAAAIyQAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP////8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAIAAAAYzQAAAAQAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAACv////8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA//////8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAApD8AAEe3AADMPwAAp7cAAFA2AAAAAAAAzD8AAFS3AABgNgAAAAAAAKQ/AAB1twAAzD8AAIK3AABANgAAAAAAAMw/AADxtwAAODYAAAAAAADMPwAAAbgAAHg2AAAAAAAAzD8AABK4AABQNgAAAAAAAMw/AAA0uAAAmDYAAAAAAADMPwAAWLgAAFA2AAAAAAAAHEAAAIC4AAAcQAAAgrgAABxAAACEuAAAHEAAAIa4AAAcQAAAiLgAABxAAACKuAAAHEAAAIy4AAAcQAAAjrgAABxAAACQuAAAHEAAAA3BAAAcQAAAkrgAABxAAACUuAAAHEAAAJa4AADMPwAAmLgAAEA2AAAAAAAApD8AANu7AACkPwAA+rsAAKQ/AAAZvAAApD8AADi8AACkPwAAV7wAAKQ/AAB2vAAApD8AAJW8AACkPwAAtLwAAKQ/AADTvAAApD8AAPK8AACkPwAAEb0AAKQ/AAAwvQAApD8AAE+9AAA4QAAAYr0AAAAAAAABAAAA8DMAAAAAAAA4QAAAob0AAAAAAAABAAAA8DMAAAAAAADMPwAA8r0AAOg3AAAAAAAApD8AAOC9AADMPwAAHL4AAOg3AAAAAAAApD8AAEa+AACkPwAAd74AADhAAACovgAAAAAAAAEAAADYNwAAA/T//zhAAADXvgAAAAAAAAEAAADwNwAAA/T//zhAAAAGvwAAAAAAAAEAAADYNwAAA/T//zhAAAA1vwAAAAAAAAEAAADwNwAAA/T//8w/AABkvwAACDgAAAAAAADMPwAAfb8AAAA4AAAAAAAAzD8AALy/AAAIOAAAAAAAAMw/AADUvwAAADgAAAAAAADMPwAA7L8AAMA4AAAAAAAAzD8AAADAAAAQPQAAAAAAAMw/AAAWwAAAwDgAAAAAAAA4QAAAL8AAAAAAAAACAAAAwDgAAAIAAAAAOQAAAAAAADhAAABzwAAAAAAAAAEAAAAYOQAAAAAAAKQ/AACJwAAAOEAAAKLAAAAAAAAAAgAAAMA4AAACAAAAQDkAAAAAAAA4QAAA5sAAAAAAAAABAAAAGDkAAAAAAAA4QAAAD8EAAAAAAAACAAAAwDgAAAIAAAB4OQAAAAAAADhAAABTwQAAAAAAAAEAAACQOQAAAAAAAKQ/AABpwQAAOEAAAILBAAAAAAAAAgAAAMA4AAACAAAAuDkAAAAAAAA4QAAAxsEAAAAAAAABAAAAkDkAAAAAAAA4QAAAHMMAAAAAAAADAAAAwDgAAAIAAAD4OQAAAgAAAAA6AAAACAAApD8AAIPDAACkPwAAYcMAADhAAACWwwAAAAAAAAMAAADAOAAAAgAAAPg5AAACAAAAMDoAAAAIAACkPwAA28MAADhAAAD9wwAAAAAAAAIAAADAOAAAAgAAAFg6AAAACAAApD8AAELEAAA4QAAAV8QAAAAAAAACAAAAwDgAAAIAAABYOgAAAAgAADhAAACcxAAAAAAAAAIAAADAOAAAAgAAAKA6AAACAAAApD8AALjEAAA4QAAAzcQAAAAAAAACAAAAwDgAAAIAAACgOgAAAgAAADhAAADpxAAAAAAAAAIAAADAOAAAAgAAAKA6AAACAAAAOEAAAAXFAAAAAAAAAgAAAMA4AAACAAAAoDoAAAIAAAA4QAAAMMUAAAAAAAACAAAAwDgAAAIAAAAoOwAAAAAAAKQ/AAB2xQAAOEAAAJrFAAAAAAAAAgAAAMA4AAACAAAAUDsAAAAAAACkPwAA4MUAADhAAAD/xQAAAAAAAAIAAADAOAAAAgAAAHg7AAAAAAAApD8AAEXGAAA4QAAAXsYAAAAAAAACAAAAwDgAAAIAAACgOwAAAAAAAKQ/AACkxgAAOEAAAL3GAAAAAAAAAgAAAMA4AAACAAAAyDsAAAIAAACkPwAA0sYAADhAAABpxwAAAAAAAAIAAADAOAAAAgAAAMg7AAACAAAAzD8AAOrGAAAAPAAAAAAAADhAAAANxwAAAAAAAAIAAADAOAAAAgAAACA8AAACAAAApD8AADDHAADMPwAAR8cAAAA8AAAAAAAAOEAAAH7HAAAAAAAAAgAAAMA4AAACAAAAIDwAAAIAAAA4QAAAoMcAAAAAAAACAAAAwDgAAAIAAAAgPAAAAgAAADhAAADCxwAAAAAAAAIAAADAOAAAAgAAACA8AAACAAAAzD8AAOXHAADAOAAAAAAAADhAAAD7xwAAAAAAAAIAAADAOAAAAgAAAMg8AAACAAAApD8AAA3IAAA4QAAAIsgAAAAAAAACAAAAwDgAAAIAAADIPAAAAgAAAMw/AAA/yAAAwDgAAAAAAADMPwAAVMgAAMA4AAAAAAAApD8AAGnIAAA4QAAAgsgAAAAAAAABAAAAED0AAAAAAAABAAAAAAAAAIgzAAABAAAAAgAAAAAAAACAMwAAAwAAAAQAAAAAAAAAmDMAAAUAAAAGAAAAAQAAALlSjD6OWuc+uVKMPgAAAACoMwAABwAAAAgAAAAJAAAAAQAAAAoAAAAAAAAAuDMAAAcAAAALAAAADAAAAAIAAAANAAAAAAAAAMgzAAAHAAAADgAAAA8AAAADAAAAEAAAAP/////+/////f///8g2AAAANwAAIDcAAMg2AAAANwAAADcAACg3AAAANwAAyDYAAAA3AAAoNwAAADcAAMg2AAAANwAAADcAANgzAAAANwAAADcAAAA3AAAANwAAADcAANgzAAAANwAAADcAAAEAAAAAAAAAAgAAAEAGAACAPgAAAAAAAIgTAABAFgAAFAAAAEMuVVRGLTgAAAAAAAAAAAAAAAAAUD4AAAAAAAAAAAAAAAAAAAAAAAAAAAAA+DMAAIg0AAAYNQAAGDUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFNkAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgGwAAIB8AACAlAABfcIkA/wkvDwAAAABANgAAEQAAABIAAAATAAAAFAAAAAQAAAABAAAAAQAAAAEAAAAAAAAAaDYAABEAAAAVAAAAEwAAABQAAAAEAAAAAgAAAAIAAAACAAAAAAAAAHg2AAAWAAAAFwAAAAQAAAAAAAAAiDYAABYAAAAYAAAABAAAAAAAAAC4NgAAEQAAABkAAAATAAAAFAAAAAUAAAAAAAAAMDcAABEAAAAaAAAAEwAAABQAAAAEAAAAAwAAAAMAAAADAAAAAAAAAOg3AAAbAAAAHAAAAAAAAAAAOAAAHQAAAB4AAAABAAAABgAAAAQAAAAEAAAABQAAAAYAAAAHAAAABwAAAAgAAAAEAAAACAAAAAUAAAAAAAAACDgAAB8AAAAgAAAAAgAAAAkAAAAFAAAABQAAAAkAAAAKAAAACgAAAAsAAAAMAAAABgAAAAsAAAAHAAAACAAAAAAAAAAQOAAAIQAAACIAAAD4////+P///xA4AAAjAAAAJAAAAPRAAAAIQQAACAAAAAAAAAAoOAAAJQAAACYAAAD4////+P///yg4AAAnAAAAKAAAACRBAAA4QQAABAAAAAAAAABAOAAAKQAAACoAAAD8/////P///0A4AAArAAAALAAAAFRBAABoQQAABAAAAAAAAABYOAAALQAAAC4AAAD8/////P///1g4AAAvAAAAMAAAAIRBAACYQQAAAAAAAHA4AAAfAAAAMQAAAAMAAAAJAAAABQAAAAUAAAANAAAACgAAAAoAAAALAAAADAAAAAYAAAAMAAAACAAAAAAAAACAOAAAHQAAADIAAAAEAAAABgAAAAQAAAAEAAAADgAAAAYAAAAHAAAABwAAAAgAAAAEAAAADQAAAAkAAAAAAAAAkDgAAB8AAAAzAAAABQAAAAkAAAAFAAAABQAAAAkAAAAKAAAACgAAAA8AAAAQAAAACgAAAAsAAAAHAAAAAAAAAKA4AAAdAAAANAAAAAYAAAAGAAAABAAAAAQAAAAFAAAABgAAAAcAAAARAAAAEgAAAAsAAAAIAAAABQAAAAAAAACwOAAANQAAADYAAAA3AAAAAQAAAAYAAAAOAAAAAAAAANA4AAA4AAAAOQAAADcAAAACAAAABwAAAA8AAAAAAAAA4DgAADoAAAA7AAAANwAAAAEAAAACAAAAAwAAAAQAAAAFAAAABgAAAAcAAAAIAAAACQAAAAoAAAALAAAAAAAAACA5AAA8AAAAPQAAADcAAAAMAAAADQAAAA4AAAAPAAAAEAAAABEAAAASAAAAEwAAABQAAAAVAAAAFgAAAAAAAABYOQAAPgAAAD8AAAA3AAAAAwAAAAQAAAAXAAAABQAAABgAAAABAAAAAgAAAAYAAAAAAAAAmDkAAEAAAABBAAAANwAAAAcAAAAIAAAAGQAAAAkAAAAaAAAAAwAAAAQAAAAKAAAAAAAAANA5AABCAAAAQwAAADcAAAATAAAAGwAAABwAAAAdAAAAHgAAAB8AAAABAAAA+P///9A5AAAUAAAAFQAAABYAAAAXAAAAGAAAABkAAAAaAAAAAAAAAAg6AABEAAAARQAAADcAAAAbAAAAIAAAACEAAAAiAAAAIwAAACQAAAACAAAA+P///wg6AAAcAAAAHQAAAB4AAAAfAAAAIAAAACEAAAAiAAAAJQAAAEgAAAA6AAAAJQAAAE0AAAA6AAAAJQAAAFMAAAAAAAAAJQAAAG0AAAAvAAAAJQAAAGQAAAAvAAAAJQAAAHkAAAAAAAAAJQAAAEkAAAA6AAAAJQAAAE0AAAA6AAAAJQAAAFMAAAAgAAAAJQAAAHAAAAAAAAAAJQAAAGEAAAAgAAAAJQAAAGIAAAAgAAAAJQAAAGQAAAAgAAAAJQAAAEgAAAA6AAAAJQAAAE0AAAA6AAAAJQAAAFMAAAAgAAAAJQAAAFkAAAAAAAAAQQAAAE0AAAAAAAAAUAAAAE0AAAAAAAAASgAAAGEAAABuAAAAdQAAAGEAAAByAAAAeQAAAAAAAABGAAAAZQAAAGIAAAByAAAAdQAAAGEAAAByAAAAeQAAAAAAAABNAAAAYQAAAHIAAABjAAAAaAAAAAAAAABBAAAAcAAAAHIAAABpAAAAbAAAAAAAAABNAAAAYQAAAHkAAAAAAAAASgAAAHUAAABuAAAAZQAAAAAAAABKAAAAdQAAAGwAAAB5AAAAAAAAAEEAAAB1AAAAZwAAAHUAAABzAAAAdAAAAAAAAABTAAAAZQAAAHAAAAB0AAAAZQAAAG0AAABiAAAAZQAAAHIAAAAAAAAATwAAAGMAAAB0AAAAbwAAAGIAAABlAAAAcgAAAAAAAABOAAAAbwAAAHYAAABlAAAAbQAAAGIAAABlAAAAcgAAAAAAAABEAAAAZQAAAGMAAABlAAAAbQAAAGIAAABlAAAAcgAAAAAAAABKAAAAYQAAAG4AAAAAAAAARgAAAGUAAABiAAAAAAAAAE0AAABhAAAAcgAAAAAAAABBAAAAcAAAAHIAAAAAAAAASgAAAHUAAABuAAAAAAAAAEoAAAB1AAAAbAAAAAAAAABBAAAAdQAAAGcAAAAAAAAAUwAAAGUAAABwAAAAAAAAAE8AAABjAAAAdAAAAAAAAABOAAAAbwAAAHYAAAAAAAAARAAAAGUAAABjAAAAAAAAAFMAAAB1AAAAbgAAAGQAAABhAAAAeQAAAAAAAABNAAAAbwAAAG4AAABkAAAAYQAAAHkAAAAAAAAAVAAAAHUAAABlAAAAcwAAAGQAAABhAAAAeQAAAAAAAABXAAAAZQAAAGQAAABuAAAAZQAAAHMAAABkAAAAYQAAAHkAAAAAAAAAVAAAAGgAAAB1AAAAcgAAAHMAAABkAAAAYQAAAHkAAAAAAAAARgAAAHIAAABpAAAAZAAAAGEAAAB5AAAAAAAAAFMAAABhAAAAdAAAAHUAAAByAAAAZAAAAGEAAAB5AAAAAAAAAFMAAAB1AAAAbgAAAAAAAABNAAAAbwAAAG4AAAAAAAAAVAAAAHUAAABlAAAAAAAAAFcAAABlAAAAZAAAAAAAAABUAAAAaAAAAHUAAAAAAAAARgAAAHIAAABpAAAAAAAAAFMAAABhAAAAdAAAAAAAAAAAAAAAODoAAEYAAABHAAAANwAAAAEAAAAAAAAAYDoAAEgAAABJAAAANwAAAAIAAAAAAAAAgDoAAEoAAABLAAAANwAAACMAAAAkAAAABwAAAAgAAAAJAAAACgAAACUAAAALAAAADAAAAAAAAACoOgAATAAAAE0AAAA3AAAAJgAAACcAAAANAAAADgAAAA8AAAAQAAAAKAAAABEAAAASAAAAAAAAAMg6AABOAAAATwAAADcAAAApAAAAKgAAABMAAAAUAAAAFQAAABYAAAArAAAAFwAAABgAAAAAAAAA6DoAAFAAAABRAAAANwAAACwAAAAtAAAAGQAAABoAAAAbAAAAHAAAAC4AAAAdAAAAHgAAAAAAAAAIOwAAUgAAAFMAAAA3AAAAAwAAAAQAAAAAAAAAMDsAAFQAAABVAAAANwAAAAUAAAAGAAAAAAAAAFg7AABWAAAAVwAAADcAAAABAAAAJQAAAAAAAACAOwAAWAAAAFkAAAA3AAAAAgAAACYAAAAAAAAAqDsAAFoAAABbAAAANwAAABAAAAAGAAAAHwAAAAAAAADQOwAAXAAAAF0AAAA3AAAAEQAAAAcAAAAgAAAAAAAAACg8AABeAAAAXwAAADcAAAADAAAABAAAAAsAAAAvAAAAMAAAAAwAAAAxAAAAAAAAAPA7AABeAAAAYAAAADcAAAADAAAABAAAAAsAAAAvAAAAMAAAAAwAAAAxAAAAAAAAAFg8AABhAAAAYgAAADcAAAAFAAAABgAAAA0AAAAyAAAAMwAAAA4AAAA0AAAAAAAAAJg8AABjAAAAZAAAADcAAAAAAAAAqDwAAGUAAABmAAAANwAAAAwAAAASAAAADQAAABMAAAAOAAAAAwAAABQAAAAPAAAAAAAAAPA8AABnAAAAaAAAADcAAAA1AAAANgAAACEAAAAiAAAAIwAAAAAAAAAAPQAAaQAAAGoAAAA3AAAANwAAADgAAAAkAAAAJQAAACYAAABmAAAAYQAAAGwAAABzAAAAZQAAAAAAAAB0AAAAcgAAAHUAAABlAAAAAAAAAAAAAADAOAAAXgAAAGsAAAA3AAAAAAAAANA8AABeAAAAbAAAADcAAAAVAAAABAAAAAUAAAAGAAAADwAAABYAAAAQAAAAFwAAABEAAAAHAAAAGAAAABAAAAAAAAAAODwAAF4AAABtAAAANwAAAAcAAAAIAAAAEQAAADkAAAA6AAAAEgAAADsAAAAAAAAAeDwAAF4AAABuAAAANwAAAAkAAAAKAAAAEwAAADwAAAA9AAAAFAAAAD4AAAAAAAAAADwAAF4AAABvAAAANwAAAAMAAAAEAAAACwAAAC8AAAAwAAAADAAAADEAAAAAAAAAADoAABQAAAAVAAAAFgAAABcAAAAYAAAAGQAAABoAAAAAAAAAMDoAABwAAAAdAAAAHgAAAB8AAAAgAAAAIQAAACIAAABFcnJvcjogbGFiZWxpbmcgd29yayBvdmVyZmxvdy4KAFVua25vd24gb3IgdW5zdXBwb3J0ZWQgbGFiZWxpbmcgdGhyZXNob2xkIG1vZGUgcmVxdWVzdGVkLiBTZXQgdG8gbWFudWFsLgoATGFiZWxpbmcgdGhyZXNob2xkIG1vZGUgc2V0IHRvICVzLgoATUFOVUFMAEFVVE9fTUVESUFOAEFVVE9fT1RTVQBBVVRPX0FEQVBUSVZFAEFVVE9fQlJBQ0tFVElORwBFcnJvcjogVW5zdXBwb3J0ZWQgcGl4ZWwgZm9ybWF0ICglZCkgcmVxdWVzdGVkLgoAQXV0byB0aHJlc2hvbGQgKGJyYWNrZXQpIG1hcmtlciBjb3VudHMgLVslM2Q6ICUzZF0gWyUzZDogJTNkXSBbJTNkOiAlM2RdKy4KAEF1dG8gdGhyZXNob2xkIChicmFja2V0KSBhZGp1c3RlZCB0aHJlc2hvbGQgdG8gJWQuCgBtZWRpYW4AT3RzdQBBdXRvIHRocmVzaG9sZCAoJXMpIGFkanVzdGVkIHRocmVzaG9sZCB0byAlZC4KAD8/PyAxCgA/Pz8gMgoAPz8/IDMKAEVycm9yOiB1bnN1cHBvcnRlZCBwaXhlbCBmb3JtYXQuCgBFcnJvcjogTlVMTCBwYXR0SGFuZGxlLgoARXJyb3I6IGNhbid0IGxvYWQgcGF0dGVybiBmcm9tIE5VTEwgYnVmZmVyLgoARXJyb3I6IG91dCBvZiBtZW1vcnkuCgAgCQoNAFBhdHRlcm4gRGF0YSByZWFkIGVycm9yISEKAEVycm9yIHJlYWRpbmcgcGF0dGVybiBmaWxlICclcycuCgBFcnJvciAoJWQpOiB1bmFibGUgdG8gb3BlbiBjYW1lcmEgcGFyYW1ldGVycyBmaWxlICIlcyIgZm9yIHJlYWRpbmcuCgBFcnJvciAoJWQpOiB1bmFibGUgdG8gZGV0ZXJtaW5lIGZpbGUgbGVuZ3RoLgBFcnJvcjogc3VwcGxpZWQgZmlsZSBkb2VzIG5vdCBhcHBlYXIgdG8gYmUgYW4gQVJUb29sS2l0IGNhbWVyYSBwYXJhbWV0ZXIgZmlsZS4KAEVycm9yICglZCk6IHVuYWJsZSB0byByZWFkIGZyb20gZmlsZS4AYXJnbENhbWVyYUZydXN0dW1SSCgpOiBhclBhcmFtRGVjb21wTWF0KCkgaW5kaWNhdGVkIHBhcmFtZXRlciBlcnJvci4KAEVycm9yOiBpY3BHZXRKX1VfWGMARXJyb3IgMTogaWNwR2V0SW5pdFh3MlhjCgBFcnJvciAyOiBpY3BHZXRJbml0WHcyWGMKAEVycm9yIDM6IGljcEdldEluaXRYdzJYYwoARXJyb3IgNDogaWNwR2V0SW5pdFh3MlhjCgBFcnJvciA1OiBpY3BHZXRJbml0WHcyWGMKAEVycm9yIDY6IGljcEdldEluaXRYdzJYYwoARXJyb3IgNzogaWNwR2V0SW5pdFh3MlhjCgBFcnJvcjogdW5hYmxlIHRvIG9wZW4gbXVsdGltYXJrZXIgY29uZmlnIGZpbGUgJyVzJy4KAEVycm9yIHByb2Nlc3NpbmcgbXVsdGltYXJrZXIgY29uZmlnIGZpbGUgJyVzJzogRmlyc3QgbGluZSBtdXN0IGJlIG51bWJlciBvZiBtYXJrZXIgY29uZmlncyB0byByZWFkLgoAJWxsdSVjAEVycm9yIHByb2Nlc3NpbmcgbXVsdGltYXJrZXIgY29uZmlnIGZpbGUgJyVzJzogcGF0dGVybiAnJXMnIHNwZWNpZmllZCBpbiBtdWx0aW1hcmtlciBjb25maWd1cmF0aW9uIHdoaWxlIGluIGJhcmNvZGUtb25seSBtb2RlLgoARXJyb3IgcHJvY2Vzc2luZyBtdWx0aW1hcmtlciBjb25maWcgZmlsZSAnJXMnOiBVbmFibGUgdG8gZGV0ZXJtaW5lIGRpcmVjdG9yeSBuYW1lLgoARXJyb3IgcHJvY2Vzc2luZyBtdWx0aW1hcmtlciBjb25maWcgZmlsZSAnJXMnOiBVbmFibGUgdG8gbG9hZCBwYXR0ZXJuICclcycuCgAlbGYARXJyb3IgcHJvY2Vzc2luZyBtdWx0aW1hcmtlciBjb25maWcgZmlsZSAnJXMnLCBtYXJrZXIgZGVmaW5pdGlvbiAlM2Q6IEZpcnN0IGxpbmUgbXVzdCBiZSBwYXR0ZXJuIHdpZHRoLgoAJWxmICVsZiAlbGYgJWxmACVmICVmAEVycm9yIHByb2Nlc3NpbmcgbXVsdGltYXJrZXIgY29uZmlnIGZpbGUgJyVzJywgbWFya2VyIGRlZmluaXRpb24gJTNkOiBMaW5lcyAyIC0gNCBtdXN0IGJlIG1hcmtlciB0cmFuc2Zvcm0uCgBbJXNdIABkZWJ1ZwBpbmZvAHdhcm5pbmcAZXJyb3IAJXMlcwAuaXNldABFcnJvcjogdW5hYmxlIHRvIG9wZW4gZmlsZSAnJXMlcycgZm9yIHJlYWRpbmcuCgBFcnJvciByZWFkaW5nIGltYWdlU2V0LgoASW1hZ2VzZXQgY29udGFpbnMgJWQgaW1hZ2VzLgoARmFsbGluZyBiYWNrIHRvIHJlYWRpbmcgJyVzJXMnIGluIEFSVG9vbEtpdCB2NC54IGZvcm1hdC4KAEVycm9yIHJlYWRpbmcgSlBFRyBmaWxlLgoARXJyb3IgcmVhZGluZyBKUEVHIGZpbGUgaGVhZGVyLgoAJWYARmlsZSBvcGVuIGVycm9yLiAlcwoAUmVhZCBlcnJvciEhCgByAEVycm9yIG9wZW5pbmcgZmlsZSAnJXMnOiAAJXMlcwoAJWQACiMjIyBTdXJmYWNlIE5vLiVkICMjIwoAJXMAICBSZWFkIEltYWdlU2V0LgoARXJyb3Igb3BlbmluZyBmaWxlICclcy5pc2V0Jy4KACAgICBlbmQuCgAgIFJlYWQgRmVhdHVyZVNldC4KAEVycm9yIG9wZW5pbmcgZmlsZSAnJXMuZnNldCcuCgAgIFJlYWQgTWFya2VyU2V0LgoAbXJrAEVycm9yIG9wZW5pbmcgZmlsZSAnJXMubXJrJy4KACVmICVmICVmICVmAFRyYW5zZm9ybWF0aW9uIG1hdHJpeCByZWFkIGVycm9yISEKAGpwZwBrcG1EZWxldGVSZWZEYXRhU2V0KCk6IE5VTEwgcmVmRGF0YVNldFB0cjEvcmVmRGF0YVNldFB0cjIuCgBrcG1EZWxldGVSZWZEYXRhU2V0KCk6IE5VTEwgcmVmRGF0YVNldFB0ci4KAHJiAGtwbUxvYWRSZWZEYXRhU2V0KCk6IE5VTEwgZmlsZW5hbWUvcmVmRGF0YVNldFB0ci4KAEVycm9yIGxvYWRpbmcgS1BNIGRhdGE6IHVuYWJsZSB0byBvcGVuIGZpbGUgJyVzJXMlcycgZm9yIHJlYWRpbmcuCgBFcnJvciBsb2FkaW5nIEtQTSBkYXRhOiBlcnJvciByZWFkaW5nIGRhdGEuCgBrcG1DaGFuZ2VQYWdlTm9PZlJlZkRhdGFTZXQoKTogTlVMTCByZWZEYXRhU2V0LgoAa3BtU2V0UmVmRGF0YVNldCgpOiBOVUxMIGtwbUhhbmRsZS9yZWZEYXRhU2V0LgoAa3BtU2V0UmVmRGF0YVNldCgpOiByZWZEYXRhU2V0LgoAcG9pbnRzLSVkCgBrcG1NYXRjaGluZygpOiBOVUxMIGtwbUhhbmRsZS9pbkltYWdlTHVtYS4KAFBhZ2VbJWRdICBwcmU6JTNkLCBhZnQ6JTNkLCBlcnJvciA9ICVmCgAlcy4lcwBBc3NlcnRpb24gYHB5cmFtaWQtPnNpemUoKSA+IDBgIGZhaWxlZCBpbiAAL3NyYy9lbXNjcmlwdGVuL2FydG9vbGtpdDUvbGliL1NSQy9LUE0vRnJlYWtNYXRjaGVyL2RldGVjdG9ycy9Eb0dfc2NhbGVfaW52YXJpYW50X2RldGVjdG9yLmNwcABQeXJhbWlkIGlzIG5vdCBhbGxvY2F0ZWQAT2N0YXZlIG91dCBvZiByYW5nZQBTY2FsZSBvdXQgb2YgcmFuZ2UAQXNzZXJ0aW9uIGBtSW1hZ2VzLnNpemUoKSA+IDBgIGZhaWxlZCBpbiAATGFwbGFjaWFuIHB5cmFtaWQgaGFzIG5vdCBiZWVuIGFsbG9jYXRlZABBc3NlcnRpb24gYHB5cmFtaWQtPm51bU9jdGF2ZXMoKSA+IDBgIGZhaWxlZCBpbiAAUHlyYW1pZCBkb2VzIG5vdCBjb250YWluIGFueSBsZXZlbHMAQXNzZXJ0aW9uIGBkeW5hbWljX2Nhc3Q8Y29uc3QgQmlub21pYWxQeXJhbWlkMzJmKj4ocHlyYW1pZClgIGZhaWxlZCBpbiAAT25seSBiaW5vbWlhbCBweXJhbWlkIGlzIHN1cHBvcnRlZABBc3NlcnRpb24gYGQudHlwZSgpID09IElNQUdFX0YzMmAgZmFpbGVkIGluIABPbmx5IEYzMiBpbWFnZXMgc3VwcG9ydGVkAEFzc2VydGlvbiBgaW0xLnR5cGUoKSA9PSBJTUFHRV9GMzJgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGBpbTIudHlwZSgpID09IElNQUdFX0YzMmAgZmFpbGVkIGluIABBc3NlcnRpb24gYGQuY2hhbm5lbHMoKSA9PSAxYCBmYWlsZWQgaW4gAE9ubHkgc2luZ2xlIGNoYW5uZWwgaW1hZ2VzIHN1cHBvcnRlZABBc3NlcnRpb24gYGltMS5jaGFubmVscygpID09IDFgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGBpbTIuY2hhbm5lbHMoKSA9PSAxYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgZC53aWR0aCgpID09IGltMi53aWR0aCgpYCBmYWlsZWQgaW4gAEltYWdlcyBtdXN0IGhhdmUgdGhlIHNhbWUgd2lkdGgAQXNzZXJ0aW9uIGBkLmhlaWdodCgpID09IGltMi5oZWlnaHQoKWAgZmFpbGVkIGluIABJbWFnZXMgbXVzdCBoYXZlIHRoZSBzYW1lIGhlaWdodABBc3NlcnRpb24gYGltMS53aWR0aCgpID09IGltMi53aWR0aCgpYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgaW0xLmhlaWdodCgpID09IGltMi5oZWlnaHQoKWAgZmFpbGVkIGluIABBc3NlcnRpb24gYHJvdyA8IG1IZWlnaHRgIGZhaWxlZCBpbiAAL3NyYy9lbXNjcmlwdGVuL2FydG9vbGtpdDUvbGliL1NSQy9LUE0vRnJlYWtNYXRjaGVyL2ZyYW1ld29yay9pbWFnZS5oAHJvdyBvdXQgb2YgYm91bmRzAE42dmlzaW9uMjVHYXVzc2lhblNjYWxlU3BhY2VQeXJhbWlkRQBEb0cgUHlyYW1pZABOb24tbWF4IHN1cHByZXNzaW9uAFN1YnBpeGVsAHBydW5lRmVhdHVyZXMARmluZCBPcmllbnRhdGlvbnMAQXNzZXJ0aW9uIGBtQnVja2V0cy5zaXplKCkgPT0gbU51bUJ1Y2tldHNYYCBmYWlsZWQgaW4gAEJ1Y2tldHMgYXJlIG5vdCBhbGxvY2F0ZWQAQXNzZXJ0aW9uIGBtQnVja2V0c1swXS5zaXplKCkgPT0gbU51bUJ1Y2tldHNZYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgbUZlYXR1cmVQb2ludHMuc2l6ZSgpIDw9IG1NYXhOdW1GZWF0dXJlUG9pbnRzYCBmYWlsZWQgaW4gAFRvbyBtYW55IGZlYXR1cmUgcG9pbnRzAEFzc2VydGlvbiBgYnVja2V0WzBdLmZpcnN0ID49IGJ1Y2tldFtuXS5maXJzdGAgZmFpbGVkIGluIABudGhfZWxlbWVudCBmYWlsZWQAQXNzZXJ0aW9uIGBrcC5zY2FsZSA8IG1MYXBsYWNpYW5QeXJhbWlkLm51bVNjYWxlUGVyT2N0YXZlKClgIGZhaWxlZCBpbiAARmVhdHVyZSBwb2ludCBzY2FsZSBpcyBvdXQgb2YgYm91bmRzAEFzc2VydGlvbiBga3Auc2NvcmUgPT0gbGFwMS5nZXQ8ZmxvYXQ+KHkpW3hdYCBmYWlsZWQgaW4gAFNjb3JlIGlzIG5vdCBjb25zaXN0ZW50IHdpdGggdGhlIERvRyBpbWFnZQBBc3NlcnRpb24gYGxhcDAuaGVpZ2h0KCkgPT0gbGFwMS5oZWlnaHQoKSA9PSBsYXAyLmhlaWdodCgpYCBmYWlsZWQgaW4gAC9zcmMvZW1zY3JpcHRlbi9hcnRvb2xraXQ1L2xpYi9TUkMvS1BNL0ZyZWFrTWF0Y2hlci9kZXRlY3RvcnMvRG9HX3NjYWxlX2ludmFyaWFudF9kZXRlY3Rvci5oAFdpZHRoL2hlaWdodCBhcmUgbm90IGNvbnNpc3RlbnQAQXNzZXJ0aW9uIGAobGFwMC5oZWlnaHQoKSA9PSBsYXAxLmhlaWdodCgpKSAmJiAoKGxhcDEuaGVpZ2h0KCk+PjEpID09IGxhcDIuaGVpZ2h0KCkpYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgKChsYXAwLndpZHRoKCk+PjEpID09IGxhcDEud2lkdGgoKSkgJiYgKGxhcDEud2lkdGgoKSA9PSBsYXAyLndpZHRoKCkpYCBmYWlsZWQgaW4gAEltYWdlIHNpemVzIGFyZSBpbmNvbnNpc3RlbnQAQXNzZXJ0aW9uIGAoeC0xKSA+PSAwICYmICh4KzEpIDwgbGFwMS53aWR0aCgpYCBmYWlsZWQgaW4gAHggb3V0IG9mIGJvdW5kcwBBc3NlcnRpb24gYCh5LTEpID49IDAgJiYgKHkrMSkgPCBsYXAxLmhlaWdodCgpYCBmYWlsZWQgaW4gAHkgb3V0IG9mIGJvdW5kcwBBc3NlcnRpb24gYChsYXAwLndpZHRoKCk+PjEpID09IGxhcDEud2lkdGgoKWAgZmFpbGVkIGluIABJbWFnZSBkaW1lbnNpb25zIGluY29uc2lzdGVudABBc3NlcnRpb24gYChsYXAwLndpZHRoKCk+PjEpID09IGxhcDIud2lkdGgoKWAgZmFpbGVkIGluIABBc3NlcnRpb24gYChsYXAwLmhlaWdodCgpPj4xKSA9PSBsYXAxLmhlaWdodCgpYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgKGxhcDAuaGVpZ2h0KCk+PjEpID09IGxhcDIuaGVpZ2h0KClgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGAoaW50KXN0ZDo6Zmxvb3IoeCkgPT0gKGludCl4YCBmYWlsZWQgaW4gAC9zcmMvZW1zY3JpcHRlbi9hcnRvb2xraXQ1L2xpYi9TUkMvS1BNL0ZyZWFrTWF0Y2hlci9kZXRlY3RvcnMvaW50ZXJwb2xhdGUuaABmbG9vcigpIGFuZCBjYXN0IG5vdCB0aGUgc2FtZQBBc3NlcnRpb24gYChpbnQpc3RkOjpmbG9vcih5KSA9PSAoaW50KXlgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGB5cCA+PSAwICYmIHlwIDwgaGVpZ2h0YCBmYWlsZWQgaW4gAHlwIG91dCBvZiBib3VuZHMAQXNzZXJ0aW9uIGB5cF9wbHVzXzEgPj0gMCAmJiB5cF9wbHVzXzEgPCBoZWlnaHRgIGZhaWxlZCBpbiAAeXBfcGx1c18xIG91dCBvZiBib3VuZHMAQXNzZXJ0aW9uIGB4cCA+PSAwICYmIHhwIDwgd2lkdGhgIGZhaWxlZCBpbiAAeHAgb3V0IG9mIGJvdW5kcwBBc3NlcnRpb24gYHhwX3BsdXNfMSA+PSAwICYmIHhwX3BsdXNfMSA8IHdpZHRoYCBmYWlsZWQgaW4gAHhwX3BsdXNfMSBvdXQgb2YgYm91bmRzAEFzc2VydGlvbiBgdzAgPj0gMCAmJiB3MCA8PSAxLjAwMDFgIGZhaWxlZCBpbiAAT3V0IG9mIHJhbmdlAEFzc2VydGlvbiBgdzEgPj0gMCAmJiB3MSA8PSAxLjAwMDFgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGB3MiA+PSAwICYmIHcyIDw9IDEuMDAwMWAgZmFpbGVkIGluIABBc3NlcnRpb24gYHczID49IDAgJiYgdzMgPD0gMS4wMDAxYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgKHcwK3cxK3cyK3czKSA8PSAxLjAwMDFgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGAoeC0xKSA+PSAwICYmICh4KzEpIDwgaW0ud2lkdGgoKWAgZmFpbGVkIGluIABBc3NlcnRpb24gYCh5LTEpID49IDAgJiYgKHkrMSkgPCBpbS5oZWlnaHQoKWAgZmFpbGVkIGluIABBc3NlcnRpb24gYGxhcDAud2lkdGgoKSA9PSBsYXAxLndpZHRoKClgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGBsYXAwLmhlaWdodCgpID09IGxhcDEuaGVpZ2h0KClgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGB4X2Rpdl8yLTAuNWYgPj0gMGAgZmFpbGVkIGluIAB4X2Rpdl8yIG91dCBvZiBib3VuZHMgb3V0IG9mIGJvdW5kcyBmb3IgaW50ZXJwb2xhdGlvbgBBc3NlcnRpb24gYHlfZGl2XzItMC41ZiA+PSAwYCBmYWlsZWQgaW4gAHlfZGl2XzIgb3V0IG9mIGJvdW5kcyBvdXQgb2YgYm91bmRzIGZvciBpbnRlcnBvbGF0aW9uAEFzc2VydGlvbiBgeF9kaXZfMiswLjVmIDwgbGFwMi53aWR0aCgpYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgeV9kaXZfMiswLjVmIDwgbGFwMi5oZWlnaHQoKWAgZmFpbGVkIGluIABBc3NlcnRpb24gYGxhcDAud2lkdGgoKSA9PSBsYXAyLndpZHRoKClgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGBsYXAwLmhlaWdodCgpID09IGxhcDIuaGVpZ2h0KClgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGBpbTAuaGVpZ2h0KCkgPT0gaW0xLmhlaWdodCgpYCBmYWlsZWQgaW4gAEhlaWdodCBpcyBpbmNvbnNpc3RlbnQAQXNzZXJ0aW9uIGBpbTAuaGVpZ2h0KCkgPT0gaW0yLmhlaWdodCgpYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgKGltMS5oZWlnaHQoKT4+MSkgPT0gaW0yLmhlaWdodCgpYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgKGltMC5oZWlnaHQoKT4+MSkgPT0gaW0xLmhlaWdodCgpYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgKGltMC5oZWlnaHQoKT4+MSkgPT0gaW0yLmhlaWdodCgpYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgaW5kZXggPCBtSW1hZ2VzLnNpemUoKWAgZmFpbGVkIGluIABJbmRleCBpcyBvdXQgb2YgcmFuZ2UATjZ2aXNpb24xOEJpbm9taWFsUHlyYW1pZDMyZkUAQXNzZXJ0aW9uIGB3aWR0aCA+PSA1YCBmYWlsZWQgaW4gAC9zcmMvZW1zY3JpcHRlbi9hcnRvb2xraXQ1L2xpYi9TUkMvS1BNL0ZyZWFrTWF0Y2hlci9kZXRlY3RvcnMvZ2F1c3NpYW5fc2NhbGVfc3BhY2VfcHlyYW1pZC5jcHAASW1hZ2UgaXMgdG9vIHNtYWxsAEFzc2VydGlvbiBgaGVpZ2h0ID49IDVgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGBpbWFnZS50eXBlKCkgPT0gSU1BR0VfVUlOVDhgIGZhaWxlZCBpbiAASW1hZ2UgbXVzdCBiZSBncmF5c2NhbGUAQXNzZXJ0aW9uIGBpbWFnZS5jaGFubmVscygpID09IDFgIGZhaWxlZCBpbiAASW1hZ2UgbXVzdCBoYXZlIDEgY2hhbm5lbABBc3NlcnRpb24gYG1QeXJhbWlkLnNpemUoKSA9PSBtTnVtT2N0YXZlcyptTnVtU2NhbGVzUGVyT2N0YXZlYCBmYWlsZWQgaW4gAFB5cmFtaWQgaGFzIG5vdCBiZWVuIGFsbG9jYXRlZCB5ZXQAQXNzZXJ0aW9uIGBpbWFnZS53aWR0aCgpID09IG1QeXJhbWlkWzBdLndpZHRoKClgIGZhaWxlZCBpbiAASW1hZ2Ugb2Ygd3Jvbmcgc2l6ZSBmb3IgcHlyYW1pZABBc3NlcnRpb24gYGltYWdlLmhlaWdodCgpID09IG1QeXJhbWlkWzBdLmhlaWdodCgpYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgZHN0LnR5cGUoKSA9PSBJTUFHRV9GMzJgIGZhaWxlZCBpbiAARGVzdGluYXRpb24gaW1hZ2Ugc2hvdWxkIGJlIGEgZmxvYXQAVW5rbm93biBpbWFnZSB0eXBlAFVuc3VwcG9ydGVkIGltYWdlIHR5cGUATjZ2aXNpb245RXhjZXB0aW9uRQBBc3NlcnRpb24gYGltLndpZHRoKCkgPT0gaW0uc3RlcCgpL3NpemVvZihmbG9hdClgIGZhaWxlZCBpbiAAL3NyYy9lbXNjcmlwdGVuL2FydG9vbGtpdDUvbGliL1NSQy9LUE0vRnJlYWtNYXRjaGVyL2RldGVjdG9ycy9vcmllbnRhdGlvbl9hc3NpZ25tZW50LmNwcABTdGVwIHNpemUgbXVzdCBiZSBlcXVhbCB0byB3aWR0aCBmb3Igbm93AEFzc2VydGlvbiBgeCA+PSAwYCBmYWlsZWQgaW4gAHggbXVzdCBiZSBwb3NpdGl2ZQBBc3NlcnRpb24gYHggPCBtR3JhZGllbnRzW29jdGF2ZSptTnVtU2NhbGVzUGVyT2N0YXZlK3NjYWxlXS53aWR0aCgpYCBmYWlsZWQgaW4gAHggbXVzdCBiZSBsZXNzIHRoYW4gdGhlIGltYWdlIHdpZHRoAEFzc2VydGlvbiBgeSA+PSAwYCBmYWlsZWQgaW4gAHkgbXVzdCBiZSBwb3NpdGl2ZQBBc3NlcnRpb24gYHkgPCBtR3JhZGllbnRzW29jdGF2ZSptTnVtU2NhbGVzUGVyT2N0YXZlK3NjYWxlXS5oZWlnaHQoKWAgZmFpbGVkIGluIAB5IG11c3QgYmUgbGVzcyB0aGFuIHRoZSBpbWFnZSBoZWlnaHQAQXNzZXJ0aW9uIGBnLmNoYW5uZWxzKCkgPT0gMmAgZmFpbGVkIGluIABOdW1iZXIgb2YgY2hhbm5lbHMgc2hvdWxkIGJlIDIAQXNzZXJ0aW9uIGBtYXhfaGVpZ2h0ID4gMGAgZmFpbGVkIGluIABNYXhpbXVtIGJpbiBzaG91bGQgYmUgcG9zaXRpdmUAQXNzZXJ0aW9uIGBoaXN0ICE9IE5VTExgIGZhaWxlZCBpbiAAL3NyYy9lbXNjcmlwdGVuL2FydG9vbGtpdDUvbGliL1NSQy9LUE0vRnJlYWtNYXRjaGVyL2RldGVjdG9ycy9vcmllbnRhdGlvbl9hc3NpZ25tZW50LmgASGlzdG9ncmFtIHBvaW50ZXIgaXMgTlVMTABBc3NlcnRpb24gYChmYmluKzAuNWYpID4gMCAmJiAoZmJpbi0wLjVmKSA8IG51bV9iaW5zYCBmYWlsZWQgaW4gAERlY2ltYWwgYmluIHBvc2l0aW9uIGluZGV4IG91dCBvZiByYW5nZQBBc3NlcnRpb24gYG1hZ25pdHVkZSA+PSAwYCBmYWlsZWQgaW4gAE1hZ25pdHVkZSBjYW5ub3QgYmUgbmVnYXRpdmUAQXNzZXJ0aW9uIGBudW1fYmlucyA+PSAwYCBmYWlsZWQgaW4gAE51bWJlciBiaW5zIG11c3QgYmUgcG9zaXRpdmUAQXNzZXJ0aW9uIGB3MSA+PSAwYCBmYWlsZWQgaW4gAHcxIG11c3QgYmUgcG9zaXRpdmUAQXNzZXJ0aW9uIGB3MiA+PSAwYCBmYWlsZWQgaW4gAHcyIG11c3QgYmUgcG9zaXRpdmUAQXNzZXJ0aW9uIGBiMSA+PSAwICYmIGIxIDwgbnVtX2JpbnNgIGZhaWxlZCBpbiAAYjEgYmluIGluZGV4IG91dCBvZiByYW5nZQBBc3NlcnRpb24gYGIyID49IDAgJiYgYjIgPCBudW1fYmluc2AgZmFpbGVkIGluIABiMiBiaW4gaW5kZXggb3V0IG9mIHJhbmdlAElEIGFscmVhZHkgZXhpc3RzAEJ1aWxkIFB5cmFtaWQARXh0cmFjdCBGZWF0dXJlcwBBc3NlcnRpb24gYGFzc2lnbm1lbnQuc2l6ZSgpID09IG51bV9pbmRpY2VzYCBmYWlsZWQgaW4gAC9zcmMvZW1zY3JpcHRlbi9hcnRvb2xraXQ1L2xpYi9TUkMvS1BNL0ZyZWFrTWF0Y2hlci9tYXRjaGVycy9iaW5hcnlfaGllcmFyY2hpY2FsX2NsdXN0ZXJpbmcuaABBc3NpZ25tZW50IHNpemUgd3JvbmcAQXNzZXJ0aW9uIGBhc3NpZ25tZW50W2ldICE9IC0xYCBmYWlsZWQgaW4gAEFzc2lnbm1lbnQgaXMgaW52YWxpZABBc3NlcnRpb24gYGFzc2lnbm1lbnRbaV0gPCBudW1faW5kaWNlc2AgZmFpbGVkIGluIABBc3NpZ25tZW50IG91dCBvZiByYW5nZQBBc3NlcnRpb24gYGluZGljZXNbYXNzaWdubWVudFtpXV0gPCBudW1fZmVhdHVyZXNgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGBpdC0+c2Vjb25kLnNpemUoKSAhPSAwYCBmYWlsZWQgaW4gAENsdXN0ZXIgbXVzdCBoYXZlIGF0bGVhc2V0IDEgZmVhdHVyZQBBc3NlcnRpb24gYG1LID09IG1DZW50ZXJzLnNpemUoKWAgZmFpbGVkIGluIAAvc3JjL2Vtc2NyaXB0ZW4vYXJ0b29sa2l0NS9saWIvU1JDL0tQTS9GcmVha01hdGNoZXIvbWF0Y2hlcnMva21lZG9pZHMuaABrIHNob3VsZCBtYXRjaCB0aGUgbnVtYmVyIG9mIGNsdXN0ZXIgY2VudGVycwBBc3NlcnRpb24gYG51bV9mZWF0dXJlcyA+IDBgIGZhaWxlZCBpbiAATnVtYmVyIG9mIGZlYXR1cmVzIG11c3QgYmUgcG9zaXRpdmUAQXNzZXJ0aW9uIGBudW1faW5kaWNlcyA8PSBudW1fZmVhdHVyZXNgIGZhaWxlZCBpbiAATW9yZSBpbmRpY2VzIHRoYW4gZmVhdHVyZXMAQXNzZXJ0aW9uIGBudW1faW5kaWNlcyA+PSBtS2AgZmFpbGVkIGluIABOb3QgZW5vdWdoIGZlYXR1cmVzAEFzc2lnbm1lbnQgc2l6ZSBpcyBpbmNvcnJlY3QAQXNzZXJ0aW9uIGBudW1fY2VudGVycyA+IDBgIGZhaWxlZCBpbiAAVGhlcmUgbXVzdCBiZSBhdCBsZWFzdCAxIGNlbnRlcgAvc3JjL2Vtc2NyaXB0ZW4vYXJ0b29sa2l0NS9saWIvU1JDL0tQTS9GcmVha01hdGNoZXIvbWF0Y2hlcnMvdmlzdWFsX2RhdGFiYXNlLmgAQXNzZXJ0aW9uIGBkZXRlY3RvcmAgZmFpbGVkIGluIABEZXRlY3RvciBpcyBOVUxMAEFzc2VydGlvbiBgcHlyYW1pZC0+aW1hZ2VzKCkuc2l6ZSgpID4gMGAgZmFpbGVkIGluIABQeXJhbWlkIGlzIGVtcHR5AEFzc2VydGlvbiBgcHlyYW1pZC0+aW1hZ2VzKClbMF0ud2lkdGgoKSA9PSBkZXRlY3Rvci0+d2lkdGgoKWAgZmFpbGVkIGluIABQeXJhbWlkIGFuZCBkZXRlY3RvciBzaXplIG1pc21hdGNoAEFzc2VydGlvbiBgcHlyYW1pZC0+aW1hZ2VzKClbMF0uaGVpZ2h0KCkgPT0gZGV0ZWN0b3ItPmhlaWdodCgpYCBmYWlsZWQgaW4gAE5TdDNfXzIxNGRlZmF1bHRfZGVsZXRlSU42dmlzaW9uOEtleWZyYW1lSUxpOTZFRUVFRQBOU3QzX18yMjBfX3NoYXJlZF9wdHJfcG9pbnRlcklQTjZ2aXNpb244S2V5ZnJhbWVJTGk5NkVFRU5TXzE0ZGVmYXVsdF9kZWxldGVJUzNfRUVOU185YWxsb2NhdG9ySVMzX0VFRUUAWyVzXSBbJXNdIFslc10gOiBGb3VuZCAlZCBmZWF0dXJlcyBpbiBxdWVyeQBib29sIHZpc2lvbjo6VmlzdWFsRGF0YWJhc2U8dmlzaW9uOjpGUkVBS0V4dHJhY3RvciwgdmlzaW9uOjpCaW5hcnlGZWF0dXJlU3RvcmUsIHZpc2lvbjo6QmluYXJ5RmVhdHVyZU1hdGNoZXI8OTY+ID46OnF1ZXJ5KGNvbnN0IHZpc2lvbjo6R2F1c3NpYW5TY2FsZVNwYWNlUHlyYW1pZCAqKSBbRkVBVFVSRV9FWFRSQUNUT1IgPSB2aXNpb246OkZSRUFLRXh0cmFjdG9yLCBTVE9SRSA9IHZpc2lvbjo6QmluYXJ5RmVhdHVyZVN0b3JlLCBNQVRDSEVSID0gdmlzaW9uOjpCaW5hcnlGZWF0dXJlTWF0Y2hlcjw5Nj5dAEZpbmQgTWF0Y2hlcyAoMSkASG91Z2ggVm90aW5nICgxKQBGaW5kIEhvdWdoIE1hdGNoZXMgKDEpAEVzdGltYXRlIEhvbW9ncmFwaHkgKDEpAEZpbmQgSW5saWVycyAoMSkARmluZCBNYXRjaGVzICgyKQBIb3VnaCBWb3RpbmcgKDIpAEZpbmQgSG91Z2ggTWF0Y2hlcyAoMikARXN0aW1hdGUgSG9tb2dyYXBoeSAoMikARmluZCBJbmxpZXJzICgyKQBBc3NlcnRpb24gYDBgIGZhaWxlZCBpbiAAL3NyYy9lbXNjcmlwdGVuL2FydG9vbGtpdDUvbGliL1NSQy9LUE0vRnJlYWtNYXRjaGVyL21hdGNoZXJzL2ZlYXR1cmVfbWF0Y2hlci1pbmxpbmUuaABGYWlsZWQgdG8gY29tcHV0ZSBtYXRyaXggaW52ZXJzZQBBc3NlcnRpb24gYGJlc3RfaW5kZXggIT0gc3RkOjpudW1lcmljX2xpbWl0czxzaXplX3Q+OjptYXgoKWAgZmFpbGVkIGluIABTb21ldGhpbmcgc3RyYW5nZQBBc3NlcnRpb24gYG1NYXRjaGVzLnNpemUoKSA8PSBmZWF0dXJlczEtPnNpemUoKWAgZmFpbGVkIGluIABOdW1iZXIgb2YgbWF0Y2hlcyBzaG91bGQgYmUgbG93ZXIAQXNzZXJ0aW9uIGBoeXAuc2l6ZSgpID49IDkqbWF4X251bV9oeXBvdGhlc2VzYCBmYWlsZWQgaW4gAC9zcmMvZW1zY3JpcHRlbi9hcnRvb2xraXQ1L2xpYi9TUkMvS1BNL0ZyZWFrTWF0Y2hlci9ob21vZ3JhcGh5X2VzdGltYXRpb24vcm9idXN0X2hvbW9ncmFwaHkuaABoeXAgdmVjdG9yIHNob3VsZCBiZSBvZiBzaXplIDkqbWF4X251bV9oeXBvdGhlc2VzAEFzc2VydGlvbiBgdG1wX2kuc2l6ZSgpID49IG51bV9wb2ludHNgIGZhaWxlZCBpbiAAdG1wX2kgdmVjdG9yIHNob3VsZCBiZSBvZiBzaXplIG51bV9wb2ludHMAQXNzZXJ0aW9uIGBoeXBfY29zdHMuc2l6ZSgpID49IG1heF9udW1faHlwb3RoZXNlc2AgZmFpbGVkIGluIABoeXBfY29zdHMgdmVjdG9yIHNob3VsZCBiZSBvZiBzaXplIG1heF9udW1faHlwb3RoZXNlcwBBc3NlcnRpb24gYG4gPD0gaW5fbWF0Y2hlcy5zaXplKClgIGZhaWxlZCBpbiAAU2hvdWxkIGJlIHRoZSBzYW1lAEFzc2VydGlvbiBgZGlzdEJpbkFuZ2xlID49IDBgIGZhaWxlZCBpbiAAZGlzdEJpbkFuZ2xlIG11c3Qgbm90IGJlIG5lZ2F0aXZlAEFzc2VydGlvbiBgbVJvb3QuZ2V0KClgIGZhaWxlZCBpbiAAUm9vdCBjYW5ub3QgYmUgTlVMTABBc3NlcnRpb24gYG1pbmkgIT0gLTFgIGZhaWxlZCBpbiAATWluaW11bSBpbmRleCBub3Qgc2V0AEFzc2VydGlvbiBgeCA+PSBtTWluWGAgZmFpbGVkIGluIAAvc3JjL2Vtc2NyaXB0ZW4vYXJ0b29sa2l0NS9saWIvU1JDL0tQTS9GcmVha01hdGNoZXIvbWF0Y2hlcnMvaG91Z2hfc2ltaWxhcml0eV92b3RpbmcuaAB4IG91dCBvZiByYW5nZQBBc3NlcnRpb24gYHggPCBtTWF4WGAgZmFpbGVkIGluIABBc3NlcnRpb24gYHkgPj0gbU1pbllgIGZhaWxlZCBpbiAAeSBvdXQgb2YgcmFuZ2UAQXNzZXJ0aW9uIGB5IDwgbU1heFlgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGBhbmdsZSA+IC1QSWAgZmFpbGVkIGluIABhbmdsZSBvdXQgb2YgcmFuZ2UAQXNzZXJ0aW9uIGBhbmdsZSA8PSBQSWAgZmFpbGVkIGluIABBc3NlcnRpb24gYHNjYWxlID49IG1NaW5TY2FsZWAgZmFpbGVkIGluIABzY2FsZSBvdXQgb2YgcmFuZ2UAQXNzZXJ0aW9uIGBzY2FsZSA8IG1NYXhTY2FsZWAgZmFpbGVkIGluIABBc3NlcnRpb24gYGluZGV4ID49IDBgIGZhaWxlZCBpbiAAaW5kZXggb3V0IG9mIHJhbmdlAEFzc2VydGlvbiBgYmluWCA+PSAwYCBmYWlsZWQgaW4gAGJpblggb3V0IG9mIHJhbmdlAEFzc2VydGlvbiBgYmluWCA8IG1OdW1YQmluc2AgZmFpbGVkIGluIABBc3NlcnRpb24gYGJpblkgPj0gMGAgZmFpbGVkIGluIABiaW5ZIG91dCBvZiByYW5nZQBBc3NlcnRpb24gYGJpblkgPCBtTnVtWUJpbnNgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGBiaW5BbmdsZSA+PSAwYCBmYWlsZWQgaW4gAGJpbkFuZ2xlIG91dCBvZiByYW5nZQBBc3NlcnRpb24gYGJpbkFuZ2xlIDwgbU51bUFuZ2xlQmluc2AgZmFpbGVkIGluIABBc3NlcnRpb24gYGJpblNjYWxlID49IDBgIGZhaWxlZCBpbiAAYmluU2NhbGUgb3V0IG9mIHJhbmdlAEFzc2VydGlvbiBgYmluU2NhbGUgPCBtTnVtU2NhbGVCaW5zYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgaW5kZXggPD0gKGJpblggKyBiaW5ZKm1OdW1YQmlucyArIGJpbkFuZ2xlKm1OdW1YQmlucyptTnVtWUJpbnMgKyBiaW5TY2FsZSptTnVtWEJpbnMqbU51bVlCaW5zKm1OdW1BbmdsZUJpbnMpYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgc2l6ZSA+IDBgIGZhaWxlZCBpbiAAL3NyYy9lbXNjcmlwdGVuL2FydG9vbGtpdDUvbGliL1NSQy9LUE0vRnJlYWtNYXRjaGVyL21hdGNoZXJzL2hvdWdoX3NpbWlsYXJpdHlfdm90aW5nLmNwcABzaXplIG11c3QgYmUgcG9zaXRpdmUAQXNzZXJ0aW9uIGBtUmVmSW1hZ2VXaWR0aCA+IDBgIGZhaWxlZCBpbiAAd2lkdGggbXVzdCBiZSBwb3NpdGl2ZQBBc3NlcnRpb24gYG1SZWZJbWFnZUhlaWdodCA+IDBgIGZhaWxlZCBpbiAAaGVpZ2h0IG11c3QgYmUgcG9zaXRpdmUAQXNzZXJ0aW9uIGBuID4gMGAgZmFpbGVkIGluIAAvc3JjL2Vtc2NyaXB0ZW4vYXJ0b29sa2l0NS9saWIvU1JDL0tQTS9GcmVha01hdGNoZXIvdXRpbHMvcGFydGlhbF9zb3J0LmgAbiBtdXN0IGJlIHBvc2l0aXZlAEFzc2VydGlvbiBgayA+IDBgIGZhaWxlZCBpbiAAayBtdXN0IGJlIHBvc2l0aXZlAEFzc2VydGlvbiBgcHlyYW1pZGAgZmFpbGVkIGluIAAvc3JjL2Vtc2NyaXB0ZW4vYXJ0b29sa2l0NS9saWIvU1JDL0tQTS9GcmVha01hdGNoZXIvbWF0Y2hlcnMvZnJlYWsuaABQeXJhbWlkIGlzIE5VTEwAQXNzZXJ0aW9uIGBzdG9yZS5zaXplKCkgPT0gcG9pbnRzLnNpemUoKWAgZmFpbGVkIGluIABGZWF0dXJlIHN0b3JlIGhhcyBub3QgYmVlbiBhbGxvY2F0ZWQAQXNzZXJ0aW9uIGBudW1fcG9pbnRzID09IHBvaW50cy5zaXplKClgIGZhaWxlZCBpbiAAU2hvdWxkIGJlIHNhbWUgc2l6ZQBBc3NlcnRpb24gYG9jdGF2ZSA+PSAwYCBmYWlsZWQgaW4gAC9zcmMvZW1zY3JpcHRlbi9hcnRvb2xraXQ1L2xpYi9TUkMvS1BNL0ZyZWFrTWF0Y2hlci9kZXRlY3RvcnMvZ2F1c3NpYW5fc2NhbGVfc3BhY2VfcHlyYW1pZC5oAE9jdGF2ZSBtdXN0IGJlIHBvc2l0aXZlAEFzc2VydGlvbiBgb2N0YXZlIDwgbU51bU9jdGF2ZXNgIGZhaWxlZCBpbiAAT2N0YXZlIG11c3QgYmUgbGVzcyB0aGFuIG51bWJlciBvZiBvY3RhdmVzAEFzc2VydGlvbiBgc2NhbGUgPj0gMGAgZmFpbGVkIGluIABTY2FsZSBtdXN0IGJlIHBvc2l0aXZlAEFzc2VydGlvbiBgc2NhbGUgPCBtTnVtU2NhbGVzUGVyT2N0YXZlYCBmYWlsZWQgaW4gAFNjYWxlIG11c3QgYmUgbGVzcyB0aGFuIG51bWJlciBvZiBzY2FsZSBwZXIgb2N0YXZlACVtLSVkLSVZLSVILSVNLSVTAEFzc2VydGlvbiBgd2lkdGggPiAwYCBmYWlsZWQgaW4gAC9zcmMvZW1zY3JpcHRlbi9hcnRvb2xraXQ1L2xpYi9TUkMvS1BNL0ZyZWFrTWF0Y2hlci9mcmFtZXdvcmsvaW1hZ2UuY3BwAFdpZHRoIGNhbm5vdCBiZSB6ZXJvAEFzc2VydGlvbiBgaGVpZ2h0ID4gMGAgZmFpbGVkIGluIABIZWlnaHQgY2Fubm90IGJlIHplcm8AQXNzZXJ0aW9uIGBzdGVwID49IHdpZHRoYCBmYWlsZWQgaW4gAFN0ZXAgbXVzdCBiZSBncmVhdGVyIHRoYW4gb3IgZXF1YWwgdGhlIHdpZHRoAEFzc2VydGlvbiBgY2hhbm5lbHMgPiAwYCBmYWlsZWQgaW4gAE51bWJlciBvZiBjaGFubmVscyBjYW5ub3QgYmUgemVybwBBc3NlcnRpb24gYG1EYXRhLmdldCgpYCBmYWlsZWQgaW4gAERhdGEgcG9pbnRlciBpcyBOVUxMAE5TdDNfXzIxNGRlZmF1bHRfZGVsZXRlSWhFRQBOU3QzX18yMjBfX3NoYXJlZF9wdHJfcG9pbnRlcklQaE5TXzE0ZGVmYXVsdF9kZWxldGVJaEVFTlNfOWFsbG9jYXRvckloRUVFRQBJbnZhbGlkIGltYWdlIHR5cGUAMTZOdWxsQXJyYXlEZWxldGVySWhFAE5TdDNfXzIyMF9fc2hhcmVkX3B0cl9wb2ludGVySVBoMTZOdWxsQXJyYXlEZWxldGVySWhFTlNfOWFsbG9jYXRvckloRUVFRQBBc3NlcnRpb24gYG1TdGFydFRpbWUgPj0gMGAgZmFpbGVkIGluIAAvc3JjL2Vtc2NyaXB0ZW4vYXJ0b29sa2l0NS9saWIvU1JDL0tQTS9GcmVha01hdGNoZXIvZnJhbWV3b3JrL3RpbWVycy5jcHAAIGxpbmUgADogAENsb2NrIGhhcyBub3QgYmVlbiBzdGFydGVkAEFzc2VydGlvbiBgbVN0b3BUaW1lID49IDBgIGZhaWxlZCBpbiAAQ2xvY2sgaGFzIG5vdCBiZWVuIHN0b3BwZWQAWyVzXSBbJXNdIFslc10gOiAlczogJWYgbXMAIElORk8gIAB2aXNpb246OlNjb3BlZFRpbWVyOjp+U2NvcGVkVGltZXIoKQBzZXR1cAB0ZWFyZG93bgBzZXR1cEFSMgBfYWRkTWFya2VyAF9hZGRNdWx0aU1hcmtlcgBfYWRkTkZUTWFya2VyAGdldE11bHRpTWFya2VyTnVtAGdldE11bHRpTWFya2VyQ291bnQAX2xvYWRDYW1lcmEAc2V0TWFya2VySW5mb0RpcgBzZXRNYXJrZXJJbmZvVmVydGV4AGdldFRyYW5zTWF0U3F1YXJlAGdldFRyYW5zTWF0U3F1YXJlQ29udABnZXRUcmFuc01hdE11bHRpU3F1YXJlAGdldFRyYW5zTWF0TXVsdGlTcXVhcmVSb2J1c3QAZGV0ZWN0TWFya2VyAGdldE1hcmtlck51bQBkZXRlY3RORlRNYXJrZXIAZ2V0TXVsdGlFYWNoTWFya2VyAGdldE1hcmtlcgBnZXRORlRNYXJrZXIAc2V0RGVidWdNb2RlAGdldERlYnVnTW9kZQBnZXRQcm9jZXNzaW5nSW1hZ2UAc2V0TG9nTGV2ZWwAZ2V0TG9nTGV2ZWwAc2V0UHJvamVjdGlvbk5lYXJQbGFuZQBnZXRQcm9qZWN0aW9uTmVhclBsYW5lAHNldFByb2plY3Rpb25GYXJQbGFuZQBnZXRQcm9qZWN0aW9uRmFyUGxhbmUAc2V0VGhyZXNob2xkTW9kZQBnZXRUaHJlc2hvbGRNb2RlAHNldFRocmVzaG9sZABnZXRUaHJlc2hvbGQAc2V0UGF0dGVybkRldGVjdGlvbk1vZGUAZ2V0UGF0dGVybkRldGVjdGlvbk1vZGUAc2V0UGF0dFJhdGlvAGdldFBhdHRSYXRpbwBzZXRNYXRyaXhDb2RlVHlwZQBnZXRNYXRyaXhDb2RlVHlwZQBzZXRMYWJlbGluZ01vZGUAZ2V0TGFiZWxpbmdNb2RlAHNldEltYWdlUHJvY01vZGUAZ2V0SW1hZ2VQcm9jTW9kZQBFUlJPUl9BUkNPTlRST0xMRVJfTk9UX0ZPVU5EAEVSUk9SX01VTFRJTUFSS0VSX05PVF9GT1VORABFUlJPUl9NQVJLRVJfSU5ERVhfT1VUX09GX0JPVU5EUwBBUl9ERUJVR19ESVNBQkxFAEFSX0RFQlVHX0VOQUJMRQBBUl9ERUZBVUxUX0RFQlVHX01PREUAQVJfTEFCRUxJTkdfV0hJVEVfUkVHSU9OAEFSX0xBQkVMSU5HX0JMQUNLX1JFR0lPTgBBUl9ERUZBVUxUX0xBQkVMSU5HX01PREUAQVJfREVGQVVMVF9MQUJFTElOR19USFJFU0gAQVJfSU1BR0VfUFJPQ19GUkFNRV9JTUFHRQBBUl9JTUFHRV9QUk9DX0ZJRUxEX0lNQUdFAEFSX0RFRkFVTFRfSU1BR0VfUFJPQ19NT0RFAEFSX1RFTVBMQVRFX01BVENISU5HX0NPTE9SAEFSX1RFTVBMQVRFX01BVENISU5HX01PTk8AQVJfTUFUUklYX0NPREVfREVURUNUSU9OAEFSX1RFTVBMQVRFX01BVENISU5HX0NPTE9SX0FORF9NQVRSSVgAQVJfVEVNUExBVEVfTUFUQ0hJTkdfTU9OT19BTkRfTUFUUklYAEFSX0RFRkFVTFRfUEFUVEVSTl9ERVRFQ1RJT05fTU9ERQBBUl9VU0VfVFJBQ0tJTkdfSElTVE9SWQBBUl9OT1VTRV9UUkFDS0lOR19ISVNUT1JZAEFSX1VTRV9UUkFDS0lOR19ISVNUT1JZX1YyAEFSX0RFRkFVTFRfTUFSS0VSX0VYVFJBQ1RJT05fTU9ERQBBUl9NQVhfTE9PUF9DT1VOVABBUl9MT09QX0JSRUFLX1RIUkVTSABBUl9MT0dfTEVWRUxfREVCVUcAQVJfTE9HX0xFVkVMX0lORk8AQVJfTE9HX0xFVkVMX1dBUk4AQVJfTE9HX0xFVkVMX0VSUk9SAEFSX0xPR19MRVZFTF9SRUxfSU5GTwBBUl9NQVRSSVhfQ09ERV8zeDMAQVJfTUFUUklYX0NPREVfM3gzX0hBTU1JTkc2MwBBUl9NQVRSSVhfQ09ERV8zeDNfUEFSSVRZNjUAQVJfTUFUUklYX0NPREVfNHg0AEFSX01BVFJJWF9DT0RFXzR4NF9CQ0hfMTNfOV8zAEFSX01BVFJJWF9DT0RFXzR4NF9CQ0hfMTNfNV81AEFSX0xBQkVMSU5HX1RIUkVTSF9NT0RFX01BTlVBTABBUl9MQUJFTElOR19USFJFU0hfTU9ERV9BVVRPX01FRElBTgBBUl9MQUJFTElOR19USFJFU0hfTU9ERV9BVVRPX09UU1UAQVJfTEFCRUxJTkdfVEhSRVNIX01PREVfQVVUT19BREFQVElWRQBBUl9NQVJLRVJfSU5GT19DVVRPRkZfUEhBU0VfTk9ORQBBUl9NQVJLRVJfSU5GT19DVVRPRkZfUEhBU0VfUEFUVEVSTl9FWFRSQUNUSU9OAEFSX01BUktFUl9JTkZPX0NVVE9GRl9QSEFTRV9NQVRDSF9HRU5FUklDAEFSX01BUktFUl9JTkZPX0NVVE9GRl9QSEFTRV9NQVRDSF9DT05UUkFTVABBUl9NQVJLRVJfSU5GT19DVVRPRkZfUEhBU0VfTUFUQ0hfQkFSQ09ERV9OT1RfRk9VTkQAQVJfTUFSS0VSX0lORk9fQ1VUT0ZGX1BIQVNFX01BVENIX0JBUkNPREVfRURDX0ZBSUwAQVJfTUFSS0VSX0lORk9fQ1VUT0ZGX1BIQVNFX01BVENIX0NPTkZJREVOQ0UAQVJfTUFSS0VSX0lORk9fQ1VUT0ZGX1BIQVNFX1BPU0VfRVJST1IAQVJfTUFSS0VSX0lORk9fQ1VUT0ZGX1BIQVNFX1BPU0VfRVJST1JfTVVMVEkAQVJfTUFSS0VSX0lORk9fQ1VUT0ZGX1BIQVNFX0hFVVJJU1RJQ19UUk9VQkxFU09NRV9NQVRSSVhfQ09ERVMAYWxsb2NhdG9yPFQ+OjphbGxvY2F0ZShzaXplX3QgbikgJ24nIGV4Y2VlZHMgbWF4aW11bSBzdXBwb3J0ZWQgc2l6ZQBJbWFnZSBwcm9jLiBtb2RlIHNldCB0byAlZC4KAExhYmVsaW5nIG1vZGUgc2V0IHRvICVkCgB2aWlmAFBhdHRlcm4gcmF0aW8gc2l6ZSBzZXQgdG8gJWYuCgBQYXR0ZXJuIGRldGVjdGlvbiBtb2RlIHNldCB0byAlZC4KAFRocmVzaG9sZCBzZXQgdG8gJWQKAHZpaWkAVGhyZXNob2xkIG1vZGUgc2V0IHRvICVkCgBkaWkAdmlpZABpaQB2aWkAb24uAG9mZi4ARGVidWcgbW9kZSBzZXQgdG8gJXMKAFRyYWNraW5nIGxvc3QuICVkCgBUcmFja2VkIHBhZ2UgJWQgKG1heCAlZCkuCgB7IHZhciAkYSA9IGFyZ3VtZW50czsgdmFyIGkgPSAwOyBpZiAoIWFydG9vbGtpdFsiTkZUTWFya2VySW5mbyJdKSB7IGFydG9vbGtpdFsiTkZUTWFya2VySW5mbyJdID0gKHsgaWQ6IDAsIGVycm9yOiAtMSwgZm91bmQ6IDAsIHBvc2U6IFswLDAsMCwwLCAwLDAsMCwwLCAwLDAsMCwwXSB9KTsgfSB2YXIgbWFya2VySW5mbyA9IGFydG9vbGtpdFsiTkZUTWFya2VySW5mbyJdOyBtYXJrZXJJbmZvWyJpZCJdID0gJGFbaSsrXTsgbWFya2VySW5mb1siZXJyb3IiXSA9ICRhW2krK107IG1hcmtlckluZm9bImZvdW5kIl0gPSAxOyBtYXJrZXJJbmZvWyJwb3NlIl1bMF0gPSAkYVtpKytdOyBtYXJrZXJJbmZvWyJwb3NlIl1bMV0gPSAkYVtpKytdOyBtYXJrZXJJbmZvWyJwb3NlIl1bMl0gPSAkYVtpKytdOyBtYXJrZXJJbmZvWyJwb3NlIl1bM10gPSAkYVtpKytdOyBtYXJrZXJJbmZvWyJwb3NlIl1bNF0gPSAkYVtpKytdOyBtYXJrZXJJbmZvWyJwb3NlIl1bNV0gPSAkYVtpKytdOyBtYXJrZXJJbmZvWyJwb3NlIl1bNl0gPSAkYVtpKytdOyBtYXJrZXJJbmZvWyJwb3NlIl1bN10gPSAkYVtpKytdOyBtYXJrZXJJbmZvWyJwb3NlIl1bOF0gPSAkYVtpKytdOyBtYXJrZXJJbmZvWyJwb3NlIl1bOV0gPSAkYVtpKytdOyBtYXJrZXJJbmZvWyJwb3NlIl1bMTBdID0gJGFbaSsrXTsgbWFya2VySW5mb1sicG9zZSJdWzExXSA9ICRhW2krK107IH0AeyB2YXIgJGEgPSBhcmd1bWVudHM7IHZhciBpID0gMDsgaWYgKCFhcnRvb2xraXRbIk5GVE1hcmtlckluZm8iXSkgeyBhcnRvb2xraXRbIk5GVE1hcmtlckluZm8iXSA9ICh7IGlkOiAwLCBlcnJvcjogLTEsIGZvdW5kOiAwLCBwb3NlOiBbMCwwLDAsMCwgMCwwLDAsMCwgMCwwLDAsMF0gfSk7IH0gdmFyIG1hcmtlckluZm8gPSBhcnRvb2xraXRbIk5GVE1hcmtlckluZm8iXTsgbWFya2VySW5mb1siaWQiXSA9ICRhW2krK107IG1hcmtlckluZm9bImVycm9yIl0gPSAtMTsgbWFya2VySW5mb1siZm91bmQiXSA9IDA7IG1hcmtlckluZm9bInBvc2UiXVswXSA9IDA7IG1hcmtlckluZm9bInBvc2UiXVsxXSA9IDA7IG1hcmtlckluZm9bInBvc2UiXVsyXSA9IDA7IG1hcmtlckluZm9bInBvc2UiXVszXSA9IDA7IG1hcmtlckluZm9bInBvc2UiXVs0XSA9IDA7IG1hcmtlckluZm9bInBvc2UiXVs1XSA9IDA7IG1hcmtlckluZm9bInBvc2UiXVs2XSA9IDA7IG1hcmtlckluZm9bInBvc2UiXVs3XSA9IDA7IG1hcmtlckluZm9bInBvc2UiXVs4XSA9IDA7IG1hcmtlckluZm9bInBvc2UiXVs5XSA9IDA7IG1hcmtlckluZm9bInBvc2UiXVsxMF0gPSAwOyBtYXJrZXJJbmZvWyJwb3NlIl1bMTFdID0gMDsgfQB7IHZhciAkYSA9IGFyZ3VtZW50czsgdmFyIGkgPSAxMjsgaWYgKCFhcnRvb2xraXRbIm1hcmtlckluZm8iXSkgeyBhcnRvb2xraXRbIm1hcmtlckluZm8iXSA9ICh7IHBvczogWzAsMF0sIGxpbmU6IFtbMCwwLDBdLCBbMCwwLDBdLCBbMCwwLDBdLCBbMCwwLDBdXSwgdmVydGV4OiBbWzAsMF0sIFswLDBdLCBbMCwwXSwgWzAsMF1dIH0pOyB9IHZhciBtYXJrZXJJbmZvID0gYXJ0b29sa2l0WyJtYXJrZXJJbmZvIl07IG1hcmtlckluZm9bImFyZWEiXSA9ICQwOyBtYXJrZXJJbmZvWyJpZCJdID0gJDE7IG1hcmtlckluZm9bImlkUGF0dCJdID0gJDI7IG1hcmtlckluZm9bImlkTWF0cml4Il0gPSAkMzsgbWFya2VySW5mb1siZGlyIl0gPSAkNDsgbWFya2VySW5mb1siZGlyUGF0dCJdID0gJDU7IG1hcmtlckluZm9bImRpck1hdHJpeCJdID0gJDY7IG1hcmtlckluZm9bImNmIl0gPSAkNzsgbWFya2VySW5mb1siY2ZQYXR0Il0gPSAkODsgbWFya2VySW5mb1siY2ZNYXRyaXgiXSA9ICQ5OyBtYXJrZXJJbmZvWyJwb3MiXVswXSA9ICQxMDsgbWFya2VySW5mb1sicG9zIl1bMV0gPSAkMTE7IG1hcmtlckluZm9bImxpbmUiXVswXVswXSA9ICRhW2krK107IG1hcmtlckluZm9bImxpbmUiXVswXVsxXSA9ICRhW2krK107IG1hcmtlckluZm9bImxpbmUiXVswXVsyXSA9ICRhW2krK107IG1hcmtlckluZm9bImxpbmUiXVsxXVswXSA9ICRhW2krK107IG1hcmtlckluZm9bImxpbmUiXVsxXVsxXSA9ICRhW2krK107IG1hcmtlckluZm9bImxpbmUiXVsxXVsyXSA9ICRhW2krK107IG1hcmtlckluZm9bImxpbmUiXVsyXVswXSA9ICRhW2krK107IG1hcmtlckluZm9bImxpbmUiXVsyXVsxXSA9ICRhW2krK107IG1hcmtlckluZm9bImxpbmUiXVsyXVsyXSA9ICRhW2krK107IG1hcmtlckluZm9bImxpbmUiXVszXVswXSA9ICRhW2krK107IG1hcmtlckluZm9bImxpbmUiXVszXVsxXSA9ICRhW2krK107IG1hcmtlckluZm9bImxpbmUiXVszXVsyXSA9ICRhW2krK107IG1hcmtlckluZm9bInZlcnRleCJdWzBdWzBdID0gJGFbaSsrXTsgbWFya2VySW5mb1sidmVydGV4Il1bMF1bMV0gPSAkYVtpKytdOyBtYXJrZXJJbmZvWyJ2ZXJ0ZXgiXVsxXVswXSA9ICRhW2krK107IG1hcmtlckluZm9bInZlcnRleCJdWzFdWzFdID0gJGFbaSsrXTsgbWFya2VySW5mb1sidmVydGV4Il1bMl1bMF0gPSAkYVtpKytdOyBtYXJrZXJJbmZvWyJ2ZXJ0ZXgiXVsyXVsxXSA9ICRhW2krK107IG1hcmtlckluZm9bInZlcnRleCJdWzNdWzBdID0gJGFbaSsrXTsgbWFya2VySW5mb1sidmVydGV4Il1bM11bMV0gPSAkYVtpKytdOyBtYXJrZXJJbmZvWyJlcnJvckNvcnJlY3RlZCJdID0gJGFbaSsrXTsgfQB7IGlmICghYXJ0b29sa2l0WyJtdWx0aUVhY2hNYXJrZXJJbmZvIl0pIHsgYXJ0b29sa2l0WyJtdWx0aUVhY2hNYXJrZXJJbmZvIl0gPSAoe30pOyB9IHZhciBtdWx0aUVhY2hNYXJrZXIgPSBhcnRvb2xraXRbIm11bHRpRWFjaE1hcmtlckluZm8iXTsgbXVsdGlFYWNoTWFya2VyWyd2aXNpYmxlJ10gPSAkMDsgbXVsdGlFYWNoTWFya2VyWydwYXR0SWQnXSA9ICQxOyBtdWx0aUVhY2hNYXJrZXJbJ3BhdHRUeXBlJ10gPSAkMjsgbXVsdGlFYWNoTWFya2VyWyd3aWR0aCddID0gJDM7IH0AaWlpAE5TdDNfXzIxMmJhc2ljX3N0cmluZ0ljTlNfMTFjaGFyX3RyYWl0c0ljRUVOU185YWxsb2NhdG9ySWNFRUVFAE5TdDNfXzIyMV9fYmFzaWNfc3RyaW5nX2NvbW1vbklMYjFFRUUAbG9hZENhbWVyYSgpOiBFcnJvciBsb2FkaW5nIHBhcmFtZXRlciBmaWxlICVzIGZvciBjYW1lcmEuCgBpaWlpAEFSVG9vbEtpdEpTKCk6IFVuYWJsZSB0byBzZXQgdXAgTkZUIG1hcmtlci4KAFJlYWRpbmcgJXMuZnNldDMKAGZzZXQzAEVycm9yIHJlYWRpbmcgS1BNIGRhdGEgZnJvbSAlcy5mc2V0MwoAICBBc3NpZ25lZCBwYWdlIG5vLiAlZC4KAEVycm9yOiBrcG1DaGFuZ2VQYWdlTm9PZlJlZkRhdGFTZXQKAEVycm9yOiBrcG1NZXJnZVJlZkRhdGFTZXQKACAgRG9uZS4KAFJlYWRpbmcgJXMuZnNldAoAZnNldABFcnJvciByZWFkaW5nIGRhdGEgZnJvbSAlcy5mc2V0CgBFcnJvcjoga3BtU2V0UmVmRGF0YVNldAoATG9hZGluZyBvZiBORlQgZGF0YSBjb21wbGV0ZS4KAEFSVG9vbEtpdEpTKCk6IFVuYWJsZSB0byBzZXQgdXAgQVIgbXVsdGltYXJrZXIuCgBjb25maWcgZGF0YSBsb2FkIGVycm9yICEhCgBBUlRvb2xLaXRKUygpOiBVbmFibGUgdG8gc2V0IHVwIEFSIG1hcmtlci4KAGxvYWRNYXJrZXIoKTogRXJyb3IgbG9hZGluZyBwYXR0ZXJuIGZpbGUgJXMuCgBFcnJvcjogYXIyQ3JlYXRlSGFuZGxlLgoAaWlpaWkAc2V0dXAoKTogRXJyb3I6IGFyUGF0dENyZWF0ZUhhbmRsZS4KAEFsbG9jYXRlZCB2aWRlb0ZyYW1lU2l6ZSAlZAoAeyBpZiAoIWFydG9vbGtpdFsiZnJhbWVNYWxsb2MiXSkgeyBhcnRvb2xraXRbImZyYW1lTWFsbG9jIl0gPSAoe30pOyB9IHZhciBmcmFtZU1hbGxvYyA9IGFydG9vbGtpdFsiZnJhbWVNYWxsb2MiXTsgZnJhbWVNYWxsb2NbImZyYW1lcG9pbnRlciJdID0gJDE7IGZyYW1lTWFsbG9jWyJmcmFtZXNpemUiXSA9ICQyOyBmcmFtZU1hbGxvY1siY2FtZXJhIl0gPSAkMzsgZnJhbWVNYWxsb2NbInRyYW5zZm9ybSJdID0gJDQ7IGZyYW1lTWFsbG9jWyJ2aWRlb0x1bWFQb2ludGVyIl0gPSAkNTsgfQAqKiogQ2FtZXJhIFBhcmFtZXRlciByZXNpemVkIGZyb20gJWQsICVkLiAqKioKAHNldENhbWVyYSgpOiBFcnJvcjogYXJQYXJhbUxUQ3JlYXRlLgoAc2V0Q2FtZXJhKCk6IEVycm9yOiBhckNyZWF0ZUhhbmRsZS4KAHNldENhbWVyYSgpOiBFcnJvciBjcmVhdGluZyAzRCBoYW5kbGUAT3V0IG9mIG1lbW9yeSEhCgBFcnJvcjogbWFsbG9jCgAjIyMgRmVhdHVyZSBjYW5kaWRhdGVzIGZvciB0cmFja2luZyBhcmUgb3ZlcmZsb3cuCgBCb2d1cyBtZXNzYWdlIGNvZGUgJWQAQUxJR05fVFlQRSBpcyB3cm9uZywgcGxlYXNlIGZpeABNQVhfQUxMT0NfQ0hVTksgaXMgd3JvbmcsIHBsZWFzZSBmaXgAQm9ndXMgYnVmZmVyIGNvbnRyb2wgbW9kZQBJbnZhbGlkIGNvbXBvbmVudCBJRCAlZCBpbiBTT1MASW52YWxpZCBjcm9wIHJlcXVlc3QARENUIGNvZWZmaWNpZW50IG91dCBvZiByYW5nZQBEQ1Qgc2NhbGVkIGJsb2NrIHNpemUgJWR4JWQgbm90IHN1cHBvcnRlZABDb21wb25lbnQgaW5kZXggJWQ6IG1pc21hdGNoaW5nIHNhbXBsaW5nIHJhdGlvICVkOiVkLCAlZDolZCwgJWMAQm9ndXMgSHVmZm1hbiB0YWJsZSBkZWZpbml0aW9uAEJvZ3VzIGlucHV0IGNvbG9yc3BhY2UAQm9ndXMgSlBFRyBjb2xvcnNwYWNlAEJvZ3VzIG1hcmtlciBsZW5ndGgAV3JvbmcgSlBFRyBsaWJyYXJ5IHZlcnNpb246IGxpYnJhcnkgaXMgJWQsIGNhbGxlciBleHBlY3RzICVkAFNhbXBsaW5nIGZhY3RvcnMgdG9vIGxhcmdlIGZvciBpbnRlcmxlYXZlZCBzY2FuAEludmFsaWQgbWVtb3J5IHBvb2wgY29kZSAlZABVbnN1cHBvcnRlZCBKUEVHIGRhdGEgcHJlY2lzaW9uICVkAEludmFsaWQgcHJvZ3Jlc3NpdmUgcGFyYW1ldGVycyBTcz0lZCBTZT0lZCBBaD0lZCBBbD0lZABJbnZhbGlkIHByb2dyZXNzaXZlIHBhcmFtZXRlcnMgYXQgc2NhbiBzY3JpcHQgZW50cnkgJWQAQm9ndXMgc2FtcGxpbmcgZmFjdG9ycwBJbnZhbGlkIHNjYW4gc2NyaXB0IGF0IGVudHJ5ICVkAEltcHJvcGVyIGNhbGwgdG8gSlBFRyBsaWJyYXJ5IGluIHN0YXRlICVkAEpQRUcgcGFyYW1ldGVyIHN0cnVjdCBtaXNtYXRjaDogbGlicmFyeSB0aGlua3Mgc2l6ZSBpcyAldSwgY2FsbGVyIGV4cGVjdHMgJXUAQm9ndXMgdmlydHVhbCBhcnJheSBhY2Nlc3MAQnVmZmVyIHBhc3NlZCB0byBKUEVHIGxpYnJhcnkgaXMgdG9vIHNtYWxsAFN1c3BlbnNpb24gbm90IGFsbG93ZWQgaGVyZQBDQ0lSNjAxIHNhbXBsaW5nIG5vdCBpbXBsZW1lbnRlZCB5ZXQAVG9vIG1hbnkgY29sb3IgY29tcG9uZW50czogJWQsIG1heCAlZABVbnN1cHBvcnRlZCBjb2xvciBjb252ZXJzaW9uIHJlcXVlc3QAQm9ndXMgREFDIGluZGV4ICVkAEJvZ3VzIERBQyB2YWx1ZSAweCV4AEJvZ3VzIERIVCBpbmRleCAlZABCb2d1cyBEUVQgaW5kZXggJWQARW1wdHkgSlBFRyBpbWFnZSAoRE5MIG5vdCBzdXBwb3J0ZWQpAFJlYWQgZnJvbSBFTVMgZmFpbGVkAFdyaXRlIHRvIEVNUyBmYWlsZWQARGlkbid0IGV4cGVjdCBtb3JlIHRoYW4gb25lIHNjYW4ASW5wdXQgZmlsZSByZWFkIGVycm9yAE91dHB1dCBmaWxlIHdyaXRlIGVycm9yIC0tLSBvdXQgb2YgZGlzayBzcGFjZT8ARnJhY3Rpb25hbCBzYW1wbGluZyBub3QgaW1wbGVtZW50ZWQgeWV0AEh1ZmZtYW4gY29kZSBzaXplIHRhYmxlIG92ZXJmbG93AE1pc3NpbmcgSHVmZm1hbiBjb2RlIHRhYmxlIGVudHJ5AE1heGltdW0gc3VwcG9ydGVkIGltYWdlIGRpbWVuc2lvbiBpcyAldSBwaXhlbHMARW1wdHkgaW5wdXQgZmlsZQBQcmVtYXR1cmUgZW5kIG9mIGlucHV0IGZpbGUAQ2Fubm90IHRyYW5zY29kZSBkdWUgdG8gbXVsdGlwbGUgdXNlIG9mIHF1YW50aXphdGlvbiB0YWJsZSAlZABTY2FuIHNjcmlwdCBkb2VzIG5vdCB0cmFuc21pdCBhbGwgZGF0YQBJbnZhbGlkIGNvbG9yIHF1YW50aXphdGlvbiBtb2RlIGNoYW5nZQBOb3QgaW1wbGVtZW50ZWQgeWV0AFJlcXVlc3RlZCBmZWF0dXJlIHdhcyBvbWl0dGVkIGF0IGNvbXBpbGUgdGltZQBBcml0aG1ldGljIHRhYmxlIDB4JTAyeCB3YXMgbm90IGRlZmluZWQAQmFja2luZyBzdG9yZSBub3Qgc3VwcG9ydGVkAEh1ZmZtYW4gdGFibGUgMHglMDJ4IHdhcyBub3QgZGVmaW5lZABKUEVHIGRhdGFzdHJlYW0gY29udGFpbnMgbm8gaW1hZ2UAUXVhbnRpemF0aW9uIHRhYmxlIDB4JTAyeCB3YXMgbm90IGRlZmluZWQATm90IGEgSlBFRyBmaWxlOiBzdGFydHMgd2l0aCAweCUwMnggMHglMDJ4AEluc3VmZmljaWVudCBtZW1vcnkgKGNhc2UgJWQpAENhbm5vdCBxdWFudGl6ZSBtb3JlIHRoYW4gJWQgY29sb3IgY29tcG9uZW50cwBDYW5ub3QgcXVhbnRpemUgdG8gZmV3ZXIgdGhhbiAlZCBjb2xvcnMAQ2Fubm90IHF1YW50aXplIHRvIG1vcmUgdGhhbiAlZCBjb2xvcnMASW52YWxpZCBKUEVHIGZpbGUgc3RydWN0dXJlOiAlcyBiZWZvcmUgU09GAEludmFsaWQgSlBFRyBmaWxlIHN0cnVjdHVyZTogdHdvIFNPRiBtYXJrZXJzAEludmFsaWQgSlBFRyBmaWxlIHN0cnVjdHVyZTogbWlzc2luZyBTT1MgbWFya2VyAFVuc3VwcG9ydGVkIEpQRUcgcHJvY2VzczogU09GIHR5cGUgMHglMDJ4AEludmFsaWQgSlBFRyBmaWxlIHN0cnVjdHVyZTogdHdvIFNPSSBtYXJrZXJzAEZhaWxlZCB0byBjcmVhdGUgdGVtcG9yYXJ5IGZpbGUgJXMAUmVhZCBmYWlsZWQgb24gdGVtcG9yYXJ5IGZpbGUAU2VlayBmYWlsZWQgb24gdGVtcG9yYXJ5IGZpbGUAV3JpdGUgZmFpbGVkIG9uIHRlbXBvcmFyeSBmaWxlIC0tLSBvdXQgb2YgZGlzayBzcGFjZT8AQXBwbGljYXRpb24gdHJhbnNmZXJyZWQgdG9vIGZldyBzY2FubGluZXMAVW5zdXBwb3J0ZWQgbWFya2VyIHR5cGUgMHglMDJ4AFZpcnR1YWwgYXJyYXkgY29udHJvbGxlciBtZXNzZWQgdXAASW1hZ2UgdG9vIHdpZGUgZm9yIHRoaXMgaW1wbGVtZW50YXRpb24AUmVhZCBmcm9tIFhNUyBmYWlsZWQAV3JpdGUgdG8gWE1TIGZhaWxlZABDb3B5cmlnaHQgKEMpIDIwMTgsIFRob21hcyBHLiBMYW5lLCBHdWlkbyBWb2xsYmVkaW5nADljICAxNC1KYW4tMjAxOABDYXV0aW9uOiBxdWFudGl6YXRpb24gdGFibGVzIGFyZSB0b28gY29hcnNlIGZvciBiYXNlbGluZSBKUEVHAEFkb2JlIEFQUDE0IG1hcmtlcjogdmVyc2lvbiAlZCwgZmxhZ3MgMHglMDR4IDB4JTA0eCwgdHJhbnNmb3JtICVkAFVua25vd24gQVBQMCBtYXJrZXIgKG5vdCBKRklGKSwgbGVuZ3RoICV1AFVua25vd24gQVBQMTQgbWFya2VyIChub3QgQWRvYmUpLCBsZW5ndGggJXUARGVmaW5lIEFyaXRobWV0aWMgVGFibGUgMHglMDJ4OiAweCUwMngARGVmaW5lIEh1ZmZtYW4gVGFibGUgMHglMDJ4AERlZmluZSBRdWFudGl6YXRpb24gVGFibGUgJWQgIHByZWNpc2lvbiAlZABEZWZpbmUgUmVzdGFydCBJbnRlcnZhbCAldQBGcmVlZCBFTVMgaGFuZGxlICV1AE9idGFpbmVkIEVNUyBoYW5kbGUgJXUARW5kIE9mIEltYWdlACAgICAgICAgJTNkICUzZCAlM2QgJTNkICUzZCAlM2QgJTNkICUzZABKRklGIEFQUDAgbWFya2VyOiB2ZXJzaW9uICVkLiUwMmQsIGRlbnNpdHkgJWR4JWQgICVkAFdhcm5pbmc6IHRodW1ibmFpbCBpbWFnZSBzaXplIGRvZXMgbm90IG1hdGNoIGRhdGEgbGVuZ3RoICV1AEpGSUYgZXh0ZW5zaW9uIG1hcmtlcjogdHlwZSAweCUwMngsIGxlbmd0aCAldQAgICAgd2l0aCAlZCB4ICVkIHRodW1ibmFpbCBpbWFnZQBNaXNjZWxsYW5lb3VzIG1hcmtlciAweCUwMngsIGxlbmd0aCAldQBVbmV4cGVjdGVkIG1hcmtlciAweCUwMngAICAgICAgICAlNHUgJTR1ICU0dSAlNHUgJTR1ICU0dSAlNHUgJTR1AFF1YW50aXppbmcgdG8gJWQgPSAlZColZColZCBjb2xvcnMAUXVhbnRpemluZyB0byAlZCBjb2xvcnMAU2VsZWN0ZWQgJWQgY29sb3JzIGZvciBxdWFudGl6YXRpb24AQXQgbWFya2VyIDB4JTAyeCwgcmVjb3ZlcnkgYWN0aW9uICVkAFJTVCVkAFNtb290aGluZyBub3Qgc3VwcG9ydGVkIHdpdGggbm9uc3RhbmRhcmQgc2FtcGxpbmcgcmF0aW9zAFN0YXJ0IE9mIEZyYW1lIDB4JTAyeDogd2lkdGg9JXUsIGhlaWdodD0ldSwgY29tcG9uZW50cz0lZAAgICAgQ29tcG9uZW50ICVkOiAlZGh4JWR2IHE9JWQAU3RhcnQgb2YgSW1hZ2UAU3RhcnQgT2YgU2NhbjogJWQgY29tcG9uZW50cwAgICAgQ29tcG9uZW50ICVkOiBkYz0lZCBhYz0lZAAgIFNzPSVkLCBTZT0lZCwgQWg9JWQsIEFsPSVkAENsb3NlZCB0ZW1wb3JhcnkgZmlsZSAlcwBPcGVuZWQgdGVtcG9yYXJ5IGZpbGUgJXMASkZJRiBleHRlbnNpb24gbWFya2VyOiBKUEVHLWNvbXByZXNzZWQgdGh1bWJuYWlsIGltYWdlLCBsZW5ndGggJXUASkZJRiBleHRlbnNpb24gbWFya2VyOiBwYWxldHRlIHRodW1ibmFpbCBpbWFnZSwgbGVuZ3RoICV1AEpGSUYgZXh0ZW5zaW9uIG1hcmtlcjogUkdCIHRodW1ibmFpbCBpbWFnZSwgbGVuZ3RoICV1AFVucmVjb2duaXplZCBjb21wb25lbnQgSURzICVkICVkICVkLCBhc3N1bWluZyBZQ2JDcgBGcmVlZCBYTVMgaGFuZGxlICV1AE9idGFpbmVkIFhNUyBoYW5kbGUgJXUAVW5rbm93biBBZG9iZSBjb2xvciB0cmFuc2Zvcm0gY29kZSAlZABDb3JydXB0IEpQRUcgZGF0YTogYmFkIGFyaXRobWV0aWMgY29kZQBJbmNvbnNpc3RlbnQgcHJvZ3Jlc3Npb24gc2VxdWVuY2UgZm9yIGNvbXBvbmVudCAlZCBjb2VmZmljaWVudCAlZABDb3JydXB0IEpQRUcgZGF0YTogJXUgZXh0cmFuZW91cyBieXRlcyBiZWZvcmUgbWFya2VyIDB4JTAyeABDb3JydXB0IEpQRUcgZGF0YTogcHJlbWF0dXJlIGVuZCBvZiBkYXRhIHNlZ21lbnQAQ29ycnVwdCBKUEVHIGRhdGE6IGJhZCBIdWZmbWFuIGNvZGUAV2FybmluZzogdW5rbm93biBKRklGIHJldmlzaW9uIG51bWJlciAlZC4lMDJkAFByZW1hdHVyZSBlbmQgb2YgSlBFRyBmaWxlAENvcnJ1cHQgSlBFRyBkYXRhOiBmb3VuZCBtYXJrZXIgMHglMDJ4IGluc3RlYWQgb2YgUlNUJWQASW52YWxpZCBTT1MgcGFyYW1ldGVycyBmb3Igc2VxdWVudGlhbCBKUEVHAEFwcGxpY2F0aW9uIHRyYW5zZmVycmVkIHRvbyBtYW55IHNjYW5saW5lcwBTT1MATFNFAEpQRUdNRU0AJWxkJWMAJXMKAAABAgQHAwYFAC0rICAgMFgweAAobnVsbCkALTBYKzBYIDBYLTB4KzB4IDB4AGluZgBJTkYATkFOAC4AaW5maW5pdHkAbmFuAExDX0FMTABMQU5HAEMuVVRGLTgAUE9TSVgATVVTTF9MT0NQQVRIAHJ3YQB0ZXJtaW5hdGluZyB3aXRoICVzIGV4Y2VwdGlvbiBvZiB0eXBlICVzOiAlcwB0ZXJtaW5hdGluZyB3aXRoICVzIGV4Y2VwdGlvbiBvZiB0eXBlICVzAHRlcm1pbmF0aW5nIHdpdGggJXMgZm9yZWlnbiBleGNlcHRpb24AdGVybWluYXRpbmcAdW5jYXVnaHQAU3Q5ZXhjZXB0aW9uAE4xMF9fY3h4YWJpdjExNl9fc2hpbV90eXBlX2luZm9FAFN0OXR5cGVfaW5mbwBOMTBfX2N4eGFiaXYxMjBfX3NpX2NsYXNzX3R5cGVfaW5mb0UATjEwX19jeHhhYml2MTE3X19jbGFzc190eXBlX2luZm9FAHRlcm1pbmF0ZV9oYW5kbGVyIHVuZXhwZWN0ZWRseSByZXR1cm5lZABTdDExbG9naWNfZXJyb3IAU3QxMmxlbmd0aF9lcnJvcgBOMTBfX2N4eGFiaXYxMTdfX3BiYXNlX3R5cGVfaW5mb0UATjEwX19jeHhhYml2MTE5X19wb2ludGVyX3R5cGVfaW5mb0UATjEwX19jeHhhYml2MTIzX19mdW5kYW1lbnRhbF90eXBlX2luZm9FAHYAYgBjAGgAYQBzAHQAaQBqAG0AZgBkAE4xMF9fY3h4YWJpdjEyMV9fdm1pX2NsYXNzX3R5cGVfaW5mb0UAdm9pZABib29sAGNoYXIAc2lnbmVkIGNoYXIAdW5zaWduZWQgY2hhcgBzaG9ydAB1bnNpZ25lZCBzaG9ydABpbnQAdW5zaWduZWQgaW50AGxvbmcAdW5zaWduZWQgbG9uZwBmbG9hdABkb3VibGUAc3RkOjpzdHJpbmcAc3RkOjpiYXNpY19zdHJpbmc8dW5zaWduZWQgY2hhcj4Ac3RkOjp3c3RyaW5nAGVtc2NyaXB0ZW46OnZhbABlbXNjcmlwdGVuOjptZW1vcnlfdmlldzxjaGFyPgBlbXNjcmlwdGVuOjptZW1vcnlfdmlldzxzaWduZWQgY2hhcj4AZW1zY3JpcHRlbjo6bWVtb3J5X3ZpZXc8dW5zaWduZWQgY2hhcj4AZW1zY3JpcHRlbjo6bWVtb3J5X3ZpZXc8c2hvcnQ+AGVtc2NyaXB0ZW46Om1lbW9yeV92aWV3PHVuc2lnbmVkIHNob3J0PgBlbXNjcmlwdGVuOjptZW1vcnlfdmlldzxpbnQ+AGVtc2NyaXB0ZW46Om1lbW9yeV92aWV3PHVuc2lnbmVkIGludD4AZW1zY3JpcHRlbjo6bWVtb3J5X3ZpZXc8bG9uZz4AZW1zY3JpcHRlbjo6bWVtb3J5X3ZpZXc8dW5zaWduZWQgbG9uZz4AZW1zY3JpcHRlbjo6bWVtb3J5X3ZpZXc8aW50OF90PgBlbXNjcmlwdGVuOjptZW1vcnlfdmlldzx1aW50OF90PgBlbXNjcmlwdGVuOjptZW1vcnlfdmlldzxpbnQxNl90PgBlbXNjcmlwdGVuOjptZW1vcnlfdmlldzx1aW50MTZfdD4AZW1zY3JpcHRlbjo6bWVtb3J5X3ZpZXc8aW50MzJfdD4AZW1zY3JpcHRlbjo6bWVtb3J5X3ZpZXc8dWludDMyX3Q+AGVtc2NyaXB0ZW46Om1lbW9yeV92aWV3PGZsb2F0PgBlbXNjcmlwdGVuOjptZW1vcnlfdmlldzxkb3VibGU+AGVtc2NyaXB0ZW46Om1lbW9yeV92aWV3PGxvbmcgZG91YmxlPgBOMTBlbXNjcmlwdGVuMTFtZW1vcnlfdmlld0llRUUATjEwZW1zY3JpcHRlbjExbWVtb3J5X3ZpZXdJZEVFAE4xMGVtc2NyaXB0ZW4xMW1lbW9yeV92aWV3SWZFRQBOMTBlbXNjcmlwdGVuMTFtZW1vcnlfdmlld0ltRUUATjEwZW1zY3JpcHRlbjExbWVtb3J5X3ZpZXdJbEVFAE4xMGVtc2NyaXB0ZW4xMW1lbW9yeV92aWV3SWpFRQBOMTBlbXNjcmlwdGVuMTFtZW1vcnlfdmlld0lpRUUATjEwZW1zY3JpcHRlbjExbWVtb3J5X3ZpZXdJdEVFAE4xMGVtc2NyaXB0ZW4xMW1lbW9yeV92aWV3SXNFRQBOMTBlbXNjcmlwdGVuMTFtZW1vcnlfdmlld0loRUUATjEwZW1zY3JpcHRlbjExbWVtb3J5X3ZpZXdJYUVFAE4xMGVtc2NyaXB0ZW4xMW1lbW9yeV92aWV3SWNFRQBOMTBlbXNjcmlwdGVuM3ZhbEUATlN0M19fMjEyYmFzaWNfc3RyaW5nSXdOU18xMWNoYXJfdHJhaXRzSXdFRU5TXzlhbGxvY2F0b3JJd0VFRUUATlN0M19fMjEyYmFzaWNfc3RyaW5nSWhOU18xMWNoYXJfdHJhaXRzSWhFRU5TXzlhbGxvY2F0b3JJaEVFRUUATlN0M19fMjhpb3NfYmFzZUUATlN0M19fMjliYXNpY19pb3NJY05TXzExY2hhcl90cmFpdHNJY0VFRUUATlN0M19fMjliYXNpY19pb3NJd05TXzExY2hhcl90cmFpdHNJd0VFRUUATlN0M19fMjE1YmFzaWNfc3RyZWFtYnVmSWNOU18xMWNoYXJfdHJhaXRzSWNFRUVFAE5TdDNfXzIxNWJhc2ljX3N0cmVhbWJ1Zkl3TlNfMTFjaGFyX3RyYWl0c0l3RUVFRQBOU3QzX18yMTNiYXNpY19pc3RyZWFtSWNOU18xMWNoYXJfdHJhaXRzSWNFRUVFAE5TdDNfXzIxM2Jhc2ljX2lzdHJlYW1Jd05TXzExY2hhcl90cmFpdHNJd0VFRUUATlN0M19fMjEzYmFzaWNfb3N0cmVhbUljTlNfMTFjaGFyX3RyYWl0c0ljRUVFRQBOU3QzX18yMTNiYXNpY19vc3RyZWFtSXdOU18xMWNoYXJfdHJhaXRzSXdFRUVFAE5TdDNfXzIxMV9fc3Rkb3V0YnVmSXdFRQBOU3QzX18yMTFfX3N0ZG91dGJ1ZkljRUUAdW5zdXBwb3J0ZWQgbG9jYWxlIGZvciBzdGFuZGFyZCBpbnB1dABOU3QzX18yMTBfX3N0ZGluYnVmSXdFRQBOU3QzX18yMTBfX3N0ZGluYnVmSWNFRQBOU3QzX18yN2NvbGxhdGVJY0VFAE5TdDNfXzI2bG9jYWxlNWZhY2V0RQBOU3QzX18yN2NvbGxhdGVJd0VFACVwAEMATlN0M19fMjdudW1fZ2V0SWNOU18xOWlzdHJlYW1idWZfaXRlcmF0b3JJY05TXzExY2hhcl90cmFpdHNJY0VFRUVFRQBOU3QzX18yOV9fbnVtX2dldEljRUUATlN0M19fMjE0X19udW1fZ2V0X2Jhc2VFAE5TdDNfXzI3bnVtX2dldEl3TlNfMTlpc3RyZWFtYnVmX2l0ZXJhdG9ySXdOU18xMWNoYXJfdHJhaXRzSXdFRUVFRUUATlN0M19fMjlfX251bV9nZXRJd0VFACVwAAAAAEwAbGwAJQAAAAAAbABOU3QzX18yN251bV9wdXRJY05TXzE5b3N0cmVhbWJ1Zl9pdGVyYXRvckljTlNfMTFjaGFyX3RyYWl0c0ljRUVFRUVFAE5TdDNfXzI5X19udW1fcHV0SWNFRQBOU3QzX18yMTRfX251bV9wdXRfYmFzZUUATlN0M19fMjdudW1fcHV0SXdOU18xOW9zdHJlYW1idWZfaXRlcmF0b3JJd05TXzExY2hhcl90cmFpdHNJd0VFRUVFRQBOU3QzX18yOV9fbnVtX3B1dEl3RUUAJUg6JU06JVMAJW0vJWQvJXkAJUk6JU06JVMgJXAAJWEgJWIgJWQgJUg6JU06JVMgJVkAQU0AUE0ASmFudWFyeQBGZWJydWFyeQBNYXJjaABBcHJpbABNYXkASnVuZQBKdWx5AEF1Z3VzdABTZXB0ZW1iZXIAT2N0b2JlcgBOb3ZlbWJlcgBEZWNlbWJlcgBKYW4ARmViAE1hcgBBcHIASnVuAEp1bABBdWcAU2VwAE9jdABOb3YARGVjAFN1bmRheQBNb25kYXkAVHVlc2RheQBXZWRuZXNkYXkAVGh1cnNkYXkARnJpZGF5AFNhdHVyZGF5AFN1bgBNb24AVHVlAFdlZABUaHUARnJpAFNhdAAlbS8lZC8leSVZLSVtLSVkJUk6JU06JVMgJXAlSDolTSVIOiVNOiVTJUg6JU06JVNOU3QzX18yOHRpbWVfZ2V0SWNOU18xOWlzdHJlYW1idWZfaXRlcmF0b3JJY05TXzExY2hhcl90cmFpdHNJY0VFRUVFRQBOU3QzX18yMjBfX3RpbWVfZ2V0X2Nfc3RvcmFnZUljRUUATlN0M19fMjl0aW1lX2Jhc2VFAE5TdDNfXzI4dGltZV9nZXRJd05TXzE5aXN0cmVhbWJ1Zl9pdGVyYXRvckl3TlNfMTFjaGFyX3RyYWl0c0l3RUVFRUVFAE5TdDNfXzIyMF9fdGltZV9nZXRfY19zdG9yYWdlSXdFRQBOU3QzX18yOHRpbWVfcHV0SWNOU18xOW9zdHJlYW1idWZfaXRlcmF0b3JJY05TXzExY2hhcl90cmFpdHNJY0VFRUVFRQBOU3QzX18yMTBfX3RpbWVfcHV0RQBOU3QzX18yOHRpbWVfcHV0SXdOU18xOW9zdHJlYW1idWZfaXRlcmF0b3JJd05TXzExY2hhcl90cmFpdHNJd0VFRUVFRQBOU3QzX18yMTBtb25leXB1bmN0SWNMYjBFRUUATlN0M19fMjEwbW9uZXlfYmFzZUUATlN0M19fMjEwbW9uZXlwdW5jdEljTGIxRUVFAE5TdDNfXzIxMG1vbmV5cHVuY3RJd0xiMEVFRQBOU3QzX18yMTBtb25leXB1bmN0SXdMYjFFRUUAMDEyMzQ1Njc4OQAlTGYATlN0M19fMjltb25leV9nZXRJY05TXzE5aXN0cmVhbWJ1Zl9pdGVyYXRvckljTlNfMTFjaGFyX3RyYWl0c0ljRUVFRUVFAE5TdDNfXzIxMV9fbW9uZXlfZ2V0SWNFRQAwMTIzNDU2Nzg5AE5TdDNfXzI5bW9uZXlfZ2V0SXdOU18xOWlzdHJlYW1idWZfaXRlcmF0b3JJd05TXzExY2hhcl90cmFpdHNJd0VFRUVFRQBOU3QzX18yMTFfX21vbmV5X2dldEl3RUUAJS4wTGYATlN0M19fMjltb25leV9wdXRJY05TXzE5b3N0cmVhbWJ1Zl9pdGVyYXRvckljTlNfMTFjaGFyX3RyYWl0c0ljRUVFRUVFAE5TdDNfXzIxMV9fbW9uZXlfcHV0SWNFRQBOU3QzX18yOW1vbmV5X3B1dEl3TlNfMTlvc3RyZWFtYnVmX2l0ZXJhdG9ySXdOU18xMWNoYXJfdHJhaXRzSXdFRUVFRUUATlN0M19fMjExX19tb25leV9wdXRJd0VFAE5TdDNfXzI4bWVzc2FnZXNJY0VFAE5TdDNfXzIxM21lc3NhZ2VzX2Jhc2VFAE5TdDNfXzIxN19fd2lkZW5fZnJvbV91dGY4SUxtMzJFRUUATlN0M19fMjdjb2RlY3Z0SURpYzExX19tYnN0YXRlX3RFRQBOU3QzX18yMTJjb2RlY3Z0X2Jhc2VFAE5TdDNfXzIxNl9fbmFycm93X3RvX3V0ZjhJTG0zMkVFRQBOU3QzX18yOG1lc3NhZ2VzSXdFRQBOU3QzX18yN2NvZGVjdnRJY2MxMV9fbWJzdGF0ZV90RUUATlN0M19fMjdjb2RlY3Z0SXdjMTFfX21ic3RhdGVfdEVFAE5TdDNfXzI3Y29kZWN2dElEc2MxMV9fbWJzdGF0ZV90RUUATlN0M19fMjZsb2NhbGU1X19pbXBFAE5TdDNfXzI1Y3R5cGVJY0VFAE5TdDNfXzIxMGN0eXBlX2Jhc2VFAE5TdDNfXzI1Y3R5cGVJd0VFAGZhbHNlAHRydWUATlN0M19fMjhudW1wdW5jdEljRUUATlN0M19fMjhudW1wdW5jdEl3RUUATlN0M19fMjE0X19zaGFyZWRfY291bnRFAE5TdDNfXzIxOV9fc2hhcmVkX3dlYWtfY291bnRF";var tempDoublePtr=57872;function demangle(func){return func}function demangleAll(text){var regex=/\b__Z[\w\d_]+/g;return text.replace(regex,function(x){var y=demangle(x);return x===y?x:y+" ["+x+"]"})}function jsStackTrace(){var err=new Error;if(!err.stack){try{throw new Error(0)}catch(e){err=e}if(!err.stack){return"(no stack trace available)"}}return err.stack.toString()}function stackTrace(){var js=jsStackTrace();if(Module["extraStackTrace"])js+="\n"+Module["extraStackTrace"]();return demangleAll(js)}var ENV={};function ___buildEnvironment(environ){var MAX_ENV_VALUES=64;var TOTAL_ENV_SIZE=1024;var poolPtr;var envPtr;if(!___buildEnvironment.called){___buildEnvironment.called=true;ENV["USER"]="web_user";ENV["LOGNAME"]="web_user";ENV["PATH"]="/";ENV["PWD"]="/";ENV["HOME"]="/home/web_user";ENV["LANG"]=(typeof navigator==="object"&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8";ENV["_"]=thisProgram;poolPtr=getMemory(TOTAL_ENV_SIZE);envPtr=getMemory(MAX_ENV_VALUES*4);HEAP32[envPtr>>2]=poolPtr;HEAP32[environ>>2]=envPtr}else{envPtr=HEAP32[environ>>2];poolPtr=HEAP32[envPtr>>2]}var strings=[];var totalSize=0;for(var key in ENV){if(typeof ENV[key]==="string"){var line=key+"="+ENV[key];strings.push(line);totalSize+=line.length}}if(totalSize>TOTAL_ENV_SIZE){throw new Error("Environment size exceeded TOTAL_ENV_SIZE!")}var ptrSize=4;for(var i=0;i>2]=poolPtr;poolPtr+=line.length+1}HEAP32[envPtr+strings.length*ptrSize>>2]=0}function ___cxa_allocate_exception(size){return _malloc(size)}var ___exception_infos={};var ___exception_caught=[];function ___exception_addRef(ptr){if(!ptr)return;var info=___exception_infos[ptr];info.refcount++}function ___exception_deAdjust(adjusted){if(!adjusted||___exception_infos[adjusted])return adjusted;for(var key in ___exception_infos){var ptr=+key;var adj=___exception_infos[ptr].adjusted;var len=adj.length;for(var i=0;i>2]=value;return value}function ___map_file(pathname,size){___setErrNo(63);return-1}var PATH={splitPath:function(filename){var splitPathRe=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/;return splitPathRe.exec(filename).slice(1)},normalizeArray:function(parts,allowAboveRoot){var up=0;for(var i=parts.length-1;i>=0;i--){var last=parts[i];if(last==="."){parts.splice(i,1)}else if(last===".."){parts.splice(i,1);up++}else if(up){parts.splice(i,1);up--}}if(allowAboveRoot){for(;up;up--){parts.unshift("..")}}return parts},normalize:function(path){var isAbsolute=path.charAt(0)==="/",trailingSlash=path.substr(-1)==="/";path=PATH.normalizeArray(path.split("/").filter(function(p){return!!p}),!isAbsolute).join("/");if(!path&&!isAbsolute){path="."}if(path&&trailingSlash){path+="/"}return(isAbsolute?"/":"")+path},dirname:function(path){var result=PATH.splitPath(path),root=result[0],dir=result[1];if(!root&&!dir){return"."}if(dir){dir=dir.substr(0,dir.length-1)}return root+dir},basename:function(path){if(path==="/")return"/";var lastSlash=path.lastIndexOf("/");if(lastSlash===-1)return path;return path.substr(lastSlash+1)},extname:function(path){return PATH.splitPath(path)[3]},join:function(){var paths=Array.prototype.slice.call(arguments,0);return PATH.normalize(paths.join("/"))},join2:function(l,r){return PATH.normalize(l+"/"+r)}};var PATH_FS={resolve:function(){var resolvedPath="",resolvedAbsolute=false;for(var i=arguments.length-1;i>=-1&&!resolvedAbsolute;i--){var path=i>=0?arguments[i]:FS.cwd();if(typeof path!=="string"){throw new TypeError("Arguments to path.resolve must be strings")}else if(!path){return""}resolvedPath=path+"/"+resolvedPath;resolvedAbsolute=path.charAt(0)==="/"}resolvedPath=PATH.normalizeArray(resolvedPath.split("/").filter(function(p){return!!p}),!resolvedAbsolute).join("/");return(resolvedAbsolute?"/":"")+resolvedPath||"."},relative:function(from,to){from=PATH_FS.resolve(from).substr(1);to=PATH_FS.resolve(to).substr(1);function trim(arr){var start=0;for(;start=0;end--){if(arr[end]!=="")break}if(start>end)return[];return arr.slice(start,end-start+1)}var fromParts=trim(from.split("/"));var toParts=trim(to.split("/"));var length=Math.min(fromParts.length,toParts.length);var samePartsLength=length;for(var i=0;i0){result=buf.slice(0,bytesRead).toString("utf-8")}else{result=null}}else if(typeof window!="undefined"&&typeof window.prompt=="function"){result=window.prompt("Input: ");if(result!==null){result+="\n"}}else if(typeof readline=="function"){result=readline();if(result!==null){result+="\n"}}if(!result){return null}tty.input=intArrayFromString(result,true)}return tty.input.shift()},put_char:function(tty,val){if(val===null||val===10){out(UTF8ArrayToString(tty.output,0));tty.output=[]}else{if(val!=0)tty.output.push(val)}},flush:function(tty){if(tty.output&&tty.output.length>0){out(UTF8ArrayToString(tty.output,0));tty.output=[]}}},default_tty1_ops:{put_char:function(tty,val){if(val===null||val===10){err(UTF8ArrayToString(tty.output,0));tty.output=[]}else{if(val!=0)tty.output.push(val)}},flush:function(tty){if(tty.output&&tty.output.length>0){err(UTF8ArrayToString(tty.output,0));tty.output=[]}}}};var MEMFS={ops_table:null,mount:function(mount){return MEMFS.createNode(null,"/",16384|511,0)},createNode:function(parent,name,mode,dev){if(FS.isBlkdev(mode)||FS.isFIFO(mode)){throw new FS.ErrnoError(63)}if(!MEMFS.ops_table){MEMFS.ops_table={dir:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr,lookup:MEMFS.node_ops.lookup,mknod:MEMFS.node_ops.mknod,rename:MEMFS.node_ops.rename,unlink:MEMFS.node_ops.unlink,rmdir:MEMFS.node_ops.rmdir,readdir:MEMFS.node_ops.readdir,symlink:MEMFS.node_ops.symlink},stream:{llseek:MEMFS.stream_ops.llseek}},file:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr},stream:{llseek:MEMFS.stream_ops.llseek,read:MEMFS.stream_ops.read,write:MEMFS.stream_ops.write,allocate:MEMFS.stream_ops.allocate,mmap:MEMFS.stream_ops.mmap,msync:MEMFS.stream_ops.msync}},link:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr,readlink:MEMFS.node_ops.readlink},stream:{}},chrdev:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr},stream:FS.chrdev_stream_ops}}}var node=FS.createNode(parent,name,mode,dev);if(FS.isDir(node.mode)){node.node_ops=MEMFS.ops_table.dir.node;node.stream_ops=MEMFS.ops_table.dir.stream;node.contents={}}else if(FS.isFile(node.mode)){node.node_ops=MEMFS.ops_table.file.node;node.stream_ops=MEMFS.ops_table.file.stream;node.usedBytes=0;node.contents=null}else if(FS.isLink(node.mode)){node.node_ops=MEMFS.ops_table.link.node;node.stream_ops=MEMFS.ops_table.link.stream}else if(FS.isChrdev(node.mode)){node.node_ops=MEMFS.ops_table.chrdev.node;node.stream_ops=MEMFS.ops_table.chrdev.stream}node.timestamp=Date.now();if(parent){parent.contents[name]=node}return node},getFileDataAsRegularArray:function(node){if(node.contents&&node.contents.subarray){var arr=[];for(var i=0;i=newCapacity)return;var CAPACITY_DOUBLING_MAX=1024*1024;newCapacity=Math.max(newCapacity,prevCapacity*(prevCapacity0)node.contents.set(oldContents.subarray(0,node.usedBytes),0);return},resizeFileStorage:function(node,newSize){if(node.usedBytes==newSize)return;if(newSize==0){node.contents=null;node.usedBytes=0;return}if(!node.contents||node.contents.subarray){var oldContents=node.contents;node.contents=new Uint8Array(new ArrayBuffer(newSize));if(oldContents){node.contents.set(oldContents.subarray(0,Math.min(newSize,node.usedBytes)))}node.usedBytes=newSize;return}if(!node.contents)node.contents=[];if(node.contents.length>newSize)node.contents.length=newSize;else while(node.contents.length=stream.node.usedBytes)return 0;var size=Math.min(stream.node.usedBytes-position,length);if(size>8&&contents.subarray){buffer.set(contents.subarray(position,position+size),offset)}else{for(var i=0;i0||position+length8){throw new FS.ErrnoError(32)}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(32)}}}}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 2}else if(perms.indexOf("w")!==-1&&!(node.mode&146)){return 2}else if(perms.indexOf("x")!==-1&&!(node.mode&73)){return 2}return 0},mayLookup:function(dir){var err=FS.nodePermissions(dir,"x");if(err)return err;if(!dir.node_ops.lookup)return 2;return 0},mayCreate:function(dir,name){try{var node=FS.lookupNode(dir,name);return 20}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 54}if(FS.isRoot(node)||FS.getPath(node)===FS.cwd()){return 10}}else{if(FS.isDir(node.mode)){return 31}}return 0},mayOpen:function(node,flags){if(!node){return 44}if(FS.isLink(node.mode)){return 32}else if(FS.isDir(node.mode)){if(FS.flagsToPermissionString(flags)!=="r"||flags&512){return 31}}return FS.nodePermissions(node,FS.flagsToPermissionString(flags))},MAX_OPEN_FDS:4096,nextfd: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(33)},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(70)}},major:function(dev){return dev>>8},minor:function(dev){return dev&255},makedev:function(ma,mi){return ma<<8|mi},registerDevice:function(dev,ops){FS.devices[dev]={stream_ops:ops}},getDevice:function(dev){return FS.devices[dev]},getMounts:function(mount){var mounts=[];var check=[mount];while(check.length){var m=check.pop();mounts.push(m);check.push.apply(check,m.mounts)}return mounts},syncfs:function(populate,callback){if(typeof populate==="function"){callback=populate;populate=false}FS.syncFSRequests++;if(FS.syncFSRequests>1){console.log("warning: "+FS.syncFSRequests+" FS.syncfs operations in flight at once, probably just doing extra work")}var mounts=FS.getMounts(FS.root.mount);var completed=0;function doCallback(err){FS.syncFSRequests--;return callback(err)}function done(err){if(err){if(!done.errored){done.errored=true;return doCallback(err)}return}if(++completed>=mounts.length){doCallback(null)}}mounts.forEach(function(mount){if(!mount.type.syncfs){return done(null)}mount.type.syncfs(mount,populate,done)})},mount:function(type,opts,mountpoint){var root=mountpoint==="/";var pseudo=!mountpoint;var node;if(root&&FS.root){throw new FS.ErrnoError(10)}else if(!root&&!pseudo){var lookup=FS.lookupPath(mountpoint,{follow_mount:false});mountpoint=lookup.path;node=lookup.node;if(FS.isMountpoint(node)){throw new FS.ErrnoError(10)}if(!FS.isDir(node.mode)){throw new FS.ErrnoError(54)}}var mount={type:type,opts:opts,mountpoint:mountpoint,mounts:[]};var mountRoot=type.mount(mount);mountRoot.mount=mount;mount.root=mountRoot;if(root){FS.root=mountRoot}else if(node){node.mounted=mount;if(node.mount){node.mount.mounts.push(mount)}}return mountRoot},unmount:function(mountpoint){var lookup=FS.lookupPath(mountpoint,{follow_mount:false});if(!FS.isMountpoint(lookup.node)){throw new FS.ErrnoError(28)}var node=lookup.node;var mount=node.mounted;var mounts=FS.getMounts(mount);Object.keys(FS.nameTable).forEach(function(hash){var current=FS.nameTable[hash];while(current){var next=current.name_next;if(mounts.indexOf(current.mount)!==-1){FS.destroyNode(current)}current=next}});node.mounted=null;var idx=node.mount.mounts.indexOf(mount);node.mount.mounts.splice(idx,1)},lookup:function(parent,name){return parent.node_ops.lookup(parent,name)},mknod:function(path,mode,dev){var lookup=FS.lookupPath(path,{parent:true});var parent=lookup.node;var name=PATH.basename(path);if(!name||name==="."||name===".."){throw new FS.ErrnoError(28)}var err=FS.mayCreate(parent,name);if(err){throw new FS.ErrnoError(err)}if(!parent.node_ops.mknod){throw new FS.ErrnoError(63)}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(29)}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(29)}var contents=stream.node.contents;if(position>=contents.length)return 0;var size=Math.min(contents.length-position,length);if(contents.slice){for(var i=0;i>2]=stat.dev;HEAP32[buf+4>>2]=0;HEAP32[buf+8>>2]=stat.ino;HEAP32[buf+12>>2]=stat.mode;HEAP32[buf+16>>2]=stat.nlink;HEAP32[buf+20>>2]=stat.uid;HEAP32[buf+24>>2]=stat.gid;HEAP32[buf+28>>2]=stat.rdev;HEAP32[buf+32>>2]=0;tempI64=[stat.size>>>0,(tempDouble=stat.size,+Math_abs(tempDouble)>=+1?tempDouble>+0?(Math_min(+Math_floor(tempDouble/+4294967296),+4294967295)|0)>>>0:~~+Math_ceil((tempDouble-+(~~tempDouble>>>0))/+4294967296)>>>0:0)],HEAP32[buf+40>>2]=tempI64[0],HEAP32[buf+44>>2]=tempI64[1];HEAP32[buf+48>>2]=4096;HEAP32[buf+52>>2]=stat.blocks;HEAP32[buf+56>>2]=stat.atime.getTime()/1e3|0;HEAP32[buf+60>>2]=0;HEAP32[buf+64>>2]=stat.mtime.getTime()/1e3|0;HEAP32[buf+68>>2]=0;HEAP32[buf+72>>2]=stat.ctime.getTime()/1e3|0;HEAP32[buf+76>>2]=0;tempI64=[stat.ino>>>0,(tempDouble=stat.ino,+Math_abs(tempDouble)>=+1?tempDouble>+0?(Math_min(+Math_floor(tempDouble/+4294967296),+4294967295)|0)>>>0:~~+Math_ceil((tempDouble-+(~~tempDouble>>>0))/+4294967296)>>>0:0)],HEAP32[buf+80>>2]=tempI64[0],HEAP32[buf+84>>2]=tempI64[1];return 0},doMsync:function(addr,stream,len,flags){var buffer=new Uint8Array(HEAPU8.subarray(addr,addr+len));FS.msync(stream,buffer,0,len,flags)},doMkdir:function(path,mode){path=PATH.normalize(path);if(path[path.length-1]==="/")path=path.substr(0,path.length-1);FS.mkdir(path,mode,0);return 0},doMknod:function(path,mode,dev){switch(mode&61440){case 32768:case 8192:case 24576:case 4096:case 49152:break;default:return-28}FS.mknod(path,mode,dev);return 0},doReadlink:function(path,buf,bufsize){if(bufsize<=0)return-28;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-28}var node;var lookup=FS.lookupPath(path,{follow:true});node=lookup.node;if(!node){return-44}var perms="";if(amode&4)perms+="r";if(amode&2)perms+="w";if(amode&1)perms+="x";if(perms&&FS.nodePermissions(node,perms)){return-2}return 0},doDup:function(path,flags,suggestFD){var suggest=FS.getStream(suggestFD);if(suggest)FS.close(suggest);return FS.open(path,flags,0,suggestFD,suggestFD).fd},doReadv:function(stream,iov,iovcnt,offset){var ret=0;for(var i=0;i>2];var len=HEAP32[iov+(i*8+4)>>2];var curr=FS.read(stream,HEAP8,ptr,len,offset);if(curr<0)return-1;ret+=curr;if(curr>2];var len=HEAP32[iov+(i*8+4)>>2];var curr=FS.write(stream,HEAP8,ptr,len,offset);if(curr<0)return-1;ret+=curr}return ret},varargs:0,get:function(varargs){SYSCALLS.varargs+=4;var ret=HEAP32[SYSCALLS.varargs-4>>2];return ret},getStr:function(){var ret=UTF8ToString(SYSCALLS.get());return ret},getStreamFromFD:function(fd){if(fd===undefined)fd=SYSCALLS.get();var stream=FS.getStream(fd);if(!stream)throw new FS.ErrnoError(8);return stream},get64:function(){var low=SYSCALLS.get(),high=SYSCALLS.get();return low},getZero:function(){SYSCALLS.get()}};function ___syscall221(which,varargs){SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.getStreamFromFD(),cmd=SYSCALLS.get();switch(cmd){case 0:{var arg=SYSCALLS.get();if(arg<0){return-28}var newStream;newStream=FS.open(stream.path,stream.flags,0,arg);return newStream.fd}case 1:case 2:return 0;case 3:return stream.flags;case 4:{var arg=SYSCALLS.get();stream.flags|=arg;return 0}case 12:{var arg=SYSCALLS.get();var offset=0;HEAP16[arg+offset>>1]=2;return 0}case 13:case 14:return 0;case 16:case 8:return-28;case 9:___setErrNo(28);return-1;default:{return-28}}}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___syscall5(which,varargs){SYSCALLS.varargs=varargs;try{var pathname=SYSCALLS.getStr(),flags=SYSCALLS.get(),mode=SYSCALLS.get();var stream=FS.open(pathname,flags,mode);return stream.fd}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___syscall54(which,varargs){SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.getStreamFromFD(),op=SYSCALLS.get();switch(op){case 21509:case 21505:{if(!stream.tty)return-59;return 0}case 21510:case 21511:case 21512:case 21506:case 21507:case 21508:{if(!stream.tty)return-59;return 0}case 21519:{if(!stream.tty)return-59;var argp=SYSCALLS.get();HEAP32[argp>>2]=0;return 0}case 21520:{if(!stream.tty)return-59;return-28}case 21531:{var argp=SYSCALLS.get();return FS.ioctl(stream,op,argp)}case 21523:{if(!stream.tty)return-59;return 0}case 21524:{if(!stream.tty)return-59;return 0}default:abort("bad ioctl syscall "+op)}}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function __emscripten_syscall_munmap(addr,len){if(addr===-1||len===0){return-28}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}function ___syscall91(which,varargs){SYSCALLS.varargs=varargs;try{var addr=SYSCALLS.get(),len=SYSCALLS.get();return __emscripten_syscall_munmap(addr,len)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___unlock(){}function _fd_close(fd){try{var stream=SYSCALLS.getStreamFromFD(fd);FS.close(stream);return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return e.errno}}function ___wasi_fd_close(){return _fd_close.apply(null,arguments)}function _fd_read(fd,iov,iovcnt,pnum){try{var stream=SYSCALLS.getStreamFromFD(fd);var num=SYSCALLS.doReadv(stream,iov,iovcnt);HEAP32[pnum>>2]=num;return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return e.errno}}function ___wasi_fd_read(){return _fd_read.apply(null,arguments)}function _fd_seek(fd,offset_low,offset_high,whence,newOffset){try{var stream=SYSCALLS.getStreamFromFD(fd);var HIGH_OFFSET=4294967296;var offset=offset_high*HIGH_OFFSET+(offset_low>>>0);var DOUBLE_LIMIT=9007199254740992;if(offset<=-DOUBLE_LIMIT||offset>=DOUBLE_LIMIT){return-61}FS.llseek(stream,offset,whence);tempI64=[stream.position>>>0,(tempDouble=stream.position,+Math_abs(tempDouble)>=+1?tempDouble>+0?(Math_min(+Math_floor(tempDouble/+4294967296),+4294967295)|0)>>>0:~~+Math_ceil((tempDouble-+(~~tempDouble>>>0))/+4294967296)>>>0:0)],HEAP32[newOffset>>2]=tempI64[0],HEAP32[newOffset+4>>2]=tempI64[1];if(stream.getdents&&offset===0&&whence===0)stream.getdents=null;return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return e.errno}}function ___wasi_fd_seek(){return _fd_seek.apply(null,arguments)}function _fd_write(fd,iov,iovcnt,pnum){try{var stream=SYSCALLS.getStreamFromFD(fd);var num=SYSCALLS.doWritev(stream,iov,iovcnt);HEAP32[pnum>>2]=num;return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return e.errno}}function ___wasi_fd_write(){return _fd_write.apply(null,arguments)}function getShiftFromSize(size){switch(size){case 1:return 0;case 2:return 1;case 4:return 2;case 8:return 3;default:throw new TypeError("Unknown type size: "+size)}}function embind_init_charCodes(){var codes=new Array(256);for(var i=0;i<256;++i){codes[i]=String.fromCharCode(i)}embind_charCodes=codes}var embind_charCodes=undefined;function readLatin1String(ptr){var ret="";var c=ptr;while(HEAPU8[c]){ret+=embind_charCodes[HEAPU8[c++]]}return ret}var awaitingDependencies={};var registeredTypes={};var typeDependencies={};var char_0=48;var char_9=57;function makeLegalFunctionName(name){if(undefined===name){return"_unknown"}name=name.replace(/[^a-zA-Z0-9_]/g,"$");var f=name.charCodeAt(0);if(f>=char_0&&f<=char_9){return"_"+name}else{return name}}function createNamedFunction(name,body){name=makeLegalFunctionName(name);return new Function("body","return function "+name+"() {\n"+' "use strict";'+" return body.apply(this, arguments);\n"+"};\n")(body)}function extendError(baseErrorType,errorName){var errorClass=createNamedFunction(errorName,function(message){this.name=errorName;this.message=message;var stack=new Error(message).stack;if(stack!==undefined){this.stack=this.toString()+"\n"+stack.replace(/^Error(:[^\n]*)?\n/,"")}});errorClass.prototype=Object.create(baseErrorType.prototype);errorClass.prototype.constructor=errorClass;errorClass.prototype.toString=function(){if(this.message===undefined){return this.name}else{return this.name+": "+this.message}};return errorClass}var BindingError=undefined;function throwBindingError(message){throw new BindingError(message)}var InternalError=undefined;function throwInternalError(message){throw new InternalError(message)}function whenDependentTypesAreResolved(myTypes,dependentTypes,getTypeConverters){myTypes.forEach(function(type){typeDependencies[type]=dependentTypes});function onComplete(typeConverters){var myTypeConverters=getTypeConverters(typeConverters);if(myTypeConverters.length!==myTypes.length){throwInternalError("Mismatched type converter count")}for(var i=0;i>shift])},destructorFunction:null})}function __embind_register_constant(name,type,value){name=readLatin1String(name);whenDependentTypesAreResolved([],[type],function(type){type=type[0];Module[name]=type["fromWireType"](value);return[]})}var emval_free_list=[];var emval_handle_array=[{},{value:undefined},{value:null},{value:true},{value:false}];function __emval_decref(handle){if(handle>4&&0===--emval_handle_array[handle].refcount){emval_handle_array[handle]=undefined;emval_free_list.push(handle)}}function count_emval_handles(){var count=0;for(var i=5;i>2])}function __embind_register_emval(rawType,name){name=readLatin1String(name);registerType(rawType,{name:name,"fromWireType":function(handle){var rv=emval_handle_array[handle].value;__emval_decref(handle);return rv},"toWireType":function(destructors,value){return __emval_register(value)},"argPackAdvance":8,"readValueFromPointer":simpleReadValueFromPointer,destructorFunction:null})}function _embind_repr(v){if(v===null){return"null"}var t=typeof v;if(t==="object"||t==="array"||t==="function"){return v.toString()}else{return""+v}}function floatReadValueFromPointer(name,shift){switch(shift){case 2:return function(pointer){return this["fromWireType"](HEAPF32[pointer>>2])};case 3:return function(pointer){return this["fromWireType"](HEAPF64[pointer>>3])};default:throw new TypeError("Unknown float type: "+name)}}function __embind_register_float(rawType,name,size){var shift=getShiftFromSize(size);name=readLatin1String(name);registerType(rawType,{name:name,"fromWireType":function(value){return value},"toWireType":function(destructors,value){if(typeof value!=="number"&&typeof value!=="boolean"){throw new TypeError('Cannot convert "'+_embind_repr(value)+'" to '+this.name)}return value},"argPackAdvance":8,"readValueFromPointer":floatReadValueFromPointer(name,shift),destructorFunction:null})}function new_(constructor,argumentList){if(!(constructor instanceof Function)){throw new TypeError("new_ called with constructor type "+typeof constructor+" which is not a function")}var dummy=createNamedFunction(constructor.name||"unknownFunctionName",function(){});dummy.prototype=constructor.prototype;var obj=new dummy;var r=constructor.apply(obj,argumentList);return r instanceof Object?r:obj}function runDestructors(destructors){while(destructors.length){var ptr=destructors.pop();var del=destructors.pop();del(ptr)}}function craftInvokerFunction(humanName,argTypes,classType,cppInvokerFunc,cppTargetFunc){var argCount=argTypes.length;if(argCount<2){throwBindingError("argTypes array size mismatch! Must at least get return value and 'this' types!")}var isClassMethodFunc=argTypes[1]!==null&&classType!==null;var needsDestructorStack=false;for(var i=1;i0?", ":"")+argsListWired}invokerFnBody+=(returns?"var rv = ":"")+"invoker(fn"+(argsListWired.length>0?", ":"")+argsListWired+");\n";if(needsDestructorStack){invokerFnBody+="runDestructors(destructors);\n"}else{for(var i=isClassMethodFunc?1:2;i>2)+i])}return array}function replacePublicSymbol(name,value,numArguments){if(!Module.hasOwnProperty(name)){throwInternalError("Replacing nonexistant public symbol")}if(undefined!==Module[name].overloadTable&&undefined!==numArguments){Module[name].overloadTable[numArguments]=value}else{Module[name]=value;Module[name].argCount=numArguments}}function embind__requireFunction(signature,rawFunction){signature=readLatin1String(signature);function makeDynCaller(dynCall){var args=[];for(var i=1;i>1]}:function readU16FromPointer(pointer){return HEAPU16[pointer>>1]};case 2:return signed?function readS32FromPointer(pointer){return HEAP32[pointer>>2]}:function readU32FromPointer(pointer){return HEAPU32[pointer>>2]};default:throw new TypeError("Unknown integer type: "+name)}}function __embind_register_integer(primitiveType,name,size,minRange,maxRange){name=readLatin1String(name);if(maxRange===-1){maxRange=4294967295}var shift=getShiftFromSize(size);var fromWireType=function(value){return value};if(minRange===0){var bitshift=32-8*size;fromWireType=function(value){return value<>>bitshift}}var isUnsignedType=name.indexOf("unsigned")!=-1;registerType(primitiveType,{name:name,"fromWireType":fromWireType,"toWireType":function(destructors,value){if(typeof value!=="number"&&typeof value!=="boolean"){throw new TypeError('Cannot convert "'+_embind_repr(value)+'" to '+this.name)}if(valuemaxRange){throw new TypeError('Passing a number "'+_embind_repr(value)+'" from JS side to C/C++ side to an argument of type "'+name+'", which is outside the valid range ['+minRange+", "+maxRange+"]!")}return isUnsignedType?value>>>0:value|0},"argPackAdvance":8,"readValueFromPointer":integerReadValueFromPointer(name,shift,minRange!==0),destructorFunction:null})}function __embind_register_memory_view(rawType,dataTypeIndex,name){var typeMapping=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array];var TA=typeMapping[dataTypeIndex];function decodeMemoryView(handle){handle=handle>>2;var heap=HEAPU32;var size=heap[handle];var data=heap[handle+1];return new TA(heap["buffer"],data,size)}name=readLatin1String(name);registerType(rawType,{name:name,"fromWireType":decodeMemoryView,"argPackAdvance":8,"readValueFromPointer":decodeMemoryView},{ignoreDuplicateRegistrations:true})}function __embind_register_std_string(rawType,name){name=readLatin1String(name);var stdStringIsUTF8=name==="std::string";registerType(rawType,{name:name,"fromWireType":function(value){var length=HEAPU32[value>>2];var str;if(stdStringIsUTF8){var endChar=HEAPU8[value+4+length];var endCharSwap=0;if(endChar!=0){endCharSwap=endChar;HEAPU8[value+4+length]=0}var decodeStartPtr=value+4;for(var i=0;i<=length;++i){var currentBytePtr=value+4+i;if(HEAPU8[currentBytePtr]==0){var stringSegment=UTF8ToString(decodeStartPtr);if(str===undefined)str=stringSegment;else{str+=String.fromCharCode(0);str+=stringSegment}decodeStartPtr=currentBytePtr+1}}if(endCharSwap!=0)HEAPU8[value+4+length]=endCharSwap}else{var a=new Array(length);for(var i=0;i>2]=length;if(stdStringIsUTF8&&valueIsOfTypeString){stringToUTF8(value,ptr+4,length+1)}else{if(valueIsOfTypeString){for(var i=0;i255){_free(ptr);throwBindingError("String has UTF-16 code units that do not fit in 8 bits")}HEAPU8[ptr+4+i]=charCode}}else{for(var i=0;i>2];var a=new Array(length);var start=value+4>>shift;for(var i=0;i>2]=length;var start=ptr+4>>shift;for(var i=0;i>2]=now/1e3|0;HEAP32[ptr+4>>2]=now%1e3*1e3|0;return 0}function _llvm_exp2_f32(x){return Math.pow(2,x)}function _llvm_stackrestore(p){var self=_llvm_stacksave;var ret=self.LLVM_SAVEDSTACKS[p];self.LLVM_SAVEDSTACKS.splice(p,1);stackRestore(ret)}function _llvm_stacksave(){var self=_llvm_stacksave;if(!self.LLVM_SAVEDSTACKS){self.LLVM_SAVEDSTACKS=[]}self.LLVM_SAVEDSTACKS.push(stackSave());return self.LLVM_SAVEDSTACKS.length-1}var ___tm_current=57728;var ___tm_timezone=(stringToUTF8("GMT",57776,4),57776);function _tzset(){if(_tzset.called)return;_tzset.called=true;HEAP32[__get_timezone()>>2]=(new Date).getTimezoneOffset()*60;var currentYear=(new Date).getFullYear();var winter=new Date(currentYear,0,1);var summer=new Date(currentYear,6,1);HEAP32[__get_daylight()>>2]=Number(winter.getTimezoneOffset()!=summer.getTimezoneOffset());function extractZone(date){var match=date.toTimeString().match(/\(([A-Za-z ]+)\)$/);return match?match[1]:"GMT"}var winterName=extractZone(winter);var summerName=extractZone(summer);var winterNamePtr=allocate(intArrayFromString(winterName),"i8",ALLOC_NORMAL);var summerNamePtr=allocate(intArrayFromString(summerName),"i8",ALLOC_NORMAL);if(summer.getTimezoneOffset()>2]=winterNamePtr;HEAP32[__get_tzname()+4>>2]=summerNamePtr}else{HEAP32[__get_tzname()>>2]=summerNamePtr;HEAP32[__get_tzname()+4>>2]=winterNamePtr}}function _localtime_r(time,tmPtr){_tzset();var date=new Date(HEAP32[time>>2]*1e3);HEAP32[tmPtr>>2]=date.getSeconds();HEAP32[tmPtr+4>>2]=date.getMinutes();HEAP32[tmPtr+8>>2]=date.getHours();HEAP32[tmPtr+12>>2]=date.getDate();HEAP32[tmPtr+16>>2]=date.getMonth();HEAP32[tmPtr+20>>2]=date.getFullYear()-1900;HEAP32[tmPtr+24>>2]=date.getDay();var start=new Date(date.getFullYear(),0,1);var yday=(date.getTime()-start.getTime())/(1e3*60*60*24)|0;HEAP32[tmPtr+28>>2]=yday;HEAP32[tmPtr+36>>2]=-(date.getTimezoneOffset()*60);var summerOffset=new Date(date.getFullYear(),6,1).getTimezoneOffset();var winterOffset=start.getTimezoneOffset();var dst=(summerOffset!=winterOffset&&date.getTimezoneOffset()==Math.min(winterOffset,summerOffset))|0;HEAP32[tmPtr+32>>2]=dst;var zonePtr=HEAP32[__get_tzname()+(dst?4:0)>>2];HEAP32[tmPtr+40>>2]=zonePtr;return tmPtr}function _localtime(time){return _localtime_r(time,___tm_current)}function _longjmp(env,value){_setThrew(env,value||1);throw"longjmp"}function _emscripten_memcpy_big(dest,src,num){HEAPU8.set(HEAPU8.subarray(src,src+num),dest)}function __isLeapYear(year){return year%4===0&&(year%100!==0||year%400===0)}function __arraySum(array,index){var sum=0;for(var i=0;i<=index;sum+=array[i++]);return sum}var __MONTH_DAYS_LEAP=[31,29,31,30,31,30,31,31,30,31,30,31];var __MONTH_DAYS_REGULAR=[31,28,31,30,31,30,31,31,30,31,30,31];function __addDays(date,days){var newDate=new Date(date.getTime());while(days>0){var leap=__isLeapYear(newDate.getFullYear());var currentMonth=newDate.getMonth();var daysInCurrentMonth=(leap?__MONTH_DAYS_LEAP:__MONTH_DAYS_REGULAR)[currentMonth];if(days>daysInCurrentMonth-newDate.getDate()){days-=daysInCurrentMonth-newDate.getDate()+1;newDate.setDate(1);if(currentMonth<11){newDate.setMonth(currentMonth+1)}else{newDate.setMonth(0);newDate.setFullYear(newDate.getFullYear()+1)}}else{newDate.setDate(newDate.getDate()+days);return newDate}}return newDate}function _strftime(s,maxsize,format,tm){var tm_zone=HEAP32[tm+40>>2];var date={tm_sec:HEAP32[tm>>2],tm_min:HEAP32[tm+4>>2],tm_hour:HEAP32[tm+8>>2],tm_mday:HEAP32[tm+12>>2],tm_mon:HEAP32[tm+16>>2],tm_year:HEAP32[tm+20>>2],tm_wday:HEAP32[tm+24>>2],tm_yday:HEAP32[tm+28>>2],tm_isdst:HEAP32[tm+32>>2],tm_gmtoff:HEAP32[tm+36>>2],tm_zone:tm_zone?UTF8ToString(tm_zone):""};var pattern=UTF8ToString(format);var EXPANSION_RULES_1={"%c":"%a %b %d %H:%M:%S %Y","%D":"%m/%d/%y","%F":"%Y-%m-%d","%h":"%b","%r":"%I:%M:%S %p","%R":"%H:%M","%T":"%H:%M:%S","%x":"%m/%d/%y","%X":"%H:%M:%S","%Ec":"%c","%EC":"%C","%Ex":"%m/%d/%y","%EX":"%H:%M:%S","%Ey":"%y","%EY":"%Y","%Od":"%d","%Oe":"%e","%OH":"%H","%OI":"%I","%Om":"%m","%OM":"%M","%OS":"%S","%Ou":"%u","%OU":"%U","%OV":"%V","%Ow":"%w","%OW":"%W","%Oy":"%y"};for(var rule in EXPANSION_RULES_1){pattern=pattern.replace(new RegExp(rule,"g"),EXPANSION_RULES_1[rule])}var WEEKDAYS=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"];var MONTHS=["January","February","March","April","May","June","July","August","September","October","November","December"];function leadingSomething(value,digits,character){var str=typeof value==="number"?value.toString():value||"";while(str.length0?1:0}var compare;if((compare=sgn(date1.getFullYear()-date2.getFullYear()))===0){if((compare=sgn(date1.getMonth()-date2.getMonth()))===0){compare=sgn(date1.getDate()-date2.getDate())}}return compare}function getFirstWeekStartDate(janFourth){switch(janFourth.getDay()){case 0:return new Date(janFourth.getFullYear()-1,11,29);case 1:return janFourth;case 2:return new Date(janFourth.getFullYear(),0,3);case 3:return new Date(janFourth.getFullYear(),0,2);case 4:return new Date(janFourth.getFullYear(),0,1);case 5:return new Date(janFourth.getFullYear()-1,11,31);case 6:return new Date(janFourth.getFullYear()-1,11,30)}}function getWeekBasedYear(date){var thisDate=__addDays(new Date(date.tm_year+1900,0,1),date.tm_yday);var janFourthThisYear=new Date(thisDate.getFullYear(),0,4);var janFourthNextYear=new Date(thisDate.getFullYear()+1,0,4);var firstWeekStartThisYear=getFirstWeekStartDate(janFourthThisYear);var firstWeekStartNextYear=getFirstWeekStartDate(janFourthNextYear);if(compareByDay(firstWeekStartThisYear,thisDate)<=0){if(compareByDay(firstWeekStartNextYear,thisDate)<=0){return thisDate.getFullYear()+1}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){return date.tm_wday||7},"%U":function(date){var janFirst=new Date(date.tm_year+1900,0,1);var firstSunday=janFirst.getDay()===0?janFirst:__addDays(janFirst,7-janFirst.getDay());var endDate=new Date(date.tm_year+1900,date.tm_mon,date.tm_mday);if(compareByDay(firstSunday,endDate)<0){var februaryFirstUntilEndMonth=__arraySum(__isLeapYear(endDate.getFullYear())?__MONTH_DAYS_LEAP:__MONTH_DAYS_REGULAR,endDate.getMonth()-1)-31;var firstSundayUntilEndJanuary=31-firstSunday.getDate();var days=firstSundayUntilEndJanuary+februaryFirstUntilEndMonth+endDate.getDate();return leadingNulls(Math.ceil(days/7),2)}return compareByDay(firstSunday,janFirst)===0?"01":"00"},"%V":function(date){var janFourthThisYear=new Date(date.tm_year+1900,0,4);var janFourthNextYear=new Date(date.tm_year+1901,0,4);var firstWeekStartThisYear=getFirstWeekStartDate(janFourthThisYear);var firstWeekStartNextYear=getFirstWeekStartDate(janFourthNextYear);var endDate=__addDays(new Date(date.tm_year+1900,0,1),date.tm_yday);if(compareByDay(endDate,firstWeekStartThisYear)<0){return"53"}if(compareByDay(firstWeekStartNextYear,endDate)<=0){return"01"}var daysDifference;if(firstWeekStartThisYear.getFullYear()=0;off=Math.abs(off)/60;off=off/60*100+off%60;return(ahead?"+":"-")+String("0000"+off).slice(-4)},"%Z":function(date){return date.tm_zone},"%%":function(){return"%"}};for(var rule in EXPANSION_RULES_2){if(pattern.indexOf(rule)>=0){pattern=pattern.replace(new RegExp(rule,"g"),EXPANSION_RULES_2[rule](date))}}var bytes=intArrayFromString(pattern,false);if(bytes.length>maxsize){return 0}writeArrayToMemory(bytes,s);return bytes.length-1}function _strftime_l(s,maxsize,format,tm){return _strftime(s,maxsize,format,tm)}function _time(ptr){var ret=Date.now()/1e3|0;if(ptr){HEAP32[ptr>>2]=ret}return ret}FS.staticInit();embind_init_charCodes();BindingError=Module["BindingError"]=extendError(Error,"BindingError");InternalError=Module["InternalError"]=extendError(Error,"InternalError");init_emval();UnboundTypeError=Module["UnboundTypeError"]=extendError(Error,"UnboundTypeError");var ASSERTIONS=false;function intArrayFromString(stringy,dontAddNull,length){var len=length>0?length:lengthBytesUTF8(stringy)+1;var u8array=new Array(len);var numBytesWritten=stringToUTF8Array(stringy,u8array,0,u8array.length);if(dontAddNull)u8array.length=numBytesWritten;return u8array}function intArrayToString(array){var ret=[];for(var i=0;i255){if(ASSERTIONS){assert(false,"Character code "+chr+" ("+String.fromCharCode(chr)+") at offset "+i+" not in 0x00-0xFF.")}chr&=255}ret.push(String.fromCharCode(chr))}return ret.join("")}var decodeBase64=typeof atob==="function"?atob:function(input){var keyStr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";var output="";var chr1,chr2,chr3;var enc1,enc2,enc3,enc4;var i=0;input=input.replace(/[^A-Za-z0-9\+\/\=]/g,"");do{enc1=keyStr.indexOf(input.charAt(i++));enc2=keyStr.indexOf(input.charAt(i++));enc3=keyStr.indexOf(input.charAt(i++));enc4=keyStr.indexOf(input.charAt(i++));chr1=enc1<<2|enc2>>4;chr2=(enc2&15)<<4|enc3>>2;chr3=(enc3&3)<<6|enc4;output=output+String.fromCharCode(chr1);if(enc3!==64){output=output+String.fromCharCode(chr2)}if(enc4!==64){output=output+String.fromCharCode(chr3)}}while(i-1){artoolkit.teardown(this.id)}if(this.image&&this.image.srcObject){ARController._teardownVideo(this.image)}for(var t in this){this[t]=null}};ARController.prototype.process=function(image){var result=this.detectMarker(image);if(result!=0){console.error("detectMarker error: "+result)}var markerNum=this.getMarkerNum();var k,o;for(k in this.patternMarkers){o=this.patternMarkers[k];o.inPrevious=o.inCurrent;o.inCurrent=false}for(k in this.barcodeMarkers){o=this.barcodeMarkers[k];o.inPrevious=o.inCurrent;o.inCurrent=false}for(k in this.nftMarkers){o=this.nftMarkers[k];o.inPrevious=o.inCurrent;o.inCurrent=false}for(var i=0;i-1&&(markerInfo.id===markerInfo.idPatt||markerInfo.idMatrix===-1)){visible=this.trackPatternMarkerId(markerInfo.idPatt);markerType=artoolkit.PATTERN_MARKER;if(markerInfo.dir!==markerInfo.dirPatt){this.setMarkerInfoDir(i,markerInfo.dirPatt)}}else if(markerInfo.idMatrix>-1){visible=this.trackBarcodeMarkerId(markerInfo.idMatrix);markerType=artoolkit.BARCODE_MARKER;if(markerInfo.dir!==markerInfo.dirMatrix){this.setMarkerInfoDir(i,markerInfo.dirMatrix)}}if(markerType!==artoolkit.UNKNOWN_MARKER&&visible.inPrevious){this.getTransMatSquareCont(i,visible.markerWidth,visible.matrix,visible.matrix)}else{this.getTransMatSquare(i,visible.markerWidth,visible.matrix)}visible.inCurrent=true;this.transMatToGLMat(visible.matrix,this.transform_mat);this.transformGL_RH=this.arglCameraViewRHf(this.transform_mat);this.dispatchEvent({name:"getMarker",target:this,data:{index:i,type:markerType,marker:markerInfo,matrix:this.transform_mat,matrixGL_RH:this.transformGL_RH}})}var nftMarkerCount=this.nftMarkerCount;this.detectNFTMarker();var MARKER_LOST_TIME=200;for(var i=0;i=0){visible=true;this.dispatchEvent({name:"getMultiMarker",target:this,data:{multiMarkerId:i,matrix:this.transform_mat,matrixGL_RH:this.transformGL_RH}});break}}if(visible){for(var j=0;j-1){this.listeners[name].splice(index,1)}}};ARController.prototype.dispatchEvent=function(event){var listeners=this.listeners[event.name];if(listeners){for(var i=0;i>3;q+=4}}if(this.dataHeap){this.dataHeap.set(data);return true}return false};ARController.prototype._debugMarker=function(marker){var vertex,pos;vertex=marker.vertex;var ctx=this.ctx;ctx.strokeStyle="red";ctx.beginPath();ctx.moveTo(vertex[0][0],vertex[0][1]);ctx.lineTo(vertex[1][0],vertex[1][1]);ctx.stroke();ctx.beginPath();ctx.moveTo(vertex[2][0],vertex[2][1]);ctx.lineTo(vertex[3][0],vertex[3][1]);ctx.stroke();ctx.strokeStyle="green";ctx.beginPath();ctx.lineTo(vertex[1][0],vertex[1][1]);ctx.lineTo(vertex[2][0],vertex[2][1]);ctx.stroke();ctx.beginPath();ctx.moveTo(vertex[3][0],vertex[3][1]);ctx.lineTo(vertex[0][0],vertex[0][1]);ctx.stroke();pos=marker.pos;ctx.beginPath();ctx.arc(pos[0],pos[1],8,0,Math.PI*2);ctx.fillStyle="red";ctx.fill()};ARController.getUserMedia=function(configuration){var facing=configuration.facingMode||"environment";var onSuccess=configuration.onSuccess;var onError=configuration.onError||function(err){console.error("ARController.getUserMedia",err)};var video=document.createElement("video");var readyToPlay=false;var eventNames=["touchstart","touchend","touchmove","touchcancel","click","mousedown","mouseup","mousemove","keydown","keyup","keypress","scroll"];var play=function(){if(readyToPlay){video.play().then(function(){onSuccess(video)}).catch(function(error){onError(error);ARController._teardownVideo(video)});if(!video.paused){eventNames.forEach(function(eventName){window.removeEventListener(eventName,play,true)})}}};eventNames.forEach(function(eventName){window.addEventListener(eventName,play,true)});var success=function(stream){if(window.URL.createObjectURL){try{video.srcObject=stream}catch(ex){}}video.srcObject=stream;readyToPlay=true;video.autoplay=true;video.playsInline=true;play()};var constraints={};var mediaDevicesConstraints={};if(configuration.width){mediaDevicesConstraints.width=configuration.width;if(typeof configuration.width==="object"){if(configuration.width.max){constraints.maxWidth=configuration.width.max}if(configuration.width.min){constraints.minWidth=configuration.width.min}}else{constraints.maxWidth=configuration.width}}if(configuration.height){mediaDevicesConstraints.height=configuration.height;if(typeof configuration.height==="object"){if(configuration.height.max){constraints.maxHeight=configuration.height.max}if(configuration.height.min){constraints.minHeight=configuration.height.min}}else{constraints.maxHeight=configuration.height}}mediaDevicesConstraints.facingMode=facing;mediaDevicesConstraints.deviceId=configuration.deviceId;navigator.getUserMedia=navigator.getUserMedia||navigator.webkitGetUserMedia||navigator.mozGetUserMedia||navigator.msGetUserMedia;var hdConstraints={audio:false,video:constraints};if(navigator.mediaDevices||window.MediaStreamTrack.getSources){if(navigator.mediaDevices){navigator.mediaDevices.getUserMedia({audio:false,video:mediaDevicesConstraints}).then(success,onError)}else{window.MediaStreamTrack.getSources(function(sources){var facingDir=mediaDevicesConstraints.facingMode;if(facing&&facing.exact){facingDir=facing.exact}for(var i=0;i-1){writeStringToFS(filename,url,writeCallback)}else{ajax(url,filename,writeCallback,errorCallback)}}function writeStringToFS(target,string,callback){var byteArray=new Uint8Array(string.length);for(var i=0;i1){thisProgram=process["argv"][1].replace(/\\/g,"/")}arguments_=process["argv"].slice(2);if(typeof module!=="undefined"){module["exports"]=Module}process["on"]("uncaughtException",function(ex){if(!(ex instanceof ExitStatus)){throw ex}});process["on"]("unhandledRejection",abort);quit_=function(status){process["exit"](status)};Module["inspect"]=function(){return"[Emscripten Module object]"}}else if(ENVIRONMENT_IS_SHELL){if(typeof read!="undefined"){read_=function shell_read(f){var data=tryParseAsDataURI(f);if(data){return intArrayToString(data)}return read(f)}}readBinary=function readBinary(f){var data;data=tryParseAsDataURI(f);if(data){return data}if(typeof readbuffer==="function"){return new Uint8Array(readbuffer(f))}data=read(f,"binary");assert(typeof data==="object");return data};if(typeof scriptArgs!="undefined"){arguments_=scriptArgs}else if(typeof arguments!="undefined"){arguments_=arguments}if(typeof quit==="function"){quit_=function(status){quit(status)}}if(typeof print!=="undefined"){if(typeof console==="undefined")console={};console.log=print;console.warn=console.error=typeof printErr!=="undefined"?printErr:print}}else if(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER){if(ENVIRONMENT_IS_WORKER){scriptDirectory=self.location.href}else if(document.currentScript){scriptDirectory=document.currentScript.src}if(scriptDirectory.indexOf("blob:")!==0){scriptDirectory=scriptDirectory.substr(0,scriptDirectory.lastIndexOf("/")+1)}else{scriptDirectory=""}{read_=function shell_read(url){try{var xhr=new XMLHttpRequest;xhr.open("GET",url,false);xhr.send(null);return xhr.responseText}catch(err){var data=tryParseAsDataURI(url);if(data){return intArrayToString(data)}throw err}};if(ENVIRONMENT_IS_WORKER){readBinary=function readBinary(url){try{var xhr=new XMLHttpRequest;xhr.open("GET",url,false);xhr.responseType="arraybuffer";xhr.send(null);return new Uint8Array(xhr.response)}catch(err){var data=tryParseAsDataURI(url);if(data){return data}throw err}}}readAsync=function readAsync(url,onload,onerror){var xhr=new XMLHttpRequest;xhr.open("GET",url,true);xhr.responseType="arraybuffer";xhr.onload=function xhr_onload(){if(xhr.status==200||xhr.status==0&&xhr.response){onload(xhr.response);return}var data=tryParseAsDataURI(url);if(data){onload(data.buffer);return}onerror()};xhr.onerror=onerror;xhr.send(null)}}setWindowTitle=function(title){document.title=title}}else{}var out=Module["print"]||console.log.bind(console);var err=Module["printErr"]||console.warn.bind(console);for(key in moduleOverrides){if(moduleOverrides.hasOwnProperty(key)){Module[key]=moduleOverrides[key]}}moduleOverrides=null;if(Module["arguments"])arguments_=Module["arguments"];if(Module["thisProgram"])thisProgram=Module["thisProgram"];if(Module["quit"])quit_=Module["quit"];var STACK_ALIGN=16;function dynamicAlloc(size){var ret=HEAP32[DYNAMICTOP_PTR>>2];var end=ret+size+15&-16;if(end>_emscripten_get_heap_size()){abort()}HEAP32[DYNAMICTOP_PTR>>2]=end;return ret}function getNativeTypeSize(type){switch(type){case"i1":case"i8":return 1;case"i16":return 2;case"i32":return 4;case"i64":return 8;case"float":return 4;case"double":return 8;default:{if(type[type.length-1]==="*"){return 4}else if(type[0]==="i"){var bits=parseInt(type.substr(1));assert(bits%8===0,"getNativeTypeSize invalid bits "+bits+", type "+type);return bits/8}else{return 0}}}}function warnOnce(text){if(!warnOnce.shown)warnOnce.shown={};if(!warnOnce.shown[text]){warnOnce.shown[text]=1;err(text)}}var jsCallStartIndex=1;var functionPointers=new Array(0);var funcWrappers={};function dynCall(sig,ptr,args){if(args&&args.length){return Module["dynCall_"+sig].apply(null,[ptr].concat(args))}else{return Module["dynCall_"+sig].call(null,ptr)}}var tempRet0=0;var setTempRet0=function(value){tempRet0=value};var getTempRet0=function(){return tempRet0};var GLOBAL_BASE=8;var wasmBinary;if(Module["wasmBinary"])wasmBinary=Module["wasmBinary"];var noExitRuntime;if(Module["noExitRuntime"])noExitRuntime=Module["noExitRuntime"];function setValue(ptr,value,type,noSafe){type=type||"i8";if(type.charAt(type.length-1)==="*")type="i32";switch(type){case"i1":HEAP8[ptr>>0]=value;break;case"i8":HEAP8[ptr>>0]=value;break;case"i16":HEAP16[ptr>>1]=value;break;case"i32":HEAP32[ptr>>2]=value;break;case"i64":tempI64=[value>>>0,(tempDouble=value,+Math_abs(tempDouble)>=+1?tempDouble>+0?(Math_min(+Math_floor(tempDouble/+4294967296),+4294967295)|0)>>>0:~~+Math_ceil((tempDouble-+(~~tempDouble>>>0))/+4294967296)>>>0:0)],HEAP32[ptr>>2]=tempI64[0],HEAP32[ptr+4>>2]=tempI64[1];break;case"float":HEAPF32[ptr>>2]=value;break;case"double":HEAPF64[ptr>>3]=value;break;default:abort("invalid type for setValue: "+type)}}var ABORT=false;var EXITSTATUS=0;function assert(condition,text){if(!condition){abort("Assertion failed: "+text)}}function getCFunc(ident){var func=Module["_"+ident];assert(func,"Cannot call unknown function "+ident+", make sure it is exported");return func}function ccall(ident,returnType,argTypes,args,opts){var toC={"string":function(str){var ret=0;if(str!==null&&str!==undefined&&str!==0){var len=(str.length<<2)+1;ret=stackAlloc(len);stringToUTF8(str,ret,len)}return ret},"array":function(arr){var ret=stackAlloc(arr.length);writeArrayToMemory(arr,ret);return ret}};function convertReturnValue(ret){if(returnType==="string")return UTF8ToString(ret);if(returnType==="boolean")return Boolean(ret);return ret}var func=getCFunc(ident);var cArgs=[];var stack=0;if(args){for(var i=0;i>2]=0}stop=ret+size;while(ptr>0]=0}return ret}if(singleType==="i8"){if(slab.subarray||slab.slice){HEAPU8.set(slab,ret)}else{HEAPU8.set(new Uint8Array(slab),ret)}return ret}var i=0,type,typeSize,previousType;while(i=endIdx))++endPtr;if(endPtr-idx>16&&u8Array.subarray&&UTF8Decoder){return UTF8Decoder.decode(u8Array.subarray(idx,endPtr))}else{var str="";while(idx>10,56320|ch&1023)}}}return str}function UTF8ToString(ptr,maxBytesToRead){return ptr?UTF8ArrayToString(HEAPU8,ptr,maxBytesToRead):""}function stringToUTF8Array(str,outU8Array,outIdx,maxBytesToWrite){if(!(maxBytesToWrite>0))return 0;var startIdx=outIdx;var endIdx=outIdx+maxBytesToWrite-1;for(var i=0;i=55296&&u<=57343){var u1=str.charCodeAt(++i);u=65536+((u&1023)<<10)|u1&1023}if(u<=127){if(outIdx>=endIdx)break;outU8Array[outIdx++]=u}else if(u<=2047){if(outIdx+1>=endIdx)break;outU8Array[outIdx++]=192|u>>6;outU8Array[outIdx++]=128|u&63}else if(u<=65535){if(outIdx+2>=endIdx)break;outU8Array[outIdx++]=224|u>>12;outU8Array[outIdx++]=128|u>>6&63;outU8Array[outIdx++]=128|u&63}else{if(outIdx+3>=endIdx)break;outU8Array[outIdx++]=240|u>>18;outU8Array[outIdx++]=128|u>>12&63;outU8Array[outIdx++]=128|u>>6&63;outU8Array[outIdx++]=128|u&63}}outU8Array[outIdx]=0;return outIdx-startIdx}function stringToUTF8(str,outPtr,maxBytesToWrite){return stringToUTF8Array(str,HEAPU8,outPtr,maxBytesToWrite)}function lengthBytesUTF8(str){var len=0;for(var i=0;i=55296&&u<=57343)u=65536+((u&1023)<<10)|str.charCodeAt(++i)&1023;if(u<=127)++len;else if(u<=2047)len+=2;else if(u<=65535)len+=3;else len+=4}return len}var UTF16Decoder=typeof TextDecoder!=="undefined"?new TextDecoder("utf-16le"):undefined;function allocateUTF8(str){var size=lengthBytesUTF8(str)+1;var ret=_malloc(size);if(ret)stringToUTF8Array(str,HEAP8,ret,size);return ret}function writeArrayToMemory(array,buffer){HEAP8.set(array,buffer)}function writeAsciiToMemory(str,buffer,dontAddNull){for(var i=0;i>0]=str.charCodeAt(i)}if(!dontAddNull)HEAP8[buffer>>0]=0}var buffer,HEAP8,HEAPU8,HEAP16,HEAPU16,HEAP32,HEAPU32,HEAPF32,HEAPF64;function updateGlobalBufferAndViews(buf){buffer=buf;Module["HEAP8"]=HEAP8=new Int8Array(buf);Module["HEAP16"]=HEAP16=new Int16Array(buf);Module["HEAP32"]=HEAP32=new Int32Array(buf);Module["HEAPU8"]=HEAPU8=new Uint8Array(buf);Module["HEAPU16"]=HEAPU16=new Uint16Array(buf);Module["HEAPU32"]=HEAPU32=new Uint32Array(buf);Module["HEAPF32"]=HEAPF32=new Float32Array(buf);Module["HEAPF64"]=HEAPF64=new Float64Array(buf)}var STACK_BASE=58736,DYNAMIC_BASE=5301616,DYNAMICTOP_PTR=58544;var INITIAL_TOTAL_MEMORY=Module["TOTAL_MEMORY"]||268435456;if(Module["buffer"]){buffer=Module["buffer"]}else{buffer=new ArrayBuffer(INITIAL_TOTAL_MEMORY)}INITIAL_TOTAL_MEMORY=buffer.byteLength;updateGlobalBufferAndViews(buffer);HEAP32[DYNAMICTOP_PTR>>2]=DYNAMIC_BASE;function callRuntimeCallbacks(callbacks){while(callbacks.length>0){var callback=callbacks.shift();if(typeof callback=="function"){callback();continue}var func=callback.func;if(typeof func==="number"){if(callback.arg===undefined){Module["dynCall_v"](func)}else{Module["dynCall_vi"](func,callback.arg)}}else{func(callback.arg===undefined?null:callback.arg)}}}var __ATPRERUN__=[];var __ATINIT__=[];var __ATMAIN__=[];var __ATPOSTRUN__=[];var runtimeInitialized=false;var runtimeExited=false;function preRun(){if(Module["preRun"]){if(typeof Module["preRun"]=="function")Module["preRun"]=[Module["preRun"]];while(Module["preRun"].length){addOnPreRun(Module["preRun"].shift())}}callRuntimeCallbacks(__ATPRERUN__)}function initRuntime(){runtimeInitialized=true;if(!Module["noFSInit"]&&!FS.init.initialized)FS.init();TTY.init();callRuntimeCallbacks(__ATINIT__)}function preMain(){FS.ignorePermissions=false;callRuntimeCallbacks(__ATMAIN__)}function exitRuntime(){runtimeExited=true}function postRun(){if(Module["postRun"]){if(typeof Module["postRun"]=="function")Module["postRun"]=[Module["postRun"]];while(Module["postRun"].length){addOnPostRun(Module["postRun"].shift())}}callRuntimeCallbacks(__ATPOSTRUN__)}function addOnPreRun(cb){__ATPRERUN__.unshift(cb)}function addOnPostRun(cb){__ATPOSTRUN__.unshift(cb)}var Math_abs=Math.abs;var Math_ceil=Math.ceil;var Math_floor=Math.floor;var Math_min=Math.min;var runDependencies=0;var runDependencyWatcher=null;var dependenciesFulfilled=null;function getUniqueRunDependency(id){return id}function addRunDependency(id){runDependencies++;if(Module["monitorRunDependencies"]){Module["monitorRunDependencies"](runDependencies)}}function removeRunDependency(id){runDependencies--;if(Module["monitorRunDependencies"]){Module["monitorRunDependencies"](runDependencies)}if(runDependencies==0){if(runDependencyWatcher!==null){clearInterval(runDependencyWatcher);runDependencyWatcher=null}if(dependenciesFulfilled){var callback=dependenciesFulfilled;dependenciesFulfilled=null;callback()}}}Module["preloadedImages"]={};Module["preloadedAudios"]={};function abort(what){if(Module["onAbort"]){Module["onAbort"](what)}what+="";out(what);err(what);ABORT=true;EXITSTATUS=1;what="abort("+what+"). Build with -s ASSERTIONS=1 for more info.";throw what}var memoryInitializer=null;var dataURIPrefix="data:application/octet-stream;base64,";function isDataURI(filename){return String.prototype.startsWith?filename.startsWith(dataURIPrefix):filename.indexOf(dataURIPrefix)===0}var tempDouble;var tempI64;var ASM_CONSTS=[function($0,$1,$2,$3,$4,$5){if(!artoolkit["frameMalloc"]){artoolkit["frameMalloc"]={}}var frameMalloc=artoolkit["frameMalloc"];frameMalloc["framepointer"]=$1;frameMalloc["framesize"]=$2;frameMalloc["camera"]=$3;frameMalloc["transform"]=$4;frameMalloc["videoLumaPointer"]=$5},function($0,$1,$2,$3){if(!artoolkit["multiEachMarkerInfo"]){artoolkit["multiEachMarkerInfo"]={}}var multiEachMarker=artoolkit["multiEachMarkerInfo"];multiEachMarker["visible"]=$0;multiEachMarker["pattId"]=$1;multiEachMarker["pattType"]=$2;multiEachMarker["width"]=$3},function($0,$1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12,$13,$14,$15,$16,$17,$18,$19,$20,$21,$22,$23,$24,$25,$26,$27,$28,$29,$30,$31,$32){var $a=arguments;var i=12;if(!artoolkit["markerInfo"]){artoolkit["markerInfo"]={pos:[0,0],line:[[0,0,0],[0,0,0],[0,0,0],[0,0,0]],vertex:[[0,0],[0,0],[0,0],[0,0]]}}var markerInfo=artoolkit["markerInfo"];markerInfo["area"]=$0;markerInfo["id"]=$1;markerInfo["idPatt"]=$2;markerInfo["idMatrix"]=$3;markerInfo["dir"]=$4;markerInfo["dirPatt"]=$5;markerInfo["dirMatrix"]=$6;markerInfo["cf"]=$7;markerInfo["cfPatt"]=$8;markerInfo["cfMatrix"]=$9;markerInfo["pos"][0]=$10;markerInfo["pos"][1]=$11;markerInfo["line"][0][0]=$a[i++];markerInfo["line"][0][1]=$a[i++];markerInfo["line"][0][2]=$a[i++];markerInfo["line"][1][0]=$a[i++];markerInfo["line"][1][1]=$a[i++];markerInfo["line"][1][2]=$a[i++];markerInfo["line"][2][0]=$a[i++];markerInfo["line"][2][1]=$a[i++];markerInfo["line"][2][2]=$a[i++];markerInfo["line"][3][0]=$a[i++];markerInfo["line"][3][1]=$a[i++];markerInfo["line"][3][2]=$a[i++];markerInfo["vertex"][0][0]=$a[i++];markerInfo["vertex"][0][1]=$a[i++];markerInfo["vertex"][1][0]=$a[i++];markerInfo["vertex"][1][1]=$a[i++];markerInfo["vertex"][2][0]=$a[i++];markerInfo["vertex"][2][1]=$a[i++];markerInfo["vertex"][3][0]=$a[i++];markerInfo["vertex"][3][1]=$a[i++];markerInfo["errorCorrected"]=$a[i++]},function($0,$1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12,$13){var $a=arguments;var i=0;if(!artoolkit["NFTMarkerInfo"]){artoolkit["NFTMarkerInfo"]={id:0,error:-1,found:0,pose:[0,0,0,0,0,0,0,0,0,0,0,0]}}var markerInfo=artoolkit["NFTMarkerInfo"];markerInfo["id"]=$a[i++];markerInfo["error"]=$a[i++];markerInfo["found"]=1;markerInfo["pose"][0]=$a[i++];markerInfo["pose"][1]=$a[i++];markerInfo["pose"][2]=$a[i++];markerInfo["pose"][3]=$a[i++];markerInfo["pose"][4]=$a[i++];markerInfo["pose"][5]=$a[i++];markerInfo["pose"][6]=$a[i++];markerInfo["pose"][7]=$a[i++];markerInfo["pose"][8]=$a[i++];markerInfo["pose"][9]=$a[i++];markerInfo["pose"][10]=$a[i++];markerInfo["pose"][11]=$a[i++]},function($0){var $a=arguments;var i=0;if(!artoolkit["NFTMarkerInfo"]){artoolkit["NFTMarkerInfo"]={id:0,error:-1,found:0,pose:[0,0,0,0,0,0,0,0,0,0,0,0]}}var markerInfo=artoolkit["NFTMarkerInfo"];markerInfo["id"]=$a[i++];markerInfo["error"]=-1;markerInfo["found"]=0;markerInfo["pose"][0]=0;markerInfo["pose"][1]=0;markerInfo["pose"][2]=0;markerInfo["pose"][3]=0;markerInfo["pose"][4]=0;markerInfo["pose"][5]=0;markerInfo["pose"][6]=0;markerInfo["pose"][7]=0;markerInfo["pose"][8]=0;markerInfo["pose"][9]=0;markerInfo["pose"][10]=0;markerInfo["pose"][11]=0}];function _emscripten_asm_const_iiiiiii(code,a0,a1,a2,a3,a4,a5){return ASM_CONSTS[code](a0,a1,a2,a3,a4,a5)}function _emscripten_asm_const_iiiid(code,a0,a1,a2,a3){return ASM_CONSTS[code](a0,a1,a2,a3)}function _emscripten_asm_const_iiddddddddddddd(code,a0,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13){return ASM_CONSTS[code](a0,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13)}function _emscripten_asm_const_ii(code,a0){return ASM_CONSTS[code](a0)}function _emscripten_asm_const_iiiiiiiidddddddddddddddddddddddddi(code,a0,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21,a22,a23,a24,a25,a26,a27,a28,a29,a30,a31,a32){return ASM_CONSTS[code](a0,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21,a22,a23,a24,a25,a26,a27,a28,a29,a30,a31,a32)}__ATINIT__.push({func:function(){__GLOBAL__I_000101()}},{func:function(){__GLOBAL__sub_I_ARToolKitJS_cpp()}},{func:function(){___emscripten_environ_constructor()}},{func:function(){__GLOBAL__sub_I_bind_cpp()}},{func:function(){__GLOBAL__sub_I_iostream_cpp()}});memoryInitializer="data:application/octet-stream;base64,AAAAAAAAAACKTQAAkU0AAJ1NAACnTQAAtU0AAAAAAAAAAAAAAAAAAP//////////AAAAAAEAAAABAAAAAQAAAAAAAAD/////AAAAAAEAAAABAAAAAQAAAAAAAAD///////////////8AAAABAAEBAQACBP//BQMBAAL/Bgf/AwECAgMCAwIDAwD/BAYHBf8BBAUEBAUFBAUHBgYGBwcHBv8CBAYHBQP/AAEBAQEBAQABAQEAAAEBAQEBAAEBAAEBAQABAQEBAAEBAAEBAQEAAQEBAAEBAAEBAQEBAAABAQEAAQEBAQEBAAD//wP/BQb//wkK/wz//w//ERL/FP//Fxj//xv/HR7//wEC/wT//wcI//8L/w0O/xD//xP/FRb//xka/xz//x8BAAAAAgAAAAQAAAAIAAAAEAAAAAUAAAAKAAAAFAAAAA0AAAAaAAAAEQAAAAcAAAAOAAAAHAAAAB0AAAAfAAAAGwAAABMAAAADAAAABgAAAAwAAAAYAAAAFQAAAA8AAAAeAAAAGQAAABcAAAALAAAAFgAAAAkAAAASAAAAAAAAAAEAAAACAAAABAAAAAgAAAADAAAABgAAAAwAAAALAAAABQAAAAoAAAAHAAAADgAAAA8AAAANAAAACQAAAAAAAAD/////AAAAAAEAAAASAAAAAgAAAAUAAAATAAAACwAAAAMAAAAdAAAABgAAABsAAAAUAAAACAAAAAwAAAAXAAAABAAAAAoAAAAeAAAAEQAAAAcAAAAWAAAAHAAAABoAAAAVAAAAGQAAAAkAAAAQAAAADQAAAA4AAAAYAAAADwAAAP////8AAAAAAQAAAAQAAAACAAAACAAAAAUAAAAKAAAAAwAAAA4AAAAJAAAABwAAAAYAAAANAAAACwAAAAwAAAABAAAAAgAAAAQAAAAIAAAAEAAAACAAAABAAAAAAwAAAAYAAAAMAAAAGAAAADAAAABgAAAAQwAAAAUAAAAKAAAAFAAAACgAAABQAAAAIwAAAEYAAAAPAAAAHgAAADwAAAB4AAAAcwAAAGUAAABJAAAAEQAAACIAAABEAAAACwAAABYAAAAsAAAAWAAAADMAAABmAAAATwAAAB0AAAA6AAAAdAAAAGsAAABVAAAAKQAAAFIAAAAnAAAATgAAAB8AAAA+AAAAfAAAAHsAAAB1AAAAaQAAAFEAAAAhAAAAQgAAAAcAAAAOAAAAHAAAADgAAABwAAAAYwAAAEUAAAAJAAAAEgAAACQAAABIAAAAEwAAACYAAABMAAAAGwAAADYAAABsAAAAWwAAADUAAABqAAAAVwAAAC0AAABaAAAANwAAAG4AAABfAAAAPQAAAHoAAAB3AAAAbQAAAFkAAAAxAAAAYgAAAEcAAAANAAAAGgAAADQAAABoAAAAUwAAACUAAABKAAAAFwAAAC4AAABcAAAAOwAAAHYAAABvAAAAXQAAADkAAAByAAAAZwAAAE0AAAAZAAAAMgAAAGQAAABLAAAAFQAAACoAAABUAAAAKwAAAFYAAAAvAAAAXgAAAD8AAAB+AAAAfwAAAH0AAAB5AAAAcQAAAGEAAABBAAAAAAAAAP////8AAAAAAQAAAAcAAAACAAAADgAAAAgAAAA4AAAAAwAAAD8AAAAPAAAAHwAAAAkAAABaAAAAOQAAABUAAAAEAAAAHAAAAEAAAABDAAAAEAAAAHAAAAAgAAAAYQAAAAoAAABsAAAAWwAAAEYAAAA6AAAAJgAAABYAAAAvAAAABQAAADYAAAAdAAAAEwAAAEEAAABfAAAARAAAAC0AAAARAAAAKwAAAHEAAABzAAAAIQAAAE0AAABiAAAAdQAAAAsAAABXAAAAbQAAACMAAABcAAAASgAAAEcAAABPAAAAOwAAAGgAAAAnAAAAZAAAABcAAABSAAAAMAAAAHcAAAAGAAAAfgAAADcAAAANAAAAHgAAAD4AAAAUAAAAWQAAAEIAAAAbAAAAYAAAAG8AAABFAAAAawAAAC4AAAAlAAAAEgAAADUAAAAsAAAAXgAAAHIAAAAqAAAAdAAAAEwAAAAiAAAAVgAAAE4AAABJAAAAYwAAAGcAAAB2AAAAUQAAAAwAAAB9AAAAWAAAAD0AAABuAAAAGgAAACQAAABqAAAAXQAAADQAAABLAAAAKQAAAEgAAABVAAAAUAAAAGYAAAA8AAAAfAAAAGkAAAAZAAAAKAAAADMAAABlAAAAVAAAABgAAAB7AAAAUwAAADIAAAAxAAAAegAAAHgAAAB5AAAABAAAAIgAAAAFAAAAkAAAAAYAAACYAAAACQAAALAAAAA3VAAAPVQAAEJUAABKVAAAAAAAALK+uT4S3KC+kL45PhLcoL6Qvjm+AAAAgLK+ub4S3KA+kL45vhLcoD6Qvjk+0nIYvwAAAADScpi+OgYEv9JymD46BgS/0nIYPwAAAIDScpg+OgYEP9JymL46BgQ/AAAAgFa4Pb9mTSQ/Vri9vmZNJD9WuL0+AAAAAFa4PT9mTSS/Vri9PmZNJL9WuL2+DOlYPwAAAIAM6dg+mdk7Pwzp2L6Z2Ts/DOlYvwAAAAAM6di+mdk7vwzp2D6Z2Tu/AAAAAPxTbj/xZU6/DVTuPvFlTr8NVO6+AAAAgPxTbr/xZU4/DVTuvvFlTj8NVO4+AACAvwAAAAAAAAC/0LNdvwAAAD/Qs12/AACAPwAAAIAAAAA/0LNdPwAAAL/Qs10/ADcAAAA3AAAANwAAADcAAAAAAAABAAAACAAAABAAAAAJAAAAAgAAAAMAAAAKAAAAEQAAABgAAAAgAAAAGQAAABIAAAALAAAABAAAAAUAAAAMAAAAEwAAABoAAAAhAAAAKAAAADAAAAApAAAAIgAAABsAAAAUAAAADQAAAAYAAAAHAAAADgAAABUAAAAcAAAAIwAAACoAAAAxAAAAOAAAADkAAAAyAAAAKwAAACQAAAAdAAAAFgAAAA8AAAAXAAAAHgAAACUAAAAsAAAAMwAAADoAAAA7AAAANAAAAC0AAAAmAAAAHwAAACcAAAAuAAAANQAAADwAAAA9AAAANgAAAC8AAAA3AAAAPgAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAAAAAAAEAAAAIAAAAEAAAAAkAAAACAAAAAwAAAAoAAAARAAAAGAAAACAAAAAZAAAAEgAAAAsAAAAEAAAABQAAAAwAAAATAAAAGgAAACEAAAAoAAAAMAAAACkAAAAiAAAAGwAAABQAAAANAAAABgAAAA4AAAAVAAAAHAAAACMAAAAqAAAAMQAAADIAAAArAAAAJAAAAB0AAAAWAAAAHgAAACUAAAAsAAAAMwAAADQAAAAtAAAAJgAAAC4AAAA1AAAANgAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAgAAAAQAAAACQAAAAIAAAADAAAACgAAABEAAAAYAAAAIAAAABkAAAASAAAACwAAAAQAAAAFAAAADAAAABMAAAAaAAAAIQAAACgAAAApAAAAIgAAABsAAAAUAAAADQAAABUAAAAcAAAAIwAAACoAAAArAAAAJAAAAB0AAAAlAAAALAAAAC0AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAAAAAAAEAAAAIAAAAEAAAAAkAAAACAAAAAwAAAAoAAAARAAAAGAAAACAAAAAZAAAAEgAAAAsAAAAEAAAADAAAABMAAAAaAAAAIQAAACIAAAAbAAAAFAAAABwAAAAjAAAAJAAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAgAAAAQAAAACQAAAAIAAAADAAAACgAAABEAAAAYAAAAGQAAABIAAAALAAAAEwAAABoAAAAbAAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAAAAAAABAAAACAAAABAAAAAJAAAAAgAAAAoAAAARAAAAEgAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAgAAAAJAAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAIEBHVoOAoYlEAMUERIECwgUBdgDFwbaARkH5QAcCG8AHgk2ACEKGgAjCw0ACQwGAAoNAwAMDQEAjw9/WiQQJT8mEfIsJxJ8ICgTuRcqFIIRKxXvDC0WoQkuFy8HMBhcBTEZBgQzGgMDNBtAAjYcsQE4HUQBOR71ADsftwA8IIoAPiFoAD8iTgAgIzsAIQksAKUl4VpAJkxIQScNOkMo8S5EKR8mRSozH0YrqBlILBgVSS13EUoudA5LL/sLTTD4CU4xYQhPMgYHMDPNBTI03gQyNQ8EMzZjAzQ31AI1OFwCNjn4ATc6pAE4O2ABOTwlATo99gA7PssAPT+rAD0gjwDBQRJbUEIETVFDLEFSRNg3U0XoL1RGPClWR3kjV0jfHldJqRpISk4XSEskFEpMnBFKTWsPS05RDU1PtgtNMEAK0FEyWFhSHE1ZU45DWlTdO1tV7jRcVq4uXVeaKVZHFiXYWXBVX1qpTGBb2URhXCI+Y10kOGNetDJdVhcu32CoVmVhRk9mYuVHZ2PPQWhkPTxjXV43aWYxUmpnD0xraDlGZ2NeQelqJ1Zsa+dQbWeFS25tl1Vva09Q7m8QWnBtIlXwb+tZcXEdWgAAAAAAAAAAH6cAADWnAABVpwAAeqcAAJSnAACzpwAAyKcAAOWnAAAPqAAAT6gAAG6oAACFqAAAm6gAAK+oAADsqAAAHKkAADipAABbqQAAkqkAAMmpAADgqQAAAKoAACqqAAB3qgAAkqoAAL2qAADZqgAA/qoAACSrAABJqwAAXKsAAHGrAACEqwAAl6sAALyrAADRqwAA5asAAAasAAAcrAAAS6wAAHOsAACUrAAAtawAAOSsAAD1rAAAEa0AAE+tAAB2rQAAna0AALGtAADfrQAAB64AACOuAABIrgAAaq4AAJSuAAC/rgAA3a4AAAuvAAAzrwAAWq8AAIWvAACyrwAA4q8AAAywAAA5sAAAXLAAAHqwAACYsAAAzrAAAPiwAAAXsQAAOrEAAGGxAAB2sQAAirEAAL+xAADPsQAADbIAAE+yAAB5sgAApbIAAMyyAADosgAAE7MAAC6zAABCswAAWbMAAGazAACOswAAw7MAAP+zAAAttAAATrQAAHW0AACOtAAAtrQAANm0AADxtAAAFbUAADq1AABAtQAAebUAALO1AADStQAA4bUAAP61AAActgAAObYAAFK2AABrtgAArbYAAOe2AAAdtwAAUbcAAGW3AAB8twAAorcAAMm3AAALuAAAR7gAAHi4AACcuAAAyrgAAOW4AAAduQAASLkAAAAAAAAAAAAAAQAAAAIAAAADAAAAAAAAAAEAAAAFAAAAAgAAAAQAAAAGAAAAAwAAAAcAAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAABgAAAAIAAAAEAAAABwAAAAwAAAADAAAACAAAAAsAAAANAAAACQAAAAoAAAAOAAAADwAAAAAAAAABAAAABQAAAAYAAAAOAAAAAgAAAAQAAAAHAAAADQAAAA8AAAADAAAACAAAAAwAAAAQAAAAFQAAAAkAAAALAAAAEQAAABQAAAAWAAAACgAAABIAAAATAAAAFwAAABgAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAUAAAAGAAAADgAAAA8AAAACAAAABAAAAAcAAAANAAAAEAAAABkAAAADAAAACAAAAAwAAAARAAAAGAAAABoAAAAJAAAACwAAABIAAAAXAAAAGwAAACAAAAAKAAAAEwAAABYAAAAcAAAAHwAAACEAAAAUAAAAFQAAAB0AAAAeAAAAIgAAACMAAAAAAAAAAQAAAAUAAAAGAAAADgAAAA8AAAAbAAAAAgAAAAQAAAAHAAAADQAAABAAAAAaAAAAHAAAAAMAAAAIAAAADAAAABEAAAAZAAAAHQAAACYAAAAJAAAACwAAABIAAAAYAAAAHgAAACUAAAAnAAAACgAAABMAAAAXAAAAHwAAACQAAAAoAAAALQAAABQAAAAWAAAAIAAAACMAAAApAAAALAAAAC4AAAAVAAAAIQAAACIAAAAqAAAAKwAAAC8AAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAABgAAAA4AAAAPAAAAGwAAABwAAAACAAAABAAAAAcAAAANAAAAEAAAABoAAAAdAAAAKgAAAAMAAAAIAAAADAAAABEAAAAZAAAAHgAAACkAAAArAAAACQAAAAsAAAASAAAAGAAAAB8AAAAoAAAALAAAADUAAAAKAAAAEwAAABcAAAAgAAAAJwAAAC0AAAA0AAAANgAAABQAAAAWAAAAIQAAACYAAAAuAAAAMwAAADcAAAA8AAAAFQAAACIAAAAlAAAALwAAADIAAAA4AAAAOwAAAD0AAAAjAAAAJAAAADAAAAAxAAAAOQAAADoAAAA+AAAAPwAAAAAAAAABAAAAAwAAAAcAAAAPAAAAHwAAAD8AAAB/AAAA/wAAAP8BAAD/AwAA/wcAAP8PAAD/HwAA/z8AAP9/AAAAwDDwDMw8/APDM/MPzz//gECwcIxMvHyDQ7Nzj0+/fyDgENAs7BzcI+MT0y/vH9+gYJBQrGycXKNjk1Ovb59fCMg4+ATENPQLyzv7B8c394hIuHiERLR0i0u7e4dHt3co6BjYJOQU1CvrG9sn5xfXqGiYWKRklFSra5tbp2eXVwLCMvIOzj7+AcEx8Q3NPf2CQrJyjk6+foFBsXGNTb19IuIS0i7uHt4h4RHRLe0d3aJiklKubp5eoWGRUa1tnV0Kyjr6BsY29gnJOfkFxTX1ikq6eoZGtnaJSbl5hUW1dSrqGtom5hbWKekZ2SXlFdWqappapmaWVqlpmVmlZZVVAEDFWJ9TQksAQEkyoyKoEcVYIXv8c2JoxVi/RQswfhifU/xzQW1UYp9Ts0FBLRIXQktiaFRiflhCSyE7uijDFABAxVifU0JLAEBJMqMiqBFJMr9Fs0EhO0kygic3G+ANoyILMEEtuiijIjcbvxKOCagRfhgSF8MUqBHgDY4J3wQAAAAAAADwP+9hSLFQMfY/ym9Nka7n9D+qEWzvYtDyPwAAAAAAAPA/O7+nwGkk6T+7IMd7elHhP12rct5VqNE/3hIElQAAAAD///////////////8AAAAAAAAAAAAAAAACAADAAwAAwAQAAMAFAADABgAAwAcAAMAIAADACQAAwAoAAMALAADADAAAwA0AAMAOAADADwAAwBAAAMARAADAEgAAwBMAAMAUAADAFQAAwBYAAMAXAADAGAAAwBkAAMAaAADAGwAAwBwAAMAdAADAHgAAwB8AAMAAAACzAQAAwwIAAMMDAADDBAAAwwUAAMMGAADDBwAAwwgAAMMJAADDCgAAwwsAAMMMAADDDQAA0w4AAMMPAADDAAAMuwEADMMCAAzDAwAMwwQADNMAAAAAGRJEOwI/LEcUPTMwChsGRktFNw9JDo4XA0AdPGkrNh9KLRwBICUpIQgMFRYiLhA4Pgs0MRhkdHV2L0EJfzkRI0MyQomKiwUEJignDSoeNYwHGkiTE5SVAAAAAAAAAAAASWxsZWdhbCBieXRlIHNlcXVlbmNlAERvbWFpbiBlcnJvcgBSZXN1bHQgbm90IHJlcHJlc2VudGFibGUATm90IGEgdHR5AFBlcm1pc3Npb24gZGVuaWVkAE9wZXJhdGlvbiBub3QgcGVybWl0dGVkAE5vIHN1Y2ggZmlsZSBvciBkaXJlY3RvcnkATm8gc3VjaCBwcm9jZXNzAEZpbGUgZXhpc3RzAFZhbHVlIHRvbyBsYXJnZSBmb3IgZGF0YSB0eXBlAE5vIHNwYWNlIGxlZnQgb24gZGV2aWNlAE91dCBvZiBtZW1vcnkAUmVzb3VyY2UgYnVzeQBJbnRlcnJ1cHRlZCBzeXN0ZW0gY2FsbABSZXNvdXJjZSB0ZW1wb3JhcmlseSB1bmF2YWlsYWJsZQBJbnZhbGlkIHNlZWsAQ3Jvc3MtZGV2aWNlIGxpbmsAUmVhZC1vbmx5IGZpbGUgc3lzdGVtAERpcmVjdG9yeSBub3QgZW1wdHkAQ29ubmVjdGlvbiByZXNldCBieSBwZWVyAE9wZXJhdGlvbiB0aW1lZCBvdXQAQ29ubmVjdGlvbiByZWZ1c2VkAEhvc3QgaXMgZG93bgBIb3N0IGlzIHVucmVhY2hhYmxlAEFkZHJlc3MgaW4gdXNlAEJyb2tlbiBwaXBlAEkvTyBlcnJvcgBObyBzdWNoIGRldmljZSBvciBhZGRyZXNzAEJsb2NrIGRldmljZSByZXF1aXJlZABObyBzdWNoIGRldmljZQBOb3QgYSBkaXJlY3RvcnkASXMgYSBkaXJlY3RvcnkAVGV4dCBmaWxlIGJ1c3kARXhlYyBmb3JtYXQgZXJyb3IASW52YWxpZCBhcmd1bWVudABBcmd1bWVudCBsaXN0IHRvbyBsb25nAFN5bWJvbGljIGxpbmsgbG9vcABGaWxlbmFtZSB0b28gbG9uZwBUb28gbWFueSBvcGVuIGZpbGVzIGluIHN5c3RlbQBObyBmaWxlIGRlc2NyaXB0b3JzIGF2YWlsYWJsZQBCYWQgZmlsZSBkZXNjcmlwdG9yAE5vIGNoaWxkIHByb2Nlc3MAQmFkIGFkZHJlc3MARmlsZSB0b28gbGFyZ2UAVG9vIG1hbnkgbGlua3MATm8gbG9ja3MgYXZhaWxhYmxlAFJlc291cmNlIGRlYWRsb2NrIHdvdWxkIG9jY3VyAFN0YXRlIG5vdCByZWNvdmVyYWJsZQBQcmV2aW91cyBvd25lciBkaWVkAE9wZXJhdGlvbiBjYW5jZWxlZABGdW5jdGlvbiBub3QgaW1wbGVtZW50ZWQATm8gbWVzc2FnZSBvZiBkZXNpcmVkIHR5cGUASWRlbnRpZmllciByZW1vdmVkAERldmljZSBub3QgYSBzdHJlYW0ATm8gZGF0YSBhdmFpbGFibGUARGV2aWNlIHRpbWVvdXQAT3V0IG9mIHN0cmVhbXMgcmVzb3VyY2VzAExpbmsgaGFzIGJlZW4gc2V2ZXJlZABQcm90b2NvbCBlcnJvcgBCYWQgbWVzc2FnZQBGaWxlIGRlc2NyaXB0b3IgaW4gYmFkIHN0YXRlAE5vdCBhIHNvY2tldABEZXN0aW5hdGlvbiBhZGRyZXNzIHJlcXVpcmVkAE1lc3NhZ2UgdG9vIGxhcmdlAFByb3RvY29sIHdyb25nIHR5cGUgZm9yIHNvY2tldABQcm90b2NvbCBub3QgYXZhaWxhYmxlAFByb3RvY29sIG5vdCBzdXBwb3J0ZWQAU29ja2V0IHR5cGUgbm90IHN1cHBvcnRlZABOb3Qgc3VwcG9ydGVkAFByb3RvY29sIGZhbWlseSBub3Qgc3VwcG9ydGVkAEFkZHJlc3MgZmFtaWx5IG5vdCBzdXBwb3J0ZWQgYnkgcHJvdG9jb2wAQWRkcmVzcyBub3QgYXZhaWxhYmxlAE5ldHdvcmsgaXMgZG93bgBOZXR3b3JrIHVucmVhY2hhYmxlAENvbm5lY3Rpb24gcmVzZXQgYnkgbmV0d29yawBDb25uZWN0aW9uIGFib3J0ZWQATm8gYnVmZmVyIHNwYWNlIGF2YWlsYWJsZQBTb2NrZXQgaXMgY29ubmVjdGVkAFNvY2tldCBub3QgY29ubmVjdGVkAENhbm5vdCBzZW5kIGFmdGVyIHNvY2tldCBzaHV0ZG93bgBPcGVyYXRpb24gYWxyZWFkeSBpbiBwcm9ncmVzcwBPcGVyYXRpb24gaW4gcHJvZ3Jlc3MAU3RhbGUgZmlsZSBoYW5kbGUAUmVtb3RlIEkvTyBlcnJvcgBRdW90YSBleGNlZWRlZABObyBtZWRpdW0gZm91bmQAV3JvbmcgbWVkaXVtIHR5cGUATm8gZXJyb3IgaW5mb3JtYXRpb24AAAAAAABMQ19DVFlQRQAAAABMQ19OVU1FUklDAABMQ19USU1FAAAAAABMQ19DT0xMQVRFAABMQ19NT05FVEFSWQBMQ19NRVNTQUdFUwAAAAAAAAAAAP////////////////////////////////////////////////////////////////8AAQIDBAUGBwgJ/////////woLDA0ODxAREhMUFRYXGBkaGxwdHh8gISIj////////CgsMDQ4PEBESExQVFhcYGRobHB0eHyAhIiP/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////AAAAAAAAAAAAAAAAAAAAEQAKABEREQAAAAAFAAAAAAAACQAAAAALAAAAAAAAAAARAA8KERERAwoHAAETCQsLAAAJBgsAAAsABhEAAAAREREAAAAAAAAAAAAAAAAAAAAACwAAAAAAAAAAEQAKChEREQAKAAACAAkLAAAACQALAAALAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwAAAAAAAAAAAAAAAwAAAAADAAAAAAJDAAAAAAADAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAANAAAABA0AAAAACQ4AAAAAAA4AAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAADwAAAAAPAAAAAAkQAAAAAAAQAAAQAAASAAAAEhISAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABIAAAASEhIAAAAAAAAJAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAALAAAAAAAAAAAAAAAKAAAAAAoAAAAACQsAAAAAAAsAAAsAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAAAAAAAAAAAAAAADAAAAAAMAAAAAAkMAAAAAAAMAAAMAAAwMTIzNDU2Nzg5QUJDREVGAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAgACAAIAAgACAAIAAgACAAMgAiACIAIgAiACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgABYATABMAEwATABMAEwATABMAEwATABMAEwATABMAEwAjYCNgI2AjYCNgI2AjYCNgI2AjYBMAEwATABMAEwATABMAI1QjVCNUI1QjVCNUIxQjFCMUIxQjFCMUIxQjFCMUIxQjFCMUIxQjFCMUIxQjFCMUIxQjFBMAEwATABMAEwATACNYI1gjWCNYI1gjWCMYIxgjGCMYIxgjGCMYIxgjGCMYIxgjGCMYIxgjGCMYIxgjGCMYIxgTABMAEwATAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAIAAAADAAAABAAAAAUAAAAGAAAABwAAAAgAAAAJAAAACgAAAAsAAAAMAAAADQAAAA4AAAAPAAAAEAAAABEAAAASAAAAEwAAABQAAAAVAAAAFgAAABcAAAAYAAAAGQAAABoAAAAbAAAAHAAAAB0AAAAeAAAAHwAAACAAAAAhAAAAIgAAACMAAAAkAAAAJQAAACYAAAAnAAAAKAAAACkAAAAqAAAAKwAAACwAAAAtAAAALgAAAC8AAAAwAAAAMQAAADIAAAAzAAAANAAAADUAAAA2AAAANwAAADgAAAA5AAAAOgAAADsAAAA8AAAAPQAAAD4AAAA/AAAAQAAAAGEAAABiAAAAYwAAAGQAAABlAAAAZgAAAGcAAABoAAAAaQAAAGoAAABrAAAAbAAAAG0AAABuAAAAbwAAAHAAAABxAAAAcgAAAHMAAAB0AAAAdQAAAHYAAAB3AAAAeAAAAHkAAAB6AAAAWwAAAFwAAABdAAAAXgAAAF8AAABgAAAAYQAAAGIAAABjAAAAZAAAAGUAAABmAAAAZwAAAGgAAABpAAAAagAAAGsAAABsAAAAbQAAAG4AAABvAAAAcAAAAHEAAAByAAAAcwAAAHQAAAB1AAAAdgAAAHcAAAB4AAAAeQAAAHoAAAB7AAAAfAAAAH0AAAB+AAAAfwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAIAAAADAAAABAAAAAUAAAAGAAAABwAAAAgAAAAJAAAACgAAAAsAAAAMAAAADQAAAA4AAAAPAAAAEAAAABEAAAASAAAAEwAAABQAAAAVAAAAFgAAABcAAAAYAAAAGQAAABoAAAAbAAAAHAAAAB0AAAAeAAAAHwAAACAAAAAhAAAAIgAAACMAAAAkAAAAJQAAACYAAAAnAAAAKAAAACkAAAAqAAAAKwAAACwAAAAtAAAALgAAAC8AAAAwAAAAMQAAADIAAAAzAAAANAAAADUAAAA2AAAANwAAADgAAAA5AAAAOgAAADsAAAA8AAAAPQAAAD4AAAA/AAAAQAAAAEEAAABCAAAAQwAAAEQAAABFAAAARgAAAEcAAABIAAAASQAAAEoAAABLAAAATAAAAE0AAABOAAAATwAAAFAAAABRAAAAUgAAAFMAAABUAAAAVQAAAFYAAABXAAAAWAAAAFkAAABaAAAAWwAAAFwAAABdAAAAXgAAAF8AAABgAAAAQQAAAEIAAABDAAAARAAAAEUAAABGAAAARwAAAEgAAABJAAAASgAAAEsAAABMAAAATQAAAE4AAABPAAAAUAAAAFEAAABSAAAAUwAAAFQAAABVAAAAVgAAAFcAAABYAAAAWQAAAFoAAAB7AAAAfAAAAH0AAAB+AAAAfwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACgAAAGQAAADoAwAAECcAAKCGAQBAQg8AgJaYAADh9QUAAAAAAgAAAAMAAAAFAAAABwAAAAsAAAANAAAAEQAAABMAAAAXAAAAHQAAAB8AAAAlAAAAKQAAACsAAAAvAAAANQAAADsAAAA9AAAAQwAAAEcAAABJAAAATwAAAFMAAABZAAAAYQAAAGUAAABnAAAAawAAAG0AAABxAAAAfwAAAIMAAACJAAAAiwAAAJUAAACXAAAAnQAAAKMAAACnAAAArQAAALMAAAC1AAAAvwAAAMEAAADFAAAAxwAAANMAAAABAAAACwAAAA0AAAARAAAAEwAAABcAAAAdAAAAHwAAACUAAAApAAAAKwAAAC8AAAA1AAAAOwAAAD0AAABDAAAARwAAAEkAAABPAAAAUwAAAFkAAABhAAAAZQAAAGcAAABrAAAAbQAAAHEAAAB5AAAAfwAAAIMAAACJAAAAiwAAAI8AAACVAAAAlwAAAJ0AAACjAAAApwAAAKkAAACtAAAAswAAALUAAAC7AAAAvwAAAMEAAADFAAAAxwAAANEAAAAwMTIzNDU2Nzg5YWJjZGVmQUJDREVGeFgrLXBQaUluTgAAAAAAAAAAAAAAAAAAAAAlAAAAbQAAAC8AAAAlAAAAZAAAAC8AAAAlAAAAeQAAACUAAABZAAAALQAAACUAAABtAAAALQAAACUAAABkAAAAJQAAAEkAAAA6AAAAJQAAAE0AAAA6AAAAJQAAAFMAAAAgAAAAJQAAAHAAAAAAAAAAJQAAAEgAAAA6AAAAJQAAAE0AAAAAAAAAAAAAAAAAAAAlAAAASAAAADoAAAAlAAAATQAAADoAAAAlAAAAUwAAACUAAABIAAAAOgAAACUAAABNAAAAOgAAACUAAABTAAAApD8AAGFdAADMPwAAIWoAAIAzAAAAAAAAzD8AADJtAAA4NgAAAAAAAMw/AACfeAAAGD0AAAAAAADMPwAAN4oAABg9AAAAAAAAzD8AAKuKAAAYPQAAAAAAADhAAAAvogAAAAAAAAEAAADwMwAAAAAAAKQ/AABuogAACQAAAAAAAAAAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAEAAABYzAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP////8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAAIAAABo0AAAAAQAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAACv////8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAAEAAACW5AAAAAAAAAAAAAAAAAAAAgAAAAAAAAAAAAAAAAAA//////8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA//////8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAApD8AAJG6AADMPwAA8boAAFA2AAAAAAAAzD8AAJ66AABgNgAAAAAAAKQ/AAC/ugAAzD8AAMy6AABANgAAAAAAAMw/AAA7uwAAODYAAAAAAADMPwAAS7sAAHg2AAAAAAAAzD8AAFy7AABQNgAAAAAAAMw/AAB+uwAAmDYAAAAAAADMPwAAorsAAFA2AAAAAAAAHEAAAMq7AAAcQAAAzLsAABxAAADOuwAAHEAAANC7AAAcQAAA0rsAABxAAADUuwAAHEAAANa7AAAcQAAA2LsAABxAAADauwAAHEAAAFfEAAAcQAAA3LsAABxAAADeuwAAHEAAAOC7AADMPwAA4rsAAEA2AAAAAAAApD8AACW/AACkPwAARL8AAKQ/AABjvwAApD8AAIK/AACkPwAAob8AAKQ/AADAvwAApD8AAN+/AACkPwAA/r8AAKQ/AAAdwAAApD8AADzAAACkPwAAW8AAAKQ/AAB6wAAApD8AAJnAAAA4QAAArMAAAAAAAAABAAAA8DMAAAAAAAA4QAAA68AAAAAAAAABAAAA8DMAAAAAAADMPwAAPMEAAOg3AAAAAAAApD8AACrBAADMPwAAZsEAAOg3AAAAAAAApD8AAJDBAACkPwAAwcEAADhAAADywQAAAAAAAAEAAADYNwAAA/T//zhAAAAhwgAAAAAAAAEAAADwNwAAA/T//zhAAABQwgAAAAAAAAEAAADYNwAAA/T//zhAAAB/wgAAAAAAAAEAAADwNwAAA/T//8w/AACuwgAACDgAAAAAAADMPwAAx8IAAAA4AAAAAAAAzD8AAAbDAAAIOAAAAAAAAMw/AAAewwAAADgAAAAAAADMPwAANsMAAMA4AAAAAAAAzD8AAErDAAAQPQAAAAAAAMw/AABgwwAAwDgAAAAAAAA4QAAAecMAAAAAAAACAAAAwDgAAAIAAAAAOQAAAAAAADhAAAC9wwAAAAAAAAEAAAAYOQAAAAAAAKQ/AADTwwAAOEAAAOzDAAAAAAAAAgAAAMA4AAACAAAAQDkAAAAAAAA4QAAAMMQAAAAAAAABAAAAGDkAAAAAAAA4QAAAWcQAAAAAAAACAAAAwDgAAAIAAAB4OQAAAAAAADhAAACdxAAAAAAAAAEAAACQOQAAAAAAAKQ/AACzxAAAOEAAAMzEAAAAAAAAAgAAAMA4AAACAAAAuDkAAAAAAAA4QAAAEMUAAAAAAAABAAAAkDkAAAAAAAA4QAAAZsYAAAAAAAADAAAAwDgAAAIAAAD4OQAAAgAAAAA6AAAACAAApD8AAM3GAACkPwAAq8YAADhAAADgxgAAAAAAAAMAAADAOAAAAgAAAPg5AAACAAAAMDoAAAAIAACkPwAAJccAADhAAABHxwAAAAAAAAIAAADAOAAAAgAAAFg6AAAACAAApD8AAIzHAAA4QAAAoccAAAAAAAACAAAAwDgAAAIAAABYOgAAAAgAADhAAADmxwAAAAAAAAIAAADAOAAAAgAAAKA6AAACAAAApD8AAALIAAA4QAAAF8gAAAAAAAACAAAAwDgAAAIAAACgOgAAAgAAADhAAAAzyAAAAAAAAAIAAADAOAAAAgAAAKA6AAACAAAAOEAAAE/IAAAAAAAAAgAAAMA4AAACAAAAoDoAAAIAAAA4QAAAesgAAAAAAAACAAAAwDgAAAIAAAAoOwAAAAAAAKQ/AADAyAAAOEAAAOTIAAAAAAAAAgAAAMA4AAACAAAAUDsAAAAAAACkPwAAKskAADhAAABJyQAAAAAAAAIAAADAOAAAAgAAAHg7AAAAAAAApD8AAI/JAAA4QAAAqMkAAAAAAAACAAAAwDgAAAIAAACgOwAAAAAAAKQ/AADuyQAAOEAAAAfKAAAAAAAAAgAAAMA4AAACAAAAyDsAAAIAAACkPwAAHMoAADhAAACzygAAAAAAAAIAAADAOAAAAgAAAMg7AAACAAAAzD8AADTKAAAAPAAAAAAAADhAAABXygAAAAAAAAIAAADAOAAAAgAAACA8AAACAAAApD8AAHrKAADMPwAAkcoAAAA8AAAAAAAAOEAAAMjKAAAAAAAAAgAAAMA4AAACAAAAIDwAAAIAAAA4QAAA6soAAAAAAAACAAAAwDgAAAIAAAAgPAAAAgAAADhAAAAMywAAAAAAAAIAAADAOAAAAgAAACA8AAACAAAAzD8AAC/LAADAOAAAAAAAADhAAABFywAAAAAAAAIAAADAOAAAAgAAAMg8AAACAAAApD8AAFfLAAA4QAAAbMsAAAAAAAACAAAAwDgAAAIAAADIPAAAAgAAAMw/AACJywAAwDgAAAAAAADMPwAAnssAAMA4AAAAAAAApD8AALPLAAA4QAAAzMsAAAAAAAABAAAAED0AAAAAAAABAAAAAAAAAIgzAAABAAAAAgAAAAAAAACAMwAAAwAAAAQAAAAAAAAAmDMAAAUAAAAGAAAAAQAAALlSjD6OWuc+uVKMPgAAAACoMwAABwAAAAgAAAAJAAAAAQAAAAoAAAAAAAAAuDMAAAcAAAALAAAADAAAAAIAAAANAAAAAAAAAMgzAAAHAAAADgAAAA8AAAADAAAAEAAAAP/////+/////f///8g2AAAANwAAIDcAAMg2AAAANwAAADcAACg3AAAANwAAyDYAAAA3AAAoNwAAADcAAMg2AAAANwAAADcAANgzAAAANwAAADcAAAA3AAAANwAAADcAANgzAAAANwAAADcAAEAGAACAPgAAAAAAAIgTAAABAAAAAAAAAAIAAABAFgAAFAAAAEMuVVRGLTgAAAAAAAAAAAAAAAAAUD4AAAAAAAAAAAAAAAAAAAAAAAAAAAAA+DMAAIg0AACINAAAGDUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAfNwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgIgAA4CYAAOAsAABfcIkA/wkvDwAAAABANgAAEQAAABIAAAATAAAAFAAAAAQAAAABAAAAAQAAAAEAAAAAAAAAaDYAABEAAAAVAAAAEwAAABQAAAAEAAAAAgAAAAIAAAACAAAAAAAAAHg2AAAWAAAAFwAAAAQAAAAAAAAAiDYAABYAAAAYAAAABAAAAAAAAAC4NgAAEQAAABkAAAATAAAAFAAAAAUAAAAAAAAAMDcAABEAAAAaAAAAEwAAABQAAAAEAAAAAwAAAAMAAAADAAAAAAAAAOg3AAAbAAAAHAAAAAAAAAAAOAAAHQAAAB4AAAABAAAABgAAAAQAAAAEAAAABQAAAAYAAAAHAAAABwAAAAgAAAAEAAAACAAAAAUAAAAAAAAACDgAAB8AAAAgAAAAAgAAAAkAAAAFAAAABQAAAAkAAAAKAAAACgAAAAsAAAAMAAAABgAAAAsAAAAHAAAACAAAAAAAAAAQOAAAIQAAACIAAAD4////+P///xA4AAAjAAAAJAAAAPRAAAAIQQAACAAAAAAAAAAoOAAAJQAAACYAAAD4////+P///yg4AAAnAAAAKAAAACRBAAA4QQAABAAAAAAAAABAOAAAKQAAACoAAAD8/////P///0A4AAArAAAALAAAAFRBAABoQQAABAAAAAAAAABYOAAALQAAAC4AAAD8/////P///1g4AAAvAAAAMAAAAIRBAACYQQAAAAAAAHA4AAAfAAAAMQAAAAMAAAAJAAAABQAAAAUAAAANAAAACgAAAAoAAAALAAAADAAAAAYAAAAMAAAACAAAAAAAAACAOAAAHQAAADIAAAAEAAAABgAAAAQAAAAEAAAADgAAAAYAAAAHAAAABwAAAAgAAAAEAAAADQAAAAkAAAAAAAAAkDgAAB8AAAAzAAAABQAAAAkAAAAFAAAABQAAAAkAAAAKAAAACgAAAA8AAAAQAAAACgAAAAsAAAAHAAAAAAAAAKA4AAAdAAAANAAAAAYAAAAGAAAABAAAAAQAAAAFAAAABgAAAAcAAAARAAAAEgAAAAsAAAAIAAAABQAAAAAAAACwOAAANQAAADYAAAA3AAAAAQAAAAYAAAAOAAAAAAAAANA4AAA4AAAAOQAAADcAAAACAAAABwAAAA8AAAAAAAAA4DgAADoAAAA7AAAANwAAAAEAAAACAAAAAwAAAAQAAAAFAAAABgAAAAcAAAAIAAAACQAAAAoAAAALAAAAAAAAACA5AAA8AAAAPQAAADcAAAAMAAAADQAAAA4AAAAPAAAAEAAAABEAAAASAAAAEwAAABQAAAAVAAAAFgAAAAAAAABYOQAAPgAAAD8AAAA3AAAAAwAAAAQAAAAXAAAABQAAABgAAAABAAAAAgAAAAYAAAAAAAAAmDkAAEAAAABBAAAANwAAAAcAAAAIAAAAGQAAAAkAAAAaAAAAAwAAAAQAAAAKAAAAAAAAANA5AABCAAAAQwAAADcAAAATAAAAGwAAABwAAAAdAAAAHgAAAB8AAAABAAAA+P///9A5AAAUAAAAFQAAABYAAAAXAAAAGAAAABkAAAAaAAAAAAAAAAg6AABEAAAARQAAADcAAAAbAAAAIAAAACEAAAAiAAAAIwAAACQAAAACAAAA+P///wg6AAAcAAAAHQAAAB4AAAAfAAAAIAAAACEAAAAiAAAAJQAAAEgAAAA6AAAAJQAAAE0AAAA6AAAAJQAAAFMAAAAAAAAAJQAAAG0AAAAvAAAAJQAAAGQAAAAvAAAAJQAAAHkAAAAAAAAAJQAAAEkAAAA6AAAAJQAAAE0AAAA6AAAAJQAAAFMAAAAgAAAAJQAAAHAAAAAAAAAAJQAAAGEAAAAgAAAAJQAAAGIAAAAgAAAAJQAAAGQAAAAgAAAAJQAAAEgAAAA6AAAAJQAAAE0AAAA6AAAAJQAAAFMAAAAgAAAAJQAAAFkAAAAAAAAAQQAAAE0AAAAAAAAAUAAAAE0AAAAAAAAASgAAAGEAAABuAAAAdQAAAGEAAAByAAAAeQAAAAAAAABGAAAAZQAAAGIAAAByAAAAdQAAAGEAAAByAAAAeQAAAAAAAABNAAAAYQAAAHIAAABjAAAAaAAAAAAAAABBAAAAcAAAAHIAAABpAAAAbAAAAAAAAABNAAAAYQAAAHkAAAAAAAAASgAAAHUAAABuAAAAZQAAAAAAAABKAAAAdQAAAGwAAAB5AAAAAAAAAEEAAAB1AAAAZwAAAHUAAABzAAAAdAAAAAAAAABTAAAAZQAAAHAAAAB0AAAAZQAAAG0AAABiAAAAZQAAAHIAAAAAAAAATwAAAGMAAAB0AAAAbwAAAGIAAABlAAAAcgAAAAAAAABOAAAAbwAAAHYAAABlAAAAbQAAAGIAAABlAAAAcgAAAAAAAABEAAAAZQAAAGMAAABlAAAAbQAAAGIAAABlAAAAcgAAAAAAAABKAAAAYQAAAG4AAAAAAAAARgAAAGUAAABiAAAAAAAAAE0AAABhAAAAcgAAAAAAAABBAAAAcAAAAHIAAAAAAAAASgAAAHUAAABuAAAAAAAAAEoAAAB1AAAAbAAAAAAAAABBAAAAdQAAAGcAAAAAAAAAUwAAAGUAAABwAAAAAAAAAE8AAABjAAAAdAAAAAAAAABOAAAAbwAAAHYAAAAAAAAARAAAAGUAAABjAAAAAAAAAFMAAAB1AAAAbgAAAGQAAABhAAAAeQAAAAAAAABNAAAAbwAAAG4AAABkAAAAYQAAAHkAAAAAAAAAVAAAAHUAAABlAAAAcwAAAGQAAABhAAAAeQAAAAAAAABXAAAAZQAAAGQAAABuAAAAZQAAAHMAAABkAAAAYQAAAHkAAAAAAAAAVAAAAGgAAAB1AAAAcgAAAHMAAABkAAAAYQAAAHkAAAAAAAAARgAAAHIAAABpAAAAZAAAAGEAAAB5AAAAAAAAAFMAAABhAAAAdAAAAHUAAAByAAAAZAAAAGEAAAB5AAAAAAAAAFMAAAB1AAAAbgAAAAAAAABNAAAAbwAAAG4AAAAAAAAAVAAAAHUAAABlAAAAAAAAAFcAAABlAAAAZAAAAAAAAABUAAAAaAAAAHUAAAAAAAAARgAAAHIAAABpAAAAAAAAAFMAAABhAAAAdAAAAAAAAAAAAAAAODoAAEYAAABHAAAANwAAAAEAAAAAAAAAYDoAAEgAAABJAAAANwAAAAIAAAAAAAAAgDoAAEoAAABLAAAANwAAACMAAAAkAAAABwAAAAgAAAAJAAAACgAAACUAAAALAAAADAAAAAAAAACoOgAATAAAAE0AAAA3AAAAJgAAACcAAAANAAAADgAAAA8AAAAQAAAAKAAAABEAAAASAAAAAAAAAMg6AABOAAAATwAAADcAAAApAAAAKgAAABMAAAAUAAAAFQAAABYAAAArAAAAFwAAABgAAAAAAAAA6DoAAFAAAABRAAAANwAAACwAAAAtAAAAGQAAABoAAAAbAAAAHAAAAC4AAAAdAAAAHgAAAAAAAAAIOwAAUgAAAFMAAAA3AAAAAwAAAAQAAAAAAAAAMDsAAFQAAABVAAAANwAAAAUAAAAGAAAAAAAAAFg7AABWAAAAVwAAADcAAAABAAAAJQAAAAAAAACAOwAAWAAAAFkAAAA3AAAAAgAAACYAAAAAAAAAqDsAAFoAAABbAAAANwAAABAAAAAGAAAAHwAAAAAAAADQOwAAXAAAAF0AAAA3AAAAEQAAAAcAAAAgAAAAAAAAACg8AABeAAAAXwAAADcAAAADAAAABAAAAAsAAAAvAAAAMAAAAAwAAAAxAAAAAAAAAPA7AABeAAAAYAAAADcAAAADAAAABAAAAAsAAAAvAAAAMAAAAAwAAAAxAAAAAAAAAFg8AABhAAAAYgAAADcAAAAFAAAABgAAAA0AAAAyAAAAMwAAAA4AAAA0AAAAAAAAAJg8AABjAAAAZAAAADcAAAAAAAAAqDwAAGUAAABmAAAANwAAAAwAAAASAAAADQAAABMAAAAOAAAAAwAAABQAAAAPAAAAAAAAAPA8AABnAAAAaAAAADcAAAA1AAAANgAAACEAAAAiAAAAIwAAAAAAAAAAPQAAaQAAAGoAAAA3AAAANwAAADgAAAAkAAAAJQAAACYAAABmAAAAYQAAAGwAAABzAAAAZQAAAAAAAAB0AAAAcgAAAHUAAABlAAAAAAAAAAAAAADAOAAAXgAAAGsAAAA3AAAAAAAAANA8AABeAAAAbAAAADcAAAAVAAAABAAAAAUAAAAGAAAADwAAABYAAAAQAAAAFwAAABEAAAAHAAAAGAAAABAAAAAAAAAAODwAAF4AAABtAAAANwAAAAcAAAAIAAAAEQAAADkAAAA6AAAAEgAAADsAAAAAAAAAeDwAAF4AAABuAAAANwAAAAkAAAAKAAAAEwAAADwAAAA9AAAAFAAAAD4AAAAAAAAAADwAAF4AAABvAAAANwAAAAMAAAAEAAAACwAAAC8AAAAwAAAADAAAADEAAAAAAAAAADoAABQAAAAVAAAAFgAAABcAAAAYAAAAGQAAABoAAAAAAAAAMDoAABwAAAAdAAAAHgAAAB8AAAAgAAAAIQAAACIAAABFcnJvcjogbGFiZWxpbmcgd29yayBvdmVyZmxvdy4KAFVua25vd24gb3IgdW5zdXBwb3J0ZWQgbGFiZWxpbmcgdGhyZXNob2xkIG1vZGUgcmVxdWVzdGVkLiBTZXQgdG8gbWFudWFsLgoATGFiZWxpbmcgdGhyZXNob2xkIG1vZGUgc2V0IHRvICVzLgoATUFOVUFMAEFVVE9fTUVESUFOAEFVVE9fT1RTVQBBVVRPX0FEQVBUSVZFAEFVVE9fQlJBQ0tFVElORwBFcnJvcjogVW5zdXBwb3J0ZWQgcGl4ZWwgZm9ybWF0ICglZCkgcmVxdWVzdGVkLgoAQXV0byB0aHJlc2hvbGQgKGJyYWNrZXQpIG1hcmtlciBjb3VudHMgLVslM2Q6ICUzZF0gWyUzZDogJTNkXSBbJTNkOiAlM2RdKy4KAEF1dG8gdGhyZXNob2xkIChicmFja2V0KSBhZGp1c3RlZCB0aHJlc2hvbGQgdG8gJWQuCgBtZWRpYW4AT3RzdQBBdXRvIHRocmVzaG9sZCAoJXMpIGFkanVzdGVkIHRocmVzaG9sZCB0byAlZC4KAD8/PyAxCgA/Pz8gMgoAPz8/IDMKAEVycm9yOiB1bnN1cHBvcnRlZCBwaXhlbCBmb3JtYXQuCgBFcnJvcjogTlVMTCBwYXR0SGFuZGxlLgoARXJyb3I6IGNhbid0IGxvYWQgcGF0dGVybiBmcm9tIE5VTEwgYnVmZmVyLgoARXJyb3I6IG91dCBvZiBtZW1vcnkuCgAgCQoNAFBhdHRlcm4gRGF0YSByZWFkIGVycm9yISEKAEVycm9yIHJlYWRpbmcgcGF0dGVybiBmaWxlICclcycuCgBFcnJvciAoJWQpOiB1bmFibGUgdG8gb3BlbiBjYW1lcmEgcGFyYW1ldGVycyBmaWxlICIlcyIgZm9yIHJlYWRpbmcuCgBFcnJvciAoJWQpOiB1bmFibGUgdG8gZGV0ZXJtaW5lIGZpbGUgbGVuZ3RoLgBFcnJvcjogc3VwcGxpZWQgZmlsZSBkb2VzIG5vdCBhcHBlYXIgdG8gYmUgYW4gQVJUb29sS2l0IGNhbWVyYSBwYXJhbWV0ZXIgZmlsZS4KAEVycm9yICglZCk6IHVuYWJsZSB0byByZWFkIGZyb20gZmlsZS4AYXJnbENhbWVyYUZydXN0dW1SSCgpOiBhclBhcmFtRGVjb21wTWF0KCkgaW5kaWNhdGVkIHBhcmFtZXRlciBlcnJvci4KAEVycm9yOiBpY3BHZXRKX1VfWGMARXJyb3IgMTogaWNwR2V0SW5pdFh3MlhjCgBFcnJvciAyOiBpY3BHZXRJbml0WHcyWGMKAEVycm9yIDM6IGljcEdldEluaXRYdzJYYwoARXJyb3IgNDogaWNwR2V0SW5pdFh3MlhjCgBFcnJvciA1OiBpY3BHZXRJbml0WHcyWGMKAEVycm9yIDY6IGljcEdldEluaXRYdzJYYwoARXJyb3IgNzogaWNwR2V0SW5pdFh3MlhjCgBFcnJvcjogdW5hYmxlIHRvIG9wZW4gbXVsdGltYXJrZXIgY29uZmlnIGZpbGUgJyVzJy4KAEVycm9yIHByb2Nlc3NpbmcgbXVsdGltYXJrZXIgY29uZmlnIGZpbGUgJyVzJzogRmlyc3QgbGluZSBtdXN0IGJlIG51bWJlciBvZiBtYXJrZXIgY29uZmlncyB0byByZWFkLgoAJWxsdSVjAEVycm9yIHByb2Nlc3NpbmcgbXVsdGltYXJrZXIgY29uZmlnIGZpbGUgJyVzJzogcGF0dGVybiAnJXMnIHNwZWNpZmllZCBpbiBtdWx0aW1hcmtlciBjb25maWd1cmF0aW9uIHdoaWxlIGluIGJhcmNvZGUtb25seSBtb2RlLgoARXJyb3IgcHJvY2Vzc2luZyBtdWx0aW1hcmtlciBjb25maWcgZmlsZSAnJXMnOiBVbmFibGUgdG8gZGV0ZXJtaW5lIGRpcmVjdG9yeSBuYW1lLgoARXJyb3IgcHJvY2Vzc2luZyBtdWx0aW1hcmtlciBjb25maWcgZmlsZSAnJXMnOiBVbmFibGUgdG8gbG9hZCBwYXR0ZXJuICclcycuCgAlbGYARXJyb3IgcHJvY2Vzc2luZyBtdWx0aW1hcmtlciBjb25maWcgZmlsZSAnJXMnLCBtYXJrZXIgZGVmaW5pdGlvbiAlM2Q6IEZpcnN0IGxpbmUgbXVzdCBiZSBwYXR0ZXJuIHdpZHRoLgoAJWxmICVsZiAlbGYgJWxmACVmICVmAEVycm9yIHByb2Nlc3NpbmcgbXVsdGltYXJrZXIgY29uZmlnIGZpbGUgJyVzJywgbWFya2VyIGRlZmluaXRpb24gJTNkOiBMaW5lcyAyIC0gNCBtdXN0IGJlIG1hcmtlciB0cmFuc2Zvcm0uCgBbJXNdIABkZWJ1ZwBpbmZvAHdhcm5pbmcAZXJyb3IAJXMlcwAuaXNldABFcnJvcjogdW5hYmxlIHRvIG9wZW4gZmlsZSAnJXMlcycgZm9yIHJlYWRpbmcuCgBFcnJvciByZWFkaW5nIGltYWdlU2V0LgoASW1hZ2VzZXQgY29udGFpbnMgJWQgaW1hZ2VzLgoARmFsbGluZyBiYWNrIHRvIHJlYWRpbmcgJyVzJXMnIGluIEFSVG9vbEtpdCB2NC54IGZvcm1hdC4KAEVycm9yIHJlYWRpbmcgSlBFRyBmaWxlLgoARXJyb3IgcmVhZGluZyBKUEVHIGZpbGUgaGVhZGVyLgoAJWYARmlsZSBvcGVuIGVycm9yLiAlcwoAUmVhZCBlcnJvciEhCgByAEVycm9yIG9wZW5pbmcgZmlsZSAnJXMnOiAAJXMlcwoAJWQACiMjIyBTdXJmYWNlIE5vLiVkICMjIwoAJXMAICBSZWFkIEltYWdlU2V0LgoARXJyb3Igb3BlbmluZyBmaWxlICclcy5pc2V0Jy4KACAgICBlbmQuCgAgIFJlYWQgRmVhdHVyZVNldC4KAEVycm9yIG9wZW5pbmcgZmlsZSAnJXMuZnNldCcuCgAgIFJlYWQgTWFya2VyU2V0LgoAbXJrAEVycm9yIG9wZW5pbmcgZmlsZSAnJXMubXJrJy4KACVmICVmICVmICVmAFRyYW5zZm9ybWF0aW9uIG1hdHJpeCByZWFkIGVycm9yISEKAGpwZwBrcG1EZWxldGVSZWZEYXRhU2V0KCk6IE5VTEwgcmVmRGF0YVNldFB0cjEvcmVmRGF0YVNldFB0cjIuCgBrcG1EZWxldGVSZWZEYXRhU2V0KCk6IE5VTEwgcmVmRGF0YVNldFB0ci4KAHJiAGtwbUxvYWRSZWZEYXRhU2V0KCk6IE5VTEwgZmlsZW5hbWUvcmVmRGF0YVNldFB0ci4KAEVycm9yIGxvYWRpbmcgS1BNIGRhdGE6IHVuYWJsZSB0byBvcGVuIGZpbGUgJyVzJXMlcycgZm9yIHJlYWRpbmcuCgBFcnJvciBsb2FkaW5nIEtQTSBkYXRhOiBlcnJvciByZWFkaW5nIGRhdGEuCgBrcG1DaGFuZ2VQYWdlTm9PZlJlZkRhdGFTZXQoKTogTlVMTCByZWZEYXRhU2V0LgoAa3BtU2V0UmVmRGF0YVNldCgpOiBOVUxMIGtwbUhhbmRsZS9yZWZEYXRhU2V0LgoAa3BtU2V0UmVmRGF0YVNldCgpOiByZWZEYXRhU2V0LgoAcG9pbnRzLSVkCgBrcG1NYXRjaGluZygpOiBOVUxMIGtwbUhhbmRsZS9pbkltYWdlTHVtYS4KAFBhZ2VbJWRdICBwcmU6JTNkLCBhZnQ6JTNkLCBlcnJvciA9ICVmCgAlcy4lcwBBc3NlcnRpb24gYHB5cmFtaWQtPnNpemUoKSA+IDBgIGZhaWxlZCBpbiAAL2hvbWUvd2FsdGVyL2thbHdhbHQtZ2l0aHViL2pzYXJ0b29sa2l0TkZUL2Vtc2NyaXB0ZW4vYXJ0b29sa2l0NS9saWIvU1JDL0tQTS9GcmVha01hdGNoZXIvZGV0ZWN0b3JzL0RvR19zY2FsZV9pbnZhcmlhbnRfZGV0ZWN0b3IuY3BwAFB5cmFtaWQgaXMgbm90IGFsbG9jYXRlZABPY3RhdmUgb3V0IG9mIHJhbmdlAFNjYWxlIG91dCBvZiByYW5nZQBBc3NlcnRpb24gYG1JbWFnZXMuc2l6ZSgpID4gMGAgZmFpbGVkIGluIABMYXBsYWNpYW4gcHlyYW1pZCBoYXMgbm90IGJlZW4gYWxsb2NhdGVkAEFzc2VydGlvbiBgcHlyYW1pZC0+bnVtT2N0YXZlcygpID4gMGAgZmFpbGVkIGluIABQeXJhbWlkIGRvZXMgbm90IGNvbnRhaW4gYW55IGxldmVscwBBc3NlcnRpb24gYGR5bmFtaWNfY2FzdDxjb25zdCBCaW5vbWlhbFB5cmFtaWQzMmYqPihweXJhbWlkKWAgZmFpbGVkIGluIABPbmx5IGJpbm9taWFsIHB5cmFtaWQgaXMgc3VwcG9ydGVkAEFzc2VydGlvbiBgZC50eXBlKCkgPT0gSU1BR0VfRjMyYCBmYWlsZWQgaW4gAE9ubHkgRjMyIGltYWdlcyBzdXBwb3J0ZWQAQXNzZXJ0aW9uIGBpbTEudHlwZSgpID09IElNQUdFX0YzMmAgZmFpbGVkIGluIABBc3NlcnRpb24gYGltMi50eXBlKCkgPT0gSU1BR0VfRjMyYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgZC5jaGFubmVscygpID09IDFgIGZhaWxlZCBpbiAAT25seSBzaW5nbGUgY2hhbm5lbCBpbWFnZXMgc3VwcG9ydGVkAEFzc2VydGlvbiBgaW0xLmNoYW5uZWxzKCkgPT0gMWAgZmFpbGVkIGluIABBc3NlcnRpb24gYGltMi5jaGFubmVscygpID09IDFgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGBkLndpZHRoKCkgPT0gaW0yLndpZHRoKClgIGZhaWxlZCBpbiAASW1hZ2VzIG11c3QgaGF2ZSB0aGUgc2FtZSB3aWR0aABBc3NlcnRpb24gYGQuaGVpZ2h0KCkgPT0gaW0yLmhlaWdodCgpYCBmYWlsZWQgaW4gAEltYWdlcyBtdXN0IGhhdmUgdGhlIHNhbWUgaGVpZ2h0AEFzc2VydGlvbiBgaW0xLndpZHRoKCkgPT0gaW0yLndpZHRoKClgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGBpbTEuaGVpZ2h0KCkgPT0gaW0yLmhlaWdodCgpYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgcm93IDwgbUhlaWdodGAgZmFpbGVkIGluIAAvaG9tZS93YWx0ZXIva2Fsd2FsdC1naXRodWIvanNhcnRvb2xraXRORlQvZW1zY3JpcHRlbi9hcnRvb2xraXQ1L2xpYi9TUkMvS1BNL0ZyZWFrTWF0Y2hlci9mcmFtZXdvcmsvaW1hZ2UuaAByb3cgb3V0IG9mIGJvdW5kcwBONnZpc2lvbjI1R2F1c3NpYW5TY2FsZVNwYWNlUHlyYW1pZEUARG9HIFB5cmFtaWQATm9uLW1heCBzdXBwcmVzc2lvbgBTdWJwaXhlbABwcnVuZUZlYXR1cmVzAEZpbmQgT3JpZW50YXRpb25zAEFzc2VydGlvbiBgbUJ1Y2tldHMuc2l6ZSgpID09IG1OdW1CdWNrZXRzWGAgZmFpbGVkIGluIABCdWNrZXRzIGFyZSBub3QgYWxsb2NhdGVkAEFzc2VydGlvbiBgbUJ1Y2tldHNbMF0uc2l6ZSgpID09IG1OdW1CdWNrZXRzWWAgZmFpbGVkIGluIABBc3NlcnRpb24gYG1GZWF0dXJlUG9pbnRzLnNpemUoKSA8PSBtTWF4TnVtRmVhdHVyZVBvaW50c2AgZmFpbGVkIGluIABUb28gbWFueSBmZWF0dXJlIHBvaW50cwBBc3NlcnRpb24gYGJ1Y2tldFswXS5maXJzdCA+PSBidWNrZXRbbl0uZmlyc3RgIGZhaWxlZCBpbiAAbnRoX2VsZW1lbnQgZmFpbGVkAEFzc2VydGlvbiBga3Auc2NhbGUgPCBtTGFwbGFjaWFuUHlyYW1pZC5udW1TY2FsZVBlck9jdGF2ZSgpYCBmYWlsZWQgaW4gAEZlYXR1cmUgcG9pbnQgc2NhbGUgaXMgb3V0IG9mIGJvdW5kcwBBc3NlcnRpb24gYGtwLnNjb3JlID09IGxhcDEuZ2V0PGZsb2F0Pih5KVt4XWAgZmFpbGVkIGluIABTY29yZSBpcyBub3QgY29uc2lzdGVudCB3aXRoIHRoZSBEb0cgaW1hZ2UAQXNzZXJ0aW9uIGBsYXAwLmhlaWdodCgpID09IGxhcDEuaGVpZ2h0KCkgPT0gbGFwMi5oZWlnaHQoKWAgZmFpbGVkIGluIAAvaG9tZS93YWx0ZXIva2Fsd2FsdC1naXRodWIvanNhcnRvb2xraXRORlQvZW1zY3JpcHRlbi9hcnRvb2xraXQ1L2xpYi9TUkMvS1BNL0ZyZWFrTWF0Y2hlci9kZXRlY3RvcnMvRG9HX3NjYWxlX2ludmFyaWFudF9kZXRlY3Rvci5oAFdpZHRoL2hlaWdodCBhcmUgbm90IGNvbnNpc3RlbnQAQXNzZXJ0aW9uIGAobGFwMC5oZWlnaHQoKSA9PSBsYXAxLmhlaWdodCgpKSAmJiAoKGxhcDEuaGVpZ2h0KCk+PjEpID09IGxhcDIuaGVpZ2h0KCkpYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgKChsYXAwLndpZHRoKCk+PjEpID09IGxhcDEud2lkdGgoKSkgJiYgKGxhcDEud2lkdGgoKSA9PSBsYXAyLndpZHRoKCkpYCBmYWlsZWQgaW4gAEltYWdlIHNpemVzIGFyZSBpbmNvbnNpc3RlbnQAQXNzZXJ0aW9uIGAoeC0xKSA+PSAwICYmICh4KzEpIDwgbGFwMS53aWR0aCgpYCBmYWlsZWQgaW4gAHggb3V0IG9mIGJvdW5kcwBBc3NlcnRpb24gYCh5LTEpID49IDAgJiYgKHkrMSkgPCBsYXAxLmhlaWdodCgpYCBmYWlsZWQgaW4gAHkgb3V0IG9mIGJvdW5kcwBBc3NlcnRpb24gYChsYXAwLndpZHRoKCk+PjEpID09IGxhcDEud2lkdGgoKWAgZmFpbGVkIGluIABJbWFnZSBkaW1lbnNpb25zIGluY29uc2lzdGVudABBc3NlcnRpb24gYChsYXAwLndpZHRoKCk+PjEpID09IGxhcDIud2lkdGgoKWAgZmFpbGVkIGluIABBc3NlcnRpb24gYChsYXAwLmhlaWdodCgpPj4xKSA9PSBsYXAxLmhlaWdodCgpYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgKGxhcDAuaGVpZ2h0KCk+PjEpID09IGxhcDIuaGVpZ2h0KClgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGAoaW50KXN0ZDo6Zmxvb3IoeCkgPT0gKGludCl4YCBmYWlsZWQgaW4gAC9ob21lL3dhbHRlci9rYWx3YWx0LWdpdGh1Yi9qc2FydG9vbGtpdE5GVC9lbXNjcmlwdGVuL2FydG9vbGtpdDUvbGliL1NSQy9LUE0vRnJlYWtNYXRjaGVyL2RldGVjdG9ycy9pbnRlcnBvbGF0ZS5oAGZsb29yKCkgYW5kIGNhc3Qgbm90IHRoZSBzYW1lAEFzc2VydGlvbiBgKGludClzdGQ6OmZsb29yKHkpID09IChpbnQpeWAgZmFpbGVkIGluIABBc3NlcnRpb24gYHlwID49IDAgJiYgeXAgPCBoZWlnaHRgIGZhaWxlZCBpbiAAeXAgb3V0IG9mIGJvdW5kcwBBc3NlcnRpb24gYHlwX3BsdXNfMSA+PSAwICYmIHlwX3BsdXNfMSA8IGhlaWdodGAgZmFpbGVkIGluIAB5cF9wbHVzXzEgb3V0IG9mIGJvdW5kcwBBc3NlcnRpb24gYHhwID49IDAgJiYgeHAgPCB3aWR0aGAgZmFpbGVkIGluIAB4cCBvdXQgb2YgYm91bmRzAEFzc2VydGlvbiBgeHBfcGx1c18xID49IDAgJiYgeHBfcGx1c18xIDwgd2lkdGhgIGZhaWxlZCBpbiAAeHBfcGx1c18xIG91dCBvZiBib3VuZHMAQXNzZXJ0aW9uIGB3MCA+PSAwICYmIHcwIDw9IDEuMDAwMWAgZmFpbGVkIGluIABPdXQgb2YgcmFuZ2UAQXNzZXJ0aW9uIGB3MSA+PSAwICYmIHcxIDw9IDEuMDAwMWAgZmFpbGVkIGluIABBc3NlcnRpb24gYHcyID49IDAgJiYgdzIgPD0gMS4wMDAxYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgdzMgPj0gMCAmJiB3MyA8PSAxLjAwMDFgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGAodzArdzErdzIrdzMpIDw9IDEuMDAwMWAgZmFpbGVkIGluIABBc3NlcnRpb24gYCh4LTEpID49IDAgJiYgKHgrMSkgPCBpbS53aWR0aCgpYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgKHktMSkgPj0gMCAmJiAoeSsxKSA8IGltLmhlaWdodCgpYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgbGFwMC53aWR0aCgpID09IGxhcDEud2lkdGgoKWAgZmFpbGVkIGluIABBc3NlcnRpb24gYGxhcDAuaGVpZ2h0KCkgPT0gbGFwMS5oZWlnaHQoKWAgZmFpbGVkIGluIABBc3NlcnRpb24gYHhfZGl2XzItMC41ZiA+PSAwYCBmYWlsZWQgaW4gAHhfZGl2XzIgb3V0IG9mIGJvdW5kcyBvdXQgb2YgYm91bmRzIGZvciBpbnRlcnBvbGF0aW9uAEFzc2VydGlvbiBgeV9kaXZfMi0wLjVmID49IDBgIGZhaWxlZCBpbiAAeV9kaXZfMiBvdXQgb2YgYm91bmRzIG91dCBvZiBib3VuZHMgZm9yIGludGVycG9sYXRpb24AQXNzZXJ0aW9uIGB4X2Rpdl8yKzAuNWYgPCBsYXAyLndpZHRoKClgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGB5X2Rpdl8yKzAuNWYgPCBsYXAyLmhlaWdodCgpYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgbGFwMC53aWR0aCgpID09IGxhcDIud2lkdGgoKWAgZmFpbGVkIGluIABBc3NlcnRpb24gYGxhcDAuaGVpZ2h0KCkgPT0gbGFwMi5oZWlnaHQoKWAgZmFpbGVkIGluIABBc3NlcnRpb24gYGltMC5oZWlnaHQoKSA9PSBpbTEuaGVpZ2h0KClgIGZhaWxlZCBpbiAASGVpZ2h0IGlzIGluY29uc2lzdGVudABBc3NlcnRpb24gYGltMC5oZWlnaHQoKSA9PSBpbTIuaGVpZ2h0KClgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGAoaW0xLmhlaWdodCgpPj4xKSA9PSBpbTIuaGVpZ2h0KClgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGAoaW0wLmhlaWdodCgpPj4xKSA9PSBpbTEuaGVpZ2h0KClgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGAoaW0wLmhlaWdodCgpPj4xKSA9PSBpbTIuaGVpZ2h0KClgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGBpbmRleCA8IG1JbWFnZXMuc2l6ZSgpYCBmYWlsZWQgaW4gAEluZGV4IGlzIG91dCBvZiByYW5nZQBONnZpc2lvbjE4Qmlub21pYWxQeXJhbWlkMzJmRQBBc3NlcnRpb24gYHdpZHRoID49IDVgIGZhaWxlZCBpbiAAL2hvbWUvd2FsdGVyL2thbHdhbHQtZ2l0aHViL2pzYXJ0b29sa2l0TkZUL2Vtc2NyaXB0ZW4vYXJ0b29sa2l0NS9saWIvU1JDL0tQTS9GcmVha01hdGNoZXIvZGV0ZWN0b3JzL2dhdXNzaWFuX3NjYWxlX3NwYWNlX3B5cmFtaWQuY3BwAEltYWdlIGlzIHRvbyBzbWFsbABBc3NlcnRpb24gYGhlaWdodCA+PSA1YCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgaW1hZ2UudHlwZSgpID09IElNQUdFX1VJTlQ4YCBmYWlsZWQgaW4gAEltYWdlIG11c3QgYmUgZ3JheXNjYWxlAEFzc2VydGlvbiBgaW1hZ2UuY2hhbm5lbHMoKSA9PSAxYCBmYWlsZWQgaW4gAEltYWdlIG11c3QgaGF2ZSAxIGNoYW5uZWwAQXNzZXJ0aW9uIGBtUHlyYW1pZC5zaXplKCkgPT0gbU51bU9jdGF2ZXMqbU51bVNjYWxlc1Blck9jdGF2ZWAgZmFpbGVkIGluIABQeXJhbWlkIGhhcyBub3QgYmVlbiBhbGxvY2F0ZWQgeWV0AEFzc2VydGlvbiBgaW1hZ2Uud2lkdGgoKSA9PSBtUHlyYW1pZFswXS53aWR0aCgpYCBmYWlsZWQgaW4gAEltYWdlIG9mIHdyb25nIHNpemUgZm9yIHB5cmFtaWQAQXNzZXJ0aW9uIGBpbWFnZS5oZWlnaHQoKSA9PSBtUHlyYW1pZFswXS5oZWlnaHQoKWAgZmFpbGVkIGluIABBc3NlcnRpb24gYGRzdC50eXBlKCkgPT0gSU1BR0VfRjMyYCBmYWlsZWQgaW4gAERlc3RpbmF0aW9uIGltYWdlIHNob3VsZCBiZSBhIGZsb2F0AFVua25vd24gaW1hZ2UgdHlwZQBVbnN1cHBvcnRlZCBpbWFnZSB0eXBlAE42dmlzaW9uOUV4Y2VwdGlvbkUAQXNzZXJ0aW9uIGBpbS53aWR0aCgpID09IGltLnN0ZXAoKS9zaXplb2YoZmxvYXQpYCBmYWlsZWQgaW4gAC9ob21lL3dhbHRlci9rYWx3YWx0LWdpdGh1Yi9qc2FydG9vbGtpdE5GVC9lbXNjcmlwdGVuL2FydG9vbGtpdDUvbGliL1NSQy9LUE0vRnJlYWtNYXRjaGVyL2RldGVjdG9ycy9vcmllbnRhdGlvbl9hc3NpZ25tZW50LmNwcABTdGVwIHNpemUgbXVzdCBiZSBlcXVhbCB0byB3aWR0aCBmb3Igbm93AEFzc2VydGlvbiBgeCA+PSAwYCBmYWlsZWQgaW4gAHggbXVzdCBiZSBwb3NpdGl2ZQBBc3NlcnRpb24gYHggPCBtR3JhZGllbnRzW29jdGF2ZSptTnVtU2NhbGVzUGVyT2N0YXZlK3NjYWxlXS53aWR0aCgpYCBmYWlsZWQgaW4gAHggbXVzdCBiZSBsZXNzIHRoYW4gdGhlIGltYWdlIHdpZHRoAEFzc2VydGlvbiBgeSA+PSAwYCBmYWlsZWQgaW4gAHkgbXVzdCBiZSBwb3NpdGl2ZQBBc3NlcnRpb24gYHkgPCBtR3JhZGllbnRzW29jdGF2ZSptTnVtU2NhbGVzUGVyT2N0YXZlK3NjYWxlXS5oZWlnaHQoKWAgZmFpbGVkIGluIAB5IG11c3QgYmUgbGVzcyB0aGFuIHRoZSBpbWFnZSBoZWlnaHQAQXNzZXJ0aW9uIGBnLmNoYW5uZWxzKCkgPT0gMmAgZmFpbGVkIGluIABOdW1iZXIgb2YgY2hhbm5lbHMgc2hvdWxkIGJlIDIAQXNzZXJ0aW9uIGBtYXhfaGVpZ2h0ID4gMGAgZmFpbGVkIGluIABNYXhpbXVtIGJpbiBzaG91bGQgYmUgcG9zaXRpdmUAQXNzZXJ0aW9uIGBoaXN0ICE9IE5VTExgIGZhaWxlZCBpbiAAL2hvbWUvd2FsdGVyL2thbHdhbHQtZ2l0aHViL2pzYXJ0b29sa2l0TkZUL2Vtc2NyaXB0ZW4vYXJ0b29sa2l0NS9saWIvU1JDL0tQTS9GcmVha01hdGNoZXIvZGV0ZWN0b3JzL29yaWVudGF0aW9uX2Fzc2lnbm1lbnQuaABIaXN0b2dyYW0gcG9pbnRlciBpcyBOVUxMAEFzc2VydGlvbiBgKGZiaW4rMC41ZikgPiAwICYmIChmYmluLTAuNWYpIDwgbnVtX2JpbnNgIGZhaWxlZCBpbiAARGVjaW1hbCBiaW4gcG9zaXRpb24gaW5kZXggb3V0IG9mIHJhbmdlAEFzc2VydGlvbiBgbWFnbml0dWRlID49IDBgIGZhaWxlZCBpbiAATWFnbml0dWRlIGNhbm5vdCBiZSBuZWdhdGl2ZQBBc3NlcnRpb24gYG51bV9iaW5zID49IDBgIGZhaWxlZCBpbiAATnVtYmVyIGJpbnMgbXVzdCBiZSBwb3NpdGl2ZQBBc3NlcnRpb24gYHcxID49IDBgIGZhaWxlZCBpbiAAdzEgbXVzdCBiZSBwb3NpdGl2ZQBBc3NlcnRpb24gYHcyID49IDBgIGZhaWxlZCBpbiAAdzIgbXVzdCBiZSBwb3NpdGl2ZQBBc3NlcnRpb24gYGIxID49IDAgJiYgYjEgPCBudW1fYmluc2AgZmFpbGVkIGluIABiMSBiaW4gaW5kZXggb3V0IG9mIHJhbmdlAEFzc2VydGlvbiBgYjIgPj0gMCAmJiBiMiA8IG51bV9iaW5zYCBmYWlsZWQgaW4gAGIyIGJpbiBpbmRleCBvdXQgb2YgcmFuZ2UASUQgYWxyZWFkeSBleGlzdHMAQnVpbGQgUHlyYW1pZABFeHRyYWN0IEZlYXR1cmVzAEFzc2VydGlvbiBgYXNzaWdubWVudC5zaXplKCkgPT0gbnVtX2luZGljZXNgIGZhaWxlZCBpbiAAL2hvbWUvd2FsdGVyL2thbHdhbHQtZ2l0aHViL2pzYXJ0b29sa2l0TkZUL2Vtc2NyaXB0ZW4vYXJ0b29sa2l0NS9saWIvU1JDL0tQTS9GcmVha01hdGNoZXIvbWF0Y2hlcnMvYmluYXJ5X2hpZXJhcmNoaWNhbF9jbHVzdGVyaW5nLmgAQXNzaWdubWVudCBzaXplIHdyb25nAEFzc2VydGlvbiBgYXNzaWdubWVudFtpXSAhPSAtMWAgZmFpbGVkIGluIABBc3NpZ25tZW50IGlzIGludmFsaWQAQXNzZXJ0aW9uIGBhc3NpZ25tZW50W2ldIDwgbnVtX2luZGljZXNgIGZhaWxlZCBpbiAAQXNzaWdubWVudCBvdXQgb2YgcmFuZ2UAQXNzZXJ0aW9uIGBpbmRpY2VzW2Fzc2lnbm1lbnRbaV1dIDwgbnVtX2ZlYXR1cmVzYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgaXQtPnNlY29uZC5zaXplKCkgIT0gMGAgZmFpbGVkIGluIABDbHVzdGVyIG11c3QgaGF2ZSBhdGxlYXNldCAxIGZlYXR1cmUAQXNzZXJ0aW9uIGBtSyA9PSBtQ2VudGVycy5zaXplKClgIGZhaWxlZCBpbiAAL2hvbWUvd2FsdGVyL2thbHdhbHQtZ2l0aHViL2pzYXJ0b29sa2l0TkZUL2Vtc2NyaXB0ZW4vYXJ0b29sa2l0NS9saWIvU1JDL0tQTS9GcmVha01hdGNoZXIvbWF0Y2hlcnMva21lZG9pZHMuaABrIHNob3VsZCBtYXRjaCB0aGUgbnVtYmVyIG9mIGNsdXN0ZXIgY2VudGVycwBBc3NlcnRpb24gYG51bV9mZWF0dXJlcyA+IDBgIGZhaWxlZCBpbiAATnVtYmVyIG9mIGZlYXR1cmVzIG11c3QgYmUgcG9zaXRpdmUAQXNzZXJ0aW9uIGBudW1faW5kaWNlcyA8PSBudW1fZmVhdHVyZXNgIGZhaWxlZCBpbiAATW9yZSBpbmRpY2VzIHRoYW4gZmVhdHVyZXMAQXNzZXJ0aW9uIGBudW1faW5kaWNlcyA+PSBtS2AgZmFpbGVkIGluIABOb3QgZW5vdWdoIGZlYXR1cmVzAEFzc2lnbm1lbnQgc2l6ZSBpcyBpbmNvcnJlY3QAQXNzZXJ0aW9uIGBudW1fY2VudGVycyA+IDBgIGZhaWxlZCBpbiAAVGhlcmUgbXVzdCBiZSBhdCBsZWFzdCAxIGNlbnRlcgAvaG9tZS93YWx0ZXIva2Fsd2FsdC1naXRodWIvanNhcnRvb2xraXRORlQvZW1zY3JpcHRlbi9hcnRvb2xraXQ1L2xpYi9TUkMvS1BNL0ZyZWFrTWF0Y2hlci9tYXRjaGVycy92aXN1YWxfZGF0YWJhc2UuaABBc3NlcnRpb24gYGRldGVjdG9yYCBmYWlsZWQgaW4gAERldGVjdG9yIGlzIE5VTEwAQXNzZXJ0aW9uIGBweXJhbWlkLT5pbWFnZXMoKS5zaXplKCkgPiAwYCBmYWlsZWQgaW4gAFB5cmFtaWQgaXMgZW1wdHkAQXNzZXJ0aW9uIGBweXJhbWlkLT5pbWFnZXMoKVswXS53aWR0aCgpID09IGRldGVjdG9yLT53aWR0aCgpYCBmYWlsZWQgaW4gAFB5cmFtaWQgYW5kIGRldGVjdG9yIHNpemUgbWlzbWF0Y2gAQXNzZXJ0aW9uIGBweXJhbWlkLT5pbWFnZXMoKVswXS5oZWlnaHQoKSA9PSBkZXRlY3Rvci0+aGVpZ2h0KClgIGZhaWxlZCBpbiAATlN0M19fMjE0ZGVmYXVsdF9kZWxldGVJTjZ2aXNpb244S2V5ZnJhbWVJTGk5NkVFRUVFAE5TdDNfXzIyMF9fc2hhcmVkX3B0cl9wb2ludGVySVBONnZpc2lvbjhLZXlmcmFtZUlMaTk2RUVFTlNfMTRkZWZhdWx0X2RlbGV0ZUlTM19FRU5TXzlhbGxvY2F0b3JJUzNfRUVFRQBbJXNdIFslc10gWyVzXSA6IEZvdW5kICVkIGZlYXR1cmVzIGluIHF1ZXJ5AGJvb2wgdmlzaW9uOjpWaXN1YWxEYXRhYmFzZTx2aXNpb246OkZSRUFLRXh0cmFjdG9yLCB2aXNpb246OkJpbmFyeUZlYXR1cmVTdG9yZSwgdmlzaW9uOjpCaW5hcnlGZWF0dXJlTWF0Y2hlcjw5Nj4gPjo6cXVlcnkoY29uc3QgdmlzaW9uOjpHYXVzc2lhblNjYWxlU3BhY2VQeXJhbWlkICopIFtGRUFUVVJFX0VYVFJBQ1RPUiA9IHZpc2lvbjo6RlJFQUtFeHRyYWN0b3IsIFNUT1JFID0gdmlzaW9uOjpCaW5hcnlGZWF0dXJlU3RvcmUsIE1BVENIRVIgPSB2aXNpb246OkJpbmFyeUZlYXR1cmVNYXRjaGVyPDk2Pl0ARmluZCBNYXRjaGVzICgxKQBIb3VnaCBWb3RpbmcgKDEpAEZpbmQgSG91Z2ggTWF0Y2hlcyAoMSkARXN0aW1hdGUgSG9tb2dyYXBoeSAoMSkARmluZCBJbmxpZXJzICgxKQBGaW5kIE1hdGNoZXMgKDIpAEhvdWdoIFZvdGluZyAoMikARmluZCBIb3VnaCBNYXRjaGVzICgyKQBFc3RpbWF0ZSBIb21vZ3JhcGh5ICgyKQBGaW5kIElubGllcnMgKDIpAEFzc2VydGlvbiBgMGAgZmFpbGVkIGluIAAvaG9tZS93YWx0ZXIva2Fsd2FsdC1naXRodWIvanNhcnRvb2xraXRORlQvZW1zY3JpcHRlbi9hcnRvb2xraXQ1L2xpYi9TUkMvS1BNL0ZyZWFrTWF0Y2hlci9tYXRjaGVycy9mZWF0dXJlX21hdGNoZXItaW5saW5lLmgARmFpbGVkIHRvIGNvbXB1dGUgbWF0cml4IGludmVyc2UAQXNzZXJ0aW9uIGBiZXN0X2luZGV4ICE9IHN0ZDo6bnVtZXJpY19saW1pdHM8c2l6ZV90Pjo6bWF4KClgIGZhaWxlZCBpbiAAU29tZXRoaW5nIHN0cmFuZ2UAQXNzZXJ0aW9uIGBtTWF0Y2hlcy5zaXplKCkgPD0gZmVhdHVyZXMxLT5zaXplKClgIGZhaWxlZCBpbiAATnVtYmVyIG9mIG1hdGNoZXMgc2hvdWxkIGJlIGxvd2VyAEFzc2VydGlvbiBgaHlwLnNpemUoKSA+PSA5Km1heF9udW1faHlwb3RoZXNlc2AgZmFpbGVkIGluIAAvaG9tZS93YWx0ZXIva2Fsd2FsdC1naXRodWIvanNhcnRvb2xraXRORlQvZW1zY3JpcHRlbi9hcnRvb2xraXQ1L2xpYi9TUkMvS1BNL0ZyZWFrTWF0Y2hlci9ob21vZ3JhcGh5X2VzdGltYXRpb24vcm9idXN0X2hvbW9ncmFwaHkuaABoeXAgdmVjdG9yIHNob3VsZCBiZSBvZiBzaXplIDkqbWF4X251bV9oeXBvdGhlc2VzAEFzc2VydGlvbiBgdG1wX2kuc2l6ZSgpID49IG51bV9wb2ludHNgIGZhaWxlZCBpbiAAdG1wX2kgdmVjdG9yIHNob3VsZCBiZSBvZiBzaXplIG51bV9wb2ludHMAQXNzZXJ0aW9uIGBoeXBfY29zdHMuc2l6ZSgpID49IG1heF9udW1faHlwb3RoZXNlc2AgZmFpbGVkIGluIABoeXBfY29zdHMgdmVjdG9yIHNob3VsZCBiZSBvZiBzaXplIG1heF9udW1faHlwb3RoZXNlcwBBc3NlcnRpb24gYG4gPD0gaW5fbWF0Y2hlcy5zaXplKClgIGZhaWxlZCBpbiAAU2hvdWxkIGJlIHRoZSBzYW1lAEFzc2VydGlvbiBgZGlzdEJpbkFuZ2xlID49IDBgIGZhaWxlZCBpbiAAZGlzdEJpbkFuZ2xlIG11c3Qgbm90IGJlIG5lZ2F0aXZlAEFzc2VydGlvbiBgbVJvb3QuZ2V0KClgIGZhaWxlZCBpbiAAUm9vdCBjYW5ub3QgYmUgTlVMTABBc3NlcnRpb24gYG1pbmkgIT0gLTFgIGZhaWxlZCBpbiAATWluaW11bSBpbmRleCBub3Qgc2V0AEFzc2VydGlvbiBgeCA+PSBtTWluWGAgZmFpbGVkIGluIAAvaG9tZS93YWx0ZXIva2Fsd2FsdC1naXRodWIvanNhcnRvb2xraXRORlQvZW1zY3JpcHRlbi9hcnRvb2xraXQ1L2xpYi9TUkMvS1BNL0ZyZWFrTWF0Y2hlci9tYXRjaGVycy9ob3VnaF9zaW1pbGFyaXR5X3ZvdGluZy5oAHggb3V0IG9mIHJhbmdlAEFzc2VydGlvbiBgeCA8IG1NYXhYYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgeSA+PSBtTWluWWAgZmFpbGVkIGluIAB5IG91dCBvZiByYW5nZQBBc3NlcnRpb24gYHkgPCBtTWF4WWAgZmFpbGVkIGluIABBc3NlcnRpb24gYGFuZ2xlID4gLVBJYCBmYWlsZWQgaW4gAGFuZ2xlIG91dCBvZiByYW5nZQBBc3NlcnRpb24gYGFuZ2xlIDw9IFBJYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgc2NhbGUgPj0gbU1pblNjYWxlYCBmYWlsZWQgaW4gAHNjYWxlIG91dCBvZiByYW5nZQBBc3NlcnRpb24gYHNjYWxlIDwgbU1heFNjYWxlYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgaW5kZXggPj0gMGAgZmFpbGVkIGluIABpbmRleCBvdXQgb2YgcmFuZ2UAQXNzZXJ0aW9uIGBiaW5YID49IDBgIGZhaWxlZCBpbiAAYmluWCBvdXQgb2YgcmFuZ2UAQXNzZXJ0aW9uIGBiaW5YIDwgbU51bVhCaW5zYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgYmluWSA+PSAwYCBmYWlsZWQgaW4gAGJpblkgb3V0IG9mIHJhbmdlAEFzc2VydGlvbiBgYmluWSA8IG1OdW1ZQmluc2AgZmFpbGVkIGluIABBc3NlcnRpb24gYGJpbkFuZ2xlID49IDBgIGZhaWxlZCBpbiAAYmluQW5nbGUgb3V0IG9mIHJhbmdlAEFzc2VydGlvbiBgYmluQW5nbGUgPCBtTnVtQW5nbGVCaW5zYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgYmluU2NhbGUgPj0gMGAgZmFpbGVkIGluIABiaW5TY2FsZSBvdXQgb2YgcmFuZ2UAQXNzZXJ0aW9uIGBiaW5TY2FsZSA8IG1OdW1TY2FsZUJpbnNgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGBpbmRleCA8PSAoYmluWCArIGJpblkqbU51bVhCaW5zICsgYmluQW5nbGUqbU51bVhCaW5zKm1OdW1ZQmlucyArIGJpblNjYWxlKm1OdW1YQmlucyptTnVtWUJpbnMqbU51bUFuZ2xlQmlucylgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGBzaXplID4gMGAgZmFpbGVkIGluIAAvaG9tZS93YWx0ZXIva2Fsd2FsdC1naXRodWIvanNhcnRvb2xraXRORlQvZW1zY3JpcHRlbi9hcnRvb2xraXQ1L2xpYi9TUkMvS1BNL0ZyZWFrTWF0Y2hlci9tYXRjaGVycy9ob3VnaF9zaW1pbGFyaXR5X3ZvdGluZy5jcHAAc2l6ZSBtdXN0IGJlIHBvc2l0aXZlAEFzc2VydGlvbiBgbVJlZkltYWdlV2lkdGggPiAwYCBmYWlsZWQgaW4gAHdpZHRoIG11c3QgYmUgcG9zaXRpdmUAQXNzZXJ0aW9uIGBtUmVmSW1hZ2VIZWlnaHQgPiAwYCBmYWlsZWQgaW4gAGhlaWdodCBtdXN0IGJlIHBvc2l0aXZlAEFzc2VydGlvbiBgbiA+IDBgIGZhaWxlZCBpbiAAL2hvbWUvd2FsdGVyL2thbHdhbHQtZ2l0aHViL2pzYXJ0b29sa2l0TkZUL2Vtc2NyaXB0ZW4vYXJ0b29sa2l0NS9saWIvU1JDL0tQTS9GcmVha01hdGNoZXIvdXRpbHMvcGFydGlhbF9zb3J0LmgAbiBtdXN0IGJlIHBvc2l0aXZlAEFzc2VydGlvbiBgayA+IDBgIGZhaWxlZCBpbiAAayBtdXN0IGJlIHBvc2l0aXZlAEFzc2VydGlvbiBgcHlyYW1pZGAgZmFpbGVkIGluIAAvaG9tZS93YWx0ZXIva2Fsd2FsdC1naXRodWIvanNhcnRvb2xraXRORlQvZW1zY3JpcHRlbi9hcnRvb2xraXQ1L2xpYi9TUkMvS1BNL0ZyZWFrTWF0Y2hlci9tYXRjaGVycy9mcmVhay5oAFB5cmFtaWQgaXMgTlVMTABBc3NlcnRpb24gYHN0b3JlLnNpemUoKSA9PSBwb2ludHMuc2l6ZSgpYCBmYWlsZWQgaW4gAEZlYXR1cmUgc3RvcmUgaGFzIG5vdCBiZWVuIGFsbG9jYXRlZABBc3NlcnRpb24gYG51bV9wb2ludHMgPT0gcG9pbnRzLnNpemUoKWAgZmFpbGVkIGluIABTaG91bGQgYmUgc2FtZSBzaXplAEFzc2VydGlvbiBgb2N0YXZlID49IDBgIGZhaWxlZCBpbiAAL2hvbWUvd2FsdGVyL2thbHdhbHQtZ2l0aHViL2pzYXJ0b29sa2l0TkZUL2Vtc2NyaXB0ZW4vYXJ0b29sa2l0NS9saWIvU1JDL0tQTS9GcmVha01hdGNoZXIvZGV0ZWN0b3JzL2dhdXNzaWFuX3NjYWxlX3NwYWNlX3B5cmFtaWQuaABPY3RhdmUgbXVzdCBiZSBwb3NpdGl2ZQBBc3NlcnRpb24gYG9jdGF2ZSA8IG1OdW1PY3RhdmVzYCBmYWlsZWQgaW4gAE9jdGF2ZSBtdXN0IGJlIGxlc3MgdGhhbiBudW1iZXIgb2Ygb2N0YXZlcwBBc3NlcnRpb24gYHNjYWxlID49IDBgIGZhaWxlZCBpbiAAU2NhbGUgbXVzdCBiZSBwb3NpdGl2ZQBBc3NlcnRpb24gYHNjYWxlIDwgbU51bVNjYWxlc1Blck9jdGF2ZWAgZmFpbGVkIGluIABTY2FsZSBtdXN0IGJlIGxlc3MgdGhhbiBudW1iZXIgb2Ygc2NhbGUgcGVyIG9jdGF2ZQAlbS0lZC0lWS0lSC0lTS0lUwBBc3NlcnRpb24gYHdpZHRoID4gMGAgZmFpbGVkIGluIAAvaG9tZS93YWx0ZXIva2Fsd2FsdC1naXRodWIvanNhcnRvb2xraXRORlQvZW1zY3JpcHRlbi9hcnRvb2xraXQ1L2xpYi9TUkMvS1BNL0ZyZWFrTWF0Y2hlci9mcmFtZXdvcmsvaW1hZ2UuY3BwAFdpZHRoIGNhbm5vdCBiZSB6ZXJvAEFzc2VydGlvbiBgaGVpZ2h0ID4gMGAgZmFpbGVkIGluIABIZWlnaHQgY2Fubm90IGJlIHplcm8AQXNzZXJ0aW9uIGBzdGVwID49IHdpZHRoYCBmYWlsZWQgaW4gAFN0ZXAgbXVzdCBiZSBncmVhdGVyIHRoYW4gb3IgZXF1YWwgdGhlIHdpZHRoAEFzc2VydGlvbiBgY2hhbm5lbHMgPiAwYCBmYWlsZWQgaW4gAE51bWJlciBvZiBjaGFubmVscyBjYW5ub3QgYmUgemVybwBBc3NlcnRpb24gYG1EYXRhLmdldCgpYCBmYWlsZWQgaW4gAERhdGEgcG9pbnRlciBpcyBOVUxMAE5TdDNfXzIxNGRlZmF1bHRfZGVsZXRlSWhFRQBOU3QzX18yMjBfX3NoYXJlZF9wdHJfcG9pbnRlcklQaE5TXzE0ZGVmYXVsdF9kZWxldGVJaEVFTlNfOWFsbG9jYXRvckloRUVFRQBJbnZhbGlkIGltYWdlIHR5cGUAMTZOdWxsQXJyYXlEZWxldGVySWhFAE5TdDNfXzIyMF9fc2hhcmVkX3B0cl9wb2ludGVySVBoMTZOdWxsQXJyYXlEZWxldGVySWhFTlNfOWFsbG9jYXRvckloRUVFRQBBc3NlcnRpb24gYG1TdGFydFRpbWUgPj0gMGAgZmFpbGVkIGluIAAvaG9tZS93YWx0ZXIva2Fsd2FsdC1naXRodWIvanNhcnRvb2xraXRORlQvZW1zY3JpcHRlbi9hcnRvb2xraXQ1L2xpYi9TUkMvS1BNL0ZyZWFrTWF0Y2hlci9mcmFtZXdvcmsvdGltZXJzLmNwcAAgbGluZSAAOiAAQ2xvY2sgaGFzIG5vdCBiZWVuIHN0YXJ0ZWQAQXNzZXJ0aW9uIGBtU3RvcFRpbWUgPj0gMGAgZmFpbGVkIGluIABDbG9jayBoYXMgbm90IGJlZW4gc3RvcHBlZABbJXNdIFslc10gWyVzXSA6ICVzOiAlZiBtcwAgSU5GTyAgAHZpc2lvbjo6U2NvcGVkVGltZXI6On5TY29wZWRUaW1lcigpAHNldHVwAHRlYXJkb3duAHNldHVwQVIyAF9hZGRNYXJrZXIAX2FkZE11bHRpTWFya2VyAF9hZGRORlRNYXJrZXIAZ2V0TXVsdGlNYXJrZXJOdW0AZ2V0TXVsdGlNYXJrZXJDb3VudABfbG9hZENhbWVyYQBzZXRNYXJrZXJJbmZvRGlyAHNldE1hcmtlckluZm9WZXJ0ZXgAZ2V0VHJhbnNNYXRTcXVhcmUAZ2V0VHJhbnNNYXRTcXVhcmVDb250AGdldFRyYW5zTWF0TXVsdGlTcXVhcmUAZ2V0VHJhbnNNYXRNdWx0aVNxdWFyZVJvYnVzdABkZXRlY3RNYXJrZXIAZ2V0TWFya2VyTnVtAGRldGVjdE5GVE1hcmtlcgBnZXRNdWx0aUVhY2hNYXJrZXIAZ2V0TWFya2VyAGdldE5GVE1hcmtlcgBzZXREZWJ1Z01vZGUAZ2V0RGVidWdNb2RlAGdldFByb2Nlc3NpbmdJbWFnZQBzZXRMb2dMZXZlbABnZXRMb2dMZXZlbABzZXRQcm9qZWN0aW9uTmVhclBsYW5lAGdldFByb2plY3Rpb25OZWFyUGxhbmUAc2V0UHJvamVjdGlvbkZhclBsYW5lAGdldFByb2plY3Rpb25GYXJQbGFuZQBzZXRUaHJlc2hvbGRNb2RlAGdldFRocmVzaG9sZE1vZGUAc2V0VGhyZXNob2xkAGdldFRocmVzaG9sZABzZXRQYXR0ZXJuRGV0ZWN0aW9uTW9kZQBnZXRQYXR0ZXJuRGV0ZWN0aW9uTW9kZQBzZXRQYXR0UmF0aW8AZ2V0UGF0dFJhdGlvAHNldE1hdHJpeENvZGVUeXBlAGdldE1hdHJpeENvZGVUeXBlAHNldExhYmVsaW5nTW9kZQBnZXRMYWJlbGluZ01vZGUAc2V0SW1hZ2VQcm9jTW9kZQBnZXRJbWFnZVByb2NNb2RlAEVSUk9SX0FSQ09OVFJPTExFUl9OT1RfRk9VTkQARVJST1JfTVVMVElNQVJLRVJfTk9UX0ZPVU5EAEVSUk9SX01BUktFUl9JTkRFWF9PVVRfT0ZfQk9VTkRTAEFSX0RFQlVHX0RJU0FCTEUAQVJfREVCVUdfRU5BQkxFAEFSX0RFRkFVTFRfREVCVUdfTU9ERQBBUl9MQUJFTElOR19XSElURV9SRUdJT04AQVJfTEFCRUxJTkdfQkxBQ0tfUkVHSU9OAEFSX0RFRkFVTFRfTEFCRUxJTkdfTU9ERQBBUl9ERUZBVUxUX0xBQkVMSU5HX1RIUkVTSABBUl9JTUFHRV9QUk9DX0ZSQU1FX0lNQUdFAEFSX0lNQUdFX1BST0NfRklFTERfSU1BR0UAQVJfREVGQVVMVF9JTUFHRV9QUk9DX01PREUAQVJfVEVNUExBVEVfTUFUQ0hJTkdfQ09MT1IAQVJfVEVNUExBVEVfTUFUQ0hJTkdfTU9OTwBBUl9NQVRSSVhfQ09ERV9ERVRFQ1RJT04AQVJfVEVNUExBVEVfTUFUQ0hJTkdfQ09MT1JfQU5EX01BVFJJWABBUl9URU1QTEFURV9NQVRDSElOR19NT05PX0FORF9NQVRSSVgAQVJfREVGQVVMVF9QQVRURVJOX0RFVEVDVElPTl9NT0RFAEFSX1VTRV9UUkFDS0lOR19ISVNUT1JZAEFSX05PVVNFX1RSQUNLSU5HX0hJU1RPUlkAQVJfVVNFX1RSQUNLSU5HX0hJU1RPUllfVjIAQVJfREVGQVVMVF9NQVJLRVJfRVhUUkFDVElPTl9NT0RFAEFSX01BWF9MT09QX0NPVU5UAEFSX0xPT1BfQlJFQUtfVEhSRVNIAEFSX0xPR19MRVZFTF9ERUJVRwBBUl9MT0dfTEVWRUxfSU5GTwBBUl9MT0dfTEVWRUxfV0FSTgBBUl9MT0dfTEVWRUxfRVJST1IAQVJfTE9HX0xFVkVMX1JFTF9JTkZPAEFSX01BVFJJWF9DT0RFXzN4MwBBUl9NQVRSSVhfQ09ERV8zeDNfSEFNTUlORzYzAEFSX01BVFJJWF9DT0RFXzN4M19QQVJJVFk2NQBBUl9NQVRSSVhfQ09ERV80eDQAQVJfTUFUUklYX0NPREVfNHg0X0JDSF8xM185XzMAQVJfTUFUUklYX0NPREVfNHg0X0JDSF8xM181XzUAQVJfTEFCRUxJTkdfVEhSRVNIX01PREVfTUFOVUFMAEFSX0xBQkVMSU5HX1RIUkVTSF9NT0RFX0FVVE9fTUVESUFOAEFSX0xBQkVMSU5HX1RIUkVTSF9NT0RFX0FVVE9fT1RTVQBBUl9MQUJFTElOR19USFJFU0hfTU9ERV9BVVRPX0FEQVBUSVZFAEFSX01BUktFUl9JTkZPX0NVVE9GRl9QSEFTRV9OT05FAEFSX01BUktFUl9JTkZPX0NVVE9GRl9QSEFTRV9QQVRURVJOX0VYVFJBQ1RJT04AQVJfTUFSS0VSX0lORk9fQ1VUT0ZGX1BIQVNFX01BVENIX0dFTkVSSUMAQVJfTUFSS0VSX0lORk9fQ1VUT0ZGX1BIQVNFX01BVENIX0NPTlRSQVNUAEFSX01BUktFUl9JTkZPX0NVVE9GRl9QSEFTRV9NQVRDSF9CQVJDT0RFX05PVF9GT1VORABBUl9NQVJLRVJfSU5GT19DVVRPRkZfUEhBU0VfTUFUQ0hfQkFSQ09ERV9FRENfRkFJTABBUl9NQVJLRVJfSU5GT19DVVRPRkZfUEhBU0VfTUFUQ0hfQ09ORklERU5DRQBBUl9NQVJLRVJfSU5GT19DVVRPRkZfUEhBU0VfUE9TRV9FUlJPUgBBUl9NQVJLRVJfSU5GT19DVVRPRkZfUEhBU0VfUE9TRV9FUlJPUl9NVUxUSQBBUl9NQVJLRVJfSU5GT19DVVRPRkZfUEhBU0VfSEVVUklTVElDX1RST1VCTEVTT01FX01BVFJJWF9DT0RFUwBBUl9GSUxURVJfVFJBTlNfTUFUX1NBTVBMRV9SQVRFX0RFRkFVTFQAQVJfRklMVEVSX1RSQU5TX01BVF9DVVRPRkZfRlJFUV9ERUZBVUxUAGFsbG9jYXRvcjxUPjo6YWxsb2NhdGUoc2l6ZV90IG4pICduJyBleGNlZWRzIG1heGltdW0gc3VwcG9ydGVkIHNpemUASW1hZ2UgcHJvYy4gbW9kZSBzZXQgdG8gJWQuCgBMYWJlbGluZyBtb2RlIHNldCB0byAlZAoAdmlpZgBQYXR0ZXJuIHJhdGlvIHNpemUgc2V0IHRvICVmLgoAUGF0dGVybiBkZXRlY3Rpb24gbW9kZSBzZXQgdG8gJWQuCgBUaHJlc2hvbGQgc2V0IHRvICVkCgB2aWlpAFRocmVzaG9sZCBtb2RlIHNldCB0byAlZAoAZGlpAHZpaWQAaWkAdmlpAG9uLgBvZmYuAERlYnVnIG1vZGUgc2V0IHRvICVzCgBhckZpbHRlclRyYW5zTWF0IGVycm9yIHdpdGggbWFya2VyICVkLgoAVHJhY2tpbmcgbG9zdC4gJWQKAFRyYWNrZWQgcGFnZSAlZCAobWF4ICVkKS4KAHsgdmFyICRhID0gYXJndW1lbnRzOyB2YXIgaSA9IDA7IGlmICghYXJ0b29sa2l0WyJORlRNYXJrZXJJbmZvIl0pIHsgYXJ0b29sa2l0WyJORlRNYXJrZXJJbmZvIl0gPSAoeyBpZDogMCwgZXJyb3I6IC0xLCBmb3VuZDogMCwgcG9zZTogWzAsMCwwLDAsIDAsMCwwLDAsIDAsMCwwLDBdIH0pOyB9IHZhciBtYXJrZXJJbmZvID0gYXJ0b29sa2l0WyJORlRNYXJrZXJJbmZvIl07IG1hcmtlckluZm9bImlkIl0gPSAkYVtpKytdOyBtYXJrZXJJbmZvWyJlcnJvciJdID0gJGFbaSsrXTsgbWFya2VySW5mb1siZm91bmQiXSA9IDE7IG1hcmtlckluZm9bInBvc2UiXVswXSA9ICRhW2krK107IG1hcmtlckluZm9bInBvc2UiXVsxXSA9ICRhW2krK107IG1hcmtlckluZm9bInBvc2UiXVsyXSA9ICRhW2krK107IG1hcmtlckluZm9bInBvc2UiXVszXSA9ICRhW2krK107IG1hcmtlckluZm9bInBvc2UiXVs0XSA9ICRhW2krK107IG1hcmtlckluZm9bInBvc2UiXVs1XSA9ICRhW2krK107IG1hcmtlckluZm9bInBvc2UiXVs2XSA9ICRhW2krK107IG1hcmtlckluZm9bInBvc2UiXVs3XSA9ICRhW2krK107IG1hcmtlckluZm9bInBvc2UiXVs4XSA9ICRhW2krK107IG1hcmtlckluZm9bInBvc2UiXVs5XSA9ICRhW2krK107IG1hcmtlckluZm9bInBvc2UiXVsxMF0gPSAkYVtpKytdOyBtYXJrZXJJbmZvWyJwb3NlIl1bMTFdID0gJGFbaSsrXTsgfQB7IHZhciAkYSA9IGFyZ3VtZW50czsgdmFyIGkgPSAwOyBpZiAoIWFydG9vbGtpdFsiTkZUTWFya2VySW5mbyJdKSB7IGFydG9vbGtpdFsiTkZUTWFya2VySW5mbyJdID0gKHsgaWQ6IDAsIGVycm9yOiAtMSwgZm91bmQ6IDAsIHBvc2U6IFswLDAsMCwwLCAwLDAsMCwwLCAwLDAsMCwwXSB9KTsgfSB2YXIgbWFya2VySW5mbyA9IGFydG9vbGtpdFsiTkZUTWFya2VySW5mbyJdOyBtYXJrZXJJbmZvWyJpZCJdID0gJGFbaSsrXTsgbWFya2VySW5mb1siZXJyb3IiXSA9IC0xOyBtYXJrZXJJbmZvWyJmb3VuZCJdID0gMDsgbWFya2VySW5mb1sicG9zZSJdWzBdID0gMDsgbWFya2VySW5mb1sicG9zZSJdWzFdID0gMDsgbWFya2VySW5mb1sicG9zZSJdWzJdID0gMDsgbWFya2VySW5mb1sicG9zZSJdWzNdID0gMDsgbWFya2VySW5mb1sicG9zZSJdWzRdID0gMDsgbWFya2VySW5mb1sicG9zZSJdWzVdID0gMDsgbWFya2VySW5mb1sicG9zZSJdWzZdID0gMDsgbWFya2VySW5mb1sicG9zZSJdWzddID0gMDsgbWFya2VySW5mb1sicG9zZSJdWzhdID0gMDsgbWFya2VySW5mb1sicG9zZSJdWzldID0gMDsgbWFya2VySW5mb1sicG9zZSJdWzEwXSA9IDA7IG1hcmtlckluZm9bInBvc2UiXVsxMV0gPSAwOyB9AHsgdmFyICRhID0gYXJndW1lbnRzOyB2YXIgaSA9IDEyOyBpZiAoIWFydG9vbGtpdFsibWFya2VySW5mbyJdKSB7IGFydG9vbGtpdFsibWFya2VySW5mbyJdID0gKHsgcG9zOiBbMCwwXSwgbGluZTogW1swLDAsMF0sIFswLDAsMF0sIFswLDAsMF0sIFswLDAsMF1dLCB2ZXJ0ZXg6IFtbMCwwXSwgWzAsMF0sIFswLDBdLCBbMCwwXV0gfSk7IH0gdmFyIG1hcmtlckluZm8gPSBhcnRvb2xraXRbIm1hcmtlckluZm8iXTsgbWFya2VySW5mb1siYXJlYSJdID0gJDA7IG1hcmtlckluZm9bImlkIl0gPSAkMTsgbWFya2VySW5mb1siaWRQYXR0Il0gPSAkMjsgbWFya2VySW5mb1siaWRNYXRyaXgiXSA9ICQzOyBtYXJrZXJJbmZvWyJkaXIiXSA9ICQ0OyBtYXJrZXJJbmZvWyJkaXJQYXR0Il0gPSAkNTsgbWFya2VySW5mb1siZGlyTWF0cml4Il0gPSAkNjsgbWFya2VySW5mb1siY2YiXSA9ICQ3OyBtYXJrZXJJbmZvWyJjZlBhdHQiXSA9ICQ4OyBtYXJrZXJJbmZvWyJjZk1hdHJpeCJdID0gJDk7IG1hcmtlckluZm9bInBvcyJdWzBdID0gJDEwOyBtYXJrZXJJbmZvWyJwb3MiXVsxXSA9ICQxMTsgbWFya2VySW5mb1sibGluZSJdWzBdWzBdID0gJGFbaSsrXTsgbWFya2VySW5mb1sibGluZSJdWzBdWzFdID0gJGFbaSsrXTsgbWFya2VySW5mb1sibGluZSJdWzBdWzJdID0gJGFbaSsrXTsgbWFya2VySW5mb1sibGluZSJdWzFdWzBdID0gJGFbaSsrXTsgbWFya2VySW5mb1sibGluZSJdWzFdWzFdID0gJGFbaSsrXTsgbWFya2VySW5mb1sibGluZSJdWzFdWzJdID0gJGFbaSsrXTsgbWFya2VySW5mb1sibGluZSJdWzJdWzBdID0gJGFbaSsrXTsgbWFya2VySW5mb1sibGluZSJdWzJdWzFdID0gJGFbaSsrXTsgbWFya2VySW5mb1sibGluZSJdWzJdWzJdID0gJGFbaSsrXTsgbWFya2VySW5mb1sibGluZSJdWzNdWzBdID0gJGFbaSsrXTsgbWFya2VySW5mb1sibGluZSJdWzNdWzFdID0gJGFbaSsrXTsgbWFya2VySW5mb1sibGluZSJdWzNdWzJdID0gJGFbaSsrXTsgbWFya2VySW5mb1sidmVydGV4Il1bMF1bMF0gPSAkYVtpKytdOyBtYXJrZXJJbmZvWyJ2ZXJ0ZXgiXVswXVsxXSA9ICRhW2krK107IG1hcmtlckluZm9bInZlcnRleCJdWzFdWzBdID0gJGFbaSsrXTsgbWFya2VySW5mb1sidmVydGV4Il1bMV1bMV0gPSAkYVtpKytdOyBtYXJrZXJJbmZvWyJ2ZXJ0ZXgiXVsyXVswXSA9ICRhW2krK107IG1hcmtlckluZm9bInZlcnRleCJdWzJdWzFdID0gJGFbaSsrXTsgbWFya2VySW5mb1sidmVydGV4Il1bM11bMF0gPSAkYVtpKytdOyBtYXJrZXJJbmZvWyJ2ZXJ0ZXgiXVszXVsxXSA9ICRhW2krK107IG1hcmtlckluZm9bImVycm9yQ29ycmVjdGVkIl0gPSAkYVtpKytdOyB9AHsgaWYgKCFhcnRvb2xraXRbIm11bHRpRWFjaE1hcmtlckluZm8iXSkgeyBhcnRvb2xraXRbIm11bHRpRWFjaE1hcmtlckluZm8iXSA9ICh7fSk7IH0gdmFyIG11bHRpRWFjaE1hcmtlciA9IGFydG9vbGtpdFsibXVsdGlFYWNoTWFya2VySW5mbyJdOyBtdWx0aUVhY2hNYXJrZXJbJ3Zpc2libGUnXSA9ICQwOyBtdWx0aUVhY2hNYXJrZXJbJ3BhdHRJZCddID0gJDE7IG11bHRpRWFjaE1hcmtlclsncGF0dFR5cGUnXSA9ICQyOyBtdWx0aUVhY2hNYXJrZXJbJ3dpZHRoJ10gPSAkMzsgfQBpaWkATlN0M19fMjEyYmFzaWNfc3RyaW5nSWNOU18xMWNoYXJfdHJhaXRzSWNFRU5TXzlhbGxvY2F0b3JJY0VFRUUATlN0M19fMjIxX19iYXNpY19zdHJpbmdfY29tbW9uSUxiMUVFRQBsb2FkQ2FtZXJhKCk6IEVycm9yIGxvYWRpbmcgcGFyYW1ldGVyIGZpbGUgJXMgZm9yIGNhbWVyYS4KAGlpaWkAQVJUb29sS2l0SlMoKTogVW5hYmxlIHRvIHNldCB1cCBORlQgbWFya2VyLgoAUmVhZGluZyAlcy5mc2V0MwoAZnNldDMARXJyb3IgcmVhZGluZyBLUE0gZGF0YSBmcm9tICVzLmZzZXQzCgAgIEFzc2lnbmVkIHBhZ2Ugbm8uICVkLgoARXJyb3I6IGtwbUNoYW5nZVBhZ2VOb09mUmVmRGF0YVNldAoARXJyb3I6IGtwbU1lcmdlUmVmRGF0YVNldAoAICBEb25lLgoAUmVhZGluZyAlcy5mc2V0CgBmc2V0AEVycm9yIHJlYWRpbmcgZGF0YSBmcm9tICVzLmZzZXQKAEVycm9yOiBrcG1TZXRSZWZEYXRhU2V0CgBMb2FkaW5nIG9mIE5GVCBkYXRhIGNvbXBsZXRlLgoAQVJUb29sS2l0SlMoKTogVW5hYmxlIHRvIHNldCB1cCBBUiBtdWx0aW1hcmtlci4KAGNvbmZpZyBkYXRhIGxvYWQgZXJyb3IgISEKAEFSVG9vbEtpdEpTKCk6IFVuYWJsZSB0byBzZXQgdXAgQVIgbWFya2VyLgoAbG9hZE1hcmtlcigpOiBFcnJvciBsb2FkaW5nIHBhdHRlcm4gZmlsZSAlcy4KAEVycm9yOiBhcjJDcmVhdGVIYW5kbGUuCgBpaWlpaQBzZXR1cCgpOiBFcnJvcjogYXJQYXR0Q3JlYXRlSGFuZGxlLgoAQWxsb2NhdGVkIHZpZGVvRnJhbWVTaXplICVkCgB7IGlmICghYXJ0b29sa2l0WyJmcmFtZU1hbGxvYyJdKSB7IGFydG9vbGtpdFsiZnJhbWVNYWxsb2MiXSA9ICh7fSk7IH0gdmFyIGZyYW1lTWFsbG9jID0gYXJ0b29sa2l0WyJmcmFtZU1hbGxvYyJdOyBmcmFtZU1hbGxvY1siZnJhbWVwb2ludGVyIl0gPSAkMTsgZnJhbWVNYWxsb2NbImZyYW1lc2l6ZSJdID0gJDI7IGZyYW1lTWFsbG9jWyJjYW1lcmEiXSA9ICQzOyBmcmFtZU1hbGxvY1sidHJhbnNmb3JtIl0gPSAkNDsgZnJhbWVNYWxsb2NbInZpZGVvTHVtYVBvaW50ZXIiXSA9ICQ1OyB9ACoqKiBDYW1lcmEgUGFyYW1ldGVyIHJlc2l6ZWQgZnJvbSAlZCwgJWQuICoqKgoAc2V0Q2FtZXJhKCk6IEVycm9yOiBhclBhcmFtTFRDcmVhdGUuCgBzZXRDYW1lcmEoKTogRXJyb3I6IGFyQ3JlYXRlSGFuZGxlLgoAc2V0Q2FtZXJhKCk6IEVycm9yIGNyZWF0aW5nIDNEIGhhbmRsZQBPdXQgb2YgbWVtb3J5ISEKAEVycm9yOiBtYWxsb2MKACMjIyBGZWF0dXJlIGNhbmRpZGF0ZXMgZm9yIHRyYWNraW5nIGFyZSBvdmVyZmxvdy4KAEJvZ3VzIG1lc3NhZ2UgY29kZSAlZABBTElHTl9UWVBFIGlzIHdyb25nLCBwbGVhc2UgZml4AE1BWF9BTExPQ19DSFVOSyBpcyB3cm9uZywgcGxlYXNlIGZpeABCb2d1cyBidWZmZXIgY29udHJvbCBtb2RlAEludmFsaWQgY29tcG9uZW50IElEICVkIGluIFNPUwBJbnZhbGlkIGNyb3AgcmVxdWVzdABEQ1QgY29lZmZpY2llbnQgb3V0IG9mIHJhbmdlAERDVCBzY2FsZWQgYmxvY2sgc2l6ZSAlZHglZCBub3Qgc3VwcG9ydGVkAENvbXBvbmVudCBpbmRleCAlZDogbWlzbWF0Y2hpbmcgc2FtcGxpbmcgcmF0aW8gJWQ6JWQsICVkOiVkLCAlYwBCb2d1cyBIdWZmbWFuIHRhYmxlIGRlZmluaXRpb24AQm9ndXMgaW5wdXQgY29sb3JzcGFjZQBCb2d1cyBKUEVHIGNvbG9yc3BhY2UAQm9ndXMgbWFya2VyIGxlbmd0aABXcm9uZyBKUEVHIGxpYnJhcnkgdmVyc2lvbjogbGlicmFyeSBpcyAlZCwgY2FsbGVyIGV4cGVjdHMgJWQAU2FtcGxpbmcgZmFjdG9ycyB0b28gbGFyZ2UgZm9yIGludGVybGVhdmVkIHNjYW4ASW52YWxpZCBtZW1vcnkgcG9vbCBjb2RlICVkAFVuc3VwcG9ydGVkIEpQRUcgZGF0YSBwcmVjaXNpb24gJWQASW52YWxpZCBwcm9ncmVzc2l2ZSBwYXJhbWV0ZXJzIFNzPSVkIFNlPSVkIEFoPSVkIEFsPSVkAEludmFsaWQgcHJvZ3Jlc3NpdmUgcGFyYW1ldGVycyBhdCBzY2FuIHNjcmlwdCBlbnRyeSAlZABCb2d1cyBzYW1wbGluZyBmYWN0b3JzAEludmFsaWQgc2NhbiBzY3JpcHQgYXQgZW50cnkgJWQASW1wcm9wZXIgY2FsbCB0byBKUEVHIGxpYnJhcnkgaW4gc3RhdGUgJWQASlBFRyBwYXJhbWV0ZXIgc3RydWN0IG1pc21hdGNoOiBsaWJyYXJ5IHRoaW5rcyBzaXplIGlzICV1LCBjYWxsZXIgZXhwZWN0cyAldQBCb2d1cyB2aXJ0dWFsIGFycmF5IGFjY2VzcwBCdWZmZXIgcGFzc2VkIHRvIEpQRUcgbGlicmFyeSBpcyB0b28gc21hbGwAU3VzcGVuc2lvbiBub3QgYWxsb3dlZCBoZXJlAENDSVI2MDEgc2FtcGxpbmcgbm90IGltcGxlbWVudGVkIHlldABUb28gbWFueSBjb2xvciBjb21wb25lbnRzOiAlZCwgbWF4ICVkAFVuc3VwcG9ydGVkIGNvbG9yIGNvbnZlcnNpb24gcmVxdWVzdABCb2d1cyBEQUMgaW5kZXggJWQAQm9ndXMgREFDIHZhbHVlIDB4JXgAQm9ndXMgREhUIGluZGV4ICVkAEJvZ3VzIERRVCBpbmRleCAlZABFbXB0eSBKUEVHIGltYWdlIChETkwgbm90IHN1cHBvcnRlZCkAUmVhZCBmcm9tIEVNUyBmYWlsZWQAV3JpdGUgdG8gRU1TIGZhaWxlZABEaWRuJ3QgZXhwZWN0IG1vcmUgdGhhbiBvbmUgc2NhbgBJbnB1dCBmaWxlIHJlYWQgZXJyb3IAT3V0cHV0IGZpbGUgd3JpdGUgZXJyb3IgLS0tIG91dCBvZiBkaXNrIHNwYWNlPwBGcmFjdGlvbmFsIHNhbXBsaW5nIG5vdCBpbXBsZW1lbnRlZCB5ZXQASHVmZm1hbiBjb2RlIHNpemUgdGFibGUgb3ZlcmZsb3cATWlzc2luZyBIdWZmbWFuIGNvZGUgdGFibGUgZW50cnkATWF4aW11bSBzdXBwb3J0ZWQgaW1hZ2UgZGltZW5zaW9uIGlzICV1IHBpeGVscwBFbXB0eSBpbnB1dCBmaWxlAFByZW1hdHVyZSBlbmQgb2YgaW5wdXQgZmlsZQBDYW5ub3QgdHJhbnNjb2RlIGR1ZSB0byBtdWx0aXBsZSB1c2Ugb2YgcXVhbnRpemF0aW9uIHRhYmxlICVkAFNjYW4gc2NyaXB0IGRvZXMgbm90IHRyYW5zbWl0IGFsbCBkYXRhAEludmFsaWQgY29sb3IgcXVhbnRpemF0aW9uIG1vZGUgY2hhbmdlAE5vdCBpbXBsZW1lbnRlZCB5ZXQAUmVxdWVzdGVkIGZlYXR1cmUgd2FzIG9taXR0ZWQgYXQgY29tcGlsZSB0aW1lAEFyaXRobWV0aWMgdGFibGUgMHglMDJ4IHdhcyBub3QgZGVmaW5lZABCYWNraW5nIHN0b3JlIG5vdCBzdXBwb3J0ZWQASHVmZm1hbiB0YWJsZSAweCUwMnggd2FzIG5vdCBkZWZpbmVkAEpQRUcgZGF0YXN0cmVhbSBjb250YWlucyBubyBpbWFnZQBRdWFudGl6YXRpb24gdGFibGUgMHglMDJ4IHdhcyBub3QgZGVmaW5lZABOb3QgYSBKUEVHIGZpbGU6IHN0YXJ0cyB3aXRoIDB4JTAyeCAweCUwMngASW5zdWZmaWNpZW50IG1lbW9yeSAoY2FzZSAlZCkAQ2Fubm90IHF1YW50aXplIG1vcmUgdGhhbiAlZCBjb2xvciBjb21wb25lbnRzAENhbm5vdCBxdWFudGl6ZSB0byBmZXdlciB0aGFuICVkIGNvbG9ycwBDYW5ub3QgcXVhbnRpemUgdG8gbW9yZSB0aGFuICVkIGNvbG9ycwBJbnZhbGlkIEpQRUcgZmlsZSBzdHJ1Y3R1cmU6ICVzIGJlZm9yZSBTT0YASW52YWxpZCBKUEVHIGZpbGUgc3RydWN0dXJlOiB0d28gU09GIG1hcmtlcnMASW52YWxpZCBKUEVHIGZpbGUgc3RydWN0dXJlOiBtaXNzaW5nIFNPUyBtYXJrZXIAVW5zdXBwb3J0ZWQgSlBFRyBwcm9jZXNzOiBTT0YgdHlwZSAweCUwMngASW52YWxpZCBKUEVHIGZpbGUgc3RydWN0dXJlOiB0d28gU09JIG1hcmtlcnMARmFpbGVkIHRvIGNyZWF0ZSB0ZW1wb3JhcnkgZmlsZSAlcwBSZWFkIGZhaWxlZCBvbiB0ZW1wb3JhcnkgZmlsZQBTZWVrIGZhaWxlZCBvbiB0ZW1wb3JhcnkgZmlsZQBXcml0ZSBmYWlsZWQgb24gdGVtcG9yYXJ5IGZpbGUgLS0tIG91dCBvZiBkaXNrIHNwYWNlPwBBcHBsaWNhdGlvbiB0cmFuc2ZlcnJlZCB0b28gZmV3IHNjYW5saW5lcwBVbnN1cHBvcnRlZCBtYXJrZXIgdHlwZSAweCUwMngAVmlydHVhbCBhcnJheSBjb250cm9sbGVyIG1lc3NlZCB1cABJbWFnZSB0b28gd2lkZSBmb3IgdGhpcyBpbXBsZW1lbnRhdGlvbgBSZWFkIGZyb20gWE1TIGZhaWxlZABXcml0ZSB0byBYTVMgZmFpbGVkAENvcHlyaWdodCAoQykgMjAxOCwgVGhvbWFzIEcuIExhbmUsIEd1aWRvIFZvbGxiZWRpbmcAOWMgIDE0LUphbi0yMDE4AENhdXRpb246IHF1YW50aXphdGlvbiB0YWJsZXMgYXJlIHRvbyBjb2Fyc2UgZm9yIGJhc2VsaW5lIEpQRUcAQWRvYmUgQVBQMTQgbWFya2VyOiB2ZXJzaW9uICVkLCBmbGFncyAweCUwNHggMHglMDR4LCB0cmFuc2Zvcm0gJWQAVW5rbm93biBBUFAwIG1hcmtlciAobm90IEpGSUYpLCBsZW5ndGggJXUAVW5rbm93biBBUFAxNCBtYXJrZXIgKG5vdCBBZG9iZSksIGxlbmd0aCAldQBEZWZpbmUgQXJpdGhtZXRpYyBUYWJsZSAweCUwMng6IDB4JTAyeABEZWZpbmUgSHVmZm1hbiBUYWJsZSAweCUwMngARGVmaW5lIFF1YW50aXphdGlvbiBUYWJsZSAlZCAgcHJlY2lzaW9uICVkAERlZmluZSBSZXN0YXJ0IEludGVydmFsICV1AEZyZWVkIEVNUyBoYW5kbGUgJXUAT2J0YWluZWQgRU1TIGhhbmRsZSAldQBFbmQgT2YgSW1hZ2UAICAgICAgICAlM2QgJTNkICUzZCAlM2QgJTNkICUzZCAlM2QgJTNkAEpGSUYgQVBQMCBtYXJrZXI6IHZlcnNpb24gJWQuJTAyZCwgZGVuc2l0eSAlZHglZCAgJWQAV2FybmluZzogdGh1bWJuYWlsIGltYWdlIHNpemUgZG9lcyBub3QgbWF0Y2ggZGF0YSBsZW5ndGggJXUASkZJRiBleHRlbnNpb24gbWFya2VyOiB0eXBlIDB4JTAyeCwgbGVuZ3RoICV1ACAgICB3aXRoICVkIHggJWQgdGh1bWJuYWlsIGltYWdlAE1pc2NlbGxhbmVvdXMgbWFya2VyIDB4JTAyeCwgbGVuZ3RoICV1AFVuZXhwZWN0ZWQgbWFya2VyIDB4JTAyeAAgICAgICAgICU0dSAlNHUgJTR1ICU0dSAlNHUgJTR1ICU0dSAlNHUAUXVhbnRpemluZyB0byAlZCA9ICVkKiVkKiVkIGNvbG9ycwBRdWFudGl6aW5nIHRvICVkIGNvbG9ycwBTZWxlY3RlZCAlZCBjb2xvcnMgZm9yIHF1YW50aXphdGlvbgBBdCBtYXJrZXIgMHglMDJ4LCByZWNvdmVyeSBhY3Rpb24gJWQAUlNUJWQAU21vb3RoaW5nIG5vdCBzdXBwb3J0ZWQgd2l0aCBub25zdGFuZGFyZCBzYW1wbGluZyByYXRpb3MAU3RhcnQgT2YgRnJhbWUgMHglMDJ4OiB3aWR0aD0ldSwgaGVpZ2h0PSV1LCBjb21wb25lbnRzPSVkACAgICBDb21wb25lbnQgJWQ6ICVkaHglZHYgcT0lZABTdGFydCBvZiBJbWFnZQBTdGFydCBPZiBTY2FuOiAlZCBjb21wb25lbnRzACAgICBDb21wb25lbnQgJWQ6IGRjPSVkIGFjPSVkACAgU3M9JWQsIFNlPSVkLCBBaD0lZCwgQWw9JWQAQ2xvc2VkIHRlbXBvcmFyeSBmaWxlICVzAE9wZW5lZCB0ZW1wb3JhcnkgZmlsZSAlcwBKRklGIGV4dGVuc2lvbiBtYXJrZXI6IEpQRUctY29tcHJlc3NlZCB0aHVtYm5haWwgaW1hZ2UsIGxlbmd0aCAldQBKRklGIGV4dGVuc2lvbiBtYXJrZXI6IHBhbGV0dGUgdGh1bWJuYWlsIGltYWdlLCBsZW5ndGggJXUASkZJRiBleHRlbnNpb24gbWFya2VyOiBSR0IgdGh1bWJuYWlsIGltYWdlLCBsZW5ndGggJXUAVW5yZWNvZ25pemVkIGNvbXBvbmVudCBJRHMgJWQgJWQgJWQsIGFzc3VtaW5nIFlDYkNyAEZyZWVkIFhNUyBoYW5kbGUgJXUAT2J0YWluZWQgWE1TIGhhbmRsZSAldQBVbmtub3duIEFkb2JlIGNvbG9yIHRyYW5zZm9ybSBjb2RlICVkAENvcnJ1cHQgSlBFRyBkYXRhOiBiYWQgYXJpdGhtZXRpYyBjb2RlAEluY29uc2lzdGVudCBwcm9ncmVzc2lvbiBzZXF1ZW5jZSBmb3IgY29tcG9uZW50ICVkIGNvZWZmaWNpZW50ICVkAENvcnJ1cHQgSlBFRyBkYXRhOiAldSBleHRyYW5lb3VzIGJ5dGVzIGJlZm9yZSBtYXJrZXIgMHglMDJ4AENvcnJ1cHQgSlBFRyBkYXRhOiBwcmVtYXR1cmUgZW5kIG9mIGRhdGEgc2VnbWVudABDb3JydXB0IEpQRUcgZGF0YTogYmFkIEh1ZmZtYW4gY29kZQBXYXJuaW5nOiB1bmtub3duIEpGSUYgcmV2aXNpb24gbnVtYmVyICVkLiUwMmQAUHJlbWF0dXJlIGVuZCBvZiBKUEVHIGZpbGUAQ29ycnVwdCBKUEVHIGRhdGE6IGZvdW5kIG1hcmtlciAweCUwMnggaW5zdGVhZCBvZiBSU1QlZABJbnZhbGlkIFNPUyBwYXJhbWV0ZXJzIGZvciBzZXF1ZW50aWFsIEpQRUcAQXBwbGljYXRpb24gdHJhbnNmZXJyZWQgdG9vIG1hbnkgc2NhbmxpbmVzAFNPUwBMU0UASlBFR01FTQAlbGQlYwAlcwoATENfQUxMAExBTkcAQy5VVEYtOABQT1NJWABNVVNMX0xPQ1BBVEgAAAECBAcDBgUALSsgICAwWDB4AChudWxsKQAtMFgrMFggMFgtMHgrMHggMHgAaW5mAElORgBOQU4ALgBpbmZpbml0eQBuYW4AcndhAHRlcm1pbmF0aW5nIHdpdGggJXMgZXhjZXB0aW9uIG9mIHR5cGUgJXM6ICVzAHRlcm1pbmF0aW5nIHdpdGggJXMgZXhjZXB0aW9uIG9mIHR5cGUgJXMAdGVybWluYXRpbmcgd2l0aCAlcyBmb3JlaWduIGV4Y2VwdGlvbgB0ZXJtaW5hdGluZwB1bmNhdWdodABTdDlleGNlcHRpb24ATjEwX19jeHhhYml2MTE2X19zaGltX3R5cGVfaW5mb0UAU3Q5dHlwZV9pbmZvAE4xMF9fY3h4YWJpdjEyMF9fc2lfY2xhc3NfdHlwZV9pbmZvRQBOMTBfX2N4eGFiaXYxMTdfX2NsYXNzX3R5cGVfaW5mb0UAdGVybWluYXRlX2hhbmRsZXIgdW5leHBlY3RlZGx5IHJldHVybmVkAFN0MTFsb2dpY19lcnJvcgBTdDEybGVuZ3RoX2Vycm9yAE4xMF9fY3h4YWJpdjExN19fcGJhc2VfdHlwZV9pbmZvRQBOMTBfX2N4eGFiaXYxMTlfX3BvaW50ZXJfdHlwZV9pbmZvRQBOMTBfX2N4eGFiaXYxMjNfX2Z1bmRhbWVudGFsX3R5cGVfaW5mb0UAdgBiAGMAaABhAHMAdABpAGoAbQBmAGQATjEwX19jeHhhYml2MTIxX192bWlfY2xhc3NfdHlwZV9pbmZvRQB2b2lkAGJvb2wAY2hhcgBzaWduZWQgY2hhcgB1bnNpZ25lZCBjaGFyAHNob3J0AHVuc2lnbmVkIHNob3J0AGludAB1bnNpZ25lZCBpbnQAbG9uZwB1bnNpZ25lZCBsb25nAGZsb2F0AGRvdWJsZQBzdGQ6OnN0cmluZwBzdGQ6OmJhc2ljX3N0cmluZzx1bnNpZ25lZCBjaGFyPgBzdGQ6OndzdHJpbmcAZW1zY3JpcHRlbjo6dmFsAGVtc2NyaXB0ZW46Om1lbW9yeV92aWV3PGNoYXI+AGVtc2NyaXB0ZW46Om1lbW9yeV92aWV3PHNpZ25lZCBjaGFyPgBlbXNjcmlwdGVuOjptZW1vcnlfdmlldzx1bnNpZ25lZCBjaGFyPgBlbXNjcmlwdGVuOjptZW1vcnlfdmlldzxzaG9ydD4AZW1zY3JpcHRlbjo6bWVtb3J5X3ZpZXc8dW5zaWduZWQgc2hvcnQ+AGVtc2NyaXB0ZW46Om1lbW9yeV92aWV3PGludD4AZW1zY3JpcHRlbjo6bWVtb3J5X3ZpZXc8dW5zaWduZWQgaW50PgBlbXNjcmlwdGVuOjptZW1vcnlfdmlldzxsb25nPgBlbXNjcmlwdGVuOjptZW1vcnlfdmlldzx1bnNpZ25lZCBsb25nPgBlbXNjcmlwdGVuOjptZW1vcnlfdmlldzxpbnQ4X3Q+AGVtc2NyaXB0ZW46Om1lbW9yeV92aWV3PHVpbnQ4X3Q+AGVtc2NyaXB0ZW46Om1lbW9yeV92aWV3PGludDE2X3Q+AGVtc2NyaXB0ZW46Om1lbW9yeV92aWV3PHVpbnQxNl90PgBlbXNjcmlwdGVuOjptZW1vcnlfdmlldzxpbnQzMl90PgBlbXNjcmlwdGVuOjptZW1vcnlfdmlldzx1aW50MzJfdD4AZW1zY3JpcHRlbjo6bWVtb3J5X3ZpZXc8ZmxvYXQ+AGVtc2NyaXB0ZW46Om1lbW9yeV92aWV3PGRvdWJsZT4AZW1zY3JpcHRlbjo6bWVtb3J5X3ZpZXc8bG9uZyBkb3VibGU+AE4xMGVtc2NyaXB0ZW4xMW1lbW9yeV92aWV3SWVFRQBOMTBlbXNjcmlwdGVuMTFtZW1vcnlfdmlld0lkRUUATjEwZW1zY3JpcHRlbjExbWVtb3J5X3ZpZXdJZkVFAE4xMGVtc2NyaXB0ZW4xMW1lbW9yeV92aWV3SW1FRQBOMTBlbXNjcmlwdGVuMTFtZW1vcnlfdmlld0lsRUUATjEwZW1zY3JpcHRlbjExbWVtb3J5X3ZpZXdJakVFAE4xMGVtc2NyaXB0ZW4xMW1lbW9yeV92aWV3SWlFRQBOMTBlbXNjcmlwdGVuMTFtZW1vcnlfdmlld0l0RUUATjEwZW1zY3JpcHRlbjExbWVtb3J5X3ZpZXdJc0VFAE4xMGVtc2NyaXB0ZW4xMW1lbW9yeV92aWV3SWhFRQBOMTBlbXNjcmlwdGVuMTFtZW1vcnlfdmlld0lhRUUATjEwZW1zY3JpcHRlbjExbWVtb3J5X3ZpZXdJY0VFAE4xMGVtc2NyaXB0ZW4zdmFsRQBOU3QzX18yMTJiYXNpY19zdHJpbmdJd05TXzExY2hhcl90cmFpdHNJd0VFTlNfOWFsbG9jYXRvckl3RUVFRQBOU3QzX18yMTJiYXNpY19zdHJpbmdJaE5TXzExY2hhcl90cmFpdHNJaEVFTlNfOWFsbG9jYXRvckloRUVFRQBOU3QzX18yOGlvc19iYXNlRQBOU3QzX18yOWJhc2ljX2lvc0ljTlNfMTFjaGFyX3RyYWl0c0ljRUVFRQBOU3QzX18yOWJhc2ljX2lvc0l3TlNfMTFjaGFyX3RyYWl0c0l3RUVFRQBOU3QzX18yMTViYXNpY19zdHJlYW1idWZJY05TXzExY2hhcl90cmFpdHNJY0VFRUUATlN0M19fMjE1YmFzaWNfc3RyZWFtYnVmSXdOU18xMWNoYXJfdHJhaXRzSXdFRUVFAE5TdDNfXzIxM2Jhc2ljX2lzdHJlYW1JY05TXzExY2hhcl90cmFpdHNJY0VFRUUATlN0M19fMjEzYmFzaWNfaXN0cmVhbUl3TlNfMTFjaGFyX3RyYWl0c0l3RUVFRQBOU3QzX18yMTNiYXNpY19vc3RyZWFtSWNOU18xMWNoYXJfdHJhaXRzSWNFRUVFAE5TdDNfXzIxM2Jhc2ljX29zdHJlYW1Jd05TXzExY2hhcl90cmFpdHNJd0VFRUUATlN0M19fMjExX19zdGRvdXRidWZJd0VFAE5TdDNfXzIxMV9fc3Rkb3V0YnVmSWNFRQB1bnN1cHBvcnRlZCBsb2NhbGUgZm9yIHN0YW5kYXJkIGlucHV0AE5TdDNfXzIxMF9fc3RkaW5idWZJd0VFAE5TdDNfXzIxMF9fc3RkaW5idWZJY0VFAE5TdDNfXzI3Y29sbGF0ZUljRUUATlN0M19fMjZsb2NhbGU1ZmFjZXRFAE5TdDNfXzI3Y29sbGF0ZUl3RUUAJXAAQwBOU3QzX18yN251bV9nZXRJY05TXzE5aXN0cmVhbWJ1Zl9pdGVyYXRvckljTlNfMTFjaGFyX3RyYWl0c0ljRUVFRUVFAE5TdDNfXzI5X19udW1fZ2V0SWNFRQBOU3QzX18yMTRfX251bV9nZXRfYmFzZUUATlN0M19fMjdudW1fZ2V0SXdOU18xOWlzdHJlYW1idWZfaXRlcmF0b3JJd05TXzExY2hhcl90cmFpdHNJd0VFRUVFRQBOU3QzX18yOV9fbnVtX2dldEl3RUUAJXAAAAAATABsbAAlAAAAAABsAE5TdDNfXzI3bnVtX3B1dEljTlNfMTlvc3RyZWFtYnVmX2l0ZXJhdG9ySWNOU18xMWNoYXJfdHJhaXRzSWNFRUVFRUUATlN0M19fMjlfX251bV9wdXRJY0VFAE5TdDNfXzIxNF9fbnVtX3B1dF9iYXNlRQBOU3QzX18yN251bV9wdXRJd05TXzE5b3N0cmVhbWJ1Zl9pdGVyYXRvckl3TlNfMTFjaGFyX3RyYWl0c0l3RUVFRUVFAE5TdDNfXzI5X19udW1fcHV0SXdFRQAlSDolTTolUwAlbS8lZC8leQAlSTolTTolUyAlcAAlYSAlYiAlZCAlSDolTTolUyAlWQBBTQBQTQBKYW51YXJ5AEZlYnJ1YXJ5AE1hcmNoAEFwcmlsAE1heQBKdW5lAEp1bHkAQXVndXN0AFNlcHRlbWJlcgBPY3RvYmVyAE5vdmVtYmVyAERlY2VtYmVyAEphbgBGZWIATWFyAEFwcgBKdW4ASnVsAEF1ZwBTZXAAT2N0AE5vdgBEZWMAU3VuZGF5AE1vbmRheQBUdWVzZGF5AFdlZG5lc2RheQBUaHVyc2RheQBGcmlkYXkAU2F0dXJkYXkAU3VuAE1vbgBUdWUAV2VkAFRodQBGcmkAU2F0ACVtLyVkLyV5JVktJW0tJWQlSTolTTolUyAlcCVIOiVNJUg6JU06JVMlSDolTTolU05TdDNfXzI4dGltZV9nZXRJY05TXzE5aXN0cmVhbWJ1Zl9pdGVyYXRvckljTlNfMTFjaGFyX3RyYWl0c0ljRUVFRUVFAE5TdDNfXzIyMF9fdGltZV9nZXRfY19zdG9yYWdlSWNFRQBOU3QzX18yOXRpbWVfYmFzZUUATlN0M19fMjh0aW1lX2dldEl3TlNfMTlpc3RyZWFtYnVmX2l0ZXJhdG9ySXdOU18xMWNoYXJfdHJhaXRzSXdFRUVFRUUATlN0M19fMjIwX190aW1lX2dldF9jX3N0b3JhZ2VJd0VFAE5TdDNfXzI4dGltZV9wdXRJY05TXzE5b3N0cmVhbWJ1Zl9pdGVyYXRvckljTlNfMTFjaGFyX3RyYWl0c0ljRUVFRUVFAE5TdDNfXzIxMF9fdGltZV9wdXRFAE5TdDNfXzI4dGltZV9wdXRJd05TXzE5b3N0cmVhbWJ1Zl9pdGVyYXRvckl3TlNfMTFjaGFyX3RyYWl0c0l3RUVFRUVFAE5TdDNfXzIxMG1vbmV5cHVuY3RJY0xiMEVFRQBOU3QzX18yMTBtb25leV9iYXNlRQBOU3QzX18yMTBtb25leXB1bmN0SWNMYjFFRUUATlN0M19fMjEwbW9uZXlwdW5jdEl3TGIwRUVFAE5TdDNfXzIxMG1vbmV5cHVuY3RJd0xiMUVFRQAwMTIzNDU2Nzg5ACVMZgBOU3QzX18yOW1vbmV5X2dldEljTlNfMTlpc3RyZWFtYnVmX2l0ZXJhdG9ySWNOU18xMWNoYXJfdHJhaXRzSWNFRUVFRUUATlN0M19fMjExX19tb25leV9nZXRJY0VFADAxMjM0NTY3ODkATlN0M19fMjltb25leV9nZXRJd05TXzE5aXN0cmVhbWJ1Zl9pdGVyYXRvckl3TlNfMTFjaGFyX3RyYWl0c0l3RUVFRUVFAE5TdDNfXzIxMV9fbW9uZXlfZ2V0SXdFRQAlLjBMZgBOU3QzX18yOW1vbmV5X3B1dEljTlNfMTlvc3RyZWFtYnVmX2l0ZXJhdG9ySWNOU18xMWNoYXJfdHJhaXRzSWNFRUVFRUUATlN0M19fMjExX19tb25leV9wdXRJY0VFAE5TdDNfXzI5bW9uZXlfcHV0SXdOU18xOW9zdHJlYW1idWZfaXRlcmF0b3JJd05TXzExY2hhcl90cmFpdHNJd0VFRUVFRQBOU3QzX18yMTFfX21vbmV5X3B1dEl3RUUATlN0M19fMjhtZXNzYWdlc0ljRUUATlN0M19fMjEzbWVzc2FnZXNfYmFzZUUATlN0M19fMjE3X193aWRlbl9mcm9tX3V0ZjhJTG0zMkVFRQBOU3QzX18yN2NvZGVjdnRJRGljMTFfX21ic3RhdGVfdEVFAE5TdDNfXzIxMmNvZGVjdnRfYmFzZUUATlN0M19fMjE2X19uYXJyb3dfdG9fdXRmOElMbTMyRUVFAE5TdDNfXzI4bWVzc2FnZXNJd0VFAE5TdDNfXzI3Y29kZWN2dEljYzExX19tYnN0YXRlX3RFRQBOU3QzX18yN2NvZGVjdnRJd2MxMV9fbWJzdGF0ZV90RUUATlN0M19fMjdjb2RlY3Z0SURzYzExX19tYnN0YXRlX3RFRQBOU3QzX18yNmxvY2FsZTVfX2ltcEUATlN0M19fMjVjdHlwZUljRUUATlN0M19fMjEwY3R5cGVfYmFzZUUATlN0M19fMjVjdHlwZUl3RUUAZmFsc2UAdHJ1ZQBOU3QzX18yOG51bXB1bmN0SWNFRQBOU3QzX18yOG51bXB1bmN0SXdFRQBOU3QzX18yMTRfX3NoYXJlZF9jb3VudEUATlN0M19fMjE5X19zaGFyZWRfd2Vha19jb3VudEU=";var tempDoublePtr=58720;function demangle(func){return func}function demangleAll(text){var regex=/\b__Z[\w\d_]+/g;return text.replace(regex,function(x){var y=demangle(x);return x===y?x:y+" ["+x+"]"})}function jsStackTrace(){var err=new Error;if(!err.stack){try{throw new Error(0)}catch(e){err=e}if(!err.stack){return"(no stack trace available)"}}return err.stack.toString()}function stackTrace(){var js=jsStackTrace();if(Module["extraStackTrace"])js+="\n"+Module["extraStackTrace"]();return demangleAll(js)}var ENV={};function ___buildEnvironment(environ){var MAX_ENV_VALUES=64;var TOTAL_ENV_SIZE=1024;var poolPtr;var envPtr;if(!___buildEnvironment.called){___buildEnvironment.called=true;ENV["USER"]="web_user";ENV["LOGNAME"]="web_user";ENV["PATH"]="/";ENV["PWD"]="/";ENV["HOME"]="/home/web_user";ENV["LANG"]=(typeof navigator==="object"&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8";ENV["_"]=thisProgram;poolPtr=getMemory(TOTAL_ENV_SIZE);envPtr=getMemory(MAX_ENV_VALUES*4);HEAP32[envPtr>>2]=poolPtr;HEAP32[environ>>2]=envPtr}else{envPtr=HEAP32[environ>>2];poolPtr=HEAP32[envPtr>>2]}var strings=[];var totalSize=0;for(var key in ENV){if(typeof ENV[key]==="string"){var line=key+"="+ENV[key];strings.push(line);totalSize+=line.length}}if(totalSize>TOTAL_ENV_SIZE){throw new Error("Environment size exceeded TOTAL_ENV_SIZE!")}var ptrSize=4;for(var i=0;i>2]=poolPtr;poolPtr+=line.length+1}HEAP32[envPtr+strings.length*ptrSize>>2]=0}function ___cxa_allocate_exception(size){return _malloc(size)}var ___exception_infos={};var ___exception_caught=[];function ___exception_addRef(ptr){if(!ptr)return;var info=___exception_infos[ptr];info.refcount++}function ___exception_deAdjust(adjusted){if(!adjusted||___exception_infos[adjusted])return adjusted;for(var key in ___exception_infos){var ptr=+key;var adj=___exception_infos[ptr].adjusted;var len=adj.length;for(var i=0;i>2]=value;return value}function ___map_file(pathname,size){___setErrNo(63);return-1}var PATH={splitPath:function(filename){var splitPathRe=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/;return splitPathRe.exec(filename).slice(1)},normalizeArray:function(parts,allowAboveRoot){var up=0;for(var i=parts.length-1;i>=0;i--){var last=parts[i];if(last==="."){parts.splice(i,1)}else if(last===".."){parts.splice(i,1);up++}else if(up){parts.splice(i,1);up--}}if(allowAboveRoot){for(;up;up--){parts.unshift("..")}}return parts},normalize:function(path){var isAbsolute=path.charAt(0)==="/",trailingSlash=path.substr(-1)==="/";path=PATH.normalizeArray(path.split("/").filter(function(p){return!!p}),!isAbsolute).join("/");if(!path&&!isAbsolute){path="."}if(path&&trailingSlash){path+="/"}return(isAbsolute?"/":"")+path},dirname:function(path){var result=PATH.splitPath(path),root=result[0],dir=result[1];if(!root&&!dir){return"."}if(dir){dir=dir.substr(0,dir.length-1)}return root+dir},basename:function(path){if(path==="/")return"/";var lastSlash=path.lastIndexOf("/");if(lastSlash===-1)return path;return path.substr(lastSlash+1)},extname:function(path){return PATH.splitPath(path)[3]},join:function(){var paths=Array.prototype.slice.call(arguments,0);return PATH.normalize(paths.join("/"))},join2:function(l,r){return PATH.normalize(l+"/"+r)}};var PATH_FS={resolve:function(){var resolvedPath="",resolvedAbsolute=false;for(var i=arguments.length-1;i>=-1&&!resolvedAbsolute;i--){var path=i>=0?arguments[i]:FS.cwd();if(typeof path!=="string"){throw new TypeError("Arguments to path.resolve must be strings")}else if(!path){return""}resolvedPath=path+"/"+resolvedPath;resolvedAbsolute=path.charAt(0)==="/"}resolvedPath=PATH.normalizeArray(resolvedPath.split("/").filter(function(p){return!!p}),!resolvedAbsolute).join("/");return(resolvedAbsolute?"/":"")+resolvedPath||"."},relative:function(from,to){from=PATH_FS.resolve(from).substr(1);to=PATH_FS.resolve(to).substr(1);function trim(arr){var start=0;for(;start=0;end--){if(arr[end]!=="")break}if(start>end)return[];return arr.slice(start,end-start+1)}var fromParts=trim(from.split("/"));var toParts=trim(to.split("/"));var length=Math.min(fromParts.length,toParts.length);var samePartsLength=length;for(var i=0;i0){result=buf.slice(0,bytesRead).toString("utf-8")}else{result=null}}else if(typeof window!="undefined"&&typeof window.prompt=="function"){result=window.prompt("Input: ");if(result!==null){result+="\n"}}else if(typeof readline=="function"){result=readline();if(result!==null){result+="\n"}}if(!result){return null}tty.input=intArrayFromString(result,true)}return tty.input.shift()},put_char:function(tty,val){if(val===null||val===10){out(UTF8ArrayToString(tty.output,0));tty.output=[]}else{if(val!=0)tty.output.push(val)}},flush:function(tty){if(tty.output&&tty.output.length>0){out(UTF8ArrayToString(tty.output,0));tty.output=[]}}},default_tty1_ops:{put_char:function(tty,val){if(val===null||val===10){err(UTF8ArrayToString(tty.output,0));tty.output=[]}else{if(val!=0)tty.output.push(val)}},flush:function(tty){if(tty.output&&tty.output.length>0){err(UTF8ArrayToString(tty.output,0));tty.output=[]}}}};var MEMFS={ops_table:null,mount:function(mount){return MEMFS.createNode(null,"/",16384|511,0)},createNode:function(parent,name,mode,dev){if(FS.isBlkdev(mode)||FS.isFIFO(mode)){throw new FS.ErrnoError(63)}if(!MEMFS.ops_table){MEMFS.ops_table={dir:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr,lookup:MEMFS.node_ops.lookup,mknod:MEMFS.node_ops.mknod,rename:MEMFS.node_ops.rename,unlink:MEMFS.node_ops.unlink,rmdir:MEMFS.node_ops.rmdir,readdir:MEMFS.node_ops.readdir,symlink:MEMFS.node_ops.symlink},stream:{llseek:MEMFS.stream_ops.llseek}},file:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr},stream:{llseek:MEMFS.stream_ops.llseek,read:MEMFS.stream_ops.read,write:MEMFS.stream_ops.write,allocate:MEMFS.stream_ops.allocate,mmap:MEMFS.stream_ops.mmap,msync:MEMFS.stream_ops.msync}},link:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr,readlink:MEMFS.node_ops.readlink},stream:{}},chrdev:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr},stream:FS.chrdev_stream_ops}}}var node=FS.createNode(parent,name,mode,dev);if(FS.isDir(node.mode)){node.node_ops=MEMFS.ops_table.dir.node;node.stream_ops=MEMFS.ops_table.dir.stream;node.contents={}}else if(FS.isFile(node.mode)){node.node_ops=MEMFS.ops_table.file.node;node.stream_ops=MEMFS.ops_table.file.stream;node.usedBytes=0;node.contents=null}else if(FS.isLink(node.mode)){node.node_ops=MEMFS.ops_table.link.node;node.stream_ops=MEMFS.ops_table.link.stream}else if(FS.isChrdev(node.mode)){node.node_ops=MEMFS.ops_table.chrdev.node;node.stream_ops=MEMFS.ops_table.chrdev.stream}node.timestamp=Date.now();if(parent){parent.contents[name]=node}return node},getFileDataAsRegularArray:function(node){if(node.contents&&node.contents.subarray){var arr=[];for(var i=0;i=newCapacity)return;var CAPACITY_DOUBLING_MAX=1024*1024;newCapacity=Math.max(newCapacity,prevCapacity*(prevCapacity0)node.contents.set(oldContents.subarray(0,node.usedBytes),0);return},resizeFileStorage:function(node,newSize){if(node.usedBytes==newSize)return;if(newSize==0){node.contents=null;node.usedBytes=0;return}if(!node.contents||node.contents.subarray){var oldContents=node.contents;node.contents=new Uint8Array(new ArrayBuffer(newSize));if(oldContents){node.contents.set(oldContents.subarray(0,Math.min(newSize,node.usedBytes)))}node.usedBytes=newSize;return}if(!node.contents)node.contents=[];if(node.contents.length>newSize)node.contents.length=newSize;else while(node.contents.length=stream.node.usedBytes)return 0;var size=Math.min(stream.node.usedBytes-position,length);if(size>8&&contents.subarray){buffer.set(contents.subarray(position,position+size),offset)}else{for(var i=0;i0||position+length8){throw new FS.ErrnoError(32)}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(32)}}}}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 2}else if(perms.indexOf("w")!==-1&&!(node.mode&146)){return 2}else if(perms.indexOf("x")!==-1&&!(node.mode&73)){return 2}return 0},mayLookup:function(dir){var err=FS.nodePermissions(dir,"x");if(err)return err;if(!dir.node_ops.lookup)return 2;return 0},mayCreate:function(dir,name){try{var node=FS.lookupNode(dir,name);return 20}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 54}if(FS.isRoot(node)||FS.getPath(node)===FS.cwd()){return 10}}else{if(FS.isDir(node.mode)){return 31}}return 0},mayOpen:function(node,flags){if(!node){return 44}if(FS.isLink(node.mode)){return 32}else if(FS.isDir(node.mode)){if(FS.flagsToPermissionString(flags)!=="r"||flags&512){return 31}}return FS.nodePermissions(node,FS.flagsToPermissionString(flags))},MAX_OPEN_FDS:4096,nextfd: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(33)},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(70)}},major:function(dev){return dev>>8},minor:function(dev){return dev&255},makedev:function(ma,mi){return ma<<8|mi},registerDevice:function(dev,ops){FS.devices[dev]={stream_ops:ops}},getDevice:function(dev){return FS.devices[dev]},getMounts:function(mount){var mounts=[];var check=[mount];while(check.length){var m=check.pop();mounts.push(m);check.push.apply(check,m.mounts)}return mounts},syncfs:function(populate,callback){if(typeof populate==="function"){callback=populate;populate=false}FS.syncFSRequests++;if(FS.syncFSRequests>1){console.log("warning: "+FS.syncFSRequests+" FS.syncfs operations in flight at once, probably just doing extra work")}var mounts=FS.getMounts(FS.root.mount);var completed=0;function doCallback(err){FS.syncFSRequests--;return callback(err)}function done(err){if(err){if(!done.errored){done.errored=true;return doCallback(err)}return}if(++completed>=mounts.length){doCallback(null)}}mounts.forEach(function(mount){if(!mount.type.syncfs){return done(null)}mount.type.syncfs(mount,populate,done)})},mount:function(type,opts,mountpoint){var root=mountpoint==="/";var pseudo=!mountpoint;var node;if(root&&FS.root){throw new FS.ErrnoError(10)}else if(!root&&!pseudo){var lookup=FS.lookupPath(mountpoint,{follow_mount:false});mountpoint=lookup.path;node=lookup.node;if(FS.isMountpoint(node)){throw new FS.ErrnoError(10)}if(!FS.isDir(node.mode)){throw new FS.ErrnoError(54)}}var mount={type:type,opts:opts,mountpoint:mountpoint,mounts:[]};var mountRoot=type.mount(mount);mountRoot.mount=mount;mount.root=mountRoot;if(root){FS.root=mountRoot}else if(node){node.mounted=mount;if(node.mount){node.mount.mounts.push(mount)}}return mountRoot},unmount:function(mountpoint){var lookup=FS.lookupPath(mountpoint,{follow_mount:false});if(!FS.isMountpoint(lookup.node)){throw new FS.ErrnoError(28)}var node=lookup.node;var mount=node.mounted;var mounts=FS.getMounts(mount);Object.keys(FS.nameTable).forEach(function(hash){var current=FS.nameTable[hash];while(current){var next=current.name_next;if(mounts.indexOf(current.mount)!==-1){FS.destroyNode(current)}current=next}});node.mounted=null;var idx=node.mount.mounts.indexOf(mount);node.mount.mounts.splice(idx,1)},lookup:function(parent,name){return parent.node_ops.lookup(parent,name)},mknod:function(path,mode,dev){var lookup=FS.lookupPath(path,{parent:true});var parent=lookup.node;var name=PATH.basename(path);if(!name||name==="."||name===".."){throw new FS.ErrnoError(28)}var err=FS.mayCreate(parent,name);if(err){throw new FS.ErrnoError(err)}if(!parent.node_ops.mknod){throw new FS.ErrnoError(63)}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(29)}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(29)}var contents=stream.node.contents;if(position>=contents.length)return 0;var size=Math.min(contents.length-position,length);if(contents.slice){for(var i=0;i>2]=stat.dev;HEAP32[buf+4>>2]=0;HEAP32[buf+8>>2]=stat.ino;HEAP32[buf+12>>2]=stat.mode;HEAP32[buf+16>>2]=stat.nlink;HEAP32[buf+20>>2]=stat.uid;HEAP32[buf+24>>2]=stat.gid;HEAP32[buf+28>>2]=stat.rdev;HEAP32[buf+32>>2]=0;tempI64=[stat.size>>>0,(tempDouble=stat.size,+Math_abs(tempDouble)>=+1?tempDouble>+0?(Math_min(+Math_floor(tempDouble/+4294967296),+4294967295)|0)>>>0:~~+Math_ceil((tempDouble-+(~~tempDouble>>>0))/+4294967296)>>>0:0)],HEAP32[buf+40>>2]=tempI64[0],HEAP32[buf+44>>2]=tempI64[1];HEAP32[buf+48>>2]=4096;HEAP32[buf+52>>2]=stat.blocks;HEAP32[buf+56>>2]=stat.atime.getTime()/1e3|0;HEAP32[buf+60>>2]=0;HEAP32[buf+64>>2]=stat.mtime.getTime()/1e3|0;HEAP32[buf+68>>2]=0;HEAP32[buf+72>>2]=stat.ctime.getTime()/1e3|0;HEAP32[buf+76>>2]=0;tempI64=[stat.ino>>>0,(tempDouble=stat.ino,+Math_abs(tempDouble)>=+1?tempDouble>+0?(Math_min(+Math_floor(tempDouble/+4294967296),+4294967295)|0)>>>0:~~+Math_ceil((tempDouble-+(~~tempDouble>>>0))/+4294967296)>>>0:0)],HEAP32[buf+80>>2]=tempI64[0],HEAP32[buf+84>>2]=tempI64[1];return 0},doMsync:function(addr,stream,len,flags){var buffer=new Uint8Array(HEAPU8.subarray(addr,addr+len));FS.msync(stream,buffer,0,len,flags)},doMkdir:function(path,mode){path=PATH.normalize(path);if(path[path.length-1]==="/")path=path.substr(0,path.length-1);FS.mkdir(path,mode,0);return 0},doMknod:function(path,mode,dev){switch(mode&61440){case 32768:case 8192:case 24576:case 4096:case 49152:break;default:return-28}FS.mknod(path,mode,dev);return 0},doReadlink:function(path,buf,bufsize){if(bufsize<=0)return-28;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-28}var node;var lookup=FS.lookupPath(path,{follow:true});node=lookup.node;if(!node){return-44}var perms="";if(amode&4)perms+="r";if(amode&2)perms+="w";if(amode&1)perms+="x";if(perms&&FS.nodePermissions(node,perms)){return-2}return 0},doDup:function(path,flags,suggestFD){var suggest=FS.getStream(suggestFD);if(suggest)FS.close(suggest);return FS.open(path,flags,0,suggestFD,suggestFD).fd},doReadv:function(stream,iov,iovcnt,offset){var ret=0;for(var i=0;i>2];var len=HEAP32[iov+(i*8+4)>>2];var curr=FS.read(stream,HEAP8,ptr,len,offset);if(curr<0)return-1;ret+=curr;if(curr>2];var len=HEAP32[iov+(i*8+4)>>2];var curr=FS.write(stream,HEAP8,ptr,len,offset);if(curr<0)return-1;ret+=curr}return ret},varargs:0,get:function(varargs){SYSCALLS.varargs+=4;var ret=HEAP32[SYSCALLS.varargs-4>>2];return ret},getStr:function(){var ret=UTF8ToString(SYSCALLS.get());return ret},getStreamFromFD:function(fd){if(fd===undefined)fd=SYSCALLS.get();var stream=FS.getStream(fd);if(!stream)throw new FS.ErrnoError(8);return stream},get64:function(){var low=SYSCALLS.get(),high=SYSCALLS.get();return low},getZero:function(){SYSCALLS.get()}};function ___syscall221(which,varargs){SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.getStreamFromFD(),cmd=SYSCALLS.get();switch(cmd){case 0:{var arg=SYSCALLS.get();if(arg<0){return-28}var newStream;newStream=FS.open(stream.path,stream.flags,0,arg);return newStream.fd}case 1:case 2:return 0;case 3:return stream.flags;case 4:{var arg=SYSCALLS.get();stream.flags|=arg;return 0}case 12:{var arg=SYSCALLS.get();var offset=0;HEAP16[arg+offset>>1]=2;return 0}case 13:case 14:return 0;case 16:case 8:return-28;case 9:___setErrNo(28);return-1;default:{return-28}}}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___syscall5(which,varargs){SYSCALLS.varargs=varargs;try{var pathname=SYSCALLS.getStr(),flags=SYSCALLS.get(),mode=SYSCALLS.get();var stream=FS.open(pathname,flags,mode);return stream.fd}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___syscall54(which,varargs){SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.getStreamFromFD(),op=SYSCALLS.get();switch(op){case 21509:case 21505:{if(!stream.tty)return-59;return 0}case 21510:case 21511:case 21512:case 21506:case 21507:case 21508:{if(!stream.tty)return-59;return 0}case 21519:{if(!stream.tty)return-59;var argp=SYSCALLS.get();HEAP32[argp>>2]=0;return 0}case 21520:{if(!stream.tty)return-59;return-28}case 21531:{var argp=SYSCALLS.get();return FS.ioctl(stream,op,argp)}case 21523:{if(!stream.tty)return-59;return 0}case 21524:{if(!stream.tty)return-59;return 0}default:abort("bad ioctl syscall "+op)}}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function __emscripten_syscall_munmap(addr,len){if(addr===-1||len===0){return-28}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}function ___syscall91(which,varargs){SYSCALLS.varargs=varargs;try{var addr=SYSCALLS.get(),len=SYSCALLS.get();return __emscripten_syscall_munmap(addr,len)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___unlock(){}function _fd_close(fd){try{var stream=SYSCALLS.getStreamFromFD(fd);FS.close(stream);return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return e.errno}}function ___wasi_fd_close(){return _fd_close.apply(null,arguments)}function _fd_read(fd,iov,iovcnt,pnum){try{var stream=SYSCALLS.getStreamFromFD(fd);var num=SYSCALLS.doReadv(stream,iov,iovcnt);HEAP32[pnum>>2]=num;return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return e.errno}}function ___wasi_fd_read(){return _fd_read.apply(null,arguments)}function _fd_seek(fd,offset_low,offset_high,whence,newOffset){try{var stream=SYSCALLS.getStreamFromFD(fd);var HIGH_OFFSET=4294967296;var offset=offset_high*HIGH_OFFSET+(offset_low>>>0);var DOUBLE_LIMIT=9007199254740992;if(offset<=-DOUBLE_LIMIT||offset>=DOUBLE_LIMIT){return-61}FS.llseek(stream,offset,whence);tempI64=[stream.position>>>0,(tempDouble=stream.position,+Math_abs(tempDouble)>=+1?tempDouble>+0?(Math_min(+Math_floor(tempDouble/+4294967296),+4294967295)|0)>>>0:~~+Math_ceil((tempDouble-+(~~tempDouble>>>0))/+4294967296)>>>0:0)],HEAP32[newOffset>>2]=tempI64[0],HEAP32[newOffset+4>>2]=tempI64[1];if(stream.getdents&&offset===0&&whence===0)stream.getdents=null;return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return e.errno}}function ___wasi_fd_seek(){return _fd_seek.apply(null,arguments)}function _fd_write(fd,iov,iovcnt,pnum){try{var stream=SYSCALLS.getStreamFromFD(fd);var num=SYSCALLS.doWritev(stream,iov,iovcnt);HEAP32[pnum>>2]=num;return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return e.errno}}function ___wasi_fd_write(){return _fd_write.apply(null,arguments)}function getShiftFromSize(size){switch(size){case 1:return 0;case 2:return 1;case 4:return 2;case 8:return 3;default:throw new TypeError("Unknown type size: "+size)}}function embind_init_charCodes(){var codes=new Array(256);for(var i=0;i<256;++i){codes[i]=String.fromCharCode(i)}embind_charCodes=codes}var embind_charCodes=undefined;function readLatin1String(ptr){var ret="";var c=ptr;while(HEAPU8[c]){ret+=embind_charCodes[HEAPU8[c++]]}return ret}var awaitingDependencies={};var registeredTypes={};var typeDependencies={};var char_0=48;var char_9=57;function makeLegalFunctionName(name){if(undefined===name){return"_unknown"}name=name.replace(/[^a-zA-Z0-9_]/g,"$");var f=name.charCodeAt(0);if(f>=char_0&&f<=char_9){return"_"+name}else{return name}}function createNamedFunction(name,body){name=makeLegalFunctionName(name);return new Function("body","return function "+name+"() {\n"+' "use strict";'+" return body.apply(this, arguments);\n"+"};\n")(body)}function extendError(baseErrorType,errorName){var errorClass=createNamedFunction(errorName,function(message){this.name=errorName;this.message=message;var stack=new Error(message).stack;if(stack!==undefined){this.stack=this.toString()+"\n"+stack.replace(/^Error(:[^\n]*)?\n/,"")}});errorClass.prototype=Object.create(baseErrorType.prototype);errorClass.prototype.constructor=errorClass;errorClass.prototype.toString=function(){if(this.message===undefined){return this.name}else{return this.name+": "+this.message}};return errorClass}var BindingError=undefined;function throwBindingError(message){throw new BindingError(message)}var InternalError=undefined;function throwInternalError(message){throw new InternalError(message)}function whenDependentTypesAreResolved(myTypes,dependentTypes,getTypeConverters){myTypes.forEach(function(type){typeDependencies[type]=dependentTypes});function onComplete(typeConverters){var myTypeConverters=getTypeConverters(typeConverters);if(myTypeConverters.length!==myTypes.length){throwInternalError("Mismatched type converter count")}for(var i=0;i>shift])},destructorFunction:null})}function __embind_register_constant(name,type,value){name=readLatin1String(name);whenDependentTypesAreResolved([],[type],function(type){type=type[0];Module[name]=type["fromWireType"](value);return[]})}var emval_free_list=[];var emval_handle_array=[{},{value:undefined},{value:null},{value:true},{value:false}];function __emval_decref(handle){if(handle>4&&0===--emval_handle_array[handle].refcount){emval_handle_array[handle]=undefined;emval_free_list.push(handle)}}function count_emval_handles(){var count=0;for(var i=5;i>2])}function __embind_register_emval(rawType,name){name=readLatin1String(name);registerType(rawType,{name:name,"fromWireType":function(handle){var rv=emval_handle_array[handle].value;__emval_decref(handle);return rv},"toWireType":function(destructors,value){return __emval_register(value)},"argPackAdvance":8,"readValueFromPointer":simpleReadValueFromPointer,destructorFunction:null})}function _embind_repr(v){if(v===null){return"null"}var t=typeof v;if(t==="object"||t==="array"||t==="function"){return v.toString()}else{return""+v}}function floatReadValueFromPointer(name,shift){switch(shift){case 2:return function(pointer){return this["fromWireType"](HEAPF32[pointer>>2])};case 3:return function(pointer){return this["fromWireType"](HEAPF64[pointer>>3])};default:throw new TypeError("Unknown float type: "+name)}}function __embind_register_float(rawType,name,size){var shift=getShiftFromSize(size);name=readLatin1String(name);registerType(rawType,{name:name,"fromWireType":function(value){return value},"toWireType":function(destructors,value){if(typeof value!=="number"&&typeof value!=="boolean"){throw new TypeError('Cannot convert "'+_embind_repr(value)+'" to '+this.name)}return value},"argPackAdvance":8,"readValueFromPointer":floatReadValueFromPointer(name,shift),destructorFunction:null})}function new_(constructor,argumentList){if(!(constructor instanceof Function)){throw new TypeError("new_ called with constructor type "+typeof constructor+" which is not a function")}var dummy=createNamedFunction(constructor.name||"unknownFunctionName",function(){});dummy.prototype=constructor.prototype;var obj=new dummy;var r=constructor.apply(obj,argumentList);return r instanceof Object?r:obj}function runDestructors(destructors){while(destructors.length){var ptr=destructors.pop();var del=destructors.pop();del(ptr)}}function craftInvokerFunction(humanName,argTypes,classType,cppInvokerFunc,cppTargetFunc){var argCount=argTypes.length;if(argCount<2){throwBindingError("argTypes array size mismatch! Must at least get return value and 'this' types!")}var isClassMethodFunc=argTypes[1]!==null&&classType!==null;var needsDestructorStack=false;for(var i=1;i0?", ":"")+argsListWired}invokerFnBody+=(returns?"var rv = ":"")+"invoker(fn"+(argsListWired.length>0?", ":"")+argsListWired+");\n";if(needsDestructorStack){invokerFnBody+="runDestructors(destructors);\n"}else{for(var i=isClassMethodFunc?1:2;i>2)+i])}return array}function replacePublicSymbol(name,value,numArguments){if(!Module.hasOwnProperty(name)){throwInternalError("Replacing nonexistant public symbol")}if(undefined!==Module[name].overloadTable&&undefined!==numArguments){Module[name].overloadTable[numArguments]=value}else{Module[name]=value;Module[name].argCount=numArguments}}function embind__requireFunction(signature,rawFunction){signature=readLatin1String(signature);function makeDynCaller(dynCall){var args=[];for(var i=1;i>1]}:function readU16FromPointer(pointer){return HEAPU16[pointer>>1]};case 2:return signed?function readS32FromPointer(pointer){return HEAP32[pointer>>2]}:function readU32FromPointer(pointer){return HEAPU32[pointer>>2]};default:throw new TypeError("Unknown integer type: "+name)}}function __embind_register_integer(primitiveType,name,size,minRange,maxRange){name=readLatin1String(name);if(maxRange===-1){maxRange=4294967295}var shift=getShiftFromSize(size);var fromWireType=function(value){return value};if(minRange===0){var bitshift=32-8*size;fromWireType=function(value){return value<>>bitshift}}var isUnsignedType=name.indexOf("unsigned")!=-1;registerType(primitiveType,{name:name,"fromWireType":fromWireType,"toWireType":function(destructors,value){if(typeof value!=="number"&&typeof value!=="boolean"){throw new TypeError('Cannot convert "'+_embind_repr(value)+'" to '+this.name)}if(valuemaxRange){throw new TypeError('Passing a number "'+_embind_repr(value)+'" from JS side to C/C++ side to an argument of type "'+name+'", which is outside the valid range ['+minRange+", "+maxRange+"]!")}return isUnsignedType?value>>>0:value|0},"argPackAdvance":8,"readValueFromPointer":integerReadValueFromPointer(name,shift,minRange!==0),destructorFunction:null})}function __embind_register_memory_view(rawType,dataTypeIndex,name){var typeMapping=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array];var TA=typeMapping[dataTypeIndex];function decodeMemoryView(handle){handle=handle>>2;var heap=HEAPU32;var size=heap[handle];var data=heap[handle+1];return new TA(heap["buffer"],data,size)}name=readLatin1String(name);registerType(rawType,{name:name,"fromWireType":decodeMemoryView,"argPackAdvance":8,"readValueFromPointer":decodeMemoryView},{ignoreDuplicateRegistrations:true})}function __embind_register_std_string(rawType,name){name=readLatin1String(name);var stdStringIsUTF8=name==="std::string";registerType(rawType,{name:name,"fromWireType":function(value){var length=HEAPU32[value>>2];var str;if(stdStringIsUTF8){var endChar=HEAPU8[value+4+length];var endCharSwap=0;if(endChar!=0){endCharSwap=endChar;HEAPU8[value+4+length]=0}var decodeStartPtr=value+4;for(var i=0;i<=length;++i){var currentBytePtr=value+4+i;if(HEAPU8[currentBytePtr]==0){var stringSegment=UTF8ToString(decodeStartPtr);if(str===undefined)str=stringSegment;else{str+=String.fromCharCode(0);str+=stringSegment}decodeStartPtr=currentBytePtr+1}}if(endCharSwap!=0)HEAPU8[value+4+length]=endCharSwap}else{var a=new Array(length);for(var i=0;i>2]=length;if(stdStringIsUTF8&&valueIsOfTypeString){stringToUTF8(value,ptr+4,length+1)}else{if(valueIsOfTypeString){for(var i=0;i255){_free(ptr);throwBindingError("String has UTF-16 code units that do not fit in 8 bits")}HEAPU8[ptr+4+i]=charCode}}else{for(var i=0;i>2];var a=new Array(length);var start=value+4>>shift;for(var i=0;i>2]=length;var start=ptr+4>>shift;for(var i=0;i>2]=now/1e3|0;HEAP32[ptr+4>>2]=now%1e3*1e3|0;return 0}function _llvm_exp2_f32(x){return Math.pow(2,x)}function _llvm_stackrestore(p){var self=_llvm_stacksave;var ret=self.LLVM_SAVEDSTACKS[p];self.LLVM_SAVEDSTACKS.splice(p,1);stackRestore(ret)}function _llvm_stacksave(){var self=_llvm_stacksave;if(!self.LLVM_SAVEDSTACKS){self.LLVM_SAVEDSTACKS=[]}self.LLVM_SAVEDSTACKS.push(stackSave());return self.LLVM_SAVEDSTACKS.length-1}var ___tm_current=58576;var ___tm_timezone=(stringToUTF8("GMT",58624,4),58624);function _tzset(){if(_tzset.called)return;_tzset.called=true;HEAP32[__get_timezone()>>2]=(new Date).getTimezoneOffset()*60;var currentYear=(new Date).getFullYear();var winter=new Date(currentYear,0,1);var summer=new Date(currentYear,6,1);HEAP32[__get_daylight()>>2]=Number(winter.getTimezoneOffset()!=summer.getTimezoneOffset());function extractZone(date){var match=date.toTimeString().match(/\(([A-Za-z ]+)\)$/);return match?match[1]:"GMT"}var winterName=extractZone(winter);var summerName=extractZone(summer);var winterNamePtr=allocate(intArrayFromString(winterName),"i8",ALLOC_NORMAL);var summerNamePtr=allocate(intArrayFromString(summerName),"i8",ALLOC_NORMAL);if(summer.getTimezoneOffset()>2]=winterNamePtr;HEAP32[__get_tzname()+4>>2]=summerNamePtr}else{HEAP32[__get_tzname()>>2]=summerNamePtr;HEAP32[__get_tzname()+4>>2]=winterNamePtr}}function _localtime_r(time,tmPtr){_tzset();var date=new Date(HEAP32[time>>2]*1e3);HEAP32[tmPtr>>2]=date.getSeconds();HEAP32[tmPtr+4>>2]=date.getMinutes();HEAP32[tmPtr+8>>2]=date.getHours();HEAP32[tmPtr+12>>2]=date.getDate();HEAP32[tmPtr+16>>2]=date.getMonth();HEAP32[tmPtr+20>>2]=date.getFullYear()-1900;HEAP32[tmPtr+24>>2]=date.getDay();var start=new Date(date.getFullYear(),0,1);var yday=(date.getTime()-start.getTime())/(1e3*60*60*24)|0;HEAP32[tmPtr+28>>2]=yday;HEAP32[tmPtr+36>>2]=-(date.getTimezoneOffset()*60);var summerOffset=new Date(date.getFullYear(),6,1).getTimezoneOffset();var winterOffset=start.getTimezoneOffset();var dst=(summerOffset!=winterOffset&&date.getTimezoneOffset()==Math.min(winterOffset,summerOffset))|0;HEAP32[tmPtr+32>>2]=dst;var zonePtr=HEAP32[__get_tzname()+(dst?4:0)>>2];HEAP32[tmPtr+40>>2]=zonePtr;return tmPtr}function _localtime(time){return _localtime_r(time,___tm_current)}function _longjmp(env,value){_setThrew(env,value||1);throw"longjmp"}function _emscripten_memcpy_big(dest,src,num){HEAPU8.set(HEAPU8.subarray(src,src+num),dest)}function __isLeapYear(year){return year%4===0&&(year%100!==0||year%400===0)}function __arraySum(array,index){var sum=0;for(var i=0;i<=index;sum+=array[i++]);return sum}var __MONTH_DAYS_LEAP=[31,29,31,30,31,30,31,31,30,31,30,31];var __MONTH_DAYS_REGULAR=[31,28,31,30,31,30,31,31,30,31,30,31];function __addDays(date,days){var newDate=new Date(date.getTime());while(days>0){var leap=__isLeapYear(newDate.getFullYear());var currentMonth=newDate.getMonth();var daysInCurrentMonth=(leap?__MONTH_DAYS_LEAP:__MONTH_DAYS_REGULAR)[currentMonth];if(days>daysInCurrentMonth-newDate.getDate()){days-=daysInCurrentMonth-newDate.getDate()+1;newDate.setDate(1);if(currentMonth<11){newDate.setMonth(currentMonth+1)}else{newDate.setMonth(0);newDate.setFullYear(newDate.getFullYear()+1)}}else{newDate.setDate(newDate.getDate()+days);return newDate}}return newDate}function _strftime(s,maxsize,format,tm){var tm_zone=HEAP32[tm+40>>2];var date={tm_sec:HEAP32[tm>>2],tm_min:HEAP32[tm+4>>2],tm_hour:HEAP32[tm+8>>2],tm_mday:HEAP32[tm+12>>2],tm_mon:HEAP32[tm+16>>2],tm_year:HEAP32[tm+20>>2],tm_wday:HEAP32[tm+24>>2],tm_yday:HEAP32[tm+28>>2],tm_isdst:HEAP32[tm+32>>2],tm_gmtoff:HEAP32[tm+36>>2],tm_zone:tm_zone?UTF8ToString(tm_zone):""};var pattern=UTF8ToString(format);var EXPANSION_RULES_1={"%c":"%a %b %d %H:%M:%S %Y","%D":"%m/%d/%y","%F":"%Y-%m-%d","%h":"%b","%r":"%I:%M:%S %p","%R":"%H:%M","%T":"%H:%M:%S","%x":"%m/%d/%y","%X":"%H:%M:%S","%Ec":"%c","%EC":"%C","%Ex":"%m/%d/%y","%EX":"%H:%M:%S","%Ey":"%y","%EY":"%Y","%Od":"%d","%Oe":"%e","%OH":"%H","%OI":"%I","%Om":"%m","%OM":"%M","%OS":"%S","%Ou":"%u","%OU":"%U","%OV":"%V","%Ow":"%w","%OW":"%W","%Oy":"%y"};for(var rule in EXPANSION_RULES_1){pattern=pattern.replace(new RegExp(rule,"g"),EXPANSION_RULES_1[rule])}var WEEKDAYS=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"];var MONTHS=["January","February","March","April","May","June","July","August","September","October","November","December"];function leadingSomething(value,digits,character){var str=typeof value==="number"?value.toString():value||"";while(str.length0?1:0}var compare;if((compare=sgn(date1.getFullYear()-date2.getFullYear()))===0){if((compare=sgn(date1.getMonth()-date2.getMonth()))===0){compare=sgn(date1.getDate()-date2.getDate())}}return compare}function getFirstWeekStartDate(janFourth){switch(janFourth.getDay()){case 0:return new Date(janFourth.getFullYear()-1,11,29);case 1:return janFourth;case 2:return new Date(janFourth.getFullYear(),0,3);case 3:return new Date(janFourth.getFullYear(),0,2);case 4:return new Date(janFourth.getFullYear(),0,1);case 5:return new Date(janFourth.getFullYear()-1,11,31);case 6:return new Date(janFourth.getFullYear()-1,11,30)}}function getWeekBasedYear(date){var thisDate=__addDays(new Date(date.tm_year+1900,0,1),date.tm_yday);var janFourthThisYear=new Date(thisDate.getFullYear(),0,4);var janFourthNextYear=new Date(thisDate.getFullYear()+1,0,4);var firstWeekStartThisYear=getFirstWeekStartDate(janFourthThisYear);var firstWeekStartNextYear=getFirstWeekStartDate(janFourthNextYear);if(compareByDay(firstWeekStartThisYear,thisDate)<=0){if(compareByDay(firstWeekStartNextYear,thisDate)<=0){return thisDate.getFullYear()+1}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){return date.tm_wday||7},"%U":function(date){var janFirst=new Date(date.tm_year+1900,0,1);var firstSunday=janFirst.getDay()===0?janFirst:__addDays(janFirst,7-janFirst.getDay());var endDate=new Date(date.tm_year+1900,date.tm_mon,date.tm_mday);if(compareByDay(firstSunday,endDate)<0){var februaryFirstUntilEndMonth=__arraySum(__isLeapYear(endDate.getFullYear())?__MONTH_DAYS_LEAP:__MONTH_DAYS_REGULAR,endDate.getMonth()-1)-31;var firstSundayUntilEndJanuary=31-firstSunday.getDate();var days=firstSundayUntilEndJanuary+februaryFirstUntilEndMonth+endDate.getDate();return leadingNulls(Math.ceil(days/7),2)}return compareByDay(firstSunday,janFirst)===0?"01":"00"},"%V":function(date){var janFourthThisYear=new Date(date.tm_year+1900,0,4);var janFourthNextYear=new Date(date.tm_year+1901,0,4);var firstWeekStartThisYear=getFirstWeekStartDate(janFourthThisYear);var firstWeekStartNextYear=getFirstWeekStartDate(janFourthNextYear);var endDate=__addDays(new Date(date.tm_year+1900,0,1),date.tm_yday);if(compareByDay(endDate,firstWeekStartThisYear)<0){return"53"}if(compareByDay(firstWeekStartNextYear,endDate)<=0){return"01"}var daysDifference;if(firstWeekStartThisYear.getFullYear()=0;off=Math.abs(off)/60;off=off/60*100+off%60;return(ahead?"+":"-")+String("0000"+off).slice(-4)},"%Z":function(date){return date.tm_zone},"%%":function(){return"%"}};for(var rule in EXPANSION_RULES_2){if(pattern.indexOf(rule)>=0){pattern=pattern.replace(new RegExp(rule,"g"),EXPANSION_RULES_2[rule](date))}}var bytes=intArrayFromString(pattern,false);if(bytes.length>maxsize){return 0}writeArrayToMemory(bytes,s);return bytes.length-1}function _strftime_l(s,maxsize,format,tm){return _strftime(s,maxsize,format,tm)}function _time(ptr){var ret=Date.now()/1e3|0;if(ptr){HEAP32[ptr>>2]=ret}return ret}FS.staticInit();embind_init_charCodes();BindingError=Module["BindingError"]=extendError(Error,"BindingError");InternalError=Module["InternalError"]=extendError(Error,"InternalError");init_emval();UnboundTypeError=Module["UnboundTypeError"]=extendError(Error,"UnboundTypeError");var ASSERTIONS=false;function intArrayFromString(stringy,dontAddNull,length){var len=length>0?length:lengthBytesUTF8(stringy)+1;var u8array=new Array(len);var numBytesWritten=stringToUTF8Array(stringy,u8array,0,u8array.length);if(dontAddNull)u8array.length=numBytesWritten;return u8array}function intArrayToString(array){var ret=[];for(var i=0;i255){if(ASSERTIONS){assert(false,"Character code "+chr+" ("+String.fromCharCode(chr)+") at offset "+i+" not in 0x00-0xFF.")}chr&=255}ret.push(String.fromCharCode(chr))}return ret.join("")}var decodeBase64=typeof atob==="function"?atob:function(input){var keyStr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";var output="";var chr1,chr2,chr3;var enc1,enc2,enc3,enc4;var i=0;input=input.replace(/[^A-Za-z0-9\+\/\=]/g,"");do{enc1=keyStr.indexOf(input.charAt(i++));enc2=keyStr.indexOf(input.charAt(i++));enc3=keyStr.indexOf(input.charAt(i++));enc4=keyStr.indexOf(input.charAt(i++));chr1=enc1<<2|enc2>>4;chr2=(enc2&15)<<4|enc3>>2;chr3=(enc3&3)<<6|enc4;output=output+String.fromCharCode(chr1);if(enc3!==64){output=output+String.fromCharCode(chr2)}if(enc4!==64){output=output+String.fromCharCode(chr3)}}while(i>2]=b;Se(0,3,20325,e);a=zy(c[(mx()|0)>>2]|0)|0;c[f>>2]=57671;c[f+4>>2]=a;Se(0,3,21881,f);a=-1}else{a=pd(a,d)|0;EO(d)}yb=g;return a|0}function rd(a,b){a=a|0;b=b|0;b=(c[a+8>>2]|0)+(b<<2)|0;if(!(c[b>>2]|0))b=-1;else{c[b>>2]=0;c[a>>2]=(c[a>>2]|0)+-1;b=1}return b|0}function sd(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,h=0,i=0;d=0;while(1){if((d|0)==3)break;f=a+(d<<5)|0;h=a+(d<<5)+8|0;i=a+(d<<5)+16|0;e=0;while(1){if((e|0)==4)break;g[c+(d<<5)+(e<<3)>>3]=+g[f>>3]*+g[b+(e<<3)>>3]+ +g[h>>3]*+g[b+32+(e<<3)>>3]+ +g[i>>3]*+g[b+64+(e<<3)>>3];e=e+1|0}i=c+(d<<5)+24|0;g[i>>3]=+g[a+(d<<5)+24>>3]+ +g[i>>3];d=d+1|0}return 0}function td(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,h=0,i=0,j=0;d=0;while(1){if((d|0)==3)break;h=a+(d<<5)|0;i=a+(d<<5)+8|0;j=a+(d<<5)+16|0;e=0;while(1){if((e|0)==4)break;f[c+(d<<4)+(e<<2)>>2]=+f[b+(e<<2)>>2]*+g[h>>3]+ +f[b+16+(e<<2)>>2]*+g[i>>3]+ +f[b+32+(e<<2)>>2]*+g[j>>3];e=e+1|0}j=c+(d<<4)+12|0;f[j>>2]=+f[j>>2]+ +g[a+(d<<5)+24>>3];d=d+1|0}return 0}function ud(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,g=0,h=0,i=0;d=0;while(1){if((d|0)==3)break;g=a+(d<<4)|0;h=a+(d<<4)+4|0;i=a+(d<<4)+8|0;e=0;while(1){if((e|0)==4)break;f[c+(d<<4)+(e<<2)>>2]=+f[g>>2]*+f[b+(e<<2)>>2]+ +f[h>>2]*+f[b+16+(e<<2)>>2]+ +f[i>>2]*+f[b+32+(e<<2)>>2];e=e+1|0}i=c+(d<<4)+12|0;f[i>>2]=+f[a+(d<<4)+12>>2]+ +f[i>>2];d=d+1|0}return 0}function vd(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,h=0;h=Bd(4,4)|0;d=0;while(1){if((d|0)==3)break;f=d<<2;e=0;while(1){if((e|0)==4)break;g[(c[h>>2]|0)+(e+f<<3)>>3]=+g[a+(d<<5)+(e<<3)>>3];e=e+1|0}d=d+1|0}d=c[h>>2]|0;f=d+96|0;c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=0;c[f+12>>2]=0;c[f+16>>2]=0;c[f+20>>2]=0;g[d+120>>3]=1.0;Vd(h)|0;d=0;while(1){if((d|0)==3)break;a=d<<2;e=0;while(1){if((e|0)==4)break;g[b+(d<<5)+(e<<3)>>3]=+g[(c[h>>2]|0)+(e+a<<3)>>3];e=e+1|0}d=d+1|0}Jd(h)|0;return 0}function wd(a,b){a=a|0;b=b|0;var d=0,e=0,h=0,i=0;i=Bd(4,4)|0;d=0;while(1){if((d|0)==3)break;h=d<<2;e=0;while(1){if((e|0)==4)break;g[(c[i>>2]|0)+(e+h<<3)>>3]=+f[a+(d<<4)+(e<<2)>>2];e=e+1|0}d=d+1|0}d=c[i>>2]|0;h=d+96|0;c[h>>2]=0;c[h+4>>2]=0;c[h+8>>2]=0;c[h+12>>2]=0;c[h+16>>2]=0;c[h+20>>2]=0;g[d+120>>3]=1.0;Vd(i)|0;d=0;while(1){if((d|0)==3)break;a=d<<2;e=0;while(1){if((e|0)==4)break;f[b+(d<<4)+(e<<2)>>2]=+g[(c[i>>2]|0)+(e+a<<3)>>3];e=e+1|0}d=d+1|0}Jd(i)|0;return 0}function xd(a){a=a|0;switch(a|0){case 1:case 0:{a=3;break}case 6:case 4:case 3:case 2:{a=4;break}case 14:case 13:case 12:case 5:{a=1;break}case 11:case 10:case 9:case 8:case 7:{a=2;break}default:a=0}return a|0}function yd(b,c,d,e){b=b|0;c=c|0;d=d|0;e=e|0;var f=0;do if((b|0)!=0&(c|0)!=0&(d|0)!=0){f=Mz(c,47)|0;if(!f){a[b>>0]=0;break}e=f+((e|0)!=0&1)-c|0;if((e+1|0)>>>0<=d>>>0){Uz(b,c,e)|0;a[b+e>>0]=0}else b=0}else b=0;while(0);return b|0}function zd(b,c,d){b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;e=0;h=0;a:while(1){switch(a[b+h>>0]|0){case 0:break a;case 46:{e=h;break}default:{}}h=h+1|0}f=b+h|0;g=(Oy(d)|0)+2|0;if(!e)if((g+h|0)>(c|0))e=-1;else{a[f>>0]=46;e=h;i=9}else if((g+e|0)>(c|0))e=-1;else i=9;if((i|0)==9){a[b+(e+1)>>0]=0;_z(b,d)|0;e=0}return e|0}function Ad(b){b=b|0;var c=0,d=0;c=-1;d=0;a:while(1){switch(a[b+d>>0]|0){case 0:break a;case 46:{c=d;break}default:{}}d=d+1|0}if((c|0)!=-1)a[b+c>>0]=0;return 0}function Bd(a,b){a=a|0;b=b|0;var d=0,e=0;d=DO(12)|0;do if(d){e=DO(B(a<<3,b)|0)|0;c[d>>2]=e;if(!e){EO(d);d=0;break}else{c[d+4>>2]=a;c[d+8>>2]=b;break}}else d=0;while(0);return d|0}function Cd(a,b){a=a|0;b=b|0;var d=0,e=0;d=DO(12)|0;do if(d){e=DO(B(a<<2,b)|0)|0;c[d>>2]=e;if(!e){EO(d);d=0;break}else{c[d+4>>2]=a;c[d+8>>2]=b;break}}else d=0;while(0);return d|0}function Dd(a){a=a|0;var b=0;b=Bd(c[a+4>>2]|0,c[a+8>>2]|0)|0;if(b){if((Id(b,a)|0)<0){Jd(b)|0;b=0}}else b=0;return b|0}function Ed(a,b){a=a|0;b=b|0;var d=0;d=Bd(c[a+4>>2]|0,c[b+8>>2]|0)|0;if(d){if((Ld(d,a,b)|0)<0){Jd(d)|0;d=0}}else d=0;return d|0}function Fd(a,b){a=a|0;b=b|0;var d=0;d=Cd(c[a+4>>2]|0,c[b+8>>2]|0)|0;if(d){if((Md(d,a,b)|0)<0){Kd(d)|0;d=0}}else d=0;return d|0}function Gd(a){a=a|0;var b=0;b=Bd(c[a+8>>2]|0,c[a+4>>2]|0)|0;if(b){if((Zd(b,a)|0)<0){Jd(b)|0;b=0}}else b=0;return b|0}function Hd(a){a=a|0;var b=0;b=Cd(c[a+8>>2]|0,c[a+4>>2]|0)|0;if(b){if((_d(b,a)|0)<0){Kd(b)|0;b=0}}else b=0;return b|0}function Id(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,h=0,i=0,j=0;h=c[a+4>>2]|0;a:do if((h|0)==(c[b+4>>2]|0)?(i=c[a+8>>2]|0,(i|0)==(c[b+8>>2]|0)):0){e=0;while(1){if((e|0)>=(h|0)){d=0;break a}f=B(e,i)|0;d=0;while(1){if((d|0)>=(i|0))break;j=d+f|0;g[(c[a>>2]|0)+(j<<3)>>3]=+g[(c[b>>2]|0)+(j<<3)>>3];d=d+1|0}e=e+1|0}}else d=-1;while(0);return d|0}function Jd(a){a=a|0;if(a|0){EO(c[a>>2]|0);EO(a)}return 0}function Kd(a){a=a|0;if(a|0){EO(c[a>>2]|0);EO(a)}return 0}function Ld(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,h=0,i=0.0,j=0,k=0,l=0,m=0,n=0,o=0,p=0.0;n=c[b+8>>2]|0;a:do if(((n|0)==(c[d+4>>2]|0)?(o=c[a+4>>2]|0,(o|0)==(c[b+4>>2]|0)):0)?(m=c[a+8>>2]|0,(m|0)==(c[d+8>>2]|0)):0){a=c[a>>2]|0;k=0;while(1){if((k|0)>=(o|0)){a=0;break a}l=B(k,n)|0;j=0;while(1){if((j|0)>=(m|0))break;g[a>>3]=0.0;e=(c[d>>2]|0)+(j<<3)|0;f=(c[b>>2]|0)+(l<<3)|0;h=0;i=0.0;while(1){if((h|0)>=(n|0))break;p=i+ +g[f>>3]*+g[e>>3];g[a>>3]=p;e=e+(m<<3)|0;f=f+8|0;h=h+1|0;i=p}j=j+1|0;a=a+8|0}k=k+1|0}}else a=-1;while(0);return a|0}function Md(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,g=0,h=0,i=0.0,j=0,k=0,l=0,m=0,n=0,o=0,p=0.0;n=c[b+8>>2]|0;a:do if(((n|0)==(c[d+4>>2]|0)?(o=c[a+4>>2]|0,(o|0)==(c[b+4>>2]|0)):0)?(m=c[a+8>>2]|0,(m|0)==(c[d+8>>2]|0)):0){a=c[a>>2]|0;k=0;while(1){if((k|0)>=(o|0)){a=0;break a}l=B(k,n)|0;j=0;while(1){if((j|0)>=(m|0))break;f[a>>2]=0.0;e=(c[d>>2]|0)+(j<<2)|0;g=(c[b>>2]|0)+(l<<2)|0;h=0;i=0.0;while(1){if((h|0)>=(n|0))break;p=i+ +f[g>>2]*+f[e>>2];f[a>>2]=p;e=e+(m<<2)|0;g=g+4|0;h=h+1|0;i=p}j=j+1|0;a=a+4|0}k=k+1|0}}else a=-1;while(0);return a|0}function Nd(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,h=0.0,i=0,j=0,k=0,l=0;i=c[a+4>>2]|0;j=c[a+8>>2]|0;f=(i|0)<(j|0)?i:j;a:do if(((((!((i|0)<2|(j|0)<2)?(c[b+8>>2]|0)==(j|0):0)?(c[b+4>>2]|0)==(f|0):0)?(k=d+4|0,(c[k>>2]|0)==(f|0)):0)?(c[e+4>>2]|0)==(j|0):0)?(l=Dd(a)|0,(l|0)!=0):0){h=+u(+(+(i|0)));if((Od(l,e)|0)<0){Jd(l)|0;a=-1;break}if((Pd(l,e)|0)<0){Jd(l)|0;a=-1;break}f=B(j,i)|0;a=0;while(1){if((a|0)>=(f|0))break;j=(c[l>>2]|0)+(a<<3)|0;g[j>>3]=+g[j>>3]/h;a=a+1|0}a=Qd(l,b,d)|0;Jd(l)|0;e=c[k>>2]|0;h=0.0;f=0;while(1){if((f|0)>=(e|0))break;h=h+ +g[(c[d>>2]|0)+(f<<3)>>3];f=f+1|0}f=0;while(1){if((f|0)>=(e|0))break a;l=(c[d>>2]|0)+(f<<3)|0;g[l>>3]=+g[l>>3]/h;f=f+1|0}}else a=-1;while(0);return a|0}function Od(a,b){a=a|0;b=b|0;var d=0,e=0.0,f=0,h=0,i=0,j=0,k=0;j=c[a+4>>2]|0;k=c[a+8>>2]|0;a:do if(!((j|0)<1|(k|0)<1)?(c[b+4>>2]|0)==(k|0):0){d=0;while(1){if((d|0)==(k|0))break;g[(c[b>>2]|0)+(d<<3)>>3]=0.0;d=d+1|0}a=c[a>>2]|0;h=0;while(1){if((h|0)==(j|0))break;d=0;f=c[b>>2]|0;i=a;while(1){if((d|0)==(k|0))break;g[f>>3]=+g[i>>3]+ +g[f>>3];d=d+1|0;f=f+8|0;i=i+8|0}a=a+(k<<3)|0;h=h+1|0}e=+(j|0);d=0;while(1){if((d|0)==(k|0)){d=0;break a}j=(c[b>>2]|0)+(d<<3)|0;g[j>>3]=+g[j>>3]/e;d=d+1|0}}else d=-1;while(0);return d|0}function Pd(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,h=0,i=0;h=c[a+4>>2]|0;i=c[a+8>>2]|0;a:do if((c[b+4>>2]|0)==(i|0)){f=0;a=c[a>>2]|0;while(1){if((f|0)>=(h|0)){a=0;break a}d=0;e=c[b>>2]|0;while(1){if((d|0)>=(i|0))break;g[a>>3]=+g[a>>3]-+g[e>>3];d=d+1|0;e=e+8|0;a=a+8|0}f=f+1|0}}else a=-1;while(0);return a|0}function Qd(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,h=0,i=0;e=c[a+4>>2]|0;f=c[a+8>>2]|0;i=(f|0)<(e|0)?f:e;a:do if(((!((e|0)<2|(f|0)<2)?(c[b+8>>2]|0)==(f|0):0)?(c[b+4>>2]|0)==(i|0):0)?(c[d+4>>2]|0)==(i|0):0){h=Bd(i,i)|0;if((c[h+4>>2]|0)==(i|0)?(c[h+8>>2]|0)==(i|0):0){e=(e|0)<(f|0);if(e){if((Rd(a,h)|0)<0){Jd(h)|0;e=-1;break}}else if((Sd(a,h)|0)<0){Jd(h)|0;e=-1;break}if((Td(h,d)|0)<0){Jd(h)|0;e=-1;break}b:do if(e){if((Ud(a,h,b,d)|0)<0){Jd(h)|0;e=-1;break a}}else{a=0;f=c[h>>2]|0;e=c[b>>2]|0;while(1){if((a|0)>=(i|0))break;if(+g[(c[d>>2]|0)+(a<<3)>>3]<1.0e-16)break;b=0;while(1){if((b|0)>=(i|0))break;g[e>>3]=+g[f>>3];b=b+1|0;f=f+8|0;e=e+8|0}a=a+1|0}while(1){if((a|0)>=(i|0))break b;g[(c[d>>2]|0)+(a<<3)>>3]=0.0;f=0;while(1){if((f|0)>=(i|0))break;g[e>>3]=0.0;f=f+1|0;e=e+8|0}a=a+1|0}}while(0);Jd(h)|0;e=0;break}Jd(h)|0;e=-1}else e=-1;while(0);return e|0}function Rd(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,h=0,i=0,j=0,k=0,l=0,m=0.0,n=0,o=0,p=0.0;n=c[a+4>>2]|0;o=c[a+8>>2]|0;a:do if((c[b+4>>2]|0)==(n|0)?(c[b+8>>2]|0)==(n|0):0){k=c[b>>2]|0;e=0;h=k;while(1){if((e|0)>=(n|0)){b=0;break a}l=B(e,o)|0;d=0;j=h;while(1){if((d|0)==(n|0))break;b:do if(d>>>0>>0)g[j>>3]=+g[k+((B(d,n)|0)+e<<3)>>3];else{f=c[a>>2]|0;i=f+((B(d,o)|0)<<3)|0;g[j>>3]=0.0;b=0;f=f+(l<<3)|0;m=0.0;while(1){if((b|0)>=(o|0))break b;p=m+ +g[f>>3]*+g[i>>3];g[j>>3]=p;b=b+1|0;f=f+8|0;i=i+8|0;m=p}}while(0);d=d+1|0;j=j+8|0}e=e+1|0;h=h+(n<<3)|0}}else b=-1;while(0);return b|0}function Sd(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,h=0,i=0,j=0,k=0,l=0.0,m=0,n=0,o=0.0;m=c[a+4>>2]|0;n=c[a+8>>2]|0;a:do if((c[b+4>>2]|0)==(n|0)?(c[b+8>>2]|0)==(n|0):0){k=c[b>>2]|0;e=0;h=k;while(1){if((e|0)>=(n|0)){b=0;break a}d=0;j=h;while(1){if((d|0)==(n|0))break;b:do if(d>>>0>>0)g[j>>3]=+g[k+((B(d,n)|0)+e<<3)>>3];else{i=c[a>>2]|0;g[j>>3]=0.0;b=0;f=i+(e<<3)|0;i=i+(d<<3)|0;l=0.0;while(1){if((b|0)>=(m|0))break b;o=l+ +g[f>>3]*+g[i>>3];g[j>>3]=o;b=b+1|0;f=f+(n<<3)|0;i=i+(n<<3)|0;l=o}}while(0);d=d+1|0;j=j+8|0}e=e+1|0;h=h+(n<<3)|0}}else b=-1;while(0);return b|0}function Td(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,h=0.0,i=0,j=0.0,k=0,l=0,m=0.0,n=0.0,o=0.0,p=0,q=0,r=0,s=0,v=0,w=0,x=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0.0,H=0.0,I=0.0,J=0,K=0;F=yb;yb=yb+16|0;d=F;E=c[a+4>>2]|0;do if((!((E|0)<2?1:(E|0)!=(c[a+8>>2]|0))?(c[b+4>>2]|0)==(E|0):0)?(C=oe(E)|0,(C|0)!=0):0){D=E+-1|0;c[d+4>>2]=D;c[d>>2]=(c[C>>2]|0)+8;if((se(a,b,d)|0)<0){pe(C)|0;d=-1;break}A=c[C>>2]|0;g[A>>3]=0.0;y=D;while(1){if((y|0)<=0)break;z=y;while(1){if((z|0)<=0)break;n=+t(+(+g[A+(z<<3)>>3]));x=c[b>>2]|0;d=z+-1|0;o=+t(+(+g[x+(d<<3)>>3]));if(n>(o+ +t(+(+g[x+(z<<3)>>3])))*1.0e-06)z=d;else break}q=y+-1|0;a:do if((z|0)!=(y|0)){r=A+(y<<3)|0;s=A+(z+1<<3)|0;p=0;do{if(p>>>0>99)break a;p=p+1|0;v=c[b>>2]|0;w=v+(q<<3)|0;x=v+(y<<3)|0;h=+g[x>>3];o=(+g[w>>3]-h)*.5;m=+g[r>>3];m=m*m;j=+u(+(m+o*o));l=z;n=+g[s>>3];j=+g[v+(z<<3)>>3]-h+m/(o+(o<0.0?-j:j));while(1){if((l|0)>=(y|0))break;h=+t(+j);if(h>=+t(+n))if(h>1.0e-16){h=-n/j;o=1.0/+u(+(h*h+1.0));m=o;o=h*o}else{m=1.0;o=0.0}else{m=-j/n;o=1.0/+u(+(m*m+1.0));m=m*o}f=v+(l<<3)|0;I=+g[f>>3];k=l+1|0;d=v+(k<<3)|0;H=+g[d>>3];h=I-H;i=A+(k<<3)|0;G=o*(o*h+m*2.0*+g[i>>3]);g[f>>3]=I-G;g[d>>3]=H+G;d=A+(l<<3)|0;if((l|0)>(z|0))g[d>>3]=m*+g[d>>3]-n*o;I=+g[i>>3];g[i>>3]=I+o*(m*h-o*2.0*I);e=B(l,E)|0;f=B(k,E)|0;d=0;h=n;while(1){if((d|0)==(E|0))break;J=c[a>>2]|0;K=J+(d+e<<3)|0;j=+g[K>>3];J=J+(d+f<<3)|0;h=+g[J>>3];g[K>>3]=m*j-o*h;g[J>>3]=o*j+m*h;d=d+1|0}if((l|0)<(q|0)){j=+g[i>>3];K=A+(l+2<<3)|0;h=+g[K>>3];g[K>>3]=m*h;h=-(o*h)}l=k;n=h}H=+t(+(+g[r>>3]));I=+t(+(+g[w>>3]))}while(H>(I+ +t(+(+g[x>>3])))*1.0e-06)}while(0);y=q}d=0;while(1){if((d|0)==(D|0))break;f=c[b>>2]|0;i=f+(d<<3)|0;j=+g[i>>3];l=d+1|0;h=j;k=d;e=l;while(1){if((e|0)>=(E|0))break;I=+g[f+(e<<3)>>3];K=I>h;h=K?I:h;k=K?e:k;e=e+1|0}g[f+(k<<3)>>3]=j;g[i>>3]=h;e=c[a>>2]|0;f=e+((B(d,E)|0)<<3)|0;d=e+((B(k,E)|0)<<3)|0;e=0;while(1){if((e|0)==(E|0))break;I=+g[d>>3];g[d>>3]=+g[f>>3];g[f>>3]=I;f=f+8|0;d=d+8|0;e=e+1|0}d=l}pe(C)|0;d=0}else d=-1;while(0);yb=F;return d|0}function Ud(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,h=0,i=0.0,j=0,k=0,l=0,m=0,n=0.0,o=0,p=0,q=0,r=0.0;p=c[a+4>>2]|0;q=c[a+8>>2]|0;a:do if(((((!((p|0)<1|(q|0)<1)?(c[b+4>>2]|0)==(p|0):0)?(c[b+8>>2]|0)==(p|0):0)?(c[d+4>>2]|0)==(p|0):0)?(c[d+8>>2]|0)==(q|0):0)?(c[e+4>>2]|0)==(p|0):0){h=0;d=c[d>>2]|0;while(1){if((h|0)>=(p|0))break;i=+g[(c[e>>2]|0)+(h<<3)>>3];if(i<1.0e-16)break;n=1.0/+u(+(+t(+i)));o=B(h,p)|0;j=0;m=d;while(1){if((j|0)==(q|0))break;f=0;k=(c[b>>2]|0)+(o<<3)|0;i=0.0;l=(c[a>>2]|0)+(j<<3)|0;while(1){if((f|0)==(p|0))break;r=i+ +g[k>>3]*+g[l>>3];f=f+1|0;k=k+8|0;i=r;l=l+(q<<3)|0}g[m>>3]=n*i;j=j+1|0;m=m+8|0}h=h+1|0;d=d+(q<<3)|0}while(1){if((h|0)>=(p|0)){d=0;break a}g[(c[e>>2]|0)+(h<<3)>>3]=0.0;f=0;while(1){if((f|0)>=(q|0))break;g[d>>3]=0.0;f=f+1|0;d=d+8|0}h=h+1|0}}else d=-1;while(0);return d|0}function Vd(a){a=a|0;var b=0;b=c[a+4>>2]|0;return ((Wd(c[a>>2]|0,b,b)|0)==0)<<31>>31|0}function Wd(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,h=0,i=0,j=0,k=0.0,l=0,m=0,n=0,o=0,p=0,q=0,r=0.0,s=0;q=yb;yb=yb+2e3|0;p=q;a:do if((b|0)>500)a=0;else{switch(b|0){case 0:{a=0;break a}case 1:{g[a>>3]=1.0/+g[a>>3];break a}default:{}}e=0;while(1){if((e|0)>=(b|0))break;c[p+(e<<2)>>2]=e;e=e+1|0}o=a+(b+-1<<3)|0;l=0;n=o;while(1){if((l|0)>=(b|0))break;m=a+((B(l,d)|0)<<3)|0;k=0.0;e=m;i=-1;f=l;while(1){if((f|0)==(b|0))break;r=+t(+(+g[e>>3]));j=k>2]|0;f=p+(l<<2)|0;c[e>>2]=c[f>>2];c[f>>2]=h;f=0;h=m;e=a+((B(i,d)|0)<<3)|0;while(1){if((f|0)==(b|0))break;r=+g[e>>3];g[e>>3]=+g[h>>3];g[h>>3]=r;f=f+1|0;h=h+8|0;e=e+8|0}k=+g[m>>3];e=1;f=m;while(1){if((e|0)==(b|0))break;j=f+8|0;g[f>>3]=+g[j>>3]/k;e=e+1|0;f=j}g[n>>3]=1.0/k;e=0;j=o;while(1){if((e|0)==(b|0))break;if((e|0)!=(l|0)){i=a+((B(e,d)|0)<<3)|0;k=+g[i>>3];f=m;h=1;while(1){if((h|0)==(b|0))break;s=i+8|0;g[i>>3]=+g[s>>3]-k*+g[f>>3];f=f+8|0;h=h+1|0;i=s}g[j>>3]=-(k*+g[n>>3])}e=e+1|0;j=j+(d<<3)|0}l=l+1|0;n=n+(d<<3)|0}j=0;while(1){if((j|0)>=(b|0))break a;i=j;while(1){e=p+(i<<2)|0;if((i|0)>=(b|0))break;if((c[e>>2]|0)==(j|0))break;i=i+1|0}c[e>>2]=c[p+(j<<2)>>2];f=0;h=a+(j<<3)|0;e=a+(i<<3)|0;while(1){if((f|0)>=(b|0))break;r=+g[e>>3];g[e>>3]=+g[h>>3];g[h>>3]=r;f=f+1|0;h=h+(d<<3)|0;e=e+(d<<3)|0}j=j+1|0}}while(0);yb=q;return a|0}function Xd(a){a=a|0;var b=0;b=c[a+4>>2]|0;return ((Yd(c[a>>2]|0,b,b)|0)==0)<<31>>31|0}function Yd(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,g=0,h=0,i=0,j=0,k=0.0,l=0,m=0,n=0,o=0,p=0,q=0,r=0.0,s=0;q=yb;yb=yb+2e3|0;p=q;a:do if((b|0)>500)a=0;else{switch(b|0){case 0:{a=0;break a}case 1:{f[a>>2]=1.0/+f[a>>2];break a}default:{}}e=0;while(1){if((e|0)>=(b|0))break;c[p+(e<<2)>>2]=e;e=e+1|0}o=a+(b+-1<<2)|0;l=0;n=o;while(1){if((l|0)>=(b|0))break;m=a+((B(l,d)|0)<<2)|0;k=0.0;e=m;i=-1;g=l;while(1){if((g|0)==(b|0))break;r=+t(+(+f[e>>2]));j=k>2]|0;g=p+(l<<2)|0;c[e>>2]=c[g>>2];c[g>>2]=h;g=0;h=m;e=a+((B(i,d)|0)<<2)|0;while(1){if((g|0)==(b|0))break;j=c[e>>2]|0;c[e>>2]=c[h>>2];c[h>>2]=j;g=g+1|0;h=h+4|0;e=e+4|0}k=+f[m>>2];e=1;g=m;while(1){if((e|0)==(b|0))break;j=g+4|0;f[g>>2]=+f[j>>2]/k;e=e+1|0;g=j}f[n>>2]=1.0/k;e=0;j=o;while(1){if((e|0)==(b|0))break;if((e|0)!=(l|0)){i=a+((B(e,d)|0)<<2)|0;k=+f[i>>2];g=m;h=1;while(1){if((h|0)==(b|0))break;s=i+4|0;f[i>>2]=+f[s>>2]-k*+f[g>>2];g=g+4|0;h=h+1|0;i=s}f[j>>2]=-(k*+f[n>>2])}e=e+1|0;j=j+(d<<2)|0}l=l+1|0;n=n+(d<<2)|0}j=0;while(1){if((j|0)>=(b|0))break a;i=j;while(1){e=p+(i<<2)|0;if((i|0)>=(b|0))break;if((c[e>>2]|0)==(j|0))break;i=i+1|0}c[e>>2]=c[p+(j<<2)>>2];g=0;h=a+(j<<2)|0;e=a+(i<<2)|0;while(1){if((g|0)>=(b|0))break;s=c[e>>2]|0;c[e>>2]=c[h>>2];c[h>>2]=s;g=g+1|0;h=h+(d<<2)|0;e=e+(d<<2)|0}j=j+1|0}}while(0);yb=q;return a|0}function Zd(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,h=0,i=0;h=c[a+4>>2]|0;a:do if((h|0)==(c[b+8>>2]|0)?(i=c[a+8>>2]|0,(i|0)==(c[b+4>>2]|0)):0){a=c[a>>2]|0;f=0;while(1){if((f|0)>=(h|0)){a=0;break a}d=(c[b>>2]|0)+(f<<3)|0;e=0;while(1){if((e|0)>=(i|0))break;g[a>>3]=+g[d>>3];d=d+(h<<3)|0;e=e+1|0;a=a+8|0}f=f+1|0}}else a=-1;while(0);return a|0}function _d(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;g=c[a+4>>2]|0;a:do if((g|0)==(c[b+8>>2]|0)?(h=c[a+8>>2]|0,(h|0)==(c[b+4>>2]|0)):0){a=c[a>>2]|0;f=0;while(1){if((f|0)>=(g|0)){a=0;break a}d=(c[b>>2]|0)+(f<<2)|0;e=0;while(1){if((e|0)>=(h|0))break;c[a>>2]=c[d>>2];d=d+(g<<2)|0;e=e+1|0;a=a+4|0}f=f+1|0}}else a=-1;while(0);return a|0}function $d(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0.0,h=0.0,i=0;h=+(b|0)/+(c[a>>2]|0);f=+(d|0)/+(c[a+4>>2]|0);c[e>>2]=b;c[e+4>>2]=d;b=0;while(1){if((b|0)==4)break;g[e+8+(b<<3)>>3]=h*+g[a+8+(b<<3)>>3];g[e+40+(b<<3)>>3]=f*+g[a+40+(b<<3)>>3];g[e+72+(b<<3)>>3]=+g[a+72+(b<<3)>>3];b=b+1|0}b=c[a+176>>2]|0;switch(b|0){case 4:{g[e+104>>3]=+g[a+104>>3];g[e+112>>3]=+g[a+112>>3];g[e+120>>3]=+g[a+120>>3];g[e+128>>3]=+g[a+128>>3];g[e+136>>3]=h*+g[a+136>>3];g[e+144>>3]=f*+g[a+144>>3];g[e+152>>3]=h*+g[a+152>>3];g[e+160>>3]=f*+g[a+160>>3];g[e+168>>3]=+g[a+168>>3];i=9;break}case 3:{g[e+104>>3]=h*+g[a+104>>3];g[e+112>>3]=f*+g[a+112>>3];g[e+120>>3]=+g[a+120>>3];g[e+128>>3]=+g[a+128>>3];g[e+136>>3]=+g[a+136>>3]/(h*f);g[e+144>>3]=+g[a+144>>3]/(f*(h*h*f));i=9;break}case 2:{g[e+104>>3]=h*+g[a+104>>3];g[e+112>>3]=f*+g[a+112>>3];g[e+120>>3]=+g[a+120>>3];g[e+128>>3]=+g[a+128>>3]/(h*f);g[e+136>>3]=+g[a+136>>3]/(f*(h*h*f));i=9;break}case 1:{g[e+104>>3]=h*+g[a+104>>3];g[e+112>>3]=f*+g[a+112>>3];g[e+120>>3]=+g[a+120>>3];g[e+128>>3]=+g[a+128>>3]/(h*f);i=9;break}default:b=-1}if((i|0)==9){c[e+176>>2]=b;b=0}return b|0}function ae(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,h=0,i=0.0,j=0.0,k=0,l=0,m=0,n=0.0,o=0.0,p=0,q=0,r=0.0,s=0,t=0,u=0,v=0,w=0.0;h=yb;yb=yb+96|0;f=h;a:do if(!(+g[a+88>>3]>=0.0)){d=0;while(1){if((d|0)==3)break a;e=0;while(1){if((e|0)==4)break;g[f+(d<<5)+(e<<3)>>3]=-+g[a+(d<<5)+(e<<3)>>3];e=e+1|0}d=d+1|0}}else{d=0;while(1){if((d|0)==3)break a;e=0;while(1){if((e|0)==4)break;g[f+(d<<5)+(e<<3)>>3]=+g[a+(d<<5)+(e<<3)>>3];e=e+1|0}d=d+1|0}}while(0);d=0;while(1){if((d|0)==3)break;e=0;while(1){if((e|0)==4)break;g[b+(d<<5)+(e<<3)>>3]=0.0;e=e+1|0}d=d+1|0}i=+g[f+64>>3];n=+g[f+72>>3];o=+g[f+80>>3];w=+be(i,n,o);a=b+80|0;g[a>>3]=w;w=i/w;u=c+64|0;g[u>>3]=w;n=n/+g[a>>3];s=c+72|0;g[s>>3]=n;o=o/+g[a>>3];p=c+80|0;g[p>>3]=o;m=c+88|0;g[m>>3]=+g[f+88>>3]/+g[a>>3];i=+g[f+32>>3];j=+g[f+40>>3];r=+g[f+48>>3];o=+ce(w,n,o,i,j,r);l=b+48|0;g[l>>3]=o;i=i-o*+g[u>>3];j=j-o*+g[s>>3];o=r-o*+g[p>>3];r=+be(i,j,o);k=b+40|0;g[k>>3]=r;v=c+32|0;g[v>>3]=i/r;t=c+40|0;g[t>>3]=j/+g[k>>3];q=c+48|0;g[q>>3]=o/+g[k>>3];o=+g[f>>3];j=+g[f+8>>3];r=+g[f+16>>3];i=+ce(+g[u>>3],+g[s>>3],+g[p>>3],o,j,r);d=b+16|0;g[d>>3]=i;n=+ce(+g[v>>3],+g[t>>3],+g[q>>3],o,j,r);e=b+8|0;g[e>>3]=n;o=o-n*+g[v>>3]-i*+g[u>>3];j=j-n*+g[t>>3]-i*+g[s>>3];i=r-n*+g[q>>3]-i*+g[p>>3];n=+be(o,j,i);g[b>>3]=n;g[c>>3]=o/n;g[c+8>>3]=j/+g[b>>3];g[c+16>>3]=i/+g[b>>3];i=+g[m>>3];j=(+g[f+56>>3]-+g[l>>3]*i)/+g[k>>3];g[c+56>>3]=j;g[c+24>>3]=(+g[f+24>>3]-j*+g[e>>3]-i*+g[d>>3])/+g[b>>3];d=0;while(1){if((d|0)==3)break;e=0;while(1){if((e|0)==3)break;v=b+(d<<5)+(e<<3)|0;g[v>>3]=+g[v>>3]/+g[a>>3];e=e+1|0}d=d+1|0}yb=h;return 0}function be(a,b,c){a=+a;b=+b;c=+c;return +(+u(+(a*a+b*b+c*c)))}function ce(a,b,c,d,e,f){a=+a;b=+b;c=+c;d=+d;e=+e;f=+f;return +(a*d+b*e+c*f)}function de(a,b,c,d,e,f){a=a|0;b=+b;c=+c;d=d|0;e=e|0;f=f|0;var h=0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0.0,A=0.0,B=0.0,C=0.0,D=0.0;switch(f|0){case 4:{t=+g[a>>3];v=+g[a+8>>3];r=+g[a+16>>3];s=+g[a+24>>3];x=+g[a+32>>3];y=+g[a+40>>3];z=+g[a+48>>3];A=+g[a+56>>3];w=+g[a+64>>3];q=(b-z)/x;l=(c-A)/y;m=r*2.0;n=s*6.0;o=s*2.0;p=r*6.0;i=q;j=l;k=q*q;b=l*l;f=1;while(1){if(!(b!=0.0|k!=0.0)){c=0.0;b=0.0;break}D=b+k;C=t*D+1.0+D*(v*D);c=k*3.0;B=b*c;c=i-(s*(D+k*2.0)+(j*(m*i)+i*C)-q)/(n*i+(m*j+(t*(b+c)+1.0+v*(b*b+(k*(k*5.0)+B)))));i=o*c;b=j-(r*(b*2.0+D)+j*C+j*i-l)/(p*j+(t*(k+b*3.0)+1.0+v*(b*(b*5.0)+(k*k+B)))+i);if((f|0)==4)break;i=c;j=b;k=c*c;b=b*b;f=f+1|0}g[d>>3]=z+x*c/w;b=A+y*b/w;h=22;break}case 3:{p=+g[a>>3];b=(b-p)/+g[a+24>>3];h=a+8|0;c=c-+g[h>>3];k=+g[a+32>>3]/1.0e8;l=+g[a+40>>3]/1.0e8/1.0e5;i=b*b+c*c;m=+u(+i);n=k*3.0;o=l*5.0;f=1;j=m;while(1){if(!(j!=0.0)){c=0.0;b=0.0;break}D=j-(j*(1.0-k*i-i*(l*i))-m)/(1.0-n*i-i*(o*i));b=b*D/j;c=c*D/j;if((f|0)==3)break;j=b*b+c*c;i=j;f=f+1|0;j=+u(+j)}a=a+16|0;g[d>>3]=p+b/+g[a>>3];b=c/+g[a>>3]+ +g[h>>3];h=22;break}case 2:{p=+g[a>>3];b=b-p;h=a+8|0;c=c-+g[h>>3];k=+g[a+24>>3]/1.0e8;l=+g[a+32>>3]/1.0e8/1.0e5;i=b*b+c*c;m=+u(+i);n=k*3.0;o=l*5.0;f=1;j=m;while(1){if(!(j!=0.0)){c=0.0;b=0.0;break}D=j-(j*(1.0-k*i-i*(l*i))-m)/(1.0-n*i-i*(o*i));b=b*D/j;c=c*D/j;if((f|0)==3)break;i=b*b+c*c;f=f+1|0;j=+u(+i)}a=a+16|0;g[d>>3]=p+b/+g[a>>3];b=c/+g[a>>3]+ +g[h>>3];h=22;break}case 1:{n=+g[a>>3];b=b-n;h=a+8|0;c=c-+g[h>>3];k=+g[a+24>>3]/1.0e8;i=b*b+c*c;l=+u(+i);m=k*3.0;f=1;j=l;while(1){if(!(j!=0.0)){c=0.0;b=0.0;break}D=j-(j*(1.0-k*i)-l)/(1.0-m*i);b=b*D/j;c=c*D/j;if((f|0)==3)break;i=b*b+c*c;f=f+1|0;j=+u(+i)}a=a+16|0;g[d>>3]=n+b/+g[a>>3];b=c/+g[a>>3]+ +g[h>>3];h=22;break}default:f=-1}if((h|0)==22){g[e>>3]=b;f=0}return f|0}function ee(a,b,c,d,e,f){a=a|0;b=+b;c=+c;d=d|0;e=e|0;f=f|0;var h=0.0,i=0.0,j=0,k=0.0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.0;a:do switch(f|0){case 4:{h=+g[a+16>>3];l=+g[a+24>>3];o=+g[a+32>>3];m=+g[a+40>>3];p=+g[a+48>>3];n=+g[a+56>>3];i=+g[a+64>>3];k=(b-p)*i/o;c=(c-n)*i/m;i=k*k+c*c;b=+g[a>>3]*i+1.0+i*(+g[a+8>>3]*i);g[d>>3]=p+o*(l*(i+k*(k*2.0))+(c*(h*2.0*k)+k*b));b=n+m*(c*(l*2.0*k)+(h*(i+c*(c*2.0))+c*b));j=12;break}case 3:{i=+g[a>>3];p=+g[a+16>>3];h=(b-i)*p;f=a+8|0;b=p*(c-+g[f>>3]);if(h==0.0&b==0.0){g[d>>3]=i;b=+g[f>>3];j=12;break a}else{p=h*h+b*b;p=1.0-p*(+g[a+32>>3]/1.0e8)-p*(p*(+g[a+40>>3]/1.0e8/1.0e5));g[d>>3]=i+ +g[a+24>>3]*(h*p);b=+g[f>>3]+b*p;j=12;break a}}case 2:{i=+g[a>>3];p=+g[a+16>>3];h=(b-i)*p;f=a+8|0;b=p*(c-+g[f>>3]);if(h==0.0&b==0.0){g[d>>3]=i;b=+g[f>>3];j=12;break a}else{p=h*h+b*b;p=1.0-p*(+g[a+24>>3]/1.0e8)-p*(p*(+g[a+32>>3]/1.0e8/1.0e5));g[d>>3]=i+h*p;b=+g[f>>3]+b*p;j=12;break a}}case 1:{i=+g[a>>3];p=+g[a+16>>3];h=(b-i)*p;f=a+8|0;b=p*(c-+g[f>>3]);if(h==0.0&b==0.0){g[d>>3]=i;b=+g[f>>3];j=12;break a}else{p=1.0-(h*h+b*b)*(+g[a+24>>3]/1.0e8);g[d>>3]=i+h*p;b=+g[f>>3]+b*p;j=12;break a}}default:f=-1}while(0);if((j|0)==12){g[e>>3]=b;f=0}return f|0}function fe(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;g=yb;yb=yb+192|0;f=g;ge(a,f);ge(a+4|0,f+4|0);b=0;while(1){if((b|0)==3)break;d=0;while(1){if((d|0)==4)break;he(a+8+(b<<5)+(d<<3)|0,f+8+(b<<5)+(d<<3)|0);d=d+1|0}b=b+1|0}d=a+176|0;b=0;while(1){e=c[d>>2]|0;if((b|0)>=(c[1712+(e+-1<<3)>>2]|0))break;he(a+104+(b<<3)|0,f+104+(b<<3)|0);b=b+1|0}c[f+176>>2]=e;YO(a|0,f|0,184)|0;yb=g;return}function ge(b,c){b=b|0;c=c|0;var d=0;d=0;while(1){if((d|0)==4)break;a[c+d>>0]=a[b+(3-d)>>0]|0;d=d+1|0}return}function he(b,c){b=b|0;c=c|0;var d=0;d=0;while(1){if((d|0)==8)break;a[c+d>>0]=a[b+(7-d)>>0]|0;d=d+1|0}return}function ie(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0.0;s=yb;yb=yb+256|0;n=s+248|0;l=s+240|0;k=s+232|0;j=s+224|0;i=s+216|0;h=s+208|0;f=s+200|0;p=s;q=s+16|0;do if((a|0)!=0&(b|0)>0&(d|0)!=0){r=pz(a,22236)|0;if(!r){c[f>>2]=c[(mx()|0)>>2];c[f+4>>2]=a;Se(0,3,20359,f);a=zy(c[(mx()|0)>>2]|0)|0;c[h>>2]=57671;c[h+4>>2]=a;Se(0,3,21881,h);a=-1;break}Iz(r,0,2)|0;a:do if(!(zz(r)|0)){h=fA(r)|0;gA(r);f=0;while(1){if(f>>>0>=4){o=9;break}a=c[1712+(f<<3)+4>>2]|0;f=f+1|0;if(!((h|0)%(a|0)|0)){m=f;break}}do if((o|0)==9)if((f|0)==4){Se(0,3,20473,k);a=-1;break a}else{m=0;a=c[1712+(0<<3)+4>>2]|0;break}while(0);if((eA(q,a,1,r)|0)!=1){c[l>>2]=c[(mx()|0)>>2];Se(0,3,20553,l);a=zy(c[(mx()|0)>>2]|0)|0;c[n>>2]=57671;c[n+4>>2]=a;Se(0,3,21881,n);a=-1;break}j=q+176|0;c[j>>2]=m;fe(q);k=(m|0)==1;l=q+120|0;if(k){t=+g[l>>3];i=q+128|0;g[l>>3]=+g[i>>3];g[i>>3]=t}else i=q+128|0;YO(d|0,q|0,184)|0;c[p>>2]=e;f=d+176|0;a=1;while(1){if((a|0)>=(b|0)){a=0;break a}e=(c[p>>2]|0)+(4-1)&~(4-1);h=c[e>>2]|0;c[p>>2]=e+4;c[h+176>>2]=c[f>>2];if((eA(q,c[1712+((c[f>>2]|0)+-1<<3)+4>>2]|0,1,r)|0)!=1){a=-1;break a}c[j>>2]=m;fe(q);if(k){t=+g[l>>3];g[l>>3]=+g[i>>3];g[i>>3]=t}YO(h|0,q|0,184)|0;a=a+1|0}}else{c[i>>2]=c[(mx()|0)>>2];Se(0,3,20428,i);a=zy(c[(mx()|0)>>2]|0)|0;c[j>>2]=57671;c[j+4>>2]=a;Se(0,3,21881,j);a=-1}while(0);vz(r)|0}else a=-1;while(0);yb=s;return a|0}function je(a,b,d,e){a=a|0;b=+b;d=+d;e=e|0;var f=0,h=0.0,i=0.0,j=0,k=0,l=0,m=0,n=0,o=0;o=yb;yb=yb+416|0;j=o+304|0;m=o+208|0;k=o+128|0;n=o;l=c[a>>2]|0;f=c[a+4>>2]|0;a:do if((ae(a+8|0,j,m)|0)<0)Se(0,3,20591,o+400|0);else{i=+(f+-1|0);a=0;while(1){if((a|0)==4)break;f=j+32+(a<<3)|0;g[f>>3]=+g[j+64+(a<<3)>>3]*i-+g[f>>3];a=a+1|0}h=+g[j+80>>3];f=0;while(1){if((f|0)==3)break;a=0;while(1){if((a|0)==3)break;g[k+(f*24|0)+(a<<3)>>3]=+g[j+(f<<5)+(a<<3)>>3]/h;a=a+1|0}f=f+1|0}h=+(l+-1|0);g[n>>3]=+g[k>>3]*2.0/h;g[n+8>>3]=+g[k+8>>3]*2.0/h;g[n+16>>3]=-(+g[k+16>>3]*2.0/h+-1.0);f=n+24|0;c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=0;c[f+12>>2]=0;g[n+40>>3]=-(+g[k+32>>3]*2.0/i);g[n+48>>3]=-(+g[k+40>>3]*2.0/i+-1.0);f=n+56|0;h=b-d;c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=0;c[f+12>>2]=0;c[f+16>>2]=0;c[f+20>>2]=0;g[n+80>>3]=(b+d)/h;g[n+88>>3]=d*2.0*b/h;f=n+96|0;c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=0;c[f+12>>2]=0;g[n+112>>3]=-1.0;g[n+120>>3]=0.0;h=+g[m+24>>3];i=+g[m+56>>3];b=+g[m+88>>3];f=0;while(1){if((f|0)==4)break a;d=+g[n+(f<<5)>>3];j=n+(f<<5)+8|0;k=n+(f<<5)+16|0;a=0;while(1){if((a|0)==3)break;g[e+((a<<2)+f<<3)>>3]=d*+g[m+(a<<3)>>3]+ +g[j>>3]*+g[m+32+(a<<3)>>3]+ +g[k>>3]*+g[m+64+(a<<3)>>3];a=a+1|0}g[e+(f+12<<3)>>3]=+g[n+(f<<5)+24>>3]+(d*h+ +g[j>>3]*i+ +g[k>>3]*b);f=f+1|0}}while(0);yb=o;return}function ke(a,b){a=a|0;b=b|0;var d=0,e=0,h=0.0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0.0;s=yb;yb=yb+64|0;n=s+24|0;o=s+16|0;p=s+8|0;q=s;r=DO(208)|0;if(!r){Se(0,3,41858,s+32|0);Ea(1)}YO(r|0,a|0,184)|0;m=b<<1;l=(c[a>>2]|0)+m|0;c[r+192>>2]=l;m=(c[a+4>>2]|0)+m|0;c[r+196>>2]=m;c[r+200>>2]=b;c[r+204>>2]=b;d=B(l<<3,m)|0;e=DO(d)|0;c[r+184>>2]=e;if(!e){Se(0,3,41858,s+40|0);Ea(1)}d=DO(d)|0;c[r+188>>2]=d;if(!d){Se(0,3,41858,s+48|0);Ea(1)}k=a+104|0;j=c[a+176>>2]|0;i=0;a=e;while(1){if((i|0)>=(m|0))break;h=+(i-b|0);e=0;while(1){if((e|0)>=(l|0))break;t=+(e-b|0);ee(k,t,h,p,q,j)|0;f[a>>2]=+g[p>>3];f[a+4>>2]=+g[q>>3];de(k,t,h,n,o,j)|0;f[d>>2]=+g[n>>3];f[d+4>>2]=+g[o>>3];e=e+1|0;d=d+8|0;a=a+8|0}i=i+1|0}yb=s;return r|0}function le(a){a=a|0;var b=0;if((a|0)!=0?(b=c[a>>2]|0,(b|0)!=0):0){EO(c[b+184>>2]|0);EO(c[(c[a>>2]|0)+188>>2]|0);EO(c[a>>2]|0);c[a>>2]=0;a=0}else a=-1;return a|0}function me(a,b,d,e,f){a=a|0;b=+b;d=+d;e=e|0;f=f|0;var g=0,h=0,i=0;h=(c[a+16>>2]|0)+~~(b+.5)|0;g=(c[a+20>>2]|0)+~~(d+.5)|0;if(((h|0)>=0?(i=c[a+8>>2]|0,!((g|0)<0|(h|0)>=(i|0))):0)?(g|0)<(c[a+12>>2]|0):0){g=(c[a>>2]|0)+((B(i,g)|0)+h<<1<<2)|0;c[e>>2]=c[g>>2];c[f>>2]=c[g+4>>2];g=0}else g=-1;return g|0}function ne(a,b,d,e,f){a=a|0;b=+b;d=+d;e=e|0;f=f|0;var g=0,h=0,i=0;h=(c[a+16>>2]|0)+~~(b+.5)|0;g=(c[a+20>>2]|0)+~~(d+.5)|0;if(((h|0)>=0?(i=c[a+8>>2]|0,!((g|0)<0|(h|0)>=(i|0))):0)?(g|0)<(c[a+12>>2]|0):0){g=(c[a+4>>2]|0)+((B(i,g)|0)+h<<1<<2)|0;c[e>>2]=c[g>>2];c[f>>2]=c[g+4>>2];g=0}else g=-1;return g|0}function oe(a){a=a|0;var b=0,d=0;b=DO(8)|0;do if(b){d=DO(a<<3)|0;c[b>>2]=d;if(!d){EO(b);b=0;break}else{c[b+4>>2]=a;break}}else b=0;while(0);return b|0}function pe(a){a=a|0;EO(c[a>>2]|0);EO(a);return 0}function qe(a){a=a|0;var b=0.0,d=0,e=0.0,f=0,h=0;b=+u(+(+re(a,a)));a:do if(b!=0.0){f=c[a>>2]|0;e=+g[f>>3];b=e<0.0?-b:b;e=e+b;g[f>>3]=e;e=1.0/+u(+(b*e));d=c[a+4>>2]|0;a=0;while(1){if((a|0)>=(d|0))break a;h=f+(a<<3)|0;g[h>>3]=e*+g[h>>3];a=a+1|0}}while(0);return +-b}function re(a,b){a=a|0;b=b|0;var d=0,e=0.0,f=0,h=0.0;f=c[a+4>>2]|0;if((f|0)!=(c[b+4>>2]|0))Ea(0);d=0;e=0.0;while(1){if((d|0)>=(f|0))break;h=e+ +g[(c[a>>2]|0)+(d<<3)>>3]*+g[(c[b>>2]|0)+(d<<3)>>3];d=d+1|0;e=h}return +e}function se(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,h=0,i=0.0,j=0,k=0,l=0,m=0,n=0.0,o=0.0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;x=yb;yb=yb+16|0;u=x+8|0;v=x;w=c[a+8>>2]|0;a:do if(((w|0)==(c[a+4>>2]|0)?(w|0)==(c[b+4>>2]|0):0)?(w|0)==((c[d+4>>2]|0)+1|0):0){r=w+-2|0;s=u+4|0;t=v+4|0;l=0;while(1){if((l|0)>=(r|0))break;m=(c[a>>2]|0)+((B(l,w)|0)<<3)|0;g[(c[b>>2]|0)+(l<<3)>>3]=+g[m+(l<<3)>>3];j=w-l+-1|0;c[s>>2]=j;p=l+1|0;k=m+(p<<3)|0;c[u>>2]=k;o=+qe(u);g[(c[d>>2]|0)+(l<<3)>>3]=o;b:do if(!(o==0.0)){h=p;while(1){if((h|0)>=(w|0))break;e=p;i=0.0;while(1){if(e>>>0>=h>>>0)break;o=+g[(c[a>>2]|0)+((B(e,w)|0)+h<<3)>>3];o=i+o*+g[m+(e<<3)>>3];e=e+1|0;i=o}f=B(h,w)|0;e=h;while(1){if((e|0)>=(w|0))break;o=i+ +g[(c[a>>2]|0)+(e+f<<3)>>3]*+g[m+(e<<3)>>3];e=e+1|0;i=o}g[(c[b>>2]|0)+(h<<3)>>3]=i;h=h+1|0}c[t>>2]=j;c[s>>2]=j;c[u>>2]=k;c[v>>2]=(c[b>>2]|0)+(p<<3);o=+re(u,v)*.5;e=w;while(1){e=e+-1|0;if((e|0)<=(l|0))break b;i=+g[m+(e<<3)>>3];h=c[b>>2]|0;j=h+(e<<3)|0;n=+g[j>>3]-o*i;g[j>>3]=n;j=B(e,w)|0;f=e;while(1){if((f|0)>=(w|0))break;k=(c[a>>2]|0)+(f+j<<3)|0;g[k>>3]=+g[k>>3]-(i*+g[h+(f<<3)>>3]+n*+g[m+(f<<3)>>3]);f=f+1|0}}}while(0);l=p}if((w|0)<=1)if((w|0)==1){h=0;e=c[a>>2]|0;f=c[b>>2]|0;q=27}else j=w;else{e=c[a>>2]|0;q=B(r,w)|0;f=c[b>>2]|0;g[f+(r<<3)>>3]=+g[e+(q+r<<3)>>3];h=w+-1|0;g[(c[d>>2]|0)+(r<<3)>>3]=+g[e+(h+q<<3)>>3];q=27}if((q|0)==27){j=w;i=+g[e+((B(h,w)|0)+h<<3)>>3];e=f+(h<<3)|0;q=28}while(1){if((q|0)==28)g[e>>3]=i;d=j+-1|0;if((j|0)<=0){e=0;break a}m=(c[a>>2]|0)+((B(d,w)|0)<<3)|0;c:do if((j|0)<=(r|0)){h=w-d+-1|0;k=m+(j<<3)|0;e=j;while(1){if((e|0)>=(w|0))break c;c[t>>2]=h;c[s>>2]=h;c[u>>2]=k;l=B(e,w)|0;c[v>>2]=(c[a>>2]|0)+(l+j<<3);i=+re(u,v);f=j;while(1){if((f|0)>=(w|0))break;q=(c[a>>2]|0)+(f+l<<3)|0;g[q>>3]=+g[q>>3]-i*+g[m+(f<<3)>>3];f=f+1|0}e=e+1|0}}while(0);e=0;while(1){if((e|0)>=(w|0))break;g[m+(e<<3)>>3]=0.0;e=e+1|0}j=d;i=1.0;e=m+(d<<3)|0;q=28}}else e=-1;while(0);yb=x;return e|0}function te(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0,e=0.0,f=0.0,h=0.0,i=0.0;f=+g[c>>3];h=+g[c+8>>3];e=+g[c+16>>3];d=+g[b+88>>3]+(f*+g[b+64>>3]+h*+g[b+72>>3]+e*+g[b+80>>3]);if(d==0.0)c=-1;else{i=+g[b+56>>3]+(f*+g[b+32>>3]+h*+g[b+40>>3]+e*+g[b+48>>3]);g[a>>3]=(+g[b+24>>3]+(f*+g[b>>3]+h*+g[b+8>>3]+e*+g[b+16>>3]))/d;g[a+8>>3]=i/d;c=0}return c|0}function ue(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0.0,f=0,h=0,i=0,j=0,k=0.0;j=yb;yb=yb+224|0;h=j+48|0;i=j;f=j+192|0;ve(h,f,c,d);a:do if((we(i,b,f)|0)<0){Se(0,3,20661,j+216|0);b=-1}else{c=0;while(1){if((c|0)==2){b=0;break a}d=0;while(1){if((d|0)==6)break;f=a+(c*48|0)+(d<<3)|0;g[f>>3]=0.0;b=0;e=0.0;while(1){if((b|0)==3)break;k=e+ +g[i+(c*24|0)+(b<<3)>>3]*+g[h+(b*48|0)+(d<<3)>>3];g[f>>3]=k;b=b+1|0;e=k}d=d+1|0}c=c+1|0}}while(0);yb=j;return b|0}function ve(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0.0,h=0,i=0,j=0,k=0.0,l=0.0,m=0.0,n=0.0,o=0.0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;j=yb;yb=yb+864|0;h=j+576|0;i=j;u=c+8|0;e=d+8|0;n=+g[e>>3];t=c+16|0;v=d+16|0;l=+g[v>>3];g[b>>3]=+g[c+24>>3]+(+g[c>>3]*+g[d>>3]+ +g[u>>3]*n+ +g[t>>3]*l);s=c+32|0;o=+g[d>>3];r=c+40|0;q=c+48|0;g[b+8>>3]=+g[c+56>>3]+(+g[s>>3]*o+n*+g[r>>3]+l*+g[q>>3]);p=c+64|0;d=c+72|0;n=+g[e>>3];e=c+80|0;g[b+16>>3]=+g[c+88>>3]+(o*+g[p>>3]+ +g[d>>3]*n+l*+g[e>>3]);l=+g[c>>3];g[h>>3]=o*l;g[h+8>>3]=n*l;m=+g[v>>3];g[h+16>>3]=l*m;k=+g[u>>3];g[h+24>>3]=o*k;g[h+32>>3]=n*k;g[h+40>>3]=m*k;f=+g[t>>3];g[h+48>>3]=o*f;g[h+56>>3]=n*f;g[h+64>>3]=m*f;g[h+72>>3]=l;g[h+80>>3]=k;g[h+88>>3]=f;f=+g[s>>3];g[h+96>>3]=o*f;g[h+104>>3]=n*f;g[h+112>>3]=m*f;k=+g[r>>3];g[h+120>>3]=o*k;g[h+128>>3]=n*k;g[h+136>>3]=m*k;l=+g[q>>3];g[h+144>>3]=o*l;g[h+152>>3]=n*l;g[h+160>>3]=m*l;g[h+168>>3]=f;g[h+176>>3]=k;g[h+184>>3]=l;l=+g[p>>3];g[h+192>>3]=o*l;g[h+200>>3]=n*l;g[h+208>>3]=m*l;k=+g[d>>3];g[h+216>>3]=o*k;g[h+224>>3]=n*k;g[h+232>>3]=m*k;f=+g[e>>3];g[h+240>>3]=o*f;g[h+248>>3]=n*f;g[h+256>>3]=m*f;g[h+264>>3]=l;g[h+272>>3]=k;g[h+280>>3]=f;xe(i);c=0;while(1){if((c|0)==3)break;d=0;while(1){if((d|0)==6)break;e=a+(c*48|0)+(d<<3)|0;g[e>>3]=0.0;b=0;f=0.0;while(1){if((b|0)==12)break;o=f+ +g[h+(c*96|0)+(b<<3)>>3]*+g[i+(b*48|0)+(d<<3)>>3];g[e>>3]=o;b=b+1|0;f=o}d=d+1|0}c=c+1|0}yb=j;return}function we(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0,e=0.0,f=0,h=0,i=0.0,j=0,k=0.0,l=0,m=0,n=0,o=0.0,p=0,q=0.0,r=0.0;o=+g[b>>3];r=+g[c>>3];p=b+8|0;q=+g[c+8>>3];n=b+16|0;d=+g[c+16>>3];e=+g[b+24>>3]+(o*r+ +g[p>>3]*q+ +g[n>>3]*d);c=b+32|0;f=b+40|0;h=b+48|0;i=+g[b+56>>3]+(r*+g[c>>3]+q*+g[f>>3]+d*+g[h>>3]);j=b+64|0;k=+g[j>>3];l=b+72|0;m=b+80|0;d=+g[b+88>>3]+(r*k+q*+g[l>>3]+d*+g[m>>3]);if(d==0.0)c=-1;else{r=d*d;g[a>>3]=(o*d-e*k)/r;g[a+8>>3]=(d*+g[p>>3]-e*+g[l>>3])/r;g[a+16>>3]=(d*+g[n>>3]-e*+g[m>>3])/r;g[a+24>>3]=(d*+g[c>>3]-i*+g[j>>3])/r;g[a+32>>3]=(d*+g[f>>3]-i*+g[l>>3])/r;g[a+40>>3]=(d*+g[h>>3]-i*+g[m>>3])/r;c=0}return c|0}function xe(a){a=a|0;var b=0,d=0,e=0;b=a+64|0;d=a;e=d+64|0;do{c[d>>2]=0;d=d+4|0}while((d|0)<(e|0));g[b>>3]=-1.0;b=a+72|0;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;c[b+12>>2]=0;c[b+16>>2]=0;c[b+20>>2]=0;c[b+24>>2]=0;c[b+28>>2]=0;g[a+104>>3]=1.0;b=a+160|0;d=a+112|0;e=d+48|0;do{c[d>>2]=0;d=d+4|0}while((d|0)<(e|0));g[b>>3]=1.0;b=a+240|0;d=a+168|0;e=d+72|0;do{c[d>>2]=0;d=d+4|0}while((d|0)<(e|0));g[b>>3]=-1.0;b=a+296|0;d=a+248|0;e=d+48|0;do{c[d>>2]=0;d=d+4|0}while((d|0)<(e|0));g[b>>3]=-1.0;b=a+304|0;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;c[b+12>>2]=0;c[b+16>>2]=0;c[b+20>>2]=0;c[b+24>>2]=0;c[b+28>>2]=0;g[a+336>>3]=1.0;b=a+456|0;d=a+344|0;e=d+112|0;do{c[d>>2]=0;d=d+4|0}while((d|0)<(e|0));g[b>>3]=1.0;b=a+512|0;d=a+464|0;e=d+48|0;do{c[d>>2]=0;d=d+4|0}while((d|0)<(e|0));g[b>>3]=1.0;b=a+568|0;d=a+520|0;e=d+48|0;do{c[d>>2]=0;d=d+4|0}while((d|0)<(e|0));g[b>>3]=1.0;return}function ye(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;i=yb;yb=yb+48|0;h=i+24|0;g=i+12|0;f=i;c[h+4>>2]=6;c[h+8>>2]=1;c[h>>2]=a;c[g+4>>2]=e;c[g+8>>2]=1;c[g>>2]=b;c[f+4>>2]=e;c[f+8>>2]=6;c[f>>2]=d;d=Gd(f)|0;do if(d){b=Ed(d,f)|0;if(!b){Jd(d)|0;a=-1;break}a=Ed(d,g)|0;if(!a){Jd(d)|0;Jd(b)|0;a=-1;break}if((Vd(b)|0)<0){Jd(d)|0;Jd(b)|0;Jd(a)|0;a=-1;break}else{Ld(h,b,a)|0;Jd(d)|0;Jd(b)|0;Jd(a)|0;a=0;break}}else a=-1;while(0);yb=i;return a|0}function ze(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,h=0,i=0,j=0;j=yb;yb=yb+256|0;f=j+192|0;h=j+96|0;i=j;Ae(f,b);Be(h,f);b=0;while(1){if((b|0)==3)break;d=a+(b<<5)|0;e=a+(b<<5)+8|0;f=a+(b<<5)+16|0;c=0;while(1){if((c|0)==4)break;g[i+(b<<5)+(c<<3)>>3]=+g[d>>3]*+g[h+(c<<3)>>3]+ +g[e>>3]*+g[h+32+(c<<3)>>3]+ +g[f>>3]*+g[h+64+(c<<3)>>3];c=c+1|0}f=i+(b<<5)+24|0;g[f>>3]=+g[a+(b<<5)+24>>3]+ +g[f>>3];b=b+1|0}b=0;while(1){if((b|0)==3)break;c=0;while(1){if((c|0)==4)break;g[a+(b<<5)+(c<<3)>>3]=+g[i+(b<<5)+(c<<3)>>3];c=c+1|0}b=b+1|0}yb=j;return 0}function Ae(a,b){a=a|0;b=b|0;var c=0.0,d=0.0,e=0,f=0,h=0.0;d=+g[b>>3];e=b+8|0;h=+g[e>>3];f=b+16|0;c=+g[f>>3];c=d*d+h*h+c*c;if(c==0.0){g[a>>3]=1.0;g[a+8>>3]=0.0;d=0.0;c=0.0}else{c=+u(+c);g[a>>3]=d/c;g[a+8>>3]=+g[e>>3]/c;d=c;c=+g[f>>3]/c}g[a+16>>3]=c;g[a+24>>3]=d;g[a+32>>3]=+g[b+24>>3];g[a+40>>3]=+g[b+32>>3];g[a+48>>3]=+g[b+40>>3];return}function Be(a,b){a=a|0;b=b|0;var c=0.0,d=0.0,e=0.0,f=0,h=0,i=0.0;c=+g[b+24>>3];e=+w(+c);d=1.0-e;c=+x(+c);i=+g[b>>3];g[a>>3]=e+i*i*d;h=b+8|0;f=b+16|0;g[a+8>>3]=d*(+g[b>>3]*+g[h>>3])-c*+g[f>>3];g[a+16>>3]=d*(+g[b>>3]*+g[f>>3])+c*+g[h>>3];g[a+24>>3]=+g[b+32>>3];g[a+32>>3]=d*(+g[h>>3]*+g[b>>3])+c*+g[f>>3];i=+g[h>>3];g[a+40>>3]=e+d*(i*i);g[a+48>>3]=d*(+g[h>>3]*+g[f>>3])-c*+g[b>>3];g[a+56>>3]=+g[b+40>>3];g[a+64>>3]=d*(+g[f>>3]*+g[b>>3])-c*+g[h>>3];g[a+72>>3]=d*(+g[f>>3]*+g[h>>3])+c*+g[b>>3];c=+g[f>>3];g[a+80>>3]=e+d*(c*c);g[a+88>>3]=+g[b+48>>3];return}function Ce(a){a=a|0;var b=0,d=0,e=0;b=DO(136)|0;if(!b)b=0;else{d=0;while(1){if((d|0)==3)break;e=0;while(1){if((e|0)==4)break;g[b+(d<<5)+(e<<3)>>3]=+g[a+(d<<5)+(e<<3)>>3];e=e+1|0}d=d+1|0}c[b+96>>2]=10;g[b+104>>3]=.10000000149011612;g[b+112>>3]=.9900000095367432;g[b+120>>3]=4.0;g[b+128>>3]=.5}return b|0}function De(a){a=a|0;var b=0;b=c[a>>2]|0;if(!b)a=-1;else{EO(b);c[a>>2]=0;a=0}return a|0}function Ee(a,b){a=a|0;b=+b;if(!a)a=-1;else{g[a+128>>3]=b;a=0}return a|0}function Fe(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var h=0,i=0,j=0,k=0.0,l=0.0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0.0,z=0.0;x=yb;yb=yb+176|0;j=x+168|0;i=x+160|0;s=x+144|0;t=x+48|0;u=x;v=b+8|0;h=c[v>>2]|0;do if((h|0)>=3){w=DO(h*96|0)|0;if(!w){Se(0,3,41875,i);h=-1;break}r=DO(h<<4)|0;if(!r){Se(0,3,41875,j);EO(w);h=-1;break}h=0;while(1){if((h|0)==3)break;i=0;while(1){if((i|0)==4)break;g[e+(h<<5)+(i<<3)>>3]=+g[d+(h<<5)+(i<<3)>>3];i=i+1|0}h=h+1|0}d=b+4|0;m=s+8|0;n=a+104|0;o=a+96|0;p=a+120|0;q=a+112|0;l=0.0;j=0;a:while(1){sd(a,e,t)|0;k=0.0;i=0;while(1){h=c[v>>2]|0;if((i|0)>=(h|0))break;if((te(s,t,(c[d>>2]|0)+(i*24|0)|0)|0)<0){i=16;break a}h=c[b>>2]|0;z=+g[h+(i<<4)>>3]-+g[s>>3];y=+g[h+(i<<4)+8>>3]-+g[m>>3];h=i<<1;g[r+(h<<3)>>3]=z;g[r+((h|1)<<3)>>3]=y;k=k+(z*z+y*y);i=i+1|0}k=k/+(h|0);if(k<+g[n>>3]){i=31;break}if((j|0?k<+g[p>>3]:0)?k/l>+g[q>>3]:0){i=31;break}if((j|0)==(c[o>>2]|0)){i=31;break}i=0;while(1){if((i|0)>=(h|0))break;if((ue(w+(i*12<<3)|0,a,e,(c[d>>2]|0)+(i*24|0)|0)|0)<0){i=27;break a}i=i+1|0;h=c[v>>2]|0}if((ye(u,r,w,h<<1)|0)<0){i=29;break}ze(e,u)|0;l=k;j=j+1|0}if((i|0)==16){Ge(w,r);h=-1;break}else if((i|0)==27){Ge(w,r);h=-1;break}else if((i|0)==29){Ge(w,r);h=-1;break}else if((i|0)==31){g[f>>3]=k;EO(w);EO(r);h=0;break}}else h=-1;while(0);yb=x;return h|0}function Ge(a,b){a=a|0;b=b|0;EO(a);EO(b);return}function He(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0;F=yb;yb=yb+192|0;l=F+184|0;k=F+176|0;j=F+168|0;h=F+160|0;A=F+144|0;B=F+48|0;C=F;D=b+8|0;i=c[D>>2]|0;do if((i|0)>=4){m=~~(+g[a+128>>3]*+(i|0))+-1|0;m=(m|0)>3?m:3;E=DO(i*96|0)|0;if(!E){Se(0,3,41875,h);h=-1;break}z=DO(i<<4)|0;if(!z){Se(0,3,41875,j);EO(E);h=-1;break}h=i<<3;y=DO(h)|0;if(!y){Se(0,3,41875,k);EO(E);EO(z);h=-1;break}x=DO(h)|0;if(!x){Se(0,3,41875,l);EO(E);EO(z);EO(y);h=-1;break}h=0;while(1){if((h|0)==3)break;i=0;while(1){if((i|0)==4)break;g[e+(h<<5)+(i<<3)>>3]=+g[d+(h<<5)+(i<<3)>>3];i=i+1|0}h=h+1|0}v=b+4|0;w=A+8|0;d=x+(m<<3)|0;m=a+104|0;s=a+96|0;t=a+120|0;u=a+112|0;q=0.0;l=0;a:while(1){sd(a,e,B)|0;h=0;while(1){i=c[D>>2]|0;if((h|0)>=(i|0))break;if((te(A,B,(c[v>>2]|0)+(h*24|0)|0)|0)<0){i=20;break a}k=c[b>>2]|0;p=+g[k+(h<<4)>>3]-+g[A>>3];r=+g[k+(h<<4)+8>>3]-+g[w>>3];k=h<<1;g[z+(k<<3)>>3]=p;g[z+((k|1)<<3)>>3]=r;r=p*p+r*r;g[x+(h<<3)>>3]=r;g[y+(h<<3)>>3]=r;h=h+1|0}my(x,i,8,18);r=+g[d>>3]*4.0;r=r<16.0?16.0:r;i=c[D>>2]|0;p=r/6.0;o=0.0;h=0;while(1){if((h|0)>=(i|0))break;n=+g[x+(h<<3)>>3];if(n>r)n=p;else{n=1.0-n/r;n=p*(1.0-n*(n*n))}o=o+n;h=h+1|0}o=o/+(i|0);if(o<+g[m>>3]){i=44;break}if((l|0?o<+g[t>>3]:0)?o/q>+g[u>>3]:0){i=44;break}if((l|0)==(c[s>>2]|0)){i=44;break}h=0;k=0;while(1){if((k|0)>=(i|0))break;n=+g[y+(k<<3)>>3];if(n<=r){j=h*6|0;i=E+(j<<3)|0;if((ue(i,a,e,(c[v>>2]|0)+(k*24|0)|0)|0)<0){i=36;break a}q=1.0-n/r;q=q*q;g[i>>3]=q*+g[i>>3];i=E+((j|1)<<3)|0;g[i>>3]=q*+g[i>>3];i=E+(j+2<<3)|0;g[i>>3]=q*+g[i>>3];i=E+(j+3<<3)|0;g[i>>3]=q*+g[i>>3];i=E+(j+4<<3)|0;g[i>>3]=q*+g[i>>3];i=E+(j+5<<3)|0;g[i>>3]=q*+g[i>>3];i=E+(j+6<<3)|0;g[i>>3]=q*+g[i>>3];i=E+(j+7<<3)|0;g[i>>3]=q*+g[i>>3];i=E+(j+8<<3)|0;g[i>>3]=q*+g[i>>3];i=E+(j+9<<3)|0;g[i>>3]=q*+g[i>>3];i=E+(j+10<<3)|0;g[i>>3]=q*+g[i>>3];i=E+(j+11<<3)|0;g[i>>3]=q*+g[i>>3];i=k<<1;g[z+(h<<3)>>3]=q*+g[z+(i<<3)>>3];g[z+(h+1<<3)>>3]=q*+g[z+((i|1)<<3)>>3];h=h+2|0;i=c[D>>2]|0}k=k+1|0}if((h|0)<6){i=40;break}if((ye(C,z,E,h)|0)<0){i=42;break}ze(e,C)|0;q=o;l=l+1|0}if((i|0)==20){Ie(E,z,y,x);h=-1;break}else if((i|0)==36){Ie(E,z,y,x);h=-1;break}else if((i|0)==40){Ie(E,z,y,x);h=-1;break}else if((i|0)==42){Ie(E,z,y,x);h=-1;break}else if((i|0)==44){g[f>>3]=o;EO(E);EO(z);EO(y);EO(x);h=0;break}}else h=-1;while(0);yb=F;return h|0}function Ie(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;EO(a);EO(b);EO(c);EO(d);return}function Je(a,b){a=a|0;b=b|0;var c=0.0;c=+g[a>>3]-+g[b>>3];return (c<0.0?-1:c>0.0&1)|0}function Ke(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,v=0,w=0,x=0,y=0,z=0.0,A=0.0,B=0.0,C=0.0,D=0.0,E=0.0,F=0.0,G=0.0,H=0.0,I=0.0,J=0.0,K=0.0,L=0.0,M=0.0,N=0.0,O=0.0;t=yb;yb=yb+128|0;s=t+120|0;p=t+112|0;o=t+104|0;m=t+96|0;l=t+88|0;j=t+80|0;i=t+72|0;r=t;a:do if((e|0)>=4){h=0;while(1){if((h|0)>=(e|0))break;if(+g[d+(h*24|0)+16>>3]!=0.0){h=-1;break a}else h=h+1|0}if((((((((!(+g[a>>3]==0.0)?!(+g[a+32>>3]!=0.0):0)?(q=a+40|0,!(+g[q>>3]==0.0)):0)?!(+g[a+64>>3]!=0.0):0)?!(+g[a+72>>3]!=0.0):0)?!(+g[a+80>>3]!=1.0):0)?!(+g[a+24>>3]!=0.0):0)?!(+g[a+56>>3]!=0.0):0)?!(+g[a+88>>3]!=0.0):0){h=e<<1;n=Bd(h,8)|0;if(!n){Se(0,3,20681,i);h=-1;break}k=Bd(h,1)|0;if(!k){Jd(n)|0;Se(0,3,20707,j);h=-1;break}h=0;while(1){if((h|0)==(e|0))break;y=d+(h*24|0)|0;j=c[n>>2]|0;i=h<<4;g[j+(i<<3)>>3]=+g[y>>3];x=d+(h*24|0)+8|0;g[j+((i|1)<<3)>>3]=+g[x>>3];g[j+((i|2)<<3)>>3]=1.0;g[j+((i|3)<<3)>>3]=0.0;g[j+((i|4)<<3)>>3]=0.0;g[j+((i|5)<<3)>>3]=0.0;w=b+(h<<4)|0;g[j+((i|6)<<3)>>3]=-(+g[y>>3]*+g[w>>3]);g[j+((i|7)<<3)>>3]=-(+g[x>>3]*+g[w>>3]);g[j+((i|8)<<3)>>3]=0.0;g[j+((i|9)<<3)>>3]=0.0;g[j+((i|10)<<3)>>3]=0.0;g[j+((i|11)<<3)>>3]=+g[y>>3];g[j+((i|12)<<3)>>3]=+g[x>>3];g[j+((i|13)<<3)>>3]=1.0;v=b+(h<<4)+8|0;g[j+((i|14)<<3)>>3]=-(+g[y>>3]*+g[v>>3]);g[j+((i|15)<<3)>>3]=-(+g[x>>3]*+g[v>>3]);i=c[k>>2]|0;j=h<<1;g[i+(j<<3)>>3]=+g[w>>3];g[i+((j|1)<<3)>>3]=+g[v>>3];h=h+1|0}b=Gd(n)|0;if(!b){Jd(n)|0;Jd(k)|0;Se(0,3,20733,l);h=-1;break}j=Ed(b,n)|0;if(!j){Jd(n)|0;Jd(k)|0;Jd(b)|0;Se(0,3,20759,m);h=-1;break}i=Ed(b,k)|0;if(!i){Jd(n)|0;Jd(k)|0;Jd(b)|0;Jd(j)|0;Se(0,3,20785,o);h=-1;break}if((Vd(j)|0)<0){Jd(n)|0;Jd(k)|0;Jd(b)|0;Jd(j)|0;Jd(i)|0;Se(0,3,20811,p);h=-1;break}h=Ed(j,i)|0;if(!h){Jd(n)|0;Jd(k)|0;Jd(b)|0;Jd(j)|0;Jd(i)|0;Se(0,3,20837,s);h=-1;break}else{p=c[h>>2]|0;H=+g[p+48>>3];w=r+16|0;E=+g[a+48>>3];A=+g[q>>3];K=(+g[p+24>>3]-H*E)/A;s=r+8|0;D=+g[a+16>>3];C=+g[a+8>>3];B=+g[a>>3];N=(+g[p>>3]-H*D-K*C)/B;I=+g[p+56>>3];v=r+40|0;L=(+g[p+32>>3]-E*I)/A;x=r+32|0;J=(+g[p+8>>3]-D*I-C*L)/B;y=r+24|0;A=(+g[p+40>>3]-E)/A;E=+g[p+16>>3];Jd(n)|0;Jd(k)|0;Jd(b)|0;Jd(j)|0;Jd(i)|0;Jd(h)|0;M=+u(+(H*H+(K*K+N*N)));z=+u(+(I*I+(L*L+J*J)));g[r>>3]=N/M;g[s>>3]=K/M;g[w>>3]=H/M;g[y>>3]=J/z;g[x>>3]=L/z;g[v>>3]=I/z;z=(M+z)*.5;Le(r);M=+g[s>>3];I=+g[v>>3];L=+g[w>>3];J=+g[x>>3];H=M*I-L*J;K=+g[y>>3];N=+g[r>>3];G=L*K-I*N;O=J*N-M*K;F=+u(+(O*O+(H*H+G*G)));H=H/F;g[r+48>>3]=H;G=G/F;g[r+56>>3]=G;F=O/F;g[r+64>>3]=F;g[f>>3]=N;g[f+32>>3]=M;g[f+64>>3]=L;g[f+8>>3]=K;g[f+40>>3]=J;g[f+72>>3]=I;g[f+16>>3]=H;g[f+48>>3]=G;g[f+80>>3]=F;g[f+24>>3]=(E-D-C*A)/B/z;g[f+56>>3]=A/z;g[f+88>>3]=1.0/z;h=0;break}}else h=-1}else h=-1;while(0);yb=t;return h|0}function Le(a){a=a|0;var b=0.0,c=0.0,d=0.0,e=0.0,f=0.0,h=0.0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0,n=0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0.0,A=0.0,B=0.0,C=0.0,D=0.0,E=0.0,F=0.0,G=0.0,H=0.0,I=0.0,J=0.0,K=0,L=0,M=0,N=0,O=0,P=0;l=+g[a>>3];L=a+8|0;o=+g[L>>3];M=a+16|0;p=+g[M>>3];N=a+24|0;B=+g[N>>3];O=a+32|0;C=+g[O>>3];K=a+40|0;f=+g[K>>3];b=o*f-p*C;c=p*B-l*f;d=l*C-o*B;e=+u(+(d*d+(b*b+c*c)));do if(!(e==0.0)){m=b/e;k=c/e;j=d/e;A=l*B+o*C+p*f;A=A<0.0?-A:A;A=(+u(+(A+1.0))+ +u(+(1.0-A)))*.5;d=l*k;b=o*m;c=d-b;if(c!=0.0){n=0;y=m;h=l;i=o;z=k;e=p}else{P=l*j-p*m!=0.0;i=P?p:o;h=P?l:p;z=P?j:k;y=P?m:j;d=h*z;c=i*y;n=P?1:2;b=c;c=d-c;e=P?o:l;j=P?k:m}if(!(c==0.0)?(t=(i*j-e*z)/c,v=A*z/c,x=b-d,w=(h*j-e*y)/x,x=A*y/x,r=t*t+w*w+1.0,s=t*v+w*x,q=s*s-r*(v*v+x*x+-1.0),!(q<0.0)):0){d=+u(+q);h=(d-s)/r;i=v+t*h;e=x+w*h;d=(-s-d)/r;c=v+t*d;b=x+w*d;switch(n&3){case 1:{t=b;s=d;q=c;r=e;p=h;o=i;l=y;m=j;b=z;break}case 2:{t=c;s=b;q=d;r=i;p=e;o=h;l=j;m=z;b=y;break}default:{t=d;s=b;q=c;r=h;p=e;o=i;l=y;m=z;b=j}}c=B*m;d=C*l;e=c-d;if(e!=0.0){n=0;h=l;i=B;j=C;k=m}else{P=B*b-f*l!=0.0;j=P?f:C;i=P?B:f;k=P?b:m;h=P?l:b;f=i*k;e=j*h;n=P?1:2;c=f;d=e;e=f-e;f=P?C:B;b=P?m:l}if(!(e==0.0)?(G=(j*b-f*k)/e,H=A*k/e,J=d-c,I=(i*b-f*h)/J,J=A*h/J,E=G*G+I*I+1.0,F=G*H+I*J,D=F*F-E*(H*H+J*J+-1.0),!(D<0.0)):0){j=+u(+D);h=(j-F)/E;d=H+G*h;i=J+I*h;j=(-F-j)/E;c=H+G*j;b=J+I*j;switch(n&3){case 1:{l=b;b=j;j=c;k=i;i=h;h=d;break}case 2:{l=c;k=d;break}default:{l=j;j=c;k=h;h=d}}f=o*h+p*i+r*k;f=f<0.0?-f:f;e=o*j+p*b+r*l;e=e<0.0?-e:e;d=q*h+s*i+t*k;d=d<0.0?-d:d;c=q*j+s*b+t*l;c=c<0.0?-c:c;if(f>3]=o;g[L>>3]=p;g[M>>3]=r;g[N>>3]=h;g[O>>3]=i;g[K>>3]=k;break}else{g[a>>3]=q;g[L>>3]=s;g[M>>3]=t;g[N>>3]=j;g[O>>3]=b;g[K>>3]=l;break}else{g[a>>3]=q;g[L>>3]=s;g[M>>3]=t;if(d>3]=h;g[O>>3]=i;g[K>>3]=k;break}else{g[N>>3]=j;g[O>>3]=b;g[K>>3]=l;break}}else if(e>3]=o;g[L>>3]=p;g[M>>3]=r;g[N>>3]=j;g[O>>3]=b;g[K>>3]=l;break}else{g[a>>3]=q;g[L>>3]=s;g[M>>3]=t;g[N>>3]=j;g[O>>3]=b;g[K>>3]=l;break}else{g[a>>3]=q;g[L>>3]=s;g[M>>3]=t;if(d>3]=h;g[O>>3]=i;g[K>>3]=k;break}else{g[N>>3]=j;g[O>>3]=b;g[K>>3]=l;break}}}}}while(0);return}function Me(a){a=a|0;EO(c[a>>2]|0);EO(a);return 0}function Ne(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return +(+Oe(a,b,c,d,0))}function Oe(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var h=0.0,i=0,j=0,k=0,l=0.0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;C=yb;yb=yb+208|0;w=C+200|0;v=C+192|0;y=C+96|0;x=C;z=e+4|0;i=c[z>>2]|0;u=e+112|0;p=e+120|0;o=0;while(1){if((o|0)>=(i|0))break;q=c[e>>2]|0;r=q+(o*320|0)|0;if(!(c[q+(o*320|0)+4>>2]|0)){j=-1;k=0;while(1){if((k|0)>=(d|0))break;if((c[b+(k<<8)+8>>2]|0)==(c[r>>2]|0)?(l=+g[b+(k<<8)+40>>3],!(l<+g[u>>3])):0)if(!((j|0)!=-1?!(+g[b+(j<<8)+40>>3]>2]=j;if((j|0)>-1)c[b+(j<<8)+16>>2]=c[b+(j<<8)+20>>2]}else{n=q+(o*320|0)+312|0;m=0;j=-1;while(1){if((m|0)>=(d|0))break;k=c[b+(m<<8)+12>>2]|0;if((k|0)==0?(t=b+(m<<8)+248|0,s=c[t>>2]|0,t=c[t+4>>2]|0,!((s|0)==0&(t|0)==0)):0){k=n;if((s|0)==(c[k>>2]|0)?(t|0)==(c[k+4>>2]|0):0)B=20}else if((k|0)==(c[r>>2]|0))B=20;if((B|0)==20){B=0;h=+g[b+(m<<8)+48>>3];if(!(h<+g[p>>3]))if(!((j|0)!=-1?!(+g[b+(j<<8)+48>>3]>2]=j;if((j|0)>-1)c[b+(j<<8)+16>>2]=c[b+(j<<8)+24>>2]}o=o+1|0}p=0;n=0;j=0;o=0;while(1){if((o|0)>=(i|0))break;i=c[e>>2]|0;k=c[i+(o*320|0)+304>>2]|0;do if((k|0)<0){k=p;i=n}else{m=b+(k<<8)|0;if(+Sc(a,m,+g[i+(o*320|0)+8>>3],x)>4.0){c[(c[e>>2]|0)+(o*320|0)+304>>2]=-1;i=b+(k<<8)+236|0;if(c[i>>2]|0){k=p;i=n;break}c[i>>2]=7;k=p;i=n;break}k=c[m>>2]|0;a:do if((p|0)==0|(n|0)<(k|0)){i=0;while(1){if((i|0)==3){i=k;j=o;break a}j=0;while(1){if((j|0)==4)break;g[y+(i<<5)+(j<<3)>>3]=+g[x+(i<<5)+(j<<3)>>3];j=j+1|0}i=i+1|0}}else i=n;while(0);k=p+1|0}while(0);p=k;n=i;o=o+1|0;i=c[z>>2]|0}b:do if((p|0)!=0?(p|0)>=(c[e+128>>2]|0):0){sd(y,(c[e>>2]|0)+(j*320|0)+112|0,x)|0;o=p<<2;q=DO(p<<6)|0;if(!q){Se(0,3,41858,v);Ea(1)}p=DO(p*96|0)|0;if(!p){Se(0,3,41858,w);Ea(1)}n=c[z>>2]|0;m=0;i=0;while(1){if((m|0)>=(n|0))break;j=c[e>>2]|0;k=c[j+(m*320|0)+304>>2]|0;if((k|0)>=0){v=c[b+(k<<8)+16>>2]|0;u=(4-v|0)%4|0;w=i<<3;g[q+(w<<3)>>3]=+g[b+(k<<8)+168+(u<<4)>>3];g[q+((w|1)<<3)>>3]=+g[b+(k<<8)+168+(u<<4)+8>>3];u=(5-v|0)%4|0;g[q+((w|2)<<3)>>3]=+g[b+(k<<8)+168+(u<<4)>>3];g[q+((w|3)<<3)>>3]=+g[b+(k<<8)+168+(u<<4)+8>>3];u=(6-v|0)%4|0;g[q+((w|4)<<3)>>3]=+g[b+(k<<8)+168+(u<<4)>>3];g[q+((w|5)<<3)>>3]=+g[b+(k<<8)+168+(u<<4)+8>>3];v=(7-v|0)%4|0;g[q+((w|6)<<3)>>3]=+g[b+(k<<8)+168+(v<<4)>>3];g[q+((w|7)<<3)>>3]=+g[b+(k<<8)+168+(v<<4)+8>>3];w=i*12|0;g[p+(w<<3)>>3]=+g[j+(m*320|0)+208>>3];g[p+((w|1)<<3)>>3]=+g[j+(m*320|0)+216>>3];g[p+((w|2)<<3)>>3]=+g[j+(m*320|0)+224>>3];g[p+((w|3)<<3)>>3]=+g[j+(m*320|0)+232>>3];g[p+(w+4<<3)>>3]=+g[j+(m*320|0)+240>>3];g[p+(w+5<<3)>>3]=+g[j+(m*320|0)+248>>3];g[p+(w+6<<3)>>3]=+g[j+(m*320|0)+256>>3];g[p+(w+7<<3)>>3]=+g[j+(m*320|0)+264>>3];g[p+(w+8<<3)>>3]=+g[j+(m*320|0)+272>>3];g[p+(w+9<<3)>>3]=+g[j+(m*320|0)+280>>3];g[p+(w+10<<3)>>3]=+g[j+(m*320|0)+288>>3];g[p+(w+11<<3)>>3]=+g[j+(m*320|0)+296>>3];i=i+1|0}m=m+1|0}m=e+104|0;j=(f|0)!=0;if(!(c[m>>2]|0)){i=e+8|0;h=+Uc(a,x,q,p,o,i);if(j&h>=20.0){Ee(c[a>>2]|0,.8)|0;h=+Vc(a,x,q,p,o,i);if(h>=20.0){Ee(c[a>>2]|0,.6)|0;h=+Vc(a,x,q,p,o,i);if(h>=20.0){Ee(c[a>>2]|0,.4)|0;h=+Vc(a,x,q,p,o,i);if(h>=20.0){Ee(c[a>>2]|0,0.0)|0;h=+Vc(a,x,q,p,o,i)}}}}EO(p);EO(q)}else{h=+Uc(a,x,q,p,o,y);k=e+8|0;l=+Uc(a,k,q,p,o,k);i=h>3]=+g[y+(j<<5)+(i<<3)>>3];i=i+1|0}j=j+1|0}}else h=l;while(0);if(h>=20.0){Ee(c[a>>2]|0,.8)|0;h=+Vc(a,x,q,p,o,y);l=+Vc(a,k,q,p,o,k);e:do if(h>3]=+g[y+(j<<5)+(i<<3)>>3];i=i+1|0}j=j+1|0}}else h=l;while(0);if(h>=20.0){Ee(c[a>>2]|0,.6)|0;h=+Vc(a,x,q,p,o,y);l=+Vc(a,k,q,p,o,k);f:do if(h>3]=+g[y+(j<<5)+(i<<3)>>3];i=i+1|0}j=j+1|0}}else h=l;while(0);if(h>=20.0){Ee(c[a>>2]|0,.4)|0;h=+Vc(a,x,q,p,o,y);l=+Vc(a,k,q,p,o,k);g:do if(h>3]=+g[y+(j<<5)+(i<<3)>>3];i=i+1|0}j=j+1|0}}else h=l;while(0);if(h>=20.0){Ee(c[a>>2]|0,0.0)|0;h=+Vc(a,x,q,p,o,y);l=+Vc(a,k,q,p,o,k);if(h>3]=+g[y+(j<<5)+(i<<3)>>3];i=i+1|0}j=j+1|0}}else h=l}}}}}else if(i){i=0;while(1){if((i|0)==3)break c;j=0;while(1){if((j|0)==4)break;g[e+8+(i<<5)+(j<<3)>>3]=+g[y+(i<<5)+(j<<3)>>3];j=j+1|0}i=i+1|0}}else h=l;while(0);EO(p);EO(q)}if(h<20.0){c[m>>2]=1;break}c[m>>2]=0;j=c[z>>2]|0;i=0;while(1){if((i|0)>=(j|0))break b;k=c[(c[e>>2]|0)+(i*320|0)+304>>2]|0;if((k|0)>=0?(A=b+(k<<8)+236|0,(c[A>>2]|0)==0):0)c[A>>2]=8;i=i+1|0}}else B=45;while(0);if((B|0)==45){c[e+104>>2]=0;h=-1.0}yb=C;return +h}function Pe(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return +(+Oe(a,b,c,d,1))}function Qe(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0.0,V=0.0;T=yb;yb=yb+2528|0;S=T+2512|0;Q=T+2504|0;G=T+2488|0;P=T+2480|0;F=T+2472|0;E=T+2456|0;O=T+2448|0;D=T+2440|0;N=T+2432|0;M=T+2424|0;L=T+2416|0;C=T+2408|0;h=T+2400|0;f=T+2392|0;H=T+2384|0;e=T+2376|0;d=T+2368|0;z=T+2304|0;I=T+2048|0;J=T;A=T+2524|0;R=T+2520|0;B=T+2516|0;K=pz(a,21853)|0;do if(!K){c[d>>2]=a;Se(0,3,20863,d);d=zy(c[(mx()|0)>>2]|0)|0;c[e>>2]=57671;c[e+4>>2]=d;Se(0,3,21881,e);d=0}else{Re(I,K);c[H>>2]=R;if((Az(I,21887,H)|0)!=1){c[f>>2]=a;Se(0,3,20916,f);vz(K)|0;d=0;break}d=c[R>>2]|0;y=DO(d*320|0)|0;if(!y){Se(0,3,41858,h);Ea(1)}p=(b|0)==0;q=z+8|0;r=z+16|0;s=z+24|0;t=z+32|0;u=z+40|0;v=z+48|0;w=z+56|0;x=0;f=0;a:while(1){if((x|0)>=(d|0)){d=31;break}Re(I,K);d=y+(x*320|0)|0;e=y+(x*320|0)+312|0;c[C>>2]=e;c[C+4>>2]=A;if((Az(I,21017,C)|0)!=1){if(p){d=11;break}if(!(yd(J,a,2048,1)|0)){d=13;break}qA(J,I,2047-(Oy(J)|0)|0)|0;o=qd(b,J)|0;c[d>>2]=o;if((o|0)<0){d=15;break}else{d=1;e=0}}else{e=c[e>>2]|0;c[d>>2]=(e&-32768|0)==0&0==0?e&32767:0;d=2;e=1}c[y+(x*320|0)+4>>2]=e;f=f|d;Re(I,K);e=y+(x*320|0)+8|0;c[D>>2]=e;if((Az(I,21313,D)|0)!=1){d=18;break}Re(I,K);m=y+(x*320|0)+16|0;n=y+(x*320|0)+24|0;o=y+(x*320|0)+40|0;c[E>>2]=m;c[E+4>>2]=n;c[E+8>>2]=y+(x*320|0)+32;c[E+12>>2]=o;if((Az(I,21422,E)|0)==4)d=1;else{c[F>>2]=H;c[F+4>>2]=B;if((Az(I,21438,F)|0)!=2){d=23;break}d=0}do{Re(I,K);c[G>>2]=y+(x*320|0)+16+(d<<5);c[G+4>>2]=y+(x*320|0)+16+(d<<5)+8;c[G+8>>2]=y+(x*320|0)+16+(d<<5)+16;c[G+12>>2]=y+(x*320|0)+16+(d<<5)+24;if((Az(I,21422,G)|0)!=4){d=25;break a}d=d+1|0}while(d>>>0<3);vd(m,y+(x*320|0)+112|0)|0;V=+g[e>>3];U=V*-.5;g[z>>3]=U;V=V*.5;g[q>>3]=V;g[r>>3]=V;g[s>>3]=V;g[t>>3]=V;g[u>>3]=U;g[v>>3]=U;g[w>>3]=U;e=y+(x*320|0)+48|0;h=y+(x*320|0)+56|0;i=y+(x*320|0)+72|0;j=y+(x*320|0)+80|0;k=y+(x*320|0)+88|0;l=y+(x*320|0)+104|0;d=0;while(1){if((d|0)==4)break;U=+g[z+(d<<4)>>3];V=+g[z+(d<<4)+8>>3];g[y+(x*320|0)+208+(d*24|0)>>3]=+g[o>>3]+(+g[m>>3]*U+ +g[n>>3]*V);g[y+(x*320|0)+208+(d*24|0)+8>>3]=+g[i>>3]+(U*+g[e>>3]+V*+g[h>>3]);g[y+(x*320|0)+208+(d*24|0)+16>>3]=+g[l>>3]+(U*+g[j>>3]+V*+g[k>>3]);d=d+1|0}x=x+1|0;d=c[R>>2]|0}if((d|0)==11){c[L>>2]=a;c[L+4>>2]=I;Se(0,3,21024,L)}else if((d|0)==13){c[M>>2]=a;Se(0,3,21152,M)}else if((d|0)==15){c[N>>2]=a;c[N+4>>2]=J;Se(0,3,21236,N)}else if((d|0)==18){c[O>>2]=a;c[O+4>>2]=x+1;Se(0,3,21317,O)}else if((d|0)==23){c[P>>2]=a;c[P+4>>2]=x+1;Se(0,3,21444,P)}else if((d|0)==25){c[Q>>2]=a;c[Q+4>>2]=x+1;Se(0,3,21444,Q)}else if((d|0)==31){vz(K)|0;d=DO(136)|0;if(!d){Se(0,3,41858,S);Ea(1)}c[d>>2]=y;c[d+4>>2]=c[R>>2];c[d+128>>2]=0;c[d+104>>2]=0;do if((f&3|0)!=3){e=d+108|0;if(!(f&1)){c[e>>2]=1;break}else{c[e>>2]=0;break}}else c[d+108>>2]=2;while(0);g[d+112>>3]=.5;g[d+120>>3]=.5;break}vz(K)|0;EO(y);d=0}while(0);yb=T;return d|0}function Re(b,c){b=b|0;c=c|0;var d=0,e=0;a:while(1){if(!(yz(b,256,c)|0))break;d=Oy(b)|0;b:while(1){if(!d)break;d=d+-1|0;e=b+d|0;switch(a[e>>0]|0){case 13:case 10:break;default:break b}a[e>>0]=0}switch(a[b>>0]|0){case 0:case 35:break;default:break a}}return}function Se(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0;g=yb;yb=yb+16|0;b=g;if((e|0)!=0&(c[3916]|0)<=(d|0)?a[e>>0]|0:0){c[b>>2]=f;Te(0,d,e,b)}yb=g;return}function Te(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0;l=yb;yb=yb+32|0;j=l+16|0;b=l;if((!((e|0)==0|(c[3916]|0)>(d|0))?a[e>>0]|0:0)?(c[b>>2]=c[f>>2],k=Hx(0,0,e,b)|0,k|0):0){if(d>>>0<4)b=(Oy(c[1744+(d<<2)>>2]|0)|0)+3|0;else b=0;g=b+k|0;h=g+1|0;i=DO(h)|0;if(b|0){c[j>>2]=c[1744+(d<<2)>>2];$y(i,b+1|0,21553,j)|0}Hx(i+b|0,k+1|0,e,f)|0;do if(0){if(0?(m=c[13864]|0,m>>>0<0):0){b=0+m|0;if(g>>>0>(-4-m+0|0)>>>0){a[b>>0]=46;a[b+1>>0]=46;a[b+2>>0]=46;a[b+3>>0]=0;c[13864]=0;break}else{Uz(b,i,h)|0;c[13864]=(c[13864]|0)+g;break}}}else iz(i,c[4001]|0)|0;while(0);EO(i)}yb=l;return}function Ue(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;do if(b){e=pz(b,22236)|0;if(e){Iz(e,0,2)|0;f=fA(e)|0;Iz(e,0,0)|0;g=f+1|0;b=DO(g)|0;if(!b){vz(e)|0;c[(mx()|0)>>2]=48;b=0;break}if(!(eA(b,f,1,e)|0)){EO(b);vz(e)|0;b=0;break}a[b+f>>0]=0;vz(e)|0;if(d)c[d>>2]=g}else b=0}else{c[(mx()|0)>>2]=28;b=0}while(0);return b|0}function Ve(a,b){a=a|0;b=+b;if(!a)a=-1;else{f[a+40>>2]=b;a=0}return a|0}function We(a,b){a=a|0;b=+b;if(!a)a=-1;else{f[a+44>>2]=b;a=0}return a|0}function Xe(a,b){a=a|0;b=b|0;if(!a)a=-1;else{c[a+24>>2]=b;a=0}return a|0}function Ye(a,b){a=a|0;b=b|0;b=(b|0)<40?b:40;if(!a)b=-1;else{c[a+36>>2]=(b|0)>3?b:3;b=0}return b|0}function Ze(a,b){a=a|0;b=b|0;if(!a)a=-1;else{c[a+28>>2]=b;a=0}return a|0}function _e(a,b){a=a|0;b=b|0;if(!a)a=-1;else{c[a+32>>2]=b;a=0}return a|0}function $e(b,e){b=b|0;e=+e;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0.0,C=0;z=yb;yb=yb+16|0;w=b+4|0;x=b+12|0;A=+f[x>>2];y=gz(+(c[w>>2]|0)*e/A)|0;t=b+8|0;u=gz(+(c[t>>2]|0)*e/A)|0;v=DO(16)|0;if(!v){Se(0,3,41858,z);Ea(1)}c[v+4>>2]=y;c[v+8>>2]=u;f[v+12>>2]=e;g=DO(B(u,y)|0)|0;c[v>>2]=g;if(!g){Se(0,3,41858,z+8|0);Ea(1)}h=0;while(1){if((h|0)>=(u|0))break;A=+f[x>>2];s=gz(A*+(h|0)/e)|0;h=h+1|0;r=gz(A*+(h|0)/e)|0;i=c[t>>2]|0;r=(r|0)>(i|0)?i:r;i=0;while(1){if((i|0)>=(y|0))break;A=+f[x>>2];q=gz(A*+(i|0)/e)|0;i=i+1|0;p=gz(A*+(i|0)/e)|0;o=c[w>>2]|0;p=(p|0)>(o|0)?o:p;j=0;k=0;l=s;while(1){if((l|0)>=(r|0))break;m=q;n=(c[b>>2]|0)+((B(l,o)|0)+q)|0;while(1){if((m|0)>=(p|0))break;C=j+(d[n>>0]|0)|0;m=m+1|0;n=n+1|0;j=C;k=k+1|0}l=l+1|0}a[g>>0]=(j|0)/(k|0)|0;g=g+1|0}}yb=z;return v|0}function af(a){a=a|0;var b=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;q=yb;yb=yb+96|0;m=q+72|0;l=q+64|0;k=q+56|0;j=q+48|0;i=q+40|0;h=q+32|0;g=q+24|0;e=q+16|0;b=q+8|0;n=q+80|0;d=DO((Oy(a)|0)+6|0)|0;if(!d){Se(0,3,41858,q);Ea(1)}c[b>>2]=a;c[b+4>>2]=21589;Fx(d,21584,b)|0;p=pz(d,22236)|0;EO(d);a:do if(!p){c[e>>2]=a;c[e+4>>2]=21589;Se(0,3,21595,e);b=0}else{b=DO(8)|0;if(!b){Se(0,3,41858,g);Ea(1)}d=b+4|0;if((eA(d,4,1,p)|0)==1?(o=c[d>>2]|0,(o|0)>=1):0){c[i>>2]=o;Se(0,1,21668,i);e=o<<2;g=DO(e)|0;c[b>>2]=g;if(!g){Se(0,3,41858,j);Ea(1)}j=DO(16)|0;c[g>>2]=j;if(!j){Se(0,3,41858,k);Ea(1)}d=df(p)|0;if(!d){c[l>>2]=a;c[l+4>>2]=21589;Se(0,2,21698,l);EO(c[g>>2]|0);EO(g);EO(b);gA(p);b=bf(p)|0;break}if((c[d+4>>2]|0)!=1){c[m>>2]=a;c[m+4>>2]=21589;Se(0,2,21698,m);EO(c[g>>2]|0);EO(g);EO(b);EO(d);vz(p)|0;b=0;break}m=c[g>>2]|0;c[m+4>>2]=c[d+8>>2];c[m+8>>2]=c[d+12>>2];c[m+12>>2]=c[d+16>>2];c[m>>2]=c[d>>2];EO(d);Iz(p,4-e|0,2)|0;e=1;while(1){if((e|0)>=(o|0)){d=29;break}if((eA(n,4,1,p)|0)!=1){d=21;break}m=$e(c[g>>2]|0,+f[n>>2])|0;c[g+(e<<2)>>2]=m;if(!m){d=25;break}e=e+1|0}b:do if((d|0)==21){d=0;while(1){if((d|0)==(e|0))break b;o=g+(d<<2)|0;EO(c[c[o>>2]>>2]|0);EO(c[o>>2]|0);d=d+1|0}}else if((d|0)==25){d=0;while(1){if((d|0)==(e|0))break b;o=g+(d<<2)|0;EO(c[c[o>>2]>>2]|0);EO(c[o>>2]|0);d=d+1|0}}else if((d|0)==29){vz(p)|0;break a}while(0);EO(g)}else Se(0,3,21643,h);EO(b);vz(p)|0;b=0}while(0);yb=q;return b|0}function bf(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;l=yb;yb=yb+48|0;h=l+32|0;g=l+24|0;f=l+16|0;e=l+8|0;b=DO(8)|0;if(!b){Se(0,3,41858,l);Ea(1)}d=b+4|0;a:do if((eA(d,4,1,a)|0)==1?(k=c[d>>2]|0,(k|0)>=1):0){j=DO(k<<2)|0;c[b>>2]=j;if(!j){Se(0,3,41858,f);Ea(1)}d=0;while(1){if((d|0)>=(k|0))break;f=DO(16)|0;c[j+(d<<2)>>2]=f;if(!f){i=12;break}else d=d+1|0}if((i|0)==12){Se(0,3,41858,g);Ea(1)}e=0;while(1){if((e|0)>=(k|0)){i=44;break}d=j+(e<<2)|0;if((eA((c[d>>2]|0)+4|0,4,1,a)|0)!=1){i=15;break}if((eA((c[d>>2]|0)+8|0,4,1,a)|0)!=1){i=22;break}if((eA((c[d>>2]|0)+12|0,4,1,a)|0)!=1){i=29;break}i=c[d>>2]|0;i=DO(B(c[i+8>>2]|0,c[i+4>>2]|0)|0)|0;c[c[d>>2]>>2]=i;if(!i){i=36;break}g=c[d>>2]|0;g=eA(c[g>>2]|0,1,B(c[g+8>>2]|0,c[g+4>>2]|0)|0,a)|0;i=c[d>>2]|0;e=e+1|0;if((g|0)!=(B(c[i+8>>2]|0,c[i+4>>2]|0)|0)){i=38;break}}b:do if((i|0)==15){d=0;while(1){if((d|0)==(e|0))break;EO(c[c[j+(d<<2)>>2]>>2]|0);d=d+1|0}d=0;while(1){if((d|0)==(k|0))break b;EO(c[j+(d<<2)>>2]|0);d=d+1|0}}else if((i|0)==22){d=0;while(1){if((d|0)==(e|0))break;EO(c[c[j+(d<<2)>>2]>>2]|0);d=d+1|0}d=0;while(1){if((d|0)==(k|0))break b;EO(c[j+(d<<2)>>2]|0);d=d+1|0}}else if((i|0)==29){d=0;while(1){if((d|0)==(e|0))break;EO(c[c[j+(d<<2)>>2]>>2]|0);d=d+1|0}d=0;while(1){if((d|0)==(k|0))break b;EO(c[j+(d<<2)>>2]|0);d=d+1|0}}else if((i|0)==36){Se(0,3,41858,h);Ea(1)}else if((i|0)==38){d=0;while(1){if((d|0)==(e|0))break;EO(c[c[j+(d<<2)>>2]>>2]|0);d=d+1|0}d=0;while(1){if((d|0)==(k|0))break b;EO(c[j+(d<<2)>>2]|0);d=d+1|0}}else if((i|0)==44){vz(a)|0;break a}while(0);EO(j);i=46}else i=5;while(0);if((i|0)==5){Se(0,3,21643,e);i=46}if((i|0)==46){EO(b);vz(a)|0;b=0}yb=l;return b|0}function cf(a){a=a|0;var b=0,d=0,e=0;if((a|0)!=0?(b=c[a>>2]|0,(b|0)!=0):0){e=0;while(1){d=c[b>>2]|0;if((e|0)>=(c[b+4>>2]|0))break;EO(c[c[d+(e<<2)>>2]>>2]|0);EO(c[(c[c[a>>2]>>2]|0)+(e<<2)>>2]|0);e=e+1|0;b=c[a>>2]|0}EO(d);EO(c[a>>2]|0);c[a>>2]=0;b=0}else b=-1;return b|0}function df(a){a=a|0;var b=0,d=0;d=yb;yb=yb+16|0;b=DO(20)|0;if(!b){Se(0,3,41858,d);Ea(1)}a=ef(a,b+8|0,b+12|0,b+4|0,b+16|0)|0;c[b>>2]=a;if(!a){EO(b);b=0}yb=d;return b|0}function ef(d,e,g,h,k){d=d|0;e=e|0;g=g|0;h=h|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,C=0,D=0,N=0;N=yb;yb=yb+832|0;z=N+528|0;y=N+520|0;x=N+512|0;A=4;D=DO(40)|0;c[D>>2]=0;C=N+24|0;n=N+536|0;w=N;_O(C|0,0,488)|0;i=0;o=G(63,n|0)|0;l=i;i=0;if((l|0)!=0&(j|0)!=0){m=WO(c[l>>2]|0,D|0,A|0)|0;if(!m)Qa(l|0,j|0);E(j|0)}else m=-1;l=F()|0;if((m|0)!=1){c[C>>2]=o;c[n>>2]=112;D=VO(n+132|0,1,D|0,A|0)|0;A=F()|0;i=0;l=i;i=0;if((l|0)!=0&(j|0)!=0){m=WO(c[l>>2]|0,D|0,A|0)|0;if(!m)Qa(l|0,j|0);E(j|0)}else m=-1;l=F()|0;if((m|0)==1)m=l;else m=0}else m=l;a:while(1){if(m|0){i=0;J(113,C|0);l=i;i=0;if((l|0)!=0&(j|0)!=0){m=WO(c[l>>2]|0,D|0,A|0)|0;if(!m)Qa(l|0,j|0);E(j|0)}else m=-1;l=F()|0;if((m|0)==1){m=l;continue}i=0;M(8,0,3,21756,x|0);l=i;i=0;if((l|0)!=0&(j|0)!=0){m=WO(c[l>>2]|0,D|0,A|0)|0;if(!m)Qa(l|0,j|0);E(j|0)}else m=-1;l=F()|0;if((m|0)==1){m=l;continue}else{m=7;break}}i=0;L(1,C|0,90,488);l=i;i=0;if((l|0)!=0&(j|0)!=0){m=WO(c[l>>2]|0,D|0,A|0)|0;if(!m)Qa(l|0,j|0);E(j|0)}else m=-1;l=F()|0;if((m|0)==1){m=l;continue}i=0;K(39,C|0,d|0);l=i;i=0;if((l|0)!=0&(j|0)!=0){m=WO(c[l>>2]|0,D|0,A|0)|0;if(!m)Qa(l|0,j|0);E(j|0)}else m=-1;l=F()|0;if((m|0)==1){m=l;continue}i=0;m=H(19,C|0,1)|0;l=i;i=0;if((l|0)!=0&(j|0)!=0){n=WO(c[l>>2]|0,D|0,A|0)|0;if(!n)Qa(l|0,j|0);E(j|0)}else n=-1;l=F()|0;if((n|0)==1){m=l;continue}if((m|0)!=1){i=0;M(8,0,3,21782,y|0);l=i;i=0;if((l|0)!=0&(j|0)!=0){m=WO(c[l>>2]|0,D|0,A|0)|0;if(!m)Qa(l|0,j|0);E(j|0)}else m=-1;l=F()|0;if((m|0)==1){m=l;continue}i=0;J(113,C|0);l=i;i=0;if((l|0)!=0&(j|0)!=0){m=WO(c[l>>2]|0,D|0,A|0)|0;if(!m)Qa(l|0,j|0);E(j|0)}else m=-1;l=F()|0;if((m|0)==1){m=l;continue}else{m=14;break}}i=0;G(64,C|0)|0;l=i;i=0;if((l|0)!=0&(j|0)!=0){m=WO(c[l>>2]|0,D|0,A|0)|0;if(!m)Qa(l|0,j|0);E(j|0)}else m=-1;l=F()|0;if((m|0)==1){m=l;continue}t=C+36|0;u=C+28|0;s=B(c[u>>2]|0,c[t>>2]|0)|0;v=C+32|0;l=B(s,c[v>>2]|0)|0;i=0;l=G(65,l|0)|0;m=i;i=0;if((m|0)!=0&(j|0)!=0){n=WO(c[m>>2]|0,D|0,A|0)|0;if(!n)Qa(m|0,j|0);E(j|0)}else n=-1;m=F()|0;if((n|0)==1)continue;if(!l){i=0;M(8,0,3,41858,z|0);l=i;i=0;if((l|0)!=0&(j|0)!=0){m=WO(c[l>>2]|0,D|0,A|0)|0;if(!m)Qa(l|0,j|0);E(j|0)}else m=-1;l=F()|0;if((m|0)==1){m=l;continue}i=0;J(113,C|0);l=i;i=0;if((l|0)!=0&(j|0)!=0){m=WO(c[l>>2]|0,D|0,A|0)|0;if(!m)Qa(l|0,j|0);E(j|0)}else m=-1;l=F()|0;if((m|0)==1){m=l;continue}else{m=20;break}}q=C+140|0;r=C+116|0;p=0;while(1){if((c[q>>2]|0)>>>0>=(c[r>>2]|0)>>>0)break;m=0;while(1){if((m|0)==5)break;c[w+(m<<2)>>2]=l+(B(m+p|0,s)|0);m=m+1|0}i=0;n=I(25,C|0,w|0,5)|0;m=i;i=0;if((m|0)!=0&(j|0)!=0){o=WO(c[m>>2]|0,D|0,A|0)|0;if(!o)Qa(m|0,j|0);E(j|0)}else o=-1;m=F()|0;if((o|0)==1)continue a;p=n+p|0}i=0;G(66,C|0)|0;m=i;i=0;if((m|0)!=0&(j|0)!=0){n=WO(c[m>>2]|0,D|0,A|0)|0;if(!n)Qa(m|0,j|0);E(j|0)}else n=-1;m=F()|0;if((n|0)==1)continue;i=0;J(113,C|0);m=i;i=0;if((m|0)!=0&(j|0)!=0){n=WO(c[m>>2]|0,D|0,A|0)|0;if(!n)Qa(m|0,j|0);E(j|0)}else n=-1;m=F()|0;if((n|0)!=1){m=30;break}}b:do if((m|0)==7)l=0;else if((m|0)==14)l=0;else if((m|0)==20)l=0;else if((m|0)==30){if(e|0)c[e>>2]=c[u>>2];if(g|0)c[g>>2]=c[v>>2];if(h|0)c[h>>2]=c[t>>2];if(k){m=a[C+290>>0]|0;switch(m<<24>>24){case 1:{m=b[C+292>>1]|0;if(m<<16>>16==(b[C+294>>1]|0)){f[k>>2]=+(m&65535);break b}break}case 2:{m=b[C+292>>1]|0;if(m<<16>>16==(b[C+294>>1]|0)){f[k>>2]=+(m&65535)*2.5399999618530273;break b}break}default:if(((m&255)>2?(b[C+292>>1]|0)==0:0)?(b[C+294>>1]|0)==0:0){f[k>>2]=+(m&255);break b}}f[k>>2]=0.0}}while(0);EO(D|0);yb=N;return l|0}function ff(a){a=a|0;Qa((c[a>>2]|0)+132|0,1)}function gf(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;o=yb;yb=yb+1088|0;m=o+1072|0;l=o+1064|0;n=o+1056|0;g=o+1048|0;f=o+1040|0;e=o+1032|0;h=o+1024|0;i=o+768|0;j=o+512|0;k=o;c[h>>2]=a;c[h+4>>2]=b;Fx(k,22627,h)|0;k=pz(k,21853)|0;if(!k)a=0;else{a=DO(8)|0;if(!a){Se(0,3,41858,e);Ea(1)}a:do if(hf(i,k)|0){h=a+4|0;c[f>>2]=h;if((Az(i,21887,f)|0)!=1){EO(a);a=0;break}b=c[h>>2]|0;if((b|0)<1){EO(a);a=0;break}f=DO(b*56|0)|0;c[a>>2]=f;if(!f){Se(0,3,41858,g);Ea(1)}f=0;b:while(1){if((f|0)>=(b|0))break a;if(!(hf(i,k)|0)){b=15;break}c[n>>2]=j;if((Az(i,21914,n)|0)!=1){b=17;break}g=qd(d,j)|0;e=c[a>>2]|0;c[e+(f*56|0)+4>>2]=g;if((g|0)<0){b=19;break}if(!(hf(i,k)|0)){b=21;break}c[l>>2]=(c[a>>2]|0)+(f*56|0);if((Az(i,21815,l)|0)!=1){b=24;break}b=0;while(1){if(b>>>0>=3)break;if(!(hf(i,k)|0)){b=27;break b}g=c[a>>2]|0;c[m>>2]=g+(f*56|0)+8+(b<<4);c[m+4>>2]=g+(f*56|0)+8+(b<<4)+4;c[m+8>>2]=g+(f*56|0)+8+(b<<4)+8;c[m+12>>2]=g+(f*56|0)+8+(b<<4)+12;if((Az(i,22080,m)|0)==4)b=b+1|0;else{b=29;break b}}f=f+1|0;b=c[h>>2]|0}if((b|0)==15){EO(c[a>>2]|0);EO(a);a=0;break}else if((b|0)==17){EO(c[a>>2]|0);EO(a);a=0;break}else if((b|0)==19){EO(e);EO(a);a=0;break}else if((b|0)==21){EO(c[a>>2]|0);EO(a);a=0;break}else if((b|0)==24){EO(c[a>>2]|0);EO(a);a=0;break}else if((b|0)==27){EO(c[a>>2]|0);EO(a);a=0;break}else if((b|0)==29){EO(c[a>>2]|0);EO(a);a=0;break}}else{EO(a);a=0}while(0);vz(k)|0}yb=o;return a|0}function hf(b,c){b=b|0;c=c|0;var d=0;a:while(1){d=yz(b,256,c)|0;if(!d){d=0;break}switch(a[b>>0]|0){case 35:case 10:break;default:break a}}return d|0}function jf(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;v=yb;yb=yb+640|0;s=v+624|0;r=v+616|0;q=v+608|0;p=v+600|0;o=v+592|0;n=v+584|0;m=v+576|0;l=v+568|0;k=v+560|0;j=v+552|0;g=v+544|0;f=v+536|0;e=v+528|0;d=v+520|0;i=v+512|0;t=v;c[i>>2]=a;c[i+4>>2]=b;Fx(t,22627,i)|0;t=pz(t,22236)|0;if(!t){c[d>>2]=a;Se(0,3,21818,d);b=0}else{b=DO(8)|0;if(!b){Se(0,3,41858,e);Ea(1)}a=b+4|0;a:do if((eA(a,4,1,t)|0)==1){h=c[a>>2]|0;i=DO(h*20|0)|0;c[b>>2]=i;if(!i){Se(0,3,41858,g);Ea(1)}g=0;b:while(1){if((g|0)>=(h|0))break a;if((eA(i+(g*20|0)+8|0,4,1,t)|0)!=1){u=12;break}if((eA(i+(g*20|0)+12|0,4,1,t)|0)!=1){u=15;break}if((eA(i+(g*20|0)+16|0,4,1,t)|0)!=1){u=17;break}e=i+(g*20|0)+4|0;if((eA(e,4,1,t)|0)!=1){u=19;break}a=c[e>>2]|0;d=DO(a*20|0)|0;f=i+(g*20|0)|0;c[f>>2]=d;if(!d){u=22;break}d=0;while(1){if((d|0)>=(a|0))break;if((eA((c[f>>2]|0)+(d*20|0)|0,4,1,t)|0)!=1){u=25;break b}if((eA((c[f>>2]|0)+(d*20|0)+4|0,4,1,t)|0)!=1){u=27;break b}if((eA((c[f>>2]|0)+(d*20|0)+8|0,4,1,t)|0)!=1){u=29;break b}if((eA((c[f>>2]|0)+(d*20|0)+12|0,4,1,t)|0)!=1){u=31;break b}if((eA((c[f>>2]|0)+(d*20|0)+16|0,4,1,t)|0)!=1){u=34;break b}d=d+1|0;a=c[e>>2]|0}g=g+1|0}switch(u|0){case 12:{Se(0,3,21839,j);break}case 15:{Se(0,3,21839,k);break}case 17:{Se(0,3,21839,l);break}case 19:{Se(0,3,21839,m);break}case 22:{Se(0,3,41858,n);Ea(1);break}case 25:{Se(0,3,21839,o);break}case 27:{Se(0,3,21839,p);break}case 29:{Se(0,3,21839,q);break}case 31:{Se(0,3,21839,r);break}case 34:{Se(0,3,21839,s);break}}a=0;while(1){if((a|0)==(g|0))break;EO(c[i+(a*20|0)>>2]|0);a=a+1|0}EO(i);u=39}else{Se(0,3,21839,f);u=39}while(0);if((u|0)==39){EO(b);b=0}vz(t)|0}yb=v;return b|0}function kf(a){a=a|0;var b=0,d=0,e=0;b=c[a>>2]|0;if(!b)b=-1;else{e=0;while(1){d=c[b>>2]|0;if((e|0)>=(c[b+4>>2]|0))break;EO(c[d+(e*20|0)>>2]|0);e=e+1|0;b=c[a>>2]|0}EO(d);EO(c[a>>2]|0);c[a>>2]=0;b=0}return b|0}function lf(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(!a)mf(0,b,c,d)|0;else mf(a,b,c,d)|0;return 0}function mf(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,g=0.0,h=0.0,i=0.0,j=0.0,k=0.0,l=0.0,m=0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0.0;m=yb;yb=yb+48|0;e=m;if(!a){t=+f[c>>2];w=+f[c+4>>2];s=+f[b>>2];o=t*s;v=+f[b+4>>2];n=w*v;p=+f[b+12>>2];i=+f[b+16>>2];q=t*i;g=+f[b+20>>2];k=w*g;r=+f[b+28>>2];z=+f[b+32>>2];x=t*z;h=+f[b+36>>2];j=w*h;y=+f[b+44>>2];l=y+(x+j);t=t+10.0;j=y+(t*z+j);w=w+10.0;h=y+(x+w*h);g=(r+(q+w*g))/h;h=(p+(o+w*v))/h;i=(r+(t*i+k))/j;j=(p+(t*s+n))/j;k=(r+(q+k))/l;l=(p+(o+n))/l}else{td(a+8|0,b,e)|0;s=+f[c>>2];q=+f[c+4>>2];t=+f[e>>2];y=s*t;r=+f[e+4>>2];z=q*r;x=+f[e+12>>2];i=+f[e+16>>2];w=s*i;g=+f[e+20>>2];k=q*g;v=+f[e+28>>2];n=+f[e+32>>2];p=s*n;h=+f[e+36>>2];j=q*h;o=+f[e+44>>2];l=o+(p+j);s=s+10.0;j=o+(s*n+j);q=q+10.0;h=o+(p+q*h);g=(v+(w+q*g))/h;h=(x+(y+q*r))/h;i=(v+(s*i+k))/j;j=(x+(s*t+z))/j;k=(v+(w+k))/l;l=(x+(y+z))/l}x=j-l;y=i-k;y=x*x+y*y;x=h-l;z=g-k;z=x*x+z*z;e=y>2]=+u(+(e?z:y))*2.5399999618530273;f[d+4>>2]=+u(+(e?y:z))*2.5399999618530273;yb=m;return 0}function nf(a,b,d,e,g,h){a=a|0;b=b|0;d=d|0;e=e|0;g=g|0;h=h|0;var 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,z=0,A=0,B=0.0,C=0,D=0,E=0,F=0,G=0;G=yb;yb=yb+32|0;l=G+20|0;j=G+16|0;i=G+12|0;k=G+8|0;C=G+4|0;D=G;a:do if((d|0)<0)d=-1;else switch(d|0){case 0:{q=+((g|0)/8|0|0);r=+((g*7|0)/8|0|0);s=+((h|0)/8|0|0);t=+((h*7|0)/8|0|0);p=+((g|0)/2|0|0);o=+((h|0)/2|0|0);m=0.0;i=0;d=-1;b:while(1){switch(c[a+(i*24|0)+12>>2]|0){case -1:break b;case 0:{n=+f[a+(i*24|0)+16>>2];if((!(nr)?(u=+f[a+(i*24|0)+20>>2],!(ut)):0)?(B=n-p,v=u-o,v=B*B+v*v,v>m):0){m=v;d=i}break}default:{}}i=i+1|0}if((d|0)==-1){d=-1;break a}c[a+(d*24|0)+12>>2]=1;break a}case 1:{r=+((g|0)/8|0|0);p=+((g*7|0)/8|0|0);q=+((h|0)/8|0|0);o=+((h*7|0)/8|0|0);g=e+4|0;d=-1;i=0;m=0.0;c:while(1){switch(c[a+(i*24|0)+12>>2]|0){case -1:break c;case 0:{n=+f[a+(i*24|0)+16>>2];if((!(np)?(s=+f[a+(i*24|0)+20>>2],!(so)):0)?(B=n-+f[e>>2],t=s-+f[g>>2],t=B*B+t*t,t>m):0){d=i;m=t}break}default:{}}i=i+1|0}if((d|0)==-1){d=-1;break a}c[a+(d*24|0)+12>>2]=1;break a}case 2:{r=+((g|0)/8|0|0);p=+((g*7|0)/8|0|0);q=+((h|0)/8|0|0);o=+((h*7|0)/8|0|0);g=e+12|0;j=e+4|0;k=e+8|0;d=-1;i=0;m=0.0;d:while(1){switch(c[a+(i*24|0)+12>>2]|0){case -1:break d;case 0:{n=+f[a+(i*24|0)+16>>2];if((!(np)?(x=+f[a+(i*24|0)+20>>2],!(xo)):0)?(w=+f[e>>2],B=+f[j>>2],w=(n-w)*(+f[g>>2]-B)-(x-B)*(+f[k>>2]-w),w=w*w,w>m):0){d=i;m=w}break}default:{}}i=i+1|0}if((d|0)==-1){d=-1;break a}c[a+(d*24|0)+12>>2]=1;break a}case 3:{of(e,e+8|0,l,j);of(e,e+16|0,i,k);B=+((g|0)/8|0|0);w=+((g*7|0)/8|0|0);x=+((h|0)/8|0|0);v=+((h*7|0)/8|0|0);z=e+24|0;A=e+28|0;u=+f[i>>2];t=+f[j>>2];m=u*t;s=+f[k>>2];r=+f[l>>2];q=s*r;h=!(m-q>=0.0);y=!(q-m>=0.0);l=h?2:1;b=h?1:2;d=-1;k=0;m=0.0;e:while(1){f:do switch(c[a+(k*24|0)+12>>2]|0){case -1:break e;case 0:{n=+f[a+(k*24|0)+16>>2];if(!(nw)?(E=a+(k*24|0)+20|0,q=+f[E>>2],!(qv)):0){f[z>>2]=n;c[A>>2]=c[E>>2];of(e,z,C,D);q=+f[C>>2];if(!h){n=+f[D>>2];if(!(t*q-r*n>=0.0))F=39;else{g=!(s*q-u*n>=0.0);i=g?2:3;g=g?3:2;j=1}}else{n=+f[D>>2];F=39}do if((F|0)==39){F=0;o=s*q;p=u*n;if(y|!(o-p>=0.0))if(p-o>=0.0?!(r*n-t*q>=0.0):1)break f;else{i=b;g=l;j=3;break}else{g=!(t*q-r*n>=0.0);i=g?1:3;g=g?3:1;j=2;break}}while(0);n=+pf(e,j,g,i);if(n>m){d=k;m=n}}break}default:{}}while(0);k=k+1|0}if((d|0)!=-1)c[a+(d*24|0)+12>>2]=1;break a}default:{l=0;g:while(1){d=b+(l*24|0)+12|0;h:do switch(c[d>>2]|0){case -1:break g;case 0:{c[d>>2]=1;i=b+(l*24|0)|0;g=b+(l*24|0)+4|0;j=b+(l*24|0)+8|0;d=0;while(1){k=a+(d*24|0)+12|0;switch(c[k>>2]|0){case -1:break h;case 0:{if(((c[i>>2]|0)==(c[a+(d*24|0)>>2]|0)?(c[g>>2]|0)==(c[a+(d*24|0)+4>>2]|0):0)?(c[j>>2]|0)==(c[a+(d*24|0)+8>>2]|0):0){F=55;break g}break}default:{}}d=d+1|0}}default:{}}while(0);l=l+1|0}if((F|0)==55){c[k>>2]=1;break a}c[b+12>>2]=-1;d=c[13865]|0;if(!d){Yz(Ta(0)|0);d=c[13865]|0}d=d+1|0;c[13865]=(d|0)==128?0:d;d=0;i=0;i:while(1){switch(c[a+(i*24|0)+12>>2]|0){case -1:break i;case 0:{d=d+1|0;break}default:{}}i=i+1|0}if(!d){d=-1;break a}k=~~(+(d|0)*+(Zz()|0)*4.656612873077393e-10);d=0;i=0;j:while(1){g=a+(d*24|0)+12|0;j=c[g>>2]|0;switch(j|0){case -1:{d=j;break a}case 0:{if((i|0)==(k|0))break j;i=i+1|0;break}default:{}}d=d+1|0}c[g>>2]=1;break a}}while(0);yb=G;return d|0}function of(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0.0,g=0.0;g=+f[b>>2]-+f[a>>2];e=+f[b+4>>2]-+f[a+4>>2];g=+u(+(g*g+e*e));if(!(g==0.0)){f[c>>2]=e/g;f[d>>2]=(+f[b>>2]-+f[a>>2])/g}return}function pf(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0.0;c=a+(c<<3)|0;e=+qf(a,a+(b<<3)|0,c);return +(e+ +qf(a,c,a+(d<<3)|0))}function qf(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0,e=0.0;d=+f[a>>2];e=+f[a+4>>2];d=((+f[b>>2]-d)*(+f[c+4>>2]-e)-(+f[b+4>>2]-e)*(+f[c>>2]-d))*.5;return +(d<0.0?-d:d)}function rf(b,d,e){b=b|0;d=d|0;e=e|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0;M=yb;yb=yb+1248|0;L=M+1232|0;K=M+1224|0;J=M+1208|0;I=M+1200|0;H=M+1184|0;G=M+1176|0;F=M+1160|0;E=M+1152|0;D=M+1144|0;C=M+1136|0;B=M+1128|0;A=M+1120|0;z=M+1112|0;y=M+1104|0;x=M+1096|0;w=M+1088|0;v=M+1080|0;u=M+1072|0;p=M+1064|0;l=M+1056|0;k=M+1048|0;j=M+1040|0;i=M+1032|0;h=M+1024|0;r=M+768|0;s=M+512|0;t=M+1236|0;g=M;do if(((d|0)!=0?(a[d>>0]|0)!=0:0)?(Dx(d,41063)|0)!=0:0){c[h>>2]=b;c[h+4>>2]=d;Fx(g,22627,h)|0;d=pz(g,21853)|0;if(!d){c[i>>2]=b;Se(0,3,21855,i);q=zy(c[(mx()|0)>>2]|0)|0;c[j>>2]=57671;c[j+4>>2]=q;Se(0,3,21881,j);q=0;break}else{n=d;d=1;m=8;break}}else m=4;while(0);if((m|0)==4){Uz(s,b,255)|0;a[s+255>>0]=0;n=0;d=0;m=8}do if((m|0)==8){o=DO(1140)|0;if(!o){Se(0,3,41858,k);Ea(1)}k=(d|0)!=0;if(k){if(!(sf(r,n)|0)){vz(n)|0;EO(o);q=0;break}c[l>>2]=t;if((Az(r,21887,l)|0)!=1){vz(n)|0;EO(o);q=0;break}d=c[t>>2]|0;if((d|0)<1){vz(n)|0;EO(o);q=0;break}}else d=1;c[o+4>>2]=d;c[o+152>>2]=0;j=DO(d*112|0)|0;c[o>>2]=j;if(!j){Se(0,3,41858,p);Ea(1)}i=(e|0)==0;g=0;a:while(1){c[t>>2]=g;if((g|0)>=(d|0)){m=57;break}c[u>>2]=g+1;Se(0,1,21890,u);if(k){if(!(sf(r,n)|0)){m=57;break}c[v>>2]=s;if((Az(r,21914,v)|0)!=1){m=57;break}Gf(s)|0}Se(0,1,21917,w);p=af(s)|0;c[j+((c[t>>2]|0)*112|0)>>2]=p;if(!p){m=26;break}Se(0,1,21966,y);Se(0,1,21976,z);p=jf(s,41063)|0;c[j+((c[t>>2]|0)*112|0)+4>>2]=p;if(!p){m=29;break}Se(0,1,21966,B);if(i)c[j+((c[t>>2]|0)*112|0)+8>>2]=0;else{Se(0,1,22027,C);Gf(s)|0;p=gf(s,22046,e)|0;c[j+((c[t>>2]|0)*112|0)+8>>2]=p;if(!p){m=33;break}Se(0,1,21966,E)}b:do if(k){if(!(sf(r,n)|0)){m=57;break a}p=c[t>>2]|0;c[F>>2]=j+(p*112|0)+12;c[F+4>>2]=j+(p*112|0)+16;c[F+8>>2]=j+(p*112|0)+20;c[F+12>>2]=j+(p*112|0)+24;if((Az(r,22080,F)|0)!=4){m=40;break a}if(!(sf(r,n)|0)){m=57;break a}p=c[t>>2]|0;c[H>>2]=j+(p*112|0)+28;c[H+4>>2]=j+(p*112|0)+32;c[H+8>>2]=j+(p*112|0)+36;c[H+12>>2]=j+(p*112|0)+40;if((Az(r,22080,H)|0)!=4){m=43;break a}if(!(sf(r,n)|0)){m=57;break a}p=c[t>>2]|0;c[J>>2]=j+(p*112|0)+44;c[J+4>>2]=j+(p*112|0)+48;c[J+8>>2]=j+(p*112|0)+52;c[J+12>>2]=j+(p*112|0)+56;if((Az(r,22080,J)|0)!=4){m=47;break a}g=c[t>>2]|0}else{g=c[t>>2]|0;b=0;while(1){if((b|0)==3)break b;h=0;while(1){if((h|0)==4)break;f[j+(g*112|0)+12+(b<<4)+(h<<2)>>2]=(b|0)==(h|0)?1.0:0.0;h=h+1|0}b=b+1|0}}while(0);wd(j+(g*112|0)+12|0,j+(g*112|0)+60|0)|0;Ff(s,256,22128)|0;g=DO(256)|0;c[j+((c[t>>2]|0)*112|0)+108>>2]=g;if(!g){m=55;break}Uz(g,s,256)|0;g=(c[t>>2]|0)+1|0}if((m|0)==26){c[x>>2]=s;Se(0,3,21935,x);EO(j);EO(o);if(!n){q=0;break}vz(n)|0;q=0;break}else if((m|0)==29){c[A>>2]=s;Se(0,3,21996,A);cf(j+((c[t>>2]|0)*112|0)|0)|0;EO(j);EO(o);if(!n){q=0;break}vz(n)|0;q=0;break}else if((m|0)==33){c[D>>2]=s;Se(0,3,22050,D);kf(j+((c[t>>2]|0)*112|0)+4|0)|0;cf(j+((c[t>>2]|0)*112|0)|0)|0;EO(j);EO(o);if(!n){q=0;break}vz(n)|0;q=0;break}else if((m|0)==40){Se(0,3,22092,G);vz(n)|0;Ea(0)}else if((m|0)==43){Se(0,3,22092,I);vz(n)|0;Ea(0)}else if((m|0)==47){Se(0,3,22092,K);vz(n)|0;Ea(0)}else if((m|0)==55){Se(0,3,41858,L);Ea(1)}else if((m|0)==57){if(n|0)vz(n)|0;if((c[t>>2]|0)>=(d|0)){q=o;break}Ea(0)}}while(0);yb=M;return q|0}function sf(b,c){b=b|0;c=c|0;var d=0;a:while(1){d=yz(b,256,c)|0;if(!d){d=0;break}switch(a[b>>0]|0){case 35:case 10:break;default:break a}}return d|0}function tf(a,b){a=a|0;b=b|0;var d=0,e=0;if(!a)d=-1;else{c[a+152>>2]=1;d=0;while(1){if((d|0)==3)break;e=0;while(1){if((e|0)==4)break;c[a+8+(d<<4)+(e<<2)>>2]=c[b+(d<<4)+(e<<2)>>2];e=e+1|0}d=d+1|0}c[a+168>>2]=-1;d=0}return d|0}function uf(b,e,g,h,i,j,k,l,m,n,o,p){b=b|0;e=e|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;var q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0;X=yb;yb=yb+80|0;F=X+8|0;E=X;M=X+72|0;P=X+60|0;R=X+48|0;D=X+36|0;S=X+32|0;T=X+24|0;U=X+16|0;V=j+16|0;A=c[V>>2]|0;W=j+20|0;x=c[W>>2]|0;y=g+-1|0;z=h+-1|0;w=0;while(1){if(w>>>0>=3)break;q=c[m+(w<<3)>>2]|0;if((q|0)<0)break;u=q&-4|2;q=((c[m+(w<<3)+4>>2]|0)/4|0)<<2|2;v=u-k|0;v=(v|0)>0?v:0;u=u+k|0;u=(u|0)<(g|0)?u:y;t=q-l|0;q=q+l|0;q=(q|0)<(h|0)?q:z;t=(t|0)>0?t:0;while(1){if((t|0)>(q|0))break;r=v;s=e+((B(t,g)|0)+v)|0;while(1){if((r|0)>(u|0))break;a[s>>0]=0;r=r+1|0;s=s+1|0}t=t+1|0}w=w+1|0}c[M>>2]=0;C=x<<1;z=A<<1;K=j+12|0;L=j+8|0;r=1;y=0;while(1){if(y>>>0>=3){J=28;break}q=c[m+(y<<3)>>2]|0;if((q|0)<0){J=14;break}x=q&-4|2;u=((c[m+(y<<3)+4>>2]|0)/4|0)<<2|2;v=u+l|0;w=x-k|0;x=x+k|0;q=r;u=u-l|0;a:while(1){if((u|0)>(v|0))break;b:do if((u|0)>=(z|0)){if((u+C|0)>=(h|0))break a;t=B(u,g)|0;s=w;while(1){if((s|0)>(x|0))break b;if((s|0)>=(c[L>>2]<<1|0)){if(((c[K>>2]<<1)+s|0)>=(g|0))break b;r=e+(s+t)|0;if(!(a[r>>0]|0)){a[r>>0]=1;vf(b,g,i,j,s,u,S);wf(s,u,c[S>>2]|0,M,P,R,D);q=0}}s=s+4|0}}while(0);u=u+4|0}r=q;y=y+1|0}if((J|0)==14)if(!r)J=28;else q=-1;if((J|0)==28){I=j+4|0;q=B((c[j>>2]<<3)+32|0,(c[I>>2]<<1)+8|0)|0;H=DO(q)|0;if(!H){Se(0,3,41858,E);Ea(1)}G=DO(q)|0;if(!G){Se(0,3,41858,F);Ea(1)}F=j+36|0;r=0;E=0;q=-1;while(1){if((E|0)>=(c[M>>2]|0))break;u=c[j>>2]|0;s=c[I>>2]|0;c:do if((c[F>>2]|0)==(B(s,u)|0)){switch(i|0){case 5:case 12:case 13:case 14:break;default:{J=40;break c}}l=R+(E<<2)|0;k=c[l>>2]|0;m=k+-3-(c[V>>2]<<1)|0;if((((m|0)>=0?(k+3+(c[W>>2]<<1)|0)<(h|0):0)?(N=P+(E<<2)|0,O=c[N>>2]|0,Q=O+-3-(c[L>>2]<<1)|0,(Q|0)>=0):0)?(O+3+(c[K>>2]<<1)|0)<(g|0):0){k=(s<<1)+6|0;t=(u<<2)+16|0;v=G;w=H;s=0;while(1){if((s|0)>=(t|0))break;c[w>>2]=0;c[v>>2]=0;v=v+4|0;w=w+4|0;s=s+1|0}D=(u<<1)+6|0;e=b+(Q+(B(m,g)|0))|0;z=G;A=H;s=w;C=0;while(1){if((C|0)>=(k|0))break;y=s+8|0;u=v;t=0;while(1){if((t|0)==2)break;c[s>>2]=0;c[u>>2]=0;c[T+(t<<2)>>2]=0;c[U+(t<<2)>>2]=0;u=u+4|0;s=s+4|0;t=t+1|0}x=e;u=z+8|0;w=A+8|0;v=v+8|0;s=y;t=0;while(1){if((t|0)>=(D|0))break;y=t&1;A=T+(y<<2)|0;z=(c[A>>2]|0)+(d[x>>0]|0)|0;c[A>>2]=z;A=d[x>>0]|0;A=B(A,A)|0;y=U+(y<<2)|0;A=A+(c[y>>2]|0)|0;c[y>>2]=A;c[s>>2]=(c[w>>2]|0)+z;c[v>>2]=(c[u>>2]|0)+A;x=x+1|0;u=u+4|0;w=w+4|0;v=v+4|0;s=s+4|0;t=t+1|0}e=e+g|0;z=u;A=w;C=C+1|0}u=0;while(1){if((u|0)==7)break c;v=u+m|0;w=u+2|0;x=u+-3|0;t=0;while(1){if((t|0)==7)break;xf(b,g,t+Q|0,v,j,H,G,t+2|0,w,S);s=c[S>>2]|0;if((s|0)>(r|0)){c[n>>2]=t+-3+(c[N>>2]|0);c[o>>2]=x+(c[l>>2]|0);f[p>>2]=+(s|0)/1.0e4;q=0;r=s}t=t+1|0}u=u+1|0}}else J=40}else J=40;while(0);d:do if((J|0)==40){J=0;v=c[R+(E<<2)>>2]|0;w=v+3|0;x=P+(E<<2)|0;v=v+-3|0;while(1){if((v|0)>(w|0))break d;e:do if((v|0)>=(c[V>>2]<<1|0)){if(((c[W>>2]<<1)+v|0)>=(h|0))break d;t=c[x>>2]|0;u=t+3|0;t=t+-3|0;while(1){if((t|0)>(u|0))break e;if((t|0)>=(c[L>>2]<<1|0)){if(((c[K>>2]<<1)+t|0)>=(g|0))break e;vf(b,g,i,j,t,v,S);s=c[S>>2]|0;if((s|0)>(r|0)){c[n>>2]=t;c[o>>2]=v;f[p>>2]=+(s|0)/1.0e4;r=s;q=0}}t=t+1|0}}while(0);v=v+1|0}}while(0);E=E+1|0}EO(H);EO(G)}yb=X;return q|0}function vf(a,e,f,g,h,i,j){a=a|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,v=0,w=0;l=c[g+24>>2]|0;a:do switch(f|0){case 5:case 12:case 13:case 14:{s=0-(c[g+8>>2]|0)|0;t=c[g+12>>2]|0;q=0-(c[g+16>>2]|0)|0;v=c[g+20>>2]|0;w=e<<1;m=l;p=a+((s<<1)+h+(B((q<<1)+i|0,e)|0))|0;l=0;f=0;k=0;while(1){if((q|0)>(v|0)){m=l;break a}r=s;n=m;o=p;while(1){if((r|0)>(t|0))break;m=b[n>>1]|0;if(m<<16>>16!=4096){i=d[o>>0]|0;l=l+i|0;f=(B(i,i)|0)+f|0;k=(B(i,m&65535)|0)+k|0}r=r+1|0;n=n+2|0;o=o+2|0}m=n;p=p+w|0;q=q+1|0}}default:{if(f>>>0<2){s=c[g+20>>2]|0;t=g+8|0;v=g+12|0;r=0-(c[g+16>>2]|0)|0;m=0;f=0;k=0;while(1){if((r|0)>(s|0))break a;w=(B((r<<1)+i|0,e)|0)+h|0;p=c[t>>2]|0;q=c[v>>2]|0;o=0-p|0;p=a+((w-(p<<1)|0)*3|0)|0;while(1){if((o|0)>(q|0))break;n=b[l>>1]|0;if(n<<16>>16!=4096){w=(((d[p+1>>0]|0)+(d[p>>0]|0)+(d[p+2>>0]|0)|0)>>>0)/3|0;m=w+m|0;f=(B(w,w)|0)+f|0;k=(B(w,n&65535)|0)+k|0}o=o+1|0;p=p+6|0;l=l+2|0}r=r+1|0}}if((f|1|0)==3){s=c[g+20>>2]|0;t=g+8|0;v=g+12|0;r=0-(c[g+16>>2]|0)|0;m=0;f=0;k=0;while(1){if((r|0)>(s|0))break a;w=(B((r<<1)+i|0,e)|0)+h|0;p=c[t>>2]|0;q=c[v>>2]|0;o=0-p|0;p=a+(w-(p<<1)<<2)|0;while(1){if((o|0)>(q|0))break;n=b[l>>1]|0;if(n<<16>>16!=4096){w=(((d[p+1>>0]|0)+(d[p>>0]|0)+(d[p+2>>0]|0)|0)>>>0)/3|0;m=w+m|0;f=(B(w,w)|0)+f|0;k=(B(w,n&65535)|0)+k|0}o=o+1|0;p=p+8|0;l=l+2|0}r=r+1|0}}if((f|2|0)==6){s=c[g+20>>2]|0;t=g+8|0;v=g+12|0;r=0-(c[g+16>>2]|0)|0;m=l;l=0;f=0;k=0;while(1){if((r|0)>(s|0)){m=l;break a}w=(B((r<<1)+i|0,e)|0)+h|0;p=c[t>>2]|0;q=c[v>>2]|0;o=0-p|0;p=a+(w-(p<<1)<<2)|0;while(1){if((o|0)>(q|0))break;n=b[m>>1]|0;if(n<<16>>16!=4096){w=(((d[p+2>>0]|0)+(d[p+1>>0]|0)+(d[p+3>>0]|0)|0)>>>0)/3|0;l=w+l|0;f=(B(w,w)|0)+f|0;k=(B(w,n&65535)|0)+k|0}o=o+1|0;p=p+8|0;m=m+2|0}r=r+1|0}}switch(f|0){case 7:{s=c[g+20>>2]|0;t=g+8|0;v=g+12|0;m=0;f=0;k=0;r=0-(c[g+16>>2]|0)|0;while(1){if((r|0)>(s|0))break a;w=(B((r<<1)+i|0,e)|0)+h|0;p=c[t>>2]|0;q=c[v>>2]|0;o=0-p|0;p=a+(w-(p<<1)<<1)|0;while(1){if((o|0)>(q|0))break;n=b[l>>1]|0;if(n<<16>>16!=4096){w=d[p+1>>0]|0;m=m+w|0;f=(B(w,w)|0)+f|0;k=(B(w,n&65535)|0)+k|0}o=o+1|0;p=p+4|0;l=l+2|0}r=r+1|0}}case 8:{s=c[g+20>>2]|0;t=g+8|0;v=g+12|0;m=0;f=0;k=0;q=0-(c[g+16>>2]|0)|0;while(1){if((q|0)>(s|0))break a;w=(B((q<<1)+i|0,e)|0)+h|0;p=c[t>>2]|0;r=c[v>>2]|0;o=0-p|0;p=a+(w-(p<<1)<<1)|0;while(1){if((o|0)>(r|0))break;n=b[l>>1]|0;if(n<<16>>16!=4096){w=d[p>>0]|0;m=m+w|0;f=(B(w,w)|0)+f|0;k=(B(w,n&65535)|0)+k|0}l=l+2|0;o=o+1|0;p=p+4|0}q=q+1|0}}default:{m=0;f=0;k=0;break a}}}}while(0);l=c[g+36>>2]|0;f=f-((B(m,m)|0)/(l|0)|0)|0;if(!f)f=0;else{i=(k-((B(c[g+32>>2]|0,m)|0)/(l|0)|0)|0)*100|0;f=(((i|0)/(c[g+28>>2]|0)|0)*100|0)/(~~+u(+(+(f|0)))|0)|0}c[j>>2]=f;return}function wf(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;i=c[e>>2]|0;do if(!i){c[f>>2]=a;c[g>>2]=b;c[h>>2]=d;c[e>>2]=1}else{j=0;while(1){if((j|0)>=(i|0))break;if((c[h+(j<<2)>>2]|0)<(d|0))break;j=j+1|0}if((j|0)==(i|0)){if(i>>>0>=3)break;c[f+(i<<2)>>2]=a;c[g+(i<<2)>>2]=b;c[h+(i<<2)>>2]=d;c[e>>2]=(c[e>>2]|0)+1;break}if((i|0)==3)i=2;else c[e>>2]=i+1;while(1){if((i|0)<=(j|0))break;e=i+-1|0;c[f+(i<<2)>>2]=c[f+(e<<2)>>2];c[g+(i<<2)>>2]=c[g+(e<<2)>>2];c[h+(i<<2)>>2]=c[h+(e<<2)>>2];i=e}c[f+(i<<2)>>2]=a;c[g+(i<<2)>>2]=b;c[h+(i<<2)>>2]=d}while(0);return}function xf(a,b,f,g,h,i,j,k,l,m){a=a|0;b=b|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;var n=0,o=0,p=0,q=0,r=0,s=0;o=a+((B(g,b)|0)+f)|0;r=c[h+4>>2]|0;p=b<<1;q=c[h>>2]|0;b=0;a=c[h+24>>2]|0;s=0;while(1){if((b|0)>=(r|0))break;n=0;f=o;g=s;while(1){if((n|0)>=(q|0))break;s=(B(e[a>>1]|0,d[f>>0]|0)|0)+g|0;n=n+1|0;a=a+2|0;f=f+2|0;g=s}b=b+1|0;o=o+p|0;s=g}a=q<<1;q=a+8|0;g=k+-2|0;a=g+a|0;f=l+-2|0;l=B(q,f+(r<<1)|0)|0;f=B(q,f)|0;k=l+a|0;r=f+g|0;l=l+g|0;a=f+a|0;f=(c[i+(r<<2)>>2]|0)+(c[i+(k<<2)>>2]|0)-(c[i+(l<<2)>>2]|0)-(c[i+(a<<2)>>2]|0)|0;g=c[h+36>>2]|0;a=(c[j+(r<<2)>>2]|0)+(c[j+(k<<2)>>2]|0)-(c[j+(l<<2)>>2]|0)-(c[j+(a<<2)>>2]|0)-((B(f,f)|0)/(g|0)|0)|0;if(!a)a=0;else{j=(s-((B(c[h+32>>2]|0,f)|0)/(g|0)|0)|0)*100|0;a=(((j|0)/(c[h+28>>2]|0)|0)*100|0)/(~~+u(+(+(a|0)))|0)|0}c[m>>2]=a;return}function yf(a,b){a=a|0;b=b|0;var d=0,e=0;e=yb;yb=yb+16|0;d=DO(40)|0;if(!d){Se(0,3,41858,e);Ea(1)}c[d+16>>2]=a;c[d+8>>2]=a;c[d+20>>2]=b;c[d+12>>2]=b;b=a+1+b|0;c[d>>2]=b;c[d+4>>2]=b;b=DO(B(b<<1,b)|0)|0;c[d+24>>2]=b;if(!b){Se(0,3,41858,e+8|0);Ea(1)}else{yb=e;return d|0}return 0}function zf(d,e,g,i,j,k){d=d|0;e=e|0;g=g|0;i=i|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0.0,q=0,r=0,s=0,t=0,v=0,w=0,x=0,y=0,z=0,A=0,C=0,D=0;D=yb;yb=yb+80|0;l=D+60|0;m=D+56|0;z=D+52|0;A=D+48|0;x=D;C=D+64|0;a:do if(!d){x=c[i>>2]|0;y=c[x+(j*20|0)+8>>2]|0;c[l>>2]=y;p=+f[x+(j*20|0)+12>>2];f[m>>2]=p;if((Cf(0,e,(c[h>>2]=y,+f[h>>2]),p,z,A)|0)<0)d=-1;else{s=~~(+f[z>>2]+.5);l=c[k+16>>2]|0;t=k+20|0;v=k+8|0;w=k+12|0;r=i+8|0;q=0-l|0;i=~~(+f[A>>2]+.5)-(l<<1)|0;l=0;j=0;d=0;m=c[k+24>>2]|0;while(1){if((q|0)>(c[t>>2]|0)){n=25;break a}o=c[v>>2]|0;p=+(i|0);n=0-o|0;o=s-(o<<1)|0;while(1){if((n|0)>(c[w>>2]|0))break;if((Ef(0,e,c[(c[g>>2]|0)+(c[r>>2]<<2)>>2]|0,+(o|0),p,C)|0)<0)b[m>>1]=4096;else{A=a[C>>0]|0;b[m>>1]=A&255;A=A&255;l=l+1|0;j=(B(A,A)|0)+j|0;d=d+A|0}n=n+1|0;o=o+2|0;m=m+2|0}q=q+1|0;i=i+2|0}}}else{td(d+8|0,e,x)|0;w=c[i>>2]|0;e=c[w+(j*20|0)+8>>2]|0;c[l>>2]=e;p=+f[w+(j*20|0)+12>>2];f[m>>2]=p;if((Cf(0,x,(c[h>>2]=e,+f[h>>2]),p,l,m)|0)>=0?(y=d+184|0,(me(y,+f[l>>2],+f[m>>2],z,A)|0)>=0):0){s=~~(+f[z>>2]+.5);o=c[k+16>>2]|0;t=k+20|0;v=k+8|0;w=k+12|0;r=i+8|0;l=0;n=0-o|0;o=~~(+f[A>>2]+.5)-(o<<1)|0;j=0;d=0;m=c[k+24>>2]|0;while(1){if((n|0)>(c[t>>2]|0)){n=25;break a}q=c[v>>2]|0;p=+(o|0);i=0-q|0;q=s-(q<<1)|0;while(1){if((i|0)>(c[w>>2]|0))break;do if((ne(y,+(q|0),p,z,A)|0)>=0)if((Ef(0,x,c[(c[g>>2]|0)+(c[r>>2]<<2)>>2]|0,+f[z>>2],+f[A>>2],C)|0)<0){b[m>>1]=4096;break}else{e=a[C>>0]|0;b[m>>1]=e&255;e=e&255;l=l+1|0;j=(B(e,e)|0)+j|0;d=d+e|0;break}else b[m>>1]=4096;while(0);i=i+1|0;q=q+2|0;m=m+2|0}n=n+1|0;o=o+2|0}}else d=-1}while(0);if((n|0)==25)if(!l)d=-1;else{c[k+28>>2]=~~+u(+(+(j-((B(d,d)|0)/(l|0)|0)|0)));c[k+32>>2]=d;c[k+36>>2]=l;d=0}yb=D;return d|0}function Af(a,b,d,e,g,h){a=a|0;b=b|0;d=d|0;e=e|0;g=g|0;h=h|0;var i=0.0,j=0,k=0,l=0.0,m=0,n=0,o=0,p=0,q=0,r=0;r=yb;yb=yb+32|0;m=r+20|0;n=r+16|0;o=r+12|0;p=r+8|0;j=r+4|0;k=r;l=+f[g+8>>2];i=+f[g+12>>2];if((b|0)!=0?(Cf(a,b,l,i,m,p)|0)>=0:0){c[h>>2]=~~+f[m>>2];c[h+4>>2]=~~+f[p>>2];if((d|0)!=0?(Cf(a,d,l,i,n,j)|0)>=0:0){c[h+8>>2]=~~(+f[m>>2]*2.0-+f[n>>2]);c[h+12>>2]=~~(+f[p>>2]*2.0-+f[j>>2]);if((e|0)!=0?(Cf(a,e,l,i,o,k)|0)>=0:0){c[h+16>>2]=~~(+f[o>>2]+(+f[m>>2]*3.0-+f[n>>2]*3.0));g=~~(+f[k>>2]+(+f[p>>2]*3.0-+f[j>>2]*3.0))}else q=10}else q=9}else{c[h>>2]=-1;c[h+4>>2]=-1;q=9}if((q|0)==9){c[h+8>>2]=-1;c[h+12>>2]=-1;q=10}if((q|0)==10){c[h+16>>2]=-1;g=-1}c[h+20>>2]=g;yb=r;return}function Bf(a,b,c,d,e,g){a=a|0;b=b|0;c=+c;d=+d;e=e|0;g=g|0;var h=0,i=0.0,j=0,k=0,l=0,m=0.0;l=yb;yb=yb+64|0;h=l;j=l+52|0;k=l+48|0;if(a){td(a+8|0,b,h)|0;m=+f[h+44>>2]+(+f[h+32>>2]*c+ +f[h+36>>2]*d);i=(+f[h+12>>2]+(+f[h>>2]*c+ +f[h+4>>2]*d))/m;c=(+f[h+28>>2]+(+f[h+16>>2]*c+ +f[h+20>>2]*d))/m;b=a+184|0;if((me(b,i,c,e,g)|0)>=0?(ne(b,+f[e>>2],+f[g>>2],j,k)|0)>=0:0){i=i-+f[j>>2];m=c-+f[k>>2];b=(i*i+m*m>1.0)<<31>>31}else b=-1}else{i=+f[b+28>>2]+(+f[b+16>>2]*c+ +f[b+20>>2]*d);m=+f[b+44>>2]+(+f[b+32>>2]*c+ +f[b+36>>2]*d);f[e>>2]=(+f[b+12>>2]+(+f[b>>2]*c+ +f[b+4>>2]*d))/m;f[g>>2]=i/m;b=0}yb=l;return b|0}function Cf(a,b,c,d,e,g){a=a|0;b=b|0;c=+c;d=+d;e=e|0;g=g|0;var h=0,i=0,j=0.0,k=0.0;i=yb;yb=yb+48|0;h=i;if(!a){k=+f[b+28>>2]+(+f[b+16>>2]*c+ +f[b+20>>2]*d);j=+f[b+44>>2]+(+f[b+32>>2]*c+ +f[b+36>>2]*d);f[e>>2]=(+f[b+12>>2]+(+f[b>>2]*c+ +f[b+4>>2]*d))/j;f[g>>2]=k/j;a=0}else{td(a+8|0,b,h)|0;k=+f[h+44>>2]+(+f[h+32>>2]*c+ +f[h+36>>2]*d);a=(me(a+184|0,(+f[h+12>>2]+(+f[h>>2]*c+ +f[h+4>>2]*d))/k,(+f[h+28>>2]+(+f[h+16>>2]*c+ +f[h+20>>2]*d))/k,e,g)|0)>>31}yb=i;return a|0}function Df(a,b,c,d,e,g){a=a|0;b=b|0;c=+c;d=+d;e=e|0;g=g|0;var h=0.0,i=0,j=0,k=0.0,l=0,m=0.0,n=0.0,o=0.0,p=0.0,q=0,r=0,s=0.0;r=yb;yb=yb+64|0;i=r+52|0;j=r+48|0;l=r;if(a)if((ne(a+184|0,c,d,i,j)|0)<0)a=-1;else{td(a+8|0,b,l)|0;h=+f[l+32>>2];k=+f[i>>2];p=+f[l+36>>2];d=+f[j>>2];c=+f[l+44>>2];m=+f[l+12>>2]-k*c;n=p*d-+f[l+20>>2];o=h*d-+f[l+16>>2];p=k*p-+f[l+4>>2];k=h*k-+f[l>>2];h=+f[l+28>>2];c=d*c;q=5}else{k=+f[b+32>>2];p=+f[b+36>>2];s=+f[b+44>>2];m=+f[b+12>>2]-s*c;n=p*d-+f[b+20>>2];o=k*d-+f[b+16>>2];p=p*c-+f[b+4>>2];k=k*c-+f[b>>2];h=+f[b+28>>2];c=s*d;q=5}if((q|0)==5){c=h-c;h=k*n-p*o;if(h==0.0)a=-1;else{f[e>>2]=(n*m-p*c)/h;f[g>>2]=(k*c-o*m)/h;a=0}}yb=r;return a|0}function Ef(b,d,e,g,h,i){b=b|0;d=d|0;e=e|0;g=+g;h=+h;i=i|0;var j=0.0,k=0,l=0,m=0,n=0,o=0,p=0;p=yb;yb=yb+16|0;n=p+4|0;o=p;if((((Df(b,d,g,h,n,o)|0)>=0?(j=+f[e+12>>2],k=~~(+f[n>>2]*j/25.399999618530273+.5),(k|0)>=0):0)?(l=c[e+4>>2]|0,(l|0)>(k|0)):0)?(n=c[e+8>>2]|0,m=~~(+(n|0)-j*+f[o>>2]/25.399999618530273+.5),(m|0)>-1&(n|0)>(m|0)):0){b=(B(l,m)|0)+k|0;a[i>>0]=a[(c[e>>2]|0)+b>>0]|0;b=0}else b=-1;yb=p;return b|0}function Ff(a,b,c){a=a|0;b=b|0;c=c|0;return zd(a,b,c)|0}function Gf(a){a=a|0;return Ad(a)|0}function Hf(a){a=a|0;return If(a,c[a>>2]|0,c[a+4>>2]|0,1)|0}function If(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;g=yb;yb=yb+16|0;f=FO(1,4156)|0;if(!f){Se(0,3,41858,g);Ea(1)}else{h=rB(4)|0;Gj(h);c[f>>2]=h;c[f+4>>2]=a;c[f+8>>2]=e;c[f+12>>2]=b;c[f+16>>2]=d;c[f+20>>2]=1;c[f+24>>2]=-1;e=f+28|0;c[e>>2]=0;c[e+4>>2]=0;c[e+8>>2]=0;c[e+12>>2]=0;c[e+16>>2]=0;c[e+20>>2]=0;c[e+24>>2]=0;c[e+28>>2]=0;yb=g;return f|0}return 0}function Jf(a){a=a|0;var b=0,d=0;b=c[a>>2]|0;if(!b)b=-1;else{d=c[b>>2]|0;if(d){lk(d);QA(d);b=c[a>>2]|0}d=c[b+28>>2]|0;if(d){EO(d);b=c[a>>2]|0}d=c[b+36>>2]|0;if(d){EO(d);b=c[a>>2]|0}d=c[b+52>>2]|0;if(d){EO(d);b=c[a>>2]|0}d=c[b+44>>2]|0;if(d){EO(d);b=c[a>>2]|0}EO(b);c[a>>2]=0;b=0}return b|0}function Kf(a){a=a|0;var b=0,d=0;b=c[a>>2]|0;d=b;if(b|0){c[a+4>>2]=d;Nf(b,(c[a+8>>2]|0)-d|0)}return}function Lf(a){a=a|0;var b=0,d=0,e=0,f=0;d=c[a>>2]|0;if(d|0){e=a+4|0;b=c[e>>2]|0;while(1){if((b|0)==(d|0))break;f=b+-20|0;Mf(f);b=f}c[e>>2]=d;f=c[a>>2]|0;Nf(f,(c[a+8>>2]|0)-f|0)}return}function Mf(a){a=a|0;return}function Nf(a,b){a=a|0;b=b|0;Pf(a);return}function Of(a){a=a|0;P(a|0)|0;SA()}function Pf(a){a=a|0;QA(a);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;s=yb;yb=yb+48|0;r=s+40|0;p=s+32|0;m=s+24|0;k=s+16|0;f=s+8|0;e=s;if((a|0)!=0&(b|0)!=0){e=c[a>>2]|0;do if(!e){e=DO(16)|0;c[a>>2]=e;if(!e){Se(0,3,41858,f);Ea(1)}else{c[e+4>>2]=0;c[e>>2]=0;c[e+12>>2]=0;c[e+8>>2]=0;l=e;d=e;break}}else{l=e;d=e}while(0);f=c[b>>2]|0;if(!f)d=0;else{g=c[l+4>>2]|0;h=c[f+4>>2]|0;i=h+g|0;j=DO(i*132|0)|0;if(!j){Se(0,3,41858,k);Ea(1)}e=0;while(1){if((e|0)>=(g|0))break;YO(j+(e*132|0)|0,(c[l>>2]|0)+(e*132|0)|0,132)|0;e=e+1|0}e=0;while(1){if((e|0)>=(h|0))break;YO(j+((e+g|0)*132|0)|0,(c[f>>2]|0)+(e*132|0)|0,132)|0;e=e+1|0}e=c[l>>2]|0;if(e){EO(e);d=c[a>>2]|0}c[d>>2]=j;h=c[a>>2]|0;c[h+4>>2]=i;k=c[h+12>>2]|0;g=c[b>>2]|0;l=c[g+12>>2]|0;g=g+8|0;h=h+8|0;d=0;f=0;while(1){if((f|0)>=(l|0))break;e=0;while(1){if((e|0)>=(k|0))break;if((c[(c[g>>2]|0)+(f*12|0)+8>>2]|0)==(c[(c[h>>2]|0)+(e*12|0)+8>>2]|0)){q=23;break}else e=e+1|0}if((q|0)==23){q=0;d=d+1|0}f=f+1|0}n=l+k-d|0;o=DO(n*12|0)|0;if(!o){Se(0,3,41858,m);Ea(1)}j=0;while(1){if((j|0)>=(k|0))break;h=(c[a>>2]|0)+8|0;d=c[h>>2]|0;g=d+(j*12|0)+8|0;c[o+(j*12|0)+8>>2]=c[g>>2];d=c[d+(j*12|0)+4>>2]|0;f=0;while(1){if((f|0)>=(l|0))break;e=c[(c[b>>2]|0)+8>>2]|0;if((c[e+(f*12|0)+8>>2]|0)==(c[g>>2]|0))d=(c[e+(f*12|0)+4>>2]|0)+d|0;f=f+1|0}i=o+(j*12|0)|0;m=DO(d*12|0)|0;c[i>>2]=m;if(!m){q=36;break}h=c[(c[h>>2]|0)+(j*12|0)+4>>2]|0;e=0;while(1){if((e|0)>=(h|0))break;g=(c[(c[(c[a>>2]|0)+8>>2]|0)+(j*12|0)>>2]|0)+(e*12|0)|0;m=(c[i>>2]|0)+(e*12|0)|0;c[m>>2]=c[g>>2];c[m+4>>2]=c[g+4>>2];c[m+8>>2]=c[g+8>>2];e=e+1|0}g=0;while(1){if((g|0)>=(l|0))break;e=c[(c[b>>2]|0)+8>>2]|0;if((c[e+(g*12|0)+8>>2]|0)==(c[(c[(c[a>>2]|0)+8>>2]|0)+(j*12|0)+8>>2]|0)){q=43;break}g=g+1|0}a:do if((q|0)==43){q=0;f=0;while(1){if((f|0)>=(c[e+(g*12|0)+4>>2]|0))break a;t=(c[e+(g*12|0)>>2]|0)+(f*12|0)|0;m=(c[i>>2]|0)+((f+h|0)*12|0)|0;c[m>>2]=c[t>>2];c[m+4>>2]=c[t+4>>2];c[m+8>>2]=c[t+8>>2];f=f+1|0;e=c[(c[b>>2]|0)+8>>2]|0}}while(0);c[o+(j*12|0)+4>>2]=d;j=j+1|0}if((q|0)==36){Se(0,3,41858,p);Ea(1)}d=0;j=0;while(1){if((j|0)>=(l|0))break;f=c[(c[b>>2]|0)+8>>2]|0;g=c[f+(j*12|0)+8>>2]|0;e=0;while(1){if((e|0)>=(k|0)){q=53;break}if((g|0)==(c[(c[(c[a>>2]|0)+8>>2]|0)+(e*12|0)+8>>2]|0)){q=52;break}else e=e+1|0}if((q|0)==52){q=0;d=d+1|0}else if((q|0)==53){q=0;h=j+k-d|0;i=o+(h*12|0)|0;c[o+(h*12|0)+8>>2]=g;f=c[f+(j*12|0)+4>>2]|0;t=DO(f*12|0)|0;c[i>>2]=t;if(!t){q=55;break}e=0;while(1){if((e|0)>=(f|0))break;p=(c[(c[(c[b>>2]|0)+8>>2]|0)+(j*12|0)>>2]|0)+(e*12|0)|0;t=(c[i>>2]|0)+(e*12|0)|0;c[t>>2]=c[p>>2];c[t+4>>2]=c[p+4>>2];c[t+8>>2]=c[p+8>>2];e=e+1|0}c[o+(h*12|0)+4>>2]=f}j=j+1|0}if((q|0)==55){Se(0,3,41858,r);Ea(1)}e=c[a>>2]|0;d=e+8|0;g=c[d>>2]|0;if(g){f=0;d=g;while(1){if((f|0)>=(c[e+12>>2]|0))break;EO(c[d+(f*12|0)>>2]|0);t=c[a>>2]|0;f=f+1|0;e=t;d=c[t+8>>2]|0}EO(d);d=(c[a>>2]|0)+8|0}c[d>>2]=o;c[(c[a>>2]|0)+12>>2]=n;Rf(b)|0;d=0}}else{Se(0,3,22132,e);d=-1}yb=s;return d|0}function Rf(a){a=a|0;var b=0,d=0,e=0,f=0;e=yb;yb=yb+16|0;if(a){b=c[a>>2]|0;if(!b)b=0;else{b=c[b>>2]|0;if(b|0)EO(b);b=0;while(1){f=c[a>>2]|0;d=f+8|0;if((b|0)>=(c[f+12>>2]|0))break;EO(c[(c[d>>2]|0)+(b*12|0)>>2]|0);b=b+1|0}EO(c[d>>2]|0);EO(c[a>>2]|0);c[a>>2]=0;b=0}}else{Se(0,3,22192,e);b=-1}yb=e;return b|0}function Sf(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;p=yb;yb=yb+64|0;o=p+56|0;n=p+48|0;l=p+40|0;k=p+32|0;j=p+24|0;i=p+8|0;h=p;g=p+60|0;a[g>>0]=a[22236]|0;a[g+1>>0]=a[22237]|0;a[g+2>>0]=a[22238]|0;a:do if((b|0)!=0&(e|0)!=0){m=Fg(b,d,g)|0;if(!m){f=(d|0)!=0;c[i>>2]=b;c[i+4>>2]=f?46716:57671;c[i+8>>2]=f?d:57671;Se(0,3,22290,i);f=-1;break}i=FO(1,16)|0;if(!i){Se(0,3,41858,j);Ea(1)}h=i+4|0;b:do if((eA(h,4,1,m)|0)==1?(f=c[h>>2]|0,(f|0)>=1):0){j=DO(f*132|0)|0;c[i>>2]=j;if(!j){Se(0,3,41858,k);Ea(1)}g=0;while(1){if((g|0)>=(f|0))break;if((eA((c[i>>2]|0)+(g*132|0)|0,8,1,m)|0)!=1)break b;if((eA((c[i>>2]|0)+(g*132|0)+8|0,8,1,m)|0)!=1)break b;if((eA((c[i>>2]|0)+(g*132|0)+16|0,108,1,m)|0)!=1)break b;if((eA((c[i>>2]|0)+(g*132|0)+124|0,4,1,m)|0)!=1)break b;if((eA((c[i>>2]|0)+(g*132|0)+128|0,4,1,m)|0)!=1)break b;g=g+1|0;f=c[h>>2]|0}b=i+12|0;if((eA(b,4,1,m)|0)==1){f=c[b>>2]|0;if((f|0)<1){c[i+8>>2]=0;break}k=DO(f*12|0)|0;d=i+8|0;c[d>>2]=k;if(!k){Se(0,3,41858,l);Ea(1)}h=0;while(1){if((h|0)>=(f|0)){f=32;break}if((eA((c[d>>2]|0)+(h*12|0)+8|0,4,1,m)|0)!=1)break b;if((eA((c[d>>2]|0)+(h*12|0)+4|0,4,1,m)|0)!=1)break b;l=c[d>>2]|0;f=c[l+(h*12|0)+4>>2]|0;g=DO(f*12|0)|0;c[l+(h*12|0)>>2]=g;if(!g){f=29;break}if((eA(g,12,f,m)|0)!=(f|0))break b;h=h+1|0;f=c[b>>2]|0}if((f|0)==29){Se(0,3,41858,n);Ea(1)}else if((f|0)==32){c[e>>2]=i;vz(m)|0;f=0;break a}}}while(0);Se(0,3,22357,o);f=c[i+8>>2]|0;if(f|0)EO(f);f=c[i>>2]|0;if(f|0)EO(f);EO(i);vz(m)|0;f=-1}else{Se(0,3,22239,h);f=-1}while(0);yb=p;return f|0}function Tf(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;j=yb;yb=yb+16|0;a:do if(!a){Se(0,3,22402,j);e=-1}else{g=c[a+4>>2]|0;i=(b|0)==-1;e=0;while(1){if((e|0)>=(g|0))break;f=(c[a>>2]|0)+(e*132|0)+124|0;h=c[f>>2]|0;if((h|0)==(b|0)|i&(h|0)>-1)c[f>>2]=d;e=e+1|0}h=c[a+12>>2]|0;f=a+8|0;e=0;while(1){if((e|0)>=(h|0)){e=0;break a}g=(c[f>>2]|0)+(e*12|0)+8|0;a=c[g>>2]|0;if((a|0)==(b|0)|i&(a|0)>-1)c[g>>2]=d;e=e+1|0}}while(0);yb=j;return e|0}function Uf(){return -1}function Vf(a,b){a=a|0;b=b|0;return Xf(a,b,Wf(b)|0)|0}function Wf(a){a=a|0;return Oy(a)|0}function Xf(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;l=yb;yb=yb+16|0;g=l+12|0;j=l;k=l+8|0;LE(j,b);if(a[j>>0]|0){h=(c[b>>2]|0)+-12|0;c[k>>2]=c[b+(c[h>>2]|0)+24>>2];h=b+(c[h>>2]|0)|0;i=c[h+4>>2]|0;f=d+e|0;m=Uf()|0;e=h+76|0;if(Yf(m,c[e>>2]|0)|0){GE(g,h);m=VF(g,56736)|0;m=Gb[c[(c[m>>2]|0)+28>>2]&63](m,32)|0;WF(g);m=m<<24>>24;c[e>>2]=m;e=m}else e=c[e>>2]|0;c[g>>2]=c[k>>2];if(!(Zf(g,d,(i&176|0)==32?f:d,f,h,e&255)|0)){m=b+(c[(c[b>>2]|0)+-12>>2]|0)|0;EE(m,c[m+16>>2]|5)}}ME(j);yb=l;return b|0}function Yf(a,b){a=a|0;b=b|0;return (a|0)==(b|0)|0}function Zf(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0;n=yb;yb=yb+16|0;m=n;i=c[b>>2]|0;a:do if(!i)i=0;else{k=d;j=f-k|0;l=g+12|0;g=c[l>>2]|0;g=(g|0)>(j|0)?g-j|0:0;j=e;k=j-k|0;if((k|0)>0?(Hb[c[(c[i>>2]|0)+48>>2]&63](i,d,k)|0)!=(k|0):0){c[b>>2]=0;i=0;break}do if((g|0)>0){c[m>>2]=0;c[m+4>>2]=0;c[m+8>>2]=0;fO(m,g,h);if((Hb[c[(c[i>>2]|0)+48>>2]&63](i,(a[m+11>>0]|0)<0?c[m>>2]|0:m,g)|0)==(g|0)){hO(m);break}else{c[b>>2]=0;hO(m);i=0;break a}}while(0);f=f-j|0;if((f|0)>0?(Hb[c[(c[i>>2]|0)+48>>2]&63](i,e,f)|0)!=(f|0):0){c[b>>2]=0;i=0;break}c[l>>2]=0}while(0);yb=n;return i|0}function _f(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;j=yb;yb=yb+16|0;g=d;i=j;f=e-g|0;if(f>>>0>4294967279)cO(b);if(f>>>0<11){a[b+11>>0]=f;h=b}else{k=f+16&-16;h=rB(k)|0;c[b>>2]=h;c[b+8>>2]=k|-2147483648;c[b+4>>2]=f}f=e-g|0;b=h;while(1){if((d|0)==(e|0))break;$f(b,d);d=d+1|0;b=b+1|0}a[i>>0]=0;$f(h+f|0,i);yb=j;return}function $f(b,c){b=b|0;c=c|0;a[b>>0]=a[c>>0]|0;return}function ag(a){a=a|0;return a&255|0}function bg(a){a=a|0;if(Yf(a,Uf()|0)|0)a=~(Uf()|0);return a|0}function cg(a){a=a|0;return a&255|0}function dg(b,d){b=b|0;d=d|0;var e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;A=yb;yb=yb+112|0;z=A+48|0;p=A+40|0;n=A+32|0;l=A+24|0;h=A+16|0;g=A+8|0;e=A;v=A+96|0;w=A+84|0;x=A+72|0;y=A+52|0;a:do if((b|0)!=0&(d|0)!=0){i=d+4|0;e=c[i>>2]|0;if(!e){Se(0,3,22499,g);e=-1;break}u=b+28|0;g=c[u>>2]|0;if(g){EO(g);e=c[i>>2]|0;if(!e){c[u>>2]=0;e=0}else j=7}else j=7;b:do if((j|0)==7){t=DO(e*132|0)|0;c[u>>2]=t;if(!t){Se(0,3,41858,h);Ea(1)}g=0;while(1){if((g|0)>=(e|0))break b;YO((c[u>>2]|0)+(g*132|0)|0,(c[d>>2]|0)+(g*132|0)|0,132)|0;g=g+1|0;e=c[i>>2]|0}}while(0);m=b+32|0;c[m>>2]=e;t=b+36|0;e=c[t>>2]|0;if(e|0){i=b+40|0;h=0;while(1){if((h|0)>=(c[i>>2]|0))break;g=c[e+(h*12|0)>>2]|0;if(g){EO(g);e=c[t>>2]|0}h=h+1|0}EO(e)}k=d+12|0;e=c[k>>2]|0;c:do if(!e){c[t>>2]=0;o=0}else{s=DO(e*12|0)|0;c[t>>2]=s;if(!s){Se(0,3,41858,l);Ea(1)}d=d+8|0;j=0;while(1){if((j|0)>=(e|0)){o=e;break c}i=c[d>>2]|0;g=c[t>>2]|0;c[g+(j*12|0)+8>>2]=c[i+(j*12|0)+8>>2];h=i+(j*12|0)+4|0;c[g+(j*12|0)+4>>2]=c[h>>2];h=c[h>>2]|0;if(!h)c[i+(j*12|0)>>2]=0;else{s=DO(h*12|0)|0;c[g+(j*12|0)>>2]=s;if(!s)break;g=0;e=i;while(1){if((g|0)>=(c[e+(j*12|0)+4>>2]|0))break;r=(c[e+(j*12|0)>>2]|0)+(g*12|0)|0;s=(c[(c[t>>2]|0)+(j*12|0)>>2]|0)+(g*12|0)|0;c[s>>2]=c[r>>2];c[s+4>>2]=c[r+4>>2];c[s+8>>2]=c[r+8>>2];g=g+1|0;e=c[d>>2]|0}e=c[k>>2]|0}j=j+1|0}Se(0,3,41858,n);Ea(1)}while(0);s=b+40|0;c[s>>2]=o;i=b+52|0;e=c[i>>2]|0;if(e|0){EO(e);c[i>>2]=0;c[b+56>>2]=0}g=c[k>>2]|0;d:do if((g|0)>0){c[b+56>>2]=g;h=DO(g*68|0)|0;c[i>>2]=h;if(!h){Se(0,3,41858,p);Ea(1)}e=0;while(1){if((e|0)==(g|0))break d;c[h+(e*68|0)+64>>2]=0;e=e+1|0}}while(0);l=c[m>>2]|0;if(!l)e=0;else{m=v+4|0;n=v+8|0;o=w+4|0;p=w+8|0;q=x+4|0;r=x+8|0;k=0;e=0;while(1){if((k|0)>=(c[s>>2]|0)){e=0;break a}d=0;while(1){if((d|0)>=(c[(c[t>>2]|0)+(k*12|0)+4>>2]|0))break;c[v>>2]=0;c[m>>2]=0;c[n>>2]=0;c[w>>2]=0;c[o>>2]=0;c[p>>2]=0;c[x>>2]=0;c[q>>2]=0;c[r>>2]=0;j=0;while(1){if((j|0)>=(l|0))break;g=c[u>>2]|0;i=c[t>>2]|0;e:do if((c[g+(j*132|0)+128>>2]|0)==(c[(c[i+(k*12|0)>>2]|0)+(d*12|0)+8>>2]|0)?(c[g+(j*132|0)+124>>2]|0)==(c[i+(k*12|0)+8>>2]|0):0){eg(y,+f[g+(j*132|0)>>2],+f[g+(j*132|0)+4>>2],+f[g+(j*132|0)+112>>2],+f[g+(j*132|0)+116>>2],(c[g+(j*132|0)+120>>2]|0)!=0);g=c[m>>2]|0;if(g>>>0<(c[n>>2]|0)>>>0){c[g>>2]=c[y>>2];c[g+4>>2]=c[y+4>>2];c[g+8>>2]=c[y+8>>2];c[g+12>>2]=c[y+12>>2];c[g+16>>2]=c[y+16>>2];c[m>>2]=g+20}else fg(v,y);Mf(y);g=c[u>>2]|0;gg(y,+f[g+(j*132|0)+8>>2],+f[g+(j*132|0)+12>>2],0.0);g=c[o>>2]|0;if(g>>>0<(c[p>>2]|0)>>>0){c[g>>2]=c[y>>2];c[g+4>>2]=c[y+4>>2];c[g+8>>2]=c[y+8>>2];c[o>>2]=(c[o>>2]|0)+12}else hg(w,y);g=0;while(1){if(g>>>0>=96)break e;h=(c[u>>2]|0)+(j*132|0)+16+g|0;i=c[q>>2]|0;if((i|0)==(c[r>>2]|0))ig(x,h);else{a[i>>0]=a[h>>0]|0;c[q>>2]=(c[q>>2]|0)+1}g=g+1|0}}while(0);j=j+1|0}c[z>>2]=((c[m>>2]|0)-(c[v>>2]|0)|0)/20|0;Se(0,1,22532,z);j=c[t>>2]|0;c[b+60+(e<<2)>>2]=c[j+(k*12|0)+8>>2];j=c[j+(k*12|0)>>2]|0;cm(c[b>>2]|0,v,x,w,c[j+(d*12|0)>>2]|0,c[j+(d*12|0)+4>>2]|0,e);Kf(x);jg(w);Lf(v);d=d+1|0;e=e+1|0}k=k+1|0}}}else{Se(0,3,22451,e);e=-1}while(0);yb=A;return e|0}function eg(b,c,d,e,g,h){b=b|0;c=+c;d=+d;e=+e;g=+g;h=h|0;f[b>>2]=c;f[b+4>>2]=d;f[b+8>>2]=e;f[b+12>>2]=g;a[b+16>>0]=h&1;return}function fg(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;h=yb;yb=yb+32|0;d=h;e=a+4|0;f=(((c[e>>2]|0)-(c[a>>2]|0)|0)/20|0)+1|0;g=sg(a)|0;if(g>>>0>>0)CO(a);else{i=c[a>>2]|0;k=((c[a+8>>2]|0)-i|0)/20|0;j=k<<1;tg(d,k>>>0>>1>>>0?(j>>>0>>0?f:j):g,((c[e>>2]|0)-i|0)/20|0,a+8|0);g=d+8|0;f=c[g>>2]|0;c[f>>2]=c[b>>2];c[f+4>>2]=c[b+4>>2];c[f+8>>2]=c[b+8>>2];c[f+12>>2]=c[b+12>>2];c[f+16>>2]=c[b+16>>2];c[g>>2]=(c[g>>2]|0)+20;ug(a,d);vg(d);yb=h;return}}function gg(a,b,c,d){a=a|0;b=+b;c=+c;d=+d;f[a>>2]=b;f[a+4>>2]=c;f[a+8>>2]=d;return}function hg(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;h=yb;yb=yb+32|0;d=h;e=a+4|0;f=(((c[e>>2]|0)-(c[a>>2]|0)|0)/12|0)+1|0;g=og(a)|0;if(g>>>0>>0)CO(a);else{i=c[a>>2]|0;k=((c[a+8>>2]|0)-i|0)/12|0;j=k<<1;pg(d,k>>>0>>1>>>0?(j>>>0>>0?f:j):g,((c[e>>2]|0)-i|0)/12|0,a+8|0);g=d+8|0;f=c[g>>2]|0;c[f>>2]=c[b>>2];c[f+4>>2]=c[b+4>>2];c[f+8>>2]=c[b+8>>2];c[g>>2]=(c[g>>2]|0)+12;qg(a,d);rg(d);yb=h;return}}function ig(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;i=yb;yb=yb+32|0;e=i;f=b+4|0;g=(c[f>>2]|0)-(c[b>>2]|0)+1|0;h=kg(b)|0;if(h>>>0>>0)CO(b);else{j=c[b>>2]|0;l=(c[b+8>>2]|0)-j|0;k=l<<1;lg(e,l>>>0>>1>>>0?(k>>>0>>0?g:k):h,(c[f>>2]|0)-j|0,b+8|0);h=e+8|0;a[c[h>>2]>>0]=a[d>>0]|0;c[h>>2]=(c[h>>2]|0)+1;mg(b,e);ng(e);yb=i;return}}function jg(a){a=a|0;var b=0,d=0;b=c[a>>2]|0;d=b;if(b|0){c[a+4>>2]=d;Nf(b,(c[a+8>>2]|0)-d|0)}return}function kg(a){a=a|0;return 2147483647}function lg(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=a+12|0;c[f>>2]=0;c[a+16>>2]=e;if(!b)e=0;else e=rB(b)|0;c[a>>2]=e;d=e+d|0;c[a+8>>2]=d;c[a+4>>2]=d;c[f>>2]=e+b;return}function mg(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;e=c[a>>2]|0;h=a+4|0;g=b+4|0;f=(c[h>>2]|0)-e|0;d=(c[g>>2]|0)+(0-f)|0;c[g>>2]=d;if((f|0)>0){YO(d|0,e|0,f|0)|0;e=g;d=c[g>>2]|0}else e=g;g=c[a>>2]|0;c[a>>2]=d;c[e>>2]=g;g=b+8|0;f=c[h>>2]|0;c[h>>2]=c[g>>2];c[g>>2]=f;g=a+8|0;h=b+12|0;a=c[g>>2]|0;c[g>>2]=c[h>>2];c[h>>2]=a;c[b>>2]=c[e>>2];return}function ng(a){a=a|0;var b=0,d=0,e=0,f=0;b=c[a+4>>2]|0;d=a+8|0;e=c[d>>2]|0;while(1){if((e|0)==(b|0))break;f=e+-1|0;c[d>>2]=f;e=f}b=c[a>>2]|0;if(b|0)Nf(b,(c[a+12>>2]|0)-b|0);return}function og(a){a=a|0;return 357913941}function pg(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=a+12|0;c[f>>2]=0;c[a+16>>2]=e;do if(b)if(b>>>0>357913941){f=O(8)|0;bO(f,37409);c[f>>2]=16392;Q(f|0,13960,22)}else{e=rB(b*12|0)|0;break}else e=0;while(0);c[a>>2]=e;d=e+(d*12|0)|0;c[a+8>>2]=d;c[a+4>>2]=d;c[f>>2]=e+(b*12|0);return}function qg(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;e=c[a>>2]|0;h=a+4|0;g=b+4|0;f=(c[h>>2]|0)-e|0;d=(c[g>>2]|0)+(((f|0)/-12|0)*12|0)|0;c[g>>2]=d;if((f|0)>0){YO(d|0,e|0,f|0)|0;e=g;d=c[g>>2]|0}else e=g;g=c[a>>2]|0;c[a>>2]=d;c[e>>2]=g;g=b+8|0;f=c[h>>2]|0;c[h>>2]=c[g>>2];c[g>>2]=f;g=a+8|0;h=b+12|0;a=c[g>>2]|0;c[g>>2]=c[h>>2];c[h>>2]=a;c[b>>2]=c[e>>2];return}function rg(a){a=a|0;var b=0,d=0,e=0,f=0;b=c[a+4>>2]|0;d=a+8|0;e=c[d>>2]|0;while(1){if((e|0)==(b|0))break;f=e+-12|0;c[d>>2]=f;e=f}b=c[a>>2]|0;if(b|0)Nf(b,(c[a+12>>2]|0)-b|0);return}function sg(a){a=a|0;return 214748364}function tg(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=a+12|0;c[f>>2]=0;c[a+16>>2]=e;do if(b)if(b>>>0>214748364){f=O(8)|0;bO(f,37409);c[f>>2]=16392;Q(f|0,13960,22)}else{e=rB(b*20|0)|0;break}else e=0;while(0);c[a>>2]=e;d=e+(d*20|0)|0;c[a+8>>2]=d;c[a+4>>2]=d;c[f>>2]=e+(b*20|0);return}function ug(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;e=c[a>>2]|0;f=a+4|0;g=b+4|0;d=c[f>>2]|0;while(1){if((d|0)==(e|0))break;i=(c[g>>2]|0)+-20|0;h=d+-20|0;c[i>>2]=c[h>>2];c[i+4>>2]=c[h+4>>2];c[i+8>>2]=c[h+8>>2];c[i+12>>2]=c[h+12>>2];c[i+16>>2]=c[h+16>>2];c[g>>2]=(c[g>>2]|0)+-20;d=h}i=c[a>>2]|0;c[a>>2]=c[g>>2];c[g>>2]=i;i=b+8|0;h=c[f>>2]|0;c[f>>2]=c[i>>2];c[i>>2]=h;f=a+8|0;i=b+12|0;h=c[f>>2]|0;c[f>>2]=c[i>>2];c[i>>2]=h;c[b>>2]=c[g>>2];return}function vg(a){a=a|0;var b=0,d=0,e=0;b=c[a+4>>2]|0;d=a+8|0;while(1){e=c[d>>2]|0;if((e|0)==(b|0))break;e=e+-20|0;c[d>>2]=e;Mf(e)}b=c[a>>2]|0;if(b|0)Nf(b,(c[a+12>>2]|0)-b|0);return}function wg(a,b){a=a|0;b=b|0;var d=0,e=0,h=0,i=0,j=0,k=0.0,l=0.0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;u=yb;yb=yb+48|0;r=u+16|0;o=u+8|0;d=u;e=u+44|0;h=u+40|0;do if((a|0)!=0&(b|0)!=0){i=c[a+12>>2]|0;j=c[a+16>>2]|0;m=c[a+20>>2]|0;n=(m|0)==1;if(!n){d=zg(b,i,j,m,e,h)|0;if(!d){d=-1;break}else{s=d;t=1}}else{s=b;t=0}Cm(c[a>>2]|0,s,i,j)|0;j=dp(c[a>>2]|0)|0;j=(c[j+4>>2]|0)-(c[j>>2]|0)|0;d=(j|0)/20|0;i=a+48|0;c[i>>2]=d;a:do if(!j){e=c[a+56>>2]|0;b=a+52|0;d=0;while(1){if((d|0)>=(e|0))break a;c[(c[b>>2]|0)+(d*68|0)+60>>2]=-1;d=d+1|0}}else{j=a+44|0;b=c[j>>2]|0;if(b){EO(b);d=c[i>>2]|0}h=DO(d<<3)|0;c[j>>2]=h;if(!h){Se(0,3,41858,o);Ea(1)}e=dp(c[a>>2]|0)|0;b:do if(n){h=a+4|0;d=0;while(1){if((d|0)>=(c[i>>2]|0))break b;b=c[e>>2]|0;k=+f[b+(d*20|0)>>2];l=+f[b+(d*20|0)+4>>2];b=c[h>>2]|0;if(!b){o=c[j>>2]|0;f[o+(d<<3)>>2]=k;f[o+(d<<3)+4>>2]=l}else{o=c[j>>2]|0;ne(b+184|0,k,l,o+(d<<3)|0,o+(d<<3)+4|0)|0}d=d+1|0}}else switch(m|0){case 5:{h=a+4|0;d=0;while(1){if((d|0)>=(c[i>>2]|0))break b;b=c[e>>2]|0;k=+f[b+(d*20|0)>>2];l=+f[b+(d*20|0)+4>>2];b=c[h>>2]|0;if(!b){o=c[j>>2]|0;f[o+(d<<3)>>2]=k*1.5;f[o+(d<<3)+4>>2]=l*1.5}else{o=c[j>>2]|0;ne(b+184|0,k*1.5,l*1.5,o+(d<<3)|0,o+(d<<3)+4|0)|0}d=d+1|0}}case 2:{h=a+4|0;d=0;while(1){if((d|0)>=(c[i>>2]|0))break b;b=c[e>>2]|0;k=+f[b+(d*20|0)>>2];l=+f[b+(d*20|0)+4>>2];b=c[h>>2]|0;if(!b){o=c[j>>2]|0;f[o+(d<<3)>>2]=k*2.0;f[o+(d<<3)+4>>2]=l*2.0}else{o=c[j>>2]|0;ne(b+184|0,k*2.0,l*2.0,o+(d<<3)|0,o+(d<<3)+4|0)|0}d=d+1|0}}case 4:{h=a+4|0;d=0;while(1){if((d|0)>=(c[i>>2]|0))break b;b=c[e>>2]|0;k=+f[b+(d*20|0)>>2];l=+f[b+(d*20|0)+4>>2];b=c[h>>2]|0;if(!b){o=c[j>>2]|0;f[o+(d<<3)>>2]=k*3.0;f[o+(d<<3)+4>>2]=l*3.0}else{o=c[j>>2]|0;ne(b+184|0,k*3.0,l*3.0,o+(d<<3)|0,o+(d<<3)+4|0)|0}d=d+1|0}}default:{h=a+4|0;d=0;while(1){if((d|0)>=(c[i>>2]|0))break b;b=c[e>>2]|0;k=+f[b+(d*20|0)>>2];l=+f[b+(d*20|0)+4>>2];b=c[h>>2]|0;if(!b){o=c[j>>2]|0;f[o+(d<<3)>>2]=k*4.0;f[o+(d<<3)+4>>2]=l*4.0}else{o=c[j>>2]|0;ne(b+184|0,k*4.0,l*4.0,o+(d<<3)|0,o+(d<<3)+4|0)|0}d=d+1|0}}}while(0);i=a+56|0;j=a+36|0;b=a+52|0;d=0;while(1){e=c[i>>2]|0;if((d|0)>=(e|0))break a;o=c[b>>2]|0;c[o+(d*68|0)+48>>2]=c[(c[j>>2]|0)+(d*12|0)+8>>2];c[o+(d*68|0)+60>>2]=-1;if(((c[o+(d*68|0)+64>>2]|0)==0?(p=fp(c[a>>2]|0)|0,q=ap(c[a>>2]|0)|0,(q|0)>=0):0)?(e=c[h>>2]|0,m=cp(c[a>>2]|0,q)|0,n=dp(c[a>>2]|0)|0,o=c[b>>2]|0,(xg(e,p,m,n,o+(d*68|0)|0,o+(d*68|0)+52|0)|0)==0):0){n=c[b>>2]|0;c[n+(d*68|0)+60>>2]=0;o=(c[p+4>>2]|0)-(c[p>>2]|0)>>3;c[n+(d*68|0)+56>>2]=o;c[n+(d*68|0)+48>>2]=c[a+60+(q<<2)>>2];l=+f[n+(d*68|0)+52>>2];c[r>>2]=d;c[r+4>>2]=o;c[r+8>>2]=o;g[r+16>>3]=l;Se(0,1,22587,r)}d=d+1|0}}while(0);d=0;while(1){if((d|0)>=(e|0))break;c[(c[b>>2]|0)+(d*68|0)+64>>2]=0;d=d+1|0}if(!t)d=0;else{EO(s);d=0}}else{Se(0,3,22543,d);d=-1}while(0);yb=u;return d|0}function xg(a,b,d,e,h,i){a=a|0;b=b|0;d=d|0;e=e|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0.0;u=yb;yb=yb+240|0;k=u+208|0;j=u+200|0;s=u+224|0;p=u+212|0;q=u+96|0;t=u+192|0;r=u;l=c[b>>2]|0;b=(c[b+4>>2]|0)-l|0;m=b>>3;do if(m>>>0<4)b=-1;else{o=DO(b<<1)|0;if(!o){Se(0,3,41858,j);Ea(1)}n=DO(m*24|0)|0;if(!n){Se(0,3,41858,k);Ea(1)}e=c[e>>2]|0;j=c[d>>2]|0;b=0;while(1){if((b|0)==(m|0))break;d=c[l+(b<<3)>>2]|0;g[o+(b<<4)>>3]=+f[e+(d*20|0)>>2];g[o+(b<<4)+8>>3]=+f[e+(d*20|0)+4>>2];d=c[l+(b<<3)+4>>2]|0;g[n+(b*24|0)>>3]=+f[j+(d*12|0)>>2];g[n+(b*24|0)+8>>3]=+f[j+(d*12|0)+4>>2];g[n+(b*24|0)+16>>3]=0.0;b=b+1|0}c[p+8>>2]=m;c[p>>2]=o;c[p+4>>2]=n;b=a+8|0;if((Ke(b,o,n,m,q)|0)<0){EO(o);EO(n);b=-1;break}b=Ce(b)|0;c[s>>2]=b;if(!b){EO(o);EO(n);b=-1;break}if((Fe(b,p,q,r,t)|0)<0){EO(o);EO(n);De(s)|0;b=-1}else{j=0;while(1){if((j|0)==3)break;b=0;while(1){if((b|0)==4)break;f[h+(j<<4)+(b<<2)>>2]=+g[r+(j<<5)+(b<<3)>>3];b=b+1|0}j=j+1|0}De(s)|0;EO(o);EO(n);v=+g[t>>3];f[i>>2]=v;b=(v>10.0)<<31>>31}}while(0);yb=u;return b|0}function yg(a,b,d){a=a|0;b=b|0;d=d|0;if(!a)a=-1;else{c[b>>2]=c[a+52>>2];c[d>>2]=c[a+56>>2];a=0}return a|0}function zg(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;switch(d|0){case 1:{a=Ag(a,b,c,e,f)|0;break}case 5:{a=Bg(a,b,c,e,f)|0;break}case 2:{a=Cg(a,b,c,e,f)|0;break}case 4:{a=Dg(a,b,c,e,f)|0;break}default:a=Eg(a,b,c,e,f)|0}return a|0}function Ag(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0;g=yb;yb=yb+16|0;c[e>>2]=b;c[f>>2]=d;b=B(d,b)|0;d=DO(b)|0;if(!d){Se(0,3,41858,g);Ea(1)}else{YO(d|0,a|0,b|0)|0;yb=g;return d|0}return 0}function Bg(b,e,f,g,h){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;q=yb;yb=yb+16|0;o=(e|0)/3|0;p=o<<1;c[g>>2]=p;n=(f|0)/3|0;m=n<<1;c[h>>2]=m;m=DO(B(m,p)|0)|0;if(!m){Se(0,3,41858,q);Ea(1)}h=0;f=m;g=m;while(1){if((h|0)>=(n|0))break;l=h*3|0;i=0;j=b+(B(l+2|0,e)|0)|0;k=b+(B(l+1|0,e)|0)|0;l=b+(B(l,e)|0)|0;g=g+p|0;while(1){if((i|0)>=(o|0))break;u=l+1|0;s=k+1|0;a[f>>0]=(((d[u>>0]|0)>>>1&255)+(d[l>>0]|0)+((d[k>>0]|0)>>>1&255)+((d[s>>0]|0)>>>2&255)<<2>>>0)/9|0;r=j+1|0;a[g>>0]=((((d[s>>0]|0)>>>2)+((d[k>>0]|0)>>>1)&255)+(d[j>>0]|0)+((d[r>>0]|0)>>>1&255)<<2>>>0)/9|0;t=k+2|0;a[f+1>>0]=(((d[u>>0]|0)>>>1&255)+(d[l+2>>0]|0)+((d[s>>0]|0)>>>2&255)+((d[t>>0]|0)>>>1&255)<<2>>>0)/9|0;a[g+1>>0]=((((d[t>>0]|0)>>>1)+((d[s>>0]|0)>>>2)&255)+((d[r>>0]|0)>>>1&255)+(d[j+2>>0]|0)<<2>>>0)/9|0;i=i+1|0;j=j+3|0;k=k+3|0;l=l+3|0;f=f+2|0;g=g+2|0}h=h+1|0;f=f+p|0}yb=q;return m|0}function Cg(b,e,f,g,h){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0;n=yb;yb=yb+16|0;m=(e|0)/2|0;c[g>>2]=m;l=(f|0)/2|0;c[h>>2]=l;k=DO(B(l,m)|0)|0;if(!k){Se(0,3,41858,n);Ea(1)}g=0;f=k;while(1){if((g|0)>=(l|0))break;j=g<<1;h=0;i=b+(B(j,e)|0)|0;j=b+(B(j|1,e)|0)|0;while(1){if((h|0)>=(m|0))break;a[f>>0]=((d[i+1>>0]|0)+(d[i>>0]|0)+(d[j>>0]|0)+(d[j+1>>0]|0)|0)>>>2;h=h+1|0;i=i+2|0;j=j+2|0;f=f+1|0}g=g+1|0}yb=n;return k|0}function Dg(b,e,f,g,h){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0;o=yb;yb=yb+16|0;n=(e|0)/3|0;c[g>>2]=n;m=(f|0)/3|0;c[h>>2]=m;l=DO(B(m,n)|0)|0;if(!l){Se(0,3,41858,o);Ea(1)}g=0;f=l;while(1){if((g|0)>=(m|0))break;k=g*3|0;h=0;i=b+(B(k,e)|0)|0;j=b+(B(k+2|0,e)|0)|0;k=b+(B(k+1|0,e)|0)|0;while(1){if((h|0)>=(n|0))break;a[f>>0]=((d[i+1>>0]|0)+(d[i>>0]|0)+(d[i+2>>0]|0)+(d[k>>0]|0)+(d[k+1>>0]|0)+(d[k+2>>0]|0)+(d[j>>0]|0)+(d[j+1>>0]|0)+(d[j+2>>0]|0)|0)/9|0;h=h+1|0;i=i+3|0;j=j+3|0;k=k+3|0;f=f+1|0}g=g+1|0}yb=o;return l|0}function Eg(b,e,f,g,h){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;p=yb;yb=yb+16|0;o=(e|0)/4|0;c[g>>2]=o;n=(f|0)/4|0;c[h>>2]=n;m=DO(B(n,o)|0)|0;if(!m){Se(0,3,41858,p);Ea(1)}g=0;f=m;while(1){if((g|0)>=(n|0))break;l=g<<2;h=0;i=b+(B(l,e)|0)|0;j=b+(B(l|3,e)|0)|0;k=b+(B(l|2,e)|0)|0;l=b+(B(l|1,e)|0)|0;while(1){if((h|0)>=(o|0))break;a[f>>0]=((d[i+1>>0]|0)+(d[i>>0]|0)+(d[i+2>>0]|0)+(d[i+3>>0]|0)+(d[l>>0]|0)+(d[l+1>>0]|0)+(d[l+2>>0]|0)+(d[l+3>>0]|0)+(d[k>>0]|0)+(d[k+1>>0]|0)+(d[k+2>>0]|0)+(d[k+3>>0]|0)+(d[j>>0]|0)+(d[j+1>>0]|0)+(d[j+2>>0]|0)+(d[j+3>>0]|0)|0)/16|0;h=h+1|0;i=i+4|0;j=j+4|0;k=k+4|0;l=l+4|0;f=f+1|0}g=g+1|0}yb=p;return m|0}function Fg(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;i=yb;yb=yb+16|0;h=i+8|0;g=i;do if(a){if(!b){e=pz(a,d)|0;break}f=Oy(a)|0;f=DO(f+2+(Oy(b)|0)|0)|0;if(!f){Se(0,3,41858,g);Ea(1)}else{c[h>>2]=a;c[h+4>>2]=b;Fx(f,22627,h)|0;e=pz(f,d)|0;EO(f);break}}else e=0;while(0);yb=i;return e|0}function Gg(a){a=a|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;return}function Hg(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;m=yb;yb=yb+16|0;d=m;if(!(Ig(b)|0)){l=Vf(Vf(NE(Vf(Vf(Vf(56032,22633)|0,22676)|0,35e3)|0,53)|0,35007)|0,22771)|0;GE(d,l+(c[(c[l>>2]|0)+-12>>2]|0)|0);k=VF(d,56736)|0;k=Gb[c[(c[k>>2]|0)+28>>2]&63](k,10)|0;WF(d);OE(l,k)|0;KE(l)|0;ua()}i=Kg(Jg(b,0,0)|0)|0;j=Lg(Jg(b,0,0)|0)|0;k=Mg(Jg(b,0,0)|0)|0;l=a+12|0;c[l>>2]=Ng(b)|0;b=(Og(b)|0)+-1|0;e=a+16|0;c[e>>2]=b;Pg(a,B(c[l>>2]|0,b)|0);b=0;while(1){if(b>>>0>=(c[l>>2]|0)>>>0)break;f=j>>>b;g=k>>>b;d=0;while(1){h=c[e>>2]|0;if(d>>>0>=h>>>0)break;h=(B(h,b)|0)+d|0;aq((c[a>>2]|0)+(h<<5)|0,i,f,g,-1,1);d=d+1|0}b=b+1|0}yb=m;return}function Ig(a){a=a|0;return (c[a+8>>2]|0)-(c[a+4>>2]|0)>>5|0}function Jg(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;g=yb;yb=yb+16|0;f=g;if((c[a+16>>2]|0)>>>0<=b>>>0){e=Vf(Vf(NE(Vf(Vf(Vf(56032,34017)|0,33900)|0,35e3)|0,218)|0,35007)|0,22796)|0;GE(f,e+(c[(c[e>>2]|0)+-12>>2]|0)|0);h=VF(f,56736)|0;h=Gb[c[(c[h>>2]|0)+28>>2]&63](h,10)|0;WF(f);OE(e,h)|0;KE(e)|0;ua()}e=c[a+20>>2]|0;if(e>>>0>d>>>0){h=(B(e,b)|0)+d|0;yb=g;return (c[a+4>>2]|0)+(h<<5)|0}else{h=Vf(Vf(NE(Vf(Vf(Vf(56032,34161)|0,33900)|0,35e3)|0,219)|0,35007)|0,22816)|0;GE(f,h+(c[(c[h>>2]|0)+-12>>2]|0)|0);g=VF(f,56736)|0;g=Gb[c[(c[g>>2]|0)+28>>2]&63](g,10)|0;WF(f);OE(h,g)|0;KE(h)|0;ua()}return 0}function Kg(a){a=a|0;return c[a>>2]|0}function Lg(a){a=a|0;return c[a+4>>2]|0}function Mg(a){a=a|0;return c[a+8>>2]|0}function Ng(a){a=a|0;return c[a+16>>2]|0}function Og(a){a=a|0;return c[a+20>>2]|0}function Pg(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;g=a+4|0;d=c[g>>2]|0;f=c[a>>2]|0;e=d-f>>5;if(e>>>0>=b>>>0){if(e>>>0>b>>>0){a=f+(b<<5)|0;while(1){if((d|0)==(a|0))break;f=d+-32|0;pq(f);d=f}c[g>>2]=a}}else Qg(a,b-e|0);return}function Qg(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;i=yb;yb=yb+32|0;f=i;g=a+8|0;h=a+4|0;d=c[h>>2]|0;do if((c[g>>2]|0)-d>>5>>>0>>0){d=(d-(c[a>>2]|0)>>5)+b|0;e=Sg(a)|0;if(e>>>0>>0)CO(a);else{j=c[a>>2]|0;k=(c[g>>2]|0)-j|0;g=k>>4;Tg(f,k>>5>>>0>>1>>>0?(g>>>0>>0?d:g):e,(c[h>>2]|0)-j>>5,a+8|0);Ug(f,b);Vg(a,f);Wg(f);break}}else Rg(a,b);while(0);yb=i;return}function Rg(a,b){a=a|0;b=b|0;var d=0;d=a+4|0;a=b;b=c[d>>2]|0;do{Yp(b);b=(c[d>>2]|0)+32|0;c[d>>2]=b;a=a+-1|0}while((a|0)!=0);return}function Sg(a){a=a|0;return 134217727}function Tg(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=a+12|0;c[f>>2]=0;c[a+16>>2]=e;do if(b)if(b>>>0>134217727){f=O(8)|0;bO(f,37409);c[f>>2]=16392;Q(f|0,13960,22)}else{e=rB(b<<5)|0;break}else e=0;while(0);c[a>>2]=e;d=e+(d<<5)|0;c[a+8>>2]=d;c[a+4>>2]=d;c[f>>2]=e+(b<<5);return}function Ug(a,b){a=a|0;b=b|0;var d=0;d=a+8|0;a=b;b=c[d>>2]|0;do{Yp(b);b=(c[d>>2]|0)+32|0;c[d>>2]=b;a=a+-1|0}while((a|0)!=0);return}function Vg(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;e=c[a>>2]|0;f=a+4|0;g=b+4|0;d=c[f>>2]|0;while(1){if((d|0)==(e|0))break;h=d+-32|0;$p((c[g>>2]|0)+-32|0,h);c[g>>2]=(c[g>>2]|0)+-32;d=h}e=c[a>>2]|0;c[a>>2]=c[g>>2];c[g>>2]=e;e=b+8|0;h=c[f>>2]|0;c[f>>2]=c[e>>2];c[e>>2]=h;e=a+8|0;h=b+12|0;f=c[e>>2]|0;c[e>>2]=c[h>>2];c[h>>2]=f;c[b>>2]=c[g>>2];return}function Wg(a){a=a|0;var b=0,d=0,e=0;b=c[a+4>>2]|0;d=a+8|0;while(1){e=c[d>>2]|0;if((e|0)==(b|0))break;e=e+-32|0;c[d>>2]=e;pq(e)}b=c[a>>2]|0;if(b|0)Nf(b,(c[a+12>>2]|0)-b|0);return}function Xg(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;h=yb;yb=yb+16|0;d=h;if((c[a+4>>2]|0)==(c[a>>2]|0)){g=Vf(Vf(NE(Vf(Vf(Vf(56032,22835)|0,22676)|0,35e3)|0,72)|0,35007)|0,22877)|0;GE(d,g+(c[(c[g>>2]|0)+-12>>2]|0)|0);f=VF(d,56736)|0;f=Gb[c[(c[f>>2]|0)+28>>2]&63](f,10)|0;WF(d);OE(g,f)|0;KE(g)|0;ua()}if((Ng(b)|0)<=0){g=Vf(Vf(NE(Vf(Vf(Vf(56032,22918)|0,22676)|0,35e3)|0,73)|0,35007)|0,22967)|0;GE(d,g+(c[(c[g>>2]|0)+-12>>2]|0)|0);f=VF(d,56736)|0;f=Gb[c[(c[f>>2]|0)+28>>2]&63](f,10)|0;WF(d);OE(g,f)|0;KE(g)|0;ua()}if(b|0?LA(b,13184,13192,0)|0:0){f=a+12|0;g=a+16|0;e=0;while(1){if(e>>>0>=(c[f>>2]|0)>>>0)break;d=0;while(1){if(d>>>0>=(c[g>>2]|0)>>>0)break;k=Yg(a,e,d)|0;j=Jg(b,e,d)|0;i=d+1|0;Zg(0,k,j,Jg(b,e,i)|0);d=i}e=e+1|0}yb=h;return}k=Vf(Vf(NE(Vf(Vf(Vf(56032,23003)|0,22676)|0,35e3)|0,74)|0,35007)|0,23075)|0;GE(d,k+(c[(c[k>>2]|0)+-12>>2]|0)|0);j=VF(d,56736)|0;j=Gb[c[(c[j>>2]|0)+28>>2]&63](j,10)|0;WF(d);OE(k,j)|0;KE(k)|0;ua()}function Yg(a,b,d){a=a|0;b=b|0;d=d|0;d=(B(c[a+16>>2]|0,b)|0)+d|0;return (c[a>>2]|0)+(d<<5)|0}function Zg(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var g=0,h=0,i=0,j=0,k=0;k=yb;yb=yb+16|0;a=k;if((Kg(b)|0)!=2){j=Vf(Vf(NE(Vf(Vf(Vf(56032,23110)|0,22676)|0,35e3)|0,86)|0,35007)|0,23155)|0;GE(a,j+(c[(c[j>>2]|0)+-12>>2]|0)|0);i=VF(a,56736)|0;i=Gb[c[(c[i>>2]|0)+28>>2]&63](i,10)|0;WF(a);OE(j,i)|0;KE(j)|0;ua()}if((Kg(d)|0)!=2){j=Vf(Vf(NE(Vf(Vf(Vf(56032,23181)|0,22676)|0,35e3)|0,87)|0,35007)|0,23155)|0;GE(a,j+(c[(c[j>>2]|0)+-12>>2]|0)|0);i=VF(a,56736)|0;i=Gb[c[(c[i>>2]|0)+28>>2]&63](i,10)|0;WF(a);OE(j,i)|0;KE(j)|0;ua()}if((Kg(e)|0)!=2){j=Vf(Vf(NE(Vf(Vf(Vf(56032,23228)|0,22676)|0,35e3)|0,88)|0,35007)|0,23155)|0;GE(a,j+(c[(c[j>>2]|0)+-12>>2]|0)|0);i=VF(a,56736)|0;i=Gb[c[(c[i>>2]|0)+28>>2]&63](i,10)|0;WF(a);OE(j,i)|0;KE(j)|0;ua()}if((_g(b)|0)!=1){j=Vf(Vf(NE(Vf(Vf(Vf(56032,23275)|0,22676)|0,35e3)|0,89)|0,35007)|0,23316)|0;GE(a,j+(c[(c[j>>2]|0)+-12>>2]|0)|0);i=VF(a,56736)|0;i=Gb[c[(c[i>>2]|0)+28>>2]&63](i,10)|0;WF(a);OE(j,i)|0;KE(j)|0;ua()}if((_g(d)|0)!=1){j=Vf(Vf(NE(Vf(Vf(Vf(56032,23353)|0,22676)|0,35e3)|0,90)|0,35007)|0,23316)|0;GE(a,j+(c[(c[j>>2]|0)+-12>>2]|0)|0);i=VF(a,56736)|0;i=Gb[c[(c[i>>2]|0)+28>>2]&63](i,10)|0;WF(a);OE(j,i)|0;KE(j)|0;ua()}if((_g(e)|0)!=1){j=Vf(Vf(NE(Vf(Vf(Vf(56032,23396)|0,22676)|0,35e3)|0,91)|0,35007)|0,23316)|0;GE(a,j+(c[(c[j>>2]|0)+-12>>2]|0)|0);i=VF(a,56736)|0;i=Gb[c[(c[i>>2]|0)+28>>2]&63](i,10)|0;WF(a);OE(j,i)|0;KE(j)|0;ua()}j=Lg(b)|0;if((j|0)!=(Lg(e)|0)){j=Vf(Vf(NE(Vf(Vf(Vf(56032,23439)|0,22676)|0,35e3)|0,92)|0,35007)|0,23487)|0;GE(a,j+(c[(c[j>>2]|0)+-12>>2]|0)|0);i=VF(a,56736)|0;i=Gb[c[(c[i>>2]|0)+28>>2]&63](i,10)|0;WF(a);OE(j,i)|0;KE(j)|0;ua()}j=Mg(b)|0;if((j|0)!=(Mg(e)|0)){j=Vf(Vf(NE(Vf(Vf(Vf(56032,23519)|0,22676)|0,35e3)|0,93)|0,35007)|0,23569)|0;GE(a,j+(c[(c[j>>2]|0)+-12>>2]|0)|0);i=VF(a,56736)|0;i=Gb[c[(c[i>>2]|0)+28>>2]&63](i,10)|0;WF(a);OE(j,i)|0;KE(j)|0;ua()}j=Lg(d)|0;if((j|0)!=(Lg(e)|0)){j=Vf(Vf(NE(Vf(Vf(Vf(56032,23602)|0,22676)|0,35e3)|0,94)|0,35007)|0,23487)|0;GE(a,j+(c[(c[j>>2]|0)+-12>>2]|0)|0);i=VF(a,56736)|0;i=Gb[c[(c[i>>2]|0)+28>>2]&63](i,10)|0;WF(a);OE(j,i)|0;KE(j)|0;ua()}j=Mg(d)|0;if((j|0)!=(Mg(e)|0)){j=Vf(Vf(NE(Vf(Vf(Vf(56032,23652)|0,22676)|0,35e3)|0,95)|0,35007)|0,23569)|0;GE(a,j+(c[(c[j>>2]|0)+-12>>2]|0)|0);i=VF(a,56736)|0;i=Gb[c[(c[i>>2]|0)+28>>2]&63](i,10)|0;WF(a);OE(j,i)|0;KE(j)|0;ua()}g=0;while(1){if(g>>>0>=(Mg(d)|0)>>>0)break;h=$g(b,g)|0;i=ah(d,g)|0;j=ah(e,g)|0;a=0;while(1){if(a>>>0>=(Lg(d)|0)>>>0)break;f[h+(a<<2)>>2]=+f[i+(a<<2)>>2]-+f[j+(a<<2)>>2];a=a+1|0}g=g+1|0}yb=k;return}function _g(a){a=a|0;return c[a+16>>2]|0}function $g(a,b){a=a|0;b=b|0;var d=0,e=0;e=yb;yb=yb+16|0;d=e;if((c[a+8>>2]|0)>>>0>b>>>0){d=(c[a+24>>2]|0)+(B(c[a+12>>2]|0,b)|0)|0;yb=e;return d|0}else{e=Vf(Vf(NE(Vf(Vf(Vf(56032,23704)|0,23741)|0,35e3)|0,119)|0,35007)|0,23811)|0;GE(d,e+(c[(c[e>>2]|0)+-12>>2]|0)|0);b=VF(d,56736)|0;b=Gb[c[(c[b>>2]|0)+28>>2]&63](b,10)|0;WF(d);OE(e,b)|0;KE(e)|0;ua()}return 0}function ah(a,b){a=a|0;b=b|0;var d=0,e=0;e=yb;yb=yb+16|0;d=e;if((c[a+8>>2]|0)>>>0>b>>>0){d=(c[a+24>>2]|0)+(B(c[a+12>>2]|0,b)|0)|0;yb=e;return d|0}else{e=Vf(Vf(NE(Vf(Vf(Vf(56032,23704)|0,23741)|0,35e3)|0,124)|0,35007)|0,23811)|0;GE(d,e+(c[(c[e>>2]|0)+-12>>2]|0)|0);b=VF(d,56736)|0;b=Gb[c[(c[b>>2]|0)+28>>2]&63](b,10)|0;WF(d);OE(e,b)|0;KE(e)|0;ua()}return 0}function bh(b){b=b|0;var d=0;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=10;c[b+12>>2]=10;c[b+16>>2]=0;c[b+20>>2]=0;c[b+24>>2]=0;a[b+28>>0]=1;Gg(b+32|0);f[b+52>>2]=0.0;f[b+56>>2]=10.0;d=b+60|0;c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;c[d+12>>2]=0;c[d+16>>2]=0;c[d+20>>2]=0;f[b+88>>2]=9.0;qj(b+92|0);d=b+144|0;c[d>>2]=0;c[b+148>>2]=0;c[b+152>>2]=0;ch(b,5e3);dh(d,36);return}function ch(a,b){a=a|0;b=b|0;c[a+84>>2]=b;sh(a+60|0,b);return}function dh(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=a+4|0;f=c[a>>2]|0;e=(c[d>>2]|0)-f>>2;if(e>>>0>=b>>>0){if(e>>>0>b>>>0)c[d>>2]=f+(b<<2)}else lh(a,b-e|0);return}function eh(a){a=a|0;var b=0,d=0;b=c[a>>2]|0;d=b;if(b|0){c[a+4>>2]=d;Nf(b,(c[a+8>>2]|0)-d|0)}return}function fh(a){a=a|0;var b=0,d=0;b=c[a>>2]|0;d=b;if(b|0){c[a+4>>2]=d;Nf(b,(c[a+8>>2]|0)-d|0)}return}function gh(a){a=a|0;kh(a);return}function hh(a){a=a|0;var b=0,d=0,e=0,f=0;d=c[a>>2]|0;if(d|0){e=a+4|0;b=c[e>>2]|0;while(1){if((b|0)==(d|0))break;f=b+-12|0;ih(f);b=f}c[e>>2]=d;f=c[a>>2]|0;Nf(f,(c[a+8>>2]|0)-f|0)}return}function ih(a){a=a|0;var b=0,d=0,e=0,f=0;d=c[a>>2]|0;if(d|0){e=a+4|0;b=c[e>>2]|0;while(1){if((b|0)==(d|0))break;f=b+-12|0;jh(f);b=f}c[e>>2]=d;f=c[a>>2]|0;Nf(f,(c[a+8>>2]|0)-f|0)}return}function jh(a){a=a|0;var b=0,d=0;b=c[a>>2]|0;d=b;if(b|0){c[a+4>>2]=d;Nf(b,(c[a+8>>2]|0)-d|0)}return}function kh(a){a=a|0;var b=0,d=0,e=0,f=0;d=c[a>>2]|0;if(d|0){e=a+4|0;b=c[e>>2]|0;while(1){if((b|0)==(d|0))break;f=b+-32|0;pq(f);b=f}c[e>>2]=d;f=c[a>>2]|0;Nf(f,(c[a+8>>2]|0)-f|0)}return}function lh(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;i=yb;yb=yb+32|0;f=i;g=a+8|0;h=a+4|0;d=c[h>>2]|0;do if((c[g>>2]|0)-d>>2>>>0>>0){d=(d-(c[a>>2]|0)>>2)+b|0;e=nh(a)|0;if(e>>>0>>0)CO(a);else{j=c[a>>2]|0;k=(c[g>>2]|0)-j|0;g=k>>1;oh(f,k>>2>>>0>>1>>>0?(g>>>0>>0?d:g):e,(c[h>>2]|0)-j>>2,a+8|0);ph(f,b);qh(a,f);rh(f);break}}else mh(a,b);while(0);yb=i;return}function mh(a,b){a=a|0;b=b|0;var d=0;a=a+4|0;d=c[a>>2]|0;_O(d|0,0,b<<2|0)|0;c[a>>2]=d+(b<<2);return}function nh(a){a=a|0;return 1073741823}function oh(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=a+12|0;c[f>>2]=0;c[a+16>>2]=e;do if(b)if(b>>>0>1073741823){f=O(8)|0;bO(f,37409);c[f>>2]=16392;Q(f|0,13960,22)}else{e=rB(b<<2)|0;break}else e=0;while(0);c[a>>2]=e;d=e+(d<<2)|0;c[a+8>>2]=d;c[a+4>>2]=d;c[f>>2]=e+(b<<2);return}function ph(a,b){a=a|0;b=b|0;var d=0;a=a+8|0;d=c[a>>2]|0;_O(d|0,0,b<<2|0)|0;c[a>>2]=d+(b<<2);return}function qh(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;e=c[a>>2]|0;h=a+4|0;g=b+4|0;f=(c[h>>2]|0)-e|0;d=(c[g>>2]|0)+(0-(f>>2)<<2)|0;c[g>>2]=d;if((f|0)>0){YO(d|0,e|0,f|0)|0;e=g;d=c[g>>2]|0}else e=g;g=c[a>>2]|0;c[a>>2]=d;c[e>>2]=g;g=b+8|0;f=c[h>>2]|0;c[h>>2]=c[g>>2];c[g>>2]=f;g=a+8|0;h=b+12|0;a=c[g>>2]|0;c[g>>2]=c[h>>2];c[h>>2]=a;c[b>>2]=c[e>>2];return}function rh(a){a=a|0;var b=0,d=0,e=0,f=0;b=c[a+4>>2]|0;d=a+8|0;e=c[d>>2]|0;while(1){if((e|0)==(b|0))break;f=e+-4|0;c[d>>2]=f;e=f}b=c[a>>2]|0;if(b|0)Nf(b,(c[a+12>>2]|0)-b|0);return}function sh(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=yb;yb=yb+32|0;d=f;e=c[a>>2]|0;if((((c[a+8>>2]|0)-e|0)/36|0)>>>0>>0){th(d,b,((c[a+4>>2]|0)-e|0)/36|0,a+8|0);uh(a,d);vh(d)}yb=f;return}function th(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=a+12|0;c[f>>2]=0;c[a+16>>2]=e;do if(b)if(b>>>0>119304647){f=O(8)|0;bO(f,37409);c[f>>2]=16392;Q(f|0,13960,22)}else{e=rB(b*36|0)|0;break}else e=0;while(0);c[a>>2]=e;d=e+(d*36|0)|0;c[a+8>>2]=d;c[a+4>>2]=d;c[f>>2]=e+(b*36|0);return}function uh(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;e=c[a>>2]|0;h=a+4|0;g=b+4|0;f=(c[h>>2]|0)-e|0;d=(c[g>>2]|0)+(((f|0)/-36|0)*36|0)|0;c[g>>2]=d;if((f|0)>0){YO(d|0,e|0,f|0)|0;e=g;d=c[g>>2]|0}else e=g;g=c[a>>2]|0;c[a>>2]=d;c[e>>2]=g;g=b+8|0;f=c[h>>2]|0;c[h>>2]=c[g>>2];c[g>>2]=f;g=a+8|0;h=b+12|0;a=c[g>>2]|0;c[g>>2]=c[h>>2];c[h>>2]=a;c[b>>2]=c[e>>2];return}function vh(a){a=a|0;var b=0,d=0,e=0,f=0;b=c[a+4>>2]|0;d=a+8|0;e=c[d>>2]|0;while(1){if((e|0)==(b|0))break;f=e+-36|0;c[d>>2]=f;e=f}b=c[a>>2]|0;if(b|0)Nf(b,(c[a+12>>2]|0)-b|0);return}function wh(a){a=a|0;eh(a+144|0);rj(a+92|0);fh(a+72|0);fh(a+60|0);gh(a+32|0);hh(a+16|0);return} -function Lz(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;if((e|0)==1){g=(c[a+8>>2]|0)-(c[a+4>>2]|0)|0;b=NO(b|0,d|0,g|0,((g|0)<0)<<31>>31|0)|0;d=F()|0}f=a+20|0;g=a+28|0;if((c[f>>2]|0)>>>0>(c[g>>2]|0)>>>0?(Hb[c[a+36>>2]&63](a,0,0)|0,(c[f>>2]|0)==0):0)b=-1;else{c[a+16>>2]=0;c[g>>2]=0;c[f>>2]=0;Ib[c[a+40>>2]&15](a,b,d,e)|0;if((F()|0)<0)b=-1;else{c[a+8>>2]=0;c[a+4>>2]=0;c[a>>2]=c[a>>2]&-17;b=0}}return b|0}function Mz(a,b){a=a|0;b=b|0;return Nz(a,b,(Oy(a)|0)+1|0)|0}function Nz(b,c,d){b=b|0;c=c|0;d=d|0;a:do if(!d)d=0;else{c=c&255;while(1){d=d+-1|0;if((a[b+d>>0]|0)==c<<24>>24)break;if(!d){d=0;break a}}d=b+d|0}while(0);return d|0}function Oz(a,b,c){a=a|0;b=b|0;c=c|0;return Vy(0,a,b,(c|0)==0?55652:c)|0}function Pz(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;n=yb;yb=yb+1040|0;k=n;l=n+1024|0;j=c[b>>2]|0;c[l>>2]=j;m=(a|0)!=0;h=m?e:256;i=m?a:k;g=j;a:do if((h|0)!=0&(j|0)!=0){e=0;j=i;while(1){a=d>>>2;i=a>>>0>=h>>>0;if(!(d>>>0>131|i)){i=j;break a}a=i?h:a;d=d-a|0;a=Qz(j,l,a,f)|0;if((a|0)==-1)break;i=(j|0)==(k|0);h=h-(i?0:a)|0;i=i?j:j+(a<<2)|0;e=a+e|0;g=c[l>>2]|0;if((h|0)!=0&(g|0)!=0)j=i;else break a}e=-1;i=j;h=0;g=c[l>>2]|0}else e=0;while(0);b:do if((g|0)!=0?(h|0)!=0&(d|0)!=0:0){while(1){a=Vy(i,g,d,f)|0;if((a+2|0)>>>0<3)break;g=(c[l>>2]|0)+a|0;c[l>>2]=g;d=d-a|0;h=h+-1|0;e=e+1|0;if(!((h|0)!=0&(d|0)!=0))break b;else i=i+4|0}switch(a|0){case -1:{e=a;break b}case 0:{c[l>>2]=0;break b}default:{c[f>>2]=0;break b}}}while(0);if(m)c[b>>2]=c[l>>2];yb=n;return e|0}function Qz(b,e,f,g){b=b|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0;h=c[e>>2]|0;if((g|0)!=0?(i=c[g>>2]|0,(i|0)!=0):0)if(!b){j=h;g=f;l=26}else{c[g>>2]=0;k=f;j=h;l=48}else l=5;a:do if((l|0)==5){g=(b|0)!=0;if(c[c[(Rz()|0)+188>>2]>>2]|0)if(g){g=f;l=33;break}else{g=f;l=15;break}if(!g){f=Oy(h)|0;l=63;break}b:do if(f){g=f;while(1){i=a[h>>0]|0;if(!(i<<24>>24))break;h=h+1|0;c[b>>2]=i<<24>>24&57343;g=g+-1|0;if(!g)break b;else b=b+4|0}c[b>>2]=0;c[e>>2]=0;f=f-g|0;l=63;break a}while(0);c[e>>2]=h;l=63}while(0);c:while(1){d:do if((l|0)==15){while(1){i=a[h>>0]|0;if(((i&255)+-1|0)>>>0<127?(h&3|0)==0:0){l=c[h>>2]|0;i=l&255;if(!((l+-16843009|l)&-2139062144)){do{h=h+4|0;g=g+-4|0;i=c[h>>2]|0}while(!((i+-16843009|i)&-2139062144|0));i=i&255}}i=i&255;if((i+-1|0)>>>0>=127)break;g=g+-1|0;h=h+1|0}i=i+-194|0;if(i>>>0>50)l=57;else{i=c[5728+(i<<2)>>2]|0;j=h+1|0;l=26;continue c}}else if((l|0)==26){l=(d[j>>0]|0)>>>3;if((l+-16|l+(i>>26))>>>0>7){h=j;l=56}else{h=j+1|0;if(i&33554432){if((a[h>>0]&-64)<<24>>24!=-128){h=j;l=56;break}h=j+2|0;if(i&524288){if((a[h>>0]&-64)<<24>>24!=-128){h=j;l=56;break}h=j+3|0}}g=g+-1|0;l=15;continue c}}else if((l|0)==33){l=0;e:do if(g){while(1){i=d[h>>0]|0;j=i+-1|0;if(j>>>0<127){if((h&3|0)==0&g>>>0>4){while(1){i=c[h>>2]|0;if((i+-16843009|i)&-2139062144|0){l=42;break}c[b>>2]=i&255;c[b+4>>2]=d[h+1>>0];c[b+8>>2]=d[h+2>>0];j=h+4|0;i=b+16|0;c[b+12>>2]=d[h+3>>0];g=g+-4|0;if(g>>>0>4){b=i;h=j}else{l=41;break}}if((l|0)==41){b=i;h=j;i=a[j>>0]|0}else if((l|0)==42)i=i&255;i=i&255;j=i+-1|0;l=44}}else l=44;if((l|0)==44){l=0;if(j>>>0>=127)break}h=h+1|0;c[b>>2]=i;g=g+-1|0;if(!g)break e;else b=b+4|0}i=i+-194|0;if(i>>>0>50){l=57;break d}i=c[5728+(i<<2)>>2]|0;k=g;j=h+1|0;l=48;continue c}while(0);c[e>>2]=h;l=63;continue c}else if((l|0)==48){l=0;g=d[j>>0]|0;h=g>>>3;if((h+-16|h+(i>>26))>>>0>7){h=j;g=k;l=56}else{h=j+1|0;g=g+-128|i<<6;do if((g|0)<0){i=(d[h>>0]|0)+-128|0;if(i>>>0<=63){h=j+2|0;g=i|g<<6;if((g|0)>=0)break;i=(d[h>>0]|0)+-128|0;if(i>>>0<=63){h=j+3|0;g=i|g<<6;break}}c[(mx()|0)>>2]=25;h=j+-1|0;break d}while(0);c[b>>2]=g;b=b+4|0;g=k+-1|0;l=33;continue c}}else if((l|0)==63)return f|0;while(0);if((l|0)==56){h=h+-1|0;if(!i)l=57;else{f=b;l=61}}if((l|0)==57)if(!(a[h>>0]|0)){if(b|0){c[b>>2]=0;c[e>>2]=0}f=f-g|0;l=63;continue}else{f=b;l=61}if((l|0)==61){c[(mx()|0)>>2]=25;if(!f){f=-1;l=63;continue}}c[e>>2]=h;f=-1;l=63}return 0}function Rz(){return _x()|0}function Sz(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0;l=yb;yb=yb+272|0;i=l;j=l+256|0;f=c[b>>2]|0;c[j>>2]=f;k=(a|0)!=0;g=k?e:256;h=k?a:i;e=f;a:do if((g|0)!=0&(f|0)!=0){f=0;a=e;while(1){e=d>>>0>=g>>>0;if(!(e|d>>>0>32)){e=a;break a}e=e?g:d;d=d-e|0;e=Tz(h,j,e,0)|0;if((e|0)==-1)break;a=(h|0)==(i|0);g=g-(a?0:e)|0;h=a?h:h+e|0;f=e+f|0;e=c[j>>2]|0;if((g|0)!=0&(e|0)!=0)a=e;else break a}f=-1;g=0;e=c[j>>2]|0}else f=0;while(0);b:do if((e|0)!=0?(g|0)!=0&(d|0)!=0:0){while(1){a=Yx(h,c[e>>2]|0,0)|0;if((a+1|0)>>>0<2)break;e=(c[j>>2]|0)+4|0;c[j>>2]=e;d=d+-1|0;g=g-a|0;f=a+f|0;if(!((g|0)!=0&(d|0)!=0))break b;else h=h+a|0}if(!a)c[j>>2]=0;else f=-1}while(0);if(k)c[b>>2]=c[j>>2];yb=l;return f|0}function Tz(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0;j=yb;yb=yb+16|0;i=j;a:do if(!b){e=c[d>>2]|0;f=c[e>>2]|0;if(!f)e=0;else{b=e;e=0;do{if(f>>>0>127){f=Yx(i,f,0)|0;if((f|0)==-1){e=-1;break a}}else f=1;e=f+e|0;b=b+4|0;f=c[b>>2]|0}while((f|0)!=0)}}else{b:do if(e>>>0>3){f=e;g=c[d>>2]|0;while(1){h=c[g>>2]|0;if((h+-1|0)>>>0>126){if(!h)break;h=Yx(b,h,0)|0;if((h|0)==-1){e=-1;break a}b=b+h|0;f=f-h|0}else{a[b>>0]=h;b=b+1|0;f=f+-1|0;g=c[d>>2]|0}g=g+4|0;c[d>>2]=g;if(f>>>0<=3)break b}a[b>>0]=0;c[d>>2]=0;e=e-f|0;break a}else f=e;while(0);if(f){g=c[d>>2]|0;while(1){h=c[g>>2]|0;if((h+-1|0)>>>0>126){if(!h){g=20;break}h=Yx(i,h,0)|0;if((h|0)==-1){e=-1;break a}if(f>>>0>>0){g=23;break}Yx(b,c[g>>2]|0,0)|0;b=b+h|0;f=f-h|0}else{a[b>>0]=h;b=b+1|0;f=f+-1|0;g=c[d>>2]|0}g=g+4|0;c[d>>2]=g;if(!f)break a}if((g|0)==20){a[b>>0]=0;c[d>>2]=0;e=e-f|0;break}else if((g|0)==23){e=e-f|0;break}}}while(0);yb=j;return e|0}function Uz(a,b,c){a=a|0;b=b|0;c=c|0;Vz(a,b,c)|0;return a|0}function Vz(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;g=d;a:do if(!((g^b)&3)){f=(e|0)!=0;if(f&(g&3|0)!=0)do{g=a[d>>0]|0;a[b>>0]=g;if(!(g<<24>>24))break a;e=e+-1|0;d=d+1|0;b=b+1|0;f=(e|0)!=0}while(f&(d&3|0)!=0);if(f){if(a[d>>0]|0){b:do if(e>>>0>3){f=d;while(1){d=c[f>>2]|0;if((d&-2139062144^-2139062144)&d+-16843009|0){d=f;break b}c[b>>2]=d;e=e+-4|0;d=f+4|0;b=b+4|0;if(e>>>0>3)f=d;else break}}while(0);h=13}}else e=0}else h=13;while(0);c:do if((h|0)==13)if(!e)e=0;else while(1){h=a[d>>0]|0;a[b>>0]=h;if(!(h<<24>>24))break c;e=e+-1|0;b=b+1|0;if(!e){e=0;break}else d=d+1|0}while(0);_O(b|0,0,e|0)|0;return b|0}function Wz(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;g=yb;yb=yb+32|0;f=g;c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=0;c[f+12>>2]=0;c[f+16>>2]=0;c[f+20>>2]=0;c[f+24>>2]=0;c[f+28>>2]=0;e=a[d>>0]|0;do if(!(e<<24>>24))d=0;else{if(!(a[d+1>>0]|0)){d=b;while(1)if((a[d>>0]|0)==e<<24>>24)d=d+1|0;else break;d=d-b|0;break}do{i=e&255;h=f+(i>>>5<<2)|0;c[h>>2]=c[h>>2]|1<<(i&31);d=d+1|0;e=a[d>>0]|0}while(e<<24>>24!=0);e=a[b>>0]|0;a:do if(!(e<<24>>24))d=b;else{d=b;do{i=e&255;if(!(c[f+(i>>>5<<2)>>2]&1<<(i&31)))break a;d=d+1|0;e=a[d>>0]|0}while(e<<24>>24!=0)}while(0);d=d-b|0}while(0);yb=g;return d|0}function Xz(a){a=a|0;var b=0,e=0,f=0;if((c[a+76>>2]|0)>=0?(Nx(a)|0)!=0:0){b=a+4|0;e=c[b>>2]|0;if(e>>>0<(c[a+8>>2]|0)>>>0){c[b>>2]=e+1;b=d[e>>0]|0}else b=yx(a)|0}else f=3;do if((f|0)==3){b=a+4|0;e=c[b>>2]|0;if(e>>>0<(c[a+8>>2]|0)>>>0){c[b>>2]=e+1;b=d[e>>0]|0;break}else{b=yx(a)|0;break}}while(0);return b|0}function Yz(a){a=a|0;var b=0;b=54792;c[b>>2]=a+-1;c[b+4>>2]=0;return}function Zz(){var a=0,b=0,d=0;b=54792;b=LO(c[b>>2]|0,c[b+4>>2]|0,1284865837,1481765933)|0;b=MO(b|0,F()|0,1,0)|0;a=F()|0;d=54792;c[d>>2]=b;c[d+4>>2]=a;a=RO(b|0,a|0,33)|0;F()|0;return a|0}function _z(a,b){a=a|0;b=b|0;az(a+(Oy(a)|0)|0,b)|0;return a|0}function $z(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;h=yb;yb=yb+16|0;e=h;c[e>>2]=c[d>>2];e=Hx(0,0,b,e)|0;if((e|0)>=0?(f=e+1|0,g=DO(f)|0,c[a>>2]=g,(g|0)!=0):0)a=Hx(g,f,b,d)|0;else a=-1;yb=h;return a|0}function aA(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;do if((b|0)!=-1){if((c[d+76>>2]|0)>-1)g=Nx(d)|0;else g=0;h=d+4|0;e=c[h>>2]|0;if(!e){zx(d)|0;e=c[h>>2]|0;if(e|0){f=e;i=6}}else{f=e;i=6}if((i|0)==6?f>>>0>((c[d+44>>2]|0)+-8|0)>>>0:0){i=f+-1|0;c[h>>2]=i;a[i>>0]=b;c[d>>2]=c[d>>2]&-17;if(!g)break;Ox(d);break}if(g){Ox(d);b=-1}else b=-1}else b=-1;while(0);return b|0}function bA(a){a=a|0;var b=0,d=0,e=0;if((c[a+76>>2]|0)>-1){e=(Nx(a)|0)==0;d=cA(a)|0;b=F()|0;if(e)a=d;else{Ox(a);a=d}}else{a=cA(a)|0;b=F()|0}E(b|0);return a|0}function cA(a){a=a|0;var b=0,d=0,e=0;if(!(c[a>>2]&128))b=1;else b=(c[a+20>>2]|0)>>>0>(c[a+28>>2]|0)>>>0?2:1;b=Ib[c[a+40>>2]&15](a,0,0,b)|0;d=F()|0;if((d|0)>=0){e=(c[a+8>>2]|0)-(c[a+4>>2]|0)|0;e=NO(b|0,d|0,e|0,((e|0)<0)<<31>>31|0)|0;d=F()|0;b=(c[a+20>>2]|0)-(c[a+28>>2]|0)|0;b=MO(e|0,d|0,b|0,((b|0)<0)<<31>>31|0)|0;d=F()|0}E(d|0);return b|0}function dA(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;if((c[d+76>>2]|0)>=0?(Nx(d)|0)!=0:0){f=b&255;e=b&255;if((e|0)!=(a[d+75>>0]|0)?(i=d+20|0,j=c[i>>2]|0,j>>>0<(c[d+16>>2]|0)>>>0):0){c[i>>2]=j+1;a[j>>0]=f}else e=mz(d,b)|0;Ox(d)}else k=3;do if((k|0)==3){f=b&255;e=b&255;if((e|0)!=(a[d+75>>0]|0)?(g=d+20|0,h=c[g>>2]|0,h>>>0<(c[d+16>>2]|0)>>>0):0){c[g>>2]=h+1;a[h>>0]=f;break}e=mz(d,b)|0}while(0);return e|0}function eA(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0;k=B(e,d)|0;e=(d|0)==0?0:e;if((c[f+76>>2]|0)>-1)j=Nx(f)|0;else j=0;g=f+74|0;h=a[g>>0]|0;a[g>>0]=h+255|h;g=f+4|0;h=c[g>>2]|0;i=(c[f+8>>2]|0)-h|0;if((i|0)>0){i=i>>>0>>0?i:k;YO(b|0,h|0,i|0)|0;c[g>>2]=(c[g>>2]|0)+i;g=k-i|0;b=b+i|0}else g=k;a:do if(!g)l=13;else{i=f+32|0;while(1){if(zx(f)|0)break;h=Hb[c[i>>2]&63](f,b,g)|0;if((h+1|0)>>>0<2)break;g=g-h|0;if(!g){l=13;break a}else b=b+h|0}if(j|0)Ox(f);e=((k-g|0)>>>0)/(d>>>0)|0}while(0);if((l|0)==13)if(j)Ox(f);return e|0}function fA(a){a=a|0;var b=0;a=bA(a)|0;b=F()|0;if((b|0)>0|(b|0)==0&a>>>0>2147483647){c[(mx()|0)>>2]=61;a=-1}return a|0}function gA(a){a=a|0;var b=0;if((c[a+76>>2]|0)>-1){b=(Nx(a)|0)==0;Lz(a,0,0,0)|0;c[a>>2]=c[a>>2]&-33;if(!b)Ox(a)}else{Lz(a,0,0,0)|0;c[a>>2]=c[a>>2]&-33}return}function hA(a,b){a=a|0;b=b|0;return +(+iA(a,b,1))}function iA(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0.0,g=0,h=0,i=0;g=yb;yb=yb+144|0;e=g;_O(e|0,0,144)|0;i=e+4|0;c[i>>2]=a;h=e+8|0;c[h>>2]=-1;c[e+44>>2]=a;c[e+76>>2]=-1;ux(e,0,0);f=+By(e,d,1);e=e+120|0;d=(c[i>>2]|0)-(c[h>>2]|0)|0;d=MO(c[e>>2]|0,c[e+4>>2]|0,d|0,((d|0)<0)<<31>>31|0)|0;e=F()|0;if(b|0)c[b>>2]=(d|0)==0&(e|0)==0?a:a+d|0;yb=g;return +f}function jA(b){b=b|0;var c=0,d=0,e=0,f=0,g=0;while(1){e=b+1|0;if(!(xx(a[b>>0]|0)|0))break;else b=e}d=a[b>>0]|0;switch(d|0){case 45:{b=1;f=5;break}case 43:{b=0;f=5;break}default:{g=0;c=b;b=d}}if((f|0)==5){g=b;c=e;b=a[e>>0]|0}if(!(Ex(b)|0))b=0;else{b=0;do{b=(b*10|0)+48-(a[c>>0]|0)|0;c=c+1|0}while((Ex(a[c>>0]|0)|0)!=0)}return ((g|0)==0?0-b|0:b)|0}function kA(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;h=yb;yb=yb+32|0;f=h;e=a[d>>0]|0;a:do if(e<<24>>24!=0?(a[d+1>>0]|0)!=0:0){_O(f|0,0,32)|0;e=a[d>>0]|0;if(e<<24>>24)do{j=e&255;i=f+(j>>>5<<2)|0;c[i>>2]=c[i>>2]|1<<(j&31);d=d+1|0;e=a[d>>0]|0}while(e<<24>>24!=0);d=a[b>>0]|0;if(!(d<<24>>24))e=b;else{e=b;do{j=d&255;if(c[f+(j>>>5<<2)>>2]&1<<(j&31)|0)break a;e=e+1|0;d=a[e>>0]|0}while(d<<24>>24!=0)}}else g=3;while(0);if((g|0)==3)e=Ry(b,e<<24>>24)|0;yb=h;return e-b|0}function lA(a,b){a=a|0;b=b|0;return +(+iA(a,b,0))}function mA(a,b){a=a|0;b=b|0;return +(+iA(a,b,2))}function nA(a,b,c){a=a|0;b=b|0;c=c|0;return +(+lA(a,b))}function oA(a,b,c){a=a|0;b=b|0;c=c|0;return +(+hA(a,b))}function pA(a,b,c){a=a|0;b=b|0;c=c|0;return +(+mA(a,b))}function qA(b,c,d){b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=b+(Oy(b)|0)|0;a:do if(d)while(1){g=a[c>>0]|0;if(!(g<<24>>24))break a;d=d+-1|0;f=e+1|0;a[e>>0]=g;if(!d){e=f;break}else{c=c+1|0;e=f}}while(0);a[e>>0]=0;return b|0}function rA(b,d){b=b|0;d=d|0;var e=0;if(!b){b=c[13914]|0;if(!b)b=0;else e=3}else e=3;do if((e|0)==3){b=b+(Wz(b,d)|0)|0;if(!(a[b>>0]|0)){c[13914]=0;b=0;break}d=b+(kA(b,d)|0)|0;c[13914]=d;if(!(a[d>>0]|0)){c[13914]=0;break}else{c[13914]=d+1;a[d>>0]=0;break}}while(0);return b|0}function sA(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;if(d|0){e=a;while(1){d=d+-1|0;c[e>>2]=b;if(!d)break;else e=e+4|0}}return a|0}function tA(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;if(a-b>>2>>>0>=d>>>0){if(d|0){e=a;while(1){d=d+-1|0;c[e>>2]=c[b>>2];if(!d)break;else{b=b+4|0;e=e+4|0}}}}else do{d=d+-1|0;c[a+(d<<2)>>2]=c[b+(d<<2)>>2]}while((d|0)!=0);return a|0}function uA(){var a=0,b=0,d=0,e=0,f=0,g=0,h=0;e=yb;yb=yb+48|0;g=e+32|0;b=e+24|0;h=e+16|0;f=e;e=e+36|0;a=vA()|0;if(a|0?(d=c[a>>2]|0,d|0):0){a=d+48|0;if(!(wA(a)|0)){c[b>>2]=46910;yA(46860,b)}b=xA(a)|0;if((b|0)==1126902529&(F()|0)==1129074247)a=c[d+44>>2]|0;else a=d+80|0;c[e>>2]=a;d=c[d>>2]|0;a=c[d+4>>2]|0;if(Hb[c[(c[3470]|0)+16>>2]&63](13880,d,e)|0){h=c[e>>2]|0;h=Eb[c[(c[h>>2]|0)+8>>2]&127](h)|0;c[f>>2]=46910;c[f+4>>2]=a;c[f+8>>2]=h;yA(46774,f)}else{c[h>>2]=46910;c[h+4>>2]=a;yA(46819,h)}}yA(46898,g)}function vA(){return 55660}function wA(a){a=a|0;return 0}function xA(a){a=a|0;E(0);return 0}function yA(a,b){a=a|0;b=b|0;var d=0;d=yb;yb=yb+16|0;c[d>>2]=b;b=c[4001]|0;Ix(b,a,d)|0;dA(10,b)|0;ua()}function zA(a){a=a|0;return}function AA(a){a=a|0;zA(a);QA(a);return}function BA(a){a=a|0;return}function CA(a){a=a|0;return}function DA(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;l=yb;yb=yb+64|0;j=l;if(!(HA(d,e,0)|0))if((e|0)!=0?(k=LA(e,13904,13888,0)|0,(k|0)!=0):0){c[j>>2]=k;c[j+4>>2]=0;c[j+8>>2]=d;c[j+12>>2]=-1;d=j+16|0;e=j+24|0;g=j+48|0;h=d;i=h+36|0;do{c[h>>2]=0;h=h+4|0}while((h|0)<(i|0));b[d+36>>1]=0;a[d+38>>0]=0;c[g>>2]=1;Vb[c[(c[k>>2]|0)+28>>2]&31](k,j,c[f>>2]|0,1);if((c[e>>2]|0)==1){c[f>>2]=c[d>>2];d=1}else d=0}else d=0;else d=1;yb=l;return d|0}function EA(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(HA(a,c[b+8>>2]|0,g)|0)KA(0,b,d,e,f);return}function FA(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;do if(!(HA(b,c[d+8>>2]|0,g)|0)){if(HA(b,c[d>>2]|0,g)|0){if((c[d+16>>2]|0)!=(e|0)?(h=d+20|0,(c[h>>2]|0)!=(e|0)):0){c[d+32>>2]=f;c[h>>2]=e;g=d+40|0;c[g>>2]=(c[g>>2]|0)+1;if((c[d+36>>2]|0)==1?(c[d+24>>2]|0)==2:0)a[d+54>>0]=1;c[d+44>>2]=4;break}if((f|0)==1)c[d+32>>2]=1}}else JA(0,d,e,f);while(0);return}function GA(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;if(HA(a,c[b+8>>2]|0,0)|0)IA(0,b,d,e);return}function HA(a,b,d){a=a|0;b=b|0;d=d|0;if(d)a=(Dx(c[a+4>>2]|0,c[b+4>>2]|0)|0)==0;else a=(a|0)==(b|0);return a|0}function IA(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0;b=d+16|0;g=c[b>>2]|0;do if(g){if((g|0)!=(e|0)){f=d+36|0;c[f>>2]=(c[f>>2]|0)+1;c[d+24>>2]=2;a[d+54>>0]=1;break}b=d+24|0;if((c[b>>2]|0)==2)c[b>>2]=f}else{c[b>>2]=e;c[d+24>>2]=f;c[d+36>>2]=1}while(0);return}function JA(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;if((c[b+4>>2]|0)==(d|0)?(f=b+28|0,(c[f>>2]|0)!=1):0)c[f>>2]=e;return}function KA(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;a[d+53>>0]=1;do if((c[d+4>>2]|0)==(f|0)){a[d+52>>0]=1;b=d+16|0;f=c[b>>2]|0;if(!f){c[b>>2]=e;c[d+24>>2]=g;c[d+36>>2]=1;if(!((g|0)==1?(c[d+48>>2]|0)==1:0))break;a[d+54>>0]=1;break}if((f|0)!=(e|0)){g=d+36|0;c[g>>2]=(c[g>>2]|0)+1;a[d+54>>0]=1;break}f=d+24|0;b=c[f>>2]|0;if((b|0)==2){c[f>>2]=g;b=g}if((b|0)==1?(c[d+48>>2]|0)==1:0)a[d+54>>0]=1}while(0);return}function LA(d,e,f,g){d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;p=yb;yb=yb+64|0;n=p;m=c[d>>2]|0;o=d+(c[m+-8>>2]|0)|0;m=c[m+-4>>2]|0;c[n>>2]=f;c[n+4>>2]=d;c[n+8>>2]=e;c[n+12>>2]=g;d=n+16|0;e=n+20|0;g=n+24|0;h=n+28|0;i=n+32|0;j=n+40|0;k=d;l=k+36|0;do{c[k>>2]=0;k=k+4|0}while((k|0)<(l|0));b[d+36>>1]=0;a[d+38>>0]=0;a:do if(HA(m,f,0)|0){c[n+48>>2]=1;Xb[c[(c[m>>2]|0)+20>>2]&7](m,n,o,o,1,0);d=(c[g>>2]|0)==1?o:0}else{Wb[c[(c[m>>2]|0)+24>>2]&63](m,n,o,1,0);switch(c[n+36>>2]|0){case 0:{d=(c[j>>2]|0)==1&(c[h>>2]|0)==1&(c[i>>2]|0)==1?c[e>>2]|0:0;break a}case 1:break;default:{d=0;break a}}if((c[g>>2]|0)!=1?!((c[j>>2]|0)==0&(c[h>>2]|0)==1&(c[i>>2]|0)==1):0){d=0;break}d=c[d>>2]|0}while(0);yb=p;return d|0}function MA(a){a=a|0;zA(a);QA(a);return}function NA(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(HA(a,c[b+8>>2]|0,g)|0)KA(0,b,d,e,f);else{a=c[a+8>>2]|0;Xb[c[(c[a>>2]|0)+20>>2]&7](a,b,d,e,f,g)}return}function OA(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;a:do if(!(HA(b,c[d+8>>2]|0,g)|0)){if(!(HA(b,c[d>>2]|0,g)|0)){i=c[b+8>>2]|0;Wb[c[(c[i>>2]|0)+24>>2]&63](i,d,e,f,g);break}if((c[d+16>>2]|0)!=(e|0)?(i=d+20|0,(c[i>>2]|0)!=(e|0)):0){c[d+32>>2]=f;f=d+44|0;do if((c[f>>2]|0)!=4){h=d+52|0;a[h>>0]=0;j=d+53|0;a[j>>0]=0;b=c[b+8>>2]|0;Xb[c[(c[b>>2]|0)+20>>2]&7](b,d,e,e,1,g);if(a[j>>0]|0){j=(a[h>>0]|0)==0;c[f>>2]=3;if(j)break;else break a}else{c[f>>2]=4;break}}while(0);c[i>>2]=e;j=d+40|0;c[j>>2]=(c[j>>2]|0)+1;if((c[d+36>>2]|0)!=1)break;if((c[d+24>>2]|0)!=2)break;a[d+54>>0]=1;break}if((f|0)==1)c[d+32>>2]=1}else JA(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;if(HA(a,c[b+8>>2]|0,0)|0)IA(0,b,d,e);else{a=c[a+8>>2]|0;Vb[c[(c[a>>2]|0)+28>>2]&31](a,b,d,e)}return}function QA(a){a=a|0;EO(a);return}function RA(a){a=a|0;return}function SA(){var a=0,b=0;a=vA()|0;if((a|0?(b=c[a>>2]|0,b|0):0)?wA(b+48|0)|0:0)TA(c[b+12>>2]|0);TA(UA()|0)}function TA(a){a=a|0;var b=0;b=yb;yb=yb+16|0;Pb[a&1]();yA(47049,b)}function UA(){return 1}function VA(a){a=a|0;return}function WA(a){a=a|0;c[a>>2]=16372;_A(a+4|0);return}function XA(a){a=a|0;WA(a);QA(a);return}function YA(a){a=a|0;return ZA(a+4|0)|0}function ZA(a){a=a|0;return c[a>>2]|0}function _A(a){a=a|0;var b=0,d=0;if($A(a)|0?(b=aB(c[a>>2]|0)|0,d=b+8|0,a=c[d>>2]|0,c[d>>2]=a+-1,(a|0)<1):0)QA(b);return}function $A(a){a=a|0;return 1}function aB(a){a=a|0;return a+-12|0}function bB(a){a=a|0;WA(a);QA(a);return}function cB(a){a=a|0;zA(a);QA(a);return}function dB(a,b,c){a=a|0;b=b|0;c=c|0;return HA(a,b,0)|0}function eB(a){a=a|0;zA(a);QA(a);return}function fB(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(HA(b,c[d+8>>2]|0,h)|0)KA(0,d,e,f,g);else{r=d+52|0;j=a[r>>0]|0;q=d+53|0;i=a[q>>0]|0;p=c[b+12>>2]|0;m=b+16+(p<<3)|0;a[r>>0]=0;a[q>>0]=0;jB(b+16|0,d,e,f,g,h);k=a[r>>0]|0;j=k|j;l=a[q>>0]|0;i=l|i;a:do if((p|0)>1){n=d+24|0;o=b+8|0;p=d+54|0;b=b+24|0;do{i=i&1;j=j&1;if(a[p>>0]|0)break a;if(!(k<<24>>24)){if(l<<24>>24?(c[o>>2]&1|0)==0:0)break a}else{if((c[n>>2]|0)==1)break a;if(!(c[o>>2]&2))break a}a[r>>0]=0;a[q>>0]=0;jB(b,d,e,f,g,h);k=a[r>>0]|0;j=k|j;l=a[q>>0]|0;i=l|i;b=b+8|0}while(b>>>0>>0)}while(0);a[r>>0]=j<<24>>24!=0&1;a[q>>0]=i<<24>>24!=0&1}return}function gB(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;a:do if(!(HA(b,c[d+8>>2]|0,g)|0)){if(!(HA(b,c[d>>2]|0,g)|0)){p=c[b+12>>2]|0;k=b+16+(p<<3)|0;kB(b+16|0,d,e,f,g);h=b+24|0;if((p|0)<=1)break;b=c[b+8>>2]|0;if((b&2|0)==0?(j=d+36|0,(c[j>>2]|0)!=1):0){if(!(b&1)){b=d+54|0;while(1){if(a[b>>0]|0)break a;if((c[j>>2]|0)==1)break a;kB(h,d,e,f,g);h=h+8|0;if(h>>>0>=k>>>0)break a}}b=d+24|0;i=d+54|0;while(1){if(a[i>>0]|0)break a;if((c[j>>2]|0)==1?(c[b>>2]|0)==1:0)break a;kB(h,d,e,f,g);h=h+8|0;if(h>>>0>=k>>>0)break a}}b=d+54|0;while(1){if(a[b>>0]|0)break a;kB(h,d,e,f,g);h=h+8|0;if(h>>>0>=k>>>0)break a}}if((c[d+16>>2]|0)!=(e|0)?(p=d+20|0,(c[p>>2]|0)!=(e|0)):0){c[d+32>>2]=f;o=d+44|0;if((c[o>>2]|0)!=4){j=b+16+(c[b+12>>2]<<3)|0;k=d+52|0;f=d+53|0;l=d+54|0;m=b+8|0;n=d+24|0;h=0;i=b+16|0;b=0;b:while(1){if(i>>>0>=j>>>0){i=18;break}a[k>>0]=0;a[f>>0]=0;jB(i,d,e,e,1,g);if(a[l>>0]|0){i=18;break}do if(a[f>>0]|0){if(!(a[k>>0]|0))if(!(c[m>>2]&1)){i=19;break b}else{b=1;break}if((c[n>>2]|0)==1){h=1;i=19;break b}if(!(c[m>>2]&2)){h=1;i=19;break b}else{h=1;b=1}}while(0);i=i+8|0}if((i|0)==18)if(b)i=19;else b=4;if((i|0)==19)b=3;c[o>>2]=b;if(h&1)break}c[p>>2]=e;e=d+40|0;c[e>>2]=(c[e>>2]|0)+1;if((c[d+36>>2]|0)!=1)break;if((c[d+24>>2]|0)!=2)break;a[d+54>>0]=1;break}if((f|0)==1)c[d+32>>2]=1}else JA(0,d,e,f);while(0);return}function hB(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;a:do if(!(HA(b,c[d+8>>2]|0,0)|0)){h=c[b+12>>2]|0;g=b+16+(h<<3)|0;iB(b+16|0,d,e,f);if((h|0)>1){h=d+54|0;b=b+24|0;do{iB(b,d,e,f);if(a[h>>0]|0)break a;b=b+8|0}while(b>>>0>>0)}}else IA(0,d,e,f);while(0);return}function iB(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;g=c[a+4>>2]|0;if(d){f=g>>8;if(g&1)f=c[(c[d>>2]|0)+f>>2]|0}else f=0;a=c[a>>2]|0;Vb[c[(c[a>>2]|0)+28>>2]&31](a,b,d+f|0,(g&2|0)==0?2:e);return}function jB(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0;i=c[a+4>>2]|0;h=i>>8;if(i&1)h=c[(c[e>>2]|0)+h>>2]|0;a=c[a>>2]|0;Xb[c[(c[a>>2]|0)+20>>2]&7](a,b,d,e+h|0,(i&2|0)==0?2:f,g);return}function kB(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;h=c[a+4>>2]|0;g=h>>8;if(h&1)g=c[(c[d>>2]|0)+g>>2]|0;a=c[a>>2]|0;Wb[c[(c[a>>2]|0)+24>>2]&63](a,b,d+g|0,(h&2|0)==0?2:e,f);return}function lB(a){a=a|0;return ((mB(a)|0)^1)&1|0}function mB(b){b=b|0;return (a[b>>0]|0)!=0|0}function nB(a){a=a|0;c[a>>2]=0;oB(a);return}function oB(a){a=a|0;c[a>>2]=c[a>>2]|1;return}function pB(a){a=a|0;c[a>>2]=0;return}function qB(){return 0}function rB(a){a=a|0;var b=0;b=(a|0)==0?1:a;while(1){a=DO(b)|0;if(a|0)break;a=qB()|0;if(!a){a=0;break}Pb[a&1]()}return a|0}function sB(a){a=a|0;return rB(a)|0}function tB(a){a=a|0;QA(a);return}function uB(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=yb;yb=yb+16|0;e=f;c[e>>2]=c[d>>2];a=Hb[c[(c[a>>2]|0)+16>>2]&63](a,b,e)|0;if(a)c[d>>2]=c[e>>2];yb=f;return a&1|0}function vB(a){a=a|0;if(!a)a=0;else a=(LA(a,13904,13992,0)|0)!=0&1;return a|0}function wB(){return 0}function xB(){N(55684);return}function yB(){return 55668}function zB(){return 55676}function AB(){return 55680}function BB(){return 55684}function CB(){DB();return}function DB(){EB(57670);return}function EB(a){a=a|0;var b=0;b=yb;yb=yb+16|0;c[b>>2]=a;FB();yb=b;return}function FB(){pa(GB()|0,47294);ga(HB()|0,47299,1,1,0);IB(47304);JB(47309);KB(47321);LB(47335);MB(47341);NB(47356);OB(47360);PB(47373);QB(47378);RB(47392);SB(47398);na(TB()|0,47405);na(UB()|0,47417);oa(VB()|0,4,47450);ia(WB()|0,47463);XB(47479);YB(47509);ZB(47546);_B(47585);$B(47616);aC(47656);bC(47685);cC(47723);dC(47753);YB(47792);ZB(47824);_B(47857);$B(47890);aC(47924);bC(47957);eC(47991);fC(48022);gC(48054);return}function GB(){return qD()|0}function HB(){return pD()|0}function IB(a){a=a|0;var b=0,d=0;b=yb;yb=yb+16|0;d=b;c[d>>2]=a;a=nD()|0;la(a|0,c[d>>2]|0,1,-128<<24>>24|0,127<<24>>24|0);yb=b;return}function JB(a){a=a|0;var b=0,d=0;b=yb;yb=yb+16|0;d=b;c[d>>2]=a;a=lD()|0;la(a|0,c[d>>2]|0,1,-128<<24>>24|0,127<<24>>24|0);yb=b;return}function KB(a){a=a|0;var b=0,d=0;b=yb;yb=yb+16|0;d=b;c[d>>2]=a;a=jD()|0;la(a|0,c[d>>2]|0,1,0,255);yb=b;return}function LB(a){a=a|0;var b=0,d=0;b=yb;yb=yb+16|0;d=b;c[d>>2]=a;a=hD()|0;la(a|0,c[d>>2]|0,2,-32768<<16>>16|0,32767<<16>>16|0);yb=b;return}function MB(a){a=a|0;var b=0,d=0;b=yb;yb=yb+16|0;d=b;c[d>>2]=a;a=fD()|0;la(a|0,c[d>>2]|0,2,0,65535);yb=b;return}function NB(a){a=a|0;var b=0,d=0;b=yb;yb=yb+16|0;d=b;c[d>>2]=a;a=dD()|0;la(a|0,c[d>>2]|0,4,-2147483648,2147483647);yb=b;return}function OB(a){a=a|0;var b=0,d=0;b=yb;yb=yb+16|0;d=b;c[d>>2]=a;a=bD()|0;la(a|0,c[d>>2]|0,4,0,-1);yb=b;return}function PB(a){a=a|0;var b=0,d=0;b=yb;yb=yb+16|0;d=b;c[d>>2]=a;a=$C()|0;la(a|0,c[d>>2]|0,4,-2147483648,2147483647);yb=b;return}function QB(a){a=a|0;var b=0,d=0;b=yb;yb=yb+16|0;d=b;c[d>>2]=a;a=ZC()|0;la(a|0,c[d>>2]|0,4,0,-1);yb=b;return}function RB(a){a=a|0;var b=0,d=0;b=yb;yb=yb+16|0;d=b;c[d>>2]=a;a=XC()|0;ja(a|0,c[d>>2]|0,4);yb=b;return}function SB(a){a=a|0;var b=0,d=0;b=yb;yb=yb+16|0;d=b;c[d>>2]=a;a=VC()|0;ja(a|0,c[d>>2]|0,8);yb=b;return}function TB(){return UC()|0}function UB(){return TC()|0}function VB(){return SC()|0}function WB(){return RC()|0}function XB(a){a=a|0;var b=0,d=0,e=0;b=yb;yb=yb+16|0;d=b;c[d>>2]=a;e=OC()|0;a=PC()|0;ma(e|0,a|0,c[d>>2]|0);yb=b;return}function YB(a){a=a|0;var b=0,d=0,e=0;b=yb;yb=yb+16|0;d=b;c[d>>2]=a;e=LC()|0;a=MC()|0;ma(e|0,a|0,c[d>>2]|0);yb=b;return}function ZB(a){a=a|0;var b=0,d=0,e=0;b=yb;yb=yb+16|0;d=b;c[d>>2]=a;e=IC()|0;a=JC()|0;ma(e|0,a|0,c[d>>2]|0);yb=b;return}function _B(a){a=a|0;var b=0,d=0,e=0;b=yb;yb=yb+16|0;d=b;c[d>>2]=a;e=FC()|0;a=GC()|0;ma(e|0,a|0,c[d>>2]|0);yb=b;return}function $B(a){a=a|0;var b=0,d=0,e=0;b=yb;yb=yb+16|0;d=b;c[d>>2]=a;e=CC()|0;a=DC()|0;ma(e|0,a|0,c[d>>2]|0);yb=b;return}function aC(a){a=a|0;var b=0,d=0,e=0;b=yb;yb=yb+16|0;d=b;c[d>>2]=a;e=zC()|0;a=AC()|0;ma(e|0,a|0,c[d>>2]|0);yb=b;return}function bC(a){a=a|0;var b=0,d=0,e=0;b=yb;yb=yb+16|0;d=b;c[d>>2]=a;e=wC()|0;a=xC()|0;ma(e|0,a|0,c[d>>2]|0);yb=b;return}function cC(a){a=a|0;var b=0,d=0,e=0;b=yb;yb=yb+16|0;d=b;c[d>>2]=a;e=tC()|0;a=uC()|0;ma(e|0,a|0,c[d>>2]|0);yb=b;return}function dC(a){a=a|0;var b=0,d=0,e=0;b=yb;yb=yb+16|0;d=b;c[d>>2]=a;e=qC()|0;a=rC()|0;ma(e|0,a|0,c[d>>2]|0);yb=b;return}function eC(a){a=a|0;var b=0,d=0,e=0;b=yb;yb=yb+16|0;d=b;c[d>>2]=a;e=nC()|0;a=oC()|0;ma(e|0,a|0,c[d>>2]|0);yb=b;return}function fC(a){a=a|0;var b=0,d=0,e=0;b=yb;yb=yb+16|0;d=b;c[d>>2]=a;e=kC()|0;a=lC()|0;ma(e|0,a|0,c[d>>2]|0);yb=b;return}function gC(a){a=a|0;var b=0,d=0,e=0;b=yb;yb=yb+16|0;d=b;c[d>>2]=a;e=hC()|0;a=iC()|0;ma(e|0,a|0,c[d>>2]|0);yb=b;return}function hC(){return jC()|0}function iC(){return 7}function jC(){return 14144}function kC(){return mC()|0}function lC(){return 7}function mC(){return 14152}function nC(){return pC()|0}function oC(){return 6}function pC(){return 14160}function qC(){return sC()|0}function rC(){return 5}function sC(){return 14168}function tC(){return vC()|0}function uC(){return 4}function vC(){return 14176}function wC(){return yC()|0}function xC(){return 5}function yC(){return 14184}function zC(){return BC()|0}function AC(){return 4}function BC(){return 14192}function CC(){return EC()|0}function DC(){return 3}function EC(){return 14200}function FC(){return HC()|0}function GC(){return 2}function HC(){return 14208}function IC(){return KC()|0}function JC(){return 1}function KC(){return 14216}function LC(){return NC()|0}function MC(){return 0}function NC(){return 14224}function OC(){return QC()|0}function PC(){return 0}function QC(){return 14232}function RC(){return 14240}function SC(){return 14248}function TC(){return 14272}function UC(){return 13272}function VC(){return WC()|0}function WC(){return 14120}function XC(){return YC()|0}function YC(){return 14112}function ZC(){return _C()|0}function _C(){return 14104}function $C(){return aD()|0}function aD(){return 14096}function bD(){return cD()|0}function cD(){return 14088}function dD(){return eD()|0}function eD(){return 14080}function fD(){return gD()|0}function gD(){return 14072}function hD(){return iD()|0}function iD(){return 14064}function jD(){return kD()|0}function kD(){return 14048}function lD(){return mD()|0}function mD(){return 14056}function nD(){return oD()|0}function oD(){return 14040}function pD(){return 14032}function qD(){return 14024}function rD(a){a=a|0;var b=0,d=0,e=0;b=yb;yb=yb+16|0;d=b+4|0;e=b;c[e>>2]=a;c[d>>2]=c[e>>2];a=hz(c[(c[d>>2]|0)+4>>2]|0)|0;yb=b;return a|0}function sD(a){a=a|0;return 0}function tD(a){a=a|0;return 0}function uD(a,b){a=a|0;b=b|0;return 0}function vD(a){a=a|0;return 0}function wD(){return (xD()|0)>0|0}function xD(){return wB()|0}function yD(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;k=yb;yb=yb+16|0;d=k;i=k+8|0;e=k+4|0;c[i>>2]=a;do if(a>>>0>=212){h=(a>>>0)/210|0;b=h*210|0;c[e>>2]=a-b;a=0;g=(zD(12736,12928,e,d)|0)-12736>>2;a:while(1){f=(c[12736+(g<<2)>>2]|0)+b|0;b=5;while(1){if(b>>>0>=47){j=6;break}d=c[12544+(b<<2)>>2]|0;e=(f>>>0)/(d>>>0)|0;if(e>>>0>>0){j=107;break a}if((f|0)==(B(e,d)|0))break;else b=b+1|0}b:do if((j|0)==6){j=0;e=211;c:while(1){b=(f>>>0)/(e>>>0)|0;do if(b>>>0>=e>>>0)if((f|0)!=(B(b,e)|0)){b=e+10|0;d=(f>>>0)/(b>>>0)|0;if(d>>>0>=b>>>0)if((f|0)!=(B(d,b)|0)){b=e+12|0;d=(f>>>0)/(b>>>0)|0;if(d>>>0>=b>>>0)if((f|0)!=(B(d,b)|0)){b=e+16|0;d=(f>>>0)/(b>>>0)|0;if(d>>>0>=b>>>0)if((f|0)!=(B(d,b)|0)){b=e+18|0;d=(f>>>0)/(b>>>0)|0;if(d>>>0>=b>>>0)if((f|0)!=(B(d,b)|0)){b=e+22|0;d=(f>>>0)/(b>>>0)|0;if(d>>>0>=b>>>0)if((f|0)!=(B(d,b)|0)){b=e+28|0;d=(f>>>0)/(b>>>0)|0;if(d>>>0>=b>>>0)if((f|0)==(B(d,b)|0))d=9;else{b=e+30|0;d=(f>>>0)/(b>>>0)|0;if(d>>>0>>0){d=1;a=f;break}if((f|0)==(B(d,b)|0)){d=9;break}b=e+36|0;d=(f>>>0)/(b>>>0)|0;if(d>>>0>>0){d=1;a=f;break}if((f|0)==(B(d,b)|0)){d=9;break}b=e+40|0;d=(f>>>0)/(b>>>0)|0;if(d>>>0>>0){d=1;a=f;break}if((f|0)==(B(d,b)|0)){d=9;break}b=e+42|0;d=(f>>>0)/(b>>>0)|0;if(d>>>0>>0){d=1;a=f;break}if((f|0)==(B(d,b)|0)){d=9;break}b=e+46|0;d=(f>>>0)/(b>>>0)|0;if(d>>>0>>0){d=1;a=f;break}if((f|0)==(B(d,b)|0)){d=9;break}b=e+52|0;d=(f>>>0)/(b>>>0)|0;if(d>>>0>>0){d=1;a=f;break}if((f|0)==(B(d,b)|0)){d=9;break}b=e+58|0;d=(f>>>0)/(b>>>0)|0;if(d>>>0>>0){d=1;a=f;break}if((f|0)==(B(d,b)|0)){d=9;break}b=e+60|0;d=(f>>>0)/(b>>>0)|0;if(d>>>0>>0){d=1;a=f;break}if((f|0)==(B(d,b)|0)){d=9;break}b=e+66|0;d=(f>>>0)/(b>>>0)|0;if(d>>>0>>0){d=1;a=f;break}if((f|0)==(B(d,b)|0)){d=9;break}b=e+70|0;d=(f>>>0)/(b>>>0)|0;if(d>>>0>>0){d=1;a=f;break}if((f|0)==(B(d,b)|0)){d=9;break}b=e+72|0;d=(f>>>0)/(b>>>0)|0;if(d>>>0>>0){d=1;a=f;break}if((f|0)==(B(d,b)|0)){d=9;break}b=e+78|0;d=(f>>>0)/(b>>>0)|0;if(d>>>0>>0){d=1;a=f;break}if((f|0)==(B(d,b)|0)){d=9;break}b=e+82|0;d=(f>>>0)/(b>>>0)|0;if(d>>>0>>0){d=1;a=f;break}if((f|0)==(B(d,b)|0)){d=9;break}b=e+88|0;d=(f>>>0)/(b>>>0)|0;if(d>>>0>>0){d=1;a=f;break}if((f|0)==(B(d,b)|0)){d=9;break}b=e+96|0;d=(f>>>0)/(b>>>0)|0;if(d>>>0>>0){d=1;a=f;break}if((f|0)==(B(d,b)|0)){d=9;break}b=e+100|0;d=(f>>>0)/(b>>>0)|0;if(d>>>0>>0){d=1;a=f;break}if((f|0)==(B(d,b)|0)){d=9;break}b=e+102|0;d=(f>>>0)/(b>>>0)|0;if(d>>>0>>0){d=1;a=f;break}if((f|0)==(B(d,b)|0)){d=9;break}b=e+106|0;d=(f>>>0)/(b>>>0)|0;if(d>>>0>>0){d=1;a=f;break}if((f|0)==(B(d,b)|0)){d=9;break}b=e+108|0;d=(f>>>0)/(b>>>0)|0;if(d>>>0>>0){d=1;a=f;break}if((f|0)==(B(d,b)|0)){d=9;break}b=e+112|0;d=(f>>>0)/(b>>>0)|0;if(d>>>0>>0){d=1;a=f;break}if((f|0)==(B(d,b)|0)){d=9;break}b=e+120|0;d=(f>>>0)/(b>>>0)|0;if(d>>>0>>0){d=1;a=f;break}if((f|0)==(B(d,b)|0)){d=9;break}b=e+126|0;d=(f>>>0)/(b>>>0)|0;if(d>>>0>>0){d=1;a=f;break}if((f|0)==(B(d,b)|0)){d=9;break}b=e+130|0;d=(f>>>0)/(b>>>0)|0;if(d>>>0>>0){d=1;a=f;break}if((f|0)==(B(d,b)|0)){d=9;break}b=e+136|0;d=(f>>>0)/(b>>>0)|0;if(d>>>0>>0){d=1;a=f;break}if((f|0)==(B(d,b)|0)){d=9;break}b=e+138|0;d=(f>>>0)/(b>>>0)|0;if(d>>>0>>0){d=1;a=f;break}if((f|0)==(B(d,b)|0)){d=9;break}b=e+142|0;d=(f>>>0)/(b>>>0)|0;if(d>>>0>>0){d=1;a=f;break}if((f|0)==(B(d,b)|0)){d=9;break}b=e+148|0;d=(f>>>0)/(b>>>0)|0;if(d>>>0>>0){d=1;a=f;break}if((f|0)==(B(d,b)|0)){d=9;break}b=e+150|0;d=(f>>>0)/(b>>>0)|0;if(d>>>0>>0){d=1;a=f;break}if((f|0)==(B(d,b)|0)){d=9;break}b=e+156|0;d=(f>>>0)/(b>>>0)|0;if(d>>>0>>0){d=1;a=f;break}if((f|0)==(B(d,b)|0)){d=9;break}b=e+162|0;d=(f>>>0)/(b>>>0)|0;if(d>>>0>>0){d=1;a=f;break}if((f|0)==(B(d,b)|0)){d=9;break}b=e+166|0;d=(f>>>0)/(b>>>0)|0;if(d>>>0>>0){d=1;a=f;break}if((f|0)==(B(d,b)|0)){d=9;break}b=e+168|0;d=(f>>>0)/(b>>>0)|0;if(d>>>0>>0){d=1;a=f;break}if((f|0)==(B(d,b)|0)){d=9;break}b=e+172|0;d=(f>>>0)/(b>>>0)|0;if(d>>>0>>0){d=1;a=f;break}if((f|0)==(B(d,b)|0)){d=9;break}b=e+178|0;d=(f>>>0)/(b>>>0)|0;if(d>>>0>>0){d=1;a=f;break}if((f|0)==(B(d,b)|0)){d=9;break}b=e+180|0;d=(f>>>0)/(b>>>0)|0;if(d>>>0>>0){d=1;a=f;break}if((f|0)==(B(d,b)|0)){d=9;break}b=e+186|0;d=(f>>>0)/(b>>>0)|0;if(d>>>0>>0){d=1;a=f;break}if((f|0)==(B(d,b)|0)){d=9;break}b=e+190|0;d=(f>>>0)/(b>>>0)|0;if(d>>>0>>0){d=1;a=f;break}if((f|0)==(B(d,b)|0)){d=9;break}b=e+192|0;d=(f>>>0)/(b>>>0)|0;if(d>>>0>>0){d=1;a=f;break}if((f|0)==(B(d,b)|0)){d=9;break}b=e+196|0;d=(f>>>0)/(b>>>0)|0;if(d>>>0>>0){d=1;a=f;break}if((f|0)==(B(d,b)|0)){d=9;break}b=e+198|0;d=(f>>>0)/(b>>>0)|0;if(d>>>0>>0){d=1;a=f;break}if((f|0)==(B(d,b)|0)){d=9;break}b=e+208|0;d=(f>>>0)/(b>>>0)|0;l=d>>>0>>0;d=(f|0)==(B(d,b)|0);b=l|d?b:e+210|0;d=l?1:d?9:0;a=l?f:a}else{d=1;a=f}}else d=9;else{d=1;a=f}}else d=9;else{d=1;a=f}}else d=9;else{d=1;a=f}}else d=9;else{d=1;a=f}}else d=9;else{d=1;a=f}}else{b=e;d=9}else{b=e;d=1;a=f}while(0);switch(d&15){case 9:break b;case 0:{e=b;break}default:break c}}if(d){j=108;break a}}while(0);l=g+1|0;f=(l|0)==48;b=h+(f&1)|0;h=b;b=b*210|0;g=f?0:l}if((j|0)==107){c[i>>2]=f;a=f;break}else if((j|0)==108){c[i>>2]=f;break}}else a=c[(zD(12544,12736,i,d)|0)>>2]|0;while(0);yb=k;return a|0}function zD(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;f=c[d>>2]|0;e=a;d=b-a>>2;while(1){if(!d)break;b=d>>>1;g=e+(b<<2)|0;a=(c[g>>2]|0)>>>0>>0;e=a?g+4|0:e;d=a?d+-1-b|0:b}return e|0}function AD(a){a=a|0;BD(a);return}function BD(a){a=a|0;c[a>>2]=16480;CD(a,0);WF(a+28|0);EO(c[a+32>>2]|0);EO(c[a+36>>2]|0);EO(c[a+48>>2]|0);EO(c[a+60>>2]|0);return}function CD(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;e=a+32|0;f=a+36|0;d=c[a+40>>2]|0;while(1){if(!d)break;g=d+-1|0;Ub[c[(c[e>>2]|0)+(g<<2)>>2]&3](b,a,c[(c[f>>2]|0)+(g<<2)>>2]|0);d=g}return}function DD(a){a=a|0;BD(a);QA(a);return}function ED(a){a=a|0;BD(a);return}function FD(a){a=a|0;c[a>>2]=16496;WF(a+4|0);return}function GD(a){a=a|0;FD(a);QA(a);return}function HD(a,b){a=a|0;b=b|0;return}function ID(a,b,c){a=a|0;b=b|0;c=c|0;return a|0}function JD(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 KD(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 LD(a){a=a|0;return 0}function MD(a){a=a|0;return 0}function ND(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;Uf()|0;i=b+12|0;j=b+16|0;h=0;while(1){if((h|0)>=(e|0))break;f=c[i>>2]|0;g=c[j>>2]|0;if(f>>>0>>0){g=g-f|0;k=e-h|0;g=(k|0)<(g|0)?k:g;TD(d,f,g)|0;c[i>>2]=(c[i>>2]|0)+g;d=d+g|0;f=g}else{f=Eb[c[(c[b>>2]|0)+40>>2]&127](b)|0;if((f|0)==-1)break;a[d>>0]=cg(f)|0;d=d+1|0;f=1}h=f+h|0}return h|0}function OD(a){a=a|0;return Uf()|0}function PD(b){b=b|0;var d=0;d=Eb[c[(c[b>>2]|0)+36>>2]&127](b)|0;if((d|0)==(Uf()|0))b=Uf()|0;else{d=b+12|0;b=c[d>>2]|0;c[d>>2]=b+1;b=ag(a[b>>0]|0)|0}return b|0}function QD(a,b){a=a|0;b=b|0;return Uf()|0}function RD(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0;i=Uf()|0;j=b+24|0;k=b+28|0;f=0;while(1){if((f|0)>=(e|0))break;g=c[j>>2]|0;h=c[k>>2]|0;if(g>>>0>>0){h=h-g|0;l=e-f|0;h=(l|0)<(h|0)?l:h;TD(g,d,h)|0;c[j>>2]=(c[j>>2]|0)+h;d=d+h|0;f=h+f|0}else{h=c[(c[b>>2]|0)+52>>2]|0;l=ag(a[d>>0]|0)|0;if((Gb[h&63](b,l)|0)==(i|0))break;d=d+1|0;f=f+1|0}}return f|0}function SD(a,b){a=a|0;b=b|0;return Uf()|0}function TD(a,b,c){a=a|0;b=b|0;c=c|0;if(c|0)YO(a|0,b|0,c|0)|0;return a|0}function UD(a){a=a|0;c[a>>2]=16560;WF(a+4|0);return}function VD(a){a=a|0;UD(a);QA(a);return}function WD(a,b){a=a|0;b=b|0;return}function XD(a,b,c){a=a|0;b=b|0;c=c|0;return a|0}function YD(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 ZD(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 _D(a){a=a|0;return 0}function $D(a){a=a|0;return 0}function aE(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;gE()|0;h=a+12|0;i=a+16|0;g=0;while(1){if((g|0)>=(d|0))break;e=c[h>>2]|0;f=c[i>>2]|0;if(e>>>0>>0){f=f-e>>2;j=d-g|0;f=(j|0)<(f|0)?j:f;iE(b,e,f)|0;c[h>>2]=(c[h>>2]|0)+(f<<2);b=b+(f<<2)|0;e=f}else{e=Eb[c[(c[a>>2]|0)+40>>2]&127](a)|0;if((e|0)==-1)break;c[b>>2]=jE(e)|0;b=b+4|0;e=1}g=e+g|0}return g|0}function bE(a){a=a|0;return gE()|0}function cE(a){a=a|0;var b=0;b=Eb[c[(c[a>>2]|0)+36>>2]&127](a)|0;if((b|0)==(gE()|0))a=gE()|0;else{b=a+12|0;a=c[b>>2]|0;c[b>>2]=a+4;a=hE(c[a>>2]|0)|0}return a|0}function dE(a,b){a=a|0;b=b|0;return gE()|0}function eE(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;h=gE()|0;i=a+24|0;j=a+28|0;e=0;while(1){if((e|0)>=(d|0))break;f=c[i>>2]|0;g=c[j>>2]|0;if(f>>>0>>0){g=g-f>>2;k=d-e|0;g=(k|0)<(g|0)?k:g;iE(f,b,g)|0;c[i>>2]=(c[i>>2]|0)+(g<<2);b=b+(g<<2)|0;e=g+e|0}else{g=c[(c[a>>2]|0)+52>>2]|0;k=hE(c[b>>2]|0)|0;if((Gb[g&63](a,k)|0)==(h|0))break;b=b+4|0;e=e+1|0}}return e|0}function fE(a,b){a=a|0;b=b|0;return gE()|0}function gE(){return -1}function hE(a){a=a|0;return a|0}function iE(a,b,c){a=a|0;b=b|0;c=c|0;if(c)ez(a,b,c)|0;return a|0}function jE(a){a=a|0;return a|0}function kE(a){a=a|0;oE(a,16656);AD(a+8|0);return}function lE(a){a=a|0;kE(a);QA(a);return}function mE(a){a=a|0;kE(a+(c[(c[a>>2]|0)+-12>>2]|0)|0);return}function nE(a){a=a|0;lE(a+(c[(c[a>>2]|0)+-12>>2]|0)|0);return}function oE(a,b){a=a|0;b=b|0;return}function pE(a){a=a|0;tE(a,16704);ED(a+8|0);return}function qE(a){a=a|0;pE(a);QA(a);return}function rE(a){a=a|0;pE(a+(c[(c[a>>2]|0)+-12>>2]|0)|0);return}function sE(a){a=a|0;qE(a+(c[(c[a>>2]|0)+-12>>2]|0)|0);return}function tE(a,b){a=a|0;b=b|0;return}function uE(a){a=a|0;yE(a,16752);AD(a+4|0);return}function vE(a){a=a|0;uE(a);QA(a);return}function wE(a){a=a|0;uE(a+(c[(c[a>>2]|0)+-12>>2]|0)|0);return}function xE(a){a=a|0;vE(a+(c[(c[a>>2]|0)+-12>>2]|0)|0);return}function yE(a,b){a=a|0;b=b|0;return}function zE(a){a=a|0;DE(a,16800);ED(a+4|0);return}function AE(a){a=a|0;zE(a);QA(a);return}function BE(a){a=a|0;zE(a+(c[(c[a>>2]|0)+-12>>2]|0)|0);return}function CE(a){a=a|0;AE(a+(c[(c[a>>2]|0)+-12>>2]|0)|0);return}function DE(a,b){a=a|0;b=b|0;return}function EE(a,b){a=a|0;b=b|0;c[a+16>>2]=(c[a+24>>2]|0)==0|b;return}function FE(a,b){a=a|0;b=b|0;var d=0;c[a+24>>2]=b;c[a+16>>2]=(b|0)==0&1;c[a+20>>2]=0;c[a+4>>2]=4098;c[a+12>>2]=0;c[a+8>>2]=6;d=a+28|0;b=a+32|0;a=b+40|0;do{c[b>>2]=0;b=b+4|0}while((b|0)<(a|0));WN(d);return}function GE(a,b){a=a|0;b=b|0;UN(a,b+28|0);return}function HE(a,b){a=a|0;b=b|0;return (a|0)==(b|0)|0}function IE(a){a=a|0;c[a>>2]=16496;WN(a+4|0);a=a+8|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;c[a+20>>2]=0;return}function JE(a){a=a|0;c[a>>2]=16560;WN(a+4|0);a=a+8|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;c[a+20>>2]=0;return}function KE(b){b=b|0;var d=0,e=0,f=0;e=yb;yb=yb+16|0;d=e;if(c[b+(c[(c[b>>2]|0)+-12>>2]|0)+24>>2]|0){LE(d,b);if(a[d>>0]|0?(f=c[b+(c[(c[b>>2]|0)+-12>>2]|0)+24>>2]|0,(Eb[c[(c[f>>2]|0)+24>>2]&127](f)|0)==-1):0){f=b+(c[(c[b>>2]|0)+-12>>2]|0)|0;EE(f,c[f+16>>2]|1)}ME(d)}yb=e;return b|0}function LE(b,d){b=b|0;d=d|0;a[b>>0]=0;c[b+4>>2]=d;d=d+(c[(c[d>>2]|0)+-12>>2]|0)|0;if(!(c[d+16>>2]|0)){d=c[d+72>>2]|0;if(d|0)KE(d)|0;a[b>>0]=1}return}function ME(a){a=a|0;var b=0;a=a+4|0;b=c[a>>2]|0;b=b+(c[(c[b>>2]|0)+-12>>2]|0)|0;if((((c[b+24>>2]|0?(c[b+16>>2]|0)==0:0)?c[b+4>>2]&8192|0:0)?!(wD()|0):0)?(b=c[a>>2]|0,b=c[b+(c[(c[b>>2]|0)+-12>>2]|0)+24>>2]|0,(Eb[c[(c[b>>2]|0)+24>>2]&127](b)|0)==-1):0){b=c[a>>2]|0;b=b+(c[(c[b>>2]|0)+-12>>2]|0)|0;EE(b,c[b+16>>2]|1)}return}function NE(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;l=yb;yb=yb+16|0;f=l+12|0;j=l+8|0;k=l;LE(k,b);if(a[k>>0]|0){GE(f,b+(c[(c[b>>2]|0)+-12>>2]|0)|0);g=VF(f,56792)|0;WF(f);h=b+(c[(c[b>>2]|0)+-12>>2]|0)|0;i=c[h+24>>2]|0;m=Uf()|0;e=h+76|0;if(Yf(m,c[e>>2]|0)|0){GE(f,h);m=VF(f,56736)|0;m=Gb[c[(c[m>>2]|0)+28>>2]&63](m,32)|0;WF(f);m=m<<24>>24;c[e>>2]=m;e=m}else e=c[e>>2]|0;m=c[(c[g>>2]|0)+16>>2]|0;c[j>>2]=i;c[f>>2]=c[j>>2];if(!(Kb[m&31](g,f,h,e&255,d)|0)){m=b+(c[(c[b>>2]|0)+-12>>2]|0)|0;EE(m,c[m+16>>2]|5)}}ME(k);yb=l;return b|0}function OE(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;j=yb;yb=yb+16|0;i=j;LE(i,b);do if(a[i>>0]|0){e=c[b+(c[(c[b>>2]|0)+-12>>2]|0)+24>>2]|0;f=e;if(e|0){g=f+24|0;h=c[g>>2]|0;if((h|0)==(c[f+28>>2]|0)){h=c[(c[e>>2]|0)+52>>2]|0;d=ag(d)|0;d=Gb[h&63](f,d)|0}else{c[g>>2]=h+1;a[h>>0]=d;d=ag(d)|0}if(!(Yf(d,Uf()|0)|0))break}h=b+(c[(c[b>>2]|0)+-12>>2]|0)|0;EE(h,c[h+16>>2]|1)}while(0);ME(i);yb=j;return b|0}function PE(a){a=a|0;a=a+16|0;c[a>>2]=c[a>>2]|1;return}function QE(){SE();return}function RE(){return}function SE(){TE(0);return}function TE(a){a=a|0;var b=0,d=0;b=c[4002]|0;UE(56368,b,56424);c[13922]=16628;c[13924]=16648;c[13923]=0;FE(55696,56368);c[13942]=0;c[13943]=Uf()|0;VE(56432,b,56488);c[13944]=16676;c[13946]=16696;c[13945]=0;FE(55784,56432);c[13964]=0;c[13965]=gE()|0;b=c[4003]|0;WE(56496,b,56544);c[13966]=16724;c[13967]=16744;FE(55868,56496);c[13985]=0;c[13986]=Uf()|0;XE(56552,b,56600);c[13987]=16772;c[13988]=16792;FE(55952,56552);c[14006]=0;c[14007]=gE()|0;b=c[4001]|0;WE(56608,b,56656);c[14008]=16724;c[14009]=16744;FE(56036,56608);c[14027]=0;c[14028]=Uf()|0;a=c[56032+(c[(c[14008]|0)+-12>>2]|0)+24>>2]|0;c[14050]=16724;c[14051]=16744;FE(56204,a);c[14069]=0;c[14070]=Uf()|0;XE(56664,b,56712);c[14029]=16772;c[14030]=16792;FE(56120,56664);c[14048]=0;c[14049]=gE()|0;b=c[56116+(c[(c[14029]|0)+-12>>2]|0)+24>>2]|0;c[14071]=16772;c[14072]=16792;FE(56288,b);c[14090]=0;c[14091]=gE()|0;c[55688+(c[(c[13922]|0)+-12>>2]|0)+72>>2]=55864;c[55776+(c[(c[13944]|0)+-12>>2]|0)+72>>2]=55948;b=(c[14008]|0)+-12|0;a=56032+(c[b>>2]|0)+4|0;c[a>>2]=c[a>>2]|8192;a=(c[14029]|0)+-12|0;d=56116+(c[a>>2]|0)+4|0;c[d>>2]=c[d>>2]|8192;c[56032+(c[b>>2]|0)+72>>2]=55864;c[56116+(c[a>>2]|0)+72>>2]=55948;return}function UE(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;f=yb;yb=yb+16|0;g=f;IE(b);c[b>>2]=17008;c[b+32>>2]=d;c[b+40>>2]=e;c[b+48>>2]=Uf()|0;a[b+52>>0]=0;e=c[(c[b>>2]|0)+8>>2]|0;UN(g,b+4|0);Sb[e&63](b,g);WF(g);yb=f;return}function VE(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;f=yb;yb=yb+16|0;g=f;JE(b);c[b>>2]=16944;c[b+32>>2]=d;c[b+40>>2]=e;c[b+48>>2]=gE()|0;a[b+52>>0]=0;e=c[(c[b>>2]|0)+8>>2]|0;UN(g,b+4|0);Sb[e&63](b,g);WF(g);yb=f;return}function WE(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;f=yb;yb=yb+16|0;g=f;IE(b);c[b>>2]=16880;c[b+32>>2]=d;UN(g,b+4|0);d=VF(g,57040)|0;WF(g);c[b+36>>2]=d;c[b+40>>2]=e;a[b+44>>0]=(Eb[c[(c[d>>2]|0)+28>>2]&127](d)|0)&1;yb=f;return}function XE(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;f=yb;yb=yb+16|0;g=f;JE(b);c[b>>2]=16816;c[b+32>>2]=d;UN(g,b+4|0);d=VF(g,57048)|0;WF(g);c[b+36>>2]=d;c[b+40>>2]=e;a[b+44>>0]=(Eb[c[(c[d>>2]|0)+28>>2]&127](d)|0)&1;yb=f;return}function YE(a){a=a|0;UD(a);QA(a);return}function ZE(b,d){b=b|0;d=d|0;Eb[c[(c[b>>2]|0)+24>>2]&127](b)|0;d=VF(d,57048)|0;c[b+36>>2]=d;a[b+44>>0]=(Eb[c[(c[d>>2]|0)+28>>2]&127](d)|0)&1;return}function _E(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;k=yb;yb=yb+16|0;d=k+8|0;e=k;f=a+36|0;g=a+40|0;h=d+8|0;i=d;b=a+32|0;a:while(1){a=c[f>>2]|0;a=Kb[c[(c[a>>2]|0)+20>>2]&31](a,c[g>>2]|0,d,h,e)|0;l=(c[e>>2]|0)-i|0;if((jz(d,1,l,c[b>>2]|0)|0)!=(l|0)){a=-1;break}switch(a|0){case 1:break;case 2:{a=-1;break a}default:{j=4;break a}}}if((j|0)==4)a=((wz(c[b>>2]|0)|0)!=0)<<31>>31;yb=k;return a|0}function $E(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;a:do if(!(a[b+44>>0]|0)){f=0;while(1){if((f|0)>=(e|0))break a;h=c[(c[b>>2]|0)+52>>2]|0;g=hE(c[d>>2]|0)|0;g=Gb[h&63](b,g)|0;if((g|0)==(gE()|0))break a;f=f+1|0;d=d+4|0}}else f=jz(d,4,e,c[b+32>>2]|0)|0;while(0);return f|0}function aF(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;o=yb;yb=yb+32|0;l=o+16|0;f=o+8|0;m=o+4|0;n=o;do if(!(HE(d,gE()|0)|0)){c[f>>2]=jE(d)|0;if(a[b+44>>0]|0){if((jz(f,4,1,c[b+32>>2]|0)|0)==1){e=15;break}b=gE()|0;break}c[m>>2]=l;e=f+4|0;g=b+36|0;h=b+40|0;i=l+8|0;j=l;k=b+32|0;while(1){b=c[g>>2]|0;b=Ob[c[(c[b>>2]|0)+12>>2]&15](b,c[h>>2]|0,f,e,n,l,i,m)|0;if((c[n>>2]|0)==(f|0)){e=14;break}if((b|0)==3){e=8;break}if(b>>>0>=2){e=14;break}f=(c[m>>2]|0)-j|0;if((jz(l,1,f,c[k>>2]|0)|0)!=(f|0)){e=14;break}if((b|0)==1)f=c[n>>2]|0;else{e=13;break}}if((e|0)==8)if((jz(f,1,1,c[k>>2]|0)|0)==1)e=13;else e=14;if((e|0)==13){e=15;break}else if((e|0)==14){b=gE()|0;break}}else e=15;while(0);if((e|0)==15)b=bF(d)|0;yb=o;return b|0}function bF(a){a=a|0;if(HE(a,gE()|0)|0)a=~(gE()|0);return a|0}function cF(a){a=a|0;FD(a);QA(a);return}function dF(b,d){b=b|0;d=d|0;Eb[c[(c[b>>2]|0)+24>>2]&127](b)|0;d=VF(d,57040)|0;c[b+36>>2]=d;a[b+44>>0]=(Eb[c[(c[d>>2]|0)+28>>2]&127](d)|0)&1;return}function eF(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;k=yb;yb=yb+16|0;d=k+8|0;e=k;f=a+36|0;g=a+40|0;h=d+8|0;i=d;b=a+32|0;a:while(1){a=c[f>>2]|0;a=Kb[c[(c[a>>2]|0)+20>>2]&31](a,c[g>>2]|0,d,h,e)|0;l=(c[e>>2]|0)-i|0;if((jz(d,1,l,c[b>>2]|0)|0)!=(l|0)){a=-1;break}switch(a|0){case 1:break;case 2:{a=-1;break a}default:{j=4;break a}}}if((j|0)==4)a=((wz(c[b>>2]|0)|0)!=0)<<31>>31;yb=k;return a|0}function fF(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;a:do if(!(a[b+44>>0]|0)){f=0;while(1){if((f|0)>=(e|0))break a;h=c[(c[b>>2]|0)+52>>2]|0;g=ag(a[d>>0]|0)|0;g=Gb[h&63](b,g)|0;if((g|0)==(Uf()|0))break a;f=f+1|0;d=d+1|0}}else f=jz(d,1,e,c[b+32>>2]|0)|0;while(0);return f|0}function gF(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;o=yb;yb=yb+32|0;l=o+16|0;f=o+8|0;m=o+4|0;n=o;do if(!(Yf(d,Uf()|0)|0)){a[f>>0]=cg(d)|0;if(a[b+44>>0]|0){if((jz(f,1,1,c[b+32>>2]|0)|0)==1){e=15;break}b=Uf()|0;break}c[m>>2]=l;e=f+1|0;g=b+36|0;h=b+40|0;i=l+8|0;j=l;k=b+32|0;while(1){b=c[g>>2]|0;b=Ob[c[(c[b>>2]|0)+12>>2]&15](b,c[h>>2]|0,f,e,n,l,i,m)|0;if((c[n>>2]|0)==(f|0)){e=14;break}if((b|0)==3){e=8;break}if(b>>>0>=2){e=14;break}f=(c[m>>2]|0)-j|0;if((jz(l,1,f,c[k>>2]|0)|0)!=(f|0)){e=14;break}if((b|0)==1)f=c[n>>2]|0;else{e=13;break}}if((e|0)==8)if((jz(f,1,1,c[k>>2]|0)|0)==1)e=13;else e=14;if((e|0)==13){e=15;break}else if((e|0)==14){b=Uf()|0;break}}else e=15;while(0);if((e|0)==15)b=bg(d)|0;yb=o;return b|0}function hF(a){a=a|0;UD(a);QA(a);return}function iF(b,d){b=b|0;d=d|0;var e=0,f=0;f=VF(d,57048)|0;e=b+36|0;c[e>>2]=f;d=b+44|0;c[d>>2]=Eb[c[(c[f>>2]|0)+24>>2]&127](f)|0;e=c[e>>2]|0;a[b+53>>0]=(Eb[c[(c[e>>2]|0)+28>>2]&127](e)|0)&1;if((c[d>>2]|0)>8)lJ(49046);else return}function jF(a){a=a|0;return mF(a,0)|0}function kF(a){a=a|0;return mF(a,1)|0}function lF(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;l=yb;yb=yb+32|0;h=l+16|0;i=l+8|0;f=l+4|0;g=l;j=HE(d,gE()|0)|0;k=b+52|0;e=(a[k>>0]|0)!=0;do if(j)if(e)e=d;else{e=c[b+48>>2]|0;a[k>>0]=((HE(e,gE()|0)|0)^1)&1}else{if(e){j=b+48|0;c[f>>2]=jE(c[j>>2]|0)|0;e=c[b+36>>2]|0;switch(Ob[c[(c[e>>2]|0)+12>>2]&15](e,c[b+40>>2]|0,f,f+4|0,g,h,h+8|0,i)|0){case 1:case 2:{g=11;break}case 3:{a[h>>0]=c[j>>2];c[i>>2]=h+1;g=8;break}default:g=8}a:do if((g|0)==8){e=b+32|0;while(1){f=c[i>>2]|0;if(f>>>0<=h>>>0){f=1;e=0;break a}b=f+-1|0;c[i>>2]=b;if((aA(a[b>>0]|0,c[e>>2]|0)|0)==-1){g=11;break}}}while(0);if((g|0)==11){f=0;e=gE()|0}if(f)e=j;else break}else e=b+48|0;c[e>>2]=d;a[k>>0]=1;e=d}while(0);yb=l;return e|0}function mF(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;r=yb;yb=yb+32|0;p=r+16|0;q=r+8|0;l=r+4|0;m=r;g=b+52|0;if(a[g>>0]|0){f=b+48|0;e=c[f>>2]|0;if(d){c[f>>2]=gE()|0;a[g>>0]=0}}else{e=c[b+44>>2]|0;e=(e|0)>1?e:1;o=b+32|0;f=0;while(1){if(f>>>0>=e>>>0){n=9;break}g=Xz(c[o>>2]|0)|0;if((g|0)==-1){n=8;break}a[p+f>>0]=g;f=f+1|0}if((n|0)==8)e=gE()|0;else if((n|0)==9){do if(!(a[b+53>>0]|0)){i=b+40|0;j=b+36|0;k=q+4|0;a:while(1){s=c[i>>2]|0;g=s;f=c[g>>2]|0;g=c[g+4>>2]|0;t=c[j>>2]|0;h=p+e|0;switch(Ob[c[(c[t>>2]|0)+16>>2]&15](t,s,p,h,l,q,k,m)|0){case 3:{n=15;break a}case 2:{n=17;break a}case 1:break;default:break a}t=c[i>>2]|0;c[t>>2]=f;c[t+4>>2]=g;if((e|0)==8){n=17;break}f=Xz(c[o>>2]|0)|0;if((f|0)==-1){n=17;break}a[h>>0]=f;e=e+1|0}if((n|0)==15)c[q>>2]=a[p>>0];else if((n|0)==17){e=gE()|0;break}n=19}else{c[q>>2]=a[p>>0];n=19}while(0);b:do if((n|0)==19){c:do if(d)c[b+48>>2]=hE(c[q>>2]|0)|0;else{do{if((e|0)<=0)break c;e=e+-1|0;t=hE(a[p+e>>0]|0)|0}while((aA(t,c[o>>2]|0)|0)!=-1);e=gE()|0;break b}while(0);e=hE(c[q>>2]|0)|0}while(0)}}yb=r;return e|0}function nF(a){a=a|0;FD(a);QA(a);return}function oF(b,d){b=b|0;d=d|0;var e=0,f=0;f=VF(d,57040)|0;e=b+36|0;c[e>>2]=f;d=b+44|0;c[d>>2]=Eb[c[(c[f>>2]|0)+24>>2]&127](f)|0;e=c[e>>2]|0;a[b+53>>0]=(Eb[c[(c[e>>2]|0)+28>>2]&127](e)|0)&1;if((c[d>>2]|0)>8)lJ(49046);else return}function pF(a){a=a|0;return sF(a,0)|0}function qF(a){a=a|0;return sF(a,1)|0}function rF(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;l=yb;yb=yb+32|0;h=l+16|0;i=l+4|0;f=l+8|0;g=l;j=Yf(d,Uf()|0)|0;k=b+52|0;e=(a[k>>0]|0)!=0;do if(j)if(e)e=d;else{e=c[b+48>>2]|0;a[k>>0]=((Yf(e,Uf()|0)|0)^1)&1}else{if(e){j=b+48|0;a[f>>0]=cg(c[j>>2]|0)|0;e=c[b+36>>2]|0;switch(Ob[c[(c[e>>2]|0)+12>>2]&15](e,c[b+40>>2]|0,f,f+1|0,g,h,h+8|0,i)|0){case 1:case 2:{g=11;break}case 3:{a[h>>0]=c[j>>2];c[i>>2]=h+1;g=8;break}default:g=8}a:do if((g|0)==8){e=b+32|0;while(1){f=c[i>>2]|0;if(f>>>0<=h>>>0){f=1;e=0;break a}b=f+-1|0;c[i>>2]=b;if((aA(a[b>>0]|0,c[e>>2]|0)|0)==-1){g=11;break}}}while(0);if((g|0)==11){f=0;e=Uf()|0}if(f)e=j;else break}else e=b+48|0;c[e>>2]=d;a[k>>0]=1;e=d}while(0);yb=l;return e|0}function sF(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;r=yb;yb=yb+32|0;p=r+16|0;q=r+8|0;l=r+4|0;m=r;g=b+52|0;if(a[g>>0]|0){f=b+48|0;e=c[f>>2]|0;if(d){c[f>>2]=Uf()|0;a[g>>0]=0}}else{e=c[b+44>>2]|0;e=(e|0)>1?e:1;o=b+32|0;f=0;while(1){if(f>>>0>=e>>>0){n=9;break}g=Xz(c[o>>2]|0)|0;if((g|0)==-1){n=8;break}a[p+f>>0]=g;f=f+1|0}if((n|0)==8)e=Uf()|0;else if((n|0)==9){do if(!(a[b+53>>0]|0)){i=b+40|0;j=b+36|0;k=q+1|0;a:while(1){s=c[i>>2]|0;g=s;f=c[g>>2]|0;g=c[g+4>>2]|0;t=c[j>>2]|0;h=p+e|0;switch(Ob[c[(c[t>>2]|0)+16>>2]&15](t,s,p,h,l,q,k,m)|0){case 3:{n=15;break a}case 2:{n=17;break a}case 1:break;default:break a}t=c[i>>2]|0;c[t>>2]=f;c[t+4>>2]=g;if((e|0)==8){n=17;break}f=Xz(c[o>>2]|0)|0;if((f|0)==-1){n=17;break}a[h>>0]=f;e=e+1|0}if((n|0)==15)a[q>>0]=a[p>>0]|0;else if((n|0)==17){e=Uf()|0;break}n=19}else{a[q>>0]=a[p>>0]|0;n=19}while(0);b:do if((n|0)==19){c:do if(d)c[b+48>>2]=ag(a[q>>0]|0)|0;else{do{if((e|0)<=0)break c;e=e+-1|0;t=ag(a[p+e>>0]|0)|0}while((aA(t,c[o>>2]|0)|0)!=-1);e=Uf()|0;break b}while(0);e=ag(a[q>>0]|0)|0}while(0)}}yb=r;return e|0}function tF(a){a=a|0;AF(a);return}function uF(a){a=a|0;tF(a);QA(a);return}function vF(a){a=a|0;if(a|0)Qb[c[(c[a>>2]|0)+4>>2]&255](a);return}function wF(b,c,d,e,f){b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;b=c;while(1){if((e|0)==(f|0)){h=7;break}if((b|0)==(d|0)){b=-1;break}c=a[b>>0]|0;g=a[e>>0]|0;if(c<<24>>24>24){b=-1;break}if(g<<24>>24>24){b=1;break}e=e+1|0;b=b+1|0}if((h|0)==7)b=(b|0)!=(d|0)&1;return b|0}function xF(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;zF(a,d,e);return}function yF(b,c,d){b=b|0;c=c|0;d=d|0;var e=0,f=0;b=0;while(1){if((c|0)==(d|0))break;e=(b<<4)+(a[c>>0]|0)|0;f=e&-268435456;b=(f>>>24|f)^e;c=c+1|0}return b|0}function zF(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;j=yb;yb=yb+16|0;g=d;i=j;f=e-g|0;if(f>>>0>4294967279)cO(b);if(f>>>0<11){a[b+11>>0]=f;h=b}else{k=f+16&-16;h=rB(k)|0;c[b>>2]=h;c[b+8>>2]=k|-2147483648;c[b+4>>2]=f}f=e-g|0;b=h;while(1){if((d|0)==(e|0))break;$f(b,d);d=d+1|0;b=b+1|0}a[i>>0]=0;$f(h+f|0,i);yb=j;return}function AF(a){a=a|0;return}function BF(a){a=a|0;AF(a);return}function CF(a){a=a|0;BF(a);QA(a);return}function DF(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;a=b;while(1){if((e|0)==(f|0)){h=7;break}if((a|0)==(d|0)){a=-1;break}b=c[a>>2]|0;g=c[e>>2]|0;if((b|0)<(g|0)){a=-1;break}if((g|0)<(b|0)){a=1;break}e=e+4|0;a=a+4|0}if((h|0)==7)a=(a|0)!=(d|0)&1;return a|0}function EF(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;GF(a,d,e);return}function FF(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;a=0;while(1){if((b|0)==(d|0))break;e=(c[b>>2]|0)+(a<<4)|0;f=e&-268435456;a=(f>>>24|f)^e;b=b+4|0}return a|0}function GF(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;j=yb;yb=yb+16|0;i=j;h=e-d>>2;if(h>>>0>1073741807)cO(b);do if(h>>>0>=2){g=h+4&-4;if(g>>>0>1073741823)ua();else{f=rB(g<<2)|0;c[b>>2]=f;c[b+8>>2]=g|-2147483648;c[b+4>>2]=h;break}}else{a[b+8+3>>0]=h;f=b}while(0);while(1){if((d|0)==(e|0))break;HF(f,d);d=d+4|0;f=f+4|0}c[i>>2]=0;HF(f,i);yb=j;return}function HF(a,b){a=a|0;b=b|0;c[a>>2]=c[b>>2];return}function IF(a){a=a|0;AF(a);return}function JF(a){a=a|0;AF(a);QA(a);return}function KF(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0;o=yb;yb=yb+48|0;i=o+40|0;n=o;j=o+32|0;k=o+36|0;l=o+28|0;m=o+24|0;if(!(c[f+4>>2]&1)){c[j>>2]=-1;m=c[(c[b>>2]|0)+16>>2]|0;c[k>>2]=c[d>>2];c[l>>2]=c[e>>2];c[n>>2]=c[k>>2];c[i>>2]=c[l>>2];c[d>>2]=Mb[m&63](b,n,i,f,g,j)|0;switch(c[j>>2]|0){case 0:{a[h>>0]=0;break}case 1:{a[h>>0]=1;break}default:{a[h>>0]=1;c[g>>2]=4}}i=c[d>>2]|0}else{GE(i,f);l=VF(i,56736)|0;WF(i);GE(i,f);b=VF(i,56752)|0;WF(i);Sb[c[(c[b>>2]|0)+24>>2]&63](n,b);Sb[c[(c[b>>2]|0)+28>>2]&63](n+12|0,b);c[m>>2]=c[e>>2];b=n+24|0;c[i>>2]=c[m>>2];a[h>>0]=(DG(d,i,n,b,l,g,1)|0)==(n|0)&1;i=c[d>>2]|0;do{b=b+-12|0;hO(b)}while((b|0)!=(n|0))}yb=o;return i|0}function LF(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0;h=yb;yb=yb+16|0;i=h+12|0;j=h+8|0;l=h+4|0;k=h;c[l>>2]=c[b>>2];c[k>>2]=c[d>>2];c[j>>2]=c[l>>2];c[i>>2]=c[k>>2];g=BG(a,j,i,e,f,g)|0;yb=h;return g|0}function MF(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0;h=yb;yb=yb+16|0;i=h+12|0;j=h+8|0;l=h+4|0;k=h;c[l>>2]=c[b>>2];c[k>>2]=c[d>>2];c[j>>2]=c[l>>2];c[i>>2]=c[k>>2];g=zG(a,j,i,e,f,g)|0;yb=h;return g|0}function NF(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0;h=yb;yb=yb+16|0;i=h+12|0;j=h+8|0;l=h+4|0;k=h;c[l>>2]=c[b>>2];c[k>>2]=c[d>>2];c[j>>2]=c[l>>2];c[i>>2]=c[k>>2];g=xG(a,j,i,e,f,g)|0;yb=h;return g|0}function OF(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0;h=yb;yb=yb+16|0;i=h+12|0;j=h+8|0;l=h+4|0;k=h;c[l>>2]=c[b>>2];c[k>>2]=c[d>>2];c[j>>2]=c[l>>2];c[i>>2]=c[k>>2];g=vG(a,j,i,e,f,g)|0;yb=h;return g|0}function PF(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0;h=yb;yb=yb+16|0;i=h+12|0;j=h+8|0;l=h+4|0;k=h;c[l>>2]=c[b>>2];c[k>>2]=c[d>>2];c[j>>2]=c[l>>2];c[i>>2]=c[k>>2];g=tG(a,j,i,e,f,g)|0;yb=h;return g|0}function QF(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0;h=yb;yb=yb+16|0;i=h+12|0;j=h+8|0;l=h+4|0;k=h;c[l>>2]=c[b>>2];c[k>>2]=c[d>>2];c[j>>2]=c[l>>2];c[i>>2]=c[k>>2];g=nG(a,j,i,e,f,g)|0;yb=h;return g|0}function RF(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0;h=yb;yb=yb+16|0;i=h+12|0;j=h+8|0;l=h+4|0;k=h;c[l>>2]=c[b>>2];c[k>>2]=c[d>>2];c[j>>2]=c[l>>2];c[i>>2]=c[k>>2];g=lG(a,j,i,e,f,g)|0;yb=h;return g|0}function SF(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0;h=yb;yb=yb+16|0;i=h+12|0;j=h+8|0;l=h+4|0;k=h;c[l>>2]=c[b>>2];c[k>>2]=c[d>>2];c[j>>2]=c[l>>2];c[i>>2]=c[k>>2];g=jG(a,j,i,e,f,g)|0;yb=h;return g|0}function TF(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0;h=yb;yb=yb+16|0;i=h+12|0;j=h+8|0;l=h+4|0;k=h;c[l>>2]=c[b>>2];c[k>>2]=c[d>>2];c[j>>2]=c[l>>2];c[i>>2]=c[k>>2];g=eG(a,j,i,e,f,g)|0;yb=h;return g|0}function UF(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;y=yb;yb=yb+240|0;v=y+192|0;t=y+160|0;w=y+220|0;x=y+208|0;u=y+204|0;q=y;r=y+200|0;s=y+196|0;c[w>>2]=0;c[w+4>>2]=0;c[w+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[w+(b<<2)>>2]=0;b=b+1|0}GE(x,f);b=VF(x,56736)|0;Ib[c[(c[b>>2]|0)+32>>2]&15](b,12928,12954,t)|0;WF(x);c[x>>2]=0;c[x+4>>2]=0;c[x+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[x+(b<<2)>>2]=0;b=b+1|0}p=x+11|0;o=x+8|0;if((a[p>>0]|0)<0)b=(c[o>>2]&2147483647)+-1|0;else b=10;mO(x,b,0);b=(a[p>>0]|0)<0?c[x>>2]|0:x;c[u>>2]=b;c[r>>2]=q;c[s>>2]=0;n=x+4|0;j=c[d>>2]|0;i=j;a:while(1){if(j){f=c[j+12>>2]|0;if((f|0)==(c[j+16>>2]|0))f=Eb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else f=ag(a[f>>0]|0)|0;if(Yf(f,Uf()|0)|0){c[d>>2]=0;m=0;k=1;j=0}else{m=i;k=0}}else{m=0;k=1;j=0}i=c[e>>2]|0;do if(i){f=c[i+12>>2]|0;if((f|0)==(c[i+16>>2]|0))f=Eb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else f=ag(a[f>>0]|0)|0;if(!(Yf(f,Uf()|0)|0))if(k)break;else break a;else{c[e>>2]=0;z=22;break}}else z=22;while(0);if((z|0)==22){z=0;if(k){i=0;break}else i=0}f=a[p>>0]|0;f=f<<24>>24<0?c[n>>2]|0:f&255;if((c[u>>2]|0)==(b+f|0)){mO(x,f<<1,0);if((a[p>>0]|0)<0)b=(c[o>>2]&2147483647)+-1|0;else b=10;mO(x,b,0);b=(a[p>>0]|0)<0?c[x>>2]|0:x;c[u>>2]=b+f}k=j+12|0;f=c[k>>2]|0;l=j+16|0;if((f|0)==(c[l>>2]|0))f=Eb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else f=ag(a[f>>0]|0)|0;if(XF(f&255,16,b,u,s,0,w,q,r,t)|0)break;f=c[k>>2]|0;if((f|0)==(c[l>>2]|0))Eb[c[(c[j>>2]|0)+40>>2]&127](j)|0;else{c[k>>2]=f+1;ag(a[f>>0]|0)|0}i=m}mO(x,(c[u>>2]|0)-b|0,0);t=(a[p>>0]|0)<0?c[x>>2]|0:x;u=YF()|0;c[v>>2]=h;if((ZF(t,u,49194,v)|0)!=1)c[g>>2]=4;if(j){b=c[j+12>>2]|0;if((b|0)==(c[j+16>>2]|0))b=Eb[c[(c[m>>2]|0)+36>>2]&127](j)|0;else b=ag(a[b>>0]|0)|0;if(Yf(b,Uf()|0)|0){c[d>>2]=0;f=1}else f=0}else f=1;do if(i){b=c[i+12>>2]|0;if((b|0)==(c[i+16>>2]|0))b=Eb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else b=ag(a[b>>0]|0)|0;if(!(Yf(b,Uf()|0)|0))if(f)break;else{z=52;break}else{c[e>>2]=0;z=50;break}}else z=50;while(0);if((z|0)==50?f:0)z=52;if((z|0)==52)c[g>>2]=c[g>>2]|2;z=c[d>>2]|0;hO(x);hO(w);yb=y;return z|0}function VF(a,b){a=a|0;b=b|0;a=c[a>>2]|0;return $F(a,_F(b)|0)|0}function WF(a){a=a|0;var b=0,d=0;a=c[a>>2]|0;d=a+4|0;b=c[d>>2]|0;c[d>>2]=b+-1;if(!b)Qb[c[(c[a>>2]|0)+8>>2]&255](a);return}function XF(b,d,e,f,g,h,i,j,k,l){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;var m=0,n=0,o=0,p=0;o=c[f>>2]|0;p=(o|0)==(e|0);do if(p){m=(a[l+24>>0]|0)==b<<24>>24;if(!m?(a[l+25>>0]|0)!=b<<24>>24:0){n=5;break}c[f>>2]=e+1;a[e>>0]=m?43:45;c[g>>2]=0;m=0}else n=5;while(0);a:do if((n|0)==5){n=a[i+11>>0]|0;if(b<<24>>24==h<<24>>24?((n<<24>>24<0?c[i+4>>2]|0:n&255)|0)!=0:0){m=c[k>>2]|0;if((m-j|0)>=160){m=0;break}f=c[g>>2]|0;c[k>>2]=m+4;c[m>>2]=f;c[g>>2]=0;m=0;break}i=l+26|0;h=0;while(1){m=l+h|0;if((h|0)==26){m=i;break}if((a[m>>0]|0)==b<<24>>24)break;else h=h+1|0}m=m-l|0;if((m|0)>23)m=-1;else{switch(d|0){case 10:case 8:{if((m|0)>=(d|0)){m=-1;break a}break}case 16:{if((m|0)>=22){if(p){m=-1;break a}if((o-e|0)>=3){m=-1;break a}if((a[o+-1>>0]|0)!=48){m=-1;break a}c[g>>2]=0;m=a[12928+m>>0]|0;c[f>>2]=o+1;a[o>>0]=m;m=0;break a}break}default:{}}m=a[12928+m>>0]|0;c[f>>2]=o+1;a[o>>0]=m;c[g>>2]=(c[g>>2]|0)+1;m=0}}while(0);return m|0}function YF(){if((a[54800]|0)==0?lB(54800)|0:0){c[14186]=_y(2147483647,49197,0)|0;nB(54800)}return c[14186]|0}function ZF(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;f=yb;yb=yb+16|0;g=f;c[g>>2]=e;e=cz(b)|0;b=Bz(a,d,g)|0;if(e|0)cz(e)|0;yb=f;return b|0}function _F(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;f=yb;yb=yb+48|0;b=f+32|0;d=f+24|0;e=f;g=f+16|0;c[g>>2]=143;c[g+4>>2]=0;c[b>>2]=c[g>>2];c[b+4>>2]=c[g+4>>2];bG(e,b,a);if((c[a>>2]|0)!=-1){c[b>>2]=e;c[d>>2]=b;ZN(a,d,144)}yb=f;return (c[a+4>>2]|0)+-1|0}function $F(a,b){a=a|0;b=b|0;return c[(c[a+8>>2]|0)+(b<<2)>>2]|0}function aG(a){a=a|0;var b=0;b=c[14187]|0;c[14187]=b+1;c[a+4>>2]=b+1;return}function bG(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=c[b>>2]|0;b=c[b+4>>2]|0;c[a>>2]=d;c[a+4>>2]=e;c[a+8>>2]=b;return}function cG(a){a=a|0;dG(c[c[a>>2]>>2]|0);return}function dG(a){a=a|0;var b=0,d=0,e=0;b=c[a+4>>2]|0;e=c[a+8>>2]|0;d=(c[a>>2]|0)+(e>>1)|0;if(!(e&1))a=b;else a=c[(c[d>>2]|0)+b>>2]|0;Qb[a&255](d);return}function eG(b,d,e,f,h,i){b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;D=yb;yb=yb+240|0;s=D+160|0;t=D+231|0;u=D+230|0;C=D+216|0;B=D+204|0;v=D+200|0;w=D;x=D+196|0;y=D+192|0;z=D+229|0;r=D+228|0;fG(C,f,s,t,u);c[B>>2]=0;c[B+4>>2]=0;c[B+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[B+(b<<2)>>2]=0;b=b+1|0}p=B+11|0;q=B+8|0;if((a[p>>0]|0)<0)b=(c[q>>2]&2147483647)+-1|0;else b=10;mO(B,b,0);b=(a[p>>0]|0)<0?c[B>>2]|0:B;c[v>>2]=b;c[x>>2]=w;c[y>>2]=0;a[z>>0]=1;a[r>>0]=69;o=B+4|0;k=c[d>>2]|0;j=k;a:while(1){if(k){f=c[k+12>>2]|0;if((f|0)==(c[k+16>>2]|0))f=Eb[c[(c[k>>2]|0)+36>>2]&127](k)|0;else f=ag(a[f>>0]|0)|0;if(Yf(f,Uf()|0)|0){c[d>>2]=0;n=0;l=1;k=0}else{n=j;l=0}}else{n=0;l=1;k=0}j=c[e>>2]|0;do if(j){f=c[j+12>>2]|0;if((f|0)==(c[j+16>>2]|0))f=Eb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else f=ag(a[f>>0]|0)|0;if(!(Yf(f,Uf()|0)|0))if(l)break;else break a;else{c[e>>2]=0;E=19;break}}else E=19;while(0);if((E|0)==19){E=0;if(l){j=0;break}else j=0}f=a[p>>0]|0;f=f<<24>>24<0?c[o>>2]|0:f&255;if((c[v>>2]|0)==(b+f|0)){mO(B,f<<1,0);if((a[p>>0]|0)<0)b=(c[q>>2]&2147483647)+-1|0;else b=10;mO(B,b,0);b=(a[p>>0]|0)<0?c[B>>2]|0:B;c[v>>2]=b+f}l=k+12|0;f=c[l>>2]|0;m=k+16|0;if((f|0)==(c[m>>2]|0))f=Eb[c[(c[k>>2]|0)+36>>2]&127](k)|0;else f=ag(a[f>>0]|0)|0;if(gG(f&255,z,r,b,v,a[t>>0]|0,a[u>>0]|0,C,w,x,y,s)|0)break;f=c[l>>2]|0;if((f|0)==(c[m>>2]|0))Eb[c[(c[k>>2]|0)+40>>2]&127](k)|0;else{c[l>>2]=f+1;ag(a[f>>0]|0)|0}j=n}u=a[C+11>>0]|0;if(!((a[z>>0]|0)==0?1:((u<<24>>24<0?c[C+4>>2]|0:u&255)|0)==0)?(A=c[x>>2]|0,(A-w|0)<160):0){z=c[y>>2]|0;c[x>>2]=A+4;c[A>>2]=z}g[i>>3]=+hG(b,c[v>>2]|0,h);iG(C,w,c[x>>2]|0,h);if(k){b=c[k+12>>2]|0;if((b|0)==(c[k+16>>2]|0))b=Eb[c[(c[n>>2]|0)+36>>2]&127](k)|0;else b=ag(a[b>>0]|0)|0;if(Yf(b,Uf()|0)|0){c[d>>2]=0;f=1}else f=0}else f=1;do if(j){b=c[j+12>>2]|0;if((b|0)==(c[j+16>>2]|0))b=Eb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else b=ag(a[b>>0]|0)|0;if(!(Yf(b,Uf()|0)|0))if(f)break;else{E=50;break}else{c[e>>2]=0;E=48;break}}else E=48;while(0);if((E|0)==48?f:0)E=50;if((E|0)==50)c[h>>2]=c[h>>2]|2;E=c[d>>2]|0;hO(B);hO(C);yb=D;return E|0}function fG(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0;h=yb;yb=yb+16|0;i=h;GE(i,d);d=VF(i,56736)|0;Ib[c[(c[d>>2]|0)+32>>2]&15](d,12928,12960,e)|0;e=VF(i,56752)|0;a[f>>0]=Eb[c[(c[e>>2]|0)+12>>2]&127](e)|0;a[g>>0]=Eb[c[(c[e>>2]|0)+16>>2]&127](e)|0;Sb[c[(c[e>>2]|0)+20>>2]&63](b,e);WF(i);yb=h;return}function gG(b,d,e,f,g,h,i,j,k,l,m,n){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;m=m|0;n=n|0;var o=0,p=0;a:do if(b<<24>>24==h<<24>>24)if(a[d>>0]|0){a[d>>0]=0;e=c[g>>2]|0;c[g>>2]=e+1;a[e>>0]=46;g=a[j+11>>0]|0;if(((g<<24>>24<0?c[j+4>>2]|0:g&255)|0)!=0?(o=c[l>>2]|0,(o-k|0)<160):0){k=c[m>>2]|0;c[l>>2]=o+4;c[o>>2]=k;o=0}else o=0}else o=-1;else{if(b<<24>>24==i<<24>>24?(i=a[j+11>>0]|0,(i<<24>>24<0?c[j+4>>2]|0:i&255)|0):0){if(!(a[d>>0]|0)){o=-1;break}o=c[l>>2]|0;if((o-k|0)>=160){o=0;break}k=c[m>>2]|0;c[l>>2]=o+4;c[o>>2]=k;c[m>>2]=0;o=0;break}i=n+32|0;h=0;while(1){o=n+h|0;if((h|0)==32){o=i;break}if((a[o>>0]|0)==b<<24>>24)break;else h=h+1|0}h=o-n|0;if((h|0)>31)o=-1;else{i=a[12928+h>>0]|0;switch(h|0){case 24:case 25:{o=c[g>>2]|0;if((o|0)!=(f|0)?(a[o+-1>>0]&95)!=(a[e>>0]&127):0){o=-1;break a}c[g>>2]=o+1;a[o>>0]=i;o=0;break a}case 23:case 22:{a[e>>0]=80;o=c[g>>2]|0;c[g>>2]=o+1;a[o>>0]=i;o=0;break a}default:{o=i&95;if((((o|0)==(a[e>>0]|0)?(a[e>>0]=o|128,a[d>>0]|0):0)?(a[d>>0]=0,e=a[j+11>>0]|0,(e<<24>>24<0?c[j+4>>2]|0:e&255)|0):0)?(p=c[l>>2]|0,(p-k|0)<160):0){k=c[m>>2]|0;c[l>>2]=p+4;c[p>>2]=k}l=c[g>>2]|0;c[g>>2]=l+1;a[l>>0]=i;if((h|0)>21){o=0;break a}c[m>>2]=(c[m>>2]|0)+1;o=0;break a}}}}while(0);return o|0}function hG(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0,f=0,g=0,h=0,i=0;i=yb;yb=yb+16|0;f=i;if((a|0)==(b|0)){c[d>>2]=4;e=0.0}else{g=c[(mx()|0)>>2]|0;c[(mx()|0)>>2]=0;e=+pA(a,f,YF()|0);a=c[(mx()|0)>>2]|0;if(!a)c[(mx()|0)>>2]=g;if((c[f>>2]|0)==(b|0)){if((a|0)==68)h=6}else{e=0.0;h=6}if((h|0)==6)c[d>>2]=4}yb=i;return +e}function iG(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0;j=b+11|0;h=a[j>>0]|0;k=b+4|0;g=c[k>>2]|0;i=h&255;do if((h<<24>>24<0?g:i)|0){if((d|0)!=(e|0)){g=e;h=d;while(1){g=g+-4|0;if(h>>>0>=g>>>0)break;i=c[h>>2]|0;c[h>>2]=c[g>>2];c[g>>2]=i;h=h+4|0}h=a[j>>0]|0;i=h&255;g=c[k>>2]|0}j=h<<24>>24<0;b=j?c[b>>2]|0:b;k=e+-4|0;j=b+(j?g:i)|0;g=b;while(1){h=a[g>>0]|0;i=h<<24>>24>0&h<<24>>24!=127;if(d>>>0>=k>>>0)break;if(i?(c[d>>2]|0)!=(h<<24>>24|0):0){l=11;break}d=d+4|0;g=(j-g|0)>1?g+1|0:g}if((l|0)==11){c[f>>2]=4;break}if(i?((c[k>>2]|0)+-1|0)>>>0>=h<<24>>24>>>0:0)c[f>>2]=4}while(0);return}function jG(b,d,e,f,h,i){b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;D=yb;yb=yb+240|0;s=D+160|0;t=D+231|0;u=D+230|0;C=D+216|0;B=D+204|0;v=D+200|0;w=D;x=D+196|0;y=D+192|0;z=D+229|0;r=D+228|0;fG(C,f,s,t,u);c[B>>2]=0;c[B+4>>2]=0;c[B+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[B+(b<<2)>>2]=0;b=b+1|0}p=B+11|0;q=B+8|0;if((a[p>>0]|0)<0)b=(c[q>>2]&2147483647)+-1|0;else b=10;mO(B,b,0);b=(a[p>>0]|0)<0?c[B>>2]|0:B;c[v>>2]=b;c[x>>2]=w;c[y>>2]=0;a[z>>0]=1;a[r>>0]=69;o=B+4|0;k=c[d>>2]|0;j=k;a:while(1){if(k){f=c[k+12>>2]|0;if((f|0)==(c[k+16>>2]|0))f=Eb[c[(c[k>>2]|0)+36>>2]&127](k)|0;else f=ag(a[f>>0]|0)|0;if(Yf(f,Uf()|0)|0){c[d>>2]=0;n=0;l=1;k=0}else{n=j;l=0}}else{n=0;l=1;k=0}j=c[e>>2]|0;do if(j){f=c[j+12>>2]|0;if((f|0)==(c[j+16>>2]|0))f=Eb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else f=ag(a[f>>0]|0)|0;if(!(Yf(f,Uf()|0)|0))if(l)break;else break a;else{c[e>>2]=0;E=19;break}}else E=19;while(0);if((E|0)==19){E=0;if(l){j=0;break}else j=0}f=a[p>>0]|0;f=f<<24>>24<0?c[o>>2]|0:f&255;if((c[v>>2]|0)==(b+f|0)){mO(B,f<<1,0);if((a[p>>0]|0)<0)b=(c[q>>2]&2147483647)+-1|0;else b=10;mO(B,b,0);b=(a[p>>0]|0)<0?c[B>>2]|0:B;c[v>>2]=b+f}l=k+12|0;f=c[l>>2]|0;m=k+16|0;if((f|0)==(c[m>>2]|0))f=Eb[c[(c[k>>2]|0)+36>>2]&127](k)|0;else f=ag(a[f>>0]|0)|0;if(gG(f&255,z,r,b,v,a[t>>0]|0,a[u>>0]|0,C,w,x,y,s)|0)break;f=c[l>>2]|0;if((f|0)==(c[m>>2]|0))Eb[c[(c[k>>2]|0)+40>>2]&127](k)|0;else{c[l>>2]=f+1;ag(a[f>>0]|0)|0}j=n}u=a[C+11>>0]|0;if(!((a[z>>0]|0)==0?1:((u<<24>>24<0?c[C+4>>2]|0:u&255)|0)==0)?(A=c[x>>2]|0,(A-w|0)<160):0){z=c[y>>2]|0;c[x>>2]=A+4;c[A>>2]=z}g[i>>3]=+kG(b,c[v>>2]|0,h);iG(C,w,c[x>>2]|0,h);if(k){b=c[k+12>>2]|0;if((b|0)==(c[k+16>>2]|0))b=Eb[c[(c[n>>2]|0)+36>>2]&127](k)|0;else b=ag(a[b>>0]|0)|0;if(Yf(b,Uf()|0)|0){c[d>>2]=0;f=1}else f=0}else f=1;do if(j){b=c[j+12>>2]|0;if((b|0)==(c[j+16>>2]|0))b=Eb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else b=ag(a[b>>0]|0)|0;if(!(Yf(b,Uf()|0)|0))if(f)break;else{E=50;break}else{c[e>>2]=0;E=48;break}}else E=48;while(0);if((E|0)==48?f:0)E=50;if((E|0)==50)c[h>>2]=c[h>>2]|2;E=c[d>>2]|0;hO(B);hO(C);yb=D;return E|0}function kG(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0,f=0,g=0,h=0,i=0;i=yb;yb=yb+16|0;f=i;if((a|0)==(b|0)){c[d>>2]=4;e=0.0}else{g=c[(mx()|0)>>2]|0;c[(mx()|0)>>2]=0;e=+oA(a,f,YF()|0);a=c[(mx()|0)>>2]|0;if(!a)c[(mx()|0)>>2]=g;if((c[f>>2]|0)==(b|0)){if((a|0)==68)h=6}else{e=0.0;h=6}if((h|0)==6)c[d>>2]=4}yb=i;return +e}function lG(b,d,e,g,h,i){b=b|0;d=d|0;e=e|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;D=yb;yb=yb+240|0;s=D+160|0;t=D+231|0;u=D+230|0;C=D+216|0;B=D+204|0;v=D+200|0;w=D;x=D+196|0;y=D+192|0;z=D+229|0;r=D+228|0;fG(C,g,s,t,u);c[B>>2]=0;c[B+4>>2]=0;c[B+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[B+(b<<2)>>2]=0;b=b+1|0}p=B+11|0;q=B+8|0;if((a[p>>0]|0)<0)b=(c[q>>2]&2147483647)+-1|0;else b=10;mO(B,b,0);b=(a[p>>0]|0)<0?c[B>>2]|0:B;c[v>>2]=b;c[x>>2]=w;c[y>>2]=0;a[z>>0]=1;a[r>>0]=69;o=B+4|0;k=c[d>>2]|0;j=k;a:while(1){if(k){g=c[k+12>>2]|0;if((g|0)==(c[k+16>>2]|0))g=Eb[c[(c[k>>2]|0)+36>>2]&127](k)|0;else g=ag(a[g>>0]|0)|0;if(Yf(g,Uf()|0)|0){c[d>>2]=0;n=0;l=1;k=0}else{n=j;l=0}}else{n=0;l=1;k=0}j=c[e>>2]|0;do if(j){g=c[j+12>>2]|0;if((g|0)==(c[j+16>>2]|0))g=Eb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else g=ag(a[g>>0]|0)|0;if(!(Yf(g,Uf()|0)|0))if(l)break;else break a;else{c[e>>2]=0;E=19;break}}else E=19;while(0);if((E|0)==19){E=0;if(l){j=0;break}else j=0}g=a[p>>0]|0;g=g<<24>>24<0?c[o>>2]|0:g&255;if((c[v>>2]|0)==(b+g|0)){mO(B,g<<1,0);if((a[p>>0]|0)<0)b=(c[q>>2]&2147483647)+-1|0;else b=10;mO(B,b,0);b=(a[p>>0]|0)<0?c[B>>2]|0:B;c[v>>2]=b+g}l=k+12|0;g=c[l>>2]|0;m=k+16|0;if((g|0)==(c[m>>2]|0))g=Eb[c[(c[k>>2]|0)+36>>2]&127](k)|0;else g=ag(a[g>>0]|0)|0;if(gG(g&255,z,r,b,v,a[t>>0]|0,a[u>>0]|0,C,w,x,y,s)|0)break;g=c[l>>2]|0;if((g|0)==(c[m>>2]|0))Eb[c[(c[k>>2]|0)+40>>2]&127](k)|0;else{c[l>>2]=g+1;ag(a[g>>0]|0)|0}j=n}u=a[C+11>>0]|0;if(!((a[z>>0]|0)==0?1:((u<<24>>24<0?c[C+4>>2]|0:u&255)|0)==0)?(A=c[x>>2]|0,(A-w|0)<160):0){z=c[y>>2]|0;c[x>>2]=A+4;c[A>>2]=z}f[i>>2]=+mG(b,c[v>>2]|0,h);iG(C,w,c[x>>2]|0,h);if(k){b=c[k+12>>2]|0;if((b|0)==(c[k+16>>2]|0))b=Eb[c[(c[n>>2]|0)+36>>2]&127](k)|0;else b=ag(a[b>>0]|0)|0;if(Yf(b,Uf()|0)|0){c[d>>2]=0;g=1}else g=0}else g=1;do if(j){b=c[j+12>>2]|0;if((b|0)==(c[j+16>>2]|0))b=Eb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else b=ag(a[b>>0]|0)|0;if(!(Yf(b,Uf()|0)|0))if(g)break;else{E=50;break}else{c[e>>2]=0;E=48;break}}else E=48;while(0);if((E|0)==48?g:0)E=50;if((E|0)==50)c[h>>2]=c[h>>2]|2;E=c[d>>2]|0;hO(B);hO(C);yb=D;return E|0}function mG(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0,f=0,g=0,h=0,i=0;i=yb;yb=yb+16|0;f=i;if((a|0)==(b|0)){c[d>>2]=4;e=0.0}else{g=c[(mx()|0)>>2]|0;c[(mx()|0)>>2]=0;e=+nA(a,f,YF()|0);a=c[(mx()|0)>>2]|0;if(!a)c[(mx()|0)>>2]=g;if((c[f>>2]|0)==(b|0)){if((a|0)==68)h=6}else{e=0.0;h=6}if((h|0)==6)c[d>>2]=4}yb=i;return +e}function nG(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;B=yb;yb=yb+240|0;r=B+224|0;y=B+212|0;z=B+200|0;s=B+196|0;t=B;v=B+192|0;w=B+188|0;x=oG(f)|0;q=pG(b,f,B+160|0)|0;qG(y,f,r);c[z>>2]=0;c[z+4>>2]=0;c[z+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[z+(b<<2)>>2]=0;b=b+1|0}o=z+11|0;p=z+8|0;if((a[o>>0]|0)<0)b=(c[p>>2]&2147483647)+-1|0;else b=10;mO(z,b,0);b=(a[o>>0]|0)<0?c[z>>2]|0:z;c[s>>2]=b;c[v>>2]=t;c[w>>2]=0;n=z+4|0;j=c[d>>2]|0;i=j;a:while(1){if(j){f=c[j+12>>2]|0;if((f|0)==(c[j+16>>2]|0))f=Eb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else f=ag(a[f>>0]|0)|0;if(Yf(f,Uf()|0)|0){c[d>>2]=0;m=0;k=1;j=0}else{m=i;k=0}}else{m=0;k=1;j=0}i=c[e>>2]|0;do if(i){f=c[i+12>>2]|0;if((f|0)==(c[i+16>>2]|0))f=Eb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else f=ag(a[f>>0]|0)|0;if(!(Yf(f,Uf()|0)|0))if(k)break;else break a;else{c[e>>2]=0;A=19;break}}else A=19;while(0);if((A|0)==19){A=0;if(k){i=0;break}else i=0}f=a[o>>0]|0;f=f<<24>>24<0?c[n>>2]|0:f&255;if((c[s>>2]|0)==(b+f|0)){mO(z,f<<1,0);if((a[o>>0]|0)<0)b=(c[p>>2]&2147483647)+-1|0;else b=10;mO(z,b,0);b=(a[o>>0]|0)<0?c[z>>2]|0:z;c[s>>2]=b+f}k=j+12|0;f=c[k>>2]|0;l=j+16|0;if((f|0)==(c[l>>2]|0))f=Eb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else f=ag(a[f>>0]|0)|0;if(XF(f&255,x,b,s,w,a[r>>0]|0,y,t,v,q)|0)break;f=c[k>>2]|0;if((f|0)==(c[l>>2]|0))Eb[c[(c[j>>2]|0)+40>>2]&127](j)|0;else{c[k>>2]=f+1;ag(a[f>>0]|0)|0}i=m}r=a[y+11>>0]|0;if((r<<24>>24<0?c[y+4>>2]|0:r&255)|0?(u=c[v>>2]|0,(u-t|0)<160):0){w=c[w>>2]|0;c[v>>2]=u+4;c[u>>2]=w}w=rG(b,c[s>>2]|0,g,x)|0;x=F()|0;c[h>>2]=w;c[h+4>>2]=x;iG(y,t,c[v>>2]|0,g);if(j){b=c[j+12>>2]|0;if((b|0)==(c[j+16>>2]|0))b=Eb[c[(c[m>>2]|0)+36>>2]&127](j)|0;else b=ag(a[b>>0]|0)|0;if(Yf(b,Uf()|0)|0){c[d>>2]=0;f=1}else f=0}else f=1;do if(i){b=c[i+12>>2]|0;if((b|0)==(c[i+16>>2]|0))b=Eb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else b=ag(a[b>>0]|0)|0;if(!(Yf(b,Uf()|0)|0))if(f)break;else{A=50;break}else{c[e>>2]=0;A=48;break}}else A=48;while(0);if((A|0)==48?f:0)A=50;if((A|0)==50)c[g>>2]=c[g>>2]|2;A=c[d>>2]|0;hO(z);hO(y);yb=B;return A|0}function oG(a){a=a|0;switch(c[a+4>>2]&74){case 64:{a=8;break}case 8:{a=16;break}case 0:{a=0;break}default:a=10}return a|0}function pG(a,b,c){a=a|0;b=b|0;c=c|0;return sG(a,b,c)|0}function qG(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;f=yb;yb=yb+16|0;g=f;GE(g,d);d=VF(g,56752)|0;a[e>>0]=Eb[c[(c[d>>2]|0)+16>>2]&127](d)|0;Sb[c[(c[d>>2]|0)+20>>2]&63](b,d);WF(g);yb=f;return}function rG(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0;k=yb;yb=yb+16|0;i=k;do if((b|0)==(d|0)){c[e>>2]=4;f=0;b=0}else{j=(a[b>>0]|0)==45;if(j){b=b+1|0;if((b|0)==(d|0)){c[e>>2]=4;f=0;b=0;break}}h=c[(mx()|0)>>2]|0;c[(mx()|0)>>2]=0;b=rx(b,i,f,YF()|0)|0;g=F()|0;f=c[(mx()|0)>>2]|0;if(!f)c[(mx()|0)>>2]=h;do if((c[i>>2]|0)==(d|0))if((f|0)==68){c[e>>2]=4;b=-1;f=-1;break}else{i=NO(0,0,b|0,g|0)|0;f=F()|0;b=j?i:b;f=j?f:g;break}else{c[e>>2]=4;b=0;f=0}while(0)}while(0);E(f|0);yb=k;return b|0}function sG(a,b,c){a=a|0;b=b|0;c=c|0;return 12928}function tG(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;B=yb;yb=yb+240|0;r=B+224|0;y=B+212|0;z=B+200|0;s=B+196|0;t=B;v=B+192|0;w=B+188|0;x=oG(f)|0;q=pG(b,f,B+160|0)|0;qG(y,f,r);c[z>>2]=0;c[z+4>>2]=0;c[z+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[z+(b<<2)>>2]=0;b=b+1|0}o=z+11|0;p=z+8|0;if((a[o>>0]|0)<0)b=(c[p>>2]&2147483647)+-1|0;else b=10;mO(z,b,0);b=(a[o>>0]|0)<0?c[z>>2]|0:z;c[s>>2]=b;c[v>>2]=t;c[w>>2]=0;n=z+4|0;j=c[d>>2]|0;i=j;a:while(1){if(j){f=c[j+12>>2]|0;if((f|0)==(c[j+16>>2]|0))f=Eb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else f=ag(a[f>>0]|0)|0;if(Yf(f,Uf()|0)|0){c[d>>2]=0;m=0;k=1;j=0}else{m=i;k=0}}else{m=0;k=1;j=0}i=c[e>>2]|0;do if(i){f=c[i+12>>2]|0;if((f|0)==(c[i+16>>2]|0))f=Eb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else f=ag(a[f>>0]|0)|0;if(!(Yf(f,Uf()|0)|0))if(k)break;else break a;else{c[e>>2]=0;A=19;break}}else A=19;while(0);if((A|0)==19){A=0;if(k){i=0;break}else i=0}f=a[o>>0]|0;f=f<<24>>24<0?c[n>>2]|0:f&255;if((c[s>>2]|0)==(b+f|0)){mO(z,f<<1,0);if((a[o>>0]|0)<0)b=(c[p>>2]&2147483647)+-1|0;else b=10;mO(z,b,0);b=(a[o>>0]|0)<0?c[z>>2]|0:z;c[s>>2]=b+f}k=j+12|0;f=c[k>>2]|0;l=j+16|0;if((f|0)==(c[l>>2]|0))f=Eb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else f=ag(a[f>>0]|0)|0;if(XF(f&255,x,b,s,w,a[r>>0]|0,y,t,v,q)|0)break;f=c[k>>2]|0;if((f|0)==(c[l>>2]|0))Eb[c[(c[j>>2]|0)+40>>2]&127](j)|0;else{c[k>>2]=f+1;ag(a[f>>0]|0)|0}i=m}r=a[y+11>>0]|0;if((r<<24>>24<0?c[y+4>>2]|0:r&255)|0?(u=c[v>>2]|0,(u-t|0)<160):0){w=c[w>>2]|0;c[v>>2]=u+4;c[u>>2]=w}c[h>>2]=uG(b,c[s>>2]|0,g,x)|0;iG(y,t,c[v>>2]|0,g);if(j){b=c[j+12>>2]|0;if((b|0)==(c[j+16>>2]|0))b=Eb[c[(c[m>>2]|0)+36>>2]&127](j)|0;else b=ag(a[b>>0]|0)|0;if(Yf(b,Uf()|0)|0){c[d>>2]=0;f=1}else f=0}else f=1;do if(i){b=c[i+12>>2]|0;if((b|0)==(c[i+16>>2]|0))b=Eb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else b=ag(a[b>>0]|0)|0;if(!(Yf(b,Uf()|0)|0))if(f)break;else{A=50;break}else{c[e>>2]=0;A=48;break}}else A=48;while(0);if((A|0)==48?f:0)A=50;if((A|0)==50)c[g>>2]=c[g>>2]|2;A=c[d>>2]|0;hO(z);hO(y);yb=B;return A|0}function uG(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0;k=yb;yb=yb+16|0;i=k;do if((b|0)==(d|0)){c[e>>2]=4;b=0}else{j=(a[b>>0]|0)==45;if(j){b=b+1|0;if((b|0)==(d|0)){c[e>>2]=4;b=0;break}}h=c[(mx()|0)>>2]|0;c[(mx()|0)>>2]=0;b=rx(b,i,f,YF()|0)|0;f=F()|0;g=c[(mx()|0)>>2]|0;if(!g)c[(mx()|0)>>2]=h;do if((c[i>>2]|0)==(d|0))if(f>>>0>0|(f|0)==0&b>>>0>4294967295|(g|0)==68){c[e>>2]=4;b=-1;break}else{b=j?0-b|0:b;break}else{c[e>>2]=4;b=0}while(0)}while(0);yb=k;return b|0}function vG(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;B=yb;yb=yb+240|0;r=B+224|0;y=B+212|0;z=B+200|0;s=B+196|0;t=B;v=B+192|0;w=B+188|0;x=oG(f)|0;q=pG(b,f,B+160|0)|0;qG(y,f,r);c[z>>2]=0;c[z+4>>2]=0;c[z+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[z+(b<<2)>>2]=0;b=b+1|0}o=z+11|0;p=z+8|0;if((a[o>>0]|0)<0)b=(c[p>>2]&2147483647)+-1|0;else b=10;mO(z,b,0);b=(a[o>>0]|0)<0?c[z>>2]|0:z;c[s>>2]=b;c[v>>2]=t;c[w>>2]=0;n=z+4|0;j=c[d>>2]|0;i=j;a:while(1){if(j){f=c[j+12>>2]|0;if((f|0)==(c[j+16>>2]|0))f=Eb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else f=ag(a[f>>0]|0)|0;if(Yf(f,Uf()|0)|0){c[d>>2]=0;m=0;k=1;j=0}else{m=i;k=0}}else{m=0;k=1;j=0}i=c[e>>2]|0;do if(i){f=c[i+12>>2]|0;if((f|0)==(c[i+16>>2]|0))f=Eb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else f=ag(a[f>>0]|0)|0;if(!(Yf(f,Uf()|0)|0))if(k)break;else break a;else{c[e>>2]=0;A=19;break}}else A=19;while(0);if((A|0)==19){A=0;if(k){i=0;break}else i=0}f=a[o>>0]|0;f=f<<24>>24<0?c[n>>2]|0:f&255;if((c[s>>2]|0)==(b+f|0)){mO(z,f<<1,0);if((a[o>>0]|0)<0)b=(c[p>>2]&2147483647)+-1|0;else b=10;mO(z,b,0);b=(a[o>>0]|0)<0?c[z>>2]|0:z;c[s>>2]=b+f}k=j+12|0;f=c[k>>2]|0;l=j+16|0;if((f|0)==(c[l>>2]|0))f=Eb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else f=ag(a[f>>0]|0)|0;if(XF(f&255,x,b,s,w,a[r>>0]|0,y,t,v,q)|0)break;f=c[k>>2]|0;if((f|0)==(c[l>>2]|0))Eb[c[(c[j>>2]|0)+40>>2]&127](j)|0;else{c[k>>2]=f+1;ag(a[f>>0]|0)|0}i=m}r=a[y+11>>0]|0;if((r<<24>>24<0?c[y+4>>2]|0:r&255)|0?(u=c[v>>2]|0,(u-t|0)<160):0){w=c[w>>2]|0;c[v>>2]=u+4;c[u>>2]=w}c[h>>2]=wG(b,c[s>>2]|0,g,x)|0;iG(y,t,c[v>>2]|0,g);if(j){b=c[j+12>>2]|0;if((b|0)==(c[j+16>>2]|0))b=Eb[c[(c[m>>2]|0)+36>>2]&127](j)|0;else b=ag(a[b>>0]|0)|0;if(Yf(b,Uf()|0)|0){c[d>>2]=0;f=1}else f=0}else f=1;do if(i){b=c[i+12>>2]|0;if((b|0)==(c[i+16>>2]|0))b=Eb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else b=ag(a[b>>0]|0)|0;if(!(Yf(b,Uf()|0)|0))if(f)break;else{A=50;break}else{c[e>>2]=0;A=48;break}}else A=48;while(0);if((A|0)==48?f:0)A=50;if((A|0)==50)c[g>>2]=c[g>>2]|2;A=c[d>>2]|0;hO(z);hO(y);yb=B;return A|0}function wG(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0;k=yb;yb=yb+16|0;i=k;do if((b|0)==(d|0)){c[e>>2]=4;b=0}else{j=(a[b>>0]|0)==45;if(j){b=b+1|0;if((b|0)==(d|0)){c[e>>2]=4;b=0;break}}h=c[(mx()|0)>>2]|0;c[(mx()|0)>>2]=0;b=rx(b,i,f,YF()|0)|0;f=F()|0;g=c[(mx()|0)>>2]|0;if(!g)c[(mx()|0)>>2]=h;do if((c[i>>2]|0)==(d|0))if(f>>>0>0|(f|0)==0&b>>>0>4294967295|(g|0)==68){c[e>>2]=4;b=-1;break}else{b=j?0-b|0:b;break}else{c[e>>2]=4;b=0}while(0)}while(0);yb=k;return b|0}function xG(d,e,f,g,h,i){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;C=yb;yb=yb+240|0;s=C+224|0;z=C+212|0;A=C+200|0;t=C+196|0;u=C;w=C+192|0;x=C+188|0;y=oG(g)|0;r=pG(d,g,C+160|0)|0;qG(z,g,s);c[A>>2]=0;c[A+4>>2]=0;c[A+8>>2]=0;d=0;while(1){if((d|0)==3)break;c[A+(d<<2)>>2]=0;d=d+1|0}p=A+11|0;q=A+8|0;if((a[p>>0]|0)<0)d=(c[q>>2]&2147483647)+-1|0;else d=10;mO(A,d,0);d=(a[p>>0]|0)<0?c[A>>2]|0:A;c[t>>2]=d;c[w>>2]=u;c[x>>2]=0;o=A+4|0;k=c[e>>2]|0;j=k;a:while(1){if(k){g=c[k+12>>2]|0;if((g|0)==(c[k+16>>2]|0))g=Eb[c[(c[k>>2]|0)+36>>2]&127](k)|0;else g=ag(a[g>>0]|0)|0;if(Yf(g,Uf()|0)|0){c[e>>2]=0;n=0;l=1;k=0}else{n=j;l=0}}else{n=0;l=1;k=0}j=c[f>>2]|0;do if(j){g=c[j+12>>2]|0;if((g|0)==(c[j+16>>2]|0))g=Eb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else g=ag(a[g>>0]|0)|0;if(!(Yf(g,Uf()|0)|0))if(l)break;else break a;else{c[f>>2]=0;B=19;break}}else B=19;while(0);if((B|0)==19){B=0;if(l){j=0;break}else j=0}g=a[p>>0]|0;g=g<<24>>24<0?c[o>>2]|0:g&255;if((c[t>>2]|0)==(d+g|0)){mO(A,g<<1,0);if((a[p>>0]|0)<0)d=(c[q>>2]&2147483647)+-1|0;else d=10;mO(A,d,0);d=(a[p>>0]|0)<0?c[A>>2]|0:A;c[t>>2]=d+g}l=k+12|0;g=c[l>>2]|0;m=k+16|0;if((g|0)==(c[m>>2]|0))g=Eb[c[(c[k>>2]|0)+36>>2]&127](k)|0;else g=ag(a[g>>0]|0)|0;if(XF(g&255,y,d,t,x,a[s>>0]|0,z,u,w,r)|0)break;g=c[l>>2]|0;if((g|0)==(c[m>>2]|0))Eb[c[(c[k>>2]|0)+40>>2]&127](k)|0;else{c[l>>2]=g+1;ag(a[g>>0]|0)|0}j=n}s=a[z+11>>0]|0;if((s<<24>>24<0?c[z+4>>2]|0:s&255)|0?(v=c[w>>2]|0,(v-u|0)<160):0){x=c[x>>2]|0;c[w>>2]=v+4;c[v>>2]=x}b[i>>1]=yG(d,c[t>>2]|0,h,y)|0;iG(z,u,c[w>>2]|0,h);if(k){d=c[k+12>>2]|0;if((d|0)==(c[k+16>>2]|0))d=Eb[c[(c[n>>2]|0)+36>>2]&127](k)|0;else d=ag(a[d>>0]|0)|0;if(Yf(d,Uf()|0)|0){c[e>>2]=0;g=1}else g=0}else g=1;do if(j){d=c[j+12>>2]|0;if((d|0)==(c[j+16>>2]|0))d=Eb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else d=ag(a[d>>0]|0)|0;if(!(Yf(d,Uf()|0)|0))if(g)break;else{B=50;break}else{c[f>>2]=0;B=48;break}}else B=48;while(0);if((B|0)==48?g:0)B=50;if((B|0)==50)c[h>>2]=c[h>>2]|2;B=c[e>>2]|0;hO(A);hO(z);yb=C;return B|0}function yG(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0;k=yb;yb=yb+16|0;i=k;do if((b|0)==(d|0)){c[e>>2]=4;b=0}else{j=(a[b>>0]|0)==45;if(j){b=b+1|0;if((b|0)==(d|0)){c[e>>2]=4;b=0;break}}h=c[(mx()|0)>>2]|0;c[(mx()|0)>>2]=0;b=rx(b,i,f,YF()|0)|0;f=F()|0;g=c[(mx()|0)>>2]|0;if(!g)c[(mx()|0)>>2]=h;do if((c[i>>2]|0)==(d|0)){if(f>>>0>0|(f|0)==0&b>>>0>65535|(g|0)==68){c[e>>2]=4;b=-1;break}if(j)b=0-b&65535;else b=b&65535}else{c[e>>2]=4;b=0}while(0)}while(0);yb=k;return b|0}function zG(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;B=yb;yb=yb+240|0;r=B+224|0;y=B+212|0;z=B+200|0;s=B+196|0;t=B;v=B+192|0;w=B+188|0;x=oG(f)|0;q=pG(b,f,B+160|0)|0;qG(y,f,r);c[z>>2]=0;c[z+4>>2]=0;c[z+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[z+(b<<2)>>2]=0;b=b+1|0}o=z+11|0;p=z+8|0;if((a[o>>0]|0)<0)b=(c[p>>2]&2147483647)+-1|0;else b=10;mO(z,b,0);b=(a[o>>0]|0)<0?c[z>>2]|0:z;c[s>>2]=b;c[v>>2]=t;c[w>>2]=0;n=z+4|0;j=c[d>>2]|0;i=j;a:while(1){if(j){f=c[j+12>>2]|0;if((f|0)==(c[j+16>>2]|0))f=Eb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else f=ag(a[f>>0]|0)|0;if(Yf(f,Uf()|0)|0){c[d>>2]=0;m=0;k=1;j=0}else{m=i;k=0}}else{m=0;k=1;j=0}i=c[e>>2]|0;do if(i){f=c[i+12>>2]|0;if((f|0)==(c[i+16>>2]|0))f=Eb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else f=ag(a[f>>0]|0)|0;if(!(Yf(f,Uf()|0)|0))if(k)break;else break a;else{c[e>>2]=0;A=19;break}}else A=19;while(0);if((A|0)==19){A=0;if(k){i=0;break}else i=0}f=a[o>>0]|0;f=f<<24>>24<0?c[n>>2]|0:f&255;if((c[s>>2]|0)==(b+f|0)){mO(z,f<<1,0);if((a[o>>0]|0)<0)b=(c[p>>2]&2147483647)+-1|0;else b=10;mO(z,b,0);b=(a[o>>0]|0)<0?c[z>>2]|0:z;c[s>>2]=b+f}k=j+12|0;f=c[k>>2]|0;l=j+16|0;if((f|0)==(c[l>>2]|0))f=Eb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else f=ag(a[f>>0]|0)|0;if(XF(f&255,x,b,s,w,a[r>>0]|0,y,t,v,q)|0)break;f=c[k>>2]|0;if((f|0)==(c[l>>2]|0))Eb[c[(c[j>>2]|0)+40>>2]&127](j)|0;else{c[k>>2]=f+1;ag(a[f>>0]|0)|0}i=m}r=a[y+11>>0]|0;if((r<<24>>24<0?c[y+4>>2]|0:r&255)|0?(u=c[v>>2]|0,(u-t|0)<160):0){w=c[w>>2]|0;c[v>>2]=u+4;c[u>>2]=w}w=AG(b,c[s>>2]|0,g,x)|0;x=F()|0;c[h>>2]=w;c[h+4>>2]=x;iG(y,t,c[v>>2]|0,g);if(j){b=c[j+12>>2]|0;if((b|0)==(c[j+16>>2]|0))b=Eb[c[(c[m>>2]|0)+36>>2]&127](j)|0;else b=ag(a[b>>0]|0)|0;if(Yf(b,Uf()|0)|0){c[d>>2]=0;f=1}else f=0}else f=1;do if(i){b=c[i+12>>2]|0;if((b|0)==(c[i+16>>2]|0))b=Eb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else b=ag(a[b>>0]|0)|0;if(!(Yf(b,Uf()|0)|0))if(f)break;else{A=50;break}else{c[e>>2]=0;A=48;break}}else A=48;while(0);if((A|0)==48?f:0)A=50;if((A|0)==50)c[g>>2]=c[g>>2]|2;A=c[d>>2]|0;hO(z);hO(y);yb=B;return A|0}function AG(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;i=yb;yb=yb+16|0;g=i;if((a|0)==(b|0)){c[d>>2]=4;e=0;a=0}else{h=c[(mx()|0)>>2]|0;c[(mx()|0)>>2]=0;a=Ax(a,g,e,YF()|0)|0;e=F()|0;f=c[(mx()|0)>>2]|0;if(!f)c[(mx()|0)>>2]=h;if((c[g>>2]|0)==(b|0)){if((f|0)==68){c[d>>2]=4;e=(e|0)>0|(e|0)==0&a>>>0>0;a=e?-1:0;e=e?2147483647:-2147483648}}else{c[d>>2]=4;a=0;e=0}}E(e|0);yb=i;return a|0}function BG(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;B=yb;yb=yb+240|0;r=B+224|0;y=B+212|0;z=B+200|0;s=B+196|0;t=B;v=B+192|0;w=B+188|0;x=oG(f)|0;q=pG(b,f,B+160|0)|0;qG(y,f,r);c[z>>2]=0;c[z+4>>2]=0;c[z+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[z+(b<<2)>>2]=0;b=b+1|0}o=z+11|0;p=z+8|0;if((a[o>>0]|0)<0)b=(c[p>>2]&2147483647)+-1|0;else b=10;mO(z,b,0);b=(a[o>>0]|0)<0?c[z>>2]|0:z;c[s>>2]=b;c[v>>2]=t;c[w>>2]=0;n=z+4|0;j=c[d>>2]|0;i=j;a:while(1){if(j){f=c[j+12>>2]|0;if((f|0)==(c[j+16>>2]|0))f=Eb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else f=ag(a[f>>0]|0)|0;if(Yf(f,Uf()|0)|0){c[d>>2]=0;m=0;k=1;j=0}else{m=i;k=0}}else{m=0;k=1;j=0}i=c[e>>2]|0;do if(i){f=c[i+12>>2]|0;if((f|0)==(c[i+16>>2]|0))f=Eb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else f=ag(a[f>>0]|0)|0;if(!(Yf(f,Uf()|0)|0))if(k)break;else break a;else{c[e>>2]=0;A=19;break}}else A=19;while(0);if((A|0)==19){A=0;if(k){i=0;break}else i=0}f=a[o>>0]|0;f=f<<24>>24<0?c[n>>2]|0:f&255;if((c[s>>2]|0)==(b+f|0)){mO(z,f<<1,0);if((a[o>>0]|0)<0)b=(c[p>>2]&2147483647)+-1|0;else b=10;mO(z,b,0);b=(a[o>>0]|0)<0?c[z>>2]|0:z;c[s>>2]=b+f}k=j+12|0;f=c[k>>2]|0;l=j+16|0;if((f|0)==(c[l>>2]|0))f=Eb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else f=ag(a[f>>0]|0)|0;if(XF(f&255,x,b,s,w,a[r>>0]|0,y,t,v,q)|0)break;f=c[k>>2]|0;if((f|0)==(c[l>>2]|0))Eb[c[(c[j>>2]|0)+40>>2]&127](j)|0;else{c[k>>2]=f+1;ag(a[f>>0]|0)|0}i=m}r=a[y+11>>0]|0;if((r<<24>>24<0?c[y+4>>2]|0:r&255)|0?(u=c[v>>2]|0,(u-t|0)<160):0){w=c[w>>2]|0;c[v>>2]=u+4;c[u>>2]=w}c[h>>2]=CG(b,c[s>>2]|0,g,x)|0;iG(y,t,c[v>>2]|0,g);if(j){b=c[j+12>>2]|0;if((b|0)==(c[j+16>>2]|0))b=Eb[c[(c[m>>2]|0)+36>>2]&127](j)|0;else b=ag(a[b>>0]|0)|0;if(Yf(b,Uf()|0)|0){c[d>>2]=0;f=1}else f=0}else f=1;do if(i){b=c[i+12>>2]|0;if((b|0)==(c[i+16>>2]|0))b=Eb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else b=ag(a[b>>0]|0)|0;if(!(Yf(b,Uf()|0)|0))if(f)break;else{A=50;break}else{c[e>>2]=0;A=48;break}}else A=48;while(0);if((A|0)==48?f:0)A=50;if((A|0)==50)c[g>>2]=c[g>>2]|2;A=c[d>>2]|0;hO(z);hO(y);yb=B;return A|0}function CG(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;i=yb;yb=yb+16|0;g=i;if((a|0)==(b|0)){c[d>>2]=4;a=0}else{h=c[(mx()|0)>>2]|0;c[(mx()|0)>>2]=0;a=Ax(a,g,e,YF()|0)|0;e=F()|0;f=c[(mx()|0)>>2]|0;if(!f)c[(mx()|0)>>2]=h;a:do if((c[g>>2]|0)==(b|0)){do if((f|0)==68){c[d>>2]=4;if((e|0)>0|(e|0)==0&a>>>0>0){a=2147483647;break a}}else{if((e|0)<-1|(e|0)==-1&a>>>0<2147483648){c[d>>2]=4;break}if((e|0)>0|(e|0)==0&a>>>0>2147483647){c[d>>2]=4;a=2147483647;break a}else break a}while(0);a=-2147483648}else{c[d>>2]=4;a=0}while(0)}yb=i;return a|0}function DG(b,d,e,f,g,h,i){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;w=yb;yb=yb+112|0;k=w;l=(f-e|0)/12|0;if(l>>>0>100){k=DO(l)|0;if(!k)_N();else{j=k;u=k}}else{j=k;u=0}n=e;o=j;k=0;while(1){if((n|0)==(f|0))break;m=a[n+11>>0]|0;if(m<<24>>24<0)m=c[n+4>>2]|0;else m=m&255;if(!m){a[o>>0]=2;l=l+-1|0;k=k+1|0}else a[o>>0]=1;n=n+12|0;o=o+1|0}t=0;r=k;while(1){k=c[b>>2]|0;do if(k){m=c[k+12>>2]|0;if((m|0)==(c[k+16>>2]|0))k=Eb[c[(c[k>>2]|0)+36>>2]&127](k)|0;else k=ag(a[m>>0]|0)|0;if(Yf(k,Uf()|0)|0){c[b>>2]=0;o=1;break}else{o=(c[b>>2]|0)==0;break}}else o=1;while(0);m=c[d>>2]|0;if(m){k=c[m+12>>2]|0;if((k|0)==(c[m+16>>2]|0))k=Eb[c[(c[m>>2]|0)+36>>2]&127](m)|0;else k=ag(a[k>>0]|0)|0;if(Yf(k,Uf()|0)|0){c[d>>2]=0;k=1;m=0}else k=0}else{k=1;m=0}n=c[b>>2]|0;if(!((l|0)!=0&(o^k)))break;k=c[n+12>>2]|0;if((k|0)==(c[n+16>>2]|0))k=Eb[c[(c[n>>2]|0)+36>>2]&127](n)|0;else k=ag(a[k>>0]|0)|0;k=k&255;if(!i)k=Gb[c[(c[g>>2]|0)+12>>2]&63](g,k)|0;s=t+1|0;p=e;o=0;q=j;while(1){if((p|0)==(f|0))break;do if((a[q>>0]|0)==1){n=p+11|0;if((a[n>>0]|0)<0)m=c[p>>2]|0;else m=p;m=a[m+t>>0]|0;if(!i)m=Gb[c[(c[g>>2]|0)+12>>2]&63](g,m)|0;if(k<<24>>24!=m<<24>>24){a[q>>0]=0;m=o;n=r;l=l+-1|0;break}m=a[n>>0]|0;if(m<<24>>24<0)m=c[p+4>>2]|0;else m=m&255;if((m|0)==(s|0)){a[q>>0]=2;m=1;n=r+1|0;l=l+-1|0}else{m=1;n=r}}else{m=o;n=r}while(0);p=p+12|0;o=m;q=q+1|0;r=n}a:do if(o){k=c[b>>2]|0;m=k+12|0;n=c[m>>2]|0;if((n|0)==(c[k+16>>2]|0))Eb[c[(c[k>>2]|0)+40>>2]&127](k)|0;else{c[m>>2]=n+1;ag(a[n>>0]|0)|0}if((r+l|0)>>>0>1){n=e;o=j;k=r;while(1){if((n|0)==(f|0))break a;if((a[o>>0]|0)==2){m=a[n+11>>0]|0;if(m<<24>>24<0)m=c[n+4>>2]|0;else m=m&255;if((m|0)!=(s|0)){a[o>>0]=0;k=k+-1|0}}n=n+12|0;o=o+1|0}}else k=r}else k=r;while(0);t=s;r=k}do if(n){k=c[n+12>>2]|0;if((k|0)==(c[n+16>>2]|0))k=Eb[c[(c[n>>2]|0)+36>>2]&127](n)|0;else k=ag(a[k>>0]|0)|0;if(Yf(k,Uf()|0)|0){c[b>>2]=0;l=1;break}else{l=(c[b>>2]|0)==0;break}}else l=1;while(0);do if(m){k=c[m+12>>2]|0;if((k|0)==(c[m+16>>2]|0))k=Eb[c[(c[m>>2]|0)+36>>2]&127](m)|0;else k=ag(a[k>>0]|0)|0;if(!(Yf(k,Uf()|0)|0))if(l)break;else{v=79;break}else{c[d>>2]=0;v=41;break}}else v=41;while(0);if((v|0)==41?l:0)v=79;if((v|0)==79)c[h>>2]=c[h>>2]|2;while(1){if((e|0)==(f|0)){v=84;break}if((a[j>>0]|0)==2)break;e=e+12|0;j=j+1|0}if((v|0)==84){c[h>>2]=c[h>>2]|4;e=f}EO(u);yb=w;return e|0}function EG(a){a=a|0;AF(a);return}function FG(a){a=a|0;AF(a);QA(a);return}function GG(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0;o=yb;yb=yb+48|0;i=o+40|0;n=o;j=o+32|0;k=o+36|0;l=o+28|0;m=o+24|0;if(!(c[f+4>>2]&1)){c[j>>2]=-1;m=c[(c[b>>2]|0)+16>>2]|0;c[k>>2]=c[d>>2];c[l>>2]=c[e>>2];c[n>>2]=c[k>>2];c[i>>2]=c[l>>2];c[d>>2]=Mb[m&63](b,n,i,f,g,j)|0;switch(c[j>>2]|0){case 0:{a[h>>0]=0;break}case 1:{a[h>>0]=1;break}default:{a[h>>0]=1;c[g>>2]=4}}i=c[d>>2]|0}else{GE(i,f);l=VF(i,56768)|0;WF(i);GE(i,f);b=VF(i,56776)|0;WF(i);Sb[c[(c[b>>2]|0)+24>>2]&63](n,b);Sb[c[(c[b>>2]|0)+28>>2]&63](n+12|0,b);c[m>>2]=c[e>>2];b=n+24|0;c[i>>2]=c[m>>2];a[h>>0]=(eH(d,i,n,b,l,g,1)|0)==(n|0)&1;i=c[d>>2]|0;do{b=b+-12|0;uO(b)}while((b|0)!=(n|0))}yb=o;return i|0}function HG(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0;h=yb;yb=yb+16|0;i=h+12|0;j=h+8|0;l=h+4|0;k=h;c[l>>2]=c[b>>2];c[k>>2]=c[d>>2];c[j>>2]=c[l>>2];c[i>>2]=c[k>>2];g=dH(a,j,i,e,f,g)|0;yb=h;return g|0}function IG(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0;h=yb;yb=yb+16|0;i=h+12|0;j=h+8|0;l=h+4|0;k=h;c[l>>2]=c[b>>2];c[k>>2]=c[d>>2];c[j>>2]=c[l>>2];c[i>>2]=c[k>>2];g=cH(a,j,i,e,f,g)|0;yb=h;return g|0}function JG(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0;h=yb;yb=yb+16|0;i=h+12|0;j=h+8|0;l=h+4|0;k=h;c[l>>2]=c[b>>2];c[k>>2]=c[d>>2];c[j>>2]=c[l>>2];c[i>>2]=c[k>>2];g=bH(a,j,i,e,f,g)|0;yb=h;return g|0}function KG(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0;h=yb;yb=yb+16|0;i=h+12|0;j=h+8|0;l=h+4|0;k=h;c[l>>2]=c[b>>2];c[k>>2]=c[d>>2];c[j>>2]=c[l>>2];c[i>>2]=c[k>>2];g=aH(a,j,i,e,f,g)|0;yb=h;return g|0}function LG(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0;h=yb;yb=yb+16|0;i=h+12|0;j=h+8|0;l=h+4|0;k=h;c[l>>2]=c[b>>2];c[k>>2]=c[d>>2];c[j>>2]=c[l>>2];c[i>>2]=c[k>>2];g=$G(a,j,i,e,f,g)|0;yb=h;return g|0}function MG(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0;h=yb;yb=yb+16|0;i=h+12|0;j=h+8|0;l=h+4|0;k=h;c[l>>2]=c[b>>2];c[k>>2]=c[d>>2];c[j>>2]=c[l>>2];c[i>>2]=c[k>>2];g=XG(a,j,i,e,f,g)|0;yb=h;return g|0}function NG(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0;h=yb;yb=yb+16|0;i=h+12|0;j=h+8|0;l=h+4|0;k=h;c[l>>2]=c[b>>2];c[k>>2]=c[d>>2];c[j>>2]=c[l>>2];c[i>>2]=c[k>>2];g=WG(a,j,i,e,f,g)|0;yb=h;return g|0}function OG(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0;h=yb;yb=yb+16|0;i=h+12|0;j=h+8|0;l=h+4|0;k=h;c[l>>2]=c[b>>2];c[k>>2]=c[d>>2];c[j>>2]=c[l>>2];c[i>>2]=c[k>>2];g=VG(a,j,i,e,f,g)|0;yb=h;return g|0}function PG(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0;h=yb;yb=yb+16|0;i=h+12|0;j=h+8|0;l=h+4|0;k=h;c[l>>2]=c[b>>2];c[k>>2]=c[d>>2];c[j>>2]=c[l>>2];c[i>>2]=c[k>>2];g=SG(a,j,i,e,f,g)|0;yb=h;return g|0}function QG(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;y=yb;yb=yb+304|0;v=y+264|0;t=y+160|0;w=y+292|0;x=y+280|0;u=y+276|0;q=y;r=y+272|0;s=y+268|0;c[w>>2]=0;c[w+4>>2]=0;c[w+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[w+(b<<2)>>2]=0;b=b+1|0}GE(x,f);b=VF(x,56768)|0;Ib[c[(c[b>>2]|0)+48>>2]&15](b,12928,12954,t)|0;WF(x);c[x>>2]=0;c[x+4>>2]=0;c[x+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[x+(b<<2)>>2]=0;b=b+1|0}p=x+11|0;o=x+8|0;if((a[p>>0]|0)<0)b=(c[o>>2]&2147483647)+-1|0;else b=10;mO(x,b,0);b=(a[p>>0]|0)<0?c[x>>2]|0:x;c[u>>2]=b;c[r>>2]=q;c[s>>2]=0;n=x+4|0;j=c[d>>2]|0;i=j;a:while(1){if(j){f=c[j+12>>2]|0;if((f|0)==(c[j+16>>2]|0))f=Eb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else f=hE(c[f>>2]|0)|0;if(HE(f,gE()|0)|0){c[d>>2]=0;m=0;k=1;j=0}else{m=i;k=0}}else{m=0;k=1;j=0}i=c[e>>2]|0;do if(i){f=c[i+12>>2]|0;if((f|0)==(c[i+16>>2]|0))f=Eb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else f=hE(c[f>>2]|0)|0;if(!(HE(f,gE()|0)|0))if(k)break;else break a;else{c[e>>2]=0;z=22;break}}else z=22;while(0);if((z|0)==22){z=0;if(k){i=0;break}else i=0}f=a[p>>0]|0;f=f<<24>>24<0?c[n>>2]|0:f&255;if((c[u>>2]|0)==(b+f|0)){mO(x,f<<1,0);if((a[p>>0]|0)<0)b=(c[o>>2]&2147483647)+-1|0;else b=10;mO(x,b,0);b=(a[p>>0]|0)<0?c[x>>2]|0:x;c[u>>2]=b+f}k=j+12|0;f=c[k>>2]|0;l=j+16|0;if((f|0)==(c[l>>2]|0))f=Eb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else f=hE(c[f>>2]|0)|0;if(RG(f,16,b,u,s,0,w,q,r,t)|0)break;f=c[k>>2]|0;if((f|0)==(c[l>>2]|0))Eb[c[(c[j>>2]|0)+40>>2]&127](j)|0;else{c[k>>2]=f+4;hE(c[f>>2]|0)|0}i=m}mO(x,(c[u>>2]|0)-b|0,0);t=(a[p>>0]|0)<0?c[x>>2]|0:x;u=YF()|0;c[v>>2]=h;if((ZF(t,u,49194,v)|0)!=1)c[g>>2]=4;if(j){b=c[j+12>>2]|0;if((b|0)==(c[j+16>>2]|0))b=Eb[c[(c[m>>2]|0)+36>>2]&127](j)|0;else b=hE(c[b>>2]|0)|0;if(HE(b,gE()|0)|0){c[d>>2]=0;f=1}else f=0}else f=1;do if(i){b=c[i+12>>2]|0;if((b|0)==(c[i+16>>2]|0))b=Eb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else b=hE(c[b>>2]|0)|0;if(!(HE(b,gE()|0)|0))if(f)break;else{z=52;break}else{c[e>>2]=0;z=50;break}}else z=50;while(0);if((z|0)==50?f:0)z=52;if((z|0)==52)c[g>>2]=c[g>>2]|2;z=c[d>>2]|0;hO(x);hO(w);yb=y;return z|0}function RG(b,d,e,f,g,h,i,j,k,l){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;var m=0,n=0,o=0,p=0;o=c[f>>2]|0;p=(o|0)==(e|0);do if(p){m=(c[l+96>>2]|0)==(b|0);if(!m?(c[l+100>>2]|0)!=(b|0):0){n=5;break}c[f>>2]=e+1;a[e>>0]=m?43:45;c[g>>2]=0;m=0}else n=5;while(0);a:do if((n|0)==5){n=a[i+11>>0]|0;if((b|0)==(h|0)?((n<<24>>24<0?c[i+4>>2]|0:n&255)|0)!=0:0){m=c[k>>2]|0;if((m-j|0)>=160){m=0;break}f=c[g>>2]|0;c[k>>2]=m+4;c[m>>2]=f;c[g>>2]=0;m=0;break}i=l+104|0;h=0;while(1){m=l+(h<<2)|0;if((h|0)==26){m=i;break}if((c[m>>2]|0)==(b|0))break;else h=h+1|0}m=m-l|0;h=m>>2;if((m|0)>92)m=-1;else{switch(d|0){case 10:case 8:{if((h|0)>=(d|0)){m=-1;break a}break}case 16:{if((m|0)>=88){if(p){m=-1;break a}if((o-e|0)>=3){m=-1;break a}if((a[o+-1>>0]|0)!=48){m=-1;break a}c[g>>2]=0;m=a[12928+h>>0]|0;c[f>>2]=o+1;a[o>>0]=m;m=0;break a}break}default:{}}m=a[12928+h>>0]|0;c[f>>2]=o+1;a[o>>0]=m;c[g>>2]=(c[g>>2]|0)+1;m=0}}while(0);return m|0}function SG(b,d,e,f,h,i){b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;D=yb;yb=yb+336|0;s=D+160|0;t=D+328|0;u=D+324|0;C=D+312|0;B=D+300|0;v=D+296|0;w=D;x=D+292|0;y=D+288|0;z=D+333|0;r=D+332|0;TG(C,f,s,t,u);c[B>>2]=0;c[B+4>>2]=0;c[B+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[B+(b<<2)>>2]=0;b=b+1|0}p=B+11|0;q=B+8|0;if((a[p>>0]|0)<0)b=(c[q>>2]&2147483647)+-1|0;else b=10;mO(B,b,0);b=(a[p>>0]|0)<0?c[B>>2]|0:B;c[v>>2]=b;c[x>>2]=w;c[y>>2]=0;a[z>>0]=1;a[r>>0]=69;o=B+4|0;k=c[d>>2]|0;j=k;a:while(1){if(k){f=c[k+12>>2]|0;if((f|0)==(c[k+16>>2]|0))f=Eb[c[(c[k>>2]|0)+36>>2]&127](k)|0;else f=hE(c[f>>2]|0)|0;if(HE(f,gE()|0)|0){c[d>>2]=0;n=0;l=1;k=0}else{n=j;l=0}}else{n=0;l=1;k=0}j=c[e>>2]|0;do if(j){f=c[j+12>>2]|0;if((f|0)==(c[j+16>>2]|0))f=Eb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else f=hE(c[f>>2]|0)|0;if(!(HE(f,gE()|0)|0))if(l)break;else break a;else{c[e>>2]=0;E=19;break}}else E=19;while(0);if((E|0)==19){E=0;if(l){j=0;break}else j=0}f=a[p>>0]|0;f=f<<24>>24<0?c[o>>2]|0:f&255;if((c[v>>2]|0)==(b+f|0)){mO(B,f<<1,0);if((a[p>>0]|0)<0)b=(c[q>>2]&2147483647)+-1|0;else b=10;mO(B,b,0);b=(a[p>>0]|0)<0?c[B>>2]|0:B;c[v>>2]=b+f}l=k+12|0;f=c[l>>2]|0;m=k+16|0;if((f|0)==(c[m>>2]|0))f=Eb[c[(c[k>>2]|0)+36>>2]&127](k)|0;else f=hE(c[f>>2]|0)|0;if(UG(f,z,r,b,v,c[t>>2]|0,c[u>>2]|0,C,w,x,y,s)|0)break;f=c[l>>2]|0;if((f|0)==(c[m>>2]|0))Eb[c[(c[k>>2]|0)+40>>2]&127](k)|0;else{c[l>>2]=f+4;hE(c[f>>2]|0)|0}j=n}u=a[C+11>>0]|0;if(!((a[z>>0]|0)==0?1:((u<<24>>24<0?c[C+4>>2]|0:u&255)|0)==0)?(A=c[x>>2]|0,(A-w|0)<160):0){z=c[y>>2]|0;c[x>>2]=A+4;c[A>>2]=z}g[i>>3]=+hG(b,c[v>>2]|0,h);iG(C,w,c[x>>2]|0,h);if(k){b=c[k+12>>2]|0;if((b|0)==(c[k+16>>2]|0))b=Eb[c[(c[n>>2]|0)+36>>2]&127](k)|0;else b=hE(c[b>>2]|0)|0;if(HE(b,gE()|0)|0){c[d>>2]=0;f=1}else f=0}else f=1;do if(j){b=c[j+12>>2]|0;if((b|0)==(c[j+16>>2]|0))b=Eb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else b=hE(c[b>>2]|0)|0;if(!(HE(b,gE()|0)|0))if(f)break;else{E=50;break}else{c[e>>2]=0;E=48;break}}else E=48;while(0);if((E|0)==48?f:0)E=50;if((E|0)==50)c[h>>2]=c[h>>2]|2;E=c[d>>2]|0;hO(B);hO(C);yb=D;return E|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;g=yb;yb=yb+16|0;h=g;GE(h,b);b=VF(h,56768)|0;Ib[c[(c[b>>2]|0)+48>>2]&15](b,12928,12960,d)|0;d=VF(h,56776)|0;c[e>>2]=Eb[c[(c[d>>2]|0)+12>>2]&127](d)|0;c[f>>2]=Eb[c[(c[d>>2]|0)+16>>2]&127](d)|0;Sb[c[(c[d>>2]|0)+20>>2]&63](a,d);WF(h);yb=g;return}function UG(b,d,e,f,g,h,i,j,k,l,m,n){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;m=m|0;n=n|0;var o=0,p=0;a:do if((b|0)==(h|0))if(a[d>>0]|0){a[d>>0]=0;e=c[g>>2]|0;c[g>>2]=e+1;a[e>>0]=46;g=a[j+11>>0]|0;if(((g<<24>>24<0?c[j+4>>2]|0:g&255)|0)!=0?(o=c[l>>2]|0,(o-k|0)<160):0){k=c[m>>2]|0;c[l>>2]=o+4;c[o>>2]=k;o=0}else o=0}else o=-1;else{if((b|0)==(i|0)?(i=a[j+11>>0]|0,(i<<24>>24<0?c[j+4>>2]|0:i&255)|0):0){if(!(a[d>>0]|0)){o=-1;break}o=c[l>>2]|0;if((o-k|0)>=160){o=0;break}k=c[m>>2]|0;c[l>>2]=o+4;c[o>>2]=k;c[m>>2]=0;o=0;break}i=n+128|0;h=0;while(1){o=n+(h<<2)|0;if((h|0)==32){o=i;break}if((c[o>>2]|0)==(b|0))break;else h=h+1|0}h=o-n|0;if((h|0)<=124){i=a[12928+(h>>2)>>0]|0;n=h+-88|0;switch(n>>>2|n<<30|0){case 2:case 3:{o=c[g>>2]|0;if((o|0)!=(f|0)?(a[o+-1>>0]&95)!=(a[e>>0]&127):0){o=-1;break a}c[g>>2]=o+1;a[o>>0]=i;o=0;break a}case 1:case 0:{a[e>>0]=80;break}default:{o=i&95;if((((o|0)==(a[e>>0]|0)?(a[e>>0]=o|128,a[d>>0]|0):0)?(a[d>>0]=0,e=a[j+11>>0]|0,(e<<24>>24<0?c[j+4>>2]|0:e&255)|0):0)?(p=c[l>>2]|0,(p-k|0)<160):0){k=c[m>>2]|0;c[l>>2]=p+4;c[p>>2]=k}}}l=c[g>>2]|0;c[g>>2]=l+1;a[l>>0]=i;if((h|0)>84)o=0;else{c[m>>2]=(c[m>>2]|0)+1;o=0}}else o=-1}while(0);return o|0}function VG(b,d,e,f,h,i){b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;D=yb;yb=yb+336|0;s=D+160|0;t=D+328|0;u=D+324|0;C=D+312|0;B=D+300|0;v=D+296|0;w=D;x=D+292|0;y=D+288|0;z=D+333|0;r=D+332|0;TG(C,f,s,t,u);c[B>>2]=0;c[B+4>>2]=0;c[B+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[B+(b<<2)>>2]=0;b=b+1|0}p=B+11|0;q=B+8|0;if((a[p>>0]|0)<0)b=(c[q>>2]&2147483647)+-1|0;else b=10;mO(B,b,0);b=(a[p>>0]|0)<0?c[B>>2]|0:B;c[v>>2]=b;c[x>>2]=w;c[y>>2]=0;a[z>>0]=1;a[r>>0]=69;o=B+4|0;k=c[d>>2]|0;j=k;a:while(1){if(k){f=c[k+12>>2]|0;if((f|0)==(c[k+16>>2]|0))f=Eb[c[(c[k>>2]|0)+36>>2]&127](k)|0;else f=hE(c[f>>2]|0)|0;if(HE(f,gE()|0)|0){c[d>>2]=0;n=0;l=1;k=0}else{n=j;l=0}}else{n=0;l=1;k=0}j=c[e>>2]|0;do if(j){f=c[j+12>>2]|0;if((f|0)==(c[j+16>>2]|0))f=Eb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else f=hE(c[f>>2]|0)|0;if(!(HE(f,gE()|0)|0))if(l)break;else break a;else{c[e>>2]=0;E=19;break}}else E=19;while(0);if((E|0)==19){E=0;if(l){j=0;break}else j=0}f=a[p>>0]|0;f=f<<24>>24<0?c[o>>2]|0:f&255;if((c[v>>2]|0)==(b+f|0)){mO(B,f<<1,0);if((a[p>>0]|0)<0)b=(c[q>>2]&2147483647)+-1|0;else b=10;mO(B,b,0);b=(a[p>>0]|0)<0?c[B>>2]|0:B;c[v>>2]=b+f}l=k+12|0;f=c[l>>2]|0;m=k+16|0;if((f|0)==(c[m>>2]|0))f=Eb[c[(c[k>>2]|0)+36>>2]&127](k)|0;else f=hE(c[f>>2]|0)|0;if(UG(f,z,r,b,v,c[t>>2]|0,c[u>>2]|0,C,w,x,y,s)|0)break;f=c[l>>2]|0;if((f|0)==(c[m>>2]|0))Eb[c[(c[k>>2]|0)+40>>2]&127](k)|0;else{c[l>>2]=f+4;hE(c[f>>2]|0)|0}j=n}u=a[C+11>>0]|0;if(!((a[z>>0]|0)==0?1:((u<<24>>24<0?c[C+4>>2]|0:u&255)|0)==0)?(A=c[x>>2]|0,(A-w|0)<160):0){z=c[y>>2]|0;c[x>>2]=A+4;c[A>>2]=z}g[i>>3]=+kG(b,c[v>>2]|0,h);iG(C,w,c[x>>2]|0,h);if(k){b=c[k+12>>2]|0;if((b|0)==(c[k+16>>2]|0))b=Eb[c[(c[n>>2]|0)+36>>2]&127](k)|0;else b=hE(c[b>>2]|0)|0;if(HE(b,gE()|0)|0){c[d>>2]=0;f=1}else f=0}else f=1;do if(j){b=c[j+12>>2]|0;if((b|0)==(c[j+16>>2]|0))b=Eb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else b=hE(c[b>>2]|0)|0;if(!(HE(b,gE()|0)|0))if(f)break;else{E=50;break}else{c[e>>2]=0;E=48;break}}else E=48;while(0);if((E|0)==48?f:0)E=50;if((E|0)==50)c[h>>2]=c[h>>2]|2;E=c[d>>2]|0;hO(B);hO(C);yb=D;return E|0}function WG(b,d,e,g,h,i){b=b|0;d=d|0;e=e|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;D=yb;yb=yb+336|0;s=D+160|0;t=D+328|0;u=D+324|0;C=D+312|0;B=D+300|0;v=D+296|0;w=D;x=D+292|0;y=D+288|0;z=D+333|0;r=D+332|0;TG(C,g,s,t,u);c[B>>2]=0;c[B+4>>2]=0;c[B+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[B+(b<<2)>>2]=0;b=b+1|0}p=B+11|0;q=B+8|0;if((a[p>>0]|0)<0)b=(c[q>>2]&2147483647)+-1|0;else b=10;mO(B,b,0);b=(a[p>>0]|0)<0?c[B>>2]|0:B;c[v>>2]=b;c[x>>2]=w;c[y>>2]=0;a[z>>0]=1;a[r>>0]=69;o=B+4|0;k=c[d>>2]|0;j=k;a:while(1){if(k){g=c[k+12>>2]|0;if((g|0)==(c[k+16>>2]|0))g=Eb[c[(c[k>>2]|0)+36>>2]&127](k)|0;else g=hE(c[g>>2]|0)|0;if(HE(g,gE()|0)|0){c[d>>2]=0;n=0;l=1;k=0}else{n=j;l=0}}else{n=0;l=1;k=0}j=c[e>>2]|0;do if(j){g=c[j+12>>2]|0;if((g|0)==(c[j+16>>2]|0))g=Eb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else g=hE(c[g>>2]|0)|0;if(!(HE(g,gE()|0)|0))if(l)break;else break a;else{c[e>>2]=0;E=19;break}}else E=19;while(0);if((E|0)==19){E=0;if(l){j=0;break}else j=0}g=a[p>>0]|0;g=g<<24>>24<0?c[o>>2]|0:g&255;if((c[v>>2]|0)==(b+g|0)){mO(B,g<<1,0);if((a[p>>0]|0)<0)b=(c[q>>2]&2147483647)+-1|0;else b=10;mO(B,b,0);b=(a[p>>0]|0)<0?c[B>>2]|0:B;c[v>>2]=b+g}l=k+12|0;g=c[l>>2]|0;m=k+16|0;if((g|0)==(c[m>>2]|0))g=Eb[c[(c[k>>2]|0)+36>>2]&127](k)|0;else g=hE(c[g>>2]|0)|0;if(UG(g,z,r,b,v,c[t>>2]|0,c[u>>2]|0,C,w,x,y,s)|0)break;g=c[l>>2]|0;if((g|0)==(c[m>>2]|0))Eb[c[(c[k>>2]|0)+40>>2]&127](k)|0;else{c[l>>2]=g+4;hE(c[g>>2]|0)|0}j=n}u=a[C+11>>0]|0;if(!((a[z>>0]|0)==0?1:((u<<24>>24<0?c[C+4>>2]|0:u&255)|0)==0)?(A=c[x>>2]|0,(A-w|0)<160):0){z=c[y>>2]|0;c[x>>2]=A+4;c[A>>2]=z}f[i>>2]=+mG(b,c[v>>2]|0,h);iG(C,w,c[x>>2]|0,h);if(k){b=c[k+12>>2]|0;if((b|0)==(c[k+16>>2]|0))b=Eb[c[(c[n>>2]|0)+36>>2]&127](k)|0;else b=hE(c[b>>2]|0)|0;if(HE(b,gE()|0)|0){c[d>>2]=0;g=1}else g=0}else g=1;do if(j){b=c[j+12>>2]|0;if((b|0)==(c[j+16>>2]|0))b=Eb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else b=hE(c[b>>2]|0)|0;if(!(HE(b,gE()|0)|0))if(g)break;else{E=50;break}else{c[e>>2]=0;E=48;break}}else E=48;while(0);if((E|0)==48?g:0)E=50;if((E|0)==50)c[h>>2]=c[h>>2]|2;E=c[d>>2]|0;hO(B);hO(C);yb=D;return E|0}function XG(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;B=yb;yb=yb+304|0;r=B+300|0;y=B+288|0;z=B+276|0;s=B+272|0;t=B;v=B+268|0;w=B+264|0;x=oG(f)|0;q=YG(b,f,B+160|0)|0;ZG(y,f,r);c[z>>2]=0;c[z+4>>2]=0;c[z+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[z+(b<<2)>>2]=0;b=b+1|0}o=z+11|0;p=z+8|0;if((a[o>>0]|0)<0)b=(c[p>>2]&2147483647)+-1|0;else b=10;mO(z,b,0);b=(a[o>>0]|0)<0?c[z>>2]|0:z;c[s>>2]=b;c[v>>2]=t;c[w>>2]=0;n=z+4|0;j=c[d>>2]|0;i=j;a:while(1){if(j){f=c[j+12>>2]|0;if((f|0)==(c[j+16>>2]|0))f=Eb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else f=hE(c[f>>2]|0)|0;if(HE(f,gE()|0)|0){c[d>>2]=0;m=0;k=1;j=0}else{m=i;k=0}}else{m=0;k=1;j=0}i=c[e>>2]|0;do if(i){f=c[i+12>>2]|0;if((f|0)==(c[i+16>>2]|0))f=Eb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else f=hE(c[f>>2]|0)|0;if(!(HE(f,gE()|0)|0))if(k)break;else break a;else{c[e>>2]=0;A=19;break}}else A=19;while(0);if((A|0)==19){A=0;if(k){i=0;break}else i=0}f=a[o>>0]|0;f=f<<24>>24<0?c[n>>2]|0:f&255;if((c[s>>2]|0)==(b+f|0)){mO(z,f<<1,0);if((a[o>>0]|0)<0)b=(c[p>>2]&2147483647)+-1|0;else b=10;mO(z,b,0);b=(a[o>>0]|0)<0?c[z>>2]|0:z;c[s>>2]=b+f}k=j+12|0;f=c[k>>2]|0;l=j+16|0;if((f|0)==(c[l>>2]|0))f=Eb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else f=hE(c[f>>2]|0)|0;if(RG(f,x,b,s,w,c[r>>2]|0,y,t,v,q)|0)break;f=c[k>>2]|0;if((f|0)==(c[l>>2]|0))Eb[c[(c[j>>2]|0)+40>>2]&127](j)|0;else{c[k>>2]=f+4;hE(c[f>>2]|0)|0}i=m}r=a[y+11>>0]|0;if((r<<24>>24<0?c[y+4>>2]|0:r&255)|0?(u=c[v>>2]|0,(u-t|0)<160):0){w=c[w>>2]|0;c[v>>2]=u+4;c[u>>2]=w}w=rG(b,c[s>>2]|0,g,x)|0;x=F()|0;c[h>>2]=w;c[h+4>>2]=x;iG(y,t,c[v>>2]|0,g);if(j){b=c[j+12>>2]|0;if((b|0)==(c[j+16>>2]|0))b=Eb[c[(c[m>>2]|0)+36>>2]&127](j)|0;else b=hE(c[b>>2]|0)|0;if(HE(b,gE()|0)|0){c[d>>2]=0;f=1}else f=0}else f=1;do if(i){b=c[i+12>>2]|0;if((b|0)==(c[i+16>>2]|0))b=Eb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else b=hE(c[b>>2]|0)|0;if(!(HE(b,gE()|0)|0))if(f)break;else{A=50;break}else{c[e>>2]=0;A=48;break}}else A=48;while(0);if((A|0)==48?f:0)A=50;if((A|0)==50)c[g>>2]=c[g>>2]|2;A=c[d>>2]|0;hO(z);hO(y);yb=B;return A|0}function YG(a,b,c){a=a|0;b=b|0;c=c|0;return _G(a,b,c)|0}function ZG(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=yb;yb=yb+16|0;f=e;GE(f,b);b=VF(f,56776)|0;c[d>>2]=Eb[c[(c[b>>2]|0)+16>>2]&127](b)|0;Sb[c[(c[b>>2]|0)+20>>2]&63](a,b);WF(f);yb=e;return}function _G(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;a=yb;yb=yb+16|0;e=a;GE(e,b);b=VF(e,56768)|0;Ib[c[(c[b>>2]|0)+48>>2]&15](b,12928,12954,d)|0;WF(e);yb=a;return d|0}function $G(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;B=yb;yb=yb+304|0;r=B+300|0;y=B+288|0;z=B+276|0;s=B+272|0;t=B;v=B+268|0;w=B+264|0;x=oG(f)|0;q=YG(b,f,B+160|0)|0;ZG(y,f,r);c[z>>2]=0;c[z+4>>2]=0;c[z+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[z+(b<<2)>>2]=0;b=b+1|0}o=z+11|0;p=z+8|0;if((a[o>>0]|0)<0)b=(c[p>>2]&2147483647)+-1|0;else b=10;mO(z,b,0);b=(a[o>>0]|0)<0?c[z>>2]|0:z;c[s>>2]=b;c[v>>2]=t;c[w>>2]=0;n=z+4|0;j=c[d>>2]|0;i=j;a:while(1){if(j){f=c[j+12>>2]|0;if((f|0)==(c[j+16>>2]|0))f=Eb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else f=hE(c[f>>2]|0)|0;if(HE(f,gE()|0)|0){c[d>>2]=0;m=0;k=1;j=0}else{m=i;k=0}}else{m=0;k=1;j=0}i=c[e>>2]|0;do if(i){f=c[i+12>>2]|0;if((f|0)==(c[i+16>>2]|0))f=Eb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else f=hE(c[f>>2]|0)|0;if(!(HE(f,gE()|0)|0))if(k)break;else break a;else{c[e>>2]=0;A=19;break}}else A=19;while(0);if((A|0)==19){A=0;if(k){i=0;break}else i=0}f=a[o>>0]|0;f=f<<24>>24<0?c[n>>2]|0:f&255;if((c[s>>2]|0)==(b+f|0)){mO(z,f<<1,0);if((a[o>>0]|0)<0)b=(c[p>>2]&2147483647)+-1|0;else b=10;mO(z,b,0);b=(a[o>>0]|0)<0?c[z>>2]|0:z;c[s>>2]=b+f}k=j+12|0;f=c[k>>2]|0;l=j+16|0;if((f|0)==(c[l>>2]|0))f=Eb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else f=hE(c[f>>2]|0)|0;if(RG(f,x,b,s,w,c[r>>2]|0,y,t,v,q)|0)break;f=c[k>>2]|0;if((f|0)==(c[l>>2]|0))Eb[c[(c[j>>2]|0)+40>>2]&127](j)|0;else{c[k>>2]=f+4;hE(c[f>>2]|0)|0}i=m}r=a[y+11>>0]|0;if((r<<24>>24<0?c[y+4>>2]|0:r&255)|0?(u=c[v>>2]|0,(u-t|0)<160):0){w=c[w>>2]|0;c[v>>2]=u+4;c[u>>2]=w}c[h>>2]=uG(b,c[s>>2]|0,g,x)|0;iG(y,t,c[v>>2]|0,g);if(j){b=c[j+12>>2]|0;if((b|0)==(c[j+16>>2]|0))b=Eb[c[(c[m>>2]|0)+36>>2]&127](j)|0;else b=hE(c[b>>2]|0)|0;if(HE(b,gE()|0)|0){c[d>>2]=0;f=1}else f=0}else f=1;do if(i){b=c[i+12>>2]|0;if((b|0)==(c[i+16>>2]|0))b=Eb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else b=hE(c[b>>2]|0)|0;if(!(HE(b,gE()|0)|0))if(f)break;else{A=50;break}else{c[e>>2]=0;A=48;break}}else A=48;while(0);if((A|0)==48?f:0)A=50;if((A|0)==50)c[g>>2]=c[g>>2]|2;A=c[d>>2]|0;hO(z);hO(y);yb=B;return A|0}function aH(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;B=yb;yb=yb+304|0;r=B+300|0;y=B+288|0;z=B+276|0;s=B+272|0;t=B;v=B+268|0;w=B+264|0;x=oG(f)|0;q=YG(b,f,B+160|0)|0;ZG(y,f,r);c[z>>2]=0;c[z+4>>2]=0;c[z+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[z+(b<<2)>>2]=0;b=b+1|0}o=z+11|0;p=z+8|0;if((a[o>>0]|0)<0)b=(c[p>>2]&2147483647)+-1|0;else b=10;mO(z,b,0);b=(a[o>>0]|0)<0?c[z>>2]|0:z;c[s>>2]=b;c[v>>2]=t;c[w>>2]=0;n=z+4|0;j=c[d>>2]|0;i=j;a:while(1){if(j){f=c[j+12>>2]|0;if((f|0)==(c[j+16>>2]|0))f=Eb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else f=hE(c[f>>2]|0)|0;if(HE(f,gE()|0)|0){c[d>>2]=0;m=0;k=1;j=0}else{m=i;k=0}}else{m=0;k=1;j=0}i=c[e>>2]|0;do if(i){f=c[i+12>>2]|0;if((f|0)==(c[i+16>>2]|0))f=Eb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else f=hE(c[f>>2]|0)|0;if(!(HE(f,gE()|0)|0))if(k)break;else break a;else{c[e>>2]=0;A=19;break}}else A=19;while(0);if((A|0)==19){A=0;if(k){i=0;break}else i=0}f=a[o>>0]|0;f=f<<24>>24<0?c[n>>2]|0:f&255;if((c[s>>2]|0)==(b+f|0)){mO(z,f<<1,0);if((a[o>>0]|0)<0)b=(c[p>>2]&2147483647)+-1|0;else b=10;mO(z,b,0);b=(a[o>>0]|0)<0?c[z>>2]|0:z;c[s>>2]=b+f}k=j+12|0;f=c[k>>2]|0;l=j+16|0;if((f|0)==(c[l>>2]|0))f=Eb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else f=hE(c[f>>2]|0)|0;if(RG(f,x,b,s,w,c[r>>2]|0,y,t,v,q)|0)break;f=c[k>>2]|0;if((f|0)==(c[l>>2]|0))Eb[c[(c[j>>2]|0)+40>>2]&127](j)|0;else{c[k>>2]=f+4;hE(c[f>>2]|0)|0}i=m}r=a[y+11>>0]|0;if((r<<24>>24<0?c[y+4>>2]|0:r&255)|0?(u=c[v>>2]|0,(u-t|0)<160):0){w=c[w>>2]|0;c[v>>2]=u+4;c[u>>2]=w}c[h>>2]=wG(b,c[s>>2]|0,g,x)|0;iG(y,t,c[v>>2]|0,g);if(j){b=c[j+12>>2]|0;if((b|0)==(c[j+16>>2]|0))b=Eb[c[(c[m>>2]|0)+36>>2]&127](j)|0;else b=hE(c[b>>2]|0)|0;if(HE(b,gE()|0)|0){c[d>>2]=0;f=1}else f=0}else f=1;do if(i){b=c[i+12>>2]|0;if((b|0)==(c[i+16>>2]|0))b=Eb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else b=hE(c[b>>2]|0)|0;if(!(HE(b,gE()|0)|0))if(f)break;else{A=50;break}else{c[e>>2]=0;A=48;break}}else A=48;while(0);if((A|0)==48?f:0)A=50;if((A|0)==50)c[g>>2]=c[g>>2]|2;A=c[d>>2]|0;hO(z);hO(y);yb=B;return A|0}function bH(d,e,f,g,h,i){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;C=yb;yb=yb+304|0;s=C+300|0;z=C+288|0;A=C+276|0;t=C+272|0;u=C;w=C+268|0;x=C+264|0;y=oG(g)|0;r=YG(d,g,C+160|0)|0;ZG(z,g,s);c[A>>2]=0;c[A+4>>2]=0;c[A+8>>2]=0;d=0;while(1){if((d|0)==3)break;c[A+(d<<2)>>2]=0;d=d+1|0}p=A+11|0;q=A+8|0;if((a[p>>0]|0)<0)d=(c[q>>2]&2147483647)+-1|0;else d=10;mO(A,d,0);d=(a[p>>0]|0)<0?c[A>>2]|0:A;c[t>>2]=d;c[w>>2]=u;c[x>>2]=0;o=A+4|0;k=c[e>>2]|0;j=k;a:while(1){if(k){g=c[k+12>>2]|0;if((g|0)==(c[k+16>>2]|0))g=Eb[c[(c[k>>2]|0)+36>>2]&127](k)|0;else g=hE(c[g>>2]|0)|0;if(HE(g,gE()|0)|0){c[e>>2]=0;n=0;l=1;k=0}else{n=j;l=0}}else{n=0;l=1;k=0}j=c[f>>2]|0;do if(j){g=c[j+12>>2]|0;if((g|0)==(c[j+16>>2]|0))g=Eb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else g=hE(c[g>>2]|0)|0;if(!(HE(g,gE()|0)|0))if(l)break;else break a;else{c[f>>2]=0;B=19;break}}else B=19;while(0);if((B|0)==19){B=0;if(l){j=0;break}else j=0}g=a[p>>0]|0;g=g<<24>>24<0?c[o>>2]|0:g&255;if((c[t>>2]|0)==(d+g|0)){mO(A,g<<1,0);if((a[p>>0]|0)<0)d=(c[q>>2]&2147483647)+-1|0;else d=10;mO(A,d,0);d=(a[p>>0]|0)<0?c[A>>2]|0:A;c[t>>2]=d+g}l=k+12|0;g=c[l>>2]|0;m=k+16|0;if((g|0)==(c[m>>2]|0))g=Eb[c[(c[k>>2]|0)+36>>2]&127](k)|0;else g=hE(c[g>>2]|0)|0;if(RG(g,y,d,t,x,c[s>>2]|0,z,u,w,r)|0)break;g=c[l>>2]|0;if((g|0)==(c[m>>2]|0))Eb[c[(c[k>>2]|0)+40>>2]&127](k)|0;else{c[l>>2]=g+4;hE(c[g>>2]|0)|0}j=n}s=a[z+11>>0]|0;if((s<<24>>24<0?c[z+4>>2]|0:s&255)|0?(v=c[w>>2]|0,(v-u|0)<160):0){x=c[x>>2]|0;c[w>>2]=v+4;c[v>>2]=x}b[i>>1]=yG(d,c[t>>2]|0,h,y)|0;iG(z,u,c[w>>2]|0,h);if(k){d=c[k+12>>2]|0;if((d|0)==(c[k+16>>2]|0))d=Eb[c[(c[n>>2]|0)+36>>2]&127](k)|0;else d=hE(c[d>>2]|0)|0;if(HE(d,gE()|0)|0){c[e>>2]=0;g=1}else g=0}else g=1;do if(j){d=c[j+12>>2]|0;if((d|0)==(c[j+16>>2]|0))d=Eb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else d=hE(c[d>>2]|0)|0;if(!(HE(d,gE()|0)|0))if(g)break;else{B=50;break}else{c[f>>2]=0;B=48;break}}else B=48;while(0);if((B|0)==48?g:0)B=50;if((B|0)==50)c[h>>2]=c[h>>2]|2;B=c[e>>2]|0;hO(A);hO(z);yb=C;return B|0}function cH(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;B=yb;yb=yb+304|0;r=B+300|0;y=B+288|0;z=B+276|0;s=B+272|0;t=B;v=B+268|0;w=B+264|0;x=oG(f)|0;q=YG(b,f,B+160|0)|0;ZG(y,f,r);c[z>>2]=0;c[z+4>>2]=0;c[z+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[z+(b<<2)>>2]=0;b=b+1|0}o=z+11|0;p=z+8|0;if((a[o>>0]|0)<0)b=(c[p>>2]&2147483647)+-1|0;else b=10;mO(z,b,0);b=(a[o>>0]|0)<0?c[z>>2]|0:z;c[s>>2]=b;c[v>>2]=t;c[w>>2]=0;n=z+4|0;j=c[d>>2]|0;i=j;a:while(1){if(j){f=c[j+12>>2]|0;if((f|0)==(c[j+16>>2]|0))f=Eb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else f=hE(c[f>>2]|0)|0;if(HE(f,gE()|0)|0){c[d>>2]=0;m=0;k=1;j=0}else{m=i;k=0}}else{m=0;k=1;j=0}i=c[e>>2]|0;do if(i){f=c[i+12>>2]|0;if((f|0)==(c[i+16>>2]|0))f=Eb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else f=hE(c[f>>2]|0)|0;if(!(HE(f,gE()|0)|0))if(k)break;else break a;else{c[e>>2]=0;A=19;break}}else A=19;while(0);if((A|0)==19){A=0;if(k){i=0;break}else i=0}f=a[o>>0]|0;f=f<<24>>24<0?c[n>>2]|0:f&255;if((c[s>>2]|0)==(b+f|0)){mO(z,f<<1,0);if((a[o>>0]|0)<0)b=(c[p>>2]&2147483647)+-1|0;else b=10;mO(z,b,0);b=(a[o>>0]|0)<0?c[z>>2]|0:z;c[s>>2]=b+f}k=j+12|0;f=c[k>>2]|0;l=j+16|0;if((f|0)==(c[l>>2]|0))f=Eb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else f=hE(c[f>>2]|0)|0;if(RG(f,x,b,s,w,c[r>>2]|0,y,t,v,q)|0)break;f=c[k>>2]|0;if((f|0)==(c[l>>2]|0))Eb[c[(c[j>>2]|0)+40>>2]&127](j)|0;else{c[k>>2]=f+4;hE(c[f>>2]|0)|0}i=m}r=a[y+11>>0]|0;if((r<<24>>24<0?c[y+4>>2]|0:r&255)|0?(u=c[v>>2]|0,(u-t|0)<160):0){w=c[w>>2]|0;c[v>>2]=u+4;c[u>>2]=w}w=AG(b,c[s>>2]|0,g,x)|0;x=F()|0;c[h>>2]=w;c[h+4>>2]=x;iG(y,t,c[v>>2]|0,g);if(j){b=c[j+12>>2]|0;if((b|0)==(c[j+16>>2]|0))b=Eb[c[(c[m>>2]|0)+36>>2]&127](j)|0;else b=hE(c[b>>2]|0)|0;if(HE(b,gE()|0)|0){c[d>>2]=0;f=1}else f=0}else f=1;do if(i){b=c[i+12>>2]|0;if((b|0)==(c[i+16>>2]|0))b=Eb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else b=hE(c[b>>2]|0)|0;if(!(HE(b,gE()|0)|0))if(f)break;else{A=50;break}else{c[e>>2]=0;A=48;break}}else A=48;while(0);if((A|0)==48?f:0)A=50;if((A|0)==50)c[g>>2]=c[g>>2]|2;A=c[d>>2]|0;hO(z);hO(y);yb=B;return A|0}function dH(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;B=yb;yb=yb+304|0;r=B+300|0;y=B+288|0;z=B+276|0;s=B+272|0;t=B;v=B+268|0;w=B+264|0;x=oG(f)|0;q=YG(b,f,B+160|0)|0;ZG(y,f,r);c[z>>2]=0;c[z+4>>2]=0;c[z+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[z+(b<<2)>>2]=0;b=b+1|0}o=z+11|0;p=z+8|0;if((a[o>>0]|0)<0)b=(c[p>>2]&2147483647)+-1|0;else b=10;mO(z,b,0);b=(a[o>>0]|0)<0?c[z>>2]|0:z;c[s>>2]=b;c[v>>2]=t;c[w>>2]=0;n=z+4|0;j=c[d>>2]|0;i=j;a:while(1){if(j){f=c[j+12>>2]|0;if((f|0)==(c[j+16>>2]|0))f=Eb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else f=hE(c[f>>2]|0)|0;if(HE(f,gE()|0)|0){c[d>>2]=0;m=0;k=1;j=0}else{m=i;k=0}}else{m=0;k=1;j=0}i=c[e>>2]|0;do if(i){f=c[i+12>>2]|0;if((f|0)==(c[i+16>>2]|0))f=Eb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else f=hE(c[f>>2]|0)|0;if(!(HE(f,gE()|0)|0))if(k)break;else break a;else{c[e>>2]=0;A=19;break}}else A=19;while(0);if((A|0)==19){A=0;if(k){i=0;break}else i=0}f=a[o>>0]|0;f=f<<24>>24<0?c[n>>2]|0:f&255;if((c[s>>2]|0)==(b+f|0)){mO(z,f<<1,0);if((a[o>>0]|0)<0)b=(c[p>>2]&2147483647)+-1|0;else b=10;mO(z,b,0);b=(a[o>>0]|0)<0?c[z>>2]|0:z;c[s>>2]=b+f}k=j+12|0;f=c[k>>2]|0;l=j+16|0;if((f|0)==(c[l>>2]|0))f=Eb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else f=hE(c[f>>2]|0)|0;if(RG(f,x,b,s,w,c[r>>2]|0,y,t,v,q)|0)break;f=c[k>>2]|0;if((f|0)==(c[l>>2]|0))Eb[c[(c[j>>2]|0)+40>>2]&127](j)|0;else{c[k>>2]=f+4;hE(c[f>>2]|0)|0}i=m}r=a[y+11>>0]|0;if((r<<24>>24<0?c[y+4>>2]|0:r&255)|0?(u=c[v>>2]|0,(u-t|0)<160):0){w=c[w>>2]|0;c[v>>2]=u+4;c[u>>2]=w}c[h>>2]=CG(b,c[s>>2]|0,g,x)|0;iG(y,t,c[v>>2]|0,g);if(j){b=c[j+12>>2]|0;if((b|0)==(c[j+16>>2]|0))b=Eb[c[(c[m>>2]|0)+36>>2]&127](j)|0;else b=hE(c[b>>2]|0)|0;if(HE(b,gE()|0)|0){c[d>>2]=0;f=1}else f=0}else f=1;do if(i){b=c[i+12>>2]|0;if((b|0)==(c[i+16>>2]|0))b=Eb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else b=hE(c[b>>2]|0)|0;if(!(HE(b,gE()|0)|0))if(f)break;else{A=50;break}else{c[e>>2]=0;A=48;break}}else A=48;while(0);if((A|0)==48?f:0)A=50;if((A|0)==50)c[g>>2]=c[g>>2]|2;A=c[d>>2]|0;hO(z);hO(y);yb=B;return A|0}function eH(b,d,e,f,g,h,i){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;w=yb;yb=yb+112|0;k=w;l=(f-e|0)/12|0;if(l>>>0>100){k=DO(l)|0;if(!k)_N();else{j=k;u=k}}else{j=k;u=0}k=0;n=e;o=j;while(1){if((n|0)==(f|0))break;m=a[n+8+3>>0]|0;if(m<<24>>24<0)m=c[n+4>>2]|0;else m=m&255;if(!m){a[o>>0]=2;k=k+1|0;l=l+-1|0}else a[o>>0]=1;n=n+12|0;o=o+1|0}t=0;r=k;while(1){k=c[b>>2]|0;do if(k){m=c[k+12>>2]|0;if((m|0)==(c[k+16>>2]|0))k=Eb[c[(c[k>>2]|0)+36>>2]&127](k)|0;else k=hE(c[m>>2]|0)|0;if(HE(k,gE()|0)|0){c[b>>2]=0;o=1;break}else{o=(c[b>>2]|0)==0;break}}else o=1;while(0);m=c[d>>2]|0;if(m){k=c[m+12>>2]|0;if((k|0)==(c[m+16>>2]|0))k=Eb[c[(c[m>>2]|0)+36>>2]&127](m)|0;else k=hE(c[k>>2]|0)|0;if(HE(k,gE()|0)|0){c[d>>2]=0;k=1;m=0}else k=0}else{k=1;m=0}n=c[b>>2]|0;if(!((l|0)!=0&(o^k)))break;k=c[n+12>>2]|0;if((k|0)==(c[n+16>>2]|0))k=Eb[c[(c[n>>2]|0)+36>>2]&127](n)|0;else k=hE(c[k>>2]|0)|0;if(!i)k=Gb[c[(c[g>>2]|0)+28>>2]&63](g,k)|0;s=t+1|0;p=e;o=0;q=j;while(1){if((p|0)==(f|0))break;do if((a[q>>0]|0)==1){n=p+8+3|0;if((a[n>>0]|0)<0)m=c[p>>2]|0;else m=p;m=c[m+(t<<2)>>2]|0;if(!i)m=Gb[c[(c[g>>2]|0)+28>>2]&63](g,m)|0;if((k|0)!=(m|0)){a[q>>0]=0;m=o;n=r;l=l+-1|0;break}m=a[n>>0]|0;if(m<<24>>24<0)m=c[p+4>>2]|0;else m=m&255;if((m|0)==(s|0)){a[q>>0]=2;m=1;n=r+1|0;l=l+-1|0}else{m=1;n=r}}else{m=o;n=r}while(0);p=p+12|0;o=m;q=q+1|0;r=n}a:do if(o){k=c[b>>2]|0;m=k+12|0;n=c[m>>2]|0;if((n|0)==(c[k+16>>2]|0))Eb[c[(c[k>>2]|0)+40>>2]&127](k)|0;else{c[m>>2]=n+4;hE(c[n>>2]|0)|0}if((r+l|0)>>>0>1){n=e;o=j;k=r;while(1){if((n|0)==(f|0))break a;if((a[o>>0]|0)==2){m=a[n+8+3>>0]|0;if(m<<24>>24<0)m=c[n+4>>2]|0;else m=m&255;if((m|0)!=(s|0)){a[o>>0]=0;k=k+-1|0}}n=n+12|0;o=o+1|0}}else k=r}else k=r;while(0);t=s;r=k}do if(n){k=c[n+12>>2]|0;if((k|0)==(c[n+16>>2]|0))k=Eb[c[(c[n>>2]|0)+36>>2]&127](n)|0;else k=hE(c[k>>2]|0)|0;if(HE(k,gE()|0)|0){c[b>>2]=0;l=1;break}else{l=(c[b>>2]|0)==0;break}}else l=1;while(0);do if(m){k=c[m+12>>2]|0;if((k|0)==(c[m+16>>2]|0))k=Eb[c[(c[m>>2]|0)+36>>2]&127](m)|0;else k=hE(c[k>>2]|0)|0;if(!(HE(k,gE()|0)|0))if(l)break;else{v=79;break}else{c[d>>2]=0;v=41;break}}else v=41;while(0);if((v|0)==41?l:0)v=79;if((v|0)==79)c[h>>2]=c[h>>2]|2;while(1){if((e|0)==(f|0)){v=84;break}if((a[j>>0]|0)==2)break;e=e+12|0;j=j+1|0}if((v|0)==84){c[h>>2]=c[h>>2]|4;e=f}EO(u);yb=w;return e|0}function fH(a){a=a|0;AF(a);return}function gH(a){a=a|0;AF(a);QA(a);return}function hH(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0;l=yb;yb=yb+16|0;k=l+4|0;h=l;if(!(c[e+4>>2]&1)){j=c[(c[b>>2]|0)+24>>2]|0;c[h>>2]=c[d>>2];c[k>>2]=c[h>>2];b=Kb[j&31](b,k,e,f,g&1)|0}else{GE(k,e);b=VF(k,56752)|0;WF(k);e=c[b>>2]|0;if(g)Sb[c[e+24>>2]&63](k,b);else Sb[c[e+28>>2]&63](k,b);i=k+11|0;b=a[i>>0]|0;e=c[k>>2]|0;j=k+4|0;g=b<<24>>24<0?e:k;while(1){h=b<<24>>24<0;if((g|0)==((h?e:k)+(h?c[j>>2]|0:b&255)|0))break;b=a[g>>0]|0;e=c[d>>2]|0;if(e|0){f=e+24|0;h=c[f>>2]|0;if((h|0)==(c[e+28>>2]|0)){h=c[(c[e>>2]|0)+52>>2]|0;b=ag(b)|0;b=Gb[h&63](e,b)|0}else{c[f>>2]=h+1;a[h>>0]=b;b=ag(b)|0}if(Yf(b,Uf()|0)|0)c[d>>2]=0}g=g+1|0;b=a[i>>0]|0;e=c[k>>2]|0}b=c[d>>2]|0;hO(k)}yb=l;return b|0}function iH(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;b=yb;yb=yb+32|0;j=b;n=b+16|0;m=b+12|0;l=b+4|0;k=b+8|0;a[n>>0]=a[49415]|0;a[n+1>>0]=a[49416]|0;a[n+2>>0]=a[49417]|0;a[n+3>>0]=a[49418]|0;a[n+4>>0]=a[49419]|0;a[n+5>>0]=a[49420]|0;p=e+4|0;uH(n+1|0,49421,1,c[p>>2]|0);p=(c[p>>2]|0)>>>9&1;q=p+13|0;h=Na()|0;o=yb;yb=yb+((1*q|0)+15&-16)|0;i=YF()|0;c[j>>2]=g;g=o+(pH(o,q,i,n,j)|0)|0;n=qH(o,g,e)|0;i=yb;yb=yb+((1*((p<<1|24)+-1|0)|0)+15&-16)|0;GE(j,e);vH(o,n,g,i,m,l,j);WF(j);c[k>>2]=c[d>>2];d=c[m>>2]|0;g=c[l>>2]|0;c[j>>2]=c[k>>2];g=Zf(j,i,d,g,e,f)|0;Ma(h|0);yb=b;return g|0}function jH(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;a=yb;yb=yb+32|0;j=a+8|0;i=a;m=a+24|0;l=a+16|0;k=a+20|0;o=i;c[o>>2]=37;c[o+4>>2]=0;o=d+4|0;uH(i+1|0,49412,1,c[o>>2]|0);o=(c[o>>2]|0)>>>9&1;q=o+23|0;h=Na()|0;n=yb;yb=yb+((1*q|0)+15&-16)|0;p=YF()|0;r=j;c[r>>2]=f;c[r+4>>2]=g;f=n+(pH(n,q,p,i,j)|0)|0;g=qH(n,f,d)|0;i=yb;yb=yb+((1*((o<<1|44)+-1|0)|0)+15&-16)|0;GE(j,d);vH(n,g,f,i,m,l,j);WF(j);c[k>>2]=c[b>>2];f=c[m>>2]|0;g=c[l>>2]|0;c[j>>2]=c[k>>2];g=Zf(j,i,f,g,d,e)|0;Ma(h|0);yb=a;return g|0}function kH(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;b=yb;yb=yb+32|0;j=b;n=b+16|0;m=b+12|0;l=b+4|0;k=b+8|0;a[n>>0]=a[49415]|0;a[n+1>>0]=a[49416]|0;a[n+2>>0]=a[49417]|0;a[n+3>>0]=a[49418]|0;a[n+4>>0]=a[49419]|0;a[n+5>>0]=a[49420]|0;p=e+4|0;uH(n+1|0,49421,0,c[p>>2]|0);p=(c[p>>2]|0)>>>9&1;q=p|12;h=Na()|0;o=yb;yb=yb+((1*q|0)+15&-16)|0;i=YF()|0;c[j>>2]=g;g=o+(pH(o,q,i,n,j)|0)|0;n=qH(o,g,e)|0;i=yb;yb=yb+((1*(p<<1|21)|0)+15&-16)|0;GE(j,e);vH(o,n,g,i,m,l,j);WF(j);c[k>>2]=c[d>>2];d=c[m>>2]|0;g=c[l>>2]|0;c[j>>2]=c[k>>2];g=Zf(j,i,d,g,e,f)|0;Ma(h|0);yb=b;return g|0}function lH(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;a=yb;yb=yb+32|0;j=a+8|0;i=a;m=a+24|0;l=a+16|0;k=a+20|0;o=i;c[o>>2]=37;c[o+4>>2]=0;o=d+4|0;uH(i+1|0,49412,0,c[o>>2]|0);o=(c[o>>2]|0)>>>9&1|22;q=o+1|0;h=Na()|0;n=yb;yb=yb+((1*q|0)+15&-16)|0;p=YF()|0;r=j;c[r>>2]=f;c[r+4>>2]=g;f=n+(pH(n,q,p,i,j)|0)|0;g=qH(n,f,d)|0;i=yb;yb=yb+((1*((o<<1)+-1|0)|0)+15&-16)|0;GE(j,d);vH(n,g,f,i,m,l,j);WF(j);c[k>>2]=c[b>>2];f=c[m>>2]|0;g=c[l>>2]|0;c[j>>2]=c[k>>2];g=Zf(j,i,f,g,d,e)|0;Ma(h|0);yb=a;return g|0}function mH(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=+f;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;v=yb;yb=yb+176|0;r=v+168|0;m=v+144|0;l=v+128|0;i=v+120|0;h=v+104|0;k=v+96|0;o=v+64|0;n=v+164|0;p=v;u=v+160|0;s=v+156|0;t=v+152|0;j=k;c[j>>2]=37;c[j+4>>2]=0;j=rH(k+1|0,57671,c[d+4>>2]|0)|0;c[n>>2]=o;a=YF()|0;if(j){c[h>>2]=c[d+8>>2];g[h+8>>3]=f;a=pH(o,30,a,k,h)|0}else{g[i>>3]=f;a=pH(o,30,a,k,i)|0}if((a|0)>29){a=YF()|0;if(j){c[l>>2]=c[d+8>>2];g[l+8>>3]=f;h=sH(n,a,k,l)|0}else{g[m>>3]=f;h=sH(n,a,k,m)|0}a=c[n>>2]|0;if(!a)_N();else{q=h;y=a;z=a}}else{q=a;y=0;z=c[n>>2]|0}h=z+q|0;i=qH(z,h,d)|0;if((z|0)!=(o|0)){a=DO(q<<1)|0;if(!a)_N();else{w=a;x=a}}else{w=p;x=0}GE(r,d);tH(z,i,h,w,u,s,r);WF(r);c[t>>2]=c[b>>2];b=c[u>>2]|0;z=c[s>>2]|0;c[r>>2]=c[t>>2];z=Zf(r,w,b,z,d,e)|0;EO(x);EO(y);yb=v;return z|0} -function nH(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=+f;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;v=yb;yb=yb+176|0;r=v+168|0;m=v+144|0;l=v+128|0;i=v+120|0;h=v+104|0;k=v+96|0;o=v+64|0;n=v+164|0;p=v;u=v+160|0;s=v+156|0;t=v+152|0;j=k;c[j>>2]=37;c[j+4>>2]=0;j=rH(k+1|0,49410,c[d+4>>2]|0)|0;c[n>>2]=o;a=YF()|0;if(j){c[h>>2]=c[d+8>>2];g[h+8>>3]=f;a=pH(o,30,a,k,h)|0}else{g[i>>3]=f;a=pH(o,30,a,k,i)|0}if((a|0)>29){a=YF()|0;if(j){c[l>>2]=c[d+8>>2];g[l+8>>3]=f;h=sH(n,a,k,l)|0}else{g[m>>3]=f;h=sH(n,a,k,m)|0}a=c[n>>2]|0;if(!a)_N();else{q=h;y=a;z=a}}else{q=a;y=0;z=c[n>>2]|0}h=z+q|0;i=qH(z,h,d)|0;if((z|0)!=(o|0)){a=DO(q<<1)|0;if(!a)_N();else{w=a;x=a}}else{w=p;x=0}GE(r,d);tH(z,i,h,w,u,s,r);WF(r);c[t>>2]=c[b>>2];b=c[u>>2]|0;z=c[s>>2]|0;c[r>>2]=c[t>>2];z=Zf(r,w,b,z,d,e)|0;EO(x);EO(y);yb=v;return z|0}function oH(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0;b=yb;yb=yb+96|0;l=b+72|0;k=b+80|0;h=b+48|0;j=b;m=b+76|0;a[k>>0]=a[49404]|0;a[k+1>>0]=a[49405]|0;a[k+2>>0]=a[49406]|0;a[k+3>>0]=a[49407]|0;a[k+4>>0]=a[49408]|0;a[k+5>>0]=a[49409]|0;i=YF()|0;c[l>>2]=g;g=pH(h,20,i,k,l)|0;k=h+g|0;i=qH(h,k,e)|0;GE(l,e);n=VF(l,56736)|0;WF(l);Ib[c[(c[n>>2]|0)+32>>2]&15](n,h,k,j)|0;g=j+g|0;c[m>>2]=c[d>>2];c[l>>2]=c[m>>2];g=Zf(l,j,(i|0)==(k|0)?g:j+(i-h)|0,g,e,f)|0;yb=b;return g|0}function pH(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;g=yb;yb=yb+16|0;h=g;c[h>>2]=f;f=cz(d)|0;d=Hx(a,b,e,h)|0;if(f|0)cz(f)|0;yb=g;return d|0}function qH(b,d,e){b=b|0;d=d|0;e=e|0;var f=0;a:do switch((c[e+4>>2]&176)<<24>>24){case 16:{e=a[b>>0]|0;switch(e<<24>>24){case 43:case 45:{b=b+1|0;break a}default:{}}if((d-b|0)>1&e<<24>>24==48){switch(a[b+1>>0]|0){case 88:case 120:break;default:{f=7;break a}}b=b+2|0}else f=7;break}case 32:{b=d;break}default:f=7}while(0);return b|0}function rH(b,c,d){b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;if(d&2048){a[b>>0]=43;b=b+1|0}if(d&1024){a[b>>0]=35;b=b+1|0}g=d&260;e=d&16384;f=(g|0)==260;if(f)h=0;else{a[b>>0]=46;a[b+1>>0]=42;h=1;b=b+2|0}while(1){d=a[c>>0]|0;if(!(d<<24>>24))break;a[b>>0]=d;c=c+1|0;b=b+1|0}a:do switch(g&511){case 4:{d=e>>>9&255^102;break}case 256:{d=e>>>9&255^101;break}default:{d=e>>>9&255;if(f){d=d^97;break a}else{d=d^103;break a}}}while(0);a[b>>0]=d;return h|0}function sH(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;f=yb;yb=yb+16|0;g=f;c[g>>2]=e;e=cz(b)|0;b=$z(a,d,g)|0;if(e|0)cz(e)|0;yb=f;return b|0}function tH(b,d,e,f,g,h,i){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;v=yb;yb=yb+16|0;s=v;t=VF(i,56736)|0;r=VF(i,56752)|0;Sb[c[(c[r>>2]|0)+20>>2]&63](s,r);c[h>>2]=f;i=a[b>>0]|0;switch(i<<24>>24){case 43:case 45:{q=Gb[c[(c[t>>2]|0)+28>>2]&63](t,i)|0;j=c[h>>2]|0;c[h>>2]=j+1;a[j>>0]=q;j=b+1|0;break}default:j=b}q=e;a:do if((q-j|0)>1?(a[j>>0]|0)==48:0){i=j+1|0;switch(a[i>>0]|0){case 88:case 120:break;default:{u=4;break a}}o=Gb[c[(c[t>>2]|0)+28>>2]&63](t,48)|0;p=c[h>>2]|0;c[h>>2]=p+1;a[p>>0]=o;j=j+2|0;p=Gb[c[(c[t>>2]|0)+28>>2]&63](t,a[i>>0]|0)|0;i=c[h>>2]|0;c[h>>2]=i+1;a[i>>0]=p;i=j;while(1){if(i>>>0>=e>>>0)break a;p=a[i>>0]|0;if(!(Yy(p,YF()|0)|0))break a;i=i+1|0}}else u=4;while(0);b:do if((u|0)==4){i=j;while(1){if(i>>>0>=e>>>0)break b;p=a[i>>0]|0;if(!(Xy(p,YF()|0)|0))break b;i=i+1|0}}while(0);o=s+11|0;n=a[o>>0]|0;p=s+4|0;c:do if((n<<24>>24<0?c[p>>2]|0:n&255)|0){d:do if((j|0)!=(i|0)){k=i;l=j;while(1){k=k+-1|0;if(l>>>0>=k>>>0)break d;n=a[l>>0]|0;a[l>>0]=a[k>>0]|0;a[k>>0]=n;l=l+1|0}}while(0);n=Eb[c[(c[r>>2]|0)+16>>2]&127](r)|0;m=j;l=0;k=0;while(1){if(m>>>0>=i>>>0)break;w=a[((a[o>>0]|0)<0?c[s>>2]|0:s)+k>>0]|0;if(w<<24>>24>0&(l|0)==(w<<24>>24|0)){l=c[h>>2]|0;c[h>>2]=l+1;a[l>>0]=n;l=a[o>>0]|0;k=k+(k>>>0<((l<<24>>24<0?c[p>>2]|0:l&255)+-1|0)>>>0&1)|0;l=0}x=Gb[c[(c[t>>2]|0)+28>>2]&63](t,a[m>>0]|0)|0;w=c[h>>2]|0;c[h>>2]=w+1;a[w>>0]=x;m=m+1|0;l=l+1|0}k=f+(j-b)|0;j=c[h>>2]|0;if((k|0)==(j|0))k=t;else while(1){j=j+-1|0;if(k>>>0>=j>>>0){k=t;break c}x=a[k>>0]|0;a[k>>0]=a[j>>0]|0;a[j>>0]=x;k=k+1|0}}else{Ib[c[(c[t>>2]|0)+32>>2]&15](t,j,i,c[h>>2]|0)|0;c[h>>2]=(c[h>>2]|0)+(i-j);k=t}while(0);while(1){if(i>>>0>=e>>>0)break;j=a[i>>0]|0;if(j<<24>>24==46){u=32;break}w=Gb[c[(c[k>>2]|0)+28>>2]&63](t,j)|0;x=c[h>>2]|0;c[h>>2]=x+1;a[x>>0]=w;i=i+1|0}if((u|0)==32){w=Eb[c[(c[r>>2]|0)+12>>2]&127](r)|0;x=c[h>>2]|0;c[h>>2]=x+1;a[x>>0]=w;i=i+1|0}Ib[c[(c[t>>2]|0)+32>>2]&15](t,i,e,c[h>>2]|0)|0;x=(c[h>>2]|0)+(q-i)|0;c[h>>2]=x;c[g>>2]=(d|0)==(e|0)?x:f+(d-b)|0;hO(s);yb=v;return}function uH(b,c,d,e){b=b|0;c=c|0;d=d|0;e=e|0;var f=0;if(e&2048){a[b>>0]=43;b=b+1|0}if(e&512){a[b>>0]=35;b=b+1|0}f=b;while(1){b=a[c>>0]|0;if(!(b<<24>>24))break;a[f>>0]=b;c=c+1|0;f=f+1|0}switch(e&74){case 64:{b=111;break}case 8:{b=e>>>9&32^120;break}default:b=d?100:117}a[f>>0]=b;return}function vH(b,d,e,f,g,h,i){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;r=yb;yb=yb+16|0;q=r;p=VF(i,56736)|0;l=VF(i,56752)|0;Sb[c[(c[l>>2]|0)+20>>2]&63](q,l);n=q+11|0;m=a[n>>0]|0;o=q+4|0;if((m<<24>>24<0?c[o>>2]|0:m&255)|0){c[h>>2]=f;i=a[b>>0]|0;switch(i<<24>>24){case 43:case 45:{m=Gb[c[(c[p>>2]|0)+28>>2]&63](p,i)|0;i=c[h>>2]|0;c[h>>2]=i+1;a[i>>0]=m;i=b+1|0;break}default:i=b}a:do if((e-i|0)>1?(a[i>>0]|0)==48:0){j=i+1|0;switch(a[j>>0]|0){case 88:case 120:break;default:break a}m=Gb[c[(c[p>>2]|0)+28>>2]&63](p,48)|0;k=c[h>>2]|0;c[h>>2]=k+1;a[k>>0]=m;k=Gb[c[(c[p>>2]|0)+28>>2]&63](p,a[j>>0]|0)|0;m=c[h>>2]|0;c[h>>2]=m+1;a[m>>0]=k;i=i+2|0}while(0);b:do if((i|0)!=(e|0)){j=e;k=i;while(1){j=j+-1|0;if(k>>>0>=j>>>0)break b;m=a[k>>0]|0;a[k>>0]=a[j>>0]|0;a[j>>0]=m;k=k+1|0}}while(0);m=Eb[c[(c[l>>2]|0)+16>>2]&127](l)|0;l=i;j=0;k=0;while(1){if(l>>>0>=e>>>0)break;s=a[((a[n>>0]|0)<0?c[q>>2]|0:q)+j>>0]|0;if(s<<24>>24!=0&(k|0)==(s<<24>>24|0)){k=c[h>>2]|0;c[h>>2]=k+1;a[k>>0]=m;k=a[n>>0]|0;j=j+(j>>>0<((k<<24>>24<0?c[o>>2]|0:k&255)+-1|0)>>>0&1)|0;k=0}t=Gb[c[(c[p>>2]|0)+28>>2]&63](p,a[l>>0]|0)|0;s=c[h>>2]|0;c[h>>2]=s+1;a[s>>0]=t;l=l+1|0;k=k+1|0}i=f+(i-b)|0;j=c[h>>2]|0;if((i|0)!=(j|0)){while(1){j=j+-1|0;if(i>>>0>=j>>>0)break;t=a[i>>0]|0;a[i>>0]=a[j>>0]|0;a[j>>0]=t;i=i+1|0}i=c[h>>2]|0}}else{Ib[c[(c[p>>2]|0)+32>>2]&15](p,b,e,f)|0;i=f+(e-b)|0;c[h>>2]=i}c[g>>2]=(d|0)==(e|0)?i:f+(d-b)|0;hO(q);yb=r;return}function wH(a){a=a|0;AF(a);return}function xH(a){a=a|0;AF(a);QA(a);return}function yH(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0;l=yb;yb=yb+16|0;k=l+4|0;h=l;if(!(c[e+4>>2]&1)){j=c[(c[b>>2]|0)+24>>2]|0;c[h>>2]=c[d>>2];c[k>>2]=c[h>>2];b=Kb[j&31](b,k,e,f,g&1)|0}else{GE(k,e);b=VF(k,56776)|0;WF(k);e=c[b>>2]|0;if(g)Sb[c[e+24>>2]&63](k,b);else Sb[c[e+28>>2]&63](k,b);i=k+8+3|0;b=a[i>>0]|0;e=c[k>>2]|0;j=k+4|0;g=b<<24>>24<0?e:k;while(1){h=b<<24>>24<0;if((g|0)==((h?e:k)+((h?c[j>>2]|0:b&255)<<2)|0))break;b=c[g>>2]|0;e=c[d>>2]|0;if(e|0){f=e+24|0;h=c[f>>2]|0;if((h|0)==(c[e+28>>2]|0)){h=c[(c[e>>2]|0)+52>>2]|0;b=hE(b)|0;b=Gb[h&63](e,b)|0}else{c[f>>2]=h+4;c[h>>2]=b;b=hE(b)|0}if(HE(b,gE()|0)|0)c[d>>2]=0}g=g+4|0;b=a[i>>0]|0;e=c[k>>2]|0}b=c[d>>2]|0;uO(k)}yb=l;return b|0}function zH(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;b=yb;yb=yb+32|0;j=b;n=b+16|0;m=b+12|0;l=b+4|0;k=b+8|0;a[n>>0]=a[49415]|0;a[n+1>>0]=a[49416]|0;a[n+2>>0]=a[49417]|0;a[n+3>>0]=a[49418]|0;a[n+4>>0]=a[49419]|0;a[n+5>>0]=a[49420]|0;p=e+4|0;uH(n+1|0,49421,1,c[p>>2]|0);p=(c[p>>2]|0)>>>9&1;q=p+13|0;h=Na()|0;o=yb;yb=yb+((1*q|0)+15&-16)|0;i=YF()|0;c[j>>2]=g;g=o+(pH(o,q,i,n,j)|0)|0;n=qH(o,g,e)|0;i=yb;yb=yb+((1*((p<<1|24)+-1<<2)|0)+15&-16)|0;GE(j,e);IH(o,n,g,i,m,l,j);WF(j);c[k>>2]=c[d>>2];d=c[m>>2]|0;g=c[l>>2]|0;c[j>>2]=c[k>>2];g=GH(j,i,d,g,e,f)|0;Ma(h|0);yb=b;return g|0}function AH(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;a=yb;yb=yb+32|0;j=a+8|0;i=a;m=a+24|0;l=a+16|0;k=a+20|0;o=i;c[o>>2]=37;c[o+4>>2]=0;o=d+4|0;uH(i+1|0,49412,1,c[o>>2]|0);o=(c[o>>2]|0)>>>9&1;q=o+23|0;h=Na()|0;n=yb;yb=yb+((1*q|0)+15&-16)|0;p=YF()|0;r=j;c[r>>2]=f;c[r+4>>2]=g;f=n+(pH(n,q,p,i,j)|0)|0;g=qH(n,f,d)|0;i=yb;yb=yb+((1*((o<<1|44)+-1<<2)|0)+15&-16)|0;GE(j,d);IH(n,g,f,i,m,l,j);WF(j);c[k>>2]=c[b>>2];f=c[m>>2]|0;g=c[l>>2]|0;c[j>>2]=c[k>>2];g=GH(j,i,f,g,d,e)|0;Ma(h|0);yb=a;return g|0}function BH(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;b=yb;yb=yb+32|0;j=b;n=b+16|0;m=b+12|0;l=b+4|0;k=b+8|0;a[n>>0]=a[49415]|0;a[n+1>>0]=a[49416]|0;a[n+2>>0]=a[49417]|0;a[n+3>>0]=a[49418]|0;a[n+4>>0]=a[49419]|0;a[n+5>>0]=a[49420]|0;p=e+4|0;uH(n+1|0,49421,0,c[p>>2]|0);p=(c[p>>2]|0)>>>9&1;q=p|12;h=Na()|0;o=yb;yb=yb+((1*q|0)+15&-16)|0;i=YF()|0;c[j>>2]=g;g=o+(pH(o,q,i,n,j)|0)|0;n=qH(o,g,e)|0;i=yb;yb=yb+((1*((p<<1|21)<<2)|0)+15&-16)|0;GE(j,e);IH(o,n,g,i,m,l,j);WF(j);c[k>>2]=c[d>>2];d=c[m>>2]|0;g=c[l>>2]|0;c[j>>2]=c[k>>2];g=GH(j,i,d,g,e,f)|0;Ma(h|0);yb=b;return g|0}function CH(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;a=yb;yb=yb+32|0;j=a+8|0;i=a;m=a+24|0;l=a+16|0;k=a+20|0;o=i;c[o>>2]=37;c[o+4>>2]=0;o=d+4|0;uH(i+1|0,49412,0,c[o>>2]|0);o=(c[o>>2]|0)>>>9&1|22;q=o+1|0;h=Na()|0;n=yb;yb=yb+((1*q|0)+15&-16)|0;p=YF()|0;r=j;c[r>>2]=f;c[r+4>>2]=g;f=n+(pH(n,q,p,i,j)|0)|0;g=qH(n,f,d)|0;i=yb;yb=yb+((1*((o<<1)+-1<<2)|0)+15&-16)|0;GE(j,d);IH(n,g,f,i,m,l,j);WF(j);c[k>>2]=c[b>>2];f=c[m>>2]|0;g=c[l>>2]|0;c[j>>2]=c[k>>2];g=GH(j,i,f,g,d,e)|0;Ma(h|0);yb=a;return g|0}function DH(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=+f;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;x=yb;yb=yb+352|0;r=x+344|0;m=x+320|0;l=x+304|0;i=x+296|0;h=x+280|0;k=x+272|0;o=x+240|0;n=x+340|0;p=x;u=x+336|0;s=x+332|0;t=x+328|0;j=k;c[j>>2]=37;c[j+4>>2]=0;j=rH(k+1|0,57671,c[d+4>>2]|0)|0;c[n>>2]=o;a=YF()|0;if(j){c[h>>2]=c[d+8>>2];g[h+8>>3]=f;a=pH(o,30,a,k,h)|0}else{g[i>>3]=f;a=pH(o,30,a,k,i)|0}if((a|0)>29){a=YF()|0;if(j){c[l>>2]=c[d+8>>2];g[l+8>>3]=f;h=sH(n,a,k,l)|0}else{g[m>>3]=f;h=sH(n,a,k,m)|0}a=c[n>>2]|0;if(!a)_N();else{q=h;z=a;w=a}}else{q=a;z=0;w=c[n>>2]|0}h=w+q|0;i=qH(w,h,d)|0;do if((w|0)!=(o|0)){a=DO(q<<3)|0;if(!a)_N();else{v=a;y=0;A=a;break}}else{v=p;y=1;A=0}while(0);GE(r,d);HH(w,i,h,v,u,s,r);WF(r);c[t>>2]=c[b>>2];w=c[u>>2]|0;a=c[s>>2]|0;c[r>>2]=c[t>>2];a=GH(r,v,w,a,d,e)|0;c[b>>2]=a;if(!y)EO(A);EO(z);yb=x;return a|0}function EH(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=+f;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;x=yb;yb=yb+352|0;r=x+344|0;m=x+320|0;l=x+304|0;i=x+296|0;h=x+280|0;k=x+272|0;o=x+240|0;n=x+340|0;p=x;u=x+336|0;s=x+332|0;t=x+328|0;j=k;c[j>>2]=37;c[j+4>>2]=0;j=rH(k+1|0,49410,c[d+4>>2]|0)|0;c[n>>2]=o;a=YF()|0;if(j){c[h>>2]=c[d+8>>2];g[h+8>>3]=f;a=pH(o,30,a,k,h)|0}else{g[i>>3]=f;a=pH(o,30,a,k,i)|0}if((a|0)>29){a=YF()|0;if(j){c[l>>2]=c[d+8>>2];g[l+8>>3]=f;h=sH(n,a,k,l)|0}else{g[m>>3]=f;h=sH(n,a,k,m)|0}a=c[n>>2]|0;if(!a)_N();else{q=h;z=a;w=a}}else{q=a;z=0;w=c[n>>2]|0}h=w+q|0;i=qH(w,h,d)|0;do if((w|0)!=(o|0)){a=DO(q<<3)|0;if(!a)_N();else{v=a;y=0;A=a;break}}else{v=p;y=1;A=0}while(0);GE(r,d);HH(w,i,h,v,u,s,r);WF(r);c[t>>2]=c[b>>2];w=c[u>>2]|0;a=c[s>>2]|0;c[r>>2]=c[t>>2];a=GH(r,v,w,a,d,e)|0;c[b>>2]=a;if(!y)EO(A);EO(z);yb=x;return a|0}function FH(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0;b=yb;yb=yb+208|0;l=b+184|0;k=b+192|0;h=b+160|0;j=b;m=b+188|0;a[k>>0]=a[49404]|0;a[k+1>>0]=a[49405]|0;a[k+2>>0]=a[49406]|0;a[k+3>>0]=a[49407]|0;a[k+4>>0]=a[49408]|0;a[k+5>>0]=a[49409]|0;i=YF()|0;c[l>>2]=g;g=pH(h,20,i,k,l)|0;k=h+g|0;i=qH(h,k,e)|0;GE(l,e);n=VF(l,56768)|0;WF(l);Ib[c[(c[n>>2]|0)+48>>2]&15](n,h,k,j)|0;g=j+(g<<2)|0;c[m>>2]=c[d>>2];c[l>>2]=c[m>>2];g=GH(l,j,(i|0)==(k|0)?g:j+(i-h<<2)|0,g,e,f)|0;yb=b;return g|0}function GH(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0;n=yb;yb=yb+16|0;m=n;i=c[b>>2]|0;a:do if(!i)i=0;else{o=d;j=f-o>>2;l=g+12|0;g=c[l>>2]|0;g=(g|0)>(j|0)?g-j|0:0;j=e;o=j-o|0;k=o>>2;if((o|0)>0?(Hb[c[(c[i>>2]|0)+48>>2]&63](i,d,k)|0)!=(k|0):0){c[b>>2]=0;i=0;break}do if((g|0)>0){c[m>>2]=0;c[m+4>>2]=0;c[m+8>>2]=0;sO(m,g,h);if((Hb[c[(c[i>>2]|0)+48>>2]&63](i,(a[m+8+3>>0]|0)<0?c[m>>2]|0:m,g)|0)==(g|0)){uO(m);break}else{c[b>>2]=0;uO(m);i=0;break a}}while(0);o=f-j|0;f=o>>2;if((o|0)>0?(Hb[c[(c[i>>2]|0)+48>>2]&63](i,e,f)|0)!=(f|0):0){c[b>>2]=0;i=0;break}c[l>>2]=0}while(0);yb=n;return i|0}function HH(b,d,e,f,g,h,i){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;v=yb;yb=yb+16|0;s=v;t=VF(i,56768)|0;q=VF(i,56776)|0;Sb[c[(c[q>>2]|0)+20>>2]&63](s,q);c[h>>2]=f;i=a[b>>0]|0;switch(i<<24>>24){case 43:case 45:{r=Gb[c[(c[t>>2]|0)+44>>2]&63](t,i)|0;i=c[h>>2]|0;c[h>>2]=i+4;c[i>>2]=r;i=b+1|0;break}default:i=b}r=e;a:do if((r-i|0)>1?(a[i>>0]|0)==48:0){j=i+1|0;switch(a[j>>0]|0){case 88:case 120:break;default:{u=4;break a}}o=Gb[c[(c[t>>2]|0)+44>>2]&63](t,48)|0;p=c[h>>2]|0;c[h>>2]=p+4;c[p>>2]=o;i=i+2|0;p=Gb[c[(c[t>>2]|0)+44>>2]&63](t,a[j>>0]|0)|0;j=c[h>>2]|0;c[h>>2]=j+4;c[j>>2]=p;j=i;while(1){if(j>>>0>=e>>>0)break a;p=a[j>>0]|0;if(!(Yy(p,YF()|0)|0))break a;j=j+1|0}}else u=4;while(0);b:do if((u|0)==4){j=i;while(1){if(j>>>0>=e>>>0)break b;p=a[j>>0]|0;if(!(Xy(p,YF()|0)|0))break b;j=j+1|0}}while(0);o=s+11|0;n=a[o>>0]|0;p=s+4|0;c:do if((n<<24>>24<0?c[p>>2]|0:n&255)|0){d:do if((i|0)!=(j|0)){k=j;l=i;while(1){k=k+-1|0;if(l>>>0>=k>>>0)break d;n=a[l>>0]|0;a[l>>0]=a[k>>0]|0;a[k>>0]=n;l=l+1|0}}while(0);n=Eb[c[(c[q>>2]|0)+16>>2]&127](q)|0;m=i;k=0;l=0;while(1){if(m>>>0>=j>>>0)break;w=a[((a[o>>0]|0)<0?c[s>>2]|0:s)+k>>0]|0;if(w<<24>>24>0&(l|0)==(w<<24>>24|0)){l=c[h>>2]|0;c[h>>2]=l+4;c[l>>2]=n;l=a[o>>0]|0;k=k+(k>>>0<((l<<24>>24<0?c[p>>2]|0:l&255)+-1|0)>>>0&1)|0;l=0}x=Gb[c[(c[t>>2]|0)+44>>2]&63](t,a[m>>0]|0)|0;w=c[h>>2]|0;c[h>>2]=w+4;c[w>>2]=x;m=m+1|0;l=l+1|0}i=f+(i-b<<2)|0;l=c[h>>2]|0;if((i|0)==(l|0))k=t;else{k=l;while(1){k=k+-4|0;if(i>>>0>=k>>>0){k=t;i=l;break c}x=c[i>>2]|0;c[i>>2]=c[k>>2];c[k>>2]=x;i=i+4|0}}}else{Ib[c[(c[t>>2]|0)+48>>2]&15](t,i,j,c[h>>2]|0)|0;i=(c[h>>2]|0)+(j-i<<2)|0;c[h>>2]=i;k=t}while(0);while(1){if(j>>>0>=e>>>0)break;i=a[j>>0]|0;if(i<<24>>24==46){u=32;break}w=Gb[c[(c[k>>2]|0)+44>>2]&63](t,i)|0;x=c[h>>2]|0;i=x+4|0;c[h>>2]=i;c[x>>2]=w;j=j+1|0}if((u|0)==32){w=Eb[c[(c[q>>2]|0)+12>>2]&127](q)|0;x=c[h>>2]|0;i=x+4|0;c[h>>2]=i;c[x>>2]=w;j=j+1|0}Ib[c[(c[t>>2]|0)+48>>2]&15](t,j,e,i)|0;x=(c[h>>2]|0)+(r-j<<2)|0;c[h>>2]=x;c[g>>2]=(d|0)==(e|0)?x:f+(d-b<<2)|0;hO(s);yb=v;return}function IH(b,d,e,f,g,h,i){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;r=yb;yb=yb+16|0;q=r;p=VF(i,56768)|0;l=VF(i,56776)|0;Sb[c[(c[l>>2]|0)+20>>2]&63](q,l);n=q+11|0;m=a[n>>0]|0;o=q+4|0;if((m<<24>>24<0?c[o>>2]|0:m&255)|0){c[h>>2]=f;i=a[b>>0]|0;switch(i<<24>>24){case 43:case 45:{m=Gb[c[(c[p>>2]|0)+44>>2]&63](p,i)|0;i=c[h>>2]|0;c[h>>2]=i+4;c[i>>2]=m;i=b+1|0;break}default:i=b}a:do if((e-i|0)>1?(a[i>>0]|0)==48:0){j=i+1|0;switch(a[j>>0]|0){case 88:case 120:break;default:break a}m=Gb[c[(c[p>>2]|0)+44>>2]&63](p,48)|0;k=c[h>>2]|0;c[h>>2]=k+4;c[k>>2]=m;k=Gb[c[(c[p>>2]|0)+44>>2]&63](p,a[j>>0]|0)|0;m=c[h>>2]|0;c[h>>2]=m+4;c[m>>2]=k;i=i+2|0}while(0);b:do if((i|0)!=(e|0)){j=e;k=i;while(1){j=j+-1|0;if(k>>>0>=j>>>0)break b;m=a[k>>0]|0;a[k>>0]=a[j>>0]|0;a[j>>0]=m;k=k+1|0}}while(0);m=Eb[c[(c[l>>2]|0)+16>>2]&127](l)|0;l=i;j=0;k=0;while(1){if(l>>>0>=e>>>0)break;s=a[((a[n>>0]|0)<0?c[q>>2]|0:q)+j>>0]|0;if(s<<24>>24!=0&(k|0)==(s<<24>>24|0)){k=c[h>>2]|0;c[h>>2]=k+4;c[k>>2]=m;k=a[n>>0]|0;j=j+(j>>>0<((k<<24>>24<0?c[o>>2]|0:k&255)+-1|0)>>>0&1)|0;k=0}t=Gb[c[(c[p>>2]|0)+44>>2]&63](p,a[l>>0]|0)|0;s=c[h>>2]|0;c[h>>2]=s+4;c[s>>2]=t;l=l+1|0;k=k+1|0}i=f+(i-b<<2)|0;j=c[h>>2]|0;if((i|0)!=(j|0)){while(1){j=j+-4|0;if(i>>>0>=j>>>0)break;t=c[i>>2]|0;c[i>>2]=c[j>>2];c[j>>2]=t;i=i+4|0}i=c[h>>2]|0}}else{Ib[c[(c[p>>2]|0)+48>>2]&15](p,b,e,f)|0;i=f+(e-b<<2)|0;c[h>>2]=i}c[g>>2]=(d|0)==(e|0)?i:f+(d-b<<2)|0;hO(q);yb=r;return}function JH(a){a=a|0;AF(a);return}function KH(a){a=a|0;AF(a);QA(a);return}function LH(a){a=a|0;return 2}function MH(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0;h=yb;yb=yb+16|0;i=h+12|0;j=h+8|0;l=h+4|0;k=h;c[l>>2]=c[b>>2];c[k>>2]=c[d>>2];c[j>>2]=c[l>>2];c[i>>2]=c[k>>2];g=cI(a,j,i,e,f,g,49940,49948)|0;yb=h;return g|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,l=0,m=0,n=0,o=0;i=yb;yb=yb+16|0;j=i+12|0;k=i+8|0;m=i+4|0;l=i;n=b+8|0;n=Eb[c[(c[n>>2]|0)+20>>2]&127](n)|0;c[m>>2]=c[d>>2];c[l>>2]=c[e>>2];e=a[n+11>>0]|0;o=e<<24>>24<0;d=o?c[n>>2]|0:n;e=d+(o?c[n+4>>2]|0:e&255)|0;c[k>>2]=c[m>>2];c[j>>2]=c[l>>2];h=cI(b,k,j,f,g,h,d,e)|0;yb=i;return h|0}function OH(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0;h=yb;yb=yb+16|0;i=h+4|0;j=h;GE(i,e);e=VF(i,56736)|0;WF(i);c[j>>2]=c[d>>2];c[i>>2]=c[j>>2];aI(a,g+24|0,b,i,f,e);yb=h;return c[b>>2]|0}function PH(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0;h=yb;yb=yb+16|0;i=h+4|0;j=h;GE(i,e);e=VF(i,56736)|0;WF(i);c[j>>2]=c[d>>2];c[i>>2]=c[j>>2];bI(a,g+16|0,b,i,f,e);yb=h;return c[b>>2]|0}function QH(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0;h=yb;yb=yb+16|0;i=h+4|0;j=h;GE(i,e);e=VF(i,56736)|0;WF(i);c[j>>2]=c[d>>2];c[i>>2]=c[j>>2];nI(a,g+20|0,b,i,f,e);yb=h;return c[b>>2]|0}function RH(b,d,e,f,g,h,i,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0;R=yb;yb=yb+144|0;k=R+128|0;j=R+112|0;P=R+124|0;Q=R+120|0;l=R+116|0;m=R+108|0;n=R+104|0;o=R+100|0;p=R+96|0;q=R+92|0;r=R+88|0;s=R+84|0;t=R+80|0;u=R+76|0;v=R+72|0;w=R+68|0;x=R+64|0;y=R+60|0;z=R+56|0;A=R+52|0;B=R+48|0;C=R+44|0;D=R+40|0;E=R+36|0;F=R+32|0;G=R+28|0;H=R+24|0;I=R+20|0;J=R+16|0;K=R+12|0;L=R+8|0;M=R+4|0;N=R;c[g>>2]=0;GE(k,f);O=VF(k,56736)|0;WF(k);do switch(i<<24>>24|0){case 65:case 97:{c[P>>2]=c[e>>2];c[k>>2]=c[P>>2];aI(b,h+24|0,d,k,g,O);S=26;break}case 104:case 66:case 98:{c[Q>>2]=c[e>>2];c[k>>2]=c[Q>>2];bI(b,h+16|0,d,k,g,O);S=26;break}case 99:{Q=b+8|0;Q=Eb[c[(c[Q>>2]|0)+12>>2]&127](Q)|0;c[l>>2]=c[d>>2];c[m>>2]=c[e>>2];S=a[Q+11>>0]|0;e=S<<24>>24<0;i=e?c[Q>>2]|0:Q;S=i+(e?c[Q+4>>2]|0:S&255)|0;c[j>>2]=c[l>>2];c[k>>2]=c[m>>2];c[d>>2]=cI(b,j,k,f,g,h,i,S)|0;S=26;break}case 101:case 100:{c[n>>2]=c[e>>2];c[k>>2]=c[n>>2];dI(b,h+12|0,d,k,g,O);S=26;break}case 68:{c[o>>2]=c[d>>2];c[p>>2]=c[e>>2];c[j>>2]=c[o>>2];c[k>>2]=c[p>>2];c[d>>2]=cI(b,j,k,f,g,h,49900,49908)|0;S=26;break}case 70:{c[q>>2]=c[d>>2];c[r>>2]=c[e>>2];c[j>>2]=c[q>>2];c[k>>2]=c[r>>2];c[d>>2]=cI(b,j,k,f,g,h,49908,49916)|0;S=26;break}case 72:{c[s>>2]=c[e>>2];c[k>>2]=c[s>>2];eI(b,h+8|0,d,k,g,O);S=26;break}case 73:{c[t>>2]=c[e>>2];c[k>>2]=c[t>>2];fI(b,h+8|0,d,k,g,O);S=26;break}case 106:{c[u>>2]=c[e>>2];c[k>>2]=c[u>>2];gI(b,h+28|0,d,k,g,O);S=26;break}case 109:{c[v>>2]=c[e>>2];c[k>>2]=c[v>>2];hI(b,h+16|0,d,k,g,O);S=26;break}case 77:{c[w>>2]=c[e>>2];c[k>>2]=c[w>>2];iI(b,h+4|0,d,k,g,O);S=26;break}case 116:case 110:{c[x>>2]=c[e>>2];c[k>>2]=c[x>>2];jI(b,d,k,g,O);S=26;break}case 112:{c[y>>2]=c[e>>2];c[k>>2]=c[y>>2];kI(b,h+8|0,d,k,g,O);S=26;break}case 114:{c[z>>2]=c[d>>2];c[A>>2]=c[e>>2];c[j>>2]=c[z>>2];c[k>>2]=c[A>>2];c[d>>2]=cI(b,j,k,f,g,h,49916,49927)|0;S=26;break}case 82:{c[B>>2]=c[d>>2];c[C>>2]=c[e>>2];c[j>>2]=c[B>>2];c[k>>2]=c[C>>2];c[d>>2]=cI(b,j,k,f,g,h,49927,49932)|0;S=26;break}case 83:{c[D>>2]=c[e>>2];c[k>>2]=c[D>>2];lI(b,h,d,k,g,O);S=26;break}case 84:{c[E>>2]=c[d>>2];c[F>>2]=c[e>>2];c[j>>2]=c[E>>2];c[k>>2]=c[F>>2];c[d>>2]=cI(b,j,k,f,g,h,49932,49940)|0;S=26;break}case 119:{c[G>>2]=c[e>>2];c[k>>2]=c[G>>2];mI(b,h+24|0,d,k,g,O);S=26;break}case 120:{i=c[(c[b>>2]|0)+20>>2]|0;c[H>>2]=c[d>>2];c[I>>2]=c[e>>2];c[j>>2]=c[H>>2];c[k>>2]=c[I>>2];j=Mb[i&63](b,j,k,f,g,h)|0;break}case 88:{Q=b+8|0;Q=Eb[c[(c[Q>>2]|0)+24>>2]&127](Q)|0;c[J>>2]=c[d>>2];c[K>>2]=c[e>>2];S=a[Q+11>>0]|0;e=S<<24>>24<0;i=e?c[Q>>2]|0:Q;S=i+(e?c[Q+4>>2]|0:S&255)|0;c[j>>2]=c[J>>2];c[k>>2]=c[K>>2];c[d>>2]=cI(b,j,k,f,g,h,i,S)|0;S=26;break}case 121:{c[L>>2]=c[e>>2];c[k>>2]=c[L>>2];nI(b,h+20|0,d,k,g,O);S=26;break}case 89:{c[M>>2]=c[e>>2];c[k>>2]=c[M>>2];oI(b,h+20|0,d,k,g,O);S=26;break}case 37:{c[N>>2]=c[e>>2];c[k>>2]=c[N>>2];pI(b,d,k,g,O);S=26;break}default:{c[g>>2]=c[g>>2]|4;S=26}}while(0);if((S|0)==26)j=c[d>>2]|0;yb=R;return j|0}function SH(b){b=b|0;if((a[54872]|0)==0?lB(54872)|0:0){$H();c[14216]=53856;nB(54872)}return c[14216]|0}function TH(b){b=b|0;if((a[54856]|0)==0?lB(54856)|0:0){_H();c[14215]=53568;nB(54856)}return c[14215]|0}function UH(b){b=b|0;if((a[54840]|0)==0?lB(54840)|0:0){ZH();c[14214]=53536;nB(54840)}return c[14214]|0}function VH(b){b=b|0;if((a[54832]|0)==0?lB(54832)|0:0){c[14211]=0;c[14212]=0;c[14213]=0;eO(56844,49658,Wf(49658)|0);nB(54832)}return 56844}function WH(b){b=b|0;if((a[54824]|0)==0?lB(54824)|0:0){c[14208]=0;c[14209]=0;c[14210]=0;eO(56832,49646,Wf(49646)|0);nB(54824)}return 56832}function XH(b){b=b|0;if((a[54816]|0)==0?lB(54816)|0:0){c[14205]=0;c[14206]=0;c[14207]=0;eO(56820,49637,Wf(49637)|0);nB(54816)}return 56820}function YH(b){b=b|0;if((a[54808]|0)==0?lB(54808)|0:0){c[14202]=0;c[14203]=0;c[14204]=0;eO(56808,49628,Wf(49628)|0);nB(54808)}return 56808}function ZH(){var b=0,d=0;if((a[54848]|0)==0?lB(54848)|0:0){d=53536;do{c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[d+(b<<2)>>2]=0;b=b+1|0}d=d+12|0}while((d|0)!=53560);nB(54848)}lO(53536,49679)|0;lO(53548,49682)|0;return}function _H(){var b=0,d=0;if((a[54864]|0)==0?lB(54864)|0:0){d=53568;do{c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[d+(b<<2)>>2]=0;b=b+1|0}d=d+12|0}while((d|0)!=53856);nB(54864)}lO(53568,49685)|0;lO(53580,49693)|0;lO(53592,49702)|0;lO(53604,49708)|0;lO(53616,49714)|0;lO(53628,49718)|0;lO(53640,49723)|0;lO(53652,49728)|0;lO(53664,49735)|0;lO(53676,49745)|0;lO(53688,49753)|0;lO(53700,49762)|0;lO(53712,49771)|0;lO(53724,49775)|0;lO(53736,49779)|0;lO(53748,49783)|0;lO(53760,49714)|0;lO(53772,49787)|0;lO(53784,49791)|0;lO(53796,49795)|0;lO(53808,49799)|0;lO(53820,49803)|0;lO(53832,49807)|0;lO(53844,49811)|0;return}function $H(){var b=0,d=0;if((a[54880]|0)==0?lB(54880)|0:0){d=53856;do{c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[d+(b<<2)>>2]=0;b=b+1|0}d=d+12|0}while((d|0)!=54024);nB(54880)}lO(53856,49815)|0;lO(53868,49822)|0;lO(53880,49829)|0;lO(53892,49837)|0;lO(53904,49847)|0;lO(53916,49856)|0;lO(53928,49863)|0;lO(53940,49872)|0;lO(53952,49876)|0;lO(53964,49880)|0;lO(53976,49884)|0;lO(53988,49888)|0;lO(54e3,49892)|0;lO(54012,49896)|0;return}function aI(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0;h=yb;yb=yb+16|0;i=h+4|0;j=h;a=a+8|0;a=Eb[c[c[a>>2]>>2]&127](a)|0;c[j>>2]=c[e>>2];c[i>>2]=c[j>>2];a=(DG(d,i,a,a+168|0,g,f,0)|0)-a|0;if((a|0)<168)c[b>>2]=((a|0)/12|0|0)%7|0;yb=h;return}function bI(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0;h=yb;yb=yb+16|0;i=h+4|0;j=h;a=a+8|0;a=Eb[c[(c[a>>2]|0)+4>>2]&127](a)|0;c[j>>2]=c[e>>2];c[i>>2]=c[j>>2];a=(DG(d,i,a,a+288|0,g,f,0)|0)-a|0;if((a|0)<288)c[b>>2]=((a|0)/12|0|0)%12|0;yb=h;return}function cI(d,e,f,g,h,i,j,k){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;z=yb;yb=yb+16|0;s=z+12|0;r=z+8|0;w=z+4|0;x=z;GE(s,g);t=VF(s,56736)|0;WF(s);c[h>>2]=0;u=t+8|0;m=0;a:while(1){l=c[e>>2]|0;if(!((j|0)!=(k|0)&(m|0)==0))break;n=l;if(l){m=c[l+12>>2]|0;if((m|0)==(c[l+16>>2]|0))m=Eb[c[(c[l>>2]|0)+36>>2]&127](l)|0;else m=ag(a[m>>0]|0)|0;if(Yf(m,Uf()|0)|0){c[e>>2]=0;l=0;o=1;q=0}else{o=0;q=n}}else{l=0;o=1;q=n}p=c[f>>2]|0;m=p;do if(p){n=c[p+12>>2]|0;if((n|0)==(c[p+16>>2]|0))n=Eb[c[(c[p>>2]|0)+36>>2]&127](p)|0;else n=ag(a[n>>0]|0)|0;if(!(Yf(n,Uf()|0)|0))if(o)break;else{y=63;break a}else{c[f>>2]=0;m=0;y=15;break}}else y=15;while(0);if((y|0)==15){y=0;if(o){y=63;break}else p=0}b:do if((Hb[c[(c[t>>2]|0)+36>>2]&63](t,a[j>>0]|0,0)|0)<<24>>24==37){p=j+1|0;if((p|0)==(k|0)){y=63;break a}n=Hb[c[(c[t>>2]|0)+36>>2]&63](t,a[p>>0]|0,0)|0;switch(n<<24>>24){case 48:case 69:{j=j+2|0;if((j|0)==(k|0)){y=63;break a}o=n;l=Hb[c[(c[t>>2]|0)+36>>2]&63](t,a[j>>0]|0,0)|0;j=p;break}default:{o=0;l=n}}p=c[(c[d>>2]|0)+36>>2]|0;c[w>>2]=q;c[x>>2]=m;c[r>>2]=c[w>>2];c[s>>2]=c[x>>2];c[e>>2]=Ob[p&15](d,r,s,g,h,i,l,o)|0;j=j+2|0}else{m=a[j>>0]|0;if(m<<24>>24>-1?(v=c[u>>2]|0,b[v+(m<<24>>24<<1)>>1]&8192):0){do{j=j+1|0;if((j|0)==(k|0)){j=k;break}m=a[j>>0]|0;if(m<<24>>24<=-1)break}while((b[v+(m<<24>>24<<1)>>1]&8192)!=0);while(1){if(l){m=c[l+12>>2]|0;if((m|0)==(c[l+16>>2]|0))m=Eb[c[(c[l>>2]|0)+36>>2]&127](l)|0;else m=ag(a[m>>0]|0)|0;if(Yf(m,Uf()|0)|0){c[e>>2]=0;l=0;n=1}else n=0}else{l=0;n=1}do if(p){m=c[p+12>>2]|0;if((m|0)==(c[p+16>>2]|0))m=Eb[c[(c[p>>2]|0)+36>>2]&127](p)|0;else m=ag(a[m>>0]|0)|0;if(!(Yf(m,Uf()|0)|0))if(n)break;else break b;else{c[f>>2]=0;y=42;break}}else y=42;while(0);if((y|0)==42){y=0;if(n)break b;else p=0}n=l+12|0;m=c[n>>2]|0;o=l+16|0;if((m|0)==(c[o>>2]|0))m=Eb[c[(c[l>>2]|0)+36>>2]&127](l)|0;else m=ag(a[m>>0]|0)|0;if((m&255)<<24>>24<=-1)break b;if(!(b[(c[u>>2]|0)+(m<<24>>24<<1)>>1]&8192))break b;m=c[n>>2]|0;if((m|0)==(c[o>>2]|0))Eb[c[(c[l>>2]|0)+40>>2]&127](l)|0;else{c[n>>2]=m+1;ag(a[m>>0]|0)|0}}}n=l+12|0;m=c[n>>2]|0;o=l+16|0;if((m|0)==(c[o>>2]|0))m=Eb[c[(c[l>>2]|0)+36>>2]&127](l)|0;else m=ag(a[m>>0]|0)|0;q=Gb[c[(c[t>>2]|0)+12>>2]&63](t,m&255)|0;if(q<<24>>24!=(Gb[c[(c[t>>2]|0)+12>>2]&63](t,a[j>>0]|0)|0)<<24>>24){c[h>>2]=4;break}m=c[n>>2]|0;if((m|0)==(c[o>>2]|0))Eb[c[(c[l>>2]|0)+40>>2]&127](l)|0;else{c[n>>2]=m+1;ag(a[m>>0]|0)|0}j=j+1|0}while(0);m=c[h>>2]|0}if((y|0)==63)c[h>>2]=4;if(l){j=c[l+12>>2]|0;if((j|0)==(c[l+16>>2]|0))j=Eb[c[(c[l>>2]|0)+36>>2]&127](l)|0;else j=ag(a[j>>0]|0)|0;if(Yf(j,Uf()|0)|0){c[e>>2]=0;l=0;n=1}else n=0}else{l=0;n=1}j=c[f>>2]|0;do if(j){m=c[j+12>>2]|0;if((m|0)==(c[j+16>>2]|0))j=Eb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else j=ag(a[m>>0]|0)|0;if(!(Yf(j,Uf()|0)|0))if(n)break;else{y=78;break}else{c[f>>2]=0;y=76;break}}else y=76;while(0);if((y|0)==76?n:0)y=78;if((y|0)==78)c[h>>2]=c[h>>2]|2;yb=z;return l|0}function dI(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0;h=yb;yb=yb+16|0;a=h+4|0;i=h;c[i>>2]=c[e>>2];c[a>>2]=c[i>>2];a=qI(d,a,f,g,2)|0;d=c[f>>2]|0;if((a+-1|0)>>>0<31&(d&4|0)==0)c[b>>2]=a;else c[f>>2]=d|4;yb=h;return}function eI(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0;h=yb;yb=yb+16|0;a=h+4|0;i=h;c[i>>2]=c[e>>2];c[a>>2]=c[i>>2];a=qI(d,a,f,g,2)|0;d=c[f>>2]|0;if((a|0)<24&(d&4|0)==0)c[b>>2]=a;else c[f>>2]=d|4;yb=h;return}function fI(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0;h=yb;yb=yb+16|0;a=h+4|0;i=h;c[i>>2]=c[e>>2];c[a>>2]=c[i>>2];a=qI(d,a,f,g,2)|0;d=c[f>>2]|0;if((a+-1|0)>>>0<12&(d&4|0)==0)c[b>>2]=a;else c[f>>2]=d|4;yb=h;return}function gI(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0;h=yb;yb=yb+16|0;a=h+4|0;i=h;c[i>>2]=c[e>>2];c[a>>2]=c[i>>2];a=qI(d,a,f,g,3)|0;d=c[f>>2]|0;if((a|0)<366&(d&4|0)==0)c[b>>2]=a;else c[f>>2]=d|4;yb=h;return}function hI(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0;h=yb;yb=yb+16|0;a=h+4|0;i=h;c[i>>2]=c[e>>2];c[a>>2]=c[i>>2];a=qI(d,a,f,g,2)|0;d=c[f>>2]|0;if((a|0)<13&(d&4|0)==0)c[b>>2]=a+-1;else c[f>>2]=d|4;yb=h;return}function iI(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0;h=yb;yb=yb+16|0;a=h+4|0;i=h;c[i>>2]=c[e>>2];c[a>>2]=c[i>>2];a=qI(d,a,f,g,2)|0;d=c[f>>2]|0;if((a|0)<60&(d&4|0)==0)c[b>>2]=a;else c[f>>2]=d|4;yb=h;return}function jI(d,e,f,g,h){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0;j=h+8|0;a:while(1){d=c[e>>2]|0;do if(d){h=c[d+12>>2]|0;if((h|0)==(c[d+16>>2]|0))d=Eb[c[(c[d>>2]|0)+36>>2]&127](d)|0;else d=ag(a[h>>0]|0)|0;if(Yf(d,Uf()|0)|0){c[e>>2]=0;h=1;break}else{h=(c[e>>2]|0)==0;break}}else h=1;while(0);i=c[f>>2]|0;do if(i){d=c[i+12>>2]|0;if((d|0)==(c[i+16>>2]|0))d=Eb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else d=ag(a[d>>0]|0)|0;if(!(Yf(d,Uf()|0)|0))if(h)break;else break a;else{c[f>>2]=0;k=15;break}}else k=15;while(0);if((k|0)==15){k=0;if(h){i=0;break}else i=0}d=c[e>>2]|0;h=c[d+12>>2]|0;if((h|0)==(c[d+16>>2]|0))d=Eb[c[(c[d>>2]|0)+36>>2]&127](d)|0;else d=ag(a[h>>0]|0)|0;if((d&255)<<24>>24<=-1)break;if(!(b[(c[j>>2]|0)+(d<<24>>24<<1)>>1]&8192))break;d=c[e>>2]|0;h=d+12|0;i=c[h>>2]|0;if((i|0)==(c[d+16>>2]|0))Eb[c[(c[d>>2]|0)+40>>2]&127](d)|0;else{c[h>>2]=i+1;ag(a[i>>0]|0)|0}}d=c[e>>2]|0;do if(d){h=c[d+12>>2]|0;if((h|0)==(c[d+16>>2]|0))d=Eb[c[(c[d>>2]|0)+36>>2]&127](d)|0;else d=ag(a[h>>0]|0)|0;if(Yf(d,Uf()|0)|0){c[e>>2]=0;h=1;break}else{h=(c[e>>2]|0)==0;break}}else h=1;while(0);do if(i){d=c[i+12>>2]|0;if((d|0)==(c[i+16>>2]|0))d=Eb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else d=ag(a[d>>0]|0)|0;if(!(Yf(d,Uf()|0)|0))if(h)break;else{k=41;break}else{c[f>>2]=0;k=39;break}}else k=39;while(0);if((k|0)==39?h:0)k=41;if((k|0)==41)c[g>>2]=c[g>>2]|2;return}function kI(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0;m=yb;yb=yb+16|0;k=m+4|0;l=m;j=b+8|0;j=Eb[c[(c[j>>2]|0)+8>>2]&127](j)|0;b=a[j+11>>0]|0;if(b<<24>>24<0)i=c[j+4>>2]|0;else i=b&255;b=a[j+12+11>>0]|0;if(b<<24>>24<0)b=c[j+16>>2]|0;else b=b&255;do if((i|0)!=(0-b|0)){c[l>>2]=c[f>>2];c[k>>2]=c[l>>2];b=(DG(e,k,j,j+24|0,h,g,0)|0)-j|0;i=c[d>>2]|0;if((i|0)==12&(b|0)==0){c[d>>2]=0;break}if((i|0)<12&(b|0)==12)c[d>>2]=i+12}else c[g>>2]=c[g>>2]|4;while(0);yb=m;return}function lI(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0;h=yb;yb=yb+16|0;a=h+4|0;i=h;c[i>>2]=c[e>>2];c[a>>2]=c[i>>2];a=qI(d,a,f,g,2)|0;d=c[f>>2]|0;if((a|0)<61&(d&4|0)==0)c[b>>2]=a;else c[f>>2]=d|4;yb=h;return}function mI(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0;h=yb;yb=yb+16|0;a=h+4|0;i=h;c[i>>2]=c[e>>2];c[a>>2]=c[i>>2];a=qI(d,a,f,g,1)|0;d=c[f>>2]|0;if((a|0)<7&(d&4|0)==0)c[b>>2]=a;else c[f>>2]=d|4;yb=h;return}function nI(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0;h=yb;yb=yb+16|0;a=h+4|0;i=h;c[i>>2]=c[e>>2];c[a>>2]=c[i>>2];a=qI(d,a,f,g,4)|0;if(!(c[f>>2]&4)){if((a|0)<69)a=a+2e3|0;else a=(a|0)<100?a+1900|0:a;c[b>>2]=a+-1900}yb=h;return}function oI(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0;h=yb;yb=yb+16|0;a=h+4|0;i=h;c[i>>2]=c[e>>2];c[a>>2]=c[i>>2];a=qI(d,a,f,g,4)|0;if(!(c[f>>2]&4))c[b>>2]=a+-1900;yb=h;return}function pI(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0;b=c[d>>2]|0;do if(b){h=c[b+12>>2]|0;if((h|0)==(c[b+16>>2]|0))b=Eb[c[(c[b>>2]|0)+36>>2]&127](b)|0;else b=ag(a[h>>0]|0)|0;if(Yf(b,Uf()|0)|0){c[d>>2]=0;i=1;break}else{i=(c[d>>2]|0)==0;break}}else i=1;while(0);h=c[e>>2]|0;do if(h){b=c[h+12>>2]|0;if((b|0)==(c[h+16>>2]|0))b=Eb[c[(c[h>>2]|0)+36>>2]&127](h)|0;else b=ag(a[b>>0]|0)|0;if(!(Yf(b,Uf()|0)|0))if(i){j=h;k=17;break}else{k=16;break}else{c[e>>2]=0;k=14;break}}else k=14;while(0);if((k|0)==14)if(i)k=16;else{j=0;k=17}a:do if((k|0)==16)c[f>>2]=c[f>>2]|6;else if((k|0)==17){b=c[d>>2]|0;h=c[b+12>>2]|0;if((h|0)==(c[b+16>>2]|0))b=Eb[c[(c[b>>2]|0)+36>>2]&127](b)|0;else b=ag(a[h>>0]|0)|0;if((Hb[c[(c[g>>2]|0)+36>>2]&63](g,b&255,0)|0)<<24>>24!=37){c[f>>2]=c[f>>2]|4;break}b=c[d>>2]|0;h=b+12|0;i=c[h>>2]|0;if((i|0)==(c[b+16>>2]|0))Eb[c[(c[b>>2]|0)+40>>2]&127](b)|0;else{c[h>>2]=i+1;ag(a[i>>0]|0)|0}b=c[d>>2]|0;do if(b){h=c[b+12>>2]|0;if((h|0)==(c[b+16>>2]|0))b=Eb[c[(c[b>>2]|0)+36>>2]&127](b)|0;else b=ag(a[h>>0]|0)|0;if(Yf(b,Uf()|0)|0){c[d>>2]=0;h=1;break}else{h=(c[d>>2]|0)==0;break}}else h=1;while(0);do if(j){b=c[j+12>>2]|0;if((b|0)==(c[j+16>>2]|0))b=Eb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else b=ag(a[b>>0]|0)|0;if(!(Yf(b,Uf()|0)|0))if(h)break a;else break;else{c[e>>2]=0;k=38;break}}else k=38;while(0);if((k|0)==38?!h:0)break;c[f>>2]=c[f>>2]|2}while(0);return}function qI(d,e,f,g,h){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;i=c[d>>2]|0;do if(i){j=c[i+12>>2]|0;if((j|0)==(c[i+16>>2]|0))i=Eb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else i=ag(a[j>>0]|0)|0;if(Yf(i,Uf()|0)|0){c[d>>2]=0;k=1;break}else{k=(c[d>>2]|0)==0;break}}else k=1;while(0);j=c[e>>2]|0;do if(j){i=c[j+12>>2]|0;if((i|0)==(c[j+16>>2]|0))i=Eb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else i=ag(a[i>>0]|0)|0;if(!(Yf(i,Uf()|0)|0))if(k){q=17;break}else{q=16;break}else{c[e>>2]=0;q=14;break}}else q=14;while(0);if((q|0)==14)if(k)q=16;else{j=0;q=17}a:do if((q|0)==16){c[f>>2]=c[f>>2]|6;i=0}else if((q|0)==17){i=c[d>>2]|0;k=c[i+12>>2]|0;if((k|0)==(c[i+16>>2]|0))i=Eb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else i=ag(a[k>>0]|0)|0;k=i&255;if(k<<24>>24>-1?(p=g+8|0,b[(c[p>>2]|0)+(i<<24>>24<<1)>>1]&2048):0){i=(Hb[c[(c[g>>2]|0)+36>>2]&63](g,k,0)|0)<<24>>24;k=c[d>>2]|0;l=k+12|0;m=c[l>>2]|0;if((m|0)==(c[k+16>>2]|0))Eb[c[(c[k>>2]|0)+40>>2]&127](k)|0;else{c[l>>2]=m+1;ag(a[m>>0]|0)|0}n=j;m=j;while(1){i=i+-48|0;o=h+-1|0;j=c[d>>2]|0;do if(j){k=c[j+12>>2]|0;if((k|0)==(c[j+16>>2]|0))j=Eb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else j=ag(a[k>>0]|0)|0;if(Yf(j,Uf()|0)|0){c[d>>2]=0;l=1;break}else{l=(c[d>>2]|0)==0;break}}else l=1;while(0);if(m){j=c[m+12>>2]|0;if((j|0)==(c[m+16>>2]|0))j=Eb[c[(c[m>>2]|0)+36>>2]&127](m)|0;else j=ag(a[j>>0]|0)|0;if(Yf(j,Uf()|0)|0){c[e>>2]=0;j=1;n=0;m=0}else j=0}else{j=1;m=0}k=c[d>>2]|0;if(!((h|0)>1&(l^j)))break;j=c[k+12>>2]|0;if((j|0)==(c[k+16>>2]|0))j=Eb[c[(c[k>>2]|0)+36>>2]&127](k)|0;else j=ag(a[j>>0]|0)|0;k=j&255;if(k<<24>>24<=-1)break a;if(!(b[(c[p>>2]|0)+(j<<24>>24<<1)>>1]&2048))break a;i=(i*10|0)+((Hb[c[(c[g>>2]|0)+36>>2]&63](g,k,0)|0)<<24>>24)|0;j=c[d>>2]|0;k=j+12|0;l=c[k>>2]|0;if((l|0)==(c[j+16>>2]|0))Eb[c[(c[j>>2]|0)+40>>2]&127](j)|0;else{c[k>>2]=l+1;ag(a[l>>0]|0)|0}h=o}do if(k){j=c[k+12>>2]|0;if((j|0)==(c[k+16>>2]|0))j=Eb[c[(c[k>>2]|0)+36>>2]&127](k)|0;else j=ag(a[j>>0]|0)|0;if(Yf(j,Uf()|0)|0){c[d>>2]=0;k=1;break}else{k=(c[d>>2]|0)==0;break}}else k=1;while(0);do if(n){j=c[n+12>>2]|0;if((j|0)==(c[n+16>>2]|0))j=Eb[c[(c[n>>2]|0)+36>>2]&127](n)|0;else j=ag(a[j>>0]|0)|0;if(!(Yf(j,Uf()|0)|0))if(k)break a;else break;else{c[e>>2]=0;q=63;break}}else q=63;while(0);if((q|0)==63?!k:0)break;c[f>>2]=c[f>>2]|2;break}c[f>>2]=c[f>>2]|4;i=0}while(0);return i|0}function rI(a){a=a|0;AF(a);return}function sI(a){a=a|0;AF(a);QA(a);return}function tI(a){a=a|0;return 2}function uI(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0;h=yb;yb=yb+16|0;i=h+12|0;j=h+8|0;l=h+4|0;k=h;c[l>>2]=c[b>>2];c[k>>2]=c[d>>2];c[j>>2]=c[l>>2];c[i>>2]=c[k>>2];g=NI(a,j,i,e,f,g,13152,13184)|0;yb=h;return g|0}function vI(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0;i=yb;yb=yb+16|0;j=i+12|0;k=i+8|0;m=i+4|0;l=i;n=b+8|0;n=Eb[c[(c[n>>2]|0)+20>>2]&127](n)|0;c[m>>2]=c[d>>2];c[l>>2]=c[e>>2];e=a[n+8+3>>0]|0;o=e<<24>>24<0;d=o?c[n>>2]|0:n;e=d+((o?c[n+4>>2]|0:e&255)<<2)|0;c[k>>2]=c[m>>2];c[j>>2]=c[l>>2];h=NI(b,k,j,f,g,h,d,e)|0;yb=i;return h|0}function wI(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0;h=yb;yb=yb+16|0;i=h+4|0;j=h;GE(i,e);e=VF(i,56768)|0;WF(i);c[j>>2]=c[d>>2];c[i>>2]=c[j>>2];LI(a,g+24|0,b,i,f,e);yb=h;return c[b>>2]|0}function xI(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0;h=yb;yb=yb+16|0;i=h+4|0;j=h;GE(i,e);e=VF(i,56768)|0;WF(i);c[j>>2]=c[d>>2];c[i>>2]=c[j>>2];MI(a,g+16|0,b,i,f,e);yb=h;return c[b>>2]|0}function yI(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0;h=yb;yb=yb+16|0;i=h+4|0;j=h;GE(i,e);e=VF(i,56768)|0;WF(i);c[j>>2]=c[d>>2];c[i>>2]=c[j>>2];YI(a,g+20|0,b,i,f,e);yb=h;return c[b>>2]|0}function zI(b,d,e,f,g,h,i,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0;R=yb;yb=yb+144|0;k=R+128|0;j=R+112|0;P=R+124|0;Q=R+120|0;l=R+116|0;m=R+108|0;n=R+104|0;o=R+100|0;p=R+96|0;q=R+92|0;r=R+88|0;s=R+84|0;t=R+80|0;u=R+76|0;v=R+72|0;w=R+68|0;x=R+64|0;y=R+60|0;z=R+56|0;A=R+52|0;B=R+48|0;C=R+44|0;D=R+40|0;E=R+36|0;F=R+32|0;G=R+28|0;H=R+24|0;I=R+20|0;J=R+16|0;K=R+12|0;L=R+8|0;M=R+4|0;N=R;c[g>>2]=0;GE(k,f);O=VF(k,56768)|0;WF(k);do switch(i<<24>>24|0){case 65:case 97:{c[P>>2]=c[e>>2];c[k>>2]=c[P>>2];LI(b,h+24|0,d,k,g,O);S=26;break}case 104:case 66:case 98:{c[Q>>2]=c[e>>2];c[k>>2]=c[Q>>2];MI(b,h+16|0,d,k,g,O);S=26;break}case 99:{Q=b+8|0;Q=Eb[c[(c[Q>>2]|0)+12>>2]&127](Q)|0;c[l>>2]=c[d>>2];c[m>>2]=c[e>>2];S=a[Q+8+3>>0]|0;e=S<<24>>24<0;i=e?c[Q>>2]|0:Q;S=i+((e?c[Q+4>>2]|0:S&255)<<2)|0;c[j>>2]=c[l>>2];c[k>>2]=c[m>>2];c[d>>2]=NI(b,j,k,f,g,h,i,S)|0;S=26;break}case 101:case 100:{c[n>>2]=c[e>>2];c[k>>2]=c[n>>2];OI(b,h+12|0,d,k,g,O);S=26;break}case 68:{c[o>>2]=c[d>>2];c[p>>2]=c[e>>2];c[j>>2]=c[o>>2];c[k>>2]=c[p>>2];c[d>>2]=NI(b,j,k,f,g,h,12976,13008)|0;S=26;break}case 70:{c[q>>2]=c[d>>2];c[r>>2]=c[e>>2];c[j>>2]=c[q>>2];c[k>>2]=c[r>>2];c[d>>2]=NI(b,j,k,f,g,h,13008,13040)|0;S=26;break}case 72:{c[s>>2]=c[e>>2];c[k>>2]=c[s>>2];PI(b,h+8|0,d,k,g,O);S=26;break}case 73:{c[t>>2]=c[e>>2];c[k>>2]=c[t>>2];QI(b,h+8|0,d,k,g,O);S=26;break}case 106:{c[u>>2]=c[e>>2];c[k>>2]=c[u>>2];RI(b,h+28|0,d,k,g,O);S=26;break}case 109:{c[v>>2]=c[e>>2];c[k>>2]=c[v>>2];SI(b,h+16|0,d,k,g,O);S=26;break}case 77:{c[w>>2]=c[e>>2];c[k>>2]=c[w>>2];TI(b,h+4|0,d,k,g,O);S=26;break}case 116:case 110:{c[x>>2]=c[e>>2];c[k>>2]=c[x>>2];UI(b,d,k,g,O);S=26;break}case 112:{c[y>>2]=c[e>>2];c[k>>2]=c[y>>2];VI(b,h+8|0,d,k,g,O);S=26;break}case 114:{c[z>>2]=c[d>>2];c[A>>2]=c[e>>2];c[j>>2]=c[z>>2];c[k>>2]=c[A>>2];c[d>>2]=NI(b,j,k,f,g,h,13040,13084)|0;S=26;break}case 82:{c[B>>2]=c[d>>2];c[C>>2]=c[e>>2];c[j>>2]=c[B>>2];c[k>>2]=c[C>>2];c[d>>2]=NI(b,j,k,f,g,h,13088,13108)|0;S=26;break}case 83:{c[D>>2]=c[e>>2];c[k>>2]=c[D>>2];WI(b,h,d,k,g,O);S=26;break}case 84:{c[E>>2]=c[d>>2];c[F>>2]=c[e>>2];c[j>>2]=c[E>>2];c[k>>2]=c[F>>2];c[d>>2]=NI(b,j,k,f,g,h,13120,13152)|0;S=26;break}case 119:{c[G>>2]=c[e>>2];c[k>>2]=c[G>>2];XI(b,h+24|0,d,k,g,O);S=26;break}case 120:{i=c[(c[b>>2]|0)+20>>2]|0;c[H>>2]=c[d>>2];c[I>>2]=c[e>>2];c[j>>2]=c[H>>2];c[k>>2]=c[I>>2];j=Mb[i&63](b,j,k,f,g,h)|0;break}case 88:{Q=b+8|0;Q=Eb[c[(c[Q>>2]|0)+24>>2]&127](Q)|0;c[J>>2]=c[d>>2];c[K>>2]=c[e>>2];S=a[Q+8+3>>0]|0;e=S<<24>>24<0;i=e?c[Q>>2]|0:Q;S=i+((e?c[Q+4>>2]|0:S&255)<<2)|0;c[j>>2]=c[J>>2];c[k>>2]=c[K>>2];c[d>>2]=NI(b,j,k,f,g,h,i,S)|0;S=26;break}case 121:{c[L>>2]=c[e>>2];c[k>>2]=c[L>>2];YI(b,h+20|0,d,k,g,O);S=26;break}case 89:{c[M>>2]=c[e>>2];c[k>>2]=c[M>>2];ZI(b,h+20|0,d,k,g,O);S=26;break}case 37:{c[N>>2]=c[e>>2];c[k>>2]=c[N>>2];_I(b,d,k,g,O);S=26;break}default:{c[g>>2]=c[g>>2]|4;S=26}}while(0);if((S|0)==26)j=c[d>>2]|0;yb=R;return j|0}function AI(b){b=b|0;if((a[54952]|0)==0?lB(54952)|0:0){KI();c[14233]=54352;nB(54952)}return c[14233]|0}function BI(b){b=b|0;if((a[54936]|0)==0?lB(54936)|0:0){JI();c[14232]=54064;nB(54936)}return c[14232]|0}function CI(b){b=b|0;if((a[54920]|0)==0?lB(54920)|0:0){II();c[14231]=54032;nB(54920)}return c[14231]|0}function DI(b){b=b|0;if((a[54912]|0)==0?lB(54912)|0:0){c[14228]=0;c[14229]=0;c[14230]=0;rO(56912,17648,HI(17648)|0);nB(54912)}return 56912}function EI(b){b=b|0;if((a[54904]|0)==0?lB(54904)|0:0){c[14225]=0;c[14226]=0;c[14227]=0;rO(56900,17600,HI(17600)|0);nB(54904)}return 56900}function FI(b){b=b|0;if((a[54896]|0)==0?lB(54896)|0:0){c[14222]=0;c[14223]=0;c[14224]=0;rO(56888,17564,HI(17564)|0);nB(54896)}return 56888}function GI(b){b=b|0;if((a[54888]|0)==0?lB(54888)|0:0){c[14219]=0;c[14220]=0;c[14221]=0;rO(56876,17528,HI(17528)|0);nB(54888)}return 56876}function HI(a){a=a|0;return jy(a)|0}function II(){var b=0,d=0;if((a[54928]|0)==0?lB(54928)|0:0){d=54032;do{c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[d+(b<<2)>>2]=0;b=b+1|0}d=d+12|0}while((d|0)!=54056);nB(54928)}yO(54032,17732)|0;yO(54044,17744)|0;return}function JI(){var b=0,d=0;if((a[54944]|0)==0?lB(54944)|0:0){d=54064;do{c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[d+(b<<2)>>2]=0;b=b+1|0}d=d+12|0}while((d|0)!=54352);nB(54944)}yO(54064,17756)|0;yO(54076,17788)|0;yO(54088,17824)|0;yO(54100,17848)|0;yO(54112,17872)|0;yO(54124,17888)|0;yO(54136,17908)|0;yO(54148,17928)|0;yO(54160,17956)|0;yO(54172,17996)|0;yO(54184,18028)|0;yO(54196,18064)|0;yO(54208,18100)|0;yO(54220,18116)|0;yO(54232,18132)|0;yO(54244,18148)|0;yO(54256,17872)|0;yO(54268,18164)|0;yO(54280,18180)|0;yO(54292,18196)|0;yO(54304,18212)|0;yO(54316,18228)|0;yO(54328,18244)|0;yO(54340,18260)|0;return}function KI(){var b=0,d=0;if((a[54960]|0)==0?lB(54960)|0:0){d=54352;do{c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[d+(b<<2)>>2]=0;b=b+1|0}d=d+12|0}while((d|0)!=54520);nB(54960)}yO(54352,18276)|0;yO(54364,18304)|0;yO(54376,18332)|0;yO(54388,18364)|0;yO(54400,18404)|0;yO(54412,18440)|0;yO(54424,18468)|0;yO(54436,18504)|0;yO(54448,18520)|0;yO(54460,18536)|0;yO(54472,18552)|0;yO(54484,18568)|0;yO(54496,18584)|0;yO(54508,18600)|0;return}function LI(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0;h=yb;yb=yb+16|0;i=h+4|0;j=h;a=a+8|0;a=Eb[c[c[a>>2]>>2]&127](a)|0;c[j>>2]=c[e>>2];c[i>>2]=c[j>>2];a=(eH(d,i,a,a+168|0,g,f,0)|0)-a|0;if((a|0)<168)c[b>>2]=((a|0)/12|0|0)%7|0;yb=h;return}function MI(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0;h=yb;yb=yb+16|0;i=h+4|0;j=h;a=a+8|0;a=Eb[c[(c[a>>2]|0)+4>>2]&127](a)|0;c[j>>2]=c[e>>2];c[i>>2]=c[j>>2];a=(eH(d,i,a,a+288|0,g,f,0)|0)-a|0;if((a|0)<288)c[b>>2]=((a|0)/12|0|0)%12|0;yb=h;return}function NI(a,b,d,e,f,g,h,i){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;v=yb;yb=yb+16|0;q=v+12|0;p=v+8|0;s=v+4|0;t=v;GE(q,e);r=VF(q,56768)|0;WF(q);c[f>>2]=0;k=0;a:while(1){j=c[b>>2]|0;if(!((h|0)!=(i|0)&(k|0)==0))break;l=j;if(j){k=c[j+12>>2]|0;if((k|0)==(c[j+16>>2]|0))k=Eb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else k=hE(c[k>>2]|0)|0;if(HE(k,gE()|0)|0){c[b>>2]=0;j=0;m=1;o=0}else{m=0;o=l}}else{j=0;m=1;o=l}n=c[d>>2]|0;k=n;do if(n){l=c[n+12>>2]|0;if((l|0)==(c[n+16>>2]|0))l=Eb[c[(c[n>>2]|0)+36>>2]&127](n)|0;else l=hE(c[l>>2]|0)|0;if(!(HE(l,gE()|0)|0))if(m)break;else{u=60;break a}else{c[d>>2]=0;k=0;u=15;break}}else u=15;while(0);if((u|0)==15){u=0;if(m){u=60;break}else n=0}b:do if((Hb[c[(c[r>>2]|0)+52>>2]&63](r,c[h>>2]|0,0)|0)<<24>>24==37){n=h+4|0;if((n|0)==(i|0)){u=60;break a}l=Hb[c[(c[r>>2]|0)+52>>2]&63](r,c[n>>2]|0,0)|0;switch(l<<24>>24){case 48:case 69:{h=h+8|0;if((h|0)==(i|0)){u=60;break a}m=l;j=Hb[c[(c[r>>2]|0)+52>>2]&63](r,c[h>>2]|0,0)|0;h=n;break}default:{m=0;j=l}}n=c[(c[a>>2]|0)+36>>2]|0;c[s>>2]=o;c[t>>2]=k;c[p>>2]=c[s>>2];c[q>>2]=c[t>>2];c[b>>2]=Ob[n&15](a,p,q,e,f,g,j,m)|0;h=h+8|0}else{if(!(Hb[c[(c[r>>2]|0)+12>>2]&63](r,8192,c[h>>2]|0)|0)){l=j+12|0;k=c[l>>2]|0;m=j+16|0;if((k|0)==(c[m>>2]|0))k=Eb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else k=hE(c[k>>2]|0)|0;o=Gb[c[(c[r>>2]|0)+28>>2]&63](r,k)|0;if((o|0)!=(Gb[c[(c[r>>2]|0)+28>>2]&63](r,c[h>>2]|0)|0)){c[f>>2]=4;break}k=c[l>>2]|0;if((k|0)==(c[m>>2]|0))Eb[c[(c[j>>2]|0)+40>>2]&127](j)|0;else{c[l>>2]=k+4;hE(c[k>>2]|0)|0}h=h+4|0;break}do{h=h+4|0;if((h|0)==(i|0)){h=i;break}}while(Hb[c[(c[r>>2]|0)+12>>2]&63](r,8192,c[h>>2]|0)|0);while(1){if(j){k=c[j+12>>2]|0;if((k|0)==(c[j+16>>2]|0))k=Eb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else k=hE(c[k>>2]|0)|0;if(HE(k,gE()|0)|0){c[b>>2]=0;j=0;l=1}else l=0}else{j=0;l=1}do if(n){k=c[n+12>>2]|0;if((k|0)==(c[n+16>>2]|0))k=Eb[c[(c[n>>2]|0)+36>>2]&127](n)|0;else k=hE(c[k>>2]|0)|0;if(!(HE(k,gE()|0)|0))if(l)break;else break b;else{c[d>>2]=0;u=40;break}}else u=40;while(0);if((u|0)==40){u=0;if(l)break b;else n=0}l=j+12|0;k=c[l>>2]|0;m=j+16|0;if((k|0)==(c[m>>2]|0))k=Eb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else k=hE(c[k>>2]|0)|0;if(!(Hb[c[(c[r>>2]|0)+12>>2]&63](r,8192,k)|0))break b;k=c[l>>2]|0;if((k|0)==(c[m>>2]|0))Eb[c[(c[j>>2]|0)+40>>2]&127](j)|0;else{c[l>>2]=k+4;hE(c[k>>2]|0)|0}}}while(0);k=c[f>>2]|0}if((u|0)==60)c[f>>2]=4;if(j){h=c[j+12>>2]|0;if((h|0)==(c[j+16>>2]|0))h=Eb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else h=hE(c[h>>2]|0)|0;if(HE(h,gE()|0)|0){c[b>>2]=0;j=0;l=1}else l=0}else{j=0;l=1}h=c[d>>2]|0;do if(h){k=c[h+12>>2]|0;if((k|0)==(c[h+16>>2]|0))h=Eb[c[(c[h>>2]|0)+36>>2]&127](h)|0;else h=hE(c[k>>2]|0)|0;if(!(HE(h,gE()|0)|0))if(l)break;else{u=75;break}else{c[d>>2]=0;u=73;break}}else u=73;while(0);if((u|0)==73?l:0)u=75;if((u|0)==75)c[f>>2]=c[f>>2]|2;yb=v;return j|0}function OI(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0;h=yb;yb=yb+16|0;a=h+4|0;i=h;c[i>>2]=c[e>>2];c[a>>2]=c[i>>2];a=$I(d,a,f,g,2)|0;d=c[f>>2]|0;if((a+-1|0)>>>0<31&(d&4|0)==0)c[b>>2]=a;else c[f>>2]=d|4;yb=h;return}function PI(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0;h=yb;yb=yb+16|0;a=h+4|0;i=h;c[i>>2]=c[e>>2];c[a>>2]=c[i>>2];a=$I(d,a,f,g,2)|0;d=c[f>>2]|0;if((a|0)<24&(d&4|0)==0)c[b>>2]=a;else c[f>>2]=d|4;yb=h;return}function QI(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0;h=yb;yb=yb+16|0;a=h+4|0;i=h;c[i>>2]=c[e>>2];c[a>>2]=c[i>>2];a=$I(d,a,f,g,2)|0;d=c[f>>2]|0;if((a+-1|0)>>>0<12&(d&4|0)==0)c[b>>2]=a;else c[f>>2]=d|4;yb=h;return}function RI(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0;h=yb;yb=yb+16|0;a=h+4|0;i=h;c[i>>2]=c[e>>2];c[a>>2]=c[i>>2];a=$I(d,a,f,g,3)|0;d=c[f>>2]|0;if((a|0)<366&(d&4|0)==0)c[b>>2]=a;else c[f>>2]=d|4;yb=h;return}function SI(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0;h=yb;yb=yb+16|0;a=h+4|0;i=h;c[i>>2]=c[e>>2];c[a>>2]=c[i>>2];a=$I(d,a,f,g,2)|0;d=c[f>>2]|0;if((a|0)<13&(d&4|0)==0)c[b>>2]=a+-1;else c[f>>2]=d|4;yb=h;return}function TI(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0;h=yb;yb=yb+16|0;a=h+4|0;i=h;c[i>>2]=c[e>>2];c[a>>2]=c[i>>2];a=$I(d,a,f,g,2)|0;d=c[f>>2]|0;if((a|0)<60&(d&4|0)==0)c[b>>2]=a;else c[f>>2]=d|4;yb=h;return}function UI(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0;a:while(1){a=c[b>>2]|0;do if(a){g=c[a+12>>2]|0;if((g|0)==(c[a+16>>2]|0))a=Eb[c[(c[a>>2]|0)+36>>2]&127](a)|0;else a=hE(c[g>>2]|0)|0;if(HE(a,gE()|0)|0){c[b>>2]=0;h=1;break}else{h=(c[b>>2]|0)==0;break}}else h=1;while(0);g=c[d>>2]|0;do if(g){a=c[g+12>>2]|0;if((a|0)==(c[g+16>>2]|0))a=Eb[c[(c[g>>2]|0)+36>>2]&127](g)|0;else a=hE(c[a>>2]|0)|0;if(!(HE(a,gE()|0)|0))if(h){h=g;break}else{h=g;break a}else{c[d>>2]=0;i=15;break}}else i=15;while(0);if((i|0)==15){i=0;if(h){h=0;break}else h=0}a=c[b>>2]|0;g=c[a+12>>2]|0;if((g|0)==(c[a+16>>2]|0))a=Eb[c[(c[a>>2]|0)+36>>2]&127](a)|0;else a=hE(c[g>>2]|0)|0;if(!(Hb[c[(c[f>>2]|0)+12>>2]&63](f,8192,a)|0))break;a=c[b>>2]|0;g=a+12|0;h=c[g>>2]|0;if((h|0)==(c[a+16>>2]|0))Eb[c[(c[a>>2]|0)+40>>2]&127](a)|0;else{c[g>>2]=h+4;hE(c[h>>2]|0)|0}}a=c[b>>2]|0;do if(a){g=c[a+12>>2]|0;if((g|0)==(c[a+16>>2]|0))a=Eb[c[(c[a>>2]|0)+36>>2]&127](a)|0;else a=hE(c[g>>2]|0)|0;if(HE(a,gE()|0)|0){c[b>>2]=0;g=1;break}else{g=(c[b>>2]|0)==0;break}}else g=1;while(0);do if(h){a=c[h+12>>2]|0;if((a|0)==(c[h+16>>2]|0))a=Eb[c[(c[h>>2]|0)+36>>2]&127](h)|0;else a=hE(c[a>>2]|0)|0;if(!(HE(a,gE()|0)|0))if(g)break;else{i=40;break}else{c[d>>2]=0;i=38;break}}else i=38;while(0);if((i|0)==38?g:0)i=40;if((i|0)==40)c[e>>2]=c[e>>2]|2;return}function VI(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0;m=yb;yb=yb+16|0;k=m+4|0;l=m;j=b+8|0;j=Eb[c[(c[j>>2]|0)+8>>2]&127](j)|0;b=a[j+8+3>>0]|0;if(b<<24>>24<0)i=c[j+4>>2]|0;else i=b&255;b=a[j+20+3>>0]|0;if(b<<24>>24<0)b=c[j+16>>2]|0;else b=b&255;do if((i|0)!=(0-b|0)){c[l>>2]=c[f>>2];c[k>>2]=c[l>>2];b=(eH(e,k,j,j+24|0,h,g,0)|0)-j|0;i=c[d>>2]|0;if((i|0)==12&(b|0)==0){c[d>>2]=0;break}if((i|0)<12&(b|0)==12)c[d>>2]=i+12}else c[g>>2]=c[g>>2]|4;while(0);yb=m;return}function WI(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0;h=yb;yb=yb+16|0;a=h+4|0;i=h;c[i>>2]=c[e>>2];c[a>>2]=c[i>>2];a=$I(d,a,f,g,2)|0;d=c[f>>2]|0;if((a|0)<61&(d&4|0)==0)c[b>>2]=a;else c[f>>2]=d|4;yb=h;return}function XI(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0;h=yb;yb=yb+16|0;a=h+4|0;i=h;c[i>>2]=c[e>>2];c[a>>2]=c[i>>2];a=$I(d,a,f,g,1)|0;d=c[f>>2]|0;if((a|0)<7&(d&4|0)==0)c[b>>2]=a;else c[f>>2]=d|4;yb=h;return}function YI(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0;h=yb;yb=yb+16|0;a=h+4|0;i=h;c[i>>2]=c[e>>2];c[a>>2]=c[i>>2];a=$I(d,a,f,g,4)|0;if(!(c[f>>2]&4)){if((a|0)<69)a=a+2e3|0;else a=(a|0)<100?a+1900|0:a;c[b>>2]=a+-1900}yb=h;return}function ZI(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0;h=yb;yb=yb+16|0;a=h+4|0;i=h;c[i>>2]=c[e>>2];c[a>>2]=c[i>>2];a=$I(d,a,f,g,4)|0;if(!(c[f>>2]&4))c[b>>2]=a+-1900;yb=h;return}function _I(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0;a=c[b>>2]|0;do if(a){g=c[a+12>>2]|0;if((g|0)==(c[a+16>>2]|0))a=Eb[c[(c[a>>2]|0)+36>>2]&127](a)|0;else a=hE(c[g>>2]|0)|0;if(HE(a,gE()|0)|0){c[b>>2]=0;h=1;break}else{h=(c[b>>2]|0)==0;break}}else h=1;while(0);g=c[d>>2]|0;do if(g){a=c[g+12>>2]|0;if((a|0)==(c[g+16>>2]|0))a=Eb[c[(c[g>>2]|0)+36>>2]&127](g)|0;else a=hE(c[a>>2]|0)|0;if(!(HE(a,gE()|0)|0))if(h){i=g;j=17;break}else{j=16;break}else{c[d>>2]=0;j=14;break}}else j=14;while(0);if((j|0)==14)if(h)j=16;else{i=0;j=17}a:do if((j|0)==16)c[e>>2]=c[e>>2]|6;else if((j|0)==17){a=c[b>>2]|0;g=c[a+12>>2]|0;if((g|0)==(c[a+16>>2]|0))a=Eb[c[(c[a>>2]|0)+36>>2]&127](a)|0;else a=hE(c[g>>2]|0)|0;if((Hb[c[(c[f>>2]|0)+52>>2]&63](f,a,0)|0)<<24>>24!=37){c[e>>2]=c[e>>2]|4;break}a=c[b>>2]|0;g=a+12|0;h=c[g>>2]|0;if((h|0)==(c[a+16>>2]|0))Eb[c[(c[a>>2]|0)+40>>2]&127](a)|0;else{c[g>>2]=h+4;hE(c[h>>2]|0)|0}a=c[b>>2]|0;do if(a){g=c[a+12>>2]|0;if((g|0)==(c[a+16>>2]|0))a=Eb[c[(c[a>>2]|0)+36>>2]&127](a)|0;else a=hE(c[g>>2]|0)|0;if(HE(a,gE()|0)|0){c[b>>2]=0;g=1;break}else{g=(c[b>>2]|0)==0;break}}else g=1;while(0);do if(i){a=c[i+12>>2]|0;if((a|0)==(c[i+16>>2]|0))a=Eb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else a=hE(c[a>>2]|0)|0;if(!(HE(a,gE()|0)|0))if(g)break a;else break;else{c[d>>2]=0;j=38;break}}else j=38;while(0);if((j|0)==38?!g:0)break;c[e>>2]=c[e>>2]|2}while(0);return}function $I(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;g=c[a>>2]|0;do if(g){h=c[g+12>>2]|0;if((h|0)==(c[g+16>>2]|0))g=Eb[c[(c[g>>2]|0)+36>>2]&127](g)|0;else g=hE(c[h>>2]|0)|0;if(HE(g,gE()|0)|0){c[a>>2]=0;i=1;break}else{i=(c[a>>2]|0)==0;break}}else i=1;while(0);h=c[b>>2]|0;do if(h){g=c[h+12>>2]|0;if((g|0)==(c[h+16>>2]|0))g=Eb[c[(c[h>>2]|0)+36>>2]&127](h)|0;else g=hE(c[g>>2]|0)|0;if(!(HE(g,gE()|0)|0))if(i){n=17;break}else{n=16;break}else{c[b>>2]=0;n=14;break}}else n=14;while(0);if((n|0)==14)if(i)n=16;else{h=0;n=17}a:do if((n|0)==16){c[d>>2]=c[d>>2]|6;g=0}else if((n|0)==17){g=c[a>>2]|0;i=c[g+12>>2]|0;if((i|0)==(c[g+16>>2]|0))g=Eb[c[(c[g>>2]|0)+36>>2]&127](g)|0;else g=hE(c[i>>2]|0)|0;if(!(Hb[c[(c[e>>2]|0)+12>>2]&63](e,2048,g)|0)){c[d>>2]=c[d>>2]|4;g=0;break}g=(Hb[c[(c[e>>2]|0)+52>>2]&63](e,g,0)|0)<<24>>24;i=c[a>>2]|0;j=i+12|0;k=c[j>>2]|0;if((k|0)==(c[i+16>>2]|0))Eb[c[(c[i>>2]|0)+40>>2]&127](i)|0;else{c[j>>2]=k+4;hE(c[k>>2]|0)|0}l=h;k=h;while(1){g=g+-48|0;m=f+-1|0;h=c[a>>2]|0;do if(h){i=c[h+12>>2]|0;if((i|0)==(c[h+16>>2]|0))h=Eb[c[(c[h>>2]|0)+36>>2]&127](h)|0;else h=hE(c[i>>2]|0)|0;if(HE(h,gE()|0)|0){c[a>>2]=0;j=1;break}else{j=(c[a>>2]|0)==0;break}}else j=1;while(0);if(k){h=c[k+12>>2]|0;if((h|0)==(c[k+16>>2]|0))h=Eb[c[(c[k>>2]|0)+36>>2]&127](k)|0;else h=hE(c[h>>2]|0)|0;if(HE(h,gE()|0)|0){c[b>>2]=0;h=1;l=0;k=0}else h=0}else{h=1;k=0}i=c[a>>2]|0;if(!((f|0)>1&(j^h)))break;h=c[i+12>>2]|0;if((h|0)==(c[i+16>>2]|0))h=Eb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else h=hE(c[h>>2]|0)|0;if(!(Hb[c[(c[e>>2]|0)+12>>2]&63](e,2048,h)|0))break a;g=(g*10|0)+((Hb[c[(c[e>>2]|0)+52>>2]&63](e,h,0)|0)<<24>>24)|0;h=c[a>>2]|0;i=h+12|0;j=c[i>>2]|0;if((j|0)==(c[h+16>>2]|0))Eb[c[(c[h>>2]|0)+40>>2]&127](h)|0;else{c[i>>2]=j+4;hE(c[j>>2]|0)|0}f=m}do if(i){h=c[i+12>>2]|0;if((h|0)==(c[i+16>>2]|0))h=Eb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else h=hE(c[h>>2]|0)|0;if(HE(h,gE()|0)|0){c[a>>2]=0;i=1;break}else{i=(c[a>>2]|0)==0;break}}else i=1;while(0);do if(l){h=c[l+12>>2]|0;if((h|0)==(c[l+16>>2]|0))h=Eb[c[(c[l>>2]|0)+36>>2]&127](l)|0;else h=hE(c[h>>2]|0)|0;if(!(HE(h,gE()|0)|0))if(i)break a;else break;else{c[b>>2]=0;n=61;break}}else n=61;while(0);if((n|0)==61?!i:0)break;c[d>>2]=c[d>>2]|2}while(0);return g|0}function aJ(a){a=a|0;fJ(a+8|0);AF(a);return}function bJ(a){a=a|0;fJ(a+8|0);AF(a);QA(a);return}function cJ(b,d,e,f,g,h,i){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0;j=yb;yb=yb+112|0;e=j;f=j+100|0;c[f>>2]=e+100;dJ(b+8|0,e,f,g,h,i);i=c[f>>2]|0;h=e;e=c[d>>2]|0;while(1){if((h|0)==(i|0))break;f=a[h>>0]|0;if(!e)e=0;else{b=e+24|0;g=c[b>>2]|0;if((g|0)==(c[e+28>>2]|0)){d=c[(c[e>>2]|0)+52>>2]|0;f=ag(f)|0;f=Gb[d&63](e,f)|0}else{c[b>>2]=g+1;a[g>>0]=f;f=ag(f)|0}d=Yf(f,Uf()|0)|0;e=d?0:e}h=h+1|0}yb=j;return e|0}function dJ(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0;l=yb;yb=yb+16|0;i=l;a[i>>0]=37;j=i+1|0;a[j>>0]=g;k=i+2|0;a[k>>0]=h;a[i+3>>0]=0;if(h<<24>>24){a[j>>0]=h;a[k>>0]=g}k=eJ(d,c[e>>2]|0)|0;c[e>>2]=d+(Sa(d|0,k|0,i|0,f|0,c[b>>2]|0)|0);yb=l;return}function eJ(a,b){a=a|0;b=b|0;return b-a|0}function fJ(a){a=a|0;var b=0;b=c[a>>2]|0;if((b|0)!=(YF()|0))Ty(c[a>>2]|0);return}function gJ(a){a=a|0;fJ(a+8|0);AF(a);return}function hJ(a){a=a|0;fJ(a+8|0);AF(a);QA(a);return}function iJ(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0;i=yb;yb=yb+416|0;d=i;e=i+400|0;c[e>>2]=d+400;jJ(a+8|0,d,e,f,g,h);h=c[e>>2]|0;g=d;d=c[b>>2]|0;while(1){if((g|0)==(h|0))break;e=c[g>>2]|0;if(!d)d=0;else{a=d+24|0;f=c[a>>2]|0;if((f|0)==(c[d+28>>2]|0)){b=c[(c[d>>2]|0)+52>>2]|0;e=hE(e)|0;e=Gb[b&63](d,e)|0}else{c[a>>2]=f+4;c[f>>2]=e;e=hE(e)|0}b=HE(e,gE()|0)|0;d=b?0:d}g=g+4|0}yb=i;return d|0}function jJ(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0;h=yb;yb=yb+128|0;k=h;l=h+116|0;i=h+104|0;j=h+112|0;c[l>>2]=k+100;dJ(a,k,l,e,f,g);e=i;c[e>>2]=0;c[e+4>>2]=0;c[j>>2]=k;e=kJ(b,c[d>>2]|0)|0;a=cz(c[a>>2]|0)|0;e=Qz(b,j,e,i)|0;if(a|0)cz(a)|0;if((e|0)==-1)lJ(0);else{c[d>>2]=b+(e<<2);yb=h;return}}function kJ(a,b){a=a|0;b=b|0;return b-a>>2|0}function lJ(a){a=a|0;ua()}function mJ(a){a=a|0;AF(a);return}function nJ(a){a=a|0;AF(a);QA(a);return}function oJ(a){a=a|0;return 127}function pJ(a){a=a|0;return 127}function qJ(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 rJ(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 sJ(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 tJ(a,b){a=a|0;b=b|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;fO(a,1,45);return}function uJ(a){a=a|0;return 0}function vJ(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 wJ(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 xJ(a){a=a|0;AF(a);return}function yJ(a){a=a|0;AF(a);QA(a);return}function zJ(a){a=a|0;return 127}function AJ(a){a=a|0;return 127}function BJ(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 CJ(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 DJ(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 EJ(a,b){a=a|0;b=b|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;fO(a,1,45);return}function FJ(a){a=a|0;return 0}function GJ(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 HJ(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 IJ(a){a=a|0;AF(a);return}function JJ(a){a=a|0;AF(a);QA(a);return}function KJ(a){a=a|0;return 2147483647}function LJ(a){a=a|0;return 2147483647}function MJ(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 NJ(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 OJ(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 PJ(a,b){a=a|0;b=b|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;sO(a,1,45);return}function QJ(a){a=a|0;return 0}function RJ(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 SJ(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 TJ(a){a=a|0;AF(a);return}function UJ(a){a=a|0;AF(a);QA(a);return}function VJ(a){a=a|0;return 2147483647}function WJ(a){a=a|0;return 2147483647}function XJ(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 YJ(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 ZJ(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 _J(a,b){a=a|0;b=b|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;sO(a,1,45);return}function $J(a){a=a|0;return 0}function aK(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 bK(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 cK(a){a=a|0;AF(a);return}function dK(a){a=a|0;AF(a);QA(a);return}function eK(b,d,e,f,g,h,i){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;v=yb;yb=yb+256|0;n=v+240|0;q=v+216|0;m=v+112|0;u=v+232|0;p=v+228|0;s=v+224|0;j=v+250|0;w=v+220|0;o=v;c[u>>2]=m;c[u+4>>2]=145;GE(s,g);b=VF(s,56736)|0;a[j>>0]=0;c[w>>2]=c[e>>2];l=c[g+4>>2]|0;c[n>>2]=c[w>>2];if(hK(d,n,f,s,l,h,j,b,u,p,m+100|0)|0){Ib[c[(c[b>>2]|0)+32>>2]&15](b,50465,50475,n)|0;l=c[p>>2]|0;f=c[u>>2]|0;b=l-f|0;if((b|0)>98){b=DO(b+2|0)|0;if(!b)_N();else{k=b;r=b}}else{k=o;r=0}if(!(a[j>>0]|0))b=k;else{a[k>>0]=45;b=k+1|0}k=n+10|0;m=n;j=f;g=b;b=l;while(1){if(j>>>0>=b>>>0)break;f=a[j>>0]|0;b=n;while(1){if((b|0)==(k|0)){b=k;break}if((a[b>>0]|0)==f<<24>>24)break;b=b+1|0}a[g>>0]=a[50465+(b-m)>>0]|0;j=j+1|0;g=g+1|0;b=c[p>>2]|0}a[g>>0]=0;c[q>>2]=i;if((Az(o,50476,q)|0)!=1)lJ(0);if(r|0)EO(r)}b=c[d>>2]|0;do if(b){f=c[b+12>>2]|0;if((f|0)==(c[b+16>>2]|0))b=Eb[c[(c[b>>2]|0)+36>>2]&127](b)|0;else b=ag(a[f>>0]|0)|0;if(Yf(b,Uf()|0)|0){c[d>>2]=0;g=1;break}else{g=(c[d>>2]|0)==0;break}}else g=1;while(0);b=c[e>>2]|0;do if(b){f=c[b+12>>2]|0;if((f|0)==(c[b+16>>2]|0))b=Eb[c[(c[b>>2]|0)+36>>2]&127](b)|0;else b=ag(a[f>>0]|0)|0;if(!(Yf(b,Uf()|0)|0))if(g)break;else{t=34;break}else{c[e>>2]=0;t=32;break}}else t=32;while(0);if((t|0)==32?g:0)t=34;if((t|0)==34)c[h>>2]=c[h>>2]|2;f=c[d>>2]|0;WF(s);b=c[u>>2]|0;c[u>>2]=0;if(b|0)Qb[c[u+4>>2]&255](b);yb=v;return f|0}function fK(b,d,e,f,g,h,i){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=yb;yb=yb+128|0;j=s+120|0;b=s;r=s+112|0;m=s+108|0;p=s+100|0;k=s+124|0;n=s+104|0;c[r>>2]=b;c[r+4>>2]=145;GE(p,g);l=VF(p,56736)|0;a[k>>0]=0;o=c[e>>2]|0;c[n>>2]=o;g=c[g+4>>2]|0;c[j>>2]=c[n>>2];n=o;if(hK(d,j,f,p,g,h,k,l,r,m,b+100|0)|0){b=i+11|0;if((a[b>>0]|0)<0){f=c[i>>2]|0;a[j>>0]=0;$f(f,j);c[i+4>>2]=0}else{a[j>>0]=0;$f(i,j);a[b>>0]=0}if(a[k>>0]|0)qO(i,Gb[c[(c[l>>2]|0)+28>>2]&63](l,45)|0);k=Gb[c[(c[l>>2]|0)+28>>2]&63](l,48)|0;g=c[m>>2]|0;j=g+-1|0;b=c[r>>2]|0;while(1){if(b>>>0>=j>>>0)break;if((a[b>>0]|0)!=k<<24>>24)break;b=b+1|0}iK(i,b,g)|0}b=c[d>>2]|0;do if(b){g=c[b+12>>2]|0;if((g|0)==(c[b+16>>2]|0))b=Eb[c[(c[b>>2]|0)+36>>2]&127](b)|0;else b=ag(a[g>>0]|0)|0;if(Yf(b,Uf()|0)|0){c[d>>2]=0;g=1;break}else{g=(c[d>>2]|0)==0;break}}else g=1;while(0);do if(o){b=c[n+12>>2]|0;if((b|0)==(c[n+16>>2]|0))b=Eb[c[(c[o>>2]|0)+36>>2]&127](n)|0;else b=ag(a[b>>0]|0)|0;if(!(Yf(b,Uf()|0)|0))if(g)break;else{q=27;break}else{c[e>>2]=0;q=25;break}}else q=25;while(0);if((q|0)==25?g:0)q=27;if((q|0)==27)c[h>>2]=c[h>>2]|2;g=c[d>>2]|0;WF(p);b=c[r>>2]|0;c[r>>2]=0;if(b|0)Qb[c[r+4>>2]&255](b);yb=s;return g|0}function gK(a){a=a|0;return}function hK(e,f,g,h,i,j,k,l,m,n,o){e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;m=m|0;n=n|0;o=o|0;var p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0;Y=yb;yb=yb+512|0;I=Y+488|0;O=Y;X=Y+480|0;Q=Y+472|0;J=Y+468|0;K=Y+496|0;L=Y+493|0;M=Y+492|0;S=Y+456|0;T=Y+444|0;U=Y+432|0;V=Y+420|0;W=Y+408|0;N=Y+404|0;R=Y+400|0;c[I>>2]=o;c[X>>2]=O;c[X+4>>2]=145;c[Q>>2]=O;c[J>>2]=O+400;c[S>>2]=0;c[S+4>>2]=0;c[S+8>>2]=0;o=0;while(1){if((o|0)==3)break;c[S+(o<<2)>>2]=0;o=o+1|0}c[T>>2]=0;c[T+4>>2]=0;c[T+8>>2]=0;o=0;while(1){if((o|0)==3)break;c[T+(o<<2)>>2]=0;o=o+1|0}c[U>>2]=0;c[U+4>>2]=0;c[U+8>>2]=0;o=0;while(1){if((o|0)==3)break;c[U+(o<<2)>>2]=0;o=o+1|0}c[V>>2]=0;c[V+4>>2]=0;c[V+8>>2]=0;o=0;while(1){if((o|0)==3)break;c[V+(o<<2)>>2]=0;o=o+1|0}c[W>>2]=0;c[W+4>>2]=0;c[W+8>>2]=0;o=0;while(1){if((o|0)==3)break;c[W+(o<<2)>>2]=0;o=o+1|0}kK(g,h,K,L,M,S,T,U,V,N);c[n>>2]=c[m>>2];B=l+8|0;C=U+11|0;D=U+4|0;E=V+11|0;F=V+4|0;G=S+11|0;H=S+4|0;v=(i&512|0)!=0;w=T+11|0;x=K+3|0;y=T+4|0;z=W+11|0;A=W+4|0;O=0;u=0;a:while(1){if(u>>>0>=4){P=243;break}o=c[e>>2]|0;do if(o){g=c[o+12>>2]|0;if((g|0)==(c[o+16>>2]|0))o=Eb[c[(c[o>>2]|0)+36>>2]&127](o)|0;else o=ag(a[g>>0]|0)|0;if(Yf(o,Uf()|0)|0){c[e>>2]=0;h=1;break}else{h=(c[e>>2]|0)==0;break}}else h=1;while(0);g=c[f>>2]|0;do if(g){o=c[g+12>>2]|0;if((o|0)==(c[g+16>>2]|0))o=Eb[c[(c[g>>2]|0)+36>>2]&127](g)|0;else o=ag(a[o>>0]|0)|0;if(!(Yf(o,Uf()|0)|0))if(h){t=g;break}else{P=243;break a}else{c[f>>2]=0;P=31;break}}else P=31;while(0);if((P|0)==31){P=0;if(h){P=243;break}else t=0}b:do switch(a[K+u>>0]|0){case 1:{if((u|0)==3)o=O;else{o=c[e>>2]|0;g=c[o+12>>2]|0;if((g|0)==(c[o+16>>2]|0))o=Eb[c[(c[o>>2]|0)+36>>2]&127](o)|0;else o=ag(a[g>>0]|0)|0;if((o&255)<<24>>24<=-1){P=45;break a}if(!(b[(c[B>>2]|0)+(o<<24>>24<<1)>>1]&8192)){P=45;break a}o=c[e>>2]|0;g=o+12|0;h=c[g>>2]|0;if((h|0)==(c[o+16>>2]|0))o=Eb[c[(c[o>>2]|0)+40>>2]&127](o)|0;else{c[g>>2]=h+1;o=ag(a[h>>0]|0)|0}qO(W,o&255);P=47}break}case 0:{if((u|0)==3)o=O;else P=47;break}case 3:{o=a[C>>0]|0;o=o<<24>>24<0?c[D>>2]|0:o&255;l=a[E>>0]|0;l=l<<24>>24<0?c[F>>2]|0:l&255;if((o|0)==(0-l|0))o=O;else{i=(o|0)==0;o=c[e>>2]|0;g=c[o+12>>2]|0;h=(g|0)==(c[o+16>>2]|0);if(i|(l|0)==0){if(h)o=Eb[c[(c[o>>2]|0)+36>>2]&127](o)|0;else o=ag(a[g>>0]|0)|0;o=o&255;if(i){if((a[((a[E>>0]|0)<0?c[V>>2]|0:V)>>0]|0)!=o<<24>>24){o=O;break b}o=c[e>>2]|0;g=o+12|0;h=c[g>>2]|0;if((h|0)==(c[o+16>>2]|0))Eb[c[(c[o>>2]|0)+40>>2]&127](o)|0;else{c[g>>2]=h+1;ag(a[h>>0]|0)|0}a[k>>0]=1;o=a[E>>0]|0;o=(o<<24>>24<0?c[F>>2]|0:o&255)>>>0>1?V:O;break b}if((a[((a[C>>0]|0)<0?c[U>>2]|0:U)>>0]|0)!=o<<24>>24){a[k>>0]=1;o=O;break b}o=c[e>>2]|0;g=o+12|0;h=c[g>>2]|0;if((h|0)==(c[o+16>>2]|0))Eb[c[(c[o>>2]|0)+40>>2]&127](o)|0;else{c[g>>2]=h+1;ag(a[h>>0]|0)|0}o=a[C>>0]|0;o=(o<<24>>24<0?c[D>>2]|0:o&255)>>>0>1?U:O;break b}if(h)o=Eb[c[(c[o>>2]|0)+36>>2]&127](o)|0;else o=ag(a[g>>0]|0)|0;g=c[e>>2]|0;h=g+12|0;l=c[h>>2]|0;i=(l|0)==(c[g+16>>2]|0);if((a[((a[C>>0]|0)<0?c[U>>2]|0:U)>>0]|0)==(o&255)<<24>>24){if(i)Eb[c[(c[g>>2]|0)+40>>2]&127](g)|0;else{c[h>>2]=l+1;ag(a[l>>0]|0)|0}o=a[C>>0]|0;o=(o<<24>>24<0?c[D>>2]|0:o&255)>>>0>1?U:O;break b}if(i)o=Eb[c[(c[g>>2]|0)+36>>2]&127](g)|0;else o=ag(a[l>>0]|0)|0;if((a[((a[E>>0]|0)<0?c[V>>2]|0:V)>>0]|0)!=(o&255)<<24>>24){P=105;break a}o=c[e>>2]|0;g=o+12|0;h=c[g>>2]|0;if((h|0)==(c[o+16>>2]|0))Eb[c[(c[o>>2]|0)+40>>2]&127](o)|0;else{c[g>>2]=h+1;ag(a[h>>0]|0)|0}a[k>>0]=1;o=a[E>>0]|0;o=(o<<24>>24<0?c[F>>2]|0:o&255)>>>0>1?V:O}break}case 2:{if(u>>>0<2|(O|0)!=0){o=a[w>>0]|0;h=o<<24>>24<0;g=c[T>>2]|0;l=h?g:T;i=l;if(!u)h=i;else{s=i;P=110}}else{if(!(v|(u|0)==2&(a[x>>0]|0)!=0)){o=0;break b}o=a[w>>0]|0;h=o<<24>>24<0;g=c[T>>2]|0;s=h?g:T;l=s;P=110}c:do if((P|0)==110){P=0;if((d[K+(u+-1)>>0]|0)<2){i=l+(h?c[y>>2]|0:o&255)|0;h=s;while(1){p=h;if((i|0)==(p|0))break;q=a[p>>0]|0;if(q<<24>>24<=-1)break;if(!(b[(c[B>>2]|0)+(q<<24>>24<<1)>>1]&8192))break;h=p+1|0}q=h-s|0;p=a[z>>0]|0;r=p<<24>>24<0;i=c[A>>2]|0;p=p&255;if(q>>>0<=(r?i:p)>>>0){Z=(c[W>>2]|0)+i|0;i=W+p|0;p=r?Z:i;i=r?Z+(0-q)|0:i+(0-q)|0;while(1){if((i|0)==(p|0))break c;if((a[i>>0]|0)!=(a[l>>0]|0)){h=s;break c}l=l+1|0;i=i+1|0}}else h=s}else h=s}while(0);i=h;h=t;d:while(1){Z=o<<24>>24<0;if((i|0)==((Z?g:T)+(Z?c[y>>2]|0:o&255)|0))break;o=c[e>>2]|0;do if(o){g=c[o+12>>2]|0;if((g|0)==(c[o+16>>2]|0))o=Eb[c[(c[o>>2]|0)+36>>2]&127](o)|0;else o=ag(a[g>>0]|0)|0;if(Yf(o,Uf()|0)|0){c[e>>2]=0;g=1;break}else{g=(c[e>>2]|0)==0;break}}else g=1;while(0);do if(h){o=c[h+12>>2]|0;if((o|0)==(c[h+16>>2]|0))o=Eb[c[(c[h>>2]|0)+36>>2]&127](h)|0;else o=ag(a[o>>0]|0)|0;if(!(Yf(o,Uf()|0)|0))if(g){l=h;break}else break d;else{c[f>>2]=0;P=136;break}}else P=136;while(0);if((P|0)==136){P=0;if(g)break;else l=0}o=c[e>>2]|0;g=c[o+12>>2]|0;if((g|0)==(c[o+16>>2]|0))o=Eb[c[(c[o>>2]|0)+36>>2]&127](o)|0;else o=ag(a[g>>0]|0)|0;if((a[i>>0]|0)!=(o&255)<<24>>24)break;o=c[e>>2]|0;g=o+12|0;h=c[g>>2]|0;if((h|0)==(c[o+16>>2]|0))Eb[c[(c[o>>2]|0)+40>>2]&127](o)|0;else{c[g>>2]=h+1;ag(a[h>>0]|0)|0}i=i+1|0;o=a[w>>0]|0;g=c[T>>2]|0;h=l}if(v?(Z=a[w>>0]|0,t=Z<<24>>24<0,(i|0)!=((t?c[T>>2]|0:T)+(t?c[y>>2]|0:Z&255)|0)):0){P=148;break a}else o=O;break}case 4:{i=0;l=t;o=t;e:while(1){g=c[e>>2]|0;do if(g){h=c[g+12>>2]|0;if((h|0)==(c[g+16>>2]|0))g=Eb[c[(c[g>>2]|0)+36>>2]&127](g)|0;else g=ag(a[h>>0]|0)|0;if(Yf(g,Uf()|0)|0){c[e>>2]=0;h=1;break}else{h=(c[e>>2]|0)==0;break}}else h=1;while(0);do if(l){g=c[l+12>>2]|0;if((g|0)==(c[l+16>>2]|0))g=Eb[c[(c[l>>2]|0)+36>>2]&127](l)|0;else g=ag(a[g>>0]|0)|0;if(!(Yf(g,Uf()|0)|0))if(h){p=l;break}else{l=o;break e}else{c[f>>2]=0;o=0;P=162;break}}else P=162;while(0);if((P|0)==162){P=0;if(h){l=o;break}else p=0}g=c[e>>2]|0;h=c[g+12>>2]|0;if((h|0)==(c[g+16>>2]|0))g=Eb[c[(c[g>>2]|0)+36>>2]&127](g)|0;else g=ag(a[h>>0]|0)|0;h=g&255;if(h<<24>>24>-1?(b[(c[B>>2]|0)+(g<<24>>24<<1)>>1]&2048)!=0:0){g=c[n>>2]|0;if((g|0)==(c[I>>2]|0)){lK(m,n,I);g=c[n>>2]|0}c[n>>2]=g+1;a[g>>0]=h;g=i+1|0}else{Z=a[G>>0]|0;if(!((a[M>>0]|0)==h<<24>>24&(i|0?((Z<<24>>24<0?c[H>>2]|0:Z&255)|0)!=0:0))){l=o;break}g=c[Q>>2]|0;if((g|0)==(c[J>>2]|0)){mK(X,Q,J);g=c[Q>>2]|0}c[Q>>2]=g+4;c[g>>2]=i;g=0}h=c[e>>2]|0;l=h+12|0;i=c[l>>2]|0;if((i|0)==(c[h+16>>2]|0))Eb[c[(c[h>>2]|0)+40>>2]&127](h)|0;else{c[l>>2]=i+1;ag(a[i>>0]|0)|0}i=g;l=p}o=c[Q>>2]|0;if(i|0?(c[X>>2]|0)!=(o|0):0){if((o|0)==(c[J>>2]|0)){mK(X,Q,J);o=c[Q>>2]|0}c[Q>>2]=o+4;c[o>>2]=i}f:do if((c[N>>2]|0)>0){o=c[e>>2]|0;do if(o){g=c[o+12>>2]|0;if((g|0)==(c[o+16>>2]|0))o=Eb[c[(c[o>>2]|0)+36>>2]&127](o)|0;else o=ag(a[g>>0]|0)|0;if(Yf(o,Uf()|0)|0){c[e>>2]=0;g=1;break}else{g=(c[e>>2]|0)==0;break}}else g=1;while(0);do if(l){o=c[l+12>>2]|0;if((o|0)==(c[l+16>>2]|0))o=Eb[c[(c[l>>2]|0)+36>>2]&127](l)|0;else o=ag(a[o>>0]|0)|0;if(!(Yf(o,Uf()|0)|0))if(g)break;else{P=204;break a}else{c[f>>2]=0;P=198;break}}else P=198;while(0);if((P|0)==198){P=0;if(g){P=204;break a}else l=0}o=c[e>>2]|0;g=c[o+12>>2]|0;if((g|0)==(c[o+16>>2]|0))o=Eb[c[(c[o>>2]|0)+36>>2]&127](o)|0;else o=ag(a[g>>0]|0)|0;if((a[L>>0]|0)!=(o&255)<<24>>24){P=204;break a}o=c[e>>2]|0;g=o+12|0;h=c[g>>2]|0;if((h|0)==(c[o+16>>2]|0))Eb[c[(c[o>>2]|0)+40>>2]&127](o)|0;else{c[g>>2]=h+1;ag(a[h>>0]|0)|0}h=l;while(1){if((c[N>>2]|0)<=0)break f;o=c[e>>2]|0;do if(o){g=c[o+12>>2]|0;if((g|0)==(c[o+16>>2]|0))o=Eb[c[(c[o>>2]|0)+36>>2]&127](o)|0;else o=ag(a[g>>0]|0)|0;if(Yf(o,Uf()|0)|0){c[e>>2]=0;g=1;break}else{g=(c[e>>2]|0)==0;break}}else g=1;while(0);do if(h){o=c[h+12>>2]|0;if((o|0)==(c[h+16>>2]|0))o=Eb[c[(c[h>>2]|0)+36>>2]&127](h)|0;else o=ag(a[o>>0]|0)|0;if(!(Yf(o,Uf()|0)|0))if(g){l=h;break}else{P=230;break a}else{c[f>>2]=0;P=223;break}}else P=223;while(0);if((P|0)==223){P=0;if(g){P=230;break a}else l=0}o=c[e>>2]|0;g=c[o+12>>2]|0;if((g|0)==(c[o+16>>2]|0))o=Eb[c[(c[o>>2]|0)+36>>2]&127](o)|0;else o=ag(a[g>>0]|0)|0;if((o&255)<<24>>24<=-1){P=230;break a}if(!(b[(c[B>>2]|0)+(o<<24>>24<<1)>>1]&2048)){P=230;break a}if((c[n>>2]|0)==(c[I>>2]|0))lK(m,n,I);o=c[e>>2]|0;g=c[o+12>>2]|0;if((g|0)==(c[o+16>>2]|0))o=Eb[c[(c[o>>2]|0)+36>>2]&127](o)|0;else o=ag(a[g>>0]|0)|0;g=c[n>>2]|0;c[n>>2]=g+1;a[g>>0]=o;c[N>>2]=(c[N>>2]|0)+-1;o=c[e>>2]|0;g=o+12|0;h=c[g>>2]|0;if((h|0)==(c[o+16>>2]|0))Eb[c[(c[o>>2]|0)+40>>2]&127](o)|0;else{c[g>>2]=h+1;ag(a[h>>0]|0)|0}h=l}}while(0);if((c[n>>2]|0)==(c[m>>2]|0)){P=241;break a}else o=O;break}default:o=O}while(0);g:do if((P|0)==47){P=0;h=t;while(1){o=c[e>>2]|0;do if(o){g=c[o+12>>2]|0;if((g|0)==(c[o+16>>2]|0))o=Eb[c[(c[o>>2]|0)+36>>2]&127](o)|0;else o=ag(a[g>>0]|0)|0;if(Yf(o,Uf()|0)|0){c[e>>2]=0;g=1;break}else{g=(c[e>>2]|0)==0;break}}else g=1;while(0);do if(h){o=c[h+12>>2]|0;if((o|0)==(c[h+16>>2]|0))o=Eb[c[(c[h>>2]|0)+36>>2]&127](h)|0;else o=ag(a[o>>0]|0)|0;if(!(Yf(o,Uf()|0)|0))if(g){l=h;break}else{o=O;break g}else{c[f>>2]=0;P=61;break}}else P=61;while(0);if((P|0)==61){P=0;if(g){o=O;break g}else l=0}o=c[e>>2]|0;g=c[o+12>>2]|0;if((g|0)==(c[o+16>>2]|0))o=Eb[c[(c[o>>2]|0)+36>>2]&127](o)|0;else o=ag(a[g>>0]|0)|0;if((o&255)<<24>>24<=-1){o=O;break g}if(!(b[(c[B>>2]|0)+(o<<24>>24<<1)>>1]&8192)){o=O;break g}o=c[e>>2]|0;g=o+12|0;h=c[g>>2]|0;if((h|0)==(c[o+16>>2]|0))o=Eb[c[(c[o>>2]|0)+40>>2]&127](o)|0;else{c[g>>2]=h+1;o=ag(a[h>>0]|0)|0}qO(W,o&255);h=l}}while(0);O=o;u=u+1|0}h:do if((P|0)==45){c[j>>2]=c[j>>2]|4;g=0}else if((P|0)==105){c[j>>2]=c[j>>2]|4;g=0}else if((P|0)==148){c[j>>2]=c[j>>2]|4;g=0}else if((P|0)==204){c[j>>2]=c[j>>2]|4;g=0}else if((P|0)==230){c[j>>2]=c[j>>2]|4;g=0}else if((P|0)==241){c[j>>2]=c[j>>2]|4;g=0}else if((P|0)==243){i:do if(O|0){i=O+11|0;p=O+4|0;l=1;j:while(1){o=a[i>>0]|0;if(o<<24>>24<0)o=c[p>>2]|0;else o=o&255;if(l>>>0>=o>>>0)break i;o=c[e>>2]|0;do if(o){g=c[o+12>>2]|0;if((g|0)==(c[o+16>>2]|0))o=Eb[c[(c[o>>2]|0)+36>>2]&127](o)|0;else o=ag(a[g>>0]|0)|0;if(Yf(o,Uf()|0)|0){c[e>>2]=0;h=1;break}else{h=(c[e>>2]|0)==0;break}}else h=1;while(0);o=c[f>>2]|0;do if(o){g=c[o+12>>2]|0;if((g|0)==(c[o+16>>2]|0))o=Eb[c[(c[o>>2]|0)+36>>2]&127](o)|0;else o=ag(a[g>>0]|0)|0;if(!(Yf(o,Uf()|0)|0))if(h)break;else break j;else{c[f>>2]=0;P=262;break}}else P=262;while(0);if((P|0)==262?(P=0,h):0)break;o=c[e>>2]|0;g=c[o+12>>2]|0;if((g|0)==(c[o+16>>2]|0))o=Eb[c[(c[o>>2]|0)+36>>2]&127](o)|0;else o=ag(a[g>>0]|0)|0;if((a[i>>0]|0)<0)g=c[O>>2]|0;else g=O;if((a[g+l>>0]|0)!=(o&255)<<24>>24)break;o=c[e>>2]|0;g=o+12|0;h=c[g>>2]|0;if((h|0)==(c[o+16>>2]|0))Eb[c[(c[o>>2]|0)+40>>2]&127](o)|0;else{c[g>>2]=h+1;ag(a[h>>0]|0)|0}l=l+1|0}c[j>>2]=c[j>>2]|4;g=0;break h}while(0);g=c[X>>2]|0;o=c[Q>>2]|0;if((g|0)!=(o|0)){c[R>>2]=0;iG(S,g,o,R);if(!(c[R>>2]|0)){g=1;break}else{c[j>>2]=c[j>>2]|4;g=0;break}}else g=1}while(0);hO(W);hO(V);hO(U);hO(T);hO(S);o=c[X>>2]|0;c[X>>2]=0;if(o|0)Qb[c[X+4>>2]&255](o);yb=Y;return g|0}function iK(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;o=yb;yb=yb+16|0;j=d;m=o;n=b+11|0;h=a[n>>0]|0;f=h<<24>>24<0;if(f){l=c[b+4>>2]|0;i=(c[b+8>>2]&2147483647)+-1|0}else{l=h&255;i=10}k=e-j|0;do if(k|0){if(f){g=c[b>>2]|0;f=c[b+4>>2]|0}else{g=b;f=h&255}if(jK(d,g,g+f|0)|0){c[m>>2]=0;c[m+4>>2]=0;c[m+8>>2]=0;_f(m,d,e);n=a[m+11>>0]|0;l=n<<24>>24<0;pO(b,l?c[m>>2]|0:m,l?c[m+4>>2]|0:n&255)|0;hO(m);break}if((i-l|0)>>>0>>0)oO(b,i,l+k-i|0,l,l,0,0);if((a[n>>0]|0)<0)h=c[b>>2]|0;else h=b;g=e+(l-j)|0;f=h+l|0;while(1){if((d|0)==(e|0))break;$f(f,d);f=f+1|0;d=d+1|0}a[m>>0]=0;$f(h+g|0,m);d=l+k|0;if((a[n>>0]|0)<0){c[b+4>>2]=d;break}else{a[n>>0]=d;break}}while(0);yb=o;return b|0}function jK(a,b,c){a=a|0;b=b|0;c=c|0;return b>>>0<=a>>>0&a>>>0>>0|0}function kK(b,d,e,f,g,h,i,j,k,l){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;var m=0,n=0,o=0;o=yb;yb=yb+16|0;m=o+12|0;n=o;if(b){d=VF(d,56968)|0;Sb[c[(c[d>>2]|0)+44>>2]&63](m,d);b=c[m>>2]|0;a[e>>0]=b;a[e+1>>0]=b>>8;a[e+2>>0]=b>>16;a[e+3>>0]=b>>24;Sb[c[(c[d>>2]|0)+32>>2]&63](n,d);b=k+11|0;if((a[b>>0]|0)<0){e=c[k>>2]|0;a[m>>0]=0;$f(e,m);c[k+4>>2]=0;if((a[b>>0]|0)<0){e=k+8|0;Nf(c[k>>2]|0,c[e>>2]&2147483647);c[e>>2]=0}}else{a[m>>0]=0;$f(k,m);a[b>>0]=0};c[k>>2]=c[n>>2];c[k+4>>2]=c[n+4>>2];c[k+8>>2]=c[n+8>>2];b=0;while(1){if((b|0)==3)break;c[n+(b<<2)>>2]=0;b=b+1|0}hO(n);Sb[c[(c[d>>2]|0)+28>>2]&63](n,d);b=j+11|0;if((a[b>>0]|0)<0){k=c[j>>2]|0;a[m>>0]=0;$f(k,m);c[j+4>>2]=0;if((a[b>>0]|0)<0){k=j+8|0;Nf(c[j>>2]|0,c[k>>2]&2147483647);c[k>>2]=0}}else{a[m>>0]=0;$f(j,m);a[b>>0]=0};c[j>>2]=c[n>>2];c[j+4>>2]=c[n+4>>2];c[j+8>>2]=c[n+8>>2];b=0;while(1){if((b|0)==3)break;c[n+(b<<2)>>2]=0;b=b+1|0}hO(n);a[f>>0]=Eb[c[(c[d>>2]|0)+12>>2]&127](d)|0;a[g>>0]=Eb[c[(c[d>>2]|0)+16>>2]&127](d)|0;Sb[c[(c[d>>2]|0)+20>>2]&63](n,d);b=h+11|0;if((a[b>>0]|0)<0){g=c[h>>2]|0;a[m>>0]=0;$f(g,m);c[h+4>>2]=0;if((a[b>>0]|0)<0){g=h+8|0;Nf(c[h>>2]|0,c[g>>2]&2147483647);c[g>>2]=0}}else{a[m>>0]=0;$f(h,m);a[b>>0]=0};c[h>>2]=c[n>>2];c[h+4>>2]=c[n+4>>2];c[h+8>>2]=c[n+8>>2];b=0;while(1){if((b|0)==3)break;c[n+(b<<2)>>2]=0;b=b+1|0}hO(n);Sb[c[(c[d>>2]|0)+24>>2]&63](n,d);b=i+11|0;if((a[b>>0]|0)<0){h=c[i>>2]|0;a[m>>0]=0;$f(h,m);c[i+4>>2]=0;if((a[b>>0]|0)<0){m=i+8|0;Nf(c[i>>2]|0,c[m>>2]&2147483647);c[m>>2]=0}}else{a[m>>0]=0;$f(i,m);a[b>>0]=0};c[i>>2]=c[n>>2];c[i+4>>2]=c[n+4>>2];c[i+8>>2]=c[n+8>>2];b=0;while(1){if((b|0)==3)break;c[n+(b<<2)>>2]=0;b=b+1|0}hO(n);b=Eb[c[(c[d>>2]|0)+36>>2]&127](d)|0}else{d=VF(d,56960)|0;Sb[c[(c[d>>2]|0)+44>>2]&63](m,d);b=c[m>>2]|0;a[e>>0]=b;a[e+1>>0]=b>>8;a[e+2>>0]=b>>16;a[e+3>>0]=b>>24;Sb[c[(c[d>>2]|0)+32>>2]&63](n,d);b=k+11|0;if((a[b>>0]|0)<0){e=c[k>>2]|0;a[m>>0]=0;$f(e,m);c[k+4>>2]=0;if((a[b>>0]|0)<0){e=k+8|0;Nf(c[k>>2]|0,c[e>>2]&2147483647);c[e>>2]=0}}else{a[m>>0]=0;$f(k,m);a[b>>0]=0};c[k>>2]=c[n>>2];c[k+4>>2]=c[n+4>>2];c[k+8>>2]=c[n+8>>2];b=0;while(1){if((b|0)==3)break;c[n+(b<<2)>>2]=0;b=b+1|0}hO(n);Sb[c[(c[d>>2]|0)+28>>2]&63](n,d);b=j+11|0;if((a[b>>0]|0)<0){k=c[j>>2]|0;a[m>>0]=0;$f(k,m);c[j+4>>2]=0;if((a[b>>0]|0)<0){k=j+8|0;Nf(c[j>>2]|0,c[k>>2]&2147483647);c[k>>2]=0}}else{a[m>>0]=0;$f(j,m);a[b>>0]=0};c[j>>2]=c[n>>2];c[j+4>>2]=c[n+4>>2];c[j+8>>2]=c[n+8>>2];b=0;while(1){if((b|0)==3)break;c[n+(b<<2)>>2]=0;b=b+1|0}hO(n);a[f>>0]=Eb[c[(c[d>>2]|0)+12>>2]&127](d)|0;a[g>>0]=Eb[c[(c[d>>2]|0)+16>>2]&127](d)|0;Sb[c[(c[d>>2]|0)+20>>2]&63](n,d);b=h+11|0;if((a[b>>0]|0)<0){g=c[h>>2]|0;a[m>>0]=0;$f(g,m);c[h+4>>2]=0;if((a[b>>0]|0)<0){g=h+8|0;Nf(c[h>>2]|0,c[g>>2]&2147483647);c[g>>2]=0}}else{a[m>>0]=0;$f(h,m);a[b>>0]=0};c[h>>2]=c[n>>2];c[h+4>>2]=c[n+4>>2];c[h+8>>2]=c[n+8>>2];b=0;while(1){if((b|0)==3)break;c[n+(b<<2)>>2]=0;b=b+1|0}hO(n);Sb[c[(c[d>>2]|0)+24>>2]&63](n,d);b=i+11|0;if((a[b>>0]|0)<0){h=c[i>>2]|0;a[m>>0]=0;$f(h,m);c[i+4>>2]=0;if((a[b>>0]|0)<0){m=i+8|0;Nf(c[i>>2]|0,c[m>>2]&2147483647);c[m>>2]=0}}else{a[m>>0]=0;$f(i,m);a[b>>0]=0};c[i>>2]=c[n>>2];c[i+4>>2]=c[n+4>>2];c[i+8>>2]=c[n+8>>2];b=0;while(1){if((b|0)==3)break;c[n+(b<<2)>>2]=0;b=b+1|0}hO(n);b=Eb[c[(c[d>>2]|0)+36>>2]&127](d)|0}c[l>>2]=b;yb=o;return}function lK(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;i=a+4|0;f=(c[i>>2]|0)!=145;e=c[a>>2]|0;h=e;j=(c[d>>2]|0)-h|0;g=j<<1;g=j>>>0<2147483647?((g|0)==0?1:g):-1;h=(c[b>>2]|0)-h|0;e=GO(f?e:0,g)|0;if(!e)_N();if(!f){f=c[a>>2]|0;c[a>>2]=e;if(f){Qb[c[i>>2]&255](f);e=c[a>>2]|0}}else c[a>>2]=e;c[i>>2]=146;c[b>>2]=e+h;c[d>>2]=(c[a>>2]|0)+g;return}function mK(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;i=a+4|0;f=(c[i>>2]|0)!=145;e=c[a>>2]|0;h=e;j=(c[d>>2]|0)-h|0;g=j<<1;g=j>>>0<2147483647?((g|0)==0?4:g):-1;h=(c[b>>2]|0)-h>>2;e=GO(f?e:0,g)|0;if(!e)_N();if(!f){f=c[a>>2]|0;c[a>>2]=e;if(f){Qb[c[i>>2]&255](f);e=c[a>>2]|0}}else c[a>>2]=e;c[i>>2]=146;c[b>>2]=e+(h<<2);c[d>>2]=(c[a>>2]|0)+(g>>>2<<2);return}function nK(a){a=a|0;AF(a);return}function oK(a){a=a|0;AF(a);QA(a);return}function pK(b,d,e,f,g,h,i){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;v=yb;yb=yb+592|0;n=v+512|0;q=v+552|0;m=v+112|0;u=v+568|0;p=v+564|0;s=v+560|0;j=v+576|0;w=v+556|0;o=v;c[u>>2]=m;c[u+4>>2]=145;GE(s,g);b=VF(s,56768)|0;a[j>>0]=0;c[w>>2]=c[e>>2];l=c[g+4>>2]|0;c[n>>2]=c[w>>2];if(rK(d,n,f,s,l,h,j,b,u,p,m+400|0)|0){Ib[c[(c[b>>2]|0)+48>>2]&15](b,50575,50585,n)|0;l=c[p>>2]|0;f=c[u>>2]|0;b=l-f|0;if((b|0)>392){b=DO((b>>>2)+2|0)|0;if(!b)_N();else{k=b;r=b}}else{k=o;r=0}if(!(a[j>>0]|0))b=k;else{a[k>>0]=45;b=k+1|0}k=n+40|0;m=n;j=f;g=b;b=l;while(1){if(j>>>0>=b>>>0)break;f=c[j>>2]|0;b=n;while(1){if((b|0)==(k|0)){b=k;break}if((c[b>>2]|0)==(f|0))break;b=b+4|0}a[g>>0]=a[50575+(b-m>>2)>>0]|0;j=j+4|0;g=g+1|0;b=c[p>>2]|0}a[g>>0]=0;c[q>>2]=i;if((Az(o,50476,q)|0)!=1)lJ(0);if(r|0)EO(r)}b=c[d>>2]|0;do if(b){f=c[b+12>>2]|0;if((f|0)==(c[b+16>>2]|0))b=Eb[c[(c[b>>2]|0)+36>>2]&127](b)|0;else b=hE(c[f>>2]|0)|0;if(HE(b,gE()|0)|0){c[d>>2]=0;g=1;break}else{g=(c[d>>2]|0)==0;break}}else g=1;while(0);b=c[e>>2]|0;do if(b){f=c[b+12>>2]|0;if((f|0)==(c[b+16>>2]|0))b=Eb[c[(c[b>>2]|0)+36>>2]&127](b)|0;else b=hE(c[f>>2]|0)|0;if(!(HE(b,gE()|0)|0))if(g)break;else{t=34;break}else{c[e>>2]=0;t=32;break}}else t=32;while(0);if((t|0)==32?g:0)t=34;if((t|0)==34)c[h>>2]=c[h>>2]|2;f=c[d>>2]|0;WF(s);b=c[u>>2]|0;c[u>>2]=0;if(b|0)Qb[c[u+4>>2]&255](b);yb=v;return f|0}function qK(b,d,e,f,g,h,i){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=yb;yb=yb+432|0;j=s+424|0;b=s;r=s+416|0;m=s+408|0;p=s+400|0;k=s+428|0;n=s+404|0;c[r>>2]=b;c[r+4>>2]=145;GE(p,g);l=VF(p,56768)|0;a[k>>0]=0;o=c[e>>2]|0;c[n>>2]=o;g=c[g+4>>2]|0;c[j>>2]=c[n>>2];n=o;if(rK(d,j,f,p,g,h,k,l,r,m,b+400|0)|0){b=i+8+3|0;if((a[b>>0]|0)<0){f=c[i>>2]|0;c[j>>2]=0;HF(f,j);c[i+4>>2]=0}else{c[j>>2]=0;HF(i,j);a[b>>0]=0}if(a[k>>0]|0)BO(i,Gb[c[(c[l>>2]|0)+44>>2]&63](l,45)|0);k=Gb[c[(c[l>>2]|0)+44>>2]&63](l,48)|0;g=c[m>>2]|0;j=g+-4|0;b=c[r>>2]|0;while(1){if(b>>>0>=j>>>0)break;if((c[b>>2]|0)!=(k|0))break;b=b+4|0}sK(i,b,g)|0}b=c[d>>2]|0;do if(b){g=c[b+12>>2]|0;if((g|0)==(c[b+16>>2]|0))b=Eb[c[(c[b>>2]|0)+36>>2]&127](b)|0;else b=hE(c[g>>2]|0)|0;if(HE(b,gE()|0)|0){c[d>>2]=0;g=1;break}else{g=(c[d>>2]|0)==0;break}}else g=1;while(0);do if(o){b=c[n+12>>2]|0;if((b|0)==(c[n+16>>2]|0))b=Eb[c[(c[o>>2]|0)+36>>2]&127](n)|0;else b=hE(c[b>>2]|0)|0;if(!(HE(b,gE()|0)|0))if(g)break;else{q=27;break}else{c[e>>2]=0;q=25;break}}else q=25;while(0);if((q|0)==25?g:0)q=27;if((q|0)==27)c[h>>2]=c[h>>2]|2;g=c[d>>2]|0;WF(p);b=c[r>>2]|0;c[r>>2]=0;if(b|0)Qb[c[r+4>>2]&255](b);yb=s;return g|0}function rK(b,e,f,g,h,i,j,k,l,m,n){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;m=m|0;n=n|0;var o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0;X=yb;yb=yb+512|0;H=X+496|0;N=X;W=X+488|0;P=X+480|0;I=X+476|0;J=X+500|0;K=X+472|0;L=X+468|0;R=X+456|0;S=X+444|0;T=X+432|0;U=X+420|0;V=X+408|0;M=X+404|0;Q=X+400|0;c[H>>2]=n;c[W>>2]=N;c[W+4>>2]=145;c[P>>2]=N;c[I>>2]=N+400;c[R>>2]=0;c[R+4>>2]=0;c[R+8>>2]=0;n=0;while(1){if((n|0)==3)break;c[R+(n<<2)>>2]=0;n=n+1|0}c[S>>2]=0;c[S+4>>2]=0;c[S+8>>2]=0;n=0;while(1){if((n|0)==3)break;c[S+(n<<2)>>2]=0;n=n+1|0}c[T>>2]=0;c[T+4>>2]=0;c[T+8>>2]=0;n=0;while(1){if((n|0)==3)break;c[T+(n<<2)>>2]=0;n=n+1|0}c[U>>2]=0;c[U+4>>2]=0;c[U+8>>2]=0;n=0;while(1){if((n|0)==3)break;c[U+(n<<2)>>2]=0;n=n+1|0}c[V>>2]=0;c[V+4>>2]=0;c[V+8>>2]=0;n=0;while(1){if((n|0)==3)break;c[V+(n<<2)>>2]=0;n=n+1|0}vK(f,g,J,K,L,R,S,T,U,M);c[m>>2]=c[l>>2];B=T+8+3|0;C=T+4|0;D=U+8+3|0;E=U+4|0;F=R+11|0;G=R+4|0;v=(h&512|0)!=0;w=S+8+3|0;x=J+3|0;y=S+4|0;z=V+8+3|0;A=V+4|0;N=0;u=0;a:while(1){if(u>>>0>=4){O=239;break}n=c[b>>2]|0;do if(n){f=c[n+12>>2]|0;if((f|0)==(c[n+16>>2]|0))n=Eb[c[(c[n>>2]|0)+36>>2]&127](n)|0;else n=hE(c[f>>2]|0)|0;if(HE(n,gE()|0)|0){c[b>>2]=0;g=1;break}else{g=(c[b>>2]|0)==0;break}}else g=1;while(0);f=c[e>>2]|0;do if(f){n=c[f+12>>2]|0;if((n|0)==(c[f+16>>2]|0))n=Eb[c[(c[f>>2]|0)+36>>2]&127](f)|0;else n=hE(c[n>>2]|0)|0;if(!(HE(n,gE()|0)|0))if(g){t=f;break}else{O=239;break a}else{c[e>>2]=0;O=31;break}}else O=31;while(0);if((O|0)==31){O=0;if(g){O=239;break}else t=0}b:do switch(a[J+u>>0]|0){case 1:{if((u|0)==3)n=N;else{n=c[b>>2]|0;f=c[n+12>>2]|0;if((f|0)==(c[n+16>>2]|0))n=Eb[c[(c[n>>2]|0)+36>>2]&127](n)|0;else n=hE(c[f>>2]|0)|0;if(!(Hb[c[(c[k>>2]|0)+12>>2]&63](k,8192,n)|0)){O=44;break a}n=c[b>>2]|0;f=n+12|0;g=c[f>>2]|0;if((g|0)==(c[n+16>>2]|0))n=Eb[c[(c[n>>2]|0)+40>>2]&127](n)|0;else{c[f>>2]=g+4;n=hE(c[g>>2]|0)|0}BO(V,n);O=46}break}case 0:{if((u|0)==3)n=N;else O=46;break}case 3:{n=a[B>>0]|0;n=n<<24>>24<0?c[C>>2]|0:n&255;h=a[D>>0]|0;h=h<<24>>24<0?c[E>>2]|0:h&255;if((n|0)==(0-h|0))n=N;else{o=(n|0)==0;n=c[b>>2]|0;f=c[n+12>>2]|0;g=(f|0)==(c[n+16>>2]|0);if(o|(h|0)==0){if(g)n=Eb[c[(c[n>>2]|0)+36>>2]&127](n)|0;else n=hE(c[f>>2]|0)|0;if(o){if((n|0)!=(c[((a[D>>0]|0)<0?c[U>>2]|0:U)>>2]|0)){n=N;break b}n=c[b>>2]|0;f=n+12|0;g=c[f>>2]|0;if((g|0)==(c[n+16>>2]|0))Eb[c[(c[n>>2]|0)+40>>2]&127](n)|0;else{c[f>>2]=g+4;hE(c[g>>2]|0)|0}a[j>>0]=1;n=a[D>>0]|0;n=(n<<24>>24<0?c[E>>2]|0:n&255)>>>0>1?U:N;break b}if((n|0)!=(c[((a[B>>0]|0)<0?c[T>>2]|0:T)>>2]|0)){a[j>>0]=1;n=N;break b}n=c[b>>2]|0;f=n+12|0;g=c[f>>2]|0;if((g|0)==(c[n+16>>2]|0))Eb[c[(c[n>>2]|0)+40>>2]&127](n)|0;else{c[f>>2]=g+4;hE(c[g>>2]|0)|0}n=a[B>>0]|0;n=(n<<24>>24<0?c[C>>2]|0:n&255)>>>0>1?T:N;break b}if(g)n=Eb[c[(c[n>>2]|0)+36>>2]&127](n)|0;else n=hE(c[f>>2]|0)|0;f=c[b>>2]|0;g=f+12|0;h=c[g>>2]|0;o=(h|0)==(c[f+16>>2]|0);if((n|0)==(c[((a[B>>0]|0)<0?c[T>>2]|0:T)>>2]|0)){if(o)Eb[c[(c[f>>2]|0)+40>>2]&127](f)|0;else{c[g>>2]=h+4;hE(c[h>>2]|0)|0}n=a[B>>0]|0;n=(n<<24>>24<0?c[C>>2]|0:n&255)>>>0>1?T:N;break b}if(o)n=Eb[c[(c[f>>2]|0)+36>>2]&127](f)|0;else n=hE(c[h>>2]|0)|0;if((n|0)!=(c[((a[D>>0]|0)<0?c[U>>2]|0:U)>>2]|0)){O=103;break a}n=c[b>>2]|0;f=n+12|0;g=c[f>>2]|0;if((g|0)==(c[n+16>>2]|0))Eb[c[(c[n>>2]|0)+40>>2]&127](n)|0;else{c[f>>2]=g+4;hE(c[g>>2]|0)|0}a[j>>0]=1;n=a[D>>0]|0;n=(n<<24>>24<0?c[E>>2]|0:n&255)>>>0>1?U:N}break}case 2:{if(u>>>0<2|(N|0)!=0){f=a[w>>0]|0;g=c[S>>2]|0;n=f<<24>>24<0?g:S;if(u)O=108}else{if(!(v|(u|0)==2&(a[x>>0]|0)!=0)){n=0;break b}f=a[w>>0]|0;g=c[S>>2]|0;n=f<<24>>24<0?g:S;O=108}c:do if((O|0)==108){O=0;if((d[J+(u+-1)>>0]|0)<2){h=f;while(1){s=h<<24>>24<0;f=n;if(((s?g:S)+((s?c[y>>2]|0:h&255)<<2)|0)==(f|0)){f=h;break}if(!(Hb[c[(c[k>>2]|0)+12>>2]&63](k,8192,c[f>>2]|0)|0)){O=112;break}n=f+4|0;h=a[w>>0]|0;g=c[S>>2]|0}if((O|0)==112){O=0;f=a[w>>0]|0;g=c[S>>2]|0}o=f<<24>>24<0?g:S;s=o;q=n-s>>2;p=a[z>>0]|0;r=p<<24>>24<0;h=c[A>>2]|0;p=p&255;if(q>>>0>(r?h:p)>>>0)n=s;else{Y=(c[V>>2]|0)+(h<<2)|0;h=V+(p<<2)|0;p=r?Y:h;h=(r?Y:h)+(0-q<<2)|0;while(1){if((h|0)==(p|0))break c;if((c[h>>2]|0)!=(c[o>>2]|0)){n=s;break c}o=o+4|0;h=h+4|0}}}}while(0);o=n;h=t;d:while(1){Y=f<<24>>24<0;if((o|0)==((Y?g:S)+((Y?c[y>>2]|0:f&255)<<2)|0))break;n=c[b>>2]|0;do if(n){f=c[n+12>>2]|0;if((f|0)==(c[n+16>>2]|0))n=Eb[c[(c[n>>2]|0)+36>>2]&127](n)|0;else n=hE(c[f>>2]|0)|0;if(HE(n,gE()|0)|0){c[b>>2]=0;f=1;break}else{f=(c[b>>2]|0)==0;break}}else f=1;while(0);do if(h){n=c[h+12>>2]|0;if((n|0)==(c[h+16>>2]|0))n=Eb[c[(c[h>>2]|0)+36>>2]&127](h)|0;else n=hE(c[n>>2]|0)|0;if(!(HE(n,gE()|0)|0))if(f)break;else break d;else{c[e>>2]=0;O=134;break}}else O=134;while(0);if((O|0)==134){O=0;if(f)break;else h=0}n=c[b>>2]|0;f=c[n+12>>2]|0;if((f|0)==(c[n+16>>2]|0))n=Eb[c[(c[n>>2]|0)+36>>2]&127](n)|0;else n=hE(c[f>>2]|0)|0;if((n|0)!=(c[o>>2]|0))break;n=c[b>>2]|0;f=n+12|0;g=c[f>>2]|0;if((g|0)==(c[n+16>>2]|0))Eb[c[(c[n>>2]|0)+40>>2]&127](n)|0;else{c[f>>2]=g+4;hE(c[g>>2]|0)|0}o=o+4|0;f=a[w>>0]|0;g=c[S>>2]|0}if(v?(Y=a[w>>0]|0,t=Y<<24>>24<0,(o|0)!=((t?c[S>>2]|0:S)+((t?c[y>>2]|0:Y&255)<<2)|0)):0){O=146;break a}else n=N;break}case 4:{o=0;h=t;n=t;e:while(1){f=c[b>>2]|0;do if(f){g=c[f+12>>2]|0;if((g|0)==(c[f+16>>2]|0))f=Eb[c[(c[f>>2]|0)+36>>2]&127](f)|0;else f=hE(c[g>>2]|0)|0;if(HE(f,gE()|0)|0){c[b>>2]=0;g=1;break}else{g=(c[b>>2]|0)==0;break}}else g=1;while(0);do if(h){f=c[h+12>>2]|0;if((f|0)==(c[h+16>>2]|0))f=Eb[c[(c[h>>2]|0)+36>>2]&127](h)|0;else f=hE(c[f>>2]|0)|0;if(!(HE(f,gE()|0)|0))if(g){p=h;break}else{h=n;break e}else{c[e>>2]=0;n=0;O=160;break}}else O=160;while(0);if((O|0)==160){O=0;if(g){h=n;break}else p=0}f=c[b>>2]|0;g=c[f+12>>2]|0;if((g|0)==(c[f+16>>2]|0))g=Eb[c[(c[f>>2]|0)+36>>2]&127](f)|0;else g=hE(c[g>>2]|0)|0;if(Hb[c[(c[k>>2]|0)+12>>2]&63](k,2048,g)|0){f=c[m>>2]|0;if((f|0)==(c[H>>2]|0)){wK(l,m,H);f=c[m>>2]|0}c[m>>2]=f+4;c[f>>2]=g;f=o+1|0}else{Y=a[F>>0]|0;if(!((g|0)==(c[L>>2]|0)&(o|0?((Y<<24>>24<0?c[G>>2]|0:Y&255)|0)!=0:0))){h=n;break}f=c[P>>2]|0;if((f|0)==(c[I>>2]|0)){mK(W,P,I);f=c[P>>2]|0}c[P>>2]=f+4;c[f>>2]=o;f=0}g=c[b>>2]|0;h=g+12|0;o=c[h>>2]|0;if((o|0)==(c[g+16>>2]|0))Eb[c[(c[g>>2]|0)+40>>2]&127](g)|0;else{c[h>>2]=o+4;hE(c[o>>2]|0)|0}o=f;h=p}n=c[P>>2]|0;if(o|0?(c[W>>2]|0)!=(n|0):0){if((n|0)==(c[I>>2]|0)){mK(W,P,I);n=c[P>>2]|0}c[P>>2]=n+4;c[n>>2]=o}f:do if((c[M>>2]|0)>0){n=c[b>>2]|0;do if(n){f=c[n+12>>2]|0;if((f|0)==(c[n+16>>2]|0))n=Eb[c[(c[n>>2]|0)+36>>2]&127](n)|0;else n=hE(c[f>>2]|0)|0;if(HE(n,gE()|0)|0){c[b>>2]=0;f=1;break}else{f=(c[b>>2]|0)==0;break}}else f=1;while(0);do if(h){n=c[h+12>>2]|0;if((n|0)==(c[h+16>>2]|0))n=Eb[c[(c[h>>2]|0)+36>>2]&127](h)|0;else n=hE(c[n>>2]|0)|0;if(!(HE(n,gE()|0)|0))if(f)break;else{O=201;break a}else{c[e>>2]=0;O=195;break}}else O=195;while(0);if((O|0)==195){O=0;if(f){O=201;break a}else h=0}n=c[b>>2]|0;f=c[n+12>>2]|0;if((f|0)==(c[n+16>>2]|0))n=Eb[c[(c[n>>2]|0)+36>>2]&127](n)|0;else n=hE(c[f>>2]|0)|0;if((n|0)!=(c[K>>2]|0)){O=201;break a}n=c[b>>2]|0;f=n+12|0;g=c[f>>2]|0;if((g|0)==(c[n+16>>2]|0))Eb[c[(c[n>>2]|0)+40>>2]&127](n)|0;else{c[f>>2]=g+4;hE(c[g>>2]|0)|0}g=h;while(1){if((c[M>>2]|0)<=0)break f;n=c[b>>2]|0;do if(n){f=c[n+12>>2]|0;if((f|0)==(c[n+16>>2]|0))n=Eb[c[(c[n>>2]|0)+36>>2]&127](n)|0;else n=hE(c[f>>2]|0)|0;if(HE(n,gE()|0)|0){c[b>>2]=0;f=1;break}else{f=(c[b>>2]|0)==0;break}}else f=1;while(0);do if(g){n=c[g+12>>2]|0;if((n|0)==(c[g+16>>2]|0))n=Eb[c[(c[g>>2]|0)+36>>2]&127](g)|0;else n=hE(c[n>>2]|0)|0;if(!(HE(n,gE()|0)|0))if(f){h=g;break}else{O=226;break a}else{c[e>>2]=0;O=220;break}}else O=220;while(0);if((O|0)==220){O=0;if(f){O=226;break a}else h=0}n=c[b>>2]|0;f=c[n+12>>2]|0;if((f|0)==(c[n+16>>2]|0))n=Eb[c[(c[n>>2]|0)+36>>2]&127](n)|0;else n=hE(c[f>>2]|0)|0;if(!(Hb[c[(c[k>>2]|0)+12>>2]&63](k,2048,n)|0)){O=226;break a}if((c[m>>2]|0)==(c[H>>2]|0))wK(l,m,H);n=c[b>>2]|0;f=c[n+12>>2]|0;if((f|0)==(c[n+16>>2]|0))n=Eb[c[(c[n>>2]|0)+36>>2]&127](n)|0;else n=hE(c[f>>2]|0)|0;f=c[m>>2]|0;c[m>>2]=f+4;c[f>>2]=n;c[M>>2]=(c[M>>2]|0)+-1;n=c[b>>2]|0;f=n+12|0;g=c[f>>2]|0;if((g|0)==(c[n+16>>2]|0))Eb[c[(c[n>>2]|0)+40>>2]&127](n)|0;else{c[f>>2]=g+4;hE(c[g>>2]|0)|0}g=h}}while(0);if((c[m>>2]|0)==(c[l>>2]|0)){O=237;break a}else n=N;break}default:n=N}while(0);g:do if((O|0)==46){O=0;g=t;while(1){n=c[b>>2]|0;do if(n){f=c[n+12>>2]|0;if((f|0)==(c[n+16>>2]|0))n=Eb[c[(c[n>>2]|0)+36>>2]&127](n)|0;else n=hE(c[f>>2]|0)|0;if(HE(n,gE()|0)|0){c[b>>2]=0;f=1;break}else{f=(c[b>>2]|0)==0;break}}else f=1;while(0);do if(g){n=c[g+12>>2]|0;if((n|0)==(c[g+16>>2]|0))n=Eb[c[(c[g>>2]|0)+36>>2]&127](g)|0;else n=hE(c[n>>2]|0)|0;if(!(HE(n,gE()|0)|0))if(f){h=g;break}else{n=N;break g}else{c[e>>2]=0;O=60;break}}else O=60;while(0);if((O|0)==60){O=0;if(f){n=N;break g}else h=0}n=c[b>>2]|0;f=c[n+12>>2]|0;if((f|0)==(c[n+16>>2]|0))n=Eb[c[(c[n>>2]|0)+36>>2]&127](n)|0;else n=hE(c[f>>2]|0)|0;if(!(Hb[c[(c[k>>2]|0)+12>>2]&63](k,8192,n)|0)){n=N;break g}n=c[b>>2]|0;f=n+12|0;g=c[f>>2]|0;if((g|0)==(c[n+16>>2]|0))n=Eb[c[(c[n>>2]|0)+40>>2]&127](n)|0;else{c[f>>2]=g+4;n=hE(c[g>>2]|0)|0}BO(V,n);g=h}}while(0);N=n;u=u+1|0}h:do if((O|0)==44){c[i>>2]=c[i>>2]|4;f=0}else if((O|0)==103){c[i>>2]=c[i>>2]|4;f=0}else if((O|0)==146){c[i>>2]=c[i>>2]|4;f=0}else if((O|0)==201){c[i>>2]=c[i>>2]|4;f=0}else if((O|0)==226){c[i>>2]=c[i>>2]|4;f=0}else if((O|0)==237){c[i>>2]=c[i>>2]|4;f=0}else if((O|0)==239){i:do if(N|0){o=N+8+3|0;p=N+4|0;h=1;j:while(1){n=a[o>>0]|0;if(n<<24>>24<0)n=c[p>>2]|0;else n=n&255;if(h>>>0>=n>>>0)break i;n=c[b>>2]|0;do if(n){f=c[n+12>>2]|0;if((f|0)==(c[n+16>>2]|0))n=Eb[c[(c[n>>2]|0)+36>>2]&127](n)|0;else n=hE(c[f>>2]|0)|0;if(HE(n,gE()|0)|0){c[b>>2]=0;g=1;break}else{g=(c[b>>2]|0)==0;break}}else g=1;while(0);n=c[e>>2]|0;do if(n){f=c[n+12>>2]|0;if((f|0)==(c[n+16>>2]|0))n=Eb[c[(c[n>>2]|0)+36>>2]&127](n)|0;else n=hE(c[f>>2]|0)|0;if(!(HE(n,gE()|0)|0))if(g)break;else break j;else{c[e>>2]=0;O=258;break}}else O=258;while(0);if((O|0)==258?(O=0,g):0)break;n=c[b>>2]|0;f=c[n+12>>2]|0;if((f|0)==(c[n+16>>2]|0))n=Eb[c[(c[n>>2]|0)+36>>2]&127](n)|0;else n=hE(c[f>>2]|0)|0;if((a[o>>0]|0)<0)f=c[N>>2]|0;else f=N;if((n|0)!=(c[f+(h<<2)>>2]|0))break;n=c[b>>2]|0;f=n+12|0;g=c[f>>2]|0;if((g|0)==(c[n+16>>2]|0))Eb[c[(c[n>>2]|0)+40>>2]&127](n)|0;else{c[f>>2]=g+4;hE(c[g>>2]|0)|0}h=h+1|0}c[i>>2]=c[i>>2]|4;f=0;break h}while(0);f=c[W>>2]|0;n=c[P>>2]|0;if((f|0)!=(n|0)){c[Q>>2]=0;iG(R,f,n,Q);if(!(c[Q>>2]|0)){f=1;break}else{c[i>>2]=c[i>>2]|4;f=0;break}}else f=1}while(0);uO(V);uO(U);uO(T);uO(S);hO(R);n=c[W>>2]|0;c[W>>2]=0;if(n|0)Qb[c[W+4>>2]&255](n);yb=X;return f|0}function sK(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;n=yb;yb=yb+16|0;k=n;f=b+8|0;m=f+3|0;i=a[m>>0]|0;g=i<<24>>24<0;if(g){l=c[b+4>>2]|0;h=(c[f>>2]&2147483647)+-1|0}else{l=i&255;h=1}f=e-d|0;j=f>>2;do if(f|0){if(g){g=c[b>>2]|0;f=c[b+4>>2]|0}else{g=b;f=i&255}if(tK(d,g,g+(f<<2)|0)|0){c[k>>2]=0;c[k+4>>2]=0;c[k+8>>2]=0;uK(k,d,e);m=a[k+8+3>>0]|0;l=m<<24>>24<0;AO(b,l?c[k>>2]|0:k,l?c[k+4>>2]|0:m&255)|0;uO(k);break}if((h-l|0)>>>0>>0)zO(b,h,l+j-h|0,l,l,0,0);if((a[m>>0]|0)<0)f=c[b>>2]|0;else f=b;f=f+(l<<2)|0;while(1){if((d|0)==(e|0))break;HF(f,d);f=f+4|0;d=d+4|0}c[k>>2]=0;HF(f,k);d=l+j|0;if((a[m>>0]|0)<0){c[b+4>>2]=d;break}else{a[m>>0]=d;break}}while(0);yb=n;return b|0}function tK(a,b,c){a=a|0;b=b|0;c=c|0;return b>>>0<=a>>>0&a>>>0>>0|0}function uK(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;j=yb;yb=yb+16|0;i=j;h=e-d>>2;if(h>>>0>1073741807)cO(b);do if(h>>>0>=2){g=h+4&-4;if(g>>>0>1073741823)ua();else{f=rB(g<<2)|0;c[b>>2]=f;c[b+8>>2]=g|-2147483648;c[b+4>>2]=h;break}}else{a[b+8+3>>0]=h;f=b}while(0);while(1){if((d|0)==(e|0))break;HF(f,d);d=d+4|0;f=f+4|0}c[i>>2]=0;HF(f,i);yb=j;return}function vK(b,d,e,f,g,h,i,j,k,l){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;var m=0,n=0,o=0,p=0;p=yb;yb=yb+16|0;n=p+12|0;o=p;if(b){m=VF(d,56984)|0;Sb[c[(c[m>>2]|0)+44>>2]&63](n,m);b=c[n>>2]|0;a[e>>0]=b;a[e+1>>0]=b>>8;a[e+2>>0]=b>>16;a[e+3>>0]=b>>24;Sb[c[(c[m>>2]|0)+32>>2]&63](o,m);b=k+8|0;d=b+3|0;if((a[d>>0]|0)<0){e=c[k>>2]|0;c[n>>2]=0;HF(e,n);c[k+4>>2]=0;if((a[d>>0]|0)<0){Nf(c[k>>2]|0,c[b>>2]<<2);c[b>>2]=0}}else{c[n>>2]=0;HF(k,n);a[d>>0]=0};c[k>>2]=c[o>>2];c[k+4>>2]=c[o+4>>2];c[k+8>>2]=c[o+8>>2];b=0;while(1){if((b|0)==3)break;c[o+(b<<2)>>2]=0;b=b+1|0}uO(o);Sb[c[(c[m>>2]|0)+28>>2]&63](o,m);b=j+8|0;d=b+3|0;if((a[d>>0]|0)<0){k=c[j>>2]|0;c[n>>2]=0;HF(k,n);c[j+4>>2]=0;if((a[d>>0]|0)<0){Nf(c[j>>2]|0,c[b>>2]<<2);c[b>>2]=0}}else{c[n>>2]=0;HF(j,n);a[d>>0]=0};c[j>>2]=c[o>>2];c[j+4>>2]=c[o+4>>2];c[j+8>>2]=c[o+8>>2];b=0;while(1){if((b|0)==3)break;c[o+(b<<2)>>2]=0;b=b+1|0}uO(o);c[f>>2]=Eb[c[(c[m>>2]|0)+12>>2]&127](m)|0;c[g>>2]=Eb[c[(c[m>>2]|0)+16>>2]&127](m)|0;Sb[c[(c[m>>2]|0)+20>>2]&63](o,m);b=h+11|0;if((a[b>>0]|0)<0){g=c[h>>2]|0;a[n>>0]=0;$f(g,n);c[h+4>>2]=0;if((a[b>>0]|0)<0){g=h+8|0;Nf(c[h>>2]|0,c[g>>2]&2147483647);c[g>>2]=0}}else{a[n>>0]=0;$f(h,n);a[b>>0]=0};c[h>>2]=c[o>>2];c[h+4>>2]=c[o+4>>2];c[h+8>>2]=c[o+8>>2];b=0;while(1){if((b|0)==3)break;c[o+(b<<2)>>2]=0;b=b+1|0}hO(o);Sb[c[(c[m>>2]|0)+24>>2]&63](o,m);b=i+8|0;d=b+3|0;if((a[d>>0]|0)<0){h=c[i>>2]|0;c[n>>2]=0;HF(h,n);c[i+4>>2]=0;if((a[d>>0]|0)<0){Nf(c[i>>2]|0,c[b>>2]<<2);c[b>>2]=0}}else{c[n>>2]=0;HF(i,n);a[d>>0]=0};c[i>>2]=c[o>>2];c[i+4>>2]=c[o+4>>2];c[i+8>>2]=c[o+8>>2];b=0;while(1){if((b|0)==3)break;c[o+(b<<2)>>2]=0;b=b+1|0}uO(o);b=Eb[c[(c[m>>2]|0)+36>>2]&127](m)|0}else{m=VF(d,56976)|0;Sb[c[(c[m>>2]|0)+44>>2]&63](n,m);b=c[n>>2]|0;a[e>>0]=b;a[e+1>>0]=b>>8;a[e+2>>0]=b>>16;a[e+3>>0]=b>>24;Sb[c[(c[m>>2]|0)+32>>2]&63](o,m);b=k+8|0;d=b+3|0;if((a[d>>0]|0)<0){e=c[k>>2]|0;c[n>>2]=0;HF(e,n);c[k+4>>2]=0;if((a[d>>0]|0)<0){Nf(c[k>>2]|0,c[b>>2]<<2);c[b>>2]=0}}else{c[n>>2]=0;HF(k,n);a[d>>0]=0};c[k>>2]=c[o>>2];c[k+4>>2]=c[o+4>>2];c[k+8>>2]=c[o+8>>2];b=0;while(1){if((b|0)==3)break;c[o+(b<<2)>>2]=0;b=b+1|0}uO(o);Sb[c[(c[m>>2]|0)+28>>2]&63](o,m);b=j+8|0;d=b+3|0;if((a[d>>0]|0)<0){k=c[j>>2]|0;c[n>>2]=0;HF(k,n);c[j+4>>2]=0;if((a[d>>0]|0)<0){Nf(c[j>>2]|0,c[b>>2]<<2);c[b>>2]=0}}else{c[n>>2]=0;HF(j,n);a[d>>0]=0};c[j>>2]=c[o>>2];c[j+4>>2]=c[o+4>>2];c[j+8>>2]=c[o+8>>2];b=0;while(1){if((b|0)==3)break;c[o+(b<<2)>>2]=0;b=b+1|0}uO(o);c[f>>2]=Eb[c[(c[m>>2]|0)+12>>2]&127](m)|0;c[g>>2]=Eb[c[(c[m>>2]|0)+16>>2]&127](m)|0;Sb[c[(c[m>>2]|0)+20>>2]&63](o,m);b=h+11|0;if((a[b>>0]|0)<0){g=c[h>>2]|0;a[n>>0]=0;$f(g,n);c[h+4>>2]=0;if((a[b>>0]|0)<0){g=h+8|0;Nf(c[h>>2]|0,c[g>>2]&2147483647);c[g>>2]=0}}else{a[n>>0]=0;$f(h,n);a[b>>0]=0};c[h>>2]=c[o>>2];c[h+4>>2]=c[o+4>>2];c[h+8>>2]=c[o+8>>2];b=0;while(1){if((b|0)==3)break;c[o+(b<<2)>>2]=0;b=b+1|0}hO(o);Sb[c[(c[m>>2]|0)+24>>2]&63](o,m);b=i+8|0;d=b+3|0;if((a[d>>0]|0)<0){h=c[i>>2]|0;c[n>>2]=0;HF(h,n);c[i+4>>2]=0;if((a[d>>0]|0)<0){Nf(c[i>>2]|0,c[b>>2]<<2);c[b>>2]=0}}else{c[n>>2]=0;HF(i,n);a[d>>0]=0};c[i>>2]=c[o>>2];c[i+4>>2]=c[o+4>>2];c[i+8>>2]=c[o+8>>2];b=0;while(1){if((b|0)==3)break;c[o+(b<<2)>>2]=0;b=b+1|0}uO(o);b=Eb[c[(c[m>>2]|0)+36>>2]&127](m)|0}c[l>>2]=b;yb=p;return}function wK(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;i=a+4|0;f=(c[i>>2]|0)!=145;e=c[a>>2]|0;h=e;j=(c[d>>2]|0)-h|0;g=j<<1;g=j>>>0<2147483647?((g|0)==0?4:g):-1;h=(c[b>>2]|0)-h>>2;e=GO(f?e:0,g)|0;if(!e)_N();if(!f){f=c[a>>2]|0;c[a>>2]=e;if(f){Qb[c[i>>2]&255](f);e=c[a>>2]|0}}else c[a>>2]=e;c[i>>2]=146;c[b>>2]=e+(h<<2);c[d>>2]=(c[a>>2]|0)+(g>>>2<<2);return}function xK(a){a=a|0;AF(a);return}function yK(a){a=a|0;AF(a);QA(a);return}function zK(b,d,e,f,h,i){b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;i=+i;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0;E=yb;yb=yb+416|0;q=E+336|0;k=E+328|0;b=E+224|0;l=E+400|0;j=E+112|0;D=E+396|0;r=E+408|0;s=E+405|0;t=E+404|0;A=E+384|0;B=E+372|0;C=E+360|0;o=E+356|0;p=E;u=E+352|0;v=E+344|0;w=E+348|0;c[l>>2]=b;g[q>>3]=i;b=$y(b,100,50681,q)|0;if(b>>>0>99){b=YF()|0;g[k>>3]=i;b=sH(l,b,50681,k)|0;j=c[l>>2]|0;if(!j)_N();k=DO(b)|0;if(!k)_N();else{x=k;z=b;G=k;H=j}}else{x=j;z=b;G=0;H=0}GE(D,f);n=VF(D,56736)|0;m=c[l>>2]|0;Ib[c[(c[n>>2]|0)+32>>2]&15](n,m,m+z|0,x)|0;if(!z)m=0;else m=(a[c[l>>2]>>0]|0)==45;c[A>>2]=0;c[A+4>>2]=0;c[A+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[A+(b<<2)>>2]=0;b=b+1|0}c[B>>2]=0;c[B+4>>2]=0;c[B+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[B+(b<<2)>>2]=0;b=b+1|0}c[C>>2]=0;c[C+4>>2]=0;c[C+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[C+(b<<2)>>2]=0;b=b+1|0}BK(e,m,D,r,s,t,A,B,C,o);l=c[o>>2]|0;if((z|0)>(l|0)){k=a[C+11>>0]|0;b=a[B+11>>0]|0;b=b<<24>>24<0?c[B+4>>2]|0:b&255;j=l+1+(z-l<<1)|0;k=k<<24>>24<0?c[C+4>>2]|0:k&255}else{k=a[C+11>>0]|0;b=a[B+11>>0]|0;b=b<<24>>24<0?c[B+4>>2]|0:b&255;j=l+2|0;k=k<<24>>24<0?c[C+4>>2]|0:k&255}b=j+k+b|0;if(b>>>0>100){b=DO(b)|0;if(!b)_N();else{y=b;F=b}}else{y=p;F=0}CK(y,u,v,c[f+4>>2]|0,x,x+z|0,n,m,r,a[s>>0]|0,a[t>>0]|0,A,B,C,l);c[w>>2]=c[d>>2];d=c[u>>2]|0;b=c[v>>2]|0;c[q>>2]=c[w>>2];b=Zf(q,y,d,b,f,h)|0;if(F|0)EO(F);hO(C);hO(B);hO(A);WF(D);if(G|0)EO(G);if(H|0)EO(H);yb=E;return b|0}function AK(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;C=yb;yb=yb+176|0;p=C+156|0;B=C+152|0;u=C+164|0;v=C+161|0;w=C+160|0;y=C+140|0;z=C+128|0;A=C+116|0;l=C+112|0;n=C;q=C+108|0;r=C+104|0;s=C+100|0;GE(B,f);t=VF(B,56736)|0;i=h+11|0;o=a[i>>0]|0;b=o<<24>>24<0;j=h+4|0;if(!((b?c[j>>2]|0:o&255)|0))o=0;else{o=a[(b?c[h>>2]|0:h)>>0]|0;o=o<<24>>24==(Gb[c[(c[t>>2]|0)+28>>2]&63](t,45)|0)<<24>>24};c[y>>2]=0;c[y+4>>2]=0;c[y+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[y+(b<<2)>>2]=0;b=b+1|0}c[z>>2]=0;c[z+4>>2]=0;c[z+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[z+(b<<2)>>2]=0;b=b+1|0}c[A>>2]=0;c[A+4>>2]=0;c[A+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[A+(b<<2)>>2]=0;b=b+1|0}BK(e,o,B,u,v,w,y,z,A,l);k=a[i>>0]|0;m=k<<24>>24<0;k=m?c[j>>2]|0:k&255;j=c[l>>2]|0;if((k|0)>(j|0)){e=a[A+11>>0]|0;b=a[z+11>>0]|0;b=b<<24>>24<0?c[z+4>>2]|0:b&255;i=j+1+(k-j<<1)|0;e=e<<24>>24<0?c[A+4>>2]|0:e&255}else{e=a[A+11>>0]|0;b=a[z+11>>0]|0;b=b<<24>>24<0?c[z+4>>2]|0:b&255;i=j+2|0;e=e<<24>>24<0?c[A+4>>2]|0:e&255}b=i+e+b|0;if(b>>>0>100){b=DO(b)|0;if(!b)_N();else{x=b;D=b}}else{x=n;D=0}h=m?c[h>>2]|0:h;CK(x,q,r,c[f+4>>2]|0,h,h+k|0,t,o,u,a[v>>0]|0,a[w>>0]|0,y,z,A,j);c[s>>2]=c[d>>2];h=c[q>>2]|0;b=c[r>>2]|0;c[p>>2]=c[s>>2];b=Zf(p,x,h,b,f,g)|0;if(D|0)EO(D);hO(A);hO(z);hO(y);WF(B);yb=C;return b|0}function BK(b,d,e,f,g,h,i,j,k,l){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;var m=0,n=0,o=0,p=0;p=yb;yb=yb+16|0;n=p+12|0;o=p;if(b){m=VF(e,56968)|0;if(d){Sb[c[(c[m>>2]|0)+44>>2]&63](n,m);b=c[n>>2]|0;a[f>>0]=b;a[f+1>>0]=b>>8;a[f+2>>0]=b>>16;a[f+3>>0]=b>>24;Sb[c[(c[m>>2]|0)+32>>2]&63](o,m);b=k+11|0;if((a[b>>0]|0)<0){f=c[k>>2]|0;a[n>>0]=0;$f(f,n);c[k+4>>2]=0;if((a[b>>0]|0)<0){f=k+8|0;Nf(c[k>>2]|0,c[f>>2]&2147483647);c[f>>2]=0}}else{a[n>>0]=0;$f(k,n);a[b>>0]=0};c[k>>2]=c[o>>2];c[k+4>>2]=c[o+4>>2];c[k+8>>2]=c[o+8>>2];b=0;while(1){if((b|0)==3)break;c[o+(b<<2)>>2]=0;b=b+1|0}hO(o);e=m}else{Sb[c[(c[m>>2]|0)+40>>2]&63](n,m);b=c[n>>2]|0;a[f>>0]=b;a[f+1>>0]=b>>8;a[f+2>>0]=b>>16;a[f+3>>0]=b>>24;Sb[c[(c[m>>2]|0)+28>>2]&63](o,m);b=k+11|0;if((a[b>>0]|0)<0){f=c[k>>2]|0;a[n>>0]=0;$f(f,n);c[k+4>>2]=0;if((a[b>>0]|0)<0){f=k+8|0;Nf(c[k>>2]|0,c[f>>2]&2147483647);c[f>>2]=0}}else{a[n>>0]=0;$f(k,n);a[b>>0]=0};c[k>>2]=c[o>>2];c[k+4>>2]=c[o+4>>2];c[k+8>>2]=c[o+8>>2];b=0;while(1){if((b|0)==3)break;c[o+(b<<2)>>2]=0;b=b+1|0}hO(o);e=m}a[g>>0]=Eb[c[(c[m>>2]|0)+12>>2]&127](m)|0;a[h>>0]=Eb[c[(c[m>>2]|0)+16>>2]&127](m)|0;Sb[c[(c[e>>2]|0)+20>>2]&63](o,m);b=i+11|0;if((a[b>>0]|0)<0){h=c[i>>2]|0;a[n>>0]=0;$f(h,n);c[i+4>>2]=0;if((a[b>>0]|0)<0){h=i+8|0;Nf(c[i>>2]|0,c[h>>2]&2147483647);c[h>>2]=0}}else{a[n>>0]=0;$f(i,n);a[b>>0]=0};c[i>>2]=c[o>>2];c[i+4>>2]=c[o+4>>2];c[i+8>>2]=c[o+8>>2];b=0;while(1){if((b|0)==3)break;c[o+(b<<2)>>2]=0;b=b+1|0}hO(o);Sb[c[(c[e>>2]|0)+24>>2]&63](o,m);b=j+11|0;if((a[b>>0]|0)<0){i=c[j>>2]|0;a[n>>0]=0;$f(i,n);c[j+4>>2]=0;if((a[b>>0]|0)<0){n=j+8|0;Nf(c[j>>2]|0,c[n>>2]&2147483647);c[n>>2]=0}}else{a[n>>0]=0;$f(j,n);a[b>>0]=0};c[j>>2]=c[o>>2];c[j+4>>2]=c[o+4>>2];c[j+8>>2]=c[o+8>>2];b=0;while(1){if((b|0)==3)break;c[o+(b<<2)>>2]=0;b=b+1|0}hO(o);b=Eb[c[(c[m>>2]|0)+36>>2]&127](m)|0}else{m=VF(e,56960)|0;if(d){Sb[c[(c[m>>2]|0)+44>>2]&63](n,m);b=c[n>>2]|0;a[f>>0]=b;a[f+1>>0]=b>>8;a[f+2>>0]=b>>16;a[f+3>>0]=b>>24;Sb[c[(c[m>>2]|0)+32>>2]&63](o,m);b=k+11|0;if((a[b>>0]|0)<0){f=c[k>>2]|0;a[n>>0]=0;$f(f,n);c[k+4>>2]=0;if((a[b>>0]|0)<0){f=k+8|0;Nf(c[k>>2]|0,c[f>>2]&2147483647);c[f>>2]=0}}else{a[n>>0]=0;$f(k,n);a[b>>0]=0};c[k>>2]=c[o>>2];c[k+4>>2]=c[o+4>>2];c[k+8>>2]=c[o+8>>2];b=0;while(1){if((b|0)==3)break;c[o+(b<<2)>>2]=0;b=b+1|0}hO(o);e=m}else{Sb[c[(c[m>>2]|0)+40>>2]&63](n,m);b=c[n>>2]|0;a[f>>0]=b;a[f+1>>0]=b>>8;a[f+2>>0]=b>>16;a[f+3>>0]=b>>24;Sb[c[(c[m>>2]|0)+28>>2]&63](o,m);b=k+11|0;if((a[b>>0]|0)<0){f=c[k>>2]|0;a[n>>0]=0;$f(f,n);c[k+4>>2]=0;if((a[b>>0]|0)<0){f=k+8|0;Nf(c[k>>2]|0,c[f>>2]&2147483647);c[f>>2]=0}}else{a[n>>0]=0;$f(k,n);a[b>>0]=0};c[k>>2]=c[o>>2];c[k+4>>2]=c[o+4>>2];c[k+8>>2]=c[o+8>>2];b=0;while(1){if((b|0)==3)break;c[o+(b<<2)>>2]=0;b=b+1|0}hO(o);e=m}a[g>>0]=Eb[c[(c[m>>2]|0)+12>>2]&127](m)|0;a[h>>0]=Eb[c[(c[m>>2]|0)+16>>2]&127](m)|0;Sb[c[(c[e>>2]|0)+20>>2]&63](o,m);b=i+11|0;if((a[b>>0]|0)<0){h=c[i>>2]|0;a[n>>0]=0;$f(h,n);c[i+4>>2]=0;if((a[b>>0]|0)<0){h=i+8|0;Nf(c[i>>2]|0,c[h>>2]&2147483647);c[h>>2]=0}}else{a[n>>0]=0;$f(i,n);a[b>>0]=0};c[i>>2]=c[o>>2];c[i+4>>2]=c[o+4>>2];c[i+8>>2]=c[o+8>>2];b=0;while(1){if((b|0)==3)break;c[o+(b<<2)>>2]=0;b=b+1|0}hO(o);Sb[c[(c[e>>2]|0)+24>>2]&63](o,m);b=j+11|0;if((a[b>>0]|0)<0){i=c[j>>2]|0;a[n>>0]=0;$f(i,n);c[j+4>>2]=0;if((a[b>>0]|0)<0){n=j+8|0;Nf(c[j>>2]|0,c[n>>2]&2147483647);c[n>>2]=0}}else{a[n>>0]=0;$f(j,n);a[b>>0]=0};c[j>>2]=c[o>>2];c[j+4>>2]=c[o+4>>2];c[j+8>>2]=c[o+8>>2];b=0;while(1){if((b|0)==3)break;c[o+(b<<2)>>2]=0;b=b+1|0}hO(o);b=Eb[c[(c[m>>2]|0)+36>>2]&127](m)|0}c[l>>2]=b;yb=p;return}function CK(d,e,f,g,h,i,j,k,l,m,n,o,p,q,r){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;m=m|0;n=n|0;o=o|0;p=p|0;q=q|0;r=r|0;var s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0;c[f>>2]=d;y=q+11|0;G=q+4|0;z=p+11|0;A=p+4|0;B=(g&512|0)==0;C=j+8|0;D=(r|0)>0;E=o+11|0;F=o+4|0;x=0;while(1){if((x|0)==4)break;a:do switch(a[l+x>>0]|0){case 0:{c[e>>2]=c[f>>2];break}case 1:{c[e>>2]=c[f>>2];v=Gb[c[(c[j>>2]|0)+28>>2]&63](j,32)|0;w=c[f>>2]|0;c[f>>2]=w+1;a[w>>0]=v;break}case 3:{w=a[y>>0]|0;s=w<<24>>24<0;if((s?c[G>>2]|0:w&255)|0){v=a[(s?c[q>>2]|0:q)>>0]|0;w=c[f>>2]|0;c[f>>2]=w+1;a[w>>0]=v}break}case 2:{t=a[z>>0]|0;s=t<<24>>24<0;t=s?c[A>>2]|0:t&255;if(!(B|(t|0)==0)){w=s?c[p>>2]|0:p;u=w+t|0;s=c[f>>2]|0;t=w;while(1){if((t|0)==(u|0))break;a[s>>0]=a[t>>0]|0;s=s+1|0;t=t+1|0}c[f>>2]=s}break}case 4:{t=c[f>>2]|0;h=k?h+1|0:h;u=h;while(1){if(u>>>0>=i>>>0)break;s=a[u>>0]|0;if(s<<24>>24<=-1)break;if(!(b[(c[C>>2]|0)+(s<<24>>24<<1)>>1]&2048))break;u=u+1|0}if(D){v=r;while(1){s=(v|0)>0;if(!(u>>>0>h>>>0&s))break;w=u+-1|0;H=a[w>>0]|0;s=c[f>>2]|0;c[f>>2]=s+1;a[s>>0]=H;v=v+-1|0;u=w}if(s)w=Gb[c[(c[j>>2]|0)+28>>2]&63](j,48)|0;else w=0;s=v;while(1){v=c[f>>2]|0;c[f>>2]=v+1;if((s|0)<=0)break;a[v>>0]=w;s=s+-1|0}a[v>>0]=m}b:do if((u|0)==(h|0)){w=Gb[c[(c[j>>2]|0)+28>>2]&63](j,48)|0;H=c[f>>2]|0;c[f>>2]=H+1;a[H>>0]=w}else{H=a[E>>0]|0;s=H<<24>>24<0;if(!((s?c[F>>2]|0:H&255)|0))s=-1;else s=a[(s?c[o>>2]|0:o)>>0]|0;v=0;w=0;while(1){if((u|0)==(h|0))break b;if((w|0)==(s|0)){H=c[f>>2]|0;c[f>>2]=H+1;a[H>>0]=n;v=v+1|0;H=a[E>>0]|0;s=H<<24>>24<0;if(v>>>0<(s?c[F>>2]|0:H&255)>>>0){s=a[(s?c[o>>2]|0:o)+v>>0]|0;s=s<<24>>24==127?-1:s<<24>>24;w=0}else{s=w;w=0}}H=u+-1|0;J=a[H>>0]|0;I=c[f>>2]|0;c[f>>2]=I+1;a[I>>0]=J;w=w+1|0;u=H}}while(0);s=c[f>>2]|0;if((t|0)!=(s|0))while(1){s=s+-1|0;if(t>>>0>=s>>>0)break a;J=a[t>>0]|0;a[t>>0]=a[s>>0]|0;a[s>>0]=J;t=t+1|0}break}default:{}}while(0);x=x+1|0}h=a[y>>0]|0;s=h<<24>>24<0;h=s?c[G>>2]|0:h&255;if(h>>>0>1){J=s?c[q>>2]|0:q;t=J+h|0;s=c[f>>2]|0;h=J;while(1){h=h+1|0;if((h|0)==(t|0))break;a[s>>0]=a[h>>0]|0;s=s+1|0}c[f>>2]=s}switch((g&176)<<24>>24){case 32:{c[e>>2]=c[f>>2];break}case 16:break;default:c[e>>2]=d}return}function DK(a){a=a|0;AF(a);return}function EK(a){a=a|0;AF(a);QA(a);return}function FK(b,d,e,f,h,i){b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;i=+i;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0;E=yb;yb=yb+992|0;q=E+912|0;k=E+904|0;b=E+800|0;l=E+984|0;j=E+400|0;D=E+980|0;r=E+988|0;s=E+976|0;t=E+972|0;A=E+960|0;B=E+948|0;C=E+936|0;o=E+932|0;p=E;u=E+928|0;v=E+920|0;w=E+924|0;c[l>>2]=b;g[q>>3]=i;b=$y(b,100,50681,q)|0;if(b>>>0>99){b=YF()|0;g[k>>3]=i;b=sH(l,b,50681,k)|0;j=c[l>>2]|0;if(!j)_N();k=DO(b<<2)|0;if(!k)_N();else{x=k;z=b;G=k;H=j}}else{x=j;z=b;G=0;H=0}GE(D,f);n=VF(D,56768)|0;m=c[l>>2]|0;Ib[c[(c[n>>2]|0)+48>>2]&15](n,m,m+z|0,x)|0;if(!z)m=0;else m=(a[c[l>>2]>>0]|0)==45;c[A>>2]=0;c[A+4>>2]=0;c[A+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[A+(b<<2)>>2]=0;b=b+1|0}c[B>>2]=0;c[B+4>>2]=0;c[B+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[B+(b<<2)>>2]=0;b=b+1|0}c[C>>2]=0;c[C+4>>2]=0;c[C+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[C+(b<<2)>>2]=0;b=b+1|0}HK(e,m,D,r,s,t,A,B,C,o);l=c[o>>2]|0;if((z|0)>(l|0)){k=a[C+8+3>>0]|0;b=a[B+8+3>>0]|0;b=b<<24>>24<0?c[B+4>>2]|0:b&255;j=l+1+(z-l<<1)|0;k=k<<24>>24<0?c[C+4>>2]|0:k&255}else{k=a[C+8+3>>0]|0;b=a[B+8+3>>0]|0;b=b<<24>>24<0?c[B+4>>2]|0:b&255;j=l+2|0;k=k<<24>>24<0?c[C+4>>2]|0:k&255}b=j+k+b|0;if(b>>>0>100){b=DO(b<<2)|0;if(!b)_N();else{y=b;F=b}}else{y=p;F=0}IK(y,u,v,c[f+4>>2]|0,x,x+(z<<2)|0,n,m,r,c[s>>2]|0,c[t>>2]|0,A,B,C,l);c[w>>2]=c[d>>2];d=c[u>>2]|0;b=c[v>>2]|0;c[q>>2]=c[w>>2];b=GH(q,y,d,b,f,h)|0;if(F|0)EO(F);uO(C);uO(B);hO(A);WF(D);if(G|0)EO(G);if(H|0)EO(H);yb=E;return b|0}function GK(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;C=yb;yb=yb+480|0;p=C+464|0;B=C+460|0;u=C+468|0;v=C+456|0;w=C+452|0;y=C+440|0;z=C+428|0;A=C+416|0;l=C+412|0;n=C;q=C+408|0;r=C+404|0;s=C+400|0;GE(B,f);t=VF(B,56768)|0;i=h+8+3|0;o=a[i>>0]|0;b=o<<24>>24<0;j=h+4|0;if(!((b?c[j>>2]|0:o&255)|0))o=0;else{o=c[(b?c[h>>2]|0:h)>>2]|0;o=(o|0)==(Gb[c[(c[t>>2]|0)+44>>2]&63](t,45)|0)};c[y>>2]=0;c[y+4>>2]=0;c[y+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[y+(b<<2)>>2]=0;b=b+1|0}c[z>>2]=0;c[z+4>>2]=0;c[z+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[z+(b<<2)>>2]=0;b=b+1|0}c[A>>2]=0;c[A+4>>2]=0;c[A+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[A+(b<<2)>>2]=0;b=b+1|0}HK(e,o,B,u,v,w,y,z,A,l);k=a[i>>0]|0;m=k<<24>>24<0;k=m?c[j>>2]|0:k&255;j=c[l>>2]|0;if((k|0)>(j|0)){e=a[A+8+3>>0]|0;b=a[z+8+3>>0]|0;b=b<<24>>24<0?c[z+4>>2]|0:b&255;i=j+1+(k-j<<1)|0;e=e<<24>>24<0?c[A+4>>2]|0:e&255}else{e=a[A+8+3>>0]|0;b=a[z+8+3>>0]|0;b=b<<24>>24<0?c[z+4>>2]|0:b&255;i=j+2|0;e=e<<24>>24<0?c[A+4>>2]|0:e&255}b=i+e+b|0;if(b>>>0>100){b=DO(b<<2)|0;if(!b)_N();else{x=b;D=b}}else{x=n;D=0}h=m?c[h>>2]|0:h;IK(x,q,r,c[f+4>>2]|0,h,h+(k<<2)|0,t,o,u,c[v>>2]|0,c[w>>2]|0,y,z,A,j);c[s>>2]=c[d>>2];h=c[q>>2]|0;b=c[r>>2]|0;c[p>>2]=c[s>>2];b=GH(p,x,h,b,f,g)|0;if(D|0)EO(D);uO(A);uO(z);hO(y);WF(B);yb=C;return b|0}function HK(b,d,e,f,g,h,i,j,k,l){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;var m=0,n=0,o=0,p=0;p=yb;yb=yb+16|0;n=p+12|0;o=p;if(b){m=VF(e,56984)|0;if(d){Sb[c[(c[m>>2]|0)+44>>2]&63](n,m);b=c[n>>2]|0;a[f>>0]=b;a[f+1>>0]=b>>8;a[f+2>>0]=b>>16;a[f+3>>0]=b>>24;Sb[c[(c[m>>2]|0)+32>>2]&63](o,m);b=k+8|0;e=b+3|0;if((a[e>>0]|0)<0){f=c[k>>2]|0;c[n>>2]=0;HF(f,n);c[k+4>>2]=0;if((a[e>>0]|0)<0){Nf(c[k>>2]|0,c[b>>2]<<2);c[b>>2]=0}}else{c[n>>2]=0;HF(k,n);a[e>>0]=0};c[k>>2]=c[o>>2];c[k+4>>2]=c[o+4>>2];c[k+8>>2]=c[o+8>>2];b=0;while(1){if((b|0)==3)break;c[o+(b<<2)>>2]=0;b=b+1|0}uO(o)}else{Sb[c[(c[m>>2]|0)+40>>2]&63](n,m);b=c[n>>2]|0;a[f>>0]=b;a[f+1>>0]=b>>8;a[f+2>>0]=b>>16;a[f+3>>0]=b>>24;Sb[c[(c[m>>2]|0)+28>>2]&63](o,m);b=k+8|0;e=b+3|0;if((a[e>>0]|0)<0){f=c[k>>2]|0;c[n>>2]=0;HF(f,n);c[k+4>>2]=0;if((a[e>>0]|0)<0){Nf(c[k>>2]|0,c[b>>2]<<2);c[b>>2]=0}}else{c[n>>2]=0;HF(k,n);a[e>>0]=0};c[k>>2]=c[o>>2];c[k+4>>2]=c[o+4>>2];c[k+8>>2]=c[o+8>>2];b=0;while(1){if((b|0)==3)break;c[o+(b<<2)>>2]=0;b=b+1|0}uO(o)}c[g>>2]=Eb[c[(c[m>>2]|0)+12>>2]&127](m)|0;c[h>>2]=Eb[c[(c[m>>2]|0)+16>>2]&127](m)|0;Sb[c[(c[m>>2]|0)+20>>2]&63](o,m);b=i+11|0;if((a[b>>0]|0)<0){h=c[i>>2]|0;a[n>>0]=0;$f(h,n);c[i+4>>2]=0;if((a[b>>0]|0)<0){h=i+8|0;Nf(c[i>>2]|0,c[h>>2]&2147483647);c[h>>2]=0}}else{a[n>>0]=0;$f(i,n);a[b>>0]=0};c[i>>2]=c[o>>2];c[i+4>>2]=c[o+4>>2];c[i+8>>2]=c[o+8>>2];b=0;while(1){if((b|0)==3)break;c[o+(b<<2)>>2]=0;b=b+1|0}hO(o);Sb[c[(c[m>>2]|0)+24>>2]&63](o,m);b=j+8|0;e=b+3|0;if((a[e>>0]|0)<0){i=c[j>>2]|0;c[n>>2]=0;HF(i,n);c[j+4>>2]=0;if((a[e>>0]|0)<0){Nf(c[j>>2]|0,c[b>>2]<<2);c[b>>2]=0}}else{c[n>>2]=0;HF(j,n);a[e>>0]=0};c[j>>2]=c[o>>2];c[j+4>>2]=c[o+4>>2];c[j+8>>2]=c[o+8>>2];b=0;while(1){if((b|0)==3)break;c[o+(b<<2)>>2]=0;b=b+1|0}uO(o);b=Eb[c[(c[m>>2]|0)+36>>2]&127](m)|0}else{m=VF(e,56976)|0;if(d){Sb[c[(c[m>>2]|0)+44>>2]&63](n,m);b=c[n>>2]|0;a[f>>0]=b;a[f+1>>0]=b>>8;a[f+2>>0]=b>>16;a[f+3>>0]=b>>24;Sb[c[(c[m>>2]|0)+32>>2]&63](o,m);b=k+8|0;e=b+3|0;if((a[e>>0]|0)<0){f=c[k>>2]|0;c[n>>2]=0;HF(f,n);c[k+4>>2]=0;if((a[e>>0]|0)<0){Nf(c[k>>2]|0,c[b>>2]<<2);c[b>>2]=0}}else{c[n>>2]=0;HF(k,n);a[e>>0]=0};c[k>>2]=c[o>>2];c[k+4>>2]=c[o+4>>2];c[k+8>>2]=c[o+8>>2];b=0;while(1){if((b|0)==3)break;c[o+(b<<2)>>2]=0;b=b+1|0}uO(o)}else{Sb[c[(c[m>>2]|0)+40>>2]&63](n,m);b=c[n>>2]|0;a[f>>0]=b;a[f+1>>0]=b>>8;a[f+2>>0]=b>>16;a[f+3>>0]=b>>24;Sb[c[(c[m>>2]|0)+28>>2]&63](o,m);b=k+8|0;e=b+3|0;if((a[e>>0]|0)<0){f=c[k>>2]|0;c[n>>2]=0;HF(f,n);c[k+4>>2]=0;if((a[e>>0]|0)<0){Nf(c[k>>2]|0,c[b>>2]<<2);c[b>>2]=0}}else{c[n>>2]=0;HF(k,n);a[e>>0]=0};c[k>>2]=c[o>>2];c[k+4>>2]=c[o+4>>2];c[k+8>>2]=c[o+8>>2];b=0;while(1){if((b|0)==3)break;c[o+(b<<2)>>2]=0;b=b+1|0}uO(o)}c[g>>2]=Eb[c[(c[m>>2]|0)+12>>2]&127](m)|0;c[h>>2]=Eb[c[(c[m>>2]|0)+16>>2]&127](m)|0;Sb[c[(c[m>>2]|0)+20>>2]&63](o,m);b=i+11|0;if((a[b>>0]|0)<0){h=c[i>>2]|0;a[n>>0]=0;$f(h,n);c[i+4>>2]=0;if((a[b>>0]|0)<0){h=i+8|0;Nf(c[i>>2]|0,c[h>>2]&2147483647);c[h>>2]=0}}else{a[n>>0]=0;$f(i,n);a[b>>0]=0};c[i>>2]=c[o>>2];c[i+4>>2]=c[o+4>>2];c[i+8>>2]=c[o+8>>2];b=0;while(1){if((b|0)==3)break;c[o+(b<<2)>>2]=0;b=b+1|0}hO(o);Sb[c[(c[m>>2]|0)+24>>2]&63](o,m);b=j+8|0;e=b+3|0;if((a[e>>0]|0)<0){i=c[j>>2]|0;c[n>>2]=0;HF(i,n);c[j+4>>2]=0;if((a[e>>0]|0)<0){Nf(c[j>>2]|0,c[b>>2]<<2);c[b>>2]=0}}else{c[n>>2]=0;HF(j,n);a[e>>0]=0};c[j>>2]=c[o>>2];c[j+4>>2]=c[o+4>>2];c[j+8>>2]=c[o+8>>2];b=0;while(1){if((b|0)==3)break;c[o+(b<<2)>>2]=0;b=b+1|0}uO(o);b=Eb[c[(c[m>>2]|0)+36>>2]&127](m)|0}c[l>>2]=b;yb=p;return}function IK(b,d,e,f,g,h,i,j,k,l,m,n,o,p,q){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;m=m|0;n=n|0;o=o|0;p=p|0;q=q|0;var r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0;c[e>>2]=b;z=p+8+3|0;G=p+4|0;A=o+8+3|0;B=o+4|0;C=(f&512|0)==0;D=(q|0)>0;E=n+11|0;F=n+4|0;y=0;while(1){if((y|0)==4)break;a:do switch(a[k+y>>0]|0){case 0:{c[d>>2]=c[e>>2];break}case 1:{c[d>>2]=c[e>>2];w=Gb[c[(c[i>>2]|0)+44>>2]&63](i,32)|0;x=c[e>>2]|0;c[e>>2]=x+4;c[x>>2]=w;break}case 3:{x=a[z>>0]|0;r=x<<24>>24<0;if((r?c[G>>2]|0:x&255)|0){w=c[(r?c[p>>2]|0:p)>>2]|0;x=c[e>>2]|0;c[e>>2]=x+4;c[x>>2]=w}break}case 2:{v=a[A>>0]|0;r=v<<24>>24<0;v=r?c[B>>2]|0:v&255;if(!(C|(v|0)==0)){u=r?c[o>>2]|0:o;s=u+(v<<2)|0;t=c[e>>2]|0;r=t;while(1){if((u|0)==(s|0))break;c[r>>2]=c[u>>2];r=r+4|0;u=u+4|0}c[e>>2]=t+(v<<2)}break}case 4:{s=c[e>>2]|0;g=j?g+4|0:g;r=g;while(1){if(r>>>0>=h>>>0)break;if(!(Hb[c[(c[i>>2]|0)+12>>2]&63](i,2048,c[r>>2]|0)|0))break;r=r+4|0}if(D){u=q;while(1){t=(u|0)>0;if(!(r>>>0>g>>>0&t))break;x=r+-4|0;v=c[x>>2]|0;w=c[e>>2]|0;c[e>>2]=w+4;c[w>>2]=v;u=u+-1|0;r=x}if(t)w=Gb[c[(c[i>>2]|0)+44>>2]&63](i,48)|0;else w=0;v=c[e>>2]|0;while(1){t=v+4|0;if((u|0)<=0)break;c[v>>2]=w;u=u+-1|0;v=t}c[e>>2]=t;c[v>>2]=l;t=r}else t=r;if((t|0)==(g|0)){w=Gb[c[(c[i>>2]|0)+44>>2]&63](i,48)|0;x=c[e>>2]|0;r=x+4|0;c[e>>2]=r;c[x>>2]=w}else{x=a[E>>0]|0;r=x<<24>>24<0;if(!((r?c[F>>2]|0:x&255)|0))r=-1;else r=a[(r?c[n>>2]|0:n)>>0]|0;u=0;v=0;x=t;while(1){if((x|0)==(g|0))break;t=c[e>>2]|0;if((v|0)==(r|0)){w=t+4|0;c[e>>2]=w;c[t>>2]=m;t=u+1|0;u=a[E>>0]|0;r=u<<24>>24<0;if(t>>>0<(r?c[F>>2]|0:u&255)>>>0){r=a[(r?c[n>>2]|0:n)+t>>0]|0;r=r<<24>>24==127?-1:r<<24>>24;u=t;v=0;t=w}else{r=v;u=t;v=0;t=w}}w=x+-4|0;H=c[w>>2]|0;c[e>>2]=t+4;c[t>>2]=H;v=v+1|0;x=w}r=c[e>>2]|0}if((s|0)!=(r|0))while(1){r=r+-4|0;if(s>>>0>=r>>>0)break a;H=c[s>>2]|0;c[s>>2]=c[r>>2];c[r>>2]=H;s=s+4|0}break}default:{}}while(0);y=y+1|0}r=a[z>>0]|0;g=r<<24>>24<0;r=g?c[G>>2]|0:r&255;if(r>>>0>1){s=c[p>>2]|0;u=g?s+4|0:G;r=(g?s:p)+(r<<2)|0;s=c[e>>2]|0;t=r-u|0;g=s;while(1){if((u|0)==(r|0))break;c[g>>2]=c[u>>2];g=g+4|0;u=u+4|0}c[e>>2]=s+(t>>>2<<2)}switch((f&176)<<24>>24){case 32:{c[d>>2]=c[e>>2];break}case 16:break;default:c[d>>2]=b}return}function JK(a){a=a|0;AF(a);return}function KK(a){a=a|0;AF(a);QA(a);return}function LK(b,d,e){b=b|0;d=d|0;e=e|0;e=Ny((a[d+11>>0]|0)<0?c[d>>2]|0:d,1)|0;return e>>>((e|0)!=(-1|0)&1)|0}function MK(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0;j=yb;yb=yb+16|0;i=j;c[i>>2]=0;c[i+4>>2]=0;c[i+8>>2]=0;d=0;while(1){if((d|0)==3)break;c[i+(d<<2)>>2]=0;d=d+1|0}k=a[h+11>>0]|0;l=k<<24>>24<0;d=l?c[h>>2]|0:h;h=d+(l?c[h+4>>2]|0:k&255)|0;while(1){if(d>>>0>=h>>>0)break;qO(i,a[d>>0]|0);d=d+1|0}d=(a[i+11>>0]|0)<0?c[i>>2]|0:i;e=My((e|0)==-1?-1:e<<1,f,g,d)|0;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;h=0;while(1){if((h|0)==3)break;c[b+(h<<2)>>2]=0;h=h+1|0}h=d+(Oy(e)|0)|0;while(1){if(d>>>0>=h>>>0)break;qO(b,a[d>>0]|0);d=d+1|0}hO(i);yb=j;return}function NK(a,b){a=a|0;b=b|0;return}function OK(a){a=a|0;AF(a);return}function PK(a){a=a|0;AF(a);QA(a);return}function QK(b,d,e){b=b|0;d=d|0;e=e|0;e=Ny((a[d+11>>0]|0)<0?c[d>>2]|0:d,1)|0;return e>>>((e|0)!=(-1|0)&1)|0}function RK(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;t=yb;yb=yb+176|0;p=t+168|0;q=t;r=t+164|0;s=t+160|0;n=t+128|0;l=t+152|0;o=t+144|0;c[n>>2]=0;c[n+4>>2]=0;c[n+8>>2]=0;d=0;while(1){if((d|0)==3)break;c[n+(d<<2)>>2]=0;d=d+1|0}c[l+4>>2]=0;c[l>>2]=19072;j=a[h+8+3>>0]|0;k=j<<24>>24<0;d=k?c[h>>2]|0:h;j=d+((k?c[h+4>>2]|0:j&255)<<2)|0;k=q+32|0;h=d;d=0;while(1){if(!((d|0)!=2&h>>>0>>0))break;c[s>>2]=h;i=Ob[c[(c[l>>2]|0)+12>>2]&15](l,p,h,j,s,q,k,r)|0;if((i|0)==2?1:(c[s>>2]|0)==(h|0)){m=8;break}d=q;while(1){if(d>>>0>=(c[r>>2]|0)>>>0)break;qO(n,a[d>>0]|0);d=d+1|0}h=c[s>>2]|0;d=i}if((m|0)==8)lJ(0);AF(l);i=(a[n+11>>0]|0)<0?c[n>>2]|0:n;h=My((e|0)==-1?-1:e<<1,f,g,i)|0;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;d=0;while(1){if((d|0)==3)break;c[b+(d<<2)>>2]=0;d=d+1|0}c[o+4>>2]=0;c[o>>2]=19120;j=i+(Oy(h)|0)|0;k=j;l=q+128|0;h=i;d=0;while(1){if(!((d|0)!=2&h>>>0>>0)){m=23;break}c[s>>2]=h;i=Ob[c[(c[o>>2]|0)+16>>2]&15](o,p,h,(k-h|0)>32?h+32|0:j,s,q,l,r)|0;if((i|0)==2?1:(c[s>>2]|0)==(h|0)){m=19;break}d=q;while(1){if(d>>>0>=(c[r>>2]|0)>>>0)break;BO(b,c[d>>2]|0);d=d+4|0}h=c[s>>2]|0;d=i}if((m|0)==19)lJ(0);else if((m|0)==23){AF(o);hO(n);yb=t;return}}function SK(a,b){a=a|0;b=b|0;return}function TK(a){a=a|0;AF(a);QA(a);return}function UK(a,b,d,e,f,g,h,i){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0;b=yb;yb=yb+16|0;j=b+4|0;a=b;c[j>>2]=d;c[a>>2]=g;h=bL(d,e,j,g,h,a,1114111,0)|0;c[f>>2]=c[j>>2];c[i>>2]=c[a>>2];yb=b;return h|0}function VK(a,b,d,e,f,g,h,i){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0;b=yb;yb=yb+16|0;j=b+4|0;a=b;c[j>>2]=d;c[a>>2]=g;h=aL(d,e,j,g,h,a,1114111,0)|0;c[f>>2]=c[j>>2];c[i>>2]=c[a>>2];yb=b;return h|0}function WK(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 XK(a){a=a|0;return 0}function YK(a){a=a|0;return 0}function ZK(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return $K(c,d,e,1114111,0)|0}function _K(a){a=a|0;return 4}function $K(b,c,e,f,g){b=b|0;c=c|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;o=c;if((((g&4|0)!=0?(o-b|0)>2:0)?(a[b>>0]|0)==-17:0)?(a[b+1>>0]|0)==-69:0)g=(a[b+2>>0]|0)==-65?b+3|0:b;else g=b;n=0;a:while(1){if(!(n>>>0>>0&g>>>0>>0))break;k=a[g>>0]|0;m=k&255;do if(k<<24>>24<=-1){if((k&255)<194)break a;if((k&255)<224){if((o-g|0)<2)break a;h=d[g+1>>0]|0;if((h&192|0)!=128)break a;if((h&63|m<<6&1984)>>>0>f>>>0)break a;g=g+2|0;break}if((k&255)<240){if((o-g|0)<3)break a;i=a[g+1>>0]|0;h=a[g+2>>0]|0;switch(k<<24>>24){case -32:{if((i&-32)<<24>>24!=-96)break a;break}case -19:{if((i&-32)<<24>>24!=-128)break a;break}default:if((i&-64)<<24>>24!=-128)break a}h=h&255;if((h&192|0)!=128)break a;if(((i&63)<<6|m<<12&61440|h&63)>>>0>f>>>0)break a;else{g=g+3|0;break}}if((k&255)>=245)break a;if((o-g|0)<4)break a;l=a[g+1>>0]|0;h=a[g+2>>0]|0;j=a[g+3>>0]|0;switch(k<<24>>24){case -16:{if((l+112&255)>=48)break a;break}case -12:{if((l&-16)<<24>>24!=-128)break a;break}default:if((l&-64)<<24>>24!=-128)break a}i=h&255;if((i&192|0)!=128)break a;h=j&255;if((h&192|0)!=128)break a;if(((l&63)<<12|m<<18&1835008|i<<6&4032|h&63)>>>0>f>>>0)break a;else g=g+4|0}else{if(m>>>0>f>>>0)break a;g=g+1|0}while(0);n=n+1|0}return g-b|0}function aL(b,e,f,g,h,i,j,k){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0;c[f>>2]=b;c[i>>2]=g;if(k&4){b=c[f>>2]|0;g=e;if((((g-b|0)>2?(a[b>>0]|0)==-17:0)?(a[b+1>>0]|0)==-69:0)?(a[b+2>>0]|0)==-65:0)c[f>>2]=b+3}else g=e;a:while(1){p=c[f>>2]|0;if(p>>>0>=e>>>0){b=0;break}q=c[i>>2]|0;if(q>>>0>=h>>>0){b=1;break}n=a[p>>0]|0;b=n&255;do if(n<<24>>24>-1)if(b>>>0>j>>>0){b=2;break a}else k=1;else{if((n&255)<194){b=2;break a}if((n&255)<224){if((g-p|0)<2){b=1;break a}k=d[p+1>>0]|0;if((k&192|0)!=128){b=2;break a}b=k&63|b<<6&1984;if(b>>>0>j>>>0){b=2;break a}else{k=2;break}}if((n&255)<240){if((g-p|0)<3){b=1;break a}l=a[p+1>>0]|0;k=a[p+2>>0]|0;switch(n<<24>>24){case -32:{if((l&-32)<<24>>24!=-96){b=2;break a}break}case -19:{if((l&-32)<<24>>24!=-128){b=2;break a}break}default:if((l&-64)<<24>>24!=-128){b=2;break a}}k=k&255;if((k&192|0)!=128){b=2;break a}b=(l&63)<<6|b<<12&61440|k&63;if(b>>>0>j>>>0){b=2;break a}else{k=3;break}}if((n&255)>=245){b=2;break a}if((g-p|0)<4){b=1;break a}o=a[p+1>>0]|0;k=a[p+2>>0]|0;m=a[p+3>>0]|0;switch(n<<24>>24){case -16:{if((o+112&255)>=48){b=2;break a}break}case -12:{if((o&-16)<<24>>24!=-128){b=2;break a}break}default:if((o&-64)<<24>>24!=-128){b=2;break a}}l=k&255;if((l&192|0)!=128){b=2;break a}k=m&255;if((k&192|0)!=128){b=2;break a}b=(o&63)<<12|b<<18&1835008|l<<6&4032|k&63;if(b>>>0>j>>>0){b=2;break a}else k=4}while(0);c[q>>2]=b;c[f>>2]=p+k;c[i>>2]=(c[i>>2]|0)+4}return b|0}function bL(b,d,e,f,g,h,i,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,l=0;c[e>>2]=b;c[h>>2]=f;l=g;if(j&2)if((l-f|0)<3)b=1;else{c[h>>2]=f+1;a[f>>0]=-17;k=c[h>>2]|0;c[h>>2]=k+1;a[k>>0]=-69;k=c[h>>2]|0;c[h>>2]=k+1;a[k>>0]=-65;k=4}else k=4;a:do if((k|0)==4){b=c[e>>2]|0;while(1){if(b>>>0>=d>>>0){b=0;break a}f=c[b>>2]|0;if(f>>>0>i>>>0|(f&-2048|0)==55296){b=2;break a}do if(f>>>0>=128){if(f>>>0<2048){b=c[h>>2]|0;if((l-b|0)<2){b=1;break a}c[h>>2]=b+1;a[b>>0]=f>>>6|192;k=c[h>>2]|0;c[h>>2]=k+1;a[k>>0]=f&63|128;break}b=c[h>>2]|0;g=l-b|0;if(f>>>0<65536){if((g|0)<3){b=1;break a}c[h>>2]=b+1;a[b>>0]=f>>>12|224;k=c[h>>2]|0;c[h>>2]=k+1;a[k>>0]=f>>>6&63|128;k=c[h>>2]|0;c[h>>2]=k+1;a[k>>0]=f&63|128;break}else{if((g|0)<4){b=1;break a}c[h>>2]=b+1;a[b>>0]=f>>>18|240;k=c[h>>2]|0;c[h>>2]=k+1;a[k>>0]=f>>>12&63|128;k=c[h>>2]|0;c[h>>2]=k+1;a[k>>0]=f>>>6&63|128;k=c[h>>2]|0;c[h>>2]=k+1;a[k>>0]=f&63|128;break}}else{b=c[h>>2]|0;if((l-b|0)<1){b=1;break a}c[h>>2]=b+1;a[b>>0]=f}while(0);b=(c[e>>2]|0)+4|0;c[e>>2]=b}}while(0);return b|0}function cL(a){a=a|0;AF(a);QA(a);return}function dL(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 eL(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 fL(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 gL(a){a=a|0;return 1}function hL(a){a=a|0;return 1}function iL(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;d=d-c|0;return (d>>>0>>0?d:e)|0}function jL(a){a=a|0;return 1}function kL(b,d,e,f,g,h,i,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;q=yb;yb=yb+16|0;p=q;n=q+8|0;k=e;while(1){if((k|0)==(f|0)){k=f;break}if(!(c[k>>2]|0))break;k=k+4|0}c[j>>2]=h;c[g>>2]=e;m=i;o=b+8|0;a:while(1){if((h|0)==(i|0)|(e|0)==(f|0)){k=36;break}r=d;l=c[r+4>>2]|0;b=p;c[b>>2]=c[r>>2];c[b+4>>2]=l;b=cz(c[o>>2]|0)|0;l=Sz(h,g,k-e>>2,m-h|0,d)|0;if(b|0)cz(b)|0;switch(l|0){case -1:{k=10;break a}case 0:{e=1;k=33;break a}default:{}}h=(c[j>>2]|0)+l|0;c[j>>2]=h;if((h|0)==(i|0)){k=34;break}if((k|0)==(f|0)){k=f;e=c[g>>2]|0}else{h=cz(c[o>>2]|0)|0;e=Yx(n,0,d)|0;if(h|0)cz(h)|0;if((e|0)==-1){e=2;k=32;break}if(e>>>0>(m-(c[j>>2]|0)|0)>>>0){e=1;k=32;break}h=n;while(1){if(!e)break;l=a[h>>0]|0;r=c[j>>2]|0;c[j>>2]=r+1;a[r>>0]=l;h=h+1|0;e=e+-1|0}e=(c[g>>2]|0)+4|0;c[g>>2]=e;k=e;while(1){if((k|0)==(f|0)){k=f;break}if(!(c[k>>2]|0))break;k=k+4|0}h=c[j>>2]|0}}if((k|0)==10){c[j>>2]=h;while(1){if((e|0)==(c[g>>2]|0))break;r=c[e>>2]|0;k=cz(c[o>>2]|0)|0;h=Yx(h,r,p)|0;if(k|0)cz(k)|0;if((h|0)==-1)break;h=(c[j>>2]|0)+h|0;c[j>>2]=h;e=e+4|0}c[g>>2]=e;e=2;k=33}else if((k|0)==32)k=33;else if((k|0)==34){e=c[g>>2]|0;k=36}if((k|0)!=33)if((k|0)==36)e=(e|0)!=(f|0)&1;yb=q;return e|0} -function Zb(a){a=a|0;var b=0;b=yb;yb=yb+a|0;yb=yb+15&-16;return b|0}function _b(){return yb|0}function $b(a){a=a|0;yb=a}function ac(a,b){a=a|0;b=b|0;yb=a;zb=b}function bc(a,e,f,h,i){a=a|0;e=e|0;f=f|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0.0;y=yb;yb=yb+16|0;v=y;x=(e|0)/2|0;w=(f|0)/2|0;m=c[i>>2]|0;u=w+-1|0;f=m;j=m+((B(u,x)|0)<<1)|0;k=0;while(1){if((k|0)>=(x|0))break;b[j>>1]=0;b[f>>1]=0;f=f+2|0;j=j+2|0;k=k+1|0}t=x+-1|0;f=m;j=m+(t<<1)|0;k=0;while(1){if((k|0)>=(w|0))break;b[j>>1]=0;b[f>>1]=0;f=f+(x<<1)|0;j=j+(x<<1)|0;k=k+1|0}l=i+1179664|0;s=0-x|0;j=a+((e<<1)+2)|0;r=1;o=0;k=m+(x+1<<1)|0;a:while(1){if((r|0)>=(u|0)){j=59;break}q=j;f=o;p=1;while(1){if((p|0)>=(t|0))break;do if((d[q>>0]|0|0)>(h|0))b[k>>1]=0;else{a=k+(s<<1)|0;j=b[a>>1]|0;if(j<<16>>16>0){b[k>>1]=j;o=(j<<16>>16)*7|0;n=i+1310736+(o+-7<<2)|0;c[n>>2]=(c[n>>2]|0)+1;n=i+1310736+(o+-6<<2)|0;c[n>>2]=(c[n>>2]|0)+p;n=i+1310736+(o+-5<<2)|0;c[n>>2]=(c[n>>2]|0)+r;c[i+1310736+(o+-1<<2)>>2]=r;break}n=b[a+2>>1]|0;o=n<<16>>16;j=b[a+-2>>1]|0;m=j<<16>>16;a=j<<16>>16>0;if(n<<16>>16<=0){if(a){b[k>>1]=j;j=m*7|0;a=i+1310736+(j+-7<<2)|0;c[a>>2]=(c[a>>2]|0)+1;a=i+1310736+(j+-6<<2)|0;c[a>>2]=(c[a>>2]|0)+p;a=i+1310736+(j+-5<<2)|0;c[a>>2]=(c[a>>2]|0)+r;a=i+1310736+(j+-3<<2)|0;if((c[a>>2]|0)<(p|0))c[a>>2]=p;c[i+1310736+(j+-1<<2)>>2]=r;break}j=b[k+-2>>1]|0;if(j<<16>>16>0){b[k>>1]=j;j=(j<<16>>16)*7|0;o=i+1310736+(j+-7<<2)|0;c[o>>2]=(c[o>>2]|0)+1;o=i+1310736+(j+-6<<2)|0;c[o>>2]=(c[o>>2]|0)+p;o=i+1310736+(j+-5<<2)|0;c[o>>2]=(c[o>>2]|0)+r;j=i+1310736+(j+-3<<2)|0;if((c[j>>2]|0)>=(p|0))break;c[j>>2]=p;break}else{j=f+1|0;if((f|0)>32767){j=54;break a}b[k>>1]=j;c[i+1179664+(f<<2)>>2]=j<<16>>16;f=f*7|0;c[i+1310736+(f<<2)>>2]=1;c[i+1310736+(f+1<<2)>>2]=p;c[i+1310736+(f+2<<2)>>2]=r;c[i+1310736+(f+3<<2)>>2]=p;c[i+1310736+(f+4<<2)>>2]=p;c[i+1310736+(f+5<<2)>>2]=r;c[i+1310736+(f+6<<2)>>2]=r;f=j;break}}if(a){j=c[i+1179664+(o+-1<<2)>>2]|0;n=c[i+1179664+(m+-1<<2)>>2]|0;b:do if((j|0)<=(n|0)){b[k>>1]=j;if((j|0)<(n|0)){a=l;m=0;while(1){if((m|0)>=(f|0))break b;if((c[a>>2]|0)==(n|0))c[a>>2]=j;a=a+4|0;m=m+1|0}}}else{b[k>>1]=n;a=l;m=0;while(1){if((m|0)>=(f|0)){j=n;break b}if((c[a>>2]|0)==(j|0))c[a>>2]=n;a=a+4|0;m=m+1|0}}while(0);o=(j<<16>>16)*7|0;n=i+1310736+(o+-7<<2)|0;c[n>>2]=(c[n>>2]|0)+1;n=i+1310736+(o+-6<<2)|0;c[n>>2]=(c[n>>2]|0)+p;n=i+1310736+(o+-5<<2)|0;c[n>>2]=(c[n>>2]|0)+r;c[i+1310736+(o+-1<<2)>>2]=r;break}a=b[k+-2>>1]|0;if(a<<16>>16<=0){b[k>>1]=n;j=o*7|0;a=i+1310736+(j+-7<<2)|0;c[a>>2]=(c[a>>2]|0)+1;a=i+1310736+(j+-6<<2)|0;c[a>>2]=(c[a>>2]|0)+p;a=i+1310736+(j+-5<<2)|0;c[a>>2]=(c[a>>2]|0)+r;a=i+1310736+(j+-4<<2)|0;if((c[a>>2]|0)>(p|0))c[a>>2]=p;c[i+1310736+(j+-1<<2)>>2]=r;break}j=c[i+1179664+(o+-1<<2)>>2]|0;n=c[i+1179664+((a<<16>>16)+-1<<2)>>2]|0;c:do if((j|0)<=(n|0)){b[k>>1]=j;if((j|0)<(n|0)){a=l;m=0;while(1){if((m|0)>=(f|0))break c;if((c[a>>2]|0)==(n|0))c[a>>2]=j;a=a+4|0;m=m+1|0}}}else{b[k>>1]=n;a=l;m=0;while(1){if((m|0)>=(f|0)){j=n;break c}if((c[a>>2]|0)==(j|0))c[a>>2]=n;a=a+4|0;m=m+1|0}}while(0);o=(j<<16>>16)*7|0;n=i+1310736+(o+-7<<2)|0;c[n>>2]=(c[n>>2]|0)+1;n=i+1310736+(o+-6<<2)|0;c[n>>2]=(c[n>>2]|0)+p;o=i+1310736+(o+-5<<2)|0;c[o>>2]=(c[o>>2]|0)+r}while(0);q=q+2|0;p=p+1|0;k=k+2|0}j=q+e+4|0;r=r+1|0;o=f;k=k+4|0}d:do if((j|0)==54){Se(0,3,19708,v);f=-1}else if((j|0)==59){m=i+12|0;f=1;a=1;while(1){if((a|0)>(o|0))break;j=c[l>>2]|0;if((j|0)==(a|0))k=f+1|0;else{k=f;f=c[i+1179664+(j+-1<<2)>>2]|0}c[l>>2]=f;f=k;a=a+1|0;l=l+4|0}n=i+8|0;j=f+-1|0;c[n>>2]=j;if(!j)f=0;else{_O(m|0,0,j<<2|0)|0;_O(i+655376|0,0,j<<4|0)|0;f=0;while(1){if((f|0)>=(j|0))break;v=f<<2;c[i+131084+(v<<2)>>2]=x;c[i+131084+((v|1)<<2)>>2]=0;c[i+131084+((v|2)<<2)>>2]=w;c[i+131084+((v|3)<<2)>>2]=0;f=f+1|0}a=0;while(1){if((a|0)>=(o|0))break;k=(c[i+1179664+(a<<2)>>2]|0)+-1|0;l=a*7|0;f=i+12+(k<<2)|0;c[f>>2]=(c[f>>2]|0)+(c[i+1310736+(l<<2)>>2]|0);f=k<<1;j=i+655376+(f<<3)|0;g[j>>3]=+g[j>>3]+ +(c[i+1310736+(l+1<<2)>>2]|0);f=i+655376+((f|1)<<3)|0;g[f>>3]=+g[f>>3]+ +(c[i+1310736+(l+2<<2)>>2]|0);k=k<<2;f=i+131084+(k<<2)|0;j=c[i+1310736+(l+3<<2)>>2]|0;if((c[f>>2]|0)>(j|0))c[f>>2]=j;f=i+131084+((k|1)<<2)|0;j=c[i+1310736+(l+4<<2)>>2]|0;if((c[f>>2]|0)<(j|0))c[f>>2]=j;f=i+131084+((k|2)<<2)|0;j=c[i+1310736+(l+5<<2)>>2]|0;if((c[f>>2]|0)>(j|0))c[f>>2]=j;j=i+131084+((k|3)<<2)|0;f=c[i+1310736+(l+6<<2)>>2]|0;if((c[j>>2]|0)<(f|0))c[j>>2]=f;a=a+1|0}j=c[n>>2]|0;f=0;while(1){if((f|0)>=(j|0)){f=0;break d}z=+(c[i+12+(f<<2)>>2]|0);x=f<<1;w=i+655376+(x<<3)|0;g[w>>3]=+g[w>>3]/z;x=i+655376+((x|1)<<3)|0;g[x>>3]=+g[x>>3]/z;f=f+1|0}}}while(0);yb=y;return f|0}function cc(a,e,f,h,i){a=a|0;e=e|0;f=f|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0.0;x=yb;yb=yb+16|0;w=x;n=c[i>>2]|0;v=f+-1|0;j=n;k=n+((B(v,e)|0)<<1)|0;l=0;while(1){if((l|0)>=(e|0))break;b[k>>1]=0;b[j>>1]=0;j=j+2|0;k=k+2|0;l=l+1|0}u=e+-1|0;j=n;k=n+(u<<1)|0;l=0;while(1){if((l|0)>=(f|0))break;b[k>>1]=0;b[j>>1]=0;j=j+(e<<1)|0;k=k+(e<<1)|0;l=l+1|0}m=i+1179664|0;l=e+1|0;t=0-e|0;k=a+l|0;s=1;p=0;l=n+(l<<1)|0;a:while(1){if((s|0)>=(v|0)){k=59;break}r=k;j=p;q=1;while(1){if((q|0)>=(u|0))break;do if((d[r>>0]|0|0)>(h|0))b[l>>1]=0;else{a=l+(t<<1)|0;k=b[a>>1]|0;if(k<<16>>16>0){b[l>>1]=k;p=(k<<16>>16)*7|0;o=i+1310736+(p+-7<<2)|0;c[o>>2]=(c[o>>2]|0)+1;o=i+1310736+(p+-6<<2)|0;c[o>>2]=(c[o>>2]|0)+q;o=i+1310736+(p+-5<<2)|0;c[o>>2]=(c[o>>2]|0)+s;c[i+1310736+(p+-1<<2)>>2]=s;break}o=b[a+2>>1]|0;p=o<<16>>16;k=b[a+-2>>1]|0;n=k<<16>>16;a=k<<16>>16>0;if(o<<16>>16<=0){if(a){b[l>>1]=k;k=n*7|0;a=i+1310736+(k+-7<<2)|0;c[a>>2]=(c[a>>2]|0)+1;a=i+1310736+(k+-6<<2)|0;c[a>>2]=(c[a>>2]|0)+q;a=i+1310736+(k+-5<<2)|0;c[a>>2]=(c[a>>2]|0)+s;a=i+1310736+(k+-3<<2)|0;if((c[a>>2]|0)<(q|0))c[a>>2]=q;c[i+1310736+(k+-1<<2)>>2]=s;break}k=b[l+-2>>1]|0;if(k<<16>>16>0){b[l>>1]=k;k=(k<<16>>16)*7|0;p=i+1310736+(k+-7<<2)|0;c[p>>2]=(c[p>>2]|0)+1;p=i+1310736+(k+-6<<2)|0;c[p>>2]=(c[p>>2]|0)+q;p=i+1310736+(k+-5<<2)|0;c[p>>2]=(c[p>>2]|0)+s;k=i+1310736+(k+-3<<2)|0;if((c[k>>2]|0)>=(q|0))break;c[k>>2]=q;break}else{k=j+1|0;if((j|0)>32767){k=54;break a}b[l>>1]=k;c[i+1179664+(j<<2)>>2]=k<<16>>16;j=j*7|0;c[i+1310736+(j<<2)>>2]=1;c[i+1310736+(j+1<<2)>>2]=q;c[i+1310736+(j+2<<2)>>2]=s;c[i+1310736+(j+3<<2)>>2]=q;c[i+1310736+(j+4<<2)>>2]=q;c[i+1310736+(j+5<<2)>>2]=s;c[i+1310736+(j+6<<2)>>2]=s;j=k;break}}if(a){k=c[i+1179664+(p+-1<<2)>>2]|0;o=c[i+1179664+(n+-1<<2)>>2]|0;b:do if((k|0)<=(o|0)){b[l>>1]=k;if((k|0)<(o|0)){a=m;n=0;while(1){if((n|0)>=(j|0))break b;if((c[a>>2]|0)==(o|0))c[a>>2]=k;a=a+4|0;n=n+1|0}}}else{b[l>>1]=o;a=m;n=0;while(1){if((n|0)>=(j|0)){k=o;break b}if((c[a>>2]|0)==(k|0))c[a>>2]=o;a=a+4|0;n=n+1|0}}while(0);p=(k<<16>>16)*7|0;o=i+1310736+(p+-7<<2)|0;c[o>>2]=(c[o>>2]|0)+1;o=i+1310736+(p+-6<<2)|0;c[o>>2]=(c[o>>2]|0)+q;o=i+1310736+(p+-5<<2)|0;c[o>>2]=(c[o>>2]|0)+s;c[i+1310736+(p+-1<<2)>>2]=s;break}k=b[l+-2>>1]|0;if(k<<16>>16<=0){b[l>>1]=o;k=p*7|0;a=i+1310736+(k+-7<<2)|0;c[a>>2]=(c[a>>2]|0)+1;a=i+1310736+(k+-6<<2)|0;c[a>>2]=(c[a>>2]|0)+q;a=i+1310736+(k+-5<<2)|0;c[a>>2]=(c[a>>2]|0)+s;a=i+1310736+(k+-4<<2)|0;if((c[a>>2]|0)>(q|0))c[a>>2]=q;c[i+1310736+(k+-1<<2)>>2]=s;break}o=c[i+1179664+(p+-1<<2)>>2]|0;k=c[i+1179664+((k<<16>>16)+-1<<2)>>2]|0;c:do if((o|0)<=(k|0)){b[l>>1]=o;if((o|0)<(k|0)){a=m;n=0;while(1){if((n|0)>=(j|0)){k=o;break c}if((c[a>>2]|0)==(k|0))c[a>>2]=o;a=a+4|0;n=n+1|0}}else k=o}else{b[l>>1]=k;a=m;n=0;while(1){if((n|0)>=(j|0))break c;if((c[a>>2]|0)==(o|0))c[a>>2]=k;a=a+4|0;n=n+1|0}}while(0);p=(k<<16>>16)*7|0;o=i+1310736+(p+-7<<2)|0;c[o>>2]=(c[o>>2]|0)+1;o=i+1310736+(p+-6<<2)|0;c[o>>2]=(c[o>>2]|0)+q;p=i+1310736+(p+-5<<2)|0;c[p>>2]=(c[p>>2]|0)+s}while(0);r=r+1|0;q=q+1|0;l=l+2|0}k=r+2|0;s=s+1|0;p=j;l=l+4|0}d:do if((k|0)==54){Se(0,3,19708,w);j=-1}else if((k|0)==59){n=i+12|0;j=1;a=1;while(1){if((a|0)>(p|0))break;k=c[m>>2]|0;if((k|0)==(a|0))l=j+1|0;else{l=j;j=c[i+1179664+(k+-1<<2)>>2]|0}c[m>>2]=j;j=l;a=a+1|0;m=m+4|0}o=i+8|0;k=j+-1|0;c[o>>2]=k;if(!k)j=0;else{_O(n|0,0,k<<2|0)|0;_O(i+655376|0,0,k<<4|0)|0;j=0;while(1){if((j|0)>=(k|0))break;w=j<<2;c[i+131084+(w<<2)>>2]=e;c[i+131084+((w|1)<<2)>>2]=0;c[i+131084+((w|2)<<2)>>2]=f;c[i+131084+((w|3)<<2)>>2]=0;j=j+1|0}a=0;while(1){if((a|0)>=(p|0))break;l=(c[i+1179664+(a<<2)>>2]|0)+-1|0;m=a*7|0;j=i+12+(l<<2)|0;c[j>>2]=(c[j>>2]|0)+(c[i+1310736+(m<<2)>>2]|0);j=l<<1;k=i+655376+(j<<3)|0;g[k>>3]=+g[k>>3]+ +(c[i+1310736+(m+1<<2)>>2]|0);j=i+655376+((j|1)<<3)|0;g[j>>3]=+g[j>>3]+ +(c[i+1310736+(m+2<<2)>>2]|0);l=l<<2;j=i+131084+(l<<2)|0;k=c[i+1310736+(m+3<<2)>>2]|0;if((c[j>>2]|0)>(k|0))c[j>>2]=k;j=i+131084+((l|1)<<2)|0;k=c[i+1310736+(m+4<<2)>>2]|0;if((c[j>>2]|0)<(k|0))c[j>>2]=k;j=i+131084+((l|2)<<2)|0;k=c[i+1310736+(m+5<<2)>>2]|0;if((c[j>>2]|0)>(k|0))c[j>>2]=k;k=i+131084+((l|3)<<2)|0;j=c[i+1310736+(m+6<<2)>>2]|0;if((c[k>>2]|0)<(j|0))c[k>>2]=j;a=a+1|0}k=c[o>>2]|0;j=0;while(1){if((j|0)>=(k|0)){j=0;break d}y=+(c[i+12+(j<<2)>>2]|0);f=j<<1;e=i+655376+(f<<3)|0;g[e>>3]=+g[e>>3]/y;f=i+655376+((f|1)<<3)|0;g[f>>3]=+g[f>>3]/y;j=j+1|0}}}while(0);yb=x;return j|0}function dc(a,e,f,h,i){a=a|0;e=e|0;f=f|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0.0;x=yb;yb=yb+16|0;w=x;n=c[i>>2]|0;v=f+-1|0;j=n;k=0;l=n+((B(v,e)|0)<<1)|0;while(1){if((k|0)>=(e|0))break;b[l>>1]=0;b[j>>1]=0;j=j+2|0;k=k+1|0;l=l+2|0}u=e+-1|0;j=n;k=0;l=n+(u<<1)|0;while(1){if((k|0)>=(f|0))break;b[l>>1]=0;b[j>>1]=0;j=j+(e<<1)|0;k=k+1|0;l=l+(e<<1)|0}m=i+1179664|0;l=e+1|0;t=0-e|0;a=a+l|0;k=h+l|0;s=1;o=0;l=n+(l<<1)|0;a:while(1){if((s|0)>=(v|0)){k=59;break}q=k;j=o;p=1;r=l;while(1){if((p|0)>=(u|0))break;do if((d[a>>0]|0)>(d[q>>0]|0))b[r>>1]=0;else{l=r+(t<<1)|0;k=b[l>>1]|0;if(k<<16>>16>0){b[r>>1]=k;o=(k<<16>>16)*7|0;n=i+1310736+(o+-7<<2)|0;c[n>>2]=(c[n>>2]|0)+1;n=i+1310736+(o+-6<<2)|0;c[n>>2]=(c[n>>2]|0)+p;n=i+1310736+(o+-5<<2)|0;c[n>>2]=(c[n>>2]|0)+s;c[i+1310736+(o+-1<<2)>>2]=s;break}n=b[l+2>>1]|0;o=n<<16>>16;k=b[l+-2>>1]|0;h=k<<16>>16;l=k<<16>>16>0;if(n<<16>>16<=0){if(l){b[r>>1]=k;k=h*7|0;l=i+1310736+(k+-7<<2)|0;c[l>>2]=(c[l>>2]|0)+1;l=i+1310736+(k+-6<<2)|0;c[l>>2]=(c[l>>2]|0)+p;l=i+1310736+(k+-5<<2)|0;c[l>>2]=(c[l>>2]|0)+s;l=i+1310736+(k+-3<<2)|0;if((c[l>>2]|0)<(p|0))c[l>>2]=p;c[i+1310736+(k+-1<<2)>>2]=s;break}k=b[r+-2>>1]|0;if(k<<16>>16>0){b[r>>1]=k;k=(k<<16>>16)*7|0;o=i+1310736+(k+-7<<2)|0;c[o>>2]=(c[o>>2]|0)+1;o=i+1310736+(k+-6<<2)|0;c[o>>2]=(c[o>>2]|0)+p;o=i+1310736+(k+-5<<2)|0;c[o>>2]=(c[o>>2]|0)+s;k=i+1310736+(k+-3<<2)|0;if((c[k>>2]|0)>=(p|0))break;c[k>>2]=p;break}else{k=j+1|0;if((j|0)>32767){k=54;break a}b[r>>1]=k;c[i+1179664+(j<<2)>>2]=k<<16>>16;j=j*7|0;c[i+1310736+(j<<2)>>2]=1;c[i+1310736+(j+1<<2)>>2]=p;c[i+1310736+(j+2<<2)>>2]=s;c[i+1310736+(j+3<<2)>>2]=p;c[i+1310736+(j+4<<2)>>2]=p;c[i+1310736+(j+5<<2)>>2]=s;c[i+1310736+(j+6<<2)>>2]=s;j=k;break}}if(l){k=c[i+1179664+(o+-1<<2)>>2]|0;n=c[i+1179664+(h+-1<<2)>>2]|0;b:do if((k|0)<=(n|0)){b[r>>1]=k;if((k|0)<(n|0)){l=m;h=0;while(1){if((h|0)>=(j|0))break b;if((c[l>>2]|0)==(n|0))c[l>>2]=k;l=l+4|0;h=h+1|0}}}else{b[r>>1]=n;l=m;h=0;while(1){if((h|0)>=(j|0)){k=n;break b}if((c[l>>2]|0)==(k|0))c[l>>2]=n;l=l+4|0;h=h+1|0}}while(0);o=(k<<16>>16)*7|0;n=i+1310736+(o+-7<<2)|0;c[n>>2]=(c[n>>2]|0)+1;n=i+1310736+(o+-6<<2)|0;c[n>>2]=(c[n>>2]|0)+p;n=i+1310736+(o+-5<<2)|0;c[n>>2]=(c[n>>2]|0)+s;c[i+1310736+(o+-1<<2)>>2]=s;break}l=b[r+-2>>1]|0;if(l<<16>>16<=0){b[r>>1]=n;k=o*7|0;l=i+1310736+(k+-7<<2)|0;c[l>>2]=(c[l>>2]|0)+1;l=i+1310736+(k+-6<<2)|0;c[l>>2]=(c[l>>2]|0)+p;l=i+1310736+(k+-5<<2)|0;c[l>>2]=(c[l>>2]|0)+s;l=i+1310736+(k+-4<<2)|0;if((c[l>>2]|0)>(p|0))c[l>>2]=p;c[i+1310736+(k+-1<<2)>>2]=s;break}k=c[i+1179664+(o+-1<<2)>>2]|0;n=c[i+1179664+((l<<16>>16)+-1<<2)>>2]|0;c:do if((k|0)<=(n|0)){b[r>>1]=k;if((k|0)<(n|0)){l=m;h=0;while(1){if((h|0)>=(j|0))break c;if((c[l>>2]|0)==(n|0))c[l>>2]=k;l=l+4|0;h=h+1|0}}}else{b[r>>1]=n;l=m;h=0;while(1){if((h|0)>=(j|0)){k=n;break c}if((c[l>>2]|0)==(k|0))c[l>>2]=n;l=l+4|0;h=h+1|0}}while(0);o=(k<<16>>16)*7|0;n=i+1310736+(o+-7<<2)|0;c[n>>2]=(c[n>>2]|0)+1;n=i+1310736+(o+-6<<2)|0;c[n>>2]=(c[n>>2]|0)+p;o=i+1310736+(o+-5<<2)|0;c[o>>2]=(c[o>>2]|0)+s}while(0);a=a+1|0;q=q+1|0;p=p+1|0;r=r+2|0}a=a+2|0;k=q+2|0;s=s+1|0;o=j;l=r+4|0}d:do if((k|0)==54){Se(0,3,19708,w);j=-1}else if((k|0)==59){h=i+12|0;j=1;a=1;while(1){if((a|0)>(o|0))break;k=c[m>>2]|0;if((k|0)==(a|0))l=j+1|0;else{l=j;j=c[i+1179664+(k+-1<<2)>>2]|0}c[m>>2]=j;j=l;a=a+1|0;m=m+4|0}n=i+8|0;k=j+-1|0;c[n>>2]=k;if(!k)j=0;else{_O(h|0,0,k<<2|0)|0;_O(i+655376|0,0,k<<4|0)|0;j=0;while(1){if((j|0)>=(k|0))break;w=j<<2;c[i+131084+(w<<2)>>2]=e;c[i+131084+((w|1)<<2)>>2]=0;c[i+131084+((w|2)<<2)>>2]=f;c[i+131084+((w|3)<<2)>>2]=0;j=j+1|0}a=0;while(1){if((a|0)>=(o|0))break;l=(c[i+1179664+(a<<2)>>2]|0)+-1|0;m=a*7|0;j=i+12+(l<<2)|0;c[j>>2]=(c[j>>2]|0)+(c[i+1310736+(m<<2)>>2]|0);j=l<<1;k=i+655376+(j<<3)|0;g[k>>3]=+g[k>>3]+ +(c[i+1310736+(m+1<<2)>>2]|0);j=i+655376+((j|1)<<3)|0;g[j>>3]=+g[j>>3]+ +(c[i+1310736+(m+2<<2)>>2]|0);l=l<<2;j=i+131084+(l<<2)|0;k=c[i+1310736+(m+3<<2)>>2]|0;if((c[j>>2]|0)>(k|0))c[j>>2]=k;j=i+131084+((l|1)<<2)|0;k=c[i+1310736+(m+4<<2)>>2]|0;if((c[j>>2]|0)<(k|0))c[j>>2]=k;j=i+131084+((l|2)<<2)|0;k=c[i+1310736+(m+5<<2)>>2]|0;if((c[j>>2]|0)>(k|0))c[j>>2]=k;k=i+131084+((l|3)<<2)|0;j=c[i+1310736+(m+6<<2)>>2]|0;if((c[k>>2]|0)<(j|0))c[k>>2]=j;a=a+1|0}k=c[n>>2]|0;j=0;while(1){if((j|0)>=(k|0)){j=0;break d}y=+(c[i+12+(j<<2)>>2]|0);f=j<<1;e=i+655376+(f<<3)|0;g[e>>3]=+g[e>>3]/y;f=i+655376+((f|1)<<3)|0;g[f>>3]=+g[f>>3]/y;j=j+1|0}}}while(0);yb=x;return j|0}function ec(a,e,f,h,i){a=a|0;e=e|0;f=f|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0.0;y=yb;yb=yb+16|0;v=y;x=(e|0)/2|0;w=(f|0)/2|0;m=c[i>>2]|0;u=w+-1|0;f=m;j=m+((B(u,x)|0)<<1)|0;k=0;while(1){if((k|0)>=(x|0))break;b[j>>1]=0;b[f>>1]=0;f=f+2|0;j=j+2|0;k=k+1|0}t=x+-1|0;f=m;j=m+(t<<1)|0;k=0;while(1){if((k|0)>=(w|0))break;b[j>>1]=0;b[f>>1]=0;f=f+(x<<1)|0;j=j+(x<<1)|0;k=k+1|0}l=i+1179664|0;s=0-x|0;j=a+((e<<1)+2)|0;r=1;o=0;k=m+(x+1<<1)|0;a:while(1){if((r|0)>=(u|0)){j=59;break}q=j;f=o;p=1;while(1){if((p|0)>=(t|0))break;do if((d[q>>0]|0|0)>(h|0)){a=k+(s<<1)|0;j=b[a>>1]|0;if(j<<16>>16>0){b[k>>1]=j;o=(j<<16>>16)*7|0;n=i+1310736+(o+-7<<2)|0;c[n>>2]=(c[n>>2]|0)+1;n=i+1310736+(o+-6<<2)|0;c[n>>2]=(c[n>>2]|0)+p;n=i+1310736+(o+-5<<2)|0;c[n>>2]=(c[n>>2]|0)+r;c[i+1310736+(o+-1<<2)>>2]=r;break}n=b[a+2>>1]|0;o=n<<16>>16;j=b[a+-2>>1]|0;m=j<<16>>16;a=j<<16>>16>0;if(n<<16>>16<=0){if(a){b[k>>1]=j;j=m*7|0;a=i+1310736+(j+-7<<2)|0;c[a>>2]=(c[a>>2]|0)+1;a=i+1310736+(j+-6<<2)|0;c[a>>2]=(c[a>>2]|0)+p;a=i+1310736+(j+-5<<2)|0;c[a>>2]=(c[a>>2]|0)+r;a=i+1310736+(j+-3<<2)|0;if((c[a>>2]|0)<(p|0))c[a>>2]=p;c[i+1310736+(j+-1<<2)>>2]=r;break}j=b[k+-2>>1]|0;if(j<<16>>16>0){b[k>>1]=j;j=(j<<16>>16)*7|0;o=i+1310736+(j+-7<<2)|0;c[o>>2]=(c[o>>2]|0)+1;o=i+1310736+(j+-6<<2)|0;c[o>>2]=(c[o>>2]|0)+p;o=i+1310736+(j+-5<<2)|0;c[o>>2]=(c[o>>2]|0)+r;j=i+1310736+(j+-3<<2)|0;if((c[j>>2]|0)>=(p|0))break;c[j>>2]=p;break}else{j=f+1|0;if((f|0)>32767){j=54;break a}b[k>>1]=j;c[i+1179664+(f<<2)>>2]=j<<16>>16;f=f*7|0;c[i+1310736+(f<<2)>>2]=1;c[i+1310736+(f+1<<2)>>2]=p;c[i+1310736+(f+2<<2)>>2]=r;c[i+1310736+(f+3<<2)>>2]=p;c[i+1310736+(f+4<<2)>>2]=p;c[i+1310736+(f+5<<2)>>2]=r;c[i+1310736+(f+6<<2)>>2]=r;f=j;break}}if(a){j=c[i+1179664+(o+-1<<2)>>2]|0;n=c[i+1179664+(m+-1<<2)>>2]|0;b:do if((j|0)<=(n|0)){b[k>>1]=j;if((j|0)<(n|0)){a=l;m=0;while(1){if((m|0)>=(f|0))break b;if((c[a>>2]|0)==(n|0))c[a>>2]=j;a=a+4|0;m=m+1|0}}}else{b[k>>1]=n;a=l;m=0;while(1){if((m|0)>=(f|0)){j=n;break b}if((c[a>>2]|0)==(j|0))c[a>>2]=n;a=a+4|0;m=m+1|0}}while(0);o=(j<<16>>16)*7|0;n=i+1310736+(o+-7<<2)|0;c[n>>2]=(c[n>>2]|0)+1;n=i+1310736+(o+-6<<2)|0;c[n>>2]=(c[n>>2]|0)+p;n=i+1310736+(o+-5<<2)|0;c[n>>2]=(c[n>>2]|0)+r;c[i+1310736+(o+-1<<2)>>2]=r;break}a=b[k+-2>>1]|0;if(a<<16>>16<=0){b[k>>1]=n;j=o*7|0;a=i+1310736+(j+-7<<2)|0;c[a>>2]=(c[a>>2]|0)+1;a=i+1310736+(j+-6<<2)|0;c[a>>2]=(c[a>>2]|0)+p;a=i+1310736+(j+-5<<2)|0;c[a>>2]=(c[a>>2]|0)+r;a=i+1310736+(j+-4<<2)|0;if((c[a>>2]|0)>(p|0))c[a>>2]=p;c[i+1310736+(j+-1<<2)>>2]=r;break}j=c[i+1179664+(o+-1<<2)>>2]|0;n=c[i+1179664+((a<<16>>16)+-1<<2)>>2]|0;c:do if((j|0)<=(n|0)){b[k>>1]=j;if((j|0)<(n|0)){a=l;m=0;while(1){if((m|0)>=(f|0))break c;if((c[a>>2]|0)==(n|0))c[a>>2]=j;a=a+4|0;m=m+1|0}}}else{b[k>>1]=n;a=l;m=0;while(1){if((m|0)>=(f|0)){j=n;break c}if((c[a>>2]|0)==(j|0))c[a>>2]=n;a=a+4|0;m=m+1|0}}while(0);o=(j<<16>>16)*7|0;n=i+1310736+(o+-7<<2)|0;c[n>>2]=(c[n>>2]|0)+1;n=i+1310736+(o+-6<<2)|0;c[n>>2]=(c[n>>2]|0)+p;o=i+1310736+(o+-5<<2)|0;c[o>>2]=(c[o>>2]|0)+r}else b[k>>1]=0;while(0);q=q+2|0;p=p+1|0;k=k+2|0}j=q+e+4|0;r=r+1|0;o=f;k=k+4|0}d:do if((j|0)==54){Se(0,3,19708,v);f=-1}else if((j|0)==59){m=i+12|0;f=1;a=1;while(1){if((a|0)>(o|0))break;j=c[l>>2]|0;if((j|0)==(a|0))k=f+1|0;else{k=f;f=c[i+1179664+(j+-1<<2)>>2]|0}c[l>>2]=f;f=k;a=a+1|0;l=l+4|0}n=i+8|0;j=f+-1|0;c[n>>2]=j;if(!j)f=0;else{_O(m|0,0,j<<2|0)|0;_O(i+655376|0,0,j<<4|0)|0;f=0;while(1){if((f|0)>=(j|0))break;v=f<<2;c[i+131084+(v<<2)>>2]=x;c[i+131084+((v|1)<<2)>>2]=0;c[i+131084+((v|2)<<2)>>2]=w;c[i+131084+((v|3)<<2)>>2]=0;f=f+1|0}a=0;while(1){if((a|0)>=(o|0))break;k=(c[i+1179664+(a<<2)>>2]|0)+-1|0;l=a*7|0;f=i+12+(k<<2)|0;c[f>>2]=(c[f>>2]|0)+(c[i+1310736+(l<<2)>>2]|0);f=k<<1;j=i+655376+(f<<3)|0;g[j>>3]=+g[j>>3]+ +(c[i+1310736+(l+1<<2)>>2]|0);f=i+655376+((f|1)<<3)|0;g[f>>3]=+g[f>>3]+ +(c[i+1310736+(l+2<<2)>>2]|0);k=k<<2;f=i+131084+(k<<2)|0;j=c[i+1310736+(l+3<<2)>>2]|0;if((c[f>>2]|0)>(j|0))c[f>>2]=j;f=i+131084+((k|1)<<2)|0;j=c[i+1310736+(l+4<<2)>>2]|0;if((c[f>>2]|0)<(j|0))c[f>>2]=j;f=i+131084+((k|2)<<2)|0;j=c[i+1310736+(l+5<<2)>>2]|0;if((c[f>>2]|0)>(j|0))c[f>>2]=j;j=i+131084+((k|3)<<2)|0;f=c[i+1310736+(l+6<<2)>>2]|0;if((c[j>>2]|0)<(f|0))c[j>>2]=f;a=a+1|0}j=c[n>>2]|0;f=0;while(1){if((f|0)>=(j|0)){f=0;break d}z=+(c[i+12+(f<<2)>>2]|0);x=f<<1;w=i+655376+(x<<3)|0;g[w>>3]=+g[w>>3]/z;x=i+655376+((x|1)<<3)|0;g[x>>3]=+g[x>>3]/z;f=f+1|0}}}while(0);yb=y;return f|0}function fc(a,e,f,h,i){a=a|0;e=e|0;f=f|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0.0;x=yb;yb=yb+16|0;w=x;n=c[i>>2]|0;v=f+-1|0;j=n;k=n+((B(v,e)|0)<<1)|0;l=0;while(1){if((l|0)>=(e|0))break;b[k>>1]=0;b[j>>1]=0;j=j+2|0;k=k+2|0;l=l+1|0}u=e+-1|0;j=n;k=n+(u<<1)|0;l=0;while(1){if((l|0)>=(f|0))break;b[k>>1]=0;b[j>>1]=0;j=j+(e<<1)|0;k=k+(e<<1)|0;l=l+1|0}m=i+1179664|0;l=e+1|0;t=0-e|0;k=a+l|0;s=1;p=0;l=n+(l<<1)|0;a:while(1){if((s|0)>=(v|0)){k=59;break}r=k;j=p;q=1;while(1){if((q|0)>=(u|0))break;do if((d[r>>0]|0|0)>(h|0)){a=l+(t<<1)|0;k=b[a>>1]|0;if(k<<16>>16>0){b[l>>1]=k;p=(k<<16>>16)*7|0;o=i+1310736+(p+-7<<2)|0;c[o>>2]=(c[o>>2]|0)+1;o=i+1310736+(p+-6<<2)|0;c[o>>2]=(c[o>>2]|0)+q;o=i+1310736+(p+-5<<2)|0;c[o>>2]=(c[o>>2]|0)+s;c[i+1310736+(p+-1<<2)>>2]=s;break}o=b[a+2>>1]|0;p=o<<16>>16;k=b[a+-2>>1]|0;n=k<<16>>16;a=k<<16>>16>0;if(o<<16>>16<=0){if(a){b[l>>1]=k;k=n*7|0;a=i+1310736+(k+-7<<2)|0;c[a>>2]=(c[a>>2]|0)+1;a=i+1310736+(k+-6<<2)|0;c[a>>2]=(c[a>>2]|0)+q;a=i+1310736+(k+-5<<2)|0;c[a>>2]=(c[a>>2]|0)+s;a=i+1310736+(k+-3<<2)|0;if((c[a>>2]|0)<(q|0))c[a>>2]=q;c[i+1310736+(k+-1<<2)>>2]=s;break}k=b[l+-2>>1]|0;if(k<<16>>16>0){b[l>>1]=k;k=(k<<16>>16)*7|0;p=i+1310736+(k+-7<<2)|0;c[p>>2]=(c[p>>2]|0)+1;p=i+1310736+(k+-6<<2)|0;c[p>>2]=(c[p>>2]|0)+q;p=i+1310736+(k+-5<<2)|0;c[p>>2]=(c[p>>2]|0)+s;k=i+1310736+(k+-3<<2)|0;if((c[k>>2]|0)>=(q|0))break;c[k>>2]=q;break}else{k=j+1|0;if((j|0)>32767){k=54;break a}b[l>>1]=k;c[i+1179664+(j<<2)>>2]=k<<16>>16;j=j*7|0;c[i+1310736+(j<<2)>>2]=1;c[i+1310736+(j+1<<2)>>2]=q;c[i+1310736+(j+2<<2)>>2]=s;c[i+1310736+(j+3<<2)>>2]=q;c[i+1310736+(j+4<<2)>>2]=q;c[i+1310736+(j+5<<2)>>2]=s;c[i+1310736+(j+6<<2)>>2]=s;j=k;break}}if(a){k=c[i+1179664+(p+-1<<2)>>2]|0;o=c[i+1179664+(n+-1<<2)>>2]|0;b:do if((k|0)<=(o|0)){b[l>>1]=k;if((k|0)<(o|0)){a=m;n=0;while(1){if((n|0)>=(j|0))break b;if((c[a>>2]|0)==(o|0))c[a>>2]=k;a=a+4|0;n=n+1|0}}}else{b[l>>1]=o;a=m;n=0;while(1){if((n|0)>=(j|0)){k=o;break b}if((c[a>>2]|0)==(k|0))c[a>>2]=o;a=a+4|0;n=n+1|0}}while(0);p=(k<<16>>16)*7|0;o=i+1310736+(p+-7<<2)|0;c[o>>2]=(c[o>>2]|0)+1;o=i+1310736+(p+-6<<2)|0;c[o>>2]=(c[o>>2]|0)+q;o=i+1310736+(p+-5<<2)|0;c[o>>2]=(c[o>>2]|0)+s;c[i+1310736+(p+-1<<2)>>2]=s;break}k=b[l+-2>>1]|0;if(k<<16>>16<=0){b[l>>1]=o;k=p*7|0;a=i+1310736+(k+-7<<2)|0;c[a>>2]=(c[a>>2]|0)+1;a=i+1310736+(k+-6<<2)|0;c[a>>2]=(c[a>>2]|0)+q;a=i+1310736+(k+-5<<2)|0;c[a>>2]=(c[a>>2]|0)+s;a=i+1310736+(k+-4<<2)|0;if((c[a>>2]|0)>(q|0))c[a>>2]=q;c[i+1310736+(k+-1<<2)>>2]=s;break}o=c[i+1179664+(p+-1<<2)>>2]|0;k=c[i+1179664+((k<<16>>16)+-1<<2)>>2]|0;c:do if((o|0)<=(k|0)){b[l>>1]=o;if((o|0)<(k|0)){a=m;n=0;while(1){if((n|0)>=(j|0)){k=o;break c}if((c[a>>2]|0)==(k|0))c[a>>2]=o;a=a+4|0;n=n+1|0}}else k=o}else{b[l>>1]=k;a=m;n=0;while(1){if((n|0)>=(j|0))break c;if((c[a>>2]|0)==(o|0))c[a>>2]=k;a=a+4|0;n=n+1|0}}while(0);p=(k<<16>>16)*7|0;o=i+1310736+(p+-7<<2)|0;c[o>>2]=(c[o>>2]|0)+1;o=i+1310736+(p+-6<<2)|0;c[o>>2]=(c[o>>2]|0)+q;p=i+1310736+(p+-5<<2)|0;c[p>>2]=(c[p>>2]|0)+s}else b[l>>1]=0;while(0);r=r+1|0;q=q+1|0;l=l+2|0}k=r+2|0;s=s+1|0;p=j;l=l+4|0}d:do if((k|0)==54){Se(0,3,19708,w);j=-1}else if((k|0)==59){n=i+12|0;j=1;a=1;while(1){if((a|0)>(p|0))break;k=c[m>>2]|0;if((k|0)==(a|0))l=j+1|0;else{l=j;j=c[i+1179664+(k+-1<<2)>>2]|0}c[m>>2]=j;j=l;a=a+1|0;m=m+4|0}o=i+8|0;k=j+-1|0;c[o>>2]=k;if(!k)j=0;else{_O(n|0,0,k<<2|0)|0;_O(i+655376|0,0,k<<4|0)|0;j=0;while(1){if((j|0)>=(k|0))break;w=j<<2;c[i+131084+(w<<2)>>2]=e;c[i+131084+((w|1)<<2)>>2]=0;c[i+131084+((w|2)<<2)>>2]=f;c[i+131084+((w|3)<<2)>>2]=0;j=j+1|0}a=0;while(1){if((a|0)>=(p|0))break;l=(c[i+1179664+(a<<2)>>2]|0)+-1|0;m=a*7|0;j=i+12+(l<<2)|0;c[j>>2]=(c[j>>2]|0)+(c[i+1310736+(m<<2)>>2]|0);j=l<<1;k=i+655376+(j<<3)|0;g[k>>3]=+g[k>>3]+ +(c[i+1310736+(m+1<<2)>>2]|0);j=i+655376+((j|1)<<3)|0;g[j>>3]=+g[j>>3]+ +(c[i+1310736+(m+2<<2)>>2]|0);l=l<<2;j=i+131084+(l<<2)|0;k=c[i+1310736+(m+3<<2)>>2]|0;if((c[j>>2]|0)>(k|0))c[j>>2]=k;j=i+131084+((l|1)<<2)|0;k=c[i+1310736+(m+4<<2)>>2]|0;if((c[j>>2]|0)<(k|0))c[j>>2]=k;j=i+131084+((l|2)<<2)|0;k=c[i+1310736+(m+5<<2)>>2]|0;if((c[j>>2]|0)>(k|0))c[j>>2]=k;k=i+131084+((l|3)<<2)|0;j=c[i+1310736+(m+6<<2)>>2]|0;if((c[k>>2]|0)<(j|0))c[k>>2]=j;a=a+1|0}k=c[o>>2]|0;j=0;while(1){if((j|0)>=(k|0)){j=0;break d}y=+(c[i+12+(j<<2)>>2]|0);f=j<<1;e=i+655376+(f<<3)|0;g[e>>3]=+g[e>>3]/y;f=i+655376+((f|1)<<3)|0;g[f>>3]=+g[f>>3]/y;j=j+1|0}}}while(0);yb=x;return j|0}function gc(a,e,f,h,i){a=a|0;e=e|0;f=f|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0.0;x=yb;yb=yb+16|0;w=x;n=c[i>>2]|0;v=f+-1|0;j=n;k=0;l=n+((B(v,e)|0)<<1)|0;while(1){if((k|0)>=(e|0))break;b[l>>1]=0;b[j>>1]=0;j=j+2|0;k=k+1|0;l=l+2|0}u=e+-1|0;j=n;k=0;l=n+(u<<1)|0;while(1){if((k|0)>=(f|0))break;b[l>>1]=0;b[j>>1]=0;j=j+(e<<1)|0;k=k+1|0;l=l+(e<<1)|0}m=i+1179664|0;l=e+1|0;t=0-e|0;a=a+l|0;k=h+l|0;s=1;o=0;l=n+(l<<1)|0;a:while(1){if((s|0)>=(v|0)){k=59;break}q=k;j=o;p=1;r=l;while(1){if((p|0)>=(u|0))break;do if((d[a>>0]|0)>(d[q>>0]|0)){l=r+(t<<1)|0;k=b[l>>1]|0;if(k<<16>>16>0){b[r>>1]=k;o=(k<<16>>16)*7|0;n=i+1310736+(o+-7<<2)|0;c[n>>2]=(c[n>>2]|0)+1;n=i+1310736+(o+-6<<2)|0;c[n>>2]=(c[n>>2]|0)+p;n=i+1310736+(o+-5<<2)|0;c[n>>2]=(c[n>>2]|0)+s;c[i+1310736+(o+-1<<2)>>2]=s;break}n=b[l+2>>1]|0;o=n<<16>>16;k=b[l+-2>>1]|0;h=k<<16>>16;l=k<<16>>16>0;if(n<<16>>16<=0){if(l){b[r>>1]=k;k=h*7|0;l=i+1310736+(k+-7<<2)|0;c[l>>2]=(c[l>>2]|0)+1;l=i+1310736+(k+-6<<2)|0;c[l>>2]=(c[l>>2]|0)+p;l=i+1310736+(k+-5<<2)|0;c[l>>2]=(c[l>>2]|0)+s;l=i+1310736+(k+-3<<2)|0;if((c[l>>2]|0)<(p|0))c[l>>2]=p;c[i+1310736+(k+-1<<2)>>2]=s;break}k=b[r+-2>>1]|0;if(k<<16>>16>0){b[r>>1]=k;k=(k<<16>>16)*7|0;o=i+1310736+(k+-7<<2)|0;c[o>>2]=(c[o>>2]|0)+1;o=i+1310736+(k+-6<<2)|0;c[o>>2]=(c[o>>2]|0)+p;o=i+1310736+(k+-5<<2)|0;c[o>>2]=(c[o>>2]|0)+s;k=i+1310736+(k+-3<<2)|0;if((c[k>>2]|0)>=(p|0))break;c[k>>2]=p;break}else{k=j+1|0;if((j|0)>32767){k=54;break a}b[r>>1]=k;c[i+1179664+(j<<2)>>2]=k<<16>>16;j=j*7|0;c[i+1310736+(j<<2)>>2]=1;c[i+1310736+(j+1<<2)>>2]=p;c[i+1310736+(j+2<<2)>>2]=s;c[i+1310736+(j+3<<2)>>2]=p;c[i+1310736+(j+4<<2)>>2]=p;c[i+1310736+(j+5<<2)>>2]=s;c[i+1310736+(j+6<<2)>>2]=s;j=k;break}}if(l){k=c[i+1179664+(o+-1<<2)>>2]|0;n=c[i+1179664+(h+-1<<2)>>2]|0;b:do if((k|0)<=(n|0)){b[r>>1]=k;if((k|0)<(n|0)){l=m;h=0;while(1){if((h|0)>=(j|0))break b;if((c[l>>2]|0)==(n|0))c[l>>2]=k;l=l+4|0;h=h+1|0}}}else{b[r>>1]=n;l=m;h=0;while(1){if((h|0)>=(j|0)){k=n;break b}if((c[l>>2]|0)==(k|0))c[l>>2]=n;l=l+4|0;h=h+1|0}}while(0);o=(k<<16>>16)*7|0;n=i+1310736+(o+-7<<2)|0;c[n>>2]=(c[n>>2]|0)+1;n=i+1310736+(o+-6<<2)|0;c[n>>2]=(c[n>>2]|0)+p;n=i+1310736+(o+-5<<2)|0;c[n>>2]=(c[n>>2]|0)+s;c[i+1310736+(o+-1<<2)>>2]=s;break}l=b[r+-2>>1]|0;if(l<<16>>16<=0){b[r>>1]=n;k=o*7|0;l=i+1310736+(k+-7<<2)|0;c[l>>2]=(c[l>>2]|0)+1;l=i+1310736+(k+-6<<2)|0;c[l>>2]=(c[l>>2]|0)+p;l=i+1310736+(k+-5<<2)|0;c[l>>2]=(c[l>>2]|0)+s;l=i+1310736+(k+-4<<2)|0;if((c[l>>2]|0)>(p|0))c[l>>2]=p;c[i+1310736+(k+-1<<2)>>2]=s;break}k=c[i+1179664+(o+-1<<2)>>2]|0;n=c[i+1179664+((l<<16>>16)+-1<<2)>>2]|0;c:do if((k|0)<=(n|0)){b[r>>1]=k;if((k|0)<(n|0)){l=m;h=0;while(1){if((h|0)>=(j|0))break c;if((c[l>>2]|0)==(n|0))c[l>>2]=k;l=l+4|0;h=h+1|0}}}else{b[r>>1]=n;l=m;h=0;while(1){if((h|0)>=(j|0)){k=n;break c}if((c[l>>2]|0)==(k|0))c[l>>2]=n;l=l+4|0;h=h+1|0}}while(0);o=(k<<16>>16)*7|0;n=i+1310736+(o+-7<<2)|0;c[n>>2]=(c[n>>2]|0)+1;n=i+1310736+(o+-6<<2)|0;c[n>>2]=(c[n>>2]|0)+p;o=i+1310736+(o+-5<<2)|0;c[o>>2]=(c[o>>2]|0)+s}else b[r>>1]=0;while(0);a=a+1|0;q=q+1|0;p=p+1|0;r=r+2|0}a=a+2|0;k=q+2|0;s=s+1|0;o=j;l=r+4|0}d:do if((k|0)==54){Se(0,3,19708,w);j=-1}else if((k|0)==59){h=i+12|0;j=1;a=1;while(1){if((a|0)>(o|0))break;k=c[m>>2]|0;if((k|0)==(a|0))l=j+1|0;else{l=j;j=c[i+1179664+(k+-1<<2)>>2]|0}c[m>>2]=j;j=l;a=a+1|0;m=m+4|0}n=i+8|0;k=j+-1|0;c[n>>2]=k;if(!k)j=0;else{_O(h|0,0,k<<2|0)|0;_O(i+655376|0,0,k<<4|0)|0;j=0;while(1){if((j|0)>=(k|0))break;w=j<<2;c[i+131084+(w<<2)>>2]=e;c[i+131084+((w|1)<<2)>>2]=0;c[i+131084+((w|2)<<2)>>2]=f;c[i+131084+((w|3)<<2)>>2]=0;j=j+1|0}a=0;while(1){if((a|0)>=(o|0))break;l=(c[i+1179664+(a<<2)>>2]|0)+-1|0;m=a*7|0;j=i+12+(l<<2)|0;c[j>>2]=(c[j>>2]|0)+(c[i+1310736+(m<<2)>>2]|0);j=l<<1;k=i+655376+(j<<3)|0;g[k>>3]=+g[k>>3]+ +(c[i+1310736+(m+1<<2)>>2]|0);j=i+655376+((j|1)<<3)|0;g[j>>3]=+g[j>>3]+ +(c[i+1310736+(m+2<<2)>>2]|0);l=l<<2;j=i+131084+(l<<2)|0;k=c[i+1310736+(m+3<<2)>>2]|0;if((c[j>>2]|0)>(k|0))c[j>>2]=k;j=i+131084+((l|1)<<2)|0;k=c[i+1310736+(m+4<<2)>>2]|0;if((c[j>>2]|0)<(k|0))c[j>>2]=k;j=i+131084+((l|2)<<2)|0;k=c[i+1310736+(m+5<<2)>>2]|0;if((c[j>>2]|0)>(k|0))c[j>>2]=k;k=i+131084+((l|3)<<2)|0;j=c[i+1310736+(m+6<<2)>>2]|0;if((c[k>>2]|0)<(j|0))c[k>>2]=j;a=a+1|0}k=c[n>>2]|0;j=0;while(1){if((j|0)>=(k|0)){j=0;break d}y=+(c[i+12+(j<<2)>>2]|0);f=j<<1;e=i+655376+(f<<3)|0;g[e>>3]=+g[e>>3]/y;f=i+655376+((f|1)<<3)|0;g[f>>3]=+g[f>>3]/y;j=j+1|0}}}while(0);yb=x;return j|0}function hc(e,f,h,i,j){e=e|0;f=f|0;h=h|0;i=i|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,C=0.0;A=yb;yb=yb+16|0;x=A;z=(f|0)/2|0;y=(h|0)/2|0;n=c[j>>2]|0;w=y+-1|0;h=n;k=n+((B(w,z)|0)<<1)|0;l=0;while(1){if((l|0)>=(z|0))break;b[k>>1]=0;b[h>>1]=0;h=h+2|0;k=k+2|0;l=l+1|0}v=z+-1|0;h=n;k=n+(v<<1)|0;l=0;while(1){if((l|0)>=(y|0))break;b[k>>1]=0;b[h>>1]=0;h=h+(z<<1)|0;k=k+(z<<1)|0;l=l+1|0}m=j+1179664|0;s=z+1|0;u=0-z|0;k=e+((f<<1)+2)|0;t=1;p=0;l=(c[j+4>>2]|0)+s|0;e=n+(s<<1)|0;a:while(1){if((t|0)>=(w|0)){k=59;break}r=k;h=p;s=l;q=1;while(1){if((q|0)>=(v|0))break;do if((d[r>>0]|0|0)>(i|0)){b[e>>1]=0;a[s>>0]=0}else{a[s>>0]=-1;l=e+(u<<1)|0;k=b[l>>1]|0;if(k<<16>>16>0){b[e>>1]=k;p=(k<<16>>16)*7|0;o=j+1310736+(p+-7<<2)|0;c[o>>2]=(c[o>>2]|0)+1;o=j+1310736+(p+-6<<2)|0;c[o>>2]=(c[o>>2]|0)+q;o=j+1310736+(p+-5<<2)|0;c[o>>2]=(c[o>>2]|0)+t;c[j+1310736+(p+-1<<2)>>2]=t;break}o=b[l+2>>1]|0;p=o<<16>>16;k=b[l+-2>>1]|0;n=k<<16>>16;l=k<<16>>16>0;if(o<<16>>16<=0){if(l){b[e>>1]=k;k=n*7|0;l=j+1310736+(k+-7<<2)|0;c[l>>2]=(c[l>>2]|0)+1;l=j+1310736+(k+-6<<2)|0;c[l>>2]=(c[l>>2]|0)+q;l=j+1310736+(k+-5<<2)|0;c[l>>2]=(c[l>>2]|0)+t;l=j+1310736+(k+-3<<2)|0;if((c[l>>2]|0)<(q|0))c[l>>2]=q;c[j+1310736+(k+-1<<2)>>2]=t;break}k=b[e+-2>>1]|0;if(k<<16>>16>0){b[e>>1]=k;k=(k<<16>>16)*7|0;p=j+1310736+(k+-7<<2)|0;c[p>>2]=(c[p>>2]|0)+1;p=j+1310736+(k+-6<<2)|0;c[p>>2]=(c[p>>2]|0)+q;p=j+1310736+(k+-5<<2)|0;c[p>>2]=(c[p>>2]|0)+t;k=j+1310736+(k+-3<<2)|0;if((c[k>>2]|0)>=(q|0))break;c[k>>2]=q;break}else{k=h+1|0;if((h|0)>32767){k=54;break a}b[e>>1]=k;c[j+1179664+(h<<2)>>2]=k<<16>>16;h=h*7|0;c[j+1310736+(h<<2)>>2]=1;c[j+1310736+(h+1<<2)>>2]=q;c[j+1310736+(h+2<<2)>>2]=t;c[j+1310736+(h+3<<2)>>2]=q;c[j+1310736+(h+4<<2)>>2]=q;c[j+1310736+(h+5<<2)>>2]=t;c[j+1310736+(h+6<<2)>>2]=t;h=k;break}}if(l){k=c[j+1179664+(p+-1<<2)>>2]|0;o=c[j+1179664+(n+-1<<2)>>2]|0;b:do if((k|0)<=(o|0)){b[e>>1]=k;if((k|0)<(o|0)){l=m;n=0;while(1){if((n|0)>=(h|0))break b;if((c[l>>2]|0)==(o|0))c[l>>2]=k;l=l+4|0;n=n+1|0}}}else{b[e>>1]=o;l=m;n=0;while(1){if((n|0)>=(h|0)){k=o;break b}if((c[l>>2]|0)==(k|0))c[l>>2]=o;l=l+4|0;n=n+1|0}}while(0);p=(k<<16>>16)*7|0;o=j+1310736+(p+-7<<2)|0;c[o>>2]=(c[o>>2]|0)+1;o=j+1310736+(p+-6<<2)|0;c[o>>2]=(c[o>>2]|0)+q;o=j+1310736+(p+-5<<2)|0;c[o>>2]=(c[o>>2]|0)+t;c[j+1310736+(p+-1<<2)>>2]=t;break}l=b[e+-2>>1]|0;if(l<<16>>16<=0){b[e>>1]=o;k=p*7|0;l=j+1310736+(k+-7<<2)|0;c[l>>2]=(c[l>>2]|0)+1;l=j+1310736+(k+-6<<2)|0;c[l>>2]=(c[l>>2]|0)+q;l=j+1310736+(k+-5<<2)|0;c[l>>2]=(c[l>>2]|0)+t;l=j+1310736+(k+-4<<2)|0;if((c[l>>2]|0)>(q|0))c[l>>2]=q;c[j+1310736+(k+-1<<2)>>2]=t;break}k=c[j+1179664+(p+-1<<2)>>2]|0;o=c[j+1179664+((l<<16>>16)+-1<<2)>>2]|0;c:do if((k|0)<=(o|0)){b[e>>1]=k;if((k|0)<(o|0)){l=m;n=0;while(1){if((n|0)>=(h|0))break c;if((c[l>>2]|0)==(o|0))c[l>>2]=k;l=l+4|0;n=n+1|0}}}else{b[e>>1]=o;l=m;n=0;while(1){if((n|0)>=(h|0)){k=o;break c}if((c[l>>2]|0)==(k|0))c[l>>2]=o;l=l+4|0;n=n+1|0}}while(0);p=(k<<16>>16)*7|0;o=j+1310736+(p+-7<<2)|0;c[o>>2]=(c[o>>2]|0)+1;o=j+1310736+(p+-6<<2)|0;c[o>>2]=(c[o>>2]|0)+q;p=j+1310736+(p+-5<<2)|0;c[p>>2]=(c[p>>2]|0)+t}while(0);r=r+2|0;s=s+1|0;q=q+1|0;e=e+2|0}k=r+f+4|0;t=t+1|0;p=h;l=s+2|0;e=e+4|0}d:do if((k|0)==54){Se(0,3,19708,x);h=-1}else if((k|0)==59){n=j+12|0;h=1;e=1;while(1){if((e|0)>(p|0))break;k=c[m>>2]|0;if((k|0)==(e|0))l=h+1|0;else{l=h;h=c[j+1179664+(k+-1<<2)>>2]|0}c[m>>2]=h;h=l;e=e+1|0;m=m+4|0}o=j+8|0;k=h+-1|0;c[o>>2]=k;if(!k)h=0;else{_O(n|0,0,k<<2|0)|0;_O(j+655376|0,0,k<<4|0)|0;h=0;while(1){if((h|0)>=(k|0))break;x=h<<2;c[j+131084+(x<<2)>>2]=z;c[j+131084+((x|1)<<2)>>2]=0;c[j+131084+((x|2)<<2)>>2]=y;c[j+131084+((x|3)<<2)>>2]=0;h=h+1|0}e=0;while(1){if((e|0)>=(p|0))break;l=(c[j+1179664+(e<<2)>>2]|0)+-1|0;m=e*7|0;h=j+12+(l<<2)|0;c[h>>2]=(c[h>>2]|0)+(c[j+1310736+(m<<2)>>2]|0);h=l<<1;k=j+655376+(h<<3)|0;g[k>>3]=+g[k>>3]+ +(c[j+1310736+(m+1<<2)>>2]|0);h=j+655376+((h|1)<<3)|0;g[h>>3]=+g[h>>3]+ +(c[j+1310736+(m+2<<2)>>2]|0);l=l<<2;h=j+131084+(l<<2)|0;k=c[j+1310736+(m+3<<2)>>2]|0;if((c[h>>2]|0)>(k|0))c[h>>2]=k;h=j+131084+((l|1)<<2)|0;k=c[j+1310736+(m+4<<2)>>2]|0;if((c[h>>2]|0)<(k|0))c[h>>2]=k;h=j+131084+((l|2)<<2)|0;k=c[j+1310736+(m+5<<2)>>2]|0;if((c[h>>2]|0)>(k|0))c[h>>2]=k;k=j+131084+((l|3)<<2)|0;h=c[j+1310736+(m+6<<2)>>2]|0;if((c[k>>2]|0)<(h|0))c[k>>2]=h;e=e+1|0}k=c[o>>2]|0;h=0;while(1){if((h|0)>=(k|0)){h=0;break d}C=+(c[j+12+(h<<2)>>2]|0);z=h<<1;y=j+655376+(z<<3)|0;g[y>>3]=+g[y>>3]/C;z=j+655376+((z|1)<<3)|0;g[z>>3]=+g[z>>3]/C;h=h+1|0}}}while(0);yb=A;return h|0}function ic(e,f,h,i,j){e=e|0;f=f|0;h=h|0;i=i|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0.0;z=yb;yb=yb+16|0;y=z;o=c[j>>2]|0;x=h+-1|0;k=o;l=o+((B(x,f)|0)<<1)|0;m=0;while(1){if((m|0)>=(f|0))break;b[l>>1]=0;b[k>>1]=0;k=k+2|0;l=l+2|0;m=m+1|0}w=f+-1|0;k=o;l=o+(w<<1)|0;m=0;while(1){if((m|0)>=(h|0))break;b[l>>1]=0;b[k>>1]=0;k=k+(f<<1)|0;l=l+(f<<1)|0;m=m+1|0}n=j+1179664|0;t=f+1|0;v=0-f|0;l=e+t|0;u=1;q=0;m=(c[j+4>>2]|0)+t|0;e=o+(t<<1)|0;a:while(1){if((u|0)>=(x|0)){l=59;break}s=l;k=q;t=m;r=1;while(1){if((r|0)>=(w|0))break;do if((d[s>>0]|0|0)>(i|0)){b[e>>1]=0;a[t>>0]=0}else{a[t>>0]=-1;m=e+(v<<1)|0;l=b[m>>1]|0;if(l<<16>>16>0){b[e>>1]=l;q=(l<<16>>16)*7|0;p=j+1310736+(q+-7<<2)|0;c[p>>2]=(c[p>>2]|0)+1;p=j+1310736+(q+-6<<2)|0;c[p>>2]=(c[p>>2]|0)+r;p=j+1310736+(q+-5<<2)|0;c[p>>2]=(c[p>>2]|0)+u;c[j+1310736+(q+-1<<2)>>2]=u;break}p=b[m+2>>1]|0;q=p<<16>>16;l=b[m+-2>>1]|0;o=l<<16>>16;m=l<<16>>16>0;if(p<<16>>16<=0){if(m){b[e>>1]=l;l=o*7|0;m=j+1310736+(l+-7<<2)|0;c[m>>2]=(c[m>>2]|0)+1;m=j+1310736+(l+-6<<2)|0;c[m>>2]=(c[m>>2]|0)+r;m=j+1310736+(l+-5<<2)|0;c[m>>2]=(c[m>>2]|0)+u;m=j+1310736+(l+-3<<2)|0;if((c[m>>2]|0)<(r|0))c[m>>2]=r;c[j+1310736+(l+-1<<2)>>2]=u;break}l=b[e+-2>>1]|0;if(l<<16>>16>0){b[e>>1]=l;l=(l<<16>>16)*7|0;q=j+1310736+(l+-7<<2)|0;c[q>>2]=(c[q>>2]|0)+1;q=j+1310736+(l+-6<<2)|0;c[q>>2]=(c[q>>2]|0)+r;q=j+1310736+(l+-5<<2)|0;c[q>>2]=(c[q>>2]|0)+u;l=j+1310736+(l+-3<<2)|0;if((c[l>>2]|0)>=(r|0))break;c[l>>2]=r;break}else{l=k+1|0;if((k|0)>32767){l=54;break a}b[e>>1]=l;c[j+1179664+(k<<2)>>2]=l<<16>>16;k=k*7|0;c[j+1310736+(k<<2)>>2]=1;c[j+1310736+(k+1<<2)>>2]=r;c[j+1310736+(k+2<<2)>>2]=u;c[j+1310736+(k+3<<2)>>2]=r;c[j+1310736+(k+4<<2)>>2]=r;c[j+1310736+(k+5<<2)>>2]=u;c[j+1310736+(k+6<<2)>>2]=u;k=l;break}}if(m){l=c[j+1179664+(q+-1<<2)>>2]|0;p=c[j+1179664+(o+-1<<2)>>2]|0;b:do if((l|0)<=(p|0)){b[e>>1]=l;if((l|0)<(p|0)){m=n;o=0;while(1){if((o|0)>=(k|0))break b;if((c[m>>2]|0)==(p|0))c[m>>2]=l;m=m+4|0;o=o+1|0}}}else{b[e>>1]=p;m=n;o=0;while(1){if((o|0)>=(k|0)){l=p;break b}if((c[m>>2]|0)==(l|0))c[m>>2]=p;m=m+4|0;o=o+1|0}}while(0);q=(l<<16>>16)*7|0;p=j+1310736+(q+-7<<2)|0;c[p>>2]=(c[p>>2]|0)+1;p=j+1310736+(q+-6<<2)|0;c[p>>2]=(c[p>>2]|0)+r;p=j+1310736+(q+-5<<2)|0;c[p>>2]=(c[p>>2]|0)+u;c[j+1310736+(q+-1<<2)>>2]=u;break}m=b[e+-2>>1]|0;if(m<<16>>16<=0){b[e>>1]=p;l=q*7|0;m=j+1310736+(l+-7<<2)|0;c[m>>2]=(c[m>>2]|0)+1;m=j+1310736+(l+-6<<2)|0;c[m>>2]=(c[m>>2]|0)+r;m=j+1310736+(l+-5<<2)|0;c[m>>2]=(c[m>>2]|0)+u;m=j+1310736+(l+-4<<2)|0;if((c[m>>2]|0)>(r|0))c[m>>2]=r;c[j+1310736+(l+-1<<2)>>2]=u;break}l=c[j+1179664+(q+-1<<2)>>2]|0;p=c[j+1179664+((m<<16>>16)+-1<<2)>>2]|0;c:do if((l|0)<=(p|0)){b[e>>1]=l;if((l|0)<(p|0)){m=n;o=0;while(1){if((o|0)>=(k|0))break c;if((c[m>>2]|0)==(p|0))c[m>>2]=l;m=m+4|0;o=o+1|0}}}else{b[e>>1]=p;m=n;o=0;while(1){if((o|0)>=(k|0)){l=p;break c}if((c[m>>2]|0)==(l|0))c[m>>2]=p;m=m+4|0;o=o+1|0}}while(0);q=(l<<16>>16)*7|0;p=j+1310736+(q+-7<<2)|0;c[p>>2]=(c[p>>2]|0)+1;p=j+1310736+(q+-6<<2)|0;c[p>>2]=(c[p>>2]|0)+r;q=j+1310736+(q+-5<<2)|0;c[q>>2]=(c[q>>2]|0)+u}while(0);s=s+1|0;t=t+1|0;r=r+1|0;e=e+2|0}l=s+2|0;u=u+1|0;q=k;m=t+2|0;e=e+4|0}d:do if((l|0)==54){Se(0,3,19708,y);k=-1}else if((l|0)==59){o=j+12|0;k=1;e=1;while(1){if((e|0)>(q|0))break;l=c[n>>2]|0;if((l|0)==(e|0))m=k+1|0;else{m=k;k=c[j+1179664+(l+-1<<2)>>2]|0}c[n>>2]=k;k=m;e=e+1|0;n=n+4|0}p=j+8|0;l=k+-1|0;c[p>>2]=l;if(!l)k=0;else{_O(o|0,0,l<<2|0)|0;_O(j+655376|0,0,l<<4|0)|0;k=0;while(1){if((k|0)>=(l|0))break;y=k<<2;c[j+131084+(y<<2)>>2]=f;c[j+131084+((y|1)<<2)>>2]=0;c[j+131084+((y|2)<<2)>>2]=h;c[j+131084+((y|3)<<2)>>2]=0;k=k+1|0}e=0;while(1){if((e|0)>=(q|0))break;m=(c[j+1179664+(e<<2)>>2]|0)+-1|0;n=e*7|0;k=j+12+(m<<2)|0;c[k>>2]=(c[k>>2]|0)+(c[j+1310736+(n<<2)>>2]|0);k=m<<1;l=j+655376+(k<<3)|0;g[l>>3]=+g[l>>3]+ +(c[j+1310736+(n+1<<2)>>2]|0);k=j+655376+((k|1)<<3)|0;g[k>>3]=+g[k>>3]+ +(c[j+1310736+(n+2<<2)>>2]|0);m=m<<2;k=j+131084+(m<<2)|0;l=c[j+1310736+(n+3<<2)>>2]|0;if((c[k>>2]|0)>(l|0))c[k>>2]=l;k=j+131084+((m|1)<<2)|0;l=c[j+1310736+(n+4<<2)>>2]|0;if((c[k>>2]|0)<(l|0))c[k>>2]=l;k=j+131084+((m|2)<<2)|0;l=c[j+1310736+(n+5<<2)>>2]|0;if((c[k>>2]|0)>(l|0))c[k>>2]=l;l=j+131084+((m|3)<<2)|0;k=c[j+1310736+(n+6<<2)>>2]|0;if((c[l>>2]|0)<(k|0))c[l>>2]=k;e=e+1|0}l=c[p>>2]|0;k=0;while(1){if((k|0)>=(l|0)){k=0;break d}A=+(c[j+12+(k<<2)>>2]|0);h=k<<1;f=j+655376+(h<<3)|0;g[f>>3]=+g[f>>3]/A;h=j+655376+((h|1)<<3)|0;g[h>>3]=+g[h>>3]/A;k=k+1|0}}}while(0);yb=z;return k|0}function jc(e,f,h,i,j){e=e|0;f=f|0;h=h|0;i=i|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0.0;z=yb;yb=yb+16|0;y=z;p=c[j>>2]|0;x=h+-1|0;k=p;l=0;m=p+((B(x,f)|0)<<1)|0;while(1){if((l|0)>=(f|0))break;b[m>>1]=0;b[k>>1]=0;k=k+2|0;l=l+1|0;m=m+2|0}w=f+-1|0;k=p;l=0;m=p+(w<<1)|0;while(1){if((l|0)>=(h|0))break;b[m>>1]=0;b[k>>1]=0;k=k+(f<<1)|0;l=l+1|0;m=m+(f<<1)|0}n=j+1179664|0;t=f+1|0;v=0-f|0;o=e+t|0;l=i+t|0;u=1;q=0;m=(c[j+4>>2]|0)+t|0;e=p+(t<<1)|0;a:while(1){if((u|0)>=(x|0)){l=59;break}r=l;k=q;s=m;q=1;t=e;while(1){if((q|0)>=(w|0))break;do if((d[o>>0]|0)>(d[r>>0]|0)){b[t>>1]=0;a[s>>0]=0}else{a[s>>0]=-1;m=t+(v<<1)|0;l=b[m>>1]|0;if(l<<16>>16>0){b[t>>1]=l;p=(l<<16>>16)*7|0;i=j+1310736+(p+-7<<2)|0;c[i>>2]=(c[i>>2]|0)+1;i=j+1310736+(p+-6<<2)|0;c[i>>2]=(c[i>>2]|0)+q;i=j+1310736+(p+-5<<2)|0;c[i>>2]=(c[i>>2]|0)+u;c[j+1310736+(p+-1<<2)>>2]=u;break}i=b[m+2>>1]|0;p=i<<16>>16;l=b[m+-2>>1]|0;e=l<<16>>16;m=l<<16>>16>0;if(i<<16>>16<=0){if(m){b[t>>1]=l;l=e*7|0;m=j+1310736+(l+-7<<2)|0;c[m>>2]=(c[m>>2]|0)+1;m=j+1310736+(l+-6<<2)|0;c[m>>2]=(c[m>>2]|0)+q;m=j+1310736+(l+-5<<2)|0;c[m>>2]=(c[m>>2]|0)+u;m=j+1310736+(l+-3<<2)|0;if((c[m>>2]|0)<(q|0))c[m>>2]=q;c[j+1310736+(l+-1<<2)>>2]=u;break}l=b[t+-2>>1]|0;if(l<<16>>16>0){b[t>>1]=l;l=(l<<16>>16)*7|0;p=j+1310736+(l+-7<<2)|0;c[p>>2]=(c[p>>2]|0)+1;p=j+1310736+(l+-6<<2)|0;c[p>>2]=(c[p>>2]|0)+q;p=j+1310736+(l+-5<<2)|0;c[p>>2]=(c[p>>2]|0)+u;l=j+1310736+(l+-3<<2)|0;if((c[l>>2]|0)>=(q|0))break;c[l>>2]=q;break}else{l=k+1|0;if((k|0)>32767){l=54;break a}b[t>>1]=l;c[j+1179664+(k<<2)>>2]=l<<16>>16;k=k*7|0;c[j+1310736+(k<<2)>>2]=1;c[j+1310736+(k+1<<2)>>2]=q;c[j+1310736+(k+2<<2)>>2]=u;c[j+1310736+(k+3<<2)>>2]=q;c[j+1310736+(k+4<<2)>>2]=q;c[j+1310736+(k+5<<2)>>2]=u;c[j+1310736+(k+6<<2)>>2]=u;k=l;break}}if(m){l=c[j+1179664+(p+-1<<2)>>2]|0;i=c[j+1179664+(e+-1<<2)>>2]|0;b:do if((l|0)<=(i|0)){b[t>>1]=l;if((l|0)<(i|0)){m=n;e=0;while(1){if((e|0)>=(k|0))break b;if((c[m>>2]|0)==(i|0))c[m>>2]=l;m=m+4|0;e=e+1|0}}}else{b[t>>1]=i;m=n;e=0;while(1){if((e|0)>=(k|0)){l=i;break b}if((c[m>>2]|0)==(l|0))c[m>>2]=i;m=m+4|0;e=e+1|0}}while(0);p=(l<<16>>16)*7|0;i=j+1310736+(p+-7<<2)|0;c[i>>2]=(c[i>>2]|0)+1;i=j+1310736+(p+-6<<2)|0;c[i>>2]=(c[i>>2]|0)+q;i=j+1310736+(p+-5<<2)|0;c[i>>2]=(c[i>>2]|0)+u;c[j+1310736+(p+-1<<2)>>2]=u;break}m=b[t+-2>>1]|0;if(m<<16>>16<=0){b[t>>1]=i;l=p*7|0;m=j+1310736+(l+-7<<2)|0;c[m>>2]=(c[m>>2]|0)+1;m=j+1310736+(l+-6<<2)|0;c[m>>2]=(c[m>>2]|0)+q;m=j+1310736+(l+-5<<2)|0;c[m>>2]=(c[m>>2]|0)+u;m=j+1310736+(l+-4<<2)|0;if((c[m>>2]|0)>(q|0))c[m>>2]=q;c[j+1310736+(l+-1<<2)>>2]=u;break}l=c[j+1179664+(p+-1<<2)>>2]|0;i=c[j+1179664+((m<<16>>16)+-1<<2)>>2]|0;c:do if((l|0)<=(i|0)){b[t>>1]=l;if((l|0)<(i|0)){m=n;e=0;while(1){if((e|0)>=(k|0))break c;if((c[m>>2]|0)==(i|0))c[m>>2]=l;m=m+4|0;e=e+1|0}}}else{b[t>>1]=i;m=n;e=0;while(1){if((e|0)>=(k|0)){l=i;break c}if((c[m>>2]|0)==(l|0))c[m>>2]=i;m=m+4|0;e=e+1|0}}while(0);p=(l<<16>>16)*7|0;i=j+1310736+(p+-7<<2)|0;c[i>>2]=(c[i>>2]|0)+1;i=j+1310736+(p+-6<<2)|0;c[i>>2]=(c[i>>2]|0)+q;p=j+1310736+(p+-5<<2)|0;c[p>>2]=(c[p>>2]|0)+u}while(0);o=o+1|0;r=r+1|0;s=s+1|0;q=q+1|0;t=t+2|0}o=o+2|0;l=r+2|0;u=u+1|0;q=k;m=s+2|0;e=t+4|0}d:do if((l|0)==54){Se(0,3,19708,y);k=-1}else if((l|0)==59){i=j+12|0;k=1;e=1;while(1){if((e|0)>(q|0))break;l=c[n>>2]|0;if((l|0)==(e|0))m=k+1|0;else{m=k;k=c[j+1179664+(l+-1<<2)>>2]|0}c[n>>2]=k;k=m;e=e+1|0;n=n+4|0}o=j+8|0;l=k+-1|0;c[o>>2]=l;if(!l)k=0;else{_O(i|0,0,l<<2|0)|0;_O(j+655376|0,0,l<<4|0)|0;k=0;while(1){if((k|0)>=(l|0))break;y=k<<2;c[j+131084+(y<<2)>>2]=f;c[j+131084+((y|1)<<2)>>2]=0;c[j+131084+((y|2)<<2)>>2]=h;c[j+131084+((y|3)<<2)>>2]=0;k=k+1|0}e=0;while(1){if((e|0)>=(q|0))break;m=(c[j+1179664+(e<<2)>>2]|0)+-1|0;n=e*7|0;k=j+12+(m<<2)|0;c[k>>2]=(c[k>>2]|0)+(c[j+1310736+(n<<2)>>2]|0);k=m<<1;l=j+655376+(k<<3)|0;g[l>>3]=+g[l>>3]+ +(c[j+1310736+(n+1<<2)>>2]|0);k=j+655376+((k|1)<<3)|0;g[k>>3]=+g[k>>3]+ +(c[j+1310736+(n+2<<2)>>2]|0);m=m<<2;k=j+131084+(m<<2)|0;l=c[j+1310736+(n+3<<2)>>2]|0;if((c[k>>2]|0)>(l|0))c[k>>2]=l;k=j+131084+((m|1)<<2)|0;l=c[j+1310736+(n+4<<2)>>2]|0;if((c[k>>2]|0)<(l|0))c[k>>2]=l;k=j+131084+((m|2)<<2)|0;l=c[j+1310736+(n+5<<2)>>2]|0;if((c[k>>2]|0)>(l|0))c[k>>2]=l;l=j+131084+((m|3)<<2)|0;k=c[j+1310736+(n+6<<2)>>2]|0;if((c[l>>2]|0)<(k|0))c[l>>2]=k;e=e+1|0}l=c[o>>2]|0;k=0;while(1){if((k|0)>=(l|0)){k=0;break d}A=+(c[j+12+(k<<2)>>2]|0);h=k<<1;f=j+655376+(h<<3)|0;g[f>>3]=+g[f>>3]/A;h=j+655376+((h|1)<<3)|0;g[h>>3]=+g[h>>3]/A;k=k+1|0}}}while(0);yb=z;return k|0}function kc(e,f,h,i,j){e=e|0;f=f|0;h=h|0;i=i|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,C=0.0;A=yb;yb=yb+16|0;x=A;z=(f|0)/2|0;y=(h|0)/2|0;n=c[j>>2]|0;w=y+-1|0;h=n;k=n+((B(w,z)|0)<<1)|0;l=0;while(1){if((l|0)>=(z|0))break;b[k>>1]=0;b[h>>1]=0;h=h+2|0;k=k+2|0;l=l+1|0}v=z+-1|0;h=n;k=n+(v<<1)|0;l=0;while(1){if((l|0)>=(y|0))break;b[k>>1]=0;b[h>>1]=0;h=h+(z<<1)|0;k=k+(z<<1)|0;l=l+1|0}m=j+1179664|0;s=z+1|0;u=0-z|0;k=e+((f<<1)+2)|0;t=1;p=0;l=(c[j+4>>2]|0)+s|0;e=n+(s<<1)|0;a:while(1){if((t|0)>=(w|0)){k=59;break}r=k;h=p;s=l;q=1;while(1){if((q|0)>=(v|0))break;do if((d[r>>0]|0|0)>(i|0)){a[s>>0]=-1;l=e+(u<<1)|0;k=b[l>>1]|0;if(k<<16>>16>0){b[e>>1]=k;p=(k<<16>>16)*7|0;o=j+1310736+(p+-7<<2)|0;c[o>>2]=(c[o>>2]|0)+1;o=j+1310736+(p+-6<<2)|0;c[o>>2]=(c[o>>2]|0)+q;o=j+1310736+(p+-5<<2)|0;c[o>>2]=(c[o>>2]|0)+t;c[j+1310736+(p+-1<<2)>>2]=t;break}o=b[l+2>>1]|0;p=o<<16>>16;k=b[l+-2>>1]|0;n=k<<16>>16;l=k<<16>>16>0;if(o<<16>>16<=0){if(l){b[e>>1]=k;k=n*7|0;l=j+1310736+(k+-7<<2)|0;c[l>>2]=(c[l>>2]|0)+1;l=j+1310736+(k+-6<<2)|0;c[l>>2]=(c[l>>2]|0)+q;l=j+1310736+(k+-5<<2)|0;c[l>>2]=(c[l>>2]|0)+t;l=j+1310736+(k+-3<<2)|0;if((c[l>>2]|0)<(q|0))c[l>>2]=q;c[j+1310736+(k+-1<<2)>>2]=t;break}k=b[e+-2>>1]|0;if(k<<16>>16>0){b[e>>1]=k;k=(k<<16>>16)*7|0;p=j+1310736+(k+-7<<2)|0;c[p>>2]=(c[p>>2]|0)+1;p=j+1310736+(k+-6<<2)|0;c[p>>2]=(c[p>>2]|0)+q;p=j+1310736+(k+-5<<2)|0;c[p>>2]=(c[p>>2]|0)+t;k=j+1310736+(k+-3<<2)|0;if((c[k>>2]|0)>=(q|0))break;c[k>>2]=q;break}else{k=h+1|0;if((h|0)>32767){k=54;break a}b[e>>1]=k;c[j+1179664+(h<<2)>>2]=k<<16>>16;h=h*7|0;c[j+1310736+(h<<2)>>2]=1;c[j+1310736+(h+1<<2)>>2]=q;c[j+1310736+(h+2<<2)>>2]=t;c[j+1310736+(h+3<<2)>>2]=q;c[j+1310736+(h+4<<2)>>2]=q;c[j+1310736+(h+5<<2)>>2]=t;c[j+1310736+(h+6<<2)>>2]=t;h=k;break}}if(l){k=c[j+1179664+(p+-1<<2)>>2]|0;o=c[j+1179664+(n+-1<<2)>>2]|0;b:do if((k|0)<=(o|0)){b[e>>1]=k;if((k|0)<(o|0)){l=m;n=0;while(1){if((n|0)>=(h|0))break b;if((c[l>>2]|0)==(o|0))c[l>>2]=k;l=l+4|0;n=n+1|0}}}else{b[e>>1]=o;l=m;n=0;while(1){if((n|0)>=(h|0)){k=o;break b}if((c[l>>2]|0)==(k|0))c[l>>2]=o;l=l+4|0;n=n+1|0}}while(0);p=(k<<16>>16)*7|0;o=j+1310736+(p+-7<<2)|0;c[o>>2]=(c[o>>2]|0)+1;o=j+1310736+(p+-6<<2)|0;c[o>>2]=(c[o>>2]|0)+q;o=j+1310736+(p+-5<<2)|0;c[o>>2]=(c[o>>2]|0)+t;c[j+1310736+(p+-1<<2)>>2]=t;break}l=b[e+-2>>1]|0;if(l<<16>>16<=0){b[e>>1]=o;k=p*7|0;l=j+1310736+(k+-7<<2)|0;c[l>>2]=(c[l>>2]|0)+1;l=j+1310736+(k+-6<<2)|0;c[l>>2]=(c[l>>2]|0)+q;l=j+1310736+(k+-5<<2)|0;c[l>>2]=(c[l>>2]|0)+t;l=j+1310736+(k+-4<<2)|0;if((c[l>>2]|0)>(q|0))c[l>>2]=q;c[j+1310736+(k+-1<<2)>>2]=t;break}k=c[j+1179664+(p+-1<<2)>>2]|0;o=c[j+1179664+((l<<16>>16)+-1<<2)>>2]|0;c:do if((k|0)<=(o|0)){b[e>>1]=k;if((k|0)<(o|0)){l=m;n=0;while(1){if((n|0)>=(h|0))break c;if((c[l>>2]|0)==(o|0))c[l>>2]=k;l=l+4|0;n=n+1|0}}}else{b[e>>1]=o;l=m;n=0;while(1){if((n|0)>=(h|0)){k=o;break c}if((c[l>>2]|0)==(k|0))c[l>>2]=o;l=l+4|0;n=n+1|0}}while(0);p=(k<<16>>16)*7|0;o=j+1310736+(p+-7<<2)|0;c[o>>2]=(c[o>>2]|0)+1;o=j+1310736+(p+-6<<2)|0;c[o>>2]=(c[o>>2]|0)+q;p=j+1310736+(p+-5<<2)|0;c[p>>2]=(c[p>>2]|0)+t}else{b[e>>1]=0;a[s>>0]=0}while(0);r=r+2|0;s=s+1|0;q=q+1|0;e=e+2|0}k=r+f+4|0;t=t+1|0;p=h;l=s+2|0;e=e+4|0}d:do if((k|0)==54){Se(0,3,19708,x);h=-1}else if((k|0)==59){n=j+12|0;h=1;e=1;while(1){if((e|0)>(p|0))break;k=c[m>>2]|0;if((k|0)==(e|0))l=h+1|0;else{l=h;h=c[j+1179664+(k+-1<<2)>>2]|0}c[m>>2]=h;h=l;e=e+1|0;m=m+4|0}o=j+8|0;k=h+-1|0;c[o>>2]=k;if(!k)h=0;else{_O(n|0,0,k<<2|0)|0;_O(j+655376|0,0,k<<4|0)|0;h=0;while(1){if((h|0)>=(k|0))break;x=h<<2;c[j+131084+(x<<2)>>2]=z;c[j+131084+((x|1)<<2)>>2]=0;c[j+131084+((x|2)<<2)>>2]=y;c[j+131084+((x|3)<<2)>>2]=0;h=h+1|0}e=0;while(1){if((e|0)>=(p|0))break;l=(c[j+1179664+(e<<2)>>2]|0)+-1|0;m=e*7|0;h=j+12+(l<<2)|0;c[h>>2]=(c[h>>2]|0)+(c[j+1310736+(m<<2)>>2]|0);h=l<<1;k=j+655376+(h<<3)|0;g[k>>3]=+g[k>>3]+ +(c[j+1310736+(m+1<<2)>>2]|0);h=j+655376+((h|1)<<3)|0;g[h>>3]=+g[h>>3]+ +(c[j+1310736+(m+2<<2)>>2]|0);l=l<<2;h=j+131084+(l<<2)|0;k=c[j+1310736+(m+3<<2)>>2]|0;if((c[h>>2]|0)>(k|0))c[h>>2]=k;h=j+131084+((l|1)<<2)|0;k=c[j+1310736+(m+4<<2)>>2]|0;if((c[h>>2]|0)<(k|0))c[h>>2]=k;h=j+131084+((l|2)<<2)|0;k=c[j+1310736+(m+5<<2)>>2]|0;if((c[h>>2]|0)>(k|0))c[h>>2]=k;k=j+131084+((l|3)<<2)|0;h=c[j+1310736+(m+6<<2)>>2]|0;if((c[k>>2]|0)<(h|0))c[k>>2]=h;e=e+1|0}k=c[o>>2]|0;h=0;while(1){if((h|0)>=(k|0)){h=0;break d}C=+(c[j+12+(h<<2)>>2]|0);z=h<<1;y=j+655376+(z<<3)|0;g[y>>3]=+g[y>>3]/C;z=j+655376+((z|1)<<3)|0;g[z>>3]=+g[z>>3]/C;h=h+1|0}}}while(0);yb=A;return h|0}function lc(e,f,h,i,j){e=e|0;f=f|0;h=h|0;i=i|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0.0;z=yb;yb=yb+16|0;y=z;o=c[j>>2]|0;x=h+-1|0;k=o;l=o+((B(x,f)|0)<<1)|0;m=0;while(1){if((m|0)>=(f|0))break;b[l>>1]=0;b[k>>1]=0;k=k+2|0;l=l+2|0;m=m+1|0}w=f+-1|0;k=o;l=o+(w<<1)|0;m=0;while(1){if((m|0)>=(h|0))break;b[l>>1]=0;b[k>>1]=0;k=k+(f<<1)|0;l=l+(f<<1)|0;m=m+1|0}n=j+1179664|0;t=f+1|0;v=0-f|0;l=e+t|0;u=1;q=0;m=(c[j+4>>2]|0)+t|0;e=o+(t<<1)|0;a:while(1){if((u|0)>=(x|0)){l=59;break}s=l;k=q;t=m;r=1;while(1){if((r|0)>=(w|0))break;do if((d[s>>0]|0|0)>(i|0)){a[t>>0]=-1;m=e+(v<<1)|0;l=b[m>>1]|0;if(l<<16>>16>0){b[e>>1]=l;q=(l<<16>>16)*7|0;p=j+1310736+(q+-7<<2)|0;c[p>>2]=(c[p>>2]|0)+1;p=j+1310736+(q+-6<<2)|0;c[p>>2]=(c[p>>2]|0)+r;p=j+1310736+(q+-5<<2)|0;c[p>>2]=(c[p>>2]|0)+u;c[j+1310736+(q+-1<<2)>>2]=u;break}p=b[m+2>>1]|0;q=p<<16>>16;l=b[m+-2>>1]|0;o=l<<16>>16;m=l<<16>>16>0;if(p<<16>>16<=0){if(m){b[e>>1]=l;l=o*7|0;m=j+1310736+(l+-7<<2)|0;c[m>>2]=(c[m>>2]|0)+1;m=j+1310736+(l+-6<<2)|0;c[m>>2]=(c[m>>2]|0)+r;m=j+1310736+(l+-5<<2)|0;c[m>>2]=(c[m>>2]|0)+u;m=j+1310736+(l+-3<<2)|0;if((c[m>>2]|0)<(r|0))c[m>>2]=r;c[j+1310736+(l+-1<<2)>>2]=u;break}l=b[e+-2>>1]|0;if(l<<16>>16>0){b[e>>1]=l;l=(l<<16>>16)*7|0;q=j+1310736+(l+-7<<2)|0;c[q>>2]=(c[q>>2]|0)+1;q=j+1310736+(l+-6<<2)|0;c[q>>2]=(c[q>>2]|0)+r;q=j+1310736+(l+-5<<2)|0;c[q>>2]=(c[q>>2]|0)+u;l=j+1310736+(l+-3<<2)|0;if((c[l>>2]|0)>=(r|0))break;c[l>>2]=r;break}else{l=k+1|0;if((k|0)>32767){l=54;break a}b[e>>1]=l;c[j+1179664+(k<<2)>>2]=l<<16>>16;k=k*7|0;c[j+1310736+(k<<2)>>2]=1;c[j+1310736+(k+1<<2)>>2]=r;c[j+1310736+(k+2<<2)>>2]=u;c[j+1310736+(k+3<<2)>>2]=r;c[j+1310736+(k+4<<2)>>2]=r;c[j+1310736+(k+5<<2)>>2]=u;c[j+1310736+(k+6<<2)>>2]=u;k=l;break}}if(m){l=c[j+1179664+(q+-1<<2)>>2]|0;p=c[j+1179664+(o+-1<<2)>>2]|0;b:do if((l|0)<=(p|0)){b[e>>1]=l;if((l|0)<(p|0)){m=n;o=0;while(1){if((o|0)>=(k|0))break b;if((c[m>>2]|0)==(p|0))c[m>>2]=l;m=m+4|0;o=o+1|0}}}else{b[e>>1]=p;m=n;o=0;while(1){if((o|0)>=(k|0)){l=p;break b}if((c[m>>2]|0)==(l|0))c[m>>2]=p;m=m+4|0;o=o+1|0}}while(0);q=(l<<16>>16)*7|0;p=j+1310736+(q+-7<<2)|0;c[p>>2]=(c[p>>2]|0)+1;p=j+1310736+(q+-6<<2)|0;c[p>>2]=(c[p>>2]|0)+r;p=j+1310736+(q+-5<<2)|0;c[p>>2]=(c[p>>2]|0)+u;c[j+1310736+(q+-1<<2)>>2]=u;break}m=b[e+-2>>1]|0;if(m<<16>>16<=0){b[e>>1]=p;l=q*7|0;m=j+1310736+(l+-7<<2)|0;c[m>>2]=(c[m>>2]|0)+1;m=j+1310736+(l+-6<<2)|0;c[m>>2]=(c[m>>2]|0)+r;m=j+1310736+(l+-5<<2)|0;c[m>>2]=(c[m>>2]|0)+u;m=j+1310736+(l+-4<<2)|0;if((c[m>>2]|0)>(r|0))c[m>>2]=r;c[j+1310736+(l+-1<<2)>>2]=u;break}l=c[j+1179664+(q+-1<<2)>>2]|0;p=c[j+1179664+((m<<16>>16)+-1<<2)>>2]|0;c:do if((l|0)<=(p|0)){b[e>>1]=l;if((l|0)<(p|0)){m=n;o=0;while(1){if((o|0)>=(k|0))break c;if((c[m>>2]|0)==(p|0))c[m>>2]=l;m=m+4|0;o=o+1|0}}}else{b[e>>1]=p;m=n;o=0;while(1){if((o|0)>=(k|0)){l=p;break c}if((c[m>>2]|0)==(l|0))c[m>>2]=p;m=m+4|0;o=o+1|0}}while(0);q=(l<<16>>16)*7|0;p=j+1310736+(q+-7<<2)|0;c[p>>2]=(c[p>>2]|0)+1;p=j+1310736+(q+-6<<2)|0;c[p>>2]=(c[p>>2]|0)+r;q=j+1310736+(q+-5<<2)|0;c[q>>2]=(c[q>>2]|0)+u}else{b[e>>1]=0;a[t>>0]=0}while(0);s=s+1|0;t=t+1|0;r=r+1|0;e=e+2|0}l=s+2|0;u=u+1|0;q=k;m=t+2|0;e=e+4|0}d:do if((l|0)==54){Se(0,3,19708,y);k=-1}else if((l|0)==59){o=j+12|0;k=1;e=1;while(1){if((e|0)>(q|0))break;l=c[n>>2]|0;if((l|0)==(e|0))m=k+1|0;else{m=k;k=c[j+1179664+(l+-1<<2)>>2]|0}c[n>>2]=k;k=m;e=e+1|0;n=n+4|0}p=j+8|0;l=k+-1|0;c[p>>2]=l;if(!l)k=0;else{_O(o|0,0,l<<2|0)|0;_O(j+655376|0,0,l<<4|0)|0;k=0;while(1){if((k|0)>=(l|0))break;y=k<<2;c[j+131084+(y<<2)>>2]=f;c[j+131084+((y|1)<<2)>>2]=0;c[j+131084+((y|2)<<2)>>2]=h;c[j+131084+((y|3)<<2)>>2]=0;k=k+1|0}e=0;while(1){if((e|0)>=(q|0))break;m=(c[j+1179664+(e<<2)>>2]|0)+-1|0;n=e*7|0;k=j+12+(m<<2)|0;c[k>>2]=(c[k>>2]|0)+(c[j+1310736+(n<<2)>>2]|0);k=m<<1;l=j+655376+(k<<3)|0;g[l>>3]=+g[l>>3]+ +(c[j+1310736+(n+1<<2)>>2]|0);k=j+655376+((k|1)<<3)|0;g[k>>3]=+g[k>>3]+ +(c[j+1310736+(n+2<<2)>>2]|0);m=m<<2;k=j+131084+(m<<2)|0;l=c[j+1310736+(n+3<<2)>>2]|0;if((c[k>>2]|0)>(l|0))c[k>>2]=l;k=j+131084+((m|1)<<2)|0;l=c[j+1310736+(n+4<<2)>>2]|0;if((c[k>>2]|0)<(l|0))c[k>>2]=l;k=j+131084+((m|2)<<2)|0;l=c[j+1310736+(n+5<<2)>>2]|0;if((c[k>>2]|0)>(l|0))c[k>>2]=l;l=j+131084+((m|3)<<2)|0;k=c[j+1310736+(n+6<<2)>>2]|0;if((c[l>>2]|0)<(k|0))c[l>>2]=k;e=e+1|0}l=c[p>>2]|0;k=0;while(1){if((k|0)>=(l|0)){k=0;break d}A=+(c[j+12+(k<<2)>>2]|0);h=k<<1;f=j+655376+(h<<3)|0;g[f>>3]=+g[f>>3]/A;h=j+655376+((h|1)<<3)|0;g[h>>3]=+g[h>>3]/A;k=k+1|0}}}while(0);yb=z;return k|0}function mc(e,f,h,i,j){e=e|0;f=f|0;h=h|0;i=i|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0.0;z=yb;yb=yb+16|0;y=z;p=c[j>>2]|0;x=h+-1|0;k=p;l=0;m=p+((B(x,f)|0)<<1)|0;while(1){if((l|0)>=(f|0))break;b[m>>1]=0;b[k>>1]=0;k=k+2|0;l=l+1|0;m=m+2|0}w=f+-1|0;k=p;l=0;m=p+(w<<1)|0;while(1){if((l|0)>=(h|0))break;b[m>>1]=0;b[k>>1]=0;k=k+(f<<1)|0;l=l+1|0;m=m+(f<<1)|0}n=j+1179664|0;t=f+1|0;v=0-f|0;o=e+t|0;l=i+t|0;u=1;q=0;m=(c[j+4>>2]|0)+t|0;e=p+(t<<1)|0;a:while(1){if((u|0)>=(x|0)){l=59;break}r=l;k=q;s=m;q=1;t=e;while(1){if((q|0)>=(w|0))break;do if((d[o>>0]|0)>(d[r>>0]|0)){a[s>>0]=-1;m=t+(v<<1)|0;l=b[m>>1]|0;if(l<<16>>16>0){b[t>>1]=l;p=(l<<16>>16)*7|0;i=j+1310736+(p+-7<<2)|0;c[i>>2]=(c[i>>2]|0)+1;i=j+1310736+(p+-6<<2)|0;c[i>>2]=(c[i>>2]|0)+q;i=j+1310736+(p+-5<<2)|0;c[i>>2]=(c[i>>2]|0)+u;c[j+1310736+(p+-1<<2)>>2]=u;break}i=b[m+2>>1]|0;p=i<<16>>16;l=b[m+-2>>1]|0;e=l<<16>>16;m=l<<16>>16>0;if(i<<16>>16<=0){if(m){b[t>>1]=l;l=e*7|0;m=j+1310736+(l+-7<<2)|0;c[m>>2]=(c[m>>2]|0)+1;m=j+1310736+(l+-6<<2)|0;c[m>>2]=(c[m>>2]|0)+q;m=j+1310736+(l+-5<<2)|0;c[m>>2]=(c[m>>2]|0)+u;m=j+1310736+(l+-3<<2)|0;if((c[m>>2]|0)<(q|0))c[m>>2]=q;c[j+1310736+(l+-1<<2)>>2]=u;break}l=b[t+-2>>1]|0;if(l<<16>>16>0){b[t>>1]=l;l=(l<<16>>16)*7|0;p=j+1310736+(l+-7<<2)|0;c[p>>2]=(c[p>>2]|0)+1;p=j+1310736+(l+-6<<2)|0;c[p>>2]=(c[p>>2]|0)+q;p=j+1310736+(l+-5<<2)|0;c[p>>2]=(c[p>>2]|0)+u;l=j+1310736+(l+-3<<2)|0;if((c[l>>2]|0)>=(q|0))break;c[l>>2]=q;break}else{l=k+1|0;if((k|0)>32767){l=54;break a}b[t>>1]=l;c[j+1179664+(k<<2)>>2]=l<<16>>16;k=k*7|0;c[j+1310736+(k<<2)>>2]=1;c[j+1310736+(k+1<<2)>>2]=q;c[j+1310736+(k+2<<2)>>2]=u;c[j+1310736+(k+3<<2)>>2]=q;c[j+1310736+(k+4<<2)>>2]=q;c[j+1310736+(k+5<<2)>>2]=u;c[j+1310736+(k+6<<2)>>2]=u;k=l;break}}if(m){l=c[j+1179664+(p+-1<<2)>>2]|0;i=c[j+1179664+(e+-1<<2)>>2]|0;b:do if((l|0)<=(i|0)){b[t>>1]=l;if((l|0)<(i|0)){m=n;e=0;while(1){if((e|0)>=(k|0))break b;if((c[m>>2]|0)==(i|0))c[m>>2]=l;m=m+4|0;e=e+1|0}}}else{b[t>>1]=i;m=n;e=0;while(1){if((e|0)>=(k|0)){l=i;break b}if((c[m>>2]|0)==(l|0))c[m>>2]=i;m=m+4|0;e=e+1|0}}while(0);p=(l<<16>>16)*7|0;i=j+1310736+(p+-7<<2)|0;c[i>>2]=(c[i>>2]|0)+1;i=j+1310736+(p+-6<<2)|0;c[i>>2]=(c[i>>2]|0)+q;i=j+1310736+(p+-5<<2)|0;c[i>>2]=(c[i>>2]|0)+u;c[j+1310736+(p+-1<<2)>>2]=u;break}m=b[t+-2>>1]|0;if(m<<16>>16<=0){b[t>>1]=i;l=p*7|0;m=j+1310736+(l+-7<<2)|0;c[m>>2]=(c[m>>2]|0)+1;m=j+1310736+(l+-6<<2)|0;c[m>>2]=(c[m>>2]|0)+q;m=j+1310736+(l+-5<<2)|0;c[m>>2]=(c[m>>2]|0)+u;m=j+1310736+(l+-4<<2)|0;if((c[m>>2]|0)>(q|0))c[m>>2]=q;c[j+1310736+(l+-1<<2)>>2]=u;break}l=c[j+1179664+(p+-1<<2)>>2]|0;i=c[j+1179664+((m<<16>>16)+-1<<2)>>2]|0;c:do if((l|0)<=(i|0)){b[t>>1]=l;if((l|0)<(i|0)){m=n;e=0;while(1){if((e|0)>=(k|0))break c;if((c[m>>2]|0)==(i|0))c[m>>2]=l;m=m+4|0;e=e+1|0}}}else{b[t>>1]=i;m=n;e=0;while(1){if((e|0)>=(k|0)){l=i;break c}if((c[m>>2]|0)==(l|0))c[m>>2]=i;m=m+4|0;e=e+1|0}}while(0);p=(l<<16>>16)*7|0;i=j+1310736+(p+-7<<2)|0;c[i>>2]=(c[i>>2]|0)+1;i=j+1310736+(p+-6<<2)|0;c[i>>2]=(c[i>>2]|0)+q;p=j+1310736+(p+-5<<2)|0;c[p>>2]=(c[p>>2]|0)+u}else{b[t>>1]=0;a[s>>0]=0}while(0);o=o+1|0;r=r+1|0;s=s+1|0;q=q+1|0;t=t+2|0}o=o+2|0;l=r+2|0;u=u+1|0;q=k;m=s+2|0;e=t+4|0}d:do if((l|0)==54){Se(0,3,19708,y);k=-1}else if((l|0)==59){i=j+12|0;k=1;e=1;while(1){if((e|0)>(q|0))break;l=c[n>>2]|0;if((l|0)==(e|0))m=k+1|0;else{m=k;k=c[j+1179664+(l+-1<<2)>>2]|0}c[n>>2]=k;k=m;e=e+1|0;n=n+4|0}o=j+8|0;l=k+-1|0;c[o>>2]=l;if(!l)k=0;else{_O(i|0,0,l<<2|0)|0;_O(j+655376|0,0,l<<4|0)|0;k=0;while(1){if((k|0)>=(l|0))break;y=k<<2;c[j+131084+(y<<2)>>2]=f;c[j+131084+((y|1)<<2)>>2]=0;c[j+131084+((y|2)<<2)>>2]=h;c[j+131084+((y|3)<<2)>>2]=0;k=k+1|0}e=0;while(1){if((e|0)>=(q|0))break;m=(c[j+1179664+(e<<2)>>2]|0)+-1|0;n=e*7|0;k=j+12+(m<<2)|0;c[k>>2]=(c[k>>2]|0)+(c[j+1310736+(n<<2)>>2]|0);k=m<<1;l=j+655376+(k<<3)|0;g[l>>3]=+g[l>>3]+ +(c[j+1310736+(n+1<<2)>>2]|0);k=j+655376+((k|1)<<3)|0;g[k>>3]=+g[k>>3]+ +(c[j+1310736+(n+2<<2)>>2]|0);m=m<<2;k=j+131084+(m<<2)|0;l=c[j+1310736+(n+3<<2)>>2]|0;if((c[k>>2]|0)>(l|0))c[k>>2]=l;k=j+131084+((m|1)<<2)|0;l=c[j+1310736+(n+4<<2)>>2]|0;if((c[k>>2]|0)<(l|0))c[k>>2]=l;k=j+131084+((m|2)<<2)|0;l=c[j+1310736+(n+5<<2)>>2]|0;if((c[k>>2]|0)>(l|0))c[k>>2]=l;l=j+131084+((m|3)<<2)|0;k=c[j+1310736+(n+6<<2)>>2]|0;if((c[l>>2]|0)<(k|0))c[l>>2]=k;e=e+1|0}l=c[o>>2]|0;k=0;while(1){if((k|0)>=(l|0)){k=0;break d}A=+(c[j+12+(k<<2)>>2]|0);h=k<<1;f=j+655376+(h<<3)|0;g[f>>3]=+g[f>>3]/A;h=j+655376+((h|1)<<3)|0;g[h>>3]=+g[h>>3]/A;k=k+1|0}}}while(0);yb=z;return k|0}function nc(a){a=a|0;return oc(a+8|0)|0}function oc(a){a=a|0;var b=0,d=0;d=yb;yb=yb+16|0;b=DO(4)|0;if(!b){Se(0,3,41858,d);Ea(1)}a=Ce(a)|0;c[b>>2]=a;if(!a){EO(b);b=0}yb=d;return b|0}function pc(a){a=a|0;var b=0;b=c[a>>2]|0;if(!b)a=-1;else{De(b)|0;EO(c[a>>2]|0);c[a>>2]=0;a=0}return a|0}function qc(a){a=a|0;var b=0,d=0,e=0;d=yb;yb=yb+16|0;b=DO(7062432)|0;if(!b){Se(0,3,41858,d);Ea(1)}c[b>>2]=0;c[b+4834148>>2]=0;c[b+7062408>>2]=0;c[b+4>>2]=-1;c[b+8>>2]=0;c[b+12>>2]=1;c[b+16>>2]=100;c[b+20>>2]=0;c[b+24>>2]=0;c[b+28>>2]=2;g[b+7062416>>3]=.5;c[b+7062424>>2]=3;c[b+32>>2]=a;e=c[a>>2]|0;c[b+36>>2]=e;a=c[a+4>>2]|0;c[b+40>>2]=a;c[b+44>>2]=0;c[b+15408>>2]=0;c[b+4834152>>2]=0;c[b+4818296>>2]=0;a=DO(B(e<<1,a)|0)|0;c[b+4834144>>2]=a;if(!a){Se(0,3,41858,d+8|0);Ea(1)}else{c[b+7062384>>2]=0;rc(b,0)|0;c[b+7062388>>2]=-1;sc(b,0)|0;tc(b,7)|0;yb=d;return b|0}return 0}function rc(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=yb;yb=yb+16|0;e=f;do if(a)if((c[a>>2]|0)!=(b|0)){c[a>>2]=b;if(!b){d=a+4834148|0;EO(c[d>>2]|0);c[d>>2]=0;d=0;break}b=DO(B(c[a+40>>2]|0,c[a+36>>2]|0)|0)|0;c[a+4834148>>2]=b;if(!b){Se(0,3,41858,e);Ea(1)}else d=0}else d=0;else d=-1;while(0);yb=f;return d|0}function sc(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;i=yb;yb=yb+16|0;h=i+8|0;f=i;if(a){g=a+7062388|0;if((c[g>>2]|0)!=(b|0)){d=a+7062408|0;e=c[d>>2]|0;if(e|0){Xc(e);c[d>>2]=0}switch(b|0){case 3:case 2:case 1:{c[d>>2]=Wc(c[a+36>>2]|0,c[a+40>>2]|0)|0;break}case 4:{c[a+7062404>>2]=1;c[a+7062400>>2]=1;b=4;break}case 0:break;default:{Se(0,3,19740,f);b=0}}c[g>>2]=b;if((c[a>>2]|0)==1){c[h>>2]=c[16+(b<<2)>>2];Se(0,3,19814,h);b=0}else b=0}else b=0}else b=-1;yb=i;return b|0}function tc(a,b){a=a|0;b=b|0;if(!a)a=-1;else{c[a+7062392>>2]=b;c[a+7062396>>2]=0;a=0}return a|0}function uc(a){a=a|0;var b=0,d=0;if(!a)a=-1;else{b=a+7062408|0;d=c[b>>2]|0;if(d|0){Xc(d);c[b>>2]=0}EO(c[a+4834144>>2]|0);EO(c[a+4834148>>2]|0);EO(a);a=0}return a|0}function vc(a,b){a=a|0;b=b|0;if((a|0)!=0&(b|0)!=0){c[b>>2]=c[a>>2];a=0}else a=-1;return a|0}function wc(a,b){a=a|0;b=b|0;if((a|0)!=0&b>>>0<2){c[a+12>>2]=b;a=0}else a=-1;return a|0}function xc(a,b){a=a|0;b=b|0;if((a|0)!=0&(b|0)!=0){c[b>>2]=c[a+12>>2];a=0}else a=-1;return a|0}function yc(a,b){a=a|0;b=b|0;if((a|0)==0|b>>>0>255)a=-1;else{c[a+16>>2]=b;a=0}return a|0}function zc(a,b){a=a|0;b=b|0;if((a|0)!=0&(b|0)!=0){c[b>>2]=c[a+16>>2];a=0}else a=-1;return a|0}function Ac(a,b){a=a|0;b=b|0;if((a|0)!=0&(b|0)!=0){c[b>>2]=c[a+7062388>>2];a=0}else a=-1;return a|0}function Bc(a,b){a=a|0;b=b|0;if((a|0)!=0&b>>>0<2){c[a+20>>2]=b;a=0}else a=-1;return a|0}function Cc(a,b){a=a|0;b=b|0;if(!a)a=-1;else{c[b>>2]=c[a+20>>2];a=0}return a|0}function Dc(a,b){a=a|0;b=b|0;if((a|0)!=0&b>>>0<5){c[a+24>>2]=b;a=0}else a=-1;return a|0}function Ec(a,b){a=a|0;b=b|0;if(!a)a=-1;else{c[a+7062424>>2]=b;a=0}return a|0}function Fc(a,b){a=a|0;b=b|0;if((a|0)!=0&(b|0)!=0){c[b>>2]=c[a+7062424>>2];a=0}else a=-1;return a|0}function Gc(a,b){a=a|0;b=b|0;if(!a)a=-1;else{c[b>>2]=c[a+24>>2];a=0}return a|0}function Hc(a,b){a=a|0;b=+b;if((a|0)!=0?!(b<=0.0|b>=1.0):0){g[a+7062416>>3]=b;a=0}else a=-1;return a|0}function Ic(a,b){a=a|0;b=b|0;if(!a)a=-1;else{g[b>>3]=+g[a+7062416>>3];a=0}return a|0}function Jc(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=yb;yb=yb+16|0;e=f;a:do if(a){d=a+4|0;if((c[d>>2]|0)!=(b|0)){if(b>>>0>=15){c[e>>2]=b;Se(0,3,19909,e);a=-1;break}c[d>>2]=b;c[a+8>>2]=xd(b)|0;a=a+24|0;d=c[a>>2]|0;if(!(28704>>>(b&32767)&1))switch(d|0){case 1:{c[a>>2]=4;a=0;break a}case 4:{c[a>>2]=3;a=0;break a}default:{a=0;break a}}else switch(d|0){case 0:{c[a>>2]=1;a=0;break a}case 3:{c[a>>2]=4;a=0;break a}default:{a=0;break a}}}else a=0}else a=-1;while(0);yb=f;return a|0}function Kc(a,b){a=a|0;b=b|0;var e=0,f=0,h=0,i=0,j=0,k=0,l=0.0,m=0.0,n=0,o=0.0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0.0,O=0,P=0,Q=0.0,R=0.0;P=yb;yb=yb+64|0;L=P+32|0;F=P+24|0;y=P;J=P+52|0;C=P+40|0;a:do if((a|0)!=0&(b|0)!=0){O=a+44|0;c[O>>2]=0;K=a+7062388|0;e=c[K>>2]|0;b:do if((e|0)==4){H=a+7062396|0;e=c[H>>2]|0;do if((e|0)>0)c[H>>2]=e+-1;else{B=a+16|0;D=c[B>>2]|0;E=a+7062400|0;z=(c[E>>2]|0)+D|0;z=(z|0)<255?z:255;c[J>>2]=z;G=a+7062404|0;A=D-(c[G>>2]|0)|0;A=(A|0)>0?A:0;c[J+4>>2]=A;c[J+8>>2]=D;f=b+12|0;h=a+36|0;i=a+40|0;j=a+12|0;k=a+20|0;n=a+4834144|0;p=a+15416|0;q=a+15408|0;r=a+4|0;s=a+7062384|0;t=a+24|0;u=a+32|0;v=a+7062416|0;w=a+48|0;x=a+7062424|0;e=0;while(1){if(e>>>0>=3)break;if((cd(c[f>>2]|0,c[h>>2]|0,c[i>>2]|0,c[a>>2]|0,c[j>>2]|0,c[J+(e<<2)>>2]|0,c[k>>2]|0,n,0)|0)<0){M=29;break}if((Mc(c[h>>2]|0,c[i>>2]|0,n,c[k>>2]|0,1e6,70,1.0,p,q)|0)<0){M=29;break}if((Rc(c[b>>2]|0,c[h>>2]|0,c[i>>2]|0,c[r>>2]|0,p,c[q>>2]|0,c[s>>2]|0,c[k>>2]|0,c[t>>2]|0,(c[u>>2]|0)+184|0,+g[v>>3],w,O,c[x>>2]|0)|0)<0){M=29;break}c[C+(e<<2)>>2]=c[O>>2];e=e+1|0}if((M|0)==29){e=-1;break a}if((c[a>>2]|0)==1){x=c[C+4>>2]|0;h=c[C+8>>2]|0;f=c[C>>2]|0;c[y>>2]=A;c[y+4>>2]=x;c[y+8>>2]=D;c[y+12>>2]=h;c[y+16>>2]=z;c[y+20>>2]=f;Se(0,3,19958,y)}else{f=c[C>>2]|0;h=c[C+8>>2]|0}e=c[C+4>>2]|0;if((f|0)>(h|0)|(e|0)>(h|0)){f=(f|0)<(e|0)?A:z;c[B>>2]=f;e=f-D|0;if((e|0)>0){c[E>>2]=e;e=1}else{c[E>>2]=1;e=0-e|0}c[G>>2]=e;if((c[a>>2]|0)==1){c[F>>2]=f;Se(0,3,20034,F);c[H>>2]=c[a+7062392>>2];break}else{c[H>>2]=c[a+7062392>>2];break}}e=c[E>>2]|0;f=c[G>>2]|0;do if((e|0)>=(f|0))if((e|0)>(f|0)){c[G>>2]=f+1;break}else{e=e+1|0;c[E>>2]=e;c[G>>2]=f+1;break}else{e=e+1|0;c[E>>2]=e}while(0);if((e+D|0)>254){c[E>>2]=1;e=1}if((D|0)<=(e|0))c[G>>2]=1;c[H>>2]=c[a+7062392>>2];break b}while(0);h=c[K>>2]|0;M=33}else{h=e;M=33}while(0);if((M|0)==33){c:do switch(h|0){case 3:{f=a+7062408|0;h=b+12|0;e=bd(c[f>>2]|0,c[h>>2]|0,9,-7)|0;if((e|0)<0)break a;e=c[f>>2]|0;k=a+4834144|0;e=cd(c[h>>2]|0,c[e+4>>2]|0,c[e+8>>2]|0,c[a>>2]|0,c[a+12>>2]|0,0,0,k,c[e>>2]|0)|0;if((e|0)<0)break a;e=a+36|0;f=a+40|0;h=a+20|0;break}case 2:case 1:{i=a+7062396|0;e=c[i>>2]|0;if((e|0)>0){c[i>>2]=e+-1;M=48;break c}e=c[a+7062408>>2]|0;f=c[b+12>>2]|0;if((h|0)==1)e=$c(e,f,J)|0;else e=ad(e,f,J)|0;if((e|0)<0)break a;e=a+16|0;if((c[a>>2]|0)==1?(I=d[J>>0]|0,(c[e>>2]|0)!=(I|0)):0){c[L>>2]=(c[K>>2]|0)==1?20086:20093;c[L+4>>2]=I;Se(0,3,20098,L)}c[e>>2]=d[J>>0];c[i>>2]=c[a+7062392>>2];M=48;break}default:M=48}while(0);if((M|0)==48){e=a+36|0;f=a+40|0;h=a+20|0;k=a+4834144|0;if((cd(c[b+12>>2]|0,c[e>>2]|0,c[f>>2]|0,c[a>>2]|0,c[a+12>>2]|0,c[a+16>>2]|0,c[h>>2]|0,k,0)|0)<0){e=-1;break}}i=a+15416|0;j=a+15408|0;if((Mc(c[e>>2]|0,c[f>>2]|0,k,c[h>>2]|0,1e6,70,1.0,i,j)|0)<0){e=-1;break}if((Rc(c[b>>2]|0,c[e>>2]|0,c[f>>2]|0,c[a+4>>2]|0,i,c[j>>2]|0,c[a+7062384>>2]|0,c[h>>2]|0,c[a+24>>2]|0,(c[a+32>>2]|0)+184|0,+g[a+7062416>>3],a+48|0,O,c[a+7062424>>2]|0)|0)<0){e=-1;break}}s=a+28|0;if((c[s>>2]|0)==1){Lc(a);e=0;break}t=a+4818296|0;q=c[t>>2]|0;r=a+24|0;p=0;while(1){if((p|0)>=(q|0))break;h=c[O>>2]|0;i=a+4818304+(p*264|0)|0;j=a+4818304+(p*264|0)+56|0;k=a+4818304+(p*264|0)+64|0;f=0;n=-1;l=.5;while(1){if((f|0)>=(h|0))break;m=+(c[a+48+(f<<8)>>2]|0);o=+(c[i>>2]|0)/m;if(!(o<.7|o>1.43)?(o=+g[a+48+(f<<8)+56>>3]-+g[j>>3],N=+g[a+48+(f<<8)+64>>3]-+g[k>>3],N=(o*o+N*N)/m,N-1){k=c[r>>2]|0;switch(k|0){case 2:case 1:case 0:break;case 4:case 3:{f=a+48+(n<<8)+40|0;m=+g[a+4818304+(p*264|0)+40>>3];if(!(+g[f>>3]>3];if(!(+g[e>>3]>3]}g[f>>3]=m;c[a+48+(n<<8)+8>>2]=c[a+4818304+(p*264|0)+8>>2];g[e>>3]=l;c[a+48+(n<<8)+12>>2]=c[a+4818304+(p*264|0)+12>>2];f=0;h=-1;m=1.0e8;while(1){if((f|0)==4)break;e=0;l=0.0;while(1){if((e|0)==4)break;b=e+f&3;Q=+g[a+4818304+(p*264|0)+168+(e<<4)>>3]-+g[a+48+(n<<8)+168+(b<<4)>>3];o=+g[a+4818304+(p*264|0)+168+(e<<4)+8>>3]-+g[a+48+(n<<8)+168+(b<<4)+8>>3];e=e+1|0;l=l+(Q*Q+o*o)}b=l>2]=(b+(c[a+4818304+(p*264|0)+20>>2]|0)|0)%4|0;c[a+48+(n<<8)+24>>2]=(b+(c[a+4818304+(p*264|0)+24>>2]|0)|0)%4|0;break d}default:{e=-1;break a}}e=a+48+(n<<8)+32|0;o=+g[a+4818304+(p*264|0)+32>>3];if(+g[e>>3]>3]=o;i=c[a+4818304+(p*264|0)+4>>2]|0;c[a+48+(n<<8)+4>>2]=i;j=a+4818304+(p*264|0)+16|0;f=-1;l=1.0e8;h=0;while(1){if((h|0)==4)break;e=0;m=0.0;while(1){if((e|0)==4)break;b=e+h&3;R=+g[a+4818304+(p*264|0)+168+(e<<4)>>3]-+g[a+48+(n<<8)+168+(b<<4)>>3];Q=+g[a+4818304+(p*264|0)+168+(e<<4)+8>>3]-+g[a+48+(n<<8)+168+(b<<4)+8>>3];e=e+1|0;m=m+(R*R+Q*Q)}if(m>2]|0)|0)%4|0;l=m}else e=f;f=e;h=h+1|0}c[a+48+(n<<8)+16>>2]=f;if(k>>>0<2){c[a+48+(n<<8)+8>>2]=i;g[a+48+(n<<8)+40>>3]=o;c[a+48+(n<<8)+20>>2]=f;break}else{c[a+48+(n<<8)+12>>2]=i;g[a+48+(n<<8)+48>>3]=o;c[a+48+(n<<8)+24>>2]=f;break}}}while(0);p=p+1|0}Lc(a);f=0;e=0;while(1){if((f|0)>=(c[t>>2]|0))break;M=a+4818304+(f*264|0)+256|0;b=c[M>>2]|0;c[M>>2]=b+1;if((b|0)<3){if((f|0)!=(e|0))YO(a+4818304+(e*264|0)|0,a+4818304+(f*264|0)|0,264)|0;e=e+1|0}f=f+1|0}c[t>>2]=e;f=c[O>>2]|0;k=0;while(1){if((k|0)>=(f|0))break;j=a+48+(k<<8)|0;h=c[a+48+(k<<8)+4>>2]|0;if((h|0)>=0){i=0;while(1){if((i|0)>=(e|0))break;if((c[a+4818304+(i*264|0)+4>>2]|0)==(h|0))break;i=i+1|0}if((i|0)==(e|0)){if((e|0)==60)break;e=e+1|0;c[t>>2]=e}YO(a+4818304+(i*264|0)|0,j|0,256)|0;c[a+4818304+(i*264|0)+256>>2]=1}k=k+1|0}if((c[s>>2]|0)==2)e=0;else{n=0;while(1){if((n|0)>=(e|0)){e=0;break a}i=a+4818304+(n*264|0)|0;j=a+4818304+(n*264|0)+56|0;k=a+4818304+(n*264|0)+64|0;h=0;while(1){if((h|0)>=(f|0))break;l=+(c[a+48+(h<<8)>>2]|0);R=+(c[i>>2]|0)/l;if(!(R<.7|R>1.43)?(Q=+g[a+48+(h<<8)+56>>3]-+g[j>>3],R=+g[a+48+(h<<8)+64>>3]-+g[k>>3],(Q*Q+R*R)/l<.5):0)break;h=h+1|0}if((h|0)==(f|0)){YO(a+48+(f<<8)|0,a+4818304+(n*264|0)|0,256)|0;f=f+1|0;c[O>>2]=f;e=c[t>>2]|0}n=n+1|0}}}else e=-1;while(0);yb=P;return e|0}function Lc(a){a=a|0;var b=0,d=0,e=0,f=0;a:do switch(c[a+24>>2]|0){case 1:case 0:{d=c[a+44>>2]|0;b=0;while(1){if((b|0)>=(d|0))break a;e=a+48+(b<<8)+4|0;if((c[e>>2]|0)>-1?+g[a+48+(b<<8)+32>>3]<.5:0){c[a+48+(b<<8)+8>>2]=-1;c[e>>2]=-1;c[a+48+(b<<8)+236>>2]=6}b=b+1|0}}case 2:{d=c[a+44>>2]|0;b=0;while(1){if((b|0)>=(d|0))break a;e=a+48+(b<<8)+4|0;if((c[e>>2]|0)>-1?+g[a+48+(b<<8)+32>>3]<.5:0){c[a+48+(b<<8)+12>>2]=-1;c[e>>2]=-1;c[a+48+(b<<8)+236>>2]=6}b=b+1|0}}default:{f=c[a+44>>2]|0;e=0;while(1){if((e|0)>=(f|0))break a;b=a+48+(e<<8)+8|0;if((c[b>>2]|0)>-1?+g[a+48+(e<<8)+40>>3]<.5:0){c[b>>2]=-1;b=0}else b=1;d=a+48+(e<<8)+12|0;if(((c[d>>2]|0)>-1?+g[a+48+(e<<8)+48>>3]<.5:0)?(c[d>>2]=-1,(b|0)==0):0)c[a+48+(e<<8)+236>>2]=6;e=e+1|0}}}while(0);return}function Mc(a,b,d,e,f,h,i,j,k){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;i=+i;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0.0;r=(e|0)==1;if(r){a=(a|0)/2|0;b=(b|0)/2|0;f=(f|0)/4|0;h=(h|0)/4|0}c[k>>2]=0;n=d+8|0;o=a+-2|0;b=b+-2|0;l=d+1179664|0;e=0;while(1){if((e|0)>=(c[n>>2]|0)){q=5;break}m=d+12+(e<<2)|0;s=c[m>>2]|0;if(((((((!((s|0)<(h|0)|(s|0)>(f|0))?(p=d+131084+(e<<4)|0,(c[p>>2]|0)!=1):0)?(c[d+131084+(e<<4)+4>>2]|0)!=(o|0):0)?(c[d+131084+(e<<4)+8>>2]|0)!=1:0)?(c[d+131084+(e<<4)+12>>2]|0)!=(b|0):0)?(Nc(c[d>>2]|0,a,0,l,e+1|0,p,j+((c[k>>2]|0)*80048|0)|0)|0)>=0:0)?(Oc(c[m>>2]|0,j+((c[k>>2]|0)*80048|0)|0,i)|0)>=0:0)?(c[j+((c[k>>2]|0)*80048|0)>>2]=c[m>>2],s=c[k>>2]|0,g[j+(s*80048|0)+8>>3]=+g[d+655376+(e<<4)>>3],g[j+(s*80048|0)+16>>3]=+g[d+655376+(e<<4)+8>>3],s=s+1|0,c[k>>2]=s,(s|0)==60):0){e=60;break}e=e+1|0}if((q|0)==5)e=c[k>>2]|0;a=0;while(1){if((a|0)>=(e|0))break;l=a+1|0;m=j+(a*80048|0)+8|0;n=j+(a*80048|0)+16|0;h=j+(a*80048|0)|0;f=l;while(1){if((f|0)>=(e|0))break;t=+g[m>>3]-+g[j+(f*80048|0)+8>>3];i=+g[n>>3]-+g[j+(f*80048|0)+16>>3];i=t*t+i*i;e=c[h>>2]|0;a=j+(f*80048|0)|0;b=c[a>>2]|0;if((e|0)>(b|0)){if(i<+((e|0)/4|0|0))c[a>>2]=0}else if(i<+((b|0)/4|0|0))c[h>>2]=0;f=f+1|0;e=c[k>>2]|0}a=l}f=0;while(1){if((f|0)>=(e|0))break;if(!(c[j+(f*80048|0)>>2]|0)){b=f;while(1){a=b+1|0;if((a|0)>=(e|0))break;YO(j+(b*80048|0)|0,j+(a*80048|0)|0,80048)|0;b=a;e=c[k>>2]|0}e=e+-1|0;c[k>>2]=e}f=f+1|0}a:do if(r){b=0;while(1){if((b|0)>=(e|0))break a;c[j>>2]=c[j>>2]<<2;a=j+8|0;g[a>>3]=+g[a>>3]*2.0;a=j+16|0;g[a>>3]=+g[a>>3]*2.0;a=c[j+24>>2]|0;e=0;while(1){if((e|0)>=(a|0))break;s=j+28+(e<<2)|0;c[s>>2]=c[s>>2]<<1;s=j+40028+(e<<2)|0;c[s>>2]=c[s>>2]<<1;e=e+1|0}j=j+80048|0;b=b+1|0;e=c[k>>2]|0}}while(0);return 0}function Nc(a,d,e,f,g,h,i){a=a|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;w=yb;yb=yb+80032|0;n=w+80016|0;m=w+80008|0;j=w+8e4|0;u=w+4e4|0;v=w;s=c[h+8>>2]|0;t=B(s,d)|0;e=c[h>>2]|0;h=c[h+4>>2]|0;r=e;e=a+(t+e<<1)|0;while(1){if((r|0)>(h|0)){t=7;break}t=b[e>>1]|0;if(t<<16>>16>0?(c[f+((t<<16>>16)+-1<<2)>>2]|0)==(g|0):0){t=6;break}r=r+1|0;e=e+2|0}do if((t|0)==6)if((r|0)!=-1){o=i+24|0;c[o>>2]=1;p=i+28|0;c[p>>2]=r;q=i+40028|0;c[q>>2]=s;g=5;e=s;l=r;f=1;while(1){k=a+((B(e,d)|0)+l<<1)|0;j=0;e=g+5|0;while(1){g=(e|0)%8|0;if(j>>>0>=8){t=13;break}e=c[48+(g<<2)>>2]|0;x=B(e,d)|0;h=c[80+(g<<2)>>2]|0;if((b[k+(x+h<<1)>>1]|0)>0)break;j=j+1|0;e=g+1|0}if((t|0)==13){t=0;if((j|0)==8){t=15;break}h=c[80+(g<<2)>>2]|0;e=c[48+(g<<2)>>2]|0}c[i+28+(f<<2)>>2]=h+l;j=c[o>>2]|0;c[i+40028+(j<<2)>>2]=e+(c[i+40028+(j+-1<<2)>>2]|0);j=c[o>>2]|0;h=i+28+(j<<2)|0;if((c[h>>2]|0)==(r|0)?(c[i+40028+(j<<2)>>2]|0)==(s|0):0){t=18;break}f=j+1|0;c[o>>2]=f;if((f|0)==9999){t=21;break}e=c[i+40028+(j<<2)>>2]|0;l=c[h>>2]|0}if((t|0)==15){Se(0,3,20152,m);e=-1;break}else if((t|0)==18){f=0;e=0;h=1;while(1){if((h|0)>=(j|0))break;x=(c[i+28+(h<<2)>>2]|0)-r|0;x=B(x,x)|0;d=(c[i+40028+(h<<2)>>2]|0)-s|0;x=(B(d,d)|0)+x|0;d=(x|0)>(e|0);f=d?h:f;e=d?x:e;h=h+1|0}e=0;while(1){if((e|0)>=(f|0))break;c[u+(e<<2)>>2]=c[i+28+(e<<2)>>2];c[v+(e<<2)>>2]=c[i+40028+(e<<2)>>2];e=e+1|0}h=f;e=j;while(1){if((h|0)>=(e|0))break;e=h-f|0;c[i+28+(e<<2)>>2]=c[i+28+(h<<2)>>2];c[i+40028+(e<<2)>>2]=c[i+40028+(h<<2)>>2];h=h+1|0;e=c[o>>2]|0}e=0;while(1){if((e|0)>=(f|0))break;x=e-f|0;c[i+28+((c[o>>2]|0)+x<<2)>>2]=c[u+(e<<2)>>2];c[i+40028+((c[o>>2]|0)+x<<2)>>2]=c[v+(e<<2)>>2];e=e+1|0}c[i+28+(c[o>>2]<<2)>>2]=c[p>>2];c[i+40028+(c[o>>2]<<2)>>2]=c[q>>2];c[o>>2]=(c[o>>2]|0)+1;e=0;break}else if((t|0)==21){Se(0,3,20159,n);e=-1;break}}else t=7;while(0);if((t|0)==7){Se(0,3,20145,j);e=-1}yb=w;return e|0}function Oc(a,b,d){a=a|0;b=b|0;d=+d;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;r=yb;yb=yb+96|0;o=r+48|0;k=r+92|0;p=r;l=r+88|0;m=b+28|0;j=c[m>>2]|0;n=b+40028|0;h=c[n>>2]|0;q=b+24|0;i=(c[q>>2]|0)+-1|0;f=1;g=0;e=0;while(1){if((f|0)>=(i|0))break;t=(c[b+28+(f<<2)>>2]|0)-j|0;t=B(t,t)|0;u=(c[b+40028+(f<<2)>>2]|0)-h|0;t=(B(u,u)|0)+t|0;u=(t|0)>(g|0);s=u?f:e;f=f+1|0;g=u?t:g;e=s}d=+(a|0)/.75*.01*d;c[k>>2]=0;c[l>>2]=0;a:do if((Pc(m,n,0,e,d,o,k)|0)>=0?(Pc(m,n,e,(c[q>>2]|0)+-1|0,d,p,l)|0)>=0:0){f=c[k>>2]|0;g=c[l>>2]|0;do if((f|0)==1&(g|0)==1){f=c[p>>2]|0;g=c[o>>2]|0}else{if((f|0)>1&(g|0)==0){f=(e|0)/2|0;c[l>>2]=0;c[k>>2]=0;if((Pc(m,n,0,f,d,o,k)|0)<0){e=-1;break a}if((Pc(m,n,f,e,d,p,l)|0)<0){e=-1;break a}if(!((c[k>>2]|0)==1&(c[l>>2]|0)==1)){e=-1;break a}f=e;g=c[o>>2]|0;e=c[p>>2]|0;break}if(!((f|0)==0&(g|0)>1)){e=-1;break a}f=(e+-1+(c[q>>2]|0)|0)/2|0;c[l>>2]=0;c[k>>2]=0;if((Pc(m,n,e,f,d,o,k)|0)<0){e=-1;break a}if((Pc(m,n,f,(c[q>>2]|0)+-1|0,d,p,l)|0)<0){e=-1;break a}if(!((c[k>>2]|0)==1&(c[l>>2]|0)==1)){e=-1;break a}f=c[p>>2]|0;g=e;e=c[o>>2]|0}while(0);c[b+80028>>2]=0;c[b+80032>>2]=g;c[b+80036>>2]=e;c[b+80040>>2]=f;c[b+80044>>2]=(c[q>>2]|0)+-1;e=0}else e=-1;while(0);yb=r;return e|0}function Pc(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=+f;g=g|0;h=h|0;var i=0,j=0,k=0.0,l=0.0,m=0.0,n=0.0,o=0,p=0,q=0,r=0,s=0.0;j=c[b+(e<<2)>>2]|0;q=c[b+(d<<2)>>2]|0;l=+(j-q|0);i=c[a+(d<<2)>>2]|0;r=c[a+(e<<2)>>2]|0;m=+(i-r|0);n=+((B(r,q)|0)-(B(i,j)|0)|0);j=d+1|0;i=j;k=0.0;while(1){if((j|0)>=(e|0))break;s=l*+(c[a+(j<<2)>>2]|0)+m*+(c[b+(j<<2)>>2]|0)+n;s=s*s;r=s>k;i=r?j:i;j=j+1|0;k=r?s:k}if(k/(l*l+m*m)>f)if(((Pc(a,b,d,i,f,g,h)|0)>=0?(o=c[h>>2]|0,(o|0)<=5):0)?(c[g+(o<<2)>>2]=i,c[h>>2]=(c[h>>2]|0)+1,(Pc(a,b,i,e,f,g,h)|0)>=0):0)p=8;else i=-1;else p=8;if((p|0)==8)i=0;return i|0}function Qc(a,b,d,e,h,i,j){a=a|0;b=b|0;d=d|0;e=e|0;h=h|0;i=i|0;j=j|0;var k=0,l=0,m=0.0,n=0,o=0.0,p=0.0,q=0,r=0,s=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;y=yb;yb=yb+16|0;r=y+4|0;s=y;x=oe(2)|0;u=oe(2)|0;v=Bd(2,2)|0;k=0;a:while(1){if(k>>>0>=4){q=10;break}l=k+1|0;q=c[e+(l<<2)>>2]|0;n=c[e+(k<<2)>>2]|0;p=+(q+1-n|0)*.05+.5;n=~~(p+ +(n|0));q=~~(+(q|0)-p)-n|0;w=Bd(q+1|0,2)|0;d=0;while(1){if((d|0)>(q|0))break;z=d+n|0;if((ne(h,+(c[a+(z<<2)>>2]|0),+(c[b+(z<<2)>>2]|0),r,s)|0)<0){q=6;break a}A=c[w>>2]|0;z=d<<1;g[A+(z<<3)>>3]=+f[r>>2];g[A+((z|1)<<3)>>3]=+f[s>>2];d=d+1|0}if((Nd(w,v,x,u)|0)<0){q=14;break}A=c[v>>2]|0;o=+g[A+8>>3];g[i+(k*24|0)>>3]=o;p=-+g[A>>3];g[i+(k*24|0)+8>>3]=p;A=c[u>>2]|0;g[i+(k*24|0)+16>>3]=-(o*+g[A>>3]+ +g[A+8>>3]*p);Jd(w)|0;k=l}b:do if((q|0)==6)q=14;else if((q|0)==10){Jd(v)|0;pe(u)|0;pe(x)|0;d=0;while(1){if(d>>>0>=4){d=0;break b}k=d+3&3;l=i+(k*24|0)|0;m=+g[i+(d*24|0)+8>>3];n=i+(d*24|0)|0;o=+g[i+(k*24|0)+8>>3];p=+g[l>>3]*m-+g[n>>3]*o;if(+t(+p)<.0001){d=-1;break b}A=i+(d*24|0)+16|0;z=i+(k*24|0)+16|0;g[j+(d<<4)>>3]=(o*+g[A>>3]-m*+g[z>>3])/p;g[j+(d<<4)+8>>3]=(+g[n>>3]*+g[z>>3]-+g[l>>3]*+g[A>>3])/p;d=d+1|0}}while(0);if((q|0)==14){Jd(w)|0;Jd(v)|0;pe(u)|0;pe(x)|0;d=-1}yb=y;return d|0}function Rc(a,b,d,e,h,i,j,k,l,m,n,o,p,q){a=a|0;b=b|0;d=d|0;e=e|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;m=m|0;n=+n;o=o|0;p=p|0;q=q|0;var r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0;G=yb;yb=yb+16|0;A=G+4|0;B=G;C=l>>>0<2;D=(l|0)==2;z=0;r=0;while(1){if((z|0)>=(i|0))break;c[o+(r<<8)>>2]=c[h+(z*80048|0)>>2];if((ne(m,+g[h+(z*80048|0)+8>>3],+g[h+(z*80048|0)+16>>3],A,B)|0)>=0?(g[o+(r<<8)+56>>3]=+f[A>>2],g[o+(r<<8)+64>>3]=+f[B>>2],E=o+(r<<8)+168|0,(Qc(h+(z*80048|0)+28|0,h+(z*80048|0)+40028|0,c[h+(z*80048|0)+24>>2]|0,h+(z*80048|0)+80028|0,m,o+(r<<8)+72|0,E)|0)>=0):0){v=o+(r<<8)+8|0;s=o+(r<<8)+20|0;t=o+(r<<8)+40|0;w=o+(r<<8)+12|0;y=o+(r<<8)+24|0;x=o+(r<<8)+48|0;u=md(j,k,l,a,b,d,e,m,E,n,v,s,t,w,y,x,q,o+(r<<8)+240|0,o+(r<<8)+248|0)|0;switch(u|0){case 0:{F=12;break}case -1:{u=2;F=12;break}case -2:{u=3;F=12;break}case -3:{u=4;F=12;break}case -4:{u=5;F=12;break}case -5:{u=9;F=12;break}case -6:{u=1;F=12;break}default:{}}if((F|0)==12){F=0;c[o+(r<<8)+236>>2]=u}if(!C){if(D){c[o+(r<<8)+4>>2]=c[w>>2];t=x;s=y;F=17}}else{c[o+(r<<8)+4>>2]=c[v>>2];F=17}if((F|0)==17){F=0;c[o+(r<<8)+16>>2]=c[s>>2];g[o+(r<<8)+32>>3]=+g[t>>3]}r=r+1|0}z=z+1|0}c[p>>2]=r;yb=G;return 0}function Sc(a,b,d,e){a=a|0;b=b|0;d=+d;e=e|0;var f=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0.0,o=0;m=yb;yb=yb+288|0;h=m+192|0;i=m+96|0;j=m+264|0;k=m;l=m+256|0;do if((c[b+12>>2]|0)>=0)if((c[b+8>>2]|0)<0){f=b+24|0;break}else{f=b+16|0;break}else f=b+20|0;while(0);f=c[f>>2]|0;o=(4-f|0)%4|0;g[h>>3]=+g[b+168+(o<<4)>>3];g[h+8>>3]=+g[b+168+(o<<4)+8>>3];o=(5-f|0)%4|0;g[h+16>>3]=+g[b+168+(o<<4)>>3];g[h+24>>3]=+g[b+168+(o<<4)+8>>3];o=(6-f|0)%4|0;g[h+32>>3]=+g[b+168+(o<<4)>>3];g[h+40>>3]=+g[b+168+(o<<4)+8>>3];f=(7-f|0)%4|0;g[h+48>>3]=+g[b+168+(f<<4)>>3];g[h+56>>3]=+g[b+168+(f<<4)+8>>3];n=d*-.5;g[i>>3]=n;d=d*.5;g[i+8>>3]=d;g[i+16>>3]=0.0;g[i+24>>3]=d;g[i+32>>3]=d;g[i+40>>3]=0.0;g[i+48>>3]=d;g[i+56>>3]=n;g[i+64>>3]=0.0;g[i+72>>3]=n;g[i+80>>3]=n;g[i+88>>3]=0.0;c[j>>2]=h;c[j+4>>2]=i;c[j+8>>2]=4;if((Ke(c[a>>2]|0,h,i,4,k)|0)<0)d=1.0e8;else{o=(Fe(c[a>>2]|0,j,k,e,l)|0)<0;d=o?1.0e8:+g[l>>3]}yb=m;return +d}function Tc(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=+e;f=f|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0.0,o=0;m=yb;yb=yb+192|0;i=m+96|0;j=m;k=m+168|0;l=m+160|0;do if((c[b+12>>2]|0)>=0)if((c[b+8>>2]|0)<0){h=b+24|0;break}else{h=b+16|0;break}else h=b+20|0;while(0);h=c[h>>2]|0;o=(4-h|0)%4|0;g[i>>3]=+g[b+168+(o<<4)>>3];g[i+8>>3]=+g[b+168+(o<<4)+8>>3];o=(5-h|0)%4|0;g[i+16>>3]=+g[b+168+(o<<4)>>3];g[i+24>>3]=+g[b+168+(o<<4)+8>>3];o=(6-h|0)%4|0;g[i+32>>3]=+g[b+168+(o<<4)>>3];g[i+40>>3]=+g[b+168+(o<<4)+8>>3];h=(7-h|0)%4|0;g[i+48>>3]=+g[b+168+(h<<4)>>3];g[i+56>>3]=+g[b+168+(h<<4)+8>>3];n=e*-.5;g[j>>3]=n;e=e*.5;g[j+8>>3]=e;g[j+16>>3]=0.0;g[j+24>>3]=e;g[j+32>>3]=e;g[j+40>>3]=0.0;g[j+48>>3]=e;g[j+56>>3]=n;g[j+64>>3]=0.0;g[j+72>>3]=n;g[j+80>>3]=n;g[j+88>>3]=0.0;c[k>>2]=i;c[k+4>>2]=j;c[k+8>>2]=4;k=(Fe(c[a>>2]|0,k,d,f,l)|0)<0;yb=m;return +(k?1.0e8:+g[l>>3])}function Uc(a,b,d,e,f,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0;o=yb;yb=yb+32|0;l=o+20|0;m=o;n=DO(f<<4)|0;c[l>>2]=n;if(!n){Se(0,3,41858,o+8|0);Ea(1)}j=DO(f*24|0)|0;k=l+4|0;c[k>>2]=j;if(!j){Se(0,3,41858,o+16|0);Ea(1)}i=0;while(1){if((i|0)>=(f|0))break;g[n+(i<<4)>>3]=+g[d+(i<<4)>>3];g[n+(i<<4)+8>>3]=+g[d+(i<<4)+8>>3];g[j+(i*24|0)>>3]=+g[e+(i*24|0)>>3];g[j+(i*24|0)+8>>3]=+g[e+(i*24|0)+8>>3];g[j+(i*24|0)+16>>3]=+g[e+(i*24|0)+16>>3];i=i+1|0}c[l+8>>2]=f;if((Fe(c[a>>2]|0,l,b,h,m)|0)<0)g[m>>3]=1.0e8;EO(c[l>>2]|0);EO(c[k>>2]|0);yb=o;return +(+g[m>>3])}function Vc(a,b,d,e,f,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0;o=yb;yb=yb+32|0;l=o+20|0;m=o;n=DO(f<<4)|0;c[l>>2]=n;if(!n){Se(0,3,41858,o+8|0);Ea(1)}j=DO(f*24|0)|0;k=l+4|0;c[k>>2]=j;if(!j){Se(0,3,41858,o+16|0);Ea(1)}i=0;while(1){if((i|0)>=(f|0))break;g[n+(i<<4)>>3]=+g[d+(i<<4)>>3];g[n+(i<<4)+8>>3]=+g[d+(i<<4)+8>>3];g[j+(i*24|0)>>3]=+g[e+(i*24|0)>>3];g[j+(i*24|0)+8>>3]=+g[e+(i*24|0)+8>>3];g[j+(i*24|0)+16>>3]=+g[e+(i*24|0)+16>>3];i=i+1|0}c[l+8>>2]=f;if((He(c[a>>2]|0,l,b,h,m)|0)<0)g[m>>3]=1.0e8;EO(c[l>>2]|0);EO(c[k>>2]|0);yb=o;return +(+g[m>>3])}function Wc(a,b){a=a|0;b=b|0;var d=0;d=DO(2064)|0;if(d|0){c[d>>2]=0;c[d+4>>2]=a;c[d+8>>2]=b}return d|0}function Xc(a){a=a|0;if(a|0){EO(c[a>>2]|0);EO(a)}return}function Yc(a,b){a=a|0;b=b|0;var e=0,f=0;a:do if((a|0)!=0&(b|0)!=0){_O(a+12|0,0,1024)|0;e=b+(B(c[a+8>>2]|0,c[a+4>>2]|0)|0)|0;while(1){if(b>>>0>=e>>>0){b=0;break a}f=a+12+((d[b>>0]|0)<<2)|0;c[f>>2]=(c[f>>2]|0)+1;b=b+1|0}}else b=-1;while(0);return b|0}function Zc(a,b){a=a|0;b=b|0;var d=0;b=Yc(a,b)|0;if((b|0)>=0){b=0;d=0;do{b=(c[a+12+(d<<2)>>2]|0)+b|0;c[a+1036+(d<<2)>>2]=b;d=d+1|0}while((d|0)!=256);b=0}return b|0}function _c(b,d,e,f){b=b|0;d=d|0;e=+e;f=f|0;var g=0,h=0,i=0,j=0;if(!(e<0.0|e>1.0)){d=Zc(b,d)|0;if((d|0)>=0){i=~~(+(B(c[b+8>>2]|0,c[b+4>>2]|0)|0)*e)>>>0;d=0;while(1){j=d&255;g=c[b+1036+(j<<2)>>2]|0;if(g>>>0>>0)d=d+1<<24>>24;else break}while(1){h=d+1<<24>>24;if((g|0)!=(i|0))break;d=h;g=c[b+1036+((h&255)<<2)>>2]|0}a[f>>0]=((d&255)+j|0)>>>1;d=0}}else d=-1;return d|0}function $c(a,b,c){a=a|0;b=b|0;c=c|0;return _c(a,b,.5,c)|0}function ad(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0.0,h=0.0,i=0.0,j=0.0,k=0.0,l=0,m=0.0,n=0,o=0.0;d=Yc(b,d)|0;if((d|0)>=0){m=0.0;d=1;do{m=m+ +((B(c[b+12+(d<<2)>>2]|0,d)|0)>>>0);d=d+1|0}while((d|0)!=256);k=+(B(c[b+8>>2]|0,c[b+4>>2]|0)|0);d=0;h=0.0;j=0.0;g=0.0;l=0;while(1){f=c[b+12+(l<<2)>>2]|0;j=j+ +(f>>>0);if(j!=0.0){i=k-j;if(i==0.0)break;g=g+ +((B(f,l)|0)>>>0);o=g/j-(m-g)/i;i=o*(j*i*o);n=i>h;f=l&255;d=n?f:d;h=n?i:h}else f=l&255;if(f<<24>>24==-1)break;else l=l+1|0}a[e>>0]=d;d=0}return d|0}function bd(b,e,f,g){b=b|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;h=Yc(b,e)|0;a:do if((h|0)>=0){if(!(c[b>>2]|0)){h=b+4|0;i=b+8|0;s=DO(B(c[i>>2]|0,c[h>>2]|0)|0)|0;c[b>>2]=s;if(!s){h=-1;break}else{s=h;r=i}}else{s=b+4|0;r=b+8|0}p=f>>1;q=0-p|0;o=0;while(1){h=c[r>>2]|0;if((o|0)>=(h|0))break;l=0;while(1){n=c[s>>2]|0;if((l|0)>=(n|0))break;m=q;f=0;h=0;while(1){if((m|0)>(p|0))break;i=m+o|0;b:do if((i|0)>=0?(i|0)<(c[r>>2]|0):0){k=B(i,n)|0;j=q;i=f;while(1){if((j|0)>(p|0))break b;f=j+l|0;if((f|0)>-1&(f|0)<(n|0)){i=i+1|0;h=h+(d[e+(f+k)>>0]|0)|0}j=j+1|0}}else i=f;while(0);m=m+1|0;f=i}a[(c[b>>2]|0)+((B(n,o)|0)+l)>>0]=(h|0)/(f|0)|0;l=l+1|0}o=o+1|0}if(!g)h=0;else{i=0;while(1){if((i|0)>=(B(h,c[s>>2]|0)|0)){h=0;break a}h=(c[b>>2]|0)+i|0;a[h>>0]=(d[h>>0]|0)+g;i=i+1|0;h=c[r>>2]|0}}}while(0);return h|0}function cd(a,b,c,d,e,f,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0;e=(e|0)==1;j=(i|0)!=0;do if(!d)if(e){if(j){e=dc(a,b,c,i,h)|0;break}if(!g){e=cc(a,b,c,f,h)|0;break}else{e=bc(a,b,c,f,h)|0;break}}else{if(j){e=gc(a,b,c,i,h)|0;break}if(!g){e=fc(a,b,c,f,h)|0;break}else{e=ec(a,b,c,f,h)|0;break}}else if(e){if(j){e=jc(a,b,c,i,h)|0;break}if(!g){e=ic(a,b,c,f,h)|0;break}else{e=hc(a,b,c,f,h)|0;break}}else{if(j){e=mc(a,b,c,i,h)|0;break}if(!g){e=lc(a,b,c,f,h)|0;break}else{e=kc(a,b,c,f,h)|0;break}}while(0);return e|0}function dd(a,b){a=a|0;b=b|0;var d=0;if((a|0)!=0?(d=a+7062384|0,(c[d>>2]|0)==0):0){c[d>>2]=b;a=0}else a=-1;return a|0}function ed(a){a=a|0;var b=0;if((a|0)!=0?(b=a+7062384|0,(c[b>>2]|0)!=0):0){c[b>>2]=0;a=0}else a=-1;return a|0}function fd(){return gd(16,50)|0}function gd(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;q=yb;yb=yb+64|0;p=q+56|0;o=q+48|0;i=q+40|0;h=q+32|0;g=q+24|0;f=q+16|0;e=q+8|0;d=q;a:do if(!((a+-16|0)>>>0>48|(b|0)<1)){m=DO(32)|0;if(!m){Se(0,3,41858,d);Ea(1)}c[m>>2]=0;c[m+4>>2]=b;c[m+28>>2]=a;l=DO(b<<2)|0;c[m+8>>2]=l;if(!l){Se(0,3,41858,e);Ea(1)}d=b<<4;k=DO(d)|0;c[m+12>>2]=k;if(!k){Se(0,3,41858,f);Ea(1)}f=DO(d)|0;j=m+20|0;c[j>>2]=f;if(!f){Se(0,3,41858,g);Ea(1)}d=b<<5;g=DO(d)|0;c[m+16>>2]=g;if(!g){Se(0,3,41858,h);Ea(1)}h=DO(d)|0;c[m+24>>2]=h;if(!h){Se(0,3,41858,i);Ea(1)}g=B(a,a)|0;f=g*12|0;g=g<<2;e=0;b:while(1){if((e|0)>=(b|0)){n=m;break a}c[l+(e<<2)>>2]=0;a=e<<2;d=0;while(1){if(d>>>0>=4)break;i=DO(f)|0;h=d+a|0;c[k+(h<<2)>>2]=i;if(!i){d=19;break b}i=DO(g)|0;c[(c[j>>2]|0)+(h<<2)>>2]=i;if(!i){d=21;break b}else d=d+1|0}e=e+1|0}if((d|0)==19){Se(0,3,41858,o);Ea(1)}else if((d|0)==21){Se(0,3,41858,p);Ea(1)}}else n=0;while(0);yb=q;return n|0}function hd(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;if(!a)b=-1;else{f=a+4|0;g=a+8|0;h=a+12|0;i=a+20|0;d=0;while(1){if((d|0)>=(c[f>>2]|0))break;if(c[(c[g>>2]|0)+(d<<2)>>2]|0)rd(a,d)|0;e=d<<2;b=0;while(1){if((b|0)==4)break;j=b+e|0;EO(c[(c[h>>2]|0)+(j<<2)>>2]|0);EO(c[(c[i>>2]|0)+(j<<2)>>2]|0);b=b+1|0}d=d+1|0}EO(c[h>>2]|0);EO(c[i>>2]|0);EO(c[g>>2]|0);EO(c[a+16>>2]|0);EO(c[a+24>>2]|0);EO(a);b=0}return b|0}function id(b,e,f,h,i,j,k){b=b|0;e=e|0;f=f|0;h=h|0;i=i|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;u=yb;yb=yb+32|0;p=u+24|0;o=u;t=u+16|0;a:do if((e+-3|0)>>>0>5){c[f>>2]=-1;c[h>>2]=0;g[i>>3]=-1.0;l=-1}else{c[o>>2]=0;s=e+-1|0;c[o+4>>2]=B(s,e)|0;q=B(e,e)|0;c[o+8>>2]=q+-1;c[o+12>>2]=s;l=0;m=0;n=-1;while(1){if((l|0)==4)break;r=a[b+(c[o+(l<<2)>>2]|0)>>0]|0;l=l+1|0;m=(r&255)>(m&255)?r:m;n=(r&255)<(n&255)?r:n}m=m&255;l=n&255;if((m-l|0)<30){c[f>>2]=-1;c[h>>2]=0;g[i>>3]=-1.0;l=-2;break}n=(m+l|0)>>>1;l=0;while(1){if((l|0)==4)break;a[p+l>>0]=n>>>0>(d[b+(c[o+(l<<2)>>2]|0)>>0]|0)>>>0&1;l=l+1|0}m=0;while(1){if(m>>>0>=4){l=18;break}l=m+1|0;if(((a[p+m>>0]|0)==1?(a[p+(l&3)>>0]|0)==1:0)?(a[p+(m+2&3)>>0]|0)==0:0){l=17;break}m=l}if((l|0)==17)c[h>>2]=m;else if((l|0)==18?(m|0)==4:0){c[f>>2]=-1;c[h>>2]=0;g[i>>3]=-1.0;l=-3;break}r=255;l=0;while(1){if((l|0)==(q|0))break;o=b+l|0;m=d[o>>0]|0;p=m-n|0;p=(p|0)<0?0-p|0:p;a[o>>0]=n>>>0>m>>>0&1;r=(p|0)<(r|0)?p:r;l=l+1|0}l=c[h>>2]|0;b:do switch(l|0){case 0:{n=l;m=0;l=0;while(1){if((n|0)>=(e|0))break b;p=(n|0)==(s|0);q=B(n,e)|0;o=0;while(1){if((o|0)==(e|0))break;if((o|n|0)!=0?!(p&((o|0)==0|(o|0)==(s|0))):0){m=SO(m|0,l|0,1)|0;l=F()|0;m=m|(a[b+(o+q)>>0]|0)!=0}o=o+1|0}n=n+1|0}}case 1:{o=0;m=0;l=0;while(1){if((o|0)>=(e|0))break b;p=(o|0)==0;q=(o|0)==(s|0);n=s;while(1){if((n|0)<=-1)break;h=(n|0)==(s|0);if(!(p&h)?!(q&(h|(n|0)==0)):0){m=SO(m|0,l|0,1)|0;l=F()|0;m=m|(a[b+((B(n,e)|0)+o)>>0]|0)!=0}n=n+-1|0}o=o+1|0}}case 2:{n=s;m=0;l=0;while(1){if((n|0)<=-1)break b;q=(n|0)==(s|0)|(n|0)==0;p=B(n,e)|0;o=s;while(1){if((o|0)<=-1)break;if(!(q&(o|0)==(s|0)|(o|n|0)==0)){m=SO(m|0,l|0,1)|0;l=F()|0;m=m|(a[b+(o+p)>>0]|0)!=0}o=o+-1|0}n=n+-1|0}}case 3:{o=s;m=0;l=0;while(1){if((o|0)<=-1)break b;p=(o|0)==(s|0);q=(o|0)==0;n=0;while(1){if((n|0)>=(e|0))break;if(!(p&(n|0)==0|(n|o|0)==0|q&(n|0)==(s|0))){m=SO(m|0,l|0,1)|0;l=F()|0;m=m|(a[b+((B(n,e)|0)+o)>>0]|0)!=0}n=n+1|0}o=o+-1|0}}default:{m=0;l=0}}while(0);g[i>>3]=(r|0)>30?1.0:+(r|0)/30.0;switch(j|0){case 259:{k=a[240+m>>0]|0;s=k<<24>>24;j=t;c[j>>2]=s;c[j+4>>2]=((s|0)<0)<<31>>31;if(k<<24>>24<0){c[f>>2]=-1;g[i>>3]=-1.0;l=-4;break a}break}case 515:{l=a[112+m>>0]|0;s=l<<24>>24;j=t;c[j>>2]=s;c[j+4>>2]=((s|0)<0)<<31>>31;if(k|0)c[k>>2]=d[176+m>>0];if(l<<24>>24<0){c[f>>2]=-1;g[i>>3]=-1.0;l=-4;break a}break}case 772:case 1028:case 1029:case 1285:{l=kd(j,m,l,0,t)|0;if((l|0)<0){c[f>>2]=-1;g[i>>3]=-1.0;l=-4;break a}if((k|0)!=0&(l|0)!=0)c[k>>2]=l;break}default:{k=t;c[k>>2]=m;c[k+4>>2]=l}}c[f>>2]=c[t>>2];l=0}while(0);yb=u;return l|0}function jd(b,d,e,f,h,i,j){b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;i=i|0;j=j|0;var k=0,l=0,m=0.0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,v=0.0,w=0,x=0,y=0,z=0,A=0.0;z=yb;yb=yb+16|0;l=z+8|0;k=z;a:do if((b|0)==0|(f|0)<1){c[h>>2]=0;c[i>>2]=0;g[j>>3]=-1.0;d=-1}else switch(d|0){case 0:{x=B(f,f)|0;w=x*3|0;x=DO(x*12|0)|0;if(!x){Se(0,3,41858,k);Ea(1)}d=0;k=0;while(1){if((d|0)==(w|0))break;t=k+(~a[e+d>>0]&255)|0;d=d+1|0;k=t}l=(k>>>0)/(w>>>0)|0;d=0;k=0;while(1){if((k|0)==(w|0))break;t=(~a[e+k>>0]&255)-l|0;c[x+(k<<2)>>2]=t;d=(B(t,t)|0)+d|0;k=k+1|0}v=+u(+(+(d|0)));if(v/(+(f|0)*1.7320508)<15.0){c[h>>2]=0;c[i>>2]=0;g[j>>3]=-1.0;EO(x);d=-2;break a}r=c[b>>2]|0;s=b+8|0;t=b+12|0;q=b+16|0;m=0.0;p=0;d=-1;e=-1;k=-1;while(1){if((p|0)>=(r|0))break;l=c[s>>2]|0;b:while(1){d=d+1|0;switch(c[l+(d<<2)>>2]|0){case 0:break;case 2:{l=e;break b}default:{y=18;break b}}}c:do if((y|0)==18){y=0;o=d<<2;n=0;l=e;while(1){if((n|0)==4)break c;b=n+o|0;e=0;f=0;while(1){if((f|0)==(w|0))break;e=(B(c[(c[(c[t>>2]|0)+(b<<2)>>2]|0)+(f<<2)>>2]|0,c[x+(f<<2)>>2]|0)|0)+e|0;f=f+1|0}A=+(e|0)/+g[(c[q>>2]|0)+(b<<3)>>3]/v;f=A>m;b=f?n:k;n=n+1|0;m=f?A:m;l=f?d:l;k=b}}while(0);p=p+1|0;e=l}c[i>>2]=k;c[h>>2]=e;g[j>>3]=m;EO(x);d=0;break a}case 1:{w=B(f,f)|0;x=DO(w<<2)|0;if(!x){Se(0,3,41858,l);Ea(1)}d=0;k=0;while(1){if((k|0)==(w|0))break;d=d+(~a[e+k>>0]&255)|0;k=k+1|0}l=(d>>>0)/(w>>>0)|0;d=0;k=0;while(1){if((k|0)==(w|0))break;t=(~a[e+k>>0]&255)-l|0;c[x+(k<<2)>>2]=t;d=(B(t,t)|0)+d|0;k=k+1|0}v=+u(+(+(d|0)));if(v/+(f|0)<15.0){c[h>>2]=0;c[i>>2]=0;g[j>>3]=-1.0;EO(x);d=-2;break a}r=c[b>>2]|0;s=b+8|0;t=b+20|0;q=b+24|0;p=0;d=-1;m=0.0;e=-1;k=-1;while(1){if((p|0)>=(r|0))break;l=c[s>>2]|0;d:while(1){d=d+1|0;switch(c[l+(d<<2)>>2]|0){case 0:break;case 2:{l=e;break d}default:{y=40;break d}}}e:do if((y|0)==40){y=0;o=d<<2;n=0;l=e;while(1){if((n|0)==4)break e;b=n+o|0;e=0;f=0;while(1){if((f|0)==(w|0))break;e=(B(c[(c[(c[t>>2]|0)+(b<<2)>>2]|0)+(f<<2)>>2]|0,c[x+(f<<2)>>2]|0)|0)+e|0;f=f+1|0}A=+(e|0)/+g[(c[q>>2]|0)+(b<<3)>>3]/v;f=A>m;b=f?n:k;n=n+1|0;m=f?A:m;l=f?d:l;k=b}}while(0);p=p+1|0;e=l}c[i>>2]=k;c[h>>2]=e;g[j>>3]=m;EO(x);d=0;break a}default:{d=-1;break a}}while(0);yb=z;return d|0}function kd(b,e,f,g,h){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,C=0,D=0,E=0,G=0,H=0,I=0;I=yb;yb=yb+2384|0;l=I+2320|0;D=I+880|0;A=I+800|0;H=I+720|0;C=I+640|0;y=I+560|0;G=I+48|0;E=I;switch(b|0){case 2830:{l=g;u=1200;x=688;m=120;n=127;w=64;o=9;i=8;break}case 772:{j=624;k=432;m=13;n=15;b=9;o=1;i=5;break}case 1028:{j=624;k=432;m=13;n=15;b=5;o=2;i=5;break}case 1029:{b=12;g=2;i=4;break}case 1285:{b=7;g=3;i=4;break}default:b=-1}if((i|0)==4){j=496;k=304;m=22;n=31;o=g;i=5}a:do if((i|0)==5){i=0;g=f;while(1){if((i|0)==(m|0)){u=j;x=k;w=b;i=8;break a}a[l+i>>0]=e&1;x=RO(e|0,g|0,1)|0;i=i+1|0;e=x;g=F()|0}}while(0);b:do if((i|0)==8){t=o<<1;g=0;i=1;while(1){if((i|0)>(t|0))break;j=y+(i<<2)|0;c[j>>2]=0;e=0;b=0;while(1){if((e|0)>=(m|0))break;if(a[l+e>>0]|0){b=b^c[x+(((B(e,i)|0)%(n|0)|0)<<2)>>2];c[j>>2]=b}e=e+1|0}c[j>>2]=c[u+(b<<2)>>2];g=(b|0)==0?g:1;i=i+1|0}v=(g|0)!=0;c:do if(v){c[A>>2]=0;g=c[y+4>>2]|0;c[A+4>>2]=g;c[D>>2]=0;c[D+72>>2]=1;b=1;while(1){if((b|0)>=(t|0))break;c[D+(b<<2)>>2]=-1;c[D+72+(b<<2)>>2]=0;b=b+1|0}c[H>>2]=0;c[H+4>>2]=0;c[C>>2]=-1;c[C+4>>2]=0;s=0;r=0;while(1){f=s;s=s+1|0;d:do if((g|0)==-1){f=f+2|0;c[H+(f<<2)>>2]=r;b=0;while(1){if((b|0)>(r|0)){q=r;break d}q=D+(s*72|0)+(b<<2)|0;p=c[q>>2]|0;c[D+(f*72|0)+(b<<2)>>2]=p;c[q>>2]=c[u+(p<<2)>>2];b=b+1|0}}else{e=f;while(1){b=(e|0)>0;if(b&(c[A+(e<<2)>>2]|0)==-1)e=e+-1|0;else break}if(b){b=e;i=e;while(1){j=i;i=i+-1|0;if((c[A+(i<<2)>>2]|0)==-1)e=b;else e=(c[C+(b<<2)>>2]|0)<(c[C+(i<<2)>>2]|0)?i:b;if((j|0)<=1)break;else b=e}}i=H+(e<<2)|0;p=s-e|0;q=p+(c[i>>2]|0)|0;f=f+2|0;q=(r|0)>(q|0)?r:q;c[H+(f<<2)>>2]=q;b=0;while(1){if((b|0)>=(t|0))break;c[D+(f*72|0)+(b<<2)>>2]=0;b=b+1|0}j=g+n|0;k=A+(e<<2)|0;g=c[i>>2]|0;b=0;while(1){if((b|0)>(g|0))break;i=c[D+(e*72|0)+(b<<2)>>2]|0;if((i|0)!=-1)c[D+(f*72|0)+(p+b<<2)>>2]=c[x+(((j+i-(c[k>>2]|0)|0)%(n|0)|0)<<2)>>2];b=b+1|0}b=0;while(1){if((b|0)>(r|0))break d;p=D+(s*72|0)+(b<<2)|0;k=c[p>>2]|0;j=D+(f*72|0)+(b<<2)|0;c[j>>2]=c[j>>2]^k;c[p>>2]=c[u+(k<<2)>>2];b=b+1|0}}while(0);c[C+(f<<2)>>2]=s-q;if((s|0)>=(t|0))break;b=c[y+(f<<2)>>2]|0;if((b|0)==-1)b=0;else b=c[x+(b<<2)>>2]|0;i=A+(f<<2)|0;c[i>>2]=b;e=1;while(1){if((e|0)>(q|0))break;g=c[y+(f-e<<2)>>2]|0;if((g|0)!=-1?(z=c[D+(f*72|0)+(e<<2)>>2]|0,(z|0)!=0):0){b=b^c[x+((((c[u+(z<<2)>>2]|0)+g|0)%(n|0)|0)<<2)>>2];c[i>>2]=b}e=e+1|0}g=c[u+(b<<2)>>2]|0;c[i>>2]=g;if((q|0)>(o|0))break;else r=q}if((q|0)>(o|0)){b=-1;break b}b=0;while(1){if((b|0)>(q|0))break;C=D+(f*72|0)+(b<<2)|0;c[C>>2]=c[u+(c[C>>2]<<2)>>2];b=b+1|0}b=1;while(1){if((b|0)>(q|0))break;c[E+(b<<2)>>2]=c[D+(f*72|0)+(b<<2)>>2];b=b+1|0}b=0;k=1;while(1){if((n|0)<(k|0))break;j=1;g=1;while(1){if((j|0)>(q|0))break;e=E+(j<<2)|0;i=c[e>>2]|0;if((i|0)!=-1){D=(i+j|0)%(n|0)|0;c[e>>2]=D;g=c[x+(D<<2)>>2]^g}j=j+1|0}if(!g){c[G+(b<<2)>>2]=n-k;b=b+1|0}k=k+1|0}if((b|0)!=(q|0)){b=-1;break b}b=0;while(1){if((b|0)>=(q|0))break c;E=l+(c[G+(b<<2)>>2]|0)|0;a[E>>0]=a[E>>0]^1;b=b+1|0}}else f=0;while(0);b=h;c[b>>2]=0;c[b+4>>2]=0;b=m-w|0;g=1;e=0;i=0;j=0;while(1){if((b|0)>=(m|0))break;E=LO(g|0,e|0,d[l+b>>0]|0,0)|0;E=MO(E|0,F()|0,i|0,j|0)|0;G=F()|0;D=h;c[D>>2]=E;c[D+4>>2]=G;D=SO(g|0,e|0,1)|0;b=b+1|0;g=D;e=F()|0;i=E;j=G}if(v)b=c[H+(f<<2)>>2]|0;else b=0}while(0);yb=I;return b|0}function ld(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;f=Bd(8,8)|0;h=Bd(8,1)|0;i=Bd(8,1)|0;e=0;while(1){if((e|0)==4)break;o=a+(e<<4)|0;j=c[f>>2]|0;k=e<<4;g[j+(k<<3)>>3]=+g[o>>3];n=a+(e<<4)+8|0;g[j+((k|1)<<3)>>3]=+g[n>>3];g[j+((k|2)<<3)>>3]=1.0;g[j+((k|3)<<3)>>3]=0.0;g[j+((k|4)<<3)>>3]=0.0;g[j+((k|5)<<3)>>3]=0.0;m=b+(e<<4)|0;g[j+((k|6)<<3)>>3]=-(+g[o>>3]*+g[m>>3]);g[j+((k|7)<<3)>>3]=-(+g[n>>3]*+g[m>>3]);g[j+((k|8)<<3)>>3]=0.0;g[j+((k|9)<<3)>>3]=0.0;g[j+((k|10)<<3)>>3]=0.0;g[j+((k|11)<<3)>>3]=+g[o>>3];g[j+((k|12)<<3)>>3]=+g[n>>3];g[j+((k|13)<<3)>>3]=1.0;l=b+(e<<4)+8|0;g[j+((k|14)<<3)>>3]=-(+g[o>>3]*+g[l>>3]);g[j+((k|15)<<3)>>3]=-(+g[n>>3]*+g[l>>3]);k=c[h>>2]|0;j=e<<1;g[k+(j<<3)>>3]=+g[m>>3];g[k+((j|1)<<3)>>3]=+g[l>>3];e=e+1|0}Vd(f)|0;Ld(i,f,h)|0;a=c[i>>2]|0;e=0;while(1){if((e|0)==2)break;o=e*3|0;g[d+(e*24|0)>>3]=+g[a+(o<<3)>>3];g[d+(e*24|0)+8>>3]=+g[a+(o+1<<3)>>3];g[d+(e*24|0)+16>>3]=+g[a+(o+2<<3)>>3];e=e+1|0}g[d+48>>3]=+g[a+48>>3];g[d+56>>3]=+g[a+56>>3];g[d+64>>3]=1.0;Jd(f)|0;Jd(h)|0;Jd(i)|0;return}function md(a,b,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=+k;l=l|0;m=m|0;n=n|0;o=o|0;p=p|0;q=q|0;r=r|0;s=s|0;t=t|0;var u=0,v=0,w=0;w=yb;yb=yb+12304|0;v=w;u=w+12288|0;do if((d+-2|0)>>>0<3){if((r|0)!=2830){u=r&255;if((nd(b,2,u,u*3|0,e,f,g,h,i,j,k,v)|0)<0){c[o>>2]=-1;r=-6;break}u=id(v,u,o,p,q,r,s)|0;if(!t){r=u;break}r=t;c[r>>2]=0;c[r+4>>2]=0;r=u;break}if((nd(b,2,14,42,e,f,g,h,i,j,.875,v)|0)<0){c[o>>2]=-1;r=-6;break}r=od(v,u,p,q,s)|0;if((r|0)<0){c[o>>2]=-1;break}p=u;u=c[p>>2]|0;p=c[p+4>>2]|0;if((u|0)==-1&(p|0)==-1){c[o>>2]=-1;r=-5;break}c[o>>2]=(u&-32768|0)==0&0==0?u&32767:0;if(t){c[t>>2]=u;c[t+4>>2]=p}}else r=1;while(0);a:do switch(d|0){case 0:case 1:case 3:case 4:{if(!a){c[l>>2]=-1;u=-1;break a}u=a+28|0;p=c[u>>2]|0;q=p<<2;switch(d|0){case 0:case 3:if((nd(b,0,p,q,e,f,g,h,i,j,k,v)|0)<0){c[l>>2]=-1;u=-6;break a}else{u=jd(a,0,v,c[u>>2]|0,l,m,n)|0;break a}default:if((nd(b,1,p,q,e,f,g,h,i,j,k,v)|0)<0){c[l>>2]=-1;u=-6;break a}else{u=jd(a,1,v,c[u>>2]|0,l,m,n)|0;break a}}}default:u=1}while(0);if((r|0)!=1)u=(u|0)==1?r:(u&r|0)<0?u:0;yb=w;return u|0}function nd(b,e,h,i,j,k,l,m,n,o,p,q){b=b|0;e=e|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;m=m|0;n=n|0;o=o|0;p=+p;q=q|0;var r=0,s=0,t=0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0.0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0.0,T=0.0,U=0.0,V=0.0,W=0,X=0;R=yb;yb=yb+256|0;A=R+232|0;z=R+224|0;D=R+216|0;C=R+208|0;s=R+144|0;t=R+80|0;N=R;O=R+240|0;P=R+236|0;g[s>>3]=100.0;g[s+8>>3]=100.0;g[s+16>>3]=110.0;g[s+24>>3]=100.0;g[s+32>>3]=110.0;g[s+40>>3]=110.0;g[s+48>>3]=100.0;g[s+56>>3]=110.0;r=0;while(1){if((r|0)==4)break;g[t+(r<<4)>>3]=+g[o+(r<<4)>>3];g[t+(r<<4)+8>>3]=+g[o+(r<<4)+8>>3];r=r+1|0}ld(s,t,N);y=+g[t>>3];T=+g[t+16>>3];w=y-T;I=+g[t+8>>3];S=+g[t+24>>3];u=I-S;r=~~(w*w+u*u);u=+g[t+32>>3];w=+g[t+48>>3];V=u-w;v=+g[t+40>>3];x=+g[t+56>>3];U=v-x;L=~~(V*V+U*U);u=T-u;v=S-v;t=~~(u*u+v*v);y=w-y;I=x-I;M=~~(y*y+I*I);r=~~(+(((L|0)>(r|0)?L:r)|0)*p*p);t=~~(+(((M|0)>(t|0)?M:t)|0)*p*p);if(!b){s=h;while(1)if((s|0)<(i|0)&(B(s,s)|0)<(r|0))s=s<<1;else break;r=h;while(1)if((r|0)<(i|0)&(B(r,r)|0)<(t|0))r=r<<1;else break}else{s=h;while(1)if((s|0)<(i|0)&(B(s<<2,s)|0)<(r|0))s=s<<1;else break;r=h;while(1)if((r|0)<(i|0)&(B(r<<2,r)|0)<(t|0))r=r<<1;else break}M=(s|0)>(i|0)?i:s;J=(r|0)>(i|0)?i:r;K=(M|0)/(h|0)|0;L=(J|0)/(h|0)|0;u=(1.0-p)*.5*10.0;I=p*10.0;H=B(h,h)|0;a:do if(!e){H=H*3|0;r=FO(H,4)|0;if(!r){Se(0,3,41858,C);Ea(1)}b:do switch(m|0){case 0:{w=u+100.0;x=+(J|0);y=+(M|0);z=N+48|0;A=N+56|0;C=N+64|0;D=N+8|0;m=N+16|0;E=N+24|0;F=N+32|0;G=N+40|0;e=(b|0)==1;o=0;while(1){if((o|0)>=(J|0))break b;v=w+I*(+(o|0)+.5)/x;i=0;while(1){if((i|0)>=(M|0))break;u=w+I*(+(i|0)+.5)/y;p=+g[C>>3]+(u*+g[z>>3]+v*+g[A>>3]);if(p==0.0){Q=306;break a}V=(+g[m>>3]+(u*+g[N>>3]+v*+g[D>>3]))/p;f[O>>2]=V;u=(+g[G>>3]+(u*+g[E>>3]+v*+g[F>>3]))/p;f[P>>2]=u;me(n,V,u,O,P)|0;u=+f[O>>2];if(e){s=((~~(u+1.0)|0)/2|0)<<1;t=((~~(+f[P>>2]+1.0)|0)/2|0)<<1}else{s=~~(u+.5);t=~~(+f[P>>2]+.5)}if((s|0)>-1?(t|0)<(l|0)&((t|0)>-1&(s|0)<(k|0)):0){t=((B(t,k)|0)+s|0)*3|0;b=((B((o|0)/(L|0)|0,h)|0)+((i|0)/(K|0)|0)|0)*3|0;s=r+(b<<2)|0;c[s>>2]=(c[s>>2]|0)+(d[j+(t+2)>>0]|0);s=r+(b+1<<2)|0;c[s>>2]=(c[s>>2]|0)+(d[j+(t+1)>>0]|0);b=r+(b+2<<2)|0;c[b>>2]=(c[b>>2]|0)+(d[j+t>>0]|0)}i=i+1|0}o=o+1|0}}case 1:{w=u+100.0;x=+(J|0);y=+(M|0);z=N+48|0;A=N+56|0;C=N+64|0;D=N+8|0;m=N+16|0;E=N+24|0;F=N+32|0;G=N+40|0;e=(b|0)==1;o=0;while(1){if((o|0)>=(J|0))break b;v=w+I*(+(o|0)+.5)/x;i=0;while(1){if((i|0)>=(M|0))break;u=w+I*(+(i|0)+.5)/y;p=+g[C>>3]+(u*+g[z>>3]+v*+g[A>>3]);if(p==0.0){Q=306;break a}V=(+g[m>>3]+(u*+g[N>>3]+v*+g[D>>3]))/p;f[O>>2]=V;u=(+g[G>>3]+(u*+g[E>>3]+v*+g[F>>3]))/p;f[P>>2]=u;me(n,V,u,O,P)|0;u=+f[O>>2];if(e){s=((~~(u+1.0)|0)/2|0)<<1;t=((~~(+f[P>>2]+1.0)|0)/2|0)<<1}else{s=~~(u+.5);t=~~(+f[P>>2]+.5)}if((s|0)>-1?(t|0)<(l|0)&((t|0)>-1&(s|0)<(k|0)):0){t=((B(t,k)|0)+s|0)*3|0;b=((B((o|0)/(L|0)|0,h)|0)+((i|0)/(K|0)|0)|0)*3|0;s=r+(b<<2)|0;c[s>>2]=(c[s>>2]|0)+(d[j+t>>0]|0);s=r+(b+1<<2)|0;c[s>>2]=(c[s>>2]|0)+(d[j+(t+1)>>0]|0);b=r+(b+2<<2)|0;c[b>>2]=(c[b>>2]|0)+(d[j+(t+2)>>0]|0)}i=i+1|0}o=o+1|0}}case 2:{w=u+100.0;x=+(J|0);y=+(M|0);z=N+48|0;A=N+56|0;C=N+64|0;D=N+8|0;m=N+16|0;E=N+24|0;F=N+32|0;G=N+40|0;e=(b|0)==1;o=0;while(1){if((o|0)>=(J|0))break b;v=w+I*(+(o|0)+.5)/x;i=0;while(1){if((i|0)>=(M|0))break;u=w+I*(+(i|0)+.5)/y;p=+g[C>>3]+(u*+g[z>>3]+v*+g[A>>3]);if(p==0.0){Q=306;break a}V=(+g[m>>3]+(u*+g[N>>3]+v*+g[D>>3]))/p;f[O>>2]=V;u=(+g[G>>3]+(u*+g[E>>3]+v*+g[F>>3]))/p;f[P>>2]=u;me(n,V,u,O,P)|0;u=+f[O>>2];if(e){s=((~~(u+1.0)|0)/2|0)<<1;t=((~~(+f[P>>2]+1.0)|0)/2|0)<<1}else{s=~~(u+.5);t=~~(+f[P>>2]+.5)}if((s|0)>-1?(t|0)<(l|0)&((t|0)>-1&(s|0)<(k|0)):0){t=(B(t,k)|0)+s<<2;b=((B((o|0)/(L|0)|0,h)|0)+((i|0)/(K|0)|0)|0)*3|0;s=r+(b<<2)|0;c[s>>2]=(c[s>>2]|0)+(d[j+(t|2)>>0]|0);s=r+(b+1<<2)|0;c[s>>2]=(c[s>>2]|0)+(d[j+(t|1)>>0]|0);b=r+(b+2<<2)|0;c[b>>2]=(c[b>>2]|0)+(d[j+t>>0]|0)}i=i+1|0}o=o+1|0}}case 3:{w=u+100.0;x=+(J|0);y=+(M|0);z=N+48|0;A=N+56|0;C=N+64|0;D=N+8|0;m=N+16|0;E=N+24|0;F=N+32|0;G=N+40|0;e=(b|0)==1;o=0;while(1){if((o|0)>=(J|0))break b;v=w+I*(+(o|0)+.5)/x;i=0;while(1){if((i|0)>=(M|0))break;u=w+I*(+(i|0)+.5)/y;p=+g[C>>3]+(u*+g[z>>3]+v*+g[A>>3]);if(p==0.0){Q=306;break a}V=(+g[m>>3]+(u*+g[N>>3]+v*+g[D>>3]))/p;f[O>>2]=V;u=(+g[G>>3]+(u*+g[E>>3]+v*+g[F>>3]))/p;f[P>>2]=u;me(n,V,u,O,P)|0;u=+f[O>>2];if(e){s=((~~(u+1.0)|0)/2|0)<<1;t=((~~(+f[P>>2]+1.0)|0)/2|0)<<1}else{s=~~(u+.5);t=~~(+f[P>>2]+.5)}if((s|0)>-1?(t|0)<(l|0)&((t|0)>-1&(s|0)<(k|0)):0){t=(B(t,k)|0)+s<<2;b=((B((o|0)/(L|0)|0,h)|0)+((i|0)/(K|0)|0)|0)*3|0;s=r+(b<<2)|0;c[s>>2]=(c[s>>2]|0)+(d[j+t>>0]|0);s=r+(b+1<<2)|0;c[s>>2]=(c[s>>2]|0)+(d[j+(t|1)>>0]|0);b=r+(b+2<<2)|0;c[b>>2]=(c[b>>2]|0)+(d[j+(t|2)>>0]|0)}i=i+1|0}o=o+1|0}}case 4:{w=u+100.0;x=+(J|0);y=+(M|0);z=N+48|0;A=N+56|0;C=N+64|0;D=N+8|0;m=N+16|0;E=N+24|0;F=N+32|0;G=N+40|0;e=(b|0)==1;o=0;while(1){if((o|0)>=(J|0))break b;v=w+I*(+(o|0)+.5)/x;i=0;while(1){if((i|0)>=(M|0))break;u=w+I*(+(i|0)+.5)/y;p=+g[C>>3]+(u*+g[z>>3]+v*+g[A>>3]);if(p==0.0){Q=306;break a}V=(+g[m>>3]+(u*+g[N>>3]+v*+g[D>>3]))/p;f[O>>2]=V;u=(+g[G>>3]+(u*+g[E>>3]+v*+g[F>>3]))/p;f[P>>2]=u;me(n,V,u,O,P)|0;u=+f[O>>2];if(e){s=((~~(u+1.0)|0)/2|0)<<1;t=((~~(+f[P>>2]+1.0)|0)/2|0)<<1}else{s=~~(u+.5);t=~~(+f[P>>2]+.5)}if((s|0)>-1?(t|0)<(l|0)&((t|0)>-1&(s|0)<(k|0)):0){t=(B(t,k)|0)+s<<2;b=((B((o|0)/(L|0)|0,h)|0)+((i|0)/(K|0)|0)|0)*3|0;s=r+(b<<2)|0;c[s>>2]=(c[s>>2]|0)+(d[j+(t|1)>>0]|0);s=r+(b+1<<2)|0;c[s>>2]=(c[s>>2]|0)+(d[j+(t|2)>>0]|0);b=r+(b+2<<2)|0;c[b>>2]=(c[b>>2]|0)+(d[j+(t|3)>>0]|0)}i=i+1|0}o=o+1|0}}case 5:case 12:case 13:case 14:{w=u+100.0;x=+(J|0);y=+(M|0);z=N+48|0;A=N+56|0;C=N+64|0;D=N+8|0;m=N+16|0;E=N+24|0;F=N+32|0;G=N+40|0;e=(b|0)==1;o=0;while(1){if((o|0)>=(J|0))break b;v=w+I*(+(o|0)+.5)/x;i=0;while(1){if((i|0)>=(M|0))break;u=w+I*(+(i|0)+.5)/y;p=+g[C>>3]+(u*+g[z>>3]+v*+g[A>>3]);if(p==0.0){Q=306;break a}V=(+g[m>>3]+(u*+g[N>>3]+v*+g[D>>3]))/p;f[O>>2]=V;u=(+g[G>>3]+(u*+g[E>>3]+v*+g[F>>3]))/p;f[P>>2]=u;me(n,V,u,O,P)|0;u=+f[O>>2];if(e){s=((~~(u+1.0)|0)/2|0)<<1;t=((~~(+f[P>>2]+1.0)|0)/2|0)<<1}else{s=~~(u+.5);t=~~(+f[P>>2]+.5)}if((s|0)>-1?(t|0)<(l|0)&((t|0)>-1&(s|0)<(k|0)):0){t=d[j+((B(t,k)|0)+s)>>0]|0;b=((B((o|0)/(L|0)|0,h)|0)+((i|0)/(K|0)|0)|0)*3|0;s=r+(b<<2)|0;c[s>>2]=(c[s>>2]|0)+t;s=r+(b+1<<2)|0;c[s>>2]=(c[s>>2]|0)+t;b=r+(b+2<<2)|0;c[b>>2]=(c[b>>2]|0)+t}i=i+1|0}o=o+1|0}}case 6:{w=u+100.0;x=+(J|0);y=+(M|0);z=N+48|0;A=N+56|0;C=N+64|0;D=N+8|0;m=N+16|0;E=N+24|0;F=N+32|0;G=N+40|0;e=(b|0)==1;o=0;while(1){if((o|0)>=(J|0))break b;v=w+I*(+(o|0)+.5)/x;i=0;while(1){if((i|0)>=(M|0))break;u=w+I*(+(i|0)+.5)/y;p=+g[C>>3]+(u*+g[z>>3]+v*+g[A>>3]);if(p==0.0){Q=306;break a}V=(+g[m>>3]+(u*+g[N>>3]+v*+g[D>>3]))/p;f[O>>2]=V;u=(+g[G>>3]+(u*+g[E>>3]+v*+g[F>>3]))/p;f[P>>2]=u;me(n,V,u,O,P)|0;u=+f[O>>2];if(e){s=((~~(u+1.0)|0)/2|0)<<1;t=((~~(+f[P>>2]+1.0)|0)/2|0)<<1}else{s=~~(u+.5);t=~~(+f[P>>2]+.5)}if((s|0)>-1?(t|0)<(l|0)&((t|0)>-1&(s|0)<(k|0)):0){t=(B(t,k)|0)+s<<2;b=((B((o|0)/(L|0)|0,h)|0)+((i|0)/(K|0)|0)|0)*3|0;s=r+(b<<2)|0;c[s>>2]=(c[s>>2]|0)+(d[j+(t|3)>>0]|0);s=r+(b+1<<2)|0;c[s>>2]=(c[s>>2]|0)+(d[j+(t|2)>>0]|0);b=r+(b+2<<2)|0;c[b>>2]=(c[b>>2]|0)+(d[j+(t|1)>>0]|0)}i=i+1|0}o=o+1|0}}case 7:{w=u+100.0;x=+(J|0);y=+(M|0);z=N+48|0;A=N+56|0;C=N+64|0;D=N+8|0;m=N+16|0;E=N+24|0;F=N+32|0;G=N+40|0;e=(b|0)==1;o=0;while(1){if((o|0)>=(J|0))break b;v=w+I*(+(o|0)+.5)/x;i=0;while(1){if((i|0)>=(M|0))break;u=w+I*(+(i|0)+.5)/y;p=+g[C>>3]+(u*+g[z>>3]+v*+g[A>>3]);if(p==0.0){Q=306;break a}V=(+g[m>>3]+(u*+g[N>>3]+v*+g[D>>3]))/p;f[O>>2]=V;u=(+g[G>>3]+(u*+g[E>>3]+v*+g[F>>3]))/p;f[P>>2]=u;me(n,V,u,O,P)|0;u=+f[O>>2];if(e){s=((~~(u+1.0)|0)/2|0)<<1;t=((~~(+f[P>>2]+1.0)|0)/2|0)<<1}else{s=~~(u+.5);t=~~(+f[P>>2]+.5)}if((s|0)>-1?(t|0)<(l|0)&((t|0)>-1&(s|0)<(k|0)):0){X=B(t,k)|0;W=(s&65534)+X<<1;T=+((d[j+W>>0]|0)+-128|0);V=+((d[j+(W+2)>>0]|0)+-128|0);U=+((d[j+(X+s<<1|1)>>0]|0)+-16|0)*298.0820007324219;X=~~(T*516.4110107421875+U)>>8;W=~~(U-T*100.29100036621094-V*208.1199951171875)>>8;t=~~(U+V*408.5830078125)>>8;X=(X|0)>0?X:0;b=((B((o|0)/(L|0)|0,h)|0)+((i|0)/(K|0)|0)|0)*3|0;s=r+(b<<2)|0;c[s>>2]=((X|0)<255?X:255)+(c[s>>2]|0);W=(W|0)>0?W:0;s=r+(b+1<<2)|0;c[s>>2]=((W|0)<255?W:255)+(c[s>>2]|0);t=(t|0)>0?t:0;b=r+(b+2<<2)|0;c[b>>2]=((t|0)<255?t:255)+(c[b>>2]|0)}i=i+1|0}o=o+1|0}}case 8:{w=u+100.0;x=+(J|0);y=+(M|0);z=N+48|0;A=N+56|0;C=N+64|0;D=N+8|0;m=N+16|0;E=N+24|0;F=N+32|0;G=N+40|0;e=(b|0)==1;o=0;while(1){if((o|0)>=(J|0))break b;v=w+I*(+(o|0)+.5)/x;i=0;while(1){if((i|0)>=(M|0))break;u=w+I*(+(i|0)+.5)/y;p=+g[C>>3]+(u*+g[z>>3]+v*+g[A>>3]);if(p==0.0){Q=306;break a}V=(+g[m>>3]+(u*+g[N>>3]+v*+g[D>>3]))/p;f[O>>2]=V;u=(+g[G>>3]+(u*+g[E>>3]+v*+g[F>>3]))/p;f[P>>2]=u;me(n,V,u,O,P)|0;u=+f[O>>2];if(e){s=((~~(u+1.0)|0)/2|0)<<1;t=((~~(+f[P>>2]+1.0)|0)/2|0)<<1}else{s=~~(u+.5);t=~~(+f[P>>2]+.5)}if((s|0)>-1?(t|0)<(l|0)&((t|0)>-1&(s|0)<(k|0)):0){t=B(t,k)|0;W=(s&65534)+t<<1;T=+((d[j+(W|1)>>0]|0)+-128|0);V=+((d[j+(W+3)>>0]|0)+-128|0);U=+((d[j+(t+s<<1)>>0]|0)+-16|0)*298.0820007324219;s=~~(U+T*516.4110107421875)>>8;t=~~(U-T*100.29100036621094-V*208.1199951171875)>>8;W=~~(U+V*408.5830078125)>>8;s=(s|0)>0?s:0;X=((B((o|0)/(L|0)|0,h)|0)+((i|0)/(K|0)|0)|0)*3|0;b=r+(X<<2)|0;c[b>>2]=((s|0)<255?s:255)+(c[b>>2]|0);t=(t|0)>0?t:0;b=r+(X+1<<2)|0;c[b>>2]=((t|0)<255?t:255)+(c[b>>2]|0);W=(W|0)>0?W:0;X=r+(X+2<<2)|0;c[X>>2]=((W|0)<255?W:255)+(c[X>>2]|0)}i=i+1|0}o=o+1|0}}case 9:{w=u+100.0;x=+(J|0);y=+(M|0);z=N+48|0;A=N+56|0;C=N+64|0;D=N+8|0;m=N+16|0;E=N+24|0;F=N+32|0;G=N+40|0;e=(b|0)==1;i=0;while(1){if((i|0)>=(J|0))break b;v=w+I*(+(i|0)+.5)/x;o=0;while(1){if((o|0)>=(M|0))break;u=w+I*(+(o|0)+.5)/y;p=+g[C>>3]+(u*+g[z>>3]+v*+g[A>>3]);if(p==0.0){Q=306;break a}V=(+g[m>>3]+(u*+g[N>>3]+v*+g[D>>3]))/p;f[O>>2]=V;u=(+g[G>>3]+(u*+g[E>>3]+v*+g[F>>3]))/p;f[P>>2]=u;me(n,V,u,O,P)|0;u=+f[O>>2];if(e){s=((~~(u+1.0)|0)/2|0)<<1;t=((~~(+f[P>>2]+1.0)|0)/2|0)<<1}else{s=~~(u+.5);t=~~(+f[P>>2]+.5)}if((s|0)>-1?(t|0)<(l|0)&((t|0)>-1&(s|0)<(k|0)):0){W=(B(t,k)|0)+s<<1;t=a[j+(W|1)>>0]|0;X=((B((i|0)/(L|0)|0,h)|0)+((o|0)/(K|0)|0)|0)*3|0;b=r+(X<<2)|0;c[b>>2]=(c[b>>2]|0)+((t<<3&255|4)&255);W=a[j+W>>0]|0;b=r+(X+1<<2)|0;c[b>>2]=((t&-32&255)>>>3|W<<5&255|2)+(c[b>>2]|0);X=r+(X+2<<2)|0;c[X>>2]=(c[X>>2]|0)+((W&-8|4)&255)}o=o+1|0}i=i+1|0}}case 10:{w=u+100.0;x=+(J|0);y=+(M|0);z=N+48|0;A=N+56|0;C=N+64|0;D=N+8|0;m=N+16|0;E=N+24|0;F=N+32|0;G=N+40|0;e=(b|0)==1;o=0;while(1){if((o|0)>=(J|0))break b;v=w+I*(+(o|0)+.5)/x;i=0;while(1){if((i|0)>=(M|0))break;u=w+I*(+(i|0)+.5)/y;p=+g[C>>3]+(u*+g[z>>3]+v*+g[A>>3]);if(p==0.0){Q=306;break a}V=(+g[m>>3]+(u*+g[N>>3]+v*+g[D>>3]))/p;f[O>>2]=V;u=(+g[G>>3]+(u*+g[E>>3]+v*+g[F>>3]))/p;f[P>>2]=u;me(n,V,u,O,P)|0;u=+f[O>>2];if(e){s=((~~(u+1.0)|0)/2|0)<<1;t=((~~(+f[P>>2]+1.0)|0)/2|0)<<1}else{s=~~(u+.5);t=~~(+f[P>>2]+.5)}if((s|0)>-1?(t|0)<(l|0)&((t|0)>-1&(s|0)<(k|0)):0){W=(B(t,k)|0)+s<<1;t=a[j+(W|1)>>0]|0;X=((B((o|0)/(L|0)|0,h)|0)+((i|0)/(K|0)|0)|0)*3|0;b=r+(X<<2)|0;c[b>>2]=(c[b>>2]|0)+((t<<2&255|4)&255);W=a[j+W>>0]|0;b=r+(X+1<<2)|0;c[b>>2]=((t&-64&255)>>>3|W<<5&255|4)+(c[b>>2]|0);X=r+(X+2<<2)|0;c[X>>2]=(c[X>>2]|0)+((W&-8|4)&255)}i=i+1|0}o=o+1|0}}case 11:{w=u+100.0;x=+(J|0);y=+(M|0);z=N+48|0;A=N+56|0;C=N+64|0;D=N+8|0;m=N+16|0;E=N+24|0;F=N+32|0;G=N+40|0;e=(b|0)==1;o=0;while(1){if((o|0)>=(J|0))break b;v=w+I*(+(o|0)+.5)/x;i=0;while(1){if((i|0)>=(M|0))break;u=w+I*(+(i|0)+.5)/y;p=+g[C>>3]+(u*+g[z>>3]+v*+g[A>>3]);if(p==0.0){Q=306;break a}V=(+g[m>>3]+(u*+g[N>>3]+v*+g[D>>3]))/p;f[O>>2]=V;u=(+g[G>>3]+(u*+g[E>>3]+v*+g[F>>3]))/p;f[P>>2]=u;me(n,V,u,O,P)|0;u=+f[O>>2];if(e){s=((~~(u+1.0)|0)/2|0)<<1;t=((~~(+f[P>>2]+1.0)|0)/2|0)<<1}else{s=~~(u+.5);t=~~(+f[P>>2]+.5)}if((s|0)>-1?(t|0)<(l|0)&((t|0)>-1&(s|0)<(k|0)):0){W=(B(t,k)|0)+s<<1;X=((B((o|0)/(L|0)|0,h)|0)+((i|0)/(K|0)|0)|0)*3|0;b=r+(X<<2)|0;c[b>>2]=(c[b>>2]|0)+((a[j+(W|1)>>0]&-16|8)&255);W=a[j+W>>0]|0;b=r+(X+1<<2)|0;c[b>>2]=(c[b>>2]|0)+((W<<4&255|8)&255);X=r+(X+2<<2)|0;c[X>>2]=(c[X>>2]|0)+((W&-16|8)&255)}i=i+1|0}o=o+1|0}}default:{Se(0,3,20166,D);Q=306;break a}}while(0);t=B(L,K)|0;s=0;while(1){if((s|0)==(H|0))break;a[q+s>>0]=((c[r+(s<<2)>>2]|0)>>>0)/(t>>>0)|0;s=s+1|0}EO(r);r=0}else{r=FO(H,4)|0;if(!r){Se(0,3,41858,z);Ea(1)}c:do if(m>>>0<2){w=u+100.0;x=+(J|0);y=+(M|0);z=N+48|0;A=N+56|0;C=N+64|0;D=N+8|0;m=N+16|0;E=N+24|0;F=N+32|0;G=N+40|0;e=(b|0)==1;o=0;while(1){if((o|0)>=(J|0))break c;v=w+I*(+(o|0)+.5)/x;i=0;while(1){if((i|0)>=(M|0))break;u=w+I*(+(i|0)+.5)/y;p=+g[C>>3]+(u*+g[z>>3]+v*+g[A>>3]);if(p==0.0){Q=306;break a}V=(+g[m>>3]+(u*+g[N>>3]+v*+g[D>>3]))/p;f[O>>2]=V;u=(+g[G>>3]+(u*+g[E>>3]+v*+g[F>>3]))/p;f[P>>2]=u;me(n,V,u,O,P)|0;u=+f[O>>2];if(e){s=((~~(u+1.0)|0)/2|0)<<1;t=((~~(+f[P>>2]+1.0)|0)/2|0)<<1}else{s=~~(u+.5);t=~~(+f[P>>2]+.5)}if((s|0)>-1?(t|0)<(l|0)&((t|0)>-1&(s|0)<(k|0)):0){W=((B(t,k)|0)+s|0)*3|0;X=r+((B((o|0)/(L|0)|0,h)|0)+((i|0)/(K|0)|0)<<2)|0;c[X>>2]=(c[X>>2]|0)+((((d[j+(W+1)>>0]|0)+(d[j+W>>0]|0)+(d[j+(W+2)>>0]|0)|0)>>>0)/3|0)}i=i+1|0}o=o+1|0}}else{if((m|1|0)==3){w=u+100.0;x=+(J|0);y=+(M|0);z=N+48|0;A=N+56|0;C=N+64|0;D=N+8|0;m=N+16|0;E=N+24|0;F=N+32|0;G=N+40|0;e=(b|0)==1;o=0;while(1){if((o|0)>=(J|0))break c;v=w+I*(+(o|0)+.5)/x;i=0;while(1){if((i|0)>=(M|0))break;u=w+I*(+(i|0)+.5)/y;p=+g[C>>3]+(u*+g[z>>3]+v*+g[A>>3]);if(p==0.0){Q=306;break a}V=(+g[m>>3]+(u*+g[N>>3]+v*+g[D>>3]))/p;f[O>>2]=V;u=(+g[G>>3]+(u*+g[E>>3]+v*+g[F>>3]))/p;f[P>>2]=u;me(n,V,u,O,P)|0;u=+f[O>>2];if(e){s=((~~(u+1.0)|0)/2|0)<<1;t=((~~(+f[P>>2]+1.0)|0)/2|0)<<1}else{s=~~(u+.5);t=~~(+f[P>>2]+.5)}if((s|0)>-1?(t|0)<(l|0)&((t|0)>-1&(s|0)<(k|0)):0){W=(B(t,k)|0)+s<<2;X=r+((B((o|0)/(L|0)|0,h)|0)+((i|0)/(K|0)|0)<<2)|0;c[X>>2]=(c[X>>2]|0)+((((d[j+(W|1)>>0]|0)+(d[j+W>>0]|0)+(d[j+(W|2)>>0]|0)|0)>>>0)/3|0)}i=i+1|0}o=o+1|0}}if((m|2|0)==6){w=u+100.0;x=+(J|0);y=+(M|0);z=N+48|0;A=N+56|0;C=N+64|0;D=N+8|0;m=N+16|0;E=N+24|0;F=N+32|0;G=N+40|0;e=(b|0)==1;o=0;while(1){if((o|0)>=(J|0))break c;v=w+I*(+(o|0)+.5)/x;i=0;while(1){if((i|0)>=(M|0))break;u=w+I*(+(i|0)+.5)/y;p=+g[C>>3]+(u*+g[z>>3]+v*+g[A>>3]);if(p==0.0){Q=306;break a}V=(+g[m>>3]+(u*+g[N>>3]+v*+g[D>>3]))/p;f[O>>2]=V;u=(+g[G>>3]+(u*+g[E>>3]+v*+g[F>>3]))/p;f[P>>2]=u;me(n,V,u,O,P)|0;u=+f[O>>2];if(e){s=((~~(u+1.0)|0)/2|0)<<1;t=((~~(+f[P>>2]+1.0)|0)/2|0)<<1}else{s=~~(u+.5);t=~~(+f[P>>2]+.5)}if((s|0)>-1?(t|0)<(l|0)&((t|0)>-1&(s|0)<(k|0)):0){W=(B(t,k)|0)+s<<2;X=r+((B((o|0)/(L|0)|0,h)|0)+((i|0)/(K|0)|0)<<2)|0;c[X>>2]=(c[X>>2]|0)+((((d[j+(W|2)>>0]|0)+(d[j+(W|1)>>0]|0)+(d[j+(W|3)>>0]|0)|0)>>>0)/3|0)}i=i+1|0}o=o+1|0}}switch(m|0){case 5:case 12:case 13:case 14:{w=u+100.0;x=+(J|0);y=+(M|0);z=N+48|0;A=N+56|0;C=N+64|0;D=N+8|0;m=N+16|0;E=N+24|0;F=N+32|0;G=N+40|0;e=(b|0)==1;o=0;while(1){if((o|0)>=(J|0))break c;v=w+I*(+(o|0)+.5)/x;i=0;while(1){if((i|0)>=(M|0))break;u=w+I*(+(i|0)+.5)/y;p=+g[C>>3]+(u*+g[z>>3]+v*+g[A>>3]);if(p==0.0){Q=306;break a}V=(+g[m>>3]+(u*+g[N>>3]+v*+g[D>>3]))/p;f[O>>2]=V;u=(+g[G>>3]+(u*+g[E>>3]+v*+g[F>>3]))/p;f[P>>2]=u;me(n,V,u,O,P)|0;u=+f[O>>2];if(e){s=((~~(u+1.0)|0)/2|0)<<1;t=((~~(+f[P>>2]+1.0)|0)/2|0)<<1}else{s=~~(u+.5);t=~~(+f[P>>2]+.5)}if((s|0)>-1?(t|0)<(l|0)&((t|0)>-1&(s|0)<(k|0)):0){W=d[j+((B(t,k)|0)+s)>>0]|0;X=r+((B((o|0)/(L|0)|0,h)|0)+((i|0)/(K|0)|0)<<2)|0;c[X>>2]=(c[X>>2]|0)+W}i=i+1|0}o=o+1|0}}case 7:{w=u+100.0;x=+(J|0);y=+(M|0);z=N+48|0;A=N+56|0;C=N+64|0;D=N+8|0;m=N+16|0;E=N+24|0;F=N+32|0;G=N+40|0;e=(b|0)==1;o=0;while(1){if((o|0)>=(J|0))break c;v=w+I*(+(o|0)+.5)/x;i=0;while(1){if((i|0)>=(M|0))break;u=w+I*(+(i|0)+.5)/y;p=+g[C>>3]+(u*+g[z>>3]+v*+g[A>>3]);if(p==0.0){Q=306;break a}V=(+g[m>>3]+(u*+g[N>>3]+v*+g[D>>3]))/p;f[O>>2]=V;u=(+g[G>>3]+(u*+g[E>>3]+v*+g[F>>3]))/p;f[P>>2]=u;me(n,V,u,O,P)|0;u=+f[O>>2];if(e){s=((~~(u+1.0)|0)/2|0)<<1;t=((~~(+f[P>>2]+1.0)|0)/2|0)<<1}else{s=~~(u+.5);t=~~(+f[P>>2]+.5)}if((s|0)>-1?(t|0)<(l|0)&((t|0)>-1&(s|0)<(k|0)):0){W=d[j+((B(t,k)|0)+s<<1|1)>>0]|0;X=r+((B((o|0)/(L|0)|0,h)|0)+((i|0)/(K|0)|0)<<2)|0;c[X>>2]=(c[X>>2]|0)+W}i=i+1|0}o=o+1|0}}case 8:{w=u+100.0;x=+(J|0);y=+(M|0);z=N+48|0;A=N+56|0;C=N+64|0;D=N+8|0;m=N+16|0;E=N+24|0;F=N+32|0;G=N+40|0;e=(b|0)==1;o=0;while(1){if((o|0)>=(J|0))break c;v=w+I*(+(o|0)+.5)/x;i=0;while(1){if((i|0)>=(M|0))break;u=w+I*(+(i|0)+.5)/y;p=+g[C>>3]+(u*+g[z>>3]+v*+g[A>>3]);if(p==0.0){Q=306;break a}V=(+g[m>>3]+(u*+g[N>>3]+v*+g[D>>3]))/p;f[O>>2]=V;u=(+g[G>>3]+(u*+g[E>>3]+v*+g[F>>3]))/p;f[P>>2]=u;me(n,V,u,O,P)|0;u=+f[O>>2];if(e){s=((~~(u+1.0)|0)/2|0)<<1;t=((~~(+f[P>>2]+1.0)|0)/2|0)<<1}else{s=~~(u+.5);t=~~(+f[P>>2]+.5)}if((s|0)>-1?(t|0)<(l|0)&((t|0)>-1&(s|0)<(k|0)):0){W=d[j+((B(t,k)|0)+s<<1)>>0]|0;X=r+((B((o|0)/(L|0)|0,h)|0)+((i|0)/(K|0)|0)<<2)|0;c[X>>2]=(c[X>>2]|0)+W}i=i+1|0}o=o+1|0}}case 9:{w=u+100.0;x=+(J|0);y=+(M|0);z=N+48|0;A=N+56|0;C=N+64|0;D=N+8|0;m=N+16|0;E=N+24|0;F=N+32|0;G=N+40|0;e=(b|0)==1;o=0;while(1){if((o|0)>=(J|0))break c;v=w+I*(+(o|0)+.5)/x;i=0;while(1){if((i|0)>=(M|0))break;u=w+I*(+(i|0)+.5)/y;p=+g[C>>3]+(u*+g[z>>3]+v*+g[A>>3]);if(p==0.0){Q=306;break a}V=(+g[m>>3]+(u*+g[N>>3]+v*+g[D>>3]))/p;f[O>>2]=V;u=(+g[G>>3]+(u*+g[E>>3]+v*+g[F>>3]))/p;f[P>>2]=u;me(n,V,u,O,P)|0;u=+f[O>>2];if(e){s=((~~(u+1.0)|0)/2|0)<<1;t=((~~(+f[P>>2]+1.0)|0)/2|0)<<1}else{s=~~(u+.5);t=~~(+f[P>>2]+.5)}if((s|0)>-1?(t|0)<(l|0)&((t|0)>-1&(s|0)<(k|0)):0){W=(B(t,k)|0)+s<<1;b=d[j+W>>0]|0;W=d[j+(W|1)>>0]|0;X=r+((B((o|0)/(L|0)|0,h)|0)+((i|0)/(K|0)|0)<<2)|0;c[X>>2]=((((b<<5&224|W>>>3&28|2)+(b&248|4)+(W<<3&248|4)|0)>>>0)/3|0)+(c[X>>2]|0)}i=i+1|0}o=o+1|0}}case 10:{w=u+100.0;x=+(J|0);y=+(M|0);z=N+48|0;A=N+56|0;C=N+64|0;D=N+8|0;m=N+16|0;E=N+24|0;F=N+32|0;G=N+40|0;e=(b|0)==1;o=0;while(1){if((o|0)>=(J|0))break c;v=w+I*(+(o|0)+.5)/x;i=0;while(1){if((i|0)>=(M|0))break;u=w+I*(+(i|0)+.5)/y;p=+g[C>>3]+(u*+g[z>>3]+v*+g[A>>3]);if(p==0.0){Q=306;break a}V=(+g[m>>3]+(u*+g[N>>3]+v*+g[D>>3]))/p;f[O>>2]=V;u=(+g[G>>3]+(u*+g[E>>3]+v*+g[F>>3]))/p;f[P>>2]=u;me(n,V,u,O,P)|0;u=+f[O>>2];if(e){s=((~~(u+1.0)|0)/2|0)<<1;t=((~~(+f[P>>2]+1.0)|0)/2|0)<<1}else{s=~~(u+.5);t=~~(+f[P>>2]+.5)}if((s|0)>-1?(t|0)<(l|0)&((t|0)>-1&(s|0)<(k|0)):0){W=(B(t,k)|0)+s<<1;b=d[j+W>>0]|0;W=d[j+(W|1)>>0]|0;X=r+((B((o|0)/(L|0)|0,h)|0)+((i|0)/(K|0)|0)<<2)|0;c[X>>2]=((((b<<5&224|W>>>3&24|4)+(b&248|4)+(W<<2&248|4)|0)>>>0)/3|0)+(c[X>>2]|0)}i=i+1|0}o=o+1|0}}case 11:{w=u+100.0;x=+(J|0);y=+(M|0);z=N+48|0;A=N+56|0;C=N+64|0;D=N+8|0;m=N+16|0;E=N+24|0;F=N+32|0;G=N+40|0;e=(b|0)==1;o=0;while(1){if((o|0)>=(J|0))break c;v=w+I*(+(o|0)+.5)/x;i=0;while(1){if((i|0)>=(M|0))break;u=w+I*(+(i|0)+.5)/y;p=+g[C>>3]+(u*+g[z>>3]+v*+g[A>>3]);if(p==0.0){Q=306;break a}V=(+g[m>>3]+(u*+g[N>>3]+v*+g[D>>3]))/p;f[O>>2]=V;u=(+g[G>>3]+(u*+g[E>>3]+v*+g[F>>3]))/p;f[P>>2]=u;me(n,V,u,O,P)|0;u=+f[O>>2];if(e){s=((~~(u+1.0)|0)/2|0)<<1;t=((~~(+f[P>>2]+1.0)|0)/2|0)<<1}else{s=~~(u+.5);t=~~(+f[P>>2]+.5)}if((s|0)>-1?(t|0)<(l|0)&((t|0)>-1&(s|0)<(k|0)):0){W=(B(t,k)|0)+s<<1;b=d[j+W>>0]|0;X=r+((B((o|0)/(L|0)|0,h)|0)+((i|0)/(K|0)|0)<<2)|0;c[X>>2]=((((b<<4&240|8)+(b&240|8)+((a[j+(W|1)>>0]&-16|8)&255)|0)>>>0)/3|0)+(c[X>>2]|0)}i=i+1|0}o=o+1|0}}default:{Se(0,3,20166,A);Q=306;break a}}}while(0);t=B(L,K)|0;s=0;while(1){if((s|0)==(H|0))break;a[q+s>>0]=((c[r+(s<<2)>>2]|0)>>>0)/(t>>>0)|0;s=s+1|0}EO(r);r=0}while(0);if((Q|0)==306){EO(r);r=-1}yb=R;return r|0}function od(b,e,f,h,i){b=b|0;e=e|0;f=f|0;h=h|0;i=i|0;var j=0,k=0.0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;y=yb;yb=yb+160|0;o=y+152|0;n=y+128|0;x=y+144|0;w=y;c[n>>2]=0;c[n+4>>2]=182;c[n+8>>2]=195;c[n+12>>2]=13;j=0;l=0;m=-1;while(1){if((j|0)==4)break;v=a[b+(c[n+(j<<2)>>2]|0)>>0]|0;j=j+1|0;l=(v&255)>(l&255)?v:l;m=(v&255)<(m&255)?v:m}l=l&255;j=m&255;a:do if((l-j|0)>=30){v=(l+j|0)>>>1;j=0;while(1){if((j|0)==4)break;a[o+j>>0]=v>>>0>(d[b+(c[n+(j<<2)>>2]|0)>>0]|0)>>>0&1;j=j+1|0}u=0;while(1){if(u>>>0>=4)break;j=u+1|0;if(((a[o+u>>0]|0)==1?(a[o+(j&3)>>0]|0)==1:0)?(a[o+(u+2&3)>>0]|0)==0:0)break;u=j}b:do switch(u&2147483647|0){case 4:{c[f>>2]=0;g[h>>3]=-1.0;j=-3;break a}case 0:{l=119;n=0;j=255;while(1){if((n|0)==14){p=57;break b}o=n+-3|0;p=(n&2147483646|0)==12;q=n*14|0;m=0;while(1){if((m|0)==14)break;if(((m+-3|o)>>>0>=8?(r=m&2147483646,((m|n)&2147483646|0)!=0):0)?!(p&((r|0)==0|(r|0)==12)):0){t=(d[b+(m+q)>>0]|0)-v|0;a[w+l>>0]=t>>>31;t=(t|0)>-1?t:0-t|0;l=l+-1|0;j=(t|0)<(j|0)?t:j}m=m+1|0}n=n+1|0}}case 1:{l=119;j=255;n=0;while(1){if((n|0)==14){p=57;break b}o=n+-3|0;q=n&2147483646;p=(q|0)==0;q=(q|0)==12;m=13;while(1){if((m|0)<=-1)break;if(((m+-3|o)>>>0>=8?(s=(m&-2|0)==12,!(p&s)):0)?!(q&(m>>>0<2|s)):0){t=(d[b+((m*14|0)+n)>>0]|0)-v|0;a[w+l>>0]=t>>>31;t=(t|0)>-1?t:0-t|0;l=l+-1|0;j=(t|0)<(j|0)?t:j}m=m+-1|0}n=n+1|0}}case 2:{m=13;l=119;j=255;while(1){if((m|0)<=-1){p=57;break b}n=m+-3|0;q=m>>>0<2|(m&-2|0)==12;p=m*14|0;o=13;while(1){if((o|0)<=-1)break;if((o+-3|n)>>>0>=8?!((o|m)>>>0<2|q&(o&-2|0)==12):0){t=(d[b+(o+p)>>0]|0)-v|0;a[w+l>>0]=t>>>31;t=(t|0)>-1?t:0-t|0;l=l+-1|0;j=(t|0)<(j|0)?t:j}o=o+-1|0}m=m+-1|0}}case 3:{n=13;l=119;j=255;while(1){if((n|0)<=-1){p=57;break b}o=n+-3|0;p=n&-2;q=(p|0)==12;r=(p|0)==0;m=0;while(1){if((m|0)==14)break;if(((m+-3|o)>>>0>=8?(t=m&2147483646,!(q&(t|0)==0)):0)?!((t|p|0)==0|r&(t|0)==12):0){s=(d[b+((m*14|0)+n)>>0]|0)-v|0;a[w+l>>0]=s>>>31;s=(s|0)>-1?s:0-s|0;l=l+-1|0;j=(s|0)<(j|0)?s:j}m=m+1|0}n=n+-1|0}}default:{c[f>>2]=u;k=1.0}}while(0);if((p|0)==57){c[f>>2]=u;k=(j|0)>30?1.0:+(j|0)/30.0}g[h>>3]=k;j=kd(2830,0,0,w,x)|0;if((j|0)<0)j=-4;else{if(i|0)c[i>>2]=j;i=x;x=c[i+4>>2]|0;j=e;c[j>>2]=c[i>>2];c[j+4>>2]=x;j=0}}else{c[f>>2]=0;g[h>>3]=-1.0;j=-2}while(0);yb=y;return j|0}function pd(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,v=0,w=0,x=0,y=0,z=0,A=0,C=0.0;A=yb;yb=yb+32|0;z=A+24|0;f=A+16|0;d=A+8|0;do if(a){if(!b){Se(0,3,20225,d);d=-1;break}y=a+8|0;e=c[a+4>>2]|0;d=0;while(1){if((d|0)>=(e|0))break;if(!(c[(c[y>>2]|0)+(d<<2)>>2]|0))break;d=d+1|0}if((d|0)!=(e|0)){x=hz(b)|0;if(!x){Se(0,3,20270,f);d=-1;break}p=a+28|0;q=a+12|0;r=d<<2;s=a+20|0;t=a+16|0;v=a+24|0;e=rA(x,20293)|0;o=0;a:while(1){if(o>>>0>=4){e=36;break}w=o+r|0;b=0;n=0;while(1){if(n>>>0>=3)break;l=(n|0)==0;m=(n|0)==2;k=0;f=c[p>>2]|0;while(1){if((k|0)>=(f|0))break;j=0;while(1){if((j|0)>=(f|0))break;if(!e){e=21;break a}f=jA(e)|0;e=rA(0,20293)|0;f=255-f|0;c[(c[(c[q>>2]|0)+(w<<2)>>2]|0)+((((B(c[p>>2]|0,k)|0)+j|0)*3|0)+n<<2)>>2]=f;h=c[(c[s>>2]|0)+(w<<2)>>2]|0;i=h+((B(c[p>>2]|0,k)|0)+j<<2)|0;if(!l){c[i>>2]=(c[i>>2]|0)+f;if(m){i=h+((B(c[p>>2]|0,k)|0)+j<<2)|0;c[i>>2]=(c[i>>2]|0)/3|0}}else c[i>>2]=f;j=j+1|0;b=f+b|0;f=c[p>>2]|0}k=k+1|0}n=n+1|0}i=c[p>>2]|0;j=(b|0)/(B(i*3|0,i)|0)|0;b=0;f=0;while(1){if(f>>>0>=(B(i*3|0,i)|0)>>>0)break;n=(c[(c[q>>2]|0)+(w<<2)>>2]|0)+(f<<2)|0;i=(c[n>>2]|0)-j|0;c[n>>2]=i;i=(B(i,i)|0)+b|0;b=i;f=f+1|0;i=c[p>>2]|0}C=+u(+(+(b|0)));g[(c[t>>2]|0)+(w<<3)>>3]=C==0.0?1.0e-07:C;f=0;h=0;b=i;while(1){if(h>>>0>=(B(b,b)|0)>>>0)break;n=(c[(c[s>>2]|0)+(w<<2)>>2]|0)+(h<<2)|0;b=(c[n>>2]|0)-j|0;c[n>>2]=b;b=(B(b,b)|0)+f|0;f=b;h=h+1|0;b=c[p>>2]|0}C=+u(+(+(f|0)));g[(c[v>>2]|0)+(w<<3)>>3]=C==0.0?1.0e-07:C;o=o+1|0}if((e|0)==21){Se(0,3,20298,z);EO(x);d=-1;break}else if((e|0)==36){EO(x);c[(c[y>>2]|0)+(d<<2)>>2]=1;c[a>>2]=(c[a>>2]|0)+1;break}}else d=-1}else{Se(0,3,20200,A);d=-1}while(0);yb=A;return d|0} -function rw(f){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,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;Pa=yb;yb=yb+256|0;ga=Pa;Na=f+440|0;Oa=f+464|0;oa=f+24|0;ua=f+232|0;va=f+248|0;wa=f+264|0;pa=f+280|0;qa=f+40|0;ra=f+304|0;sa=f+308|0;ta=f+284|0;ha=f+288|0;ia=f+289|0;ja=f+290|0;ka=f+292|0;la=f+294|0;ma=f+296|0;na=f+300|0;Ja=f+36|0;Ka=f+216|0;g=c[Na>>2]|0;a:while(1){do if(!g){if(c[(c[Oa>>2]|0)+12>>2]|0){if(!(ow(f)|0)){xa=0;Aa=350;break a}g=c[Na>>2]|0;break}m=c[oa>>2]|0;n=m+4|0;g=c[n>>2]|0;if(!g){if(!(Eb[c[m+12>>2]&127](f)|0)){xa=0;Aa=350;break a}g=c[n>>2]|0}k=c[m>>2]|0;g=g+-1|0;h=k+1|0;k=a[k>>0]|0;l=k&255;if(!g){if(!(Eb[c[m+12>>2]&127](f)|0)){xa=0;Aa=350;break a}j=c[n>>2]|0;h=c[m>>2]|0}else j=g;V=a[h>>0]|0;g=V&255;if(k<<24>>24!=-1|V<<24>>24!=-40){V=c[f>>2]|0;c[V+20>>2]=55;c[V+24>>2]=l;c[(c[f>>2]|0)+28>>2]=g;Qb[c[c[f>>2]>>2]&255](f)}c[Na>>2]=g;c[m>>2]=h+1;c[n>>2]=j+-1}while(0);do switch(g|0){case 218:{Aa=25;break a}case 217:{Aa=75;break a}case 216:{g=c[f>>2]|0;c[g+20>>2]=104;Sb[c[g+4>>2]&63](f,1);g=(c[Oa>>2]|0)+12|0;if(c[g>>2]|0){g=c[f>>2]|0;c[g+20>>2]=64;Qb[c[g>>2]&255](f);g=(c[Oa>>2]|0)+12|0}h=ua;j=h+16|0;do{a[h>>0]=0;h=h+1|0}while((h|0)<(j|0));h=va;j=h+16|0;do{a[h>>0]=1;h=h+1|0}while((h|0)<(j|0));h=wa;j=h+16|0;do{a[h>>0]=5;h=h+1|0}while((h|0)<(j|0));c[pa>>2]=0;c[qa>>2]=0;c[ra>>2]=0;c[sa>>2]=0;c[ta>>2]=0;a[ha>>0]=1;a[ia>>0]=1;a[ja>>0]=0;b[ka>>1]=1;b[la>>1]=1;c[ma>>2]=0;a[na>>0]=0;c[g>>2]=1;break}case 192:{if(!(ww(f,1,0,0)|0)){xa=0;Aa=350;break a}break}case 193:{if(!(ww(f,0,0,0)|0)){xa=0;Aa=350;break a}break}case 194:{if(!(ww(f,0,1,0)|0)){xa=0;Aa=350;break a}break}case 201:{if(!(ww(f,0,0,1)|0)){xa=0;Aa=350;break a}break}case 202:{if(!(ww(f,0,1,1)|0)){xa=0;Aa=350;break a}break}case 207:case 206:case 205:case 203:case 200:case 199:case 198:case 197:case 195:{V=c[f>>2]|0;c[V+20>>2]=63;c[V+24>>2]=g;Qb[c[c[f>>2]>>2]&255](f);break}case 204:{p=c[oa>>2]|0;q=p+4|0;g=c[q>>2]|0;if(!g){if(!(Eb[c[p+12>>2]&127](f)|0)){xa=0;Aa=350;break a}g=c[q>>2]|0}j=c[p>>2]|0;g=g+-1|0;h=j+1|0;j=d[j>>0]<<8;if(!g){if(!(Eb[c[p+12>>2]&127](f)|0)){xa=0;Aa=350;break a}g=c[q>>2]|0;h=c[p>>2]|0}V=j|d[h>>0];j=V+-2|0;k=g+-1|0;g=h+1|0;if(V>>>0>2){o=p+12|0;n=j;h=k;while(1){if(!h){if(!(Eb[c[o>>2]&127](f)|0)){xa=0;Aa=350;break a}h=c[q>>2]|0;g=c[p>>2]|0}h=h+-1|0;j=g+1|0;l=a[g>>0]|0;m=l&255;if(!h){if(!(Eb[c[o>>2]&127](f)|0)){xa=0;Aa=350;break a}h=c[q>>2]|0;k=c[p>>2]|0}else k=j;g=a[k>>0]|0;j=g&255;V=c[f>>2]|0;c[V+20>>2]=81;c[V+24>>2]=m;c[(c[f>>2]|0)+28>>2]=j;Sb[c[(c[f>>2]|0)+4>>2]&63](f,1);if((l&255)<=31)if((l&255)<=15){U=j&15;a[f+232+m>>0]=U;V=(g&255)>>>4;a[f+248+m>>0]=V;if(U>>>0>(V&255)>>>0){V=c[f>>2]|0;c[V+20>>2]=30;c[V+24>>2]=j;Qb[c[c[f>>2]>>2]&255](f)}}else Aa=93;else{Aa=c[f>>2]|0;c[Aa+20>>2]=29;c[Aa+24>>2]=m;Qb[c[c[f>>2]>>2]&255](f);Aa=93}if((Aa|0)==93){Aa=0;a[m+-16+(f+264)>>0]=g}j=n+-2|0;h=h+-1|0;g=k+1|0;if((n|0)>2)n=j;else break}}else h=k;if(j|0){V=c[f>>2]|0;c[V+20>>2]=12;Qb[c[V>>2]&255](f)}c[p>>2]=g;c[q>>2]=h;break}case 196:{U=c[oa>>2]|0;V=U+4|0;g=c[V>>2]|0;if(!g){if(!(Eb[c[U+12>>2]&127](f)|0)){Aa=174;break a}g=c[V>>2]|0}k=c[U>>2]|0;g=g+-1|0;h=k+1|0;k=d[k>>0]<<8;if(!g){if(!(Eb[c[U+12>>2]&127](f)|0)){Aa=174;break a}g=c[V>>2]|0;j=c[U>>2]|0}else j=h;h=g+-1|0;g=j+1|0;T=k|d[j>>0];j=T+-2|0;if(T>>>0>18){T=U+12|0;do{if(!h){if(!(Eb[c[T>>2]&127](f)|0)){Aa=174;break a}h=c[V>>2]|0;g=c[U>>2]|0}S=d[g>>0]|0;R=c[f>>2]|0;c[R+20>>2]=82;c[R+24>>2]=S;Sb[c[(c[f>>2]|0)+4>>2]&63](f,1);h=h+-1|0;g=g+1|0;if(!h){if(!(Eb[c[T>>2]&127](f)|0)){Aa=174;break a}h=c[V>>2]|0;g=c[U>>2]|0}R=a[g>>0]|0;N=R&255;h=h+-1|0;g=g+1|0;if(!h){if(!(Eb[c[T>>2]&127](f)|0)){Aa=174;break a}h=c[V>>2]|0;g=c[U>>2]|0}Q=a[g>>0]|0;L=Q&255;k=L+N|0;h=h+-1|0;g=g+1|0;if(!h){if(!(Eb[c[T>>2]&127](f)|0)){Aa=174;break a}h=c[V>>2]|0;g=c[U>>2]|0}P=a[g>>0]|0;K=P&255;k=k+K|0;h=h+-1|0;g=g+1|0;if(!h){if(!(Eb[c[T>>2]&127](f)|0)){Aa=174;break a}h=c[V>>2]|0;g=c[U>>2]|0}O=a[g>>0]|0;I=O&255;k=k+I|0;h=h+-1|0;g=g+1|0;if(!h){if(!(Eb[c[T>>2]&127](f)|0)){Aa=174;break a}h=c[V>>2]|0;g=c[U>>2]|0}M=a[g>>0]|0;G=M&255;k=k+G|0;h=h+-1|0;g=g+1|0;if(!h){if(!(Eb[c[T>>2]&127](f)|0)){Aa=174;break a}h=c[V>>2]|0;g=c[U>>2]|0}J=a[g>>0]|0;E=J&255;k=k+E|0;h=h+-1|0;g=g+1|0;if(!h){if(!(Eb[c[T>>2]&127](f)|0)){Aa=174;break a}h=c[V>>2]|0;g=c[U>>2]|0}H=a[g>>0]|0;C=H&255;k=k+C|0;h=h+-1|0;g=g+1|0;if(!h){if(!(Eb[c[T>>2]&127](f)|0)){Aa=174;break a}h=c[V>>2]|0;g=c[U>>2]|0}F=a[g>>0]|0;A=F&255;k=k+A|0;h=h+-1|0;g=g+1|0;if(!h){if(!(Eb[c[T>>2]&127](f)|0)){Aa=174;break a}h=c[V>>2]|0;g=c[U>>2]|0}D=a[g>>0]|0;y=D&255;k=k+y|0;h=h+-1|0;g=g+1|0;if(!h){if(!(Eb[c[T>>2]&127](f)|0)){Aa=174;break a}h=c[V>>2]|0;g=c[U>>2]|0}B=a[g>>0]|0;w=B&255;k=k+w|0;h=h+-1|0;g=g+1|0;if(!h){if(!(Eb[c[T>>2]&127](f)|0)){Aa=174;break a}h=c[V>>2]|0;g=c[U>>2]|0}z=a[g>>0]|0;u=z&255;k=k+u|0;h=h+-1|0;g=g+1|0;if(!h){if(!(Eb[c[T>>2]&127](f)|0)){Aa=174;break a}h=c[V>>2]|0;g=c[U>>2]|0}x=a[g>>0]|0;s=x&255;k=k+s|0;h=h+-1|0;g=g+1|0;if(!h){if(!(Eb[c[T>>2]&127](f)|0)){Aa=174;break a}h=c[V>>2]|0;g=c[U>>2]|0}v=a[g>>0]|0;q=v&255;k=k+q|0;h=h+-1|0;g=g+1|0;if(!h){if(!(Eb[c[T>>2]&127](f)|0)){Aa=174;break a}h=c[V>>2]|0;g=c[U>>2]|0}t=a[g>>0]|0;o=t&255;k=k+o|0;h=h+-1|0;g=g+1|0;if(!h){if(!(Eb[c[T>>2]&127](f)|0)){Aa=174;break a}h=c[V>>2]|0;g=c[U>>2]|0}r=a[g>>0]|0;l=r&255;k=k+l|0;h=h+-1|0;g=g+1|0;if(!h){if(!(Eb[c[T>>2]&127](f)|0)){Aa=174;break a}h=c[V>>2]|0;g=c[U>>2]|0}p=a[g>>0]|0;Qa=p&255;n=k+Qa|0;h=h+-1|0;g=g+1|0;m=j+-17|0;k=c[f>>2]|0;c[k+24>>2]=N;c[k+28>>2]=L;c[k+32>>2]=K;c[k+36>>2]=I;c[k+40>>2]=G;c[k+44>>2]=E;c[k+48>>2]=C;c[k+52>>2]=A;c[k+20>>2]=88;Sb[c[k+4>>2]&63](f,2);N=c[f>>2]|0;c[N+24>>2]=y;c[N+28>>2]=w;c[N+32>>2]=u;c[N+36>>2]=s;c[N+40>>2]=q;c[N+44>>2]=o;c[N+48>>2]=l;c[N+52>>2]=Qa;c[N+20>>2]=88;Sb[c[N+4>>2]&63](f,2);if(n>>>0>256|(m|0)<(n|0)){Qa=c[f>>2]|0;c[Qa+20>>2]=9;Qb[c[Qa>>2]&255](f)}_O(ga|0,0,256)|0;if(!n)j=0;else{k=0;while(1){if(!h){if(!(Eb[c[T>>2]&127](f)|0)){Aa=174;break a}h=c[V>>2]|0;g=c[U>>2]|0}h=h+-1|0;j=g+1|0;a[ga+k>>0]=a[g>>0]|0;k=k+1|0;if(k>>>0>=n>>>0){g=j;j=n;break}else g=j}}j=m-j|0;Qa=(S&16|0)==0;l=S+-16|0;k=Qa?S:l;l=Qa?f+180+(S<<2)|0:f+196+(l<<2)|0;if(k>>>0>3){Qa=c[f>>2]|0;c[Qa+20>>2]=31;c[Qa+24>>2]=k;Qb[c[c[f>>2]>>2]&255](f)}k=c[l>>2]|0;if(!k){k=hw(f)|0;c[l>>2]=k}a[k>>0]=0;a[k+1>>0]=R;a[k+2>>0]=Q;a[k+3>>0]=P;a[k+4>>0]=O;a[k+5>>0]=M;a[k+6>>0]=J;a[k+7>>0]=H;a[k+8>>0]=F;a[k+9>>0]=D;a[k+10>>0]=B;a[k+11>>0]=z;a[k+12>>0]=x;a[k+13>>0]=v;a[k+14>>0]=t;a[k+15>>0]=r;a[k+16>>0]=p;YO((c[l>>2]|0)+17|0,ga|0,256)|0}while((j|0)>16)}if(j|0){Qa=c[f>>2]|0;c[Qa+20>>2]=12;Qb[c[Qa>>2]&255](f)}c[U>>2]=g;c[V>>2]=h;break}case 219:{q=c[oa>>2]|0;r=q+4|0;g=c[r>>2]|0;if(!g){if(!(Eb[c[q+12>>2]&127](f)|0)){xa=0;Aa=350;break a}g=c[r>>2]|0}l=c[q>>2]|0;g=g+-1|0;h=l+1|0;l=d[l>>0]<<8;if(!g){if(!(Eb[c[q+12>>2]&127](f)|0)){xa=0;Aa=350;break a}g=c[r>>2]|0;k=c[q>>2]|0}else k=h;j=g+-1|0;h=k+1|0;Qa=l|d[k>>0];g=Qa+-2|0;if(Qa>>>0>2){p=q+12|0;while(1){o=g+-1|0;if(!j){if(!(Eb[c[p>>2]&127](f)|0)){xa=0;Aa=350;break a}j=c[r>>2]|0;h=c[q>>2]|0}k=d[h>>0]|0;m=k>>>4;k=k&15;Qa=c[f>>2]|0;c[Qa+20>>2]=83;c[Qa+24>>2]=k;c[(c[f>>2]|0)+28>>2]=m;Sb[c[(c[f>>2]|0)+4>>2]&63](f,1);if(k>>>0>3){Qa=c[f>>2]|0;c[Qa+20>>2]=32;c[Qa+24>>2]=k;Qb[c[c[f>>2]>>2]&255](f)}k=f+164+(k<<2)|0;l=c[k>>2]|0;if(!l){l=xw(f)|0;c[k>>2]=l}n=(m|0)!=0;if(n)if((g|0)<129){b[l>>1]=1;b[l+2>>1]=1;b[l+4>>1]=1;b[l+6>>1]=1;b[l+8>>1]=1;b[l+10>>1]=1;b[l+12>>1]=1;b[l+14>>1]=1;b[l+16>>1]=1;b[l+18>>1]=1;b[l+20>>1]=1;b[l+22>>1]=1;b[l+24>>1]=1;b[l+26>>1]=1;b[l+28>>1]=1;b[l+30>>1]=1;b[l+32>>1]=1;b[l+34>>1]=1;b[l+36>>1]=1;b[l+38>>1]=1;b[l+40>>1]=1;b[l+42>>1]=1;b[l+44>>1]=1;b[l+46>>1]=1;b[l+48>>1]=1;b[l+50>>1]=1;b[l+52>>1]=1;b[l+54>>1]=1;b[l+56>>1]=1;b[l+58>>1]=1;b[l+60>>1]=1;b[l+62>>1]=1;b[l+64>>1]=1;b[l+66>>1]=1;b[l+68>>1]=1;b[l+70>>1]=1;b[l+72>>1]=1;b[l+74>>1]=1;b[l+76>>1]=1;b[l+78>>1]=1;b[l+80>>1]=1;b[l+82>>1]=1;b[l+84>>1]=1;b[l+86>>1]=1;b[l+88>>1]=1;b[l+90>>1]=1;b[l+92>>1]=1;b[l+94>>1]=1;b[l+96>>1]=1;b[l+98>>1]=1;b[l+100>>1]=1;b[l+102>>1]=1;b[l+104>>1]=1;b[l+106>>1]=1;b[l+108>>1]=1;b[l+110>>1]=1;b[l+112>>1]=1;b[l+114>>1]=1;b[l+116>>1]=1;b[l+118>>1]=1;b[l+120>>1]=1;b[l+122>>1]=1;b[l+124>>1]=1;b[l+126>>1]=1;ba=o>>1;Aa=196}else Aa=203;else if((g|0)<65){b[l>>1]=1;b[l+2>>1]=1;b[l+4>>1]=1;b[l+6>>1]=1;b[l+8>>1]=1;b[l+10>>1]=1;b[l+12>>1]=1;b[l+14>>1]=1;b[l+16>>1]=1;b[l+18>>1]=1;b[l+20>>1]=1;b[l+22>>1]=1;b[l+24>>1]=1;b[l+26>>1]=1;b[l+28>>1]=1;b[l+30>>1]=1;b[l+32>>1]=1;b[l+34>>1]=1;b[l+36>>1]=1;b[l+38>>1]=1;b[l+40>>1]=1;b[l+42>>1]=1;b[l+44>>1]=1;b[l+46>>1]=1;b[l+48>>1]=1;b[l+50>>1]=1;b[l+52>>1]=1;b[l+54>>1]=1;b[l+56>>1]=1;b[l+58>>1]=1;b[l+60>>1]=1;b[l+62>>1]=1;b[l+64>>1]=1;b[l+66>>1]=1;b[l+68>>1]=1;b[l+70>>1]=1;b[l+72>>1]=1;b[l+74>>1]=1;b[l+76>>1]=1;b[l+78>>1]=1;b[l+80>>1]=1;b[l+82>>1]=1;b[l+84>>1]=1;b[l+86>>1]=1;b[l+88>>1]=1;b[l+90>>1]=1;b[l+92>>1]=1;b[l+94>>1]=1;b[l+96>>1]=1;b[l+98>>1]=1;b[l+100>>1]=1;b[l+102>>1]=1;b[l+104>>1]=1;b[l+106>>1]=1;b[l+108>>1]=1;b[l+110>>1]=1;b[l+112>>1]=1;b[l+114>>1]=1;b[l+116>>1]=1;b[l+118>>1]=1;b[l+120>>1]=1;b[l+122>>1]=1;b[l+124>>1]=1;b[l+126>>1]=1;ba=o;Aa=196}else Aa=203;b:do if((Aa|0)==196){Aa=0;switch(ba|0){case 4:{g=3792;break}case 9:{g=3680;break}case 16:{g=3552;break}case 25:{g=3376;break}case 36:{g=3168;break}case 49:{g=2896;break}default:{j=j+-1|0;g=h+1|0;if((ba|0)>0){Z=2576;_=ba;$=g;aa=j;Aa=205;break b}else{Y=ba;X=j;W=g;break b}}}Z=g;_=ba;$=h+1|0;aa=j+-1|0;Aa=205}else if((Aa|0)==203){Z=2576;_=64;$=h+1|0;aa=j+-1|0;Aa=205}while(0);c:do if((Aa|0)==205){Aa=0;if(!n){j=0;h=$;g=aa;while(1){if(!g){if(!(Eb[c[p>>2]&127](f)|0)){xa=0;Aa=350;break a}g=c[r>>2]|0;h=c[q>>2]|0}b[l+(c[Z+(j<<2)>>2]<<1)>>1]=d[h>>0]|0;j=j+1|0;g=g+-1|0;h=h+1|0;if((j|0)>=(_|0)){Y=_;X=g;W=h;break c}}}m=0;h=$;g=aa;while(1){if(!g){if(!(Eb[c[p>>2]&127](f)|0)){xa=0;Aa=350;break a}g=c[r>>2]|0;h=c[q>>2]|0}g=g+-1|0;j=h+1|0;k=d[h>>0]<<8;if(!g){if(!(Eb[c[p>>2]&127](f)|0)){xa=0;Aa=350;break a}g=c[r>>2]|0;h=c[q>>2]|0}else h=j;b[l+(c[Z+(m<<2)>>2]<<1)>>1]=k|d[h>>0];m=m+1|0;g=g+-1|0;h=h+1|0;if((m|0)>=(_|0)){Y=_;X=g;W=h;break}}}while(0);h=c[f>>2]|0;d:do if((c[h+104>>2]|0)>1){g=0;while(1){c[h+24>>2]=e[l+(g<<1)>>1];c[h+28>>2]=e[l+((g|1)<<1)>>1];c[h+32>>2]=e[l+((g|2)<<1)>>1];c[h+36>>2]=e[l+((g|3)<<1)>>1];c[h+40>>2]=e[l+((g|4)<<1)>>1];c[h+44>>2]=e[l+((g|5)<<1)>>1];c[h+48>>2]=e[l+((g|6)<<1)>>1];c[h+52>>2]=e[l+((g|7)<<1)>>1];c[h+20>>2]=95;Sb[c[h+4>>2]&63](f,2);g=g+8|0;if(g>>>0>=64)break d;h=c[f>>2]|0}}while(0);g=o-Y+(n?0-Y|0:0)|0;if((g|0)>0){h=W;j=X}else{j=X;h=W;break}}}if(g|0){Qa=c[f>>2]|0;c[Qa+20>>2]=12;Qb[c[Qa>>2]&255](f)}c[q>>2]=h;c[r>>2]=j;break}case 221:{l=c[oa>>2]|0;m=l+4|0;g=c[m>>2]|0;if(!g){if(!(Eb[c[l+12>>2]&127](f)|0)){xa=0;Aa=350;break a}g=c[m>>2]|0}k=c[l>>2]|0;g=g+-1|0;h=k+1|0;k=d[k>>0]<<8;if(!g){if(!(Eb[c[l+12>>2]&127](f)|0)){xa=0;Aa=350;break a}g=c[m>>2]|0;j=c[l>>2]|0}else j=h;g=g+-1|0;h=j+1|0;if((k|d[j>>0]|0)!=4){Qa=c[f>>2]|0;c[Qa+20>>2]=12;Qb[c[Qa>>2]&255](f)}if(!g){if(!(Eb[c[l+12>>2]&127](f)|0)){xa=0;Aa=350;break a}g=c[m>>2]|0;h=c[l>>2]|0}j=g+-1|0;g=h+1|0;k=d[h>>0]<<8;if(!j){if(!(Eb[c[l+12>>2]&127](f)|0)){xa=0;Aa=350;break a}h=c[m>>2]|0;g=c[l>>2]|0}else h=j;Qa=k|d[g>>0];V=c[f>>2]|0;c[V+20>>2]=84;c[V+24>>2]=Qa;Sb[c[(c[f>>2]|0)+4>>2]&63](f,1);c[pa>>2]=Qa;c[l>>2]=g+1;c[m>>2]=h+-1;break}case 248:{m=c[oa>>2]|0;h=c[m>>2]|0;n=m+4|0;g=c[n>>2]|0;if(!(c[(c[Oa>>2]|0)+16>>2]|0)){Qa=c[f>>2]|0;c[Qa+20>>2]=60;Uz(Qa+24|0,46637,80)|0;Qb[c[c[f>>2]>>2]&255](f)}do if((c[Ja>>2]|0)>=3){if(!g){if(!(Eb[c[m+12>>2]&127](f)|0)){xa=0;Aa=350;break a}g=c[n>>2]|0;h=c[m>>2]|0}g=g+-1|0;j=h+1|0;k=d[h>>0]<<8;if(!g){if(!(Eb[c[m+12>>2]&127](f)|0)){xa=0;Aa=350;break a}g=c[n>>2]|0;j=c[m>>2]|0}g=g+-1|0;h=j+1|0;if((k|d[j>>0]|0)!=24){Qa=c[f>>2]|0;c[Qa+20>>2]=12;Qb[c[Qa>>2]&255](f)}if(!g){if(!(Eb[c[m+12>>2]&127](f)|0)){xa=0;Aa=350;break a}g=c[n>>2]|0;h=c[m>>2]|0}g=g+-1|0;j=h+1|0;if((a[h>>0]|0)!=13){Qa=c[f>>2]|0;c[Qa+20>>2]=70;c[Qa+24>>2]=c[Na>>2];Qb[c[c[f>>2]>>2]&255](f)}if(!g){if(!(Eb[c[m+12>>2]&127](f)|0)){xa=0;Aa=350;break a}g=c[n>>2]|0;h=c[m>>2]|0}else h=j;g=g+-1|0;j=h+1|0;k=d[h>>0]<<8;if(!g){if(!(Eb[c[m+12>>2]&127](f)|0)){xa=0;Aa=350;break a}g=c[n>>2]|0;j=c[m>>2]|0}g=g+-1|0;h=j+1|0;if((k|d[j>>0]|0)==255){if(!g){if(!(Eb[c[m+12>>2]&127](f)|0)){xa=0;Aa=350;break a}g=c[n>>2]|0;h=c[m>>2]|0}g=g+-1|0;j=h+1|0;if((a[h>>0]|0)==3){if(!g){if(!(Eb[c[m+12>>2]&127](f)|0)){xa=0;Aa=350;break a}g=c[n>>2]|0;j=c[m>>2]|0}g=g+-1|0;h=j+1|0;k=c[Ka>>2]|0;if((c[k+88>>2]|0)==(d[j>>0]|0)){if(!g){if(!(Eb[c[m+12>>2]&127](f)|0)){xa=0;Aa=350;break a}g=c[n>>2]|0;h=c[m>>2]|0;l=c[Ka>>2]|0}else l=k;g=g+-1|0;j=h+1|0;if((c[l>>2]|0)==(d[h>>0]|0)){if(!g){if(!(Eb[c[m+12>>2]&127](f)|0)){xa=0;Aa=350;break a}g=c[n>>2]|0;k=c[m>>2]|0;h=c[Ka>>2]|0}else{k=j;h=l}g=g+-1|0;j=k+1|0;if((c[h+176>>2]|0)!=(d[k>>0]|0)){ca=g;da=j;Aa=335;break}if(!g){if(!(Eb[c[m+12>>2]&127](f)|0)){xa=0;Aa=350;break a}g=c[n>>2]|0;j=c[m>>2]|0}g=g+-1|0;h=j+1|0;if((a[j>>0]|0)!=-128){ca=g;da=h;Aa=335;break}if(!g){if(!(Eb[c[m+12>>2]&127](f)|0)){xa=0;Aa=350;break a}g=c[n>>2]|0;h=c[m>>2]|0}g=g+-1|0;j=h+1|0;k=d[h>>0]<<8;if(!g){if(!(Eb[c[m+12>>2]&127](f)|0)){xa=0;Aa=350;break a}g=c[n>>2]|0;j=c[m>>2]|0}g=g+-1|0;h=j+1|0;if(k|d[j>>0]|0){ca=g;da=h;Aa=335;break}if(!g){if(!(Eb[c[m+12>>2]&127](f)|0)){xa=0;Aa=350;break a}g=c[n>>2]|0;h=c[m>>2]|0}g=g+-1|0;j=h+1|0;k=d[h>>0]<<8;if(!g){if(!(Eb[c[m+12>>2]&127](f)|0)){xa=0;Aa=350;break a}g=c[n>>2]|0;j=c[m>>2]|0}g=g+-1|0;h=j+1|0;if(k|d[j>>0]|0){ca=g;da=h;Aa=335;break}if(!g){if(!(Eb[c[m+12>>2]&127](f)|0)){xa=0;Aa=350;break a}g=c[n>>2]|0;h=c[m>>2]|0}g=g+-1|0;j=h+1|0;if(a[h>>0]|0){ca=g;da=j;Aa=335;break}if(!g){if(!(Eb[c[m+12>>2]&127](f)|0)){xa=0;Aa=350;break a}g=c[n>>2]|0;h=c[m>>2]|0}else h=j;g=g+-1|0;j=h+1|0;k=d[h>>0]<<8;if(!g){if(!(Eb[c[m+12>>2]&127](f)|0)){xa=0;Aa=350;break a}g=c[n>>2]|0;j=c[m>>2]|0}g=g+-1|0;h=j+1|0;if((k|d[j>>0]|0)!=1){ca=g;da=h;Aa=335;break}if(!g){if(!(Eb[c[m+12>>2]&127](f)|0)){xa=0;Aa=350;break a}g=c[n>>2]|0;h=c[m>>2]|0}g=g+-1|0;j=h+1|0;k=d[h>>0]<<8;if(!g){if(!(Eb[c[m+12>>2]&127](f)|0)){xa=0;Aa=350;break a}g=c[n>>2]|0;j=c[m>>2]|0}g=g+-1|0;h=j+1|0;if(k|d[j>>0]|0){ca=g;da=h;Aa=335;break}if(!g){if(!(Eb[c[m+12>>2]&127](f)|0)){xa=0;Aa=350;break a}g=c[n>>2]|0;h=c[m>>2]|0}g=g+-1|0;j=h+1|0;if(a[h>>0]|0){ca=g;da=j;Aa=335;break}if(!g){if(!(Eb[c[m+12>>2]&127](f)|0)){xa=0;Aa=350;break a}g=c[n>>2]|0;h=c[m>>2]|0}else h=j;g=g+-1|0;j=h+1|0;k=d[h>>0]<<8;if(!g){if(!(Eb[c[m+12>>2]&127](f)|0)){xa=0;Aa=350;break a}g=c[n>>2]|0;j=c[m>>2]|0}g=g+-1|0;h=j+1|0;if((k|d[j>>0]|0)!=1){ca=g;da=h;Aa=335;break}if(!g){if(!(Eb[c[m+12>>2]&127](f)|0)){xa=0;Aa=350;break a}g=c[n>>2]|0;h=c[m>>2]|0}g=g+-1|0;j=h+1|0;k=d[h>>0]<<8;if(!g){if(!(Eb[c[m+12>>2]&127](f)|0)){xa=0;Aa=350;break a}g=c[n>>2]|0;j=c[m>>2]|0}g=g+-1|0;h=j+1|0;if(!(k|d[j>>0])){ea=g;fa=h}else{ca=g;da=h;Aa=335}}else{ca=g;da=j;Aa=335}}else{ca=g;da=h;Aa=335}}else{ca=g;da=j;Aa=335}}else{ca=g;da=h;Aa=335}}else{ca=g;da=h;Aa=335}while(0);if((Aa|0)==335){Aa=0;ea=c[f>>2]|0;c[ea+20>>2]=28;Qb[c[ea>>2]&255](f);ea=ca;fa=da}c[ra>>2]=1;c[m>>2]=fa;c[n>>2]=ea;break}case 239:case 238:case 237:case 236:case 235:case 234:case 233:case 232:case 231:case 230:case 229:case 228:case 227:case 226:case 225:case 224:{if(!(Eb[c[(c[Oa>>2]|0)+32+(g+-224<<2)>>2]&127](f)|0)){xa=0;Aa=350;break a}break}case 254:{if(!(Eb[c[(c[Oa>>2]|0)+28>>2]&127](f)|0)){xa=0;Aa=350;break a}break}case 1:case 215:case 214:case 213:case 212:case 211:case 210:case 209:case 208:{Qa=c[f>>2]|0;c[Qa+20>>2]=94;c[Qa+24>>2]=g;Sb[c[(c[f>>2]|0)+4>>2]&63](f,1);break}case 220:{k=c[oa>>2]|0;l=k+4|0;g=c[l>>2]|0;if(!g){if(!(Eb[c[k+12>>2]&127](f)|0)){xa=0;Aa=350;break a}g=c[l>>2]|0}h=c[k>>2]|0;g=g+-1|0;j=h+1|0;h=d[h>>0]<<8;if(!g){if(!(Eb[c[k+12>>2]&127](f)|0)){xa=0;Aa=350;break a}g=c[l>>2]|0;j=c[k>>2]|0}Qa=h|d[j>>0];h=Qa+-2|0;V=c[f>>2]|0;c[V+20>>2]=93;c[V+24>>2]=c[Na>>2];c[(c[f>>2]|0)+28>>2]=h;Sb[c[(c[f>>2]|0)+4>>2]&63](f,1);c[k>>2]=j+1;c[l>>2]=g+-1;if(Qa>>>0>2)Sb[c[(c[oa>>2]|0)+16>>2]&63](f,h);break}default:{Qa=c[f>>2]|0;c[Qa+20>>2]=70;c[Qa+24>>2]=g;Qb[c[c[f>>2]>>2]&255](f)}}while(0);c[Na>>2]=0;g=0}if((Aa|0)==25){q=c[oa>>2]|0;h=c[q>>2]|0;r=q+4|0;g=c[r>>2]|0;if(!(c[(c[Oa>>2]|0)+16>>2]|0)){Qa=c[f>>2]|0;c[Qa+20>>2]=60;Uz(Qa+24|0,46633,80)|0;Qb[c[c[f>>2]>>2]&255](f)}do if(!g)if(!(Eb[c[q+12>>2]&127](f)|0)){Qa=0;yb=Pa;return Qa|0}else{g=c[r>>2]|0;h=c[q>>2]|0;break}while(0);g=g+-1|0;j=h+1|0;k=d[h>>0]<<8;do if(!g)if(!(Eb[c[q+12>>2]&127](f)|0)){Qa=0;yb=Pa;return Qa|0}else{g=c[r>>2]|0;h=c[q>>2]|0;break}else h=j;while(0);g=g+-1|0;j=h+1|0;l=k|d[h>>0];do if(!g)if(!(Eb[c[q+12>>2]&127](f)|0)){Qa=0;yb=Pa;return Qa|0}else{h=c[r>>2]|0;k=c[q>>2]|0;break}else{h=g;k=j}while(0);m=a[k>>0]|0;p=m&255;Qa=c[f>>2]|0;c[Qa+20>>2]=105;c[Qa+24>>2]=p;Sb[c[(c[f>>2]|0)+4>>2]&63](f,1);do if(!((m&255)>4|(l|0)!=((p<<1)+6|0))){if(m<<24>>24){c[f+340>>2]=p;i=h+-1|0;ya=k+1|0;za=i;i=(i|0)==0;Aa=42;break}if(c[f+224>>2]|0){c[f+340>>2]=p;g=h+-1|0;if(!g){Ha=1;Aa=64}else{Fa=g;La=k+1|0;Ma=1}}else Aa=41}else Aa=41;while(0);if((Aa|0)==41){j=c[f>>2]|0;c[j+20>>2]=12;Qb[c[j>>2]&255](f);c[f+340>>2]=p;j=h+-1|0;g=k+1|0;h=(j|0)==0;if(!(m<<24>>24)){Da=j;Ea=g;Ga=h;Ia=1;Aa=63}else{ya=g;za=j;i=h;Aa=42}}e:do if((Aa|0)==42){n=q+12|0;o=f+344|0;m=0;g=ya;h=za;while(1){if(i){if(!(Eb[c[n>>2]&127](f)|0)){xa=0;Aa=350;break}h=c[r>>2]|0;g=c[q>>2]|0}l=h+-1|0;i=g+1|0;h=d[g>>0]|0;f:do if(m){g=0;while(1){if((c[c[f+344+(g<<2)>>2]>>2]|0)==(h|0))break;g=g+1|0;if(g>>>0>=m>>>0)break f}g=c[c[o>>2]>>2]|0;if(m>>>0>1){h=1;do{Qa=c[c[f+344+(h<<2)>>2]>>2]|0;g=(Qa|0)>(g|0)?Qa:g;h=h+1|0}while((h|0)!=(m|0))}h=g+1|0}while(0);g=c[Ka>>2]|0;k=c[Ja>>2]|0;g:do if((k|0)>0){j=0;while(1){if((h|0)==(c[g>>2]|0)){Ca=g;break g}j=j+1|0;g=g+88|0;if((j|0)>=(k|0)){Ba=g;Aa=58;break}}}else{Ba=g;Aa=58}while(0);if((Aa|0)==58){Aa=0;Ca=c[f>>2]|0;c[Ca+20>>2]=4;c[Ca+24>>2]=h;Qb[c[c[f>>2]>>2]&255](f);Ca=Ba}c[f+344+(m<<2)>>2]=Ca;if(!l){if(!(Eb[c[n>>2]&127](f)|0)){xa=0;Aa=350;break}g=c[r>>2]|0;i=c[q>>2]|0}else g=l;h=d[i>>0]|0;za=Ca+20|0;c[za>>2]=h>>>4;Qa=Ca+24|0;c[Qa>>2]=h&15;h=c[f>>2]|0;c[h+24>>2]=c[Ca>>2];c[h+28>>2]=c[za>>2];c[h+32>>2]=c[Qa>>2];c[h+20>>2]=106;Sb[c[h+4>>2]&63](f,1);m=m+1|0;h=g+-1|0;g=i+1|0;i=(h|0)==0;if(m>>>0>=p>>>0){Da=h;Ea=g;Ga=i;Ia=0;Aa=63;break e}}if((Aa|0)==350){yb=Pa;return xa|0}}while(0);if((Aa|0)==63)if(Ga){Ha=Ia;Aa=64}else{Fa=Da;La=Ea;Ma=Ia}do if((Aa|0)==64)if(!(Eb[c[q+12>>2]&127](f)|0)){Qa=0;yb=Pa;return Qa|0}else{Fa=c[r>>2]|0;La=c[q>>2]|0;Ma=Ha;break}while(0);g=Fa+-1|0;h=La+1|0;k=f+412|0;c[k>>2]=d[La>>0];do if(!g)if(!(Eb[c[q+12>>2]&127](f)|0)){Qa=0;yb=Pa;return Qa|0}else{g=c[r>>2]|0;i=c[q>>2]|0;break}else i=h;while(0);h=g+-1|0;g=i+1|0;j=f+416|0;c[j>>2]=d[i>>0];do if(!h)if(!(Eb[c[q+12>>2]&127](f)|0)){Qa=0;yb=Pa;return Qa|0}else{h=c[r>>2]|0;g=c[q>>2]|0;break}while(0);Qa=d[g>>0]|0;Ka=f+420|0;c[Ka>>2]=Qa>>>4;La=f+424|0;c[La>>2]=Qa&15;Qa=c[f>>2]|0;c[Qa+24>>2]=c[k>>2];c[Qa+28>>2]=c[j>>2];c[Qa+32>>2]=c[Ka>>2];c[Qa+36>>2]=c[La>>2];c[Qa+20>>2]=107;Sb[c[Qa+4>>2]&63](f,1);c[(c[Oa>>2]|0)+20>>2]=0;if(!Ma){Qa=f+144|0;c[Qa>>2]=(c[Qa>>2]|0)+1}c[q>>2]=g+1;c[r>>2]=h+-1;c[Na>>2]=0;Qa=1;yb=Pa;return Qa|0}else if((Aa|0)==75){Qa=c[f>>2]|0;c[Qa+20>>2]=87;Sb[c[Qa+4>>2]&63](f,1);c[Na>>2]=0;Qa=2;yb=Pa;return Qa|0}else if((Aa|0)==174){Qa=0;yb=Pa;return Qa|0}else if((Aa|0)==350){yb=Pa;return xa|0}return 0}function sw(a){a=a|0;var b=0,d=0,e=0,f=0;f=a+440|0;b=c[f>>2]|0;do if(!b)if(!(ow(a)|0)){f=0;return f|0}else{b=c[f>>2]|0;break}while(0);d=a+464|0;e=c[(c[d>>2]|0)+20>>2]|0;if((b|0)!=(e+208|0)){if(!(Gb[c[(c[a+24>>2]|0)+20>>2]&63](a,e)|0)){f=0;return f|0}}else{b=c[a>>2]|0;c[b+20>>2]=100;c[b+24>>2]=e;Sb[c[(c[a>>2]|0)+4>>2]&63](a,3);c[f>>2]=0}f=(c[d>>2]|0)+20|0;c[f>>2]=(c[f>>2]|0)+1&7;f=1;return f|0}function tw(a){a=a|0;var b=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;g=a+24|0;h=c[g>>2]|0;i=h+4|0;b=c[i>>2]|0;do if(!b)if(!(Eb[c[h+12>>2]&127](a)|0)){i=0;return i|0}else{b=c[i>>2]|0;break}while(0);e=c[h>>2]|0;b=b+-1|0;f=e+1|0;e=(d[e>>0]|0)<<8;do if(!b)if(!(Eb[c[h+12>>2]&127](a)|0)){i=0;return i|0}else{b=c[i>>2]|0;f=c[h>>2]|0;break}while(0);j=e|(d[f>>0]|0);e=j+-2|0;k=c[a>>2]|0;c[k+20>>2]=93;c[k+24>>2]=c[a+440>>2];c[(c[a>>2]|0)+28>>2]=e;Sb[c[(c[a>>2]|0)+4>>2]&63](a,1);c[h>>2]=f+1;c[i>>2]=b+-1;if(j>>>0<=2){k=1;return k|0}Sb[c[(c[g>>2]|0)+16>>2]&63](a,e);k=1;return k|0}function uw(b){b=b|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;p=yb;yb=yb+16|0;l=p;m=b+24|0;n=c[m>>2]|0;o=n+4|0;e=c[o>>2]|0;do if(!e)if(!(Eb[c[n+12>>2]&127](b)|0)){o=0;yb=p;return o|0}else{e=c[o>>2]|0;break}while(0);g=c[n>>2]|0;e=e+-1|0;f=g+1|0;g=d[g>>0]<<8;do if(!e)if(!(Eb[c[n+12>>2]&127](b)|0)){o=0;yb=p;return o|0}else{e=c[o>>2]|0;f=c[n>>2]|0;break}while(0);j=g|d[f>>0];k=j+-2|0;j=j>>>0>15?14:j>>>0>2?k:0;g=e+-1|0;e=f+1|0;a:do if(!j)f=g;else{i=n+12|0;h=0;f=g;while(1){if(!f){if(!(Eb[c[i>>2]&127](b)|0)){e=0;break}f=c[o>>2]|0;e=c[n>>2]|0}a[l+h>>0]=a[e>>0]|0;h=h+1|0;f=f+-1|0;e=e+1|0;if(h>>>0>=j>>>0)break a}yb=p;return e|0}while(0);g=k-j|0;h=c[b+440>>2]|0;b:do switch(h|0){case 224:{vw(b,l,j,g);break}case 238:{if((((j>>>0>11&(a[l>>0]|0)==65?(a[l+1>>0]|0)==100:0)?(a[l+2>>0]|0)==111:0)?(a[l+3>>0]|0)==98:0)?(a[l+4>>0]|0)==101:0){h=d[l+7>>0]<<8|d[l+8>>0];i=d[l+9>>0]<<8|d[l+10>>0];k=a[l+11>>0]|0;j=c[b>>2]|0;c[j+24>>2]=d[l+5>>0]<<8|d[l+6>>0];c[j+28>>2]=h;c[j+32>>2]=i;c[j+36>>2]=k&255;c[j+20>>2]=78;Sb[c[j+4>>2]&63](b,1);c[b+296>>2]=1;a[b+300>>0]=k;break b}l=c[b>>2]|0;c[l+20>>2]=80;c[l+24>>2]=k;Sb[c[(c[b>>2]|0)+4>>2]&63](b,1);break}default:{l=c[b>>2]|0;c[l+20>>2]=70;c[l+24>>2]=h;Qb[c[c[b>>2]>>2]&255](b)}}while(0);c[n>>2]=e;c[o>>2]=f;if((g|0)<=0){o=1;yb=p;return o|0}Sb[c[(c[m>>2]|0)+16>>2]&63](b,g);o=1;yb=p;return o|0}function vw(e,f,g,h){e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;r=h+g|0;if(g>>>0>13){if((a[f>>0]|0)==74)if((((a[f+1>>0]|0)==70?(a[f+2>>0]|0)==73:0)?(a[f+3>>0]|0)==70:0)?(a[f+4>>0]|0)==0:0){c[e+284>>2]=1;j=a[f+5>>0]|0;k=e+288|0;a[k>>0]=j;l=a[f+6>>0]|0;m=e+289|0;a[m>>0]=l;h=a[f+7>>0]|0;p=e+290|0;a[p>>0]=h;i=(d[f+8>>0]<<8|d[f+9>>0])&65535;n=e+292|0;b[n>>1]=i;g=(d[f+10>>0]<<8|d[f+11>>0])&65535;o=e+294|0;b[o>>1]=g;if((j+-1&255)<2)q=e;else{q=c[e>>2]|0;c[q+20>>2]=122;c[q+24>>2]=j&255;c[(c[e>>2]|0)+28>>2]=d[m>>0];Sb[c[(c[e>>2]|0)+4>>2]&63](e,-1);q=e;j=a[k>>0]|0;l=a[m>>0]|0;i=b[n>>1]|0;g=b[o>>1]|0;h=a[p>>0]|0}p=c[e>>2]|0;c[p+24>>2]=j&255;c[p+28>>2]=l&255;c[p+32>>2]=i&65535;c[p+36>>2]=g&65535;c[p+40>>2]=h&255;c[p+20>>2]=89;Sb[c[p+4>>2]&63](q,1);h=f+12|0;i=a[h>>0]|0;j=f+13|0;g=a[j>>0]|0;if((g|i)<<24>>24){i=c[e>>2]|0;c[i+20>>2]=92;c[i+24>>2]=d[h>>0];c[(c[e>>2]|0)+28>>2]=d[j>>0];Sb[c[(c[e>>2]|0)+4>>2]&63](q,1);i=a[h>>0]|0;g=a[j>>0]|0}h=r+-14|0;if((h|0)==(B((i&255)*3|0,g&255)|0))return;r=c[e>>2]|0;c[r+20>>2]=90;c[r+24>>2]=h;Sb[c[(c[e>>2]|0)+4>>2]&63](q,1);return}else i=16}else if(g>>>0>5?(a[f>>0]|0)==74:0)i=16;if(((((i|0)==16?(a[f+1>>0]|0)==70:0)?(a[f+2>>0]|0)==88:0)?(a[f+3>>0]|0)==88:0)?(a[f+4>>0]|0)==0:0){h=f+5|0;switch(a[h>>0]|0){case 16:{q=c[e>>2]|0;c[q+20>>2]=110;c[q+24>>2]=r;Sb[c[(c[e>>2]|0)+4>>2]&63](e,1);return}case 17:{q=c[e>>2]|0;c[q+20>>2]=111;c[q+24>>2]=r;Sb[c[(c[e>>2]|0)+4>>2]&63](e,1);return}case 19:{q=c[e>>2]|0;c[q+20>>2]=112;c[q+24>>2]=r;Sb[c[(c[e>>2]|0)+4>>2]&63](e,1);return}default:{q=c[e>>2]|0;c[q+20>>2]=91;c[q+24>>2]=d[h>>0];c[(c[e>>2]|0)+28>>2]=r;Sb[c[(c[e>>2]|0)+4>>2]&63](e,1);return}}}q=c[e>>2]|0;c[q+20>>2]=79;c[q+24>>2]=r;Sb[c[(c[e>>2]|0)+4>>2]&63](e,1);return}function ww(a,b,e,f){a=a|0;b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;o=c[a+24>>2]|0;h=c[o>>2]|0;p=o+4|0;g=c[p>>2]|0;c[a+220>>2]=b;c[a+224>>2]=e;c[a+228>>2]=f;do if(!g)if(!(Eb[c[o+12>>2]&127](a)|0)){p=0;return p|0}else{g=c[p>>2]|0;h=c[o>>2]|0;break}while(0);g=g+-1|0;b=h+1|0;e=(d[h>>0]|0)<<8;do if(!g)if(!(Eb[c[o+12>>2]&127](a)|0)){p=0;return p|0}else{g=c[p>>2]|0;h=c[o>>2]|0;break}else h=b;while(0);g=g+-1|0;b=h+1|0;j=e|(d[h>>0]|0);do if(!g)if(!(Eb[c[o+12>>2]&127](a)|0)){p=0;return p|0}else{g=c[p>>2]|0;h=c[o>>2]|0;break}else h=b;while(0);g=g+-1|0;b=h+1|0;c[a+212>>2]=d[h>>0];do if(!g)if(!(Eb[c[o+12>>2]&127](a)|0)){p=0;return p|0}else{g=c[p>>2]|0;h=c[o>>2]|0;break}else h=b;while(0);g=g+-1|0;b=h+1|0;h=(d[h>>0]|0)<<8;i=a+32|0;c[i>>2]=h;do if(!g)if(!(Eb[c[o+12>>2]&127](a)|0)){p=0;return p|0}else{g=c[p>>2]|0;b=c[o>>2]|0;e=c[i>>2]|0;break}else e=h;while(0);g=g+-1|0;h=b+1|0;c[i>>2]=e+(d[b>>0]|0);do if(!g)if(!(Eb[c[o+12>>2]&127](a)|0)){p=0;return p|0}else{g=c[p>>2]|0;h=c[o>>2]|0;break}while(0);g=g+-1|0;b=h+1|0;h=(d[h>>0]|0)<<8;f=a+28|0;c[f>>2]=h;do if(!g)if(!(Eb[c[o+12>>2]&127](a)|0)){p=0;return p|0}else{g=c[p>>2]|0;b=c[o>>2]|0;h=c[f>>2]|0;break}while(0);g=g+-1|0;e=b+1|0;c[f>>2]=h+(d[b>>0]|0);do if(!g)if(!(Eb[c[o+12>>2]&127](a)|0)){p=0;return p|0}else{b=c[p>>2]|0;e=c[o>>2]|0;break}else b=g;while(0);m=a+36|0;c[m>>2]=d[e>>0];h=j+-8|0;n=c[a>>2]|0;c[n+24>>2]=c[a+440>>2];c[n+28>>2]=c[f>>2];c[n+32>>2]=c[i>>2];c[n+36>>2]=c[m>>2];c[n+20>>2]=102;Sb[c[n+4>>2]&63](a,1);n=a+464|0;if(c[(c[n>>2]|0)+16>>2]|0){l=c[a>>2]|0;c[l+20>>2]=61;Qb[c[l>>2]&255](a)}if(((c[i>>2]|0)!=0?(c[f>>2]|0)!=0:0)?(k=c[m>>2]|0,(k|0)>=1):0)g=k;else{g=c[a>>2]|0;c[g+20>>2]=33;Qb[c[g>>2]&255](a);g=c[m>>2]|0}if((h|0)!=(g*3|0)){l=c[a>>2]|0;c[l+20>>2]=12;Qb[c[l>>2]&255](a)}l=a+216|0;if(!(c[l>>2]|0))c[l>>2]=Hb[c[c[a+4>>2]>>2]&63](a,1,(c[m>>2]|0)*88|0)|0;b=b+-1|0;g=e+1|0;a:do if((c[m>>2]|0)>0){k=o+12|0;j=0;while(1){if(!b){if(!(Eb[c[k>>2]&127](a)|0)){g=0;h=57;break}b=c[p>>2]|0;g=c[o>>2]|0}f=b+-1|0;h=g+1|0;e=d[g>>0]|0;i=c[l>>2]|0;b:do if(!j)b=e;else{g=i;b=0;while(1){if((c[g>>2]|0)==(e|0))break;b=b+1|0;g=g+88|0;if(b>>>0>=j>>>0){b=e;i=g;break b}}b=c[i>>2]|0;g=i+88|0;if(j>>>0>1){e=1;while(1){q=c[g>>2]|0;b=(q|0)>(b|0)?q:b;e=e+1|0;if((e|0)==(j|0))break;else g=g+88|0}g=i+(j*88|0)|0}b=b+1|0;i=g}while(0);c[i>>2]=b;c[i+4>>2]=j;if(!f){if(!(Eb[c[k>>2]&127](a)|0)){g=0;h=57;break}g=c[p>>2]|0;h=c[o>>2]|0}else g=f;g=g+-1|0;b=h+1|0;q=d[h>>0]|0;e=i+8|0;c[e>>2]=q>>>4;f=i+12|0;c[f>>2]=q&15;if(!g){if(!(Eb[c[k>>2]&127](a)|0)){g=0;h=57;break}g=c[p>>2]|0;h=c[o>>2]|0}else h=b;q=i+16|0;c[q>>2]=d[h>>0];b=c[a>>2]|0;c[b+24>>2]=c[i>>2];c[b+28>>2]=c[e>>2];c[b+32>>2]=c[f>>2];c[b+36>>2]=c[q>>2];c[b+20>>2]=103;Sb[c[b+4>>2]&63](a,1);j=j+1|0;b=g+-1|0;g=h+1|0;if((j|0)>=(c[m>>2]|0))break a}if((h|0)==57)return g|0}while(0);c[(c[n>>2]|0)+16>>2]=1;c[o>>2]=g;c[p>>2]=b;q=1;return q|0}function xw(a){a=a|0;a=Hb[c[c[a+4>>2]>>2]&63](a,0,132)|0;c[a+128>>2]=0;return a|0}function yw(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;k=yb;yb=yb+16|0;j=k;g=k+8|0;h=k+12|0;d=b+4|0;c[d>>2]=0;e=zw(b)|0;c[g>>2]=e;f=Aw(b,84)|0;if(!f){Bw(b);i=c[b>>2]|0;c[i+20>>2]=56;c[i+24>>2]=0;Qb[c[c[b>>2]>>2]&255](b)}c[f>>2]=33;c[f+4>>2]=34;c[f+8>>2]=9;c[f+12>>2]=10;c[f+16>>2]=39;c[f+20>>2]=40;c[f+24>>2]=135;c[f+28>>2]=21;c[f+32>>2]=22;c[f+36>>2]=52;c[f+40>>2]=136;c[f+48>>2]=1e9;i=f+44|0;c[i>>2]=e;c[f+56>>2]=0;c[f+64>>2]=0;c[f+52>>2]=0;c[f+60>>2]=0;c[f+68>>2]=0;c[f+72>>2]=0;c[f+76>>2]=84;c[d>>2]=f;b=Ja(46641)|0;if(!b){yb=k;return}a[h>>0]=120;c[j>>2]=g;c[j+4>>2]=h;if((Az(b,46649,j)|0)>0){switch(a[h>>0]|0){case 77:case 109:{b=(c[g>>2]|0)*1e3|0;c[g>>2]=b;break}default:b=c[g>>2]|0}c[i>>2]=b*1e3}yb=k;return}function zw(a){a=a|0;return 0}function Aw(a,b){a=a|0;b=b|0;return DO(b)|0}function Bw(a){a=a|0;return}function Cw(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;k=c[a+4>>2]|0;if(d>>>0>999999984){j=c[a>>2]|0;c[j+20>>2]=56;c[j+24>>2]=1;Qb[c[c[a>>2]>>2]&255](a)}j=d&7;j=((j|0)==0?0:8-j|0)+d|0;if(b>>>0>1){i=c[a>>2]|0;c[i+20>>2]=15;c[i+24>>2]=b;Qb[c[c[a>>2]>>2]&255](a)}i=k+52+(b<<2)|0;d=c[i>>2]|0;a:do if(!d){d=0;f=9}else while(1){if((c[d+8>>2]|0)>>>0>=j>>>0)break a;e=c[d>>2]|0;if(!e){f=9;break}else d=e}while(0);do if((f|0)==9){h=(d|0)==0;b=c[(h?15936:15944)+(b<<2)>>2]|0;e=999999984-j|0;b=b>>>0>e>>>0?e:b;e=b+j|0;g=e+16|0;f=Aw(a,g)|0;if(!f){do{if(b>>>0<100){g=c[a>>2]|0;c[g+20>>2]=56;c[g+24>>2]=2;Qb[c[c[a>>2]>>2]&255](a)}b=b>>>1;e=b+j|0;g=e+16|0;f=Aw(a,g)|0}while(!(f|0));b=g}else b=g;k=k+76|0;c[k>>2]=(c[k>>2]|0)+b;c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=e;if(h){c[i>>2]=f;d=f;break}else{c[d>>2]=f;d=f;break}}while(0);i=d+4|0;k=c[i>>2]|0;c[i>>2]=k+j;i=d+8|0;c[i>>2]=(c[i>>2]|0)-j;return d+16+k|0}function Dw(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;g=c[a+4>>2]|0;if(d>>>0>999999984){f=c[a>>2]|0;c[f+20>>2]=56;c[f+24>>2]=3;Qb[c[c[a>>2]>>2]&255](a)}f=d&7;d=((f|0)==0?0:8-f|0)+d|0;if(b>>>0>1){f=c[a>>2]|0;c[f+20>>2]=15;c[f+24>>2]=b;Qb[c[c[a>>2]>>2]&255](a)}e=d+16|0;f=Rw(a,e)|0;if(!f){h=c[a>>2]|0;c[h+20>>2]=56;c[h+24>>2]=4;Qb[c[c[a>>2]>>2]&255](a)}h=g+76|0;c[h>>2]=(c[h>>2]|0)+e;h=g+60+(b<<2)|0;c[f>>2]=c[h>>2];c[f+4>>2]=d;c[f+8>>2]=0;c[h>>2]=f;return f+16|0}function Ew(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;g=c[a+4>>2]|0;f=999999984/(d>>>0)|0;if(d>>>0>999999984){m=c[a>>2]|0;c[m+20>>2]=72;Qb[c[m>>2]&255](a)}h=(f|0)<(e|0)?f:e;c[g+80>>2]=h;l=Cw(a,b,e<<2)|0;if(!e)return l|0;m=~e;f=0;do{i=e-f|0;g=h;h=h>>>0>>0?h:i;i=Dw(a,b,B(h,d)|0)|0;if(h){j=f+m|0;k=~g;k=j>>>0>k>>>0?j:k;j=h;g=i;i=f;while(1){c[l+(i<<2)>>2]=g;j=j+-1|0;if(!j)break;else{g=g+d|0;i=i+1|0}}f=f+-1-k|0}}while(f>>>0>>0);return l|0}function Fw(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;g=c[a+4>>2]|0;n=d<<7;f=999999984/(n>>>0)|0;if(n>>>0>999999984){m=c[a>>2]|0;c[m+20>>2]=72;Qb[c[m>>2]&255](a)}h=(f|0)<(e|0)?f:e;c[g+80>>2]=h;l=Cw(a,b,e<<2)|0;if(!e)return l|0;m=~e;f=0;do{i=e-f|0;g=h;h=h>>>0>>0?h:i;i=Dw(a,b,B(n,h)|0)|0;if(h){j=f+m|0;k=~g;k=j>>>0>k>>>0?j:k;j=h;g=i;i=f;while(1){c[l+(i<<2)>>2]=g;j=j+-1|0;if(!j)break;else{g=g+(d<<7)|0;i=i+1|0}}f=f+-1-k|0}}while(f>>>0>>0);return l|0}function Gw(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0;h=c[a+4>>2]|0;if((b|0)==1)b=1;else{i=c[a>>2]|0;c[i+20>>2]=15;c[i+24>>2]=b;Qb[c[c[a>>2]>>2]&255](a)}i=Cw(a,b,128)|0;c[i>>2]=0;c[i+4>>2]=f;c[i+8>>2]=e;c[i+12>>2]=g;c[i+32>>2]=d;c[i+40>>2]=0;h=h+68|0;c[i+44>>2]=c[h>>2];c[h>>2]=i;return i|0}function Hw(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0;h=c[a+4>>2]|0;if((b|0)==1)b=1;else{i=c[a>>2]|0;c[i+20>>2]=15;c[i+24>>2]=b;Qb[c[c[a>>2]>>2]&255](a)}i=Cw(a,b,128)|0;c[i>>2]=0;c[i+4>>2]=f;c[i+8>>2]=e;c[i+12>>2]=g;c[i+32>>2]=d;c[i+40>>2]=0;h=h+72|0;c[i+44>>2]=c[h>>2];c[h>>2]=i;return i|0}function Iw(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;u=a+4|0;s=c[u>>2]|0;f=s+68|0;b=c[f>>2]|0;if(!b){d=0;e=0}else{d=0;e=0;do{if(!(c[b>>2]|0)){t=c[b+8>>2]|0;d=(B(t,c[b+12>>2]|0)|0)+d|0;e=(B(c[b+4>>2]|0,t)|0)+e|0}b=c[b+44>>2]|0}while((b|0)!=0)}r=s+72|0;b=c[r>>2]|0;if(!b)b=e;else{do{if(!(c[b>>2]|0)){t=c[b+8>>2]|0;d=(B(c[b+12>>2]<<7,t)|0)+d|0;e=(B(t<<7,c[b+4>>2]|0)|0)+e|0}b=c[b+44>>2]|0}while((b|0)!=0);b=e}if((d|0)<1)return;e=Pw(a,d,b,c[s+76>>2]|0)|0;if((e|0)<(b|0)){t=(e|0)/(d|0)|0;t=(t|0)>1?t:1}else t=1e9;b=c[f>>2]|0;if(b|0){q=s+80|0;do{if(!(c[b>>2]|0)){e=c[b+4>>2]|0;d=c[b+12>>2]|0;if(((((e+-1|0)>>>0)/(d>>>0)|0)+1|0)>(t|0)){p=b+16|0;c[p>>2]=B(d,t)|0;d=b+8|0;Qw(a,b+48|0,B(c[d>>2]|0,e)|0);c[b+40>>2]=1;e=c[p>>2]|0}else{c[b+16>>2]=e;d=b+8|0}p=c[d>>2]|0;f=c[u>>2]|0;d=999999984/(p>>>0)|0;if(p>>>0>999999984){o=c[a>>2]|0;c[o+20>>2]=72;Qb[c[o>>2]&255](a)}g=(d|0)<(e|0)?d:e;c[f+80>>2]=g;n=Cw(a,1,e<<2)|0;if(e|0){o=~e;d=0;do{f=e-d|0;j=g;g=g>>>0>>0?g:f;f=B(g,p)|0;i=c[u>>2]|0;if(f>>>0>999999984){m=c[a>>2]|0;c[m+20>>2]=56;c[m+24>>2]=3;Qb[c[c[a>>2]>>2]&255](a)}h=f&7;f=((h|0)==0?0:8-h|0)+f|0;h=f+16|0;m=Rw(a,h)|0;if(!m){l=c[a>>2]|0;c[l+20>>2]=56;c[l+24>>2]=4;Qb[c[c[a>>2]>>2]&255](a)}l=i+76|0;c[l>>2]=(c[l>>2]|0)+h;l=i+64|0;c[m>>2]=c[l>>2];c[m+4>>2]=f;c[m+8>>2]=0;c[l>>2]=m;if(g){l=d+o|0;j=~j;k=l>>>0>j>>>0;i=g;f=m+16|0;h=d;while(1){c[n+(h<<2)>>2]=f;i=i+-1|0;if(!i)break;else{f=f+p|0;h=h+1|0}}d=d+-1-(k?l:j)|0}}while(d>>>0>>0)}c[b>>2]=n;c[b+20>>2]=c[q>>2];c[b+24>>2]=0;c[b+28>>2]=0;c[b+36>>2]=0}b=c[b+44>>2]|0}while((b|0)!=0)}b=c[r>>2]|0;if(!b)return;r=s+80|0;do{if(!(c[b>>2]|0)){e=c[b+4>>2]|0;d=c[b+12>>2]|0;if(((((e+-1|0)>>>0)/(d>>>0)|0)+1|0)>(t|0)){s=b+16|0;c[s>>2]=B(d,t)|0;d=b+8|0;Qw(a,b+48|0,B(e<<7,c[d>>2]|0)|0);c[b+40>>2]=1;e=c[s>>2]|0}else{c[b+16>>2]=e;d=b+8|0}p=c[d>>2]|0;f=c[u>>2]|0;q=p<<7;d=999999984/(q>>>0)|0;if(q>>>0>999999984){s=c[a>>2]|0;c[s+20>>2]=72;Qb[c[s>>2]&255](a)}g=(d|0)<(e|0)?d:e;c[f+80>>2]=g;n=Cw(a,1,e<<2)|0;if(e|0){o=~e;d=0;do{f=e-d|0;j=g;g=g>>>0>>0?g:f;f=B(g,q)|0;h=c[u>>2]|0;if(f>>>0>999999984){s=c[a>>2]|0;c[s+20>>2]=56;c[s+24>>2]=3;Qb[c[c[a>>2]>>2]&255](a)}i=f|16;m=Rw(a,i)|0;if(!m){s=c[a>>2]|0;c[s+20>>2]=56;c[s+24>>2]=4;Qb[c[c[a>>2]>>2]&255](a)}s=h+76|0;c[s>>2]=(c[s>>2]|0)+i;s=h+64|0;c[m>>2]=c[s>>2];c[m+4>>2]=f;c[m+8>>2]=0;c[s>>2]=m;if(g){l=d+o|0;j=~j;k=l>>>0>j>>>0;i=g;f=m+16|0;h=d;while(1){c[n+(h<<2)>>2]=f;i=i+-1|0;if(!i)break;else{f=f+(p<<7)|0;h=h+1|0}}d=d+-1-(k?l:j)|0}}while(d>>>0>>0)}c[b>>2]=n;c[b+20>>2]=c[r>>2];c[b+24>>2]=0;c[b+28>>2]=0;c[b+36>>2]=0}b=c[b+44>>2]|0}while((b|0)!=0);return}function Jw(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;w=e+d|0;s=b+4|0;if(!((w>>>0<=(c[s>>2]|0)>>>0?(c[b+12>>2]|0)>>>0>=e>>>0:0)?(c[b>>2]|0)!=0:0)){x=c[a>>2]|0;c[x+20>>2]=23;Qb[c[x>>2]&255](a)}x=b+24|0;n=c[x>>2]|0;if(!(n>>>0<=d>>>0?w>>>0<=((c[b+16>>2]|0)+n|0)>>>0:0))v=7;a:do if((v|0)==7){if(!(c[b+40>>2]|0)){n=c[a>>2]|0;c[n+20>>2]=71;Qb[c[n>>2]&255](a)}k=b+36|0;if(c[k>>2]|0){l=c[b+8>>2]|0;e=c[x>>2]|0;m=b+20|0;n=b+16|0;g=c[n>>2]|0;b:do if((g|0)>0?(o=b+28|0,p=b+48|0,q=b+52|0,h=c[m>>2]|0,h=(h|0)<(g|0)?h:g,j=(c[o>>2]|0)-e|0,j=(h|0)<(j|0)?h:j,h=(c[s>>2]|0)-e|0,h=(j|0)<(h|0)?j:h,(h|0)>=1):0){i=B(e,l)|0;j=0;e=h;while(1){h=B(e,l)|0;Wb[c[q>>2]&63](a,p,c[(c[b>>2]|0)+(j<<2)>>2]|0,i,h);e=c[m>>2]|0;j=e+j|0;g=c[n>>2]|0;if((g|0)<=(j|0))break b;y=g-j|0;y=(e|0)<(y|0)?e:y;e=j+(c[x>>2]|0)|0;g=(c[o>>2]|0)-e|0;g=(y|0)<(g|0)?y:g;e=(c[s>>2]|0)-e|0;e=(g|0)<(e|0)?g:e;if((e|0)<1)break;else i=h+i|0}}while(0);c[k>>2]=0}k=b+16|0;e=c[k>>2]|0;if((c[x>>2]|0)>>>0>>0)g=d;else{g=w-e|0;g=(g|0)>0?g:0}c[x>>2]=g;l=c[b+8>>2]|0;m=b+20|0;if((e|0)>0?(t=b+28|0,u=b+48|0,r=c[m>>2]|0,r=(r|0)<(e|0)?r:e,y=(c[t>>2]|0)-g|0,y=(r|0)<(y|0)?r:y,r=(c[s>>2]|0)-g|0,r=(y|0)<(r|0)?y:r,(r|0)>=1):0){i=B(l,g)|0;j=0;e=r;while(1){h=B(e,l)|0;Wb[c[u>>2]&63](a,u,c[(c[b>>2]|0)+(j<<2)>>2]|0,i,h);g=c[m>>2]|0;j=g+j|0;e=c[k>>2]|0;if((e|0)<=(j|0))break a;r=e-j|0;r=(g|0)<(r|0)?g:r;e=j+(c[x>>2]|0)|0;y=(c[t>>2]|0)-e|0;y=(r|0)<(y|0)?r:y;e=(c[s>>2]|0)-e|0;e=(y|0)<(e|0)?y:e;if((e|0)<1)break;else i=h+i|0}}}while(0);h=b+28|0;e=c[h>>2]|0;do if(e>>>0>>0){g=(f|0)==0;if(e>>>0>>0)if(g){e=d;g=0}else{e=c[a>>2]|0;c[e+20>>2]=23;Qb[c[e>>2]&255](a);e=d;v=28}else if(g)g=0;else v=28;if((v|0)==28){c[h>>2]=w;g=1}if(!(c[b+32>>2]|0)){if(g)break;y=c[a>>2]|0;c[y+20>>2]=23;Qb[c[y>>2]&255](a);break}h=c[b+8>>2]|0;g=c[x>>2]|0;e=e-g|0;g=w-g|0;if(e>>>0>>0)do{_O(c[(c[b>>2]|0)+(e<<2)>>2]|0,0,h|0)|0;e=e+1|0}while((e|0)!=(g|0))}while(0);if(!f){f=c[b>>2]|0;y=c[x>>2]|0;y=d-y|0;y=f+(y<<2)|0;return y|0}c[b+36>>2]=1;f=c[b>>2]|0;y=c[x>>2]|0;y=d-y|0;y=f+(y<<2)|0;return y|0}function Kw(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;w=e+d|0;s=b+4|0;if(!((w>>>0<=(c[s>>2]|0)>>>0?(c[b+12>>2]|0)>>>0>=e>>>0:0)?(c[b>>2]|0)!=0:0)){x=c[a>>2]|0;c[x+20>>2]=23;Qb[c[x>>2]&255](a)}x=b+24|0;n=c[x>>2]|0;if(!(n>>>0<=d>>>0?w>>>0<=((c[b+16>>2]|0)+n|0)>>>0:0))v=7;a:do if((v|0)==7){if(!(c[b+40>>2]|0)){n=c[a>>2]|0;c[n+20>>2]=71;Qb[c[n>>2]&255](a)}k=b+36|0;if(c[k>>2]|0){l=c[b+8>>2]<<7;e=c[x>>2]|0;m=b+20|0;n=b+16|0;g=c[n>>2]|0;b:do if((g|0)>0?(o=b+28|0,p=b+48|0,q=b+52|0,h=c[m>>2]|0,h=(h|0)<(g|0)?h:g,j=(c[o>>2]|0)-e|0,j=(h|0)<(j|0)?h:j,h=(c[s>>2]|0)-e|0,h=(j|0)<(h|0)?j:h,(h|0)>=1):0){i=B(e,l)|0;j=0;e=h;while(1){h=B(e,l)|0;Wb[c[q>>2]&63](a,p,c[(c[b>>2]|0)+(j<<2)>>2]|0,i,h);e=c[m>>2]|0;j=e+j|0;g=c[n>>2]|0;if((g|0)<=(j|0))break b;y=g-j|0;y=(e|0)<(y|0)?e:y;e=j+(c[x>>2]|0)|0;g=(c[o>>2]|0)-e|0;g=(y|0)<(g|0)?y:g;e=(c[s>>2]|0)-e|0;e=(g|0)<(e|0)?g:e;if((e|0)<1)break;else i=h+i|0}}while(0);c[k>>2]=0}k=b+16|0;e=c[k>>2]|0;if((c[x>>2]|0)>>>0>>0)g=d;else{g=w-e|0;g=(g|0)>0?g:0}c[x>>2]=g;l=c[b+8>>2]<<7;m=b+20|0;if((e|0)>0?(t=b+28|0,u=b+48|0,r=c[m>>2]|0,r=(r|0)<(e|0)?r:e,y=(c[t>>2]|0)-g|0,y=(r|0)<(y|0)?r:y,r=(c[s>>2]|0)-g|0,r=(y|0)<(r|0)?y:r,(r|0)>=1):0){i=B(l,g)|0;j=0;e=r;while(1){h=B(e,l)|0;Wb[c[u>>2]&63](a,u,c[(c[b>>2]|0)+(j<<2)>>2]|0,i,h);e=c[m>>2]|0;j=e+j|0;g=c[k>>2]|0;if((g|0)<=(j|0))break a;r=g-j|0;r=(e|0)<(r|0)?e:r;e=j+(c[x>>2]|0)|0;y=(c[t>>2]|0)-e|0;y=(r|0)<(y|0)?r:y;e=(c[s>>2]|0)-e|0;e=(y|0)<(e|0)?y:e;if((e|0)<1)break;else i=h+i|0}}}while(0);h=b+28|0;e=c[h>>2]|0;do if(e>>>0>>0){g=(f|0)==0;if(e>>>0>>0)if(g){e=d;g=0}else{e=c[a>>2]|0;c[e+20>>2]=23;Qb[c[e>>2]&255](a);e=d;v=28}else if(g)g=0;else v=28;if((v|0)==28){c[h>>2]=w;g=1}if(!(c[b+32>>2]|0)){if(g)break;y=c[a>>2]|0;c[y+20>>2]=23;Qb[c[y>>2]&255](a);break}h=c[b+8>>2]<<7;g=c[x>>2]|0;e=e-g|0;g=w-g|0;if(e>>>0>>0)do{_O(c[(c[b>>2]|0)+(e<<2)>>2]|0,0,h|0)|0;e=e+1|0}while((e|0)!=(g|0))}while(0);if(!f){f=c[b>>2]|0;y=c[x>>2]|0;y=d-y|0;y=f+(y<<2)|0;return y|0}c[b+36>>2]=1;f=c[b>>2]|0;y=c[x>>2]|0;y=d-y|0;y=f+(y<<2)|0;return y|0}function Lw(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;g=c[a+4>>2]|0;if(b>>>0<=1){if((b|0)==1){f=g+68|0;d=c[f>>2]|0;if(d|0)do{e=d+40|0;if(c[e>>2]|0){c[e>>2]=0;Sb[c[d+56>>2]&63](a,d+48|0)}d=c[d+44>>2]|0}while((d|0)!=0);c[f>>2]=0;f=g+72|0;d=c[f>>2]|0;if(d|0)do{e=d+40|0;if(c[e>>2]|0){c[e>>2]=0;Sb[c[d+56>>2]&63](a,d+48|0)}d=c[d+44>>2]|0}while((d|0)!=0);c[f>>2]=0}}else{f=c[a>>2]|0;c[f+20>>2]=15;c[f+24>>2]=b;Qb[c[c[a>>2]>>2]&255](a)}f=g+60+(b<<2)|0;d=c[f>>2]|0;c[f>>2]=0;if(d|0){e=g+76|0;do{h=d;d=c[d>>2]|0;f=(c[h+4>>2]|0)+16+(c[h+8>>2]|0)|0;Ow(a,h,f);c[e>>2]=(c[e>>2]|0)-f}while((d|0)!=0)}h=g+52+(b<<2)|0;d=c[h>>2]|0;c[h>>2]=0;if(!d)return;e=g+76|0;do{g=d;d=c[d>>2]|0;h=(c[g+4>>2]|0)+16+(c[g+8>>2]|0)|0;Nw(a,g,h);c[e>>2]=(c[e>>2]|0)-h}while((d|0)!=0);return}function Mw(a){a=a|0;var b=0;Lw(a,1);Lw(a,0);b=a+4|0;Nw(a,c[b>>2]|0,84);c[b>>2]=0;Bw(a);return}function Nw(a,b,c){a=a|0;b=b|0;c=c|0;EO(b);return}function Ow(a,b,c){a=a|0;b=b|0;c=c|0;EO(b);return}function Pw(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return c|0}function Qw(a,b,d){a=a|0;b=b|0;d=d|0;d=c[a>>2]|0;c[d+20>>2]=51;Qb[c[d>>2]&255](a);return}function Rw(a,b){a=a|0;b=b|0;return DO(b)|0}function Sw(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;c[a+4>>2]=0;if((b|0)!=90){e=c[a>>2]|0;c[e+20>>2]=13;c[e+24>>2]=90;c[(c[a>>2]|0)+28>>2]=b;Qb[c[c[a>>2]>>2]&255](a)}if((d|0)==488)b=a;else{b=c[a>>2]|0;c[b+20>>2]=22;c[b+24>>2]=488;c[(c[a>>2]|0)+28>>2]=d;Qb[c[c[a>>2]>>2]&255](a);b=a}f=c[a>>2]|0;d=a+12|0;e=c[d>>2]|0;_O(a+4|0,0,484)|0;c[a>>2]=f;c[d>>2]=e;c[a+16>>2]=1;yw(b);c[a+8>>2]=0;c[a+24>>2]=0;c[a+312>>2]=0;b=a+164|0;d=b+48|0;do{c[b>>2]=0;b=b+4|0}while((b|0)<(d|0));pw(a);Tw(a);c[a+20>>2]=200;return}function Tw(a){a=a|0;var b=0;b=Hb[c[c[a+4>>2]>>2]&63](a,0,28)|0;c[a+460>>2]=b;c[b>>2]=90;c[b+4>>2]=137;c[b+8>>2]=138;c[b+12>>2]=139;c[b+16>>2]=0;c[b+20>>2]=0;c[b+24>>2]=1;return}function Uw(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,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0;G=a+460|0;b=c[G>>2]|0;H=b+20|0;if(c[H>>2]|0){a=2;return a|0}I=a+464|0;K=b+24|0;L=a+340|0;F=b+16|0;l=a+32|0;m=a+212|0;n=a+28|0;o=a+36|0;p=a+316|0;q=a+320|0;r=a+216|0;s=a+220|0;t=a+224|0;u=a+324|0;v=a+328|0;w=a+428|0;x=a+432|0;y=a+436|0;z=a+416|0;A=a+332|0;C=a+412|0;D=a+420|0;E=a+424|0;a:while(1){b=Eb[c[(c[I>>2]|0)+4>>2]&127](a)|0;switch(b|0){case 2:{k=58;break a}case 1:break;default:{k=63;break a}}b:do switch(c[K>>2]|0){case 0:{if(!(c[F>>2]|0)){j=c[a>>2]|0;c[j+20>>2]=36;Qb[c[j>>2]&255](a)}if(c[L>>2]|0){k=57;break a}break}case 1:{if(!((c[l>>2]|0)<=65500?(c[n>>2]|0)<=65500:0)){j=c[a>>2]|0;c[j+20>>2]=42;c[j+24>>2]=65500;Qb[c[c[a>>2]>>2]&255](a)}b=c[m>>2]|0;if((b+-8|0)>>>0>4){j=c[a>>2]|0;c[j+20>>2]=16;c[j+24>>2]=b;Qb[c[c[a>>2]>>2]&255](a)}b=c[o>>2]|0;if((b|0)>10){j=c[a>>2]|0;c[j+20>>2]=27;c[j+24>>2]=b;c[(c[a>>2]|0)+28>>2]=10;Qb[c[c[a>>2]>>2]&255](a);b=c[o>>2]|0}c[p>>2]=1;c[q>>2]=1;if((b|0)>0){i=0;j=c[r>>2]|0;f=1;h=1;while(1){d=j+8|0;e=c[d>>2]|0;g=j+12|0;if((e+-1|0)>>>0<=3?(J=c[g>>2]|0,(J+-1|0)>>>0<=3):0)d=J;else{h=c[a>>2]|0;c[h+20>>2]=19;Qb[c[h>>2]&255](a);h=c[p>>2]|0;e=c[d>>2]|0;f=c[q>>2]|0;d=c[g>>2]|0;b=c[o>>2]|0}h=(h|0)>(e|0)?h:e;c[p>>2]=h;f=(f|0)>(d|0)?f:d;c[q>>2]=f;i=i+1|0;if((i|0)>=(b|0)){d=b;break}else j=j+88|0}}else d=b;c:do if(!(c[s>>2]|0)){if(c[t>>2]|0?c[L>>2]|0:0){k=22;break}do switch(c[z>>2]|0){case 0:{c[w>>2]=1;c[x>>2]=2576;c[y>>2]=0;b=1;break c}case 3:{c[w>>2]=2;c[x>>2]=3792;c[y>>2]=3;b=2;break c}case 8:{c[w>>2]=3;c[x>>2]=3680;c[y>>2]=8;b=3;break c}case 15:{c[w>>2]=4;c[x>>2]=3552;c[y>>2]=15;b=4;break c}case 24:{c[w>>2]=5;c[x>>2]=3376;c[y>>2]=24;b=5;break c}case 35:{c[w>>2]=6;c[x>>2]=3168;c[y>>2]=35;b=6;break c}case 48:{c[w>>2]=7;c[x>>2]=2896;c[y>>2]=48;b=7;break c}case 63:{c[w>>2]=8;c[x>>2]=2576;c[y>>2]=63;b=8;break c}case 80:{c[w>>2]=9;c[x>>2]=2576;c[y>>2]=63;b=9;break c}case 99:{c[w>>2]=10;c[x>>2]=2576;c[y>>2]=63;b=10;break c}case 120:{c[w>>2]=11;c[x>>2]=2576;c[y>>2]=63;b=11;break c}case 143:{c[w>>2]=12;c[x>>2]=2576;c[y>>2]=63;b=12;break c}case 168:{c[w>>2]=13;c[x>>2]=2576;c[y>>2]=63;b=13;break c}case 195:{c[w>>2]=14;c[x>>2]=2576;c[y>>2]=63;b=14;break c}case 224:{c[w>>2]=15;c[x>>2]=2576;c[y>>2]=63;b=15;break c}case 255:{c[w>>2]=16;c[x>>2]=2576;c[y>>2]=63;b=16;break c}default:{b=c[a>>2]|0;c[b+20>>2]=17;c[b+24>>2]=c[C>>2];c[(c[a>>2]|0)+28>>2]=c[z>>2];c[(c[a>>2]|0)+32>>2]=c[D>>2];c[(c[a>>2]|0)+36>>2]=c[E>>2];Qb[c[c[a>>2]>>2]&255](a);b=c[w>>2]|0;d=c[o>>2]|0;break c}}while(0)}else k=22;while(0);if((k|0)==22){c[w>>2]=8;c[x>>2]=2576;c[y>>2]=63;b=8}c[u>>2]=b;c[v>>2]=b;if((d|0)>0){d=0;e=c[r>>2]|0;while(1){c[e+36>>2]=b;c[e+40>>2]=b;k=e+8|0;j=B(c[k>>2]|0,c[n>>2]|0)|0;c[e+28>>2]=fw(j,B(c[p>>2]|0,b)|0)|0;b=e+12|0;j=B(c[b>>2]|0,c[l>>2]|0)|0;c[e+32>>2]=fw(j,B(c[w>>2]|0,c[q>>2]|0)|0)|0;k=B(c[k>>2]|0,c[n>>2]|0)|0;c[e+44>>2]=fw(k,c[p>>2]|0)|0;b=B(c[b>>2]|0,c[l>>2]|0)|0;c[e+48>>2]=fw(b,c[q>>2]|0)|0;c[e+52>>2]=1;c[e+80>>2]=0;b=d+1|0;if((b|0)>=(c[o>>2]|0))break;d=b;e=e+88|0;b=c[w>>2]|0}b=c[w>>2]|0}c[A>>2]=fw(c[l>>2]|0,B(b,c[q>>2]|0)|0)|0;b=c[L>>2]|0;if((b|0)>=(c[o>>2]|0)?(c[t>>2]|0)==0:0){c[(c[G>>2]|0)+16>>2]=0;k=50;break b}c[(c[G>>2]|0)+16>>2]=1;k=50;break}default:{b=c[L>>2]|0;k=50}}while(0);if((k|0)==50){k=0;if(b|0){k=52;break}c[K>>2]=2}}if((k|0)==52){c[K>>2]=0;a=1;return a|0}else if((k|0)==57){Ww(a);a=1;return a|0}else if((k|0)==58){c[H>>2]=1;if(!(c[K>>2]|0)){d=a+152|0;b=c[a+144>>2]|0;if((c[d>>2]|0)<=(b|0)){a=2;return a|0}c[d>>2]=b;a=2;return a|0}else{if(!(c[(c[I>>2]|0)+16>>2]|0)){a=2;return a|0}L=c[a>>2]|0;c[L+20>>2]=62;Qb[c[L>>2]&255](a);a=2;return a|0}}else if((k|0)==63)return b|0;return 0}function Vw(a){a=a|0;var b=0;b=c[a+460>>2]|0;c[b>>2]=90;c[b+16>>2]=0;c[b+20>>2]=0;c[b+24>>2]=1;Qb[c[(c[a>>2]|0)+16>>2]&255](a);Qb[c[c[a+464>>2]>>2]&255](a);c[a+160>>2]=0;return}function Ww(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;h=a+340|0;b=c[h>>2]|0;if((b|0)!=1){if((b+-1|0)>>>0>3){g=c[a>>2]|0;c[g+20>>2]=27;c[g+24>>2]=b;c[(c[a>>2]|0)+28>>2]=4;Qb[c[c[a>>2]>>2]&255](a)}f=a+428|0;c[a+360>>2]=fw(c[a+28>>2]|0,B(c[f>>2]|0,c[a+316>>2]|0)|0)|0;c[a+364>>2]=fw(c[a+32>>2]|0,B(c[f>>2]|0,c[a+320>>2]|0)|0)|0;f=a+368|0;c[f>>2]=0;if((c[h>>2]|0)<=0){g=a+468|0;g=c[g>>2]|0;g=c[g>>2]|0;Qb[g&255](a);g=a+452|0;h=c[g>>2]|0;h=c[h>>2]|0;Qb[h&255](a);g=c[g>>2]|0;g=g+4|0;g=c[g>>2]|0;h=a+460|0;h=c[h>>2]|0;c[h>>2]=g;return}d=0;e=0;while(1){g=c[a+344+(d<<2)>>2]|0;k=c[g+8>>2]|0;c[g+56>>2]=k;j=c[g+12>>2]|0;c[g+60>>2]=j;b=B(j,k)|0;c[g+64>>2]=b;c[g+68>>2]=B(c[g+36>>2]|0,k)|0;i=((c[g+28>>2]|0)>>>0)%(k>>>0)|0;c[g+72>>2]=(i|0)==0?k:i;i=((c[g+32>>2]|0)>>>0)%(j>>>0)|0;c[g+76>>2]=(i|0)==0?j:i;if((b+e|0)>10){k=c[a>>2]|0;c[k+20>>2]=14;Qb[c[k>>2]&255](a)}if((b|0)>0)while(1){k=c[f>>2]|0;c[f>>2]=k+1;c[a+372+(k<<2)>>2]=d;if((b|0)>1)b=b+-1|0;else break}d=d+1|0;b=c[h>>2]|0;if((d|0)>=(b|0))break;e=c[f>>2]|0}if((b|0)<=0){j=a+468|0;j=c[j>>2]|0;j=c[j>>2]|0;Qb[j&255](a);j=a+452|0;k=c[j>>2]|0;k=c[k>>2]|0;Qb[k&255](a);j=c[j>>2]|0;j=j+4|0;j=c[j>>2]|0;k=a+460|0;k=c[k>>2]|0;c[k>>2]=j;return}}else{b=c[a+344>>2]|0;c[a+360>>2]=c[b+28>>2];k=c[b+32>>2]|0;c[a+364>>2]=k;c[b+56>>2]=1;c[b+60>>2]=1;c[b+64>>2]=1;c[b+68>>2]=c[b+36>>2];c[b+72>>2]=1;j=c[b+12>>2]|0;k=(k>>>0)%(j>>>0)|0;c[b+76>>2]=(k|0)==0?j:k;c[a+368>>2]=1;c[a+372>>2]=0;b=1}g=a+4|0;f=0;do{d=c[a+344+(f<<2)>>2]|0;e=d+80|0;if(!(c[e>>2]|0)){d=c[d+16>>2]|0;b=a+164+(d<<2)|0;if(!(d>>>0<=3?(c[b>>2]|0)!=0:0)){k=c[a>>2]|0;c[k+20>>2]=54;c[k+24>>2]=d;Qb[c[c[a>>2]>>2]&255](a)}k=Hb[c[c[g>>2]>>2]&63](a,1,132)|0;YO(k|0,c[b>>2]|0,132)|0;c[e>>2]=k;b=c[h>>2]|0}f=f+1|0}while((f|0)<(b|0));j=a+468|0;j=c[j>>2]|0;j=c[j>>2]|0;Qb[j&255](a);j=a+452|0;k=c[j>>2]|0;k=c[k>>2]|0;Qb[k&255](a);j=c[j>>2]|0;j=j+4|0;j=c[j>>2]|0;k=a+460|0;k=c[k>>2]|0;c[k>>2]=j;return}function Xw(a){a=a|0;Qb[c[(c[a+468>>2]|0)+8>>2]&255](a);c[c[a+460>>2]>>2]=90;return}function Yw(a){a=a|0;Zw(a);return}function Zw(a){a=a|0;var b=0,d=0;b=a+4|0;d=c[b>>2]|0;if(d|0)Qb[c[d+40>>2]&255](a);c[b>>2]=0;c[a+20>>2]=0;return}function _w(a){a=a|0;var b=0;b=c[a+4>>2]|0;if(!b)return;Sb[c[b+36>>2]&63](a,1);b=a+20|0;if(!(c[a+16>>2]|0)){c[b>>2]=100;return}else{c[b>>2]=200;c[a+312>>2]=0;return}}function $w(a,b){a=a|0;b=b|0;var d=0,e=0;d=c[a+20>>2]|0;if((d&-2|0)!=200){e=c[a>>2]|0;c[e+20>>2]=21;c[e+24>>2]=d;Qb[c[c[a>>2]>>2]&255](a)}d=ax(a)|0;switch(d|0){case 1:{e=1;return e|0}case 2:{if(b){e=c[a>>2]|0;c[e+20>>2]=53;Qb[c[e>>2]&255](a)}_w(a);e=2;return e|0}default:{e=d;return e|0}}return 0}function ax(b){b=b|0;var d=0,e=0,f=0,h=0,i=0;i=b+20|0;d=c[i>>2]|0;switch(d|0){case 200:{d=b+460|0;Qb[c[(c[d>>2]|0)+4>>2]&255](b);Qb[c[(c[b+24>>2]|0)+8>>2]&255](b);c[i>>2]=201;break}case 201:{d=b+460|0;break}case 210:case 208:case 207:case 206:case 205:case 204:case 203:{i=Eb[c[c[b+460>>2]>>2]&127](b)|0;return i|0}case 202:{i=1;return i|0}default:{i=c[b>>2]|0;c[i+20>>2]=21;c[i+24>>2]=d;Qb[c[c[b>>2]>>2]&255](b);i=0;return i|0}}d=Eb[c[c[d>>2]>>2]&127](b)|0;if((d|0)!=1){i=d;return i|0}d=c[b+36>>2]|0;a:do switch(d|0){case 1:{e=d;break}case 3:{f=c[b+216>>2]|0;d=c[f>>2]|0;e=c[f+88>>2]|0;f=c[f+176>>2]|0;h=(d|0)==1;if(!(h&(e|0)==2&(f|0)==3))if(!(h&(e|0)==34&(f|0)==35))if(!((d|0)==82&(e|0)==71&(f|0)==66))if(!((d|0)==114&(e|0)==103&(f|0)==98))if(!(c[b+284>>2]|0)){if(!(c[b+296>>2]|0)){h=c[b>>2]|0;c[h+24>>2]=d;c[h+28>>2]=e;c[h+32>>2]=f;c[h+20>>2]=113;Sb[c[h+4>>2]&63](b,1);e=2;d=3;break a}d=a[b+300>>0]|0;switch(d<<24>>24){case 0:{e=2;d=2;break a}case 1:{e=2;d=3;break a}default:{e=c[b>>2]|0;c[e+20>>2]=116;c[e+24>>2]=d&255;Sb[c[(c[b>>2]|0)+4>>2]&63](b,-1);e=2;d=3;break a}}}else{e=2;d=3}else{e=2;d=6}else{e=2;d=2}else{e=2;d=7}else{e=2;d=3}break}case 4:{if(!(c[b+296>>2]|0)){e=4;d=4}else{d=a[b+300>>0]|0;switch(d<<24>>24){case 0:{e=4;d=4;break a}case 2:{e=4;d=5;break a}default:{e=c[b>>2]|0;c[e+20>>2]=116;c[e+24>>2]=d&255;Sb[c[(c[b>>2]|0)+4>>2]&63](b,-1);e=4;d=5;break a}}}break}default:{e=0;d=0}}while(0);c[b+40>>2]=d;c[b+44>>2]=e;h=c[b+428>>2]|0;c[b+48>>2]=h;c[b+52>>2]=h;g[b+56>>3]=1.0;c[b+64>>2]=0;c[b+68>>2]=0;c[b+72>>2]=0;c[b+76>>2]=1;c[b+80>>2]=1;c[b+84>>2]=0;c[b+88>>2]=2;c[b+92>>2]=1;c[b+96>>2]=256;c[b+136>>2]=0;c[b+100>>2]=0;c[b+104>>2]=0;c[b+108>>2]=0;c[i>>2]=202;i=1;return i|0}function bx(a){a=a|0;var b=0,d=0,e=0;b=a+20|0;d=c[b>>2]|0;if((d+-205|0)>>>0<2?(c[a+64>>2]|0)==0:0){if((c[a+140>>2]|0)>>>0<(c[a+116>>2]|0)>>>0){d=c[a>>2]|0;c[d+20>>2]=69;Qb[c[d>>2]&255](a)}Qb[c[(c[a+444>>2]|0)+4>>2]&255](a);c[b>>2]=210}else e=6;a:do if((e|0)==6)switch(d|0){case 210:break a;case 207:{c[b>>2]=210;break a}default:{e=c[a>>2]|0;c[e+20>>2]=21;c[e+24>>2]=d;Qb[c[c[a>>2]>>2]&255](a);break a}}while(0);d=a+460|0;b=c[d>>2]|0;b:do if(!(c[b+20>>2]|0)){while(1){if(!(Eb[c[b>>2]&127](a)|0)){b=0;break}b=c[d>>2]|0;if(c[b+20>>2]|0)break b}return b|0}while(0);Qb[c[(c[a+24>>2]|0)+24>>2]&255](a);_w(a);a=1;return a|0}function cx(a){a=a|0;c[a>>2]=140;c[a+4>>2]=53;c[a+8>>2]=141;c[a+12>>2]=54;c[a+16>>2]=142;c[a+104>>2]=0;c[a+108>>2]=0;c[a+20>>2]=0;c[a+112>>2]=2064;c[a+116>>2]=126;c[a+120>>2]=0;c[a+124>>2]=0;c[a+128>>2]=0;return a|0}function dx(a){a=a|0;Qb[c[(c[a>>2]|0)+8>>2]&255](a);Zw(a);Ea(1)}function ex(a,b){a=a|0;b=b|0;var d=0,e=0;d=c[a>>2]|0;if((b|0)>=0){if((c[d+104>>2]|0)<(b|0))return;Qb[c[d+8>>2]&255](a);return}e=d+108|0;b=c[e>>2]|0;if(!((b|0)!=0?(c[d+104>>2]|0)<=2:0)){Qb[c[d+8>>2]&255](a);b=c[e>>2]|0}c[e>>2]=b+1;return}function fx(a){a=a|0;var b=0,d=0,e=0;b=yb;yb=yb+208|0;d=b+200|0;e=b;Sb[c[(c[a>>2]|0)+12>>2]&63](a,e);a=c[4001]|0;c[d>>2]=e;Jz(a,46655,d)|0;yb=b;return}function gx(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;k=yb;yb=yb+48|0;j=k+8|0;i=k;h=c[b>>2]|0;f=c[h+20>>2]|0;if((f|0)>0?(f|0)<=(c[h+116>>2]|0):0){b=(c[h+112>>2]|0)+(f<<2)|0;g=8}else{b=c[h+120>>2]|0;if(((b|0)!=0?(e=c[h+124>>2]|0,(f|0)>=(e|0)):0)?(f|0)<=(c[h+128>>2]|0):0){b=b+(f-e<<2)|0;g=8}else g=9}if((g|0)==8){b=c[b>>2]|0;if(!b)g=9}if((g|0)==9){c[h+24>>2]=f;b=c[c[h+112>>2]>>2]|0}e=b;a:while(1){f=e+1|0;switch(a[e>>0]|0){case 0:break a;case 37:{g=12;break a}default:e=f}}if((g|0)==12?(a[f>>0]|0)==115:0){c[i>>2]=h+24;Fx(d,b,i)|0;yb=k;return}n=c[h+28>>2]|0;m=c[h+32>>2]|0;l=c[h+36>>2]|0;e=c[h+40>>2]|0;f=c[h+44>>2]|0;g=c[h+48>>2]|0;i=c[h+52>>2]|0;c[j>>2]=c[h+24>>2];c[j+4>>2]=n;c[j+8>>2]=m;c[j+12>>2]=l;c[j+16>>2]=e;c[j+20>>2]=f;c[j+24>>2]=g;c[j+28>>2]=i;Fx(d,b,j)|0;yb=k;return}function hx(a){a=a|0;a=c[a>>2]|0;c[a+108>>2]=0;c[a+20>>2]=0;return}function ix(a){a=a|0;return (aa(nx(c[a+60>>2]|0)|0)|0)&65535|0}function jx(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;l=yb;yb=yb+32|0;h=l;i=l+16|0;j=a+28|0;f=c[j>>2]|0;c[h>>2]=f;k=a+20|0;f=(c[k>>2]|0)-f|0;c[h+4>>2]=f;c[h+8>>2]=b;c[h+12>>2]=d;e=a+60|0;g=2;b=f+d|0;while(1){if(!(lx(da(c[e>>2]|0,h|0,g|0,i|0)|0)|0))f=c[i>>2]|0;else{c[i>>2]=-1;f=-1}if((b|0)==(f|0)){b=6;break}if((f|0)<0){b=8;break}p=c[h+4>>2]|0;n=f>>>0>p>>>0;m=n?h+8|0:h;p=f-(n?p:0)|0;c[m>>2]=(c[m>>2]|0)+p;o=m+4|0;c[o>>2]=(c[o>>2]|0)-p;g=g+(n<<31>>31)|0;b=b-f|0;h=m}if((b|0)==6){p=c[a+44>>2]|0;c[a+16>>2]=p+(c[a+48>>2]|0);c[j>>2]=p;c[k>>2]=p}else if((b|0)==8){c[a+16>>2]=0;c[j>>2]=0;c[k>>2]=0;c[a>>2]=c[a>>2]|32;if((g|0)==2)d=0;else d=d-(c[h+4>>2]|0)|0}yb=l;return d|0}function kx(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;g=yb;yb=yb+16|0;f=g;if(!(lx(ca(c[a+60>>2]|0,b|0,d|0,e&255|0,f|0)|0)|0)){b=f;a=c[b+4>>2]|0;b=c[b>>2]|0}else{a=f;c[a>>2]=-1;c[a+4>>2]=-1;a=-1;b=-1}E(a|0);yb=g;return b|0}function lx(a){a=a|0;if(!(a<<16>>16))a=0;else{c[(mx()|0)>>2]=a&65535;a=-1}return a|0}function mx(){return 55620}function nx(a){a=a|0;return a|0}function ox(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;l=yb;yb=yb+32|0;i=l;f=l+16|0;c[i>>2]=d;g=i+4|0;j=b+48|0;m=c[j>>2]|0;c[g>>2]=e-((m|0)!=0&1);h=b+44|0;c[i+8>>2]=c[h>>2];c[i+12>>2]=m;if(!(lx(ba(c[b+60>>2]|0,i|0,2,f|0)|0)|0)){f=c[f>>2]|0;if((f|0)>=1){i=c[g>>2]|0;if(f>>>0>i>>>0){g=c[h>>2]|0;h=b+4|0;c[h>>2]=g;c[b+8>>2]=g+(f-i);if(!(c[j>>2]|0))f=e;else{c[h>>2]=g+1;a[d+(e+-1)>>0]=a[g>>0]|0;f=e}}}else k=4}else{c[f>>2]=-1;f=-1;k=4}if((k|0)==4)c[b>>2]=f&48^16|c[b>>2];yb=l;return f|0}function px(a){a=a|0;return 0}function qx(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;E(0);return 0}function rx(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;d=sx(a,b,c)|0;E(F()|0);return d|0}function sx(a,b,c){a=a|0;b=b|0;c=c|0;c=tx(a,b,c,-1,-1)|0;E(F()|0);return c|0}function tx(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0;j=yb;yb=yb+144|0;h=j;c[h>>2]=0;i=h+4|0;c[i>>2]=a;c[h+44>>2]=a;g=h+8|0;c[g>>2]=(a|0)<0?-1:a+2147483647|0;c[h+76>>2]=-1;ux(h,0,0);d=vx(h,d,1,e,f)|0;e=F()|0;if(b|0)c[b>>2]=a+((c[i>>2]|0)+(c[h+120>>2]|0)-(c[g>>2]|0));E(e|0);yb=j;return d|0}function ux(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;f=a+112|0;c[f>>2]=b;c[f+4>>2]=d;f=c[a+8>>2]|0;e=c[a+4>>2]|0;g=f-e|0;h=((g|0)<0)<<31>>31;i=a+120|0;c[i>>2]=g;c[i+4>>2]=h;if(((b|0)!=0|(d|0)!=0)&((h|0)>(d|0)|(h|0)==(d|0)&g>>>0>b>>>0))c[a+104>>2]=e+b;else c[a+104>>2]=f;return}function vx(b,e,f,g,h){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;a:do if(e>>>0>36){c[(mx()|0)>>2]=28;h=0;g=0}else{r=b+4|0;q=b+104|0;do{i=c[r>>2]|0;if(i>>>0<(c[q>>2]|0)>>>0){c[r>>2]=i+1;i=d[i>>0]|0}else i=wx(b)|0}while((xx(i)|0)!=0);b:do switch(i|0){case 43:case 45:{i=((i|0)==45)<<31>>31;j=c[r>>2]|0;if(j>>>0<(c[q>>2]|0)>>>0){c[r>>2]=j+1;p=i;i=d[j>>0]|0;break b}else{p=i;i=wx(b)|0;break b}}default:p=0}while(0);j=(e|0)==0;do if((e|16|0)==16&(i|0)==48){i=c[r>>2]|0;if(i>>>0<(c[q>>2]|0)>>>0){c[r>>2]=i+1;i=d[i>>0]|0}else i=wx(b)|0;if((i|32|0)!=120)if(j){o=8;n=47;break}else{n=32;break}i=c[r>>2]|0;if(i>>>0<(c[q>>2]|0)>>>0){c[r>>2]=i+1;i=d[i>>0]|0}else i=wx(b)|0;if((d[5937+i>>0]|0)>15){g=(c[q>>2]|0)==0;if(!g)c[r>>2]=(c[r>>2]|0)+-1;if(!f){ux(b,0,0);h=0;g=0;break a}if(g){h=0;g=0;break a}c[r>>2]=(c[r>>2]|0)+-1;h=0;g=0;break a}else{o=16;n=47}}else{e=j?10:e;if(e>>>0>(d[5937+i>>0]|0)>>>0)n=32;else{if(c[q>>2]|0)c[r>>2]=(c[r>>2]|0)+-1;ux(b,0,0);c[(mx()|0)>>2]=28;h=0;g=0;break a}}while(0);c:do if((n|0)==32)if((e|0)==10){e=i+-48|0;if(e>>>0<10){i=0;do{i=(i*10|0)+e|0;e=c[r>>2]|0;if(e>>>0<(c[q>>2]|0)>>>0){c[r>>2]=e+1;j=d[e>>0]|0}else j=wx(b)|0;e=j+-48|0}while(e>>>0<10&i>>>0<429496729);if(e>>>0<10){m=0;do{f=LO(i|0,m|0,10,0)|0;k=F()|0;l=((e|0)<0)<<31>>31;o=~l;if(k>>>0>o>>>0|(k|0)==(o|0)&f>>>0>~e>>>0){f=10;e=m;n=76;break c}i=MO(f|0,k|0,e|0,l|0)|0;m=F()|0;e=c[r>>2]|0;if(e>>>0<(c[q>>2]|0)>>>0){c[r>>2]=e+1;j=d[e>>0]|0}else j=wx(b)|0;e=j+-48|0}while(e>>>0<10&(m>>>0<429496729|(m|0)==429496729&i>>>0<2576980378));if(e>>>0>9){j=p;e=m}else{f=10;e=m;n=76}}else{j=p;e=0}}else{j=p;e=0;i=0}}else{o=e;n=47}while(0);d:do if((n|0)==47){if(!(o+-1&o)){n=a[46659+((o*23|0)>>>5&7)>>0]|0;f=a[5937+i>>0]|0;e=f&255;if(o>>>0>e>>>0){i=0;do{i=e|i<>2]|0;if(e>>>0<(c[q>>2]|0)>>>0){c[r>>2]=e+1;j=d[e>>0]|0}else j=wx(b)|0;f=a[5937+j>>0]|0;e=f&255}while(i>>>0<134217728&o>>>0>e>>>0);k=e;e=0}else{j=i;k=e;e=0;i=0}l=RO(-1,-1,n|0)|0;m=F()|0;if(o>>>0<=k>>>0|(m>>>0>>0|(m|0)==(e|0)&l>>>0>>0)){f=o;n=76;break}while(1){i=SO(i|0,e|0,n|0)|0;e=F()|0;i=i|f&255;j=c[r>>2]|0;if(j>>>0<(c[q>>2]|0)>>>0){c[r>>2]=j+1;j=d[j>>0]|0}else j=wx(b)|0;f=a[5937+j>>0]|0;if(o>>>0<=(f&255)>>>0|(e>>>0>m>>>0|(e|0)==(m|0)&i>>>0>l>>>0)){f=o;n=76;break d}}}e=a[5937+i>>0]|0;f=e&255;if(o>>>0>f>>>0){i=0;do{i=f+(B(i,o)|0)|0;e=c[r>>2]|0;if(e>>>0<(c[q>>2]|0)>>>0){c[r>>2]=e+1;j=d[e>>0]|0}else j=wx(b)|0;e=a[5937+j>>0]|0;f=e&255}while(i>>>0<119304647&o>>>0>f>>>0);k=e;e=0}else{j=i;k=e;i=0;e=0}if(o>>>0>f>>>0){m=QO(-1,-1,o|0,0)|0;n=F()|0;f=k;while(1){if(e>>>0>n>>>0|(e|0)==(n|0)&i>>>0>m>>>0){f=o;n=76;break d}k=LO(i|0,e|0,o|0,0)|0;l=F()|0;f=f&255;if(l>>>0>4294967295|(l|0)==-1&k>>>0>~f>>>0){f=o;n=76;break d}i=MO(k|0,l|0,f|0,0)|0;e=F()|0;j=c[r>>2]|0;if(j>>>0<(c[q>>2]|0)>>>0){c[r>>2]=j+1;j=d[j>>0]|0}else j=wx(b)|0;f=a[5937+j>>0]|0;if(o>>>0<=(f&255)>>>0){f=o;n=76;break}}}else{f=o;n=76}}while(0);if((n|0)==76)if(f>>>0>(d[5937+j>>0]|0)>>>0){do{i=c[r>>2]|0;if(i>>>0<(c[q>>2]|0)>>>0){c[r>>2]=i+1;i=d[i>>0]|0}else i=wx(b)|0}while(f>>>0>(d[5937+i>>0]|0)>>>0);c[(mx()|0)>>2]=68;j=(g&1|0)==0&0==0?p:0;e=h;i=g}else j=p;if(c[q>>2]|0)c[r>>2]=(c[r>>2]|0)+-1;if(!(e>>>0>>0|(e|0)==(h|0)&i>>>0>>0)){if(!((g&1|0)!=0|0!=0|(j|0)!=0)){c[(mx()|0)>>2]=68;g=MO(g|0,h|0,-1,-1)|0;h=F()|0;break}if(e>>>0>h>>>0|(e|0)==(h|0)&i>>>0>g>>>0){c[(mx()|0)>>2]=68;break}}g=((j|0)<0)<<31>>31;g=NO(i^j|0,e^g|0,j|0,g|0)|0;h=F()|0}while(0);E(h|0);return g|0}function wx(b){b=b|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=b+112|0;f=g;e=c[f>>2]|0;f=c[f+4>>2]|0;if(!((e|0)==0&(f|0)==0)?(i=b+120|0,h=c[i+4>>2]|0,!((h|0)<(f|0)|((h|0)==(f|0)?(c[i>>2]|0)>>>0>>0:0))):0)j=4;else{e=yx(b)|0;if((e|0)>=0){f=c[g>>2]|0;g=c[g+4>>2]|0;i=c[b+8>>2]|0;if(!((f|0)==0&(g|0)==0)){h=c[b+4>>2]|0;k=i-h|0;l=((k|0)<0)<<31>>31;m=b+120|0;f=NO(f|0,g|0,c[m>>2]|0,c[m+4>>2]|0)|0;m=F()|0;g=i;if((m|0)>(l|0)|(m|0)==(l|0)&f>>>0>k>>>0)j=9;else c[b+104>>2]=h+(f+-1)}else{g=i;j=9}if((j|0)==9)c[b+104>>2]=i;f=b+4|0;if(!g)f=c[f>>2]|0;else{f=c[f>>2]|0;k=g+1-f|0;m=b+120|0;l=m;k=MO(c[l>>2]|0,c[l+4>>2]|0,k|0,((k|0)<0)<<31>>31|0)|0;l=F()|0;c[m>>2]=k;c[m+4>>2]=l}f=f+-1|0;if((e|0)!=(d[f>>0]|0|0))a[f>>0]=e}else j=4}if((j|0)==4){c[b+104>>2]=0;e=-1}return e|0}function xx(a){a=a|0;return ((a|0)==32|(a+-9|0)>>>0<5)&1|0}function yx(a){a=a|0;var b=0,e=0;e=yb;yb=yb+16|0;b=e;if((zx(a)|0)==0?(Hb[c[a+32>>2]&63](a,b,1)|0)==1:0)a=d[b>>0]|0;else a=-1;yb=e;return a|0}function zx(b){b=b|0;var d=0,e=0;d=b+74|0;e=a[d>>0]|0;a[d>>0]=e+255|e;d=b+20|0;e=b+28|0;if((c[d>>2]|0)>>>0>(c[e>>2]|0)>>>0)Hb[c[b+36>>2]&63](b,0,0)|0;c[b+16>>2]=0;c[e>>2]=0;c[d>>2]=0;d=c[b>>2]|0;if(!(d&4)){e=(c[b+44>>2]|0)+(c[b+48>>2]|0)|0;c[b+8>>2]=e;c[b+4>>2]=e;d=d<<27>>31}else{c[b>>2]=d|32;d=-1}return d|0}function Ax(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;d=Bx(a,b,c)|0;E(F()|0);return d|0}function Bx(a,b,c){a=a|0;b=b|0;c=c|0;c=tx(a,b,c,0,-2147483648)|0;E(F()|0);return c|0}function Cx(a,b){a=+a;b=+b;var d=0,e=0;g[h>>3]=a;e=c[h>>2]|0;d=c[h+4>>2]|0;g[h>>3]=b;d=c[h+4>>2]&-2147483648|d&2147483647;c[h>>2]=e;c[h+4>>2]=d;return +(+g[h>>3])}function Dx(b,c){b=b|0;c=c|0;var d=0,e=0;d=a[b>>0]|0;e=a[c>>0]|0;if(d<<24>>24==0?1:d<<24>>24!=e<<24>>24)b=e;else{do{b=b+1|0;c=c+1|0;d=a[b>>0]|0;e=a[c>>0]|0}while(!(d<<24>>24==0?1:d<<24>>24!=e<<24>>24));b=e}return (d&255)-(b&255)|0}function Ex(a){a=a|0;return (a+-48|0)>>>0<10|0}function Fx(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=yb;yb=yb+16|0;f=e;c[f>>2]=d;d=Gx(a,b,f)|0;yb=e;return d|0}function Gx(a,b,c){a=a|0;b=b|0;c=c|0;return Hx(a,2147483647,b,c)|0}function Hx(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0;j=yb;yb=yb+160|0;g=j+144|0;i=j;YO(i|0,13736,144)|0;if((d+-1|0)>>>0>2147483646)if(!d){b=g;d=1;h=4}else{c[(mx()|0)>>2]=61;d=-1}else h=4;if((h|0)==4){h=-2-b|0;h=d>>>0>h>>>0?h:d;c[i+48>>2]=h;g=i+20|0;c[g>>2]=b;c[i+44>>2]=b;d=b+h|0;b=i+16|0;c[b>>2]=d;c[i+28>>2]=d;d=Ix(i,e,f)|0;if(h){i=c[g>>2]|0;a[i+(((i|0)==(c[b>>2]|0))<<31>>31)>>0]=0}}yb=j;return d|0}function Ix(a,b,c){a=a|0;b=b|0;c=c|0;return Lx(a,b,c,1,55)|0}function Jx(b,e,f,g,h,i){b=b|0;e=+e;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0.0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,C=0,D=0,E=0,G=0,H=0;H=yb;yb=yb+560|0;l=H+32|0;u=H+536|0;G=H;E=G;m=H+540|0;c[u>>2]=0;D=m+12|0;by(e)|0;j=F()|0;if((j|0)<0){e=-e;by(e)|0;C=1;A=46685;j=F()|0}else{C=(h&2049|0)!=0&1;A=(h&2048|0)==0?((h&1|0)==0?46686:46691):46688}do if(0==0&(j&2146435072|0)==2146435072){G=(i&32|0)!=0;j=C+3|0;Wx(b,32,f,j,h&-65537);Px(b,A,C);Px(b,e!=e|0.0!=0.0?(G?46727:46712):G?46704:46708,3);Wx(b,32,f,j,h^8192)}else{q=+cy(e,u)*2.0;j=q!=0.0;if(j)c[u>>2]=(c[u>>2]|0)+-1;t=i|32;if((t|0)==97){o=i&32;r=(o|0)==0?A:A+9|0;p=C|2;j=12-g|0;do if(!(g>>>0>11|(j|0)==0)){e=8.0;do{j=j+-1|0;e=e*16.0}while((j|0)!=0);if((a[r>>0]|0)==45){e=-(e+(-q-e));break}else{e=q+e-e;break}}else e=q;while(0);k=c[u>>2]|0;j=(k|0)<0?0-k|0:k;j=Ux(j,((j|0)<0)<<31>>31,D)|0;if((j|0)==(D|0)){j=m+11|0;a[j>>0]=48}a[j+-1>>0]=(k>>31&2)+43;n=j+-2|0;a[n>>0]=i+15;k=(g|0)<1;l=(h&8|0)==0;m=G;do{C=~~e;j=m+1|0;a[m>>0]=o|d[6672+C>>0];e=(e-+(C|0))*16.0;if((j-E|0)==1?!(l&(k&e==0.0)):0){a[j>>0]=46;m=m+2|0}else m=j}while(e!=0.0);if((g|0)!=0?(-2-E+m|0)<(g|0):0){k=D;l=n;j=g+2+k-l|0}else{k=D;l=n;j=k-E-l+m|0}D=j+p|0;Wx(b,32,f,D,h);Px(b,r,p);Wx(b,48,f,D,h^65536);E=m-E|0;Px(b,G,E);G=k-l|0;Wx(b,48,j-(E+G)|0,0,0);Px(b,n,G);Wx(b,32,f,D,h^8192);j=D;break}k=(g|0)<0?6:g;if(j){j=(c[u>>2]|0)+-28|0;c[u>>2]=j;e=q*268435456.0}else{e=q;j=c[u>>2]|0}z=(j|0)<0?l:l+288|0;l=z;do{x=~~e>>>0;c[l>>2]=x;l=l+4|0;e=(e-+(x>>>0))*1.0e9}while(e!=0.0);x=z;if((j|0)>0){o=z;while(1){n=(j|0)<29?j:29;j=l+-4|0;if(j>>>0>=o>>>0){m=0;do{s=SO(c[j>>2]|0,0,n|0)|0;s=MO(s|0,F()|0,m|0,0)|0;v=F()|0;m=QO(s|0,v|0,1e9,0)|0;w=LO(m|0,F()|0,1e9,0)|0;w=NO(s|0,v|0,w|0,F()|0)|0;F()|0;c[j>>2]=w;j=j+-4|0}while(j>>>0>=o>>>0);if(m){w=o+-4|0;c[w>>2]=m;m=w}else m=o}else m=o;a:do if(l>>>0>m>>>0){j=l;while(1){l=j+-4|0;if(c[l>>2]|0){l=j;break a}if(l>>>0>m>>>0)j=l;else break}}while(0);j=(c[u>>2]|0)-n|0;c[u>>2]=j;if((j|0)>0)o=m;else break}}else m=z;if((j|0)<0){g=((k+25|0)/9|0)+1|0;s=(t|0)==102;do{r=0-j|0;r=(r|0)<9?r:9;if(m>>>0>>0){n=(1<>>r;p=0;j=m;do{w=c[j>>2]|0;c[j>>2]=(w>>>r)+p;p=B(w&n,o)|0;j=j+4|0}while(j>>>0>>0);m=(c[m>>2]|0)==0?m+4|0:m;if(p){c[l>>2]=p;l=l+4|0}}else m=(c[m>>2]|0)==0?m+4|0:m;j=s?z:m;l=(l-j>>2|0)>(g|0)?j+(g<<2)|0:l;j=(c[u>>2]|0)+r|0;c[u>>2]=j}while((j|0)<0);s=m}else s=m;if(s>>>0>>0){j=(x-s>>2)*9|0;n=c[s>>2]|0;if(n>>>0>=10){m=10;do{m=m*10|0;j=j+1|0}while(n>>>0>=m>>>0)}}else j=0;v=(t|0)==103;w=(k|0)!=0;m=k-((t|0)==102?0:j)+((w&v)<<31>>31)|0;if((m|0)<(((l-x>>2)*9|0)+-9|0)){u=m+9216|0;m=(u|0)/9|0;g=z+4+(m+-1024<<2)|0;m=u-(m*9|0)|0;if((m|0)<8){n=10;while(1){n=n*10|0;if((m|0)<7)m=m+1|0;else break}}else n=10;p=c[g>>2]|0;m=(p>>>0)/(n>>>0)|0;r=p-(B(m,n)|0)|0;o=(g+4|0)==(l|0);if(!(o&(r|0)==0)){q=(m&1|0)==0?9007199254740992.0:9007199254740994.0;u=n>>>1;e=r>>>0>>0?.5:o&(r|0)==(u|0)?1.0:1.5;if(C){u=(a[A>>0]|0)==45;e=u?-e:e;q=u?-q:q}m=p-r|0;c[g>>2]=m;if(q+e!=q){u=m+n|0;c[g>>2]=u;if(u>>>0>999999999){n=g;j=s;while(1){m=n+-4|0;c[n>>2]=0;if(m>>>0>>0){j=j+-4|0;c[j>>2]=0}u=(c[m>>2]|0)+1|0;c[m>>2]=u;if(u>>>0>999999999)n=m;else{n=j;break}}}else{m=g;n=s}j=(x-n>>2)*9|0;p=c[n>>2]|0;if(p>>>0>=10){o=10;do{o=o*10|0;j=j+1|0}while(p>>>0>=o>>>0)}}else{m=g;n=s}}else{m=g;n=s}u=m+4|0;l=l>>>0>u>>>0?u:l}else n=s;g=0-j|0;b:do if(l>>>0>n>>>0)while(1){m=l+-4|0;if(c[m>>2]|0){u=l;t=1;break b}if(m>>>0>n>>>0)l=m;else{u=m;t=0;break}}else{u=l;t=0}while(0);do if(v){k=k+((w^1)&1)|0;if((k|0)>(j|0)&(j|0)>-5){o=i+-1|0;k=k+-1-j|0}else{o=i+-2|0;k=k+-1|0}if(!(h&8)){if(t?(y=c[u+-4>>2]|0,(y|0)!=0):0)if(!((y>>>0)%10|0)){m=0;l=10;do{l=l*10|0;m=m+1|0}while(!((y>>>0)%(l>>>0)|0|0))}else m=0;else m=9;l=((u-x>>2)*9|0)+-9|0;if((o|32|0)==102){i=l-m|0;i=(i|0)>0?i:0;k=(k|0)<(i|0)?k:i;break}else{i=l+j-m|0;i=(i|0)>0?i:0;k=(k|0)<(i|0)?k:i;break}}}else o=i;while(0);s=(k|0)!=0;p=s?1:h>>>3&1;r=(o|32|0)==102;if(r){v=0;j=(j|0)>0?j:0}else{l=(j|0)<0?g:j;l=Ux(l,((l|0)<0)<<31>>31,D)|0;m=D;if((m-l|0)<2)do{l=l+-1|0;a[l>>0]=48}while((m-l|0)<2);a[l+-1>>0]=(j>>31&2)+43;j=l+-2|0;a[j>>0]=o;v=j;j=m-j|0}j=C+1+k+p+j|0;Wx(b,32,f,j,h);Px(b,A,C);Wx(b,48,f,j,h^65536);if(r){p=n>>>0>z>>>0?z:n;r=G+9|0;n=r;o=G+8|0;m=p;do{l=Ux(c[m>>2]|0,0,r)|0;if((m|0)==(p|0)){if((l|0)==(r|0)){a[o>>0]=48;l=o}}else if(l>>>0>G>>>0){_O(G|0,48,l-E|0)|0;do l=l+-1|0;while(l>>>0>G>>>0)}Px(b,l,n-l|0);m=m+4|0}while(m>>>0<=z>>>0);if(!((h&8|0)==0&(s^1)))Px(b,46716,1);if(m>>>0>>0&(k|0)>0)while(1){l=Ux(c[m>>2]|0,0,r)|0;if(l>>>0>G>>>0){_O(G|0,48,l-E|0)|0;do l=l+-1|0;while(l>>>0>G>>>0)}Px(b,l,(k|0)<9?k:9);m=m+4|0;l=k+-9|0;if(!(m>>>0>>0&(k|0)>9)){k=l;break}else k=l}Wx(b,48,k+9|0,9,0)}else{u=t?u:n+4|0;if(n>>>0>>0&(k|0)>-1){g=G+9|0;s=(h&8|0)==0;t=g;p=0-E|0;r=G+8|0;o=n;do{l=Ux(c[o>>2]|0,0,g)|0;if((l|0)==(g|0)){a[r>>0]=48;l=r}do if((o|0)==(n|0)){m=l+1|0;Px(b,l,1);if(s&(k|0)<1){l=m;break}Px(b,46716,1);l=m}else{if(l>>>0<=G>>>0)break;_O(G|0,48,l+p|0)|0;do l=l+-1|0;while(l>>>0>G>>>0)}while(0);E=t-l|0;Px(b,l,(k|0)>(E|0)?E:k);k=k-E|0;o=o+4|0}while(o>>>0>>0&(k|0)>-1)}Wx(b,48,k+18|0,18,0);Px(b,v,D-v|0)}Wx(b,32,f,j,h^8192)}while(0);yb=H;return ((j|0)<(f|0)?f:j)|0}function Kx(a,b){a=a|0;b=b|0;var d=0.0,e=0;e=(c[b>>2]|0)+(8-1)&~(8-1);d=+g[e>>3];c[b>>2]=e+8;g[a>>3]=d;return}function Lx(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;t=yb;yb=yb+224|0;p=t+208|0;q=t+160|0;r=t+80|0;s=t;h=q;i=h+40|0;do{c[h>>2]=0;h=h+4|0}while((h|0)<(i|0));c[p>>2]=c[e>>2];if((Mx(0,d,p,r,q,f,g)|0)<0)e=-1;else{if((c[b+76>>2]|0)>-1)o=Nx(b)|0;else o=0;e=c[b>>2]|0;n=e&32;if((a[b+74>>0]|0)<1)c[b>>2]=e&-33;h=b+48|0;if(!(c[h>>2]|0)){i=b+44|0;j=c[i>>2]|0;c[i>>2]=s;k=b+28|0;c[k>>2]=s;l=b+20|0;c[l>>2]=s;c[h>>2]=80;m=b+16|0;c[m>>2]=s+80;e=Mx(b,d,p,r,q,f,g)|0;if(j){Hb[c[b+36>>2]&63](b,0,0)|0;e=(c[l>>2]|0)==0?-1:e;c[i>>2]=j;c[h>>2]=0;c[m>>2]=0;c[k>>2]=0;c[l>>2]=0}}else e=Mx(b,d,p,r,q,f,g)|0;h=c[b>>2]|0;c[b>>2]=h|n;if(o|0)Ox(b);e=(h&32|0)==0?e:-1}yb=t;return e|0}function Mx(d,e,f,h,i,j,k){d=d|0;e=e|0;f=f|0;h=h|0;i=i|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,G=0,H=0,I=0,J=0,K=0;J=yb;yb=yb+64|0;G=J+56|0;I=J+40|0;A=J;C=J+48|0;D=J+60|0;c[G>>2]=e;x=(d|0)!=0;y=A+40|0;z=y;A=A+39|0;B=C+4|0;l=0;e=0;n=0;a:while(1){do{do if((e|0)>-1)if((l|0)>(2147483647-e|0)){c[(mx()|0)>>2]=61;e=-1;break}else{e=l+e|0;break}while(0);r=c[G>>2]|0;l=a[r>>0]|0;if(!(l<<24>>24)){w=92;break a}m=r;b:while(1){switch(l<<24>>24){case 37:{w=10;break b}case 0:{l=m;break b}default:{}}v=m+1|0;c[G>>2]=v;l=a[v>>0]|0;m=v}c:do if((w|0)==10){w=0;l=m;do{if((a[m+1>>0]|0)!=37)break c;l=l+1|0;m=m+2|0;c[G>>2]=m}while((a[m>>0]|0)==37)}while(0);l=l-r|0;if(x)Px(d,r,l)}while((l|0)!=0);v=(Ex(a[(c[G>>2]|0)+1>>0]|0)|0)==0;m=c[G>>2]|0;if(!v?(a[m+2>>0]|0)==36:0){t=(a[m+1>>0]|0)+-48|0;p=1;l=3}else{t=-1;p=n;l=1}l=m+l|0;c[G>>2]=l;m=a[l>>0]|0;n=(m<<24>>24)+-32|0;if(n>>>0>31|(1<>2]=l;m=a[l>>0]|0;n=(m<<24>>24)+-32|0}while(!(n>>>0>31|(1<>24==42){if((Ex(a[l+1>>0]|0)|0)!=0?(H=c[G>>2]|0,(a[H+2>>0]|0)==36):0){l=H+1|0;c[i+((a[l>>0]|0)+-48<<2)>>2]=10;l=c[h+((a[l>>0]|0)+-48<<3)>>2]|0;n=1;m=H+3|0}else{if(p|0){e=-1;break}if(x){v=(c[f>>2]|0)+(4-1)&~(4-1);l=c[v>>2]|0;c[f>>2]=v+4}else l=0;n=0;m=(c[G>>2]|0)+1|0}c[G>>2]=m;v=(l|0)<0;u=v?0-l|0:l;o=v?o|8192:o;v=n}else{l=Qx(G)|0;if((l|0)<0){e=-1;break}u=l;v=p;m=c[G>>2]|0}do if((a[m>>0]|0)==46){l=m+1|0;if((a[l>>0]|0)!=42){c[G>>2]=l;l=Qx(G)|0;m=c[G>>2]|0;break}if(Ex(a[m+2>>0]|0)|0?(E=c[G>>2]|0,(a[E+3>>0]|0)==36):0){l=E+2|0;c[i+((a[l>>0]|0)+-48<<2)>>2]=10;l=c[h+((a[l>>0]|0)+-48<<3)>>2]|0;m=E+4|0;c[G>>2]=m;break}if(v|0){e=-1;break a}if(x){s=(c[f>>2]|0)+(4-1)&~(4-1);l=c[s>>2]|0;c[f>>2]=s+4}else l=0;m=(c[G>>2]|0)+2|0;c[G>>2]=m}else l=-1;while(0);s=0;while(1){if(((a[m>>0]|0)+-65|0)>>>0>57){e=-1;break a}n=m;m=m+1|0;c[G>>2]=m;n=a[(a[n>>0]|0)+-65+(6208+(s*58|0))>>0]|0;p=n&255;if((p+-1|0)>>>0>=8)break;else s=p}if(!(n<<24>>24)){e=-1;break}q=(t|0)>-1;do if(n<<24>>24==19)if(q){e=-1;break a}else w=54;else{if(q){c[i+(t<<2)>>2]=p;q=h+(t<<3)|0;t=c[q+4>>2]|0;w=I;c[w>>2]=c[q>>2];c[w+4>>2]=t;w=54;break}if(!x){e=0;break a}Rx(I,p,f,k);m=c[G>>2]|0;w=55}while(0);if((w|0)==54){w=0;if(x)w=55;else l=0}d:do if((w|0)==55){w=0;m=a[m+-1>>0]|0;m=(s|0)!=0&(m&15|0)==3?m&-33:m;n=o&-65537;t=(o&8192|0)==0?o:n;e:do switch(m|0){case 110:switch((s&255)<<24>>24){case 0:{c[c[I>>2]>>2]=e;l=0;break d}case 1:{c[c[I>>2]>>2]=e;l=0;break d}case 2:{l=c[I>>2]|0;c[l>>2]=e;c[l+4>>2]=((e|0)<0)<<31>>31;l=0;break d}case 3:{b[c[I>>2]>>1]=e;l=0;break d}case 4:{a[c[I>>2]>>0]=e;l=0;break d}case 6:{c[c[I>>2]>>2]=e;l=0;break d}case 7:{l=c[I>>2]|0;c[l>>2]=e;c[l+4>>2]=((e|0)<0)<<31>>31;l=0;break d}default:{l=0;break d}}case 112:{m=120;l=l>>>0>8?l:8;n=t|8;w=67;break}case 88:case 120:{n=t;w=67;break}case 111:{q=I;q=Tx(c[q>>2]|0,c[q+4>>2]|0,y)|0;n=z-q|0;o=0;p=46668;l=(t&8|0)==0|(l|0)>(n|0)?l:n+1|0;n=t;w=73;break}case 105:case 100:{n=I;m=c[n>>2]|0;n=c[n+4>>2]|0;if((n|0)<0){m=NO(0,0,m|0,n|0)|0;n=F()|0;o=I;c[o>>2]=m;c[o+4>>2]=n;o=1;p=46668;w=72;break e}else{o=(t&2049|0)!=0&1;p=(t&2048|0)==0?((t&1|0)==0?46668:46670):46669;w=72;break e}}case 117:{n=I;o=0;p=46668;m=c[n>>2]|0;n=c[n+4>>2]|0;w=72;break}case 99:{a[A>>0]=c[I>>2];r=A;o=0;p=46668;q=1;m=n;l=z;break}case 115:{s=c[I>>2]|0;s=(s|0)==0?46678:s;t=Vx(s,0,l)|0;K=(t|0)==0;r=s;o=0;p=46668;q=K?l:t-s|0;m=n;l=K?s+l|0:t;break}case 67:{c[C>>2]=c[I>>2];c[B>>2]=0;c[I>>2]=C;p=-1;w=79;break}case 83:{if(!l){Wx(d,32,u,0,t);l=0;w=89}else{p=l;w=79}break}case 65:case 71:case 70:case 69:case 97:case 103:case 102:case 101:{l=Fb[j&1](d,+g[I>>3],u,l,t,m)|0;break d}default:{o=0;p=46668;q=l;m=t;l=z}}while(0);f:do if((w|0)==67){q=I;q=Sx(c[q>>2]|0,c[q+4>>2]|0,y,m&32)|0;p=I;p=(n&8|0)==0|(c[p>>2]|0)==0&(c[p+4>>2]|0)==0;o=p?0:2;p=p?46668:46668+(m>>>4)|0;w=73}else if((w|0)==72){q=Ux(m,n,y)|0;n=t;w=73}else if((w|0)==79){w=0;o=c[I>>2]|0;l=0;while(1){m=c[o>>2]|0;if(!m)break;m=Xx(D,m)|0;n=(m|0)<0;if(n|m>>>0>(p-l|0)>>>0){w=83;break}l=m+l|0;if(p>>>0>l>>>0)o=o+4|0;else break}if((w|0)==83){w=0;if(n){e=-1;break a}}Wx(d,32,u,l,t);if(!l){l=0;w=89}else{n=c[I>>2]|0;o=0;while(1){m=c[n>>2]|0;if(!m){w=89;break f}m=Xx(D,m)|0;o=m+o|0;if((o|0)>(l|0)){w=89;break f}Px(d,D,m);if(o>>>0>=l>>>0){w=89;break}else n=n+4|0}}}while(0);if((w|0)==73){w=0;m=I;m=(c[m>>2]|0)!=0|(c[m+4>>2]|0)!=0;K=(l|0)!=0|m;m=z-q+((m^1)&1)|0;r=K?q:y;q=K?((l|0)>(m|0)?l:m):0;m=(l|0)>-1?n&-65537:n;l=z}else if((w|0)==89){w=0;Wx(d,32,u,l,t^8192);l=(u|0)>(l|0)?u:l;break}t=l-r|0;s=(q|0)<(t|0)?t:q;K=s+o|0;l=(u|0)<(K|0)?K:u;Wx(d,32,l,K,m);Px(d,p,o);Wx(d,48,l,K,m^65536);Wx(d,48,s,t,0);Px(d,r,t);Wx(d,32,l,K,m^8192)}while(0);n=v}g:do if((w|0)==92)if(!d)if(!n)e=0;else{e=1;while(1){l=c[i+(e<<2)>>2]|0;if(!l)break;Rx(h+(e<<3)|0,l,f,k);e=e+1|0;if(e>>>0>=10){e=1;break g}}while(1){if(c[i+(e<<2)>>2]|0){e=-1;break g}e=e+1|0;if(e>>>0>=10){e=1;break}}}while(0);yb=J;return e|0}function Nx(a){a=a|0;return 1}function Ox(a){a=a|0;return}function Px(a,b,d){a=a|0;b=b|0;d=d|0;if(!(c[a>>2]&32))$x(b,d,a)|0;return}function Qx(b){b=b|0;var d=0,e=0;if(!(Ex(a[c[b>>2]>>0]|0)|0))d=0;else{d=0;do{e=c[b>>2]|0;d=(d*10|0)+-48+(a[e>>0]|0)|0;e=e+1|0;c[b>>2]=e}while((Ex(a[e>>0]|0)|0)!=0)}return d|0}function Rx(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,h=0.0;a:do if(b>>>0<=20)do switch(b|0){case 9:{b=(c[d>>2]|0)+(4-1)&~(4-1);e=c[b>>2]|0;c[d>>2]=b+4;c[a>>2]=e;break a}case 10:{e=(c[d>>2]|0)+(4-1)&~(4-1);b=c[e>>2]|0;c[d>>2]=e+4;e=a;c[e>>2]=b;c[e+4>>2]=((b|0)<0)<<31>>31;break a}case 11:{e=(c[d>>2]|0)+(4-1)&~(4-1);b=c[e>>2]|0;c[d>>2]=e+4;e=a;c[e>>2]=b;c[e+4>>2]=0;break a}case 12:{e=(c[d>>2]|0)+(8-1)&~(8-1);b=e;f=c[b>>2]|0;b=c[b+4>>2]|0;c[d>>2]=e+8;e=a;c[e>>2]=f;c[e+4>>2]=b;break a}case 13:{f=(c[d>>2]|0)+(4-1)&~(4-1);e=c[f>>2]|0;c[d>>2]=f+4;e=(e&65535)<<16>>16;f=a;c[f>>2]=e;c[f+4>>2]=((e|0)<0)<<31>>31;break a}case 14:{f=(c[d>>2]|0)+(4-1)&~(4-1);e=c[f>>2]|0;c[d>>2]=f+4;f=a;c[f>>2]=e&65535;c[f+4>>2]=0;break a}case 15:{f=(c[d>>2]|0)+(4-1)&~(4-1);e=c[f>>2]|0;c[d>>2]=f+4;e=(e&255)<<24>>24;f=a;c[f>>2]=e;c[f+4>>2]=((e|0)<0)<<31>>31;break a}case 16:{f=(c[d>>2]|0)+(4-1)&~(4-1);e=c[f>>2]|0;c[d>>2]=f+4;f=a;c[f>>2]=e&255;c[f+4>>2]=0;break a}case 17:{f=(c[d>>2]|0)+(8-1)&~(8-1);h=+g[f>>3];c[d>>2]=f+8;g[a>>3]=h;break a}case 18:{Sb[e&63](a,d);break a}default:break a}while(0);while(0);return}function Sx(b,c,e,f){b=b|0;c=c|0;e=e|0;f=f|0;if(!((b|0)==0&(c|0)==0))do{e=e+-1|0;a[e>>0]=d[6672+(b&15)>>0]|0|f;b=RO(b|0,c|0,4)|0;c=F()|0}while(!((b|0)==0&(c|0)==0));return e|0}function Tx(b,c,d){b=b|0;c=c|0;d=d|0;if(!((b|0)==0&(c|0)==0))do{d=d+-1|0;a[d>>0]=b&7|48;b=RO(b|0,c|0,3)|0;c=F()|0}while(!((b|0)==0&(c|0)==0));return d|0}function Ux(b,c,d){b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;if(c>>>0>0|(c|0)==0&b>>>0>4294967295){do{e=b;b=QO(b|0,c|0,10,0)|0;f=c;c=F()|0;g=LO(b|0,c|0,10,0)|0;g=NO(e|0,f|0,g|0,F()|0)|0;F()|0;d=d+-1|0;a[d>>0]=g&255|48}while(f>>>0>9|(f|0)==9&e>>>0>4294967295);c=b}else c=b;if(c)do{g=c;c=(c>>>0)/10|0;d=d+-1|0;a[d>>0]=g-(c*10|0)|48}while(g>>>0>=10);return d|0}function Vx(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;h=d&255;f=(e|0)!=0;a:do if(f&(b&3|0)!=0){g=d&255;while(1){if((a[b>>0]|0)==g<<24>>24){i=6;break a}b=b+1|0;e=e+-1|0;f=(e|0)!=0;if(!(f&(b&3|0)!=0)){i=5;break}}}else i=5;while(0);if((i|0)==5)if(f)i=6;else i=16;b:do if((i|0)==6){g=d&255;if((a[b>>0]|0)==g<<24>>24)if(!e){i=16;break}else break;f=B(h,16843009)|0;c:do if(e>>>0>3)while(1){h=c[b>>2]^f;if((h&-2139062144^-2139062144)&h+-16843009|0)break c;b=b+4|0;e=e+-4|0;if(e>>>0<=3){i=11;break}}else i=11;while(0);if((i|0)==11)if(!e){i=16;break}while(1){if((a[b>>0]|0)==g<<24>>24)break b;e=e+-1|0;if(!e){i=16;break}else b=b+1|0}}while(0);if((i|0)==16)b=0;return b|0}function Wx(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;g=yb;yb=yb+256|0;f=g;if((c|0)>(d|0)&(e&73728|0)==0){e=c-d|0;_O(f|0,b<<24>>24|0,(e>>>0<256?e:256)|0)|0;if(e>>>0>255){b=c-d|0;do{Px(a,f,256);e=e+-256|0}while(e>>>0>255);e=b&255}Px(a,f,e)}yb=g;return}function Xx(a,b){a=a|0;b=b|0;if(!a)a=0;else a=Yx(a,b,0)|0;return a|0}function Yx(b,d,e){b=b|0;d=d|0;e=e|0;do if(b){if(d>>>0<128){a[b>>0]=d;b=1;break}if(!(c[c[(Zx()|0)+188>>2]>>2]|0))if((d&-128|0)==57216){a[b>>0]=d;b=1;break}else{c[(mx()|0)>>2]=25;b=-1;break}if(d>>>0<2048){a[b>>0]=d>>>6|192;a[b+1>>0]=d&63|128;b=2;break}if(d>>>0<55296|(d&-8192|0)==57344){a[b>>0]=d>>>12|224;a[b+1>>0]=d>>>6&63|128;a[b+2>>0]=d&63|128;b=3;break}if((d+-65536|0)>>>0<1048576){a[b>>0]=d>>>18|240;a[b+1>>0]=d>>>12&63|128;a[b+2>>0]=d>>>6&63|128;a[b+3>>0]=d&63|128;b=4;break}else{c[(mx()|0)>>2]=25;b=-1;break}}else b=1;while(0);return b|0}function Zx(){return _x()|0}function _x(){return 16020}function $x(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;f=e+16|0;g=c[f>>2]|0;if(!g)if(!(ay(e)|0)){g=c[f>>2]|0;h=5}else f=0;else h=5;a:do if((h|0)==5){j=e+20|0;i=c[j>>2]|0;f=i;if((g-i|0)>>>0>>0){f=Hb[c[e+36>>2]&63](e,b,d)|0;break}b:do if((a[e+75>>0]|0)<0|(d|0)==0){h=0;g=b}else{i=d;while(1){g=i+-1|0;if((a[b+g>>0]|0)==10)break;if(!g){h=0;g=b;break b}else i=g}f=Hb[c[e+36>>2]&63](e,b,i)|0;if(f>>>0>>0)break a;h=i;g=b+i|0;d=d-i|0;f=c[j>>2]|0}while(0);YO(f|0,g|0,d|0)|0;c[j>>2]=(c[j>>2]|0)+d;f=h+d|0}while(0);return f|0}function ay(b){b=b|0;var d=0,e=0;d=b+74|0;e=a[d>>0]|0;a[d>>0]=e+255|e;d=c[b>>2]|0;if(!(d&8)){c[b+8>>2]=0;c[b+4>>2]=0;e=c[b+44>>2]|0;c[b+28>>2]=e;c[b+20>>2]=e;c[b+16>>2]=e+(c[b+48>>2]|0);b=0}else{c[b>>2]=d|32;b=-1}return b|0}function by(a){a=+a;var b=0;g[h>>3]=a;b=c[h>>2]|0;E(c[h+4>>2]|0);return b|0}function cy(a,b){a=+a;b=b|0;var d=0,e=0,f=0;g[h>>3]=a;d=c[h>>2]|0;e=c[h+4>>2]|0;f=RO(d|0,e|0,52)|0;F()|0;switch(f&2047){case 0:{if(a!=0.0){a=+cy(a*18446744073709551616.0,b);d=(c[b>>2]|0)+-64|0}else d=0;c[b>>2]=d;break}case 2047:break;default:{c[b>>2]=(f&2047)+-1022;c[h>>2]=d;c[h+4>>2]=e&-2146435073|1071644672;a=+g[h>>3]}}return +a}function dy(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=a+20|0;f=c[e>>2]|0;a=(c[a+16>>2]|0)-f|0;a=a>>>0>d>>>0?d:a;YO(f|0,b|0,a|0)|0;c[e>>2]=(c[e>>2]|0)+a;return d|0}function ey(){return 16264}function fy(){var a=0;a=(c[c[(gy()|0)+188>>2]>>2]|0)==0;return (a?1:4)|0}function gy(){return _x()|0}function hy(){return 16268}function iy(){return 16272}function jy(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 ky(a){a=a|0;return (((a|32)+-97|0)>>>0<6|(Ex(a)|0)!=0)&1|0}function ly(a){a=a|0;if(a>>>0>4294963200){c[(mx()|0)>>2]=0-a;a=-1}return a|0}function my(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;m=yb;yb=yb+208|0;j=m;k=m+192|0;h=B(d,b)|0;i=k;c[i>>2]=1;c[i+4>>2]=0;a:do if(h|0){i=0-d|0;c[j+4>>2]=d;c[j>>2]=d;f=2;b=d;g=d;while(1){b=b+d+g|0;c[j+(f<<2)>>2]=b;if(b>>>0>>0){n=g;f=f+1|0;g=b;b=n}else break}g=a+h+i|0;if(g>>>0>a>>>0){h=g;f=1;b=1;do{do if((b&3|0)!=3){b=f+-1|0;if((c[j+(b<<2)>>2]|0)>>>0<(h-a|0)>>>0)ny(a,d,e,f,j);else py(a,d,e,k,f,0,j);if((f|0)==1){qy(k,1);f=0;break}else{qy(k,b);f=1;break}}else{ny(a,d,e,f,j);oy(k,2);f=f+2|0}while(0);b=c[k>>2]|1;c[k>>2]=b;a=a+d|0}while(a>>>0>>0)}else{f=1;b=1}py(a,d,e,k,f,0,j);g=k+4|0;while(1){if((f|0)==1&(b|0)==1)if(!(c[g>>2]|0))break a;else l=19;else if((f|0)<2)l=19;else{qy(k,2);n=f+-2|0;c[k>>2]=c[k>>2]^7;oy(k,1);py(a+(0-(c[j+(n<<2)>>2]|0))+i|0,d,e,k,f+-1|0,1,j);qy(k,1);b=c[k>>2]|1;c[k>>2]=b;a=a+i|0;py(a,d,e,k,n,1,j);f=n}if((l|0)==19){l=0;b=ry(k)|0;oy(k,b);a=a+i|0;f=b+f|0;b=c[k>>2]|0}}}while(0);yb=m;return}function ny(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0;m=yb;yb=yb+240|0;l=m;c[l>>2]=a;a:do if((e|0)>1){k=0-b|0;i=a;g=e;e=1;h=a;while(1){i=i+k|0;j=g+-2|0;a=i+(0-(c[f+(j<<2)>>2]|0))|0;if((Gb[d&63](h,a)|0)>-1?(Gb[d&63](h,i)|0)>-1:0)break a;h=l+(e<<2)|0;if((Gb[d&63](a,i)|0)>-1){c[h>>2]=a;g=g+-1|0}else{c[h>>2]=i;a=i;g=j}e=e+1|0;if((g|0)<=1)break a;i=a;h=c[l>>2]|0}}else e=1;while(0);ty(b,l,e);yb=m;return}function oy(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=a+4|0;if(b>>>0>31){e=c[f>>2]|0;c[a>>2]=e;c[f>>2]=0;b=b+-32|0;d=0}else{d=c[f>>2]|0;e=c[a>>2]|0}c[a>>2]=d<<32-b|e>>>b;c[f>>2]=d>>>b;return}function py(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;o=yb;yb=yb+240|0;m=o+232|0;n=o;p=c[e>>2]|0;c[m>>2]=p;j=c[e+4>>2]|0;k=m+4|0;c[k>>2]=j;c[n>>2]=a;a:do if((p|0)!=1|(j|0)!=0?(l=0-b|0,i=a+(0-(c[h+(f<<2)>>2]|0))|0,(Gb[d&63](i,a)|0)>=1):0){e=1;g=(g|0)==0;j=i;while(1){if(g&(f|0)>1){g=a+l|0;i=c[h+(f+-2<<2)>>2]|0;if((Gb[d&63](g,j)|0)>-1){i=10;break a}if((Gb[d&63](g+(0-i)|0,j)|0)>-1){i=10;break a}}g=e+1|0;c[n+(e<<2)>>2]=j;p=ry(m)|0;oy(m,p);f=p+f|0;if(!((c[m>>2]|0)!=1|(c[k>>2]|0)!=0)){e=g;a=j;i=10;break a}a=j+(0-(c[h+(f<<2)>>2]|0))|0;if((Gb[d&63](a,c[n>>2]|0)|0)<1){a=j;e=g;g=0;i=9;break}else{p=j;e=g;g=1;j=a;a=p}}}else{e=1;i=9}while(0);if((i|0)==9?(g|0)==0:0)i=10;if((i|0)==10){ty(b,n,e);ny(a,b,d,f,h)}yb=o;return}function qy(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=a+4|0;if(b>>>0>31){e=c[a>>2]|0;c[f>>2]=e;c[a>>2]=0;b=b+-32|0;d=0}else{d=c[a>>2]|0;e=c[f>>2]|0}c[f>>2]=d>>>(32-b|0)|e<>2]=d<>2]|0)+-1|0)|0;if(!b){b=sy(c[a+4>>2]|0)|0;return ((b|0)==0?0:b+32|0)|0}else return b|0;return 0}function sy(a){a=a|0;var b=0;if(a)if(!(a&1)){b=a;a=0;while(1){a=a+1|0;if(!(b&2))b=b>>>1;else break}}else a=0;else a=32;return a|0}function ty(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;h=yb;yb=yb+256|0;e=h;a:do if((d|0)>=2?(g=b+(d<<2)|0,c[g>>2]=e,a|0):0)while(1){f=a>>>0<256?a:256;YO(e|0,c[b>>2]|0,f|0)|0;e=0;do{i=b+(e<<2)|0;e=e+1|0;YO(c[i>>2]|0,c[b+(e<<2)>>2]|0,f|0)|0;c[i>>2]=(c[i>>2]|0)+f}while((e|0)!=(d|0));a=a-f|0;if(!a)break a;e=c[g>>2]|0}while(0);yb=h;return}function uy(b,e){b=b|0;e=e|0;var f=0,g=0;f=0;while(1){if((d[10528+f>>0]|0)==(b|0)){g=4;break}f=f+1|0;if((f|0)==87){b=87;g=5;break}}if((g|0)==4)if(!f)f=10624;else{b=f;g=5}if((g|0)==5){f=10624;do{do{g=f;f=f+1|0}while((a[g>>0]|0)!=0);b=b+-1|0}while((b|0)!=0)}return vy(f,c[e+20>>2]|0)|0}function vy(a,b){a=a|0;b=b|0;return wy(a,b)|0}function wy(a,b){a=a|0;b=b|0;if(!b)b=0;else b=xy(c[b>>2]|0,c[b+4>>2]|0,a)|0;return ((b|0)==0?a:b)|0}function xy(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;o=(c[b>>2]|0)+1794895138|0;h=yy(c[b+8>>2]|0,o)|0;f=yy(c[b+12>>2]|0,o)|0;g=yy(c[b+16>>2]|0,o)|0;a:do if((h>>>0>>2>>>0?(n=d-(h<<2)|0,f>>>0>>0&g>>>0>>0):0)?((g|f)&3|0)==0:0){n=f>>>2;m=g>>>2;l=0;while(1){j=h>>>1;k=l+j|0;i=k<<1;g=i+n|0;f=yy(c[b+(g<<2)>>2]|0,o)|0;g=yy(c[b+(g+1<<2)>>2]|0,o)|0;if(!(g>>>0>>0&f>>>0<(d-g|0)>>>0)){f=0;break a}if(a[b+(g+f)>>0]|0){f=0;break a}f=Dx(e,b+g|0)|0;if(!f)break;f=(f|0)<0;if((h|0)==1){f=0;break a}l=f?l:k;h=f?j:h-j|0}f=i+m|0;g=yy(c[b+(f<<2)>>2]|0,o)|0;f=yy(c[b+(f+1<<2)>>2]|0,o)|0;if(f>>>0>>0&g>>>0<(d-f|0)>>>0)f=(a[b+(f+g)>>0]|0)==0?b+f|0:0;else f=0}else f=0;while(0);return f|0}function yy(a,b){a=a|0;b=b|0;var c=0;c=UO(a|0)|0;return ((b|0)==0?a:c)|0}function zy(a){a=a|0;return uy(a,c[(Ay()|0)+188>>2]|0)|0}function Ay(){return _x()|0}function By(b,e,f){b=b|0;e=e|0;f=f|0;var g=0.0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;switch(e|0){case 0:{l=-149;m=24;j=4;break}case 1:{l=-1074;m=53;j=4;break}case 2:{l=-1074;m=53;j=4;break}default:g=0.0}a:do if((j|0)==4){o=b+4|0;n=b+104|0;do{e=c[o>>2]|0;if(e>>>0<(c[n>>2]|0)>>>0){c[o>>2]=e+1;e=d[e>>0]|0}else e=wx(b)|0}while((xx(e)|0)!=0);b:do switch(e|0){case 43:case 45:{i=1-(((e|0)==45&1)<<1)|0;e=c[o>>2]|0;if(e>>>0<(c[n>>2]|0)>>>0){c[o>>2]=e+1;h=d[e>>0]|0;break b}else{h=wx(b)|0;break b}}default:{h=e;i=1}}while(0);e=0;while(1){if((h|32|0)!=(a[46718+e>>0]|0))break;do if(e>>>0<7){h=c[o>>2]|0;if(h>>>0<(c[n>>2]|0)>>>0){c[o>>2]=h+1;h=d[h>>0]|0;break}else{h=wx(b)|0;break}}while(0);e=e+1|0;if(e>>>0>=8){e=8;break}}c:do switch(e&2147483647|0){case 8:break;case 3:{j=23;break}default:{k=(f|0)!=0;if(k&e>>>0>3)if((e|0)==8)break c;else{j=23;break c}d:do if(!e){e=0;while(1){if((h|32|0)!=(a[46727+e>>0]|0))break d;do if(e>>>0<2){h=c[o>>2]|0;if(h>>>0<(c[n>>2]|0)>>>0){c[o>>2]=h+1;h=d[h>>0]|0;break}else{h=wx(b)|0;break}}while(0);e=e+1|0;if(e>>>0>=3){e=3;break}}}while(0);switch(e|0){case 3:{e=c[o>>2]|0;if(e>>>0<(c[n>>2]|0)>>>0){c[o>>2]=e+1;e=d[e>>0]|0}else e=wx(b)|0;if((e|0)!=40){if(!(c[n>>2]|0)){g=q;break a}c[o>>2]=(c[o>>2]|0)+-1;g=q;break a}e=1;while(1){h=c[o>>2]|0;if(h>>>0<(c[n>>2]|0)>>>0){c[o>>2]=h+1;h=d[h>>0]|0}else h=wx(b)|0;if(!((h+-48|0)>>>0<10|(h+-65|0)>>>0<26)?!((h|0)==95|(h+-97|0)>>>0<26):0)break;e=e+1|0}if((h|0)==41){g=q;break a}h=(c[n>>2]|0)==0;if(!h)c[o>>2]=(c[o>>2]|0)+-1;if(!k){c[(mx()|0)>>2]=28;ux(b,0,0);g=0.0;break a}if(!e){g=q;break a}while(1){e=e+-1|0;if(!h)c[o>>2]=(c[o>>2]|0)+-1;if(!e){g=q;break a}}}case 0:{if((h|0)==48){e=c[o>>2]|0;if(e>>>0<(c[n>>2]|0)>>>0){c[o>>2]=e+1;e=d[e>>0]|0}else e=wx(b)|0;if((e|32|0)==120){g=+Cy(b,m,l,i,f);break a}if(!(c[n>>2]|0))e=48;else{c[o>>2]=(c[o>>2]|0)+-1;e=48}}else e=h;g=+Dy(b,e,m,l,i,f);break a}default:{if(c[n>>2]|0)c[o>>2]=(c[o>>2]|0)+-1;c[(mx()|0)>>2]=28;ux(b,0,0);g=0.0;break a}}}}while(0);if((j|0)==23){h=(c[n>>2]|0)==0;if(!h)c[o>>2]=(c[o>>2]|0)+-1;if((f|0)!=0&e>>>0>3)do{if(!h)c[o>>2]=(c[o>>2]|0)+-1;e=e+-1|0}while(e>>>0>3)}g=+(i|0)*r}while(0);return +g}function Cy(a,b,e,f,g){a=a|0;b=b|0;e=e|0;f=f|0;g=g|0;var h=0.0,i=0,j=0,k=0.0,l=0,m=0,n=0.0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;y=a+4|0;i=c[y>>2]|0;x=a+104|0;if(i>>>0<(c[x>>2]|0)>>>0){c[y>>2]=i+1;i=d[i>>0]|0}else i=wx(a)|0;j=0;a:while(1){switch(i|0){case 46:{w=10;break a}case 48:break;default:{p=0;m=j;l=0;j=0;break a}}i=c[y>>2]|0;if(i>>>0<(c[x>>2]|0)>>>0){c[y>>2]=i+1;i=d[i>>0]|0}else i=wx(a)|0;j=1}if((w|0)==10){i=c[y>>2]|0;if(i>>>0<(c[x>>2]|0)>>>0){c[y>>2]=i+1;i=d[i>>0]|0}else i=wx(a)|0;if((i|0)==48){l=0;j=0;do{i=c[y>>2]|0;if(i>>>0<(c[x>>2]|0)>>>0){c[y>>2]=i+1;i=d[i>>0]|0}else i=wx(a)|0;l=MO(l|0,j|0,-1,-1)|0;j=F()|0}while((i|0)==48);p=1;m=1}else{p=1;m=j;l=0;j=0}}o=0;n=1.0;h=0.0;v=0;s=p;t=m;u=0;m=0;while(1){q=i+-48|0;p=i|32;if(q>>>0>=10){r=(i|0)==46;if(!(r|(p+-97|0)>>>0<6))break;if(r)if(!s){s=1;k=n;q=v;r=t;l=m;j=u;p=u}else{i=46;break}else w=24}else w=24;if((w|0)==24){w=0;i=(i|0)>57?p+-87|0:q;do if(!((u|0)<0|(u|0)==0&m>>>0<8))if((u|0)<0|(u|0)==0&m>>>0<14){n=n*.0625;k=n;h=h+n*+(i|0);i=v;break}else{i=(o|0)!=0|(i|0)==0;o=i?o:1;k=n;h=i?h:h+n*.5;i=v;break}else{k=n;i=i+(v<<4)|0}while(0);m=MO(m|0,u|0,1,0)|0;q=i;r=1;p=F()|0}i=c[y>>2]|0;if(i>>>0<(c[x>>2]|0)>>>0){c[y>>2]=i+1;i=d[i>>0]|0}else i=wx(a)|0;n=k;v=q;t=r;u=p}do if(!t){i=(c[x>>2]|0)==0;if(!i)c[y>>2]=(c[y>>2]|0)+-1;if(g){if(!i?(c[y>>2]=(c[y>>2]|0)+-1,!((s|0)==0|i)):0)c[y>>2]=(c[y>>2]|0)+-1}else ux(a,0,0);h=+(f|0)*0.0}else{o=(s|0)==0;p=o?m:l;o=o?u:j;if((u|0)<0|(u|0)==0&m>>>0<8){j=v;l=u;do{j=j<<4;w=m;m=MO(m|0,l|0,1,0)|0;v=l;l=F()|0}while((v|0)<0|(v|0)==0&w>>>0<7);m=j}else m=v;if((i|32|0)==112){j=Ey(a,g)|0;i=F()|0;if((j|0)==0&(i|0)==-2147483648){if(!g){ux(a,0,0);h=0.0;break}if(!(c[x>>2]|0)){j=0;i=0}else{c[y>>2]=(c[y>>2]|0)+-1;j=0;i=0}}}else if(!(c[x>>2]|0)){j=0;i=0}else{c[y>>2]=(c[y>>2]|0)+-1;j=0;i=0}l=SO(p|0,o|0,2)|0;l=MO(l|0,F()|0,-32,-1)|0;l=MO(l|0,F()|0,j|0,i|0)|0;i=F()|0;if(!m){h=+(f|0)*0.0;break}y=0-e|0;g=((y|0)<0)<<31>>31;if((i|0)>(g|0)|(i|0)==(g|0)&l>>>0>y>>>0){c[(mx()|0)>>2]=68;h=+(f|0)*1797693134862315708145274.0e284*1797693134862315708145274.0e284;break}y=e+-106|0;g=((y|0)<0)<<31>>31;if((i|0)<(g|0)|(i|0)==(g|0)&l>>>0>>0){c[(mx()|0)>>2]=68;h=+(f|0)*2.2250738585072014e-308*2.2250738585072014e-308;break}if((m|0)>-1){j=m;do{y=!(h>=.5);j=j<<1|(y^1)&1;h=h+(y?h:h+-1.0);l=MO(l|0,i|0,-1,-1)|0;i=F()|0}while((j|0)>-1);n=h;m=j}else n=h;y=((b|0)<0)<<31>>31;e=NO(32,0,e|0,((e|0)<0)<<31>>31|0)|0;i=MO(e|0,F()|0,l|0,i|0)|0;e=F()|0;if((e|0)<(y|0)|(e|0)==(y|0)&i>>>0>>0)if((i|0)>0)w=65;else{j=0;i=84;w=67}else{i=b;w=65}if((w|0)==65)if((i|0)<53){j=i;i=84-i|0;w=67}else{k=0.0;h=+(f|0)}if((w|0)==67){h=+(f|0);k=+Gy(+Fy(1.0,i),h);i=j}f=(m&1|0)==0&(n!=0.0&(i|0)<32);h=(f?0.0:n)*h+(k+h*+((m+(f&1)|0)>>>0))-k;if(!(h!=0.0))c[(mx()|0)>>2]=68;h=+Iy(h,l)}while(0);return +h}function Dy(a,b,e,f,g,h){a=a|0;b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0.0,j=0,k=0.0,l=0,m=0,n=0,o=0,p=0,q=0.0,r=0.0,s=0,u=0.0,v=0,w=0,x=0,y=0,z=0,A=0,C=0,D=0,E=0,G=0,H=0,I=0,J=0.0;I=yb;yb=yb+512|0;E=I;G=f+e|0;H=0-G|0;D=a+4|0;C=a+104|0;j=0;a:while(1){switch(b|0){case 46:{z=7;break a}case 48:break;default:{v=0;p=j;j=0;o=0;break a}}b=c[D>>2]|0;if(b>>>0<(c[C>>2]|0)>>>0){c[D>>2]=b+1;b=d[b>>0]|0}else b=wx(a)|0;j=1}if((z|0)==7){b=c[D>>2]|0;if(b>>>0<(c[C>>2]|0)>>>0){c[D>>2]=b+1;b=d[b>>0]|0}else b=wx(a)|0;if((b|0)==48){j=0;b=0;while(1){j=MO(j|0,b|0,-1,-1)|0;o=F()|0;b=c[D>>2]|0;if(b>>>0<(c[C>>2]|0)>>>0){c[D>>2]=b+1;b=d[b>>0]|0}else b=wx(a)|0;if((b|0)==48)b=o;else{v=1;p=1;break}}}else{v=1;p=j;j=0;o=0}}c[E>>2]=0;n=b+-48|0;m=(b|0)==46;b:do if(m|n>>>0<10){A=E+496|0;w=0;l=0;s=0;x=v;y=p;z=n;p=0;n=0;c:while(1){do if(m)if(!x){x=1;j=p;o=n}else break c;else{p=MO(p|0,n|0,1,0)|0;n=F()|0;v=(b|0)!=48;if((l|0)>=125){if(!v)break;c[A>>2]=c[A>>2]|1;break}m=E+(l<<2)|0;if(!w)b=z;else b=b+-48+((c[m>>2]|0)*10|0)|0;c[m>>2]=b;w=w+1|0;y=(w|0)==9;w=y?0:w;l=l+(y&1)|0;s=v?p:s;y=1}while(0);b=c[D>>2]|0;if(b>>>0<(c[C>>2]|0)>>>0){c[D>>2]=b+1;b=d[b>>0]|0}else b=wx(a)|0;z=b+-48|0;m=(b|0)==46;if(!(m|z>>>0<10)){v=x;m=y;z=31;break b}}b=w;m=(y|0)!=0;z=39}else{w=0;l=0;s=0;m=p;p=0;n=0;z=31}while(0);do if((z|0)==31){A=(v|0)==0;j=A?p:j;o=A?n:o;m=(m|0)!=0;if(!(m&(b|32|0)==101))if((b|0)>-1){b=w;z=39;break}else{b=w;z=41;break}m=Ey(a,h)|0;b=F()|0;if((m|0)==0&(b|0)==-2147483648){if(!h){ux(a,0,0);i=0.0;break}if(!(c[C>>2]|0)){m=0;b=0}else{c[D>>2]=(c[D>>2]|0)+-1;m=0;b=0}}j=MO(m|0,b|0,j|0,o|0)|0;b=w;o=F()|0;z=43}while(0);if((z|0)==39)if(c[C>>2]|0){c[D>>2]=(c[D>>2]|0)+-1;if(m)z=43;else z=42}else z=41;if((z|0)==41)if(m)z=43;else z=42;do if((z|0)==42){c[(mx()|0)>>2]=28;ux(a,0,0);i=0.0}else if((z|0)==43){m=c[E>>2]|0;if(!m){i=+(g|0)*0.0;break}if(((n|0)<0|(n|0)==0&p>>>0<10)&((j|0)==(p|0)&(o|0)==(n|0))?(e|0)>30|(m>>>e|0)==0:0){i=+(g|0)*+(m>>>0);break}a=(f|0)/-2|0;D=((a|0)<0)<<31>>31;if((o|0)>(D|0)|(o|0)==(D|0)&j>>>0>a>>>0){c[(mx()|0)>>2]=68;i=+(g|0)*1797693134862315708145274.0e284*1797693134862315708145274.0e284;break}a=f+-106|0;D=((a|0)<0)<<31>>31;if((o|0)<(D|0)|(o|0)==(D|0)&j>>>0>>0){c[(mx()|0)>>2]=68;i=+(g|0)*2.2250738585072014e-308*2.2250738585072014e-308;break}if(b){if((b|0)<9){n=E+(l<<2)|0;m=c[n>>2]|0;while(1){m=m*10|0;if((b|0)>=8)break;else b=b+1|0}c[n>>2]=m}l=l+1|0}if((s|0)<9?(s|0)<=(j|0)&(j|0)<18:0){if((j|0)==9){i=+(g|0)*+((c[E>>2]|0)>>>0);break}if((j|0)<9){i=+(g|0)*+((c[E>>2]|0)>>>0)/+(c[12432+(8-j<<2)>>2]|0);break}a=e+27+(B(j,-3)|0)|0;b=c[E>>2]|0;if((a|0)>30|(b>>>a|0)==0){i=+(g|0)*+(b>>>0)*+(c[12432+(j+-10<<2)>>2]|0);break}}b=(j|0)%9|0;if(!b)m=0;else{s=(j|0)>-1?b:b+9|0;o=c[12432+(8-s<<2)>>2]|0;if(l){p=1e9/(o|0)|0;n=0;m=0;b=0;do{C=E+(b<<2)|0;D=c[C>>2]|0;a=(D>>>0)/(o>>>0)|0;D=D-(B(a,o)|0)|0;a=a+n|0;c[C>>2]=a;n=B(p,D)|0;a=(b|0)==(m|0)&(a|0)==0;j=a?j+-9|0:j;m=a?m+1&127:m;b=b+1|0}while((b|0)!=(l|0));if(!n)b=l;else{c[E+(l<<2)>>2]=n;b=l+1|0}}else{m=0;b=0}l=b;j=9-s+j|0}b=0;d:while(1){v=(j|0)<18;w=(j|0)==18;x=E+(m<<2)|0;while(1){if(!v){if(!w)break d;if((c[x>>2]|0)>>>0>=9007199){j=18;break d}}n=0;y=l;l=l+127|0;while(1){p=l&127;o=E+(p<<2)|0;l=SO(c[o>>2]|0,0,29)|0;l=MO(l|0,F()|0,n|0,0)|0;n=F()|0;if(n>>>0>0|(n|0)==0&l>>>0>1e9){s=QO(l|0,n|0,1e9,0)|0;a=LO(s|0,F()|0,1e9,0)|0;l=NO(l|0,n|0,a|0,F()|0)|0;F()|0}else s=0;c[o>>2]=l;a=(p|0)==(m|0);o=(p|0)!=(y+127&127|0)|a?y:(l|0)==0?p:y;if(a)break;else{n=s;y=o;l=p+-1|0}}b=b+-29|0;if(!s)l=y;else break}m=m+127&127;l=o+127&127;n=E+((o+126&127)<<2)|0;if((m|0)==(o|0))c[n>>2]=c[n>>2]|c[E+(l<<2)>>2];else l=y;c[E+(m<<2)>>2]=s;j=j+9|0}e:while(1){w=l+1&127;x=E+((l+127&127)<<2)|0;while(1){p=(j|0)==18;v=(j|0)>27?9:1;y=m;while(1){o=0;while(1){m=o+y&127;if((m|0)==(l|0)){z=92;break}m=c[E+(m<<2)>>2]|0;n=c[16276+(o<<2)>>2]|0;if(m>>>0>>0){z=92;break}if(m>>>0>n>>>0)break;if((o+1|0)>>>0<2)o=1;else{z=92;break}}if((z|0)==92?(z=0,p):0)break e;b=v+b|0;if((y|0)==(l|0))y=l;else break}p=(1<>>v;o=0;m=y;n=y;do{C=E+(n<<2)|0;D=c[C>>2]|0;a=(D>>>v)+o|0;c[C>>2]=a;o=B(D&p,s)|0;a=(n|0)==(m|0)&(a|0)==0;j=a?j+-9|0:j;m=a?m+1&127:m;n=n+1&127}while((n|0)!=(l|0));if(o|0){if((w|0)!=(m|0))break;c[x>>2]=c[x>>2]|1}}c[E+(l<<2)>>2]=o;l=w}i=0.0;j=l;m=0;do{n=m+y&127;l=j+1&127;if((n|0)==(j|0)){c[E+(l+-1<<2)>>2]=0;j=l}i=i*1.0e9+ +((c[E+(n<<2)>>2]|0)>>>0);m=m+1|0}while((m|0)!=2);u=+(g|0);k=i*u;n=b+53|0;o=n-f|0;p=(o|0)<(e|0);m=p?((o|0)>0?o:0):e;if((m|0)<53){J=+Gy(+Fy(1.0,105-m|0),k);q=+Hy(k,+Fy(1.0,53-m|0));r=J;i=q;q=J+(k-q)}else{r=0.0;i=0.0;q=k}l=y+2&127;if((l|0)!=(j|0)){l=c[E+(l<<2)>>2]|0;do if(l>>>0>=5e8){if((l|0)!=5e8){i=u*.75+i;break}if((y+3&127|0)==(j|0)){i=u*.5+i;break}else{i=u*.75+i;break}}else{if((l|0)==0?(y+3&127|0)==(j|0):0)break;i=u*.25+i}while(0);if((53-m|0)>1?!(+Hy(i,1.0)!=0.0):0)k=i+1.0;else k=i}else k=i;i=q+k-r;do if((n&2147483647|0)>(-2-G|0)){G=!(+t(+i)>=9007199254740992.0);b=b+((G^1)&1)|0;i=G?i:i*.5;if((b+50|0)<=(H|0)?!(k!=0.0&(p&((m|0)!=(o|0)|G))):0)break;c[(mx()|0)>>2]=68}while(0);i=+Iy(i,b)}while(0);yb=I;return +i}function Ey(a,b){a=a|0;b=b|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;i=a+4|0;e=c[i>>2]|0;j=a+104|0;if(e>>>0<(c[j>>2]|0)>>>0){c[i>>2]=e+1;f=d[e>>0]|0}else f=wx(a)|0;switch(f|0){case 43:case 45:{g=(f|0)==45&1;e=c[i>>2]|0;if(e>>>0<(c[j>>2]|0)>>>0){c[i>>2]=e+1;e=d[e>>0]|0}else e=wx(a)|0;f=e+-48|0;if((b|0)!=0&f>>>0>9)if(!(c[j>>2]|0)){f=0;e=-2147483648}else{c[i>>2]=(c[i>>2]|0)+-1;k=14}else k=12;break}default:{g=0;e=f;f=f+-48|0;k=12}}if((k|0)==12)if(f>>>0>9)k=14;else{f=0;do{f=e+-48+(f*10|0)|0;e=c[i>>2]|0;if(e>>>0<(c[j>>2]|0)>>>0){c[i>>2]=e+1;e=d[e>>0]|0}else e=wx(a)|0;b=e+-48|0}while(b>>>0<10&(f|0)<214748364);h=((f|0)<0)<<31>>31;if(b>>>0<10){do{l=LO(f|0,h|0,10,0)|0;b=F()|0;e=MO(e|0,((e|0)<0)<<31>>31|0,-48,-1)|0;f=MO(e|0,F()|0,l|0,b|0)|0;h=F()|0;e=c[i>>2]|0;if(e>>>0<(c[j>>2]|0)>>>0){c[i>>2]=e+1;e=d[e>>0]|0}else e=wx(a)|0;b=e+-48|0}while(b>>>0<10&((h|0)<21474836|(h|0)==21474836&f>>>0<2061584302));if(b>>>0<10){do{e=c[i>>2]|0;if(e>>>0<(c[j>>2]|0)>>>0){c[i>>2]=e+1;e=d[e>>0]|0}else e=wx(a)|0}while((e+-48|0)>>>0<10);e=h}else e=h}else e=h;if(c[j>>2]|0)c[i>>2]=(c[i>>2]|0)+-1;j=(g|0)==0;i=NO(0,0,f|0,e|0)|0;l=F()|0;f=j?f:i;e=j?e:l}if((k|0)==14)if(!(c[j>>2]|0)){f=0;e=-2147483648}else{c[i>>2]=(c[i>>2]|0)+-1;f=0;e=-2147483648}E(e|0);return f|0}function Fy(a,b){a=+a;b=b|0;var d=0,e=0;if((b|0)<=1023){if((b|0)<-1022){a=a*2.2250738585072014e-308;e=(b|0)<-2044;d=b+2044|0;a=e?a*2.2250738585072014e-308:a;b=e?((d|0)>-1022?d:-1022):b+1022|0}}else{a=a*8988465674311579538646525.0e283;d=(b|0)>2046;e=b+-2046|0;a=d?a*8988465674311579538646525.0e283:a;b=d?((e|0)<1023?e:1023):b+-1023|0}d=SO(b+1023|0,0,52)|0;e=F()|0;c[h>>2]=d;c[h+4>>2]=e;return +(a*+g[h>>3])}function Gy(a,b){a=+a;b=+b;return +(+Cx(a,b))}function Hy(a,b){a=+a;b=+b;return +(+Jy(a,b))}function Iy(a,b){a=+a;b=b|0;return +(+Fy(a,b))}function Jy(a,b){a=+a;b=+b;var d=0,e=0,f=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;g[h>>3]=a;j=c[h>>2]|0;l=c[h+4>>2]|0;g[h>>3]=b;n=c[h>>2]|0;o=c[h+4>>2]|0;e=RO(j|0,l|0,52)|0;F()|0;e=e&2047;m=RO(n|0,o|0,52)|0;F()|0;m=m&2047;p=l&-2147483648;i=SO(n|0,o|0,1)|0;k=F()|0;a:do if(!((i|0)==0&(k|0)==0)?(f=Ky(b)|0,d=(F()|0)&2147483647,!((e|0)==2047|(d>>>0>2146435072|(d|0)==2146435072&f>>>0>0))):0){d=SO(j|0,l|0,1)|0;f=F()|0;if(!(f>>>0>k>>>0|(f|0)==(k|0)&d>>>0>i>>>0))return +((d|0)==(i|0)&(f|0)==(k|0)?a*0.0:a);if(!e){d=SO(j|0,l|0,12)|0;f=F()|0;if((f|0)>-1|(f|0)==-1&d>>>0>4294967295){e=0;do{e=e+-1|0;d=SO(d|0,f|0,1)|0;f=F()|0}while((f|0)>-1|(f|0)==-1&d>>>0>4294967295)}else e=0;j=SO(j|0,l|0,1-e|0)|0;i=F()|0}else i=l&1048575|1048576;if(!m){f=SO(n|0,o|0,12)|0;k=F()|0;if((k|0)>-1|(k|0)==-1&f>>>0>4294967295){d=0;do{d=d+-1|0;f=SO(f|0,k|0,1)|0;k=F()|0}while((k|0)>-1|(k|0)==-1&f>>>0>4294967295)}else d=0;n=SO(n|0,o|0,1-d|0)|0;m=d;l=F()|0}else l=o&1048575|1048576;f=NO(j|0,i|0,n|0,l|0)|0;d=F()|0;k=(d|0)>-1|(d|0)==-1&f>>>0>4294967295;b:do if((e|0)>(m|0)){while(1){if(k){if((f|0)==0&(d|0)==0)break}else{f=j;d=i}j=SO(f|0,d|0,1)|0;i=F()|0;e=e+-1|0;f=NO(j|0,i|0,n|0,l|0)|0;d=F()|0;k=(d|0)>-1|(d|0)==-1&f>>>0>4294967295;if((e|0)<=(m|0))break b}b=a*0.0;break a}while(0);if(k){if((f|0)==0&(d|0)==0){b=a*0.0;break}}else{d=i;f=j}if(d>>>0<1048576|(d|0)==1048576&f>>>0<0)do{f=SO(f|0,d|0,1)|0;d=F()|0;e=e+-1|0}while(d>>>0<1048576|(d|0)==1048576&f>>>0<0);if((e|0)>0){o=MO(f|0,d|0,0,-1048576)|0;d=F()|0;e=SO(e|0,0,52)|0;d=d|(F()|0);e=o|e}else{e=RO(f|0,d|0,1-e|0)|0;d=F()|0}c[h>>2]=e;c[h+4>>2]=d|p;b=+g[h>>3]}else q=3;while(0);if((q|0)==3){b=a*b;b=b/b}return +b}function Ky(a){a=+a;var b=0;g[h>>3]=a;b=c[h>>2]|0;E(c[h+4>>2]|0);return b|0}function Ly(a){a=a|0;return 0}function My(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return d|0}function Ny(a,b){a=a|0;b=b|0;return -1|0}function Oy(b){b=b|0;var d=0,e=0,f=0;f=b;a:do if(!(f&3))e=5;else{d=f;while(1){if(!(a[b>>0]|0)){b=d;break a}b=b+1|0;d=b;if(!(d&3)){e=5;break}}}while(0);if((e|0)==5){while(1){d=c[b>>2]|0;if(!((d&-2139062144^-2139062144)&d+-16843009))b=b+4|0;else break}if((d&255)<<24>>24)do b=b+1|0;while((a[b>>0]|0)!=0)}return b-f|0}function Py(a,b){a=a|0;b=b|0;var d=0,e=0;d=yb;yb=yb+16|0;e=d;c[e>>2]=a;c[e+4>>2]=b;b=ly(_(91,e|0)|0)|0;yb=d;return b|0}function Qy(b,c){b=b|0;c=c|0;b=Ry(b,c)|0;return ((a[b>>0]|0)==(c&255)<<24>>24?b:0)|0}function Ry(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;f=d&255;a:do if(!f)b=b+(Oy(b)|0)|0;else{if(b&3){e=d&255;do{g=a[b>>0]|0;if(g<<24>>24==0?1:g<<24>>24==e<<24>>24)break a;b=b+1|0}while((b&3|0)!=0)}f=B(f,16843009)|0;e=c[b>>2]|0;b:do if(!((e&-2139062144^-2139062144)&e+-16843009))do{g=e^f;if((g&-2139062144^-2139062144)&g+-16843009|0)break b;b=b+4|0;e=c[b>>2]|0}while(!((e&-2139062144^-2139062144)&e+-16843009|0));while(0);e=d&255;while(1){g=a[b>>0]|0;if(g<<24>>24==0?1:g<<24>>24==e<<24>>24)break;else b=b+1|0}}while(0);return b|0}function Sy(){return}function Ty(a){a=a|0;if(Uy(a)|0)EO(a);return}function Uy(a){a=a|0;return (a|0)!=15980&((a|0)!=0&(a|0)!=55596)&1|0}function Vy(b,e,f,g){b=b|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0;l=yb;yb=yb+16|0;h=l;j=(g|0)==0?55624:g;g=c[j>>2]|0;a:do if(!e)if(!g)g=0;else k=19;else{i=(b|0)==0?h:b;if(!f)g=-2;else{if(!g){g=a[e>>0]|0;if(g<<24>>24>-1){c[i>>2]=g&255;g=g<<24>>24!=0&1;break}h=(c[c[(Wy()|0)+188>>2]>>2]|0)==0;g=a[e>>0]|0;if(h){c[i>>2]=g<<24>>24&57343;g=1;break}g=(g&255)+-194|0;if(g>>>0>50){k=19;break}g=c[5728+(g<<2)>>2]|0;h=f+-1|0;if(h){e=e+1|0;k=11}}else{h=f;k=11}b:do if((k|0)==11){b=d[e>>0]|0;m=b>>>3;if((m+-16|m+(g>>26))>>>0>7){k=19;break a}g=b+-128|g<<6;b=h+-1|0;if((g|0)<0)do{e=e+1|0;if(!b)break b;h=a[e>>0]|0;if((h&-64)<<24>>24!=-128){k=19;break a}g=(h&255)+-128|g<<6;b=b+-1|0}while((g|0)<0);c[j>>2]=0;c[i>>2]=g;g=f-b|0;break a}while(0);c[j>>2]=g;g=-2}}while(0);if((k|0)==19){c[j>>2]=0;c[(mx()|0)>>2]=25;g=-1}yb=l;return g|0}function Wy(){return _x()|0}function Xy(a,b){a=a|0;b=b|0;return Ex(a)|0}function Yy(a,b){a=a|0;b=b|0;return ky(a)|0}function Zy(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;o=yb;yb=yb+272|0;m=o;n=o+256|0;do if(!(a[d>>0]|0)){d=Ja(46731)|0;if(d|0?a[d>>0]|0:0)break;d=Ja(12464+(b*12|0)|0)|0;if(d|0?a[d>>0]|0:0)break;d=Ja(46738)|0;if(d|0?a[d>>0]|0:0)break;d=46743}while(0);e=0;a:while(1){switch(a[d+e>>0]|0){case 47:case 0:break a;default:{}}e=e+1|0;if(e>>>0>=15){e=15;break}}f=a[d>>0]|0;if(f<<24>>24!=46?(a[d+e>>0]|0)==0:0)if(f<<24>>24==67)l=15;else{k=d;l=16}else{d=46743;l=15}if((l|0)==15)if(!(a[d+1>>0]|0))l=18;else{k=d;l=16}b:do if((l|0)==16)if((Dx(k,46743)|0)!=0?(Dx(k,46751)|0)!=0:0){d=c[13907]|0;if(d|0)do{if(!(Dx(k,d+8|0)|0))break b;d=c[d+24>>2]|0}while((d|0)!=0);U(55632);d=c[13907]|0;c:do if(d|0){while(1){if(!(Dx(k,d+8|0)|0))break;d=c[d+24>>2]|0;if(!d)break c}$(55632);break b}while(0);d:do if(((c[13885]|0)==0?(g=Ja(46757)|0,(g|0)!=0):0)?(a[g>>0]|0)!=0:0){i=254-e|0;j=e+1|0;f=g;while(1){h=Ry(f,58)|0;d=a[h>>0]|0;g=h-f+((d<<24>>24!=0)<<31>>31)|0;if(g>>>0>>0){YO(m|0,f|0,g|0)|0;f=m+g|0;a[f>>0]=47;YO(f+1|0,k|0,e|0)|0;a[m+(j+g)>>0]=0;f=V(m|0,n|0)|0;if(f|0)break;d=a[h>>0]|0}f=h+(d<<24>>24!=0&1)|0;if(!(a[f>>0]|0)){l=41;break d}}d=DO(28)|0;if(!d){Py(f,c[n>>2]|0)|0;l=41;break}else{c[d>>2]=f;c[d+4>>2]=c[n>>2];n=d+8|0;YO(n|0,k|0,e|0)|0;a[n+e>>0]=0;c[d+24>>2]=c[13907];c[13907]=d;break}}else l=41;while(0);if((l|0)==41){d=DO(28)|0;if(d){c[d>>2]=c[3988];c[d+4>>2]=c[3989];n=d+8|0;YO(n|0,k|0,e|0)|0;a[n+e>>0]=0;c[d+24>>2]=c[13907];c[13907]=d}}$(55632);d=(b|0)==0&(d|0)==0?15952:d}else{d=k;l=18}while(0);do if((l|0)==18){if((b|0)==0?(a[d+1>>0]|0)==46:0){d=15952;break}d=0}while(0);yb=o;return d|0}function _y(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;j=yb;yb=yb+32|0;i=j;a:do if(!(Uy(d)|0)){h=(d|0)!=0;f=0;g=0;do{e=1<>2]|0;else e=Zy(g,(e|0)==0?57671:b)|0;f=f+((e|0)!=0&1)|0;c[i+(g<<2)>>2]=e;g=g+1|0}while((g|0)!=6);switch(f&2147483647|0){case 0:{d=55596;break a}case 1:{if((c[i>>2]|0)==15952){d=15980;break a}break}default:{}}}else{e=0;do{if(1<>2]=Zy(e,b)|0;e=e+1|0}while((e|0)!=6)}while(0);yb=j;return d|0}function $y(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;f=yb;yb=yb+16|0;g=f;c[g>>2]=e;e=Hx(a,b,d,g)|0;yb=f;return e|0}function az(a,b){a=a|0;b=b|0;bz(a,b)|0;return a|0}function bz(b,d){b=b|0;d=d|0;var e=0,f=0;e=d;a:do if(!((e^b)&3)){if(e&3)do{e=a[d>>0]|0;a[b>>0]=e;if(!(e<<24>>24))break a;d=d+1|0;b=b+1|0}while((d&3|0)!=0);e=c[d>>2]|0;if(!((e&-2139062144^-2139062144)&e+-16843009)){f=b;while(1){d=d+4|0;b=f+4|0;c[f>>2]=e;e=c[d>>2]|0;if((e&-2139062144^-2139062144)&e+-16843009|0)break;else f=b}}f=10}else f=10;while(0);if((f|0)==10){f=a[d>>0]|0;a[b>>0]=f;if(f<<24>>24)do{d=d+1|0;b=b+1|0;f=a[d>>0]|0;a[b>>0]=f}while(f<<24>>24!=0)}return b|0}function cz(a){a=a|0;var b=0,d=0;b=(dz()|0)+188|0;d=c[b>>2]|0;if(a|0)c[b>>2]=(a|0)==(-1|0)?55572:a;return ((d|0)==55572?-1:d)|0}function dz(){return _x()|0}function ez(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;if(d|0){e=a;while(1){d=d+-1|0;c[e>>2]=c[b>>2];if(!d)break;else{b=b+4|0;e=e+4|0}}}return a|0}function fz(a,b){a=+a;b=b|0;return +(+Fy(a,b))}function gz(a){a=+a;return ~~+$O(+a)|0}function hz(a){a=a|0;var b=0,c=0;b=(Oy(a)|0)+1|0;c=DO(b)|0;if(!c)a=0;else a=YO(c|0,a|0,b|0)|0;return a|0}function iz(a,b){a=a|0;b=b|0;var c=0;c=Oy(a)|0;return ((jz(a,1,c,b)|0)!=(c|0))<<31>>31|0}function jz(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;f=B(d,b)|0;d=(b|0)==0?0:d;if((c[e+76>>2]|0)>-1){g=(Nx(e)|0)==0;a=$x(a,f,e)|0;if(!g)Ox(e)}else a=$x(a,f,e)|0;if((a|0)!=(f|0))d=(a>>>0)/(b>>>0)|0;return d|0}function kz(a){a=a|0;var b=0;if(c[a+68>>2]|0){b=c[a+132>>2]|0;a=a+128|0;if(b|0)c[b+128>>2]=c[a>>2];a=c[a>>2]|0;if(!a)a=(lz()|0)+232|0;else a=a+132|0;c[a>>2]=b}return}function lz(){return _x()|0}function mz(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0;l=yb;yb=yb+16|0;j=l;k=e&255;a[j>>0]=k;g=b+16|0;h=c[g>>2]|0;if(!h)if(!(ay(b)|0)){h=c[g>>2]|0;i=4}else f=-1;else i=4;do if((i|0)==4){i=b+20|0;g=c[i>>2]|0;if(g>>>0>>0?(f=e&255,(f|0)!=(a[b+75>>0]|0)):0){c[i>>2]=g+1;a[g>>0]=k;break}if((Hb[c[b+36>>2]&63](b,j,1)|0)==1)f=d[j>>0]|0;else f=-1}while(0);yb=l;return f|0}function nz(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0;j=yb;yb=yb+16|0;g=j;a:do if(!e)b=0;else{do if(f|0){i=(b|0)==0?g:b;b=a[e>>0]|0;if(b<<24>>24>-1){c[i>>2]=b&255;b=b<<24>>24!=0&1;break a}h=(c[c[(oz()|0)+188>>2]>>2]|0)==0;b=a[e>>0]|0;if(h){c[i>>2]=b<<24>>24&57343;b=1;break a}b=(b&255)+-194|0;if(b>>>0<=50){g=e+1|0;h=c[5728+(b<<2)>>2]|0;if(f>>>0<4?h&-2147483648>>>((f*6|0)+-6|0)|0:0)break;b=d[g>>0]|0;f=b>>>3;if((f+-16|f+(h>>26))>>>0<=7){b=b+-128|h<<6;if((b|0)>=0){c[i>>2]=b;b=2;break a}g=(d[e+2>>0]|0)+-128|0;if(g>>>0<=63){g=g|b<<6;if((g|0)>=0){c[i>>2]=g;b=3;break a}b=(d[e+3>>0]|0)+-128|0;if(b>>>0<=63){c[i>>2]=b|g<<6;b=4;break a}}}}}while(0);c[(mx()|0)>>2]=25;b=-1}while(0);yb=j;return b|0}function oz(){return _x()|0}function pz(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;f=yb;yb=yb+16|0;e=f;if(Qy(46770,a[d>>0]|0)|0){g=qz(d)|0|32768;c[e>>2]=b;c[e+4>>2]=g;c[e+8>>2]=438;e=ly(Y(5,e|0)|0)|0;if((e|0)>=0){b=rz(e,d)|0;if(!b){aa(e|0)|0;b=0}}else b=0}else{c[(mx()|0)>>2]=28;b=0}yb=f;return b|0}function qz(b){b=b|0;var c=0,d=0,e=0;d=(Qy(b,43)|0)==0;c=a[b>>0]|0;d=d?c<<24>>24!=114&1:2;e=(Qy(b,120)|0)==0;d=e?d:d|128;b=(Qy(b,101)|0)==0;b=b?d:d|524288;b=c<<24>>24==114?b:b|64;b=c<<24>>24==119?b|512:b;return (c<<24>>24==97?b|1024:b)|0}function rz(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;j=yb;yb=yb+48|0;i=j+24|0;g=j+8|0;f=j;h=j+40|0;if(Qy(46770,a[d>>0]|0)|0){e=DO(1176)|0;if(!e)e=0;else{_O(e|0,0,144)|0;k=(Qy(d,43)|0)==0;d=a[d>>0]|0;if(k)c[e>>2]=d<<24>>24==114?8:4;if(d<<24>>24==97){c[f>>2]=b;c[f+4>>2]=3;d=X(221,f|0)|0;if(!(d&1024)){c[g>>2]=b;c[g+4>>2]=4;c[g+8>>2]=d|1024;X(221,g|0)|0}f=c[e>>2]|128;c[e>>2]=f}else f=c[e>>2]|0;c[e+60>>2]=b;c[e+44>>2]=e+152;c[e+48>>2]=1024;d=e+75|0;a[d>>0]=-1;if((f&8|0)==0?(c[i>>2]=b,c[i+4>>2]=21523,c[i+8>>2]=h,(Z(54,i|0)|0)==0):0)a[d>>0]=10;c[e+32>>2]=2;c[e+36>>2]=1;c[e+40>>2]=1;c[e+12>>2]=2;if(!(c[13884]|0))c[e+76>>2]=-1;sz(e)|0}}else{c[(mx()|0)>>2]=28;e=0}yb=j;return e|0}function sz(a){a=a|0;var b=0,d=0;b=tz()|0;c[a+56>>2]=c[b>>2];d=c[b>>2]|0;if(d|0)c[d+52>>2]=a;c[b>>2]=a;uz();return a|0}function tz(){U(55640);return 55648}function uz(){$(55640);return}function vz(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;if((c[a+76>>2]|0)>-1)f=Nx(a)|0;else f=0;kz(a);g=(c[a>>2]&1|0)!=0;if(!g){e=tz()|0;d=c[a+52>>2]|0;b=a+56|0;if(d|0)c[d+56>>2]=c[b>>2];b=c[b>>2]|0;if(b|0)c[b+52>>2]=d;if((c[e>>2]|0)==(a|0))c[e>>2]=b;uz()}b=wz(a)|0;b=Eb[c[a+12>>2]&127](a)|0|b;d=c[a+96>>2]|0;if(d|0)EO(d);if(g){if(f|0)Ox(a)}else EO(a);return b|0}function wz(a){a=a|0;var b=0,d=0;do if(a){if((c[a+76>>2]|0)<=-1){b=xz(a)|0;break}d=(Nx(a)|0)==0;b=xz(a)|0;if(!d)Ox(a)}else{if(!(c[4004]|0))b=0;else b=wz(c[4004]|0)|0;a=c[(tz()|0)>>2]|0;if(a)do{if((c[a+76>>2]|0)>-1)d=Nx(a)|0;else d=0;if((c[a+20>>2]|0)>>>0>(c[a+28>>2]|0)>>>0)b=xz(a)|0|b;if(d|0)Ox(a);a=c[a+56>>2]|0}while((a|0)!=0);uz()}while(0);return b|0}function xz(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;b=a+20|0;h=a+28|0;if((c[b>>2]|0)>>>0>(c[h>>2]|0)>>>0?(Hb[c[a+36>>2]&63](a,0,0)|0,(c[b>>2]|0)==0):0)a=-1;else{d=a+4|0;e=c[d>>2]|0;f=a+8|0;g=c[f>>2]|0;if(e>>>0>>0){g=e-g|0;Ib[c[a+40>>2]&15](a,g,((g|0)<0)<<31>>31,1)|0;F()|0}c[a+16>>2]=0;c[h>>2]=0;c[b>>2]=0;c[f>>2]=0;c[d>>2]=0;a=0}return a|0}function yz(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;if((c[f+76>>2]|0)>-1)m=Nx(f)|0;else m=0;g=e+-1|0;if((e|0)<2){n=f+74|0;l=a[n>>0]|0;a[n>>0]=l+255|l;if(m|0)Ox(f);if(!g)a[b>>0]=0;else b=0}else{a:do if(g){k=f+4|0;l=f+8|0;e=b;while(1){h=c[k>>2]|0;o=h;p=(c[l>>2]|0)-o|0;j=Vx(h,10,p)|0;i=(j|0)==0;j=i?p:1-o+j|0;j=j>>>0>>0?j:g;YO(e|0,h|0,j|0)|0;h=(c[k>>2]|0)+j|0;c[k>>2]=h;e=e+j|0;j=g-j|0;if(!(i&(j|0)!=0)){n=17;break a}if(h>>>0>=(c[l>>2]|0)>>>0){g=yx(f)|0;if((g|0)<0)break;else h=g}else{c[k>>2]=h+1;h=d[h>>0]|0}i=e+1|0;a[e>>0]=h;g=j+-1|0;if((h&255|0)==10|(g|0)==0){e=i;n=17;break a}else e=i}if((e|0)!=(b|0)?(c[f>>2]&16|0)!=0:0)n=17;else b=0}else{e=b;n=17}while(0);if((n|0)==17)if(!b)b=0;else a[e>>0]=0;if(m)Ox(f)}return b|0}function zz(a){a=a|0;var b=0;if((c[a+76>>2]|0)>-1){b=(Nx(a)|0)==0;a=(c[a>>2]|0)>>>5&1}else a=(c[a>>2]|0)>>>5&1;return a|0}function Az(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=yb;yb=yb+16|0;f=e;c[f>>2]=d;d=Bz(a,b,f)|0;yb=e;return d|0}function Bz(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=yb;yb=yb+144|0;f=e;_O(f|0,0,144)|0;c[f+32>>2]=35;c[f+44>>2]=a;c[f+76>>2]=-1;c[f+84>>2]=a;d=Dz(f,b,d)|0;yb=e;return d|0}function Cz(a,b,c){a=a|0;b=b|0;c=c|0;return Hz(a,b,c)|0}function Dz(e,h,i){e=e|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0.0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0;Q=yb;yb=yb+288|0;K=Q+264|0;L=Q;M=Q+260|0;N=Q+272|0;if((c[e+76>>2]|0)>-1)P=Nx(e)|0;else P=0;j=a[h>>0]|0;a:do if(j<<24>>24){B=e+4|0;C=e+104|0;D=e+120|0;E=e+8|0;G=L+10|0;H=L+33|0;I=L+46|0;J=L+94|0;A=K+4|0;m=h;h=0;k=0;l=j;j=0;u=0;v=0;b:while(1){c:do if(!(xx(l&255)|0)){n=(a[m>>0]|0)==37;d:do if(n){l=m+1|0;o=a[l>>0]|0;e:do switch(o<<24>>24){case 37:break d;case 42:{z=0;l=m+2|0;break}default:{if(Ex(o&255)|0?(a[m+2>>0]|0)==36:0){z=Ez(i,(d[l>>0]|0)+-48|0)|0;l=m+3|0;break e}y=(c[i>>2]|0)+(4-1)&~(4-1);z=c[y>>2]|0;c[i>>2]=y+4}}while(0);if(!(Ex(d[l>>0]|0)|0)){r=0;o=l}else{m=0;do{m=(m*10|0)+-48+(d[l>>0]|0)|0;l=l+1|0}while((Ex(d[l>>0]|0)|0)!=0);r=m;o=l}n=a[o>>0]|0;q=o+1|0;if(n<<24>>24==109){l=(z|0)!=0&1;k=0;m=q;o=o+2|0;n=a[q>>0]|0;j=0}else{l=0;m=o;o=q}switch(n<<24>>24){case 104:{y=(a[o>>0]|0)==104;n=y?-2:-1;m=y?m+2|0:o;break}case 108:{y=(a[o>>0]|0)==108;n=y?3:1;m=y?m+2|0:o;break}case 106:{n=3;m=o;break}case 116:case 122:{n=1;m=o;break}case 76:{n=2;m=o;break}case 110:case 112:case 67:case 83:case 91:case 99:case 115:case 88:case 71:case 70:case 69:case 65:case 103:case 102:case 101:case 97:case 120:case 117:case 111:case 105:case 100:{n=0;break}default:{O=143;break b}}s=d[m>>0]|0;t=(s&47|0)==3;s=t?s|32:s;t=t?1:n;q=s&255;switch(q<<24>>24){case 99:{y=(r|0)>1?r:1;break}case 91:{y=r;break}case 110:{Fz(z,t,u,v);n=u;o=v;break c}default:{ux(e,0,0);do{n=c[B>>2]|0;if(n>>>0<(c[C>>2]|0)>>>0){c[B>>2]=n+1;n=d[n>>0]|0}else n=wx(e)|0}while((xx(n)|0)!=0);if(!(c[C>>2]|0))n=c[B>>2]|0;else{n=(c[B>>2]|0)+-1|0;c[B>>2]=n}x=D;y=n-(c[E>>2]|0)|0;u=MO(c[x>>2]|0,c[x+4>>2]|0,u|0,v|0)|0;u=MO(u|0,F()|0,y|0,((y|0)<0)<<31>>31|0)|0;y=r;v=F()|0}}x=((y|0)<0)<<31>>31;ux(e,y,x);o=c[B>>2]|0;n=c[C>>2]|0;if(o>>>0>>0)c[B>>2]=o+1;else{if((wx(e)|0)<0){O=143;break b}n=c[C>>2]|0}if(n|0)c[B>>2]=(c[B>>2]|0)+-1;f:do switch(q<<24>>24){case 91:case 99:case 115:{w=(s|0)==99;g:do if((s|16|0)==115){_O(L|0,-1,257)|0;a[L>>0]=0;if((s|0)==115){a[H>>0]=0;b[G>>1]=0;b[G+2>>1]=0;a[G+4>>0]=0}}else{s=m+1|0;r=(a[s>>0]|0)==94;n=r&1;m=r?m+2|0:s;_O(L|0,n|0,257)|0;a[L>>0]=0;switch(a[m>>0]|0){case 45:{q=(n^1)&255;a[I>>0]=q;m=m+1|0;break}case 93:{q=(n^1)&255;a[J>>0]=q;m=m+1|0;break}default:q=(n^1)&255}while(1){n=a[m>>0]|0;h:do switch(n<<24>>24){case 0:{O=143;break b}case 93:break g;case 45:{o=m+1|0;n=a[o>>0]|0;switch(n<<24>>24){case 93:case 0:{n=45;break h}default:{}}m=a[m+-1>>0]|0;if((m&255)<(n&255)){m=m&255;do{m=m+1|0;a[L+m>>0]=q;n=a[o>>0]|0}while(m>>>0<(n&255)>>>0);m=o}else m=o;break}default:{}}while(0);a[L+((n&255)+1)>>0]=q;m=m+1|0}}while(0);n=w?y+1|0:31;s=(t|0)==1;t=(l|0)!=0;i:do if(s){if(t){j=DO(n<<2)|0;if(!j){k=0;j=0;O=143;break b}}else j=z;c[K>>2]=0;c[A>>2]=0;k=0;j:while(1){q=(j|0)==0;do{k:while(1){o=c[B>>2]|0;if(o>>>0<(c[C>>2]|0)>>>0){c[B>>2]=o+1;o=d[o>>0]|0}else o=wx(e)|0;if(!(a[L+(o+1)>>0]|0))break j;a[N>>0]=o;switch(Vy(M,N,1,K)|0){case -1:{k=0;O=143;break b}case -2:break;default:break k}}if(!q){c[j+(k<<2)>>2]=c[M>>2];k=k+1|0}}while(!(t&(k|0)==(n|0)));n=n<<1|1;o=GO(j,n<<2)|0;if(!o){k=0;O=143;break b}else j=o}if(!(Gz(K)|0)){k=0;O=143;break b}else{q=k;k=0;r=j}}else{if(t){k=DO(n)|0;if(!k){k=0;j=0;O=143;break b}j=0;while(1){q=j;do{j=c[B>>2]|0;if(j>>>0<(c[C>>2]|0)>>>0){c[B>>2]=j+1;j=d[j>>0]|0}else j=wx(e)|0;if(!(a[L+(j+1)>>0]|0)){r=0;j=0;break i}r=q;q=q+1|0;a[k+r>>0]=j}while((q|0)!=(n|0));n=n<<1|1;o=GO(k,n)|0;if(!o){j=0;O=143;break b}else{j=q;k=o}}}if(!z)while(1){j=c[B>>2]|0;if(j>>>0<(c[C>>2]|0)>>>0){c[B>>2]=j+1;j=d[j>>0]|0}else j=wx(e)|0;if(!(a[L+(j+1)>>0]|0)){q=0;k=0;r=0;j=0;break i}}k=0;while(1){j=c[B>>2]|0;if(j>>>0<(c[C>>2]|0)>>>0){c[B>>2]=j+1;j=d[j>>0]|0}else j=wx(e)|0;if(!(a[L+(j+1)>>0]|0)){q=k;k=z;r=0;j=0;break i}a[z+k>>0]=j;k=k+1|0}}while(0);if(!(c[C>>2]|0))n=c[B>>2]|0;else{n=(c[B>>2]|0)+-1|0;c[B>>2]=n}o=D;n=n-(c[E>>2]|0)|0;n=MO(c[o>>2]|0,c[o+4>>2]|0,n|0,((n|0)<0)<<31>>31|0)|0;o=F()|0;if((n|0)==0&(o|0)==0)break b;if(!((n|0)==(y|0)&(o|0)==(x|0)|w^1))break b;do if(t)if(s){c[z>>2]=r;break}else{c[z>>2]=k;break}while(0);if(!w){if(r|0)c[r+(q<<2)>>2]=0;if(!k){k=0;break f}a[k+q>>0]=0}break}case 120:case 88:case 112:{n=16;O=131;break}case 111:{n=8;O=131;break}case 117:case 100:{n=10;O=131;break}case 105:{n=0;O=131;break}case 71:case 103:case 70:case 102:case 69:case 101:case 65:case 97:{p=+By(e,t,0);y=D;w=c[y>>2]|0;y=c[y+4>>2]|0;x=(c[B>>2]|0)-(c[E>>2]|0)|0;x=NO(0,0,x|0,((x|0)<0)<<31>>31|0)|0;if((w|0)==(x|0)&(y|0)==(F()|0))break b;if(z)switch(t|0){case 0:{f[z>>2]=p;break f}case 1:{g[z>>3]=p;break f}case 2:{g[z>>3]=p;break f}default:break f}break}default:{}}while(0);do if((O|0)==131){O=0;n=vx(e,n,0,-1,-1)|0;o=F()|0;y=D;w=c[y>>2]|0;y=c[y+4>>2]|0;x=(c[B>>2]|0)-(c[E>>2]|0)|0;x=NO(0,0,x|0,((x|0)<0)<<31>>31|0)|0;if((w|0)==(x|0)&(y|0)==(F()|0))break b;if((z|0)!=0&(s|0)==112){c[z>>2]=n;break}else{Fz(z,t,n,o);break}}while(0);o=D;n=(c[B>>2]|0)-(c[E>>2]|0)|0;o=MO(c[o>>2]|0,c[o+4>>2]|0,u|0,v|0)|0;n=MO(o|0,F()|0,n|0,((n|0)<0)<<31>>31|0)|0;h=h+((z|0)!=0&1)|0;o=F()|0;break c}while(0);m=m+(n&1)|0;ux(e,0,0);l=c[B>>2]|0;if(l>>>0<(c[C>>2]|0)>>>0){c[B>>2]=l+1;l=d[l>>0]|0}else l=wx(e)|0;if((l|0)!=(d[m>>0]|0)){O=23;break b}n=MO(u|0,v|0,1,0)|0;o=F()|0}else{while(1){l=m+1|0;if(!(xx(d[l>>0]|0)|0))break;else m=l}ux(e,0,0);do{l=c[B>>2]|0;if(l>>>0<(c[C>>2]|0)>>>0){c[B>>2]=l+1;l=d[l>>0]|0}else l=wx(e)|0}while((xx(l)|0)!=0);if(!(c[C>>2]|0))l=c[B>>2]|0;else{l=(c[B>>2]|0)+-1|0;c[B>>2]=l}o=D;n=l-(c[E>>2]|0)|0;o=MO(c[o>>2]|0,c[o+4>>2]|0,u|0,v|0)|0;n=MO(o|0,F()|0,n|0,((n|0)<0)<<31>>31|0)|0;o=F()|0}while(0);m=m+1|0;l=a[m>>0]|0;if(!(l<<24>>24))break a;else{u=n;v=o}}if((O|0)==23){if(c[C>>2]|0)c[B>>2]=(c[B>>2]|0)+-1;if((h|0)!=0|(l|0)>-1)break;else{l=0;h=k;O=144}}else if((O|0)==143)if(!h){h=k;O=144}if((O|0)==144){k=h;h=-1}if(l){EO(k);EO(j)}}else h=0;while(0);if(P|0)Ox(e);yb=Q;return h|0}function Ez(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;e=yb;yb=yb+16|0;d=e;c[d>>2]=c[a>>2];while(1){f=(c[d>>2]|0)+(4-1)&~(4-1);a=c[f>>2]|0;c[d>>2]=f+4;if(b>>>0>1)b=b+-1|0;else break}yb=e;return a|0}function Fz(d,e,f,g){d=d|0;e=e|0;f=f|0;g=g|0;a:do if(d|0)switch(e|0){case -2:{a[d>>0]=f;break a}case -1:{b[d>>1]=f;break a}case 0:{c[d>>2]=f;break a}case 1:{c[d>>2]=f;break a}case 3:{e=d;c[e>>2]=f;c[e+4>>2]=g;break a}default:break a}while(0);return}function Gz(a){a=a|0;if(!a)a=1;else a=(c[a>>2]|0)==0&1;return a|0}function Hz(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;e=a+84|0;g=c[e>>2]|0;h=d+256|0;f=Vx(g,0,h)|0;f=(f|0)==0?h:f-g|0;d=f>>>0>>0?f:d;YO(b|0,g|0,d|0)|0;c[a+4>>2]=g+d;b=g+f|0;c[a+8>>2]=b;c[e>>2]=b;return d|0}function Iz(a,b,c){a=a|0;b=b|0;c=c|0;return Kz(a,b,((b|0)<0)<<31>>31,c)|0}function Jz(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=yb;yb=yb+16|0;f=e;c[f>>2]=d;d=Ix(a,b,f)|0;yb=e;return d|0}function Kz(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;if((c[a+76>>2]|0)>-1){f=(Nx(a)|0)==0;b=Lz(a,b,d,e)|0;if(!f)Ox(a)}else b=Lz(a,b,d,e)|0;return b|0} -function Ct(a,b,d,e,g,h){a=a|0;b=b|0;d=d|0;e=e|0;g=g|0;h=h|0;var i=0.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.0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;B=yb;yb=yb+80|0;A=B+48|0;w=B;x=B+76|0;y=B+72|0;z=B+64|0;u=B+56|0;v=e+4|0;t=+(a|0);p=+(b|0);q=z+4|0;r=u+4|0;s=h+4812|0;j=0;k=0;o=0;a:while(1){if((o|0)>=(c[v>>2]|0)){b=28;break}b=0;while(1){if((b|0)==3)break;a=0;while(1){if((a|0)==4)break;c[w+(b<<4)+(a<<2)>>2]=c[d+(o*48|0)+(b<<4)+(a<<2)>>2];a=a+1|0}b=b+1|0}a=j;b=k;n=0;j=c[(c[e>>2]|0)+(o*112|0)+4>>2]|0;while(1){if((n|0)>=(c[j+4>>2]|0))break;m=0;k=j;while(1){j=c[k>>2]|0;if((m|0)>=(c[j+(n*20|0)+4>>2]|0))break;k=c[j+(n*20|0)>>2]|0;k=(Bf(0,w,+f[k+(m*20|0)+8>>2],+f[k+(m*20|0)+12>>2],x,y)|0)<0;i=+f[x>>2];do if(!(k|i<0.0)?(l=+f[y>>2],!(l>=p)&(!(i>=t)&!(l<0.0))):0){j=c[(c[c[(c[e>>2]|0)+(o*112|0)+4>>2]>>2]|0)+(n*20|0)>>2]|0;c[z>>2]=c[j+(m*20|0)+8>>2];c[q>>2]=c[j+(m*20|0)+12>>2];lf(0,w,z,u)|0;i=+f[r>>2];j=c[c[(c[e>>2]|0)+(o*112|0)+4>>2]>>2]|0;l=+f[j+(n*20|0)+12>>2];if(i<=l?i>=+f[j+(n*20|0)+16>>2]:0){if((b|0)==200){b=18;break a}c[g+(b*24|0)>>2]=o;c[g+(b*24|0)+4>>2]=n;c[g+(b*24|0)+8>>2]=m;c[g+(b*24|0)+16>>2]=c[x>>2];c[g+(b*24|0)+20>>2]=c[y>>2];c[g+(b*24|0)+12>>2]=0;b=b+1|0;break}if(i<=l*2.0?i>=+f[j+(n*20|0)+16>>2]*.5:0)if((a|0)==200){c[s>>2]=-1;a=200;break}else{c[h+(a*24|0)>>2]=o;c[h+(a*24|0)+4>>2]=n;c[h+(a*24|0)+8>>2]=m;c[h+(a*24|0)+16>>2]=c[x>>2];c[h+(a*24|0)+20>>2]=c[y>>2];c[h+(a*24|0)+12>>2]=0;a=a+1|0;break}}while(0);m=m+1|0;k=c[(c[e>>2]|0)+(o*112|0)+4>>2]|0}n=n+1|0;j=k}j=a;k=b;o=o+1|0}if((b|0)==18){Se(0,3,41890,A);a=g+4812|0}else if((b|0)==28){c[g+(k*24|0)+12>>2]=-1;a=h+(j*24|0)+12|0}c[a>>2]=-1;yb=B;return}function Dt(a,b,d,e,h,i,j){a=a|0;b=b|0;d=d|0;e=e|0;h=h|0;i=i|0;j=j|0;var k=0,l=0,m=0.0,n=0.0,o=0.0,p=0,q=0,r=0.0,s=0,t=0,u=0,v=0,w=0,x=0.0,y=0.0;w=yb;yb=yb+224|0;s=w+212|0;t=w+96|0;v=w;u=w+192|0;l=DO(h<<4)|0;c[s>>2]=l;if(!l){Se(0,3,41858,w+200|0);Ea(1)}p=DO(h*24|0)|0;q=s+4|0;c[q>>2]=p;if(!p){Se(0,3,41858,w+208|0);Ea(1)}k=0;o=0.0;n=0.0;m=0.0;while(1){if((k|0)>=(h|0))break;r=m+ +f[e+(k*12|0)>>2];x=n+ +f[e+(k*12|0)+4>>2];y=o+ +f[e+(k*12|0)+8>>2];k=k+1|0;o=y;n=x;m=r}y=+(h|0);r=m/y;n=n/y;m=o/y;k=0;while(1){if((k|0)>=(h|0))break;g[l+(k<<4)>>3]=+f[d+(k<<3)>>2];g[l+(k<<4)+8>>3]=+f[d+(k<<3)+4>>2];g[p+(k*24|0)>>3]=+f[e+(k*12|0)>>2]-r;g[p+(k*24|0)+8>>3]=+f[e+(k*12|0)+4>>2]-n;g[p+(k*24|0)+16>>3]=+f[e+(k*12|0)+8>>2]-m;k=k+1|0}c[s+8>>2]=h;k=0;while(1){if((k|0)==3)break;l=0;while(1){if((l|0)==3)break;g[t+(k<<5)+(l<<3)>>3]=+f[b+(k<<4)+(l<<2)>>2];l=l+1|0}k=k+1|0}g[t+24>>3]=+f[b+12>>2]+(r*+f[b>>2]+n*+f[b+4>>2]+m*+f[b+8>>2]);g[t+56>>3]=+f[b+28>>2]+(r*+f[b+16>>2]+n*+f[b+20>>2]+m*+f[b+24>>2]);g[t+88>>3]=+f[b+44>>2]+(r*+f[b+32>>2]+n*+f[b+36>>2]+m*+f[b+40>>2]);if(!j){if((Fe(a,s,t,v,u)|0)<0)g[u>>3]=1.0e8}else if((He(a,s,t,v,u)|0)<0)g[u>>3]=1.0e8;EO(c[s>>2]|0);EO(c[q>>2]|0);k=0;while(1){if((k|0)==3)break;l=0;while(1){if((l|0)==3)break;f[i+(k<<4)+(l<<2)>>2]=+g[v+(k<<5)+(l<<3)>>3];l=l+1|0}k=k+1|0}x=n;y=m;f[i+12>>2]=+g[v+24>>3]-+g[v>>3]*r-+g[v+8>>3]*x-+g[v+16>>3]*y;f[i+28>>2]=+g[v+56>>3]-+g[v+32>>3]*r-+g[v+40>>3]*x-+g[v+48>>3]*y;f[i+44>>2]=+g[v+88>>3]-+g[v+64>>3]*r-+g[v+72>>3]*x-+g[v+80>>3]*y;yb=w;return +(+g[u>>3])}function Et(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;if(!f)g=+Ft(a,b,c,d,e);else g=+Gt(a,b,c,d,e,g);return +g}function Ft(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var g=0.0,h=0,i=0,j=0,k=0.0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.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.0,J=0.0,K=0,L=0.0,M=0.0,N=0.0;H=yb;yb=yb+48|0;i=H+40|0;h=H+32|0;F=H;do if((d|0)>=4?(j=a+44|0,!(+f[j>>2]==0.0)):0){G=DO(d<<6)|0;if(!G){Se(0,3,41875,h);g=-1.0;break}E=DO(d<<3)|0;if(!E){Se(0,3,41875,i);EO(G);g=-1.0;break}h=0;while(1){if((h|0)==3)break;i=0;while(1){if((i|0)==4)break;f[e+(h<<4)+(i<<2)>>2]=+f[a+(h<<4)+(i<<2)>>2]/+f[j>>2];i=i+1|0}h=h+1|0}a=e+4|0;j=e+12|0;q=e+16|0;r=e+20|0;s=e+28|0;t=e+32|0;u=e+36|0;v=+(d|0);w=d<<1;x=F+4|0;y=F+8|0;z=F+12|0;A=F+16|0;B=F+20|0;C=F+24|0;D=F+28|0;p=0.0;i=0;a:while(1){g=0.0;h=0;while(1){if((h|0)>=(d|0))break;k=+f[c+(h*12|0)>>2];l=+f[c+(h*12|0)+4>>2];m=+f[j>>2]+(+f[e>>2]*k+ +f[a>>2]*l);n=+f[s>>2]+(k*+f[q>>2]+l*+f[r>>2]);o=k*+f[t>>2]+l*+f[u>>2]+1.0;if(o==0.0){h=17;break a}L=o*o;J=+f[b+(h<<3)>>2]-m/o;I=+f[b+(h<<3)+4>>2]-n/o;K=h<<1;f[E+(K<<2)>>2]=J;f[E+((K|1)<<2)>>2]=I;N=k/o;K=h<<4;f[G+(K<<2)>>2]=N;M=l/o;f[G+((K|1)<<2)>>2]=M;o=1.0/o;f[G+((K|2)<<2)>>2]=o;f[G+((K|3)<<2)>>2]=0.0;f[G+((K|4)<<2)>>2]=0.0;f[G+((K|5)<<2)>>2]=0.0;f[G+((K|6)<<2)>>2]=-(k*m)/L;f[G+((K|7)<<2)>>2]=-(l*m)/L;f[G+((K|8)<<2)>>2]=0.0;f[G+((K|9)<<2)>>2]=0.0;f[G+((K|10)<<2)>>2]=0.0;f[G+((K|11)<<2)>>2]=N;f[G+((K|12)<<2)>>2]=M;f[G+((K|13)<<2)>>2]=o;f[G+((K|14)<<2)>>2]=-(k*n)/L;f[G+((K|15)<<2)>>2]=-(l*n)/L;g=g+(J*J+I*I);h=h+1|0}g=g/v;if(g<.10000000149011612){h=26;break}if((i|0)!=0&g<4.0){if((i|0)==10|g/p>.9900000095367432){h=26;break}}else if((i|0)==10){h=26;break}if((It(F,E,G,w)|0)<0){h=24;break}f[e>>2]=+f[F>>2]+ +f[e>>2];f[a>>2]=+f[x>>2]+ +f[a>>2];f[j>>2]=+f[y>>2]+ +f[j>>2];f[q>>2]=+f[z>>2]+ +f[q>>2];f[r>>2]=+f[A>>2]+ +f[r>>2];f[s>>2]=+f[B>>2]+ +f[s>>2];f[t>>2]=+f[C>>2]+ +f[t>>2];f[u>>2]=+f[D>>2]+ +f[u>>2];p=g;i=i+1|0}if((h|0)==17){EO(G);EO(E);g=1.0e8;break}else if((h|0)==24){EO(G);EO(E);g=1.0e8;break}else if((h|0)==26){EO(G);EO(E);break}}else g=1.0e8;while(0);yb=H;return +g}function Gt(a,b,c,d,e,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;g=+g;var h=0,i=0,j=0,k=0,l=0,m=0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0.0,H=0,I=0,J=0,K=0.0,L=0.0,M=0.0,N=0,O=0;J=yb;yb=yb+64|0;k=J+56|0;j=J+48|0;i=J+40|0;h=J+32|0;I=J;do if((d|0)>=4?(l=a+44|0,!(+f[l>>2]==0.0)):0){G=+(d|0);m=~~(G*g)+-1|0;m=(m|0)>4?m:4;H=DO(d<<6)|0;if(!H){Se(0,3,41875,h);g=-1.0;break}F=DO(d<<3)|0;if(!F){Se(0,3,41875,i);EO(H);g=-1.0;break}h=d<<2;E=DO(h)|0;if(!E){Se(0,3,41875,j);EO(H);EO(F);g=-1.0;break}D=DO(h)|0;if(!D){Se(0,3,41875,k);EO(H);EO(F);EO(E);g=-1.0;break}h=0;while(1){if((h|0)==3)break;i=0;while(1){if((i|0)==4)break;f[e+(h<<4)+(i<<2)>>2]=+f[a+(h<<4)+(i<<2)>>2]/+f[l>>2];i=i+1|0}h=h+1|0}w=e+4|0;x=e+12|0;y=e+16|0;z=e+20|0;A=e+28|0;B=e+32|0;C=e+36|0;k=D+(m<<2)|0;a=I+4|0;l=I+8|0;m=I+12|0;s=I+16|0;t=I+20|0;u=I+24|0;v=I+28|0;r=0.0;j=0;a:while(1){h=0;while(1){if((h|0)>=(d|0))break;g=+f[c+(h*12|0)>>2];n=+f[c+(h*12|0)+4>>2];o=+f[x>>2]+(+f[e>>2]*g+ +f[w>>2]*n);p=+f[A>>2]+(g*+f[y>>2]+n*+f[z>>2]);q=g*+f[B>>2]+n*+f[C>>2]+1.0;if(q==0.0){h=21;break a}K=q*q;L=+f[b+(h<<3)>>2]-o/q;M=+f[b+(h<<3)+4>>2]-p/q;i=h<<1;f[F+(i<<2)>>2]=L;f[F+((i|1)<<2)>>2]=M;M=L*L+M*M;f[D+(h<<2)>>2]=M;f[E+(h<<2)>>2]=M;M=g/q;i=h<<4;f[H+(i<<2)>>2]=M;L=n/q;f[H+((i|1)<<2)>>2]=L;q=1.0/q;f[H+((i|2)<<2)>>2]=q;f[H+((i|3)<<2)>>2]=0.0;f[H+((i|4)<<2)>>2]=0.0;f[H+((i|5)<<2)>>2]=0.0;f[H+((i|6)<<2)>>2]=-(g*o)/K;f[H+((i|7)<<2)>>2]=-(n*o)/K;f[H+((i|8)<<2)>>2]=0.0;f[H+((i|9)<<2)>>2]=0.0;f[H+((i|10)<<2)>>2]=0.0;f[H+((i|11)<<2)>>2]=M;f[H+((i|12)<<2)>>2]=L;f[H+((i|13)<<2)>>2]=q;f[H+((i|14)<<2)>>2]=-(g*p)/K;f[H+((i|15)<<2)>>2]=-(n*p)/K;h=h+1|0}my(D,d,4,32);p=+f[k>>2]*4.0;p=p<16.0?16.0:p;o=p/6.0;n=0.0;h=0;while(1){if((h|0)==(d|0))break;g=+f[D+(h<<2)>>2];if(g>p)g=o;else{g=1.0-g/p;g=o*(1.0-g*(g*g))}n=n+g;h=h+1|0}g=n/G;if(g<.10000000149011612){h=42;break}if((j|0)!=0&g<4.0){if((j|0)==10|g/r>.9900000095367432){h=42;break}}else if((j|0)==10){h=42;break}h=0;i=0;while(1){if((i|0)==(d|0))break;n=+f[E+(i<<2)>>2];if(n<=p){M=1.0-n/p;M=M*M;O=i<<4;N=h<<3;f[H+(N<<2)>>2]=M*+f[H+(O<<2)>>2];f[H+((N|1)<<2)>>2]=M*+f[H+((O|1)<<2)>>2];f[H+((N|2)<<2)>>2]=M*+f[H+((O|2)<<2)>>2];f[H+((N|3)<<2)>>2]=M*+f[H+((O|3)<<2)>>2];f[H+((N|4)<<2)>>2]=M*+f[H+((O|4)<<2)>>2];f[H+((N|5)<<2)>>2]=M*+f[H+((O|5)<<2)>>2];f[H+((N|6)<<2)>>2]=M*+f[H+((O|6)<<2)>>2];f[H+((N|7)<<2)>>2]=M*+f[H+((O|7)<<2)>>2];f[H+(N+8<<2)>>2]=M*+f[H+((O|8)<<2)>>2];f[H+(N+9<<2)>>2]=M*+f[H+((O|9)<<2)>>2];f[H+(N+10<<2)>>2]=M*+f[H+((O|10)<<2)>>2];f[H+(N+11<<2)>>2]=M*+f[H+((O|11)<<2)>>2];f[H+(N+12<<2)>>2]=M*+f[H+((O|12)<<2)>>2];f[H+(N+13<<2)>>2]=M*+f[H+((O|13)<<2)>>2];f[H+(N+14<<2)>>2]=M*+f[H+((O|14)<<2)>>2];f[H+(N+15<<2)>>2]=M*+f[H+((O|15)<<2)>>2];N=i<<1;f[F+(h<<2)>>2]=M*+f[F+(N<<2)>>2];f[F+(h+1<<2)>>2]=M*+f[F+((N|1)<<2)>>2];h=h+2|0}i=i+1|0}if((h|0)<6){h=38;break}if((It(I,F,H,h)|0)<0){h=40;break}f[e>>2]=+f[I>>2]+ +f[e>>2];f[w>>2]=+f[a>>2]+ +f[w>>2];f[x>>2]=+f[l>>2]+ +f[x>>2];f[y>>2]=+f[m>>2]+ +f[y>>2];f[z>>2]=+f[s>>2]+ +f[z>>2];f[A>>2]=+f[t>>2]+ +f[A>>2];f[B>>2]=+f[u>>2]+ +f[B>>2];f[C>>2]=+f[v>>2]+ +f[C>>2];r=g;j=j+1|0}if((h|0)==21){EO(H);EO(F);EO(E);EO(D);g=1.0e8;break}else if((h|0)==38){EO(H);EO(F);EO(E);EO(D);g=-1.0;break}else if((h|0)==40){EO(H);EO(F);EO(E);EO(D);g=1.0e8;break}else if((h|0)==42){EO(H);EO(F);EO(E);EO(D);break}}else g=1.0e8;while(0);yb=J;return +g}function Ht(a,b){a=a|0;b=b|0;var c=0.0;c=+f[a>>2]-+f[b>>2];return (c<0.0?-1:c>0.0&1)|0}function It(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;i=yb;yb=yb+48|0;h=i+24|0;g=i+12|0;f=i;c[h+4>>2]=8;c[h+8>>2]=1;c[h>>2]=a;c[g+4>>2]=e;c[g+8>>2]=1;c[g>>2]=b;c[f+4>>2]=e;c[f+8>>2]=8;c[f>>2]=d;e=Hd(f)|0;if(!e)a=-1;else{d=Fd(e,f)|0;if(!d)a=-1;else{b=Fd(e,g)|0;if(!b)a=-1;else{if((Xd(d)|0)<0)a=-1;else{Md(h,d,b)|0;a=0}Kd(b)|0}Kd(d)|0}Kd(e)|0}yb=i;return a|0}function Jt(a,b,d,e,g,h,i){a=a|0;b=b|0;d=d|0;e=e|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0.0;s=yb;yb=yb+32|0;j=s;q=s+28|0;r=s+24|0;o=c[d>>2]|0;p=c[d+4>>2]|0;n=c[d+8>>2]|0;d=c[h>>2]|0;if(!d){d=yf(c[a+28>>2]|0,c[a+32>>2]|0)|0;c[h>>2]=d}k=a+12|0;m=a+48+(o*48|0)|0;l=c[b>>2]|0;if((zf(c[k>>2]|0,m,c[l+(o*112|0)>>2]|0,(c[c[l+(o*112|0)+4>>2]>>2]|0)+(p*20|0)|0,n,d)|0)>=0?(l=c[h>>2]|0,d=c[l+28>>2]|0,t=+(B(d,d)|0),!(+(B((c[l+16>>2]|0)+1+(c[l+20>>2]|0)|0,(c[l+8>>2]|0)+1+(c[l+12>>2]|0)|0)|0)*5.0*5.0>t)):0){l=c[b+152>>2]|0;do if((l|0)!=1){d=c[k>>2]|0;k=a+528+(o*48|0)|0;if((l|0)==2){Af(d,m,k,0,(c[(c[c[(c[b>>2]|0)+(o*112|0)+4>>2]>>2]|0)+(p*20|0)>>2]|0)+(n*20|0)|0,j);break}else{Af(d,m,k,a+1008+(o*48|0)|0,(c[(c[c[(c[b>>2]|0)+(o*112|0)+4>>2]>>2]|0)+(p*20|0)>>2]|0)+(n*20|0)|0,j);break}}else Af(c[k>>2]|0,m,0,0,(c[(c[c[(c[b>>2]|0)+(o*112|0)+4>>2]>>2]|0)+(p*20|0)>>2]|0)+(n*20|0)|0,j);while(0);m=c[a+24>>2]|0;if((uf(e,g,c[a+4>>2]|0,c[a+8>>2]|0,c[a+20>>2]|0,c[h>>2]|0,m,m,j,q,r,i)|0)>=0){f[i+4>>2]=+(c[q>>2]|0);f[i+8>>2]=+(c[r>>2]|0);r=c[b>>2]|0;j=c[(c[c[r+(o*112|0)+4>>2]>>2]|0)+(p*20|0)>>2]|0;q=j+(n*20|0)+8|0;j=j+(n*20|0)+12|0;f[i+12>>2]=+f[r+(o*112|0)+24>>2]+(+f[r+(o*112|0)+12>>2]*+f[q>>2]+ +f[r+(o*112|0)+16>>2]*+f[j>>2]);f[i+16>>2]=+f[r+(o*112|0)+40>>2]+(+f[r+(o*112|0)+28>>2]*+f[q>>2]+ +f[r+(o*112|0)+32>>2]*+f[j>>2]);f[i+20>>2]=+f[r+(o*112|0)+56>>2]+(+f[r+(o*112|0)+44>>2]*+f[q>>2]+ +f[r+(o*112|0)+48>>2]*+f[j>>2]);j=0}else j=-1}else j=-1;yb=s;return j|0}function Kt(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;k=a+20|0;b=c[k>>2]|0;a:do switch(b|0){case 202:{Lt(a);if(!(c[a+64>>2]|0)){c[k>>2]=203;d=6;break a}c[k>>2]=207;k=1;return k|0}case 203:{d=6;break}case 204:{b=a+444|0;break}default:{d=c[a>>2]|0;c[d+20>>2]=21;c[d+24>>2]=b;Qb[c[c[a>>2]>>2]&255](a);d=17}}while(0);if((d|0)==6){g=a+460|0;b:do if(c[(c[g>>2]|0)+16>>2]|0){e=a+8|0;f=a+332|0;b=c[e>>2]|0;c:while(1){if(b|0)Qb[c[b>>2]&255](a);b=Eb[c[c[g>>2]>>2]&127](a)|0;switch(b|0){case 2:break b;case 0:break c;default:{}}d=c[e>>2]|0;if((b|2|0)==3&(d|0)!=0?(h=d+4|0,j=(c[h>>2]|0)+1|0,c[h>>2]=j,h=d+8|0,i=c[h>>2]|0,(j|0)>=(i|0)):0)c[h>>2]=(c[f>>2]|0)+i;b=d}return b|0}while(0);c[a+152>>2]=c[a+144>>2];d=17}if((d|0)==17){b=a+444|0;if((c[k>>2]|0)!=204){Qb[c[c[b>>2]>>2]&255](a);c[a+140>>2]=0;c[k>>2]=204}}d=c[b>>2]|0;d:do if(c[d+8>>2]|0){g=a+140|0;h=a+116|0;i=a+8|0;j=a+448|0;f=c[g>>2]|0;e:while(1){e=c[h>>2]|0;if(f>>>0>>0){do{d=c[i>>2]|0;if(!d)d=f;else{c[d+4>>2]=f;c[d+8>>2]=e;Qb[c[d>>2]&255](a);d=c[g>>2]|0}Vb[c[(c[j>>2]|0)+4>>2]&31](a,0,g,0);f=c[g>>2]|0;if((f|0)==(d|0)){b=0;break e}e=c[h>>2]|0}while(f>>>0>>0);d=c[b>>2]|0}Qb[c[d+4>>2]&255](a);Qb[c[c[b>>2]>>2]&255](a);c[g>>2]=0;d=c[b>>2]|0;if(!(c[d+8>>2]|0))break d;else f=0}return b|0}while(0);c[k>>2]=(c[a+68>>2]|0)==0?205:206;k=1;return k|0}function Lt(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;k=b+4|0;i=Hb[c[c[k>>2]>>2]&63](b,1,28)|0;c[b+444>>2]=i;c[i>>2]=115;c[i+4>>2]=116;c[i+8>>2]=0;d=c[b+212>>2]|0;if((d|0)!=8){j=c[b>>2]|0;c[j+20>>2]=16;c[j+24>>2]=d;Qb[c[c[b>>2]>>2]&255](b)}Ot(b);e=Hb[c[c[k>>2]>>2]&63](b,1,1280)|0;_O(e|0,0,512)|0;f=e+512|0;c[b+336>>2]=f;d=0;do{a[f+d>>0]=d;d=d+1|0}while((d|0)!=256);_O(e+768|0,-1,512)|0;if(!(((c[b+116>>2]|0)!=0?(c[b+112>>2]|0)!=0:0)?(g=b+120|0,(c[g>>2]|0)>=1):0)){g=c[b>>2]|0;c[g+20>>2]=33;Qb[c[g>>2]&255](b);g=b+120|0}j=i+12|0;c[j>>2]=0;h=i+16|0;c[h>>2]=Pt(b)|0;f=i+20|0;c[f>>2]=0;d=i+24|0;c[d>>2]=0;do if(!(c[b+84>>2]|0)){c[b+100>>2]=0;c[b+104>>2]=0;c[b+108>>2]=0;e=b+68|0}else{if(!(c[b+64>>2]|0)){c[b+100>>2]=0;c[b+104>>2]=0;c[b+108>>2]=0}e=b+68|0;if(c[e>>2]|0){i=c[b>>2]|0;c[i+20>>2]=48;Qb[c[i>>2]&255](b)}do if((c[g>>2]|0)==3){if(c[b+136>>2]|0){c[b+104>>2]=1;break}if(!(c[b+92>>2]|0)){c[b+100>>2]=1;break}else{c[b+108>>2]=1;break}}else{c[b+100>>2]=1;c[b+104>>2]=0;c[b+108>>2]=0;c[b+136>>2]=0}while(0);if(c[b+100>>2]|0){Qt(b);c[f>>2]=c[b+484>>2]}if((c[b+108>>2]|0)==0?(c[b+104>>2]|0)==0:0)break;Rt(b);c[d>>2]=c[b+484>>2]}while(0);if(!(c[e>>2]|0)){if(!(c[h>>2]|0)){Tt(b);Ut(b)}else St(b);Vt(b,c[b+108>>2]|0)}Wt(b);if(!(c[b+228>>2]|0))Yt(b);else Xt(b);f=b+460|0;if(!(c[(c[f>>2]|0)+16>>2]|0))d=(c[b+64>>2]|0)!=0&1;else d=1;Zt(b,d);if(!(c[e>>2]|0))_t(b,0);Qb[c[(c[k>>2]|0)+24>>2]&255](b);Qb[c[(c[f>>2]|0)+8>>2]&255](b);d=c[b+8>>2]|0;if(!d)return;if(c[b+64>>2]|0)return;if(!(c[(c[f>>2]|0)+16>>2]|0))return;k=c[b+36>>2]|0;k=(c[b+224>>2]|0)==0?k:(k*3|0)+2|0;c[d+4>>2]=0;c[d+8>>2]=B(k,c[b+332>>2]|0)|0;c[d+12>>2]=0;c[d+16>>2]=(c[b+108>>2]|0)==0?2:3;c[j>>2]=(c[j>>2]|0)+1;return}function Mt(a){a=a|0;var b=0,d=0,e=0,f=0;d=c[a+444>>2]|0;e=d+8|0;if(!(c[e>>2]|0)){b=a+84|0;do if(c[b>>2]|0?(c[a+136>>2]|0)==0:0){if(c[a+92>>2]|0?c[a+108>>2]|0:0){c[a+484>>2]=c[d+24>>2];c[e>>2]=1;break}if(!(c[a+100>>2]|0)){f=c[a>>2]|0;c[f+20>>2]=47;Qb[c[f>>2]&255](a);break}else{c[a+484>>2]=c[d+20>>2];break}}while(0);Qb[c[c[a+472>>2]>>2]&255](a);Qb[c[(c[a+452>>2]|0)+8>>2]&255](a);if(!(c[a+68>>2]|0)){if(!(c[d+16>>2]|0))Qb[c[c[a+480>>2]>>2]&255](a);Qb[c[c[a+476>>2]>>2]&255](a);if(c[b>>2]|0)Sb[c[c[a+484>>2]>>2]&63](a,c[e>>2]|0);Sb[c[c[a+456>>2]>>2]&63](a,(c[e>>2]|0)==0?0:3);Sb[c[c[a+448>>2]>>2]&63](a,0)}}else{c[e>>2]=0;Sb[c[c[a+484>>2]>>2]&63](a,0);Sb[c[c[a+456>>2]>>2]&63](a,2);Sb[c[c[a+448>>2]>>2]&63](a,2)}b=c[a+8>>2]|0;if(!b)return;d=c[d+12>>2]|0;c[b+12>>2]=d;d=((c[e>>2]|0)==0?1:2)+d|0;b=b+16|0;c[b>>2]=d;if(!(c[a+64>>2]|0))return;if(c[(c[a+460>>2]|0)+20>>2]|0)return;c[b>>2]=((c[a+108>>2]|0)==0?1:2)+d;return}function Nt(a){a=a|0;var b=0;b=c[a+444>>2]|0;if(c[a+84>>2]|0)Qb[c[(c[a+484>>2]|0)+8>>2]&255](a);b=b+12|0;c[b>>2]=(c[b>>2]|0)+1;return}function Ot(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=c[a+20>>2]|0;if((b|0)!=202){t=c[a>>2]|0;c[t+20>>2]=21;c[t+24>>2]=b;Qb[c[c[a>>2]>>2]&255](a)}ew(a);d=c[a+216>>2]|0;t=a+36|0;b=c[t>>2]|0;o=(b|0)>0;if(o){p=c[a+324>>2]|0;q=(c[a+76>>2]|0)==0?4:8;r=a+320|0;s=c[a+328>>2]|0;if((p|0)>(q|0)){k=(s|0)>(q|0);l=p<<1;i=d;j=0;while(1){m=i+36|0;c[m>>2]=p;a:do if(k)e=s;else{h=c[r>>2]|0;g=c[i+12>>2]|0;f=1;e=s;do{f=f<<1;if((h|0)%(B(f,g)|0)|0|0)break a;e=B(s,f)|0}while((e|0)<=(q|0))}while(0);f=i+40|0;c[f>>2]=e;g=e<<1;if((p|0)<=(g|0)){if((e|0)>(l|0))c[f>>2]=l}else c[m>>2]=g;j=j+1|0;if((j|0)>=(b|0))break;else i=i+88|0}}else{m=c[a+316>>2]|0;n=(s|0)>(q|0);k=d;l=0;while(1){g=c[k+8>>2]|0;f=1;e=p;do{f=f<<1;if((m|0)%(B(f,g)|0)|0|0)break;e=B(p,f)|0}while((e|0)<=(q|0));j=k+36|0;c[j>>2]=e;b:do if(n)g=s;else{h=c[r>>2]|0;i=c[k+12>>2]|0;f=1;g=s;do{f=f<<1;if((h|0)%(B(f,i)|0)|0|0)break b;g=B(s,f)|0}while((g|0)<=(q|0))}while(0);h=k+40|0;c[h>>2]=g;f=g<<1;if((e|0)<=(f|0)){e=e<<1;if((g|0)>(e|0))c[h>>2]=e}else c[j>>2]=f;l=l+1|0;if((l|0)>=(b|0))break;else k=k+88|0}}if(o){f=a+28|0;g=a+316|0;h=a+428|0;i=a+32|0;j=a+320|0;e=0;while(1){b=B(B(c[d+8>>2]|0,c[f>>2]|0)|0,c[d+36>>2]|0)|0;c[d+44>>2]=fw(b,B(c[h>>2]|0,c[g>>2]|0)|0)|0;b=B(B(c[d+12>>2]|0,c[i>>2]|0)|0,c[d+40>>2]|0)|0;c[d+48>>2]=fw(b,B(c[h>>2]|0,c[j>>2]|0)|0)|0;e=e+1|0;b=c[t>>2]|0;if((e|0)>=(b|0))break;else d=d+88|0}}}d=c[a+44>>2]|0;switch(d|0){case 1:{b=d;break}case 6:case 2:{b=3;break}case 7:case 3:{b=3;break}case 5:case 4:{b=4;break}default:{}}c[a+120>>2]=b;c[a+124>>2]=(c[a+84>>2]|0)==0?b:1;if(!(Pt(a)|0)){t=1;a=a+128|0;c[a>>2]=t;return}t=c[a+320>>2]|0;a=a+128|0;c[a>>2]=t;return}function Pt(a){a=a|0;var b=0,d=0;if(c[a+308>>2]|0)return 0;switch(c[a+40>>2]|0){case 7:case 3:break;default:return 0}if((c[a+36>>2]|0)!=3)return 0;if((c[a+44>>2]|0)!=2)return 0;if((c[a+120>>2]|0)!=3)return 0;if(c[a+304>>2]|0)return 0;d=c[a+216>>2]|0;if((c[d+8>>2]|0)!=2)return 0;if((c[d+96>>2]|0)!=1)return 0;if((c[d+184>>2]|0)!=1)return 0;if((c[d+12>>2]|0)>2)return 0;if((c[d+100>>2]|0)!=1)return 0;if((c[d+188>>2]|0)!=1)return 0;b=c[d+36>>2]|0;if((b|0)!=(c[a+324>>2]|0))return 0;if((c[d+124>>2]|0)!=(b|0))return 0;if((c[d+212>>2]|0)!=(b|0))return 0;b=c[d+40>>2]|0;if((b|0)!=(c[a+328>>2]|0))return 0;if((c[d+128>>2]|0)==(b|0))return (c[d+216>>2]|0)==(b|0)|0;else return 0;return 0}function Qt(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;s=b+4|0;t=Hb[c[c[s>>2]>>2]&63](b,1,88)|0;r=b+484|0;c[r>>2]=t;c[t>>2]=47;c[t+8>>2]=117;c[t+12>>2]=118;c[t+68>>2]=0;c[t+52>>2]=0;t=b+120|0;if((c[t>>2]|0)>4){n=c[b>>2]|0;c[n+20>>2]=57;c[n+24>>2]=4;Qb[c[c[b>>2]>>2]&255](b)}d=b+96|0;e=c[d>>2]|0;if((e|0)>256){e=c[b>>2]|0;c[e+20>>2]=59;c[e+24>>2]=256;Qb[c[c[b>>2]>>2]&255](b);e=c[d>>2]|0}n=c[r>>2]|0;l=n+32|0;k=c[t>>2]|0;if((k|0)>1){h=1;while(1){g=h+1|0;f=1;d=g;do{d=B(d,g)|0;f=f+1|0}while((f|0)!=(k|0));if((d|0)>(e|0)){f=h;break}else h=g}}else{f=(e|0)>1?e:1;d=f+1|0}if(f>>>0<2){j=c[b>>2]|0;c[j+20>>2]=58;c[j+24>>2]=d;Qb[c[c[b>>2]>>2]&255](b)}a:do if((k|0)>0){h=1;d=0;do{c[n+32+(d<<2)>>2]=f;h=B(h,f)|0;d=d+1|0}while((d|0)!=(k|0));if((c[b+44>>2]|0)==2){g=0;d=0;f=h;while(1){h=n+32+(c[15924+(d<<2)>>2]<<2)|0;j=c[h>>2]|0;i=j+1|0;j=B((f|0)/(j|0)|0,i)|0;if((j|0)<=(e|0)){c[h>>2]=i;d=d+1|0;if((d|0)<(k|0)){g=1;f=j}else{d=1;f=j;m=22}}else{d=g;m=22}if((m|0)==22){m=0;if(!d)break a;else{g=0;d=0}}}}else{g=0;d=0;f=h;while(1){h=n+32+(d<<2)|0;j=c[h>>2]|0;i=j+1|0;j=B((f|0)/(j|0)|0,i)|0;if((j|0)<=(e|0)){c[h>>2]=i;d=d+1|0;if((d|0)<(k|0)){g=1;f=j}else{d=1;f=j;m=26}}else{d=g;m=26}if((m|0)==26){m=0;if(!d)break a;else{g=0;d=0}}}}}else f=1;while(0);d=c[b>>2]|0;if((c[t>>2]|0)==3){c[d+24>>2]=f;c[d+28>>2]=c[l>>2];c[d+32>>2]=c[n+36>>2];c[d+36>>2]=c[n+40>>2];c[d+20>>2]=96;Sb[c[d+4>>2]&63](b,1)}else{c[d+20>>2]=97;c[d+24>>2]=f;Sb[c[(c[b>>2]|0)+4>>2]&63](b,1)}m=Ib[c[(c[s>>2]|0)+8>>2]&15](b,1,f,c[t>>2]|0)|0;d=c[t>>2]|0;if((d|0)>0){k=0;l=f;do{j=c[n+32+(k<<2)>>2]|0;i=l;l=(l|0)/(j|0)|0;if((j|0)>0?(o=j+-1|0,p=(o|0)/2|0,q=m+(k<<2)|0,(l|0)>0):0){g=0;do{d=B(g,l)|0;if((d|0)<(f|0)){h=(((g*255|0)+p|0)/(o|0)|0)&255;do{e=0;do{a[(c[q>>2]|0)+(e+d)>>0]=h;e=e+1|0}while((e|0)!=(l|0));d=d+i|0}while((d|0)<(f|0))}g=g+1|0}while((g|0)!=(j|0));d=c[t>>2]|0}k=k+1|0}while((k|0)<(d|0))}c[n+16>>2]=m;c[n+20>>2]=f;_v(b);if((c[b+88>>2]|0)!=2)return;e=c[r>>2]|0;f=(c[b+112>>2]<<1)+4|0;if((c[t>>2]|0)<=0)return;d=0;do{c[e+68+(d<<2)>>2]=Hb[c[(c[s>>2]|0)+4>>2]&63](b,1,f)|0;d=d+1|0}while((d|0)<(c[t>>2]|0));return}function Rt(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;f=a+4|0;e=Hb[c[c[f>>2]>>2]&63](a,1,44)|0;c[a+484>>2]=e;c[e>>2]=48;c[e+12>>2]=119;g=e+32|0;c[g>>2]=0;c[e+40>>2]=0;if((c[a+120>>2]|0)!=3){d=c[a>>2]|0;c[d+20>>2]=48;Qb[c[d>>2]&255](a)}d=e+24|0;c[d>>2]=Hb[c[c[f>>2]>>2]&63](a,1,128)|0;b=0;do{h=Hb[c[(c[f>>2]|0)+4>>2]&63](a,1,4096)|0;c[(c[d>>2]|0)+(b<<2)>>2]=h;b=b+1|0}while((b|0)!=32);c[e+28>>2]=1;if(!(c[a+108>>2]|0))c[e+16>>2]=0;else{b=c[a+96>>2]|0;if((b|0)>=8){if((b|0)>256){h=c[a>>2]|0;c[h+20>>2]=59;c[h+24>>2]=256;Qb[c[c[a>>2]>>2]&255](a)}}else{h=c[a>>2]|0;c[h+20>>2]=58;c[h+24>>2]=8;Qb[c[c[a>>2]>>2]&255](a)}c[e+16>>2]=Ib[c[(c[f>>2]|0)+8>>2]&15](a,1,b,3)|0;c[e+20>>2]=b}b=a+88|0;if(!(c[b>>2]|0))return;c[b>>2]=2;c[g>>2]=Hb[c[(c[f>>2]|0)+4>>2]&63](a,1,((c[a+112>>2]|0)*6|0)+12|0)|0;Pv(a);return}function St(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;g=a+4|0;b=Hb[c[c[g>>2]>>2]&63](a,1,48)|0;f=a+476|0;c[f>>2]=b;c[b>>2]=120;c[b+8>>2]=0;d=B(c[a+120>>2]|0,c[a+112>>2]|0)|0;c[b+40>>2]=d;e=b+4|0;if((c[a+320>>2]|0)==2){c[e>>2]=1;c[b+12>>2]=9;c[b+32>>2]=Hb[c[(c[g>>2]|0)+4>>2]&63](a,1,d)|0;b=c[f>>2]|0}else{c[e>>2]=2;c[b+12>>2]=10;c[b+32>>2]=0}d=(c[a+40>>2]|0)==7;e=b+16|0;c[e>>2]=Hb[c[c[g>>2]>>2]&63](a,1,1024)|0;f=b+20|0;c[f>>2]=Hb[c[c[g>>2]>>2]&63](a,1,1024)|0;h=b+24|0;c[h>>2]=Hb[c[c[g>>2]>>2]&63](a,1,1024)|0;g=Hb[c[c[g>>2]>>2]&63](a,1,1024)|0;c[b+28>>2]=g;e=c[e>>2]|0;f=c[f>>2]|0;a=c[h>>2]|0;if(d){b=0;d=-128;while(1){c[e+(b<<2)>>2]=(d*183763|0)+32768>>16;c[f+(b<<2)>>2]=(d*232260|0)+32768>>16;c[a+(b<<2)>>2]=B(d,-93603)|0;c[g+(b<<2)>>2]=(B(d,-45107)|0)+32768;b=b+1|0;if((b|0)==256)break;else d=d+1|0}return}else{b=0;d=-128;while(1){c[e+(b<<2)>>2]=(d*91881|0)+32768>>16;c[f+(b<<2)>>2]=(d*116130|0)+32768>>16;c[a+(b<<2)>>2]=B(d,-46802)|0;c[g+(b<<2)>>2]=(B(d,-22553)|0)+32768;b=b+1|0;if((b|0)==256)break;else d=d+1|0}return}}function Tt(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;b=a+4|0;e=Hb[c[c[b>>2]>>2]&63](a,1,28)|0;g=a+480|0;c[g>>2]=e;c[e>>2]=121;h=a+40|0;switch(c[h>>2]|0){case 1:{if((c[a+36>>2]|0)!=1){f=c[a>>2]|0;c[f+20>>2]=11;Qb[c[f>>2]&255](a)}break}case 7:case 6:case 3:case 2:{if((c[a+36>>2]|0)!=3){f=c[a>>2]|0;c[f+20>>2]=11;Qb[c[f>>2]&255](a)}break}case 5:case 4:{if((c[a+36>>2]|0)!=4){f=c[a>>2]|0;c[f+20>>2]=11;Qb[c[f>>2]&255](a)}break}default:if((c[a+36>>2]|0)<1){f=c[a>>2]|0;c[f+20>>2]=11;Qb[c[f>>2]&255](a)}}d=a+304|0;a:do if(c[d>>2]|0){switch(c[h>>2]|0){case 6:case 2:break a;default:{}}f=c[a>>2]|0;c[f+20>>2]=28;Qb[c[f>>2]&255](a)}while(0);f=c[a+44>>2]|0;b:do switch(f|0){case 1:{c[a+120>>2]=1;switch(c[h>>2]|0){case 7:case 3:case 1:{c[e+4>>2]=4;d=c[a+36>>2]|0;if((d|0)<=1)break b;e=c[a+216>>2]|0;b=1;do{c[e+(b*88|0)+52>>2]=0;b=b+1|0}while((b|0)<(d|0));break}case 2:{switch(c[d>>2]|0){case 0:{c[e+4>>2]=5;break}case 1:{c[e+4>>2]=6;break}default:{h=c[a>>2]|0;c[h+20>>2]=28;Qb[c[h>>2]&255](a)}}h=c[g>>2]|0;d=Hb[c[c[b>>2]>>2]&63](a,1,3072)|0;c[h+24>>2]=d;b=0;do{c[d+(b<<2)>>2]=b*19595;c[d+(b+256<<2)>>2]=b*38470;c[d+(b+512<<2)>>2]=(b*7471|0)+32768;b=b+1|0}while((b|0)!=256);break}default:{h=c[a>>2]|0;c[h+20>>2]=28;Qb[c[h>>2]&255](a);break b}}break}case 2:{c[a+120>>2]=3;switch(c[h>>2]|0){case 1:{c[e+4>>2]=7;break b}case 3:{c[e+4>>2]=8;d=c[g>>2]|0;f=d+8|0;c[f>>2]=Hb[c[c[b>>2]>>2]&63](a,1,1024)|0;g=d+12|0;c[g>>2]=Hb[c[c[b>>2]>>2]&63](a,1,1024)|0;h=d+16|0;c[h>>2]=Hb[c[c[b>>2]>>2]&63](a,1,1024)|0;e=Hb[c[c[b>>2]>>2]&63](a,1,1024)|0;c[d+20>>2]=e;f=c[f>>2]|0;g=c[g>>2]|0;h=c[h>>2]|0;b=0;d=-128;while(1){c[f+(b<<2)>>2]=(d*91881|0)+32768>>16;c[g+(b<<2)>>2]=(d*116130|0)+32768>>16;c[h+(b<<2)>>2]=B(d,-46802)|0;c[e+(b<<2)>>2]=(B(d,-22553)|0)+32768;b=b+1|0;if((b|0)==256)break;else d=d+1|0}break}case 7:{c[e+4>>2]=8;d=c[g>>2]|0;f=d+8|0;c[f>>2]=Hb[c[c[b>>2]>>2]&63](a,1,1024)|0;g=d+12|0;c[g>>2]=Hb[c[c[b>>2]>>2]&63](a,1,1024)|0;h=d+16|0;c[h>>2]=Hb[c[c[b>>2]>>2]&63](a,1,1024)|0;e=Hb[c[c[b>>2]>>2]&63](a,1,1024)|0;c[d+20>>2]=e;f=c[f>>2]|0;g=c[g>>2]|0;h=c[h>>2]|0;b=0;d=-128;while(1){c[f+(b<<2)>>2]=(d*183763|0)+32768>>16;c[g+(b<<2)>>2]=(d*232260|0)+32768>>16;c[h+(b<<2)>>2]=B(d,-93603)|0;c[e+(b<<2)>>2]=(B(d,-45107)|0)+32768;b=b+1|0;if((b|0)==256)break;else d=d+1|0}break}case 2:switch(c[d>>2]|0){case 0:{c[e+4>>2]=9;break b}case 1:{c[e+4>>2]=10;break b}default:{h=c[a>>2]|0;c[h+20>>2]=28;Qb[c[h>>2]&255](a);break b}}default:{h=c[a>>2]|0;c[h+20>>2]=28;Qb[c[h>>2]&255](a);break b}}break}case 6:{c[a+120>>2]=3;if((c[h>>2]|0)!=6){h=c[a>>2]|0;c[h+20>>2]=28;Qb[c[h>>2]&255](a);break b}switch(c[d>>2]|0){case 0:{c[e+4>>2]=9;break b}case 1:{c[e+4>>2]=10;break b}default:{h=c[a>>2]|0;c[h+20>>2]=28;Qb[c[h>>2]&255](a);break b}}}case 4:{c[a+120>>2]=4;switch(c[h>>2]|0){case 5:{c[e+4>>2]=11;d=c[g>>2]|0;f=d+8|0;c[f>>2]=Hb[c[c[b>>2]>>2]&63](a,1,1024)|0;g=d+12|0;c[g>>2]=Hb[c[c[b>>2]>>2]&63](a,1,1024)|0;h=d+16|0;c[h>>2]=Hb[c[c[b>>2]>>2]&63](a,1,1024)|0;e=Hb[c[c[b>>2]>>2]&63](a,1,1024)|0;c[d+20>>2]=e;f=c[f>>2]|0;g=c[g>>2]|0;h=c[h>>2]|0;b=0;d=-128;while(1){c[f+(b<<2)>>2]=(d*91881|0)+32768>>16;c[g+(b<<2)>>2]=(d*116130|0)+32768>>16;c[h+(b<<2)>>2]=B(d,-46802)|0;c[e+(b<<2)>>2]=(B(d,-22553)|0)+32768;b=b+1|0;if((b|0)==256)break;else d=d+1|0}break}case 4:{c[e+4>>2]=12;break b}default:{h=c[a>>2]|0;c[h+20>>2]=28;Qb[c[h>>2]&255](a);break b}}break}default:if((f|0)==(c[h>>2]|0)){c[a+120>>2]=c[a+36>>2];c[e+4>>2]=12;break b}else{h=c[a>>2]|0;c[h+20>>2]=28;Qb[c[h>>2]&255](a);break b}}while(0);if(c[a+84>>2]|0){h=1;a=a+124|0;c[a>>2]=h;return}h=c[a+120>>2]|0;a=a+124|0;c[a>>2]=h;return}function Ut(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;m=b+4|0;d=Hb[c[c[m>>2]>>2]&63](b,1,160)|0;c[b+476>>2]=d;c[d>>2]=122;c[d+4>>2]=3;c[d+8>>2]=0;if(c[b+308>>2]|0){w=c[b>>2]|0;c[w+20>>2]=26;Qb[c[w>>2]&255](b)}n=b+36|0;if((c[n>>2]|0)<=0)return;o=b+324|0;p=b+328|0;q=b+316|0;r=b+320|0;s=d+100|0;t=d+52|0;u=b+112|0;v=d+12|0;w=d+140|0;h=d+150|0;f=c[b+216>>2]|0;g=0;while(1){i=B(c[f+36>>2]|0,c[f+8>>2]|0)|0;i=(i|0)/(c[o>>2]|0)|0;j=B(c[f+40>>2]|0,c[f+12>>2]|0)|0;j=(j|0)/(c[p>>2]|0)|0;k=c[q>>2]|0;l=c[r>>2]|0;c[s+(g<<2)>>2]=j;do if(!(c[f+52>>2]|0))c[t+(g<<2)>>2]=11;else{d=(j|0)==(l|0);if((i|0)==(k|0)&d){c[t+(g<<2)>>2]=12;break}e=(i<<1|0)==(k|0);do if(e&d)c[t+(g<<2)>>2]=13;else{if(e&(j<<1|0)==(l|0)){c[t+(g<<2)>>2]=14;break}d=(k|0)/(i|0)|0;if((k-(B(d,i)|0)|0)==0?(x=(l|0)/(j|0)|0,(l-(B(x,j)|0)|0)==0):0){c[t+(g<<2)>>2]=15;a[w+g>>0]=d;a[h+g>>0]=x;break}l=c[b>>2]|0;c[l+20>>2]=39;Qb[c[l>>2]&255](b)}while(0);k=c[(c[m>>2]|0)+8>>2]|0;l=fu(c[u>>2]|0,c[q>>2]|0)|0;c[v+(g<<2)>>2]=Ib[k&15](b,1,l,c[r>>2]|0)|0}while(0);g=g+1|0;if((g|0)>=(c[n>>2]|0))break;else f=f+88|0}return}function Vt(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;f=a+4|0;d=Hb[c[c[f>>2]>>2]&63](a,1,28)|0;c[a+456>>2]=d;c[d>>2]=49;h=d+8|0;c[h>>2]=0;i=d+12|0;c[i>>2]=0;if(!(c[a+84>>2]|0))return;g=c[a+320>>2]|0;e=d+16|0;c[e>>2]=g;d=c[f>>2]|0;if(!b){h=B(c[a+120>>2]|0,c[a+112>>2]|0)|0;c[i>>2]=Ib[c[d+8>>2]&15](a,1,h,g)|0;return}else{f=c[d+16>>2]|0;b=B(c[a+120>>2]|0,c[a+112>>2]|0)|0;i=fu(c[a+116>>2]|0,g)|0;c[h>>2]=Mb[f&63](a,1,0,b,i,c[e>>2]|0)|0;return}}function Wt(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;f=a+4|0;b=Hb[c[c[f>>2]>>2]&63](a,1,84)|0;c[a+472>>2]=b;c[b>>2]=123;g=a+36|0;if((c[g>>2]|0)<=0)return;e=b+44|0;b=0;d=c[a+216>>2]|0;while(1){h=Hb[c[c[f>>2]>>2]&63](a,1,256)|0;c[d+84>>2]=h;_O(h|0,0,256)|0;c[e+(b<<2)>>2]=-1;b=b+1|0;if((b|0)>=(c[g>>2]|0))break;else d=d+88|0}return}function Xt(b){b=b|0;var d=0,e=0,f=0,g=0;g=b+4|0;e=Hb[c[c[g>>2]>>2]&63](b,1,192)|0;c[b+468>>2]=e;c[e>>2]=124;c[e+8>>2]=125;d=e+188|0;e=e+60|0;f=e+128|0;do{c[e>>2]=0;e=e+4|0}while((e|0)<(f|0));a[d>>0]=113;if(!(c[b+224>>2]|0))return;f=b+36|0;e=Hb[c[c[g>>2]>>2]&63](b,1,c[f>>2]<<8)|0;c[b+160>>2]=e;if((c[f>>2]|0)<=0)return;d=0;do{_O(e+(d<<8)|0,-1,256)|0;d=d+1|0}while((d|0)<(c[f>>2]|0));return}function Yt(a){a=a|0;var b=0,d=0,e=0,f=0;b=a+4|0;f=Hb[c[c[b>>2]>>2]&63](a,1,220)|0;c[a+468>>2]=f;c[f>>2]=126;c[f+8>>2]=127;if(!(c[a+224>>2]|0)){e=f+68|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[f+88>>2]=0;c[f+92>>2]=0;c[f+96>>2]=0;return}e=a+36|0;d=Hb[c[c[b>>2]>>2]&63](a,1,c[e>>2]<<8)|0;c[a+160>>2]=d;if((c[e>>2]|0)>0){b=0;do{_O(d+(b<<8)|0,-1,256)|0;b=b+1|0}while((b|0)<(c[e>>2]|0))}f=f+48|0;c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=0;c[f+12>>2]=0;return}function Zt(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;h=a+4|0;i=Hb[c[c[h>>2]>>2]&63](a,1,116)|0;c[a+452>>2]=i;c[i>>2]=128;c[i+8>>2]=129;c[i+112>>2]=0;if(!b){b=Hb[c[(c[h>>2]|0)+4>>2]&63](a,1,1280)|0;c[i+32>>2]=b;c[i+36>>2]=b+128;c[i+40>>2]=b+256;c[i+44>>2]=b+384;c[i+48>>2]=b+512;c[i+52>>2]=b+640;c[i+56>>2]=b+768;c[i+60>>2]=b+896;c[i+64>>2]=b+1024;c[i+68>>2]=b+1152;if(!(c[a+436>>2]|0))_O(b|0,0,1280)|0;c[i+4>>2]=84;c[i+12>>2]=34;c[i+16>>2]=0;return}f=a+36|0;if((c[f>>2]|0)>0){g=a+224|0;b=i+72|0;d=0;e=c[a+216>>2]|0;while(1){k=e+12|0;j=c[k>>2]|0;j=(c[g>>2]|0)==0?j:j*3|0;m=c[(c[h>>2]|0)+20>>2]|0;l=fu(c[e+28>>2]|0,c[e+8>>2]|0)|0;k=fu(c[e+32>>2]|0,c[k>>2]|0)|0;c[b+(d<<2)>>2]=Mb[m&63](a,1,1,l,k,j)|0;d=d+1|0;if((d|0)>=(c[f>>2]|0))break;else e=e+88|0}}else b=i+72|0;c[i+4>>2]=83;c[i+12>>2]=33;c[i+16>>2]=b;return}function _t(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;l=a+4|0;j=Hb[c[c[l>>2]>>2]&63](a,1,80)|0;d=a+448|0;c[d>>2]=j;c[j>>2]=50;if(b|0){k=c[a>>2]|0;c[k+20>>2]=3;Qb[c[k>>2]&255](a)}k=a+328|0;e=c[k>>2]|0;if(!(c[(c[a+476>>2]|0)+8>>2]|0)){c[j+52>>2]=e;b=a+36|0;h=e;g=b;b=c[b>>2]|0;d=e}else{if((e|0)<2){e=c[a>>2]|0;c[e+20>>2]=48;Qb[c[e>>2]&255](a);e=c[k>>2]|0}h=c[d>>2]|0;i=a+36|0;f=Hb[c[c[l>>2]>>2]&63](a,1,c[i>>2]<<3)|0;g=h+60|0;c[g>>2]=f;b=c[i>>2]|0;h=h+64|0;c[h>>2]=f+(b<<2);if((b|0)>0){f=e+4|0;d=c[a+216>>2]|0;e=0;while(1){m=B(c[d+40>>2]|0,c[d+12>>2]|0)|0;m=(m|0)/(c[k>>2]|0)|0;b=B(m,f)|0;m=(Hb[c[c[l>>2]>>2]&63](a,1,b<<3)|0)+(m<<2)|0;c[(c[g>>2]|0)+(e<<2)>>2]=m;c[(c[h>>2]|0)+(e<<2)>>2]=m+(b<<2);e=e+1|0;b=c[i>>2]|0;if((e|0)>=(b|0))break;else d=d+88|0}}d=c[k>>2]|0;h=d+2|0;g=i}if((b|0)<=0)return;f=j+8|0;b=0;e=c[a+216>>2]|0;while(1){m=(B(c[e+40>>2]|0,c[e+12>>2]|0)|0)/(d|0)|0;j=B(c[e+36>>2]|0,c[e+28>>2]|0)|0;m=B(m,h)|0;c[f+(b<<2)>>2]=Ib[c[(c[l>>2]|0)+8>>2]&15](a,1,j,m)|0;b=b+1|0;if((b|0)>=(c[g>>2]|0))break;e=e+88|0;d=c[k>>2]|0}return}function $t(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;r=c[a+448>>2]|0;switch(b|0){case 0:{b=r+4|0;if(!(c[(c[a+476>>2]|0)+8>>2]|0)){c[b>>2]=17;c[r+48>>2]=c[r+52>>2];return}c[b>>2]=16;l=c[a+328>>2]|0;m=c[a+36>>2]|0;if((m|0)>0){n=r+60|0;o=r+64|0;p=l+2|0;q=l+-2|0;h=c[a+216>>2]|0;i=0;while(1){j=(B(c[h+40>>2]|0,c[h+12>>2]|0)|0)/(l|0)|0;k=c[(c[n>>2]|0)+(i<<2)>>2]|0;f=c[(c[o>>2]|0)+(i<<2)>>2]|0;g=c[r+8+(i<<2)>>2]|0;a=B(j,p)|0;if((a|0)>0){b=0;do{e=c[g+(b<<2)>>2]|0;c[f+(b<<2)>>2]=e;c[k+(b<<2)>>2]=e;b=b+1|0}while((b|0)!=(a|0))}a=j<<1;if((j|0)>0){d=B(j,l)|0;e=B(j,q)|0;b=0;do{s=b+d|0;t=b+e|0;c[f+(t<<2)>>2]=c[g+(s<<2)>>2];c[f+(s<<2)>>2]=c[g+(t<<2)>>2];b=b+1|0}while((b|0)<(a|0));b=0;do{c[k+(b-j<<2)>>2]=c[k>>2];b=b+1|0}while((b|0)!=(j|0))}i=i+1|0;if((i|0)==(m|0))break;else h=h+88|0}}c[r+68>>2]=0;c[r+72>>2]=0;c[r+76>>2]=0;c[r+56>>2]=0;return}case 2:{c[r+4>>2]=18;return}default:{t=c[a>>2]|0;c[t+20>>2]=3;Qb[c[t>>2]&255](a);return}}}function au(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;v=a+448|0;w=c[v>>2]|0;y=w+56|0;do if(!(c[y>>2]|0))if(!(Gb[c[(c[a+452>>2]|0)+12>>2]&63](a,c[w+60+(c[w+68>>2]<<2)>>2]|0)|0))return;else{c[y>>2]=1;x=w+76|0;c[x>>2]=(c[x>>2]|0)+1;break}while(0);x=w+72|0;switch(c[x>>2]|0){case 2:{f=w+48|0;g=w+52|0;Yb[c[(c[a+456>>2]|0)+4>>2]&7](a,c[w+60+(c[w+68>>2]<<2)>>2]|0,f,c[g>>2]|0,b,d,e);if((c[f>>2]|0)>>>0<(c[g>>2]|0)>>>0)return;c[x>>2]=0;if((c[d>>2]|0)>>>0>>0)h=9;else return;break}case 0:{f=w+48|0;g=w+52|0;h=9;break}case 1:{u=w+48|0;t=w+52|0;break}default:return}if((h|0)==9){c[f>>2]=0;p=c[a+328>>2]|0;c[g>>2]=p+-1;if((c[w+76>>2]|0)==(c[a+332>>2]|0)?(i=c[v>>2]|0,r=c[a+36>>2]|0,(r|0)>0):0){q=i+52|0;l=i+60+(c[i+68>>2]<<2)|0;j=c[a+216>>2]|0;k=0;while(1){u=B(c[j+40>>2]|0,c[j+12>>2]|0)|0;h=(u|0)/(p|0)|0;o=((c[j+48>>2]|0)>>>0)%(u>>>0)|0;o=(o|0)==0?u:o;if(!k)c[q>>2]=((o+-1|0)/(h|0)|0)+1;m=c[(c[l>>2]|0)+(k<<2)>>2]|0;n=h<<1;if((h|0)>0){i=m+(o+-1<<2)|0;h=0;do{c[m+(h+o<<2)>>2]=c[i>>2];h=h+1|0}while((h|0)<(n|0))}k=k+1|0;if((k|0)==(r|0))break;else j=j+88|0}}c[x>>2]=1;u=f;t=g}s=w+68|0;Yb[c[(c[a+456>>2]|0)+4>>2]&7](a,c[w+60+(c[s>>2]<<2)>>2]|0,u,c[t>>2]|0,b,d,e);if((c[u>>2]|0)>>>0<(c[t>>2]|0)>>>0)return;if((c[w+76>>2]|0)==1){g=c[v>>2]|0;f=c[a+328>>2]|0;r=c[a+36>>2]|0;if((r|0)>0){b=g+60|0;o=g+64|0;p=f+1|0;q=f+2|0;h=c[a+216>>2]|0;i=0;while(1){j=(B(c[h+40>>2]|0,c[h+12>>2]|0)|0)/(f|0)|0;k=c[(c[b>>2]|0)+(i<<2)>>2]|0;l=c[(c[o>>2]|0)+(i<<2)>>2]|0;if((j|0)>0){m=B(j,p)|0;n=B(j,q)|0;g=0;do{w=g+m|0;a=g-j|0;c[k+(a<<2)>>2]=c[k+(w<<2)>>2];c[l+(a<<2)>>2]=c[l+(w<<2)>>2];a=g+n|0;c[k+(a<<2)>>2]=c[k+(g<<2)>>2];c[l+(a<<2)>>2]=c[l+(g<<2)>>2];g=g+1|0}while((g|0)!=(j|0))}i=i+1|0;if((i|0)==(r|0))break;else h=h+88|0}}}else f=c[a+328>>2]|0;c[s>>2]=c[s>>2]^1;c[y>>2]=0;c[u>>2]=f+1;c[t>>2]=f+2;c[x>>2]=2;return}function bu(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+448>>2]|0;i=f+48|0;h=f+52|0;g=c[h>>2]|0;do if((c[i>>2]|0)>>>0>=g>>>0){f=f+8|0;if(!(Gb[c[(c[a+452>>2]|0)+12>>2]&63](a,f)|0))return;else{c[i>>2]=0;g=c[h>>2]|0;break}}else f=f+8|0;while(0);Yb[c[(c[a+456>>2]|0)+4>>2]&7](a,f,i,g,b,d,e);return}function cu(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;Yb[c[(c[a+456>>2]|0)+4>>2]&7](a,0,0,0,b,d,e);return}function du(a){a=a|0;var b=0,d=0;c[a+148>>2]=0;b=c[a+452>>2]|0;if((c[a+340>>2]|0)>1)a=1;else{d=c[a+344>>2]|0;a=c[((c[a+332>>2]|0)==1?d+76|0:d+12|0)>>2]|0}c[b+28>>2]=a;c[b+20>>2]=0;c[b+24>>2]=0;return}function eu(a){a=a|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;k=c[a+452>>2]|0;if(!(c[k+16>>2]|0)){l=a+156|0;c[l>>2]=0;return}a:do if(((c[a+80>>2]|0)!=0?(c[a+224>>2]|0)!=0:0)?(j=a+160|0,(c[j>>2]|0)!=0):0){d=k+112|0;e=c[d>>2]|0;if(!e){i=a+36|0;e=Hb[c[c[a+4>>2]>>2]&63](a,1,(c[i>>2]|0)*24|0)|0;c[d>>2]=e}else i=a+36|0;if((c[i>>2]|0)>0){f=0;g=c[a+216>>2]|0;h=0;while(1){d=c[g+80>>2]|0;if(!d){l=20;break a}if(!(b[d>>1]|0)){l=20;break a}if(!(b[d+2>>1]|0)){l=20;break a}if(!(b[d+16>>1]|0)){l=20;break a}if(!(b[d+32>>1]|0)){l=20;break a}if(!(b[d+18>>1]|0)){l=20;break a}if(!(b[d+4>>1]|0)){l=20;break a}d=c[j>>2]|0;if((c[d+(h<<8)>>2]|0)<0){l=20;break a}m=d+(h<<8)+4|0;c[e+4>>2]=c[m>>2];m=c[m>>2]|0;n=d+(h<<8)+8|0;c[e+8>>2]=c[n>>2];m=c[n>>2]|m;n=d+(h<<8)+12|0;c[e+12>>2]=c[n>>2];n=m|c[n>>2];m=d+(h<<8)+16|0;c[e+16>>2]=c[m>>2];m=n|c[m>>2];d=d+(h<<8)+20|0;c[e+20>>2]=c[d>>2];f=(m|c[d>>2]|0)==0?f:1;h=h+1|0;if((h|0)>=(c[i>>2]|0))break;else{g=g+88|0;e=e+24|0}}if(f)d=35;else l=20}else l=20}else l=20;while(0);if((l|0)==20)d=33;c[k+12>>2]=d;n=a+156|0;c[n>>2]=0;return}function fu(a,b){a=a|0;b=b|0;a=a+-1+b|0;return a-((a|0)%(b|0)|0)|0}function gu(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;z=yb;yb=yb+16|0;u=z;x=a+452|0;v=c[x>>2]|0;y=a+340|0;if((c[y>>2]|0)>0){d=a+4|0;e=a+148|0;b=0;do{r=c[a+344+(b<<2)>>2]|0;t=c[r+12>>2]|0;s=B(t,c[e>>2]|0)|0;c[u+(b<<2)>>2]=Kb[c[(c[d>>2]|0)+32>>2]&31](a,c[v+72+(c[r+4>>2]<<2)>>2]|0,s,t,1)|0;b=b+1|0}while((b|0)<(c[y>>2]|0))}o=v+24|0;b=c[o>>2]|0;p=v+28|0;f=c[p>>2]|0;a:do if((b|0)<(f|0)){q=v+20|0;r=a+360|0;s=a+468|0;t=v+32|0;d=c[q>>2]|0;e=c[r>>2]|0;b:while(1){if(d>>>0>>0){do{n=c[y>>2]|0;if((n|0)>0){e=0;m=0;do{l=c[a+344+(m<<2)>>2]|0;j=c[l+56>>2]|0;k=B(j,d)|0;l=c[l+60>>2]|0;if((l|0)>0?(w=c[u+(m<<2)>>2]|0,(j|0)>0):0){i=0;do{f=0;g=(c[w+(i+b<<2)>>2]|0)+(k<<7)|0;h=e;while(1){c[v+32+(h<<2)>>2]=g;f=f+1|0;if((f|0)==(j|0))break;else{g=g+128|0;h=h+1|0}}e=j+e|0;i=i+1|0}while((i|0)<(l|0))}m=m+1|0}while((m|0)<(n|0))}if(!(Gb[c[(c[s>>2]|0)+4>>2]&63](a,t)|0))break b;d=d+1|0;e=c[r>>2]|0}while(d>>>0>>0);f=c[p>>2]|0}c[q>>2]=0;b=b+1|0;if((b|0)<(f|0))d=0;else break a}c[o>>2]=b;c[q>>2]=d;y=0;yb=z;return y|0}while(0);d=a+148|0;b=(c[d>>2]|0)+1|0;c[d>>2]=b;d=c[a+332>>2]|0;if(b>>>0>=d>>>0){Qb[c[(c[a+460>>2]|0)+12>>2]&255](a);y=4;yb=z;return y|0}e=c[x>>2]|0;if((c[y>>2]|0)>1)b=1;else{y=c[a+344>>2]|0;b=c[(b>>>0<(d+-1|0)>>>0?y+12|0:y+76|0)>>2]|0}c[e+28>>2]=b;c[e+20>>2]=0;c[e+24>>2]=0;y=3;yb=z;return y|0}function hu(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;v=c[a+452>>2]|0;w=a+332|0;x=(c[w>>2]|0)+-1|0;g=a+144|0;h=a+152|0;i=a+460|0;d=a+148|0;u=a+156|0;while(1){e=c[g>>2]|0;f=c[h>>2]|0;if((e|0)>=(f|0)){if((e|0)!=(f|0))break;if((c[d>>2]|0)>>>0>(c[u>>2]|0)>>>0)break}if(!(Eb[c[c[i>>2]>>2]&127](a)|0)){d=0;j=20;break}}if((j|0)==20)return d|0;q=a+36|0;if((c[q>>2]|0)>0){r=a+4|0;s=a+472|0;o=c[a+216>>2]|0;p=0;while(1){if(c[o+52>>2]|0){d=o+12|0;t=c[d>>2]|0;n=B(t,c[u>>2]|0)|0;t=Kb[c[(c[r>>2]|0)+32>>2]&31](a,c[v+72+(p<<2)>>2]|0,n,t,0)|0;if((c[u>>2]|0)>>>0>>0)i=c[d>>2]|0;else{n=c[d>>2]|0;i=((c[o+32>>2]|0)>>>0)%(n>>>0)|0;i=(i|0)==0?n:i}k=c[(c[s>>2]|0)+4+(p<<2)>>2]|0;if((i|0)>0){l=o+28|0;m=o+40|0;n=o+36|0;h=c[b+(p<<2)>>2]|0;j=0;d=c[l>>2]|0;while(1){if(!d)d=0;else{e=0;f=c[t+(j<<2)>>2]|0;g=0;while(1){Wb[k&63](a,o,f,h,e);g=g+1|0;d=c[l>>2]|0;if(g>>>0>=d>>>0)break;else{e=(c[n>>2]|0)+e|0;f=f+128|0}}}j=j+1|0;if((j|0)==(i|0))break;else h=h+(c[m>>2]<<2)|0}}}p=p+1|0;if((p|0)>=(c[q>>2]|0))break;else o=o+88|0}}x=(c[u>>2]|0)+1|0;c[u>>2]=x;x=x>>>0<(c[w>>2]|0)>>>0?3:4;return x|0}function iu(a){a=a|0;return 0}function ju(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,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0;N=a+452|0;I=c[N>>2]|0;J=(c[a+360>>2]|0)+-1|0;M=a+332|0;f=c[M>>2]|0;K=f+-1|0;G=I+24|0;d=c[G>>2]|0;H=I+28|0;g=c[H>>2]|0;do if((d|0)<(g|0)){y=I+20|0;z=a+436|0;A=a+468|0;C=I+32|0;D=a+368|0;E=a+340|0;F=a+472|0;e=a+148|0;x=d;f=g;d=c[y>>2]|0;a:while(1){if(d>>>0<=J>>>0){do{if(c[z>>2]|0)_O(c[C>>2]|0,0,c[D>>2]<<7|0)|0;if(!(Gb[c[(c[A>>2]|0)+4>>2]&63](a,C)|0))break a;f=c[E>>2]|0;if((f|0)>0){w=d>>>0>>0;g=0;v=0;do{m=c[a+344+(v<<2)>>2]|0;b:do if(c[m+52>>2]|0){h=c[m+4>>2]|0;n=c[(c[F>>2]|0)+4+(h<<2)>>2]|0;o=m+56|0;p=c[(w?o:m+72|0)>>2]|0;q=m+40|0;i=c[q>>2]|0;r=B(c[m+68>>2]|0,d)|0;s=m+60|0;l=c[s>>2]|0;if((l|0)>0){t=m+76|0;u=m+36|0;if((p|0)<=0){i=c[o>>2]|0;h=0;while(1){g=i+g|0;h=h+1|0;if((h|0)>=(l|0))break b}}j=(c[b+(h<<2)>>2]|0)+((B(i,x)|0)<<2)|0;k=0;h=l;f=i;while(1){if(!((c[e>>2]|0)>>>0>=K>>>0?(k+x|0)>=(c[t>>2]|0):0)){f=r;h=0;while(1){Wb[n&63](a,m,c[I+32+(h+g<<2)>>2]|0,j,f);h=h+1|0;if((h|0)==(p|0))break;else f=(c[u>>2]|0)+f|0}f=c[q>>2]|0;h=c[s>>2]|0}g=(c[o>>2]|0)+g|0;k=k+1|0;if((k|0)>=(h|0))break;else j=j+(f<<2)|0}f=c[E>>2]|0}}else g=(c[m+64>>2]|0)+g|0;while(0);v=v+1|0}while((v|0)<(f|0))}d=d+1|0}while(d>>>0<=J>>>0);f=c[H>>2]|0}c[y>>2]=0;d=x+1|0;if((d|0)<(f|0)){x=d;d=0}else{L=30;break}}if((L|0)==30){f=c[M>>2]|0;break}c[G>>2]=x;c[y>>2]=d;a=0;return a|0}else e=a+148|0;while(0);d=a+156|0;c[d>>2]=(c[d>>2]|0)+1;d=(c[e>>2]|0)+1|0;c[e>>2]=d;if(d>>>0>=f>>>0){Qb[c[(c[a+460>>2]|0)+12>>2]&255](a);a=4;return a|0}e=c[N>>2]|0;if((c[a+340>>2]|0)>1)d=1;else{a=c[a+344>>2]|0;d=c[(d>>>0<(f+-1|0)>>>0?a+12|0:a+76|0)>>2]|0}c[e+28>>2]=d;c[e+20>>2]=0;c[e+24>>2]=0;a=3;return a|0}function ku(a,d){a=a|0;d=d|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,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;oa=yb;yb=yb+128|0;ka=oa;la=c[a+452>>2]|0;na=a+332|0;ma=(c[na>>2]|0)+-1|0;n=a+144|0;f=c[n>>2]|0;i=a+152|0;g=c[i>>2]|0;a:do if((f|0)<=(g|0)){j=a+460|0;k=a+412|0;l=a+148|0;m=a+156|0;while(1){h=c[j>>2]|0;if(c[h+20>>2]|0)break a;if((f|0)==(g|0)?(c[l>>2]|0)>>>0>((c[m>>2]|0)+((c[k>>2]|0)==0&1)|0)>>>0:0)break a;if(!(Eb[c[h>>2]&127](a)|0)){f=0;break}f=c[n>>2]|0;g=c[i>>2]|0;if((f|0)>(g|0))break a}yb=oa;return f|0}while(0);ba=a+36|0;if((c[ba>>2]|0)>0){f=a+156|0;ca=a+4|0;da=la+112|0;ea=a+472|0;fa=ka+2|0;ga=ka+16|0;ha=ka+32|0;ia=ka+18|0;ja=ka+4|0;_=0;$=c[a+216>>2]|0;while(1){if(c[$+52>>2]|0){h=c[f>>2]|0;if(h>>>0>>0){i=c[$+12>>2]|0;g=i<<1;j=0;aa=i}else{i=c[$+12>>2]|0;aa=((c[$+32>>2]|0)>>>0)%(i>>>0)|0;aa=(aa|0)==0?i:aa;g=aa;j=1}if(!h){Y=Kb[c[(c[ca>>2]|0)+32>>2]&31](a,c[la+72+(_<<2)>>2]|0,0,g,0)|0;g=1}else{Y=B(i,h+-1|0)|0;Y=Kb[c[(c[ca>>2]|0)+32>>2]&31](a,c[la+72+(_<<2)>>2]|0,Y,i+g|0,0)|0;Y=Y+(c[$+12>>2]<<2)|0;g=0}i=(c[da>>2]|0)+(_*6<<2)|0;o=c[$+80>>2]|0;l=e[o>>1]|0;h=e[o+2>>1]|0;k=e[o+16>>1]|0;m=e[o+32>>1]|0;n=e[o+18>>1]|0;o=e[o+4>>1]|0;Z=c[(c[ea>>2]|0)+4+(_<<2)>>2]|0;if((aa|0)>0){X=(g|0)!=0;N=(j|0)!=0;O=aa+-1|0;P=$+28|0;Q=i+4|0;R=i+8|0;S=i+12|0;T=l*36|0;U=h<<7;V=i+16|0;W=k<<7;M=h<<8;J=i+20|0;K=l*9|0;L=m<<7;H=k<<8;I=$+36|0;F=l*5|0;G=n<<7;D=m<<8;E=o<<7;C=n<<8;y=o<<8;z=$+40|0;w=0;x=c[d+(_<<2)>>2]|0;while(1){g=c[Y+(w<<2)>>2]|0;if(X&(w|0)==0)h=g;else h=c[Y+(w+-1<<2)>>2]|0;if(N&(w|0)==(O|0))i=g;else i=c[Y+(w+1<<2)>>2]|0;l=b[h>>1]|0;q=b[g>>1]|0;k=b[i>>1]|0;A=(c[P>>2]|0)+-1|0;s=k;t=q;u=l;v=0;r=0;p=i;while(1){lu(g,ka,1);if(v>>>0>>0){m=b[p+128>>1]|0;n=b[g+128>>1]|0;o=b[h+128>>1]|0}else{m=s;n=t;o=u}i=c[Q>>2]|0;if((i|0)!=0&(b[fa>>1]|0)==0){j=B(T,q-n|0)|0;if((j|0)>-1){j=(j+U|0)/(M|0)|0;pa=1<0?((j|0)<(pa|0)?j:pa+-1|0):j}else{pa=(U-j|0)/(M|0)|0;j=1<0?((pa|0)<(j|0)?pa:j+-1|0):pa)|0}b[fa>>1]=i}i=c[R>>2]|0;if((i|0)!=0&(b[ga>>1]|0)==0){j=B(T,u-s|0)|0;if((j|0)>-1){pa=(j+W|0)/(H|0)|0;j=1<0?((pa|0)<(j|0)?pa:j+-1|0):pa}else{pa=(W-j|0)/(H|0)|0;j=1<0?((pa|0)<(j|0)?pa:j+-1|0):pa)|0}b[ga>>1]=i}i=c[S>>2]|0;if((i|0)!=0&(b[ha>>1]|0)==0){j=B(K,u-(t<<1)+s|0)|0;if((j|0)>-1){pa=(j+L|0)/(D|0)|0;j=1<0?((pa|0)<(j|0)?pa:j+-1|0):pa}else{pa=(L-j|0)/(D|0)|0;j=1<0?((pa|0)<(j|0)?pa:j+-1|0):pa)|0}b[ha>>1]=i}j=c[V>>2]|0;if((j|0)!=0&(b[ia>>1]|0)==0){i=B(F,l-k-o+m|0)|0;if((i|0)>-1){i=(i+G|0)/(C|0)|0;pa=1<0?((i|0)<(pa|0)?i:pa+-1|0):i}else{i=(G-i|0)/(C|0)|0;pa=1<0?((i|0)<(pa|0)?i:pa+-1|0):i)|0}b[ia>>1]=i}j=c[J>>2]|0;if((j|0)!=0&(b[ja>>1]|0)==0){i=B(K,q-(t<<1)+n|0)|0;if((i|0)>-1){i=(i+E|0)/(y|0)|0;pa=1<0?((i|0)<(pa|0)?i:pa+-1|0):i}else{i=(E-i|0)/(y|0)|0;pa=1<0?((i|0)<(pa|0)?i:pa+-1|0):i)|0}b[ja>>1]=i}Wb[Z&63](a,$,ka,x,r);v=v+1|0;if(v>>>0>A>>>0)break;else{l=u;q=t;k=s;s=m;t=n;u=o;g=g+128|0;r=(c[I>>2]|0)+r|0;h=h+128|0;p=p+128|0}}w=w+1|0;if((w|0)==(aa|0))break;else x=x+(c[z>>2]<<2)|0}}}_=_+1|0;if((_|0)>=(c[ba>>2]|0))break;else $=$+88|0}}else f=a+156|0;pa=(c[f>>2]|0)+1|0;c[f>>2]=pa;pa=pa>>>0<(c[na>>2]|0)>>>0?3:4;yb=oa;return pa|0}function lu(a,b,c){a=a|0;b=b|0;c=c|0;YO(b|0,a|0,c<<7|0)|0;return}function mu(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;n=c[a+468>>2]|0;m=a+412|0;f=c[m>>2]|0;d=(f|0)==0;if(!(c[a+224>>2]|0)){if((d?(c[a+420>>2]|0)==0:0)?(c[a+424>>2]|0)==0:0){m=c[a+416>>2]|0;if((c[a+220>>2]|0)!=0|(m|0)<64?(m|0)!=(c[a+436>>2]|0):0)e=38}else e=38;if((e|0)==38){m=c[a>>2]|0;c[m+20>>2]=125;Sb[c[m+4>>2]&63](a,-1)}g=a+436|0;c[n+4>>2]=(c[g>>2]|0)==63?40:41;d=a+340|0;if((c[d>>2]|0)>0){b=0;do{e=c[a+344+(b<<2)>>2]|0;m=c[e+20>>2]|0;su(a,1,m,n+68+(m<<2)|0);if(c[g>>2]|0){m=c[e+24>>2]|0;su(a,0,m,n+84+(m<<2)|0)}c[n+24+(b<<2)>>2]=0;b=b+1|0}while((b|0)<(c[d>>2]|0))}f=a+368|0;if((c[f>>2]|0)<=0){m=n+16|0;c[m>>2]=0;m=n+12|0;c[m>>2]=0;m=n+40|0;c[m>>2]=0;a=a+280|0;a=c[a>>2]|0;n=n+44|0;c[n>>2]=a;return}e=0;do{b=c[a+344+(c[a+372+(e<<2)>>2]<<2)>>2]|0;c[n+100+(e<<2)>>2]=c[n+68+(c[b+20>>2]<<2)>>2];c[n+140+(e<<2)>>2]=c[n+84+(c[b+24>>2]<<2)>>2];a:do if(!(c[b+52>>2]|0))b=0;else{d=c[b+40>>2]|0;b=c[b+36>>2]|0;switch(c[g>>2]|0){case 0:{b=1;break a}case 3:{b=(c[4336+(((d|0)!=1&1)<<3)+(((b|0)!=1&1)<<2)>>2]|0)+1|0;break a}case 8:{m=d+-1|0;b=b+-1|0;b=(c[4352+((m>>>0<2?m:2)*12|0)+((b>>>0<2?b:2)<<2)>>2]|0)+1|0;break a}case 15:{m=d+-1|0;b=b+-1|0;b=(c[4400+((m>>>0<3?m:3)<<4)+((b>>>0<3?b:3)<<2)>>2]|0)+1|0;break a}case 24:{m=d+-1|0;b=b+-1|0;b=(c[4464+((m>>>0<4?m:4)*20|0)+((b>>>0<4?b:4)<<2)>>2]|0)+1|0;break a}case 35:{m=d+-1|0;b=b+-1|0;b=(c[4576+((m>>>0<5?m:5)*24|0)+((b>>>0<5?b:5)<<2)>>2]|0)+1|0;break a}case 48:{m=d+-1|0;b=b+-1|0;b=(c[4720+((m>>>0<6?m:6)*28|0)+((b>>>0<6?b:6)<<2)>>2]|0)+1|0;break a}default:{m=d+-1|0;b=b+-1|0;b=(c[4928+((m>>>0<7?m:7)<<5)+((b>>>0<7?b:7)<<2)>>2]|0)+1|0;break a}}}while(0);c[n+180+(e<<2)>>2]=b;e=e+1|0}while((e|0)<(c[f>>2]|0));m=n+16|0;c[m>>2]=0;m=n+12|0;c[m>>2]=0;m=n+40|0;c[m>>2]=0;a=a+280|0;a=c[a>>2]|0;n=n+44|0;c[n>>2]=a;return}k=a+416|0;b=c[k>>2]|0;if(d)if(!b)e=7;else e=11;else if(((b|0)>=(f|0)?(b|0)<=(c[a+436>>2]|0):0)?(c[a+340>>2]|0)==1:0)e=7;else e=11;do if((e|0)==7){b=c[a+420>>2]|0;if(b){b=b+-1|0;if((b|0)!=(c[a+424>>2]|0)){e=11;break}}else b=c[a+424>>2]|0;if((b|0)>13)e=11}while(0);if((e|0)==11){l=c[a>>2]|0;c[l+20>>2]=17;c[l+24>>2]=f;c[(c[a>>2]|0)+28>>2]=c[k>>2];c[(c[a>>2]|0)+32>>2]=c[a+420>>2];c[(c[a>>2]|0)+36>>2]=c[a+424>>2];Qb[c[c[a>>2]>>2]&255](a)}l=a+340|0;b=c[l>>2]|0;if((b|0)>0){i=a+160|0;g=a+420|0;j=a+424|0;h=0;do{e=c[(c[a+344+(h<<2)>>2]|0)+4>>2]|0;f=c[i>>2]|0;b=c[m>>2]|0;if(b){if((c[f+(e<<8)>>2]|0)<0){b=c[a>>2]|0;c[b+20>>2]=118;c[b+24>>2]=e;c[(c[a>>2]|0)+28>>2]=0;Sb[c[(c[a>>2]|0)+4>>2]&63](a,-1);b=c[m>>2]|0}}else b=0;if((b|0)<=(c[k>>2]|0))while(1){d=f+(e<<8)+(b<<2)|0;o=c[d>>2]|0;if((c[g>>2]|0)!=(((o|0)>0?o:0)|0)){o=c[a>>2]|0;c[o+20>>2]=118;c[o+24>>2]=e;c[(c[a>>2]|0)+28>>2]=b;Sb[c[(c[a>>2]|0)+4>>2]&63](a,-1)}c[d>>2]=c[j>>2];if((b|0)<(c[k>>2]|0))b=b+1|0;else break}h=h+1|0;b=c[l>>2]|0}while((h|0)<(b|0))}else g=a+420|0;e=c[m>>2]|0;o=(e|0)==0;c[n+4>>2]=(c[g>>2]|0)==0?(o?36:37):o?38:39;b:do if((b|0)>0){f=n+64|0;b=0;while(1){d=c[a+344+(b<<2)>>2]|0;if(!e){if(!(c[g>>2]|0)){o=c[d+20>>2]|0;su(a,1,o,n+48+(o<<2)|0)}}else{k=c[d+24>>2]|0;o=n+48+(k<<2)|0;su(a,0,k,o);c[f>>2]=c[o>>2]}c[n+24+(b<<2)>>2]=0;b=b+1|0;if((b|0)>=(c[l>>2]|0))break b;e=c[m>>2]|0}}while(0);c[n+20>>2]=0;o=n+16|0;c[o>>2]=0;o=n+12|0;c[o>>2]=0;o=n+40|0;c[o>>2]=0;a=a+280|0;a=c[a>>2]|0;o=n+44|0;c[o>>2]=a;return}function nu(a){a=a|0;var b=0;b=(c[a+468>>2]|0)+16|0;a=(c[a+464>>2]|0)+24|0;c[a>>2]=(c[a>>2]|0)+((c[b>>2]|0)/8|0);c[b>>2]=0;return}function ou(a,e){a=a|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;A=yb;yb=yb+48|0;x=A+20|0;y=A;z=c[a+468>>2]|0;t=c[a+424>>2]|0;i=a+280|0;if(c[i>>2]|0?(g=z+44|0,(c[g>>2]|0)==0):0){v=z+16|0;w=c[a+464>>2]|0;u=w+24|0;c[u>>2]=(c[u>>2]|0)+((c[v>>2]|0)/8|0);c[v>>2]=0;if(!(Eb[c[w+8>>2]&127](a)|0)){z=0;yb=A;return z|0}h=a+340|0;if((c[h>>2]|0)>0){f=0;do{c[z+24+(f<<2)>>2]=0;f=f+1|0}while((f|0)<(c[h>>2]|0))}c[z+20>>2]=0;c[g>>2]=c[i>>2];if(!(c[a+440>>2]|0))c[z+40>>2]=0}if(!(c[z+40>>2]|0)){c[x+16>>2]=a;r=a+24|0;h=c[r>>2]|0;g=c[h>>2]|0;c[x>>2]=g;f=c[h+4>>2]|0;s=x+4|0;c[s>>2]=f;u=z+12|0;i=c[u>>2]|0;v=z+16|0;j=c[v>>2]|0;w=z+20|0;c[y>>2]=c[w>>2];c[y+4>>2]=c[w+4>>2];c[y+8>>2]=c[w+8>>2];c[y+12>>2]=c[w+12>>2];c[y+16>>2]=c[w+16>>2];q=a+368|0;do if((c[q>>2]|0)>0){o=x+8|0;p=x+12|0;l=0;while(1){m=c[e+(l<<2)>>2]|0;n=c[a+372+(l<<2)>>2]|0;h=c[z+48+(c[(c[a+344+(n<<2)>>2]|0)+20>>2]<<2)>>2]|0;if((j|0)<8){if(!(vu(x,i,j,0)|0)){f=0;k=28;break}i=c[o>>2]|0;j=c[p>>2]|0;if((j|0)<8){f=1;k=17}else k=15}else k=15;if((k|0)==15){k=0;f=i>>j+-8&255;g=c[h+144+(f<<2)>>2]|0;if(!g){f=9;k=17}else{f=d[h+1168+f>>0]|0;j=j-g|0}}if((k|0)==17){f=wu(x,i,j,h,f)|0;if((f|0)<0){f=0;k=28;break}j=c[p>>2]|0;i=c[o>>2]|0}if(!f)f=0;else{if((j|0)<(f|0)){if(!(vu(x,i,j,f)|0)){f=0;k=28;break}j=c[p>>2]|0;i=c[o>>2]|0}j=j-f|0;k=c[5184+(f<<2)>>2]|0;h=i>>j&k;f=h-((h|0)>(c[5184+(f+-1<<2)>>2]|0)?0:k)|0}k=y+4+(n<<2)|0;n=(c[k>>2]|0)+f|0;c[k>>2]=n;b[m>>1]=n<=(c[q>>2]|0)){k=25;break}}if((k|0)==25){h=c[r>>2]|0;g=c[x>>2]|0;f=c[s>>2]|0;break}else if((k|0)==28){yb=A;return f|0}}while(0);c[h>>2]=g;c[h+4>>2]=f;c[u>>2]=i;c[v>>2]=j;c[w>>2]=c[y>>2];c[w+4>>2]=c[y+4>>2];c[w+8>>2]=c[y+8>>2];c[w+12>>2]=c[y+12>>2];c[w+16>>2]=c[y+16>>2]}z=z+44|0;c[z>>2]=(c[z>>2]|0)+-1;z=1;yb=A;return z|0}function pu(a,e){a=a|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;y=yb;yb=yb+32|0;w=y;x=c[a+468>>2]|0;h=a+280|0;if(c[h>>2]|0?(i=x+44|0,(c[i>>2]|0)==0):0){u=x+16|0;v=c[a+464>>2]|0;t=v+24|0;c[t>>2]=(c[t>>2]|0)+((c[u>>2]|0)/8|0);c[u>>2]=0;if(!(Eb[c[v+8>>2]&127](a)|0)){x=0;yb=y;return x|0}g=a+340|0;if((c[g>>2]|0)>0){f=0;do{c[x+24+(f<<2)>>2]=0;f=f+1|0}while((f|0)<(c[g>>2]|0))}c[x+20>>2]=0;c[i>>2]=c[h>>2];if(!(c[a+440>>2]|0))c[x+40>>2]=0}if(!(c[x+40>>2]|0)){v=x+20|0;f=c[v>>2]|0;if(!f){c[w+16>>2]=a;r=a+24|0;t=c[r>>2]|0;c[w>>2]=c[t>>2];s=w+4|0;c[s>>2]=c[t+4>>2];t=x+12|0;g=c[t>>2]|0;u=x+16|0;h=c[u>>2]|0;n=c[a+416>>2]|0;o=c[a+424>>2]|0;p=c[a+432>>2]|0;k=c[e>>2]|0;l=c[x+64>>2]|0;f=c[a+412>>2]|0;a:do if((f|0)<=(n|0)){q=w+8|0;m=w+12|0;j=f;b:while(1){if((h|0)<8){if(!(vu(w,g,h,0)|0)){f=0;a=36;break}g=c[q>>2]|0;h=c[m>>2]|0;if((h|0)<8){f=1;a=19}else a=17}else a=17;if((a|0)==17){a=0;f=g>>h+-8&255;i=c[l+144+(f<<2)>>2]|0;if(!i){f=9;a=19}else{f=d[l+1168+f>>0]|0;h=h-i|0}}if((a|0)==19){f=wu(w,g,h,l,f)|0;if((f|0)<0){f=0;a=36;break}h=c[m>>2]|0;g=c[q>>2]|0}e=f>>>4;i=f&15;if(!i){switch(e&268435455|0){case 0:{f=0;break a}case 15:break;default:{a=27;break b}}f=j+15|0}else{f=e+j|0;if((h|0)<(i|0)){if(!(vu(w,g,h,i)|0)){f=0;a=36;break}h=c[m>>2]|0;g=c[q>>2]|0}h=h-i|0;j=c[5184+(i<<2)>>2]|0;a=g>>h&j;b[k+(c[p+(f<<2)>>2]<<1)>>1]=a-((a|0)>(c[5184+(i+-1<<2)>>2]|0)?0:j)<>2]|0;g=c[q>>2]|0;break}else f=h;while(0);h=f-e|0;f=i+-1+(g>>h&c[5184+(e<<2)>>2])|0;break}else if((a|0)==36){yb=y;return f|0}}else f=0;while(0);r=c[r>>2]|0;c[r>>2]=c[w>>2];c[r+4>>2]=c[s>>2];c[t>>2]=g;c[u>>2]=h}else f=f+-1|0;c[v>>2]=f}x=x+44|0;c[x>>2]=(c[x>>2]|0)+-1;x=1;yb=y;return x|0}function qu(a,d){a=a|0;d=d|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=yb;yb=yb+32|0;q=s;r=c[a+468>>2]|0;h=a+280|0;if(c[h>>2]|0?(i=r+44|0,(c[i>>2]|0)==0):0){o=r+16|0;p=c[a+464>>2]|0;n=p+24|0;c[n>>2]=(c[n>>2]|0)+((c[o>>2]|0)/8|0);c[o>>2]=0;if(!(Eb[c[p+8>>2]&127](a)|0)){r=0;yb=s;return r|0}g=a+340|0;if((c[g>>2]|0)>0){f=0;do{c[r+24+(f<<2)>>2]=0;f=f+1|0}while((f|0)<(c[g>>2]|0))}c[r+20>>2]=0;c[i>>2]=c[h>>2];if(!(c[a+440>>2]|0))c[r+40>>2]=0}c[q+16>>2]=a;m=a+24|0;h=c[m>>2]|0;g=c[h>>2]|0;c[q>>2]=g;f=c[h+4>>2]|0;n=q+4|0;c[n>>2]=f;o=r+12|0;i=c[o>>2]|0;p=r+16|0;j=c[p>>2]|0;l=1<>2];k=a+368|0;do if((c[k>>2]|0)>0){h=q+8|0;a=q+12|0;g=0;f=j;while(1){if((f|0)<1){if(!(vu(q,i,f,1)|0)){f=0;a=19;break}f=c[a>>2]|0;i=c[h>>2]|0}f=f+-1|0;if(1<>2]|0;b[j>>1]=l|(e[j>>1]|0)}g=g+1|0;if((g|0)>=(c[k>>2]|0)){a=17;break}}if((a|0)==17){j=f;h=c[m>>2]|0;g=c[q>>2]|0;f=c[n>>2]|0;break}else if((a|0)==19){yb=s;return f|0}}while(0);c[h>>2]=g;c[h+4>>2]=f;c[o>>2]=i;c[p>>2]=j;r=r+44|0;c[r>>2]=(c[r>>2]|0)+-1;r=1;yb=s;return r|0}function ru(a,e){a=a|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0;G=yb;yb=yb+288|0;E=G+256|0;D=G;F=c[a+468>>2]|0;h=a+280|0;if(c[h>>2]|0?(i=F+44|0,(c[i>>2]|0)==0):0){z=F+16|0;A=c[a+464>>2]|0;y=A+24|0;c[y>>2]=(c[y>>2]|0)+((c[z>>2]|0)/8|0);c[z>>2]=0;if(!(Eb[c[A+8>>2]&127](a)|0)){F=0;yb=G;return F|0}g=a+340|0;if((c[g>>2]|0)>0){f=0;do{c[F+24+(f<<2)>>2]=0;f=f+1|0}while((f|0)<(c[g>>2]|0))}c[F+20>>2]=0;c[i>>2]=c[h>>2];if(!(c[a+440>>2]|0))c[F+40>>2]=0}do if(!(c[F+40>>2]|0)){q=c[a+416>>2]|0;s=c[a+424>>2]|0;r=1<>2]|0;c[E+16>>2]=a;w=a+24|0;y=c[w>>2]|0;c[E>>2]=c[y>>2];x=E+4|0;c[x>>2]=c[y+4>>2];y=F+12|0;j=c[y>>2]|0;z=F+16|0;g=c[z>>2]|0;A=F+20|0;h=c[A>>2]|0;u=c[e>>2]|0;l=c[F+64>>2]|0;i=c[a+412>>2]|0;o=E+8|0;p=E+12|0;a:do if(!h){f=0;b:while(1){if((g|0)<8){if(!(vu(E,j,g,0)|0))break a;j=c[o>>2]|0;g=c[p>>2]|0;if((g|0)<8){h=1;v=17}else v=15}else v=15;if((v|0)==15){v=0;h=j>>g+-8&255;e=c[l+144+(h<<2)>>2]|0;if(!e){h=9;v=17}else{h=d[l+1168+h>>0]|0;g=g-e|0}}if((v|0)==17){v=0;g=wu(E,j,g,l,h)|0;if((g|0)<0)break a;h=g;g=c[p>>2]|0;j=c[o>>2]|0}e=h>>>4;switch(h&15){case 0:{if((e|0)==15)k=0;else break b;break}case 1:{v=21;break}default:{v=c[a>>2]|0;c[v+20>>2]=121;Sb[c[v+4>>2]&63](a,-1);v=21}}if((v|0)==21){v=0;if((g|0)<1){if(!(vu(E,j,g,1)|0))break a;g=c[p>>2]|0;j=c[o>>2]|0}g=g+-1|0;k=(1<>2]<<1)|0;do if(!(b[e>>1]|0))if((h|0)<1)break c;else h=h+-1|0;else{if((g|0)<1){if(!(vu(E,j,g,1)|0))break a;g=c[p>>2]|0;j=c[o>>2]|0}g=g+-1|0;if((1<>1]|0,n=m<<16>>16,(r&n|0)==0):0)if(m<<16>>16>-1){b[e>>1]=r+n;break}else{b[e>>1]=s+n;break}}while(0);e=i+1|0;if((i|0)<(q|0))i=e;else{i=e;break}}if(k){e=c[t+(i<<2)>>2]|0;b[u+(e<<1)>>1]=k;c[D+(f<<2)>>2]=e;f=f+1|0}if((i|0)<(q|0))i=i+1|0;else{h=0;f=j;v=58;break a}}h=1<>2]|0;j=c[o>>2]|0}g=g-e|0;h=(j>>g&c[5184+(e<<2)>>2])+h|0;if(!h){h=0;f=j;v=58}else v=46}else{h=1;v=46}}else{f=0;v=46}while(0);d:do if((v|0)==46){while(1){e=u+(c[t+(i<<2)>>2]<<1)|0;do if(b[e>>1]|0){if((g|0)<1){if(!(vu(E,j,g,1)|0))break d;g=c[p>>2]|0;j=c[o>>2]|0}g=g+-1|0;if((1<>1]|0,C=B<<16>>16,(r&C|0)==0):0)if(B<<16>>16>-1){b[e>>1]=r+C;break}else{b[e>>1]=s+C;break}}while(0);if((i|0)<(q|0))i=i+1|0;else break}h=h+-1|0;f=j;v=58}while(0);if((v|0)==58){D=c[w>>2]|0;c[D>>2]=c[E>>2];c[D+4>>2]=c[x>>2];c[y>>2]=f;c[z>>2]=g;c[A>>2]=h;break}if(!f){F=0;yb=G;return F|0}do{f=f+-1|0;b[u+(c[D+(f<<2)>>2]<<1)>>1]=0}while((f|0)!=0);f=0;yb=G;return f|0}while(0);F=F+44|0;c[F>>2]=(c[F>>2]|0)+-1;F=1;yb=G;return F|0}function su(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;q=yb;yb=yb+1312|0;k=q+1040|0;p=q;if(f>>>0>3){o=c[b>>2]|0;c[o+20>>2]=52;c[o+24>>2]=f;Qb[c[c[b>>2]>>2]&255](b)}n=(e|0)!=0;o=c[(n?b+180+(f<<2)|0:b+196+(f<<2)|0)>>2]|0;if(!o){m=c[b>>2]|0;c[m+20>>2]=52;c[m+24>>2]=f;Qb[c[c[b>>2]>>2]&255](b)}e=c[g>>2]|0;if(!e){l=Hb[c[c[b+4>>2]>>2]&63](b,1,1424)|0;c[g>>2]=l;m=b}else{m=b;l=e}c[l+140>>2]=o;j=a[o+1>>0]|0;e=j&255;if(!(j<<24>>24))e=0;else _O(k|0,1,e|0)|0;f=a[o+2>>0]|0;g=f&255;h=e+g|0;if(h>>>0>256){j=c[b>>2]|0;c[j+20>>2]=9;Qb[c[j>>2]&255](m)}if(f<<24>>24){_O(k+e|0,2,g|0)|0;e=h}f=a[o+3>>0]|0;g=f&255;h=e+g|0;if((h|0)>256){j=c[b>>2]|0;c[j+20>>2]=9;Qb[c[j>>2]&255](m)}if(f<<24>>24){_O(k+e|0,3,g|0)|0;e=h}f=a[o+4>>0]|0;g=f&255;h=e+g|0;if((h|0)>256){j=c[b>>2]|0;c[j+20>>2]=9;Qb[c[j>>2]&255](m)}if(f<<24>>24){_O(k+e|0,4,g|0)|0;e=h}f=a[o+5>>0]|0;g=f&255;h=e+g|0;if((h|0)>256){j=c[b>>2]|0;c[j+20>>2]=9;Qb[c[j>>2]&255](m)}if(f<<24>>24){_O(k+e|0,5,g|0)|0;e=h}f=a[o+6>>0]|0;g=f&255;h=e+g|0;if((h|0)>256){j=c[b>>2]|0;c[j+20>>2]=9;Qb[c[j>>2]&255](m)}if(f<<24>>24){_O(k+e|0,6,g|0)|0;e=h}f=a[o+7>>0]|0;g=f&255;h=e+g|0;if((h|0)>256){j=c[b>>2]|0;c[j+20>>2]=9;Qb[c[j>>2]&255](m)}if(f<<24>>24){_O(k+e|0,7,g|0)|0;e=h}f=a[o+8>>0]|0;g=f&255;h=e+g|0;if((h|0)>256){j=c[b>>2]|0;c[j+20>>2]=9;Qb[c[j>>2]&255](m)}if(f<<24>>24){_O(k+e|0,8,g|0)|0;e=h}f=a[o+9>>0]|0;g=f&255;h=e+g|0;if((h|0)>256){j=c[b>>2]|0;c[j+20>>2]=9;Qb[c[j>>2]&255](m)}if(f<<24>>24){_O(k+e|0,9,g|0)|0;e=h}f=a[o+10>>0]|0;g=f&255;h=e+g|0;if((h|0)>256){j=c[b>>2]|0;c[j+20>>2]=9;Qb[c[j>>2]&255](m)}if(f<<24>>24){_O(k+e|0,10,g|0)|0;e=h}f=a[o+11>>0]|0;g=f&255;h=e+g|0;if((h|0)>256){j=c[b>>2]|0;c[j+20>>2]=9;Qb[c[j>>2]&255](m)}if(f<<24>>24){_O(k+e|0,11,g|0)|0;e=h}f=a[o+12>>0]|0;g=f&255;h=e+g|0;if((h|0)>256){j=c[b>>2]|0;c[j+20>>2]=9;Qb[c[j>>2]&255](m)}if(f<<24>>24){_O(k+e|0,12,g|0)|0;e=h}f=a[o+13>>0]|0;g=f&255;h=e+g|0;if((h|0)>256){j=c[b>>2]|0;c[j+20>>2]=9;Qb[c[j>>2]&255](m)}if(f<<24>>24){_O(k+e|0,13,g|0)|0;e=h}f=a[o+14>>0]|0;g=f&255;h=e+g|0;if((h|0)>256){j=c[b>>2]|0;c[j+20>>2]=9;Qb[c[j>>2]&255](m)}if(f<<24>>24){_O(k+e|0,14,g|0)|0;e=h}f=a[o+15>>0]|0;g=f&255;h=e+g|0;if((h|0)>256){j=c[b>>2]|0;c[j+20>>2]=9;Qb[c[j>>2]&255](m)}if(f<<24>>24){_O(k+e|0,15,g|0)|0;e=h}f=a[o+16>>0]|0;g=f&255;h=e+g|0;if((h|0)>256){j=c[b>>2]|0;c[j+20>>2]=9;Qb[c[j>>2]&255](m)}if(!(f<<24>>24))h=e;else _O(k+e|0,16,g|0)|0;a[k+h>>0]=0;f=a[k>>0]|0;if(f<<24>>24){g=0;j=f<<24>>24;e=0;while(1){if((j|0)==(f<<24>>24|0)){f=g;while(1){i=e+1|0;c[p+(e<<2)>>2]=f;e=f+1|0;f=a[k+i>>0]|0;if((j|0)==(f<<24>>24|0)){f=e;e=i}else{g=e;e=i;break}}}if((g|0)>=(1<>2]|0;c[i+20>>2]=9;Qb[c[i>>2]&255](m)}if(!(f<<24>>24))break;else{g=g<<1;j=j+1|0}}}e=o+1|0;if(!(a[e>>0]|0)){f=0;e=-1}else{c[l+76>>2]=0-(c[p>>2]|0);e=d[e>>0]|0;f=e;e=c[p+(e+-1<<2)>>2]|0}c[l+4>>2]=e;e=o+2|0;if(!(a[e>>0]|0))e=-1;else{c[l+80>>2]=f-(c[p+(f<<2)>>2]|0);e=f+(d[e>>0]|0)|0;f=e;e=c[p+(e+-1<<2)>>2]|0}c[l+8>>2]=e;e=o+3|0;if(!(a[e>>0]|0))e=-1;else{c[l+84>>2]=f-(c[p+(f<<2)>>2]|0);e=f+(d[e>>0]|0)|0;f=e;e=c[p+(e+-1<<2)>>2]|0}c[l+12>>2]=e;e=o+4|0;if(!(a[e>>0]|0))e=-1;else{c[l+88>>2]=f-(c[p+(f<<2)>>2]|0);e=f+(d[e>>0]|0)|0;f=e;e=c[p+(e+-1<<2)>>2]|0}c[l+16>>2]=e;e=o+5|0;if(!(a[e>>0]|0))e=-1;else{c[l+92>>2]=f-(c[p+(f<<2)>>2]|0);e=f+(d[e>>0]|0)|0;f=e;e=c[p+(e+-1<<2)>>2]|0}c[l+20>>2]=e;e=o+6|0;if(!(a[e>>0]|0))e=-1;else{c[l+96>>2]=f-(c[p+(f<<2)>>2]|0);e=f+(d[e>>0]|0)|0;f=e;e=c[p+(e+-1<<2)>>2]|0}c[l+24>>2]=e;e=o+7|0;if(!(a[e>>0]|0))e=-1;else{c[l+100>>2]=f-(c[p+(f<<2)>>2]|0);e=f+(d[e>>0]|0)|0;f=e;e=c[p+(e+-1<<2)>>2]|0}c[l+28>>2]=e;e=o+8|0;if(!(a[e>>0]|0))e=-1;else{c[l+104>>2]=f-(c[p+(f<<2)>>2]|0);e=f+(d[e>>0]|0)|0;f=e;e=c[p+(e+-1<<2)>>2]|0}c[l+32>>2]=e;e=o+9|0;if(!(a[e>>0]|0))e=-1;else{c[l+108>>2]=f-(c[p+(f<<2)>>2]|0);e=f+(d[e>>0]|0)|0;f=e;e=c[p+(e+-1<<2)>>2]|0}c[l+36>>2]=e;e=o+10|0;if(!(a[e>>0]|0))e=-1;else{c[l+112>>2]=f-(c[p+(f<<2)>>2]|0);e=f+(d[e>>0]|0)|0;f=e;e=c[p+(e+-1<<2)>>2]|0}c[l+40>>2]=e;e=o+11|0;if(!(a[e>>0]|0))e=-1;else{c[l+116>>2]=f-(c[p+(f<<2)>>2]|0);e=f+(d[e>>0]|0)|0;f=e;e=c[p+(e+-1<<2)>>2]|0}c[l+44>>2]=e;e=o+12|0;if(!(a[e>>0]|0))e=-1;else{c[l+120>>2]=f-(c[p+(f<<2)>>2]|0);e=f+(d[e>>0]|0)|0;f=e;e=c[p+(e+-1<<2)>>2]|0}c[l+48>>2]=e;e=o+13|0;if(!(a[e>>0]|0))e=-1;else{c[l+124>>2]=f-(c[p+(f<<2)>>2]|0);e=f+(d[e>>0]|0)|0;f=e;e=c[p+(e+-1<<2)>>2]|0}c[l+52>>2]=e;e=o+14|0;if(!(a[e>>0]|0))e=-1;else{c[l+128>>2]=f-(c[p+(f<<2)>>2]|0);e=f+(d[e>>0]|0)|0;f=e;e=c[p+(e+-1<<2)>>2]|0}c[l+56>>2]=e;e=o+15|0;if(!(a[e>>0]|0))e=-1;else{c[l+132>>2]=f-(c[p+(f<<2)>>2]|0);e=f+(d[e>>0]|0)|0;f=e;e=c[p+(e+-1<<2)>>2]|0}c[l+60>>2]=e;e=o+16|0;if(!(a[e>>0]|0))e=-1;else{c[l+136>>2]=f-(c[p+(f<<2)>>2]|0);e=c[p+(f+(d[e>>0]|0)+-1<<2)>>2]|0}c[l+64>>2]=e;c[l+68>>2]=1048575;_O(l+144|0,0,1024)|0;k=o+1|0;if(!(a[k>>0]|0))e=0;else{j=1;e=0;while(1){i=o+17+e|0;f=128;g=c[p+(e<<2)>>2]<<7;while(1){c[l+144+(g<<2)>>2]=1;a[l+1168+g>>0]=a[i>>0]|0;if((f|0)>1){f=f+-1|0;g=g+1|0}else break}e=e+1|0;if(j>>>0<(d[k>>0]|0)>>>0)j=j+1|0;else break}}k=o+2|0;if(a[k>>0]|0){j=1;while(1){i=o+17+e|0;f=64;g=c[p+(e<<2)>>2]<<6;while(1){c[l+144+(g<<2)>>2]=2;a[l+1168+g>>0]=a[i>>0]|0;if((f|0)>1){f=f+-1|0;g=g+1|0}else break}e=e+1|0;if(j>>>0<(d[k>>0]|0)>>>0)j=j+1|0;else break}}g=o+3|0;if(a[g>>0]|0){f=1;while(1){k=c[p+(e<<2)>>2]<<5;j=o+17+e|0;c[l+144+(k<<2)>>2]=3;a[l+1168+k>>0]=a[j>>0]|0;i=k|1;c[l+144+(i<<2)>>2]=3;a[l+1168+i>>0]=a[j>>0]|0;i=i+1|0;c[l+144+(i<<2)>>2]=3;a[l+1168+i>>0]=a[j>>0]|0;i=k|3;c[l+144+(i<<2)>>2]=3;a[l+1168+i>>0]=a[j>>0]|0;r=i+1|0;c[l+144+(r<<2)>>2]=3;a[l+1168+r>>0]=a[j>>0]|0;r=i+2|0;c[l+144+(r<<2)>>2]=3;a[l+1168+r>>0]=a[j>>0]|0;i=i+3|0;c[l+144+(i<<2)>>2]=3;a[l+1168+i>>0]=a[j>>0]|0;i=k|7;c[l+144+(i<<2)>>2]=3;a[l+1168+i>>0]=a[j>>0]|0;r=i+1|0;c[l+144+(r<<2)>>2]=3;a[l+1168+r>>0]=a[j>>0]|0;r=i+2|0;c[l+144+(r<<2)>>2]=3;a[l+1168+r>>0]=a[j>>0]|0;r=i+3|0;c[l+144+(r<<2)>>2]=3;a[l+1168+r>>0]=a[j>>0]|0;r=i+4|0;c[l+144+(r<<2)>>2]=3;a[l+1168+r>>0]=a[j>>0]|0;r=i+5|0;c[l+144+(r<<2)>>2]=3;a[l+1168+r>>0]=a[j>>0]|0;r=i+6|0;c[l+144+(r<<2)>>2]=3;a[l+1168+r>>0]=a[j>>0]|0;i=i+7|0;c[l+144+(i<<2)>>2]=3;a[l+1168+i>>0]=a[j>>0]|0;i=k|15;c[l+144+(i<<2)>>2]=3;a[l+1168+i>>0]=a[j>>0]|0;r=i+1|0;c[l+144+(r<<2)>>2]=3;a[l+1168+r>>0]=a[j>>0]|0;r=i+2|0;c[l+144+(r<<2)>>2]=3;a[l+1168+r>>0]=a[j>>0]|0;r=i+3|0;c[l+144+(r<<2)>>2]=3;a[l+1168+r>>0]=a[j>>0]|0;r=i+4|0;c[l+144+(r<<2)>>2]=3;a[l+1168+r>>0]=a[j>>0]|0;r=i+5|0;c[l+144+(r<<2)>>2]=3;a[l+1168+r>>0]=a[j>>0]|0;r=i+6|0;c[l+144+(r<<2)>>2]=3;a[l+1168+r>>0]=a[j>>0]|0;r=i+7|0;c[l+144+(r<<2)>>2]=3;a[l+1168+r>>0]=a[j>>0]|0;r=i+8|0;c[l+144+(r<<2)>>2]=3;a[l+1168+r>>0]=a[j>>0]|0;r=i+9|0;c[l+144+(r<<2)>>2]=3;a[l+1168+r>>0]=a[j>>0]|0;r=i+10|0;c[l+144+(r<<2)>>2]=3;a[l+1168+r>>0]=a[j>>0]|0;r=i+11|0;c[l+144+(r<<2)>>2]=3;a[l+1168+r>>0]=a[j>>0]|0;r=i+12|0;c[l+144+(r<<2)>>2]=3;a[l+1168+r>>0]=a[j>>0]|0;r=i+13|0;c[l+144+(r<<2)>>2]=3;a[l+1168+r>>0]=a[j>>0]|0;r=i+14|0;c[l+144+(r<<2)>>2]=3;a[l+1168+r>>0]=a[j>>0]|0;i=i+15|0;c[l+144+(i<<2)>>2]=3;a[l+1168+i>>0]=a[j>>0]|0;k=k|31;c[l+144+(k<<2)>>2]=3;a[l+1168+k>>0]=a[j>>0]|0;e=e+1|0;if(f>>>0<(d[g>>0]|0)>>>0)f=f+1|0;else break}}g=o+4|0;if(a[g>>0]|0){f=1;while(1){r=c[p+(e<<2)>>2]<<4;k=o+17+e|0;c[l+144+(r<<2)>>2]=4;a[l+1168+r>>0]=a[k>>0]|0;j=r|1;c[l+144+(j<<2)>>2]=4;a[l+1168+j>>0]=a[k>>0]|0;j=j+1|0;c[l+144+(j<<2)>>2]=4;a[l+1168+j>>0]=a[k>>0]|0;j=r|3;c[l+144+(j<<2)>>2]=4;a[l+1168+j>>0]=a[k>>0]|0;i=j+1|0;c[l+144+(i<<2)>>2]=4;a[l+1168+i>>0]=a[k>>0]|0;i=j+2|0;c[l+144+(i<<2)>>2]=4;a[l+1168+i>>0]=a[k>>0]|0;j=j+3|0;c[l+144+(j<<2)>>2]=4;a[l+1168+j>>0]=a[k>>0]|0;j=r|7;c[l+144+(j<<2)>>2]=4;a[l+1168+j>>0]=a[k>>0]|0;i=j+1|0;c[l+144+(i<<2)>>2]=4;a[l+1168+i>>0]=a[k>>0]|0;i=j+2|0;c[l+144+(i<<2)>>2]=4;a[l+1168+i>>0]=a[k>>0]|0;i=j+3|0;c[l+144+(i<<2)>>2]=4;a[l+1168+i>>0]=a[k>>0]|0;i=j+4|0;c[l+144+(i<<2)>>2]=4;a[l+1168+i>>0]=a[k>>0]|0;i=j+5|0;c[l+144+(i<<2)>>2]=4;a[l+1168+i>>0]=a[k>>0]|0;i=j+6|0;c[l+144+(i<<2)>>2]=4;a[l+1168+i>>0]=a[k>>0]|0;j=j+7|0;c[l+144+(j<<2)>>2]=4;a[l+1168+j>>0]=a[k>>0]|0;r=r|15;c[l+144+(r<<2)>>2]=4;a[l+1168+r>>0]=a[k>>0]|0;e=e+1|0;if(f>>>0<(d[g>>0]|0)>>>0)f=f+1|0;else break}}g=o+5|0;if(a[g>>0]|0){f=1;while(1){r=c[p+(e<<2)>>2]<<3;k=o+17+e|0;c[l+144+(r<<2)>>2]=5;a[l+1168+r>>0]=a[k>>0]|0;j=r|1;c[l+144+(j<<2)>>2]=5;a[l+1168+j>>0]=a[k>>0]|0;j=j+1|0;c[l+144+(j<<2)>>2]=5;a[l+1168+j>>0]=a[k>>0]|0;j=r|3;c[l+144+(j<<2)>>2]=5;a[l+1168+j>>0]=a[k>>0]|0;i=j+1|0;c[l+144+(i<<2)>>2]=5;a[l+1168+i>>0]=a[k>>0]|0;i=j+2|0;c[l+144+(i<<2)>>2]=5;a[l+1168+i>>0]=a[k>>0]|0;j=j+3|0;c[l+144+(j<<2)>>2]=5;a[l+1168+j>>0]=a[k>>0]|0;r=r|7;c[l+144+(r<<2)>>2]=5;a[l+1168+r>>0]=a[k>>0]|0;e=e+1|0;if(f>>>0<(d[g>>0]|0)>>>0)f=f+1|0;else break}}g=o+6|0;if(a[g>>0]|0){f=1;while(1){r=c[p+(e<<2)>>2]<<2;k=o+17+e|0;c[l+144+(r<<2)>>2]=6;a[l+1168+r>>0]=a[k>>0]|0;j=r|1;c[l+144+(j<<2)>>2]=6;a[l+1168+j>>0]=a[k>>0]|0;j=j+1|0;c[l+144+(j<<2)>>2]=6;a[l+1168+j>>0]=a[k>>0]|0;r=r|3;c[l+144+(r<<2)>>2]=6;a[l+1168+r>>0]=a[k>>0]|0;e=e+1|0;if(f>>>0<(d[g>>0]|0)>>>0)f=f+1|0;else break}}g=o+7|0;if(a[g>>0]|0){f=1;while(1){r=c[p+(e<<2)>>2]<<1;k=o+17+e|0;c[l+144+(r<<2)>>2]=7;a[l+1168+r>>0]=a[k>>0]|0;r=r|1;c[l+144+(r<<2)>>2]=7;a[l+1168+r>>0]=a[k>>0]|0;e=e+1|0;if(f>>>0<(d[g>>0]|0)>>>0)f=f+1|0;else break}}g=o+8|0;if(a[g>>0]|0){f=1;while(1){r=c[p+(e<<2)>>2]|0;c[l+144+(r<<2)>>2]=8;a[l+1168+r>>0]=a[o+17+e>>0]|0;if(f>>>0<(d[g>>0]|0)>>>0){f=f+1|0;e=e+1|0}else break}}if(!(n&(h|0)>0)){yb=q;return}e=0;do{if((d[o+17+e>>0]|0)>15){r=c[b>>2]|0;c[r+20>>2]=9;Qb[c[r>>2]&255](m)}e=e+1|0}while((e|0)!=(h|0));yb=q;return}function tu(a,e){a=a|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;A=yb;yb=yb+48|0;x=A+20|0;y=A;z=c[a+468>>2]|0;h=a+280|0;if(c[h>>2]|0?(i=z+44|0,(c[i>>2]|0)==0):0){v=z+16|0;w=c[a+464>>2]|0;u=w+24|0;c[u>>2]=(c[u>>2]|0)+((c[v>>2]|0)/8|0);c[v>>2]=0;if(!(Eb[c[w+8>>2]&127](a)|0)){z=0;yb=A;return z|0}g=a+340|0;if((c[g>>2]|0)>0){f=0;do{c[z+24+(f<<2)>>2]=0;f=f+1|0}while((f|0)<(c[g>>2]|0))}c[z+20>>2]=0;c[i>>2]=c[h>>2];if(!(c[a+440>>2]|0))c[z+40>>2]=0}if(!(c[z+40>>2]|0)){c[x+16>>2]=a;s=a+24|0;h=c[s>>2]|0;g=c[h>>2]|0;c[x>>2]=g;f=c[h+4>>2]|0;t=x+4|0;c[t>>2]=f;u=z+12|0;j=c[u>>2]|0;v=z+16|0;i=c[v>>2]|0;w=z+20|0;c[y>>2]=c[w>>2];c[y+4>>2]=c[w+4>>2];c[y+8>>2]=c[w+8>>2];c[y+12>>2]=c[w+12>>2];c[y+16>>2]=c[w+16>>2];r=a+368|0;do if((c[r>>2]|0)>0){p=x+8|0;q=x+12|0;o=0;a:while(1){l=c[e+(o<<2)>>2]|0;h=c[z+100+(o<<2)>>2]|0;if((i|0)<8){if(!(vu(x,j,i,0)|0)){f=0;m=67;break}j=c[p>>2]|0;i=c[q>>2]|0;if((i|0)<8){f=1;m=17}else m=15}else m=15;if((m|0)==15){m=0;f=j>>i+-8&255;g=c[h+144+(f<<2)>>2]|0;if(!g){f=9;m=17}else{f=d[h+1168+f>>0]|0;i=i-g|0}}if((m|0)==17){f=wu(x,j,i,h,f)|0;if((f|0)<0){f=0;m=67;break}j=c[p>>2]|0;i=c[q>>2]|0}n=c[z+140+(o<<2)>>2]|0;k=c[z+180+(o<<2)>>2]|0;g=(f|0)!=0;b:do if(!k)if(g){if((i|0)<(f|0)){if(!(vu(x,j,i,f)|0)){f=0;m=67;break a}j=c[p>>2]|0;i=c[q>>2]|0}i=i-f|0;f=1;m=48}else{f=1;m=48}else{if(g){if((i|0)<(f|0)){if(!(vu(x,j,i,f)|0)){f=0;m=67;break a}j=c[p>>2]|0;i=c[q>>2]|0}i=i-f|0;m=c[5184+(f<<2)>>2]|0;h=j>>i&m;f=h-((h|0)>(c[5184+(f+-1<<2)>>2]|0)?0:m)|0}else f=0;h=y+4+(c[a+372+(o<<2)>>2]<<2)|0;m=(c[h>>2]|0)+f|0;c[h>>2]=m;b[l>>1]=m;if((k|0)>1){f=1;do{if((i|0)<8){if(!(vu(x,j,i,0)|0)){f=0;m=67;break a}j=c[p>>2]|0;i=c[q>>2]|0;if((i|0)<8){g=1;m=32}else m=30}else m=30;if((m|0)==30){m=0;h=j>>i+-8&255;g=c[n+144+(h<<2)>>2]|0;if(!g){g=9;m=32}else{i=i-g|0;g=d[n+1168+h>>0]|0}}if((m|0)==32){m=0;g=wu(x,j,i,n,g)|0;if((g|0)<0){f=0;m=67;break a}j=c[p>>2]|0;i=c[q>>2]|0}h=g>>>4;g=g&15;if(!g){if((h|0)!=15)break b;g=f+15|0}else{f=h+f|0;if((i|0)<(g|0)){if(!(vu(x,j,i,g)|0)){f=0;m=67;break a}j=c[p>>2]|0;i=c[q>>2]|0}i=i-g|0;h=c[5184+(g<<2)>>2]|0;B=j>>i&h;b[l+(c[2576+(f<<2)>>2]<<1)>>1]=B-((B|0)>(c[5184+(g+-1<<2)>>2]|0)?0:h);g=f}f=g+1|0}while((f|0)<(k|0));if((g|0)<63)m=48}else{f=1;m=48}}while(0);c:do if((m|0)==48){h=f;do{if((i|0)<8){if(!(vu(x,j,i,0)|0)){f=0;m=67;break a}j=c[p>>2]|0;i=c[q>>2]|0;if((i|0)<8){f=1;m=54}else m=52}else m=52;if((m|0)==52){m=0;f=j>>i+-8&255;g=c[n+144+(f<<2)>>2]|0;if(!g){f=9;m=54}else{f=d[n+1168+f>>0]|0;i=i-g|0}}if((m|0)==54){f=wu(x,j,i,n,f)|0;if((f|0)<0){f=0;m=67;break a}j=c[p>>2]|0;i=c[q>>2]|0}g=f>>>4;f=f&15;if(!f)if((g|0)==15)f=15;else break c;else{if((i|0)<(f|0)){if(!(vu(x,j,i,f)|0)){f=0;m=67;break a}j=c[p>>2]|0;i=c[q>>2]|0}i=i-f|0;f=g}h=h+1+f|0}while((h|0)<64)}while(0);o=o+1|0;if((o|0)>=(c[r>>2]|0)){m=64;break}}if((m|0)==64){h=c[s>>2]|0;g=c[x>>2]|0;f=c[t>>2]|0;break}else if((m|0)==67){yb=A;return f|0}}while(0);c[h>>2]=g;c[h+4>>2]=f;c[u>>2]=j;c[v>>2]=i;c[w>>2]=c[y>>2];c[w+4>>2]=c[y+4>>2];c[w+8>>2]=c[y+8>>2];c[w+12>>2]=c[y+12>>2];c[w+16>>2]=c[y+16>>2]}B=z+44|0;c[B>>2]=(c[B>>2]|0)+-1;B=1;yb=A;return B|0}function uu(a,e){a=a|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;C=yb;yb=yb+48|0;z=C+20|0;A=C;B=c[a+468>>2]|0;h=a+280|0;if(c[h>>2]|0?(i=B+44|0,(c[i>>2]|0)==0):0){x=B+16|0;y=c[a+464>>2]|0;w=y+24|0;c[w>>2]=(c[w>>2]|0)+((c[x>>2]|0)/8|0);c[x>>2]=0;if(!(Eb[c[y+8>>2]&127](a)|0)){B=0;yb=C;return B|0}g=a+340|0;if((c[g>>2]|0)>0){f=0;do{c[B+24+(f<<2)>>2]=0;f=f+1|0}while((f|0)<(c[g>>2]|0))}c[B+20>>2]=0;c[i>>2]=c[h>>2];if(!(c[a+440>>2]|0))c[B+40>>2]=0}if(!(c[B+40>>2]|0)){r=c[a+432>>2]|0;s=c[a+436>>2]|0;c[z+16>>2]=a;u=a+24|0;h=c[u>>2]|0;g=c[h>>2]|0;c[z>>2]=g;f=c[h+4>>2]|0;v=z+4|0;c[v>>2]=f;w=B+12|0;j=c[w>>2]|0;x=B+16|0;i=c[x>>2]|0;y=B+20|0;c[A>>2]=c[y>>2];c[A+4>>2]=c[y+4>>2];c[A+8>>2]=c[y+8>>2];c[A+12>>2]=c[y+12>>2];c[A+16>>2]=c[y+16>>2];t=a+368|0;do if((c[t>>2]|0)>0){p=z+8|0;q=z+12|0;o=0;a:while(1){l=c[e+(o<<2)>>2]|0;h=c[B+100+(o<<2)>>2]|0;if((i|0)<8){if(!(vu(z,j,i,0)|0)){f=0;m=67;break}j=c[p>>2]|0;i=c[q>>2]|0;if((i|0)<8){f=1;m=17}else m=15}else m=15;if((m|0)==15){m=0;f=j>>i+-8&255;g=c[h+144+(f<<2)>>2]|0;if(!g){f=9;m=17}else{f=d[h+1168+f>>0]|0;i=i-g|0}}if((m|0)==17){f=wu(z,j,i,h,f)|0;if((f|0)<0){f=0;m=67;break}j=c[p>>2]|0;i=c[q>>2]|0}n=c[B+140+(o<<2)>>2]|0;k=c[B+180+(o<<2)>>2]|0;g=(f|0)!=0;b:do if(!k)if(g){if((i|0)<(f|0)){if(!(vu(z,j,i,f)|0)){f=0;m=67;break a}j=c[p>>2]|0;i=c[q>>2]|0}i=i-f|0;f=1;m=47}else{f=1;m=47}else{if(g){if((i|0)<(f|0)){if(!(vu(z,j,i,f)|0)){f=0;m=67;break a}j=c[p>>2]|0;i=c[q>>2]|0}i=i-f|0;m=c[5184+(f<<2)>>2]|0;h=j>>i&m;f=h-((h|0)>(c[5184+(f+-1<<2)>>2]|0)?0:m)|0}else f=0;h=A+4+(c[a+372+(o<<2)>>2]<<2)|0;m=(c[h>>2]|0)+f|0;c[h>>2]=m;b[l>>1]=m;if((k|0)>1){f=1;while(1){if((i|0)<8){if(!(vu(z,j,i,0)|0)){f=0;m=67;break a}j=c[p>>2]|0;i=c[q>>2]|0;if((i|0)<8){g=1;m=32}else m=30}else m=30;if((m|0)==30){m=0;h=j>>i+-8&255;g=c[n+144+(h<<2)>>2]|0;if(!g){g=9;m=32}else{i=i-g|0;g=d[n+1168+h>>0]|0}}if((m|0)==32){m=0;g=wu(z,j,i,n,g)|0;if((g|0)<0){f=0;m=67;break a}j=c[p>>2]|0;i=c[q>>2]|0}h=g>>>4;g=g&15;if(!g){if((h|0)!=15)break b;f=f+15|0}else{f=h+f|0;if((i|0)<(g|0)){if(!(vu(z,j,i,g)|0)){f=0;m=67;break a}j=c[p>>2]|0;i=c[q>>2]|0}i=i-g|0;m=c[5184+(g<<2)>>2]|0;h=j>>i&m;b[l+(c[r+(f<<2)>>2]<<1)>>1]=h-((h|0)>(c[5184+(g+-1<<2)>>2]|0)?0:m)}f=f+1|0;if((f|0)>=(k|0)){m=47;break}}}else{f=1;m=47}}while(0);c:do if((m|0)==47)if((f|0)<=(s|0)){h=f;do{if((i|0)<8){if(!(vu(z,j,i,0)|0)){f=0;m=67;break a}j=c[p>>2]|0;i=c[q>>2]|0;if((i|0)<8){f=1;m=54}else m=52}else m=52;if((m|0)==52){m=0;f=j>>i+-8&255;g=c[n+144+(f<<2)>>2]|0;if(!g){f=9;m=54}else{f=d[n+1168+f>>0]|0;i=i-g|0}}if((m|0)==54){f=wu(z,j,i,n,f)|0;if((f|0)<0){f=0;m=67;break a}j=c[p>>2]|0;i=c[q>>2]|0}g=f>>>4;f=f&15;if(!f)if((g|0)==15)f=15;else break c;else{if((i|0)<(f|0)){if(!(vu(z,j,i,f)|0)){f=0;m=67;break a}j=c[p>>2]|0;i=c[q>>2]|0}i=i-f|0;f=g}h=h+1+f|0}while((h|0)<=(s|0))}while(0);o=o+1|0;if((o|0)>=(c[t>>2]|0)){m=64;break}}if((m|0)==64){h=c[u>>2]|0;g=c[z>>2]|0;f=c[v>>2]|0;break}else if((m|0)==67){yb=C;return f|0}}while(0);c[h>>2]=g;c[h+4>>2]=f;c[w>>2]=j;c[x>>2]=i;c[y>>2]=c[A>>2];c[y+4>>2]=c[A+4>>2];c[y+8>>2]=c[A+8>>2];c[y+12>>2]=c[A+12>>2];c[y+16>>2]=c[A+16>>2]}B=B+44|0;c[B>>2]=(c[B>>2]|0)+-1;B=1;yb=C;return B|0}function vu(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;g=c[b>>2]|0;n=b+4|0;h=c[n>>2]|0;m=c[b+16>>2]|0;l=m+440|0;a:do if(!(c[l>>2]|0)){if((e|0)<25){k=m+24|0;j=e;b:while(1){if(!h){if(!(Eb[c[(c[k>>2]|0)+12>>2]&127](m)|0)){g=0;o=20;break}g=c[k>>2]|0;h=c[g+4>>2]|0;g=c[g>>2]|0}h=h+-1|0;i=g+1|0;e=a[g>>0]|0;g=e&255;c:do if(e<<24>>24==-1){g=i;while(1){if(!h){if(!(Eb[c[(c[k>>2]|0)+12>>2]&127](m)|0)){g=0;o=20;break b}e=c[k>>2]|0;h=c[e+4>>2]|0;e=c[e>>2]|0}else e=g;h=h+-1|0;g=e+1|0;e=a[e>>0]|0;switch(e<<24>>24){case 0:{e=255;break c}case -1:break;default:{o=13;break b}}}}else{e=g;g=i}while(0);d=e|d<<8;e=j+8|0;if((j|0)<17)j=e;else break a}if((o|0)==13){c[l>>2]=e&255;e=j;i=h;o=15;break}else if((o|0)==20)return g|0}}else{i=h;o=15}while(0);if((o|0)==15)if((e|0)<(f|0)){h=m+468|0;if(!(c[(c[h>>2]|0)+40>>2]|0)){o=c[m>>2]|0;c[o+20>>2]=120;Sb[c[o+4>>2]&63](m,-1);c[(c[h>>2]|0)+40>>2]=1}d=d<<25-e;e=25;h=i}else h=i;c[b>>2]=g;c[n>>2]=h;c[b+8>>2]=d;c[b+12>>2]=e;o=1;return o|0}function wu(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;do if((e|0)<(g|0))if(!(vu(a,b,e,g)|0)){f=-1;return f|0}else{b=c[a+8>>2]|0;e=c[a+12>>2]|0;break}while(0);e=e-g|0;h=b>>e&c[5184+(g<<2)>>2];i=a+8|0;j=a+12|0;a:do if((h|0)>(c[f+(g<<2)>>2]|0)){while(1){h=h<<1;if((e|0)<1){if(!(vu(a,b,e,1)|0)){e=-1;break}b=c[i>>2]|0;e=c[j>>2]|0}e=e+-1|0;h=b>>>e&1|h;g=g+1|0;if((h|0)<=(c[f+(g<<2)>>2]|0))break a}return e|0}while(0);c[i>>2]=b;c[j>>2]=e;if((g|0)>16){f=c[a+16>>2]|0;a=c[f>>2]|0;c[a+20>>2]=121;Sb[c[a+4>>2]&63](f,-1);f=0;return f|0}else{f=d[(c[f+72+(g<<2)>>2]|0)+h+((c[f+140>>2]|0)+17)>>0]|0;return f|0}return 0}function xu(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;o=c[b+468>>2]|0;p=b+224|0;q=b+412|0;f=c[q>>2]|0;e=(f|0)==0;do if(c[p>>2]|0){m=b+416|0;d=c[m>>2]|0;if(e)if(!d)n=7;else n=11;else if(((d|0)>=(f|0)?(d|0)<=(c[b+436>>2]|0):0)?(c[b+340>>2]|0)==1:0)n=7;else n=11;do if((n|0)==7){d=c[b+420>>2]|0;if(d){d=d+-1|0;if((d|0)!=(c[b+424>>2]|0)){n=11;break}}else d=c[b+424>>2]|0;if((d|0)>13)n=11}while(0);if((n|0)==11){l=c[b>>2]|0;c[l+20>>2]=17;c[l+24>>2]=f;c[(c[b>>2]|0)+28>>2]=c[m>>2];c[(c[b>>2]|0)+32>>2]=c[b+420>>2];c[(c[b>>2]|0)+36>>2]=c[b+424>>2];Qb[c[c[b>>2]>>2]&255](b)}l=b+340|0;d=c[l>>2]|0;if((d|0)>0){j=b+160|0;g=b+420|0;k=b+424|0;i=0;do{f=c[(c[b+344+(i<<2)>>2]|0)+4>>2]|0;h=c[j>>2]|0;d=c[q>>2]|0;if(d){if((c[h+(f<<8)>>2]|0)<0){d=c[b>>2]|0;c[d+20>>2]=118;c[d+24>>2]=f;c[(c[b>>2]|0)+28>>2]=0;Sb[c[(c[b>>2]|0)+4>>2]&63](b,-1);d=c[q>>2]|0}}else d=0;if((d|0)<=(c[m>>2]|0))while(1){e=h+(f<<8)+(d<<2)|0;r=c[e>>2]|0;if((c[g>>2]|0)!=(((r|0)>0?r:0)|0)){r=c[b>>2]|0;c[r+20>>2]=118;c[r+24>>2]=f;c[(c[b>>2]|0)+28>>2]=d;Sb[c[(c[b>>2]|0)+4>>2]&63](b,-1)}c[e>>2]=c[k>>2];if((d|0)<(c[m>>2]|0))d=d+1|0;else break}i=i+1|0;d=c[l>>2]|0}while((i|0)<(d|0))}else g=b+420|0;e=(c[q>>2]|0)==0;f=o+4|0;if(!(c[g>>2]|0))if(e){c[f>>2]=42;k=l;break}else{c[f>>2]=43;k=l;break}else if(e){c[f>>2]=44;k=l;break}else{c[f>>2]=45;k=l;break}}else{if((e?(c[b+420>>2]|0)==0:0)?(c[b+424>>2]|0)==0:0){r=c[b+416>>2]|0;if((r|0)<64?(r|0)!=(c[b+436>>2]|0):0)n=36}else n=36;if((n|0)==36){r=c[b>>2]|0;c[r+20>>2]=125;Sb[c[r+4>>2]&63](b,-1)}c[o+4>>2]=46;d=b+340|0;k=d;d=c[d>>2]|0}while(0);if((d|0)<=0){q=o+12|0;c[q>>2]=0;q=o+16|0;c[q>>2]=0;q=o+20|0;c[q>>2]=-16;q=b+280|0;q=c[q>>2]|0;r=o+56|0;c[r>>2]=q;return}h=b+436|0;i=b+420|0;j=b+4|0;g=0;do{f=c[b+344+(g<<2)>>2]|0;if(c[p>>2]|0)if(!(c[q>>2]|0)){if(!(c[i>>2]|0))n=43}else n=50;else n=43;do if((n|0)==43){n=0;d=c[f+20>>2]|0;if(d>>>0>15){r=c[b>>2]|0;c[r+20>>2]=50;c[r+24>>2]=d;Qb[c[c[b>>2]>>2]&255](b)}e=o+60+(d<<2)|0;d=c[e>>2]|0;if(!d){d=Hb[c[c[j>>2]>>2]&63](b,1,64)|0;c[e>>2]=d}e=d+64|0;do{a[d>>0]=0;d=d+1|0}while((d|0)<(e|0));c[o+24+(g<<2)>>2]=0;c[o+40+(g<<2)>>2]=0;if(!(c[p>>2]|0))if(!(c[h>>2]|0))break;else{n=50;break}else if(!(c[q>>2]|0))break;else{n=50;break}}while(0);if((n|0)==50){n=0;d=c[f+24>>2]|0;if(d>>>0>15){r=c[b>>2]|0;c[r+20>>2]=50;c[r+24>>2]=d;Qb[c[c[b>>2]>>2]&255](b)}e=o+124+(d<<2)|0;d=c[e>>2]|0;if(!d){d=Hb[c[c[j>>2]>>2]&63](b,1,256)|0;c[e>>2]=d}_O(d|0,0,256)|0}g=g+1|0}while((g|0)<(c[k>>2]|0));q=o+12|0;c[q>>2]=0;q=o+16|0;c[q>>2]=0;q=o+20|0;c[q>>2]=-16;q=b+280|0;q=c[q>>2]|0;r=o+56|0;c[r>>2]=q;return}function yu(a){a=a|0;return}function zu(e,f){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;s=c[e+468>>2]|0;p=e+280|0;if(c[p>>2]|0){q=s+56|0;g=c[q>>2]|0;if(!g){if(!(Eb[c[(c[e+464>>2]|0)+8>>2]&127](e)|0)){r=c[e>>2]|0;c[r+20>>2]=25;Qb[c[r>>2]&255](e)}h=e+340|0;if((c[h>>2]|0)>0){i=e+224|0;j=e+412|0;k=e+436|0;l=e+420|0;g=0;do{m=c[e+344+(g<<2)>>2]|0;if(c[i>>2]|0)if(!(c[j>>2]|0)){if(!(c[l>>2]|0))t=10}else t=13;else t=10;do if((t|0)==10){t=0;n=c[s+60+(c[m+20>>2]<<2)>>2]|0;o=n+64|0;do{a[n>>0]=0;n=n+1|0}while((n|0)<(o|0));c[s+24+(g<<2)>>2]=0;c[s+40+(g<<2)>>2]=0;if(!(c[i>>2]|0))if(!(c[k>>2]|0))break;else{t=13;break}else if(!(c[j>>2]|0))break;else{t=13;break}}while(0);if((t|0)==13){t=0;_O(c[s+124+(c[m+24>>2]<<2)>>2]|0,0,256)|0}g=g+1|0}while((g|0)<(c[h>>2]|0))}c[s+12>>2]=0;c[s+16>>2]=0;c[s+20>>2]=-16;g=c[p>>2]|0;c[q>>2]=g}c[q>>2]=g+-1}o=s+20|0;if((c[o>>2]|0)==-1)return 1;p=e+368|0;if((c[p>>2]|0)<=0)return 1;q=e+424|0;n=0;a:while(1){r=c[f+(n<<2)>>2]|0;l=c[e+372+(n<<2)>>2]|0;j=c[(c[e+344+(l<<2)>>2]|0)+20>>2]|0;h=s+60+(j<<2)|0;k=s+40+(l<<2)|0;g=(c[h>>2]|0)+(c[k>>2]|0)|0;if(!(Eu(e,g)|0)){c[k>>2]=0;g=c[s+24+(l<<2)>>2]|0}else{m=Eu(e,g+1|0)|0;i=g+2+m|0;g=Eu(e,i)|0;if(g){h=(c[h>>2]|0)+20|0;if(!(Eu(e,h)|0))i=h;else while(1){g=g<<1;if((g|0)==32768)break a;h=h+1|0;if(!(Eu(e,h)|0)){i=h;break}}}else g=0;do if((g|0)>=(1<<(d[e+232+j>>0]|0)>>1|0)){h=m<<2;if((g|0)>(1<<(d[e+248+j>>0]|0)>>1|0)){h=h+12|0;break}else{h=h+4|0;break}}else h=0;while(0);c[k>>2]=h;i=i+14|0;h=g>>1;if(h)do{k=(Eu(e,i)|0)==0;g=(k?0:h)|g;h=h>>1}while((h|0)!=0);l=s+24+(l<<2)|0;g=(c[l>>2]|0)+((m|0)==0?g+1|0:~g)|0;c[l>>2]=g}b[r>>1]=g<>2];n=n+1|0;if((n|0)>=(c[p>>2]|0)){t=37;break}}if((t|0)==37)return 1;t=c[e>>2]|0;c[t+20>>2]=117;Sb[c[t+4>>2]&63](e,-1);c[o>>2]=-1;return 1}function Au(e,f){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;s=c[e+468>>2]|0;p=e+280|0;if(c[p>>2]|0){q=s+56|0;g=c[q>>2]|0;if(!g){if(!(Eb[c[(c[e+464>>2]|0)+8>>2]&127](e)|0)){t=c[e>>2]|0;c[t+20>>2]=25;Qb[c[t>>2]&255](e)}h=e+340|0;if((c[h>>2]|0)>0){i=e+224|0;j=e+412|0;k=e+436|0;l=e+420|0;g=0;do{m=c[e+344+(g<<2)>>2]|0;if(c[i>>2]|0)if(!(c[j>>2]|0)){if(!(c[l>>2]|0))r=10}else r=13;else r=10;do if((r|0)==10){r=0;n=c[s+60+(c[m+20>>2]<<2)>>2]|0;o=n+64|0;do{a[n>>0]=0;n=n+1|0}while((n|0)<(o|0));c[s+24+(g<<2)>>2]=0;c[s+40+(g<<2)>>2]=0;if(!(c[i>>2]|0))if(!(c[k>>2]|0))break;else{r=13;break}else if(!(c[j>>2]|0))break;else{r=13;break}}while(0);if((r|0)==13){r=0;_O(c[s+124+(c[m+24>>2]<<2)>>2]|0,0,256)|0}g=g+1|0}while((g|0)<(c[h>>2]|0))}c[s+12>>2]=0;c[s+16>>2]=0;c[s+20>>2]=-16;g=c[p>>2]|0;c[q>>2]=g}c[q>>2]=g+-1}t=s+20|0;if((c[t>>2]|0)==-1)return 1;r=c[e+432>>2]|0;p=c[f>>2]|0;o=c[(c[e+344>>2]|0)+24>>2]|0;q=s+124+(o<<2)|0;l=s+188|0;m=e+416|0;n=e+424|0;o=e+264+o|0;h=(c[e+412>>2]|0)+-1|0;a:while(1){g=(c[q>>2]|0)+(h*3|0)|0;if(Eu(e,g)|0){r=36;break}j=h+1|0;if(!(Eu(e,g+1|0)|0)){i=g;h=j;while(1){if((h|0)>=(c[m>>2]|0)){r=23;break a}g=i+3|0;j=h+1|0;if(!(Eu(e,i+4|0)|0)){i=g;h=j}else break}}k=Eu(e,l)|0;i=g+2|0;g=Eu(e,i)|0;if(g){if(Eu(e,i)|0){g=g<<1;h=(c[q>>2]|0)+((h|0)<(d[o>>0]|0|0)?189:217)|0;if(Eu(e,h)|0)do{g=g<<1;if((g|0)==32768){r=30;break a}h=h+1|0}while((Eu(e,h)|0)!=0)}else h=i;i=h+14|0;h=g>>1;if(h)do{s=(Eu(e,i)|0)==0;g=(s?0:h)|g;h=h>>1}while((h|0)!=0)}else g=0;b[p+(c[r+(j<<2)>>2]<<1)>>1]=((k|0)==0?g+1|0:~g)<>2];if((j|0)<(c[m>>2]|0))h=j;else{r=36;break}}if((r|0)==23){s=c[e>>2]|0;c[s+20>>2]=117;Sb[c[s+4>>2]&63](e,-1);c[t>>2]=-1;return 1}else if((r|0)==30){s=c[e>>2]|0;c[s+20>>2]=117;Sb[c[s+4>>2]&63](e,-1);c[t>>2]=-1;return 1}else if((r|0)==36)return 1;return 0}function Bu(d,f){d=d|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;r=c[d+468>>2]|0;p=d+280|0;if(c[p>>2]|0){s=r+56|0;g=c[s>>2]|0;if(!g){if(!(Eb[c[(c[d+464>>2]|0)+8>>2]&127](d)|0)){o=c[d>>2]|0;c[o+20>>2]=25;Qb[c[o>>2]&255](d)}h=d+340|0;if((c[h>>2]|0)>0){i=d+224|0;j=d+412|0;k=d+436|0;l=d+420|0;g=0;do{m=c[d+344+(g<<2)>>2]|0;if(c[i>>2]|0)if(!(c[j>>2]|0)){if(!(c[l>>2]|0))q=10}else q=13;else q=10;do if((q|0)==10){q=0;n=c[r+60+(c[m+20>>2]<<2)>>2]|0;o=n+64|0;do{a[n>>0]=0;n=n+1|0}while((n|0)<(o|0));c[r+24+(g<<2)>>2]=0;c[r+40+(g<<2)>>2]=0;if(!(c[i>>2]|0))if(!(c[k>>2]|0))break;else{q=13;break}else if(!(c[j>>2]|0))break;else{q=13;break}}while(0);if((q|0)==13){q=0;_O(c[r+124+(c[m+24>>2]<<2)>>2]|0,0,256)|0}g=g+1|0}while((g|0)<(c[h>>2]|0))}c[r+12>>2]=0;c[r+16>>2]=0;c[r+20>>2]=-16;g=c[p>>2]|0;c[s>>2]=g}c[s>>2]=g+-1}h=r+188|0;i=1<>2];j=d+368|0;if((c[j>>2]|0)<=0)return 1;g=0;do{if(Eu(d,h)|0){s=c[f+(g<<2)>>2]|0;b[s>>1]=i|(e[s>>1]|0)}g=g+1|0}while((g|0)<(c[j>>2]|0));return 1}function Cu(d,e){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;q=c[d+468>>2]|0;o=d+280|0;if(c[o>>2]|0){p=q+56|0;f=c[p>>2]|0;if(!f){if(!(Eb[c[(c[d+464>>2]|0)+8>>2]&127](d)|0)){s=c[d>>2]|0;c[s+20>>2]=25;Qb[c[s>>2]&255](d)}g=d+340|0;if((c[g>>2]|0)>0){h=d+224|0;i=d+412|0;j=d+436|0;k=d+420|0;f=0;do{l=c[d+344+(f<<2)>>2]|0;if(c[h>>2]|0)if(!(c[i>>2]|0)){if(!(c[k>>2]|0))t=10}else t=13;else t=10;do if((t|0)==10){t=0;m=c[q+60+(c[l+20>>2]<<2)>>2]|0;n=m+64|0;do{a[m>>0]=0;m=m+1|0}while((m|0)<(n|0));c[q+24+(f<<2)>>2]=0;c[q+40+(f<<2)>>2]=0;if(!(c[h>>2]|0))if(!(c[j>>2]|0))break;else{t=13;break}else if(!(c[i>>2]|0))break;else{t=13;break}}while(0);if((t|0)==13){t=0;_O(c[q+124+(c[l+24>>2]<<2)>>2]|0,0,256)|0}f=f+1|0}while((f|0)<(c[g>>2]|0))}c[q+12>>2]=0;c[q+16>>2]=0;c[q+20>>2]=-16;f=c[o>>2]|0;c[p>>2]=f}c[p>>2]=f+-1}r=q+20|0;if((c[r>>2]|0)==-1)return 1;s=c[d+432>>2]|0;n=c[e>>2]|0;g=c[(c[d+344>>2]|0)+24>>2]|0;p=c[d+424>>2]|0;o=1<>2]|0;while(1){if(b[n+(c[s+(f<<2)>>2]<<1)>>1]|0)break;f=f+-1|0;if(!f){f=0;break}}m=q+124+(g<<2)|0;j=q+188|0;k=o&65535;l=p&65535;g=(c[d+412>>2]|0)+-1|0;a:while(1){h=(c[m>>2]|0)+(g*3|0)|0;if((g|0)>=(f|0)?Eu(d,h)|0:0){t=38;break}g=g+1|0;i=n+(c[s+(g<<2)>>2]<<1)|0;b:do if(!(b[i>>1]|0)){while(1){if(Eu(d,h+1|0)|0)break;if((g|0)>=(c[e>>2]|0)){t=35;break a}h=h+3|0;g=g+1|0;i=n+(c[s+(g<<2)>>2]<<1)|0;if(b[i>>1]|0){t=26;break b}}if(!(Eu(d,j)|0)){b[i>>1]=k;break}else{b[i>>1]=l;break}}else t=26;while(0);do if((t|0)==26){t=0;if(Eu(d,h+2|0)|0){q=b[i>>1]|0;h=q<<16>>16;if(q<<16>>16<0){b[i>>1]=p+h;break}else{b[i>>1]=o+h;break}}}while(0);if((g|0)>=(c[e>>2]|0)){t=38;break}}if((t|0)==35){t=c[d>>2]|0;c[t+20>>2]=117;Sb[c[t+4>>2]&63](d,-1);c[r>>2]=-1;return 1}else if((t|0)==38)return 1;return 0}function Du(e,f){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;v=c[e+468>>2]|0;p=e+280|0;if(c[p>>2]|0){q=v+56|0;g=c[q>>2]|0;if(!g){if(!(Eb[c[(c[e+464>>2]|0)+8>>2]&127](e)|0)){u=c[e>>2]|0;c[u+20>>2]=25;Qb[c[u>>2]&255](e)}h=e+340|0;if((c[h>>2]|0)>0){i=e+224|0;j=e+412|0;k=e+436|0;l=e+420|0;g=0;do{m=c[e+344+(g<<2)>>2]|0;if(c[i>>2]|0)if(!(c[j>>2]|0)){if(!(c[l>>2]|0))r=10}else r=13;else r=10;do if((r|0)==10){r=0;n=c[v+60+(c[m+20>>2]<<2)>>2]|0;o=n+64|0;do{a[n>>0]=0;n=n+1|0}while((n|0)<(o|0));c[v+24+(g<<2)>>2]=0;c[v+40+(g<<2)>>2]=0;if(!(c[i>>2]|0))if(!(c[k>>2]|0))break;else{r=13;break}else if(!(c[j>>2]|0))break;else{r=13;break}}while(0);if((r|0)==13){r=0;_O(c[v+124+(c[m+24>>2]<<2)>>2]|0,0,256)|0}g=g+1|0}while((g|0)<(c[h>>2]|0))}c[v+12>>2]=0;c[v+16>>2]=0;c[v+20>>2]=-16;g=c[p>>2]|0;c[q>>2]=g}c[q>>2]=g+-1}u=v+20|0;if((c[u>>2]|0)==-1)return 1;p=c[e+432>>2]|0;q=e+368|0;if((c[q>>2]|0)<=0)return 1;r=e+436|0;s=v+188|0;o=0;a:while(1){t=c[f+(o<<2)>>2]|0;l=c[e+372+(o<<2)>>2]|0;n=c[e+344+(l<<2)>>2]|0;j=c[n+20>>2]|0;h=v+60+(j<<2)|0;k=v+40+(l<<2)|0;g=(c[h>>2]|0)+(c[k>>2]|0)|0;if(!(Eu(e,g)|0)){c[k>>2]=0;g=c[v+24+(l<<2)>>2]|0}else{m=Eu(e,g+1|0)|0;i=g+2+m|0;g=Eu(e,i)|0;if(g){h=(c[h>>2]|0)+20|0;if(!(Eu(e,h)|0))i=h;else while(1){g=g<<1;if((g|0)==32768){r=26;break a}h=h+1|0;if(!(Eu(e,h)|0)){i=h;break}}}else g=0;do if((g|0)>=(1<<(d[e+232+j>>0]|0)>>1|0)){h=m<<2;if((g|0)>(1<<(d[e+248+j>>0]|0)>>1|0)){h=h+12|0;break}else{h=h+4|0;break}}else h=0;while(0);c[k>>2]=h;i=i+14|0;h=g>>1;if(h)do{k=(Eu(e,i)|0)==0;g=(k?0:h)|g;h=h>>1}while((h|0)!=0);l=v+24+(l<<2)|0;g=(c[l>>2]|0)+((m|0)==0?g+1|0:~g)|0;c[l>>2]=g}b[t>>1]=g;b:do if(c[r>>2]|0){m=c[n+24>>2]|0;l=v+124+(m<<2)|0;m=e+264+m|0;g=0;while(1){h=(c[l>>2]|0)+(g*3|0)|0;if(Eu(e,h)|0)break b;j=g+1|0;if(!(Eu(e,h+1|0)|0)){i=h;g=j;while(1){if((g|0)>=(c[r>>2]|0)){r=42;break a}h=i+3|0;j=g+1|0;if(!(Eu(e,i+4|0)|0)){i=h;g=j}else break}}k=Eu(e,s)|0;h=h+2|0;i=Eu(e,h)|0;if(i){if(Eu(e,h)|0){i=i<<1;h=(c[l>>2]|0)+((g|0)<(d[m>>0]|0|0)?189:217)|0;if(!(Eu(e,h)|0))g=i;else{g=i;do{g=g<<1;if((g|0)==32768){r=49;break a}h=h+1|0}while((Eu(e,h)|0)!=0)}}else g=i;i=h+14|0;h=g>>1;if(h)do{n=(Eu(e,i)|0)==0;g=(n?0:h)|g;h=h>>1}while((h|0)!=0)}else g=0;b[t+(c[p+(j<<2)>>2]<<1)>>1]=(k|0)==0?g+1|0:g^65535;if((j|0)<(c[r>>2]|0))g=j;else break}}while(0);o=o+1|0;if((o|0)>=(c[q>>2]|0)){r=56;break}}if((r|0)==26){v=c[e>>2]|0;c[v+20>>2]=117;Sb[c[v+4>>2]&63](e,-1);c[u>>2]=-1;return 1}else if((r|0)==42){v=c[e>>2]|0;c[v+20>>2]=117;Sb[c[v+4>>2]&63](e,-1);c[u>>2]=-1;return 1}else if((r|0)==49){v=c[e>>2]|0;c[v+20>>2]=117;Sb[c[v+4>>2]&63](e,-1);c[u>>2]=-1;return 1}else if((r|0)==56)return 1;return 0}function Eu(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=c[b+468>>2]|0;m=g+16|0;f=c[m>>2]|0;k=g+20|0;if((f|0)<32768){h=b+440|0;j=b+24|0;i=g+12|0;f=c[k>>2]|0;while(1){g=f+-1|0;c[k>>2]=g;if((f|0)<1){if(!(c[h>>2]|0)){f=c[j>>2]|0;g=f+4|0;if((c[g>>2]|0)==0?(Eb[c[f+12>>2]&127](b)|0)==0:0){l=c[b>>2]|0;c[l+20>>2]=25;Qb[c[l>>2]&255](b)}c[g>>2]=(c[g>>2]|0)+-1;l=c[f>>2]|0;c[f>>2]=l+1;l=a[l>>0]|0;f=l&255;a:do if(l<<24>>24==-1){b:while(1){f=c[j>>2]|0;g=f+4|0;if((c[g>>2]|0)==0?(Eb[c[f+12>>2]&127](b)|0)==0:0){l=c[b>>2]|0;c[l+20>>2]=25;Qb[c[l>>2]&255](b)}c[g>>2]=(c[g>>2]|0)+-1;l=c[f>>2]|0;c[f>>2]=l+1;f=a[l>>0]|0;switch(f<<24>>24){case 0:{f=255;break a}case -1:break;default:break b}}c[h>>2]=f&255;f=0}while(0);g=c[k>>2]|0}else f=0;c[i>>2]=c[i>>2]<<8|f;f=g+8|0;c[k>>2]=f;if((g|0)<-8){f=g+9|0;c[k>>2]=f;if(!f){c[m>>2]=32768;g=0}else g=f}else g=f}f=c[m>>2]<<1;c[m>>2]=f;if((f|0)<32768)f=g;else break}}else{i=g+12|0;g=c[k>>2]|0}j=d[e>>0]|0;b=c[3872+((j&127)<<2)>>2]|0;k=b>>8;l=b>>16;h=f-l|0;c[m>>2]=h;f=h<>2]|0;if((g|0)>=(f|0)){c[i>>2]=g-f;c[m>>2]=l;f=j&128;if((h|0)<(l|0)){a[e>>0]=f^k;e=j;e=e>>7;return e|0}else{a[e>>0]=f^b;e=j^128;e=e>>7;return e|0}}if((h|0)>=32768){e=j;e=e>>7;return e|0}f=j&128;if((h|0)<(l|0)){a[e>>0]=f^b;e=j^128;e=e>>7;return e|0}else{a[e>>0]=f^k;e=j;e=e>>7;return e|0}return 0}function Fu(a){a=a|0;var d=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0.0,u=0;n=c[a+472>>2]|0;o=a+36|0;if((c[o>>2]|0)<=0)return;r=a+72|0;l=0;m=c[a+216>>2]|0;i=0;j=0;while(1){d=c[m+36>>2]|0;h=m+40|0;a:do switch((d<<8)+(c[h>>2]|0)|0){case 257:{d=0;k=13;break}case 514:{d=0;k=14;break}case 771:{d=0;k=15;break}case 1028:{d=0;k=16;break}case 1285:{d=0;k=17;break}case 1542:{d=0;k=18;break}case 1799:{d=0;k=19;break}case 2313:{d=0;k=20;break}case 2570:{d=0;k=21;break}case 2827:{d=0;k=22;break}case 3084:{d=0;k=23;break}case 3341:{d=0;k=24;break}case 3598:{d=0;k=25;break}case 3855:{d=0;k=26;break}case 4112:{d=0;k=27;break}case 4104:{d=0;k=28;break}case 3591:{d=0;k=29;break}case 3078:{d=0;k=30;break}case 2565:{d=0;k=31;break}case 2052:{d=0;k=32;break}case 1539:{d=0;k=33;break}case 1026:{d=0;k=34;break}case 513:{d=0;k=35;break}case 2064:{d=0;k=36;break}case 1806:{d=0;k=37;break}case 1548:{d=0;k=38;break}case 1290:{d=0;k=39;break}case 1032:{d=0;k=40;break}case 774:{d=0;k=41;break}case 516:{d=0;k=42;break}case 258:{d=0;k=43;break}case 2056:{d=c[r>>2]|0;switch(d|0){case 0:{k=44;break a}case 1:{k=45;break a}case 2:{k=46;break a}default:{d=c[a>>2]|0;c[d+20>>2]=49;Qb[c[d>>2]&255](a);d=i;k=j;break a}}}default:{k=c[a>>2]|0;c[k+20>>2]=7;c[k+24>>2]=d;c[(c[a>>2]|0)+28>>2]=c[h>>2];Qb[c[c[a>>2]>>2]&255](a);d=i;k=j}}while(0);c[n+4+(l<<2)>>2]=k;b:do if((c[m+52>>2]|0?(p=n+44+(l<<2)|0,(c[p>>2]|0)!=(d|0)):0)?(q=c[m+80>>2]|0,q|0):0){c[p>>2]=d;switch(d|0){case 0:{i=c[m+84>>2]|0;h=0;do{c[i+(h<<2)>>2]=e[q+(h<<1)>>1];h=h+1|0}while((h|0)!=64);break}case 1:{i=c[m+84>>2]|0;h=0;do{c[i+(h<<2)>>2]=(B(b[5248+(h<<1)>>1]|0,e[q+(h<<1)>>1]|0)|0)+2048>>12;h=h+1|0}while((h|0)!=64);break}case 2:{j=c[m+84>>2]|0;h=0;i=0;while(1){t=+g[5376+(h<<3)>>3];f[j+(i<<2)>>2]=t*+(e[q+(i<<1)>>1]|0)*.125;s=i|1;f[j+(s<<2)>>2]=t*+(e[q+(s<<1)>>1]|0)*1.387039845*.125;s=s+1|0;f[j+(s<<2)>>2]=t*+(e[q+(s<<1)>>1]|0)*1.306562965*.125;s=i|3;f[j+(s<<2)>>2]=t*+(e[q+(s<<1)>>1]|0)*1.175875602*.125;u=s+1|0;f[j+(u<<2)>>2]=t*+(e[q+(u<<1)>>1]|0)*.125;u=s+2|0;f[j+(u<<2)>>2]=t*+(e[q+(u<<1)>>1]|0)*.785694958*.125;s=s+3|0;f[j+(s<<2)>>2]=t*+(e[q+(s<<1)>>1]|0)*.5411961*.125;s=i|7;f[j+(s<<2)>>2]=t*+(e[q+(s<<1)>>1]|0)*.275899379*.125;h=h+1|0;if((h|0)==8)break;else i=i+8|0}break}default:{u=c[a>>2]|0;c[u+20>>2]=49;Qb[c[u>>2]&255](a);break b}}}while(0);l=l+1|0;if((l|0)>=(c[o>>2]|0))break;else{m=m+88|0;i=d;j=k}}return}function Gu(d,e,g,h,i){d=d|0;e=e|0;g=g|0;h=h|0;i=i|0;var j=0,k=0.0,l=0,m=0,n=0,o=0,p=0,q=0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0.0;q=yb;yb=yb+256|0;j=q;o=c[d+336>>2]|0;n=j;m=c[e+84>>2]|0;l=8;while(1){e=b[g+16>>1]|0;d=b[g+32>>1]|0;if(!((e|d)<<16>>16))if(((((b[g+48>>1]|0)==0?(b[g+64>>1]|0)==0:0)?(b[g+80>>1]|0)==0:0)?(b[g+96>>1]|0)==0:0)?(b[g+112>>1]|0)==0:0){k=+f[m>>2]*+(b[g>>1]|0);f[n>>2]=k;f[n+32>>2]=k;f[n+64>>2]=k;f[n+96>>2]=k;f[n+128>>2]=k;f[n+160>>2]=k;f[n+192>>2]=k;d=56}else{d=0;p=9}else p=9;if((p|0)==9){p=0;r=+f[m>>2]*+(b[g>>1]|0);x=+f[m+64>>2]*+(d<<16>>16);w=+f[m+128>>2]*+(b[g+64>>1]|0);t=+f[m+192>>2]*+(b[g+96>>1]|0);v=r+w;w=r-w;r=x+t;t=(x-t)*1.4142135381698608-r;x=v+r;r=v-r;v=w+t;t=w-t;w=+f[m+32>>2]*+(e<<16>>16);u=+f[m+96>>2]*+(b[g+48>>1]|0);z=+f[m+160>>2]*+(b[g+80>>1]|0);k=+f[m+224>>2]*+(b[g+112>>1]|0);s=u+z;u=z-u;z=w+k;k=w-k;w=s+z;y=(u+k)*1.8477590084075928;u=y-u*2.613126039505005-w;s=(z-s)*1.4142135381698608-u;k=y-k*1.0823922157287598-s;f[n>>2]=x+w;f[n+224>>2]=x-w;f[n+32>>2]=v+u;f[n+192>>2]=v-u;f[n+64>>2]=t+s;f[n+160>>2]=t-s;f[n+96>>2]=r+k;k=r-k;d=32}f[n+(d<<2)>>2]=k;if(l>>>0>1){n=n+4|0;m=m+4|0;g=g+2|0;l=l+-1|0}else break}e=o+-384|0;d=0;while(1){p=(c[h+(d<<2)>>2]|0)+i|0;s=+f[j>>2]+512.5;t=+f[j+16>>2];u=s+t;t=s-t;s=+f[j+8>>2];w=+f[j+24>>2];y=s+w;w=(s-w)*1.4142135381698608-y;s=u+y;y=u-y;u=t+w;w=t-w;t=+f[j+20>>2];v=+f[j+12>>2];x=t+v;v=t-v;t=+f[j+4>>2];z=+f[j+28>>2];k=t+z;z=t-z;t=x+k;r=(v+z)*1.8477590084075928;v=r-v*2.613126039505005-t;x=(k-x)*1.4142135381698608-v;z=r-z*1.0823922157287598-x;a[p>>0]=a[e+(~~(s+t)&1023)>>0]|0;a[p+7>>0]=a[e+(~~(s-t)&1023)>>0]|0;a[p+1>>0]=a[e+(~~(u+v)&1023)>>0]|0;a[p+6>>0]=a[e+(~~(u-v)&1023)>>0]|0;a[p+2>>0]=a[e+(~~(w+x)&1023)>>0]|0;a[p+5>>0]=a[e+(~~(w-x)&1023)>>0]|0;a[p+3>>0]=a[e+(~~(y+z)&1023)>>0]|0;a[p+4>>0]=a[e+(~~(y-z)&1023)>>0]|0;d=d+1|0;if((d|0)==8)break;else j=j+32|0}yb=q;return}function Hu(d,e,f,g,h){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;o=yb;yb=yb+256|0;m=o;l=c[d+336>>2]|0;k=m;j=c[e+84>>2]|0;i=8;while(1){e=b[f+16>>1]|0;d=b[f+32>>1]|0;if(!((e|d)<<16>>16))if(((((b[f+48>>1]|0)==0?(b[f+64>>1]|0)==0:0)?(b[f+80>>1]|0)==0:0)?(b[f+96>>1]|0)==0:0)?(b[f+112>>1]|0)==0:0){d=B(c[j>>2]|0,b[f>>1]|0)|0;c[k>>2]=d;c[k+32>>2]=d;c[k+64>>2]=d;c[k+96>>2]=d;c[k+128>>2]=d;c[k+160>>2]=d;c[k+192>>2]=d;e=56}else{d=0;n=9}else n=9;if((n|0)==9){n=0;p=B(c[j>>2]|0,b[f>>1]|0)|0;u=B(c[j+64>>2]|0,d<<16>>16)|0;t=B(c[j+128>>2]|0,b[f+64>>1]|0)|0;q=B(c[j+192>>2]|0,b[f+96>>1]|0)|0;s=t+p|0;t=p-t|0;p=q+u|0;q=((u-q|0)*362>>8)-p|0;u=p+s|0;p=s-p|0;s=q+t|0;q=t-q|0;t=B(c[j+32>>2]|0,e<<16>>16)|0;r=B(c[j+96>>2]|0,b[f+48>>1]|0)|0;w=B(c[j+160>>2]|0,b[f+80>>1]|0)|0;d=B(c[j+224>>2]|0,b[f+112>>1]|0)|0;e=w+r|0;r=w-r|0;w=d+t|0;d=t-d|0;t=w+e|0;v=(d+r|0)*473>>8;r=v-(r*669>>8)-t|0;e=((w-e|0)*362>>8)-r|0;d=v-(d*277>>8)-e|0;c[k>>2]=t+u;c[k+224>>2]=u-t;c[k+32>>2]=r+s;c[k+192>>2]=s-r;c[k+64>>2]=e+q;c[k+160>>2]=q-e;c[k+96>>2]=d+p;d=p-d|0;e=32}c[k+(e<<2)>>2]=d;if(i>>>0>1){k=k+4|0;j=j+4|0;f=f+2|0;i=i+-1|0}else break}l=l+-384|0;k=0;e=m;while(1){f=(c[g+(k<<2)>>2]|0)+h|0;i=(c[e>>2]|0)+16400|0;j=c[e+4>>2]|0;d=c[e+8>>2]|0;if(!(j|d))if(((((c[e+12>>2]|0)==0?(c[e+16>>2]|0)==0:0)?(c[e+20>>2]|0)==0:0)?(c[e+24>>2]|0)==0:0)?(c[e+28>>2]|0)==0:0){w=a[l+(i>>>5&1023)>>0]|0;a[f>>0]=w;_O(f+1|0,w|0,7)|0}else{d=0;n=19}else n=19;if((n|0)==19){n=0;w=c[e+16>>2]|0;r=w+i|0;w=i-w|0;t=c[e+24>>2]|0;v=t+d|0;t=((d-t|0)*362>>8)-v|0;p=v+r|0;v=r-v|0;r=t+w|0;t=w-t|0;w=c[e+20>>2]|0;s=c[e+12>>2]|0;u=s+w|0;s=w-s|0;w=c[e+28>>2]|0;i=w+j|0;w=j-w|0;q=i+u|0;m=(w+s|0)*473>>8;s=m-(s*669>>8)-q|0;u=((i-u|0)*362>>8)-s|0;w=m-(w*277>>8)-u|0;a[f>>0]=a[l+((q+p|0)>>>5&1023)>>0]|0;a[f+7>>0]=a[l+((p-q|0)>>>5&1023)>>0]|0;a[f+1>>0]=a[l+((s+r|0)>>>5&1023)>>0]|0;a[f+6>>0]=a[l+((r-s|0)>>>5&1023)>>0]|0;a[f+2>>0]=a[l+((u+t|0)>>>5&1023)>>0]|0;a[f+5>>0]=a[l+((t-u|0)>>>5&1023)>>0]|0;a[f+3>>0]=a[l+((w+v|0)>>>5&1023)>>0]|0;a[f+4>>0]=a[l+((v-w|0)>>>5&1023)>>0]|0}k=k+1|0;if((k|0)==8)break;else e=e+32|0}yb=o;return}function Iu(d,e,f,g,h){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0;d=(c[d+336>>2]|0)+-384|0;i=c[e+84>>2]|0;e=(B(c[i>>2]|0,b[f>>1]|0)|0)+4100|0;f=B(c[i+32>>2]|0,b[f+16>>1]|0)|0;a[(c[g>>2]|0)+h>>0]=a[d+((f+e|0)>>>3&1023)>>0]|0;a[(c[g+4>>2]|0)+h>>0]=a[d+((e-f|0)>>>3&1023)>>0]|0;return}function Ju(d,e,f,g,h){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;i=yb;yb=yb+32|0;j=i;d=c[d+336>>2]|0;k=c[e+84>>2]|0;n=B(c[k>>2]|0,b[f>>1]|0)|0;q=B(c[k+64>>2]|0,b[f+32>>1]|0)|0;e=q+n<<13;q=n-q<<13;n=B(c[k+32>>2]|0,b[f+16>>1]|0)|0;l=B(c[k+96>>2]|0,b[f+48>>1]|0)|0;p=(l+n|0)*4433|0;n=p+(n*6270|0)|0;l=p+(B(l,-15137)|0)|0;p=n+e|0;c[j>>2]=p;c[j+24>>2]=e-n;n=l+q|0;c[j+8>>2]=n;l=q-l|0;c[j+16>>2]=l;q=B(c[k+4>>2]|0,b[f+2>>1]|0)|0;e=B(c[k+68>>2]|0,b[f+34>>1]|0)|0;m=e+q<<13;e=q-e<<13;q=B(c[k+36>>2]|0,b[f+18>>1]|0)|0;k=B(c[k+100>>2]|0,b[f+50>>1]|0)|0;o=(k+q|0)*4433|0;f=o+(q*6270|0)|0;k=o+(B(k,-15137)|0)|0;o=f+m|0;c[j+4>>2]=o;f=m-f|0;c[j+28>>2]=f;m=k+e|0;c[j+12>>2]=m;k=e-k|0;c[j+20>>2]=k;e=d+-384|0;d=(c[g>>2]|0)+h|0;p=p+33587200|0;a[d>>0]=a[e+((p+o|0)>>>16&1023)>>0]|0;a[d+1>>0]=a[e+((p-o|0)>>>16&1023)>>0]|0;d=(c[g+4>>2]|0)+h|0;n=n+33587200|0;a[d>>0]=a[e+((n+m|0)>>>16&1023)>>0]|0;a[d+1>>0]=a[e+((n-m|0)>>>16&1023)>>0]|0;d=(c[g+8>>2]|0)+h|0;l=l+33587200|0;a[d>>0]=a[e+((l+k|0)>>>16&1023)>>0]|0;a[d+1>>0]=a[e+((l-k|0)>>>16&1023)>>0]|0;h=(c[g+12>>2]|0)+h|0;g=(c[j+24>>2]|0)+33587200|0;a[h>>0]=a[e+((g+f|0)>>>16&1023)>>0]|0;a[h+1>>0]=a[e+((g-f|0)>>>16&1023)>>0]|0;yb=i;return}function Ku(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;i=yb;yb=yb+80|0;j=i;m=c[d+336>>2]|0;k=c[e+84>>2]|0;t=B(b[f>>1]<<13,c[k>>2]|0)|0|1024;q=B((b[f+64>>1]|0)*5793|0,c[k+128>>2]|0)|0;r=q+t|0;t=(B(q,-2)|0)+t>>11;q=B((b[f+32>>1]|0)*10033|0,c[k+64>>2]|0)|0;l=q+r|0;q=r-q|0;r=B(c[k+32>>2]|0,b[f+16>>1]|0)|0;s=B(c[k+96>>2]|0,b[f+48>>1]|0)|0;e=B(c[k+160>>2]|0,b[f+80>>1]|0)|0;n=(e+r|0)*2998|0;d=n+(s+r<<13)|0;n=n+(e-s<<13)|0;e=r-s-e<<2;c[j>>2]=d+l>>11;c[j+60>>2]=l-d>>11;d=j+12|0;c[d>>2]=e+t;c[j+48>>2]=t-e;c[j+24>>2]=n+q>>11;c[j+36>>2]=q-n>>11;n=j+4|0;q=B(b[f+2>>1]<<13,c[k+4>>2]|0)|0|1024;e=B((b[f+66>>1]|0)*5793|0,c[k+132>>2]|0)|0;t=e+q|0;q=(B(e,-2)|0)+q>>11;e=B((b[f+34>>1]|0)*10033|0,c[k+68>>2]|0)|0;l=e+t|0;e=t-e|0;t=B(c[k+36>>2]|0,b[f+18>>1]|0)|0;s=B(c[k+100>>2]|0,b[f+50>>1]|0)|0;r=B(c[k+164>>2]|0,b[f+82>>1]|0)|0;o=(r+t|0)*2998|0;p=o+(s+t<<13)|0;o=o+(r-s<<13)|0;r=t-s-r<<2;c[n>>2]=p+l>>11;c[j+64>>2]=l-p>>11;c[j+16>>2]=r+q;c[j+52>>2]=q-r;c[j+28>>2]=o+e>>11;c[j+40>>2]=e-o>>11;o=B(b[f+4>>1]<<13,c[k+8>>2]|0)|0|1024;e=B((b[f+68>>1]|0)*5793|0,c[k+136>>2]|0)|0;r=e+o|0;o=(B(e,-2)|0)+o>>11;e=B((b[f+36>>1]|0)*10033|0,c[k+72>>2]|0)|0;q=e+r|0;e=r-e|0;r=B(c[k+40>>2]|0,b[f+20>>1]|0)|0;p=B(c[k+104>>2]|0,b[f+52>>1]|0)|0;k=B(c[k+168>>2]|0,b[f+84>>1]|0)|0;f=(k+r|0)*2998|0;l=f+(p+r<<13)|0;f=f+(k-p<<13)|0;k=r-p-k<<2;p=l+q>>11;c[j+8>>2]=p;c[j+68>>2]=q-l>>11;l=k+o|0;c[j+20>>2]=l;c[j+56>>2]=o-k;k=f+e>>11;c[j+32>>2]=k;c[j+44>>2]=e-f>>11;f=m+-384|0;e=(c[g>>2]|0)+h|0;m=(c[j>>2]<<13)+134348800|0;o=m+(p*5793|0)|0;m=(B(p,-11586)|0)+m|0;n=(c[n>>2]|0)*10033|0;a[e>>0]=a[f+((o+n|0)>>>18&1023)>>0]|0;a[e+2>>0]=a[f+((o-n|0)>>>18&1023)>>0]|0;a[e+1>>0]=a[f+(m>>>18&1023)>>0]|0;e=(c[g+4>>2]|0)+h|0;d=(c[d>>2]<<13)+134348800|0;m=d+(l*5793|0)|0;d=(B(l,-11586)|0)+d|0;l=(c[j+16>>2]|0)*10033|0;a[e>>0]=a[f+((m+l|0)>>>18&1023)>>0]|0;a[e+2>>0]=a[f+((m-l|0)>>>18&1023)>>0]|0;a[e+1>>0]=a[f+(d>>>18&1023)>>0]|0;e=(c[g+8>>2]|0)+h|0;d=(c[j+24>>2]<<13)+134348800|0;l=d+(k*5793|0)|0;d=(B(k,-11586)|0)+d|0;k=(c[j+28>>2]|0)*10033|0;a[e>>0]=a[f+((l+k|0)>>>18&1023)>>0]|0;a[e+2>>0]=a[f+((l-k|0)>>>18&1023)>>0]|0;a[e+1>>0]=a[f+(d>>>18&1023)>>0]|0;e=(c[g+12>>2]|0)+h|0;d=(c[j+36>>2]<<13)+134348800|0;k=c[j+44>>2]|0;l=d+(k*5793|0)|0;d=(B(k,-11586)|0)+d|0;k=(c[j+40>>2]|0)*10033|0;a[e>>0]=a[f+((l+k|0)>>>18&1023)>>0]|0;a[e+2>>0]=a[f+((l-k|0)>>>18&1023)>>0]|0;a[e+1>>0]=a[f+(d>>>18&1023)>>0]|0;e=(c[g+16>>2]|0)+h|0;d=(c[j+48>>2]<<13)+134348800|0;k=c[j+56>>2]|0;l=d+(k*5793|0)|0;d=(B(k,-11586)|0)+d|0;k=(c[j+52>>2]|0)*10033|0;a[e>>0]=a[f+((l+k|0)>>>18&1023)>>0]|0;a[e+2>>0]=a[f+((l-k|0)>>>18&1023)>>0]|0;a[e+1>>0]=a[f+(d>>>18&1023)>>0]|0;h=(c[g+20>>2]|0)+h|0;g=(c[j+60>>2]<<13)+134348800|0;e=c[j+68>>2]|0;d=g+(e*5793|0)|0;g=(B(e,-11586)|0)+g|0;e=(c[j+64>>2]|0)*10033|0;a[h>>0]=a[f+((d+e|0)>>>18&1023)>>0]|0;a[h+2>>0]=a[f+((d-e|0)>>>18&1023)>>0]|0;a[h+1>>0]=a[f+(g>>>18&1023)>>0]|0;yb=i;return}function Lu(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;o=yb;yb=yb+128|0;m=o;l=c[d+336>>2]|0;k=m;j=c[e+84>>2]|0;i=4;while(1){e=b[f+16>>1]|0;d=b[f+32>>1]|0;if(!((e|d)<<16>>16))if(((((b[f+48>>1]|0)==0?(b[f+64>>1]|0)==0:0)?(b[f+80>>1]|0)==0:0)?(b[f+96>>1]|0)==0:0)?(b[f+112>>1]|0)==0:0){d=B(b[f>>1]<<2,c[j>>2]|0)|0;c[k>>2]=d;c[k+16>>2]=d;c[k+32>>2]=d;c[k+48>>2]=d;c[k+64>>2]=d;c[k+80>>2]=d;c[k+96>>2]=d;e=28}else{d=0;n=9}else n=9;if((n|0)==9){n=0;x=B(b[f+64>>1]<<13,c[j+128>>2]|0)|0;p=B(b[f>>1]<<13,c[j>>2]|0)|0|1024;s=x+p|0;x=p-x|0;p=B(c[j+64>>2]|0,d<<16>>16)|0;q=B(c[j+192>>2]|0,b[f+96>>1]|0)|0;u=(q+p|0)*4433|0;p=u+(p*6270|0)|0;q=u+(B(q,-15137)|0)|0;u=p+s|0;p=s-p|0;s=q+x|0;q=x-q|0;d=B(c[j+224>>2]|0,b[f+112>>1]|0)|0;x=B(c[j+160>>2]|0,b[f+80>>1]|0)|0;v=B(c[j+96>>2]|0,b[f+48>>1]|0)|0;t=B(c[j+32>>2]|0,e<<16>>16)|0;r=v+d|0;e=t+x|0;w=(e+r|0)*9633|0;r=w+(B(r,-16069)|0)|0;e=w+(B(e,-3196)|0)|0;w=B(t+d|0,-7373)|0;d=w+(d*2446|0)+r|0;t=w+(t*12299|0)+e|0;w=B(v+x|0,-20995)|0;e=w+(x*16819|0)+e|0;r=w+(v*25172|0)+r|0;c[k>>2]=t+u>>11;c[k+112>>2]=u-t>>11;c[k+16>>2]=r+s>>11;c[k+96>>2]=s-r>>11;c[k+32>>2]=e+q>>11;c[k+80>>2]=q-e>>11;c[k+48>>2]=d+p>>11;d=p-d>>11;e=16}c[k+(e<<2)>>2]=d;if(i>>>0>1){k=k+4|0;j=j+4|0;f=f+2|0;i=i+-1|0}else break}u=l+-384|0;x=(c[g>>2]|0)+h|0;s=(c[m>>2]|0)+16400|0;v=c[m+8>>2]|0;w=s+v<<13;v=s-v<<13;s=c[m+4>>2]|0;t=c[m+12>>2]|0;r=(t+s|0)*4433|0;s=r+(s*6270|0)|0;t=r+(B(t,-15137)|0)|0;a[x>>0]=a[u+((s+w|0)>>>18&1023)>>0]|0;a[x+3>>0]=a[u+((w-s|0)>>>18&1023)>>0]|0;a[x+1>>0]=a[u+((t+v|0)>>>18&1023)>>0]|0;a[x+2>>0]=a[u+((v-t|0)>>>18&1023)>>0]|0;x=(c[g+4>>2]|0)+h|0;t=(c[m+16>>2]|0)+16400|0;v=c[m+24>>2]|0;s=t+v<<13;v=t-v<<13;t=c[m+20>>2]|0;w=c[m+28>>2]|0;r=(w+t|0)*4433|0;t=r+(t*6270|0)|0;w=r+(B(w,-15137)|0)|0;a[x>>0]=a[u+((t+s|0)>>>18&1023)>>0]|0;a[x+3>>0]=a[u+((s-t|0)>>>18&1023)>>0]|0;a[x+1>>0]=a[u+((w+v|0)>>>18&1023)>>0]|0;a[x+2>>0]=a[u+((v-w|0)>>>18&1023)>>0]|0;x=(c[g+8>>2]|0)+h|0;w=(c[m+32>>2]|0)+16400|0;v=c[m+40>>2]|0;t=w+v<<13;v=w-v<<13;w=c[m+36>>2]|0;s=c[m+44>>2]|0;r=(s+w|0)*4433|0;w=r+(w*6270|0)|0;s=r+(B(s,-15137)|0)|0;a[x>>0]=a[u+((w+t|0)>>>18&1023)>>0]|0;a[x+3>>0]=a[u+((t-w|0)>>>18&1023)>>0]|0;a[x+1>>0]=a[u+((s+v|0)>>>18&1023)>>0]|0;a[x+2>>0]=a[u+((v-s|0)>>>18&1023)>>0]|0;x=(c[g+12>>2]|0)+h|0;s=(c[m+48>>2]|0)+16400|0;v=c[m+56>>2]|0;w=s+v<<13;v=s-v<<13;s=c[m+52>>2]|0;t=c[m+60>>2]|0;r=(t+s|0)*4433|0;s=r+(s*6270|0)|0;t=r+(B(t,-15137)|0)|0;a[x>>0]=a[u+((s+w|0)>>>18&1023)>>0]|0;a[x+3>>0]=a[u+((w-s|0)>>>18&1023)>>0]|0;a[x+1>>0]=a[u+((t+v|0)>>>18&1023)>>0]|0;a[x+2>>0]=a[u+((v-t|0)>>>18&1023)>>0]|0;x=(c[g+16>>2]|0)+h|0;t=(c[m+64>>2]|0)+16400|0;v=c[m+72>>2]|0;s=t+v<<13;v=t-v<<13;t=c[m+68>>2]|0;w=c[m+76>>2]|0;r=(w+t|0)*4433|0;t=r+(t*6270|0)|0;w=r+(B(w,-15137)|0)|0;a[x>>0]=a[u+((t+s|0)>>>18&1023)>>0]|0;a[x+3>>0]=a[u+((s-t|0)>>>18&1023)>>0]|0;a[x+1>>0]=a[u+((w+v|0)>>>18&1023)>>0]|0;a[x+2>>0]=a[u+((v-w|0)>>>18&1023)>>0]|0;x=(c[g+20>>2]|0)+h|0;w=(c[m+80>>2]|0)+16400|0;v=c[m+88>>2]|0;t=w+v<<13;v=w-v<<13;w=c[m+84>>2]|0;s=c[m+92>>2]|0;r=(s+w|0)*4433|0;w=r+(w*6270|0)|0;s=r+(B(s,-15137)|0)|0;a[x>>0]=a[u+((w+t|0)>>>18&1023)>>0]|0;a[x+3>>0]=a[u+((t-w|0)>>>18&1023)>>0]|0;a[x+1>>0]=a[u+((s+v|0)>>>18&1023)>>0]|0;a[x+2>>0]=a[u+((v-s|0)>>>18&1023)>>0]|0;x=(c[g+24>>2]|0)+h|0;s=(c[m+96>>2]|0)+16400|0;v=c[m+104>>2]|0;w=s+v<<13;v=s-v<<13;s=c[m+100>>2]|0;t=c[m+108>>2]|0;r=(t+s|0)*4433|0;s=r+(s*6270|0)|0;t=r+(B(t,-15137)|0)|0;a[x>>0]=a[u+((s+w|0)>>>18&1023)>>0]|0;a[x+3>>0]=a[u+((w-s|0)>>>18&1023)>>0]|0;a[x+1>>0]=a[u+((t+v|0)>>>18&1023)>>0]|0;a[x+2>>0]=a[u+((v-t|0)>>>18&1023)>>0]|0;x=(c[g+28>>2]|0)+h|0;t=(c[m+112>>2]|0)+16400|0;v=c[m+120>>2]|0;s=t+v<<13;v=t-v<<13;t=c[m+116>>2]|0;w=c[m+124>>2]|0;r=(w+t|0)*4433|0;t=r+(t*6270|0)|0;w=r+(B(w,-15137)|0)|0;a[x>>0]=a[u+((t+s|0)>>>18&1023)>>0]|0;a[x+3>>0]=a[u+((s-t|0)>>>18&1023)>>0]|0;a[x+1>>0]=a[u+((w+v|0)>>>18&1023)>>0]|0;a[x+2>>0]=a[u+((v-w|0)>>>18&1023)>>0]|0;yb=o;return}function Mu(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;m=yb;yb=yb+208|0;i=m;l=c[d+336>>2]|0;k=i;j=c[e+84>>2]|0;d=f;e=0;while(1){r=B(b[d>>1]<<13,c[j>>2]|0)|0|1024;n=B(c[j+128>>2]|0,b[d+64>>1]|0)|0;t=(n*9373|0)+r|0;w=(B(n,-3580)|0)+r|0;r=(B(n,-11586)|0)+r>>11;n=B(c[j+64>>2]|0,b[d+32>>1]|0)|0;p=B(c[j+192>>2]|0,b[d+96>>1]|0)|0;v=(p+n|0)*6810|0;n=v+(n*4209|0)|0;p=v+(B(p,-17828)|0)|0;v=n+t|0;n=t-n|0;t=p+w|0;p=w-p|0;w=B(c[j+32>>2]|0,b[d+16>>1]|0)|0;x=B(c[j+96>>2]|0,b[d+48>>1]|0)|0;s=B(c[j+160>>2]|0,b[d+80>>1]|0)|0;q=B(c[j+224>>2]|0,b[d+112>>1]|0)|0;o=q+x|0;q=x-q|0;x=q*2531|0;y=s<<13;z=o*7791|0;f=x+y|0;u=z+(w*11443|0)+f|0;f=(w*1812|0)-z+f|0;o=o*4815|0;x=y-x-(q<<12)|0;q=w-s-q<<2;s=(w*10323|0)-o-x|0;o=x+((w*5260|0)-o)|0;c[k>>2]=u+v>>11;c[k+180>>2]=v-u>>11;c[k+20>>2]=s+t>>11;c[k+160>>2]=t-s>>11;c[k+40>>2]=q+r;c[k+140>>2]=r-q;c[k+60>>2]=o+p>>11;c[k+120>>2]=p-o>>11;c[k+80>>2]=f+n>>11;c[k+100>>2]=n-f>>11;e=e+1|0;if((e|0)==5)break;else{k=k+4|0;j=j+4|0;d=d+2|0}}e=l+-384|0;d=0;while(1){z=(c[g+(d<<2)>>2]|0)+h|0;y=(c[i>>2]<<13)+134348800|0;x=c[i+8>>2]|0;v=c[i+16>>2]|0;w=(v+x|0)*6476|0;v=x-v|0;x=(v*2896|0)+y|0;u=x+w|0;w=x-w|0;y=(B(v,-11584)|0)+y|0;v=c[i+4>>2]|0;x=c[i+12>>2]|0;t=(x+v|0)*6810|0;v=t+(v*4209|0)|0;x=t+(B(x,-17828)|0)|0;a[z>>0]=a[e+((v+u|0)>>>18&1023)>>0]|0;a[z+4>>0]=a[e+((u-v|0)>>>18&1023)>>0]|0;a[z+1>>0]=a[e+((x+w|0)>>>18&1023)>>0]|0;a[z+3>>0]=a[e+((w-x|0)>>>18&1023)>>0]|0;a[z+2>>0]=a[e+(y>>>18&1023)>>0]|0;d=d+1|0;if((d|0)==10)break;else i=i+20|0}yb=m;return}function Nu(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,C=0;m=yb;yb=yb+288|0;i=m;l=c[d+336>>2]|0;k=i;j=c[e+84>>2]|0;d=f;e=0;while(1){n=B(b[d>>1]<<13,c[j>>2]|0)|0|1024;z=B((b[d+64>>1]|0)*10033|0,c[j+128>>2]|0)|0;y=z+n|0;z=n-z|0;t=B(c[j+64>>2]|0,b[d+32>>1]|0)|0;r=B(b[d+96>>1]<<13,c[j+192>>2]|0)|0;p=(t<<13)-r|0;v=p+n|0;p=n-p|0;n=r+(t*11190|0)|0;x=n+y|0;n=y-n|0;r=(t*2998|0)-r|0;t=r+z|0;r=z-r|0;z=B(c[j+32>>2]|0,b[d+16>>1]|0)|0;y=B(c[j+96>>2]|0,b[d+48>>1]|0)|0;o=B(c[j+160>>2]|0,b[d+80>>1]|0)|0;u=B(c[j+224>>2]|0,b[d+112>>1]|0)|0;C=y*10703|0;A=B(y,-4433)|0;s=o+z|0;f=(u+s|0)*7053|0;s=f+(s*2139|0)|0;w=C+(z*2295|0)+s|0;q=B(u+o|0,-8565)|0;s=(B(o,-12112)|0)+A+q+s|0;q=(u*12998|0)-C+f+q|0;f=A+(B(z,-5540)|0)+(B(u,-16244)|0)+f|0;u=z-u|0;o=y-o|0;y=(u+o|0)*4433|0;u=y+(u*6270|0)|0;o=y+(B(o,-15137)|0)|0;c[k>>2]=w+x>>11;c[k+264>>2]=x-w>>11;c[k+24>>2]=u+v>>11;c[k+240>>2]=v-u>>11;c[k+48>>2]=s+t>>11;c[k+216>>2]=t-s>>11;c[k+72>>2]=q+r>>11;c[k+192>>2]=r-q>>11;c[k+96>>2]=o+p>>11;c[k+168>>2]=p-o>>11;c[k+120>>2]=f+n>>11;c[k+144>>2]=n-f>>11;e=e+1|0;if((e|0)==6)break;else{k=k+4|0;j=j+4|0;d=d+2|0}}e=l+-384|0;d=0;while(1){C=(c[g+(d<<2)>>2]|0)+h|0;z=(c[i>>2]<<13)+134348800|0;x=(c[i+16>>2]|0)*5793|0;t=z+x|0;x=z-x-x|0;z=(c[i+8>>2]|0)*10033|0;v=t+z|0;z=t-z|0;t=c[i+4>>2]|0;u=c[i+12>>2]|0;y=c[i+20>>2]|0;A=(y+t|0)*2998|0;w=A+(u+t<<13)|0;A=A+(y-u<<13)|0;y=t-u-y<<13;a[C>>0]=a[e+((w+v|0)>>>18&1023)>>0]|0;a[C+5>>0]=a[e+((v-w|0)>>>18&1023)>>0]|0;a[C+1>>0]=a[e+((y+x|0)>>>18&1023)>>0]|0;a[C+4>>0]=a[e+((x-y|0)>>>18&1023)>>0]|0;a[C+2>>0]=a[e+((A+z|0)>>>18&1023)>>0]|0;a[C+3>>0]=a[e+((z-A|0)>>>18&1023)>>0]|0;d=d+1|0;if((d|0)==12)break;else i=i+24|0}yb=m;return}function Ou(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,C=0,D=0,E=0,F=0;m=yb;yb=yb+400|0;i=m;l=c[d+336>>2]|0;k=i;j=c[e+84>>2]|0;d=f;e=0;while(1){t=B(b[d>>1]<<13,c[j>>2]|0)|0|1024;r=B(c[j+128>>2]|0,b[d+64>>1]|0)|0;x=(r*10438|0)+t|0;v=(r*2578|0)+t|0;f=(B(r,-7223)|0)+t|0;t=(B(r,-11586)|0)+t>>11;r=B(c[j+64>>2]|0,b[d+32>>1]|0)|0;z=B(c[j+192>>2]|0,b[d+96>>1]|0)|0;p=(z+r|0)*9058|0;n=p+(r*2237|0)|0;p=p+(B(z,-14084)|0)|0;r=(B(z,-11295)|0)+(r*5027|0)|0;z=n+x|0;n=x-n|0;x=p+v|0;p=v-p|0;v=r+f|0;r=f-r|0;f=B(c[j+32>>2]|0,b[d+16>>1]|0)|0;D=B(c[j+96>>2]|0,b[d+48>>1]|0)|0;A=B(c[j+160>>2]|0,b[d+80>>1]|0)|0;s=B(c[j+224>>2]|0,b[d+112>>1]|0)|0;q=s<<13;F=A+f|0;w=(D+f|0)*10935|0;E=F*9810|0;y=w+(B(f,-9232)|0)+E+q|0;F=F*6164|0;C=f-D|0;o=(C*3826|0)-q|0;f=F+(B(f,-8693)|0)+o|0;u=(B(A+D|0,-1297)|0)-q|0;w=w+(B(D,-3474)|0)+u|0;u=E+(B(A,-19447)|0)+u|0;E=(A-D|0)*11512|0;q=E+(B(A,-13850)|0)+F+q|0;o=E+(D*5529|0)+o|0;s=C-A+s<<2;c[k>>2]=y+z>>11;c[k+364>>2]=z-y>>11;c[k+28>>2]=w+x>>11;c[k+336>>2]=x-w>>11;c[k+56>>2]=u+v>>11;c[k+308>>2]=v-u>>11;c[k+84>>2]=s+t;c[k+280>>2]=t-s;c[k+112>>2]=q+r>>11;c[k+252>>2]=r-q>>11;c[k+140>>2]=o+p>>11;c[k+224>>2]=p-o>>11;c[k+168>>2]=f+n>>11;c[k+196>>2]=n-f>>11;e=e+1|0;if((e|0)==7)break;else{k=k+4|0;j=j+4|0;d=d+2|0}}e=l+-384|0;d=0;while(1){F=(c[g+(d<<2)>>2]|0)+h|0;E=(c[i>>2]<<13)+134348800|0;t=c[i+8>>2]|0;C=c[i+16>>2]|0;v=c[i+24>>2]|0;u=(C-v|0)*7223|0;A=(t-C|0)*2578|0;x=(B(C,-15083)|0)+E+A+u|0;D=v+t|0;z=(D*10438|0)+E|0;v=u+(B(v,-637)|0)+z|0;z=A+(B(t,-20239)|0)+z|0;t=c[i+4>>2]|0;A=c[i+12>>2]|0;u=c[i+20>>2]|0;s=(A+t|0)*7663|0;w=(t-A|0)*1395|0;A=B(u+A|0,-11295)|0;y=s+w+A|0;t=(u+t|0)*5027|0;w=s-w+t|0;A=t+(u*15326|0)+A|0;a[F>>0]=a[e+((w+v|0)>>>18&1023)>>0]|0;a[F+6>>0]=a[e+((v-w|0)>>>18&1023)>>0]|0;a[F+1>>0]=a[e+((y+x|0)>>>18&1023)>>0]|0;a[F+5>>0]=a[e+((x-y|0)>>>18&1023)>>0]|0;a[F+2>>0]=a[e+((A+z|0)>>>18&1023)>>0]|0;a[F+4>>0]=a[e+((z-A|0)>>>18&1023)>>0]|0;a[F+3>>0]=a[e+((((C-D|0)*11585|0)+E|0)>>>18&1023)>>0]|0;d=d+1|0;if((d|0)==14)break;else i=i+28|0}yb=m;return}function Pu(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,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0;m=yb;yb=yb+512|0;i=m;l=c[d+336>>2]|0;k=i;j=c[e+84>>2]|0;d=f;e=0;while(1){r=B(b[d>>1]<<13,c[j>>2]|0)|0|1024;v=B(c[j+128>>2]|0,b[d+64>>1]|0)|0;f=v*10703|0;v=v*4433|0;z=f+r|0;f=r-f|0;x=v+r|0;v=r-v|0;r=B(c[j+64>>2]|0,b[d+32>>1]|0)|0;t=B(c[j+192>>2]|0,b[d+96>>1]|0)|0;o=r-t|0;C=o*2260|0;o=o*11363|0;n=o+(t*20995|0)|0;p=C+(r*7373|0)|0;r=o+(B(r,-4926)|0)|0;t=C+(B(t,-4176)|0)|0;C=n+z|0;n=z-n|0;z=p+x|0;p=x-p|0;x=r+v|0;r=v-r|0;v=t+f|0;t=f-t|0;f=B(c[j+32>>2]|0,b[d+16>>1]|0)|0;o=B(c[j+96>>2]|0,b[d+48>>1]|0)|0;E=B(c[j+160>>2]|0,b[d+80>>1]|0)|0;G=B(c[j+224>>2]|0,b[d+112>>1]|0)|0;D=E+f|0;y=(o+f|0)*11086|0;w=D*10217|0;q=(G+f|0)*8956|0;s=(f-G|0)*7350|0;D=D*5461|0;u=(f-o|0)*3363|0;A=y+(B(f,-18730)|0)+w+q|0;f=u+(B(f,-15038)|0)+D+s|0;J=(E+o|0)*1136|0;F=(E-o|0)*11529|0;H=G+o|0;I=B(H,-5461)|0;y=y+(o*589|0)+J+I|0;H=B(H,-10217)|0;o=u+(o*16154|0)+F+H|0;u=B(G+E|0,-11086)|0;w=J+(B(E,-9222)|0)+w+u|0;u=I+(G*8728|0)+q+u|0;q=(G-E|0)*3363|0;s=H+(G*25733|0)+s+q|0;q=F+(B(E,-6278)|0)+D+q|0;c[k>>2]=A+C>>11;c[k+480>>2]=C-A>>11;c[k+32>>2]=y+z>>11;c[k+448>>2]=z-y>>11;c[k+64>>2]=w+x>>11;c[k+416>>2]=x-w>>11;c[k+96>>2]=u+v>>11;c[k+384>>2]=v-u>>11;c[k+128>>2]=s+t>>11;c[k+352>>2]=t-s>>11;c[k+160>>2]=q+r>>11;c[k+320>>2]=r-q>>11;c[k+192>>2]=o+p>>11;c[k+288>>2]=p-o>>11;c[k+224>>2]=f+n>>11;c[k+256>>2]=n-f>>11;e=e+1|0;if((e|0)==8)break;else{k=k+4|0;j=j+4|0;d=d+2|0}}e=l+-384|0;d=0;while(1){J=(c[g+(d<<2)>>2]|0)+h|0;H=(c[i>>2]|0)+16400|0;I=c[i+16>>2]|0;D=H+I<<13;I=H-I<<13;H=c[i+8>>2]|0;F=c[i+24>>2]|0;A=(F+H|0)*4433|0;H=A+(H*6270|0)|0;F=A+(B(F,-15137)|0)|0;A=H+D|0;H=D-H|0;D=F+I|0;F=I-F|0;I=c[i+28>>2]|0;x=c[i+20>>2]|0;z=c[i+12>>2]|0;C=c[i+4>>2]|0;E=z+I|0;G=C+x|0;y=(G+E|0)*9633|0;E=y+(B(E,-16069)|0)|0;G=y+(B(G,-3196)|0)|0;y=B(C+I|0,-7373)|0;I=y+(I*2446|0)+E|0;C=y+(C*12299|0)+G|0;y=B(z+x|0,-20995)|0;G=y+(x*16819|0)+G|0;E=y+(z*25172|0)+E|0;a[J>>0]=a[e+((C+A|0)>>>18&1023)>>0]|0;a[J+7>>0]=a[e+((A-C|0)>>>18&1023)>>0]|0;a[J+1>>0]=a[e+((E+D|0)>>>18&1023)>>0]|0;a[J+6>>0]=a[e+((D-E|0)>>>18&1023)>>0]|0;a[J+2>>0]=a[e+((G+F|0)>>>18&1023)>>0]|0;a[J+5>>0]=a[e+((F-G|0)>>>18&1023)>>0]|0;a[J+3>>0]=a[e+((I+H|0)>>>18&1023)>>0]|0;a[J+4>>0]=a[e+((H-I|0)>>>18&1023)>>0]|0;d=d+1|0;if((d|0)==16)break;else i=i+32|0}yb=m;return}function Qu(d,e,f,g,h){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0;d=(c[d+336>>2]|0)+-384|0;i=c[e+84>>2]|0;h=(c[g>>2]|0)+h|0;e=(B(c[i>>2]|0,b[f>>1]|0)|0)+4100|0;g=B(c[i+4>>2]|0,b[f+2>>1]|0)|0;a[h>>0]=a[d+((g+e|0)>>>3&1023)>>0]|0;a[h+1>>0]=a[d+((e-g|0)>>>3&1023)>>0]|0;return}function Ru(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;i=yb;yb=yb+32|0;r=i;p=c[d+336>>2]|0;k=c[e+84>>2]|0;d=B(c[k>>2]|0,b[f>>1]|0)|0;e=B(c[k+32>>2]|0,b[f+16>>1]|0)|0;q=e+d|0;c[r>>2]=q;j=r+16|0;c[j>>2]=d-e;e=B(c[k+4>>2]|0,b[f+2>>1]|0)|0;d=B(c[k+36>>2]|0,b[f+18>>1]|0)|0;o=d+e|0;c[r+4>>2]=o;d=e-d|0;c[r+20>>2]=d;e=B(c[k+8>>2]|0,b[f+4>>1]|0)|0;l=B(c[k+40>>2]|0,b[f+20>>1]|0)|0;n=l+e|0;c[r+8>>2]=n;l=e-l|0;c[r+24>>2]=l;e=B(c[k+12>>2]|0,b[f+6>>1]|0)|0;k=B(c[k+44>>2]|0,b[f+22>>1]|0)|0;m=k+e|0;c[r+12>>2]=m;k=e-k|0;c[r+28>>2]=k;e=p+-384|0;f=(c[g>>2]|0)+h|0;q=q+4100|0;p=q+n<<13;n=q-n<<13;q=(m+o|0)*4433|0;o=q+(o*6270|0)|0;m=q+(B(m,-15137)|0)|0;a[f>>0]=a[e+((o+p|0)>>>16&1023)>>0]|0;a[f+3>>0]=a[e+((p-o|0)>>>16&1023)>>0]|0;a[f+1>>0]=a[e+((m+n|0)>>>16&1023)>>0]|0;a[f+2>>0]=a[e+((n-m|0)>>>16&1023)>>0]|0;h=(c[g+4>>2]|0)+h|0;f=(c[j>>2]|0)+4100|0;j=f+l<<13;f=f-l<<13;g=(k+d|0)*4433|0;d=g+(d*6270|0)|0;g=g+(B(k,-15137)|0)|0;a[h>>0]=a[e+((d+j|0)>>>16&1023)>>0]|0;a[h+3>>0]=a[e+((j-d|0)>>>16&1023)>>0]|0;a[h+1>>0]=a[e+((g+f|0)>>>16&1023)>>0]|0;a[h+2>>0]=a[e+((f-g|0)>>>16&1023)>>0]|0;yb=i;return}function Su(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;i=yb;yb=yb+80|0;k=i;q=c[d+336>>2]|0;e=c[e+84>>2]|0;s=B(b[f>>1]<<13,c[e>>2]|0)|0|1024;n=B((b[f+32>>1]|0)*5793|0,c[e+64>>2]|0)|0;l=n+s|0;s=(B(n,-2)|0)+s|0;n=B((b[f+16>>1]|0)*10033|0,c[e+32>>2]|0)|0;c[k>>2]=n+l>>11;c[k+48>>2]=l-n>>11;n=k+24|0;c[n>>2]=s>>11;s=k+4|0;l=B(b[f+2>>1]<<13,c[e+4>>2]|0)|0|1024;r=B((b[f+34>>1]|0)*5793|0,c[e+68>>2]|0)|0;p=r+l|0;l=(B(r,-2)|0)+l|0;r=B((b[f+18>>1]|0)*10033|0,c[e+36>>2]|0)|0;c[s>>2]=r+p>>11;c[k+52>>2]=p-r>>11;c[k+28>>2]=l>>11;l=B(b[f+4>>1]<<13,c[e+8>>2]|0)|0|1024;r=B((b[f+36>>1]|0)*5793|0,c[e+72>>2]|0)|0;p=r+l|0;l=(B(r,-2)|0)+l|0;r=B((b[f+20>>1]|0)*10033|0,c[e+40>>2]|0)|0;c[k+8>>2]=r+p>>11;c[k+56>>2]=p-r>>11;c[k+32>>2]=l>>11;l=B(b[f+6>>1]<<13,c[e+12>>2]|0)|0|1024;r=B((b[f+38>>1]|0)*5793|0,c[e+76>>2]|0)|0;p=r+l|0;l=(B(r,-2)|0)+l|0;r=B((b[f+22>>1]|0)*10033|0,c[e+44>>2]|0)|0;c[k+12>>2]=r+p>>11;c[k+60>>2]=p-r>>11;c[k+36>>2]=l>>11;l=B(b[f+8>>1]<<13,c[e+16>>2]|0)|0|1024;r=B((b[f+40>>1]|0)*5793|0,c[e+80>>2]|0)|0;p=r+l|0;l=(B(r,-2)|0)+l|0;r=B((b[f+24>>1]|0)*10033|0,c[e+48>>2]|0)|0;c[k+16>>2]=r+p>>11;c[k+64>>2]=p-r>>11;c[k+40>>2]=l>>11;l=B(b[f+10>>1]<<13,c[e+20>>2]|0)|0|1024;r=B((b[f+42>>1]|0)*5793|0,c[e+84>>2]|0)|0;p=r+l|0;l=(B(r,-2)|0)+l|0;e=B((b[f+26>>1]|0)*10033|0,c[e+52>>2]|0)|0;c[k+20>>2]=e+p>>11;c[k+68>>2]=p-e>>11;l=l>>11;c[k+44>>2]=l;e=q+-384|0;f=(c[g>>2]|0)+h|0;q=(c[k>>2]<<13)+134348800|0;p=(c[k+16>>2]|0)*5793|0;r=q+p|0;p=q-p-p|0;q=(c[k+8>>2]|0)*10033|0;d=r+q|0;q=r-q|0;s=c[s>>2]|0;r=c[k+12>>2]|0;o=c[k+20>>2]|0;m=(o+s|0)*2998|0;j=m+(r+s<<13)|0;m=m+(o-r<<13)|0;o=s-r-o<<13;a[f>>0]=a[e+((j+d|0)>>>18&1023)>>0]|0;a[f+5>>0]=a[e+((d-j|0)>>>18&1023)>>0]|0;a[f+1>>0]=a[e+((o+p|0)>>>18&1023)>>0]|0;a[f+4>>0]=a[e+((p-o|0)>>>18&1023)>>0]|0;a[f+2>>0]=a[e+((m+q|0)>>>18&1023)>>0]|0;a[f+3>>0]=a[e+((q-m|0)>>>18&1023)>>0]|0;f=(c[g+4>>2]|0)+h|0;n=(c[n>>2]<<13)+134348800|0;m=(c[k+40>>2]|0)*5793|0;q=n+m|0;m=n-m-m|0;n=(c[k+32>>2]|0)*10033|0;o=q+n|0;n=q-n|0;q=c[k+28>>2]|0;p=c[k+36>>2]|0;j=(l+q|0)*2998|0;d=j+(p+q<<13)|0;j=j+(l-p<<13)|0;l=q-p-l<<13;a[f>>0]=a[e+((d+o|0)>>>18&1023)>>0]|0;a[f+5>>0]=a[e+((o-d|0)>>>18&1023)>>0]|0;a[f+1>>0]=a[e+((l+m|0)>>>18&1023)>>0]|0;a[f+4>>0]=a[e+((m-l|0)>>>18&1023)>>0]|0;a[f+2>>0]=a[e+((j+n|0)>>>18&1023)>>0]|0;a[f+3>>0]=a[e+((n-j|0)>>>18&1023)>>0]|0;h=(c[g+8>>2]|0)+h|0;f=(c[k+48>>2]<<13)+134348800|0;j=(c[k+64>>2]|0)*5793|0;n=f+j|0;j=f-j-j|0;f=(c[k+56>>2]|0)*10033|0;l=n+f|0;f=n-f|0;n=c[k+52>>2]|0;m=c[k+60>>2]|0;d=c[k+68>>2]|0;g=(d+n|0)*2998|0;k=g+(m+n<<13)|0;g=g+(d-m<<13)|0;d=n-m-d<<13;a[h>>0]=a[e+((k+l|0)>>>18&1023)>>0]|0;a[h+5>>0]=a[e+((l-k|0)>>>18&1023)>>0]|0;a[h+1>>0]=a[e+((d+j|0)>>>18&1023)>>0]|0;a[h+4>>0]=a[e+((j-d|0)>>>18&1023)>>0]|0;a[h+2>>0]=a[e+((g+f|0)>>>18&1023)>>0]|0;a[h+3>>0]=a[e+((f-g|0)>>>18&1023)>>0]|0;yb=i;return} -function Jm(b,d,e,g){b=b|0;d=d|0;e=e|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;y=yb;yb=yb+16|0;v=y;w=b+4|0;c[w>>2]=c[b>>2];do if((yk(d)|0)!=0?(yk(e)|0)!=0:0){Wm(b,yk(d)|0);t=b+8|0;u=b+12|0;s=0;a:while(1){if(s>>>0>=(yk(d)|0)>>>0)break;n=Xm(d,s)|0;wo(g,n)|0;q=Ym(d,s)|0;o=xo(g)|0;p=o+4|0;q=q+16|0;l=0;m=-1;j=-1;i=2147483647;while(1){h=c[o>>2]|0;if(l>>>0>=(c[p>>2]|0)-h>>2>>>0)break;k=a[q>>0]|0;do if(k<<24>>24==(a[(Ym(e,c[h+(l<<2)>>2]|0)|0)+16>>0]|0)){h=wl(n,Xm(e,c[(c[o>>2]|0)+(l<<2)>>2]|0)|0)|0;if(h>>>0>>0){k=h;h=m;i=c[(c[o>>2]|0)+(l<<2)>>2]|0;break}else{k=m;h=h>>>0>>0?h:j;break}}else{k=m;h=j}while(0);l=l+1|0;m=k;j=h}do if((m|0)!=-1){if((i|0)==-1){x=15;break a}if((j|0)==-1){_m(v,s,i);h=c[w>>2]|0;if(h>>>0<(c[t>>2]|0)>>>0){o=v;p=c[o+4>>2]|0;q=h;c[q>>2]=c[o>>2];c[q+4>>2]=p;c[w>>2]=(c[w>>2]|0)+8}else $m(b,v);break}if(+(m>>>0)/+(j>>>0)<+f[u>>2]){_m(v,s,i);h=c[w>>2]|0;if(h>>>0<(c[t>>2]|0)>>>0){o=v;p=c[o+4>>2]|0;q=h;c[q>>2]=c[o>>2];c[q+4>>2]=p;c[w>>2]=(c[w>>2]|0)+8}else $m(b,v)}}while(0);s=s+1|0}if((x|0)==15){x=Vf(Vf(NE(Vf(Vf(Vf(56032,31276)|0,31157)|0,35e3)|0,160)|0,35007)|0,31348)|0;GE(v,x+(c[(c[x>>2]|0)+-12>>2]|0)|0);g=VF(v,56736)|0;g=Gb[c[(c[g>>2]|0)+28>>2]&63](g,10)|0;WF(v);OE(x,g)|0;KE(x)|0;ua()}x=(c[w>>2]|0)-(c[b>>2]|0)>>3;if(x>>>0>(yk(d)|0)>>>0){x=Vf(Vf(NE(Vf(Vf(Vf(56032,31366)|0,31157)|0,35e3)|0,175)|0,35007)|0,31426)|0;GE(v,x+(c[(c[x>>2]|0)+-12>>2]|0)|0);w=VF(v,56736)|0;w=Gb[c[(c[w>>2]|0)+28>>2]&63](w,10)|0;WF(v);OE(x,w)|0;KE(x)|0;ua()}else{r=(c[w>>2]|0)-(c[b>>2]|0)>>3;break}}else r=0;while(0);yb=y;return r|0}function Km(b,d,e){b=b|0;d=d|0;e=e|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;t=yb;yb=yb+16|0;r=t;s=b+4|0;c[s>>2]=c[b>>2];do if((yk(d)|0)!=0?(yk(e)|0)!=0:0){Wm(b,yk(d)|0);p=b+8|0;q=b+12|0;o=0;while(1){if(o>>>0>=(yk(d)|0)>>>0)break;l=Xm(d,o)|0;m=(Ym(d,o)|0)+16|0;i=0;j=-1;g=2147483647;h=-1;while(1){if(i>>>0>=(yk(e)|0)>>>0)break;k=a[m>>0]|0;if(k<<24>>24==(a[(Ym(e,i)|0)+16>>0]|0)){u=wl(l,Xm(e,i)|0)|0;v=u>>>0>>0;k=v?u:j;g=v?i:g;h=v?j:u>>>0>>0?u:h}else k=j;i=i+1|0;j=k}do if((j|0)!=-1){if((h|0)==-1){_m(r,o,g);g=c[s>>2]|0;if(g>>>0<(c[p>>2]|0)>>>0){m=r;u=c[m+4>>2]|0;v=g;c[v>>2]=c[m>>2];c[v+4>>2]=u;c[s>>2]=(c[s>>2]|0)+8}else $m(b,r);break}if(+(j>>>0)/+(h>>>0)<+f[q>>2]){_m(r,o,g);g=c[s>>2]|0;if(g>>>0<(c[p>>2]|0)>>>0){m=r;u=c[m+4>>2]|0;v=g;c[v>>2]=c[m>>2];c[v+4>>2]=u;c[s>>2]=(c[s>>2]|0)+8}else $m(b,r)}}while(0);o=o+1|0}v=(c[s>>2]|0)-(c[b>>2]|0)>>3;if(v>>>0>(yk(d)|0)>>>0){v=Vf(Vf(NE(Vf(Vf(Vf(56032,31366)|0,31157)|0,35e3)|0,112)|0,35007)|0,31426)|0;GE(r,v+(c[(c[v>>2]|0)+-12>>2]|0)|0);u=VF(r,56736)|0;u=Gb[c[(c[u>>2]|0)+28>>2]&63](u,10)|0;WF(r);OE(v,u)|0;KE(v)|0;ua()}else{n=(c[s>>2]|0)-(c[b>>2]|0)>>3;break}}else n=0;while(0);yb=t;return n|0}function Lm(a){a=a|0;return a|0}function Mm(a){a=a|0;return c[a>>2]|0}function Nm(a){a=a|0;return c[a+4>>2]|0}function Om(a,b,d,e,g,h,i,j){a=a|0;b=b|0;d=d|0;e=e|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0.0,A=0.0;u=yb;yb=yb+32|0;s=u+20|0;t=u+8|0;o=u+4|0;p=u;q=e+4|0;so(s,(c[q>>2]|0)-(c[e>>2]|0)>>1);so(t,(c[q>>2]|0)-(c[e>>2]|0)>>1);n=c[e>>2]|0;r=(c[q>>2]|0)-n>>3;m=c[b>>2]|0;d=c[d>>2]|0;k=c[s>>2]|0;l=c[t>>2]|0;b=0;while(1){if((b|0)==(r|0))break;y=c[n+(b<<3)>>2]|0;w=c[n+(b<<3)+4>>2]|0;v=b<<2;x=k+(v<<2)|0;c[x>>2]=c[m+(y*20|0)>>2];c[x+4>>2]=c[m+(y*20|0)+4>>2];c[x+8>>2]=c[m+(y*20|0)+8>>2];c[x+12>>2]=c[m+(y*20|0)+12>>2];v=l+(v<<2)|0;c[v>>2]=c[d+(w*20|0)>>2];c[v+4>>2]=c[d+(w*20|0)+4>>2];c[v+8>>2]=c[d+(w*20|0)+8>>2];c[v+12>>2]=c[d+(w*20|0)+12>>2];b=b+1|0}A=+(g|0);A=A*.20000000298023224+A;z=+(h|0);z=z*.20000000298023224+z;mp(a,-A,A,-z,z,0,0,12,10);to(a,+(i>>1|0),+(j>>1|0));uo(a,i,j);op(a,c[s>>2]|0,c[t>>2]|0,(c[q>>2]|0)-(c[e>>2]|0)>>3);Dp(a,o,p);y=+f[o>>2]<3.0?-1:c[p>>2]|0;eh(t);eh(s);yb=u;return y|0}function Pm(a,b,d,e,g){a=a|0;b=b|0;d=d|0;e=e|0;g=+g;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;v=yb;yb=yb+48|0;h=v+32|0;r=v+28|0;s=v+24|0;t=v+20|0;u=v+16|0;n=v+12|0;o=v+8|0;p=v+4|0;q=v;oo(b,n,o,p,q,e);l=a+4|0;c[l>>2]=c[a>>2];m=po(b)|0;m=(c[m+4>>2]|0)-(c[m>>2]|0)>>2;e=qo(b)|0;if(m>>>0>(c[d+4>>2]|0)-(c[d>>2]|0)>>3>>>0){k=Vf(Vf(NE(Vf(Vf(Vf(56032,31870)|0,30067)|0,35e3)|0,342)|0,35007)|0,31916)|0;GE(h,k+(c[(c[k>>2]|0)+-12>>2]|0)|0);j=VF(h,56736)|0;j=Gb[c[(c[j>>2]|0)+28>>2]&63](j,10)|0;WF(h);OE(k,j)|0;KE(k)|0;ua()}k=a+8|0;e=c[e>>2]|0;h=0;while(1){if((h|0)>=(m|0))break;ro(b,r,s,t,u,+f[e>>2],+f[e+4>>2],+f[e+8>>2],+f[e+12>>2],+(c[n>>2]|0)+.5,+(c[o>>2]|0)+.5,+(c[p>>2]|0)+.5,+(c[q>>2]|0)+.5);do if((+f[r>>2]>2]>2]>2]>2]|0)+(h<<2)>>2]|0;i=(c[d>>2]|0)+(i<<3)|0;j=c[l>>2]|0;if((j|0)==(c[k>>2]|0)){fn(a,i);break}else{w=i;i=c[w+4>>2]|0;c[j>>2]=c[w>>2];c[j+4>>2]=i;c[l>>2]=(c[l>>2]|0)+8;break}}while(0);e=e+16|0;h=h+1|0}yb=v;return}function Qm(a,b,d,e,g,h,i){a=a|0;b=b|0;d=d|0;e=e|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0.0;q=yb;yb=yb+64|0;o=q+44|0;p=q+32|0;n=q;m=e+4|0;gn(o,(c[m>>2]|0)-(c[e>>2]|0)>>3);gn(p,(c[m>>2]|0)-(c[e>>2]|0)>>3);l=c[e>>2]|0;m=(c[m>>2]|0)-l>>3;j=c[b>>2]|0;k=c[p>>2]|0;b=c[d>>2]|0;d=c[o>>2]|0;e=0;while(1){if((e|0)==(m|0))break;r=c[l+(e<<3)>>2]|0;c[k+(e<<3)>>2]=c[j+(r*20|0)>>2];c[k+(e<<3)+4>>2]=c[j+(r*20|0)+4>>2];r=c[l+(e<<3)+4>>2]|0;c[d+(e<<3)>>2]=c[b+(r*20|0)>>2];c[d+(e<<3)+4>>2]=c[b+(r*20|0)+4>>2];e=e+1|0}f[n>>2]=0.0;f[n+4>>2]=0.0;s=+(h|0);f[n+8>>2]=s;f[n+12>>2]=0.0;f[n+16>>2]=s;s=+(i|0);f[n+20>>2]=s;f[n+24>>2]=0.0;f[n+28>>2]=s;if(hn(g,a,d,k,m,n,4)|0)e=kn(a,h,i)|0;else e=0;jn(p);jn(o);yb=q;return e|0}function Rm(a,b,d,e,g,h){a=a|0;b=b|0;d=d|0;e=e|0;g=g|0;h=+h;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0.0,s=0;q=yb;yb=yb+16|0;p=q;h=+hi(h);o=g+4|0;Wm(a,(c[o>>2]|0)-(c[g>>2]|0)>>3);l=p+4|0;m=a+4|0;n=a+8|0;k=0;while(1){i=c[g>>2]|0;if(k>>>0>=(c[o>>2]|0)-i>>3>>>0)break;j=c[i+(k<<3)+4>>2]|0;i=c[e>>2]|0;Zm(p,l,b,+f[i+(j*20|0)>>2],+f[i+(j*20|0)+4>>2]);r=+hi(+f[p>>2]-+f[(c[d>>2]|0)+((c[(c[g>>2]|0)+(k<<3)>>2]|0)*20|0)>>2]);do if(r+ +hi(+f[l>>2]-+f[(c[d>>2]|0)+((c[(c[g>>2]|0)+(k<<3)>>2]|0)*20|0)+4>>2])<=h){i=(c[g>>2]|0)+(k<<3)|0;j=c[m>>2]|0;if((j|0)==(c[n>>2]|0)){fn(a,i);break}else{s=i;i=c[s+4>>2]|0;c[j>>2]=c[s>>2];c[j+4>>2]=i;c[m>>2]=(c[m>>2]|0)+8;break}}while(0);k=k+1|0}yb=q;return}function Sm(b,d,e,g,h){b=b|0;d=d|0;e=e|0;g=g|0;h=+h;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0.0,B=0;z=yb;yb=yb+64|0;u=z+40|0;v=z;w=z+52|0;x=z+48|0;t=b+4|0;c[t>>2]=c[b>>2];do if((yk(d)|0)!=0?(yk(e)|0)!=0:0){h=+hi(h);if(!(Vm(v,g,0.0)|0)){r=Vf(Vf(NE(Vf(Vf(Vf(56032,31132)|0,31157)|0,35e3)|0,196)|0,35007)|0,31243)|0;GE(u,r+(c[(c[r>>2]|0)+-12>>2]|0)|0);q=VF(u,56736)|0;q=Gb[c[(c[q>>2]|0)+28>>2]&63](q,10)|0;WF(u);OE(r,q)|0;KE(r)|0;ua()}Wm(b,yk(d)|0);q=b+8|0;r=b+12|0;p=0;a:while(1){if(p>>>0>=(yk(d)|0)>>>0)break;n=Xm(d,p)|0;o=Ym(d,p)|0;Zm(w,x,v,+f[o>>2],+f[o+4>>2]);o=o+16|0;l=0;m=-1;j=-1;i=2147483647;while(1){if(l>>>0>=(yk(e)|0)>>>0)break;g=Ym(e,l)|0;if((a[o>>0]|0)==(a[g+16>>0]|0)?(A=+hi(+f[w>>2]-+f[g>>2]),!(A+ +hi(+f[x>>2]-+f[g+4>>2])>h)):0){g=xl(n,Xm(e,l)|0)|0;B=g>>>0>>0;k=B?g:m;g=B?m:g>>>0>>0?g:j;i=B?l:i}else{k=m;g=j}l=l+1|0;m=k;j=g}do if((m|0)!=-1){if((i|0)==-1){y=16;break a}if((j|0)==-1){_m(u,p,i);g=c[t>>2]|0;if(g>>>0<(c[q>>2]|0)>>>0){n=u;o=c[n+4>>2]|0;B=g;c[B>>2]=c[n>>2];c[B+4>>2]=o;c[t>>2]=(c[t>>2]|0)+8}else $m(b,u);break}if(+(m>>>0)/+(j>>>0)<+f[r>>2]){_m(u,p,i);g=c[t>>2]|0;if(g>>>0<(c[q>>2]|0)>>>0){n=u;o=c[n+4>>2]|0;B=g;c[B>>2]=c[n>>2];c[B+4>>2]=o;c[t>>2]=(c[t>>2]|0)+8}else $m(b,u)}}while(0);p=p+1|0}if((y|0)==16){B=Vf(Vf(NE(Vf(Vf(Vf(56032,31276)|0,31157)|0,35e3)|0,241)|0,35007)|0,31348)|0;GE(u,B+(c[(c[B>>2]|0)+-12>>2]|0)|0);y=VF(u,56736)|0;y=Gb[c[(c[y>>2]|0)+28>>2]&63](y,10)|0;WF(u);OE(B,y)|0;KE(B)|0;ua()}B=(c[t>>2]|0)-(c[b>>2]|0)>>3;if(B>>>0>(yk(d)|0)>>>0){B=Vf(Vf(NE(Vf(Vf(Vf(56032,31366)|0,31157)|0,35e3)|0,256)|0,35007)|0,31426)|0;GE(u,B+(c[(c[B>>2]|0)+-12>>2]|0)|0);y=VF(u,56736)|0;y=Gb[c[(c[y>>2]|0)+28>>2]&63](y,10)|0;WF(u);OE(B,y)|0;KE(B)|0;ua()}else{s=(c[t>>2]|0)-(c[b>>2]|0)>>3;break}}else s=0;while(0);yb=z;return s|0}function Tm(a,b){a=a|0;b=b|0;var d=0;d=a+36|0;do{c[a>>2]=c[b>>2];a=a+4|0;b=b+4|0}while((a|0)<(d|0));return}function Um(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=c[a>>2]|0;c[a>>2]=c[b>>2];c[b>>2]=f;f=a+4|0;d=b+4|0;e=c[f>>2]|0;c[f>>2]=c[d>>2];c[d>>2]=e;d=a+8|0;b=b+8|0;a=c[d>>2]|0;c[d>>2]=c[b>>2];c[b>>2]=a;return}function Vm(a,b,c){a=a|0;b=b|0;c=+c;var d=0.0,e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;d=+en(b);if(!(+t(+d)<=c)){d=1.0/d;e=b+16|0;k=b+20|0;j=b+28|0;m=b+32|0;f[a>>2]=d*+vi(+f[e>>2],+f[k>>2],+f[j>>2],+f[m>>2]);l=b+8|0;h=b+4|0;f[a+4>>2]=d*+vi(+f[l>>2],+f[h>>2],+f[m>>2],+f[j>>2]);f[a+8>>2]=d*+vi(+f[h>>2],+f[l>>2],+f[e>>2],+f[k>>2]);g=b+12|0;i=b+24|0;f[a+12>>2]=d*+vi(+f[k>>2],+f[g>>2],+f[m>>2],+f[i>>2]);f[a+16>>2]=d*+vi(+f[b>>2],+f[l>>2],+f[i>>2],+f[m>>2]);f[a+20>>2]=d*+vi(+f[l>>2],+f[b>>2],+f[k>>2],+f[g>>2]);f[a+24>>2]=d*+vi(+f[g>>2],+f[e>>2],+f[i>>2],+f[j>>2]);f[a+28>>2]=d*+vi(+f[h>>2],+f[b>>2],+f[j>>2],+f[i>>2]);f[a+32>>2]=d*+vi(+f[b>>2],+f[h>>2],+f[g>>2],+f[e>>2]);a=1}else a=0;return a|0}function Wm(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=yb;yb=yb+32|0;d=f;e=c[a>>2]|0;if((c[a+8>>2]|0)-e>>3>>>0>>0){bn(d,b,(c[a+4>>2]|0)-e>>3,a+8|0);cn(a,d);dn(d)}yb=f;return}function Xm(a,b){a=a|0;b=b|0;b=B(c[a>>2]|0,b)|0;return (c[a+4>>2]|0)+b|0}function Ym(a,b){a=a|0;b=b|0;return (c[a+16>>2]|0)+(b*20|0)|0}function Zm(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=+d;e=+e;var g=0.0;g=+f[c+32>>2]+(+f[c+24>>2]*d+ +f[c+28>>2]*e);f[a>>2]=(+f[c+8>>2]+(+f[c>>2]*d+ +f[c+4>>2]*e))/g;f[b>>2]=(+f[c+20>>2]+(+f[c+12>>2]*d+ +f[c+16>>2]*e))/g;return}function _m(a,b,d){a=a|0;b=b|0;d=d|0;c[a>>2]=b;c[a+4>>2]=d;return}function $m(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;h=yb;yb=yb+32|0;d=h;e=a+4|0;f=((c[e>>2]|0)-(c[a>>2]|0)>>3)+1|0;g=an(a)|0;if(g>>>0>>0)CO(a);else{i=c[a>>2]|0;k=(c[a+8>>2]|0)-i|0;j=k>>2;bn(d,k>>3>>>0>>1>>>0?(j>>>0>>0?f:j):g,(c[e>>2]|0)-i>>3,a+8|0);g=d+8|0;e=c[b+4>>2]|0;f=c[g>>2]|0;c[f>>2]=c[b>>2];c[f+4>>2]=e;c[g>>2]=(c[g>>2]|0)+8;cn(a,d);dn(d);yb=h;return}}function an(a){a=a|0;return 536870911}function bn(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=a+12|0;c[f>>2]=0;c[a+16>>2]=e;do if(b)if(b>>>0>536870911){f=O(8)|0;bO(f,37409);c[f>>2]=16392;Q(f|0,13960,22)}else{e=rB(b<<3)|0;break}else e=0;while(0);c[a>>2]=e;d=e+(d<<3)|0;c[a+8>>2]=d;c[a+4>>2]=d;c[f>>2]=e+(b<<3);return}function cn(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;e=c[a>>2]|0;h=a+4|0;g=b+4|0;f=(c[h>>2]|0)-e|0;d=(c[g>>2]|0)+(0-(f>>3)<<3)|0;c[g>>2]=d;if((f|0)>0){YO(d|0,e|0,f|0)|0;e=g;d=c[g>>2]|0}else e=g;g=c[a>>2]|0;c[a>>2]=d;c[e>>2]=g;g=b+8|0;f=c[h>>2]|0;c[h>>2]=c[g>>2];c[g>>2]=f;g=a+8|0;h=b+12|0;a=c[g>>2]|0;c[g>>2]=c[h>>2];c[h>>2]=a;c[b>>2]=c[e>>2];return}function dn(a){a=a|0;var b=0,d=0,e=0,f=0;b=c[a+4>>2]|0;d=a+8|0;e=c[d>>2]|0;while(1){if((e|0)==(b|0))break;f=e+-8|0;c[d>>2]=f;e=f}b=c[a>>2]|0;if(b|0)Nf(b,(c[a+12>>2]|0)-b|0);return}function en(a){a=a|0;var b=0.0,c=0.0,d=0.0,e=0,g=0,h=0,i=0,j=0,k=0;h=a+16|0;k=a+20|0;e=a+28|0;j=a+32|0;d=+vi(+f[h>>2],+f[k>>2],+f[e>>2],+f[j>>2]);i=a+12|0;g=a+24|0;c=+vi(+f[i>>2],+f[k>>2],+f[g>>2],+f[j>>2]);b=+vi(+f[i>>2],+f[h>>2],+f[g>>2],+f[e>>2]);return +(d*+f[a>>2]-c*+f[a+4>>2]+b*+f[a+8>>2])}function fn(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;h=yb;yb=yb+32|0;d=h;e=a+4|0;f=((c[e>>2]|0)-(c[a>>2]|0)>>3)+1|0;g=an(a)|0;if(g>>>0>>0)CO(a);else{i=c[a>>2]|0;k=(c[a+8>>2]|0)-i|0;j=k>>2;bn(d,k>>3>>>0>>1>>>0?(j>>>0>>0?f:j):g,(c[e>>2]|0)-i>>3,a+8|0);g=d+8|0;e=c[b+4>>2]|0;f=c[g>>2]|0;c[f>>2]=c[b>>2];c[f+4>>2]=e;c[g>>2]=(c[g>>2]|0)+8;cn(a,d);dn(d);yb=h;return}}function gn(a,b){a=a|0;b=b|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;if(b|0){lo(a,b);mo(a,b)}return}function hn(a,b,d,e,g,h,i){a=a|0;b=b|0;d=d|0;e=e|0;g=g|0;h=h|0;i=i|0;var j=0;j=a+12|0;Tk(j,g);return un(b,d,e,g,h,i,a,j,a+24|0,+f[a+36>>2],c[a+40>>2]|0,c[a+44>>2]|0,c[a+48>>2]|0)|0}function jn(a){a=a|0;var b=0,d=0;b=c[a>>2]|0;d=b;if(b|0){c[a+4>>2]=d;Nf(b,(c[a+8>>2]|0)-d|0)}return}function kn(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0.0;m=yb;yb=yb+96|0;e=m+88|0;g=m+80|0;h=m+72|0;i=m+64|0;j=m;k=m+56|0;l=m+48|0;d=m+40|0;if(Vm(j,a,9.999999747378752e-06)|0){n=+(b|0);f[k>>2]=n;f[k+4>>2]=0.0;f[l>>2]=n;n=+(c|0);f[l+4>>2]=n;f[d>>2]=0.0;f[d+4>>2]=n;ln(e,j,55476);ln(g,j,k);ln(h,j,l);ln(i,j,d);n=+(B(c,b)|0)*.0001;if(+mn(e,g,h,i)>2];e=c+4|0;g=+f[e>>2];d=+f[b+32>>2]+(+f[b+24>>2]*h+ +f[b+28>>2]*g);f[a>>2]=(+f[b+8>>2]+(h*+f[b>>2]+g*+f[b+4>>2]))/d;f[a+4>>2]=(+f[b+20>>2]+(+f[b+12>>2]*+f[c>>2]+ +f[b+16>>2]*+f[e>>2]))/d;return}function mn(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0.0,f=0,g=0,h=0,i=0.0,j=0.0,k=0,l=0,m=0;f=yb;yb=yb+48|0;l=f+32|0;m=f+24|0;k=f+16|0;h=f+8|0;g=f;pn(l,b,a);pn(m,c,a);pn(k,d,a);pn(h,b,c);pn(g,d,c);j=+qn(l,m);i=+qn(m,k);e=+qn(l,k);e=+rn(j,i,e,+qn(h,g));yb=f;return +e}function nn(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=+on(a,b,c)>0.0;f=+on(b,c,d)>0.0;c=+on(c,d,a)>0.0;d=+on(d,a,b)>0.0;d=(f?1:-1)+(e?1:-1)+(c?1:-1)+(d?1:-1)|0;return (((d|0)>-1?d:0-d|0)|0)==4|0}function on(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0,e=0.0;d=+f[a>>2];e=+f[a+4>>2];return +((+f[b>>2]-d)*(+f[c+4>>2]-e)-(+f[b+4>>2]-e)*(+f[c>>2]-d))}function pn(a,b,c){a=a|0;b=b|0;c=c|0;f[a>>2]=+f[b>>2]-+f[c>>2];f[a+4>>2]=+f[b+4>>2]-+f[c+4>>2];return}function qn(a,b){a=a|0;b=b|0;return +(+t(+(+f[a>>2]*+f[b+4>>2]-+f[a+4>>2]*+f[b>>2]))*.5)}function rn(a,b,c,d){a=+a;b=+b;c=+c;d=+d;return +(+tn(+sn(a,b,c),d))}function sn(a,b,c){a=+a;b=+b;c=+c;return +(+tn(+tn(a,b),c))}function tn(a,b){a=+a;b=+b;return +(a>2]|0)-(c[i>>2]|0)>>2>>>0<(m*9|0)>>>0){z=Vf(Vf(NE(Vf(Vf(Vf(56032,31460)|0,31518)|0,35e3)|0,119)|0,35007)|0,31612)|0;GE(y,z+(c[(c[z>>2]|0)+-12>>2]|0)|0);x=VF(y,56736)|0;x=Gb[c[(c[x>>2]|0)+28>>2]&63](x,10)|0;WF(y);OE(z,x)|0;KE(z)|0;ua()}x=c[j>>2]|0;z=x;if((c[j+4>>2]|0)-x>>2>>>0>>0){x=Vf(Vf(NE(Vf(Vf(Vf(56032,31662)|0,31518)|0,35e3)|0,120)|0,35007)|0,31712)|0;GE(y,x+(c[(c[x>>2]|0)+-12>>2]|0)|0);u=VF(y,56736)|0;u=Gb[c[(c[u>>2]|0)+28>>2]&63](u,10)|0;WF(y);OE(x,u)|0;KE(x)|0;ua()}if((c[k+4>>2]|0)-(c[k>>2]|0)>>3>>>0>>0){x=Vf(Vf(NE(Vf(Vf(Vf(56032,31754)|0,31518)|0,35e3)|0,121)|0,35007)|0,31816)|0;GE(y,x+(c[(c[x>>2]|0)+-12>>2]|0)|0);u=VF(y,56736)|0;u=Gb[c[(c[u>>2]|0)+28>>2]&63](u,10)|0;WF(y);OE(x,u)|0;KE(x)|0;ua()}if((e|0)>=4){c[w>>2]=1234;l=+hi(l);x=zj(o,e)|0;rl(z,e,0);sl(z,e,e,w);q=z+4|0;r=z+8|0;s=z+12|0;t=(h|0)>0;o=0;u=0;while(1){if(!((u|0)<(m|0)&(o|0)<(n|0)))break;sl(z,e,4,w);D=c[z>>2]<<1;C=c[q>>2]<<1;B=c[r>>2]<<1;j=c[s>>2]<<1;do if(vn(b+(D<<2)|0,b+(C<<2)|0,b+(B<<2)|0,b+(j<<2)|0,d+(D<<2)|0,d+(C<<2)|0,d+(B<<2)|0,d+(j<<2)|0)|0?(v=u*9|0,j=c[z>>2]<<1,B=c[q>>2]<<1,C=c[r>>2]<<1,D=c[s>>2]<<1,wn((c[i>>2]|0)+(v<<2)|0,b+(j<<2)|0,b+(B<<2)|0,b+(C<<2)|0,b+(D<<2)|0,d+(j<<2)|0,d+(B<<2)|0,d+(C<<2)|0,d+(D<<2)|0)|0):0){if(t?!(xn((c[i>>2]|0)+(v<<2)|0,g,h)|0):0){j=u;break}j=u+1|0}else j=u;while(0);o=o+1|0;u=j}l=1.0/l;if(u){o=c[k>>2]|0;j=0;while(1){if((j|0)>=(u|0))break;f[o+(j<<3)>>2]=0.0;c[o+(j<<3)+4>>2]=j;j=j+1|0}t=0;while(1){if(!((u|0)>2&(t|0)<(e|0)))break;r=(zj(x,e-t|0)|0)+t|0;q=0;j=c[k>>2]|0;while(1){if((q|0)==(u|0))break;s=(c[i>>2]|0)+((c[j+(q<<3)+4>>2]|0)*9<<2)|0;o=t;while(1){if((o|0)>=(r|0))break;j=c[z+(o<<2)>>2]<<1;p=+zn(s,b+(j<<2)|0,d+(j<<2)|0,l);j=c[k>>2]|0;D=j+(q<<3)|0;f[D>>2]=p+ +f[D>>2];o=o+1|0}q=q+1|0}yn(y,j,u);t=r;u=u>>1}q=c[k>>2]|0;o=1;l=+f[q>>2];j=c[q+4>>2]|0;while(1){if((o|0)>=(u|0))break;p=+f[q+(o<<3)>>2];if(p>2]|0}o=o+1|0}Tm(a,(c[i>>2]|0)+(j*9<<2)|0);An(a);j=1}else j=0}else j=0;yb=A;return j|0}function vn(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0;i=+on(a,b,c)>0.0;if((!(i^+on(e,f,g)>0.0)?(i=+on(b,c,d)>0.0,!(i^+on(f,g,h)>0.0)):0)?(i=+on(c,d,a)>0.0,!(i^+on(g,h,e)>0.0)):0){a=+on(d,a,b)>0.0;a=a^+on(h,e,f)>0.0^1}else a=0;return a|0}function wn(a,b,c,d,e,g,h,i,j){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;x=yb;yb=yb+128|0;w=x;k=x+124|0;l=x+120|0;m=x+112|0;n=x+104|0;o=x+96|0;p=x+88|0;q=x+80|0;r=x+72|0;s=x+64|0;t=x+56|0;u=x+48|0;v=x+40|0;if((Gn(o,p,q,r,k,m,b,c,d,e)|0?Gn(s,t,u,v,l,n,g,h,i,j)|0:0)?Hn(w,o,p,q,r,s,t,u,v)|0:0){In(a,w,+f[k>>2],m,+f[l>>2],n);a=1}else a=0;yb=x;return a|0}function xn(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;n=yb;yb=yb+48|0;f=n+32|0;e=n+24|0;d=n+16|0;k=n+8|0;l=n;a:do if((c|0)>=2){m=b+8|0;g=b+16|0;ln(f,a,b);ln(e,a,m);ln(d,a,g);En(k,f);En(l,e);if(Fn(b,m,g,f,e,d)|0){j=3;i=f;f=m;h=b;while(1){if((j|0)>=(c|0))break;h=h+8|0;f=f+8|0;g=g+8|0;ln(i,a,g);if(!(Fn(h,f,g,e,d,i)|0)){d=0;break a}else{o=i;j=j+1|0;i=e;e=d;d=o}}if(Fn(f,g,b,e,d,k)|0)d=Fn(g,b,m,d,k,l)|0;else d=0}else d=0}else d=1;while(0);yb=n;return d|0}function yn(a,b,c){a=a|0;b=b|0;c=c|0;Dn(a,b,c,(c&1)+-1+((c|0)/2|0)|0);return}function zn(a,b,c,d){a=a|0;b=b|0;c=c|0;d=+d;var e=0,g=0,h=0,i=0;e=yb;yb=yb+16|0;i=e+8|0;g=e;h=i+4|0;Zm(i,h,a,+f[b>>2],+f[b+4>>2]);f[g>>2]=+f[i>>2]-+f[c>>2];f[g+4>>2]=+f[h>>2]-+f[c+4>>2];d=+Bn(g,d);yb=e;return +d}function An(a){a=a|0;var b=0,c=0.0,d=0;b=a+32|0;c=1.0/+f[b>>2];f[a>>2]=+f[a>>2]*c;d=a+4|0;f[d>>2]=c*+f[d>>2];d=a+8|0;f[d>>2]=c*+f[d>>2];d=a+12|0;f[d>>2]=c*+f[d>>2];d=a+16|0;f[d>>2]=c*+f[d>>2];d=a+20|0;f[d>>2]=c*+f[d>>2];d=a+24|0;f[d>>2]=c*+f[d>>2];a=a+28|0;f[a>>2]=c*+f[a>>2];f[b>>2]=1.0;return}function Bn(a,b){a=a|0;b=+b;return +(+Cn(+f[a>>2],+f[a+4>>2],b))}function Cn(a,b,c){a=+a;b=+b;c=+c;return +(+z(+((a*a+b*b)*c+1.0)))}function Dn(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var g=0,h=0,i=0.0,j=0,k=0.0,l=0,m=0,n=0.0,o=0,p=0,q=0,r=0,s=0,t=0;s=yb;yb=yb+16|0;g=s;if((d|0)<=0){r=Vf(Vf(NE(Vf(Vf(Vf(56032,33419)|0,33448)|0,35e3)|0,82)|0,35007)|0,33521)|0;GE(g,r+(c[(c[r>>2]|0)+-12>>2]|0)|0);q=VF(g,56736)|0;q=Gb[c[(c[q>>2]|0)+28>>2]&63](q,10)|0;WF(g);OE(r,q)|0;KE(r)|0;ua()}if((e|0)<=0){r=Vf(Vf(NE(Vf(Vf(Vf(56032,33540)|0,33448)|0,35e3)|0,83)|0,35007)|0,33569)|0;GE(g,r+(c[(c[r>>2]|0)+-12>>2]|0)|0);q=VF(g,56736)|0;q=Gb[c[(c[q>>2]|0)+28>>2]&63](q,10)|0;WF(g);OE(r,q)|0;KE(r)|0;ua()}p=e+-1|0;q=b+(p<<3)|0;r=b+(p<<3)+4|0;l=d+-1|0;m=0;while(1){if((m|0)>=(l|0))break;n=+f[q>>2];o=c[r>>2]|0;g=m;d=l;do{while(1){j=b+(g<<3)|0;k=+f[j>>2];if(!(k>2]|0)>=(o|0))break}g=g+1|0}while(1){h=b+(d<<3)|0;i=+f[h>>2];if(!(n=(c[b+(d<<3)+4>>2]|0))break}d=d+-1|0}if((g|0)<=(d|0)){f[j>>2]=i;f[h>>2]=k;t=b+(g<<3)+4|0;j=b+(d<<3)+4|0;h=c[t>>2]|0;c[t>>2]=c[j>>2];c[j>>2]=h;g=g+1|0;d=d+-1|0}}while((g|0)<=(d|0));l=(g|0)<(e|0)?l:d;m=(d|0)<(p|0)?g:m}b=q;e=c[b+4>>2]|0;t=a;c[t>>2]=c[b>>2];c[t+4>>2]=e;yb=s;return}function En(a,b){a=a|0;b=b|0;var d=0,e=0;e=b;d=c[e+4>>2]|0;b=a;c[b>>2]=c[e>>2];c[b+4>>2]=d;return}function Fn(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;c=+on(a,b,c)>0.0;return c^+on(d,e,f)>0.0^1|0}function Gn(a,b,c,d,e,g,h,i,j,k){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;var l=0.0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,v=0,w=0,x=0,y=0;l=(+f[h>>2]+ +f[i>>2]+ +f[j>>2]+ +f[k>>2])*.25;f[g>>2]=l;y=h+4|0;x=i+4|0;w=j+4|0;v=k+4|0;m=(+f[y>>2]+ +f[x>>2]+ +f[w>>2]+ +f[v>>2])*.25;f[g+4>>2]=m;s=+f[h>>2]-l;t=+f[y>>2]-m;q=+f[i>>2]-l;r=+f[x>>2]-m;o=+f[j>>2]-l;p=+f[w>>2]-m;l=+f[k>>2]-l;m=+f[v>>2]-m;n=(+u(+(s*s+t*t))+ +u(+(q*q+r*r))+ +u(+(o*o+p*p))+ +u(+(l*l+m*m)))*.25;if(n==0.0)g=0;else{n=1.0/n*1.4142135623730951;f[e>>2]=n;f[a>>2]=s*n;f[a+4>>2]=t*+f[e>>2];f[b>>2]=q*+f[e>>2];f[b+4>>2]=r*+f[e>>2];f[c>>2]=o*+f[e>>2];f[c+4>>2]=p*+f[e>>2];f[d>>2]=l*+f[e>>2];f[d+4>>2]=m*+f[e>>2];g=1}return g|0}function Hn(a,b,c,d,e,f,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0;j=yb;yb=yb+288|0;k=j;Jn(k,b,c,d,e,f,g,h,i);if(Kn(a,k)|0)a=!(+t(+(+en(a)))<1.0e-05);else a=0;yb=j;return a|0}function In(a,b,c,d,e,g){a=a|0;b=b|0;c=+c;d=d|0;e=+e;g=g|0;var h=0,i=0.0,j=0,k=0,l=0,m=0.0,n=0.0,o=0.0,p=0,q=0.0,r=0.0;l=b+24|0;o=+f[l>>2];q=+f[g>>2];k=b+28|0;n=+f[k>>2];r=o*q+ +f[b>>2]/e;q=q*n+ +f[b+4>>2]/e;p=g+4|0;m=+f[p>>2];o=o*m+ +f[b+12>>2]/e;m=n*m+ +f[b+16>>2]/e;n=+f[d>>2]*c;h=d+4|0;i=+f[h>>2]*c;f[a>>2]=r*c;f[a+4>>2]=q*c;j=b+32|0;f[a+8>>2]=+f[j>>2]*+f[g>>2]+ +f[b+8>>2]/e-r*n-q*i;f[a+12>>2]=o*c;f[a+16>>2]=m*c;f[a+20>>2]=+f[j>>2]*+f[p>>2]+ +f[b+20>>2]/e-o*n-m*i;i=+f[l>>2]*c;f[a+24>>2]=i;e=+f[k>>2]*c;f[a+28>>2]=e;f[a+32>>2]=+f[j>>2]-i*+f[d>>2]-e*+f[h>>2];return}function Jn(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;jo(a,b,f);jo(a+72|0,c,g);jo(a+144|0,d,h);jo(a+216|0,e,i);return}function Kn(a,b){a=a|0;b=b|0;var c=0,d=0;d=yb;yb=yb+288|0;c=d;if(((((((Ln(c,b)|0?Mn(c,b)|0:0)?Nn(c,b)|0:0)?On(c,b)|0:0)?Pn(c,b)|0:0)?Qn(c,b)|0:0)?Rn(c,b)|0:0)?Sn(c,b)|0:0)a=Tn(a,c)|0;else a=0;yb=d;return a|0}function Ln(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0;g=yb;yb=yb+32|0;d=g;f[d>>2]=+Yn(b);e=b+36|0;f[d+4>>2]=+Yn(e);f[d+8>>2]=+Yn(b+72|0);f[d+12>>2]=+Yn(b+108|0);f[d+16>>2]=+Yn(b+144|0);f[d+20>>2]=+Yn(b+180|0);f[d+24>>2]=+Yn(b+216|0);f[d+28>>2]=+Yn(b+252|0);c=ho(d)|0;d=d+(c<<2)|0;if(+f[d>>2]==0.0)a=0;else{ao(b,b+(c*9<<2)|0);Wn(a,b,1.0/+u(+(+f[d>>2])));io(a+36|0,e,63);a=1}yb=g;return a|0}function Mn(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=yb;yb=yb+32|0;g=e;c=a+36|0;d=b+36|0;_n(c,a,d);m=a+72|0;_n(m,a,b+72|0);l=a+108|0;_n(l,a,b+108|0);k=a+144|0;_n(k,a,b+144|0);j=a+180|0;_n(j,a,b+180|0);i=a+216|0;_n(i,a,b+216|0);h=a+252|0;_n(h,a,b+252|0);f[g>>2]=+Yn(c);f[g+4>>2]=+Yn(m);f[g+8>>2]=+Yn(l);f[g+12>>2]=+Yn(k);f[g+16>>2]=+Yn(j);f[g+20>>2]=+Yn(i);f[g+24>>2]=+Yn(h);a=go(g)|0;b=g+(a<<2)|0;if(+f[b>>2]==0.0)a=0;else{a=a*9|0;ao(c,c+(a<<2)|0);ao(d,d+(a<<2)|0);Wn(c,c,1.0/+u(+(+f[b>>2])));a=1}yb=e;return a|0}function Nn(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0;e=yb;yb=yb+32|0;g=e;c=a+72|0;l=a+36|0;d=b+72|0;_n(c,l,d);k=a+108|0;_n(k,l,b+108|0);j=a+144|0;_n(j,l,b+144|0);i=a+180|0;_n(i,l,b+180|0);h=a+216|0;_n(h,l,b+216|0);a=a+252|0;_n(a,l,b+252|0);f[g>>2]=+Yn(c);f[g+4>>2]=+Yn(k);f[g+8>>2]=+Yn(j);f[g+12>>2]=+Yn(i);f[g+16>>2]=+Yn(h);f[g+20>>2]=+Yn(a);a=fo(g)|0;b=g+(a<<2)|0;if(+f[b>>2]==0.0)a=0;else{a=a*9|0;ao(c,c+(a<<2)|0);ao(d,d+(a<<2)|0);Wn(c,c,1.0/+u(+(+f[b>>2])));a=1}yb=e;return a|0}function On(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0;e=yb;yb=yb+32|0;g=e;c=a+108|0;k=a+72|0;d=b+108|0;_n(c,k,d);j=a+144|0;_n(j,k,b+144|0);i=a+180|0;_n(i,k,b+180|0);h=a+216|0;_n(h,k,b+216|0);a=a+252|0;_n(a,k,b+252|0);f[g>>2]=+Yn(c);f[g+4>>2]=+Yn(j);f[g+8>>2]=+Yn(i);f[g+12>>2]=+Yn(h);f[g+16>>2]=+Yn(a);a=eo(g)|0;b=g+(a<<2)|0;if(+f[b>>2]==0.0)a=0;else{a=a*9|0;ao(c,c+(a<<2)|0);ao(d,d+(a<<2)|0);Wn(c,c,1.0/+u(+(+f[b>>2])));a=1}yb=e;return a|0}function Pn(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0;e=yb;yb=yb+16|0;g=e;c=a+144|0;j=a+108|0;d=b+144|0;_n(c,j,d);i=a+180|0;_n(i,j,b+180|0);h=a+216|0;_n(h,j,b+216|0);a=a+252|0;_n(a,j,b+252|0);f[g>>2]=+Yn(c);f[g+4>>2]=+Yn(i);f[g+8>>2]=+Yn(h);f[g+12>>2]=+Yn(a);a=co(g)|0;b=g+(a<<2)|0;if(+f[b>>2]==0.0)a=0;else{a=a*9|0;ao(c,c+(a<<2)|0);ao(d,d+(a<<2)|0);Wn(c,c,1.0/+u(+(+f[b>>2])));a=1}yb=e;return a|0}function Qn(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0;e=yb;yb=yb+16|0;g=e;c=a+180|0;i=a+144|0;d=b+180|0;_n(c,i,d);h=a+216|0;_n(h,i,b+216|0);a=a+252|0;_n(a,i,b+252|0);f[g>>2]=+Yn(c);f[g+4>>2]=+Yn(h);f[g+8>>2]=+Yn(a);a=bo(g)|0;b=g+(a<<2)|0;if(+f[b>>2]==0.0)a=0;else{a=a*9|0;ao(c,c+(a<<2)|0);ao(d,d+(a<<2)|0);Wn(c,c,1.0/+u(+(+f[b>>2])));a=1}yb=e;return a|0}function Rn(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0;e=yb;yb=yb+16|0;g=e;c=a+216|0;h=a+180|0;d=b+216|0;_n(c,h,d);a=a+252|0;_n(a,h,b+252|0);f[g>>2]=+Yn(c);f[g+4>>2]=+Yn(a);a=$n(g)|0;b=g+(a<<2)|0;if(+f[b>>2]==0.0)a=0;else{a=a*9|0;ao(c,c+(a<<2)|0);ao(d,d+(a<<2)|0);Wn(c,c,1.0/+u(+(+f[b>>2])));a=1}yb=e;return a|0}function Sn(a,b){a=a|0;b=b|0;var c=0.0,d=0;d=a+252|0;_n(d,a+216|0,b+252|0);c=+Yn(d);if(c==0.0)a=0;else{Wn(d,d,1.0/+u(+c));a=1}return a|0}function Tn(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=yb;yb=yb+384|0;e=d+336|0;c=d;f[e>>2]=+Un(c,b,0);f[e+4>>2]=+Un(c+36|0,b,1);f[e+8>>2]=+Un(c+72|0,b,2);f[e+12>>2]=+Un(c+108|0,b,3);f[e+16>>2]=+Un(c+144|0,b,4);f[e+20>>2]=+Un(c+180|0,b,5);f[e+24>>2]=+Un(c+216|0,b,6);f[e+28>>2]=+Un(c+252|0,b,7);f[e+32>>2]=+Un(c+288|0,b,8);b=Vn(e)|0;if(+f[e+(b<<2)>>2]==0.0)b=0;else{Tm(a,c+(b*9<<2)|0);b=1}yb=d;return b|0}function Un(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0,e=0.0,g=0;Wn(a,b,-+f[b+(c<<2)>>2]);g=a+(c<<2)|0;f[g>>2]=+f[g>>2]+1.0;Xn(a,b+36|0,-+f[b+(c+9<<2)>>2]);Xn(a,b+72|0,-+f[b+(c+18<<2)>>2]);Xn(a,b+108|0,-+f[b+(c+27<<2)>>2]);Xn(a,b+144|0,-+f[b+(c+36<<2)>>2]);Xn(a,b+180|0,-+f[b+(c+45<<2)>>2]);Xn(a,b+216|0,-+f[b+(c+54<<2)>>2]);Xn(a,b+252|0,-+f[b+(c+63<<2)>>2]);e=+Yn(a);d=+u(+e);if(e==0.0)d=0.0;else Wn(a,a,1.0/d);return +d}function Vn(a){a=a|0;var b=0;b=+f[a+4>>2]>+f[a>>2]&1;b=+f[a+8>>2]>+f[a+(b<<2)>>2]?2:b;b=+f[a+12>>2]>+f[a+(b<<2)>>2]?3:b;b=+f[a+16>>2]>+f[a+(b<<2)>>2]?4:b;b=+f[a+20>>2]>+f[a+(b<<2)>>2]?5:b;b=+f[a+24>>2]>+f[a+(b<<2)>>2]?6:b;b=+f[a+28>>2]>+f[a+(b<<2)>>2]?7:b;return (+f[a+32>>2]>+f[a+(b<<2)>>2]?8:b)|0}function Wn(a,b,c){a=a|0;b=b|0;c=+c;f[a>>2]=+f[b>>2]*c;f[a+4>>2]=+f[b+4>>2]*c;f[a+8>>2]=+f[b+8>>2]*c;f[a+12>>2]=+f[b+12>>2]*c;f[a+16>>2]=+f[b+16>>2]*c;f[a+20>>2]=+f[b+20>>2]*c;f[a+24>>2]=+f[b+24>>2]*c;f[a+28>>2]=+f[b+28>>2]*c;f[a+32>>2]=+f[b+32>>2]*c;return}function Xn(a,b,c){a=a|0;b=b|0;c=+c;var d=0;f[a>>2]=+f[a>>2]+ +f[b>>2]*c;d=a+4|0;f[d>>2]=+f[d>>2]+ +f[b+4>>2]*c;d=a+8|0;f[d>>2]=+f[d>>2]+ +f[b+8>>2]*c;d=a+12|0;f[d>>2]=+f[d>>2]+ +f[b+12>>2]*c;d=a+16|0;f[d>>2]=+f[d>>2]+ +f[b+16>>2]*c;d=a+20|0;f[d>>2]=+f[d>>2]+ +f[b+20>>2]*c;d=a+24|0;f[d>>2]=+f[d>>2]+ +f[b+24>>2]*c;d=a+28|0;f[d>>2]=+f[d>>2]+ +f[b+28>>2]*c;a=a+32|0;f[a>>2]=+f[a>>2]+ +f[b+32>>2]*c;return}function Yn(a){a=a|0;return +(+Zn(a,a))}function Zn(a,b){a=a|0;b=b|0;return +(+f[a>>2]*+f[b>>2]+ +f[a+4>>2]*+f[b+4>>2]+ +f[a+8>>2]*+f[b+8>>2]+ +f[a+12>>2]*+f[b+12>>2]+ +f[a+16>>2]*+f[b+16>>2]+ +f[a+20>>2]*+f[b+20>>2]+ +f[a+24>>2]*+f[b+24>>2]+ +f[a+28>>2]*+f[b+28>>2]+ +f[a+32>>2]*+f[b+32>>2])}function _n(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0;d=+Zn(c,b);f[a>>2]=+f[a>>2]-d*+f[b>>2];c=a+4|0;f[c>>2]=+f[c>>2]-d*+f[b+4>>2];c=a+8|0;f[c>>2]=+f[c>>2]-d*+f[b+8>>2];c=a+12|0;f[c>>2]=+f[c>>2]-d*+f[b+12>>2];c=a+16|0;f[c>>2]=+f[c>>2]-d*+f[b+16>>2];c=a+20|0;f[c>>2]=+f[c>>2]-d*+f[b+20>>2];c=a+24|0;f[c>>2]=+f[c>>2]-d*+f[b+24>>2];c=a+28|0;f[c>>2]=+f[c>>2]-d*+f[b+28>>2];c=a+32|0;f[c>>2]=+f[c>>2]-d*+f[b+32>>2];return}function $n(a){a=a|0;return +f[a+4>>2]>+f[a>>2]|0}function ao(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;g=c[a>>2]|0;f=a+4|0;c[a>>2]=c[b>>2];d=b+4|0;c[b>>2]=g;g=c[f>>2]|0;e=a+8|0;c[f>>2]=c[d>>2];f=b+8|0;c[d>>2]=g;d=c[e>>2]|0;g=a+12|0;c[e>>2]=c[f>>2];e=b+12|0;c[f>>2]=d;f=c[g>>2]|0;d=a+16|0;c[g>>2]=c[e>>2];g=b+16|0;c[e>>2]=f;e=c[d>>2]|0;f=a+20|0;c[d>>2]=c[g>>2];d=b+20|0;c[g>>2]=e;g=c[f>>2]|0;e=a+24|0;c[f>>2]=c[d>>2];f=b+24|0;c[d>>2]=g;d=c[e>>2]|0;g=a+28|0;c[e>>2]=c[f>>2];e=b+28|0;c[f>>2]=d;f=c[g>>2]|0;d=a+32|0;c[g>>2]=c[e>>2];b=b+32|0;c[e>>2]=f;a=c[d>>2]|0;c[d>>2]=c[b>>2];c[b>>2]=a;return}function bo(a){a=a|0;var b=0;b=+f[a+4>>2]>+f[a>>2]&1;return (+f[a+8>>2]>+f[a+(b<<2)>>2]?2:b)|0}function co(a){a=a|0;var b=0;b=+f[a+4>>2]>+f[a>>2]&1;b=+f[a+8>>2]>+f[a+(b<<2)>>2]?2:b;return (+f[a+12>>2]>+f[a+(b<<2)>>2]?3:b)|0}function eo(a){a=a|0;var b=0;b=+f[a+4>>2]>+f[a>>2]&1;b=+f[a+8>>2]>+f[a+(b<<2)>>2]?2:b;b=+f[a+12>>2]>+f[a+(b<<2)>>2]?3:b;return (+f[a+16>>2]>+f[a+(b<<2)>>2]?4:b)|0}function fo(a){a=a|0;var b=0;b=+f[a+4>>2]>+f[a>>2]&1;b=+f[a+8>>2]>+f[a+(b<<2)>>2]?2:b;b=+f[a+12>>2]>+f[a+(b<<2)>>2]?3:b;b=+f[a+16>>2]>+f[a+(b<<2)>>2]?4:b;return (+f[a+20>>2]>+f[a+(b<<2)>>2]?5:b)|0}function go(a){a=a|0;var b=0;b=+f[a+4>>2]>+f[a>>2]&1;b=+f[a+8>>2]>+f[a+(b<<2)>>2]?2:b;b=+f[a+12>>2]>+f[a+(b<<2)>>2]?3:b;b=+f[a+16>>2]>+f[a+(b<<2)>>2]?4:b;b=+f[a+20>>2]>+f[a+(b<<2)>>2]?5:b;return (+f[a+24>>2]>+f[a+(b<<2)>>2]?6:b)|0}function ho(a){a=a|0;var b=0;b=+f[a+4>>2]>+f[a>>2]&1;b=+f[a+8>>2]>+f[a+(b<<2)>>2]?2:b;b=+f[a+12>>2]>+f[a+(b<<2)>>2]?3:b;b=+f[a+16>>2]>+f[a+(b<<2)>>2]?4:b;b=+f[a+20>>2]>+f[a+(b<<2)>>2]?5:b;b=+f[a+24>>2]>+f[a+(b<<2)>>2]?6:b;return (+f[a+28>>2]>+f[a+(b<<2)>>2]?7:b)|0}function io(a,b,c){a=a|0;b=b|0;c=c|0;YO(a|0,b|0,c<<2|0)|0;return}function jo(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;f[a>>2]=-+f[b>>2];e=b+4|0;f[a+4>>2]=-+f[e>>2];f[a+8>>2]=-1.0;ko(a+12|0);f[a+24>>2]=+f[d>>2]*+f[b>>2];f[a+28>>2]=+f[d>>2]*+f[e>>2];c[a+32>>2]=c[d>>2];ko(a+36|0);f[a+48>>2]=-+f[b>>2];f[a+52>>2]=-+f[e>>2];f[a+56>>2]=-1.0;d=d+4|0;f[a+60>>2]=+f[d>>2]*+f[b>>2];f[a+64>>2]=+f[d>>2]*+f[e>>2];c[a+68>>2]=c[d>>2];return}function ko(a){a=a|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;return}function lo(a,b){a=a|0;b=b|0;var d=0;if((pj(a)|0)>>>0>>0)CO(a);if(b>>>0>536870911){b=O(8)|0;bO(b,37409);c[b>>2]=16392;Q(b|0,13960,22)}else{d=rB(b<<3)|0;c[a+4>>2]=d;c[a>>2]=d;c[a+8>>2]=d+(b<<3);return}}function mo(a,b){a=a|0;b=b|0;var d=0;d=a+4|0;a=b;b=c[d>>2]|0;do{no(b);b=(c[d>>2]|0)+8|0;c[d>>2]=b;a=a+-1|0}while((a|0)!=0);return}function no(a){a=a|0;f[a>>2]=0.0;f[a+4>>2]=0.0;return}function oo(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0;k=yb;yb=yb+16|0;j=k;i=a+88|0;n=a+84|0;h=a+52|0;m=(((g|0)%(c[i>>2]|0)|0|0)%(c[n>>2]|0)|0|0)%(c[h>>2]|0)|0;c[b>>2]=m;m=(((g-m|0)%(c[i>>2]|0)|0|0)%(c[n>>2]|0)|0|0)/(c[h>>2]|0)|0;c[d>>2]=m;m=g-(c[b>>2]|0)-(B(c[h>>2]|0,m)|0)|0;m=((m|0)%(c[i>>2]|0)|0|0)/(c[n>>2]|0)|0;c[e>>2]=m;l=B(c[h>>2]|0,c[d>>2]|0)|0;g=g-(c[b>>2]|0)-((B(c[n>>2]|0,m)|0)+l)|0;i=(g|0)/(c[i>>2]|0)|0;c[f>>2]=i;g=c[b>>2]|0;if((g|0)<=-1){n=Vf(Vf(NE(Vf(Vf(Vf(56032,32616)|0,32155)|0,35e3)|0,190)|0,35007)|0,32649)|0;GE(j,n+(c[(c[n>>2]|0)+-12>>2]|0)|0);m=VF(j,56736)|0;m=Gb[c[(c[m>>2]|0)+28>>2]&63](m,10)|0;WF(j);OE(n,m)|0;KE(n)|0;ua()}if((g|0)>=(c[h>>2]|0)){n=Vf(Vf(NE(Vf(Vf(Vf(56032,32667)|0,32155)|0,35e3)|0,191)|0,35007)|0,32649)|0;GE(j,n+(c[(c[n>>2]|0)+-12>>2]|0)|0);m=VF(j,56736)|0;m=Gb[c[(c[m>>2]|0)+28>>2]&63](m,10)|0;WF(j);OE(n,m)|0;KE(n)|0;ua()}g=c[d>>2]|0;if((g|0)<=-1){n=Vf(Vf(NE(Vf(Vf(Vf(56032,32707)|0,32155)|0,35e3)|0,192)|0,35007)|0,32740)|0;GE(j,n+(c[(c[n>>2]|0)+-12>>2]|0)|0);m=VF(j,56736)|0;m=Gb[c[(c[m>>2]|0)+28>>2]&63](m,10)|0;WF(j);OE(n,m)|0;KE(n)|0;ua()}if((g|0)>=(c[a+56>>2]|0)){n=Vf(Vf(NE(Vf(Vf(Vf(56032,32758)|0,32155)|0,35e3)|0,193)|0,35007)|0,32740)|0;GE(j,n+(c[(c[n>>2]|0)+-12>>2]|0)|0);m=VF(j,56736)|0;m=Gb[c[(c[m>>2]|0)+28>>2]&63](m,10)|0;WF(j);OE(n,m)|0;KE(n)|0;ua()}g=c[e>>2]|0;if((g|0)<=-1){n=Vf(Vf(NE(Vf(Vf(Vf(56032,32798)|0,32155)|0,35e3)|0,194)|0,35007)|0,32835)|0;GE(j,n+(c[(c[n>>2]|0)+-12>>2]|0)|0);m=VF(j,56736)|0;m=Gb[c[(c[m>>2]|0)+28>>2]&63](m,10)|0;WF(j);OE(n,m)|0;KE(n)|0;ua()}if((g|0)>=(c[a+60>>2]|0)){n=Vf(Vf(NE(Vf(Vf(Vf(56032,32857)|0,32155)|0,35e3)|0,195)|0,35007)|0,32835)|0;GE(j,n+(c[(c[n>>2]|0)+-12>>2]|0)|0);m=VF(j,56736)|0;m=Gb[c[(c[m>>2]|0)+28>>2]&63](m,10)|0;WF(j);OE(n,m)|0;KE(n)|0;ua()}if((i|0)<=-1){n=Vf(Vf(NE(Vf(Vf(Vf(56032,32905)|0,32155)|0,35e3)|0,196)|0,35007)|0,32942)|0;GE(j,n+(c[(c[n>>2]|0)+-12>>2]|0)|0);m=VF(j,56736)|0;m=Gb[c[(c[m>>2]|0)+28>>2]&63](m,10)|0;WF(j);OE(n,m)|0;KE(n)|0;ua()}if((i|0)<(c[a+64>>2]|0)){yb=k;return}else{n=Vf(Vf(NE(Vf(Vf(Vf(56032,32964)|0,32155)|0,35e3)|0,197)|0,35007)|0,32942)|0;GE(j,n+(c[(c[n>>2]|0)+-12>>2]|0)|0);m=VF(j,56736)|0;m=Gb[c[(c[m>>2]|0)+28>>2]&63](m,10)|0;WF(j);OE(n,m)|0;KE(n)|0;ua()}}function po(a){a=a|0;return a+124|0}function qo(a){a=a|0;return a+112|0}function ro(a,b,d,e,g,h,i,j,k,l,m,n,o){a=a|0;b=b|0;d=d|0;e=e|0;g=g|0;h=+h;i=+i;j=+j;k=+k;l=+l;m=+m;n=+n;o=+o;var p=0,q=0;q=yb;yb=yb+16|0;p=q;f[b>>2]=+t(+(h-l));f[d>>2]=+t(+(i-m));f[g>>2]=+t(+(k-o));l=+t(+(j-n));l=+tn(l,+(c[a+60>>2]|0)-l);f[e>>2]=l;if(!(l>=0.0)){q=Vf(Vf(NE(Vf(Vf(Vf(56032,31935)|0,32155)|0,35e3)|0,333)|0,35007)|0,31976)|0;GE(p,q+(c[(c[q>>2]|0)+-12>>2]|0)|0);g=VF(p,56736)|0;g=Gb[c[(c[g>>2]|0)+28>>2]&63](g,10)|0;WF(p);OE(q,g)|0;KE(q)|0;ua()}else{yb=q;return}}function so(a,b){a=a|0;b=b|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;if(b|0){vo(a,b);mh(a,b)}return}function to(a,b,c){a=a|0;b=+b;c=+c;f[a+8>>2]=b;f[a+12>>2]=c;return}function uo(a,b,d){a=a|0;b=b|0;d=d|0;c[a>>2]=b;c[a+4>>2]=d;return}function vo(a,b){a=a|0;b=b|0;var d=0;if((nh(a)|0)>>>0>>0)CO(a);if(b>>>0>1073741823){b=O(8)|0;bO(b,37409);c[b>>2]=16392;Q(b|0,13960,22)}else{d=rB(b<<2)|0;c[a+4>>2]=d;c[a>>2]=d;c[a+8>>2]=d+(b<<2);return}}function wo(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;t=yb;yb=yb+48|0;j=t+8|0;i=t+32|0;h=t+28|0;k=t+24|0;p=t+20|0;q=t+16|0;r=t;s=a+8|0;if(!(c[s>>2]|0)){o=Vf(Vf(NE(Vf(Vf(Vf(56032,32010)|0,29190)|0,35e3)|0,405)|0,35007)|0,32045)|0;GE(j,o+(c[(c[o>>2]|0)+-12>>2]|0)|0);n=VF(j,56736)|0;n=Gb[c[(c[n>>2]|0)+28>>2]&63](n,10)|0;WF(j);OE(o,n)|0;KE(o)|0;ua()}c[a+100>>2]=0;l=a+72|0;m=a+76|0;c[m>>2]=c[l>>2];n=a+84|0;o=a+88|0;e=c[o>>2]|0;while(1){d=c[n>>2]|0;f=d;if((d|0)==(e|0))break;g=e-f|0;if((g|0)>8){e=e+-8|0;u=d;v=c[u>>2]|0;u=c[u+4>>2]|0;x=j;c[x>>2]=v;c[x+4>>2]=u;x=e;w=c[x+4>>2]|0;c[d>>2]=c[x>>2];c[d+4>>2]=w;d=e;c[d>>2]=v;c[d+4>>2]=u;Wl(j);c[k>>2]=f;c[p>>2]=e;c[q>>2]=f;c[h>>2]=c[k>>2];c[i>>2]=c[p>>2];c[j>>2]=c[q>>2];yo(h,i,r,(g>>>3)+-1|0,j);e=c[o>>2]|0}d=0;while(1){if((d|0)==-1)break;x=d+-1|0;Wl(e+(x<<3)|0);d=x}e=e+-8|0;c[o>>2]=e}zo(a,n,c[s>>2]|0,b);yb=t;return (c[m>>2]|0)-(c[l>>2]|0)>>2|0}function xo(a){a=a|0;return a+72|0}function yo(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;m=yb;yb=yb+16|0;l=m;j=c[f>>2]|0;k=c[a>>2]|0;b=j-k|0;i=j;h=j;if((e|0)>=2?(n=(e+-2|0)/2|0,(n|0)>=(b>>3|0)):0){b=b>>2|1;a=k+(b<<3)|0;d=a;g=b+1|0;if((g|0)<(e|0)){o=a+8|0;a=Mo(a,o)|0;b=a?g:b;d=a?o:d}if(!(Mo(d,i)|0)){o=c[j+4>>2]|0;i=l;c[i>>2]=c[j>>2];c[i+4>>2]=o;i=d;while(1){o=h;h=i;g=h;j=c[g+4>>2]|0;c[o>>2]=c[g>>2];c[o+4>>2]=j;c[f>>2]=i;if((n|0)<(b|0))break;b=b<<1|1;a=k+(b<<3)|0;d=a;g=b+1|0;if((g|0)<(e|0)){o=a+8|0;j=Mo(a,o)|0;b=j?g:b;d=j?o:d}if(Mo(d,l)|0)break;else i=d}e=l;f=c[e+4>>2]|0;o=i;c[o>>2]=c[e>>2];c[o+4>>2]=f;Wl(l)}}yb=m;return}function zo(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;t=yb;yb=yb+64|0;m=t+8|0;l=t+56|0;k=t+52|0;n=t+44|0;o=t+36|0;p=t+28|0;q=t;g=t+48|0;h=t+40|0;f=t+32|0;r=t+16|0;if(Ao(d)|0){c[g>>2]=c[a+76>>2];c[h>>2]=c[(Bo(d)|0)>>2];c[f>>2]=c[(Bo(d)|0)+4>>2];c[k>>2]=c[g>>2];c[l>>2]=c[h>>2];c[m>>2]=c[f>>2];Co(a+72|0,k,l,m)|0}else{c[r>>2]=0;h=r+4|0;c[h>>2]=0;c[r+8>>2]=0;Do(d,r,b,e);f=0;while(1){g=c[r>>2]|0;if(f>>>0>=(c[h>>2]|0)-g>>2>>>0)break;zo(a,b,c[g+(f<<2)>>2]|0,e);f=f+1|0}i=a+100|0;if((c[i>>2]|0)<(c[a+104>>2]|0)?(j=c[b>>2]|0,s=b+4|0,(j|0)!=(c[s>>2]|0)):0){d=Eo(j)|0;f=c[b>>2]|0;g=c[s>>2]|0;h=g-f|0;if((h|0)>8){j=f;g=g+-8|0;u=j;v=c[u>>2]|0;u=c[u+4>>2]|0;x=m;c[x>>2]=v;c[x+4>>2]=u;x=g;w=c[x+4>>2]|0;c[j>>2]=c[x>>2];c[j+4>>2]=w;j=g;c[j>>2]=v;c[j+4>>2]=u;Wl(m);c[n>>2]=f;c[o>>2]=g;c[p>>2]=f;c[k>>2]=c[n>>2];c[l>>2]=c[o>>2];c[m>>2]=c[p>>2];yo(k,l,q,(h>>>3)+-1|0,m);g=c[s>>2]|0}f=0;while(1){if((f|0)==-1)break;x=f+-1|0;Wl(g+(x<<3)|0);f=x}c[s>>2]=g+-8;c[i>>2]=(c[i>>2]|0)+1;zo(a,b,d,e)}Fo(r)}yb=t;return}function Ao(b){b=b|0;return (a[b+100>>0]|0)!=0|0}function Bo(a){a=a|0;return a+116|0}function Co(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=yb;yb=yb+48|0;p=s+40|0;o=s+36|0;q=s+32|0;r=s+28|0;j=s+8|0;k=s+4|0;l=s;f=c[a>>2]|0;g=f;b=f+((c[b>>2]|0)-g>>2<<2)|0;d=c[d>>2]|0;f=c[e>>2]|0;n=f-d|0;m=n>>2;a:do if((n|0)>0){h=a+8|0;n=c[a+4>>2]|0;i=n;if((m|0)>((c[h>>2]|0)-i>>2|0)){e=(i-g>>2)+m|0;g=jl(a)|0;if(g>>>0>>0)CO(a);else{r=c[a>>2]|0;n=(c[h>>2]|0)-r|0;q=n>>1;kl(j,n>>2>>>0>>1>>>0?(q>>>0>>0?e:q):g,b-r>>2,a+8|0);c[k>>2]=d;c[l>>2]=f;c[o>>2]=c[k>>2];c[p>>2]=c[l>>2];_o(j,o,p);b=$o(a,j,b)|0;ml(j);break}}g=i-b|0;h=g>>2;e=d+(h<<2)|0;if((m|0)>(h|0)){c[q>>2]=e;c[r>>2]=f;c[o>>2]=c[q>>2];c[p>>2]=c[r>>2];Yo(a,o,p,m-h|0);if((g|0)>0)f=e;else break}Zo(a,b,n,b+(m<<2)|0);e=b;while(1){if((d|0)==(f|0))break a;c[e>>2]=c[d>>2];e=e+4|0;d=d+4|0}}while(0);yb=s;return b|0}function 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,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;t=yb;yb=yb+48|0;n=t+8|0;m=t+36|0;o=t+32|0;p=t+28|0;q=t;r=t+16|0;s=a+104|0;Go(r,(c[a+108>>2]|0)-(c[s>>2]|0)>>2);l=r+4|0;a=-1;f=0;k=-1;while(1){if(f>>>0>=(c[l>>2]|0)-(c[r>>2]|0)>>3>>>0)break;i=wl((c[(c[s>>2]|0)+(f<<2)>>2]|0)+4|0,e)|0;Ho(n,c[(c[s>>2]|0)+(f<<2)>>2]|0,i);g=n;j=c[g+4>>2]|0;h=(c[r>>2]|0)+(f<<3)|0;c[h>>2]=c[g>>2];c[h+4>>2]=j;Wl(n);h=i>>>0>>0;j=h?f:k;a=h?i:a;f=f+1|0;k=j}if((k|0)==-1){j=Vf(Vf(NE(Vf(Vf(Vf(56032,32065)|0,29190)|0,35e3)|0,155)|0,35007)|0,32099)|0;GE(n,j+(c[(c[j>>2]|0)+-12>>2]|0)|0);i=VF(n,56736)|0;i=Gb[c[(c[i>>2]|0)+28>>2]&63](i,10)|0;WF(n);OE(j,i)|0;KE(j)|0;ua()}a=c[(c[s>>2]|0)+(k<<2)>>2]|0;c[n>>2]=a;i=b+4|0;f=c[i>>2]|0;j=b+8|0;if(f>>>0<(c[j>>2]|0)>>>0){c[f>>2]=a;c[i>>2]=(c[i>>2]|0)+4}else Io(b,n);g=d+4|0;h=d+8|0;e=0;while(1){a=c[r>>2]|0;if(e>>>0>=(c[l>>2]|0)-a>>3>>>0)break;do if((e|0)!=(k|0)){f=Jo(a+(e<<3)|0)|0;if((f|0)==(Jo((c[r>>2]|0)+(k<<3)|0)|0)){a=c[(c[s>>2]|0)+(e<<2)>>2]|0;c[n>>2]=a;f=c[i>>2]|0;if(f>>>0<(c[j>>2]|0)>>>0){c[f>>2]=a;c[i>>2]=(c[i>>2]|0)+4}else Io(b,n);break}else{a=(c[r>>2]|0)+(e<<3)|0;f=c[g>>2]|0;if((f|0)==(c[h>>2]|0)){Ko(d,a);a=c[g>>2]|0}else{v=a;u=c[v+4>>2]|0;a=f;c[a>>2]=c[v>>2];c[a+4>>2]=u;a=(c[g>>2]|0)+8|0;c[g>>2]=a}v=c[d>>2]|0;c[o>>2]=v;c[p>>2]=a;c[m>>2]=c[o>>2];c[n>>2]=c[p>>2];Lo(m,n,q,a-v>>3);break}}while(0);e=e+1|0}Vl(r);yb=t;return}function Eo(a){a=a|0;return c[a>>2]|0}function Fo(a){a=a|0;var b=0,d=0;b=c[a>>2]|0;d=b;if(b|0){c[a+4>>2]=d;Nf(b,(c[a+8>>2]|0)-d|0)}return}function Go(a,b){a=a|0;b=b|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;if(b|0){Vo(a,b);Wo(a,b)}return}function Ho(a,b,d){a=a|0;b=b|0;d=d|0;c[a>>2]=b;c[a+4>>2]=d;return}function Io(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;h=yb;yb=yb+32|0;d=h;e=a+4|0;f=((c[e>>2]|0)-(c[a>>2]|0)>>2)+1|0;g=Ro(a)|0;if(g>>>0>>0)CO(a);else{i=c[a>>2]|0;k=(c[a+8>>2]|0)-i|0;j=k>>1;So(d,k>>2>>>0>>1>>>0?(j>>>0>>0?f:j):g,(c[e>>2]|0)-i>>2,a+8|0);g=d+8|0;c[c[g>>2]>>2]=c[b>>2];c[g>>2]=(c[g>>2]|0)+4;To(a,d);Uo(d);yb=h;return}}function Jo(a){a=a|0;return c[a+4>>2]|0}function Ko(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;h=yb;yb=yb+32|0;d=h;e=a+4|0;f=((c[e>>2]|0)-(c[a>>2]|0)>>3)+1|0;g=No(a)|0;if(g>>>0>>0)CO(a);else{i=c[a>>2]|0;k=(c[a+8>>2]|0)-i|0;j=k>>2;Oo(d,k>>3>>>0>>1>>>0?(j>>>0>>0?f:j):g,(c[e>>2]|0)-i>>3,a+8|0);g=d+8|0;e=c[b+4>>2]|0;f=c[g>>2]|0;c[f>>2]=c[b>>2];c[f+4>>2]=e;c[g>>2]=(c[g>>2]|0)+8;Po(a,d);Qo(d);yb=h;return}}function Lo(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;j=yb;yb=yb+16|0;i=j;if((e|0)>1?(g=(e+-2|0)/2|0,k=c[a>>2]|0,h=k+(g<<3)|0,f=(c[b>>2]|0)+-8|0,c[b>>2]=f,Mo(h,f)|0):0){a=f;e=c[a+4>>2]|0;d=i;c[d>>2]=c[a>>2];c[d+4>>2]=e;d=h;while(1){a=d;e=c[a+4>>2]|0;h=f;c[h>>2]=c[a>>2];c[h+4>>2]=e;c[b>>2]=d;if(!g)break;g=(g+-1|0)/2|0;f=k+(g<<3)|0;if(!(Mo(f,i)|0))break;else{h=d;d=f;f=h}}h=i;b=c[h+4>>2]|0;k=d;c[k>>2]=c[h>>2];c[k+4>>2]=b;Wl(i)}yb=j;return}function Mo(a,b){a=a|0;b=b|0;return (c[a+4>>2]|0)>>>0>(c[b+4>>2]|0)>>>0|0}function No(a){a=a|0;return 536870911}function Oo(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=a+12|0;c[f>>2]=0;c[a+16>>2]=e;do if(b)if(b>>>0>536870911){f=O(8)|0;bO(f,37409);c[f>>2]=16392;Q(f|0,13960,22)}else{e=rB(b<<3)|0;break}else e=0;while(0);c[a>>2]=e;d=e+(d<<3)|0;c[a+8>>2]=d;c[a+4>>2]=d;c[f>>2]=e+(b<<3);return}function Po(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=c[a>>2]|0;f=a+4|0;g=b+4|0;d=c[f>>2]|0;while(1){if((d|0)==(e|0))break;h=d+-8|0;k=h;j=c[k+4>>2]|0;i=(c[g>>2]|0)+-8|0;c[i>>2]=c[k>>2];c[i+4>>2]=j;c[g>>2]=(c[g>>2]|0)+-8;d=h}i=c[a>>2]|0;c[a>>2]=c[g>>2];c[g>>2]=i;i=b+8|0;k=c[f>>2]|0;c[f>>2]=c[i>>2];c[i>>2]=k;i=a+8|0;k=b+12|0;j=c[i>>2]|0;c[i>>2]=c[k>>2];c[k>>2]=j;c[b>>2]=c[g>>2];return}function Qo(a){a=a|0;var b=0,d=0,e=0;b=c[a+4>>2]|0;d=a+8|0;while(1){e=c[d>>2]|0;if((e|0)==(b|0))break;e=e+-8|0;c[d>>2]=e;Wl(e)}b=c[a>>2]|0;if(b|0)Nf(b,(c[a+12>>2]|0)-b|0);return}function Ro(a){a=a|0;return 1073741823}function So(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=a+12|0;c[f>>2]=0;c[a+16>>2]=e;do if(b)if(b>>>0>1073741823){f=O(8)|0;bO(f,37409);c[f>>2]=16392;Q(f|0,13960,22)}else{e=rB(b<<2)|0;break}else e=0;while(0);c[a>>2]=e;d=e+(d<<2)|0;c[a+8>>2]=d;c[a+4>>2]=d;c[f>>2]=e+(b<<2);return}function To(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;e=c[a>>2]|0;h=a+4|0;g=b+4|0;f=(c[h>>2]|0)-e|0;d=(c[g>>2]|0)+(0-(f>>2)<<2)|0;c[g>>2]=d;if((f|0)>0){YO(d|0,e|0,f|0)|0;e=g;d=c[g>>2]|0}else e=g;g=c[a>>2]|0;c[a>>2]=d;c[e>>2]=g;g=b+8|0;f=c[h>>2]|0;c[h>>2]=c[g>>2];c[g>>2]=f;g=a+8|0;h=b+12|0;a=c[g>>2]|0;c[g>>2]=c[h>>2];c[h>>2]=a;c[b>>2]=c[e>>2];return}function Uo(a){a=a|0;var b=0,d=0,e=0,f=0;b=c[a+4>>2]|0;d=a+8|0;e=c[d>>2]|0;while(1){if((e|0)==(b|0))break;f=e+-4|0;c[d>>2]=f;e=f}b=c[a>>2]|0;if(b|0)Nf(b,(c[a+12>>2]|0)-b|0);return}function Vo(a,b){a=a|0;b=b|0;var d=0;if((No(a)|0)>>>0>>0)CO(a);if(b>>>0>536870911){b=O(8)|0;bO(b,37409);c[b>>2]=16392;Q(b|0,13960,22)}else{d=rB(b<<3)|0;c[a+4>>2]=d;c[a>>2]=d;c[a+8>>2]=d+(b<<3);return}}function Wo(a,b){a=a|0;b=b|0;var d=0;d=a+4|0;a=b;b=c[d>>2]|0;do{Xo(b);b=(c[d>>2]|0)+8|0;c[d>>2]=b;a=a+-1|0}while((a|0)!=0);return}function Xo(a){a=a|0;c[a>>2]=0;c[a+4>>2]=0;return}function Yo(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=c[d>>2]|0;e=a+4|0;d=c[b>>2]|0;while(1){if((d|0)==(f|0))break;b=c[e>>2]|0;c[b>>2]=c[d>>2];c[e>>2]=b+4;d=d+4|0}return}function Zo(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;h=a+4|0;i=c[h>>2]|0;f=i-e|0;g=f>>2;a=b+(g<<2)|0;e=i;while(1){if(a>>>0>=d>>>0)break;c[e>>2]=c[a>>2];j=e+4|0;c[h>>2]=j;a=a+4|0;e=j}if(f|0)ZO(i+(0-g<<2)|0,b|0,f|0)|0;return}function _o(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=c[d>>2]|0;d=a+8|0;a=c[b>>2]|0;while(1){if((a|0)==(e|0))break;f=c[d>>2]|0;c[f>>2]=c[a>>2];c[d>>2]=f+4;f=a+4|0;c[b>>2]=f;a=f}return}function $o(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;i=b+4|0;j=c[i>>2]|0;f=c[a>>2]|0;h=d;g=h-f|0;e=j+(0-(g>>2)<<2)|0;c[i>>2]=e;if((g|0)>0)YO(e|0,f|0,g|0)|0;f=a+4|0;g=b+8|0;e=(c[f>>2]|0)-h|0;if((e|0)>0){YO(c[g>>2]|0,d|0,e|0)|0;c[g>>2]=(c[g>>2]|0)+(e>>>2<<2)}h=c[a>>2]|0;c[a>>2]=c[i>>2];c[i>>2]=h;h=c[f>>2]|0;c[f>>2]=c[g>>2];c[g>>2]=h;h=a+8|0;d=b+12|0;a=c[h>>2]|0;c[h>>2]=c[d>>2];c[d>>2]=a;c[b>>2]=c[i>>2];return j|0}function ap(a){a=a|0;return bp(c[c[a>>2]>>2]|0)|0}function bp(a){a=a|0;return c[a+24>>2]|0}function cp(a,b){a=a|0;b=b|0;var d=0,e=0;d=yb;yb=yb+16|0;e=d;c[e>>2]=b;b=km((c[a>>2]|0)+4|0,e)|0;yb=d;return b|0}function dp(a){a=a|0;var b=0,d=0;b=yb;yb=yb+16|0;d=b;ep(d,c[c[a>>2]>>2]|0);a=em(xk(c[d>>2]|0)|0)|0;Pj(d);yb=b;return a|0}function ep(a,b){a=a|0;b=b|0;c[a>>2]=c[b+64>>2];b=c[b+68>>2]|0;c[a+4>>2]=b;if(b|0){a=b+4|0;c[a>>2]=(c[a>>2]|0)+1}return}function fp(a){a=a|0;return gp(c[c[a>>2]>>2]|0)|0}function gp(a){a=a|0;return a+12|0}function hp(b){b=b|0;var d=0,e=0,f=0;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;c[b+12>>2]=0;a[b+16>>0]=1;d=b+108|0;e=b+20|0;f=e+88|0;do{c[e>>2]=0;e=e+4|0}while((e|0)<(f|0));c[d>>2]=1065353216;f=b+112|0;c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=0;c[f+12>>2]=0;c[f+16>>2]=0;c[f+20>>2]=0;return}function ip(a){a=a|0;Vj(a+124|0);eh(a+112|0);jp(a+92|0);return}function jp(a){a=a|0;kp(a);return}function kp(a){a=a|0;var b=0;lp(a,c[a+8>>2]|0);b=c[a>>2]|0;c[a>>2]=0;if(b|0)Nf(b,c[a+4>>2]<<2);return}function lp(a,b){a=a|0;b=b|0;while(1){if(!b)break;a=c[b>>2]|0;Nf(b,16);b=a}return}function mp(b,d,e,g,h,i,j,k,l){b=b|0;d=+d;e=+e;g=+g;h=+h;i=i|0;j=j|0;k=k|0;l=l|0;f[b+20>>2]=d;f[b+24>>2]=e;f[b+28>>2]=g;f[b+32>>2]=h;f[b+36>>2]=-1.0;f[b+40>>2]=1.0;c[b+52>>2]=i;c[b+56>>2]=j;c[b+60>>2]=k;c[b+64>>2]=l;l=B(j,i)|0;c[b+84>>2]=l;c[b+88>>2]=B(l,k)|0;f[b+44>>2]=10.0;f[b+48>>2]=.4342944622039795;a[b+16>>0]=(j|i|0)==0&1;np(b+92|0);return}function np(a){a=a|0;var b=0,d=0,e=0;d=a+12|0;if(c[d>>2]|0){e=a+8|0;lp(a,c[e>>2]|0);c[e>>2]=0;e=c[a+4>>2]|0;b=0;while(1){if((b|0)==(e|0))break;c[(c[a>>2]|0)+(b<<2)>>2]=0;b=b+1|0}c[d>>2]=0}return}function op(b,d,e,g){b=b|0;d=d|0;e=e|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;t=yb;yb=yb+16|0;p=t+12|0;q=t+8|0;r=t+4|0;s=t;np(b+92|0);if(g|0){j=b+112|0;dh(j,g<<2);k=b+124|0;Tk(k,g);if(a[b+16>>0]|0)pp(b,d,e,g);l=b+68|0;m=b+72|0;n=b+76|0;o=b+80|0;h=0;i=0;while(1){if((i|0)>=(g|0))break;u=i<<2;v=d+(u<<2)|0;u=e+(u<<2)|0;qp(b,p,q,r,s,+f[v>>2],+f[v+4>>2],+f[v+8>>2],+f[v+12>>2],+f[u>>2],+f[u+4>>2],+f[u+8>>2],+f[u+12>>2]);if(rp(b,+f[p>>2],+f[q>>2],+f[r>>2],+f[s>>2])|0){v=(c[j>>2]|0)+(h<<2<<2)|0;c[v>>2]=c[l>>2];c[v+4>>2]=c[m>>2];c[v+8>>2]=c[n>>2];c[v+12>>2]=c[o>>2];c[(c[k>>2]|0)+(h<<2)>>2]=i;h=h+1|0}i=i+1|0}dh(j,h<<2);Tk(k,h)}yb=t;return}function pp(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var g=0,h=0.0,i=0,j=0,k=0,l=0,m=0,n=0,o=0.0;l=yb;yb=yb+16|0;g=l+12|0;k=l;i=a+4|0;j=yj(c[a>>2]|0,c[i>>2]|0)|0;so(k,e);if((e|0)<=0){m=Vf(Vf(NE(Vf(Vf(Vf(56032,33144)|0,33176)|0,35e3)|0,208)|0,35007)|0,33265)|0;GE(g,m+(c[(c[m>>2]|0)+-12>>2]|0)|0);n=VF(g,56736)|0;n=Gb[c[(c[n>>2]|0)+28>>2]&63](n,10)|0;WF(g);OE(m,n)|0;KE(m)|0;ua()}if((c[a>>2]|0)<=0){n=Vf(Vf(NE(Vf(Vf(Vf(56032,33287)|0,33176)|0,35e3)|0,209)|0,35007)|0,33329)|0;GE(g,n+(c[(c[n>>2]|0)+-12>>2]|0)|0);m=VF(g,56736)|0;m=Gb[c[(c[m>>2]|0)+28>>2]&63](m,10)|0;WF(g);OE(n,m)|0;KE(n)|0;ua()}if((c[i>>2]|0)<=0){n=Vf(Vf(NE(Vf(Vf(Vf(56032,33352)|0,33176)|0,35e3)|0,210)|0,35007)|0,33395)|0;GE(g,n+(c[(c[n>>2]|0)+-12>>2]|0)|0);m=VF(g,56736)|0;m=Gb[c[(c[m>>2]|0)+28>>2]&63](m,10)|0;WF(g);OE(n,m)|0;KE(n)|0;ua()}h=+(j|0);g=0;while(1){if((g|0)==(e|0))break;n=g<<2;o=+zp(+f[b+(n<<2)+12>>2],+f[d+(n<<2)+12>>2])*h;f[(c[k>>2]|0)+(g<<2)>>2]=o;g=g+1|0}m=c[k>>2]|0;o=+Bp(m,(c[k+4>>2]|0)-m>>2)*.25;m=a+52|0;c[m>>2]=yj(5,~~+A(+((+f[a+24>>2]-+f[a+20>>2])/o)))|0;n=yj(5,~~+A(+((+f[a+32>>2]-+f[a+28>>2])/o)))|0;c[a+56>>2]=n;n=B(c[m>>2]|0,n)|0;c[a+84>>2]=n;c[a+88>>2]=B(c[a+60>>2]|0,n)|0;eh(k);yb=l;return}function qp(a,b,d,e,g,h,i,j,k,l,m,n,o){a=a|0;b=b|0;d=d|0;e=e|0;g=g|0;h=+h;i=+i;j=+j;k=+k;l=+l;m=+m;n=+n;o=+o;var p=0,q=0,r=0,s=0,t=0;s=yb;yb=yb+32|0;q=s+16|0;r=s;n=j-n;f[e>>2]=n;j=n;if(!(j<=-3.141592653589793)){if(j>3.141592653589793){n=j+-6.283185307179586;p=5}}else{n=j+6.283185307179586;p=5}if((p|0)==5)f[e>>2]=n;if(!(n>-3.141592653589793)){p=Vf(Vf(NE(Vf(Vf(Vf(56032,32372)|0,32155)|0,35e3)|0,468)|0,35007)|0,32407)|0;GE(q,p+(c[(c[p>>2]|0)+-12>>2]|0)|0);t=VF(q,56736)|0;t=Gb[c[(c[t>>2]|0)+28>>2]&63](t,10)|0;WF(q);OE(p,t)|0;KE(p)|0;ua()}if(!(n<=3.141592653589793)){t=Vf(Vf(NE(Vf(Vf(Vf(56032,32426)|0,32155)|0,35e3)|0,469)|0,35007)|0,32407)|0;GE(q,t+(c[(c[t>>2]|0)+-12>>2]|0)|0);s=VF(q,56736)|0;s=Gb[c[(c[s>>2]|0)+28>>2]&63](s,10)|0;WF(q);OE(t,s)|0;KE(t)|0;ua()}else{n=+zp(k,o);f[g>>2]=n;Ap(r,+f[e>>2],n);n=+z(+(+f[g>>2]));f[g>>2]=n*+f[a+48>>2];n=+f[r>>2];j=+f[r+4>>2];o=+f[r+8>>2];k=+f[r+12>>2];g=a+8|0;t=a+12|0;f[b>>2]=h-(n*l+j*m)+(n*+f[g>>2]+j*+f[t>>2]);f[d>>2]=i-(o*l+k*m)+(o*+f[g>>2]+k*+f[t>>2]);yb=s;return}}function rp(a,b,d,e,g){a=a|0;b=+b;d=+d;e=+e;g=+g;var h=0,i=0,j=0,k=0,l=0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,t=0.0,u=0,v=0,w=0,x=0;x=yb;yb=yb+16|0;h=x;t=+f[a+20>>2];if((((((!(t>b)?(m=+f[a+24>>2],!(m<=b)):0)?(n=+f[a+28>>2],!(n>d)):0)?(o=+f[a+32>>2],!(o<=d)):0)?(p=e,!(p<=-3.141592653589793|p>3.141592653589793)):0)?(q=+f[a+36>>2],!(q>g)):0)?(r=+f[a+40>>2],!(r<=g)):0){if(!(t<=b)){l=Vf(Vf(NE(Vf(Vf(Vf(56032,32121)|0,32155)|0,35e3)|0,360)|0,35007)|0,32242)|0;GE(h,l+(c[(c[l>>2]|0)+-12>>2]|0)|0);k=VF(h,56736)|0;k=Gb[c[(c[k>>2]|0)+28>>2]&63](k,10)|0;WF(h);OE(l,k)|0;KE(l)|0;ua()}if(!(m>b)){l=Vf(Vf(NE(Vf(Vf(Vf(56032,32257)|0,32155)|0,35e3)|0,361)|0,35007)|0,32242)|0;GE(h,l+(c[(c[l>>2]|0)+-12>>2]|0)|0);k=VF(h,56736)|0;k=Gb[c[(c[k>>2]|0)+28>>2]&63](k,10)|0;WF(h);OE(l,k)|0;KE(l)|0;ua()}if(!(n<=d)){l=Vf(Vf(NE(Vf(Vf(Vf(56032,32290)|0,32155)|0,35e3)|0,362)|0,35007)|0,32324)|0;GE(h,l+(c[(c[l>>2]|0)+-12>>2]|0)|0);k=VF(h,56736)|0;k=Gb[c[(c[k>>2]|0)+28>>2]&63](k,10)|0;WF(h);OE(l,k)|0;KE(l)|0;ua()}if(!(o>d)){l=Vf(Vf(NE(Vf(Vf(Vf(56032,32339)|0,32155)|0,35e3)|0,363)|0,35007)|0,32324)|0;GE(h,l+(c[(c[l>>2]|0)+-12>>2]|0)|0);k=VF(h,56736)|0;k=Gb[c[(c[k>>2]|0)+28>>2]&63](k,10)|0;WF(h);OE(l,k)|0;KE(l)|0;ua()}if(!(p>-3.141592653589793)){l=Vf(Vf(NE(Vf(Vf(Vf(56032,32372)|0,32155)|0,35e3)|0,364)|0,35007)|0,32407)|0;GE(h,l+(c[(c[l>>2]|0)+-12>>2]|0)|0);k=VF(h,56736)|0;k=Gb[c[(c[k>>2]|0)+28>>2]&63](k,10)|0;WF(h);OE(l,k)|0;KE(l)|0;ua()}if(!(p<=3.141592653589793)){l=Vf(Vf(NE(Vf(Vf(Vf(56032,32426)|0,32155)|0,35e3)|0,365)|0,35007)|0,32407)|0;GE(h,l+(c[(c[l>>2]|0)+-12>>2]|0)|0);k=VF(h,56736)|0;k=Gb[c[(c[k>>2]|0)+28>>2]&63](k,10)|0;WF(h);OE(l,k)|0;KE(l)|0;ua()}if(!(q<=g)){l=Vf(Vf(NE(Vf(Vf(Vf(56032,32461)|0,32155)|0,35e3)|0,366)|0,35007)|0,32503)|0;GE(h,l+(c[(c[l>>2]|0)+-12>>2]|0)|0);k=VF(h,56736)|0;k=Gb[c[(c[k>>2]|0)+28>>2]&63](k,10)|0;WF(h);OE(l,k)|0;KE(l)|0;ua()}if(!(r>g)){l=Vf(Vf(NE(Vf(Vf(Vf(56032,32522)|0,32155)|0,35e3)|0,367)|0,35007)|0,32503)|0;GE(h,l+(c[(c[l>>2]|0)+-12>>2]|0)|0);k=VF(h,56736)|0;k=Gb[c[(c[k>>2]|0)+28>>2]&63](k,10)|0;WF(h);OE(l,k)|0;KE(l)|0;ua()}h=a+68|0;i=a+72|0;l=a+76|0;j=a+80|0;sp(a,h,i,l,j,b,d,e,g);h=~~+s(+(+f[h>>2]+-.5));i=~~+s(+(+f[i>>2]+-.5));l=~~+s(+(+f[l>>2]+-.5));j=~~+s(+(+f[j>>2]+-.5));k=c[a+60>>2]|0;l=(k+l|0)%(k|0)|0;if((((h|0)>=0?(u=h+1|0,!((i|0)<0?1:(u|0)>=(c[a+52>>2]|0))):0)?(v=i+1|0,!((j|0)<0?1:(v|0)>=(c[a+56>>2]|0))):0)?(w=j+1|0,(w|0)<(c[a+64>>2]|0)):0){k=(l+1|0)%(k|0)|0;up(a,tp(a,h,i,l,j)|0,1);up(a,tp(a,u,i,l,j)|0,1);up(a,tp(a,u,v,l,j)|0,1);up(a,tp(a,u,v,k,j)|0,1);up(a,tp(a,u,v,k,w)|0,1);up(a,tp(a,u,v,l,w)|0,1);up(a,tp(a,u,i,k,j)|0,1);up(a,tp(a,u,i,k,w)|0,1);up(a,tp(a,u,i,l,w)|0,1);up(a,tp(a,h,v,l,j)|0,1);up(a,tp(a,h,v,k,j)|0,1);up(a,tp(a,h,v,k,w)|0,1);up(a,tp(a,h,v,l,w)|0,1);up(a,tp(a,h,i,k,j)|0,1);up(a,tp(a,h,i,k,w)|0,1);up(a,tp(a,h,i,l,w)|0,1);h=1}else h=0}else h=0;yb=x;return h|0}function sp(a,b,d,e,g,h,i,j,k){a=a|0;b=b|0;d=d|0;e=e|0;g=g|0;h=+h;i=+i;j=+j;k=+k;var l=0.0,m=0.0;l=+(c[a+52>>2]|0);m=+f[a+20>>2];f[b>>2]=+zp(h-m,+f[a+24>>2]-m)*l;h=+(c[a+56>>2]|0);l=+f[a+28>>2];f[d>>2]=+zp(i-l,+f[a+32>>2]-l)*h;f[e>>2]=(j+3.141592653589793)*.15915494309189535*+(c[a+60>>2]|0);j=+(c[a+64>>2]|0);i=+f[a+36>>2];f[g>>2]=+zp(k-i,+f[a+40>>2]-i)*j;return}function tp(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0;k=yb;yb=yb+16|0;h=k;if((b|0)<=-1){j=Vf(Vf(NE(Vf(Vf(Vf(56032,32616)|0,32155)|0,35e3)|0,165)|0,35007)|0,32649)|0;GE(h,j+(c[(c[j>>2]|0)+-12>>2]|0)|0);i=VF(h,56736)|0;i=Gb[c[(c[i>>2]|0)+28>>2]&63](i,10)|0;WF(h);OE(j,i)|0;KE(j)|0;ua()}g=c[a+52>>2]|0;if((g|0)<=(b|0)){j=Vf(Vf(NE(Vf(Vf(Vf(56032,32667)|0,32155)|0,35e3)|0,166)|0,35007)|0,32649)|0;GE(h,j+(c[(c[j>>2]|0)+-12>>2]|0)|0);i=VF(h,56736)|0;i=Gb[c[(c[i>>2]|0)+28>>2]&63](i,10)|0;WF(h);OE(j,i)|0;KE(j)|0;ua()}if((d|0)<=-1){j=Vf(Vf(NE(Vf(Vf(Vf(56032,32707)|0,32155)|0,35e3)|0,167)|0,35007)|0,32740)|0;GE(h,j+(c[(c[j>>2]|0)+-12>>2]|0)|0);i=VF(h,56736)|0;i=Gb[c[(c[i>>2]|0)+28>>2]&63](i,10)|0;WF(h);OE(j,i)|0;KE(j)|0;ua()}i=c[a+56>>2]|0;if((i|0)<=(d|0)){j=Vf(Vf(NE(Vf(Vf(Vf(56032,32758)|0,32155)|0,35e3)|0,168)|0,35007)|0,32740)|0;GE(h,j+(c[(c[j>>2]|0)+-12>>2]|0)|0);l=VF(h,56736)|0;l=Gb[c[(c[l>>2]|0)+28>>2]&63](l,10)|0;WF(h);OE(j,l)|0;KE(j)|0;ua()}if((e|0)<=-1){l=Vf(Vf(NE(Vf(Vf(Vf(56032,32798)|0,32155)|0,35e3)|0,169)|0,35007)|0,32835)|0;GE(h,l+(c[(c[l>>2]|0)+-12>>2]|0)|0);j=VF(h,56736)|0;j=Gb[c[(c[j>>2]|0)+28>>2]&63](j,10)|0;WF(h);OE(l,j)|0;KE(l)|0;ua()}j=c[a+60>>2]|0;if((j|0)<=(e|0)){l=Vf(Vf(NE(Vf(Vf(Vf(56032,32857)|0,32155)|0,35e3)|0,170)|0,35007)|0,32835)|0;GE(h,l+(c[(c[l>>2]|0)+-12>>2]|0)|0);m=VF(h,56736)|0;m=Gb[c[(c[m>>2]|0)+28>>2]&63](m,10)|0;WF(h);OE(l,m)|0;KE(l)|0;ua()}if((f|0)<=-1){m=Vf(Vf(NE(Vf(Vf(Vf(56032,32905)|0,32155)|0,35e3)|0,171)|0,35007)|0,32942)|0;GE(h,m+(c[(c[m>>2]|0)+-12>>2]|0)|0);l=VF(h,56736)|0;l=Gb[c[(c[l>>2]|0)+28>>2]&63](l,10)|0;WF(h);OE(m,l)|0;KE(m)|0;ua()}if((c[a+64>>2]|0)<=(f|0)){m=Vf(Vf(NE(Vf(Vf(Vf(56032,32964)|0,32155)|0,35e3)|0,172)|0,35007)|0,32942)|0;GE(h,m+(c[(c[m>>2]|0)+-12>>2]|0)|0);l=VF(h,56736)|0;l=Gb[c[(c[l>>2]|0)+28>>2]&63](l,10)|0;WF(h);OE(m,l)|0;KE(m)|0;ua()}m=(B(g,d)|0)+b|0;l=(B(c[a+84>>2]|0,e)|0)+m|0;a=l+(B(c[a+88>>2]|0,f)|0)|0;if((a|0)>((B(B(i,g)|0,(B(j,f)|0)+e|0)|0)+m|0)){m=Vf(Vf(NE(Vf(Vf(Vf(56032,33012)|0,32155)|0,35e3)|0,176)|0,35007)|0,32597)|0;GE(h,m+(c[(c[m>>2]|0)+-12>>2]|0)|0);l=VF(h,56736)|0;l=Gb[c[(c[l>>2]|0)+28>>2]&63](l,10)|0;WF(h);OE(m,l)|0;KE(m)|0;ua()}else{yb=k;return a|0}return 0}function up(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,g=0,h=0,i=0.0,j=0.0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=yb;yb=yb+32|0;e=s+8|0;n=s;if((b|0)<=-1){r=Vf(Vf(NE(Vf(Vf(Vf(56032,32563)|0,32155)|0,35e3)|0,290)|0,35007)|0,32597)|0;GE(e,r+(c[(c[r>>2]|0)+-12>>2]|0)|0);q=VF(e,56736)|0;q=Gb[c[(c[q>>2]|0)+28>>2]&63](q,10)|0;WF(e);OE(r,q)|0;KE(r)|0;ua()}r=a+92|0;c[e>>2]=b;g=vp(r,e)|0;if(!g){c[n>>2]=b;c[n+4>>2]=d;p=a+96|0;k=c[p>>2]|0;q=(k|0)==0;a:do if(!q){l=k+-1|0;m=(l&k|0)==0;if(!m)if(k>>>0>b>>>0)d=b;else d=(b>>>0)%(k>>>0)|0;else d=l&b;g=c[(c[r>>2]|0)+(d<<2)>>2]|0;if(!g)o=19;else do{g=c[g>>2]|0;if(!g){o=19;break a}h=c[g+4>>2]|0;if((h|0)!=(b|0)){if(!m){if(h>>>0>=k>>>0)h=(h>>>0)%(k>>>0)|0}else h=h&l;if((h|0)!=(d|0)){o=19;break a}}}while((c[g+8>>2]|0)!=(b|0))}else{d=0;o=19}while(0);if((o|0)==19){wp(e,r,b,n);l=a+104|0;i=+(((c[l>>2]|0)+1|0)>>>0);j=+f[a+108>>2];do if(q|j*+(k>>>0)>>0<3|(k+-1&k|0)!=0)&1;g=~~+A(+(i/j))>>>0;xp(r,d>>>0>>0?g:d);d=c[p>>2]|0;g=d+-1|0;if(!(g&d)){k=d;d=g&b;break}if(d>>>0>b>>>0){k=d;d=b}else{k=d;d=(b>>>0)%(d>>>0)|0}}while(0);g=c[(c[r>>2]|0)+(d<<2)>>2]|0;if(!g){h=a+100|0;c[c[e>>2]>>2]=c[h>>2];c[h>>2]=c[e>>2];c[(c[r>>2]|0)+(d<<2)>>2]=h;h=c[e>>2]|0;d=c[h>>2]|0;if(d){d=c[d+4>>2]|0;g=k+-1|0;if(g&k){if(d>>>0>=k>>>0)d=(d>>>0)%(k>>>0)|0}else d=d&g;c[(c[r>>2]|0)+(d<<2)>>2]=h}}else{c[c[e>>2]>>2]=c[g>>2];c[g>>2]=c[e>>2]}c[l>>2]=(c[l>>2]|0)+1;c[e>>2]=0}}else{r=g+12|0;c[r>>2]=(c[r>>2]|0)+d}yb=s;return}function vp(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;e=c[b>>2]|0;f=c[a+4>>2]|0;a:do if(f){g=f+-1|0;h=(g&f|0)==0;if(!h)if(e>>>0>>0)d=e;else d=(e>>>0)%(f>>>0)|0;else d=g&e;b=c[(c[a>>2]|0)+(d<<2)>>2]|0;if(b)while(1){b=c[b>>2]|0;if(!b){b=0;break a}a=c[b+4>>2]|0;if((a|0)==(e|0)){if((c[b+8>>2]|0)==(e|0))break a}else{if(!h){if(a>>>0>=f>>>0)a=(a>>>0)%(f>>>0)|0}else a=a&g;if((a|0)!=(d|0)){b=0;break a}}}else b=0}else b=0;while(0);return b|0}function wp(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0;g=rB(16)|0;c[b>>2]=g;c[b+4>>2]=d+8;c[g+8>>2]=c[f>>2];c[g+12>>2]=c[f+4>>2];a[b+8>>0]=1;c[g+4>>2]=e;c[g>>2]=0;return}function xp(a,b){a=a|0;b=b|0;var d=0,e=0,g=0;if((b|0)!=1){if(b+-1&b)b=yD(b)|0}else b=2;e=c[a+4>>2]|0;if(b>>>0<=e>>>0){if(b>>>0>>0){d=~~+A(+(+((c[a+12>>2]|0)>>>0)/+f[a+16>>2]))>>>0;if(e>>>0>2&(e+-1&e|0)==0){g=1<<32-(C(d+-1|0)|0);d=d>>>0<2?d:g}else d=yD(d)|0;b=b>>>0>>0?d:b;if(b>>>0>>0)yp(a,b)}}else yp(a,b);return}function yp(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=a+4|0;a:do if(b){if(b>>>0>1073741823){a=O(8)|0;bO(a,37409);c[a>>2]=16392;Q(a|0,13960,22)}l=rB(b<<2)|0;d=c[a>>2]|0;c[a>>2]=l;if(d|0)Nf(d,c[a+4>>2]<<2);c[e>>2]=b;d=0;while(1){if((d|0)==(b|0))break;c[(c[a>>2]|0)+(d<<2)>>2]=0;d=d+1|0}f=a+8|0;d=c[f>>2]|0;if(d|0){e=c[d+4>>2]|0;k=b+-1|0;l=(k&b|0)==0;if(!l){if(e>>>0>=b>>>0)e=(e>>>0)%(b>>>0)|0}else e=e&k;c[(c[a>>2]|0)+(e<<2)>>2]=f;while(1){j=d;b:while(1){while(1){d=c[j>>2]|0;if(!d)break a;f=c[d+4>>2]|0;if(!l){if(f>>>0>=b>>>0)f=(f>>>0)%(b>>>0)|0}else f=f&k;if((f|0)==(e|0))break;g=(c[a>>2]|0)+(f<<2)|0;if(!(c[g>>2]|0))break b;h=d+8|0;g=d;while(1){i=c[g>>2]|0;if(!i)break;if((c[h>>2]|0)==(c[i+8>>2]|0))g=i;else break}c[j>>2]=i;c[g>>2]=c[c[(c[a>>2]|0)+(f<<2)>>2]>>2];c[c[(c[a>>2]|0)+(f<<2)>>2]>>2]=d}j=d}c[g>>2]=j;e=f}}}else{d=c[a>>2]|0;c[a>>2]=0;if(d|0)Nf(d,c[a+4>>2]<<2);c[e>>2]=0}while(0);return}function zp(a,b){a=+a;b=+b;return +(a/(b==0.0?1.0:b))}function Ap(a,b,c){a=a|0;b=+b;c=+c;var d=0.0;d=+w(+b)*c;c=+x(+b)*c;f[a>>2]=d;f[a+4>>2]=-c;f[a+8>>2]=c;f[a+12>>2]=d;return}function Bp(a,b){a=a|0;b=b|0;return +(+Cp(a,b,(b&1)+-1+((b|0)/2|0)|0))}function Cp(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,g=0,h=0.0,i=0,j=0.0,k=0,l=0,m=0,n=0,o=0.0,p=0,q=0,r=0;r=yb;yb=yb+16|0;e=r;if((b|0)<=0){q=Vf(Vf(NE(Vf(Vf(Vf(56032,33419)|0,33448)|0,35e3)|0,53)|0,35007)|0,33521)|0;GE(e,q+(c[(c[q>>2]|0)+-12>>2]|0)|0);p=VF(e,56736)|0;p=Gb[c[(c[p>>2]|0)+28>>2]&63](p,10)|0;WF(e);OE(q,p)|0;KE(q)|0;ua()}if((d|0)<=0){q=Vf(Vf(NE(Vf(Vf(Vf(56032,33540)|0,33448)|0,35e3)|0,54)|0,35007)|0,33569)|0;GE(e,q+(c[(c[q>>2]|0)+-12>>2]|0)|0);p=VF(e,56736)|0;p=Gb[c[(c[p>>2]|0)+28>>2]&63](p,10)|0;WF(e);OE(q,p)|0;KE(q)|0;ua()}p=d+-1|0;q=a+(p<<2)|0;m=b+-1|0;n=0;while(1){o=+f[q>>2];if((n|0)>=(m|0))break;e=n;b=m;do{while(1){i=a+(e<<2)|0;j=+f[i>>2];k=e+1|0;if(j>2];l=b+-1|0;if(o>2]=h;f[g>>2]=j;e=k;b=l}}while((e|0)<=(b|0));m=(e|0)<(d|0)?m:b;n=(b|0)<(p|0)?e:n}yb=r;return +o}function Dp(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0,g=0,h=0;f[b>>2]=0.0;c[d>>2]=-1;a=a+100|0;e=0.0;while(1){a=c[a>>2]|0;if(!a)break;g=a;h=g+12|0;if(e<+((c[h>>2]|0)>>>0)){c[d>>2]=c[g+8>>2];e=+((c[h>>2]|0)>>>0);f[b>>2]=e}}return}function Ep(a){a=a|0;io(a,1760,12);io(a+48|0,1808,12);io(a+96|0,1856,12);io(a+144|0,1904,12);io(a+192|0,1952,12);io(a+240|0,2e3,12);f[a+288>>2]=.10000000149011612;f[a+292>>2]=.17499999701976776;f[a+296>>2]=.25;f[a+300>>2]=.32499998807907104;f[a+304>>2]=.4000000059604645;f[a+308>>2]=.4749999940395355;f[a+312>>2]=.550000011920929;f[a+316>>2]=7.0;return}function Fp(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;dm(b,96);Gp(b,((c[e+4>>2]|0)-(c[e>>2]|0)|0)/20|0);Hp(b,d,e,a,a+48|0,a+96|0,a+144|0,a+192|0,a+240|0,+f[a+288>>2],+f[a+292>>2],+f[a+296>>2],+f[a+300>>2],+f[a+304>>2],+f[a+308>>2],+f[a+312>>2],+f[a+316>>2]);return}function Gp(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;e=yb;yb=yb+16|0;f=e;g=B(c[b>>2]|0,d)|0;a[f>>0]=0;Up(b+4|0,g,f);fm(b+16|0,d);yb=e;return}function Hp(b,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=+l;m=+m;n=+n;o=+o;p=+p;q=+q;r=+r;s=+s;var t=0,u=0,v=0,w=0,x=0,y=0,z=0;z=yb;yb=yb+16|0;x=z;if(!d){y=Vf(Vf(NE(Vf(Vf(Vf(56032,33588)|0,33619)|0,35e3)|0,537)|0,35007)|0,33688)|0;GE(x,y+(c[(c[y>>2]|0)+-12>>2]|0)|0);w=VF(x,56736)|0;w=Gb[c[(c[w>>2]|0)+28>>2]&63](w,10)|0;WF(x);OE(y,w)|0;KE(y)|0;ua()}w=yk(b)|0;y=e+4|0;v=c[y>>2]|0;u=c[e>>2]|0;if((w|0)!=((v-u|0)/20|0|0)){w=Vf(Vf(NE(Vf(Vf(Vf(56032,33704)|0,33619)|0,35e3)|0,538)|0,35007)|0,33757)|0;GE(x,w+(c[(c[w>>2]|0)+-12>>2]|0)|0);t=VF(x,56736)|0;t=Gb[c[(c[t>>2]|0)+28>>2]&63](t,10)|0;WF(x);OE(w,t)|0;KE(w)|0;ua()}w=0;t=0;while(1){u=(v-u|0)/20|0;if(w>>>0>=u>>>0)break;v=Ip(b,t)|0;if(Jp(v,d,(c[e>>2]|0)+(w*20|0)|0,f,g,h,i,j,k,l,m,n,o,p,q,r,s)|0){u=(c[e>>2]|0)+(w*20|0)|0;v=Kp(b,t)|0;c[v>>2]=c[u>>2];c[v+4>>2]=c[u+4>>2];c[v+8>>2]=c[u+8>>2];c[v+12>>2]=c[u+12>>2];a[v+16>>0]=a[u+16>>0]|0;t=t+1|0}w=w+1|0;u=c[e>>2]|0;v=c[y>>2]|0}if((t|0)==(u|0)){Gp(b,t);yb=z;return}else{z=Vf(Vf(NE(Vf(Vf(Vf(56032,33794)|0,33619)|0,35e3)|0,617)|0,35007)|0,33845)|0;GE(x,z+(c[(c[z>>2]|0)+-12>>2]|0)|0);k=VF(x,56736)|0;k=Gb[c[(c[k>>2]|0)+28>>2]&63](k,10)|0;WF(x);OE(z,k)|0;KE(z)|0;ua()}}function Ip(a,b){a=a|0;b=b|0;b=B(c[a>>2]|0,b)|0;return (c[a+4>>2]|0)+b|0}function Jp(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=+j;k=+k;l=+l;m=+m;n=+n;o=+o;p=+p;q=+q;var r=0,s=0;s=yb;yb=yb+160|0;r=s;if(Lp(r,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q)|0){Mp(a,r);a=1}else a=0;yb=s;return a|0}function Kp(a,b){a=a|0;b=b|0;return (c[a+16>>2]|0)+(b*20|0)|0}function Lp(a,b,d,e,g,h,i,j,k,l,m,n,o,p,q,r,s){a=a|0;b=b|0;d=d|0;e=e|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=+l;m=+m;n=+n;o=+o;p=+p;q=+q;r=+r;s=+s;var t=0,u=0,v=0,w=0.0,x=0.0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0;t=yb;yb=yb+336|0;aa=t+288|0;y=t+240|0;D=t+192|0;I=t+144|0;N=t+96|0;S=t+48|0;X=t;v=t+328|0;u=t+324|0;x=+f[d+12>>2]*s;x=x<1.0?1.0:x;Op(aa,+f[d>>2],+f[d+4>>2],+f[d+8>>2],x);w=+f[aa+8>>2];s=+f[aa+20>>2];Pp(y,aa,e);C=y+8|0;Pp(C,aa,e+8|0);B=y+16|0;Pp(B,aa,e+16|0);A=y+24|0;Pp(A,aa,e+24|0);z=y+32|0;Pp(z,aa,e+32|0);d=y+40|0;Pp(d,aa,e+40|0);Pp(D,aa,g);H=D+8|0;Pp(H,aa,g+8|0);G=D+16|0;Pp(G,aa,g+16|0);F=D+24|0;Pp(F,aa,g+24|0);E=D+32|0;Pp(E,aa,g+32|0);e=D+40|0;Pp(e,aa,g+40|0);Pp(I,aa,h);M=I+8|0;Pp(M,aa,h+8|0);L=I+16|0;Pp(L,aa,h+16|0);K=I+24|0;Pp(K,aa,h+24|0);J=I+32|0;Pp(J,aa,h+32|0);g=I+40|0;Pp(g,aa,h+40|0);Pp(N,aa,i);R=N+8|0;Pp(R,aa,i+8|0);Q=N+16|0;Pp(Q,aa,i+16|0);P=N+24|0;Pp(P,aa,i+24|0);O=N+32|0;Pp(O,aa,i+32|0);h=N+40|0;Pp(h,aa,i+40|0);Pp(S,aa,j);W=S+8|0;Pp(W,aa,j+8|0);V=S+16|0;Pp(V,aa,j+16|0);U=S+24|0;Pp(U,aa,j+24|0);T=S+32|0;Pp(T,aa,j+32|0);i=S+40|0;Pp(i,aa,j+40|0);Pp(X,aa,k);$=X+8|0;Pp($,aa,k+8|0);_=X+16|0;Pp(_,aa,k+16|0);Z=X+24|0;Pp(Z,aa,k+24|0);Y=X+32|0;Pp(Y,aa,k+32|0);j=X+40|0;Pp(j,aa,k+40|0);Qp(b,v,u,x*r);f[a>>2]=+Rp(b,+f[X>>2],+f[X+4>>2],c[v>>2]|0,c[u>>2]|0);f[a+4>>2]=+Rp(b,+f[$>>2],+f[X+12>>2],c[v>>2]|0,c[u>>2]|0);f[a+8>>2]=+Rp(b,+f[_>>2],+f[X+20>>2],c[v>>2]|0,c[u>>2]|0);f[a+12>>2]=+Rp(b,+f[Z>>2],+f[X+28>>2],c[v>>2]|0,c[u>>2]|0);f[a+16>>2]=+Rp(b,+f[Y>>2],+f[X+36>>2],c[v>>2]|0,c[u>>2]|0);f[a+20>>2]=+Rp(b,+f[j>>2],+f[X+44>>2],c[v>>2]|0,c[u>>2]|0);Qp(b,v,u,x*q);f[a+24>>2]=+Rp(b,+f[S>>2],+f[S+4>>2],c[v>>2]|0,c[u>>2]|0);f[a+28>>2]=+Rp(b,+f[W>>2],+f[S+12>>2],c[v>>2]|0,c[u>>2]|0);f[a+32>>2]=+Rp(b,+f[V>>2],+f[S+20>>2],c[v>>2]|0,c[u>>2]|0);f[a+36>>2]=+Rp(b,+f[U>>2],+f[S+28>>2],c[v>>2]|0,c[u>>2]|0);f[a+40>>2]=+Rp(b,+f[T>>2],+f[S+36>>2],c[v>>2]|0,c[u>>2]|0);f[a+44>>2]=+Rp(b,+f[i>>2],+f[S+44>>2],c[v>>2]|0,c[u>>2]|0);Qp(b,v,u,x*p);f[a+48>>2]=+Rp(b,+f[N>>2],+f[N+4>>2],c[v>>2]|0,c[u>>2]|0);f[a+52>>2]=+Rp(b,+f[R>>2],+f[N+12>>2],c[v>>2]|0,c[u>>2]|0);f[a+56>>2]=+Rp(b,+f[Q>>2],+f[N+20>>2],c[v>>2]|0,c[u>>2]|0);f[a+60>>2]=+Rp(b,+f[P>>2],+f[N+28>>2],c[v>>2]|0,c[u>>2]|0);f[a+64>>2]=+Rp(b,+f[O>>2],+f[N+36>>2],c[v>>2]|0,c[u>>2]|0);f[a+68>>2]=+Rp(b,+f[h>>2],+f[N+44>>2],c[v>>2]|0,c[u>>2]|0);Qp(b,v,u,x*o);f[a+72>>2]=+Rp(b,+f[I>>2],+f[I+4>>2],c[v>>2]|0,c[u>>2]|0);f[a+76>>2]=+Rp(b,+f[M>>2],+f[I+12>>2],c[v>>2]|0,c[u>>2]|0);f[a+80>>2]=+Rp(b,+f[L>>2],+f[I+20>>2],c[v>>2]|0,c[u>>2]|0);f[a+84>>2]=+Rp(b,+f[K>>2],+f[I+28>>2],c[v>>2]|0,c[u>>2]|0);f[a+88>>2]=+Rp(b,+f[J>>2],+f[I+36>>2],c[v>>2]|0,c[u>>2]|0);f[a+92>>2]=+Rp(b,+f[g>>2],+f[I+44>>2],c[v>>2]|0,c[u>>2]|0);Qp(b,v,u,x*n);f[a+96>>2]=+Rp(b,+f[D>>2],+f[D+4>>2],c[v>>2]|0,c[u>>2]|0);f[a+100>>2]=+Rp(b,+f[H>>2],+f[D+12>>2],c[v>>2]|0,c[u>>2]|0);f[a+104>>2]=+Rp(b,+f[G>>2],+f[D+20>>2],c[v>>2]|0,c[u>>2]|0);f[a+108>>2]=+Rp(b,+f[F>>2],+f[D+28>>2],c[v>>2]|0,c[u>>2]|0);f[a+112>>2]=+Rp(b,+f[E>>2],+f[D+36>>2],c[v>>2]|0,c[u>>2]|0);f[a+116>>2]=+Rp(b,+f[e>>2],+f[D+44>>2],c[v>>2]|0,c[u>>2]|0);Qp(b,v,u,x*m);f[a+120>>2]=+Rp(b,+f[y>>2],+f[y+4>>2],c[v>>2]|0,c[u>>2]|0);f[a+124>>2]=+Rp(b,+f[C>>2],+f[y+12>>2],c[v>>2]|0,c[u>>2]|0);f[a+128>>2]=+Rp(b,+f[B>>2],+f[y+20>>2],c[v>>2]|0,c[u>>2]|0);f[a+132>>2]=+Rp(b,+f[A>>2],+f[y+28>>2],c[v>>2]|0,c[u>>2]|0);f[a+136>>2]=+Rp(b,+f[z>>2],+f[y+36>>2],c[v>>2]|0,c[u>>2]|0);f[a+140>>2]=+Rp(b,+f[d>>2],+f[y+44>>2],c[v>>2]|0,c[u>>2]|0);Qp(b,v,u,x*l);f[a+144>>2]=+Rp(b,w,s,c[v>>2]|0,c[u>>2]|0);yb=t;return 1}function Mp(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0;Gl(a,84);c=0;g=0;i=36;j=35;k=36;while(1){if((c|0)==37)break;h=c+1|0;e=b+(c<<2)|0;c=h;d=g;while(1){if((d|0)==(k|0))break;Np(a,d,+f[e>>2]<+f[b+(c<<2)>>2]&1);c=c+1|0;d=d+1|0}e=k+j|0;c=h;g=g+i|0;i=i+-1|0;j=j+-1|0;k=e}return}function Np(b,c,e){b=b|0;c=c|0;e=e|0;b=b+((c|0)/8|0)|0;a[b>>0]=(e&255)<<(c&7)|(d[b>>0]|0);return}function Op(a,b,c,d,e){a=a|0;b=+b;c=+c;d=+d;e=+e;var g=0.0;g=+w(+d)*e;e=+x(+d)*e;f[a>>2]=g;f[a+4>>2]=-e;f[a+8>>2]=b;f[a+12>>2]=e;f[a+16>>2]=g;f[a+20>>2]=c;f[a+24>>2]=0.0;f[a+28>>2]=0.0;f[a+32>>2]=1.0;return}function Pp(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=c+4|0;f[a>>2]=+f[b+8>>2]+(+f[b>>2]*+f[c>>2]+ +f[b+4>>2]*+f[d>>2]);f[a+4>>2]=+f[b+20>>2]+(+f[b+12>>2]*+f[c>>2]+ +f[b+16>>2]*+f[d>>2]);return}function Qp(a,b,d,e){a=a|0;b=b|0;d=d|0;e=+e;var g=0,h=0,i=0,j=0,k=0,l=0,m=0;m=yb;yb=yb+16|0;l=m;g=~~+s(+(+Mi(e)));c[b>>2]=g;e=+z(+(e/+(1<>2]*e);c[d>>2]=g;j=a+20|0;if(((c[j>>2]|0)+-1|0)==(g|0)){c[b>>2]=(c[b>>2]|0)+1;c[d>>2]=0;g=0}h=c[b>>2]|0;if((h|0)>=0){i=c[a+16>>2]|0;if((h|0)<(i|0))h=g;else{c[b>>2]=i+-1;g=(c[j>>2]|0)+-1|0;k=7}}else{c[b>>2]=0;g=0;k=7}if((k|0)==7){c[d>>2]=g;h=g}g=c[b>>2]|0;if((g|0)<=-1){k=Vf(Vf(NE(Vf(Vf(Vf(56032,33865)|0,33900)|0,35e3)|0,268)|0,35007)|0,33993)|0;GE(l,k+(c[(c[k>>2]|0)+-12>>2]|0)|0);b=VF(l,56736)|0;b=Gb[c[(c[b>>2]|0)+28>>2]&63](b,10)|0;WF(l);OE(k,b)|0;KE(k)|0;ua()}if((g|0)>=(c[a+16>>2]|0)){a=Vf(Vf(NE(Vf(Vf(Vf(56032,34017)|0,33900)|0,35e3)|0,269)|0,35007)|0,34061)|0;GE(l,a+(c[(c[a>>2]|0)+-12>>2]|0)|0);k=VF(l,56736)|0;k=Gb[c[(c[k>>2]|0)+28>>2]&63](k,10)|0;WF(l);OE(a,k)|0;KE(a)|0;ua()}if((h|0)<=-1){a=Vf(Vf(NE(Vf(Vf(Vf(56032,34104)|0,33900)|0,35e3)|0,270)|0,35007)|0,34138)|0;GE(l,a+(c[(c[a>>2]|0)+-12>>2]|0)|0);k=VF(l,56736)|0;k=Gb[c[(c[k>>2]|0)+28>>2]&63](k,10)|0;WF(l);OE(a,k)|0;KE(a)|0;ua()}if((h|0)<(c[j>>2]|0)){yb=m;return}else{m=Vf(Vf(NE(Vf(Vf(Vf(56032,34161)|0,33900)|0,35e3)|0,271)|0,35007)|0,34212)|0;GE(l,m+(c[(c[m>>2]|0)+-12>>2]|0)|0);a=VF(l,56736)|0;a=Gb[c[(c[a>>2]|0)+28>>2]&63](a,10)|0;WF(l);OE(m,a)|0;KE(m)|0;ua()}}function Rp(a,b,c,d,e){a=a|0;b=+b;c=+c;d=d|0;e=e|0;var g=0,h=0,i=0;g=yb;yb=yb+16|0;i=g+4|0;h=g;e=Jg(a,d,e)|0;ki(i,h,b,c,d);c=+Sp(e,+f[i>>2],+f[h>>2]);yb=g;return +c}function Sp(a,b,c){a=a|0;b=+b;c=+c;return +(+Tp(a,b,c))}function Tp(a,b,c){a=a|0;b=+b;c=+c;b=+Xh(b,0.0,+(((Lg(a)|0)+-2|0)>>>0));return +(+Ai(a,b,+Xh(c,0.0,+(((Mg(a)|0)+-2|0)>>>0))))}function Up(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;e=a+4|0;g=c[a>>2]|0;f=(c[e>>2]|0)-g|0;if(f>>>0>=b>>>0){if(f>>>0>b>>>0)c[e>>2]=g+b}else Vp(a,b-f|0,d);return}function Vp(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;k=yb;yb=yb+32|0;h=k;i=b+8|0;j=b+4|0;f=c[j>>2]|0;do if(((c[i>>2]|0)-f|0)>>>0>>0){f=f-(c[b>>2]|0)+d|0;g=kg(b)|0;if(g>>>0>>0)CO(b);else{l=c[b>>2]|0;m=(c[i>>2]|0)-l|0;i=m<<1;lg(h,m>>>0>>1>>>0?(i>>>0>>0?f:i):g,(c[j>>2]|0)-l|0,b+8|0);Wp(h,d,e);mg(b,h);ng(h);break}}else do{a[f>>0]=a[e>>0]|0;f=(c[j>>2]|0)+1|0;c[j>>2]=f;d=d+-1|0}while((d|0)!=0);while(0);yb=k;return}function Wp(b,d,e){b=b|0;d=d|0;e=e|0;var f=0;f=b+8|0;b=d;d=c[f>>2]|0;do{a[d>>0]=a[e>>0]|0;d=(c[f>>2]|0)+1|0;c[f>>2]=d;b=b+-1|0}while((b|0)!=0);return}function Xp(a){a=a|0;var b=0,d=0,e=0;b=yb;yb=yb+272|0;e=b+256|0;d=b;Ta(e|0)|0;Ra(d|0,256,34263,Oa(e|0)|0)|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;eO(a,d,Wf(d)|0);yb=b;return}function Yp(a){a=a|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;c[a+20>>2]=0;c[a+24>>2]=0;c[a+28>>2]=0;return}function Zp(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;i=yb;yb=yb+16|0;f=i;c[a>>2]=c[b>>2];c[a+4>>2]=c[b+4>>2];c[a+8>>2]=c[b+8>>2];c[a+12>>2]=c[b+12>>2];c[a+16>>2]=c[b+16>>2];c[a+20>>2]=c[b+20>>2];g=a+24|0;h=c[b+24>>2]|0;c[f>>2]=h;e=f+4|0;b=c[b+28>>2]|0;c[e>>2]=b;if(!b){d=e;b=0}else{d=b+4|0;c[d>>2]=(c[d>>2]|0)+1;d=e;b=c[e>>2]|0}c[f>>2]=c[g>>2];c[g>>2]=h;h=a+28|0;c[d>>2]=c[h>>2];c[h>>2]=b;_p(f);yb=i;return}function _p(a){a=a|0;var b=0,d=0;a=c[a+4>>2]|0;if(a|0?(d=a+4|0,b=c[d>>2]|0,c[d>>2]=b+-1,(b|0)==0):0){Qb[c[(c[a>>2]|0)+8>>2]&255](a);YN(a)}return}function $p(a,b){a=a|0;b=b|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;c[a+20>>2]=0;c[a+24>>2]=0;c[a+28>>2]=0;Zp(a,b);return}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,l=0,m=0,n=0,o=0;l=yb;yb=yb+32|0;i=l+16|0;j=l+8|0;k=l;if(!d){h=Vf(Vf(NE(Vf(Vf(Vf(56032,34281)|0,34314)|0,35e3)|0,127)|0,35007)|0,34386)|0;GE(i,h+(c[(c[h>>2]|0)+-12>>2]|0)|0);m=VF(i,56736)|0;m=Gb[c[(c[m>>2]|0)+28>>2]&63](m,10)|0;WF(i);OE(h,m)|0;KE(h)|0;ua()}if(!e){m=Vf(Vf(NE(Vf(Vf(Vf(56032,34407)|0,34314)|0,35e3)|0,128)|0,35007)|0,34441)|0;GE(i,m+(c[(c[m>>2]|0)+-12>>2]|0)|0);h=VF(i,56736)|0;h=Gb[c[(c[h>>2]|0)+28>>2]&63](h,10)|0;WF(i);OE(m,h)|0;KE(m)|0;ua()}if(f>>>0>>0){m=Vf(Vf(NE(Vf(Vf(Vf(56032,34463)|0,34314)|0,35e3)|0,129)|0,35007)|0,34500)|0;GE(i,m+(c[(c[m>>2]|0)+-12>>2]|0)|0);h=VF(i,56736)|0;h=Gb[c[(c[h>>2]|0)+28>>2]&63](h,10)|0;WF(i);OE(m,h)|0;KE(m)|0;ua()}if(!g){m=Vf(Vf(NE(Vf(Vf(Vf(56032,34545)|0,34314)|0,35e3)|0,130)|0,35007)|0,34581)|0;GE(i,m+(c[(c[m>>2]|0)+-12>>2]|0)|0);h=VF(i,56736)|0;h=Gb[c[(c[h>>2]|0)+28>>2]&63](h,10)|0;WF(i);OE(m,h)|0;KE(m)|0;ua()}if((f|0)<0)f=B(B(g,d)|0,bq(b)|0)|0;c[a+12>>2]=f;f=B(f,e)|0;h=a+20|0;if((c[h>>2]|0)!=(f|0)?(m=a+24|0,o=sB(f)|0,c[k>>2]=0,c[i>>2]=c[k>>2],cq(j,o,i),o=c[j>>2]|0,c[j>>2]=c[m>>2],c[m>>2]=o,o=j+4|0,k=a+28|0,n=c[o>>2]|0,c[o>>2]=c[k>>2],c[k>>2]=n,_p(j),(c[m>>2]|0)==0):0){o=Vf(Vf(NE(Vf(Vf(Vf(56032,34615)|0,34314)|0,35e3)|0,149)|0,35007)|0,34650)|0;GE(i,o+(c[(c[o>>2]|0)+-12>>2]|0)|0);n=VF(i,56736)|0;n=Gb[c[(c[n>>2]|0)+28>>2]&63](n,10)|0;WF(i);OE(o,n)|0;KE(o)|0;ua()}c[a>>2]=b;c[a+4>>2]=d;c[a+8>>2]=e;c[a+16>>2]=g;c[h>>2]=f;yb=l;return}function bq(a){a=a|0;var b=0,d=0;d=yb;yb=yb+16|0;b=d;switch(a|0){case 1:break;case 2:{a=4;break}default:{d=O(16)|0;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;eO(b,34774,Wf(34774)|0);kj(d,b);Q(d|0,13208,5)}}yb=d;return a|0}function cq(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;d=yb;yb=yb+16|0;e=d;c[a>>2]=b;f=rB(16)|0;c[f+4>>2]=0;c[f+8>>2]=0;c[f>>2]=15768;c[f+12>>2]=b;c[a+4>>2]=f;c[e>>2]=b;c[e+4>>2]=b;dq(a,e);yb=d;return}function dq(a,b){a=a|0;b=b|0;return}function eq(a){a=a|0;XN(a);QA(a);return}function fq(a){a=a|0;QA(c[a+12>>2]|0);return}function gq(a,b){a=a|0;b=b|0;return ((c[b+4>>2]|0)==34671?a+12|0:0)|0}function hq(a){a=a|0;Nf(a,16);return}function iq(b,d,e,f,g,h,i){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0;j=yb;yb=yb+16|0;k=j+8|0;l=j+4|0;m=j;c[b>>2]=e;c[b+4>>2]=f;c[b+8>>2]=g;c[b+16>>2]=i;c[b+20>>2]=B(h,g)|0;c[m>>2]=0;a[l>>0]=a[j+12>>0]|0;c[k>>2]=c[m>>2];jq(b+24|0,d,l,k);if((h|0)<0)h=B(B(i,f)|0,bq(e)|0)|0;c[b+12>>2]=h;yb=j;return}function jq(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;e=yb;yb=yb+16|0;d=e;c[a>>2]=b;f=rB(16)|0;c[f+4>>2]=0;c[f+8>>2]=0;c[f>>2]=15796;c[f+12>>2]=b;c[a+4>>2]=f;c[d>>2]=b;c[d+4>>2]=b;dq(a,d);yb=e;return}function kq(a,b){a=a|0;b=b|0;return}function lq(a){a=a|0;XN(a);QA(a);return}function mq(a){a=a|0;a=a+12|0;kq(a,c[a>>2]|0);return}function nq(a,b){a=a|0;b=b|0;return ((c[b+4>>2]|0)==34793?a+12|0:0)|0}function oq(a){a=a|0;Nf(a,16);return}function pq(a){a=a|0;_p(a+24|0);return}function qq(a){a=a|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;return}function rq(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;f=a+4|0;e=0;while(1){g=c[a>>2]|0;if(e>>>0>=(c[f>>2]|0)-g>>3>>>0)break;g=c[g+(e<<3)>>2]|0;Ub[c[(c[g>>2]|0)+8>>2]&3](g,b,d);e=e+1|0}return}function sq(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;f=yb;yb=yb+48|0;i=f;h=f+28|0;g=f+16|0;c[i>>2]=e;c[g>>2]=0;c[g+4>>2]=0;c[g+8>>2]=0;eO(g,d,Wf(d)|0);tq(h,g,i);rq(a,b,h);hO(h);hO(g);yb=f;return}function tq(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;f=yb;yb=yb+2048|0;g=f;Hx(g,2048,(a[d+11>>0]|0)<0?c[d>>2]|0:d,e)|0;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;eO(b,g,Wf(g)|0);yb=f;return}function uq(a){a=a|0;g[a>>3]=-1.0;g[a+8>>3]=-1.0;return}function vq(a){a=a|0;var b=0,d=0;b=yb;yb=yb+16|0;d=b;Ka(d|0,0)|0;g[a>>3]=+(c[d+4>>2]|0)*1.0e-06+ +(c[d>>2]|0);yb=b;return}function wq(a){a=a|0;var b=0,d=0;d=yb;yb=yb+16|0;b=d;if(!(+g[a>>3]>=0.0)){d=Vf(Vf(NE(Vf(Vf(Vf(56032,34888)|0,34927)|0,35e3)|0,67)|0,35007)|0,35010)|0;GE(b,d+(c[(c[d>>2]|0)+-12>>2]|0)|0);a=VF(b,56736)|0;a=Gb[c[(c[a>>2]|0)+28>>2]&63](a,10)|0;WF(b);OE(d,a)|0;KE(d)|0;ua()}else{Ka(b|0,0)|0;g[a+8>>3]=+(c[b+4>>2]|0)*1.0e-06+ +(c[b>>2]|0);yb=d;return}}function xq(a){a=a|0;var b=0.0,d=0,e=0.0,f=0,h=0,i=0;f=yb;yb=yb+16|0;d=f;e=+g[a>>3];if(!(e>=0.0)){h=Vf(Vf(NE(Vf(Vf(Vf(56032,34888)|0,34927)|0,35e3)|0,80)|0,35007)|0,35010)|0;GE(d,h+(c[(c[h>>2]|0)+-12>>2]|0)|0);i=VF(d,56736)|0;i=Gb[c[(c[i>>2]|0)+28>>2]&63](i,10)|0;WF(d);OE(h,i)|0;KE(h)|0;ua()}b=+g[a+8>>3];if(!(b>=0.0)){i=Vf(Vf(NE(Vf(Vf(Vf(56032,35037)|0,34927)|0,35e3)|0,81)|0,35007)|0,35075)|0;GE(d,i+(c[(c[i>>2]|0)+-12>>2]|0)|0);h=VF(d,56736)|0;h=Gb[c[(c[h>>2]|0)+28>>2]&63](h,10)|0;WF(d);OE(i,h)|0;KE(i)|0;ua()}else{yb=f;return +(b-e)}return +(0.0)}function yq(a){a=a|0;return +(+xq(a)*1.0e3)}function zq(a,b){a=a|0;b=b|0;var d=0;uq(a);d=a+16|0;c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;eO(d,b,Wf(b)|0);vq(a);return}function Aq(b){b=b|0;var d=0,e=0,f=0,h=0,i=0,j=0,k=0,l=0.0;k=yb;yb=yb+48|0;j=k;d=k+24|0;wq(b);f=wk()|0;Xp(d);h=(a[d+11>>0]|0)<0?c[d>>2]|0:d;i=b+16|0;if((a[i+11>>0]|0)<0)e=c[i>>2]|0;else e=i;l=+yq(b);c[j>>2]=35129;c[j+4>>2]=h;c[j+8>>2]=35137;c[j+12>>2]=e;g[j+16>>3]=l;sq(f,8,35102,j);hO(d);hO(i);yb=k;return}function Bq(){Cq();Dq();Eq();return}function Cq(){c[13871]=0;c[13872]=0;c[13873]=0;c[13874]=0;c[13875]=1065353216;return}function Dq(){c[13876]=0;c[13877]=0;c[13878]=0;c[13879]=0;c[13880]=1065353216;return}function Eq(){Fq(0);return}function Fq(a){a=a|0;var b=0;a=yb;yb=yb+16|0;b=a;Hq(35173,26);Jq(35179,67);Jq(35188,68);Mq(35197,20);Mq(35208,21);Mq(35224,22);Qq(35238,23);Jq(35256,69);Tq(35276,70);Hq(35288,27);Qq(35305,24);Hq(35325,28);Hq(35343,29);Qq(35365,25);Qq(35388,26);Jq(35417,71);Jq(35430,72);Jq(35443,73);Hq(35459,30);Qq(35478,27);Qq(35488,28);Qq(35501,29);Jq(35514,74);Jq(35527,75);ir(35546,114);kr(35558,1);mr(35570,1);or(35593,1);mr(35616,2);or(35638,2);sr(35660,40);Jq(35677,76);sr(35694,41);Jq(35707,77);sr(35720,42);Jq(35744,78);zr(35768,3);or(35781,3);sr(35794,43);Jq(35812,79);sr(35830,44);Jq(35846,80);sr(35862,45);Jq(35879,81);Hr(35896,15816);Hr(35925,15820);Hr(35953,15824);c[b>>2]=0;Hr(35986,b);c[b>>2]=1;Hr(36003,b);c[b>>2]=0;Hr(36019,b);c[b>>2]=0;Hr(36041,b);c[b>>2]=1;Hr(36066,b);c[b>>2]=1;Hr(36091,b);c[b>>2]=100;Hr(36116,b);c[b>>2]=0;Hr(36143,b);c[b>>2]=1;Hr(36169,b);c[b>>2]=0;Hr(36195,b);c[b>>2]=0;Hr(36222,b);c[b>>2]=1;Hr(36249,b);c[b>>2]=2;Hr(36275,b);c[b>>2]=3;Hr(36300,b);c[b>>2]=4;Hr(36338,b);c[b>>2]=0;Hr(36375,b);c[b>>2]=0;Hr(36409,b);c[b>>2]=1;Hr(36433,b);c[b>>2]=2;Hr(36459,b);c[b>>2]=2;Hr(36486,b);c[b>>2]=5;Hr(36520,b);g[b>>3]=.5;Ir(36538,b);c[b>>2]=0;Hr(36559,b);c[b>>2]=1;Hr(36578,b);c[b>>2]=2;Hr(36596,b);c[b>>2]=3;Hr(36614,b);c[b>>2]=4;Hr(36633,b);c[b>>2]=3;Hr(36655,b);c[b>>2]=515;Hr(36674,b);c[b>>2]=259;Hr(36703,b);c[b>>2]=4;Hr(36731,b);c[b>>2]=772;Hr(36750,b);c[b>>2]=1028;Hr(36780,b);c[b>>2]=0;Hr(36810,b);c[b>>2]=1;Hr(36841,b);c[b>>2]=2;Hr(36877,b);c[b>>2]=3;Hr(36911,b);c[b>>2]=0;Hr(36949,b);c[b>>2]=1;Hr(36982,b);c[b>>2]=2;Hr(37029,b);c[b>>2]=3;Hr(37071,b);c[b>>2]=4;Hr(37114,b);c[b>>2]=5;Hr(37166,b);c[b>>2]=6;Hr(37217,b);c[b>>2]=7;Hr(37262,b);c[b>>2]=8;Hr(37301,b);c[b>>2]=9;Hr(37346,b);yb=a;return}function Gq(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;i=yb;yb=yb+16|0;h=i+8|0;f=i+12|0;g=c[13882]|0;c[13882]=g+1;c[f>>2]=g;g=Sr(55484,f)|0;c[g>>2]=c[f>>2];c[g+208>>2]=a;c[g+212>>2]=b;e=B(a<<2,b)|0;a=g+200|0;c[a>>2]=e;b=g+196|0;c[b>>2]=DO(e)|0;e=g+204|0;c[e>>2]=DO((c[a>>2]|0)/4|0)|0;j=fd()|0;c[g+220>>2]=j;if(!j)Se(0,3,41354,i);wt(c[f>>2]|0,d)|0;c[h>>2]=c[a>>2];Se(0,1,41391,h);za(0,c[g>>2]|0,c[b>>2]|0,c[a>>2]|0,g+344|0,51360,c[e>>2]|0)|0;yb=i;return c[g>>2]|0}function Hq(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=yb;yb=yb+16|0;d=c;e=rt(d)|0;d=st(d)|0;ka(a|0,e|0,d|0,tt()|0,8,b|0);yb=c;return}function Iq(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;g=yb;yb=yb+16|0;d=g;c[d>>2]=a;if(!(Rr(55484,d)|0))a=-1;else{f=Sr(55484,d)|0;a=f+196|0;b=c[a>>2]|0;if(b|0){EO(b);c[a>>2]=0;c[f+200>>2]=0}nt(f);hd(c[f+220>>2]|0)|0;ot(55484,d)|0;b=f+328|0;d=f+332|0;a=0;while(1){e=c[b>>2]|0;if(a>>>0>=(c[d>>2]|0)-e>>3>>>0)break;Me(c[e+(a<<3)+4>>2]|0)|0;a=a+1|0}Xr(b);QA(b);Wr(f);QA(f);a=0}yb=g;return a|0}function Jq(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=yb;yb=yb+16|0;d=c;e=jt(d)|0;d=kt(d)|0;ka(a|0,e|0,d|0,Ls()|0,30,b|0);yb=c;return}function Kq(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;g=yb;yb=yb+16|0;f=g;b=g+4|0;c[b>>2]=a;if(!(Rr(55484,b)|0))a=-1;else{b=Sr(55484,b)|0;e=b+192|0;a=yt(c[e>>2]|0,c[b+472>>2]|0)|0;d=b+236|0;c[d>>2]=a;if(!a){Se(0,3,41323,f);b=b+232|0;Jf(b)|0;a=c[d>>2]|0}else b=b+232|0;We(a,5.0)|0;Ve(c[d>>2]|0,.5)|0;Ye(c[d>>2]|0,16)|0;Xe(c[d>>2]|0,6)|0;Ze(c[d>>2]|0,6)|0;_e(c[d>>2]|0,6)|0;c[b>>2]=it(c[e>>2]|0)|0;a=0}yb=g;return a|0}function Lq(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;g=yb;yb=yb+16|0;f=g;e=g+4|0;c[e>>2]=b;do if(Rr(55484,e)|0){e=Sr(55484,e)|0;if((a[d+11>>0]|0)<0)d=c[d>>2]|0;b=e+340|0;if(!(ht(d,b,e+220|0)|0)){Se(0,3,41233,f);b=-1;break}else{b=c[b>>2]|0;break}}else b=-1;while(0);yb=g;return b|0}function Mq(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=yb;yb=yb+16|0;d=c;e=dt(d)|0;d=et(d)|0;ka(a|0,e|0,d|0,Vs()|0,31,b|0);yb=c;return}function Nq(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;j=yb;yb=yb+16|0;g=j+8|0;e=j+12|0;i=j;c[e>>2]=b;do if(!(Rr(55484,e)|0))b=-1;else{h=Sr(55484,e)|0;if((a[d+11>>0]|0)<0)b=c[d>>2]|0;else b=d;f=h+224|0;if(!(Zs(b,c[h+216>>2]|0,h+220|0,f)|0)){Se(0,3,41157,g);b=-1;break}b=h+328|0;e=h+332|0;d=c[e>>2]|0;c[i>>2]=d-(c[b>>2]|0)>>3;c[i+4>>2]=c[f>>2];if((c[h+336>>2]|0)==(d|0))_s(b,i);else{f=i;g=c[f+4>>2]|0;h=d;c[h>>2]=c[f>>2];c[h+4>>2]=g;c[e>>2]=(c[e>>2]|0)+8}b=c[i>>2]|0}while(0);yb=j;return b|0}function Oq(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;i=yb;yb=yb+16|0;h=i;e=i+4|0;c[e>>2]=b;do if(Rr(55484,e)|0){f=Sr(55484,e)|0;g=f+244|0;b=c[g>>2]|0;if((a[d+11>>0]|0)<0)e=c[d>>2]|0;else e=d;if(!(Ys(f,b,e)|0)){Se(0,3,40842,h);b=-1;break}else{c[g>>2]=(c[g>>2]|0)+1;break}}else b=-1;while(0);yb=i;return b|0}function Pq(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;g=yb;yb=yb+16|0;e=g;c[e>>2]=a;if(((Rr(55484,e)|0)!=0?(f=Sr(55484,e)|0,(b|0)>=0):0)?(d=c[f+328>>2]|0,(c[f+332>>2]|0)-d>>3>>>0>b>>>0):0)a=c[(c[d+(b<<3)+4>>2]|0)+4>>2]|0;else a=-1;yb=g;return a|0}function Qq(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=yb;yb=yb+16|0;d=c;e=Ts(d)|0;d=Us(d)|0;ka(a|0,e|0,d|0,Vs()|0,32,b|0);yb=c;return}function Rq(a){a=a|0;var b=0,d=0;d=yb;yb=yb+16|0;b=d;c[b>>2]=a;if(!(Rr(55484,b)|0))a=-1;else{a=Sr(55484,b)|0;a=(c[a+332>>2]|0)-(c[a+328>>2]|0)>>3}yb=d;return a|0}function Sq(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;i=yb;yb=yb+208|0;h=i+192|0;g=i+184|0;d=i;e=b+11|0;if((a[e>>0]|0)<0)f=c[b>>2]|0;else f=b;if((ie(f,1,d,g)|0)<0){if((a[e>>0]|0)<0)b=c[b>>2]|0;c[h>>2]=b;Se(0,3,40778,h);b=-1}else{b=c[13881]|0;c[13881]=b+1;c[g>>2]=b;YO(Ps(55504,g)|0,d|0,184)|0;b=c[g>>2]|0}yb=i;return b|0}function Tq(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=yb;yb=yb+16|0;d=c;e=Js(d)|0;d=Ks(d)|0;ka(a|0,e|0,d|0,Ls()|0,31,b|0);yb=c;return}function Uq(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=yb;yb=yb+16|0;e=f;c[e>>2]=a;do if(Rr(55484,e)|0){a=c[(Sr(55484,e)|0)+216>>2]|0;if((c[a+44>>2]|0)>(b|0)){c[((b|0)<0?54536:a+48+(b<<8)|0)+16>>2]=d;a=0;break}else{a=c[3956]|0;break}}else a=c[3954]|0;while(0);yb=f;return a|0}function Vq(a,b){a=a|0;b=b|0;var d=0,e=0,f=0.0,h=0.0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0,n=0.0;e=yb;yb=yb+16|0;d=e;c[d>>2]=a;do if(Rr(55484,d)|0){a=c[(Sr(55484,d)|0)+216>>2]|0;if((c[a+44>>2]|0)>(b|0)){a=(b|0)<0?54536:a+48+(b<<8)|0;n=+g[6420];g[a+168>>3]=n;j=+g[6421];g[a+176>>3]=j;m=+g[6422];g[a+184>>3]=m;i=+g[6423];g[a+192>>3]=i;l=+g[6424];g[a+200>>3]=l;h=+g[6425];g[a+208>>3]=h;k=+g[6426];g[a+216>>3]=k;f=+g[6427];g[a+224>>3]=f;g[a+56>>3]=(n+m+l+k)*.25;g[a+64>>3]=(j+i+h+f)*.25;a=0;break}else{a=c[3956]|0;break}}else a=c[3954]|0;while(0);yb=e;return a|0}function Wq(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=yb;yb=yb+16|0;e=f;c[e>>2]=a;do if(Rr(55484,e)|0){a=Sr(55484,e)|0;e=c[a+216>>2]|0;if((c[e+44>>2]|0)>(b|0)){+Sc(c[a+228>>2]|0,(b|0)<0?54536:e+48+(b<<8)|0,+(d|0),51360);a=0;break}else{a=c[3956]|0;break}}else a=c[3954]|0;while(0);yb=f;return a|0}function Xq(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=yb;yb=yb+16|0;e=f;c[e>>2]=a;do if(Rr(55484,e)|0){a=Sr(55484,e)|0;e=c[a+216>>2]|0;if((c[e+44>>2]|0)>(b|0)){+Tc(c[a+228>>2]|0,(b|0)<0?54536:e+48+(b<<8)|0,51360,+(d|0),51360);a=0;break}else{a=c[3956]|0;break}}else a=c[3954]|0;while(0);yb=f;return a|0}function Yq(a,b){a=a|0;b=b|0;var d=0,e=0;e=yb;yb=yb+16|0;d=e;c[d>>2]=a;do if(Rr(55484,d)|0){d=Sr(55484,d)|0;a=c[d+328>>2]|0;if((b|0)<0?1:(c[d+332>>2]|0)-a>>3>>>0<=b>>>0){a=c[3955]|0;break}else{a=c[a+(b<<3)+4>>2]|0;b=c[d+216>>2]|0;+Ne(c[d+228>>2]|0,b+48|0,c[b+44>>2]|0,a);Is(a+8|0,51360);a=0;break}}else a=c[3954]|0;while(0);yb=e;return a|0}function Zq(a,b){a=a|0;b=b|0;var d=0,e=0;e=yb;yb=yb+16|0;d=e;c[d>>2]=a;do if(Rr(55484,d)|0){d=Sr(55484,d)|0;a=c[d+328>>2]|0;if((b|0)<0?1:(c[d+332>>2]|0)-a>>3>>>0<=b>>>0){a=c[3955]|0;break}else{a=c[a+(b<<3)+4>>2]|0;b=c[d+216>>2]|0;+Pe(c[d+228>>2]|0,b+48|0,c[b+44>>2]|0,a);Is(a+8|0,51360);a=0;break}}else a=c[3954]|0;while(0);yb=e;return a|0}function _q(a){a=a|0;var b=0,d=0,e=0,f=0;f=yb;yb=yb+48|0;b=f+40|0;e=f;c[b>>2]=a;if(!(Rr(55484,b)|0))a=c[3954]|0;else{a=Sr(55484,b)|0;b=e;d=b+40|0;do{c[b>>2]=0;b=b+4|0}while((b|0)<(d|0));c[e>>2]=c[a+196>>2];c[e+16>>2]=1;c[e+12>>2]=c[a+204>>2];a=Kc(c[a+216>>2]|0,e)|0}yb=f;return a|0}function $q(a){a=a|0;var b=0,d=0;d=yb;yb=yb+16|0;b=d;c[b>>2]=a;if(!(Rr(55484,b)|0))a=15816;else a=(c[(Sr(55484,b)|0)+216>>2]|0)+44|0;yb=d;return c[a>>2]|0}function ar(a){a=a|0;var b=0,d=0;d=yb;yb=yb+16|0;b=d;c[b>>2]=a;if(Rr(55484,b)|0)Sr(55484,b)|0;yb=d;return -1}function br(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=yb;yb=yb+16|0;e=f;c[e>>2]=a;do if(Rr(55484,e)|0){e=Sr(55484,e)|0;a=c[e+328>>2]|0;if((b|0)<0?1:(c[e+332>>2]|0)-a>>3>>>0<=b>>>0){a=c[3955]|0;break}a=c[a+(b<<3)+4>>2]|0;if((d|0)<0?1:(c[a+4>>2]|0)<=(d|0)){a=c[3956]|0;break}else{a=c[a>>2]|0;Is(a+(d*320|0)+16|0,51360);ya(1,c[a+(d*320|0)+304>>2]|0,c[a+(d*320|0)>>2]|0,c[a+(d*320|0)+4>>2]|0,+(+g[a+(d*320|0)+8>>3]))|0;a=0;break}}else a=c[3954]|0;while(0);yb=f;return a|0}function cr(a,b){a=a|0;b=b|0;var d=0,e=0;e=yb;yb=yb+16|0;d=e;c[d>>2]=a;do if(Rr(55484,d)|0){a=c[(Sr(55484,d)|0)+216>>2]|0;if((c[a+44>>2]|0)>(b|0)){a=(b|0)<0?54536:a+48+(b<<8)|0;Aa(2,c[a>>2]|0,c[a+4>>2]|0,c[a+8>>2]|0,c[a+12>>2]|0,c[a+16>>2]|0,c[a+20>>2]|0,c[a+24>>2]|0,+(+g[a+32>>3]),+(+g[a+40>>3]),+(+g[a+48>>3]),+(+g[a+56>>3]),+(+g[a+64>>3]),+(+g[a+72>>3]),+(+g[a+80>>3]),+(+g[a+88>>3]),+(+g[a+96>>3]),+(+g[a+104>>3]),+(+g[a+112>>3]),+(+g[a+120>>3]),+(+g[a+128>>3]),+(+g[a+136>>3]),+(+g[a+144>>3]),+(+g[a+152>>3]),+(+g[a+160>>3]),+(+g[a+168>>3]),+(+g[a+176>>3]),+(+g[a+184>>3]),+(+g[a+192>>3]),+(+g[a+200>>3]),+(+g[a+208>>3]),+(+g[a+216>>3]),+(+g[a+224>>3]),c[a+240>>2]|0)|0;a=0;break}else{a=c[3956]|0;break}}else a=c[3954]|0;while(0);yb=e;return a|0}function dr(a,b){a=a|0;b=b|0;var d=0,e=0,g=0.0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;r=yb;yb=yb+80|0;q=r+56|0;p=r+48|0;d=r+72|0;i=r+76|0;e=r+68|0;n=r;o=r+64|0;c[d>>2]=a;do if(!(Rr(55484,d)|0))a=c[3954]|0;else{k=Sr(55484,d)|0;l=k+244|0;if((c[l>>2]|0)<=(b|0)){a=c[3956]|0;break}c[i>>2]=0;c[e>>2]=-1;f[o>>2]=-1.0;m=k+240|0;a=c[m>>2]|0;do if((a|0)==-2){j=k+232|0;wg(c[j>>2]|0,c[k+204>>2]|0)|0;yg(c[j>>2]|0,i,e)|0;e=c[e>>2]|0;j=c[i>>2]|0;a=-1;d=0;while(1){if((d|0)>=(e|0))break;do if((c[j+(d*68|0)+48>>2]|0)==(b|0)?(c[j+(d*68|0)+60>>2]|0)==0:0){if((a|0)==-1)a=c[j+(d*68|0)+52>>2]|0;else{g=+f[j+(d*68|0)+52>>2];if(!(+f[o>>2]>g))break;a=(f[h>>2]=g,c[h>>2]|0)}c[o>>2]=a;a=d}while(0);d=d+1|0}if((a|0)<=-1){c[m>>2]=-2;d=30;break}i=c[j+48>>2]|0;c[m>>2]=i;e=0;while(1){if((e|0)==3)break;d=0;while(1){if((d|0)==4)break;c[n+(e<<4)+(d<<2)>>2]=c[j+(a*68|0)+(e<<4)+(d<<2)>>2];d=d+1|0}e=e+1|0}tf(c[k+248+(i<<2)>>2]|0,n)|0;a=c[m>>2]|0;d=25}else d=25;while(0);do if((d|0)==25)if((a|0)>-1){a=At(c[k+236>>2]|0,c[k+248+(a<<2)>>2]|0,c[k+196>>2]|0,n,o)|0;if((a|0)<0){c[p>>2]=a;Se(0,1,37701,p);c[m>>2]=-2;d=30;break}p=(c[l>>2]|0)+-1|0;c[q>>2]=c[k+248+(c[m>>2]<<2)>>2];c[q+4>>2]=p;Se(0,1,37720,q);if((c[m>>2]|0)>-1)xa(3,b|0,+(+f[o>>2]),+(+f[n>>2]),+(+f[n+4>>2]),+(+f[n+8>>2]),+(+f[n+12>>2]),+(+f[n+16>>2]),+(+f[n+20>>2]),+(+f[n+24>>2]),+(+f[n+28>>2]),+(+f[n+32>>2]),+(+f[n+36>>2]),+(+f[n+40>>2]),+(+f[n+44>>2]))|0;else d=30}else d=30;while(0);if((d|0)==30)wa(4,b|0)|0;a=0}while(0);yb=r;return a|0}function er(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=yb;yb=yb+16|0;e=f;d=f+4|0;c[d>>2]=a;if(!(Rr(55484,d)|0))b=0;else{a=(b|0)!=0;rc(c[(Sr(55484,d)|0)+216>>2]|0,a&1)|0;c[e>>2]=a?37670:37674;Se(0,1,37679,e)}yb=f;return b|0}function fr(a){a=a|0;var b=0,d=0,e=0;e=yb;yb=yb+16|0;b=e;d=e+4|0;c[b>>2]=a;if(!(Rr(55484,b)|0))a=0;else{vc(c[(Sr(55484,b)|0)+216>>2]|0,d)|0;a=c[d>>2]|0}yb=e;return a|0}function gr(a){a=a|0;var b=0,d=0;d=yb;yb=yb+16|0;b=d;c[b>>2]=a;if(!(Rr(55484,b)|0))a=0;else a=c[(c[(Sr(55484,b)|0)+216>>2]|0)+4834148>>2]|0;yb=d;return a|0}function hr(a){a=a|0;c[3916]=a;return}function ir(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=yb;yb=yb+16|0;d=c;e=Ds(d)|0;d=Es(d)|0;ka(a|0,e|0,d|0,Fs()|0,46,b|0);yb=c;return}function jr(){return c[3916]|0}function kr(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=yb;yb=yb+16|0;d=c;e=ys(d)|0;d=zs(d)|0;ka(a|0,e|0,d|0,As()|0,82,b|0);yb=c;return}function lr(a,b){a=a|0;b=+b;var d=0,e=0;e=yb;yb=yb+16|0;d=e;c[d>>2]=a;if(Rr(55484,d)|0)g[(Sr(55484,d)|0)+312>>3]=b;yb=e;return}function mr(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=yb;yb=yb+16|0;d=c;e=ss(d)|0;d=ts(d)|0;ka(a|0,e|0,d|0,us()|0,1,b|0);yb=c;return}function nr(a){a=a|0;var b=0.0,d=0,e=0;e=yb;yb=yb+16|0;d=e;c[d>>2]=a;if(!(Rr(55484,d)|0))b=-1.0;else b=+g[(Sr(55484,d)|0)+312>>3];yb=e;return +b}function or(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=yb;yb=yb+16|0;d=c;e=ns(d)|0;d=os(d)|0;ka(a|0,e|0,d|0,ps()|0,1,b|0);yb=c;return}function pr(a,b){a=a|0;b=+b;var d=0,e=0;e=yb;yb=yb+16|0;d=e;c[d>>2]=a;if(Rr(55484,d)|0)g[(Sr(55484,d)|0)+320>>3]=b;yb=e;return}function qr(a){a=a|0;var b=0.0,d=0,e=0;e=yb;yb=yb+16|0;d=e;c[d>>2]=a;if(!(Rr(55484,d)|0))b=-1.0;else b=+g[(Sr(55484,d)|0)+320>>3];yb=e;return +b}function rr(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=yb;yb=yb+16|0;e=f;d=f+4|0;c[d>>2]=a;if(Rr(55484,d)|0?(sc(c[(Sr(55484,d)|0)+216>>2]|0,b)|0)==0:0){c[e>>2]=b;Se(0,1,37628,e)}yb=f;return}function sr(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=yb;yb=yb+16|0;d=c;e=is(d)|0;d=js(d)|0;ka(a|0,e|0,d|0,ks()|0,2,b|0);yb=c;return}function tr(a){a=a|0;var b=0,d=0,e=0;e=yb;yb=yb+16|0;b=e;d=e+4|0;c[b>>2]=a;if(!(Rr(55484,b)|0))a=-1;else{a=(Ac(c[(Sr(55484,b)|0)+216>>2]|0,d)|0)==0;a=a?c[d>>2]|0:-1}yb=e;return a|0}function ur(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;g=yb;yb=yb+16|0;f=g;d=g+4|0;c[d>>2]=a;if((Rr(55484,d)|0?(e=Sr(55484,d)|0,b>>>0<=255):0)?(yc(c[e+216>>2]|0,b)|0)==0:0){c[f>>2]=b;Se(0,1,37602,f)}yb=g;return}function vr(a){a=a|0;var b=0,d=0,e=0;e=yb;yb=yb+16|0;b=e;d=e+4|0;c[b>>2]=a;if(!(Rr(55484,b)|0))a=-1;else{a=(zc(c[(Sr(55484,b)|0)+216>>2]|0,d)|0)==0;a=a?c[d>>2]|0:-1}yb=e;return a|0}function wr(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=yb;yb=yb+16|0;e=f;d=f+4|0;c[d>>2]=a;if(Rr(55484,d)|0?(Dc(c[(Sr(55484,d)|0)+216>>2]|0,b)|0)==0:0){c[e>>2]=b;Se(0,1,37567,e)}yb=f;return}function xr(a){a=a|0;var b=0,d=0,e=0;e=yb;yb=yb+16|0;b=e;d=e+4|0;c[b>>2]=a;if(!(Rr(55484,b)|0))a=-1;else{a=(Gc(c[(Sr(55484,b)|0)+216>>2]|0,d)|0)==0;a=a?c[d>>2]|0:-1}yb=e;return a|0}function yr(a,b){a=a|0;b=+b;var d=0,e=0,f=0,h=0.0,i=0,j=0;j=yb;yb=yb+16|0;i=j;e=j+8|0;c[e>>2]=a;if(((Rr(55484,e)|0?(f=Sr(55484,e)|0,!(b<=0.0|b>=1.0)):0)?(h=b,d=c[f+216>>2]|0,d|0):0)?(Hc(d,h)|0)==0:0){g[i>>3]=h;Se(0,1,37536,i)}yb=j;return}function zr(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=yb;yb=yb+16|0;d=c;e=bs(d)|0;d=cs(d)|0;ka(a|0,e|0,d|0,ds()|0,2,b|0);yb=c;return}function Ar(a){a=a|0;var b=0.0,d=0,e=0,f=0;f=yb;yb=yb+16|0;d=f+8|0;e=f;c[d>>2]=a;if(!(Rr(55484,d)|0))b=-1.0;else{a=c[(Sr(55484,d)|0)+216>>2]|0;if(!a)b=-1.0;else{d=(Ic(a,e)|0)==0;b=d?+g[e>>3]:-1.0}}yb=f;return +b}function Br(a,b){a=a|0;b=b|0;var d=0,e=0;e=yb;yb=yb+16|0;d=e;c[d>>2]=a;if(Rr(55484,d)|0)Ec(c[(Sr(55484,d)|0)+216>>2]|0,b)|0;yb=e;return}function Cr(a){a=a|0;var b=0,d=0,e=0;e=yb;yb=yb+16|0;b=e;d=e+4|0;c[b>>2]=a;if(!(Rr(55484,b)|0))a=-1;else{Fc(c[(Sr(55484,b)|0)+216>>2]|0,d)|0;a=c[d>>2]|0}yb=e;return a|0}function Dr(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=yb;yb=yb+16|0;e=f;d=f+4|0;c[d>>2]=a;if(Rr(55484,d)|0?(wc(c[(Sr(55484,d)|0)+216>>2]|0,b)|0)==0:0){c[e>>2]=b;Se(0,1,37506,e)}yb=f;return}function Er(a){a=a|0;var b=0,d=0,e=0;e=yb;yb=yb+16|0;b=e;d=e+4|0;c[b>>2]=a;if(!(Rr(55484,b)|0))a=-1;else{a=(xc(c[(Sr(55484,b)|0)+216>>2]|0,d)|0)==0;a=a?c[d>>2]|0:-1}yb=e;return a|0}function Fr(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=yb;yb=yb+16|0;e=f;d=f+4|0;c[d>>2]=a;if(Rr(55484,d)|0?(Bc(c[(Sr(55484,d)|0)+216>>2]|0,b)|0)==0:0){c[e>>2]=b;Se(0,1,37477,e)}yb=f;return}function Gr(a){a=a|0;var b=0,d=0,e=0;e=yb;yb=yb+16|0;b=e;d=e+4|0;c[b>>2]=a;if(!(Rr(55484,b)|0))a=-1;else{a=(Cc(c[(Sr(55484,b)|0)+216>>2]|0,d)|0)==0;a=a?c[d>>2]|0:-1}yb=e;return a|0}function Hr(a,b){a=a|0;b=b|0;var c=0;c=Nr()|0;ha(a|0,c|0,+(+Pr(Or(b)|0)));return}function Ir(a,b){a=a|0;b=b|0;var c=0;c=Jr()|0;ha(a|0,c|0,+(+Lr(+Kr(b))));return}function Jr(){return Mr()|0}function Kr(a){a=a|0;return +(+g[a>>3])}function Lr(a){a=+a;return +a}function Mr(){return 14120}function Nr(){return Qr()|0}function Or(a){a=a|0;return c[a>>2]|0}function Pr(a){a=a|0;return +(+(a|0))}function Qr(){return 14080}function Rr(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;e=c[b>>2]|0;f=c[a+4>>2]|0;a:do if(f){g=f+-1|0;h=(g&f|0)==0;if(!h)if(e>>>0>>0)d=e;else d=(e>>>0)%(f>>>0)|0;else d=g&e;b=c[(c[a>>2]|0)+(d<<2)>>2]|0;if(b)while(1){b=c[b>>2]|0;if(!b){b=0;break a}a=c[b+4>>2]|0;if((a|0)==(e|0)){if((c[b+8>>2]|0)==(e|0))break a}else{if(!h){if(a>>>0>=f>>>0)a=(a>>>0)%(f>>>0)|0}else a=a&g;if((a|0)!=(d|0)){b=0;break a}}}else b=0}else b=0;while(0);return b|0}function Sr(a,b){a=a|0;b=b|0;var d=0,e=0,g=0.0,h=0.0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=yb;yb=yb+32|0;r=s+4|0;l=s;m=s+16|0;c[l>>2]=b;q=c[b>>2]|0;o=a+4|0;i=c[o>>2]|0;p=(i|0)==0;a:do if(!p){k=i+-1|0;e=(k&i|0)==0;if(!e)if(q>>>0>>0)j=q;else j=(q>>>0)%(i>>>0)|0;else j=k&q;b=c[(c[a>>2]|0)+(j<<2)>>2]|0;if(!b){b=j;n=16}else do{b=c[b>>2]|0;if(!b){b=j;n=16;break a}d=c[b+4>>2]|0;if((d|0)!=(q|0)){if(!e){if(d>>>0>=i>>>0)d=(d>>>0)%(i>>>0)|0}else d=d&k;if((d|0)!=(j|0)){b=j;n=16;break a}}}while((c[b+8>>2]|0)!=(q|0))}else{b=0;n=16}while(0);if((n|0)==16){Tr(r,a,q,57661,l,m);j=a+12|0;g=+(((c[j>>2]|0)+1|0)>>>0);h=+f[a+16>>2];do if(p|h*+(i>>>0)>>0<3|(i+-1&i|0)!=0)&1;d=~~+A(+(g/h))>>>0;Ur(a,b>>>0>>0?d:b);b=c[o>>2]|0;d=b+-1|0;if(!(d&b)){i=b;b=d&q;break}if(q>>>0>>0){i=b;b=q}else{i=b;b=(q>>>0)%(b>>>0)|0}}while(0);d=c[(c[a>>2]|0)+(b<<2)>>2]|0;if(!d){e=a+8|0;c[c[r>>2]>>2]=c[e>>2];c[e>>2]=c[r>>2];c[(c[a>>2]|0)+(b<<2)>>2]=e;e=c[r>>2]|0;b=c[e>>2]|0;if(!b)b=r;else{b=c[b+4>>2]|0;d=i+-1|0;if(d&i){if(b>>>0>=i>>>0)b=(b>>>0)%(i>>>0)|0}else b=b&d;c[(c[a>>2]|0)+(b<<2)>>2]=e;b=r}}else{c[c[r>>2]>>2]=c[d>>2];c[d>>2]=c[r>>2];b=r}r=c[b>>2]|0;c[j>>2]=(c[j>>2]|0)+1;c[b>>2]=0;b=r}yb=s;return b+16|0}function 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;h=rB(496)|0;c[b>>2]=h;c[b+4>>2]=d+8;c[h+8>>2]=c[c[g>>2]>>2];g=h+16|0;_O(g|0,0,480)|0;as(g);a[b+8>>0]=1;c[h+4>>2]=e;c[h>>2]=0;return}function Ur(a,b){a=a|0;b=b|0;var d=0,e=0,g=0;if((b|0)!=1){if(b+-1&b)b=yD(b)|0}else b=2;e=c[a+4>>2]|0;if(b>>>0<=e>>>0){if(b>>>0>>0){d=~~+A(+(+((c[a+12>>2]|0)>>>0)/+f[a+16>>2]))>>>0;if(e>>>0>2&(e+-1&e|0)==0){g=1<<32-(C(d+-1|0)|0);d=d>>>0<2?d:g}else d=yD(d)|0;b=b>>>0>>0?d:b;if(b>>>0>>0)$r(a,b)}}else $r(a,b);return}function Vr(a){a=a|0;Wr(a+8|0);return}function Wr(a){a=a|0;Xr(a+328|0);Yr(a+288|0);return}function Xr(a){a=a|0;var b=0,d=0;b=c[a>>2]|0;d=b;if(b|0){c[a+4>>2]=d;Nf(b,(c[a+8>>2]|0)-d|0)}return}function Yr(a){a=a|0;Zr(a);return}function Zr(a){a=a|0;var b=0;_r(a,c[a+8>>2]|0);b=c[a>>2]|0;c[a>>2]=0;if(b|0)Nf(b,c[a+4>>2]<<2);return}function _r(a,b){a=a|0;b=b|0;while(1){if(!b)break;a=c[b>>2]|0;Nf(b,16);b=a}return}function $r(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=a+4|0;a:do if(b){if(b>>>0>1073741823){a=O(8)|0;bO(a,37409);c[a>>2]=16392;Q(a|0,13960,22)}l=rB(b<<2)|0;d=c[a>>2]|0;c[a>>2]=l;if(d|0)Nf(d,c[a+4>>2]<<2);c[e>>2]=b;d=0;while(1){if((d|0)==(b|0))break;c[(c[a>>2]|0)+(d<<2)>>2]=0;d=d+1|0}f=a+8|0;d=c[f>>2]|0;if(d|0){e=c[d+4>>2]|0;k=b+-1|0;l=(k&b|0)==0;if(!l){if(e>>>0>=b>>>0)e=(e>>>0)%(b>>>0)|0}else e=e&k;c[(c[a>>2]|0)+(e<<2)>>2]=f;while(1){j=d;b:while(1){while(1){d=c[j>>2]|0;if(!d)break a;f=c[d+4>>2]|0;if(!l){if(f>>>0>=b>>>0)f=(f>>>0)%(b>>>0)|0}else f=f&k;if((f|0)==(e|0))break;g=(c[a>>2]|0)+(f<<2)|0;if(!(c[g>>2]|0))break b;h=d+8|0;g=d;while(1){i=c[g>>2]|0;if(!i)break;if((c[h>>2]|0)==(c[i+8>>2]|0))g=i;else break}c[j>>2]=i;c[g>>2]=c[c[(c[a>>2]|0)+(f<<2)>>2]>>2];c[c[(c[a>>2]|0)+(f<<2)>>2]>>2]=d}j=d}c[g>>2]=j;e=f}}}else{d=c[a>>2]|0;c[a>>2]=0;if(d|0)Nf(d,c[a+4>>2]<<2);c[e>>2]=0}while(0);return}function as(a){a=a|0;var b=0;c[a+192>>2]=0;c[a+196>>2]=0;b=a+204|0;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;c[b+12>>2]=0;c[b+16>>2]=0;c[b+20>>2]=0;c[a+240>>2]=-2;c[a+244>>2]=0;b=a+288|0;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;c[b+12>>2]=0;c[a+304>>2]=1065353216;g[a+312>>3]=.0001;g[a+320>>3]=1.0e3;b=a+328|0;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;c[b+12>>2]=0;c[a+472>>2]=2;return}function bs(a){a=a|0;return 3}function cs(a){a=a|0;return hs()|0}function ds(){return 37531}function es(a,b,c){a=a|0;b=b|0;c=+c;b=fs(b)|0;c=+gs(c);Rb[a&3](b,c);return}function fs(a){a=a|0;return a|0}function gs(a){a=+a;return +a}function hs(){return 15828}function is(a){a=a|0;return 3}function js(a){a=a|0;return ms()|0}function ks(){return 37623}function ls(a,b,c){a=a|0;b=b|0;c=c|0;b=fs(b)|0;c=fs(c)|0;Sb[a&63](b,c);return}function ms(){return 15840}function ns(a){a=a|0;return 2}function os(a){a=a|0;return rs()|0}function ps(){return 37654}function qs(a,b){a=a|0;b=b|0;var c=0.0,d=0,e=0;d=yb;yb=yb+16|0;e=d;b=fs(b)|0;g[e>>3]=+Bb[a&3](b);c=+Kr(e);yb=d;return +c}function rs(){return 15852}function ss(a){a=a|0;return 3}function ts(a){a=a|0;return xs()|0}function us(){return 37658}function vs(a,b,c){a=a|0;b=b|0;c=+c;b=fs(b)|0;c=+ws(c);Rb[a&3](b,c);return}function ws(a){a=+a;return +a}function xs(){return 15860}function ys(a){a=a|0;return 1}function zs(a){a=a|0;return Cs()|0}function As(){return 37663}function Bs(a){a=a|0;var b=0,d=0;b=yb;yb=yb+16|0;d=b;c[d>>2]=Db[a&1]()|0;a=Or(d)|0;yb=b;return a|0}function Cs(){return 15872}function Ds(a){a=a|0;return 2}function Es(a){a=a|0;return Hs()|0}function Fs(){return 37666}function Gs(a,b){a=a|0;b=b|0;b=fs(b)|0;Qb[a&255](b);return}function Hs(){return 15876}function Is(a,b){a=a|0;b=b|0;var c=0,d=0;d=0;while(1){if((d|0)==3)break;c=0;while(1){if((c|0)==4)break;g[b+(d<<5)+(c<<3)>>3]=+g[a+(d<<5)+(c<<3)>>3];c=c+1|0}d=d+1|0}return}function Js(a){a=a|0;return 2}function Ks(a){a=a|0;return Os()|0}function Ls(){return 40673}function Ms(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=yb;yb=yb+16|0;f=d+12|0;e=d;Ns(e,b);c[f>>2]=Eb[a&127](e)|0;b=Or(f)|0;hO(e);yb=d;return b|0}function Ns(a,b){a=a|0;b=b|0;var d=0;d=c[b>>2]|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;eO(a,b+4|0,d);return}function Os(){return 15884}function Ps(a,b){a=a|0;b=b|0;var d=0,e=0,g=0.0,h=0.0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=yb;yb=yb+32|0;r=s+4|0;l=s;m=s+16|0;c[l>>2]=b;q=c[b>>2]|0;o=a+4|0;i=c[o>>2]|0;p=(i|0)==0;a:do if(!p){k=i+-1|0;e=(k&i|0)==0;if(!e)if(q>>>0>>0)j=q;else j=(q>>>0)%(i>>>0)|0;else j=k&q;b=c[(c[a>>2]|0)+(j<<2)>>2]|0;if(!b){b=j;n=16}else do{b=c[b>>2]|0;if(!b){b=j;n=16;break a}d=c[b+4>>2]|0;if((d|0)!=(q|0)){if(!e){if(d>>>0>=i>>>0)d=(d>>>0)%(i>>>0)|0}else d=d&k;if((d|0)!=(j|0)){b=j;n=16;break a}}}while((c[b+8>>2]|0)!=(q|0))}else{b=0;n=16}while(0);if((n|0)==16){Qs(r,a,q,57661,l,m);j=a+12|0;g=+(((c[j>>2]|0)+1|0)>>>0);h=+f[a+16>>2];do if(p|h*+(i>>>0)>>0<3|(i+-1&i|0)!=0)&1;d=~~+A(+(g/h))>>>0;Rs(a,b>>>0>>0?d:b);b=c[o>>2]|0;d=b+-1|0;if(!(d&b)){i=b;b=d&q;break}if(q>>>0>>0){i=b;b=q}else{i=b;b=(q>>>0)%(b>>>0)|0}}while(0);d=c[(c[a>>2]|0)+(b<<2)>>2]|0;if(!d){e=a+8|0;c[c[r>>2]>>2]=c[e>>2];c[e>>2]=c[r>>2];c[(c[a>>2]|0)+(b<<2)>>2]=e;e=c[r>>2]|0;b=c[e>>2]|0;if(!b)b=r;else{b=c[b+4>>2]|0;d=i+-1|0;if(d&i){if(b>>>0>=i>>>0)b=(b>>>0)%(i>>>0)|0}else b=b&d;c[(c[a>>2]|0)+(b<<2)>>2]=e;b=r}}else{c[c[r>>2]>>2]=c[d>>2];c[d>>2]=c[r>>2];b=r}r=c[b>>2]|0;c[j>>2]=(c[j>>2]|0)+1;c[b>>2]=0;b=r}yb=s;return b+16|0}function Qs(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;h=rB(200)|0;c[b>>2]=h;c[b+4>>2]=d+8;c[h+8>>2]=c[c[g>>2]>>2];_O(h+16|0,0,184)|0;a[b+8>>0]=1;c[h+4>>2]=e;c[h>>2]=0;return}function Rs(a,b){a=a|0;b=b|0;var d=0,e=0,g=0;if((b|0)!=1){if(b+-1&b)b=yD(b)|0}else b=2;e=c[a+4>>2]|0;if(b>>>0<=e>>>0){if(b>>>0>>0){d=~~+A(+(+((c[a+12>>2]|0)>>>0)/+f[a+16>>2]))>>>0;if(e>>>0>2&(e+-1&e|0)==0){g=1<<32-(C(d+-1|0)|0);d=d>>>0<2?d:g}else d=yD(d)|0;b=b>>>0>>0?d:b;if(b>>>0>>0)Ss(a,b)}}else Ss(a,b);return}function Ss(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=a+4|0;a:do if(b){if(b>>>0>1073741823){a=O(8)|0;bO(a,37409);c[a>>2]=16392;Q(a|0,13960,22)}l=rB(b<<2)|0;d=c[a>>2]|0;c[a>>2]=l;if(d|0)Nf(d,c[a+4>>2]<<2);c[e>>2]=b;d=0;while(1){if((d|0)==(b|0))break;c[(c[a>>2]|0)+(d<<2)>>2]=0;d=d+1|0}f=a+8|0;d=c[f>>2]|0;if(d|0){e=c[d+4>>2]|0;k=b+-1|0;l=(k&b|0)==0;if(!l){if(e>>>0>=b>>>0)e=(e>>>0)%(b>>>0)|0}else e=e&k;c[(c[a>>2]|0)+(e<<2)>>2]=f;while(1){j=d;b:while(1){while(1){d=c[j>>2]|0;if(!d)break a;f=c[d+4>>2]|0;if(!l){if(f>>>0>=b>>>0)f=(f>>>0)%(b>>>0)|0}else f=f&k;if((f|0)==(e|0))break;g=(c[a>>2]|0)+(f<<2)|0;if(!(c[g>>2]|0))break b;h=d+8|0;g=d;while(1){i=c[g>>2]|0;if(!i)break;if((c[h>>2]|0)==(c[i+8>>2]|0))g=i;else break}c[j>>2]=i;c[g>>2]=c[c[(c[a>>2]|0)+(f<<2)>>2]>>2];c[c[(c[a>>2]|0)+(f<<2)>>2]>>2]=d}j=d}c[g>>2]=j;e=f}}}else{d=c[a>>2]|0;c[a>>2]=0;if(d|0)Nf(d,c[a+4>>2]<<2);c[e>>2]=0}while(0);return}function Ts(a){a=a|0;return 3}function Us(a){a=a|0;return Xs()|0}function Vs(){return 40837}function Ws(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=yb;yb=yb+16|0;f=e;b=fs(b)|0;d=fs(d)|0;c[f>>2]=Gb[a&63](b,d)|0;d=Or(f)|0;yb=e;return d|0}function Xs(){return 15892}function Ys(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;r=yb;yb=yb+96|0;n=r+80|0;m=r+72|0;l=r+64|0;k=r+56|0;j=r+48|0;i=r+40|0;q=r+32|0;p=r+24|0;o=r+16|0;h=r+8|0;s=r;e=r+88|0;f=r+84|0;g=c[a+232>>2]|0;c[e>>2]=0;c[s>>2]=d;Se(0,1,40887,s);do if((Sf(d,40905,f)|0)>=0){c[o>>2]=b;Se(0,1,40949,o);if((Tf(c[f>>2]|0,-1,b)|0)<0){Se(0,3,40974,p);a=0;break}if((Qf(e,f)|0)<0){Se(0,3,41010,q);a=0;break}Se(0,1,41037,i);c[j>>2]=d;Se(0,1,41046,j);s=rf(d,41063,0)|0;c[a+248+(b<<2)>>2]=s;if(!s){c[k>>2]=d;Se(0,3,41068,k)}Se(0,1,41037,l);if((b|0)==10)Ea(-1);if((dg(g,c[e>>2]|0)|0)<0){Se(0,3,41101,m);a=0;break}else{Rf(e)|0;Se(0,1,41126,n);a=1;break}}else{c[h>>2]=d;Se(0,3,40911,h);a=0}while(0);yb=r;return a|0}function Zs(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=yb;yb=yb+16|0;a=Qe(a,c[d>>2]|0)|0;c[e>>2]=a;a:do if(!a){Se(0,3,41206,f);hd(c[d>>2]|0)|0;a=0}else switch(c[a+108>>2]|0){case 0:{Dc(b,0)|0;a=1;break a}case 1:{Dc(b,2)|0;a=1;break a}default:{Dc(b,3)|0;a=1;break a}}while(0);yb=f;return a|0}function _s(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;h=yb;yb=yb+32|0;d=h;e=a+4|0;f=((c[e>>2]|0)-(c[a>>2]|0)>>3)+1|0;g=$s(a)|0;if(g>>>0>>0)CO(a);else{i=c[a>>2]|0;k=(c[a+8>>2]|0)-i|0;j=k>>2;at(d,k>>3>>>0>>1>>>0?(j>>>0>>0?f:j):g,(c[e>>2]|0)-i>>3,a+8|0);g=d+8|0;e=c[b+4>>2]|0;f=c[g>>2]|0;c[f>>2]=c[b>>2];c[f+4>>2]=e;c[g>>2]=(c[g>>2]|0)+8;bt(a,d);ct(d);yb=h;return}}function $s(a){a=a|0;return 536870911}function at(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=a+12|0;c[f>>2]=0;c[a+16>>2]=e;do if(b)if(b>>>0>536870911){f=O(8)|0;bO(f,37409);c[f>>2]=16392;Q(f|0,13960,22)}else{e=rB(b<<3)|0;break}else e=0;while(0);c[a>>2]=e;d=e+(d<<3)|0;c[a+8>>2]=d;c[a+4>>2]=d;c[f>>2]=e+(b<<3);return}function bt(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;e=c[a>>2]|0;h=a+4|0;g=b+4|0;f=(c[h>>2]|0)-e|0;d=(c[g>>2]|0)+(0-(f>>3)<<3)|0;c[g>>2]=d;if((f|0)>0){YO(d|0,e|0,f|0)|0;e=g;d=c[g>>2]|0}else e=g;g=c[a>>2]|0;c[a>>2]=d;c[e>>2]=g;g=b+8|0;f=c[h>>2]|0;c[h>>2]=c[g>>2];c[g>>2]=f;g=a+8|0;h=b+12|0;a=c[g>>2]|0;c[g>>2]=c[h>>2];c[h>>2]=a;c[b>>2]=c[e>>2];return}function ct(a){a=a|0;var b=0,d=0,e=0,f=0;b=c[a+4>>2]|0;d=a+8|0;e=c[d>>2]|0;while(1){if((e|0)==(b|0))break;f=e+-8|0;c[d>>2]=f;e=f}b=c[a>>2]|0;if(b|0)Nf(b,(c[a+12>>2]|0)-b|0);return}function dt(a){a=a|0;return 3}function et(a){a=a|0;return gt()|0}function ft(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;e=yb;yb=yb+16|0;g=e+12|0;f=e;b=fs(b)|0;Ns(f,d);c[g>>2]=Gb[a&63](b,f)|0;d=Or(g)|0;hO(f);yb=e;return d|0}function gt(){return 15904}function ht(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;f=yb;yb=yb+16|0;e=f;g=qd(c[d>>2]|0,a)|0;c[b>>2]=g;if((g|0)<0){c[e>>2]=a;Se(0,3,41277,e);hd(c[d>>2]|0)|0;a=0}else a=1;yb=f;return a|0}function it(a){a=a|0;return Hf(a)|0}function jt(a){a=a|0;return 2}function kt(a){a=a|0;return mt()|0}function lt(a,b){a=a|0;b=b|0;var d=0,e=0;d=yb;yb=yb+16|0;e=d;b=fs(b)|0;c[e>>2]=Eb[a&127](b)|0;b=Or(e)|0;yb=d;return b|0}function mt(){return 15916}function nt(a){a=a|0;var b=0,d=0;b=a+216|0;d=c[b>>2]|0;if(d|0){ed(d)|0;uc(c[b>>2]|0)|0;c[b>>2]=0}b=a+228|0;if(c[b>>2]|0){pc(b)|0;c[b>>2]=0}b=a+192|0;if(c[b>>2]|0){le(b)|0;c[b>>2]=0}return}function ot(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=yb;yb=yb+16|0;d=f+4|0;e=f;b=Rr(a,b)|0;if(!b)b=0;else{c[e>>2]=b;c[d>>2]=c[e>>2];pt(a,d)|0;b=1}yb=f;return b|0}function pt(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;g=yb;yb=yb+32|0;h=g+16|0;f=g+4|0;i=g;d=c[d>>2]|0;e=c[d>>2]|0;c[i>>2]=d;c[h>>2]=c[i>>2];qt(f,b,h);d=c[f>>2]|0;c[f>>2]=0;if(d|0){if(a[f+8>>0]|0)Vr(d+8|0);Nf(d,496)}yb=g;return e|0}function qt(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;o=c[e>>2]|0;l=c[d+4>>2]|0;e=c[o+4>>2]|0;m=l+-1|0;i=(m&l|0)==0;if(!i)if(e>>>0>>0)j=e;else j=(e>>>0)%(l>>>0)|0;else j=m&e;f=(c[d>>2]|0)+(j<<2)|0;n=c[f>>2]|0;while(1){e=c[n>>2]|0;if((e|0)==(o|0))break;else n=e}k=d+8|0;if((n|0)!=(k|0)){e=c[n+4>>2]|0;if(!i){if(e>>>0>=l>>>0)e=(e>>>0)%(l>>>0)|0}else e=e&m;if((e|0)==(j|0))g=o;else h=14}else h=14;do if((h|0)==14){e=c[o>>2]|0;if(e|0){e=c[e+4>>2]|0;if(!i){if(e>>>0>=l>>>0)e=(e>>>0)%(l>>>0)|0}else e=e&m;if((e|0)==(j|0)){g=o;break}}c[f>>2]=0;g=o}while(0);f=c[g>>2]|0;e=f;if(f){f=c[f+4>>2]|0;if(!i){if(f>>>0>=l>>>0)f=(f>>>0)%(l>>>0)|0}else f=f&m;if((f|0)!=(j|0)){c[(c[d>>2]|0)+(f<<2)>>2]=n;e=c[o>>2]|0}}c[n>>2]=e;c[g>>2]=0;d=d+12|0;c[d>>2]=(c[d>>2]|0)+-1;c[b>>2]=o;c[b+4>>2]=k;a[b+8>>0]=1;return}function rt(a){a=a|0;return 4}function st(a){a=a|0;return vt()|0}function tt(){return 41348}function ut(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;f=yb;yb=yb+16|0;g=f;b=fs(b)|0;d=fs(d)|0;e=fs(e)|0;c[g>>2]=Hb[a&63](b,d,e)|0;e=Or(g)|0;yb=f;return e|0}function vt(){return 2048}function wt(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,h=0,i=0,j=0,k=0,l=0,m=0;m=yb;yb=yb+48|0;l=m+24|0;k=m+16|0;i=m+8|0;f=m;d=m+32|0;e=m+28|0;c[d>>2]=a;c[e>>2]=b;do if((Rr(55484,d)|0)!=0?(j=Sr(55484,d)|0,(xt(55504,e)|0)!=0):0){h=j+8|0;YO(h|0,Ps(55504,e)|0,184)|0;a=c[h>>2]|0;b=j+208|0;d=c[j+12>>2]|0;e=j+212|0;if(!((a|0)==(c[b>>2]|0)?(d|0)==(c[e>>2]|0):0)){c[f>>2]=a;c[f+4>>2]=d;Se(0,2,41698,f);$d(h,c[b>>2]|0,c[e>>2]|0,h)|0}nt(j);a=ke(h,15)|0;d=j+192|0;c[d>>2]=a;if(!a){Se(0,3,41745,i);a=-1;break}a=qc(a)|0;b=j+216|0;c[b>>2]=a;if(!a){Se(0,3,41783,k);a=-1;break}Jc(a,c[j+472>>2]|0)|0;k=nc(h)|0;c[j+228>>2]=k;if(!k){Se(0,3,41820,l);a=-1;break}else{dd(c[b>>2]|0,c[j+220>>2]|0)|0;je(c[d>>2]|0,+g[j+312>>3],+g[j+320>>3],j+344|0);c[j+232>>2]=it(c[d>>2]|0)|0;a=0;break}}else a=-1;while(0);yb=m;return a|0}function xt(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;e=c[b>>2]|0;f=c[a+4>>2]|0;a:do if(f){g=f+-1|0;h=(g&f|0)==0;if(!h)if(e>>>0>>0)d=e;else d=(e>>>0)%(f>>>0)|0;else d=g&e;b=c[(c[a>>2]|0)+(d<<2)>>2]|0;if(b)while(1){b=c[b>>2]|0;if(!b){b=0;break a}a=c[b+4>>2]|0;if((a|0)==(e|0)){if((c[b+8>>2]|0)==(e|0))break a}else{if(!h){if(a>>>0>=f>>>0)a=(a>>>0)%(f>>>0)|0}else a=a&g;if((a|0)!=(d|0)){b=0;break a}}}else b=0}else b=0;while(0);return b|0}function yt(a,b){a=a|0;b=b|0;b=zt(b,c[a>>2]|0,c[a+4>>2]|0)|0;c[b>>2]=1;c[b+12>>2]=a;a=Ce(a+8|0)|0;c[b+16>>2]=a;Ee(a,0.0)|0;return b|0}function zt(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,g=0;g=yb;yb=yb+16|0;e=DO(13732)|0;if(!e){Se(0,3,41858,g);Ea(1)}c[e+20>>2]=a;c[e+4>>2]=b;c[e+8>>2]=d;c[e+24>>2]=25;c[e+28>>2]=11;c[e+32>>2]=11;c[e+36>>2]=10;f[e+40>>2]=.6000000238418579;f[e+44>>2]=2.0;c[e+13280>>2]=1;d=DO(B(d,b)|0)|0;c[e+13300>>2]=d;if(!d){Se(0,3,41858,g+8|0);Ea(1)}else{c[e+13304>>2]=0;yb=g;return e|0}return 0}function At(a,b,d,e,h){a=a|0;b=b|0;d=d|0;e=e|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.0;D=yb;yb=yb+48|0;x=D;y=D+40|0;z=D+32|0;a:do if((a|0)!=0&(b|0)!=0&(d|0)!=0&(e|0)!=0&(h|0)!=0){C=b+152|0;if((c[C>>2]|0)<1)i=-2;else{f[h>>2]=0.0;j=b+4|0;B=b+8|0;k=b+56|0;l=b+104|0;i=0;while(1){if((i|0)>=(c[j>>2]|0))break;ud(B,(c[b>>2]|0)+(i*112|0)+12|0,a+48+(i*48|0)|0)|0;if((c[C>>2]|0)>1?(ud(k,(c[b>>2]|0)+(i*112|0)+12|0,a+528+(i*48|0)|0)|0,(c[C>>2]|0)>2):0)ud(l,(c[b>>2]|0)+(i*112|0)+12|0,a+1008+(i*48|0)|0)|0;i=i+1|0}if((c[a>>2]|0)==1){q=a+12|0;r=a+2672|0;n=a+7496|0;Bt(c[q>>2]|0,a+48|0,b,r,n);o=a+4|0;p=a+8|0}else{o=a+4|0;p=a+8|0;r=a+2672|0;n=a+7496|0;Ct(c[o>>2]|0,c[p>>2]|0,a+48|0,b,r,n);q=a+12|0}s=a+36|0;t=a+13280|0;u=b+156|0;v=a+1488|0;w=a+40|0;A=0;i=r;j=0;while(1){if((j|0)>=(c[s>>2]|0))break;m=0;l=A;k=i;while(1){if((m|0)>=(c[t>>2]|0))break;if((j|0)==(c[s>>2]|0))break;i=nf(k,u,l,v,c[o>>2]|0,c[p>>2]|0)|0;if((i|0)<0){if((k|0)!=(r|0))break;i=nf(n,u,l,v,c[o>>2]|0,c[p>>2]|0)|0;if((i|0)<0){k=n;break}else k=n}E=k+(i*24|0)|0;c[x+(m<<2)>>2]=E;c[a+1488+(l<<3)>>2]=c[k+(i*24|0)+16>>2];c[a+1488+(l<<3)+4>>2]=c[k+(i*24|0)+20>>2];c[a+13284+(m*52|0)>>2]=a;c[a+13284+(m*52|0)+4>>2]=b;c[a+13284+(m*52|0)+8>>2]=E;c[a+13284+(m*52|0)+12>>2]=d;i=l+1|0;m=m+1|0;l=(i|0)==5?A:i;j=j+1|0}if(!m)break;l=0;i=A;while(1){if((l|0)==(m|0))break;E=a+13284+(l*52|0)+24|0;A=Jt(c[a+13284+(l*52|0)>>2]|0,c[a+13284+(l*52|0)+4>>2]|0,c[a+13284+(l*52|0)+8>>2]|0,c[a+13284+(l*52|0)+12>>2]|0,c[a+13284+(l*52|0)+16>>2]|0,a+13284+(l*52|0)+20|0,E)|0;c[a+13284+(l*52|0)+48>>2]=A;if((A|0)==0?+f[E>>2]>+f[w>>2]:0){if((c[a>>2]|0)==1){E=c[q>>2]|0;de(E+104|0,+f[a+13284+(l*52|0)+28>>2],+f[a+13284+(l*52|0)+32>>2],y,z,c[E+176>>2]|0)|0;f[a+1872+(i<<3)>>2]=+g[y>>3];f[a+1872+(i<<3)+4>>2]=+g[z>>3]}else{c[a+1872+(i<<3)>>2]=c[a+13284+(l*52|0)+28>>2];c[a+1872+(i<<3)+4>>2]=c[a+13284+(l*52|0)+32>>2]}c[a+2192+(i*12|0)>>2]=c[a+13284+(l*52|0)+36>>2];c[a+2192+(i*12|0)+4>>2]=c[a+13284+(l*52|0)+40>>2];c[a+2192+(i*12|0)+8>>2]=c[a+13284+(l*52|0)+44>>2];E=c[x+(l<<2)>>2]|0;c[a+1488+(i<<3)>>2]=c[E+16>>2];c[a+1488+(i<<3)+4>>2]=c[E+20>>2];c[a+12320+(i*24|0)>>2]=c[E>>2];c[a+12320+(i*24|0)+4>>2]=c[E+4>>2];c[a+12320+(i*24|0)+8>>2]=c[E+8>>2];c[a+12320+(i*24|0)+12>>2]=0;i=i+1|0}l=l+1|0}A=i;i=k}i=0;while(1){if((i|0)>=(A|0))break;E=b+156+(i*24|0)|0;z=a+12320+(i*24|0)|0;c[E>>2]=c[z>>2];c[E+4>>2]=c[z+4>>2];c[E+8>>2]=c[z+8>>2];c[E+12>>2]=c[z+12>>2];c[E+16>>2]=c[z+16>>2];c[E+20>>2]=c[z+20>>2];i=i+1|0}c[b+156+(A*24|0)+12>>2]=-1;i=(A|0)<3;if((c[a>>2]|0)==1){if(i){c[C>>2]=0;i=-3;break}j=a+16|0;k=a+1872|0;l=a+2192|0;F=+Dt(c[j>>2]|0,B,k,l,A,e,0);f[h>>2]=F;i=a+44|0;if((((F>+f[i>>2]?(Ee(c[j>>2]|0,.800000011920929)|0,F=+Dt(c[j>>2]|0,e,k,l,A,e,1),f[h>>2]=F,F>+f[i>>2]):0)?(Ee(c[j>>2]|0,.6000000238418579)|0,F=+Dt(c[j>>2]|0,e,k,l,A,e,1),f[h>>2]=F,F>+f[i>>2]):0)?(Ee(c[j>>2]|0,.4000000059604645)|0,F=+Dt(c[j>>2]|0,e,k,l,A,e,1),f[h>>2]=F,F>+f[i>>2]):0)?(Ee(c[j>>2]|0,0.0)|0,F=+Dt(c[j>>2]|0,e,k,l,A,e,1),f[h>>2]=F,F>+f[i>>2]):0){c[C>>2]=0;i=-4;break}}else{if(i){c[C>>2]=0;i=-3;break}j=a+1872|0;k=a+2192|0;F=+Et(B,j,k,A,e,0,1.0);f[h>>2]=F;i=a+44|0;if((((F>+f[i>>2]?(F=+Et(e,j,k,A,e,1,.800000011920929),f[h>>2]=F,F>+f[i>>2]):0)?(F=+Et(e,j,k,A,e,1,.6000000238418579),f[h>>2]=F,F>+f[i>>2]):0)?(F=+Et(e,j,k,A,e,1,.4000000059604645),f[h>>2]=F,F>+f[i>>2]):0)?(F=+Et(e,j,k,A,e,1,0.0),f[h>>2]=F,F>+f[i>>2]):0){c[C>>2]=0;i=-4;break}}c[C>>2]=(c[C>>2]|0)+1;i=0;while(1){if((i|0)==3)break;j=0;while(1){if((j|0)==4)break;c[b+104+(i<<4)+(j<<2)>>2]=c[b+56+(i<<4)+(j<<2)>>2];j=j+1|0}i=i+1|0}i=0;while(1){if((i|0)==3)break;j=0;while(1){if((j|0)==4)break;c[b+56+(i<<4)+(j<<2)>>2]=c[b+8+(i<<4)+(j<<2)>>2];j=j+1|0}i=i+1|0}i=0;while(1){if((i|0)==3){i=0;break a}j=0;while(1){if((j|0)==4)break;c[b+8+(i<<4)+(j<<2)>>2]=c[e+(i<<4)+(j<<2)>>2];j=j+1|0}i=i+1|0}}}else i=-1;while(0);yb=D;return i|0}function Bt(a,b,d,e,g){a=a|0;b=b|0;d=d|0;e=e|0;g=g|0;var h=0,i=0,j=0.0,k=0,l=0,m=0.0,n=0,o=0,p=0,q=0,r=0.0,s=0.0,t=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.0,L=0,M=0.0,N=0,O=0,P=0,Q=0,R=0.0,S=0.0;Q=yb;yb=yb+80|0;P=Q+48|0;I=Q;J=Q+76|0;L=Q+72|0;N=Q+64|0;O=Q+56|0;q=d+4|0;r=+(c[a>>2]|0);s=+(c[a+4>>2]|0);t=I+4|0;v=I+12|0;w=I+16|0;x=I+20|0;y=I+28|0;z=I+32|0;A=I+36|0;B=I+44|0;C=I+8|0;D=I+24|0;E=I+40|0;F=N+4|0;G=O+4|0;H=g+4812|0;k=0;l=0;p=0;a:while(1){if((p|0)>=(c[q>>2]|0)){i=29;break}i=0;while(1){if((i|0)==3)break;h=0;while(1){if((h|0)==4)break;c[I+(i<<4)+(h<<2)>>2]=c[b+(p*48|0)+(i<<4)+(h<<2)>>2];h=h+1|0}i=i+1|0}h=k;i=l;o=0;k=c[(c[d>>2]|0)+(p*112|0)+4>>2]|0;while(1){if((o|0)>=(c[k+4>>2]|0))break;n=0;l=k;while(1){k=c[l>>2]|0;if((n|0)>=(c[k+(o*20|0)+4>>2]|0))break;l=c[k+(o*20|0)>>2]|0;l=(Bf(a,I,+f[l+(n*20|0)+8>>2],+f[l+(n*20|0)+12>>2],J,L)|0)<0;j=+f[J>>2];do if((!(l|j<0.0)?(m=+f[L>>2],!(m>=s)&(!(j>=r)&!(m<0.0))):0)?(l=c[(c[c[(c[d>>2]|0)+(p*112|0)+4>>2]>>2]|0)+(o*20|0)>>2]|0,K=+f[l+(n*20|0)+8>>2],M=+f[l+(n*20|0)+12>>2],R=+f[v>>2]+(+f[I>>2]*K+ +f[t>>2]*M),j=+f[y>>2]+(K*+f[w>>2]+M*+f[x>>2]),S=+f[B>>2]+(K*+f[z>>2]+M*+f[A>>2]),m=+u(+(R*R+j*j+S*S)),!(+f[E>>2]*(S/m)+(+f[C>>2]*(R/m)+ +f[D>>2]*(j/m))>-.10000000149011612)):0){f[N>>2]=K;f[F>>2]=M;lf(a,I,N,O)|0;j=+f[G>>2];k=c[c[(c[d>>2]|0)+(p*112|0)+4>>2]>>2]|0;m=+f[k+(o*20|0)+12>>2];if(j<=m?j>=+f[k+(o*20|0)+16>>2]:0){if((i|0)==200){i=19;break a}c[e+(i*24|0)>>2]=p;c[e+(i*24|0)+4>>2]=o;c[e+(i*24|0)+8>>2]=n;c[e+(i*24|0)+16>>2]=c[J>>2];c[e+(i*24|0)+20>>2]=c[L>>2];c[e+(i*24|0)+12>>2]=0;i=i+1|0;break}if(j<=m*2.0?j>=+f[k+(o*20|0)+16>>2]*.5:0)if((h|0)==200){c[H>>2]=-1;h=200;break}else{c[g+(h*24|0)>>2]=p;c[g+(h*24|0)+4>>2]=o;c[g+(h*24|0)+8>>2]=n;c[g+(h*24|0)+16>>2]=c[J>>2];c[g+(h*24|0)+20>>2]=c[L>>2];c[g+(h*24|0)+12>>2]=0;h=h+1|0;break}}while(0);n=n+1|0;l=c[(c[d>>2]|0)+(p*112|0)+4>>2]|0}o=o+1|0;k=l}k=h;l=i;p=p+1|0}if((i|0)==19){Se(0,3,41890,P);h=e+4812|0}else if((i|0)==29){c[e+(l*24|0)+12>>2]=-1;h=g+(k*24|0)+12|0}c[h>>2]=-1;yb=Q;return} -function xh(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;Hg(a+32|0,b);d=Lg(c[(yh(b)|0)>>2]|0)|0;f=Mg(c[(yh(b)|0)>>2]|0)|0;e=Ng(b)|0;sj(a+92|0,d,f,e,Og(b)|0,36,3.0,1.5,5,.800000011920929);c[a>>2]=Lg(c[(yh(b)|0)>>2]|0)|0;c[a+4>>2]=Mg(c[(yh(b)|0)>>2]|0)|0;e=a+16|0;zh(e,c[a+8>>2]|0);f=a+20|0;a=a+12|0;b=0;while(1){d=c[e>>2]|0;if(b>>>0>=(((c[f>>2]|0)-d|0)/12|0)>>>0)break;Ah(d+(b*12|0)|0,c[a>>2]|0);b=b+1|0}return}function yh(a){a=a|0;return a+4|0}function zh(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;g=a+4|0;d=c[g>>2]|0;f=c[a>>2]|0;e=(d-f|0)/12|0;if(e>>>0>=b>>>0){if(e>>>0>b>>>0){a=f+(b*12|0)|0;while(1){if((d|0)==(a|0))break;f=d+-12|0;ih(f);d=f}c[g>>2]=a}}else Ih(a,b-e|0);return}function Ah(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;g=a+4|0;d=c[g>>2]|0;f=c[a>>2]|0;e=(d-f|0)/12|0;if(e>>>0>=b>>>0){if(e>>>0>b>>>0){a=f+(b*12|0)|0;while(1){if((d|0)==(a|0))break;f=d+-12|0;jh(f);d=f}c[g>>2]=a}}else Bh(a,b-e|0);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;i=yb;yb=yb+32|0;f=i;g=a+8|0;h=a+4|0;d=c[h>>2]|0;do if((((c[g>>2]|0)-d|0)/12|0)>>>0>>0){d=((d-(c[a>>2]|0)|0)/12|0)+b|0;e=Dh(a)|0;if(e>>>0>>0)CO(a);else{j=c[a>>2]|0;k=((c[g>>2]|0)-j|0)/12|0;g=k<<1;Eh(f,k>>>0>>1>>>0?(g>>>0>>0?d:g):e,((c[h>>2]|0)-j|0)/12|0,a+8|0);Fh(f,b);Gh(a,f);Hh(f);break}}else Ch(a,b);while(0);yb=i;return}function Ch(a,b){a=a|0;b=b|0;var d=0;a=a+4|0;d=c[a>>2]|0;_O(d|0,0,b*12|0)|0;c[a>>2]=d+(b*12|0);return}function Dh(a){a=a|0;return 357913941}function Eh(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=a+12|0;c[f>>2]=0;c[a+16>>2]=e;do if(b)if(b>>>0>357913941){f=O(8)|0;bO(f,37409);c[f>>2]=16392;Q(f|0,13960,22)}else{e=rB(b*12|0)|0;break}else e=0;while(0);c[a>>2]=e;d=e+(d*12|0)|0;c[a+8>>2]=d;c[a+4>>2]=d;c[f>>2]=e+(b*12|0);return}function Fh(a,b){a=a|0;b=b|0;var d=0;a=a+8|0;d=c[a>>2]|0;_O(d|0,0,b*12|0)|0;c[a>>2]=d+(b*12|0);return}function Gh(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=c[a>>2]|0;f=a+4|0;g=b+4|0;d=c[f>>2]|0;while(1){if((d|0)==(e|0))break;k=c[g>>2]|0;i=k+-12|0;h=d+-12|0;c[i>>2]=0;j=k+-8|0;c[j>>2]=0;k=k+-4|0;c[k>>2]=0;c[i>>2]=c[h>>2];i=d+-8|0;c[j>>2]=c[i>>2];j=d+-4|0;c[k>>2]=c[j>>2];c[j>>2]=0;c[i>>2]=0;c[h>>2]=0;c[g>>2]=(c[g>>2]|0)+-12;d=h}i=c[a>>2]|0;c[a>>2]=c[g>>2];c[g>>2]=i;i=b+8|0;k=c[f>>2]|0;c[f>>2]=c[i>>2];c[i>>2]=k;i=a+8|0;k=b+12|0;j=c[i>>2]|0;c[i>>2]=c[k>>2];c[k>>2]=j;c[b>>2]=c[g>>2];return}function Hh(a){a=a|0;var b=0,d=0,e=0;b=c[a+4>>2]|0;d=a+8|0;while(1){e=c[d>>2]|0;if((e|0)==(b|0))break;e=e+-12|0;c[d>>2]=e;jh(e)}b=c[a>>2]|0;if(b|0)Nf(b,(c[a+12>>2]|0)-b|0);return}function Ih(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;i=yb;yb=yb+32|0;f=i;g=a+8|0;h=a+4|0;d=c[h>>2]|0;do if((((c[g>>2]|0)-d|0)/12|0)>>>0>>0){d=((d-(c[a>>2]|0)|0)/12|0)+b|0;e=Kh(a)|0;if(e>>>0>>0)CO(a);else{j=c[a>>2]|0;k=((c[g>>2]|0)-j|0)/12|0;g=k<<1;Lh(f,k>>>0>>1>>>0?(g>>>0>>0?d:g):e,((c[h>>2]|0)-j|0)/12|0,a+8|0);Mh(f,b);Nh(a,f);Oh(f);break}}else Jh(a,b);while(0);yb=i;return}function Jh(a,b){a=a|0;b=b|0;var d=0;a=a+4|0;d=c[a>>2]|0;_O(d|0,0,b*12|0)|0;c[a>>2]=d+(b*12|0);return}function Kh(a){a=a|0;return 357913941}function Lh(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=a+12|0;c[f>>2]=0;c[a+16>>2]=e;do if(b)if(b>>>0>357913941){f=O(8)|0;bO(f,37409);c[f>>2]=16392;Q(f|0,13960,22)}else{e=rB(b*12|0)|0;break}else e=0;while(0);c[a>>2]=e;d=e+(d*12|0)|0;c[a+8>>2]=d;c[a+4>>2]=d;c[f>>2]=e+(b*12|0);return}function Mh(a,b){a=a|0;b=b|0;var d=0;a=a+8|0;d=c[a>>2]|0;_O(d|0,0,b*12|0)|0;c[a>>2]=d+(b*12|0);return}function Nh(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=c[a>>2]|0;f=a+4|0;g=b+4|0;d=c[f>>2]|0;while(1){if((d|0)==(e|0))break;k=c[g>>2]|0;i=k+-12|0;h=d+-12|0;c[i>>2]=0;j=k+-8|0;c[j>>2]=0;k=k+-4|0;c[k>>2]=0;c[i>>2]=c[h>>2];i=d+-8|0;c[j>>2]=c[i>>2];j=d+-4|0;c[k>>2]=c[j>>2];c[j>>2]=0;c[i>>2]=0;c[h>>2]=0;c[g>>2]=(c[g>>2]|0)+-12;d=h}i=c[a>>2]|0;c[a>>2]=c[g>>2];c[g>>2]=i;i=b+8|0;k=c[f>>2]|0;c[f>>2]=c[i>>2];c[i>>2]=k;i=a+8|0;k=b+12|0;j=c[i>>2]|0;c[i>>2]=c[k>>2];c[k>>2]=j;c[b>>2]=c[g>>2];return}function Oh(a){a=a|0;var b=0,d=0,e=0;b=c[a+4>>2]|0;d=a+8|0;while(1){e=c[d>>2]|0;if((e|0)==(b|0))break;e=e+-12|0;c[d>>2]=e;ih(e)}b=c[a>>2]|0;if(b|0)Nf(b,(c[a+12>>2]|0)-b|0);return}function Ph(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;e=yb;yb=yb+32|0;d=e;if((Ng(b)|0)<=0){f=Vf(Vf(NE(Vf(Vf(Vf(56032,22918)|0,22676)|0,35e3)|0,147)|0,35007)|0,22967)|0;GE(d,f+(c[(c[f>>2]|0)+-12>>2]|0)|0);g=VF(d,56736)|0;g=Gb[c[(c[g>>2]|0)+28>>2]&63](g,10)|0;WF(d);OE(f,g)|0;KE(f)|0;ua()}zq(d,23866);if(Qh(d)|0)Xg(a+32|0,b);Aq(d);zq(d,23878);if(Qh(d)|0)Rh(a,b,a+32|0);Aq(d);zq(d,23898);if(Qh(d)|0)Sh(a,b);Aq(d);zq(d,23907);if(Qh(d)|0)Th(a);Aq(d);zq(d,23921);if(Qh(d)|0)Uh(a,b);Aq(d);yb=e;return}function Qh(a){a=a|0;return 1}function Rh(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0,g=0.0,h=0,i=0,j=0.0,k=0,l=0,m=0.0,n=0,o=0,p=0,q=0,r=0,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,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0.0,ga=0,ha=0,ia=0.0;ha=yb;yb=yb+48|0;aa=ha;ca=a+60|0;da=a+64|0;c[da>>2]=c[ca>>2];fa=+hi(+f[a+52>>2]);V=a+32|0;W=aa+12|0;Y=aa+16|0;Z=aa+24|0;_=aa+28|0;$=aa+4|0;F=a+68|0;G=aa+12|0;H=aa+16|0;I=aa+24|0;J=aa+28|0;K=aa+4|0;L=aa+12|0;M=aa+16|0;N=aa+24|0;O=aa+28|0;P=aa+4|0;a=1;a:while(1){if(a>>>0>=((Ii(V)|0)+-1|0)>>>0){ga=3;break}Q=Ji(d,a+-1|0)|0;R=Ji(d,a)|0;S=a+1|0;T=Ji(d,S)|0;U=Ki(d,a)|0;E=Li(d,a)|0;D=Lg(Q)|0;b:do if((D|0)==(Lg(R)|0)?(D=Lg(Q)|0,(D|0)==(Lg(T)|0)):0){D=Mg(Q)|0;if((D|0)!=(Mg(R)|0)){ga=7;break a}D=Mg(Q)|0;if((D|0)!=(Mg(T)|0)){ga=9;break a}k=(Lg(R)|0)+-1|0;l=(Mg(R)|0)+-1|0;m=+(E|0);a=1;while(1){if(a>>>0>=l>>>0)break b;v=a+-1|0;n=ah(Q,v)|0;o=ah(Q,a)|0;p=a+1|0;q=ah(Q,p)|0;r=ah(R,v)|0;t=ah(R,a)|0;u=ah(R,p)|0;v=ah(T,v)|0;w=ah(T,a)|0;x=ah(T,p)|0;j=+(a>>>0);i=1;while(1){if(i>>>0>=k>>>0)break;a=t+(i<<2)|0;do if(!(+hi(+f[a>>2])>2];h=i+-1|0;e=+f[n+(h<<2)>>2];do if(((((g>e?g>+f[n+(i<<2)>>2]:0)?(X=i+1|0,g>+f[n+(X<<2)>>2]):0)?g>+f[o+(h<<2)>>2]:0)?g>+f[o+(i<<2)>>2]:0)?g>+f[o+(X<<2)>>2]:0){if(!(g>+f[q+(h<<2)>>2])){ga=42;break}if(!(g>+f[q+(i<<2)>>2])){ga=42;break}if(!(g>+f[q+(X<<2)>>2])){ga=42;break}if(!(g>+f[r+(h<<2)>>2])){ga=42;break}if(!(g>+f[r+(i<<2)>>2])){ga=42;break}if(!(g>+f[r+(X<<2)>>2])){ga=42;break}if(!(g>+f[t+(h<<2)>>2])){ga=42;break}if(!(g>+f[t+(X<<2)>>2])){ga=42;break}if(!(g>+f[u+(h<<2)>>2])){ga=42;break}if(!(g>+f[u+(i<<2)>>2])){ga=42;break}if(!(g>+f[u+(X<<2)>>2])){ga=42;break}if(!(g>+f[v+(h<<2)>>2])){ga=42;break}if(!(g>+f[v+(i<<2)>>2])){ga=42;break}if(!(g>+f[v+(X<<2)>>2])){ga=42;break}if(!(g>+f[w+(h<<2)>>2])){ga=42;break}if(!(g>+f[w+(i<<2)>>2])){ga=42;break}if(!(g>+f[w+(X<<2)>>2])){ga=42;break}if(!(g>+f[x+(h<<2)>>2])){ga=42;break}if(!(g>+f[x+(i<<2)>>2])){ga=42;break}if(!(g>+f[x+(X<<2)>>2]))ga=42}else ga=42;while(0);if((ga|0)==42){ga=0;if(!(g>2]))break;a=i+1|0;if(!(g<+f[n+(a<<2)>>2]))break;if(!(g<+f[o+(h<<2)>>2]))break;if(!(g<+f[o+(i<<2)>>2]))break;if(!(g<+f[o+(a<<2)>>2]))break;if(!(g<+f[q+(h<<2)>>2]))break;if(!(g<+f[q+(i<<2)>>2]))break;if(!(g<+f[q+(a<<2)>>2]))break;if(!(g<+f[r+(h<<2)>>2]))break;if(!(g<+f[r+(i<<2)>>2]))break;if(!(g<+f[r+(a<<2)>>2]))break;if(!(g<+f[t+(h<<2)>>2]))break;if(!(g<+f[t+(a<<2)>>2]))break;if(!(g<+f[u+(h<<2)>>2]))break;if(!(g<+f[u+(i<<2)>>2]))break;if(!(g<+f[u+(a<<2)>>2]))break;if(!(g<+f[v+(h<<2)>>2]))break;if(!(g<+f[v+(i<<2)>>2]))break;if(!(g<+f[v+(a<<2)>>2]))break;if(!(g<+f[w+(h<<2)>>2]))break;if(!(g<+f[w+(i<<2)>>2]))break;if(!(g<+f[w+(a<<2)>>2]))break;if(!(g<+f[x+(h<<2)>>2]))break;if(!(g<+f[x+(i<<2)>>2]))break;if(!(g<+f[x+(a<<2)>>2]))break}c[W>>2]=U;c[Y>>2]=E;f[Z>>2]=g;f[_>>2]=+qi(b,U,m);pi(aa,$,+(i>>>0),j,U);a=c[da>>2]|0;if((a|0)==(c[F>>2]|0)){Yh(ca,aa);break}else{h=aa;D=a+36|0;do{c[a>>2]=c[h>>2];a=a+4|0;h=h+4|0}while((a|0)<(D|0));c[da>>2]=(c[da>>2]|0)+36;break}}while(0);i=i+1|0}a=p}}else ga=72;while(0);c:do if((ga|0)==72){ga=0;D=Lg(Q)|0;if((D|0)==(Lg(R)|0)?(D=(Lg(R)|0)>>>1,(D|0)==(Lg(T)|0)):0){D=Mg(Q)|0;if((D|0)!=(Mg(R)|0)){ga=75;break a}D=(Mg(R)|0)>>>1;if((D|0)!=(Mg(T)|0)){ga=77;break a}l=~~+s(+((+(((Lg(T)|0)+-1|0)>>>0)+-.5)*2.0+.5))>>>0;n=~~+s(+((+(((Mg(T)|0)+-1|0)>>>0)+-.5)*2.0+.5))>>>0;C=+(E|0);a=2;while(1){if(a>>>0>=n>>>0)break c;t=a+-1|0;o=ah(Q,t)|0;p=ah(Q,a)|0;q=a+1|0;r=ah(Q,q)|0;t=ah(R,t)|0;u=ah(R,a)|0;v=ah(R,q)|0;y=+(a>>>0);z=y*.5+-.25;A=z+-.5;B=z+.5;k=2;while(1){if(k>>>0>=l>>>0)break;i=u+(k<<2)|0;do if(!(+hi(+f[i>>2])>>0);m=j*.5+-.25;e=+f[i>>2];h=k+-1|0;a=o+(h<<2)|0;do if(((e>+f[a>>2]?e>+f[o+(k<<2)>>2]:0)?(ba=k+1|0,e>+f[o+(ba<<2)>>2]):0)?e>+f[p+(h<<2)>>2]:0){if(!(e>+f[p+(k<<2)>>2])){ga=110;break}if(!(e>+f[p+(ba<<2)>>2])){ga=110;break}if(!(e>+f[r+(h<<2)>>2])){ga=110;break}if(!(e>+f[r+(k<<2)>>2])){ga=110;break}if(!(e>+f[r+(ba<<2)>>2])){ga=110;break}if(!(e>+f[t+(h<<2)>>2])){ga=110;break}if(!(e>+f[t+(k<<2)>>2])){ga=110;break}if(!(e>+f[t+(ba<<2)>>2])){ga=110;break}if(!(e>+f[u+(h<<2)>>2])){ga=110;break}if(!(e>+f[u+(ba<<2)>>2])){ga=110;break}if(!(e>+f[v+(h<<2)>>2])){ga=110;break}if(!(e>+f[v+(k<<2)>>2])){ga=110;break}if(!(e>+f[v+(ba<<2)>>2])){ga=110;break}g=m+-.5;if(!(e>+Ai(T,g,A))){ga=110;break}e=+f[i>>2];if(!(e>+Ai(T,m,A))){ga=110;break}ia=+f[i>>2];e=m+.5;if(!(ia>+Ai(T,e,A))){ga=110;break}ia=+f[i>>2];if(!(ia>+Ai(T,g,z))){ga=110;break}ia=+f[i>>2];if(!(ia>+Ai(T,m,z))){ga=110;break}ia=+f[i>>2];if(!(ia>+Ai(T,e,z))){ga=110;break}ia=+f[i>>2];if(!(ia>+Ai(T,g,B))){ga=110;break}ia=+f[i>>2];if(!(ia>+Ai(T,m,B))){ga=110;break}ia=+f[i>>2];if(!(ia>+Ai(T,e,B)))ga=110}else ga=110;while(0);if((ga|0)==110){ga=0;e=+f[i>>2];if(!(e<+f[a>>2]))break;if(!(e<+f[o+(k<<2)>>2]))break;a=k+1|0;if(!(e<+f[o+(a<<2)>>2]))break;if(!(e<+f[p+(h<<2)>>2]))break;if(!(e<+f[p+(k<<2)>>2]))break;if(!(e<+f[p+(a<<2)>>2]))break;if(!(e<+f[r+(h<<2)>>2]))break;if(!(e<+f[r+(k<<2)>>2]))break;if(!(e<+f[r+(a<<2)>>2]))break;if(!(e<+f[t+(h<<2)>>2]))break;if(!(e<+f[t+(k<<2)>>2]))break;if(!(e<+f[t+(a<<2)>>2]))break;if(!(e<+f[u+(h<<2)>>2]))break;if(!(e<+f[u+(a<<2)>>2]))break;if(!(e<+f[v+(h<<2)>>2]))break;if(!(e<+f[v+(k<<2)>>2]))break;if(!(e<+f[v+(a<<2)>>2]))break;g=m+-.5;if(!(e<+Ai(T,g,A)))break;ia=+f[i>>2];if(!(ia<+Ai(T,m,A)))break;ia=+f[i>>2];e=m+.5;if(!(ia<+Ai(T,e,A)))break;ia=+f[i>>2];if(!(ia<+Ai(T,g,z)))break;ia=+f[i>>2];if(!(ia<+Ai(T,m,z)))break;ia=+f[i>>2];if(!(ia<+Ai(T,e,z)))break;ia=+f[i>>2];if(!(ia<+Ai(T,g,B)))break;ia=+f[i>>2];if(!(ia<+Ai(T,m,B)))break;ia=+f[i>>2];if(!(ia<+Ai(T,e,B)))break}c[G>>2]=U;c[H>>2]=E;c[I>>2]=c[i>>2];f[J>>2]=+qi(b,U,C);pi(aa,K,j,y,U);a=c[da>>2]|0;if((a|0)==(c[F>>2]|0)){Yh(ca,aa);break}else{h=aa;D=a+36|0;do{c[a>>2]=c[h>>2];a=a+4|0;h=h+4|0}while((a|0)<(D|0));c[da>>2]=(c[da>>2]|0)+36;break}}while(0);k=k+1|0}a=q}}D=(Lg(Q)|0)>>>1;if((D|0)==(Lg(R)|0)?(D=(Lg(Q)|0)>>>1,(D|0)==(Lg(T)|0)):0){D=(Mg(Q)|0)>>>1;if((D|0)!=(Mg(R)|0)){ga=144;break a}D=(Mg(Q)|0)>>>1;if((D|0)!=(Mg(T)|0)){ga=146;break a}l=(Lg(R)|0)+-1|0;n=(Mg(R)|0)+-1|0;A=+(E|0);a=1;while(1){if(a>>>0>=n>>>0)break c;t=a+-1|0;o=ah(R,t)|0;p=ah(R,a)|0;q=a+1|0;r=ah(R,q)|0;t=ah(T,t)|0;u=ah(T,a)|0;v=ah(T,q)|0;B=+(a<<1>>>0)+.5;m=+(a>>>0);y=B+-2.0;z=B+2.0;k=1;while(1){if(k>>>0>=l>>>0)break;i=p+(k<<2)|0;do if(!(+hi(+f[i>>2])>>0)+.5;e=+f[i>>2];h=k+-1|0;a=o+(h<<2)|0;do if(((e>+f[a>>2]?e>+f[o+(k<<2)>>2]:0)?(ea=k+1|0,e>+f[o+(ea<<2)>>2]):0)?e>+f[p+(h<<2)>>2]:0){if(!(e>+f[p+(ea<<2)>>2])){ga=179;break}if(!(e>+f[r+(h<<2)>>2])){ga=179;break}if(!(e>+f[r+(k<<2)>>2])){ga=179;break}if(!(e>+f[r+(ea<<2)>>2])){ga=179;break}if(!(e>+f[t+(h<<2)>>2])){ga=179;break}if(!(e>+f[t+(k<<2)>>2])){ga=179;break}if(!(e>+f[t+(ea<<2)>>2])){ga=179;break}if(!(e>+f[u+(h<<2)>>2])){ga=179;break}if(!(e>+f[u+(k<<2)>>2])){ga=179;break}if(!(e>+f[u+(ea<<2)>>2])){ga=179;break}if(!(e>+f[v+(h<<2)>>2])){ga=179;break}if(!(e>+f[v+(k<<2)>>2])){ga=179;break}if(!(e>+f[v+(ea<<2)>>2])){ga=179;break}g=j+-2.0;if(!(e>+Ai(Q,g,y))){ga=179;break}ia=+f[i>>2];if(!(ia>+Ai(Q,j,y))){ga=179;break}ia=+f[i>>2];e=j+2.0;if(!(ia>+Ai(Q,e,y))){ga=179;break}ia=+f[i>>2];if(!(ia>+Ai(Q,g,B))){ga=179;break}ia=+f[i>>2];if(!(ia>+Ai(Q,j,B))){ga=179;break}ia=+f[i>>2];if(!(ia>+Ai(Q,e,B))){ga=179;break}ia=+f[i>>2];if(!(ia>+Ai(Q,g,z))){ga=179;break}ia=+f[i>>2];if(!(ia>+Ai(Q,j,z))){ga=179;break}ia=+f[i>>2];if(!(ia>+Ai(Q,e,z)))ga=179}else ga=179;while(0);if((ga|0)==179){ga=0;e=+f[i>>2];if(!(e<+f[a>>2]))break;if(!(e<+f[o+(k<<2)>>2]))break;a=k+1|0;if(!(e<+f[o+(a<<2)>>2]))break;if(!(e<+f[p+(h<<2)>>2]))break;if(!(e<+f[p+(a<<2)>>2]))break;if(!(e<+f[r+(h<<2)>>2]))break;if(!(e<+f[r+(k<<2)>>2]))break;if(!(e<+f[r+(a<<2)>>2]))break;if(!(e<+f[t+(h<<2)>>2]))break;if(!(e<+f[t+(k<<2)>>2]))break;if(!(e<+f[t+(a<<2)>>2]))break;if(!(e<+f[u+(h<<2)>>2]))break;if(!(e<+f[u+(k<<2)>>2]))break;if(!(e<+f[u+(a<<2)>>2]))break;if(!(e<+f[v+(h<<2)>>2]))break;if(!(e<+f[v+(k<<2)>>2]))break;if(!(e<+f[v+(a<<2)>>2]))break;g=j+-2.0;if(!(e<+Ai(Q,g,y)))break;ia=+f[i>>2];if(!(ia<+Ai(Q,j,y)))break;ia=+f[i>>2];e=j+2.0;if(!(ia<+Ai(Q,e,y)))break;ia=+f[i>>2];if(!(ia<+Ai(Q,g,B)))break;ia=+f[i>>2];if(!(ia<+Ai(Q,j,B)))break;ia=+f[i>>2];if(!(ia<+Ai(Q,e,B)))break;ia=+f[i>>2];if(!(ia<+Ai(Q,g,z)))break;ia=+f[i>>2];if(!(ia<+Ai(Q,j,z)))break;ia=+f[i>>2];if(!(ia<+Ai(Q,e,z)))break}c[L>>2]=U;c[M>>2]=E;c[N>>2]=c[i>>2];f[O>>2]=+qi(b,U,A);pi(aa,P,+(k>>>0),m,U);a=c[da>>2]|0;if((a|0)==(c[F>>2]|0)){Yh(ca,aa);break}else{h=aa;D=a+36|0;do{c[a>>2]=c[h>>2];a=a+4|0;h=h+4|0}while((a|0)<(D|0));c[da>>2]=(c[da>>2]|0)+36;break}}while(0);k=k+1|0}a=q}}}while(0);a=S}if((ga|0)==3){yb=ha;return}else if((ga|0)==7){ha=Vf(Vf(NE(Vf(Vf(Vf(56032,26651)|0,22676)|0,35e3)|0,192)|0,35007)|0,26703)|0;GE(aa,ha+(c[(c[ha>>2]|0)+-12>>2]|0)|0);ga=VF(aa,56736)|0;ga=Gb[c[(c[ga>>2]|0)+28>>2]&63](ga,10)|0;WF(aa);OE(ha,ga)|0;KE(ha)|0;ua()}else if((ga|0)==9){ha=Vf(Vf(NE(Vf(Vf(Vf(56032,26726)|0,22676)|0,35e3)|0,193)|0,35007)|0,26703)|0;GE(aa,ha+(c[(c[ha>>2]|0)+-12>>2]|0)|0);ga=VF(aa,56736)|0;ga=Gb[c[(c[ga>>2]|0)+28>>2]&63](ga,10)|0;WF(aa);OE(ha,ga)|0;KE(ha)|0;ua()}else if((ga|0)==75){ha=Vf(Vf(NE(Vf(Vf(Vf(56032,26651)|0,22676)|0,35e3)|0,277)|0,35007)|0,26703)|0;GE(aa,ha+(c[(c[ha>>2]|0)+-12>>2]|0)|0);ga=VF(aa,56736)|0;ga=Gb[c[(c[ga>>2]|0)+28>>2]&63](ga,10)|0;WF(aa);OE(ha,ga)|0;KE(ha)|0;ua()}else if((ga|0)==77){ha=Vf(Vf(NE(Vf(Vf(Vf(56032,26778)|0,22676)|0,35e3)|0,278)|0,35007)|0,26703)|0;GE(aa,ha+(c[(c[ha>>2]|0)+-12>>2]|0)|0);ga=VF(aa,56736)|0;ga=Gb[c[(c[ga>>2]|0)+28>>2]&63](ga,10)|0;WF(aa);OE(ha,ga)|0;KE(ha)|0;ua()}else if((ga|0)==144){ha=Vf(Vf(NE(Vf(Vf(Vf(56032,26835)|0,22676)|0,35e3)|0,362)|0,35007)|0,26703)|0;GE(aa,ha+(c[(c[ha>>2]|0)+-12>>2]|0)|0);ga=VF(aa,56736)|0;ga=Gb[c[(c[ga>>2]|0)+28>>2]&63](ga,10)|0;WF(aa);OE(ha,ga)|0;KE(ha)|0;ua()}else if((ga|0)==146){ha=Vf(Vf(NE(Vf(Vf(Vf(56032,26892)|0,22676)|0,35e3)|0,363)|0,35007)|0,26703)|0;GE(aa,ha+(c[(c[ha>>2]|0)+-12>>2]|0)|0);ga=VF(aa,56736)|0;ga=Gb[c[(c[ga>>2]|0)+28>>2]&63](ga,10)|0;WF(aa);OE(ha,ga)|0;KE(ha)|0;ua()}}function Sh(a,b){a=a|0;b=b|0;var d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0.0,u=0.0,v=0.0,w=0.0,x=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0.0,M=0.0,N=0.0;J=yb;yb=yb+80|0;I=J+68|0;A=J;C=J+56|0;D=J+44|0;E=J+40|0;F=J+36|0;s=+hi(+f[a+52>>2]);H=a+56|0;w=+hi(+f[H>>2]+1.0);w=w/+f[H>>2];H=a+60|0;x=a+64|0;y=a+32|0;z=D+4|0;o=a+88|0;p=C+4|0;q=C+8|0;r=D+8|0;m=0;n=0;while(1){l=c[H>>2]|0;i=l;if(n>>>0>=(((c[x>>2]|0)-l|0)/36|0)>>>0){a=3;break}d=i+(n*36|0)|0;a=i+(n*36|0)+16|0;l=c[a>>2]|0;if((l|0)>=(ji(y)|0)){a=5;break}j=i+(n*36|0)+12|0;l=c[j>>2]|0;l=B(ji(y)|0,l)|0;l=l+(c[a>>2]|0)|0;k=i+(n*36|0)+4|0;ki(E,F,+f[d>>2],+f[k>>2],c[j>>2]|0);e=~~(+f[E>>2]+.5);g=~~(+f[F>>2]+.5);K=(c[(li(y)|0)>>2]|0)+(l+-1<<5)|0;h=(c[(li(y)|0)>>2]|0)+(l<<5)|0;if(((mi(A,C,K,h,(c[(li(y)|0)>>2]|0)+(l+1<<5)|0,e,g)|0?ni(D,A,C)|0:0)?(L=+hi(+f[D>>2]),L=L+ +hi(+f[z>>2]),!(L>+f[o>>2])):0)?(G=i+(n*36|0)+32|0,oi(G,A)|0):0){l=i+(n*36|0)+24|0;L=+f[l>>2];if(!(L==+f[(ah(h,g)|0)+(e<<2)>>2])){a=11;break}N=+f[(ah(h,g)|0)+(e<<2)>>2];M=+f[D>>2];L=+f[z>>2];f[l>>2]=N-(+f[C>>2]*M+ +f[p>>2]*L+ +f[q>>2]*+f[r>>2]);pi(d,k,M+ +f[E>>2],L+ +f[F>>2],c[j>>2]|0);L=+f[r>>2]+ +(c[a>>2]|0);a=i+(n*36|0)+20|0;f[a>>2]=L;f[a>>2]=+Xh(L,0.0,+(ji(y)|0));if(((((+t(+(+f[G>>2]))>2])>=s:0)?(u=+f[d>>2],u>=0.0):0)?u<+((Lg(c[(li(y)|0)>>2]|0)|0)>>>0):0)?(v=+f[k>>2],v>=0.0):0)?v<+((Mg(c[(li(y)|0)>>2]|0)|0)>>>0):0){f[i+(n*36|0)+28>>2]=+qi(b,c[j>>2]|0,+f[a>>2]);a=m+1|0;g=(c[H>>2]|0)+(m*36|0)|0;e=g+36|0;do{c[g>>2]=c[d>>2];g=g+4|0;d=d+4|0}while((g|0)<(e|0))}else a=m}else a=m;m=a;n=n+1|0}if((a|0)==3){ii(H,m);yb=J;return}else if((a|0)==5){K=Vf(Vf(NE(Vf(Vf(Vf(56032,24248)|0,22676)|0,35e3)|0,489)|0,35007)|0,24320)|0;GE(I,K+(c[(c[K>>2]|0)+-12>>2]|0)|0);J=VF(I,56736)|0;J=Gb[c[(c[J>>2]|0)+28>>2]&63](J,10)|0;WF(I);OE(K,J)|0;KE(K)|0;ua()}else if((a|0)==11){K=Vf(Vf(NE(Vf(Vf(Vf(56032,24357)|0,22676)|0,35e3)|0,526)|0,35007)|0,24414)|0;GE(I,K+(c[(c[K>>2]|0)+-12>>2]|0)|0);J=VF(I,56736)|0;J=Gb[c[(c[J>>2]|0)+28>>2]&63](J,10)|0;WF(I);OE(K,J)|0;KE(K)|0;ua()}}function Th(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;l=yb;yb=yb+16|0;d=l+12|0;h=l;i=a+60|0;j=a+64|0;k=a+84|0;e=c[k>>2]|0;do if((((c[j>>2]|0)-(c[i>>2]|0)|0)/36|0)>>>0>e>>>0){f=a+16|0;b=c[f>>2]|0;g=((c[a+20>>2]|0)-b|0)/12|0;if((g|0)!=(c[a+8>>2]|0)){m=Vf(Vf(NE(Vf(Vf(Vf(56032,23939)|0,22676)|0,35e3)|0,454)|0,35007)|0,23994)|0;GE(d,m+(c[(c[m>>2]|0)+-12>>2]|0)|0);n=VF(d,56736)|0;n=Gb[c[(c[n>>2]|0)+28>>2]&63](n,10)|0;WF(d);OE(m,n)|0;KE(m)|0;ua()}b=((c[b+4>>2]|0)-(c[b>>2]|0)|0)/12|0;if((b|0)!=(c[a+12>>2]|0)){n=Vf(Vf(NE(Vf(Vf(Vf(56032,24020)|0,22676)|0,35e3)|0,455)|0,35007)|0,23994)|0;GE(d,n+(c[(c[n>>2]|0)+-12>>2]|0)|0);m=VF(d,56736)|0;m=Gb[c[(c[m>>2]|0)+28>>2]&63](m,10)|0;WF(d);OE(n,m)|0;KE(n)|0;ua()}c[h>>2]=0;c[h+4>>2]=0;c[h+8>>2]=0;_h(f,h,i,g,b,c[a>>2]|0,c[a+4>>2]|0,e);Vh(i,h);if((((c[j>>2]|0)-(c[i>>2]|0)|0)/36|0)>>>0>(c[k>>2]|0)>>>0){n=Vf(Vf(NE(Vf(Vf(Vf(56032,24078)|0,22676)|0,35e3)|0,469)|0,35007)|0,24147)|0;GE(d,n+(c[(c[n>>2]|0)+-12>>2]|0)|0);m=VF(d,56736)|0;m=Gb[c[(c[m>>2]|0)+28>>2]&63](m,10)|0;WF(d);OE(n,m)|0;KE(n)|0;ua()}else{fh(h);break}}while(0);yb=l;return}function Uh(b,d){b=b|0;d=d|0;var e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0.0;w=yb;yb=yb+64|0;l=w+48|0;s=w+44|0;t=w+40|0;u=w+36|0;v=w;a:do if(!(a[b+28>>0]|0)){g=c[b+60>>2]|0;e=((c[b+64>>2]|0)-g|0)/36|0;b=0;while(1){if((b|0)==(e|0))break a;f[g+(b*36|0)+8>>2]=0.0;b=b+1|0}}else{k=b+72|0;m=b+76|0;c[m>>2]=c[k>>2];n=b+60|0;o=b+64|0;sh(k,(c[o>>2]|0)-(c[n>>2]|0)|0);p=b+92|0;tj(p,d);q=b+144|0;r=v+8|0;j=b+80|0;i=0;while(1){h=c[n>>2]|0;b=h;if(i>>>0>=(((c[o>>2]|0)-h|0)/36|0)>>>0)break;Wh(s,t,u,+f[b+(i*36|0)>>2],+f[b+(i*36|0)+4>>2],+f[b+(i*36|0)+28>>2],c[b+(i*36|0)+12>>2]|0);x=+f[s>>2];f[s>>2]=+Xh(x,0.0,+(((Lg(Jg(d,c[(c[n>>2]|0)+(i*36|0)+12>>2]|0,0)|0)|0)+-1|0)>>>0));x=+f[t>>2];x=+Xh(x,0.0,+(((Mg(Jg(d,c[(c[n>>2]|0)+(i*36|0)+12>>2]|0,0)|0)|0)+-1|0)>>>0));f[t>>2]=x;h=c[n>>2]|0;wj(p,c[q>>2]|0,l,c[h+(i*36|0)+12>>2]|0,c[h+(i*36|0)+16>>2]|0,+f[s>>2],x,+f[u>>2]);h=0;while(1){if((h|0)>=(c[l>>2]|0))break;b=v;e=(c[n>>2]|0)+(i*36|0)|0;g=b+36|0;do{c[b>>2]=c[e>>2];b=b+4|0;e=e+4|0}while((b|0)<(g|0));c[r>>2]=c[(c[q>>2]|0)+(h<<2)>>2];b=c[m>>2]|0;if((b|0)==(c[j>>2]|0))Yh(k,v);else{e=v;g=b+36|0;do{c[b>>2]=c[e>>2];b=b+4|0;e=e+4|0}while((b|0)<(g|0));c[m>>2]=(c[m>>2]|0)+36}h=h+1|0}i=i+1|0}Vh(n,k)}while(0);yb=w;return}function Vh(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=c[a>>2]|0;c[a>>2]=c[b>>2];c[b>>2]=f;f=a+4|0;d=b+4|0;e=c[f>>2]|0;c[f>>2]=c[d>>2];c[d>>2]=e;d=a+8|0;b=b+8|0;a=c[d>>2]|0;c[d>>2]=c[b>>2];c[b>>2]=a;return}function Wh(a,b,c,d,e,g,h){a=a|0;b=b|0;c=c|0;d=+d;e=+e;g=+g;h=h|0;var i=0.0,j=0.0;i=1.0/+(1<>2]=i*d+j;f[b>>2]=i*e+j;f[c>>2]=i*g;return}function Xh(a,b,c){a=+a;b=+b;c=+c;if(!(ac)a=c}else a=b;return +a}function Yh(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;j=yb;yb=yb+32|0;i=j;d=a+4|0;e=(((c[d>>2]|0)-(c[a>>2]|0)|0)/36|0)+1|0;f=Zh(a)|0;if(f>>>0>>0)CO(a);else{g=c[a>>2]|0;k=((c[a+8>>2]|0)-g|0)/36|0;h=k<<1;th(i,k>>>0>>1>>>0?(h>>>0>>0?e:h):f,((c[d>>2]|0)-g|0)/36|0,a+8|0);f=i+8|0;g=c[f>>2]|0;h=g;d=b;e=h+36|0;do{c[h>>2]=c[d>>2];h=h+4|0;d=d+4|0}while((h|0)<(e|0));c[f>>2]=g+36;uh(a,i);vh(i);yb=j;return}}function Zh(a){a=a|0;return 119304647}function _h(a,b,d,e,g,h,i,j){a=a|0;b=b|0;d=d|0;e=e|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,l=0,m=0.0,n=0.0,o=0,p=0,q=0,r=0,s=0,u=0,v=0,w=0,x=0,y=0,z=0,C=0,D=0;D=yb;yb=yb+48|0;C=D+8|0;v=D+32|0;u=D+28|0;y=D+24|0;z=D+20|0;w=D+16|0;x=D;o=B(g,e)|0;n=+A(+(+(h|0)/+(e|0)));m=+A(+(+(i|0)/+(g|0)));r=b+4|0;c[r>>2]=c[b>>2];sh(b,j);s=a+4|0;g=c[a>>2]|0;i=((c[s>>2]|0)-g|0)/12|0;e=0;while(1){if((e|0)==(i|0))break;l=c[g+(e*12|0)>>2]|0;k=((c[g+(e*12|0)+4>>2]|0)-l|0)/12|0;h=0;while(1){if((h|0)==(k|0))break;c[l+(h*12|0)+4>>2]=c[l+(h*12|0)>>2];h=h+1|0}e=e+1|0}q=(j|0)/(o|0)|0;o=d+4|0;n=+(~~n|0);m=+(~~m|0);g=C+4|0;l=0;while(1){p=c[d>>2]|0;e=p;if(l>>>0>=(((c[o>>2]|0)-p|0)/36|0)>>>0)break;i=~~(+f[e+(l*36|0)+4>>2]/m);k=c[(c[a>>2]|0)+(~~(+f[e+(l*36|0)>>2]/n)*12|0)>>2]|0;f[C>>2]=+t(+(+f[e+(l*36|0)+24>>2]));c[g>>2]=l;e=k+(i*12|0)+4|0;h=c[e>>2]|0;if(h>>>0<(c[k+(i*12|0)+8>>2]|0)>>>0){k=C;j=c[k+4>>2]|0;p=h;c[p>>2]=c[k>>2];c[p+4>>2]=j;c[e>>2]=(c[e>>2]|0)+8}else $h(k+(i*12|0)|0,C);l=l+1|0}p=b+8|0;e=c[a>>2]|0;g=e;j=0;h=g;a:while(1){if(j>>>0>=(((c[s>>2]|0)-e|0)/12|0)>>>0){e=16;break}o=0;i=g;while(1){l=c[i+(j*12|0)>>2]|0;e=l;if(o>>>0>=(((c[i+(j*12|0)+4>>2]|0)-l|0)/12|0)>>>0)break;l=e+(o*12|0)|0;e=e+(o*12|0)+4|0;g=c[e>>2]|0;i=c[l>>2]|0;k=g-i>>3;k=q>>>0>>0?q:k;if(!k)e=h;else{c[y>>2]=i;c[z>>2]=i+(k<<3);c[w>>2]=g;c[u>>2]=c[y>>2];c[v>>2]=c[z>>2];c[C>>2]=c[w>>2];ai(u,v,C,x);g=c[l>>2]|0;i=g;if(k>>>0>(c[e>>2]|0)-g>>3>>>0?!(+f[i>>2]>=+f[i+(k<<3)>>2]):0){e=23;break a}i=0;while(1){if(i>>>0>=k>>>0)break;h=(c[d>>2]|0)+((c[(c[l>>2]|0)+(i<<3)+4>>2]|0)*36|0)|0;e=c[r>>2]|0;if((e|0)==(c[p>>2]|0))Yh(b,h);else{g=e+36|0;do{c[e>>2]=c[h>>2];e=e+4|0;h=h+4|0}while((e|0)<(g|0));c[r>>2]=(c[r>>2]|0)+36}i=i+1|0}e=c[a>>2]|0}o=o+1|0;h=e;i=e}j=j+1|0;g=i;e=i}if((e|0)==16){yb=D;return}else if((e|0)==23){D=Vf(Vf(NE(Vf(Vf(Vf(56032,24171)|0,22676)|0,35e3)|0,661)|0,35007)|0,24229)|0;GE(C,D+(c[(c[D>>2]|0)+-12>>2]|0)|0);z=VF(C,56736)|0;z=Gb[c[(c[z>>2]|0)+28>>2]&63](z,10)|0;WF(C);OE(D,z)|0;KE(D)|0;ua()}}function $h(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;h=yb;yb=yb+32|0;d=h;e=a+4|0;f=((c[e>>2]|0)-(c[a>>2]|0)>>3)+1|0;g=di(a)|0;if(g>>>0>>0)CO(a);else{i=c[a>>2]|0;k=(c[a+8>>2]|0)-i|0;j=k>>2;ei(d,k>>3>>>0>>1>>>0?(j>>>0>>0?f:j):g,(c[e>>2]|0)-i>>3,a+8|0);g=d+8|0;e=c[b+4>>2]|0;f=c[g>>2]|0;c[f>>2]=c[b>>2];c[f+4>>2]=e;c[g>>2]=(c[g>>2]|0)+8;fi(a,d);gi(d);yb=h;return}}function ai(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var g=0,h=0,i=0.0,j=0.0,k=0,l=0,m=0,n=0,o=0.0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0;K=yb;yb=yb+48|0;y=K+40|0;x=K+36|0;w=K+32|0;C=K+28|0;D=K+24|0;E=K+20|0;G=K+16|0;H=K+12|0;I=K+8|0;z=K+4|0;A=K;v=c[b>>2]|0;a:while(1){u=c[d>>2]|0;n=u;t=u+-8|0;q=t;s=u+-4|0;if((v|0)==(u|0))break;r=c[a>>2]|0;k=r;b:while(1){b=n-k|0;g=b>>3;switch(g|0){case 1:case 0:break a;case 2:{J=5;break a}case 3:{J=10;break a}default:{}}if((b|0)<64){J=12;break a}g=g>>>1;p=r+(g<<3)|0;c[I>>2]=k;c[z>>2]=p;c[A>>2]=q;c[w>>2]=c[I>>2];c[x>>2]=c[z>>2];c[y>>2]=c[A>>2];b=bi(w,x,y,e)|0;l=k;j=+f[p>>2];i=+f[l>>2];if(j>2]|0)>>>0<(c[l+4>>2]|0)>>>0:0){J=53;break}g=t;while(1){m=g+-8|0;if((m|0)==(l|0))break;i=+f[m>>2];if(j>2]|0,(c[h>>2]|0)>>>0>>0):0){J=51;break b}g=m}h=l+8|0;b=h;o=+f[t>>2];j=+f[r>>2];do if(!(o>2]|0)>>>0<(c[g>>2]|0)>>>0)break}else g=r+4|0;while(1){if((h|0)==(t|0))break a;i=+f[h>>2];if(i>2]|0,F>>>0<(c[g>>2]|0)>>>0):0){J=28;break}h=h+8|0}if((J|0)==25){J=0;g=h+4|0;b=g;g=c[g>>2]|0}else if((J|0)==28){J=0;b=h+4|0;g=F}f[h>>2]=o;f[t>>2]=i;c[b>>2]=c[s>>2];c[s>>2]=g;b=h+8|0}while(0);if((t|0)==(b|0))break a;l=r+4|0;g=q;while(1){j=+f[r>>2];k=b;while(1){b=k;i=+f[b>>2];if(i>2]|0)>>>0<(c[l>>2]|0)>>>0:0)break;k=b+8|0}h=k;while(1){b=g+-8|0;i=+f[b>>2];if(!(i>2]|0)>>>0>=(c[l>>2]|0)>>>0)break}g=b}if(b>>>0<=h>>>0)break;m=c[k>>2]|0;f[k>>2]=i;c[b>>2]=m;m=h+4|0;g=g+-4|0;p=c[m>>2]|0;c[m>>2]=c[g>>2];c[g>>2]=p;g=b;b=h+8|0}b=k;if(v>>>0>>0)break a;c[a>>2]=k;r=b}if((J|0)==47){h=g+-4|0;g=h;h=c[h>>2]|0;J=52}else if((J|0)==51){g=g+-4|0;h=B;J=52}else if((J|0)==53){J=0;h=t;s=k}if((J|0)==52){J=0;s=k;r=c[k>>2]|0;f[k>>2]=i;c[m>>2]=r;r=s+4|0;t=c[r>>2]|0;c[r>>2]=h;c[g>>2]=t;b=b+1|0;h=m}g=s+8|0;k=g;if(g>>>0>>0){q=p;g=k;while(1){p=q;n=p+4|0;j=+f[p>>2];while(1){k=g;i=+f[k>>2];if(!(j>2]|0)>>>0>=(c[k+4>>2]|0)>>>0)break}g=k+8|0}m=g;while(1){l=h+-8|0;i=+f[l>>2];if(j>2]|0)>>>0<(c[h+-4>>2]|0)>>>0:0)break;h=l}k=l;if(l>>>0<=m>>>0)break;t=c[g>>2]|0;f[g>>2]=i;c[l>>2]=t;t=m+4|0;h=h+-4|0;g=c[t>>2]|0;c[t>>2]=c[h>>2];c[h>>2]=g;b=b+1|0;h=k;q=(p|0)==(m|0)?k:q;g=m+8|0}r=g;p=q;k=g}else r=g;n=k;do if((p|0)!=(r|0)){i=+f[r>>2];j=+f[p>>2];if(!(i>2]|0;g=p+4|0;m=c[g>>2]|0;if(h>>>0>=m>>>0)break}else{h=r+4|0;m=p+4|0;g=m;l=h;m=c[m>>2]|0;h=c[h>>2]|0}t=c[k>>2]|0;f[k>>2]=j;c[p>>2]=t;c[l>>2]=m;c[g>>2]=h;b=b+1|0}while(0);if((v|0)==(r|0))break;c:do if(!b)if(v>>>0>>0){b=s;while(1){g=b+8|0;if((g|0)==(r|0))break a;i=+f[b>>2];j=+f[g>>2];if(i>2]|0)>>>0<(c[b+12>>2]|0)>>>0:0)break c;b=g}}else{b=n;while(1){g=b+8|0;if((g|0)==(u|0))break a;i=+f[b>>2];j=+f[g>>2];if(i>2]|0)>>>0<(c[b+12>>2]|0)>>>0:0)break c;b=g}}while(0);if(v>>>0>>0)c[d>>2]=k;else c[a>>2]=r+8}do if((J|0)==5){c[d>>2]=t;i=+f[r>>2];j=+f[t>>2];if(!(i>2]|0;h=c[s>>2]|0;if(g>>>0>=h>>>0)break}else{g=r+4|0;b=g;h=c[s>>2]|0;g=c[g>>2]|0}f[r>>2]=j;f[t>>2]=i;c[b>>2]=h;c[s>>2]=g}else if((J|0)==10){c[C>>2]=k;c[D>>2]=k+8;c[d>>2]=t;c[E>>2]=t;c[w>>2]=c[C>>2];c[x>>2]=c[D>>2];c[y>>2]=c[E>>2];bi(w,x,y,e)|0}else if((J|0)==12){c[G>>2]=k;c[H>>2]=u;c[x>>2]=c[G>>2];c[y>>2]=c[H>>2];ci(x,y,e)}while(0);yb=K;return}function bi(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var g=0.0,h=0.0,i=0,j=0.0,k=0,l=0;l=c[b>>2]|0;k=c[a>>2]|0;j=+f[k>>2];h=+f[l>>2];if(!(j>2]|0)>>>0<(c[l+4>>2]|0)>>>0;else e=1;i=c[d>>2]|0;g=+f[i>>2];if(!(h>2]|0)>>>0<(c[i+4>>2]|0)>>>0;else b=1;do if(!e)if(b){f[l>>2]=g;f[i>>2]=h;d=l+4|0;i=i+4|0;a=c[d>>2]|0;c[d>>2]=c[i>>2];c[i>>2]=a;g=+f[k>>2];h=+f[l>>2];if(!(g>2]|0;a=c[d>>2]|0;if(e>>>0>=a>>>0){b=1;break}}else{e=k+4|0;b=e;a=c[d>>2]|0;e=c[e>>2]|0}f[k>>2]=h;f[l>>2]=g;c[b>>2]=a;c[d>>2]=e;b=2}else b=0;else{if(b){f[k>>2]=g;f[i>>2]=j;k=k+4|0;b=i+4|0;l=c[k>>2]|0;c[k>>2]=c[b>>2];c[b>>2]=l;b=1;break}f[k>>2]=h;f[l>>2]=j;k=k+4|0;a=l+4|0;d=c[k>>2]|0;c[k>>2]=c[a>>2];c[a>>2]=d;g=+f[i>>2];if(!(j>2]|0;if(d>>>0>=e>>>0){b=1;break}}else{e=i+4|0;b=e;e=c[e>>2]|0}f[l>>2]=g;f[i>>2]=j;c[a>>2]=e;c[b>>2]=d;b=2}while(0);return b|0}function ci(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0,g=0.0,h=0,i=0,j=0,k=0,l=0;j=c[b>>2]|0;k=j+-8|0;l=c[a>>2]|0;while(1){if((l|0)==(k|0))break;a:do if((l|0)==(j|0))b=j;else{b=l;while(1){h=b+4|0;d=b;while(1){i=d+8|0;if((i|0)==(j|0))break a;e=+f[b>>2];g=+f[i>>2];if(e>2]|0)>>>0<(c[d+12>>2]|0)>>>0:0)break;d=i}b=i}}while(0);if((b|0)!=(l|0)){d=c[l>>2]|0;c[l>>2]=c[b>>2];c[b>>2]=d;d=l+4|0;i=b+4|0;h=c[d>>2]|0;c[d>>2]=c[i>>2];c[i>>2]=h}i=l+8|0;c[a>>2]=i;l=i}return}function di(a){a=a|0;return 536870911}function ei(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=a+12|0;c[f>>2]=0;c[a+16>>2]=e;do if(b)if(b>>>0>536870911){f=O(8)|0;bO(f,37409);c[f>>2]=16392;Q(f|0,13960,22)}else{e=rB(b<<3)|0;break}else e=0;while(0);c[a>>2]=e;d=e+(d<<3)|0;c[a+8>>2]=d;c[a+4>>2]=d;c[f>>2]=e+(b<<3);return}function fi(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;e=c[a>>2]|0;h=a+4|0;g=b+4|0;f=(c[h>>2]|0)-e|0;d=(c[g>>2]|0)+(0-(f>>3)<<3)|0;c[g>>2]=d;if((f|0)>0){YO(d|0,e|0,f|0)|0;e=g;d=c[g>>2]|0}else e=g;g=c[a>>2]|0;c[a>>2]=d;c[e>>2]=g;g=b+8|0;f=c[h>>2]|0;c[h>>2]=c[g>>2];c[g>>2]=f;g=a+8|0;h=b+12|0;a=c[g>>2]|0;c[g>>2]=c[h>>2];c[h>>2]=a;c[b>>2]=c[e>>2];return}function gi(a){a=a|0;var b=0,d=0,e=0,f=0;b=c[a+4>>2]|0;d=a+8|0;e=c[d>>2]|0;while(1){if((e|0)==(b|0))break;f=e+-8|0;c[d>>2]=f;e=f}b=c[a>>2]|0;if(b|0)Nf(b,(c[a+12>>2]|0)-b|0);return}function hi(a){a=+a;return +(a*a)}function ii(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=a+4|0;f=c[a>>2]|0;e=((c[d>>2]|0)-f|0)/36|0;if(e>>>0>=b>>>0){if(e>>>0>b>>>0)c[d>>2]=f+(b*36|0)}else Fi(a,b-e|0);return}function ji(a){a=a|0;return c[a+16>>2]|0}function ki(a,b,c,d,e){a=a|0;b=b|0;c=+c;d=+d;e=e|0;var g=0.0,h=0.0;h=1.0/+(1<>2]=h*c+g;f[b>>2]=h*d+g;return}function li(a){a=a|0;return a|0}function mi(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0;j=yb;yb=yb+16|0;i=j;k=Lg(d)|0;k=(k|0)==(Lg(e)|0)&1;do if((Lg(f)|0)==(k|0)){k=Mg(d)|0;k=(k|0)==(Mg(e)|0)&1;if((Mg(f)|0)==(k|0)){wi(a,b,d,e,f,g,h);break}else{k=Vf(Vf(NE(Vf(Vf(Vf(56032,24457)|0,24528)|0,35e3)|0,466)|0,35007)|0,24621)|0;GE(i,k+(c[(c[k>>2]|0)+-12>>2]|0)|0);h=VF(i,56736)|0;h=Gb[c[(c[h>>2]|0)+28>>2]&63](h,10)|0;WF(i);OE(k,h)|0;KE(k)|0;ua()}}else{k=Lg(d)|0;if((k|0)==(Lg(e)|0)?(k=(Lg(e)|0)>>>1,(k|0)==(Lg(f)|0)):0){k=Mg(d)|0;if((k|0)==(Mg(e)|0)?(k=(Mg(e)|0)>>>1,(k|0)==(Mg(f)|0)):0){xi(a,b,d,e,f,g,h);break}k=Vf(Vf(NE(Vf(Vf(Vf(56032,24653)|0,24528)|0,35e3)|0,469)|0,35007)|0,24621)|0;GE(i,k+(c[(c[k>>2]|0)+-12>>2]|0)|0);l=VF(i,56736)|0;l=Gb[c[(c[l>>2]|0)+28>>2]&63](l,10)|0;WF(i);OE(k,l)|0;KE(k)|0;ua()}l=(Lg(d)|0)>>>1;if((l|0)==(Lg(e)|0)?(l=Lg(e)|0,(l|0)==(Lg(f)|0)):0){l=(Lg(d)|0)>>>1;if((l|0)==(Lg(e)|0)?(l=Lg(e)|0,(l|0)==(Lg(f)|0)):0){yi(a,b,d,e,f,g,h);break}l=Vf(Vf(NE(Vf(Vf(Vf(56032,24750)|0,24528)|0,35e3)|0,472)|0,35007)|0,24621)|0;GE(i,l+(c[(c[l>>2]|0)+-12>>2]|0)|0);k=VF(i,56736)|0;k=Gb[c[(c[k>>2]|0)+28>>2]&63](k,10)|0;WF(i);OE(l,k)|0;KE(l)|0;ua()}l=Vf(Vf(NE(Vf(Vf(Vf(56032,31132)|0,24528)|0,35e3)|0,475)|0,35007)|0,24843)|0;GE(i,l+(c[(c[l>>2]|0)+-12>>2]|0)|0);k=VF(i,56736)|0;k=Gb[c[(c[k>>2]|0)+28>>2]&63](k,10)|0;WF(i);OE(l,k)|0;KE(l)|0;ua()}while(0);yb=j;return 1}function ni(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=yb;yb=yb+48|0;d=e;if(ri(d,b,1.1920928955078125e-07)|0){si(a,d,c);a=1}else a=0;yb=e;return a|0}function oi(a,b){a=a|0;b=b|0;var c=0,d=0.0;c=b+16|0;d=+f[b>>2]*+f[c>>2];d=d-+hi(+f[b+4>>2]);if(d==0.0)a=0;else{f[a>>2]=+hi(+f[b>>2]+ +f[c>>2])/d;a=1}return a|0}function pi(a,b,c,d,e){a=a|0;b=b|0;c=+c;d=+d;e=e|0;var g=0.0,h=0.0;g=+fz(1.0,e+-1|0)+-.5;h=+(1<>2]=h*c+g;f[b>>2]=h*d+g;return}function qi(a,b,d){a=a|0;b=b|0;d=+d;var e=0,g=0,h=0,i=0;g=yb;yb=yb+16|0;e=g;if(!(d>=0.0)){h=Vf(Vf(NE(Vf(Vf(Vf(56032,34104)|0,33900)|0,35e3)|0,232)|0,35007)|0,34138)|0;GE(e,h+(c[(c[h>>2]|0)+-12>>2]|0)|0);i=VF(e,56736)|0;i=Gb[c[(c[i>>2]|0)+28>>2]&63](i,10)|0;WF(e);OE(h,i)|0;KE(h)|0;ua()}if(+(c[a+20>>2]|0)>d){d=+v(+(+f[a+24>>2]),+d)*+(1<>2]|0)+-12>>2]|0)|0);h=VF(e,56736)|0;h=Gb[c[(c[h>>2]|0)+28>>2]&63](h,10)|0;WF(e);OE(i,h)|0;KE(i)|0;ua()}return +(0.0)}function ri(a,b,d){a=a|0;b=b|0;d=+d;var e=0.0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=+ti(b);if(!(+t(+e)<=d)){e=1.0/e;j=b+16|0;l=b+20|0;g=b+32|0;f[a>>2]=e*+ui(+f[j>>2],+f[l>>2],+f[g>>2]);m=b+8|0;k=b+4|0;i=a+4|0;f[i>>2]=e*+vi(+f[m>>2],+f[k>>2],+f[g>>2],+f[b+28>>2]);h=a+8|0;f[h>>2]=e*+vi(+f[k>>2],+f[m>>2],+f[j>>2],+f[l>>2]);f[a+16>>2]=e*+ui(+f[b>>2],+f[m>>2],+f[g>>2]);g=a+20|0;f[g>>2]=e*+vi(+f[m>>2],+f[b>>2],+f[l>>2],+f[b+12>>2]);f[a+32>>2]=e*+ui(+f[b>>2],+f[k>>2],+f[j>>2]);c[a+12>>2]=c[i>>2];c[a+24>>2]=c[h>>2];c[a+28>>2]=c[g>>2];a=1}else a=0;return a|0}function si(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=c+4|0;d=c+8|0;f[a>>2]=+f[b>>2]*+f[c>>2]+ +f[b+4>>2]*+f[e>>2]+ +f[b+8>>2]*+f[d>>2];f[a+4>>2]=+f[b+12>>2]*+f[c>>2]+ +f[b+16>>2]*+f[e>>2]+ +f[b+20>>2]*+f[d>>2];f[a+8>>2]=+f[b+24>>2]*+f[c>>2]+ +f[b+28>>2]*+f[e>>2]+ +f[b+32>>2]*+f[d>>2];return}function ti(a){a=a|0;var b=0,c=0,d=0.0,e=0.0,g=0.0,h=0.0,i=0;b=a+32|0;g=+f[b>>2];c=a+4|0;g=g*+hi(+f[c>>2]);e=+f[a+8>>2];i=a+20|0;h=+f[c>>2]*2.0*e*+f[i>>2];c=a+16|0;d=+f[c>>2];e=d*+hi(e);d=+f[a>>2];d=d*+hi(+f[i>>2]);return +(h-g-e-d+ +f[a>>2]*+f[c>>2]*+f[b>>2])}function ui(a,b,c){a=+a;b=+b;c=+c;return +(a*c-b*b)}function vi(a,b,c,d){a=+a;b=+b;c=+c;d=+d;return +(a*d-b*c)}function wi(a,b,d,e,g,h,i){a=a|0;b=b|0;d=d|0;e=e|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0,A=0;r=yb;yb=yb+32|0;o=r+20|0;p=r+16|0;q=r+12|0;j=r+8|0;k=r+4|0;l=r;if((h|0)>0?(h+1|0)>>>0<(Lg(e)|0)>>>0:0){m=i+-1|0;if((i|0)>0?(n=i+1|0,n>>>0<(Mg(e)|0)>>>0):0){s=Lg(d)|0;if((s|0)!=(Lg(e)|0)){s=Vf(Vf(NE(Vf(Vf(Vf(56032,26146)|0,24528)|0,35e3)|0,311)|0,35007)|0,25078)|0;GE(o,s+(c[(c[s>>2]|0)+-12>>2]|0)|0);t=VF(o,56736)|0;t=Gb[c[(c[t>>2]|0)+28>>2]&63](t,10)|0;WF(o);OE(s,t)|0;KE(s)|0;ua()}t=Lg(d)|0;if((t|0)!=(Lg(g)|0)){t=Vf(Vf(NE(Vf(Vf(Vf(56032,26545)|0,24528)|0,35e3)|0,312)|0,35007)|0,25078)|0;GE(o,t+(c[(c[t>>2]|0)+-12>>2]|0)|0);s=VF(o,56736)|0;s=Gb[c[(c[s>>2]|0)+28>>2]&63](s,10)|0;WF(o);OE(t,s)|0;KE(t)|0;ua()}t=Mg(d)|0;if((t|0)!=(Mg(e)|0)){t=Vf(Vf(NE(Vf(Vf(Vf(56032,26198)|0,24528)|0,35e3)|0,313)|0,35007)|0,25078)|0;GE(o,t+(c[(c[t>>2]|0)+-12>>2]|0)|0);s=VF(o,56736)|0;s=Gb[c[(c[s>>2]|0)+28>>2]&63](s,10)|0;WF(o);OE(t,s)|0;KE(t)|0;ua()}t=Mg(d)|0;if((t|0)==(Mg(g)|0)){z=(ah(d,m)|0)+(h<<2)|0;A=(ah(d,i)|0)+(h<<2)|0;o=(ah(d,n)|0)+(h<<2)|0;d=(ah(e,i)|0)+(h<<2)|0;t=(ah(g,m)|0)+(h<<2)|0;m=(ah(g,i)|0)+(h<<2)|0;s=(ah(g,n)|0)+(h<<2)|0;zi(p,q,j,k,l,e,h,i);v=+f[m>>2];u=+f[A>>2];w=v+(u-+f[d>>2]*2.0);y=(+f[A+-4>>2]-+f[A+4>>2]+(+f[m+4>>2]-+f[m+-4>>2]))*.25;x=(+f[z>>2]-+f[o>>2]+(+f[s>>2]-+f[t>>2]))*.25;c[a>>2]=c[j>>2];t=c[l>>2]|0;c[a+4>>2]=t;f[a+8>>2]=y;c[a+12>>2]=t;c[a+16>>2]=c[k>>2];f[a+20>>2]=x;f[a+24>>2]=y;f[a+28>>2]=x;f[a+32>>2]=w;f[b>>2]=-+f[p>>2];f[b+4>>2]=-+f[q>>2];f[b+8>>2]=-((v-u)*.5);yb=r;return}else{A=Vf(Vf(NE(Vf(Vf(Vf(56032,26597)|0,24528)|0,35e3)|0,314)|0,35007)|0,25078)|0;GE(o,A+(c[(c[A>>2]|0)+-12>>2]|0)|0);z=VF(o,56736)|0;z=Gb[c[(c[z>>2]|0)+28>>2]&63](z,10)|0;WF(o);OE(A,z)|0;KE(A)|0;ua()}}A=Vf(Vf(NE(Vf(Vf(Vf(56032,24946)|0,24528)|0,35e3)|0,310)|0,35007)|0,25005)|0;GE(o,A+(c[(c[A>>2]|0)+-12>>2]|0)|0);z=VF(o,56736)|0;z=Gb[c[(c[z>>2]|0)+28>>2]&63](z,10)|0;WF(o);OE(A,z)|0;KE(A)|0;ua()}A=Vf(Vf(NE(Vf(Vf(Vf(56032,24872)|0,24528)|0,35e3)|0,309)|0,35007)|0,24930)|0;GE(o,A+(c[(c[A>>2]|0)+-12>>2]|0)|0);z=VF(o,56736)|0;z=Gb[c[(c[z>>2]|0)+28>>2]&63](z,10)|0;WF(o);OE(A,z)|0;KE(A)|0;ua()}function xi(a,b,d,e,g,h,i){a=a|0;b=b|0;d=d|0;e=e|0;g=g|0;h=h|0;i=i|0;var j=0,k=0.0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0.0,z=0.0,A=0.0,B=0.0,C=0.0;w=yb;yb=yb+32|0;t=w+28|0;u=w+24|0;v=w+20|0;o=w+16|0;p=w+12|0;q=w+8|0;r=w+4|0;s=w;if((h|0)>0?(h+1|0)>>>0<(Lg(e)|0)>>>0:0){j=i+-1|0;if((i|0)>0?(l=i+1|0,l>>>0<(Mg(e)|0)>>>0):0){n=Lg(d)|0;if((n|0)!=(Lg(e)|0)){n=Vf(Vf(NE(Vf(Vf(Vf(56032,26146)|0,24528)|0,35e3)|0,415)|0,35007)|0,25078)|0;GE(t,n+(c[(c[n>>2]|0)+-12>>2]|0)|0);m=VF(t,56736)|0;m=Gb[c[(c[m>>2]|0)+28>>2]&63](m,10)|0;WF(t);OE(n,m)|0;KE(n)|0;ua()}n=(Lg(d)|0)>>>1;if((n|0)!=(Lg(g)|0)){n=Vf(Vf(NE(Vf(Vf(Vf(56032,25108)|0,24528)|0,35e3)|0,416)|0,35007)|0,25078)|0;GE(t,n+(c[(c[n>>2]|0)+-12>>2]|0)|0);m=VF(t,56736)|0;m=Gb[c[(c[m>>2]|0)+28>>2]&63](m,10)|0;WF(t);OE(n,m)|0;KE(n)|0;ua()}n=Mg(d)|0;if((n|0)!=(Mg(e)|0)){n=Vf(Vf(NE(Vf(Vf(Vf(56032,26198)|0,24528)|0,35e3)|0,417)|0,35007)|0,25078)|0;GE(t,n+(c[(c[n>>2]|0)+-12>>2]|0)|0);m=VF(t,56736)|0;m=Gb[c[(c[m>>2]|0)+28>>2]&63](m,10)|0;WF(t);OE(n,m)|0;KE(n)|0;ua()}n=(Mg(d)|0)>>>1;if((n|0)!=(Mg(g)|0)){n=Vf(Vf(NE(Vf(Vf(Vf(56032,25224)|0,24528)|0,35e3)|0,418)|0,35007)|0,25078)|0;GE(t,n+(c[(c[n>>2]|0)+-12>>2]|0)|0);m=VF(t,56736)|0;m=Gb[c[(c[m>>2]|0)+28>>2]&63](m,10)|0;WF(t);OE(n,m)|0;KE(n)|0;ua()}m=(ah(d,j)|0)+(h<<2)|0;n=(ah(d,i)|0)+(h<<2)|0;j=(ah(d,l)|0)+(h<<2)|0;d=(ah(e,i)|0)+(h<<2)|0;ki(u,v,+(h|0),+(i|0),1);k=+f[u>>2];if(!(k+-.5>=0.0)){l=Vf(Vf(NE(Vf(Vf(Vf(56032,26252)|0,24528)|0,35e3)|0,428)|0,35007)|0,26293)|0;GE(t,l+(c[(c[l>>2]|0)+-12>>2]|0)|0);x=VF(t,56736)|0;x=Gb[c[(c[x>>2]|0)+28>>2]&63](x,10)|0;WF(t);OE(l,x)|0;KE(l)|0;ua()}if(!(+f[v>>2]+-.5>=0.0)){x=Vf(Vf(NE(Vf(Vf(Vf(56032,26347)|0,24528)|0,35e3)|0,429)|0,35007)|0,26388)|0;GE(t,x+(c[(c[x>>2]|0)+-12>>2]|0)|0);l=VF(t,56736)|0;l=Gb[c[(c[l>>2]|0)+28>>2]&63](l,10)|0;WF(t);OE(x,l)|0;KE(x)|0;ua()}if(!(k+.5<+((Lg(g)|0)>>>0))){x=Vf(Vf(NE(Vf(Vf(Vf(56032,26442)|0,24528)|0,35e3)|0,430)|0,35007)|0,26293)|0;GE(t,x+(c[(c[x>>2]|0)+-12>>2]|0)|0);l=VF(t,56736)|0;l=Gb[c[(c[l>>2]|0)+28>>2]&63](l,10)|0;WF(t);OE(x,l)|0;KE(x)|0;ua()}k=+f[v>>2]+.5;if(k<+((Mg(g)|0)>>>0)){zi(o,p,q,r,s,e,h,i);y=+Ai(g,+f[u>>2],+f[v>>2]);k=+f[n>>2];z=y+(k-+f[d>>2]*2.0);C=+f[n+-4>>2];C=C+ +Ai(g,+f[u>>2]+.5,+f[v>>2]);B=+f[n+4>>2];B=(C-(B+ +Ai(g,+f[u>>2]+-.5,+f[v>>2])))*.25;C=+f[m>>2];C=C+ +Ai(g,+f[u>>2],+f[v>>2]+.5);A=+f[j>>2];A=(C-(A+ +Ai(g,+f[u>>2],+f[v>>2]+-.5)))*.25;c[a>>2]=c[q>>2];x=c[s>>2]|0;c[a+4>>2]=x;f[a+8>>2]=B;c[a+12>>2]=x;c[a+16>>2]=c[r>>2];f[a+20>>2]=A;f[a+24>>2]=B;f[a+28>>2]=A;f[a+32>>2]=z;f[b>>2]=-+f[o>>2];f[b+4>>2]=-+f[p>>2];f[b+8>>2]=-((y-k)*.5);yb=w;return}else{x=Vf(Vf(NE(Vf(Vf(Vf(56032,26493)|0,24528)|0,35e3)|0,431)|0,35007)|0,26388)|0;GE(t,x+(c[(c[x>>2]|0)+-12>>2]|0)|0);w=VF(t,56736)|0;w=Gb[c[(c[w>>2]|0)+28>>2]&63](w,10)|0;WF(t);OE(x,w)|0;KE(x)|0;ua()}}x=Vf(Vf(NE(Vf(Vf(Vf(56032,24946)|0,24528)|0,35e3)|0,414)|0,35007)|0,25005)|0;GE(t,x+(c[(c[x>>2]|0)+-12>>2]|0)|0);w=VF(t,56736)|0;w=Gb[c[(c[w>>2]|0)+28>>2]&63](w,10)|0;WF(t);OE(x,w)|0;KE(x)|0;ua()}x=Vf(Vf(NE(Vf(Vf(Vf(56032,24872)|0,24528)|0,35e3)|0,413)|0,35007)|0,24930)|0;GE(t,x+(c[(c[x>>2]|0)+-12>>2]|0)|0);w=VF(t,56736)|0;w=Gb[c[(c[w>>2]|0)+28>>2]&63](w,10)|0;WF(t);OE(x,w)|0;KE(x)|0;ua()}function yi(a,b,d,e,g,h,i){a=a|0;b=b|0;d=d|0;e=e|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0.0,x=0.0,y=0.0,z=0.0,A=0.0,B=0.0,C=0;t=yb;yb=yb+32|0;q=t+28|0;r=t+24|0;s=t+20|0;j=t+16|0;k=t+12|0;l=t+8|0;m=t+4|0;n=t;if((h|0)>0?(h+1|0)>>>0<(Lg(e)|0)>>>0:0){o=i+-1|0;if((i|0)>0?(p=i+1|0,p>>>0<(Mg(e)|0)>>>0):0){u=(Lg(d)|0)>>>1;if((u|0)!=(Lg(e)|0)){u=Vf(Vf(NE(Vf(Vf(Vf(56032,25021)|0,24528)|0,35e3)|0,361)|0,35007)|0,25078)|0;GE(q,u+(c[(c[u>>2]|0)+-12>>2]|0)|0);v=VF(q,56736)|0;v=Gb[c[(c[v>>2]|0)+28>>2]&63](v,10)|0;WF(q);OE(u,v)|0;KE(u)|0;ua()}v=(Lg(d)|0)>>>1;if((v|0)!=(Lg(g)|0)){v=Vf(Vf(NE(Vf(Vf(Vf(56032,25108)|0,24528)|0,35e3)|0,362)|0,35007)|0,25078)|0;GE(q,v+(c[(c[v>>2]|0)+-12>>2]|0)|0);u=VF(q,56736)|0;u=Gb[c[(c[u>>2]|0)+28>>2]&63](u,10)|0;WF(q);OE(v,u)|0;KE(v)|0;ua()}v=(Mg(d)|0)>>>1;if((v|0)!=(Mg(e)|0)){v=Vf(Vf(NE(Vf(Vf(Vf(56032,25165)|0,24528)|0,35e3)|0,363)|0,35007)|0,25078)|0;GE(q,v+(c[(c[v>>2]|0)+-12>>2]|0)|0);u=VF(q,56736)|0;u=Gb[c[(c[u>>2]|0)+28>>2]&63](u,10)|0;WF(q);OE(v,u)|0;KE(v)|0;ua()}v=(Mg(d)|0)>>>1;if((v|0)==(Mg(g)|0)){C=(ah(e,i)|0)+(h<<2)|0;v=(ah(g,o)|0)+(h<<2)|0;q=(ah(g,i)|0)+(h<<2)|0;u=(ah(g,p)|0)+(h<<2)|0;pi(r,s,+(h|0),+(i|0),1);zi(j,k,l,m,n,e,h,i);w=+Ai(d,+f[r>>2],+f[s>>2]);x=+f[q>>2];y=x+(w-+f[C>>2]*2.0);B=+Ai(d,+f[r>>2]+-2.0,+f[s>>2]);B=B+ +f[q+4>>2];A=+Ai(d,+f[r>>2]+2.0,+f[s>>2]);A=(B-(A+ +f[q+-4>>2]))*.25;B=+Ai(d,+f[r>>2],+f[s>>2]+-2.0);B=B+ +f[u>>2];z=+Ai(d,+f[r>>2],+f[s>>2]+2.0);z=(B-(z+ +f[v>>2]))*.25;c[a>>2]=c[l>>2];v=c[n>>2]|0;c[a+4>>2]=v;f[a+8>>2]=A;c[a+12>>2]=v;c[a+16>>2]=c[m>>2];f[a+20>>2]=z;f[a+24>>2]=A;f[a+28>>2]=z;f[a+32>>2]=y;f[b>>2]=-+f[j>>2];f[b+4>>2]=-+f[k>>2];f[b+8>>2]=-((x-w)*.5);yb=t;return}else{C=Vf(Vf(NE(Vf(Vf(Vf(56032,25224)|0,24528)|0,35e3)|0,364)|0,35007)|0,25078)|0;GE(q,C+(c[(c[C>>2]|0)+-12>>2]|0)|0);v=VF(q,56736)|0;v=Gb[c[(c[v>>2]|0)+28>>2]&63](v,10)|0;WF(q);OE(C,v)|0;KE(C)|0;ua()}}C=Vf(Vf(NE(Vf(Vf(Vf(56032,24946)|0,24528)|0,35e3)|0,360)|0,35007)|0,25005)|0;GE(q,C+(c[(c[C>>2]|0)+-12>>2]|0)|0);v=VF(q,56736)|0;v=Gb[c[(c[v>>2]|0)+28>>2]&63](v,10)|0;WF(q);OE(C,v)|0;KE(C)|0;ua()}C=Vf(Vf(NE(Vf(Vf(Vf(56032,24872)|0,24528)|0,35e3)|0,359)|0,35007)|0,24930)|0;GE(q,C+(c[(c[C>>2]|0)+-12>>2]|0)|0);v=VF(q,56736)|0;v=Gb[c[(c[v>>2]|0)+28>>2]&63](v,10)|0;WF(q);OE(C,v)|0;KE(C)|0;ua()}function zi(a,b,d,e,g,h,i,j){a=a|0;b=b|0;d=d|0;e=e|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,l=0,m=0,n=0;n=yb;yb=yb+16|0;m=n;if((i|0)>0?(i+1|0)>>>0<(Lg(h)|0)>>>0:0){k=j+-1|0;if((j|0)>0?(l=j+1|0,l>>>0<(Mg(h)|0)>>>0):0){k=(ah(h,k)|0)+(i<<2)|0;j=(ah(h,j)|0)+(i<<2)|0;m=(ah(h,l)|0)+(i<<2)|0;h=j+4|0;i=j+-4|0;f[a>>2]=(+f[h>>2]-+f[i>>2])*.5;f[b>>2]=(+f[m>>2]-+f[k>>2])*.5;f[d>>2]=+f[h>>2]+(+f[i>>2]-+f[j>>2]*2.0);f[e>>2]=+f[m>>2]+(+f[k>>2]-+f[j>>2]*2.0);f[g>>2]=(+f[k+-4>>2]+ +f[m+4>>2]-(+f[k+4>>2]+ +f[m+-4>>2]))*.25;yb=n;return}n=Vf(Vf(NE(Vf(Vf(Vf(56032,26089)|0,24528)|0,35e3)|0,285)|0,35007)|0,25005)|0;GE(m,n+(c[(c[n>>2]|0)+-12>>2]|0)|0);j=VF(m,56736)|0;j=Gb[c[(c[j>>2]|0)+28>>2]&63](j,10)|0;WF(m);OE(n,j)|0;KE(n)|0;ua()}n=Vf(Vf(NE(Vf(Vf(Vf(56032,26033)|0,24528)|0,35e3)|0,284)|0,35007)|0,24930)|0;GE(m,n+(c[(c[n>>2]|0)+-12>>2]|0)|0);j=VF(m,56736)|0;j=Gb[c[(c[j>>2]|0)+28>>2]&63](j,10)|0;WF(m);OE(n,j)|0;KE(n)|0;ua()}function Ai(a,b,c){a=a|0;b=+b;c=+c;var d=0,e=0,f=0;f=Bi(a)|0;e=Lg(a)|0;d=Mg(a)|0;return +(+Di(f,e,d,Ci(a)|0,b,c))}function Bi(a){a=a|0;return c[a+24>>2]|0}function Ci(a){a=a|0;return c[a+12>>2]|0}function Di(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=+e;f=+f;return +(+Ei(a,b,c,d,e,f))}function Ei(a,b,d,e,g,h){a=a|0;b=b|0;d=d|0;e=e|0;g=+g;h=+h;var i=0.0,j=0.0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,t=0.0,u=0.0;p=yb;yb=yb+16|0;n=p;o=~~+s(+g);if((o|0)!=(~~g|0)){m=Vf(Vf(NE(Vf(Vf(Vf(56032,25283)|0,25335)|0,35e3)|0,69)|0,35007)|0,25411)|0;GE(n,m+(c[(c[m>>2]|0)+-12>>2]|0)|0);l=VF(n,56736)|0;l=Gb[c[(c[l>>2]|0)+28>>2]&63](l,10)|0;WF(n);OE(m,l)|0;KE(m)|0;ua()}l=~~+s(+h);if((l|0)!=(~~h|0)){m=Vf(Vf(NE(Vf(Vf(Vf(56032,25441)|0,25335)|0,35e3)|0,70)|0,35007)|0,25411)|0;GE(n,m+(c[(c[m>>2]|0)+-12>>2]|0)|0);k=VF(n,56736)|0;k=Gb[c[(c[k>>2]|0)+28>>2]&63](k,10)|0;WF(n);OE(m,k)|0;KE(m)|0;ua()}m=o+1|0;k=l+1|0;if(!((l|0)>-1&l>>>0>>0)){q=Vf(Vf(NE(Vf(Vf(Vf(56032,25493)|0,25335)|0,35e3)|0,79)|0,35007)|0,25539)|0;GE(n,q+(c[(c[q>>2]|0)+-12>>2]|0)|0);r=VF(n,56736)|0;r=Gb[c[(c[r>>2]|0)+28>>2]&63](r,10)|0;WF(n);OE(q,r)|0;KE(q)|0;ua()}if(k>>>0>=d>>>0){r=Vf(Vf(NE(Vf(Vf(Vf(56032,25556)|0,25335)|0,35e3)|0,80)|0,35007)|0,25616)|0;GE(n,r+(c[(c[r>>2]|0)+-12>>2]|0)|0);q=VF(n,56736)|0;q=Gb[c[(c[q>>2]|0)+28>>2]&63](q,10)|0;WF(n);OE(r,q)|0;KE(r)|0;ua()}if(!((o|0)>-1&o>>>0>>0)){r=Vf(Vf(NE(Vf(Vf(Vf(56032,25640)|0,25335)|0,35e3)|0,81)|0,35007)|0,25685)|0;GE(n,r+(c[(c[r>>2]|0)+-12>>2]|0)|0);q=VF(n,56736)|0;q=Gb[c[(c[q>>2]|0)+28>>2]&63](q,10)|0;WF(n);OE(r,q)|0;KE(r)|0;ua()}if(m>>>0>=b>>>0){r=Vf(Vf(NE(Vf(Vf(Vf(56032,25702)|0,25335)|0,35e3)|0,82)|0,35007)|0,25761)|0;GE(n,r+(c[(c[r>>2]|0)+-12>>2]|0)|0);q=VF(n,56736)|0;q=Gb[c[(c[q>>2]|0)+28>>2]&63](q,10)|0;WF(n);OE(r,q)|0;KE(r)|0;ua()}b=a+(B(l,e)|0)|0;a=b+e|0;u=+(m|0)-g;i=+(k|0)-h;j=u*i;t=g-+(o|0);i=t*i;h=h-+(l|0);g=u*h;h=t*h;if(!(j>=0.0)|!(j<=1.0001)){r=Vf(Vf(NE(Vf(Vf(Vf(56032,25785)|0,25335)|0,35e3)|0,94)|0,35007)|0,25832)|0;GE(n,r+(c[(c[r>>2]|0)+-12>>2]|0)|0);q=VF(n,56736)|0;q=Gb[c[(c[q>>2]|0)+28>>2]&63](q,10)|0;WF(n);OE(r,q)|0;KE(r)|0;ua()}if(!(i>=0.0)|!(i<=1.0001)){r=Vf(Vf(NE(Vf(Vf(Vf(56032,25845)|0,25335)|0,35e3)|0,95)|0,35007)|0,25832)|0;GE(n,r+(c[(c[r>>2]|0)+-12>>2]|0)|0);q=VF(n,56736)|0;q=Gb[c[(c[q>>2]|0)+28>>2]&63](q,10)|0;WF(n);OE(r,q)|0;KE(r)|0;ua()}if(!(g>=0.0)|!(g<=1.0001)){r=Vf(Vf(NE(Vf(Vf(Vf(56032,25892)|0,25335)|0,35e3)|0,96)|0,35007)|0,25832)|0;GE(n,r+(c[(c[r>>2]|0)+-12>>2]|0)|0);q=VF(n,56736)|0;q=Gb[c[(c[q>>2]|0)+28>>2]&63](q,10)|0;WF(n);OE(r,q)|0;KE(r)|0;ua()}if(!(h>=0.0)|!(h<=1.0001)){r=Vf(Vf(NE(Vf(Vf(Vf(56032,25939)|0,25335)|0,35e3)|0,97)|0,35007)|0,25832)|0;GE(n,r+(c[(c[r>>2]|0)+-12>>2]|0)|0);q=VF(n,56736)|0;q=Gb[c[(c[q>>2]|0)+28>>2]&63](q,10)|0;WF(n);OE(r,q)|0;KE(r)|0;ua()}if(!(h+(g+(j+i))<=1.0001)){r=Vf(Vf(NE(Vf(Vf(Vf(56032,25986)|0,25335)|0,35e3)|0,98)|0,35007)|0,25832)|0;GE(n,r+(c[(c[r>>2]|0)+-12>>2]|0)|0);q=VF(n,56736)|0;q=Gb[c[(c[q>>2]|0)+28>>2]&63](q,10)|0;WF(n);OE(r,q)|0;KE(r)|0;ua()}else{yb=p;return +(j*+f[b+(o<<2)>>2]+i*+f[b+(m<<2)>>2]+g*+f[a+(o<<2)>>2]+h*+f[a+(m<<2)>>2])}return +(0.0)}function 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;i=yb;yb=yb+32|0;f=i;g=a+8|0;h=a+4|0;d=c[h>>2]|0;do if((((c[g>>2]|0)-d|0)/36|0)>>>0>>0){d=((d-(c[a>>2]|0)|0)/36|0)+b|0;e=Zh(a)|0;if(e>>>0>>0)CO(a);else{j=c[a>>2]|0;k=((c[g>>2]|0)-j|0)/36|0;g=k<<1;th(f,k>>>0>>1>>>0?(g>>>0>>0?d:g):e,((c[h>>2]|0)-j|0)/36|0,a+8|0);Hi(f,b);uh(a,f);vh(f);break}}else Gi(a,b);while(0);yb=i;return}function Gi(a,b){a=a|0;b=b|0;var d=0,e=0;e=a+4|0;a=c[e>>2]|0;do{d=a+36|0;do{c[a>>2]=0;a=a+4|0}while((a|0)<(d|0));a=(c[e>>2]|0)+36|0;c[e>>2]=a;b=b+-1|0}while((b|0)!=0);return}function Hi(a,b){a=a|0;b=b|0;var d=0,e=0;e=a+8|0;a=c[e>>2]|0;do{d=a+36|0;do{c[a>>2]=0;a=a+4|0}while((a|0)<(d|0));a=(c[e>>2]|0)+36|0;c[e>>2]=a;b=b+-1|0}while((b|0)!=0);return}function Ii(a){a=a|0;return (c[a+4>>2]|0)-(c[a>>2]|0)>>5|0}function Ji(a,b){a=a|0;b=b|0;return (c[a>>2]|0)+(b<<5)|0}function Ki(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=yb;yb=yb+16|0;d=f;e=c[a>>2]|0;if((c[a+4>>2]|0)-e>>5>>>0>b>>>0){e=Lg(e)|0;e=~~+Ni(+Mi(+(((e>>>0)/((Lg((c[a>>2]|0)+(b<<5)|0)|0)>>>0)|0)>>>0)));yb=f;return e|0}else{f=Vf(Vf(NE(Vf(Vf(Vf(56032,26949)|0,24528)|0,35e3)|0,94)|0,35007)|0,26995)|0;GE(d,f+(c[(c[f>>2]|0)+-12>>2]|0)|0);e=VF(d,56736)|0;e=Gb[c[(c[e>>2]|0)+28>>2]&63](e,10)|0;WF(d);OE(f,e)|0;KE(f)|0;ua()}return 0}function Li(a,b){a=a|0;b=b|0;return (b|0)%(c[a+16>>2]|0)|0|0}function Mi(a){a=+a;return +(+z(+a)/.6931471824645996)}function Ni(a){a=+a;return +(+s(+(a+.5)))}function Oi(a){a=a|0;c[a>>2]=15676;eh(a+56|0);eh(a+44|0);Qi(a+32|0);Ri(a);return}function Pi(a){a=a|0;Oi(a);QA(a);return}function Qi(a){a=a|0;var b=0,d=0;b=c[a>>2]|0;d=b;if(b|0){c[a+4>>2]=d;Nf(b,(c[a+8>>2]|0)-d|0)}return}function Ri(a){a=a|0;c[a>>2]=15692;kh(a+4|0);return}function Si(a){a=a|0;Ri(a);QA(a);return}function Ti(a,g,h,i,j){a=a|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;t=yb;yb=yb+16|0;k=t;if(i>>>0<=4){s=Vf(Vf(NE(Vf(Vf(Vf(56032,27047)|0,27081)|0,35e3)|0,55)|0,35007)|0,27176)|0;GE(k,s+(c[(c[s>>2]|0)+-12>>2]|0)|0);r=VF(k,56736)|0;r=Gb[c[(c[r>>2]|0)+28>>2]&63](r,10)|0;WF(k);OE(s,r)|0;KE(s)|0;ua()}if(j>>>0<=4){s=Vf(Vf(NE(Vf(Vf(Vf(56032,27195)|0,27081)|0,35e3)|0,56)|0,35007)|0,27176)|0;GE(k,s+(c[(c[s>>2]|0)+-12>>2]|0)|0);r=VF(k,56736)|0;r=Gb[c[(c[r>>2]|0)+28>>2]&63](r,10)|0;WF(k);OE(s,r)|0;KE(s)|0;ua()}o=i+-1|0;p=i+-2|0;q=i+-3|0;r=i+-4|0;l=g;m=0;while(1){if((m|0)==(j|0))break;s=h+(B(m,i)|0)|0;k=d[s>>0]|0;u=s+1|0;n=s+2|0;b[l>>1]=(k*7|0)+(d[n>>0]|0)+((d[u>>0]|0)+k<<2);k=d[s>>0]|0;b[l+2>>1]=((d[u>>0]|0)*6|0)+k+(d[s+3>>0]|0)+((d[n>>0]|0)+k<<2);k=2;n=l+4|0;while(1){if((k|0)==(p|0))break;u=k+1|0;b[n>>1]=((d[s+k>>0]|0)*6|0)+(d[s+(k+-2)>>0]|0)+((d[s+u>>0]|0)+(d[s+(k+-1)>>0]|0)<<2)+(d[s+(k+2)>>0]|0);k=u;n=n+2|0}u=l+(p<<1)|0;n=s+p|0;k=s+q|0;v=s+o|0;w=d[v>>0]|0;b[u>>1]=((d[n>>0]|0)*6|0)+w+(d[s+r>>0]|0)+(w+(d[k>>0]|0)<<2);s=d[v>>0]|0;b[u+2>>1]=(s*7|0)+(d[k>>0]|0)+((d[n>>0]|0)+s<<2);l=l+(i<<1)|0;m=m+1|0}s=j+-2|0;k=g+(i<<1)|0;q=k+(i<<1)|0;l=0;m=q;n=k;o=g;p=a;while(1){if((l|0)==(i|0))break;w=e[o>>1]|0;f[p>>2]=+((w*7|0)+((e[n>>1]|0)+w<<2)+(e[m>>1]|0)|0)*.00390625;l=l+1|0;m=m+2|0;n=n+2|0;o=o+2|0;p=p+4|0}o=0;p=q+(i<<1)|0;n=q;l=g;m=a+(i<<2)|0;while(1){if((o|0)==(i|0))break;w=e[l>>1]|0;f[m>>2]=+(((e[k>>1]|0)*6|0)+w+((e[n>>1]|0)+w<<2)+(e[p>>1]|0)|0)*.00390625;o=o+1|0;p=p+2|0;n=n+2|0;k=k+2|0;l=l+2|0;m=m+4|0}l=2;while(1){if((l|0)==(s|0))break;q=g+((B(l+-2|0,i)|0)<<1)|0;p=q+(i<<1)|0;o=p+(i<<1)|0;n=o+(i<<1)|0;k=0;m=n+(i<<1)|0;r=a+((B(l,i)|0)<<2)|0;while(1){if((k|0)==(i|0))break;f[r>>2]=+(((e[o>>1]|0)*6|0)+(e[q>>1]|0)+((e[n>>1]|0)+(e[p>>1]|0)<<2)+(e[m>>1]|0)|0)*.00390625;k=k+1|0;m=m+2|0;n=n+2|0;o=o+2|0;p=p+2|0;q=q+2|0;r=r+4|0}l=l+1|0}p=g+((B(j+-4|0,i)|0)<<1)|0;o=p+(i<<1)|0;n=o+(i<<1)|0;l=0;m=n+(i<<1)|0;k=a+((B(s,i)|0)<<2)|0;while(1){if((l|0)==(i|0))break;w=e[m>>1]|0;f[k>>2]=+(((e[n>>1]|0)*6|0)+(e[p>>1]|0)+(w+(e[o>>1]|0)<<2)+w|0)*.00390625;l=l+1|0;m=m+2|0;n=n+2|0;o=o+2|0;p=p+2|0;k=k+4|0}o=g+((B(j+-3|0,i)|0)<<1)|0;n=o+(i<<1)|0;l=0;m=n+(i<<1)|0;k=a+((B(j+-1|0,i)|0)<<2)|0;while(1){if((l|0)==(i|0))break;w=e[m>>1]|0;f[k>>2]=+((w*6|0)+(e[o>>1]|0)+(w+(e[n>>1]|0)<<2)+w|0)*.00390625;l=l+1|0;m=m+2|0;n=n+2|0;o=o+2|0;k=k+4|0}yb=t;return}function Ui(a,b,d,e,g){a=a|0;b=b|0;d=d|0;e=e|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0.0,s=0,t=0;q=yb;yb=yb+16|0;h=q;if(e>>>0<=4){p=Vf(Vf(NE(Vf(Vf(Vf(56032,27047)|0,27081)|0,35e3)|0,168)|0,35007)|0,27176)|0;GE(h,p+(c[(c[p>>2]|0)+-12>>2]|0)|0);o=VF(h,56736)|0;o=Gb[c[(c[o>>2]|0)+28>>2]&63](o,10)|0;WF(h);OE(p,o)|0;KE(p)|0;ua()}if(g>>>0<=4){p=Vf(Vf(NE(Vf(Vf(Vf(56032,27195)|0,27081)|0,35e3)|0,169)|0,35007)|0,27176)|0;GE(h,p+(c[(c[p>>2]|0)+-12>>2]|0)|0);o=VF(h,56736)|0;o=Gb[c[(c[o>>2]|0)+28>>2]&63](o,10)|0;WF(h);OE(p,o)|0;KE(p)|0;ua()}l=e+-1|0;m=e+-2|0;n=e+-3|0;o=e+-4|0;i=b;j=0;while(1){if((j|0)==(g|0))break;p=d+((B(j,e)|0)<<2)|0;r=+f[p>>2];k=p+4|0;h=p+8|0;f[i>>2]=+f[h>>2]+(r+(r*6.0+(r+ +f[k>>2])*4.0));r=+f[p>>2];f[i+4>>2]=+f[p+12>>2]+(r+(+f[k>>2]*6.0+(r+ +f[h>>2])*4.0));h=2;k=i+8|0;while(1){if((h|0)==(m|0))break;s=h+1|0;f[k>>2]=+f[p+(h+2<<2)>>2]+(+f[p+(h+-2<<2)>>2]+(+f[p+(h<<2)>>2]*6.0+(+f[p+(h+-1<<2)>>2]+ +f[p+(s<<2)>>2])*4.0));h=s;k=k+4|0}s=i+(m<<2)|0;k=p+(m<<2)|0;h=p+(n<<2)|0;t=p+(l<<2)|0;r=+f[t>>2];f[s>>2]=r+(+f[p+(o<<2)>>2]+(+f[k>>2]*6.0+(+f[h>>2]+r)*4.0));r=+f[t>>2];f[s+4>>2]=r+(+f[h>>2]+(r*6.0+(r+ +f[k>>2])*4.0));i=i+(e<<2)|0;j=j+1|0}p=g+-2|0;h=b+(e<<2)|0;n=h+(e<<2)|0;i=0;j=n;k=h;l=b;m=a;while(1){if((i|0)==(e|0))break;r=+f[l>>2];f[m>>2]=(+f[j>>2]+(r+(r*6.0+(r+ +f[k>>2])*4.0)))*.00390625;i=i+1|0;j=j+4|0;k=k+4|0;l=l+4|0;m=m+4|0}l=0;m=n+(e<<2)|0;k=n;i=b;j=a+(e<<2)|0;while(1){if((l|0)==(e|0))break;r=+f[i>>2];f[j>>2]=(+f[m>>2]+(r+(+f[h>>2]*6.0+(r+ +f[k>>2])*4.0)))*.00390625;l=l+1|0;m=m+4|0;k=k+4|0;h=h+4|0;i=i+4|0;j=j+4|0}i=2;while(1){if((i|0)==(p|0))break;n=b+((B(i+-2|0,e)|0)<<2)|0;m=n+(e<<2)|0;l=m+(e<<2)|0;k=l+(e<<2)|0;h=0;j=k+(e<<2)|0;o=a+((B(i,e)|0)<<2)|0;while(1){if((h|0)==(e|0))break;f[o>>2]=(+f[j>>2]+(+f[n>>2]+(+f[l>>2]*6.0+(+f[m>>2]+ +f[k>>2])*4.0)))*.00390625;h=h+1|0;j=j+4|0;k=k+4|0;l=l+4|0;m=m+4|0;n=n+4|0;o=o+4|0}i=i+1|0}m=b+((B(g+-4|0,e)|0)<<2)|0;l=m+(e<<2)|0;k=l+(e<<2)|0;i=0;j=k+(e<<2)|0;h=a+((B(p,e)|0)<<2)|0;while(1){if((i|0)==(e|0))break;r=+f[j>>2];f[h>>2]=(r+(+f[m>>2]+(+f[k>>2]*6.0+(+f[l>>2]+r)*4.0)))*.00390625;i=i+1|0;j=j+4|0;k=k+4|0;l=l+4|0;m=m+4|0;h=h+4|0}l=b+((B(g+-3|0,e)|0)<<2)|0;k=l+(e<<2)|0;i=0;j=k+(e<<2)|0;h=a+((B(g+-1|0,e)|0)<<2)|0;while(1){if((i|0)==(e|0))break;r=+f[j>>2];f[h>>2]=(r+(+f[l>>2]+(r*6.0+(+f[k>>2]+r)*4.0)))*.00390625;i=i+1|0;j=j+4|0;k=k+4|0;l=l+4|0;h=h+4|0}yb=q;return}function Vi(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0,j=0,k=0,l=0;l=c>>>1;j=d>>>1;k=c<<1;i=0;while(1){if((i|0)==(j|0))break;g=b+((B(k,i)|0)<<2)|0;d=0;e=g+(c<<2)|0;h=a;while(1){if((d|0)==(l|0))break;f[h>>2]=(+f[g>>2]+ +f[g+4>>2]+ +f[e>>2]+ +f[e+4>>2])*.25;d=d+1|0;e=e+8|0;g=g+8|0;h=h+4|0}i=i+1|0;a=a+(l<<2)|0}return}function Wi(a){a=a|0;c[a>>2]=15692;a=a+4|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;c[a+20>>2]=0;c[a+24>>2]=0;return}function Xi(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0;c[a+16>>2]=b;c[a+20>>2]=d;e=+La(+(1.0/+(d+-1|0)));f[a+24>>2]=e;f[a+28>>2]=1.0/+z(+e);return}function Yi(a){a=a|0;var b=0;Wi(a);c[a>>2]=15676;a=a+32|0;b=a+36|0;do{c[a>>2]=0;a=a+4|0}while((a|0)<(b|0));return}function Zi(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;Xi(a,e,3);k=a+4|0;l=a+20|0;Pg(k,B(c[l>>2]|0,e)|0);g=0;while(1){if((g|0)>=(e|0))break;h=b>>>g;i=d>>>g;f=0;while(1){j=c[l>>2]|0;if(f>>>0>=j>>>0)break;j=(B(j,g)|0)+f|0;aq((c[k>>2]|0)+(j<<5)|0,2,h,i,-1,1);f=f+1|0}g=g+1|0}l=B(d,b)|0;_i(a+32|0,l);dh(a+44|0,l);dh(a+56|0,l);return}function _i(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=a+4|0;f=c[a>>2]|0;e=(c[d>>2]|0)-f>>1;if(e>>>0>=b>>>0){if(e>>>0>b>>>0)c[d>>2]=f+(b<<1)}else $i(a,b-e|0);return}function $i(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=yb;yb=yb+32|0;f=i;g=a+8|0;h=a+4|0;d=c[h>>2]|0;do if((c[g>>2]|0)-d>>1>>>0>>0){d=(d-(c[a>>2]|0)>>1)+b|0;e=bj(a)|0;if(e>>>0>>0)CO(a);else{j=c[a>>2]|0;g=(c[g>>2]|0)-j|0;cj(f,g>>1>>>0>>1>>>0?(g>>>0>>0?d:g):e,(c[h>>2]|0)-j>>1,a+8|0);dj(f,b);ej(a,f);fj(f);break}}else aj(a,b);while(0);yb=i;return}function aj(a,b){a=a|0;b=b|0;var d=0;a=a+4|0;d=c[a>>2]|0;_O(d|0,0,b<<1|0)|0;c[a>>2]=d+(b<<1);return}function bj(a){a=a|0;return 2147483647}function cj(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=a+12|0;c[f>>2]=0;c[a+16>>2]=e;do if(b)if((b|0)<0){f=O(8)|0;bO(f,37409);c[f>>2]=16392;Q(f|0,13960,22)}else{e=rB(b<<1)|0;break}else e=0;while(0);c[a>>2]=e;d=e+(d<<1)|0;c[a+8>>2]=d;c[a+4>>2]=d;c[f>>2]=e+(b<<1);return}function dj(a,b){a=a|0;b=b|0;var d=0;a=a+8|0;d=c[a>>2]|0;_O(d|0,0,b<<1|0)|0;c[a>>2]=d+(b<<1);return}function ej(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;e=c[a>>2]|0;h=a+4|0;g=b+4|0;f=(c[h>>2]|0)-e|0;d=(c[g>>2]|0)+(0-(f>>1)<<1)|0;c[g>>2]=d;if((f|0)>0){YO(d|0,e|0,f|0)|0;e=g;d=c[g>>2]|0}else e=g;g=c[a>>2]|0;c[a>>2]=d;c[e>>2]=g;g=b+8|0;f=c[h>>2]|0;c[h>>2]=c[g>>2];c[g>>2]=f;g=a+8|0;h=b+12|0;a=c[g>>2]|0;c[g>>2]=c[h>>2];c[h>>2]=a;c[b>>2]=c[e>>2];return}function fj(a){a=a|0;var b=0,d=0,e=0,f=0;b=c[a+4>>2]|0;d=a+8|0;e=c[d>>2]|0;while(1){if((e|0)==(b|0))break;f=e+-2|0;c[d>>2]=f;e=f}b=c[a>>2]|0;if(b|0)Nf(b,(c[a+12>>2]|0)-b|0);return}function gj(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;h=yb;yb=yb+16|0;d=h;if((Kg(b)|0)!=1){g=Vf(Vf(NE(Vf(Vf(Vf(56032,27230)|0,27081)|0,35e3)|0,330)|0,35007)|0,27281)|0;GE(d,g+(c[(c[g>>2]|0)+-12>>2]|0)|0);f=VF(d,56736)|0;f=Gb[c[(c[f>>2]|0)+28>>2]&63](f,10)|0;WF(d);OE(g,f)|0;KE(g)|0;ua()}if((_g(b)|0)!=1){g=Vf(Vf(NE(Vf(Vf(Vf(56032,27305)|0,27081)|0,35e3)|0,331)|0,35007)|0,27350)|0;GE(d,g+(c[(c[g>>2]|0)+-12>>2]|0)|0);f=VF(d,56736)|0;f=Gb[c[(c[f>>2]|0)+28>>2]&63](f,10)|0;WF(d);OE(g,f)|0;KE(g)|0;ua()}e=a+4|0;f=a+16|0;g=a+20|0;if(((c[a+8>>2]|0)-(c[e>>2]|0)>>5|0)!=(B(c[g>>2]|0,c[f>>2]|0)|0)){i=Vf(Vf(NE(Vf(Vf(Vf(56032,27376)|0,27081)|0,35e3)|0,333)|0,35007)|0,27450)|0;GE(d,i+(c[(c[i>>2]|0)+-12>>2]|0)|0);j=VF(d,56736)|0;j=Gb[c[(c[j>>2]|0)+28>>2]&63](j,10)|0;WF(d);OE(i,j)|0;KE(i)|0;ua()}j=Lg(b)|0;if((j|0)!=(Lg(c[e>>2]|0)|0)){j=Vf(Vf(NE(Vf(Vf(Vf(56032,27485)|0,27081)|0,35e3)|0,334)|0,35007)|0,27545)|0;GE(d,j+(c[(c[j>>2]|0)+-12>>2]|0)|0);i=VF(d,56736)|0;i=Gb[c[(c[i>>2]|0)+28>>2]&63](i,10)|0;WF(d);OE(j,i)|0;KE(j)|0;ua()}j=Mg(b)|0;if((j|0)!=(Mg(c[e>>2]|0)|0)){j=Vf(Vf(NE(Vf(Vf(Vf(56032,27577)|0,27081)|0,35e3)|0,335)|0,35007)|0,27545)|0;GE(d,j+(c[(c[j>>2]|0)+-12>>2]|0)|0);i=VF(d,56736)|0;i=Gb[c[(c[i>>2]|0)+28>>2]&63](i,10)|0;WF(d);OE(j,i)|0;KE(j)|0;ua()}hj(a,c[e>>2]|0,b);b=c[e>>2]|0;hj(a,b+32|0,b);b=c[e>>2]|0;ij(a,b+64|0,b+32|0);b=1;while(1){if(b>>>0>=(c[f>>2]|0)>>>0)break;k=B(c[g>>2]|0,b)|0;k=jj((c[e>>2]|0)+(k<<5)|0)|0;d=(B(c[g>>2]|0,b)|0)+-1|0;d=jj((c[e>>2]|0)+(d<<5)|0)|0;i=(B(c[g>>2]|0,b)|0)+-1|0;i=Lg((c[e>>2]|0)+(i<<5)|0)|0;j=(B(c[g>>2]|0,b)|0)+-1|0;Vi(k,d,i,Mg((c[e>>2]|0)+(j<<5)|0)|0);j=B(c[g>>2]|0,b)|0;i=c[e>>2]|0;hj(a,i+(j+1<<5)|0,i+(j<<5)|0);j=B(c[g>>2]|0,b)|0;i=c[e>>2]|0;ij(a,i+(j+2<<5)|0,i+(j+1<<5)|0);b=b+1|0}yb=h;return}function hj(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;f=yb;yb=yb+16|0;e=f;if((Kg(b)|0)!=2){g=Vf(Vf(NE(Vf(Vf(Vf(56032,27639)|0,27081)|0,35e3)|0,357)|0,35007)|0,27686)|0;GE(e,g+(c[(c[g>>2]|0)+-12>>2]|0)|0);h=VF(e,56736)|0;h=Gb[c[(c[h>>2]|0)+28>>2]&63](h,10)|0;WF(e);OE(g,h)|0;KE(g)|0;ua()}switch(Kg(d)|0){case 1:{e=jj(b)|0;g=c[a+32>>2]|0;h=Bi(d)|0;Ti(e,g,h,Lg(d)|0,Mg(d)|0);break}case 2:{e=jj(b)|0;g=c[a+44>>2]|0;h=Bi(d)|0;Ui(e,g,h,Lg(d)|0,Mg(d)|0);break}case 0:{h=O(16)|0;c[e>>2]=0;c[e+4>>2]=0;c[e+8>>2]=0;eO(e,27722,Wf(27722)|0);kj(h,e);Q(h|0,13208,5)}default:{h=O(16)|0;c[e>>2]=0;c[e+4>>2]=0;c[e+8>>2]=0;eO(e,27741,Wf(27741)|0);kj(h,e);Q(h|0,13208,5)}}yb=f;return}function ij(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;e=yb;yb=yb+32|0;f=e;j=c[a+56>>2]|0;i=Kg(d)|0;h=Lg(d)|0;g=Mg(d)|0;iq(f,j,i,h,g,Ci(d)|0,1);hj(a,f,d);hj(a,b,f);pq(f);yb=e;return}function jj(a){a=a|0;return c[a+24>>2]|0}function kj(a,b){a=a|0;b=b|0;c[a>>2]=15708;dO(a+4|0,b);return}function lj(a){a=a|0;c[a>>2]=15708;hO(a+4|0);return}function mj(a){a=a|0;lj(a);QA(a);return}function nj(b){b=b|0;b=b+4|0;if((a[b+11>>0]|0)<0)b=c[b>>2]|0;return b|0}function oj(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0.0,o=0.0,p=0;m=c+-1|0;j=b+(c<<2)|0;h=b+4|0;n=+f[b>>2];o=+f[h>>2]-n;n=+f[j>>2]-n;f[a>>2]=+y(+n,+o)+3.141592653589793;f[a+4>>2]=+u(+(o*o+n*n));g=1;e=j;while(1){i=a+8|0;e=e+4|0;if(g>>>0>=m>>>0)break;l=h+4|0;n=+f[l>>2]-+f[h+-4>>2];o=+f[e>>2]-+f[h>>2];f[i>>2]=+y(+o,+n)+3.141592653589793;f[a+12>>2]=+u(+(n*n+o*o));g=g+1|0;h=l;a=i}l=d+-1|0;o=+f[h>>2];n=o-+f[h+-4>>2];o=+f[e>>2]-o;f[i>>2]=+y(+o,+n)+3.141592653589793;f[a+12>>2]=+u(+(n*n+o*o));k=1;g=i;d=j+(c<<2)|0;h=b;a=j;while(1){e=g+8|0;if(k>>>0>=l>>>0)break;j=a+4|0;n=+f[j>>2]-+f[a>>2];o=+f[d>>2]-+f[h>>2];f[e>>2]=+y(+o,+n)+3.141592653589793;f[g+12>>2]=+u(+(n*n+o*o));i=1;g=g+16|0;while(1){a=d+4|0;e=h+4|0;if(i>>>0>=m>>>0)break;p=j+4|0;n=+f[p>>2]-+f[j+-4>>2];o=+f[a>>2]-+f[e>>2];f[g>>2]=+y(+o,+n)+3.141592653589793;f[g+4>>2]=+u(+(n*n+o*o));i=i+1|0;d=a;h=e;j=p;g=g+8|0}n=+f[j>>2]-+f[j+-4>>2];o=+f[a>>2]-+f[e>>2];f[g>>2]=+y(+o,+n)+3.141592653589793;f[g+4>>2]=+u(+(n*n+o*o));k=k+1|0;d=d+8|0;h=h+8|0;a=j+4|0}h=b+((B(l,c)|0)<<2)|0;a=h+(0-c<<2)|0;p=h+4|0;o=+f[h>>2];n=+f[p>>2]-o;o=o-+f[a>>2];f[e>>2]=+y(+o,+n)+3.141592653589793;f[g+12>>2]=+u(+(n*n+o*o));h=1;g=p;while(1){d=e+8|0;a=a+4|0;if(h>>>0>=m>>>0)break;p=g+4|0;n=+f[p>>2]-+f[g+-4>>2];o=+f[g>>2]-+f[a>>2];f[d>>2]=+y(+o,+n)+3.141592653589793;f[e+12>>2]=+u(+(n*n+o*o));h=h+1|0;e=d;g=p}o=+f[g>>2];n=o-+f[g+-4>>2];o=o-+f[a>>2];f[d>>2]=+y(+o,+n)+3.141592653589793;f[e+12>>2]=+u(+(n*n+o*o));return}function pj(a){a=a|0;return 536870911}function qj(a){a=a|0;var b=0;c[a>>2]=0;c[a+4>>2]=0;a=a+12|0;b=a+40|0;do{c[a>>2]=0;a=a+4|0}while((a|0)<(b|0));return}function rj(a){a=a|0;kh(a+40|0);eh(a+28|0);return}function sj(a,b,d,e,g,h,i,j,k,l){a=a|0;b=b|0;d=d|0;e=e|0;g=g|0;h=h|0;i=+i;j=+j;k=k|0;l=+l;var m=0,n=0,o=0;c[a>>2]=e;n=a+4|0;c[n>>2]=g;c[a+8>>2]=h;f[a+12>>2]=i;f[a+16>>2]=j;c[a+20>>2]=k;f[a+24>>2]=l;dh(a+28|0,h);o=a+40|0;Pg(o,B(c[n>>2]|0,c[a>>2]|0)|0);k=0;while(1){if((k|0)==(e|0))break;a=B(k,g)|0;m=b>>>k;n=d>>>k;h=0;while(1){if((h|0)==(g|0))break;aq((c[o>>2]|0)+(h+a<<5)|0,2,m,n,-1,2);h=h+1|0}k=k+1|0}return}function tj(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;g=yb;yb=yb+16|0;f=g;e=a+40|0;a=0;while(1){d=yh(b)|0;if(a>>>0>=(c[d+4>>2]|0)-(c[d>>2]|0)>>5>>>0){a=3;break}d=(c[(yh(b)|0)>>2]|0)+(a<<5)|0;h=Lg(d)|0;if((h|0)!=((Ci(d)|0)>>>2|0)){a=5;break}j=uj((c[e>>2]|0)+(a<<5)|0)|0;i=vj(d)|0;h=Lg(d)|0;oj(j,i,h,Mg(d)|0);a=a+1|0}if((a|0)==3){yb=g;return}else if((a|0)==5){j=Vf(Vf(NE(Vf(Vf(Vf(56032,27784)|0,27845)|0,35e3)|0,96)|0,35007)|0,27934)|0;GE(f,j+(c[(c[j>>2]|0)+-12>>2]|0)|0);i=VF(f,56736)|0;i=Gb[c[(c[i>>2]|0)+28>>2]&63](i,10)|0;WF(f);OE(j,i)|0;KE(j)|0;ua()}}function uj(a){a=a|0;return c[a+24>>2]|0}function vj(a){a=a|0;return c[a+24>>2]|0}function wj(a,b,d,e,g,i,j,k){a=a|0;b=b|0;d=d|0;e=e|0;g=g|0;i=+i;j=+j;k=+k;var l=0,m=0,n=0.0,o=0,p=0,q=0,r=0,s=0.0,t=0.0,u=0,v=0,w=0,x=0,y=0,z=0,C=0,D=0,E=0,F=0,G=0;F=yb;yb=yb+48|0;D=F+32|0;E=F+24|0;w=F+16|0;x=F+12|0;y=F+8|0;z=F+4|0;C=F;if(!(i>=0.0)){v=Vf(Vf(NE(Vf(Vf(Vf(56032,27975)|0,27845)|0,35e3)|0,119)|0,35007)|0,28005)|0;GE(D,v+(c[(c[v>>2]|0)+-12>>2]|0)|0);u=VF(D,56736)|0;u=Gb[c[(c[u>>2]|0)+28>>2]&63](u,10)|0;WF(D);OE(v,u)|0;KE(v)|0;ua()}l=a+4|0;v=(B(c[l>>2]|0,e)|0)+g|0;m=a+40|0;if(!(+((Lg((c[m>>2]|0)+(v<<5)|0)|0)>>>0)>i)){v=Vf(Vf(NE(Vf(Vf(Vf(56032,28024)|0,27845)|0,35e3)|0,120)|0,35007)|0,28104)|0;GE(D,v+(c[(c[v>>2]|0)+-12>>2]|0)|0);u=VF(D,56736)|0;u=Gb[c[(c[u>>2]|0)+28>>2]&63](u,10)|0;WF(D);OE(v,u)|0;KE(v)|0;ua()}if(!(j>=0.0)){v=Vf(Vf(NE(Vf(Vf(Vf(56032,28140)|0,27845)|0,35e3)|0,121)|0,35007)|0,28170)|0;GE(D,v+(c[(c[v>>2]|0)+-12>>2]|0)|0);u=VF(D,56736)|0;u=Gb[c[(c[u>>2]|0)+28>>2]&63](u,10)|0;WF(D);OE(v,u)|0;KE(v)|0;ua()}v=(B(c[l>>2]|0,e)|0)+g|0;if(!(+((Mg((c[m>>2]|0)+(v<<5)|0)|0)>>>0)>j)){v=Vf(Vf(NE(Vf(Vf(Vf(56032,28189)|0,27845)|0,35e3)|0,122)|0,35007)|0,28270)|0;GE(D,v+(c[(c[v>>2]|0)+-12>>2]|0)|0);u=VF(D,56736)|0;u=Gb[c[(c[u>>2]|0)+28>>2]&63](u,10)|0;WF(D);OE(v,u)|0;KE(v)|0;ua()}q=(B(c[l>>2]|0,e)|0)+g|0;q=(c[m>>2]|0)+(q<<5)|0;if((_g(q)|0)!=2){v=Vf(Vf(NE(Vf(Vf(Vf(56032,28307)|0,27845)|0,35e3)|0,126)|0,35007)|0,28348)|0;GE(D,v+(c[(c[v>>2]|0)+-12>>2]|0)|0);u=VF(D,56736)|0;u=Gb[c[(c[u>>2]|0)+28>>2]&63](u,10)|0;WF(D);OE(v,u)|0;KE(v)|0;ua()}c[d>>2]=0;e=~~(i+.5);l=~~(j+.5);a:do if(((e|0)>=0?!((l|0)<0|(Lg(q)|0)>>>0<=e>>>0):0)?(Mg(q)|0)>>>0>l>>>0:0){n=+xj(1.0,+f[a+12>>2]*k);s=-1.0/(+hi(n)*2.0);n=n*+f[a+16>>2];t=+A(+(+hi(n)));m=~~(n+.5);p=yj(0,e-m|0)|0;o=zj(m+e|0,(Lg(q)|0)+-1|0)|0;e=yj(0,l-m|0)|0;m=zj(m+l|0,(Mg(q)|0)+-1|0)|0;u=a+28|0;v=c[u>>2]|0;Aj(v,(c[a+32>>2]|0)-v>>2);v=a+8|0;while(1){if((e|0)>(m|0))break;k=+hi(+(e|0)-j);g=ah(q,e)|0;l=p;while(1){if((l|0)>(o|0))break;n=k+ +hi(+(l|0)-i);if(!(n>t)){G=g+(l<<1<<2)|0;n=+Bj(s*n);r=c[v>>2]|0;Cj(c[u>>2]|0,+f[G>>2]*+(r|0)*.159154943091895,n*+f[G+4>>2],r)}l=l+1|0}e=e+1|0}l=a+20|0;e=0;while(1){if((e|0)>=(c[l>>2]|0))break;G=c[u>>2]|0;Dj(G,G,c[v>>2]|0,15720);e=e+1|0}l=c[v>>2]|0;e=0;s=0.0;while(1){if((e|0)>=(l|0))break;j=+f[(c[u>>2]|0)+(e<<2)>>2];e=e+1|0;s=j>s?j:s}if(!(s==0.0)){if(!(s>0.0)){G=Vf(Vf(NE(Vf(Vf(Vf(56032,28379)|0,27845)|0,35e3)|0,218)|0,35007)|0,28417)|0;GE(D,G+(c[(c[G>>2]|0)+-12>>2]|0)|0);r=VF(D,56736)|0;r=Gb[c[(c[r>>2]|0)+28>>2]&63](r,10)|0;WF(D);OE(G,r)|0;KE(G)|0;ua()}p=D+4|0;q=E+4|0;r=w+4|0;o=a+24|0;m=0;e=l;while(1){if((m|0)>=(e|0))break a;n=+(m|0);f[D>>2]=n;l=c[u>>2]|0;G=l+(m<<2)|0;a=c[G>>2]|0;c[p>>2]=a;g=m+-1|0;f[E>>2]=+(g|0);g=c[l+(((g+e|0)%(e|0)|0)<<2)>>2]|0;c[q>>2]=g;m=m+1|0;f[w>>2]=+(m|0);l=c[l+(((m+e|0)%(e|0)|0)<<2)>>2]|0;c[r>>2]=l;k=(c[h>>2]=a,+f[h>>2]);if(+f[G>>2]>s*+f[o>>2]?(j=(c[h>>2]=l,+f[h>>2]),k>(c[h>>2]=g,+f[h>>2])&k>j):0){f[C>>2]=n;if(Ej(x,y,z,E,D,w)|0)Fj(C,+f[x>>2],+f[y>>2],+f[z>>2])|0;j=+(c[v>>2]|0);e=c[d>>2]|0;f[b+(e<<2)>>2]=(+f[C>>2]+.5+j)/j*6.283185307179586%6.283185307179586;c[d>>2]=e+1;e=c[v>>2]|0}}}}while(0);yb=F;return}function xj(a,b){a=+a;b=+b;return +(a>b?a:b)}function yj(a,b){a=a|0;b=b|0;return ((a|0)>(b|0)?a:b)|0}function zj(a,b){a=a|0;b=b|0;return ((a|0)<(b|0)?a:b)|0}function Aj(a,b){a=a|0;b=b|0;_O(a|0,0,b<<2|0)|0;return}function Bj(a){a=+a;return +(((((((a+6.0)*a+30.0)*a+120.0)*a+360.0)*a+720.0)*a+720.0)*.0013888888)}function Cj(a,b,d,e){a=a|0;b=+b;d=+d;e=e|0;var g=0.0,h=0,i=0,j=0,k=0,l=0;j=yb;yb=yb+16|0;i=j;if(!a){h=Vf(Vf(NE(Vf(Vf(Vf(56032,28448)|0,28484)|0,35e3)|0,139)|0,35007)|0,28571)|0;GE(i,h+(c[(c[h>>2]|0)+-12>>2]|0)|0);k=VF(i,56736)|0;k=Gb[c[(c[k>>2]|0)+28>>2]&63](k,10)|0;WF(i);OE(h,k)|0;KE(h)|0;ua()}if(b+.5>0.0?(g=b+-.5,g<+(e|0)):0){if(!(d>=0.0)){k=Vf(Vf(NE(Vf(Vf(Vf(56032,28702)|0,28484)|0,35e3)|0,141)|0,35007)|0,28740)|0;GE(i,k+(c[(c[k>>2]|0)+-12>>2]|0)|0);h=VF(i,56736)|0;h=Gb[c[(c[h>>2]|0)+28>>2]&63](h,10)|0;WF(i);OE(k,h)|0;KE(k)|0;ua()}if((e|0)<=-1){k=Vf(Vf(NE(Vf(Vf(Vf(56032,28769)|0,28484)|0,35e3)|0,142)|0,35007)|0,28806)|0;GE(i,k+(c[(c[k>>2]|0)+-12>>2]|0)|0);h=VF(i,56736)|0;h=Gb[c[(c[h>>2]|0)+28>>2]&63](h,10)|0;WF(i);OE(k,h)|0;KE(k)|0;ua()}k=~~+s(+g);b=b-+(k|0)+-.5;g=1.0-b;h=(k+e|0)%(e|0)|0;e=(k+1|0)%(e|0)|0;if(!(g>=0.0)){k=Vf(Vf(NE(Vf(Vf(Vf(56032,28835)|0,28484)|0,35e3)|0,150)|0,35007)|0,28866)|0;GE(i,k+(c[(c[k>>2]|0)+-12>>2]|0)|0);l=VF(i,56736)|0;l=Gb[c[(c[l>>2]|0)+28>>2]&63](l,10)|0;WF(i);OE(k,l)|0;KE(k)|0;ua()}if(!(b>=0.0)){l=Vf(Vf(NE(Vf(Vf(Vf(56032,28886)|0,28484)|0,35e3)|0,151)|0,35007)|0,28917)|0;GE(i,l+(c[(c[l>>2]|0)+-12>>2]|0)|0);k=VF(i,56736)|0;k=Gb[c[(c[k>>2]|0)+28>>2]&63](k,10)|0;WF(i);OE(l,k)|0;KE(l)|0;ua()}if((h|0)<=-1){l=Vf(Vf(NE(Vf(Vf(Vf(56032,28937)|0,28484)|0,35e3)|0,152)|0,35007)|0,28985)|0;GE(i,l+(c[(c[l>>2]|0)+-12>>2]|0)|0);k=VF(i,56736)|0;k=Gb[c[(c[k>>2]|0)+28>>2]&63](k,10)|0;WF(i);OE(l,k)|0;KE(l)|0;ua()}if((e|0)>-1){l=a+(h<<2)|0;f[l>>2]=g*d+ +f[l>>2];l=a+(e<<2)|0;f[l>>2]=b*d+ +f[l>>2];yb=j;return}else{l=Vf(Vf(NE(Vf(Vf(Vf(56032,29011)|0,28484)|0,35e3)|0,153)|0,35007)|0,29059)|0;GE(i,l+(c[(c[l>>2]|0)+-12>>2]|0)|0);k=VF(i,56736)|0;k=Gb[c[(c[k>>2]|0)+28>>2]&63](k,10)|0;WF(i);OE(l,k)|0;KE(l)|0;ua()}}l=Vf(Vf(NE(Vf(Vf(Vf(56032,28597)|0,28484)|0,35e3)|0,140)|0,35007)|0,28662)|0;GE(i,l+(c[(c[l>>2]|0)+-12>>2]|0)|0);k=VF(i,56736)|0;k=Gb[c[(c[k>>2]|0)+28>>2]&63](k,10)|0;WF(i);OE(l,k)|0;KE(l)|0;ua()}function Dj(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0.0,g=0,h=0,i=0,j=0,k=0.0,l=0,m=0.0;k=+f[b>>2];g=c+-1|0;h=b+(g<<2)|0;i=d+4|0;j=d+8|0;e=+f[h>>2];c=0;while(1){if((c|0)==(g|0))break;m=+f[b+(c<<2)>>2];l=c+1|0;f[a+(c<<2)>>2]=e*+f[d>>2]+m*+f[i>>2]+ +f[j>>2]*+f[b+(l<<2)>>2];e=m;c=l}f[a+(g<<2)>>2]=e*+f[d>>2]+ +f[i>>2]*+f[h>>2]+k*+f[j>>2];return}function Ej(a,b,c,d,e,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;g=g|0;var h=0.0,i=0.0,j=0.0,k=0.0,l=0.0,m=0,n=0.0;h=+f[g>>2];k=+f[e>>2];l=+f[d>>2];j=h-l;h=(h-k)*j;i=l-k;j=i*j;if(i==0.0|(h==0.0|j==0.0)){f[a>>2]=0.0;f[b>>2]=0.0;b=0;h=0.0}else{l=l*l;m=e+4|0;n=+f[m>>2];e=d+4|0;h=(+f[g+4>>2]-n)/h-(+f[e>>2]-n)/j;f[a>>2]=h;h=(+f[e>>2]-+f[m>>2]+(k*k-l)*h)/i;f[b>>2]=h;b=1;h=+f[e>>2]-l*+f[a>>2]-h*+f[d>>2]}f[c>>2]=h;return b|0}function Fj(a,b,c,d){a=a|0;b=+b;c=+c;d=+d;if(b==0.0)a=0;else{f[a>>2]=-c/(b*2.0);a=1}return a|0}function Gj(a){a=a|0;var b=0,d=0;c[a>>2]=0;d=rB(24)|0;Hj(d);b=c[a>>2]|0;c[a>>2]=d;if(b|0){Ij(b);QA(b)}return}function Hj(a){a=a|0;var b=0,d=0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;c[a+20>>2]=1065353216;d=rB(840)|0;Zj(d);b=c[a>>2]|0;c[a>>2]=d;if(b|0){Kj(b);QA(b)}return}function Ij(a){a=a|0;var b=0;Jj(a+4|0);b=c[a>>2]|0;c[a>>2]=0;if(b|0){Kj(b);QA(b)}return}function Jj(a){a=a|0;Wj(a);return}function Kj(a){a=a|0;Lj(a+788|0);ip(a+652|0);Mj(a+636|0);Nj(a+316|0);wh(a+160|0);Oi(a+92|0);Oj(a+72|0);Pj(a+64|0);Qj(a+12|0);return}function Lj(a){a=a|0;Uj(a+24|0);Vj(a+12|0);eh(a);return}function Mj(a){a=a|0;Qj(a);return}function Nj(a){a=a|0;return}function Oj(a){a=a|0;Rj(a);return}function Pj(a){a=a|0;var b=0,d=0;a=c[a+4>>2]|0;if(a|0?(d=a+4|0,b=c[d>>2]|0,c[d>>2]=b+-1,(b|0)==0):0){Qb[c[(c[a>>2]|0)+8>>2]&255](a);YN(a)}return}function Qj(a){a=a|0;var b=0,d=0;b=c[a>>2]|0;d=b;if(b|0){c[a+4>>2]=d;Nf(b,(c[a+8>>2]|0)-d|0)}return}function Rj(a){a=a|0;var b=0;Sj(a,c[a+8>>2]|0);b=c[a>>2]|0;c[a>>2]=0;if(b|0)Nf(b,c[a+4>>2]<<2);return}function Sj(a,b){a=a|0;b=b|0;while(1){if(!b)break;a=c[b>>2]|0;Tj(b+8|0);Nf(b,20);b=a}return}function Tj(a){a=a|0;Pj(a+4|0);return}function Uj(a){a=a|0;var b=0,d=0;b=c[a>>2]|0;d=b;if(b|0){c[a+4>>2]=d;Nf(b,(c[a+8>>2]|0)-d|0)}return}function Vj(a){a=a|0;var b=0,d=0;b=c[a>>2]|0;d=b;if(b|0){c[a+4>>2]=d;Nf(b,(c[a+8>>2]|0)-d|0)}return}function Wj(a){a=a|0;var b=0;Xj(a,c[a+8>>2]|0);b=c[a>>2]|0;c[a>>2]=0;if(b|0)Nf(b,c[a+4>>2]<<2);return}function Xj(a,b){a=a|0;b=b|0;while(1){if(!b)break;a=c[b>>2]|0;Yj(b+8|0);Nf(b,24);b=a}return}function Yj(a){a=a|0;jg(a+4|0);return}function Zj(b){b=b|0;var d=0;c[b+12>>2]=0;c[b+16>>2]=0;c[b+20>>2]=0;d=b+64|0;c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;c[d+12>>2]=0;c[d+16>>2]=0;c[d+20>>2]=0;c[b+88>>2]=1065353216;Yi(b+92|0);d=b+160|0;bh(d);Ep(b+316|0);_j(b+636|0);hp(b+652|0);$j(b+788|0,.009999999776482582,1024,1064,50);ak(d,3.0);bk(d,4.0);ch(d,500);f[b+4>>2]=3.0;c[b>>2]=8;a[b+8>>0]=1;return}function _j(a){a=a|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;f[a+12>>2]=.699999988079071;return}function $j(a,b,d,e,f){a=a|0;b=+b;d=d|0;e=e|0;f=f|0;var g=0,h=0;g=a;h=g+36|0;do{c[g>>2]=0;g=g+4|0}while((g|0)<(h|0));ck(a,b,d,e,f);return}function ak(a,b){a=a|0;b=+b;f[a+52>>2]=b;return}function bk(a,b){a=a|0;b=+b;f[a+56>>2]=b;return}function ck(a,b,d,e,g){a=a|0;b=+b;d=d|0;e=e|0;g=g|0;dh(a,d*9|0);dk(a+24|0,d);f[a+36>>2]=b;c[a+40>>2]=d;c[a+44>>2]=e;c[a+48>>2]=g;return}function dk(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=a+4|0;f=c[a>>2]|0;e=(c[d>>2]|0)-f>>3;if(e>>>0>=b>>>0){if(e>>>0>b>>>0)c[d>>2]=f+(b<<3)}else ek(a,b-e|0);return}function ek(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;i=yb;yb=yb+32|0;f=i;g=a+8|0;h=a+4|0;d=c[h>>2]|0;do if((c[g>>2]|0)-d>>3>>>0>>0){d=(d-(c[a>>2]|0)>>3)+b|0;e=gk(a)|0;if(e>>>0>>0)CO(a);else{j=c[a>>2]|0;k=(c[g>>2]|0)-j|0;g=k>>2;hk(f,k>>3>>>0>>1>>>0?(g>>>0>>0?d:g):e,(c[h>>2]|0)-j>>3,a+8|0);ik(f,b);jk(a,f);kk(f);break}}else fk(a,b);while(0);yb=i;return}function fk(a,b){a=a|0;b=b|0;var d=0;a=a+4|0;d=c[a>>2]|0;_O(d|0,0,b<<3|0)|0;c[a>>2]=d+(b<<3);return}function gk(a){a=a|0;return 536870911}function hk(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=a+12|0;c[f>>2]=0;c[a+16>>2]=e;do if(b)if(b>>>0>536870911){f=O(8)|0;bO(f,37409);c[f>>2]=16392;Q(f|0,13960,22)}else{e=rB(b<<3)|0;break}else e=0;while(0);c[a>>2]=e;d=e+(d<<3)|0;c[a+8>>2]=d;c[a+4>>2]=d;c[f>>2]=e+(b<<3);return}function ik(a,b){a=a|0;b=b|0;var d=0;a=a+8|0;d=c[a>>2]|0;_O(d|0,0,b<<3|0)|0;c[a>>2]=d+(b<<3);return}function jk(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;e=c[a>>2]|0;h=a+4|0;g=b+4|0;f=(c[h>>2]|0)-e|0;d=(c[g>>2]|0)+(0-(f>>3)<<3)|0;c[g>>2]=d;if((f|0)>0){YO(d|0,e|0,f|0)|0;e=g;d=c[g>>2]|0}else e=g;g=c[a>>2]|0;c[a>>2]=d;c[e>>2]=g;g=b+8|0;f=c[h>>2]|0;c[h>>2]=c[g>>2];c[g>>2]=f;g=a+8|0;h=b+12|0;a=c[g>>2]|0;c[g>>2]=c[h>>2];c[h>>2]=a;c[b>>2]=c[e>>2];return}function kk(a){a=a|0;var b=0,d=0,e=0,f=0;b=c[a+4>>2]|0;d=a+8|0;e=c[d>>2]|0;while(1){if((e|0)==(b|0))break;f=e+-8|0;c[d>>2]=f;e=f}b=c[a>>2]|0;if(b|0)Nf(b,(c[a+12>>2]|0)-b|0);return}function lk(a){a=a|0;var b=0;b=c[a>>2]|0;c[a>>2]=0;if(b|0){Ij(b);QA(b)}return}function mk(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;e=c[b>>2]|0;f=c[a+4>>2]|0;a:do if(f){g=f+-1|0;h=(g&f|0)==0;if(!h)if(e>>>0>>0)d=e;else d=(e>>>0)%(f>>>0)|0;else d=g&e;b=c[(c[a>>2]|0)+(d<<2)>>2]|0;if(b)while(1){b=c[b>>2]|0;if(!b){b=0;break a}a=c[b+4>>2]|0;if((a|0)==(e|0)){if((c[b+8>>2]|0)==(e|0))break a}else{if(!h){if(a>>>0>=f>>>0)a=(a>>>0)%(f>>>0)|0}else a=a&g;if((a|0)!=(d|0)){b=0;break a}}}else b=0}else b=0;while(0);return b|0}function nk(a){a=a|0;return a+4|0}function ok(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=0;while(1){if((b|0)<(c|0)|(a|0)<(c|0))break;d=d+1|0;b=b>>1;a=a>>1}return d|0}function pk(a){a=a|0;return c[a>>2]|0}function qk(a){a=a|0;return c[a+4>>2]|0}function rk(a){a=a|0;c[a>>2]=0;c[a+4>>2]=0;$l(a+8|0);am(a+36|0);return}function sk(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;d=yb;yb=yb+16|0;e=d;c[a>>2]=b;f=rB(16)|0;c[f+4>>2]=0;c[f+8>>2]=0;c[f>>2]=15740;c[f+12>>2]=b;c[a+4>>2]=f;c[e>>2]=b;c[e+4>>2]=b;Pl(a,e);yb=d;return}function tk(a,b){a=a|0;b=b|0;c[a>>2]=b;return}function uk(a,b){a=a|0;b=b|0;c[a+4>>2]=b;return}function vk(b,d,e,g){b=b|0;d=d|0;e=e|0;g=g|0;var h=0,i=0,j=0,k=0,l=0;k=yb;yb=yb+32|0;i=k+20|0;j=k;if(!d){h=Vf(Vf(NE(Vf(Vf(Vf(56032,33588)|0,30067)|0,35e3)|0,212)|0,35007)|0,33688)|0;GE(i,h+(c[(c[h>>2]|0)+-12>>2]|0)|0);l=VF(i,56736)|0;l=Gb[c[(c[l>>2]|0)+28>>2]&63](l,10)|0;WF(i);OE(h,l)|0;KE(h)|0;ua()}if(!e){l=Vf(Vf(NE(Vf(Vf(Vf(56032,30146)|0,30067)|0,35e3)|0,213)|0,35007)|0,30178)|0;GE(i,l+(c[(c[l>>2]|0)+-12>>2]|0)|0);h=VF(i,56736)|0;h=Gb[c[(c[h>>2]|0)+28>>2]&63](h,10)|0;WF(i);OE(l,h)|0;KE(l)|0;ua()}l=yh(d)|0;if((c[l+4>>2]|0)==(c[l>>2]|0)){l=Vf(Vf(NE(Vf(Vf(Vf(56032,30195)|0,30067)|0,35e3)|0,214)|0,35007)|0,30247)|0;GE(i,l+(c[(c[l>>2]|0)+-12>>2]|0)|0);h=VF(i,56736)|0;h=Gb[c[(c[h>>2]|0)+28>>2]&63](h,10)|0;WF(i);OE(l,h)|0;KE(l)|0;ua()}l=Lg(c[(yh(d)|0)>>2]|0)|0;if((l|0)!=(pk(e)|0)){l=Vf(Vf(NE(Vf(Vf(Vf(56032,30264)|0,30067)|0,35e3)|0,215)|0,35007)|0,30337)|0;GE(i,l+(c[(c[l>>2]|0)+-12>>2]|0)|0);h=VF(i,56736)|0;h=Gb[c[(c[h>>2]|0)+28>>2]&63](h,10)|0;WF(i);OE(l,h)|0;KE(l)|0;ua()}l=Mg(c[(yh(d)|0)>>2]|0)|0;if((l|0)!=(qk(e)|0)){l=Vf(Vf(NE(Vf(Vf(Vf(56032,30372)|0,30067)|0,35e3)|0,216)|0,35007)|0,30337)|0;GE(i,l+(c[(c[l>>2]|0)+-12>>2]|0)|0);h=VF(i,56736)|0;h=Gb[c[(c[h>>2]|0)+28>>2]&63](h,10)|0;WF(i);OE(l,h)|0;KE(l)|0;ua()}Ph(e,d);h=Kl(e)|0;Ll(i,((c[h+4>>2]|0)-(c[h>>2]|0)|0)/36|0);h=0;while(1){l=Kl(e)|0;if(h>>>0>=(((c[l+4>>2]|0)-(c[l>>2]|0)|0)/36|0)>>>0)break;l=c[(Kl(e)|0)>>2]|0;eg(j,+f[l+(h*36|0)>>2],+f[l+(h*36|0)+4>>2],+f[l+(h*36|0)+8>>2],+f[l+(h*36|0)+28>>2],+f[l+(h*36|0)+24>>2]>0.0);l=(c[i>>2]|0)+(h*20|0)|0;c[l>>2]=c[j>>2];c[l+4>>2]=c[j+4>>2];c[l+8>>2]=c[j+8>>2];c[l+12>>2]=c[j+12>>2];a[l+16>>0]=a[j+16>>0]|0;Mf(j);h=h+1|0}Fp(g,xk(b)|0,d,i);Lf(i);yb=k;return}function wk(){if((a[54528]|0)==0?lB(54528)|0:0){qq(55464);nB(54528)}return 55464}function xk(a){a=a|0;return a+8|0}function yk(a){a=a|0;return ((c[a+20>>2]|0)-(c[a+16>>2]|0)|0)/20|0|0}function zk(a){a=a|0;var b=0,d=0;d=a+36|0;Ek(d,128);Fk(d,8);Gk(d,8);Hk(d,16);a=a+8|0;b=c[(Ik(a)|0)>>2]|0;Jk(d,b,yk(a)|0);return}function Ak(a,b){a=a|0;b=b|0;var d=0,e=0,g=0.0,h=0.0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=yb;yb=yb+32|0;r=s+4|0;l=s;m=s+16|0;c[l>>2]=b;q=c[b>>2]|0;o=a+4|0;i=c[o>>2]|0;p=(i|0)==0;a:do if(!p){k=i+-1|0;e=(k&i|0)==0;if(!e)if(q>>>0>>0)j=q;else j=(q>>>0)%(i>>>0)|0;else j=k&q;b=c[(c[a>>2]|0)+(j<<2)>>2]|0;if(!b){b=j;n=16}else do{b=c[b>>2]|0;if(!b){b=j;n=16;break a}d=c[b+4>>2]|0;if((d|0)!=(q|0)){if(!e){if(d>>>0>=i>>>0)d=(d>>>0)%(i>>>0)|0}else d=d&k;if((d|0)!=(j|0)){b=j;n=16;break a}}}while((c[b+8>>2]|0)!=(q|0))}else{b=0;n=16}while(0);if((n|0)==16){Bk(r,a,q,57660,l,m);j=a+12|0;g=+(((c[j>>2]|0)+1|0)>>>0);h=+f[a+16>>2];do if(p|h*+(i>>>0)>>0<3|(i+-1&i|0)!=0)&1;d=~~+A(+(g/h))>>>0;Ck(a,b>>>0>>0?d:b);b=c[o>>2]|0;d=b+-1|0;if(!(d&b)){i=b;b=d&q;break}if(q>>>0>>0){i=b;b=q}else{i=b;b=(q>>>0)%(b>>>0)|0}}while(0);d=c[(c[a>>2]|0)+(b<<2)>>2]|0;if(!d){e=a+8|0;c[c[r>>2]>>2]=c[e>>2];c[e>>2]=c[r>>2];c[(c[a>>2]|0)+(b<<2)>>2]=e;e=c[r>>2]|0;b=c[e>>2]|0;if(!b)b=r;else{b=c[b+4>>2]|0;d=i+-1|0;if(d&i){if(b>>>0>=i>>>0)b=(b>>>0)%(i>>>0)|0}else b=b&d;c[(c[a>>2]|0)+(b<<2)>>2]=e;b=r}}else{c[c[r>>2]>>2]=c[d>>2];c[d>>2]=c[r>>2];b=r}r=c[b>>2]|0;c[j>>2]=(c[j>>2]|0)+1;c[b>>2]=0;b=r}yb=s;return b+12|0}function Bk(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;h=rB(20)|0;c[b>>2]=h;c[b+4>>2]=d+8;c[h+8>>2]=c[c[g>>2]>>2];c[h+12>>2]=0;c[h+16>>2]=0;a[b+8>>0]=1;c[h+4>>2]=e;c[h>>2]=0;return}function Ck(a,b){a=a|0;b=b|0;var d=0,e=0,g=0;if((b|0)!=1){if(b+-1&b)b=yD(b)|0}else b=2;e=c[a+4>>2]|0;if(b>>>0<=e>>>0){if(b>>>0>>0){d=~~+A(+(+((c[a+12>>2]|0)>>>0)/+f[a+16>>2]))>>>0;if(e>>>0>2&(e+-1&e|0)==0){g=1<<32-(C(d+-1|0)|0);d=d>>>0<2?d:g}else d=yD(d)|0;b=b>>>0>>0?d:b;if(b>>>0>>0)Dk(a,b)}}else Dk(a,b);return}function Dk(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=a+4|0;a:do if(b){if(b>>>0>1073741823){a=O(8)|0;bO(a,37409);c[a>>2]=16392;Q(a|0,13960,22)}l=rB(b<<2)|0;d=c[a>>2]|0;c[a>>2]=l;if(d|0)Nf(d,c[a+4>>2]<<2);c[e>>2]=b;d=0;while(1){if((d|0)==(b|0))break;c[(c[a>>2]|0)+(d<<2)>>2]=0;d=d+1|0}f=a+8|0;d=c[f>>2]|0;if(d|0){e=c[d+4>>2]|0;k=b+-1|0;l=(k&b|0)==0;if(!l){if(e>>>0>=b>>>0)e=(e>>>0)%(b>>>0)|0}else e=e&k;c[(c[a>>2]|0)+(e<<2)>>2]=f;while(1){j=d;b:while(1){while(1){d=c[j>>2]|0;if(!d)break a;f=c[d+4>>2]|0;if(!l){if(f>>>0>=b>>>0)f=(f>>>0)%(b>>>0)|0}else f=f&k;if((f|0)==(e|0))break;g=(c[a>>2]|0)+(f<<2)|0;if(!(c[g>>2]|0))break b;h=d+8|0;g=d;while(1){i=c[g>>2]|0;if(!i)break;if((c[h>>2]|0)==(c[i+8>>2]|0))g=i;else break}c[j>>2]=i;c[g>>2]=c[c[(c[a>>2]|0)+(f<<2)>>2]>>2];c[c[(c[a>>2]|0)+(f<<2)>>2]>>2]=d}j=d}c[g>>2]=j;e=f}}}else{d=c[a>>2]|0;c[a>>2]=0;if(d|0)Nf(d,c[a+4>>2]<<2);c[e>>2]=0}while(0);return}function Ek(a,b){a=a|0;b=b|0;Jl(a+12|0,b);return}function Fk(a,b){a=a|0;b=b|0;Il(a+12|0,b);return}function Gk(a,b){a=a|0;b=b|0;c[a+104>>2]=b;return}function Hk(a,b){a=a|0;b=b|0;c[a+108>>2]=b;return}function Ik(a){a=a|0;return a+4|0}function Jk(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;i=yb;yb=yb+16|0;g=i;Kk(g,d);f=c[g>>2]|0;h=(c[g+4>>2]|0)-f>>2;e=0;while(1){if((e|0)==(h|0))break;c[f+(e<<2)>>2]=e;e=e+1|0}Lk(a,b,d,f,h);Vj(g);yb=i;return}function Kk(a,b){a=a|0;b=b|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;if(b|0){Hl(a,b);Dl(a,b)}return}function Lk(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=rB(128)|0;Nk(g,Mk(a)|0);i=a+8|0;h=c[i>>2]|0;c[i>>2]=g;if(h){Ok(h);QA(h);g=c[i>>2]|0}Pk(g,0);Qk(a,c[i>>2]|0,b,d,e,f);return}function Mk(a){a=a|0;var b=0;b=a+4|0;a=c[b>>2]|0;c[b>>2]=a+1;return a|0}function Nk(b,d){b=b|0;d=d|0;c[b>>2]=d;a[b+100>>0]=1;d=b+104|0;c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;c[d+12>>2]=0;c[d+16>>2]=0;c[d+20>>2]=0;Gl(b+4|0,96);return}function Ok(a){a=a|0;var b=0,d=0,e=0,f=0;e=a+104|0;f=a+108|0;d=0;while(1){b=c[e>>2]|0;if(d>>>0>=(c[f>>2]|0)-b>>2>>>0)break;b=c[b+(d<<2)>>2]|0;if(b|0){Ok(b);QA(b)}d=d+1|0}Vj(a+116|0);Fl(e);return}function Pk(b,c){b=b|0;c=c|0;a[b+100>>0]=c&1;return}function Qk(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;q=yb;yb=yb+32|0;o=q+20|0;p=q;h=a+12|0;n=Rk(h)|0;if((yj(n,c[a+108>>2]|0)|0)>=(g|0)){Pk(b,1);Tk(Sk(b)|0,g);h=0;while(1){if((h|0)>=(g|0))break;p=c[f+(h<<2)>>2]|0;c[(c[(Sk(b)|0)>>2]|0)+(h<<2)>>2]=p;h=h+1|0}yb=q;return}c[p>>2]=0;c[p+4>>2]=0;c[p+8>>2]=0;c[p+12>>2]=0;c[p+16>>2]=1065353216;Uk(h,d,e,f,g);m=Vk(h)|0;n=m+4|0;i=c[n>>2]|0;h=c[m>>2]|0;if((i-h>>2|0)!=(g|0)){l=Vf(Vf(NE(Vf(Vf(Vf(56032,29134)|0,29190)|0,35e3)|0,363)|0,35007)|0,29284)|0;GE(o,l+(c[(c[l>>2]|0)+-12>>2]|0)|0);k=VF(o,56736)|0;k=Gb[c[(c[k>>2]|0)+28>>2]&63](k,10)|0;WF(o);OE(l,k)|0;KE(l)|0;ua()}l=0;while(1){if(l>>>0>=i-h>>2>>>0){h=10;break}h=c[h+(l<<2)>>2]|0;if((h|0)==-1){h=12;break}if((h|0)>=(g|0)){h=14;break}h=f+(h<<2)|0;if((c[h>>2]|0)>=(e|0)){h=16;break}h=Wk(p,h)|0;i=f+(l<<2)|0;j=h+4|0;k=c[j>>2]|0;if((k|0)==(c[h+8>>2]|0))Xk(h,i);else{c[k>>2]=c[i>>2];c[j>>2]=k+4}l=l+1|0;h=c[m>>2]|0;i=c[n>>2]|0}if((h|0)==10){h=p+12|0;a:do if((c[h>>2]|0)==1){Pk(b,1);Tk(Sk(b)|0,g);h=0;while(1){if((h|0)>=(g|0))break a;o=c[f+(h<<2)>>2]|0;c[(c[(Sk(b)|0)>>2]|0)+(h<<2)>>2]=o;h=h+1|0}}else{g=Yk(b)|0;Zk(g,c[h>>2]|0);h=p+8|0;while(1){h=c[h>>2]|0;if(!h)break a;i=h;l=i+12|0;m=i+16|0;if((c[m>>2]|0)==(c[l>>2]|0))break;j=rB(128)|0;k=Mk(a)|0;_k(j,k,d+((c[i+8>>2]|0)*96|0)|0);c[o>>2]=j;Pk(j,0);i=Yk(b)|0;j=i+4|0;k=c[j>>2]|0;if((k|0)==(c[i+8>>2]|0))$k(i,o);else{c[k>>2]=c[o>>2];c[j>>2]=(c[j>>2]|0)+4}g=c[l>>2]|0;Qk(a,c[o>>2]|0,d,e,g,(c[m>>2]|0)-g>>2)}b=Vf(Vf(NE(Vf(Vf(Vf(56032,29507)|0,29190)|0,35e3)|0,387)|0,35007)|0,29553)|0;GE(o,b+(c[(c[b>>2]|0)+-12>>2]|0)|0);e=VF(o,56736)|0;e=Gb[c[(c[e>>2]|0)+28>>2]&63](e,10)|0;WF(o);OE(b,e)|0;KE(b)|0;ua()}while(0);al(p);yb=q;return}else if((h|0)==12){q=Vf(Vf(NE(Vf(Vf(Vf(56032,29306)|0,29190)|0,35e3)|0,365)|0,35007)|0,29349)|0;GE(o,q+(c[(c[q>>2]|0)+-12>>2]|0)|0);b=VF(o,56736)|0;b=Gb[c[(c[b>>2]|0)+28>>2]&63](b,10)|0;WF(o);OE(q,b)|0;KE(q)|0;ua()}else if((h|0)==14){q=Vf(Vf(NE(Vf(Vf(Vf(56032,29371)|0,29190)|0,35e3)|0,366)|0,35007)|0,29422)|0;GE(o,q+(c[(c[q>>2]|0)+-12>>2]|0)|0);b=VF(o,56736)|0;b=Gb[c[(c[b>>2]|0)+28>>2]&63](b,10)|0;WF(o);OE(q,b)|0;KE(q)|0;ua()}else if((h|0)==16){q=Vf(Vf(NE(Vf(Vf(Vf(56032,29446)|0,29190)|0,35e3)|0,367)|0,35007)|0,29422)|0;GE(o,q+(c[(c[q>>2]|0)+-12>>2]|0)|0);b=VF(o,56736)|0;b=Gb[c[(c[b>>2]|0)+28>>2]&63](b,10)|0;WF(o);OE(q,b)|0;KE(q)|0;ua()}}function Rk(a){a=a|0;return c[a+4>>2]|0}function Sk(a){a=a|0;return a+116|0}function Tk(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=a+4|0;f=c[a>>2]|0;e=(c[d>>2]|0)-f>>2;if(e>>>0>=b>>>0){if(e>>>0>b>>>0)c[d>>2]=f+(b<<2)}else Cl(a,b-e|0);return}function Uk(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=yb;yb=yb+16|0;o=s;p=a+4|0;g=c[p>>2]|0;q=a+12|0;r=a+16|0;if((g|0)!=((c[r>>2]|0)-(c[q>>2]|0)>>2|0)){n=Vf(Vf(NE(Vf(Vf(Vf(56032,29590)|0,29635)|0,35e3)|0,154)|0,35007)|0,29707)|0;GE(o,n+(c[(c[n>>2]|0)+-12>>2]|0)|0);m=VF(o,56736)|0;m=Gb[c[(c[m>>2]|0)+28>>2]&63](m,10)|0;WF(o);OE(n,m)|0;KE(n)|0;ua()}if((d|0)<=0){n=Vf(Vf(NE(Vf(Vf(Vf(56032,29752)|0,29635)|0,35e3)|0,155)|0,35007)|0,29792)|0;GE(o,n+(c[(c[n>>2]|0)+-12>>2]|0)|0);m=VF(o,56736)|0;m=Gb[c[(c[m>>2]|0)+28>>2]&63](m,10)|0;WF(o);OE(n,m)|0;KE(n)|0;ua()}if((f|0)>(d|0)){n=Vf(Vf(NE(Vf(Vf(Vf(56032,29828)|0,29635)|0,35e3)|0,156)|0,35007)|0,29879)|0;GE(o,n+(c[(c[n>>2]|0)+-12>>2]|0)|0);m=VF(o,56736)|0;m=Gb[c[(c[m>>2]|0)+28>>2]&63](m,10)|0;WF(o);OE(n,m)|0;KE(n)|0;ua()}if((g|0)>(f|0)){n=Vf(Vf(NE(Vf(Vf(Vf(56032,29906)|0,29635)|0,35e3)|0,157)|0,35007)|0,29947)|0;GE(o,n+(c[(c[n>>2]|0)+-12>>2]|0)|0);m=VF(o,56736)|0;m=Gb[c[(c[m>>2]|0)+28>>2]&63](m,10)|0;WF(o);OE(n,m)|0;KE(n)|0;ua()}j=a+24|0;c[o>>2]=-1;ql(j,f,o);k=a+36|0;c[o>>2]=-1;ql(k,f,o);l=a+48|0;Tk(l,f);n=c[l>>2]|0;m=a+52|0;rl(n,(c[m>>2]|0)-n>>2,0);n=a+8|0;g=-1;i=0;while(1){if((i|0)>=(c[n>>2]|0))break;h=c[l>>2]|0;sl(h,(c[m>>2]|0)-h>>2,c[p>>2]|0,c[a>>2]|0);h=tl(a,k,b,d,e,f,c[l>>2]|0,c[p>>2]|0)|0;if(h>>>0>>0){ul(j,k);vl(c[q>>2]|0,c[l>>2]|0,c[p>>2]|0);g=h}i=i+1|0}if((c[p>>2]|0)==((c[r>>2]|0)-(c[q>>2]|0)>>2|0)){yb=s;return}else{s=Vf(Vf(NE(Vf(Vf(Vf(56032,29590)|0,29635)|0,35e3)|0,187)|0,35007)|0,29707)|0;GE(o,s+(c[(c[s>>2]|0)+-12>>2]|0)|0);r=VF(o,56736)|0;r=Gb[c[(c[r>>2]|0)+28>>2]&63](r,10)|0;WF(o);OE(s,r)|0;KE(s)|0;ua()}}function Vk(a){a=a|0;return a+24|0}function Wk(a,b){a=a|0;b=b|0;var d=0,e=0,g=0.0,h=0.0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=yb;yb=yb+32|0;r=s+4|0;l=s;m=s+16|0;c[l>>2]=b;q=c[b>>2]|0;o=a+4|0;i=c[o>>2]|0;p=(i|0)==0;a:do if(!p){k=i+-1|0;e=(k&i|0)==0;if(!e)if(q>>>0>>0)j=q;else j=(q>>>0)%(i>>>0)|0;else j=k&q;b=c[(c[a>>2]|0)+(j<<2)>>2]|0;if(!b){b=j;n=16}else do{b=c[b>>2]|0;if(!b){b=j;n=16;break a}d=c[b+4>>2]|0;if((d|0)!=(q|0)){if(!e){if(d>>>0>=i>>>0)d=(d>>>0)%(i>>>0)|0}else d=d&k;if((d|0)!=(j|0)){b=j;n=16;break a}}}while((c[b+8>>2]|0)!=(q|0))}else{b=0;n=16}while(0);if((n|0)==16){nl(r,a,q,57660,l,m);j=a+12|0;g=+(((c[j>>2]|0)+1|0)>>>0);h=+f[a+16>>2];do if(p|h*+(i>>>0)>>0<3|(i+-1&i|0)!=0)&1;d=~~+A(+(g/h))>>>0;ol(a,b>>>0>>0?d:b);b=c[o>>2]|0;d=b+-1|0;if(!(d&b)){i=b;b=d&q;break}if(q>>>0>>0){i=b;b=q}else{i=b;b=(q>>>0)%(b>>>0)|0}}while(0);d=c[(c[a>>2]|0)+(b<<2)>>2]|0;if(!d){e=a+8|0;c[c[r>>2]>>2]=c[e>>2];c[e>>2]=c[r>>2];c[(c[a>>2]|0)+(b<<2)>>2]=e;e=c[r>>2]|0;b=c[e>>2]|0;if(!b)b=r;else{b=c[b+4>>2]|0;d=i+-1|0;if(d&i){if(b>>>0>=i>>>0)b=(b>>>0)%(i>>>0)|0}else b=b&d;c[(c[a>>2]|0)+(b<<2)>>2]=e;b=r}}else{c[c[r>>2]>>2]=c[d>>2];c[d>>2]=c[r>>2];b=r}r=c[b>>2]|0;c[j>>2]=(c[j>>2]|0)+1;c[b>>2]=0;b=r}yb=s;return b+12|0}function Xk(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;h=yb;yb=yb+32|0;d=h;e=a+4|0;f=((c[e>>2]|0)-(c[a>>2]|0)>>2)+1|0;g=jl(a)|0;if(g>>>0>>0)CO(a);else{i=c[a>>2]|0;k=(c[a+8>>2]|0)-i|0;j=k>>1;kl(d,k>>2>>>0>>1>>>0?(j>>>0>>0?f:j):g,(c[e>>2]|0)-i>>2,a+8|0);g=d+8|0;f=c[g>>2]|0;c[f>>2]=c[b>>2];c[g>>2]=f+4;ll(a,d);ml(d);yb=h;return}}function Yk(a){a=a|0;return a+104|0}function Zk(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=yb;yb=yb+32|0;d=f;e=c[a>>2]|0;if((c[a+8>>2]|0)-e>>2>>>0>>0){fl(d,b,(c[a+4>>2]|0)-e>>2,a+8|0);gl(a,d);hl(d)}yb=f;return}function _k(b,d,e){b=b|0;d=d|0;e=e|0;c[b>>2]=d;a[b+100>>0]=1;d=b+104|0;c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;c[d+12>>2]=0;c[d+16>>2]=0;c[d+20>>2]=0;il(b+4|0,e,96);return}function $k(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;h=yb;yb=yb+32|0;d=h;e=a+4|0;f=((c[e>>2]|0)-(c[a>>2]|0)>>2)+1|0;g=el(a)|0;if(g>>>0>>0)CO(a);else{i=c[a>>2]|0;k=(c[a+8>>2]|0)-i|0;j=k>>1;fl(d,k>>2>>>0>>1>>>0?(j>>>0>>0?f:j):g,(c[e>>2]|0)-i>>2,a+8|0);g=d+8|0;c[c[g>>2]>>2]=c[b>>2];c[g>>2]=(c[g>>2]|0)+4;gl(a,d);hl(d);yb=h;return}}function al(a){a=a|0;bl(a);return}function bl(a){a=a|0;var b=0;cl(a,c[a+8>>2]|0);b=c[a>>2]|0;c[a>>2]=0;if(b|0)Nf(b,c[a+4>>2]<<2);return}function cl(a,b){a=a|0;b=b|0;while(1){if(!b)break;a=c[b>>2]|0;dl(b+8|0);Nf(b,24);b=a}return}function dl(a){a=a|0;Vj(a+4|0);return}function el(a){a=a|0;return 1073741823}function fl(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=a+12|0;c[f>>2]=0;c[a+16>>2]=e;do if(b)if(b>>>0>1073741823){f=O(8)|0;bO(f,37409);c[f>>2]=16392;Q(f|0,13960,22)}else{e=rB(b<<2)|0;break}else e=0;while(0);c[a>>2]=e;d=e+(d<<2)|0;c[a+8>>2]=d;c[a+4>>2]=d;c[f>>2]=e+(b<<2);return}function gl(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;e=c[a>>2]|0;h=a+4|0;g=b+4|0;f=(c[h>>2]|0)-e|0;d=(c[g>>2]|0)+(0-(f>>2)<<2)|0;c[g>>2]=d;if((f|0)>0){YO(d|0,e|0,f|0)|0;e=g;d=c[g>>2]|0}else e=g;g=c[a>>2]|0;c[a>>2]=d;c[e>>2]=g;g=b+8|0;f=c[h>>2]|0;c[h>>2]=c[g>>2];c[g>>2]=f;g=a+8|0;h=b+12|0;a=c[g>>2]|0;c[g>>2]=c[h>>2];c[h>>2]=a;c[b>>2]=c[e>>2];return}function hl(a){a=a|0;var b=0,d=0,e=0,f=0;b=c[a+4>>2]|0;d=a+8|0;e=c[d>>2]|0;while(1){if((e|0)==(b|0))break;f=e+-4|0;c[d>>2]=f;e=f}b=c[a>>2]|0;if(b|0)Nf(b,(c[a+12>>2]|0)-b|0);return}function il(a,b,c){a=a|0;b=b|0;c=c|0;YO(a|0,b|0,c|0)|0;return}function jl(a){a=a|0;return 1073741823}function kl(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=a+12|0;c[f>>2]=0;c[a+16>>2]=e;do if(b)if(b>>>0>1073741823){f=O(8)|0;bO(f,37409);c[f>>2]=16392;Q(f|0,13960,22)}else{e=rB(b<<2)|0;break}else e=0;while(0);c[a>>2]=e;d=e+(d<<2)|0;c[a+8>>2]=d;c[a+4>>2]=d;c[f>>2]=e+(b<<2);return}function ll(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;e=c[a>>2]|0;h=a+4|0;g=b+4|0;f=(c[h>>2]|0)-e|0;d=(c[g>>2]|0)+(0-(f>>2)<<2)|0;c[g>>2]=d;if((f|0)>0){YO(d|0,e|0,f|0)|0;e=g;d=c[g>>2]|0}else e=g;g=c[a>>2]|0;c[a>>2]=d;c[e>>2]=g;g=b+8|0;f=c[h>>2]|0;c[h>>2]=c[g>>2];c[g>>2]=f;g=a+8|0;h=b+12|0;a=c[g>>2]|0;c[g>>2]=c[h>>2];c[h>>2]=a;c[b>>2]=c[e>>2];return}function ml(a){a=a|0;var b=0,d=0,e=0,f=0;b=c[a+4>>2]|0;d=a+8|0;e=c[d>>2]|0;while(1){if((e|0)==(b|0))break;f=e+-4|0;c[d>>2]=f;e=f}b=c[a>>2]|0;if(b|0)Nf(b,(c[a+12>>2]|0)-b|0);return}function nl(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;h=rB(24)|0;c[b>>2]=h;c[b+4>>2]=d+8;c[h+8>>2]=c[c[g>>2]>>2];c[h+12>>2]=0;c[h+16>>2]=0;c[h+20>>2]=0;a[b+8>>0]=1;c[h+4>>2]=e;c[h>>2]=0;return}function ol(a,b){a=a|0;b=b|0;var d=0,e=0,g=0;if((b|0)!=1){if(b+-1&b)b=yD(b)|0}else b=2;e=c[a+4>>2]|0;if(b>>>0<=e>>>0){if(b>>>0>>0){d=~~+A(+(+((c[a+12>>2]|0)>>>0)/+f[a+16>>2]))>>>0;if(e>>>0>2&(e+-1&e|0)==0){g=1<<32-(C(d+-1|0)|0);d=d>>>0<2?d:g}else d=yD(d)|0;b=b>>>0>>0?d:b;if(b>>>0>>0)pl(a,b)}}else pl(a,b);return}function pl(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=a+4|0;a:do if(b){if(b>>>0>1073741823){a=O(8)|0;bO(a,37409);c[a>>2]=16392;Q(a|0,13960,22)}l=rB(b<<2)|0;d=c[a>>2]|0;c[a>>2]=l;if(d|0)Nf(d,c[a+4>>2]<<2);c[e>>2]=b;d=0;while(1){if((d|0)==(b|0))break;c[(c[a>>2]|0)+(d<<2)>>2]=0;d=d+1|0}f=a+8|0;d=c[f>>2]|0;if(d|0){e=c[d+4>>2]|0;k=b+-1|0;l=(k&b|0)==0;if(!l){if(e>>>0>=b>>>0)e=(e>>>0)%(b>>>0)|0}else e=e&k;c[(c[a>>2]|0)+(e<<2)>>2]=f;while(1){j=d;b:while(1){while(1){d=c[j>>2]|0;if(!d)break a;f=c[d+4>>2]|0;if(!l){if(f>>>0>=b>>>0)f=(f>>>0)%(b>>>0)|0}else f=f&k;if((f|0)==(e|0))break;g=(c[a>>2]|0)+(f<<2)|0;if(!(c[g>>2]|0))break b;h=d+8|0;g=d;while(1){i=c[g>>2]|0;if(!i)break;if((c[h>>2]|0)==(c[i+8>>2]|0))g=i;else break}c[j>>2]=i;c[g>>2]=c[c[(c[a>>2]|0)+(f<<2)>>2]>>2];c[c[(c[a>>2]|0)+(f<<2)>>2]>>2]=d}j=d}c[g>>2]=j;e=f}}}else{d=c[a>>2]|0;c[a>>2]=0;if(d|0)Nf(d,c[a+4>>2]<<2);c[e>>2]=0}while(0);return}function ql(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;e=a+4|0;g=c[a>>2]|0;f=(c[e>>2]|0)-g>>2;if(f>>>0>=b>>>0){if(f>>>0>b>>>0)c[e>>2]=g+(b<<2)}else Al(a,b-f|0,d);return}function rl(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;a:do if((b|0)>=1){c[a>>2]=d;e=1;while(1){if((e|0)==(b|0))break a;f=d+1|0;c[a+(e<<2)>>2]=f;e=e+1|0;d=f}}while(0);return}function sl(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;f=0;while(1){if((f|0)>=(d|0))break;i=a+(f<<2)|0;g=a+(((zl(e)|0)%(b|0)|0)<<2)|0;h=c[i>>2]|0;c[i>>2]=c[g>>2];c[g>>2]=h;f=f+1|0}return}function tl(a,b,d,e,f,g,h,i){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0;o=yb;yb=yb+16|0;a=o;if(((c[b+4>>2]|0)-(c[b>>2]|0)>>2|0)!=(g|0)){n=Vf(Vf(NE(Vf(Vf(Vf(56032,29134)|0,29635)|0,35e3)|0,198)|0,35007)|0,29967)|0;GE(a,n+(c[(c[n>>2]|0)+-12>>2]|0)|0);m=VF(a,56736)|0;m=Gb[c[(c[m>>2]|0)+28>>2]&63](m,10)|0;WF(a);OE(n,m)|0;KE(n)|0;ua()}if((e|0)<=0){n=Vf(Vf(NE(Vf(Vf(Vf(56032,29752)|0,29635)|0,35e3)|0,199)|0,35007)|0,29792)|0;GE(a,n+(c[(c[n>>2]|0)+-12>>2]|0)|0);m=VF(a,56736)|0;m=Gb[c[(c[m>>2]|0)+28>>2]&63](m,10)|0;WF(a);OE(n,m)|0;KE(n)|0;ua()}if((g|0)>(e|0)){n=Vf(Vf(NE(Vf(Vf(Vf(56032,29828)|0,29635)|0,35e3)|0,200)|0,35007)|0,29879)|0;GE(a,n+(c[(c[n>>2]|0)+-12>>2]|0)|0);m=VF(a,56736)|0;m=Gb[c[(c[m>>2]|0)+28>>2]&63](m,10)|0;WF(a);OE(n,m)|0;KE(n)|0;ua()}if((i|0)<=0){n=Vf(Vf(NE(Vf(Vf(Vf(56032,29996)|0,29635)|0,35e3)|0,201)|0,35007)|0,30035)|0;GE(a,n+(c[(c[n>>2]|0)+-12>>2]|0)|0);m=VF(a,56736)|0;m=Gb[c[(c[m>>2]|0)+28>>2]&63](m,10)|0;WF(a);OE(n,m)|0;KE(n)|0;ua()}k=0;m=0;while(1){if((m|0)>=(g|0))break;n=f+(m<<2)|0;l=0;a=-1;while(1){if((l|0)==(i|0))break;e=h+(l<<2)|0;j=wl(d+((c[n>>2]|0)*96|0)|0,d+((c[f+(c[e>>2]<<2)>>2]|0)*96|0)|0)|0;if(j>>>0>>0){c[(c[b>>2]|0)+(m<<2)>>2]=c[e>>2];a=j}l=l+1|0}k=a+k|0;m=m+1|0}yb=o;return k|0}function ul(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=c[a>>2]|0;c[a>>2]=c[b>>2];c[b>>2]=f;f=a+4|0;d=b+4|0;e=c[f>>2]|0;c[f>>2]=c[d>>2];c[d>>2]=e;d=a+8|0;b=b+8|0;a=c[d>>2]|0;c[d>>2]=c[b>>2];c[b>>2]=a;return}function vl(a,b,c){a=a|0;b=b|0;c=c|0;YO(a|0,b|0,c<<2|0)|0;return}function wl(a,b){a=a|0;b=b|0;return xl(a,b)|0}function xl(a,b){a=a|0;b=b|0;var d=0;d=yl(c[a>>2]|0,c[b>>2]|0)|0;d=(yl(c[a+4>>2]|0,c[b+4>>2]|0)|0)+d|0;d=d+(yl(c[a+8>>2]|0,c[b+8>>2]|0)|0)|0;d=d+(yl(c[a+12>>2]|0,c[b+12>>2]|0)|0)|0;d=d+(yl(c[a+16>>2]|0,c[b+16>>2]|0)|0)|0;d=d+(yl(c[a+20>>2]|0,c[b+20>>2]|0)|0)|0;d=d+(yl(c[a+24>>2]|0,c[b+24>>2]|0)|0)|0;d=d+(yl(c[a+28>>2]|0,c[b+28>>2]|0)|0)|0;d=d+(yl(c[a+32>>2]|0,c[b+32>>2]|0)|0)|0;d=d+(yl(c[a+36>>2]|0,c[b+36>>2]|0)|0)|0;d=d+(yl(c[a+40>>2]|0,c[b+40>>2]|0)|0)|0;d=d+(yl(c[a+44>>2]|0,c[b+44>>2]|0)|0)|0;d=d+(yl(c[a+48>>2]|0,c[b+48>>2]|0)|0)|0;d=d+(yl(c[a+52>>2]|0,c[b+52>>2]|0)|0)|0;d=d+(yl(c[a+56>>2]|0,c[b+56>>2]|0)|0)|0;d=d+(yl(c[a+60>>2]|0,c[b+60>>2]|0)|0)|0;d=d+(yl(c[a+64>>2]|0,c[b+64>>2]|0)|0)|0;d=d+(yl(c[a+68>>2]|0,c[b+68>>2]|0)|0)|0;d=d+(yl(c[a+72>>2]|0,c[b+72>>2]|0)|0)|0;d=d+(yl(c[a+76>>2]|0,c[b+76>>2]|0)|0)|0;d=d+(yl(c[a+80>>2]|0,c[b+80>>2]|0)|0)|0;d=d+(yl(c[a+84>>2]|0,c[b+84>>2]|0)|0)|0;d=d+(yl(c[a+88>>2]|0,c[b+88>>2]|0)|0)|0;return d+(yl(c[a+92>>2]|0,c[b+92>>2]|0)|0)|0}function yl(a,b){a=a|0;b=b|0;b=b^a;b=b-(b>>>1&1431655765)|0;b=(b>>>2&858993459)+(b&858993459)|0;return (B((b>>>4)+b&252645135,16843009)|0)>>>24|0}function zl(a){a=a|0;var b=0;b=((c[a>>2]|0)*214013|0)+2531011|0;c[a>>2]=b;return b>>>16&32767|0}function Al(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;k=yb;yb=yb+32|0;h=k;i=a+8|0;j=a+4|0;e=c[j>>2]|0;g=e;do if((c[i>>2]|0)-e>>2>>>0>>0){e=(e-(c[a>>2]|0)>>2)+b|0;f=jl(a)|0;if(f>>>0>>0)CO(a);else{g=c[a>>2]|0;l=(c[i>>2]|0)-g|0;i=l>>1;kl(h,l>>2>>>0>>1>>>0?(i>>>0>>0?e:i):f,(c[j>>2]|0)-g>>2,a+8|0);Bl(h,b,d);ll(a,h);ml(h);break}}else{e=b;f=g;while(1){c[f>>2]=c[d>>2];e=e+-1|0;if(!e)break;else f=f+4|0}c[j>>2]=g+(b<<2)}while(0);yb=k;return}function Bl(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;f=a+8|0;e=c[f>>2]|0;a=b;g=e;while(1){c[g>>2]=c[d>>2];a=a+-1|0;if(!a)break;else g=g+4|0}c[f>>2]=e+(b<<2);return}function Cl(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;i=yb;yb=yb+32|0;f=i;g=a+8|0;h=a+4|0;d=c[h>>2]|0;do if((c[g>>2]|0)-d>>2>>>0>>0){d=(d-(c[a>>2]|0)>>2)+b|0;e=jl(a)|0;if(e>>>0>>0)CO(a);else{j=c[a>>2]|0;k=(c[g>>2]|0)-j|0;g=k>>1;kl(f,k>>2>>>0>>1>>>0?(g>>>0>>0?d:g):e,(c[h>>2]|0)-j>>2,a+8|0);El(f,b);ll(a,f);ml(f);break}}else Dl(a,b);while(0);yb=i;return}function Dl(a,b){a=a|0;b=b|0;var d=0;a=a+4|0;d=c[a>>2]|0;_O(d|0,0,b<<2|0)|0;c[a>>2]=d+(b<<2);return}function El(a,b){a=a|0;b=b|0;var d=0;a=a+8|0;d=c[a>>2]|0;_O(d|0,0,b<<2|0)|0;c[a>>2]=d+(b<<2);return}function Fl(a){a=a|0;var b=0,d=0;b=c[a>>2]|0;d=b;if(b|0){c[a+4>>2]=d;Nf(b,(c[a+8>>2]|0)-d|0)}return}function Gl(a,b){a=a|0;b=b|0;_O(a|0,0,b|0)|0;return}function Hl(a,b){a=a|0;b=b|0;var d=0;if((jl(a)|0)>>>0>>0)CO(a);if(b>>>0>1073741823){b=O(8)|0;bO(b,37409);c[b>>2]=16392;Q(b|0,13960,22)}else{d=rB(b<<2)|0;c[a+4>>2]=d;c[a>>2]=d;c[a+8>>2]=d+(b<<2);return}}function Il(a,b){a=a|0;b=b|0;c[a+4>>2]=b;Tk(a+12|0,b);return}function Jl(a,b){a=a|0;b=b|0;c[a+8>>2]=b;return}function Kl(a){a=a|0;return a+60|0}function Ll(a,b){a=a|0;b=b|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;if(b|0){Ml(a,b);Nl(a,b)}return}function Ml(a,b){a=a|0;b=b|0;var d=0;if((sg(a)|0)>>>0>>0)CO(a);if(b>>>0>214748364){b=O(8)|0;bO(b,37409);c[b>>2]=16392;Q(b|0,13960,22)}else{d=rB(b*20|0)|0;c[a+4>>2]=d;c[a>>2]=d;c[a+8>>2]=d+(b*20|0);return}}function Nl(a,b){a=a|0;b=b|0;var d=0;d=a+4|0;a=b;b=c[d>>2]|0;do{Ol(b);b=(c[d>>2]|0)+20|0;c[d>>2]=b;a=a+-1|0}while((a|0)!=0);return}function Ol(b){b=b|0;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;c[b+12>>2]=0;a[b+16>>0]=1;return}function Pl(a,b){a=a|0;b=b|0;return}function Ql(a){a=a|0;Rl(a+36|0);Sl(a+8|0);return}function Rl(a){a=a|0;var b=0;Tl(a+84|0);Vj(a+72|0);Ul(a+12|0);b=a+8|0;a=c[b>>2]|0;c[b>>2]=0;if(a|0){Ok(a);QA(a)}return}function Sl(a){a=a|0;Lf(a+16|0);Kf(a+4|0);return}function Tl(a){a=a|0;Vl(a);return}function Ul(a){a=a|0;Vj(a+48|0);Vj(a+36|0);Vj(a+24|0);Vj(a+12|0);return}function Vl(a){a=a|0;var b=0,d=0,e=0,f=0;d=c[a>>2]|0;if(d|0){e=a+4|0;b=c[e>>2]|0;while(1){if((b|0)==(d|0))break;f=b+-8|0;Wl(f);b=f}c[e>>2]=d;f=c[a>>2]|0;Nf(f,(c[a+8>>2]|0)-f|0)}return}function Wl(a){a=a|0;return}function Xl(a){a=a|0;XN(a);QA(a);return}function Yl(a){a=a|0;a=c[a+12>>2]|0;if(a|0){Ql(a);QA(a)}return}function Zl(a,b){a=a|0;b=b|0;return ((c[b+4>>2]|0)==30447?a+12|0:0)|0}function _l(a){a=a|0;Nf(a,16);return}function $l(a){a=a|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;c[a+20>>2]=0;c[a+24>>2]=0;return}function am(a){a=a|0;var b=0,d=0;c[a>>2]=1234;c[a+4>>2]=0;c[a+8>>2]=0;b=a+12|0;bm(b,a);d=a+72|0;c[a+100>>2]=0;c[a+104>>2]=0;c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;c[d+12>>2]=0;c[d+16>>2]=0;c[d+20>>2]=0;c[a+108>>2]=16;Il(b,8);Jl(b,1);return}function bm(a,b){a=a|0;b=b|0;c[a>>2]=b;a=a+4|0;b=a+56|0;do{c[a>>2]=0;a=a+4|0}while((a|0)<(b|0));return}function cm(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0;l=yb;yb=yb+32|0;m=l+24|0;j=l+12|0;k=l+16|0;n=l+8|0;i=l;c[j>>2]=h;h=rB(148)|0;rk(h);c[n>>2]=0;c[m>>2]=c[n>>2];sk(k,h,m);tk(c[k>>2]|0,f);uk(c[k>>2]|0,g);dm(xk(c[k>>2]|0)|0,96);g=em(xk(c[k>>2]|0)|0)|0;f=b+4|0;fm(g,((c[f>>2]|0)-(c[b>>2]|0)|0)/20|0);g=em(xk(c[k>>2]|0)|0)|0;if((g|0)!=(b|0))gm(g,c[b>>2]|0,c[f>>2]|0);g=Ik(xk(c[k>>2]|0)|0)|0;f=d+4|0;hm(g,(c[f>>2]|0)-(c[d>>2]|0)|0);g=Ik(xk(c[k>>2]|0)|0)|0;if((g|0)!=(d|0))im(g,c[d>>2]|0,c[f>>2]|0);zk(c[k>>2]|0);f=c[c[a>>2]>>2]|0;c[i>>2]=c[k>>2];g=c[k+4>>2]|0;c[i+4>>2]=g;if(g|0){n=g+4|0;c[n>>2]=(c[n>>2]|0)+1}jm(f,i,c[j>>2]|0);Pj(i);f=km((c[a>>2]|0)+4|0,j)|0;if((f|0)!=(e|0))lm(f,c[e>>2]|0,c[e+4>>2]|0);Pj(k);yb=l;return}function dm(a,b){a=a|0;b=b|0;c[a>>2]=b;return}function em(a){a=a|0;return a+16|0}function fm(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;g=a+4|0;d=c[g>>2]|0;f=c[a>>2]|0;e=(d-f|0)/20|0;if(e>>>0>=b>>>0){if(e>>>0>b>>>0){a=f+(b*20|0)|0;while(1){if((d|0)==(a|0))break;f=d+-20|0;Mf(f);d=f}c[g>>2]=a}}else Am(a,b-e|0);return}function gm(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=b;l=(d-e|0)/20|0;f=a+8|0;i=c[a>>2]|0;g=i;do if(l>>>0>(((c[f>>2]|0)-i|0)/20|0)>>>0){zm(a);e=sg(a)|0;if(e>>>0>>0)CO(a);else{j=((c[f>>2]|0)-(c[a>>2]|0)|0)/20|0;k=j<<1;Ml(a,j>>>0>>1>>>0?(k>>>0>>0?l:k):e);ym(a,b,d,l);break}}else{k=a+4|0;j=((c[k>>2]|0)-i|0)/20|0;h=l>>>0>j>>>0;j=h?b+(j*20|0)|0:d;e=j-e|0;if(e|0)ZO(i|0,b|0,e|0)|0;f=g+(((e|0)/20|0)*20|0)|0;if(h){ym(a,j,d,l-(((c[k>>2]|0)-(c[a>>2]|0)|0)/20|0)|0);break}e=c[k>>2]|0;while(1){if((e|0)==(f|0))break;l=e+-20|0;Mf(l);e=l}c[k>>2]=f}while(0);return}function hm(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=a+4|0;f=c[a>>2]|0;e=(c[d>>2]|0)-f|0;if(e>>>0>=b>>>0){if(e>>>0>b>>>0)c[d>>2]=f+b}else vm(a,b-e|0);return}function im(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;i=b;k=d-i|0;f=a+8|0;e=c[a>>2]|0;j=e;do if(k>>>0>((c[f>>2]|0)-e|0)>>>0){tm(a);e=kg(a)|0;if(e>>>0>>0)CO(a);else{i=(c[f>>2]|0)-(c[a>>2]|0)|0;j=i<<1;um(a,i>>>0>>1>>>0?(j>>>0>>0?k:j):e);sm(a,b,d,k);break}}else{h=a+4|0;g=(c[h>>2]|0)-e|0;f=k>>>0>g>>>0;g=f?b+g|0:d;e=g-i|0;if(e|0)ZO(j|0,b|0,e|0)|0;if(f){sm(a,g,d,k-(c[h>>2]|0)+(c[a>>2]|0)|0);break}else{c[h>>2]=j+e;break}}while(0);return}function jm(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;i=yb;yb=yb+16|0;h=i+4|0;e=i;c[e>>2]=d;a=a+72|0;if(mk(a,e)|0){i=O(16)|0;c[h>>2]=0;c[h+4>>2]=0;c[h+8>>2]=0;eO(h,29085,Wf(29085)|0);kj(i,h);Q(i|0,13208,5)}f=Ak(a,e)|0;g=c[b>>2]|0;c[h>>2]=g;e=h+4|0;a=c[b+4>>2]|0;c[e>>2]=a;if(!a){d=e;a=0}else{d=a+4|0;c[d>>2]=(c[d>>2]|0)+1;d=e;a=c[e>>2]|0}c[h>>2]=c[f>>2];c[f>>2]=g;b=f+4|0;c[d>>2]=c[b>>2];c[b>>2]=a;Pj(h);yb=i;return}function km(a,b){a=a|0;b=b|0;var d=0,e=0,g=0.0,h=0.0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=yb;yb=yb+32|0;r=s+4|0;l=s;m=s+16|0;c[l>>2]=b;q=c[b>>2]|0;o=a+4|0;i=c[o>>2]|0;p=(i|0)==0;a:do if(!p){k=i+-1|0;e=(k&i|0)==0;if(!e)if(q>>>0>>0)j=q;else j=(q>>>0)%(i>>>0)|0;else j=k&q;b=c[(c[a>>2]|0)+(j<<2)>>2]|0;if(!b){b=j;n=16}else do{b=c[b>>2]|0;if(!b){b=j;n=16;break a}d=c[b+4>>2]|0;if((d|0)!=(q|0)){if(!e){if(d>>>0>=i>>>0)d=(d>>>0)%(i>>>0)|0}else d=d&k;if((d|0)!=(j|0)){b=j;n=16;break a}}}while((c[b+8>>2]|0)!=(q|0))}else{b=0;n=16}while(0);if((n|0)==16){pm(r,a,q,57660,l,m);j=a+12|0;g=+(((c[j>>2]|0)+1|0)>>>0);h=+f[a+16>>2];do if(p|h*+(i>>>0)>>0<3|(i+-1&i|0)!=0)&1;d=~~+A(+(g/h))>>>0;qm(a,b>>>0>>0?d:b);b=c[o>>2]|0;d=b+-1|0;if(!(d&b)){i=b;b=d&q;break}if(q>>>0>>0){i=b;b=q}else{i=b;b=(q>>>0)%(b>>>0)|0}}while(0);d=c[(c[a>>2]|0)+(b<<2)>>2]|0;if(!d){e=a+8|0;c[c[r>>2]>>2]=c[e>>2];c[e>>2]=c[r>>2];c[(c[a>>2]|0)+(b<<2)>>2]=e;e=c[r>>2]|0;b=c[e>>2]|0;if(!b)b=r;else{b=c[b+4>>2]|0;d=i+-1|0;if(d&i){if(b>>>0>=i>>>0)b=(b>>>0)%(i>>>0)|0}else b=b&d;c[(c[a>>2]|0)+(b<<2)>>2]=e;b=r}}else{c[c[r>>2]>>2]=c[d>>2];c[d>>2]=c[r>>2];b=r}r=c[b>>2]|0;c[j>>2]=(c[j>>2]|0)+1;c[b>>2]=0;b=r}yb=s;return b+12|0}function lm(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=b;k=(d-e|0)/12|0;f=a+8|0;j=c[a>>2]|0;i=j;do if(k>>>0>(((c[f>>2]|0)-j|0)/12|0)>>>0){nm(a);e=og(a)|0;if(e>>>0>>0)CO(a);else{i=((c[f>>2]|0)-(c[a>>2]|0)|0)/12|0;j=i<<1;om(a,i>>>0>>1>>>0?(j>>>0>>0?k:j):e);mm(a,b,d,k);break}}else{f=a+4|0;h=((c[f>>2]|0)-j|0)/12|0;g=k>>>0>h>>>0;h=g?b+(h*12|0)|0:d;e=h-e|0;if(e|0)ZO(j|0,b|0,e|0)|0;if(g){mm(a,h,d,k-(((c[f>>2]|0)-(c[a>>2]|0)|0)/12|0)|0);break}else{c[f>>2]=i+(((e|0)/12|0)*12|0);break}}while(0);return}function mm(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;e=a+4|0;a=d-b|0;if((a|0)>0){YO(c[e>>2]|0,b|0,a|0)|0;c[e>>2]=(c[e>>2]|0)+(((a>>>0)/12|0)*12|0)}return}function nm(a){a=a|0;var b=0,d=0,e=0,f=0;b=c[a>>2]|0;d=b;if(b|0){e=a+4|0;c[e>>2]=d;f=a+8|0;Nf(b,(c[f>>2]|0)-d|0);c[f>>2]=0;c[e>>2]=0;c[a>>2]=0}return}function om(a,b){a=a|0;b=b|0;var d=0;if((og(a)|0)>>>0>>0)CO(a);if(b>>>0>357913941){b=O(8)|0;bO(b,37409);c[b>>2]=16392;Q(b|0,13960,22)}else{d=rB(b*12|0)|0;c[a+4>>2]=d;c[a>>2]=d;c[a+8>>2]=d+(b*12|0);return}}function pm(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;h=rB(24)|0;c[b>>2]=h;c[b+4>>2]=d+8;c[h+8>>2]=c[c[g>>2]>>2];c[h+12>>2]=0;c[h+16>>2]=0;c[h+20>>2]=0;a[b+8>>0]=1;c[h+4>>2]=e;c[h>>2]=0;return}function qm(a,b){a=a|0;b=b|0;var d=0,e=0,g=0;if((b|0)!=1){if(b+-1&b)b=yD(b)|0}else b=2;e=c[a+4>>2]|0;if(b>>>0<=e>>>0){if(b>>>0>>0){d=~~+A(+(+((c[a+12>>2]|0)>>>0)/+f[a+16>>2]))>>>0;if(e>>>0>2&(e+-1&e|0)==0){g=1<<32-(C(d+-1|0)|0);d=d>>>0<2?d:g}else d=yD(d)|0;b=b>>>0>>0?d:b;if(b>>>0>>0)rm(a,b)}}else rm(a,b);return}function rm(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=a+4|0;a:do if(b){if(b>>>0>1073741823){a=O(8)|0;bO(a,37409);c[a>>2]=16392;Q(a|0,13960,22)}l=rB(b<<2)|0;d=c[a>>2]|0;c[a>>2]=l;if(d|0)Nf(d,c[a+4>>2]<<2);c[e>>2]=b;d=0;while(1){if((d|0)==(b|0))break;c[(c[a>>2]|0)+(d<<2)>>2]=0;d=d+1|0}f=a+8|0;d=c[f>>2]|0;if(d|0){e=c[d+4>>2]|0;k=b+-1|0;l=(k&b|0)==0;if(!l){if(e>>>0>=b>>>0)e=(e>>>0)%(b>>>0)|0}else e=e&k;c[(c[a>>2]|0)+(e<<2)>>2]=f;while(1){j=d;b:while(1){while(1){d=c[j>>2]|0;if(!d)break a;f=c[d+4>>2]|0;if(!l){if(f>>>0>=b>>>0)f=(f>>>0)%(b>>>0)|0}else f=f&k;if((f|0)==(e|0))break;g=(c[a>>2]|0)+(f<<2)|0;if(!(c[g>>2]|0))break b;h=d+8|0;g=d;while(1){i=c[g>>2]|0;if(!i)break;if((c[h>>2]|0)==(c[i+8>>2]|0))g=i;else break}c[j>>2]=i;c[g>>2]=c[c[(c[a>>2]|0)+(f<<2)>>2]>>2];c[c[(c[a>>2]|0)+(f<<2)>>2]>>2]=d}j=d}c[g>>2]=j;e=f}}}else{d=c[a>>2]|0;c[a>>2]=0;if(d|0)Nf(d,c[a+4>>2]<<2);c[e>>2]=0}while(0);return}function sm(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;e=a+4|0;a=d-b|0;if((a|0)>0){YO(c[e>>2]|0,b|0,a|0)|0;c[e>>2]=(c[e>>2]|0)+a}return}function tm(a){a=a|0;var b=0,d=0,e=0,f=0;b=c[a>>2]|0;d=b;if(b|0){e=a+4|0;c[e>>2]=d;f=a+8|0;Nf(b,(c[f>>2]|0)-d|0);c[f>>2]=0;c[e>>2]=0;c[a>>2]=0}return}function um(a,b){a=a|0;b=b|0;var d=0;if((kg(a)|0)>>>0>>0)CO(a);else{d=rB(b)|0;c[a+4>>2]=d;c[a>>2]=d;c[a+8>>2]=d+b;return}}function vm(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;i=yb;yb=yb+32|0;f=i;g=a+8|0;h=a+4|0;d=c[h>>2]|0;do if(((c[g>>2]|0)-d|0)>>>0>>0){d=d-(c[a>>2]|0)+b|0;e=kg(a)|0;if(e>>>0>>0)CO(a);else{j=c[a>>2]|0;k=(c[g>>2]|0)-j|0;g=k<<1;lg(f,k>>>0>>1>>>0?(g>>>0>>0?d:g):e,(c[h>>2]|0)-j|0,a+8|0);xm(f,b);mg(a,f);ng(f);break}}else wm(a,b);while(0);yb=i;return}function wm(b,d){b=b|0;d=d|0;var e=0;e=b+4|0;b=d;d=c[e>>2]|0;do{a[d>>0]=0;d=(c[e>>2]|0)+1|0;c[e>>2]=d;b=b+-1|0}while((b|0)!=0);return}function xm(b,d){b=b|0;d=d|0;var e=0;e=b+8|0;b=d;d=c[e>>2]|0;do{a[d>>0]=0;d=(c[e>>2]|0)+1|0;c[e>>2]=d;b=b+-1|0}while((b|0)!=0);return}function ym(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;a=a+4|0;while(1){if((b|0)==(d|0))break;e=c[a>>2]|0;c[e>>2]=c[b>>2];c[e+4>>2]=c[b+4>>2];c[e+8>>2]=c[b+8>>2];c[e+12>>2]=c[b+12>>2];c[e+16>>2]=c[b+16>>2];c[a>>2]=(c[a>>2]|0)+20;b=b+20|0}return}function zm(a){a=a|0;var b=0,d=0,e=0,f=0;d=c[a>>2]|0;if(d|0){e=a+4|0;b=c[e>>2]|0;while(1){if((b|0)==(d|0))break;f=b+-20|0;Mf(f);b=f}c[e>>2]=d;d=c[a>>2]|0;f=a+8|0;Nf(d,(c[f>>2]|0)-d|0);c[f>>2]=0;c[e>>2]=0;c[a>>2]=0}return}function Am(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;i=yb;yb=yb+32|0;f=i;g=a+8|0;h=a+4|0;d=c[h>>2]|0;do if((((c[g>>2]|0)-d|0)/20|0)>>>0>>0){d=((d-(c[a>>2]|0)|0)/20|0)+b|0;e=sg(a)|0;if(e>>>0>>0)CO(a);else{j=c[a>>2]|0;k=((c[g>>2]|0)-j|0)/20|0;g=k<<1;tg(f,k>>>0>>1>>>0?(g>>>0>>0?d:g):e,((c[h>>2]|0)-j|0)/20|0,a+8|0);Bm(f,b);ug(a,f);vg(f);break}}else Nl(a,b);while(0);yb=i;return}function Bm(a,b){a=a|0;b=b|0;var d=0;d=a+8|0;a=b;b=c[d>>2]|0;do{Ol(b);b=(c[d>>2]|0)+20|0;c[d>>2]=b;a=a+-1|0}while((a|0)!=0);return}function Cm(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;f=yb;yb=yb+32|0;g=f;iq(g,b,1,d,e,d,1);e=Dm(c[c[a>>2]>>2]|0,g)|0;pq(g);yb=f;return e|0}function Dm(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;f=yb;yb=yb+32|0;d=f;e=a+92|0;g=nk(e)|0;if(!(((c[g+4>>2]|0)!=(c[g>>2]|0)?(g=Lg(c[(nk(e)|0)>>2]|0)|0,(g|0)==(Lg(b)|0)):0)?(g=Mg(c[(nk(e)|0)>>2]|0)|0,(g|0)==(Mg(b)|0)):0)){g=Lg(b)|0;g=ok(g,Mg(b)|0,8)|0;h=Lg(b)|0;Zi(e,h,Mg(b)|0,g)}zq(d,29103);if(Qh(d)|0)gj(e,b);Aq(d);h=Em(a,e)|0;yb=f;return h|0}function Em(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;k=yb;yb=yb+64|0;e=k+16|0;j=k;g=k+56|0;h=k+48|0;i=b+160|0;f=pk(i)|0;if(!((f|0)==(Lg(c[(yh(d)|0)>>2]|0)|0)?(f=qk(i)|0,(f|0)==(Mg(c[(yh(d)|0)>>2]|0)|0)):0))xh(i,d);f=b+64|0;m=rB(148)|0;rk(m);c[h>>2]=0;c[e>>2]=c[h>>2];sk(g,m,e);m=c[g>>2]|0;c[g>>2]=c[f>>2];c[f>>2]=m;m=g+4|0;h=b+68|0;l=c[m>>2]|0;c[m>>2]=c[h>>2];c[h>>2]=l;Pj(g);h=c[f>>2]|0;tk(h,Lg(c[(yh(d)|0)>>2]|0)|0);h=c[f>>2]|0;uk(h,Mg(c[(yh(d)|0)>>2]|0)|0);zq(e,29117);if(Qh(e)|0)vk(c[f>>2]|0,d,i,b+316|0);Aq(e);m=wk()|0;Xp(e);i=(a[e+11>>0]|0)<0?c[e>>2]|0:e;l=yk(xk(c[f>>2]|0)|0)|0;c[j>>2]=35129;c[j+4>>2]=i;c[j+8>>2]=30646;c[j+12>>2]=l;sq(m,8,30602,j);hO(e);m=Fm(b,c[f>>2]|0)|0;yb=k;return m|0}function Fm(b,d){b=b|0;d=d|0;var e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0;D=yb;yb=yb+144|0;s=D+104|0;w=D;x=D+72|0;y=D+40|0;z=b+12|0;A=b+16|0;c[A>>2]=c[z>>2];B=b+24|0;c[B>>2]=-1;k=Hm(Gm(d)|0)|0;l=b+8|0;m=b+636|0;n=b+652|0;o=s+4|0;p=s+8|0;q=b+788|0;r=x+4|0;t=x+8|0;u=b+4|0;v=b+28|0;e=b+80|0;while(1){e=c[e>>2]|0;if(!e)break;zq(s,30936);do if(Qh(s)|0){E=(a[l>>0]|0)==0;g=Gm(d)|0;j=e;h=j+12|0;i=xk(c[h>>2]|0)|0;if(E){E=Km(m,g,i)|0;if(E>>>0>=(c[b>>2]|0)>>>0){C=9;break}}else{E=Jm(m,g,i,Im(c[h>>2]|0)|0)|0;if(E>>>0>=(c[b>>2]|0)>>>0){C=9;break}}Aq(s)}else{j=e;h=j+12|0;C=9}while(0);do if((C|0)==9){C=0;Aq(s);i=em(xk(c[h>>2]|0)|0)|0;zq(s,30953);if(Qh(s)|0){G=Lm(m)|0;F=Mm(d)|0;E=Nm(d)|0;g=Mm(c[h>>2]|0)|0;g=Om(n,k,i,G,F,E,g,Nm(c[h>>2]|0)|0)|0;if((g|0)<0){Aq(s);break}}else g=-1;Aq(s);c[s>>2]=0;c[o>>2]=0;c[p>>2]=0;zq(w,30970);if(Qh(w)|0)Pm(s,n,Lm(m)|0,g,1.0);Aq(w);zq(x,30993);if(Qh(x)|0?(G=Mm(c[h>>2]|0)|0,!(Qm(w,k,i,s,q,G,Nm(c[h>>2]|0)|0)|0)):0)Aq(x);else{Aq(x);c[x>>2]=0;c[r>>2]=0;c[t>>2]=0;zq(y,31017);if(Qh(y)|0?(Rm(x,w,k,i,s,+f[u>>2]),(c[r>>2]|0)-(c[x>>2]|0)>>3>>>0<(c[b>>2]|0)>>>0):0)Aq(y);else C=20;do if((C|0)==20){C=0;Aq(y);zq(y,31034);if(Qh(y)|0?(G=Gm(d)|0,G=Sm(m,G,xk(c[h>>2]|0)|0,w,10.0)|0,G>>>0<(c[b>>2]|0)>>>0):0){Aq(y);break}Aq(y);zq(y,31051);if(Qh(y)|0){E=Lm(m)|0;F=Mm(d)|0;G=Nm(d)|0;g=Mm(c[h>>2]|0)|0;g=Om(n,k,i,E,F,G,g,Nm(c[h>>2]|0)|0)|0;if((g|0)<0){Aq(y);break}}Aq(y);zq(y,31068);if(Qh(y)|0)Pm(s,n,Lm(m)|0,g,1.0);Aq(y);zq(y,31091);if(Qh(y)|0?(G=Mm(c[h>>2]|0)|0,!(Qm(w,k,i,s,q,G,Nm(c[h>>2]|0)|0)|0)):0){Aq(y);break}Aq(y);c[r>>2]=c[x>>2];zq(y,31115);if(Qh(y)|0)Rm(x,w,k,i,s,+f[u>>2]);Aq(y);G=(c[r>>2]|0)-(c[x>>2]|0)>>3;if(G>>>0>=(c[b>>2]|0)>>>0?G>>>0>(c[A>>2]|0)-(c[z>>2]|0)>>3>>>0:0){Tm(v,w);Um(z,x);c[B>>2]=c[j+8>>2]}}while(0);Qj(x)}Qj(s)}while(0)}yb=D;return (c[B>>2]|0)>-1|0}function Gm(a){a=a|0;return a+8|0}function Hm(a){a=a|0;return a+16|0}function Im(a){a=a|0;return a+36|0} -function Tu(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;i=yb;yb=yb+128|0;j=i;d=c[d+336>>2]|0;m=c[e+84>>2]|0;l=B(c[m>>2]|0,b[f>>1]|0)|0;e=B(c[m+64>>2]|0,b[f+32>>1]|0)|0;n=e+l<<2;e=l-e<<2;l=B(c[m+32>>2]|0,b[f+16>>1]|0)|0;k=B(c[m+96>>2]|0,b[f+48>>1]|0)|0;o=((k+l|0)*4433|0)+1024|0;l=o+(l*6270|0)>>11;k=o+(B(k,-15137)|0)>>11;c[j>>2]=l+n;c[j+96>>2]=n-l;c[j+32>>2]=k+e;c[j+64>>2]=e-k;k=B(c[m+4>>2]|0,b[f+2>>1]|0)|0;e=B(c[m+68>>2]|0,b[f+34>>1]|0)|0;l=e+k<<2;e=k-e<<2;k=B(c[m+36>>2]|0,b[f+18>>1]|0)|0;n=B(c[m+100>>2]|0,b[f+50>>1]|0)|0;o=((n+k|0)*4433|0)+1024|0;k=o+(k*6270|0)>>11;n=o+(B(n,-15137)|0)>>11;c[j+4>>2]=k+l;c[j+100>>2]=l-k;c[j+36>>2]=n+e;c[j+68>>2]=e-n;n=B(c[m+8>>2]|0,b[f+4>>1]|0)|0;e=B(c[m+72>>2]|0,b[f+36>>1]|0)|0;k=e+n<<2;e=n-e<<2;n=B(c[m+40>>2]|0,b[f+20>>1]|0)|0;l=B(c[m+104>>2]|0,b[f+52>>1]|0)|0;o=((l+n|0)*4433|0)+1024|0;n=o+(n*6270|0)>>11;l=o+(B(l,-15137)|0)>>11;c[j+8>>2]=n+k;c[j+104>>2]=k-n;c[j+40>>2]=l+e;c[j+72>>2]=e-l;l=B(c[m+12>>2]|0,b[f+6>>1]|0)|0;e=B(c[m+76>>2]|0,b[f+38>>1]|0)|0;n=e+l<<2;e=l-e<<2;l=B(c[m+44>>2]|0,b[f+22>>1]|0)|0;k=B(c[m+108>>2]|0,b[f+54>>1]|0)|0;o=((k+l|0)*4433|0)+1024|0;l=o+(l*6270|0)>>11;k=o+(B(k,-15137)|0)>>11;c[j+12>>2]=l+n;c[j+108>>2]=n-l;c[j+44>>2]=k+e;c[j+76>>2]=e-k;k=B(c[m+16>>2]|0,b[f+8>>1]|0)|0;e=B(c[m+80>>2]|0,b[f+40>>1]|0)|0;l=e+k<<2;e=k-e<<2;k=B(c[m+48>>2]|0,b[f+24>>1]|0)|0;n=B(c[m+112>>2]|0,b[f+56>>1]|0)|0;o=((n+k|0)*4433|0)+1024|0;k=o+(k*6270|0)>>11;n=o+(B(n,-15137)|0)>>11;c[j+16>>2]=k+l;c[j+112>>2]=l-k;c[j+48>>2]=n+e;c[j+80>>2]=e-n;n=B(c[m+20>>2]|0,b[f+10>>1]|0)|0;e=B(c[m+84>>2]|0,b[f+42>>1]|0)|0;k=e+n<<2;e=n-e<<2;n=B(c[m+52>>2]|0,b[f+26>>1]|0)|0;l=B(c[m+116>>2]|0,b[f+58>>1]|0)|0;o=((l+n|0)*4433|0)+1024|0;n=o+(n*6270|0)>>11;l=o+(B(l,-15137)|0)>>11;c[j+20>>2]=n+k;c[j+116>>2]=k-n;c[j+52>>2]=l+e;c[j+84>>2]=e-l;l=B(c[m+24>>2]|0,b[f+12>>1]|0)|0;e=B(c[m+88>>2]|0,b[f+44>>1]|0)|0;n=e+l<<2;e=l-e<<2;l=B(c[m+56>>2]|0,b[f+28>>1]|0)|0;k=B(c[m+120>>2]|0,b[f+60>>1]|0)|0;o=((k+l|0)*4433|0)+1024|0;l=o+(l*6270|0)>>11;k=o+(B(k,-15137)|0)>>11;c[j+24>>2]=l+n;c[j+120>>2]=n-l;c[j+56>>2]=k+e;c[j+88>>2]=e-k;k=B(c[m+28>>2]|0,b[f+14>>1]|0)|0;e=B(c[m+92>>2]|0,b[f+46>>1]|0)|0;l=e+k<<2;e=k-e<<2;k=B(c[m+60>>2]|0,b[f+30>>1]|0)|0;f=B(c[m+124>>2]|0,b[f+62>>1]|0)|0;m=((f+k|0)*4433|0)+1024|0;k=m+(k*6270|0)>>11;f=m+(B(f,-15137)|0)>>11;c[j+28>>2]=k+l;c[j+124>>2]=l-k;c[j+60>>2]=f+e;c[j+92>>2]=e-f;f=d+-384|0;d=j;e=0;while(1){o=(c[g+(e<<2)>>2]|0)+h|0;m=(c[d>>2]|0)+16400|0;n=c[d+16>>2]|0;p=m+n<<13;n=m-n<<13;m=c[d+8>>2]|0;k=c[d+24>>2]|0;r=(k+m|0)*4433|0;m=r+(m*6270|0)|0;k=r+(B(k,-15137)|0)|0;r=m+p|0;m=p-m|0;p=k+n|0;k=n-k|0;n=c[d+28>>2]|0;u=c[d+20>>2]|0;s=c[d+12>>2]|0;q=c[d+4>>2]|0;j=s+n|0;l=q+u|0;t=(l+j|0)*9633|0;j=t+(B(j,-16069)|0)|0;l=t+(B(l,-3196)|0)|0;t=B(q+n|0,-7373)|0;n=t+(n*2446|0)+j|0;q=t+(q*12299|0)+l|0;t=B(s+u|0,-20995)|0;l=t+(u*16819|0)+l|0;j=t+(s*25172|0)+j|0;a[o>>0]=a[f+((q+r|0)>>>18&1023)>>0]|0;a[o+7>>0]=a[f+((r-q|0)>>>18&1023)>>0]|0;a[o+1>>0]=a[f+((j+p|0)>>>18&1023)>>0]|0;a[o+6>>0]=a[f+((p-j|0)>>>18&1023)>>0]|0;a[o+2>>0]=a[f+((l+k|0)>>>18&1023)>>0]|0;a[o+5>>0]=a[f+((k-l|0)>>>18&1023)>>0]|0;a[o+3>>0]=a[f+((n+m|0)>>>18&1023)>>0]|0;a[o+4>>0]=a[f+((m-n|0)>>>18&1023)>>0]|0;e=e+1|0;if((e|0)==4)break;else d=d+32|0}yb=i;return}function Uu(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;m=yb;yb=yb+160|0;i=m;l=c[d+336>>2]|0;k=i;j=c[e+84>>2]|0;d=f;e=0;while(1){f=B(b[d>>1]<<13,c[j>>2]|0)|0|1024;n=B(c[j+64>>2]|0,b[d+32>>1]|0)|0;p=B(c[j+128>>2]|0,b[d+64>>1]|0)|0;o=(p+n|0)*6476|0;p=n-p|0;n=(p*2896|0)+f|0;q=n+o|0;o=n-o|0;f=(B(p,-11584)|0)+f|0;p=B(c[j+32>>2]|0,b[d+16>>1]|0)|0;n=B(c[j+96>>2]|0,b[d+48>>1]|0)|0;r=(n+p|0)*6810|0;p=r+(p*4209|0)|0;n=r+(B(n,-17828)|0)|0;c[k>>2]=p+q>>11;c[k+128>>2]=q-p>>11;c[k+32>>2]=n+o>>11;c[k+96>>2]=o-n>>11;c[k+64>>2]=f>>11;e=e+1|0;if((e|0)==8)break;else{k=k+4|0;j=j+4|0;d=d+2|0}}e=l+-384|0;d=0;while(1){r=(c[g+(d<<2)>>2]|0)+h|0;p=(c[i>>2]<<13)+134348800|0;k=c[i+16>>2]|0;j=p+(k*9373|0)|0;u=p+(B(k,-3580)|0)|0;k=p+(B(k,-11586)|0)|0;p=c[i+8>>2]|0;n=c[i+24>>2]|0;t=(n+p|0)*6810|0;p=t+(p*4209|0)|0;n=t+(B(n,-17828)|0)|0;t=p+j|0;p=j-p|0;j=n+u|0;n=u-n|0;u=c[i+4>>2]|0;v=c[i+12>>2]|0;l=c[i+20>>2]<<13;f=c[i+28>>2]|0;o=f+v|0;f=v-f|0;v=f*2531|0;w=o*7791|0;q=v+l|0;s=w+(u*11443|0)+q|0;q=(u*1812|0)-w+q|0;o=o*4815|0;v=l-v-(f<<12)|0;l=(u-f<<13)-l|0;f=(u*10323|0)-o-v|0;o=v+((u*5260|0)-o)|0;a[r>>0]=a[e+((s+t|0)>>>18&1023)>>0]|0;a[r+9>>0]=a[e+((t-s|0)>>>18&1023)>>0]|0;a[r+1>>0]=a[e+((f+j|0)>>>18&1023)>>0]|0;a[r+8>>0]=a[e+((j-f|0)>>>18&1023)>>0]|0;a[r+2>>0]=a[e+((l+k|0)>>>18&1023)>>0]|0;a[r+7>>0]=a[e+((k-l|0)>>>18&1023)>>0]|0;a[r+3>>0]=a[e+((o+n|0)>>>18&1023)>>0]|0;a[r+6>>0]=a[e+((n-o|0)>>>18&1023)>>0]|0;a[r+4>>0]=a[e+((q+p|0)>>>18&1023)>>0]|0;a[r+5>>0]=a[e+((p-q|0)>>>18&1023)>>0]|0;d=d+1|0;if((d|0)==5)break;else i=i+32|0}yb=m;return}function Vu(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;m=yb;yb=yb+192|0;i=m;l=c[d+336>>2]|0;k=i;j=c[e+84>>2]|0;d=f;e=0;while(1){p=B(b[d>>1]<<13,c[j>>2]|0)|0|1024;n=B((b[d+64>>1]|0)*5793|0,c[j+128>>2]|0)|0;t=n+p|0;p=(B(n,-2)|0)+p>>11;n=B((b[d+32>>1]|0)*10033|0,c[j+64>>2]|0)|0;r=n+t|0;n=t-n|0;t=B(c[j+32>>2]|0,b[d+16>>1]|0)|0;s=B(c[j+96>>2]|0,b[d+48>>1]|0)|0;o=B(c[j+160>>2]|0,b[d+80>>1]|0)|0;f=(o+t|0)*2998|0;q=f+(s+t<<13)|0;f=f+(o-s<<13)|0;o=t-s-o<<2;c[k>>2]=q+r>>11;c[k+160>>2]=r-q>>11;c[k+32>>2]=o+p;c[k+128>>2]=p-o;c[k+64>>2]=f+n>>11;c[k+96>>2]=n-f>>11;e=e+1|0;if((e|0)==8)break;else{k=k+4|0;j=j+4|0;d=d+2|0}}e=l+-384|0;d=0;while(1){t=(c[g+(d<<2)>>2]|0)+h|0;r=(c[i>>2]<<13)+134348800|0;x=(c[i+16>>2]|0)*10033|0;w=r+x|0;x=r-x|0;k=c[i+8>>2]|0;n=c[i+24>>2]<<13;p=(k<<13)-n|0;j=p+r|0;p=r-p|0;r=n+(k*11190|0)|0;v=r+w|0;r=w-r|0;n=(k*2998|0)-n|0;k=n+x|0;n=x-n|0;x=c[i+4>>2]|0;w=c[i+12>>2]|0;q=c[i+20>>2]|0;f=c[i+28>>2]|0;z=w*10703|0;y=B(w,-4433)|0;l=q+x|0;s=(l+f|0)*7053|0;l=s+(l*2139|0)|0;u=z+(x*2295|0)+l|0;o=B(f+q|0,-8565)|0;l=(B(q,-12112)|0)+y+o+l|0;o=(f*12998|0)-z+s+o|0;s=y+(B(x,-5540)|0)+(B(f,-16244)|0)+s|0;f=x-f|0;q=w-q|0;w=(f+q|0)*4433|0;f=w+(f*6270|0)|0;q=w+(B(q,-15137)|0)|0;a[t>>0]=a[e+((u+v|0)>>>18&1023)>>0]|0;a[t+11>>0]=a[e+((v-u|0)>>>18&1023)>>0]|0;a[t+1>>0]=a[e+((f+j|0)>>>18&1023)>>0]|0;a[t+10>>0]=a[e+((j-f|0)>>>18&1023)>>0]|0;a[t+2>>0]=a[e+((l+k|0)>>>18&1023)>>0]|0;a[t+9>>0]=a[e+((k-l|0)>>>18&1023)>>0]|0;a[t+3>>0]=a[e+((o+n|0)>>>18&1023)>>0]|0;a[t+8>>0]=a[e+((n-o|0)>>>18&1023)>>0]|0;a[t+4>>0]=a[e+((q+p|0)>>>18&1023)>>0]|0;a[t+7>>0]=a[e+((p-q|0)>>>18&1023)>>0]|0;a[t+5>>0]=a[e+((s+r|0)>>>18&1023)>>0]|0;a[t+6>>0]=a[e+((r-s|0)>>>18&1023)>>0]|0;d=d+1|0;if((d|0)==6)break;else i=i+32|0}yb=m;return}function Wu(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,C=0;m=yb;yb=yb+224|0;i=m;l=c[d+336>>2]|0;k=i;j=c[e+84>>2]|0;d=f;e=0;while(1){f=B(b[d>>1]<<13,c[j>>2]|0)|0|1024;w=B(c[j+64>>2]|0,b[d+32>>1]|0)|0;o=B(c[j+128>>2]|0,b[d+64>>1]|0)|0;u=B(c[j+192>>2]|0,b[d+96>>1]|0)|0;v=(o-u|0)*7223|0;p=(w-o|0)*2578|0;s=(B(o,-15083)|0)+f+p+v|0;n=u+w|0;q=(n*10438|0)+f|0;u=v+(B(u,-637)|0)+q|0;q=p+(B(w,-20239)|0)+q|0;w=B(c[j+32>>2]|0,b[d+16>>1]|0)|0;p=B(c[j+96>>2]|0,b[d+48>>1]|0)|0;v=B(c[j+160>>2]|0,b[d+80>>1]|0)|0;x=(p+w|0)*7663|0;t=(w-p|0)*1395|0;p=B(v+p|0,-11295)|0;r=x+t+p|0;w=(v+w|0)*5027|0;t=w+(x-t)|0;p=w+(v*15326|0)+p|0;c[k>>2]=t+u>>11;c[k+192>>2]=u-t>>11;c[k+32>>2]=r+s>>11;c[k+160>>2]=s-r>>11;c[k+64>>2]=p+q>>11;c[k+128>>2]=q-p>>11;c[k+96>>2]=((o-n|0)*11585|0)+f>>11;e=e+1|0;if((e|0)==8)break;else{k=k+4|0;j=j+4|0;d=d+2|0}}e=l+-384|0;d=0;while(1){x=(c[g+(d<<2)>>2]|0)+h|0;r=(c[i>>2]<<13)+134348800|0;p=c[i+16>>2]|0;k=r+(p*10438|0)|0;n=r+(p*2578|0)|0;w=r+(B(p,-7223)|0)|0;p=r+(B(p,-11586)|0)|0;r=c[i+8>>2]|0;j=c[i+24>>2]|0;t=(j+r|0)*9058|0;v=t+(r*2237|0)|0;t=t+(B(j,-14084)|0)|0;r=(B(j,-11295)|0)+(r*5027|0)|0;j=v+k|0;v=k-v|0;k=t+n|0;t=n-t|0;n=r+w|0;r=w-r|0;w=c[i+4>>2]|0;A=c[i+12>>2]|0;y=c[i+20>>2]|0;q=c[i+28>>2]<<13;s=y+w|0;l=(A+w|0)*10935|0;C=s*9810|0;f=l+(B(w,-9232)|0)+C+q|0;s=s*6164|0;z=w-A|0;u=(z*3826|0)-q|0;w=s+(B(w,-8693)|0)+u|0;o=(B(y+A|0,-1297)|0)-q|0;l=l+(B(A,-3474)|0)+o|0;o=C+(B(y,-19447)|0)+o|0;C=(y-A|0)*11512|0;s=q+(B(y,-13850)|0)+C+s|0;u=C+(A*5529|0)+u|0;q=(z-y<<13)+q|0;a[x>>0]=a[e+((f+j|0)>>>18&1023)>>0]|0;a[x+13>>0]=a[e+((j-f|0)>>>18&1023)>>0]|0;a[x+1>>0]=a[e+((l+k|0)>>>18&1023)>>0]|0;a[x+12>>0]=a[e+((k-l|0)>>>18&1023)>>0]|0;a[x+2>>0]=a[e+((o+n|0)>>>18&1023)>>0]|0;a[x+11>>0]=a[e+((n-o|0)>>>18&1023)>>0]|0;a[x+3>>0]=a[e+((q+p|0)>>>18&1023)>>0]|0;a[x+10>>0]=a[e+((p-q|0)>>>18&1023)>>0]|0;a[x+4>>0]=a[e+((s+r|0)>>>18&1023)>>0]|0;a[x+9>>0]=a[e+((r-s|0)>>>18&1023)>>0]|0;a[x+5>>0]=a[e+((u+t|0)>>>18&1023)>>0]|0;a[x+8>>0]=a[e+((t-u|0)>>>18&1023)>>0]|0;a[x+6>>0]=a[e+((w+v|0)>>>18&1023)>>0]|0;a[x+7>>0]=a[e+((v-w|0)>>>18&1023)>>0]|0;d=d+1|0;if((d|0)==7)break;else i=i+32|0}yb=m;return}function Xu(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,C=0,D=0,E=0,F=0,G=0,H=0;o=yb;yb=yb+256|0;i=o;m=c[d+336>>2]|0;l=i;k=c[e+84>>2]|0;j=8;while(1){e=b[f+16>>1]|0;d=b[f+32>>1]|0;if(!((e|d)<<16>>16))if(((((b[f+48>>1]|0)==0?(b[f+64>>1]|0)==0:0)?(b[f+80>>1]|0)==0:0)?(b[f+96>>1]|0)==0:0)?(b[f+112>>1]|0)==0:0){d=B(b[f>>1]<<2,c[k>>2]|0)|0;c[l>>2]=d;c[l+32>>2]=d;c[l+64>>2]=d;c[l+96>>2]=d;c[l+128>>2]=d;c[l+160>>2]=d;c[l+192>>2]=d;e=56}else{d=0;n=9}else n=9;if((n|0)==9){n=0;x=B(b[f+64>>1]<<13,c[k+128>>2]|0)|0;p=B(b[f>>1]<<13,c[k>>2]|0)|0|1024;s=x+p|0;x=p-x|0;p=B(c[k+64>>2]|0,d<<16>>16)|0;q=B(c[k+192>>2]|0,b[f+96>>1]|0)|0;u=(q+p|0)*4433|0;p=u+(p*6270|0)|0;q=u+(B(q,-15137)|0)|0;u=p+s|0;p=s-p|0;s=q+x|0;q=x-q|0;d=B(c[k+224>>2]|0,b[f+112>>1]|0)|0;x=B(c[k+160>>2]|0,b[f+80>>1]|0)|0;v=B(c[k+96>>2]|0,b[f+48>>1]|0)|0;t=B(c[k+32>>2]|0,e<<16>>16)|0;r=v+d|0;e=t+x|0;w=(e+r|0)*9633|0;r=w+(B(r,-16069)|0)|0;e=w+(B(e,-3196)|0)|0;w=B(t+d|0,-7373)|0;d=w+(d*2446|0)+r|0;t=w+(t*12299|0)+e|0;w=B(v+x|0,-20995)|0;e=w+(x*16819|0)+e|0;r=w+(v*25172|0)+r|0;c[l>>2]=t+u>>11;c[l+224>>2]=u-t>>11;c[l+32>>2]=r+s>>11;c[l+192>>2]=s-r>>11;c[l+64>>2]=e+q>>11;c[l+160>>2]=q-e>>11;c[l+96>>2]=d+p>>11;d=p-d>>11;e=32}c[l+(e<<2)>>2]=d;if(j>>>0>1){l=l+4|0;k=k+4|0;f=f+2|0;j=j+-1|0}else break}e=m+-384|0;d=0;while(1){x=(c[g+(d<<2)>>2]|0)+h|0;r=(c[i>>2]<<13)+134348800|0;m=c[i+16>>2]|0;w=m*10703|0;m=m*4433|0;f=r+w|0;w=r-w|0;k=r+m|0;m=r-m|0;r=c[i+8>>2]|0;p=c[i+24>>2]|0;u=r-p|0;z=u*2260|0;u=u*11363|0;v=u+(p*20995|0)|0;t=z+(r*7373|0)|0;r=u+(B(r,-4926)|0)|0;p=z+(B(p,-4176)|0)|0;z=v+f|0;v=f-v|0;f=t+k|0;t=k-t|0;k=r+m|0;r=m-r|0;m=p+w|0;p=w-p|0;w=c[i+4>>2]|0;u=c[i+12>>2]|0;C=c[i+20>>2]|0;E=c[i+28>>2]|0;A=C+w|0;j=(u+w|0)*11086|0;l=A*10217|0;s=(E+w|0)*8956|0;q=(w-E|0)*7350|0;A=A*5461|0;n=(w-u|0)*3363|0;y=j+(B(w,-18730)|0)+l+s|0;w=n+(B(w,-15038)|0)+A+q|0;H=(C+u|0)*1136|0;D=(C-u|0)*11529|0;F=E+u|0;G=B(F,-5461)|0;j=j+(u*589|0)+H+G|0;F=B(F,-10217)|0;u=n+(u*16154|0)+D+F|0;n=B(E+C|0,-11086)|0;l=H+(B(C,-9222)|0)+l+n|0;n=G+(E*8728|0)+s+n|0;s=(E-C|0)*3363|0;q=F+(E*25733|0)+q+s|0;s=D+(B(C,-6278)|0)+A+s|0;a[x>>0]=a[e+((y+z|0)>>>18&1023)>>0]|0;a[x+15>>0]=a[e+((z-y|0)>>>18&1023)>>0]|0;a[x+1>>0]=a[e+((j+f|0)>>>18&1023)>>0]|0;a[x+14>>0]=a[e+((f-j|0)>>>18&1023)>>0]|0;a[x+2>>0]=a[e+((l+k|0)>>>18&1023)>>0]|0;a[x+13>>0]=a[e+((k-l|0)>>>18&1023)>>0]|0;a[x+3>>0]=a[e+((n+m|0)>>>18&1023)>>0]|0;a[x+12>>0]=a[e+((m-n|0)>>>18&1023)>>0]|0;a[x+4>>0]=a[e+((q+p|0)>>>18&1023)>>0]|0;a[x+11>>0]=a[e+((p-q|0)>>>18&1023)>>0]|0;a[x+5>>0]=a[e+((s+r|0)>>>18&1023)>>0]|0;a[x+10>>0]=a[e+((r-s|0)>>>18&1023)>>0]|0;a[x+6>>0]=a[e+((u+t|0)>>>18&1023)>>0]|0;a[x+9>>0]=a[e+((t-u|0)>>>18&1023)>>0]|0;a[x+7>>0]=a[e+((w+v|0)>>>18&1023)>>0]|0;a[x+8>>0]=a[e+((v-w|0)>>>18&1023)>>0]|0;d=d+1|0;if((d|0)==8)break;else i=i+32|0}yb=o;return}function Yu(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,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0;m=yb;yb=yb+512|0;i=m;l=c[d+336>>2]|0;k=i;j=c[e+84>>2]|0;d=f;e=0;while(1){r=B(b[d>>1]<<13,c[j>>2]|0)|0|1024;v=B(c[j+128>>2]|0,b[d+64>>1]|0)|0;f=v*10703|0;v=v*4433|0;z=f+r|0;f=r-f|0;x=v+r|0;v=r-v|0;r=B(c[j+64>>2]|0,b[d+32>>1]|0)|0;t=B(c[j+192>>2]|0,b[d+96>>1]|0)|0;o=r-t|0;C=o*2260|0;o=o*11363|0;n=o+(t*20995|0)|0;p=C+(r*7373|0)|0;r=o+(B(r,-4926)|0)|0;t=C+(B(t,-4176)|0)|0;C=n+z|0;n=z-n|0;z=p+x|0;p=x-p|0;x=r+v|0;r=v-r|0;v=t+f|0;t=f-t|0;f=B(c[j+32>>2]|0,b[d+16>>1]|0)|0;o=B(c[j+96>>2]|0,b[d+48>>1]|0)|0;E=B(c[j+160>>2]|0,b[d+80>>1]|0)|0;G=B(c[j+224>>2]|0,b[d+112>>1]|0)|0;D=E+f|0;y=(o+f|0)*11086|0;w=D*10217|0;q=(G+f|0)*8956|0;s=(f-G|0)*7350|0;D=D*5461|0;u=(f-o|0)*3363|0;A=y+(B(f,-18730)|0)+w+q|0;f=u+(B(f,-15038)|0)+D+s|0;J=(E+o|0)*1136|0;F=(E-o|0)*11529|0;H=G+o|0;I=B(H,-5461)|0;y=y+(o*589|0)+J+I|0;H=B(H,-10217)|0;o=u+(o*16154|0)+F+H|0;u=B(G+E|0,-11086)|0;w=J+(B(E,-9222)|0)+w+u|0;u=I+(G*8728|0)+q+u|0;q=(G-E|0)*3363|0;s=H+(G*25733|0)+s+q|0;q=F+(B(E,-6278)|0)+D+q|0;c[k>>2]=A+C>>11;c[k+480>>2]=C-A>>11;c[k+32>>2]=y+z>>11;c[k+448>>2]=z-y>>11;c[k+64>>2]=w+x>>11;c[k+416>>2]=x-w>>11;c[k+96>>2]=u+v>>11;c[k+384>>2]=v-u>>11;c[k+128>>2]=s+t>>11;c[k+352>>2]=t-s>>11;c[k+160>>2]=q+r>>11;c[k+320>>2]=r-q>>11;c[k+192>>2]=o+p>>11;c[k+288>>2]=p-o>>11;c[k+224>>2]=f+n>>11;c[k+256>>2]=n-f>>11;e=e+1|0;if((e|0)==8)break;else{k=k+4|0;j=j+4|0;d=d+2|0}}e=l+-384|0;d=0;while(1){J=(c[g+(d<<2)>>2]|0)+h|0;D=(c[i>>2]<<13)+134348800|0;y=c[i+16>>2]|0;I=y*10703|0;y=y*4433|0;u=D+I|0;I=D-I|0;w=D+y|0;y=D-y|0;D=c[i+8>>2]|0;A=c[i+24>>2]|0;G=D-A|0;s=G*2260|0;G=G*11363|0;H=G+(A*20995|0)|0;F=s+(D*7373|0)|0;D=G+(B(D,-4926)|0)|0;A=s+(B(A,-4176)|0)|0;s=H+u|0;H=u-H|0;u=F+w|0;F=w-F|0;w=D+y|0;D=y-D|0;y=A+I|0;A=I-A|0;I=c[i+4>>2]|0;G=c[i+12>>2]|0;q=c[i+20>>2]|0;o=c[i+28>>2]|0;r=q+I|0;v=(G+I|0)*11086|0;x=r*10217|0;E=(o+I|0)*8956|0;C=(I-o|0)*7350|0;r=r*5461|0;z=(I-G|0)*3363|0;t=v+(B(I,-18730)|0)+x+E|0;I=z+(B(I,-15038)|0)+r+C|0;k=(q+G|0)*1136|0;p=(q-G|0)*11529|0;n=o+G|0;l=B(n,-5461)|0;v=v+(G*589|0)+k+l|0;n=B(n,-10217)|0;G=z+(G*16154|0)+p+n|0;z=B(o+q|0,-11086)|0;x=k+(B(q,-9222)|0)+x+z|0;z=l+(o*8728|0)+E+z|0;E=(o-q|0)*3363|0;C=n+(o*25733|0)+C+E|0;E=p+(B(q,-6278)|0)+r+E|0;a[J>>0]=a[e+((t+s|0)>>>18&1023)>>0]|0;a[J+15>>0]=a[e+((s-t|0)>>>18&1023)>>0]|0;a[J+1>>0]=a[e+((v+u|0)>>>18&1023)>>0]|0;a[J+14>>0]=a[e+((u-v|0)>>>18&1023)>>0]|0;a[J+2>>0]=a[e+((x+w|0)>>>18&1023)>>0]|0;a[J+13>>0]=a[e+((w-x|0)>>>18&1023)>>0]|0;a[J+3>>0]=a[e+((z+y|0)>>>18&1023)>>0]|0;a[J+12>>0]=a[e+((y-z|0)>>>18&1023)>>0]|0;a[J+4>>0]=a[e+((C+A|0)>>>18&1023)>>0]|0;a[J+11>>0]=a[e+((A-C|0)>>>18&1023)>>0]|0;a[J+5>>0]=a[e+((E+D|0)>>>18&1023)>>0]|0;a[J+10>>0]=a[e+((D-E|0)>>>18&1023)>>0]|0;a[J+6>>0]=a[e+((G+F|0)>>>18&1023)>>0]|0;a[J+9>>0]=a[e+((F-G|0)>>>18&1023)>>0]|0;a[J+7>>0]=a[e+((I+H|0)>>>18&1023)>>0]|0;a[J+8>>0]=a[e+((H-I|0)>>>18&1023)>>0]|0;d=d+1|0;if((d|0)==16)break;else i=i+32|0}yb=m;return}function Zu(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,C=0,D=0,E=0,F=0;m=yb;yb=yb+480|0;i=m;l=c[d+336>>2]|0;k=i;j=c[e+84>>2]|0;d=f;e=0;while(1){f=B(b[d>>1]<<13,c[j>>2]|0)|0|1024;s=B(c[j+64>>2]|0,b[d+32>>1]|0)|0;w=B(c[j+128>>2]|0,b[d+64>>1]|0)|0;t=B(c[j+192>>2]|0,b[d+96>>1]|0)|0;y=(B(t,-3580)|0)+f|0;D=(t*9373|0)+f|0;f=(B(t,-11586)|0)+f|0;t=s-w|0;w=w+s|0;E=w*10958|0;u=t*374|0;s=s*11795|0;A=u+E+D|0;u=s-E+u+y|0;E=w*4482|0;o=B(t,-3271)|0;q=D-E+o|0;o=E-s+o+y|0;w=w*6476|0;s=t*2896|0;y=s+w+y|0;s=D-w+s|0;w=f+(t*5792|0)|0;f=(B(t,-11584)|0)+f|0;t=B(c[j+32>>2]|0,b[d+16>>1]|0)|0;D=B(c[j+96>>2]|0,b[d+48>>1]|0)|0;E=B((b[d+80>>1]|0)*10033|0,c[j+160>>2]|0)|0;C=B(c[j+224>>2]|0,b[d+112>>1]|0)|0;r=D-C|0;F=(r+t|0)*6810|0;x=F+(t*4209|0)|0;r=F+(B(r,-17828)|0)|0;F=B(D,-6810)|0;D=B(D,-11018)|0;v=t-C|0;n=(v*11522|0)+E|0;z=(C*20131|0)-D+n|0;n=F+(B(t,-9113)|0)+n|0;v=(v*10033|0)-E|0;p=(C+t|0)*4712|0;t=F+(t*3897|0)-E+p|0;p=E+D+(B(C,-7121)|0)+p|0;c[k>>2]=z+A>>11;c[k+448>>2]=A-z>>11;c[k+32>>2]=x+y>>11;c[k+416>>2]=y-x>>11;c[k+64>>2]=v+w>>11;c[k+384>>2]=w-v>>11;c[k+96>>2]=t+u>>11;c[k+352>>2]=u-t>>11;c[k+128>>2]=r+s>>11;c[k+320>>2]=s-r>>11;c[k+160>>2]=p+q>>11;c[k+288>>2]=q-p>>11;c[k+192>>2]=n+o>>11;c[k+256>>2]=o-n>>11;c[k+224>>2]=f>>11;e=e+1|0;if((e|0)==8)break;else{k=k+4|0;j=j+4|0;d=d+2|0}}e=l+-384|0;d=0;while(1){F=(c[g+(d<<2)>>2]|0)+h|0;E=(c[i>>2]<<13)+134348800|0;x=c[i+8>>2]|0;t=c[i+16>>2]|0;w=c[i+24>>2]|0;r=(B(w,-3580)|0)+E|0;n=(w*9373|0)+E|0;E=(B(w,-11586)|0)+E|0;w=x-t|0;t=t+x|0;l=t*10958|0;v=w*374|0;x=x*11795|0;p=v+l+n|0;v=x-l+v+r|0;l=t*4482|0;C=B(w,-3271)|0;z=n-l+C|0;C=l-x+C+r|0;t=t*6476|0;x=w*2896|0;r=x+t+r|0;x=n-t+x|0;t=E+(w*5792|0)|0;E=(B(w,-11584)|0)+E|0;w=c[i+4>>2]|0;n=c[i+12>>2]|0;l=(c[i+20>>2]|0)*10033|0;o=c[i+28>>2]|0;y=n-o|0;k=(y+w|0)*6810|0;s=k+(w*4209|0)|0;y=k+(B(y,-17828)|0)|0;k=B(n,-6810)|0;n=B(n,-11018)|0;u=w-o|0;D=(u*11522|0)+l|0;q=(o*20131|0)-n+D|0;D=k+(B(w,-9113)|0)+D|0;u=(u*10033|0)-l|0;A=(o+w|0)*4712|0;w=k+(w*3897|0)-l+A|0;A=l+n+(B(o,-7121)|0)+A|0;a[F>>0]=a[e+((q+p|0)>>>18&1023)>>0]|0;a[F+14>>0]=a[e+((p-q|0)>>>18&1023)>>0]|0;a[F+1>>0]=a[e+((s+r|0)>>>18&1023)>>0]|0;a[F+13>>0]=a[e+((r-s|0)>>>18&1023)>>0]|0;a[F+2>>0]=a[e+((u+t|0)>>>18&1023)>>0]|0;a[F+12>>0]=a[e+((t-u|0)>>>18&1023)>>0]|0;a[F+3>>0]=a[e+((w+v|0)>>>18&1023)>>0]|0;a[F+11>>0]=a[e+((v-w|0)>>>18&1023)>>0]|0;a[F+4>>0]=a[e+((y+x|0)>>>18&1023)>>0]|0;a[F+10>>0]=a[e+((x-y|0)>>>18&1023)>>0]|0;a[F+5>>0]=a[e+((A+z|0)>>>18&1023)>>0]|0;a[F+9>>0]=a[e+((z-A|0)>>>18&1023)>>0]|0;a[F+6>>0]=a[e+((D+C|0)>>>18&1023)>>0]|0;a[F+8>>0]=a[e+((C-D|0)>>>18&1023)>>0]|0;a[F+7>>0]=a[e+(E>>>18&1023)>>0]|0;d=d+1|0;if((d|0)==15)break;else i=i+32|0}yb=m;return}function _u(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,C=0,D=0,E=0,F=0;m=yb;yb=yb+448|0;i=m;l=c[d+336>>2]|0;k=i;j=c[e+84>>2]|0;d=f;e=0;while(1){t=B(b[d>>1]<<13,c[j>>2]|0)|0|1024;r=B(c[j+128>>2]|0,b[d+64>>1]|0)|0;x=(r*10438|0)+t|0;v=(r*2578|0)+t|0;f=(B(r,-7223)|0)+t|0;t=(B(r,-11586)|0)+t>>11;r=B(c[j+64>>2]|0,b[d+32>>1]|0)|0;z=B(c[j+192>>2]|0,b[d+96>>1]|0)|0;p=(z+r|0)*9058|0;n=p+(r*2237|0)|0;p=p+(B(z,-14084)|0)|0;r=(B(z,-11295)|0)+(r*5027|0)|0;z=n+x|0;n=x-n|0;x=p+v|0;p=v-p|0;v=r+f|0;r=f-r|0;f=B(c[j+32>>2]|0,b[d+16>>1]|0)|0;D=B(c[j+96>>2]|0,b[d+48>>1]|0)|0;A=B(c[j+160>>2]|0,b[d+80>>1]|0)|0;s=B(c[j+224>>2]|0,b[d+112>>1]|0)|0;q=s<<13;F=A+f|0;w=(D+f|0)*10935|0;E=F*9810|0;y=w+(B(f,-9232)|0)+E+q|0;F=F*6164|0;C=f-D|0;o=(C*3826|0)-q|0;f=F+(B(f,-8693)|0)+o|0;u=(B(A+D|0,-1297)|0)-q|0;w=w+(B(D,-3474)|0)+u|0;u=E+(B(A,-19447)|0)+u|0;E=(A-D|0)*11512|0;q=E+(B(A,-13850)|0)+F+q|0;o=E+(D*5529|0)+o|0;s=C-A+s<<2;c[k>>2]=y+z>>11;c[k+416>>2]=z-y>>11;c[k+32>>2]=w+x>>11;c[k+384>>2]=x-w>>11;c[k+64>>2]=u+v>>11;c[k+352>>2]=v-u>>11;c[k+96>>2]=s+t;c[k+320>>2]=t-s;c[k+128>>2]=q+r>>11;c[k+288>>2]=r-q>>11;c[k+160>>2]=o+p>>11;c[k+256>>2]=p-o>>11;c[k+192>>2]=f+n>>11;c[k+224>>2]=n-f>>11;e=e+1|0;if((e|0)==8)break;else{k=k+4|0;j=j+4|0;d=d+2|0}}e=l+-384|0;d=0;while(1){F=(c[g+(d<<2)>>2]|0)+h|0;y=(c[i>>2]<<13)+134348800|0;w=c[i+16>>2]|0;s=y+(w*10438|0)|0;u=y+(w*2578|0)|0;E=y+(B(w,-7223)|0)|0;w=y+(B(w,-11586)|0)|0;y=c[i+8>>2]|0;q=c[i+24>>2]|0;A=(q+y|0)*9058|0;D=A+(y*2237|0)|0;A=A+(B(q,-14084)|0)|0;y=(B(q,-11295)|0)+(y*5027|0)|0;q=D+s|0;D=s-D|0;s=A+u|0;A=u-A|0;u=y+E|0;y=E-y|0;E=c[i+4>>2]|0;n=c[i+12>>2]|0;p=c[i+20>>2]|0;x=c[i+28>>2]<<13;z=p+E|0;t=(n+E|0)*10935|0;l=z*9810|0;r=t+(B(E,-9232)|0)+l+x|0;z=z*6164|0;o=E-n|0;C=(o*3826|0)-x|0;E=z+(B(E,-8693)|0)+C|0;v=(B(p+n|0,-1297)|0)-x|0;t=t+(B(n,-3474)|0)+v|0;v=l+(B(p,-19447)|0)+v|0;l=(p-n|0)*11512|0;z=x+(B(p,-13850)|0)+l+z|0;C=l+(n*5529|0)+C|0;x=(o-p<<13)+x|0;a[F>>0]=a[e+((r+q|0)>>>18&1023)>>0]|0;a[F+13>>0]=a[e+((q-r|0)>>>18&1023)>>0]|0;a[F+1>>0]=a[e+((t+s|0)>>>18&1023)>>0]|0;a[F+12>>0]=a[e+((s-t|0)>>>18&1023)>>0]|0;a[F+2>>0]=a[e+((v+u|0)>>>18&1023)>>0]|0;a[F+11>>0]=a[e+((u-v|0)>>>18&1023)>>0]|0;a[F+3>>0]=a[e+((x+w|0)>>>18&1023)>>0]|0;a[F+10>>0]=a[e+((w-x|0)>>>18&1023)>>0]|0;a[F+4>>0]=a[e+((z+y|0)>>>18&1023)>>0]|0;a[F+9>>0]=a[e+((y-z|0)>>>18&1023)>>0]|0;a[F+5>>0]=a[e+((C+A|0)>>>18&1023)>>0]|0;a[F+8>>0]=a[e+((A-C|0)>>>18&1023)>>0]|0;a[F+6>>0]=a[e+((E+D|0)>>>18&1023)>>0]|0;a[F+7>>0]=a[e+((D-E|0)>>>18&1023)>>0]|0;d=d+1|0;if((d|0)==14)break;else i=i+32|0}yb=m;return}function $u(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,C=0,D=0,E=0,F=0,G=0,H=0;m=yb;yb=yb+416|0;i=m;l=c[d+336>>2]|0;k=i;j=c[e+84>>2]|0;d=f;e=0;while(1){f=B(b[d>>1]<<13,c[j>>2]|0)|0|1024;n=B(c[j+64>>2]|0,b[d+32>>1]|0)|0;s=B(c[j+128>>2]|0,b[d+64>>1]|0)|0;o=B(c[j+192>>2]|0,b[d+96>>1]|0)|0;E=o+s|0;o=s-o|0;s=E*9465|0;w=(o*793|0)+f|0;A=s+(n*11249|0)+w|0;w=(n*4108|0)-s+w|0;s=E*2592|0;q=(o*3989|0)+f|0;y=(n*8672|0)-s+q|0;q=s+(B(n,-10258)|0)+q|0;E=E*3570|0;s=f+(B(o,-7678)|0)|0;u=(B(n,-1396)|0)-E+s|0;s=E+(B(n,-6581)|0)+s|0;E=B(c[j+32>>2]|0,b[d+16>>1]|0)|0;r=B(c[j+96>>2]|0,b[d+48>>1]|0)|0;C=B(c[j+160>>2]|0,b[d+80>>1]|0)|0;p=B(c[j+224>>2]|0,b[d+112>>1]|0)|0;x=(r+E|0)*10832|0;v=(C+E|0)*9534|0;D=p+E|0;F=D*7682|0;z=x+(B(E,-16549)|0)+v+F|0;H=B(C+r|0,-2773)|0;G=B(p+r|0,-9534)|0;x=x+(r*6859|0)+H+G|0;t=B(p+C|0,-5384)|0;v=H+(B(C,-12879)|0)+v+t|0;t=G+(p*18068|0)+F+t|0;D=(D*2773|0)+((C-r|0)*7682|0)|0;r=D+(E*2611|0)+(B(r,-3818)|0)|0;p=D+(C*3150|0)+(B(p,-14273)|0)|0;c[k>>2]=z+A>>11;c[k+384>>2]=A-z>>11;c[k+32>>2]=x+y>>11;c[k+352>>2]=y-x>>11;c[k+64>>2]=v+w>>11;c[k+320>>2]=w-v>>11;c[k+96>>2]=t+u>>11;c[k+288>>2]=u-t>>11;c[k+128>>2]=r+s>>11;c[k+256>>2]=s-r>>11;c[k+160>>2]=p+q>>11;c[k+224>>2]=q-p>>11;c[k+192>>2]=((o-n|0)*11585|0)+f>>11;e=e+1|0;if((e|0)==8)break;else{k=k+4|0;j=j+4|0;d=d+2|0}}e=l+-384|0;d=0;while(1){H=(c[g+(d<<2)>>2]|0)+h|0;G=(c[i>>2]<<13)+134348800|0;F=c[i+8>>2]|0;z=c[i+16>>2]|0;E=c[i+24>>2]|0;o=E+z|0;E=z-E|0;z=o*9465|0;v=(E*793|0)+G|0;r=z+(F*11249|0)+v|0;v=(F*4108|0)-z+v|0;z=o*2592|0;C=(E*3989|0)+G|0;t=(F*8672|0)-z+C|0;C=z+(B(F,-10258)|0)+C|0;o=o*3570|0;z=G+(B(E,-7678)|0)|0;x=(B(F,-1396)|0)-o+z|0;z=o+(B(F,-6581)|0)+z|0;o=c[i+4>>2]|0;A=c[i+12>>2]|0;q=c[i+20>>2]|0;D=c[i+28>>2]|0;u=(A+o|0)*10832|0;w=(q+o|0)*9534|0;p=D+o|0;n=p*7682|0;s=u+(B(o,-16549)|0)+w+n|0;k=B(q+A|0,-2773)|0;l=B(D+A|0,-9534)|0;u=u+(A*6859|0)+k+l|0;y=B(D+q|0,-5384)|0;w=k+(B(q,-12879)|0)+w+y|0;y=l+(D*18068|0)+n+y|0;p=(p*2773|0)+((q-A|0)*7682|0)|0;A=p+(o*2611|0)+(B(A,-3818)|0)|0;D=p+(q*3150|0)+(B(D,-14273)|0)|0;a[H>>0]=a[e+((s+r|0)>>>18&1023)>>0]|0;a[H+12>>0]=a[e+((r-s|0)>>>18&1023)>>0]|0;a[H+1>>0]=a[e+((u+t|0)>>>18&1023)>>0]|0;a[H+11>>0]=a[e+((t-u|0)>>>18&1023)>>0]|0;a[H+2>>0]=a[e+((w+v|0)>>>18&1023)>>0]|0;a[H+10>>0]=a[e+((v-w|0)>>>18&1023)>>0]|0;a[H+3>>0]=a[e+((y+x|0)>>>18&1023)>>0]|0;a[H+9>>0]=a[e+((x-y|0)>>>18&1023)>>0]|0;a[H+4>>0]=a[e+((A+z|0)>>>18&1023)>>0]|0;a[H+8>>0]=a[e+((z-A|0)>>>18&1023)>>0]|0;a[H+5>>0]=a[e+((D+C|0)>>>18&1023)>>0]|0;a[H+7>>0]=a[e+((C-D|0)>>>18&1023)>>0]|0;a[H+6>>0]=a[e+((((E-F|0)*11585|0)+G|0)>>>18&1023)>>0]|0;d=d+1|0;if((d|0)==13)break;else i=i+32|0}yb=m;return}function av(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,C=0;m=yb;yb=yb+384|0;i=m;l=c[d+336>>2]|0;k=i;j=c[e+84>>2]|0;d=f;e=0;while(1){n=B(b[d>>1]<<13,c[j>>2]|0)|0|1024;z=B((b[d+64>>1]|0)*10033|0,c[j+128>>2]|0)|0;y=z+n|0;z=n-z|0;t=B(c[j+64>>2]|0,b[d+32>>1]|0)|0;r=B(b[d+96>>1]<<13,c[j+192>>2]|0)|0;p=(t<<13)-r|0;v=p+n|0;p=n-p|0;n=r+(t*11190|0)|0;x=n+y|0;n=y-n|0;r=(t*2998|0)-r|0;t=r+z|0;r=z-r|0;z=B(c[j+32>>2]|0,b[d+16>>1]|0)|0;y=B(c[j+96>>2]|0,b[d+48>>1]|0)|0;o=B(c[j+160>>2]|0,b[d+80>>1]|0)|0;u=B(c[j+224>>2]|0,b[d+112>>1]|0)|0;C=y*10703|0;A=B(y,-4433)|0;s=o+z|0;f=(u+s|0)*7053|0;s=f+(s*2139|0)|0;w=C+(z*2295|0)+s|0;q=B(u+o|0,-8565)|0;s=(B(o,-12112)|0)+A+q+s|0;q=(u*12998|0)-C+f+q|0;f=A+(B(z,-5540)|0)+(B(u,-16244)|0)+f|0;u=z-u|0;o=y-o|0;y=(u+o|0)*4433|0;u=y+(u*6270|0)|0;o=y+(B(o,-15137)|0)|0;c[k>>2]=w+x>>11;c[k+352>>2]=x-w>>11;c[k+32>>2]=u+v>>11;c[k+320>>2]=v-u>>11;c[k+64>>2]=s+t>>11;c[k+288>>2]=t-s>>11;c[k+96>>2]=q+r>>11;c[k+256>>2]=r-q>>11;c[k+128>>2]=o+p>>11;c[k+224>>2]=p-o>>11;c[k+160>>2]=f+n>>11;c[k+192>>2]=n-f>>11;e=e+1|0;if((e|0)==8)break;else{k=k+4|0;j=j+4|0;d=d+2|0}}e=l+-384|0;d=0;while(1){C=(c[g+(d<<2)>>2]|0)+h|0;z=(c[i>>2]<<13)+134348800|0;n=(c[i+16>>2]|0)*10033|0;o=z+n|0;n=z-n|0;t=c[i+8>>2]|0;v=c[i+24>>2]<<13;x=(t<<13)-v|0;r=x+z|0;x=z-x|0;z=v+(t*11190|0)|0;p=z+o|0;z=o-z|0;v=(t*2998|0)-v|0;t=v+n|0;v=n-v|0;n=c[i+4>>2]|0;o=c[i+12>>2]|0;y=c[i+20>>2]|0;s=c[i+28>>2]|0;k=o*10703|0;l=B(o,-4433)|0;u=y+n|0;A=(u+s|0)*7053|0;u=A+(u*2139|0)|0;q=k+(n*2295|0)+u|0;w=B(s+y|0,-8565)|0;u=(B(y,-12112)|0)+l+w+u|0;w=(s*12998|0)-k+A+w|0;A=l+(B(n,-5540)|0)+(B(s,-16244)|0)+A|0;s=n-s|0;y=o-y|0;o=(s+y|0)*4433|0;s=o+(s*6270|0)|0;y=o+(B(y,-15137)|0)|0;a[C>>0]=a[e+((q+p|0)>>>18&1023)>>0]|0;a[C+11>>0]=a[e+((p-q|0)>>>18&1023)>>0]|0;a[C+1>>0]=a[e+((s+r|0)>>>18&1023)>>0]|0;a[C+10>>0]=a[e+((r-s|0)>>>18&1023)>>0]|0;a[C+2>>0]=a[e+((u+t|0)>>>18&1023)>>0]|0;a[C+9>>0]=a[e+((t-u|0)>>>18&1023)>>0]|0;a[C+3>>0]=a[e+((w+v|0)>>>18&1023)>>0]|0;a[C+8>>0]=a[e+((v-w|0)>>>18&1023)>>0]|0;a[C+4>>0]=a[e+((y+x|0)>>>18&1023)>>0]|0;a[C+7>>0]=a[e+((x-y|0)>>>18&1023)>>0]|0;a[C+5>>0]=a[e+((A+z|0)>>>18&1023)>>0]|0;a[C+6>>0]=a[e+((z-A|0)>>>18&1023)>>0]|0;d=d+1|0;if((d|0)==12)break;else i=i+32|0}yb=m;return}function bv(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,C=0;m=yb;yb=yb+352|0;i=m;l=c[d+336>>2]|0;k=i;j=c[e+84>>2]|0;d=f;e=0;while(1){f=B(b[d>>1]<<13,c[j>>2]|0)|0|1024;y=B(c[j+64>>2]|0,b[d+32>>1]|0)|0;z=B(c[j+128>>2]|0,b[d+64>>1]|0)|0;s=B(c[j+192>>2]|0,b[d+96>>1]|0)|0;q=(z-y|0)*3529|0;o=s+y|0;v=o-z|0;x=(v*11116|0)+f|0;w=x+((z-s|0)*20862|0)|0;u=w+(B(z,-14924)|0)+q|0;w=w+(s*17333|0)|0;q=x+q+(B(y,-12399)|0)|0;o=x+(B(o,-9467)|0)|0;s=o+(B(s,-6461)|0)|0;o=(z*15929|0)+(B(y,-11395)|0)+o|0;f=(B(v,-11585)|0)+f|0;v=B(c[j+32>>2]|0,b[d+16>>1]|0)|0;y=B(c[j+96>>2]|0,b[d+48>>1]|0)|0;z=B(c[j+160>>2]|0,b[d+80>>1]|0)|0;x=B(c[j+224>>2]|0,b[d+112>>1]|0)|0;C=y+v|0;n=(z+C+x|0)*3264|0;C=C*7274|0;r=(z+v|0)*5492|0;p=n+((x+v|0)*3e3|0)|0;v=C+(B(v,-7562)|0)+r+p|0;t=n+(B(z+y|0,-9527)|0)|0;r=r+(B(z,-9766)|0)+t|0;A=B(x+y|0,-14731)|0;t=C+(y*16984|0)+A+t|0;p=A+(x*17223|0)+p|0;n=(z*8203|0)+(B(y,-12019)|0)+(B(x,-13802)|0)+n|0;c[k>>2]=v+w>>11;c[k+320>>2]=w-v>>11;c[k+32>>2]=t+u>>11;c[k+288>>2]=u-t>>11;c[k+64>>2]=r+s>>11;c[k+256>>2]=s-r>>11;c[k+96>>2]=p+q>>11;c[k+224>>2]=q-p>>11;c[k+128>>2]=n+o>>11;c[k+192>>2]=o-n>>11;c[k+160>>2]=f>>11;e=e+1|0;if((e|0)==8)break;else{k=k+4|0;j=j+4|0;d=d+2|0}}e=l+-384|0;d=0;while(1){C=(c[g+(d<<2)>>2]|0)+h|0;A=(c[i>>2]<<13)+134348800|0;o=c[i+8>>2]|0;n=c[i+16>>2]|0;u=c[i+24>>2]|0;w=(n-o|0)*3529|0;y=u+o|0;r=y-n|0;p=(r*11116|0)+A|0;q=p+((n-u|0)*20862|0)|0;s=q+(B(n,-14924)|0)+w|0;q=q+(u*17333|0)|0;w=p+w+(B(o,-12399)|0)|0;y=p+(B(y,-9467)|0)|0;u=y+(B(u,-6461)|0)|0;y=(n*15929|0)+(B(o,-11395)|0)+y|0;A=(B(r,-11585)|0)+A|0;r=c[i+4>>2]|0;o=c[i+12>>2]|0;n=c[i+20>>2]|0;p=c[i+28>>2]|0;k=o+r|0;z=(k+n+p|0)*3264|0;k=k*7274|0;v=(n+r|0)*5492|0;x=z+((p+r|0)*3e3|0)|0;r=k+(B(r,-7562)|0)+v+x|0;t=z+(B(n+o|0,-9527)|0)|0;v=v+(B(n,-9766)|0)+t|0;l=B(p+o|0,-14731)|0;t=k+(o*16984|0)+l+t|0;x=l+(p*17223|0)+x|0;z=(n*8203|0)+(B(o,-12019)|0)+(B(p,-13802)|0)+z|0;a[C>>0]=a[e+((r+q|0)>>>18&1023)>>0]|0;a[C+10>>0]=a[e+((q-r|0)>>>18&1023)>>0]|0;a[C+1>>0]=a[e+((t+s|0)>>>18&1023)>>0]|0;a[C+9>>0]=a[e+((s-t|0)>>>18&1023)>>0]|0;a[C+2>>0]=a[e+((v+u|0)>>>18&1023)>>0]|0;a[C+8>>0]=a[e+((u-v|0)>>>18&1023)>>0]|0;a[C+3>>0]=a[e+((x+w|0)>>>18&1023)>>0]|0;a[C+7>>0]=a[e+((w-x|0)>>>18&1023)>>0]|0;a[C+4>>0]=a[e+((z+y|0)>>>18&1023)>>0]|0;a[C+6>>0]=a[e+((y-z|0)>>>18&1023)>>0]|0;a[C+5>>0]=a[e+(A>>>18&1023)>>0]|0;d=d+1|0;if((d|0)==11)break;else i=i+32|0}yb=m;return}function cv(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;m=yb;yb=yb+320|0;i=m;l=c[d+336>>2]|0;k=i;j=c[e+84>>2]|0;d=f;e=0;while(1){r=B(b[d>>1]<<13,c[j>>2]|0)|0|1024;n=B(c[j+128>>2]|0,b[d+64>>1]|0)|0;t=(n*9373|0)+r|0;w=(B(n,-3580)|0)+r|0;r=(B(n,-11586)|0)+r>>11;n=B(c[j+64>>2]|0,b[d+32>>1]|0)|0;p=B(c[j+192>>2]|0,b[d+96>>1]|0)|0;v=(p+n|0)*6810|0;n=v+(n*4209|0)|0;p=v+(B(p,-17828)|0)|0;v=n+t|0;n=t-n|0;t=p+w|0;p=w-p|0;w=B(c[j+32>>2]|0,b[d+16>>1]|0)|0;x=B(c[j+96>>2]|0,b[d+48>>1]|0)|0;s=B(c[j+160>>2]|0,b[d+80>>1]|0)|0;q=B(c[j+224>>2]|0,b[d+112>>1]|0)|0;o=q+x|0;q=x-q|0;x=q*2531|0;y=s<<13;z=o*7791|0;f=x+y|0;u=z+(w*11443|0)+f|0;f=(w*1812|0)-z+f|0;o=o*4815|0;x=y-x-(q<<12)|0;q=w-s-q<<2;s=(w*10323|0)-o-x|0;o=x+((w*5260|0)-o)|0;c[k>>2]=u+v>>11;c[k+288>>2]=v-u>>11;c[k+32>>2]=s+t>>11;c[k+256>>2]=t-s>>11;c[k+64>>2]=q+r;c[k+224>>2]=r-q;c[k+96>>2]=o+p>>11;c[k+192>>2]=p-o>>11;c[k+128>>2]=f+n>>11;c[k+160>>2]=n-f>>11;e=e+1|0;if((e|0)==8)break;else{k=k+4|0;j=j+4|0;d=d+2|0}}e=l+-384|0;d=0;while(1){z=(c[g+(d<<2)>>2]|0)+h|0;x=(c[i>>2]<<13)+134348800|0;t=c[i+16>>2]|0;r=x+(t*9373|0)|0;o=x+(B(t,-3580)|0)|0;t=x+(B(t,-11586)|0)|0;x=c[i+8>>2]|0;v=c[i+24>>2]|0;p=(v+x|0)*6810|0;x=p+(x*4209|0)|0;v=p+(B(v,-17828)|0)|0;p=x+r|0;x=r-x|0;r=v+o|0;v=o-v|0;o=c[i+4>>2]|0;n=c[i+12>>2]|0;u=c[i+20>>2]<<13;s=c[i+28>>2]|0;w=s+n|0;s=n-s|0;n=s*2531|0;l=w*7791|0;y=n+u|0;q=l+(o*11443|0)+y|0;y=(o*1812|0)-l+y|0;w=w*4815|0;n=u-n-(s<<12)|0;u=(o-s<<13)-u|0;s=(o*10323|0)-w-n|0;w=n+((o*5260|0)-w)|0;a[z>>0]=a[e+((q+p|0)>>>18&1023)>>0]|0;a[z+9>>0]=a[e+((p-q|0)>>>18&1023)>>0]|0;a[z+1>>0]=a[e+((s+r|0)>>>18&1023)>>0]|0;a[z+8>>0]=a[e+((r-s|0)>>>18&1023)>>0]|0;a[z+2>>0]=a[e+((u+t|0)>>>18&1023)>>0]|0;a[z+7>>0]=a[e+((t-u|0)>>>18&1023)>>0]|0;a[z+3>>0]=a[e+((w+v|0)>>>18&1023)>>0]|0;a[z+6>>0]=a[e+((v-w|0)>>>18&1023)>>0]|0;a[z+4>>0]=a[e+((y+x|0)>>>18&1023)>>0]|0;a[z+5>>0]=a[e+((x-y|0)>>>18&1023)>>0]|0;d=d+1|0;if((d|0)==10)break;else i=i+32|0}yb=m;return}function dv(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;m=yb;yb=yb+288|0;i=m;l=c[d+336>>2]|0;k=i;j=c[e+84>>2]|0;d=f;e=0;while(1){q=B(b[d>>1]<<13,c[j>>2]|0)|0|1024;w=B(c[j+64>>2]|0,b[d+32>>1]|0)|0;o=B(c[j+128>>2]|0,b[d+64>>1]|0)|0;f=B((b[d+96>>1]|0)*5793|0,c[j+192>>2]|0)|0;v=f+q|0;f=q-f-f|0;q=w-o|0;s=f+(q*5793|0)|0;f=(B(q,-11586)|0)+f|0;q=(o+w|0)*10887|0;w=w*8875|0;o=o*2012|0;u=q-o+v|0;q=v-q+w|0;o=v-w+o|0;w=B(c[j+32>>2]|0,b[d+16>>1]|0)|0;v=B(c[j+160>>2]|0,b[d+80>>1]|0)|0;r=B(c[j+224>>2]|0,b[d+112>>1]|0)|0;x=B(B(b[d+48>>1]|0,-10033)|0,c[j+96>>2]|0)|0;p=(v+w|0)*7447|0;n=(r+w|0)*3962|0;t=p-x+n|0;y=(v-r|0)*11409|0;p=x-y+p|0;n=y+x+n|0;r=(w-v-r|0)*10033|0;c[k>>2]=t+u>>11;c[k+256>>2]=u-t>>11;c[k+32>>2]=r+s>>11;c[k+224>>2]=s-r>>11;c[k+64>>2]=p+q>>11;c[k+192>>2]=q-p>>11;c[k+96>>2]=n+o>>11;c[k+160>>2]=o-n>>11;c[k+128>>2]=f>>11;e=e+1|0;if((e|0)==8)break;else{k=k+4|0;j=j+4|0;d=d+2|0}}e=l+-384|0;d=0;while(1){y=(c[g+(d<<2)>>2]|0)+h|0;t=(c[i>>2]<<13)+134348800|0;n=c[i+8>>2]|0;v=c[i+16>>2]|0;x=(c[i+24>>2]|0)*5793|0;o=x+t|0;x=t-x-x|0;t=n-v|0;r=x+(t*5793|0)|0;x=(B(t,-11586)|0)+x|0;t=(v+n|0)*10887|0;n=n*8875|0;v=v*2012|0;p=t-v+o|0;t=o-t+n|0;v=o-n+v|0;n=c[i+4>>2]|0;o=c[i+20>>2]|0;s=c[i+28>>2]|0;l=B(c[i+12>>2]|0,-10033)|0;u=(o+n|0)*7447|0;w=(s+n|0)*3962|0;q=u-l+w|0;k=(o-s|0)*11409|0;u=l-k+u|0;w=k+l+w|0;s=(n-o-s|0)*10033|0;a[y>>0]=a[e+((q+p|0)>>>18&1023)>>0]|0;a[y+8>>0]=a[e+((p-q|0)>>>18&1023)>>0]|0;a[y+1>>0]=a[e+((s+r|0)>>>18&1023)>>0]|0;a[y+7>>0]=a[e+((r-s|0)>>>18&1023)>>0]|0;a[y+2>>0]=a[e+((u+t|0)>>>18&1023)>>0]|0;a[y+6>>0]=a[e+((t-u|0)>>>18&1023)>>0]|0;a[y+3>>0]=a[e+((w+v|0)>>>18&1023)>>0]|0;a[y+5>>0]=a[e+((v-w|0)>>>18&1023)>>0]|0;a[y+4>>0]=a[e+(x>>>18&1023)>>0]|0;d=d+1|0;if((d|0)==9)break;else i=i+32|0}yb=m;return}function ev(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;m=yb;yb=yb+208|0;i=m;l=c[d+336>>2]|0;k=i;j=c[e+84>>2]|0;d=f;e=0;while(1){f=B(b[d>>1]<<13,c[j>>2]|0)|0|1024;w=B(c[j+64>>2]|0,b[d+32>>1]|0)|0;o=B(c[j+128>>2]|0,b[d+64>>1]|0)|0;u=B(c[j+192>>2]|0,b[d+96>>1]|0)|0;v=(o-u|0)*7223|0;p=(w-o|0)*2578|0;s=(B(o,-15083)|0)+f+p+v|0;n=u+w|0;q=(n*10438|0)+f|0;u=v+(B(u,-637)|0)+q|0;q=p+(B(w,-20239)|0)+q|0;w=B(c[j+32>>2]|0,b[d+16>>1]|0)|0;p=B(c[j+96>>2]|0,b[d+48>>1]|0)|0;v=B(c[j+160>>2]|0,b[d+80>>1]|0)|0;x=(p+w|0)*7663|0;t=(w-p|0)*1395|0;p=B(v+p|0,-11295)|0;r=x+t+p|0;w=(v+w|0)*5027|0;t=w+(x-t)|0;p=w+(v*15326|0)+p|0;c[k>>2]=t+u>>11;c[k+168>>2]=u-t>>11;c[k+28>>2]=r+s>>11;c[k+140>>2]=s-r>>11;c[k+56>>2]=p+q>>11;c[k+112>>2]=q-p>>11;c[k+84>>2]=((o-n|0)*11585|0)+f>>11;e=e+1|0;if((e|0)==7)break;else{k=k+4|0;j=j+4|0;d=d+2|0}}e=l+-384|0;d=0;while(1){x=(c[g+(d<<2)>>2]|0)+h|0;w=(c[i>>2]<<13)+134348800|0;l=c[i+8>>2]|0;u=c[i+16>>2]|0;o=c[i+24>>2]|0;n=(u-o|0)*7223|0;t=(l-u|0)*2578|0;q=(B(u,-15083)|0)+w+t+n|0;v=o+l|0;s=(v*10438|0)+w|0;o=n+(B(o,-637)|0)+s|0;s=t+(B(l,-20239)|0)+s|0;l=c[i+4>>2]|0;t=c[i+12>>2]|0;n=c[i+20>>2]|0;k=(t+l|0)*7663|0;p=(l-t|0)*1395|0;t=B(n+t|0,-11295)|0;r=k+p+t|0;l=(n+l|0)*5027|0;p=k-p+l|0;t=l+(n*15326|0)+t|0;a[x>>0]=a[e+((p+o|0)>>>18&1023)>>0]|0;a[x+6>>0]=a[e+((o-p|0)>>>18&1023)>>0]|0;a[x+1>>0]=a[e+((r+q|0)>>>18&1023)>>0]|0;a[x+5>>0]=a[e+((q-r|0)>>>18&1023)>>0]|0;a[x+2>>0]=a[e+((t+s|0)>>>18&1023)>>0]|0;a[x+4>>0]=a[e+((s-t|0)>>>18&1023)>>0]|0;a[x+3>>0]=a[e+((((u-v|0)*11585|0)+w|0)>>>18&1023)>>0]|0;d=d+1|0;if((d|0)==7)break;else i=i+28|0}yb=m;return}function fv(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;m=yb;yb=yb+144|0;i=m;l=c[d+336>>2]|0;k=i;j=c[e+84>>2]|0;d=f;e=0;while(1){p=B(b[d>>1]<<13,c[j>>2]|0)|0|1024;n=B((b[d+64>>1]|0)*5793|0,c[j+128>>2]|0)|0;t=n+p|0;p=(B(n,-2)|0)+p>>11;n=B((b[d+32>>1]|0)*10033|0,c[j+64>>2]|0)|0;r=n+t|0;n=t-n|0;t=B(c[j+32>>2]|0,b[d+16>>1]|0)|0;s=B(c[j+96>>2]|0,b[d+48>>1]|0)|0;o=B(c[j+160>>2]|0,b[d+80>>1]|0)|0;f=(o+t|0)*2998|0;q=f+(s+t<<13)|0;f=f+(o-s<<13)|0;o=t-s-o<<2;c[k>>2]=q+r>>11;c[k+120>>2]=r-q>>11;c[k+24>>2]=o+p;c[k+96>>2]=p-o;c[k+48>>2]=f+n>>11;c[k+72>>2]=n-f>>11;e=e+1|0;if((e|0)==6)break;else{k=k+4|0;j=j+4|0;d=d+2|0}}e=l+-384|0;d=0;while(1){t=(c[g+(d<<2)>>2]|0)+h|0;r=(c[i>>2]<<13)+134348800|0;p=(c[i+16>>2]|0)*5793|0;k=r+p|0;p=r-p-p|0;r=(c[i+8>>2]|0)*10033|0;n=k+r|0;r=k-r|0;k=c[i+4>>2]|0;l=c[i+12>>2]|0;q=c[i+20>>2]|0;s=(q+k|0)*2998|0;o=s+(l+k<<13)|0;s=s+(q-l<<13)|0;q=k-l-q<<13;a[t>>0]=a[e+((o+n|0)>>>18&1023)>>0]|0;a[t+5>>0]=a[e+((n-o|0)>>>18&1023)>>0]|0;a[t+1>>0]=a[e+((q+p|0)>>>18&1023)>>0]|0;a[t+4>>0]=a[e+((p-q|0)>>>18&1023)>>0]|0;a[t+2>>0]=a[e+((s+r|0)>>>18&1023)>>0]|0;a[t+3>>0]=a[e+((r-s|0)>>>18&1023)>>0]|0;d=d+1|0;if((d|0)==6)break;else i=i+24|0}yb=m;return}function gv(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;i=yb;yb=yb+112|0;l=i;d=c[d+336>>2]|0;o=c[e+84>>2]|0;n=B(b[f>>1]<<13,c[o>>2]|0)|0|1024;e=B(c[o+64>>2]|0,b[f+32>>1]|0)|0;j=B(c[o+128>>2]|0,b[f+64>>1]|0)|0;q=(j+e|0)*6476|0;j=e-j|0;e=(j*2896|0)+n|0;p=e+q|0;q=e-q|0;n=(B(j,-11584)|0)+n|0;j=B(c[o+32>>2]|0,b[f+16>>1]|0)|0;e=B(c[o+96>>2]|0,b[f+48>>1]|0)|0;m=(e+j|0)*6810|0;j=m+(j*4209|0)|0;e=m+(B(e,-17828)|0)|0;c[l>>2]=j+p>>11;c[l+80>>2]=p-j>>11;j=l+20|0;c[j>>2]=e+q>>11;c[l+60>>2]=q-e>>11;c[l+40>>2]=n>>11;n=l+4|0;e=B(b[f+2>>1]<<13,c[o+4>>2]|0)|0|1024;q=B(c[o+68>>2]|0,b[f+34>>1]|0)|0;p=B(c[o+132>>2]|0,b[f+66>>1]|0)|0;m=(p+q|0)*6476|0;p=q-p|0;q=(p*2896|0)+e|0;k=q+m|0;m=q-m|0;e=(B(p,-11584)|0)+e|0;p=B(c[o+36>>2]|0,b[f+18>>1]|0)|0;q=B(c[o+100>>2]|0,b[f+50>>1]|0)|0;r=(q+p|0)*6810|0;p=r+(p*4209|0)|0;q=r+(B(q,-17828)|0)|0;c[n>>2]=p+k>>11;c[l+84>>2]=k-p>>11;c[l+24>>2]=q+m>>11;c[l+64>>2]=m-q>>11;c[l+44>>2]=e>>11;e=B(b[f+4>>1]<<13,c[o+8>>2]|0)|0|1024;q=B(c[o+72>>2]|0,b[f+36>>1]|0)|0;m=B(c[o+136>>2]|0,b[f+68>>1]|0)|0;p=(m+q|0)*6476|0;m=q-m|0;q=(m*2896|0)+e|0;k=q+p|0;p=q-p|0;e=(B(m,-11584)|0)+e|0;m=B(c[o+40>>2]|0,b[f+20>>1]|0)|0;q=B(c[o+104>>2]|0,b[f+52>>1]|0)|0;r=(q+m|0)*6810|0;m=r+(m*4209|0)|0;q=r+(B(q,-17828)|0)|0;c[l+8>>2]=m+k>>11;c[l+88>>2]=k-m>>11;c[l+28>>2]=q+p>>11;c[l+68>>2]=p-q>>11;c[l+48>>2]=e>>11;e=B(b[f+6>>1]<<13,c[o+12>>2]|0)|0|1024;q=B(c[o+76>>2]|0,b[f+38>>1]|0)|0;p=B(c[o+140>>2]|0,b[f+70>>1]|0)|0;m=(p+q|0)*6476|0;p=q-p|0;q=(p*2896|0)+e|0;k=q+m|0;m=q-m|0;e=(B(p,-11584)|0)+e|0;p=B(c[o+44>>2]|0,b[f+22>>1]|0)|0;q=B(c[o+108>>2]|0,b[f+54>>1]|0)|0;r=(q+p|0)*6810|0;p=r+(p*4209|0)|0;q=r+(B(q,-17828)|0)|0;c[l+12>>2]=p+k>>11;c[l+92>>2]=k-p>>11;c[l+32>>2]=q+m>>11;c[l+72>>2]=m-q>>11;c[l+52>>2]=e>>11;e=B(b[f+8>>1]<<13,c[o+16>>2]|0)|0|1024;q=B(c[o+80>>2]|0,b[f+40>>1]|0)|0;m=B(c[o+144>>2]|0,b[f+72>>1]|0)|0;p=(m+q|0)*6476|0;m=q-m|0;q=(m*2896|0)+e|0;k=q+p|0;p=q-p|0;e=(B(m,-11584)|0)+e|0;m=B(c[o+48>>2]|0,b[f+24>>1]|0)|0;f=B(c[o+112>>2]|0,b[f+56>>1]|0)|0;o=(f+m|0)*6810|0;m=o+(m*4209|0)|0;f=o+(B(f,-17828)|0)|0;c[l+16>>2]=m+k>>11;c[l+96>>2]=k-m>>11;c[l+36>>2]=f+p>>11;c[l+76>>2]=p-f>>11;c[l+56>>2]=e>>11;f=d+-384|0;e=(c[g>>2]|0)+h|0;d=(c[l>>2]<<13)+134348800|0;p=c[l+8>>2]|0;m=c[l+16>>2]|0;k=(m+p|0)*6476|0;m=p-m|0;p=(m*2896|0)+d|0;o=p+k|0;k=p-k|0;d=(B(m,-11584)|0)+d|0;n=c[n>>2]|0;m=c[l+12>>2]|0;p=(m+n|0)*6810|0;n=p+(n*4209|0)|0;m=p+(B(m,-17828)|0)|0;a[e>>0]=a[f+((n+o|0)>>>18&1023)>>0]|0;a[e+4>>0]=a[f+((o-n|0)>>>18&1023)>>0]|0;a[e+1>>0]=a[f+((m+k|0)>>>18&1023)>>0]|0;a[e+3>>0]=a[f+((k-m|0)>>>18&1023)>>0]|0;a[e+2>>0]=a[f+(d>>>18&1023)>>0]|0;e=(c[g+4>>2]|0)+h|0;j=(c[j>>2]<<13)+134348800|0;d=c[l+28>>2]|0;m=c[l+36>>2]|0;k=(m+d|0)*6476|0;m=d-m|0;d=(m*2896|0)+j|0;n=d+k|0;k=d-k|0;j=(B(m,-11584)|0)+j|0;m=c[l+24>>2]|0;d=c[l+32>>2]|0;o=(d+m|0)*6810|0;m=o+(m*4209|0)|0;d=o+(B(d,-17828)|0)|0;a[e>>0]=a[f+((m+n|0)>>>18&1023)>>0]|0;a[e+4>>0]=a[f+((n-m|0)>>>18&1023)>>0]|0;a[e+1>>0]=a[f+((d+k|0)>>>18&1023)>>0]|0;a[e+3>>0]=a[f+((k-d|0)>>>18&1023)>>0]|0;a[e+2>>0]=a[f+(j>>>18&1023)>>0]|0;e=(c[g+8>>2]|0)+h|0;j=(c[l+40>>2]<<13)+134348800|0;d=c[l+48>>2]|0;k=c[l+56>>2]|0;m=(k+d|0)*6476|0;k=d-k|0;d=(k*2896|0)+j|0;n=d+m|0;m=d-m|0;j=(B(k,-11584)|0)+j|0;k=c[l+44>>2]|0;d=c[l+52>>2]|0;o=(d+k|0)*6810|0;k=o+(k*4209|0)|0;d=o+(B(d,-17828)|0)|0;a[e>>0]=a[f+((k+n|0)>>>18&1023)>>0]|0;a[e+4>>0]=a[f+((n-k|0)>>>18&1023)>>0]|0;a[e+1>>0]=a[f+((d+m|0)>>>18&1023)>>0]|0;a[e+3>>0]=a[f+((m-d|0)>>>18&1023)>>0]|0;a[e+2>>0]=a[f+(j>>>18&1023)>>0]|0;e=(c[g+12>>2]|0)+h|0;j=(c[l+60>>2]<<13)+134348800|0;d=c[l+68>>2]|0;m=c[l+76>>2]|0;k=(m+d|0)*6476|0;m=d-m|0;d=(m*2896|0)+j|0;n=d+k|0;k=d-k|0;j=(B(m,-11584)|0)+j|0;m=c[l+64>>2]|0;d=c[l+72>>2]|0;o=(d+m|0)*6810|0;m=o+(m*4209|0)|0;d=o+(B(d,-17828)|0)|0;a[e>>0]=a[f+((m+n|0)>>>18&1023)>>0]|0;a[e+4>>0]=a[f+((n-m|0)>>>18&1023)>>0]|0;a[e+1>>0]=a[f+((d+k|0)>>>18&1023)>>0]|0;a[e+3>>0]=a[f+((k-d|0)>>>18&1023)>>0]|0;a[e+2>>0]=a[f+(j>>>18&1023)>>0]|0;h=(c[g+16>>2]|0)+h|0;g=(c[l+80>>2]<<13)+134348800|0;e=c[l+88>>2]|0;j=c[l+96>>2]|0;d=(j+e|0)*6476|0;j=e-j|0;e=(j*2896|0)+g|0;k=e+d|0;d=e-d|0;g=(B(j,-11584)|0)+g|0;j=c[l+84>>2]|0;e=c[l+92>>2]|0;l=(e+j|0)*6810|0;j=l+(j*4209|0)|0;e=l+(B(e,-17828)|0)|0;a[h>>0]=a[f+((j+k|0)>>>18&1023)>>0]|0;a[h+4>>0]=a[f+((k-j|0)>>>18&1023)>>0]|0;a[h+1>>0]=a[f+((e+d|0)>>>18&1023)>>0]|0;a[h+3>>0]=a[f+((d-e|0)>>>18&1023)>>0]|0;a[h+2>>0]=a[f+(g>>>18&1023)>>0]|0;yb=i;return}function hv(d,e,f,g,h){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;i=yb;yb=yb+64|0;k=i;d=c[d+336>>2]|0;e=c[e+84>>2]|0;m=B(c[e>>2]|0,b[f>>1]|0)|0;j=B(c[e+64>>2]|0,b[f+32>>1]|0)|0;o=j+m<<2;j=m-j<<2;m=B(c[e+32>>2]|0,b[f+16>>1]|0)|0;n=B(c[e+96>>2]|0,b[f+48>>1]|0)|0;l=((n+m|0)*4433|0)+1024|0;m=l+(m*6270|0)>>11;n=l+(B(n,-15137)|0)>>11;c[k>>2]=m+o;c[k+48>>2]=o-m;m=k+16|0;c[m>>2]=n+j;c[k+32>>2]=j-n;n=k+4|0;j=B(c[e+4>>2]|0,b[f+2>>1]|0)|0;o=B(c[e+68>>2]|0,b[f+34>>1]|0)|0;l=o+j<<2;o=j-o<<2;j=B(c[e+36>>2]|0,b[f+18>>1]|0)|0;q=B(c[e+100>>2]|0,b[f+50>>1]|0)|0;p=((q+j|0)*4433|0)+1024|0;j=p+(j*6270|0)>>11;q=p+(B(q,-15137)|0)>>11;c[n>>2]=j+l;c[k+52>>2]=l-j;c[k+20>>2]=q+o;c[k+36>>2]=o-q;q=B(c[e+8>>2]|0,b[f+4>>1]|0)|0;o=B(c[e+72>>2]|0,b[f+36>>1]|0)|0;j=o+q<<2;o=q-o<<2;q=B(c[e+40>>2]|0,b[f+20>>1]|0)|0;l=B(c[e+104>>2]|0,b[f+52>>1]|0)|0;p=((l+q|0)*4433|0)+1024|0;q=p+(q*6270|0)>>11;l=p+(B(l,-15137)|0)>>11;p=q+j|0;c[k+8>>2]=p;c[k+56>>2]=j-q;c[k+24>>2]=l+o;c[k+40>>2]=o-l;l=B(c[e+12>>2]|0,b[f+6>>1]|0)|0;o=B(c[e+76>>2]|0,b[f+38>>1]|0)|0;q=o+l<<2;o=l-o<<2;l=B(c[e+44>>2]|0,b[f+22>>1]|0)|0;e=B(c[e+108>>2]|0,b[f+54>>1]|0)|0;j=((e+l|0)*4433|0)+1024|0;l=j+(l*6270|0)>>11;e=j+(B(e,-15137)|0)>>11;j=l+q|0;c[k+12>>2]=j;c[k+60>>2]=q-l;l=e+o|0;c[k+28>>2]=l;c[k+44>>2]=o-e;e=d+-384|0;d=(c[g>>2]|0)+h|0;f=(c[k>>2]|0)+16400|0;o=f+p<<13;f=f-p<<13;n=c[n>>2]|0;p=(j+n|0)*4433|0;n=p+(n*6270|0)|0;j=p+(B(j,-15137)|0)|0;a[d>>0]=a[e+((n+o|0)>>>18&1023)>>0]|0;a[d+3>>0]=a[e+((o-n|0)>>>18&1023)>>0]|0;a[d+1>>0]=a[e+((j+f|0)>>>18&1023)>>0]|0;a[d+2>>0]=a[e+((f-j|0)>>>18&1023)>>0]|0;d=(c[g+4>>2]|0)+h|0;m=(c[m>>2]|0)+16400|0;j=c[k+24>>2]|0;f=m+j<<13;j=m-j<<13;m=c[k+20>>2]|0;n=(l+m|0)*4433|0;m=n+(m*6270|0)|0;l=n+(B(l,-15137)|0)|0;a[d>>0]=a[e+((m+f|0)>>>18&1023)>>0]|0;a[d+3>>0]=a[e+((f-m|0)>>>18&1023)>>0]|0;a[d+1>>0]=a[e+((l+j|0)>>>18&1023)>>0]|0;a[d+2>>0]=a[e+((j-l|0)>>>18&1023)>>0]|0;d=(c[g+8>>2]|0)+h|0;l=(c[k+32>>2]|0)+16400|0;j=c[k+40>>2]|0;m=l+j<<13;j=l-j<<13;l=c[k+36>>2]|0;f=c[k+44>>2]|0;n=(f+l|0)*4433|0;l=n+(l*6270|0)|0;f=n+(B(f,-15137)|0)|0;a[d>>0]=a[e+((l+m|0)>>>18&1023)>>0]|0;a[d+3>>0]=a[e+((m-l|0)>>>18&1023)>>0]|0;a[d+1>>0]=a[e+((f+j|0)>>>18&1023)>>0]|0;a[d+2>>0]=a[e+((j-f|0)>>>18&1023)>>0]|0;h=(c[g+12>>2]|0)+h|0;d=(c[k+48>>2]|0)+16400|0;f=c[k+56>>2]|0;j=d+f<<13;f=d-f<<13;d=c[k+52>>2]|0;g=c[k+60>>2]|0;k=(g+d|0)*4433|0;d=k+(d*6270|0)|0;g=k+(B(g,-15137)|0)|0;a[h>>0]=a[e+((d+j|0)>>>18&1023)>>0]|0;a[h+3>>0]=a[e+((j-d|0)>>>18&1023)>>0]|0;a[h+1>>0]=a[e+((g+f|0)>>>18&1023)>>0]|0;a[h+2>>0]=a[e+((f-g|0)>>>18&1023)>>0]|0;yb=i;return}function iv(d,e,f,g,h){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;i=yb;yb=yb+48|0;j=i;d=c[d+336>>2]|0;e=c[e+84>>2]|0;l=B(b[f>>1]<<13,c[e>>2]|0)|0|1024;k=B((b[f+32>>1]|0)*5793|0,c[e+64>>2]|0)|0;n=k+l|0;l=(B(k,-2)|0)+l|0;k=B((b[f+16>>1]|0)*10033|0,c[e+32>>2]|0)|0;m=k+n>>11;c[j>>2]=m;c[j+24>>2]=n-k>>11;k=j+12|0;c[k>>2]=l>>11;l=B(b[f+2>>1]<<13,c[e+4>>2]|0)|0|1024;n=B((b[f+34>>1]|0)*5793|0,c[e+68>>2]|0)|0;q=n+l|0;l=(B(n,-2)|0)+l|0;n=B((b[f+18>>1]|0)*10033|0,c[e+36>>2]|0)|0;o=n+q>>11;c[j+4>>2]=o;c[j+28>>2]=q-n>>11;l=l>>11;c[j+16>>2]=l;n=B(b[f+4>>1]<<13,c[e+8>>2]|0)|0|1024;q=B((b[f+36>>1]|0)*5793|0,c[e+72>>2]|0)|0;p=q+n|0;n=(B(q,-2)|0)+n|0;e=B((b[f+20>>1]|0)*10033|0,c[e+40>>2]|0)|0;q=e+p>>11;c[j+8>>2]=q;e=p-e>>11;c[j+32>>2]=e;n=n>>11;c[j+20>>2]=n;f=d+-384|0;d=(c[g>>2]|0)+h|0;m=(m<<13)+134348800|0;p=m+(q*5793|0)|0;m=(B(q,-11586)|0)+m|0;o=o*10033|0;a[d>>0]=a[f+((p+o|0)>>>18&1023)>>0]|0;a[d+2>>0]=a[f+((p-o|0)>>>18&1023)>>0]|0;a[d+1>>0]=a[f+(m>>>18&1023)>>0]|0;d=(c[g+4>>2]|0)+h|0;k=(c[k>>2]<<13)+134348800|0;m=k+(n*5793|0)|0;k=(B(n,-11586)|0)+k|0;l=l*10033|0;a[d>>0]=a[f+((m+l|0)>>>18&1023)>>0]|0;a[d+2>>0]=a[f+((m-l|0)>>>18&1023)>>0]|0;a[d+1>>0]=a[f+(k>>>18&1023)>>0]|0;h=(c[g+8>>2]|0)+h|0;g=(c[j+24>>2]<<13)+134348800|0;d=g+(e*5793|0)|0;g=(B(e,-11586)|0)+g|0;e=(c[j+28>>2]|0)*10033|0;a[h>>0]=a[f+((d+e|0)>>>18&1023)>>0]|0;a[h+2>>0]=a[f+((d-e|0)>>>18&1023)>>0]|0;a[h+1>>0]=a[f+(g>>>18&1023)>>0]|0;yb=i;return}function jv(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;d=(c[d+336>>2]|0)+-384|0;j=c[e+84>>2]|0;i=B(c[j>>2]|0,b[f>>1]|0)|0;e=B(c[j+32>>2]|0,b[f+16>>1]|0)|0;i=i+4100|0;k=e+i|0;e=i-e|0;i=B(c[j+4>>2]|0,b[f+2>>1]|0)|0;f=B(c[j+36>>2]|0,b[f+18>>1]|0)|0;j=f+i|0;f=i-f|0;i=(c[g>>2]|0)+h|0;a[i>>0]=a[d+((j+k|0)>>>3&1023)>>0]|0;a[i+1>>0]=a[d+((k-j|0)>>>3&1023)>>0]|0;h=(c[g+4>>2]|0)+h|0;a[h>>0]=a[d+((f+e|0)>>>3&1023)>>0]|0;a[h+1>>0]=a[d+((e-f|0)>>>3&1023)>>0]|0;return}function kv(d,e,f,g,h){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;f=a[(c[d+336>>2]|0)+-384+(((B(c[c[e+84>>2]>>2]|0,b[f>>1]|0)|0)+4100|0)>>>3&1023)>>0]|0;a[(c[g>>2]|0)+h>>0]=f;return}function lv(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;o=yb;yb=yb+256|0;m=o;l=c[d+336>>2]|0;k=m;j=c[e+84>>2]|0;i=8;while(1){e=b[f+16>>1]|0;d=b[f+32>>1]|0;if(!((e|d)<<16>>16))if(((((b[f+48>>1]|0)==0?(b[f+64>>1]|0)==0:0)?(b[f+80>>1]|0)==0:0)?(b[f+96>>1]|0)==0:0)?(b[f+112>>1]|0)==0:0){d=B(b[f>>1]<<2,c[j>>2]|0)|0;c[k>>2]=d;c[k+32>>2]=d;c[k+64>>2]=d;c[k+96>>2]=d;c[k+128>>2]=d;c[k+160>>2]=d;c[k+192>>2]=d;e=56}else{d=0;n=9}else n=9;if((n|0)==9){n=0;x=B(b[f+64>>1]<<13,c[j+128>>2]|0)|0;p=B(b[f>>1]<<13,c[j>>2]|0)|0|1024;s=x+p|0;x=p-x|0;p=B(c[j+64>>2]|0,d<<16>>16)|0;q=B(c[j+192>>2]|0,b[f+96>>1]|0)|0;u=(q+p|0)*4433|0;p=u+(p*6270|0)|0;q=u+(B(q,-15137)|0)|0;u=p+s|0;p=s-p|0;s=q+x|0;q=x-q|0;d=B(c[j+224>>2]|0,b[f+112>>1]|0)|0;x=B(c[j+160>>2]|0,b[f+80>>1]|0)|0;v=B(c[j+96>>2]|0,b[f+48>>1]|0)|0;t=B(c[j+32>>2]|0,e<<16>>16)|0;r=v+d|0;e=t+x|0;w=(e+r|0)*9633|0;r=w+(B(r,-16069)|0)|0;e=w+(B(e,-3196)|0)|0;w=B(t+d|0,-7373)|0;d=w+(d*2446|0)+r|0;t=w+(t*12299|0)+e|0;w=B(v+x|0,-20995)|0;e=w+(x*16819|0)+e|0;r=w+(v*25172|0)+r|0;c[k>>2]=t+u>>11;c[k+224>>2]=u-t>>11;c[k+32>>2]=r+s>>11;c[k+192>>2]=s-r>>11;c[k+64>>2]=e+q>>11;c[k+160>>2]=q-e>>11;c[k+96>>2]=d+p>>11;d=p-d>>11;e=32}c[k+(e<<2)>>2]=d;if(i>>>0>1){k=k+4|0;j=j+4|0;f=f+2|0;i=i+-1|0}else break}l=l+-384|0;k=0;e=m;while(1){f=(c[g+(k<<2)>>2]|0)+h|0;i=(c[e>>2]|0)+16400|0;j=c[e+4>>2]|0;d=c[e+8>>2]|0;if(!(j|d))if(((((c[e+12>>2]|0)==0?(c[e+16>>2]|0)==0:0)?(c[e+20>>2]|0)==0:0)?(c[e+24>>2]|0)==0:0)?(c[e+28>>2]|0)==0:0){x=a[l+(i>>>5&1023)>>0]|0;a[f>>0]=x;_O(f+1|0,x|0,7)|0}else{d=0;n=19}else n=19;if((n|0)==19){n=0;x=c[e+16>>2]|0;s=x+i<<13;x=i-x<<13;u=c[e+24>>2]|0;q=(u+d|0)*4433|0;w=q+(d*6270|0)|0;u=q+(B(u,-15137)|0)|0;q=w+s|0;w=s-w|0;s=u+x|0;u=x-u|0;x=c[e+28>>2]|0;i=c[e+20>>2]|0;p=c[e+12>>2]|0;t=p+x|0;v=i+j|0;r=(t+v|0)*9633|0;t=r+(B(t,-16069)|0)|0;v=r+(B(v,-3196)|0)|0;r=B(x+j|0,-7373)|0;x=r+(x*2446|0)+t|0;r=r+(j*12299|0)+v|0;m=B(p+i|0,-20995)|0;v=m+(i*16819|0)+v|0;t=m+(p*25172|0)+t|0;a[f>>0]=a[l+((r+q|0)>>>18&1023)>>0]|0;a[f+7>>0]=a[l+((q-r|0)>>>18&1023)>>0]|0;a[f+1>>0]=a[l+((t+s|0)>>>18&1023)>>0]|0;a[f+6>>0]=a[l+((s-t|0)>>>18&1023)>>0]|0;a[f+2>>0]=a[l+((v+u|0)>>>18&1023)>>0]|0;a[f+5>>0]=a[l+((u-v|0)>>>18&1023)>>0]|0;a[f+3>>0]=a[l+((x+w|0)>>>18&1023)>>0]|0;a[f+4>>0]=a[l+((w-x|0)>>>18&1023)>>0]|0}k=k+1|0;if((k|0)==8)break;else e=e+32|0}yb=o;return}function mv(a,b){a=a|0;b=b|0;var d=0;d=c[a+456>>2]|0;a:do switch(b|0){case 0:{if(!(c[a+84>>2]|0)){c[d+4>>2]=c[(c[a+476>>2]|0)+4>>2];break a}c[d+4>>2]=4;b=d+12|0;if(!(c[b>>2]|0))c[b>>2]=Kb[c[(c[a+4>>2]|0)+28>>2]&31](a,c[d+8>>2]|0,0,c[d+16>>2]|0,1)|0;break}case 3:{if(!(c[d+8>>2]|0)){b=c[a>>2]|0;c[b+20>>2]=3;Qb[c[b>>2]&255](a)}c[d+4>>2]=5;break}case 2:{if(!(c[d+8>>2]|0)){b=c[a>>2]|0;c[b+20>>2]=3;Qb[c[b>>2]&255](a)}c[d+4>>2]=6;break}default:{b=c[a>>2]|0;c[b+20>>2]=3;Qb[c[b>>2]&255](a)}}while(0);c[d+24>>2]=0;c[d+20>>2]=0;return}function nv(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0;i=yb;yb=yb+16|0;j=i;m=c[a+456>>2]|0;k=h-(c[g>>2]|0)|0;l=c[m+16>>2]|0;c[j>>2]=0;h=m+12|0;Yb[c[(c[a+476>>2]|0)+4>>2]&7](a,b,d,e,c[h>>2]|0,j,k>>>0>l>>>0?l:k);Vb[c[(c[a+484>>2]|0)+4>>2]&31](a,c[h>>2]|0,f+(c[g>>2]<<2)|0,c[j>>2]|0);c[g>>2]=(c[g>>2]|0)+(c[j>>2]|0);yb=i;return}function ov(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0;k=c[a+456>>2]|0;l=k+24|0;f=c[l>>2]|0;if(!f){j=k+16|0;h=Kb[c[(c[a+4>>2]|0)+28>>2]&31](a,c[k+8>>2]|0,c[k+20>>2]|0,c[j>>2]|0,1)|0;i=k+12|0;c[i>>2]=h;f=c[l>>2]|0}else{h=k+12|0;j=k+16|0;i=h;h=c[h>>2]|0}Yb[c[(c[a+476>>2]|0)+4>>2]&7](a,b,d,e,h,l,c[j>>2]|0);h=c[l>>2]|0;if(h>>>0>f>>>0){h=h-f|0;Vb[c[(c[a+484>>2]|0)+4>>2]&31](a,(c[i>>2]|0)+(f<<2)|0,0,h);c[g>>2]=(c[g>>2]|0)+h;h=c[l>>2]|0}f=c[j>>2]|0;if(h>>>0>>0)return;k=k+20|0;c[k>>2]=(c[k>>2]|0)+f;c[l>>2]=0;return}function pv(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0;d=c[a+456>>2]|0;j=d+24|0;b=c[j>>2]|0;if(!b){i=d+20|0;e=d+16|0;k=Kb[c[(c[a+4>>2]|0)+28>>2]&31](a,c[d+8>>2]|0,c[i>>2]|0,c[e>>2]|0,0)|0;c[d+12>>2]=k;b=c[j>>2]|0;d=k}else{i=d+20|0;e=d+16|0;d=c[d+12>>2]|0}k=(c[e>>2]|0)-b|0;l=c[g>>2]|0;h=h-l|0;k=k>>>0>h>>>0?h:k;h=(c[a+116>>2]|0)-(c[i>>2]|0)|0;k=k>>>0>h>>>0?h:k;Vb[c[(c[a+484>>2]|0)+4>>2]&31](a,d+(b<<2)|0,f+(l<<2)|0,k);c[g>>2]=(c[g>>2]|0)+k;k=(c[j>>2]|0)+k|0;c[j>>2]=k;b=c[e>>2]|0;if(k>>>0>>0)return;c[i>>2]=(c[i>>2]|0)+b;c[j>>2]=0;return}function qv(a){a=a|0;var b=0;b=c[a+476>>2]|0;c[b+92>>2]=c[a+320>>2];c[b+96>>2]=c[a+116>>2];return}function rv(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0;l=c[a+476>>2]|0;m=l+92|0;i=c[m>>2]|0;k=a+320|0;e=c[k>>2]|0;if((i|0)>=(e|0)){j=a+36|0;if((c[j>>2]|0)>0){e=c[a+216>>2]|0;i=0;while(1){n=(c[b+(i<<2)>>2]|0)+((B(c[l+100+(i<<2)>>2]|0,c[d>>2]|0)|0)<<2)|0;Vb[c[l+52+(i<<2)>>2]&31](a,e,n,l+12+(i<<2)|0);i=i+1|0;if((i|0)>=(c[j>>2]|0))break;else e=e+88|0}e=c[k>>2]|0}c[m>>2]=0;i=0}n=e-i|0;b=l+96|0;j=c[b>>2]|0;n=n>>>0>j>>>0?j:n;j=c[g>>2]|0;h=h-j|0;n=n>>>0>h>>>0?h:n;Wb[c[(c[a+480>>2]|0)+4>>2]&63](a,l+12|0,i,f+(j<<2)|0,n);c[g>>2]=(c[g>>2]|0)+n;c[b>>2]=(c[b>>2]|0)-n;n=(c[m>>2]|0)+n|0;c[m>>2]=n;if((n|0)<(c[k>>2]|0))return;c[d>>2]=(c[d>>2]|0)+1;return}function sv(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;c[e>>2]=0;return}function tv(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;c[e>>2]=d;return}function uv(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;j=c[f>>2]|0;k=b+320|0;d=c[k>>2]|0;if((d|0)<=0)return;i=b+112|0;h=0;do{b=c[j+(h<<2)>>2]|0;f=c[i>>2]|0;g=b+f|0;if((f|0)>0){f=c[e+(h<<2)>>2]|0;d=b;while(1){b=a[f>>0]|0;a[d>>0]=b;a[d+1>>0]=b;d=d+2|0;if(d>>>0>=g>>>0)break;else f=f+1|0}d=c[k>>2]|0}h=h+1|0}while((h|0)<(d|0));return}function vv(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0;k=c[f>>2]|0;l=b+320|0;if((c[l>>2]|0)<=0)return;j=b+112|0;h=0;i=0;while(1){b=c[k+(i<<2)>>2]|0;d=c[j>>2]|0;g=b+d|0;if((d|0)>0){f=c[e+(h<<2)>>2]|0;d=b;while(1){b=a[f>>0]|0;a[d>>0]=b;a[d+1>>0]=b;d=d+2|0;if(d>>>0>=g>>>0)break;else f=f+1|0}d=c[j>>2]|0}xv(k,i,k,i|1,1,d);i=i+2|0;if((i|0)>=(c[l>>2]|0))break;else h=h+1|0}return}function wv(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;r=c[b+476>>2]|0;q=c[f>>2]|0;d=c[d+4>>2]|0;f=a[r+140+d>>0]|0;o=f&255;d=a[r+150+d>>0]|0;r=d&255;p=b+320|0;g=c[p>>2]|0;if((g|0)<=0)return;n=b+112|0;k=f<<24>>24!=0;l=r+-1|0;if((d&255)>1){j=(f<<24>>24==0?~o:-2)+o+2|0;h=0;i=0;while(1){d=c[q+(i<<2)>>2]|0;f=c[n>>2]|0;g=d+f|0;if((f|0)>0){if(!k)break;b=c[e+(h<<2)>>2]|0;f=d;while(1){_O(f|0,a[b>>0]|0,j|0)|0;d=o;while(1){f=f+1|0;if((d|0)<=1)break;else d=d+-1|0}if(f>>>0>>0)b=b+1|0;else break}f=c[n>>2]|0}xv(q,i,q,i+1|0,l,f);i=i+r|0;if((i|0)>=(c[p>>2]|0)){m=27;break}else h=h+1|0}if((m|0)==27)return;while(1){}}if(!k){d=(c[n>>2]|0)>0;f=0;while(1){if(d)break;f=f+r|0;if((f|0)>=(g|0)){m=27;break}}if((m|0)==27)return;while(1){}}b=0;h=0;while(1){f=c[q+(h<<2)>>2]|0;m=c[n>>2]|0;i=f+m|0;if((m|0)>0){g=c[e+(b<<2)>>2]|0;while(1){_O(f|0,a[g>>0]|0,o|0)|0;d=o;while(1){f=f+1|0;if((d|0)<=1)break;else d=d+-1|0}if(f>>>0>>0)g=g+1|0;else break}}h=h+r|0;if((h|0)>=(c[p>>2]|0))break;else b=b+1|0}return}function xv(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((f|0)<=0)return;b=a+(b<<2)|0;a=d+(e<<2)|0;while(1){YO(c[a>>2]|0,c[b>>2]|0,g|0)|0;if((f|0)>1){b=b+4|0;a=a+4|0;f=f+-1|0}else break}return}function yv(a){a=a|0;return}function zv(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;xv(c[b>>2]|0,d,e,0,f,c[a+112>>2]|0);return}function Av(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;q=c[(c[b+480>>2]|0)+24>>2]|0;n=c[b+112>>2]|0;if((h|0)<=0)return;o=e+4|0;p=e+8|0;if(!n)return;while(1){i=h;h=h+-1|0;j=c[(c[e>>2]|0)+(f<<2)>>2]|0;k=c[(c[o>>2]|0)+(f<<2)>>2]|0;l=c[(c[p>>2]|0)+(f<<2)>>2]|0;f=f+1|0;m=c[g>>2]|0;b=0;do{a[m+b>>0]=((c[q+((d[k+b>>0]|0|256)<<2)>>2]|0)+(c[q+((d[j+b>>0]|0)<<2)>>2]|0)+(c[q+((d[l+b>>0]|0|512)<<2)>>2]|0)|0)>>>16;b=b+1|0}while((b|0)!=(n|0));if((i|0)<=1)break;else g=g+4|0}return}function Bv(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;q=c[(c[b+480>>2]|0)+24>>2]|0;n=c[b+112>>2]|0;if((h|0)<=0)return;o=e+4|0;p=e+8|0;if(!n)return;while(1){i=h;h=h+-1|0;j=c[(c[e>>2]|0)+(f<<2)>>2]|0;k=c[(c[o>>2]|0)+(f<<2)>>2]|0;l=c[(c[p>>2]|0)+(f<<2)>>2]|0;f=f+1|0;m=c[g>>2]|0;b=0;do{s=d[k+b>>0]|0;r=s+128|0;a[m+b>>0]=((c[q+((s|256)<<2)>>2]|0)+(c[q+((r+(d[j+b>>0]|0)&255)<<2)>>2]|0)+(c[q+((r+(d[l+b>>0]|0)&255|512)<<2)>>2]|0)|0)>>>16;b=b+1|0}while((b|0)!=(n|0));if((i|0)<=1)break;else g=g+4|0}return}function Cv(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;k=c[b+112>>2]|0;if((g|0)<1|(k|0)==0)return;while(1){i=g;g=g+-1|0;j=c[(c[d>>2]|0)+(e<<2)>>2]|0;b=0;h=c[f>>2]|0;while(1){l=a[j+b>>0]|0;a[h+2>>0]=l;a[h+1>>0]=l;a[h>>0]=l;b=b+1|0;if((b|0)==(k|0))break;else h=h+3|0}if((i|0)<=1)break;else{f=f+4|0;e=e+1|0}}return}function Dv(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;r=c[b+480>>2]|0;u=c[b+112>>2]|0;n=c[b+336>>2]|0;o=c[r+8>>2]|0;p=c[r+12>>2]|0;q=c[r+16>>2]|0;r=c[r+20>>2]|0;if((h|0)<=0)return;s=e+4|0;t=e+8|0;if(!u)return;while(1){j=h;h=h+-1|0;k=c[(c[e>>2]|0)+(f<<2)>>2]|0;l=c[(c[s>>2]|0)+(f<<2)>>2]|0;m=c[(c[t>>2]|0)+(f<<2)>>2]|0;f=f+1|0;b=c[g>>2]|0;i=0;while(1){v=d[k+i>>0]|0;w=d[l+i>>0]|0;x=d[m+i>>0]|0;a[b>>0]=a[n+((c[o+(x<<2)>>2]|0)+v)>>0]|0;a[b+1>>0]=a[n+(((c[q+(x<<2)>>2]|0)+(c[r+(w<<2)>>2]|0)>>16)+v)>>0]|0;a[b+2>>0]=a[n+((c[p+(w<<2)>>2]|0)+v)>>0]|0;i=i+1|0;if((i|0)==(u|0))break;else b=b+3|0}if((j|0)<=1)break;else g=g+4|0}return}function Ev(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;m=c[b+112>>2]|0;if((g|0)<=0)return;n=d+4|0;o=d+8|0;if(!m)return;while(1){i=g;g=g+-1|0;j=c[(c[d>>2]|0)+(e<<2)>>2]|0;k=c[(c[n>>2]|0)+(e<<2)>>2]|0;l=c[(c[o>>2]|0)+(e<<2)>>2]|0;e=e+1|0;b=0;h=c[f>>2]|0;while(1){a[h>>0]=a[j+b>>0]|0;a[h+1>>0]=a[k+b>>0]|0;a[h+2>>0]=a[l+b>>0]|0;b=b+1|0;if((b|0)==(m|0))break;else h=h+3|0}if((i|0)<=1)break;else f=f+4|0}return}function Fv(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;n=c[b+112>>2]|0;if((h|0)<=0)return;o=e+4|0;p=e+8|0;if(!n)return;while(1){j=h;h=h+-1|0;k=c[(c[e>>2]|0)+(f<<2)>>2]|0;l=c[(c[o>>2]|0)+(f<<2)>>2]|0;m=c[(c[p>>2]|0)+(f<<2)>>2]|0;f=f+1|0;b=0;i=c[g>>2]|0;while(1){s=a[l+b>>0]|0;q=d[m+b>>0]|0;r=(s&255)+128|0;a[i>>0]=r+(d[k+b>>0]|0);a[i+1>>0]=s;a[i+2>>0]=r+q;b=b+1|0;if((b|0)==(n|0))break;else i=i+3|0}if((j|0)<=1)break;else g=g+4|0}return}function Gv(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;s=c[b+480>>2]|0;w=c[b+112>>2]|0;o=c[b+336>>2]|0;p=c[s+8>>2]|0;q=c[s+12>>2]|0;r=c[s+16>>2]|0;s=c[s+20>>2]|0;if((h|0)<=0)return;t=e+4|0;u=e+8|0;v=e+12|0;if(!w)return;while(1){j=h;h=h+-1|0;k=c[(c[e>>2]|0)+(f<<2)>>2]|0;l=c[(c[t>>2]|0)+(f<<2)>>2]|0;m=c[(c[u>>2]|0)+(f<<2)>>2]|0;n=c[(c[v>>2]|0)+(f<<2)>>2]|0;f=f+1|0;b=c[g>>2]|0;i=0;while(1){x=d[l+i>>0]|0;z=d[m+i>>0]|0;y=~a[k+i>>0]&255;a[b>>0]=a[o+(y-(c[p+(z<<2)>>2]|0))>>0]|0;a[b+1>>0]=a[o+(y-((c[r+(z<<2)>>2]|0)+(c[s+(x<<2)>>2]|0)>>16))>>0]|0;a[b+2>>0]=a[o+(y-(c[q+(x<<2)>>2]|0))>>0]|0;a[b+3>>0]=a[n+i>>0]|0;i=i+1|0;if((i|0)==(w|0))break;else b=b+4|0}if((j|0)<=1)break;else g=g+4|0}return}function Hv(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;n=c[b+36>>2]|0;m=c[b+112>>2]|0;if((g|0)<=0)return;l=(m|0)==0;if((n|0)<=0)return;while(1){k=g;g=g+-1|0;if(!l){j=0;do{b=0;h=c[(c[d+(j<<2)>>2]|0)+(e<<2)>>2]|0;i=(c[f>>2]|0)+j|0;while(1){a[i>>0]=a[h>>0]|0;b=b+1|0;if((b|0)==(m|0))break;else{h=h+1|0;i=i+n|0}}j=j+1|0}while((j|0)!=(n|0))}if((k|0)<=1)break;else{f=f+4|0;e=e+1|0}}return}function Iv(a){a=a|0;var b=0;b=c[a+476>>2]|0;c[b+36>>2]=0;c[b+44>>2]=c[a+116>>2];return}function Jv(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0;n=yb;yb=yb+16|0;l=n;m=c[a+476>>2]|0;i=m+36|0;if(!(c[i>>2]|0)){j=m+44|0;e=c[j>>2]|0;e=e>>>0<2?e:2;k=c[g>>2]|0;h=h-k|0;e=e>>>0>h>>>0?h:e;c[l>>2]=c[f+(k<<2)>>2];if(e>>>0>1)c[l+4>>2]=c[f+(k+1<<2)>>2];else{c[l+4>>2]=c[m+32>>2];c[i>>2]=1}Vb[c[m+12>>2]&31](a,b,c[d>>2]|0,l);f=(c[i>>2]|0)==0;c[g>>2]=(c[g>>2]|0)+e;c[j>>2]=(c[j>>2]|0)-e;if(!f){yb=n;return}}else{xv(m+32|0,0,f+(c[g>>2]<<2)|0,0,1,c[m+40>>2]|0);c[i>>2]=0;f=m+44|0;c[g>>2]=(c[g>>2]|0)+1;c[f>>2]=(c[f>>2]|0)+-1}c[d>>2]=(c[d>>2]|0)+1;yb=n;return}function Kv(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;w=c[b+476>>2]|0;x=c[b+336>>2]|0;y=c[w+16>>2]|0;u=c[w+20>>2]|0;v=c[w+24>>2]|0;w=c[w+28>>2]|0;i=c[e>>2]|0;h=f<<1;t=c[i+(h<<2)>>2]|0;h=c[i+((h|1)<<2)>>2]|0;i=c[(c[e+4>>2]|0)+(f<<2)>>2]|0;p=c[(c[e+8>>2]|0)+(f<<2)>>2]|0;f=c[g>>2]|0;g=c[g+4>>2]|0;s=b+112|0;e=c[s>>2]|0;m=e>>>1;if(!m){j=p;b=t}else{n=i+m|0;q=e&-2;r=m*6|0;o=h+q|0;l=p;e=t;b=g;j=f;k=m;while(1){A=d[i>>0]|0;B=d[l>>0]|0;C=c[y+(B<<2)>>2]|0;B=(c[v+(B<<2)>>2]|0)+(c[w+(A<<2)>>2]|0)>>16;A=c[u+(A<<2)>>2]|0;z=d[e>>0]|0;a[j>>0]=a[x+(C+z)>>0]|0;a[j+1>>0]=a[x+(B+z)>>0]|0;a[j+2>>0]=a[x+(A+z)>>0]|0;z=d[e+1>>0]|0;a[j+3>>0]=a[x+(C+z)>>0]|0;a[j+4>>0]=a[x+(B+z)>>0]|0;a[j+5>>0]=a[x+(A+z)>>0]|0;z=d[h>>0]|0;a[b>>0]=a[x+(C+z)>>0]|0;a[b+1>>0]=a[x+(B+z)>>0]|0;a[b+2>>0]=a[x+(A+z)>>0]|0;z=d[h+1>>0]|0;a[b+3>>0]=a[x+(C+z)>>0]|0;a[b+4>>0]=a[x+(B+z)>>0]|0;a[b+5>>0]=a[x+(A+z)>>0]|0;k=k+-1|0;if(!k)break;else{l=l+1|0;i=i+1|0;h=h+2|0;e=e+2|0;b=b+6|0;j=j+6|0}}j=p+m|0;i=n;h=o;b=t+q|0;g=g+r|0;f=f+r|0;e=c[s>>2]|0}if(!(e&1))return;B=d[i>>0]|0;A=d[j>>0]|0;z=c[y+(A<<2)>>2]|0;A=(c[v+(A<<2)>>2]|0)+(c[w+(B<<2)>>2]|0)>>16;B=c[u+(B<<2)>>2]|0;C=d[b>>0]|0;a[f>>0]=a[x+(z+C)>>0]|0;a[f+1>>0]=a[x+(A+C)>>0]|0;a[f+2>>0]=a[x+(B+C)>>0]|0;C=d[h>>0]|0;a[g>>0]=a[x+(z+C)>>0]|0;a[g+1>>0]=a[x+(A+C)>>0]|0;a[g+2>>0]=a[x+(B+C)>>0]|0;return}function Lv(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;Vb[c[(c[a+476>>2]|0)+12>>2]&31](a,b,c[d>>2]|0,f+(c[g>>2]<<2)|0);c[g>>2]=(c[g>>2]|0)+1;c[d>>2]=(c[d>>2]|0)+1;return}function Mv(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;s=c[b+476>>2]|0;t=c[b+336>>2]|0;u=c[s+16>>2]|0;q=c[s+20>>2]|0;r=c[s+24>>2]|0;s=c[s+28>>2]|0;p=c[(c[e>>2]|0)+(f<<2)>>2]|0;i=c[(c[e+4>>2]|0)+(f<<2)>>2]|0;h=c[(c[e+8>>2]|0)+(f<<2)>>2]|0;f=c[g>>2]|0;o=b+112|0;e=c[o>>2]|0;l=e>>>1;if(!l){b=i;g=p}else{b=i+l|0;m=e&-2;n=l*6|0;k=h;e=i;g=p;i=f;j=l;while(1){w=d[e>>0]|0;x=d[k>>0]|0;y=c[u+(x<<2)>>2]|0;x=(c[r+(x<<2)>>2]|0)+(c[s+(w<<2)>>2]|0)>>16;w=c[q+(w<<2)>>2]|0;v=d[g>>0]|0;a[i>>0]=a[t+(y+v)>>0]|0;a[i+1>>0]=a[t+(x+v)>>0]|0;a[i+2>>0]=a[t+(w+v)>>0]|0;v=d[g+1>>0]|0;a[i+3>>0]=a[t+(y+v)>>0]|0;a[i+4>>0]=a[t+(x+v)>>0]|0;a[i+5>>0]=a[t+(w+v)>>0]|0;j=j+-1|0;if(!j)break;else{k=k+1|0;e=e+1|0;g=g+2|0;i=i+6|0}}h=h+l|0;g=p+m|0;f=f+n|0;e=c[o>>2]|0}if(!(e&1))return;x=d[b>>0]|0;v=d[h>>0]|0;w=(c[r+(v<<2)>>2]|0)+(c[s+(x<<2)>>2]|0)>>16;x=c[q+(x<<2)>>2]|0;y=d[g>>0]|0;a[f>>0]=a[t+((c[u+(v<<2)>>2]|0)+y)>>0]|0;a[f+1>>0]=a[t+(w+y)>>0]|0;a[f+2>>0]=a[t+(x+y)>>0]|0;return}function Nv(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;f=c[a+484>>2]|0;g=c[f+24>>2]|0;e=a+88|0;if(!(c[e>>2]|0))d=0;else{c[e>>2]=2;d=2}if(!b){c[f+4>>2]=(d|0)==2?20:21;c[f+8>>2]=131;b=c[a+132>>2]|0;if((b|0)>=1){if((b|0)>256){d=c[a>>2]|0;c[d+20>>2]=59;c[d+24>>2]=256;Qb[c[c[a>>2]>>2]&255](a)}}else{d=c[a>>2]|0;c[d+20>>2]=58;c[d+24>>2]=1;Qb[c[c[a>>2]>>2]&255](a)}if((c[e>>2]|0)==2){e=((c[a+112>>2]|0)*6|0)+12|0;d=f+32|0;b=c[d>>2]|0;if(!b){b=Hb[c[(c[a+4>>2]|0)+4>>2]&63](a,1,e)|0;c[d>>2]=b}_O(b|0,0,e|0)|0;if(!(c[f+40>>2]|0))Pv(a);c[f+36>>2]=0}}else{c[f+4>>2]=19;c[f+8>>2]=130;c[f+28>>2]=1}b=f+28|0;if(!(c[b>>2]|0))return;_O(c[g>>2]|0,0,4096)|0;_O(c[g+4>>2]|0,0,4096)|0;_O(c[g+8>>2]|0,0,4096)|0;_O(c[g+12>>2]|0,0,4096)|0;_O(c[g+16>>2]|0,0,4096)|0;_O(c[g+20>>2]|0,0,4096)|0;_O(c[g+24>>2]|0,0,4096)|0;_O(c[g+28>>2]|0,0,4096)|0;_O(c[g+32>>2]|0,0,4096)|0;_O(c[g+36>>2]|0,0,4096)|0;_O(c[g+40>>2]|0,0,4096)|0;_O(c[g+44>>2]|0,0,4096)|0;_O(c[g+48>>2]|0,0,4096)|0;_O(c[g+52>>2]|0,0,4096)|0;_O(c[g+56>>2]|0,0,4096)|0;_O(c[g+60>>2]|0,0,4096)|0;_O(c[g+64>>2]|0,0,4096)|0;_O(c[g+68>>2]|0,0,4096)|0;_O(c[g+72>>2]|0,0,4096)|0;_O(c[g+76>>2]|0,0,4096)|0;_O(c[g+80>>2]|0,0,4096)|0;_O(c[g+84>>2]|0,0,4096)|0;_O(c[g+88>>2]|0,0,4096)|0;_O(c[g+92>>2]|0,0,4096)|0;_O(c[g+96>>2]|0,0,4096)|0;_O(c[g+100>>2]|0,0,4096)|0;_O(c[g+104>>2]|0,0,4096)|0;_O(c[g+108>>2]|0,0,4096)|0;_O(c[g+112>>2]|0,0,4096)|0;_O(c[g+116>>2]|0,0,4096)|0;_O(c[g+120>>2]|0,0,4096)|0;_O(c[g+124>>2]|0,0,4096)|0;c[b>>2]=0;return}function Ov(a){a=a|0;c[(c[a+484>>2]|0)+28>>2]=1;return}function Pv(a){a=a|0;var b=0,d=0,e=0;d=c[a+484>>2]|0;a=Hb[c[c[a+4>>2]>>2]&63](a,1,2044)|0;e=a+1020|0;c[d+40>>2]=e;c[e>>2]=0;c[a+1024>>2]=1;c[a+1016>>2]=-1;c[a+1028>>2]=2;c[a+1012>>2]=-2;c[a+1032>>2]=3;c[a+1008>>2]=-3;c[a+1036>>2]=4;c[a+1004>>2]=-4;c[a+1040>>2]=5;c[a+1e3>>2]=-5;c[a+1044>>2]=6;c[a+996>>2]=-6;c[a+1048>>2]=7;c[a+992>>2]=-7;c[a+1052>>2]=8;c[a+988>>2]=-8;c[a+1056>>2]=9;c[a+984>>2]=-9;c[a+1060>>2]=10;c[a+980>>2]=-10;c[a+1064>>2]=11;c[a+976>>2]=-11;c[a+1068>>2]=12;c[a+972>>2]=-12;c[a+1072>>2]=13;c[a+968>>2]=-13;c[a+1076>>2]=14;c[a+964>>2]=-14;c[a+1080>>2]=15;c[a+960>>2]=-15;a=16;d=16;do{c[e+(a<<2)>>2]=d;c[e+(0-a<<2)>>2]=0-d;a=a+1|0;d=(a&1^1)+d|0}while((a|0)!=48);b=0-d|0;a=48;do{c[e+(a<<2)>>2]=d;c[e+(0-a<<2)>>2]=b;a=a+1|0}while((a|0)!=256);return}function Qv(a,e,f,g){a=a|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0;j=c[(c[a+484>>2]|0)+24>>2]|0;i=c[a+112>>2]|0;if((g|0)<1|(i|0)==0)return;a=0;do{f=i;h=c[e+(a<<2)>>2]|0;while(1){k=(c[j+((d[h>>0]|0)>>>3<<2)>>2]|0)+((d[h+1>>0]|0)>>>2<<6)+((d[h+2>>0]|0)>>>3<<1)|0;m=b[k>>1]|0;l=m+1<<16>>16;b[k>>1]=l<<16>>16==0?m:l;f=f+-1|0;if(!f)break;else h=h+3|0}a=a+1|0}while((a|0)!=(g|0));return}function Rv(d){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,C=0,D=0;y=d+484|0;A=c[y>>2]|0;C=d+136|0;c[C>>2]=c[A+16>>2];s=c[A+20>>2]|0;z=Hb[c[c[d+4>>2]>>2]&63](d,1,s<<5)|0;c[z>>2]=0;c[z+4>>2]=31;c[z+8>>2]=0;c[z+12>>2]=63;c[z+16>>2]=0;c[z+20>>2]=31;Wv(d,z);a:do if((s|0)>1){e=1;while(1){if((e<<1|0)>(s|0)){g=0;h=0;i=z;f=0;while(1){j=c[i+24>>2]|0;k=(j|0)>(g|0);f=k?i:f;h=h+1|0;if((h|0)==(e|0)){q=f;break}else{g=k?j:g;i=i+32|0}}}else{f=0;i=0;j=z;g=0;while(1){h=c[j+28>>2]|0;if((h|0)>(f|0)){x=(c[j+24>>2]|0)>0;g=x?j:g;f=x?h:f}i=i+1|0;if((i|0)==(e|0)){q=g;break}else j=j+32|0}}if(!q)break a;r=z+(e<<5)|0;g=q+4|0;c[z+(e<<5)+4>>2]=c[g>>2];h=q+12|0;c[z+(e<<5)+12>>2]=c[h>>2];i=q+20|0;c[z+(e<<5)+20>>2]=c[i>>2];c[r>>2]=c[q>>2];n=q+8|0;f=z+(e<<5)+8|0;c[f>>2]=c[n>>2];p=q+16|0;j=z+(e<<5)+16|0;c[j>>2]=c[p>>2];k=c[g>>2]|0;l=c[q>>2]|0;v=k-l<<4;m=c[h>>2]|0;n=c[n>>2]|0;w=(m-n|0)*12|0;o=c[i>>2]|0;p=c[p>>2]|0;x=(v|0)>(w|0);switch(((o-p<<3|0)>((x?v:w)|0)?2:(x^1)&1)&3){case 0:{t=(l+k|0)/2|0;c[g>>2]=t;f=r;g=t;t=15;break}case 1:{g=(n+m|0)/2|0;c[h>>2]=g;t=15;break}case 2:{g=(p+o|0)/2|0;c[i>>2]=g;f=j;t=15;break}default:{}}if((t|0)==15){t=0;c[f>>2]=g+1}Wv(d,q);Wv(d,r);e=e+1|0;if((e|0)>=(s|0))break a}}else e=1;while(0);x=0;do{r=c[(c[y>>2]|0)+24>>2]|0;j=c[z+(x<<5)>>2]|0;s=c[z+(x<<5)+4>>2]|0;t=c[z+(x<<5)+8>>2]|0;u=c[z+(x<<5)+12>>2]|0;v=c[z+(x<<5)+16>>2]|0;w=c[z+(x<<5)+20>>2]|0;if((j|0)>(s|0)|(t|0)>(u|0)|(v|0)>(w|0)){i=0;h=0;g=0;f=0}else{i=0;h=0;g=0;f=0;while(1){p=c[r+(j<<2)>>2]|0;q=j<<3|4;o=t;while(1){n=o<<2|2;l=p+(o<<6)+(v<<1)|0;m=v;while(1){D=b[l>>1]|0;k=D&65535;if(D<<16>>16){i=(B(m<<3|4,k)|0)+i|0;h=(B(n,k)|0)+h|0;g=(B(q,k)|0)+g|0;f=f+k|0}if((m|0)<(w|0)){l=l+2|0;m=m+1|0}else break}if((o|0)<(u|0))o=o+1|0;else break}if((j|0)<(s|0))j=j+1|0;else break}}D=f>>1;a[(c[c[C>>2]>>2]|0)+x>>0]=(g+D|0)/(f|0)|0;a[(c[(c[C>>2]|0)+4>>2]|0)+x>>0]=(h+D|0)/(f|0)|0;a[(c[(c[C>>2]|0)+8>>2]|0)+x>>0]=(i+D|0)/(f|0)|0;x=x+1|0}while((x|0)<(e|0));c[d+132>>2]=e;D=c[d>>2]|0;c[D+20>>2]=98;c[D+24>>2]=e;Sb[c[(c[d>>2]|0)+4>>2]&63](d,1);c[A+28>>2]=1;return}function Sv(e,f,g,h){e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,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;i=c[e+484>>2]|0;U=c[i+24>>2]|0;V=c[e+112>>2]|0;O=c[e+336>>2]|0;P=c[i+40>>2]|0;S=c[e+136>>2]|0;Q=c[S>>2]|0;R=c[S+4>>2]|0;S=c[S+8>>2]|0;if((h|0)<=0)return;T=i+36|0;J=i+32|0;K=(V|0)==0;L=V+-1|0;M=L*3|0;N=(V*3|0)+3|0;I=0;do{k=c[f+(I<<2)>>2]|0;j=c[g+(I<<2)>>2]|0;if(!(c[T>>2]|0)){F=3;G=1;i=c[J>>2]|0;l=1}else{F=-3;G=-1;i=(c[J>>2]|0)+(N<<1)|0;j=j+L|0;k=k+M|0;l=0}c[T>>2]=l;if(K){l=0;k=0;j=0}else{A=F+1|0;C=F+2|0;H=B(V,F)|0;p=0;q=0;w=0;x=0;y=0;l=0;D=0;E=0;z=V;m=0;u=i;while(1){v=u;u=u+(F<<1)|0;r=d[O+((c[P+(m+8+(b[u>>1]|0)>>4<<2)>>2]|0)+(d[k>>0]|0))>>0]|0;s=d[O+((c[P+(p+8+(b[v+(A<<1)>>1]|0)>>4<<2)>>2]|0)+(d[k+1>>0]|0))>>0]|0;t=d[O+((c[P+(q+8+(b[v+(C<<1)>>1]|0)>>4<<2)>>2]|0)+(d[k+2>>0]|0))>>0]|0;n=r>>>3;o=s>>>2;p=t>>>3;q=(c[U+(n<<2)>>2]|0)+(o<<6)+(p<<1)|0;m=b[q>>1]|0;if(!(m<<16>>16)){Vv(e,n,o,p);m=b[q>>1]|0}m=(m&65535)+-1|0;a[j>>0]=m;o=r-(d[Q+m>>0]|0)|0;n=s-(d[R+m>>0]|0)|0;m=t-(d[S+m>>0]|0)|0;b[v>>1]=(o*3|0)+l;l=(o*5|0)+w|0;b[v+2>>1]=(n*3|0)+D;D=(n*5|0)+x|0;b[v+4>>1]=(m*3|0)+E;E=(m*5|0)+y|0;z=z+-1|0;if(!z)break;else{p=n*7|0;q=m*7|0;w=o;x=n;y=m;m=o*7|0;j=j+G|0;k=k+F|0}}k=D;j=E;i=i+(H<<1)|0}b[i>>1]=l;b[i+2>>1]=k;b[i+4>>1]=j;I=I+1|0}while((I|0)!=(h|0));return}function Tv(e,f,g,h){e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;r=c[(c[e+484>>2]|0)+24>>2]|0;s=c[e+112>>2]|0;if((h|0)<1|(s|0)==0)return;o=0;do{n=s;p=c[g+(o<<2)>>2]|0;q=c[f+(o<<2)>>2]|0;while(1){j=(d[q>>0]|0)>>>3;k=(d[q+1>>0]|0)>>>2;l=(d[q+2>>0]|0)>>>3;m=(c[r+(j<<2)>>2]|0)+(k<<6)+(l<<1)|0;i=b[m>>1]|0;if(!(i<<16>>16)){Vv(e,j,k,l);i=b[m>>1]|0}a[p>>0]=(i&65535)+255;n=n+-1|0;if(!n)break;else{p=p+1|0;q=q+3|0}}o=o+1|0}while((o|0)!=(h|0));return}function Uv(a){a=a|0;return}function Vv(e,f,g,h){e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0;N=yb;yb=yb+1408|0;K=N+384|0;L=N+128|0;i=N;M=c[(c[e+484>>2]|0)+24>>2]|0;n=f>>>2<<5;H=n|4;p=g>>>3<<5;I=p|2;r=h>>>2<<5;J=r|4;x=c[e+132>>2]|0;n=n|28;o=n+H>>1;p=p|30;q=p+I>>1;r=r|28;s=r+J>>1;if((x|0)>0){v=c[e+136>>2]|0;t=c[v>>2]|0;u=c[v+4>>2]|0;v=c[v+8>>2]|0;w=2147483647;m=0;do{j=d[t+m>>0]|0;do if((H|0)<=(j|0)){if((n|0)<(j|0)){G=j-n<<1;l=j-H<<1;l=B(l,l)|0;j=B(G,G)|0;break}if((o|0)<(j|0)){l=j-H<<1;l=B(l,l)|0;j=0;break}else{l=j-n<<1;l=B(l,l)|0;j=0;break}}else{G=j-H<<1;l=j-n<<1;l=B(l,l)|0;j=B(G,G)|0}while(0);k=d[u+m>>0]|0;do if((I|0)<=(k|0)){if((p|0)<(k|0)){G=(k-p|0)*3|0;k=(k-I|0)*3|0;j=(B(G,G)|0)+j|0;k=B(k,k)|0;break}if((q|0)<(k|0)){k=(k-I|0)*3|0;k=B(k,k)|0;break}else{k=(k-p|0)*3|0;k=B(k,k)|0;break}}else{G=(k-I|0)*3|0;k=(k-p|0)*3|0;j=(B(G,G)|0)+j|0;k=B(k,k)|0}while(0);l=k+l|0;k=d[v+m>>0]|0;do if((J|0)<=(k|0)){if((r|0)<(k|0)){G=k-r|0;k=k-J|0;j=(B(G,G)|0)+j|0;k=B(k,k)|0;break}if((s|0)<(k|0)){k=k-J|0;k=B(k,k)|0;break}else{k=k-r|0;k=B(k,k)|0;break}}else{G=k-J|0;k=k-r|0;j=(B(G,G)|0)+j|0;k=B(k,k)|0}while(0);G=l+k|0;c[K+(m<<2)>>2]=j;w=(G|0)<(w|0)?G:w;m=m+1|0}while((m|0)!=(x|0));j=0;k=0;do{if((c[K+(k<<2)>>2]|0)<=(w|0)){a[L+j>>0]=k;j=j+1|0}k=k+1|0}while((k|0)!=(x|0))}else j=0;c[K>>2]=2147483647;c[K+4>>2]=2147483647;c[K+8>>2]=2147483647;c[K+12>>2]=2147483647;c[K+16>>2]=2147483647;c[K+20>>2]=2147483647;c[K+24>>2]=2147483647;c[K+28>>2]=2147483647;c[K+32>>2]=2147483647;c[K+36>>2]=2147483647;c[K+40>>2]=2147483647;c[K+44>>2]=2147483647;c[K+48>>2]=2147483647;c[K+52>>2]=2147483647;c[K+56>>2]=2147483647;c[K+60>>2]=2147483647;c[K+64>>2]=2147483647;c[K+68>>2]=2147483647;c[K+72>>2]=2147483647;c[K+76>>2]=2147483647;c[K+80>>2]=2147483647;c[K+84>>2]=2147483647;c[K+88>>2]=2147483647;c[K+92>>2]=2147483647;c[K+96>>2]=2147483647;c[K+100>>2]=2147483647;c[K+104>>2]=2147483647;c[K+108>>2]=2147483647;c[K+112>>2]=2147483647;c[K+116>>2]=2147483647;c[K+120>>2]=2147483647;c[K+124>>2]=2147483647;c[K+128>>2]=2147483647;c[K+132>>2]=2147483647;c[K+136>>2]=2147483647;c[K+140>>2]=2147483647;c[K+144>>2]=2147483647;c[K+148>>2]=2147483647;c[K+152>>2]=2147483647;c[K+156>>2]=2147483647;c[K+160>>2]=2147483647;c[K+164>>2]=2147483647;c[K+168>>2]=2147483647;c[K+172>>2]=2147483647;c[K+176>>2]=2147483647;c[K+180>>2]=2147483647;c[K+184>>2]=2147483647;c[K+188>>2]=2147483647;c[K+192>>2]=2147483647;c[K+196>>2]=2147483647;c[K+200>>2]=2147483647;c[K+204>>2]=2147483647;c[K+208>>2]=2147483647;c[K+212>>2]=2147483647;c[K+216>>2]=2147483647;c[K+220>>2]=2147483647;c[K+224>>2]=2147483647;c[K+228>>2]=2147483647;c[K+232>>2]=2147483647;c[K+236>>2]=2147483647;c[K+240>>2]=2147483647;c[K+244>>2]=2147483647;c[K+248>>2]=2147483647;c[K+252>>2]=2147483647;c[K+256>>2]=2147483647;c[K+260>>2]=2147483647;c[K+264>>2]=2147483647;c[K+268>>2]=2147483647;c[K+272>>2]=2147483647;c[K+276>>2]=2147483647;c[K+280>>2]=2147483647;c[K+284>>2]=2147483647;c[K+288>>2]=2147483647;c[K+292>>2]=2147483647;c[K+296>>2]=2147483647;c[K+300>>2]=2147483647;c[K+304>>2]=2147483647;c[K+308>>2]=2147483647;c[K+312>>2]=2147483647;c[K+316>>2]=2147483647;c[K+320>>2]=2147483647;c[K+324>>2]=2147483647;c[K+328>>2]=2147483647;c[K+332>>2]=2147483647;c[K+336>>2]=2147483647;c[K+340>>2]=2147483647;c[K+344>>2]=2147483647;c[K+348>>2]=2147483647;c[K+352>>2]=2147483647;c[K+356>>2]=2147483647;c[K+360>>2]=2147483647;c[K+364>>2]=2147483647;c[K+368>>2]=2147483647;c[K+372>>2]=2147483647;c[K+376>>2]=2147483647;c[K+380>>2]=2147483647;c[K+384>>2]=2147483647;c[K+388>>2]=2147483647;c[K+392>>2]=2147483647;c[K+396>>2]=2147483647;c[K+400>>2]=2147483647;c[K+404>>2]=2147483647;c[K+408>>2]=2147483647;c[K+412>>2]=2147483647;c[K+416>>2]=2147483647;c[K+420>>2]=2147483647;c[K+424>>2]=2147483647;c[K+428>>2]=2147483647;c[K+432>>2]=2147483647;c[K+436>>2]=2147483647;c[K+440>>2]=2147483647;c[K+444>>2]=2147483647;c[K+448>>2]=2147483647;c[K+452>>2]=2147483647;c[K+456>>2]=2147483647;c[K+460>>2]=2147483647;c[K+464>>2]=2147483647;c[K+468>>2]=2147483647;c[K+472>>2]=2147483647;c[K+476>>2]=2147483647;c[K+480>>2]=2147483647;c[K+484>>2]=2147483647;c[K+488>>2]=2147483647;c[K+492>>2]=2147483647;c[K+496>>2]=2147483647;c[K+500>>2]=2147483647;c[K+504>>2]=2147483647;c[K+508>>2]=2147483647;if((j|0)>0){v=e+136|0;u=0;do{w=a[L+u>>0]|0;r=w&255;x=c[v>>2]|0;q=H-(d[(c[x>>2]|0)+r>>0]|0)|0;s=q<<1;s=B(s,s)|0;G=I-(d[(c[x+4>>2]|0)+r>>0]|0)|0;z=G*3|0;s=(B(z,z)|0)+s|0;r=J-(d[(c[x+8>>2]|0)+r>>0]|0)|0;G=G*72|0;x=G+144|0;z=r<<4;e=z+64|0;y=z+192|0;z=z+320|0;A=G+432|0;C=G+720|0;D=G+1008|0;E=G+1296|0;F=G+1584|0;G=G+1872|0;p=3;q=(q<<6)+256|0;r=s+(B(r,r)|0)|0;s=i;t=K;while(1){n=t+16|0;if((r|0)<(c[t>>2]|0)){c[t>>2]=r;a[s>>0]=w}k=r+e|0;l=t+4|0;if((k|0)<(c[l>>2]|0)){c[l>>2]=k;a[s+1>>0]=w}k=k+y|0;l=t+8|0;if((k|0)<(c[l>>2]|0)){c[l>>2]=k;a[s+2>>0]=w}k=k+z|0;l=t+12|0;if((k|0)<(c[l>>2]|0)){c[l>>2]=k;a[s+3>>0]=w}m=x+r|0;o=t+32|0;if((m|0)<(c[n>>2]|0)){c[n>>2]=m;a[s+4>>0]=w}k=m+e|0;l=t+20|0;if((k|0)<(c[l>>2]|0)){c[l>>2]=k;a[s+5>>0]=w}k=k+y|0;l=t+24|0;if((k|0)<(c[l>>2]|0)){c[l>>2]=k;a[s+6>>0]=w}k=k+z|0;l=t+28|0;if((k|0)<(c[l>>2]|0)){c[l>>2]=k;a[s+7>>0]=w}m=A+m|0;n=t+48|0;if((m|0)<(c[o>>2]|0)){c[o>>2]=m;a[s+8>>0]=w}k=m+e|0;l=t+36|0;if((k|0)<(c[l>>2]|0)){c[l>>2]=k;a[s+9>>0]=w}k=k+y|0;l=t+40|0;if((k|0)<(c[l>>2]|0)){c[l>>2]=k;a[s+10>>0]=w}k=k+z|0;l=t+44|0;if((k|0)<(c[l>>2]|0)){c[l>>2]=k;a[s+11>>0]=w}m=C+m|0;o=t+64|0;if((m|0)<(c[n>>2]|0)){c[n>>2]=m;a[s+12>>0]=w}k=m+e|0;l=t+52|0;if((k|0)<(c[l>>2]|0)){c[l>>2]=k;a[s+13>>0]=w}k=k+y|0;l=t+56|0;if((k|0)<(c[l>>2]|0)){c[l>>2]=k;a[s+14>>0]=w}k=k+z|0;l=t+60|0;if((k|0)<(c[l>>2]|0)){c[l>>2]=k;a[s+15>>0]=w}m=D+m|0;n=t+80|0;if((m|0)<(c[o>>2]|0)){c[o>>2]=m;a[s+16>>0]=w}k=m+e|0;l=t+68|0;if((k|0)<(c[l>>2]|0)){c[l>>2]=k;a[s+17>>0]=w}k=k+y|0;l=t+72|0;if((k|0)<(c[l>>2]|0)){c[l>>2]=k;a[s+18>>0]=w}k=k+z|0;l=t+76|0;if((k|0)<(c[l>>2]|0)){c[l>>2]=k;a[s+19>>0]=w}m=E+m|0;o=t+96|0;if((m|0)<(c[n>>2]|0)){c[n>>2]=m;a[s+20>>0]=w}k=m+e|0;l=t+84|0;if((k|0)<(c[l>>2]|0)){c[l>>2]=k;a[s+21>>0]=w}k=k+y|0;l=t+88|0;if((k|0)<(c[l>>2]|0)){c[l>>2]=k;a[s+22>>0]=w}k=k+z|0;l=t+92|0;if((k|0)<(c[l>>2]|0)){c[l>>2]=k;a[s+23>>0]=w}m=F+m|0;n=t+112|0;if((m|0)<(c[o>>2]|0)){c[o>>2]=m;a[s+24>>0]=w}k=m+e|0;l=t+100|0;if((k|0)<(c[l>>2]|0)){c[l>>2]=k;a[s+25>>0]=w}k=k+y|0;l=t+104|0;if((k|0)<(c[l>>2]|0)){c[l>>2]=k;a[s+26>>0]=w}k=k+z|0;l=t+108|0;if((k|0)<(c[l>>2]|0)){c[l>>2]=k;a[s+27>>0]=w}k=G+m|0;if((k|0)<(c[n>>2]|0)){c[n>>2]=k;a[s+28>>0]=w}k=k+e|0;l=t+116|0;if((k|0)<(c[l>>2]|0)){c[l>>2]=k;a[s+29>>0]=w}k=k+y|0;l=t+120|0;if((k|0)<(c[l>>2]|0)){c[l>>2]=k;a[s+30>>0]=w}k=k+z|0;l=t+124|0;if((k|0)<(c[l>>2]|0)){c[l>>2]=k;a[s+31>>0]=w}r=r+q|0;if(!p)break;else{p=p+-1|0;q=q+512|0;s=s+32|0;t=t+128|0}}u=u+1|0}while((u|0)!=(j|0))}s=f&-4;t=g&-8;l=h&-4;m=t|1;n=t|2;o=t|3;p=t|4;q=t|5;r=t|6;k=g|7;j=0;while(1){g=M+(j+s<<2)|0;h=c[g>>2]|0;L=h+(t<<6)+(l<<1)|0;b[L>>1]=(d[i>>0]|0)+1;b[L+2>>1]=(d[i+1>>0]|0)+1;b[L+4>>1]=(d[i+2>>0]|0)+1;b[L+6>>1]=(d[i+3>>0]|0)+1;L=h+(m<<6)+(l<<1)|0;b[L>>1]=(d[i+4>>0]|0)+1;b[L+2>>1]=(d[i+5>>0]|0)+1;b[L+4>>1]=(d[i+6>>0]|0)+1;b[L+6>>1]=(d[i+7>>0]|0)+1;L=h+(n<<6)+(l<<1)|0;b[L>>1]=(d[i+8>>0]|0)+1;b[L+2>>1]=(d[i+9>>0]|0)+1;b[L+4>>1]=(d[i+10>>0]|0)+1;b[L+6>>1]=(d[i+11>>0]|0)+1;h=h+(o<<6)+(l<<1)|0;b[h>>1]=(d[i+12>>0]|0)+1;b[h+2>>1]=(d[i+13>>0]|0)+1;b[h+4>>1]=(d[i+14>>0]|0)+1;b[h+6>>1]=(d[i+15>>0]|0)+1;g=c[g>>2]|0;h=g+(p<<6)+(l<<1)|0;b[h>>1]=(d[i+16>>0]|0)+1;b[h+2>>1]=(d[i+17>>0]|0)+1;b[h+4>>1]=(d[i+18>>0]|0)+1;b[h+6>>1]=(d[i+19>>0]|0)+1;h=g+(q<<6)+(l<<1)|0;b[h>>1]=(d[i+20>>0]|0)+1;b[h+2>>1]=(d[i+21>>0]|0)+1;b[h+4>>1]=(d[i+22>>0]|0)+1;b[h+6>>1]=(d[i+23>>0]|0)+1;h=g+(r<<6)+(l<<1)|0;b[h>>1]=(d[i+24>>0]|0)+1;b[h+2>>1]=(d[i+25>>0]|0)+1;b[h+4>>1]=(d[i+26>>0]|0)+1;b[h+6>>1]=(d[i+27>>0]|0)+1;g=g+(k<<6)+(l<<1)|0;b[g>>1]=(d[i+28>>0]|0)+1;b[g+2>>1]=(d[i+29>>0]|0)+1;b[g+4>>1]=(d[i+30>>0]|0)+1;b[g+6>>1]=(d[i+31>>0]|0)+1;j=j+1|0;if((j|0)==4)break;else i=i+32|0}yb=N;return}function Wv(a,d){a=a|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;t=c[(c[a+484>>2]|0)+24>>2]|0;h=c[d>>2]|0;j=d+4|0;l=c[j>>2]|0;o=d+8|0;n=c[o>>2]|0;p=d+12|0;m=c[p>>2]|0;q=d+16|0;k=c[q>>2]|0;r=d+20|0;s=c[r>>2]|0;a:do if((l|0)<=(h|0)|(n|0)>(m|0)|(k|0)>(s|0))i=h;else{i=h;b:while(1){g=c[t+(i<<2)>>2]|0;e=n;while(1){a=g+(e<<6)+(k<<1)|0;f=k;while(1){if(b[a>>1]|0)break b;if((f|0)<(s|0)){a=a+2|0;f=f+1|0}else break}if((e|0)<(m|0))e=e+1|0;else break}if((i|0)<(l|0))i=i+1|0;else{i=h;break a}}c[d>>2]=i}while(0);c:do if(!((l|0)<=(i|0)|(n|0)>(m|0)|(k|0)>(s|0))){e=l;d:while(1){h=c[t+(e<<2)>>2]|0;f=n;while(1){a=h+(f<<6)+(k<<1)|0;g=k;while(1){if(b[a>>1]|0)break d;if((g|0)<(s|0)){a=a+2|0;g=g+1|0}else break}if((f|0)<(m|0))f=f+1|0;else break}if((e|0)>(i|0))e=e+-1|0;else break c}c[j>>2]=e;l=e}while(0);e:do if(!((m|0)<=(n|0)|(l|0)<(i|0)|(k|0)>(s|0))){f=n;f:while(1){e=i;while(1){a=(c[t+(e<<2)>>2]|0)+(f<<6)+(k<<1)|0;g=k;while(1){if(b[a>>1]|0)break f;if((g|0)<(s|0)){a=a+2|0;g=g+1|0}else break}if((e|0)<(l|0))e=e+1|0;else break}if((f|0)<(m|0))f=f+1|0;else break e}c[o>>2]=f;n=f}while(0);g:do if(!((m|0)<=(n|0)|(l|0)<(i|0)|(k|0)>(s|0))){f=m;h:while(1){e=i;while(1){a=(c[t+(e<<2)>>2]|0)+(f<<6)+(k<<1)|0;g=k;while(1){if(b[a>>1]|0)break h;if((g|0)<(s|0)){a=a+2|0;g=g+1|0}else break}if((e|0)<(l|0))e=e+1|0;else break}if((f|0)>(n|0))f=f+-1|0;else break g}c[p>>2]=f;m=f}while(0);i:do if(!((s|0)<=(k|0)|(l|0)<(i|0)|(m|0)<(n|0))){f=k;j:while(1){a=i;while(1){e=n;g=(c[t+(a<<2)>>2]|0)+(n<<6)+(f<<1)|0;while(1){if(b[g>>1]|0)break j;if((e|0)<(m|0)){e=e+1|0;g=g+64|0}else break}if((a|0)<(l|0))a=a+1|0;else break}if((f|0)<(s|0))f=f+1|0;else break i}c[q>>2]=f;k=f}while(0);k:do if((s|0)<=(k|0)|(l|0)<(i|0)|(m|0)<(n|0))f=s;else{f=s;l:while(1){a=i;while(1){e=n;g=(c[t+(a<<2)>>2]|0)+(n<<6)+(f<<1)|0;while(1){if(b[g>>1]|0)break l;if((e|0)<(m|0)){e=e+1|0;g=g+64|0}else break}if((a|0)<(l|0))a=a+1|0;else break}if((f|0)>(k|0))f=f+-1|0;else{f=s;break k}}c[r>>2]=f}while(0);r=l-i<<4;q=(m-n|0)*12|0;s=f-k<<3;c[d+24>>2]=(B(q,q)|0)+(B(r,r)|0)+(B(s,s)|0);if((l|0)<(i|0)|(m|0)<(n|0)|(f|0)<(k|0)){t=0;d=d+28|0;c[d>>2]=t;return}a=0;while(1){j=c[t+(i<<2)>>2]|0;h=n;while(1){e=k;g=j+(h<<6)+(k<<1)|0;while(1){a=a+((b[g>>1]|0)!=0&1)|0;if((e|0)>=(f|0))break;else{e=e+1|0;g=g+2|0}}if((h|0)<(m|0))h=h+1|0;else break}if((i|0)<(l|0))i=i+1|0;else break}d=d+28|0;c[d>>2]=a;return}function Xv(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;b=a+484|0;j=c[b>>2]|0;c[a+136>>2]=c[j+16>>2];c[a+132>>2]=c[j+20>>2];switch(c[a+88>>2]|0){case 0:{b=j+4|0;if((c[a+120>>2]|0)==3){c[b>>2]=22;return}else{c[b>>2]=23;return}}case 1:{l=a+120|0;c[j+4>>2]=(c[l>>2]|0)==3?24:25;c[j+48>>2]=0;if(!(c[j+28>>2]|0))_v(a);if(c[j+52>>2]|0)return;j=c[b>>2]|0;b=c[l>>2]|0;if((b|0)<=0)return;k=a+4|0;i=0;do{f=c[j+32+(i<<2)>>2]|0;a:do if(i){e=0;while(1){if((f|0)==(c[j+32+(e<<2)>>2]|0))break;e=e+1|0;if(e>>>0>=i>>>0){m=15;break a}}e=c[j+52+(e<<2)>>2]|0;if(!e)m=15}else m=15;while(0);if((m|0)==15){m=0;e=Hb[c[c[k>>2]>>2]&63](a,1,1024)|0;h=(f<<9)+-512|0;g=0;do{f=0;do{n=255-((d[5440+(g<<4)+f>>0]|0)<<1)|0;b=n*255|0;if((n|0)<0)b=0-((0-b|0)/(h|0)|0)|0;else b=(b|0)/(h|0)|0;c[e+(g<<6)+(f<<2)>>2]=b;f=f+1|0}while((f|0)!=16);g=g+1|0}while((g|0)!=16);b=c[l>>2]|0}c[j+52+(i<<2)>>2]=e;i=i+1|0}while((i|0)<(b|0));return}case 2:{c[j+4>>2]=26;c[j+84>>2]=0;if(!(c[j+68>>2]|0)){b=a+112|0;g=(c[b>>2]<<1)+4|0;h=a+120|0;if((c[h>>2]|0)<=0)return;i=a+4|0;e=0;do{c[j+68+(e<<2)>>2]=Hb[c[(c[i>>2]|0)+4>>2]&63](a,1,g)|0;e=e+1|0;f=c[h>>2]|0}while((e|0)<(f|0))}else{f=a+120|0;h=f;b=a+112|0;f=c[f>>2]|0}e=(c[b>>2]<<1)+4|0;if((f|0)<=0)return;b=0;do{_O(c[j+68+(b<<2)>>2]|0,0,e|0)|0;b=b+1|0}while((b|0)<(c[h>>2]|0));return}default:{n=c[a>>2]|0;c[n+20>>2]=49;Qb[c[n>>2]&255](a);return}}}function Yv(a){a=a|0;return}function Zv(a){a=a|0;var b=0;b=c[a>>2]|0;c[b+20>>2]=47;Qb[c[b>>2]&255](a);return}function _v(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;m=c[b+484>>2]|0;d=(c[b+88>>2]|0)==1;c[m+28>>2]=d&1;l=b+120|0;e=Ib[c[(c[b+4>>2]|0)+8>>2]&15](b,1,d?766:256,c[l>>2]|0)|0;k=m+24|0;c[k>>2]=e;b=c[m+20>>2]|0;if((c[l>>2]|0)<=0)return;if(!d){d=0;while(1){f=c[m+32+(d<<2)>>2]|0;b=(b|0)/(f|0)|0;h=c[e+(d<<2)>>2]|0;i=f+-1|0;j=i<<1;e=0;f=(f+254|0)/(j|0)|0;g=0;do{if((g|0)>(f|0))do{e=e+1|0;f=(((e<<1|1)*255|0)+i|0)/(j|0)|0}while((g|0)>(f|0));a[h+g>>0]=B(e,b)|0;g=g+1|0}while((g|0)!=256);d=d+1|0;if((d|0)>=(c[l>>2]|0))break;e=c[k>>2]|0}return}d=0;while(1){f=c[m+32+(d<<2)>>2]|0;b=(b|0)/(f|0)|0;j=e+(d<<2)|0;c[j>>2]=(c[j>>2]|0)+255;j=c[(c[k>>2]|0)+(d<<2)>>2]|0;h=f+-1|0;i=h<<1;e=0;f=(f+254|0)/(i|0)|0;g=0;do{if((g|0)>(f|0))do{e=e+1|0;f=(((e<<1|1)*255|0)+h|0)/(i|0)|0}while((g|0)>(f|0));a[j+g>>0]=B(e,b)|0;g=g+1|0}while((g|0)!=256);f=j+255|0;e=1;do{a[j+(0-e)>>0]=a[j>>0]|0;a[j+(e+255)>>0]=a[f>>0]|0;e=e+1|0}while((e|0)!=256);d=d+1|0;if((d|0)>=(c[l>>2]|0))break;e=c[k>>2]|0}return}function $v(b,e,f,g){b=b|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0;m=c[(c[b+484>>2]|0)+24>>2]|0;n=c[m>>2]|0;l=c[m+4>>2]|0;m=c[m+8>>2]|0;k=c[b+112>>2]|0;if((g|0)<1|(k|0)==0)return;h=0;do{b=k;i=c[f+(h<<2)>>2]|0;j=c[e+(h<<2)>>2]|0;while(1){a[i>>0]=(d[l+(d[j+1>>0]|0)>>0]|0)+(d[n+(d[j>>0]|0)>>0]|0)+(d[m+(d[j+2>>0]|0)>>0]|0);b=b+-1|0;if(!b)break;else{i=i+1|0;j=j+3|0}}h=h+1|0}while((h|0)!=(g|0));return}function aw(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;o=c[(c[b+484>>2]|0)+24>>2]|0;p=c[b+112>>2]|0;n=c[b+120>>2]|0;if((g|0)<1|(p|0)==0)return;if((n|0)<=0){b=0;do{_O(c[f+(b<<2)>>2]|0,0,p|0)|0;b=b+1|0}while((b|0)!=(g|0));return}i=0;do{h=p;j=c[f+(i<<2)>>2]|0;k=c[e+(i<<2)>>2]|0;while(1){b=0;l=0;m=k;while(1){l=l+(d[(c[o+(b<<2)>>2]|0)+(d[m>>0]|0)>>0]|0)|0;b=b+1|0;if((b|0)==(n|0))break;else m=m+1|0}a[j>>0]=l;h=h+-1|0;if(!h)break;else{j=j+1|0;k=k+n|0}}i=i+1|0}while((i|0)!=(g|0));return}function bw(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;h=c[b+484>>2]|0;u=c[h+24>>2]|0;v=c[u>>2]|0;t=c[u+4>>2]|0;u=c[u+8>>2]|0;q=c[b+112>>2]|0;if((g|0)<=0)return;w=h+48|0;r=h+52|0;s=h+56|0;p=h+60|0;b=c[w>>2]|0;if(!q){h=0;do{b=b+1&15;h=h+1|0}while((h|0)!=(g|0));c[w>>2]=b;return}o=0;do{l=c[r>>2]|0;m=c[s>>2]|0;n=c[p>>2]|0;h=q;i=0;j=c[f+(o<<2)>>2]|0;k=c[e+(o<<2)>>2]|0;while(1){a[j>>0]=(d[t+((c[m+(b<<6)+(i<<2)>>2]|0)+(d[k+1>>0]|0))>>0]|0)+(d[v+((c[l+(b<<6)+(i<<2)>>2]|0)+(d[k>>0]|0))>>0]|0)+(d[u+((c[n+(b<<6)+(i<<2)>>2]|0)+(d[k+2>>0]|0))>>0]|0);h=h+-1|0;if(!h)break;else{i=i+1&15;j=j+1|0;k=k+3|0}}b=b+1&15;c[w>>2]=b;o=o+1|0}while((o|0)!=(g|0));return}function cw(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;u=c[b+484>>2]|0;v=c[b+120>>2]|0;w=c[b+112>>2]|0;if((g|0)<=0)return;t=u+48|0;m=u+24|0;n=(w|0)==0;if((v|0)<=0){b=0;do{_O(c[f+(b<<2)>>2]|0,0,w|0)|0;c[t>>2]=(c[t>>2]|0)+1&15;b=b+1|0}while((b|0)!=(g|0));return}h=0;do{o=f+(h<<2)|0;_O(c[o>>2]|0,0,w|0)|0;p=c[t>>2]|0;q=e+(h<<2)|0;if(!n){i=0;do{r=c[(c[m>>2]|0)+(i<<2)>>2]|0;s=c[u+52+(i<<2)>>2]|0;b=w;j=c[o>>2]|0;k=0;l=(c[q>>2]|0)+i|0;while(1){a[j>>0]=(d[j>>0]|0)+(d[r+((c[s+(p<<6)+(k<<2)>>2]|0)+(d[l>>0]|0))>>0]|0);b=b+-1|0;if(!b)break;else{j=j+1|0;k=k+1&15;l=l+v|0}}i=i+1|0}while((i|0)!=(v|0))}c[t>>2]=p+1&15;h=h+1|0}while((h|0)!=(g|0));return}function dw(e,f,g,h){e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0;J=c[e+484>>2]|0;K=c[e+120>>2]|0;L=c[e+112>>2]|0;y=c[e+336>>2]|0;if((h|0)<=0)return;z=(K|0)>0;A=J+84|0;C=J+24|0;D=J+16|0;E=(L|0)==0;F=L+-1|0;G=B(F,K)|0;H=0-K|0;I=L+1|0;x=0;do{v=g+(x<<2)|0;_O(c[v>>2]|0,0,L|0)|0;a:do if(z){w=f+(x<<2)|0;if(E){i=(c[A>>2]|0)==0;e=0;while(1){w=c[J+68+(e<<2)>>2]|0;b[(i?w:w+(I<<1)|0)>>1]=0;e=e+1|0;if((e|0)==(K|0))break a}}r=0;do{e=(c[w>>2]|0)+r|0;i=c[v>>2]|0;if(!(c[A>>2]|0)){s=K;t=1;u=c[J+68+(r<<2)>>2]|0}else{s=H;t=-1;u=(c[J+68+(r<<2)>>2]|0)+(I<<1)|0;e=e+G|0;i=i+F|0}o=c[(c[C>>2]|0)+(r<<2)>>2]|0;p=c[(c[D>>2]|0)+(r<<2)>>2]|0;q=B(L,t)|0;l=0;m=L;n=0;j=0;k=u;while(1){M=k;k=k+(t<<1)|0;N=d[y+((j+8+(b[k>>1]|0)>>4)+(d[e>>0]|0))>>0]|0;j=d[o+N>>0]|0;a[i>>0]=(d[i>>0]|0)+j;j=N-(d[p+j>>0]|0)|0;b[M>>1]=(j*3|0)+n;n=(j*5|0)+l|0;m=m+-1|0;if(!m)break;else{l=j;j=j*7|0;e=e+s|0;i=i+t|0}}b[u+(q<<1)>>1]=n;r=r+1|0}while((r|0)!=(K|0))}while(0);c[A>>2]=(c[A>>2]|0)==0&1;x=x+1|0}while((x|0)!=(h|0));return}function ew(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;g=a+428|0;d=c[g>>2]|0;e=B(d,c[a+48>>2]|0)|0;f=c[a+52>>2]|0;do if(e>>>0>f>>>0){if(e>>>0<=f<<1>>>0){c[a+112>>2]=fw(c[a+28>>2]<<1,d)|0;f=2;b=c[a+32>>2]<<1;break}if(e>>>0<=(f*3|0)>>>0){c[a+112>>2]=fw((c[a+28>>2]|0)*3|0,d)|0;f=3;b=(c[a+32>>2]|0)*3|0;break}if(e>>>0<=f<<2>>>0){c[a+112>>2]=fw(c[a+28>>2]<<2,d)|0;f=4;b=c[a+32>>2]<<2;break}if(e>>>0<=(f*5|0)>>>0){c[a+112>>2]=fw((c[a+28>>2]|0)*5|0,d)|0;f=5;b=(c[a+32>>2]|0)*5|0;break}if(e>>>0<=(f*6|0)>>>0){c[a+112>>2]=fw((c[a+28>>2]|0)*6|0,d)|0;f=6;b=(c[a+32>>2]|0)*6|0;break}if(e>>>0<=(f*7|0)>>>0){c[a+112>>2]=fw((c[a+28>>2]|0)*7|0,d)|0;f=7;b=(c[a+32>>2]|0)*7|0;break}if(e>>>0<=f<<3>>>0){c[a+112>>2]=fw(c[a+28>>2]<<3,d)|0;f=8;b=c[a+32>>2]<<3;break}if(e>>>0<=(f*9|0)>>>0){c[a+112>>2]=fw((c[a+28>>2]|0)*9|0,d)|0;f=9;b=(c[a+32>>2]|0)*9|0;break}if(e>>>0<=(f*10|0)>>>0){c[a+112>>2]=fw((c[a+28>>2]|0)*10|0,d)|0;f=10;b=(c[a+32>>2]|0)*10|0;break}if(e>>>0<=(f*11|0)>>>0){c[a+112>>2]=fw((c[a+28>>2]|0)*11|0,d)|0;f=11;b=(c[a+32>>2]|0)*11|0;break}if(e>>>0<=(f*12|0)>>>0){c[a+112>>2]=fw((c[a+28>>2]|0)*12|0,d)|0;f=12;b=(c[a+32>>2]|0)*12|0;break}if(e>>>0<=(f*13|0)>>>0){c[a+112>>2]=fw((c[a+28>>2]|0)*13|0,d)|0;f=13;b=(c[a+32>>2]|0)*13|0;break}if(e>>>0<=(f*14|0)>>>0){c[a+112>>2]=fw((c[a+28>>2]|0)*14|0,d)|0;f=14;b=(c[a+32>>2]|0)*14|0;break}b=c[a+28>>2]|0;if(e>>>0>(f*15|0)>>>0){c[a+112>>2]=fw(b<<4,d)|0;f=16;b=c[a+32>>2]<<4;break}else{c[a+112>>2]=fw(b*15|0,d)|0;f=15;b=(c[a+32>>2]|0)*15|0;break}}else{c[a+112>>2]=fw(c[a+28>>2]|0,d)|0;f=1;b=c[a+32>>2]|0}while(0);c[a+116>>2]=fw(b,c[g>>2]|0)|0;c[a+324>>2]=f;c[a+328>>2]=f;e=c[a+36>>2]|0;if((e|0)<=0)return;d=0;b=c[a+216>>2]|0;while(1){c[b+36>>2]=f;c[b+40>>2]=f;d=d+1|0;if((d|0)>=(e|0))break;else b=b+88|0}return}function fw(a,b){a=a|0;b=b|0;return (a+-1+b|0)/(b|0)|0|0}function gw(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;j=yb;yb=yb+16|0;i=j;e=c[a+20>>2]|0;if((e|0)!=205){h=c[a>>2]|0;c[h+20>>2]=21;c[h+24>>2]=e;Qb[c[c[a>>2]>>2]&255](a)}e=a+140|0;f=c[e>>2]|0;g=c[a+116>>2]|0;if(f>>>0>=g>>>0){i=c[a>>2]|0;c[i+20>>2]=126;Sb[c[i+4>>2]&63](a,-1);i=0;yb=j;return i|0}h=c[a+8>>2]|0;if(h|0){c[h+4>>2]=f;c[h+8>>2]=g;Qb[c[h>>2]&255](a)}c[i>>2]=0;Vb[c[(c[a+448>>2]|0)+4>>2]&31](a,b,i,d);i=c[i>>2]|0;c[e>>2]=(c[e>>2]|0)+i;yb=j;return i|0}function hw(a){a=a|0;a=Hb[c[c[a+4>>2]>>2]&63](a,0,280)|0;c[a+276>>2]=0;return a|0}function iw(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;e=a+24|0;d=c[e>>2]|0;if(!d){f=a+4|0;d=Hb[c[c[f>>2]>>2]&63](a,0,40)|0;c[e>>2]=d;c[d+32>>2]=Hb[c[c[f>>2]>>2]&63](a,0,4096)|0;d=c[e>>2]|0}c[d+8>>2]=132;c[d+12>>2]=85;c[d+16>>2]=51;c[d+20>>2]=47;c[d+24>>2]=133;c[d+28>>2]=b;c[d+4>>2]=0;c[d>>2]=0;return}function jw(a){a=a|0;c[(c[a+24>>2]|0)+36>>2]=1;return}function kw(b){b=b|0;var d=0,e=0,f=0,g=0;e=c[b+24>>2]|0;f=e+32|0;d=eA(c[f>>2]|0,1,4096,c[e+28>>2]|0)|0;g=e+36|0;if(d|0){b=d;f=c[f>>2]|0;c[e>>2]=f;f=e+4|0;c[f>>2]=b;c[g>>2]=0;return 1}if(!(c[g>>2]|0))d=b;else{d=c[b>>2]|0;c[d+20>>2]=43;Qb[c[d>>2]&255](b);d=b}b=c[b>>2]|0;c[b+20>>2]=123;Sb[c[b+4>>2]&63](d,-1);a[c[f>>2]>>0]=-1;a[(c[f>>2]|0)+1>>0]=-39;b=2;f=c[f>>2]|0;c[e>>2]=f;f=e+4|0;c[f>>2]=b;c[g>>2]=0;return 1}function lw(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;f=c[a+24>>2]|0;if((b|0)<=0)return;g=f+4|0;d=c[g>>2]|0;if((d|0)<(b|0)){e=f+12|0;do{b=b-d|0;Eb[c[e>>2]&127](a)|0;d=c[g>>2]|0}while((b|0)>(d|0))}c[f>>2]=(c[f>>2]|0)+b;c[g>>2]=d-b;return}function mw(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;k=a+440|0;g=c[k>>2]|0;h=c[a>>2]|0;c[h+20>>2]=124;c[h+24>>2]=g;c[(c[a>>2]|0)+28>>2]=b;Sb[c[(c[a>>2]|0)+4>>2]&63](a,-1);h=b+1&7|208;i=b+2&7|208;j=b+7&7|208;d=b+6&7|208;b=g;a:while(1){e=(b|0)<192;f=(b&-8|0)!=208|(b|0)==(h|0)|(b|0)==(i|0);g=(b|0)==(j|0)|(b|0)==(d|0)?2:1;b:while(1){l=e?2:f?3:g;m=c[a>>2]|0;c[m+20>>2]=99;c[m+24>>2]=b;c[(c[a>>2]|0)+28>>2]=l;Sb[c[(c[a>>2]|0)+4>>2]&63](a,4);switch(l&3){case 1:{d=4;break a}case 3:{b=1;d=7;break a}case 2:break b;default:{}}}if(!(ow(a)|0)){b=0;d=7;break}b=c[k>>2]|0}if((d|0)==4){c[k>>2]=0;m=1;return m|0}else if((d|0)==7)return b|0;return 0}function nw(a){a=a|0;return}function ow(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;j=c[b+24>>2]|0;k=j+4|0;i=j+12|0;l=b+464|0;d=c[k>>2]|0;e=c[j>>2]|0;a:while(1){if(!d){if(!(Eb[c[i>>2]&127](b)|0)){d=0;f=21;break}d=c[k>>2]|0;e=c[j>>2]|0}d=d+-1|0;f=e+1|0;if((a[e>>0]|0)==-1)e=f;else{e=f;do{h=(c[l>>2]|0)+24|0;c[h>>2]=(c[h>>2]|0)+1;c[j>>2]=e;c[k>>2]=d;if(!d){if(!(Eb[c[i>>2]&127](b)|0)){d=0;f=21;break a}d=c[k>>2]|0;f=c[j>>2]|0}else f=e;d=d+-1|0;e=f+1|0}while((a[f>>0]|0)!=-1)}do{if(!d){if(!(Eb[c[i>>2]&127](b)|0)){d=0;f=21;break a}d=c[k>>2]|0;f=c[j>>2]|0}else f=e;d=d+-1|0;e=f+1|0;g=a[f>>0]|0}while(g<<24>>24==-1);f=(c[l>>2]|0)+24|0;h=c[f>>2]|0;if(g<<24>>24){f=18;break}c[f>>2]=h+2;c[j>>2]=e;c[k>>2]=d}if((f|0)==18){f=g&255;if(h|0){i=c[b>>2]|0;c[i+20>>2]=119;c[i+24>>2]=h;c[(c[b>>2]|0)+28>>2]=f;Sb[c[(c[b>>2]|0)+4>>2]&63](b,-1);c[(c[l>>2]|0)+24>>2]=0}c[b+440>>2]=f;c[j>>2]=e;c[k>>2]=d;l=1;return l|0}else if((f|0)==21)return d|0;return 0}function pw(a){a=a|0;var b=0,d=0;d=Hb[c[c[a+4>>2]>>2]&63](a,0,172)|0;b=a+464|0;c[b>>2]=d;c[d>>2]=134;c[d+4>>2]=86;c[d+8>>2]=87;c[d+28>>2]=88;c[d+96>>2]=0;c[d+100>>2]=0;c[d+36>>2]=88;c[d+104>>2]=0;c[d+40>>2]=88;c[d+108>>2]=0;c[d+44>>2]=88;c[d+112>>2]=0;c[d+48>>2]=88;c[d+116>>2]=0;c[d+52>>2]=88;c[d+120>>2]=0;c[d+56>>2]=88;c[d+124>>2]=0;c[d+60>>2]=88;c[d+128>>2]=0;c[d+64>>2]=88;c[d+132>>2]=0;c[d+68>>2]=88;c[d+136>>2]=0;c[d+72>>2]=88;c[d+140>>2]=0;c[d+76>>2]=88;c[d+144>>2]=0;c[d+80>>2]=88;c[d+148>>2]=0;c[d+84>>2]=88;c[d+152>>2]=0;c[d+156>>2]=0;c[d+92>>2]=88;c[d+160>>2]=0;c[d+32>>2]=89;c[d+88>>2]=89;b=c[b>>2]|0;c[a+216>>2]=0;c[a+144>>2]=0;c[a+440>>2]=0;c[b+12>>2]=0;c[b+16>>2]=0;c[b+24>>2]=0;c[b+164>>2]=0;return}function qw(a){a=a|0;var b=0;b=c[a+464>>2]|0;c[a+216>>2]=0;c[a+144>>2]=0;c[a+440>>2]=0;c[b+12>>2]=0;c[b+16>>2]=0;c[b+24>>2]=0;c[b+164>>2]=0;return} -function lL(b,d,e,f,g,h,i,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0;p=yb;yb=yb+16|0;o=p;k=e;while(1){if((k|0)==(f|0)){k=f;break}if(!(a[k>>0]|0))break;k=k+1|0}c[j>>2]=h;c[g>>2]=e;m=i;n=b+8|0;while(1){if((h|0)==(i|0)|(e|0)==(f|0)){b=33;break}q=d;l=c[q+4>>2]|0;b=o;c[b>>2]=c[q>>2];c[b+4>>2]=l;b=cz(c[n>>2]|0)|0;l=Pz(h,g,k-e|0,m-h>>2,d)|0;if(b|0)cz(b)|0;if((l|0)==-1){b=10;break}h=(c[j>>2]|0)+(l<<2)|0;c[j>>2]=h;if((h|0)==(i|0)){b=30;break}e=c[g>>2]|0;if((k|0)==(f|0))k=f;else{k=cz(c[n>>2]|0)|0;e=Vy(h,e,1,d)|0;if(k|0)cz(k)|0;if(e|0){e=2;b=29;break}c[j>>2]=(c[j>>2]|0)+4;e=(c[g>>2]|0)+1|0;c[g>>2]=e;k=e;while(1){if((k|0)==(f|0)){k=f;break}if(!(a[k>>0]|0))break;k=k+1|0}h=c[j>>2]|0}}do if((b|0)==10){a:while(1){c[j>>2]=h;if((e|0)==(c[g>>2]|0)){b=19;break}b=cz(c[n>>2]|0)|0;h=Vy(h,e,k-e|0,o)|0;if(b|0)cz(b)|0;switch(h|0){case -1:{b=15;break a}case -2:{b=16;break a}case 0:{h=1;break}default:{}}e=e+h|0;h=(c[j>>2]|0)+4|0}if((b|0)==15){c[g>>2]=e;e=2;b=29;break}else if((b|0)==16){c[g>>2]=e;e=1;b=29;break}else if((b|0)==19){c[g>>2]=e;e=(e|0)!=(f|0)&1;b=29;break}}else if((b|0)==30){e=c[g>>2]|0;b=33}while(0);if((b|0)!=29)if((b|0)==33)e=(e|0)!=(f|0)&1;yb=p;return e|0}function mL(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0;i=yb;yb=yb+16|0;h=i;c[g>>2]=e;e=cz(c[b+8>>2]|0)|0;b=Yx(h,0,d)|0;if(e|0)cz(e)|0;a:do if((b+1|0)>>>0>=2){b=b+-1|0;if(b>>>0>(f-(c[g>>2]|0)|0)>>>0)b=1;else while(1){if(!b){b=0;break a}d=a[h>>0]|0;f=c[g>>2]|0;c[g>>2]=f+1;a[f>>0]=d;h=h+1|0;b=b+-1|0}}else b=2;while(0);yb=i;return b|0}function nL(a){a=a|0;var b=0,d=0;a=a+8|0;b=cz(c[a>>2]|0)|0;d=nz(0,0,4)|0;if(b|0)cz(b)|0;if(!d){a=c[a>>2]|0;if(!a)a=1;else{b=cz(a)|0;a=fy()|0;if(b|0)cz(b)|0;return (a|0)==1|0}}else a=-1;return a|0}function oL(a){a=a|0;return 0}function pL(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0;k=e;j=a+8|0;h=0;i=0;a:while(1){if((d|0)==(e|0)|h>>>0>=f>>>0)break;g=cz(c[j>>2]|0)|0;a=Oz(d,k-d|0,b)|0;if(g|0)cz(g)|0;switch(a|0){case -2:case -1:break a;case 0:{a=1;break}default:{}}h=h+1|0;i=a+i|0;d=d+a|0}return i|0}function qL(a){a=a|0;var b=0;a=c[a+8>>2]|0;if(a){b=cz(a)|0;a=fy()|0;if(b)cz(b)|0}else a=1;return a|0}function rL(a){a=a|0;var b=0,d=0;c[a>>2]=19168;b=a+8|0;d=c[b>>2]|0;if((d|0)!=(YF()|0))Ty(c[b>>2]|0);AF(a);return}function sL(a){a=a|0;rL(a);QA(a);return}function tL(a,b,d,e,f,g,h,i){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0;b=yb;yb=yb+16|0;j=b+4|0;a=b;c[j>>2]=d;c[a>>2]=g;h=CL(d,e,j,g,h,a,1114111,0)|0;c[f>>2]=c[j>>2];c[i>>2]=c[a>>2];yb=b;return h|0}function uL(a,b,d,e,f,g,h,i){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0;b=yb;yb=yb+16|0;j=b+4|0;a=b;c[j>>2]=d;c[a>>2]=g;h=BL(d,e,j,g,h,a,1114111,0)|0;c[f>>2]=c[j>>2];c[i>>2]=c[a>>2];yb=b;return h|0}function vL(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 wL(a){a=a|0;return 0}function xL(a){a=a|0;return 0}function yL(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return AL(c,d,e,1114111,0)|0}function zL(a){a=a|0;return 4}function AL(b,c,e,f,g){b=b|0;c=c|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;o=c;if((((g&4|0)!=0?(o-b|0)>2:0)?(a[b>>0]|0)==-17:0)?(a[b+1>>0]|0)==-69:0)g=(a[b+2>>0]|0)==-65?b+3|0:b;else g=b;h=0;a:while(1){if(!(h>>>0>>0&g>>>0>>0))break;l=a[g>>0]|0;n=l&255;if(n>>>0>f>>>0)break;do if(l<<24>>24<=-1){if((l&255)<194)break a;if((l&255)<224){if((o-g|0)<2)break a;i=d[g+1>>0]|0;if((i&192|0)!=128)break a;if((i&63|n<<6&1984)>>>0>f>>>0)break a;else{g=g+2|0;break}}if((l&255)<240){if((o-g|0)<3)break a;j=a[g+1>>0]|0;i=a[g+2>>0]|0;switch(l<<24>>24){case -32:{if((j&-32)<<24>>24!=-96)break a;break}case -19:{if((j&-32)<<24>>24!=-128)break a;break}default:if((j&-64)<<24>>24!=-128)break a}i=i&255;if((i&192|0)!=128)break a;if(((j&63)<<6|n<<12&61440|i&63)>>>0>f>>>0)break a;else{g=g+3|0;break}}if((l&255)>=245)break a;if((e-h|0)>>>0<2|(o-g|0)<4)break a;m=a[g+1>>0]|0;i=a[g+2>>0]|0;k=a[g+3>>0]|0;switch(l<<24>>24){case -16:{if((m+112&255)>=48)break a;break}case -12:{if((m&-16)<<24>>24!=-128)break a;break}default:if((m&-64)<<24>>24!=-128)break a}j=i&255;if((j&192|0)!=128)break a;i=k&255;if((i&192|0)!=128)break a;if(((m&63)<<12|n<<18&1835008|j<<6&4032|i&63)>>>0>f>>>0)break a;else{h=h+1|0;g=g+4|0}}else g=g+1|0;while(0);h=h+1|0}return g-b|0}function BL(e,f,g,h,i,j,k,l){e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;var m=0,n=0,o=0,p=0,q=0,r=0,s=0;c[g>>2]=e;c[j>>2]=h;if(l&4){e=c[g>>2]|0;h=f;if((((h-e|0)>2?(a[e>>0]|0)==-17:0)?(a[e+1>>0]|0)==-69:0)?(a[e+2>>0]|0)==-65:0)c[g>>2]=e+3}else h=f;s=i;a:while(1){n=c[g>>2]|0;if(n>>>0>=f>>>0){e=0;break}r=c[j>>2]|0;if(r>>>0>=i>>>0){e=1;break}m=a[n>>0]|0;q=m&255;if(q>>>0>k>>>0){e=2;break}do if(m<<24>>24>-1){b[r>>1]=m&255;e=n+1|0}else{if((m&255)<194){e=2;break a}if((m&255)<224){if((h-n|0)<2){e=1;break a}e=d[n+1>>0]|0;if((e&192|0)!=128){e=2;break a}e=e&63|q<<6&1984;if(e>>>0>k>>>0){e=2;break a}b[r>>1]=e;e=n+2|0;break}if((m&255)<240){if((h-n|0)<3){e=1;break a}l=a[n+1>>0]|0;e=a[n+2>>0]|0;switch(m<<24>>24){case -32:{if((l&-32)<<24>>24!=-96){e=2;break a}break}case -19:{if((l&-32)<<24>>24!=-128){e=2;break a}break}default:if((l&-64)<<24>>24!=-128){e=2;break a}}e=e&255;if((e&192|0)!=128){e=2;break a}e=(l&63)<<6|q<<12|e&63;if((e&65535)>>>0>k>>>0){e=2;break a}b[r>>1]=e;e=n+3|0;break}if((m&255)>=245){e=2;break a}if((h-n|0)<4){e=1;break a}o=a[n+1>>0]|0;e=a[n+2>>0]|0;l=a[n+3>>0]|0;switch(m<<24>>24){case -16:{if((o+112&255)>=48){e=2;break a}break}case -12:{if((o&-16)<<24>>24!=-128){e=2;break a}break}default:if((o&-64)<<24>>24!=-128){e=2;break a}}p=e&255;if((p&192|0)!=128){e=2;break a}e=l&255;if((e&192|0)!=128){e=2;break a}if((s-r|0)<4){e=1;break a}n=q&7;l=o&255;m=p<<6;e=e&63;if((l<<12&258048|n<<18|m&4032|e)>>>0>k>>>0){e=2;break a}b[r>>1]=l<<2&60|p>>>4&3|((l>>>4&3|n<<2)<<6)+16320|55296;r=r+2|0;c[j>>2]=r;b[r>>1]=e|m&960|56320;e=(c[g>>2]|0)+4|0}while(0);c[g>>2]=e;c[j>>2]=(c[j>>2]|0)+2}return e|0}function CL(d,f,g,h,i,j,k,l){d=d|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;var m=0,n=0;c[g>>2]=d;c[j>>2]=h;if(l&2)if((i-h|0)<3)d=1;else{c[j>>2]=h+1;a[h>>0]=-17;m=c[j>>2]|0;c[j>>2]=m+1;a[m>>0]=-69;m=c[j>>2]|0;c[j>>2]=m+1;a[m>>0]=-65;m=4}else m=4;a:do if((m|0)==4){n=f;d=c[g>>2]|0;while(1){if(d>>>0>=f>>>0){d=0;break a}h=b[d>>1]|0;m=h&65535;if(m>>>0>k>>>0){d=2;break a}do if((h&65535)<128){d=c[j>>2]|0;if((i-d|0)<1){d=1;break a}c[j>>2]=d+1;a[d>>0]=h}else{if((h&65535)<2048){d=c[j>>2]|0;if((i-d|0)<2){d=1;break a}c[j>>2]=d+1;a[d>>0]=m>>>6|192;l=c[j>>2]|0;c[j>>2]=l+1;a[l>>0]=m&63|128;break}if((h&65535)<55296){d=c[j>>2]|0;if((i-d|0)<3){d=1;break a}c[j>>2]=d+1;a[d>>0]=m>>>12|224;l=c[j>>2]|0;c[j>>2]=l+1;a[l>>0]=m>>>6&63|128;l=c[j>>2]|0;c[j>>2]=l+1;a[l>>0]=m&63|128;break}if((h&65535)>=56320){if((h&65535)<57344){d=2;break a}d=c[j>>2]|0;if((i-d|0)<3){d=1;break a}c[j>>2]=d+1;a[d>>0]=m>>>12|224;l=c[j>>2]|0;c[j>>2]=l+1;a[l>>0]=m>>>6&63|128;l=c[j>>2]|0;c[j>>2]=l+1;a[l>>0]=m&63|128;break}if((n-d|0)<4){d=1;break a}d=d+2|0;h=e[d>>1]|0;if((h&64512|0)!=56320){d=2;break a}if((i-(c[j>>2]|0)|0)<4){d=1;break a}l=m&960;if(((l<<10)+65536|m<<10&64512|h&1023)>>>0>k>>>0){d=2;break a}c[g>>2]=d;d=(l>>>6)+1|0;l=c[j>>2]|0;c[j>>2]=l+1;a[l>>0]=d>>>2|240;l=c[j>>2]|0;c[j>>2]=l+1;a[l>>0]=m>>>2&15|d<<4&48|128;l=c[j>>2]|0;c[j>>2]=l+1;a[l>>0]=m<<4&48|h>>>6&15|128;m=c[j>>2]|0;c[j>>2]=m+1;a[m>>0]=h&63|128}while(0);d=(c[g>>2]|0)+2|0;c[g>>2]=d}}while(0);return d|0}function DL(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;c[a>>2]=19216;e=a+8|0;f=a+12|0;d=0;while(1){b=c[e>>2]|0;if(d>>>0>=(c[f>>2]|0)-b>>2>>>0)break;b=c[b+(d<<2)>>2]|0;if(b|0?(h=b+4|0,g=c[h>>2]|0,c[h>>2]=g+-1,(g|0)==0):0)Qb[c[(c[b>>2]|0)+8>>2]&255](b);d=d+1|0}hO(a+144|0);FL(e);AF(a);return}function EL(a){a=a|0;DL(a);QA(a);return}function FL(b){b=b|0;var d=0,e=0;d=c[b>>2]|0;e=d;do if(d|0){c[b+4>>2]=e;if((d|0)==(b+16|0)){a[b+128>>0]=0;break}else{Nf(d,(c[b+8>>2]|0)-e|0);break}}while(0);return}function GL(b){b=b|0;var d=0;c[b>>2]=19236;d=c[b+8>>2]|0;if(d|0?a[b+12>>0]|0:0)tB(d);AF(b);return}function HL(a){a=a|0;GL(a);QA(a);return}function IL(a,b){a=a|0;b=b|0;if(b<<24>>24>-1)b=c[(RL()|0)+((b&255)<<2)>>2]&255;return b|0}function JL(b,d,e){b=b|0;d=d|0;e=e|0;while(1){if((d|0)==(e|0))break;b=a[d>>0]|0;if(b<<24>>24>-1){b=RL()|0;b=c[b+(a[d>>0]<<2)>>2]&255}a[d>>0]=b;d=d+1|0}return e|0}function KL(a,b){a=a|0;b=b|0;if(b<<24>>24>-1)b=c[(QL()|0)+(b<<24>>24<<2)>>2]&255;return b|0}function LL(b,d,e){b=b|0;d=d|0;e=e|0;while(1){if((d|0)==(e|0))break;b=a[d>>0]|0;if(b<<24>>24>-1){b=QL()|0;b=c[b+(a[d>>0]<<2)>>2]&255}a[d>>0]=b;d=d+1|0}return e|0}function ML(a,b){a=a|0;b=b|0;return b|0}function NL(b,c,d,e){b=b|0;c=c|0;d=d|0;e=e|0;while(1){if((c|0)==(d|0))break;a[e>>0]=a[c>>0]|0;e=e+1|0;c=c+1|0}return d|0}function OL(a,b,c){a=a|0;b=b|0;c=c|0;return (b<<24>>24>-1?b:c)|0}function PL(b,c,d,e,f){b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;while(1){if((c|0)==(d|0))break;b=a[c>>0]|0;a[f>>0]=b<<24>>24>-1?b:e;f=f+1|0;c=c+1|0}return d|0}function QL(){return c[(hy()|0)>>2]|0}function RL(){return c[(iy()|0)>>2]|0}function SL(){return c[(ey()|0)>>2]|0}function TL(a){a=a|0;c[a>>2]=19288;hO(a+12|0);AF(a);return}function UL(a){a=a|0;TL(a);QA(a);return}function VL(b){b=b|0;return a[b+8>>0]|0}function WL(b){b=b|0;return a[b+9>>0]|0}function XL(a,b){a=a|0;b=b|0;dO(a,b+12|0);return}function YL(a,b){a=a|0;b=b|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;eO(a,51258,Wf(51258)|0);return}function ZL(a,b){a=a|0;b=b|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;eO(a,51252,Wf(51252)|0);return}function _L(a){a=a|0;c[a>>2]=19328;hO(a+16|0);AF(a);return}function $L(a){a=a|0;_L(a);QA(a);return}function aM(a){a=a|0;return c[a+8>>2]|0}function bM(a){a=a|0;return c[a+12>>2]|0}function cM(a,b){a=a|0;b=b|0;dO(a,b+16|0);return}function dM(a,b){a=a|0;b=b|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;rO(a,19384,HI(19384)|0);return}function eM(a,b){a=a|0;b=b|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;rO(a,19360,HI(19360)|0);return}function fM(a){a=a|0;AF(a);QA(a);return}function gM(a){a=a|0;AF(a);QA(a);return}function hM(a,c,d){a=a|0;c=c|0;d=d|0;if(d>>>0<128)a=(b[(SL()|0)+(d<<1)>>1]&c)<<16>>16!=0;else a=0;return a|0}function iM(a,d,f,g){a=a|0;d=d|0;f=f|0;g=g|0;while(1){if((d|0)==(f|0))break;if((c[d>>2]|0)>>>0<128){a=SL()|0;a=e[a+(c[d>>2]<<1)>>1]|0}else a=0;b[g>>1]=a;g=g+2|0;d=d+4|0}return f|0}function jM(a,d,e,f){a=a|0;d=d|0;e=e|0;f=f|0;while(1){if((e|0)==(f|0)){e=f;break}if((c[e>>2]|0)>>>0<128?(a=SL()|0,(b[a+(c[e>>2]<<1)>>1]&d)<<16>>16):0)break;e=e+4|0}return e|0}function kM(a,d,e,f){a=a|0;d=d|0;e=e|0;f=f|0;while(1){if((e|0)==(f|0)){e=f;break}if((c[e>>2]|0)>>>0>=128)break;a=SL()|0;if(!((b[a+(c[e>>2]<<1)>>1]&d)<<16>>16))break;e=e+4|0}return e|0}function lM(a,b){a=a|0;b=b|0;if(b>>>0<128)b=c[(RL()|0)+(b<<2)>>2]|0;return b|0}function mM(a,b,d){a=a|0;b=b|0;d=d|0;while(1){if((b|0)==(d|0))break;a=c[b>>2]|0;if(a>>>0<128){a=RL()|0;a=c[a+(c[b>>2]<<2)>>2]|0}c[b>>2]=a;b=b+4|0}return d|0}function nM(a,b){a=a|0;b=b|0;if(b>>>0<128)b=c[(QL()|0)+(b<<2)>>2]|0;return b|0}function oM(a,b,d){a=a|0;b=b|0;d=d|0;while(1){if((b|0)==(d|0))break;a=c[b>>2]|0;if(a>>>0<128){a=QL()|0;a=c[a+(c[b>>2]<<2)>>2]|0}c[b>>2]=a;b=b+4|0}return d|0}function pM(a,b){a=a|0;b=b|0;return b<<24>>24|0}function qM(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;while(1){if((d|0)==(e|0))break;c[f>>2]=a[d>>0];f=f+4|0;d=d+1|0}return e|0}function rM(a,b,c){a=a|0;b=b|0;c=c|0;return (b>>>0<128?b&255:c)|0}function sM(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0;h=(e-d|0)>>>2;b=g;g=d;while(1){if((g|0)==(e|0))break;i=c[g>>2]|0;a[b>>0]=i>>>0<128?i&255:f;b=b+1|0;g=g+4|0}return d+(h<<2)|0}function tM(a){a=a|0;AF(a);QA(a);return}function uM(a){a=a|0;AF(a);QA(a);return}function vM(a){a=a|0;AF(a);QA(a);return}function wM(a){a=a|0;c[a>>2]=19644;return}function xM(a){a=a|0;c[a>>2]=19680;return}function yM(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]=19236;f=b+8|0;c[f>>2]=d;a[b+12>>0]=e&1;if(!d)c[f>>2]=SL()|0;return}function zM(a,b){a=a|0;b=b|0;var d=0;c[a+4>>2]=b+-1;c[a>>2]=19216;b=a+8|0;AM(b,28);d=a+144|0;c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;eO(d,49197,Wf(49197)|0);c[a+12>>2]=c[b>>2];BM();CM(a,54968);DM();EM(a,54976);FM();GM(a,54984);HM();IM(a,55e3);JM();KM(a,55008);LM();MM(a,55016);NM();OM(a,55032);PM();QM(a,55040);RM();SM(a,55048);TM();UM(a,55072);VM();WM(a,55104);XM();YM(a,55112);ZM();_M(a,55120);$M();aN(a,55128);bN();cN(a,55136);dN();eN(a,55144);fN();gN(a,55152);hN();iN(a,55160);jN();kN(a,55168);lN();mN(a,55176);nN();oN(a,55184);pN();qN(a,55192);rN();sN(a,55200);tN();uN(a,55216);vN();wN(a,55232);xN();yN(a,55248);zN();AN(a,55264);BN();CN(a,55272);return}function AM(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){PN(b,d);GN(b,d)}return}function BM(){c[13743]=0;c[13742]=17072;return}function CM(a,b){a=a|0;b=b|0;DN(a,b,_F(56720)|0);return}function DM(){c[13745]=0;c[13744]=17104;return}function EM(a,b){a=a|0;b=b|0;DN(a,b,_F(56728)|0);return}function FM(){yM(54984,0,0,1);return}function GM(a,b){a=a|0;b=b|0;DN(a,b,_F(56736)|0);return}function HM(){c[13751]=0;c[13750]=19432;return}function IM(a,b){a=a|0;b=b|0;DN(a,b,_F(56768)|0);return}function JM(){c[13753]=0;c[13752]=19500;return}function KM(a,b){a=a|0;b=b|0;DN(a,b,_F(57040)|0);return}function LM(){ON(55016,1);return}function MM(a,b){a=a|0;b=b|0;DN(a,b,_F(57048)|0);return}function NM(){c[13759]=0;c[13758]=19548;return}function OM(a,b){a=a|0;b=b|0;DN(a,b,_F(57056)|0);return}function PM(){c[13761]=0;c[13760]=19596;return}function QM(a,b){a=a|0;b=b|0;DN(a,b,_F(57064)|0);return}function RM(){NN(55048,1);return}function SM(a,b){a=a|0;b=b|0;DN(a,b,_F(56752)|0);return}function TM(){MN(55072,1);return}function UM(a,b){a=a|0;b=b|0;DN(a,b,_F(56776)|0);return}function VM(){c[13777]=0;c[13776]=17136;return}function WM(a,b){a=a|0;b=b|0;DN(a,b,_F(56760)|0);return}function XM(){c[13779]=0;c[13778]=17200;return}function YM(a,b){a=a|0;b=b|0;DN(a,b,_F(56784)|0);return}function ZM(){c[13781]=0;c[13780]=17264;return}function _M(a,b){a=a|0;b=b|0;DN(a,b,_F(56792)|0);return}function $M(){c[13783]=0;c[13782]=17316;return}function aN(a,b){a=a|0;b=b|0;DN(a,b,_F(56800)|0);return}function bN(){c[13785]=0;c[13784]=18672;return}function cN(a,b){a=a|0;b=b|0;DN(a,b,_F(56960)|0);return}function dN(){c[13787]=0;c[13786]=18728;return}function eN(a,b){a=a|0;b=b|0;DN(a,b,_F(56968)|0);return}function fN(){c[13789]=0;c[13788]=18784;return}function gN(a,b){a=a|0;b=b|0;DN(a,b,_F(56976)|0);return}function hN(){c[13791]=0;c[13790]=18840;return}function iN(a,b){a=a|0;b=b|0;DN(a,b,_F(56984)|0);return}function jN(){c[13793]=0;c[13792]=18896;return}function kN(a,b){a=a|0;b=b|0;DN(a,b,_F(56992)|0);return}function lN(){c[13795]=0;c[13794]=18924;return}function mN(a,b){a=a|0;b=b|0;DN(a,b,_F(57e3)|0);return}function nN(){c[13797]=0;c[13796]=18952;return}function oN(a,b){a=a|0;b=b|0;DN(a,b,_F(57008)|0);return}function pN(){c[13799]=0;c[13798]=18980;return}function qN(a,b){a=a|0;b=b|0;DN(a,b,_F(57016)|0);return}function rN(){c[13801]=0;c[13800]=19412;wM(55208);c[13800]=17368;c[13802]=17416;return}function sN(a,b){a=a|0;b=b|0;DN(a,b,_F(56868)|0);return}function tN(){c[13805]=0;c[13804]=19412;xM(55224);c[13804]=17452;c[13806]=17500;return}function uN(a,b){a=a|0;b=b|0;DN(a,b,_F(56936)|0);return}function vN(){c[13809]=0;c[13808]=19412;c[13810]=YF()|0;c[13808]=18624;return}function wN(a,b){a=a|0;b=b|0;DN(a,b,_F(56944)|0);return}function xN(){c[13813]=0;c[13812]=19412;c[13814]=YF()|0;c[13812]=18648;return}function yN(a,b){a=a|0;b=b|0;DN(a,b,_F(56952)|0);return}function zN(){c[13817]=0;c[13816]=19008;return}function AN(a,b){a=a|0;b=b|0;DN(a,b,_F(57024)|0);return}function BN(){c[13819]=0;c[13818]=19040;return}function CN(a,b){a=a|0;b=b|0;DN(a,b,_F(57032)|0);return}function DN(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;f=b+4|0;c[f>>2]=(c[f>>2]|0)+1;f=a+8|0;e=c[f>>2]|0;if((c[a+12>>2]|0)-e>>2>>>0>d>>>0)a=f;else{EN(f,d+1|0);a=f;e=c[f>>2]|0}e=c[e+(d<<2)>>2]|0;if(e|0?(g=e+4|0,f=c[g>>2]|0,c[g>>2]=f+-1,(f|0)==0):0)Qb[c[(c[e>>2]|0)+8>>2]&255](e);c[(c[a>>2]|0)+(d<<2)>>2]=b;return}function EN(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=a+4|0;f=c[a>>2]|0;e=(c[d>>2]|0)-f>>2;if(e>>>0>=b>>>0){if(e>>>0>b>>>0)c[d>>2]=f+(b<<2)}else FN(a,b-e|0);return}function FN(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;i=yb;yb=yb+32|0;f=i;g=a+8|0;h=a+4|0;d=c[h>>2]|0;do if((c[g>>2]|0)-d>>2>>>0>>0){d=(d-(c[a>>2]|0)>>2)+b|0;e=HN(a)|0;if(e>>>0>>0)CO(a);else{j=c[a>>2]|0;k=(c[g>>2]|0)-j|0;g=k>>1;IN(f,k>>2>>>0>>1>>>0?(g>>>0>>0?d:g):e,(c[h>>2]|0)-j>>2,a+16|0);JN(f,b);KN(a,f);LN(f);break}}else GN(a,b);while(0);yb=i;return}function GN(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 HN(a){a=a|0;return 1073741823}function IN(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;h=b+12|0;c[h>>2]=0;c[b+16>>2]=f;do if(d){g=f+112|0;if(d>>>0<29&(a[g>>0]|0)==0){a[g>>0]=1;break}else{f=rB(d<<2)|0;break}}else f=0;while(0);c[b>>2]=f;e=f+(e<<2)|0;c[b+8>>2]=e;c[b+4>>2]=e;c[h>>2]=f+(d<<2);return}function JN(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 KN(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;e=c[a>>2]|0;h=a+4|0;g=b+4|0;f=(c[h>>2]|0)-e|0;d=(c[g>>2]|0)+(0-(f>>2)<<2)|0;c[g>>2]=d;if((f|0)>0){YO(d|0,e|0,f|0)|0;e=g;d=c[g>>2]|0}else e=g;g=c[a>>2]|0;c[a>>2]=d;c[e>>2]=g;g=b+8|0;f=c[h>>2]|0;c[h>>2]=c[g>>2];c[g>>2]=f;g=a+8|0;h=b+12|0;a=c[g>>2]|0;c[g>>2]=c[h>>2];c[h>>2]=a;c[b>>2]=c[e>>2];return}function LN(b){b=b|0;var d=0,e=0,f=0,g=0;d=c[b+4>>2]|0;e=b+8|0;f=c[e>>2]|0;while(1){if((f|0)==(d|0))break;g=f+-4|0;c[e>>2]=g;f=g}e=c[b>>2]|0;f=e;do if(e|0){d=c[b+16>>2]|0;if((e|0)==(d|0)){a[d+112>>0]=0;break}else{Nf(e,(c[b+12>>2]|0)-f|0);break}}while(0);return}function MN(a,b){a=a|0;b=b|0;c[a+4>>2]=b+-1;c[a>>2]=19328;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 NN(b,d){b=b|0;d=d|0;c[b+4>>2]=d+-1;c[b>>2]=19288;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 ON(a,b){a=a|0;b=b|0;c[a+4>>2]=b+-1;c[a>>2]=19168;c[a+8>>2]=YF()|0;return}function PN(b,d){b=b|0;d=d|0;var e=0;if((HN(b)|0)>>>0>>0)CO(b);e=b+128|0;if(d>>>0<29&(a[e>>0]|0)==0){a[e>>0]=1;e=b+16|0}else e=rB(d<<2)|0;c[b+4>>2]=e;c[b>>2]=e;c[b+8>>2]=e+(d<<2);return}function QN(){if((a[55280]|0)==0?lB(55280)|0:0){RN()|0;c[14269]=57072;nB(55280)}return c[14269]|0}function RN(){SN();c[14268]=55288;return 57072}function SN(){zM(55288,1);return}function TN(){UN(57080,QN()|0);return 57080}function UN(a,b){a=a|0;b=b|0;b=c[b>>2]|0;c[a>>2]=b;b=b+4|0;c[b>>2]=(c[b>>2]|0)+1;return}function VN(){if((a[55448]|0)==0?lB(55448)|0:0){TN()|0;c[14271]=57080;nB(55448)}return c[14271]|0}function WN(a){a=a|0;var b=0;b=c[(VN()|0)>>2]|0;c[a>>2]=b;a=b+4|0;c[a>>2]=(c[a>>2]|0)+1;return}function XN(a){a=a|0;return}function YN(a){a=a|0;var b=0,d=0;b=a+8|0;if(!((c[b>>2]|0)!=0?(d=c[b>>2]|0,c[b>>2]=d+-1,(d|0)!=0):0))Qb[c[(c[a>>2]|0)+16>>2]&255](a);return}function ZN(a,b,d){a=a|0;b=b|0;d=d|0;do{}while((c[a>>2]|0)==1);if(!(c[a>>2]|0)){c[a>>2]=1;Qb[d&255](b);c[a>>2]=-1}return}function _N(){ua()}function $N(a,b){a=a|0;b=b|0;var d=0,e=0;e=Oy(b)|0;d=rB(e+13|0)|0;c[d>>2]=e;c[d+4>>2]=e;c[d+8>>2]=0;d=aO(d)|0;YO(d|0,b|0,e+1|0)|0;c[a>>2]=d;return}function aO(a){a=a|0;return a+12|0}function bO(a,b){a=a|0;b=b|0;c[a>>2]=16372;$N(a+4|0,b);return}function cO(a){a=a|0;ua()}function dO(b,d){b=b|0;d=d|0;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;if((a[d+11>>0]|0)<0)eO(b,c[d>>2]|0,c[d+4>>2]|0);else{c[b>>2]=c[d>>2];c[b+4>>2]=c[d+4>>2];c[b+8>>2]=c[d+8>>2]}return}function eO(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;g=yb;yb=yb+16|0;f=g;if(e>>>0>4294967279)cO(b);if(e>>>0<11)a[b+11>>0]=e;else{i=e+16&-16;h=rB(i)|0;c[b>>2]=h;c[b+8>>2]=i|-2147483648;c[b+4>>2]=e;b=h}TD(b,d,e)|0;a[f>>0]=0;$f(b+e|0,f);yb=g;return}function fO(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;g=yb;yb=yb+16|0;f=g;if(d>>>0>4294967279)cO(b);if(d>>>0<11)a[b+11>>0]=d;else{i=d+16&-16;h=rB(i)|0;c[b>>2]=h;c[b+8>>2]=i|-2147483648;c[b+4>>2]=d;b=h}gO(b,d,e)|0;a[f>>0]=0;$f(b+d|0,f);yb=g;return}function gO(a,b,c){a=a|0;b=b|0;c=c|0;if(b|0)_O(a|0,(ag(c)|0)&255|0,b|0)|0;return a|0}function hO(b){b=b|0;if((a[b+11>>0]|0)<0)Nf(c[b>>2]|0,c[b+8>>2]&2147483647);return}function iO(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;k=yb;yb=yb+16|0;i=k;j=b+11|0;f=a[j>>0]|0;g=f<<24>>24<0;if(g)h=(c[b+8>>2]&2147483647)+-1|0;else h=10;do if(h>>>0>=e>>>0){if(g)f=c[b>>2]|0;else f=b;jO(f,d,e)|0;a[i>>0]=0;$f(f+e|0,i);if((a[j>>0]|0)<0){c[b+4>>2]=e;break}else{a[j>>0]=e;break}}else{if(g)f=c[b+4>>2]|0;else f=f&255;kO(b,h,e-h|0,f,0,f,e,d)}while(0);yb=k;return b|0}function jO(a,b,c){a=a|0;b=b|0;c=c|0;if(c|0)ZO(a|0,b|0,c|0)|0;return a|0}function kO(b,d,e,f,g,h,i,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,l=0,m=0,n=0,o=0;o=yb;yb=yb+16|0;n=o;if((-18-d|0)>>>0>>0)cO(b);if((a[b+11>>0]|0)<0)m=c[b>>2]|0;else m=b;if(d>>>0<2147483623){k=e+d|0;l=d<<1;k=k>>>0>>0?l:k;k=k>>>0<11?11:k+16&-16}else k=-17;l=rB(k)|0;if(g|0)TD(l,m,g)|0;if(i|0)TD(l+g|0,j,i)|0;f=f-h|0;e=f-g|0;if(e|0)TD(l+g+i|0,m+g+h|0,e)|0;e=d+1|0;if((e|0)!=11)Nf(m,e);c[b>>2]=l;c[b+8>>2]=k|-2147483648;i=f+i|0;c[b+4>>2]=i;a[n>>0]=0;$f(l+i|0,n);yb=o;return}function lO(a,b){a=a|0;b=b|0;return iO(a,b,Wf(b)|0)|0}function mO(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;j=yb;yb=yb+16|0;g=j;h=b+11|0;f=a[h>>0]|0;i=f<<24>>24<0;if(i)f=c[b+4>>2]|0;else f=f&255;do if(f>>>0>=d>>>0)if(i){i=(c[b>>2]|0)+d|0;a[g>>0]=0;$f(i,g);c[b+4>>2]=d;break}else{a[g>>0]=0;$f(b+d|0,g);a[h>>0]=d;break}else nO(b,d-f|0,e)|0;while(0);yb=j;return}function nO(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;k=yb;yb=yb+16|0;i=k;if(d|0){j=b+11|0;f=a[j>>0]|0;if(f<<24>>24<0){h=c[b+4>>2]|0;g=(c[b+8>>2]&2147483647)+-1|0}else{h=f&255;g=10}if((g-h|0)>>>0>>0){oO(b,g,h+d-g|0,h,h,0,0);f=a[j>>0]|0}if(f<<24>>24<0)g=c[b>>2]|0;else g=b;gO(g+h|0,d,e)|0;f=h+d|0;if((a[j>>0]|0)<0)c[b+4>>2]=f;else a[j>>0]=f;a[i>>0]=0;$f(g+f|0,i)}yb=k;return b|0}function oO(b,d,e,f,g,h,i){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0;if((-17-d|0)>>>0>>0)cO(b);if((a[b+11>>0]|0)<0)l=c[b>>2]|0;else l=b;if(d>>>0<2147483623){j=e+d|0;k=d<<1;j=j>>>0>>0?k:j;j=j>>>0<11?11:j+16&-16}else j=-17;k=rB(j)|0;if(g|0)TD(k,l,g)|0;e=f-h-g|0;if(e|0)TD(k+g+i|0,l+g+h|0,e)|0;e=d+1|0;if((e|0)!=11)Nf(l,e);c[b>>2]=k;c[b+8>>2]=j|-2147483648;return}function pO(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;k=yb;yb=yb+16|0;i=k;j=b+11|0;f=a[j>>0]|0;g=f<<24>>24<0;if(g){h=c[b+4>>2]|0;f=(c[b+8>>2]&2147483647)+-1|0}else{h=f&255;f=10}if((f-h|0)>>>0>=e>>>0){if(e|0){if(g)g=c[b>>2]|0;else g=b;TD(g+h|0,d,e)|0;f=h+e|0;if((a[j>>0]|0)<0)c[b+4>>2]=f;else a[j>>0]=f;a[i>>0]=0;$f(g+f|0,i)}}else kO(b,f,h+e-f|0,h,h,0,e,d);yb=k;return b|0}function qO(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;j=yb;yb=yb+16|0;h=j;i=j+1|0;a[h>>0]=d;g=b+11|0;d=a[g>>0]|0;e=d<<24>>24<0;if(e){f=c[b+4>>2]|0;d=(c[b+8>>2]&2147483647)+-1|0}else{f=d&255;d=10}if((f|0)==(d|0)){oO(b,d,1,d,d,0,0);if((a[g>>0]|0)<0)e=8;else e=7}else if(e)e=8;else e=7;if((e|0)==7){a[g>>0]=f+1;d=b}else if((e|0)==8){d=c[b>>2]|0;c[b+4>>2]=f+1}b=d+f|0;$f(b,h);a[i>>0]=0;$f(b+1|0,i);yb=j;return}function rO(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;i=yb;yb=yb+16|0;h=i;if(e>>>0>1073741807)cO(b);do if(e>>>0>=2){g=e+4&-4;if(g>>>0>1073741823)ua();else{f=rB(g<<2)|0;c[b>>2]=f;c[b+8>>2]=g|-2147483648;c[b+4>>2]=e;break}}else{a[b+8+3>>0]=e;f=b}while(0);iE(f,d,e)|0;c[h>>2]=0;HF(f+(e<<2)|0,h);yb=i;return}function sO(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;i=yb;yb=yb+16|0;h=i;if(d>>>0>1073741807)cO(b);do if(d>>>0>=2){g=d+4&-4;if(g>>>0>1073741823)ua();else{f=rB(g<<2)|0;c[b>>2]=f;c[b+8>>2]=g|-2147483648;c[b+4>>2]=d;break}}else{a[b+8+3>>0]=d;f=b}while(0);tO(f,d,e)|0;c[h>>2]=0;HF(f+(d<<2)|0,h);yb=i;return}function tO(a,b,c){a=a|0;b=b|0;c=c|0;if(b)sA(a,c,b)|0;return a|0}function uO(b){b=b|0;var d=0;d=b+8|0;if((a[d+3>>0]|0)<0)Nf(c[b>>2]|0,c[d>>2]<<2);return}function vO(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0;l=yb;yb=yb+16|0;j=l;f=b+8|0;k=f+3|0;h=a[k>>0]|0;i=h<<24>>24<0;if(i)g=(c[f>>2]&2147483647)+-1|0;else g=1;do if(g>>>0>=e>>>0){if(i)f=c[b>>2]|0;else f=b;wO(f,d,e)|0;c[j>>2]=0;HF(f+(e<<2)|0,j);if((a[k>>0]|0)<0){c[b+4>>2]=e;break}else{a[k>>0]=e;break}}else{if(i)f=c[b+4>>2]|0;else f=h&255;xO(b,g,e-g|0,f,0,f,e,d)}while(0);yb=l;return b|0}function wO(a,b,c){a=a|0;b=b|0;c=c|0;if(c)tA(a,b,c)|0;return a|0}function xO(b,d,e,f,g,h,i,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0;p=yb;yb=yb+16|0;o=p;if((1073741806-d|0)>>>0>>0)cO(b);l=b+8|0;if((a[l+3>>0]|0)<0)n=c[b>>2]|0;else n=b;if(d>>>0<536870887){e=e+d|0;k=d<<1;e=e>>>0>>0?k:e;e=e>>>0<2?2:e+4&-4;if(e>>>0>1073741823)ua();else m=e}else m=1073741807;k=rB(m<<2)|0;if(g|0)iE(k,n,g)|0;if(i|0)iE(k+(g<<2)|0,j,i)|0;f=f-h|0;e=f-g|0;if(e|0)iE(k+(g<<2)+(i<<2)|0,n+(g<<2)+(h<<2)|0,e)|0;e=d+1|0;if((e|0)!=2)Nf(n,e<<2);c[b>>2]=k;c[l>>2]=m|-2147483648;i=f+i|0;c[b+4>>2]=i;c[o>>2]=0;HF(k+(i<<2)|0,o);yb=p;return}function yO(a,b){a=a|0;b=b|0;return vO(a,b,HI(b)|0)|0}function zO(b,d,e,f,g,h,i){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0;if((1073741807-d|0)>>>0>>0)cO(b);m=b+8|0;if((a[m+3>>0]|0)<0)l=c[b>>2]|0;else l=b;if(d>>>0<536870887){e=e+d|0;j=d<<1;e=e>>>0>>0?j:e;e=e>>>0<2?2:e+4&-4;if(e>>>0>1073741823)ua();else k=e}else k=1073741807;j=rB(k<<2)|0;if(g|0)iE(j,l,g)|0;e=f-h-g|0;if(e|0)iE(j+(g<<2)+(i<<2)|0,l+(g<<2)+(h<<2)|0,e)|0;e=d+1|0;if((e|0)!=2)Nf(l,e<<2);c[b>>2]=j;c[m>>2]=k|-2147483648;return}function AO(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0;l=yb;yb=yb+16|0;j=l;g=b+8|0;k=g+3|0;f=a[k>>0]|0;i=f<<24>>24<0;if(i){h=c[b+4>>2]|0;f=(c[g>>2]&2147483647)+-1|0}else{h=f&255;f=1}if((f-h|0)>>>0>=e>>>0){if(e|0){if(i)g=c[b>>2]|0;else g=b;iE(g+(h<<2)|0,d,e)|0;f=h+e|0;if((a[k>>0]|0)<0)c[b+4>>2]=f;else a[k>>0]=f;c[j>>2]=0;HF(g+(f<<2)|0,j)}}else xO(b,f,h+e-f|0,h,h,0,e,d);yb=l;return b|0}function BO(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;k=yb;yb=yb+16|0;i=k;j=k+4|0;c[i>>2]=d;e=b+8|0;h=e+3|0;d=a[h>>0]|0;f=d<<24>>24<0;if(f){g=c[b+4>>2]|0;d=(c[e>>2]&2147483647)+-1|0}else{g=d&255;d=1}if((g|0)==(d|0)){zO(b,d,1,d,d,0,0);if((a[h>>0]|0)<0)e=8;else e=7}else if(f)e=8;else e=7;if((e|0)==7){a[h>>0]=g+1;d=b}else if((e|0)==8){d=c[b>>2]|0;c[b+4>>2]=g+1}b=d+(g<<2)|0;HF(b,i);c[j>>2]=0;HF(b+4|0,j);yb=k;return}function CO(a){a=a|0;ua()}function DO(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;w=yb;yb=yb+16|0;n=w;do if(a>>>0<245){k=a>>>0<11?16:a+11&-8;a=k>>>3;m=c[14291]|0;d=m>>>a;if(d&3|0){b=(d&1^1)+a|0;a=57204+(b<<1<<2)|0;d=a+8|0;e=c[d>>2]|0;f=e+8|0;g=c[f>>2]|0;if((g|0)==(a|0))c[14291]=m&~(1<>2]=a;c[d>>2]=g}v=b<<3;c[e+4>>2]=v|3;v=e+v+4|0;c[v>>2]=c[v>>2]|1;v=f;yb=w;return v|0}l=c[14293]|0;if(k>>>0>l>>>0){if(d|0){b=2<>>12&16;b=b>>>i;d=b>>>5&8;b=b>>>d;g=b>>>2&4;b=b>>>g;a=b>>>1&2;b=b>>>a;e=b>>>1&1;e=(d|i|g|a|e)+(b>>>e)|0;b=57204+(e<<1<<2)|0;a=b+8|0;g=c[a>>2]|0;i=g+8|0;d=c[i>>2]|0;if((d|0)==(b|0)){a=m&~(1<>2]=b;c[a>>2]=d;a=m}v=e<<3;h=v-k|0;c[g+4>>2]=k|3;f=g+k|0;c[f+4>>2]=h|1;c[g+v>>2]=h;if(l|0){e=c[14296]|0;b=l>>>3;d=57204+(b<<1<<2)|0;b=1<>2]|0}c[a>>2]=e;c[b+12>>2]=e;c[e+8>>2]=b;c[e+12>>2]=d}c[14293]=h;c[14296]=f;v=i;yb=w;return v|0}g=c[14292]|0;if(g){d=(g&0-g)+-1|0;f=d>>>12&16;d=d>>>f;e=d>>>5&8;d=d>>>e;h=d>>>2&4;d=d>>>h;i=d>>>1&2;d=d>>>i;j=d>>>1&1;j=c[57468+((e|f|h|i|j)+(d>>>j)<<2)>>2]|0;d=j;i=j;j=(c[j+4>>2]&-8)-k|0;while(1){a=c[d+16>>2]|0;if(!a){a=c[d+20>>2]|0;if(!a)break}h=(c[a+4>>2]&-8)-k|0;f=h>>>0>>0;d=a;i=f?a:i;j=f?h:j}h=i+k|0;if(h>>>0>i>>>0){f=c[i+24>>2]|0;b=c[i+12>>2]|0;do if((b|0)==(i|0)){a=i+20|0;b=c[a>>2]|0;if(!b){a=i+16|0;b=c[a>>2]|0;if(!b){d=0;break}}while(1){e=b+20|0;d=c[e>>2]|0;if(!d){e=b+16|0;d=c[e>>2]|0;if(!d)break;else{b=d;a=e}}else{b=d;a=e}}c[a>>2]=0;d=b}else{d=c[i+8>>2]|0;c[d+12>>2]=b;c[b+8>>2]=d;d=b}while(0);do if(f|0){b=c[i+28>>2]|0;a=57468+(b<<2)|0;if((i|0)==(c[a>>2]|0)){c[a>>2]=d;if(!d){c[14292]=g&~(1<>2]|0)==(i|0)?v:f+20|0)>>2]=d;if(!d)break}c[d+24>>2]=f;b=c[i+16>>2]|0;if(b|0){c[d+16>>2]=b;c[b+24>>2]=d}b=c[i+20>>2]|0;if(b|0){c[d+20>>2]=b;c[b+24>>2]=d}}while(0);if(j>>>0<16){v=j+k|0;c[i+4>>2]=v|3;v=i+v+4|0;c[v>>2]=c[v>>2]|1}else{c[i+4>>2]=k|3;c[h+4>>2]=j|1;c[h+j>>2]=j;if(l|0){e=c[14296]|0;b=l>>>3;d=57204+(b<<1<<2)|0;b=1<>2]|0}c[a>>2]=e;c[b+12>>2]=e;c[e+8>>2]=b;c[e+12>>2]=d}c[14293]=j;c[14296]=h}v=i+8|0;yb=w;return v|0}else m=k}else m=k}else m=k}else if(a>>>0<=4294967231){a=a+11|0;k=a&-8;e=c[14292]|0;if(e){f=0-k|0;a=a>>>8;if(a)if(k>>>0>16777215)j=31;else{m=(a+1048320|0)>>>16&8;q=a<>>16&4;q=q<>>16&2;j=14-(i|m|j)+(q<>>15)|0;j=k>>>(j+7|0)&1|j<<1}else j=0;d=c[57468+(j<<2)>>2]|0;a:do if(!d){d=0;a=0;q=61}else{a=0;i=k<<((j|0)==31?0:25-(j>>>1)|0);g=0;while(1){h=(c[d+4>>2]&-8)-k|0;if(h>>>0>>0)if(!h){a=d;f=0;q=65;break a}else{a=d;f=h}q=c[d+20>>2]|0;d=c[d+16+(i>>>31<<2)>>2]|0;g=(q|0)==0|(q|0)==(d|0)?g:q;if(!d){d=g;q=61;break}else i=i<<1}}while(0);if((q|0)==61){if((d|0)==0&(a|0)==0){a=2<>>12&16;m=m>>>h;g=m>>>5&8;m=m>>>g;i=m>>>2&4;m=m>>>i;j=m>>>1&2;m=m>>>j;d=m>>>1&1;a=0;d=c[57468+((g|h|i|j|d)+(m>>>d)<<2)>>2]|0}if(!d){i=a;h=f}else q=65}if((q|0)==65){g=d;while(1){m=(c[g+4>>2]&-8)-k|0;d=m>>>0>>0;f=d?m:f;a=d?g:a;d=c[g+16>>2]|0;if(!d)d=c[g+20>>2]|0;if(!d){i=a;h=f;break}else g=d}}if(((i|0)!=0?h>>>0<((c[14293]|0)-k|0)>>>0:0)?(l=i+k|0,l>>>0>i>>>0):0){g=c[i+24>>2]|0;b=c[i+12>>2]|0;do if((b|0)==(i|0)){a=i+20|0;b=c[a>>2]|0;if(!b){a=i+16|0;b=c[a>>2]|0;if(!b){b=0;break}}while(1){f=b+20|0;d=c[f>>2]|0;if(!d){f=b+16|0;d=c[f>>2]|0;if(!d)break;else{b=d;a=f}}else{b=d;a=f}}c[a>>2]=0}else{v=c[i+8>>2]|0;c[v+12>>2]=b;c[b+8>>2]=v}while(0);do if(g){a=c[i+28>>2]|0;d=57468+(a<<2)|0;if((i|0)==(c[d>>2]|0)){c[d>>2]=b;if(!b){e=e&~(1<>2]|0)==(i|0)?v:g+20|0)>>2]=b;if(!b)break}c[b+24>>2]=g;a=c[i+16>>2]|0;if(a|0){c[b+16>>2]=a;c[a+24>>2]=b}a=c[i+20>>2]|0;if(a){c[b+20>>2]=a;c[a+24>>2]=b}}while(0);b:do if(h>>>0<16){v=h+k|0;c[i+4>>2]=v|3;v=i+v+4|0;c[v>>2]=c[v>>2]|1}else{c[i+4>>2]=k|3;c[l+4>>2]=h|1;c[l+h>>2]=h;b=h>>>3;if(h>>>0<256){d=57204+(b<<1<<2)|0;a=c[14291]|0;b=1<>2]|0}c[a>>2]=l;c[b+12>>2]=l;c[l+8>>2]=b;c[l+12>>2]=d;break}b=h>>>8;if(b)if(h>>>0>16777215)d=31;else{u=(b+1048320|0)>>>16&8;v=b<>>16&4;v=v<>>16&2;d=14-(t|u|d)+(v<>>15)|0;d=h>>>(d+7|0)&1|d<<1}else d=0;b=57468+(d<<2)|0;c[l+28>>2]=d;a=l+16|0;c[a+4>>2]=0;c[a>>2]=0;a=1<>2]=l;c[l+24>>2]=b;c[l+12>>2]=l;c[l+8>>2]=l;break}b=c[b>>2]|0;c:do if((c[b+4>>2]&-8|0)!=(h|0)){e=h<<((d|0)==31?0:25-(d>>>1)|0);while(1){d=b+16+(e>>>31<<2)|0;a=c[d>>2]|0;if(!a)break;if((c[a+4>>2]&-8|0)==(h|0)){b=a;break c}else{e=e<<1;b=a}}c[d>>2]=l;c[l+24>>2]=b;c[l+12>>2]=l;c[l+8>>2]=l;break b}while(0);u=b+8|0;v=c[u>>2]|0;c[v+12>>2]=l;c[u>>2]=l;c[l+8>>2]=v;c[l+12>>2]=b;c[l+24>>2]=0}while(0);v=i+8|0;yb=w;return v|0}else m=k}else m=k}else m=-1;while(0);d=c[14293]|0;if(d>>>0>=m>>>0){b=d-m|0;a=c[14296]|0;if(b>>>0>15){v=a+m|0;c[14296]=v;c[14293]=b;c[v+4>>2]=b|1;c[a+d>>2]=b;c[a+4>>2]=m|3}else{c[14293]=0;c[14296]=0;c[a+4>>2]=d|3;v=a+d+4|0;c[v>>2]=c[v>>2]|1}v=a+8|0;yb=w;return v|0}h=c[14294]|0;if(h>>>0>m>>>0){t=h-m|0;c[14294]=t;v=c[14297]|0;u=v+m|0;c[14297]=u;c[u+4>>2]=t|1;c[v+4>>2]=m|3;v=v+8|0;yb=w;return v|0}if(!(c[14409]|0)){c[14411]=4096;c[14410]=4096;c[14412]=-1;c[14413]=-1;c[14414]=0;c[14402]=0;c[14409]=n&-16^1431655768;a=4096}else a=c[14411]|0;i=m+48|0;j=m+47|0;g=a+j|0;f=0-a|0;k=g&f;if(k>>>0<=m>>>0){v=0;yb=w;return v|0}a=c[14401]|0;if(a|0?(l=c[14399]|0,n=l+k|0,n>>>0<=l>>>0|n>>>0>a>>>0):0){v=0;yb=w;return v|0}d:do if(!(c[14402]&4)){d=c[14297]|0;e:do if(d){e=57612;while(1){n=c[e>>2]|0;if(n>>>0<=d>>>0?(n+(c[e+4>>2]|0)|0)>>>0>d>>>0:0)break;a=c[e+8>>2]|0;if(!a){q=128;break e}else e=a}b=g-h&f;if(b>>>0<2147483647){a=JO(b)|0;if((a|0)==((c[e>>2]|0)+(c[e+4>>2]|0)|0)){if((a|0)!=(-1|0)){h=b;g=a;q=145;break d}}else{e=a;q=136}}else b=0}else q=128;while(0);do if((q|0)==128){d=JO(0)|0;if((d|0)!=(-1|0)?(b=d,o=c[14410]|0,p=o+-1|0,b=((p&b|0)==0?0:(p+b&0-o)-b|0)+k|0,o=c[14399]|0,p=b+o|0,b>>>0>m>>>0&b>>>0<2147483647):0){n=c[14401]|0;if(n|0?p>>>0<=o>>>0|p>>>0>n>>>0:0){b=0;break}a=JO(b)|0;if((a|0)==(d|0)){h=b;g=d;q=145;break d}else{e=a;q=136}}else b=0}while(0);do if((q|0)==136){d=0-b|0;if(!(i>>>0>b>>>0&(b>>>0<2147483647&(e|0)!=(-1|0))))if((e|0)==(-1|0)){b=0;break}else{h=b;g=e;q=145;break d}a=c[14411]|0;a=j-b+a&0-a;if(a>>>0>=2147483647){h=b;g=e;q=145;break d}if((JO(a)|0)==(-1|0)){JO(d)|0;b=0;break}else{h=a+b|0;g=e;q=145;break d}}while(0);c[14402]=c[14402]|4;q=143}else{b=0;q=143}while(0);if(((q|0)==143?k>>>0<2147483647:0)?(t=JO(k)|0,p=JO(0)|0,r=p-t|0,s=r>>>0>(m+40|0)>>>0,!((t|0)==(-1|0)|s^1|t>>>0

>>0&((r|0)!=(-1|0)&(p|0)!=(-1|0))^1)):0){h=r;g=s?t:b;q=145}if((q|0)==145){b=(c[14611]|0)+g|0;c[14611]=b;if(b>>>0>(c[14612]|0)>>>0)c[14612]=b;j=c[14509]|0;f:do if(j){e=58460;while(1){b=c[e>>2]|0;a=c[e+4>>2]|0;if((h|0)==(b+a|0)){q=154;break}d=c[e+8>>2]|0;if(!d)break;else e=d}if(((q|0)==154?(u=e+4|0,(c[e+12>>2]&8|0)==0):0)?h>>>0>j>>>0&b>>>0<=j>>>0:0){c[u>>2]=a+g;v=(c[14506]|0)+g|0;t=j+8|0;t=(t&7|0)==0?0:0-t&7;u=j+t|0;t=v-t|0;c[14509]=u;c[14506]=t;c[u+4>>2]=t|1;c[j+v+4>>2]=40;c[14510]=c[14625];break}if(h>>>0<(c[14507]|0)>>>0)c[14507]=h;d=h+g|0;a=58460;while(1){if((c[a>>2]|0)==(d|0)){q=162;break}b=c[a+8>>2]|0;if(!b)break;else a=b}if((q|0)==162?(c[a+12>>2]&8|0)==0:0){c[a>>2]=h;l=a+4|0;c[l>>2]=(c[l>>2]|0)+g;l=h+8|0;l=h+((l&7|0)==0?0:0-l&7)|0;b=d+8|0;b=d+((b&7|0)==0?0:0-b&7)|0;k=l+m|0;i=b-l-m|0;c[l+4>>2]=m|3;g:do if((j|0)==(b|0)){v=(c[14506]|0)+i|0;c[14506]=v;c[14509]=k;c[k+4>>2]=v|1}else{if((c[14508]|0)==(b|0)){v=(c[14505]|0)+i|0;c[14505]=v;c[14508]=k;c[k+4>>2]=v|1;c[k+v>>2]=v;break}a=c[b+4>>2]|0;if((a&3|0)==1){h=a&-8;e=a>>>3;h:do if(a>>>0<256){a=c[b+8>>2]|0;d=c[b+12>>2]|0;if((d|0)==(a|0)){c[14503]=c[14503]&~(1<>2]=d;c[d+8>>2]=a;break}}else{g=c[b+24>>2]|0;a=c[b+12>>2]|0;do if((a|0)==(b|0)){e=b+16|0;d=e+4|0;a=c[d>>2]|0;if(!a){a=c[e>>2]|0;if(!a){a=0;break}else d=e}while(1){f=a+20|0;e=c[f>>2]|0;if(!e){f=a+16|0;e=c[f>>2]|0;if(!e)break;else{a=e;d=f}}else{a=e;d=f}}c[d>>2]=0}else{v=c[b+8>>2]|0;c[v+12>>2]=a;c[a+8>>2]=v}while(0);if(!g)break;d=c[b+28>>2]|0;e=58316+(d<<2)|0;do if((c[e>>2]|0)!=(b|0)){v=g+16|0;c[((c[v>>2]|0)==(b|0)?v:g+20|0)>>2]=a;if(!a)break h}else{c[e>>2]=a;if(a|0)break;c[14504]=c[14504]&~(1<>2]=g;e=b+16|0;d=c[e>>2]|0;if(d|0){c[a+16>>2]=d;c[d+24>>2]=a}d=c[e+4>>2]|0;if(!d)break;c[a+20>>2]=d;c[d+24>>2]=a}while(0);b=b+h|0;f=h+i|0}else f=i;b=b+4|0;c[b>>2]=c[b>>2]&-2;c[k+4>>2]=f|1;c[k+f>>2]=f;b=f>>>3;if(f>>>0<256){d=58052+(b<<1<<2)|0;a=c[14503]|0;b=1<>2]|0}c[b>>2]=k;c[a+12>>2]=k;c[k+8>>2]=a;c[k+12>>2]=d;break}b=f>>>8;do if(!b)e=0;else{if(f>>>0>16777215){e=31;break}u=(b+1048320|0)>>>16&8;v=b<>>16&4;v=v<>>16&2;e=14-(t|u|e)+(v<>>15)|0;e=f>>>(e+7|0)&1|e<<1}while(0);a=58316+(e<<2)|0;c[k+28>>2]=e;b=k+16|0;c[b+4>>2]=0;c[b>>2]=0;b=c[14504]|0;d=1<>2]=k;c[k+24>>2]=a;c[k+12>>2]=k;c[k+8>>2]=k;break}b=c[a>>2]|0;i:do if((c[b+4>>2]&-8|0)!=(f|0)){e=f<<((e|0)==31?0:25-(e>>>1)|0);while(1){d=b+16+(e>>>31<<2)|0;a=c[d>>2]|0;if(!a)break;if((c[a+4>>2]&-8|0)==(f|0)){b=a;break i}else{e=e<<1;b=a}}c[d>>2]=k;c[k+24>>2]=b;c[k+12>>2]=k;c[k+8>>2]=k;break g}while(0);u=b+8|0;v=c[u>>2]|0;c[v+12>>2]=k;c[u>>2]=k;c[k+8>>2]=v;c[k+12>>2]=b;c[k+24>>2]=0}while(0);v=l+8|0;zb=w;return v|0}a=58460;while(1){b=c[a>>2]|0;if(b>>>0<=j>>>0?(v=b+(c[a+4>>2]|0)|0,v>>>0>j>>>0):0)break;a=c[a+8>>2]|0}f=v+-47|0;a=f+8|0;a=f+((a&7|0)==0?0:0-a&7)|0;f=j+16|0;a=a>>>0>>0?j:a;b=a+8|0;d=g+-40|0;t=h+8|0;t=(t&7|0)==0?0:0-t&7;u=h+t|0;t=d-t|0;c[14509]=u;c[14506]=t;c[u+4>>2]=t|1;c[h+d+4>>2]=40;c[14510]=c[14625];d=a+4|0;c[d>>2]=27;c[b>>2]=c[14615];c[b+4>>2]=c[14616];c[b+8>>2]=c[14617];c[b+12>>2]=c[14618];c[14615]=h;c[14616]=g;c[14618]=0;c[14617]=b;b=a+24|0;do{u=b;b=b+4|0;c[b>>2]=7}while((u+8|0)>>>0>>0);if((a|0)!=(j|0)){g=a-j|0;c[d>>2]=c[d>>2]&-2;c[j+4>>2]=g|1;c[a>>2]=g;b=g>>>3;if(g>>>0<256){d=58052+(b<<1<<2)|0;a=c[14503]|0;b=1<>2]|0}c[b>>2]=j;c[a+12>>2]=j;c[j+8>>2]=a;c[j+12>>2]=d;break}b=g>>>8;if(b)if(g>>>0>16777215)e=31;else{u=(b+1048320|0)>>>16&8;v=b<>>16&4;v=v<>>16&2;e=14-(t|u|e)+(v<>>15)|0;e=g>>>(e+7|0)&1|e<<1}else e=0;d=58316+(e<<2)|0;c[j+28>>2]=e;c[j+20>>2]=0;c[f>>2]=0;b=c[14504]|0;a=1<>2]=j;c[j+24>>2]=d;c[j+12>>2]=j;c[j+8>>2]=j;break}b=c[d>>2]|0;j:do if((c[b+4>>2]&-8|0)!=(g|0)){e=g<<((e|0)==31?0:25-(e>>>1)|0);while(1){d=b+16+(e>>>31<<2)|0;a=c[d>>2]|0;if(!a)break;if((c[a+4>>2]&-8|0)==(g|0)){b=a;break j}else{e=e<<1;b=a}}c[d>>2]=j;c[j+24>>2]=b;c[j+12>>2]=j;c[j+8>>2]=j;break f}while(0);u=b+8|0;v=c[u>>2]|0;c[v+12>>2]=j;c[u>>2]=j;c[j+8>>2]=v;c[j+12>>2]=b;c[j+24>>2]=0}}else{v=c[14507]|0;if((v|0)==0|h>>>0>>0)c[14507]=h;c[14615]=h;c[14616]=g;c[14618]=0;c[14512]=c[14621];c[14511]=-1;c[14516]=58052;c[14515]=58052;c[14518]=58060;c[14517]=58060;c[14520]=58068;c[14519]=58068;c[14522]=58076;c[14521]=58076;c[14524]=58084;c[14523]=58084;c[14526]=58092;c[14525]=58092;c[14528]=58100;c[14527]=58100;c[14530]=58108;c[14529]=58108;c[14532]=58116;c[14531]=58116;c[14534]=58124;c[14533]=58124;c[14536]=58132;c[14535]=58132;c[14538]=58140;c[14537]=58140;c[14540]=58148;c[14539]=58148;c[14542]=58156;c[14541]=58156;c[14544]=58164;c[14543]=58164;c[14546]=58172;c[14545]=58172;c[14548]=58180;c[14547]=58180;c[14550]=58188;c[14549]=58188;c[14552]=58196;c[14551]=58196;c[14554]=58204;c[14553]=58204;c[14556]=58212;c[14555]=58212;c[14558]=58220;c[14557]=58220;c[14560]=58228;c[14559]=58228;c[14562]=58236;c[14561]=58236;c[14564]=58244;c[14563]=58244;c[14566]=58252;c[14565]=58252;c[14568]=58260;c[14567]=58260;c[14570]=58268;c[14569]=58268;c[14572]=58276;c[14571]=58276;c[14574]=58284;c[14573]=58284;c[14576]=58292;c[14575]=58292;c[14578]=58300;c[14577]=58300;v=g+-40|0;t=h+8|0;t=(t&7|0)==0?0:0-t&7;u=h+t|0;t=v-t|0;c[14509]=u;c[14506]=t;c[u+4>>2]=t|1;c[h+v+4>>2]=40;c[14510]=c[14625]}while(0);b=c[14506]|0;if(b>>>0>m>>>0){t=b-m|0;c[14506]=t;v=c[14509]|0;u=v+m|0;c[14509]=u;c[u+4>>2]=t|1;c[v+4>>2]=m|3;v=v+8|0;zb=w;return v|0}}c[(vx()|0)>>2]=48;v=0;zb=w;return v|0}function NO(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;if(!a)return;d=a+-8|0;e=c[14507]|0;a=c[a+-4>>2]|0;b=a&-8;k=d+b|0;do if(!(a&1)){f=c[d>>2]|0;if(!(a&3))return;g=d+(0-f)|0;h=f+b|0;if(g>>>0>>0)return;if((c[14508]|0)==(g|0)){b=k+4|0;a=c[b>>2]|0;if((a&3|0)!=3){i=g;j=g;b=h;break}c[14505]=h;c[b>>2]=a&-2;c[g+4>>2]=h|1;c[g+h>>2]=h;return}d=f>>>3;if(f>>>0<256){a=c[g+8>>2]|0;b=c[g+12>>2]|0;if((b|0)==(a|0)){c[14503]=c[14503]&~(1<>2]=b;c[b+8>>2]=a;i=g;j=g;b=h;break}}f=c[g+24>>2]|0;a=c[g+12>>2]|0;do if((a|0)==(g|0)){d=g+16|0;b=d+4|0;a=c[b>>2]|0;if(!a){a=c[d>>2]|0;if(!a){d=0;break}else b=d}while(1){e=a+20|0;d=c[e>>2]|0;if(!d){e=a+16|0;d=c[e>>2]|0;if(!d)break;else{a=d;b=e}}else{a=d;b=e}}c[b>>2]=0;d=a}else{d=c[g+8>>2]|0;c[d+12>>2]=a;c[a+8>>2]=d;d=a}while(0);if(f){a=c[g+28>>2]|0;b=58316+(a<<2)|0;if((c[b>>2]|0)==(g|0)){c[b>>2]=d;if(!d){c[14504]=c[14504]&~(1<>2]|0)==(g|0)?j:f+20|0)>>2]=d;if(!d){i=g;j=g;b=h;break}}c[d+24>>2]=f;b=g+16|0;a=c[b>>2]|0;if(a|0){c[d+16>>2]=a;c[a+24>>2]=d}a=c[b+4>>2]|0;if(a){c[d+20>>2]=a;c[a+24>>2]=d;i=g;j=g;b=h}else{i=g;j=g;b=h}}else{i=g;j=g;b=h}}else{i=d;j=d}while(0);if(i>>>0>=k>>>0)return;a=k+4|0;d=c[a>>2]|0;if(!(d&1))return;if(!(d&2)){if((c[14509]|0)==(k|0)){k=(c[14506]|0)+b|0;c[14506]=k;c[14509]=j;c[j+4>>2]=k|1;if((j|0)!=(c[14508]|0))return;c[14508]=0;c[14505]=0;return}if((c[14508]|0)==(k|0)){k=(c[14505]|0)+b|0;c[14505]=k;c[14508]=i;c[j+4>>2]=k|1;c[i+k>>2]=k;return}f=(d&-8)+b|0;e=d>>>3;do if(d>>>0<256){b=c[k+8>>2]|0;a=c[k+12>>2]|0;if((a|0)==(b|0)){c[14503]=c[14503]&~(1<>2]=a;c[a+8>>2]=b;break}}else{g=c[k+24>>2]|0;a=c[k+12>>2]|0;do if((a|0)==(k|0)){d=k+16|0;b=d+4|0;a=c[b>>2]|0;if(!a){a=c[d>>2]|0;if(!a){d=0;break}else b=d}while(1){e=a+20|0;d=c[e>>2]|0;if(!d){e=a+16|0;d=c[e>>2]|0;if(!d)break;else{a=d;b=e}}else{a=d;b=e}}c[b>>2]=0;d=a}else{d=c[k+8>>2]|0;c[d+12>>2]=a;c[a+8>>2]=d;d=a}while(0);if(g|0){a=c[k+28>>2]|0;b=58316+(a<<2)|0;if((c[b>>2]|0)==(k|0)){c[b>>2]=d;if(!d){c[14504]=c[14504]&~(1<>2]|0)==(k|0)?h:g+20|0)>>2]=d;if(!d)break}c[d+24>>2]=g;b=k+16|0;a=c[b>>2]|0;if(a|0){c[d+16>>2]=a;c[a+24>>2]=d}a=c[b+4>>2]|0;if(a|0){c[d+20>>2]=a;c[a+24>>2]=d}}}while(0);c[j+4>>2]=f|1;c[i+f>>2]=f;if((j|0)==(c[14508]|0)){c[14505]=f;return}}else{c[a>>2]=d&-2;c[j+4>>2]=b|1;c[i+b>>2]=b;f=b}a=f>>>3;if(f>>>0<256){d=58052+(a<<1<<2)|0;b=c[14503]|0;a=1<>2]|0}c[a>>2]=j;c[b+12>>2]=j;c[j+8>>2]=b;c[j+12>>2]=d;return}a=f>>>8;if(a)if(f>>>0>16777215)e=31;else{i=(a+1048320|0)>>>16&8;k=a<>>16&4;k=k<>>16&2;e=14-(h|i|e)+(k<>>15)|0;e=f>>>(e+7|0)&1|e<<1}else e=0;b=58316+(e<<2)|0;c[j+28>>2]=e;c[j+20>>2]=0;c[j+16>>2]=0;a=c[14504]|0;d=1<>2]=j;c[j+24>>2]=b;c[j+12>>2]=j;c[j+8>>2]=j}else{a=c[b>>2]|0;b:do if((c[a+4>>2]&-8|0)!=(f|0)){e=f<<((e|0)==31?0:25-(e>>>1)|0);while(1){d=a+16+(e>>>31<<2)|0;b=c[d>>2]|0;if(!b)break;if((c[b+4>>2]&-8|0)==(f|0)){a=b;break b}else{e=e<<1;a=b}}c[d>>2]=j;c[j+24>>2]=a;c[j+12>>2]=j;c[j+8>>2]=j;break a}while(0);i=a+8|0;k=c[i>>2]|0;c[k+12>>2]=j;c[i>>2]=j;c[j+8>>2]=k;c[j+12>>2]=a;c[j+24>>2]=0}while(0);k=(c[14511]|0)+-1|0;c[14511]=k;if(k|0)return;a=58468;while(1){a=c[a>>2]|0;if(!a)break;else a=a+8|0}c[14511]=-1;return}function OO(a,b){a=a|0;b=b|0;var d=0;if(a){d=C(b,a)|0;if((b|a)>>>0>65535)d=((d>>>0)/(a>>>0)|0|0)==(b|0)?d:-1}else d=0;b=MO(d)|0;if(!b)return b|0;if(!(c[b+-4>>2]&3))return b|0;hP(b|0,0,d|0)|0;return b|0}function PO(a,b){a=a|0;b=b|0;var d=0,e=0;if(!a){a=MO(b)|0;return a|0}if(b>>>0>4294967231){c[(vx()|0)>>2]=48;a=0;return a|0}d=QO(a+-8|0,b>>>0<11?16:b+11&-8)|0;if(d|0){a=d+8|0;return a|0}d=MO(b)|0;if(!d){a=0;return a|0}e=c[a+-4>>2]|0;e=(e&-8)-((e&3|0)==0?8:4)|0;fP(d|0,a|0,(e>>>0>>0?e:b)|0)|0;NO(a);a=d;return a|0}function QO(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;m=a+4|0;l=c[m>>2]|0;d=l&-8;i=a+d|0;if(!(l&3)){if(b>>>0<256){a=0;return a|0}if(d>>>0>=(b+4|0)>>>0?(d-b|0)>>>0<=c[14623]<<1>>>0:0)return a|0;a=0;return a|0}if(d>>>0>=b>>>0){d=d-b|0;if(d>>>0<=15)return a|0;k=a+b|0;c[m>>2]=l&1|b|2;c[k+4>>2]=d|3;b=i+4|0;c[b>>2]=c[b>>2]|1;RO(k,d);return a|0}if((c[14509]|0)==(i|0)){k=(c[14506]|0)+d|0;e=k-b|0;d=a+b|0;if(k>>>0<=b>>>0){a=0;return a|0}c[m>>2]=l&1|b|2;c[d+4>>2]=e|1;c[14509]=d;c[14506]=e;return a|0}if((c[14508]|0)==(i|0)){e=(c[14505]|0)+d|0;if(e>>>0>>0){a=0;return a|0}d=e-b|0;if(d>>>0>15){k=a+b|0;e=a+e|0;c[m>>2]=l&1|b|2;c[k+4>>2]=d|1;c[e>>2]=d;e=e+4|0;c[e>>2]=c[e>>2]&-2;e=k}else{c[m>>2]=l&1|e|2;e=a+e+4|0;c[e>>2]=c[e>>2]|1;e=0;d=0}c[14505]=d;c[14508]=e;return a|0}e=c[i+4>>2]|0;if(e&2|0){a=0;return a|0}j=(e&-8)+d|0;if(j>>>0>>0){a=0;return a|0}k=j-b|0;f=e>>>3;do if(e>>>0<256){e=c[i+8>>2]|0;d=c[i+12>>2]|0;if((d|0)==(e|0)){c[14503]=c[14503]&~(1<>2]=d;c[d+8>>2]=e;break}}else{h=c[i+24>>2]|0;d=c[i+12>>2]|0;do if((d|0)==(i|0)){f=i+16|0;e=f+4|0;d=c[e>>2]|0;if(!d){d=c[f>>2]|0;if(!d){f=0;break}else e=f}while(1){g=d+20|0;f=c[g>>2]|0;if(!f){g=d+16|0;f=c[g>>2]|0;if(!f)break;else{d=f;e=g}}else{d=f;e=g}}c[e>>2]=0;f=d}else{f=c[i+8>>2]|0;c[f+12>>2]=d;c[d+8>>2]=f;f=d}while(0);if(h|0){d=c[i+28>>2]|0;e=58316+(d<<2)|0;if((c[e>>2]|0)==(i|0)){c[e>>2]=f;if(!f){c[14504]=c[14504]&~(1<>2]|0)==(i|0)?g:h+20|0)>>2]=f;if(!f)break}c[f+24>>2]=h;e=i+16|0;d=c[e>>2]|0;if(d|0){c[f+16>>2]=d;c[d+24>>2]=f}d=c[e+4>>2]|0;if(d|0){c[f+20>>2]=d;c[d+24>>2]=f}}}while(0);if(k>>>0<16){c[m>>2]=l&1|j|2;b=a+j+4|0;c[b>>2]=c[b>>2]|1;return a|0}else{i=a+b|0;c[m>>2]=l&1|b|2;c[i+4>>2]=k|3;b=a+j+4|0;c[b>>2]=c[b>>2]|1;RO(i,k);return a|0}return 0}function RO(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;j=a+b|0;d=c[a+4>>2]|0;do if(!(d&1)){e=c[a>>2]|0;if(!(d&3))return;g=a+(0-e)|0;h=e+b|0;if((c[14508]|0)==(g|0)){a=j+4|0;d=c[a>>2]|0;if((d&3|0)!=3){i=g;a=h;break}c[14505]=h;c[a>>2]=d&-2;c[g+4>>2]=h|1;c[j>>2]=h;return}b=e>>>3;if(e>>>0<256){d=c[g+8>>2]|0;a=c[g+12>>2]|0;if((a|0)==(d|0)){c[14503]=c[14503]&~(1<>2]=a;c[a+8>>2]=d;i=g;a=h;break}}f=c[g+24>>2]|0;d=c[g+12>>2]|0;do if((d|0)==(g|0)){b=g+16|0;a=b+4|0;d=c[a>>2]|0;if(!d){d=c[b>>2]|0;if(!d){b=0;break}else a=b}while(1){e=d+20|0;b=c[e>>2]|0;if(!b){e=d+16|0;b=c[e>>2]|0;if(!b)break;else{d=b;a=e}}else{d=b;a=e}}c[a>>2]=0;b=d}else{b=c[g+8>>2]|0;c[b+12>>2]=d;c[d+8>>2]=b;b=d}while(0);if(f){d=c[g+28>>2]|0;a=58316+(d<<2)|0;if((c[a>>2]|0)==(g|0)){c[a>>2]=b;if(!b){c[14504]=c[14504]&~(1<>2]|0)==(g|0)?i:f+20|0)>>2]=b;if(!b){i=g;a=h;break}}c[b+24>>2]=f;a=g+16|0;d=c[a>>2]|0;if(d|0){c[b+16>>2]=d;c[d+24>>2]=b}d=c[a+4>>2]|0;if(d){c[b+20>>2]=d;c[d+24>>2]=b;i=g;a=h}else{i=g;a=h}}else{i=g;a=h}}else{i=a;a=b}while(0);d=j+4|0;b=c[d>>2]|0;if(!(b&2)){if((c[14509]|0)==(j|0)){j=(c[14506]|0)+a|0;c[14506]=j;c[14509]=i;c[i+4>>2]=j|1;if((i|0)!=(c[14508]|0))return;c[14508]=0;c[14505]=0;return}if((c[14508]|0)==(j|0)){j=(c[14505]|0)+a|0;c[14505]=j;c[14508]=i;c[i+4>>2]=j|1;c[i+j>>2]=j;return}g=(b&-8)+a|0;e=b>>>3;do if(b>>>0<256){a=c[j+8>>2]|0;d=c[j+12>>2]|0;if((d|0)==(a|0)){c[14503]=c[14503]&~(1<>2]=d;c[d+8>>2]=a;break}}else{f=c[j+24>>2]|0;d=c[j+12>>2]|0;do if((d|0)==(j|0)){b=j+16|0;a=b+4|0;d=c[a>>2]|0;if(!d){d=c[b>>2]|0;if(!d){b=0;break}else a=b}while(1){e=d+20|0;b=c[e>>2]|0;if(!b){e=d+16|0;b=c[e>>2]|0;if(!b)break;else{d=b;a=e}}else{d=b;a=e}}c[a>>2]=0;b=d}else{b=c[j+8>>2]|0;c[b+12>>2]=d;c[d+8>>2]=b;b=d}while(0);if(f|0){d=c[j+28>>2]|0;a=58316+(d<<2)|0;if((c[a>>2]|0)==(j|0)){c[a>>2]=b;if(!b){c[14504]=c[14504]&~(1<>2]|0)==(j|0)?h:f+20|0)>>2]=b;if(!b)break}c[b+24>>2]=f;a=j+16|0;d=c[a>>2]|0;if(d|0){c[b+16>>2]=d;c[d+24>>2]=b}d=c[a+4>>2]|0;if(d|0){c[b+20>>2]=d;c[d+24>>2]=b}}}while(0);c[i+4>>2]=g|1;c[i+g>>2]=g;if((i|0)==(c[14508]|0)){c[14505]=g;return}else a=g}else{c[d>>2]=b&-2;c[i+4>>2]=a|1;c[i+a>>2]=a}d=a>>>3;if(a>>>0<256){b=58052+(d<<1<<2)|0;a=c[14503]|0;d=1<>2]|0}c[d>>2]=i;c[a+12>>2]=i;c[i+8>>2]=a;c[i+12>>2]=b;return}d=a>>>8;if(d)if(a>>>0>16777215)f=31;else{h=(d+1048320|0)>>>16&8;j=d<>>16&4;j=j<>>16&2;f=14-(g|h|f)+(j<>>15)|0;f=a>>>(f+7|0)&1|f<<1}else f=0;b=58316+(f<<2)|0;c[i+28>>2]=f;c[i+20>>2]=0;c[i+16>>2]=0;d=c[14504]|0;e=1<>2]=i;c[i+24>>2]=b;c[i+12>>2]=i;c[i+8>>2]=i;return}d=c[b>>2]|0;a:do if((c[d+4>>2]&-8|0)!=(a|0)){f=a<<((f|0)==31?0:25-(f>>>1)|0);while(1){e=d+16+(f>>>31<<2)|0;b=c[e>>2]|0;if(!b)break;if((c[b+4>>2]&-8|0)==(a|0)){d=b;break a}else{f=f<<1;d=b}}c[e>>2]=i;c[i+24>>2]=d;c[i+12>>2]=i;c[i+8>>2]=i;return}while(0);h=d+8|0;j=c[h>>2]|0;c[j+12>>2]=i;c[h>>2]=i;c[i+8>>2]=j;c[i+12>>2]=d;c[i+24>>2]=0;return}function SO(a){a=a|0;var b=0,d=0;d=aP()|0;b=c[d>>2]|0;a=b+a|0;if((a|0)<0){c[(vx()|0)>>2]=48;d=-1;return d|0}if(a>>>0>(Ca()|0)>>>0?(Ea(a|0)|0)==0:0){c[(vx()|0)>>2]=48;d=-1;return d|0}c[d>>2]=a;d=b;return d|0}function TO(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=a&65535;e=b&65535;c=C(e,f)|0;d=a>>>16;a=(c>>>16)+(C(e,d)|0)|0;e=b>>>16;b=C(e,f)|0;return (F((a>>>16)+(C(e,d)|0)+(((a&65535)+b|0)>>>16)|0),a+b<<16|c&65535|0)|0}function UO(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=a;f=c;c=TO(e,f)|0;a=G()|0;return (F((C(b,f)|0)+(C(d,e)|0)+a|a&0|0),c|0|0)|0}function VO(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;c=a+c>>>0;return (F(b+d+(c>>>0>>0|0)>>>0|0),c|0)|0}function WO(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;d=b-d-(c>>>0>a>>>0|0)>>>0;return (F(d|0),a-c>>>0|0)|0}function XO(a){a=a|0;return (a?31-(D(a^a-1)|0)|0:32)|0} +function vf(a,b,d,e,g,h){a=a|0;b=b|0;d=d|0;e=e|0;g=g|0;h=h|0;var 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,z=0,A=0,B=0.0,C=0,D=0,E=0,F=0,G=0;G=zb;zb=zb+32|0;l=G+20|0;j=G+16|0;i=G+12|0;k=G+8|0;D=G+4|0;C=G;a:do if((d|0)<0)d=-1;else switch(d|0){case 0:{q=+((g|0)/8|0|0);r=+((g*7|0)/8|0|0);s=+((h|0)/8|0|0);t=+((h*7|0)/8|0|0);p=+((g|0)/2|0|0);o=+((h|0)/2|0|0);n=0.0;i=0;d=-1;b:while(1){switch(c[a+(i*24|0)+12>>2]|0){case -1:break b;case 0:{m=+f[a+(i*24|0)+16>>2];if((!(mr)?(u=+f[a+(i*24|0)+20>>2],!(ut)):0)?(B=m-p,v=u-o,v=B*B+v*v,v>n):0){m=v;d=i}else m=n;break}default:m=n}n=m;i=i+1|0}if((d|0)==-1){d=-1;break a}c[a+(d*24|0)+12>>2]=1;break a}case 1:{r=+((g|0)/8|0|0);q=+((g*7|0)/8|0|0);p=+((h|0)/8|0|0);o=+((h*7|0)/8|0|0);i=e+4|0;n=0.0;j=0;d=-1;c:while(1){switch(c[a+(j*24|0)+12>>2]|0){case -1:break c;case 0:{m=+f[a+(j*24|0)+16>>2];if((!(mq)?(s=+f[a+(j*24|0)+20>>2],!(so)):0)?(B=m-+f[e>>2],t=s-+f[i>>2],t=B*B+t*t,t>n):0){m=t;d=j}else m=n;break}default:m=n}n=m;j=j+1|0}if((d|0)==-1){d=-1;break a}c[a+(d*24|0)+12>>2]=1;break a}case 2:{r=+((g|0)/8|0|0);p=+((g*7|0)/8|0|0);q=+((h|0)/8|0|0);o=+((h*7|0)/8|0|0);i=e+12|0;j=e+4|0;g=e+8|0;n=0.0;k=0;d=-1;d:while(1){switch(c[a+(k*24|0)+12>>2]|0){case -1:break d;case 0:{m=+f[a+(k*24|0)+16>>2];if((!(mp)?(w=+f[a+(k*24|0)+20>>2],!(wo)):0)?(x=+f[e>>2],B=+f[j>>2],x=(m-x)*(+f[i>>2]-B)-(w-B)*(+f[g>>2]-x),x=x*x,x>n):0){m=x;d=k}else m=n;break}default:m=n}n=m;k=k+1|0}if((d|0)==-1){d=-1;break a}c[a+(d*24|0)+12>>2]=1;break a}case 3:{wf(e,e+8|0,l,j);wf(e,e+16|0,i,k);B=+((g|0)/8|0|0);w=+((g*7|0)/8|0|0);x=+((h|0)/8|0|0);v=+((h*7|0)/8|0|0);z=e+24|0;A=e+28|0;u=+f[i>>2];t=+f[j>>2];q=u*t;s=+f[k>>2];r=+f[l>>2];p=s*r;b=!(q-p>=0.0);h=!(p-q>=0.0);k=b?2:1;l=b?1:2;y=0;d=-1;q=0.0;e:while(1){f:do switch(c[a+(y*24|0)+12>>2]|0){case -1:break e;case 0:{m=+f[a+(y*24|0)+16>>2];if(!(mw)?(E=a+(y*24|0)+20|0,p=+f[E>>2],!(pv)):0){f[z>>2]=m;c[A>>2]=c[E>>2];wf(e,z,D,C);p=+f[D>>2];if(!b){m=+f[C>>2];if(!(t*p-r*m>=0.0))F=39;else{g=!(s*p-u*m>=0.0);i=1;j=g?3:2;g=g?2:3}}else{m=+f[C>>2];F=39}do if((F|0)==39){F=0;n=s*p;o=u*m;if(h|!(n-o>=0.0))if(o-n>=0.0?!(r*m-t*p>=0.0):1){m=q;break f}else{i=3;j=k;g=l;break}else{g=!(t*p-r*m>=0.0);i=2;j=g?3:1;g=g?1:3;break}}while(0);m=+xf(e,i,j,g);if(m>q)d=y;else m=q}else m=q;break}default:m=q}while(0);y=y+1|0;q=m}if((d|0)!=-1)c[a+(d*24|0)+12>>2]=1;break a}default:{l=0;g:while(1){d=b+(l*24|0)+12|0;h:do switch(c[d>>2]|0){case -1:break g;case 0:{c[d>>2]=1;k=b+(l*24|0)|0;j=b+(l*24|0)+4|0;g=b+(l*24|0)+8|0;d=0;while(1){i=a+(d*24|0)+12|0;switch(c[i>>2]|0){case -1:break h;case 0:{if(((c[k>>2]|0)==(c[a+(d*24|0)>>2]|0)?(c[j>>2]|0)==(c[a+(d*24|0)+4>>2]|0):0)?(c[g>>2]|0)==(c[a+(d*24|0)+8>>2]|0):0){F=55;break g}break}default:{}}d=d+1|0}}default:{}}while(0);l=l+1|0}if((F|0)==55){c[i>>2]=1;break a}c[b+12>>2]=-1;d=c[14077]|0;if(!d){Fz(Ua(0)|0);d=c[14077]|0}i=d+1|0;c[14077]=(i|0)==128?0:i;i=0;d=0;i:while(1){switch(c[a+(i*24|0)+12>>2]|0){case -1:break i;case 0:{d=d+1|0;break}default:{}}i=i+1|0}if(!d){d=-1;break a}g=~~(+(d|0)*+(Gz()|0)*4.656612873077393e-10);k=0;j=0;j:while(1){i=a+(k*24|0)+12|0;d=c[i>>2]|0;switch(d|0){case -1:break a;case 0:{if((j|0)==(g|0))break j;d=j+1|0;break}default:d=j}k=k+1|0;j=d}c[i>>2]=1;d=k;break a}}while(0);zb=G;return d|0}function wf(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0.0,g=0.0;e=+f[b>>2]-+f[a>>2];g=+f[b+4>>2]-+f[a+4>>2];e=+u(+(e*e+g*g));if(!(e==0.0)){f[c>>2]=g/e;f[d>>2]=(+f[b>>2]-+f[a>>2])/e}return}function xf(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0.0;c=a+(c<<3)|0;e=+yf(a,a+(b<<3)|0,c);return +(e+ +yf(a,c,a+(d<<3)|0))}function yf(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0,e=0.0;d=+f[a>>2];e=+f[a+4>>2];d=((+f[b>>2]-d)*(+f[c+4>>2]-e)-(+f[b+4>>2]-e)*(+f[c>>2]-d))*.5;return +(d<0.0?-d:d)}function zf(b,d,e){b=b|0;d=d|0;e=e|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0;M=zb;zb=zb+1248|0;L=M+1232|0;K=M+1224|0;J=M+1208|0;I=M+1200|0;H=M+1184|0;G=M+1176|0;F=M+1160|0;E=M+1152|0;D=M+1144|0;C=M+1136|0;B=M+1128|0;A=M+1120|0;z=M+1112|0;y=M+1104|0;x=M+1096|0;w=M+1088|0;v=M+1080|0;u=M+1072|0;p=M+1064|0;l=M+1056|0;k=M+1048|0;j=M+1040|0;i=M+1032|0;h=M+1024|0;q=M+768|0;s=M+512|0;r=M+1236|0;g=M;do if(((d|0)!=0?(a[d>>0]|0)!=0:0)?(Fx(d,41905)|0)!=0:0){c[h>>2]=b;c[h+4>>2]=d;Xy(g,22627,h)|0;d=Qz(g,21853)|0;if(!d){c[i>>2]=b;_e(0,3,21855,i);t=Gx(c[(vx()|0)>>2]|0)|0;c[j>>2]=58519;c[j+4>>2]=t;_e(0,3,21881,j);t=0;break}else{o=d;d=1;m=8;break}}else m=4;while(0);if((m|0)==4){ez(s,b,255)|0;a[s+255>>0]=0;o=0;d=0;m=8}do if((m|0)==8){n=MO(1140)|0;if(!n){_e(0,3,42700,k);Fa(1)}k=(d|0)!=0;if(k){if(!(Af(q,o)|0)){Wz(o)|0;NO(n);t=0;break}c[l>>2]=r;if((_z(q,21887,l)|0)!=1){Wz(o)|0;NO(n);t=0;break}d=c[r>>2]|0;if((d|0)<1){Wz(o)|0;NO(n);t=0;break}}else d=1;c[n+4>>2]=d;c[n+152>>2]=0;j=MO(d*112|0)|0;c[n>>2]=j;if(!j){_e(0,3,42700,p);Fa(1)}i=(e|0)==0;g=0;a:while(1){c[r>>2]=g;if((g|0)>=(d|0)){m=57;break}c[u>>2]=g+1;_e(0,1,21890,u);if(k){if(!(Af(q,o)|0)){m=57;break}c[v>>2]=s;if((_z(q,21914,v)|0)!=1){m=57;break}Of(s)|0}_e(0,1,21917,w);p=jf(s)|0;c[j+((c[r>>2]|0)*112|0)>>2]=p;if(!p){m=26;break}_e(0,1,21966,y);_e(0,1,21976,z);p=rf(s,41905)|0;c[j+((c[r>>2]|0)*112|0)+4>>2]=p;if(!p){m=29;break}_e(0,1,21966,B);if(i)c[j+((c[r>>2]|0)*112|0)+8>>2]=0;else{_e(0,1,22027,C);Of(s)|0;p=pf(s,22046,e)|0;c[j+((c[r>>2]|0)*112|0)+8>>2]=p;if(!p){m=33;break}_e(0,1,21966,E)}b:do if(k){if(!(Af(q,o)|0)){m=57;break a}p=c[r>>2]|0;c[F>>2]=j+(p*112|0)+12;c[F+4>>2]=j+(p*112|0)+16;c[F+8>>2]=j+(p*112|0)+20;c[F+12>>2]=j+(p*112|0)+24;if((_z(q,22080,F)|0)!=4){m=40;break a}if(!(Af(q,o)|0)){m=57;break a}p=c[r>>2]|0;c[H>>2]=j+(p*112|0)+28;c[H+4>>2]=j+(p*112|0)+32;c[H+8>>2]=j+(p*112|0)+36;c[H+12>>2]=j+(p*112|0)+40;if((_z(q,22080,H)|0)!=4){m=43;break a}if(!(Af(q,o)|0)){m=57;break a}p=c[r>>2]|0;c[J>>2]=j+(p*112|0)+44;c[J+4>>2]=j+(p*112|0)+48;c[J+8>>2]=j+(p*112|0)+52;c[J+12>>2]=j+(p*112|0)+56;if((_z(q,22080,J)|0)!=4){m=47;break a}g=c[r>>2]|0}else{g=c[r>>2]|0;h=0;while(1){if((h|0)==3)break b;b=0;while(1){if((b|0)==4)break;f[j+(g*112|0)+12+(h<<4)+(b<<2)>>2]=(h|0)==(b|0)?1.0:0.0;b=b+1|0}h=h+1|0}}while(0);Bd(j+(g*112|0)+12|0,j+(g*112|0)+60|0)|0;Nf(s,256,22128)|0;g=MO(256)|0;c[j+((c[r>>2]|0)*112|0)+108>>2]=g;if(!g){m=55;break}ez(g,s,256)|0;g=(c[r>>2]|0)+1|0}if((m|0)==26){c[x>>2]=s;_e(0,3,21935,x);NO(j);NO(n);if(!o){t=0;break}Wz(o)|0;t=0;break}else if((m|0)==29){c[A>>2]=s;_e(0,3,21996,A);lf(j+((c[r>>2]|0)*112|0)|0)|0;NO(j);NO(n);if(!o){t=0;break}Wz(o)|0;t=0;break}else if((m|0)==33){c[D>>2]=s;_e(0,3,22050,D);sf(j+((c[r>>2]|0)*112|0)+4|0)|0;lf(j+((c[r>>2]|0)*112|0)|0)|0;NO(j);NO(n);if(!o){t=0;break}Wz(o)|0;t=0;break}else if((m|0)==40){_e(0,3,22092,G);Wz(o)|0;Fa(0)}else if((m|0)==43){_e(0,3,22092,I);Wz(o)|0;Fa(0)}else if((m|0)==47){_e(0,3,22092,K);Wz(o)|0;Fa(0)}else if((m|0)==55){_e(0,3,42700,L);Fa(1)}else if((m|0)==57){if(o|0)Wz(o)|0;if((c[r>>2]|0)>=(d|0)){t=n;break}Fa(0)}}while(0);zb=M;return t|0}function Af(b,c){b=b|0;c=c|0;var d=0;a:while(1){d=Az(b,256,c)|0;if(!d){d=0;break}switch(a[b>>0]|0){case 35:case 10:break;default:break a}}return d|0}function Bf(a,b){a=a|0;b=b|0;var d=0,e=0;if(!a)d=-1;else{c[a+152>>2]=1;e=0;while(1){if((e|0)==3)break;d=0;while(1){if((d|0)==4)break;c[a+8+(e<<4)+(d<<2)>>2]=c[b+(e<<4)+(d<<2)>>2];d=d+1|0}e=e+1|0}c[a+168>>2]=-1;d=0}return d|0}function Cf(b,e,g,h,i,j,k,l,m,n,o,p){b=b|0;e=e|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;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,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;X=zb;zb=zb+80|0;F=X+8|0;E=X;Q=X+72|0;O=X+60|0;P=X+48|0;D=X+36|0;U=X+32|0;S=X+24|0;T=X+16|0;V=j+16|0;A=c[V>>2]|0;W=j+20|0;w=c[W>>2]|0;y=g+-1|0;z=h+-1|0;x=0;while(1){if(x>>>0>=3)break;q=c[m+(x<<3)>>2]|0;if((q|0)<0)break;u=q&-4|2;q=((c[m+(x<<3)+4>>2]|0)/4|0)<<2|2;v=u-k|0;v=(v|0)>0?v:0;u=u+k|0;u=(u|0)<(g|0)?u:y;s=q-l|0;q=q+l|0;q=(q|0)<(h|0)?q:z;s=(s|0)>0?s:0;while(1){if((s|0)>(q|0))break;r=v;t=e+((C(s,g)|0)+v)|0;while(1){if((r|0)>(u|0))break;a[t>>0]=0;r=r+1|0;t=t+1|0}s=s+1|0}x=x+1|0}c[Q>>2]=0;B=w<<1;z=A<<1;L=j+12|0;K=j+8|0;y=0;r=1;while(1){if(y>>>0>=3){J=28;break}q=c[m+(y<<3)>>2]|0;if((q|0)<0){J=14;break}v=q&-4|2;w=((c[m+(y<<3)+4>>2]|0)/4|0)<<2|2;u=w+l|0;x=v-k|0;v=v+k|0;w=w-l|0;q=r;a:while(1){if((w|0)>(u|0))break;b:do if((w|0)>=(z|0)){if((w+B|0)>=(h|0))break a;t=C(w,g)|0;s=x;while(1){if((s|0)>(v|0))break b;if((s|0)>=(c[K>>2]<<1|0)){if(((c[L>>2]<<1)+s|0)>=(g|0))break b;r=e+(s+t)|0;if(!(a[r>>0]|0)){a[r>>0]=1;Df(b,g,i,j,s,w,U);Ef(s,w,c[U>>2]|0,Q,O,P,D);q=0}}s=s+4|0}}while(0);w=w+4|0}y=y+1|0;r=q}if((J|0)==14)if(!r)J=28;else q=-1;if((J|0)==28){I=j+4|0;q=C((c[j>>2]<<3)+32|0,(c[I>>2]<<1)+8|0)|0;H=MO(q)|0;if(!H){_e(0,3,42700,E);Fa(1)}G=MO(q)|0;if(!G){_e(0,3,42700,F);Fa(1)}E=j+36|0;m=0;q=-1;r=0;while(1){if((m|0)>=(c[Q>>2]|0))break;u=c[j>>2]|0;s=c[I>>2]|0;c:do if((c[E>>2]|0)==(C(s,u)|0)){switch(i|0){case 5:case 12:case 13:case 14:break;default:{J=40;break c}}k=P+(m<<2)|0;F=c[k>>2]|0;l=F+-3-(c[V>>2]<<1)|0;if((((l|0)>=0?(F+3+(c[W>>2]<<1)|0)<(h|0):0)?(N=O+(m<<2)|0,M=c[N>>2]|0,R=M+-3-(c[K>>2]<<1)|0,(R|0)>=0):0)?(M+3+(c[L>>2]<<1)|0)<(g|0):0){e=(s<<1)+6|0;t=(u<<2)+16|0;s=0;v=H;w=G;while(1){if((s|0)>=(t|0))break;c[v>>2]=0;c[w>>2]=0;s=s+1|0;v=v+4|0;w=w+4|0}D=(u<<1)+6|0;B=0;z=H;u=G;A=b+(R+(C(l,g)|0))|0;while(1){if((B|0)>=(e|0))break;x=v+8|0;t=0;s=w;while(1){if((t|0)==2)break;c[v>>2]=0;c[s>>2]=0;c[S+(t<<2)>>2]=0;c[T+(t<<2)>>2]=0;t=t+1|0;v=v+4|0;s=s+4|0}y=0;v=x;t=z+8|0;w=w+8|0;u=u+8|0;s=A;while(1){if((y|0)>=(D|0))break;x=y&1;F=S+(x<<2)|0;z=(c[F>>2]|0)+(d[s>>0]|0)|0;c[F>>2]=z;F=d[s>>0]|0;F=C(F,F)|0;x=T+(x<<2)|0;F=F+(c[x>>2]|0)|0;c[x>>2]=F;c[v>>2]=(c[t>>2]|0)+z;c[w>>2]=(c[u>>2]|0)+F;y=y+1|0;v=v+4|0;t=t+4|0;w=w+4|0;u=u+4|0;s=s+1|0}B=B+1|0;z=t;A=A+g|0}x=0;while(1){if((x|0)==7)break c;t=x+l|0;u=x+2|0;w=x+-3|0;v=0;while(1){if((v|0)==7)break;Ff(b,g,v+R|0,t,j,H,G,v+2|0,u,U);s=c[U>>2]|0;if((s|0)>(r|0)){c[n>>2]=v+-3+(c[N>>2]|0);c[o>>2]=w+(c[k>>2]|0);f[p>>2]=+(s|0)/1.0e4;q=0;r=s}v=v+1|0}x=x+1|0}}else J=40}else J=40;while(0);d:do if((J|0)==40){J=0;x=c[P+(m<<2)>>2]|0;v=x+3|0;w=O+(m<<2)|0;x=x+-3|0;while(1){if((x|0)>(v|0))break d;e:do if((x|0)>=(c[V>>2]<<1|0)){if(((c[W>>2]<<1)+x|0)>=(h|0))break d;u=c[w>>2]|0;t=u+3|0;u=u+-3|0;while(1){if((u|0)>(t|0))break e;if((u|0)>=(c[K>>2]<<1|0)){if(((c[L>>2]<<1)+u|0)>=(g|0))break e;Df(b,g,i,j,u,x,U);s=c[U>>2]|0;if((s|0)>(r|0)){c[n>>2]=u;c[o>>2]=x;f[p>>2]=+(s|0)/1.0e4;q=0;r=s}}u=u+1|0}}while(0);x=x+1|0}}while(0);m=m+1|0}NO(H);NO(G)}zb=X;return q|0}function Df(a,e,f,g,h,i,j){a=a|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,v=0,w=0;k=c[g+24>>2]|0;a:do switch(f|0){case 5:case 12:case 13:case 14:{w=0-(c[g+8>>2]|0)|0;r=c[g+12>>2]|0;q=0-(c[g+16>>2]|0)|0;s=c[g+20>>2]|0;v=e<<1;t=q;n=k;q=a+((w<<1)+h+(C((q<<1)+i|0,e)|0))|0;k=0;f=0;l=0;while(1){if((t|0)>(s|0)){m=k;break a}p=w;o=q;m=k;while(1){if((p|0)>(r|0))break;k=b[n>>1]|0;if(k<<16>>16!=4096){e=d[o>>0]|0;m=m+e|0;f=(C(e,e)|0)+f|0;l=(C(e,k&65535)|0)+l|0}p=p+1|0;n=n+2|0;o=o+2|0}t=t+1|0;q=q+v|0;k=m}}default:{if(f>>>0<2){r=c[g+20>>2]|0;t=g+8|0;v=g+12|0;s=0-(c[g+16>>2]|0)|0;m=0;f=0;l=0;while(1){if((s|0)>(r|0))break a;w=(C((s<<1)+i|0,e)|0)+h|0;o=c[t>>2]|0;p=c[v>>2]|0;q=0-o|0;o=a+((w-(o<<1)|0)*3|0)|0;while(1){if((q|0)>(p|0))break;n=b[k>>1]|0;if(n<<16>>16!=4096){w=(((d[o+1>>0]|0)+(d[o>>0]|0)+(d[o+2>>0]|0)|0)>>>0)/3|0;m=w+m|0;f=(C(w,w)|0)+f|0;l=(C(w,n&65535)|0)+l|0}q=q+1|0;k=k+2|0;o=o+6|0}s=s+1|0}}if((f|1|0)==3){r=c[g+20>>2]|0;t=g+8|0;v=g+12|0;s=0-(c[g+16>>2]|0)|0;m=0;f=0;l=0;while(1){if((s|0)>(r|0))break a;w=(C((s<<1)+i|0,e)|0)+h|0;o=c[t>>2]|0;p=c[v>>2]|0;q=0-o|0;o=a+(w-(o<<1)<<2)|0;while(1){if((q|0)>(p|0))break;n=b[k>>1]|0;if(n<<16>>16!=4096){w=(((d[o+1>>0]|0)+(d[o>>0]|0)+(d[o+2>>0]|0)|0)>>>0)/3|0;m=w+m|0;f=(C(w,w)|0)+f|0;l=(C(w,n&65535)|0)+l|0}q=q+1|0;k=k+2|0;o=o+8|0}s=s+1|0}}if((f|2|0)==6){r=c[g+20>>2]|0;t=g+8|0;v=g+12|0;s=0-(c[g+16>>2]|0)|0;m=0;f=0;l=0;while(1){if((s|0)>(r|0))break a;w=(C((s<<1)+i|0,e)|0)+h|0;o=c[t>>2]|0;p=c[v>>2]|0;q=0-o|0;o=a+(w-(o<<1)<<2)|0;while(1){if((q|0)>(p|0))break;n=b[k>>1]|0;if(n<<16>>16!=4096){w=(((d[o+2>>0]|0)+(d[o+1>>0]|0)+(d[o+3>>0]|0)|0)>>>0)/3|0;m=w+m|0;f=(C(w,w)|0)+f|0;l=(C(w,n&65535)|0)+l|0}q=q+1|0;k=k+2|0;o=o+8|0}s=s+1|0}}switch(f|0){case 7:{r=c[g+20>>2]|0;t=g+8|0;v=g+12|0;s=0-(c[g+16>>2]|0)|0;m=0;f=0;l=0;while(1){if((s|0)>(r|0))break a;w=(C((s<<1)+i|0,e)|0)+h|0;o=c[t>>2]|0;p=c[v>>2]|0;q=0-o|0;o=a+(w-(o<<1)<<1)|0;while(1){if((q|0)>(p|0))break;n=b[k>>1]|0;if(n<<16>>16!=4096){w=d[o+1>>0]|0;m=m+w|0;f=(C(w,w)|0)+f|0;l=(C(w,n&65535)|0)+l|0}q=q+1|0;k=k+2|0;o=o+4|0}s=s+1|0}}case 8:{r=c[g+20>>2]|0;t=g+8|0;v=g+12|0;s=0-(c[g+16>>2]|0)|0;m=0;f=0;l=0;while(1){if((s|0)>(r|0))break a;w=(C((s<<1)+i|0,e)|0)+h|0;o=c[t>>2]|0;p=c[v>>2]|0;q=0-o|0;o=a+(w-(o<<1)<<1)|0;while(1){if((q|0)>(p|0))break;n=b[k>>1]|0;if(n<<16>>16!=4096){w=d[o>>0]|0;m=m+w|0;f=(C(w,w)|0)+f|0;l=(C(w,n&65535)|0)+l|0}q=q+1|0;k=k+2|0;o=o+4|0}s=s+1|0}}default:{m=0;f=0;l=0;break a}}}}while(0);k=c[g+36>>2]|0;f=f-((C(m,m)|0)/(k|0)|0)|0;if(!f)f=0;else{e=(l-((C(c[g+32>>2]|0,m)|0)/(k|0)|0)|0)*100|0;f=(((e|0)/(c[g+28>>2]|0)|0)*100|0)/(~~+u(+(+(f|0)))|0)|0}c[j>>2]=f;return}function Ef(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;i=c[e>>2]|0;do if(!i){c[f>>2]=a;c[g>>2]=b;c[h>>2]=d;c[e>>2]=1}else{j=0;while(1){if((j|0)>=(i|0))break;if((c[h+(j<<2)>>2]|0)<(d|0))break;j=j+1|0}if((j|0)==(i|0)){if(i>>>0>=3)break;c[f+(i<<2)>>2]=a;c[g+(i<<2)>>2]=b;c[h+(i<<2)>>2]=d;c[e>>2]=(c[e>>2]|0)+1;break}if((i|0)==3)i=2;else c[e>>2]=i+1;while(1){if((i|0)<=(j|0))break;e=i+-1|0;c[f+(i<<2)>>2]=c[f+(e<<2)>>2];c[g+(i<<2)>>2]=c[g+(e<<2)>>2];c[h+(i<<2)>>2]=c[h+(e<<2)>>2];i=e}c[f+(i<<2)>>2]=a;c[g+(i<<2)>>2]=b;c[h+(i<<2)>>2]=d}while(0);return}function Ff(a,b,f,g,h,i,j,k,l,m){a=a|0;b=b|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;var n=0,o=0,p=0,q=0,r=0,s=0;q=a+((C(g,b)|0)+f)|0;r=c[h+4>>2]|0;p=b<<1;b=c[h>>2]|0;o=0;a=c[h+24>>2]|0;s=0;while(1){if((o|0)>=(r|0))break;n=0;f=q;g=s;while(1){if((n|0)>=(b|0))break;s=(C(e[a>>1]|0,d[f>>0]|0)|0)+g|0;n=n+1|0;a=a+2|0;f=f+2|0;g=s}o=o+1|0;q=q+p|0;s=g}a=b<<1;q=a+8|0;f=k+-2|0;a=f+a|0;g=l+-2|0;l=C(q,g+(r<<1)|0)|0;g=C(q,g)|0;k=l+a|0;r=g+f|0;l=l+f|0;a=g+a|0;g=(c[i+(r<<2)>>2]|0)+(c[i+(k<<2)>>2]|0)-(c[i+(l<<2)>>2]|0)-(c[i+(a<<2)>>2]|0)|0;f=c[h+36>>2]|0;a=(c[j+(r<<2)>>2]|0)+(c[j+(k<<2)>>2]|0)-(c[j+(l<<2)>>2]|0)-(c[j+(a<<2)>>2]|0)-((C(g,g)|0)/(f|0)|0)|0;if(!a)a=0;else{j=(s-((C(c[h+32>>2]|0,g)|0)/(f|0)|0)|0)*100|0;a=(((j|0)/(c[h+28>>2]|0)|0)*100|0)/(~~+u(+(+(a|0)))|0)|0}c[m>>2]=a;return}function Gf(a,b){a=a|0;b=b|0;var d=0,e=0;e=zb;zb=zb+16|0;d=MO(40)|0;if(!d){_e(0,3,42700,e);Fa(1)}c[d+16>>2]=a;c[d+8>>2]=a;c[d+20>>2]=b;c[d+12>>2]=b;b=a+1+b|0;c[d>>2]=b;c[d+4>>2]=b;b=MO(C(b<<1,b)|0)|0;c[d+24>>2]=b;if(!b){_e(0,3,42700,e+8|0);Fa(1)}else{zb=e;return d|0}return 0}function Hf(d,e,g,i,j,k){d=d|0;e=e|0;g=g|0;i=i|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0.0,p=0,q=0,r=0,s=0,t=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0;D=zb;zb=zb+80|0;l=D+60|0;m=D+56|0;y=D+52|0;A=D+48|0;z=D;B=D+64|0;a:do if(!d){x=c[i>>2]|0;z=c[x+(j*20|0)+8>>2]|0;c[l>>2]=z;o=+f[x+(j*20|0)+12>>2];f[m>>2]=o;if((Kf(0,e,(c[h>>2]=z,+f[h>>2]),o,y,A)|0)<0)d=-1;else{s=~~(+f[y>>2]+.5);q=c[k+16>>2]|0;w=k+20|0;t=k+8|0;v=k+12|0;r=i+8|0;j=c[k+24>>2]|0;p=~~(+f[A>>2]+.5)-(q<<1)|0;q=0-q|0;m=0;l=0;d=0;while(1){if((q|0)>(c[w>>2]|0)){n=25;break a}n=c[t>>2]|0;o=+(p|0);i=0-n|0;n=s-(n<<1)|0;while(1){if((i|0)>(c[v>>2]|0))break;if((Mf(0,e,c[(c[g>>2]|0)+(c[r>>2]<<2)>>2]|0,+(n|0),o,B)|0)<0)b[j>>1]=4096;else{A=a[B>>0]|0;b[j>>1]=A&255;A=A&255;m=m+1|0;l=l+A|0;d=(C(A,A)|0)+d|0}i=i+1|0;j=j+2|0;n=n+2|0}p=p+2|0;q=q+1|0}}}else{yd(d+8|0,e,z)|0;w=c[i>>2]|0;e=c[w+(j*20|0)+8>>2]|0;c[l>>2]=e;o=+f[w+(j*20|0)+12>>2];f[m>>2]=o;if((Kf(0,z,(c[h>>2]=e,+f[h>>2]),o,l,m)|0)>=0?(x=d+184|0,(ue(x,+f[l>>2],+f[m>>2],y,A)|0)>=0):0){s=~~(+f[y>>2]+.5);q=c[k+16>>2]|0;w=k+20|0;t=k+8|0;v=k+12|0;r=i+8|0;j=c[k+24>>2]|0;p=~~(+f[A>>2]+.5)-(q<<1)|0;q=0-q|0;m=0;l=0;d=0;while(1){if((q|0)>(c[w>>2]|0)){n=25;break a}n=c[t>>2]|0;o=+(p|0);i=0-n|0;n=s-(n<<1)|0;while(1){if((i|0)>(c[v>>2]|0))break;do if((ve(x,+(n|0),o,y,A)|0)>=0)if((Mf(0,z,c[(c[g>>2]|0)+(c[r>>2]<<2)>>2]|0,+f[y>>2],+f[A>>2],B)|0)<0){b[j>>1]=4096;break}else{e=a[B>>0]|0;b[j>>1]=e&255;e=e&255;m=m+1|0;l=l+e|0;d=(C(e,e)|0)+d|0;break}else b[j>>1]=4096;while(0);i=i+1|0;j=j+2|0;n=n+2|0}p=p+2|0;q=q+1|0}}else d=-1}while(0);if((n|0)==25)if(!m)d=-1;else{c[k+28>>2]=~~+u(+(+(d-((C(l,l)|0)/(m|0)|0)|0)));c[k+32>>2]=l;c[k+36>>2]=m;d=0}zb=D;return d|0}function If(a,b,d,e,g,h){a=a|0;b=b|0;d=d|0;e=e|0;g=g|0;h=h|0;var i=0.0,j=0.0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;r=zb;zb=zb+32|0;k=r+20|0;l=r+16|0;m=r+12|0;n=r+8|0;o=r+4|0;p=r;j=+f[g+8>>2];i=+f[g+12>>2];if((b|0)!=0?(Kf(a,b,j,i,k,n)|0)>=0:0){c[h>>2]=~~+f[k>>2];c[h+4>>2]=~~+f[n>>2];if((d|0)!=0?(Kf(a,d,j,i,l,o)|0)>=0:0){c[h+8>>2]=~~(+f[k>>2]*2.0-+f[l>>2]);c[h+12>>2]=~~(+f[n>>2]*2.0-+f[o>>2]);if((e|0)!=0?(Kf(a,e,j,i,m,p)|0)>=0:0){c[h+16>>2]=~~(+f[m>>2]+(+f[k>>2]*3.0-+f[l>>2]*3.0));g=~~(+f[p>>2]+(+f[n>>2]*3.0-+f[o>>2]*3.0))}else q=10}else q=9}else{c[h>>2]=-1;c[h+4>>2]=-1;q=9}if((q|0)==9){c[h+8>>2]=-1;c[h+12>>2]=-1;q=10}if((q|0)==10){c[h+16>>2]=-1;g=-1}c[h+20>>2]=g;zb=r;return}function Jf(a,b,c,d,e,g){a=a|0;b=b|0;c=+c;d=+d;e=e|0;g=g|0;var h=0,i=0.0,j=0,k=0,l=0,m=0.0;l=zb;zb=zb+64|0;h=l;j=l+52|0;k=l+48|0;if(a){yd(a+8|0,b,h)|0;m=+f[h+44>>2]+(+f[h+32>>2]*c+ +f[h+36>>2]*d);i=(+f[h+12>>2]+(+f[h>>2]*c+ +f[h+4>>2]*d))/m;c=(+f[h+28>>2]+(+f[h+16>>2]*c+ +f[h+20>>2]*d))/m;b=a+184|0;if((ue(b,i,c,e,g)|0)>=0?(ve(b,+f[e>>2],+f[g>>2],j,k)|0)>=0:0){i=i-+f[j>>2];m=c-+f[k>>2];b=(i*i+m*m>1.0)<<31>>31}else b=-1}else{i=+f[b+28>>2]+(+f[b+16>>2]*c+ +f[b+20>>2]*d);m=+f[b+44>>2]+(+f[b+32>>2]*c+ +f[b+36>>2]*d);f[e>>2]=(+f[b+12>>2]+(+f[b>>2]*c+ +f[b+4>>2]*d))/m;f[g>>2]=i/m;b=0}zb=l;return b|0}function Kf(a,b,c,d,e,g){a=a|0;b=b|0;c=+c;d=+d;e=e|0;g=g|0;var h=0,i=0,j=0.0,k=0.0;i=zb;zb=zb+48|0;h=i;if(!a){k=+f[b+28>>2]+(+f[b+16>>2]*c+ +f[b+20>>2]*d);j=+f[b+44>>2]+(+f[b+32>>2]*c+ +f[b+36>>2]*d);f[e>>2]=(+f[b+12>>2]+(+f[b>>2]*c+ +f[b+4>>2]*d))/j;f[g>>2]=k/j;a=0}else{yd(a+8|0,b,h)|0;k=+f[h+44>>2]+(+f[h+32>>2]*c+ +f[h+36>>2]*d);a=(ue(a+184|0,(+f[h+12>>2]+(+f[h>>2]*c+ +f[h+4>>2]*d))/k,(+f[h+28>>2]+(+f[h+16>>2]*c+ +f[h+20>>2]*d))/k,e,g)|0)>>31}zb=i;return a|0}function Lf(a,b,c,d,e,g){a=a|0;b=b|0;c=+c;d=+d;e=e|0;g=g|0;var h=0.0,i=0,j=0,k=0.0,l=0.0,m=0.0,n=0,o=0.0,p=0.0,q=0,r=0,s=0.0;r=zb;zb=zb+64|0;i=r+52|0;j=r+48|0;n=r;if(a)if((ve(a+184|0,c,d,i,j)|0)<0)a=-1;else{yd(a+8|0,b,n)|0;m=+f[n+32>>2];l=+f[i>>2];k=+f[n+36>>2];d=+f[j>>2];c=+f[n+44>>2];h=+f[n+28>>2];o=+f[n+12>>2]-l*c;p=m*l-+f[n>>2];l=l*k-+f[n+4>>2];m=m*d-+f[n+16>>2];k=k*d-+f[n+20>>2];c=d*c;q=5}else{m=+f[b+32>>2];k=+f[b+36>>2];s=+f[b+44>>2];h=+f[b+28>>2];o=+f[b+12>>2]-s*c;p=m*c-+f[b>>2];l=k*c-+f[b+4>>2];m=m*d-+f[b+16>>2];k=k*d-+f[b+20>>2];c=s*d;q=5}if((q|0)==5){c=h-c;h=p*k-l*m;if(h==0.0)a=-1;else{f[e>>2]=(k*o-l*c)/h;f[g>>2]=(p*c-m*o)/h;a=0}}zb=r;return a|0}function Mf(b,d,e,g,h,i){b=b|0;d=d|0;e=e|0;g=+g;h=+h;i=i|0;var j=0,k=0.0,l=0,m=0,n=0,o=0,p=0;p=zb;zb=zb+16|0;n=p+4|0;o=p;if((((Lf(b,d,g,h,n,o)|0)>=0?(k=+f[e+12>>2],l=~~(+f[n>>2]*k/25.399999618530273+.5),(l|0)>=0):0)?(j=c[e+4>>2]|0,(j|0)>(l|0)):0)?(d=c[e+8>>2]|0,m=~~(+(d|0)-k*+f[o>>2]/25.399999618530273+.5),(m|0)>-1&(d|0)>(m|0)):0){j=(C(j,m)|0)+l|0;a[i>>0]=a[(c[e>>2]|0)+j>>0]|0;j=0}else j=-1;zb=p;return j|0}function Nf(a,b,c){a=a|0;b=b|0;c=c|0;return Hd(a,b,c)|0}function Of(a){a=a|0;return Id(a)|0}function Pf(a){a=a|0;return Qf(a,c[a>>2]|0,c[a+4>>2]|0,1)|0}function Qf(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;g=zb;zb=zb+16|0;f=OO(1,4156)|0;if(!f){_e(0,3,42700,g);Fa(1)}else{h=AB(4)|0;Oj(h);c[f>>2]=h;c[f+4>>2]=a;c[f+8>>2]=e;c[f+12>>2]=b;c[f+16>>2]=d;c[f+20>>2]=1;c[f+24>>2]=-1;d=f+28|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;zb=g;return f|0}return 0}function Rf(a){a=a|0;var b=0,d=0;b=c[a>>2]|0;if(!b)b=-1;else{d=c[b>>2]|0;if(d){tk(d);ZA(d);b=c[a>>2]|0}d=c[b+28>>2]|0;if(d){NO(d);b=c[a>>2]|0}d=c[b+36>>2]|0;if(d){NO(d);b=c[a>>2]|0}d=c[b+52>>2]|0;if(d){NO(d);b=c[a>>2]|0}d=c[b+44>>2]|0;if(d){NO(d);b=c[a>>2]|0}NO(b);c[a>>2]=0;b=0}return b|0}function Sf(a){a=a|0;var b=0,d=0;b=c[a>>2]|0;d=b;if(b|0){c[a+4>>2]=d;Vf(b,(c[a+8>>2]|0)-d|0)}return}function Tf(a){a=a|0;var b=0,d=0,e=0,f=0;b=c[a>>2]|0;if(b|0){d=a+4|0;e=c[d>>2]|0;while(1){if((e|0)==(b|0))break;f=e+-20|0;Uf(f);e=f}c[d>>2]=b;f=c[a>>2]|0;Vf(f,(c[a+8>>2]|0)-f|0)}return}function Uf(a){a=a|0;return}function Vf(a,b){a=a|0;b=b|0;Xf(a);return}function Wf(a){a=a|0;Q(a|0)|0;$A()}function Xf(a){a=a|0;ZA(a);return}function Yf(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;s=zb;zb=zb+48|0;r=s+40|0;p=s+32|0;m=s+24|0;k=s+16|0;f=s+8|0;e=s;if((a|0)!=0&(b|0)!=0){e=c[a>>2]|0;do if(!e){e=MO(16)|0;c[a>>2]=e;if(!e){_e(0,3,42700,f);Fa(1)}else{c[e+4>>2]=0;c[e>>2]=0;c[e+12>>2]=0;c[e+8>>2]=0;l=e;d=e;break}}else{l=e;d=e}while(0);f=c[b>>2]|0;if(!f)d=0;else{g=c[l+4>>2]|0;h=c[f+4>>2]|0;i=h+g|0;j=MO(i*132|0)|0;if(!j){_e(0,3,42700,k);Fa(1)}e=0;while(1){if((e|0)>=(g|0))break;fP(j+(e*132|0)|0,(c[l>>2]|0)+(e*132|0)|0,132)|0;e=e+1|0}e=0;while(1){if((e|0)>=(h|0))break;fP(j+((e+g|0)*132|0)|0,(c[f>>2]|0)+(e*132|0)|0,132)|0;e=e+1|0}e=c[l>>2]|0;if(e){NO(e);d=c[a>>2]|0}c[d>>2]=j;h=c[a>>2]|0;c[h+4>>2]=i;k=c[h+12>>2]|0;g=c[b>>2]|0;l=c[g+12>>2]|0;g=g+8|0;h=h+8|0;f=0;d=0;while(1){if((f|0)>=(l|0))break;e=0;while(1){if((e|0)>=(k|0))break;if((c[(c[g>>2]|0)+(f*12|0)+8>>2]|0)==(c[(c[h>>2]|0)+(e*12|0)+8>>2]|0)){q=23;break}else e=e+1|0}if((q|0)==23){q=0;d=d+1|0}f=f+1|0}o=l+k-d|0;n=MO(o*12|0)|0;if(!n){_e(0,3,42700,m);Fa(1)}j=0;while(1){if((j|0)>=(k|0))break;h=(c[a>>2]|0)+8|0;d=c[h>>2]|0;g=d+(j*12|0)+8|0;c[n+(j*12|0)+8>>2]=c[g>>2];d=c[d+(j*12|0)+4>>2]|0;f=0;while(1){if((f|0)>=(l|0))break;e=c[(c[b>>2]|0)+8>>2]|0;if((c[e+(f*12|0)+8>>2]|0)==(c[g>>2]|0))d=(c[e+(f*12|0)+4>>2]|0)+d|0;f=f+1|0}i=n+(j*12|0)|0;m=MO(d*12|0)|0;c[i>>2]=m;if(!m){q=36;break}h=c[(c[h>>2]|0)+(j*12|0)+4>>2]|0;e=0;while(1){if((e|0)>=(h|0))break;g=(c[(c[(c[a>>2]|0)+8>>2]|0)+(j*12|0)>>2]|0)+(e*12|0)|0;m=(c[i>>2]|0)+(e*12|0)|0;c[m>>2]=c[g>>2];c[m+4>>2]=c[g+4>>2];c[m+8>>2]=c[g+8>>2];e=e+1|0}g=0;while(1){if((g|0)>=(l|0))break;e=c[(c[b>>2]|0)+8>>2]|0;if((c[e+(g*12|0)+8>>2]|0)==(c[(c[(c[a>>2]|0)+8>>2]|0)+(j*12|0)+8>>2]|0)){q=43;break}g=g+1|0}a:do if((q|0)==43){q=0;f=0;while(1){if((f|0)>=(c[e+(g*12|0)+4>>2]|0))break a;t=(c[e+(g*12|0)>>2]|0)+(f*12|0)|0;m=(c[i>>2]|0)+((f+h|0)*12|0)|0;c[m>>2]=c[t>>2];c[m+4>>2]=c[t+4>>2];c[m+8>>2]=c[t+8>>2];e=c[(c[b>>2]|0)+8>>2]|0;f=f+1|0}}while(0);c[n+(j*12|0)+4>>2]=d;j=j+1|0}if((q|0)==36){_e(0,3,42700,p);Fa(1)}j=0;d=0;while(1){if((j|0)>=(l|0))break;f=c[(c[b>>2]|0)+8>>2]|0;g=c[f+(j*12|0)+8>>2]|0;e=0;while(1){if((e|0)>=(k|0)){q=53;break}if((g|0)==(c[(c[(c[a>>2]|0)+8>>2]|0)+(e*12|0)+8>>2]|0)){q=52;break}else e=e+1|0}if((q|0)==52){q=0;d=d+1|0}else if((q|0)==53){q=0;i=j+k-d|0;h=n+(i*12|0)|0;c[n+(i*12|0)+8>>2]=g;e=c[f+(j*12|0)+4>>2]|0;t=MO(e*12|0)|0;c[h>>2]=t;if(!t){q=55;break}f=0;while(1){if((f|0)>=(e|0))break;p=(c[(c[(c[b>>2]|0)+8>>2]|0)+(j*12|0)>>2]|0)+(f*12|0)|0;t=(c[h>>2]|0)+(f*12|0)|0;c[t>>2]=c[p>>2];c[t+4>>2]=c[p+4>>2];c[t+8>>2]=c[p+8>>2];f=f+1|0}c[n+(i*12|0)+4>>2]=e}j=j+1|0}if((q|0)==55){_e(0,3,42700,r);Fa(1)}e=c[a>>2]|0;d=e+8|0;f=c[d>>2]|0;if(f){d=f;f=0;while(1){if((f|0)>=(c[e+12>>2]|0))break;NO(c[d+(f*12|0)>>2]|0);t=c[a>>2]|0;e=t;d=c[t+8>>2]|0;f=f+1|0}NO(d);d=(c[a>>2]|0)+8|0}c[d>>2]=n;c[(c[a>>2]|0)+12>>2]=o;Zf(b)|0;d=0}}else{_e(0,3,22132,e);d=-1}zb=s;return d|0}function Zf(a){a=a|0;var b=0,d=0,e=0,f=0;e=zb;zb=zb+16|0;if(a){b=c[a>>2]|0;if(!b)b=0;else{b=c[b>>2]|0;if(b|0)NO(b);b=0;while(1){f=c[a>>2]|0;d=f+8|0;if((b|0)>=(c[f+12>>2]|0))break;NO(c[(c[d>>2]|0)+(b*12|0)>>2]|0);b=b+1|0}NO(c[d>>2]|0);NO(c[a>>2]|0);c[a>>2]=0;b=0}}else{_e(0,3,22192,e);b=-1}zb=e;return b|0}function _f(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;p=zb;zb=zb+64|0;o=p+56|0;n=p+48|0;l=p+40|0;k=p+32|0;j=p+24|0;i=p+8|0;h=p;g=p+60|0;a[g>>0]=a[22236]|0;a[g+1>>0]=a[22237]|0;a[g+2>>0]=a[22238]|0;a:do if((b|0)!=0&(e|0)!=0){m=Ng(b,d,g)|0;if(!m){f=(d|0)!=0;c[i>>2]=b;c[i+4>>2]=f?47597:58519;c[i+8>>2]=f?d:58519;_e(0,3,22290,i);f=-1;break}i=OO(1,16)|0;if(!i){_e(0,3,42700,j);Fa(1)}h=i+4|0;b:do if((AA(h,4,1,m)|0)==1?(f=c[h>>2]|0,(f|0)>=1):0){j=MO(f*132|0)|0;c[i>>2]=j;if(!j){_e(0,3,42700,k);Fa(1)}g=0;while(1){if((g|0)>=(f|0))break;if((AA((c[i>>2]|0)+(g*132|0)|0,8,1,m)|0)!=1)break b;if((AA((c[i>>2]|0)+(g*132|0)+8|0,8,1,m)|0)!=1)break b;if((AA((c[i>>2]|0)+(g*132|0)+16|0,108,1,m)|0)!=1)break b;if((AA((c[i>>2]|0)+(g*132|0)+124|0,4,1,m)|0)!=1)break b;if((AA((c[i>>2]|0)+(g*132|0)+128|0,4,1,m)|0)!=1)break b;f=c[h>>2]|0;g=g+1|0}b=i+12|0;if((AA(b,4,1,m)|0)==1){f=c[b>>2]|0;if((f|0)<1){c[i+8>>2]=0;break}k=MO(f*12|0)|0;d=i+8|0;c[d>>2]=k;if(!k){_e(0,3,42700,l);Fa(1)}h=0;while(1){if((h|0)>=(f|0)){f=32;break}if((AA((c[d>>2]|0)+(h*12|0)+8|0,4,1,m)|0)!=1)break b;if((AA((c[d>>2]|0)+(h*12|0)+4|0,4,1,m)|0)!=1)break b;l=c[d>>2]|0;f=c[l+(h*12|0)+4>>2]|0;g=MO(f*12|0)|0;c[l+(h*12|0)>>2]=g;if(!g){f=29;break}if((AA(g,12,f,m)|0)!=(f|0))break b;f=c[b>>2]|0;h=h+1|0}if((f|0)==29){_e(0,3,42700,n);Fa(1)}else if((f|0)==32){c[e>>2]=i;Wz(m)|0;f=0;break a}}}while(0);_e(0,3,22357,o);f=c[i+8>>2]|0;if(f|0)NO(f);f=c[i>>2]|0;if(f|0)NO(f);NO(i);Wz(m)|0;f=-1}else{_e(0,3,22239,h);f=-1}while(0);zb=p;return f|0}function $f(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;j=zb;zb=zb+16|0;a:do if(!a){_e(0,3,22402,j);e=-1}else{e=c[a+4>>2]|0;i=(b|0)==-1;f=0;while(1){if((f|0)>=(e|0))break;g=(c[a>>2]|0)+(f*132|0)+124|0;h=c[g>>2]|0;if((h|0)==(b|0)|i&(h|0)>-1)c[g>>2]=d;f=f+1|0}h=c[a+12>>2]|0;f=a+8|0;e=0;while(1){if((e|0)>=(h|0)){e=0;break a}g=(c[f>>2]|0)+(e*12|0)+8|0;a=c[g>>2]|0;if((a|0)==(b|0)|i&(a|0)>-1)c[g>>2]=d;e=e+1|0}}while(0);zb=j;return e|0}function ag(){return -1}function bg(a,b){a=a|0;b=b|0;return dg(a,b,cg(b)|0)|0}function cg(a){a=a|0;return Qx(a)|0}function dg(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;l=zb;zb=zb+16|0;k=l+12|0;h=l;j=l+8|0;UE(h,b);if(a[h>>0]|0){i=(c[b>>2]|0)+-12|0;c[j>>2]=c[b+(c[i>>2]|0)+24>>2];i=b+(c[i>>2]|0)|0;g=c[i+4>>2]|0;f=d+e|0;m=ag()|0;e=i+76|0;if(eg(m,c[e>>2]|0)|0){PE(k,i);m=cG(k,57584)|0;m=Hb[c[(c[m>>2]|0)+28>>2]&63](m,32)|0;dG(k);m=m<<24>>24;c[e>>2]=m;e=m}else e=c[e>>2]|0;c[k>>2]=c[j>>2];if(!(fg(k,d,(g&176|0)==32?f:d,f,i,e&255)|0)){m=b+(c[(c[b>>2]|0)+-12>>2]|0)|0;NE(m,c[m+16>>2]|5)}}VE(h);zb=l;return b|0}function eg(a,b){a=a|0;b=b|0;return (a|0)==(b|0)|0}function fg(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0;n=zb;zb=zb+16|0;m=n;i=c[b>>2]|0;a:do if(!i)i=0;else{k=d;j=f-k|0;l=g+12|0;g=c[l>>2]|0;g=(g|0)>(j|0)?g-j|0:0;j=e;k=j-k|0;if((k|0)>0?(Ib[c[(c[i>>2]|0)+48>>2]&63](i,d,k)|0)!=(k|0):0){c[b>>2]=0;i=0;break}do if((g|0)>0){c[m>>2]=0;c[m+4>>2]=0;c[m+8>>2]=0;oO(m,g,h);if((Ib[c[(c[i>>2]|0)+48>>2]&63](i,(a[m+11>>0]|0)<0?c[m>>2]|0:m,g)|0)==(g|0)){qO(m);break}else{c[b>>2]=0;qO(m);i=0;break a}}while(0);f=f-j|0;if((f|0)>0?(Ib[c[(c[i>>2]|0)+48>>2]&63](i,e,f)|0)!=(f|0):0){c[b>>2]=0;i=0;break}c[l>>2]=0}while(0);zb=n;return i|0}function gg(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;i=zb;zb=zb+16|0;g=d;h=i;f=e-g|0;if(f>>>0>4294967279)lO(b);if(f>>>0<11)a[b+11>>0]=f;else{k=f+16&-16;j=AB(k)|0;c[b>>2]=j;c[b+8>>2]=k|-2147483648;c[b+4>>2]=f;b=j}g=e-g|0;f=b;while(1){if((d|0)==(e|0))break;hg(f,d);d=d+1|0;f=f+1|0}a[h>>0]=0;hg(b+g|0,h);zb=i;return}function hg(b,c){b=b|0;c=c|0;a[b>>0]=a[c>>0]|0;return}function ig(a){a=a|0;return a&255|0}function jg(a){a=a|0;if(eg(a,ag()|0)|0)a=~(ag()|0);return a|0}function kg(a){a=a|0;return a&255|0}function lg(b,d){b=b|0;d=d|0;var e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;A=zb;zb=zb+112|0;z=A+48|0;p=A+40|0;n=A+32|0;l=A+24|0;h=A+16|0;g=A+8|0;e=A;w=A+96|0;x=A+84|0;v=A+72|0;y=A+52|0;a:do if((b|0)!=0&(d|0)!=0){i=d+4|0;e=c[i>>2]|0;if(!e){_e(0,3,22499,g);e=-1;break}u=b+28|0;g=c[u>>2]|0;if(g){NO(g);e=c[i>>2]|0;if(!e){c[u>>2]=0;e=0}else j=7}else j=7;b:do if((j|0)==7){t=MO(e*132|0)|0;c[u>>2]=t;if(!t){_e(0,3,42700,h);Fa(1)}g=0;while(1){if((g|0)>=(e|0))break b;fP((c[u>>2]|0)+(g*132|0)|0,(c[d>>2]|0)+(g*132|0)|0,132)|0;e=c[i>>2]|0;g=g+1|0}}while(0);m=b+32|0;c[m>>2]=e;t=b+36|0;e=c[t>>2]|0;if(e|0){i=b+40|0;h=0;while(1){if((h|0)>=(c[i>>2]|0))break;g=c[e+(h*12|0)>>2]|0;if(g){NO(g);e=c[t>>2]|0}h=h+1|0}NO(e)}k=d+12|0;e=c[k>>2]|0;c:do if(!e){c[t>>2]=0;o=0}else{s=MO(e*12|0)|0;c[t>>2]=s;if(!s){_e(0,3,42700,l);Fa(1)}d=d+8|0;j=0;while(1){if((j|0)>=(e|0)){o=e;break c}g=c[d>>2]|0;h=c[t>>2]|0;c[h+(j*12|0)+8>>2]=c[g+(j*12|0)+8>>2];i=g+(j*12|0)+4|0;c[h+(j*12|0)+4>>2]=c[i>>2];i=c[i>>2]|0;if(!i)c[g+(j*12|0)>>2]=0;else{s=MO(i*12|0)|0;c[h+(j*12|0)>>2]=s;if(!s)break;e=g;g=0;while(1){if((g|0)>=(c[e+(j*12|0)+4>>2]|0))break;r=(c[e+(j*12|0)>>2]|0)+(g*12|0)|0;s=(c[(c[t>>2]|0)+(j*12|0)>>2]|0)+(g*12|0)|0;c[s>>2]=c[r>>2];c[s+4>>2]=c[r+4>>2];c[s+8>>2]=c[r+8>>2];e=c[d>>2]|0;g=g+1|0}e=c[k>>2]|0}j=j+1|0}_e(0,3,42700,n);Fa(1)}while(0);s=b+40|0;c[s>>2]=o;i=b+52|0;e=c[i>>2]|0;if(e|0){NO(e);c[i>>2]=0;c[b+56>>2]=0}g=c[k>>2]|0;d:do if((g|0)>0){c[b+56>>2]=g;h=MO(g*68|0)|0;c[i>>2]=h;if(!h){_e(0,3,42700,p);Fa(1)}e=0;while(1){if((e|0)==(g|0))break d;c[h+(e*68|0)+64>>2]=0;e=e+1|0}}while(0);k=c[m>>2]|0;if(!k)e=0;else{l=w+4|0;o=w+8|0;m=x+4|0;p=x+8|0;n=v+4|0;q=v+8|0;e=0;r=0;while(1){if((r|0)>=(c[s>>2]|0)){e=0;break a}d=0;while(1){if((d|0)>=(c[(c[t>>2]|0)+(r*12|0)+4>>2]|0))break;c[w>>2]=0;c[l>>2]=0;c[o>>2]=0;c[x>>2]=0;c[m>>2]=0;c[p>>2]=0;c[v>>2]=0;c[n>>2]=0;c[q>>2]=0;j=0;while(1){if((j|0)>=(k|0))break;g=c[u>>2]|0;i=c[t>>2]|0;e:do if((c[g+(j*132|0)+128>>2]|0)==(c[(c[i+(r*12|0)>>2]|0)+(d*12|0)+8>>2]|0)?(c[g+(j*132|0)+124>>2]|0)==(c[i+(r*12|0)+8>>2]|0):0){mg(y,+f[g+(j*132|0)>>2],+f[g+(j*132|0)+4>>2],+f[g+(j*132|0)+112>>2],+f[g+(j*132|0)+116>>2],(c[g+(j*132|0)+120>>2]|0)!=0);g=c[l>>2]|0;if(g>>>0<(c[o>>2]|0)>>>0){c[g>>2]=c[y>>2];c[g+4>>2]=c[y+4>>2];c[g+8>>2]=c[y+8>>2];c[g+12>>2]=c[y+12>>2];c[g+16>>2]=c[y+16>>2];c[l>>2]=g+20}else ng(w,y);Uf(y);g=c[u>>2]|0;og(y,+f[g+(j*132|0)+8>>2],+f[g+(j*132|0)+12>>2],0.0);g=c[m>>2]|0;if(g>>>0<(c[p>>2]|0)>>>0){c[g>>2]=c[y>>2];c[g+4>>2]=c[y+4>>2];c[g+8>>2]=c[y+8>>2];c[m>>2]=(c[m>>2]|0)+12}else pg(x,y);i=0;while(1){if(i>>>0>=96)break e;h=(c[u>>2]|0)+(j*132|0)+16+i|0;g=c[n>>2]|0;if((g|0)==(c[q>>2]|0))qg(v,h);else{a[g>>0]=a[h>>0]|0;c[n>>2]=(c[n>>2]|0)+1}i=i+1|0}}while(0);j=j+1|0}c[z>>2]=((c[l>>2]|0)-(c[w>>2]|0)|0)/20|0;_e(0,1,22532,z);j=c[t>>2]|0;c[b+60+(e<<2)>>2]=c[j+(r*12|0)+8>>2];j=c[j+(r*12|0)>>2]|0;km(c[b>>2]|0,w,v,x,c[j+(d*12|0)>>2]|0,c[j+(d*12|0)+4>>2]|0,e);Sf(v);rg(x);Tf(w);e=e+1|0;d=d+1|0}r=r+1|0}}}else{_e(0,3,22451,e);e=-1}while(0);zb=A;return e|0}function mg(b,c,d,e,g,h){b=b|0;c=+c;d=+d;e=+e;g=+g;h=h|0;f[b>>2]=c;f[b+4>>2]=d;f[b+8>>2]=e;f[b+12>>2]=g;a[b+16>>0]=h&1;return}function ng(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;h=zb;zb=zb+32|0;e=h;d=a+4|0;f=(((c[d>>2]|0)-(c[a>>2]|0)|0)/20|0)+1|0;g=Ag(a)|0;if(g>>>0>>0)LO(a);else{i=c[a>>2]|0;k=((c[a+8>>2]|0)-i|0)/20|0;j=k<<1;Bg(e,k>>>0>>1>>>0?(j>>>0>>0?f:j):g,((c[d>>2]|0)-i|0)/20|0,a+8|0);g=e+8|0;f=c[g>>2]|0;c[f>>2]=c[b>>2];c[f+4>>2]=c[b+4>>2];c[f+8>>2]=c[b+8>>2];c[f+12>>2]=c[b+12>>2];c[f+16>>2]=c[b+16>>2];c[g>>2]=(c[g>>2]|0)+20;Cg(a,e);Dg(e);zb=h;return}}function og(a,b,c,d){a=a|0;b=+b;c=+c;d=+d;f[a>>2]=b;f[a+4>>2]=c;f[a+8>>2]=d;return}function pg(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;h=zb;zb=zb+32|0;e=h;d=a+4|0;f=(((c[d>>2]|0)-(c[a>>2]|0)|0)/12|0)+1|0;g=wg(a)|0;if(g>>>0>>0)LO(a);else{i=c[a>>2]|0;k=((c[a+8>>2]|0)-i|0)/12|0;j=k<<1;xg(e,k>>>0>>1>>>0?(j>>>0>>0?f:j):g,((c[d>>2]|0)-i|0)/12|0,a+8|0);g=e+8|0;f=c[g>>2]|0;c[f>>2]=c[b>>2];c[f+4>>2]=c[b+4>>2];c[f+8>>2]=c[b+8>>2];c[g>>2]=(c[g>>2]|0)+12;yg(a,e);zg(e);zb=h;return}}function qg(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;i=zb;zb=zb+32|0;f=i;e=b+4|0;g=(c[e>>2]|0)-(c[b>>2]|0)+1|0;h=sg(b)|0;if(h>>>0>>0)LO(b);else{j=c[b>>2]|0;l=(c[b+8>>2]|0)-j|0;k=l<<1;tg(f,l>>>0>>1>>>0?(k>>>0>>0?g:k):h,(c[e>>2]|0)-j|0,b+8|0);h=f+8|0;a[c[h>>2]>>0]=a[d>>0]|0;c[h>>2]=(c[h>>2]|0)+1;ug(b,f);vg(f);zb=i;return}}function rg(a){a=a|0;var b=0,d=0;b=c[a>>2]|0;d=b;if(b|0){c[a+4>>2]=d;Vf(b,(c[a+8>>2]|0)-d|0)}return}function sg(a){a=a|0;return 2147483647}function tg(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=a+12|0;c[f>>2]=0;c[a+16>>2]=e;if(!b)e=0;else e=AB(b)|0;c[a>>2]=e;d=e+d|0;c[a+8>>2]=d;c[a+4>>2]=d;c[f>>2]=e+b;return}function ug(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;e=c[a>>2]|0;h=a+4|0;g=b+4|0;f=(c[h>>2]|0)-e|0;d=(c[g>>2]|0)+(0-f)|0;c[g>>2]=d;if((f|0)>0){fP(d|0,e|0,f|0)|0;e=g;d=c[g>>2]|0}else e=g;g=c[a>>2]|0;c[a>>2]=d;c[e>>2]=g;g=b+8|0;f=c[h>>2]|0;c[h>>2]=c[g>>2];c[g>>2]=f;g=a+8|0;a=b+12|0;h=c[g>>2]|0;c[g>>2]=c[a>>2];c[a>>2]=h;c[b>>2]=c[e>>2];return}function vg(a){a=a|0;var b=0,d=0,e=0,f=0;b=c[a+4>>2]|0;e=a+8|0;d=c[e>>2]|0;while(1){if((d|0)==(b|0))break;f=d+-1|0;c[e>>2]=f;d=f}b=c[a>>2]|0;if(b|0)Vf(b,(c[a+12>>2]|0)-b|0);return}function wg(a){a=a|0;return 357913941}function xg(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=a+12|0;c[f>>2]=0;c[a+16>>2]=e;do if(b)if(b>>>0>357913941){a=P(8)|0;kO(a,38211);c[a>>2]=16392;R(a|0,13960,22)}else{e=AB(b*12|0)|0;break}else e=0;while(0);c[a>>2]=e;d=e+(d*12|0)|0;c[a+8>>2]=d;c[a+4>>2]=d;c[f>>2]=e+(b*12|0);return}function yg(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;e=c[a>>2]|0;h=a+4|0;g=b+4|0;f=(c[h>>2]|0)-e|0;d=(c[g>>2]|0)+(((f|0)/-12|0)*12|0)|0;c[g>>2]=d;if((f|0)>0){fP(d|0,e|0,f|0)|0;e=g;d=c[g>>2]|0}else e=g;g=c[a>>2]|0;c[a>>2]=d;c[e>>2]=g;g=b+8|0;f=c[h>>2]|0;c[h>>2]=c[g>>2];c[g>>2]=f;g=a+8|0;a=b+12|0;h=c[g>>2]|0;c[g>>2]=c[a>>2];c[a>>2]=h;c[b>>2]=c[e>>2];return}function zg(a){a=a|0;var b=0,d=0,e=0,f=0;b=c[a+4>>2]|0;e=a+8|0;d=c[e>>2]|0;while(1){if((d|0)==(b|0))break;f=d+-12|0;c[e>>2]=f;d=f}b=c[a>>2]|0;if(b|0)Vf(b,(c[a+12>>2]|0)-b|0);return}function Ag(a){a=a|0;return 214748364}function Bg(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=a+12|0;c[f>>2]=0;c[a+16>>2]=e;do if(b)if(b>>>0>214748364){a=P(8)|0;kO(a,38211);c[a>>2]=16392;R(a|0,13960,22)}else{e=AB(b*20|0)|0;break}else e=0;while(0);c[a>>2]=e;d=e+(d*20|0)|0;c[a+8>>2]=d;c[a+4>>2]=d;c[f>>2]=e+(b*20|0);return}function Cg(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;d=c[a>>2]|0;g=a+4|0;e=b+4|0;f=c[g>>2]|0;while(1){if((f|0)==(d|0))break;i=(c[e>>2]|0)+-20|0;h=f+-20|0;c[i>>2]=c[h>>2];c[i+4>>2]=c[h+4>>2];c[i+8>>2]=c[h+8>>2];c[i+12>>2]=c[h+12>>2];c[i+16>>2]=c[h+16>>2];c[e>>2]=(c[e>>2]|0)+-20;f=h}i=c[a>>2]|0;c[a>>2]=c[e>>2];c[e>>2]=i;i=b+8|0;h=c[g>>2]|0;c[g>>2]=c[i>>2];c[i>>2]=h;a=a+8|0;i=b+12|0;h=c[a>>2]|0;c[a>>2]=c[i>>2];c[i>>2]=h;c[b>>2]=c[e>>2];return}function Dg(a){a=a|0;var b=0,d=0,e=0;b=c[a+4>>2]|0;e=a+8|0;while(1){d=c[e>>2]|0;if((d|0)==(b|0))break;d=d+-20|0;c[e>>2]=d;Uf(d)}b=c[a>>2]|0;if(b|0)Vf(b,(c[a+12>>2]|0)-b|0);return}function Eg(a,b){a=a|0;b=b|0;var d=0,e=0,h=0,i=0,j=0,k=0.0,l=0.0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;u=zb;zb=zb+48|0;r=u+16|0;o=u+8|0;d=u;e=u+44|0;h=u+40|0;do if((a|0)!=0&(b|0)!=0){i=c[a+12>>2]|0;j=c[a+16>>2]|0;m=c[a+20>>2]|0;n=(m|0)==1;if(!n){d=Hg(b,i,j,m,e,h)|0;if(!d){d=-1;break}else{s=d;t=1}}else{s=b;t=0}Km(c[a>>2]|0,s,i,j)|0;i=lp(c[a>>2]|0)|0;i=(c[i+4>>2]|0)-(c[i>>2]|0)|0;d=(i|0)/20|0;j=a+48|0;c[j>>2]=d;a:do if(!i){e=c[a+56>>2]|0;b=a+52|0;d=0;while(1){if((d|0)>=(e|0))break a;c[(c[b>>2]|0)+(d*68|0)+60>>2]=-1;d=d+1|0}}else{i=a+44|0;b=c[i>>2]|0;if(b){NO(b);d=c[j>>2]|0}h=MO(d<<3)|0;c[i>>2]=h;if(!h){_e(0,3,42700,o);Fa(1)}h=lp(c[a>>2]|0)|0;b:do if(n){d=a+4|0;e=0;while(1){if((e|0)>=(c[j>>2]|0))break b;b=c[h>>2]|0;k=+f[b+(e*20|0)>>2];l=+f[b+(e*20|0)+4>>2];b=c[d>>2]|0;if(!b){o=c[i>>2]|0;f[o+(e<<3)>>2]=k;f[o+(e<<3)+4>>2]=l}else{o=c[i>>2]|0;ve(b+184|0,k,l,o+(e<<3)|0,o+(e<<3)+4|0)|0}e=e+1|0}}else switch(m|0){case 5:{d=a+4|0;e=0;while(1){if((e|0)>=(c[j>>2]|0))break b;b=c[h>>2]|0;k=+f[b+(e*20|0)>>2];l=+f[b+(e*20|0)+4>>2];b=c[d>>2]|0;if(!b){o=c[i>>2]|0;f[o+(e<<3)>>2]=k*1.5;f[o+(e<<3)+4>>2]=l*1.5}else{o=c[i>>2]|0;ve(b+184|0,k*1.5,l*1.5,o+(e<<3)|0,o+(e<<3)+4|0)|0}e=e+1|0}}case 2:{d=a+4|0;e=0;while(1){if((e|0)>=(c[j>>2]|0))break b;b=c[h>>2]|0;k=+f[b+(e*20|0)>>2];l=+f[b+(e*20|0)+4>>2];b=c[d>>2]|0;if(!b){o=c[i>>2]|0;f[o+(e<<3)>>2]=k*2.0;f[o+(e<<3)+4>>2]=l*2.0}else{o=c[i>>2]|0;ve(b+184|0,k*2.0,l*2.0,o+(e<<3)|0,o+(e<<3)+4|0)|0}e=e+1|0}}case 4:{d=a+4|0;e=0;while(1){if((e|0)>=(c[j>>2]|0))break b;b=c[h>>2]|0;k=+f[b+(e*20|0)>>2];l=+f[b+(e*20|0)+4>>2];b=c[d>>2]|0;if(!b){o=c[i>>2]|0;f[o+(e<<3)>>2]=k*3.0;f[o+(e<<3)+4>>2]=l*3.0}else{o=c[i>>2]|0;ve(b+184|0,k*3.0,l*3.0,o+(e<<3)|0,o+(e<<3)+4|0)|0}e=e+1|0}}default:{d=a+4|0;e=0;while(1){if((e|0)>=(c[j>>2]|0))break b;b=c[h>>2]|0;k=+f[b+(e*20|0)>>2];l=+f[b+(e*20|0)+4>>2];b=c[d>>2]|0;if(!b){o=c[i>>2]|0;f[o+(e<<3)>>2]=k*4.0;f[o+(e<<3)+4>>2]=l*4.0}else{o=c[i>>2]|0;ve(b+184|0,k*4.0,l*4.0,o+(e<<3)|0,o+(e<<3)+4|0)|0}e=e+1|0}}}while(0);j=a+56|0;h=a+36|0;b=a+52|0;i=0;while(1){e=c[j>>2]|0;if((i|0)>=(e|0))break a;o=c[b>>2]|0;c[o+(i*68|0)+48>>2]=c[(c[h>>2]|0)+(i*12|0)+8>>2];c[o+(i*68|0)+60>>2]=-1;if(((c[o+(i*68|0)+64>>2]|0)==0?(p=np(c[a>>2]|0)|0,q=ip(c[a>>2]|0)|0,(q|0)>=0):0)?(e=c[d>>2]|0,m=kp(c[a>>2]|0,q)|0,n=lp(c[a>>2]|0)|0,o=c[b>>2]|0,(Fg(e,p,m,n,o+(i*68|0)|0,o+(i*68|0)+52|0)|0)==0):0){n=c[b>>2]|0;c[n+(i*68|0)+60>>2]=0;o=(c[p+4>>2]|0)-(c[p>>2]|0)>>3;c[n+(i*68|0)+56>>2]=o;c[n+(i*68|0)+48>>2]=c[a+60+(q<<2)>>2];l=+f[n+(i*68|0)+52>>2];c[r>>2]=i;c[r+4>>2]=o;c[r+8>>2]=o;g[r+16>>3]=l;_e(0,1,22587,r)}i=i+1|0}}while(0);d=0;while(1){if((d|0)>=(e|0))break;c[(c[b>>2]|0)+(d*68|0)+64>>2]=0;d=d+1|0}if(!t)d=0;else{NO(s);d=0}}else{_e(0,3,22543,d);d=-1}while(0);zb=u;return d|0}function Fg(a,b,d,e,h,i){a=a|0;b=b|0;d=d|0;e=e|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0.0;u=zb;zb=zb+240|0;k=u+208|0;j=u+200|0;t=u+224|0;p=u+212|0;q=u+96|0;s=u+192|0;r=u;l=c[b>>2]|0;b=(c[b+4>>2]|0)-l|0;m=b>>3;do if(m>>>0<4)b=-1;else{o=MO(b<<1)|0;if(!o){_e(0,3,42700,j);Fa(1)}n=MO(m*24|0)|0;if(!n){_e(0,3,42700,k);Fa(1)}e=c[e>>2]|0;b=c[d>>2]|0;j=0;while(1){if((j|0)==(m|0))break;d=c[l+(j<<3)>>2]|0;g[o+(j<<4)>>3]=+f[e+(d*20|0)>>2];g[o+(j<<4)+8>>3]=+f[e+(d*20|0)+4>>2];d=c[l+(j<<3)+4>>2]|0;g[n+(j*24|0)>>3]=+f[b+(d*12|0)>>2];g[n+(j*24|0)+8>>3]=+f[b+(d*12|0)+4>>2];g[n+(j*24|0)+16>>3]=0.0;j=j+1|0}c[p+8>>2]=m;c[p>>2]=o;c[p+4>>2]=n;b=a+8|0;if((Se(b,o,n,m,q)|0)<0){NO(o);NO(n);b=-1;break}b=Ke(b)|0;c[t>>2]=b;if(!b){NO(o);NO(n);b=-1;break}if((Ne(b,p,q,r,s)|0)<0){NO(o);NO(n);Le(t)|0;b=-1}else{j=0;while(1){if((j|0)==3)break;b=0;while(1){if((b|0)==4)break;f[h+(j<<4)+(b<<2)>>2]=+g[r+(j<<5)+(b<<3)>>3];b=b+1|0}j=j+1|0}Le(t)|0;NO(o);NO(n);v=+g[s>>3];f[i>>2]=v;b=(v>10.0)<<31>>31}}while(0);zb=u;return b|0}function Gg(a,b,d){a=a|0;b=b|0;d=d|0;if(!a)a=-1;else{c[b>>2]=c[a+52>>2];c[d>>2]=c[a+56>>2];a=0}return a|0}function Hg(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;switch(d|0){case 1:{a=Ig(a,b,c,e,f)|0;break}case 5:{a=Jg(a,b,c,e,f)|0;break}case 2:{a=Kg(a,b,c,e,f)|0;break}case 4:{a=Lg(a,b,c,e,f)|0;break}default:a=Mg(a,b,c,e,f)|0}return a|0}function Ig(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0;g=zb;zb=zb+16|0;c[e>>2]=b;c[f>>2]=d;f=C(d,b)|0;e=MO(f)|0;if(!e){_e(0,3,42700,g);Fa(1)}else{fP(e|0,a|0,f|0)|0;zb=g;return e|0}return 0}function Jg(b,e,f,g,h){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;q=zb;zb=zb+16|0;o=(e|0)/3|0;p=o<<1;c[g>>2]=p;n=(f|0)/3|0;m=n<<1;c[h>>2]=m;h=MO(C(m,p)|0)|0;if(!h){_e(0,3,42700,q);Fa(1)}f=h;j=0;g=h;while(1){if((j|0)>=(n|0))break;m=j*3|0;i=0;k=b+(C(m,e)|0)|0;l=b+(C(m+1|0,e)|0)|0;m=b+(C(m+2|0,e)|0)|0;f=f+p|0;while(1){if((i|0)>=(o|0))break;u=k+1|0;s=l+1|0;a[g>>0]=(((d[u>>0]|0)>>>1&255)+(d[k>>0]|0)+((d[l>>0]|0)>>>1&255)+((d[s>>0]|0)>>>2&255)<<2>>>0)/9|0;r=m+1|0;a[f>>0]=((((d[s>>0]|0)>>>2)+((d[l>>0]|0)>>>1)&255)+(d[m>>0]|0)+((d[r>>0]|0)>>>1&255)<<2>>>0)/9|0;t=l+2|0;a[g+1>>0]=(((d[u>>0]|0)>>>1&255)+(d[k+2>>0]|0)+((d[s>>0]|0)>>>2&255)+((d[t>>0]|0)>>>1&255)<<2>>>0)/9|0;a[f+1>>0]=((((d[t>>0]|0)>>>1)+((d[s>>0]|0)>>>2)&255)+((d[r>>0]|0)>>>1&255)+(d[m+2>>0]|0)<<2>>>0)/9|0;i=i+1|0;k=k+3|0;l=l+3|0;m=m+3|0;g=g+2|0;f=f+2|0}j=j+1|0;g=g+p|0}zb=q;return h|0}function Kg(b,e,f,g,h){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0;n=zb;zb=zb+16|0;m=(e|0)/2|0;c[g>>2]=m;l=(f|0)/2|0;c[h>>2]=l;i=MO(C(l,m)|0)|0;if(!i){_e(0,3,42700,n);Fa(1)}k=0;g=i;while(1){if((k|0)>=(l|0))break;h=k<<1;j=0;f=b+(C(h,e)|0)|0;h=b+(C(h|1,e)|0)|0;while(1){if((j|0)>=(m|0))break;a[g>>0]=((d[f+1>>0]|0)+(d[f>>0]|0)+(d[h>>0]|0)+(d[h+1>>0]|0)|0)>>>2;j=j+1|0;g=g+1|0;f=f+2|0;h=h+2|0}k=k+1|0}zb=n;return i|0}function Lg(b,e,f,g,h){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0;o=zb;zb=zb+16|0;n=(e|0)/3|0;c[g>>2]=n;m=(f|0)/3|0;c[h>>2]=m;j=MO(C(m,n)|0)|0;if(!j){_e(0,3,42700,o);Fa(1)}l=0;g=j;while(1){if((l|0)>=(m|0))break;i=l*3|0;k=0;f=b+(C(i,e)|0)|0;h=b+(C(i+1|0,e)|0)|0;i=b+(C(i+2|0,e)|0)|0;while(1){if((k|0)>=(n|0))break;a[g>>0]=((d[f+1>>0]|0)+(d[f>>0]|0)+(d[f+2>>0]|0)+(d[h>>0]|0)+(d[h+1>>0]|0)+(d[h+2>>0]|0)+(d[i>>0]|0)+(d[i+1>>0]|0)+(d[i+2>>0]|0)|0)/9|0;k=k+1|0;g=g+1|0;f=f+3|0;h=h+3|0;i=i+3|0}l=l+1|0}zb=o;return j|0}function Mg(b,e,f,g,h){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;p=zb;zb=zb+16|0;o=(e|0)/4|0;c[g>>2]=o;n=(f|0)/4|0;c[h>>2]=n;k=MO(C(n,o)|0)|0;if(!k){_e(0,3,42700,p);Fa(1)}m=0;g=k;while(1){if((m|0)>=(n|0))break;j=m<<2;l=0;f=b+(C(j,e)|0)|0;h=b+(C(j|1,e)|0)|0;i=b+(C(j|2,e)|0)|0;j=b+(C(j|3,e)|0)|0;while(1){if((l|0)>=(o|0))break;a[g>>0]=((d[f+1>>0]|0)+(d[f>>0]|0)+(d[f+2>>0]|0)+(d[f+3>>0]|0)+(d[h>>0]|0)+(d[h+1>>0]|0)+(d[h+2>>0]|0)+(d[h+3>>0]|0)+(d[i>>0]|0)+(d[i+1>>0]|0)+(d[i+2>>0]|0)+(d[i+3>>0]|0)+(d[j>>0]|0)+(d[j+1>>0]|0)+(d[j+2>>0]|0)+(d[j+3>>0]|0)|0)/16|0;l=l+1|0;g=g+1|0;f=f+4|0;h=h+4|0;i=i+4|0;j=j+4|0}m=m+1|0}zb=p;return k|0}function Ng(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;i=zb;zb=zb+16|0;h=i+8|0;g=i;do if(a){if(!b){f=Qz(a,d)|0;break}e=Qx(a)|0;e=MO(e+2+(Qx(b)|0)|0)|0;if(!e){_e(0,3,42700,g);Fa(1)}else{c[h>>2]=a;c[h+4>>2]=b;Xy(e,22627,h)|0;f=Qz(e,d)|0;NO(e);break}}else f=0;while(0);zb=i;return f|0}function Og(a){a=a|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;return}function Pg(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;m=zb;zb=zb+16|0;d=m;if(!(Qg(b)|0)){l=bg(bg(WE(bg(bg(bg(56880,22633)|0,22676)|0,35722)|0,53)|0,35729)|0,22809)|0;PE(d,l+(c[(c[l>>2]|0)+-12>>2]|0)|0);k=cG(d,57584)|0;k=Hb[c[(c[k>>2]|0)+28>>2]&63](k,10)|0;dG(d);XE(l,k)|0;TE(l)|0;va()}i=Sg(Rg(b,0,0)|0)|0;j=Tg(Rg(b,0,0)|0)|0;k=Ug(Rg(b,0,0)|0)|0;l=a+12|0;c[l>>2]=Vg(b)|0;b=(Wg(b)|0)+-1|0;f=a+16|0;c[f>>2]=b;Xg(a,C(c[l>>2]|0,b)|0);b=0;while(1){if(b>>>0>=(c[l>>2]|0)>>>0)break;g=j>>>b;h=k>>>b;e=0;while(1){d=c[f>>2]|0;if(e>>>0>=d>>>0)break;d=(C(d,b)|0)+e|0;iq((c[a>>2]|0)+(d<<5)|0,i,g,h,-1,1);e=e+1|0}b=b+1|0}zb=m;return}function Qg(a){a=a|0;return (c[a+8>>2]|0)-(c[a+4>>2]|0)>>5|0}function Rg(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;g=zb;zb=zb+16|0;f=g;if((c[a+16>>2]|0)>>>0<=b>>>0){e=bg(bg(WE(bg(bg(bg(56880,34663)|0,34508)|0,35722)|0,218)|0,35729)|0,22834)|0;PE(f,e+(c[(c[e>>2]|0)+-12>>2]|0)|0);h=cG(f,57584)|0;h=Hb[c[(c[h>>2]|0)+28>>2]&63](h,10)|0;dG(f);XE(e,h)|0;TE(e)|0;va()}e=c[a+20>>2]|0;if(e>>>0>d>>>0){h=(C(e,b)|0)+d|0;zb=g;return (c[a+4>>2]|0)+(h<<5)|0}else{h=bg(bg(WE(bg(bg(bg(56880,34807)|0,34508)|0,35722)|0,219)|0,35729)|0,22854)|0;PE(f,h+(c[(c[h>>2]|0)+-12>>2]|0)|0);g=cG(f,57584)|0;g=Hb[c[(c[g>>2]|0)+28>>2]&63](g,10)|0;dG(f);XE(h,g)|0;TE(h)|0;va()}return 0}function Sg(a){a=a|0;return c[a>>2]|0}function Tg(a){a=a|0;return c[a+4>>2]|0}function Ug(a){a=a|0;return c[a+8>>2]|0}function Vg(a){a=a|0;return c[a+16>>2]|0}function Wg(a){a=a|0;return c[a+20>>2]|0}function Xg(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;g=a+4|0;d=c[g>>2]|0;e=c[a>>2]|0;f=d-e>>5;if(f>>>0>=b>>>0){if(f>>>0>b>>>0){e=e+(b<<5)|0;while(1){if((d|0)==(e|0))break;a=d+-32|0;xq(a);d=a}c[g>>2]=e}}else Yg(a,b-f|0);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;i=zb;zb=zb+32|0;g=i;h=a+8|0;f=a+4|0;d=c[f>>2]|0;do if((c[h>>2]|0)-d>>5>>>0>>0){d=(d-(c[a>>2]|0)>>5)+b|0;e=_g(a)|0;if(e>>>0>>0)LO(a);else{j=c[a>>2]|0;k=(c[h>>2]|0)-j|0;h=k>>4;$g(g,k>>5>>>0>>1>>>0?(h>>>0>>0?d:h):e,(c[f>>2]|0)-j>>5,a+8|0);ah(g,b);bh(a,g);ch(g);break}}else Zg(a,b);while(0);zb=i;return}function Zg(a,b){a=a|0;b=b|0;var d=0,e=0;e=a+4|0;d=c[e>>2]|0;a=b;do{eq(d);d=(c[e>>2]|0)+32|0;c[e>>2]=d;a=a+-1|0}while((a|0)!=0);return}function _g(a){a=a|0;return 134217727}function $g(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=a+12|0;c[f>>2]=0;c[a+16>>2]=e;do if(b)if(b>>>0>134217727){a=P(8)|0;kO(a,38211);c[a>>2]=16392;R(a|0,13960,22)}else{e=AB(b<<5)|0;break}else e=0;while(0);c[a>>2]=e;d=e+(d<<5)|0;c[a+8>>2]=d;c[a+4>>2]=d;c[f>>2]=e+(b<<5);return}function ah(a,b){a=a|0;b=b|0;var d=0,e=0;e=a+8|0;d=c[e>>2]|0;a=b;do{eq(d);d=(c[e>>2]|0)+32|0;c[e>>2]=d;a=a+-1|0}while((a|0)!=0);return}function bh(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;d=c[a>>2]|0;g=a+4|0;e=b+4|0;f=c[g>>2]|0;while(1){if((f|0)==(d|0))break;h=f+-32|0;hq((c[e>>2]|0)+-32|0,h);c[e>>2]=(c[e>>2]|0)+-32;f=h}h=c[a>>2]|0;c[a>>2]=c[e>>2];c[e>>2]=h;h=b+8|0;f=c[g>>2]|0;c[g>>2]=c[h>>2];c[h>>2]=f;g=a+8|0;h=b+12|0;a=c[g>>2]|0;c[g>>2]=c[h>>2];c[h>>2]=a;c[b>>2]=c[e>>2];return}function ch(a){a=a|0;var b=0,d=0,e=0;b=c[a+4>>2]|0;e=a+8|0;while(1){d=c[e>>2]|0;if((d|0)==(b|0))break;d=d+-32|0;c[e>>2]=d;xq(d)}b=c[a>>2]|0;if(b|0)Vf(b,(c[a+12>>2]|0)-b|0);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;h=zb;zb=zb+16|0;d=h;if((c[a+4>>2]|0)==(c[a>>2]|0)){g=bg(bg(WE(bg(bg(bg(56880,22873)|0,22676)|0,35722)|0,72)|0,35729)|0,22915)|0;PE(d,g+(c[(c[g>>2]|0)+-12>>2]|0)|0);f=cG(d,57584)|0;f=Hb[c[(c[f>>2]|0)+28>>2]&63](f,10)|0;dG(d);XE(g,f)|0;TE(g)|0;va()}if((Vg(b)|0)<=0){g=bg(bg(WE(bg(bg(bg(56880,22956)|0,22676)|0,35722)|0,73)|0,35729)|0,23005)|0;PE(d,g+(c[(c[g>>2]|0)+-12>>2]|0)|0);f=cG(d,57584)|0;f=Hb[c[(c[f>>2]|0)+28>>2]&63](f,10)|0;dG(d);XE(g,f)|0;TE(g)|0;va()}if(b|0?UA(b,13184,13192,0)|0:0){f=a+12|0;g=a+16|0;d=0;while(1){if(d>>>0>=(c[f>>2]|0)>>>0)break;e=0;while(1){if(e>>>0>=(c[g>>2]|0)>>>0)break;k=eh(a,d,e)|0;j=Rg(b,d,e)|0;i=e+1|0;fh(0,k,j,Rg(b,d,i)|0);e=i}d=d+1|0}zb=h;return}k=bg(bg(WE(bg(bg(bg(56880,23041)|0,22676)|0,35722)|0,74)|0,35729)|0,23113)|0;PE(d,k+(c[(c[k>>2]|0)+-12>>2]|0)|0);j=cG(d,57584)|0;j=Hb[c[(c[j>>2]|0)+28>>2]&63](j,10)|0;dG(d);XE(k,j)|0;TE(k)|0;va()}function eh(a,b,d){a=a|0;b=b|0;d=d|0;d=(C(c[a+16>>2]|0,b)|0)+d|0;return (c[a>>2]|0)+(d<<5)|0}function fh(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var g=0,h=0,i=0,j=0,k=0;k=zb;zb=zb+16|0;a=k;if((Sg(b)|0)!=2){j=bg(bg(WE(bg(bg(bg(56880,23148)|0,22676)|0,35722)|0,86)|0,35729)|0,23193)|0;PE(a,j+(c[(c[j>>2]|0)+-12>>2]|0)|0);i=cG(a,57584)|0;i=Hb[c[(c[i>>2]|0)+28>>2]&63](i,10)|0;dG(a);XE(j,i)|0;TE(j)|0;va()}if((Sg(d)|0)!=2){j=bg(bg(WE(bg(bg(bg(56880,23219)|0,22676)|0,35722)|0,87)|0,35729)|0,23193)|0;PE(a,j+(c[(c[j>>2]|0)+-12>>2]|0)|0);i=cG(a,57584)|0;i=Hb[c[(c[i>>2]|0)+28>>2]&63](i,10)|0;dG(a);XE(j,i)|0;TE(j)|0;va()}if((Sg(e)|0)!=2){j=bg(bg(WE(bg(bg(bg(56880,23266)|0,22676)|0,35722)|0,88)|0,35729)|0,23193)|0;PE(a,j+(c[(c[j>>2]|0)+-12>>2]|0)|0);i=cG(a,57584)|0;i=Hb[c[(c[i>>2]|0)+28>>2]&63](i,10)|0;dG(a);XE(j,i)|0;TE(j)|0;va()}if((gh(b)|0)!=1){j=bg(bg(WE(bg(bg(bg(56880,23313)|0,22676)|0,35722)|0,89)|0,35729)|0,23354)|0;PE(a,j+(c[(c[j>>2]|0)+-12>>2]|0)|0);i=cG(a,57584)|0;i=Hb[c[(c[i>>2]|0)+28>>2]&63](i,10)|0;dG(a);XE(j,i)|0;TE(j)|0;va()}if((gh(d)|0)!=1){j=bg(bg(WE(bg(bg(bg(56880,23391)|0,22676)|0,35722)|0,90)|0,35729)|0,23354)|0;PE(a,j+(c[(c[j>>2]|0)+-12>>2]|0)|0);i=cG(a,57584)|0;i=Hb[c[(c[i>>2]|0)+28>>2]&63](i,10)|0;dG(a);XE(j,i)|0;TE(j)|0;va()}if((gh(e)|0)!=1){j=bg(bg(WE(bg(bg(bg(56880,23434)|0,22676)|0,35722)|0,91)|0,35729)|0,23354)|0;PE(a,j+(c[(c[j>>2]|0)+-12>>2]|0)|0);i=cG(a,57584)|0;i=Hb[c[(c[i>>2]|0)+28>>2]&63](i,10)|0;dG(a);XE(j,i)|0;TE(j)|0;va()}j=Tg(b)|0;if((j|0)!=(Tg(e)|0)){j=bg(bg(WE(bg(bg(bg(56880,23477)|0,22676)|0,35722)|0,92)|0,35729)|0,23525)|0;PE(a,j+(c[(c[j>>2]|0)+-12>>2]|0)|0);i=cG(a,57584)|0;i=Hb[c[(c[i>>2]|0)+28>>2]&63](i,10)|0;dG(a);XE(j,i)|0;TE(j)|0;va()}j=Ug(b)|0;if((j|0)!=(Ug(e)|0)){j=bg(bg(WE(bg(bg(bg(56880,23557)|0,22676)|0,35722)|0,93)|0,35729)|0,23607)|0;PE(a,j+(c[(c[j>>2]|0)+-12>>2]|0)|0);i=cG(a,57584)|0;i=Hb[c[(c[i>>2]|0)+28>>2]&63](i,10)|0;dG(a);XE(j,i)|0;TE(j)|0;va()}j=Tg(d)|0;if((j|0)!=(Tg(e)|0)){j=bg(bg(WE(bg(bg(bg(56880,23640)|0,22676)|0,35722)|0,94)|0,35729)|0,23525)|0;PE(a,j+(c[(c[j>>2]|0)+-12>>2]|0)|0);i=cG(a,57584)|0;i=Hb[c[(c[i>>2]|0)+28>>2]&63](i,10)|0;dG(a);XE(j,i)|0;TE(j)|0;va()}j=Ug(d)|0;if((j|0)!=(Ug(e)|0)){j=bg(bg(WE(bg(bg(bg(56880,23690)|0,22676)|0,35722)|0,95)|0,35729)|0,23607)|0;PE(a,j+(c[(c[j>>2]|0)+-12>>2]|0)|0);i=cG(a,57584)|0;i=Hb[c[(c[i>>2]|0)+28>>2]&63](i,10)|0;dG(a);XE(j,i)|0;TE(j)|0;va()}i=0;while(1){if(i>>>0>=(Ug(d)|0)>>>0)break;a=hh(b,i)|0;g=ih(d,i)|0;h=ih(e,i)|0;j=0;while(1){if(j>>>0>=(Tg(d)|0)>>>0)break;f[a+(j<<2)>>2]=+f[g+(j<<2)>>2]-+f[h+(j<<2)>>2];j=j+1|0}i=i+1|0}zb=k;return}function gh(a){a=a|0;return c[a+16>>2]|0}function hh(a,b){a=a|0;b=b|0;var d=0,e=0;e=zb;zb=zb+16|0;d=e;if((c[a+8>>2]|0)>>>0>b>>>0){a=(c[a+24>>2]|0)+(C(c[a+12>>2]|0,b)|0)|0;zb=e;return a|0}else{e=bg(bg(WE(bg(bg(bg(56880,23742)|0,23779)|0,35722)|0,119)|0,35729)|0,23887)|0;PE(d,e+(c[(c[e>>2]|0)+-12>>2]|0)|0);a=cG(d,57584)|0;a=Hb[c[(c[a>>2]|0)+28>>2]&63](a,10)|0;dG(d);XE(e,a)|0;TE(e)|0;va()}return 0}function ih(a,b){a=a|0;b=b|0;var d=0,e=0;e=zb;zb=zb+16|0;d=e;if((c[a+8>>2]|0)>>>0>b>>>0){a=(c[a+24>>2]|0)+(C(c[a+12>>2]|0,b)|0)|0;zb=e;return a|0}else{e=bg(bg(WE(bg(bg(bg(56880,23742)|0,23779)|0,35722)|0,124)|0,35729)|0,23887)|0;PE(d,e+(c[(c[e>>2]|0)+-12>>2]|0)|0);a=cG(d,57584)|0;a=Hb[c[(c[a>>2]|0)+28>>2]&63](a,10)|0;dG(d);XE(e,a)|0;TE(e)|0;va()}return 0}function jh(b){b=b|0;var d=0;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=10;c[b+12>>2]=10;c[b+16>>2]=0;c[b+20>>2]=0;c[b+24>>2]=0;a[b+28>>0]=1;Og(b+32|0);f[b+52>>2]=0.0;f[b+56>>2]=10.0;d=b+60|0;c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;c[d+12>>2]=0;c[d+16>>2]=0;c[d+20>>2]=0;f[b+88>>2]=9.0;yj(b+92|0);d=b+144|0;c[d>>2]=0;c[b+148>>2]=0;c[b+152>>2]=0;kh(b,5e3);lh(d,36);return}function kh(a,b){a=a|0;b=b|0;c[a+84>>2]=b;Ah(a+60|0,b);return}function lh(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;e=a+4|0;d=c[a>>2]|0;f=(c[e>>2]|0)-d>>2;if(f>>>0>=b>>>0){if(f>>>0>b>>>0)c[e>>2]=d+(b<<2)}else th(a,b-f|0);return}function mh(a){a=a|0;var b=0,d=0;b=c[a>>2]|0;d=b;if(b|0){c[a+4>>2]=d;Vf(b,(c[a+8>>2]|0)-d|0)}return}function nh(a){a=a|0;var b=0,d=0;b=c[a>>2]|0;d=b;if(b|0){c[a+4>>2]=d;Vf(b,(c[a+8>>2]|0)-d|0)}return}function oh(a){a=a|0;sh(a);return}function ph(a){a=a|0;var b=0,d=0,e=0,f=0;b=c[a>>2]|0;if(b|0){d=a+4|0;e=c[d>>2]|0;while(1){if((e|0)==(b|0))break;f=e+-12|0;qh(f);e=f}c[d>>2]=b;f=c[a>>2]|0;Vf(f,(c[a+8>>2]|0)-f|0)}return}function qh(a){a=a|0;var b=0,d=0,e=0,f=0;b=c[a>>2]|0;if(b|0){d=a+4|0;e=c[d>>2]|0;while(1){if((e|0)==(b|0))break;f=e+-12|0;rh(f);e=f}c[d>>2]=b;f=c[a>>2]|0;Vf(f,(c[a+8>>2]|0)-f|0)}return}function rh(a){a=a|0;var b=0,d=0;b=c[a>>2]|0;d=b;if(b|0){c[a+4>>2]=d;Vf(b,(c[a+8>>2]|0)-d|0)}return}function sh(a){a=a|0;var b=0,d=0,e=0,f=0;b=c[a>>2]|0;if(b|0){d=a+4|0;e=c[d>>2]|0;while(1){if((e|0)==(b|0))break;f=e+-32|0;xq(f);e=f}c[d>>2]=b;f=c[a>>2]|0;Vf(f,(c[a+8>>2]|0)-f|0)}return}function th(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;i=zb;zb=zb+32|0;g=i;h=a+8|0;f=a+4|0;d=c[f>>2]|0;do if((c[h>>2]|0)-d>>2>>>0>>0){d=(d-(c[a>>2]|0)>>2)+b|0;e=vh(a)|0;if(e>>>0>>0)LO(a);else{j=c[a>>2]|0;k=(c[h>>2]|0)-j|0;h=k>>1;wh(g,k>>2>>>0>>1>>>0?(h>>>0>>0?d:h):e,(c[f>>2]|0)-j>>2,a+8|0);xh(g,b);yh(a,g);zh(g);break}}else uh(a,b);while(0);zb=i;return}function uh(a,b){a=a|0;b=b|0;var d=0;a=a+4|0;d=c[a>>2]|0;hP(d|0,0,b<<2|0)|0;c[a>>2]=d+(b<<2);return}function vh(a){a=a|0;return 1073741823}function wh(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=a+12|0;c[f>>2]=0;c[a+16>>2]=e;do if(b)if(b>>>0>1073741823){a=P(8)|0;kO(a,38211);c[a>>2]=16392;R(a|0,13960,22)}else{e=AB(b<<2)|0;break}else e=0;while(0);c[a>>2]=e;d=e+(d<<2)|0;c[a+8>>2]=d;c[a+4>>2]=d;c[f>>2]=e+(b<<2);return}function xh(a,b){a=a|0;b=b|0;var d=0;a=a+8|0;d=c[a>>2]|0;hP(d|0,0,b<<2|0)|0;c[a>>2]=d+(b<<2);return}function yh(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;e=c[a>>2]|0;h=a+4|0;g=b+4|0;f=(c[h>>2]|0)-e|0;d=(c[g>>2]|0)+(0-(f>>2)<<2)|0;c[g>>2]=d;if((f|0)>0){fP(d|0,e|0,f|0)|0;e=g;d=c[g>>2]|0}else e=g;g=c[a>>2]|0;c[a>>2]=d;c[e>>2]=g;g=b+8|0;f=c[h>>2]|0;c[h>>2]=c[g>>2];c[g>>2]=f;g=a+8|0;a=b+12|0;h=c[g>>2]|0;c[g>>2]=c[a>>2];c[a>>2]=h;c[b>>2]=c[e>>2];return}function zh(a){a=a|0;var b=0,d=0,e=0,f=0;b=c[a+4>>2]|0;e=a+8|0;d=c[e>>2]|0;while(1){if((d|0)==(b|0))break;f=d+-4|0;c[e>>2]=f;d=f}b=c[a>>2]|0;if(b|0)Vf(b,(c[a+12>>2]|0)-b|0);return}function Ah(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=zb;zb=zb+32|0;e=f;d=c[a>>2]|0;if((((c[a+8>>2]|0)-d|0)/36|0)>>>0>>0){Bh(e,b,((c[a+4>>2]|0)-d|0)/36|0,a+8|0);Ch(a,e);Dh(e)}zb=f;return}function Bh(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=a+12|0;c[f>>2]=0;c[a+16>>2]=e;do if(b)if(b>>>0>119304647){a=P(8)|0;kO(a,38211);c[a>>2]=16392;R(a|0,13960,22)}else{e=AB(b*36|0)|0;break}else e=0;while(0);c[a>>2]=e;d=e+(d*36|0)|0;c[a+8>>2]=d;c[a+4>>2]=d;c[f>>2]=e+(b*36|0);return}function Ch(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;e=c[a>>2]|0;h=a+4|0;g=b+4|0;f=(c[h>>2]|0)-e|0;d=(c[g>>2]|0)+(((f|0)/-36|0)*36|0)|0;c[g>>2]=d;if((f|0)>0){fP(d|0,e|0,f|0)|0;e=g;d=c[g>>2]|0}else e=g;g=c[a>>2]|0;c[a>>2]=d;c[e>>2]=g;g=b+8|0;f=c[h>>2]|0;c[h>>2]=c[g>>2];c[g>>2]=f;g=a+8|0;a=b+12|0;h=c[g>>2]|0;c[g>>2]=c[a>>2];c[a>>2]=h;c[b>>2]=c[e>>2];return}function Dh(a){a=a|0;var b=0,d=0,e=0,f=0;b=c[a+4>>2]|0;e=a+8|0;d=c[e>>2]|0;while(1){if((d|0)==(b|0))break;f=d+-36|0;c[e>>2]=f;d=f}b=c[a>>2]|0;if(b|0)Vf(b,(c[a+12>>2]|0)-b|0);return}function Eh(a){a=a|0;mh(a+144|0);zj(a+92|0);nh(a+72|0);nh(a+60|0);oh(a+32|0);ph(a+16|0);return}function Fh(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;Pg(a+32|0,b);d=Tg(c[(Gh(b)|0)>>2]|0)|0;e=Ug(c[(Gh(b)|0)>>2]|0)|0;f=Vg(b)|0;Aj(a+92|0,d,e,f,Wg(b)|0,36,3.0,1.5,5,.800000011920929);c[a>>2]=Tg(c[(Gh(b)|0)>>2]|0)|0;c[a+4>>2]=Ug(c[(Gh(b)|0)>>2]|0)|0;f=a+16|0;Hh(f,c[a+8>>2]|0);e=a+20|0;d=a+12|0;a=0;while(1){b=c[f>>2]|0;if(a>>>0>=(((c[e>>2]|0)-b|0)/12|0)>>>0)break;Ih(b+(a*12|0)|0,c[d>>2]|0);a=a+1|0}return}function Gh(a){a=a|0;return a+4|0}function Hh(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;g=a+4|0;d=c[g>>2]|0;e=c[a>>2]|0;f=(d-e|0)/12|0;if(f>>>0>=b>>>0){if(f>>>0>b>>>0){e=e+(b*12|0)|0;while(1){if((d|0)==(e|0))break;a=d+-12|0;qh(a);d=a}c[g>>2]=e}}else Qh(a,b-f|0);return}function Ih(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;g=a+4|0;d=c[g>>2]|0;e=c[a>>2]|0;f=(d-e|0)/12|0;if(f>>>0>=b>>>0){if(f>>>0>b>>>0){e=e+(b*12|0)|0;while(1){if((d|0)==(e|0))break;a=d+-12|0;rh(a);d=a}c[g>>2]=e}}else Jh(a,b-f|0);return}function Jh(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;i=zb;zb=zb+32|0;g=i;h=a+8|0;f=a+4|0;d=c[f>>2]|0;do if((((c[h>>2]|0)-d|0)/12|0)>>>0>>0){d=((d-(c[a>>2]|0)|0)/12|0)+b|0;e=Lh(a)|0;if(e>>>0>>0)LO(a);else{j=c[a>>2]|0;k=((c[h>>2]|0)-j|0)/12|0;h=k<<1;Mh(g,k>>>0>>1>>>0?(h>>>0>>0?d:h):e,((c[f>>2]|0)-j|0)/12|0,a+8|0);Nh(g,b);Oh(a,g);Ph(g);break}}else Kh(a,b);while(0);zb=i;return}function Kh(a,b){a=a|0;b=b|0;var d=0;a=a+4|0;d=c[a>>2]|0;hP(d|0,0,b*12|0)|0;c[a>>2]=d+(b*12|0);return}function Lh(a){a=a|0;return 357913941}function Mh(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=a+12|0;c[f>>2]=0;c[a+16>>2]=e;do if(b)if(b>>>0>357913941){a=P(8)|0;kO(a,38211);c[a>>2]=16392;R(a|0,13960,22)}else{e=AB(b*12|0)|0;break}else e=0;while(0);c[a>>2]=e;d=e+(d*12|0)|0;c[a+8>>2]=d;c[a+4>>2]=d;c[f>>2]=e+(b*12|0);return}function Nh(a,b){a=a|0;b=b|0;var d=0;a=a+8|0;d=c[a>>2]|0;hP(d|0,0,b*12|0)|0;c[a>>2]=d+(b*12|0);return}function Oh(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=c[a>>2]|0;g=a+4|0;e=b+4|0;f=c[g>>2]|0;while(1){if((f|0)==(d|0))break;k=c[e>>2]|0;i=k+-12|0;h=f+-12|0;c[i>>2]=0;j=k+-8|0;c[j>>2]=0;k=k+-4|0;c[k>>2]=0;c[i>>2]=c[h>>2];i=f+-8|0;c[j>>2]=c[i>>2];j=f+-4|0;c[k>>2]=c[j>>2];c[j>>2]=0;c[i>>2]=0;c[h>>2]=0;c[e>>2]=(c[e>>2]|0)+-12;f=h}i=c[a>>2]|0;c[a>>2]=c[e>>2];c[e>>2]=i;i=b+8|0;k=c[g>>2]|0;c[g>>2]=c[i>>2];c[i>>2]=k;i=a+8|0;k=b+12|0;j=c[i>>2]|0;c[i>>2]=c[k>>2];c[k>>2]=j;c[b>>2]=c[e>>2];return}function Ph(a){a=a|0;var b=0,d=0,e=0;b=c[a+4>>2]|0;e=a+8|0;while(1){d=c[e>>2]|0;if((d|0)==(b|0))break;d=d+-12|0;c[e>>2]=d;rh(d)}b=c[a>>2]|0;if(b|0)Vf(b,(c[a+12>>2]|0)-b|0);return}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;i=zb;zb=zb+32|0;g=i;h=a+8|0;f=a+4|0;d=c[f>>2]|0;do if((((c[h>>2]|0)-d|0)/12|0)>>>0>>0){d=((d-(c[a>>2]|0)|0)/12|0)+b|0;e=Sh(a)|0;if(e>>>0>>0)LO(a);else{j=c[a>>2]|0;k=((c[h>>2]|0)-j|0)/12|0;h=k<<1;Th(g,k>>>0>>1>>>0?(h>>>0>>0?d:h):e,((c[f>>2]|0)-j|0)/12|0,a+8|0);Uh(g,b);Vh(a,g);Wh(g);break}}else Rh(a,b);while(0);zb=i;return}function Rh(a,b){a=a|0;b=b|0;var d=0;a=a+4|0;d=c[a>>2]|0;hP(d|0,0,b*12|0)|0;c[a>>2]=d+(b*12|0);return}function Sh(a){a=a|0;return 357913941}function Th(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=a+12|0;c[f>>2]=0;c[a+16>>2]=e;do if(b)if(b>>>0>357913941){a=P(8)|0;kO(a,38211);c[a>>2]=16392;R(a|0,13960,22)}else{e=AB(b*12|0)|0;break}else e=0;while(0);c[a>>2]=e;d=e+(d*12|0)|0;c[a+8>>2]=d;c[a+4>>2]=d;c[f>>2]=e+(b*12|0);return}function Uh(a,b){a=a|0;b=b|0;var d=0;a=a+8|0;d=c[a>>2]|0;hP(d|0,0,b*12|0)|0;c[a>>2]=d+(b*12|0);return}function Vh(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=c[a>>2]|0;g=a+4|0;e=b+4|0;f=c[g>>2]|0;while(1){if((f|0)==(d|0))break;k=c[e>>2]|0;i=k+-12|0;h=f+-12|0;c[i>>2]=0;j=k+-8|0;c[j>>2]=0;k=k+-4|0;c[k>>2]=0;c[i>>2]=c[h>>2];i=f+-8|0;c[j>>2]=c[i>>2];j=f+-4|0;c[k>>2]=c[j>>2];c[j>>2]=0;c[i>>2]=0;c[h>>2]=0;c[e>>2]=(c[e>>2]|0)+-12;f=h}i=c[a>>2]|0;c[a>>2]=c[e>>2];c[e>>2]=i;i=b+8|0;k=c[g>>2]|0;c[g>>2]=c[i>>2];c[i>>2]=k;i=a+8|0;k=b+12|0;j=c[i>>2]|0;c[i>>2]=c[k>>2];c[k>>2]=j;c[b>>2]=c[e>>2];return}function Wh(a){a=a|0;var b=0,d=0,e=0;b=c[a+4>>2]|0;e=a+8|0;while(1){d=c[e>>2]|0;if((d|0)==(b|0))break;d=d+-12|0;c[e>>2]=d;qh(d)}b=c[a>>2]|0;if(b|0)Vf(b,(c[a+12>>2]|0)-b|0);return}function Xh(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;e=zb;zb=zb+32|0;d=e;if((Vg(b)|0)<=0){f=bg(bg(WE(bg(bg(bg(56880,22956)|0,22676)|0,35722)|0,147)|0,35729)|0,23005)|0;PE(d,f+(c[(c[f>>2]|0)+-12>>2]|0)|0);g=cG(d,57584)|0;g=Hb[c[(c[g>>2]|0)+28>>2]&63](g,10)|0;dG(d);XE(f,g)|0;TE(f)|0;va()}Hq(d,23942);if(Yh(d)|0)dh(a+32|0,b);Iq(d);Hq(d,23954);if(Yh(d)|0)Zh(a,b,a+32|0);Iq(d);Hq(d,23974);if(Yh(d)|0)_h(a,b);Iq(d);Hq(d,23983);if(Yh(d)|0)$h(a);Iq(d);Hq(d,23997);if(Yh(d)|0)ai(a,b);Iq(d);zb=e;return}function Yh(a){a=a|0;return 1}function Zh(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0,g=0.0,h=0,i=0,j=0.0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,t=0,u=0,v=0.0,w=0,x=0,y=0.0,z=0.0,A=0.0,B=0.0,C=0.0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0.0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0.0;ha=zb;zb=zb+48|0;ba=ha;_=a+60|0;V=a+64|0;c[V>>2]=c[_>>2];Z=+pi(+f[a+52>>2]);$=a+32|0;aa=ba+12|0;ca=ba+16|0;da=ba+24|0;ea=ba+28|0;fa=ba+4|0;F=a+68|0;L=ba+12|0;N=ba+16|0;P=ba+24|0;R=ba+28|0;T=ba+4|0;M=ba+12|0;O=ba+16|0;Q=ba+24|0;S=ba+28|0;U=ba+4|0;a=1;a:while(1){if(a>>>0>=((Qi($)|0)+-1|0)>>>0){ga=3;break}H=Ri(d,a+-1|0)|0;I=Ri(d,a)|0;G=a+1|0;J=Ri(d,G)|0;K=Si(d,a)|0;E=Ti(d,a)|0;D=Tg(H)|0;b:do if((D|0)==(Tg(I)|0)?(D=Tg(H)|0,(D|0)==(Tg(J)|0)):0){D=Ug(H)|0;if((D|0)!=(Ug(I)|0)){ga=7;break a}D=Ug(H)|0;if((D|0)!=(Ug(J)|0)){ga=9;break a}w=(Tg(I)|0)+-1|0;x=(Ug(I)|0)+-1|0;v=+(E|0);a=1;while(1){if(a>>>0>=x>>>0)break b;r=a+-1|0;l=ih(H,r)|0;m=ih(H,a)|0;k=a+1|0;n=ih(H,k)|0;o=ih(I,r)|0;p=ih(I,a)|0;q=ih(I,k)|0;r=ih(J,r)|0;t=ih(J,a)|0;u=ih(J,k)|0;j=+(a>>>0);i=1;while(1){if(i>>>0>=w>>>0)break;a=p+(i<<2)|0;do if(!(+pi(+f[a>>2])>2];h=i+-1|0;e=+f[l+(h<<2)>>2];do if(((((g>e?g>+f[l+(i<<2)>>2]:0)?(Y=i+1|0,g>+f[l+(Y<<2)>>2]):0)?g>+f[m+(h<<2)>>2]:0)?g>+f[m+(i<<2)>>2]:0)?g>+f[m+(Y<<2)>>2]:0){if(!(g>+f[n+(h<<2)>>2])){ga=42;break}if(!(g>+f[n+(i<<2)>>2])){ga=42;break}if(!(g>+f[n+(Y<<2)>>2])){ga=42;break}if(!(g>+f[o+(h<<2)>>2])){ga=42;break}if(!(g>+f[o+(i<<2)>>2])){ga=42;break}if(!(g>+f[o+(Y<<2)>>2])){ga=42;break}if(!(g>+f[p+(h<<2)>>2])){ga=42;break}if(!(g>+f[p+(Y<<2)>>2])){ga=42;break}if(!(g>+f[q+(h<<2)>>2])){ga=42;break}if(!(g>+f[q+(i<<2)>>2])){ga=42;break}if(!(g>+f[q+(Y<<2)>>2])){ga=42;break}if(!(g>+f[r+(h<<2)>>2])){ga=42;break}if(!(g>+f[r+(i<<2)>>2])){ga=42;break}if(!(g>+f[r+(Y<<2)>>2])){ga=42;break}if(!(g>+f[t+(h<<2)>>2])){ga=42;break}if(!(g>+f[t+(i<<2)>>2])){ga=42;break}if(!(g>+f[t+(Y<<2)>>2])){ga=42;break}if(!(g>+f[u+(h<<2)>>2])){ga=42;break}if(!(g>+f[u+(i<<2)>>2])){ga=42;break}if(!(g>+f[u+(Y<<2)>>2]))ga=42}else ga=42;while(0);if((ga|0)==42){ga=0;if(!(g>2]))break;a=i+1|0;if(!(g<+f[l+(a<<2)>>2]))break;if(!(g<+f[m+(h<<2)>>2]))break;if(!(g<+f[m+(i<<2)>>2]))break;if(!(g<+f[m+(a<<2)>>2]))break;if(!(g<+f[n+(h<<2)>>2]))break;if(!(g<+f[n+(i<<2)>>2]))break;if(!(g<+f[n+(a<<2)>>2]))break;if(!(g<+f[o+(h<<2)>>2]))break;if(!(g<+f[o+(i<<2)>>2]))break;if(!(g<+f[o+(a<<2)>>2]))break;if(!(g<+f[p+(h<<2)>>2]))break;if(!(g<+f[p+(a<<2)>>2]))break;if(!(g<+f[q+(h<<2)>>2]))break;if(!(g<+f[q+(i<<2)>>2]))break;if(!(g<+f[q+(a<<2)>>2]))break;if(!(g<+f[r+(h<<2)>>2]))break;if(!(g<+f[r+(i<<2)>>2]))break;if(!(g<+f[r+(a<<2)>>2]))break;if(!(g<+f[t+(h<<2)>>2]))break;if(!(g<+f[t+(i<<2)>>2]))break;if(!(g<+f[t+(a<<2)>>2]))break;if(!(g<+f[u+(h<<2)>>2]))break;if(!(g<+f[u+(i<<2)>>2]))break;if(!(g<+f[u+(a<<2)>>2]))break}c[aa>>2]=K;c[ca>>2]=E;f[da>>2]=g;f[ea>>2]=+yi(b,K,v);xi(ba,fa,+(i>>>0),j,K);a=c[V>>2]|0;if((a|0)==(c[F>>2]|0)){ei(_,ba);break}else{h=ba;D=a+36|0;do{c[a>>2]=c[h>>2];a=a+4|0;h=h+4|0}while((a|0)<(D|0));c[V>>2]=(c[V>>2]|0)+36;break}}while(0);i=i+1|0}a=k}}else ga=72;while(0);c:do if((ga|0)==72){ga=0;D=Tg(H)|0;if((D|0)==(Tg(I)|0)?(D=(Tg(I)|0)>>>1,(D|0)==(Tg(J)|0)):0){D=Ug(H)|0;if((D|0)!=(Ug(I)|0)){ga=75;break a}D=(Ug(I)|0)>>>1;if((D|0)!=(Ug(J)|0)){ga=77;break a}t=~~+s(+((+(((Tg(J)|0)+-1|0)>>>0)+-.5)*2.0+.5))>>>0;u=~~+s(+((+(((Ug(J)|0)+-1|0)>>>0)+-.5)*2.0+.5))>>>0;C=+(E|0);a=2;while(1){if(a>>>0>=u>>>0)break c;p=a+-1|0;m=ih(H,p)|0;n=ih(H,a)|0;l=a+1|0;o=ih(H,l)|0;p=ih(I,p)|0;q=ih(I,a)|0;r=ih(I,l)|0;z=+(a>>>0);A=z*.5+-.25;B=A+-.5;y=A+.5;k=2;while(1){if(k>>>0>=t>>>0)break;i=q+(k<<2)|0;do if(!(+pi(+f[i>>2])>>0);v=j*.5+-.25;e=+f[i>>2];h=k+-1|0;a=m+(h<<2)|0;do if(((e>+f[a>>2]?e>+f[m+(k<<2)>>2]:0)?(W=k+1|0,e>+f[m+(W<<2)>>2]):0)?e>+f[n+(h<<2)>>2]:0){if(!(e>+f[n+(k<<2)>>2])){ga=110;break}if(!(e>+f[n+(W<<2)>>2])){ga=110;break}if(!(e>+f[o+(h<<2)>>2])){ga=110;break}if(!(e>+f[o+(k<<2)>>2])){ga=110;break}if(!(e>+f[o+(W<<2)>>2])){ga=110;break}if(!(e>+f[p+(h<<2)>>2])){ga=110;break}if(!(e>+f[p+(k<<2)>>2])){ga=110;break}if(!(e>+f[p+(W<<2)>>2])){ga=110;break}if(!(e>+f[q+(h<<2)>>2])){ga=110;break}if(!(e>+f[q+(W<<2)>>2])){ga=110;break}if(!(e>+f[r+(h<<2)>>2])){ga=110;break}if(!(e>+f[r+(k<<2)>>2])){ga=110;break}if(!(e>+f[r+(W<<2)>>2])){ga=110;break}g=v+-.5;if(!(e>+Ii(J,g,B))){ga=110;break}e=+f[i>>2];if(!(e>+Ii(J,v,B))){ga=110;break}ia=+f[i>>2];e=v+.5;if(!(ia>+Ii(J,e,B))){ga=110;break}ia=+f[i>>2];if(!(ia>+Ii(J,g,A))){ga=110;break}ia=+f[i>>2];if(!(ia>+Ii(J,v,A))){ga=110;break}ia=+f[i>>2];if(!(ia>+Ii(J,e,A))){ga=110;break}ia=+f[i>>2];if(!(ia>+Ii(J,g,y))){ga=110;break}ia=+f[i>>2];if(!(ia>+Ii(J,v,y))){ga=110;break}ia=+f[i>>2];if(!(ia>+Ii(J,e,y)))ga=110}else ga=110;while(0);if((ga|0)==110){ga=0;e=+f[i>>2];if(!(e<+f[a>>2]))break;if(!(e<+f[m+(k<<2)>>2]))break;a=k+1|0;if(!(e<+f[m+(a<<2)>>2]))break;if(!(e<+f[n+(h<<2)>>2]))break;if(!(e<+f[n+(k<<2)>>2]))break;if(!(e<+f[n+(a<<2)>>2]))break;if(!(e<+f[o+(h<<2)>>2]))break;if(!(e<+f[o+(k<<2)>>2]))break;if(!(e<+f[o+(a<<2)>>2]))break;if(!(e<+f[p+(h<<2)>>2]))break;if(!(e<+f[p+(k<<2)>>2]))break;if(!(e<+f[p+(a<<2)>>2]))break;if(!(e<+f[q+(h<<2)>>2]))break;if(!(e<+f[q+(a<<2)>>2]))break;if(!(e<+f[r+(h<<2)>>2]))break;if(!(e<+f[r+(k<<2)>>2]))break;if(!(e<+f[r+(a<<2)>>2]))break;g=v+-.5;if(!(e<+Ii(J,g,B)))break;ia=+f[i>>2];if(!(ia<+Ii(J,v,B)))break;ia=+f[i>>2];e=v+.5;if(!(ia<+Ii(J,e,B)))break;ia=+f[i>>2];if(!(ia<+Ii(J,g,A)))break;ia=+f[i>>2];if(!(ia<+Ii(J,v,A)))break;ia=+f[i>>2];if(!(ia<+Ii(J,e,A)))break;ia=+f[i>>2];if(!(ia<+Ii(J,g,y)))break;ia=+f[i>>2];if(!(ia<+Ii(J,v,y)))break;ia=+f[i>>2];if(!(ia<+Ii(J,e,y)))break}c[L>>2]=K;c[N>>2]=E;c[P>>2]=c[i>>2];f[R>>2]=+yi(b,K,C);xi(ba,T,j,z,K);a=c[V>>2]|0;if((a|0)==(c[F>>2]|0)){ei(_,ba);break}else{h=ba;D=a+36|0;do{c[a>>2]=c[h>>2];a=a+4|0;h=h+4|0}while((a|0)<(D|0));c[V>>2]=(c[V>>2]|0)+36;break}}while(0);k=k+1|0}a=l}}D=(Tg(H)|0)>>>1;if((D|0)==(Tg(I)|0)?(D=(Tg(H)|0)>>>1,(D|0)==(Tg(J)|0)):0){D=(Ug(H)|0)>>>1;if((D|0)!=(Ug(I)|0)){ga=144;break a}D=(Ug(H)|0)>>>1;if((D|0)!=(Ug(J)|0)){ga=146;break a}t=(Tg(I)|0)+-1|0;u=(Ug(I)|0)+-1|0;B=+(E|0);a=1;while(1){if(a>>>0>=u>>>0)break c;p=a+-1|0;m=ih(I,p)|0;n=ih(I,a)|0;l=a+1|0;o=ih(I,l)|0;p=ih(J,p)|0;q=ih(J,a)|0;r=ih(J,l)|0;A=+(a<<1>>>0)+.5;y=+(a>>>0);z=A+-2.0;v=A+2.0;k=1;while(1){if(k>>>0>=t>>>0)break;i=n+(k<<2)|0;do if(!(+pi(+f[i>>2])>>0)+.5;e=+f[i>>2];h=k+-1|0;a=m+(h<<2)|0;do if(((e>+f[a>>2]?e>+f[m+(k<<2)>>2]:0)?(X=k+1|0,e>+f[m+(X<<2)>>2]):0)?e>+f[n+(h<<2)>>2]:0){if(!(e>+f[n+(X<<2)>>2])){ga=179;break}if(!(e>+f[o+(h<<2)>>2])){ga=179;break}if(!(e>+f[o+(k<<2)>>2])){ga=179;break}if(!(e>+f[o+(X<<2)>>2])){ga=179;break}if(!(e>+f[p+(h<<2)>>2])){ga=179;break}if(!(e>+f[p+(k<<2)>>2])){ga=179;break}if(!(e>+f[p+(X<<2)>>2])){ga=179;break}if(!(e>+f[q+(h<<2)>>2])){ga=179;break}if(!(e>+f[q+(k<<2)>>2])){ga=179;break}if(!(e>+f[q+(X<<2)>>2])){ga=179;break}if(!(e>+f[r+(h<<2)>>2])){ga=179;break}if(!(e>+f[r+(k<<2)>>2])){ga=179;break}if(!(e>+f[r+(X<<2)>>2])){ga=179;break}g=j+-2.0;if(!(e>+Ii(H,g,z))){ga=179;break}ia=+f[i>>2];if(!(ia>+Ii(H,j,z))){ga=179;break}ia=+f[i>>2];e=j+2.0;if(!(ia>+Ii(H,e,z))){ga=179;break}ia=+f[i>>2];if(!(ia>+Ii(H,g,A))){ga=179;break}ia=+f[i>>2];if(!(ia>+Ii(H,j,A))){ga=179;break}ia=+f[i>>2];if(!(ia>+Ii(H,e,A))){ga=179;break}ia=+f[i>>2];if(!(ia>+Ii(H,g,v))){ga=179;break}ia=+f[i>>2];if(!(ia>+Ii(H,j,v))){ga=179;break}ia=+f[i>>2];if(!(ia>+Ii(H,e,v)))ga=179}else ga=179;while(0);if((ga|0)==179){ga=0;e=+f[i>>2];if(!(e<+f[a>>2]))break;if(!(e<+f[m+(k<<2)>>2]))break;a=k+1|0;if(!(e<+f[m+(a<<2)>>2]))break;if(!(e<+f[n+(h<<2)>>2]))break;if(!(e<+f[n+(a<<2)>>2]))break;if(!(e<+f[o+(h<<2)>>2]))break;if(!(e<+f[o+(k<<2)>>2]))break;if(!(e<+f[o+(a<<2)>>2]))break;if(!(e<+f[p+(h<<2)>>2]))break;if(!(e<+f[p+(k<<2)>>2]))break;if(!(e<+f[p+(a<<2)>>2]))break;if(!(e<+f[q+(h<<2)>>2]))break;if(!(e<+f[q+(k<<2)>>2]))break;if(!(e<+f[q+(a<<2)>>2]))break;if(!(e<+f[r+(h<<2)>>2]))break;if(!(e<+f[r+(k<<2)>>2]))break;if(!(e<+f[r+(a<<2)>>2]))break;g=j+-2.0;if(!(e<+Ii(H,g,z)))break;ia=+f[i>>2];if(!(ia<+Ii(H,j,z)))break;ia=+f[i>>2];e=j+2.0;if(!(ia<+Ii(H,e,z)))break;ia=+f[i>>2];if(!(ia<+Ii(H,g,A)))break;ia=+f[i>>2];if(!(ia<+Ii(H,j,A)))break;ia=+f[i>>2];if(!(ia<+Ii(H,e,A)))break;ia=+f[i>>2];if(!(ia<+Ii(H,g,v)))break;ia=+f[i>>2];if(!(ia<+Ii(H,j,v)))break;ia=+f[i>>2];if(!(ia<+Ii(H,e,v)))break}c[M>>2]=K;c[O>>2]=E;c[Q>>2]=c[i>>2];f[S>>2]=+yi(b,K,B);xi(ba,U,+(k>>>0),y,K);a=c[V>>2]|0;if((a|0)==(c[F>>2]|0)){ei(_,ba);break}else{h=ba;D=a+36|0;do{c[a>>2]=c[h>>2];a=a+4|0;h=h+4|0}while((a|0)<(D|0));c[V>>2]=(c[V>>2]|0)+36;break}}while(0);k=k+1|0}a=l}}}while(0);a=G}if((ga|0)==3){zb=ha;return}else if((ga|0)==7){ha=bg(bg(WE(bg(bg(bg(56880,26803)|0,22676)|0,35722)|0,192)|0,35729)|0,26855)|0;PE(ba,ha+(c[(c[ha>>2]|0)+-12>>2]|0)|0);ga=cG(ba,57584)|0;ga=Hb[c[(c[ga>>2]|0)+28>>2]&63](ga,10)|0;dG(ba);XE(ha,ga)|0;TE(ha)|0;va()}else if((ga|0)==9){ha=bg(bg(WE(bg(bg(bg(56880,26878)|0,22676)|0,35722)|0,193)|0,35729)|0,26855)|0;PE(ba,ha+(c[(c[ha>>2]|0)+-12>>2]|0)|0);ga=cG(ba,57584)|0;ga=Hb[c[(c[ga>>2]|0)+28>>2]&63](ga,10)|0;dG(ba);XE(ha,ga)|0;TE(ha)|0;va()}else if((ga|0)==75){ha=bg(bg(WE(bg(bg(bg(56880,26803)|0,22676)|0,35722)|0,277)|0,35729)|0,26855)|0;PE(ba,ha+(c[(c[ha>>2]|0)+-12>>2]|0)|0);ga=cG(ba,57584)|0;ga=Hb[c[(c[ga>>2]|0)+28>>2]&63](ga,10)|0;dG(ba);XE(ha,ga)|0;TE(ha)|0;va()}else if((ga|0)==77){ha=bg(bg(WE(bg(bg(bg(56880,26930)|0,22676)|0,35722)|0,278)|0,35729)|0,26855)|0;PE(ba,ha+(c[(c[ha>>2]|0)+-12>>2]|0)|0);ga=cG(ba,57584)|0;ga=Hb[c[(c[ga>>2]|0)+28>>2]&63](ga,10)|0;dG(ba);XE(ha,ga)|0;TE(ha)|0;va()}else if((ga|0)==144){ha=bg(bg(WE(bg(bg(bg(56880,26987)|0,22676)|0,35722)|0,362)|0,35729)|0,26855)|0;PE(ba,ha+(c[(c[ha>>2]|0)+-12>>2]|0)|0);ga=cG(ba,57584)|0;ga=Hb[c[(c[ga>>2]|0)+28>>2]&63](ga,10)|0;dG(ba);XE(ha,ga)|0;TE(ha)|0;va()}else if((ga|0)==146){ha=bg(bg(WE(bg(bg(bg(56880,27044)|0,22676)|0,35722)|0,363)|0,35729)|0,26855)|0;PE(ba,ha+(c[(c[ha>>2]|0)+-12>>2]|0)|0);ga=cG(ba,57584)|0;ga=Hb[c[(c[ga>>2]|0)+28>>2]&63](ga,10)|0;dG(ba);XE(ha,ga)|0;TE(ha)|0;va()}}function _h(a,b){a=a|0;b=b|0;var d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0.0,u=0.0,v=0,w=0,x=0,y=0,z=0.0,A=0.0,B=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0.0,M=0.0,N=0.0;J=zb;zb=zb+80|0;I=J+68|0;v=J;y=J+56|0;E=J+44|0;F=J+40|0;G=J+36|0;z=+pi(+f[a+52>>2]);H=a+56|0;A=+pi(+f[H>>2]+1.0);A=A/+f[H>>2];H=a+60|0;w=a+64|0;D=a+32|0;x=E+4|0;r=a+88|0;n=y+4|0;o=y+8|0;p=E+8|0;q=0;m=0;while(1){l=c[H>>2]|0;i=l;if(q>>>0>=(((c[w>>2]|0)-l|0)/36|0)>>>0){a=3;break}d=i+(q*36|0)|0;h=i+(q*36|0)+16|0;l=c[h>>2]|0;if((l|0)>=(ri(D)|0)){a=5;break}j=i+(q*36|0)+12|0;k=c[j>>2]|0;k=C(ri(D)|0,k)|0;k=k+(c[h>>2]|0)|0;l=i+(q*36|0)+4|0;si(F,G,+f[d>>2],+f[l>>2],c[j>>2]|0);e=~~(+f[F>>2]+.5);g=~~(+f[G>>2]+.5);K=(c[(ti(D)|0)>>2]|0)+(k+-1<<5)|0;a=(c[(ti(D)|0)>>2]|0)+(k<<5)|0;if(((ui(v,y,K,a,(c[(ti(D)|0)>>2]|0)+(k+1<<5)|0,e,g)|0?vi(E,v,y)|0:0)?(L=+pi(+f[E>>2]),L=L+ +pi(+f[x>>2]),!(L>+f[r>>2])):0)?(B=i+(q*36|0)+32|0,wi(B,v)|0):0){k=i+(q*36|0)+24|0;L=+f[k>>2];if(!(L==+f[(ih(a,g)|0)+(e<<2)>>2])){a=11;break}N=+f[(ih(a,g)|0)+(e<<2)>>2];M=+f[E>>2];L=+f[x>>2];f[k>>2]=N-(+f[y>>2]*M+ +f[n>>2]*L+ +f[o>>2]*+f[p>>2]);xi(d,l,M+ +f[F>>2],L+ +f[G>>2],c[j>>2]|0);L=+f[p>>2]+ +(c[h>>2]|0);a=i+(q*36|0)+20|0;f[a>>2]=L;f[a>>2]=+di(L,0.0,+(ri(D)|0));if(((((+t(+(+f[B>>2]))>2])>=z:0)?(s=+f[d>>2],s>=0.0):0)?s<+((Tg(c[(ti(D)|0)>>2]|0)|0)>>>0):0)?(u=+f[l>>2],u>=0.0):0)?u<+((Ug(c[(ti(D)|0)>>2]|0)|0)>>>0):0){f[i+(q*36|0)+28>>2]=+yi(b,c[j>>2]|0,+f[a>>2]);a=m+1|0;g=(c[H>>2]|0)+(m*36|0)|0;e=g+36|0;do{c[g>>2]=c[d>>2];g=g+4|0;d=d+4|0}while((g|0)<(e|0))}else a=m}else a=m;q=q+1|0;m=a}if((a|0)==3){qi(H,m);zb=J;return}else if((a|0)==5){K=bg(bg(WE(bg(bg(bg(56880,24324)|0,22676)|0,35722)|0,489)|0,35729)|0,24396)|0;PE(I,K+(c[(c[K>>2]|0)+-12>>2]|0)|0);J=cG(I,57584)|0;J=Hb[c[(c[J>>2]|0)+28>>2]&63](J,10)|0;dG(I);XE(K,J)|0;TE(K)|0;va()}else if((a|0)==11){K=bg(bg(WE(bg(bg(bg(56880,24433)|0,22676)|0,35722)|0,526)|0,35729)|0,24490)|0;PE(I,K+(c[(c[K>>2]|0)+-12>>2]|0)|0);J=cG(I,57584)|0;J=Hb[c[(c[J>>2]|0)+28>>2]&63](J,10)|0;dG(I);XE(K,J)|0;TE(K)|0;va()}}function $h(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;l=zb;zb=zb+16|0;j=l+12|0;i=l;g=a+60|0;e=a+64|0;h=a+84|0;d=c[h>>2]|0;do if((((c[e>>2]|0)-(c[g>>2]|0)|0)/36|0)>>>0>d>>>0){f=a+16|0;b=c[f>>2]|0;k=((c[a+20>>2]|0)-b|0)/12|0;if((k|0)!=(c[a+8>>2]|0)){m=bg(bg(WE(bg(bg(bg(56880,24015)|0,22676)|0,35722)|0,454)|0,35729)|0,24070)|0;PE(j,m+(c[(c[m>>2]|0)+-12>>2]|0)|0);n=cG(j,57584)|0;n=Hb[c[(c[n>>2]|0)+28>>2]&63](n,10)|0;dG(j);XE(m,n)|0;TE(m)|0;va()}b=((c[b+4>>2]|0)-(c[b>>2]|0)|0)/12|0;if((b|0)!=(c[a+12>>2]|0)){n=bg(bg(WE(bg(bg(bg(56880,24096)|0,22676)|0,35722)|0,455)|0,35729)|0,24070)|0;PE(j,n+(c[(c[n>>2]|0)+-12>>2]|0)|0);m=cG(j,57584)|0;m=Hb[c[(c[m>>2]|0)+28>>2]&63](m,10)|0;dG(j);XE(n,m)|0;TE(n)|0;va()}c[i>>2]=0;c[i+4>>2]=0;c[i+8>>2]=0;gi(f,i,g,k,b,c[a>>2]|0,c[a+4>>2]|0,d);bi(g,i);if((((c[e>>2]|0)-(c[g>>2]|0)|0)/36|0)>>>0>(c[h>>2]|0)>>>0){n=bg(bg(WE(bg(bg(bg(56880,24154)|0,22676)|0,35722)|0,469)|0,35729)|0,24223)|0;PE(j,n+(c[(c[n>>2]|0)+-12>>2]|0)|0);m=cG(j,57584)|0;m=Hb[c[(c[m>>2]|0)+28>>2]&63](m,10)|0;dG(j);XE(n,m)|0;TE(n)|0;va()}else{nh(i);break}}while(0);zb=l;return}function ai(b,d){b=b|0;d=d|0;var e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0.0;w=zb;zb=zb+64|0;s=w+48|0;u=w+44|0;v=w+40|0;t=w+36|0;o=w;a:do if(!(a[b+28>>0]|0)){e=c[b+60>>2]|0;g=((c[b+64>>2]|0)-e|0)/36|0;b=e;e=0;while(1){if((e|0)==(g|0))break a;f[b+(e*36|0)+8>>2]=0.0;e=e+1|0}}else{r=b+72|0;l=b+76|0;c[l>>2]=c[r>>2];p=b+60|0;m=b+64|0;Ah(r,(c[m>>2]|0)-(c[p>>2]|0)|0);q=b+92|0;Bj(q,d);k=b+144|0;n=o+8|0;i=b+80|0;j=0;while(1){h=c[p>>2]|0;b=h;if(j>>>0>=(((c[m>>2]|0)-h|0)/36|0)>>>0)break;ci(u,v,t,+f[b+(j*36|0)>>2],+f[b+(j*36|0)+4>>2],+f[b+(j*36|0)+28>>2],c[b+(j*36|0)+12>>2]|0);x=+f[u>>2];f[u>>2]=+di(x,0.0,+(((Tg(Rg(d,c[(c[p>>2]|0)+(j*36|0)+12>>2]|0,0)|0)|0)+-1|0)>>>0));x=+f[v>>2];x=+di(x,0.0,+(((Ug(Rg(d,c[(c[p>>2]|0)+(j*36|0)+12>>2]|0,0)|0)|0)+-1|0)>>>0));f[v>>2]=x;h=c[p>>2]|0;Ej(q,c[k>>2]|0,s,c[h+(j*36|0)+12>>2]|0,c[h+(j*36|0)+16>>2]|0,+f[u>>2],x,+f[t>>2]);h=0;while(1){if((h|0)>=(c[s>>2]|0))break;b=o;e=(c[p>>2]|0)+(j*36|0)|0;g=b+36|0;do{c[b>>2]=c[e>>2];b=b+4|0;e=e+4|0}while((b|0)<(g|0));c[n>>2]=c[(c[k>>2]|0)+(h<<2)>>2];b=c[l>>2]|0;if((b|0)==(c[i>>2]|0))ei(r,o);else{e=o;g=b+36|0;do{c[b>>2]=c[e>>2];b=b+4|0;e=e+4|0}while((b|0)<(g|0));c[l>>2]=(c[l>>2]|0)+36}h=h+1|0}j=j+1|0}bi(p,r)}while(0);zb=w;return}function bi(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=c[a>>2]|0;c[a>>2]=c[b>>2];c[b>>2]=f;f=a+4|0;d=b+4|0;e=c[f>>2]|0;c[f>>2]=c[d>>2];c[d>>2]=e;d=a+8|0;a=b+8|0;b=c[d>>2]|0;c[d>>2]=c[a>>2];c[a>>2]=b;return}function ci(a,b,c,d,e,g,h){a=a|0;b=b|0;c=c|0;d=+d;e=+e;g=+g;h=h|0;var i=0.0,j=0.0;i=1.0/+(1<>2]=i*d+j;f[b>>2]=i*e+j;f[c>>2]=i*g;return}function di(a,b,c){a=+a;b=+b;c=+c;if(!(ac))c=a}else c=b;return +c}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;j=zb;zb=zb+32|0;i=j;d=a+4|0;e=(((c[d>>2]|0)-(c[a>>2]|0)|0)/36|0)+1|0;f=fi(a)|0;if(f>>>0>>0)LO(a);else{g=c[a>>2]|0;k=((c[a+8>>2]|0)-g|0)/36|0;h=k<<1;Bh(i,k>>>0>>1>>>0?(h>>>0>>0?e:h):f,((c[d>>2]|0)-g|0)/36|0,a+8|0);g=i+8|0;f=c[g>>2]|0;h=f;d=b;e=h+36|0;do{c[h>>2]=c[d>>2];h=h+4|0;d=d+4|0}while((h|0)<(e|0));c[g>>2]=f+36;Ch(a,i);Dh(i);zb=j;return}}function fi(a){a=a|0;return 119304647}function gi(a,b,d,e,g,h,i,j){a=a|0;b=b|0;d=d|0;e=e|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,l=0,m=0.0,n=0.0,o=0,p=0,q=0,r=0,s=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,D=0;D=zb;zb=zb+48|0;A=D+8|0;x=D+32|0;v=D+28|0;u=D+24|0;w=D+20|0;y=D+16|0;z=D;o=C(g,e)|0;n=+B(+(+(h|0)/+(e|0)));m=+B(+(+(i|0)/+(g|0)));r=b+4|0;c[r>>2]=c[b>>2];Ah(b,j);s=a+4|0;e=c[a>>2]|0;k=((c[s>>2]|0)-e|0)/12|0;i=0;while(1){if((i|0)==(k|0))break;h=c[e+(i*12|0)>>2]|0;l=((c[e+(i*12|0)+4>>2]|0)-h|0)/12|0;g=0;while(1){if((g|0)==(l|0))break;c[h+(g*12|0)+4>>2]=c[h+(g*12|0)>>2];g=g+1|0}i=i+1|0}q=(j|0)/(o|0)|0;j=d+4|0;n=+(~~n|0);m=+(~~m|0);k=A+4|0;l=0;while(1){p=c[d>>2]|0;e=p;if(l>>>0>=(((c[j>>2]|0)-p|0)/36|0)>>>0)break;g=~~(+f[e+(l*36|0)+4>>2]/m);i=c[(c[a>>2]|0)+(~~(+f[e+(l*36|0)>>2]/n)*12|0)>>2]|0;f[A>>2]=+t(+(+f[e+(l*36|0)+24>>2]));c[k>>2]=l;h=i+(g*12|0)+4|0;e=c[h>>2]|0;if(e>>>0<(c[i+(g*12|0)+8>>2]|0)>>>0){g=A;o=c[g+4>>2]|0;p=e;c[p>>2]=c[g>>2];c[p+4>>2]=o;c[h>>2]=(c[h>>2]|0)+8}else hi(i+(g*12|0)|0,A);l=l+1|0}o=b+8|0;h=c[a>>2]|0;i=h;e=i;p=0;a:while(1){if(p>>>0>=(((c[s>>2]|0)-h|0)/12|0)>>>0){e=16;break}g=e;j=0;while(1){l=c[i+(p*12|0)>>2]|0;e=l;if(j>>>0>=(((c[i+(p*12|0)+4>>2]|0)-l|0)/12|0)>>>0)break;l=e+(j*12|0)|0;i=e+(j*12|0)+4|0;e=c[i>>2]|0;h=c[l>>2]|0;k=e-h>>3;k=q>>>0>>0?q:k;if(!k)e=g;else{c[u>>2]=h;c[w>>2]=h+(k<<3);c[y>>2]=e;c[v>>2]=c[u>>2];c[x>>2]=c[w>>2];c[A>>2]=c[y>>2];ii(v,x,A,z);h=c[l>>2]|0;g=h;if(k>>>0>(c[i>>2]|0)-h>>3>>>0?!(+f[g>>2]>=+f[g+(k<<3)>>2]):0){e=23;break a}g=0;while(1){if(g>>>0>=k>>>0)break;h=(c[d>>2]|0)+((c[(c[l>>2]|0)+(g<<3)+4>>2]|0)*36|0)|0;e=c[r>>2]|0;if((e|0)==(c[o>>2]|0))ei(b,h);else{i=e+36|0;do{c[e>>2]=c[h>>2];e=e+4|0;h=h+4|0}while((e|0)<(i|0));c[r>>2]=(c[r>>2]|0)+36}g=g+1|0}e=c[a>>2]|0}g=e;i=e;j=j+1|0}e=g;h=i;p=p+1|0}if((e|0)==16){zb=D;return}else if((e|0)==23){D=bg(bg(WE(bg(bg(bg(56880,24247)|0,22676)|0,35722)|0,661)|0,35729)|0,24305)|0;PE(A,D+(c[(c[D>>2]|0)+-12>>2]|0)|0);b=cG(A,57584)|0;b=Hb[c[(c[b>>2]|0)+28>>2]&63](b,10)|0;dG(A);XE(D,b)|0;TE(D)|0;va()}}function hi(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;h=zb;zb=zb+32|0;e=h;d=a+4|0;f=((c[d>>2]|0)-(c[a>>2]|0)>>3)+1|0;g=li(a)|0;if(g>>>0>>0)LO(a);else{i=c[a>>2]|0;k=(c[a+8>>2]|0)-i|0;j=k>>2;mi(e,k>>3>>>0>>1>>>0?(j>>>0>>0?f:j):g,(c[d>>2]|0)-i>>3,a+8|0);g=e+8|0;d=b;b=c[d+4>>2]|0;f=c[g>>2]|0;c[f>>2]=c[d>>2];c[f+4>>2]=b;c[g>>2]=(c[g>>2]|0)+8;ni(a,e);oi(e);zb=h;return}}function ii(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var g=0,h=0,i=0.0,j=0.0,k=0,l=0,m=0,n=0,o=0,p=0.0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0;K=zb;zb=zb+48|0;I=K+40|0;G=K+36|0;E=K+32|0;y=K+28|0;z=K+24|0;A=K+20|0;B=K+16|0;C=K+12|0;D=K+8|0;F=K+4|0;H=K;v=c[b>>2]|0;a:while(1){u=c[d>>2]|0;n=u;t=u+-8|0;o=t;s=u+-4|0;if((v|0)==(u|0))break;q=c[a>>2]|0;b=q;b:while(1){h=n-b|0;g=h>>3;switch(g|0){case 1:case 0:break a;case 2:{J=5;break a}case 3:{J=10;break a}default:{}}if((h|0)<64){J=12;break a}h=g>>>1;r=q+(h<<3)|0;c[D>>2]=b;c[F>>2]=r;c[H>>2]=o;c[E>>2]=c[D>>2];c[G>>2]=c[F>>2];c[I>>2]=c[H>>2];g=ji(E,G,I,e)|0;k=b;j=+f[r>>2];i=+f[k>>2];if(j>2]|0)>>>0<(c[k+4>>2]|0)>>>0:0){J=53;break}m=t;while(1){l=m+-8|0;if((l|0)==(k|0))break;i=+f[l>>2];if(j>2]|0,(c[h>>2]|0)>>>0>>0):0){J=51;break b}m=l}h=k+8|0;b=h;p=+f[t>>2];j=+f[q>>2];do if(!(p>2]|0)>>>0<(c[g>>2]|0)>>>0)break}else g=q+4|0;while(1){if((h|0)==(t|0))break a;i=+f[h>>2];if(i>2]|0,w>>>0<(c[g>>2]|0)>>>0):0){J=28;break}h=h+8|0}if((J|0)==25){J=0;g=h+4|0;b=c[g>>2]|0}else if((J|0)==28){J=0;b=w;g=h+4|0}f[h>>2]=p;f[t>>2]=i;c[g>>2]=c[s>>2];c[s>>2]=b;b=h+8|0}while(0);if((t|0)==(b|0))break a;l=q+4|0;g=o;while(1){j=+f[q>>2];while(1){h=b;i=+f[h>>2];if(i>2]|0)>>>0<(c[l>>2]|0)>>>0:0)break;b=h+8|0}h=b;while(1){k=g+-8|0;i=+f[k>>2];if(!(i>2]|0)>>>0>=(c[l>>2]|0)>>>0)break}g=k}if(k>>>0<=h>>>0)break;r=c[b>>2]|0;f[b>>2]=i;c[k>>2]=r;r=h+4|0;b=g+-4|0;g=c[r>>2]|0;c[r>>2]=c[b>>2];c[b>>2]=g;b=h+8|0;g=k}g=b;if(v>>>0>>0)break a;c[a>>2]=b;q=g}if((J|0)==47){h=m+-4|0;k=c[h>>2]|0;J=52}else if((J|0)==51){k=x;h=m+-4|0;J=52}else if((J|0)==53){J=0;l=t}if((J|0)==52){J=0;t=b;s=c[b>>2]|0;f[b>>2]=i;c[l>>2]=s;s=t+4|0;b=c[s>>2]|0;c[s>>2]=k;c[h>>2]=b;b=t;g=g+1|0}h=b+8|0;k=h;if(h>>>0>>0){while(1){q=r;o=q+4|0;j=+f[q>>2];while(1){h=k;i=+f[h>>2];if(!(j>2]|0)>>>0>=(c[h+4>>2]|0)>>>0)break}k=h+8|0}n=k;while(1){m=l+-8|0;i=+f[m>>2];if(j>2]|0)>>>0<(c[l+-4>>2]|0)>>>0:0)break;l=m}h=m;if(m>>>0<=n>>>0)break;t=c[k>>2]|0;f[k>>2]=i;c[m>>2]=t;t=n+4|0;k=l+-4|0;l=c[t>>2]|0;c[t>>2]=c[k>>2];c[k>>2]=l;k=n+8|0;l=h;r=(q|0)==(n|0)?h:r;g=g+1|0}h=k}q=k;do if((r|0)!=(h|0)){i=+f[h>>2];j=+f[r>>2];if(!(i>2]|0;m=r+4|0;l=c[m>>2]|0;if(n>>>0>=l>>>0)break}else{o=h+4|0;m=r+4|0;l=c[m>>2]|0;n=c[o>>2]|0}t=c[k>>2]|0;f[k>>2]=j;c[r>>2]=t;c[o>>2]=l;c[m>>2]=n;g=g+1|0}while(0);if((v|0)==(h|0))break;c:do if(!g)if(v>>>0>>0)while(1){g=b+8|0;if((g|0)==(h|0))break a;i=+f[b>>2];j=+f[g>>2];if(i>2]|0)>>>0<(c[b+12>>2]|0)>>>0:0)break c;b=g}else{b=q;while(1){g=b+8|0;if((g|0)==(u|0))break a;i=+f[b>>2];j=+f[g>>2];if(i>2]|0)>>>0<(c[b+12>>2]|0)>>>0:0)break c;b=g}}while(0);if(v>>>0>>0)c[d>>2]=k;else c[a>>2]=h+8}do if((J|0)==5){c[d>>2]=t;i=+f[q>>2];j=+f[t>>2];if(!(i>2]|0;b=c[s>>2]|0;if(h>>>0>=b>>>0)break}else{g=q+4|0;b=c[s>>2]|0;h=c[g>>2]|0}f[q>>2]=j;f[t>>2]=i;c[g>>2]=b;c[s>>2]=h}else if((J|0)==10){c[y>>2]=b;c[z>>2]=b+8;c[d>>2]=t;c[A>>2]=t;c[E>>2]=c[y>>2];c[G>>2]=c[z>>2];c[I>>2]=c[A>>2];ji(E,G,I,e)|0}else if((J|0)==12){c[B>>2]=b;c[C>>2]=u;c[G>>2]=c[B>>2];c[I>>2]=c[C>>2];ki(G,I,e)}while(0);zb=K;return}function ji(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var g=0.0,h=0.0,i=0.0,j=0,k=0,l=0;l=c[b>>2]|0;k=c[a>>2]|0;i=+f[k>>2];h=+f[l>>2];if(!(i>2]|0)>>>0<(c[l+4>>2]|0)>>>0;else b=1;j=c[d>>2]|0;g=+f[j>>2];if(!(h>2]|0)>>>0<(c[j+4>>2]|0)>>>0;else e=1;do if(!b)if(e){f[l>>2]=g;f[j>>2]=h;d=l+4|0;j=j+4|0;a=c[d>>2]|0;c[d>>2]=c[j>>2];c[j>>2]=a;g=+f[k>>2];h=+f[l>>2];if(!(g>2]|0;e=c[d>>2]|0;if(a>>>0>=e>>>0){e=1;break}}else{b=k+4|0;e=c[d>>2]|0;a=c[b>>2]|0}f[k>>2]=h;f[l>>2]=g;c[b>>2]=e;c[d>>2]=a;e=2}else e=0;else{if(e){f[k>>2]=g;f[j>>2]=i;k=k+4|0;e=j+4|0;l=c[k>>2]|0;c[k>>2]=c[e>>2];c[e>>2]=l;e=1;break}f[k>>2]=h;f[l>>2]=i;k=k+4|0;d=l+4|0;a=c[k>>2]|0;c[k>>2]=c[d>>2];c[d>>2]=a;g=+f[j>>2];if(!(i>2]|0;if(a>>>0>=e>>>0){e=1;break}}else{b=j+4|0;e=c[b>>2]|0}f[l>>2]=g;f[j>>2]=i;c[d>>2]=e;c[b>>2]=a;e=2}while(0);return e|0}function ki(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0,g=0.0,h=0,i=0,j=0,k=0,l=0;j=c[b>>2]|0;l=j+-8|0;k=c[a>>2]|0;while(1){if((k|0)==(l|0))break;a:do if((k|0)==(j|0))d=j;else{d=k;while(1){i=d+4|0;b=d;while(1){h=b+8|0;if((h|0)==(j|0))break a;e=+f[d>>2];g=+f[h>>2];if(e>2]|0)>>>0<(c[b+12>>2]|0)>>>0:0)break;b=h}d=h}}while(0);if((d|0)!=(k|0)){b=c[k>>2]|0;c[k>>2]=c[d>>2];c[d>>2]=b;b=k+4|0;i=d+4|0;h=c[b>>2]|0;c[b>>2]=c[i>>2];c[i>>2]=h}i=k+8|0;c[a>>2]=i;k=i}return}function li(a){a=a|0;return 536870911}function mi(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=a+12|0;c[f>>2]=0;c[a+16>>2]=e;do if(b)if(b>>>0>536870911){a=P(8)|0;kO(a,38211);c[a>>2]=16392;R(a|0,13960,22)}else{e=AB(b<<3)|0;break}else e=0;while(0);c[a>>2]=e;d=e+(d<<3)|0;c[a+8>>2]=d;c[a+4>>2]=d;c[f>>2]=e+(b<<3);return}function ni(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;e=c[a>>2]|0;h=a+4|0;g=b+4|0;f=(c[h>>2]|0)-e|0;d=(c[g>>2]|0)+(0-(f>>3)<<3)|0;c[g>>2]=d;if((f|0)>0){fP(d|0,e|0,f|0)|0;e=g;d=c[g>>2]|0}else e=g;g=c[a>>2]|0;c[a>>2]=d;c[e>>2]=g;g=b+8|0;f=c[h>>2]|0;c[h>>2]=c[g>>2];c[g>>2]=f;g=a+8|0;a=b+12|0;h=c[g>>2]|0;c[g>>2]=c[a>>2];c[a>>2]=h;c[b>>2]=c[e>>2];return}function oi(a){a=a|0;var b=0,d=0,e=0,f=0;b=c[a+4>>2]|0;e=a+8|0;d=c[e>>2]|0;while(1){if((d|0)==(b|0))break;f=d+-8|0;c[e>>2]=f;d=f}b=c[a>>2]|0;if(b|0)Vf(b,(c[a+12>>2]|0)-b|0);return}function pi(a){a=+a;return +(a*a)}function qi(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;e=a+4|0;d=c[a>>2]|0;f=((c[e>>2]|0)-d|0)/36|0;if(f>>>0>=b>>>0){if(f>>>0>b>>>0)c[e>>2]=d+(b*36|0)}else Ni(a,b-f|0);return}function ri(a){a=a|0;return c[a+16>>2]|0}function si(a,b,c,d,e){a=a|0;b=b|0;c=+c;d=+d;e=e|0;var g=0.0,h=0.0;h=1.0/+(1<>2]=h*c+g;f[b>>2]=h*d+g;return}function ti(a){a=a|0;return a|0}function ui(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0;j=zb;zb=zb+16|0;i=j;k=Tg(d)|0;k=(k|0)==(Tg(e)|0)&1;do if((Tg(f)|0)==(k|0)){k=Ug(d)|0;k=(k|0)==(Ug(e)|0)&1;if((Ug(f)|0)==(k|0)){Ei(a,b,d,e,f,g,h);break}else{k=bg(bg(WE(bg(bg(bg(56880,24533)|0,24604)|0,35722)|0,466)|0,35729)|0,24735)|0;PE(i,k+(c[(c[k>>2]|0)+-12>>2]|0)|0);h=cG(i,57584)|0;h=Hb[c[(c[h>>2]|0)+28>>2]&63](h,10)|0;dG(i);XE(k,h)|0;TE(k)|0;va()}}else{k=Tg(d)|0;if((k|0)==(Tg(e)|0)?(k=(Tg(e)|0)>>>1,(k|0)==(Tg(f)|0)):0){k=Ug(d)|0;if((k|0)==(Ug(e)|0)?(k=(Ug(e)|0)>>>1,(k|0)==(Ug(f)|0)):0){Fi(a,b,d,e,f,g,h);break}k=bg(bg(WE(bg(bg(bg(56880,24767)|0,24604)|0,35722)|0,469)|0,35729)|0,24735)|0;PE(i,k+(c[(c[k>>2]|0)+-12>>2]|0)|0);l=cG(i,57584)|0;l=Hb[c[(c[l>>2]|0)+28>>2]&63](l,10)|0;dG(i);XE(k,l)|0;TE(k)|0;va()}l=(Tg(d)|0)>>>1;if((l|0)==(Tg(e)|0)?(l=Tg(e)|0,(l|0)==(Tg(f)|0)):0){l=(Tg(d)|0)>>>1;if((l|0)==(Tg(e)|0)?(l=Tg(e)|0,(l|0)==(Tg(f)|0)):0){Gi(a,b,d,e,f,g,h);break}l=bg(bg(WE(bg(bg(bg(56880,24864)|0,24604)|0,35722)|0,472)|0,35729)|0,24735)|0;PE(i,l+(c[(c[l>>2]|0)+-12>>2]|0)|0);k=cG(i,57584)|0;k=Hb[c[(c[k>>2]|0)+28>>2]&63](k,10)|0;dG(i);XE(l,k)|0;TE(l)|0;va()}l=bg(bg(WE(bg(bg(bg(56880,31512)|0,24604)|0,35722)|0,475)|0,35729)|0,24957)|0;PE(i,l+(c[(c[l>>2]|0)+-12>>2]|0)|0);k=cG(i,57584)|0;k=Hb[c[(c[k>>2]|0)+28>>2]&63](k,10)|0;dG(i);XE(l,k)|0;TE(l)|0;va()}while(0);zb=j;return 1}function vi(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=zb;zb=zb+48|0;d=e;if(zi(d,b,1.1920928955078125e-07)|0){Ai(a,d,c);b=1}else b=0;zb=e;return b|0}function wi(a,b){a=a|0;b=b|0;var c=0,d=0.0;c=b+16|0;d=+f[b>>2]*+f[c>>2];d=d-+pi(+f[b+4>>2]);if(d==0.0)b=0;else{f[a>>2]=+pi(+f[b>>2]+ +f[c>>2])/d;b=1}return b|0}function xi(a,b,c,d,e){a=a|0;b=b|0;c=+c;d=+d;e=e|0;var g=0.0,h=0.0;g=+uz(1.0,e+-1|0)+-.5;h=+(1<>2]=h*c+g;f[b>>2]=h*d+g;return}function yi(a,b,d){a=a|0;b=b|0;d=+d;var e=0,g=0,h=0,i=0;g=zb;zb=zb+16|0;e=g;if(!(d>=0.0)){h=bg(bg(WE(bg(bg(bg(56880,34750)|0,34508)|0,35722)|0,232)|0,35729)|0,34784)|0;PE(e,h+(c[(c[h>>2]|0)+-12>>2]|0)|0);i=cG(e,57584)|0;i=Hb[c[(c[i>>2]|0)+28>>2]&63](i,10)|0;dG(e);XE(h,i)|0;TE(h)|0;va()}if(+(c[a+20>>2]|0)>d){d=+v(+(+f[a+24>>2]),+d)*+(1<>2]|0)+-12>>2]|0)|0);h=cG(e,57584)|0;h=Hb[c[(c[h>>2]|0)+28>>2]&63](h,10)|0;dG(e);XE(i,h)|0;TE(i)|0;va()}return +(0.0)}function zi(a,b,d){a=a|0;b=b|0;d=+d;var e=0.0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=+Bi(b);if(!(+t(+e)<=d)){d=1.0/e;j=b+16|0;l=b+20|0;g=b+32|0;f[a>>2]=d*+Ci(+f[j>>2],+f[l>>2],+f[g>>2]);m=b+8|0;k=b+4|0;i=a+4|0;f[i>>2]=d*+Di(+f[m>>2],+f[k>>2],+f[g>>2],+f[b+28>>2]);h=a+8|0;f[h>>2]=d*+Di(+f[k>>2],+f[m>>2],+f[j>>2],+f[l>>2]);f[a+16>>2]=d*+Ci(+f[b>>2],+f[m>>2],+f[g>>2]);g=a+20|0;f[g>>2]=d*+Di(+f[m>>2],+f[b>>2],+f[l>>2],+f[b+12>>2]);f[a+32>>2]=d*+Ci(+f[b>>2],+f[k>>2],+f[j>>2]);c[a+12>>2]=c[i>>2];c[a+24>>2]=c[h>>2];c[a+28>>2]=c[g>>2];b=1}else b=0;return b|0}function Ai(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=c+4|0;d=c+8|0;f[a>>2]=+f[b>>2]*+f[c>>2]+ +f[b+4>>2]*+f[e>>2]+ +f[b+8>>2]*+f[d>>2];f[a+4>>2]=+f[b+12>>2]*+f[c>>2]+ +f[b+16>>2]*+f[e>>2]+ +f[b+20>>2]*+f[d>>2];f[a+8>>2]=+f[b+24>>2]*+f[c>>2]+ +f[b+28>>2]*+f[e>>2]+ +f[b+32>>2]*+f[d>>2];return}function Bi(a){a=a|0;var b=0,c=0,d=0.0,e=0.0,g=0.0,h=0.0,i=0;b=a+32|0;g=+f[b>>2];c=a+4|0;g=g*+pi(+f[c>>2]);e=+f[a+8>>2];i=a+20|0;h=+f[c>>2]*2.0*e*+f[i>>2];c=a+16|0;d=+f[c>>2];e=d*+pi(e);d=+f[a>>2];d=d*+pi(+f[i>>2]);return +(h-g-e-d+ +f[a>>2]*+f[c>>2]*+f[b>>2])}function Ci(a,b,c){a=+a;b=+b;c=+c;return +(a*c-b*b)}function Di(a,b,c,d){a=+a;b=+b;c=+c;d=+d;return +(a*d-b*c)}function Ei(a,b,d,e,g,h,i){a=a|0;b=b|0;d=d|0;e=e|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0,A=0;r=zb;zb=zb+32|0;p=r+20|0;j=r+16|0;m=r+12|0;k=r+8|0;n=r+4|0;l=r;if((h|0)>0?(h+1|0)>>>0<(Tg(e)|0)>>>0:0){q=i+-1|0;if((i|0)>0?(o=i+1|0,o>>>0<(Ug(e)|0)>>>0):0){s=Tg(d)|0;if((s|0)!=(Tg(e)|0)){s=bg(bg(WE(bg(bg(bg(56880,26298)|0,24604)|0,35722)|0,311)|0,35729)|0,25192)|0;PE(p,s+(c[(c[s>>2]|0)+-12>>2]|0)|0);t=cG(p,57584)|0;t=Hb[c[(c[t>>2]|0)+28>>2]&63](t,10)|0;dG(p);XE(s,t)|0;TE(s)|0;va()}t=Tg(d)|0;if((t|0)!=(Tg(g)|0)){t=bg(bg(WE(bg(bg(bg(56880,26697)|0,24604)|0,35722)|0,312)|0,35729)|0,25192)|0;PE(p,t+(c[(c[t>>2]|0)+-12>>2]|0)|0);s=cG(p,57584)|0;s=Hb[c[(c[s>>2]|0)+28>>2]&63](s,10)|0;dG(p);XE(t,s)|0;TE(t)|0;va()}t=Ug(d)|0;if((t|0)!=(Ug(e)|0)){t=bg(bg(WE(bg(bg(bg(56880,26350)|0,24604)|0,35722)|0,313)|0,35729)|0,25192)|0;PE(p,t+(c[(c[t>>2]|0)+-12>>2]|0)|0);s=cG(p,57584)|0;s=Hb[c[(c[s>>2]|0)+28>>2]&63](s,10)|0;dG(p);XE(t,s)|0;TE(t)|0;va()}t=Ug(d)|0;if((t|0)==(Ug(g)|0)){z=(ih(d,q)|0)+(h<<2)|0;A=(ih(d,i)|0)+(h<<2)|0;p=(ih(d,o)|0)+(h<<2)|0;d=(ih(e,i)|0)+(h<<2)|0;t=(ih(g,q)|0)+(h<<2)|0;q=(ih(g,i)|0)+(h<<2)|0;s=(ih(g,o)|0)+(h<<2)|0;Hi(j,m,k,n,l,e,h,i);v=+f[q>>2];u=+f[A>>2];w=v+(u-+f[d>>2]*2.0);y=(+f[A+-4>>2]-+f[A+4>>2]+(+f[q+4>>2]-+f[q+-4>>2]))*.25;x=(+f[z>>2]-+f[p>>2]+(+f[s>>2]-+f[t>>2]))*.25;c[a>>2]=c[k>>2];t=c[l>>2]|0;c[a+4>>2]=t;f[a+8>>2]=y;c[a+12>>2]=t;c[a+16>>2]=c[n>>2];f[a+20>>2]=x;f[a+24>>2]=y;f[a+28>>2]=x;f[a+32>>2]=w;f[b>>2]=-+f[j>>2];f[b+4>>2]=-+f[m>>2];f[b+8>>2]=-((v-u)*.5);zb=r;return}else{A=bg(bg(WE(bg(bg(bg(56880,26749)|0,24604)|0,35722)|0,314)|0,35729)|0,25192)|0;PE(p,A+(c[(c[A>>2]|0)+-12>>2]|0)|0);z=cG(p,57584)|0;z=Hb[c[(c[z>>2]|0)+28>>2]&63](z,10)|0;dG(p);XE(A,z)|0;TE(A)|0;va()}}A=bg(bg(WE(bg(bg(bg(56880,25060)|0,24604)|0,35722)|0,310)|0,35729)|0,25119)|0;PE(p,A+(c[(c[A>>2]|0)+-12>>2]|0)|0);z=cG(p,57584)|0;z=Hb[c[(c[z>>2]|0)+28>>2]&63](z,10)|0;dG(p);XE(A,z)|0;TE(A)|0;va()}A=bg(bg(WE(bg(bg(bg(56880,24986)|0,24604)|0,35722)|0,309)|0,35729)|0,25044)|0;PE(p,A+(c[(c[A>>2]|0)+-12>>2]|0)|0);z=cG(p,57584)|0;z=Hb[c[(c[z>>2]|0)+28>>2]&63](z,10)|0;dG(p);XE(A,z)|0;TE(A)|0;va()} +function ht(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;h=zb;zb=zb+32|0;e=h;d=a+4|0;f=((c[d>>2]|0)-(c[a>>2]|0)>>3)+1|0;g=it(a)|0;if(g>>>0>>0)LO(a);else{i=c[a>>2]|0;k=(c[a+8>>2]|0)-i|0;j=k>>2;jt(e,k>>3>>>0>>1>>>0?(j>>>0>>0?f:j):g,(c[d>>2]|0)-i>>3,a+8|0);g=e+8|0;d=b;b=c[d+4>>2]|0;f=c[g>>2]|0;c[f>>2]=c[d>>2];c[f+4>>2]=b;c[g>>2]=(c[g>>2]|0)+8;kt(a,e);lt(e);zb=h;return}}function it(a){a=a|0;return 536870911}function jt(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=a+12|0;c[f>>2]=0;c[a+16>>2]=e;do if(b)if(b>>>0>536870911){a=P(8)|0;kO(a,38211);c[a>>2]=16392;R(a|0,13960,22)}else{e=AB(b<<3)|0;break}else e=0;while(0);c[a>>2]=e;d=e+(d<<3)|0;c[a+8>>2]=d;c[a+4>>2]=d;c[f>>2]=e+(b<<3);return}function kt(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;e=c[a>>2]|0;h=a+4|0;g=b+4|0;f=(c[h>>2]|0)-e|0;d=(c[g>>2]|0)+(0-(f>>3)<<3)|0;c[g>>2]=d;if((f|0)>0){fP(d|0,e|0,f|0)|0;e=g;d=c[g>>2]|0}else e=g;g=c[a>>2]|0;c[a>>2]=d;c[e>>2]=g;g=b+8|0;f=c[h>>2]|0;c[h>>2]=c[g>>2];c[g>>2]=f;g=a+8|0;a=b+12|0;h=c[g>>2]|0;c[g>>2]=c[a>>2];c[a>>2]=h;c[b>>2]=c[e>>2];return}function lt(a){a=a|0;var b=0,d=0,e=0,f=0;b=c[a+4>>2]|0;e=a+8|0;d=c[e>>2]|0;while(1){if((d|0)==(b|0))break;f=d+-8|0;c[e>>2]=f;d=f}b=c[a>>2]|0;if(b|0)Vf(b,(c[a+12>>2]|0)-b|0);return}function mt(a){a=a|0;return 3}function nt(a){a=a|0;return pt()|0}function ot(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;e=zb;zb=zb+16|0;g=e+12|0;f=e;b=ns(b)|0;Ws(f,d);c[g>>2]=Hb[a&63](b,f)|0;a=Wr(g)|0;qO(f);zb=e;return a|0}function pt(){return 15904}function qt(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;f=zb;zb=zb+16|0;e=f;g=vd(c[d>>2]|0,a)|0;c[b>>2]=g;if((g|0)<0){c[e>>2]=a;_e(0,3,42119,e);md(c[d>>2]|0)|0;d=0}else d=1;zb=f;return d|0}function rt(a){a=a|0;return Pf(a)|0}function st(a){a=a|0;return 2}function tt(a){a=a|0;return vt()|0}function ut(a,b){a=a|0;b=b|0;var d=0,e=0;d=zb;zb=zb+16|0;e=d;b=ns(b)|0;c[e>>2]=Fb[a&127](b)|0;a=Wr(e)|0;zb=d;return a|0}function vt(){return 15916}function wt(a){a=a|0;var b=0,d=0,e=0,f=0;e=a+216|0;b=c[e>>2]|0;if(b|0?(jd(b)|0,vc(c[e>>2]|0)|0,c[e>>2]=0,f=a+240|0,d=c[f>>2]|0,d|0):0){Uc(d);c[f>>2]=0}b=a+228|0;if(c[b>>2]|0){qc(b)|0;c[b>>2]=0}b=a+192|0;if(c[b>>2]|0){te(b)|0;c[b>>2]=0}return}function xt(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=zb;zb=zb+16|0;e=f+4|0;d=f;b=Zr(a,b)|0;if(!b)b=0;else{c[d>>2]=b;c[e>>2]=c[d>>2];yt(a,e)|0;b=1}zb=f;return b|0}function yt(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;g=zb;zb=zb+32|0;h=g+16|0;f=g+4|0;i=g;d=c[d>>2]|0;e=c[d>>2]|0;c[i>>2]=d;c[h>>2]=c[i>>2];zt(f,b,h);d=c[f>>2]|0;c[f>>2]=0;if(d|0){if(a[f+8>>0]|0)bs(d+8|0);Vf(d,520)}zb=g;return e|0}function zt(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;o=c[e>>2]|0;i=c[d+4>>2]|0;e=c[o+4>>2]|0;l=i+-1|0;m=(l&i|0)==0;if(!m)if(e>>>0>>0)k=e;else k=(e>>>0)%(i>>>0)|0;else k=l&e;f=(c[d>>2]|0)+(k<<2)|0;n=c[f>>2]|0;while(1){e=c[n>>2]|0;if((e|0)==(o|0))break;else n=e}j=d+8|0;if((n|0)!=(j|0)){e=c[n+4>>2]|0;if(!m){if(e>>>0>=i>>>0)e=(e>>>0)%(i>>>0)|0}else e=e&l;if((e|0)==(k|0))g=o;else h=14}else h=14;do if((h|0)==14){e=c[o>>2]|0;if(e|0){e=c[e+4>>2]|0;if(!m){if(e>>>0>=i>>>0)e=(e>>>0)%(i>>>0)|0}else e=e&l;if((e|0)==(k|0)){g=o;break}}c[f>>2]=0;g=o}while(0);f=c[g>>2]|0;e=f;if(f){f=c[f+4>>2]|0;if(!m){if(f>>>0>=i>>>0)f=(f>>>0)%(i>>>0)|0}else f=f&l;if((f|0)!=(k|0)){c[(c[d>>2]|0)+(f<<2)>>2]=n;e=c[o>>2]|0}}c[n>>2]=e;c[g>>2]=0;d=d+12|0;c[d>>2]=(c[d>>2]|0)+-1;c[b>>2]=o;c[b+4>>2]=j;a[b+8>>0]=1;return}function At(a){a=a|0;return 4}function Bt(a){a=a|0;return Et()|0}function Ct(){return 42190}function Dt(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;f=zb;zb=zb+16|0;g=f;b=ns(b)|0;d=ns(d)|0;e=ns(e)|0;c[g>>2]=Ib[a&63](b,d,e)|0;a=Wr(g)|0;zb=f;return a|0}function Et(){return 2048}function Ft(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,h=0,i=0,j=0,k=0,l=0,m=0;m=zb;zb=zb+48|0;l=m+24|0;k=m+16|0;i=m+8|0;f=m;d=m+32|0;e=m+28|0;c[d>>2]=a;c[e>>2]=b;do if((Zr(56332,d)|0)!=0?(j=_r(56332,d)|0,(Gt(56352,e)|0)!=0):0){h=j+8|0;fP(h|0,Ys(56352,e)|0,184)|0;b=c[h>>2]|0;e=j+208|0;a=c[j+12>>2]|0;d=j+212|0;if(!((b|0)==(c[e>>2]|0)?(a|0)==(c[d>>2]|0):0)){c[f>>2]=b;c[f+4>>2]=a;_e(0,2,42540,f);he(h,c[e>>2]|0,c[d>>2]|0,h)|0}wt(j);b=se(h,15)|0;d=j+192|0;c[d>>2]=b;if(!b){_e(0,3,42587,i);b=-1;break}a=rc(b)|0;b=j+216|0;c[b>>2]=a;if(!a){_e(0,3,42625,k);b=-1;break}Kc(a,c[j+496>>2]|0)|0;k=oc(h)|0;c[j+228>>2]=k;if(!k){_e(0,3,42662,l);b=-1;break}else{id(c[b>>2]|0,c[j+220>>2]|0)|0;re(c[d>>2]|0,+g[j+336>>3],+g[j+344>>3],j+368|0);c[j+232>>2]=rt(c[d>>2]|0)|0;b=0;break}}else b=-1;while(0);zb=m;return b|0}function Gt(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;d=c[b>>2]|0;e=c[a+4>>2]|0;a:do if(e){g=e+-1|0;h=(g&e|0)==0;if(!h)if(d>>>0>>0)f=d;else f=(d>>>0)%(e>>>0)|0;else f=g&d;b=c[(c[a>>2]|0)+(f<<2)>>2]|0;if(b)while(1){b=c[b>>2]|0;if(!b){b=0;break a}a=c[b+4>>2]|0;if((a|0)==(d|0)){if((c[b+8>>2]|0)==(d|0))break a}else{if(!h){if(a>>>0>=e>>>0)a=(a>>>0)%(e>>>0)|0}else a=a&g;if((a|0)!=(f|0)){b=0;break a}}}else b=0}else b=0;while(0);return b|0}function Ht(a,b){a=a|0;b=b|0;b=It(b,c[a>>2]|0,c[a+4>>2]|0)|0;c[b>>2]=1;c[b+12>>2]=a;a=Ke(a+8|0)|0;c[b+16>>2]=a;Me(a,0.0)|0;return b|0}function It(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,g=0;g=zb;zb=zb+16|0;e=MO(13732)|0;if(!e){_e(0,3,42700,g);Fa(1)}c[e+20>>2]=a;c[e+4>>2]=b;c[e+8>>2]=d;c[e+24>>2]=25;c[e+28>>2]=11;c[e+32>>2]=11;c[e+36>>2]=10;f[e+40>>2]=.6000000238418579;f[e+44>>2]=2.0;c[e+13280>>2]=1;d=MO(C(d,b)|0)|0;c[e+13300>>2]=d;if(!d){_e(0,3,42700,g+8|0);Fa(1)}else{c[e+13304>>2]=0;zb=g;return e|0}return 0}function Jt(a,b,d,e,h){a=a|0;b=b|0;d=d|0;e=e|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.0;D=zb;zb=zb+48|0;x=D;y=D+40|0;z=D+32|0;a:do if((a|0)!=0&(b|0)!=0&(d|0)!=0&(e|0)!=0&(h|0)!=0){C=b+152|0;if((c[C>>2]|0)<1)i=-2;else{f[h>>2]=0.0;l=b+4|0;B=b+8|0;i=b+56|0;j=b+104|0;k=0;while(1){if((k|0)>=(c[l>>2]|0))break;zd(B,(c[b>>2]|0)+(k*112|0)+12|0,a+48+(k*48|0)|0)|0;if((c[C>>2]|0)>1?(zd(i,(c[b>>2]|0)+(k*112|0)+12|0,a+528+(k*48|0)|0)|0,(c[C>>2]|0)>2):0)zd(j,(c[b>>2]|0)+(k*112|0)+12|0,a+1008+(k*48|0)|0)|0;k=k+1|0}if((c[a>>2]|0)==1){r=a+12|0;n=a+2672|0;q=a+7496|0;Kt(c[r>>2]|0,a+48|0,b,n,q);v=a+4|0;w=a+8|0}else{v=a+4|0;w=a+8|0;n=a+2672|0;q=a+7496|0;Lt(c[v>>2]|0,c[w>>2]|0,a+48|0,b,n,q);r=a+12|0}s=a+36|0;u=a+13280|0;o=b+156|0;p=a+1488|0;t=a+40|0;i=n;j=0;A=0;while(1){if((j|0)>=(c[s>>2]|0))break;m=0;l=A;while(1){if((m|0)>=(c[u>>2]|0))break;if((j|0)==(c[s>>2]|0))break;k=vf(i,o,l,p,c[v>>2]|0,c[w>>2]|0)|0;if((k|0)<0){if((i|0)!=(n|0))break;k=vf(q,o,l,p,c[v>>2]|0,c[w>>2]|0)|0;if((k|0)<0){i=q;break}else i=q}E=i+(k*24|0)|0;c[x+(m<<2)>>2]=E;c[a+1488+(l<<3)>>2]=c[i+(k*24|0)+16>>2];c[a+1488+(l<<3)+4>>2]=c[i+(k*24|0)+20>>2];c[a+13284+(m*52|0)>>2]=a;c[a+13284+(m*52|0)+4>>2]=b;c[a+13284+(m*52|0)+8>>2]=E;c[a+13284+(m*52|0)+12>>2]=d;k=l+1|0;j=j+1|0;m=m+1|0;l=(k|0)==5?A:k}if(!m)break;l=0;k=A;while(1){if((l|0)==(m|0))break;E=a+13284+(l*52|0)+24|0;A=St(c[a+13284+(l*52|0)>>2]|0,c[a+13284+(l*52|0)+4>>2]|0,c[a+13284+(l*52|0)+8>>2]|0,c[a+13284+(l*52|0)+12>>2]|0,c[a+13284+(l*52|0)+16>>2]|0,a+13284+(l*52|0)+20|0,E)|0;c[a+13284+(l*52|0)+48>>2]=A;if((A|0)==0?+f[E>>2]>+f[t>>2]:0){if((c[a>>2]|0)==1){E=c[r>>2]|0;le(E+104|0,+f[a+13284+(l*52|0)+28>>2],+f[a+13284+(l*52|0)+32>>2],y,z,c[E+176>>2]|0)|0;f[a+1872+(k<<3)>>2]=+g[y>>3];f[a+1872+(k<<3)+4>>2]=+g[z>>3]}else{c[a+1872+(k<<3)>>2]=c[a+13284+(l*52|0)+28>>2];c[a+1872+(k<<3)+4>>2]=c[a+13284+(l*52|0)+32>>2]}c[a+2192+(k*12|0)>>2]=c[a+13284+(l*52|0)+36>>2];c[a+2192+(k*12|0)+4>>2]=c[a+13284+(l*52|0)+40>>2];c[a+2192+(k*12|0)+8>>2]=c[a+13284+(l*52|0)+44>>2];E=c[x+(l<<2)>>2]|0;c[a+1488+(k<<3)>>2]=c[E+16>>2];c[a+1488+(k<<3)+4>>2]=c[E+20>>2];c[a+12320+(k*24|0)>>2]=c[E>>2];c[a+12320+(k*24|0)+4>>2]=c[E+4>>2];c[a+12320+(k*24|0)+8>>2]=c[E+8>>2];c[a+12320+(k*24|0)+12>>2]=0;k=k+1|0}l=l+1|0}A=k}i=0;while(1){if((i|0)>=(A|0))break;E=b+156+(i*24|0)|0;z=a+12320+(i*24|0)|0;c[E>>2]=c[z>>2];c[E+4>>2]=c[z+4>>2];c[E+8>>2]=c[z+8>>2];c[E+12>>2]=c[z+12>>2];c[E+16>>2]=c[z+16>>2];c[E+20>>2]=c[z+20>>2];i=i+1|0}c[b+156+(A*24|0)+12>>2]=-1;i=(A|0)<3;if((c[a>>2]|0)==1){if(i){c[C>>2]=0;i=-3;break}l=a+16|0;j=a+1872|0;k=a+2192|0;F=+Mt(c[l>>2]|0,B,j,k,A,e,0);f[h>>2]=F;i=a+44|0;if((((F>+f[i>>2]?(Me(c[l>>2]|0,.800000011920929)|0,F=+Mt(c[l>>2]|0,e,j,k,A,e,1),f[h>>2]=F,F>+f[i>>2]):0)?(Me(c[l>>2]|0,.6000000238418579)|0,F=+Mt(c[l>>2]|0,e,j,k,A,e,1),f[h>>2]=F,F>+f[i>>2]):0)?(Me(c[l>>2]|0,.4000000059604645)|0,F=+Mt(c[l>>2]|0,e,j,k,A,e,1),f[h>>2]=F,F>+f[i>>2]):0)?(Me(c[l>>2]|0,0.0)|0,F=+Mt(c[l>>2]|0,e,j,k,A,e,1),f[h>>2]=F,F>+f[i>>2]):0){c[C>>2]=0;i=-4;break}}else{if(i){c[C>>2]=0;i=-3;break}j=a+1872|0;k=a+2192|0;F=+Nt(B,j,k,A,e,0,1.0);f[h>>2]=F;i=a+44|0;if((((F>+f[i>>2]?(F=+Nt(e,j,k,A,e,1,.800000011920929),f[h>>2]=F,F>+f[i>>2]):0)?(F=+Nt(e,j,k,A,e,1,.6000000238418579),f[h>>2]=F,F>+f[i>>2]):0)?(F=+Nt(e,j,k,A,e,1,.4000000059604645),f[h>>2]=F,F>+f[i>>2]):0)?(F=+Nt(e,j,k,A,e,1,0.0),f[h>>2]=F,F>+f[i>>2]):0){c[C>>2]=0;i=-4;break}}c[C>>2]=(c[C>>2]|0)+1;j=0;while(1){if((j|0)==3)break;i=0;while(1){if((i|0)==4)break;c[b+104+(j<<4)+(i<<2)>>2]=c[b+56+(j<<4)+(i<<2)>>2];i=i+1|0}j=j+1|0}j=0;while(1){if((j|0)==3)break;i=0;while(1){if((i|0)==4)break;c[b+56+(j<<4)+(i<<2)>>2]=c[b+8+(j<<4)+(i<<2)>>2];i=i+1|0}j=j+1|0}j=0;while(1){if((j|0)==3){i=0;break a}i=0;while(1){if((i|0)==4)break;c[b+8+(j<<4)+(i<<2)>>2]=c[e+(j<<4)+(i<<2)>>2];i=i+1|0}j=j+1|0}}}else i=-1;while(0);zb=D;return i|0}function Kt(a,b,d,e,g){a=a|0;b=b|0;d=d|0;e=e|0;g=g|0;var h=0,i=0,j=0.0,k=0.0,l=0,m=0,n=0,o=0,p=0.0,q=0.0,r=0,s=0,t=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.0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0.0,S=0.0;Q=zb;zb=zb+80|0;P=Q+48|0;M=Q;K=Q+76|0;L=Q+72|0;O=Q+64|0;N=Q+56|0;J=d+4|0;F=+(c[a>>2]|0);G=+(c[a+4>>2]|0);B=M+4|0;C=M+12|0;D=M+16|0;E=M+20|0;r=M+28|0;s=M+32|0;t=M+36|0;v=M+44|0;w=M+8|0;x=M+24|0;y=M+40|0;z=O+4|0;A=N+4|0;H=g+4812|0;I=0;l=0;m=0;a:while(1){if((I|0)>=(c[J>>2]|0)){i=29;break}h=0;while(1){if((h|0)==3)break;i=0;while(1){if((i|0)==4)break;c[M+(h<<4)+(i<<2)>>2]=c[b+(I*48|0)+(h<<4)+(i<<2)>>2];i=i+1|0}h=h+1|0}h=c[(c[d>>2]|0)+(I*112|0)+4>>2]|0;o=0;i=m;while(1){if((o|0)>=(c[h+4>>2]|0))break;m=h;n=0;while(1){h=c[m>>2]|0;if((n|0)>=(c[h+(o*20|0)+4>>2]|0))break;m=c[h+(o*20|0)>>2]|0;m=(Jf(a,M,+f[m+(n*20|0)+8>>2],+f[m+(n*20|0)+12>>2],K,L)|0)<0;j=+f[K>>2];do if((!(m|j<0.0)?(k=+f[L>>2],!(k>=G)&(!(j>=F)&!(k<0.0))):0)?(m=c[(c[c[(c[d>>2]|0)+(I*112|0)+4>>2]>>2]|0)+(o*20|0)>>2]|0,p=+f[m+(n*20|0)+8>>2],q=+f[m+(n*20|0)+12>>2],R=+f[C>>2]+(+f[M>>2]*p+ +f[B>>2]*q),j=+f[r>>2]+(p*+f[D>>2]+q*+f[E>>2]),S=+f[v>>2]+(p*+f[s>>2]+q*+f[t>>2]),k=+u(+(R*R+j*j+S*S)),!(+f[y>>2]*(S/k)+(+f[w>>2]*(R/k)+ +f[x>>2]*(j/k))>-.10000000149011612)):0){f[O>>2]=p;f[z>>2]=q;tf(a,M,O,N)|0;j=+f[A>>2];h=c[c[(c[d>>2]|0)+(I*112|0)+4>>2]>>2]|0;k=+f[h+(o*20|0)+12>>2];if(j<=k?j>=+f[h+(o*20|0)+16>>2]:0){if((l|0)==200){i=19;break a}c[e+(l*24|0)>>2]=I;c[e+(l*24|0)+4>>2]=o;c[e+(l*24|0)+8>>2]=n;c[e+(l*24|0)+16>>2]=c[K>>2];c[e+(l*24|0)+20>>2]=c[L>>2];c[e+(l*24|0)+12>>2]=0;h=l+1|0;break}if(j<=k*2.0?j>=+f[h+(o*20|0)+16>>2]*.5:0)if((i|0)==200){c[H>>2]=-1;h=l;i=200;break}else{c[g+(i*24|0)>>2]=I;c[g+(i*24|0)+4>>2]=o;c[g+(i*24|0)+8>>2]=n;c[g+(i*24|0)+16>>2]=c[K>>2];c[g+(i*24|0)+20>>2]=c[L>>2];c[g+(i*24|0)+12>>2]=0;h=l;i=i+1|0;break}else h=l}else h=l;while(0);m=c[(c[d>>2]|0)+(I*112|0)+4>>2]|0;n=n+1|0;l=h}h=m;o=o+1|0}I=I+1|0;m=i}if((i|0)==19){_e(0,3,42732,P);h=e+4812|0}else if((i|0)==29){c[e+(l*24|0)+12>>2]=-1;h=g+(m*24|0)+12|0}c[h>>2]=-1;zb=Q;return}function Lt(a,b,d,e,g,h){a=a|0;b=b|0;d=d|0;e=e|0;g=g|0;h=h|0;var i=0.0,j=0.0,k=0,l=0,m=0,n=0,o=0,p=0,q=0.0,r=0,s=0,t=0.0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;B=zb;zb=zb+80|0;A=B+48|0;x=B;v=B+76|0;w=B+72|0;z=B+64|0;y=B+56|0;u=e+4|0;t=+(a|0);q=+(b|0);o=z+4|0;p=y+4|0;r=h+4812|0;s=0;k=0;l=0;a:while(1){if((s|0)>=(c[u>>2]|0)){b=28;break}a=0;while(1){if((a|0)==3)break;b=0;while(1){if((b|0)==4)break;c[x+(a<<4)+(b<<2)>>2]=c[d+(s*48|0)+(a<<4)+(b<<2)>>2];b=b+1|0}a=a+1|0}a=c[(c[e>>2]|0)+(s*112|0)+4>>2]|0;n=0;b=l;while(1){if((n|0)>=(c[a+4>>2]|0))break;l=a;m=0;while(1){a=c[l>>2]|0;if((m|0)>=(c[a+(n*20|0)+4>>2]|0))break;l=c[a+(n*20|0)>>2]|0;l=(Jf(0,x,+f[l+(m*20|0)+8>>2],+f[l+(m*20|0)+12>>2],v,w)|0)<0;i=+f[v>>2];do if(!(l|i<0.0)?(j=+f[w>>2],!(j>=q)&(!(i>=t)&!(j<0.0))):0){a=c[(c[c[(c[e>>2]|0)+(s*112|0)+4>>2]>>2]|0)+(n*20|0)>>2]|0;c[z>>2]=c[a+(m*20|0)+8>>2];c[o>>2]=c[a+(m*20|0)+12>>2];tf(0,x,z,y)|0;i=+f[p>>2];a=c[c[(c[e>>2]|0)+(s*112|0)+4>>2]>>2]|0;j=+f[a+(n*20|0)+12>>2];if(i<=j?i>=+f[a+(n*20|0)+16>>2]:0){if((k|0)==200){b=18;break a}c[g+(k*24|0)>>2]=s;c[g+(k*24|0)+4>>2]=n;c[g+(k*24|0)+8>>2]=m;c[g+(k*24|0)+16>>2]=c[v>>2];c[g+(k*24|0)+20>>2]=c[w>>2];c[g+(k*24|0)+12>>2]=0;a=k+1|0;break}if(i<=j*2.0?i>=+f[a+(n*20|0)+16>>2]*.5:0)if((b|0)==200){c[r>>2]=-1;a=k;b=200;break}else{c[h+(b*24|0)>>2]=s;c[h+(b*24|0)+4>>2]=n;c[h+(b*24|0)+8>>2]=m;c[h+(b*24|0)+16>>2]=c[v>>2];c[h+(b*24|0)+20>>2]=c[w>>2];c[h+(b*24|0)+12>>2]=0;a=k;b=b+1|0;break}else a=k}else a=k;while(0);l=c[(c[e>>2]|0)+(s*112|0)+4>>2]|0;m=m+1|0;k=a}a=l;n=n+1|0}s=s+1|0;l=b}if((b|0)==18){_e(0,3,42732,A);a=g+4812|0}else if((b|0)==28){c[g+(k*24|0)+12>>2]=-1;a=h+(l*24|0)+12|0}c[a>>2]=-1;zb=B;return}function Mt(a,b,d,e,h,i,j){a=a|0;b=b|0;d=d|0;e=e|0;h=h|0;i=i|0;j=j|0;var k=0,l=0,m=0.0,n=0.0,o=0.0,p=0,q=0,r=0.0,s=0,t=0,u=0,v=0,w=0,x=0.0;w=zb;zb=zb+224|0;q=w+212|0;s=w+96|0;v=w;u=w+192|0;l=MO(h<<4)|0;c[q>>2]=l;if(!l){_e(0,3,42700,w+200|0);Fa(1)}p=MO(h*24|0)|0;t=q+4|0;c[t>>2]=p;if(!p){_e(0,3,42700,w+208|0);Fa(1)}m=0.0;n=0.0;o=0.0;k=0;while(1){if((k|0)>=(h|0))break;m=m+ +f[e+(k*12|0)>>2];n=n+ +f[e+(k*12|0)+4>>2];o=o+ +f[e+(k*12|0)+8>>2];k=k+1|0}x=+(h|0);r=m/x;n=n/x;m=o/x;k=0;while(1){if((k|0)>=(h|0))break;g[l+(k<<4)>>3]=+f[d+(k<<3)>>2];g[l+(k<<4)+8>>3]=+f[d+(k<<3)+4>>2];g[p+(k*24|0)>>3]=+f[e+(k*12|0)>>2]-r;g[p+(k*24|0)+8>>3]=+f[e+(k*12|0)+4>>2]-n;g[p+(k*24|0)+16>>3]=+f[e+(k*12|0)+8>>2]-m;k=k+1|0}c[q+8>>2]=h;l=0;while(1){if((l|0)==3)break;k=0;while(1){if((k|0)==3)break;g[s+(l<<5)+(k<<3)>>3]=+f[b+(l<<4)+(k<<2)>>2];k=k+1|0}l=l+1|0}g[s+24>>3]=+f[b+12>>2]+(r*+f[b>>2]+n*+f[b+4>>2]+m*+f[b+8>>2]);g[s+56>>3]=+f[b+28>>2]+(r*+f[b+16>>2]+n*+f[b+20>>2]+m*+f[b+24>>2]);g[s+88>>3]=+f[b+44>>2]+(r*+f[b+32>>2]+n*+f[b+36>>2]+m*+f[b+40>>2]);if(!j){if((Ne(a,q,s,v,u)|0)<0)g[u>>3]=1.0e8}else if((Pe(a,q,s,v,u)|0)<0)g[u>>3]=1.0e8;NO(c[q>>2]|0);NO(c[t>>2]|0);l=0;while(1){if((l|0)==3)break;k=0;while(1){if((k|0)==3)break;f[i+(l<<4)+(k<<2)>>2]=+g[v+(l<<5)+(k<<3)>>3];k=k+1|0}l=l+1|0}o=r;r=n;x=m;f[i+12>>2]=+g[v+24>>3]-+g[v>>3]*o-+g[v+8>>3]*r-+g[v+16>>3]*x;f[i+28>>2]=+g[v+56>>3]-+g[v+32>>3]*o-+g[v+40>>3]*r-+g[v+48>>3]*x;f[i+44>>2]=+g[v+88>>3]-+g[v+64>>3]*o-+g[v+72>>3]*r-+g[v+80>>3]*x;zb=w;return +(+g[u>>3])}function Nt(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;if(!f)g=+Ot(a,b,c,d,e);else g=+Pt(a,b,c,d,e,g);return +g}function Ot(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var g=0.0,h=0,i=0,j=0,k=0.0,l=0.0,m=0.0,n=0.0,o=0.0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0.0,B=0.0,C=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.0;H=zb;zb=zb+48|0;i=H+40|0;h=H+32|0;F=H;do if((d|0)>=4?(j=a+44|0,!(+f[j>>2]==0.0)):0){G=MO(d<<6)|0;if(!G){_e(0,3,42717,h);g=-1.0;break}E=MO(d<<3)|0;if(!E){_e(0,3,42717,i);NO(G);g=-1.0;break}i=0;while(1){if((i|0)==3)break;h=0;while(1){if((h|0)==4)break;f[e+(i<<4)+(h<<2)>>2]=+f[a+(i<<4)+(h<<2)>>2]/+f[j>>2];h=h+1|0}i=i+1|0}t=e+4|0;u=e+12|0;v=e+16|0;w=e+20|0;x=e+28|0;y=e+32|0;z=e+36|0;A=+(d|0);D=d<<1;i=F+4|0;j=F+8|0;a=F+12|0;p=F+16|0;q=F+20|0;r=F+24|0;s=F+28|0;B=0.0;C=0;a:while(1){o=0.0;h=0;while(1){if((h|0)>=(d|0))break;g=+f[c+(h*12|0)>>2];k=+f[c+(h*12|0)+4>>2];l=+f[u>>2]+(+f[e>>2]*g+ +f[t>>2]*k);m=+f[x>>2]+(g*+f[v>>2]+k*+f[w>>2]);n=g*+f[y>>2]+k*+f[z>>2]+1.0;if(n==0.0){h=17;break a}L=n*n;J=+f[b+(h<<3)>>2]-l/n;I=+f[b+(h<<3)+4>>2]-m/n;K=h<<1;f[E+(K<<2)>>2]=J;f[E+((K|1)<<2)>>2]=I;N=g/n;K=h<<4;f[G+(K<<2)>>2]=N;M=k/n;f[G+((K|1)<<2)>>2]=M;n=1.0/n;f[G+((K|2)<<2)>>2]=n;f[G+((K|3)<<2)>>2]=0.0;f[G+((K|4)<<2)>>2]=0.0;f[G+((K|5)<<2)>>2]=0.0;f[G+((K|6)<<2)>>2]=-(g*l)/L;f[G+((K|7)<<2)>>2]=-(k*l)/L;f[G+((K|8)<<2)>>2]=0.0;f[G+((K|9)<<2)>>2]=0.0;f[G+((K|10)<<2)>>2]=0.0;f[G+((K|11)<<2)>>2]=N;f[G+((K|12)<<2)>>2]=M;f[G+((K|13)<<2)>>2]=n;f[G+((K|14)<<2)>>2]=-(g*m)/L;f[G+((K|15)<<2)>>2]=-(k*m)/L;o=o+(J*J+I*I);h=h+1|0}g=o/A;if(g<.10000000149011612){h=26;break}if((C|0)!=0&g<4.0){if((C|0)==10|g/B>.9900000095367432){h=26;break}}else if((C|0)==10){h=26;break}if((Rt(F,E,G,D)|0)<0){h=24;break}f[e>>2]=+f[F>>2]+ +f[e>>2];f[t>>2]=+f[i>>2]+ +f[t>>2];f[u>>2]=+f[j>>2]+ +f[u>>2];f[v>>2]=+f[a>>2]+ +f[v>>2];f[w>>2]=+f[p>>2]+ +f[w>>2];f[x>>2]=+f[q>>2]+ +f[x>>2];f[y>>2]=+f[r>>2]+ +f[y>>2];f[z>>2]=+f[s>>2]+ +f[z>>2];B=g;C=C+1|0}if((h|0)==17){NO(G);NO(E);g=1.0e8;break}else if((h|0)==24){NO(G);NO(E);g=1.0e8;break}else if((h|0)==26){NO(G);NO(E);break}}else g=1.0e8;while(0);zb=H;return +g}function Pt(a,b,c,d,e,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;g=+g;var h=0,i=0,j=0,k=0,l=0,m=0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0.0,I=0,J=0,K=0.0,L=0.0,M=0.0,N=0,O=0;J=zb;zb=zb+64|0;k=J+56|0;j=J+48|0;i=J+40|0;h=J+32|0;I=J;do if((d|0)>=4?(l=a+44|0,!(+f[l>>2]==0.0)):0){H=+(d|0);m=~~(H*g)+-1|0;m=(m|0)>4?m:4;G=MO(d<<6)|0;if(!G){_e(0,3,42717,h);g=-1.0;break}F=MO(d<<3)|0;if(!F){_e(0,3,42717,i);NO(G);g=-1.0;break}h=d<<2;E=MO(h)|0;if(!E){_e(0,3,42717,j);NO(G);NO(F);g=-1.0;break}D=MO(h)|0;if(!D){_e(0,3,42717,k);NO(G);NO(F);NO(E);g=-1.0;break}i=0;while(1){if((i|0)==3)break;h=0;while(1){if((h|0)==4)break;f[e+(i<<4)+(h<<2)>>2]=+f[a+(i<<4)+(h<<2)>>2]/+f[l>>2];h=h+1|0}i=i+1|0}w=e+4|0;x=e+12|0;y=e+16|0;z=e+20|0;A=e+28|0;B=e+32|0;C=e+36|0;j=D+(m<<2)|0;k=I+4|0;l=I+8|0;a=I+12|0;m=I+16|0;s=I+20|0;t=I+24|0;u=I+28|0;r=0.0;v=0;a:while(1){h=0;while(1){if((h|0)>=(d|0))break;g=+f[c+(h*12|0)>>2];n=+f[c+(h*12|0)+4>>2];o=+f[x>>2]+(+f[e>>2]*g+ +f[w>>2]*n);p=+f[A>>2]+(g*+f[y>>2]+n*+f[z>>2]);q=g*+f[B>>2]+n*+f[C>>2]+1.0;if(q==0.0){h=21;break a}K=q*q;L=+f[b+(h<<3)>>2]-o/q;M=+f[b+(h<<3)+4>>2]-p/q;i=h<<1;f[F+(i<<2)>>2]=L;f[F+((i|1)<<2)>>2]=M;M=L*L+M*M;f[D+(h<<2)>>2]=M;f[E+(h<<2)>>2]=M;M=g/q;i=h<<4;f[G+(i<<2)>>2]=M;L=n/q;f[G+((i|1)<<2)>>2]=L;q=1.0/q;f[G+((i|2)<<2)>>2]=q;f[G+((i|3)<<2)>>2]=0.0;f[G+((i|4)<<2)>>2]=0.0;f[G+((i|5)<<2)>>2]=0.0;f[G+((i|6)<<2)>>2]=-(g*o)/K;f[G+((i|7)<<2)>>2]=-(n*o)/K;f[G+((i|8)<<2)>>2]=0.0;f[G+((i|9)<<2)>>2]=0.0;f[G+((i|10)<<2)>>2]=0.0;f[G+((i|11)<<2)>>2]=M;f[G+((i|12)<<2)>>2]=L;f[G+((i|13)<<2)>>2]=q;f[G+((i|14)<<2)>>2]=-(g*p)/K;f[G+((i|15)<<2)>>2]=-(n*p)/K;h=h+1|0}Oy(D,d,4,32);p=+f[j>>2]*4.0;p=p<16.0?16.0:p;n=p/6.0;o=0.0;h=0;while(1){if((h|0)==(d|0))break;g=+f[D+(h<<2)>>2];if(g>p)g=n;else{g=1.0-g/p;g=n*(1.0-g*(g*g))}o=o+g;h=h+1|0}g=o/H;if(g<.10000000149011612){h=42;break}if((v|0)!=0&g<4.0){if((v|0)==10|g/r>.9900000095367432){h=42;break}}else if((v|0)==10){h=42;break}i=0;h=0;while(1){if((i|0)==(d|0))break;n=+f[E+(i<<2)>>2];if(n<=p){M=1.0-n/p;M=M*M;O=i<<4;N=h<<3;f[G+(N<<2)>>2]=M*+f[G+(O<<2)>>2];f[G+((N|1)<<2)>>2]=M*+f[G+((O|1)<<2)>>2];f[G+((N|2)<<2)>>2]=M*+f[G+((O|2)<<2)>>2];f[G+((N|3)<<2)>>2]=M*+f[G+((O|3)<<2)>>2];f[G+((N|4)<<2)>>2]=M*+f[G+((O|4)<<2)>>2];f[G+((N|5)<<2)>>2]=M*+f[G+((O|5)<<2)>>2];f[G+((N|6)<<2)>>2]=M*+f[G+((O|6)<<2)>>2];f[G+((N|7)<<2)>>2]=M*+f[G+((O|7)<<2)>>2];f[G+(N+8<<2)>>2]=M*+f[G+((O|8)<<2)>>2];f[G+(N+9<<2)>>2]=M*+f[G+((O|9)<<2)>>2];f[G+(N+10<<2)>>2]=M*+f[G+((O|10)<<2)>>2];f[G+(N+11<<2)>>2]=M*+f[G+((O|11)<<2)>>2];f[G+(N+12<<2)>>2]=M*+f[G+((O|12)<<2)>>2];f[G+(N+13<<2)>>2]=M*+f[G+((O|13)<<2)>>2];f[G+(N+14<<2)>>2]=M*+f[G+((O|14)<<2)>>2];f[G+(N+15<<2)>>2]=M*+f[G+((O|15)<<2)>>2];N=i<<1;f[F+(h<<2)>>2]=M*+f[F+(N<<2)>>2];f[F+(h+1<<2)>>2]=M*+f[F+((N|1)<<2)>>2];h=h+2|0}i=i+1|0}if((h|0)<6){h=38;break}if((Rt(I,F,G,h)|0)<0){h=40;break}f[e>>2]=+f[I>>2]+ +f[e>>2];f[w>>2]=+f[k>>2]+ +f[w>>2];f[x>>2]=+f[l>>2]+ +f[x>>2];f[y>>2]=+f[a>>2]+ +f[y>>2];f[z>>2]=+f[m>>2]+ +f[z>>2];f[A>>2]=+f[s>>2]+ +f[A>>2];f[B>>2]=+f[t>>2]+ +f[B>>2];f[C>>2]=+f[u>>2]+ +f[C>>2];r=g;v=v+1|0}if((h|0)==21){NO(G);NO(F);NO(E);NO(D);g=1.0e8;break}else if((h|0)==38){NO(G);NO(F);NO(E);NO(D);g=-1.0;break}else if((h|0)==40){NO(G);NO(F);NO(E);NO(D);g=1.0e8;break}else if((h|0)==42){NO(G);NO(F);NO(E);NO(D);break}}else g=1.0e8;while(0);zb=J;return +g}function Qt(a,b){a=a|0;b=b|0;var c=0.0;c=+f[a>>2]-+f[b>>2];return (c<0.0?-1:c>0.0&1)|0}function Rt(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;i=zb;zb=zb+48|0;h=i+24|0;g=i+12|0;f=i;c[h+4>>2]=8;c[h+8>>2]=1;c[h>>2]=a;c[g+4>>2]=e;c[g+8>>2]=1;c[g>>2]=b;c[f+4>>2]=e;c[f+8>>2]=8;c[f>>2]=d;e=Pd(f)|0;if(!e)a=-1;else{b=Nd(e,f)|0;if(!b)a=-1;else{d=Nd(e,g)|0;if(!d)a=-1;else{if((de(b)|0)<0)a=-1;else{Ud(h,b,d)|0;a=0}Sd(d)|0}Sd(b)|0}Sd(e)|0}zb=i;return a|0}function St(a,b,d,e,g,h,i){a=a|0;b=b|0;d=d|0;e=e|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0.0;s=zb;zb=zb+32|0;j=s;q=s+28|0;r=s+24|0;o=c[d>>2]|0;p=c[d+4>>2]|0;n=c[d+8>>2]|0;d=c[h>>2]|0;if(!d){d=Gf(c[a+28>>2]|0,c[a+32>>2]|0)|0;c[h>>2]=d}k=a+12|0;m=a+48+(o*48|0)|0;l=c[b>>2]|0;if((Hf(c[k>>2]|0,m,c[l+(o*112|0)>>2]|0,(c[c[l+(o*112|0)+4>>2]>>2]|0)+(p*20|0)|0,n,d)|0)>=0?(l=c[h>>2]|0,d=c[l+28>>2]|0,t=+(C(d,d)|0),!(+(C((c[l+16>>2]|0)+1+(c[l+20>>2]|0)|0,(c[l+8>>2]|0)+1+(c[l+12>>2]|0)|0)|0)*5.0*5.0>t)):0){l=c[b+152>>2]|0;do if((l|0)!=1){d=c[k>>2]|0;k=a+528+(o*48|0)|0;if((l|0)==2){If(d,m,k,0,(c[(c[c[(c[b>>2]|0)+(o*112|0)+4>>2]>>2]|0)+(p*20|0)>>2]|0)+(n*20|0)|0,j);break}else{If(d,m,k,a+1008+(o*48|0)|0,(c[(c[c[(c[b>>2]|0)+(o*112|0)+4>>2]>>2]|0)+(p*20|0)>>2]|0)+(n*20|0)|0,j);break}}else If(c[k>>2]|0,m,0,0,(c[(c[c[(c[b>>2]|0)+(o*112|0)+4>>2]>>2]|0)+(p*20|0)>>2]|0)+(n*20|0)|0,j);while(0);m=c[a+24>>2]|0;if((Cf(e,g,c[a+4>>2]|0,c[a+8>>2]|0,c[a+20>>2]|0,c[h>>2]|0,m,m,j,q,r,i)|0)>=0){f[i+4>>2]=+(c[q>>2]|0);f[i+8>>2]=+(c[r>>2]|0);h=c[b>>2]|0;j=c[(c[c[h+(o*112|0)+4>>2]>>2]|0)+(p*20|0)>>2]|0;b=j+(n*20|0)+8|0;j=j+(n*20|0)+12|0;f[i+12>>2]=+f[h+(o*112|0)+24>>2]+(+f[h+(o*112|0)+12>>2]*+f[b>>2]+ +f[h+(o*112|0)+16>>2]*+f[j>>2]);f[i+16>>2]=+f[h+(o*112|0)+40>>2]+(+f[h+(o*112|0)+28>>2]*+f[b>>2]+ +f[h+(o*112|0)+32>>2]*+f[j>>2]);f[i+20>>2]=+f[h+(o*112|0)+56>>2]+(+f[h+(o*112|0)+44>>2]*+f[b>>2]+ +f[h+(o*112|0)+48>>2]*+f[j>>2]);j=0}else j=-1}else j=-1;zb=s;return j|0}function Tt(a){a=a|0;var b=0,d=0,e=0,f=0;b=a+4|0;e=Ib[c[c[b>>2]>>2]&63](a,1,220)|0;c[a+468>>2]=e;c[e>>2]=115;c[e+8>>2]=116;if(!(c[a+224>>2]|0)){f=e+68|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[e+88>>2]=0;c[e+92>>2]=0;c[e+96>>2]=0;return}f=a+36|0;d=Ib[c[c[b>>2]>>2]&63](a,1,c[f>>2]<<8)|0;c[a+160>>2]=d;if((c[f>>2]|0)>0){b=0;do{hP(d+(b<<8)|0,-1,256)|0;b=b+1|0}while((b|0)<(c[f>>2]|0))}f=e+48|0;c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=0;c[f+12>>2]=0;return}function Ut(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;n=c[a+468>>2]|0;m=a+412|0;f=c[m>>2]|0;d=(f|0)==0;if(!(c[a+224>>2]|0)){if((d?(c[a+420>>2]|0)==0:0)?(c[a+424>>2]|0)==0:0){m=c[a+416>>2]|0;if((c[a+220>>2]|0)!=0|(m|0)<64?(m|0)!=(c[a+436>>2]|0):0)e=38}else e=38;if((e|0)==38){m=c[a>>2]|0;c[m+20>>2]=125;Tb[c[m+4>>2]&63](a,-1)}g=a+436|0;c[n+4>>2]=(c[g>>2]|0)==63?38:37;e=a+340|0;if((c[e>>2]|0)>0){d=0;do{b=c[a+344+(d<<2)>>2]|0;m=c[b+20>>2]|0;_t(a,1,m,n+68+(m<<2)|0);if(c[g>>2]|0){m=c[b+24>>2]|0;_t(a,0,m,n+84+(m<<2)|0)}c[n+24+(d<<2)>>2]=0;d=d+1|0}while((d|0)<(c[e>>2]|0))}f=a+368|0;if((c[f>>2]|0)<=0){m=n+16|0;c[m>>2]=0;m=n+12|0;c[m>>2]=0;m=n+40|0;c[m>>2]=0;m=a+280|0;m=c[m>>2]|0;a=n+44|0;c[a>>2]=m;return}e=0;do{b=c[a+344+(c[a+372+(e<<2)>>2]<<2)>>2]|0;c[n+100+(e<<2)>>2]=c[n+68+(c[b+20>>2]<<2)>>2];c[n+140+(e<<2)>>2]=c[n+84+(c[b+24>>2]<<2)>>2];a:do if(!(c[b+52>>2]|0))b=0;else{d=c[b+40>>2]|0;b=c[b+36>>2]|0;switch(c[g>>2]|0){case 0:{b=1;break a}case 3:{b=(c[4336+(((d|0)!=1&1)<<3)+(((b|0)!=1&1)<<2)>>2]|0)+1|0;break a}case 8:{m=d+-1|0;b=b+-1|0;b=(c[4352+((m>>>0<2?m:2)*12|0)+((b>>>0<2?b:2)<<2)>>2]|0)+1|0;break a}case 15:{m=d+-1|0;b=b+-1|0;b=(c[4400+((m>>>0<3?m:3)<<4)+((b>>>0<3?b:3)<<2)>>2]|0)+1|0;break a}case 24:{m=d+-1|0;b=b+-1|0;b=(c[4464+((m>>>0<4?m:4)*20|0)+((b>>>0<4?b:4)<<2)>>2]|0)+1|0;break a}case 35:{m=d+-1|0;b=b+-1|0;b=(c[4576+((m>>>0<5?m:5)*24|0)+((b>>>0<5?b:5)<<2)>>2]|0)+1|0;break a}case 48:{m=d+-1|0;b=b+-1|0;b=(c[4720+((m>>>0<6?m:6)*28|0)+((b>>>0<6?b:6)<<2)>>2]|0)+1|0;break a}default:{m=d+-1|0;b=b+-1|0;b=(c[4928+((m>>>0<7?m:7)<<5)+((b>>>0<7?b:7)<<2)>>2]|0)+1|0;break a}}}while(0);c[n+180+(e<<2)>>2]=b;e=e+1|0}while((e|0)<(c[f>>2]|0));m=n+16|0;c[m>>2]=0;m=n+12|0;c[m>>2]=0;m=n+40|0;c[m>>2]=0;m=a+280|0;m=c[m>>2]|0;a=n+44|0;c[a>>2]=m;return}k=a+416|0;b=c[k>>2]|0;if(d)if(!b)e=7;else e=11;else if(((b|0)>=(f|0)?(b|0)<=(c[a+436>>2]|0):0)?(c[a+340>>2]|0)==1:0)e=7;else e=11;do if((e|0)==7){b=c[a+420>>2]|0;if(b){b=b+-1|0;if((b|0)!=(c[a+424>>2]|0)){e=11;break}}else b=c[a+424>>2]|0;if((b|0)>13)e=11}while(0);if((e|0)==11){l=c[a>>2]|0;c[l+20>>2]=17;c[l+24>>2]=f;c[(c[a>>2]|0)+28>>2]=c[k>>2];c[(c[a>>2]|0)+32>>2]=c[a+420>>2];c[(c[a>>2]|0)+36>>2]=c[a+424>>2];Rb[c[c[a>>2]>>2]&255](a)}l=a+340|0;b=c[l>>2]|0;if((b|0)>0){j=a+160|0;g=a+420|0;h=a+424|0;i=0;do{e=c[(c[a+344+(i<<2)>>2]|0)+4>>2]|0;f=c[j>>2]|0;b=c[m>>2]|0;if(b){if((c[f+(e<<8)>>2]|0)<0){b=c[a>>2]|0;c[b+20>>2]=118;c[b+24>>2]=e;c[(c[a>>2]|0)+28>>2]=0;Tb[c[(c[a>>2]|0)+4>>2]&63](a,-1);b=c[m>>2]|0}}else b=0;if((b|0)<=(c[k>>2]|0))while(1){d=f+(e<<8)+(b<<2)|0;o=c[d>>2]|0;if((c[g>>2]|0)!=(((o|0)>0?o:0)|0)){o=c[a>>2]|0;c[o+20>>2]=118;c[o+24>>2]=e;c[(c[a>>2]|0)+28>>2]=b;Tb[c[(c[a>>2]|0)+4>>2]&63](a,-1)}c[d>>2]=c[h>>2];if((b|0)<(c[k>>2]|0))b=b+1|0;else break}i=i+1|0;b=c[l>>2]|0}while((i|0)<(b|0))}else g=a+420|0;d=c[m>>2]|0;o=(d|0)==0;c[n+4>>2]=(c[g>>2]|0)==0?(o?34:33):o?36:35;b:do if((b|0)>0){f=n+64|0;b=0;while(1){e=c[a+344+(b<<2)>>2]|0;if(!d){if(!(c[g>>2]|0)){o=c[e+20>>2]|0;_t(a,1,o,n+48+(o<<2)|0)}}else{k=c[e+24>>2]|0;o=n+48+(k<<2)|0;_t(a,0,k,o);c[f>>2]=c[o>>2]}c[n+24+(b<<2)>>2]=0;b=b+1|0;if((b|0)>=(c[l>>2]|0))break b;d=c[m>>2]|0}}while(0);c[n+20>>2]=0;o=n+16|0;c[o>>2]=0;o=n+12|0;c[o>>2]=0;o=n+40|0;c[o>>2]=0;a=a+280|0;a=c[a>>2]|0;o=n+44|0;c[o>>2]=a;return}function Vt(a){a=a|0;var b=0;b=(c[a+468>>2]|0)+16|0;a=(c[a+464>>2]|0)+24|0;c[a>>2]=(c[a>>2]|0)+((c[b>>2]|0)/8|0);c[b>>2]=0;return}function Wt(a,e){a=a|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;A=zb;zb=zb+48|0;v=A+20|0;z=A;y=c[a+468>>2]|0;t=c[a+424>>2]|0;h=a+280|0;if(c[h>>2]|0?(i=y+44|0,(c[i>>2]|0)==0):0){w=y+16|0;x=c[a+464>>2]|0;u=x+24|0;c[u>>2]=(c[u>>2]|0)+((c[w>>2]|0)/8|0);c[w>>2]=0;if(!(Fb[c[x+8>>2]&127](a)|0)){z=0;zb=A;return z|0}g=a+340|0;if((c[g>>2]|0)>0){f=0;do{c[y+24+(f<<2)>>2]=0;f=f+1|0}while((f|0)<(c[g>>2]|0))}c[y+20>>2]=0;c[i>>2]=c[h>>2];if(!(c[a+440>>2]|0))c[y+40>>2]=0}if(!(c[y+40>>2]|0)){c[v+16>>2]=a;r=a+24|0;i=c[r>>2]|0;j=c[i>>2]|0;c[v>>2]=j;h=c[i+4>>2]|0;s=v+4|0;c[s>>2]=h;w=y+12|0;f=c[w>>2]|0;u=y+16|0;g=c[u>>2]|0;x=y+20|0;c[z>>2]=c[x>>2];c[z+4>>2]=c[x+4>>2];c[z+8>>2]=c[x+8>>2];c[z+12>>2]=c[x+12>>2];c[z+16>>2]=c[x+16>>2];q=a+368|0;do if((c[q>>2]|0)>0){p=v+8|0;o=v+12|0;n=0;while(1){l=c[e+(n<<2)>>2]|0;m=c[a+372+(n<<2)>>2]|0;j=c[y+48+(c[(c[a+344+(m<<2)>>2]|0)+20>>2]<<2)>>2]|0;if((g|0)<8){if(!(bu(v,f,g,0)|0)){f=0;k=28;break}f=c[p>>2]|0;g=c[o>>2]|0;if((g|0)<8){h=1;k=17}else k=15}else k=15;if((k|0)==15){k=0;i=f>>g+-8&255;h=c[j+144+(i<<2)>>2]|0;if(!h){h=9;k=17}else{g=g-h|0;h=d[j+1168+i>>0]|0}}if((k|0)==17){h=cu(v,f,g,j,h)|0;if((h|0)<0){f=0;k=28;break}g=c[o>>2]|0;f=c[p>>2]|0}if(!h)h=0;else{if((g|0)<(h|0)){if(!(bu(v,f,g,h)|0)){f=0;k=28;break}g=c[o>>2]|0;f=c[p>>2]|0}g=g-h|0;k=c[5184+(h<<2)>>2]|0;j=f>>g&k;h=j-((j|0)>(c[5184+(h+-1<<2)>>2]|0)?0:k)|0}k=z+4+(m<<2)|0;m=(c[k>>2]|0)+h|0;c[k>>2]=m;b[l>>1]=m<=(c[q>>2]|0)){k=25;break}}if((k|0)==25){i=c[r>>2]|0;j=c[v>>2]|0;h=c[s>>2]|0;break}else if((k|0)==28){zb=A;return f|0}}while(0);c[i>>2]=j;c[i+4>>2]=h;c[w>>2]=f;c[u>>2]=g;c[x>>2]=c[z>>2];c[x+4>>2]=c[z+4>>2];c[x+8>>2]=c[z+8>>2];c[x+12>>2]=c[z+12>>2];c[x+16>>2]=c[z+16>>2]}z=y+44|0;c[z>>2]=(c[z>>2]|0)+-1;z=1;zb=A;return z|0}function Xt(a,e){a=a|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;y=zb;zb=zb+32|0;w=y;x=c[a+468>>2]|0;h=a+280|0;if(c[h>>2]|0?(i=x+44|0,(c[i>>2]|0)==0):0){u=x+16|0;v=c[a+464>>2]|0;t=v+24|0;c[t>>2]=(c[t>>2]|0)+((c[u>>2]|0)/8|0);c[u>>2]=0;if(!(Fb[c[v+8>>2]&127](a)|0)){x=0;zb=y;return x|0}g=a+340|0;if((c[g>>2]|0)>0){f=0;do{c[x+24+(f<<2)>>2]=0;f=f+1|0}while((f|0)<(c[g>>2]|0))}c[x+20>>2]=0;c[i>>2]=c[h>>2];if(!(c[a+440>>2]|0))c[x+40>>2]=0}if(!(c[x+40>>2]|0)){v=x+20|0;f=c[v>>2]|0;if(!f){c[w+16>>2]=a;u=a+24|0;t=c[u>>2]|0;c[w>>2]=c[t>>2];s=w+4|0;c[s>>2]=c[t+4>>2];t=x+12|0;g=c[t>>2]|0;r=x+16|0;h=c[r>>2]|0;n=c[a+416>>2]|0;o=c[a+424>>2]|0;p=c[a+432>>2]|0;k=c[e>>2]|0;l=c[x+64>>2]|0;f=c[a+412>>2]|0;a:do if((f|0)<=(n|0)){q=w+8|0;m=w+12|0;j=f;b:while(1){if((h|0)<8){if(!(bu(w,g,h,0)|0)){f=0;a=36;break}g=c[q>>2]|0;h=c[m>>2]|0;if((h|0)<8){f=1;a=19}else a=17}else a=17;if((a|0)==17){a=0;i=g>>h+-8&255;f=c[l+144+(i<<2)>>2]|0;if(!f){f=9;a=19}else{h=h-f|0;f=d[l+1168+i>>0]|0}}if((a|0)==19){f=cu(w,g,h,l,f)|0;if((f|0)<0){f=0;a=36;break}h=c[m>>2]|0;g=c[q>>2]|0}e=f>>>4;i=f&15;if(!i){switch(e&268435455|0){case 0:{f=0;break a}case 15:break;default:{a=27;break b}}f=j+15|0}else{f=e+j|0;if((h|0)<(i|0)){if(!(bu(w,g,h,i)|0)){f=0;a=36;break}h=c[m>>2]|0;g=c[q>>2]|0}h=h-i|0;j=c[5184+(i<<2)>>2]|0;a=g>>h&j;b[k+(c[p+(f<<2)>>2]<<1)>>1]=a-((a|0)>(c[5184+(i+-1<<2)>>2]|0)?0:j)<>2]|0;g=c[q>>2]|0;break}else f=h;while(0);h=f-e|0;f=i+-1+(g>>h&c[5184+(e<<2)>>2])|0;break}else if((a|0)==36){zb=y;return f|0}}else f=0;while(0);u=c[u>>2]|0;c[u>>2]=c[w>>2];c[u+4>>2]=c[s>>2];c[t>>2]=g;c[r>>2]=h}else f=f+-1|0;c[v>>2]=f}x=x+44|0;c[x>>2]=(c[x>>2]|0)+-1;x=1;zb=y;return x|0}function Yt(a,d){a=a|0;d=d|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;r=zb;zb=zb+32|0;o=r;q=c[a+468>>2]|0;h=a+280|0;if(c[h>>2]|0?(i=q+44|0,(c[i>>2]|0)==0):0){n=q+16|0;p=c[a+464>>2]|0;m=p+24|0;c[m>>2]=(c[m>>2]|0)+((c[n>>2]|0)/8|0);c[n>>2]=0;if(!(Fb[c[p+8>>2]&127](a)|0)){q=0;zb=r;return q|0}g=a+340|0;if((c[g>>2]|0)>0){f=0;do{c[q+24+(f<<2)>>2]=0;f=f+1|0}while((f|0)<(c[g>>2]|0))}c[q+20>>2]=0;c[i>>2]=c[h>>2];if(!(c[a+440>>2]|0))c[q+40>>2]=0}c[o+16>>2]=a;l=a+24|0;i=c[l>>2]|0;j=c[i>>2]|0;c[o>>2]=j;h=c[i+4>>2]|0;m=o+4|0;c[m>>2]=h;p=q+12|0;f=c[p>>2]|0;n=q+16|0;g=c[n>>2]|0;k=1<>2];a=a+368|0;do if((c[a>>2]|0)>0){j=o+8|0;i=o+12|0;h=0;while(1){if((g|0)<1){if(!(bu(o,f,g,1)|0)){f=0;a=19;break}g=c[i>>2]|0;f=c[j>>2]|0}g=g+-1|0;if(1<>2]|0;b[s>>1]=k|(e[s>>1]|0)}h=h+1|0;if((h|0)>=(c[a>>2]|0)){a=17;break}}if((a|0)==17){i=c[l>>2]|0;j=c[o>>2]|0;h=c[m>>2]|0;break}else if((a|0)==19){zb=r;return f|0}}while(0);c[i>>2]=j;c[i+4>>2]=h;c[p>>2]=f;c[n>>2]=g;s=q+44|0;c[s>>2]=(c[s>>2]|0)+-1;s=1;zb=r;return s|0}function Zt(a,e){a=a|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0;G=zb;zb=zb+288|0;F=G+256|0;D=G;E=c[a+468>>2]|0;h=a+280|0;if(c[h>>2]|0?(i=E+44|0,(c[i>>2]|0)==0):0){z=E+16|0;A=c[a+464>>2]|0;y=A+24|0;c[y>>2]=(c[y>>2]|0)+((c[z>>2]|0)/8|0);c[z>>2]=0;if(!(Fb[c[A+8>>2]&127](a)|0)){F=0;zb=G;return F|0}g=a+340|0;if((c[g>>2]|0)>0){f=0;do{c[E+24+(f<<2)>>2]=0;f=f+1|0}while((f|0)<(c[g>>2]|0))}c[E+20>>2]=0;c[i>>2]=c[h>>2];if(!(c[a+440>>2]|0))c[E+40>>2]=0}do if(!(c[E+40>>2]|0)){q=c[a+416>>2]|0;t=c[a+424>>2]|0;s=1<>2]|0;c[F+16>>2]=a;A=a+24|0;z=c[A>>2]|0;c[F>>2]=c[z>>2];y=F+4|0;c[y>>2]=c[z+4>>2];z=E+12|0;i=c[z>>2]|0;x=E+16|0;g=c[x>>2]|0;w=E+20|0;h=c[w>>2]|0;u=c[e>>2]|0;l=c[E+64>>2]|0;e=c[a+412>>2]|0;p=F+8|0;o=F+12|0;a:do if(!h){f=0;b:while(1){if((g|0)<8){if(!(bu(F,i,g,0)|0))break a;i=c[p>>2]|0;g=c[o>>2]|0;if((g|0)<8){h=1;v=17}else v=15}else v=15;if((v|0)==15){v=0;j=i>>g+-8&255;h=c[l+144+(j<<2)>>2]|0;if(!h){h=9;v=17}else{g=g-h|0;h=d[l+1168+j>>0]|0}}if((v|0)==17){v=0;h=cu(F,i,g,l,h)|0;if((h|0)<0)break a;g=c[o>>2]|0;i=c[p>>2]|0}j=h>>>4;switch(h&15){case 0:{if((j|0)==15){h=i;k=0}else break b;break}case 1:{v=21;break}default:{v=c[a>>2]|0;c[v+20>>2]=121;Tb[c[v+4>>2]&63](a,-1);v=21}}if((v|0)==21){v=0;if((g|0)<1){if(!(bu(F,i,g,1)|0))break a;g=c[o>>2]|0;i=c[p>>2]|0}k=g+-1|0;g=k;h=i;k=(1<>2]<<1)|0;do if(!(b[j>>1]|0))if((h|0)<1)break c;else h=h+-1|0;else{if((g|0)<1){if(!(bu(F,i,g,1)|0))break a;g=c[o>>2]|0;i=c[p>>2]|0}g=g+-1|0;if((1<>1]|0,n=m<<16>>16,(s&n|0)==0):0)if(m<<16>>16>-1){b[j>>1]=s+n;break}else{b[j>>1]=t+n;break}}while(0);j=e+1|0;if((e|0)<(q|0))e=j;else{e=j;break}}if(k){j=c[r+(e<<2)>>2]|0;b[u+(j<<1)>>1]=k;c[D+(f<<2)>>2]=j;f=f+1|0}if((e|0)<(q|0))e=e+1|0;else{h=0;f=i;v=58;break a}}h=1<>2]|0;i=c[p>>2]|0}g=g-j|0;h=(i>>g&c[5184+(j<<2)>>2])+h|0;if(!h){h=0;f=i;v=58}else v=46}else{h=1;v=46}}else{f=0;v=46}while(0);d:do if((v|0)==46){while(1){j=u+(c[r+(e<<2)>>2]<<1)|0;do if(b[j>>1]|0){if((g|0)<1){if(!(bu(F,i,g,1)|0))break d;g=c[o>>2]|0;i=c[p>>2]|0}g=g+-1|0;if((1<>1]|0,C=B<<16>>16,(s&C|0)==0):0)if(B<<16>>16>-1){b[j>>1]=s+C;break}else{b[j>>1]=t+C;break}}while(0);if((e|0)<(q|0))e=e+1|0;else break}h=h+-1|0;f=i;v=58}while(0);if((v|0)==58){D=c[A>>2]|0;c[D>>2]=c[F>>2];c[D+4>>2]=c[y>>2];c[z>>2]=f;c[x>>2]=g;c[w>>2]=h;break}if(!f){F=0;zb=G;return F|0}do{f=f+-1|0;b[u+(c[D+(f<<2)>>2]<<1)>>1]=0}while((f|0)!=0);f=0;zb=G;return f|0}while(0);F=E+44|0;c[F>>2]=(c[F>>2]|0)+-1;F=1;zb=G;return F|0}function _t(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;q=zb;zb=zb+1312|0;k=q+1040|0;p=q;if(f>>>0>3){o=c[b>>2]|0;c[o+20>>2]=52;c[o+24>>2]=f;Rb[c[c[b>>2]>>2]&255](b)}n=(e|0)!=0;o=c[(n?b+180+(f<<2)|0:b+196+(f<<2)|0)>>2]|0;if(!o){m=c[b>>2]|0;c[m+20>>2]=52;c[m+24>>2]=f;Rb[c[c[b>>2]>>2]&255](b)}e=c[g>>2]|0;if(!e){l=Ib[c[c[b+4>>2]>>2]&63](b,1,1424)|0;c[g>>2]=l;m=b}else{m=b;l=e}c[l+140>>2]=o;j=a[o+1>>0]|0;e=j&255;if(!(j<<24>>24))e=0;else hP(k|0,1,e|0)|0;f=a[o+2>>0]|0;h=f&255;g=e+h|0;if(g>>>0>256){j=c[b>>2]|0;c[j+20>>2]=9;Rb[c[j>>2]&255](m)}if(f<<24>>24){hP(k+e|0,2,h|0)|0;e=g}f=a[o+3>>0]|0;h=f&255;g=e+h|0;if((g|0)>256){j=c[b>>2]|0;c[j+20>>2]=9;Rb[c[j>>2]&255](m)}if(f<<24>>24){hP(k+e|0,3,h|0)|0;e=g}f=a[o+4>>0]|0;h=f&255;g=e+h|0;if((g|0)>256){j=c[b>>2]|0;c[j+20>>2]=9;Rb[c[j>>2]&255](m)}if(f<<24>>24){hP(k+e|0,4,h|0)|0;e=g}f=a[o+5>>0]|0;h=f&255;g=e+h|0;if((g|0)>256){j=c[b>>2]|0;c[j+20>>2]=9;Rb[c[j>>2]&255](m)}if(f<<24>>24){hP(k+e|0,5,h|0)|0;e=g}f=a[o+6>>0]|0;h=f&255;g=e+h|0;if((g|0)>256){j=c[b>>2]|0;c[j+20>>2]=9;Rb[c[j>>2]&255](m)}if(f<<24>>24){hP(k+e|0,6,h|0)|0;e=g}f=a[o+7>>0]|0;h=f&255;g=e+h|0;if((g|0)>256){j=c[b>>2]|0;c[j+20>>2]=9;Rb[c[j>>2]&255](m)}if(f<<24>>24){hP(k+e|0,7,h|0)|0;e=g}f=a[o+8>>0]|0;h=f&255;g=e+h|0;if((g|0)>256){j=c[b>>2]|0;c[j+20>>2]=9;Rb[c[j>>2]&255](m)}if(f<<24>>24){hP(k+e|0,8,h|0)|0;e=g}f=a[o+9>>0]|0;h=f&255;g=e+h|0;if((g|0)>256){j=c[b>>2]|0;c[j+20>>2]=9;Rb[c[j>>2]&255](m)}if(f<<24>>24){hP(k+e|0,9,h|0)|0;e=g}f=a[o+10>>0]|0;h=f&255;g=e+h|0;if((g|0)>256){j=c[b>>2]|0;c[j+20>>2]=9;Rb[c[j>>2]&255](m)}if(f<<24>>24){hP(k+e|0,10,h|0)|0;e=g}f=a[o+11>>0]|0;h=f&255;g=e+h|0;if((g|0)>256){j=c[b>>2]|0;c[j+20>>2]=9;Rb[c[j>>2]&255](m)}if(f<<24>>24){hP(k+e|0,11,h|0)|0;e=g}f=a[o+12>>0]|0;h=f&255;g=e+h|0;if((g|0)>256){j=c[b>>2]|0;c[j+20>>2]=9;Rb[c[j>>2]&255](m)}if(f<<24>>24){hP(k+e|0,12,h|0)|0;e=g}f=a[o+13>>0]|0;h=f&255;g=e+h|0;if((g|0)>256){j=c[b>>2]|0;c[j+20>>2]=9;Rb[c[j>>2]&255](m)}if(f<<24>>24){hP(k+e|0,13,h|0)|0;e=g}f=a[o+14>>0]|0;h=f&255;g=e+h|0;if((g|0)>256){j=c[b>>2]|0;c[j+20>>2]=9;Rb[c[j>>2]&255](m)}if(f<<24>>24){hP(k+e|0,14,h|0)|0;e=g}f=a[o+15>>0]|0;h=f&255;g=e+h|0;if((g|0)>256){j=c[b>>2]|0;c[j+20>>2]=9;Rb[c[j>>2]&255](m)}if(f<<24>>24){hP(k+e|0,15,h|0)|0;e=g}f=a[o+16>>0]|0;h=f&255;g=e+h|0;if((g|0)>256){j=c[b>>2]|0;c[j+20>>2]=9;Rb[c[j>>2]&255](m)}if(!(f<<24>>24))g=e;else hP(k+e|0,16,h|0)|0;a[k+g>>0]=0;e=a[k>>0]|0;if(e<<24>>24){i=e;f=0;h=0;j=e<<24>>24;while(1){if((j|0)==(i<<24>>24|0)){e=h;while(1){h=e+1|0;c[p+(e<<2)>>2]=f;f=f+1|0;e=a[k+h>>0]|0;if((j|0)==(e<<24>>24|0))e=h;else break}}else e=i;if((f|0)>=(1<>2]|0;c[i+20>>2]=9;Rb[c[i>>2]&255](m)}if(!(e<<24>>24))break;else{i=e;f=f<<1;j=j+1|0}}}e=o+1|0;if(!(a[e>>0]|0)){e=-1;f=0}else{c[l+76>>2]=0-(c[p>>2]|0);f=d[e>>0]|0;e=c[p+(f+-1<<2)>>2]|0}c[l+4>>2]=e;e=o+2|0;if(!(a[e>>0]|0))e=-1;else{c[l+80>>2]=f-(c[p+(f<<2)>>2]|0);f=f+(d[e>>0]|0)|0;e=c[p+(f+-1<<2)>>2]|0}c[l+8>>2]=e;e=o+3|0;if(!(a[e>>0]|0))e=-1;else{c[l+84>>2]=f-(c[p+(f<<2)>>2]|0);f=f+(d[e>>0]|0)|0;e=c[p+(f+-1<<2)>>2]|0}c[l+12>>2]=e;e=o+4|0;if(!(a[e>>0]|0))e=-1;else{c[l+88>>2]=f-(c[p+(f<<2)>>2]|0);f=f+(d[e>>0]|0)|0;e=c[p+(f+-1<<2)>>2]|0}c[l+16>>2]=e;e=o+5|0;if(!(a[e>>0]|0))e=-1;else{c[l+92>>2]=f-(c[p+(f<<2)>>2]|0);f=f+(d[e>>0]|0)|0;e=c[p+(f+-1<<2)>>2]|0}c[l+20>>2]=e;e=o+6|0;if(!(a[e>>0]|0))e=-1;else{c[l+96>>2]=f-(c[p+(f<<2)>>2]|0);f=f+(d[e>>0]|0)|0;e=c[p+(f+-1<<2)>>2]|0}c[l+24>>2]=e;e=o+7|0;if(!(a[e>>0]|0))e=-1;else{c[l+100>>2]=f-(c[p+(f<<2)>>2]|0);f=f+(d[e>>0]|0)|0;e=c[p+(f+-1<<2)>>2]|0}c[l+28>>2]=e;e=o+8|0;if(!(a[e>>0]|0))e=-1;else{c[l+104>>2]=f-(c[p+(f<<2)>>2]|0);f=f+(d[e>>0]|0)|0;e=c[p+(f+-1<<2)>>2]|0}c[l+32>>2]=e;e=o+9|0;if(!(a[e>>0]|0))e=-1;else{c[l+108>>2]=f-(c[p+(f<<2)>>2]|0);f=f+(d[e>>0]|0)|0;e=c[p+(f+-1<<2)>>2]|0}c[l+36>>2]=e;e=o+10|0;if(!(a[e>>0]|0))e=-1;else{c[l+112>>2]=f-(c[p+(f<<2)>>2]|0);f=f+(d[e>>0]|0)|0;e=c[p+(f+-1<<2)>>2]|0}c[l+40>>2]=e;e=o+11|0;if(!(a[e>>0]|0))e=-1;else{c[l+116>>2]=f-(c[p+(f<<2)>>2]|0);f=f+(d[e>>0]|0)|0;e=c[p+(f+-1<<2)>>2]|0}c[l+44>>2]=e;e=o+12|0;if(!(a[e>>0]|0))e=-1;else{c[l+120>>2]=f-(c[p+(f<<2)>>2]|0);f=f+(d[e>>0]|0)|0;e=c[p+(f+-1<<2)>>2]|0}c[l+48>>2]=e;e=o+13|0;if(!(a[e>>0]|0))e=-1;else{c[l+124>>2]=f-(c[p+(f<<2)>>2]|0);f=f+(d[e>>0]|0)|0;e=c[p+(f+-1<<2)>>2]|0}c[l+52>>2]=e;e=o+14|0;if(!(a[e>>0]|0))e=-1;else{c[l+128>>2]=f-(c[p+(f<<2)>>2]|0);f=f+(d[e>>0]|0)|0;e=c[p+(f+-1<<2)>>2]|0}c[l+56>>2]=e;e=o+15|0;if(!(a[e>>0]|0))e=-1;else{c[l+132>>2]=f-(c[p+(f<<2)>>2]|0);f=f+(d[e>>0]|0)|0;e=c[p+(f+-1<<2)>>2]|0}c[l+60>>2]=e;e=o+16|0;if(!(a[e>>0]|0))e=-1;else{c[l+136>>2]=f-(c[p+(f<<2)>>2]|0);e=c[p+(f+(d[e>>0]|0)+-1<<2)>>2]|0}c[l+64>>2]=e;c[l+68>>2]=1048575;hP(l+144|0,0,1024)|0;j=o+1|0;if(!(a[j>>0]|0))e=0;else{k=1;e=0;while(1){f=o+17+e|0;h=128;i=c[p+(e<<2)>>2]<<7;while(1){c[l+144+(i<<2)>>2]=1;a[l+1168+i>>0]=a[f>>0]|0;if((h|0)>1){h=h+-1|0;i=i+1|0}else break}e=e+1|0;if(k>>>0<(d[j>>0]|0)>>>0)k=k+1|0;else break}}j=o+2|0;if(a[j>>0]|0){k=1;while(1){f=o+17+e|0;h=64;i=c[p+(e<<2)>>2]<<6;while(1){c[l+144+(i<<2)>>2]=2;a[l+1168+i>>0]=a[f>>0]|0;if((h|0)>1){h=h+-1|0;i=i+1|0}else break}e=e+1|0;if(k>>>0<(d[j>>0]|0)>>>0)k=k+1|0;else break}}f=o+3|0;if(a[f>>0]|0){h=1;while(1){k=c[p+(e<<2)>>2]<<5;j=o+17+e|0;c[l+144+(k<<2)>>2]=3;a[l+1168+k>>0]=a[j>>0]|0;i=k|1;c[l+144+(i<<2)>>2]=3;a[l+1168+i>>0]=a[j>>0]|0;i=i+1|0;c[l+144+(i<<2)>>2]=3;a[l+1168+i>>0]=a[j>>0]|0;i=k|3;c[l+144+(i<<2)>>2]=3;a[l+1168+i>>0]=a[j>>0]|0;r=i+1|0;c[l+144+(r<<2)>>2]=3;a[l+1168+r>>0]=a[j>>0]|0;r=i+2|0;c[l+144+(r<<2)>>2]=3;a[l+1168+r>>0]=a[j>>0]|0;i=i+3|0;c[l+144+(i<<2)>>2]=3;a[l+1168+i>>0]=a[j>>0]|0;i=k|7;c[l+144+(i<<2)>>2]=3;a[l+1168+i>>0]=a[j>>0]|0;r=i+1|0;c[l+144+(r<<2)>>2]=3;a[l+1168+r>>0]=a[j>>0]|0;r=i+2|0;c[l+144+(r<<2)>>2]=3;a[l+1168+r>>0]=a[j>>0]|0;r=i+3|0;c[l+144+(r<<2)>>2]=3;a[l+1168+r>>0]=a[j>>0]|0;r=i+4|0;c[l+144+(r<<2)>>2]=3;a[l+1168+r>>0]=a[j>>0]|0;r=i+5|0;c[l+144+(r<<2)>>2]=3;a[l+1168+r>>0]=a[j>>0]|0;r=i+6|0;c[l+144+(r<<2)>>2]=3;a[l+1168+r>>0]=a[j>>0]|0;i=i+7|0;c[l+144+(i<<2)>>2]=3;a[l+1168+i>>0]=a[j>>0]|0;i=k|15;c[l+144+(i<<2)>>2]=3;a[l+1168+i>>0]=a[j>>0]|0;r=i+1|0;c[l+144+(r<<2)>>2]=3;a[l+1168+r>>0]=a[j>>0]|0;r=i+2|0;c[l+144+(r<<2)>>2]=3;a[l+1168+r>>0]=a[j>>0]|0;r=i+3|0;c[l+144+(r<<2)>>2]=3;a[l+1168+r>>0]=a[j>>0]|0;r=i+4|0;c[l+144+(r<<2)>>2]=3;a[l+1168+r>>0]=a[j>>0]|0;r=i+5|0;c[l+144+(r<<2)>>2]=3;a[l+1168+r>>0]=a[j>>0]|0;r=i+6|0;c[l+144+(r<<2)>>2]=3;a[l+1168+r>>0]=a[j>>0]|0;r=i+7|0;c[l+144+(r<<2)>>2]=3;a[l+1168+r>>0]=a[j>>0]|0;r=i+8|0;c[l+144+(r<<2)>>2]=3;a[l+1168+r>>0]=a[j>>0]|0;r=i+9|0;c[l+144+(r<<2)>>2]=3;a[l+1168+r>>0]=a[j>>0]|0;r=i+10|0;c[l+144+(r<<2)>>2]=3;a[l+1168+r>>0]=a[j>>0]|0;r=i+11|0;c[l+144+(r<<2)>>2]=3;a[l+1168+r>>0]=a[j>>0]|0;r=i+12|0;c[l+144+(r<<2)>>2]=3;a[l+1168+r>>0]=a[j>>0]|0;r=i+13|0;c[l+144+(r<<2)>>2]=3;a[l+1168+r>>0]=a[j>>0]|0;r=i+14|0;c[l+144+(r<<2)>>2]=3;a[l+1168+r>>0]=a[j>>0]|0;i=i+15|0;c[l+144+(i<<2)>>2]=3;a[l+1168+i>>0]=a[j>>0]|0;k=k|31;c[l+144+(k<<2)>>2]=3;a[l+1168+k>>0]=a[j>>0]|0;e=e+1|0;if(h>>>0<(d[f>>0]|0)>>>0)h=h+1|0;else break}}f=o+4|0;if(a[f>>0]|0){h=1;while(1){r=c[p+(e<<2)>>2]<<4;k=o+17+e|0;c[l+144+(r<<2)>>2]=4;a[l+1168+r>>0]=a[k>>0]|0;j=r|1;c[l+144+(j<<2)>>2]=4;a[l+1168+j>>0]=a[k>>0]|0;j=j+1|0;c[l+144+(j<<2)>>2]=4;a[l+1168+j>>0]=a[k>>0]|0;j=r|3;c[l+144+(j<<2)>>2]=4;a[l+1168+j>>0]=a[k>>0]|0;i=j+1|0;c[l+144+(i<<2)>>2]=4;a[l+1168+i>>0]=a[k>>0]|0;i=j+2|0;c[l+144+(i<<2)>>2]=4;a[l+1168+i>>0]=a[k>>0]|0;j=j+3|0;c[l+144+(j<<2)>>2]=4;a[l+1168+j>>0]=a[k>>0]|0;j=r|7;c[l+144+(j<<2)>>2]=4;a[l+1168+j>>0]=a[k>>0]|0;i=j+1|0;c[l+144+(i<<2)>>2]=4;a[l+1168+i>>0]=a[k>>0]|0;i=j+2|0;c[l+144+(i<<2)>>2]=4;a[l+1168+i>>0]=a[k>>0]|0;i=j+3|0;c[l+144+(i<<2)>>2]=4;a[l+1168+i>>0]=a[k>>0]|0;i=j+4|0;c[l+144+(i<<2)>>2]=4;a[l+1168+i>>0]=a[k>>0]|0;i=j+5|0;c[l+144+(i<<2)>>2]=4;a[l+1168+i>>0]=a[k>>0]|0;i=j+6|0;c[l+144+(i<<2)>>2]=4;a[l+1168+i>>0]=a[k>>0]|0;j=j+7|0;c[l+144+(j<<2)>>2]=4;a[l+1168+j>>0]=a[k>>0]|0;r=r|15;c[l+144+(r<<2)>>2]=4;a[l+1168+r>>0]=a[k>>0]|0;e=e+1|0;if(h>>>0<(d[f>>0]|0)>>>0)h=h+1|0;else break}}f=o+5|0;if(a[f>>0]|0){h=1;while(1){r=c[p+(e<<2)>>2]<<3;k=o+17+e|0;c[l+144+(r<<2)>>2]=5;a[l+1168+r>>0]=a[k>>0]|0;j=r|1;c[l+144+(j<<2)>>2]=5;a[l+1168+j>>0]=a[k>>0]|0;j=j+1|0;c[l+144+(j<<2)>>2]=5;a[l+1168+j>>0]=a[k>>0]|0;j=r|3;c[l+144+(j<<2)>>2]=5;a[l+1168+j>>0]=a[k>>0]|0;i=j+1|0;c[l+144+(i<<2)>>2]=5;a[l+1168+i>>0]=a[k>>0]|0;i=j+2|0;c[l+144+(i<<2)>>2]=5;a[l+1168+i>>0]=a[k>>0]|0;j=j+3|0;c[l+144+(j<<2)>>2]=5;a[l+1168+j>>0]=a[k>>0]|0;r=r|7;c[l+144+(r<<2)>>2]=5;a[l+1168+r>>0]=a[k>>0]|0;e=e+1|0;if(h>>>0<(d[f>>0]|0)>>>0)h=h+1|0;else break}}f=o+6|0;if(a[f>>0]|0){h=1;while(1){r=c[p+(e<<2)>>2]<<2;k=o+17+e|0;c[l+144+(r<<2)>>2]=6;a[l+1168+r>>0]=a[k>>0]|0;j=r|1;c[l+144+(j<<2)>>2]=6;a[l+1168+j>>0]=a[k>>0]|0;j=j+1|0;c[l+144+(j<<2)>>2]=6;a[l+1168+j>>0]=a[k>>0]|0;r=r|3;c[l+144+(r<<2)>>2]=6;a[l+1168+r>>0]=a[k>>0]|0;e=e+1|0;if(h>>>0<(d[f>>0]|0)>>>0)h=h+1|0;else break}}f=o+7|0;if(a[f>>0]|0){h=1;while(1){r=c[p+(e<<2)>>2]<<1;k=o+17+e|0;c[l+144+(r<<2)>>2]=7;a[l+1168+r>>0]=a[k>>0]|0;r=r|1;c[l+144+(r<<2)>>2]=7;a[l+1168+r>>0]=a[k>>0]|0;e=e+1|0;if(h>>>0<(d[f>>0]|0)>>>0)h=h+1|0;else break}}f=o+8|0;if(a[f>>0]|0){h=1;while(1){r=c[p+(e<<2)>>2]|0;c[l+144+(r<<2)>>2]=8;a[l+1168+r>>0]=a[o+17+e>>0]|0;if(h>>>0<(d[f>>0]|0)>>>0){h=h+1|0;e=e+1|0}else break}}if(!(n&(g|0)>0)){zb=q;return}e=0;do{if((d[o+17+e>>0]|0)>15){r=c[b>>2]|0;c[r+20>>2]=9;Rb[c[r>>2]&255](m)}e=e+1|0}while((e|0)!=(g|0));zb=q;return}function $t(a,e){a=a|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;B=zb;zb=zb+48|0;w=B+20|0;A=B;z=c[a+468>>2]|0;h=a+280|0;if(c[h>>2]|0?(i=z+44|0,(c[i>>2]|0)==0):0){x=z+16|0;y=c[a+464>>2]|0;v=y+24|0;c[v>>2]=(c[v>>2]|0)+((c[x>>2]|0)/8|0);c[x>>2]=0;if(!(Fb[c[y+8>>2]&127](a)|0)){A=0;zb=B;return A|0}g=a+340|0;if((c[g>>2]|0)>0){f=0;do{c[z+24+(f<<2)>>2]=0;f=f+1|0}while((f|0)<(c[g>>2]|0))}c[z+20>>2]=0;c[i>>2]=c[h>>2];if(!(c[a+440>>2]|0))c[z+40>>2]=0}if(!(c[z+40>>2]|0)){c[w+16>>2]=a;t=a+24|0;i=c[t>>2]|0;j=c[i>>2]|0;c[w>>2]=j;h=c[i+4>>2]|0;u=w+4|0;c[u>>2]=h;x=z+12|0;f=c[x>>2]|0;v=z+16|0;g=c[v>>2]|0;y=z+20|0;c[A>>2]=c[y>>2];c[A+4>>2]=c[y+4>>2];c[A+8>>2]=c[y+8>>2];c[A+12>>2]=c[y+12>>2];c[A+16>>2]=c[y+16>>2];s=a+368|0;do if((c[s>>2]|0)>0){r=w+8|0;q=w+12|0;p=0;a:while(1){m=c[e+(p<<2)>>2]|0;j=c[z+100+(p<<2)>>2]|0;if((g|0)<8){if(!(bu(w,f,g,0)|0)){f=0;n=67;break}f=c[r>>2]|0;g=c[q>>2]|0;if((g|0)<8){h=1;n=17}else n=15}else n=15;if((n|0)==15){n=0;i=f>>g+-8&255;h=c[j+144+(i<<2)>>2]|0;if(!h){h=9;n=17}else{g=g-h|0;h=d[j+1168+i>>0]|0}}if((n|0)==17){h=cu(w,f,g,j,h)|0;if((h|0)<0){f=0;n=67;break}g=c[q>>2]|0;f=c[r>>2]|0}o=c[z+140+(p<<2)>>2]|0;l=c[z+180+(p<<2)>>2]|0;i=(h|0)!=0;b:do if(!l)if(i){if((g|0)<(h|0)){if(!(bu(w,f,g,h)|0)){f=0;n=67;break a}g=c[q>>2]|0;f=c[r>>2]|0}g=g-h|0;h=1;n=48}else{h=1;n=48}else{if(i){if((g|0)<(h|0)){if(!(bu(w,f,g,h)|0)){f=0;n=67;break a}g=c[q>>2]|0;f=c[r>>2]|0}g=g-h|0;n=c[5184+(h<<2)>>2]|0;k=f>>g&n;h=k-((k|0)>(c[5184+(h+-1<<2)>>2]|0)?0:n)|0}else h=0;k=A+4+(c[a+372+(p<<2)>>2]<<2)|0;n=(c[k>>2]|0)+h|0;c[k>>2]=n;b[m>>1]=n;if((l|0)>1){h=1;do{if((g|0)<8){if(!(bu(w,f,g,0)|0)){f=0;n=67;break a}f=c[r>>2]|0;g=c[q>>2]|0;if((g|0)<8){i=1;n=32}else n=30}else n=30;if((n|0)==30){n=0;j=f>>g+-8&255;i=c[o+144+(j<<2)>>2]|0;if(!i){i=9;n=32}else{g=g-i|0;i=d[o+1168+j>>0]|0}}if((n|0)==32){n=0;i=cu(w,f,g,o,i)|0;if((i|0)<0){f=0;n=67;break a}g=c[q>>2]|0;f=c[r>>2]|0}j=i>>>4;k=i&15;if(!k){if((j|0)!=15)break b;i=h+15|0}else{i=j+h|0;if((g|0)<(k|0)){if(!(bu(w,f,g,k)|0)){f=0;n=67;break a}g=c[q>>2]|0;f=c[r>>2]|0}g=g-k|0;j=c[5184+(k<<2)>>2]|0;h=f>>g&j;b[m+(c[2064+(i<<2)>>2]<<1)>>1]=h-((h|0)>(c[5184+(k+-1<<2)>>2]|0)?0:j)}h=i+1|0}while((h|0)<(l|0));if((i|0)<63)n=48}else{h=1;n=48}}while(0);c:do if((n|0)==48){j=h;do{if((g|0)<8){if(!(bu(w,f,g,0)|0)){f=0;n=67;break a}f=c[r>>2]|0;g=c[q>>2]|0;if((g|0)<8){h=1;n=54}else n=52}else n=52;if((n|0)==52){n=0;i=f>>g+-8&255;h=c[o+144+(i<<2)>>2]|0;if(!h){h=9;n=54}else{g=g-h|0;h=d[o+1168+i>>0]|0}}if((n|0)==54){h=cu(w,f,g,o,h)|0;if((h|0)<0){f=0;n=67;break a}g=c[q>>2]|0;f=c[r>>2]|0}i=h>>>4;h=h&15;if(!h)if((i|0)==15)h=15;else break c;else{if((g|0)<(h|0)){if(!(bu(w,f,g,h)|0)){f=0;n=67;break a}g=c[q>>2]|0;f=c[r>>2]|0}g=g-h|0;h=i}j=j+1+h|0}while((j|0)<64)}while(0);p=p+1|0;if((p|0)>=(c[s>>2]|0)){n=64;break}}if((n|0)==64){i=c[t>>2]|0;j=c[w>>2]|0;h=c[u>>2]|0;break}else if((n|0)==67){zb=B;return f|0}}while(0);c[i>>2]=j;c[i+4>>2]=h;c[x>>2]=f;c[v>>2]=g;c[y>>2]=c[A>>2];c[y+4>>2]=c[A+4>>2];c[y+8>>2]=c[A+8>>2];c[y+12>>2]=c[A+12>>2];c[y+16>>2]=c[A+16>>2]}A=z+44|0;c[A>>2]=(c[A>>2]|0)+-1;A=1;zb=B;return A|0}function au(a,e){a=a|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;C=zb;zb=zb+48|0;x=C+20|0;B=C;A=c[a+468>>2]|0;h=a+280|0;if(c[h>>2]|0?(i=A+44|0,(c[i>>2]|0)==0):0){y=A+16|0;z=c[a+464>>2]|0;w=z+24|0;c[w>>2]=(c[w>>2]|0)+((c[y>>2]|0)/8|0);c[y>>2]=0;if(!(Fb[c[z+8>>2]&127](a)|0)){B=0;zb=C;return B|0}g=a+340|0;if((c[g>>2]|0)>0){f=0;do{c[A+24+(f<<2)>>2]=0;f=f+1|0}while((f|0)<(c[g>>2]|0))}c[A+20>>2]=0;c[i>>2]=c[h>>2];if(!(c[a+440>>2]|0))c[A+40>>2]=0}if(!(c[A+40>>2]|0)){r=c[a+432>>2]|0;s=c[a+436>>2]|0;c[x+16>>2]=a;u=a+24|0;j=c[u>>2]|0;i=c[j>>2]|0;c[x>>2]=i;h=c[j+4>>2]|0;v=x+4|0;c[v>>2]=h;y=A+12|0;f=c[y>>2]|0;w=A+16|0;g=c[w>>2]|0;z=A+20|0;c[B>>2]=c[z>>2];c[B+4>>2]=c[z+4>>2];c[B+8>>2]=c[z+8>>2];c[B+12>>2]=c[z+12>>2];c[B+16>>2]=c[z+16>>2];t=a+368|0;do if((c[t>>2]|0)>0){q=x+8|0;p=x+12|0;o=0;a:while(1){l=c[e+(o<<2)>>2]|0;j=c[A+100+(o<<2)>>2]|0;if((g|0)<8){if(!(bu(x,f,g,0)|0)){f=0;m=67;break}f=c[q>>2]|0;g=c[p>>2]|0;if((g|0)<8){h=1;m=17}else m=15}else m=15;if((m|0)==15){m=0;i=f>>g+-8&255;h=c[j+144+(i<<2)>>2]|0;if(!h){h=9;m=17}else{g=g-h|0;h=d[j+1168+i>>0]|0}}if((m|0)==17){h=cu(x,f,g,j,h)|0;if((h|0)<0){f=0;m=67;break}g=c[p>>2]|0;f=c[q>>2]|0}n=c[A+140+(o<<2)>>2]|0;k=c[A+180+(o<<2)>>2]|0;i=(h|0)!=0;b:do if(!k)if(i){if((g|0)<(h|0)){if(!(bu(x,f,g,h)|0)){f=0;m=67;break a}g=c[p>>2]|0;f=c[q>>2]|0}g=g-h|0;h=1;m=47}else{h=1;m=47}else{if(i){if((g|0)<(h|0)){if(!(bu(x,f,g,h)|0)){f=0;m=67;break a}g=c[p>>2]|0;f=c[q>>2]|0}g=g-h|0;m=c[5184+(h<<2)>>2]|0;j=f>>g&m;h=j-((j|0)>(c[5184+(h+-1<<2)>>2]|0)?0:m)|0}else h=0;j=B+4+(c[a+372+(o<<2)>>2]<<2)|0;m=(c[j>>2]|0)+h|0;c[j>>2]=m;b[l>>1]=m;if((k|0)>1){h=1;while(1){if((g|0)<8){if(!(bu(x,f,g,0)|0)){f=0;m=67;break a}f=c[q>>2]|0;g=c[p>>2]|0;if((g|0)<8){i=1;m=32}else m=30}else m=30;if((m|0)==30){m=0;j=f>>g+-8&255;i=c[n+144+(j<<2)>>2]|0;if(!i){i=9;m=32}else{g=g-i|0;i=d[n+1168+j>>0]|0}}if((m|0)==32){m=0;i=cu(x,f,g,n,i)|0;if((i|0)<0){f=0;m=67;break a}g=c[p>>2]|0;f=c[q>>2]|0}j=i>>>4;i=i&15;if(!i){if((j|0)!=15)break b;h=h+15|0}else{h=j+h|0;if((g|0)<(i|0)){if(!(bu(x,f,g,i)|0)){f=0;m=67;break a}g=c[p>>2]|0;f=c[q>>2]|0}g=g-i|0;m=c[5184+(i<<2)>>2]|0;j=f>>g&m;b[l+(c[r+(h<<2)>>2]<<1)>>1]=j-((j|0)>(c[5184+(i+-1<<2)>>2]|0)?0:m)}h=h+1|0;if((h|0)>=(k|0)){m=47;break}}}else{h=1;m=47}}while(0);c:do if((m|0)==47)if((h|0)<=(s|0)){j=h;do{if((g|0)<8){if(!(bu(x,f,g,0)|0)){f=0;m=67;break a}f=c[q>>2]|0;g=c[p>>2]|0;if((g|0)<8){h=1;m=54}else m=52}else m=52;if((m|0)==52){m=0;i=f>>g+-8&255;h=c[n+144+(i<<2)>>2]|0;if(!h){h=9;m=54}else{g=g-h|0;h=d[n+1168+i>>0]|0}}if((m|0)==54){h=cu(x,f,g,n,h)|0;if((h|0)<0){f=0;m=67;break a}g=c[p>>2]|0;f=c[q>>2]|0}i=h>>>4;h=h&15;if(!h)if((i|0)==15)h=15;else break c;else{if((g|0)<(h|0)){if(!(bu(x,f,g,h)|0)){f=0;m=67;break a}g=c[p>>2]|0;f=c[q>>2]|0}g=g-h|0;h=i}j=j+1+h|0}while((j|0)<=(s|0))}while(0);o=o+1|0;if((o|0)>=(c[t>>2]|0)){m=64;break}}if((m|0)==64){j=c[u>>2]|0;i=c[x>>2]|0;h=c[v>>2]|0;break}else if((m|0)==67){zb=C;return f|0}}while(0);c[j>>2]=i;c[j+4>>2]=h;c[y>>2]=f;c[w>>2]=g;c[z>>2]=c[B>>2];c[z+4>>2]=c[B+4>>2];c[z+8>>2]=c[B+8>>2];c[z+12>>2]=c[B+12>>2];c[z+16>>2]=c[B+16>>2]}B=A+44|0;c[B>>2]=(c[B>>2]|0)+-1;B=1;zb=C;return B|0}function bu(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;g=c[b>>2]|0;n=b+4|0;i=c[n>>2]|0;m=c[b+16>>2]|0;l=m+440|0;a:do if(!(c[l>>2]|0))if((e|0)<25){k=m+24|0;h=i;b:while(1){if(!h){if(!(Fb[c[(c[k>>2]|0)+12>>2]&127](m)|0)){g=0;o=20;break}g=c[k>>2]|0;h=c[g+4>>2]|0;g=c[g>>2]|0}h=h+-1|0;j=g+1|0;i=a[g>>0]|0;g=i&255;c:do if(i<<24>>24==-1){g=j;while(1){if(!h){if(!(Fb[c[(c[k>>2]|0)+12>>2]&127](m)|0)){g=0;o=20;break b}i=c[k>>2]|0;h=c[i+4>>2]|0;i=c[i>>2]|0}else i=g;j=h+-1|0;g=i+1|0;h=a[i>>0]|0;switch(h<<24>>24){case 0:{i=j;h=255;break c}case -1:{h=j;break}default:{o=13;break b}}}}else{i=h;h=g;g=j}while(0);d=h|d<<8;h=e+8|0;if((e|0)<17){e=h;h=i}else break a}if((o|0)==13){c[l>>2]=h&255;i=j;j=d;o=15;break}else if((o|0)==20)return g|0}else h=e;else{j=d;o=15}while(0);if((o|0)==15)if((e|0)<(f|0)){d=m+468|0;if(!(c[(c[d>>2]|0)+40>>2]|0)){o=c[m>>2]|0;c[o+20>>2]=120;Tb[c[o+4>>2]&63](m,-1);c[(c[d>>2]|0)+40>>2]=1}h=25;d=j<<25-e}else{h=e;d=j}c[b>>2]=g;c[n>>2]=i;c[b+8>>2]=d;c[b+12>>2]=h;o=1;return o|0}function cu(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;do if((e|0)<(g|0))if(!(bu(a,b,e,g)|0)){a=-1;return a|0}else{e=c[a+12>>2]|0;b=c[a+8>>2]|0;break}while(0);e=e-g|0;i=b>>e&c[5184+(g<<2)>>2];k=a+8|0;j=a+12|0;a:do if((i|0)>(c[f+(g<<2)>>2]|0)){h=e;e=g;while(1){i=i<<1;if((h|0)<1){if(!(bu(a,b,h,1)|0)){e=-1;break}h=c[j>>2]|0;b=c[k>>2]|0}h=h+-1|0;i=b>>>h&1|i;e=e+1|0;if((i|0)<=(c[f+(e<<2)>>2]|0))break a}return e|0}else{h=e;e=g}while(0);c[k>>2]=b;c[j>>2]=h;if((e|0)>16){a=c[a+16>>2]|0;f=c[a>>2]|0;c[f+20>>2]=121;Tb[c[f+4>>2]&63](a,-1);a=0;return a|0}else{a=d[(c[f+72+(e<<2)>>2]|0)+i+((c[f+140>>2]|0)+17)>>0]|0;return a|0}return 0}function du(a,b){a=a|0;b=b|0;return (a+-1+b|0)/(b|0)|0|0}function eu(a,b){a=a|0;b=b|0;a=a+-1+b|0;return a-((a|0)%(b|0)|0)|0}function fu(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((f|0)<=0)return;b=a+(b<<2)|0;a=d+(e<<2)|0;while(1){fP(c[a>>2]|0,c[b>>2]|0,g|0)|0;if((f|0)>1){b=b+4|0;a=a+4|0;f=f+-1|0}else break}return}function gu(a,b,c){a=a|0;b=b|0;c=c|0;fP(b|0,a|0,c<<7|0)|0;return}function hu(a){a=a|0;a=Ib[c[c[a+4>>2]>>2]&63](a,0,132)|0;c[a+128>>2]=0;return a|0}function iu(a){a=a|0;a=Ib[c[c[a+4>>2]>>2]&63](a,0,280)|0;c[a+276>>2]=0;return a|0}function ju(a,b){a=a|0;b=b|0;return MO(b)|0}function ku(a,b,c){a=a|0;b=b|0;c=c|0;NO(b);return}function lu(a,b){a=a|0;b=b|0;return MO(b)|0}function mu(a,b,c){a=a|0;b=b|0;c=c|0;NO(b);return}function nu(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return c|0}function ou(a,b,d){a=a|0;b=b|0;d=d|0;d=c[a>>2]|0;c[d+20>>2]=51;Rb[c[d>>2]&255](a);return}function pu(a){a=a|0;return 0}function qu(a){a=a|0;return}function ru(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=c[a+20>>2]|0;if((b|0)!=202){t=c[a>>2]|0;c[t+20>>2]=21;c[t+24>>2]=b;Rb[c[c[a>>2]>>2]&255](a)}su(a);d=c[a+216>>2]|0;t=a+36|0;b=c[t>>2]|0;q=(b|0)>0;if(q){o=c[a+324>>2]|0;r=(c[a+76>>2]|0)==0?4:8;s=a+320|0;p=c[a+328>>2]|0;if((o|0)>(r|0)){k=(p|0)>(r|0);m=o<<1;j=0;l=d;while(1){i=l+36|0;c[i>>2]=o;a:do if(k)f=p;else{e=c[s>>2]|0;g=c[l+12>>2]|0;f=p;h=1;do{h=h<<1;if((e|0)%(C(h,g)|0)|0|0)break a;f=C(p,h)|0}while((f|0)<=(r|0))}while(0);e=l+40|0;c[e>>2]=f;g=f<<1;if((o|0)<=(g|0)){if((f|0)>(m|0))c[e>>2]=m}else c[i>>2]=g;j=j+1|0;if((j|0)>=(b|0))break;else l=l+88|0}}else{k=c[a+316>>2]|0;m=(p|0)>(r|0);l=0;n=d;while(1){f=c[n+8>>2]|0;e=o;g=1;do{g=g<<1;if((k|0)%(C(g,f)|0)|0|0)break;e=C(o,g)|0}while((e|0)<=(r|0));j=n+36|0;c[j>>2]=e;b:do if(m)h=p;else{g=c[s>>2]|0;h=c[n+12>>2]|0;f=p;i=1;while(1){i=i<<1;if((g|0)%(C(i,h)|0)|0|0){h=f;break b}f=C(p,i)|0;if((f|0)>(r|0)){h=f;break}}}while(0);g=n+40|0;c[g>>2]=h;f=h<<1;if((e|0)<=(f|0)){e=e<<1;if((h|0)>(e|0))c[g>>2]=e}else c[j>>2]=f;l=l+1|0;if((l|0)>=(b|0))break;else n=n+88|0}}if(q){h=a+28|0;i=a+316|0;e=a+428|0;g=a+32|0;j=a+320|0;f=0;while(1){b=C(C(c[d+8>>2]|0,c[h>>2]|0)|0,c[d+36>>2]|0)|0;c[d+44>>2]=du(b,C(c[e>>2]|0,c[i>>2]|0)|0)|0;b=C(C(c[d+12>>2]|0,c[g>>2]|0)|0,c[d+40>>2]|0)|0;c[d+48>>2]=du(b,C(c[e>>2]|0,c[j>>2]|0)|0)|0;f=f+1|0;b=c[t>>2]|0;if((f|0)>=(b|0))break;else d=d+88|0}}}d=c[a+44>>2]|0;switch(d|0){case 1:{b=d;break}case 6:case 2:{b=3;break}case 7:case 3:{b=3;break}case 5:case 4:{b=4;break}default:{}}c[a+120>>2]=b;c[a+124>>2]=(c[a+84>>2]|0)==0?b:1;if(!(tu(a)|0)){t=1;a=a+128|0;c[a>>2]=t;return}t=c[a+320>>2]|0;a=a+128|0;c[a>>2]=t;return}function su(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;g=a+428|0;b=c[g>>2]|0;f=C(b,c[a+48>>2]|0)|0;d=c[a+52>>2]|0;do if(f>>>0>d>>>0){if(f>>>0<=d<<1>>>0){c[a+112>>2]=du(c[a+28>>2]<<1,b)|0;f=2;b=c[a+32>>2]<<1;break}if(f>>>0<=(d*3|0)>>>0){c[a+112>>2]=du((c[a+28>>2]|0)*3|0,b)|0;f=3;b=(c[a+32>>2]|0)*3|0;break}if(f>>>0<=d<<2>>>0){c[a+112>>2]=du(c[a+28>>2]<<2,b)|0;f=4;b=c[a+32>>2]<<2;break}if(f>>>0<=(d*5|0)>>>0){c[a+112>>2]=du((c[a+28>>2]|0)*5|0,b)|0;f=5;b=(c[a+32>>2]|0)*5|0;break}if(f>>>0<=(d*6|0)>>>0){c[a+112>>2]=du((c[a+28>>2]|0)*6|0,b)|0;f=6;b=(c[a+32>>2]|0)*6|0;break}if(f>>>0<=(d*7|0)>>>0){c[a+112>>2]=du((c[a+28>>2]|0)*7|0,b)|0;f=7;b=(c[a+32>>2]|0)*7|0;break}if(f>>>0<=d<<3>>>0){c[a+112>>2]=du(c[a+28>>2]<<3,b)|0;f=8;b=c[a+32>>2]<<3;break}if(f>>>0<=(d*9|0)>>>0){c[a+112>>2]=du((c[a+28>>2]|0)*9|0,b)|0;f=9;b=(c[a+32>>2]|0)*9|0;break}if(f>>>0<=(d*10|0)>>>0){c[a+112>>2]=du((c[a+28>>2]|0)*10|0,b)|0;f=10;b=(c[a+32>>2]|0)*10|0;break}if(f>>>0<=(d*11|0)>>>0){c[a+112>>2]=du((c[a+28>>2]|0)*11|0,b)|0;f=11;b=(c[a+32>>2]|0)*11|0;break}if(f>>>0<=(d*12|0)>>>0){c[a+112>>2]=du((c[a+28>>2]|0)*12|0,b)|0;f=12;b=(c[a+32>>2]|0)*12|0;break}if(f>>>0<=(d*13|0)>>>0){c[a+112>>2]=du((c[a+28>>2]|0)*13|0,b)|0;f=13;b=(c[a+32>>2]|0)*13|0;break}if(f>>>0<=(d*14|0)>>>0){c[a+112>>2]=du((c[a+28>>2]|0)*14|0,b)|0;f=14;b=(c[a+32>>2]|0)*14|0;break}e=c[a+28>>2]|0;if(f>>>0>(d*15|0)>>>0){c[a+112>>2]=du(e<<4,b)|0;f=16;b=c[a+32>>2]<<4;break}else{c[a+112>>2]=du(e*15|0,b)|0;f=15;b=(c[a+32>>2]|0)*15|0;break}}else{c[a+112>>2]=du(c[a+28>>2]|0,b)|0;f=1;b=c[a+32>>2]|0}while(0);c[a+116>>2]=du(b,c[g>>2]|0)|0;c[a+324>>2]=f;c[a+328>>2]=f;d=c[a+36>>2]|0;if((d|0)<=0)return;e=0;b=c[a+216>>2]|0;while(1){c[b+36>>2]=f;c[b+40>>2]=f;e=e+1|0;if((e|0)>=(d|0))break;else b=b+88|0}return}function tu(a){a=a|0;var b=0,d=0;if(c[a+308>>2]|0)return 0;switch(c[a+40>>2]|0){case 7:case 3:break;default:return 0}if((c[a+36>>2]|0)!=3)return 0;if((c[a+44>>2]|0)!=2)return 0;if((c[a+120>>2]|0)!=3)return 0;if(c[a+304>>2]|0)return 0;d=c[a+216>>2]|0;if((c[d+8>>2]|0)!=2)return 0;if((c[d+96>>2]|0)!=1)return 0;if((c[d+184>>2]|0)!=1)return 0;if((c[d+12>>2]|0)>2)return 0;if((c[d+100>>2]|0)!=1)return 0;if((c[d+188>>2]|0)!=1)return 0;b=c[d+36>>2]|0;if((b|0)!=(c[a+324>>2]|0))return 0;if((c[d+124>>2]|0)!=(b|0))return 0;if((c[d+212>>2]|0)!=(b|0))return 0;b=c[d+40>>2]|0;if((b|0)!=(c[a+328>>2]|0))return 0;if((c[d+128>>2]|0)==(b|0))return (c[d+216>>2]|0)==(b|0)|0;else return 0;return 0}function uu(b){b=b|0;var d=0,e=0,f=0,g=0;g=b+4|0;e=Ib[c[c[g>>2]>>2]&63](b,1,192)|0;c[b+468>>2]=e;c[e>>2]=117;c[e+8>>2]=118;d=e+188|0;e=e+60|0;f=e+128|0;do{c[e>>2]=0;e=e+4|0}while((e|0)<(f|0));a[d>>0]=113;if(!(c[b+224>>2]|0))return;f=b+36|0;e=Ib[c[c[g>>2]>>2]&63](b,1,c[f>>2]<<8)|0;c[b+160>>2]=e;if((c[f>>2]|0)<=0)return;d=0;do{hP(e+(d<<8)|0,-1,256)|0;d=d+1|0}while((d|0)<(c[f>>2]|0));return}function vu(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;h=a+4|0;i=Ib[c[c[h>>2]>>2]&63](a,1,116)|0;c[a+452>>2]=i;c[i>>2]=119;c[i+8>>2]=120;c[i+112>>2]=0;if(!b){b=Ib[c[(c[h>>2]|0)+4>>2]&63](a,1,1280)|0;c[i+32>>2]=b;c[i+36>>2]=b+128;c[i+40>>2]=b+256;c[i+44>>2]=b+384;c[i+48>>2]=b+512;c[i+52>>2]=b+640;c[i+56>>2]=b+768;c[i+60>>2]=b+896;c[i+64>>2]=b+1024;c[i+68>>2]=b+1152;if(!(c[a+436>>2]|0))hP(b|0,0,1280)|0;c[i+4>>2]=84;c[i+12>>2]=40;c[i+16>>2]=0;return}f=a+36|0;if((c[f>>2]|0)>0){g=a+224|0;b=i+72|0;d=0;e=c[a+216>>2]|0;while(1){k=e+12|0;j=c[k>>2]|0;j=(c[g>>2]|0)==0?j:j*3|0;m=c[(c[h>>2]|0)+20>>2]|0;l=eu(c[e+28>>2]|0,c[e+8>>2]|0)|0;k=eu(c[e+32>>2]|0,c[k>>2]|0)|0;c[b+(d<<2)>>2]=Nb[m&63](a,1,1,l,k,j)|0;d=d+1|0;if((d|0)>=(c[f>>2]|0))break;else e=e+88|0}}else b=i+72|0;c[i+4>>2]=83;c[i+12>>2]=39;c[i+16>>2]=b;return}function wu(a){a=a|0;var b=0,d=0;c[a+148>>2]=0;b=c[a+452>>2]|0;if((c[a+340>>2]|0)>1)a=1;else{d=c[a+344>>2]|0;a=c[((c[a+332>>2]|0)==1?d+76|0:d+12|0)>>2]|0}c[b+28>>2]=a;c[b+20>>2]=0;c[b+24>>2]=0;return}function xu(a){a=a|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;k=c[a+452>>2]|0;if(!(c[k+16>>2]|0)){l=a+156|0;c[l>>2]=0;return}a:do if(((c[a+80>>2]|0)!=0?(c[a+224>>2]|0)!=0:0)?(j=a+160|0,(c[j>>2]|0)!=0):0){e=k+112|0;d=c[e>>2]|0;if(!d){i=a+36|0;d=Ib[c[c[a+4>>2]>>2]&63](a,1,(c[i>>2]|0)*24|0)|0;c[e>>2]=d}else i=a+36|0;if((c[i>>2]|0)>0){h=0;f=c[a+216>>2]|0;g=0;while(1){e=c[f+80>>2]|0;if(!e){l=20;break a}if(!(b[e>>1]|0)){l=20;break a}if(!(b[e+2>>1]|0)){l=20;break a}if(!(b[e+16>>1]|0)){l=20;break a}if(!(b[e+32>>1]|0)){l=20;break a}if(!(b[e+18>>1]|0)){l=20;break a}if(!(b[e+4>>1]|0)){l=20;break a}e=c[j>>2]|0;if((c[e+(h<<8)>>2]|0)<0){l=20;break a}m=e+(h<<8)+4|0;c[d+4>>2]=c[m>>2];m=c[m>>2]|0;n=e+(h<<8)+8|0;c[d+8>>2]=c[n>>2];m=c[n>>2]|m;n=e+(h<<8)+12|0;c[d+12>>2]=c[n>>2];n=m|c[n>>2];m=e+(h<<8)+16|0;c[d+16>>2]=c[m>>2];m=n|c[m>>2];e=e+(h<<8)+20|0;c[d+20>>2]=c[e>>2];g=(m|c[e>>2]|0)==0?g:1;h=h+1|0;if((h|0)>=(c[i>>2]|0))break;else{d=d+24|0;f=f+88|0}}if(g)d=41;else l=20}else l=20}else l=20;while(0);if((l|0)==20)d=39;c[k+12>>2]=d;n=a+156|0;c[n>>2]=0;return}function yu(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;z=zb;zb=zb+16|0;w=z;x=a+452|0;u=c[x>>2]|0;y=a+340|0;if((c[y>>2]|0)>0){e=a+4|0;d=a+148|0;b=0;do{r=c[a+344+(b<<2)>>2]|0;t=c[r+12>>2]|0;s=C(t,c[d>>2]|0)|0;c[w+(b<<2)>>2]=Lb[c[(c[e>>2]|0)+32>>2]&31](a,c[u+72+(c[r+4>>2]<<2)>>2]|0,s,t,1)|0;b=b+1|0}while((b|0)<(c[y>>2]|0))}q=u+24|0;f=c[q>>2]|0;p=u+28|0;d=c[p>>2]|0;a:do if((f|0)<(d|0)){o=u+20|0;r=a+360|0;t=a+468|0;s=u+32|0;b=c[o>>2]|0;e=c[r>>2]|0;b:while(1){if(b>>>0>>0){do{m=c[y>>2]|0;if((m|0)>0){d=0;n=0;do{k=c[a+344+(n<<2)>>2]|0;j=c[k+56>>2]|0;l=C(j,b)|0;k=c[k+60>>2]|0;if((k|0)>0?(v=c[w+(n<<2)>>2]|0,(j|0)>0):0){i=0;do{e=d;g=(c[v+(i+f<<2)>>2]|0)+(l<<7)|0;h=0;while(1){c[u+32+(e<<2)>>2]=g;h=h+1|0;if((h|0)==(j|0))break;else{e=e+1|0;g=g+128|0}}d=j+d|0;i=i+1|0}while((i|0)<(k|0))}n=n+1|0}while((n|0)<(m|0))}if(!(Hb[c[(c[t>>2]|0)+4>>2]&63](a,s)|0))break b;b=b+1|0;e=c[r>>2]|0}while(b>>>0>>0);d=c[p>>2]|0}c[o>>2]=0;f=f+1|0;if((f|0)<(d|0))b=0;else break a}c[q>>2]=f;c[o>>2]=b;y=0;zb=z;return y|0}while(0);b=a+148|0;e=(c[b>>2]|0)+1|0;c[b>>2]=e;b=c[a+332>>2]|0;if(e>>>0>=b>>>0){Rb[c[(c[a+460>>2]|0)+12>>2]&255](a);y=4;zb=z;return y|0}d=c[x>>2]|0;if((c[y>>2]|0)>1)b=1;else{y=c[a+344>>2]|0;b=c[(e>>>0<(b+-1|0)>>>0?y+12|0:y+76|0)>>2]|0}c[d+28>>2]=b;c[d+20>>2]=0;c[d+24>>2]=0;y=3;zb=z;return y|0}function zu(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;u=c[a+452>>2]|0;x=a+332|0;w=(c[x>>2]|0)+-1|0;g=a+144|0;i=a+152|0;h=a+460|0;f=a+148|0;v=a+156|0;while(1){d=c[g>>2]|0;e=c[i>>2]|0;if((d|0)>=(e|0)){if((d|0)!=(e|0))break;if((c[f>>2]|0)>>>0>(c[v>>2]|0)>>>0)break}if(!(Fb[c[c[h>>2]>>2]&127](a)|0)){d=0;j=20;break}}if((j|0)==20)return d|0;t=a+36|0;if((c[t>>2]|0)>0){s=a+4|0;r=a+472|0;p=0;q=c[a+216>>2]|0;while(1){if(c[q+52>>2]|0){d=q+12|0;o=c[d>>2]|0;n=C(o,c[v>>2]|0)|0;o=Lb[c[(c[s>>2]|0)+32>>2]&31](a,c[u+72+(p<<2)>>2]|0,n,o,0)|0;if((c[v>>2]|0)>>>0>>0)l=c[d>>2]|0;else{n=c[d>>2]|0;l=((c[q+32>>2]|0)>>>0)%(n>>>0)|0;l=(l|0)==0?n:l}h=c[(c[r>>2]|0)+4+(p<<2)>>2]|0;if((l|0)>0){n=q+28|0;j=q+40|0;i=q+36|0;d=c[n>>2]|0;k=0;m=c[b+(p<<2)>>2]|0;while(1){if(!d)d=0;else{e=0;f=c[o+(k<<2)>>2]|0;g=0;while(1){Xb[h&63](a,q,f,m,g);e=e+1|0;d=c[n>>2]|0;if(e>>>0>=d>>>0)break;else{f=f+128|0;g=(c[i>>2]|0)+g|0}}}k=k+1|0;if((k|0)==(l|0))break;else m=m+(c[j>>2]<<2)|0}}}p=p+1|0;if((p|0)>=(c[t>>2]|0))break;else q=q+88|0}}w=(c[v>>2]|0)+1|0;c[v>>2]=w;x=w>>>0<(c[x>>2]|0)>>>0?3:4;return x|0}function Au(a){a=a|0;return 0}function Bu(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0;M=a+452|0;F=c[M>>2]|0;I=(c[a+360>>2]|0)+-1|0;K=a+332|0;g=c[K>>2]|0;J=g+-1|0;H=F+24|0;f=c[H>>2]|0;G=F+28|0;e=c[G>>2]|0;do if((f|0)<(e|0)){x=F+20|0;E=a+436|0;B=a+468|0;y=F+32|0;z=a+368|0;A=a+340|0;D=a+472|0;d=a+148|0;g=e;e=c[x>>2]|0;w=f;a:while(1){if(e>>>0>I>>>0)e=g;else{do{if(c[E>>2]|0)hP(c[y>>2]|0,0,c[z>>2]<<7|0)|0;if(!(Hb[c[(c[B>>2]|0)+4>>2]&63](a,y)|0))break a;f=c[A>>2]|0;if((f|0)>0){v=e>>>0>>0;g=0;u=0;do{t=c[a+344+(u<<2)>>2]|0;b:do if(c[t+52>>2]|0){h=c[t+4>>2]|0;l=c[(c[D>>2]|0)+4+(h<<2)>>2]|0;p=t+56|0;q=c[(v?p:t+72|0)>>2]|0;n=t+40|0;i=c[n>>2]|0;s=C(c[t+68>>2]|0,e)|0;o=t+60|0;j=c[o>>2]|0;if((j|0)>0){r=t+76|0;m=t+36|0;if((q|0)<=0){i=c[p>>2]|0;h=0;while(1){g=i+g|0;h=h+1|0;if((h|0)>=(j|0))break b}}f=j;j=i;i=(c[b+(h<<2)>>2]|0)+((C(i,w)|0)<<2)|0;k=0;while(1){if((c[d>>2]|0)>>>0>=J>>>0?(k+w|0)>=(c[r>>2]|0):0)h=j;else{f=s;h=0;while(1){Xb[l&63](a,t,c[F+32+(h+g<<2)>>2]|0,i,f);h=h+1|0;if((h|0)==(q|0))break;else f=(c[m>>2]|0)+f|0}h=c[n>>2]|0;f=c[o>>2]|0}g=(c[p>>2]|0)+g|0;k=k+1|0;if((k|0)>=(f|0))break;else{j=h;i=i+(h<<2)|0}}f=c[A>>2]|0}}else g=(c[t+64>>2]|0)+g|0;while(0);u=u+1|0}while((u|0)<(f|0))}e=e+1|0}while(e>>>0<=I>>>0);e=c[G>>2]|0}c[x>>2]=0;f=w+1|0;if((f|0)<(e|0)){g=e;e=0;w=f}else{L=30;break}}if((L|0)==30){g=c[K>>2]|0;break}c[H>>2]=w;c[x>>2]=e;a=0;return a|0}else d=a+148|0;while(0);f=a+156|0;c[f>>2]=(c[f>>2]|0)+1;f=(c[d>>2]|0)+1|0;c[d>>2]=f;if(f>>>0>=g>>>0){Rb[c[(c[a+460>>2]|0)+12>>2]&255](a);a=4;return a|0}e=c[M>>2]|0;if((c[a+340>>2]|0)>1)d=1;else{d=c[a+344>>2]|0;d=c[(f>>>0<(g+-1|0)>>>0?d+12|0:d+76|0)>>2]|0}c[e+28>>2]=d;c[e+20>>2]=0;c[e+24>>2]=0;a=3;return a|0}function Cu(a,d){a=a|0;d=d|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0;oa=zb;zb=zb+128|0;ma=oa;ka=c[a+452>>2]|0;na=a+332|0;la=(c[na>>2]|0)+-1|0;k=a+144|0;f=c[k>>2]|0;n=a+152|0;g=c[n>>2]|0;a:do if((f|0)<=(g|0)){l=a+460|0;i=a+412|0;j=a+148|0;m=a+156|0;while(1){h=c[l>>2]|0;if(c[h+20>>2]|0)break a;if((f|0)==(g|0)?(c[j>>2]|0)>>>0>((c[m>>2]|0)+((c[i>>2]|0)==0&1)|0)>>>0:0)break a;if(!(Fb[c[h>>2]&127](a)|0)){f=0;break}f=c[k>>2]|0;g=c[n>>2]|0;if((f|0)>(g|0))break a}zb=oa;return f|0}while(0);ja=a+36|0;if((c[ja>>2]|0)>0){f=a+156|0;ia=a+4|0;fa=ka+112|0;ha=a+472|0;_=ma+2|0;$=ma+16|0;aa=ma+32|0;ba=ma+18|0;ca=ma+4|0;ea=0;ga=c[a+216>>2]|0;while(1){if(c[ga+52>>2]|0){g=c[f>>2]|0;if(g>>>0>>0){da=c[ga+12>>2]|0;h=da;i=da<<1;j=0}else{h=c[ga+12>>2]|0;da=((c[ga+32>>2]|0)>>>0)%(h>>>0)|0;da=(da|0)==0?h:da;i=da;j=1}if(!g){Z=Lb[c[(c[ia>>2]|0)+32>>2]&31](a,c[ka+72+(ea<<2)>>2]|0,0,i,0)|0;g=1}else{Z=C(h,g+-1|0)|0;Z=Lb[c[(c[ia>>2]|0)+32>>2]&31](a,c[ka+72+(ea<<2)>>2]|0,Z,h+i|0,0)|0;Z=Z+(c[ga+12>>2]<<2)|0;g=0}i=(c[fa>>2]|0)+(ea*6<<2)|0;o=c[ga+80>>2]|0;l=e[o>>1]|0;h=e[o+2>>1]|0;k=e[o+16>>1]|0;m=e[o+32>>1]|0;n=e[o+18>>1]|0;o=e[o+4>>1]|0;Y=c[(c[ha>>2]|0)+4+(ea<<2)>>2]|0;if((da|0)>0){X=(g|0)!=0;V=(j|0)!=0;U=da+-1|0;W=ga+28|0;N=i+4|0;O=i+8|0;P=i+12|0;R=l*36|0;S=h<<7;Q=i+16|0;T=k<<7;M=h<<8;J=i+20|0;K=l*9|0;L=m<<7;I=k<<8;H=ga+36|0;F=l*5|0;G=n<<7;D=m<<8;E=o<<7;B=n<<8;z=o<<8;v=ga+40|0;x=0;y=c[d+(ea<<2)>>2]|0;while(1){g=c[Z+(x<<2)>>2]|0;if(X&(x|0)==0)i=g;else i=c[Z+(x+-1<<2)>>2]|0;if(V&(x|0)==(U|0))h=g;else h=c[Z+(x+1<<2)>>2]|0;s=b[i>>1]|0;t=b[g>>1]|0;u=b[h>>1]|0;A=(c[W>>2]|0)+-1|0;k=s;q=t;l=u;w=0;r=0;p=i;while(1){gu(g,ma,1);if(w>>>0>>0){m=b[p+128>>1]|0;n=b[g+128>>1]|0;o=b[h+128>>1]|0}else{m=s;n=t;o=u}i=c[N>>2]|0;if((i|0)!=0&(b[_>>1]|0)==0){j=C(R,q-n|0)|0;if((j|0)>-1){j=(j+S|0)/(M|0)|0;pa=1<0?((j|0)<(pa|0)?j:pa+-1|0):j}else{pa=(S-j|0)/(M|0)|0;j=1<0?((pa|0)<(j|0)?pa:j+-1|0):pa)|0}b[_>>1]=i}i=c[O>>2]|0;if((i|0)!=0&(b[$>>1]|0)==0){j=C(R,s-u|0)|0;if((j|0)>-1){pa=(j+T|0)/(I|0)|0;j=1<0?((pa|0)<(j|0)?pa:j+-1|0):pa}else{pa=(T-j|0)/(I|0)|0;j=1<0?((pa|0)<(j|0)?pa:j+-1|0):pa)|0}b[$>>1]=i}i=c[P>>2]|0;if((i|0)!=0&(b[aa>>1]|0)==0){j=C(K,s-(t<<1)+u|0)|0;if((j|0)>-1){pa=(j+L|0)/(D|0)|0;j=1<0?((pa|0)<(j|0)?pa:j+-1|0):pa}else{pa=(L-j|0)/(D|0)|0;j=1<0?((pa|0)<(j|0)?pa:j+-1|0):pa)|0}b[aa>>1]=i}j=c[Q>>2]|0;if((j|0)!=0&(b[ba>>1]|0)==0){i=C(F,k-l-m+o|0)|0;if((i|0)>-1){i=(i+G|0)/(B|0)|0;pa=1<0?((i|0)<(pa|0)?i:pa+-1|0):i}else{i=(G-i|0)/(B|0)|0;pa=1<0?((i|0)<(pa|0)?i:pa+-1|0):i)|0}b[ba>>1]=i}j=c[J>>2]|0;if((j|0)!=0&(b[ca>>1]|0)==0){i=C(K,q-(t<<1)+n|0)|0;if((i|0)>-1){i=(i+E|0)/(z|0)|0;pa=1<0?((i|0)<(pa|0)?i:pa+-1|0):i}else{i=(E-i|0)/(z|0)|0;pa=1<0?((i|0)<(pa|0)?i:pa+-1|0):i)|0}b[ca>>1]=i}Xb[Y&63](a,ga,ma,y,r);w=w+1|0;if(w>>>0>A>>>0)break;else{l=u;q=t;k=s;s=m;t=n;u=o;g=g+128|0;h=h+128|0;r=(c[H>>2]|0)+r|0;p=p+128|0}}x=x+1|0;if((x|0)==(da|0))break;else y=y+(c[v>>2]<<2)|0}}}ea=ea+1|0;if((ea|0)>=(c[ja>>2]|0))break;else ga=ga+88|0}}else f=a+156|0;pa=(c[f>>2]|0)+1|0;c[f>>2]=pa;pa=pa>>>0<(c[na>>2]|0)>>>0?3:4;zb=oa;return pa|0}function Du(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;o=c[b+468>>2]|0;q=b+224|0;p=b+412|0;f=c[p>>2]|0;e=(f|0)==0;do if(c[q>>2]|0){m=b+416|0;d=c[m>>2]|0;if(e)if(!d)n=7;else n=11;else if(((d|0)>=(f|0)?(d|0)<=(c[b+436>>2]|0):0)?(c[b+340>>2]|0)==1:0)n=7;else n=11;do if((n|0)==7){d=c[b+420>>2]|0;if(d){d=d+-1|0;if((d|0)!=(c[b+424>>2]|0)){n=11;break}}else d=c[b+424>>2]|0;if((d|0)>13)n=11}while(0);if((n|0)==11){l=c[b>>2]|0;c[l+20>>2]=17;c[l+24>>2]=f;c[(c[b>>2]|0)+28>>2]=c[m>>2];c[(c[b>>2]|0)+32>>2]=c[b+420>>2];c[(c[b>>2]|0)+36>>2]=c[b+424>>2];Rb[c[c[b>>2]>>2]&255](b)}l=b+340|0;d=c[l>>2]|0;if((d|0)>0){k=b+160|0;e=b+420|0;i=b+424|0;j=0;do{g=c[(c[b+344+(j<<2)>>2]|0)+4>>2]|0;h=c[k>>2]|0;d=c[p>>2]|0;if(d){if((c[h+(g<<8)>>2]|0)<0){d=c[b>>2]|0;c[d+20>>2]=118;c[d+24>>2]=g;c[(c[b>>2]|0)+28>>2]=0;Tb[c[(c[b>>2]|0)+4>>2]&63](b,-1);d=c[p>>2]|0}}else d=0;if((d|0)<=(c[m>>2]|0))while(1){f=h+(g<<8)+(d<<2)|0;r=c[f>>2]|0;if((c[e>>2]|0)!=(((r|0)>0?r:0)|0)){r=c[b>>2]|0;c[r+20>>2]=118;c[r+24>>2]=g;c[(c[b>>2]|0)+28>>2]=d;Tb[c[(c[b>>2]|0)+4>>2]&63](b,-1)}c[f>>2]=c[i>>2];if((d|0)<(c[m>>2]|0))d=d+1|0;else break}j=j+1|0;d=c[l>>2]|0}while((j|0)<(d|0))}else e=b+420|0;f=(c[p>>2]|0)==0;g=o+4|0;if(!(c[e>>2]|0))if(f){c[g>>2]=42;k=l;break}else{c[g>>2]=43;k=l;break}else if(f){c[g>>2]=44;k=l;break}else{c[g>>2]=45;k=l;break}}else{if((e?(c[b+420>>2]|0)==0:0)?(c[b+424>>2]|0)==0:0){r=c[b+416>>2]|0;if((r|0)<64?(r|0)!=(c[b+436>>2]|0):0)n=36}else n=36;if((n|0)==36){r=c[b>>2]|0;c[r+20>>2]=125;Tb[c[r+4>>2]&63](b,-1)}c[o+4>>2]=46;k=b+340|0;d=c[k>>2]|0}while(0);if((d|0)<=0){q=o+12|0;c[q>>2]=0;q=o+16|0;c[q>>2]=0;q=o+20|0;c[q>>2]=-16;q=b+280|0;q=c[q>>2]|0;r=o+56|0;c[r>>2]=q;return}i=b+436|0;g=b+420|0;j=b+4|0;h=0;do{f=c[b+344+(h<<2)>>2]|0;if(c[q>>2]|0)if(!(c[p>>2]|0)){if(!(c[g>>2]|0))n=43}else n=50;else n=43;do if((n|0)==43){n=0;d=c[f+20>>2]|0;if(d>>>0>15){r=c[b>>2]|0;c[r+20>>2]=50;c[r+24>>2]=d;Rb[c[c[b>>2]>>2]&255](b)}e=o+60+(d<<2)|0;d=c[e>>2]|0;if(!d){d=Ib[c[c[j>>2]>>2]&63](b,1,64)|0;c[e>>2]=d}e=d+64|0;do{a[d>>0]=0;d=d+1|0}while((d|0)<(e|0));c[o+24+(h<<2)>>2]=0;c[o+40+(h<<2)>>2]=0;if(!(c[q>>2]|0))if(!(c[i>>2]|0))break;else{n=50;break}else if(!(c[p>>2]|0))break;else{n=50;break}}while(0);if((n|0)==50){n=0;d=c[f+24>>2]|0;if(d>>>0>15){r=c[b>>2]|0;c[r+20>>2]=50;c[r+24>>2]=d;Rb[c[c[b>>2]>>2]&255](b)}e=o+124+(d<<2)|0;d=c[e>>2]|0;if(!d){d=Ib[c[c[j>>2]>>2]&63](b,1,256)|0;c[e>>2]=d}hP(d|0,0,256)|0}h=h+1|0}while((h|0)<(c[k>>2]|0));q=o+12|0;c[q>>2]=0;q=o+16|0;c[q>>2]=0;q=o+20|0;c[q>>2]=-16;q=b+280|0;q=c[q>>2]|0;r=o+56|0;c[r>>2]=q;return}function Eu(a){a=a|0;return}function Fu(e,f){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;s=c[e+468>>2]|0;p=e+280|0;if(c[p>>2]|0){q=s+56|0;g=c[q>>2]|0;if(!g){if(!(Fb[c[(c[e+464>>2]|0)+8>>2]&127](e)|0)){r=c[e>>2]|0;c[r+20>>2]=25;Rb[c[r>>2]&255](e)}k=e+340|0;if((c[k>>2]|0)>0){m=e+224|0;i=e+412|0;l=e+436|0;h=e+420|0;j=0;do{g=c[e+344+(j<<2)>>2]|0;if(c[m>>2]|0)if(!(c[i>>2]|0)){if(!(c[h>>2]|0))t=10}else t=13;else t=10;do if((t|0)==10){t=0;n=c[s+60+(c[g+20>>2]<<2)>>2]|0;o=n+64|0;do{a[n>>0]=0;n=n+1|0}while((n|0)<(o|0));c[s+24+(j<<2)>>2]=0;c[s+40+(j<<2)>>2]=0;if(!(c[m>>2]|0))if(!(c[l>>2]|0))break;else{t=13;break}else if(!(c[i>>2]|0))break;else{t=13;break}}while(0);if((t|0)==13){t=0;hP(c[s+124+(c[g+24>>2]<<2)>>2]|0,0,256)|0}j=j+1|0}while((j|0)<(c[k>>2]|0))}c[s+12>>2]=0;c[s+16>>2]=0;c[s+20>>2]=-16;g=c[p>>2]|0;c[q>>2]=g}c[q>>2]=g+-1}r=s+20|0;if((c[r>>2]|0)==-1)return 1;q=e+368|0;if((c[q>>2]|0)<=0)return 1;o=e+424|0;p=0;a:while(1){n=c[f+(p<<2)>>2]|0;l=c[e+372+(p<<2)>>2]|0;j=c[(c[e+344+(l<<2)>>2]|0)+20>>2]|0;i=s+60+(j<<2)|0;k=s+40+(l<<2)|0;g=(c[i>>2]|0)+(c[k>>2]|0)|0;if(!(Ku(e,g)|0)){c[k>>2]=0;g=c[s+24+(l<<2)>>2]|0}else{m=Ku(e,g+1|0)|0;h=g+2+m|0;g=Ku(e,h)|0;if(g){h=(c[i>>2]|0)+20|0;if(!(Ku(e,h)|0))i=h;else while(1){g=g<<1;if((g|0)==32768)break a;h=h+1|0;if(!(Ku(e,h)|0)){i=h;break}}}else{g=0;i=h}do if((g|0)>=(1<<(d[e+232+j>>0]|0)>>1|0)){h=m<<2;if((g|0)>(1<<(d[e+248+j>>0]|0)>>1|0)){h=h+12|0;break}else{h=h+4|0;break}}else h=0;while(0);c[k>>2]=h;i=i+14|0;h=g>>1;if(h)do{k=(Ku(e,i)|0)==0;g=(k?0:h)|g;h=h>>1}while((h|0)!=0);l=s+24+(l<<2)|0;g=(c[l>>2]|0)+((m|0)==0?g+1|0:~g)|0;c[l>>2]=g}b[n>>1]=g<>2];p=p+1|0;if((p|0)>=(c[q>>2]|0)){t=37;break}}if((t|0)==37)return 1;t=c[e>>2]|0;c[t+20>>2]=117;Tb[c[t+4>>2]&63](e,-1);c[r>>2]=-1;return 1}function Gu(e,f){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;s=c[e+468>>2]|0;p=e+280|0;if(c[p>>2]|0){q=s+56|0;g=c[q>>2]|0;if(!g){if(!(Fb[c[(c[e+464>>2]|0)+8>>2]&127](e)|0)){t=c[e>>2]|0;c[t+20>>2]=25;Rb[c[t>>2]&255](e)}k=e+340|0;if((c[k>>2]|0)>0){m=e+224|0;i=e+412|0;l=e+436|0;h=e+420|0;j=0;do{g=c[e+344+(j<<2)>>2]|0;if(c[m>>2]|0)if(!(c[i>>2]|0)){if(!(c[h>>2]|0))r=10}else r=13;else r=10;do if((r|0)==10){r=0;n=c[s+60+(c[g+20>>2]<<2)>>2]|0;o=n+64|0;do{a[n>>0]=0;n=n+1|0}while((n|0)<(o|0));c[s+24+(j<<2)>>2]=0;c[s+40+(j<<2)>>2]=0;if(!(c[m>>2]|0))if(!(c[l>>2]|0))break;else{r=13;break}else if(!(c[i>>2]|0))break;else{r=13;break}}while(0);if((r|0)==13){r=0;hP(c[s+124+(c[g+24>>2]<<2)>>2]|0,0,256)|0}j=j+1|0}while((j|0)<(c[k>>2]|0))}c[s+12>>2]=0;c[s+16>>2]=0;c[s+20>>2]=-16;g=c[p>>2]|0;c[q>>2]=g}c[q>>2]=g+-1}t=s+20|0;if((c[t>>2]|0)==-1)return 1;r=c[e+432>>2]|0;p=c[f>>2]|0;o=c[(c[e+344>>2]|0)+24>>2]|0;q=s+124+(o<<2)|0;n=s+188|0;m=e+416|0;l=e+424|0;o=e+264+o|0;h=(c[e+412>>2]|0)+-1|0;a:while(1){i=(c[q>>2]|0)+(h*3|0)|0;if(Ku(e,i)|0){r=36;break}g=h+1|0;if(!(Ku(e,i+1|0)|0)){j=g;while(1){if((j|0)>=(c[m>>2]|0)){r=23;break a}h=i+3|0;g=j+1|0;if(!(Ku(e,i+4|0)|0)){j=g;i=h}else break}}else{j=h;h=i}k=Ku(e,n)|0;i=h+2|0;h=Ku(e,i)|0;if(h){if(Ku(e,i)|0){h=h<<1;i=(c[q>>2]|0)+((j|0)<(d[o>>0]|0|0)?189:217)|0;if(Ku(e,i)|0)do{h=h<<1;if((h|0)==32768){r=30;break a}i=i+1|0}while((Ku(e,i)|0)!=0)}j=i+14|0;i=h>>1;if(i)do{s=(Ku(e,j)|0)==0;h=(s?0:i)|h;i=i>>1}while((i|0)!=0)}else h=0;b[p+(c[r+(g<<2)>>2]<<1)>>1]=((k|0)==0?h+1|0:~h)<>2];if((g|0)<(c[m>>2]|0))h=g;else{r=36;break}}if((r|0)==23){s=c[e>>2]|0;c[s+20>>2]=117;Tb[c[s+4>>2]&63](e,-1);c[t>>2]=-1;return 1}else if((r|0)==30){s=c[e>>2]|0;c[s+20>>2]=117;Tb[c[s+4>>2]&63](e,-1);c[t>>2]=-1;return 1}else if((r|0)==36)return 1;return 0}function Hu(d,f){d=d|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;r=c[d+468>>2]|0;p=d+280|0;if(c[p>>2]|0){s=r+56|0;g=c[s>>2]|0;if(!g){if(!(Fb[c[(c[d+464>>2]|0)+8>>2]&127](d)|0)){o=c[d>>2]|0;c[o+20>>2]=25;Rb[c[o>>2]&255](d)}k=d+340|0;if((c[k>>2]|0)>0){m=d+224|0;i=d+412|0;l=d+436|0;h=d+420|0;j=0;do{g=c[d+344+(j<<2)>>2]|0;if(c[m>>2]|0)if(!(c[i>>2]|0)){if(!(c[h>>2]|0))q=10}else q=13;else q=10;do if((q|0)==10){q=0;n=c[r+60+(c[g+20>>2]<<2)>>2]|0;o=n+64|0;do{a[n>>0]=0;n=n+1|0}while((n|0)<(o|0));c[r+24+(j<<2)>>2]=0;c[r+40+(j<<2)>>2]=0;if(!(c[m>>2]|0))if(!(c[l>>2]|0))break;else{q=13;break}else if(!(c[i>>2]|0))break;else{q=13;break}}while(0);if((q|0)==13){q=0;hP(c[r+124+(c[g+24>>2]<<2)>>2]|0,0,256)|0}j=j+1|0}while((j|0)<(c[k>>2]|0))}c[r+12>>2]=0;c[r+16>>2]=0;c[r+20>>2]=-16;g=c[p>>2]|0;c[s>>2]=g}c[s>>2]=g+-1}g=r+188|0;j=1<>2];i=d+368|0;if((c[i>>2]|0)<=0)return 1;h=0;do{if(Ku(d,g)|0){s=c[f+(h<<2)>>2]|0;b[s>>1]=j|(e[s>>1]|0)}h=h+1|0}while((h|0)<(c[i>>2]|0));return 1}function Iu(d,e){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;q=c[d+468>>2]|0;o=d+280|0;if(c[o>>2]|0){p=q+56|0;f=c[p>>2]|0;if(!f){if(!(Fb[c[(c[d+464>>2]|0)+8>>2]&127](d)|0)){s=c[d>>2]|0;c[s+20>>2]=25;Rb[c[s>>2]&255](d)}j=d+340|0;if((c[j>>2]|0)>0){l=d+224|0;h=d+412|0;k=d+436|0;g=d+420|0;i=0;do{f=c[d+344+(i<<2)>>2]|0;if(c[l>>2]|0)if(!(c[h>>2]|0)){if(!(c[g>>2]|0))t=10}else t=13;else t=10;do if((t|0)==10){t=0;m=c[q+60+(c[f+20>>2]<<2)>>2]|0;n=m+64|0;do{a[m>>0]=0;m=m+1|0}while((m|0)<(n|0));c[q+24+(i<<2)>>2]=0;c[q+40+(i<<2)>>2]=0;if(!(c[l>>2]|0))if(!(c[k>>2]|0))break;else{t=13;break}else if(!(c[h>>2]|0))break;else{t=13;break}}while(0);if((t|0)==13){t=0;hP(c[q+124+(c[f+24>>2]<<2)>>2]|0,0,256)|0}i=i+1|0}while((i|0)<(c[j>>2]|0))}c[q+12>>2]=0;c[q+16>>2]=0;c[q+20>>2]=-16;f=c[o>>2]|0;c[p>>2]=f}c[p>>2]=f+-1}s=q+20|0;if((c[s>>2]|0)==-1)return 1;r=c[d+432>>2]|0;n=c[e>>2]|0;g=c[(c[d+344>>2]|0)+24>>2]|0;e=c[d+424>>2]|0;p=1<>2]|0;while(1){if(b[n+(c[r+(f<<2)>>2]<<1)>>1]|0)break;f=f+-1|0;if(!f){f=0;break}}m=q+124+(g<<2)|0;j=q+188|0;l=p&65535;k=e&65535;g=(c[d+412>>2]|0)+-1|0;a:while(1){i=(c[m>>2]|0)+(g*3|0)|0;if((g|0)>=(f|0)?Ku(d,i)|0:0){t=38;break}g=g+1|0;h=n+(c[r+(g<<2)>>2]<<1)|0;b:do if(!(b[h>>1]|0)){while(1){if(Ku(d,i+1|0)|0)break;if((g|0)>=(c[o>>2]|0)){t=35;break a}i=i+3|0;g=g+1|0;h=n+(c[r+(g<<2)>>2]<<1)|0;if(b[h>>1]|0){t=26;break b}}if(!(Ku(d,j)|0)){b[h>>1]=l;break}else{b[h>>1]=k;break}}else t=26;while(0);do if((t|0)==26){t=0;if(Ku(d,i+2|0)|0){q=b[h>>1]|0;i=q<<16>>16;if(q<<16>>16<0){b[h>>1]=e+i;break}else{b[h>>1]=p+i;break}}}while(0);if((g|0)>=(c[o>>2]|0)){t=38;break}}if((t|0)==35){t=c[d>>2]|0;c[t+20>>2]=117;Tb[c[t+4>>2]&63](d,-1);c[s>>2]=-1;return 1}else if((t|0)==38)return 1;return 0}function Ju(e,f){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;v=c[e+468>>2]|0;p=e+280|0;if(c[p>>2]|0){q=v+56|0;g=c[q>>2]|0;if(!g){if(!(Fb[c[(c[e+464>>2]|0)+8>>2]&127](e)|0)){u=c[e>>2]|0;c[u+20>>2]=25;Rb[c[u>>2]&255](e)}k=e+340|0;if((c[k>>2]|0)>0){m=e+224|0;i=e+412|0;l=e+436|0;h=e+420|0;j=0;do{g=c[e+344+(j<<2)>>2]|0;if(c[m>>2]|0)if(!(c[i>>2]|0)){if(!(c[h>>2]|0))r=10}else r=13;else r=10;do if((r|0)==10){r=0;n=c[v+60+(c[g+20>>2]<<2)>>2]|0;o=n+64|0;do{a[n>>0]=0;n=n+1|0}while((n|0)<(o|0));c[v+24+(j<<2)>>2]=0;c[v+40+(j<<2)>>2]=0;if(!(c[m>>2]|0))if(!(c[l>>2]|0))break;else{r=13;break}else if(!(c[i>>2]|0))break;else{r=13;break}}while(0);if((r|0)==13){r=0;hP(c[v+124+(c[g+24>>2]<<2)>>2]|0,0,256)|0}j=j+1|0}while((j|0)<(c[k>>2]|0))}c[v+12>>2]=0;c[v+16>>2]=0;c[v+20>>2]=-16;g=c[p>>2]|0;c[q>>2]=g}c[q>>2]=g+-1}u=v+20|0;if((c[u>>2]|0)==-1)return 1;o=c[e+432>>2]|0;s=e+368|0;if((c[s>>2]|0)<=0)return 1;t=e+436|0;q=v+188|0;r=0;a:while(1){p=c[f+(r<<2)>>2]|0;l=c[e+372+(r<<2)>>2]|0;n=c[e+344+(l<<2)>>2]|0;j=c[n+20>>2]|0;i=v+60+(j<<2)|0;k=v+40+(l<<2)|0;g=(c[i>>2]|0)+(c[k>>2]|0)|0;if(!(Ku(e,g)|0)){c[k>>2]=0;g=c[v+24+(l<<2)>>2]|0}else{m=Ku(e,g+1|0)|0;h=g+2+m|0;g=Ku(e,h)|0;if(g){h=(c[i>>2]|0)+20|0;if(!(Ku(e,h)|0))i=h;else while(1){g=g<<1;if((g|0)==32768){r=26;break a}h=h+1|0;if(!(Ku(e,h)|0)){i=h;break}}}else{g=0;i=h}do if((g|0)>=(1<<(d[e+232+j>>0]|0)>>1|0)){h=m<<2;if((g|0)>(1<<(d[e+248+j>>0]|0)>>1|0)){h=h+12|0;break}else{h=h+4|0;break}}else h=0;while(0);c[k>>2]=h;i=i+14|0;h=g>>1;if(h)do{k=(Ku(e,i)|0)==0;g=(k?0:h)|g;h=h>>1}while((h|0)!=0);l=v+24+(l<<2)|0;g=(c[l>>2]|0)+((m|0)==0?g+1|0:~g)|0;c[l>>2]=g}b[p>>1]=g;b:do if(c[t>>2]|0){l=c[n+24>>2]|0;m=v+124+(l<<2)|0;l=e+264+l|0;h=0;while(1){i=(c[m>>2]|0)+(h*3|0)|0;if(Ku(e,i)|0)break b;g=h+1|0;if(!(Ku(e,i+1|0)|0)){j=g;while(1){if((j|0)>=(c[t>>2]|0)){r=42;break a}h=i+3|0;g=j+1|0;if(!(Ku(e,i+4|0)|0)){j=g;i=h}else break}}else{j=h;h=i}k=Ku(e,q)|0;i=h+2|0;h=Ku(e,i)|0;if(h){if(Ku(e,i)|0){h=h<<1;i=(c[m>>2]|0)+((j|0)<(d[l>>0]|0|0)?189:217)|0;if(Ku(e,i)|0)do{h=h<<1;if((h|0)==32768){r=49;break a}i=i+1|0}while((Ku(e,i)|0)!=0)}j=i+14|0;i=h>>1;if(i)do{n=(Ku(e,j)|0)==0;h=(n?0:i)|h;i=i>>1}while((i|0)!=0)}else h=0;b[p+(c[o+(g<<2)>>2]<<1)>>1]=(k|0)==0?h+1|0:h^65535;if((g|0)<(c[t>>2]|0))h=g;else break}}while(0);r=r+1|0;if((r|0)>=(c[s>>2]|0)){r=56;break}}if((r|0)==26){f=c[e>>2]|0;c[f+20>>2]=117;Tb[c[f+4>>2]&63](e,-1);c[u>>2]=-1;return 1}else if((r|0)==42){f=c[e>>2]|0;c[f+20>>2]=117;Tb[c[f+4>>2]&63](e,-1);c[u>>2]=-1;return 1}else if((r|0)==49){f=c[e>>2]|0;c[f+20>>2]=117;Tb[c[f+4>>2]&63](e,-1);c[u>>2]=-1;return 1}else if((r|0)==56)return 1;return 0}function Ku(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;h=c[b+468>>2]|0;m=h+16|0;f=c[m>>2]|0;k=h+20|0;if((f|0)<32768){j=b+440|0;i=b+24|0;h=h+12|0;f=c[k>>2]|0;while(1){g=f+-1|0;c[k>>2]=g;if((f|0)<1){if(!(c[j>>2]|0)){f=c[i>>2]|0;g=f+4|0;if((c[g>>2]|0)==0?(Fb[c[f+12>>2]&127](b)|0)==0:0){l=c[b>>2]|0;c[l+20>>2]=25;Rb[c[l>>2]&255](b)}c[g>>2]=(c[g>>2]|0)+-1;l=c[f>>2]|0;c[f>>2]=l+1;l=a[l>>0]|0;f=l&255;a:do if(l<<24>>24==-1){b:while(1){f=c[i>>2]|0;g=f+4|0;if((c[g>>2]|0)==0?(Fb[c[f+12>>2]&127](b)|0)==0:0){l=c[b>>2]|0;c[l+20>>2]=25;Rb[c[l>>2]&255](b)}c[g>>2]=(c[g>>2]|0)+-1;l=c[f>>2]|0;c[f>>2]=l+1;f=a[l>>0]|0;switch(f<<24>>24){case 0:{f=255;break a}case -1:break;default:break b}}c[j>>2]=f&255;f=0}while(0);g=c[k>>2]|0}else f=0;c[h>>2]=c[h>>2]<<8|f;f=g+8|0;c[k>>2]=f;if((g|0)<-8){f=g+9|0;c[k>>2]=f;if(!f){c[m>>2]=32768;g=0}else g=f}else g=f}f=c[m>>2]<<1;c[m>>2]=f;if((f|0)<32768)f=g;else break}}else{g=c[k>>2]|0;h=h+12|0}b=d[e>>0]|0;j=c[3360+((b&127)<<2)>>2]|0;k=j>>8;l=j>>16;i=f-l|0;c[m>>2]=i;g=i<>2]|0;if((f|0)>=(g|0)){c[h>>2]=f-g;c[m>>2]=l;f=b&128;if((i|0)<(l|0)){a[e>>0]=f^k;e=b;e=e>>7;return e|0}else{a[e>>0]=f^j;e=b^128;e=e>>7;return e|0}}if((i|0)>=32768){e=b;e=e>>7;return e|0}f=b&128;if((i|0)<(l|0)){a[e>>0]=f^j;e=b^128;e=e>>7;return e|0}else{a[e>>0]=f^k;e=b;e=e>>7;return e|0}return 0}function Lu(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;c[a+4>>2]=0;if((b|0)!=90){e=c[a>>2]|0;c[e+20>>2]=13;c[e+24>>2]=90;c[(c[a>>2]|0)+28>>2]=b;Rb[c[c[a>>2]>>2]&255](a)}if((d|0)==488)d=a;else{e=c[a>>2]|0;c[e+20>>2]=22;c[e+24>>2]=488;c[(c[a>>2]|0)+28>>2]=d;Rb[c[c[a>>2]>>2]&255](a);d=a}f=c[a>>2]|0;b=a+12|0;e=c[b>>2]|0;hP(a+4|0,0,484)|0;c[a>>2]=f;c[b>>2]=e;c[a+16>>2]=1;Mu(d);c[a+8>>2]=0;c[a+24>>2]=0;c[a+312>>2]=0;d=a+164|0;b=d+48|0;do{c[d>>2]=0;d=d+4|0}while((d|0)<(b|0));Nu(a);Ou(a);c[a+20>>2]=200;return}function Mu(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;k=zb;zb=zb+16|0;j=k;i=k+8|0;g=k+12|0;f=b+4|0;c[f>>2]=0;d=pu(b)|0;c[i>>2]=d;e=ju(b,84)|0;if(!e){qu(b);h=c[b>>2]|0;c[h+20>>2]=56;c[h+24>>2]=0;Rb[c[c[b>>2]>>2]&255](b)}c[e>>2]=33;c[e+4>>2]=34;c[e+8>>2]=9;c[e+12>>2]=10;c[e+16>>2]=39;c[e+20>>2]=40;c[e+24>>2]=121;c[e+28>>2]=21;c[e+32>>2]=22;c[e+36>>2]=47;c[e+40>>2]=122;c[e+48>>2]=1e9;h=e+44|0;c[h>>2]=d;c[e+56>>2]=0;c[e+64>>2]=0;c[e+52>>2]=0;c[e+60>>2]=0;c[e+68>>2]=0;c[e+72>>2]=0;c[e+76>>2]=84;c[f>>2]=e;b=Ka(47483)|0;if(!b){zb=k;return}a[g>>0]=120;c[j>>2]=i;c[j+4>>2]=g;if((_z(b,47491,j)|0)>0){switch(a[g>>0]|0){case 77:case 109:{b=(c[i>>2]|0)*1e3|0;c[i>>2]=b;break}default:b=c[i>>2]|0}c[h>>2]=b*1e3}zb=k;return}function Nu(a){a=a|0;var b=0,d=0;d=Ib[c[c[a+4>>2]>>2]&63](a,0,172)|0;b=a+464|0;c[b>>2]=d;c[d>>2]=123;c[d+4>>2]=85;c[d+8>>2]=86;c[d+28>>2]=87;c[d+96>>2]=0;c[d+100>>2]=0;c[d+36>>2]=87;c[d+104>>2]=0;c[d+40>>2]=87;c[d+108>>2]=0;c[d+44>>2]=87;c[d+112>>2]=0;c[d+48>>2]=87;c[d+116>>2]=0;c[d+52>>2]=87;c[d+120>>2]=0;c[d+56>>2]=87;c[d+124>>2]=0;c[d+60>>2]=87;c[d+128>>2]=0;c[d+64>>2]=87;c[d+132>>2]=0;c[d+68>>2]=87;c[d+136>>2]=0;c[d+72>>2]=87;c[d+140>>2]=0;c[d+76>>2]=87;c[d+144>>2]=0;c[d+80>>2]=87;c[d+148>>2]=0;c[d+84>>2]=87;c[d+152>>2]=0;c[d+156>>2]=0;c[d+92>>2]=87;c[d+160>>2]=0;c[d+32>>2]=88;c[d+88>>2]=88;b=c[b>>2]|0;c[a+216>>2]=0;c[a+144>>2]=0;c[a+440>>2]=0;c[b+12>>2]=0;c[b+16>>2]=0;c[b+24>>2]=0;c[b+164>>2]=0;return}function Ou(a){a=a|0;var b=0;b=Ib[c[c[a+4>>2]>>2]&63](a,0,28)|0;c[a+460>>2]=b;c[b>>2]=89;c[b+4>>2]=124;c[b+8>>2]=125;c[b+12>>2]=126;c[b+16>>2]=0;c[b+20>>2]=0;c[b+24>>2]=1;return}function Pu(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,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0;K=a+460|0;b=c[K>>2]|0;I=b+20|0;if(c[I>>2]|0){a=2;return a|0}L=a+464|0;J=b+24|0;H=a+340|0;s=b+16|0;t=a+32|0;r=a+212|0;u=a+28|0;D=a+36|0;x=a+316|0;y=a+320|0;q=a+216|0;v=a+220|0;E=a+224|0;z=a+324|0;A=a+328|0;p=a+428|0;B=a+432|0;w=a+436|0;n=a+416|0;F=a+332|0;o=a+412|0;l=a+420|0;m=a+424|0;a:while(1){b=Fb[c[(c[L>>2]|0)+4>>2]&127](a)|0;switch(b|0){case 2:{k=58;break a}case 1:break;default:{k=63;break a}}b:do switch(c[J>>2]|0){case 0:{if(!(c[s>>2]|0)){j=c[a>>2]|0;c[j+20>>2]=36;Rb[c[j>>2]&255](a)}if(c[H>>2]|0){k=57;break a}break}case 1:{if(!((c[t>>2]|0)<=65500?(c[u>>2]|0)<=65500:0)){j=c[a>>2]|0;c[j+20>>2]=42;c[j+24>>2]=65500;Rb[c[c[a>>2]>>2]&255](a)}b=c[r>>2]|0;if((b+-8|0)>>>0>4){j=c[a>>2]|0;c[j+20>>2]=16;c[j+24>>2]=b;Rb[c[c[a>>2]>>2]&255](a)}b=c[D>>2]|0;if((b|0)>10){j=c[a>>2]|0;c[j+20>>2]=27;c[j+24>>2]=b;c[(c[a>>2]|0)+28>>2]=10;Rb[c[c[a>>2]>>2]&255](a);b=c[D>>2]|0}c[x>>2]=1;c[y>>2]=1;if((b|0)>0){f=1;h=1;i=0;j=c[q>>2]|0;while(1){e=j+8|0;d=c[e>>2]|0;g=j+12|0;if((d+-1|0)>>>0<=3?(G=c[g>>2]|0,(G+-1|0)>>>0<=3):0)e=G;else{h=c[a>>2]|0;c[h+20>>2]=19;Rb[c[h>>2]&255](a);h=c[x>>2]|0;d=c[e>>2]|0;f=c[y>>2]|0;e=c[g>>2]|0;b=c[D>>2]|0}h=(h|0)>(d|0)?h:d;c[x>>2]=h;f=(f|0)>(e|0)?f:e;c[y>>2]=f;i=i+1|0;if((i|0)>=(b|0)){d=b;break}else j=j+88|0}}else d=b;c:do if(!(c[v>>2]|0)){if(c[E>>2]|0?c[H>>2]|0:0){k=22;break}do switch(c[n>>2]|0){case 0:{c[p>>2]=1;c[B>>2]=2064;c[w>>2]=0;b=1;break c}case 3:{c[p>>2]=2;c[B>>2]=3280;c[w>>2]=3;b=2;break c}case 8:{c[p>>2]=3;c[B>>2]=3168;c[w>>2]=8;b=3;break c}case 15:{c[p>>2]=4;c[B>>2]=3040;c[w>>2]=15;b=4;break c}case 24:{c[p>>2]=5;c[B>>2]=2864;c[w>>2]=24;b=5;break c}case 35:{c[p>>2]=6;c[B>>2]=2656;c[w>>2]=35;b=6;break c}case 48:{c[p>>2]=7;c[B>>2]=2384;c[w>>2]=48;b=7;break c}case 63:{c[p>>2]=8;c[B>>2]=2064;c[w>>2]=63;b=8;break c}case 80:{c[p>>2]=9;c[B>>2]=2064;c[w>>2]=63;b=9;break c}case 99:{c[p>>2]=10;c[B>>2]=2064;c[w>>2]=63;b=10;break c}case 120:{c[p>>2]=11;c[B>>2]=2064;c[w>>2]=63;b=11;break c}case 143:{c[p>>2]=12;c[B>>2]=2064;c[w>>2]=63;b=12;break c}case 168:{c[p>>2]=13;c[B>>2]=2064;c[w>>2]=63;b=13;break c}case 195:{c[p>>2]=14;c[B>>2]=2064;c[w>>2]=63;b=14;break c}case 224:{c[p>>2]=15;c[B>>2]=2064;c[w>>2]=63;b=15;break c}case 255:{c[p>>2]=16;c[B>>2]=2064;c[w>>2]=63;b=16;break c}default:{b=c[a>>2]|0;c[b+20>>2]=17;c[b+24>>2]=c[o>>2];c[(c[a>>2]|0)+28>>2]=c[n>>2];c[(c[a>>2]|0)+32>>2]=c[l>>2];c[(c[a>>2]|0)+36>>2]=c[m>>2];Rb[c[c[a>>2]>>2]&255](a);b=c[p>>2]|0;d=c[D>>2]|0;break c}}while(0)}else k=22;while(0);if((k|0)==22){c[p>>2]=8;c[B>>2]=2064;c[w>>2]=63;b=8}c[z>>2]=b;c[A>>2]=b;if((d|0)>0){d=0;e=c[q>>2]|0;while(1){c[e+36>>2]=b;c[e+40>>2]=b;j=e+8|0;k=C(c[j>>2]|0,c[u>>2]|0)|0;c[e+28>>2]=du(k,C(c[x>>2]|0,b)|0)|0;k=e+12|0;i=C(c[k>>2]|0,c[t>>2]|0)|0;c[e+32>>2]=du(i,C(c[p>>2]|0,c[y>>2]|0)|0)|0;j=C(c[j>>2]|0,c[u>>2]|0)|0;c[e+44>>2]=du(j,c[x>>2]|0)|0;k=C(c[k>>2]|0,c[t>>2]|0)|0;c[e+48>>2]=du(k,c[y>>2]|0)|0;c[e+52>>2]=1;c[e+80>>2]=0;d=d+1|0;if((d|0)>=(c[D>>2]|0))break;b=c[p>>2]|0;e=e+88|0}b=c[p>>2]|0}c[F>>2]=du(c[t>>2]|0,C(b,c[y>>2]|0)|0)|0;b=c[H>>2]|0;if((b|0)>=(c[D>>2]|0)?(c[E>>2]|0)==0:0){c[(c[K>>2]|0)+16>>2]=0;k=50;break b}c[(c[K>>2]|0)+16>>2]=1;k=50;break}default:{b=c[H>>2]|0;k=50}}while(0);if((k|0)==50){k=0;if(b|0){k=52;break}c[J>>2]=2}}if((k|0)==52){c[J>>2]=0;a=1;return a|0}else if((k|0)==57){Ru(a);a=1;return a|0}else if((k|0)==58){c[I>>2]=1;if(!(c[J>>2]|0)){d=a+152|0;b=c[a+144>>2]|0;if((c[d>>2]|0)<=(b|0)){a=2;return a|0}c[d>>2]=b;a=2;return a|0}else{if(!(c[(c[L>>2]|0)+16>>2]|0)){a=2;return a|0}L=c[a>>2]|0;c[L+20>>2]=62;Rb[c[L>>2]&255](a);a=2;return a|0}}else if((k|0)==63)return b|0;return 0}function Qu(a){a=a|0;var b=0;b=c[a+460>>2]|0;c[b>>2]=89;c[b+16>>2]=0;c[b+20>>2]=0;c[b+24>>2]=1;Rb[c[(c[a>>2]|0)+16>>2]&255](a);Rb[c[c[a+464>>2]>>2]&255](a);c[a+160>>2]=0;return}function Ru(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;h=a+340|0;b=c[h>>2]|0;if((b|0)!=1){if((b+-1|0)>>>0>3){g=c[a>>2]|0;c[g+20>>2]=27;c[g+24>>2]=b;c[(c[a>>2]|0)+28>>2]=4;Rb[c[c[a>>2]>>2]&255](a)}f=a+428|0;c[a+360>>2]=du(c[a+28>>2]|0,C(c[f>>2]|0,c[a+316>>2]|0)|0)|0;c[a+364>>2]=du(c[a+32>>2]|0,C(c[f>>2]|0,c[a+320>>2]|0)|0)|0;f=a+368|0;c[f>>2]=0;if((c[h>>2]|0)<=0){g=a+468|0;g=c[g>>2]|0;g=c[g>>2]|0;Rb[g&255](a);g=a+452|0;h=c[g>>2]|0;h=c[h>>2]|0;Rb[h&255](a);g=c[g>>2]|0;g=g+4|0;g=c[g>>2]|0;h=a+460|0;h=c[h>>2]|0;c[h>>2]=g;return}e=0;d=0;while(1){g=c[a+344+(d<<2)>>2]|0;k=c[g+8>>2]|0;c[g+56>>2]=k;j=c[g+12>>2]|0;c[g+60>>2]=j;b=C(j,k)|0;c[g+64>>2]=b;c[g+68>>2]=C(c[g+36>>2]|0,k)|0;i=((c[g+28>>2]|0)>>>0)%(k>>>0)|0;c[g+72>>2]=(i|0)==0?k:i;i=((c[g+32>>2]|0)>>>0)%(j>>>0)|0;c[g+76>>2]=(i|0)==0?j:i;if((b+e|0)>10){k=c[a>>2]|0;c[k+20>>2]=14;Rb[c[k>>2]&255](a)}if((b|0)>0)while(1){k=c[f>>2]|0;c[f>>2]=k+1;c[a+372+(k<<2)>>2]=d;if((b|0)>1)b=b+-1|0;else break}d=d+1|0;b=c[h>>2]|0;if((d|0)>=(b|0))break;e=c[f>>2]|0}if((b|0)<=0){j=a+468|0;j=c[j>>2]|0;j=c[j>>2]|0;Rb[j&255](a);j=a+452|0;k=c[j>>2]|0;k=c[k>>2]|0;Rb[k&255](a);j=c[j>>2]|0;j=j+4|0;j=c[j>>2]|0;k=a+460|0;k=c[k>>2]|0;c[k>>2]=j;return}}else{b=c[a+344>>2]|0;c[a+360>>2]=c[b+28>>2];k=c[b+32>>2]|0;c[a+364>>2]=k;c[b+56>>2]=1;c[b+60>>2]=1;c[b+64>>2]=1;c[b+68>>2]=c[b+36>>2];c[b+72>>2]=1;j=c[b+12>>2]|0;k=(k>>>0)%(j>>>0)|0;c[b+76>>2]=(k|0)==0?j:k;c[a+368>>2]=1;c[a+372>>2]=0;b=1}g=a+4|0;f=0;do{d=c[a+344+(f<<2)>>2]|0;e=d+80|0;if(!(c[e>>2]|0)){d=c[d+16>>2]|0;b=a+164+(d<<2)|0;if(!(d>>>0<=3?(c[b>>2]|0)!=0:0)){k=c[a>>2]|0;c[k+20>>2]=54;c[k+24>>2]=d;Rb[c[c[a>>2]>>2]&255](a)}k=Ib[c[c[g>>2]>>2]&63](a,1,132)|0;fP(k|0,c[b>>2]|0,132)|0;c[e>>2]=k;b=c[h>>2]|0}f=f+1|0}while((f|0)<(b|0));j=a+468|0;j=c[j>>2]|0;j=c[j>>2]|0;Rb[j&255](a);j=a+452|0;k=c[j>>2]|0;k=c[k>>2]|0;Rb[k&255](a);j=c[j>>2]|0;j=j+4|0;j=c[j>>2]|0;k=a+460|0;k=c[k>>2]|0;c[k>>2]=j;return}function Su(a){a=a|0;Rb[c[(c[a+468>>2]|0)+8>>2]&255](a);c[c[a+460>>2]>>2]=89;return}function Tu(a){a=a|0;var b=0;b=c[a+464>>2]|0;c[a+216>>2]=0;c[a+144>>2]=0;c[a+440>>2]=0;c[b+12>>2]=0;c[b+16>>2]=0;c[b+24>>2]=0;c[b+164>>2]=0;return} +function sn(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0.0;m=zb;zb=zb+96|0;e=m+88|0;h=m+80|0;j=m+72|0;l=m+64|0;d=m;g=m+56|0;i=m+48|0;k=m+40|0;if(bn(d,a,9.999999747378752e-06)|0){n=+(b|0);f[g>>2]=n;f[g+4>>2]=0.0;f[i>>2]=n;n=+(c|0);f[i+4>>2]=n;f[k>>2]=0.0;f[k+4>>2]=n;tn(e,d,56324);tn(h,d,g);tn(j,d,i);tn(l,d,k);n=+(C(c,b)|0)*.0001;if(+un(e,h,j,l)>2];e=c+4|0;g=+f[e>>2];d=+f[b+32>>2]+(+f[b+24>>2]*h+ +f[b+28>>2]*g);f[a>>2]=(+f[b+8>>2]+(h*+f[b>>2]+g*+f[b+4>>2]))/d;f[a+4>>2]=(+f[b+20>>2]+(+f[b+12>>2]*+f[c>>2]+ +f[b+16>>2]*+f[e>>2]))/d;return}function un(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0.0,f=0,g=0,h=0,i=0.0,j=0.0,k=0,l=0,m=0;f=zb;zb=zb+48|0;l=f+32|0;m=f+24|0;k=f+16|0;h=f+8|0;g=f;xn(l,b,a);xn(m,c,a);xn(k,d,a);xn(h,b,c);xn(g,d,c);j=+yn(l,m);i=+yn(m,k);e=+yn(l,k);e=+zn(j,i,e,+yn(h,g));zb=f;return +e}function vn(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=+wn(a,b,c)>0.0;f=+wn(b,c,d)>0.0;c=+wn(c,d,a)>0.0;d=+wn(d,a,b)>0.0;d=(f?1:-1)+(e?1:-1)+(c?1:-1)+(d?1:-1)|0;return (((d|0)>-1?d:0-d|0)|0)==4|0}function wn(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0,e=0.0;d=+f[a>>2];e=+f[a+4>>2];return +((+f[b>>2]-d)*(+f[c+4>>2]-e)-(+f[b+4>>2]-e)*(+f[c>>2]-d))}function xn(a,b,c){a=a|0;b=b|0;c=c|0;f[a>>2]=+f[b>>2]-+f[c>>2];f[a+4>>2]=+f[b+4>>2]-+f[c+4>>2];return}function yn(a,b){a=a|0;b=b|0;return +(+t(+(+f[a>>2]*+f[b+4>>2]-+f[a+4>>2]*+f[b>>2]))*.5)}function zn(a,b,c,d){a=+a;b=+b;c=+c;d=+d;return +(+Bn(+An(a,b,c),d))}function An(a,b,c){a=+a;b=+b;c=+c;return +(+Bn(+Bn(a,b),c))}function Bn(a,b){a=+a;b=+b;return +(a>2]|0)-(c[i>>2]|0)>>2>>>0<(m*9|0)>>>0){y=bg(bg(WE(bg(bg(bg(56880,31878)|0,31936)|0,35722)|0,119)|0,35729)|0,32068)|0;PE(z,y+(c[(c[y>>2]|0)+-12>>2]|0)|0);x=cG(z,57584)|0;x=Hb[c[(c[x>>2]|0)+28>>2]&63](x,10)|0;dG(z);XE(y,x)|0;TE(y)|0;va()}x=c[j>>2]|0;y=x;if((c[j+4>>2]|0)-x>>2>>>0>>0){x=bg(bg(WE(bg(bg(bg(56880,32118)|0,31936)|0,35722)|0,120)|0,35729)|0,32168)|0;PE(z,x+(c[(c[x>>2]|0)+-12>>2]|0)|0);u=cG(z,57584)|0;u=Hb[c[(c[u>>2]|0)+28>>2]&63](u,10)|0;dG(z);XE(x,u)|0;TE(x)|0;va()}if((c[k+4>>2]|0)-(c[k>>2]|0)>>3>>>0>>0){x=bg(bg(WE(bg(bg(bg(56880,32210)|0,31936)|0,35722)|0,121)|0,35729)|0,32272)|0;PE(z,x+(c[(c[x>>2]|0)+-12>>2]|0)|0);u=cG(z,57584)|0;u=Hb[c[(c[u>>2]|0)+28>>2]&63](u,10)|0;dG(z);XE(x,u)|0;TE(x)|0;va()}if((e|0)>=4){c[w>>2]=1234;l=+pi(l);x=Hj(o,e)|0;zl(y,e,0);Al(y,e,e,w);o=y+4|0;q=y+8|0;r=y+12|0;s=(h|0)>0;u=0;t=0;while(1){if(!((u|0)<(m|0)&(t|0)<(n|0)))break;Al(y,e,4,w);D=c[y>>2]<<1;C=c[o>>2]<<1;B=c[q>>2]<<1;j=c[r>>2]<<1;do if(Dn(b+(D<<2)|0,b+(C<<2)|0,b+(B<<2)|0,b+(j<<2)|0,d+(D<<2)|0,d+(C<<2)|0,d+(B<<2)|0,d+(j<<2)|0)|0?(v=u*9|0,j=c[y>>2]<<1,B=c[o>>2]<<1,C=c[q>>2]<<1,D=c[r>>2]<<1,En((c[i>>2]|0)+(v<<2)|0,b+(j<<2)|0,b+(B<<2)|0,b+(C<<2)|0,b+(D<<2)|0,d+(j<<2)|0,d+(B<<2)|0,d+(C<<2)|0,d+(D<<2)|0)|0):0){if(s?!(Fn((c[i>>2]|0)+(v<<2)|0,g,h)|0):0){j=u;break}j=u+1|0}else j=u;while(0);u=j;t=t+1|0}l=1.0/l;if(u){j=c[k>>2]|0;o=0;while(1){if((o|0)>=(u|0))break;f[j+(o<<3)>>2]=0.0;c[j+(o<<3)+4>>2]=o;o=o+1|0}t=0;while(1){if(!((u|0)>2&(t|0)<(e|0)))break;q=(Hj(x,e-t|0)|0)+t|0;j=c[k>>2]|0;s=0;while(1){if((s|0)==(u|0))break;r=(c[i>>2]|0)+((c[j+(s<<3)+4>>2]|0)*9<<2)|0;o=t;while(1){if((o|0)>=(q|0))break;j=c[y+(o<<2)>>2]<<1;p=+Hn(r,b+(j<<2)|0,d+(j<<2)|0,l);j=c[k>>2]|0;D=j+(s<<3)|0;f[D>>2]=p+ +f[D>>2];o=o+1|0}s=s+1|0}Gn(z,j,u);t=q;u=u>>1}o=c[k>>2]|0;q=1;p=+f[o>>2];j=c[o+4>>2]|0;while(1){if((q|0)>=(u|0))break;l=+f[o+(q<<3)>>2];if(l>2]|0;else l=p;q=q+1|0;p=l}$m(a,(c[i>>2]|0)+(j*9<<2)|0);In(a);j=1}else j=0}else j=0;zb=A;return j|0}function Dn(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0;i=+wn(a,b,c)>0.0;if((!(i^+wn(e,f,g)>0.0)?(i=+wn(b,c,d)>0.0,!(i^+wn(f,g,h)>0.0)):0)?(i=+wn(c,d,a)>0.0,!(i^+wn(g,h,e)>0.0)):0){a=+wn(d,a,b)>0.0;a=a^+wn(h,e,f)>0.0^1}else a=0;return a|0}function En(a,b,c,d,e,g,h,i,j){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;x=zb;zb=zb+128|0;k=x;l=x+124|0;m=x+120|0;n=x+112|0;o=x+104|0;p=x+96|0;q=x+88|0;r=x+80|0;s=x+72|0;t=x+64|0;u=x+56|0;v=x+48|0;w=x+40|0;if((On(p,q,r,s,l,n,b,c,d,e)|0?On(t,u,v,w,m,o,g,h,i,j)|0:0)?Pn(k,p,q,r,s,t,u,v,w)|0:0){Qn(a,k,+f[l>>2],n,+f[m>>2],o);a=1}else a=0;zb=x;return a|0}function Fn(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;n=zb;zb=zb+48|0;f=n+32|0;g=n+24|0;h=n+16|0;j=n+8|0;k=n;a:do if((c|0)>=2){i=b+8|0;d=b+16|0;tn(f,a,b);tn(g,a,i);tn(h,a,d);Mn(j,f);Mn(k,g);if(Nn(b,i,d,f,g,h)|0){l=3;m=b;e=i;while(1){if((l|0)>=(c|0))break;m=m+8|0;e=e+8|0;d=d+8|0;tn(f,a,d);if(!(Nn(m,e,d,g,h,f)|0)){d=0;break a}else{p=h;o=g;l=l+1|0;h=f;g=p;f=o}}if(Nn(e,d,b,g,h,j)|0)d=Nn(d,b,i,h,j,k)|0;else d=0}else d=0}else d=1;while(0);zb=n;return d|0}function Gn(a,b,c){a=a|0;b=b|0;c=c|0;Ln(a,b,c,(c&1)+-1+((c|0)/2|0)|0);return}function Hn(a,b,c,d){a=a|0;b=b|0;c=c|0;d=+d;var e=0,g=0,h=0,i=0;e=zb;zb=zb+16|0;i=e+8|0;g=e;h=i+4|0;fn(i,h,a,+f[b>>2],+f[b+4>>2]);f[g>>2]=+f[i>>2]-+f[c>>2];f[g+4>>2]=+f[h>>2]-+f[c+4>>2];d=+Jn(g,d);zb=e;return +d}function In(a){a=a|0;var b=0,c=0.0,d=0;b=a+32|0;c=1.0/+f[b>>2];f[a>>2]=+f[a>>2]*c;d=a+4|0;f[d>>2]=c*+f[d>>2];d=a+8|0;f[d>>2]=c*+f[d>>2];d=a+12|0;f[d>>2]=c*+f[d>>2];d=a+16|0;f[d>>2]=c*+f[d>>2];d=a+20|0;f[d>>2]=c*+f[d>>2];d=a+24|0;f[d>>2]=c*+f[d>>2];a=a+28|0;f[a>>2]=c*+f[a>>2];f[b>>2]=1.0;return}function Jn(a,b){a=a|0;b=+b;return +(+Kn(+f[a>>2],+f[a+4>>2],b))}function Kn(a,b,c){a=+a;b=+b;c=+c;return +(+A(+((a*a+b*b)*c+1.0)))}function Ln(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var g=0,h=0.0,i=0,j=0.0,k=0,l=0.0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;s=zb;zb=zb+16|0;g=s;if((d|0)<=0){r=bg(bg(WE(bg(bg(bg(56880,33951)|0,33980)|0,35722)|0,82)|0,35729)|0,34091)|0;PE(g,r+(c[(c[r>>2]|0)+-12>>2]|0)|0);q=cG(g,57584)|0;q=Hb[c[(c[q>>2]|0)+28>>2]&63](q,10)|0;dG(g);XE(r,q)|0;TE(r)|0;va()}if((e|0)<=0){r=bg(bg(WE(bg(bg(bg(56880,34110)|0,33980)|0,35722)|0,83)|0,35729)|0,34139)|0;PE(g,r+(c[(c[r>>2]|0)+-12>>2]|0)|0);q=cG(g,57584)|0;q=Hb[c[(c[q>>2]|0)+28>>2]&63](q,10)|0;dG(g);XE(r,q)|0;TE(r)|0;va()}r=e+-1|0;o=b+(r<<3)|0;q=b+(r<<3)+4|0;p=0;n=d+-1|0;while(1){if((p|0)>=(n|0))break;l=+f[o>>2];m=c[q>>2]|0;g=p;d=n;do{while(1){k=b+(g<<3)|0;j=+f[k>>2];if(!(j>2]|0)>=(m|0))break}g=g+1|0}while(1){i=b+(d<<3)|0;h=+f[i>>2];if(!(l=(c[b+(d<<3)+4>>2]|0))break}d=d+-1|0}if((g|0)<=(d|0)){f[k>>2]=h;f[i>>2]=j;t=b+(g<<3)+4|0;k=b+(d<<3)+4|0;i=c[t>>2]|0;c[t>>2]=c[k>>2];c[k>>2]=i;g=g+1|0;d=d+-1|0}}while((g|0)<=(d|0));p=(d|0)<(r|0)?g:p;n=(g|0)<(e|0)?n:d}b=o;e=c[b+4>>2]|0;t=a;c[t>>2]=c[b>>2];c[t+4>>2]=e;zb=s;return}function Mn(a,b){a=a|0;b=b|0;var d=0,e=0;e=b;d=c[e+4>>2]|0;b=a;c[b>>2]=c[e>>2];c[b+4>>2]=d;return}function Nn(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;c=+wn(a,b,c)>0.0;return c^+wn(d,e,f)>0.0^1|0}function On(a,b,c,d,e,g,h,i,j,k){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;var l=0.0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,v=0,w=0,x=0,y=0;m=(+f[h>>2]+ +f[i>>2]+ +f[j>>2]+ +f[k>>2])*.25;f[g>>2]=m;y=h+4|0;x=i+4|0;w=j+4|0;v=k+4|0;n=(+f[y>>2]+ +f[x>>2]+ +f[w>>2]+ +f[v>>2])*.25;f[g+4>>2]=n;s=+f[h>>2]-m;t=+f[y>>2]-n;q=+f[i>>2]-m;r=+f[x>>2]-n;o=+f[j>>2]-m;p=+f[w>>2]-n;m=+f[k>>2]-m;n=+f[v>>2]-n;l=(+u(+(s*s+t*t))+ +u(+(q*q+r*r))+ +u(+(o*o+p*p))+ +u(+(m*m+n*n)))*.25;if(l==0.0)g=0;else{l=1.0/l*1.4142135623730951;f[e>>2]=l;f[a>>2]=s*l;f[a+4>>2]=t*+f[e>>2];f[b>>2]=q*+f[e>>2];f[b+4>>2]=r*+f[e>>2];f[c>>2]=o*+f[e>>2];f[c+4>>2]=p*+f[e>>2];f[d>>2]=m*+f[e>>2];f[d+4>>2]=n*+f[e>>2];g=1}return g|0}function Pn(a,b,c,d,e,f,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0;j=zb;zb=zb+288|0;k=j;Rn(k,b,c,d,e,f,g,h,i);if(Sn(a,k)|0)a=!(+t(+(+nn(a)))<1.0e-05);else a=0;zb=j;return a|0}function Qn(a,b,c,d,e,g){a=a|0;b=b|0;c=+c;d=d|0;e=+e;g=g|0;var h=0,i=0.0,j=0,k=0,l=0,m=0.0,n=0.0,o=0.0,p=0,q=0.0,r=0.0;l=b+24|0;o=+f[l>>2];q=+f[g>>2];k=b+28|0;n=+f[k>>2];r=o*q+ +f[b>>2]/e;q=q*n+ +f[b+4>>2]/e;p=g+4|0;m=+f[p>>2];o=o*m+ +f[b+12>>2]/e;m=n*m+ +f[b+16>>2]/e;n=+f[d>>2]*c;h=d+4|0;i=+f[h>>2]*c;f[a>>2]=r*c;f[a+4>>2]=q*c;j=b+32|0;f[a+8>>2]=+f[j>>2]*+f[g>>2]+ +f[b+8>>2]/e-r*n-q*i;f[a+12>>2]=o*c;f[a+16>>2]=m*c;f[a+20>>2]=+f[j>>2]*+f[p>>2]+ +f[b+20>>2]/e-o*n-m*i;i=+f[l>>2]*c;f[a+24>>2]=i;e=+f[k>>2]*c;f[a+28>>2]=e;f[a+32>>2]=+f[j>>2]-i*+f[d>>2]-e*+f[h>>2];return}function Rn(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;ro(a,b,f);ro(a+72|0,c,g);ro(a+144|0,d,h);ro(a+216|0,e,i);return}function Sn(a,b){a=a|0;b=b|0;var c=0,d=0;d=zb;zb=zb+288|0;c=d;if(((((((Tn(c,b)|0?Un(c,b)|0:0)?Vn(c,b)|0:0)?Wn(c,b)|0:0)?Xn(c,b)|0:0)?Yn(c,b)|0:0)?Zn(c,b)|0:0)?_n(c,b)|0:0)b=$n(a,c)|0;else b=0;zb=d;return b|0}function Tn(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0;g=zb;zb=zb+32|0;d=g;f[d>>2]=+fo(b);c=b+36|0;f[d+4>>2]=+fo(c);f[d+8>>2]=+fo(b+72|0);f[d+12>>2]=+fo(b+108|0);f[d+16>>2]=+fo(b+144|0);f[d+20>>2]=+fo(b+180|0);f[d+24>>2]=+fo(b+216|0);f[d+28>>2]=+fo(b+252|0);e=po(d)|0;d=d+(e<<2)|0;if(+f[d>>2]==0.0)b=0;else{jo(b,b+(e*9<<2)|0);co(a,b,1.0/+u(+(+f[d>>2])));qo(a+36|0,c,63);b=1}zb=g;return b|0}function Un(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=zb;zb=zb+32|0;g=e;c=a+36|0;d=b+36|0;ho(c,a,d);m=a+72|0;ho(m,a,b+72|0);l=a+108|0;ho(l,a,b+108|0);k=a+144|0;ho(k,a,b+144|0);j=a+180|0;ho(j,a,b+180|0);i=a+216|0;ho(i,a,b+216|0);h=a+252|0;ho(h,a,b+252|0);f[g>>2]=+fo(c);f[g+4>>2]=+fo(m);f[g+8>>2]=+fo(l);f[g+12>>2]=+fo(k);f[g+16>>2]=+fo(j);f[g+20>>2]=+fo(i);f[g+24>>2]=+fo(h);a=oo(g)|0;b=g+(a<<2)|0;if(+f[b>>2]==0.0)b=0;else{m=a*9|0;jo(c,c+(m<<2)|0);jo(d,d+(m<<2)|0);co(c,c,1.0/+u(+(+f[b>>2])));b=1}zb=e;return b|0}function Vn(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0;e=zb;zb=zb+32|0;g=e;c=a+72|0;l=a+36|0;d=b+72|0;ho(c,l,d);k=a+108|0;ho(k,l,b+108|0);j=a+144|0;ho(j,l,b+144|0);i=a+180|0;ho(i,l,b+180|0);h=a+216|0;ho(h,l,b+216|0);a=a+252|0;ho(a,l,b+252|0);f[g>>2]=+fo(c);f[g+4>>2]=+fo(k);f[g+8>>2]=+fo(j);f[g+12>>2]=+fo(i);f[g+16>>2]=+fo(h);f[g+20>>2]=+fo(a);a=no(g)|0;b=g+(a<<2)|0;if(+f[b>>2]==0.0)b=0;else{l=a*9|0;jo(c,c+(l<<2)|0);jo(d,d+(l<<2)|0);co(c,c,1.0/+u(+(+f[b>>2])));b=1}zb=e;return b|0}function Wn(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0;e=zb;zb=zb+32|0;g=e;c=a+108|0;k=a+72|0;d=b+108|0;ho(c,k,d);j=a+144|0;ho(j,k,b+144|0);i=a+180|0;ho(i,k,b+180|0);h=a+216|0;ho(h,k,b+216|0);a=a+252|0;ho(a,k,b+252|0);f[g>>2]=+fo(c);f[g+4>>2]=+fo(j);f[g+8>>2]=+fo(i);f[g+12>>2]=+fo(h);f[g+16>>2]=+fo(a);a=mo(g)|0;b=g+(a<<2)|0;if(+f[b>>2]==0.0)b=0;else{k=a*9|0;jo(c,c+(k<<2)|0);jo(d,d+(k<<2)|0);co(c,c,1.0/+u(+(+f[b>>2])));b=1}zb=e;return b|0}function Xn(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0;e=zb;zb=zb+16|0;g=e;c=a+144|0;j=a+108|0;d=b+144|0;ho(c,j,d);i=a+180|0;ho(i,j,b+180|0);h=a+216|0;ho(h,j,b+216|0);a=a+252|0;ho(a,j,b+252|0);f[g>>2]=+fo(c);f[g+4>>2]=+fo(i);f[g+8>>2]=+fo(h);f[g+12>>2]=+fo(a);a=lo(g)|0;b=g+(a<<2)|0;if(+f[b>>2]==0.0)b=0;else{j=a*9|0;jo(c,c+(j<<2)|0);jo(d,d+(j<<2)|0);co(c,c,1.0/+u(+(+f[b>>2])));b=1}zb=e;return b|0}function Yn(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0;e=zb;zb=zb+16|0;g=e;c=a+180|0;i=a+144|0;d=b+180|0;ho(c,i,d);h=a+216|0;ho(h,i,b+216|0);a=a+252|0;ho(a,i,b+252|0);f[g>>2]=+fo(c);f[g+4>>2]=+fo(h);f[g+8>>2]=+fo(a);a=ko(g)|0;b=g+(a<<2)|0;if(+f[b>>2]==0.0)b=0;else{i=a*9|0;jo(c,c+(i<<2)|0);jo(d,d+(i<<2)|0);co(c,c,1.0/+u(+(+f[b>>2])));b=1}zb=e;return b|0}function Zn(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0;e=zb;zb=zb+16|0;g=e;c=a+216|0;h=a+180|0;d=b+216|0;ho(c,h,d);a=a+252|0;ho(a,h,b+252|0);f[g>>2]=+fo(c);f[g+4>>2]=+fo(a);a=io(g)|0;b=g+(a<<2)|0;if(+f[b>>2]==0.0)b=0;else{h=a*9|0;jo(c,c+(h<<2)|0);jo(d,d+(h<<2)|0);co(c,c,1.0/+u(+(+f[b>>2])));b=1}zb=e;return b|0}function _n(a,b){a=a|0;b=b|0;var c=0.0,d=0;d=a+252|0;ho(d,a+216|0,b+252|0);c=+fo(d);if(c==0.0)b=0;else{co(d,d,1.0/+u(+c));b=1}return b|0}function $n(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=zb;zb=zb+384|0;e=d+336|0;c=d;f[e>>2]=+ao(c,b,0);f[e+4>>2]=+ao(c+36|0,b,1);f[e+8>>2]=+ao(c+72|0,b,2);f[e+12>>2]=+ao(c+108|0,b,3);f[e+16>>2]=+ao(c+144|0,b,4);f[e+20>>2]=+ao(c+180|0,b,5);f[e+24>>2]=+ao(c+216|0,b,6);f[e+28>>2]=+ao(c+252|0,b,7);f[e+32>>2]=+ao(c+288|0,b,8);b=bo(e)|0;if(+f[e+(b<<2)>>2]==0.0)b=0;else{$m(a,c+(b*9<<2)|0);b=1}zb=d;return b|0}function ao(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0,e=0.0,g=0;co(a,b,-+f[b+(c<<2)>>2]);g=a+(c<<2)|0;f[g>>2]=+f[g>>2]+1.0;eo(a,b+36|0,-+f[b+(c+9<<2)>>2]);eo(a,b+72|0,-+f[b+(c+18<<2)>>2]);eo(a,b+108|0,-+f[b+(c+27<<2)>>2]);eo(a,b+144|0,-+f[b+(c+36<<2)>>2]);eo(a,b+180|0,-+f[b+(c+45<<2)>>2]);eo(a,b+216|0,-+f[b+(c+54<<2)>>2]);eo(a,b+252|0,-+f[b+(c+63<<2)>>2]);e=+fo(a);d=+u(+e);if(e==0.0)d=0.0;else co(a,a,1.0/d);return +d}function bo(a){a=a|0;var b=0;b=+f[a+4>>2]>+f[a>>2]&1;b=+f[a+8>>2]>+f[a+(b<<2)>>2]?2:b;b=+f[a+12>>2]>+f[a+(b<<2)>>2]?3:b;b=+f[a+16>>2]>+f[a+(b<<2)>>2]?4:b;b=+f[a+20>>2]>+f[a+(b<<2)>>2]?5:b;b=+f[a+24>>2]>+f[a+(b<<2)>>2]?6:b;b=+f[a+28>>2]>+f[a+(b<<2)>>2]?7:b;return (+f[a+32>>2]>+f[a+(b<<2)>>2]?8:b)|0}function co(a,b,c){a=a|0;b=b|0;c=+c;f[a>>2]=+f[b>>2]*c;f[a+4>>2]=+f[b+4>>2]*c;f[a+8>>2]=+f[b+8>>2]*c;f[a+12>>2]=+f[b+12>>2]*c;f[a+16>>2]=+f[b+16>>2]*c;f[a+20>>2]=+f[b+20>>2]*c;f[a+24>>2]=+f[b+24>>2]*c;f[a+28>>2]=+f[b+28>>2]*c;f[a+32>>2]=+f[b+32>>2]*c;return}function eo(a,b,c){a=a|0;b=b|0;c=+c;var d=0;f[a>>2]=+f[a>>2]+ +f[b>>2]*c;d=a+4|0;f[d>>2]=+f[d>>2]+ +f[b+4>>2]*c;d=a+8|0;f[d>>2]=+f[d>>2]+ +f[b+8>>2]*c;d=a+12|0;f[d>>2]=+f[d>>2]+ +f[b+12>>2]*c;d=a+16|0;f[d>>2]=+f[d>>2]+ +f[b+16>>2]*c;d=a+20|0;f[d>>2]=+f[d>>2]+ +f[b+20>>2]*c;d=a+24|0;f[d>>2]=+f[d>>2]+ +f[b+24>>2]*c;d=a+28|0;f[d>>2]=+f[d>>2]+ +f[b+28>>2]*c;a=a+32|0;f[a>>2]=+f[a>>2]+ +f[b+32>>2]*c;return}function fo(a){a=a|0;return +(+go(a,a))}function go(a,b){a=a|0;b=b|0;return +(+f[a>>2]*+f[b>>2]+ +f[a+4>>2]*+f[b+4>>2]+ +f[a+8>>2]*+f[b+8>>2]+ +f[a+12>>2]*+f[b+12>>2]+ +f[a+16>>2]*+f[b+16>>2]+ +f[a+20>>2]*+f[b+20>>2]+ +f[a+24>>2]*+f[b+24>>2]+ +f[a+28>>2]*+f[b+28>>2]+ +f[a+32>>2]*+f[b+32>>2])}function ho(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0;d=+go(c,b);f[a>>2]=+f[a>>2]-d*+f[b>>2];c=a+4|0;f[c>>2]=+f[c>>2]-d*+f[b+4>>2];c=a+8|0;f[c>>2]=+f[c>>2]-d*+f[b+8>>2];c=a+12|0;f[c>>2]=+f[c>>2]-d*+f[b+12>>2];c=a+16|0;f[c>>2]=+f[c>>2]-d*+f[b+16>>2];c=a+20|0;f[c>>2]=+f[c>>2]-d*+f[b+20>>2];c=a+24|0;f[c>>2]=+f[c>>2]-d*+f[b+24>>2];c=a+28|0;f[c>>2]=+f[c>>2]-d*+f[b+28>>2];a=a+32|0;f[a>>2]=+f[a>>2]-d*+f[b+32>>2];return}function io(a){a=a|0;return +f[a+4>>2]>+f[a>>2]|0}function jo(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;g=c[a>>2]|0;f=a+4|0;c[a>>2]=c[b>>2];d=b+4|0;c[b>>2]=g;g=c[f>>2]|0;e=a+8|0;c[f>>2]=c[d>>2];f=b+8|0;c[d>>2]=g;d=c[e>>2]|0;g=a+12|0;c[e>>2]=c[f>>2];e=b+12|0;c[f>>2]=d;f=c[g>>2]|0;d=a+16|0;c[g>>2]=c[e>>2];g=b+16|0;c[e>>2]=f;e=c[d>>2]|0;f=a+20|0;c[d>>2]=c[g>>2];d=b+20|0;c[g>>2]=e;g=c[f>>2]|0;e=a+24|0;c[f>>2]=c[d>>2];f=b+24|0;c[d>>2]=g;d=c[e>>2]|0;g=a+28|0;c[e>>2]=c[f>>2];e=b+28|0;c[f>>2]=d;f=c[g>>2]|0;d=a+32|0;c[g>>2]=c[e>>2];b=b+32|0;c[e>>2]=f;a=c[d>>2]|0;c[d>>2]=c[b>>2];c[b>>2]=a;return}function ko(a){a=a|0;var b=0;b=+f[a+4>>2]>+f[a>>2]&1;return (+f[a+8>>2]>+f[a+(b<<2)>>2]?2:b)|0}function lo(a){a=a|0;var b=0;b=+f[a+4>>2]>+f[a>>2]&1;b=+f[a+8>>2]>+f[a+(b<<2)>>2]?2:b;return (+f[a+12>>2]>+f[a+(b<<2)>>2]?3:b)|0}function mo(a){a=a|0;var b=0;b=+f[a+4>>2]>+f[a>>2]&1;b=+f[a+8>>2]>+f[a+(b<<2)>>2]?2:b;b=+f[a+12>>2]>+f[a+(b<<2)>>2]?3:b;return (+f[a+16>>2]>+f[a+(b<<2)>>2]?4:b)|0}function no(a){a=a|0;var b=0;b=+f[a+4>>2]>+f[a>>2]&1;b=+f[a+8>>2]>+f[a+(b<<2)>>2]?2:b;b=+f[a+12>>2]>+f[a+(b<<2)>>2]?3:b;b=+f[a+16>>2]>+f[a+(b<<2)>>2]?4:b;return (+f[a+20>>2]>+f[a+(b<<2)>>2]?5:b)|0}function oo(a){a=a|0;var b=0;b=+f[a+4>>2]>+f[a>>2]&1;b=+f[a+8>>2]>+f[a+(b<<2)>>2]?2:b;b=+f[a+12>>2]>+f[a+(b<<2)>>2]?3:b;b=+f[a+16>>2]>+f[a+(b<<2)>>2]?4:b;b=+f[a+20>>2]>+f[a+(b<<2)>>2]?5:b;return (+f[a+24>>2]>+f[a+(b<<2)>>2]?6:b)|0}function po(a){a=a|0;var b=0;b=+f[a+4>>2]>+f[a>>2]&1;b=+f[a+8>>2]>+f[a+(b<<2)>>2]?2:b;b=+f[a+12>>2]>+f[a+(b<<2)>>2]?3:b;b=+f[a+16>>2]>+f[a+(b<<2)>>2]?4:b;b=+f[a+20>>2]>+f[a+(b<<2)>>2]?5:b;b=+f[a+24>>2]>+f[a+(b<<2)>>2]?6:b;return (+f[a+28>>2]>+f[a+(b<<2)>>2]?7:b)|0}function qo(a,b,c){a=a|0;b=b|0;c=c|0;fP(a|0,b|0,c<<2|0)|0;return}function ro(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;f[a>>2]=-+f[b>>2];e=b+4|0;f[a+4>>2]=-+f[e>>2];f[a+8>>2]=-1.0;so(a+12|0);f[a+24>>2]=+f[d>>2]*+f[b>>2];f[a+28>>2]=+f[d>>2]*+f[e>>2];c[a+32>>2]=c[d>>2];so(a+36|0);f[a+48>>2]=-+f[b>>2];f[a+52>>2]=-+f[e>>2];f[a+56>>2]=-1.0;d=d+4|0;f[a+60>>2]=+f[d>>2]*+f[b>>2];f[a+64>>2]=+f[d>>2]*+f[e>>2];c[a+68>>2]=c[d>>2];return}function so(a){a=a|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;return}function to(a,b){a=a|0;b=b|0;var d=0;if((xj(a)|0)>>>0>>0)LO(a);if(b>>>0>536870911){a=P(8)|0;kO(a,38211);c[a>>2]=16392;R(a|0,13960,22)}else{d=AB(b<<3)|0;c[a+4>>2]=d;c[a>>2]=d;c[a+8>>2]=d+(b<<3);return}}function uo(a,b){a=a|0;b=b|0;var d=0,e=0;e=a+4|0;d=c[e>>2]|0;a=b;do{vo(d);d=(c[e>>2]|0)+8|0;c[e>>2]=d;a=a+-1|0}while((a|0)!=0);return}function vo(a){a=a|0;f[a>>2]=0.0;f[a+4>>2]=0.0;return}function wo(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0;k=zb;zb=zb+16|0;j=k;i=a+88|0;n=a+84|0;h=a+52|0;m=(((g|0)%(c[i>>2]|0)|0|0)%(c[n>>2]|0)|0|0)%(c[h>>2]|0)|0;c[b>>2]=m;m=(((g-m|0)%(c[i>>2]|0)|0|0)%(c[n>>2]|0)|0|0)/(c[h>>2]|0)|0;c[d>>2]=m;m=g-(c[b>>2]|0)-(C(c[h>>2]|0,m)|0)|0;m=((m|0)%(c[i>>2]|0)|0|0)/(c[n>>2]|0)|0;c[e>>2]=m;l=C(c[h>>2]|0,c[d>>2]|0)|0;g=g-(c[b>>2]|0)-((C(c[n>>2]|0,m)|0)+l)|0;i=(g|0)/(c[i>>2]|0)|0;c[f>>2]=i;g=c[b>>2]|0;if((g|0)<=-1){n=bg(bg(WE(bg(bg(bg(56880,33110)|0,32611)|0,35722)|0,190)|0,35729)|0,33143)|0;PE(j,n+(c[(c[n>>2]|0)+-12>>2]|0)|0);m=cG(j,57584)|0;m=Hb[c[(c[m>>2]|0)+28>>2]&63](m,10)|0;dG(j);XE(n,m)|0;TE(n)|0;va()}if((g|0)>=(c[h>>2]|0)){n=bg(bg(WE(bg(bg(bg(56880,33161)|0,32611)|0,35722)|0,191)|0,35729)|0,33143)|0;PE(j,n+(c[(c[n>>2]|0)+-12>>2]|0)|0);m=cG(j,57584)|0;m=Hb[c[(c[m>>2]|0)+28>>2]&63](m,10)|0;dG(j);XE(n,m)|0;TE(n)|0;va()}g=c[d>>2]|0;if((g|0)<=-1){n=bg(bg(WE(bg(bg(bg(56880,33201)|0,32611)|0,35722)|0,192)|0,35729)|0,33234)|0;PE(j,n+(c[(c[n>>2]|0)+-12>>2]|0)|0);m=cG(j,57584)|0;m=Hb[c[(c[m>>2]|0)+28>>2]&63](m,10)|0;dG(j);XE(n,m)|0;TE(n)|0;va()}if((g|0)>=(c[a+56>>2]|0)){n=bg(bg(WE(bg(bg(bg(56880,33252)|0,32611)|0,35722)|0,193)|0,35729)|0,33234)|0;PE(j,n+(c[(c[n>>2]|0)+-12>>2]|0)|0);m=cG(j,57584)|0;m=Hb[c[(c[m>>2]|0)+28>>2]&63](m,10)|0;dG(j);XE(n,m)|0;TE(n)|0;va()}g=c[e>>2]|0;if((g|0)<=-1){n=bg(bg(WE(bg(bg(bg(56880,33292)|0,32611)|0,35722)|0,194)|0,35729)|0,33329)|0;PE(j,n+(c[(c[n>>2]|0)+-12>>2]|0)|0);m=cG(j,57584)|0;m=Hb[c[(c[m>>2]|0)+28>>2]&63](m,10)|0;dG(j);XE(n,m)|0;TE(n)|0;va()}if((g|0)>=(c[a+60>>2]|0)){n=bg(bg(WE(bg(bg(bg(56880,33351)|0,32611)|0,35722)|0,195)|0,35729)|0,33329)|0;PE(j,n+(c[(c[n>>2]|0)+-12>>2]|0)|0);m=cG(j,57584)|0;m=Hb[c[(c[m>>2]|0)+28>>2]&63](m,10)|0;dG(j);XE(n,m)|0;TE(n)|0;va()}if((i|0)<=-1){n=bg(bg(WE(bg(bg(bg(56880,33399)|0,32611)|0,35722)|0,196)|0,35729)|0,33436)|0;PE(j,n+(c[(c[n>>2]|0)+-12>>2]|0)|0);m=cG(j,57584)|0;m=Hb[c[(c[m>>2]|0)+28>>2]&63](m,10)|0;dG(j);XE(n,m)|0;TE(n)|0;va()}if((i|0)<(c[a+64>>2]|0)){zb=k;return}else{n=bg(bg(WE(bg(bg(bg(56880,33458)|0,32611)|0,35722)|0,197)|0,35729)|0,33436)|0;PE(j,n+(c[(c[n>>2]|0)+-12>>2]|0)|0);m=cG(j,57584)|0;m=Hb[c[(c[m>>2]|0)+28>>2]&63](m,10)|0;dG(j);XE(n,m)|0;TE(n)|0;va()}}function xo(a){a=a|0;return a+124|0}function yo(a){a=a|0;return a+112|0}function zo(a,b,d,e,g,h,i,j,k,l,m,n,o){a=a|0;b=b|0;d=d|0;e=e|0;g=g|0;h=+h;i=+i;j=+j;k=+k;l=+l;m=+m;n=+n;o=+o;var p=0,q=0;q=zb;zb=zb+16|0;p=q;f[b>>2]=+t(+(h-l));f[d>>2]=+t(+(i-m));f[g>>2]=+t(+(k-o));m=+t(+(j-n));m=+Bn(m,+(c[a+60>>2]|0)-m);f[e>>2]=m;if(!(m>=0.0)){q=bg(bg(WE(bg(bg(bg(56880,32391)|0,32611)|0,35722)|0,333)|0,35729)|0,32432)|0;PE(p,q+(c[(c[q>>2]|0)+-12>>2]|0)|0);a=cG(p,57584)|0;a=Hb[c[(c[a>>2]|0)+28>>2]&63](a,10)|0;dG(p);XE(q,a)|0;TE(q)|0;va()}else{zb=q;return}}function Ao(a,b){a=a|0;b=b|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;if(b|0){Do(a,b);uh(a,b)}return}function Bo(a,b,c){a=a|0;b=+b;c=+c;f[a+8>>2]=b;f[a+12>>2]=c;return}function Co(a,b,d){a=a|0;b=b|0;d=d|0;c[a>>2]=b;c[a+4>>2]=d;return}function Do(a,b){a=a|0;b=b|0;var d=0;if((vh(a)|0)>>>0>>0)LO(a);if(b>>>0>1073741823){a=P(8)|0;kO(a,38211);c[a>>2]=16392;R(a|0,13960,22)}else{d=AB(b<<2)|0;c[a+4>>2]=d;c[a>>2]=d;c[a+8>>2]=d+(b<<2);return}}function Eo(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;t=zb;zb=zb+48|0;p=t+8|0;n=t+32|0;l=t+28|0;k=t+24|0;m=t+20|0;o=t+16|0;q=t;j=a+8|0;if(!(c[j>>2]|0)){s=bg(bg(WE(bg(bg(bg(56880,32466)|0,29456)|0,35722)|0,405)|0,35729)|0,32501)|0;PE(p,s+(c[(c[s>>2]|0)+-12>>2]|0)|0);r=cG(p,57584)|0;r=Hb[c[(c[r>>2]|0)+28>>2]&63](r,10)|0;dG(p);XE(s,r)|0;TE(s)|0;va()}c[a+100>>2]=0;r=a+72|0;i=a+76|0;c[i>>2]=c[r>>2];s=a+84|0;h=a+88|0;d=c[h>>2]|0;while(1){e=c[s>>2]|0;f=e;if((e|0)==(d|0))break;g=d-f|0;if((g|0)>8){d=d+-8|0;u=e;v=c[u>>2]|0;u=c[u+4>>2]|0;x=p;c[x>>2]=v;c[x+4>>2]=u;x=d;w=c[x+4>>2]|0;c[e>>2]=c[x>>2];c[e+4>>2]=w;e=d;c[e>>2]=v;c[e+4>>2]=u;cm(p);c[k>>2]=f;c[m>>2]=d;c[o>>2]=f;c[l>>2]=c[k>>2];c[n>>2]=c[m>>2];c[p>>2]=c[o>>2];Go(l,n,q,(g>>>3)+-1|0,p);d=c[h>>2]|0}e=0;while(1){if((e|0)==-1)break;x=e+-1|0;cm(d+(x<<3)|0);e=x}d=d+-8|0;c[h>>2]=d}Ho(a,s,c[j>>2]|0,b);zb=t;return (c[i>>2]|0)-(c[r>>2]|0)>>2|0}function Fo(a){a=a|0;return a+72|0}function Go(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;m=zb;zb=zb+16|0;l=m;j=c[f>>2]|0;k=c[a>>2]|0;b=j-k|0;h=j;i=j;if((e|0)>=2?(n=(e+-2|0)/2|0,(n|0)>=(b>>3|0)):0){b=b>>2|1;a=k+(b<<3)|0;d=a;g=b+1|0;if((g|0)<(e|0)){o=a+8|0;a=Uo(a,o)|0;b=a?g:b;d=a?o:d}if(!(Uo(d,h)|0)){o=c[j+4>>2]|0;h=l;c[h>>2]=c[j>>2];c[h+4>>2]=o;h=d;while(1){o=i;i=h;g=i;j=c[g+4>>2]|0;c[o>>2]=c[g>>2];c[o+4>>2]=j;c[f>>2]=h;if((n|0)<(b|0))break;b=b<<1|1;a=k+(b<<3)|0;d=a;g=b+1|0;if((g|0)<(e|0)){o=a+8|0;j=Uo(a,o)|0;b=j?g:b;d=j?o:d}if(Uo(d,l)|0)break;else h=d}f=l;n=c[f+4>>2]|0;o=h;c[o>>2]=c[f>>2];c[o+4>>2]=n;cm(l)}}zb=m;return}function Ho(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;t=zb;zb=zb+64|0;p=t+8|0;n=t+56|0;l=t+52|0;k=t+44|0;m=t+36|0;o=t+28|0;q=t;f=t+48|0;g=t+40|0;h=t+32|0;s=t+16|0;if(Io(d)|0){c[f>>2]=c[a+76>>2];c[g>>2]=c[(Jo(d)|0)>>2];c[h>>2]=c[(Jo(d)|0)+4>>2];c[l>>2]=c[f>>2];c[n>>2]=c[g>>2];c[p>>2]=c[h>>2];Ko(a+72|0,l,n,p)|0}else{c[s>>2]=0;h=s+4|0;c[h>>2]=0;c[s+8>>2]=0;Lo(d,s,b,e);g=0;while(1){f=c[s>>2]|0;if(g>>>0>=(c[h>>2]|0)-f>>2>>>0)break;Ho(a,b,c[f+(g<<2)>>2]|0,e);g=g+1|0}i=a+100|0;if((c[i>>2]|0)<(c[a+104>>2]|0)?(j=c[b>>2]|0,r=b+4|0,(j|0)!=(c[r>>2]|0)):0){d=Mo(j)|0;g=c[b>>2]|0;f=c[r>>2]|0;h=f-g|0;if((h|0)>8){j=g;f=f+-8|0;u=j;v=c[u>>2]|0;u=c[u+4>>2]|0;x=p;c[x>>2]=v;c[x+4>>2]=u;x=f;w=c[x+4>>2]|0;c[j>>2]=c[x>>2];c[j+4>>2]=w;j=f;c[j>>2]=v;c[j+4>>2]=u;cm(p);c[k>>2]=g;c[m>>2]=f;c[o>>2]=g;c[l>>2]=c[k>>2];c[n>>2]=c[m>>2];c[p>>2]=c[o>>2];Go(l,n,q,(h>>>3)+-1|0,p);f=c[r>>2]|0}g=0;while(1){if((g|0)==-1)break;x=g+-1|0;cm(f+(x<<3)|0);g=x}c[r>>2]=f+-8;c[i>>2]=(c[i>>2]|0)+1;Ho(a,b,d,e)}No(s)}zb=t;return}function Io(b){b=b|0;return (a[b+100>>0]|0)!=0|0}function Jo(a){a=a|0;return a+116|0}function Ko(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=zb;zb=zb+48|0;r=s+40|0;q=s+36|0;o=s+32|0;p=s+28|0;j=s+8|0;k=s+4|0;l=s;f=c[a>>2]|0;g=f;b=f+((c[b>>2]|0)-g>>2<<2)|0;d=c[d>>2]|0;f=c[e>>2]|0;m=f-d|0;n=m>>2;a:do if((m|0)>0){h=a+8|0;m=c[a+4>>2]|0;i=m;if((n|0)>((c[h>>2]|0)-i>>2|0)){e=(i-g>>2)+n|0;g=rl(a)|0;if(g>>>0>>0)LO(a);else{p=c[a>>2]|0;n=(c[h>>2]|0)-p|0;o=n>>1;sl(j,n>>2>>>0>>1>>>0?(o>>>0>>0?e:o):g,b-p>>2,a+8|0);c[k>>2]=d;c[l>>2]=f;c[q>>2]=c[k>>2];c[r>>2]=c[l>>2];gp(j,q,r);b=hp(a,j,b)|0;ul(j);break}}h=i-b|0;g=h>>2;e=d+(g<<2)|0;if((n|0)>(g|0)){c[o>>2]=e;c[p>>2]=f;c[q>>2]=c[o>>2];c[r>>2]=c[p>>2];ep(a,q,r,n-g|0);if((h|0)>0)f=e;else break}fp(a,b,m,b+(n<<2)|0);e=b;while(1){if((d|0)==(f|0))break a;c[e>>2]=c[d>>2];d=d+4|0;e=e+4|0}}while(0);zb=s;return b|0}function Lo(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;t=zb;zb=zb+48|0;p=t+8|0;n=t+36|0;m=t+32|0;o=t+28|0;q=t;s=t+16|0;r=a+104|0;Oo(s,(c[a+108>>2]|0)-(c[r>>2]|0)>>2);k=s+4|0;a=0;f=-1;l=-1;while(1){if(a>>>0>=(c[k>>2]|0)-(c[s>>2]|0)>>3>>>0)break;i=El((c[(c[r>>2]|0)+(a<<2)>>2]|0)+4|0,e)|0;Po(p,c[(c[r>>2]|0)+(a<<2)>>2]|0,i);g=p;j=c[g+4>>2]|0;h=(c[s>>2]|0)+(a<<3)|0;c[h>>2]=c[g>>2];c[h+4>>2]=j;cm(p);h=i>>>0>>0;j=h?a:l;a=a+1|0;f=h?i:f;l=j}if((l|0)==-1){j=bg(bg(WE(bg(bg(bg(56880,32521)|0,29456)|0,35722)|0,155)|0,35729)|0,32555)|0;PE(p,j+(c[(c[j>>2]|0)+-12>>2]|0)|0);i=cG(p,57584)|0;i=Hb[c[(c[i>>2]|0)+28>>2]&63](i,10)|0;dG(p);XE(j,i)|0;TE(j)|0;va()}a=c[(c[r>>2]|0)+(l<<2)>>2]|0;c[p>>2]=a;i=b+4|0;f=c[i>>2]|0;j=b+8|0;if(f>>>0<(c[j>>2]|0)>>>0){c[f>>2]=a;c[i>>2]=(c[i>>2]|0)+4}else Qo(b,p);e=d+4|0;g=d+8|0;h=0;while(1){a=c[s>>2]|0;if(h>>>0>=(c[k>>2]|0)-a>>3>>>0)break;do if((h|0)!=(l|0)){f=Ro(a+(h<<3)|0)|0;if((f|0)==(Ro((c[s>>2]|0)+(l<<3)|0)|0)){a=c[(c[r>>2]|0)+(h<<2)>>2]|0;c[p>>2]=a;f=c[i>>2]|0;if(f>>>0<(c[j>>2]|0)>>>0){c[f>>2]=a;c[i>>2]=(c[i>>2]|0)+4}else Qo(b,p);break}else{f=(c[s>>2]|0)+(h<<3)|0;a=c[e>>2]|0;if((a|0)==(c[g>>2]|0)){So(d,f);a=c[e>>2]|0}else{u=f;f=c[u+4>>2]|0;c[a>>2]=c[u>>2];c[a+4>>2]=f;a=(c[e>>2]|0)+8|0;c[e>>2]=a}u=c[d>>2]|0;c[m>>2]=u;c[o>>2]=a;c[n>>2]=c[m>>2];c[p>>2]=c[o>>2];To(n,p,q,a-u>>3);break}}while(0);h=h+1|0}bm(s);zb=t;return}function Mo(a){a=a|0;return c[a>>2]|0}function No(a){a=a|0;var b=0,d=0;b=c[a>>2]|0;d=b;if(b|0){c[a+4>>2]=d;Vf(b,(c[a+8>>2]|0)-d|0)}return}function Oo(a,b){a=a|0;b=b|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;if(b|0){bp(a,b);cp(a,b)}return}function Po(a,b,d){a=a|0;b=b|0;d=d|0;c[a>>2]=b;c[a+4>>2]=d;return}function Qo(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;h=zb;zb=zb+32|0;e=h;d=a+4|0;f=((c[d>>2]|0)-(c[a>>2]|0)>>2)+1|0;g=Zo(a)|0;if(g>>>0>>0)LO(a);else{i=c[a>>2]|0;k=(c[a+8>>2]|0)-i|0;j=k>>1;_o(e,k>>2>>>0>>1>>>0?(j>>>0>>0?f:j):g,(c[d>>2]|0)-i>>2,a+8|0);g=e+8|0;c[c[g>>2]>>2]=c[b>>2];c[g>>2]=(c[g>>2]|0)+4;$o(a,e);ap(e);zb=h;return}}function Ro(a){a=a|0;return c[a+4>>2]|0}function So(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;h=zb;zb=zb+32|0;e=h;d=a+4|0;f=((c[d>>2]|0)-(c[a>>2]|0)>>3)+1|0;g=Vo(a)|0;if(g>>>0>>0)LO(a);else{i=c[a>>2]|0;k=(c[a+8>>2]|0)-i|0;j=k>>2;Wo(e,k>>3>>>0>>1>>>0?(j>>>0>>0?f:j):g,(c[d>>2]|0)-i>>3,a+8|0);g=e+8|0;d=b;b=c[d+4>>2]|0;f=c[g>>2]|0;c[f>>2]=c[d>>2];c[f+4>>2]=b;c[g>>2]=(c[g>>2]|0)+8;Xo(a,e);Yo(e);zb=h;return}}function To(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;j=zb;zb=zb+16|0;i=j;if((e|0)>1?(g=(e+-2|0)/2|0,k=c[a>>2]|0,f=k+(g<<3)|0,h=(c[b>>2]|0)+-8|0,c[b>>2]=h,Uo(f,h)|0):0){a=h;e=c[a+4>>2]|0;d=i;c[d>>2]=c[a>>2];c[d+4>>2]=e;d=h;while(1){a=f;e=c[a+4>>2]|0;h=d;c[h>>2]=c[a>>2];c[h+4>>2]=e;c[b>>2]=f;if(!g)break;g=(g+-1|0)/2|0;d=k+(g<<3)|0;if(!(Uo(d,i)|0))break;else{h=f;f=d;d=h}}h=i;k=c[h+4>>2]|0;b=f;c[b>>2]=c[h>>2];c[b+4>>2]=k;cm(i)}zb=j;return}function Uo(a,b){a=a|0;b=b|0;return (c[a+4>>2]|0)>>>0>(c[b+4>>2]|0)>>>0|0}function Vo(a){a=a|0;return 536870911}function Wo(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=a+12|0;c[f>>2]=0;c[a+16>>2]=e;do if(b)if(b>>>0>536870911){a=P(8)|0;kO(a,38211);c[a>>2]=16392;R(a|0,13960,22)}else{e=AB(b<<3)|0;break}else e=0;while(0);c[a>>2]=e;d=e+(d<<3)|0;c[a+8>>2]=d;c[a+4>>2]=d;c[f>>2]=e+(b<<3);return}function Xo(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=c[a>>2]|0;g=a+4|0;e=b+4|0;f=c[g>>2]|0;while(1){if((f|0)==(d|0))break;h=f+-8|0;k=h;j=c[k+4>>2]|0;i=(c[e>>2]|0)+-8|0;c[i>>2]=c[k>>2];c[i+4>>2]=j;c[e>>2]=(c[e>>2]|0)+-8;f=h}i=c[a>>2]|0;c[a>>2]=c[e>>2];c[e>>2]=i;i=b+8|0;k=c[g>>2]|0;c[g>>2]=c[i>>2];c[i>>2]=k;i=a+8|0;k=b+12|0;j=c[i>>2]|0;c[i>>2]=c[k>>2];c[k>>2]=j;c[b>>2]=c[e>>2];return}function Yo(a){a=a|0;var b=0,d=0,e=0;b=c[a+4>>2]|0;e=a+8|0;while(1){d=c[e>>2]|0;if((d|0)==(b|0))break;d=d+-8|0;c[e>>2]=d;cm(d)}b=c[a>>2]|0;if(b|0)Vf(b,(c[a+12>>2]|0)-b|0);return}function Zo(a){a=a|0;return 1073741823}function _o(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=a+12|0;c[f>>2]=0;c[a+16>>2]=e;do if(b)if(b>>>0>1073741823){a=P(8)|0;kO(a,38211);c[a>>2]=16392;R(a|0,13960,22)}else{e=AB(b<<2)|0;break}else e=0;while(0);c[a>>2]=e;d=e+(d<<2)|0;c[a+8>>2]=d;c[a+4>>2]=d;c[f>>2]=e+(b<<2);return}function $o(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;e=c[a>>2]|0;h=a+4|0;g=b+4|0;f=(c[h>>2]|0)-e|0;d=(c[g>>2]|0)+(0-(f>>2)<<2)|0;c[g>>2]=d;if((f|0)>0){fP(d|0,e|0,f|0)|0;e=g;d=c[g>>2]|0}else e=g;g=c[a>>2]|0;c[a>>2]=d;c[e>>2]=g;g=b+8|0;f=c[h>>2]|0;c[h>>2]=c[g>>2];c[g>>2]=f;g=a+8|0;a=b+12|0;h=c[g>>2]|0;c[g>>2]=c[a>>2];c[a>>2]=h;c[b>>2]=c[e>>2];return}function ap(a){a=a|0;var b=0,d=0,e=0,f=0;b=c[a+4>>2]|0;e=a+8|0;d=c[e>>2]|0;while(1){if((d|0)==(b|0))break;f=d+-4|0;c[e>>2]=f;d=f}b=c[a>>2]|0;if(b|0)Vf(b,(c[a+12>>2]|0)-b|0);return}function bp(a,b){a=a|0;b=b|0;var d=0;if((Vo(a)|0)>>>0>>0)LO(a);if(b>>>0>536870911){a=P(8)|0;kO(a,38211);c[a>>2]=16392;R(a|0,13960,22)}else{d=AB(b<<3)|0;c[a+4>>2]=d;c[a>>2]=d;c[a+8>>2]=d+(b<<3);return}}function cp(a,b){a=a|0;b=b|0;var d=0,e=0;e=a+4|0;d=c[e>>2]|0;a=b;do{dp(d);d=(c[e>>2]|0)+8|0;c[e>>2]=d;a=a+-1|0}while((a|0)!=0);return}function dp(a){a=a|0;c[a>>2]=0;c[a+4>>2]=0;return}function ep(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=c[d>>2]|0;e=a+4|0;d=c[b>>2]|0;while(1){if((d|0)==(f|0))break;b=c[e>>2]|0;c[b>>2]=c[d>>2];c[e>>2]=b+4;d=d+4|0}return}function fp(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;i=a+4|0;h=c[i>>2]|0;g=h-e|0;f=g>>2;a=h;e=b+(f<<2)|0;while(1){if(e>>>0>=d>>>0)break;c[a>>2]=c[e>>2];j=a+4|0;c[i>>2]=j;a=j;e=e+4|0}if(g|0)gP(h+(0-f<<2)|0,b|0,g|0)|0;return}function gp(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=c[d>>2]|0;a=a+8|0;d=c[b>>2]|0;while(1){if((d|0)==(e|0))break;f=c[a>>2]|0;c[f>>2]=c[d>>2];c[a>>2]=f+4;f=d+4|0;c[b>>2]=f;d=f}return}function hp(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;j=b+4|0;i=c[j>>2]|0;e=c[a>>2]|0;h=d;g=h-e|0;f=i+(0-(g>>2)<<2)|0;c[j>>2]=f;if((g|0)>0)fP(f|0,e|0,g|0)|0;f=a+4|0;g=b+8|0;e=(c[f>>2]|0)-h|0;if((e|0)>0){fP(c[g>>2]|0,d|0,e|0)|0;c[g>>2]=(c[g>>2]|0)+(e>>>2<<2)}h=c[a>>2]|0;c[a>>2]=c[j>>2];c[j>>2]=h;h=c[f>>2]|0;c[f>>2]=c[g>>2];c[g>>2]=h;h=a+8|0;a=b+12|0;d=c[h>>2]|0;c[h>>2]=c[a>>2];c[a>>2]=d;c[b>>2]=c[j>>2];return i|0}function ip(a){a=a|0;return jp(c[c[a>>2]>>2]|0)|0}function jp(a){a=a|0;return c[a+24>>2]|0}function kp(a,b){a=a|0;b=b|0;var d=0,e=0;d=zb;zb=zb+16|0;e=d;c[e>>2]=b;a=sm((c[a>>2]|0)+4|0,e)|0;zb=d;return a|0}function lp(a){a=a|0;var b=0,d=0;b=zb;zb=zb+16|0;d=b;mp(d,c[c[a>>2]>>2]|0);a=mm(Fk(c[d>>2]|0)|0)|0;Xj(d);zb=b;return a|0}function mp(a,b){a=a|0;b=b|0;c[a>>2]=c[b+64>>2];b=c[b+68>>2]|0;c[a+4>>2]=b;if(b|0){a=b+4|0;c[a>>2]=(c[a>>2]|0)+1}return}function np(a){a=a|0;return op(c[c[a>>2]>>2]|0)|0}function op(a){a=a|0;return a+12|0}function pp(b){b=b|0;var d=0,e=0,f=0;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;c[b+12>>2]=0;a[b+16>>0]=1;d=b+108|0;e=b+20|0;f=e+88|0;do{c[e>>2]=0;e=e+4|0}while((e|0)<(f|0));c[d>>2]=1065353216;f=b+112|0;c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=0;c[f+12>>2]=0;c[f+16>>2]=0;c[f+20>>2]=0;return}function qp(a){a=a|0;bk(a+124|0);mh(a+112|0);rp(a+92|0);return}function rp(a){a=a|0;sp(a);return}function sp(a){a=a|0;var b=0;tp(a,c[a+8>>2]|0);b=c[a>>2]|0;c[a>>2]=0;if(b|0)Vf(b,c[a+4>>2]<<2);return}function tp(a,b){a=a|0;b=b|0;while(1){if(!b)break;a=c[b>>2]|0;Vf(b,16);b=a}return}function up(b,d,e,g,h,i,j,k,l){b=b|0;d=+d;e=+e;g=+g;h=+h;i=i|0;j=j|0;k=k|0;l=l|0;f[b+20>>2]=d;f[b+24>>2]=e;f[b+28>>2]=g;f[b+32>>2]=h;f[b+36>>2]=-1.0;f[b+40>>2]=1.0;c[b+52>>2]=i;c[b+56>>2]=j;c[b+60>>2]=k;c[b+64>>2]=l;l=C(j,i)|0;c[b+84>>2]=l;c[b+88>>2]=C(l,k)|0;f[b+44>>2]=10.0;f[b+48>>2]=.4342944622039795;a[b+16>>0]=(j|i|0)==0&1;vp(b+92|0);return}function vp(a){a=a|0;var b=0,d=0,e=0;e=a+12|0;if(c[e>>2]|0){b=a+8|0;tp(a,c[b>>2]|0);c[b>>2]=0;b=c[a+4>>2]|0;d=0;while(1){if((d|0)==(b|0))break;c[(c[a>>2]|0)+(d<<2)>>2]=0;d=d+1|0}c[e>>2]=0}return}function wp(b,d,e,g){b=b|0;d=d|0;e=e|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;t=zb;zb=zb+16|0;r=t+12|0;s=t+8|0;i=t+4|0;q=t;vp(b+92|0);if(g|0){l=b+112|0;lh(l,g<<2);k=b+124|0;$k(k,g);if(a[b+16>>0]|0)xp(b,d,e,g);o=b+68|0;p=b+72|0;m=b+76|0;n=b+80|0;j=0;h=0;while(1){if((j|0)>=(g|0))break;u=j<<2;v=d+(u<<2)|0;u=e+(u<<2)|0;yp(b,r,s,i,q,+f[v>>2],+f[v+4>>2],+f[v+8>>2],+f[v+12>>2],+f[u>>2],+f[u+4>>2],+f[u+8>>2],+f[u+12>>2]);if(zp(b,+f[r>>2],+f[s>>2],+f[i>>2],+f[q>>2])|0){v=(c[l>>2]|0)+(h<<2<<2)|0;c[v>>2]=c[o>>2];c[v+4>>2]=c[p>>2];c[v+8>>2]=c[m>>2];c[v+12>>2]=c[n>>2];c[(c[k>>2]|0)+(h<<2)>>2]=j;h=h+1|0}j=j+1|0}lh(l,h<<2);$k(k,h)}zb=t;return}function xp(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var g=0.0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0.0;l=zb;zb=zb+16|0;j=l+12|0;k=l;i=a+4|0;h=Gj(c[a>>2]|0,c[i>>2]|0)|0;Ao(k,e);if((e|0)<=0){m=bg(bg(WE(bg(bg(bg(56880,33638)|0,33670)|0,35722)|0,208)|0,35729)|0,33797)|0;PE(j,m+(c[(c[m>>2]|0)+-12>>2]|0)|0);n=cG(j,57584)|0;n=Hb[c[(c[n>>2]|0)+28>>2]&63](n,10)|0;dG(j);XE(m,n)|0;TE(m)|0;va()}if((c[a>>2]|0)<=0){n=bg(bg(WE(bg(bg(bg(56880,33819)|0,33670)|0,35722)|0,209)|0,35729)|0,33861)|0;PE(j,n+(c[(c[n>>2]|0)+-12>>2]|0)|0);m=cG(j,57584)|0;m=Hb[c[(c[m>>2]|0)+28>>2]&63](m,10)|0;dG(j);XE(n,m)|0;TE(n)|0;va()}if((c[i>>2]|0)<=0){n=bg(bg(WE(bg(bg(bg(56880,33884)|0,33670)|0,35722)|0,210)|0,35729)|0,33927)|0;PE(j,n+(c[(c[n>>2]|0)+-12>>2]|0)|0);m=cG(j,57584)|0;m=Hb[c[(c[m>>2]|0)+28>>2]&63](m,10)|0;dG(j);XE(n,m)|0;TE(n)|0;va()}g=+(h|0);h=0;while(1){if((h|0)==(e|0))break;n=h<<2;o=+Hp(+f[b+(n<<2)+12>>2],+f[d+(n<<2)+12>>2])*g;f[(c[k>>2]|0)+(h<<2)>>2]=o;h=h+1|0}m=c[k>>2]|0;o=+Jp(m,(c[k+4>>2]|0)-m>>2)*.25;m=a+52|0;c[m>>2]=Gj(5,~~+B(+((+f[a+24>>2]-+f[a+20>>2])/o)))|0;n=Gj(5,~~+B(+((+f[a+32>>2]-+f[a+28>>2])/o)))|0;c[a+56>>2]=n;n=C(c[m>>2]|0,n)|0;c[a+84>>2]=n;c[a+88>>2]=C(c[a+60>>2]|0,n)|0;mh(k);zb=l;return}function yp(a,b,d,e,g,h,i,j,k,l,m,n,o){a=a|0;b=b|0;d=d|0;e=e|0;g=g|0;h=+h;i=+i;j=+j;k=+k;l=+l;m=+m;n=+n;o=+o;var p=0,q=0,r=0,s=0,t=0;s=zb;zb=zb+32|0;r=s+16|0;q=s;j=j-n;f[e>>2]=j;n=j;if(!(n<=-3.141592653589793)){if(n>3.141592653589793){j=n+-6.283185307179586;p=5}}else{j=n+6.283185307179586;p=5}if((p|0)==5)f[e>>2]=j;if(!(j>-3.141592653589793)){p=bg(bg(WE(bg(bg(bg(56880,32866)|0,32611)|0,35722)|0,468)|0,35729)|0,32901)|0;PE(r,p+(c[(c[p>>2]|0)+-12>>2]|0)|0);t=cG(r,57584)|0;t=Hb[c[(c[t>>2]|0)+28>>2]&63](t,10)|0;dG(r);XE(p,t)|0;TE(p)|0;va()}if(!(j<=3.141592653589793)){t=bg(bg(WE(bg(bg(bg(56880,32920)|0,32611)|0,35722)|0,469)|0,35729)|0,32901)|0;PE(r,t+(c[(c[t>>2]|0)+-12>>2]|0)|0);s=cG(r,57584)|0;s=Hb[c[(c[s>>2]|0)+28>>2]&63](s,10)|0;dG(r);XE(t,s)|0;TE(t)|0;va()}else{j=+Hp(k,o);f[g>>2]=j;Ip(q,+f[e>>2],j);j=+A(+(+f[g>>2]));f[g>>2]=j*+f[a+48>>2];j=+f[q>>2];n=+f[q+4>>2];k=+f[q+8>>2];o=+f[q+12>>2];g=a+8|0;t=a+12|0;f[b>>2]=h-(j*l+n*m)+(j*+f[g>>2]+n*+f[t>>2]);f[d>>2]=i-(k*l+o*m)+(k*+f[g>>2]+o*+f[t>>2]);zb=s;return}}function zp(a,b,d,e,g){a=a|0;b=+b;d=+d;e=+e;g=+g;var h=0,i=0,j=0,k=0,l=0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,t=0.0,u=0,v=0,w=0,x=0;x=zb;zb=zb+16|0;h=x;m=+f[a+20>>2];if((((((!(m>b)?(n=+f[a+24>>2],!(n<=b)):0)?(o=+f[a+28>>2],!(o>d)):0)?(p=+f[a+32>>2],!(p<=d)):0)?(t=e,!(t<=-3.141592653589793|t>3.141592653589793)):0)?(q=+f[a+36>>2],!(q>g)):0)?(r=+f[a+40>>2],!(r<=g)):0){if(!(m<=b)){l=bg(bg(WE(bg(bg(bg(56880,32577)|0,32611)|0,35722)|0,360)|0,35729)|0,32736)|0;PE(h,l+(c[(c[l>>2]|0)+-12>>2]|0)|0);k=cG(h,57584)|0;k=Hb[c[(c[k>>2]|0)+28>>2]&63](k,10)|0;dG(h);XE(l,k)|0;TE(l)|0;va()}if(!(n>b)){l=bg(bg(WE(bg(bg(bg(56880,32751)|0,32611)|0,35722)|0,361)|0,35729)|0,32736)|0;PE(h,l+(c[(c[l>>2]|0)+-12>>2]|0)|0);k=cG(h,57584)|0;k=Hb[c[(c[k>>2]|0)+28>>2]&63](k,10)|0;dG(h);XE(l,k)|0;TE(l)|0;va()}if(!(o<=d)){l=bg(bg(WE(bg(bg(bg(56880,32784)|0,32611)|0,35722)|0,362)|0,35729)|0,32818)|0;PE(h,l+(c[(c[l>>2]|0)+-12>>2]|0)|0);k=cG(h,57584)|0;k=Hb[c[(c[k>>2]|0)+28>>2]&63](k,10)|0;dG(h);XE(l,k)|0;TE(l)|0;va()}if(!(p>d)){l=bg(bg(WE(bg(bg(bg(56880,32833)|0,32611)|0,35722)|0,363)|0,35729)|0,32818)|0;PE(h,l+(c[(c[l>>2]|0)+-12>>2]|0)|0);k=cG(h,57584)|0;k=Hb[c[(c[k>>2]|0)+28>>2]&63](k,10)|0;dG(h);XE(l,k)|0;TE(l)|0;va()}if(!(t>-3.141592653589793)){l=bg(bg(WE(bg(bg(bg(56880,32866)|0,32611)|0,35722)|0,364)|0,35729)|0,32901)|0;PE(h,l+(c[(c[l>>2]|0)+-12>>2]|0)|0);k=cG(h,57584)|0;k=Hb[c[(c[k>>2]|0)+28>>2]&63](k,10)|0;dG(h);XE(l,k)|0;TE(l)|0;va()}if(!(t<=3.141592653589793)){l=bg(bg(WE(bg(bg(bg(56880,32920)|0,32611)|0,35722)|0,365)|0,35729)|0,32901)|0;PE(h,l+(c[(c[l>>2]|0)+-12>>2]|0)|0);k=cG(h,57584)|0;k=Hb[c[(c[k>>2]|0)+28>>2]&63](k,10)|0;dG(h);XE(l,k)|0;TE(l)|0;va()}if(!(q<=g)){l=bg(bg(WE(bg(bg(bg(56880,32955)|0,32611)|0,35722)|0,366)|0,35729)|0,32997)|0;PE(h,l+(c[(c[l>>2]|0)+-12>>2]|0)|0);k=cG(h,57584)|0;k=Hb[c[(c[k>>2]|0)+28>>2]&63](k,10)|0;dG(h);XE(l,k)|0;TE(l)|0;va()}if(!(r>g)){l=bg(bg(WE(bg(bg(bg(56880,33016)|0,32611)|0,35722)|0,367)|0,35729)|0,32997)|0;PE(h,l+(c[(c[l>>2]|0)+-12>>2]|0)|0);k=cG(h,57584)|0;k=Hb[c[(c[k>>2]|0)+28>>2]&63](k,10)|0;dG(h);XE(l,k)|0;TE(l)|0;va()}i=a+68|0;j=a+72|0;l=a+76|0;k=a+80|0;Ap(a,i,j,l,k,b,d,e,g);i=~~+s(+(+f[i>>2]+-.5));j=~~+s(+(+f[j>>2]+-.5));l=~~+s(+(+f[l>>2]+-.5));k=~~+s(+(+f[k>>2]+-.5));h=c[a+60>>2]|0;l=(h+l|0)%(h|0)|0;if((((i|0)>=0?(u=i+1|0,!((j|0)<0?1:(u|0)>=(c[a+52>>2]|0))):0)?(v=j+1|0,!((k|0)<0?1:(v|0)>=(c[a+56>>2]|0))):0)?(w=k+1|0,(w|0)<(c[a+64>>2]|0)):0){h=(l+1|0)%(h|0)|0;Cp(a,Bp(a,i,j,l,k)|0,1);Cp(a,Bp(a,u,j,l,k)|0,1);Cp(a,Bp(a,u,v,l,k)|0,1);Cp(a,Bp(a,u,v,h,k)|0,1);Cp(a,Bp(a,u,v,h,w)|0,1);Cp(a,Bp(a,u,v,l,w)|0,1);Cp(a,Bp(a,u,j,h,k)|0,1);Cp(a,Bp(a,u,j,h,w)|0,1);Cp(a,Bp(a,u,j,l,w)|0,1);Cp(a,Bp(a,i,v,l,k)|0,1);Cp(a,Bp(a,i,v,h,k)|0,1);Cp(a,Bp(a,i,v,h,w)|0,1);Cp(a,Bp(a,i,v,l,w)|0,1);Cp(a,Bp(a,i,j,h,k)|0,1);Cp(a,Bp(a,i,j,h,w)|0,1);Cp(a,Bp(a,i,j,l,w)|0,1);h=1}else h=0}else h=0;zb=x;return h|0}function Ap(a,b,d,e,g,h,i,j,k){a=a|0;b=b|0;d=d|0;e=e|0;g=g|0;h=+h;i=+i;j=+j;k=+k;var l=0.0,m=0.0;l=+(c[a+52>>2]|0);m=+f[a+20>>2];f[b>>2]=+Hp(h-m,+f[a+24>>2]-m)*l;h=+(c[a+56>>2]|0);l=+f[a+28>>2];f[d>>2]=+Hp(i-l,+f[a+32>>2]-l)*h;f[e>>2]=(j+3.141592653589793)*.15915494309189535*+(c[a+60>>2]|0);i=+(c[a+64>>2]|0);h=+f[a+36>>2];f[g>>2]=+Hp(k-h,+f[a+40>>2]-h)*i;return}function Bp(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0;k=zb;zb=zb+16|0;j=k;if((b|0)<=-1){i=bg(bg(WE(bg(bg(bg(56880,33110)|0,32611)|0,35722)|0,165)|0,35729)|0,33143)|0;PE(j,i+(c[(c[i>>2]|0)+-12>>2]|0)|0);h=cG(j,57584)|0;h=Hb[c[(c[h>>2]|0)+28>>2]&63](h,10)|0;dG(j);XE(i,h)|0;TE(i)|0;va()}g=c[a+52>>2]|0;if((g|0)<=(b|0)){i=bg(bg(WE(bg(bg(bg(56880,33161)|0,32611)|0,35722)|0,166)|0,35729)|0,33143)|0;PE(j,i+(c[(c[i>>2]|0)+-12>>2]|0)|0);h=cG(j,57584)|0;h=Hb[c[(c[h>>2]|0)+28>>2]&63](h,10)|0;dG(j);XE(i,h)|0;TE(i)|0;va()}if((d|0)<=-1){i=bg(bg(WE(bg(bg(bg(56880,33201)|0,32611)|0,35722)|0,167)|0,35729)|0,33234)|0;PE(j,i+(c[(c[i>>2]|0)+-12>>2]|0)|0);h=cG(j,57584)|0;h=Hb[c[(c[h>>2]|0)+28>>2]&63](h,10)|0;dG(j);XE(i,h)|0;TE(i)|0;va()}h=c[a+56>>2]|0;if((h|0)<=(d|0)){i=bg(bg(WE(bg(bg(bg(56880,33252)|0,32611)|0,35722)|0,168)|0,35729)|0,33234)|0;PE(j,i+(c[(c[i>>2]|0)+-12>>2]|0)|0);l=cG(j,57584)|0;l=Hb[c[(c[l>>2]|0)+28>>2]&63](l,10)|0;dG(j);XE(i,l)|0;TE(i)|0;va()}if((e|0)<=-1){l=bg(bg(WE(bg(bg(bg(56880,33292)|0,32611)|0,35722)|0,169)|0,35729)|0,33329)|0;PE(j,l+(c[(c[l>>2]|0)+-12>>2]|0)|0);i=cG(j,57584)|0;i=Hb[c[(c[i>>2]|0)+28>>2]&63](i,10)|0;dG(j);XE(l,i)|0;TE(l)|0;va()}i=c[a+60>>2]|0;if((i|0)<=(e|0)){l=bg(bg(WE(bg(bg(bg(56880,33351)|0,32611)|0,35722)|0,170)|0,35729)|0,33329)|0;PE(j,l+(c[(c[l>>2]|0)+-12>>2]|0)|0);m=cG(j,57584)|0;m=Hb[c[(c[m>>2]|0)+28>>2]&63](m,10)|0;dG(j);XE(l,m)|0;TE(l)|0;va()}if((f|0)<=-1){m=bg(bg(WE(bg(bg(bg(56880,33399)|0,32611)|0,35722)|0,171)|0,35729)|0,33436)|0;PE(j,m+(c[(c[m>>2]|0)+-12>>2]|0)|0);l=cG(j,57584)|0;l=Hb[c[(c[l>>2]|0)+28>>2]&63](l,10)|0;dG(j);XE(m,l)|0;TE(m)|0;va()}if((c[a+64>>2]|0)<=(f|0)){m=bg(bg(WE(bg(bg(bg(56880,33458)|0,32611)|0,35722)|0,172)|0,35729)|0,33436)|0;PE(j,m+(c[(c[m>>2]|0)+-12>>2]|0)|0);l=cG(j,57584)|0;l=Hb[c[(c[l>>2]|0)+28>>2]&63](l,10)|0;dG(j);XE(m,l)|0;TE(m)|0;va()}m=(C(g,d)|0)+b|0;b=(C(c[a+84>>2]|0,e)|0)+m|0;b=b+(C(c[a+88>>2]|0,f)|0)|0;if((b|0)>((C(C(h,g)|0,(C(i,f)|0)+e|0)|0)+m|0)){m=bg(bg(WE(bg(bg(bg(56880,33506)|0,32611)|0,35722)|0,176)|0,35729)|0,33091)|0;PE(j,m+(c[(c[m>>2]|0)+-12>>2]|0)|0);l=cG(j,57584)|0;l=Hb[c[(c[l>>2]|0)+28>>2]&63](l,10)|0;dG(j);XE(m,l)|0;TE(m)|0;va()}else{zb=k;return b|0}return 0}function Cp(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,g=0,h=0,i=0.0,j=0.0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=zb;zb=zb+32|0;e=s+8|0;n=s;if((b|0)<=-1){r=bg(bg(WE(bg(bg(bg(56880,33057)|0,32611)|0,35722)|0,290)|0,35729)|0,33091)|0;PE(e,r+(c[(c[r>>2]|0)+-12>>2]|0)|0);q=cG(e,57584)|0;q=Hb[c[(c[q>>2]|0)+28>>2]&63](q,10)|0;dG(e);XE(r,q)|0;TE(r)|0;va()}r=a+92|0;c[e>>2]=b;g=Dp(r,e)|0;if(!g){c[n>>2]=b;c[n+4>>2]=d;p=a+96|0;k=c[p>>2]|0;q=(k|0)==0;a:do if(!q){l=k+-1|0;m=(l&k|0)==0;if(!m)if(k>>>0>b>>>0)d=b;else d=(b>>>0)%(k>>>0)|0;else d=l&b;g=c[(c[r>>2]|0)+(d<<2)>>2]|0;if(!g)o=19;else do{g=c[g>>2]|0;if(!g){o=19;break a}h=c[g+4>>2]|0;if((h|0)!=(b|0)){if(!m){if(h>>>0>=k>>>0)h=(h>>>0)%(k>>>0)|0}else h=h&l;if((h|0)!=(d|0)){o=19;break a}}}while((c[g+8>>2]|0)!=(b|0))}else{d=0;o=19}while(0);if((o|0)==19){Ep(e,r,b,n);l=a+104|0;j=+(((c[l>>2]|0)+1|0)>>>0);i=+f[a+108>>2];do if(q|i*+(k>>>0)>>0<3|(k+-1&k|0)!=0)&1;d=~~+B(+(j/i))>>>0;Fp(r,g>>>0>>0?d:g);g=c[p>>2]|0;d=g+-1|0;if(!(d&g)){k=g;d=d&b;break}if(g>>>0>b>>>0){k=g;d=b}else{k=g;d=(b>>>0)%(g>>>0)|0}}while(0);g=c[(c[r>>2]|0)+(d<<2)>>2]|0;if(!g){h=a+100|0;c[c[e>>2]>>2]=c[h>>2];c[h>>2]=c[e>>2];c[(c[r>>2]|0)+(d<<2)>>2]=h;h=c[e>>2]|0;g=c[h>>2]|0;if(g){g=c[g+4>>2]|0;d=k+-1|0;if(d&k){if(g>>>0>=k>>>0)g=(g>>>0)%(k>>>0)|0}else g=g&d;c[(c[r>>2]|0)+(g<<2)>>2]=h}}else{c[c[e>>2]>>2]=c[g>>2];c[g>>2]=c[e>>2]}c[l>>2]=(c[l>>2]|0)+1;c[e>>2]=0}}else{r=g+12|0;c[r>>2]=(c[r>>2]|0)+d}zb=s;return}function Dp(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;d=c[b>>2]|0;e=c[a+4>>2]|0;a:do if(e){g=e+-1|0;h=(g&e|0)==0;if(!h)if(d>>>0>>0)f=d;else f=(d>>>0)%(e>>>0)|0;else f=g&d;b=c[(c[a>>2]|0)+(f<<2)>>2]|0;if(b)while(1){b=c[b>>2]|0;if(!b){b=0;break a}a=c[b+4>>2]|0;if((a|0)==(d|0)){if((c[b+8>>2]|0)==(d|0))break a}else{if(!h){if(a>>>0>=e>>>0)a=(a>>>0)%(e>>>0)|0}else a=a&g;if((a|0)!=(f|0)){b=0;break a}}}else b=0}else b=0;while(0);return b|0}function Ep(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0;g=AB(16)|0;c[b>>2]=g;c[b+4>>2]=d+8;c[g+8>>2]=c[f>>2];c[g+12>>2]=c[f+4>>2];a[b+8>>0]=1;c[g+4>>2]=e;c[g>>2]=0;return}function Fp(a,b){a=a|0;b=b|0;var d=0,e=0,g=0;if((b|0)!=1){if(b+-1&b)b=HD(b)|0}else b=2;e=c[a+4>>2]|0;if(b>>>0<=e>>>0){if(b>>>0>>0){d=~~+B(+(+((c[a+12>>2]|0)>>>0)/+f[a+16>>2]))>>>0;if(e>>>0>2&(e+-1&e|0)==0){g=1<<32-(D(d+-1|0)|0);d=d>>>0<2?d:g}else d=HD(d)|0;b=b>>>0>>0?d:b;if(b>>>0>>0)Gp(a,b)}}else Gp(a,b);return}function Gp(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=a+4|0;a:do if(b){if(b>>>0>1073741823){a=P(8)|0;kO(a,38211);c[a>>2]=16392;R(a|0,13960,22)}l=AB(b<<2)|0;d=c[a>>2]|0;c[a>>2]=l;if(d|0)Vf(d,c[a+4>>2]<<2);c[e>>2]=b;d=0;while(1){if((d|0)==(b|0))break;c[(c[a>>2]|0)+(d<<2)>>2]=0;d=d+1|0}f=a+8|0;d=c[f>>2]|0;if(d|0){e=c[d+4>>2]|0;k=b+-1|0;l=(k&b|0)==0;if(!l){if(e>>>0>=b>>>0)e=(e>>>0)%(b>>>0)|0}else e=e&k;c[(c[a>>2]|0)+(e<<2)>>2]=f;while(1){j=d;b:while(1){while(1){d=c[j>>2]|0;if(!d)break a;f=c[d+4>>2]|0;if(!l){if(f>>>0>=b>>>0)f=(f>>>0)%(b>>>0)|0}else f=f&k;if((f|0)==(e|0))break;g=(c[a>>2]|0)+(f<<2)|0;if(!(c[g>>2]|0))break b;i=d+8|0;h=d;while(1){g=c[h>>2]|0;if(!g)break;if((c[i>>2]|0)==(c[g+8>>2]|0))h=g;else break}c[j>>2]=g;c[h>>2]=c[c[(c[a>>2]|0)+(f<<2)>>2]>>2];c[c[(c[a>>2]|0)+(f<<2)>>2]>>2]=d}j=d}c[g>>2]=j;e=f}}}else{d=c[a>>2]|0;c[a>>2]=0;if(d|0)Vf(d,c[a+4>>2]<<2);c[e>>2]=0}while(0);return}function Hp(a,b){a=+a;b=+b;return +(a/(b==0.0?1.0:b))}function Ip(a,b,c){a=a|0;b=+b;c=+c;var d=0.0;d=+w(+b)*c;c=+x(+b)*c;f[a>>2]=d;f[a+4>>2]=-c;f[a+8>>2]=c;f[a+12>>2]=d;return}function Jp(a,b){a=a|0;b=b|0;return +(+Kp(a,b,(b&1)+-1+((b|0)/2|0)|0))}function Kp(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,g=0.0,h=0,i=0.0,j=0,k=0,l=0,m=0.0,n=0,o=0,p=0,q=0,r=0;r=zb;zb=zb+16|0;e=r;if((b|0)<=0){q=bg(bg(WE(bg(bg(bg(56880,33951)|0,33980)|0,35722)|0,53)|0,35729)|0,34091)|0;PE(e,q+(c[(c[q>>2]|0)+-12>>2]|0)|0);p=cG(e,57584)|0;p=Hb[c[(c[p>>2]|0)+28>>2]&63](p,10)|0;dG(e);XE(q,p)|0;TE(q)|0;va()}if((d|0)<=0){q=bg(bg(WE(bg(bg(bg(56880,34110)|0,33980)|0,35722)|0,54)|0,35729)|0,34139)|0;PE(e,q+(c[(c[q>>2]|0)+-12>>2]|0)|0);p=cG(e,57584)|0;p=Hb[c[(c[p>>2]|0)+28>>2]&63](p,10)|0;dG(e);XE(q,p)|0;TE(q)|0;va()}q=d+-1|0;o=a+(q<<2)|0;p=0;n=b+-1|0;while(1){m=+f[o>>2];if((p|0)>=(n|0))break;e=p;b=n;do{while(1){j=a+(e<<2)|0;i=+f[j>>2];k=e+1|0;if(i>2];b=l+-1|0;if(m(l|0))b=l;else{f[j>>2]=g;f[h>>2]=i;e=k}}while((e|0)<=(b|0));p=(b|0)<(q|0)?e:p;n=(e|0)<(d|0)?n:b}zb=r;return +m}function Lp(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0,g=0,h=0;f[b>>2]=0.0;c[d>>2]=-1;e=0.0;a=a+100|0;while(1){a=c[a>>2]|0;if(!a)break;g=a;h=g+12|0;if(e<+((c[h>>2]|0)>>>0)){c[d>>2]=c[g+8>>2];e=+((c[h>>2]|0)>>>0);f[b>>2]=e}}return}function Mp(a){a=a|0;qo(a,1760,12);qo(a+48|0,1808,12);qo(a+96|0,1856,12);qo(a+144|0,1904,12);qo(a+192|0,1952,12);qo(a+240|0,2e3,12);f[a+288>>2]=.10000000149011612;f[a+292>>2]=.17499999701976776;f[a+296>>2]=.25;f[a+300>>2]=.32499998807907104;f[a+304>>2]=.4000000059604645;f[a+308>>2]=.4749999940395355;f[a+312>>2]=.550000011920929;f[a+316>>2]=7.0;return}function Np(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;lm(b,96);Op(b,((c[e+4>>2]|0)-(c[e>>2]|0)|0)/20|0);Pp(b,d,e,a,a+48|0,a+96|0,a+144|0,a+192|0,a+240|0,+f[a+288>>2],+f[a+292>>2],+f[a+296>>2],+f[a+300>>2],+f[a+304>>2],+f[a+308>>2],+f[a+312>>2],+f[a+316>>2]);return}function Op(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;e=zb;zb=zb+16|0;f=e;g=C(c[b>>2]|0,d)|0;a[f>>0]=0;aq(b+4|0,g,f);nm(b+16|0,d);zb=e;return}function Pp(b,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=+l;m=+m;n=+n;o=+o;p=+p;q=+q;r=+r;s=+s;var t=0,u=0,v=0,w=0,x=0,y=0,z=0;z=zb;zb=zb+16|0;y=z;if(!d){x=bg(bg(WE(bg(bg(bg(56880,34158)|0,34189)|0,35722)|0,537)|0,35729)|0,34296)|0;PE(y,x+(c[(c[x>>2]|0)+-12>>2]|0)|0);w=cG(y,57584)|0;w=Hb[c[(c[w>>2]|0)+28>>2]&63](w,10)|0;dG(y);XE(x,w)|0;TE(x)|0;va()}w=Gk(b)|0;x=e+4|0;u=c[x>>2]|0;t=c[e>>2]|0;if((w|0)!=((u-t|0)/20|0|0)){w=bg(bg(WE(bg(bg(bg(56880,34312)|0,34189)|0,35722)|0,538)|0,35729)|0,34365)|0;PE(y,w+(c[(c[w>>2]|0)+-12>>2]|0)|0);v=cG(y,57584)|0;v=Hb[c[(c[v>>2]|0)+28>>2]&63](v,10)|0;dG(y);XE(w,v)|0;TE(w)|0;va()}w=0;v=0;while(1){t=(u-t|0)/20|0;if(w>>>0>=t>>>0)break;u=Qp(b,v)|0;if(Rp(u,d,(c[e>>2]|0)+(w*20|0)|0,f,g,h,i,j,k,l,m,n,o,p,q,r,s)|0){t=(c[e>>2]|0)+(w*20|0)|0;u=Sp(b,v)|0;c[u>>2]=c[t>>2];c[u+4>>2]=c[t+4>>2];c[u+8>>2]=c[t+8>>2];c[u+12>>2]=c[t+12>>2];a[u+16>>0]=a[t+16>>0]|0;v=v+1|0}t=c[e>>2]|0;u=c[x>>2]|0;w=w+1|0}if((v|0)==(t|0)){Op(b,v);zb=z;return}else{z=bg(bg(WE(bg(bg(bg(56880,34402)|0,34189)|0,35722)|0,617)|0,35729)|0,34453)|0;PE(y,z+(c[(c[z>>2]|0)+-12>>2]|0)|0);b=cG(y,57584)|0;b=Hb[c[(c[b>>2]|0)+28>>2]&63](b,10)|0;dG(y);XE(z,b)|0;TE(z)|0;va()}}function Qp(a,b){a=a|0;b=b|0;b=C(c[a>>2]|0,b)|0;return (c[a+4>>2]|0)+b|0}function Rp(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=+j;k=+k;l=+l;m=+m;n=+n;o=+o;p=+p;q=+q;var r=0,s=0;s=zb;zb=zb+160|0;r=s;if(Tp(r,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q)|0){Up(a,r);a=1}else a=0;zb=s;return a|0}function Sp(a,b){a=a|0;b=b|0;return (c[a+16>>2]|0)+(b*20|0)|0}function Tp(a,b,d,e,g,h,i,j,k,l,m,n,o,p,q,r,s){a=a|0;b=b|0;d=d|0;e=e|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=+l;m=+m;n=+n;o=+o;p=+p;q=+q;r=+r;s=+s;var t=0,u=0,v=0,w=0.0,x=0.0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0;t=zb;zb=zb+336|0;aa=t+288|0;y=t+240|0;D=t+192|0;I=t+144|0;N=t+96|0;S=t+48|0;X=t;v=t+328|0;u=t+324|0;x=+f[d+12>>2]*s;x=x<1.0?1.0:x;Wp(aa,+f[d>>2],+f[d+4>>2],+f[d+8>>2],x);w=+f[aa+8>>2];s=+f[aa+20>>2];Xp(y,aa,e);C=y+8|0;Xp(C,aa,e+8|0);B=y+16|0;Xp(B,aa,e+16|0);A=y+24|0;Xp(A,aa,e+24|0);z=y+32|0;Xp(z,aa,e+32|0);d=y+40|0;Xp(d,aa,e+40|0);Xp(D,aa,g);H=D+8|0;Xp(H,aa,g+8|0);G=D+16|0;Xp(G,aa,g+16|0);F=D+24|0;Xp(F,aa,g+24|0);E=D+32|0;Xp(E,aa,g+32|0);e=D+40|0;Xp(e,aa,g+40|0);Xp(I,aa,h);M=I+8|0;Xp(M,aa,h+8|0);L=I+16|0;Xp(L,aa,h+16|0);K=I+24|0;Xp(K,aa,h+24|0);J=I+32|0;Xp(J,aa,h+32|0);g=I+40|0;Xp(g,aa,h+40|0);Xp(N,aa,i);R=N+8|0;Xp(R,aa,i+8|0);Q=N+16|0;Xp(Q,aa,i+16|0);P=N+24|0;Xp(P,aa,i+24|0);O=N+32|0;Xp(O,aa,i+32|0);h=N+40|0;Xp(h,aa,i+40|0);Xp(S,aa,j);W=S+8|0;Xp(W,aa,j+8|0);V=S+16|0;Xp(V,aa,j+16|0);U=S+24|0;Xp(U,aa,j+24|0);T=S+32|0;Xp(T,aa,j+32|0);i=S+40|0;Xp(i,aa,j+40|0);Xp(X,aa,k);$=X+8|0;Xp($,aa,k+8|0);_=X+16|0;Xp(_,aa,k+16|0);Z=X+24|0;Xp(Z,aa,k+24|0);Y=X+32|0;Xp(Y,aa,k+32|0);j=X+40|0;Xp(j,aa,k+40|0);Yp(b,v,u,x*r);f[a>>2]=+Zp(b,+f[X>>2],+f[X+4>>2],c[v>>2]|0,c[u>>2]|0);f[a+4>>2]=+Zp(b,+f[$>>2],+f[X+12>>2],c[v>>2]|0,c[u>>2]|0);f[a+8>>2]=+Zp(b,+f[_>>2],+f[X+20>>2],c[v>>2]|0,c[u>>2]|0);f[a+12>>2]=+Zp(b,+f[Z>>2],+f[X+28>>2],c[v>>2]|0,c[u>>2]|0);f[a+16>>2]=+Zp(b,+f[Y>>2],+f[X+36>>2],c[v>>2]|0,c[u>>2]|0);f[a+20>>2]=+Zp(b,+f[j>>2],+f[X+44>>2],c[v>>2]|0,c[u>>2]|0);Yp(b,v,u,x*q);f[a+24>>2]=+Zp(b,+f[S>>2],+f[S+4>>2],c[v>>2]|0,c[u>>2]|0);f[a+28>>2]=+Zp(b,+f[W>>2],+f[S+12>>2],c[v>>2]|0,c[u>>2]|0);f[a+32>>2]=+Zp(b,+f[V>>2],+f[S+20>>2],c[v>>2]|0,c[u>>2]|0);f[a+36>>2]=+Zp(b,+f[U>>2],+f[S+28>>2],c[v>>2]|0,c[u>>2]|0);f[a+40>>2]=+Zp(b,+f[T>>2],+f[S+36>>2],c[v>>2]|0,c[u>>2]|0);f[a+44>>2]=+Zp(b,+f[i>>2],+f[S+44>>2],c[v>>2]|0,c[u>>2]|0);Yp(b,v,u,x*p);f[a+48>>2]=+Zp(b,+f[N>>2],+f[N+4>>2],c[v>>2]|0,c[u>>2]|0);f[a+52>>2]=+Zp(b,+f[R>>2],+f[N+12>>2],c[v>>2]|0,c[u>>2]|0);f[a+56>>2]=+Zp(b,+f[Q>>2],+f[N+20>>2],c[v>>2]|0,c[u>>2]|0);f[a+60>>2]=+Zp(b,+f[P>>2],+f[N+28>>2],c[v>>2]|0,c[u>>2]|0);f[a+64>>2]=+Zp(b,+f[O>>2],+f[N+36>>2],c[v>>2]|0,c[u>>2]|0);f[a+68>>2]=+Zp(b,+f[h>>2],+f[N+44>>2],c[v>>2]|0,c[u>>2]|0);Yp(b,v,u,x*o);f[a+72>>2]=+Zp(b,+f[I>>2],+f[I+4>>2],c[v>>2]|0,c[u>>2]|0);f[a+76>>2]=+Zp(b,+f[M>>2],+f[I+12>>2],c[v>>2]|0,c[u>>2]|0);f[a+80>>2]=+Zp(b,+f[L>>2],+f[I+20>>2],c[v>>2]|0,c[u>>2]|0);f[a+84>>2]=+Zp(b,+f[K>>2],+f[I+28>>2],c[v>>2]|0,c[u>>2]|0);f[a+88>>2]=+Zp(b,+f[J>>2],+f[I+36>>2],c[v>>2]|0,c[u>>2]|0);f[a+92>>2]=+Zp(b,+f[g>>2],+f[I+44>>2],c[v>>2]|0,c[u>>2]|0);Yp(b,v,u,x*n);f[a+96>>2]=+Zp(b,+f[D>>2],+f[D+4>>2],c[v>>2]|0,c[u>>2]|0);f[a+100>>2]=+Zp(b,+f[H>>2],+f[D+12>>2],c[v>>2]|0,c[u>>2]|0);f[a+104>>2]=+Zp(b,+f[G>>2],+f[D+20>>2],c[v>>2]|0,c[u>>2]|0);f[a+108>>2]=+Zp(b,+f[F>>2],+f[D+28>>2],c[v>>2]|0,c[u>>2]|0);f[a+112>>2]=+Zp(b,+f[E>>2],+f[D+36>>2],c[v>>2]|0,c[u>>2]|0);f[a+116>>2]=+Zp(b,+f[e>>2],+f[D+44>>2],c[v>>2]|0,c[u>>2]|0);Yp(b,v,u,x*m);f[a+120>>2]=+Zp(b,+f[y>>2],+f[y+4>>2],c[v>>2]|0,c[u>>2]|0);f[a+124>>2]=+Zp(b,+f[C>>2],+f[y+12>>2],c[v>>2]|0,c[u>>2]|0);f[a+128>>2]=+Zp(b,+f[B>>2],+f[y+20>>2],c[v>>2]|0,c[u>>2]|0);f[a+132>>2]=+Zp(b,+f[A>>2],+f[y+28>>2],c[v>>2]|0,c[u>>2]|0);f[a+136>>2]=+Zp(b,+f[z>>2],+f[y+36>>2],c[v>>2]|0,c[u>>2]|0);f[a+140>>2]=+Zp(b,+f[d>>2],+f[y+44>>2],c[v>>2]|0,c[u>>2]|0);Yp(b,v,u,x*l);f[a+144>>2]=+Zp(b,w,s,c[v>>2]|0,c[u>>2]|0);zb=t;return 1}function Up(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0;Ol(a,84);c=0;h=36;i=35;j=36;k=0;while(1){if((c|0)==37)break;g=c+1|0;c=b+(c<<2)|0;d=g;e=k;while(1){if((e|0)==(j|0))break;Vp(a,e,+f[c>>2]<+f[b+(d<<2)>>2]&1);d=d+1|0;e=e+1|0}e=k+h|0;d=j+i|0;c=g;h=h+-1|0;i=i+-1|0;j=d;k=e}return}function Vp(b,c,e){b=b|0;c=c|0;e=e|0;b=b+((c|0)/8|0)|0;a[b>>0]=(e&255)<<(c&7)|(d[b>>0]|0);return}function Wp(a,b,c,d,e){a=a|0;b=+b;c=+c;d=+d;e=+e;var g=0.0;g=+w(+d)*e;e=+x(+d)*e;f[a>>2]=g;f[a+4>>2]=-e;f[a+8>>2]=b;f[a+12>>2]=e;f[a+16>>2]=g;f[a+20>>2]=c;f[a+24>>2]=0.0;f[a+28>>2]=0.0;f[a+32>>2]=1.0;return}function Xp(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=c+4|0;f[a>>2]=+f[b+8>>2]+(+f[b>>2]*+f[c>>2]+ +f[b+4>>2]*+f[d>>2]);f[a+4>>2]=+f[b+20>>2]+(+f[b+12>>2]*+f[c>>2]+ +f[b+16>>2]*+f[d>>2]);return}function Yp(a,b,d,e){a=a|0;b=b|0;d=d|0;e=+e;var g=0,h=0,i=0,j=0,k=0,l=0,m=0;m=zb;zb=zb+16|0;l=m;h=~~+s(+(+Ui(e)));c[b>>2]=h;e=+A(+(e/+(1<>2]*e);c[d>>2]=h;j=a+20|0;if(((c[j>>2]|0)+-1|0)==(h|0)){c[b>>2]=(c[b>>2]|0)+1;c[d>>2]=0;h=0}g=c[b>>2]|0;if((g|0)>=0){i=c[a+16>>2]|0;if((g|0)>=(i|0)){c[b>>2]=i+-1;g=(c[j>>2]|0)+-1|0;k=7}}else{c[b>>2]=0;g=0;k=7}if((k|0)==7){c[d>>2]=g;h=g}g=c[b>>2]|0;if((g|0)<=-1){k=bg(bg(WE(bg(bg(bg(56880,34473)|0,34508)|0,35722)|0,268)|0,35729)|0,34639)|0;PE(l,k+(c[(c[k>>2]|0)+-12>>2]|0)|0);b=cG(l,57584)|0;b=Hb[c[(c[b>>2]|0)+28>>2]&63](b,10)|0;dG(l);XE(k,b)|0;TE(k)|0;va()}if((g|0)>=(c[a+16>>2]|0)){a=bg(bg(WE(bg(bg(bg(56880,34663)|0,34508)|0,35722)|0,269)|0,35729)|0,34707)|0;PE(l,a+(c[(c[a>>2]|0)+-12>>2]|0)|0);k=cG(l,57584)|0;k=Hb[c[(c[k>>2]|0)+28>>2]&63](k,10)|0;dG(l);XE(a,k)|0;TE(a)|0;va()}if((h|0)<=-1){a=bg(bg(WE(bg(bg(bg(56880,34750)|0,34508)|0,35722)|0,270)|0,35729)|0,34784)|0;PE(l,a+(c[(c[a>>2]|0)+-12>>2]|0)|0);k=cG(l,57584)|0;k=Hb[c[(c[k>>2]|0)+28>>2]&63](k,10)|0;dG(l);XE(a,k)|0;TE(a)|0;va()}if((h|0)<(c[j>>2]|0)){zb=m;return}else{m=bg(bg(WE(bg(bg(bg(56880,34807)|0,34508)|0,35722)|0,271)|0,35729)|0,34858)|0;PE(l,m+(c[(c[m>>2]|0)+-12>>2]|0)|0);a=cG(l,57584)|0;a=Hb[c[(c[a>>2]|0)+28>>2]&63](a,10)|0;dG(l);XE(m,a)|0;TE(m)|0;va()}}function Zp(a,b,c,d,e){a=a|0;b=+b;c=+c;d=d|0;e=e|0;var g=0,h=0,i=0;g=zb;zb=zb+16|0;i=g+4|0;h=g;e=Rg(a,d,e)|0;si(i,h,b,c,d);c=+_p(e,+f[i>>2],+f[h>>2]);zb=g;return +c}function _p(a,b,c){a=a|0;b=+b;c=+c;return +(+$p(a,b,c))}function $p(a,b,c){a=a|0;b=+b;c=+c;b=+di(b,0.0,+(((Tg(a)|0)+-2|0)>>>0));return +(+Ii(a,b,+di(c,0.0,+(((Ug(a)|0)+-2|0)>>>0))))}function aq(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;f=a+4|0;e=c[a>>2]|0;g=(c[f>>2]|0)-e|0;if(g>>>0>=b>>>0){if(g>>>0>b>>>0)c[f>>2]=e+b}else bq(a,b-g|0,d);return}function bq(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;k=zb;zb=zb+32|0;h=k;i=b+8|0;j=b+4|0;f=c[j>>2]|0;do if(((c[i>>2]|0)-f|0)>>>0>>0){f=f-(c[b>>2]|0)+d|0;g=sg(b)|0;if(g>>>0>>0)LO(b);else{l=c[b>>2]|0;m=(c[i>>2]|0)-l|0;i=m<<1;tg(h,m>>>0>>1>>>0?(i>>>0>>0?f:i):g,(c[j>>2]|0)-l|0,b+8|0);cq(h,d,e);ug(b,h);vg(h);break}}else do{a[f>>0]=a[e>>0]|0;f=(c[j>>2]|0)+1|0;c[j>>2]=f;d=d+-1|0}while((d|0)!=0);while(0);zb=k;return}function cq(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;g=b+8|0;f=c[g>>2]|0;b=d;do{a[f>>0]=a[e>>0]|0;f=(c[g>>2]|0)+1|0;c[g>>2]=f;b=b+-1|0}while((b|0)!=0);return}function dq(a){a=a|0;var b=0,d=0,e=0;b=zb;zb=zb+272|0;e=b+256|0;d=b;Ua(e|0)|0;Sa(d|0,256,34909,Pa(e|0)|0)|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;nO(a,d,cg(d)|0);zb=b;return}function eq(a){a=a|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;c[a+20>>2]=0;c[a+24>>2]=0;c[a+28>>2]=0;return}function fq(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;i=zb;zb=zb+16|0;h=i;c[a>>2]=c[b>>2];c[a+4>>2]=c[b+4>>2];c[a+8>>2]=c[b+8>>2];c[a+12>>2]=c[b+12>>2];c[a+16>>2]=c[b+16>>2];c[a+20>>2]=c[b+20>>2];g=a+24|0;f=c[b+24>>2]|0;c[h>>2]=f;e=h+4|0;b=c[b+28>>2]|0;c[e>>2]=b;if(!b){d=e;b=0}else{d=b+4|0;c[d>>2]=(c[d>>2]|0)+1;d=e;b=c[e>>2]|0}c[h>>2]=c[g>>2];c[g>>2]=f;a=a+28|0;c[d>>2]=c[a>>2];c[a>>2]=b;gq(h);zb=i;return}function gq(a){a=a|0;var b=0,d=0;a=c[a+4>>2]|0;if(a|0?(d=a+4|0,b=c[d>>2]|0,c[d>>2]=b+-1,(b|0)==0):0){Rb[c[(c[a>>2]|0)+8>>2]&255](a);fO(a)}return}function hq(a,b){a=a|0;b=b|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;c[a+20>>2]=0;c[a+24>>2]=0;c[a+28>>2]=0;fq(a,b);return}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,l=0,m=0,n=0,o=0;l=zb;zb=zb+32|0;j=l+16|0;k=l+8|0;i=l;if(!d){h=bg(bg(WE(bg(bg(bg(56880,34927)|0,34960)|0,35722)|0,127)|0,35729)|0,35070)|0;PE(j,h+(c[(c[h>>2]|0)+-12>>2]|0)|0);m=cG(j,57584)|0;m=Hb[c[(c[m>>2]|0)+28>>2]&63](m,10)|0;dG(j);XE(h,m)|0;TE(h)|0;va()}if(!e){m=bg(bg(WE(bg(bg(bg(56880,35091)|0,34960)|0,35722)|0,128)|0,35729)|0,35125)|0;PE(j,m+(c[(c[m>>2]|0)+-12>>2]|0)|0);h=cG(j,57584)|0;h=Hb[c[(c[h>>2]|0)+28>>2]&63](h,10)|0;dG(j);XE(m,h)|0;TE(m)|0;va()}if(f>>>0>>0){m=bg(bg(WE(bg(bg(bg(56880,35147)|0,34960)|0,35722)|0,129)|0,35729)|0,35184)|0;PE(j,m+(c[(c[m>>2]|0)+-12>>2]|0)|0);h=cG(j,57584)|0;h=Hb[c[(c[h>>2]|0)+28>>2]&63](h,10)|0;dG(j);XE(m,h)|0;TE(m)|0;va()}if(!g){m=bg(bg(WE(bg(bg(bg(56880,35229)|0,34960)|0,35722)|0,130)|0,35729)|0,35265)|0;PE(j,m+(c[(c[m>>2]|0)+-12>>2]|0)|0);h=cG(j,57584)|0;h=Hb[c[(c[h>>2]|0)+28>>2]&63](h,10)|0;dG(j);XE(m,h)|0;TE(m)|0;va()}if((f|0)<0)f=C(C(g,d)|0,jq(b)|0)|0;c[a+12>>2]=f;h=C(f,e)|0;f=a+20|0;if((c[f>>2]|0)!=(h|0)?(m=a+24|0,o=BB(h)|0,c[i>>2]=0,c[j>>2]=c[i>>2],kq(k,o,j),o=c[k>>2]|0,c[k>>2]=c[m>>2],c[m>>2]=o,o=k+4|0,i=a+28|0,n=c[o>>2]|0,c[o>>2]=c[i>>2],c[i>>2]=n,gq(k),(c[m>>2]|0)==0):0){o=bg(bg(WE(bg(bg(bg(56880,35299)|0,34960)|0,35722)|0,149)|0,35729)|0,35334)|0;PE(j,o+(c[(c[o>>2]|0)+-12>>2]|0)|0);n=cG(j,57584)|0;n=Hb[c[(c[n>>2]|0)+28>>2]&63](n,10)|0;dG(j);XE(o,n)|0;TE(o)|0;va()}c[a>>2]=b;c[a+4>>2]=d;c[a+8>>2]=e;c[a+16>>2]=g;c[f>>2]=h;zb=l;return}function jq(a){a=a|0;var b=0,d=0;d=zb;zb=zb+16|0;b=d;switch(a|0){case 1:break;case 2:{a=4;break}default:{d=P(16)|0;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;nO(b,35458,cg(35458)|0);sj(d,b);R(d|0,13208,5)}}zb=d;return a|0}function kq(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;d=zb;zb=zb+16|0;e=d;c[a>>2]=b;f=AB(16)|0;c[f+4>>2]=0;c[f+8>>2]=0;c[f>>2]=15768;c[f+12>>2]=b;c[a+4>>2]=f;c[e>>2]=b;c[e+4>>2]=b;lq(a,e);zb=d;return}function lq(a,b){a=a|0;b=b|0;return}function mq(a){a=a|0;eO(a);ZA(a);return}function nq(a){a=a|0;ZA(c[a+12>>2]|0);return}function oq(a,b){a=a|0;b=b|0;return ((c[b+4>>2]|0)==35355?a+12|0:0)|0}function pq(a){a=a|0;Vf(a,16);return}function qq(b,d,e,f,g,h,i){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0;j=zb;zb=zb+16|0;k=j+8|0;l=j+4|0;m=j;c[b>>2]=e;c[b+4>>2]=f;c[b+8>>2]=g;c[b+16>>2]=i;c[b+20>>2]=C(h,g)|0;c[m>>2]=0;a[l>>0]=a[j+12>>0]|0;c[k>>2]=c[m>>2];rq(b+24|0,d,l,k);if((h|0)<0)h=C(C(i,f)|0,jq(e)|0)|0;c[b+12>>2]=h;zb=j;return}function rq(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;d=zb;zb=zb+16|0;e=d;c[a>>2]=b;f=AB(16)|0;c[f+4>>2]=0;c[f+8>>2]=0;c[f>>2]=15796;c[f+12>>2]=b;c[a+4>>2]=f;c[e>>2]=b;c[e+4>>2]=b;lq(a,e);zb=d;return}function sq(a,b){a=a|0;b=b|0;return}function tq(a){a=a|0;eO(a);ZA(a);return}function uq(a){a=a|0;a=a+12|0;sq(a,c[a>>2]|0);return}function vq(a,b){a=a|0;b=b|0;return ((c[b+4>>2]|0)==35477?a+12|0:0)|0}function wq(a){a=a|0;Vf(a,16);return}function xq(a){a=a|0;gq(a+24|0);return}function yq(a){a=a|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;return}function zq(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;f=a+4|0;g=0;while(1){e=c[a>>2]|0;if(g>>>0>=(c[f>>2]|0)-e>>3>>>0)break;e=c[e+(g<<3)>>2]|0;Vb[c[(c[e>>2]|0)+8>>2]&3](e,b,d);g=g+1|0}return}function Aq(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=zb;zb=zb+48|0;i=f;h=f+28|0;g=f+16|0;c[i>>2]=e;c[g>>2]=0;c[g+4>>2]=0;c[g+8>>2]=0;nO(g,d,cg(d)|0);Bq(h,g,i);zq(a,b,h);qO(h);qO(g);zb=f;return}function Bq(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;f=zb;zb=zb+2048|0;g=f;hy(g,2048,(a[d+11>>0]|0)<0?c[d>>2]|0:d,e)|0;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;nO(b,g,cg(g)|0);zb=f;return}function Cq(a){a=a|0;g[a>>3]=-1.0;g[a+8>>3]=-1.0;return}function Dq(a){a=a|0;var b=0,d=0;b=zb;zb=zb+16|0;d=b;La(d|0,0)|0;g[a>>3]=+(c[d+4>>2]|0)*1.0e-06+ +(c[d>>2]|0);zb=b;return}function Eq(a){a=a|0;var b=0,d=0;d=zb;zb=zb+16|0;b=d;if(!(+g[a>>3]>=0.0)){d=bg(bg(WE(bg(bg(bg(56880,35572)|0,35611)|0,35722)|0,67)|0,35729)|0,35732)|0;PE(b,d+(c[(c[d>>2]|0)+-12>>2]|0)|0);a=cG(b,57584)|0;a=Hb[c[(c[a>>2]|0)+28>>2]&63](a,10)|0;dG(b);XE(d,a)|0;TE(d)|0;va()}else{La(b|0,0)|0;g[a+8>>3]=+(c[b+4>>2]|0)*1.0e-06+ +(c[b>>2]|0);zb=d;return}}function Fq(a){a=a|0;var b=0.0,d=0.0,e=0,f=0,h=0,i=0;f=zb;zb=zb+16|0;e=f;d=+g[a>>3];if(!(d>=0.0)){h=bg(bg(WE(bg(bg(bg(56880,35572)|0,35611)|0,35722)|0,80)|0,35729)|0,35732)|0;PE(e,h+(c[(c[h>>2]|0)+-12>>2]|0)|0);i=cG(e,57584)|0;i=Hb[c[(c[i>>2]|0)+28>>2]&63](i,10)|0;dG(e);XE(h,i)|0;TE(h)|0;va()}b=+g[a+8>>3];if(!(b>=0.0)){i=bg(bg(WE(bg(bg(bg(56880,35759)|0,35611)|0,35722)|0,81)|0,35729)|0,35797)|0;PE(e,i+(c[(c[i>>2]|0)+-12>>2]|0)|0);h=cG(e,57584)|0;h=Hb[c[(c[h>>2]|0)+28>>2]&63](h,10)|0;dG(e);XE(i,h)|0;TE(i)|0;va()}else{zb=f;return +(b-d)}return +(0.0)}function Gq(a){a=a|0;return +(+Fq(a)*1.0e3)}function Hq(a,b){a=a|0;b=b|0;var d=0;Cq(a);d=a+16|0;c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;nO(d,b,cg(b)|0);Dq(a);return}function Iq(b){b=b|0;var d=0,e=0,f=0,h=0,i=0,j=0,k=0,l=0.0;k=zb;zb=zb+48|0;j=k;i=k+24|0;Eq(b);d=Ek()|0;dq(i);e=(a[i+11>>0]|0)<0?c[i>>2]|0:i;h=b+16|0;if((a[h+11>>0]|0)<0)f=c[h>>2]|0;else f=h;l=+Gq(b);c[j>>2]=35851;c[j+4>>2]=e;c[j+8>>2]=35859;c[j+12>>2]=f;g[j+16>>3]=l;Aq(d,8,35824,j);qO(i);qO(h);zb=k;return}function Jq(){Kq();Lq();Mq();return}function Kq(){c[14083]=0;c[14084]=0;c[14085]=0;c[14086]=0;c[14087]=1065353216;return}function Lq(){c[14088]=0;c[14089]=0;c[14090]=0;c[14091]=0;c[14092]=1065353216;return}function Mq(){Nq(0);return}function Nq(a){a=a|0;var b=0;a=zb;zb=zb+16|0;b=a;Pq(35895,26);Rq(35901,67);Rq(35910,68);Uq(35919,20);Uq(35930,21);Uq(35946,22);Yq(35960,23);Rq(35978,69);$q(35998,70);Pq(36010,27);Yq(36027,24);Pq(36047,28);Pq(36065,29);Yq(36087,25);Yq(36110,26);Rq(36139,71);Rq(36152,72);Rq(36165,73);Pq(36181,30);Yq(36200,27);Yq(36210,28);Yq(36223,29);Rq(36236,74);Rq(36249,75);qr(36268,114);sr(36280,1);ur(36292,1);wr(36315,1);ur(36338,2);wr(36360,2);Ar(36382,40);Rq(36399,76);Ar(36416,41);Rq(36429,77);Ar(36442,42);Rq(36466,78);Hr(36490,3);wr(36503,3);Ar(36516,43);Rq(36534,79);Ar(36552,44);Rq(36568,80);Ar(36584,45);Rq(36601,81);Pr(36618,15816);Pr(36647,15820);Pr(36675,15824);c[b>>2]=0;Pr(36708,b);c[b>>2]=1;Pr(36725,b);c[b>>2]=0;Pr(36741,b);c[b>>2]=0;Pr(36763,b);c[b>>2]=1;Pr(36788,b);c[b>>2]=1;Pr(36813,b);c[b>>2]=100;Pr(36838,b);c[b>>2]=0;Pr(36865,b);c[b>>2]=1;Pr(36891,b);c[b>>2]=0;Pr(36917,b);c[b>>2]=0;Pr(36944,b);c[b>>2]=1;Pr(36971,b);c[b>>2]=2;Pr(36997,b);c[b>>2]=3;Pr(37022,b);c[b>>2]=4;Pr(37060,b);c[b>>2]=0;Pr(37097,b);c[b>>2]=0;Pr(37131,b);c[b>>2]=1;Pr(37155,b);c[b>>2]=2;Pr(37181,b);c[b>>2]=2;Pr(37208,b);c[b>>2]=5;Pr(37242,b);g[b>>3]=.5;Qr(37260,b);c[b>>2]=0;Pr(37281,b);c[b>>2]=1;Pr(37300,b);c[b>>2]=2;Pr(37318,b);c[b>>2]=3;Pr(37336,b);c[b>>2]=4;Pr(37355,b);c[b>>2]=3;Pr(37377,b);c[b>>2]=515;Pr(37396,b);c[b>>2]=259;Pr(37425,b);c[b>>2]=4;Pr(37453,b);c[b>>2]=772;Pr(37472,b);c[b>>2]=1028;Pr(37502,b);c[b>>2]=0;Pr(37532,b);c[b>>2]=1;Pr(37563,b);c[b>>2]=2;Pr(37599,b);c[b>>2]=3;Pr(37633,b);c[b>>2]=0;Pr(37671,b);c[b>>2]=1;Pr(37704,b);c[b>>2]=2;Pr(37751,b);c[b>>2]=3;Pr(37793,b);c[b>>2]=4;Pr(37836,b);c[b>>2]=5;Pr(37888,b);c[b>>2]=6;Pr(37939,b);c[b>>2]=7;Pr(37984,b);c[b>>2]=8;Pr(38023,b);c[b>>2]=9;Pr(38068,b);g[b>>3]=30.0;Qr(38131,b);g[b>>3]=15.0;Qr(38171,b);zb=a;return}function Oq(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;i=zb;zb=zb+16|0;h=i+8|0;g=i+12|0;f=c[14094]|0;c[14094]=f+1;c[g>>2]=f;f=_r(56332,g)|0;c[f>>2]=c[g>>2];c[f+208>>2]=a;c[f+212>>2]=b;e=C(a<<2,b)|0;a=f+200|0;c[a>>2]=e;b=f+196|0;c[b>>2]=MO(e)|0;e=f+204|0;c[e>>2]=MO((c[a>>2]|0)/4|0)|0;j=kd()|0;c[f+220>>2]=j;if(!j)_e(0,3,42196,i);Ft(c[g>>2]|0,d)|0;c[h>>2]=c[a>>2];_e(0,1,42233,h);Aa(0,c[f>>2]|0,c[b>>2]|0,c[a>>2]|0,f+368|0,52208,c[e>>2]|0)|0;zb=i;return c[f>>2]|0}function Pq(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=zb;zb=zb+16|0;d=c;e=At(d)|0;d=Bt(d)|0;la(a|0,e|0,d|0,Ct()|0,8,b|0);zb=c;return}function Qq(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;g=zb;zb=zb+16|0;d=g;c[d>>2]=a;if(!(Zr(56332,d)|0))a=-1;else{f=_r(56332,d)|0;b=f+196|0;a=c[b>>2]|0;if(a|0){NO(a);c[b>>2]=0;c[f+200>>2]=0}wt(f);md(c[f+220>>2]|0)|0;xt(56332,d)|0;e=f+352|0;b=f+356|0;d=0;while(1){a=c[e>>2]|0;if(d>>>0>=(c[b>>2]|0)-a>>3>>>0)break;Ue(c[a+(d<<3)+4>>2]|0)|0;d=d+1|0}ds(e);ZA(e);cs(f);ZA(f);a=0}zb=g;return a|0}function Rq(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=zb;zb=zb+16|0;d=c;e=st(d)|0;d=tt(d)|0;la(a|0,e|0,d|0,Us()|0,30,b|0);zb=c;return}function Sq(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;g=zb;zb=zb+16|0;f=g;b=g+4|0;c[b>>2]=a;if(!(Zr(56332,b)|0))a=-1;else{a=_r(56332,b)|0;e=a+192|0;b=Ht(c[e>>2]|0,c[a+496>>2]|0)|0;d=a+236|0;c[d>>2]=b;if(!b){_e(0,3,42165,f);a=a+232|0;Rf(a)|0;b=c[d>>2]|0}else a=a+232|0;cf(b,5.0)|0;bf(c[d>>2]|0,.5)|0;ef(c[d>>2]|0,16)|0;df(c[d>>2]|0,6)|0;ff(c[d>>2]|0,6)|0;gf(c[d>>2]|0,6)|0;c[a>>2]=rt(c[e>>2]|0)|0;a=0}zb=g;return a|0}function Tq(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;g=zb;zb=zb+16|0;f=g;e=g+4|0;c[e>>2]=b;do if(Zr(56332,e)|0){e=_r(56332,e)|0;if((a[d+11>>0]|0)<0)d=c[d>>2]|0;b=e+364|0;if(!(qt(d,b,e+220|0)|0)){_e(0,3,42075,f);d=-1;break}else{d=c[b>>2]|0;break}}else d=-1;while(0);zb=g;return d|0}function Uq(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=zb;zb=zb+16|0;d=c;e=mt(d)|0;d=nt(d)|0;la(a|0,e|0,d|0,ct()|0,31,b|0);zb=c;return}function Vq(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;j=zb;zb=zb+16|0;g=j+8|0;e=j+12|0;i=j;c[e>>2]=b;do if(!(Zr(56332,e)|0))d=-1;else{h=_r(56332,e)|0;if((a[d+11>>0]|0)<0)d=c[d>>2]|0;f=h+224|0;if(!(gt(d,c[h+216>>2]|0,h+220|0,f)|0)){_e(0,3,41999,g);d=-1;break}e=h+352|0;b=h+356|0;d=c[b>>2]|0;c[i>>2]=d-(c[e>>2]|0)>>3;c[i+4>>2]=c[f>>2];if((c[h+360>>2]|0)==(d|0))ht(e,i);else{f=i;g=c[f+4>>2]|0;h=d;c[h>>2]=c[f>>2];c[h+4>>2]=g;c[b>>2]=(c[b>>2]|0)+8}d=c[i>>2]|0}while(0);zb=j;return d|0}function Wq(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;i=zb;zb=zb+16|0;h=i;e=i+4|0;c[e>>2]=b;do if(Zr(56332,e)|0){f=_r(56332,e)|0;g=f+268|0;b=c[g>>2]|0;if((a[d+11>>0]|0)<0)e=c[d>>2]|0;else e=d;if(!(ft(f,b,e)|0)){_e(0,3,41684,h);b=-1;break}else{c[g>>2]=(c[g>>2]|0)+1;break}}else b=-1;while(0);zb=i;return b|0}function Xq(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;g=zb;zb=zb+16|0;f=g;c[f>>2]=a;if(((Zr(56332,f)|0)!=0?(e=_r(56332,f)|0,(b|0)>=0):0)?(d=c[e+352>>2]|0,(c[e+356>>2]|0)-d>>3>>>0>b>>>0):0)d=c[(c[d+(b<<3)+4>>2]|0)+4>>2]|0;else d=-1;zb=g;return d|0}function Yq(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=zb;zb=zb+16|0;d=c;e=at(d)|0;d=bt(d)|0;la(a|0,e|0,d|0,ct()|0,32,b|0);zb=c;return}function Zq(a){a=a|0;var b=0,d=0;d=zb;zb=zb+16|0;b=d;c[b>>2]=a;if(!(Zr(56332,b)|0))a=-1;else{a=_r(56332,b)|0;a=(c[a+356>>2]|0)-(c[a+352>>2]|0)>>3}zb=d;return a|0}function _q(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;i=zb;zb=zb+208|0;h=i+192|0;g=i+184|0;f=i;d=b+11|0;if((a[d>>0]|0)<0)e=c[b>>2]|0;else e=b;if((qe(e,1,f,g)|0)<0){if((a[d>>0]|0)<0)b=c[b>>2]|0;c[h>>2]=b;_e(0,3,41620,h);b=-1}else{b=c[14093]|0;c[14093]=b+1;c[g>>2]=b;fP(Ys(56352,g)|0,f|0,184)|0;b=c[g>>2]|0}zb=i;return b|0}function $q(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=zb;zb=zb+16|0;d=c;e=Ss(d)|0;d=Ts(d)|0;la(a|0,e|0,d|0,Us()|0,31,b|0);zb=c;return}function ar(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=zb;zb=zb+16|0;e=f;c[e>>2]=a;do if(Zr(56332,e)|0){a=c[(_r(56332,e)|0)+216>>2]|0;if((c[a+44>>2]|0)>(b|0)){c[((b|0)<0?55384:a+48+(b<<8)|0)+16>>2]=d;a=0;break}else{a=c[3956]|0;break}}else a=c[3954]|0;while(0);zb=f;return a|0}function br(a,b){a=a|0;b=b|0;var d=0,e=0,f=0.0,h=0.0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0,n=0.0;e=zb;zb=zb+16|0;d=e;c[d>>2]=a;do if(Zr(56332,d)|0){a=c[(_r(56332,d)|0)+216>>2]|0;if((c[a+44>>2]|0)>(b|0)){a=(b|0)<0?55384:a+48+(b<<8)|0;n=+g[6526];g[a+168>>3]=n;j=+g[6527];g[a+176>>3]=j;m=+g[6528];g[a+184>>3]=m;i=+g[6529];g[a+192>>3]=i;l=+g[6530];g[a+200>>3]=l;h=+g[6531];g[a+208>>3]=h;k=+g[6532];g[a+216>>3]=k;f=+g[6533];g[a+224>>3]=f;g[a+56>>3]=(n+m+l+k)*.25;g[a+64>>3]=(j+i+h+f)*.25;a=0;break}else{a=c[3956]|0;break}}else a=c[3954]|0;while(0);zb=e;return a|0}function cr(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=zb;zb=zb+16|0;e=f;c[e>>2]=a;do if(Zr(56332,e)|0){e=_r(56332,e)|0;a=c[e+216>>2]|0;if((c[a+44>>2]|0)>(b|0)){+Xc(c[e+228>>2]|0,(b|0)<0?55384:a+48+(b<<8)|0,+(d|0),52208);a=0;break}else{a=c[3956]|0;break}}else a=c[3954]|0;while(0);zb=f;return a|0}function dr(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=zb;zb=zb+16|0;e=f;c[e>>2]=a;do if(Zr(56332,e)|0){e=_r(56332,e)|0;a=c[e+216>>2]|0;if((c[a+44>>2]|0)>(b|0)){+Yc(c[e+228>>2]|0,(b|0)<0?55384:a+48+(b<<8)|0,52208,+(d|0),52208);a=0;break}else{a=c[3956]|0;break}}else a=c[3954]|0;while(0);zb=f;return a|0}function er(a,b){a=a|0;b=b|0;var d=0,e=0;e=zb;zb=zb+16|0;d=e;c[d>>2]=a;do if(Zr(56332,d)|0){d=_r(56332,d)|0;a=c[d+352>>2]|0;if((b|0)<0?1:(c[d+356>>2]|0)-a>>3>>>0<=b>>>0){a=c[3955]|0;break}else{a=c[a+(b<<3)+4>>2]|0;b=c[d+216>>2]|0;+Ve(c[d+228>>2]|0,b+48|0,c[b+44>>2]|0,a);Rs(a+8|0,52208);a=0;break}}else a=c[3954]|0;while(0);zb=e;return a|0}function fr(a,b){a=a|0;b=b|0;var d=0,e=0;e=zb;zb=zb+16|0;d=e;c[d>>2]=a;do if(Zr(56332,d)|0){d=_r(56332,d)|0;a=c[d+352>>2]|0;if((b|0)<0?1:(c[d+356>>2]|0)-a>>3>>>0<=b>>>0){a=c[3955]|0;break}else{a=c[a+(b<<3)+4>>2]|0;b=c[d+216>>2]|0;+Xe(c[d+228>>2]|0,b+48|0,c[b+44>>2]|0,a);Rs(a+8|0,52208);a=0;break}}else a=c[3954]|0;while(0);zb=e;return a|0}function gr(a){a=a|0;var b=0,d=0,e=0,f=0;f=zb;zb=zb+48|0;b=f+40|0;e=f;c[b>>2]=a;if(!(Zr(56332,b)|0))a=c[3954]|0;else{a=_r(56332,b)|0;b=e;d=b+40|0;do{c[b>>2]=0;b=b+4|0}while((b|0)<(d|0));c[e>>2]=c[a+196>>2];c[e+16>>2]=1;c[e+12>>2]=c[a+204>>2];a=Lc(c[a+216>>2]|0,e)|0}zb=f;return a|0}function hr(a){a=a|0;var b=0,d=0;d=zb;zb=zb+16|0;b=d;c[b>>2]=a;if(!(Zr(56332,b)|0))a=15816;else a=(c[(_r(56332,b)|0)+216>>2]|0)+44|0;zb=d;return c[a>>2]|0}function ir(a){a=a|0;var b=0,d=0;d=zb;zb=zb+16|0;b=d;c[b>>2]=a;if(Zr(56332,b)|0)_r(56332,b)|0;zb=d;return -1}function jr(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=zb;zb=zb+16|0;e=f;c[e>>2]=a;do if(Zr(56332,e)|0){e=_r(56332,e)|0;a=c[e+352>>2]|0;if((b|0)<0?1:(c[e+356>>2]|0)-a>>3>>>0<=b>>>0){a=c[3955]|0;break}a=c[a+(b<<3)+4>>2]|0;if((d|0)<0?1:(c[a+4>>2]|0)<=(d|0)){a=c[3956]|0;break}else{a=c[a>>2]|0;Rs(a+(d*320|0)+16|0,52208);za(1,c[a+(d*320|0)+304>>2]|0,c[a+(d*320|0)>>2]|0,c[a+(d*320|0)+4>>2]|0,+(+g[a+(d*320|0)+8>>3]))|0;a=0;break}}else a=c[3954]|0;while(0);zb=f;return a|0}function kr(a,b){a=a|0;b=b|0;var d=0,e=0;e=zb;zb=zb+16|0;d=e;c[d>>2]=a;do if(Zr(56332,d)|0){a=c[(_r(56332,d)|0)+216>>2]|0;if((c[a+44>>2]|0)>(b|0)){a=(b|0)<0?55384:a+48+(b<<8)|0;Ba(2,c[a>>2]|0,c[a+4>>2]|0,c[a+8>>2]|0,c[a+12>>2]|0,c[a+16>>2]|0,c[a+20>>2]|0,c[a+24>>2]|0,+(+g[a+32>>3]),+(+g[a+40>>3]),+(+g[a+48>>3]),+(+g[a+56>>3]),+(+g[a+64>>3]),+(+g[a+72>>3]),+(+g[a+80>>3]),+(+g[a+88>>3]),+(+g[a+96>>3]),+(+g[a+104>>3]),+(+g[a+112>>3]),+(+g[a+120>>3]),+(+g[a+128>>3]),+(+g[a+136>>3]),+(+g[a+144>>3]),+(+g[a+152>>3]),+(+g[a+160>>3]),+(+g[a+168>>3]),+(+g[a+176>>3]),+(+g[a+184>>3]),+(+g[a+192>>3]),+(+g[a+200>>3]),+(+g[a+208>>3]),+(+g[a+216>>3]),+(+g[a+224>>3]),c[a+240>>2]|0)|0;a=0;break}else{a=c[3956]|0;break}}else a=c[3954]|0;while(0);zb=e;return a|0}function lr(a,b){a=a|0;b=b|0;var d=0,e=0,i=0.0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;v=zb;zb=zb+288|0;u=v+256|0;t=v+248|0;s=v+240|0;d=v+272|0;j=v+276|0;e=v+268|0;p=v+192|0;q=v+96|0;r=v;o=v+264|0;c[d>>2]=a;do if(!(Zr(56332,d)|0))a=c[3954]|0;else{m=_r(56332,d)|0;n=m+268|0;if((c[n>>2]|0)<=(b|0)){a=c[3956]|0;break}c[j>>2]=0;c[e>>2]=-1;a=r;d=a+96|0;do{c[a>>2]=0;a=a+4|0}while((a|0)<(d|0));f[o>>2]=-1.0;l=m+264|0;a=c[l>>2]|0;do if((a|0)==-2){k=m+232|0;Eg(c[k>>2]|0,c[m+204>>2]|0)|0;Gg(c[k>>2]|0,j,e)|0;c[m+240>>2]=Rc(+g[m+256>>3],+g[m+248>>3])|0;e=c[e>>2]|0;k=c[j>>2]|0;a=-1;d=0;while(1){if((d|0)>=(e|0))break;do if((c[k+(d*68|0)+48>>2]|0)==(b|0)?(c[k+(d*68|0)+60>>2]|0)==0:0){if((a|0)==-1)a=c[k+(d*68|0)+52>>2]|0;else{i=+f[k+(d*68|0)+52>>2];if(!(+f[o>>2]>i))break;a=(f[h>>2]=i,c[h>>2]|0)}c[o>>2]=a;a=d}while(0);d=d+1|0}if((a|0)<=-1){c[l>>2]=-2;j=38;break}d=c[k+48>>2]|0;c[l>>2]=d;e=0;while(1){if((e|0)==3)break;j=0;while(1){if((j|0)==4)break;c[p+(e<<4)+(j<<2)>>2]=c[k+(a*68|0)+(e<<4)+(j<<2)>>2];j=j+1|0}e=e+1|0}Bf(c[m+272+(d<<2)>>2]|0,p)|0;a=c[l>>2]|0;j=25}else j=25;while(0);do if((j|0)==25)if((a|0)>-1){a=Jt(c[m+236>>2]|0,c[m+272+(a<<2)>>2]|0,c[m+196>>2]|0,p,o)|0;d=0;while(1){if((d|0)==3)break;e=0;while(1){if((e|0)==4)break;g[q+(d<<5)+(e<<3)>>3]=+f[p+(d<<4)+(e<<2)>>2];e=e+1|0}d=d+1|0}if((Tc(c[m+240>>2]|0,q,a>>>31)|0)<0){c[s>>2]=b;_e(0,3,38503,s)}Qs(q,r,.949999988079071);if((a|0)<0){c[t>>2]=a;_e(0,1,38543,t);c[l>>2]=-2;j=38;break}t=(c[n>>2]|0)+-1|0;c[u>>2]=c[m+272+(c[l>>2]<<2)>>2];c[u+4>>2]=t;_e(0,1,38562,u);if((c[l>>2]|0)>-1)ya(3,b|0,+(+f[o>>2]),+(+g[r>>3]),+(+g[r+8>>3]),+(+g[r+16>>3]),+(+g[r+24>>3]),+(+g[r+32>>3]),+(+g[r+40>>3]),+(+g[r+48>>3]),+(+g[r+56>>3]),+(+g[r+64>>3]),+(+g[r+72>>3]),+(+g[r+80>>3]),+(+g[r+88>>3]))|0;else j=38}else j=38;while(0);if((j|0)==38)xa(4,b|0)|0;a=0}while(0);zb=v;return a|0}function mr(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=zb;zb=zb+16|0;e=f;d=f+4|0;c[d>>2]=a;if(!(Zr(56332,d)|0))b=0;else{a=(b|0)!=0;sc(c[(_r(56332,d)|0)+216>>2]|0,a&1)|0;c[e>>2]=a?38472:38476;_e(0,1,38481,e)}zb=f;return b|0}function nr(a){a=a|0;var b=0,d=0,e=0;e=zb;zb=zb+16|0;d=e;b=e+4|0;c[d>>2]=a;if(!(Zr(56332,d)|0))b=0;else{wc(c[(_r(56332,d)|0)+216>>2]|0,b)|0;b=c[b>>2]|0}zb=e;return b|0}function or(a){a=a|0;var b=0,d=0;d=zb;zb=zb+16|0;b=d;c[b>>2]=a;if(!(Zr(56332,b)|0))a=0;else a=c[(c[(_r(56332,b)|0)+216>>2]|0)+4834148>>2]|0;zb=d;return a|0}function pr(a){a=a|0;c[3916]=a;return}function qr(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=zb;zb=zb+16|0;d=c;e=Ls(d)|0;d=Ms(d)|0;la(a|0,e|0,d|0,Ns()|0,46,b|0);zb=c;return}function rr(){return c[3916]|0}function sr(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=zb;zb=zb+16|0;d=c;e=Gs(d)|0;d=Hs(d)|0;la(a|0,e|0,d|0,Is()|0,82,b|0);zb=c;return}function tr(a,b){a=a|0;b=+b;var d=0,e=0;e=zb;zb=zb+16|0;d=e;c[d>>2]=a;if(Zr(56332,d)|0)g[(_r(56332,d)|0)+336>>3]=b;zb=e;return}function ur(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=zb;zb=zb+16|0;d=c;e=As(d)|0;d=Bs(d)|0;la(a|0,e|0,d|0,Cs()|0,1,b|0);zb=c;return}function vr(a){a=a|0;var b=0.0,d=0,e=0;e=zb;zb=zb+16|0;d=e;c[d>>2]=a;if(!(Zr(56332,d)|0))b=-1.0;else b=+g[(_r(56332,d)|0)+336>>3];zb=e;return +b}function wr(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=zb;zb=zb+16|0;d=c;e=vs(d)|0;d=ws(d)|0;la(a|0,e|0,d|0,xs()|0,1,b|0);zb=c;return}function xr(a,b){a=a|0;b=+b;var d=0,e=0;e=zb;zb=zb+16|0;d=e;c[d>>2]=a;if(Zr(56332,d)|0)g[(_r(56332,d)|0)+344>>3]=b;zb=e;return}function yr(a){a=a|0;var b=0.0,d=0,e=0;e=zb;zb=zb+16|0;d=e;c[d>>2]=a;if(!(Zr(56332,d)|0))b=-1.0;else b=+g[(_r(56332,d)|0)+344>>3];zb=e;return +b}function zr(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=zb;zb=zb+16|0;e=f;d=f+4|0;c[d>>2]=a;if(Zr(56332,d)|0?(tc(c[(_r(56332,d)|0)+216>>2]|0,b)|0)==0:0){c[e>>2]=b;_e(0,1,38430,e)}zb=f;return}function Ar(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=zb;zb=zb+16|0;d=c;e=qs(d)|0;d=rs(d)|0;la(a|0,e|0,d|0,ss()|0,2,b|0);zb=c;return}function Br(a){a=a|0;var b=0,d=0,e=0;e=zb;zb=zb+16|0;b=e;d=e+4|0;c[b>>2]=a;if(!(Zr(56332,b)|0))a=-1;else{a=(Bc(c[(_r(56332,b)|0)+216>>2]|0,d)|0)==0;a=a?c[d>>2]|0:-1}zb=e;return a|0}function Cr(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;g=zb;zb=zb+16|0;f=g;e=g+4|0;c[e>>2]=a;if((Zr(56332,e)|0?(d=_r(56332,e)|0,b>>>0<=255):0)?(zc(c[d+216>>2]|0,b)|0)==0:0){c[f>>2]=b;_e(0,1,38404,f)}zb=g;return}function Dr(a){a=a|0;var b=0,d=0,e=0;e=zb;zb=zb+16|0;b=e;d=e+4|0;c[b>>2]=a;if(!(Zr(56332,b)|0))a=-1;else{a=(Ac(c[(_r(56332,b)|0)+216>>2]|0,d)|0)==0;a=a?c[d>>2]|0:-1}zb=e;return a|0}function Er(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=zb;zb=zb+16|0;e=f;d=f+4|0;c[d>>2]=a;if(Zr(56332,d)|0?(Ec(c[(_r(56332,d)|0)+216>>2]|0,b)|0)==0:0){c[e>>2]=b;_e(0,1,38369,e)}zb=f;return}function Fr(a){a=a|0;var b=0,d=0,e=0;e=zb;zb=zb+16|0;b=e;d=e+4|0;c[b>>2]=a;if(!(Zr(56332,b)|0))a=-1;else{a=(Hc(c[(_r(56332,b)|0)+216>>2]|0,d)|0)==0;a=a?c[d>>2]|0:-1}zb=e;return a|0}function Gr(a,b){a=a|0;b=+b;var d=0,e=0,f=0.0,h=0,i=0,j=0;j=zb;zb=zb+16|0;i=j;h=j+8|0;c[h>>2]=a;if(((Zr(56332,h)|0?(e=_r(56332,h)|0,!(b<=0.0|b>=1.0)):0)?(f=b,d=c[e+216>>2]|0,d|0):0)?(Ic(d,f)|0)==0:0){g[i>>3]=f;_e(0,1,38338,i)}zb=j;return}function Hr(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=zb;zb=zb+16|0;d=c;e=js(d)|0;d=ks(d)|0;la(a|0,e|0,d|0,ls()|0,2,b|0);zb=c;return}function Ir(a){a=a|0;var b=0.0,d=0,e=0,f=0;f=zb;zb=zb+16|0;d=f+8|0;e=f;c[d>>2]=a;if(!(Zr(56332,d)|0))b=-1.0;else{a=c[(_r(56332,d)|0)+216>>2]|0;if(!a)b=-1.0;else{d=(Jc(a,e)|0)==0;b=d?+g[e>>3]:-1.0}}zb=f;return +b}function Jr(a,b){a=a|0;b=b|0;var d=0,e=0;e=zb;zb=zb+16|0;d=e;c[d>>2]=a;if(Zr(56332,d)|0)Fc(c[(_r(56332,d)|0)+216>>2]|0,b)|0;zb=e;return}function Kr(a){a=a|0;var b=0,d=0,e=0;e=zb;zb=zb+16|0;b=e;d=e+4|0;c[b>>2]=a;if(!(Zr(56332,b)|0))a=-1;else{Gc(c[(_r(56332,b)|0)+216>>2]|0,d)|0;a=c[d>>2]|0}zb=e;return a|0}function Lr(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=zb;zb=zb+16|0;e=f;d=f+4|0;c[d>>2]=a;if(Zr(56332,d)|0?(xc(c[(_r(56332,d)|0)+216>>2]|0,b)|0)==0:0){c[e>>2]=b;_e(0,1,38308,e)}zb=f;return}function Mr(a){a=a|0;var b=0,d=0,e=0;e=zb;zb=zb+16|0;b=e;d=e+4|0;c[b>>2]=a;if(!(Zr(56332,b)|0))a=-1;else{a=(yc(c[(_r(56332,b)|0)+216>>2]|0,d)|0)==0;a=a?c[d>>2]|0:-1}zb=e;return a|0}function Nr(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=zb;zb=zb+16|0;e=f;d=f+4|0;c[d>>2]=a;if(Zr(56332,d)|0?(Cc(c[(_r(56332,d)|0)+216>>2]|0,b)|0)==0:0){c[e>>2]=b;_e(0,1,38279,e)}zb=f;return}function Or(a){a=a|0;var b=0,d=0,e=0;e=zb;zb=zb+16|0;b=e;d=e+4|0;c[b>>2]=a;if(!(Zr(56332,b)|0))a=-1;else{a=(Dc(c[(_r(56332,b)|0)+216>>2]|0,d)|0)==0;a=a?c[d>>2]|0:-1}zb=e;return a|0}function Pr(a,b){a=a|0;b=b|0;var c=0;c=Vr()|0;ia(a|0,c|0,+(+Xr(Wr(b)|0)));return}function Qr(a,b){a=a|0;b=b|0;var c=0;c=Rr()|0;ia(a|0,c|0,+(+Tr(+Sr(b))));return}function Rr(){return Ur()|0}function Sr(a){a=a|0;return +(+g[a>>3])}function Tr(a){a=+a;return +a}function Ur(){return 14120}function Vr(){return Yr()|0}function Wr(a){a=a|0;return c[a>>2]|0}function Xr(a){a=a|0;return +(+(a|0))}function Yr(){return 14080}function Zr(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;d=c[b>>2]|0;e=c[a+4>>2]|0;a:do if(e){g=e+-1|0;h=(g&e|0)==0;if(!h)if(d>>>0>>0)f=d;else f=(d>>>0)%(e>>>0)|0;else f=g&d;b=c[(c[a>>2]|0)+(f<<2)>>2]|0;if(b)while(1){b=c[b>>2]|0;if(!b){b=0;break a}a=c[b+4>>2]|0;if((a|0)==(d|0)){if((c[b+8>>2]|0)==(d|0))break a}else{if(!h){if(a>>>0>=e>>>0)a=(a>>>0)%(e>>>0)|0}else a=a&g;if((a|0)!=(f|0)){b=0;break a}}}else b=0}else b=0;while(0);return b|0}function _r(a,b){a=a|0;b=b|0;var d=0,e=0,g=0.0,h=0.0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=zb;zb=zb+32|0;r=s+4|0;m=s;n=s+16|0;c[m>>2]=b;d=c[b>>2]|0;p=a+4|0;i=c[p>>2]|0;q=(i|0)==0;a:do if(!q){k=i+-1|0;l=(k&i|0)==0;if(!l)if(d>>>0>>0)j=d;else j=(d>>>0)%(i>>>0)|0;else j=k&d;b=c[(c[a>>2]|0)+(j<<2)>>2]|0;if(!b){b=j;o=16}else do{b=c[b>>2]|0;if(!b){b=j;o=16;break a}e=c[b+4>>2]|0;if((e|0)!=(d|0)){if(!l){if(e>>>0>=i>>>0)e=(e>>>0)%(i>>>0)|0}else e=e&k;if((e|0)!=(j|0)){b=j;o=16;break a}}}while((c[b+8>>2]|0)!=(d|0))}else{b=0;o=16}while(0);if((o|0)==16){$r(r,a,d,58509,m,n);j=a+12|0;h=+(((c[j>>2]|0)+1|0)>>>0);g=+f[a+16>>2];do if(q|g*+(i>>>0)>>0<3|(i+-1&i|0)!=0)&1;e=~~+B(+(h/g))>>>0;as(a,b>>>0>>0?e:b);b=c[p>>2]|0;e=b+-1|0;if(!(e&b)){i=b;d=e&d;break}if(d>>>0>>0)i=b;else{i=b;d=(d>>>0)%(b>>>0)|0}}else d=b;while(0);b=c[(c[a>>2]|0)+(d<<2)>>2]|0;if(!b){e=a+8|0;c[c[r>>2]>>2]=c[e>>2];c[e>>2]=c[r>>2];c[(c[a>>2]|0)+(d<<2)>>2]=e;e=c[r>>2]|0;b=c[e>>2]|0;if(!b)b=r;else{b=c[b+4>>2]|0;d=i+-1|0;if(d&i){if(b>>>0>=i>>>0)b=(b>>>0)%(i>>>0)|0}else b=b&d;c[(c[a>>2]|0)+(b<<2)>>2]=e;b=r}}else{c[c[r>>2]>>2]=c[b>>2];c[b>>2]=c[r>>2];b=r}a=c[b>>2]|0;c[j>>2]=(c[j>>2]|0)+1;c[b>>2]=0;b=a}zb=s;return b+16|0}function $r(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;h=AB(520)|0;c[b>>2]=h;c[b+4>>2]=d+8;c[h+8>>2]=c[c[g>>2]>>2];d=h+16|0;hP(d|0,0,504)|0;is(d);a[b+8>>0]=1;c[h+4>>2]=e;c[h>>2]=0;return}function as(a,b){a=a|0;b=b|0;var d=0,e=0,g=0;if((b|0)!=1){if(b+-1&b)b=HD(b)|0}else b=2;e=c[a+4>>2]|0;if(b>>>0<=e>>>0){if(b>>>0>>0){d=~~+B(+(+((c[a+12>>2]|0)>>>0)/+f[a+16>>2]))>>>0;if(e>>>0>2&(e+-1&e|0)==0){g=1<<32-(D(d+-1|0)|0);d=d>>>0<2?d:g}else d=HD(d)|0;b=b>>>0>>0?d:b;if(b>>>0>>0)hs(a,b)}}else hs(a,b);return}function bs(a){a=a|0;cs(a+8|0);return}function cs(a){a=a|0;ds(a+352|0);es(a+312|0);return}function ds(a){a=a|0;var b=0,d=0;b=c[a>>2]|0;d=b;if(b|0){c[a+4>>2]=d;Vf(b,(c[a+8>>2]|0)-d|0)}return}function es(a){a=a|0;fs(a);return}function fs(a){a=a|0;var b=0;gs(a,c[a+8>>2]|0);b=c[a>>2]|0;c[a>>2]=0;if(b|0)Vf(b,c[a+4>>2]<<2);return}function gs(a,b){a=a|0;b=b|0;while(1){if(!b)break;a=c[b>>2]|0;Vf(b,16);b=a}return}function hs(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=a+4|0;a:do if(b){if(b>>>0>1073741823){a=P(8)|0;kO(a,38211);c[a>>2]=16392;R(a|0,13960,22)}l=AB(b<<2)|0;d=c[a>>2]|0;c[a>>2]=l;if(d|0)Vf(d,c[a+4>>2]<<2);c[e>>2]=b;d=0;while(1){if((d|0)==(b|0))break;c[(c[a>>2]|0)+(d<<2)>>2]=0;d=d+1|0}f=a+8|0;d=c[f>>2]|0;if(d|0){e=c[d+4>>2]|0;k=b+-1|0;l=(k&b|0)==0;if(!l){if(e>>>0>=b>>>0)e=(e>>>0)%(b>>>0)|0}else e=e&k;c[(c[a>>2]|0)+(e<<2)>>2]=f;while(1){j=d;b:while(1){while(1){d=c[j>>2]|0;if(!d)break a;f=c[d+4>>2]|0;if(!l){if(f>>>0>=b>>>0)f=(f>>>0)%(b>>>0)|0}else f=f&k;if((f|0)==(e|0))break;g=(c[a>>2]|0)+(f<<2)|0;if(!(c[g>>2]|0))break b;i=d+8|0;h=d;while(1){g=c[h>>2]|0;if(!g)break;if((c[i>>2]|0)==(c[g+8>>2]|0))h=g;else break}c[j>>2]=g;c[h>>2]=c[c[(c[a>>2]|0)+(f<<2)>>2]>>2];c[c[(c[a>>2]|0)+(f<<2)>>2]>>2]=d}j=d}c[g>>2]=j;e=f}}}else{d=c[a>>2]|0;c[a>>2]=0;if(d|0)Vf(d,c[a+4>>2]<<2);c[e>>2]=0}while(0);return}function is(a){a=a|0;var b=0;c[a+192>>2]=0;c[a+196>>2]=0;b=a+204|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;g[a+248>>3]=60.0;g[a+256>>3]=120.0;c[a+264>>2]=-2;c[a+268>>2]=0;b=a+312|0;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;c[b+12>>2]=0;c[a+328>>2]=1065353216;g[a+336>>3]=.0001;g[a+344>>3]=1.0e3;b=a+352|0;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;c[b+12>>2]=0;c[a+496>>2]=2;return}function js(a){a=a|0;return 3}function ks(a){a=a|0;return ps()|0}function ls(){return 38333}function ms(a,b,c){a=a|0;b=b|0;c=+c;b=ns(b)|0;c=+os(c);Sb[a&3](b,c);return}function ns(a){a=a|0;return a|0}function os(a){a=+a;return +a}function ps(){return 15828}function qs(a){a=a|0;return 3}function rs(a){a=a|0;return us()|0}function ss(){return 38425}function ts(a,b,c){a=a|0;b=b|0;c=c|0;b=ns(b)|0;c=ns(c)|0;Tb[a&63](b,c);return}function us(){return 15840}function vs(a){a=a|0;return 2}function ws(a){a=a|0;return zs()|0}function xs(){return 38456}function ys(a,b){a=a|0;b=b|0;var c=0.0,d=0,e=0;d=zb;zb=zb+16|0;e=d;b=ns(b)|0;g[e>>3]=+Cb[a&3](b);c=+Sr(e);zb=d;return +c}function zs(){return 15852}function As(a){a=a|0;return 3}function Bs(a){a=a|0;return Fs()|0}function Cs(){return 38460}function Ds(a,b,c){a=a|0;b=b|0;c=+c;b=ns(b)|0;c=+Es(c);Sb[a&3](b,c);return}function Es(a){a=+a;return +a}function Fs(){return 15860}function Gs(a){a=a|0;return 1}function Hs(a){a=a|0;return Ks()|0}function Is(){return 38465}function Js(a){a=a|0;var b=0,d=0;b=zb;zb=zb+16|0;d=b;c[d>>2]=Eb[a&1]()|0;a=Wr(d)|0;zb=b;return a|0}function Ks(){return 15872}function Ls(a){a=a|0;return 2}function Ms(a){a=a|0;return Ps()|0}function Ns(){return 38468}function Os(a,b){a=a|0;b=b|0;b=ns(b)|0;Rb[a&255](b);return}function Ps(){return 15876}function Qs(a,b,c){a=a|0;b=b|0;c=+c;var d=0,e=0,f=0,h=0.0;d=0;while(1){if((d|0)==3)break;e=0;while(1){if((e|0)==4)break;f=b+(d<<5)+(e<<3)|0;h=+g[f>>3];g[f>>3]=h+(+g[a+(d<<5)+(e<<3)>>3]-h)/c;e=e+1|0}d=d+1|0}return}function Rs(a,b){a=a|0;b=b|0;var c=0,d=0;c=0;while(1){if((c|0)==3)break;d=0;while(1){if((d|0)==4)break;g[b+(c<<5)+(d<<3)>>3]=+g[a+(c<<5)+(d<<3)>>3];d=d+1|0}c=c+1|0}return}function Ss(a){a=a|0;return 2}function Ts(a){a=a|0;return Xs()|0}function Us(){return 41515}function Vs(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=zb;zb=zb+16|0;f=d+12|0;e=d;Ws(e,b);c[f>>2]=Fb[a&127](e)|0;a=Wr(f)|0;qO(e);zb=d;return a|0}function Ws(a,b){a=a|0;b=b|0;var d=0;d=c[b>>2]|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;nO(a,b+4|0,d);return}function Xs(){return 15884}function Ys(a,b){a=a|0;b=b|0;var d=0,e=0,g=0.0,h=0.0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=zb;zb=zb+32|0;r=s+4|0;m=s;n=s+16|0;c[m>>2]=b;d=c[b>>2]|0;p=a+4|0;i=c[p>>2]|0;q=(i|0)==0;a:do if(!q){k=i+-1|0;l=(k&i|0)==0;if(!l)if(d>>>0>>0)j=d;else j=(d>>>0)%(i>>>0)|0;else j=k&d;b=c[(c[a>>2]|0)+(j<<2)>>2]|0;if(!b){b=j;o=16}else do{b=c[b>>2]|0;if(!b){b=j;o=16;break a}e=c[b+4>>2]|0;if((e|0)!=(d|0)){if(!l){if(e>>>0>=i>>>0)e=(e>>>0)%(i>>>0)|0}else e=e&k;if((e|0)!=(j|0)){b=j;o=16;break a}}}while((c[b+8>>2]|0)!=(d|0))}else{b=0;o=16}while(0);if((o|0)==16){Zs(r,a,d,58509,m,n);j=a+12|0;h=+(((c[j>>2]|0)+1|0)>>>0);g=+f[a+16>>2];do if(q|g*+(i>>>0)>>0<3|(i+-1&i|0)!=0)&1;e=~~+B(+(h/g))>>>0;_s(a,b>>>0>>0?e:b);b=c[p>>2]|0;e=b+-1|0;if(!(e&b)){i=b;d=e&d;break}if(d>>>0>>0)i=b;else{i=b;d=(d>>>0)%(b>>>0)|0}}else d=b;while(0);b=c[(c[a>>2]|0)+(d<<2)>>2]|0;if(!b){e=a+8|0;c[c[r>>2]>>2]=c[e>>2];c[e>>2]=c[r>>2];c[(c[a>>2]|0)+(d<<2)>>2]=e;e=c[r>>2]|0;b=c[e>>2]|0;if(!b)b=r;else{b=c[b+4>>2]|0;d=i+-1|0;if(d&i){if(b>>>0>=i>>>0)b=(b>>>0)%(i>>>0)|0}else b=b&d;c[(c[a>>2]|0)+(b<<2)>>2]=e;b=r}}else{c[c[r>>2]>>2]=c[b>>2];c[b>>2]=c[r>>2];b=r}a=c[b>>2]|0;c[j>>2]=(c[j>>2]|0)+1;c[b>>2]=0;b=a}zb=s;return b+16|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;h=AB(200)|0;c[b>>2]=h;c[b+4>>2]=d+8;c[h+8>>2]=c[c[g>>2]>>2];hP(h+16|0,0,184)|0;a[b+8>>0]=1;c[h+4>>2]=e;c[h>>2]=0;return}function _s(a,b){a=a|0;b=b|0;var d=0,e=0,g=0;if((b|0)!=1){if(b+-1&b)b=HD(b)|0}else b=2;e=c[a+4>>2]|0;if(b>>>0<=e>>>0){if(b>>>0>>0){d=~~+B(+(+((c[a+12>>2]|0)>>>0)/+f[a+16>>2]))>>>0;if(e>>>0>2&(e+-1&e|0)==0){g=1<<32-(D(d+-1|0)|0);d=d>>>0<2?d:g}else d=HD(d)|0;b=b>>>0>>0?d:b;if(b>>>0>>0)$s(a,b)}}else $s(a,b);return}function $s(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=a+4|0;a:do if(b){if(b>>>0>1073741823){a=P(8)|0;kO(a,38211);c[a>>2]=16392;R(a|0,13960,22)}l=AB(b<<2)|0;d=c[a>>2]|0;c[a>>2]=l;if(d|0)Vf(d,c[a+4>>2]<<2);c[e>>2]=b;d=0;while(1){if((d|0)==(b|0))break;c[(c[a>>2]|0)+(d<<2)>>2]=0;d=d+1|0}f=a+8|0;d=c[f>>2]|0;if(d|0){e=c[d+4>>2]|0;k=b+-1|0;l=(k&b|0)==0;if(!l){if(e>>>0>=b>>>0)e=(e>>>0)%(b>>>0)|0}else e=e&k;c[(c[a>>2]|0)+(e<<2)>>2]=f;while(1){j=d;b:while(1){while(1){d=c[j>>2]|0;if(!d)break a;f=c[d+4>>2]|0;if(!l){if(f>>>0>=b>>>0)f=(f>>>0)%(b>>>0)|0}else f=f&k;if((f|0)==(e|0))break;g=(c[a>>2]|0)+(f<<2)|0;if(!(c[g>>2]|0))break b;i=d+8|0;h=d;while(1){g=c[h>>2]|0;if(!g)break;if((c[i>>2]|0)==(c[g+8>>2]|0))h=g;else break}c[j>>2]=g;c[h>>2]=c[c[(c[a>>2]|0)+(f<<2)>>2]>>2];c[c[(c[a>>2]|0)+(f<<2)>>2]>>2]=d}j=d}c[g>>2]=j;e=f}}}else{d=c[a>>2]|0;c[a>>2]=0;if(d|0)Vf(d,c[a+4>>2]<<2);c[e>>2]=0}while(0);return}function at(a){a=a|0;return 3}function bt(a){a=a|0;return et()|0}function ct(){return 41679}function dt(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=zb;zb=zb+16|0;f=e;b=ns(b)|0;d=ns(d)|0;c[f>>2]=Hb[a&63](b,d)|0;a=Wr(f)|0;zb=e;return a|0}function et(){return 15892}function ft(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;r=zb;zb=zb+96|0;n=r+80|0;m=r+72|0;l=r+64|0;k=r+56|0;j=r+48|0;i=r+40|0;q=r+32|0;p=r+24|0;o=r+16|0;h=r+8|0;s=r;f=r+88|0;g=r+84|0;e=c[a+232>>2]|0;c[f>>2]=0;c[s>>2]=d;_e(0,1,41729,s);do if((_f(d,41747,g)|0)>=0){c[o>>2]=b;_e(0,1,41791,o);if(($f(c[g>>2]|0,-1,b)|0)<0){_e(0,3,41816,p);e=0;break}if((Yf(f,g)|0)<0){_e(0,3,41852,q);e=0;break}_e(0,1,41879,i);c[j>>2]=d;_e(0,1,41888,j);s=zf(d,41905,0)|0;c[a+272+(b<<2)>>2]=s;if(!s){c[k>>2]=d;_e(0,3,41910,k)}_e(0,1,41879,l);if((b|0)==10)Fa(-1);if((lg(e,c[f>>2]|0)|0)<0){_e(0,3,41943,m);e=0;break}else{Zf(f)|0;_e(0,1,41968,n);e=1;break}}else{c[h>>2]=d;_e(0,3,41753,h);e=0}while(0);zb=r;return e|0}function gt(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=zb;zb=zb+16|0;a=Ye(a,c[d>>2]|0)|0;c[e>>2]=a;a:do if(!a){_e(0,3,42048,f);md(c[d>>2]|0)|0;a=0}else switch(c[a+108>>2]|0){case 0:{Ec(b,0)|0;a=1;break a}case 1:{Ec(b,2)|0;a=1;break a}default:{Ec(b,3)|0;a=1;break a}}while(0);zb=f;return a|0} +function mH(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;B=zb;zb=zb+304|0;r=B+300|0;z=B+288|0;y=B+276|0;t=B+272|0;v=B;w=B+268|0;u=B+264|0;x=xG(f)|0;q=fH(b,f,B+160|0)|0;gH(z,f,r);c[y>>2]=0;c[y+4>>2]=0;c[y+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[y+(b<<2)>>2]=0;b=b+1|0}p=y+11|0;o=y+8|0;if((a[p>>0]|0)<0)b=(c[o>>2]&2147483647)+-1|0;else b=10;vO(y,b,0);b=(a[p>>0]|0)<0?c[y>>2]|0:y;c[t>>2]=b;c[w>>2]=v;c[u>>2]=0;n=y+4|0;j=c[d>>2]|0;i=j;a:while(1){if(i){f=c[i+12>>2]|0;if((f|0)==(c[i+16>>2]|0))f=Fb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else f=qE(c[f>>2]|0)|0;if(QE(f,pE()|0)|0){c[d>>2]=0;m=0;j=0;k=1}else{m=i;k=0}}else{m=0;j=0;k=1}i=c[e>>2]|0;do if(i){f=c[i+12>>2]|0;if((f|0)==(c[i+16>>2]|0))f=Fb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else f=qE(c[f>>2]|0)|0;if(!(QE(f,pE()|0)|0))if(k)break;else break a;else{c[e>>2]=0;A=19;break}}else A=19;while(0);if((A|0)==19){A=0;if(k){i=0;break}else i=0}f=a[p>>0]|0;f=f<<24>>24<0?c[n>>2]|0:f&255;if((c[t>>2]|0)==(b+f|0)){vO(y,f<<1,0);if((a[p>>0]|0)<0)b=(c[o>>2]&2147483647)+-1|0;else b=10;vO(y,b,0);b=(a[p>>0]|0)<0?c[y>>2]|0:y;c[t>>2]=b+f}l=m+12|0;f=c[l>>2]|0;k=m+16|0;if((f|0)==(c[k>>2]|0))f=Fb[c[(c[m>>2]|0)+36>>2]&127](m)|0;else f=qE(c[f>>2]|0)|0;if(_G(f,x,b,t,u,c[r>>2]|0,z,v,w,q)|0)break;f=c[l>>2]|0;if((f|0)==(c[k>>2]|0))Fb[c[(c[m>>2]|0)+40>>2]&127](m)|0;else{c[l>>2]=f+4;qE(c[f>>2]|0)|0}i=m}r=a[z+11>>0]|0;if((r<<24>>24<0?c[z+4>>2]|0:r&255)|0?(s=c[w>>2]|0,(s-v|0)<160):0){u=c[u>>2]|0;c[w>>2]=s+4;c[s>>2]=u}c[h>>2]=LG(b,c[t>>2]|0,g,x)|0;rG(z,v,c[w>>2]|0,g);if(m){b=c[m+12>>2]|0;if((b|0)==(c[m+16>>2]|0))b=Fb[c[(c[j>>2]|0)+36>>2]&127](m)|0;else b=qE(c[b>>2]|0)|0;if(QE(b,pE()|0)|0){c[d>>2]=0;f=1}else f=0}else f=1;do if(i){b=c[i+12>>2]|0;if((b|0)==(c[i+16>>2]|0))b=Fb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else b=qE(c[b>>2]|0)|0;if(!(QE(b,pE()|0)|0))if(f)break;else{A=50;break}else{c[e>>2]=0;A=48;break}}else A=48;while(0);if((A|0)==48?f:0)A=50;if((A|0)==50)c[g>>2]=c[g>>2]|2;A=c[d>>2]|0;qO(y);qO(z);zb=B;return A|0}function nH(b,d,e,f,g,h,i){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;w=zb;zb=zb+112|0;k=w;l=(f-e|0)/12|0;if(l>>>0>100){k=MO(l)|0;if(!k)hO();else{u=k;j=k}}else{u=0;j=k}n=e;k=0;o=l;m=j;while(1){if((n|0)==(f|0))break;l=a[n+8+3>>0]|0;if(l<<24>>24<0)l=c[n+4>>2]|0;else l=l&255;if(!l){a[m>>0]=2;k=k+1|0;l=o+-1|0}else{a[m>>0]=1;l=o}n=n+12|0;o=l;m=m+1|0}t=0;while(1){l=c[b>>2]|0;do if(l){m=c[l+12>>2]|0;if((m|0)==(c[l+16>>2]|0))l=Fb[c[(c[l>>2]|0)+36>>2]&127](l)|0;else l=qE(c[m>>2]|0)|0;if(QE(l,pE()|0)|0){c[b>>2]=0;p=1;break}else{p=(c[b>>2]|0)==0;break}}else p=1;while(0);m=c[d>>2]|0;if(m){l=c[m+12>>2]|0;if((l|0)==(c[m+16>>2]|0))l=Fb[c[(c[m>>2]|0)+36>>2]&127](m)|0;else l=qE(c[l>>2]|0)|0;if(QE(l,pE()|0)|0){c[d>>2]=0;l=1;m=0}else l=0}else{l=1;m=0}n=c[b>>2]|0;if(!((o|0)!=0&(p^l)))break;l=c[n+12>>2]|0;if((l|0)==(c[n+16>>2]|0))l=Fb[c[(c[n>>2]|0)+36>>2]&127](n)|0;else l=qE(c[l>>2]|0)|0;if(!i)l=Hb[c[(c[g>>2]|0)+28>>2]&63](g,l)|0;s=t+1|0;p=0;r=e;q=j;while(1){if((r|0)==(f|0))break;do if((a[q>>0]|0)==1){n=r+8+3|0;if((a[n>>0]|0)<0)m=c[r>>2]|0;else m=r;m=c[m+(t<<2)>>2]|0;if(!i)m=Hb[c[(c[g>>2]|0)+28>>2]&63](g,m)|0;if((l|0)!=(m|0)){a[q>>0]=0;m=p;o=o+-1|0;break}m=a[n>>0]|0;if(m<<24>>24<0)m=c[r+4>>2]|0;else m=m&255;if((m|0)==(s|0)){a[q>>0]=2;m=1;k=k+1|0;o=o+-1|0}else m=1}else m=p;while(0);p=m;r=r+12|0;q=q+1|0}a:do if(p){l=c[b>>2]|0;n=l+12|0;m=c[n>>2]|0;if((m|0)==(c[l+16>>2]|0))Fb[c[(c[l>>2]|0)+40>>2]&127](l)|0;else{c[n>>2]=m+4;qE(c[m>>2]|0)|0}if((k+o|0)>>>0>1){n=e;m=j;while(1){if((n|0)==(f|0))break a;if((a[m>>0]|0)==2){l=a[n+8+3>>0]|0;if(l<<24>>24<0)l=c[n+4>>2]|0;else l=l&255;if((l|0)!=(s|0)){a[m>>0]=0;k=k+-1|0}}n=n+12|0;m=m+1|0}}}while(0);t=s}do if(n){k=c[n+12>>2]|0;if((k|0)==(c[n+16>>2]|0))k=Fb[c[(c[n>>2]|0)+36>>2]&127](n)|0;else k=qE(c[k>>2]|0)|0;if(QE(k,pE()|0)|0){c[b>>2]=0;l=1;break}else{l=(c[b>>2]|0)==0;break}}else l=1;while(0);do if(m){k=c[m+12>>2]|0;if((k|0)==(c[m+16>>2]|0))k=Fb[c[(c[m>>2]|0)+36>>2]&127](m)|0;else k=qE(c[k>>2]|0)|0;if(!(QE(k,pE()|0)|0))if(l)break;else{v=79;break}else{c[d>>2]=0;v=41;break}}else v=41;while(0);if((v|0)==41?l:0)v=79;if((v|0)==79)c[h>>2]=c[h>>2]|2;while(1){if((e|0)==(f|0)){v=84;break}if((a[j>>0]|0)==2)break;e=e+12|0;j=j+1|0}if((v|0)==84){c[h>>2]=c[h>>2]|4;e=f}NO(u);zb=w;return e|0}function oH(a){a=a|0;JF(a);return}function pH(a){a=a|0;JF(a);ZA(a);return}function qH(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0;l=zb;zb=zb+16|0;k=l+4|0;h=l;if(!(c[e+4>>2]&1)){j=c[(c[b>>2]|0)+24>>2]|0;c[h>>2]=c[d>>2];c[k>>2]=c[h>>2];f=Lb[j&31](b,k,e,f,g&1)|0}else{PE(k,e);f=cG(k,57600)|0;dG(k);e=c[f>>2]|0;if(g)Tb[c[e+24>>2]&63](k,f);else Tb[c[e+28>>2]&63](k,f);i=k+11|0;b=a[i>>0]|0;g=c[k>>2]|0;j=k+4|0;f=b;e=g;g=b<<24>>24<0?g:k;while(1){b=f<<24>>24<0;if((g|0)==((b?e:k)+(b?c[j>>2]|0:f&255)|0))break;f=a[g>>0]|0;e=c[d>>2]|0;if(e|0){b=e+24|0;h=c[b>>2]|0;if((h|0)==(c[e+28>>2]|0)){b=c[(c[e>>2]|0)+52>>2]|0;f=ig(f)|0;f=Hb[b&63](e,f)|0}else{c[b>>2]=h+1;a[h>>0]=f;f=ig(f)|0}if(eg(f,ag()|0)|0)c[d>>2]=0}f=a[i>>0]|0;e=c[k>>2]|0;g=g+1|0}f=c[d>>2]|0;qO(k)}zb=l;return f|0}function rH(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;h=zb;zb=zb+32|0;k=h;n=h+16|0;m=h+12|0;b=h+4|0;l=h+8|0;a[n>>0]=a[50257]|0;a[n+1>>0]=a[50258]|0;a[n+2>>0]=a[50259]|0;a[n+3>>0]=a[50260]|0;a[n+4>>0]=a[50261]|0;a[n+5>>0]=a[50262]|0;p=e+4|0;DH(n+1|0,50263,1,c[p>>2]|0);p=(c[p>>2]|0)>>>9&1;q=p+13|0;i=Oa()|0;o=zb;zb=zb+((1*q|0)+15&-16)|0;j=fG()|0;c[k>>2]=g;g=o+(yH(o,q,j,n,k)|0)|0;n=zH(o,g,e)|0;j=zb;zb=zb+((1*((p<<1|24)+-1|0)|0)+15&-16)|0;PE(k,e);EH(o,n,g,j,m,b,k);dG(k);c[l>>2]=c[d>>2];g=c[m>>2]|0;b=c[b>>2]|0;c[k>>2]=c[l>>2];b=fg(k,j,g,b,e,f)|0;Na(i|0);zb=h;return b|0}function sH(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;h=zb;zb=zb+32|0;j=h+8|0;m=h;l=h+24|0;a=h+16|0;k=h+20|0;o=m;c[o>>2]=37;c[o+4>>2]=0;o=d+4|0;DH(m+1|0,50254,1,c[o>>2]|0);o=(c[o>>2]|0)>>>9&1;q=o+23|0;i=Oa()|0;n=zb;zb=zb+((1*q|0)+15&-16)|0;p=fG()|0;r=j;c[r>>2]=f;c[r+4>>2]=g;f=n+(yH(n,q,p,m,j)|0)|0;m=zH(n,f,d)|0;g=zb;zb=zb+((1*((o<<1|44)+-1|0)|0)+15&-16)|0;PE(j,d);EH(n,m,f,g,l,a,j);dG(j);c[k>>2]=c[b>>2];b=c[l>>2]|0;a=c[a>>2]|0;c[j>>2]=c[k>>2];a=fg(j,g,b,a,d,e)|0;Na(i|0);zb=h;return a|0}function tH(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;h=zb;zb=zb+32|0;k=h;n=h+16|0;m=h+12|0;b=h+4|0;l=h+8|0;a[n>>0]=a[50257]|0;a[n+1>>0]=a[50258]|0;a[n+2>>0]=a[50259]|0;a[n+3>>0]=a[50260]|0;a[n+4>>0]=a[50261]|0;a[n+5>>0]=a[50262]|0;p=e+4|0;DH(n+1|0,50263,0,c[p>>2]|0);p=(c[p>>2]|0)>>>9&1;q=p|12;i=Oa()|0;o=zb;zb=zb+((1*q|0)+15&-16)|0;j=fG()|0;c[k>>2]=g;g=o+(yH(o,q,j,n,k)|0)|0;n=zH(o,g,e)|0;j=zb;zb=zb+((1*(p<<1|21)|0)+15&-16)|0;PE(k,e);EH(o,n,g,j,m,b,k);dG(k);c[l>>2]=c[d>>2];g=c[m>>2]|0;b=c[b>>2]|0;c[k>>2]=c[l>>2];b=fg(k,j,g,b,e,f)|0;Na(i|0);zb=h;return b|0}function uH(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;h=zb;zb=zb+32|0;j=h+8|0;m=h;l=h+24|0;a=h+16|0;k=h+20|0;o=m;c[o>>2]=37;c[o+4>>2]=0;o=d+4|0;DH(m+1|0,50254,0,c[o>>2]|0);o=(c[o>>2]|0)>>>9&1|22;q=o+1|0;i=Oa()|0;n=zb;zb=zb+((1*q|0)+15&-16)|0;p=fG()|0;r=j;c[r>>2]=f;c[r+4>>2]=g;f=n+(yH(n,q,p,m,j)|0)|0;m=zH(n,f,d)|0;g=zb;zb=zb+((1*((o<<1)+-1|0)|0)+15&-16)|0;PE(j,d);EH(n,m,f,g,l,a,j);dG(j);c[k>>2]=c[b>>2];b=c[l>>2]|0;a=c[a>>2]|0;c[j>>2]=c[k>>2];a=fg(j,g,b,a,d,e)|0;Na(i|0);zb=h;return a|0}function vH(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=+f;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;v=zb;zb=zb+176|0;u=v+168|0;m=v+144|0;l=v+128|0;i=v+120|0;h=v+104|0;j=v+96|0;o=v+64|0;n=v+164|0;p=v;s=v+160|0;r=v+156|0;t=v+152|0;k=j;c[k>>2]=37;c[k+4>>2]=0;k=AH(j+1|0,58519,c[d+4>>2]|0)|0;c[n>>2]=o;a=fG()|0;if(k){c[h>>2]=c[d+8>>2];g[h+8>>3]=f;a=yH(o,30,a,j,h)|0}else{g[i>>3]=f;a=yH(o,30,a,j,i)|0}if((a|0)>29){a=fG()|0;if(k){c[l>>2]=c[d+8>>2];g[l+8>>3]=f;h=BH(n,a,j,l)|0}else{g[m>>3]=f;h=BH(n,a,j,m)|0}a=c[n>>2]|0;if(!a)hO();else{w=a;x=a;q=h}}else{w=c[n>>2]|0;x=0;q=a}h=w+q|0;i=zH(w,h,d)|0;if((w|0)!=(o|0)){a=MO(q<<1)|0;if(!a)hO();else{y=a;z=a}}else{y=p;z=0}PE(u,d);CH(w,i,h,y,s,r,u);dG(u);c[t>>2]=c[b>>2];w=c[s>>2]|0;b=c[r>>2]|0;c[u>>2]=c[t>>2];b=fg(u,y,w,b,d,e)|0;NO(z);NO(x);zb=v;return b|0}function wH(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=+f;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;v=zb;zb=zb+176|0;u=v+168|0;m=v+144|0;l=v+128|0;i=v+120|0;h=v+104|0;j=v+96|0;o=v+64|0;n=v+164|0;p=v;s=v+160|0;r=v+156|0;t=v+152|0;k=j;c[k>>2]=37;c[k+4>>2]=0;k=AH(j+1|0,50252,c[d+4>>2]|0)|0;c[n>>2]=o;a=fG()|0;if(k){c[h>>2]=c[d+8>>2];g[h+8>>3]=f;a=yH(o,30,a,j,h)|0}else{g[i>>3]=f;a=yH(o,30,a,j,i)|0}if((a|0)>29){a=fG()|0;if(k){c[l>>2]=c[d+8>>2];g[l+8>>3]=f;h=BH(n,a,j,l)|0}else{g[m>>3]=f;h=BH(n,a,j,m)|0}a=c[n>>2]|0;if(!a)hO();else{w=a;x=a;q=h}}else{w=c[n>>2]|0;x=0;q=a}h=w+q|0;i=zH(w,h,d)|0;if((w|0)!=(o|0)){a=MO(q<<1)|0;if(!a)hO();else{y=a;z=a}}else{y=p;z=0}PE(u,d);CH(w,i,h,y,s,r,u);dG(u);c[t>>2]=c[b>>2];w=c[s>>2]|0;b=c[r>>2]|0;c[u>>2]=c[t>>2];b=fg(u,y,w,b,d,e)|0;NO(z);NO(x);zb=v;return b|0}function xH(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;h=zb;zb=zb+96|0;l=h+72|0;b=h+80|0;i=h+48|0;j=h;m=h+76|0;a[b>>0]=a[50246]|0;a[b+1>>0]=a[50247]|0;a[b+2>>0]=a[50248]|0;a[b+3>>0]=a[50249]|0;a[b+4>>0]=a[50250]|0;a[b+5>>0]=a[50251]|0;k=fG()|0;c[l>>2]=g;b=yH(i,20,k,b,l)|0;k=i+b|0;g=zH(i,k,e)|0;PE(l,e);n=cG(l,57584)|0;dG(l);Jb[c[(c[n>>2]|0)+32>>2]&15](n,i,k,j)|0;b=j+b|0;c[m>>2]=c[d>>2];c[l>>2]=c[m>>2];b=fg(l,j,(g|0)==(k|0)?b:j+(g-i)|0,b,e,f)|0;zb=h;return b|0}function yH(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=zb;zb=zb+16|0;h=g;c[h>>2]=f;f=cy(d)|0;d=hy(a,b,e,h)|0;if(f|0)cy(f)|0;zb=g;return d|0}function zH(b,d,e){b=b|0;d=d|0;e=e|0;var f=0;a:do switch((c[e+4>>2]&176)<<24>>24){case 16:{e=a[b>>0]|0;switch(e<<24>>24){case 43:case 45:{b=b+1|0;break a}default:{}}if((d-b|0)>1&e<<24>>24==48){switch(a[b+1>>0]|0){case 88:case 120:break;default:{f=7;break a}}b=b+2|0}else f=7;break}case 32:{b=d;break}default:f=7}while(0);return b|0}function AH(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){a[b>>0]=43;b=b+1|0}if(d&1024){a[b>>0]=35;b=b+1|0}g=d&260;f=d&16384;h=(g|0)==260;if(h)i=0;else{a[b>>0]=46;a[b+1>>0]=42;b=b+2|0;i=1}e=b;d=c;while(1){b=a[d>>0]|0;if(!(b<<24>>24))break;a[e>>0]=b;e=e+1|0;d=d+1|0}a:do switch(g&511){case 4:{b=f>>>9&255^102;break}case 256:{b=f>>>9&255^101;break}default:{b=f>>>9&255;if(h){b=b^97;break a}else{b=b^103;break a}}}while(0);a[e>>0]=b;return i|0}function BH(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;f=zb;zb=zb+16|0;g=f;c[g>>2]=e;e=cy(b)|0;b=zA(a,d,g)|0;if(e|0)cy(e)|0;zb=f;return b|0}function CH(b,d,e,f,g,h,i){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;v=zb;zb=zb+16|0;s=v;t=cG(i,57584)|0;q=cG(i,57600)|0;Tb[c[(c[q>>2]|0)+20>>2]&63](s,q);c[h>>2]=f;i=a[b>>0]|0;switch(i<<24>>24){case 43:case 45:{r=Hb[c[(c[t>>2]|0)+28>>2]&63](t,i)|0;j=c[h>>2]|0;c[h>>2]=j+1;a[j>>0]=r;j=b+1|0;break}default:j=b}r=e;a:do if((r-j|0)>1?(a[j>>0]|0)==48:0){i=j+1|0;switch(a[i>>0]|0){case 88:case 120:break;default:{u=4;break a}}o=Hb[c[(c[t>>2]|0)+28>>2]&63](t,48)|0;p=c[h>>2]|0;c[h>>2]=p+1;a[p>>0]=o;j=j+2|0;p=Hb[c[(c[t>>2]|0)+28>>2]&63](t,a[i>>0]|0)|0;i=c[h>>2]|0;c[h>>2]=i+1;a[i>>0]=p;i=j;while(1){if(i>>>0>=e>>>0)break a;p=a[i>>0]|0;if(!(Tx(p,fG()|0)|0))break a;i=i+1|0}}else u=4;while(0);b:do if((u|0)==4){i=j;while(1){if(i>>>0>=e>>>0)break b;p=a[i>>0]|0;if(!(Jx(p,fG()|0)|0))break b;i=i+1|0}}while(0);o=s+11|0;n=a[o>>0]|0;p=s+4|0;c:do if((n<<24>>24<0?c[p>>2]|0:n&255)|0){d:do if((j|0)!=(i|0)){l=j;k=i;while(1){k=k+-1|0;if(l>>>0>=k>>>0)break d;n=a[l>>0]|0;a[l>>0]=a[k>>0]|0;a[k>>0]=n;l=l+1|0}}while(0);n=Fb[c[(c[q>>2]|0)+16>>2]&127](q)|0;k=0;l=0;m=j;while(1){if(m>>>0>=i>>>0)break;w=a[((a[o>>0]|0)<0?c[s>>2]|0:s)+l>>0]|0;if(w<<24>>24>0&(k|0)==(w<<24>>24|0)){w=c[h>>2]|0;c[h>>2]=w+1;a[w>>0]=n;w=a[o>>0]|0;k=0;l=l+(l>>>0<((w<<24>>24<0?c[p>>2]|0:w&255)+-1|0)>>>0&1)|0}x=Hb[c[(c[t>>2]|0)+28>>2]&63](t,a[m>>0]|0)|0;w=c[h>>2]|0;c[h>>2]=w+1;a[w>>0]=x;k=k+1|0;m=m+1|0}k=f+(j-b)|0;j=c[h>>2]|0;if((k|0)==(j|0))k=t;else while(1){j=j+-1|0;if(k>>>0>=j>>>0){k=t;break c}x=a[k>>0]|0;a[k>>0]=a[j>>0]|0;a[j>>0]=x;k=k+1|0}}else{Jb[c[(c[t>>2]|0)+32>>2]&15](t,j,i,c[h>>2]|0)|0;c[h>>2]=(c[h>>2]|0)+(i-j);k=t}while(0);while(1){if(i>>>0>=e>>>0)break;j=a[i>>0]|0;if(j<<24>>24==46){u=32;break}w=Hb[c[(c[k>>2]|0)+28>>2]&63](t,j)|0;x=c[h>>2]|0;c[h>>2]=x+1;a[x>>0]=w;i=i+1|0}if((u|0)==32){w=Fb[c[(c[q>>2]|0)+12>>2]&127](q)|0;x=c[h>>2]|0;c[h>>2]=x+1;a[x>>0]=w;i=i+1|0}Jb[c[(c[t>>2]|0)+32>>2]&15](t,i,e,c[h>>2]|0)|0;x=(c[h>>2]|0)+(r-i)|0;c[h>>2]=x;c[g>>2]=(d|0)==(e|0)?x:f+(d-b)|0;qO(s);zb=v;return}function DH(b,c,d,e){b=b|0;c=c|0;d=d|0;e=e|0;var f=0;if(e&2048){a[b>>0]=43;b=b+1|0}if(e&512){a[b>>0]=35;b=b+1|0}f=b;while(1){b=a[c>>0]|0;if(!(b<<24>>24))break;a[f>>0]=b;f=f+1|0;c=c+1|0}switch(e&74){case 64:{b=111;break}case 8:{b=e>>>9&32^120;break}default:b=d?100:117}a[f>>0]=b;return}function EH(b,d,e,f,g,h,i){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;r=zb;zb=zb+16|0;q=r;p=cG(i,57584)|0;l=cG(i,57600)|0;Tb[c[(c[l>>2]|0)+20>>2]&63](q,l);n=q+11|0;m=a[n>>0]|0;o=q+4|0;if((m<<24>>24<0?c[o>>2]|0:m&255)|0){c[h>>2]=f;i=a[b>>0]|0;switch(i<<24>>24){case 43:case 45:{m=Hb[c[(c[p>>2]|0)+28>>2]&63](p,i)|0;i=c[h>>2]|0;c[h>>2]=i+1;a[i>>0]=m;i=b+1|0;break}default:i=b}a:do if((e-i|0)>1?(a[i>>0]|0)==48:0){j=i+1|0;switch(a[j>>0]|0){case 88:case 120:break;default:break a}m=Hb[c[(c[p>>2]|0)+28>>2]&63](p,48)|0;k=c[h>>2]|0;c[h>>2]=k+1;a[k>>0]=m;k=Hb[c[(c[p>>2]|0)+28>>2]&63](p,a[j>>0]|0)|0;m=c[h>>2]|0;c[h>>2]=m+1;a[m>>0]=k;i=i+2|0}while(0);b:do if((i|0)!=(e|0)){k=i;j=e;while(1){j=j+-1|0;if(k>>>0>=j>>>0)break b;m=a[k>>0]|0;a[k>>0]=a[j>>0]|0;a[j>>0]=m;k=k+1|0}}while(0);m=Fb[c[(c[l>>2]|0)+16>>2]&127](l)|0;j=0;k=0;l=i;while(1){if(l>>>0>=e>>>0)break;s=a[((a[n>>0]|0)<0?c[q>>2]|0:q)+k>>0]|0;if(s<<24>>24!=0&(j|0)==(s<<24>>24|0)){s=c[h>>2]|0;c[h>>2]=s+1;a[s>>0]=m;s=a[n>>0]|0;j=0;k=k+(k>>>0<((s<<24>>24<0?c[o>>2]|0:s&255)+-1|0)>>>0&1)|0}t=Hb[c[(c[p>>2]|0)+28>>2]&63](p,a[l>>0]|0)|0;s=c[h>>2]|0;c[h>>2]=s+1;a[s>>0]=t;j=j+1|0;l=l+1|0}i=f+(i-b)|0;j=c[h>>2]|0;if((i|0)!=(j|0)){while(1){j=j+-1|0;if(i>>>0>=j>>>0)break;t=a[i>>0]|0;a[i>>0]=a[j>>0]|0;a[j>>0]=t;i=i+1|0}i=c[h>>2]|0}}else{Jb[c[(c[p>>2]|0)+32>>2]&15](p,b,e,f)|0;i=f+(e-b)|0;c[h>>2]=i}c[g>>2]=(d|0)==(e|0)?i:f+(d-b)|0;qO(q);zb=r;return}function FH(a){a=a|0;JF(a);return}function GH(a){a=a|0;JF(a);ZA(a);return}function HH(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0;l=zb;zb=zb+16|0;k=l+4|0;h=l;if(!(c[e+4>>2]&1)){j=c[(c[b>>2]|0)+24>>2]|0;c[h>>2]=c[d>>2];c[k>>2]=c[h>>2];f=Lb[j&31](b,k,e,f,g&1)|0}else{PE(k,e);f=cG(k,57624)|0;dG(k);e=c[f>>2]|0;if(g)Tb[c[e+24>>2]&63](k,f);else Tb[c[e+28>>2]&63](k,f);i=k+8+3|0;b=a[i>>0]|0;g=c[k>>2]|0;j=k+4|0;f=g;e=b;g=b<<24>>24<0?g:k;while(1){b=e<<24>>24<0;if((g|0)==((b?f:k)+((b?c[j>>2]|0:e&255)<<2)|0))break;f=c[g>>2]|0;e=c[d>>2]|0;if(e|0){b=e+24|0;h=c[b>>2]|0;if((h|0)==(c[e+28>>2]|0)){b=c[(c[e>>2]|0)+52>>2]|0;f=qE(f)|0;f=Hb[b&63](e,f)|0}else{c[b>>2]=h+4;c[h>>2]=f;f=qE(f)|0}if(QE(f,pE()|0)|0)c[d>>2]=0}f=c[k>>2]|0;e=a[i>>0]|0;g=g+4|0}f=c[d>>2]|0;DO(k)}zb=l;return f|0}function IH(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;h=zb;zb=zb+32|0;k=h;n=h+16|0;m=h+12|0;b=h+4|0;l=h+8|0;a[n>>0]=a[50257]|0;a[n+1>>0]=a[50258]|0;a[n+2>>0]=a[50259]|0;a[n+3>>0]=a[50260]|0;a[n+4>>0]=a[50261]|0;a[n+5>>0]=a[50262]|0;p=e+4|0;DH(n+1|0,50263,1,c[p>>2]|0);p=(c[p>>2]|0)>>>9&1;q=p+13|0;i=Oa()|0;o=zb;zb=zb+((1*q|0)+15&-16)|0;j=fG()|0;c[k>>2]=g;g=o+(yH(o,q,j,n,k)|0)|0;n=zH(o,g,e)|0;j=zb;zb=zb+((1*((p<<1|24)+-1<<2)|0)+15&-16)|0;PE(k,e);RH(o,n,g,j,m,b,k);dG(k);c[l>>2]=c[d>>2];g=c[m>>2]|0;b=c[b>>2]|0;c[k>>2]=c[l>>2];b=PH(k,j,g,b,e,f)|0;Na(i|0);zb=h;return b|0}function JH(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;h=zb;zb=zb+32|0;j=h+8|0;m=h;l=h+24|0;a=h+16|0;k=h+20|0;o=m;c[o>>2]=37;c[o+4>>2]=0;o=d+4|0;DH(m+1|0,50254,1,c[o>>2]|0);o=(c[o>>2]|0)>>>9&1;q=o+23|0;i=Oa()|0;n=zb;zb=zb+((1*q|0)+15&-16)|0;p=fG()|0;r=j;c[r>>2]=f;c[r+4>>2]=g;f=n+(yH(n,q,p,m,j)|0)|0;m=zH(n,f,d)|0;g=zb;zb=zb+((1*((o<<1|44)+-1<<2)|0)+15&-16)|0;PE(j,d);RH(n,m,f,g,l,a,j);dG(j);c[k>>2]=c[b>>2];b=c[l>>2]|0;a=c[a>>2]|0;c[j>>2]=c[k>>2];a=PH(j,g,b,a,d,e)|0;Na(i|0);zb=h;return a|0}function KH(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;h=zb;zb=zb+32|0;k=h;n=h+16|0;m=h+12|0;b=h+4|0;l=h+8|0;a[n>>0]=a[50257]|0;a[n+1>>0]=a[50258]|0;a[n+2>>0]=a[50259]|0;a[n+3>>0]=a[50260]|0;a[n+4>>0]=a[50261]|0;a[n+5>>0]=a[50262]|0;p=e+4|0;DH(n+1|0,50263,0,c[p>>2]|0);p=(c[p>>2]|0)>>>9&1;q=p|12;i=Oa()|0;o=zb;zb=zb+((1*q|0)+15&-16)|0;j=fG()|0;c[k>>2]=g;g=o+(yH(o,q,j,n,k)|0)|0;n=zH(o,g,e)|0;j=zb;zb=zb+((1*((p<<1|21)<<2)|0)+15&-16)|0;PE(k,e);RH(o,n,g,j,m,b,k);dG(k);c[l>>2]=c[d>>2];g=c[m>>2]|0;b=c[b>>2]|0;c[k>>2]=c[l>>2];b=PH(k,j,g,b,e,f)|0;Na(i|0);zb=h;return b|0}function LH(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;h=zb;zb=zb+32|0;j=h+8|0;m=h;l=h+24|0;a=h+16|0;k=h+20|0;o=m;c[o>>2]=37;c[o+4>>2]=0;o=d+4|0;DH(m+1|0,50254,0,c[o>>2]|0);o=(c[o>>2]|0)>>>9&1|22;q=o+1|0;i=Oa()|0;n=zb;zb=zb+((1*q|0)+15&-16)|0;p=fG()|0;r=j;c[r>>2]=f;c[r+4>>2]=g;f=n+(yH(n,q,p,m,j)|0)|0;m=zH(n,f,d)|0;g=zb;zb=zb+((1*((o<<1)+-1<<2)|0)+15&-16)|0;PE(j,d);RH(n,m,f,g,l,a,j);dG(j);c[k>>2]=c[b>>2];b=c[l>>2]|0;a=c[a>>2]|0;c[j>>2]=c[k>>2];a=PH(j,g,b,a,d,e)|0;Na(i|0);zb=h;return a|0}function MH(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=+f;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;x=zb;zb=zb+352|0;u=x+344|0;m=x+320|0;l=x+304|0;i=x+296|0;h=x+280|0;j=x+272|0;o=x+240|0;n=x+340|0;p=x;s=x+336|0;r=x+332|0;t=x+328|0;k=j;c[k>>2]=37;c[k+4>>2]=0;k=AH(j+1|0,58519,c[d+4>>2]|0)|0;c[n>>2]=o;a=fG()|0;if(k){c[h>>2]=c[d+8>>2];g[h+8>>3]=f;a=yH(o,30,a,j,h)|0}else{g[i>>3]=f;a=yH(o,30,a,j,i)|0}if((a|0)>29){a=fG()|0;if(k){c[l>>2]=c[d+8>>2];g[l+8>>3]=f;h=BH(n,a,j,l)|0}else{g[m>>3]=f;h=BH(n,a,j,m)|0}a=c[n>>2]|0;if(!a)hO();else{v=a;z=a;q=h}}else{v=c[n>>2]|0;z=0;q=a}h=v+q|0;i=zH(v,h,d)|0;do if((v|0)!=(o|0)){a=MO(q<<3)|0;if(!a)hO();else{y=a;w=a;A=0;break}}else{y=0;w=p;A=1}while(0);PE(u,d);QH(v,i,h,w,s,r,u);dG(u);c[t>>2]=c[b>>2];v=c[s>>2]|0;a=c[r>>2]|0;c[u>>2]=c[t>>2];a=PH(u,w,v,a,d,e)|0;c[b>>2]=a;if(!A)NO(y);NO(z);zb=x;return a|0}function NH(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=+f;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;x=zb;zb=zb+352|0;u=x+344|0;m=x+320|0;l=x+304|0;i=x+296|0;h=x+280|0;j=x+272|0;o=x+240|0;n=x+340|0;p=x;s=x+336|0;r=x+332|0;t=x+328|0;k=j;c[k>>2]=37;c[k+4>>2]=0;k=AH(j+1|0,50252,c[d+4>>2]|0)|0;c[n>>2]=o;a=fG()|0;if(k){c[h>>2]=c[d+8>>2];g[h+8>>3]=f;a=yH(o,30,a,j,h)|0}else{g[i>>3]=f;a=yH(o,30,a,j,i)|0}if((a|0)>29){a=fG()|0;if(k){c[l>>2]=c[d+8>>2];g[l+8>>3]=f;h=BH(n,a,j,l)|0}else{g[m>>3]=f;h=BH(n,a,j,m)|0}a=c[n>>2]|0;if(!a)hO();else{v=a;z=a;q=h}}else{v=c[n>>2]|0;z=0;q=a}h=v+q|0;i=zH(v,h,d)|0;do if((v|0)!=(o|0)){a=MO(q<<3)|0;if(!a)hO();else{y=a;w=a;A=0;break}}else{y=0;w=p;A=1}while(0);PE(u,d);QH(v,i,h,w,s,r,u);dG(u);c[t>>2]=c[b>>2];v=c[s>>2]|0;a=c[r>>2]|0;c[u>>2]=c[t>>2];a=PH(u,w,v,a,d,e)|0;c[b>>2]=a;if(!A)NO(y);NO(z);zb=x;return a|0}function OH(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;h=zb;zb=zb+208|0;l=h+184|0;b=h+192|0;i=h+160|0;j=h;m=h+188|0;a[b>>0]=a[50246]|0;a[b+1>>0]=a[50247]|0;a[b+2>>0]=a[50248]|0;a[b+3>>0]=a[50249]|0;a[b+4>>0]=a[50250]|0;a[b+5>>0]=a[50251]|0;k=fG()|0;c[l>>2]=g;b=yH(i,20,k,b,l)|0;k=i+b|0;g=zH(i,k,e)|0;PE(l,e);n=cG(l,57616)|0;dG(l);Jb[c[(c[n>>2]|0)+48>>2]&15](n,i,k,j)|0;b=j+(b<<2)|0;c[m>>2]=c[d>>2];c[l>>2]=c[m>>2];b=PH(l,j,(g|0)==(k|0)?b:j+(g-i<<2)|0,b,e,f)|0;zb=h;return b|0}function PH(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0;n=zb;zb=zb+16|0;m=n;i=c[b>>2]|0;a:do if(!i)i=0;else{o=d;k=f-o>>2;l=g+12|0;g=c[l>>2]|0;g=(g|0)>(k|0)?g-k|0:0;k=e;o=k-o|0;j=o>>2;if((o|0)>0?(Ib[c[(c[i>>2]|0)+48>>2]&63](i,d,j)|0)!=(j|0):0){c[b>>2]=0;i=0;break}do if((g|0)>0){c[m>>2]=0;c[m+4>>2]=0;c[m+8>>2]=0;BO(m,g,h);if((Ib[c[(c[i>>2]|0)+48>>2]&63](i,(a[m+8+3>>0]|0)<0?c[m>>2]|0:m,g)|0)==(g|0)){DO(m);break}else{c[b>>2]=0;DO(m);i=0;break a}}while(0);o=f-k|0;f=o>>2;if((o|0)>0?(Ib[c[(c[i>>2]|0)+48>>2]&63](i,e,f)|0)!=(f|0):0){c[b>>2]=0;i=0;break}c[l>>2]=0}while(0);zb=n;return i|0}function QH(b,d,e,f,g,h,i){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;v=zb;zb=zb+16|0;s=v;t=cG(i,57616)|0;q=cG(i,57624)|0;Tb[c[(c[q>>2]|0)+20>>2]&63](s,q);c[h>>2]=f;i=a[b>>0]|0;switch(i<<24>>24){case 43:case 45:{r=Hb[c[(c[t>>2]|0)+44>>2]&63](t,i)|0;j=c[h>>2]|0;c[h>>2]=j+4;c[j>>2]=r;j=b+1|0;break}default:j=b}r=e;a:do if((r-j|0)>1?(a[j>>0]|0)==48:0){i=j+1|0;switch(a[i>>0]|0){case 88:case 120:break;default:{u=4;break a}}o=Hb[c[(c[t>>2]|0)+44>>2]&63](t,48)|0;p=c[h>>2]|0;c[h>>2]=p+4;c[p>>2]=o;j=j+2|0;p=Hb[c[(c[t>>2]|0)+44>>2]&63](t,a[i>>0]|0)|0;i=c[h>>2]|0;c[h>>2]=i+4;c[i>>2]=p;i=j;while(1){if(i>>>0>=e>>>0)break a;p=a[i>>0]|0;if(!(Tx(p,fG()|0)|0))break a;i=i+1|0}}else u=4;while(0);b:do if((u|0)==4){i=j;while(1){if(i>>>0>=e>>>0)break b;p=a[i>>0]|0;if(!(Jx(p,fG()|0)|0))break b;i=i+1|0}}while(0);o=s+11|0;n=a[o>>0]|0;p=s+4|0;c:do if((n<<24>>24<0?c[p>>2]|0:n&255)|0){d:do if((j|0)!=(i|0)){l=j;k=i;while(1){k=k+-1|0;if(l>>>0>=k>>>0)break d;n=a[l>>0]|0;a[l>>0]=a[k>>0]|0;a[k>>0]=n;l=l+1|0}}while(0);n=Fb[c[(c[q>>2]|0)+16>>2]&127](q)|0;k=0;l=0;m=j;while(1){if(m>>>0>=i>>>0)break;w=a[((a[o>>0]|0)<0?c[s>>2]|0:s)+l>>0]|0;if(w<<24>>24>0&(k|0)==(w<<24>>24|0)){w=c[h>>2]|0;c[h>>2]=w+4;c[w>>2]=n;w=a[o>>0]|0;k=0;l=l+(l>>>0<((w<<24>>24<0?c[p>>2]|0:w&255)+-1|0)>>>0&1)|0}x=Hb[c[(c[t>>2]|0)+44>>2]&63](t,a[m>>0]|0)|0;w=c[h>>2]|0;c[h>>2]=w+4;c[w>>2]=x;k=k+1|0;m=m+1|0}k=f+(j-b<<2)|0;j=c[h>>2]|0;if((k|0)==(j|0)){l=t;j=k}else{l=k;k=j;while(1){k=k+-4|0;if(l>>>0>=k>>>0){l=t;break c}x=c[l>>2]|0;c[l>>2]=c[k>>2];c[k>>2]=x;l=l+4|0}}}else{Jb[c[(c[t>>2]|0)+48>>2]&15](t,j,i,c[h>>2]|0)|0;j=(c[h>>2]|0)+(i-j<<2)|0;c[h>>2]=j;l=t}while(0);while(1){if(i>>>0>=e>>>0)break;j=a[i>>0]|0;if(j<<24>>24==46){u=32;break}w=Hb[c[(c[l>>2]|0)+44>>2]&63](t,j)|0;x=c[h>>2]|0;j=x+4|0;c[h>>2]=j;c[x>>2]=w;i=i+1|0}if((u|0)==32){w=Fb[c[(c[q>>2]|0)+12>>2]&127](q)|0;x=c[h>>2]|0;j=x+4|0;c[h>>2]=j;c[x>>2]=w;i=i+1|0}Jb[c[(c[t>>2]|0)+48>>2]&15](t,i,e,j)|0;x=(c[h>>2]|0)+(r-i<<2)|0;c[h>>2]=x;c[g>>2]=(d|0)==(e|0)?x:f+(d-b<<2)|0;qO(s);zb=v;return}function RH(b,d,e,f,g,h,i){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;r=zb;zb=zb+16|0;q=r;p=cG(i,57616)|0;l=cG(i,57624)|0;Tb[c[(c[l>>2]|0)+20>>2]&63](q,l);n=q+11|0;m=a[n>>0]|0;o=q+4|0;if((m<<24>>24<0?c[o>>2]|0:m&255)|0){c[h>>2]=f;i=a[b>>0]|0;switch(i<<24>>24){case 43:case 45:{m=Hb[c[(c[p>>2]|0)+44>>2]&63](p,i)|0;i=c[h>>2]|0;c[h>>2]=i+4;c[i>>2]=m;i=b+1|0;break}default:i=b}a:do if((e-i|0)>1?(a[i>>0]|0)==48:0){j=i+1|0;switch(a[j>>0]|0){case 88:case 120:break;default:break a}m=Hb[c[(c[p>>2]|0)+44>>2]&63](p,48)|0;k=c[h>>2]|0;c[h>>2]=k+4;c[k>>2]=m;k=Hb[c[(c[p>>2]|0)+44>>2]&63](p,a[j>>0]|0)|0;m=c[h>>2]|0;c[h>>2]=m+4;c[m>>2]=k;i=i+2|0}while(0);b:do if((i|0)!=(e|0)){k=i;j=e;while(1){j=j+-1|0;if(k>>>0>=j>>>0)break b;m=a[k>>0]|0;a[k>>0]=a[j>>0]|0;a[j>>0]=m;k=k+1|0}}while(0);m=Fb[c[(c[l>>2]|0)+16>>2]&127](l)|0;j=0;k=0;l=i;while(1){if(l>>>0>=e>>>0)break;s=a[((a[n>>0]|0)<0?c[q>>2]|0:q)+k>>0]|0;if(s<<24>>24!=0&(j|0)==(s<<24>>24|0)){s=c[h>>2]|0;c[h>>2]=s+4;c[s>>2]=m;s=a[n>>0]|0;j=0;k=k+(k>>>0<((s<<24>>24<0?c[o>>2]|0:s&255)+-1|0)>>>0&1)|0}t=Hb[c[(c[p>>2]|0)+44>>2]&63](p,a[l>>0]|0)|0;s=c[h>>2]|0;c[h>>2]=s+4;c[s>>2]=t;j=j+1|0;l=l+1|0}i=f+(i-b<<2)|0;j=c[h>>2]|0;if((i|0)!=(j|0)){while(1){j=j+-4|0;if(i>>>0>=j>>>0)break;t=c[i>>2]|0;c[i>>2]=c[j>>2];c[j>>2]=t;i=i+4|0}i=c[h>>2]|0}}else{Jb[c[(c[p>>2]|0)+48>>2]&15](p,b,e,f)|0;i=f+(e-b<<2)|0;c[h>>2]=i}c[g>>2]=(d|0)==(e|0)?i:f+(d-b<<2)|0;qO(q);zb=r;return}function SH(a){a=a|0;JF(a);return}function TH(a){a=a|0;JF(a);ZA(a);return}function UH(a){a=a|0;return 2}function VH(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0;h=zb;zb=zb+16|0;i=h+12|0;j=h+8|0;l=h+4|0;k=h;c[l>>2]=c[b>>2];c[k>>2]=c[d>>2];c[j>>2]=c[l>>2];c[i>>2]=c[k>>2];a=lI(a,j,i,e,f,g,50782,50790)|0;zb=h;return a|0}function WH(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0;i=zb;zb=zb+16|0;j=i+12|0;k=i+8|0;m=i+4|0;l=i;n=b+8|0;n=Fb[c[(c[n>>2]|0)+20>>2]&127](n)|0;c[m>>2]=c[d>>2];c[l>>2]=c[e>>2];e=a[n+11>>0]|0;o=e<<24>>24<0;d=o?c[n>>2]|0:n;e=d+(o?c[n+4>>2]|0:e&255)|0;c[k>>2]=c[m>>2];c[j>>2]=c[l>>2];b=lI(b,k,j,f,g,h,d,e)|0;zb=i;return b|0}function XH(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=zb;zb=zb+16|0;i=h+4|0;j=h;PE(i,e);e=cG(i,57584)|0;dG(i);c[j>>2]=c[d>>2];c[i>>2]=c[j>>2];jI(a,g+24|0,b,i,f,e);zb=h;return c[b>>2]|0}function YH(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=zb;zb=zb+16|0;i=h+4|0;j=h;PE(i,e);e=cG(i,57584)|0;dG(i);c[j>>2]=c[d>>2];c[i>>2]=c[j>>2];kI(a,g+16|0,b,i,f,e);zb=h;return c[b>>2]|0}function ZH(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=zb;zb=zb+16|0;i=h+4|0;j=h;PE(i,e);e=cG(i,57584)|0;dG(i);c[j>>2]=c[d>>2];c[i>>2]=c[j>>2];wI(a,g+20|0,b,i,f,e);zb=h;return c[b>>2]|0}function _H(b,d,e,f,g,h,i,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0;R=zb;zb=zb+144|0;P=R+128|0;K=R+112|0;j=R+124|0;q=R+120|0;F=R+116|0;I=R+108|0;k=R+104|0;l=R+100|0;m=R+96|0;n=R+92|0;o=R+88|0;p=R+84|0;r=R+80|0;s=R+76|0;t=R+72|0;u=R+68|0;v=R+64|0;w=R+60|0;x=R+56|0;y=R+52|0;z=R+48|0;A=R+44|0;B=R+40|0;C=R+36|0;D=R+32|0;E=R+28|0;G=R+24|0;H=R+20|0;J=R+16|0;L=R+12|0;M=R+8|0;N=R+4|0;O=R;c[g>>2]=0;PE(P,f);Q=cG(P,57584)|0;dG(P);do switch(i<<24>>24|0){case 65:case 97:{c[j>>2]=c[e>>2];c[P>>2]=c[j>>2];jI(b,h+24|0,d,P,g,Q);S=26;break}case 104:case 66:case 98:{c[q>>2]=c[e>>2];c[P>>2]=c[q>>2];kI(b,h+16|0,d,P,g,Q);S=26;break}case 99:{Q=b+8|0;Q=Fb[c[(c[Q>>2]|0)+12>>2]&127](Q)|0;c[F>>2]=c[d>>2];c[I>>2]=c[e>>2];S=a[Q+11>>0]|0;e=S<<24>>24<0;i=e?c[Q>>2]|0:Q;S=i+(e?c[Q+4>>2]|0:S&255)|0;c[K>>2]=c[F>>2];c[P>>2]=c[I>>2];c[d>>2]=lI(b,K,P,f,g,h,i,S)|0;S=26;break}case 101:case 100:{c[k>>2]=c[e>>2];c[P>>2]=c[k>>2];mI(b,h+12|0,d,P,g,Q);S=26;break}case 68:{c[l>>2]=c[d>>2];c[m>>2]=c[e>>2];c[K>>2]=c[l>>2];c[P>>2]=c[m>>2];c[d>>2]=lI(b,K,P,f,g,h,50742,50750)|0;S=26;break}case 70:{c[n>>2]=c[d>>2];c[o>>2]=c[e>>2];c[K>>2]=c[n>>2];c[P>>2]=c[o>>2];c[d>>2]=lI(b,K,P,f,g,h,50750,50758)|0;S=26;break}case 72:{c[p>>2]=c[e>>2];c[P>>2]=c[p>>2];nI(b,h+8|0,d,P,g,Q);S=26;break}case 73:{c[r>>2]=c[e>>2];c[P>>2]=c[r>>2];oI(b,h+8|0,d,P,g,Q);S=26;break}case 106:{c[s>>2]=c[e>>2];c[P>>2]=c[s>>2];pI(b,h+28|0,d,P,g,Q);S=26;break}case 109:{c[t>>2]=c[e>>2];c[P>>2]=c[t>>2];qI(b,h+16|0,d,P,g,Q);S=26;break}case 77:{c[u>>2]=c[e>>2];c[P>>2]=c[u>>2];rI(b,h+4|0,d,P,g,Q);S=26;break}case 116:case 110:{c[v>>2]=c[e>>2];c[P>>2]=c[v>>2];sI(b,d,P,g,Q);S=26;break}case 112:{c[w>>2]=c[e>>2];c[P>>2]=c[w>>2];tI(b,h+8|0,d,P,g,Q);S=26;break}case 114:{c[x>>2]=c[d>>2];c[y>>2]=c[e>>2];c[K>>2]=c[x>>2];c[P>>2]=c[y>>2];c[d>>2]=lI(b,K,P,f,g,h,50758,50769)|0;S=26;break}case 82:{c[z>>2]=c[d>>2];c[A>>2]=c[e>>2];c[K>>2]=c[z>>2];c[P>>2]=c[A>>2];c[d>>2]=lI(b,K,P,f,g,h,50769,50774)|0;S=26;break}case 83:{c[B>>2]=c[e>>2];c[P>>2]=c[B>>2];uI(b,h,d,P,g,Q);S=26;break}case 84:{c[C>>2]=c[d>>2];c[D>>2]=c[e>>2];c[K>>2]=c[C>>2];c[P>>2]=c[D>>2];c[d>>2]=lI(b,K,P,f,g,h,50774,50782)|0;S=26;break}case 119:{c[E>>2]=c[e>>2];c[P>>2]=c[E>>2];vI(b,h+24|0,d,P,g,Q);S=26;break}case 120:{j=c[(c[b>>2]|0)+20>>2]|0;c[G>>2]=c[d>>2];c[H>>2]=c[e>>2];c[K>>2]=c[G>>2];c[P>>2]=c[H>>2];j=Nb[j&63](b,K,P,f,g,h)|0;break}case 88:{Q=b+8|0;Q=Fb[c[(c[Q>>2]|0)+24>>2]&127](Q)|0;c[J>>2]=c[d>>2];c[L>>2]=c[e>>2];S=a[Q+11>>0]|0;e=S<<24>>24<0;i=e?c[Q>>2]|0:Q;S=i+(e?c[Q+4>>2]|0:S&255)|0;c[K>>2]=c[J>>2];c[P>>2]=c[L>>2];c[d>>2]=lI(b,K,P,f,g,h,i,S)|0;S=26;break}case 121:{c[M>>2]=c[e>>2];c[P>>2]=c[M>>2];wI(b,h+20|0,d,P,g,Q);S=26;break}case 89:{c[N>>2]=c[e>>2];c[P>>2]=c[N>>2];xI(b,h+20|0,d,P,g,Q);S=26;break}case 37:{c[O>>2]=c[e>>2];c[P>>2]=c[O>>2];yI(b,d,P,g,Q);S=26;break}default:{c[g>>2]=c[g>>2]|4;S=26}}while(0);if((S|0)==26)j=c[d>>2]|0;zb=R;return j|0}function $H(b){b=b|0;if((a[55720]|0)==0?uB(55720)|0:0){iI();c[14428]=54704;wB(55720)}return c[14428]|0}function aI(b){b=b|0;if((a[55704]|0)==0?uB(55704)|0:0){hI();c[14427]=54416;wB(55704)}return c[14427]|0}function bI(b){b=b|0;if((a[55688]|0)==0?uB(55688)|0:0){gI();c[14426]=54384;wB(55688)}return c[14426]|0}function cI(b){b=b|0;if((a[55680]|0)==0?uB(55680)|0:0){c[14423]=0;c[14424]=0;c[14425]=0;nO(57692,50500,cg(50500)|0);wB(55680)}return 57692}function dI(b){b=b|0;if((a[55672]|0)==0?uB(55672)|0:0){c[14420]=0;c[14421]=0;c[14422]=0;nO(57680,50488,cg(50488)|0);wB(55672)}return 57680}function eI(b){b=b|0;if((a[55664]|0)==0?uB(55664)|0:0){c[14417]=0;c[14418]=0;c[14419]=0;nO(57668,50479,cg(50479)|0);wB(55664)}return 57668}function fI(b){b=b|0;if((a[55656]|0)==0?uB(55656)|0:0){c[14414]=0;c[14415]=0;c[14416]=0;nO(57656,50470,cg(50470)|0);wB(55656)}return 57656}function gI(){var b=0,d=0;if((a[55696]|0)==0?uB(55696)|0:0){d=54384;do{c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[d+(b<<2)>>2]=0;b=b+1|0}d=d+12|0}while((d|0)!=54408);wB(55696)}uO(54384,50521)|0;uO(54396,50524)|0;return}function hI(){var b=0,d=0;if((a[55712]|0)==0?uB(55712)|0:0){d=54416;do{c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[d+(b<<2)>>2]=0;b=b+1|0}d=d+12|0}while((d|0)!=54704);wB(55712)}uO(54416,50527)|0;uO(54428,50535)|0;uO(54440,50544)|0;uO(54452,50550)|0;uO(54464,50556)|0;uO(54476,50560)|0;uO(54488,50565)|0;uO(54500,50570)|0;uO(54512,50577)|0;uO(54524,50587)|0;uO(54536,50595)|0;uO(54548,50604)|0;uO(54560,50613)|0;uO(54572,50617)|0;uO(54584,50621)|0;uO(54596,50625)|0;uO(54608,50556)|0;uO(54620,50629)|0;uO(54632,50633)|0;uO(54644,50637)|0;uO(54656,50641)|0;uO(54668,50645)|0;uO(54680,50649)|0;uO(54692,50653)|0;return}function iI(){var b=0,d=0;if((a[55728]|0)==0?uB(55728)|0:0){d=54704;do{c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[d+(b<<2)>>2]=0;b=b+1|0}d=d+12|0}while((d|0)!=54872);wB(55728)}uO(54704,50657)|0;uO(54716,50664)|0;uO(54728,50671)|0;uO(54740,50679)|0;uO(54752,50689)|0;uO(54764,50698)|0;uO(54776,50705)|0;uO(54788,50714)|0;uO(54800,50718)|0;uO(54812,50722)|0;uO(54824,50726)|0;uO(54836,50730)|0;uO(54848,50734)|0;uO(54860,50738)|0;return}function jI(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=zb;zb=zb+16|0;i=h+4|0;j=h;a=a+8|0;a=Fb[c[c[a>>2]>>2]&127](a)|0;c[j>>2]=c[e>>2];c[i>>2]=c[j>>2];d=(MG(d,i,a,a+168|0,g,f,0)|0)-a|0;if((d|0)<168)c[b>>2]=((d|0)/12|0|0)%7|0;zb=h;return}function kI(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=zb;zb=zb+16|0;i=h+4|0;j=h;a=a+8|0;a=Fb[c[(c[a>>2]|0)+4>>2]&127](a)|0;c[j>>2]=c[e>>2];c[i>>2]=c[j>>2];d=(MG(d,i,a,a+288|0,g,f,0)|0)-a|0;if((d|0)<288)c[b>>2]=((d|0)/12|0|0)%12|0;zb=h;return}function lI(d,e,f,g,h,i,j,k){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;z=zb;zb=zb+16|0;w=z+12|0;u=z+8|0;t=z+4|0;v=z;PE(w,g);x=cG(w,57584)|0;dG(w);c[h>>2]=0;s=x+8|0;m=0;a:while(1){l=c[e>>2]|0;if(!((j|0)!=(k|0)&(m|0)==0))break;n=l;if(l){m=c[l+12>>2]|0;if((m|0)==(c[l+16>>2]|0))m=Fb[c[(c[l>>2]|0)+36>>2]&127](l)|0;else m=ig(a[m>>0]|0)|0;if(eg(m,ag()|0)|0){c[e>>2]=0;n=0;l=0;q=1}else q=0}else{l=0;q=1}p=c[f>>2]|0;m=p;do if(p){o=c[p+12>>2]|0;if((o|0)==(c[p+16>>2]|0))o=Fb[c[(c[p>>2]|0)+36>>2]&127](p)|0;else o=ig(a[o>>0]|0)|0;if(!(eg(o,ag()|0)|0))if(q){o=p;break}else{y=63;break a}else{c[f>>2]=0;m=0;y=15;break}}else y=15;while(0);if((y|0)==15){y=0;if(q){y=63;break}else o=0}b:do if((Ib[c[(c[x>>2]|0)+36>>2]&63](x,a[j>>0]|0,0)|0)<<24>>24==37){o=j+1|0;if((o|0)==(k|0)){y=63;break a}q=Ib[c[(c[x>>2]|0)+36>>2]&63](x,a[o>>0]|0,0)|0;switch(q<<24>>24){case 48:case 69:{p=j+2|0;if((p|0)==(k|0)){y=63;break a}j=o;o=Ib[c[(c[x>>2]|0)+36>>2]&63](x,a[p>>0]|0,0)|0;l=q;break}default:{o=q;l=0}}q=c[(c[d>>2]|0)+36>>2]|0;c[t>>2]=n;c[v>>2]=m;c[u>>2]=c[t>>2];c[w>>2]=c[v>>2];c[e>>2]=Pb[q&15](d,u,w,g,h,i,o,l)|0;j=j+2|0}else{m=a[j>>0]|0;if(m<<24>>24>-1?(r=c[s>>2]|0,b[r+(m<<24>>24<<1)>>1]&8192):0){do{j=j+1|0;if((j|0)==(k|0)){j=k;break}m=a[j>>0]|0;if(m<<24>>24<=-1)break}while((b[r+(m<<24>>24<<1)>>1]&8192)!=0);while(1){if(l){m=c[l+12>>2]|0;if((m|0)==(c[l+16>>2]|0))m=Fb[c[(c[l>>2]|0)+36>>2]&127](l)|0;else m=ig(a[m>>0]|0)|0;if(eg(m,ag()|0)|0){c[e>>2]=0;l=0;n=1}else n=0}else{l=0;n=1}do if(o){m=c[o+12>>2]|0;if((m|0)==(c[o+16>>2]|0))m=Fb[c[(c[o>>2]|0)+36>>2]&127](o)|0;else m=ig(a[m>>0]|0)|0;if(!(eg(m,ag()|0)|0))if(n){p=o;break}else break b;else{c[f>>2]=0;y=42;break}}else y=42;while(0);if((y|0)==42){y=0;if(n)break b;else p=0}o=l+12|0;m=c[o>>2]|0;n=l+16|0;if((m|0)==(c[n>>2]|0))m=Fb[c[(c[l>>2]|0)+36>>2]&127](l)|0;else m=ig(a[m>>0]|0)|0;if((m&255)<<24>>24<=-1)break b;if(!(b[(c[s>>2]|0)+(m<<24>>24<<1)>>1]&8192))break b;m=c[o>>2]|0;if((m|0)==(c[n>>2]|0))Fb[c[(c[l>>2]|0)+40>>2]&127](l)|0;else{c[o>>2]=m+1;ig(a[m>>0]|0)|0}o=p}}o=l+12|0;m=c[o>>2]|0;n=l+16|0;if((m|0)==(c[n>>2]|0))m=Fb[c[(c[l>>2]|0)+36>>2]&127](l)|0;else m=ig(a[m>>0]|0)|0;q=Hb[c[(c[x>>2]|0)+12>>2]&63](x,m&255)|0;if(q<<24>>24!=(Hb[c[(c[x>>2]|0)+12>>2]&63](x,a[j>>0]|0)|0)<<24>>24){c[h>>2]=4;break}m=c[o>>2]|0;if((m|0)==(c[n>>2]|0))Fb[c[(c[l>>2]|0)+40>>2]&127](l)|0;else{c[o>>2]=m+1;ig(a[m>>0]|0)|0}j=j+1|0}while(0);m=c[h>>2]|0}if((y|0)==63)c[h>>2]=4;if(l){j=c[l+12>>2]|0;if((j|0)==(c[l+16>>2]|0))j=Fb[c[(c[l>>2]|0)+36>>2]&127](l)|0;else j=ig(a[j>>0]|0)|0;if(eg(j,ag()|0)|0){c[e>>2]=0;n=1;m=0}else{n=0;m=l}}else{n=1;m=0}j=c[f>>2]|0;do if(j){l=c[j+12>>2]|0;if((l|0)==(c[j+16>>2]|0))j=Fb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else j=ig(a[l>>0]|0)|0;if(!(eg(j,ag()|0)|0))if(n)break;else{y=78;break}else{c[f>>2]=0;y=76;break}}else y=76;while(0);if((y|0)==76?n:0)y=78;if((y|0)==78)c[h>>2]=c[h>>2]|2;zb=z;return m|0}function mI(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0;h=zb;zb=zb+16|0;a=h+4|0;i=h;c[i>>2]=c[e>>2];c[a>>2]=c[i>>2];d=zI(d,a,f,g,2)|0;a=c[f>>2]|0;if((d+-1|0)>>>0<31&(a&4|0)==0)c[b>>2]=d;else c[f>>2]=a|4;zb=h;return}function nI(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0;h=zb;zb=zb+16|0;a=h+4|0;i=h;c[i>>2]=c[e>>2];c[a>>2]=c[i>>2];d=zI(d,a,f,g,2)|0;a=c[f>>2]|0;if((d|0)<24&(a&4|0)==0)c[b>>2]=d;else c[f>>2]=a|4;zb=h;return}function oI(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0;h=zb;zb=zb+16|0;a=h+4|0;i=h;c[i>>2]=c[e>>2];c[a>>2]=c[i>>2];d=zI(d,a,f,g,2)|0;a=c[f>>2]|0;if((d+-1|0)>>>0<12&(a&4|0)==0)c[b>>2]=d;else c[f>>2]=a|4;zb=h;return}function pI(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0;h=zb;zb=zb+16|0;a=h+4|0;i=h;c[i>>2]=c[e>>2];c[a>>2]=c[i>>2];d=zI(d,a,f,g,3)|0;a=c[f>>2]|0;if((d|0)<366&(a&4|0)==0)c[b>>2]=d;else c[f>>2]=a|4;zb=h;return}function qI(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0;h=zb;zb=zb+16|0;a=h+4|0;i=h;c[i>>2]=c[e>>2];c[a>>2]=c[i>>2];d=zI(d,a,f,g,2)|0;a=c[f>>2]|0;if((d|0)<13&(a&4|0)==0)c[b>>2]=d+-1;else c[f>>2]=a|4;zb=h;return}function rI(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0;h=zb;zb=zb+16|0;a=h+4|0;i=h;c[i>>2]=c[e>>2];c[a>>2]=c[i>>2];d=zI(d,a,f,g,2)|0;a=c[f>>2]|0;if((d|0)<60&(a&4|0)==0)c[b>>2]=d;else c[f>>2]=a|4;zb=h;return}function sI(d,e,f,g,h){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0;j=h+8|0;a:while(1){h=c[e>>2]|0;do if(h){d=c[h+12>>2]|0;if((d|0)==(c[h+16>>2]|0))h=Fb[c[(c[h>>2]|0)+36>>2]&127](h)|0;else h=ig(a[d>>0]|0)|0;if(eg(h,ag()|0)|0){c[e>>2]=0;d=1;break}else{d=(c[e>>2]|0)==0;break}}else d=1;while(0);i=c[f>>2]|0;do if(i){h=c[i+12>>2]|0;if((h|0)==(c[i+16>>2]|0))h=Fb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else h=ig(a[h>>0]|0)|0;if(!(eg(h,ag()|0)|0))if(d)break;else break a;else{c[f>>2]=0;k=15;break}}else k=15;while(0);if((k|0)==15){k=0;if(d){i=0;break}else i=0}h=c[e>>2]|0;d=c[h+12>>2]|0;if((d|0)==(c[h+16>>2]|0))h=Fb[c[(c[h>>2]|0)+36>>2]&127](h)|0;else h=ig(a[d>>0]|0)|0;if((h&255)<<24>>24<=-1)break;if(!(b[(c[j>>2]|0)+(h<<24>>24<<1)>>1]&8192))break;h=c[e>>2]|0;i=h+12|0;d=c[i>>2]|0;if((d|0)==(c[h+16>>2]|0))Fb[c[(c[h>>2]|0)+40>>2]&127](h)|0;else{c[i>>2]=d+1;ig(a[d>>0]|0)|0}}h=c[e>>2]|0;do if(h){d=c[h+12>>2]|0;if((d|0)==(c[h+16>>2]|0))h=Fb[c[(c[h>>2]|0)+36>>2]&127](h)|0;else h=ig(a[d>>0]|0)|0;if(eg(h,ag()|0)|0){c[e>>2]=0;d=1;break}else{d=(c[e>>2]|0)==0;break}}else d=1;while(0);do if(i){h=c[i+12>>2]|0;if((h|0)==(c[i+16>>2]|0))h=Fb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else h=ig(a[h>>0]|0)|0;if(!(eg(h,ag()|0)|0))if(d)break;else{k=41;break}else{c[f>>2]=0;k=39;break}}else k=39;while(0);if((k|0)==39?d:0)k=41;if((k|0)==41)c[g>>2]=c[g>>2]|2;return}function tI(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0;m=zb;zb=zb+16|0;l=m+4|0;k=m;j=b+8|0;j=Fb[c[(c[j>>2]|0)+8>>2]&127](j)|0;b=a[j+11>>0]|0;if(b<<24>>24<0)i=c[j+4>>2]|0;else i=b&255;b=a[j+12+11>>0]|0;if(b<<24>>24<0)b=c[j+16>>2]|0;else b=b&255;do if((i|0)!=(0-b|0)){c[k>>2]=c[f>>2];c[l>>2]=c[k>>2];i=(MG(e,l,j,j+24|0,h,g,0)|0)-j|0;b=c[d>>2]|0;if((b|0)==12&(i|0)==0){c[d>>2]=0;break}if((b|0)<12&(i|0)==12)c[d>>2]=b+12}else c[g>>2]=c[g>>2]|4;while(0);zb=m;return}function uI(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0;h=zb;zb=zb+16|0;a=h+4|0;i=h;c[i>>2]=c[e>>2];c[a>>2]=c[i>>2];d=zI(d,a,f,g,2)|0;a=c[f>>2]|0;if((d|0)<61&(a&4|0)==0)c[b>>2]=d;else c[f>>2]=a|4;zb=h;return}function vI(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0;h=zb;zb=zb+16|0;a=h+4|0;i=h;c[i>>2]=c[e>>2];c[a>>2]=c[i>>2];d=zI(d,a,f,g,1)|0;a=c[f>>2]|0;if((d|0)<7&(a&4|0)==0)c[b>>2]=d;else c[f>>2]=a|4;zb=h;return}function wI(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0;h=zb;zb=zb+16|0;a=h+4|0;i=h;c[i>>2]=c[e>>2];c[a>>2]=c[i>>2];a=zI(d,a,f,g,4)|0;if(!(c[f>>2]&4)){if((a|0)<69)a=a+2e3|0;else a=(a|0)<100?a+1900|0:a;c[b>>2]=a+-1900}zb=h;return}function xI(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0;h=zb;zb=zb+16|0;a=h+4|0;i=h;c[i>>2]=c[e>>2];c[a>>2]=c[i>>2];a=zI(d,a,f,g,4)|0;if(!(c[f>>2]&4))c[b>>2]=a+-1900;zb=h;return}function yI(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0;b=c[d>>2]|0;do if(b){h=c[b+12>>2]|0;if((h|0)==(c[b+16>>2]|0))b=Fb[c[(c[b>>2]|0)+36>>2]&127](b)|0;else b=ig(a[h>>0]|0)|0;if(eg(b,ag()|0)|0){c[d>>2]=0;i=1;break}else{i=(c[d>>2]|0)==0;break}}else i=1;while(0);h=c[e>>2]|0;do if(h){b=c[h+12>>2]|0;if((b|0)==(c[h+16>>2]|0))b=Fb[c[(c[h>>2]|0)+36>>2]&127](h)|0;else b=ig(a[b>>0]|0)|0;if(!(eg(b,ag()|0)|0))if(i){j=h;k=17;break}else{k=16;break}else{c[e>>2]=0;k=14;break}}else k=14;while(0);if((k|0)==14)if(i)k=16;else{j=0;k=17}a:do if((k|0)==16)c[f>>2]=c[f>>2]|6;else if((k|0)==17){b=c[d>>2]|0;h=c[b+12>>2]|0;if((h|0)==(c[b+16>>2]|0))b=Fb[c[(c[b>>2]|0)+36>>2]&127](b)|0;else b=ig(a[h>>0]|0)|0;if((Ib[c[(c[g>>2]|0)+36>>2]&63](g,b&255,0)|0)<<24>>24!=37){c[f>>2]=c[f>>2]|4;break}b=c[d>>2]|0;i=b+12|0;h=c[i>>2]|0;if((h|0)==(c[b+16>>2]|0))Fb[c[(c[b>>2]|0)+40>>2]&127](b)|0;else{c[i>>2]=h+1;ig(a[h>>0]|0)|0}b=c[d>>2]|0;do if(b){h=c[b+12>>2]|0;if((h|0)==(c[b+16>>2]|0))b=Fb[c[(c[b>>2]|0)+36>>2]&127](b)|0;else b=ig(a[h>>0]|0)|0;if(eg(b,ag()|0)|0){c[d>>2]=0;h=1;break}else{h=(c[d>>2]|0)==0;break}}else h=1;while(0);do if(j){b=c[j+12>>2]|0;if((b|0)==(c[j+16>>2]|0))b=Fb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else b=ig(a[b>>0]|0)|0;if(!(eg(b,ag()|0)|0))if(h)break a;else break;else{c[e>>2]=0;k=38;break}}else k=38;while(0);if((k|0)==38?!h:0)break;c[f>>2]=c[f>>2]|2}while(0);return}function zI(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;i=c[d>>2]|0;do if(i){j=c[i+12>>2]|0;if((j|0)==(c[i+16>>2]|0))i=Fb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else i=ig(a[j>>0]|0)|0;if(eg(i,ag()|0)|0){c[d>>2]=0;k=1;break}else{k=(c[d>>2]|0)==0;break}}else k=1;while(0);j=c[e>>2]|0;do if(j){i=c[j+12>>2]|0;if((i|0)==(c[j+16>>2]|0))i=Fb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else i=ig(a[i>>0]|0)|0;if(!(eg(i,ag()|0)|0))if(k){m=j;r=17;break}else{r=16;break}else{c[e>>2]=0;r=14;break}}else r=14;while(0);if((r|0)==14)if(k)r=16;else{m=0;r=17}a:do if((r|0)==16){c[f>>2]=c[f>>2]|6;i=0}else if((r|0)==17){i=c[d>>2]|0;j=c[i+12>>2]|0;if((j|0)==(c[i+16>>2]|0))j=Fb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else j=ig(a[j>>0]|0)|0;i=j&255;if(i<<24>>24>-1?(q=g+8|0,b[(c[q>>2]|0)+(j<<24>>24<<1)>>1]&2048):0){i=(Ib[c[(c[g>>2]|0)+36>>2]&63](g,i,0)|0)<<24>>24;j=c[d>>2]|0;l=j+12|0;k=c[l>>2]|0;if((k|0)==(c[j+16>>2]|0))Fb[c[(c[j>>2]|0)+40>>2]&127](j)|0;else{c[l>>2]=k+1;ig(a[k>>0]|0)|0}n=m;while(1){i=i+-48|0;p=h+-1|0;j=c[d>>2]|0;do if(j){k=c[j+12>>2]|0;if((k|0)==(c[j+16>>2]|0))j=Fb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else j=ig(a[k>>0]|0)|0;if(eg(j,ag()|0)|0){c[d>>2]=0;l=1;break}else{l=(c[d>>2]|0)==0;break}}else l=1;while(0);if(n){j=c[n+12>>2]|0;if((j|0)==(c[n+16>>2]|0))j=Fb[c[(c[n>>2]|0)+36>>2]&127](n)|0;else j=ig(a[j>>0]|0)|0;if(eg(j,ag()|0)|0){c[e>>2]=0;j=1;o=0;m=0}else{j=0;o=m;m=n}}else{j=1;o=m;m=0}k=c[d>>2]|0;if(!((h|0)>1&(l^j)))break;j=c[k+12>>2]|0;if((j|0)==(c[k+16>>2]|0))k=Fb[c[(c[k>>2]|0)+36>>2]&127](k)|0;else k=ig(a[j>>0]|0)|0;j=k&255;if(j<<24>>24<=-1)break a;if(!(b[(c[q>>2]|0)+(k<<24>>24<<1)>>1]&2048))break a;i=(i*10|0)+((Ib[c[(c[g>>2]|0)+36>>2]&63](g,j,0)|0)<<24>>24)|0;j=c[d>>2]|0;l=j+12|0;k=c[l>>2]|0;if((k|0)==(c[j+16>>2]|0))Fb[c[(c[j>>2]|0)+40>>2]&127](j)|0;else{c[l>>2]=k+1;ig(a[k>>0]|0)|0}n=m;m=o;h=p}do if(k){j=c[k+12>>2]|0;if((j|0)==(c[k+16>>2]|0))j=Fb[c[(c[k>>2]|0)+36>>2]&127](k)|0;else j=ig(a[j>>0]|0)|0;if(eg(j,ag()|0)|0){c[d>>2]=0;k=1;break}else{k=(c[d>>2]|0)==0;break}}else k=1;while(0);do if(o){j=c[o+12>>2]|0;if((j|0)==(c[o+16>>2]|0))j=Fb[c[(c[o>>2]|0)+36>>2]&127](o)|0;else j=ig(a[j>>0]|0)|0;if(!(eg(j,ag()|0)|0))if(k)break a;else break;else{c[e>>2]=0;r=63;break}}else r=63;while(0);if((r|0)==63?!k:0)break;c[f>>2]=c[f>>2]|2;break}c[f>>2]=c[f>>2]|4;i=0}while(0);return i|0}function AI(a){a=a|0;JF(a);return}function BI(a){a=a|0;JF(a);ZA(a);return}function CI(a){a=a|0;return 2}function DI(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0;h=zb;zb=zb+16|0;i=h+12|0;j=h+8|0;l=h+4|0;k=h;c[l>>2]=c[b>>2];c[k>>2]=c[d>>2];c[j>>2]=c[l>>2];c[i>>2]=c[k>>2];a=WI(a,j,i,e,f,g,13152,13184)|0;zb=h;return a|0}function EI(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0;i=zb;zb=zb+16|0;j=i+12|0;k=i+8|0;m=i+4|0;l=i;n=b+8|0;n=Fb[c[(c[n>>2]|0)+20>>2]&127](n)|0;c[m>>2]=c[d>>2];c[l>>2]=c[e>>2];e=a[n+8+3>>0]|0;o=e<<24>>24<0;d=o?c[n>>2]|0:n;e=d+((o?c[n+4>>2]|0:e&255)<<2)|0;c[k>>2]=c[m>>2];c[j>>2]=c[l>>2];b=WI(b,k,j,f,g,h,d,e)|0;zb=i;return b|0}function FI(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=zb;zb=zb+16|0;i=h+4|0;j=h;PE(i,e);e=cG(i,57616)|0;dG(i);c[j>>2]=c[d>>2];c[i>>2]=c[j>>2];UI(a,g+24|0,b,i,f,e);zb=h;return c[b>>2]|0}function GI(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=zb;zb=zb+16|0;i=h+4|0;j=h;PE(i,e);e=cG(i,57616)|0;dG(i);c[j>>2]=c[d>>2];c[i>>2]=c[j>>2];VI(a,g+16|0,b,i,f,e);zb=h;return c[b>>2]|0}function HI(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=zb;zb=zb+16|0;i=h+4|0;j=h;PE(i,e);e=cG(i,57616)|0;dG(i);c[j>>2]=c[d>>2];c[i>>2]=c[j>>2];fJ(a,g+20|0,b,i,f,e);zb=h;return c[b>>2]|0}function II(b,d,e,f,g,h,i,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0;R=zb;zb=zb+144|0;P=R+128|0;K=R+112|0;j=R+124|0;q=R+120|0;F=R+116|0;I=R+108|0;k=R+104|0;l=R+100|0;m=R+96|0;n=R+92|0;o=R+88|0;p=R+84|0;r=R+80|0;s=R+76|0;t=R+72|0;u=R+68|0;v=R+64|0;w=R+60|0;x=R+56|0;y=R+52|0;z=R+48|0;A=R+44|0;B=R+40|0;C=R+36|0;D=R+32|0;E=R+28|0;G=R+24|0;H=R+20|0;J=R+16|0;L=R+12|0;M=R+8|0;N=R+4|0;O=R;c[g>>2]=0;PE(P,f);Q=cG(P,57616)|0;dG(P);do switch(i<<24>>24|0){case 65:case 97:{c[j>>2]=c[e>>2];c[P>>2]=c[j>>2];UI(b,h+24|0,d,P,g,Q);S=26;break}case 104:case 66:case 98:{c[q>>2]=c[e>>2];c[P>>2]=c[q>>2];VI(b,h+16|0,d,P,g,Q);S=26;break}case 99:{Q=b+8|0;Q=Fb[c[(c[Q>>2]|0)+12>>2]&127](Q)|0;c[F>>2]=c[d>>2];c[I>>2]=c[e>>2];S=a[Q+8+3>>0]|0;e=S<<24>>24<0;i=e?c[Q>>2]|0:Q;S=i+((e?c[Q+4>>2]|0:S&255)<<2)|0;c[K>>2]=c[F>>2];c[P>>2]=c[I>>2];c[d>>2]=WI(b,K,P,f,g,h,i,S)|0;S=26;break}case 101:case 100:{c[k>>2]=c[e>>2];c[P>>2]=c[k>>2];XI(b,h+12|0,d,P,g,Q);S=26;break}case 68:{c[l>>2]=c[d>>2];c[m>>2]=c[e>>2];c[K>>2]=c[l>>2];c[P>>2]=c[m>>2];c[d>>2]=WI(b,K,P,f,g,h,12976,13008)|0;S=26;break}case 70:{c[n>>2]=c[d>>2];c[o>>2]=c[e>>2];c[K>>2]=c[n>>2];c[P>>2]=c[o>>2];c[d>>2]=WI(b,K,P,f,g,h,13008,13040)|0;S=26;break}case 72:{c[p>>2]=c[e>>2];c[P>>2]=c[p>>2];YI(b,h+8|0,d,P,g,Q);S=26;break}case 73:{c[r>>2]=c[e>>2];c[P>>2]=c[r>>2];ZI(b,h+8|0,d,P,g,Q);S=26;break}case 106:{c[s>>2]=c[e>>2];c[P>>2]=c[s>>2];_I(b,h+28|0,d,P,g,Q);S=26;break}case 109:{c[t>>2]=c[e>>2];c[P>>2]=c[t>>2];$I(b,h+16|0,d,P,g,Q);S=26;break}case 77:{c[u>>2]=c[e>>2];c[P>>2]=c[u>>2];aJ(b,h+4|0,d,P,g,Q);S=26;break}case 116:case 110:{c[v>>2]=c[e>>2];c[P>>2]=c[v>>2];bJ(b,d,P,g,Q);S=26;break}case 112:{c[w>>2]=c[e>>2];c[P>>2]=c[w>>2];cJ(b,h+8|0,d,P,g,Q);S=26;break}case 114:{c[x>>2]=c[d>>2];c[y>>2]=c[e>>2];c[K>>2]=c[x>>2];c[P>>2]=c[y>>2];c[d>>2]=WI(b,K,P,f,g,h,13040,13084)|0;S=26;break}case 82:{c[z>>2]=c[d>>2];c[A>>2]=c[e>>2];c[K>>2]=c[z>>2];c[P>>2]=c[A>>2];c[d>>2]=WI(b,K,P,f,g,h,13088,13108)|0;S=26;break}case 83:{c[B>>2]=c[e>>2];c[P>>2]=c[B>>2];dJ(b,h,d,P,g,Q);S=26;break}case 84:{c[C>>2]=c[d>>2];c[D>>2]=c[e>>2];c[K>>2]=c[C>>2];c[P>>2]=c[D>>2];c[d>>2]=WI(b,K,P,f,g,h,13120,13152)|0;S=26;break}case 119:{c[E>>2]=c[e>>2];c[P>>2]=c[E>>2];eJ(b,h+24|0,d,P,g,Q);S=26;break}case 120:{j=c[(c[b>>2]|0)+20>>2]|0;c[G>>2]=c[d>>2];c[H>>2]=c[e>>2];c[K>>2]=c[G>>2];c[P>>2]=c[H>>2];j=Nb[j&63](b,K,P,f,g,h)|0;break}case 88:{Q=b+8|0;Q=Fb[c[(c[Q>>2]|0)+24>>2]&127](Q)|0;c[J>>2]=c[d>>2];c[L>>2]=c[e>>2];S=a[Q+8+3>>0]|0;e=S<<24>>24<0;i=e?c[Q>>2]|0:Q;S=i+((e?c[Q+4>>2]|0:S&255)<<2)|0;c[K>>2]=c[J>>2];c[P>>2]=c[L>>2];c[d>>2]=WI(b,K,P,f,g,h,i,S)|0;S=26;break}case 121:{c[M>>2]=c[e>>2];c[P>>2]=c[M>>2];fJ(b,h+20|0,d,P,g,Q);S=26;break}case 89:{c[N>>2]=c[e>>2];c[P>>2]=c[N>>2];gJ(b,h+20|0,d,P,g,Q);S=26;break}case 37:{c[O>>2]=c[e>>2];c[P>>2]=c[O>>2];hJ(b,d,P,g,Q);S=26;break}default:{c[g>>2]=c[g>>2]|4;S=26}}while(0);if((S|0)==26)j=c[d>>2]|0;zb=R;return j|0}function JI(b){b=b|0;if((a[55800]|0)==0?uB(55800)|0:0){TI();c[14445]=55200;wB(55800)}return c[14445]|0}function KI(b){b=b|0;if((a[55784]|0)==0?uB(55784)|0:0){SI();c[14444]=54912;wB(55784)}return c[14444]|0}function LI(b){b=b|0;if((a[55768]|0)==0?uB(55768)|0:0){RI();c[14443]=54880;wB(55768)}return c[14443]|0}function MI(b){b=b|0;if((a[55760]|0)==0?uB(55760)|0:0){c[14440]=0;c[14441]=0;c[14442]=0;AO(57760,17648,QI(17648)|0);wB(55760)}return 57760}function NI(b){b=b|0;if((a[55752]|0)==0?uB(55752)|0:0){c[14437]=0;c[14438]=0;c[14439]=0;AO(57748,17600,QI(17600)|0);wB(55752)}return 57748}function OI(b){b=b|0;if((a[55744]|0)==0?uB(55744)|0:0){c[14434]=0;c[14435]=0;c[14436]=0;AO(57736,17564,QI(17564)|0);wB(55744)}return 57736}function PI(b){b=b|0;if((a[55736]|0)==0?uB(55736)|0:0){c[14431]=0;c[14432]=0;c[14433]=0;AO(57724,17528,QI(17528)|0);wB(55736)}return 57724}function QI(a){a=a|0;return ay(a)|0}function RI(){var b=0,d=0;if((a[55776]|0)==0?uB(55776)|0:0){d=54880;do{c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[d+(b<<2)>>2]=0;b=b+1|0}d=d+12|0}while((d|0)!=54904);wB(55776)}HO(54880,17732)|0;HO(54892,17744)|0;return}function SI(){var b=0,d=0;if((a[55792]|0)==0?uB(55792)|0:0){d=54912;do{c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[d+(b<<2)>>2]=0;b=b+1|0}d=d+12|0}while((d|0)!=55200);wB(55792)}HO(54912,17756)|0;HO(54924,17788)|0;HO(54936,17824)|0;HO(54948,17848)|0;HO(54960,17872)|0;HO(54972,17888)|0;HO(54984,17908)|0;HO(54996,17928)|0;HO(55008,17956)|0;HO(55020,17996)|0;HO(55032,18028)|0;HO(55044,18064)|0;HO(55056,18100)|0;HO(55068,18116)|0;HO(55080,18132)|0;HO(55092,18148)|0;HO(55104,17872)|0;HO(55116,18164)|0;HO(55128,18180)|0;HO(55140,18196)|0;HO(55152,18212)|0;HO(55164,18228)|0;HO(55176,18244)|0;HO(55188,18260)|0;return}function TI(){var b=0,d=0;if((a[55808]|0)==0?uB(55808)|0:0){d=55200;do{c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[d+(b<<2)>>2]=0;b=b+1|0}d=d+12|0}while((d|0)!=55368);wB(55808)}HO(55200,18276)|0;HO(55212,18304)|0;HO(55224,18332)|0;HO(55236,18364)|0;HO(55248,18404)|0;HO(55260,18440)|0;HO(55272,18468)|0;HO(55284,18504)|0;HO(55296,18520)|0;HO(55308,18536)|0;HO(55320,18552)|0;HO(55332,18568)|0;HO(55344,18584)|0;HO(55356,18600)|0;return}function UI(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=zb;zb=zb+16|0;i=h+4|0;j=h;a=a+8|0;a=Fb[c[c[a>>2]>>2]&127](a)|0;c[j>>2]=c[e>>2];c[i>>2]=c[j>>2];d=(nH(d,i,a,a+168|0,g,f,0)|0)-a|0;if((d|0)<168)c[b>>2]=((d|0)/12|0|0)%7|0;zb=h;return}function VI(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=zb;zb=zb+16|0;i=h+4|0;j=h;a=a+8|0;a=Fb[c[(c[a>>2]|0)+4>>2]&127](a)|0;c[j>>2]=c[e>>2];c[i>>2]=c[j>>2];d=(nH(d,i,a,a+288|0,g,f,0)|0)-a|0;if((d|0)<288)c[b>>2]=((d|0)/12|0|0)%12|0;zb=h;return}function WI(a,b,d,e,f,g,h,i){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;v=zb;zb=zb+16|0;s=v+12|0;q=v+8|0;p=v+4|0;r=v;PE(s,e);t=cG(s,57616)|0;dG(s);c[f>>2]=0;k=0;a:while(1){j=c[b>>2]|0;if(!((h|0)!=(i|0)&(k|0)==0))break;l=j;if(j){k=c[j+12>>2]|0;if((k|0)==(c[j+16>>2]|0))k=Fb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else k=qE(c[k>>2]|0)|0;if(QE(k,pE()|0)|0){c[b>>2]=0;l=0;j=0;o=1}else o=0}else{j=0;o=1}n=c[d>>2]|0;k=n;do if(n){m=c[n+12>>2]|0;if((m|0)==(c[n+16>>2]|0))m=Fb[c[(c[n>>2]|0)+36>>2]&127](n)|0;else m=qE(c[m>>2]|0)|0;if(!(QE(m,pE()|0)|0))if(o){m=n;break}else{u=60;break a}else{c[d>>2]=0;k=0;u=15;break}}else u=15;while(0);if((u|0)==15){u=0;if(o){u=60;break}else m=0}b:do if((Ib[c[(c[t>>2]|0)+52>>2]&63](t,c[h>>2]|0,0)|0)<<24>>24==37){m=h+4|0;if((m|0)==(i|0)){u=60;break a}o=Ib[c[(c[t>>2]|0)+52>>2]&63](t,c[m>>2]|0,0)|0;switch(o<<24>>24){case 48:case 69:{n=h+8|0;if((n|0)==(i|0)){u=60;break a}h=m;m=Ib[c[(c[t>>2]|0)+52>>2]&63](t,c[n>>2]|0,0)|0;j=o;break}default:{m=o;j=0}}o=c[(c[a>>2]|0)+36>>2]|0;c[p>>2]=l;c[r>>2]=k;c[q>>2]=c[p>>2];c[s>>2]=c[r>>2];c[b>>2]=Pb[o&15](a,q,s,e,f,g,m,j)|0;h=h+8|0}else{if(!(Ib[c[(c[t>>2]|0)+12>>2]&63](t,8192,c[h>>2]|0)|0)){m=j+12|0;k=c[m>>2]|0;l=j+16|0;if((k|0)==(c[l>>2]|0))k=Fb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else k=qE(c[k>>2]|0)|0;o=Hb[c[(c[t>>2]|0)+28>>2]&63](t,k)|0;if((o|0)!=(Hb[c[(c[t>>2]|0)+28>>2]&63](t,c[h>>2]|0)|0)){c[f>>2]=4;break}k=c[m>>2]|0;if((k|0)==(c[l>>2]|0))Fb[c[(c[j>>2]|0)+40>>2]&127](j)|0;else{c[m>>2]=k+4;qE(c[k>>2]|0)|0}h=h+4|0;break}do{h=h+4|0;if((h|0)==(i|0)){h=i;break}}while(Ib[c[(c[t>>2]|0)+12>>2]&63](t,8192,c[h>>2]|0)|0);while(1){if(j){k=c[j+12>>2]|0;if((k|0)==(c[j+16>>2]|0))k=Fb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else k=qE(c[k>>2]|0)|0;if(QE(k,pE()|0)|0){c[b>>2]=0;j=0;l=1}else l=0}else{j=0;l=1}do if(m){k=c[m+12>>2]|0;if((k|0)==(c[m+16>>2]|0))k=Fb[c[(c[m>>2]|0)+36>>2]&127](m)|0;else k=qE(c[k>>2]|0)|0;if(!(QE(k,pE()|0)|0))if(l){n=m;break}else break b;else{c[d>>2]=0;u=40;break}}else u=40;while(0);if((u|0)==40){u=0;if(l)break b;else n=0}m=j+12|0;k=c[m>>2]|0;l=j+16|0;if((k|0)==(c[l>>2]|0))k=Fb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else k=qE(c[k>>2]|0)|0;if(!(Ib[c[(c[t>>2]|0)+12>>2]&63](t,8192,k)|0))break b;k=c[m>>2]|0;if((k|0)==(c[l>>2]|0))Fb[c[(c[j>>2]|0)+40>>2]&127](j)|0;else{c[m>>2]=k+4;qE(c[k>>2]|0)|0}m=n}}while(0);k=c[f>>2]|0}if((u|0)==60)c[f>>2]=4;if(j){h=c[j+12>>2]|0;if((h|0)==(c[j+16>>2]|0))h=Fb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else h=qE(c[h>>2]|0)|0;if(QE(h,pE()|0)|0){c[b>>2]=0;l=1;k=0}else{l=0;k=j}}else{l=1;k=0}h=c[d>>2]|0;do if(h){j=c[h+12>>2]|0;if((j|0)==(c[h+16>>2]|0))h=Fb[c[(c[h>>2]|0)+36>>2]&127](h)|0;else h=qE(c[j>>2]|0)|0;if(!(QE(h,pE()|0)|0))if(l)break;else{u=75;break}else{c[d>>2]=0;u=73;break}}else u=73;while(0);if((u|0)==73?l:0)u=75;if((u|0)==75)c[f>>2]=c[f>>2]|2;zb=v;return k|0}function XI(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0;h=zb;zb=zb+16|0;a=h+4|0;i=h;c[i>>2]=c[e>>2];c[a>>2]=c[i>>2];d=iJ(d,a,f,g,2)|0;a=c[f>>2]|0;if((d+-1|0)>>>0<31&(a&4|0)==0)c[b>>2]=d;else c[f>>2]=a|4;zb=h;return}function YI(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0;h=zb;zb=zb+16|0;a=h+4|0;i=h;c[i>>2]=c[e>>2];c[a>>2]=c[i>>2];d=iJ(d,a,f,g,2)|0;a=c[f>>2]|0;if((d|0)<24&(a&4|0)==0)c[b>>2]=d;else c[f>>2]=a|4;zb=h;return}function ZI(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0;h=zb;zb=zb+16|0;a=h+4|0;i=h;c[i>>2]=c[e>>2];c[a>>2]=c[i>>2];d=iJ(d,a,f,g,2)|0;a=c[f>>2]|0;if((d+-1|0)>>>0<12&(a&4|0)==0)c[b>>2]=d;else c[f>>2]=a|4;zb=h;return}function _I(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0;h=zb;zb=zb+16|0;a=h+4|0;i=h;c[i>>2]=c[e>>2];c[a>>2]=c[i>>2];d=iJ(d,a,f,g,3)|0;a=c[f>>2]|0;if((d|0)<366&(a&4|0)==0)c[b>>2]=d;else c[f>>2]=a|4;zb=h;return}function $I(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0;h=zb;zb=zb+16|0;a=h+4|0;i=h;c[i>>2]=c[e>>2];c[a>>2]=c[i>>2];d=iJ(d,a,f,g,2)|0;a=c[f>>2]|0;if((d|0)<13&(a&4|0)==0)c[b>>2]=d+-1;else c[f>>2]=a|4;zb=h;return}function aJ(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0;h=zb;zb=zb+16|0;a=h+4|0;i=h;c[i>>2]=c[e>>2];c[a>>2]=c[i>>2];d=iJ(d,a,f,g,2)|0;a=c[f>>2]|0;if((d|0)<60&(a&4|0)==0)c[b>>2]=d;else c[f>>2]=a|4;zb=h;return}function bJ(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0;a:while(1){a=c[b>>2]|0;do if(a){g=c[a+12>>2]|0;if((g|0)==(c[a+16>>2]|0))a=Fb[c[(c[a>>2]|0)+36>>2]&127](a)|0;else a=qE(c[g>>2]|0)|0;if(QE(a,pE()|0)|0){c[b>>2]=0;g=1;break}else{g=(c[b>>2]|0)==0;break}}else g=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))a=Fb[c[(c[h>>2]|0)+36>>2]&127](h)|0;else a=qE(c[a>>2]|0)|0;if(!(QE(a,pE()|0)|0))if(g)break;else break a;else{c[d>>2]=0;i=15;break}}else i=15;while(0);if((i|0)==15){i=0;if(g){h=0;break}else h=0}a=c[b>>2]|0;g=c[a+12>>2]|0;if((g|0)==(c[a+16>>2]|0))a=Fb[c[(c[a>>2]|0)+36>>2]&127](a)|0;else a=qE(c[g>>2]|0)|0;if(!(Ib[c[(c[f>>2]|0)+12>>2]&63](f,8192,a)|0))break;a=c[b>>2]|0;h=a+12|0;g=c[h>>2]|0;if((g|0)==(c[a+16>>2]|0))Fb[c[(c[a>>2]|0)+40>>2]&127](a)|0;else{c[h>>2]=g+4;qE(c[g>>2]|0)|0}}a=c[b>>2]|0;do if(a){g=c[a+12>>2]|0;if((g|0)==(c[a+16>>2]|0))a=Fb[c[(c[a>>2]|0)+36>>2]&127](a)|0;else a=qE(c[g>>2]|0)|0;if(QE(a,pE()|0)|0){c[b>>2]=0;g=1;break}else{g=(c[b>>2]|0)==0;break}}else g=1;while(0);do if(h){a=c[h+12>>2]|0;if((a|0)==(c[h+16>>2]|0))a=Fb[c[(c[h>>2]|0)+36>>2]&127](h)|0;else a=qE(c[a>>2]|0)|0;if(!(QE(a,pE()|0)|0))if(g)break;else{i=40;break}else{c[d>>2]=0;i=38;break}}else i=38;while(0);if((i|0)==38?g:0)i=40;if((i|0)==40)c[e>>2]=c[e>>2]|2;return}function cJ(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0;m=zb;zb=zb+16|0;l=m+4|0;k=m;j=b+8|0;j=Fb[c[(c[j>>2]|0)+8>>2]&127](j)|0;b=a[j+8+3>>0]|0;if(b<<24>>24<0)i=c[j+4>>2]|0;else i=b&255;b=a[j+20+3>>0]|0;if(b<<24>>24<0)b=c[j+16>>2]|0;else b=b&255;do if((i|0)!=(0-b|0)){c[k>>2]=c[f>>2];c[l>>2]=c[k>>2];i=(nH(e,l,j,j+24|0,h,g,0)|0)-j|0;b=c[d>>2]|0;if((b|0)==12&(i|0)==0){c[d>>2]=0;break}if((b|0)<12&(i|0)==12)c[d>>2]=b+12}else c[g>>2]=c[g>>2]|4;while(0);zb=m;return}function dJ(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0;h=zb;zb=zb+16|0;a=h+4|0;i=h;c[i>>2]=c[e>>2];c[a>>2]=c[i>>2];d=iJ(d,a,f,g,2)|0;a=c[f>>2]|0;if((d|0)<61&(a&4|0)==0)c[b>>2]=d;else c[f>>2]=a|4;zb=h;return}function eJ(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0;h=zb;zb=zb+16|0;a=h+4|0;i=h;c[i>>2]=c[e>>2];c[a>>2]=c[i>>2];d=iJ(d,a,f,g,1)|0;a=c[f>>2]|0;if((d|0)<7&(a&4|0)==0)c[b>>2]=d;else c[f>>2]=a|4;zb=h;return}function fJ(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0;h=zb;zb=zb+16|0;a=h+4|0;i=h;c[i>>2]=c[e>>2];c[a>>2]=c[i>>2];a=iJ(d,a,f,g,4)|0;if(!(c[f>>2]&4)){if((a|0)<69)a=a+2e3|0;else a=(a|0)<100?a+1900|0:a;c[b>>2]=a+-1900}zb=h;return}function gJ(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0;h=zb;zb=zb+16|0;a=h+4|0;i=h;c[i>>2]=c[e>>2];c[a>>2]=c[i>>2];a=iJ(d,a,f,g,4)|0;if(!(c[f>>2]&4))c[b>>2]=a+-1900;zb=h;return}function hJ(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0;a=c[b>>2]|0;do if(a){g=c[a+12>>2]|0;if((g|0)==(c[a+16>>2]|0))a=Fb[c[(c[a>>2]|0)+36>>2]&127](a)|0;else a=qE(c[g>>2]|0)|0;if(QE(a,pE()|0)|0){c[b>>2]=0;h=1;break}else{h=(c[b>>2]|0)==0;break}}else h=1;while(0);g=c[d>>2]|0;do if(g){a=c[g+12>>2]|0;if((a|0)==(c[g+16>>2]|0))a=Fb[c[(c[g>>2]|0)+36>>2]&127](g)|0;else a=qE(c[a>>2]|0)|0;if(!(QE(a,pE()|0)|0))if(h){i=g;j=17;break}else{j=16;break}else{c[d>>2]=0;j=14;break}}else j=14;while(0);if((j|0)==14)if(h)j=16;else{i=0;j=17}a:do if((j|0)==16)c[e>>2]=c[e>>2]|6;else if((j|0)==17){a=c[b>>2]|0;g=c[a+12>>2]|0;if((g|0)==(c[a+16>>2]|0))a=Fb[c[(c[a>>2]|0)+36>>2]&127](a)|0;else a=qE(c[g>>2]|0)|0;if((Ib[c[(c[f>>2]|0)+52>>2]&63](f,a,0)|0)<<24>>24!=37){c[e>>2]=c[e>>2]|4;break}a=c[b>>2]|0;h=a+12|0;g=c[h>>2]|0;if((g|0)==(c[a+16>>2]|0))Fb[c[(c[a>>2]|0)+40>>2]&127](a)|0;else{c[h>>2]=g+4;qE(c[g>>2]|0)|0}a=c[b>>2]|0;do if(a){g=c[a+12>>2]|0;if((g|0)==(c[a+16>>2]|0))a=Fb[c[(c[a>>2]|0)+36>>2]&127](a)|0;else a=qE(c[g>>2]|0)|0;if(QE(a,pE()|0)|0){c[b>>2]=0;g=1;break}else{g=(c[b>>2]|0)==0;break}}else g=1;while(0);do if(i){a=c[i+12>>2]|0;if((a|0)==(c[i+16>>2]|0))a=Fb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else a=qE(c[a>>2]|0)|0;if(!(QE(a,pE()|0)|0))if(g)break a;else break;else{c[d>>2]=0;j=38;break}}else j=38;while(0);if((j|0)==38?!g:0)break;c[e>>2]=c[e>>2]|2}while(0);return}function iJ(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;g=c[a>>2]|0;do if(g){h=c[g+12>>2]|0;if((h|0)==(c[g+16>>2]|0))g=Fb[c[(c[g>>2]|0)+36>>2]&127](g)|0;else g=qE(c[h>>2]|0)|0;if(QE(g,pE()|0)|0){c[a>>2]=0;i=1;break}else{i=(c[a>>2]|0)==0;break}}else i=1;while(0);h=c[b>>2]|0;do if(h){g=c[h+12>>2]|0;if((g|0)==(c[h+16>>2]|0))g=Fb[c[(c[h>>2]|0)+36>>2]&127](h)|0;else g=qE(c[g>>2]|0)|0;if(!(QE(g,pE()|0)|0))if(i){k=h;o=17;break}else{o=16;break}else{c[b>>2]=0;o=14;break}}else o=14;while(0);if((o|0)==14)if(i)o=16;else{k=0;o=17}a:do if((o|0)==16){c[d>>2]=c[d>>2]|6;g=0}else if((o|0)==17){g=c[a>>2]|0;h=c[g+12>>2]|0;if((h|0)==(c[g+16>>2]|0))g=Fb[c[(c[g>>2]|0)+36>>2]&127](g)|0;else g=qE(c[h>>2]|0)|0;if(!(Ib[c[(c[e>>2]|0)+12>>2]&63](e,2048,g)|0)){c[d>>2]=c[d>>2]|4;g=0;break}g=(Ib[c[(c[e>>2]|0)+52>>2]&63](e,g,0)|0)<<24>>24;h=c[a>>2]|0;j=h+12|0;i=c[j>>2]|0;if((i|0)==(c[h+16>>2]|0))Fb[c[(c[h>>2]|0)+40>>2]&127](h)|0;else{c[j>>2]=i+4;qE(c[i>>2]|0)|0}l=k;while(1){g=g+-48|0;n=f+-1|0;h=c[a>>2]|0;do if(h){i=c[h+12>>2]|0;if((i|0)==(c[h+16>>2]|0))h=Fb[c[(c[h>>2]|0)+36>>2]&127](h)|0;else h=qE(c[i>>2]|0)|0;if(QE(h,pE()|0)|0){c[a>>2]=0;j=1;break}else{j=(c[a>>2]|0)==0;break}}else j=1;while(0);if(l){h=c[l+12>>2]|0;if((h|0)==(c[l+16>>2]|0))h=Fb[c[(c[l>>2]|0)+36>>2]&127](l)|0;else h=qE(c[h>>2]|0)|0;if(QE(h,pE()|0)|0){c[b>>2]=0;h=1;m=0;k=0}else{h=0;m=k;k=l}}else{h=1;m=k;k=0}i=c[a>>2]|0;if(!((f|0)>1&(j^h)))break;h=c[i+12>>2]|0;if((h|0)==(c[i+16>>2]|0))h=Fb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else h=qE(c[h>>2]|0)|0;if(!(Ib[c[(c[e>>2]|0)+12>>2]&63](e,2048,h)|0))break a;g=(g*10|0)+((Ib[c[(c[e>>2]|0)+52>>2]&63](e,h,0)|0)<<24>>24)|0;h=c[a>>2]|0;j=h+12|0;i=c[j>>2]|0;if((i|0)==(c[h+16>>2]|0))Fb[c[(c[h>>2]|0)+40>>2]&127](h)|0;else{c[j>>2]=i+4;qE(c[i>>2]|0)|0}l=k;k=m;f=n}do if(i){h=c[i+12>>2]|0;if((h|0)==(c[i+16>>2]|0))h=Fb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else h=qE(c[h>>2]|0)|0;if(QE(h,pE()|0)|0){c[a>>2]=0;i=1;break}else{i=(c[a>>2]|0)==0;break}}else i=1;while(0);do if(m){h=c[m+12>>2]|0;if((h|0)==(c[m+16>>2]|0))h=Fb[c[(c[m>>2]|0)+36>>2]&127](m)|0;else h=qE(c[h>>2]|0)|0;if(!(QE(h,pE()|0)|0))if(i)break a;else break;else{c[b>>2]=0;o=61;break}}else o=61;while(0);if((o|0)==61?!i:0)break;c[d>>2]=c[d>>2]|2}while(0);return g|0}function jJ(a){a=a|0;oJ(a+8|0);JF(a);return}function kJ(a){a=a|0;oJ(a+8|0);JF(a);ZA(a);return}function lJ(b,d,e,f,g,h,i){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0;j=zb;zb=zb+112|0;e=j;f=j+100|0;c[f>>2]=e+100;mJ(b+8|0,e,f,g,h,i);g=c[f>>2]|0;b=e;e=c[d>>2]|0;while(1){if((b|0)==(g|0))break;f=a[b>>0]|0;if(!e)e=0;else{i=e+24|0;h=c[i>>2]|0;if((h|0)==(c[e+28>>2]|0)){d=c[(c[e>>2]|0)+52>>2]|0;f=ig(f)|0;f=Hb[d&63](e,f)|0}else{c[i>>2]=h+1;a[h>>0]=f;f=ig(f)|0}d=eg(f,ag()|0)|0;e=d?0:e}b=b+1|0}zb=j;return e|0}function mJ(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0;l=zb;zb=zb+16|0;k=l;a[k>>0]=37;i=k+1|0;a[i>>0]=g;j=k+2|0;a[j>>0]=h;a[k+3>>0]=0;if(h<<24>>24){a[i>>0]=h;a[j>>0]=g}j=nJ(d,c[e>>2]|0)|0;c[e>>2]=d+(Ta(d|0,j|0,k|0,f|0,c[b>>2]|0)|0);zb=l;return}function nJ(a,b){a=a|0;b=b|0;return b-a|0}function oJ(a){a=a|0;var b=0;b=c[a>>2]|0;if((b|0)!=(fG()|0))Ey(c[a>>2]|0);return}function pJ(a){a=a|0;oJ(a+8|0);JF(a);return}function qJ(a){a=a|0;oJ(a+8|0);JF(a);ZA(a);return}function rJ(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0;i=zb;zb=zb+416|0;d=i;e=i+400|0;c[e>>2]=d+400;sJ(a+8|0,d,e,f,g,h);f=c[e>>2]|0;a=d;d=c[b>>2]|0;while(1){if((a|0)==(f|0))break;e=c[a>>2]|0;if(!d)d=0;else{h=d+24|0;g=c[h>>2]|0;if((g|0)==(c[d+28>>2]|0)){b=c[(c[d>>2]|0)+52>>2]|0;e=qE(e)|0;e=Hb[b&63](d,e)|0}else{c[h>>2]=g+4;c[g>>2]=e;e=qE(e)|0}b=QE(e,pE()|0)|0;d=b?0:d}a=a+4|0}zb=i;return d|0}function sJ(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0;h=zb;zb=zb+128|0;k=h;l=h+116|0;i=h+104|0;j=h+112|0;c[l>>2]=k+100;mJ(a,k,l,e,f,g);f=i;c[f>>2]=0;c[f+4>>2]=0;c[j>>2]=k;f=tJ(b,c[d>>2]|0)|0;g=cy(c[a>>2]|0)|0;f=Dz(b,j,f,i)|0;if(g|0)cy(g)|0;if((f|0)==-1)uJ(0);else{c[d>>2]=b+(f<<2);zb=h;return}}function tJ(a,b){a=a|0;b=b|0;return b-a>>2|0}function uJ(a){a=a|0;va()}function vJ(a){a=a|0;JF(a);return}function wJ(a){a=a|0;JF(a);ZA(a);return}function xJ(a){a=a|0;return 127}function yJ(a){a=a|0;return 127}function zJ(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 AJ(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 BJ(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 CJ(a,b){a=a|0;b=b|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;oO(a,1,45);return}function DJ(a){a=a|0;return 0}function EJ(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 FJ(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 GJ(a){a=a|0;JF(a);return}function HJ(a){a=a|0;JF(a);ZA(a);return}function IJ(a){a=a|0;return 127}function JJ(a){a=a|0;return 127}function KJ(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 LJ(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 MJ(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 NJ(a,b){a=a|0;b=b|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;oO(a,1,45);return}function OJ(a){a=a|0;return 0}function PJ(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 QJ(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 RJ(a){a=a|0;JF(a);return}function SJ(a){a=a|0;JF(a);ZA(a);return}function TJ(a){a=a|0;return 2147483647}function UJ(a){a=a|0;return 2147483647}function VJ(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 WJ(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 XJ(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 YJ(a,b){a=a|0;b=b|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;BO(a,1,45);return}function ZJ(a){a=a|0;return 0}function _J(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 $J(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 aK(a){a=a|0;JF(a);return}function bK(a){a=a|0;JF(a);ZA(a);return}function cK(a){a=a|0;return 2147483647}function dK(a){a=a|0;return 2147483647}function eK(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 fK(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 gK(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 hK(a,b){a=a|0;b=b|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;BO(a,1,45);return}function iK(a){a=a|0;return 0}function jK(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 kK(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 lK(a){a=a|0;JF(a);return}function mK(a){a=a|0;JF(a);ZA(a);return}function nK(b,d,e,f,g,h,i){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;u=zb;zb=zb+256|0;o=u+240|0;p=u+216|0;l=u+112|0;t=u+232|0;n=u+228|0;r=u+224|0;j=u+250|0;v=u+220|0;m=u;c[t>>2]=l;c[t+4>>2]=145;PE(r,g);b=cG(r,57584)|0;a[j>>0]=0;c[v>>2]=c[e>>2];g=c[g+4>>2]|0;c[o>>2]=c[v>>2];if(qK(d,o,f,r,g,h,j,b,t,n,l+100|0)|0){Jb[c[(c[b>>2]|0)+32>>2]&15](b,51307,51317,o)|0;f=c[n>>2]|0;g=c[t>>2]|0;b=f-g|0;if((b|0)>98){b=MO(b+2|0)|0;if(!b)hO();else{q=b;k=b}}else{q=0;k=m}if(!(a[j>>0]|0))b=k;else{a[k>>0]=45;b=k+1|0}k=o+10|0;l=o;j=b;while(1){if(g>>>0>=f>>>0)break;f=a[g>>0]|0;b=o;while(1){if((b|0)==(k|0)){b=k;break}if((a[b>>0]|0)==f<<24>>24)break;b=b+1|0}a[j>>0]=a[51307+(b-l)>>0]|0;f=c[n>>2]|0;j=j+1|0;g=g+1|0}a[j>>0]=0;c[p>>2]=i;if((_z(m,51318,p)|0)!=1)uJ(0);if(q|0)NO(q)}b=c[d>>2]|0;do if(b){f=c[b+12>>2]|0;if((f|0)==(c[b+16>>2]|0))b=Fb[c[(c[b>>2]|0)+36>>2]&127](b)|0;else b=ig(a[f>>0]|0)|0;if(eg(b,ag()|0)|0){c[d>>2]=0;g=1;break}else{g=(c[d>>2]|0)==0;break}}else g=1;while(0);b=c[e>>2]|0;do if(b){f=c[b+12>>2]|0;if((f|0)==(c[b+16>>2]|0))b=Fb[c[(c[b>>2]|0)+36>>2]&127](b)|0;else b=ig(a[f>>0]|0)|0;if(!(eg(b,ag()|0)|0))if(g)break;else{s=34;break}else{c[e>>2]=0;s=32;break}}else s=32;while(0);if((s|0)==32?g:0)s=34;if((s|0)==34)c[h>>2]=c[h>>2]|2;f=c[d>>2]|0;dG(r);b=c[t>>2]|0;c[t>>2]=0;if(b|0)Rb[c[t+4>>2]&255](b);zb=u;return f|0}function oK(b,d,e,f,g,h,i){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=zb;zb=zb+128|0;k=s+120|0;b=s;r=s+112|0;m=s+108|0;p=s+100|0;j=s+124|0;n=s+104|0;c[r>>2]=b;c[r+4>>2]=145;PE(p,g);l=cG(p,57584)|0;a[j>>0]=0;o=c[e>>2]|0;c[n>>2]=o;g=c[g+4>>2]|0;c[k>>2]=c[n>>2];n=o;if(qK(d,k,f,p,g,h,j,l,r,m,b+100|0)|0){b=i+11|0;if((a[b>>0]|0)<0){f=c[i>>2]|0;a[k>>0]=0;hg(f,k);c[i+4>>2]=0}else{a[k>>0]=0;hg(i,k);a[b>>0]=0}if(a[j>>0]|0)zO(i,Hb[c[(c[l>>2]|0)+28>>2]&63](l,45)|0);j=Hb[c[(c[l>>2]|0)+28>>2]&63](l,48)|0;b=c[m>>2]|0;f=b+-1|0;g=c[r>>2]|0;while(1){if(g>>>0>=f>>>0)break;if((a[g>>0]|0)!=j<<24>>24)break;g=g+1|0}rK(i,g,b)|0}b=c[d>>2]|0;do if(b){g=c[b+12>>2]|0;if((g|0)==(c[b+16>>2]|0))b=Fb[c[(c[b>>2]|0)+36>>2]&127](b)|0;else b=ig(a[g>>0]|0)|0;if(eg(b,ag()|0)|0){c[d>>2]=0;g=1;break}else{g=(c[d>>2]|0)==0;break}}else g=1;while(0);do if(o){b=c[n+12>>2]|0;if((b|0)==(c[n+16>>2]|0))b=Fb[c[(c[o>>2]|0)+36>>2]&127](n)|0;else b=ig(a[b>>0]|0)|0;if(!(eg(b,ag()|0)|0))if(g)break;else{q=27;break}else{c[e>>2]=0;q=25;break}}else q=25;while(0);if((q|0)==25?g:0)q=27;if((q|0)==27)c[h>>2]=c[h>>2]|2;g=c[d>>2]|0;dG(p);b=c[r>>2]|0;c[r>>2]=0;if(b|0)Rb[c[r+4>>2]&255](b);zb=s;return g|0}function pK(a){a=a|0;return}function qK(e,f,g,h,i,j,k,l,m,n,o){e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;m=m|0;n=n|0;o=o|0;var p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0;Z=zb;zb=zb+512|0;O=Z+488|0;P=Z;Y=Z+480|0;R=Z+472|0;L=Z+468|0;M=Z+496|0;J=Z+493|0;N=Z+492|0;T=Z+456|0;X=Z+444|0;V=Z+432|0;U=Z+420|0;W=Z+408|0;K=Z+404|0;S=Z+400|0;c[O>>2]=o;c[Y>>2]=P;c[Y+4>>2]=145;c[R>>2]=P;c[L>>2]=P+400;c[T>>2]=0;c[T+4>>2]=0;c[T+8>>2]=0;o=0;while(1){if((o|0)==3)break;c[T+(o<<2)>>2]=0;o=o+1|0}c[X>>2]=0;c[X+4>>2]=0;c[X+8>>2]=0;o=0;while(1){if((o|0)==3)break;c[X+(o<<2)>>2]=0;o=o+1|0}c[V>>2]=0;c[V+4>>2]=0;c[V+8>>2]=0;o=0;while(1){if((o|0)==3)break;c[V+(o<<2)>>2]=0;o=o+1|0}c[U>>2]=0;c[U+4>>2]=0;c[U+8>>2]=0;o=0;while(1){if((o|0)==3)break;c[U+(o<<2)>>2]=0;o=o+1|0}c[W>>2]=0;c[W+4>>2]=0;c[W+8>>2]=0;o=0;while(1){if((o|0)==3)break;c[W+(o<<2)>>2]=0;o=o+1|0}tK(g,h,M,J,N,T,X,V,U,K);c[n>>2]=c[m>>2];I=l+8|0;C=V+11|0;F=V+4|0;D=U+11|0;G=U+4|0;E=T+11|0;H=T+4|0;B=(i&512|0)!=0;w=X+11|0;A=M+3|0;y=X+4|0;x=W+11|0;z=W+4|0;v=0;P=0;a:while(1){if(v>>>0>=4){Q=243;break}o=c[e>>2]|0;do if(o){l=c[o+12>>2]|0;if((l|0)==(c[o+16>>2]|0))o=Fb[c[(c[o>>2]|0)+36>>2]&127](o)|0;else o=ig(a[l>>0]|0)|0;if(eg(o,ag()|0)|0){c[e>>2]=0;l=1;break}else{l=(c[e>>2]|0)==0;break}}else l=1;while(0);g=c[f>>2]|0;do if(g){o=c[g+12>>2]|0;if((o|0)==(c[g+16>>2]|0))o=Fb[c[(c[g>>2]|0)+36>>2]&127](g)|0;else o=ig(a[o>>0]|0)|0;if(!(eg(o,ag()|0)|0))if(l){u=g;break}else{Q=243;break a}else{c[f>>2]=0;Q=31;break}}else Q=31;while(0);if((Q|0)==31){Q=0;if(l){Q=243;break}else u=0}b:do switch(a[M+v>>0]|0){case 1:{if((v|0)==3)o=P;else{o=c[e>>2]|0;l=c[o+12>>2]|0;if((l|0)==(c[o+16>>2]|0))o=Fb[c[(c[o>>2]|0)+36>>2]&127](o)|0;else o=ig(a[l>>0]|0)|0;if((o&255)<<24>>24<=-1){Q=45;break a}if(!(b[(c[I>>2]|0)+(o<<24>>24<<1)>>1]&8192)){Q=45;break a}o=c[e>>2]|0;g=o+12|0;l=c[g>>2]|0;if((l|0)==(c[o+16>>2]|0))o=Fb[c[(c[o>>2]|0)+40>>2]&127](o)|0;else{c[g>>2]=l+1;o=ig(a[l>>0]|0)|0}zO(W,o&255);Q=47}break}case 0:{if((v|0)==3)o=P;else Q=47;break}case 3:{o=a[C>>0]|0;o=o<<24>>24<0?c[F>>2]|0:o&255;h=a[D>>0]|0;h=h<<24>>24<0?c[G>>2]|0:h&255;if((o|0)==(0-h|0))o=P;else{i=(o|0)==0;o=c[e>>2]|0;l=c[o+12>>2]|0;g=(l|0)==(c[o+16>>2]|0);if(i|(h|0)==0){if(g)o=Fb[c[(c[o>>2]|0)+36>>2]&127](o)|0;else o=ig(a[l>>0]|0)|0;o=o&255;if(i){if((a[((a[D>>0]|0)<0?c[U>>2]|0:U)>>0]|0)!=o<<24>>24){o=P;break b}o=c[e>>2]|0;g=o+12|0;l=c[g>>2]|0;if((l|0)==(c[o+16>>2]|0))Fb[c[(c[o>>2]|0)+40>>2]&127](o)|0;else{c[g>>2]=l+1;ig(a[l>>0]|0)|0}a[k>>0]=1;o=a[D>>0]|0;o=(o<<24>>24<0?c[G>>2]|0:o&255)>>>0>1?U:P;break b}if((a[((a[C>>0]|0)<0?c[V>>2]|0:V)>>0]|0)!=o<<24>>24){a[k>>0]=1;o=P;break b}o=c[e>>2]|0;g=o+12|0;l=c[g>>2]|0;if((l|0)==(c[o+16>>2]|0))Fb[c[(c[o>>2]|0)+40>>2]&127](o)|0;else{c[g>>2]=l+1;ig(a[l>>0]|0)|0}o=a[C>>0]|0;o=(o<<24>>24<0?c[F>>2]|0:o&255)>>>0>1?V:P;break b}if(g)i=Fb[c[(c[o>>2]|0)+36>>2]&127](o)|0;else i=ig(a[l>>0]|0)|0;o=c[e>>2]|0;g=o+12|0;l=c[g>>2]|0;h=(l|0)==(c[o+16>>2]|0);if((a[((a[C>>0]|0)<0?c[V>>2]|0:V)>>0]|0)==(i&255)<<24>>24){if(h)Fb[c[(c[o>>2]|0)+40>>2]&127](o)|0;else{c[g>>2]=l+1;ig(a[l>>0]|0)|0}o=a[C>>0]|0;o=(o<<24>>24<0?c[F>>2]|0:o&255)>>>0>1?V:P;break b}if(h)o=Fb[c[(c[o>>2]|0)+36>>2]&127](o)|0;else o=ig(a[l>>0]|0)|0;if((a[((a[D>>0]|0)<0?c[U>>2]|0:U)>>0]|0)!=(o&255)<<24>>24){Q=105;break a}o=c[e>>2]|0;g=o+12|0;l=c[g>>2]|0;if((l|0)==(c[o+16>>2]|0))Fb[c[(c[o>>2]|0)+40>>2]&127](o)|0;else{c[g>>2]=l+1;ig(a[l>>0]|0)|0}a[k>>0]=1;o=a[D>>0]|0;o=(o<<24>>24<0?c[G>>2]|0:o&255)>>>0>1?U:P}break}case 2:{if(v>>>0<2|(P|0)!=0){l=a[w>>0]|0;o=l<<24>>24<0;h=c[X>>2]|0;i=o?h:X;g=i;if(!v)o=h;else{s=i;Q=110}}else{if(!(B|(v|0)==2&(a[A>>0]|0)!=0)){o=0;break b}l=a[w>>0]|0;o=l<<24>>24<0;h=c[X>>2]|0;s=o?h:X;g=s;Q=110}c:do if((Q|0)==110){Q=0;if((d[M+(v+-1)>>0]|0)<2){p=s+(o?c[y>>2]|0:l&255)|0;t=g;while(1){o=t;if((p|0)==(o|0))break;i=a[o>>0]|0;if(i<<24>>24<=-1)break;if(!(b[(c[I>>2]|0)+(i<<24>>24<<1)>>1]&8192))break;t=o+1|0}q=t-g|0;i=a[x>>0]|0;r=i<<24>>24<0;o=c[z>>2]|0;i=i&255;if(q>>>0<=(r?o:i)>>>0){o=(c[W>>2]|0)+o|0;i=W+i|0;p=r?o:i;i=r?o+(0-q)|0:i+(0-q)|0;o=s;while(1){if((i|0)==(p|0)){o=h;g=t;break c}if((a[i>>0]|0)!=(a[o>>0]|0)){o=h;break c}i=i+1|0;o=o+1|0}}else o=h}else o=h}while(0);h=u;i=g;d:while(1){u=l<<24>>24<0;if((i|0)==((u?o:X)+(u?c[y>>2]|0:l&255)|0))break;o=c[e>>2]|0;do if(o){l=c[o+12>>2]|0;if((l|0)==(c[o+16>>2]|0))o=Fb[c[(c[o>>2]|0)+36>>2]&127](o)|0;else o=ig(a[l>>0]|0)|0;if(eg(o,ag()|0)|0){c[e>>2]=0;l=1;break}else{l=(c[e>>2]|0)==0;break}}else l=1;while(0);do if(h){o=c[h+12>>2]|0;if((o|0)==(c[h+16>>2]|0))o=Fb[c[(c[h>>2]|0)+36>>2]&127](h)|0;else o=ig(a[o>>0]|0)|0;if(!(eg(o,ag()|0)|0))if(l)break;else break d;else{c[f>>2]=0;Q=136;break}}else Q=136;while(0);if((Q|0)==136){Q=0;if(l)break;else h=0}o=c[e>>2]|0;l=c[o+12>>2]|0;if((l|0)==(c[o+16>>2]|0))o=Fb[c[(c[o>>2]|0)+36>>2]&127](o)|0;else o=ig(a[l>>0]|0)|0;if((a[i>>0]|0)!=(o&255)<<24>>24)break;o=c[e>>2]|0;g=o+12|0;l=c[g>>2]|0;if((l|0)==(c[o+16>>2]|0))Fb[c[(c[o>>2]|0)+40>>2]&127](o)|0;else{c[g>>2]=l+1;ig(a[l>>0]|0)|0}l=a[w>>0]|0;o=c[X>>2]|0;i=i+1|0}if(B?(u=a[w>>0]|0,t=u<<24>>24<0,(i|0)!=((t?c[X>>2]|0:X)+(t?c[y>>2]|0:u&255)|0)):0){Q=148;break a}else o=P;break}case 4:{h=u;o=u;i=0;e:while(1){l=c[e>>2]|0;do if(l){g=c[l+12>>2]|0;if((g|0)==(c[l+16>>2]|0))l=Fb[c[(c[l>>2]|0)+36>>2]&127](l)|0;else l=ig(a[g>>0]|0)|0;if(eg(l,ag()|0)|0){c[e>>2]=0;g=1;break}else{g=(c[e>>2]|0)==0;break}}else g=1;while(0);do if(h){l=c[h+12>>2]|0;if((l|0)==(c[h+16>>2]|0))l=Fb[c[(c[h>>2]|0)+36>>2]&127](h)|0;else l=ig(a[l>>0]|0)|0;if(!(eg(l,ag()|0)|0))if(g){p=h;break}else{h=o;break e}else{c[f>>2]=0;o=0;Q=162;break}}else Q=162;while(0);if((Q|0)==162){Q=0;if(g){h=o;break}else p=0}l=c[e>>2]|0;g=c[l+12>>2]|0;if((g|0)==(c[l+16>>2]|0))l=Fb[c[(c[l>>2]|0)+36>>2]&127](l)|0;else l=ig(a[g>>0]|0)|0;g=l&255;if(g<<24>>24>-1?(b[(c[I>>2]|0)+(l<<24>>24<<1)>>1]&2048)!=0:0){l=c[n>>2]|0;if((l|0)==(c[O>>2]|0)){uK(m,n,O);l=c[n>>2]|0}c[n>>2]=l+1;a[l>>0]=g;i=i+1|0}else{u=a[E>>0]|0;if(!((a[N>>0]|0)==g<<24>>24&(i|0?((u<<24>>24<0?c[H>>2]|0:u&255)|0)!=0:0))){h=o;break}l=c[R>>2]|0;if((l|0)==(c[L>>2]|0)){vK(Y,R,L);l=c[R>>2]|0}c[R>>2]=l+4;c[l>>2]=i;i=0}l=c[e>>2]|0;h=l+12|0;g=c[h>>2]|0;if((g|0)==(c[l+16>>2]|0))Fb[c[(c[l>>2]|0)+40>>2]&127](l)|0;else{c[h>>2]=g+1;ig(a[g>>0]|0)|0}h=p}o=c[R>>2]|0;if(i|0?(c[Y>>2]|0)!=(o|0):0){if((o|0)==(c[L>>2]|0)){vK(Y,R,L);o=c[R>>2]|0}c[R>>2]=o+4;c[o>>2]=i}f:do if((c[K>>2]|0)>0){o=c[e>>2]|0;do if(o){l=c[o+12>>2]|0;if((l|0)==(c[o+16>>2]|0))o=Fb[c[(c[o>>2]|0)+36>>2]&127](o)|0;else o=ig(a[l>>0]|0)|0;if(eg(o,ag()|0)|0){c[e>>2]=0;l=1;break}else{l=(c[e>>2]|0)==0;break}}else l=1;while(0);do if(h){o=c[h+12>>2]|0;if((o|0)==(c[h+16>>2]|0))o=Fb[c[(c[h>>2]|0)+36>>2]&127](h)|0;else o=ig(a[o>>0]|0)|0;if(!(eg(o,ag()|0)|0))if(l)break;else{Q=204;break a}else{c[f>>2]=0;Q=198;break}}else Q=198;while(0);if((Q|0)==198){Q=0;if(l){Q=204;break a}else h=0}o=c[e>>2]|0;l=c[o+12>>2]|0;if((l|0)==(c[o+16>>2]|0))o=Fb[c[(c[o>>2]|0)+36>>2]&127](o)|0;else o=ig(a[l>>0]|0)|0;if((a[J>>0]|0)!=(o&255)<<24>>24){Q=204;break a}o=c[e>>2]|0;g=o+12|0;l=c[g>>2]|0;if((l|0)==(c[o+16>>2]|0))Fb[c[(c[o>>2]|0)+40>>2]&127](o)|0;else{c[g>>2]=l+1;ig(a[l>>0]|0)|0}g=h;while(1){if((c[K>>2]|0)<=0)break f;o=c[e>>2]|0;do if(o){l=c[o+12>>2]|0;if((l|0)==(c[o+16>>2]|0))o=Fb[c[(c[o>>2]|0)+36>>2]&127](o)|0;else o=ig(a[l>>0]|0)|0;if(eg(o,ag()|0)|0){c[e>>2]=0;l=1;break}else{l=(c[e>>2]|0)==0;break}}else l=1;while(0);do if(g){o=c[g+12>>2]|0;if((o|0)==(c[g+16>>2]|0))o=Fb[c[(c[g>>2]|0)+36>>2]&127](g)|0;else o=ig(a[o>>0]|0)|0;if(!(eg(o,ag()|0)|0))if(l){h=g;break}else{Q=230;break a}else{c[f>>2]=0;Q=223;break}}else Q=223;while(0);if((Q|0)==223){Q=0;if(l){Q=230;break a}else h=0}o=c[e>>2]|0;l=c[o+12>>2]|0;if((l|0)==(c[o+16>>2]|0))o=Fb[c[(c[o>>2]|0)+36>>2]&127](o)|0;else o=ig(a[l>>0]|0)|0;if((o&255)<<24>>24<=-1){Q=230;break a}if(!(b[(c[I>>2]|0)+(o<<24>>24<<1)>>1]&2048)){Q=230;break a}if((c[n>>2]|0)==(c[O>>2]|0))uK(m,n,O);o=c[e>>2]|0;l=c[o+12>>2]|0;if((l|0)==(c[o+16>>2]|0))o=Fb[c[(c[o>>2]|0)+36>>2]&127](o)|0;else o=ig(a[l>>0]|0)|0;g=c[n>>2]|0;c[n>>2]=g+1;a[g>>0]=o;c[K>>2]=(c[K>>2]|0)+-1;o=c[e>>2]|0;g=o+12|0;l=c[g>>2]|0;if((l|0)==(c[o+16>>2]|0))Fb[c[(c[o>>2]|0)+40>>2]&127](o)|0;else{c[g>>2]=l+1;ig(a[l>>0]|0)|0}g=h}}while(0);if((c[n>>2]|0)==(c[m>>2]|0)){Q=241;break a}else o=P;break}default:o=P}while(0);g:do if((Q|0)==47){Q=0;g=u;while(1){o=c[e>>2]|0;do if(o){l=c[o+12>>2]|0;if((l|0)==(c[o+16>>2]|0))o=Fb[c[(c[o>>2]|0)+36>>2]&127](o)|0;else o=ig(a[l>>0]|0)|0;if(eg(o,ag()|0)|0){c[e>>2]=0;l=1;break}else{l=(c[e>>2]|0)==0;break}}else l=1;while(0);do if(g){o=c[g+12>>2]|0;if((o|0)==(c[g+16>>2]|0))o=Fb[c[(c[g>>2]|0)+36>>2]&127](g)|0;else o=ig(a[o>>0]|0)|0;if(!(eg(o,ag()|0)|0))if(l){h=g;break}else{o=P;break g}else{c[f>>2]=0;Q=61;break}}else Q=61;while(0);if((Q|0)==61){Q=0;if(l){o=P;break g}else h=0}o=c[e>>2]|0;l=c[o+12>>2]|0;if((l|0)==(c[o+16>>2]|0))o=Fb[c[(c[o>>2]|0)+36>>2]&127](o)|0;else o=ig(a[l>>0]|0)|0;if((o&255)<<24>>24<=-1){o=P;break g}if(!(b[(c[I>>2]|0)+(o<<24>>24<<1)>>1]&8192)){o=P;break g}o=c[e>>2]|0;g=o+12|0;l=c[g>>2]|0;if((l|0)==(c[o+16>>2]|0))o=Fb[c[(c[o>>2]|0)+40>>2]&127](o)|0;else{c[g>>2]=l+1;o=ig(a[l>>0]|0)|0}zO(W,o&255);g=h}}while(0);v=v+1|0;P=o}h:do if((Q|0)==45){c[j>>2]=c[j>>2]|4;l=0}else if((Q|0)==105){c[j>>2]=c[j>>2]|4;l=0}else if((Q|0)==148){c[j>>2]=c[j>>2]|4;l=0}else if((Q|0)==204){c[j>>2]=c[j>>2]|4;l=0}else if((Q|0)==230){c[j>>2]=c[j>>2]|4;l=0}else if((Q|0)==241){c[j>>2]=c[j>>2]|4;l=0}else if((Q|0)==243){i:do if(P|0){i=P+11|0;p=P+4|0;h=1;j:while(1){o=a[i>>0]|0;if(o<<24>>24<0)o=c[p>>2]|0;else o=o&255;if(h>>>0>=o>>>0)break i;o=c[e>>2]|0;do if(o){l=c[o+12>>2]|0;if((l|0)==(c[o+16>>2]|0))o=Fb[c[(c[o>>2]|0)+36>>2]&127](o)|0;else o=ig(a[l>>0]|0)|0;if(eg(o,ag()|0)|0){c[e>>2]=0;g=1;break}else{g=(c[e>>2]|0)==0;break}}else g=1;while(0);o=c[f>>2]|0;do if(o){l=c[o+12>>2]|0;if((l|0)==(c[o+16>>2]|0))o=Fb[c[(c[o>>2]|0)+36>>2]&127](o)|0;else o=ig(a[l>>0]|0)|0;if(!(eg(o,ag()|0)|0))if(g)break;else break j;else{c[f>>2]=0;Q=262;break}}else Q=262;while(0);if((Q|0)==262?(Q=0,g):0)break;o=c[e>>2]|0;l=c[o+12>>2]|0;if((l|0)==(c[o+16>>2]|0))l=Fb[c[(c[o>>2]|0)+36>>2]&127](o)|0;else l=ig(a[l>>0]|0)|0;if((a[i>>0]|0)<0)o=c[P>>2]|0;else o=P;if((a[o+h>>0]|0)!=(l&255)<<24>>24)break;o=c[e>>2]|0;g=o+12|0;l=c[g>>2]|0;if((l|0)==(c[o+16>>2]|0))Fb[c[(c[o>>2]|0)+40>>2]&127](o)|0;else{c[g>>2]=l+1;ig(a[l>>0]|0)|0}h=h+1|0}c[j>>2]=c[j>>2]|4;l=0;break h}while(0);l=c[Y>>2]|0;o=c[R>>2]|0;if((l|0)!=(o|0)){c[S>>2]=0;rG(T,l,o,S);if(!(c[S>>2]|0)){l=1;break}else{c[j>>2]=c[j>>2]|4;l=0;break}}else l=1}while(0);qO(W);qO(U);qO(V);qO(X);qO(T);o=c[Y>>2]|0;c[Y>>2]=0;if(o|0)Rb[c[Y+4>>2]&255](o);zb=Z;return l|0}function rK(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;o=zb;zb=zb+16|0;j=d;k=o;n=b+11|0;g=a[n>>0]|0;f=g<<24>>24<0;if(f){i=(c[b+8>>2]&2147483647)+-1|0;l=c[b+4>>2]|0}else{i=10;l=g&255}m=e-j|0;do if(m|0){if(f){h=c[b>>2]|0;f=c[b+4>>2]|0}else{h=b;f=g&255}if(sK(d,h,h+f|0)|0){c[k>>2]=0;c[k+4>>2]=0;c[k+8>>2]=0;gg(k,d,e);n=a[k+11>>0]|0;m=n<<24>>24<0;yO(b,m?c[k>>2]|0:k,m?c[k+4>>2]|0:n&255)|0;qO(k);break}if((i-l|0)>>>0>>0)xO(b,i,l+m-i|0,l,l,0,0);if((a[n>>0]|0)<0)h=c[b>>2]|0;else h=b;g=e+(l-j)|0;f=h+l|0;while(1){if((d|0)==(e|0))break;hg(f,d);d=d+1|0;f=f+1|0}a[k>>0]=0;hg(h+g|0,k);d=l+m|0;if((a[n>>0]|0)<0){c[b+4>>2]=d;break}else{a[n>>0]=d;break}}while(0);zb=o;return b|0}function sK(a,b,c){a=a|0;b=b|0;c=c|0;return b>>>0<=a>>>0&a>>>0>>0|0}function tK(b,d,e,f,g,h,i,j,k,l){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;var m=0,n=0,o=0;o=zb;zb=zb+16|0;m=o+12|0;n=o;if(b){d=cG(d,57816)|0;Tb[c[(c[d>>2]|0)+44>>2]&63](m,d);b=c[m>>2]|0;a[e>>0]=b;a[e+1>>0]=b>>8;a[e+2>>0]=b>>16;a[e+3>>0]=b>>24;Tb[c[(c[d>>2]|0)+32>>2]&63](n,d);b=k+11|0;if((a[b>>0]|0)<0){e=c[k>>2]|0;a[m>>0]=0;hg(e,m);c[k+4>>2]=0;if((a[b>>0]|0)<0){e=k+8|0;Vf(c[k>>2]|0,c[e>>2]&2147483647);c[e>>2]=0}}else{a[m>>0]=0;hg(k,m);a[b>>0]=0};c[k>>2]=c[n>>2];c[k+4>>2]=c[n+4>>2];c[k+8>>2]=c[n+8>>2];b=0;while(1){if((b|0)==3)break;c[n+(b<<2)>>2]=0;b=b+1|0}qO(n);Tb[c[(c[d>>2]|0)+28>>2]&63](n,d);b=j+11|0;if((a[b>>0]|0)<0){k=c[j>>2]|0;a[m>>0]=0;hg(k,m);c[j+4>>2]=0;if((a[b>>0]|0)<0){k=j+8|0;Vf(c[j>>2]|0,c[k>>2]&2147483647);c[k>>2]=0}}else{a[m>>0]=0;hg(j,m);a[b>>0]=0};c[j>>2]=c[n>>2];c[j+4>>2]=c[n+4>>2];c[j+8>>2]=c[n+8>>2];b=0;while(1){if((b|0)==3)break;c[n+(b<<2)>>2]=0;b=b+1|0}qO(n);a[f>>0]=Fb[c[(c[d>>2]|0)+12>>2]&127](d)|0;a[g>>0]=Fb[c[(c[d>>2]|0)+16>>2]&127](d)|0;Tb[c[(c[d>>2]|0)+20>>2]&63](n,d);b=h+11|0;if((a[b>>0]|0)<0){g=c[h>>2]|0;a[m>>0]=0;hg(g,m);c[h+4>>2]=0;if((a[b>>0]|0)<0){g=h+8|0;Vf(c[h>>2]|0,c[g>>2]&2147483647);c[g>>2]=0}}else{a[m>>0]=0;hg(h,m);a[b>>0]=0};c[h>>2]=c[n>>2];c[h+4>>2]=c[n+4>>2];c[h+8>>2]=c[n+8>>2];b=0;while(1){if((b|0)==3)break;c[n+(b<<2)>>2]=0;b=b+1|0}qO(n);Tb[c[(c[d>>2]|0)+24>>2]&63](n,d);b=i+11|0;if((a[b>>0]|0)<0){h=c[i>>2]|0;a[m>>0]=0;hg(h,m);c[i+4>>2]=0;if((a[b>>0]|0)<0){m=i+8|0;Vf(c[i>>2]|0,c[m>>2]&2147483647);c[m>>2]=0}}else{a[m>>0]=0;hg(i,m);a[b>>0]=0};c[i>>2]=c[n>>2];c[i+4>>2]=c[n+4>>2];c[i+8>>2]=c[n+8>>2];b=0;while(1){if((b|0)==3)break;c[n+(b<<2)>>2]=0;b=b+1|0}qO(n);b=Fb[c[(c[d>>2]|0)+36>>2]&127](d)|0}else{d=cG(d,57808)|0;Tb[c[(c[d>>2]|0)+44>>2]&63](m,d);b=c[m>>2]|0;a[e>>0]=b;a[e+1>>0]=b>>8;a[e+2>>0]=b>>16;a[e+3>>0]=b>>24;Tb[c[(c[d>>2]|0)+32>>2]&63](n,d);b=k+11|0;if((a[b>>0]|0)<0){e=c[k>>2]|0;a[m>>0]=0;hg(e,m);c[k+4>>2]=0;if((a[b>>0]|0)<0){e=k+8|0;Vf(c[k>>2]|0,c[e>>2]&2147483647);c[e>>2]=0}}else{a[m>>0]=0;hg(k,m);a[b>>0]=0};c[k>>2]=c[n>>2];c[k+4>>2]=c[n+4>>2];c[k+8>>2]=c[n+8>>2];b=0;while(1){if((b|0)==3)break;c[n+(b<<2)>>2]=0;b=b+1|0}qO(n);Tb[c[(c[d>>2]|0)+28>>2]&63](n,d);b=j+11|0;if((a[b>>0]|0)<0){k=c[j>>2]|0;a[m>>0]=0;hg(k,m);c[j+4>>2]=0;if((a[b>>0]|0)<0){k=j+8|0;Vf(c[j>>2]|0,c[k>>2]&2147483647);c[k>>2]=0}}else{a[m>>0]=0;hg(j,m);a[b>>0]=0};c[j>>2]=c[n>>2];c[j+4>>2]=c[n+4>>2];c[j+8>>2]=c[n+8>>2];b=0;while(1){if((b|0)==3)break;c[n+(b<<2)>>2]=0;b=b+1|0}qO(n);a[f>>0]=Fb[c[(c[d>>2]|0)+12>>2]&127](d)|0;a[g>>0]=Fb[c[(c[d>>2]|0)+16>>2]&127](d)|0;Tb[c[(c[d>>2]|0)+20>>2]&63](n,d);b=h+11|0;if((a[b>>0]|0)<0){g=c[h>>2]|0;a[m>>0]=0;hg(g,m);c[h+4>>2]=0;if((a[b>>0]|0)<0){g=h+8|0;Vf(c[h>>2]|0,c[g>>2]&2147483647);c[g>>2]=0}}else{a[m>>0]=0;hg(h,m);a[b>>0]=0};c[h>>2]=c[n>>2];c[h+4>>2]=c[n+4>>2];c[h+8>>2]=c[n+8>>2];b=0;while(1){if((b|0)==3)break;c[n+(b<<2)>>2]=0;b=b+1|0}qO(n);Tb[c[(c[d>>2]|0)+24>>2]&63](n,d);b=i+11|0;if((a[b>>0]|0)<0){h=c[i>>2]|0;a[m>>0]=0;hg(h,m);c[i+4>>2]=0;if((a[b>>0]|0)<0){m=i+8|0;Vf(c[i>>2]|0,c[m>>2]&2147483647);c[m>>2]=0}}else{a[m>>0]=0;hg(i,m);a[b>>0]=0};c[i>>2]=c[n>>2];c[i+4>>2]=c[n+4>>2];c[i+8>>2]=c[n+8>>2];b=0;while(1){if((b|0)==3)break;c[n+(b<<2)>>2]=0;b=b+1|0}qO(n);b=Fb[c[(c[d>>2]|0)+36>>2]&127](d)|0}c[l>>2]=b;zb=o;return}function uK(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;h=a+4|0;f=(c[h>>2]|0)!=145;e=c[a>>2]|0;i=e;j=(c[d>>2]|0)-i|0;g=j<<1;g=j>>>0<2147483647?((g|0)==0?1:g):-1;i=(c[b>>2]|0)-i|0;e=PO(f?e:0,g)|0;if(!e)hO();if(!f){f=c[a>>2]|0;c[a>>2]=e;if(f){Rb[c[h>>2]&255](f);e=c[a>>2]|0}}else c[a>>2]=e;c[h>>2]=146;c[b>>2]=e+i;c[d>>2]=(c[a>>2]|0)+g;return}function vK(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;h=a+4|0;f=(c[h>>2]|0)!=145;e=c[a>>2]|0;i=e;j=(c[d>>2]|0)-i|0;g=j<<1;g=j>>>0<2147483647?((g|0)==0?4:g):-1;i=(c[b>>2]|0)-i>>2;e=PO(f?e:0,g)|0;if(!e)hO();if(!f){f=c[a>>2]|0;c[a>>2]=e;if(f){Rb[c[h>>2]&255](f);e=c[a>>2]|0}}else c[a>>2]=e;c[h>>2]=146;c[b>>2]=e+(i<<2);c[d>>2]=(c[a>>2]|0)+(g>>>2<<2);return}function wK(a){a=a|0;JF(a);return}function xK(a){a=a|0;JF(a);ZA(a);return}function yK(b,d,e,f,g,h,i){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;u=zb;zb=zb+592|0;o=u+512|0;p=u+552|0;l=u+112|0;t=u+568|0;n=u+564|0;r=u+560|0;j=u+576|0;v=u+556|0;m=u;c[t>>2]=l;c[t+4>>2]=145;PE(r,g);b=cG(r,57616)|0;a[j>>0]=0;c[v>>2]=c[e>>2];g=c[g+4>>2]|0;c[o>>2]=c[v>>2];if(AK(d,o,f,r,g,h,j,b,t,n,l+400|0)|0){Jb[c[(c[b>>2]|0)+48>>2]&15](b,51417,51427,o)|0;f=c[n>>2]|0;g=c[t>>2]|0;b=f-g|0;if((b|0)>392){b=MO((b>>>2)+2|0)|0;if(!b)hO();else{q=b;k=b}}else{q=0;k=m}if(!(a[j>>0]|0))b=k;else{a[k>>0]=45;b=k+1|0}k=o+40|0;l=o;j=b;while(1){if(g>>>0>=f>>>0)break;f=c[g>>2]|0;b=o;while(1){if((b|0)==(k|0)){b=k;break}if((c[b>>2]|0)==(f|0))break;b=b+4|0}a[j>>0]=a[51417+(b-l>>2)>>0]|0;f=c[n>>2]|0;j=j+1|0;g=g+4|0}a[j>>0]=0;c[p>>2]=i;if((_z(m,51318,p)|0)!=1)uJ(0);if(q|0)NO(q)}b=c[d>>2]|0;do if(b){f=c[b+12>>2]|0;if((f|0)==(c[b+16>>2]|0))b=Fb[c[(c[b>>2]|0)+36>>2]&127](b)|0;else b=qE(c[f>>2]|0)|0;if(QE(b,pE()|0)|0){c[d>>2]=0;g=1;break}else{g=(c[d>>2]|0)==0;break}}else g=1;while(0);b=c[e>>2]|0;do if(b){f=c[b+12>>2]|0;if((f|0)==(c[b+16>>2]|0))b=Fb[c[(c[b>>2]|0)+36>>2]&127](b)|0;else b=qE(c[f>>2]|0)|0;if(!(QE(b,pE()|0)|0))if(g)break;else{s=34;break}else{c[e>>2]=0;s=32;break}}else s=32;while(0);if((s|0)==32?g:0)s=34;if((s|0)==34)c[h>>2]=c[h>>2]|2;f=c[d>>2]|0;dG(r);b=c[t>>2]|0;c[t>>2]=0;if(b|0)Rb[c[t+4>>2]&255](b);zb=u;return f|0}function zK(b,d,e,f,g,h,i){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=zb;zb=zb+432|0;k=s+424|0;b=s;r=s+416|0;m=s+408|0;p=s+400|0;j=s+428|0;n=s+404|0;c[r>>2]=b;c[r+4>>2]=145;PE(p,g);l=cG(p,57616)|0;a[j>>0]=0;o=c[e>>2]|0;c[n>>2]=o;g=c[g+4>>2]|0;c[k>>2]=c[n>>2];n=o;if(AK(d,k,f,p,g,h,j,l,r,m,b+400|0)|0){b=i+8+3|0;if((a[b>>0]|0)<0){f=c[i>>2]|0;c[k>>2]=0;QF(f,k);c[i+4>>2]=0}else{c[k>>2]=0;QF(i,k);a[b>>0]=0}if(a[j>>0]|0)KO(i,Hb[c[(c[l>>2]|0)+44>>2]&63](l,45)|0);j=Hb[c[(c[l>>2]|0)+44>>2]&63](l,48)|0;b=c[m>>2]|0;f=b+-4|0;g=c[r>>2]|0;while(1){if(g>>>0>=f>>>0)break;if((c[g>>2]|0)!=(j|0))break;g=g+4|0}BK(i,g,b)|0}b=c[d>>2]|0;do if(b){g=c[b+12>>2]|0;if((g|0)==(c[b+16>>2]|0))b=Fb[c[(c[b>>2]|0)+36>>2]&127](b)|0;else b=qE(c[g>>2]|0)|0;if(QE(b,pE()|0)|0){c[d>>2]=0;g=1;break}else{g=(c[d>>2]|0)==0;break}}else g=1;while(0);do if(o){b=c[n+12>>2]|0;if((b|0)==(c[n+16>>2]|0))b=Fb[c[(c[o>>2]|0)+36>>2]&127](n)|0;else b=qE(c[b>>2]|0)|0;if(!(QE(b,pE()|0)|0))if(g)break;else{q=27;break}else{c[e>>2]=0;q=25;break}}else q=25;while(0);if((q|0)==25?g:0)q=27;if((q|0)==27)c[h>>2]=c[h>>2]|2;g=c[d>>2]|0;dG(p);b=c[r>>2]|0;c[r>>2]=0;if(b|0)Rb[c[r+4>>2]&255](b);zb=s;return g|0} +function Fi(a,b,d,e,g,h,i){a=a|0;b=b|0;d=d|0;e=e|0;g=g|0;h=h|0;i=i|0;var j=0,k=0.0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0.0,z=0.0,A=0.0,B=0.0,C=0.0;w=zb;zb=zb+32|0;t=w+28|0;u=w+24|0;v=w+20|0;o=w+16|0;r=w+12|0;p=w+8|0;s=w+4|0;q=w;if((h|0)>0?(h+1|0)>>>0<(Tg(e)|0)>>>0:0){j=i+-1|0;if((i|0)>0?(l=i+1|0,l>>>0<(Ug(e)|0)>>>0):0){n=Tg(d)|0;if((n|0)!=(Tg(e)|0)){n=bg(bg(WE(bg(bg(bg(56880,26298)|0,24604)|0,35722)|0,415)|0,35729)|0,25192)|0;PE(t,n+(c[(c[n>>2]|0)+-12>>2]|0)|0);m=cG(t,57584)|0;m=Hb[c[(c[m>>2]|0)+28>>2]&63](m,10)|0;dG(t);XE(n,m)|0;TE(n)|0;va()}n=(Tg(d)|0)>>>1;if((n|0)!=(Tg(g)|0)){n=bg(bg(WE(bg(bg(bg(56880,25222)|0,24604)|0,35722)|0,416)|0,35729)|0,25192)|0;PE(t,n+(c[(c[n>>2]|0)+-12>>2]|0)|0);m=cG(t,57584)|0;m=Hb[c[(c[m>>2]|0)+28>>2]&63](m,10)|0;dG(t);XE(n,m)|0;TE(n)|0;va()}n=Ug(d)|0;if((n|0)!=(Ug(e)|0)){n=bg(bg(WE(bg(bg(bg(56880,26350)|0,24604)|0,35722)|0,417)|0,35729)|0,25192)|0;PE(t,n+(c[(c[n>>2]|0)+-12>>2]|0)|0);m=cG(t,57584)|0;m=Hb[c[(c[m>>2]|0)+28>>2]&63](m,10)|0;dG(t);XE(n,m)|0;TE(n)|0;va()}n=(Ug(d)|0)>>>1;if((n|0)!=(Ug(g)|0)){n=bg(bg(WE(bg(bg(bg(56880,25338)|0,24604)|0,35722)|0,418)|0,35729)|0,25192)|0;PE(t,n+(c[(c[n>>2]|0)+-12>>2]|0)|0);m=cG(t,57584)|0;m=Hb[c[(c[m>>2]|0)+28>>2]&63](m,10)|0;dG(t);XE(n,m)|0;TE(n)|0;va()}m=(ih(d,j)|0)+(h<<2)|0;n=(ih(d,i)|0)+(h<<2)|0;j=(ih(d,l)|0)+(h<<2)|0;l=(ih(e,i)|0)+(h<<2)|0;si(u,v,+(h|0),+(i|0),1);k=+f[u>>2];if(!(k+-.5>=0.0)){d=bg(bg(WE(bg(bg(bg(56880,26404)|0,24604)|0,35722)|0,428)|0,35729)|0,26445)|0;PE(t,d+(c[(c[d>>2]|0)+-12>>2]|0)|0);x=cG(t,57584)|0;x=Hb[c[(c[x>>2]|0)+28>>2]&63](x,10)|0;dG(t);XE(d,x)|0;TE(d)|0;va()}if(!(+f[v>>2]+-.5>=0.0)){x=bg(bg(WE(bg(bg(bg(56880,26499)|0,24604)|0,35722)|0,429)|0,35729)|0,26540)|0;PE(t,x+(c[(c[x>>2]|0)+-12>>2]|0)|0);d=cG(t,57584)|0;d=Hb[c[(c[d>>2]|0)+28>>2]&63](d,10)|0;dG(t);XE(x,d)|0;TE(x)|0;va()}if(!(k+.5<+((Tg(g)|0)>>>0))){x=bg(bg(WE(bg(bg(bg(56880,26594)|0,24604)|0,35722)|0,430)|0,35729)|0,26445)|0;PE(t,x+(c[(c[x>>2]|0)+-12>>2]|0)|0);d=cG(t,57584)|0;d=Hb[c[(c[d>>2]|0)+28>>2]&63](d,10)|0;dG(t);XE(x,d)|0;TE(x)|0;va()}k=+f[v>>2]+.5;if(k<+((Ug(g)|0)>>>0)){Hi(o,r,p,s,q,e,h,i);y=+Ii(g,+f[u>>2],+f[v>>2]);k=+f[n>>2];z=y+(k-+f[l>>2]*2.0);C=+f[n+-4>>2];C=C+ +Ii(g,+f[u>>2]+.5,+f[v>>2]);B=+f[n+4>>2];B=(C-(B+ +Ii(g,+f[u>>2]+-.5,+f[v>>2])))*.25;C=+f[m>>2];C=C+ +Ii(g,+f[u>>2],+f[v>>2]+.5);A=+f[j>>2];A=(C-(A+ +Ii(g,+f[u>>2],+f[v>>2]+-.5)))*.25;c[a>>2]=c[p>>2];x=c[q>>2]|0;c[a+4>>2]=x;f[a+8>>2]=B;c[a+12>>2]=x;c[a+16>>2]=c[s>>2];f[a+20>>2]=A;f[a+24>>2]=B;f[a+28>>2]=A;f[a+32>>2]=z;f[b>>2]=-+f[o>>2];f[b+4>>2]=-+f[r>>2];f[b+8>>2]=-((y-k)*.5);zb=w;return}else{x=bg(bg(WE(bg(bg(bg(56880,26645)|0,24604)|0,35722)|0,431)|0,35729)|0,26540)|0;PE(t,x+(c[(c[x>>2]|0)+-12>>2]|0)|0);w=cG(t,57584)|0;w=Hb[c[(c[w>>2]|0)+28>>2]&63](w,10)|0;dG(t);XE(x,w)|0;TE(x)|0;va()}}x=bg(bg(WE(bg(bg(bg(56880,25060)|0,24604)|0,35722)|0,414)|0,35729)|0,25119)|0;PE(t,x+(c[(c[x>>2]|0)+-12>>2]|0)|0);w=cG(t,57584)|0;w=Hb[c[(c[w>>2]|0)+28>>2]&63](w,10)|0;dG(t);XE(x,w)|0;TE(x)|0;va()}x=bg(bg(WE(bg(bg(bg(56880,24986)|0,24604)|0,35722)|0,413)|0,35729)|0,25044)|0;PE(t,x+(c[(c[x>>2]|0)+-12>>2]|0)|0);w=cG(t,57584)|0;w=Hb[c[(c[w>>2]|0)+28>>2]&63](w,10)|0;dG(t);XE(x,w)|0;TE(x)|0;va()}function Gi(a,b,d,e,g,h,i){a=a|0;b=b|0;d=d|0;e=e|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0.0,x=0.0,y=0.0,z=0.0,A=0.0,B=0.0;t=zb;zb=zb+32|0;p=t+28|0;r=t+24|0;s=t+20|0;j=t+16|0;m=t+12|0;k=t+8|0;n=t+4|0;l=t;if((h|0)>0?(h+1|0)>>>0<(Tg(e)|0)>>>0:0){q=i+-1|0;if((i|0)>0?(o=i+1|0,o>>>0<(Ug(e)|0)>>>0):0){u=(Tg(d)|0)>>>1;if((u|0)!=(Tg(e)|0)){u=bg(bg(WE(bg(bg(bg(56880,25135)|0,24604)|0,35722)|0,361)|0,35729)|0,25192)|0;PE(p,u+(c[(c[u>>2]|0)+-12>>2]|0)|0);v=cG(p,57584)|0;v=Hb[c[(c[v>>2]|0)+28>>2]&63](v,10)|0;dG(p);XE(u,v)|0;TE(u)|0;va()}v=(Tg(d)|0)>>>1;if((v|0)!=(Tg(g)|0)){v=bg(bg(WE(bg(bg(bg(56880,25222)|0,24604)|0,35722)|0,362)|0,35729)|0,25192)|0;PE(p,v+(c[(c[v>>2]|0)+-12>>2]|0)|0);u=cG(p,57584)|0;u=Hb[c[(c[u>>2]|0)+28>>2]&63](u,10)|0;dG(p);XE(v,u)|0;TE(v)|0;va()}v=(Ug(d)|0)>>>1;if((v|0)!=(Ug(e)|0)){v=bg(bg(WE(bg(bg(bg(56880,25279)|0,24604)|0,35722)|0,363)|0,35729)|0,25192)|0;PE(p,v+(c[(c[v>>2]|0)+-12>>2]|0)|0);u=cG(p,57584)|0;u=Hb[c[(c[u>>2]|0)+28>>2]&63](u,10)|0;dG(p);XE(v,u)|0;TE(v)|0;va()}v=(Ug(d)|0)>>>1;if((v|0)==(Ug(g)|0)){p=(ih(e,i)|0)+(h<<2)|0;v=(ih(g,q)|0)+(h<<2)|0;q=(ih(g,i)|0)+(h<<2)|0;u=(ih(g,o)|0)+(h<<2)|0;xi(r,s,+(h|0),+(i|0),1);Hi(j,m,k,n,l,e,h,i);w=+Ii(d,+f[r>>2],+f[s>>2]);x=+f[q>>2];y=x+(w-+f[p>>2]*2.0);B=+Ii(d,+f[r>>2]+-2.0,+f[s>>2]);B=B+ +f[q+4>>2];A=+Ii(d,+f[r>>2]+2.0,+f[s>>2]);A=(B-(A+ +f[q+-4>>2]))*.25;B=+Ii(d,+f[r>>2],+f[s>>2]+-2.0);B=B+ +f[u>>2];z=+Ii(d,+f[r>>2],+f[s>>2]+2.0);z=(B-(z+ +f[v>>2]))*.25;c[a>>2]=c[k>>2];v=c[l>>2]|0;c[a+4>>2]=v;f[a+8>>2]=A;c[a+12>>2]=v;c[a+16>>2]=c[n>>2];f[a+20>>2]=z;f[a+24>>2]=A;f[a+28>>2]=z;f[a+32>>2]=y;f[b>>2]=-+f[j>>2];f[b+4>>2]=-+f[m>>2];f[b+8>>2]=-((x-w)*.5);zb=t;return}else{v=bg(bg(WE(bg(bg(bg(56880,25338)|0,24604)|0,35722)|0,364)|0,35729)|0,25192)|0;PE(p,v+(c[(c[v>>2]|0)+-12>>2]|0)|0);u=cG(p,57584)|0;u=Hb[c[(c[u>>2]|0)+28>>2]&63](u,10)|0;dG(p);XE(v,u)|0;TE(v)|0;va()}}v=bg(bg(WE(bg(bg(bg(56880,25060)|0,24604)|0,35722)|0,360)|0,35729)|0,25119)|0;PE(p,v+(c[(c[v>>2]|0)+-12>>2]|0)|0);u=cG(p,57584)|0;u=Hb[c[(c[u>>2]|0)+28>>2]&63](u,10)|0;dG(p);XE(v,u)|0;TE(v)|0;va()}v=bg(bg(WE(bg(bg(bg(56880,24986)|0,24604)|0,35722)|0,359)|0,35729)|0,25044)|0;PE(p,v+(c[(c[v>>2]|0)+-12>>2]|0)|0);u=cG(p,57584)|0;u=Hb[c[(c[u>>2]|0)+28>>2]&63](u,10)|0;dG(p);XE(v,u)|0;TE(v)|0;va()}function Hi(a,b,d,e,g,h,i,j){a=a|0;b=b|0;d=d|0;e=e|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,l=0,m=0,n=0;n=zb;zb=zb+16|0;l=n;if((i|0)>0?(i+1|0)>>>0<(Tg(h)|0)>>>0:0){m=j+-1|0;if((j|0)>0?(k=j+1|0,k>>>0<(Ug(h)|0)>>>0):0){m=(ih(h,m)|0)+(i<<2)|0;l=(ih(h,j)|0)+(i<<2)|0;j=(ih(h,k)|0)+(i<<2)|0;h=l+4|0;i=l+-4|0;f[a>>2]=(+f[h>>2]-+f[i>>2])*.5;f[b>>2]=(+f[j>>2]-+f[m>>2])*.5;f[d>>2]=+f[h>>2]+(+f[i>>2]-+f[l>>2]*2.0);f[e>>2]=+f[j>>2]+(+f[m>>2]-+f[l>>2]*2.0);f[g>>2]=(+f[m+-4>>2]+ +f[j+4>>2]-(+f[m+4>>2]+ +f[j+-4>>2]))*.25;zb=n;return}n=bg(bg(WE(bg(bg(bg(56880,26241)|0,24604)|0,35722)|0,285)|0,35729)|0,25119)|0;PE(l,n+(c[(c[n>>2]|0)+-12>>2]|0)|0);j=cG(l,57584)|0;j=Hb[c[(c[j>>2]|0)+28>>2]&63](j,10)|0;dG(l);XE(n,j)|0;TE(n)|0;va()}n=bg(bg(WE(bg(bg(bg(56880,26185)|0,24604)|0,35722)|0,284)|0,35729)|0,25044)|0;PE(l,n+(c[(c[n>>2]|0)+-12>>2]|0)|0);j=cG(l,57584)|0;j=Hb[c[(c[j>>2]|0)+28>>2]&63](j,10)|0;dG(l);XE(n,j)|0;TE(n)|0;va()}function Ii(a,b,c){a=a|0;b=+b;c=+c;var d=0,e=0,f=0;f=Ji(a)|0;e=Tg(a)|0;d=Ug(a)|0;return +(+Li(f,e,d,Ki(a)|0,b,c))}function Ji(a){a=a|0;return c[a+24>>2]|0}function Ki(a){a=a|0;return c[a+12>>2]|0}function Li(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=+e;f=+f;return +(+Mi(a,b,c,d,e,f))}function Mi(a,b,d,e,g,h){a=a|0;b=b|0;d=d|0;e=e|0;g=+g;h=+h;var i=0.0,j=0.0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,t=0.0,u=0.0;p=zb;zb=zb+16|0;o=p;n=~~+s(+g);if((n|0)!=(~~g|0)){m=bg(bg(WE(bg(bg(bg(56880,25397)|0,25449)|0,35722)|0,69)|0,35729)|0,25563)|0;PE(o,m+(c[(c[m>>2]|0)+-12>>2]|0)|0);l=cG(o,57584)|0;l=Hb[c[(c[l>>2]|0)+28>>2]&63](l,10)|0;dG(o);XE(m,l)|0;TE(m)|0;va()}l=~~+s(+h);if((l|0)!=(~~h|0)){m=bg(bg(WE(bg(bg(bg(56880,25593)|0,25449)|0,35722)|0,70)|0,35729)|0,25563)|0;PE(o,m+(c[(c[m>>2]|0)+-12>>2]|0)|0);k=cG(o,57584)|0;k=Hb[c[(c[k>>2]|0)+28>>2]&63](k,10)|0;dG(o);XE(m,k)|0;TE(m)|0;va()}m=n+1|0;k=l+1|0;if(!((l|0)>-1&l>>>0>>0)){q=bg(bg(WE(bg(bg(bg(56880,25645)|0,25449)|0,35722)|0,79)|0,35729)|0,25691)|0;PE(o,q+(c[(c[q>>2]|0)+-12>>2]|0)|0);r=cG(o,57584)|0;r=Hb[c[(c[r>>2]|0)+28>>2]&63](r,10)|0;dG(o);XE(q,r)|0;TE(q)|0;va()}if(k>>>0>=d>>>0){r=bg(bg(WE(bg(bg(bg(56880,25708)|0,25449)|0,35722)|0,80)|0,35729)|0,25768)|0;PE(o,r+(c[(c[r>>2]|0)+-12>>2]|0)|0);q=cG(o,57584)|0;q=Hb[c[(c[q>>2]|0)+28>>2]&63](q,10)|0;dG(o);XE(r,q)|0;TE(r)|0;va()}if(!((n|0)>-1&n>>>0>>0)){r=bg(bg(WE(bg(bg(bg(56880,25792)|0,25449)|0,35722)|0,81)|0,35729)|0,25837)|0;PE(o,r+(c[(c[r>>2]|0)+-12>>2]|0)|0);q=cG(o,57584)|0;q=Hb[c[(c[q>>2]|0)+28>>2]&63](q,10)|0;dG(o);XE(r,q)|0;TE(r)|0;va()}if(m>>>0>=b>>>0){r=bg(bg(WE(bg(bg(bg(56880,25854)|0,25449)|0,35722)|0,82)|0,35729)|0,25913)|0;PE(o,r+(c[(c[r>>2]|0)+-12>>2]|0)|0);q=cG(o,57584)|0;q=Hb[c[(c[q>>2]|0)+28>>2]&63](q,10)|0;dG(o);XE(r,q)|0;TE(r)|0;va()}a=a+(C(l,e)|0)|0;d=a+e|0;u=+(m|0)-g;i=+(k|0)-h;j=u*i;t=g-+(n|0);i=t*i;h=h-+(l|0);g=u*h;h=t*h;if(!(j>=0.0)|!(j<=1.0001)){r=bg(bg(WE(bg(bg(bg(56880,25937)|0,25449)|0,35722)|0,94)|0,35729)|0,25984)|0;PE(o,r+(c[(c[r>>2]|0)+-12>>2]|0)|0);q=cG(o,57584)|0;q=Hb[c[(c[q>>2]|0)+28>>2]&63](q,10)|0;dG(o);XE(r,q)|0;TE(r)|0;va()}if(!(i>=0.0)|!(i<=1.0001)){r=bg(bg(WE(bg(bg(bg(56880,25997)|0,25449)|0,35722)|0,95)|0,35729)|0,25984)|0;PE(o,r+(c[(c[r>>2]|0)+-12>>2]|0)|0);q=cG(o,57584)|0;q=Hb[c[(c[q>>2]|0)+28>>2]&63](q,10)|0;dG(o);XE(r,q)|0;TE(r)|0;va()}if(!(g>=0.0)|!(g<=1.0001)){r=bg(bg(WE(bg(bg(bg(56880,26044)|0,25449)|0,35722)|0,96)|0,35729)|0,25984)|0;PE(o,r+(c[(c[r>>2]|0)+-12>>2]|0)|0);q=cG(o,57584)|0;q=Hb[c[(c[q>>2]|0)+28>>2]&63](q,10)|0;dG(o);XE(r,q)|0;TE(r)|0;va()}if(!(h>=0.0)|!(h<=1.0001)){r=bg(bg(WE(bg(bg(bg(56880,26091)|0,25449)|0,35722)|0,97)|0,35729)|0,25984)|0;PE(o,r+(c[(c[r>>2]|0)+-12>>2]|0)|0);q=cG(o,57584)|0;q=Hb[c[(c[q>>2]|0)+28>>2]&63](q,10)|0;dG(o);XE(r,q)|0;TE(r)|0;va()}if(!(h+(g+(j+i))<=1.0001)){r=bg(bg(WE(bg(bg(bg(56880,26138)|0,25449)|0,35722)|0,98)|0,35729)|0,25984)|0;PE(o,r+(c[(c[r>>2]|0)+-12>>2]|0)|0);q=cG(o,57584)|0;q=Hb[c[(c[q>>2]|0)+28>>2]&63](q,10)|0;dG(o);XE(r,q)|0;TE(r)|0;va()}else{zb=p;return +(j*+f[a+(n<<2)>>2]+i*+f[a+(m<<2)>>2]+g*+f[d+(n<<2)>>2]+h*+f[d+(m<<2)>>2])}return +(0.0)}function Ni(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;i=zb;zb=zb+32|0;g=i;h=a+8|0;f=a+4|0;d=c[f>>2]|0;do if((((c[h>>2]|0)-d|0)/36|0)>>>0>>0){d=((d-(c[a>>2]|0)|0)/36|0)+b|0;e=fi(a)|0;if(e>>>0>>0)LO(a);else{j=c[a>>2]|0;k=((c[h>>2]|0)-j|0)/36|0;h=k<<1;Bh(g,k>>>0>>1>>>0?(h>>>0>>0?d:h):e,((c[f>>2]|0)-j|0)/36|0,a+8|0);Pi(g,b);Ch(a,g);Dh(g);break}}else Oi(a,b);while(0);zb=i;return}function Oi(a,b){a=a|0;b=b|0;var d=0,e=0;e=a+4|0;a=c[e>>2]|0;do{d=a+36|0;do{c[a>>2]=0;a=a+4|0}while((a|0)<(d|0));a=(c[e>>2]|0)+36|0;c[e>>2]=a;b=b+-1|0}while((b|0)!=0);return}function Pi(a,b){a=a|0;b=b|0;var d=0,e=0;e=a+8|0;a=c[e>>2]|0;do{d=a+36|0;do{c[a>>2]=0;a=a+4|0}while((a|0)<(d|0));a=(c[e>>2]|0)+36|0;c[e>>2]=a;b=b+-1|0}while((b|0)!=0);return}function Qi(a){a=a|0;return (c[a+4>>2]|0)-(c[a>>2]|0)>>5|0}function Ri(a,b){a=a|0;b=b|0;return (c[a>>2]|0)+(b<<5)|0}function Si(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=zb;zb=zb+16|0;e=f;d=c[a>>2]|0;if((c[a+4>>2]|0)-d>>5>>>0>b>>>0){e=Tg(d)|0;a=~~+Vi(+Ui(+(((e>>>0)/((Tg((c[a>>2]|0)+(b<<5)|0)|0)>>>0)|0)>>>0)));zb=f;return a|0}else{f=bg(bg(WE(bg(bg(bg(56880,27101)|0,24604)|0,35722)|0,94)|0,35729)|0,27147)|0;PE(e,f+(c[(c[f>>2]|0)+-12>>2]|0)|0);a=cG(e,57584)|0;a=Hb[c[(c[a>>2]|0)+28>>2]&63](a,10)|0;dG(e);XE(f,a)|0;TE(f)|0;va()}return 0}function Ti(a,b){a=a|0;b=b|0;return (b|0)%(c[a+16>>2]|0)|0|0}function Ui(a){a=+a;return +(+A(+a)/.6931471824645996)}function Vi(a){a=+a;return +(+s(+(a+.5)))}function Wi(a){a=a|0;c[a>>2]=15676;mh(a+56|0);mh(a+44|0);Yi(a+32|0);Zi(a);return}function Xi(a){a=a|0;Wi(a);ZA(a);return}function Yi(a){a=a|0;var b=0,d=0;b=c[a>>2]|0;d=b;if(b|0){c[a+4>>2]=d;Vf(b,(c[a+8>>2]|0)-d|0)}return}function Zi(a){a=a|0;c[a>>2]=15692;sh(a+4|0);return}function _i(a){a=a|0;Zi(a);ZA(a);return}function $i(a,g,h,i,j){a=a|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;t=zb;zb=zb+16|0;k=t;if(i>>>0<=4){s=bg(bg(WE(bg(bg(bg(56880,27199)|0,27233)|0,35722)|0,55)|0,35729)|0,27366)|0;PE(k,s+(c[(c[s>>2]|0)+-12>>2]|0)|0);r=cG(k,57584)|0;r=Hb[c[(c[r>>2]|0)+28>>2]&63](r,10)|0;dG(k);XE(s,r)|0;TE(s)|0;va()}if(j>>>0<=4){s=bg(bg(WE(bg(bg(bg(56880,27385)|0,27233)|0,35722)|0,56)|0,35729)|0,27366)|0;PE(k,s+(c[(c[s>>2]|0)+-12>>2]|0)|0);r=cG(k,57584)|0;r=Hb[c[(c[r>>2]|0)+28>>2]&63](r,10)|0;dG(k);XE(s,r)|0;TE(s)|0;va()}n=i+-1|0;q=i+-2|0;o=i+-3|0;p=i+-4|0;m=0;r=g;while(1){if((m|0)==(j|0))break;k=h+(C(m,i)|0)|0;l=d[k>>0]|0;u=k+1|0;s=k+2|0;b[r>>1]=(l*7|0)+(d[s>>0]|0)+((d[u>>0]|0)+l<<2);l=d[k>>0]|0;b[r+2>>1]=((d[u>>0]|0)*6|0)+l+(d[k+3>>0]|0)+((d[s>>0]|0)+l<<2);l=2;s=r+4|0;while(1){if((l|0)==(q|0))break;u=l+1|0;b[s>>1]=((d[k+l>>0]|0)*6|0)+(d[k+(l+-2)>>0]|0)+((d[k+u>>0]|0)+(d[k+(l+-1)>>0]|0)<<2)+(d[k+(l+2)>>0]|0);l=u;s=s+2|0}u=r+(q<<1)|0;l=k+q|0;v=k+o|0;s=k+n|0;w=d[s>>0]|0;b[u>>1]=((d[l>>0]|0)*6|0)+w+(d[k+p>>0]|0)+(w+(d[v>>0]|0)<<2);s=d[s>>0]|0;b[u+2>>1]=(s*7|0)+(d[v>>0]|0)+((d[l>>0]|0)+s<<2);m=m+1|0;r=r+(i<<1)|0}s=j+-2|0;q=g+(i<<1)|0;r=q+(i<<1)|0;k=0;l=a;m=g;n=q;o=r;while(1){if((k|0)==(i|0))break;w=e[m>>1]|0;f[l>>2]=+((w*7|0)+((e[n>>1]|0)+w<<2)+(e[o>>1]|0)|0)*.00390625;k=k+1|0;l=l+4|0;m=m+2|0;n=n+2|0;o=o+2|0}o=0;p=a+(i<<2)|0;l=q;m=g;n=r;k=r+(i<<1)|0;while(1){if((o|0)==(i|0))break;w=e[m>>1]|0;f[p>>2]=+(((e[l>>1]|0)*6|0)+w+((e[n>>1]|0)+w<<2)+(e[k>>1]|0)|0)*.00390625;o=o+1|0;p=p+4|0;l=l+2|0;m=m+2|0;n=n+2|0;k=k+2|0}r=2;while(1){if((r|0)==(s|0))break;o=g+((C(r+-2|0,i)|0)<<1)|0;n=o+(i<<1)|0;m=n+(i<<1)|0;q=m+(i<<1)|0;k=0;l=a+((C(r,i)|0)<<2)|0;p=q;q=q+(i<<1)|0;while(1){if((k|0)==(i|0))break;f[l>>2]=+(((e[m>>1]|0)*6|0)+(e[o>>1]|0)+((e[p>>1]|0)+(e[n>>1]|0)<<2)+(e[q>>1]|0)|0)*.00390625;k=k+1|0;l=l+4|0;m=m+2|0;n=n+2|0;o=o+2|0;p=p+2|0;q=q+2|0}r=r+1|0}n=g+((C(j+-4|0,i)|0)<<1)|0;m=n+(i<<1)|0;o=m+(i<<1)|0;p=0;k=a+((C(s,i)|0)<<2)|0;l=o;o=o+(i<<1)|0;while(1){if((p|0)==(i|0))break;w=e[o>>1]|0;f[k>>2]=+(((e[l>>1]|0)*6|0)+(e[n>>1]|0)+(w+(e[m>>1]|0)<<2)+w|0)*.00390625;p=p+1|0;k=k+4|0;l=l+2|0;m=m+2|0;n=n+2|0;o=o+2|0}n=g+((C(j+-3|0,i)|0)<<1)|0;m=n+(i<<1)|0;o=0;k=a+((C(j+-1|0,i)|0)<<2)|0;l=m+(i<<1)|0;while(1){if((o|0)==(i|0))break;w=e[l>>1]|0;f[k>>2]=+((w*6|0)+(e[n>>1]|0)+(w+(e[m>>1]|0)<<2)+w|0)*.00390625;o=o+1|0;k=k+4|0;l=l+2|0;m=m+2|0;n=n+2|0}zb=t;return}function aj(a,b,d,e,g){a=a|0;b=b|0;d=d|0;e=e|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0.0,s=0,t=0;q=zb;zb=zb+16|0;h=q;if(e>>>0<=4){p=bg(bg(WE(bg(bg(bg(56880,27199)|0,27233)|0,35722)|0,168)|0,35729)|0,27366)|0;PE(h,p+(c[(c[p>>2]|0)+-12>>2]|0)|0);o=cG(h,57584)|0;o=Hb[c[(c[o>>2]|0)+28>>2]&63](o,10)|0;dG(h);XE(p,o)|0;TE(p)|0;va()}if(g>>>0<=4){p=bg(bg(WE(bg(bg(bg(56880,27385)|0,27233)|0,35722)|0,169)|0,35729)|0,27366)|0;PE(h,p+(c[(c[p>>2]|0)+-12>>2]|0)|0);o=cG(h,57584)|0;o=Hb[c[(c[o>>2]|0)+28>>2]&63](o,10)|0;dG(h);XE(p,o)|0;TE(p)|0;va()}k=e+-1|0;l=e+-2|0;m=e+-3|0;n=e+-4|0;j=0;o=b;while(1){if((j|0)==(g|0))break;h=d+((C(j,e)|0)<<2)|0;r=+f[h>>2];p=h+4|0;i=h+8|0;f[o>>2]=+f[i>>2]+(r+(r*6.0+(r+ +f[p>>2])*4.0));r=+f[h>>2];f[o+4>>2]=+f[h+12>>2]+(r+(+f[p>>2]*6.0+(r+ +f[i>>2])*4.0));i=2;p=o+8|0;while(1){if((i|0)==(l|0))break;s=i+1|0;f[p>>2]=+f[h+(i+2<<2)>>2]+(+f[h+(i+-2<<2)>>2]+(+f[h+(i<<2)>>2]*6.0+(+f[h+(i+-1<<2)>>2]+ +f[h+(s<<2)>>2])*4.0));i=s;p=p+4|0}s=o+(l<<2)|0;p=h+(l<<2)|0;i=h+(m<<2)|0;t=h+(k<<2)|0;r=+f[t>>2];f[s>>2]=r+(+f[h+(n<<2)>>2]+(+f[p>>2]*6.0+(+f[i>>2]+r)*4.0));r=+f[t>>2];f[s+4>>2]=r+(+f[i>>2]+(r*6.0+(r+ +f[p>>2])*4.0));j=j+1|0;o=o+(e<<2)|0}p=g+-2|0;n=b+(e<<2)|0;o=n+(e<<2)|0;h=0;i=a;j=b;k=n;l=o;while(1){if((h|0)==(e|0))break;r=+f[j>>2];f[i>>2]=(+f[l>>2]+(r+(r*6.0+(r+ +f[k>>2])*4.0)))*.00390625;h=h+1|0;i=i+4|0;j=j+4|0;k=k+4|0;l=l+4|0}l=0;m=a+(e<<2)|0;i=n;j=b;k=o;h=o+(e<<2)|0;while(1){if((l|0)==(e|0))break;r=+f[j>>2];f[m>>2]=(+f[h>>2]+(r+(+f[i>>2]*6.0+(r+ +f[k>>2])*4.0)))*.00390625;l=l+1|0;m=m+4|0;i=i+4|0;j=j+4|0;k=k+4|0;h=h+4|0}o=2;while(1){if((o|0)==(p|0))break;l=b+((C(o+-2|0,e)|0)<<2)|0;k=l+(e<<2)|0;j=k+(e<<2)|0;n=j+(e<<2)|0;h=0;i=a+((C(o,e)|0)<<2)|0;m=n;n=n+(e<<2)|0;while(1){if((h|0)==(e|0))break;f[i>>2]=(+f[n>>2]+(+f[l>>2]+(+f[j>>2]*6.0+(+f[k>>2]+ +f[m>>2])*4.0)))*.00390625;h=h+1|0;i=i+4|0;j=j+4|0;k=k+4|0;l=l+4|0;m=m+4|0;n=n+4|0}o=o+1|0}k=b+((C(g+-4|0,e)|0)<<2)|0;j=k+(e<<2)|0;l=j+(e<<2)|0;m=0;h=a+((C(p,e)|0)<<2)|0;i=l;l=l+(e<<2)|0;while(1){if((m|0)==(e|0))break;r=+f[l>>2];f[h>>2]=(r+(+f[k>>2]+(+f[i>>2]*6.0+(+f[j>>2]+r)*4.0)))*.00390625;m=m+1|0;h=h+4|0;i=i+4|0;j=j+4|0;k=k+4|0;l=l+4|0}k=b+((C(g+-3|0,e)|0)<<2)|0;j=k+(e<<2)|0;l=0;h=a+((C(g+-1|0,e)|0)<<2)|0;i=j+(e<<2)|0;while(1){if((l|0)==(e|0))break;r=+f[i>>2];f[h>>2]=(r+(+f[k>>2]+(r*6.0+(+f[j>>2]+r)*4.0)))*.00390625;l=l+1|0;h=h+4|0;i=i+4|0;j=j+4|0;k=k+4|0}zb=q;return}function bj(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0,j=0,k=0,l=0;l=c>>>1;k=d>>>1;j=c<<1;g=0;while(1){if((g|0)==(k|0))break;i=b+((C(j,g)|0)<<2)|0;d=0;e=a;h=i;i=i+(c<<2)|0;while(1){if((d|0)==(l|0))break;f[e>>2]=(+f[h>>2]+ +f[h+4>>2]+ +f[i>>2]+ +f[i+4>>2])*.25;d=d+1|0;e=e+4|0;h=h+8|0;i=i+8|0}a=a+(l<<2)|0;g=g+1|0}return}function cj(a){a=a|0;c[a>>2]=15692;a=a+4|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;c[a+20>>2]=0;c[a+24>>2]=0;return}function dj(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0;c[a+16>>2]=b;c[a+20>>2]=d;e=+Ma(+(1.0/+(d+-1|0)));f[a+24>>2]=e;f[a+28>>2]=1.0/+A(+e);return}function ej(a){a=a|0;var b=0;cj(a);c[a>>2]=15676;a=a+32|0;b=a+36|0;do{c[a>>2]=0;a=a+4|0}while((a|0)<(b|0));return}function fj(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;dj(a,e,3);j=a+4|0;i=a+20|0;Xg(j,C(c[i>>2]|0,e)|0);g=0;while(1){if((g|0)>=(e|0))break;k=b>>>g;l=d>>>g;h=0;while(1){f=c[i>>2]|0;if(h>>>0>=f>>>0)break;f=(C(f,g)|0)+h|0;iq((c[j>>2]|0)+(f<<5)|0,2,k,l,-1,1);h=h+1|0}g=g+1|0}b=C(d,b)|0;gj(a+32|0,b);lh(a+44|0,b);lh(a+56|0,b);return}function gj(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;e=a+4|0;d=c[a>>2]|0;f=(c[e>>2]|0)-d>>1;if(f>>>0>=b>>>0){if(f>>>0>b>>>0)c[e>>2]=d+(b<<1)}else hj(a,b-f|0);return}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;i=zb;zb=zb+32|0;g=i;h=a+8|0;f=a+4|0;d=c[f>>2]|0;do if((c[h>>2]|0)-d>>1>>>0>>0){d=(d-(c[a>>2]|0)>>1)+b|0;e=jj(a)|0;if(e>>>0>>0)LO(a);else{j=c[a>>2]|0;h=(c[h>>2]|0)-j|0;kj(g,h>>1>>>0>>1>>>0?(h>>>0>>0?d:h):e,(c[f>>2]|0)-j>>1,a+8|0);lj(g,b);mj(a,g);nj(g);break}}else ij(a,b);while(0);zb=i;return}function ij(a,b){a=a|0;b=b|0;var d=0;a=a+4|0;d=c[a>>2]|0;hP(d|0,0,b<<1|0)|0;c[a>>2]=d+(b<<1);return}function jj(a){a=a|0;return 2147483647}function kj(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=a+12|0;c[f>>2]=0;c[a+16>>2]=e;do if(b)if((b|0)<0){a=P(8)|0;kO(a,38211);c[a>>2]=16392;R(a|0,13960,22)}else{e=AB(b<<1)|0;break}else e=0;while(0);c[a>>2]=e;d=e+(d<<1)|0;c[a+8>>2]=d;c[a+4>>2]=d;c[f>>2]=e+(b<<1);return}function lj(a,b){a=a|0;b=b|0;var d=0;a=a+8|0;d=c[a>>2]|0;hP(d|0,0,b<<1|0)|0;c[a>>2]=d+(b<<1);return}function mj(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;e=c[a>>2]|0;h=a+4|0;g=b+4|0;f=(c[h>>2]|0)-e|0;d=(c[g>>2]|0)+(0-(f>>1)<<1)|0;c[g>>2]=d;if((f|0)>0){fP(d|0,e|0,f|0)|0;e=g;d=c[g>>2]|0}else e=g;g=c[a>>2]|0;c[a>>2]=d;c[e>>2]=g;g=b+8|0;f=c[h>>2]|0;c[h>>2]=c[g>>2];c[g>>2]=f;g=a+8|0;a=b+12|0;h=c[g>>2]|0;c[g>>2]=c[a>>2];c[a>>2]=h;c[b>>2]=c[e>>2];return}function nj(a){a=a|0;var b=0,d=0,e=0,f=0;b=c[a+4>>2]|0;e=a+8|0;d=c[e>>2]|0;while(1){if((d|0)==(b|0))break;f=d+-2|0;c[e>>2]=f;d=f}b=c[a>>2]|0;if(b|0)Vf(b,(c[a+12>>2]|0)-b|0);return}function oj(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;h=zb;zb=zb+16|0;d=h;if((Sg(b)|0)!=1){g=bg(bg(WE(bg(bg(bg(56880,27420)|0,27233)|0,35722)|0,330)|0,35729)|0,27471)|0;PE(d,g+(c[(c[g>>2]|0)+-12>>2]|0)|0);f=cG(d,57584)|0;f=Hb[c[(c[f>>2]|0)+28>>2]&63](f,10)|0;dG(d);XE(g,f)|0;TE(g)|0;va()}if((gh(b)|0)!=1){g=bg(bg(WE(bg(bg(bg(56880,27495)|0,27233)|0,35722)|0,331)|0,35729)|0,27540)|0;PE(d,g+(c[(c[g>>2]|0)+-12>>2]|0)|0);f=cG(d,57584)|0;f=Hb[c[(c[f>>2]|0)+28>>2]&63](f,10)|0;dG(d);XE(g,f)|0;TE(g)|0;va()}g=a+4|0;e=a+16|0;f=a+20|0;if(((c[a+8>>2]|0)-(c[g>>2]|0)>>5|0)!=(C(c[f>>2]|0,c[e>>2]|0)|0)){i=bg(bg(WE(bg(bg(bg(56880,27566)|0,27233)|0,35722)|0,333)|0,35729)|0,27640)|0;PE(d,i+(c[(c[i>>2]|0)+-12>>2]|0)|0);j=cG(d,57584)|0;j=Hb[c[(c[j>>2]|0)+28>>2]&63](j,10)|0;dG(d);XE(i,j)|0;TE(i)|0;va()}j=Tg(b)|0;if((j|0)!=(Tg(c[g>>2]|0)|0)){j=bg(bg(WE(bg(bg(bg(56880,27675)|0,27233)|0,35722)|0,334)|0,35729)|0,27735)|0;PE(d,j+(c[(c[j>>2]|0)+-12>>2]|0)|0);i=cG(d,57584)|0;i=Hb[c[(c[i>>2]|0)+28>>2]&63](i,10)|0;dG(d);XE(j,i)|0;TE(j)|0;va()}j=Ug(b)|0;if((j|0)!=(Ug(c[g>>2]|0)|0)){j=bg(bg(WE(bg(bg(bg(56880,27767)|0,27233)|0,35722)|0,335)|0,35729)|0,27735)|0;PE(d,j+(c[(c[j>>2]|0)+-12>>2]|0)|0);i=cG(d,57584)|0;i=Hb[c[(c[i>>2]|0)+28>>2]&63](i,10)|0;dG(d);XE(j,i)|0;TE(j)|0;va()}pj(a,c[g>>2]|0,b);b=c[g>>2]|0;pj(a,b+32|0,b);b=c[g>>2]|0;qj(a,b+64|0,b+32|0);b=1;while(1){if(b>>>0>=(c[e>>2]|0)>>>0)break;k=C(c[f>>2]|0,b)|0;k=rj((c[g>>2]|0)+(k<<5)|0)|0;d=(C(c[f>>2]|0,b)|0)+-1|0;d=rj((c[g>>2]|0)+(d<<5)|0)|0;i=(C(c[f>>2]|0,b)|0)+-1|0;i=Tg((c[g>>2]|0)+(i<<5)|0)|0;j=(C(c[f>>2]|0,b)|0)+-1|0;bj(k,d,i,Ug((c[g>>2]|0)+(j<<5)|0)|0);j=C(c[f>>2]|0,b)|0;i=c[g>>2]|0;pj(a,i+(j+1<<5)|0,i+(j<<5)|0);j=C(c[f>>2]|0,b)|0;i=c[g>>2]|0;qj(a,i+(j+2<<5)|0,i+(j+1<<5)|0);b=b+1|0}zb=h;return}function pj(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;f=zb;zb=zb+16|0;e=f;if((Sg(b)|0)!=2){g=bg(bg(WE(bg(bg(bg(56880,27829)|0,27233)|0,35722)|0,357)|0,35729)|0,27876)|0;PE(e,g+(c[(c[g>>2]|0)+-12>>2]|0)|0);h=cG(e,57584)|0;h=Hb[c[(c[h>>2]|0)+28>>2]&63](h,10)|0;dG(e);XE(g,h)|0;TE(g)|0;va()}switch(Sg(d)|0){case 1:{e=rj(b)|0;g=c[a+32>>2]|0;h=Ji(d)|0;$i(e,g,h,Tg(d)|0,Ug(d)|0);break}case 2:{e=rj(b)|0;g=c[a+44>>2]|0;h=Ji(d)|0;aj(e,g,h,Tg(d)|0,Ug(d)|0);break}case 0:{h=P(16)|0;c[e>>2]=0;c[e+4>>2]=0;c[e+8>>2]=0;nO(e,27912,cg(27912)|0);sj(h,e);R(h|0,13208,5)}default:{h=P(16)|0;c[e>>2]=0;c[e+4>>2]=0;c[e+8>>2]=0;nO(e,27931,cg(27931)|0);sj(h,e);R(h|0,13208,5)}}zb=f;return}function qj(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=zb;zb=zb+32|0;f=e;j=c[a+56>>2]|0;i=Sg(d)|0;h=Tg(d)|0;g=Ug(d)|0;qq(f,j,i,h,g,Ki(d)|0,1);pj(a,f,d);pj(a,b,f);xq(f);zb=e;return}function rj(a){a=a|0;return c[a+24>>2]|0}function sj(a,b){a=a|0;b=b|0;c[a>>2]=15708;mO(a+4|0,b);return}function tj(a){a=a|0;c[a>>2]=15708;qO(a+4|0);return}function uj(a){a=a|0;tj(a);ZA(a);return}function vj(b){b=b|0;b=b+4|0;if((a[b+11>>0]|0)<0)b=c[b>>2]|0;return b|0}function wj(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0.0,o=0.0;m=c+-1|0;k=b+(c<<2)|0;i=b+4|0;n=+f[b>>2];o=+f[i>>2]-n;n=+f[k>>2]-n;f[a>>2]=+z(+n,+o)+3.141592653589793;f[a+4>>2]=+u(+(o*o+n*n));e=k;g=1;while(1){h=a+8|0;e=e+4|0;if(g>>>0>=m>>>0)break;l=i+4|0;n=+f[l>>2]-+f[i+-4>>2];o=+f[e>>2]-+f[i>>2];f[h>>2]=+z(+o,+n)+3.141592653589793;f[a+12>>2]=+u(+(n*n+o*o));g=g+1|0;a=h;i=l}l=d+-1|0;o=+f[i>>2];n=o-+f[i+-4>>2];o=+f[e>>2]-o;f[h>>2]=+z(+o,+n)+3.141592653589793;f[a+12>>2]=+u(+(n*n+o*o));a=k;j=b;g=k+(c<<2)|0;k=1;while(1){e=h+8|0;if(k>>>0>=l>>>0)break;i=a+4|0;n=+f[i>>2]-+f[a>>2];o=+f[g>>2]-+f[j>>2];f[e>>2]=+z(+o,+n)+3.141592653589793;f[h+12>>2]=+u(+(n*n+o*o));d=1;h=h+16|0;while(1){e=g+4|0;a=j+4|0;if(d>>>0>=m>>>0)break;j=i+4|0;n=+f[j>>2]-+f[i+-4>>2];o=+f[e>>2]-+f[a>>2];f[h>>2]=+z(+o,+n)+3.141592653589793;f[h+4>>2]=+u(+(n*n+o*o));d=d+1|0;h=h+8|0;i=j;j=a;g=e}n=+f[i>>2]-+f[i+-4>>2];o=+f[e>>2]-+f[a>>2];f[h>>2]=+z(+o,+n)+3.141592653589793;f[h+4>>2]=+u(+(n*n+o*o));a=i+4|0;j=j+8|0;g=g+8|0;k=k+1|0}d=b+((C(l,c)|0)<<2)|0;a=d+(0-c<<2)|0;c=d+4|0;o=+f[d>>2];n=+f[c>>2]-o;o=o-+f[a>>2];f[e>>2]=+z(+o,+n)+3.141592653589793;f[h+12>>2]=+u(+(n*n+o*o));d=1;h=c;while(1){g=e+8|0;a=a+4|0;if(d>>>0>=m>>>0)break;c=h+4|0;n=+f[c>>2]-+f[h+-4>>2];o=+f[h>>2]-+f[a>>2];f[g>>2]=+z(+o,+n)+3.141592653589793;f[e+12>>2]=+u(+(n*n+o*o));d=d+1|0;e=g;h=c}o=+f[h>>2];n=o-+f[h+-4>>2];o=o-+f[a>>2];f[g>>2]=+z(+o,+n)+3.141592653589793;f[e+12>>2]=+u(+(n*n+o*o));return}function xj(a){a=a|0;return 536870911}function yj(a){a=a|0;var b=0;c[a>>2]=0;c[a+4>>2]=0;a=a+12|0;b=a+40|0;do{c[a>>2]=0;a=a+4|0}while((a|0)<(b|0));return}function zj(a){a=a|0;sh(a+40|0);mh(a+28|0);return}function Aj(a,b,d,e,g,h,i,j,k,l){a=a|0;b=b|0;d=d|0;e=e|0;g=g|0;h=h|0;i=+i;j=+j;k=k|0;l=+l;var m=0,n=0,o=0;c[a>>2]=e;n=a+4|0;c[n>>2]=g;c[a+8>>2]=h;f[a+12>>2]=i;f[a+16>>2]=j;c[a+20>>2]=k;f[a+24>>2]=l;lh(a+28|0,h);o=a+40|0;Xg(o,C(c[n>>2]|0,c[a>>2]|0)|0);h=0;while(1){if((h|0)==(e|0))break;a=C(h,g)|0;m=b>>>h;n=d>>>h;k=0;while(1){if((k|0)==(g|0))break;iq((c[o>>2]|0)+(k+a<<5)|0,2,m,n,-1,2);k=k+1|0}h=h+1|0}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;g=zb;zb=zb+16|0;f=g;a=a+40|0;e=0;while(1){d=Gh(b)|0;if(e>>>0>=(c[d+4>>2]|0)-(c[d>>2]|0)>>5>>>0){a=3;break}d=(c[(Gh(b)|0)>>2]|0)+(e<<5)|0;h=Tg(d)|0;if((h|0)!=((Ki(d)|0)>>>2|0)){a=5;break}j=Cj((c[a>>2]|0)+(e<<5)|0)|0;i=Dj(d)|0;h=Tg(d)|0;wj(j,i,h,Ug(d)|0);e=e+1|0}if((a|0)==3){zb=g;return}else if((a|0)==5){j=bg(bg(WE(bg(bg(bg(56880,27974)|0,28035)|0,35722)|0,96)|0,35729)|0,28162)|0;PE(f,j+(c[(c[j>>2]|0)+-12>>2]|0)|0);i=cG(f,57584)|0;i=Hb[c[(c[i>>2]|0)+28>>2]&63](i,10)|0;dG(f);XE(j,i)|0;TE(j)|0;va()}}function Cj(a){a=a|0;return c[a+24>>2]|0}function Dj(a){a=a|0;return c[a+24>>2]|0}function Ej(a,b,d,e,g,i,j,k){a=a|0;b=b|0;d=d|0;e=e|0;g=g|0;i=+i;j=+j;k=+k;var l=0,m=0,n=0.0,o=0,p=0,q=0,r=0,s=0.0,t=0.0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,D=0,E=0,F=0,G=0;F=zb;zb=zb+48|0;E=F+32|0;A=F+24|0;D=F+16|0;w=F+12|0;x=F+8|0;y=F+4|0;z=F;if(!(i>=0.0)){v=bg(bg(WE(bg(bg(bg(56880,28203)|0,28035)|0,35722)|0,119)|0,35729)|0,28233)|0;PE(E,v+(c[(c[v>>2]|0)+-12>>2]|0)|0);u=cG(E,57584)|0;u=Hb[c[(c[u>>2]|0)+28>>2]&63](u,10)|0;dG(E);XE(v,u)|0;TE(v)|0;va()}m=a+4|0;v=(C(c[m>>2]|0,e)|0)+g|0;l=a+40|0;if(!(+((Tg((c[l>>2]|0)+(v<<5)|0)|0)>>>0)>i)){v=bg(bg(WE(bg(bg(bg(56880,28252)|0,28035)|0,35722)|0,120)|0,35729)|0,28332)|0;PE(E,v+(c[(c[v>>2]|0)+-12>>2]|0)|0);u=cG(E,57584)|0;u=Hb[c[(c[u>>2]|0)+28>>2]&63](u,10)|0;dG(E);XE(v,u)|0;TE(v)|0;va()}if(!(j>=0.0)){v=bg(bg(WE(bg(bg(bg(56880,28368)|0,28035)|0,35722)|0,121)|0,35729)|0,28398)|0;PE(E,v+(c[(c[v>>2]|0)+-12>>2]|0)|0);u=cG(E,57584)|0;u=Hb[c[(c[u>>2]|0)+28>>2]&63](u,10)|0;dG(E);XE(v,u)|0;TE(v)|0;va()}v=(C(c[m>>2]|0,e)|0)+g|0;if(!(+((Ug((c[l>>2]|0)+(v<<5)|0)|0)>>>0)>j)){v=bg(bg(WE(bg(bg(bg(56880,28417)|0,28035)|0,35722)|0,122)|0,35729)|0,28498)|0;PE(E,v+(c[(c[v>>2]|0)+-12>>2]|0)|0);u=cG(E,57584)|0;u=Hb[c[(c[u>>2]|0)+28>>2]&63](u,10)|0;dG(E);XE(v,u)|0;TE(v)|0;va()}q=(C(c[m>>2]|0,e)|0)+g|0;q=(c[l>>2]|0)+(q<<5)|0;if((gh(q)|0)!=2){v=bg(bg(WE(bg(bg(bg(56880,28535)|0,28035)|0,35722)|0,126)|0,35729)|0,28576)|0;PE(E,v+(c[(c[v>>2]|0)+-12>>2]|0)|0);u=cG(E,57584)|0;u=Hb[c[(c[u>>2]|0)+28>>2]&63](u,10)|0;dG(E);XE(v,u)|0;TE(v)|0;va()}c[d>>2]=0;l=~~(i+.5);m=~~(j+.5);a:do if(((l|0)>=0?!((m|0)<0|(Tg(q)|0)>>>0<=l>>>0):0)?(Ug(q)|0)>>>0>m>>>0:0){n=+Fj(1.0,+f[a+12>>2]*k);t=-1.0/(+pi(n)*2.0);n=n*+f[a+16>>2];s=+B(+(+pi(n)));u=~~(n+.5);p=Gj(0,l-u|0)|0;o=Hj(u+l|0,(Tg(q)|0)+-1|0)|0;g=Gj(0,m-u|0)|0;l=Hj(u+m|0,(Ug(q)|0)+-1|0)|0;u=a+28|0;v=c[u>>2]|0;Ij(v,(c[a+32>>2]|0)-v>>2);v=a+8|0;while(1){if((g|0)>(l|0))break;n=+pi(+(g|0)-j);m=ih(q,g)|0;e=p;while(1){if((e|0)>(o|0))break;k=n+ +pi(+(e|0)-i);if(!(k>s)){G=m+(e<<1<<2)|0;k=+Jj(t*k);r=c[v>>2]|0;Kj(c[u>>2]|0,+f[G>>2]*+(r|0)*.159154943091895,k*+f[G+4>>2],r)}e=e+1|0}g=g+1|0}m=a+20|0;l=0;while(1){if((l|0)>=(c[m>>2]|0))break;G=c[u>>2]|0;Lj(G,G,c[v>>2]|0,15720);l=l+1|0}m=c[v>>2]|0;l=0;s=0.0;while(1){if((l|0)>=(m|0))break;j=+f[(c[u>>2]|0)+(l<<2)>>2];l=l+1|0;s=j>s?j:s}if(!(s==0.0)){if(!(s>0.0)){G=bg(bg(WE(bg(bg(bg(56880,28607)|0,28035)|0,35722)|0,218)|0,35729)|0,28645)|0;PE(E,G+(c[(c[G>>2]|0)+-12>>2]|0)|0);r=cG(E,57584)|0;r=Hb[c[(c[r>>2]|0)+28>>2]&63](r,10)|0;dG(E);XE(G,r)|0;TE(G)|0;va()}p=E+4|0;q=A+4|0;r=D+4|0;o=a+24|0;l=m;m=0;while(1){if((m|0)>=(l|0))break a;n=+(m|0);f[E>>2]=n;e=c[u>>2]|0;G=e+(m<<2)|0;a=c[G>>2]|0;c[p>>2]=a;g=m+-1|0;f[A>>2]=+(g|0);g=c[e+(((g+l|0)%(l|0)|0)<<2)>>2]|0;c[q>>2]=g;m=m+1|0;f[D>>2]=+(m|0);e=c[e+(((m+l|0)%(l|0)|0)<<2)>>2]|0;c[r>>2]=e;k=(c[h>>2]=a,+f[h>>2]);if(+f[G>>2]>s*+f[o>>2]?(j=(c[h>>2]=e,+f[h>>2]),k>(c[h>>2]=g,+f[h>>2])&k>j):0){f[z>>2]=n;if(Mj(w,x,y,A,E,D)|0)Nj(z,+f[w>>2],+f[x>>2],+f[y>>2])|0;j=+(c[v>>2]|0);l=c[d>>2]|0;f[b+(l<<2)>>2]=(+f[z>>2]+.5+j)/j*6.283185307179586%6.283185307179586;c[d>>2]=l+1;l=c[v>>2]|0}}}}while(0);zb=F;return}function Fj(a,b){a=+a;b=+b;return +(a>b?a:b)}function Gj(a,b){a=a|0;b=b|0;return ((a|0)>(b|0)?a:b)|0}function Hj(a,b){a=a|0;b=b|0;return ((a|0)<(b|0)?a:b)|0}function Ij(a,b){a=a|0;b=b|0;hP(a|0,0,b<<2|0)|0;return}function Jj(a){a=+a;return +(((((((a+6.0)*a+30.0)*a+120.0)*a+360.0)*a+720.0)*a+720.0)*.0013888888)}function Kj(a,b,d,e){a=a|0;b=+b;d=+d;e=e|0;var g=0.0,h=0,i=0,j=0,k=0,l=0;j=zb;zb=zb+16|0;i=j;if(!a){h=bg(bg(WE(bg(bg(bg(56880,28676)|0,28712)|0,35722)|0,139)|0,35729)|0,28837)|0;PE(i,h+(c[(c[h>>2]|0)+-12>>2]|0)|0);k=cG(i,57584)|0;k=Hb[c[(c[k>>2]|0)+28>>2]&63](k,10)|0;dG(i);XE(h,k)|0;TE(h)|0;va()}if(b+.5>0.0?(g=b+-.5,g<+(e|0)):0){if(!(d>=0.0)){k=bg(bg(WE(bg(bg(bg(56880,28968)|0,28712)|0,35722)|0,141)|0,35729)|0,29006)|0;PE(i,k+(c[(c[k>>2]|0)+-12>>2]|0)|0);h=cG(i,57584)|0;h=Hb[c[(c[h>>2]|0)+28>>2]&63](h,10)|0;dG(i);XE(k,h)|0;TE(k)|0;va()}if((e|0)<=-1){k=bg(bg(WE(bg(bg(bg(56880,29035)|0,28712)|0,35722)|0,142)|0,35729)|0,29072)|0;PE(i,k+(c[(c[k>>2]|0)+-12>>2]|0)|0);h=cG(i,57584)|0;h=Hb[c[(c[h>>2]|0)+28>>2]&63](h,10)|0;dG(i);XE(k,h)|0;TE(k)|0;va()}k=~~+s(+g);b=b-+(k|0)+-.5;g=1.0-b;h=(k+e|0)%(e|0)|0;e=(k+1|0)%(e|0)|0;if(!(g>=0.0)){k=bg(bg(WE(bg(bg(bg(56880,29101)|0,28712)|0,35722)|0,150)|0,35729)|0,29132)|0;PE(i,k+(c[(c[k>>2]|0)+-12>>2]|0)|0);l=cG(i,57584)|0;l=Hb[c[(c[l>>2]|0)+28>>2]&63](l,10)|0;dG(i);XE(k,l)|0;TE(k)|0;va()}if(!(b>=0.0)){l=bg(bg(WE(bg(bg(bg(56880,29152)|0,28712)|0,35722)|0,151)|0,35729)|0,29183)|0;PE(i,l+(c[(c[l>>2]|0)+-12>>2]|0)|0);k=cG(i,57584)|0;k=Hb[c[(c[k>>2]|0)+28>>2]&63](k,10)|0;dG(i);XE(l,k)|0;TE(l)|0;va()}if((h|0)<=-1){l=bg(bg(WE(bg(bg(bg(56880,29203)|0,28712)|0,35722)|0,152)|0,35729)|0,29251)|0;PE(i,l+(c[(c[l>>2]|0)+-12>>2]|0)|0);k=cG(i,57584)|0;k=Hb[c[(c[k>>2]|0)+28>>2]&63](k,10)|0;dG(i);XE(l,k)|0;TE(l)|0;va()}if((e|0)>-1){l=a+(h<<2)|0;f[l>>2]=g*d+ +f[l>>2];l=a+(e<<2)|0;f[l>>2]=b*d+ +f[l>>2];zb=j;return}else{l=bg(bg(WE(bg(bg(bg(56880,29277)|0,28712)|0,35722)|0,153)|0,35729)|0,29325)|0;PE(i,l+(c[(c[l>>2]|0)+-12>>2]|0)|0);k=cG(i,57584)|0;k=Hb[c[(c[k>>2]|0)+28>>2]&63](k,10)|0;dG(i);XE(l,k)|0;TE(l)|0;va()}}l=bg(bg(WE(bg(bg(bg(56880,28863)|0,28712)|0,35722)|0,140)|0,35729)|0,28928)|0;PE(i,l+(c[(c[l>>2]|0)+-12>>2]|0)|0);k=cG(i,57584)|0;k=Hb[c[(c[k>>2]|0)+28>>2]&63](k,10)|0;dG(i);XE(l,k)|0;TE(l)|0;va()}function Lj(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0.0,j=0,k=0.0,l=0.0,m=0;k=+f[b>>2];j=c+-1|0;c=b+(j<<2)|0;e=d+4|0;g=d+8|0;h=0;i=+f[c>>2];while(1){if((h|0)==(j|0))break;l=+f[b+(h<<2)>>2];m=h+1|0;f[a+(h<<2)>>2]=i*+f[d>>2]+l*+f[e>>2]+ +f[g>>2]*+f[b+(m<<2)>>2];h=m;i=l}f[a+(j<<2)>>2]=i*+f[d>>2]+ +f[e>>2]*+f[c>>2]+k*+f[g>>2];return}function Mj(a,b,c,d,e,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;g=g|0;var h=0.0,i=0.0,j=0.0,k=0.0,l=0.0,m=0,n=0.0;j=+f[g>>2];h=+f[e>>2];i=+f[d>>2];k=j-i;j=(j-h)*k;l=i-h;k=l*k;if(l==0.0|(j==0.0|k==0.0)){f[a>>2]=0.0;f[b>>2]=0.0;b=0;h=0.0}else{i=i*i;m=e+4|0;n=+f[m>>2];e=d+4|0;k=(+f[g+4>>2]-n)/j-(+f[e>>2]-n)/k;f[a>>2]=k;h=(+f[e>>2]-+f[m>>2]+(h*h-i)*k)/l;f[b>>2]=h;b=1;h=+f[e>>2]-i*+f[a>>2]-h*+f[d>>2]}f[c>>2]=h;return b|0}function Nj(a,b,c,d){a=a|0;b=+b;c=+c;d=+d;if(b==0.0)a=0;else{f[a>>2]=-c/(b*2.0);a=1}return a|0}function Oj(a){a=a|0;var b=0,d=0;c[a>>2]=0;d=AB(24)|0;Pj(d);b=c[a>>2]|0;c[a>>2]=d;if(b|0){Qj(b);ZA(b)}return}function Pj(a){a=a|0;var b=0,d=0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;c[a+20>>2]=1065353216;d=AB(840)|0;fk(d);b=c[a>>2]|0;c[a>>2]=d;if(b|0){Sj(b);ZA(b)}return}function Qj(a){a=a|0;var b=0;Rj(a+4|0);b=c[a>>2]|0;c[a>>2]=0;if(b|0){Sj(b);ZA(b)}return}function Rj(a){a=a|0;ck(a);return}function Sj(a){a=a|0;Tj(a+788|0);qp(a+652|0);Uj(a+636|0);Vj(a+316|0);Eh(a+160|0);Wi(a+92|0);Wj(a+72|0);Xj(a+64|0);Yj(a+12|0);return}function Tj(a){a=a|0;ak(a+24|0);bk(a+12|0);mh(a);return}function Uj(a){a=a|0;Yj(a);return}function Vj(a){a=a|0;return}function Wj(a){a=a|0;Zj(a);return}function Xj(a){a=a|0;var b=0,d=0;a=c[a+4>>2]|0;if(a|0?(d=a+4|0,b=c[d>>2]|0,c[d>>2]=b+-1,(b|0)==0):0){Rb[c[(c[a>>2]|0)+8>>2]&255](a);fO(a)}return}function Yj(a){a=a|0;var b=0,d=0;b=c[a>>2]|0;d=b;if(b|0){c[a+4>>2]=d;Vf(b,(c[a+8>>2]|0)-d|0)}return}function Zj(a){a=a|0;var b=0;_j(a,c[a+8>>2]|0);b=c[a>>2]|0;c[a>>2]=0;if(b|0)Vf(b,c[a+4>>2]<<2);return}function _j(a,b){a=a|0;b=b|0;while(1){if(!b)break;a=c[b>>2]|0;$j(b+8|0);Vf(b,20);b=a}return}function $j(a){a=a|0;Xj(a+4|0);return}function ak(a){a=a|0;var b=0,d=0;b=c[a>>2]|0;d=b;if(b|0){c[a+4>>2]=d;Vf(b,(c[a+8>>2]|0)-d|0)}return}function bk(a){a=a|0;var b=0,d=0;b=c[a>>2]|0;d=b;if(b|0){c[a+4>>2]=d;Vf(b,(c[a+8>>2]|0)-d|0)}return}function ck(a){a=a|0;var b=0;dk(a,c[a+8>>2]|0);b=c[a>>2]|0;c[a>>2]=0;if(b|0)Vf(b,c[a+4>>2]<<2);return}function dk(a,b){a=a|0;b=b|0;while(1){if(!b)break;a=c[b>>2]|0;ek(b+8|0);Vf(b,24);b=a}return}function ek(a){a=a|0;rg(a+4|0);return}function fk(b){b=b|0;var d=0;c[b+12>>2]=0;c[b+16>>2]=0;c[b+20>>2]=0;d=b+64|0;c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;c[d+12>>2]=0;c[d+16>>2]=0;c[d+20>>2]=0;c[b+88>>2]=1065353216;ej(b+92|0);d=b+160|0;jh(d);Mp(b+316|0);gk(b+636|0);pp(b+652|0);hk(b+788|0,.009999999776482582,1024,1064,50);ik(d,3.0);jk(d,4.0);kh(d,500);f[b+4>>2]=3.0;c[b>>2]=8;a[b+8>>0]=1;return}function gk(a){a=a|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;f[a+12>>2]=.699999988079071;return}function hk(a,b,d,e,f){a=a|0;b=+b;d=d|0;e=e|0;f=f|0;var g=0,h=0;g=a;h=g+36|0;do{c[g>>2]=0;g=g+4|0}while((g|0)<(h|0));kk(a,b,d,e,f);return}function ik(a,b){a=a|0;b=+b;f[a+52>>2]=b;return}function jk(a,b){a=a|0;b=+b;f[a+56>>2]=b;return}function kk(a,b,d,e,g){a=a|0;b=+b;d=d|0;e=e|0;g=g|0;lh(a,d*9|0);lk(a+24|0,d);f[a+36>>2]=b;c[a+40>>2]=d;c[a+44>>2]=e;c[a+48>>2]=g;return}function lk(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;e=a+4|0;d=c[a>>2]|0;f=(c[e>>2]|0)-d>>3;if(f>>>0>=b>>>0){if(f>>>0>b>>>0)c[e>>2]=d+(b<<3)}else mk(a,b-f|0);return}function mk(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;i=zb;zb=zb+32|0;g=i;h=a+8|0;f=a+4|0;d=c[f>>2]|0;do if((c[h>>2]|0)-d>>3>>>0>>0){d=(d-(c[a>>2]|0)>>3)+b|0;e=ok(a)|0;if(e>>>0>>0)LO(a);else{j=c[a>>2]|0;k=(c[h>>2]|0)-j|0;h=k>>2;pk(g,k>>3>>>0>>1>>>0?(h>>>0>>0?d:h):e,(c[f>>2]|0)-j>>3,a+8|0);qk(g,b);rk(a,g);sk(g);break}}else nk(a,b);while(0);zb=i;return}function nk(a,b){a=a|0;b=b|0;var d=0;a=a+4|0;d=c[a>>2]|0;hP(d|0,0,b<<3|0)|0;c[a>>2]=d+(b<<3);return}function ok(a){a=a|0;return 536870911}function pk(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=a+12|0;c[f>>2]=0;c[a+16>>2]=e;do if(b)if(b>>>0>536870911){a=P(8)|0;kO(a,38211);c[a>>2]=16392;R(a|0,13960,22)}else{e=AB(b<<3)|0;break}else e=0;while(0);c[a>>2]=e;d=e+(d<<3)|0;c[a+8>>2]=d;c[a+4>>2]=d;c[f>>2]=e+(b<<3);return}function qk(a,b){a=a|0;b=b|0;var d=0;a=a+8|0;d=c[a>>2]|0;hP(d|0,0,b<<3|0)|0;c[a>>2]=d+(b<<3);return}function rk(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;e=c[a>>2]|0;h=a+4|0;g=b+4|0;f=(c[h>>2]|0)-e|0;d=(c[g>>2]|0)+(0-(f>>3)<<3)|0;c[g>>2]=d;if((f|0)>0){fP(d|0,e|0,f|0)|0;e=g;d=c[g>>2]|0}else e=g;g=c[a>>2]|0;c[a>>2]=d;c[e>>2]=g;g=b+8|0;f=c[h>>2]|0;c[h>>2]=c[g>>2];c[g>>2]=f;g=a+8|0;a=b+12|0;h=c[g>>2]|0;c[g>>2]=c[a>>2];c[a>>2]=h;c[b>>2]=c[e>>2];return}function sk(a){a=a|0;var b=0,d=0,e=0,f=0;b=c[a+4>>2]|0;e=a+8|0;d=c[e>>2]|0;while(1){if((d|0)==(b|0))break;f=d+-8|0;c[e>>2]=f;d=f}b=c[a>>2]|0;if(b|0)Vf(b,(c[a+12>>2]|0)-b|0);return}function tk(a){a=a|0;var b=0;b=c[a>>2]|0;c[a>>2]=0;if(b|0){Qj(b);ZA(b)}return}function uk(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;d=c[b>>2]|0;e=c[a+4>>2]|0;a:do if(e){g=e+-1|0;h=(g&e|0)==0;if(!h)if(d>>>0>>0)f=d;else f=(d>>>0)%(e>>>0)|0;else f=g&d;b=c[(c[a>>2]|0)+(f<<2)>>2]|0;if(b)while(1){b=c[b>>2]|0;if(!b){b=0;break a}a=c[b+4>>2]|0;if((a|0)==(d|0)){if((c[b+8>>2]|0)==(d|0))break a}else{if(!h){if(a>>>0>=e>>>0)a=(a>>>0)%(e>>>0)|0}else a=a&g;if((a|0)!=(f|0)){b=0;break a}}}else b=0}else b=0;while(0);return b|0}function vk(a){a=a|0;return a+4|0}function wk(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=0;while(1){if((b|0)<(c|0)|(a|0)<(c|0))break;b=b>>1;d=d+1|0;a=a>>1}return d|0}function xk(a){a=a|0;return c[a>>2]|0}function yk(a){a=a|0;return c[a+4>>2]|0}function zk(a){a=a|0;c[a>>2]=0;c[a+4>>2]=0;hm(a+8|0);im(a+36|0);return}function Ak(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;d=zb;zb=zb+16|0;e=d;c[a>>2]=b;f=AB(16)|0;c[f+4>>2]=0;c[f+8>>2]=0;c[f>>2]=15740;c[f+12>>2]=b;c[a+4>>2]=f;c[e>>2]=b;c[e+4>>2]=b;Xl(a,e);zb=d;return}function Bk(a,b){a=a|0;b=b|0;c[a>>2]=b;return}function Ck(a,b){a=a|0;b=b|0;c[a+4>>2]=b;return}function Dk(b,d,e,g){b=b|0;d=d|0;e=e|0;g=g|0;var h=0,i=0,j=0,k=0,l=0;k=zb;zb=zb+32|0;j=k+20|0;i=k;if(!d){h=bg(bg(WE(bg(bg(bg(56880,34158)|0,30409)|0,35722)|0,212)|0,35729)|0,34296)|0;PE(j,h+(c[(c[h>>2]|0)+-12>>2]|0)|0);l=cG(j,57584)|0;l=Hb[c[(c[l>>2]|0)+28>>2]&63](l,10)|0;dG(j);XE(h,l)|0;TE(h)|0;va()}if(!e){l=bg(bg(WE(bg(bg(bg(56880,30526)|0,30409)|0,35722)|0,213)|0,35729)|0,30558)|0;PE(j,l+(c[(c[l>>2]|0)+-12>>2]|0)|0);h=cG(j,57584)|0;h=Hb[c[(c[h>>2]|0)+28>>2]&63](h,10)|0;dG(j);XE(l,h)|0;TE(l)|0;va()}l=Gh(d)|0;if((c[l+4>>2]|0)==(c[l>>2]|0)){l=bg(bg(WE(bg(bg(bg(56880,30575)|0,30409)|0,35722)|0,214)|0,35729)|0,30627)|0;PE(j,l+(c[(c[l>>2]|0)+-12>>2]|0)|0);h=cG(j,57584)|0;h=Hb[c[(c[h>>2]|0)+28>>2]&63](h,10)|0;dG(j);XE(l,h)|0;TE(l)|0;va()}l=Tg(c[(Gh(d)|0)>>2]|0)|0;if((l|0)!=(xk(e)|0)){l=bg(bg(WE(bg(bg(bg(56880,30644)|0,30409)|0,35722)|0,215)|0,35729)|0,30717)|0;PE(j,l+(c[(c[l>>2]|0)+-12>>2]|0)|0);h=cG(j,57584)|0;h=Hb[c[(c[h>>2]|0)+28>>2]&63](h,10)|0;dG(j);XE(l,h)|0;TE(l)|0;va()}l=Ug(c[(Gh(d)|0)>>2]|0)|0;if((l|0)!=(yk(e)|0)){l=bg(bg(WE(bg(bg(bg(56880,30752)|0,30409)|0,35722)|0,216)|0,35729)|0,30717)|0;PE(j,l+(c[(c[l>>2]|0)+-12>>2]|0)|0);h=cG(j,57584)|0;h=Hb[c[(c[h>>2]|0)+28>>2]&63](h,10)|0;dG(j);XE(l,h)|0;TE(l)|0;va()}Xh(e,d);h=Sl(e)|0;Tl(j,((c[h+4>>2]|0)-(c[h>>2]|0)|0)/36|0);h=0;while(1){l=Sl(e)|0;if(h>>>0>=(((c[l+4>>2]|0)-(c[l>>2]|0)|0)/36|0)>>>0)break;l=c[(Sl(e)|0)>>2]|0;mg(i,+f[l+(h*36|0)>>2],+f[l+(h*36|0)+4>>2],+f[l+(h*36|0)+8>>2],+f[l+(h*36|0)+28>>2],+f[l+(h*36|0)+24>>2]>0.0);l=(c[j>>2]|0)+(h*20|0)|0;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];a[l+16>>0]=a[i+16>>0]|0;Uf(i);h=h+1|0}Np(g,Fk(b)|0,d,j);Tf(j);zb=k;return}function Ek(){if((a[55376]|0)==0?uB(55376)|0:0){yq(56312);wB(55376)}return 56312}function Fk(a){a=a|0;return a+8|0}function Gk(a){a=a|0;return ((c[a+20>>2]|0)-(c[a+16>>2]|0)|0)/20|0|0}function Hk(a){a=a|0;var b=0,d=0;d=a+36|0;Mk(d,128);Nk(d,8);Ok(d,8);Pk(d,16);a=a+8|0;b=c[(Qk(a)|0)>>2]|0;Rk(d,b,Gk(a)|0);return}function Ik(a,b){a=a|0;b=b|0;var d=0,e=0,g=0.0,h=0.0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=zb;zb=zb+32|0;r=s+4|0;m=s;n=s+16|0;c[m>>2]=b;d=c[b>>2]|0;p=a+4|0;i=c[p>>2]|0;q=(i|0)==0;a:do if(!q){k=i+-1|0;l=(k&i|0)==0;if(!l)if(d>>>0>>0)j=d;else j=(d>>>0)%(i>>>0)|0;else j=k&d;b=c[(c[a>>2]|0)+(j<<2)>>2]|0;if(!b){b=j;o=16}else do{b=c[b>>2]|0;if(!b){b=j;o=16;break a}e=c[b+4>>2]|0;if((e|0)!=(d|0)){if(!l){if(e>>>0>=i>>>0)e=(e>>>0)%(i>>>0)|0}else e=e&k;if((e|0)!=(j|0)){b=j;o=16;break a}}}while((c[b+8>>2]|0)!=(d|0))}else{b=0;o=16}while(0);if((o|0)==16){Jk(r,a,d,58508,m,n);j=a+12|0;h=+(((c[j>>2]|0)+1|0)>>>0);g=+f[a+16>>2];do if(q|g*+(i>>>0)>>0<3|(i+-1&i|0)!=0)&1;e=~~+B(+(h/g))>>>0;Kk(a,b>>>0>>0?e:b);b=c[p>>2]|0;e=b+-1|0;if(!(e&b)){i=b;d=e&d;break}if(d>>>0>>0)i=b;else{i=b;d=(d>>>0)%(b>>>0)|0}}else d=b;while(0);b=c[(c[a>>2]|0)+(d<<2)>>2]|0;if(!b){e=a+8|0;c[c[r>>2]>>2]=c[e>>2];c[e>>2]=c[r>>2];c[(c[a>>2]|0)+(d<<2)>>2]=e;e=c[r>>2]|0;b=c[e>>2]|0;if(!b)b=r;else{b=c[b+4>>2]|0;d=i+-1|0;if(d&i){if(b>>>0>=i>>>0)b=(b>>>0)%(i>>>0)|0}else b=b&d;c[(c[a>>2]|0)+(b<<2)>>2]=e;b=r}}else{c[c[r>>2]>>2]=c[b>>2];c[b>>2]=c[r>>2];b=r}a=c[b>>2]|0;c[j>>2]=(c[j>>2]|0)+1;c[b>>2]=0;b=a}zb=s;return b+12|0}function Jk(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;h=AB(20)|0;c[b>>2]=h;c[b+4>>2]=d+8;c[h+8>>2]=c[c[g>>2]>>2];c[h+12>>2]=0;c[h+16>>2]=0;a[b+8>>0]=1;c[h+4>>2]=e;c[h>>2]=0;return}function Kk(a,b){a=a|0;b=b|0;var d=0,e=0,g=0;if((b|0)!=1){if(b+-1&b)b=HD(b)|0}else b=2;e=c[a+4>>2]|0;if(b>>>0<=e>>>0){if(b>>>0>>0){d=~~+B(+(+((c[a+12>>2]|0)>>>0)/+f[a+16>>2]))>>>0;if(e>>>0>2&(e+-1&e|0)==0){g=1<<32-(D(d+-1|0)|0);d=d>>>0<2?d:g}else d=HD(d)|0;b=b>>>0>>0?d:b;if(b>>>0>>0)Lk(a,b)}}else Lk(a,b);return}function Lk(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=a+4|0;a:do if(b){if(b>>>0>1073741823){a=P(8)|0;kO(a,38211);c[a>>2]=16392;R(a|0,13960,22)}l=AB(b<<2)|0;d=c[a>>2]|0;c[a>>2]=l;if(d|0)Vf(d,c[a+4>>2]<<2);c[e>>2]=b;d=0;while(1){if((d|0)==(b|0))break;c[(c[a>>2]|0)+(d<<2)>>2]=0;d=d+1|0}f=a+8|0;d=c[f>>2]|0;if(d|0){e=c[d+4>>2]|0;k=b+-1|0;l=(k&b|0)==0;if(!l){if(e>>>0>=b>>>0)e=(e>>>0)%(b>>>0)|0}else e=e&k;c[(c[a>>2]|0)+(e<<2)>>2]=f;while(1){j=d;b:while(1){while(1){d=c[j>>2]|0;if(!d)break a;f=c[d+4>>2]|0;if(!l){if(f>>>0>=b>>>0)f=(f>>>0)%(b>>>0)|0}else f=f&k;if((f|0)==(e|0))break;g=(c[a>>2]|0)+(f<<2)|0;if(!(c[g>>2]|0))break b;i=d+8|0;h=d;while(1){g=c[h>>2]|0;if(!g)break;if((c[i>>2]|0)==(c[g+8>>2]|0))h=g;else break}c[j>>2]=g;c[h>>2]=c[c[(c[a>>2]|0)+(f<<2)>>2]>>2];c[c[(c[a>>2]|0)+(f<<2)>>2]>>2]=d}j=d}c[g>>2]=j;e=f}}}else{d=c[a>>2]|0;c[a>>2]=0;if(d|0)Vf(d,c[a+4>>2]<<2);c[e>>2]=0}while(0);return}function Mk(a,b){a=a|0;b=b|0;Rl(a+12|0,b);return}function Nk(a,b){a=a|0;b=b|0;Ql(a+12|0,b);return}function Ok(a,b){a=a|0;b=b|0;c[a+104>>2]=b;return}function Pk(a,b){a=a|0;b=b|0;c[a+108>>2]=b;return}function Qk(a){a=a|0;return a+4|0}function Rk(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;i=zb;zb=zb+16|0;g=i;Sk(g,d);e=c[g>>2]|0;h=(c[g+4>>2]|0)-e>>2;f=0;while(1){if((f|0)==(h|0))break;c[e+(f<<2)>>2]=f;f=f+1|0}Tk(a,b,d,e,h);bk(g);zb=i;return}function Sk(a,b){a=a|0;b=b|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;if(b|0){Pl(a,b);Ll(a,b)}return}function Tk(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=AB(128)|0;Vk(g,Uk(a)|0);i=a+8|0;h=c[i>>2]|0;c[i>>2]=g;if(h){Wk(h);ZA(h);g=c[i>>2]|0}Xk(g,0);Yk(a,c[i>>2]|0,b,d,e,f);return}function Uk(a){a=a|0;var b=0;b=a+4|0;a=c[b>>2]|0;c[b>>2]=a+1;return a|0}function Vk(b,d){b=b|0;d=d|0;c[b>>2]=d;a[b+100>>0]=1;d=b+104|0;c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;c[d+12>>2]=0;c[d+16>>2]=0;c[d+20>>2]=0;Ol(b+4|0,96);return}function Wk(a){a=a|0;var b=0,d=0,e=0,f=0;f=a+104|0;d=a+108|0;e=0;while(1){b=c[f>>2]|0;if(e>>>0>=(c[d>>2]|0)-b>>2>>>0)break;b=c[b+(e<<2)>>2]|0;if(b|0){Wk(b);ZA(b)}e=e+1|0}bk(a+116|0);Nl(f);return}function Xk(b,c){b=b|0;c=c|0;a[b+100>>0]=c&1;return}function Yk(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;q=zb;zb=zb+32|0;o=q+20|0;p=q;h=a+12|0;n=Zk(h)|0;if((Gj(n,c[a+108>>2]|0)|0)>=(g|0)){Xk(b,1);$k(_k(b)|0,g);h=0;while(1){if((h|0)>=(g|0))break;p=c[f+(h<<2)>>2]|0;c[(c[(_k(b)|0)>>2]|0)+(h<<2)>>2]=p;h=h+1|0}zb=q;return}c[p>>2]=0;c[p+4>>2]=0;c[p+8>>2]=0;c[p+12>>2]=0;c[p+16>>2]=1065353216;al(h,d,e,f,g);n=bl(h)|0;m=n+4|0;i=c[m>>2]|0;h=c[n>>2]|0;if((i-h>>2|0)!=(g|0)){l=bg(bg(WE(bg(bg(bg(56880,29400)|0,29456)|0,35722)|0,363)|0,35729)|0,29588)|0;PE(o,l+(c[(c[l>>2]|0)+-12>>2]|0)|0);k=cG(o,57584)|0;k=Hb[c[(c[k>>2]|0)+28>>2]&63](k,10)|0;dG(o);XE(l,k)|0;TE(l)|0;va()}l=0;while(1){if(l>>>0>=i-h>>2>>>0){h=10;break}h=c[h+(l<<2)>>2]|0;if((h|0)==-1){h=12;break}if((h|0)>=(g|0)){h=14;break}h=f+(h<<2)|0;if((c[h>>2]|0)>=(e|0)){h=16;break}k=cl(p,h)|0;j=f+(l<<2)|0;i=k+4|0;h=c[i>>2]|0;if((h|0)==(c[k+8>>2]|0))dl(k,j);else{c[h>>2]=c[j>>2];c[i>>2]=h+4}h=c[n>>2]|0;i=c[m>>2]|0;l=l+1|0}if((h|0)==10){h=p+12|0;a:do if((c[h>>2]|0)==1){Xk(b,1);$k(_k(b)|0,g);h=0;while(1){if((h|0)>=(g|0))break a;a=c[f+(h<<2)>>2]|0;c[(c[(_k(b)|0)>>2]|0)+(h<<2)>>2]=a;h=h+1|0}}else{g=el(b)|0;fl(g,c[h>>2]|0);h=p+8|0;while(1){h=c[h>>2]|0;if(!h)break a;i=h;m=i+12|0;l=i+16|0;if((c[l>>2]|0)==(c[m>>2]|0))break;k=AB(128)|0;j=Uk(a)|0;gl(k,j,d+((c[i+8>>2]|0)*96|0)|0);c[o>>2]=k;Xk(k,0);k=el(b)|0;j=k+4|0;i=c[j>>2]|0;if((i|0)==(c[k+8>>2]|0))hl(k,o);else{c[i>>2]=c[o>>2];c[j>>2]=(c[j>>2]|0)+4}g=c[m>>2]|0;Yk(a,c[o>>2]|0,d,e,g,(c[l>>2]|0)-g>>2)}b=bg(bg(WE(bg(bg(bg(56880,29811)|0,29456)|0,35722)|0,387)|0,35729)|0,29857)|0;PE(o,b+(c[(c[b>>2]|0)+-12>>2]|0)|0);a=cG(o,57584)|0;a=Hb[c[(c[a>>2]|0)+28>>2]&63](a,10)|0;dG(o);XE(b,a)|0;TE(b)|0;va()}while(0);il(p);zb=q;return}else if((h|0)==12){q=bg(bg(WE(bg(bg(bg(56880,29610)|0,29456)|0,35722)|0,365)|0,35729)|0,29653)|0;PE(o,q+(c[(c[q>>2]|0)+-12>>2]|0)|0);b=cG(o,57584)|0;b=Hb[c[(c[b>>2]|0)+28>>2]&63](b,10)|0;dG(o);XE(q,b)|0;TE(q)|0;va()}else if((h|0)==14){q=bg(bg(WE(bg(bg(bg(56880,29675)|0,29456)|0,35722)|0,366)|0,35729)|0,29726)|0;PE(o,q+(c[(c[q>>2]|0)+-12>>2]|0)|0);b=cG(o,57584)|0;b=Hb[c[(c[b>>2]|0)+28>>2]&63](b,10)|0;dG(o);XE(q,b)|0;TE(q)|0;va()}else if((h|0)==16){q=bg(bg(WE(bg(bg(bg(56880,29750)|0,29456)|0,35722)|0,367)|0,35729)|0,29726)|0;PE(o,q+(c[(c[q>>2]|0)+-12>>2]|0)|0);b=cG(o,57584)|0;b=Hb[c[(c[b>>2]|0)+28>>2]&63](b,10)|0;dG(o);XE(q,b)|0;TE(q)|0;va()}}function Zk(a){a=a|0;return c[a+4>>2]|0}function _k(a){a=a|0;return a+116|0}function $k(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;e=a+4|0;d=c[a>>2]|0;f=(c[e>>2]|0)-d>>2;if(f>>>0>=b>>>0){if(f>>>0>b>>>0)c[e>>2]=d+(b<<2)}else Kl(a,b-f|0);return}function al(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=zb;zb=zb+16|0;r=s;q=a+4|0;g=c[q>>2]|0;p=a+12|0;o=a+16|0;if((g|0)!=((c[o>>2]|0)-(c[p>>2]|0)>>2|0)){n=bg(bg(WE(bg(bg(bg(56880,29894)|0,29939)|0,35722)|0,154)|0,35729)|0,30049)|0;PE(r,n+(c[(c[n>>2]|0)+-12>>2]|0)|0);m=cG(r,57584)|0;m=Hb[c[(c[m>>2]|0)+28>>2]&63](m,10)|0;dG(r);XE(n,m)|0;TE(n)|0;va()}if((d|0)<=0){n=bg(bg(WE(bg(bg(bg(56880,30094)|0,29939)|0,35722)|0,155)|0,35729)|0,30134)|0;PE(r,n+(c[(c[n>>2]|0)+-12>>2]|0)|0);m=cG(r,57584)|0;m=Hb[c[(c[m>>2]|0)+28>>2]&63](m,10)|0;dG(r);XE(n,m)|0;TE(n)|0;va()}if((f|0)>(d|0)){n=bg(bg(WE(bg(bg(bg(56880,30170)|0,29939)|0,35722)|0,156)|0,35729)|0,30221)|0;PE(r,n+(c[(c[n>>2]|0)+-12>>2]|0)|0);m=cG(r,57584)|0;m=Hb[c[(c[m>>2]|0)+28>>2]&63](m,10)|0;dG(r);XE(n,m)|0;TE(n)|0;va()}if((g|0)>(f|0)){n=bg(bg(WE(bg(bg(bg(56880,30248)|0,29939)|0,35722)|0,157)|0,35729)|0,30289)|0;PE(r,n+(c[(c[n>>2]|0)+-12>>2]|0)|0);m=cG(r,57584)|0;m=Hb[c[(c[m>>2]|0)+28>>2]&63](m,10)|0;dG(r);XE(n,m)|0;TE(n)|0;va()}k=a+24|0;c[r>>2]=-1;yl(k,f,r);l=a+36|0;c[r>>2]=-1;yl(l,f,r);n=a+48|0;$k(n,f);m=c[n>>2]|0;i=a+52|0;zl(m,(c[i>>2]|0)-m>>2,0);m=a+8|0;g=-1;j=0;while(1){if((j|0)>=(c[m>>2]|0))break;h=c[n>>2]|0;Al(h,(c[i>>2]|0)-h>>2,c[q>>2]|0,c[a>>2]|0);h=Bl(a,l,b,d,e,f,c[n>>2]|0,c[q>>2]|0)|0;if(h>>>0>>0){Cl(k,l);Dl(c[p>>2]|0,c[n>>2]|0,c[q>>2]|0);g=h}j=j+1|0}if((c[q>>2]|0)==((c[o>>2]|0)-(c[p>>2]|0)>>2|0)){zb=s;return}else{s=bg(bg(WE(bg(bg(bg(56880,29894)|0,29939)|0,35722)|0,187)|0,35729)|0,30049)|0;PE(r,s+(c[(c[s>>2]|0)+-12>>2]|0)|0);a=cG(r,57584)|0;a=Hb[c[(c[a>>2]|0)+28>>2]&63](a,10)|0;dG(r);XE(s,a)|0;TE(s)|0;va()}}function bl(a){a=a|0;return a+24|0}function cl(a,b){a=a|0;b=b|0;var d=0,e=0,g=0.0,h=0.0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=zb;zb=zb+32|0;r=s+4|0;m=s;n=s+16|0;c[m>>2]=b;d=c[b>>2]|0;p=a+4|0;i=c[p>>2]|0;q=(i|0)==0;a:do if(!q){k=i+-1|0;l=(k&i|0)==0;if(!l)if(d>>>0>>0)j=d;else j=(d>>>0)%(i>>>0)|0;else j=k&d;b=c[(c[a>>2]|0)+(j<<2)>>2]|0;if(!b){b=j;o=16}else do{b=c[b>>2]|0;if(!b){b=j;o=16;break a}e=c[b+4>>2]|0;if((e|0)!=(d|0)){if(!l){if(e>>>0>=i>>>0)e=(e>>>0)%(i>>>0)|0}else e=e&k;if((e|0)!=(j|0)){b=j;o=16;break a}}}while((c[b+8>>2]|0)!=(d|0))}else{b=0;o=16}while(0);if((o|0)==16){vl(r,a,d,58508,m,n);j=a+12|0;h=+(((c[j>>2]|0)+1|0)>>>0);g=+f[a+16>>2];do if(q|g*+(i>>>0)>>0<3|(i+-1&i|0)!=0)&1;e=~~+B(+(h/g))>>>0;wl(a,b>>>0>>0?e:b);b=c[p>>2]|0;e=b+-1|0;if(!(e&b)){i=b;d=e&d;break}if(d>>>0>>0)i=b;else{i=b;d=(d>>>0)%(b>>>0)|0}}else d=b;while(0);b=c[(c[a>>2]|0)+(d<<2)>>2]|0;if(!b){e=a+8|0;c[c[r>>2]>>2]=c[e>>2];c[e>>2]=c[r>>2];c[(c[a>>2]|0)+(d<<2)>>2]=e;e=c[r>>2]|0;b=c[e>>2]|0;if(!b)b=r;else{b=c[b+4>>2]|0;d=i+-1|0;if(d&i){if(b>>>0>=i>>>0)b=(b>>>0)%(i>>>0)|0}else b=b&d;c[(c[a>>2]|0)+(b<<2)>>2]=e;b=r}}else{c[c[r>>2]>>2]=c[b>>2];c[b>>2]=c[r>>2];b=r}a=c[b>>2]|0;c[j>>2]=(c[j>>2]|0)+1;c[b>>2]=0;b=a}zb=s;return b+12|0}function dl(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;h=zb;zb=zb+32|0;e=h;d=a+4|0;f=((c[d>>2]|0)-(c[a>>2]|0)>>2)+1|0;g=rl(a)|0;if(g>>>0>>0)LO(a);else{i=c[a>>2]|0;k=(c[a+8>>2]|0)-i|0;j=k>>1;sl(e,k>>2>>>0>>1>>>0?(j>>>0>>0?f:j):g,(c[d>>2]|0)-i>>2,a+8|0);g=e+8|0;f=c[g>>2]|0;c[f>>2]=c[b>>2];c[g>>2]=f+4;tl(a,e);ul(e);zb=h;return}}function el(a){a=a|0;return a+104|0}function fl(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=zb;zb=zb+32|0;e=f;d=c[a>>2]|0;if((c[a+8>>2]|0)-d>>2>>>0>>0){nl(e,b,(c[a+4>>2]|0)-d>>2,a+8|0);ol(a,e);pl(e)}zb=f;return}function gl(b,d,e){b=b|0;d=d|0;e=e|0;c[b>>2]=d;a[b+100>>0]=1;d=b+104|0;c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;c[d+12>>2]=0;c[d+16>>2]=0;c[d+20>>2]=0;ql(b+4|0,e,96);return}function hl(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;h=zb;zb=zb+32|0;e=h;d=a+4|0;f=((c[d>>2]|0)-(c[a>>2]|0)>>2)+1|0;g=ml(a)|0;if(g>>>0>>0)LO(a);else{i=c[a>>2]|0;k=(c[a+8>>2]|0)-i|0;j=k>>1;nl(e,k>>2>>>0>>1>>>0?(j>>>0>>0?f:j):g,(c[d>>2]|0)-i>>2,a+8|0);g=e+8|0;c[c[g>>2]>>2]=c[b>>2];c[g>>2]=(c[g>>2]|0)+4;ol(a,e);pl(e);zb=h;return}}function il(a){a=a|0;jl(a);return}function jl(a){a=a|0;var b=0;kl(a,c[a+8>>2]|0);b=c[a>>2]|0;c[a>>2]=0;if(b|0)Vf(b,c[a+4>>2]<<2);return}function kl(a,b){a=a|0;b=b|0;while(1){if(!b)break;a=c[b>>2]|0;ll(b+8|0);Vf(b,24);b=a}return}function ll(a){a=a|0;bk(a+4|0);return}function ml(a){a=a|0;return 1073741823}function nl(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=a+12|0;c[f>>2]=0;c[a+16>>2]=e;do if(b)if(b>>>0>1073741823){a=P(8)|0;kO(a,38211);c[a>>2]=16392;R(a|0,13960,22)}else{e=AB(b<<2)|0;break}else e=0;while(0);c[a>>2]=e;d=e+(d<<2)|0;c[a+8>>2]=d;c[a+4>>2]=d;c[f>>2]=e+(b<<2);return}function ol(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;e=c[a>>2]|0;h=a+4|0;g=b+4|0;f=(c[h>>2]|0)-e|0;d=(c[g>>2]|0)+(0-(f>>2)<<2)|0;c[g>>2]=d;if((f|0)>0){fP(d|0,e|0,f|0)|0;e=g;d=c[g>>2]|0}else e=g;g=c[a>>2]|0;c[a>>2]=d;c[e>>2]=g;g=b+8|0;f=c[h>>2]|0;c[h>>2]=c[g>>2];c[g>>2]=f;g=a+8|0;a=b+12|0;h=c[g>>2]|0;c[g>>2]=c[a>>2];c[a>>2]=h;c[b>>2]=c[e>>2];return}function pl(a){a=a|0;var b=0,d=0,e=0,f=0;b=c[a+4>>2]|0;e=a+8|0;d=c[e>>2]|0;while(1){if((d|0)==(b|0))break;f=d+-4|0;c[e>>2]=f;d=f}b=c[a>>2]|0;if(b|0)Vf(b,(c[a+12>>2]|0)-b|0);return}function ql(a,b,c){a=a|0;b=b|0;c=c|0;fP(a|0,b|0,c|0)|0;return}function rl(a){a=a|0;return 1073741823}function sl(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=a+12|0;c[f>>2]=0;c[a+16>>2]=e;do if(b)if(b>>>0>1073741823){a=P(8)|0;kO(a,38211);c[a>>2]=16392;R(a|0,13960,22)}else{e=AB(b<<2)|0;break}else e=0;while(0);c[a>>2]=e;d=e+(d<<2)|0;c[a+8>>2]=d;c[a+4>>2]=d;c[f>>2]=e+(b<<2);return}function tl(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;e=c[a>>2]|0;h=a+4|0;g=b+4|0;f=(c[h>>2]|0)-e|0;d=(c[g>>2]|0)+(0-(f>>2)<<2)|0;c[g>>2]=d;if((f|0)>0){fP(d|0,e|0,f|0)|0;e=g;d=c[g>>2]|0}else e=g;g=c[a>>2]|0;c[a>>2]=d;c[e>>2]=g;g=b+8|0;f=c[h>>2]|0;c[h>>2]=c[g>>2];c[g>>2]=f;g=a+8|0;a=b+12|0;h=c[g>>2]|0;c[g>>2]=c[a>>2];c[a>>2]=h;c[b>>2]=c[e>>2];return}function ul(a){a=a|0;var b=0,d=0,e=0,f=0;b=c[a+4>>2]|0;e=a+8|0;d=c[e>>2]|0;while(1){if((d|0)==(b|0))break;f=d+-4|0;c[e>>2]=f;d=f}b=c[a>>2]|0;if(b|0)Vf(b,(c[a+12>>2]|0)-b|0);return}function vl(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;h=AB(24)|0;c[b>>2]=h;c[b+4>>2]=d+8;c[h+8>>2]=c[c[g>>2]>>2];c[h+12>>2]=0;c[h+16>>2]=0;c[h+20>>2]=0;a[b+8>>0]=1;c[h+4>>2]=e;c[h>>2]=0;return}function wl(a,b){a=a|0;b=b|0;var d=0,e=0,g=0;if((b|0)!=1){if(b+-1&b)b=HD(b)|0}else b=2;e=c[a+4>>2]|0;if(b>>>0<=e>>>0){if(b>>>0>>0){d=~~+B(+(+((c[a+12>>2]|0)>>>0)/+f[a+16>>2]))>>>0;if(e>>>0>2&(e+-1&e|0)==0){g=1<<32-(D(d+-1|0)|0);d=d>>>0<2?d:g}else d=HD(d)|0;b=b>>>0>>0?d:b;if(b>>>0>>0)xl(a,b)}}else xl(a,b);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;e=a+4|0;a:do if(b){if(b>>>0>1073741823){a=P(8)|0;kO(a,38211);c[a>>2]=16392;R(a|0,13960,22)}l=AB(b<<2)|0;d=c[a>>2]|0;c[a>>2]=l;if(d|0)Vf(d,c[a+4>>2]<<2);c[e>>2]=b;d=0;while(1){if((d|0)==(b|0))break;c[(c[a>>2]|0)+(d<<2)>>2]=0;d=d+1|0}f=a+8|0;d=c[f>>2]|0;if(d|0){e=c[d+4>>2]|0;k=b+-1|0;l=(k&b|0)==0;if(!l){if(e>>>0>=b>>>0)e=(e>>>0)%(b>>>0)|0}else e=e&k;c[(c[a>>2]|0)+(e<<2)>>2]=f;while(1){j=d;b:while(1){while(1){d=c[j>>2]|0;if(!d)break a;f=c[d+4>>2]|0;if(!l){if(f>>>0>=b>>>0)f=(f>>>0)%(b>>>0)|0}else f=f&k;if((f|0)==(e|0))break;g=(c[a>>2]|0)+(f<<2)|0;if(!(c[g>>2]|0))break b;i=d+8|0;h=d;while(1){g=c[h>>2]|0;if(!g)break;if((c[i>>2]|0)==(c[g+8>>2]|0))h=g;else break}c[j>>2]=g;c[h>>2]=c[c[(c[a>>2]|0)+(f<<2)>>2]>>2];c[c[(c[a>>2]|0)+(f<<2)>>2]>>2]=d}j=d}c[g>>2]=j;e=f}}}else{d=c[a>>2]|0;c[a>>2]=0;if(d|0)Vf(d,c[a+4>>2]<<2);c[e>>2]=0}while(0);return}function yl(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;f=a+4|0;e=c[a>>2]|0;g=(c[f>>2]|0)-e>>2;if(g>>>0>=b>>>0){if(g>>>0>b>>>0)c[f>>2]=e+(b<<2)}else Il(a,b-g|0,d);return}function zl(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;a:do if((b|0)>=1){c[a>>2]=d;e=1;while(1){if((e|0)==(b|0))break a;f=d+1|0;c[a+(e<<2)>>2]=f;d=f;e=e+1|0}}while(0);return}function Al(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;f=0;while(1){if((f|0)>=(d|0))break;i=a+(f<<2)|0;g=a+(((Hl(e)|0)%(b|0)|0)<<2)|0;h=c[i>>2]|0;c[i>>2]=c[g>>2];c[g>>2]=h;f=f+1|0}return}function Bl(a,b,d,e,f,g,h,i){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0;o=zb;zb=zb+16|0;a=o;if(((c[b+4>>2]|0)-(c[b>>2]|0)>>2|0)!=(g|0)){n=bg(bg(WE(bg(bg(bg(56880,29400)|0,29939)|0,35722)|0,198)|0,35729)|0,30309)|0;PE(a,n+(c[(c[n>>2]|0)+-12>>2]|0)|0);m=cG(a,57584)|0;m=Hb[c[(c[m>>2]|0)+28>>2]&63](m,10)|0;dG(a);XE(n,m)|0;TE(n)|0;va()}if((e|0)<=0){n=bg(bg(WE(bg(bg(bg(56880,30094)|0,29939)|0,35722)|0,199)|0,35729)|0,30134)|0;PE(a,n+(c[(c[n>>2]|0)+-12>>2]|0)|0);m=cG(a,57584)|0;m=Hb[c[(c[m>>2]|0)+28>>2]&63](m,10)|0;dG(a);XE(n,m)|0;TE(n)|0;va()}if((g|0)>(e|0)){n=bg(bg(WE(bg(bg(bg(56880,30170)|0,29939)|0,35722)|0,200)|0,35729)|0,30221)|0;PE(a,n+(c[(c[n>>2]|0)+-12>>2]|0)|0);m=cG(a,57584)|0;m=Hb[c[(c[m>>2]|0)+28>>2]&63](m,10)|0;dG(a);XE(n,m)|0;TE(n)|0;va()}if((i|0)<=0){n=bg(bg(WE(bg(bg(bg(56880,30338)|0,29939)|0,35722)|0,201)|0,35729)|0,30377)|0;PE(a,n+(c[(c[n>>2]|0)+-12>>2]|0)|0);m=cG(a,57584)|0;m=Hb[c[(c[m>>2]|0)+28>>2]&63](m,10)|0;dG(a);XE(n,m)|0;TE(n)|0;va()}l=0;n=0;while(1){if((l|0)>=(g|0))break;k=f+(l<<2)|0;a=-1;m=0;while(1){if((m|0)==(i|0))break;e=h+(m<<2)|0;j=El(d+((c[k>>2]|0)*96|0)|0,d+((c[f+(c[e>>2]<<2)>>2]|0)*96|0)|0)|0;if(j>>>0>>0){c[(c[b>>2]|0)+(l<<2)>>2]=c[e>>2];a=j}m=m+1|0}l=l+1|0;n=a+n|0}zb=o;return n|0}function Cl(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=c[a>>2]|0;c[a>>2]=c[b>>2];c[b>>2]=f;f=a+4|0;d=b+4|0;e=c[f>>2]|0;c[f>>2]=c[d>>2];c[d>>2]=e;d=a+8|0;a=b+8|0;b=c[d>>2]|0;c[d>>2]=c[a>>2];c[a>>2]=b;return}function Dl(a,b,c){a=a|0;b=b|0;c=c|0;fP(a|0,b|0,c<<2|0)|0;return}function El(a,b){a=a|0;b=b|0;return Fl(a,b)|0}function Fl(a,b){a=a|0;b=b|0;var d=0;d=Gl(c[a>>2]|0,c[b>>2]|0)|0;d=(Gl(c[a+4>>2]|0,c[b+4>>2]|0)|0)+d|0;d=d+(Gl(c[a+8>>2]|0,c[b+8>>2]|0)|0)|0;d=d+(Gl(c[a+12>>2]|0,c[b+12>>2]|0)|0)|0;d=d+(Gl(c[a+16>>2]|0,c[b+16>>2]|0)|0)|0;d=d+(Gl(c[a+20>>2]|0,c[b+20>>2]|0)|0)|0;d=d+(Gl(c[a+24>>2]|0,c[b+24>>2]|0)|0)|0;d=d+(Gl(c[a+28>>2]|0,c[b+28>>2]|0)|0)|0;d=d+(Gl(c[a+32>>2]|0,c[b+32>>2]|0)|0)|0;d=d+(Gl(c[a+36>>2]|0,c[b+36>>2]|0)|0)|0;d=d+(Gl(c[a+40>>2]|0,c[b+40>>2]|0)|0)|0;d=d+(Gl(c[a+44>>2]|0,c[b+44>>2]|0)|0)|0;d=d+(Gl(c[a+48>>2]|0,c[b+48>>2]|0)|0)|0;d=d+(Gl(c[a+52>>2]|0,c[b+52>>2]|0)|0)|0;d=d+(Gl(c[a+56>>2]|0,c[b+56>>2]|0)|0)|0;d=d+(Gl(c[a+60>>2]|0,c[b+60>>2]|0)|0)|0;d=d+(Gl(c[a+64>>2]|0,c[b+64>>2]|0)|0)|0;d=d+(Gl(c[a+68>>2]|0,c[b+68>>2]|0)|0)|0;d=d+(Gl(c[a+72>>2]|0,c[b+72>>2]|0)|0)|0;d=d+(Gl(c[a+76>>2]|0,c[b+76>>2]|0)|0)|0;d=d+(Gl(c[a+80>>2]|0,c[b+80>>2]|0)|0)|0;d=d+(Gl(c[a+84>>2]|0,c[b+84>>2]|0)|0)|0;d=d+(Gl(c[a+88>>2]|0,c[b+88>>2]|0)|0)|0;return d+(Gl(c[a+92>>2]|0,c[b+92>>2]|0)|0)|0}function Gl(a,b){a=a|0;b=b|0;b=b^a;b=b-(b>>>1&1431655765)|0;b=(b>>>2&858993459)+(b&858993459)|0;return (C((b>>>4)+b&252645135,16843009)|0)>>>24|0}function Hl(a){a=a|0;var b=0;b=((c[a>>2]|0)*214013|0)+2531011|0;c[a>>2]=b;return b>>>16&32767|0}function Il(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;k=zb;zb=zb+32|0;h=k;i=a+8|0;j=a+4|0;e=c[j>>2]|0;g=e;do if((c[i>>2]|0)-e>>2>>>0>>0){e=(e-(c[a>>2]|0)>>2)+b|0;f=rl(a)|0;if(f>>>0>>0)LO(a);else{g=c[a>>2]|0;l=(c[i>>2]|0)-g|0;i=l>>1;sl(h,l>>2>>>0>>1>>>0?(i>>>0>>0?e:i):f,(c[j>>2]|0)-g>>2,a+8|0);Jl(h,b,d);tl(a,h);ul(h);break}}else{e=g;f=b;while(1){c[e>>2]=c[d>>2];f=f+-1|0;if(!f)break;else e=e+4|0}c[j>>2]=g+(b<<2)}while(0);zb=k;return}function Jl(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;a=a+8|0;e=c[a>>2]|0;f=b;g=e;while(1){c[g>>2]=c[d>>2];f=f+-1|0;if(!f)break;else g=g+4|0}c[a>>2]=e+(b<<2);return}function Kl(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;i=zb;zb=zb+32|0;g=i;h=a+8|0;f=a+4|0;d=c[f>>2]|0;do if((c[h>>2]|0)-d>>2>>>0>>0){d=(d-(c[a>>2]|0)>>2)+b|0;e=rl(a)|0;if(e>>>0>>0)LO(a);else{j=c[a>>2]|0;k=(c[h>>2]|0)-j|0;h=k>>1;sl(g,k>>2>>>0>>1>>>0?(h>>>0>>0?d:h):e,(c[f>>2]|0)-j>>2,a+8|0);Ml(g,b);tl(a,g);ul(g);break}}else Ll(a,b);while(0);zb=i;return}function Ll(a,b){a=a|0;b=b|0;var d=0;a=a+4|0;d=c[a>>2]|0;hP(d|0,0,b<<2|0)|0;c[a>>2]=d+(b<<2);return}function Ml(a,b){a=a|0;b=b|0;var d=0;a=a+8|0;d=c[a>>2]|0;hP(d|0,0,b<<2|0)|0;c[a>>2]=d+(b<<2);return}function Nl(a){a=a|0;var b=0,d=0;b=c[a>>2]|0;d=b;if(b|0){c[a+4>>2]=d;Vf(b,(c[a+8>>2]|0)-d|0)}return}function Ol(a,b){a=a|0;b=b|0;hP(a|0,0,b|0)|0;return}function Pl(a,b){a=a|0;b=b|0;var d=0;if((rl(a)|0)>>>0>>0)LO(a);if(b>>>0>1073741823){a=P(8)|0;kO(a,38211);c[a>>2]=16392;R(a|0,13960,22)}else{d=AB(b<<2)|0;c[a+4>>2]=d;c[a>>2]=d;c[a+8>>2]=d+(b<<2);return}}function Ql(a,b){a=a|0;b=b|0;c[a+4>>2]=b;$k(a+12|0,b);return}function Rl(a,b){a=a|0;b=b|0;c[a+8>>2]=b;return}function Sl(a){a=a|0;return a+60|0}function Tl(a,b){a=a|0;b=b|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;if(b|0){Ul(a,b);Vl(a,b)}return}function Ul(a,b){a=a|0;b=b|0;var d=0;if((Ag(a)|0)>>>0>>0)LO(a);if(b>>>0>214748364){a=P(8)|0;kO(a,38211);c[a>>2]=16392;R(a|0,13960,22)}else{d=AB(b*20|0)|0;c[a+4>>2]=d;c[a>>2]=d;c[a+8>>2]=d+(b*20|0);return}}function Vl(a,b){a=a|0;b=b|0;var d=0,e=0;e=a+4|0;d=c[e>>2]|0;a=b;do{Wl(d);d=(c[e>>2]|0)+20|0;c[e>>2]=d;a=a+-1|0}while((a|0)!=0);return}function Wl(b){b=b|0;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;c[b+12>>2]=0;a[b+16>>0]=1;return}function Xl(a,b){a=a|0;b=b|0;return}function Yl(a){a=a|0;Zl(a+36|0);_l(a+8|0);return}function Zl(a){a=a|0;var b=0;$l(a+84|0);bk(a+72|0);am(a+12|0);b=a+8|0;a=c[b>>2]|0;c[b>>2]=0;if(a|0){Wk(a);ZA(a)}return}function _l(a){a=a|0;Tf(a+16|0);Sf(a+4|0);return}function $l(a){a=a|0;bm(a);return}function am(a){a=a|0;bk(a+48|0);bk(a+36|0);bk(a+24|0);bk(a+12|0);return}function bm(a){a=a|0;var b=0,d=0,e=0,f=0;b=c[a>>2]|0;if(b|0){d=a+4|0;e=c[d>>2]|0;while(1){if((e|0)==(b|0))break;f=e+-8|0;cm(f);e=f}c[d>>2]=b;f=c[a>>2]|0;Vf(f,(c[a+8>>2]|0)-f|0)}return}function cm(a){a=a|0;return}function dm(a){a=a|0;eO(a);ZA(a);return}function em(a){a=a|0;a=c[a+12>>2]|0;if(a|0){Yl(a);ZA(a)}return}function fm(a,b){a=a|0;b=b|0;return ((c[b+4>>2]|0)==30827?a+12|0:0)|0}function gm(a){a=a|0;Vf(a,16);return}function hm(a){a=a|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;c[a+20>>2]=0;c[a+24>>2]=0;return}function im(a){a=a|0;var b=0,d=0;c[a>>2]=1234;c[a+4>>2]=0;c[a+8>>2]=0;b=a+12|0;jm(b,a);d=a+72|0;c[a+100>>2]=0;c[a+104>>2]=0;c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;c[d+12>>2]=0;c[d+16>>2]=0;c[d+20>>2]=0;c[a+108>>2]=16;Ql(b,8);Rl(b,1);return}function jm(a,b){a=a|0;b=b|0;c[a>>2]=b;b=a+4|0;a=b+56|0;do{c[b>>2]=0;b=b+4|0}while((b|0)<(a|0));return}function km(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0;l=zb;zb=zb+32|0;m=l+24|0;j=l+12|0;k=l+16|0;n=l+8|0;i=l;c[j>>2]=h;h=AB(148)|0;zk(h);c[n>>2]=0;c[m>>2]=c[n>>2];Ak(k,h,m);Bk(c[k>>2]|0,f);Ck(c[k>>2]|0,g);lm(Fk(c[k>>2]|0)|0,96);h=mm(Fk(c[k>>2]|0)|0)|0;g=b+4|0;nm(h,((c[g>>2]|0)-(c[b>>2]|0)|0)/20|0);h=mm(Fk(c[k>>2]|0)|0)|0;if((h|0)!=(b|0))om(h,c[b>>2]|0,c[g>>2]|0);h=Qk(Fk(c[k>>2]|0)|0)|0;g=d+4|0;pm(h,(c[g>>2]|0)-(c[d>>2]|0)|0);h=Qk(Fk(c[k>>2]|0)|0)|0;if((h|0)!=(d|0))qm(h,c[d>>2]|0,c[g>>2]|0);Hk(c[k>>2]|0);g=c[c[a>>2]>>2]|0;c[i>>2]=c[k>>2];h=c[k+4>>2]|0;c[i+4>>2]=h;if(h|0){n=h+4|0;c[n>>2]=(c[n>>2]|0)+1}rm(g,i,c[j>>2]|0);Xj(i);g=sm((c[a>>2]|0)+4|0,j)|0;if((g|0)!=(e|0))tm(g,c[e>>2]|0,c[e+4>>2]|0);Xj(k);zb=l;return}function lm(a,b){a=a|0;b=b|0;c[a>>2]=b;return}function mm(a){a=a|0;return a+16|0}function nm(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;g=a+4|0;d=c[g>>2]|0;e=c[a>>2]|0;f=(d-e|0)/20|0;if(f>>>0>=b>>>0){if(f>>>0>b>>>0){e=e+(b*20|0)|0;while(1){if((d|0)==(e|0))break;a=d+-20|0;Uf(a);d=a}c[g>>2]=e}}else Im(a,b-f|0);return}function om(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=b;l=(d-e|0)/20|0;f=a+8|0;g=c[a>>2]|0;h=g;do if(l>>>0>(((c[f>>2]|0)-g|0)/20|0)>>>0){Hm(a);e=Ag(a)|0;if(e>>>0>>0)LO(a);else{j=((c[f>>2]|0)-(c[a>>2]|0)|0)/20|0;k=j<<1;Ul(a,j>>>0>>1>>>0?(k>>>0>>0?l:k):e);Gm(a,b,d,l);break}}else{k=a+4|0;j=((c[k>>2]|0)-g|0)/20|0;i=l>>>0>j>>>0;j=i?b+(j*20|0)|0:d;e=j-e|0;if(e|0)gP(g|0,b|0,e|0)|0;f=h+(((e|0)/20|0)*20|0)|0;if(i){Gm(a,j,d,l-(((c[k>>2]|0)-(c[a>>2]|0)|0)/20|0)|0);break}e=c[k>>2]|0;while(1){if((e|0)==(f|0))break;a=e+-20|0;Uf(a);e=a}c[k>>2]=f}while(0);return}function pm(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;e=a+4|0;d=c[a>>2]|0;f=(c[e>>2]|0)-d|0;if(f>>>0>=b>>>0){if(f>>>0>b>>>0)c[e>>2]=d+b}else Dm(a,b-f|0);return}function qm(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;i=b;k=d-i|0;f=a+8|0;e=c[a>>2]|0;j=e;do if(k>>>0>((c[f>>2]|0)-e|0)>>>0){Bm(a);e=sg(a)|0;if(e>>>0>>0)LO(a);else{i=(c[f>>2]|0)-(c[a>>2]|0)|0;j=i<<1;Cm(a,i>>>0>>1>>>0?(j>>>0>>0?k:j):e);Am(a,b,d,k);break}}else{h=a+4|0;g=(c[h>>2]|0)-e|0;f=k>>>0>g>>>0;g=f?b+g|0:d;e=g-i|0;if(e|0)gP(j|0,b|0,e|0)|0;if(f){Am(a,g,d,k-(c[h>>2]|0)+(c[a>>2]|0)|0);break}else{c[h>>2]=j+e;break}}while(0);return}function rm(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;i=zb;zb=zb+16|0;h=i+4|0;e=i;c[e>>2]=d;d=a+72|0;if(uk(d,e)|0){i=P(16)|0;c[h>>2]=0;c[h+4>>2]=0;c[h+8>>2]=0;nO(h,29351,cg(29351)|0);sj(i,h);R(i|0,13208,5)}g=Ik(d,e)|0;f=c[b>>2]|0;c[h>>2]=f;e=h+4|0;d=c[b+4>>2]|0;c[e>>2]=d;if(!d){a=e;d=0}else{a=d+4|0;c[a>>2]=(c[a>>2]|0)+1;a=e;d=c[e>>2]|0}c[h>>2]=c[g>>2];c[g>>2]=f;b=g+4|0;c[a>>2]=c[b>>2];c[b>>2]=d;Xj(h);zb=i;return}function sm(a,b){a=a|0;b=b|0;var d=0,e=0,g=0.0,h=0.0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=zb;zb=zb+32|0;r=s+4|0;m=s;n=s+16|0;c[m>>2]=b;d=c[b>>2]|0;p=a+4|0;i=c[p>>2]|0;q=(i|0)==0;a:do if(!q){k=i+-1|0;l=(k&i|0)==0;if(!l)if(d>>>0>>0)j=d;else j=(d>>>0)%(i>>>0)|0;else j=k&d;b=c[(c[a>>2]|0)+(j<<2)>>2]|0;if(!b){b=j;o=16}else do{b=c[b>>2]|0;if(!b){b=j;o=16;break a}e=c[b+4>>2]|0;if((e|0)!=(d|0)){if(!l){if(e>>>0>=i>>>0)e=(e>>>0)%(i>>>0)|0}else e=e&k;if((e|0)!=(j|0)){b=j;o=16;break a}}}while((c[b+8>>2]|0)!=(d|0))}else{b=0;o=16}while(0);if((o|0)==16){xm(r,a,d,58508,m,n);j=a+12|0;h=+(((c[j>>2]|0)+1|0)>>>0);g=+f[a+16>>2];do if(q|g*+(i>>>0)>>0<3|(i+-1&i|0)!=0)&1;e=~~+B(+(h/g))>>>0;ym(a,b>>>0>>0?e:b);b=c[p>>2]|0;e=b+-1|0;if(!(e&b)){i=b;d=e&d;break}if(d>>>0>>0)i=b;else{i=b;d=(d>>>0)%(b>>>0)|0}}else d=b;while(0);b=c[(c[a>>2]|0)+(d<<2)>>2]|0;if(!b){e=a+8|0;c[c[r>>2]>>2]=c[e>>2];c[e>>2]=c[r>>2];c[(c[a>>2]|0)+(d<<2)>>2]=e;e=c[r>>2]|0;b=c[e>>2]|0;if(!b)b=r;else{b=c[b+4>>2]|0;d=i+-1|0;if(d&i){if(b>>>0>=i>>>0)b=(b>>>0)%(i>>>0)|0}else b=b&d;c[(c[a>>2]|0)+(b<<2)>>2]=e;b=r}}else{c[c[r>>2]>>2]=c[b>>2];c[b>>2]=c[r>>2];b=r}a=c[b>>2]|0;c[j>>2]=(c[j>>2]|0)+1;c[b>>2]=0;b=a}zb=s;return b+12|0}function tm(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=b;k=(d-e|0)/12|0;f=a+8|0;i=c[a>>2]|0;j=i;do if(k>>>0>(((c[f>>2]|0)-i|0)/12|0)>>>0){vm(a);e=wg(a)|0;if(e>>>0>>0)LO(a);else{i=((c[f>>2]|0)-(c[a>>2]|0)|0)/12|0;j=i<<1;wm(a,i>>>0>>1>>>0?(j>>>0>>0?k:j):e);um(a,b,d,k);break}}else{f=a+4|0;h=((c[f>>2]|0)-i|0)/12|0;g=k>>>0>h>>>0;h=g?b+(h*12|0)|0:d;e=h-e|0;if(e|0)gP(i|0,b|0,e|0)|0;if(g){um(a,h,d,k-(((c[f>>2]|0)-(c[a>>2]|0)|0)/12|0)|0);break}else{c[f>>2]=j+(((e|0)/12|0)*12|0);break}}while(0);return}function um(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;a=a+4|0;e=d-b|0;if((e|0)>0){fP(c[a>>2]|0,b|0,e|0)|0;c[a>>2]=(c[a>>2]|0)+(((e>>>0)/12|0)*12|0)}return}function vm(a){a=a|0;var b=0,d=0,e=0,f=0;b=c[a>>2]|0;d=b;if(b|0){e=a+4|0;c[e>>2]=d;f=a+8|0;Vf(b,(c[f>>2]|0)-d|0);c[f>>2]=0;c[e>>2]=0;c[a>>2]=0}return}function wm(a,b){a=a|0;b=b|0;var d=0;if((wg(a)|0)>>>0>>0)LO(a);if(b>>>0>357913941){a=P(8)|0;kO(a,38211);c[a>>2]=16392;R(a|0,13960,22)}else{d=AB(b*12|0)|0;c[a+4>>2]=d;c[a>>2]=d;c[a+8>>2]=d+(b*12|0);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;h=AB(24)|0;c[b>>2]=h;c[b+4>>2]=d+8;c[h+8>>2]=c[c[g>>2]>>2];c[h+12>>2]=0;c[h+16>>2]=0;c[h+20>>2]=0;a[b+8>>0]=1;c[h+4>>2]=e;c[h>>2]=0;return}function ym(a,b){a=a|0;b=b|0;var d=0,e=0,g=0;if((b|0)!=1){if(b+-1&b)b=HD(b)|0}else b=2;e=c[a+4>>2]|0;if(b>>>0<=e>>>0){if(b>>>0>>0){d=~~+B(+(+((c[a+12>>2]|0)>>>0)/+f[a+16>>2]))>>>0;if(e>>>0>2&(e+-1&e|0)==0){g=1<<32-(D(d+-1|0)|0);d=d>>>0<2?d:g}else d=HD(d)|0;b=b>>>0>>0?d:b;if(b>>>0>>0)zm(a,b)}}else zm(a,b);return}function zm(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=a+4|0;a:do if(b){if(b>>>0>1073741823){a=P(8)|0;kO(a,38211);c[a>>2]=16392;R(a|0,13960,22)}l=AB(b<<2)|0;d=c[a>>2]|0;c[a>>2]=l;if(d|0)Vf(d,c[a+4>>2]<<2);c[e>>2]=b;d=0;while(1){if((d|0)==(b|0))break;c[(c[a>>2]|0)+(d<<2)>>2]=0;d=d+1|0}f=a+8|0;d=c[f>>2]|0;if(d|0){e=c[d+4>>2]|0;k=b+-1|0;l=(k&b|0)==0;if(!l){if(e>>>0>=b>>>0)e=(e>>>0)%(b>>>0)|0}else e=e&k;c[(c[a>>2]|0)+(e<<2)>>2]=f;while(1){j=d;b:while(1){while(1){d=c[j>>2]|0;if(!d)break a;f=c[d+4>>2]|0;if(!l){if(f>>>0>=b>>>0)f=(f>>>0)%(b>>>0)|0}else f=f&k;if((f|0)==(e|0))break;g=(c[a>>2]|0)+(f<<2)|0;if(!(c[g>>2]|0))break b;i=d+8|0;h=d;while(1){g=c[h>>2]|0;if(!g)break;if((c[i>>2]|0)==(c[g+8>>2]|0))h=g;else break}c[j>>2]=g;c[h>>2]=c[c[(c[a>>2]|0)+(f<<2)>>2]>>2];c[c[(c[a>>2]|0)+(f<<2)>>2]>>2]=d}j=d}c[g>>2]=j;e=f}}}else{d=c[a>>2]|0;c[a>>2]=0;if(d|0)Vf(d,c[a+4>>2]<<2);c[e>>2]=0}while(0);return}function Am(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;a=a+4|0;e=d-b|0;if((e|0)>0){fP(c[a>>2]|0,b|0,e|0)|0;c[a>>2]=(c[a>>2]|0)+e}return}function Bm(a){a=a|0;var b=0,d=0,e=0,f=0;b=c[a>>2]|0;d=b;if(b|0){e=a+4|0;c[e>>2]=d;f=a+8|0;Vf(b,(c[f>>2]|0)-d|0);c[f>>2]=0;c[e>>2]=0;c[a>>2]=0}return}function Cm(a,b){a=a|0;b=b|0;var d=0;if((sg(a)|0)>>>0>>0)LO(a);else{d=AB(b)|0;c[a+4>>2]=d;c[a>>2]=d;c[a+8>>2]=d+b;return}}function Dm(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;i=zb;zb=zb+32|0;g=i;h=a+8|0;f=a+4|0;d=c[f>>2]|0;do if(((c[h>>2]|0)-d|0)>>>0>>0){d=d-(c[a>>2]|0)+b|0;e=sg(a)|0;if(e>>>0>>0)LO(a);else{j=c[a>>2]|0;k=(c[h>>2]|0)-j|0;h=k<<1;tg(g,k>>>0>>1>>>0?(h>>>0>>0?d:h):e,(c[f>>2]|0)-j|0,a+8|0);Fm(g,b);ug(a,g);vg(g);break}}else Em(a,b);while(0);zb=i;return}function Em(b,d){b=b|0;d=d|0;var e=0,f=0;f=b+4|0;e=c[f>>2]|0;b=d;do{a[e>>0]=0;e=(c[f>>2]|0)+1|0;c[f>>2]=e;b=b+-1|0}while((b|0)!=0);return}function Fm(b,d){b=b|0;d=d|0;var e=0,f=0;f=b+8|0;e=c[f>>2]|0;b=d;do{a[e>>0]=0;e=(c[f>>2]|0)+1|0;c[f>>2]=e;b=b+-1|0}while((b|0)!=0);return}function Gm(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;e=a+4|0;while(1){if((b|0)==(d|0))break;a=c[e>>2]|0;c[a>>2]=c[b>>2];c[a+4>>2]=c[b+4>>2];c[a+8>>2]=c[b+8>>2];c[a+12>>2]=c[b+12>>2];c[a+16>>2]=c[b+16>>2];c[e>>2]=(c[e>>2]|0)+20;b=b+20|0}return}function Hm(a){a=a|0;var b=0,d=0,e=0,f=0;b=c[a>>2]|0;if(b|0){d=a+4|0;e=c[d>>2]|0;while(1){if((e|0)==(b|0))break;f=e+-20|0;Uf(f);e=f}c[d>>2]=b;e=c[a>>2]|0;f=a+8|0;Vf(e,(c[f>>2]|0)-e|0);c[f>>2]=0;c[d>>2]=0;c[a>>2]=0}return}function Im(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;i=zb;zb=zb+32|0;g=i;h=a+8|0;f=a+4|0;d=c[f>>2]|0;do if((((c[h>>2]|0)-d|0)/20|0)>>>0>>0){d=((d-(c[a>>2]|0)|0)/20|0)+b|0;e=Ag(a)|0;if(e>>>0>>0)LO(a);else{j=c[a>>2]|0;k=((c[h>>2]|0)-j|0)/20|0;h=k<<1;Bg(g,k>>>0>>1>>>0?(h>>>0>>0?d:h):e,((c[f>>2]|0)-j|0)/20|0,a+8|0);Jm(g,b);Cg(a,g);Dg(g);break}}else Vl(a,b);while(0);zb=i;return}function Jm(a,b){a=a|0;b=b|0;var d=0,e=0;e=a+8|0;d=c[e>>2]|0;a=b;do{Wl(d);d=(c[e>>2]|0)+20|0;c[e>>2]=d;a=a+-1|0}while((a|0)!=0);return}function Km(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;f=zb;zb=zb+32|0;g=f;qq(g,b,1,d,e,d,1);d=Lm(c[c[a>>2]>>2]|0,g)|0;xq(g);zb=f;return d|0}function Lm(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;f=zb;zb=zb+32|0;d=f;e=a+92|0;g=vk(e)|0;if(!(((c[g+4>>2]|0)!=(c[g>>2]|0)?(g=Tg(c[(vk(e)|0)>>2]|0)|0,(g|0)==(Tg(b)|0)):0)?(g=Ug(c[(vk(e)|0)>>2]|0)|0,(g|0)==(Ug(b)|0)):0)){g=Tg(b)|0;g=wk(g,Ug(b)|0,8)|0;h=Tg(b)|0;fj(e,h,Ug(b)|0,g)}Hq(d,29369);if(Yh(d)|0)oj(e,b);Iq(d);h=Mm(a,e)|0;zb=f;return h|0}function Mm(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;k=zb;zb=zb+64|0;f=k+16|0;j=k;i=k+56|0;e=k+48|0;g=b+160|0;h=xk(g)|0;if(!((h|0)==(Tg(c[(Gh(d)|0)>>2]|0)|0)?(h=yk(g)|0,(h|0)==(Ug(c[(Gh(d)|0)>>2]|0)|0)):0))Fh(g,d);h=b+64|0;m=AB(148)|0;zk(m);c[e>>2]=0;c[f>>2]=c[e>>2];Ak(i,m,f);m=c[i>>2]|0;c[i>>2]=c[h>>2];c[h>>2]=m;m=i+4|0;e=b+68|0;l=c[m>>2]|0;c[m>>2]=c[e>>2];c[e>>2]=l;Xj(i);i=c[h>>2]|0;Bk(i,Tg(c[(Gh(d)|0)>>2]|0)|0);i=c[h>>2]|0;Ck(i,Ug(c[(Gh(d)|0)>>2]|0)|0);Hq(f,29383);if(Yh(f)|0)Dk(c[h>>2]|0,d,g,b+316|0);Iq(f);m=Ek()|0;dq(f);i=(a[f+11>>0]|0)<0?c[f>>2]|0:f;l=Gk(Fk(c[h>>2]|0)|0)|0;c[j>>2]=35851;c[j+4>>2]=i;c[j+8>>2]=31026;c[j+12>>2]=l;Aq(m,8,30982,j);qO(f);m=Nm(b,c[h>>2]|0)|0;zb=k;return m|0}function Nm(b,d){b=b|0;d=d|0;var e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0;D=zb;zb=zb+144|0;k=D+104|0;l=D;m=D+72|0;n=D+40|0;y=b+12|0;p=b+16|0;c[p>>2]=c[y>>2];x=b+24|0;c[x>>2]=-1;u=Pm(Om(d)|0)|0;B=b+8|0;z=b+636|0;w=b+652|0;o=k+4|0;r=k+8|0;A=b+788|0;q=m+4|0;s=m+8|0;v=b+4|0;t=b+28|0;e=b+80|0;while(1){e=c[e>>2]|0;if(!e)break;Hq(k,31316);do if(Yh(k)|0){E=(a[B>>0]|0)==0;h=Om(d)|0;g=e;j=g+12|0;i=Fk(c[j>>2]|0)|0;if(E){E=Sm(z,h,i)|0;if(E>>>0>=(c[b>>2]|0)>>>0){C=9;break}}else{E=Rm(z,h,i,Qm(c[j>>2]|0)|0)|0;if(E>>>0>=(c[b>>2]|0)>>>0){C=9;break}}Iq(k)}else{j=e;g=j;j=j+12|0;C=9}while(0);do if((C|0)==9){C=0;Iq(k);i=mm(Fk(c[j>>2]|0)|0)|0;Hq(k,31333);if(Yh(k)|0){G=Tm(z)|0;F=Um(d)|0;E=Vm(d)|0;h=Um(c[j>>2]|0)|0;h=Wm(w,u,i,G,F,E,h,Vm(c[j>>2]|0)|0)|0;if((h|0)<0){Iq(k);break}}else h=-1;Iq(k);c[k>>2]=0;c[o>>2]=0;c[r>>2]=0;Hq(l,31350);if(Yh(l)|0)Xm(k,w,Tm(z)|0,h,1.0);Iq(l);Hq(m,31373);if(Yh(m)|0?(G=Um(c[j>>2]|0)|0,!(Ym(l,u,i,k,A,G,Vm(c[j>>2]|0)|0)|0)):0)Iq(m);else{Iq(m);c[m>>2]=0;c[q>>2]=0;c[s>>2]=0;Hq(n,31397);if(Yh(n)|0?(Zm(m,l,u,i,k,+f[v>>2]),(c[q>>2]|0)-(c[m>>2]|0)>>3>>>0<(c[b>>2]|0)>>>0):0)Iq(n);else C=20;do if((C|0)==20){C=0;Iq(n);Hq(n,31414);if(Yh(n)|0?(G=Om(d)|0,G=_m(z,G,Fk(c[j>>2]|0)|0,l,10.0)|0,G>>>0<(c[b>>2]|0)>>>0):0){Iq(n);break}Iq(n);Hq(n,31431);if(Yh(n)|0){E=Tm(z)|0;F=Um(d)|0;G=Vm(d)|0;h=Um(c[j>>2]|0)|0;h=Wm(w,u,i,E,F,G,h,Vm(c[j>>2]|0)|0)|0;if((h|0)<0){Iq(n);break}}Iq(n);Hq(n,31448);if(Yh(n)|0)Xm(k,w,Tm(z)|0,h,1.0);Iq(n);Hq(n,31471);if(Yh(n)|0?(G=Um(c[j>>2]|0)|0,!(Ym(l,u,i,k,A,G,Vm(c[j>>2]|0)|0)|0)):0){Iq(n);break}Iq(n);c[q>>2]=c[m>>2];Hq(n,31495);if(Yh(n)|0)Zm(m,l,u,i,k,+f[v>>2]);Iq(n);G=(c[q>>2]|0)-(c[m>>2]|0)>>3;if(G>>>0>=(c[b>>2]|0)>>>0?G>>>0>(c[p>>2]|0)-(c[y>>2]|0)>>3>>>0:0){$m(t,l);an(y,m);c[x>>2]=c[g+8>>2]}}while(0);Yj(m)}Yj(k)}while(0)}zb=D;return (c[x>>2]|0)>-1|0}function Om(a){a=a|0;return a+8|0}function Pm(a){a=a|0;return a+16|0}function Qm(a){a=a|0;return a+36|0}function Rm(b,d,e,g){b=b|0;d=d|0;e=e|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;y=zb;zb=zb+16|0;v=y;r=b+4|0;c[r>>2]=c[b>>2];do if((Gk(d)|0)!=0?(Gk(e)|0)!=0:0){cn(b,Gk(d)|0);s=b+8|0;u=b+12|0;t=0;a:while(1){if(t>>>0>=(Gk(d)|0)>>>0)break;m=dn(d,t)|0;Eo(g,m)|0;q=en(d,t)|0;n=Fo(g)|0;l=n+4|0;q=q+16|0;i=2147483647;o=-1;p=0;k=-1;while(1){h=c[n>>2]|0;if(p>>>0>=(c[l>>2]|0)-h>>2>>>0)break;j=a[q>>0]|0;do if(j<<24>>24==(a[(en(e,c[h+(p<<2)>>2]|0)|0)+16>>0]|0)){h=El(m,dn(e,c[(c[n>>2]|0)+(p<<2)>>2]|0)|0)|0;if(h>>>0>>0){i=c[(c[n>>2]|0)+(p<<2)>>2]|0;j=h;h=o;break}else{j=o;h=h>>>0>>0?h:k;break}}else{j=o;h=k}while(0);o=j;p=p+1|0;k=h}do if((o|0)!=-1){if((i|0)==-1){x=15;break a}if((k|0)==-1){gn(v,t,i);h=c[r>>2]|0;if(h>>>0<(c[s>>2]|0)>>>0){o=v;p=c[o+4>>2]|0;q=h;c[q>>2]=c[o>>2];c[q+4>>2]=p;c[r>>2]=(c[r>>2]|0)+8}else hn(b,v);break}if(+(o>>>0)/+(k>>>0)<+f[u>>2]){gn(v,t,i);h=c[r>>2]|0;if(h>>>0<(c[s>>2]|0)>>>0){o=v;p=c[o+4>>2]|0;q=h;c[q>>2]=c[o>>2];c[q+4>>2]=p;c[r>>2]=(c[r>>2]|0)+8}else hn(b,v)}}while(0);t=t+1|0}if((x|0)==15){x=bg(bg(WE(bg(bg(bg(56880,31694)|0,31537)|0,35722)|0,160)|0,35729)|0,31766)|0;PE(v,x+(c[(c[x>>2]|0)+-12>>2]|0)|0);u=cG(v,57584)|0;u=Hb[c[(c[u>>2]|0)+28>>2]&63](u,10)|0;dG(v);XE(x,u)|0;TE(x)|0;va()}x=(c[r>>2]|0)-(c[b>>2]|0)>>3;if(x>>>0>(Gk(d)|0)>>>0){x=bg(bg(WE(bg(bg(bg(56880,31784)|0,31537)|0,35722)|0,175)|0,35729)|0,31844)|0;PE(v,x+(c[(c[x>>2]|0)+-12>>2]|0)|0);b=cG(v,57584)|0;b=Hb[c[(c[b>>2]|0)+28>>2]&63](b,10)|0;dG(v);XE(x,b)|0;TE(x)|0;va()}else{w=(c[r>>2]|0)-(c[b>>2]|0)>>3;break}}else w=0;while(0);zb=y;return w|0}function Sm(b,d,e){b=b|0;d=d|0;e=e|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;t=zb;zb=zb+16|0;r=t;n=b+4|0;c[n>>2]=c[b>>2];do if((Gk(d)|0)!=0?(Gk(e)|0)!=0:0){cn(b,Gk(d)|0);o=b+8|0;q=b+12|0;p=0;while(1){if(p>>>0>=(Gk(d)|0)>>>0)break;i=dn(d,p)|0;m=(en(d,p)|0)+16|0;g=2147483647;j=-1;l=0;h=-1;while(1){if(l>>>0>=(Gk(e)|0)>>>0)break;k=a[m>>0]|0;if(k<<24>>24==(a[(en(e,l)|0)+16>>0]|0)){u=El(i,dn(e,l)|0)|0;v=u>>>0>>0;g=v?l:g;k=v?u:j;h=v?j:u>>>0>>0?u:h}else k=j;j=k;l=l+1|0}do if((j|0)!=-1){if((h|0)==-1){gn(r,p,g);g=c[n>>2]|0;if(g>>>0<(c[o>>2]|0)>>>0){m=r;u=c[m+4>>2]|0;v=g;c[v>>2]=c[m>>2];c[v+4>>2]=u;c[n>>2]=(c[n>>2]|0)+8}else hn(b,r);break}if(+(j>>>0)/+(h>>>0)<+f[q>>2]){gn(r,p,g);g=c[n>>2]|0;if(g>>>0<(c[o>>2]|0)>>>0){m=r;u=c[m+4>>2]|0;v=g;c[v>>2]=c[m>>2];c[v+4>>2]=u;c[n>>2]=(c[n>>2]|0)+8}else hn(b,r)}}while(0);p=p+1|0}v=(c[n>>2]|0)-(c[b>>2]|0)>>3;if(v>>>0>(Gk(d)|0)>>>0){v=bg(bg(WE(bg(bg(bg(56880,31784)|0,31537)|0,35722)|0,112)|0,35729)|0,31844)|0;PE(r,v+(c[(c[v>>2]|0)+-12>>2]|0)|0);u=cG(r,57584)|0;u=Hb[c[(c[u>>2]|0)+28>>2]&63](u,10)|0;dG(r);XE(v,u)|0;TE(v)|0;va()}else{s=(c[n>>2]|0)-(c[b>>2]|0)>>3;break}}else s=0;while(0);zb=t;return s|0}function Tm(a){a=a|0;return a|0}function Um(a){a=a|0;return c[a>>2]|0}function Vm(a){a=a|0;return c[a+4>>2]|0}function Wm(a,b,d,e,g,h,i,j){a=a|0;b=b|0;d=d|0;e=e|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0.0,A=0.0;u=zb;zb=zb+32|0;r=u+20|0;s=u+8|0;q=u+4|0;p=u;o=e+4|0;Ao(r,(c[o>>2]|0)-(c[e>>2]|0)>>1);Ao(s,(c[o>>2]|0)-(c[e>>2]|0)>>1);n=c[e>>2]|0;t=(c[o>>2]|0)-n>>3;m=c[b>>2]|0;b=c[d>>2]|0;d=c[r>>2]|0;k=c[s>>2]|0;l=0;while(1){if((l|0)==(t|0))break;y=c[n+(l<<3)>>2]|0;w=c[n+(l<<3)+4>>2]|0;v=l<<2;x=d+(v<<2)|0;c[x>>2]=c[m+(y*20|0)>>2];c[x+4>>2]=c[m+(y*20|0)+4>>2];c[x+8>>2]=c[m+(y*20|0)+8>>2];c[x+12>>2]=c[m+(y*20|0)+12>>2];v=k+(v<<2)|0;c[v>>2]=c[b+(w*20|0)>>2];c[v+4>>2]=c[b+(w*20|0)+4>>2];c[v+8>>2]=c[b+(w*20|0)+8>>2];c[v+12>>2]=c[b+(w*20|0)+12>>2];l=l+1|0}A=+(g|0);A=A*.20000000298023224+A;z=+(h|0);z=z*.20000000298023224+z;up(a,-A,A,-z,z,0,0,12,10);Bo(a,+(i>>1|0),+(j>>1|0));Co(a,i,j);wp(a,c[r>>2]|0,c[s>>2]|0,(c[o>>2]|0)-(c[e>>2]|0)>>3);Lp(a,q,p);y=+f[q>>2]<3.0?-1:c[p>>2]|0;mh(s);mh(r);zb=u;return y|0}function Xm(a,b,d,e,g){a=a|0;b=b|0;d=d|0;e=e|0;g=+g;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;v=zb;zb=zb+48|0;h=v+32|0;t=v+28|0;u=v+24|0;r=v+20|0;s=v+16|0;p=v+12|0;q=v+8|0;n=v+4|0;o=v;wo(b,p,q,n,o,e);l=a+4|0;c[l>>2]=c[a>>2];m=xo(b)|0;m=(c[m+4>>2]|0)-(c[m>>2]|0)>>2;e=yo(b)|0;if(m>>>0>(c[d+4>>2]|0)-(c[d>>2]|0)>>3>>>0){k=bg(bg(WE(bg(bg(bg(56880,32326)|0,30409)|0,35722)|0,342)|0,35729)|0,32372)|0;PE(h,k+(c[(c[k>>2]|0)+-12>>2]|0)|0);j=cG(h,57584)|0;j=Hb[c[(c[j>>2]|0)+28>>2]&63](j,10)|0;dG(h);XE(k,j)|0;TE(k)|0;va()}j=a+8|0;k=0;i=c[e>>2]|0;while(1){if((k|0)>=(m|0))break;zo(b,t,u,r,s,+f[i>>2],+f[i+4>>2],+f[i+8>>2],+f[i+12>>2],+(c[p>>2]|0)+.5,+(c[q>>2]|0)+.5,+(c[n>>2]|0)+.5,+(c[o>>2]|0)+.5);do if((+f[t>>2]>2]>2]>2]>2]|0)+(k<<2)>>2]|0;h=(c[d>>2]|0)+(h<<3)|0;e=c[l>>2]|0;if((e|0)==(c[j>>2]|0)){on(a,h);break}else{x=h;w=c[x+4>>2]|0;h=e;c[h>>2]=c[x>>2];c[h+4>>2]=w;c[l>>2]=(c[l>>2]|0)+8;break}}while(0);k=k+1|0;i=i+16|0}zb=v;return}function Ym(a,b,d,e,g,h,i){a=a|0;b=b|0;d=d|0;e=e|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0.0;q=zb;zb=zb+64|0;p=q+44|0;o=q+32|0;n=q;m=e+4|0;pn(p,(c[m>>2]|0)-(c[e>>2]|0)>>3);pn(o,(c[m>>2]|0)-(c[e>>2]|0)>>3);l=c[e>>2]|0;m=(c[m>>2]|0)-l>>3;j=c[b>>2]|0;k=c[o>>2]|0;e=c[d>>2]|0;b=c[p>>2]|0;d=0;while(1){if((d|0)==(m|0))break;r=c[l+(d<<3)>>2]|0;c[k+(d<<3)>>2]=c[j+(r*20|0)>>2];c[k+(d<<3)+4>>2]=c[j+(r*20|0)+4>>2];r=c[l+(d<<3)+4>>2]|0;c[b+(d<<3)>>2]=c[e+(r*20|0)>>2];c[b+(d<<3)+4>>2]=c[e+(r*20|0)+4>>2];d=d+1|0}f[n>>2]=0.0;f[n+4>>2]=0.0;s=+(h|0);f[n+8>>2]=s;f[n+12>>2]=0.0;f[n+16>>2]=s;s=+(i|0);f[n+20>>2]=s;f[n+24>>2]=0.0;f[n+28>>2]=s;if(qn(g,a,b,k,m,n,4)|0)e=sn(a,h,i)|0;else e=0;rn(o);rn(p);zb=q;return e|0}function Zm(a,b,d,e,g,h){a=a|0;b=b|0;d=d|0;e=e|0;g=g|0;h=+h;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0.0,s=0,t=0;q=zb;zb=zb+16|0;p=q;h=+pi(h);k=g+4|0;cn(a,(c[k>>2]|0)-(c[g>>2]|0)>>3);n=p+4|0;l=a+4|0;m=a+8|0;o=0;while(1){i=c[g>>2]|0;if(o>>>0>=(c[k>>2]|0)-i>>3>>>0)break;j=c[i+(o<<3)+4>>2]|0;i=c[e>>2]|0;fn(p,n,b,+f[i+(j*20|0)>>2],+f[i+(j*20|0)+4>>2]);r=+pi(+f[p>>2]-+f[(c[d>>2]|0)+((c[(c[g>>2]|0)+(o<<3)>>2]|0)*20|0)>>2]);do if(r+ +pi(+f[n>>2]-+f[(c[d>>2]|0)+((c[(c[g>>2]|0)+(o<<3)>>2]|0)*20|0)+4>>2])<=h){j=(c[g>>2]|0)+(o<<3)|0;i=c[l>>2]|0;if((i|0)==(c[m>>2]|0)){on(a,j);break}else{t=j;s=c[t+4>>2]|0;j=i;c[j>>2]=c[t>>2];c[j+4>>2]=s;c[l>>2]=(c[l>>2]|0)+8;break}}while(0);o=o+1|0}zb=q;return}function _m(b,d,e,g,h){b=b|0;d=d|0;e=e|0;g=g|0;h=+h;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0.0,B=0,C=0;z=zb;zb=zb+64|0;u=z+40|0;s=z;w=z+52|0;x=z+48|0;t=b+4|0;c[t>>2]=c[b>>2];do if((Gk(d)|0)!=0?(Gk(e)|0)!=0:0){h=+pi(h);if(!(bn(s,g,0.0)|0)){r=bg(bg(WE(bg(bg(bg(56880,31512)|0,31537)|0,35722)|0,196)|0,35729)|0,31661)|0;PE(u,r+(c[(c[r>>2]|0)+-12>>2]|0)|0);q=cG(u,57584)|0;q=Hb[c[(c[q>>2]|0)+28>>2]&63](q,10)|0;dG(u);XE(r,q)|0;TE(r)|0;va()}cn(b,Gk(d)|0);p=b+8|0;r=b+12|0;q=0;a:while(1){if(q>>>0>=(Gk(d)|0)>>>0)break;l=dn(d,q)|0;o=en(d,q)|0;fn(w,x,s,+f[o>>2],+f[o+4>>2]);o=o+16|0;j=2147483647;m=-1;n=0;i=-1;while(1){if(n>>>0>=(Gk(e)|0)>>>0)break;g=en(e,n)|0;if((a[o>>0]|0)==(a[g+16>>0]|0)?(A=+pi(+f[w>>2]-+f[g>>2]),!(A+ +pi(+f[x>>2]-+f[g+4>>2])>h)):0){B=Fl(l,dn(e,n)|0)|0;C=B>>>0>>0;g=C?n:j;k=C?B:m;i=C?m:B>>>0>>0?B:i}else{g=j;k=m}j=g;m=k;n=n+1|0}do if((m|0)!=-1){if((j|0)==-1){y=16;break a}if((i|0)==-1){gn(u,q,j);g=c[t>>2]|0;if(g>>>0<(c[p>>2]|0)>>>0){o=u;B=c[o+4>>2]|0;C=g;c[C>>2]=c[o>>2];c[C+4>>2]=B;c[t>>2]=(c[t>>2]|0)+8}else hn(b,u);break}if(+(m>>>0)/+(i>>>0)<+f[r>>2]){gn(u,q,j);g=c[t>>2]|0;if(g>>>0<(c[p>>2]|0)>>>0){o=u;B=c[o+4>>2]|0;C=g;c[C>>2]=c[o>>2];c[C+4>>2]=B;c[t>>2]=(c[t>>2]|0)+8}else hn(b,u)}}while(0);q=q+1|0}if((y|0)==16){C=bg(bg(WE(bg(bg(bg(56880,31694)|0,31537)|0,35722)|0,241)|0,35729)|0,31766)|0;PE(u,C+(c[(c[C>>2]|0)+-12>>2]|0)|0);B=cG(u,57584)|0;B=Hb[c[(c[B>>2]|0)+28>>2]&63](B,10)|0;dG(u);XE(C,B)|0;TE(C)|0;va()}C=(c[t>>2]|0)-(c[b>>2]|0)>>3;if(C>>>0>(Gk(d)|0)>>>0){C=bg(bg(WE(bg(bg(bg(56880,31784)|0,31537)|0,35722)|0,256)|0,35729)|0,31844)|0;PE(u,C+(c[(c[C>>2]|0)+-12>>2]|0)|0);B=cG(u,57584)|0;B=Hb[c[(c[B>>2]|0)+28>>2]&63](B,10)|0;dG(u);XE(C,B)|0;TE(C)|0;va()}else{v=(c[t>>2]|0)-(c[b>>2]|0)>>3;break}}else v=0;while(0);zb=z;return v|0}function $m(a,b){a=a|0;b=b|0;var d=0;d=a+36|0;do{c[a>>2]=c[b>>2];a=a+4|0;b=b+4|0}while((a|0)<(d|0));return}function an(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=c[a>>2]|0;c[a>>2]=c[b>>2];c[b>>2]=f;f=a+4|0;d=b+4|0;e=c[f>>2]|0;c[f>>2]=c[d>>2];c[d>>2]=e;d=a+8|0;a=b+8|0;b=c[d>>2]|0;c[d>>2]=c[a>>2];c[a>>2]=b;return}function bn(a,b,c){a=a|0;b=b|0;c=+c;var d=0.0,e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;d=+nn(b);if(!(+t(+d)<=c)){c=1.0/d;e=b+16|0;k=b+20|0;j=b+28|0;m=b+32|0;f[a>>2]=c*+Di(+f[e>>2],+f[k>>2],+f[j>>2],+f[m>>2]);l=b+8|0;h=b+4|0;f[a+4>>2]=c*+Di(+f[l>>2],+f[h>>2],+f[m>>2],+f[j>>2]);f[a+8>>2]=c*+Di(+f[h>>2],+f[l>>2],+f[e>>2],+f[k>>2]);g=b+12|0;i=b+24|0;f[a+12>>2]=c*+Di(+f[k>>2],+f[g>>2],+f[m>>2],+f[i>>2]);f[a+16>>2]=c*+Di(+f[b>>2],+f[l>>2],+f[i>>2],+f[m>>2]);f[a+20>>2]=c*+Di(+f[l>>2],+f[b>>2],+f[k>>2],+f[g>>2]);f[a+24>>2]=c*+Di(+f[g>>2],+f[e>>2],+f[i>>2],+f[j>>2]);f[a+28>>2]=c*+Di(+f[h>>2],+f[b>>2],+f[j>>2],+f[i>>2]);f[a+32>>2]=c*+Di(+f[b>>2],+f[h>>2],+f[g>>2],+f[e>>2]);b=1}else b=0;return b|0}function cn(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=zb;zb=zb+32|0;e=f;d=c[a>>2]|0;if((c[a+8>>2]|0)-d>>3>>>0>>0){kn(e,b,(c[a+4>>2]|0)-d>>3,a+8|0);ln(a,e);mn(e)}zb=f;return}function dn(a,b){a=a|0;b=b|0;b=C(c[a>>2]|0,b)|0;return (c[a+4>>2]|0)+b|0}function en(a,b){a=a|0;b=b|0;return (c[a+16>>2]|0)+(b*20|0)|0}function fn(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=+d;e=+e;var g=0.0;g=+f[c+32>>2]+(+f[c+24>>2]*d+ +f[c+28>>2]*e);f[a>>2]=(+f[c+8>>2]+(+f[c>>2]*d+ +f[c+4>>2]*e))/g;f[b>>2]=(+f[c+20>>2]+(+f[c+12>>2]*d+ +f[c+16>>2]*e))/g;return}function gn(a,b,d){a=a|0;b=b|0;d=d|0;c[a>>2]=b;c[a+4>>2]=d;return}function hn(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;h=zb;zb=zb+32|0;e=h;d=a+4|0;f=((c[d>>2]|0)-(c[a>>2]|0)>>3)+1|0;g=jn(a)|0;if(g>>>0>>0)LO(a);else{i=c[a>>2]|0;k=(c[a+8>>2]|0)-i|0;j=k>>2;kn(e,k>>3>>>0>>1>>>0?(j>>>0>>0?f:j):g,(c[d>>2]|0)-i>>3,a+8|0);g=e+8|0;d=b;b=c[d+4>>2]|0;f=c[g>>2]|0;c[f>>2]=c[d>>2];c[f+4>>2]=b;c[g>>2]=(c[g>>2]|0)+8;ln(a,e);mn(e);zb=h;return}}function jn(a){a=a|0;return 536870911}function kn(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=a+12|0;c[f>>2]=0;c[a+16>>2]=e;do if(b)if(b>>>0>536870911){a=P(8)|0;kO(a,38211);c[a>>2]=16392;R(a|0,13960,22)}else{e=AB(b<<3)|0;break}else e=0;while(0);c[a>>2]=e;d=e+(d<<3)|0;c[a+8>>2]=d;c[a+4>>2]=d;c[f>>2]=e+(b<<3);return}function ln(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;e=c[a>>2]|0;h=a+4|0;g=b+4|0;f=(c[h>>2]|0)-e|0;d=(c[g>>2]|0)+(0-(f>>3)<<3)|0;c[g>>2]=d;if((f|0)>0){fP(d|0,e|0,f|0)|0;e=g;d=c[g>>2]|0}else e=g;g=c[a>>2]|0;c[a>>2]=d;c[e>>2]=g;g=b+8|0;f=c[h>>2]|0;c[h>>2]=c[g>>2];c[g>>2]=f;g=a+8|0;a=b+12|0;h=c[g>>2]|0;c[g>>2]=c[a>>2];c[a>>2]=h;c[b>>2]=c[e>>2];return}function mn(a){a=a|0;var b=0,d=0,e=0,f=0;b=c[a+4>>2]|0;e=a+8|0;d=c[e>>2]|0;while(1){if((d|0)==(b|0))break;f=d+-8|0;c[e>>2]=f;d=f}b=c[a>>2]|0;if(b|0)Vf(b,(c[a+12>>2]|0)-b|0);return}function nn(a){a=a|0;var b=0.0,c=0.0,d=0.0,e=0,g=0,h=0,i=0,j=0,k=0;h=a+16|0;k=a+20|0;e=a+28|0;j=a+32|0;d=+Di(+f[h>>2],+f[k>>2],+f[e>>2],+f[j>>2]);i=a+12|0;g=a+24|0;c=+Di(+f[i>>2],+f[k>>2],+f[g>>2],+f[j>>2]);b=+Di(+f[i>>2],+f[h>>2],+f[g>>2],+f[e>>2]);return +(d*+f[a>>2]-c*+f[a+4>>2]+b*+f[a+8>>2])}function on(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;h=zb;zb=zb+32|0;e=h;d=a+4|0;f=((c[d>>2]|0)-(c[a>>2]|0)>>3)+1|0;g=jn(a)|0;if(g>>>0>>0)LO(a);else{i=c[a>>2]|0;k=(c[a+8>>2]|0)-i|0;j=k>>2;kn(e,k>>3>>>0>>1>>>0?(j>>>0>>0?f:j):g,(c[d>>2]|0)-i>>3,a+8|0);g=e+8|0;d=b;b=c[d+4>>2]|0;f=c[g>>2]|0;c[f>>2]=c[d>>2];c[f+4>>2]=b;c[g>>2]=(c[g>>2]|0)+8;ln(a,e);mn(e);zb=h;return}}function pn(a,b){a=a|0;b=b|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;if(b|0){to(a,b);uo(a,b)}return}function qn(a,b,d,e,g,h,i){a=a|0;b=b|0;d=d|0;e=e|0;g=g|0;h=h|0;i=i|0;var j=0;j=a+12|0;$k(j,g);return Cn(b,d,e,g,h,i,a,j,a+24|0,+f[a+36>>2],c[a+40>>2]|0,c[a+44>>2]|0,c[a+48>>2]|0)|0}function rn(a){a=a|0;var b=0,d=0;b=c[a>>2]|0;d=b;if(b|0){c[a+4>>2]=d;Vf(b,(c[a+8>>2]|0)-d|0)}return} +function Uu(f){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,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;Pa=zb;zb=zb+256|0;la=Pa;Oa=f+440|0;Na=f+464|0;va=f+24|0;sa=f+232|0;ta=f+248|0;ua=f+264|0;pa=f+280|0;ma=f+40|0;ha=f+304|0;$=f+308|0;ra=f+284|0;aa=f+288|0;ba=f+289|0;ka=f+290|0;ca=f+292|0;da=f+294|0;qa=f+296|0;_=f+300|0;Ka=f+36|0;Ga=f+216|0;g=c[Oa>>2]|0;a:while(1){do if(!g){if(c[(c[Na>>2]|0)+12>>2]|0){if(!(Zu(f)|0)){wa=0;Aa=350;break a}g=c[Oa>>2]|0;break}l=c[va>>2]|0;m=l+4|0;g=c[m>>2]|0;if(!g){if(!(Fb[c[l+12>>2]&127](f)|0)){wa=0;Aa=350;break a}g=c[m>>2]|0}j=c[l>>2]|0;g=g+-1|0;h=j+1|0;j=a[j>>0]|0;k=j&255;if(!g){if(!(Fb[c[l+12>>2]&127](f)|0)){wa=0;Aa=350;break a}i=c[m>>2]|0;h=c[l>>2]|0}else i=g;U=a[h>>0]|0;g=U&255;if(j<<24>>24!=-1|U<<24>>24!=-40){U=c[f>>2]|0;c[U+20>>2]=55;c[U+24>>2]=k;c[(c[f>>2]|0)+28>>2]=g;Rb[c[c[f>>2]>>2]&255](f)}c[Oa>>2]=g;c[l>>2]=h+1;c[m>>2]=i+-1}while(0);do switch(g|0){case 218:{Aa=25;break a}case 217:{Aa=75;break a}case 216:{g=c[f>>2]|0;c[g+20>>2]=104;Tb[c[g+4>>2]&63](f,1);g=(c[Na>>2]|0)+12|0;if(c[g>>2]|0){g=c[f>>2]|0;c[g+20>>2]=64;Rb[c[g>>2]&255](f);g=(c[Na>>2]|0)+12|0}h=sa;i=h+16|0;do{a[h>>0]=0;h=h+1|0}while((h|0)<(i|0));h=ta;i=h+16|0;do{a[h>>0]=1;h=h+1|0}while((h|0)<(i|0));h=ua;i=h+16|0;do{a[h>>0]=5;h=h+1|0}while((h|0)<(i|0));c[pa>>2]=0;c[ma>>2]=0;c[ha>>2]=0;c[$>>2]=0;c[ra>>2]=0;a[aa>>0]=1;a[ba>>0]=1;a[ka>>0]=0;b[ca>>1]=1;b[da>>1]=1;c[qa>>2]=0;a[_>>0]=0;c[g>>2]=1;break}case 192:{if(!(_u(f,1,0,0)|0)){wa=0;Aa=350;break a}break}case 193:{if(!(_u(f,0,0,0)|0)){wa=0;Aa=350;break a}break}case 194:{if(!(_u(f,0,1,0)|0)){wa=0;Aa=350;break a}break}case 201:{if(!(_u(f,0,0,1)|0)){wa=0;Aa=350;break a}break}case 202:{if(!(_u(f,0,1,1)|0)){wa=0;Aa=350;break a}break}case 207:case 206:case 205:case 203:case 200:case 199:case 198:case 197:case 195:{U=c[f>>2]|0;c[U+20>>2]=63;c[U+24>>2]=g;Rb[c[c[f>>2]>>2]&255](f);break}case 204:{p=c[va>>2]|0;q=p+4|0;g=c[q>>2]|0;if(!g){if(!(Fb[c[p+12>>2]&127](f)|0)){wa=0;Aa=350;break a}g=c[q>>2]|0}i=c[p>>2]|0;g=g+-1|0;h=i+1|0;i=d[i>>0]<<8;if(!g){if(!(Fb[c[p+12>>2]&127](f)|0)){wa=0;Aa=350;break a}g=c[q>>2]|0;h=c[p>>2]|0}U=i|d[h>>0];j=U+-2|0;i=g+-1|0;g=h+1|0;if(U>>>0>2){o=p+12|0;while(1){if(!i){if(!(Fb[c[o>>2]&127](f)|0)){wa=0;Aa=350;break a}i=c[q>>2]|0;g=c[p>>2]|0}h=i+-1|0;i=g+1|0;k=a[g>>0]|0;m=k&255;if(!h){if(!(Fb[c[o>>2]&127](f)|0)){wa=0;Aa=350;break a}l=c[q>>2]|0;n=c[p>>2]|0}else{l=h;n=i}g=a[n>>0]|0;h=g&255;U=c[f>>2]|0;c[U+20>>2]=81;c[U+24>>2]=m;c[(c[f>>2]|0)+28>>2]=h;Tb[c[(c[f>>2]|0)+4>>2]&63](f,1);if((k&255)<=31)if((k&255)<=15){T=h&15;a[f+232+m>>0]=T;U=(g&255)>>>4;a[f+248+m>>0]=U;if(T>>>0>(U&255)>>>0){U=c[f>>2]|0;c[U+20>>2]=30;c[U+24>>2]=h;Rb[c[c[f>>2]>>2]&255](f)}}else Aa=93;else{Aa=c[f>>2]|0;c[Aa+20>>2]=29;c[Aa+24>>2]=m;Rb[c[c[f>>2]>>2]&255](f);Aa=93}if((Aa|0)==93){Aa=0;a[m+-16+(f+264)>>0]=g}h=j+-2|0;i=l+-1|0;g=n+1|0;if((j|0)>2)j=h;else break}}else h=j;if(h|0){U=c[f>>2]|0;c[U+20>>2]=12;Rb[c[U>>2]&255](f)}c[p>>2]=g;c[q>>2]=i;break}case 196:{T=c[va>>2]|0;U=T+4|0;g=c[U>>2]|0;if(!g){if(!(Fb[c[T+12>>2]&127](f)|0)){Aa=174;break a}g=c[U>>2]|0}j=c[T>>2]|0;g=g+-1|0;h=j+1|0;j=d[j>>0]<<8;if(!g){if(!(Fb[c[T+12>>2]&127](f)|0)){Aa=174;break a}g=c[U>>2]|0;h=c[T>>2]|0}i=g+-1|0;g=h+1|0;S=j|d[h>>0];h=S+-2|0;if(S>>>0>18){S=T+12|0;do{if(!i){if(!(Fb[c[S>>2]&127](f)|0)){Aa=174;break a}i=c[U>>2]|0;g=c[T>>2]|0}R=d[g>>0]|0;Q=c[f>>2]|0;c[Q+20>>2]=82;c[Q+24>>2]=R;Tb[c[(c[f>>2]|0)+4>>2]&63](f,1);i=i+-1|0;g=g+1|0;if(!i){if(!(Fb[c[S>>2]&127](f)|0)){Aa=174;break a}i=c[U>>2]|0;g=c[T>>2]|0}Q=a[g>>0]|0;M=Q&255;i=i+-1|0;g=g+1|0;if(!i){if(!(Fb[c[S>>2]&127](f)|0)){Aa=174;break a}i=c[U>>2]|0;g=c[T>>2]|0}P=a[g>>0]|0;K=P&255;j=K+M|0;i=i+-1|0;g=g+1|0;if(!i){if(!(Fb[c[S>>2]&127](f)|0)){Aa=174;break a}i=c[U>>2]|0;g=c[T>>2]|0}O=a[g>>0]|0;J=O&255;j=j+J|0;i=i+-1|0;g=g+1|0;if(!i){if(!(Fb[c[S>>2]&127](f)|0)){Aa=174;break a}i=c[U>>2]|0;g=c[T>>2]|0}N=a[g>>0]|0;H=N&255;j=j+H|0;i=i+-1|0;g=g+1|0;if(!i){if(!(Fb[c[S>>2]&127](f)|0)){Aa=174;break a}i=c[U>>2]|0;g=c[T>>2]|0}L=a[g>>0]|0;F=L&255;j=j+F|0;i=i+-1|0;g=g+1|0;if(!i){if(!(Fb[c[S>>2]&127](f)|0)){Aa=174;break a}i=c[U>>2]|0;g=c[T>>2]|0}I=a[g>>0]|0;D=I&255;j=j+D|0;i=i+-1|0;g=g+1|0;if(!i){if(!(Fb[c[S>>2]&127](f)|0)){Aa=174;break a}i=c[U>>2]|0;g=c[T>>2]|0}G=a[g>>0]|0;B=G&255;j=j+B|0;i=i+-1|0;g=g+1|0;if(!i){if(!(Fb[c[S>>2]&127](f)|0)){Aa=174;break a}i=c[U>>2]|0;g=c[T>>2]|0}E=a[g>>0]|0;z=E&255;j=j+z|0;i=i+-1|0;g=g+1|0;if(!i){if(!(Fb[c[S>>2]&127](f)|0)){Aa=174;break a}i=c[U>>2]|0;g=c[T>>2]|0}C=a[g>>0]|0;x=C&255;j=j+x|0;i=i+-1|0;g=g+1|0;if(!i){if(!(Fb[c[S>>2]&127](f)|0)){Aa=174;break a}i=c[U>>2]|0;g=c[T>>2]|0}A=a[g>>0]|0;v=A&255;j=j+v|0;i=i+-1|0;g=g+1|0;if(!i){if(!(Fb[c[S>>2]&127](f)|0)){Aa=174;break a}i=c[U>>2]|0;g=c[T>>2]|0}y=a[g>>0]|0;t=y&255;j=j+t|0;i=i+-1|0;g=g+1|0;if(!i){if(!(Fb[c[S>>2]&127](f)|0)){Aa=174;break a}i=c[U>>2]|0;g=c[T>>2]|0}w=a[g>>0]|0;r=w&255;j=j+r|0;i=i+-1|0;g=g+1|0;if(!i){if(!(Fb[c[S>>2]&127](f)|0)){Aa=174;break a}i=c[U>>2]|0;g=c[T>>2]|0}u=a[g>>0]|0;p=u&255;j=j+p|0;i=i+-1|0;g=g+1|0;if(!i){if(!(Fb[c[S>>2]&127](f)|0)){Aa=174;break a}i=c[U>>2]|0;g=c[T>>2]|0}s=a[g>>0]|0;n=s&255;j=j+n|0;i=i+-1|0;g=g+1|0;if(!i){if(!(Fb[c[S>>2]&127](f)|0)){Aa=174;break a}i=c[U>>2]|0;g=c[T>>2]|0}q=a[g>>0]|0;k=q&255;j=j+k|0;i=i+-1|0;g=g+1|0;if(!i){if(!(Fb[c[S>>2]&127](f)|0)){Aa=174;break a}i=c[U>>2]|0;g=c[T>>2]|0}o=a[g>>0]|0;Qa=o&255;l=j+Qa|0;i=i+-1|0;g=g+1|0;m=h+-17|0;j=c[f>>2]|0;c[j+24>>2]=M;c[j+28>>2]=K;c[j+32>>2]=J;c[j+36>>2]=H;c[j+40>>2]=F;c[j+44>>2]=D;c[j+48>>2]=B;c[j+52>>2]=z;c[j+20>>2]=88;Tb[c[j+4>>2]&63](f,2);M=c[f>>2]|0;c[M+24>>2]=x;c[M+28>>2]=v;c[M+32>>2]=t;c[M+36>>2]=r;c[M+40>>2]=p;c[M+44>>2]=n;c[M+48>>2]=k;c[M+52>>2]=Qa;c[M+20>>2]=88;Tb[c[M+4>>2]&63](f,2);if(l>>>0>256|(m|0)<(l|0)){Qa=c[f>>2]|0;c[Qa+20>>2]=9;Rb[c[Qa>>2]&255](f)}hP(la|0,0,256)|0;if(!l)h=0;else{j=0;while(1){if(!i){if(!(Fb[c[S>>2]&127](f)|0)){Aa=174;break a}i=c[U>>2]|0;h=c[T>>2]|0}else h=g;i=i+-1|0;g=h+1|0;a[la+j>>0]=a[h>>0]|0;j=j+1|0;if(j>>>0>=l>>>0){h=l;break}}}h=m-h|0;Qa=(R&16|0)==0;k=R+-16|0;j=Qa?R:k;k=Qa?f+180+(R<<2)|0:f+196+(k<<2)|0;if(j>>>0>3){Qa=c[f>>2]|0;c[Qa+20>>2]=31;c[Qa+24>>2]=j;Rb[c[c[f>>2]>>2]&255](f)}j=c[k>>2]|0;if(!j){j=iu(f)|0;c[k>>2]=j}a[j>>0]=0;a[j+1>>0]=Q;a[j+2>>0]=P;a[j+3>>0]=O;a[j+4>>0]=N;a[j+5>>0]=L;a[j+6>>0]=I;a[j+7>>0]=G;a[j+8>>0]=E;a[j+9>>0]=C;a[j+10>>0]=A;a[j+11>>0]=y;a[j+12>>0]=w;a[j+13>>0]=u;a[j+14>>0]=s;a[j+15>>0]=q;a[j+16>>0]=o;fP((c[k>>2]|0)+17|0,la|0,256)|0}while((h|0)>16)}if(h|0){Qa=c[f>>2]|0;c[Qa+20>>2]=12;Rb[c[Qa>>2]&255](f)}c[T>>2]=g;c[U>>2]=i;break}case 219:{p=c[va>>2]|0;q=p+4|0;g=c[q>>2]|0;if(!g){if(!(Fb[c[p+12>>2]&127](f)|0)){wa=0;Aa=350;break a}g=c[q>>2]|0}j=c[p>>2]|0;g=g+-1|0;h=j+1|0;j=d[j>>0]<<8;if(!g){if(!(Fb[c[p+12>>2]&127](f)|0)){wa=0;Aa=350;break a}g=c[q>>2]|0;h=c[p>>2]|0}i=g+-1|0;g=h+1|0;Qa=j|d[h>>0];h=Qa+-2|0;if(Qa>>>0>2){o=p+12|0;while(1){n=h+-1|0;if(!i){if(!(Fb[c[o>>2]&127](f)|0)){wa=0;Aa=350;break a}l=c[q>>2]|0;g=c[p>>2]|0}else l=i;i=d[g>>0]|0;k=i>>>4;i=i&15;Qa=c[f>>2]|0;c[Qa+20>>2]=83;c[Qa+24>>2]=i;c[(c[f>>2]|0)+28>>2]=k;Tb[c[(c[f>>2]|0)+4>>2]&63](f,1);if(i>>>0>3){Qa=c[f>>2]|0;c[Qa+20>>2]=32;c[Qa+24>>2]=i;Rb[c[c[f>>2]>>2]&255](f)}j=f+164+(i<<2)|0;i=c[j>>2]|0;if(!i){i=hu(f)|0;c[j>>2]=i}m=(k|0)!=0;if(m)if((h|0)<129){b[i>>1]=1;b[i+2>>1]=1;b[i+4>>1]=1;b[i+6>>1]=1;b[i+8>>1]=1;b[i+10>>1]=1;b[i+12>>1]=1;b[i+14>>1]=1;b[i+16>>1]=1;b[i+18>>1]=1;b[i+20>>1]=1;b[i+22>>1]=1;b[i+24>>1]=1;b[i+26>>1]=1;b[i+28>>1]=1;b[i+30>>1]=1;b[i+32>>1]=1;b[i+34>>1]=1;b[i+36>>1]=1;b[i+38>>1]=1;b[i+40>>1]=1;b[i+42>>1]=1;b[i+44>>1]=1;b[i+46>>1]=1;b[i+48>>1]=1;b[i+50>>1]=1;b[i+52>>1]=1;b[i+54>>1]=1;b[i+56>>1]=1;b[i+58>>1]=1;b[i+60>>1]=1;b[i+62>>1]=1;b[i+64>>1]=1;b[i+66>>1]=1;b[i+68>>1]=1;b[i+70>>1]=1;b[i+72>>1]=1;b[i+74>>1]=1;b[i+76>>1]=1;b[i+78>>1]=1;b[i+80>>1]=1;b[i+82>>1]=1;b[i+84>>1]=1;b[i+86>>1]=1;b[i+88>>1]=1;b[i+90>>1]=1;b[i+92>>1]=1;b[i+94>>1]=1;b[i+96>>1]=1;b[i+98>>1]=1;b[i+100>>1]=1;b[i+102>>1]=1;b[i+104>>1]=1;b[i+106>>1]=1;b[i+108>>1]=1;b[i+110>>1]=1;b[i+112>>1]=1;b[i+114>>1]=1;b[i+116>>1]=1;b[i+118>>1]=1;b[i+120>>1]=1;b[i+122>>1]=1;b[i+124>>1]=1;b[i+126>>1]=1;ia=n>>1;Aa=196}else Aa=203;else if((h|0)<65){b[i>>1]=1;b[i+2>>1]=1;b[i+4>>1]=1;b[i+6>>1]=1;b[i+8>>1]=1;b[i+10>>1]=1;b[i+12>>1]=1;b[i+14>>1]=1;b[i+16>>1]=1;b[i+18>>1]=1;b[i+20>>1]=1;b[i+22>>1]=1;b[i+24>>1]=1;b[i+26>>1]=1;b[i+28>>1]=1;b[i+30>>1]=1;b[i+32>>1]=1;b[i+34>>1]=1;b[i+36>>1]=1;b[i+38>>1]=1;b[i+40>>1]=1;b[i+42>>1]=1;b[i+44>>1]=1;b[i+46>>1]=1;b[i+48>>1]=1;b[i+50>>1]=1;b[i+52>>1]=1;b[i+54>>1]=1;b[i+56>>1]=1;b[i+58>>1]=1;b[i+60>>1]=1;b[i+62>>1]=1;b[i+64>>1]=1;b[i+66>>1]=1;b[i+68>>1]=1;b[i+70>>1]=1;b[i+72>>1]=1;b[i+74>>1]=1;b[i+76>>1]=1;b[i+78>>1]=1;b[i+80>>1]=1;b[i+82>>1]=1;b[i+84>>1]=1;b[i+86>>1]=1;b[i+88>>1]=1;b[i+90>>1]=1;b[i+92>>1]=1;b[i+94>>1]=1;b[i+96>>1]=1;b[i+98>>1]=1;b[i+100>>1]=1;b[i+102>>1]=1;b[i+104>>1]=1;b[i+106>>1]=1;b[i+108>>1]=1;b[i+110>>1]=1;b[i+112>>1]=1;b[i+114>>1]=1;b[i+116>>1]=1;b[i+118>>1]=1;b[i+120>>1]=1;b[i+122>>1]=1;b[i+124>>1]=1;b[i+126>>1]=1;ia=n;Aa=196}else Aa=203;b:do if((Aa|0)==196){Aa=0;switch(ia|0){case 4:{h=3280;break}case 9:{h=3168;break}case 16:{h=3040;break}case 25:{h=2864;break}case 36:{h=2656;break}case 49:{h=2384;break}default:{h=l+-1|0;g=g+1|0;if((ia|0)>0){ga=h;ja=ia;Y=2064;Z=g;Aa=205;break b}else{W=h;X=ia;V=g;break b}}}ga=l+-1|0;ja=ia;Y=h;Z=g+1|0;Aa=205}else if((Aa|0)==203){ga=l+-1|0;ja=64;Y=2064;Z=g+1|0;Aa=205}while(0);c:do if((Aa|0)==205){Aa=0;if(!m){g=ga;j=0;h=Z;while(1){if(!g){if(!(Fb[c[o>>2]&127](f)|0)){wa=0;Aa=350;break a}g=c[q>>2]|0;h=c[p>>2]|0}b[i+(c[Y+(j<<2)>>2]<<1)>>1]=d[h>>0]|0;j=j+1|0;g=g+-1|0;h=h+1|0;if((j|0)>=(ja|0)){W=g;X=ja;V=h;break c}}}g=ga;l=0;h=Z;while(1){if(!g){if(!(Fb[c[o>>2]&127](f)|0)){wa=0;Aa=350;break a}g=c[q>>2]|0;h=c[p>>2]|0}g=g+-1|0;j=h+1|0;k=d[h>>0]<<8;if(!g){if(!(Fb[c[o>>2]&127](f)|0)){wa=0;Aa=350;break a}g=c[q>>2]|0;h=c[p>>2]|0}else h=j;b[i+(c[Y+(l<<2)>>2]<<1)>>1]=k|d[h>>0];l=l+1|0;g=g+-1|0;h=h+1|0;if((l|0)>=(ja|0)){W=g;X=ja;V=h;break}}}while(0);g=c[f>>2]|0;d:do if((c[g+104>>2]|0)>1){h=0;while(1){c[g+24>>2]=e[i+(h<<1)>>1];c[g+28>>2]=e[i+((h|1)<<1)>>1];c[g+32>>2]=e[i+((h|2)<<1)>>1];c[g+36>>2]=e[i+((h|3)<<1)>>1];c[g+40>>2]=e[i+((h|4)<<1)>>1];c[g+44>>2]=e[i+((h|5)<<1)>>1];c[g+48>>2]=e[i+((h|6)<<1)>>1];c[g+52>>2]=e[i+((h|7)<<1)>>1];c[g+20>>2]=95;Tb[c[g+4>>2]&63](f,2);h=h+8|0;if(h>>>0>=64)break d;g=c[f>>2]|0}}while(0);h=n-X+(m?0-X|0:0)|0;if((h|0)>0){i=W;g=V}else{i=W;g=V;break}}}if(h|0){Qa=c[f>>2]|0;c[Qa+20>>2]=12;Rb[c[Qa>>2]&255](f)}c[p>>2]=g;c[q>>2]=i;break}case 221:{k=c[va>>2]|0;l=k+4|0;g=c[l>>2]|0;if(!g){if(!(Fb[c[k+12>>2]&127](f)|0)){wa=0;Aa=350;break a}g=c[l>>2]|0}j=c[k>>2]|0;g=g+-1|0;h=j+1|0;j=d[j>>0]<<8;if(!g){if(!(Fb[c[k+12>>2]&127](f)|0)){wa=0;Aa=350;break a}g=c[l>>2]|0;h=c[k>>2]|0}g=g+-1|0;i=h+1|0;if((j|d[h>>0]|0)!=4){Qa=c[f>>2]|0;c[Qa+20>>2]=12;Rb[c[Qa>>2]&255](f)}if(!g){if(!(Fb[c[k+12>>2]&127](f)|0)){wa=0;Aa=350;break a}g=c[l>>2]|0;i=c[k>>2]|0}h=g+-1|0;g=i+1|0;i=d[i>>0]<<8;if(!h){if(!(Fb[c[k+12>>2]&127](f)|0)){wa=0;Aa=350;break a}h=c[l>>2]|0;g=c[k>>2]|0}Qa=i|d[g>>0];U=c[f>>2]|0;c[U+20>>2]=84;c[U+24>>2]=Qa;Tb[c[(c[f>>2]|0)+4>>2]&63](f,1);c[pa>>2]=Qa;c[k>>2]=g+1;c[l>>2]=h+-1;break}case 248:{l=c[va>>2]|0;h=c[l>>2]|0;m=l+4|0;g=c[m>>2]|0;if(!(c[(c[Na>>2]|0)+16>>2]|0)){Qa=c[f>>2]|0;c[Qa+20>>2]=60;ez(Qa+24|0,47479,80)|0;Rb[c[c[f>>2]>>2]&255](f)}do if((c[Ka>>2]|0)>=3){if(!g){if(!(Fb[c[l+12>>2]&127](f)|0)){wa=0;Aa=350;break a}g=c[m>>2]|0;h=c[l>>2]|0}g=g+-1|0;i=h+1|0;j=d[h>>0]<<8;if(!g){if(!(Fb[c[l+12>>2]&127](f)|0)){wa=0;Aa=350;break a}g=c[m>>2]|0;h=c[l>>2]|0}else h=i;g=g+-1|0;i=h+1|0;if((j|d[h>>0]|0)!=24){Qa=c[f>>2]|0;c[Qa+20>>2]=12;Rb[c[Qa>>2]&255](f)}if(!g){if(!(Fb[c[l+12>>2]&127](f)|0)){wa=0;Aa=350;break a}g=c[m>>2]|0;i=c[l>>2]|0}g=g+-1|0;h=i+1|0;if((a[i>>0]|0)!=13){Qa=c[f>>2]|0;c[Qa+20>>2]=70;c[Qa+24>>2]=c[Oa>>2];Rb[c[c[f>>2]>>2]&255](f)}if(!g){if(!(Fb[c[l+12>>2]&127](f)|0)){wa=0;Aa=350;break a}g=c[m>>2]|0;h=c[l>>2]|0}g=g+-1|0;i=h+1|0;j=d[h>>0]<<8;if(!g){if(!(Fb[c[l+12>>2]&127](f)|0)){wa=0;Aa=350;break a}g=c[m>>2]|0;h=c[l>>2]|0}else h=i;g=g+-1|0;i=h+1|0;if((j|d[h>>0]|0)==255){if(!g){if(!(Fb[c[l+12>>2]&127](f)|0)){wa=0;Aa=350;break a}g=c[m>>2]|0;i=c[l>>2]|0}g=g+-1|0;h=i+1|0;if((a[i>>0]|0)==3){if(!g){if(!(Fb[c[l+12>>2]&127](f)|0)){wa=0;Aa=350;break a}g=c[m>>2]|0;i=c[l>>2]|0}else i=h;h=g+-1|0;j=i+1|0;g=c[Ga>>2]|0;if((c[g+88>>2]|0)==(d[i>>0]|0)){if(!h){if(!(Fb[c[l+12>>2]&127](f)|0)){wa=0;Aa=350;break a}g=c[Ga>>2]|0;h=c[m>>2]|0;i=c[l>>2]|0}else i=j;h=h+-1|0;j=i+1|0;if((c[g>>2]|0)==(d[i>>0]|0)){if(!h){if(!(Fb[c[l+12>>2]&127](f)|0)){wa=0;Aa=350;break a}k=c[Ga>>2]|0;g=c[m>>2]|0;h=c[l>>2]|0}else{k=g;g=h;h=j}g=g+-1|0;i=h+1|0;if((c[k+176>>2]|0)!=(d[h>>0]|0)){ea=g;na=i;Aa=335;break}if(!g){if(!(Fb[c[l+12>>2]&127](f)|0)){wa=0;Aa=350;break a}g=c[m>>2]|0;i=c[l>>2]|0}g=g+-1|0;h=i+1|0;if((a[i>>0]|0)!=-128){ea=g;na=h;Aa=335;break}if(!g){if(!(Fb[c[l+12>>2]&127](f)|0)){wa=0;Aa=350;break a}g=c[m>>2]|0;h=c[l>>2]|0}g=g+-1|0;i=h+1|0;j=d[h>>0]<<8;if(!g){if(!(Fb[c[l+12>>2]&127](f)|0)){wa=0;Aa=350;break a}g=c[m>>2]|0;i=c[l>>2]|0}g=g+-1|0;h=i+1|0;if(j|d[i>>0]|0){ea=g;na=h;Aa=335;break}if(!g){if(!(Fb[c[l+12>>2]&127](f)|0)){wa=0;Aa=350;break a}g=c[m>>2]|0;h=c[l>>2]|0}g=g+-1|0;i=h+1|0;j=d[h>>0]<<8;if(!g){if(!(Fb[c[l+12>>2]&127](f)|0)){wa=0;Aa=350;break a}g=c[m>>2]|0;h=c[l>>2]|0}else h=i;g=g+-1|0;i=h+1|0;if(j|d[h>>0]|0){ea=g;na=i;Aa=335;break}if(!g){if(!(Fb[c[l+12>>2]&127](f)|0)){wa=0;Aa=350;break a}g=c[m>>2]|0;i=c[l>>2]|0}g=g+-1|0;h=i+1|0;if(a[i>>0]|0){ea=g;na=h;Aa=335;break}if(!g){if(!(Fb[c[l+12>>2]&127](f)|0)){wa=0;Aa=350;break a}g=c[m>>2]|0;h=c[l>>2]|0}g=g+-1|0;i=h+1|0;j=d[h>>0]<<8;if(!g){if(!(Fb[c[l+12>>2]&127](f)|0)){wa=0;Aa=350;break a}g=c[m>>2]|0;i=c[l>>2]|0}g=g+-1|0;h=i+1|0;if((j|d[i>>0]|0)!=1){ea=g;na=h;Aa=335;break}if(!g){if(!(Fb[c[l+12>>2]&127](f)|0)){wa=0;Aa=350;break a}g=c[m>>2]|0;h=c[l>>2]|0}g=g+-1|0;i=h+1|0;j=d[h>>0]<<8;if(!g){if(!(Fb[c[l+12>>2]&127](f)|0)){wa=0;Aa=350;break a}g=c[m>>2]|0;h=c[l>>2]|0}else h=i;g=g+-1|0;i=h+1|0;if(j|d[h>>0]|0){ea=g;na=i;Aa=335;break}if(!g){if(!(Fb[c[l+12>>2]&127](f)|0)){wa=0;Aa=350;break a}g=c[m>>2]|0;i=c[l>>2]|0}g=g+-1|0;h=i+1|0;if(a[i>>0]|0){ea=g;na=h;Aa=335;break}if(!g){if(!(Fb[c[l+12>>2]&127](f)|0)){wa=0;Aa=350;break a}g=c[m>>2]|0;h=c[l>>2]|0}g=g+-1|0;i=h+1|0;j=d[h>>0]<<8;if(!g){if(!(Fb[c[l+12>>2]&127](f)|0)){wa=0;Aa=350;break a}g=c[m>>2]|0;i=c[l>>2]|0}g=g+-1|0;h=i+1|0;if((j|d[i>>0]|0)!=1){ea=g;na=h;Aa=335;break}if(!g){if(!(Fb[c[l+12>>2]&127](f)|0)){wa=0;Aa=350;break a}g=c[m>>2]|0;h=c[l>>2]|0}g=g+-1|0;i=h+1|0;j=d[h>>0]<<8;if(!g){if(!(Fb[c[l+12>>2]&127](f)|0)){wa=0;Aa=350;break a}g=c[m>>2]|0;i=c[l>>2]|0}g=g+-1|0;h=i+1|0;if(!(j|d[i>>0])){fa=g;oa=h}else{ea=g;na=h;Aa=335}}else{ea=h;na=j;Aa=335}}else{ea=h;na=j;Aa=335}}else{ea=g;na=h;Aa=335}}else{ea=g;na=i;Aa=335}}else{ea=g;na=h;Aa=335}while(0);if((Aa|0)==335){Aa=0;fa=c[f>>2]|0;c[fa+20>>2]=28;Rb[c[fa>>2]&255](f);fa=ea;oa=na}c[ha>>2]=1;c[l>>2]=oa;c[m>>2]=fa;break}case 239:case 238:case 237:case 236:case 235:case 234:case 233:case 232:case 231:case 230:case 229:case 228:case 227:case 226:case 225:case 224:{if(!(Fb[c[(c[Na>>2]|0)+32+(g+-224<<2)>>2]&127](f)|0)){wa=0;Aa=350;break a}break}case 254:{if(!(Fb[c[(c[Na>>2]|0)+28>>2]&127](f)|0)){wa=0;Aa=350;break a}break}case 1:case 215:case 214:case 213:case 212:case 211:case 210:case 209:case 208:{Qa=c[f>>2]|0;c[Qa+20>>2]=94;c[Qa+24>>2]=g;Tb[c[(c[f>>2]|0)+4>>2]&63](f,1);break}case 220:{k=c[va>>2]|0;l=k+4|0;g=c[l>>2]|0;if(!g){if(!(Fb[c[k+12>>2]&127](f)|0)){wa=0;Aa=350;break a}g=c[l>>2]|0}j=c[k>>2]|0;g=g+-1|0;h=j+1|0;j=d[j>>0]<<8;if(!g){if(!(Fb[c[k+12>>2]&127](f)|0)){wa=0;Aa=350;break a}g=c[l>>2]|0;i=c[k>>2]|0}else i=h;Qa=j|d[i>>0];h=Qa+-2|0;U=c[f>>2]|0;c[U+20>>2]=93;c[U+24>>2]=c[Oa>>2];c[(c[f>>2]|0)+28>>2]=h;Tb[c[(c[f>>2]|0)+4>>2]&63](f,1);c[k>>2]=i+1;c[l>>2]=g+-1;if(Qa>>>0>2)Tb[c[(c[va>>2]|0)+16>>2]&63](f,h);break}default:{Qa=c[f>>2]|0;c[Qa+20>>2]=70;c[Qa+24>>2]=g;Rb[c[c[f>>2]>>2]&255](f)}}while(0);c[Oa>>2]=0;g=0}if((Aa|0)==25){q=c[va>>2]|0;h=c[q>>2]|0;r=q+4|0;g=c[r>>2]|0;if(!(c[(c[Na>>2]|0)+16>>2]|0)){Qa=c[f>>2]|0;c[Qa+20>>2]=60;ez(Qa+24|0,47475,80)|0;Rb[c[c[f>>2]>>2]&255](f)}do if(!g)if(!(Fb[c[q+12>>2]&127](f)|0)){Qa=0;zb=Pa;return Qa|0}else{g=c[r>>2]|0;h=c[q>>2]|0;break}while(0);g=g+-1|0;i=h+1|0;j=d[h>>0]<<8;do if(!g)if(!(Fb[c[q+12>>2]&127](f)|0)){Qa=0;zb=Pa;return Qa|0}else{g=c[r>>2]|0;i=c[q>>2]|0;break}while(0);g=g+-1|0;h=i+1|0;i=j|d[i>>0];do if(!g)if(!(Fb[c[q+12>>2]&127](f)|0)){Qa=0;zb=Pa;return Qa|0}else{j=c[r>>2]|0;h=c[q>>2]|0;break}else j=g;while(0);k=a[h>>0]|0;p=k&255;Qa=c[f>>2]|0;c[Qa+20>>2]=105;c[Qa+24>>2]=p;Tb[c[(c[f>>2]|0)+4>>2]&63](f,1);do if(!((k&255)>4|(i|0)!=((p<<1)+6|0))){if(k<<24>>24){c[f+340>>2]=p;ya=j+-1|0;xa=ya;ya=(ya|0)==0;za=h+1|0;Aa=42;break}if(c[f+224>>2]|0){c[f+340>>2]=p;g=j+-1|0;if(!g){Ea=1;Aa=64}else{Ca=g;Ma=1;La=h+1|0}}else Aa=41}else Aa=41;while(0);if((Aa|0)==41){i=c[f>>2]|0;c[i+20>>2]=12;Rb[c[i>>2]&255](f);c[f+340>>2]=p;i=j+-1|0;h=h+1|0;g=(i|0)==0;if(!(k<<24>>24)){Ba=i;Da=1;Fa=g;Ja=h;Aa=63}else{xa=i;ya=g;za=h;Aa=42}}e:do if((Aa|0)==42){o=q+12|0;n=f+344|0;g=xa;h=ya;m=0;i=za;while(1){if(h){if(!(Fb[c[o>>2]&127](f)|0)){wa=0;Aa=350;break}g=c[r>>2]|0;i=c[q>>2]|0}l=g+-1|0;h=i+1|0;i=d[i>>0]|0;f:do if(m){g=0;while(1){if((c[c[f+344+(g<<2)>>2]>>2]|0)==(i|0))break;g=g+1|0;if(g>>>0>=m>>>0)break f}g=c[c[n>>2]>>2]|0;if(m>>>0>1){i=1;do{Qa=c[c[f+344+(i<<2)>>2]>>2]|0;g=(Qa|0)>(g|0)?Qa:g;i=i+1|0}while((i|0)!=(m|0))}i=g+1|0}while(0);g=c[Ga>>2]|0;j=c[Ka>>2]|0;g:do if((j|0)>0){k=0;while(1){if((i|0)==(c[g>>2]|0)){Ia=g;break g}k=k+1|0;g=g+88|0;if((k|0)>=(j|0)){Ha=g;Aa=58;break}}}else{Ha=g;Aa=58}while(0);if((Aa|0)==58){Aa=0;Ia=c[f>>2]|0;c[Ia+20>>2]=4;c[Ia+24>>2]=i;Rb[c[c[f>>2]>>2]&255](f);Ia=Ha}c[f+344+(m<<2)>>2]=Ia;if(!l){if(!(Fb[c[o>>2]&127](f)|0)){wa=0;Aa=350;break}g=c[r>>2]|0;h=c[q>>2]|0}else g=l;i=d[h>>0]|0;za=Ia+20|0;c[za>>2]=i>>>4;Qa=Ia+24|0;c[Qa>>2]=i&15;i=c[f>>2]|0;c[i+24>>2]=c[Ia>>2];c[i+28>>2]=c[za>>2];c[i+32>>2]=c[Qa>>2];c[i+20>>2]=106;Tb[c[i+4>>2]&63](f,1);m=m+1|0;g=g+-1|0;i=h+1|0;h=(g|0)==0;if(m>>>0>=p>>>0){Ba=g;Da=0;Fa=h;Ja=i;Aa=63;break e}}if((Aa|0)==350){zb=Pa;return wa|0}}while(0);if((Aa|0)==63)if(Fa){Ea=Da;Aa=64}else{Ca=Ba;Ma=Da;La=Ja}do if((Aa|0)==64)if(!(Fb[c[q+12>>2]&127](f)|0)){Qa=0;zb=Pa;return Qa|0}else{Ca=c[r>>2]|0;Ma=Ea;La=c[q>>2]|0;break}while(0);g=Ca+-1|0;h=La+1|0;k=f+412|0;c[k>>2]=d[La>>0];do if(!g)if(!(Fb[c[q+12>>2]&127](f)|0)){Qa=0;zb=Pa;return Qa|0}else{g=c[r>>2]|0;i=c[q>>2]|0;break}else i=h;while(0);h=g+-1|0;g=i+1|0;j=f+416|0;c[j>>2]=d[i>>0];do if(!h)if(!(Fb[c[q+12>>2]&127](f)|0)){Qa=0;zb=Pa;return Qa|0}else{h=c[r>>2]|0;g=c[q>>2]|0;break}while(0);Qa=d[g>>0]|0;Ka=f+420|0;c[Ka>>2]=Qa>>>4;La=f+424|0;c[La>>2]=Qa&15;Qa=c[f>>2]|0;c[Qa+24>>2]=c[k>>2];c[Qa+28>>2]=c[j>>2];c[Qa+32>>2]=c[Ka>>2];c[Qa+36>>2]=c[La>>2];c[Qa+20>>2]=107;Tb[c[Qa+4>>2]&63](f,1);c[(c[Na>>2]|0)+20>>2]=0;if(!Ma){Qa=f+144|0;c[Qa>>2]=(c[Qa>>2]|0)+1}c[q>>2]=g+1;c[r>>2]=h+-1;c[Oa>>2]=0;Qa=1;zb=Pa;return Qa|0}else if((Aa|0)==75){Qa=c[f>>2]|0;c[Qa+20>>2]=87;Tb[c[Qa+4>>2]&63](f,1);c[Oa>>2]=0;Qa=2;zb=Pa;return Qa|0}else if((Aa|0)==174){Qa=0;zb=Pa;return Qa|0}else if((Aa|0)==350){zb=Pa;return wa|0}return 0}function Vu(a){a=a|0;var b=0,d=0,e=0,f=0;f=a+440|0;b=c[f>>2]|0;do if(!b)if(!(Zu(a)|0)){f=0;return f|0}else{b=c[f>>2]|0;break}while(0);e=a+464|0;d=c[(c[e>>2]|0)+20>>2]|0;if((b|0)!=(d+208|0)){if(!(Hb[c[(c[a+24>>2]|0)+20>>2]&63](a,d)|0)){f=0;return f|0}}else{b=c[a>>2]|0;c[b+20>>2]=100;c[b+24>>2]=d;Tb[c[(c[a>>2]|0)+4>>2]&63](a,3);c[f>>2]=0}f=(c[e>>2]|0)+20|0;c[f>>2]=(c[f>>2]|0)+1&7;f=1;return f|0}function Wu(a){a=a|0;var b=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;j=a+24|0;h=c[j>>2]|0;i=h+4|0;b=c[i>>2]|0;do if(!b)if(!(Fb[c[h+12>>2]&127](a)|0)){j=0;return j|0}else{b=c[i>>2]|0;break}while(0);g=c[h>>2]|0;b=b+-1|0;e=g+1|0;g=(d[g>>0]|0)<<8;do if(!b)if(!(Fb[c[h+12>>2]&127](a)|0)){j=0;return j|0}else{b=c[i>>2]|0;f=c[h>>2]|0;break}else f=e;while(0);g=g|(d[f>>0]|0);e=g+-2|0;k=c[a>>2]|0;c[k+20>>2]=93;c[k+24>>2]=c[a+440>>2];c[(c[a>>2]|0)+28>>2]=e;Tb[c[(c[a>>2]|0)+4>>2]&63](a,1);c[h>>2]=f+1;c[i>>2]=b+-1;if(g>>>0<=2){k=1;return k|0}Tb[c[(c[j>>2]|0)+16>>2]&63](a,e);k=1;return k|0}function Xu(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;o=zb;zb=zb+16|0;l=o;n=b+24|0;k=c[n>>2]|0;m=k+4|0;e=c[m>>2]|0;do if(!e)if(!(Fb[c[k+12>>2]&127](b)|0)){n=0;zb=o;return n|0}else{e=c[m>>2]|0;break}while(0);g=c[k>>2]|0;e=e+-1|0;f=g+1|0;g=d[g>>0]<<8;do if(!e)if(!(Fb[c[k+12>>2]&127](b)|0)){n=0;zb=o;return n|0}else{e=c[m>>2]|0;f=c[k>>2]|0;break}while(0);i=g|d[f>>0];j=i+-2|0;i=i>>>0>15?14:i>>>0>2?j:0;e=e+-1|0;f=f+1|0;a:do if(!i)h=e;else{h=k+12|0;g=0;while(1){if(!e){if(!(Fb[c[h>>2]&127](b)|0)){e=0;break}e=c[m>>2]|0;f=c[k>>2]|0}a[l+g>>0]=a[f>>0]|0;g=g+1|0;e=e+-1|0;f=f+1|0;if(g>>>0>=i>>>0){h=e;break a}}zb=o;return e|0}while(0);g=j-i|0;e=c[b+440>>2]|0;b:do switch(e|0){case 224:{Yu(b,l,i,g);break}case 238:{if((((i>>>0>11&(a[l>>0]|0)==65?(a[l+1>>0]|0)==100:0)?(a[l+2>>0]|0)==111:0)?(a[l+3>>0]|0)==98:0)?(a[l+4>>0]|0)==101:0){p=d[l+7>>0]<<8|d[l+8>>0];e=d[l+9>>0]<<8|d[l+10>>0];j=a[l+11>>0]|0;i=c[b>>2]|0;c[i+24>>2]=d[l+5>>0]<<8|d[l+6>>0];c[i+28>>2]=p;c[i+32>>2]=e;c[i+36>>2]=j&255;c[i+20>>2]=78;Tb[c[i+4>>2]&63](b,1);c[b+296>>2]=1;a[b+300>>0]=j;break b}p=c[b>>2]|0;c[p+20>>2]=80;c[p+24>>2]=j;Tb[c[(c[b>>2]|0)+4>>2]&63](b,1);break}default:{p=c[b>>2]|0;c[p+20>>2]=70;c[p+24>>2]=e;Rb[c[c[b>>2]>>2]&255](b)}}while(0);c[k>>2]=f;c[m>>2]=h;if((g|0)<=0){p=1;zb=o;return p|0}Tb[c[(c[n>>2]|0)+16>>2]&63](b,g);p=1;zb=o;return p|0}function Yu(e,f,g,h){e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;r=h+g|0;if(g>>>0>13){if((a[f>>0]|0)==74)if((((a[f+1>>0]|0)==70?(a[f+2>>0]|0)==73:0)?(a[f+3>>0]|0)==70:0)?(a[f+4>>0]|0)==0:0){c[e+284>>2]=1;j=a[f+5>>0]|0;k=e+288|0;a[k>>0]=j;l=a[f+6>>0]|0;m=e+289|0;a[m>>0]=l;h=a[f+7>>0]|0;p=e+290|0;a[p>>0]=h;i=(d[f+8>>0]<<8|d[f+9>>0])&65535;n=e+292|0;b[n>>1]=i;g=(d[f+10>>0]<<8|d[f+11>>0])&65535;o=e+294|0;b[o>>1]=g;if((j+-1&255)<2){q=e;k=l}else{q=c[e>>2]|0;c[q+20>>2]=122;c[q+24>>2]=j&255;c[(c[e>>2]|0)+28>>2]=d[m>>0];Tb[c[(c[e>>2]|0)+4>>2]&63](e,-1);q=e;j=a[k>>0]|0;k=a[m>>0]|0;i=b[n>>1]|0;g=b[o>>1]|0;h=a[p>>0]|0}p=c[e>>2]|0;c[p+24>>2]=j&255;c[p+28>>2]=k&255;c[p+32>>2]=i&65535;c[p+36>>2]=g&65535;c[p+40>>2]=h&255;c[p+20>>2]=89;Tb[c[p+4>>2]&63](q,1);i=f+12|0;h=a[i>>0]|0;j=f+13|0;g=a[j>>0]|0;if(!((g|h)<<24>>24))i=h;else{g=c[e>>2]|0;c[g+20>>2]=92;c[g+24>>2]=d[i>>0];c[(c[e>>2]|0)+28>>2]=d[j>>0];Tb[c[(c[e>>2]|0)+4>>2]&63](q,1);i=a[i>>0]|0;g=a[j>>0]|0}h=r+-14|0;if((h|0)==(C((i&255)*3|0,g&255)|0))return;r=c[e>>2]|0;c[r+20>>2]=90;c[r+24>>2]=h;Tb[c[(c[e>>2]|0)+4>>2]&63](q,1);return}else i=16}else if(g>>>0>5?(a[f>>0]|0)==74:0)i=16;if(((((i|0)==16?(a[f+1>>0]|0)==70:0)?(a[f+2>>0]|0)==88:0)?(a[f+3>>0]|0)==88:0)?(a[f+4>>0]|0)==0:0){h=f+5|0;switch(a[h>>0]|0){case 16:{q=c[e>>2]|0;c[q+20>>2]=110;c[q+24>>2]=r;Tb[c[(c[e>>2]|0)+4>>2]&63](e,1);return}case 17:{q=c[e>>2]|0;c[q+20>>2]=111;c[q+24>>2]=r;Tb[c[(c[e>>2]|0)+4>>2]&63](e,1);return}case 19:{q=c[e>>2]|0;c[q+20>>2]=112;c[q+24>>2]=r;Tb[c[(c[e>>2]|0)+4>>2]&63](e,1);return}default:{q=c[e>>2]|0;c[q+20>>2]=91;c[q+24>>2]=d[h>>0];c[(c[e>>2]|0)+28>>2]=r;Tb[c[(c[e>>2]|0)+4>>2]&63](e,1);return}}}q=c[e>>2]|0;c[q+20>>2]=79;c[q+24>>2]=r;Tb[c[(c[e>>2]|0)+4>>2]&63](e,1);return}function Zu(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;j=c[b+24>>2]|0;k=j+4|0;i=j+12|0;l=b+464|0;d=c[k>>2]|0;e=c[j>>2]|0;a:while(1){if(!d){if(!(Fb[c[i>>2]&127](b)|0)){d=0;e=21;break}d=c[k>>2]|0;e=c[j>>2]|0}d=d+-1|0;f=e+1|0;if((a[e>>0]|0)==-1)e=f;else{e=f;do{h=(c[l>>2]|0)+24|0;c[h>>2]=(c[h>>2]|0)+1;c[j>>2]=e;c[k>>2]=d;if(!d){if(!(Fb[c[i>>2]&127](b)|0)){d=0;e=21;break a}d=c[k>>2]|0;f=c[j>>2]|0}else f=e;d=d+-1|0;e=f+1|0}while((a[f>>0]|0)!=-1)}h=e;do{if(!d){if(!(Fb[c[i>>2]&127](b)|0)){d=0;e=21;break a}d=c[k>>2]|0;e=c[j>>2]|0}else e=h;d=d+-1|0;h=e+1|0;f=a[e>>0]|0}while(f<<24>>24==-1);e=(c[l>>2]|0)+24|0;g=c[e>>2]|0;if(f<<24>>24){e=18;break}c[e>>2]=g+2;c[j>>2]=h;c[k>>2]=d;e=h}if((e|0)==18){e=f&255;if(g|0){i=c[b>>2]|0;c[i+20>>2]=119;c[i+24>>2]=g;c[(c[b>>2]|0)+28>>2]=e;Tb[c[(c[b>>2]|0)+4>>2]&63](b,-1);c[(c[l>>2]|0)+24>>2]=0}c[b+440>>2]=e;c[j>>2]=h;c[k>>2]=d;l=1;return l|0}else if((e|0)==21)return d|0;return 0}function _u(a,b,e,f){a=a|0;b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;o=c[a+24>>2]|0;h=c[o>>2]|0;p=o+4|0;g=c[p>>2]|0;c[a+220>>2]=b;c[a+224>>2]=e;c[a+228>>2]=f;do if(!g)if(!(Fb[c[o+12>>2]&127](a)|0)){p=0;return p|0}else{g=c[p>>2]|0;h=c[o>>2]|0;break}while(0);g=g+-1|0;f=h+1|0;b=(d[h>>0]|0)<<8;do if(!g)if(!(Fb[c[o+12>>2]&127](a)|0)){p=0;return p|0}else{g=c[p>>2]|0;f=c[o>>2]|0;break}while(0);g=g+-1|0;h=f+1|0;j=b|(d[f>>0]|0);do if(!g)if(!(Fb[c[o+12>>2]&127](a)|0)){p=0;return p|0}else{g=c[p>>2]|0;f=c[o>>2]|0;break}else f=h;while(0);g=g+-1|0;h=f+1|0;c[a+212>>2]=d[f>>0];do if(!g)if(!(Fb[c[o+12>>2]&127](a)|0)){p=0;return p|0}else{g=c[p>>2]|0;h=c[o>>2]|0;break}while(0);f=g+-1|0;b=h+1|0;g=(d[h>>0]|0)<<8;i=a+32|0;c[i>>2]=g;do if(!f)if(!(Fb[c[o+12>>2]&127](a)|0)){p=0;return p|0}else{e=c[i>>2]|0;g=c[p>>2]|0;f=c[o>>2]|0;break}else{e=g;g=f;f=b}while(0);g=g+-1|0;h=f+1|0;c[i>>2]=e+(d[f>>0]|0);do if(!g)if(!(Fb[c[o+12>>2]&127](a)|0)){p=0;return p|0}else{g=c[p>>2]|0;h=c[o>>2]|0;break}while(0);f=g+-1|0;b=h+1|0;g=(d[h>>0]|0)<<8;e=a+28|0;c[e>>2]=g;do if(!f)if(!(Fb[c[o+12>>2]&127](a)|0)){p=0;return p|0}else{g=c[e>>2]|0;h=c[p>>2]|0;b=c[o>>2]|0;break}else h=f;while(0);h=h+-1|0;f=b+1|0;c[e>>2]=g+(d[b>>0]|0);do if(!h)if(!(Fb[c[o+12>>2]&127](a)|0)){p=0;return p|0}else{h=c[p>>2]|0;b=c[o>>2]|0;break}else b=f;while(0);m=a+36|0;c[m>>2]=d[b>>0];f=j+-8|0;n=c[a>>2]|0;c[n+24>>2]=c[a+440>>2];c[n+28>>2]=c[e>>2];c[n+32>>2]=c[i>>2];c[n+36>>2]=c[m>>2];c[n+20>>2]=102;Tb[c[n+4>>2]&63](a,1);n=a+464|0;if(c[(c[n>>2]|0)+16>>2]|0){l=c[a>>2]|0;c[l+20>>2]=61;Rb[c[l>>2]&255](a)}if(((c[i>>2]|0)!=0?(c[e>>2]|0)!=0:0)?(k=c[m>>2]|0,(k|0)>=1):0)g=k;else{g=c[a>>2]|0;c[g+20>>2]=33;Rb[c[g>>2]&255](a);g=c[m>>2]|0}if((f|0)!=(g*3|0)){l=c[a>>2]|0;c[l+20>>2]=12;Rb[c[l>>2]&255](a)}l=a+216|0;if(!(c[l>>2]|0))c[l>>2]=Ib[c[c[a+4>>2]>>2]&63](a,1,(c[m>>2]|0)*88|0)|0;f=h+-1|0;g=b+1|0;a:do if((c[m>>2]|0)>0){k=o+12|0;j=0;while(1){if(!f){if(!(Fb[c[k>>2]&127](a)|0)){g=0;h=57;break}f=c[p>>2]|0;g=c[o>>2]|0}i=f+-1|0;f=g+1|0;g=d[g>>0]|0;e=c[l>>2]|0;b:do if(!j)h=e;else{h=e;b=0;while(1){if((c[h>>2]|0)==(g|0))break;b=b+1|0;h=h+88|0;if(b>>>0>=j>>>0)break b}g=c[e>>2]|0;h=e+88|0;if(j>>>0>1){b=1;while(1){q=c[h>>2]|0;g=(q|0)>(g|0)?q:g;b=b+1|0;if((b|0)==(j|0))break;else h=h+88|0}h=e+(j*88|0)|0}g=g+1|0}while(0);c[h>>2]=g;c[h+4>>2]=j;if(!i){if(!(Fb[c[k>>2]&127](a)|0)){g=0;h=57;break}g=c[p>>2]|0;f=c[o>>2]|0}else g=i;g=g+-1|0;b=f+1|0;q=d[f>>0]|0;f=h+8|0;c[f>>2]=q>>>4;e=h+12|0;c[e>>2]=q&15;if(!g){if(!(Fb[c[k>>2]&127](a)|0)){g=0;h=57;break}g=c[p>>2]|0;b=c[o>>2]|0}i=h+16|0;c[i>>2]=d[b>>0];q=c[a>>2]|0;c[q+24>>2]=c[h>>2];c[q+28>>2]=c[f>>2];c[q+32>>2]=c[e>>2];c[q+36>>2]=c[i>>2];c[q+20>>2]=103;Tb[c[q+4>>2]&63](a,1);j=j+1|0;f=g+-1|0;g=b+1|0;if((j|0)>=(c[m>>2]|0))break a}if((h|0)==57)return g|0}while(0);c[(c[n>>2]|0)+16>>2]=1;c[o>>2]=g;c[p>>2]=f;q=1;return q|0}function $u(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;j=c[a+4>>2]|0;if(d>>>0>999999984){k=c[a>>2]|0;c[k+20>>2]=56;c[k+24>>2]=1;Rb[c[c[a>>2]>>2]&255](a)}k=d&7;k=((k|0)==0?0:8-k|0)+d|0;if(b>>>0>1){i=c[a>>2]|0;c[i+20>>2]=15;c[i+24>>2]=b;Rb[c[c[a>>2]>>2]&255](a)}i=j+52+(b<<2)|0;d=c[i>>2]|0;a:do if(!d){h=0;f=9}else while(1){if((c[d+8>>2]|0)>>>0>=k>>>0)break a;e=c[d>>2]|0;if(!e){h=d;f=9;break}else d=e}while(0);do if((f|0)==9){g=(h|0)==0;f=c[(g?15924:15932)+(b<<2)>>2]|0;b=999999984-k|0;f=f>>>0>b>>>0?b:f;b=f+k|0;e=b+16|0;d=ju(a,e)|0;if(!d)do{if(f>>>0<100){b=c[a>>2]|0;c[b+20>>2]=56;c[b+24>>2]=2;Rb[c[c[a>>2]>>2]&255](a)}f=f>>>1;b=f+k|0;e=b+16|0;d=ju(a,e)|0}while(!(d|0));j=j+76|0;c[j>>2]=(c[j>>2]|0)+e;c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=b;if(g){c[i>>2]=d;break}else{c[h>>2]=d;break}}while(0);i=d+4|0;j=c[i>>2]|0;c[i>>2]=j+k;i=d+8|0;c[i>>2]=(c[i>>2]|0)-k;return d+16+j|0}function av(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;g=c[a+4>>2]|0;if(d>>>0>999999984){f=c[a>>2]|0;c[f+20>>2]=56;c[f+24>>2]=3;Rb[c[c[a>>2]>>2]&255](a)}f=d&7;f=((f|0)==0?0:8-f|0)+d|0;if(b>>>0>1){e=c[a>>2]|0;c[e+20>>2]=15;c[e+24>>2]=b;Rb[c[c[a>>2]>>2]&255](a)}d=f+16|0;e=lu(a,d)|0;if(!e){h=c[a>>2]|0;c[h+20>>2]=56;c[h+24>>2]=4;Rb[c[c[a>>2]>>2]&255](a)}h=g+76|0;c[h>>2]=(c[h>>2]|0)+d;h=g+60+(b<<2)|0;c[e>>2]=c[h>>2];c[e+4>>2]=f;c[e+8>>2]=0;c[h>>2]=e;return e+16|0}function bv(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;g=c[a+4>>2]|0;f=999999984/(d>>>0)|0;if(d>>>0>999999984){n=c[a>>2]|0;c[n+20>>2]=72;Rb[c[n>>2]&255](a)}h=(f|0)<(e|0)?f:e;c[g+80>>2]=h;n=$u(a,b,e<<2)|0;if(!e)return n|0;m=~e;f=0;do{i=e-f|0;g=h;h=h>>>0>>0?h:i;i=av(a,b,C(h,d)|0)|0;if(h){j=f+m|0;l=~g;l=j>>>0>l>>>0?j:l;j=f;k=h;g=i;while(1){c[n+(j<<2)>>2]=g;k=k+-1|0;if(!k)break;else{j=j+1|0;g=g+d|0}}f=f+-1-l|0}}while(f>>>0>>0);return n|0}function cv(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;g=c[a+4>>2]|0;o=d<<7;f=999999984/(o>>>0)|0;if(o>>>0>999999984){n=c[a>>2]|0;c[n+20>>2]=72;Rb[c[n>>2]&255](a)}h=(f|0)<(e|0)?f:e;c[g+80>>2]=h;n=$u(a,b,e<<2)|0;if(!e)return n|0;m=~e;f=0;do{i=e-f|0;g=h;h=h>>>0>>0?h:i;i=av(a,b,C(o,h)|0)|0;if(h){j=f+m|0;l=~g;l=j>>>0>l>>>0?j:l;j=f;k=h;g=i;while(1){c[n+(j<<2)>>2]=g;k=k+-1|0;if(!k)break;else{j=j+1|0;g=g+(d<<7)|0}}f=f+-1-l|0}}while(f>>>0>>0);return n|0}function dv(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0;h=c[a+4>>2]|0;if((b|0)==1)b=1;else{i=c[a>>2]|0;c[i+20>>2]=15;c[i+24>>2]=b;Rb[c[c[a>>2]>>2]&255](a)}i=$u(a,b,128)|0;c[i>>2]=0;c[i+4>>2]=f;c[i+8>>2]=e;c[i+12>>2]=g;c[i+32>>2]=d;c[i+40>>2]=0;e=h+68|0;c[i+44>>2]=c[e>>2];c[e>>2]=i;return i|0}function ev(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0;h=c[a+4>>2]|0;if((b|0)==1)b=1;else{i=c[a>>2]|0;c[i+20>>2]=15;c[i+24>>2]=b;Rb[c[c[a>>2]>>2]&255](a)}i=$u(a,b,128)|0;c[i>>2]=0;c[i+4>>2]=f;c[i+8>>2]=e;c[i+12>>2]=g;c[i+32>>2]=d;c[i+40>>2]=0;d=h+72|0;c[i+44>>2]=c[d>>2];c[d>>2]=i;return i|0}function fv(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;u=a+4|0;s=c[u>>2]|0;f=s+68|0;b=c[f>>2]|0;if(!b){d=0;e=0}else{d=0;e=0;do{if(!(c[b>>2]|0)){t=c[b+8>>2]|0;e=(C(t,c[b+12>>2]|0)|0)+e|0;d=(C(c[b+4>>2]|0,t)|0)+d|0}b=c[b+44>>2]|0}while((b|0)!=0)}r=s+72|0;b=c[r>>2]|0;if(b)do{if(!(c[b>>2]|0)){t=c[b+8>>2]|0;e=(C(c[b+12>>2]<<7,t)|0)+e|0;d=(C(t<<7,c[b+4>>2]|0)|0)+d|0}b=c[b+44>>2]|0}while((b|0)!=0);if((e|0)<1)return;b=nu(a,e,d,c[s+76>>2]|0)|0;if((b|0)<(d|0)){t=(b|0)/(e|0)|0;t=(t|0)>1?t:1}else t=1e9;b=c[f>>2]|0;if(b|0){q=s+80|0;do{if(!(c[b>>2]|0)){d=c[b+4>>2]|0;e=c[b+12>>2]|0;if(((((d+-1|0)>>>0)/(e>>>0)|0)+1|0)>(t|0)){p=b+16|0;c[p>>2]=C(e,t)|0;e=b+8|0;ou(a,b+48|0,C(c[e>>2]|0,d)|0);c[b+40>>2]=1;d=c[p>>2]|0}else{c[b+16>>2]=d;e=b+8|0}p=c[e>>2]|0;f=c[u>>2]|0;e=999999984/(p>>>0)|0;if(p>>>0>999999984){o=c[a>>2]|0;c[o+20>>2]=72;Rb[c[o>>2]&255](a)}g=(e|0)<(d|0)?e:d;c[f+80>>2]=g;o=$u(a,1,d<<2)|0;if(d|0){n=~d;e=0;do{f=d-e|0;j=g;g=g>>>0>>0?g:f;f=C(g,p)|0;i=c[u>>2]|0;if(f>>>0>999999984){m=c[a>>2]|0;c[m+20>>2]=56;c[m+24>>2]=3;Rb[c[c[a>>2]>>2]&255](a)}h=f&7;h=((h|0)==0?0:8-h|0)+f|0;f=h+16|0;m=lu(a,f)|0;if(!m){l=c[a>>2]|0;c[l+20>>2]=56;c[l+24>>2]=4;Rb[c[c[a>>2]>>2]&255](a)}l=i+76|0;c[l>>2]=(c[l>>2]|0)+f;l=i+64|0;c[m>>2]=c[l>>2];c[m+4>>2]=h;c[m+8>>2]=0;c[l>>2]=m;if(g){l=e+n|0;h=~j;i=l>>>0>h>>>0;j=e;k=g;f=m+16|0;while(1){c[o+(j<<2)>>2]=f;k=k+-1|0;if(!k)break;else{j=j+1|0;f=f+p|0}}e=e+-1-(i?l:h)|0}}while(e>>>0>>0)}c[b>>2]=o;c[b+20>>2]=c[q>>2];c[b+24>>2]=0;c[b+28>>2]=0;c[b+36>>2]=0}b=c[b+44>>2]|0}while((b|0)!=0)}b=c[r>>2]|0;if(!b)return;r=s+80|0;do{if(!(c[b>>2]|0)){d=c[b+4>>2]|0;e=c[b+12>>2]|0;if(((((d+-1|0)>>>0)/(e>>>0)|0)+1|0)>(t|0)){s=b+16|0;c[s>>2]=C(e,t)|0;e=b+8|0;ou(a,b+48|0,C(d<<7,c[e>>2]|0)|0);c[b+40>>2]=1;d=c[s>>2]|0}else{c[b+16>>2]=d;e=b+8|0}p=c[e>>2]|0;f=c[u>>2]|0;q=p<<7;e=999999984/(q>>>0)|0;if(q>>>0>999999984){s=c[a>>2]|0;c[s+20>>2]=72;Rb[c[s>>2]&255](a)}g=(e|0)<(d|0)?e:d;c[f+80>>2]=g;o=$u(a,1,d<<2)|0;if(d|0){n=~d;e=0;do{i=d-e|0;j=g;g=g>>>0>>0?g:i;i=C(g,q)|0;f=c[u>>2]|0;if(i>>>0>999999984){s=c[a>>2]|0;c[s+20>>2]=56;c[s+24>>2]=3;Rb[c[c[a>>2]>>2]&255](a)}h=i|16;m=lu(a,h)|0;if(!m){s=c[a>>2]|0;c[s+20>>2]=56;c[s+24>>2]=4;Rb[c[c[a>>2]>>2]&255](a)}s=f+76|0;c[s>>2]=(c[s>>2]|0)+h;s=f+64|0;c[m>>2]=c[s>>2];c[m+4>>2]=i;c[m+8>>2]=0;c[s>>2]=m;if(g){l=e+n|0;h=~j;i=l>>>0>h>>>0;j=e;k=g;f=m+16|0;while(1){c[o+(j<<2)>>2]=f;k=k+-1|0;if(!k)break;else{j=j+1|0;f=f+(p<<7)|0}}e=e+-1-(i?l:h)|0}}while(e>>>0>>0)}c[b>>2]=o;c[b+20>>2]=c[r>>2];c[b+24>>2]=0;c[b+28>>2]=0;c[b+36>>2]=0}b=c[b+44>>2]|0}while((b|0)!=0);return}function gv(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;x=e+d|0;v=b+4|0;if(!((x>>>0<=(c[v>>2]|0)>>>0?(c[b+12>>2]|0)>>>0>=e>>>0:0)?(c[b>>2]|0)!=0:0)){y=c[a>>2]|0;c[y+20>>2]=23;Rb[c[y>>2]&255](a)}y=b+24|0;o=c[y>>2]|0;if(!(o>>>0<=d>>>0?x>>>0<=((c[b+16>>2]|0)+o|0)>>>0:0))w=7;a:do if((w|0)==7){if(!(c[b+40>>2]|0)){o=c[a>>2]|0;c[o+20>>2]=71;Rb[c[o>>2]&255](a)}m=b+36|0;if(c[m>>2]|0){l=c[b+8>>2]|0;g=c[y>>2]|0;o=b+20|0;n=b+16|0;e=c[n>>2]|0;b:do if((e|0)>0?(q=b+28|0,p=b+48|0,r=b+52|0,h=c[o>>2]|0,h=(h|0)<(e|0)?h:e,k=(c[q>>2]|0)-g|0,k=(h|0)<(k|0)?h:k,h=(c[v>>2]|0)-g|0,h=(k|0)<(h|0)?k:h,(h|0)>=1):0){i=C(g,l)|0;j=0;while(1){k=C(h,l)|0;Xb[c[r>>2]&63](a,p,c[(c[b>>2]|0)+(j<<2)>>2]|0,i,k);e=c[o>>2]|0;j=e+j|0;g=c[n>>2]|0;if((g|0)<=(j|0))break b;h=g-j|0;e=(e|0)<(h|0)?e:h;h=j+(c[y>>2]|0)|0;g=(c[q>>2]|0)-h|0;g=(e|0)<(g|0)?e:g;h=(c[v>>2]|0)-h|0;h=(g|0)<(h|0)?g:h;if((h|0)<1)break;else i=k+i|0}}while(0);c[m>>2]=0}l=b+16|0;e=c[l>>2]|0;if((c[y>>2]|0)>>>0>>0)g=d;else{g=x-e|0;g=(g|0)>0?g:0}c[y>>2]=g;k=c[b+8>>2]|0;m=b+20|0;if((e|0)>0?(u=b+28|0,t=b+48|0,s=c[m>>2]|0,s=(s|0)<(e|0)?s:e,r=(c[u>>2]|0)-g|0,r=(s|0)<(r|0)?s:r,s=(c[v>>2]|0)-g|0,s=(r|0)<(s|0)?r:s,(s|0)>=1):0){e=s;h=C(k,g)|0;i=0;while(1){j=C(e,k)|0;Xb[c[t>>2]&63](a,t,c[(c[b>>2]|0)+(i<<2)>>2]|0,h,j);e=c[m>>2]|0;i=e+i|0;g=c[l>>2]|0;if((g|0)<=(i|0))break a;r=g-i|0;r=(e|0)<(r|0)?e:r;e=i+(c[y>>2]|0)|0;s=(c[u>>2]|0)-e|0;s=(r|0)<(s|0)?r:s;e=(c[v>>2]|0)-e|0;e=(s|0)<(e|0)?s:e;if((e|0)<1)break;else h=j+h|0}}}while(0);h=b+28|0;g=c[h>>2]|0;do if(g>>>0>>0){e=(f|0)==0;if(g>>>0>>0)if(e){h=0;e=d}else{e=c[a>>2]|0;c[e+20>>2]=23;Rb[c[e>>2]&255](a);e=d;w=28}else if(e){h=0;e=g}else{e=g;w=28}if((w|0)==28){c[h>>2]=x;h=1}if(!(c[b+32>>2]|0)){if(h)break;x=c[a>>2]|0;c[x+20>>2]=23;Rb[c[x>>2]&255](a);break}h=c[b+8>>2]|0;g=c[y>>2]|0;e=e-g|0;g=x-g|0;if(e>>>0>>0)do{hP(c[(c[b>>2]|0)+(e<<2)>>2]|0,0,h|0)|0;e=e+1|0}while((e|0)!=(g|0))}while(0);if(!f){b=c[b>>2]|0;f=c[y>>2]|0;f=d-f|0;f=b+(f<<2)|0;return f|0}c[b+36>>2]=1;b=c[b>>2]|0;f=c[y>>2]|0;f=d-f|0;f=b+(f<<2)|0;return f|0}function hv(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;x=e+d|0;v=b+4|0;if(!((x>>>0<=(c[v>>2]|0)>>>0?(c[b+12>>2]|0)>>>0>=e>>>0:0)?(c[b>>2]|0)!=0:0)){y=c[a>>2]|0;c[y+20>>2]=23;Rb[c[y>>2]&255](a)}y=b+24|0;o=c[y>>2]|0;if(!(o>>>0<=d>>>0?x>>>0<=((c[b+16>>2]|0)+o|0)>>>0:0))w=7;a:do if((w|0)==7){if(!(c[b+40>>2]|0)){o=c[a>>2]|0;c[o+20>>2]=71;Rb[c[o>>2]&255](a)}l=b+36|0;if(c[l>>2]|0){m=c[b+8>>2]<<7;g=c[y>>2]|0;o=b+20|0;n=b+16|0;e=c[n>>2]|0;b:do if((e|0)>0?(q=b+28|0,p=b+48|0,r=b+52|0,h=c[o>>2]|0,h=(h|0)<(e|0)?h:e,k=(c[q>>2]|0)-g|0,k=(h|0)<(k|0)?h:k,h=(c[v>>2]|0)-g|0,h=(k|0)<(h|0)?k:h,(h|0)>=1):0){i=C(g,m)|0;j=0;while(1){k=C(h,m)|0;Xb[c[r>>2]&63](a,p,c[(c[b>>2]|0)+(j<<2)>>2]|0,i,k);e=c[o>>2]|0;j=e+j|0;g=c[n>>2]|0;if((g|0)<=(j|0))break b;h=g-j|0;e=(e|0)<(h|0)?e:h;h=j+(c[y>>2]|0)|0;g=(c[q>>2]|0)-h|0;g=(e|0)<(g|0)?e:g;h=(c[v>>2]|0)-h|0;h=(g|0)<(h|0)?g:h;if((h|0)<1)break;else i=k+i|0}}while(0);c[l>>2]=0}l=b+16|0;e=c[l>>2]|0;if((c[y>>2]|0)>>>0>>0)g=d;else{g=x-e|0;g=(g|0)>0?g:0}c[y>>2]=g;k=c[b+8>>2]<<7;m=b+20|0;if((e|0)>0?(u=b+28|0,t=b+48|0,s=c[m>>2]|0,s=(s|0)<(e|0)?s:e,r=(c[u>>2]|0)-g|0,r=(s|0)<(r|0)?s:r,s=(c[v>>2]|0)-g|0,s=(r|0)<(s|0)?r:s,(s|0)>=1):0){e=s;h=C(k,g)|0;i=0;while(1){j=C(e,k)|0;Xb[c[t>>2]&63](a,t,c[(c[b>>2]|0)+(i<<2)>>2]|0,h,j);e=c[m>>2]|0;i=e+i|0;g=c[l>>2]|0;if((g|0)<=(i|0))break a;r=g-i|0;r=(e|0)<(r|0)?e:r;e=i+(c[y>>2]|0)|0;s=(c[u>>2]|0)-e|0;s=(r|0)<(s|0)?r:s;e=(c[v>>2]|0)-e|0;e=(s|0)<(e|0)?s:e;if((e|0)<1)break;else h=j+h|0}}}while(0);h=b+28|0;g=c[h>>2]|0;do if(g>>>0>>0){e=(f|0)==0;if(g>>>0>>0)if(e){h=0;e=d}else{e=c[a>>2]|0;c[e+20>>2]=23;Rb[c[e>>2]&255](a);e=d;w=28}else if(e){h=0;e=g}else{e=g;w=28}if((w|0)==28){c[h>>2]=x;h=1}if(!(c[b+32>>2]|0)){if(h)break;x=c[a>>2]|0;c[x+20>>2]=23;Rb[c[x>>2]&255](a);break}h=c[b+8>>2]<<7;g=c[y>>2]|0;e=e-g|0;g=x-g|0;if(e>>>0>>0)do{hP(c[(c[b>>2]|0)+(e<<2)>>2]|0,0,h|0)|0;e=e+1|0}while((e|0)!=(g|0))}while(0);if(!f){b=c[b>>2]|0;f=c[y>>2]|0;f=d-f|0;f=b+(f<<2)|0;return f|0}c[b+36>>2]=1;b=c[b>>2]|0;f=c[y>>2]|0;f=d-f|0;f=b+(f<<2)|0;return f|0}function iv(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;g=c[a+4>>2]|0;if(b>>>0<=1){if((b|0)==1){f=g+68|0;d=c[f>>2]|0;if(d|0)do{e=d+40|0;if(c[e>>2]|0){c[e>>2]=0;Tb[c[d+56>>2]&63](a,d+48|0)}d=c[d+44>>2]|0}while((d|0)!=0);c[f>>2]=0;f=g+72|0;d=c[f>>2]|0;if(d|0)do{e=d+40|0;if(c[e>>2]|0){c[e>>2]=0;Tb[c[d+56>>2]&63](a,d+48|0)}d=c[d+44>>2]|0}while((d|0)!=0);c[f>>2]=0}}else{f=c[a>>2]|0;c[f+20>>2]=15;c[f+24>>2]=b;Rb[c[c[a>>2]>>2]&255](a)}f=g+60+(b<<2)|0;d=c[f>>2]|0;c[f>>2]=0;if(d|0){e=g+76|0;do{h=d;d=c[d>>2]|0;f=(c[h+4>>2]|0)+16+(c[h+8>>2]|0)|0;mu(a,h,f);c[e>>2]=(c[e>>2]|0)-f}while((d|0)!=0)}h=g+52+(b<<2)|0;d=c[h>>2]|0;c[h>>2]=0;if(!d)return;e=g+76|0;do{g=d;d=c[d>>2]|0;h=(c[g+4>>2]|0)+16+(c[g+8>>2]|0)|0;ku(a,g,h);c[e>>2]=(c[e>>2]|0)-h}while((d|0)!=0);return}function jv(a){a=a|0;var b=0;iv(a,1);iv(a,0);b=a+4|0;ku(a,c[b>>2]|0,84);c[b>>2]=0;qu(a);return}function kv(a){a=a|0;lv(a);return}function lv(a){a=a|0;var b=0,d=0;d=a+4|0;b=c[d>>2]|0;if(b|0)Rb[c[b+40>>2]&255](a);c[d>>2]=0;c[a+20>>2]=0;return}function mv(a){a=a|0;var b=0;b=c[a+4>>2]|0;if(!b)return;Tb[c[b+36>>2]&63](a,1);b=a+20|0;if(!(c[a+16>>2]|0)){c[b>>2]=100;return}else{c[b>>2]=200;c[a+312>>2]=0;return}}function nv(a,b){a=a|0;b=b|0;var d=0,e=0;d=c[a+20>>2]|0;if((d&-2|0)!=200){e=c[a>>2]|0;c[e+20>>2]=21;c[e+24>>2]=d;Rb[c[c[a>>2]>>2]&255](a)}d=ov(a)|0;switch(d|0){case 1:{e=1;return e|0}case 2:{if(b){e=c[a>>2]|0;c[e+20>>2]=53;Rb[c[e>>2]&255](a)}mv(a);e=2;return e|0}default:{e=d;return e|0}}return 0}function ov(b){b=b|0;var d=0,e=0,f=0,h=0,i=0;i=b+20|0;d=c[i>>2]|0;switch(d|0){case 200:{d=b+460|0;Rb[c[(c[d>>2]|0)+4>>2]&255](b);Rb[c[(c[b+24>>2]|0)+8>>2]&255](b);c[i>>2]=201;break}case 201:{d=b+460|0;break}case 210:case 208:case 207:case 206:case 205:case 204:case 203:{i=Fb[c[c[b+460>>2]>>2]&127](b)|0;return i|0}case 202:{i=1;return i|0}default:{i=c[b>>2]|0;c[i+20>>2]=21;c[i+24>>2]=d;Rb[c[c[b>>2]>>2]&255](b);i=0;return i|0}}d=Fb[c[c[d>>2]>>2]&127](b)|0;if((d|0)!=1){i=d;return i|0}d=c[b+36>>2]|0;a:do switch(d|0){case 1:{e=d;break}case 3:{e=c[b+216>>2]|0;f=c[e>>2]|0;d=c[e+88>>2]|0;e=c[e+176>>2]|0;h=(f|0)==1;if(!(h&(d|0)==2&(e|0)==3))if(!(h&(d|0)==34&(e|0)==35))if(!((f|0)==82&(d|0)==71&(e|0)==66))if(!((f|0)==114&(d|0)==103&(e|0)==98))if(!(c[b+284>>2]|0)){if(!(c[b+296>>2]|0)){h=c[b>>2]|0;c[h+24>>2]=f;c[h+28>>2]=d;c[h+32>>2]=e;c[h+20>>2]=113;Tb[c[h+4>>2]&63](b,1);e=2;d=3;break a}d=a[b+300>>0]|0;switch(d<<24>>24){case 0:{e=2;d=2;break a}case 1:{e=2;d=3;break a}default:{e=c[b>>2]|0;c[e+20>>2]=116;c[e+24>>2]=d&255;Tb[c[(c[b>>2]|0)+4>>2]&63](b,-1);e=2;d=3;break a}}}else{e=2;d=3}else{e=2;d=6}else{e=2;d=2}else{e=2;d=7}else{e=2;d=3}break}case 4:{if(!(c[b+296>>2]|0)){e=4;d=4}else{d=a[b+300>>0]|0;switch(d<<24>>24){case 0:{e=4;d=4;break a}case 2:{e=4;d=5;break a}default:{e=c[b>>2]|0;c[e+20>>2]=116;c[e+24>>2]=d&255;Tb[c[(c[b>>2]|0)+4>>2]&63](b,-1);e=4;d=5;break a}}}break}default:{e=0;d=0}}while(0);c[b+40>>2]=d;c[b+44>>2]=e;h=c[b+428>>2]|0;c[b+48>>2]=h;c[b+52>>2]=h;g[b+56>>3]=1.0;c[b+64>>2]=0;c[b+68>>2]=0;c[b+72>>2]=0;c[b+76>>2]=1;c[b+80>>2]=1;c[b+84>>2]=0;c[b+88>>2]=2;c[b+92>>2]=1;c[b+96>>2]=256;c[b+136>>2]=0;c[b+100>>2]=0;c[b+104>>2]=0;c[b+108>>2]=0;c[i>>2]=202;i=1;return i|0}function pv(a){a=a|0;var b=0,d=0,e=0;d=a+20|0;b=c[d>>2]|0;if((b+-205|0)>>>0<2?(c[a+64>>2]|0)==0:0){if((c[a+140>>2]|0)>>>0<(c[a+116>>2]|0)>>>0){b=c[a>>2]|0;c[b+20>>2]=69;Rb[c[b>>2]&255](a)}Rb[c[(c[a+444>>2]|0)+4>>2]&255](a);c[d>>2]=210}else e=6;a:do if((e|0)==6)switch(b|0){case 210:break a;case 207:{c[d>>2]=210;break a}default:{e=c[a>>2]|0;c[e+20>>2]=21;c[e+24>>2]=b;Rb[c[c[a>>2]>>2]&255](a);break a}}while(0);d=a+460|0;b=c[d>>2]|0;b:do if(!(c[b+20>>2]|0)){while(1){if(!(Fb[c[b>>2]&127](a)|0)){b=0;break}b=c[d>>2]|0;if(c[b+20>>2]|0)break b}return b|0}while(0);Rb[c[(c[a+24>>2]|0)+24>>2]&255](a);mv(a);a=1;return a|0}function qv(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;h=a+4|0;d=Ib[c[c[h>>2]>>2]&63](a,1,28)|0;e=a+480|0;c[e>>2]=d;c[d>>2]=127;g=a+40|0;switch(c[g>>2]|0){case 1:{if((c[a+36>>2]|0)!=1){f=c[a>>2]|0;c[f+20>>2]=11;Rb[c[f>>2]&255](a)}break}case 7:case 6:case 3:case 2:{if((c[a+36>>2]|0)!=3){f=c[a>>2]|0;c[f+20>>2]=11;Rb[c[f>>2]&255](a)}break}case 5:case 4:{if((c[a+36>>2]|0)!=4){f=c[a>>2]|0;c[f+20>>2]=11;Rb[c[f>>2]&255](a)}break}default:if((c[a+36>>2]|0)<1){f=c[a>>2]|0;c[f+20>>2]=11;Rb[c[f>>2]&255](a)}}f=a+304|0;a:do if(c[f>>2]|0){switch(c[g>>2]|0){case 6:case 2:break a;default:{}}b=c[a>>2]|0;c[b+20>>2]=28;Rb[c[b>>2]&255](a)}while(0);b=c[a+44>>2]|0;b:do switch(b|0){case 1:{c[a+120>>2]=1;switch(c[g>>2]|0){case 7:case 3:case 1:{c[d+4>>2]=4;b=c[a+36>>2]|0;if((b|0)<=1)break b;d=c[a+216>>2]|0;e=1;do{c[d+(e*88|0)+52>>2]=0;e=e+1|0}while((e|0)<(b|0));break}case 2:{switch(c[f>>2]|0){case 0:{c[d+4>>2]=5;break}case 1:{c[d+4>>2]=6;break}default:{g=c[a>>2]|0;c[g+20>>2]=28;Rb[c[g>>2]&255](a)}}d=c[e>>2]|0;b=Ib[c[c[h>>2]>>2]&63](a,1,3072)|0;c[d+24>>2]=b;d=0;do{c[b+(d<<2)>>2]=d*19595;c[b+(d+256<<2)>>2]=d*38470;c[b+(d+512<<2)>>2]=(d*7471|0)+32768;d=d+1|0}while((d|0)!=256);break}default:{h=c[a>>2]|0;c[h+20>>2]=28;Rb[c[h>>2]&255](a);break b}}break}case 2:{c[a+120>>2]=3;switch(c[g>>2]|0){case 1:{c[d+4>>2]=7;break b}case 3:{c[d+4>>2]=8;g=c[e>>2]|0;b=g+8|0;c[b>>2]=Ib[c[c[h>>2]>>2]&63](a,1,1024)|0;d=g+12|0;c[d>>2]=Ib[c[c[h>>2]>>2]&63](a,1,1024)|0;e=g+16|0;c[e>>2]=Ib[c[c[h>>2]>>2]&63](a,1,1024)|0;f=Ib[c[c[h>>2]>>2]&63](a,1,1024)|0;c[g+20>>2]=f;b=c[b>>2]|0;d=c[d>>2]|0;e=c[e>>2]|0;g=0;h=-128;while(1){c[b+(g<<2)>>2]=(h*91881|0)+32768>>16;c[d+(g<<2)>>2]=(h*116130|0)+32768>>16;c[e+(g<<2)>>2]=C(h,-46802)|0;c[f+(g<<2)>>2]=(C(h,-22553)|0)+32768;g=g+1|0;if((g|0)==256)break;else h=h+1|0}break}case 7:{c[d+4>>2]=8;g=c[e>>2]|0;b=g+8|0;c[b>>2]=Ib[c[c[h>>2]>>2]&63](a,1,1024)|0;d=g+12|0;c[d>>2]=Ib[c[c[h>>2]>>2]&63](a,1,1024)|0;e=g+16|0;c[e>>2]=Ib[c[c[h>>2]>>2]&63](a,1,1024)|0;f=Ib[c[c[h>>2]>>2]&63](a,1,1024)|0;c[g+20>>2]=f;b=c[b>>2]|0;d=c[d>>2]|0;e=c[e>>2]|0;g=0;h=-128;while(1){c[b+(g<<2)>>2]=(h*183763|0)+32768>>16;c[d+(g<<2)>>2]=(h*232260|0)+32768>>16;c[e+(g<<2)>>2]=C(h,-93603)|0;c[f+(g<<2)>>2]=(C(h,-45107)|0)+32768;g=g+1|0;if((g|0)==256)break;else h=h+1|0}break}case 2:switch(c[f>>2]|0){case 0:{c[d+4>>2]=9;break b}case 1:{c[d+4>>2]=10;break b}default:{h=c[a>>2]|0;c[h+20>>2]=28;Rb[c[h>>2]&255](a);break b}}default:{h=c[a>>2]|0;c[h+20>>2]=28;Rb[c[h>>2]&255](a);break b}}break}case 6:{c[a+120>>2]=3;if((c[g>>2]|0)!=6){h=c[a>>2]|0;c[h+20>>2]=28;Rb[c[h>>2]&255](a);break b}switch(c[f>>2]|0){case 0:{c[d+4>>2]=9;break b}case 1:{c[d+4>>2]=10;break b}default:{h=c[a>>2]|0;c[h+20>>2]=28;Rb[c[h>>2]&255](a);break b}}}case 4:{c[a+120>>2]=4;switch(c[g>>2]|0){case 5:{c[d+4>>2]=11;g=c[e>>2]|0;b=g+8|0;c[b>>2]=Ib[c[c[h>>2]>>2]&63](a,1,1024)|0;d=g+12|0;c[d>>2]=Ib[c[c[h>>2]>>2]&63](a,1,1024)|0;e=g+16|0;c[e>>2]=Ib[c[c[h>>2]>>2]&63](a,1,1024)|0;f=Ib[c[c[h>>2]>>2]&63](a,1,1024)|0;c[g+20>>2]=f;b=c[b>>2]|0;d=c[d>>2]|0;e=c[e>>2]|0;g=0;h=-128;while(1){c[b+(g<<2)>>2]=(h*91881|0)+32768>>16;c[d+(g<<2)>>2]=(h*116130|0)+32768>>16;c[e+(g<<2)>>2]=C(h,-46802)|0;c[f+(g<<2)>>2]=(C(h,-22553)|0)+32768;g=g+1|0;if((g|0)==256)break;else h=h+1|0}break}case 4:{c[d+4>>2]=12;break b}default:{h=c[a>>2]|0;c[h+20>>2]=28;Rb[c[h>>2]&255](a);break b}}break}default:if((b|0)==(c[g>>2]|0)){c[a+120>>2]=c[a+36>>2];c[d+4>>2]=12;break b}else{h=c[a>>2]|0;c[h+20>>2]=28;Rb[c[h>>2]&255](a);break b}}while(0);if(c[a+84>>2]|0){h=1;a=a+124|0;c[a>>2]=h;return}h=c[a+120>>2]|0;a=a+124|0;c[a>>2]=h;return}function rv(a){a=a|0;return}function sv(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;fu(c[b>>2]|0,d,e,0,f,c[a+112>>2]|0);return}function tv(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;q=c[(c[b+480>>2]|0)+24>>2]|0;n=c[b+112>>2]|0;if((h|0)<=0)return;o=e+4|0;p=e+8|0;if(!n)return;while(1){m=h;h=h+-1|0;b=c[(c[e>>2]|0)+(f<<2)>>2]|0;i=c[(c[o>>2]|0)+(f<<2)>>2]|0;j=c[(c[p>>2]|0)+(f<<2)>>2]|0;f=f+1|0;k=c[g>>2]|0;l=0;do{a[k+l>>0]=((c[q+((d[i+l>>0]|0|256)<<2)>>2]|0)+(c[q+((d[b+l>>0]|0)<<2)>>2]|0)+(c[q+((d[j+l>>0]|0|512)<<2)>>2]|0)|0)>>>16;l=l+1|0}while((l|0)!=(n|0));if((m|0)<=1)break;else g=g+4|0}return}function uv(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;q=c[(c[b+480>>2]|0)+24>>2]|0;n=c[b+112>>2]|0;if((h|0)<=0)return;o=e+4|0;p=e+8|0;if(!n)return;while(1){m=h;h=h+-1|0;b=c[(c[e>>2]|0)+(f<<2)>>2]|0;i=c[(c[o>>2]|0)+(f<<2)>>2]|0;j=c[(c[p>>2]|0)+(f<<2)>>2]|0;f=f+1|0;k=c[g>>2]|0;l=0;do{s=d[i+l>>0]|0;r=s+128|0;a[k+l>>0]=((c[q+((s|256)<<2)>>2]|0)+(c[q+((r+(d[b+l>>0]|0)&255)<<2)>>2]|0)+(c[q+((r+(d[j+l>>0]|0)&255|512)<<2)>>2]|0)|0)>>>16;l=l+1|0}while((l|0)!=(n|0));if((m|0)<=1)break;else g=g+4|0}return}function vv(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;k=c[b+112>>2]|0;if((g|0)<1|(k|0)==0)return;while(1){i=g;g=g+-1|0;b=c[(c[d>>2]|0)+(e<<2)>>2]|0;h=0;j=c[f>>2]|0;while(1){l=a[b+h>>0]|0;a[j+2>>0]=l;a[j+1>>0]=l;a[j>>0]=l;h=h+1|0;if((h|0)==(k|0))break;else j=j+3|0}if((i|0)<=1)break;else{e=e+1|0;f=f+4|0}}return}function wv(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;r=c[b+480>>2]|0;u=c[b+112>>2]|0;n=c[b+336>>2]|0;o=c[r+8>>2]|0;p=c[r+12>>2]|0;q=c[r+16>>2]|0;r=c[r+20>>2]|0;if((h|0)<=0)return;s=e+4|0;t=e+8|0;if(!u)return;while(1){l=h;h=h+-1|0;j=c[(c[e>>2]|0)+(f<<2)>>2]|0;b=c[(c[s>>2]|0)+(f<<2)>>2]|0;i=c[(c[t>>2]|0)+(f<<2)>>2]|0;f=f+1|0;k=0;m=c[g>>2]|0;while(1){v=d[j+k>>0]|0;w=d[b+k>>0]|0;x=d[i+k>>0]|0;a[m>>0]=a[n+((c[o+(x<<2)>>2]|0)+v)>>0]|0;a[m+1>>0]=a[n+(((c[q+(x<<2)>>2]|0)+(c[r+(w<<2)>>2]|0)>>16)+v)>>0]|0;a[m+2>>0]=a[n+((c[p+(w<<2)>>2]|0)+v)>>0]|0;k=k+1|0;if((k|0)==(u|0))break;else m=m+3|0}if((l|0)<=1)break;else g=g+4|0}return}function xv(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;m=c[b+112>>2]|0;if((g|0)<=0)return;n=d+4|0;o=d+8|0;if(!m)return;while(1){k=g;g=g+-1|0;b=c[(c[d>>2]|0)+(e<<2)>>2]|0;h=c[(c[n>>2]|0)+(e<<2)>>2]|0;i=c[(c[o>>2]|0)+(e<<2)>>2]|0;e=e+1|0;j=0;l=c[f>>2]|0;while(1){a[l>>0]=a[b+j>>0]|0;a[l+1>>0]=a[h+j>>0]|0;a[l+2>>0]=a[i+j>>0]|0;j=j+1|0;if((j|0)==(m|0))break;else l=l+3|0}if((k|0)<=1)break;else f=f+4|0}return}function yv(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;n=c[b+112>>2]|0;if((h|0)<=0)return;o=e+4|0;p=e+8|0;if(!n)return;while(1){l=h;h=h+-1|0;b=c[(c[e>>2]|0)+(f<<2)>>2]|0;i=c[(c[o>>2]|0)+(f<<2)>>2]|0;j=c[(c[p>>2]|0)+(f<<2)>>2]|0;f=f+1|0;k=0;m=c[g>>2]|0;while(1){s=a[i+k>>0]|0;q=d[j+k>>0]|0;r=(s&255)+128|0;a[m>>0]=r+(d[b+k>>0]|0);a[m+1>>0]=s;a[m+2>>0]=r+q;k=k+1|0;if((k|0)==(n|0))break;else m=m+3|0}if((l|0)<=1)break;else g=g+4|0}return}function zv(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;s=c[b+480>>2]|0;w=c[b+112>>2]|0;o=c[b+336>>2]|0;p=c[s+8>>2]|0;q=c[s+12>>2]|0;r=c[s+16>>2]|0;s=c[s+20>>2]|0;if((h|0)<=0)return;t=e+4|0;u=e+8|0;v=e+12|0;if(!w)return;while(1){m=h;h=h+-1|0;k=c[(c[e>>2]|0)+(f<<2)>>2]|0;b=c[(c[t>>2]|0)+(f<<2)>>2]|0;i=c[(c[u>>2]|0)+(f<<2)>>2]|0;j=c[(c[v>>2]|0)+(f<<2)>>2]|0;f=f+1|0;l=0;n=c[g>>2]|0;while(1){x=d[b+l>>0]|0;z=d[i+l>>0]|0;y=~a[k+l>>0]&255;a[n>>0]=a[o+(y-(c[p+(z<<2)>>2]|0))>>0]|0;a[n+1>>0]=a[o+(y-((c[r+(z<<2)>>2]|0)+(c[s+(x<<2)>>2]|0)>>16))>>0]|0;a[n+2>>0]=a[o+(y-(c[q+(x<<2)>>2]|0))>>0]|0;a[n+3>>0]=a[j+l>>0]|0;l=l+1|0;if((l|0)==(w|0))break;else n=n+4|0}if((m|0)<=1)break;else g=g+4|0}return}function Av(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;n=c[b+36>>2]|0;l=c[b+112>>2]|0;if((g|0)<=0)return;m=(l|0)==0;if((n|0)<=0)return;while(1){i=g;g=g+-1|0;if(!m){b=0;do{h=0;j=c[(c[d+(b<<2)>>2]|0)+(e<<2)>>2]|0;k=(c[f>>2]|0)+b|0;while(1){a[k>>0]=a[j>>0]|0;h=h+1|0;if((h|0)==(l|0))break;else{j=j+1|0;k=k+n|0}}b=b+1|0}while((b|0)!=(n|0))}if((i|0)<=1)break;else{e=e+1|0;f=f+4|0}}return}function Bv(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;e=a+24|0;d=c[e>>2]|0;if(!d){f=a+4|0;d=Ib[c[c[f>>2]>>2]&63](a,0,40)|0;c[e>>2]=d;c[d+32>>2]=Ib[c[c[f>>2]>>2]&63](a,0,4096)|0;d=c[e>>2]|0}c[d+8>>2]=128;c[d+12>>2]=90;c[d+16>>2]=48;c[d+20>>2]=47;c[d+24>>2]=129;c[d+28>>2]=b;c[d+4>>2]=0;c[d>>2]=0;return}function Cv(a){a=a|0;c[(c[a+24>>2]|0)+36>>2]=1;return}function Dv(b){b=b|0;var d=0,e=0,f=0,g=0;e=c[b+24>>2]|0;f=e+32|0;d=AA(c[f>>2]|0,1,4096,c[e+28>>2]|0)|0;g=e+36|0;if(d|0){b=c[f>>2]|0;c[e>>2]=b;b=e+4|0;c[b>>2]=d;c[g>>2]=0;return 1}if(!(c[g>>2]|0))d=b;else{d=c[b>>2]|0;c[d+20>>2]=43;Rb[c[d>>2]&255](b);d=b}b=c[b>>2]|0;c[b+20>>2]=123;Tb[c[b+4>>2]&63](d,-1);a[c[f>>2]>>0]=-1;a[(c[f>>2]|0)+1>>0]=-39;d=2;b=c[f>>2]|0;c[e>>2]=b;b=e+4|0;c[b>>2]=d;c[g>>2]=0;return 1}function Ev(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;f=c[a+24>>2]|0;if((b|0)<=0)return;g=f+4|0;d=c[g>>2]|0;if((d|0)<(b|0)){e=f+12|0;do{b=b-d|0;Fb[c[e>>2]&127](a)|0;d=c[g>>2]|0}while((b|0)>(d|0))}c[f>>2]=(c[f>>2]|0)+b;c[g>>2]=d-b;return}function Fv(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;k=a+440|0;e=c[k>>2]|0;h=c[a>>2]|0;c[h+20>>2]=124;c[h+24>>2]=e;c[(c[a>>2]|0)+28>>2]=b;Tb[c[(c[a>>2]|0)+4>>2]&63](a,-1);h=b+1&7|208;i=b+2&7|208;j=b+7&7|208;b=b+6&7|208;a:while(1){d=(e|0)<192;f=(e&-8|0)!=208|(e|0)==(h|0)|(e|0)==(i|0);g=(e|0)==(j|0)|(e|0)==(b|0)?2:1;b:while(1){l=d?2:f?3:g;m=c[a>>2]|0;c[m+20>>2]=99;c[m+24>>2]=e;c[(c[a>>2]|0)+28>>2]=l;Tb[c[(c[a>>2]|0)+4>>2]&63](a,4);switch(l&3){case 1:{d=4;break a}case 3:{b=1;d=7;break a}case 2:break b;default:{}}}if(!(Zu(a)|0)){b=0;d=7;break}e=c[k>>2]|0}if((d|0)==4){c[k>>2]=0;m=1;return m|0}else if((d|0)==7)return b|0;return 0}function Gv(a){a=a|0;return}function Hv(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;s=b+4|0;t=Ib[c[c[s>>2]>>2]&63](b,1,88)|0;p=b+484|0;c[p>>2]=t;c[t>>2]=49;c[t+8>>2]=130;c[t+12>>2]=131;c[t+68>>2]=0;c[t+52>>2]=0;t=b+120|0;if((c[t>>2]|0)>4){n=c[b>>2]|0;c[n+20>>2]=57;c[n+24>>2]=4;Rb[c[c[b>>2]>>2]&255](b)}e=b+96|0;d=c[e>>2]|0;if((d|0)>256){d=c[b>>2]|0;c[d+20>>2]=59;c[d+24>>2]=256;Rb[c[c[b>>2]>>2]&255](b);d=c[e>>2]|0}n=c[p>>2]|0;l=n+32|0;k=c[t>>2]|0;if((k|0)>1){h=1;while(1){g=h+1|0;f=1;e=g;do{e=C(e,g)|0;f=f+1|0}while((f|0)!=(k|0));if((e|0)>(d|0))break;else h=g}}else{e=(d|0)>1?d:1;h=e;e=e+1|0}if(h>>>0<2){j=c[b>>2]|0;c[j+20>>2]=58;c[j+24>>2]=e;Rb[c[c[b>>2]>>2]&255](b)}a:do if((k|0)>0){e=0;f=1;do{c[n+32+(e<<2)>>2]=h;f=C(f,h)|0;e=e+1|0}while((e|0)!=(k|0));if((c[b+44>>2]|0)==2){j=0;e=0;i=f;while(1){h=n+32+(c[15940+(e<<2)>>2]<<2)|0;f=c[h>>2]|0;g=f+1|0;f=C((i|0)/(f|0)|0,g)|0;if((f|0)<=(d|0)){c[h>>2]=g;e=e+1|0;if((e|0)<(k|0))g=1;else{e=1;m=22}}else{e=j;f=i;m=22}if((m|0)==22){m=0;if(!e)break a;else{g=0;e=0}}j=g;i=f}}else{j=0;e=0;i=f;while(1){h=n+32+(e<<2)|0;f=c[h>>2]|0;g=f+1|0;f=C((i|0)/(f|0)|0,g)|0;if((f|0)<=(d|0)){c[h>>2]=g;e=e+1|0;if((e|0)<(k|0))g=1;else{e=1;m=26}}else{e=j;f=i;m=26}if((m|0)==26){m=0;if(!e)break a;else{g=0;e=0}}j=g;i=f}}}else f=1;while(0);d=c[b>>2]|0;if((c[t>>2]|0)==3){c[d+24>>2]=f;c[d+28>>2]=c[l>>2];c[d+32>>2]=c[n+36>>2];c[d+36>>2]=c[n+40>>2];c[d+20>>2]=96;Tb[c[d+4>>2]&63](b,1)}else{c[d+20>>2]=97;c[d+24>>2]=f;Tb[c[(c[b>>2]|0)+4>>2]&63](b,1)}m=Jb[c[(c[s>>2]|0)+8>>2]&15](b,1,f,c[t>>2]|0)|0;d=c[t>>2]|0;if((d|0)>0){k=f;l=0;do{i=c[n+32+(l<<2)>>2]|0;j=k;k=(k|0)/(i|0)|0;if((i|0)>0?(r=i+-1|0,q=(r|0)/2|0,o=m+(l<<2)|0,(k|0)>0):0){h=0;do{d=C(h,k)|0;if((d|0)<(f|0)){g=(((h*255|0)+q|0)/(r|0)|0)&255;do{e=0;do{a[(c[o>>2]|0)+(e+d)>>0]=g;e=e+1|0}while((e|0)!=(k|0));d=d+j|0}while((d|0)<(f|0))}h=h+1|0}while((h|0)!=(i|0));d=c[t>>2]|0}l=l+1|0}while((l|0)<(d|0))}c[n+16>>2]=m;c[n+20>>2]=f;Lv(b);if((c[b+88>>2]|0)!=2)return;d=c[p>>2]|0;f=(c[b+112>>2]<<1)+4|0;if((c[t>>2]|0)<=0)return;e=0;do{c[d+68+(e<<2)>>2]=Ib[c[(c[s>>2]|0)+4>>2]&63](b,1,f)|0;e=e+1|0}while((e|0)<(c[t>>2]|0));return}function Iv(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;b=a+484|0;j=c[b>>2]|0;c[a+136>>2]=c[j+16>>2];c[a+132>>2]=c[j+20>>2];switch(c[a+88>>2]|0){case 0:{b=j+4|0;if((c[a+120>>2]|0)==3){c[b>>2]=9;return}else{c[b>>2]=10;return}}case 1:{l=a+120|0;c[j+4>>2]=(c[l>>2]|0)==3?12:11;c[j+48>>2]=0;if(!(c[j+28>>2]|0))Lv(a);if(c[j+52>>2]|0)return;j=c[b>>2]|0;b=c[l>>2]|0;if((b|0)<=0)return;k=a+4|0;i=0;do{f=c[j+32+(i<<2)>>2]|0;a:do if(i){e=0;while(1){if((f|0)==(c[j+32+(e<<2)>>2]|0))break;e=e+1|0;if(e>>>0>=i>>>0){m=15;break a}}e=c[j+52+(e<<2)>>2]|0;if(!e)m=15}else m=15;while(0);if((m|0)==15){m=0;e=Ib[c[c[k>>2]>>2]&63](a,1,1024)|0;h=(f<<9)+-512|0;f=0;do{g=0;do{n=255-((d[5248+(f<<4)+g>>0]|0)<<1)|0;b=n*255|0;if((n|0)<0)b=0-((0-b|0)/(h|0)|0)|0;else b=(b|0)/(h|0)|0;c[e+(f<<6)+(g<<2)>>2]=b;g=g+1|0}while((g|0)!=16);f=f+1|0}while((f|0)!=16);b=c[l>>2]|0}c[j+52+(i<<2)>>2]=e;i=i+1|0}while((i|0)<(b|0));return}case 2:{c[j+4>>2]=13;c[j+84>>2]=0;if(!(c[j+68>>2]|0)){b=a+112|0;h=(c[b>>2]<<1)+4|0;i=a+120|0;if((c[i>>2]|0)<=0)return;g=a+4|0;f=0;do{c[j+68+(f<<2)>>2]=Ib[c[(c[g>>2]|0)+4>>2]&63](a,1,h)|0;f=f+1|0;e=c[i>>2]|0}while((f|0)<(e|0));f=e;g=i}else{g=a+120|0;f=c[g>>2]|0;b=a+112|0}e=(c[b>>2]<<1)+4|0;if((f|0)<=0)return;b=0;do{hP(c[j+68+(b<<2)>>2]|0,0,e|0)|0;b=b+1|0}while((b|0)<(c[g>>2]|0));return}default:{n=c[a>>2]|0;c[n+20>>2]=49;Rb[c[n>>2]&255](a);return}}}function Jv(a){a=a|0;return}function Kv(a){a=a|0;var b=0;b=c[a>>2]|0;c[b+20>>2]=47;Rb[c[b>>2]&255](a);return}function Lv(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;l=c[b+484>>2]|0;e=(c[b+88>>2]|0)==1;c[l+28>>2]=e&1;m=b+120|0;b=Jb[c[(c[b+4>>2]|0)+8>>2]&15](b,1,e?766:256,c[m>>2]|0)|0;k=l+24|0;c[k>>2]=b;d=c[l+20>>2]|0;if((c[m>>2]|0)<=0)return;if(!e){e=0;while(1){f=c[l+32+(e<<2)>>2]|0;d=(d|0)/(f|0)|0;g=c[b+(e<<2)>>2]|0;j=f+-1|0;i=j<<1;h=0;f=(f+254|0)/(i|0)|0;b=0;do{if((h|0)>(f|0))do{b=b+1|0;f=(((b<<1|1)*255|0)+j|0)/(i|0)|0}while((h|0)>(f|0));a[g+h>>0]=C(b,d)|0;h=h+1|0}while((h|0)!=256);e=e+1|0;if((e|0)>=(c[m>>2]|0))break;b=c[k>>2]|0}return}e=0;while(1){f=c[l+32+(e<<2)>>2]|0;d=(d|0)/(f|0)|0;j=b+(e<<2)|0;c[j>>2]=(c[j>>2]|0)+255;j=c[(c[k>>2]|0)+(e<<2)>>2]|0;i=f+-1|0;h=i<<1;g=0;f=(f+254|0)/(h|0)|0;b=0;do{if((g|0)>(f|0))do{b=b+1|0;f=(((b<<1|1)*255|0)+i|0)/(h|0)|0}while((g|0)>(f|0));a[j+g>>0]=C(b,d)|0;g=g+1|0}while((g|0)!=256);b=j+255|0;f=1;do{a[j+(0-f)>>0]=a[j>>0]|0;a[j+(f+255)>>0]=a[b>>0]|0;f=f+1|0}while((f|0)!=256);e=e+1|0;if((e|0)>=(c[m>>2]|0))break;b=c[k>>2]|0}return}function Mv(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;n=c[(c[b+484>>2]|0)+24>>2]|0;l=c[n>>2]|0;m=c[n+4>>2]|0;n=c[n+8>>2]|0;b=c[b+112>>2]|0;if((g|0)<1|(b|0)==0)return;k=0;do{h=b;i=c[e+(k<<2)>>2]|0;j=c[f+(k<<2)>>2]|0;while(1){a[j>>0]=(d[m+(d[i+1>>0]|0)>>0]|0)+(d[l+(d[i>>0]|0)>>0]|0)+(d[n+(d[i+2>>0]|0)>>0]|0);h=h+-1|0;if(!h)break;else{i=i+3|0;j=j+1|0}}k=k+1|0}while((k|0)!=(g|0));return}function Nv(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;o=c[(c[b+484>>2]|0)+24>>2]|0;p=c[b+112>>2]|0;b=c[b+120>>2]|0;if((g|0)<1|(p|0)==0)return;if((b|0)<=0){b=0;do{hP(c[f+(b<<2)>>2]|0,0,p|0)|0;b=b+1|0}while((b|0)!=(g|0));return}n=0;do{i=p;k=c[e+(n<<2)>>2]|0;m=c[f+(n<<2)>>2]|0;while(1){h=0;j=0;l=k;while(1){j=j+(d[(c[o+(h<<2)>>2]|0)+(d[l>>0]|0)>>0]|0)|0;h=h+1|0;if((h|0)==(b|0))break;else l=l+1|0}a[m>>0]=j;i=i+-1|0;if(!i)break;else{k=k+b|0;m=m+1|0}}n=n+1|0}while((n|0)!=(g|0));return}function Ov(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;h=c[b+484>>2]|0;v=c[h+24>>2]|0;t=c[v>>2]|0;u=c[v+4>>2]|0;v=c[v+8>>2]|0;q=c[b+112>>2]|0;if((g|0)<=0)return;w=h+48|0;r=h+52|0;s=h+56|0;p=h+60|0;b=c[w>>2]|0;if(!q){h=0;do{b=b+1&15;h=h+1|0}while((h|0)!=(g|0));c[w>>2]=b;return}o=0;do{j=c[r>>2]|0;h=c[s>>2]|0;i=c[p>>2]|0;k=q;l=0;m=c[e+(o<<2)>>2]|0;n=c[f+(o<<2)>>2]|0;while(1){a[n>>0]=(d[u+((c[h+(b<<6)+(l<<2)>>2]|0)+(d[m+1>>0]|0))>>0]|0)+(d[t+((c[j+(b<<6)+(l<<2)>>2]|0)+(d[m>>0]|0))>>0]|0)+(d[v+((c[i+(b<<6)+(l<<2)>>2]|0)+(d[m+2>>0]|0))>>0]|0);k=k+-1|0;if(!k)break;else{l=l+1&15;m=m+3|0;n=n+1|0}}b=b+1&15;c[w>>2]=b;o=o+1|0}while((o|0)!=(g|0));return}function Pv(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;t=c[b+484>>2]|0;u=c[b+120>>2]|0;v=c[b+112>>2]|0;if((g|0)<=0)return;w=t+48|0;p=t+24|0;m=(v|0)==0;if((u|0)<=0){b=0;do{hP(c[f+(b<<2)>>2]|0,0,v|0)|0;c[w>>2]=(c[w>>2]|0)+1&15;b=b+1|0}while((b|0)!=(g|0));return}s=0;do{j=f+(s<<2)|0;hP(c[j>>2]|0,0,v|0)|0;b=c[w>>2]|0;k=e+(s<<2)|0;if(!m){l=0;do{h=c[(c[p>>2]|0)+(l<<2)>>2]|0;i=c[t+52+(l<<2)>>2]|0;n=v;o=0;q=(c[k>>2]|0)+l|0;r=c[j>>2]|0;while(1){a[r>>0]=(d[r>>0]|0)+(d[h+((c[i+(b<<6)+(o<<2)>>2]|0)+(d[q>>0]|0))>>0]|0);n=n+-1|0;if(!n)break;else{o=o+1&15;q=q+u|0;r=r+1|0}}l=l+1|0}while((l|0)!=(u|0))}c[w>>2]=b+1&15;s=s+1|0}while((s|0)!=(g|0));return}function Qv(e,f,g,h){e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0;J=c[e+484>>2]|0;K=c[e+120>>2]|0;L=c[e+112>>2]|0;x=c[e+336>>2]|0;if((h|0)<=0)return;A=(K|0)>0;E=J+84|0;B=J+24|0;I=J+16|0;z=(L|0)==0;G=L+-1|0;D=C(G,K)|0;H=0-K|0;y=L+1|0;F=0;do{r=g+(F<<2)|0;hP(c[r>>2]|0,0,L|0)|0;a:do if(A){s=f+(F<<2)|0;if(z){i=(c[E>>2]|0)==0;e=0;while(1){w=c[J+68+(e<<2)>>2]|0;b[(i?w:w+(y<<1)|0)>>1]=0;e=e+1|0;if((e|0)==(K|0))break a}}t=0;do{e=(c[s>>2]|0)+t|0;i=c[r>>2]|0;if(!(c[E>>2]|0)){u=1;v=K;w=c[J+68+(t<<2)>>2]|0}else{u=-1;v=H;w=(c[J+68+(t<<2)>>2]|0)+(y<<1)|0;e=e+D|0;i=i+G|0}k=c[(c[B>>2]|0)+(t<<2)>>2]|0;l=c[(c[I>>2]|0)+(t<<2)>>2]|0;m=C(L,u)|0;n=0;o=0;p=L;j=0;q=w;while(1){M=q;q=q+(u<<1)|0;N=d[x+((j+8+(b[q>>1]|0)>>4)+(d[e>>0]|0))>>0]|0;j=d[k+N>>0]|0;a[i>>0]=(d[i>>0]|0)+j;j=N-(d[l+j>>0]|0)|0;b[M>>1]=(j*3|0)+o;o=(j*5|0)+n|0;p=p+-1|0;if(!p)break;else{n=j;j=j*7|0;e=e+v|0;i=i+u|0}}b[w+(m<<1)>>1]=o;t=t+1|0}while((t|0)!=(K|0))}while(0);c[E>>2]=(c[E>>2]|0)==0&1;F=F+1|0}while((F|0)!=(h|0));return}function Rv(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;e=a+4|0;d=Ib[c[c[e>>2]>>2]&63](a,1,28)|0;c[a+456>>2]=d;c[d>>2]=50;i=d+8|0;c[i>>2]=0;h=d+12|0;c[h>>2]=0;if(!(c[a+84>>2]|0))return;g=c[a+320>>2]|0;f=d+16|0;c[f>>2]=g;d=c[e>>2]|0;if(!b){i=C(c[a+120>>2]|0,c[a+112>>2]|0)|0;c[h>>2]=Jb[c[d+8>>2]&15](a,1,i,g)|0;return}else{e=c[d+16>>2]|0;h=C(c[a+120>>2]|0,c[a+112>>2]|0)|0;b=eu(c[a+116>>2]|0,g)|0;c[i>>2]=Nb[e&63](a,1,0,h,b,c[f>>2]|0)|0;return}}function Sv(a,b){a=a|0;b=b|0;var d=0;d=c[a+456>>2]|0;a:do switch(b|0){case 0:{if(!(c[a+84>>2]|0)){c[d+4>>2]=c[(c[a+476>>2]|0)+4>>2];break a}c[d+4>>2]=1;b=d+12|0;if(!(c[b>>2]|0))c[b>>2]=Lb[c[(c[a+4>>2]|0)+28>>2]&31](a,c[d+8>>2]|0,0,c[d+16>>2]|0,1)|0;break}case 3:{if(!(c[d+8>>2]|0)){b=c[a>>2]|0;c[b+20>>2]=3;Rb[c[b>>2]&255](a)}c[d+4>>2]=2;break}case 2:{if(!(c[d+8>>2]|0)){b=c[a>>2]|0;c[b+20>>2]=3;Rb[c[b>>2]&255](a)}c[d+4>>2]=3;break}default:{b=c[a>>2]|0;c[b+20>>2]=3;Rb[c[b>>2]&255](a)}}while(0);c[d+24>>2]=0;c[d+20>>2]=0;return}function Tv(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0;i=zb;zb=zb+16|0;j=i;m=c[a+456>>2]|0;k=h-(c[g>>2]|0)|0;l=c[m+16>>2]|0;c[j>>2]=0;h=m+12|0;Zb[c[(c[a+476>>2]|0)+4>>2]&7](a,b,d,e,c[h>>2]|0,j,k>>>0>l>>>0?l:k);Wb[c[(c[a+484>>2]|0)+4>>2]&31](a,c[h>>2]|0,f+(c[g>>2]<<2)|0,c[j>>2]|0);c[g>>2]=(c[g>>2]|0)+(c[j>>2]|0);zb=i;return}function Uv(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0;k=c[a+456>>2]|0;l=k+24|0;h=c[l>>2]|0;if(!h){j=k+16|0;f=Lb[c[(c[a+4>>2]|0)+28>>2]&31](a,c[k+8>>2]|0,c[k+20>>2]|0,c[j>>2]|0,1)|0;i=k+12|0;c[i>>2]=f;h=c[l>>2]|0}else{i=k+12|0;f=c[i>>2]|0;j=k+16|0}Zb[c[(c[a+476>>2]|0)+4>>2]&7](a,b,d,e,f,l,c[j>>2]|0);f=c[l>>2]|0;if(f>>>0>h>>>0){f=f-h|0;Wb[c[(c[a+484>>2]|0)+4>>2]&31](a,(c[i>>2]|0)+(h<<2)|0,0,f);c[g>>2]=(c[g>>2]|0)+f;f=c[l>>2]|0}h=c[j>>2]|0;if(f>>>0>>0)return;g=k+20|0;c[g>>2]=(c[g>>2]|0)+h;c[l>>2]=0;return}function Vv(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0;e=c[a+456>>2]|0;j=e+24|0;d=c[j>>2]|0;if(!d){i=e+20|0;k=e+16|0;b=Lb[c[(c[a+4>>2]|0)+28>>2]&31](a,c[e+8>>2]|0,c[i>>2]|0,c[k>>2]|0,0)|0;c[e+12>>2]=b;d=c[j>>2]|0;e=k}else{b=c[e+12>>2]|0;i=e+20|0;e=e+16|0}k=(c[e>>2]|0)-d|0;l=c[g>>2]|0;h=h-l|0;k=k>>>0>h>>>0?h:k;h=(c[a+116>>2]|0)-(c[i>>2]|0)|0;k=k>>>0>h>>>0?h:k;Wb[c[(c[a+484>>2]|0)+4>>2]&31](a,b+(d<<2)|0,f+(l<<2)|0,k);c[g>>2]=(c[g>>2]|0)+k;k=(c[j>>2]|0)+k|0;c[j>>2]=k;d=c[e>>2]|0;if(k>>>0>>0)return;c[i>>2]=(c[i>>2]|0)+d;c[j>>2]=0;return}function Wv(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;o=zb;zb=zb+256|0;j=o;l=c[d+336>>2]|0;m=8;i=c[e+84>>2]|0;k=j;while(1){e=b[f+16>>1]|0;d=b[f+32>>1]|0;if(!((e|d)<<16>>16))if(((((b[f+48>>1]|0)==0?(b[f+64>>1]|0)==0:0)?(b[f+80>>1]|0)==0:0)?(b[f+96>>1]|0)==0:0)?(b[f+112>>1]|0)==0:0){e=C(b[f>>1]<<2,c[i>>2]|0)|0;c[k>>2]=e;c[k+32>>2]=e;c[k+64>>2]=e;c[k+96>>2]=e;c[k+128>>2]=e;c[k+160>>2]=e;c[k+192>>2]=e;d=56}else{d=0;n=9}else n=9;if((n|0)==9){n=0;y=C(b[f+64>>1]<<13,c[i+128>>2]|0)|0;p=C(b[f>>1]<<13,c[i>>2]|0)|0|1024;s=y+p|0;y=p-y|0;p=C(c[i+64>>2]|0,d<<16>>16)|0;q=C(c[i+192>>2]|0,b[f+96>>1]|0)|0;u=(q+p|0)*4433|0;p=u+(p*6270|0)|0;q=u+(C(q,-15137)|0)|0;u=p+s|0;p=s-p|0;s=q+y|0;q=y-q|0;y=C(c[i+224>>2]|0,b[f+112>>1]|0)|0;x=C(c[i+160>>2]|0,b[f+80>>1]|0)|0;v=C(c[i+96>>2]|0,b[f+48>>1]|0)|0;t=C(c[i+32>>2]|0,e<<16>>16)|0;r=v+y|0;d=t+x|0;w=(d+r|0)*9633|0;r=w+(C(r,-16069)|0)|0;d=w+(C(d,-3196)|0)|0;w=C(t+y|0,-7373)|0;e=w+(y*2446|0)+r|0;t=w+(t*12299|0)+d|0;w=C(v+x|0,-20995)|0;d=w+(x*16819|0)+d|0;r=w+(v*25172|0)+r|0;c[k>>2]=t+u>>11;c[k+224>>2]=u-t>>11;c[k+32>>2]=r+s>>11;c[k+192>>2]=s-r>>11;c[k+64>>2]=d+q>>11;c[k+160>>2]=q-d>>11;c[k+96>>2]=e+p>>11;d=32;e=p-e>>11}c[k+(d<<2)>>2]=e;if(m>>>0>1){m=m+-1|0;f=f+2|0;i=i+4|0;k=k+4|0}else break}k=l+-384|0;l=0;while(1){e=(c[g+(l<<2)>>2]|0)+h|0;i=(c[j>>2]|0)+16400|0;f=c[j+4>>2]|0;d=c[j+8>>2]|0;if(!(f|d))if(((((c[j+12>>2]|0)==0?(c[j+16>>2]|0)==0:0)?(c[j+20>>2]|0)==0:0)?(c[j+24>>2]|0)==0:0)?(c[j+28>>2]|0)==0:0){y=a[k+(i>>>5&1023)>>0]|0;a[e>>0]=y;hP(e+1|0,y|0,7)|0}else{d=0;n=19}else n=19;if((n|0)==19){n=0;y=c[j+16>>2]|0;t=y+i<<13;y=i-y<<13;v=c[j+24>>2]|0;r=(v+d|0)*4433|0;x=r+(d*6270|0)|0;v=r+(C(v,-15137)|0)|0;r=x+t|0;x=t-x|0;t=v+y|0;v=y-v|0;y=c[j+28>>2]|0;m=c[j+20>>2]|0;q=c[j+12>>2]|0;u=q+y|0;w=m+f|0;s=(u+w|0)*9633|0;u=s+(C(u,-16069)|0)|0;w=s+(C(w,-3196)|0)|0;s=C(y+f|0,-7373)|0;y=s+(y*2446|0)+u|0;s=s+(f*12299|0)+w|0;p=C(q+m|0,-20995)|0;w=p+(m*16819|0)+w|0;u=p+(q*25172|0)+u|0;a[e>>0]=a[k+((s+r|0)>>>18&1023)>>0]|0;a[e+7>>0]=a[k+((r-s|0)>>>18&1023)>>0]|0;a[e+1>>0]=a[k+((u+t|0)>>>18&1023)>>0]|0;a[e+6>>0]=a[k+((t-u|0)>>>18&1023)>>0]|0;a[e+2>>0]=a[k+((w+v|0)>>>18&1023)>>0]|0;a[e+5>>0]=a[k+((v-w|0)>>>18&1023)>>0]|0;a[e+3>>0]=a[k+((y+x|0)>>>18&1023)>>0]|0;a[e+4>>0]=a[k+((x-y|0)>>>18&1023)>>0]|0}l=l+1|0;if((l|0)==8)break;else j=j+32|0}zb=o;return}function Xv(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;l=zb;zb=zb+208|0;i=l;j=c[d+336>>2]|0;k=0;d=c[e+84>>2]|0;e=i;while(1){m=C(b[f>>1]<<13,c[d>>2]|0)|0|1024;w=C(c[d+64>>2]|0,b[f+32>>1]|0)|0;o=C(c[d+128>>2]|0,b[f+64>>1]|0)|0;u=C(c[d+192>>2]|0,b[f+96>>1]|0)|0;v=(o-u|0)*7223|0;p=(w-o|0)*2578|0;s=(C(o,-15083)|0)+m+p+v|0;n=u+w|0;q=(n*10438|0)+m|0;u=v+(C(u,-637)|0)+q|0;q=p+(C(w,-20239)|0)+q|0;w=C(c[d+32>>2]|0,b[f+16>>1]|0)|0;p=C(c[d+96>>2]|0,b[f+48>>1]|0)|0;v=C(c[d+160>>2]|0,b[f+80>>1]|0)|0;x=(p+w|0)*7663|0;t=(w-p|0)*1395|0;p=C(v+p|0,-11295)|0;r=x+t+p|0;w=(v+w|0)*5027|0;t=w+(x-t)|0;p=w+(v*15326|0)+p|0;c[e>>2]=t+u>>11;c[e+168>>2]=u-t>>11;c[e+28>>2]=r+s>>11;c[e+140>>2]=s-r>>11;c[e+56>>2]=p+q>>11;c[e+112>>2]=q-p>>11;c[e+84>>2]=((o-n|0)*11585|0)+m>>11;k=k+1|0;if((k|0)==7)break;else{f=f+2|0;d=d+4|0;e=e+4|0}}d=j+-384|0;f=0;while(1){x=(c[g+(f<<2)>>2]|0)+h|0;w=(c[i>>2]<<13)+134348800|0;m=c[i+8>>2]|0;u=c[i+16>>2]|0;o=c[i+24>>2]|0;n=(u-o|0)*7223|0;t=(m-u|0)*2578|0;q=(C(u,-15083)|0)+w+t+n|0;v=o+m|0;s=(v*10438|0)+w|0;o=n+(C(o,-637)|0)+s|0;s=t+(C(m,-20239)|0)+s|0;m=c[i+4>>2]|0;t=c[i+12>>2]|0;n=c[i+20>>2]|0;k=(t+m|0)*7663|0;p=(m-t|0)*1395|0;t=C(n+t|0,-11295)|0;r=k+p+t|0;m=(n+m|0)*5027|0;p=k-p+m|0;t=m+(n*15326|0)+t|0;a[x>>0]=a[d+((p+o|0)>>>18&1023)>>0]|0;a[x+6>>0]=a[d+((o-p|0)>>>18&1023)>>0]|0;a[x+1>>0]=a[d+((r+q|0)>>>18&1023)>>0]|0;a[x+5>>0]=a[d+((q-r|0)>>>18&1023)>>0]|0;a[x+2>>0]=a[d+((t+s|0)>>>18&1023)>>0]|0;a[x+4>>0]=a[d+((s-t|0)>>>18&1023)>>0]|0;a[x+3>>0]=a[d+((((u-v|0)*11585|0)+w|0)>>>18&1023)>>0]|0;f=f+1|0;if((f|0)==7)break;else i=i+28|0}zb=l;return}function Yv(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;l=zb;zb=zb+144|0;i=l;j=c[d+336>>2]|0;k=0;d=c[e+84>>2]|0;e=i;while(1){p=C(b[f>>1]<<13,c[d>>2]|0)|0|1024;n=C((b[f+64>>1]|0)*5793|0,c[d+128>>2]|0)|0;t=n+p|0;p=(C(n,-2)|0)+p>>11;n=C((b[f+32>>1]|0)*10033|0,c[d+64>>2]|0)|0;r=n+t|0;n=t-n|0;t=C(c[d+32>>2]|0,b[f+16>>1]|0)|0;s=C(c[d+96>>2]|0,b[f+48>>1]|0)|0;o=C(c[d+160>>2]|0,b[f+80>>1]|0)|0;m=(o+t|0)*2998|0;q=m+(s+t<<13)|0;m=m+(o-s<<13)|0;o=t-s-o<<2;c[e>>2]=q+r>>11;c[e+120>>2]=r-q>>11;c[e+24>>2]=o+p;c[e+96>>2]=p-o;c[e+48>>2]=m+n>>11;c[e+72>>2]=n-m>>11;k=k+1|0;if((k|0)==6)break;else{f=f+2|0;d=d+4|0;e=e+4|0}}d=j+-384|0;f=0;while(1){t=(c[g+(f<<2)>>2]|0)+h|0;r=(c[i>>2]<<13)+134348800|0;p=(c[i+16>>2]|0)*5793|0;k=r+p|0;p=r-p-p|0;r=(c[i+8>>2]|0)*10033|0;n=k+r|0;r=k-r|0;k=c[i+4>>2]|0;m=c[i+12>>2]|0;q=c[i+20>>2]|0;s=(q+k|0)*2998|0;o=s+(m+k<<13)|0;s=s+(q-m<<13)|0;q=k-m-q<<13;a[t>>0]=a[d+((o+n|0)>>>18&1023)>>0]|0;a[t+5>>0]=a[d+((n-o|0)>>>18&1023)>>0]|0;a[t+1>>0]=a[d+((q+p|0)>>>18&1023)>>0]|0;a[t+4>>0]=a[d+((p-q|0)>>>18&1023)>>0]|0;a[t+2>>0]=a[d+((s+r|0)>>>18&1023)>>0]|0;a[t+3>>0]=a[d+((r-s|0)>>>18&1023)>>0]|0;f=f+1|0;if((f|0)==6)break;else i=i+24|0}zb=l;return}function Zv(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;i=zb;zb=zb+112|0;l=i;d=c[d+336>>2]|0;o=c[e+84>>2]|0;n=C(b[f>>1]<<13,c[o>>2]|0)|0|1024;e=C(c[o+64>>2]|0,b[f+32>>1]|0)|0;j=C(c[o+128>>2]|0,b[f+64>>1]|0)|0;q=(j+e|0)*6476|0;j=e-j|0;e=(j*2896|0)+n|0;p=e+q|0;q=e-q|0;n=(C(j,-11584)|0)+n|0;j=C(c[o+32>>2]|0,b[f+16>>1]|0)|0;e=C(c[o+96>>2]|0,b[f+48>>1]|0)|0;m=(e+j|0)*6810|0;j=m+(j*4209|0)|0;e=m+(C(e,-17828)|0)|0;c[l>>2]=j+p>>11;c[l+80>>2]=p-j>>11;j=l+20|0;c[j>>2]=e+q>>11;c[l+60>>2]=q-e>>11;c[l+40>>2]=n>>11;n=l+4|0;e=C(b[f+2>>1]<<13,c[o+4>>2]|0)|0|1024;q=C(c[o+68>>2]|0,b[f+34>>1]|0)|0;p=C(c[o+132>>2]|0,b[f+66>>1]|0)|0;m=(p+q|0)*6476|0;p=q-p|0;q=(p*2896|0)+e|0;k=q+m|0;m=q-m|0;e=(C(p,-11584)|0)+e|0;p=C(c[o+36>>2]|0,b[f+18>>1]|0)|0;q=C(c[o+100>>2]|0,b[f+50>>1]|0)|0;r=(q+p|0)*6810|0;p=r+(p*4209|0)|0;q=r+(C(q,-17828)|0)|0;c[n>>2]=p+k>>11;c[l+84>>2]=k-p>>11;c[l+24>>2]=q+m>>11;c[l+64>>2]=m-q>>11;c[l+44>>2]=e>>11;e=C(b[f+4>>1]<<13,c[o+8>>2]|0)|0|1024;q=C(c[o+72>>2]|0,b[f+36>>1]|0)|0;m=C(c[o+136>>2]|0,b[f+68>>1]|0)|0;p=(m+q|0)*6476|0;m=q-m|0;q=(m*2896|0)+e|0;k=q+p|0;p=q-p|0;e=(C(m,-11584)|0)+e|0;m=C(c[o+40>>2]|0,b[f+20>>1]|0)|0;q=C(c[o+104>>2]|0,b[f+52>>1]|0)|0;r=(q+m|0)*6810|0;m=r+(m*4209|0)|0;q=r+(C(q,-17828)|0)|0;c[l+8>>2]=m+k>>11;c[l+88>>2]=k-m>>11;c[l+28>>2]=q+p>>11;c[l+68>>2]=p-q>>11;c[l+48>>2]=e>>11;e=C(b[f+6>>1]<<13,c[o+12>>2]|0)|0|1024;q=C(c[o+76>>2]|0,b[f+38>>1]|0)|0;p=C(c[o+140>>2]|0,b[f+70>>1]|0)|0;m=(p+q|0)*6476|0;p=q-p|0;q=(p*2896|0)+e|0;k=q+m|0;m=q-m|0;e=(C(p,-11584)|0)+e|0;p=C(c[o+44>>2]|0,b[f+22>>1]|0)|0;q=C(c[o+108>>2]|0,b[f+54>>1]|0)|0;r=(q+p|0)*6810|0;p=r+(p*4209|0)|0;q=r+(C(q,-17828)|0)|0;c[l+12>>2]=p+k>>11;c[l+92>>2]=k-p>>11;c[l+32>>2]=q+m>>11;c[l+72>>2]=m-q>>11;c[l+52>>2]=e>>11;e=C(b[f+8>>1]<<13,c[o+16>>2]|0)|0|1024;q=C(c[o+80>>2]|0,b[f+40>>1]|0)|0;m=C(c[o+144>>2]|0,b[f+72>>1]|0)|0;p=(m+q|0)*6476|0;m=q-m|0;q=(m*2896|0)+e|0;k=q+p|0;p=q-p|0;e=(C(m,-11584)|0)+e|0;m=C(c[o+48>>2]|0,b[f+24>>1]|0)|0;f=C(c[o+112>>2]|0,b[f+56>>1]|0)|0;o=(f+m|0)*6810|0;m=o+(m*4209|0)|0;f=o+(C(f,-17828)|0)|0;c[l+16>>2]=m+k>>11;c[l+96>>2]=k-m>>11;c[l+36>>2]=f+p>>11;c[l+76>>2]=p-f>>11;c[l+56>>2]=e>>11;e=d+-384|0;f=(c[g>>2]|0)+h|0;d=(c[l>>2]<<13)+134348800|0;p=c[l+8>>2]|0;m=c[l+16>>2]|0;k=(m+p|0)*6476|0;m=p-m|0;p=(m*2896|0)+d|0;o=p+k|0;k=p-k|0;d=(C(m,-11584)|0)+d|0;n=c[n>>2]|0;m=c[l+12>>2]|0;p=(m+n|0)*6810|0;n=p+(n*4209|0)|0;m=p+(C(m,-17828)|0)|0;a[f>>0]=a[e+((n+o|0)>>>18&1023)>>0]|0;a[f+4>>0]=a[e+((o-n|0)>>>18&1023)>>0]|0;a[f+1>>0]=a[e+((m+k|0)>>>18&1023)>>0]|0;a[f+3>>0]=a[e+((k-m|0)>>>18&1023)>>0]|0;a[f+2>>0]=a[e+(d>>>18&1023)>>0]|0;f=(c[g+4>>2]|0)+h|0;j=(c[j>>2]<<13)+134348800|0;d=c[l+28>>2]|0;m=c[l+36>>2]|0;k=(m+d|0)*6476|0;m=d-m|0;d=(m*2896|0)+j|0;n=d+k|0;k=d-k|0;j=(C(m,-11584)|0)+j|0;m=c[l+24>>2]|0;d=c[l+32>>2]|0;o=(d+m|0)*6810|0;m=o+(m*4209|0)|0;d=o+(C(d,-17828)|0)|0;a[f>>0]=a[e+((m+n|0)>>>18&1023)>>0]|0;a[f+4>>0]=a[e+((n-m|0)>>>18&1023)>>0]|0;a[f+1>>0]=a[e+((d+k|0)>>>18&1023)>>0]|0;a[f+3>>0]=a[e+((k-d|0)>>>18&1023)>>0]|0;a[f+2>>0]=a[e+(j>>>18&1023)>>0]|0;f=(c[g+8>>2]|0)+h|0;j=(c[l+40>>2]<<13)+134348800|0;d=c[l+48>>2]|0;k=c[l+56>>2]|0;m=(k+d|0)*6476|0;k=d-k|0;d=(k*2896|0)+j|0;n=d+m|0;m=d-m|0;j=(C(k,-11584)|0)+j|0;k=c[l+44>>2]|0;d=c[l+52>>2]|0;o=(d+k|0)*6810|0;k=o+(k*4209|0)|0;d=o+(C(d,-17828)|0)|0;a[f>>0]=a[e+((k+n|0)>>>18&1023)>>0]|0;a[f+4>>0]=a[e+((n-k|0)>>>18&1023)>>0]|0;a[f+1>>0]=a[e+((d+m|0)>>>18&1023)>>0]|0;a[f+3>>0]=a[e+((m-d|0)>>>18&1023)>>0]|0;a[f+2>>0]=a[e+(j>>>18&1023)>>0]|0;f=(c[g+12>>2]|0)+h|0;j=(c[l+60>>2]<<13)+134348800|0;d=c[l+68>>2]|0;m=c[l+76>>2]|0;k=(m+d|0)*6476|0;m=d-m|0;d=(m*2896|0)+j|0;n=d+k|0;k=d-k|0;j=(C(m,-11584)|0)+j|0;m=c[l+64>>2]|0;d=c[l+72>>2]|0;o=(d+m|0)*6810|0;m=o+(m*4209|0)|0;d=o+(C(d,-17828)|0)|0;a[f>>0]=a[e+((m+n|0)>>>18&1023)>>0]|0;a[f+4>>0]=a[e+((n-m|0)>>>18&1023)>>0]|0;a[f+1>>0]=a[e+((d+k|0)>>>18&1023)>>0]|0;a[f+3>>0]=a[e+((k-d|0)>>>18&1023)>>0]|0;a[f+2>>0]=a[e+(j>>>18&1023)>>0]|0;h=(c[g+16>>2]|0)+h|0;g=(c[l+80>>2]<<13)+134348800|0;f=c[l+88>>2]|0;j=c[l+96>>2]|0;d=(j+f|0)*6476|0;j=f-j|0;f=(j*2896|0)+g|0;k=f+d|0;d=f-d|0;g=(C(j,-11584)|0)+g|0;j=c[l+84>>2]|0;f=c[l+92>>2]|0;l=(f+j|0)*6810|0;j=l+(j*4209|0)|0;f=l+(C(f,-17828)|0)|0;a[h>>0]=a[e+((j+k|0)>>>18&1023)>>0]|0;a[h+4>>0]=a[e+((k-j|0)>>>18&1023)>>0]|0;a[h+1>>0]=a[e+((f+d|0)>>>18&1023)>>0]|0;a[h+3>>0]=a[e+((d-f|0)>>>18&1023)>>0]|0;a[h+2>>0]=a[e+(g>>>18&1023)>>0]|0;zb=i;return}function _v(d,e,f,g,h){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;i=zb;zb=zb+64|0;k=i;d=c[d+336>>2]|0;j=c[e+84>>2]|0;m=C(c[j>>2]|0,b[f>>1]|0)|0;q=C(c[j+64>>2]|0,b[f+32>>1]|0)|0;p=q+m<<2;q=m-q<<2;m=C(c[j+32>>2]|0,b[f+16>>1]|0)|0;n=C(c[j+96>>2]|0,b[f+48>>1]|0)|0;l=((n+m|0)*4433|0)+1024|0;m=l+(m*6270|0)>>11;n=l+(C(n,-15137)|0)>>11;c[k>>2]=m+p;c[k+48>>2]=p-m;m=k+16|0;c[m>>2]=n+q;c[k+32>>2]=q-n;n=k+4|0;q=C(c[j+4>>2]|0,b[f+2>>1]|0)|0;p=C(c[j+68>>2]|0,b[f+34>>1]|0)|0;l=p+q<<2;p=q-p<<2;q=C(c[j+36>>2]|0,b[f+18>>1]|0)|0;o=C(c[j+100>>2]|0,b[f+50>>1]|0)|0;e=((o+q|0)*4433|0)+1024|0;q=e+(q*6270|0)>>11;o=e+(C(o,-15137)|0)>>11;c[n>>2]=q+l;c[k+52>>2]=l-q;c[k+20>>2]=o+p;c[k+36>>2]=p-o;o=C(c[j+8>>2]|0,b[f+4>>1]|0)|0;p=C(c[j+72>>2]|0,b[f+36>>1]|0)|0;q=p+o<<2;p=o-p<<2;o=C(c[j+40>>2]|0,b[f+20>>1]|0)|0;l=C(c[j+104>>2]|0,b[f+52>>1]|0)|0;e=((l+o|0)*4433|0)+1024|0;o=e+(o*6270|0)>>11;l=e+(C(l,-15137)|0)>>11;e=o+q|0;c[k+8>>2]=e;c[k+56>>2]=q-o;c[k+24>>2]=l+p;c[k+40>>2]=p-l;l=C(c[j+12>>2]|0,b[f+6>>1]|0)|0;p=C(c[j+76>>2]|0,b[f+38>>1]|0)|0;o=p+l<<2;p=l-p<<2;l=C(c[j+44>>2]|0,b[f+22>>1]|0)|0;f=C(c[j+108>>2]|0,b[f+54>>1]|0)|0;j=((f+l|0)*4433|0)+1024|0;l=j+(l*6270|0)>>11;f=j+(C(f,-15137)|0)>>11;j=l+o|0;c[k+12>>2]=j;c[k+60>>2]=o-l;l=f+p|0;c[k+28>>2]=l;c[k+44>>2]=p-f;f=d+-384|0;d=(c[g>>2]|0)+h|0;p=(c[k>>2]|0)+16400|0;o=p+e<<13;e=p-e<<13;n=c[n>>2]|0;p=(j+n|0)*4433|0;n=p+(n*6270|0)|0;j=p+(C(j,-15137)|0)|0;a[d>>0]=a[f+((n+o|0)>>>18&1023)>>0]|0;a[d+3>>0]=a[f+((o-n|0)>>>18&1023)>>0]|0;a[d+1>>0]=a[f+((j+e|0)>>>18&1023)>>0]|0;a[d+2>>0]=a[f+((e-j|0)>>>18&1023)>>0]|0;d=(c[g+4>>2]|0)+h|0;m=(c[m>>2]|0)+16400|0;j=c[k+24>>2]|0;e=m+j<<13;j=m-j<<13;m=c[k+20>>2]|0;n=(l+m|0)*4433|0;m=n+(m*6270|0)|0;l=n+(C(l,-15137)|0)|0;a[d>>0]=a[f+((m+e|0)>>>18&1023)>>0]|0;a[d+3>>0]=a[f+((e-m|0)>>>18&1023)>>0]|0;a[d+1>>0]=a[f+((l+j|0)>>>18&1023)>>0]|0;a[d+2>>0]=a[f+((j-l|0)>>>18&1023)>>0]|0;d=(c[g+8>>2]|0)+h|0;l=(c[k+32>>2]|0)+16400|0;j=c[k+40>>2]|0;m=l+j<<13;j=l-j<<13;l=c[k+36>>2]|0;e=c[k+44>>2]|0;n=(e+l|0)*4433|0;l=n+(l*6270|0)|0;e=n+(C(e,-15137)|0)|0;a[d>>0]=a[f+((l+m|0)>>>18&1023)>>0]|0;a[d+3>>0]=a[f+((m-l|0)>>>18&1023)>>0]|0;a[d+1>>0]=a[f+((e+j|0)>>>18&1023)>>0]|0;a[d+2>>0]=a[f+((j-e|0)>>>18&1023)>>0]|0;h=(c[g+12>>2]|0)+h|0;d=(c[k+48>>2]|0)+16400|0;e=c[k+56>>2]|0;j=d+e<<13;e=d-e<<13;d=c[k+52>>2]|0;g=c[k+60>>2]|0;k=(g+d|0)*4433|0;d=k+(d*6270|0)|0;g=k+(C(g,-15137)|0)|0;a[h>>0]=a[f+((d+j|0)>>>18&1023)>>0]|0;a[h+3>>0]=a[f+((j-d|0)>>>18&1023)>>0]|0;a[h+1>>0]=a[f+((g+e|0)>>>18&1023)>>0]|0;a[h+2>>0]=a[f+((e-g|0)>>>18&1023)>>0]|0;zb=i;return}function $v(d,e,f,g,h){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;i=zb;zb=zb+48|0;j=i;d=c[d+336>>2]|0;q=c[e+84>>2]|0;l=C(b[f>>1]<<13,c[q>>2]|0)|0|1024;k=C((b[f+32>>1]|0)*5793|0,c[q+64>>2]|0)|0;n=k+l|0;l=(C(k,-2)|0)+l|0;k=C((b[f+16>>1]|0)*10033|0,c[q+32>>2]|0)|0;m=k+n>>11;c[j>>2]=m;c[j+24>>2]=n-k>>11;k=j+12|0;c[k>>2]=l>>11;l=C(b[f+2>>1]<<13,c[q+4>>2]|0)|0|1024;n=C((b[f+34>>1]|0)*5793|0,c[q+68>>2]|0)|0;p=n+l|0;l=(C(n,-2)|0)+l|0;n=C((b[f+18>>1]|0)*10033|0,c[q+36>>2]|0)|0;o=n+p>>11;c[j+4>>2]=o;c[j+28>>2]=p-n>>11;l=l>>11;c[j+16>>2]=l;n=C(b[f+4>>1]<<13,c[q+8>>2]|0)|0|1024;p=C((b[f+36>>1]|0)*5793|0,c[q+72>>2]|0)|0;e=p+n|0;n=(C(p,-2)|0)+n|0;f=C((b[f+20>>1]|0)*10033|0,c[q+40>>2]|0)|0;q=f+e>>11;c[j+8>>2]=q;f=e-f>>11;c[j+32>>2]=f;n=n>>11;c[j+20>>2]=n;e=d+-384|0;d=(c[g>>2]|0)+h|0;m=(m<<13)+134348800|0;p=m+(q*5793|0)|0;m=(C(q,-11586)|0)+m|0;o=o*10033|0;a[d>>0]=a[e+((p+o|0)>>>18&1023)>>0]|0;a[d+2>>0]=a[e+((p-o|0)>>>18&1023)>>0]|0;a[d+1>>0]=a[e+(m>>>18&1023)>>0]|0;d=(c[g+4>>2]|0)+h|0;k=(c[k>>2]<<13)+134348800|0;m=k+(n*5793|0)|0;k=(C(n,-11586)|0)+k|0;l=l*10033|0;a[d>>0]=a[e+((m+l|0)>>>18&1023)>>0]|0;a[d+2>>0]=a[e+((m-l|0)>>>18&1023)>>0]|0;a[d+1>>0]=a[e+(k>>>18&1023)>>0]|0;h=(c[g+8>>2]|0)+h|0;g=(c[j+24>>2]<<13)+134348800|0;d=g+(f*5793|0)|0;g=(C(f,-11586)|0)+g|0;f=(c[j+28>>2]|0)*10033|0;a[h>>0]=a[e+((d+f|0)>>>18&1023)>>0]|0;a[h+2>>0]=a[e+((d-f|0)>>>18&1023)>>0]|0;a[h+1>>0]=a[e+(g>>>18&1023)>>0]|0;zb=i;return}function aw(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;i=(c[d+336>>2]|0)+-384|0;e=c[e+84>>2]|0;l=C(c[e>>2]|0,b[f>>1]|0)|0;d=C(c[e+32>>2]|0,b[f+16>>1]|0)|0;l=l+4100|0;k=d+l|0;d=l-d|0;l=C(c[e+4>>2]|0,b[f+2>>1]|0)|0;e=C(c[e+36>>2]|0,b[f+18>>1]|0)|0;j=e+l|0;e=l-e|0;f=(c[g>>2]|0)+h|0;a[f>>0]=a[i+((j+k|0)>>>3&1023)>>0]|0;a[f+1>>0]=a[i+((k-j|0)>>>3&1023)>>0]|0;h=(c[g+4>>2]|0)+h|0;a[h>>0]=a[i+((e+d|0)>>>3&1023)>>0]|0;a[h+1>>0]=a[i+((d-e|0)>>>3&1023)>>0]|0;return}function bw(d,e,f,g,h){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;e=a[(c[d+336>>2]|0)+-384+(((C(c[c[e+84>>2]>>2]|0,b[f>>1]|0)|0)+4100|0)>>>3&1023)>>0]|0;a[(c[g>>2]|0)+h>>0]=e;return}function cw(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;l=zb;zb=zb+288|0;i=l;j=c[d+336>>2]|0;k=0;d=c[e+84>>2]|0;e=i;while(1){q=C(b[f>>1]<<13,c[d>>2]|0)|0|1024;w=C(c[d+64>>2]|0,b[f+32>>1]|0)|0;o=C(c[d+128>>2]|0,b[f+64>>1]|0)|0;m=C((b[f+96>>1]|0)*5793|0,c[d+192>>2]|0)|0;v=m+q|0;m=q-m-m|0;q=w-o|0;s=m+(q*5793|0)|0;m=(C(q,-11586)|0)+m|0;q=(o+w|0)*10887|0;w=w*8875|0;o=o*2012|0;u=q-o+v|0;q=v-q+w|0;o=v-w+o|0;w=C(c[d+32>>2]|0,b[f+16>>1]|0)|0;v=C(c[d+160>>2]|0,b[f+80>>1]|0)|0;r=C(c[d+224>>2]|0,b[f+112>>1]|0)|0;x=C(C(b[f+48>>1]|0,-10033)|0,c[d+96>>2]|0)|0;p=(v+w|0)*7447|0;n=(r+w|0)*3962|0;t=p-x+n|0;y=(v-r|0)*11409|0;p=x-y+p|0;n=y+x+n|0;r=(w-v-r|0)*10033|0;c[e>>2]=t+u>>11;c[e+256>>2]=u-t>>11;c[e+32>>2]=r+s>>11;c[e+224>>2]=s-r>>11;c[e+64>>2]=p+q>>11;c[e+192>>2]=q-p>>11;c[e+96>>2]=n+o>>11;c[e+160>>2]=o-n>>11;c[e+128>>2]=m>>11;k=k+1|0;if((k|0)==8)break;else{f=f+2|0;d=d+4|0;e=e+4|0}}d=j+-384|0;f=0;while(1){y=(c[g+(f<<2)>>2]|0)+h|0;t=(c[i>>2]<<13)+134348800|0;n=c[i+8>>2]|0;v=c[i+16>>2]|0;x=(c[i+24>>2]|0)*5793|0;o=x+t|0;x=t-x-x|0;t=n-v|0;r=x+(t*5793|0)|0;x=(C(t,-11586)|0)+x|0;t=(v+n|0)*10887|0;n=n*8875|0;v=v*2012|0;p=t-v+o|0;t=o-t+n|0;v=o-n+v|0;n=c[i+4>>2]|0;o=c[i+20>>2]|0;s=c[i+28>>2]|0;m=C(c[i+12>>2]|0,-10033)|0;u=(o+n|0)*7447|0;w=(s+n|0)*3962|0;q=u-m+w|0;k=(o-s|0)*11409|0;u=m-k+u|0;w=k+m+w|0;s=(n-o-s|0)*10033|0;a[y>>0]=a[d+((q+p|0)>>>18&1023)>>0]|0;a[y+8>>0]=a[d+((p-q|0)>>>18&1023)>>0]|0;a[y+1>>0]=a[d+((s+r|0)>>>18&1023)>>0]|0;a[y+7>>0]=a[d+((r-s|0)>>>18&1023)>>0]|0;a[y+2>>0]=a[d+((u+t|0)>>>18&1023)>>0]|0;a[y+6>>0]=a[d+((t-u|0)>>>18&1023)>>0]|0;a[y+3>>0]=a[d+((w+v|0)>>>18&1023)>>0]|0;a[y+5>>0]=a[d+((v-w|0)>>>18&1023)>>0]|0;a[y+4>>0]=a[d+(x>>>18&1023)>>0]|0;f=f+1|0;if((f|0)==9)break;else i=i+32|0}zb=l;return}function dw(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;l=zb;zb=zb+320|0;i=l;j=c[d+336>>2]|0;k=0;d=c[e+84>>2]|0;e=i;while(1){r=C(b[f>>1]<<13,c[d>>2]|0)|0|1024;n=C(c[d+128>>2]|0,b[f+64>>1]|0)|0;t=(n*9373|0)+r|0;w=(C(n,-3580)|0)+r|0;r=(C(n,-11586)|0)+r>>11;n=C(c[d+64>>2]|0,b[f+32>>1]|0)|0;p=C(c[d+192>>2]|0,b[f+96>>1]|0)|0;v=(p+n|0)*6810|0;n=v+(n*4209|0)|0;p=v+(C(p,-17828)|0)|0;v=n+t|0;n=t-n|0;t=p+w|0;p=w-p|0;w=C(c[d+32>>2]|0,b[f+16>>1]|0)|0;x=C(c[d+96>>2]|0,b[f+48>>1]|0)|0;s=C(c[d+160>>2]|0,b[f+80>>1]|0)|0;q=C(c[d+224>>2]|0,b[f+112>>1]|0)|0;o=q+x|0;q=x-q|0;x=q*2531|0;y=s<<13;z=o*7791|0;m=x+y|0;u=z+(w*11443|0)+m|0;m=(w*1812|0)-z+m|0;o=o*4815|0;x=y-x-(q<<12)|0;q=w-s-q<<2;s=(w*10323|0)-o-x|0;o=x+((w*5260|0)-o)|0;c[e>>2]=u+v>>11;c[e+288>>2]=v-u>>11;c[e+32>>2]=s+t>>11;c[e+256>>2]=t-s>>11;c[e+64>>2]=q+r;c[e+224>>2]=r-q;c[e+96>>2]=o+p>>11;c[e+192>>2]=p-o>>11;c[e+128>>2]=m+n>>11;c[e+160>>2]=n-m>>11;k=k+1|0;if((k|0)==8)break;else{f=f+2|0;d=d+4|0;e=e+4|0}}d=j+-384|0;f=0;while(1){z=(c[g+(f<<2)>>2]|0)+h|0;x=(c[i>>2]<<13)+134348800|0;t=c[i+16>>2]|0;r=x+(t*9373|0)|0;o=x+(C(t,-3580)|0)|0;t=x+(C(t,-11586)|0)|0;x=c[i+8>>2]|0;v=c[i+24>>2]|0;p=(v+x|0)*6810|0;x=p+(x*4209|0)|0;v=p+(C(v,-17828)|0)|0;p=x+r|0;x=r-x|0;r=v+o|0;v=o-v|0;o=c[i+4>>2]|0;n=c[i+12>>2]|0;u=c[i+20>>2]<<13;s=c[i+28>>2]|0;w=s+n|0;s=n-s|0;n=s*2531|0;m=w*7791|0;y=n+u|0;q=m+(o*11443|0)+y|0;y=(o*1812|0)-m+y|0;w=w*4815|0;n=u-n-(s<<12)|0;u=(o-s<<13)-u|0;s=(o*10323|0)-w-n|0;w=n+((o*5260|0)-w)|0;a[z>>0]=a[d+((q+p|0)>>>18&1023)>>0]|0;a[z+9>>0]=a[d+((p-q|0)>>>18&1023)>>0]|0;a[z+1>>0]=a[d+((s+r|0)>>>18&1023)>>0]|0;a[z+8>>0]=a[d+((r-s|0)>>>18&1023)>>0]|0;a[z+2>>0]=a[d+((u+t|0)>>>18&1023)>>0]|0;a[z+7>>0]=a[d+((t-u|0)>>>18&1023)>>0]|0;a[z+3>>0]=a[d+((w+v|0)>>>18&1023)>>0]|0;a[z+6>>0]=a[d+((v-w|0)>>>18&1023)>>0]|0;a[z+4>>0]=a[d+((y+x|0)>>>18&1023)>>0]|0;a[z+5>>0]=a[d+((x-y|0)>>>18&1023)>>0]|0;f=f+1|0;if((f|0)==10)break;else i=i+32|0}zb=l;return} +function ew(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;l=zb;zb=zb+352|0;i=l;j=c[d+336>>2]|0;k=0;d=c[e+84>>2]|0;e=i;while(1){m=C(b[f>>1]<<13,c[d>>2]|0)|0|1024;y=C(c[d+64>>2]|0,b[f+32>>1]|0)|0;z=C(c[d+128>>2]|0,b[f+64>>1]|0)|0;s=C(c[d+192>>2]|0,b[f+96>>1]|0)|0;q=(z-y|0)*3529|0;o=s+y|0;v=o-z|0;x=(v*11116|0)+m|0;w=x+((z-s|0)*20862|0)|0;u=w+(C(z,-14924)|0)+q|0;w=w+(s*17333|0)|0;q=x+q+(C(y,-12399)|0)|0;o=x+(C(o,-9467)|0)|0;s=o+(C(s,-6461)|0)|0;o=(z*15929|0)+(C(y,-11395)|0)+o|0;m=(C(v,-11585)|0)+m|0;v=C(c[d+32>>2]|0,b[f+16>>1]|0)|0;y=C(c[d+96>>2]|0,b[f+48>>1]|0)|0;z=C(c[d+160>>2]|0,b[f+80>>1]|0)|0;x=C(c[d+224>>2]|0,b[f+112>>1]|0)|0;B=y+v|0;n=(z+B+x|0)*3264|0;B=B*7274|0;r=(z+v|0)*5492|0;p=n+((x+v|0)*3e3|0)|0;v=B+(C(v,-7562)|0)+r+p|0;t=n+(C(z+y|0,-9527)|0)|0;r=r+(C(z,-9766)|0)+t|0;A=C(x+y|0,-14731)|0;t=B+(y*16984|0)+A+t|0;p=A+(x*17223|0)+p|0;n=(z*8203|0)+(C(y,-12019)|0)+(C(x,-13802)|0)+n|0;c[e>>2]=v+w>>11;c[e+320>>2]=w-v>>11;c[e+32>>2]=t+u>>11;c[e+288>>2]=u-t>>11;c[e+64>>2]=r+s>>11;c[e+256>>2]=s-r>>11;c[e+96>>2]=p+q>>11;c[e+224>>2]=q-p>>11;c[e+128>>2]=n+o>>11;c[e+192>>2]=o-n>>11;c[e+160>>2]=m>>11;k=k+1|0;if((k|0)==8)break;else{f=f+2|0;d=d+4|0;e=e+4|0}}d=j+-384|0;f=0;while(1){B=(c[g+(f<<2)>>2]|0)+h|0;A=(c[i>>2]<<13)+134348800|0;o=c[i+8>>2]|0;n=c[i+16>>2]|0;u=c[i+24>>2]|0;w=(n-o|0)*3529|0;y=u+o|0;r=y-n|0;p=(r*11116|0)+A|0;q=p+((n-u|0)*20862|0)|0;s=q+(C(n,-14924)|0)+w|0;q=q+(u*17333|0)|0;w=p+w+(C(o,-12399)|0)|0;y=p+(C(y,-9467)|0)|0;u=y+(C(u,-6461)|0)|0;y=(n*15929|0)+(C(o,-11395)|0)+y|0;A=(C(r,-11585)|0)+A|0;r=c[i+4>>2]|0;o=c[i+12>>2]|0;n=c[i+20>>2]|0;p=c[i+28>>2]|0;k=o+r|0;z=(k+n+p|0)*3264|0;k=k*7274|0;v=(n+r|0)*5492|0;x=z+((p+r|0)*3e3|0)|0;r=k+(C(r,-7562)|0)+v+x|0;t=z+(C(n+o|0,-9527)|0)|0;v=v+(C(n,-9766)|0)+t|0;m=C(p+o|0,-14731)|0;t=k+(o*16984|0)+m+t|0;x=m+(p*17223|0)+x|0;z=(n*8203|0)+(C(o,-12019)|0)+(C(p,-13802)|0)+z|0;a[B>>0]=a[d+((r+q|0)>>>18&1023)>>0]|0;a[B+10>>0]=a[d+((q-r|0)>>>18&1023)>>0]|0;a[B+1>>0]=a[d+((t+s|0)>>>18&1023)>>0]|0;a[B+9>>0]=a[d+((s-t|0)>>>18&1023)>>0]|0;a[B+2>>0]=a[d+((v+u|0)>>>18&1023)>>0]|0;a[B+8>>0]=a[d+((u-v|0)>>>18&1023)>>0]|0;a[B+3>>0]=a[d+((x+w|0)>>>18&1023)>>0]|0;a[B+7>>0]=a[d+((w-x|0)>>>18&1023)>>0]|0;a[B+4>>0]=a[d+((z+y|0)>>>18&1023)>>0]|0;a[B+6>>0]=a[d+((y-z|0)>>>18&1023)>>0]|0;a[B+5>>0]=a[d+(A>>>18&1023)>>0]|0;f=f+1|0;if((f|0)==11)break;else i=i+32|0}zb=l;return}function fw(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;l=zb;zb=zb+384|0;i=l;j=c[d+336>>2]|0;k=0;d=c[e+84>>2]|0;e=i;while(1){n=C(b[f>>1]<<13,c[d>>2]|0)|0|1024;z=C((b[f+64>>1]|0)*10033|0,c[d+128>>2]|0)|0;y=z+n|0;z=n-z|0;t=C(c[d+64>>2]|0,b[f+32>>1]|0)|0;r=C(b[f+96>>1]<<13,c[d+192>>2]|0)|0;p=(t<<13)-r|0;v=p+n|0;p=n-p|0;n=r+(t*11190|0)|0;x=n+y|0;n=y-n|0;r=(t*2998|0)-r|0;t=r+z|0;r=z-r|0;z=C(c[d+32>>2]|0,b[f+16>>1]|0)|0;y=C(c[d+96>>2]|0,b[f+48>>1]|0)|0;o=C(c[d+160>>2]|0,b[f+80>>1]|0)|0;u=C(c[d+224>>2]|0,b[f+112>>1]|0)|0;B=y*10703|0;A=C(y,-4433)|0;s=o+z|0;m=(u+s|0)*7053|0;s=m+(s*2139|0)|0;w=B+(z*2295|0)+s|0;q=C(u+o|0,-8565)|0;s=(C(o,-12112)|0)+A+q+s|0;q=(u*12998|0)-B+m+q|0;m=A+(C(z,-5540)|0)+(C(u,-16244)|0)+m|0;u=z-u|0;o=y-o|0;y=(u+o|0)*4433|0;u=y+(u*6270|0)|0;o=y+(C(o,-15137)|0)|0;c[e>>2]=w+x>>11;c[e+352>>2]=x-w>>11;c[e+32>>2]=u+v>>11;c[e+320>>2]=v-u>>11;c[e+64>>2]=s+t>>11;c[e+288>>2]=t-s>>11;c[e+96>>2]=q+r>>11;c[e+256>>2]=r-q>>11;c[e+128>>2]=o+p>>11;c[e+224>>2]=p-o>>11;c[e+160>>2]=m+n>>11;c[e+192>>2]=n-m>>11;k=k+1|0;if((k|0)==8)break;else{f=f+2|0;d=d+4|0;e=e+4|0}}d=j+-384|0;f=0;while(1){B=(c[g+(f<<2)>>2]|0)+h|0;z=(c[i>>2]<<13)+134348800|0;n=(c[i+16>>2]|0)*10033|0;o=z+n|0;n=z-n|0;t=c[i+8>>2]|0;v=c[i+24>>2]<<13;x=(t<<13)-v|0;r=x+z|0;x=z-x|0;z=v+(t*11190|0)|0;p=z+o|0;z=o-z|0;v=(t*2998|0)-v|0;t=v+n|0;v=n-v|0;n=c[i+4>>2]|0;o=c[i+12>>2]|0;y=c[i+20>>2]|0;s=c[i+28>>2]|0;k=o*10703|0;m=C(o,-4433)|0;u=y+n|0;A=(u+s|0)*7053|0;u=A+(u*2139|0)|0;q=k+(n*2295|0)+u|0;w=C(s+y|0,-8565)|0;u=(C(y,-12112)|0)+m+w+u|0;w=(s*12998|0)-k+A+w|0;A=m+(C(n,-5540)|0)+(C(s,-16244)|0)+A|0;s=n-s|0;y=o-y|0;o=(s+y|0)*4433|0;s=o+(s*6270|0)|0;y=o+(C(y,-15137)|0)|0;a[B>>0]=a[d+((q+p|0)>>>18&1023)>>0]|0;a[B+11>>0]=a[d+((p-q|0)>>>18&1023)>>0]|0;a[B+1>>0]=a[d+((s+r|0)>>>18&1023)>>0]|0;a[B+10>>0]=a[d+((r-s|0)>>>18&1023)>>0]|0;a[B+2>>0]=a[d+((u+t|0)>>>18&1023)>>0]|0;a[B+9>>0]=a[d+((t-u|0)>>>18&1023)>>0]|0;a[B+3>>0]=a[d+((w+v|0)>>>18&1023)>>0]|0;a[B+8>>0]=a[d+((v-w|0)>>>18&1023)>>0]|0;a[B+4>>0]=a[d+((y+x|0)>>>18&1023)>>0]|0;a[B+7>>0]=a[d+((x-y|0)>>>18&1023)>>0]|0;a[B+5>>0]=a[d+((A+z|0)>>>18&1023)>>0]|0;a[B+6>>0]=a[d+((z-A|0)>>>18&1023)>>0]|0;f=f+1|0;if((f|0)==12)break;else i=i+32|0}zb=l;return}function gw(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,D=0,E=0,F=0,G=0,H=0;l=zb;zb=zb+416|0;i=l;j=c[d+336>>2]|0;k=0;d=c[e+84>>2]|0;e=i;while(1){m=C(b[f>>1]<<13,c[d>>2]|0)|0|1024;n=C(c[d+64>>2]|0,b[f+32>>1]|0)|0;s=C(c[d+128>>2]|0,b[f+64>>1]|0)|0;o=C(c[d+192>>2]|0,b[f+96>>1]|0)|0;E=o+s|0;o=s-o|0;s=E*9465|0;w=(o*793|0)+m|0;A=s+(n*11249|0)+w|0;w=(n*4108|0)-s+w|0;s=E*2592|0;q=(o*3989|0)+m|0;y=(n*8672|0)-s+q|0;q=s+(C(n,-10258)|0)+q|0;E=E*3570|0;s=m+(C(o,-7678)|0)|0;u=(C(n,-1396)|0)-E+s|0;s=E+(C(n,-6581)|0)+s|0;E=C(c[d+32>>2]|0,b[f+16>>1]|0)|0;r=C(c[d+96>>2]|0,b[f+48>>1]|0)|0;B=C(c[d+160>>2]|0,b[f+80>>1]|0)|0;p=C(c[d+224>>2]|0,b[f+112>>1]|0)|0;x=(r+E|0)*10832|0;v=(B+E|0)*9534|0;D=p+E|0;F=D*7682|0;z=x+(C(E,-16549)|0)+v+F|0;H=C(B+r|0,-2773)|0;G=C(p+r|0,-9534)|0;x=x+(r*6859|0)+H+G|0;t=C(p+B|0,-5384)|0;v=H+(C(B,-12879)|0)+v+t|0;t=G+(p*18068|0)+F+t|0;D=(D*2773|0)+((B-r|0)*7682|0)|0;r=D+(E*2611|0)+(C(r,-3818)|0)|0;p=D+(B*3150|0)+(C(p,-14273)|0)|0;c[e>>2]=z+A>>11;c[e+384>>2]=A-z>>11;c[e+32>>2]=x+y>>11;c[e+352>>2]=y-x>>11;c[e+64>>2]=v+w>>11;c[e+320>>2]=w-v>>11;c[e+96>>2]=t+u>>11;c[e+288>>2]=u-t>>11;c[e+128>>2]=r+s>>11;c[e+256>>2]=s-r>>11;c[e+160>>2]=p+q>>11;c[e+224>>2]=q-p>>11;c[e+192>>2]=((o-n|0)*11585|0)+m>>11;k=k+1|0;if((k|0)==8)break;else{f=f+2|0;d=d+4|0;e=e+4|0}}d=j+-384|0;f=0;while(1){H=(c[g+(f<<2)>>2]|0)+h|0;G=(c[i>>2]<<13)+134348800|0;F=c[i+8>>2]|0;z=c[i+16>>2]|0;E=c[i+24>>2]|0;o=E+z|0;E=z-E|0;z=o*9465|0;v=(E*793|0)+G|0;r=z+(F*11249|0)+v|0;v=(F*4108|0)-z+v|0;z=o*2592|0;B=(E*3989|0)+G|0;t=(F*8672|0)-z+B|0;B=z+(C(F,-10258)|0)+B|0;o=o*3570|0;z=G+(C(E,-7678)|0)|0;x=(C(F,-1396)|0)-o+z|0;z=o+(C(F,-6581)|0)+z|0;o=c[i+4>>2]|0;A=c[i+12>>2]|0;q=c[i+20>>2]|0;D=c[i+28>>2]|0;u=(A+o|0)*10832|0;w=(q+o|0)*9534|0;p=D+o|0;n=p*7682|0;s=u+(C(o,-16549)|0)+w+n|0;k=C(q+A|0,-2773)|0;m=C(D+A|0,-9534)|0;u=u+(A*6859|0)+k+m|0;y=C(D+q|0,-5384)|0;w=k+(C(q,-12879)|0)+w+y|0;y=m+(D*18068|0)+n+y|0;p=(p*2773|0)+((q-A|0)*7682|0)|0;A=p+(o*2611|0)+(C(A,-3818)|0)|0;D=p+(q*3150|0)+(C(D,-14273)|0)|0;a[H>>0]=a[d+((s+r|0)>>>18&1023)>>0]|0;a[H+12>>0]=a[d+((r-s|0)>>>18&1023)>>0]|0;a[H+1>>0]=a[d+((u+t|0)>>>18&1023)>>0]|0;a[H+11>>0]=a[d+((t-u|0)>>>18&1023)>>0]|0;a[H+2>>0]=a[d+((w+v|0)>>>18&1023)>>0]|0;a[H+10>>0]=a[d+((v-w|0)>>>18&1023)>>0]|0;a[H+3>>0]=a[d+((y+x|0)>>>18&1023)>>0]|0;a[H+9>>0]=a[d+((x-y|0)>>>18&1023)>>0]|0;a[H+4>>0]=a[d+((A+z|0)>>>18&1023)>>0]|0;a[H+8>>0]=a[d+((z-A|0)>>>18&1023)>>0]|0;a[H+5>>0]=a[d+((D+B|0)>>>18&1023)>>0]|0;a[H+7>>0]=a[d+((B-D|0)>>>18&1023)>>0]|0;a[H+6>>0]=a[d+((((E-F|0)*11585|0)+G|0)>>>18&1023)>>0]|0;f=f+1|0;if((f|0)==13)break;else i=i+32|0}zb=l;return}function hw(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,D=0,E=0,F=0;l=zb;zb=zb+448|0;i=l;j=c[d+336>>2]|0;k=0;d=c[e+84>>2]|0;e=i;while(1){t=C(b[f>>1]<<13,c[d>>2]|0)|0|1024;r=C(c[d+128>>2]|0,b[f+64>>1]|0)|0;x=(r*10438|0)+t|0;v=(r*2578|0)+t|0;m=(C(r,-7223)|0)+t|0;t=(C(r,-11586)|0)+t>>11;r=C(c[d+64>>2]|0,b[f+32>>1]|0)|0;z=C(c[d+192>>2]|0,b[f+96>>1]|0)|0;p=(z+r|0)*9058|0;n=p+(r*2237|0)|0;p=p+(C(z,-14084)|0)|0;r=(C(z,-11295)|0)+(r*5027|0)|0;z=n+x|0;n=x-n|0;x=p+v|0;p=v-p|0;v=r+m|0;r=m-r|0;m=C(c[d+32>>2]|0,b[f+16>>1]|0)|0;D=C(c[d+96>>2]|0,b[f+48>>1]|0)|0;A=C(c[d+160>>2]|0,b[f+80>>1]|0)|0;s=C(c[d+224>>2]|0,b[f+112>>1]|0)|0;q=s<<13;F=A+m|0;w=(D+m|0)*10935|0;E=F*9810|0;y=w+(C(m,-9232)|0)+E+q|0;F=F*6164|0;B=m-D|0;o=(B*3826|0)-q|0;m=F+(C(m,-8693)|0)+o|0;u=(C(A+D|0,-1297)|0)-q|0;w=w+(C(D,-3474)|0)+u|0;u=E+(C(A,-19447)|0)+u|0;E=(A-D|0)*11512|0;q=E+(C(A,-13850)|0)+F+q|0;o=E+(D*5529|0)+o|0;s=B-A+s<<2;c[e>>2]=y+z>>11;c[e+416>>2]=z-y>>11;c[e+32>>2]=w+x>>11;c[e+384>>2]=x-w>>11;c[e+64>>2]=u+v>>11;c[e+352>>2]=v-u>>11;c[e+96>>2]=s+t;c[e+320>>2]=t-s;c[e+128>>2]=q+r>>11;c[e+288>>2]=r-q>>11;c[e+160>>2]=o+p>>11;c[e+256>>2]=p-o>>11;c[e+192>>2]=m+n>>11;c[e+224>>2]=n-m>>11;k=k+1|0;if((k|0)==8)break;else{f=f+2|0;d=d+4|0;e=e+4|0}}d=j+-384|0;f=0;while(1){F=(c[g+(f<<2)>>2]|0)+h|0;y=(c[i>>2]<<13)+134348800|0;w=c[i+16>>2]|0;s=y+(w*10438|0)|0;u=y+(w*2578|0)|0;E=y+(C(w,-7223)|0)|0;w=y+(C(w,-11586)|0)|0;y=c[i+8>>2]|0;q=c[i+24>>2]|0;A=(q+y|0)*9058|0;D=A+(y*2237|0)|0;A=A+(C(q,-14084)|0)|0;y=(C(q,-11295)|0)+(y*5027|0)|0;q=D+s|0;D=s-D|0;s=A+u|0;A=u-A|0;u=y+E|0;y=E-y|0;E=c[i+4>>2]|0;n=c[i+12>>2]|0;p=c[i+20>>2]|0;x=c[i+28>>2]<<13;z=p+E|0;t=(n+E|0)*10935|0;m=z*9810|0;r=t+(C(E,-9232)|0)+m+x|0;z=z*6164|0;o=E-n|0;B=(o*3826|0)-x|0;E=z+(C(E,-8693)|0)+B|0;v=(C(p+n|0,-1297)|0)-x|0;t=t+(C(n,-3474)|0)+v|0;v=m+(C(p,-19447)|0)+v|0;m=(p-n|0)*11512|0;z=x+(C(p,-13850)|0)+m+z|0;B=m+(n*5529|0)+B|0;x=(o-p<<13)+x|0;a[F>>0]=a[d+((r+q|0)>>>18&1023)>>0]|0;a[F+13>>0]=a[d+((q-r|0)>>>18&1023)>>0]|0;a[F+1>>0]=a[d+((t+s|0)>>>18&1023)>>0]|0;a[F+12>>0]=a[d+((s-t|0)>>>18&1023)>>0]|0;a[F+2>>0]=a[d+((v+u|0)>>>18&1023)>>0]|0;a[F+11>>0]=a[d+((u-v|0)>>>18&1023)>>0]|0;a[F+3>>0]=a[d+((x+w|0)>>>18&1023)>>0]|0;a[F+10>>0]=a[d+((w-x|0)>>>18&1023)>>0]|0;a[F+4>>0]=a[d+((z+y|0)>>>18&1023)>>0]|0;a[F+9>>0]=a[d+((y-z|0)>>>18&1023)>>0]|0;a[F+5>>0]=a[d+((B+A|0)>>>18&1023)>>0]|0;a[F+8>>0]=a[d+((A-B|0)>>>18&1023)>>0]|0;a[F+6>>0]=a[d+((E+D|0)>>>18&1023)>>0]|0;a[F+7>>0]=a[d+((D-E|0)>>>18&1023)>>0]|0;f=f+1|0;if((f|0)==14)break;else i=i+32|0}zb=l;return}function iw(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,D=0,E=0,F=0;l=zb;zb=zb+480|0;i=l;j=c[d+336>>2]|0;k=0;d=c[e+84>>2]|0;e=i;while(1){m=C(b[f>>1]<<13,c[d>>2]|0)|0|1024;s=C(c[d+64>>2]|0,b[f+32>>1]|0)|0;w=C(c[d+128>>2]|0,b[f+64>>1]|0)|0;t=C(c[d+192>>2]|0,b[f+96>>1]|0)|0;y=(C(t,-3580)|0)+m|0;D=(t*9373|0)+m|0;m=(C(t,-11586)|0)+m|0;t=s-w|0;w=w+s|0;E=w*10958|0;u=t*374|0;s=s*11795|0;A=u+E+D|0;u=s-E+u+y|0;E=w*4482|0;o=C(t,-3271)|0;q=D-E+o|0;o=E-s+o+y|0;w=w*6476|0;s=t*2896|0;y=s+w+y|0;s=D-w+s|0;w=m+(t*5792|0)|0;m=(C(t,-11584)|0)+m|0;t=C(c[d+32>>2]|0,b[f+16>>1]|0)|0;D=C(c[d+96>>2]|0,b[f+48>>1]|0)|0;E=C((b[f+80>>1]|0)*10033|0,c[d+160>>2]|0)|0;B=C(c[d+224>>2]|0,b[f+112>>1]|0)|0;r=D-B|0;F=(r+t|0)*6810|0;x=F+(t*4209|0)|0;r=F+(C(r,-17828)|0)|0;F=C(D,-6810)|0;D=C(D,-11018)|0;v=t-B|0;n=(v*11522|0)+E|0;z=(B*20131|0)-D+n|0;n=F+(C(t,-9113)|0)+n|0;v=(v*10033|0)-E|0;p=(B+t|0)*4712|0;t=F+(t*3897|0)-E+p|0;p=E+D+(C(B,-7121)|0)+p|0;c[e>>2]=z+A>>11;c[e+448>>2]=A-z>>11;c[e+32>>2]=x+y>>11;c[e+416>>2]=y-x>>11;c[e+64>>2]=v+w>>11;c[e+384>>2]=w-v>>11;c[e+96>>2]=t+u>>11;c[e+352>>2]=u-t>>11;c[e+128>>2]=r+s>>11;c[e+320>>2]=s-r>>11;c[e+160>>2]=p+q>>11;c[e+288>>2]=q-p>>11;c[e+192>>2]=n+o>>11;c[e+256>>2]=o-n>>11;c[e+224>>2]=m>>11;k=k+1|0;if((k|0)==8)break;else{f=f+2|0;d=d+4|0;e=e+4|0}}d=j+-384|0;f=0;while(1){F=(c[g+(f<<2)>>2]|0)+h|0;E=(c[i>>2]<<13)+134348800|0;x=c[i+8>>2]|0;t=c[i+16>>2]|0;w=c[i+24>>2]|0;r=(C(w,-3580)|0)+E|0;n=(w*9373|0)+E|0;E=(C(w,-11586)|0)+E|0;w=x-t|0;t=t+x|0;m=t*10958|0;v=w*374|0;x=x*11795|0;p=v+m+n|0;v=x-m+v+r|0;m=t*4482|0;B=C(w,-3271)|0;z=n-m+B|0;B=m-x+B+r|0;t=t*6476|0;x=w*2896|0;r=x+t+r|0;x=n-t+x|0;t=E+(w*5792|0)|0;E=(C(w,-11584)|0)+E|0;w=c[i+4>>2]|0;n=c[i+12>>2]|0;m=(c[i+20>>2]|0)*10033|0;o=c[i+28>>2]|0;y=n-o|0;k=(y+w|0)*6810|0;s=k+(w*4209|0)|0;y=k+(C(y,-17828)|0)|0;k=C(n,-6810)|0;n=C(n,-11018)|0;u=w-o|0;D=(u*11522|0)+m|0;q=(o*20131|0)-n+D|0;D=k+(C(w,-9113)|0)+D|0;u=(u*10033|0)-m|0;A=(o+w|0)*4712|0;w=k+(w*3897|0)-m+A|0;A=m+n+(C(o,-7121)|0)+A|0;a[F>>0]=a[d+((q+p|0)>>>18&1023)>>0]|0;a[F+14>>0]=a[d+((p-q|0)>>>18&1023)>>0]|0;a[F+1>>0]=a[d+((s+r|0)>>>18&1023)>>0]|0;a[F+13>>0]=a[d+((r-s|0)>>>18&1023)>>0]|0;a[F+2>>0]=a[d+((u+t|0)>>>18&1023)>>0]|0;a[F+12>>0]=a[d+((t-u|0)>>>18&1023)>>0]|0;a[F+3>>0]=a[d+((w+v|0)>>>18&1023)>>0]|0;a[F+11>>0]=a[d+((v-w|0)>>>18&1023)>>0]|0;a[F+4>>0]=a[d+((y+x|0)>>>18&1023)>>0]|0;a[F+10>>0]=a[d+((x-y|0)>>>18&1023)>>0]|0;a[F+5>>0]=a[d+((A+z|0)>>>18&1023)>>0]|0;a[F+9>>0]=a[d+((z-A|0)>>>18&1023)>>0]|0;a[F+6>>0]=a[d+((D+B|0)>>>18&1023)>>0]|0;a[F+8>>0]=a[d+((B-D|0)>>>18&1023)>>0]|0;a[F+7>>0]=a[d+(E>>>18&1023)>>0]|0;f=f+1|0;if((f|0)==15)break;else i=i+32|0}zb=l;return}function jw(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,D=0,E=0,F=0,G=0,H=0,I=0,J=0;l=zb;zb=zb+512|0;i=l;j=c[d+336>>2]|0;k=0;d=c[e+84>>2]|0;e=i;while(1){r=C(b[f>>1]<<13,c[d>>2]|0)|0|1024;v=C(c[d+128>>2]|0,b[f+64>>1]|0)|0;m=v*10703|0;v=v*4433|0;z=m+r|0;m=r-m|0;x=v+r|0;v=r-v|0;r=C(c[d+64>>2]|0,b[f+32>>1]|0)|0;t=C(c[d+192>>2]|0,b[f+96>>1]|0)|0;o=r-t|0;B=o*2260|0;o=o*11363|0;n=o+(t*20995|0)|0;p=B+(r*7373|0)|0;r=o+(C(r,-4926)|0)|0;t=B+(C(t,-4176)|0)|0;B=n+z|0;n=z-n|0;z=p+x|0;p=x-p|0;x=r+v|0;r=v-r|0;v=t+m|0;t=m-t|0;m=C(c[d+32>>2]|0,b[f+16>>1]|0)|0;o=C(c[d+96>>2]|0,b[f+48>>1]|0)|0;E=C(c[d+160>>2]|0,b[f+80>>1]|0)|0;G=C(c[d+224>>2]|0,b[f+112>>1]|0)|0;D=E+m|0;y=(o+m|0)*11086|0;w=D*10217|0;q=(G+m|0)*8956|0;s=(m-G|0)*7350|0;D=D*5461|0;u=(m-o|0)*3363|0;A=y+(C(m,-18730)|0)+w+q|0;m=u+(C(m,-15038)|0)+D+s|0;J=(E+o|0)*1136|0;F=(E-o|0)*11529|0;H=G+o|0;I=C(H,-5461)|0;y=y+(o*589|0)+J+I|0;H=C(H,-10217)|0;o=u+(o*16154|0)+F+H|0;u=C(G+E|0,-11086)|0;w=J+(C(E,-9222)|0)+w+u|0;u=I+(G*8728|0)+q+u|0;q=(G-E|0)*3363|0;s=H+(G*25733|0)+s+q|0;q=F+(C(E,-6278)|0)+D+q|0;c[e>>2]=A+B>>11;c[e+480>>2]=B-A>>11;c[e+32>>2]=y+z>>11;c[e+448>>2]=z-y>>11;c[e+64>>2]=w+x>>11;c[e+416>>2]=x-w>>11;c[e+96>>2]=u+v>>11;c[e+384>>2]=v-u>>11;c[e+128>>2]=s+t>>11;c[e+352>>2]=t-s>>11;c[e+160>>2]=q+r>>11;c[e+320>>2]=r-q>>11;c[e+192>>2]=o+p>>11;c[e+288>>2]=p-o>>11;c[e+224>>2]=m+n>>11;c[e+256>>2]=n-m>>11;k=k+1|0;if((k|0)==8)break;else{f=f+2|0;d=d+4|0;e=e+4|0}}d=j+-384|0;f=0;while(1){J=(c[g+(f<<2)>>2]|0)+h|0;D=(c[i>>2]<<13)+134348800|0;y=c[i+16>>2]|0;I=y*10703|0;y=y*4433|0;u=D+I|0;I=D-I|0;w=D+y|0;y=D-y|0;D=c[i+8>>2]|0;A=c[i+24>>2]|0;G=D-A|0;s=G*2260|0;G=G*11363|0;H=G+(A*20995|0)|0;F=s+(D*7373|0)|0;D=G+(C(D,-4926)|0)|0;A=s+(C(A,-4176)|0)|0;s=H+u|0;H=u-H|0;u=F+w|0;F=w-F|0;w=D+y|0;D=y-D|0;y=A+I|0;A=I-A|0;I=c[i+4>>2]|0;G=c[i+12>>2]|0;q=c[i+20>>2]|0;o=c[i+28>>2]|0;r=q+I|0;v=(G+I|0)*11086|0;x=r*10217|0;E=(o+I|0)*8956|0;B=(I-o|0)*7350|0;r=r*5461|0;z=(I-G|0)*3363|0;t=v+(C(I,-18730)|0)+x+E|0;I=z+(C(I,-15038)|0)+r+B|0;k=(q+G|0)*1136|0;p=(q-G|0)*11529|0;n=o+G|0;m=C(n,-5461)|0;v=v+(G*589|0)+k+m|0;n=C(n,-10217)|0;G=z+(G*16154|0)+p+n|0;z=C(o+q|0,-11086)|0;x=k+(C(q,-9222)|0)+x+z|0;z=m+(o*8728|0)+E+z|0;E=(o-q|0)*3363|0;B=n+(o*25733|0)+B+E|0;E=p+(C(q,-6278)|0)+r+E|0;a[J>>0]=a[d+((t+s|0)>>>18&1023)>>0]|0;a[J+15>>0]=a[d+((s-t|0)>>>18&1023)>>0]|0;a[J+1>>0]=a[d+((v+u|0)>>>18&1023)>>0]|0;a[J+14>>0]=a[d+((u-v|0)>>>18&1023)>>0]|0;a[J+2>>0]=a[d+((x+w|0)>>>18&1023)>>0]|0;a[J+13>>0]=a[d+((w-x|0)>>>18&1023)>>0]|0;a[J+3>>0]=a[d+((z+y|0)>>>18&1023)>>0]|0;a[J+12>>0]=a[d+((y-z|0)>>>18&1023)>>0]|0;a[J+4>>0]=a[d+((B+A|0)>>>18&1023)>>0]|0;a[J+11>>0]=a[d+((A-B|0)>>>18&1023)>>0]|0;a[J+5>>0]=a[d+((E+D|0)>>>18&1023)>>0]|0;a[J+10>>0]=a[d+((D-E|0)>>>18&1023)>>0]|0;a[J+6>>0]=a[d+((G+F|0)>>>18&1023)>>0]|0;a[J+9>>0]=a[d+((F-G|0)>>>18&1023)>>0]|0;a[J+7>>0]=a[d+((I+H|0)>>>18&1023)>>0]|0;a[J+8>>0]=a[d+((H-I|0)>>>18&1023)>>0]|0;f=f+1|0;if((f|0)==16)break;else i=i+32|0}zb=l;return}function kw(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,D=0,E=0,F=0,G=0,H=0;o=zb;zb=zb+256|0;i=o;l=c[d+336>>2]|0;m=8;j=c[e+84>>2]|0;k=i;while(1){e=b[f+16>>1]|0;d=b[f+32>>1]|0;if(!((e|d)<<16>>16))if(((((b[f+48>>1]|0)==0?(b[f+64>>1]|0)==0:0)?(b[f+80>>1]|0)==0:0)?(b[f+96>>1]|0)==0:0)?(b[f+112>>1]|0)==0:0){e=C(b[f>>1]<<2,c[j>>2]|0)|0;c[k>>2]=e;c[k+32>>2]=e;c[k+64>>2]=e;c[k+96>>2]=e;c[k+128>>2]=e;c[k+160>>2]=e;c[k+192>>2]=e;d=56}else{d=0;n=9}else n=9;if((n|0)==9){n=0;y=C(b[f+64>>1]<<13,c[j+128>>2]|0)|0;p=C(b[f>>1]<<13,c[j>>2]|0)|0|1024;s=y+p|0;y=p-y|0;p=C(c[j+64>>2]|0,d<<16>>16)|0;q=C(c[j+192>>2]|0,b[f+96>>1]|0)|0;u=(q+p|0)*4433|0;p=u+(p*6270|0)|0;q=u+(C(q,-15137)|0)|0;u=p+s|0;p=s-p|0;s=q+y|0;q=y-q|0;y=C(c[j+224>>2]|0,b[f+112>>1]|0)|0;x=C(c[j+160>>2]|0,b[f+80>>1]|0)|0;v=C(c[j+96>>2]|0,b[f+48>>1]|0)|0;t=C(c[j+32>>2]|0,e<<16>>16)|0;r=v+y|0;d=t+x|0;w=(d+r|0)*9633|0;r=w+(C(r,-16069)|0)|0;d=w+(C(d,-3196)|0)|0;w=C(t+y|0,-7373)|0;e=w+(y*2446|0)+r|0;t=w+(t*12299|0)+d|0;w=C(v+x|0,-20995)|0;d=w+(x*16819|0)+d|0;r=w+(v*25172|0)+r|0;c[k>>2]=t+u>>11;c[k+224>>2]=u-t>>11;c[k+32>>2]=r+s>>11;c[k+192>>2]=s-r>>11;c[k+64>>2]=d+q>>11;c[k+160>>2]=q-d>>11;c[k+96>>2]=e+p>>11;d=32;e=p-e>>11}c[k+(d<<2)>>2]=e;if(m>>>0>1){m=m+-1|0;f=f+2|0;j=j+4|0;k=k+4|0}else break}d=l+-384|0;f=0;while(1){y=(c[g+(f<<2)>>2]|0)+h|0;s=(c[i>>2]<<13)+134348800|0;n=c[i+16>>2]|0;x=n*10703|0;n=n*4433|0;j=s+x|0;x=s-x|0;l=s+n|0;n=s-n|0;s=c[i+8>>2]|0;q=c[i+24>>2]|0;v=s-q|0;z=v*2260|0;v=v*11363|0;w=v+(q*20995|0)|0;u=z+(s*7373|0)|0;s=v+(C(s,-4926)|0)|0;q=z+(C(q,-4176)|0)|0;z=w+j|0;w=j-w|0;j=u+l|0;u=l-u|0;l=s+n|0;s=n-s|0;n=q+x|0;q=x-q|0;x=c[i+4>>2]|0;v=c[i+12>>2]|0;B=c[i+20>>2]|0;E=c[i+28>>2]|0;A=B+x|0;k=(v+x|0)*11086|0;m=A*10217|0;t=(E+x|0)*8956|0;r=(x-E|0)*7350|0;A=A*5461|0;p=(x-v|0)*3363|0;e=k+(C(x,-18730)|0)+m+t|0;x=p+(C(x,-15038)|0)+A+r|0;H=(B+v|0)*1136|0;D=(B-v|0)*11529|0;F=E+v|0;G=C(F,-5461)|0;k=k+(v*589|0)+H+G|0;F=C(F,-10217)|0;v=p+(v*16154|0)+D+F|0;p=C(E+B|0,-11086)|0;m=H+(C(B,-9222)|0)+m+p|0;p=G+(E*8728|0)+t+p|0;t=(E-B|0)*3363|0;r=F+(E*25733|0)+r+t|0;t=D+(C(B,-6278)|0)+A+t|0;a[y>>0]=a[d+((e+z|0)>>>18&1023)>>0]|0;a[y+15>>0]=a[d+((z-e|0)>>>18&1023)>>0]|0;a[y+1>>0]=a[d+((k+j|0)>>>18&1023)>>0]|0;a[y+14>>0]=a[d+((j-k|0)>>>18&1023)>>0]|0;a[y+2>>0]=a[d+((m+l|0)>>>18&1023)>>0]|0;a[y+13>>0]=a[d+((l-m|0)>>>18&1023)>>0]|0;a[y+3>>0]=a[d+((p+n|0)>>>18&1023)>>0]|0;a[y+12>>0]=a[d+((n-p|0)>>>18&1023)>>0]|0;a[y+4>>0]=a[d+((r+q|0)>>>18&1023)>>0]|0;a[y+11>>0]=a[d+((q-r|0)>>>18&1023)>>0]|0;a[y+5>>0]=a[d+((t+s|0)>>>18&1023)>>0]|0;a[y+10>>0]=a[d+((s-t|0)>>>18&1023)>>0]|0;a[y+6>>0]=a[d+((v+u|0)>>>18&1023)>>0]|0;a[y+9>>0]=a[d+((u-v|0)>>>18&1023)>>0]|0;a[y+7>>0]=a[d+((x+w|0)>>>18&1023)>>0]|0;a[y+8>>0]=a[d+((w-x|0)>>>18&1023)>>0]|0;f=f+1|0;if((f|0)==8)break;else i=i+32|0}zb=o;return}function lw(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;l=zb;zb=zb+224|0;i=l;j=c[d+336>>2]|0;k=0;d=c[e+84>>2]|0;e=i;while(1){m=C(b[f>>1]<<13,c[d>>2]|0)|0|1024;w=C(c[d+64>>2]|0,b[f+32>>1]|0)|0;o=C(c[d+128>>2]|0,b[f+64>>1]|0)|0;u=C(c[d+192>>2]|0,b[f+96>>1]|0)|0;v=(o-u|0)*7223|0;p=(w-o|0)*2578|0;s=(C(o,-15083)|0)+m+p+v|0;n=u+w|0;q=(n*10438|0)+m|0;u=v+(C(u,-637)|0)+q|0;q=p+(C(w,-20239)|0)+q|0;w=C(c[d+32>>2]|0,b[f+16>>1]|0)|0;p=C(c[d+96>>2]|0,b[f+48>>1]|0)|0;v=C(c[d+160>>2]|0,b[f+80>>1]|0)|0;x=(p+w|0)*7663|0;t=(w-p|0)*1395|0;p=C(v+p|0,-11295)|0;r=x+t+p|0;w=(v+w|0)*5027|0;t=w+(x-t)|0;p=w+(v*15326|0)+p|0;c[e>>2]=t+u>>11;c[e+192>>2]=u-t>>11;c[e+32>>2]=r+s>>11;c[e+160>>2]=s-r>>11;c[e+64>>2]=p+q>>11;c[e+128>>2]=q-p>>11;c[e+96>>2]=((o-n|0)*11585|0)+m>>11;k=k+1|0;if((k|0)==8)break;else{f=f+2|0;d=d+4|0;e=e+4|0}}d=j+-384|0;f=0;while(1){x=(c[g+(f<<2)>>2]|0)+h|0;r=(c[i>>2]<<13)+134348800|0;p=c[i+16>>2]|0;k=r+(p*10438|0)|0;n=r+(p*2578|0)|0;w=r+(C(p,-7223)|0)|0;p=r+(C(p,-11586)|0)|0;r=c[i+8>>2]|0;e=c[i+24>>2]|0;t=(e+r|0)*9058|0;v=t+(r*2237|0)|0;t=t+(C(e,-14084)|0)|0;r=(C(e,-11295)|0)+(r*5027|0)|0;e=v+k|0;v=k-v|0;k=t+n|0;t=n-t|0;n=r+w|0;r=w-r|0;w=c[i+4>>2]|0;A=c[i+12>>2]|0;y=c[i+20>>2]|0;q=c[i+28>>2]<<13;s=y+w|0;m=(A+w|0)*10935|0;B=s*9810|0;j=m+(C(w,-9232)|0)+B+q|0;s=s*6164|0;z=w-A|0;u=(z*3826|0)-q|0;w=s+(C(w,-8693)|0)+u|0;o=(C(y+A|0,-1297)|0)-q|0;m=m+(C(A,-3474)|0)+o|0;o=B+(C(y,-19447)|0)+o|0;B=(y-A|0)*11512|0;s=q+(C(y,-13850)|0)+B+s|0;u=B+(A*5529|0)+u|0;q=(z-y<<13)+q|0;a[x>>0]=a[d+((j+e|0)>>>18&1023)>>0]|0;a[x+13>>0]=a[d+((e-j|0)>>>18&1023)>>0]|0;a[x+1>>0]=a[d+((m+k|0)>>>18&1023)>>0]|0;a[x+12>>0]=a[d+((k-m|0)>>>18&1023)>>0]|0;a[x+2>>0]=a[d+((o+n|0)>>>18&1023)>>0]|0;a[x+11>>0]=a[d+((n-o|0)>>>18&1023)>>0]|0;a[x+3>>0]=a[d+((q+p|0)>>>18&1023)>>0]|0;a[x+10>>0]=a[d+((p-q|0)>>>18&1023)>>0]|0;a[x+4>>0]=a[d+((s+r|0)>>>18&1023)>>0]|0;a[x+9>>0]=a[d+((r-s|0)>>>18&1023)>>0]|0;a[x+5>>0]=a[d+((u+t|0)>>>18&1023)>>0]|0;a[x+8>>0]=a[d+((t-u|0)>>>18&1023)>>0]|0;a[x+6>>0]=a[d+((w+v|0)>>>18&1023)>>0]|0;a[x+7>>0]=a[d+((v-w|0)>>>18&1023)>>0]|0;f=f+1|0;if((f|0)==7)break;else i=i+32|0}zb=l;return}function mw(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;l=zb;zb=zb+192|0;i=l;j=c[d+336>>2]|0;k=0;d=c[e+84>>2]|0;e=i;while(1){p=C(b[f>>1]<<13,c[d>>2]|0)|0|1024;n=C((b[f+64>>1]|0)*5793|0,c[d+128>>2]|0)|0;t=n+p|0;p=(C(n,-2)|0)+p>>11;n=C((b[f+32>>1]|0)*10033|0,c[d+64>>2]|0)|0;r=n+t|0;n=t-n|0;t=C(c[d+32>>2]|0,b[f+16>>1]|0)|0;s=C(c[d+96>>2]|0,b[f+48>>1]|0)|0;o=C(c[d+160>>2]|0,b[f+80>>1]|0)|0;m=(o+t|0)*2998|0;q=m+(s+t<<13)|0;m=m+(o-s<<13)|0;o=t-s-o<<2;c[e>>2]=q+r>>11;c[e+160>>2]=r-q>>11;c[e+32>>2]=o+p;c[e+128>>2]=p-o;c[e+64>>2]=m+n>>11;c[e+96>>2]=n-m>>11;k=k+1|0;if((k|0)==8)break;else{f=f+2|0;d=d+4|0;e=e+4|0}}d=j+-384|0;f=0;while(1){t=(c[g+(f<<2)>>2]|0)+h|0;r=(c[i>>2]<<13)+134348800|0;x=(c[i+16>>2]|0)*10033|0;w=r+x|0;x=r-x|0;k=c[i+8>>2]|0;n=c[i+24>>2]<<13;p=(k<<13)-n|0;e=p+r|0;p=r-p|0;r=n+(k*11190|0)|0;v=r+w|0;r=w-r|0;n=(k*2998|0)-n|0;k=n+x|0;n=x-n|0;x=c[i+4>>2]|0;w=c[i+12>>2]|0;q=c[i+20>>2]|0;j=c[i+28>>2]|0;z=w*10703|0;y=C(w,-4433)|0;m=q+x|0;s=(m+j|0)*7053|0;m=s+(m*2139|0)|0;u=z+(x*2295|0)+m|0;o=C(j+q|0,-8565)|0;m=(C(q,-12112)|0)+y+o+m|0;o=(j*12998|0)-z+s+o|0;s=y+(C(x,-5540)|0)+(C(j,-16244)|0)+s|0;j=x-j|0;q=w-q|0;w=(j+q|0)*4433|0;j=w+(j*6270|0)|0;q=w+(C(q,-15137)|0)|0;a[t>>0]=a[d+((u+v|0)>>>18&1023)>>0]|0;a[t+11>>0]=a[d+((v-u|0)>>>18&1023)>>0]|0;a[t+1>>0]=a[d+((j+e|0)>>>18&1023)>>0]|0;a[t+10>>0]=a[d+((e-j|0)>>>18&1023)>>0]|0;a[t+2>>0]=a[d+((m+k|0)>>>18&1023)>>0]|0;a[t+9>>0]=a[d+((k-m|0)>>>18&1023)>>0]|0;a[t+3>>0]=a[d+((o+n|0)>>>18&1023)>>0]|0;a[t+8>>0]=a[d+((n-o|0)>>>18&1023)>>0]|0;a[t+4>>0]=a[d+((q+p|0)>>>18&1023)>>0]|0;a[t+7>>0]=a[d+((p-q|0)>>>18&1023)>>0]|0;a[t+5>>0]=a[d+((s+r|0)>>>18&1023)>>0]|0;a[t+6>>0]=a[d+((r-s|0)>>>18&1023)>>0]|0;f=f+1|0;if((f|0)==6)break;else i=i+32|0}zb=l;return}function nw(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;l=zb;zb=zb+160|0;i=l;j=c[d+336>>2]|0;k=0;d=c[e+84>>2]|0;e=i;while(1){m=C(b[f>>1]<<13,c[d>>2]|0)|0|1024;n=C(c[d+64>>2]|0,b[f+32>>1]|0)|0;p=C(c[d+128>>2]|0,b[f+64>>1]|0)|0;o=(p+n|0)*6476|0;p=n-p|0;n=(p*2896|0)+m|0;q=n+o|0;o=n-o|0;m=(C(p,-11584)|0)+m|0;p=C(c[d+32>>2]|0,b[f+16>>1]|0)|0;n=C(c[d+96>>2]|0,b[f+48>>1]|0)|0;r=(n+p|0)*6810|0;p=r+(p*4209|0)|0;n=r+(C(n,-17828)|0)|0;c[e>>2]=p+q>>11;c[e+128>>2]=q-p>>11;c[e+32>>2]=n+o>>11;c[e+96>>2]=o-n>>11;c[e+64>>2]=m>>11;k=k+1|0;if((k|0)==8)break;else{f=f+2|0;d=d+4|0;e=e+4|0}}d=j+-384|0;f=0;while(1){r=(c[g+(f<<2)>>2]|0)+h|0;p=(c[i>>2]<<13)+134348800|0;k=c[i+16>>2]|0;e=p+(k*9373|0)|0;u=p+(C(k,-3580)|0)|0;k=p+(C(k,-11586)|0)|0;p=c[i+8>>2]|0;n=c[i+24>>2]|0;t=(n+p|0)*6810|0;p=t+(p*4209|0)|0;n=t+(C(n,-17828)|0)|0;t=p+e|0;p=e-p|0;e=n+u|0;n=u-n|0;u=c[i+4>>2]|0;v=c[i+12>>2]|0;m=c[i+20>>2]<<13;j=c[i+28>>2]|0;o=j+v|0;j=v-j|0;v=j*2531|0;w=o*7791|0;q=v+m|0;s=w+(u*11443|0)+q|0;q=(u*1812|0)-w+q|0;o=o*4815|0;v=m-v-(j<<12)|0;m=(u-j<<13)-m|0;j=(u*10323|0)-o-v|0;o=v+((u*5260|0)-o)|0;a[r>>0]=a[d+((s+t|0)>>>18&1023)>>0]|0;a[r+9>>0]=a[d+((t-s|0)>>>18&1023)>>0]|0;a[r+1>>0]=a[d+((j+e|0)>>>18&1023)>>0]|0;a[r+8>>0]=a[d+((e-j|0)>>>18&1023)>>0]|0;a[r+2>>0]=a[d+((m+k|0)>>>18&1023)>>0]|0;a[r+7>>0]=a[d+((k-m|0)>>>18&1023)>>0]|0;a[r+3>>0]=a[d+((o+n|0)>>>18&1023)>>0]|0;a[r+6>>0]=a[d+((n-o|0)>>>18&1023)>>0]|0;a[r+4>>0]=a[d+((q+p|0)>>>18&1023)>>0]|0;a[r+5>>0]=a[d+((p-q|0)>>>18&1023)>>0]|0;f=f+1|0;if((f|0)==5)break;else i=i+32|0}zb=l;return}function ow(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;i=zb;zb=zb+128|0;j=i;d=c[d+336>>2]|0;m=c[e+84>>2]|0;l=C(c[m>>2]|0,b[f>>1]|0)|0;e=C(c[m+64>>2]|0,b[f+32>>1]|0)|0;n=e+l<<2;e=l-e<<2;l=C(c[m+32>>2]|0,b[f+16>>1]|0)|0;k=C(c[m+96>>2]|0,b[f+48>>1]|0)|0;o=((k+l|0)*4433|0)+1024|0;l=o+(l*6270|0)>>11;k=o+(C(k,-15137)|0)>>11;c[j>>2]=l+n;c[j+96>>2]=n-l;c[j+32>>2]=k+e;c[j+64>>2]=e-k;k=C(c[m+4>>2]|0,b[f+2>>1]|0)|0;e=C(c[m+68>>2]|0,b[f+34>>1]|0)|0;l=e+k<<2;e=k-e<<2;k=C(c[m+36>>2]|0,b[f+18>>1]|0)|0;n=C(c[m+100>>2]|0,b[f+50>>1]|0)|0;o=((n+k|0)*4433|0)+1024|0;k=o+(k*6270|0)>>11;n=o+(C(n,-15137)|0)>>11;c[j+4>>2]=k+l;c[j+100>>2]=l-k;c[j+36>>2]=n+e;c[j+68>>2]=e-n;n=C(c[m+8>>2]|0,b[f+4>>1]|0)|0;e=C(c[m+72>>2]|0,b[f+36>>1]|0)|0;k=e+n<<2;e=n-e<<2;n=C(c[m+40>>2]|0,b[f+20>>1]|0)|0;l=C(c[m+104>>2]|0,b[f+52>>1]|0)|0;o=((l+n|0)*4433|0)+1024|0;n=o+(n*6270|0)>>11;l=o+(C(l,-15137)|0)>>11;c[j+8>>2]=n+k;c[j+104>>2]=k-n;c[j+40>>2]=l+e;c[j+72>>2]=e-l;l=C(c[m+12>>2]|0,b[f+6>>1]|0)|0;e=C(c[m+76>>2]|0,b[f+38>>1]|0)|0;n=e+l<<2;e=l-e<<2;l=C(c[m+44>>2]|0,b[f+22>>1]|0)|0;k=C(c[m+108>>2]|0,b[f+54>>1]|0)|0;o=((k+l|0)*4433|0)+1024|0;l=o+(l*6270|0)>>11;k=o+(C(k,-15137)|0)>>11;c[j+12>>2]=l+n;c[j+108>>2]=n-l;c[j+44>>2]=k+e;c[j+76>>2]=e-k;k=C(c[m+16>>2]|0,b[f+8>>1]|0)|0;e=C(c[m+80>>2]|0,b[f+40>>1]|0)|0;l=e+k<<2;e=k-e<<2;k=C(c[m+48>>2]|0,b[f+24>>1]|0)|0;n=C(c[m+112>>2]|0,b[f+56>>1]|0)|0;o=((n+k|0)*4433|0)+1024|0;k=o+(k*6270|0)>>11;n=o+(C(n,-15137)|0)>>11;c[j+16>>2]=k+l;c[j+112>>2]=l-k;c[j+48>>2]=n+e;c[j+80>>2]=e-n;n=C(c[m+20>>2]|0,b[f+10>>1]|0)|0;e=C(c[m+84>>2]|0,b[f+42>>1]|0)|0;k=e+n<<2;e=n-e<<2;n=C(c[m+52>>2]|0,b[f+26>>1]|0)|0;l=C(c[m+116>>2]|0,b[f+58>>1]|0)|0;o=((l+n|0)*4433|0)+1024|0;n=o+(n*6270|0)>>11;l=o+(C(l,-15137)|0)>>11;c[j+20>>2]=n+k;c[j+116>>2]=k-n;c[j+52>>2]=l+e;c[j+84>>2]=e-l;l=C(c[m+24>>2]|0,b[f+12>>1]|0)|0;e=C(c[m+88>>2]|0,b[f+44>>1]|0)|0;n=e+l<<2;e=l-e<<2;l=C(c[m+56>>2]|0,b[f+28>>1]|0)|0;k=C(c[m+120>>2]|0,b[f+60>>1]|0)|0;o=((k+l|0)*4433|0)+1024|0;l=o+(l*6270|0)>>11;k=o+(C(k,-15137)|0)>>11;c[j+24>>2]=l+n;c[j+120>>2]=n-l;c[j+56>>2]=k+e;c[j+88>>2]=e-k;k=C(c[m+28>>2]|0,b[f+14>>1]|0)|0;e=C(c[m+92>>2]|0,b[f+46>>1]|0)|0;l=e+k<<2;e=k-e<<2;k=C(c[m+60>>2]|0,b[f+30>>1]|0)|0;f=C(c[m+124>>2]|0,b[f+62>>1]|0)|0;m=((f+k|0)*4433|0)+1024|0;k=m+(k*6270|0)>>11;f=m+(C(f,-15137)|0)>>11;c[j+28>>2]=k+l;c[j+124>>2]=l-k;c[j+60>>2]=f+e;c[j+92>>2]=e-f;d=d+-384|0;f=0;e=j;while(1){o=(c[g+(f<<2)>>2]|0)+h|0;m=(c[e>>2]|0)+16400|0;n=c[e+16>>2]|0;p=m+n<<13;n=m-n<<13;m=c[e+8>>2]|0;k=c[e+24>>2]|0;r=(k+m|0)*4433|0;m=r+(m*6270|0)|0;k=r+(C(k,-15137)|0)|0;r=m+p|0;m=p-m|0;p=k+n|0;k=n-k|0;n=c[e+28>>2]|0;u=c[e+20>>2]|0;s=c[e+12>>2]|0;q=c[e+4>>2]|0;j=s+n|0;l=q+u|0;t=(l+j|0)*9633|0;j=t+(C(j,-16069)|0)|0;l=t+(C(l,-3196)|0)|0;t=C(q+n|0,-7373)|0;n=t+(n*2446|0)+j|0;q=t+(q*12299|0)+l|0;t=C(s+u|0,-20995)|0;l=t+(u*16819|0)+l|0;j=t+(s*25172|0)+j|0;a[o>>0]=a[d+((q+r|0)>>>18&1023)>>0]|0;a[o+7>>0]=a[d+((r-q|0)>>>18&1023)>>0]|0;a[o+1>>0]=a[d+((j+p|0)>>>18&1023)>>0]|0;a[o+6>>0]=a[d+((p-j|0)>>>18&1023)>>0]|0;a[o+2>>0]=a[d+((l+k|0)>>>18&1023)>>0]|0;a[o+5>>0]=a[d+((k-l|0)>>>18&1023)>>0]|0;a[o+3>>0]=a[d+((n+m|0)>>>18&1023)>>0]|0;a[o+4>>0]=a[d+((m-n|0)>>>18&1023)>>0]|0;f=f+1|0;if((f|0)==4)break;else e=e+32|0}zb=i;return}function pw(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;i=zb;zb=zb+80|0;k=i;q=c[d+336>>2]|0;p=c[e+84>>2]|0;s=C(b[f>>1]<<13,c[p>>2]|0)|0|1024;n=C((b[f+32>>1]|0)*5793|0,c[p+64>>2]|0)|0;l=n+s|0;s=(C(n,-2)|0)+s|0;n=C((b[f+16>>1]|0)*10033|0,c[p+32>>2]|0)|0;c[k>>2]=n+l>>11;c[k+48>>2]=l-n>>11;n=k+24|0;c[n>>2]=s>>11;s=k+4|0;l=C(b[f+2>>1]<<13,c[p+4>>2]|0)|0|1024;r=C((b[f+34>>1]|0)*5793|0,c[p+68>>2]|0)|0;e=r+l|0;l=(C(r,-2)|0)+l|0;r=C((b[f+18>>1]|0)*10033|0,c[p+36>>2]|0)|0;c[s>>2]=r+e>>11;c[k+52>>2]=e-r>>11;c[k+28>>2]=l>>11;l=C(b[f+4>>1]<<13,c[p+8>>2]|0)|0|1024;r=C((b[f+36>>1]|0)*5793|0,c[p+72>>2]|0)|0;e=r+l|0;l=(C(r,-2)|0)+l|0;r=C((b[f+20>>1]|0)*10033|0,c[p+40>>2]|0)|0;c[k+8>>2]=r+e>>11;c[k+56>>2]=e-r>>11;c[k+32>>2]=l>>11;l=C(b[f+6>>1]<<13,c[p+12>>2]|0)|0|1024;r=C((b[f+38>>1]|0)*5793|0,c[p+76>>2]|0)|0;e=r+l|0;l=(C(r,-2)|0)+l|0;r=C((b[f+22>>1]|0)*10033|0,c[p+44>>2]|0)|0;c[k+12>>2]=r+e>>11;c[k+60>>2]=e-r>>11;c[k+36>>2]=l>>11;l=C(b[f+8>>1]<<13,c[p+16>>2]|0)|0|1024;r=C((b[f+40>>1]|0)*5793|0,c[p+80>>2]|0)|0;e=r+l|0;l=(C(r,-2)|0)+l|0;r=C((b[f+24>>1]|0)*10033|0,c[p+48>>2]|0)|0;c[k+16>>2]=r+e>>11;c[k+64>>2]=e-r>>11;c[k+40>>2]=l>>11;l=C(b[f+10>>1]<<13,c[p+20>>2]|0)|0|1024;r=C((b[f+42>>1]|0)*5793|0,c[p+84>>2]|0)|0;e=r+l|0;l=(C(r,-2)|0)+l|0;f=C((b[f+26>>1]|0)*10033|0,c[p+52>>2]|0)|0;c[k+20>>2]=f+e>>11;c[k+68>>2]=e-f>>11;l=l>>11;c[k+44>>2]=l;f=q+-384|0;e=(c[g>>2]|0)+h|0;q=(c[k>>2]<<13)+134348800|0;p=(c[k+16>>2]|0)*5793|0;r=q+p|0;p=q-p-p|0;q=(c[k+8>>2]|0)*10033|0;d=r+q|0;q=r-q|0;s=c[s>>2]|0;r=c[k+12>>2]|0;o=c[k+20>>2]|0;m=(o+s|0)*2998|0;j=m+(r+s<<13)|0;m=m+(o-r<<13)|0;o=s-r-o<<13;a[e>>0]=a[f+((j+d|0)>>>18&1023)>>0]|0;a[e+5>>0]=a[f+((d-j|0)>>>18&1023)>>0]|0;a[e+1>>0]=a[f+((o+p|0)>>>18&1023)>>0]|0;a[e+4>>0]=a[f+((p-o|0)>>>18&1023)>>0]|0;a[e+2>>0]=a[f+((m+q|0)>>>18&1023)>>0]|0;a[e+3>>0]=a[f+((q-m|0)>>>18&1023)>>0]|0;e=(c[g+4>>2]|0)+h|0;n=(c[n>>2]<<13)+134348800|0;m=(c[k+40>>2]|0)*5793|0;q=n+m|0;m=n-m-m|0;n=(c[k+32>>2]|0)*10033|0;o=q+n|0;n=q-n|0;q=c[k+28>>2]|0;p=c[k+36>>2]|0;j=(l+q|0)*2998|0;d=j+(p+q<<13)|0;j=j+(l-p<<13)|0;l=q-p-l<<13;a[e>>0]=a[f+((d+o|0)>>>18&1023)>>0]|0;a[e+5>>0]=a[f+((o-d|0)>>>18&1023)>>0]|0;a[e+1>>0]=a[f+((l+m|0)>>>18&1023)>>0]|0;a[e+4>>0]=a[f+((m-l|0)>>>18&1023)>>0]|0;a[e+2>>0]=a[f+((j+n|0)>>>18&1023)>>0]|0;a[e+3>>0]=a[f+((n-j|0)>>>18&1023)>>0]|0;h=(c[g+8>>2]|0)+h|0;e=(c[k+48>>2]<<13)+134348800|0;j=(c[k+64>>2]|0)*5793|0;n=e+j|0;j=e-j-j|0;e=(c[k+56>>2]|0)*10033|0;l=n+e|0;e=n-e|0;n=c[k+52>>2]|0;m=c[k+60>>2]|0;d=c[k+68>>2]|0;g=(d+n|0)*2998|0;k=g+(m+n<<13)|0;g=g+(d-m<<13)|0;d=n-m-d<<13;a[h>>0]=a[f+((k+l|0)>>>18&1023)>>0]|0;a[h+5>>0]=a[f+((l-k|0)>>>18&1023)>>0]|0;a[h+1>>0]=a[f+((d+j|0)>>>18&1023)>>0]|0;a[h+4>>0]=a[f+((j-d|0)>>>18&1023)>>0]|0;a[h+2>>0]=a[f+((g+e|0)>>>18&1023)>>0]|0;a[h+3>>0]=a[f+((e-g|0)>>>18&1023)>>0]|0;zb=i;return}function qw(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;i=zb;zb=zb+32|0;p=i;l=c[d+336>>2]|0;k=c[e+84>>2]|0;d=C(c[k>>2]|0,b[f>>1]|0)|0;r=C(c[k+32>>2]|0,b[f+16>>1]|0)|0;q=r+d|0;c[p>>2]=q;j=p+16|0;c[j>>2]=d-r;r=C(c[k+4>>2]|0,b[f+2>>1]|0)|0;d=C(c[k+36>>2]|0,b[f+18>>1]|0)|0;o=d+r|0;c[p+4>>2]=o;d=r-d|0;c[p+20>>2]=d;r=C(c[k+8>>2]|0,b[f+4>>1]|0)|0;e=C(c[k+40>>2]|0,b[f+20>>1]|0)|0;n=e+r|0;c[p+8>>2]=n;e=r-e|0;c[p+24>>2]=e;r=C(c[k+12>>2]|0,b[f+6>>1]|0)|0;k=C(c[k+44>>2]|0,b[f+22>>1]|0)|0;m=k+r|0;c[p+12>>2]=m;k=r-k|0;c[p+28>>2]=k;f=l+-384|0;l=(c[g>>2]|0)+h|0;q=q+4100|0;p=q+n<<13;n=q-n<<13;q=(m+o|0)*4433|0;o=q+(o*6270|0)|0;m=q+(C(m,-15137)|0)|0;a[l>>0]=a[f+((o+p|0)>>>16&1023)>>0]|0;a[l+3>>0]=a[f+((p-o|0)>>>16&1023)>>0]|0;a[l+1>>0]=a[f+((m+n|0)>>>16&1023)>>0]|0;a[l+2>>0]=a[f+((n-m|0)>>>16&1023)>>0]|0;h=(c[g+4>>2]|0)+h|0;g=(c[j>>2]|0)+4100|0;j=g+e<<13;e=g-e<<13;g=(k+d|0)*4433|0;d=g+(d*6270|0)|0;g=g+(C(k,-15137)|0)|0;a[h>>0]=a[f+((d+j|0)>>>16&1023)>>0]|0;a[h+3>>0]=a[f+((j-d|0)>>>16&1023)>>0]|0;a[h+1>>0]=a[f+((g+e|0)>>>16&1023)>>0]|0;a[h+2>>0]=a[f+((e-g|0)>>>16&1023)>>0]|0;zb=i;return}function rw(d,e,f,g,h){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0;d=(c[d+336>>2]|0)+-384|0;i=c[e+84>>2]|0;h=(c[g>>2]|0)+h|0;e=(C(c[i>>2]|0,b[f>>1]|0)|0)+4100|0;g=C(c[i+4>>2]|0,b[f+2>>1]|0)|0;a[h>>0]=a[d+((g+e|0)>>>3&1023)>>0]|0;a[h+1>>0]=a[d+((e-g|0)>>>3&1023)>>0]|0;return}function sw(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,D=0,E=0,F=0,G=0,H=0,I=0,J=0;l=zb;zb=zb+512|0;i=l;j=c[d+336>>2]|0;k=0;d=c[e+84>>2]|0;e=i;while(1){r=C(b[f>>1]<<13,c[d>>2]|0)|0|1024;v=C(c[d+128>>2]|0,b[f+64>>1]|0)|0;m=v*10703|0;v=v*4433|0;z=m+r|0;m=r-m|0;x=v+r|0;v=r-v|0;r=C(c[d+64>>2]|0,b[f+32>>1]|0)|0;t=C(c[d+192>>2]|0,b[f+96>>1]|0)|0;o=r-t|0;B=o*2260|0;o=o*11363|0;n=o+(t*20995|0)|0;p=B+(r*7373|0)|0;r=o+(C(r,-4926)|0)|0;t=B+(C(t,-4176)|0)|0;B=n+z|0;n=z-n|0;z=p+x|0;p=x-p|0;x=r+v|0;r=v-r|0;v=t+m|0;t=m-t|0;m=C(c[d+32>>2]|0,b[f+16>>1]|0)|0;o=C(c[d+96>>2]|0,b[f+48>>1]|0)|0;E=C(c[d+160>>2]|0,b[f+80>>1]|0)|0;G=C(c[d+224>>2]|0,b[f+112>>1]|0)|0;D=E+m|0;y=(o+m|0)*11086|0;w=D*10217|0;q=(G+m|0)*8956|0;s=(m-G|0)*7350|0;D=D*5461|0;u=(m-o|0)*3363|0;A=y+(C(m,-18730)|0)+w+q|0;m=u+(C(m,-15038)|0)+D+s|0;J=(E+o|0)*1136|0;F=(E-o|0)*11529|0;H=G+o|0;I=C(H,-5461)|0;y=y+(o*589|0)+J+I|0;H=C(H,-10217)|0;o=u+(o*16154|0)+F+H|0;u=C(G+E|0,-11086)|0;w=J+(C(E,-9222)|0)+w+u|0;u=I+(G*8728|0)+q+u|0;q=(G-E|0)*3363|0;s=H+(G*25733|0)+s+q|0;q=F+(C(E,-6278)|0)+D+q|0;c[e>>2]=A+B>>11;c[e+480>>2]=B-A>>11;c[e+32>>2]=y+z>>11;c[e+448>>2]=z-y>>11;c[e+64>>2]=w+x>>11;c[e+416>>2]=x-w>>11;c[e+96>>2]=u+v>>11;c[e+384>>2]=v-u>>11;c[e+128>>2]=s+t>>11;c[e+352>>2]=t-s>>11;c[e+160>>2]=q+r>>11;c[e+320>>2]=r-q>>11;c[e+192>>2]=o+p>>11;c[e+288>>2]=p-o>>11;c[e+224>>2]=m+n>>11;c[e+256>>2]=n-m>>11;k=k+1|0;if((k|0)==8)break;else{f=f+2|0;d=d+4|0;e=e+4|0}}d=j+-384|0;f=0;while(1){J=(c[g+(f<<2)>>2]|0)+h|0;H=(c[i>>2]|0)+16400|0;I=c[i+16>>2]|0;D=H+I<<13;I=H-I<<13;H=c[i+8>>2]|0;F=c[i+24>>2]|0;A=(F+H|0)*4433|0;H=A+(H*6270|0)|0;F=A+(C(F,-15137)|0)|0;A=H+D|0;H=D-H|0;D=F+I|0;F=I-F|0;I=c[i+28>>2]|0;x=c[i+20>>2]|0;z=c[i+12>>2]|0;B=c[i+4>>2]|0;E=z+I|0;G=B+x|0;y=(G+E|0)*9633|0;E=y+(C(E,-16069)|0)|0;G=y+(C(G,-3196)|0)|0;y=C(B+I|0,-7373)|0;I=y+(I*2446|0)+E|0;B=y+(B*12299|0)+G|0;y=C(z+x|0,-20995)|0;G=y+(x*16819|0)+G|0;E=y+(z*25172|0)+E|0;a[J>>0]=a[d+((B+A|0)>>>18&1023)>>0]|0;a[J+7>>0]=a[d+((A-B|0)>>>18&1023)>>0]|0;a[J+1>>0]=a[d+((E+D|0)>>>18&1023)>>0]|0;a[J+6>>0]=a[d+((D-E|0)>>>18&1023)>>0]|0;a[J+2>>0]=a[d+((G+F|0)>>>18&1023)>>0]|0;a[J+5>>0]=a[d+((F-G|0)>>>18&1023)>>0]|0;a[J+3>>0]=a[d+((I+H|0)>>>18&1023)>>0]|0;a[J+4>>0]=a[d+((H-I|0)>>>18&1023)>>0]|0;f=f+1|0;if((f|0)==16)break;else i=i+32|0}zb=l;return}function tw(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,D=0,E=0,F=0;l=zb;zb=zb+400|0;i=l;j=c[d+336>>2]|0;k=0;d=c[e+84>>2]|0;e=i;while(1){t=C(b[f>>1]<<13,c[d>>2]|0)|0|1024;r=C(c[d+128>>2]|0,b[f+64>>1]|0)|0;x=(r*10438|0)+t|0;v=(r*2578|0)+t|0;m=(C(r,-7223)|0)+t|0;t=(C(r,-11586)|0)+t>>11;r=C(c[d+64>>2]|0,b[f+32>>1]|0)|0;z=C(c[d+192>>2]|0,b[f+96>>1]|0)|0;p=(z+r|0)*9058|0;n=p+(r*2237|0)|0;p=p+(C(z,-14084)|0)|0;r=(C(z,-11295)|0)+(r*5027|0)|0;z=n+x|0;n=x-n|0;x=p+v|0;p=v-p|0;v=r+m|0;r=m-r|0;m=C(c[d+32>>2]|0,b[f+16>>1]|0)|0;D=C(c[d+96>>2]|0,b[f+48>>1]|0)|0;A=C(c[d+160>>2]|0,b[f+80>>1]|0)|0;s=C(c[d+224>>2]|0,b[f+112>>1]|0)|0;q=s<<13;F=A+m|0;w=(D+m|0)*10935|0;E=F*9810|0;y=w+(C(m,-9232)|0)+E+q|0;F=F*6164|0;B=m-D|0;o=(B*3826|0)-q|0;m=F+(C(m,-8693)|0)+o|0;u=(C(A+D|0,-1297)|0)-q|0;w=w+(C(D,-3474)|0)+u|0;u=E+(C(A,-19447)|0)+u|0;E=(A-D|0)*11512|0;q=E+(C(A,-13850)|0)+F+q|0;o=E+(D*5529|0)+o|0;s=B-A+s<<2;c[e>>2]=y+z>>11;c[e+364>>2]=z-y>>11;c[e+28>>2]=w+x>>11;c[e+336>>2]=x-w>>11;c[e+56>>2]=u+v>>11;c[e+308>>2]=v-u>>11;c[e+84>>2]=s+t;c[e+280>>2]=t-s;c[e+112>>2]=q+r>>11;c[e+252>>2]=r-q>>11;c[e+140>>2]=o+p>>11;c[e+224>>2]=p-o>>11;c[e+168>>2]=m+n>>11;c[e+196>>2]=n-m>>11;k=k+1|0;if((k|0)==7)break;else{f=f+2|0;d=d+4|0;e=e+4|0}}d=j+-384|0;f=0;while(1){F=(c[g+(f<<2)>>2]|0)+h|0;E=(c[i>>2]<<13)+134348800|0;t=c[i+8>>2]|0;B=c[i+16>>2]|0;v=c[i+24>>2]|0;u=(B-v|0)*7223|0;A=(t-B|0)*2578|0;x=(C(B,-15083)|0)+E+A+u|0;D=v+t|0;z=(D*10438|0)+E|0;v=u+(C(v,-637)|0)+z|0;z=A+(C(t,-20239)|0)+z|0;t=c[i+4>>2]|0;A=c[i+12>>2]|0;u=c[i+20>>2]|0;s=(A+t|0)*7663|0;w=(t-A|0)*1395|0;A=C(u+A|0,-11295)|0;y=s+w+A|0;t=(u+t|0)*5027|0;w=s-w+t|0;A=t+(u*15326|0)+A|0;a[F>>0]=a[d+((w+v|0)>>>18&1023)>>0]|0;a[F+6>>0]=a[d+((v-w|0)>>>18&1023)>>0]|0;a[F+1>>0]=a[d+((y+x|0)>>>18&1023)>>0]|0;a[F+5>>0]=a[d+((x-y|0)>>>18&1023)>>0]|0;a[F+2>>0]=a[d+((A+z|0)>>>18&1023)>>0]|0;a[F+4>>0]=a[d+((z-A|0)>>>18&1023)>>0]|0;a[F+3>>0]=a[d+((((B-D|0)*11585|0)+E|0)>>>18&1023)>>0]|0;f=f+1|0;if((f|0)==14)break;else i=i+28|0}zb=l;return}function uw(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;l=zb;zb=zb+288|0;i=l;j=c[d+336>>2]|0;k=0;d=c[e+84>>2]|0;e=i;while(1){n=C(b[f>>1]<<13,c[d>>2]|0)|0|1024;z=C((b[f+64>>1]|0)*10033|0,c[d+128>>2]|0)|0;y=z+n|0;z=n-z|0;t=C(c[d+64>>2]|0,b[f+32>>1]|0)|0;r=C(b[f+96>>1]<<13,c[d+192>>2]|0)|0;p=(t<<13)-r|0;v=p+n|0;p=n-p|0;n=r+(t*11190|0)|0;x=n+y|0;n=y-n|0;r=(t*2998|0)-r|0;t=r+z|0;r=z-r|0;z=C(c[d+32>>2]|0,b[f+16>>1]|0)|0;y=C(c[d+96>>2]|0,b[f+48>>1]|0)|0;o=C(c[d+160>>2]|0,b[f+80>>1]|0)|0;u=C(c[d+224>>2]|0,b[f+112>>1]|0)|0;B=y*10703|0;A=C(y,-4433)|0;s=o+z|0;m=(u+s|0)*7053|0;s=m+(s*2139|0)|0;w=B+(z*2295|0)+s|0;q=C(u+o|0,-8565)|0;s=(C(o,-12112)|0)+A+q+s|0;q=(u*12998|0)-B+m+q|0;m=A+(C(z,-5540)|0)+(C(u,-16244)|0)+m|0;u=z-u|0;o=y-o|0;y=(u+o|0)*4433|0;u=y+(u*6270|0)|0;o=y+(C(o,-15137)|0)|0;c[e>>2]=w+x>>11;c[e+264>>2]=x-w>>11;c[e+24>>2]=u+v>>11;c[e+240>>2]=v-u>>11;c[e+48>>2]=s+t>>11;c[e+216>>2]=t-s>>11;c[e+72>>2]=q+r>>11;c[e+192>>2]=r-q>>11;c[e+96>>2]=o+p>>11;c[e+168>>2]=p-o>>11;c[e+120>>2]=m+n>>11;c[e+144>>2]=n-m>>11;k=k+1|0;if((k|0)==6)break;else{f=f+2|0;d=d+4|0;e=e+4|0}}d=j+-384|0;f=0;while(1){B=(c[g+(f<<2)>>2]|0)+h|0;z=(c[i>>2]<<13)+134348800|0;x=(c[i+16>>2]|0)*5793|0;t=z+x|0;x=z-x-x|0;z=(c[i+8>>2]|0)*10033|0;v=t+z|0;z=t-z|0;t=c[i+4>>2]|0;u=c[i+12>>2]|0;y=c[i+20>>2]|0;A=(y+t|0)*2998|0;w=A+(u+t<<13)|0;A=A+(y-u<<13)|0;y=t-u-y<<13;a[B>>0]=a[d+((w+v|0)>>>18&1023)>>0]|0;a[B+5>>0]=a[d+((v-w|0)>>>18&1023)>>0]|0;a[B+1>>0]=a[d+((y+x|0)>>>18&1023)>>0]|0;a[B+4>>0]=a[d+((x-y|0)>>>18&1023)>>0]|0;a[B+2>>0]=a[d+((A+z|0)>>>18&1023)>>0]|0;a[B+3>>0]=a[d+((z-A|0)>>>18&1023)>>0]|0;f=f+1|0;if((f|0)==12)break;else i=i+24|0}zb=l;return}function vw(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;l=zb;zb=zb+208|0;i=l;j=c[d+336>>2]|0;k=0;d=c[e+84>>2]|0;e=i;while(1){r=C(b[f>>1]<<13,c[d>>2]|0)|0|1024;n=C(c[d+128>>2]|0,b[f+64>>1]|0)|0;t=(n*9373|0)+r|0;w=(C(n,-3580)|0)+r|0;r=(C(n,-11586)|0)+r>>11;n=C(c[d+64>>2]|0,b[f+32>>1]|0)|0;p=C(c[d+192>>2]|0,b[f+96>>1]|0)|0;v=(p+n|0)*6810|0;n=v+(n*4209|0)|0;p=v+(C(p,-17828)|0)|0;v=n+t|0;n=t-n|0;t=p+w|0;p=w-p|0;w=C(c[d+32>>2]|0,b[f+16>>1]|0)|0;x=C(c[d+96>>2]|0,b[f+48>>1]|0)|0;s=C(c[d+160>>2]|0,b[f+80>>1]|0)|0;q=C(c[d+224>>2]|0,b[f+112>>1]|0)|0;o=q+x|0;q=x-q|0;x=q*2531|0;y=s<<13;z=o*7791|0;m=x+y|0;u=z+(w*11443|0)+m|0;m=(w*1812|0)-z+m|0;o=o*4815|0;x=y-x-(q<<12)|0;q=w-s-q<<2;s=(w*10323|0)-o-x|0;o=x+((w*5260|0)-o)|0;c[e>>2]=u+v>>11;c[e+180>>2]=v-u>>11;c[e+20>>2]=s+t>>11;c[e+160>>2]=t-s>>11;c[e+40>>2]=q+r;c[e+140>>2]=r-q;c[e+60>>2]=o+p>>11;c[e+120>>2]=p-o>>11;c[e+80>>2]=m+n>>11;c[e+100>>2]=n-m>>11;k=k+1|0;if((k|0)==5)break;else{f=f+2|0;d=d+4|0;e=e+4|0}}d=j+-384|0;f=0;while(1){z=(c[g+(f<<2)>>2]|0)+h|0;y=(c[i>>2]<<13)+134348800|0;x=c[i+8>>2]|0;v=c[i+16>>2]|0;w=(v+x|0)*6476|0;v=x-v|0;x=(v*2896|0)+y|0;u=x+w|0;w=x-w|0;y=(C(v,-11584)|0)+y|0;v=c[i+4>>2]|0;x=c[i+12>>2]|0;t=(x+v|0)*6810|0;v=t+(v*4209|0)|0;x=t+(C(x,-17828)|0)|0;a[z>>0]=a[d+((v+u|0)>>>18&1023)>>0]|0;a[z+4>>0]=a[d+((u-v|0)>>>18&1023)>>0]|0;a[z+1>>0]=a[d+((x+w|0)>>>18&1023)>>0]|0;a[z+3>>0]=a[d+((w-x|0)>>>18&1023)>>0]|0;a[z+2>>0]=a[d+(y>>>18&1023)>>0]|0;f=f+1|0;if((f|0)==10)break;else i=i+20|0}zb=l;return}function ww(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;o=zb;zb=zb+128|0;m=o;k=c[d+336>>2]|0;l=4;i=c[e+84>>2]|0;j=m;while(1){e=b[f+16>>1]|0;d=b[f+32>>1]|0;if(!((e|d)<<16>>16))if(((((b[f+48>>1]|0)==0?(b[f+64>>1]|0)==0:0)?(b[f+80>>1]|0)==0:0)?(b[f+96>>1]|0)==0:0)?(b[f+112>>1]|0)==0:0){e=C(b[f>>1]<<2,c[i>>2]|0)|0;c[j>>2]=e;c[j+16>>2]=e;c[j+32>>2]=e;c[j+48>>2]=e;c[j+64>>2]=e;c[j+80>>2]=e;c[j+96>>2]=e;d=28}else{d=0;n=9}else n=9;if((n|0)==9){n=0;y=C(b[f+64>>1]<<13,c[i+128>>2]|0)|0;p=C(b[f>>1]<<13,c[i>>2]|0)|0|1024;s=y+p|0;y=p-y|0;p=C(c[i+64>>2]|0,d<<16>>16)|0;q=C(c[i+192>>2]|0,b[f+96>>1]|0)|0;u=(q+p|0)*4433|0;p=u+(p*6270|0)|0;q=u+(C(q,-15137)|0)|0;u=p+s|0;p=s-p|0;s=q+y|0;q=y-q|0;y=C(c[i+224>>2]|0,b[f+112>>1]|0)|0;x=C(c[i+160>>2]|0,b[f+80>>1]|0)|0;v=C(c[i+96>>2]|0,b[f+48>>1]|0)|0;t=C(c[i+32>>2]|0,e<<16>>16)|0;r=v+y|0;d=t+x|0;w=(d+r|0)*9633|0;r=w+(C(r,-16069)|0)|0;d=w+(C(d,-3196)|0)|0;w=C(t+y|0,-7373)|0;e=w+(y*2446|0)+r|0;t=w+(t*12299|0)+d|0;w=C(v+x|0,-20995)|0;d=w+(x*16819|0)+d|0;r=w+(v*25172|0)+r|0;c[j>>2]=t+u>>11;c[j+112>>2]=u-t>>11;c[j+16>>2]=r+s>>11;c[j+96>>2]=s-r>>11;c[j+32>>2]=d+q>>11;c[j+80>>2]=q-d>>11;c[j+48>>2]=e+p>>11;d=16;e=p-e>>11}c[j+(d<<2)>>2]=e;if(l>>>0>1){l=l+-1|0;f=f+2|0;i=i+4|0;j=j+4|0}else break}v=k+-384|0;y=(c[g>>2]|0)+h|0;t=(c[m>>2]|0)+16400|0;w=c[m+8>>2]|0;x=t+w<<13;w=t-w<<13;t=c[m+4>>2]|0;u=c[m+12>>2]|0;s=(u+t|0)*4433|0;t=s+(t*6270|0)|0;u=s+(C(u,-15137)|0)|0;a[y>>0]=a[v+((t+x|0)>>>18&1023)>>0]|0;a[y+3>>0]=a[v+((x-t|0)>>>18&1023)>>0]|0;a[y+1>>0]=a[v+((u+w|0)>>>18&1023)>>0]|0;a[y+2>>0]=a[v+((w-u|0)>>>18&1023)>>0]|0;y=(c[g+4>>2]|0)+h|0;u=(c[m+16>>2]|0)+16400|0;w=c[m+24>>2]|0;t=u+w<<13;w=u-w<<13;u=c[m+20>>2]|0;x=c[m+28>>2]|0;s=(x+u|0)*4433|0;u=s+(u*6270|0)|0;x=s+(C(x,-15137)|0)|0;a[y>>0]=a[v+((u+t|0)>>>18&1023)>>0]|0;a[y+3>>0]=a[v+((t-u|0)>>>18&1023)>>0]|0;a[y+1>>0]=a[v+((x+w|0)>>>18&1023)>>0]|0;a[y+2>>0]=a[v+((w-x|0)>>>18&1023)>>0]|0;y=(c[g+8>>2]|0)+h|0;x=(c[m+32>>2]|0)+16400|0;w=c[m+40>>2]|0;u=x+w<<13;w=x-w<<13;x=c[m+36>>2]|0;t=c[m+44>>2]|0;s=(t+x|0)*4433|0;x=s+(x*6270|0)|0;t=s+(C(t,-15137)|0)|0;a[y>>0]=a[v+((x+u|0)>>>18&1023)>>0]|0;a[y+3>>0]=a[v+((u-x|0)>>>18&1023)>>0]|0;a[y+1>>0]=a[v+((t+w|0)>>>18&1023)>>0]|0;a[y+2>>0]=a[v+((w-t|0)>>>18&1023)>>0]|0;y=(c[g+12>>2]|0)+h|0;t=(c[m+48>>2]|0)+16400|0;w=c[m+56>>2]|0;x=t+w<<13;w=t-w<<13;t=c[m+52>>2]|0;u=c[m+60>>2]|0;s=(u+t|0)*4433|0;t=s+(t*6270|0)|0;u=s+(C(u,-15137)|0)|0;a[y>>0]=a[v+((t+x|0)>>>18&1023)>>0]|0;a[y+3>>0]=a[v+((x-t|0)>>>18&1023)>>0]|0;a[y+1>>0]=a[v+((u+w|0)>>>18&1023)>>0]|0;a[y+2>>0]=a[v+((w-u|0)>>>18&1023)>>0]|0;y=(c[g+16>>2]|0)+h|0;u=(c[m+64>>2]|0)+16400|0;w=c[m+72>>2]|0;t=u+w<<13;w=u-w<<13;u=c[m+68>>2]|0;x=c[m+76>>2]|0;s=(x+u|0)*4433|0;u=s+(u*6270|0)|0;x=s+(C(x,-15137)|0)|0;a[y>>0]=a[v+((u+t|0)>>>18&1023)>>0]|0;a[y+3>>0]=a[v+((t-u|0)>>>18&1023)>>0]|0;a[y+1>>0]=a[v+((x+w|0)>>>18&1023)>>0]|0;a[y+2>>0]=a[v+((w-x|0)>>>18&1023)>>0]|0;y=(c[g+20>>2]|0)+h|0;x=(c[m+80>>2]|0)+16400|0;w=c[m+88>>2]|0;u=x+w<<13;w=x-w<<13;x=c[m+84>>2]|0;t=c[m+92>>2]|0;s=(t+x|0)*4433|0;x=s+(x*6270|0)|0;t=s+(C(t,-15137)|0)|0;a[y>>0]=a[v+((x+u|0)>>>18&1023)>>0]|0;a[y+3>>0]=a[v+((u-x|0)>>>18&1023)>>0]|0;a[y+1>>0]=a[v+((t+w|0)>>>18&1023)>>0]|0;a[y+2>>0]=a[v+((w-t|0)>>>18&1023)>>0]|0;y=(c[g+24>>2]|0)+h|0;t=(c[m+96>>2]|0)+16400|0;w=c[m+104>>2]|0;x=t+w<<13;w=t-w<<13;t=c[m+100>>2]|0;u=c[m+108>>2]|0;s=(u+t|0)*4433|0;t=s+(t*6270|0)|0;u=s+(C(u,-15137)|0)|0;a[y>>0]=a[v+((t+x|0)>>>18&1023)>>0]|0;a[y+3>>0]=a[v+((x-t|0)>>>18&1023)>>0]|0;a[y+1>>0]=a[v+((u+w|0)>>>18&1023)>>0]|0;a[y+2>>0]=a[v+((w-u|0)>>>18&1023)>>0]|0;y=(c[g+28>>2]|0)+h|0;u=(c[m+112>>2]|0)+16400|0;w=c[m+120>>2]|0;t=u+w<<13;w=u-w<<13;u=c[m+116>>2]|0;x=c[m+124>>2]|0;s=(x+u|0)*4433|0;u=s+(u*6270|0)|0;x=s+(C(x,-15137)|0)|0;a[y>>0]=a[v+((u+t|0)>>>18&1023)>>0]|0;a[y+3>>0]=a[v+((t-u|0)>>>18&1023)>>0]|0;a[y+1>>0]=a[v+((x+w|0)>>>18&1023)>>0]|0;a[y+2>>0]=a[v+((w-x|0)>>>18&1023)>>0]|0;zb=o;return}function xw(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;i=zb;zb=zb+80|0;j=i;m=c[d+336>>2]|0;k=c[e+84>>2]|0;t=C(b[f>>1]<<13,c[k>>2]|0)|0|1024;r=C((b[f+64>>1]|0)*5793|0,c[k+128>>2]|0)|0;s=r+t|0;t=(C(r,-2)|0)+t>>11;r=C((b[f+32>>1]|0)*10033|0,c[k+64>>2]|0)|0;e=r+s|0;r=s-r|0;s=C(c[k+32>>2]|0,b[f+16>>1]|0)|0;l=C(c[k+96>>2]|0,b[f+48>>1]|0)|0;o=C(c[k+160>>2]|0,b[f+80>>1]|0)|0;n=(o+s|0)*2998|0;d=n+(l+s<<13)|0;n=n+(o-l<<13)|0;o=s-l-o<<2;c[j>>2]=d+e>>11;c[j+60>>2]=e-d>>11;d=j+12|0;c[d>>2]=o+t;c[j+48>>2]=t-o;c[j+24>>2]=n+r>>11;c[j+36>>2]=r-n>>11;n=j+4|0;r=C(b[f+2>>1]<<13,c[k+4>>2]|0)|0|1024;o=C((b[f+66>>1]|0)*5793|0,c[k+132>>2]|0)|0;t=o+r|0;r=(C(o,-2)|0)+r>>11;o=C((b[f+34>>1]|0)*10033|0,c[k+68>>2]|0)|0;e=o+t|0;o=t-o|0;t=C(c[k+36>>2]|0,b[f+18>>1]|0)|0;l=C(c[k+100>>2]|0,b[f+50>>1]|0)|0;s=C(c[k+164>>2]|0,b[f+82>>1]|0)|0;q=(s+t|0)*2998|0;p=q+(l+t<<13)|0;q=q+(s-l<<13)|0;s=t-l-s<<2;c[n>>2]=p+e>>11;c[j+64>>2]=e-p>>11;c[j+16>>2]=s+r;c[j+52>>2]=r-s;c[j+28>>2]=q+o>>11;c[j+40>>2]=o-q>>11;q=C(b[f+4>>1]<<13,c[k+8>>2]|0)|0|1024;o=C((b[f+68>>1]|0)*5793|0,c[k+136>>2]|0)|0;s=o+q|0;q=(C(o,-2)|0)+q>>11;o=C((b[f+36>>1]|0)*10033|0,c[k+72>>2]|0)|0;r=o+s|0;o=s-o|0;s=C(c[k+40>>2]|0,b[f+20>>1]|0)|0;p=C(c[k+104>>2]|0,b[f+52>>1]|0)|0;k=C(c[k+168>>2]|0,b[f+84>>1]|0)|0;e=(k+s|0)*2998|0;l=e+(p+s<<13)|0;e=e+(k-p<<13)|0;k=s-p-k<<2;p=l+r>>11;c[j+8>>2]=p;c[j+68>>2]=r-l>>11;l=k+q|0;c[j+20>>2]=l;c[j+56>>2]=q-k;k=e+o>>11;c[j+32>>2]=k;c[j+44>>2]=o-e>>11;e=m+-384|0;f=(c[g>>2]|0)+h|0;m=(c[j>>2]<<13)+134348800|0;o=m+(p*5793|0)|0;m=(C(p,-11586)|0)+m|0;n=(c[n>>2]|0)*10033|0;a[f>>0]=a[e+((o+n|0)>>>18&1023)>>0]|0;a[f+2>>0]=a[e+((o-n|0)>>>18&1023)>>0]|0;a[f+1>>0]=a[e+(m>>>18&1023)>>0]|0;f=(c[g+4>>2]|0)+h|0;d=(c[d>>2]<<13)+134348800|0;m=d+(l*5793|0)|0;d=(C(l,-11586)|0)+d|0;l=(c[j+16>>2]|0)*10033|0;a[f>>0]=a[e+((m+l|0)>>>18&1023)>>0]|0;a[f+2>>0]=a[e+((m-l|0)>>>18&1023)>>0]|0;a[f+1>>0]=a[e+(d>>>18&1023)>>0]|0;f=(c[g+8>>2]|0)+h|0;d=(c[j+24>>2]<<13)+134348800|0;l=d+(k*5793|0)|0;d=(C(k,-11586)|0)+d|0;k=(c[j+28>>2]|0)*10033|0;a[f>>0]=a[e+((l+k|0)>>>18&1023)>>0]|0;a[f+2>>0]=a[e+((l-k|0)>>>18&1023)>>0]|0;a[f+1>>0]=a[e+(d>>>18&1023)>>0]|0;f=(c[g+12>>2]|0)+h|0;d=(c[j+36>>2]<<13)+134348800|0;k=c[j+44>>2]|0;l=d+(k*5793|0)|0;d=(C(k,-11586)|0)+d|0;k=(c[j+40>>2]|0)*10033|0;a[f>>0]=a[e+((l+k|0)>>>18&1023)>>0]|0;a[f+2>>0]=a[e+((l-k|0)>>>18&1023)>>0]|0;a[f+1>>0]=a[e+(d>>>18&1023)>>0]|0;f=(c[g+16>>2]|0)+h|0;d=(c[j+48>>2]<<13)+134348800|0;k=c[j+56>>2]|0;l=d+(k*5793|0)|0;d=(C(k,-11586)|0)+d|0;k=(c[j+52>>2]|0)*10033|0;a[f>>0]=a[e+((l+k|0)>>>18&1023)>>0]|0;a[f+2>>0]=a[e+((l-k|0)>>>18&1023)>>0]|0;a[f+1>>0]=a[e+(d>>>18&1023)>>0]|0;h=(c[g+20>>2]|0)+h|0;g=(c[j+60>>2]<<13)+134348800|0;f=c[j+68>>2]|0;d=g+(f*5793|0)|0;g=(C(f,-11586)|0)+g|0;f=(c[j+64>>2]|0)*10033|0;a[h>>0]=a[e+((d+f|0)>>>18&1023)>>0]|0;a[h+2>>0]=a[e+((d-f|0)>>>18&1023)>>0]|0;a[h+1>>0]=a[e+(g>>>18&1023)>>0]|0;zb=i;return}function yw(d,e,f,g,h){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;i=zb;zb=zb+32|0;j=i;d=c[d+336>>2]|0;k=c[e+84>>2]|0;n=C(c[k>>2]|0,b[f>>1]|0)|0;e=C(c[k+64>>2]|0,b[f+32>>1]|0)|0;q=e+n<<13;e=n-e<<13;n=C(c[k+32>>2]|0,b[f+16>>1]|0)|0;l=C(c[k+96>>2]|0,b[f+48>>1]|0)|0;p=(l+n|0)*4433|0;n=p+(n*6270|0)|0;l=p+(C(l,-15137)|0)|0;p=n+q|0;c[j>>2]=p;c[j+24>>2]=q-n;n=l+e|0;c[j+8>>2]=n;l=e-l|0;c[j+16>>2]=l;e=C(c[k+4>>2]|0,b[f+2>>1]|0)|0;q=C(c[k+68>>2]|0,b[f+34>>1]|0)|0;m=q+e<<13;q=e-q<<13;e=C(c[k+36>>2]|0,b[f+18>>1]|0)|0;k=C(c[k+100>>2]|0,b[f+50>>1]|0)|0;o=(k+e|0)*4433|0;e=o+(e*6270|0)|0;k=o+(C(k,-15137)|0)|0;o=e+m|0;c[j+4>>2]=o;e=m-e|0;c[j+28>>2]=e;m=k+q|0;c[j+12>>2]=m;k=q-k|0;c[j+20>>2]=k;f=d+-384|0;d=(c[g>>2]|0)+h|0;p=p+33587200|0;a[d>>0]=a[f+((p+o|0)>>>16&1023)>>0]|0;a[d+1>>0]=a[f+((p-o|0)>>>16&1023)>>0]|0;d=(c[g+4>>2]|0)+h|0;n=n+33587200|0;a[d>>0]=a[f+((n+m|0)>>>16&1023)>>0]|0;a[d+1>>0]=a[f+((n-m|0)>>>16&1023)>>0]|0;d=(c[g+8>>2]|0)+h|0;l=l+33587200|0;a[d>>0]=a[f+((l+k|0)>>>16&1023)>>0]|0;a[d+1>>0]=a[f+((l-k|0)>>>16&1023)>>0]|0;h=(c[g+12>>2]|0)+h|0;g=(c[j+24>>2]|0)+33587200|0;a[h>>0]=a[f+((g+e|0)>>>16&1023)>>0]|0;a[h+1>>0]=a[f+((g-e|0)>>>16&1023)>>0]|0;zb=i;return}function zw(d,e,f,g,h){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0;i=(c[d+336>>2]|0)+-384|0;e=c[e+84>>2]|0;d=(C(c[e>>2]|0,b[f>>1]|0)|0)+4100|0;e=C(c[e+32>>2]|0,b[f+16>>1]|0)|0;a[(c[g>>2]|0)+h>>0]=a[i+((e+d|0)>>>3&1023)>>0]|0;a[(c[g+4>>2]|0)+h>>0]=a[i+((d-e|0)>>>3&1023)>>0]|0;return}function Aw(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;g=a+4|0;b=Ib[c[c[g>>2]>>2]&63](a,1,48)|0;e=a+476|0;c[e>>2]=b;c[b>>2]=132;c[b+8>>2]=0;d=C(c[a+120>>2]|0,c[a+112>>2]|0)|0;c[b+40>>2]=d;f=b+4|0;if((c[a+320>>2]|0)==2){c[f>>2]=4;c[b+12>>2]=14;c[b+32>>2]=Ib[c[(c[g>>2]|0)+4>>2]&63](a,1,d)|0;b=c[e>>2]|0}else{c[f>>2]=5;c[b+12>>2]=15;c[b+32>>2]=0}d=(c[a+40>>2]|0)==7;e=b+16|0;c[e>>2]=Ib[c[c[g>>2]>>2]&63](a,1,1024)|0;f=b+20|0;c[f>>2]=Ib[c[c[g>>2]>>2]&63](a,1,1024)|0;h=b+24|0;c[h>>2]=Ib[c[c[g>>2]>>2]&63](a,1,1024)|0;g=Ib[c[c[g>>2]>>2]&63](a,1,1024)|0;c[b+28>>2]=g;e=c[e>>2]|0;f=c[f>>2]|0;a=c[h>>2]|0;if(d){b=0;d=-128;while(1){c[e+(b<<2)>>2]=(d*183763|0)+32768>>16;c[f+(b<<2)>>2]=(d*232260|0)+32768>>16;c[a+(b<<2)>>2]=C(d,-93603)|0;c[g+(b<<2)>>2]=(C(d,-45107)|0)+32768;b=b+1|0;if((b|0)==256)break;else d=d+1|0}return}else{b=0;d=-128;while(1){c[e+(b<<2)>>2]=(d*91881|0)+32768>>16;c[f+(b<<2)>>2]=(d*116130|0)+32768>>16;c[a+(b<<2)>>2]=C(d,-46802)|0;c[g+(b<<2)>>2]=(C(d,-22553)|0)+32768;b=b+1|0;if((b|0)==256)break;else d=d+1|0}return}}function Bw(a){a=a|0;var b=0;b=c[a+476>>2]|0;c[b+36>>2]=0;c[b+44>>2]=c[a+116>>2];return}function Cw(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0;n=zb;zb=zb+16|0;m=n;i=c[a+476>>2]|0;l=i+36|0;if(!(c[l>>2]|0)){k=i+44|0;e=c[k>>2]|0;e=e>>>0<2?e:2;j=c[g>>2]|0;h=h-j|0;e=e>>>0>h>>>0?h:e;c[m>>2]=c[f+(j<<2)>>2];if(e>>>0>1)c[m+4>>2]=c[f+(j+1<<2)>>2];else{c[m+4>>2]=c[i+32>>2];c[l>>2]=1}Wb[c[i+12>>2]&31](a,b,c[d>>2]|0,m);f=(c[l>>2]|0)==0;c[g>>2]=(c[g>>2]|0)+e;c[k>>2]=(c[k>>2]|0)-e;if(!f){zb=n;return}}else{fu(i+32|0,0,f+(c[g>>2]<<2)|0,0,1,c[i+40>>2]|0);c[l>>2]=0;f=i+44|0;c[g>>2]=(c[g>>2]|0)+1;c[f>>2]=(c[f>>2]|0)+-1}c[d>>2]=(c[d>>2]|0)+1;zb=n;return}function Dw(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;y=c[b+476>>2]|0;u=c[b+336>>2]|0;v=c[y+16>>2]|0;w=c[y+20>>2]|0;x=c[y+24>>2]|0;y=c[y+28>>2]|0;h=c[e>>2]|0;i=f<<1;j=c[h+(i<<2)>>2]|0;i=c[h+((i|1)<<2)>>2]|0;h=c[(c[e+4>>2]|0)+(f<<2)>>2]|0;t=c[(c[e+8>>2]|0)+(f<<2)>>2]|0;e=c[g>>2]|0;f=c[g+4>>2]|0;o=b+112|0;g=c[o>>2]|0;r=g>>>1;if(!r)b=t;else{q=h+r|0;n=g&-2;s=r*6|0;p=i+n|0;l=r;m=j;g=t;b=e;k=f;while(1){A=d[h>>0]|0;B=d[g>>0]|0;C=c[v+(B<<2)>>2]|0;B=(c[x+(B<<2)>>2]|0)+(c[y+(A<<2)>>2]|0)>>16;A=c[w+(A<<2)>>2]|0;z=d[m>>0]|0;a[b>>0]=a[u+(C+z)>>0]|0;a[b+1>>0]=a[u+(B+z)>>0]|0;a[b+2>>0]=a[u+(A+z)>>0]|0;z=d[m+1>>0]|0;a[b+3>>0]=a[u+(C+z)>>0]|0;a[b+4>>0]=a[u+(B+z)>>0]|0;a[b+5>>0]=a[u+(A+z)>>0]|0;z=d[i>>0]|0;a[k>>0]=a[u+(C+z)>>0]|0;a[k+1>>0]=a[u+(B+z)>>0]|0;a[k+2>>0]=a[u+(A+z)>>0]|0;z=d[i+1>>0]|0;a[k+3>>0]=a[u+(C+z)>>0]|0;a[k+4>>0]=a[u+(B+z)>>0]|0;a[k+5>>0]=a[u+(A+z)>>0]|0;l=l+-1|0;if(!l)break;else{m=m+2|0;i=i+2|0;h=h+1|0;g=g+1|0;b=b+6|0;k=k+6|0}}g=c[o>>2]|0;j=j+n|0;i=p;h=q;b=t+r|0;e=e+s|0;f=f+s|0}if(!(g&1))return;B=d[h>>0]|0;A=d[b>>0]|0;z=c[v+(A<<2)>>2]|0;A=(c[x+(A<<2)>>2]|0)+(c[y+(B<<2)>>2]|0)>>16;B=c[w+(B<<2)>>2]|0;C=d[j>>0]|0;a[e>>0]=a[u+(z+C)>>0]|0;a[e+1>>0]=a[u+(A+C)>>0]|0;a[e+2>>0]=a[u+(B+C)>>0]|0;C=d[i>>0]|0;a[f>>0]=a[u+(z+C)>>0]|0;a[f+1>>0]=a[u+(A+C)>>0]|0;a[f+2>>0]=a[u+(B+C)>>0]|0;return}function Ew(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;Wb[c[(c[a+476>>2]|0)+12>>2]&31](a,b,c[d>>2]|0,f+(c[g>>2]<<2)|0);c[g>>2]=(c[g>>2]|0)+1;c[d>>2]=(c[d>>2]|0)+1;return}function Fw(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;u=c[b+476>>2]|0;q=c[b+336>>2]|0;r=c[u+16>>2]|0;s=c[u+20>>2]|0;t=c[u+24>>2]|0;u=c[u+28>>2]|0;h=c[(c[e>>2]|0)+(f<<2)>>2]|0;i=c[(c[e+4>>2]|0)+(f<<2)>>2]|0;e=c[(c[e+8>>2]|0)+(f<<2)>>2]|0;f=c[g>>2]|0;n=b+112|0;g=c[n>>2]|0;p=g>>>1;if(!p)b=i;else{b=i+p|0;m=g&-2;o=p*6|0;k=p;l=h;g=i;i=e;j=f;while(1){w=d[g>>0]|0;x=d[i>>0]|0;y=c[r+(x<<2)>>2]|0;x=(c[t+(x<<2)>>2]|0)+(c[u+(w<<2)>>2]|0)>>16;w=c[s+(w<<2)>>2]|0;v=d[l>>0]|0;a[j>>0]=a[q+(y+v)>>0]|0;a[j+1>>0]=a[q+(x+v)>>0]|0;a[j+2>>0]=a[q+(w+v)>>0]|0;v=d[l+1>>0]|0;a[j+3>>0]=a[q+(y+v)>>0]|0;a[j+4>>0]=a[q+(x+v)>>0]|0;a[j+5>>0]=a[q+(w+v)>>0]|0;k=k+-1|0;if(!k)break;else{l=l+2|0;g=g+1|0;i=i+1|0;j=j+6|0}}g=c[n>>2]|0;h=h+m|0;e=e+p|0;f=f+o|0}if(!(g&1))return;x=d[b>>0]|0;v=d[e>>0]|0;w=(c[t+(v<<2)>>2]|0)+(c[u+(x<<2)>>2]|0)>>16;x=c[s+(x<<2)>>2]|0;y=d[h>>0]|0;a[f>>0]=a[q+((c[r+(v<<2)>>2]|0)+y)>>0]|0;a[f+1>>0]=a[q+(w+y)>>0]|0;a[f+2>>0]=a[q+(x+y)>>0]|0;return}function Gw(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;r=b+4|0;d=Ib[c[c[r>>2]>>2]&63](b,1,160)|0;c[b+476>>2]=d;c[d>>2]=133;c[d+4>>2]=6;c[d+8>>2]=0;if(c[b+308>>2]|0){x=c[b>>2]|0;c[x+20>>2]=26;Rb[c[x>>2]&255](b)}v=b+36|0;if((c[v>>2]|0)<=0)return;t=b+324|0;u=b+328|0;p=b+316|0;q=b+320|0;x=d+100|0;s=d+52|0;w=b+112|0;m=d+12|0;o=d+140|0;l=d+150|0;h=0;i=c[b+216>>2]|0;while(1){j=C(c[i+36>>2]|0,c[i+8>>2]|0)|0;j=(j|0)/(c[t>>2]|0)|0;k=C(c[i+40>>2]|0,c[i+12>>2]|0)|0;k=(k|0)/(c[u>>2]|0)|0;f=c[p>>2]|0;g=c[q>>2]|0;c[x+(h<<2)>>2]=k;do if(!(c[i+52>>2]|0))c[s+(h<<2)>>2]=16;else{d=(k|0)==(g|0);if((j|0)==(f|0)&d){c[s+(h<<2)>>2]=17;break}e=(j<<1|0)==(f|0);do if(e&d)c[s+(h<<2)>>2]=18;else{if(e&(k<<1|0)==(g|0)){c[s+(h<<2)>>2]=19;break}d=(f|0)/(j|0)|0;if((f-(C(d,j)|0)|0)==0?(n=(g|0)/(k|0)|0,(g-(C(n,k)|0)|0)==0):0){c[s+(h<<2)>>2]=20;a[o+h>>0]=d;a[l+h>>0]=n;break}k=c[b>>2]|0;c[k+20>>2]=39;Rb[c[k>>2]&255](b)}while(0);j=c[(c[r>>2]|0)+8>>2]|0;k=eu(c[w>>2]|0,c[p>>2]|0)|0;c[m+(h<<2)>>2]=Jb[j&15](b,1,k,c[q>>2]|0)|0}while(0);h=h+1|0;if((h|0)>=(c[v>>2]|0))break;else i=i+88|0}return}function Hw(a){a=a|0;var b=0;b=c[a+476>>2]|0;c[b+92>>2]=c[a+320>>2];c[b+96>>2]=c[a+116>>2];return}function Iw(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0;k=c[a+476>>2]|0;m=k+92|0;i=c[m>>2]|0;l=a+320|0;e=c[l>>2]|0;if((i|0)>=(e|0)){j=a+36|0;if((c[j>>2]|0)>0){e=0;i=c[a+216>>2]|0;while(1){n=(c[b+(e<<2)>>2]|0)+((C(c[k+100+(e<<2)>>2]|0,c[d>>2]|0)|0)<<2)|0;Wb[c[k+52+(e<<2)>>2]&31](a,i,n,k+12+(e<<2)|0);e=e+1|0;if((e|0)>=(c[j>>2]|0))break;else i=i+88|0}e=c[l>>2]|0}c[m>>2]=0;i=0}n=e-i|0;b=k+96|0;j=c[b>>2]|0;n=n>>>0>j>>>0?j:n;j=c[g>>2]|0;h=h-j|0;n=n>>>0>h>>>0?h:n;Xb[c[(c[a+480>>2]|0)+4>>2]&63](a,k+12|0,i,f+(j<<2)|0,n);c[g>>2]=(c[g>>2]|0)+n;c[b>>2]=(c[b>>2]|0)-n;n=(c[m>>2]|0)+n|0;c[m>>2]=n;if((n|0)<(c[l>>2]|0))return;c[d>>2]=(c[d>>2]|0)+1;return}function Jw(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;c[e>>2]=0;return}function Kw(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;c[e>>2]=d;return}function Lw(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;j=c[f>>2]|0;k=b+320|0;d=c[k>>2]|0;if((d|0)<=0)return;i=b+112|0;h=0;do{f=c[j+(h<<2)>>2]|0;b=c[i>>2]|0;g=f+b|0;if((b|0)>0){b=c[e+(h<<2)>>2]|0;d=f;while(1){f=a[b>>0]|0;a[d>>0]=f;a[d+1>>0]=f;d=d+2|0;if(d>>>0>=g>>>0)break;else b=b+1|0}d=c[k>>2]|0}h=h+1|0}while((h|0)<(d|0));return}function Mw(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0;k=c[f>>2]|0;l=b+320|0;if((c[l>>2]|0)<=0)return;i=b+112|0;h=0;j=0;while(1){f=c[k+(j<<2)>>2]|0;d=c[i>>2]|0;g=f+d|0;if((d|0)>0){b=c[e+(h<<2)>>2]|0;d=f;while(1){f=a[b>>0]|0;a[d>>0]=f;a[d+1>>0]=f;d=d+2|0;if(d>>>0>=g>>>0)break;else b=b+1|0}d=c[i>>2]|0}fu(k,j,k,j|1,1,d);j=j+2|0;if((j|0)>=(c[l>>2]|0))break;else h=h+1|0}return}function Nw(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;r=c[b+476>>2]|0;q=c[f>>2]|0;d=c[d+4>>2]|0;f=a[r+140+d>>0]|0;o=f&255;d=a[r+150+d>>0]|0;r=d&255;p=b+320|0;g=c[p>>2]|0;if((g|0)<=0)return;n=b+112|0;k=f<<24>>24!=0;l=r+-1|0;if((d&255)>1){h=(f<<24>>24==0?~o:-2)+o+2|0;i=0;j=0;while(1){d=c[q+(j<<2)>>2]|0;f=c[n>>2]|0;g=d+f|0;if((f|0)>0){if(!k)break;b=c[e+(i<<2)>>2]|0;while(1){hP(d|0,a[b>>0]|0,h|0)|0;f=o;while(1){d=d+1|0;if((f|0)<=1)break;else f=f+-1|0}if(d>>>0>>0)b=b+1|0;else break}f=c[n>>2]|0}fu(q,j,q,j+1|0,l,f);j=j+r|0;if((j|0)>=(c[p>>2]|0)){m=27;break}else i=i+1|0}if((m|0)==27)return;while(1){}}if(!k){f=(c[n>>2]|0)>0;d=0;while(1){if(f)break;d=d+r|0;if((d|0)>=(g|0)){m=27;break}}if((m|0)==27)return;while(1){}}h=0;i=0;while(1){f=c[q+(i<<2)>>2]|0;m=c[n>>2]|0;b=f+m|0;if((m|0)>0){g=c[e+(h<<2)>>2]|0;while(1){hP(f|0,a[g>>0]|0,o|0)|0;d=o;while(1){f=f+1|0;if((d|0)<=1)break;else d=d+-1|0}if(f>>>0>>0)g=g+1|0;else break}}i=i+r|0;if((i|0)>=(c[p>>2]|0))break;else h=h+1|0}return}function Ow(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;k=b+4|0;i=Ib[c[c[k>>2]>>2]&63](b,1,28)|0;c[b+444>>2]=i;c[i>>2]=134;c[i+4>>2]=135;c[i+8>>2]=0;d=c[b+212>>2]|0;if((d|0)!=8){j=c[b>>2]|0;c[j+20>>2]=16;c[j+24>>2]=d;Rb[c[c[b>>2]>>2]&255](b)}ru(b);e=Ib[c[c[k>>2]>>2]&63](b,1,1280)|0;hP(e|0,0,512)|0;d=e+512|0;c[b+336>>2]=d;f=0;do{a[d+f>>0]=f;f=f+1|0}while((f|0)!=256);hP(e+768|0,-1,512)|0;if(!(((c[b+116>>2]|0)!=0?(c[b+112>>2]|0)!=0:0)?(g=b+120|0,(c[g>>2]|0)>=1):0)){g=c[b>>2]|0;c[g+20>>2]=33;Rb[c[g>>2]&255](b);g=b+120|0}j=i+12|0;c[j>>2]=0;h=i+16|0;c[h>>2]=tu(b)|0;e=i+20|0;c[e>>2]=0;d=i+24|0;c[d>>2]=0;do if(!(c[b+84>>2]|0)){c[b+100>>2]=0;c[b+104>>2]=0;c[b+108>>2]=0;f=b+68|0}else{if(!(c[b+64>>2]|0)){c[b+100>>2]=0;c[b+104>>2]=0;c[b+108>>2]=0}f=b+68|0;if(c[f>>2]|0){i=c[b>>2]|0;c[i+20>>2]=48;Rb[c[i>>2]&255](b)}do if((c[g>>2]|0)==3){if(c[b+136>>2]|0){c[b+104>>2]=1;break}if(!(c[b+92>>2]|0)){c[b+100>>2]=1;break}else{c[b+108>>2]=1;break}}else{c[b+100>>2]=1;c[b+104>>2]=0;c[b+108>>2]=0;c[b+136>>2]=0}while(0);if(c[b+100>>2]|0){Hv(b);c[e>>2]=c[b+484>>2]}if((c[b+108>>2]|0)==0?(c[b+104>>2]|0)==0:0)break;Rw(b);c[d>>2]=c[b+484>>2]}while(0);if(!(c[f>>2]|0)){if(!(c[h>>2]|0)){qv(b);Gw(b)}else Aw(b);Rv(b,c[b+108>>2]|0)}Sw(b);if(!(c[b+228>>2]|0))Tt(b);else uu(b);e=b+460|0;if(!(c[(c[e>>2]|0)+16>>2]|0))d=(c[b+64>>2]|0)!=0&1;else d=1;vu(b,d);if(!(c[f>>2]|0))Tw(b,0);Rb[c[(c[k>>2]|0)+24>>2]&255](b);Rb[c[(c[e>>2]|0)+8>>2]&255](b);d=c[b+8>>2]|0;if(!d)return;if(c[b+64>>2]|0)return;if(!(c[(c[e>>2]|0)+16>>2]|0))return;k=c[b+36>>2]|0;k=(c[b+224>>2]|0)==0?k:(k*3|0)+2|0;c[d+4>>2]=0;c[d+8>>2]=C(k,c[b+332>>2]|0)|0;c[d+12>>2]=0;c[d+16>>2]=(c[b+108>>2]|0)==0?2:3;c[j>>2]=(c[j>>2]|0)+1;return}function Pw(a){a=a|0;var b=0,d=0,e=0,f=0;d=c[a+444>>2]|0;e=d+8|0;if(!(c[e>>2]|0)){b=a+84|0;do if(c[b>>2]|0?(c[a+136>>2]|0)==0:0){if(c[a+92>>2]|0?c[a+108>>2]|0:0){c[a+484>>2]=c[d+24>>2];c[e>>2]=1;break}if(!(c[a+100>>2]|0)){f=c[a>>2]|0;c[f+20>>2]=47;Rb[c[f>>2]&255](a);break}else{c[a+484>>2]=c[d+20>>2];break}}while(0);Rb[c[c[a+472>>2]>>2]&255](a);Rb[c[(c[a+452>>2]|0)+8>>2]&255](a);if(!(c[a+68>>2]|0)){if(!(c[d+16>>2]|0))Rb[c[c[a+480>>2]>>2]&255](a);Rb[c[c[a+476>>2]>>2]&255](a);if(c[b>>2]|0)Tb[c[c[a+484>>2]>>2]&63](a,c[e>>2]|0);Tb[c[c[a+456>>2]>>2]&63](a,(c[e>>2]|0)==0?0:3);Tb[c[c[a+448>>2]>>2]&63](a,0)}}else{c[e>>2]=0;Tb[c[c[a+484>>2]>>2]&63](a,0);Tb[c[c[a+456>>2]>>2]&63](a,2);Tb[c[c[a+448>>2]>>2]&63](a,2)}b=c[a+8>>2]|0;if(!b)return;d=c[d+12>>2]|0;c[b+12>>2]=d;d=((c[e>>2]|0)==0?1:2)+d|0;b=b+16|0;c[b>>2]=d;if(!(c[a+64>>2]|0))return;if(c[(c[a+460>>2]|0)+20>>2]|0)return;c[b>>2]=((c[a+108>>2]|0)==0?1:2)+d;return}function Qw(a){a=a|0;var b=0;b=c[a+444>>2]|0;if(c[a+84>>2]|0)Rb[c[(c[a+484>>2]|0)+8>>2]&255](a);a=b+12|0;c[a>>2]=(c[a>>2]|0)+1;return}function Rw(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;g=a+4|0;e=Ib[c[c[g>>2]>>2]&63](a,1,44)|0;c[a+484>>2]=e;c[e>>2]=51;c[e+12>>2]=136;f=e+32|0;c[f>>2]=0;c[e+40>>2]=0;if((c[a+120>>2]|0)!=3){d=c[a>>2]|0;c[d+20>>2]=48;Rb[c[d>>2]&255](a)}b=e+24|0;c[b>>2]=Ib[c[c[g>>2]>>2]&63](a,1,128)|0;d=0;do{h=Ib[c[(c[g>>2]|0)+4>>2]&63](a,1,4096)|0;c[(c[b>>2]|0)+(d<<2)>>2]=h;d=d+1|0}while((d|0)!=32);c[e+28>>2]=1;if(!(c[a+108>>2]|0))c[e+16>>2]=0;else{b=c[a+96>>2]|0;if((b|0)>=8){if((b|0)>256){h=c[a>>2]|0;c[h+20>>2]=59;c[h+24>>2]=256;Rb[c[c[a>>2]>>2]&255](a)}}else{h=c[a>>2]|0;c[h+20>>2]=58;c[h+24>>2]=8;Rb[c[c[a>>2]>>2]&255](a)}c[e+16>>2]=Jb[c[(c[g>>2]|0)+8>>2]&15](a,1,b,3)|0;c[e+20>>2]=b}b=a+88|0;if(!(c[b>>2]|0))return;c[b>>2]=2;c[f>>2]=Ib[c[(c[g>>2]|0)+4>>2]&63](a,1,((c[a+112>>2]|0)*6|0)+12|0)|0;bx(a);return}function Sw(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;f=a+4|0;b=Ib[c[c[f>>2]>>2]&63](a,1,84)|0;c[a+472>>2]=b;c[b>>2]=137;g=a+36|0;if((c[g>>2]|0)<=0)return;e=b+44|0;b=0;d=c[a+216>>2]|0;while(1){h=Ib[c[c[f>>2]>>2]&63](a,1,256)|0;c[d+84>>2]=h;hP(h|0,0,256)|0;c[e+(b<<2)>>2]=-1;b=b+1|0;if((b|0)>=(c[g>>2]|0))break;else d=d+88|0}return}function Tw(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;l=a+4|0;j=Ib[c[c[l>>2]>>2]&63](a,1,80)|0;e=a+448|0;c[e>>2]=j;c[j>>2]=52;if(b|0){k=c[a>>2]|0;c[k+20>>2]=3;Rb[c[k>>2]&255](a)}k=a+328|0;d=c[k>>2]|0;if(!(c[(c[a+476>>2]|0)+8>>2]|0)){c[j+52>>2]=d;g=a+36|0;b=c[g>>2]|0;e=d;h=d}else{if((d|0)<2){d=c[a>>2]|0;c[d+20>>2]=48;Rb[c[d>>2]&255](a);d=c[k>>2]|0}g=c[e>>2]|0;i=a+36|0;f=Ib[c[c[l>>2]>>2]&63](a,1,c[i>>2]<<3)|0;h=g+60|0;c[h>>2]=f;b=c[i>>2]|0;g=g+64|0;c[g>>2]=f+(b<<2);if((b|0)>0){d=d+4|0;e=0;f=c[a+216>>2]|0;while(1){m=C(c[f+40>>2]|0,c[f+12>>2]|0)|0;m=(m|0)/(c[k>>2]|0)|0;b=C(m,d)|0;m=(Ib[c[c[l>>2]>>2]&63](a,1,b<<3)|0)+(m<<2)|0;c[(c[h>>2]|0)+(e<<2)>>2]=m;c[(c[g>>2]|0)+(e<<2)>>2]=m+(b<<2);e=e+1|0;b=c[i>>2]|0;if((e|0)>=(b|0))break;else f=f+88|0}}h=c[k>>2]|0;e=h;h=h+2|0;g=i}if((b|0)<=0)return;f=j+8|0;d=e;b=0;e=c[a+216>>2]|0;while(1){m=(C(c[e+40>>2]|0,c[e+12>>2]|0)|0)/(d|0)|0;j=C(c[e+36>>2]|0,c[e+28>>2]|0)|0;m=C(m,h)|0;c[f+(b<<2)>>2]=Jb[c[(c[l>>2]|0)+8>>2]&15](a,1,j,m)|0;b=b+1|0;if((b|0)>=(c[g>>2]|0))break;d=c[k>>2]|0;e=e+88|0}return}function Uw(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;r=c[a+448>>2]|0;switch(b|0){case 0:{b=r+4|0;if(!(c[(c[a+476>>2]|0)+8>>2]|0)){c[b>>2]=22;c[r+48>>2]=c[r+52>>2];return}c[b>>2]=21;k=c[a+328>>2]|0;l=c[a+36>>2]|0;if((l|0)>0){n=r+60|0;o=r+64|0;m=k+2|0;q=k+-2|0;p=0;i=c[a+216>>2]|0;while(1){j=(C(c[i+40>>2]|0,c[i+12>>2]|0)|0)/(k|0)|0;h=c[(c[n>>2]|0)+(p<<2)>>2]|0;f=c[(c[o>>2]|0)+(p<<2)>>2]|0;g=c[r+8+(p<<2)>>2]|0;a=C(j,m)|0;if((a|0)>0){b=0;do{e=c[g+(b<<2)>>2]|0;c[f+(b<<2)>>2]=e;c[h+(b<<2)>>2]=e;b=b+1|0}while((b|0)!=(a|0))}a=j<<1;if((j|0)>0){d=C(j,k)|0;e=C(j,q)|0;b=0;do{s=b+d|0;t=b+e|0;c[f+(t<<2)>>2]=c[g+(s<<2)>>2];c[f+(s<<2)>>2]=c[g+(t<<2)>>2];b=b+1|0}while((b|0)<(a|0));b=0;do{c[h+(b-j<<2)>>2]=c[h>>2];b=b+1|0}while((b|0)!=(j|0))}p=p+1|0;if((p|0)==(l|0))break;else i=i+88|0}}c[r+68>>2]=0;c[r+72>>2]=0;c[r+76>>2]=0;c[r+56>>2]=0;return}case 2:{c[r+4>>2]=23;return}default:{t=c[a>>2]|0;c[t+20>>2]=3;Rb[c[t>>2]&255](a);return}}}function Vw(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;v=a+448|0;s=c[v>>2]|0;x=s+56|0;do if(!(c[x>>2]|0))if(!(Hb[c[(c[a+452>>2]|0)+12>>2]&63](a,c[s+60+(c[s+68>>2]<<2)>>2]|0)|0))return;else{c[x>>2]=1;y=s+76|0;c[y>>2]=(c[y>>2]|0)+1;break}while(0);y=s+72|0;switch(c[y>>2]|0){case 2:{f=s+48|0;g=s+52|0;Zb[c[(c[a+456>>2]|0)+4>>2]&7](a,c[s+60+(c[s+68>>2]<<2)>>2]|0,f,c[g>>2]|0,b,d,e);if((c[f>>2]|0)>>>0<(c[g>>2]|0)>>>0)return;c[y>>2]=0;if((c[d>>2]|0)>>>0>>0)h=9;else return;break}case 0:{f=s+48|0;g=s+52|0;h=9;break}case 1:{w=s+48|0;u=s+52|0;break}default:return}if((h|0)==9){c[f>>2]=0;p=c[a+328>>2]|0;c[g>>2]=p+-1;if((c[s+76>>2]|0)==(c[a+332>>2]|0)?(i=c[v>>2]|0,r=c[a+36>>2]|0,(r|0)>0):0){q=i+52|0;k=i+60+(c[i+68>>2]<<2)|0;l=0;m=c[a+216>>2]|0;while(1){w=C(c[m+40>>2]|0,c[m+12>>2]|0)|0;h=(w|0)/(p|0)|0;o=((c[m+48>>2]|0)>>>0)%(w>>>0)|0;o=(o|0)==0?w:o;if(!l)c[q>>2]=((o+-1|0)/(h|0)|0)+1;j=c[(c[k>>2]|0)+(l<<2)>>2]|0;n=h<<1;if((h|0)>0){h=j+(o+-1<<2)|0;i=0;do{c[j+(i+o<<2)>>2]=c[h>>2];i=i+1|0}while((i|0)<(n|0))}l=l+1|0;if((l|0)==(r|0))break;else m=m+88|0}}c[y>>2]=1;w=f;u=g}t=s+68|0;Zb[c[(c[a+456>>2]|0)+4>>2]&7](a,c[s+60+(c[t>>2]<<2)>>2]|0,w,c[u>>2]|0,b,d,e);if((c[w>>2]|0)>>>0<(c[u>>2]|0)>>>0)return;if((c[s+76>>2]|0)==1){g=c[v>>2]|0;f=c[a+328>>2]|0;r=c[a+36>>2]|0;if((r|0)>0){s=g+60|0;p=g+64|0;n=f+1|0;o=f+2|0;q=0;i=c[a+216>>2]|0;while(1){j=(C(c[i+40>>2]|0,c[i+12>>2]|0)|0)/(f|0)|0;g=c[(c[s>>2]|0)+(q<<2)>>2]|0;h=c[(c[p>>2]|0)+(q<<2)>>2]|0;if((j|0)>0){m=C(j,n)|0;l=C(j,o)|0;k=0;do{b=k+m|0;a=k-j|0;c[g+(a<<2)>>2]=c[g+(b<<2)>>2];c[h+(a<<2)>>2]=c[h+(b<<2)>>2];a=k+l|0;c[g+(a<<2)>>2]=c[g+(k<<2)>>2];c[h+(a<<2)>>2]=c[h+(k<<2)>>2];k=k+1|0}while((k|0)!=(j|0))}q=q+1|0;if((q|0)==(r|0))break;else i=i+88|0}}}else f=c[a+328>>2]|0;c[t>>2]=c[t>>2]^1;c[x>>2]=0;c[w>>2]=f+1;c[u>>2]=f+2;c[y>>2]=2;return}function Ww(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;g=c[a+448>>2]|0;i=g+48|0;h=g+52|0;f=c[h>>2]|0;do if((c[i>>2]|0)>>>0>=f>>>0){f=g+8|0;if(!(Hb[c[(c[a+452>>2]|0)+12>>2]&63](a,f)|0))return;else{c[i>>2]=0;h=c[h>>2]|0;break}}else{h=f;f=g+8|0}while(0);Zb[c[(c[a+456>>2]|0)+4>>2]&7](a,f,i,h,b,d,e);return}function Xw(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;Zb[c[(c[a+456>>2]|0)+4>>2]&7](a,0,0,0,b,d,e);return}function Yw(a){a=a|0;var d=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0.0,u=0;l=c[a+472>>2]|0;r=a+36|0;if((c[r>>2]|0)<=0)return;q=a+72|0;o=0;p=c[a+216>>2]|0;i=0;j=0;while(1){d=c[p+36>>2]|0;h=p+40|0;a:do switch((d<<8)+(c[h>>2]|0)|0){case 257:{d=0;k=13;break}case 514:{d=0;k=14;break}case 771:{d=0;k=15;break}case 1028:{d=0;k=16;break}case 1285:{d=0;k=17;break}case 1542:{d=0;k=18;break}case 1799:{d=0;k=19;break}case 2313:{d=0;k=20;break}case 2570:{d=0;k=21;break}case 2827:{d=0;k=22;break}case 3084:{d=0;k=23;break}case 3341:{d=0;k=24;break}case 3598:{d=0;k=25;break}case 3855:{d=0;k=26;break}case 4112:{d=0;k=27;break}case 4104:{d=0;k=28;break}case 3591:{d=0;k=29;break}case 3078:{d=0;k=30;break}case 2565:{d=0;k=31;break}case 2052:{d=0;k=32;break}case 1539:{d=0;k=33;break}case 1026:{d=0;k=34;break}case 513:{d=0;k=35;break}case 2064:{d=0;k=36;break}case 1806:{d=0;k=37;break}case 1548:{d=0;k=38;break}case 1290:{d=0;k=39;break}case 1032:{d=0;k=40;break}case 774:{d=0;k=41;break}case 516:{d=0;k=42;break}case 258:{d=0;k=43;break}case 2056:{d=c[q>>2]|0;switch(d|0){case 0:{k=44;break a}case 1:{k=45;break a}case 2:{k=46;break a}default:{d=c[a>>2]|0;c[d+20>>2]=49;Rb[c[d>>2]&255](a);d=i;k=j;break a}}}default:{k=c[a>>2]|0;c[k+20>>2]=7;c[k+24>>2]=d;c[(c[a>>2]|0)+28>>2]=c[h>>2];Rb[c[c[a>>2]>>2]&255](a);d=i;k=j}}while(0);c[l+4+(o<<2)>>2]=k;b:do if((c[p+52>>2]|0?(n=l+44+(o<<2)|0,(c[n>>2]|0)!=(d|0)):0)?(m=c[p+80>>2]|0,m|0):0){c[n>>2]=d;switch(d|0){case 0:{h=c[p+84>>2]|0;i=0;do{c[h+(i<<2)>>2]=e[m+(i<<1)>>1];i=i+1|0}while((i|0)!=64);break}case 1:{h=c[p+84>>2]|0;i=0;do{c[h+(i<<2)>>2]=(C(b[5504+(i<<1)>>1]|0,e[m+(i<<1)>>1]|0)|0)+2048>>12;i=i+1|0}while((i|0)!=64);break}case 2:{h=c[p+84>>2]|0;i=0;j=0;while(1){t=+g[5632+(j<<3)>>3];f[h+(i<<2)>>2]=t*+(e[m+(i<<1)>>1]|0)*.125;s=i|1;f[h+(s<<2)>>2]=t*+(e[m+(s<<1)>>1]|0)*1.387039845*.125;s=s+1|0;f[h+(s<<2)>>2]=t*+(e[m+(s<<1)>>1]|0)*1.306562965*.125;s=i|3;f[h+(s<<2)>>2]=t*+(e[m+(s<<1)>>1]|0)*1.175875602*.125;u=s+1|0;f[h+(u<<2)>>2]=t*+(e[m+(u<<1)>>1]|0)*.125;u=s+2|0;f[h+(u<<2)>>2]=t*+(e[m+(u<<1)>>1]|0)*.785694958*.125;s=s+3|0;f[h+(s<<2)>>2]=t*+(e[m+(s<<1)>>1]|0)*.5411961*.125;s=i|7;f[h+(s<<2)>>2]=t*+(e[m+(s<<1)>>1]|0)*.275899379*.125;j=j+1|0;if((j|0)==8)break;else i=i+8|0}break}default:{u=c[a>>2]|0;c[u+20>>2]=49;Rb[c[u>>2]&255](a);break b}}}while(0);o=o+1|0;if((o|0)>=(c[r>>2]|0))break;else{p=p+88|0;i=d;j=k}}return}function Zw(d,e,g,h,i){d=d|0;e=e|0;g=g|0;h=h|0;i=i|0;var j=0,k=0.0,l=0,m=0,n=0,o=0,p=0,q=0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0.0;q=zb;zb=zb+256|0;j=q;n=c[d+336>>2]|0;o=8;l=c[e+84>>2]|0;m=j;while(1){e=b[g+16>>1]|0;d=b[g+32>>1]|0;if(!((e|d)<<16>>16))if(((((b[g+48>>1]|0)==0?(b[g+64>>1]|0)==0:0)?(b[g+80>>1]|0)==0:0)?(b[g+96>>1]|0)==0:0)?(b[g+112>>1]|0)==0:0){k=+f[l>>2]*+(b[g>>1]|0);f[m>>2]=k;f[m+32>>2]=k;f[m+64>>2]=k;f[m+96>>2]=k;f[m+128>>2]=k;f[m+160>>2]=k;f[m+192>>2]=k;d=56}else{d=0;p=9}else p=9;if((p|0)==9){p=0;r=+f[l>>2]*+(b[g>>1]|0);x=+f[l+64>>2]*+(d<<16>>16);w=+f[l+128>>2]*+(b[g+64>>1]|0);t=+f[l+192>>2]*+(b[g+96>>1]|0);v=r+w;w=r-w;r=x+t;t=(x-t)*1.4142135381698608-r;x=v+r;r=v-r;v=w+t;t=w-t;w=+f[l+32>>2]*+(e<<16>>16);u=+f[l+96>>2]*+(b[g+48>>1]|0);z=+f[l+160>>2]*+(b[g+80>>1]|0);k=+f[l+224>>2]*+(b[g+112>>1]|0);s=u+z;u=z-u;z=w+k;k=w-k;w=s+z;y=(u+k)*1.8477590084075928;u=y-u*2.613126039505005-w;s=(z-s)*1.4142135381698608-u;k=y-k*1.0823922157287598-s;f[m>>2]=x+w;f[m+224>>2]=x-w;f[m+32>>2]=v+u;f[m+192>>2]=v-u;f[m+64>>2]=t+s;f[m+160>>2]=t-s;f[m+96>>2]=r+k;d=32;k=r-k}f[m+(d<<2)>>2]=k;if(o>>>0>1){o=o+-1|0;g=g+2|0;l=l+4|0;m=m+4|0}else break}d=n+-384|0;g=0;while(1){p=(c[h+(g<<2)>>2]|0)+i|0;s=+f[j>>2]+512.5;t=+f[j+16>>2];u=s+t;t=s-t;s=+f[j+8>>2];w=+f[j+24>>2];y=s+w;w=(s-w)*1.4142135381698608-y;s=u+y;y=u-y;u=t+w;w=t-w;t=+f[j+20>>2];v=+f[j+12>>2];x=t+v;v=t-v;t=+f[j+4>>2];z=+f[j+28>>2];k=t+z;z=t-z;t=x+k;r=(v+z)*1.8477590084075928;v=r-v*2.613126039505005-t;x=(k-x)*1.4142135381698608-v;z=r-z*1.0823922157287598-x;a[p>>0]=a[d+(~~(s+t)&1023)>>0]|0;a[p+7>>0]=a[d+(~~(s-t)&1023)>>0]|0;a[p+1>>0]=a[d+(~~(u+v)&1023)>>0]|0;a[p+6>>0]=a[d+(~~(u-v)&1023)>>0]|0;a[p+2>>0]=a[d+(~~(w+x)&1023)>>0]|0;a[p+5>>0]=a[d+(~~(w-x)&1023)>>0]|0;a[p+3>>0]=a[d+(~~(y+z)&1023)>>0]|0;a[p+4>>0]=a[d+(~~(y-z)&1023)>>0]|0;g=g+1|0;if((g|0)==8)break;else j=j+32|0}zb=q;return}function _w(d,e,f,g,h){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;o=zb;zb=zb+256|0;j=o;l=c[d+336>>2]|0;m=8;i=c[e+84>>2]|0;k=j;while(1){e=b[f+16>>1]|0;d=b[f+32>>1]|0;if(!((e|d)<<16>>16))if(((((b[f+48>>1]|0)==0?(b[f+64>>1]|0)==0:0)?(b[f+80>>1]|0)==0:0)?(b[f+96>>1]|0)==0:0)?(b[f+112>>1]|0)==0:0){e=C(c[i>>2]|0,b[f>>1]|0)|0;c[k>>2]=e;c[k+32>>2]=e;c[k+64>>2]=e;c[k+96>>2]=e;c[k+128>>2]=e;c[k+160>>2]=e;c[k+192>>2]=e;d=56}else{d=0;n=9}else n=9;if((n|0)==9){n=0;p=C(c[i>>2]|0,b[f>>1]|0)|0;u=C(c[i+64>>2]|0,d<<16>>16)|0;t=C(c[i+128>>2]|0,b[f+64>>1]|0)|0;q=C(c[i+192>>2]|0,b[f+96>>1]|0)|0;s=t+p|0;t=p-t|0;p=q+u|0;q=((u-q|0)*362>>8)-p|0;u=p+s|0;p=s-p|0;s=q+t|0;q=t-q|0;t=C(c[i+32>>2]|0,e<<16>>16)|0;r=C(c[i+96>>2]|0,b[f+48>>1]|0)|0;w=C(c[i+160>>2]|0,b[f+80>>1]|0)|0;e=C(c[i+224>>2]|0,b[f+112>>1]|0)|0;d=w+r|0;r=w-r|0;w=e+t|0;e=t-e|0;t=w+d|0;v=(e+r|0)*473>>8;r=v-(r*669>>8)-t|0;d=((w-d|0)*362>>8)-r|0;e=v-(e*277>>8)-d|0;c[k>>2]=t+u;c[k+224>>2]=u-t;c[k+32>>2]=r+s;c[k+192>>2]=s-r;c[k+64>>2]=d+q;c[k+160>>2]=q-d;c[k+96>>2]=e+p;d=32;e=p-e|0}c[k+(d<<2)>>2]=e;if(m>>>0>1){m=m+-1|0;f=f+2|0;i=i+4|0;k=k+4|0}else break}k=l+-384|0;l=0;while(1){e=(c[g+(l<<2)>>2]|0)+h|0;i=(c[j>>2]|0)+16400|0;f=c[j+4>>2]|0;d=c[j+8>>2]|0;if(!(f|d))if(((((c[j+12>>2]|0)==0?(c[j+16>>2]|0)==0:0)?(c[j+20>>2]|0)==0:0)?(c[j+24>>2]|0)==0:0)?(c[j+28>>2]|0)==0:0){w=a[k+(i>>>5&1023)>>0]|0;a[e>>0]=w;hP(e+1|0,w|0,7)|0}else{d=0;n=19}else n=19;if((n|0)==19){n=0;w=c[j+16>>2]|0;r=w+i|0;w=i-w|0;t=c[j+24>>2]|0;v=t+d|0;t=((d-t|0)*362>>8)-v|0;p=v+r|0;v=r-v|0;r=t+w|0;t=w-t|0;w=c[j+20>>2]|0;s=c[j+12>>2]|0;u=s+w|0;s=w-s|0;w=c[j+28>>2]|0;i=w+f|0;w=f-w|0;q=i+u|0;m=(w+s|0)*473>>8;s=m-(s*669>>8)-q|0;u=((i-u|0)*362>>8)-s|0;w=m-(w*277>>8)-u|0;a[e>>0]=a[k+((q+p|0)>>>5&1023)>>0]|0;a[e+7>>0]=a[k+((p-q|0)>>>5&1023)>>0]|0;a[e+1>>0]=a[k+((s+r|0)>>>5&1023)>>0]|0;a[e+6>>0]=a[k+((r-s|0)>>>5&1023)>>0]|0;a[e+2>>0]=a[k+((u+t|0)>>>5&1023)>>0]|0;a[e+5>>0]=a[k+((t-u|0)>>>5&1023)>>0]|0;a[e+3>>0]=a[k+((w+v|0)>>>5&1023)>>0]|0;a[e+4>>0]=a[k+((v-w|0)>>>5&1023)>>0]|0}l=l+1|0;if((l|0)==8)break;else j=j+32|0}zb=o;return}function $w(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;f=c[a+484>>2]|0;g=c[f+24>>2]|0;e=a+88|0;if(!(c[e>>2]|0))d=0;else{c[e>>2]=2;d=2}if(!b){c[f+4>>2]=(d|0)==2?26:25;c[f+8>>2]=139;d=c[a+132>>2]|0;if((d|0)>=1){if((d|0)>256){b=c[a>>2]|0;c[b+20>>2]=59;c[b+24>>2]=256;Rb[c[c[a>>2]>>2]&255](a)}}else{b=c[a>>2]|0;c[b+20>>2]=58;c[b+24>>2]=1;Rb[c[c[a>>2]>>2]&255](a)}if((c[e>>2]|0)==2){e=((c[a+112>>2]|0)*6|0)+12|0;b=f+32|0;d=c[b>>2]|0;if(!d){d=Ib[c[(c[a+4>>2]|0)+4>>2]&63](a,1,e)|0;c[b>>2]=d}hP(d|0,0,e|0)|0;if(!(c[f+40>>2]|0))bx(a);c[f+36>>2]=0}}else{c[f+4>>2]=24;c[f+8>>2]=138;c[f+28>>2]=1}d=f+28|0;if(!(c[d>>2]|0))return;hP(c[g>>2]|0,0,4096)|0;hP(c[g+4>>2]|0,0,4096)|0;hP(c[g+8>>2]|0,0,4096)|0;hP(c[g+12>>2]|0,0,4096)|0;hP(c[g+16>>2]|0,0,4096)|0;hP(c[g+20>>2]|0,0,4096)|0;hP(c[g+24>>2]|0,0,4096)|0;hP(c[g+28>>2]|0,0,4096)|0;hP(c[g+32>>2]|0,0,4096)|0;hP(c[g+36>>2]|0,0,4096)|0;hP(c[g+40>>2]|0,0,4096)|0;hP(c[g+44>>2]|0,0,4096)|0;hP(c[g+48>>2]|0,0,4096)|0;hP(c[g+52>>2]|0,0,4096)|0;hP(c[g+56>>2]|0,0,4096)|0;hP(c[g+60>>2]|0,0,4096)|0;hP(c[g+64>>2]|0,0,4096)|0;hP(c[g+68>>2]|0,0,4096)|0;hP(c[g+72>>2]|0,0,4096)|0;hP(c[g+76>>2]|0,0,4096)|0;hP(c[g+80>>2]|0,0,4096)|0;hP(c[g+84>>2]|0,0,4096)|0;hP(c[g+88>>2]|0,0,4096)|0;hP(c[g+92>>2]|0,0,4096)|0;hP(c[g+96>>2]|0,0,4096)|0;hP(c[g+100>>2]|0,0,4096)|0;hP(c[g+104>>2]|0,0,4096)|0;hP(c[g+108>>2]|0,0,4096)|0;hP(c[g+112>>2]|0,0,4096)|0;hP(c[g+116>>2]|0,0,4096)|0;hP(c[g+120>>2]|0,0,4096)|0;hP(c[g+124>>2]|0,0,4096)|0;c[d>>2]=0;return}function ax(a){a=a|0;c[(c[a+484>>2]|0)+28>>2]=1;return}function bx(a){a=a|0;var b=0,d=0,e=0;e=c[a+484>>2]|0;a=Ib[c[c[a+4>>2]>>2]&63](a,1,2044)|0;d=a+1020|0;c[e+40>>2]=d;c[d>>2]=0;c[a+1024>>2]=1;c[a+1016>>2]=-1;c[a+1028>>2]=2;c[a+1012>>2]=-2;c[a+1032>>2]=3;c[a+1008>>2]=-3;c[a+1036>>2]=4;c[a+1004>>2]=-4;c[a+1040>>2]=5;c[a+1e3>>2]=-5;c[a+1044>>2]=6;c[a+996>>2]=-6;c[a+1048>>2]=7;c[a+992>>2]=-7;c[a+1052>>2]=8;c[a+988>>2]=-8;c[a+1056>>2]=9;c[a+984>>2]=-9;c[a+1060>>2]=10;c[a+980>>2]=-10;c[a+1064>>2]=11;c[a+976>>2]=-11;c[a+1068>>2]=12;c[a+972>>2]=-12;c[a+1072>>2]=13;c[a+968>>2]=-13;c[a+1076>>2]=14;c[a+964>>2]=-14;c[a+1080>>2]=15;c[a+960>>2]=-15;a=16;e=16;do{c[d+(a<<2)>>2]=e;c[d+(0-a<<2)>>2]=0-e;a=a+1|0;e=(a&1^1)+e|0}while((a|0)!=48);b=0-e|0;a=48;do{c[d+(a<<2)>>2]=e;c[d+(0-a<<2)>>2]=b;a=a+1|0}while((a|0)!=256);return}function cx(a,e,f,g){a=a|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0;j=c[(c[a+484>>2]|0)+24>>2]|0;f=c[a+112>>2]|0;if((g|0)<1|(f|0)==0)return;i=0;do{a=f;h=c[e+(i<<2)>>2]|0;while(1){k=(c[j+((d[h>>0]|0)>>>3<<2)>>2]|0)+((d[h+1>>0]|0)>>>2<<6)+((d[h+2>>0]|0)>>>3<<1)|0;m=b[k>>1]|0;l=m+1<<16>>16;b[k>>1]=l<<16>>16==0?m:l;a=a+-1|0;if(!a)break;else h=h+3|0}i=i+1|0}while((i|0)!=(g|0));return}function dx(d){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,D=0;B=d+484|0;y=c[B>>2]|0;A=d+136|0;c[A>>2]=c[y+16>>2];s=c[y+20>>2]|0;z=Ib[c[c[d+4>>2]>>2]&63](d,1,s<<5)|0;c[z>>2]=0;c[z+4>>2]=31;c[z+8>>2]=0;c[z+12>>2]=63;c[z+16>>2]=0;c[z+20>>2]=31;ix(d,z);a:do if((s|0)>1){e=1;while(1){if((e<<1|0)>(s|0)){h=z;j=0;k=0;f=0;while(1){g=c[h+24>>2]|0;i=(g|0)>(k|0);f=i?h:f;j=j+1|0;if((j|0)==(e|0)){r=f;break}else{h=h+32|0;k=i?g:k}}}else{i=z;j=0;h=0;g=0;while(1){f=c[i+28>>2]|0;if((f|0)>(h|0)){x=(c[i+24>>2]|0)>0;f=x?f:h;g=x?i:g}else f=h;j=j+1|0;if((j|0)==(e|0)){r=g;break}else{i=i+32|0;h=f}}}if(!r)break a;q=z+(e<<5)|0;m=r+4|0;c[z+(e<<5)+4>>2]=c[m>>2];n=r+12|0;c[z+(e<<5)+12>>2]=c[n>>2];o=r+20|0;c[z+(e<<5)+20>>2]=c[o>>2];c[q>>2]=c[r>>2];j=r+8|0;f=z+(e<<5)+8|0;c[f>>2]=c[j>>2];l=r+16|0;p=z+(e<<5)+16|0;c[p>>2]=c[l>>2];g=c[m>>2]|0;h=c[r>>2]|0;v=g-h<<4;i=c[n>>2]|0;j=c[j>>2]|0;w=(i-j|0)*12|0;k=c[o>>2]|0;l=c[l>>2]|0;x=(v|0)>(w|0);switch(((k-l<<3|0)>((x?v:w)|0)?2:(x^1)&1)&3){case 0:{g=(h+g|0)/2|0;c[m>>2]=g;f=q;t=15;break}case 1:{g=(j+i|0)/2|0;c[n>>2]=g;t=15;break}case 2:{g=(l+k|0)/2|0;c[o>>2]=g;f=p;t=15;break}default:{}}if((t|0)==15){t=0;c[f>>2]=g+1}ix(d,r);ix(d,q);e=e+1|0;if((e|0)>=(s|0))break a}}else e=1;while(0);x=0;do{r=c[(c[B>>2]|0)+24>>2]|0;f=c[z+(x<<5)>>2]|0;s=c[z+(x<<5)+4>>2]|0;t=c[z+(x<<5)+8>>2]|0;u=c[z+(x<<5)+12>>2]|0;v=c[z+(x<<5)+16>>2]|0;w=c[z+(x<<5)+20>>2]|0;if((f|0)>(s|0)|(t|0)>(u|0)|(v|0)>(w|0)){i=0;h=0;g=0;f=0}else{q=f;i=0;h=0;g=0;f=0;while(1){o=c[r+(q<<2)>>2]|0;p=q<<3|4;n=t;while(1){m=n<<2|2;l=v;k=o+(n<<6)+(v<<1)|0;while(1){D=b[k>>1]|0;j=D&65535;if(D<<16>>16){i=(C(p,j)|0)+i|0;h=(C(m,j)|0)+h|0;g=(C(l<<3|4,j)|0)+g|0;f=f+j|0}if((l|0)<(w|0)){l=l+1|0;k=k+2|0}else break}if((n|0)<(u|0))n=n+1|0;else break}if((q|0)<(s|0))q=q+1|0;else break}}D=f>>1;a[(c[c[A>>2]>>2]|0)+x>>0]=(i+D|0)/(f|0)|0;a[(c[(c[A>>2]|0)+4>>2]|0)+x>>0]=(h+D|0)/(f|0)|0;a[(c[(c[A>>2]|0)+8>>2]|0)+x>>0]=(g+D|0)/(f|0)|0;x=x+1|0}while((x|0)<(e|0));c[d+132>>2]=e;D=c[d>>2]|0;c[D+20>>2]=98;c[D+24>>2]=e;Tb[c[(c[d>>2]|0)+4>>2]&63](d,1);c[y+28>>2]=1;return}function ex(e,f,g,h){e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0;i=c[e+484>>2]|0;O=c[i+24>>2]|0;P=c[e+112>>2]|0;Q=c[e+336>>2]|0;R=c[i+40>>2]|0;U=c[e+136>>2]|0;S=c[U>>2]|0;T=c[U+4>>2]|0;U=c[U+8>>2]|0;if((h|0)<=0)return;V=i+36|0;J=i+32|0;I=(P|0)==0;N=P+-1|0;K=N*3|0;L=(P*3|0)+3|0;M=0;do{j=c[f+(M<<2)>>2]|0;k=c[g+(M<<2)>>2]|0;if(!(c[V>>2]|0)){G=1;H=3;i=c[J>>2]|0;l=1}else{G=-1;H=-3;i=(c[J>>2]|0)+(L<<1)|0;j=j+K|0;k=k+N|0;l=0}c[V>>2]=l;if(I){l=0;k=0;j=0}else{v=H+1|0;w=H+2|0;F=C(P,H)|0;x=0;y=0;z=0;l=0;D=0;E=0;A=P;m=0;n=0;o=0;B=i;while(1){u=B;B=B+(H<<1)|0;r=d[Q+((c[R+(m+8+(b[B>>1]|0)>>4<<2)>>2]|0)+(d[j>>0]|0))>>0]|0;s=d[Q+((c[R+(n+8+(b[u+(v<<1)>>1]|0)>>4<<2)>>2]|0)+(d[j+1>>0]|0))>>0]|0;t=d[Q+((c[R+(o+8+(b[u+(w<<1)>>1]|0)>>4<<2)>>2]|0)+(d[j+2>>0]|0))>>0]|0;n=r>>>3;o=s>>>2;p=t>>>3;q=(c[O+(n<<2)>>2]|0)+(o<<6)+(p<<1)|0;m=b[q>>1]|0;if(!(m<<16>>16)){hx(e,n,o,p);m=b[q>>1]|0}o=(m&65535)+-1|0;a[k>>0]=o;m=r-(d[S+o>>0]|0)|0;n=s-(d[T+o>>0]|0)|0;o=t-(d[U+o>>0]|0)|0;b[u>>1]=(m*3|0)+l;l=(m*5|0)+x|0;b[u+2>>1]=(n*3|0)+D;D=(n*5|0)+y|0;b[u+4>>1]=(o*3|0)+E;E=(o*5|0)+z|0;A=A+-1|0;if(!A)break;else{x=m;y=n;z=o;m=m*7|0;n=n*7|0;o=o*7|0;j=j+H|0;k=k+G|0}}k=D;j=E;i=i+(F<<1)|0}b[i>>1]=l;b[i+2>>1]=k;b[i+4>>1]=j;M=M+1|0}while((M|0)!=(h|0));return}function fx(e,f,g,h){e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;n=c[(c[e+484>>2]|0)+24>>2]|0;o=c[e+112>>2]|0;if((h|0)<1|(o|0)==0)return;s=0;do{p=o;q=c[f+(s<<2)>>2]|0;r=c[g+(s<<2)>>2]|0;while(1){k=(d[q>>0]|0)>>>3;l=(d[q+1>>0]|0)>>>2;j=(d[q+2>>0]|0)>>>3;m=(c[n+(k<<2)>>2]|0)+(l<<6)+(j<<1)|0;i=b[m>>1]|0;if(!(i<<16>>16)){hx(e,k,l,j);i=b[m>>1]|0}a[r>>0]=(i&65535)+255;p=p+-1|0;if(!p)break;else{q=q+3|0;r=r+1|0}}s=s+1|0}while((s|0)!=(h|0));return}function gx(a){a=a|0;return} +function YO(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;l=a;j=b;k=j;h=d;n=e;i=n;if(!k){g=(f|0)!=0;if(!i){if(g){c[f>>2]=(l>>>0)%(h>>>0);c[f+4>>2]=0}n=0;f=(l>>>0)/(h>>>0)>>>0;return (F(n|0),f)|0}else{if(!g){n=0;f=0;return (F(n|0),f)|0}c[f>>2]=a|0;c[f+4>>2]=b&0;n=0;f=0;return (F(n|0),f)|0}}g=(i|0)==0;do if(h){if(!g){g=(D(i|0)|0)-(D(k|0)|0)|0;if(g>>>0<=31){m=g+1|0;i=31-g|0;b=g-31>>31;h=m;a=l>>>(m>>>0)&b|k<>>(m>>>0)&b;g=0;i=l<>2]=a|0;c[f+4>>2]=j|b&0;n=0;f=0;return (F(n|0),f)|0}g=h-1|0;if(g&h|0){i=(D(h|0)|0)+33-(D(k|0)|0)|0;p=64-i|0;m=32-i|0;j=m>>31;o=i-32|0;b=o>>31;h=i;a=m-1>>31&k>>>(o>>>0)|(k<>>(i>>>0))&b;b=b&k>>>(i>>>0);g=l<>>(o>>>0))&j|l<>31;break}if(f|0){c[f>>2]=g&l;c[f+4>>2]=0}if((h|0)==1){o=j|b&0;p=a|0|0;return (F(o|0),p)|0}else{p=XO(h|0)|0;o=k>>>(p>>>0)|0;p=k<<32-p|l>>>(p>>>0)|0;return (F(o|0),p)|0}}else{if(g){if(f|0){c[f>>2]=(k>>>0)%(h>>>0);c[f+4>>2]=0}o=0;p=(k>>>0)/(h>>>0)>>>0;return (F(o|0),p)|0}if(!l){if(f|0){c[f>>2]=0;c[f+4>>2]=(k>>>0)%(i>>>0)}o=0;p=(k>>>0)/(i>>>0)>>>0;return (F(o|0),p)|0}g=i-1|0;if(!(g&i)){if(f|0){c[f>>2]=a|0;c[f+4>>2]=g&k|b&0}o=0;p=k>>>((XO(i|0)|0)>>>0);return (F(o|0),p)|0}g=(D(i|0)|0)-(D(k|0)|0)|0;if(g>>>0<=30){b=g+1|0;i=31-g|0;h=b;a=k<>>(b>>>0);b=k>>>(b>>>0);g=0;i=l<>2]=a|0;c[f+4>>2]=j|b&0;o=0;p=0;return (F(o|0),p)|0}while(0);if(!h){k=i;j=0;i=0}else{m=d|0|0;l=n|e&0;k=VO(m|0,l|0,-1,-1)|0;d=G()|0;j=i;i=0;do{e=j;j=g>>>31|j<<1;g=i|g<<1;e=a<<1|e>>>31|0;n=a>>>31|b<<1|0;WO(k|0,d|0,e|0,n|0)|0;p=G()|0;o=p>>31|((p|0)<0?-1:0)<<1;i=o&1;a=WO(e|0,n|0,o&m|0,(((p|0)<0?-1:0)>>31|((p|0)<0?-1:0)<<1)&l|0)|0;b=G()|0;h=h-1|0}while((h|0)!=0);k=j;j=0}h=0;if(f|0){c[f>>2]=a;c[f+4>>2]=b}o=(g|0)>>>31|(k|h)<<1|(h<<1|g>>>31)&0|j;p=(g<<1|0>>>31)&-2|i;return (F(o|0),p)|0}function ZO(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return YO(a,b,c,d,0)|0}function _O(a,b,c){a=a|0;b=b|0;c=c|0;if((c|0)<32){F(b>>>c|0);return a>>>c|(b&(1<>>c-32|0}function $O(a,b,c){a=a|0;b=b|0;c=c|0;if((c|0)<32){F(b<>>32-c|0);return a<>8&255)<<16|(a>>16&255)<<8|a>>>24|0}function cP(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;k=k+1|0;c[a>>2]=k;while((f|0)<(e|0)){if(!(c[d+(f<<3)>>2]|0)){c[d+(f<<3)>>2]=k;c[d+((f<<3)+4)>>2]=b;c[d+((f<<3)+8)>>2]=0;F(e|0);return d|0}f=f+1|0}e=e*2|0;d=PO(d|0,8*(e+1|0)|0)|0;d=cP(a|0,b|0,d|0,e|0)|0;F(e|0);return d|0}function dP(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;while((f|0)<(d|0)){e=c[b+(f<<3)>>2]|0;if(!e)break;if((e|0)==(a|0))return c[b+((f<<3)+4)>>2]|0;f=f+1|0}return 0}function eP(a,b){a=a|0;b=b|0;if(!i){i=a;j=b}}function fP(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;if((e|0)>=8192){Da(b|0,d|0,e|0)|0;return b|0}h=b|0;g=b+e|0;if((b&3)==(d&3)){while(b&3){if(!e)return h|0;a[b>>0]=a[d>>0]|0;b=b+1|0;d=d+1|0;e=e-1|0}e=g&-4|0;f=e-64|0;while((b|0)<=(f|0)){c[b>>2]=c[d>>2];c[b+4>>2]=c[d+4>>2];c[b+8>>2]=c[d+8>>2];c[b+12>>2]=c[d+12>>2];c[b+16>>2]=c[d+16>>2];c[b+20>>2]=c[d+20>>2];c[b+24>>2]=c[d+24>>2];c[b+28>>2]=c[d+28>>2];c[b+32>>2]=c[d+32>>2];c[b+36>>2]=c[d+36>>2];c[b+40>>2]=c[d+40>>2];c[b+44>>2]=c[d+44>>2];c[b+48>>2]=c[d+48>>2];c[b+52>>2]=c[d+52>>2];c[b+56>>2]=c[d+56>>2];c[b+60>>2]=c[d+60>>2];b=b+64|0;d=d+64|0}while((b|0)<(e|0)){c[b>>2]=c[d>>2];b=b+4|0;d=d+4|0}}else{e=g-4|0;while((b|0)<(e|0)){a[b>>0]=a[d>>0]|0;a[b+1>>0]=a[d+1>>0]|0;a[b+2>>0]=a[d+2>>0]|0;a[b+3>>0]=a[d+3>>0]|0;b=b+4|0;d=d+4|0}}while((b|0)<(g|0)){a[b>>0]=a[d>>0]|0;b=b+1|0;d=d+1|0}return h|0}function gP(b,c,d){b=b|0;c=c|0;d=d|0;var e=0;if((c|0)<(b|0)&(b|0)<(c+d|0)){e=b;c=c+d|0;b=b+d|0;while((d|0)>0){b=b-1|0;c=c-1|0;d=d-1|0;a[b>>0]=a[c>>0]|0}b=e}else fP(b,c,d)|0;return b|0}function hP(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;h=b+e|0;d=d&255;if((e|0)>=67){while(b&3){a[b>>0]=d;b=b+1|0}f=h&-4|0;i=d|d<<8|d<<16|d<<24;g=f-64|0;while((b|0)<=(g|0)){c[b>>2]=i;c[b+4>>2]=i;c[b+8>>2]=i;c[b+12>>2]=i;c[b+16>>2]=i;c[b+20>>2]=i;c[b+24>>2]=i;c[b+28>>2]=i;c[b+32>>2]=i;c[b+36>>2]=i;c[b+40>>2]=i;c[b+44>>2]=i;c[b+48>>2]=i;c[b+52>>2]=i;c[b+56>>2]=i;c[b+60>>2]=i;b=b+64|0}while((b|0)<(f|0)){c[b>>2]=i;b=b+4|0}}while((b|0)<(h|0)){a[b>>0]=d;b=b+1|0}return h-e|0}function iP(a){a=+a;return a>=0.0?+s(a+.5):+B(a-.5)}function jP(a,b){a=a|0;b=b|0;return +Cb[a&3](b|0)}function kP(a,b,c){a=a|0;b=b|0;c=c|0;return +Db[a&1](b|0,c|0)}function lP(a){a=a|0;return Eb[a&1]()|0}function mP(a,b){a=a|0;b=b|0;return Fb[a&127](b|0)|0}function nP(a,b,c,d,e,f,g){a=a|0;b=b|0;c=+c;d=d|0;e=e|0;f=f|0;g=g|0;return Gb[a&1](b|0,+c,d|0,e|0,f|0,g|0)|0}function oP(a,b,c){a=a|0;b=b|0;c=c|0;return Hb[a&63](b|0,c|0)|0}function pP(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Ib[a&63](b|0,c|0,d|0)|0}function qP(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return Jb[a&15](b|0,c|0,d|0,e|0)|0}function rP(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=+f;return Kb[a&7](b|0,c|0,d|0,e|0,+f)|0}function sP(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 Lb[a&31](b|0,c|0,d|0,e|0,f|0)|0}function tP(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 Mb[a&3](b|0,c|0,d|0,e|0,f|0,+g)|0}function uP(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 Nb[a&63](b|0,c|0,d|0,e|0,f|0,g|0)|0}function vP(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 Ob[a&7](b|0,c|0,d|0,e|0,f|0,g|0,h|0)|0}function wP(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 Pb[a&15](b|0,c|0,d|0,e|0,f|0,g|0,h|0,i|0)|0}function xP(a){a=a|0;Qb[a&1]()}function yP(a,b){a=a|0;b=b|0;Rb[a&255](b|0)}function zP(a,b,c){a=a|0;b=b|0;c=+c;Sb[a&3](b|0,+c)}function AP(a,b,c){a=a|0;b=b|0;c=c|0;Tb[a&63](b|0,c|0)}function BP(a,b,c,d){a=a|0;b=b|0;c=c|0;d=+d;Ub[a&3](b|0,c|0,+d)}function CP(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Vb[a&3](b|0,c|0,d|0)}function DP(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;Wb[a&31](b|0,c|0,d|0,e|0)}function EP(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;Xb[a&63](b|0,c|0,d|0,e|0,f|0)}function FP(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;Yb[a&7](b|0,c|0,d|0,e|0,f|0,g|0)}function GP(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;Zb[a&7](b|0,c|0,d|0,e|0,f|0,g|0,h|0)}function HP(a){a=a|0;E(0);return 0.0}function IP(a,b){a=a|0;b=b|0;E(1);return 0.0}function JP(){E(2);return 0}function KP(a){a=a|0;E(3);return 0}function LP(a,b,c,d,e,f){a=a|0;b=+b;c=c|0;d=d|0;e=e|0;f=f|0;E(4);return 0}function MP(a,b){a=a|0;b=b|0;E(5);return 0}function NP(a,b,c){a=a|0;b=b|0;c=c|0;E(6);return 0}function OP(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;E(7);return 0}function PP(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=+e;E(8);return 0}function QP(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;E(9);return 0}function RP(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=+f;E(10);return 0}function SP(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;E(11);return 0}function TP(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;E(12);return 0}function UP(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;E(13);return 0}function VP(){E(14)}function WP(a){a=a|0;E(15)}function XP(a,b){a=a|0;b=+b;E(16)}function YP(a,b){a=a|0;b=b|0;E(17)}function ZP(a,b,c){a=a|0;b=b|0;c=+c;E(18)}function _P(a,b,c){a=a|0;b=b|0;c=c|0;E(19)}function $P(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;E(20)}function aQ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;E(21)}function bQ(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;E(22)}function cQ(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;E(23)} // EMSCRIPTEN_END_FUNCS -var Bb=[yP,nr,qr,Ar];var Cb=[zP,qs];var Db=[AP,jr];var Eb=[BP,nj,ix,px,YA,LD,MD,OD,PD,_D,$D,bE,cE,_E,eF,jF,kF,pF,qF,LH,SH,TH,UH,VH,WH,XH,YH,tI,AI,BI,CI,DI,EI,FI,GI,oJ,pJ,uJ,zJ,AJ,FJ,KJ,LJ,QJ,VJ,WJ,$J,XK,YK,_K,nL,oL,qL,VL,WL,aM,bM,gL,hL,jL,wL,xL,zL,cx,Kt,DO,bx,Iq,Kq,Rq,Sq,_q,$q,ar,fr,gr,tr,vr,xr,Cr,Er,Gr,Bs,gu,iu,kw,rw,sw,tw,uw,Uw,BP,BP,BP,BP,BP,BP,BP,BP,BP,BP,BP,BP,BP,BP,BP,BP,BP,BP,BP,BP,BP,BP,BP,BP,BP,BP,BP,BP,BP,BP,BP,BP,BP,BP,BP,BP,BP];var Fb=[CP,Jx];var Gb=[DP,Zl,gq,nq,QD,SD,dE,fE,aF,gF,lF,rF,IL,KL,ML,lM,nM,pM,Je,$w,Lq,Nq,Oq,Pq,Vq,Yq,Zq,cr,dr,er,lt,Ms,Ht,hu,ju,ku,ou,pu,qu,ru,tu,uu,zu,Au,Bu,Cu,Du,mw,DP,DP,DP,DP,DP,DP,DP,DP,DP,DP,DP,DP,DP,DP,DP,DP];var Hb=[EP,jx,ox,dy,DA,dB,ID,ND,RD,XD,aE,eE,$E,fF,yF,FF,LK,QK,JL,LL,OL,hM,mM,oM,rM,gw,Gq,Uq,Wq,Xq,br,ft,Ws,Cw,Dw,Cz,EP,EP,EP,EP,EP,EP,EP,EP,EP,EP,EP,EP,EP,EP,EP,EP,EP,EP,EP,EP,EP,EP,EP,EP,EP,EP,EP,EP];var Ib=[FP,kx,qx,NL,iM,jM,kM,qM,ut,Ew,Fw,FP,FP,FP,FP,FP];var Jb=[GP,mH,nH,DH,EH,GP,GP,GP];var Kb=[HP,wF,DF,hH,iH,kH,oH,yH,zH,BH,FH,WK,ZK,mL,pL,PL,sM,fL,iL,vL,yL,Jw,Kw,HP,HP,HP,HP,HP,HP,HP,HP,HP];var Lb=[IP,zK,FK,IP];var Mb=[JP,KF,LF,MF,NF,OF,PF,QF,RF,SF,TF,UF,GG,HG,IG,JG,KG,LG,MG,NG,OG,PG,QG,jH,lH,AH,CH,MH,NH,OH,PH,QH,uI,vI,wI,xI,yI,AK,GK,Gw,Hw,JP,JP,JP,JP,JP,JP,JP,JP,JP,JP,JP,JP,JP,JP,JP,JP,JP,JP,JP,JP,JP,JP,JP];var Nb=[KP,cJ,iJ,eK,fK,pK,qK,KP];var Ob=[LP,RH,zI,UK,VK,kL,lL,dL,eL,tL,uL,LP,LP,LP,LP,LP];var Pb=[MP,uA];var Qb=[NP,Oi,Pi,Ri,Si,lj,mj,XN,Xl,Yl,_l,eq,fq,hq,lq,mq,oq,zA,AA,BA,CA,MA,WA,XA,bB,cB,eB,BD,DD,FD,GD,UD,VD,kE,lE,mE,nE,pE,qE,rE,sE,uE,vE,wE,xE,zE,AE,BE,CE,YE,cF,hF,nF,tF,uF,vF,BF,CF,IF,JF,EG,FG,fH,gH,wH,xH,JH,KH,rI,sI,aJ,bJ,gJ,hJ,mJ,nJ,xJ,yJ,IJ,JJ,TJ,UJ,cK,dK,nK,oK,xK,yK,DK,EK,JK,KK,OK,PK,AF,cL,TK,rL,sL,DL,EL,GL,HL,TL,UL,_L,$L,fM,gM,tM,uM,vM,ff,Yw,hr,Mt,Nt,Yv,Zv,Ov,Iv,yv,qv,Fu,xu,yu,mu,nu,du,eu,Rv,Uv,jw,nw,qw,Iw,Mw,Vw,Ww,Xw,dx,fx,hx,aG,cG,gK,EO,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP];var Rb=[OP,lr,pr,yr];var Sb=[PP,HD,WD,ZE,dF,iF,oF,qJ,rJ,sJ,tJ,vJ,wJ,BJ,CJ,DJ,EJ,GJ,HJ,MJ,NJ,OJ,PJ,RJ,SJ,XJ,YJ,ZJ,_J,aK,bK,NK,SK,XL,YL,ZL,cM,dM,eM,iw,rr,ur,wr,Br,Dr,Fr,Gs,Xv,Nv,mv,$t,lw,Lw,ex,gx,Kx,PP,PP,PP,PP,PP,PP,PP,PP];var Tb=[QP,vs,es,QP];var Ub=[RP,Sw,ls,RP];var Vb=[SP,GA,PA,hB,KD,ZD,xF,EF,Se,Kv,Mv,sv,tv,uv,vv,wv,au,bu,cu,Qv,Sv,Tv,$v,aw,bw,cw,dw,SP,SP,SP,SP,SP];var Wb=[TP,FA,OA,gB,zv,Av,Bv,Cv,Dv,Ev,Fv,Gv,Hv,kv,jv,iv,hv,gv,fv,ev,dv,cv,bv,av,$u,_u,Zu,Yu,Xu,Wu,Vu,Uu,Tu,Su,Ru,Qu,Pu,Ou,Nu,Mu,Lu,Ku,Ju,Iu,lv,Hu,Gu,TP,TP,TP,TP,TP,TP,TP,TP,TP,TP,TP,TP,TP,TP,TP,TP,TP];var Xb=[UP,EA,NA,fB,JD,YD,MK,RK];var Yb=[VP,Jv,Lv,rv,nv,ov,pv,VP];return{__GLOBAL__I_000101:QE,__GLOBAL__sub_I_ARToolKitJS_cpp:Bq,__GLOBAL__sub_I_bind_cpp:CB,__GLOBAL__sub_I_iostream_cpp:RE,__ZSt18uncaught_exceptionv:wD,___cxa_can_catch:uB,___cxa_is_pointer_type:vB,___embind_register_native_and_builtin_types:FB,___emscripten_environ_constructor:xB,___errno_location:mx,___getTypeName:rD,___muldi3:LO,___udivdi3:QO,__get_daylight:zB,__get_environ:BB,__get_timezone:AB,__get_tzname:yB,_bitshift64Lshr:RO,_bitshift64Shl:SO,_emscripten_get_sbrk_ptr:TO,_free:EO,_i64Add:MO,_i64Subtract:NO,_llvm_bswap_i32:UO,_malloc:DO,_memcpy:YO,_memmove:ZO,_memset:_O,_realloc:GO,_roundf:$O,_saveSetjmp:VO,_setThrew:XO,_testSetjmp:WO,dynCall_di:aP,dynCall_dii:bP,dynCall_i:cP,dynCall_ii:dP,dynCall_iidiiii:eP,dynCall_iii:fP,dynCall_iiii:gP,dynCall_iiiii:hP,dynCall_iiiiid:iP,dynCall_iiiiii:jP,dynCall_iiiiiid:kP,dynCall_iiiiiii:lP,dynCall_iiiiiiii:mP,dynCall_iiiiiiiii:nP,dynCall_v:oP,dynCall_vi:pP,dynCall_vid:qP,dynCall_vii:rP,dynCall_viid:sP,dynCall_viii:tP,dynCall_viiii:uP,dynCall_viiiii:vP,dynCall_viiiiii:wP,dynCall_viiiiiii:xP,establishStackSpace:ac,stackAlloc:Zb,stackRestore:$b,stackSave:_b}}) +var Cb=[HP,vr,yr,Ir];var Db=[IP,ys];var Eb=[JP,rr];var Fb=[KP,vj,rx,xx,fB,UD,VD,XD,YD,hE,iE,kE,lE,hF,nF,sF,tF,yF,zF,UH,$H,aI,bI,cI,dI,eI,fI,CI,JI,KI,LI,MI,NI,OI,PI,xJ,yJ,DJ,IJ,JJ,OJ,TJ,UJ,ZJ,cK,dK,iK,eL,fL,hL,wL,xL,zL,cM,dM,jM,kM,pL,qL,sL,FL,GL,IL,jx,px,MO,pv,Qq,Sq,Zq,_q,gr,hr,ir,nr,or,Br,Dr,Fr,Kr,Mr,Or,Js,yu,Au,Uu,Vu,Wu,Xu,Pu,Dv,KP,KP,KP,KP,KP,KP,KP,KP,KP,KP,KP,KP,KP,KP,KP,KP,KP,KP,KP,KP,KP,KP,KP,KP,KP,KP,KP,KP,KP,KP,KP,KP,KP,KP,KP,KP,KP];var Gb=[LP,jy];var Hb=[MP,fm,oq,vq,ZD,$D,mE,oE,jF,pF,uF,AF,RL,TL,VL,uM,wM,yM,Re,nv,Tq,Vq,Wq,Xq,br,er,fr,kr,lr,mr,ut,Vs,Qt,Xt,Wt,Zt,Yt,au,$t,zu,Bu,Cu,Fu,Gu,Hu,Iu,Ju,Fv,MP,MP,MP,MP,MP,MP,MP,MP,MP,MP,MP,MP,MP,MP,MP,MP];var Ib=[NP,sx,yx,Dy,MA,mB,RD,WD,_D,eE,jE,nE,iF,oF,HF,OF,UK,ZK,SL,UL,XL,qM,vM,xM,AM,qx,Oq,ar,cr,dr,jr,ot,dt,$u,av,aA,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP,NP];var Jb=[OP,tx,zx,WL,rM,sM,tM,zM,Dt,bv,cv,OP,OP,OP,OP,OP];var Kb=[PP,vH,wH,MH,NH,PP,PP,PP];var Lb=[QP,FF,MF,qH,rH,tH,xH,HH,IH,KH,OH,dL,gL,vL,yL,YL,BM,oL,rL,EL,HL,gv,hv,QP,QP,QP,QP,QP,QP,QP,QP,QP];var Mb=[RP,IK,OK,RP];var Nb=[SP,TF,UF,VF,WF,XF,YF,ZF,_F,$F,aG,bG,PG,QG,RG,SG,TG,UG,VG,WG,XG,YG,ZG,sH,uH,JH,LH,VH,WH,XH,YH,ZH,DI,EI,FI,GI,HI,JK,PK,dv,ev,SP,SP,SP,SP,SP,SP,SP,SP,SP,SP,SP,SP,SP,SP,SP,SP,SP,SP,SP,SP,SP,SP,SP];var Ob=[TP,lJ,rJ,nK,oK,yK,zK,TP];var Pb=[UP,_H,II,bL,cL,tL,uL,mL,nL,CL,DL,UP,UP,UP,UP,UP];var Qb=[VP,DA];var Rb=[WP,Wi,Xi,Zi,_i,tj,uj,eO,dm,em,gm,mq,nq,pq,tq,uq,wq,IA,JA,KA,LA,VA,dB,eB,kB,lB,nB,KD,MD,OD,PD,bE,cE,tE,uE,vE,wE,yE,zE,AE,BE,DE,EE,FE,GE,IE,JE,KE,LE,fF,lF,qF,wF,CF,DF,EF,KF,LF,RF,SF,NG,OG,oH,pH,FH,GH,SH,TH,AI,BI,jJ,kJ,pJ,qJ,vJ,wJ,GJ,HJ,RJ,SJ,aK,bK,lK,mK,wK,xK,GK,HK,MK,NK,SK,TK,XK,YK,JF,lL,aL,AL,BL,ML,NL,PL,QL,aM,bM,hM,iM,oM,pM,CM,DM,EM,of,kv,pr,Ut,Vt,Du,Eu,wu,xu,fv,jv,Tu,Qu,Ru,Su,rv,Cv,Gv,Jv,Kv,Bw,Hw,Pw,Qw,ax,Yw,dx,gx,kx,mx,ox,jG,lG,pK,NO,WP,WP,WP,WP,WP,WP,WP,WP,WP,WP,WP,WP,WP,WP,WP,WP,WP,WP,WP,WP,WP,WP,WP,WP,WP,WP,WP,WP,WP,WP,WP,WP,WP,WP,WP,WP,WP,WP,WP,WP,WP,WP,WP,WP,WP,WP,WP,WP,WP,WP,WP,WP,WP,WP,WP,WP,WP,WP,WP,WP,WP,WP,WP,WP,WP,WP,WP,WP,WP,WP,WP,WP,WP,WP,WP,WP,WP,WP,WP,WP,WP,WP,WP,WP,WP,WP,WP,WP,WP,WP,WP,WP,WP,WP,WP,WP,WP,WP,WP,WP,WP,WP,WP,WP,WP,WP,WP,WP,WP];var Sb=[XP,tr,xr,Gr];var Tb=[YP,QD,dE,gF,mF,rF,xF,zJ,AJ,BJ,CJ,EJ,FJ,KJ,LJ,MJ,NJ,PJ,QJ,VJ,WJ,XJ,YJ,_J,$J,eK,fK,gK,hK,jK,kK,WK,$K,eM,fM,gM,lM,mM,nM,Bv,zr,Cr,Er,Jr,Lr,Nr,Os,iv,Ev,Iv,Sv,$w,Uw,lx,nx,ky,YP,YP,YP,YP,YP,YP,YP,YP];var Ub=[ZP,Ds,ms,ZP];var Vb=[_P,Lu,ts,_P];var Wb=[$P,PA,YA,qB,TD,gE,GF,NF,_e,Mv,Nv,Pv,Ov,Qv,Dw,Fw,Jw,Kw,Lw,Mw,Nw,Vw,Ww,Xw,cx,fx,ex,$P,$P,$P,$P,$P];var Xb=[aQ,OA,XA,pB,sv,tv,uv,vv,wv,xv,yv,zv,Av,bw,aw,$v,_v,Zv,Yv,Xv,cw,dw,ew,fw,gw,hw,iw,jw,kw,lw,mw,nw,ow,pw,qw,rw,sw,tw,uw,vw,ww,xw,yw,zw,Wv,_w,Zw,aQ,aQ,aQ,aQ,aQ,aQ,aQ,aQ,aQ,aQ,aQ,aQ,aQ,aQ,aQ,aQ,aQ];var Yb=[bQ,NA,WA,oB,SD,fE,VK,_K];var Zb=[cQ,Tv,Uv,Vv,Cw,Ew,Iw,cQ];return{__GLOBAL__I_000101:ZE,__GLOBAL__sub_I_ARToolKitJS_cpp:Jq,__GLOBAL__sub_I_bind_cpp:LB,__GLOBAL__sub_I_iostream_cpp:_E,__ZSt18uncaught_exceptionv:FD,___cxa_can_catch:DB,___cxa_is_pointer_type:EB,___embind_register_native_and_builtin_types:OB,___emscripten_environ_constructor:GB,___errno_location:vx,___getTypeName:AD,___muldi3:UO,___udivdi3:ZO,__get_daylight:IB,__get_environ:KB,__get_timezone:JB,__get_tzname:HB,_bitshift64Lshr:_O,_bitshift64Shl:$O,_emscripten_get_sbrk_ptr:aP,_free:NO,_i64Add:VO,_i64Subtract:WO,_llvm_bswap_i32:bP,_malloc:MO,_memcpy:fP,_memmove:gP,_memset:hP,_realloc:PO,_roundf:iP,_saveSetjmp:cP,_setThrew:eP,_testSetjmp:dP,dynCall_di:jP,dynCall_dii:kP,dynCall_i:lP,dynCall_ii:mP,dynCall_iidiiii:nP,dynCall_iii:oP,dynCall_iiii:pP,dynCall_iiiii:qP,dynCall_iiiiid:rP,dynCall_iiiiii:sP,dynCall_iiiiiid:tP,dynCall_iiiiiii:uP,dynCall_iiiiiiii:vP,dynCall_iiiiiiiii:wP,dynCall_v:xP,dynCall_vi:yP,dynCall_vid:zP,dynCall_vii:AP,dynCall_viid:BP,dynCall_viii:CP,dynCall_viiii:DP,dynCall_viiiii:EP,dynCall_viiiiii:FP,dynCall_viiiiiii:GP,establishStackSpace:bc,stackAlloc:_b,stackRestore:ac,stackSave:$b}}) // EMSCRIPTEN_END_ASM diff --git a/build/artoolkit_wasm.js b/build/artoolkit_wasm.js index 1f327d2d..6b61e35c 100644 --- a/build/artoolkit_wasm.js +++ b/build/artoolkit_wasm.js @@ -1 +1 @@ -var Module=typeof Module!=="undefined"?Module:{};(function(){"use strict";var scope;if(typeof window!=="undefined"){scope=window}else{scope=self}if(scope.artoolkit_wasm_url){var downloadWasm=function(url){return new Promise(function(resolve,reject){var wasmXHR=new XMLHttpRequest;wasmXHR.open("GET",url,true);wasmXHR.responseType="arraybuffer";wasmXHR.onload=function(){resolve(wasmXHR.response)};wasmXHR.onerror=function(){reject("error "+wasmXHR.status)};wasmXHR.send(null)})};var wasm=downloadWasm(scope.artoolkit_wasm_url);Module.instantiateWasm=function(imports,successCallback){console.log("instantiateWasm: instantiating synchronously");wasm.then(function(wasmBinary){console.log("wasm download finished, begin instantiating");var wasmInstantiate=WebAssembly.instantiate(new Uint8Array(wasmBinary),imports).then(function(output){console.log("wasm instantiation succeeded");successCallback(output.instance)}).catch(function(e){console.log("wasm instantiation failed! "+e)})});return{}}}var ARController=function(width,height,cameraPara){this.id=undefined;var w=width,h=height;this.orientation="landscape";this.listeners={};if(typeof width!=="number"){var image=width;cameraPara=height;w=image.videoWidth||image.width;h=image.videoHeight||image.height;this.image=image}this.width=w;this.height=h;this.nftMarkerCount=0;this.defaultMarkerWidth=1;this.patternMarkers={};this.barcodeMarkers={};this.nftMarkers={};this.transform_mat=new Float32Array(16);this.transformGL_RH=new Float64Array(16);if(typeof document!=="undefined"){this.canvas=document.createElement("canvas");this.canvas.width=w;this.canvas.height=h;this.ctx=this.canvas.getContext("2d")}this.videoWidth=w;this.videoHeight=h;this.videoSize=this.videoWidth*this.videoHeight;this.framepointer=null;this.framesize=null;this.dataHeap=null;this.videoLuma=null;this.camera_mat=null;this.marker_transform_mat=null;this.videoLumaPointer=null;this._bwpointer=undefined;this._lumaCtx=undefined;if(typeof cameraPara==="string"){this.cameraParam=new ARCameraParam(cameraPara,function(){this._initialize()}.bind(this),function(err){console.error("ARController: Failed to load ARCameraParam",err);this.onload(err)}.bind(this))}else{this.cameraParam=cameraPara;this._initialize()}};ARController.prototype.dispose=function(){if(this.id>-1){artoolkit.teardown(this.id)}if(this.image&&this.image.srcObject){ARController._teardownVideo(this.image)}for(var t in this){this[t]=null}};ARController.prototype.process=function(image){var result=this.detectMarker(image);if(result!=0){console.error("detectMarker error: "+result)}var markerNum=this.getMarkerNum();var k,o;for(k in this.patternMarkers){o=this.patternMarkers[k];o.inPrevious=o.inCurrent;o.inCurrent=false}for(k in this.barcodeMarkers){o=this.barcodeMarkers[k];o.inPrevious=o.inCurrent;o.inCurrent=false}for(k in this.nftMarkers){o=this.nftMarkers[k];o.inPrevious=o.inCurrent;o.inCurrent=false}for(var i=0;i-1&&(markerInfo.id===markerInfo.idPatt||markerInfo.idMatrix===-1)){visible=this.trackPatternMarkerId(markerInfo.idPatt);markerType=artoolkit.PATTERN_MARKER;if(markerInfo.dir!==markerInfo.dirPatt){this.setMarkerInfoDir(i,markerInfo.dirPatt)}}else if(markerInfo.idMatrix>-1){visible=this.trackBarcodeMarkerId(markerInfo.idMatrix);markerType=artoolkit.BARCODE_MARKER;if(markerInfo.dir!==markerInfo.dirMatrix){this.setMarkerInfoDir(i,markerInfo.dirMatrix)}}if(markerType!==artoolkit.UNKNOWN_MARKER&&visible.inPrevious){this.getTransMatSquareCont(i,visible.markerWidth,visible.matrix,visible.matrix)}else{this.getTransMatSquare(i,visible.markerWidth,visible.matrix)}visible.inCurrent=true;this.transMatToGLMat(visible.matrix,this.transform_mat);this.transformGL_RH=this.arglCameraViewRHf(this.transform_mat);this.dispatchEvent({name:"getMarker",target:this,data:{index:i,type:markerType,marker:markerInfo,matrix:this.transform_mat,matrixGL_RH:this.transformGL_RH}})}var nftMarkerCount=this.nftMarkerCount;this.detectNFTMarker();var MARKER_LOST_TIME=200;for(var i=0;i=0){visible=true;this.dispatchEvent({name:"getMultiMarker",target:this,data:{multiMarkerId:i,matrix:this.transform_mat,matrixGL_RH:this.transformGL_RH}});break}}if(visible){for(var j=0;j-1){this.listeners[name].splice(index,1)}}};ARController.prototype.dispatchEvent=function(event){var listeners=this.listeners[event.name];if(listeners){for(var i=0;i>3;q+=4}}if(this.dataHeap){this.dataHeap.set(data);return true}return false};ARController.prototype._debugMarker=function(marker){var vertex,pos;vertex=marker.vertex;var ctx=this.ctx;ctx.strokeStyle="red";ctx.beginPath();ctx.moveTo(vertex[0][0],vertex[0][1]);ctx.lineTo(vertex[1][0],vertex[1][1]);ctx.stroke();ctx.beginPath();ctx.moveTo(vertex[2][0],vertex[2][1]);ctx.lineTo(vertex[3][0],vertex[3][1]);ctx.stroke();ctx.strokeStyle="green";ctx.beginPath();ctx.lineTo(vertex[1][0],vertex[1][1]);ctx.lineTo(vertex[2][0],vertex[2][1]);ctx.stroke();ctx.beginPath();ctx.moveTo(vertex[3][0],vertex[3][1]);ctx.lineTo(vertex[0][0],vertex[0][1]);ctx.stroke();pos=marker.pos;ctx.beginPath();ctx.arc(pos[0],pos[1],8,0,Math.PI*2);ctx.fillStyle="red";ctx.fill()};ARController.getUserMedia=function(configuration){var facing=configuration.facingMode||"environment";var onSuccess=configuration.onSuccess;var onError=configuration.onError||function(err){console.error("ARController.getUserMedia",err)};var video=document.createElement("video");var readyToPlay=false;var eventNames=["touchstart","touchend","touchmove","touchcancel","click","mousedown","mouseup","mousemove","keydown","keyup","keypress","scroll"];var play=function(){if(readyToPlay){video.play().then(function(){onSuccess(video)}).catch(function(error){onError(error);ARController._teardownVideo(video)});if(!video.paused){eventNames.forEach(function(eventName){window.removeEventListener(eventName,play,true)})}}};eventNames.forEach(function(eventName){window.addEventListener(eventName,play,true)});var success=function(stream){if(window.URL.createObjectURL){try{video.srcObject=stream}catch(ex){}}video.srcObject=stream;readyToPlay=true;video.autoplay=true;video.playsInline=true;play()};var constraints={};var mediaDevicesConstraints={};if(configuration.width){mediaDevicesConstraints.width=configuration.width;if(typeof configuration.width==="object"){if(configuration.width.max){constraints.maxWidth=configuration.width.max}if(configuration.width.min){constraints.minWidth=configuration.width.min}}else{constraints.maxWidth=configuration.width}}if(configuration.height){mediaDevicesConstraints.height=configuration.height;if(typeof configuration.height==="object"){if(configuration.height.max){constraints.maxHeight=configuration.height.max}if(configuration.height.min){constraints.minHeight=configuration.height.min}}else{constraints.maxHeight=configuration.height}}mediaDevicesConstraints.facingMode=facing;mediaDevicesConstraints.deviceId=configuration.deviceId;navigator.getUserMedia=navigator.getUserMedia||navigator.webkitGetUserMedia||navigator.mozGetUserMedia||navigator.msGetUserMedia;var hdConstraints={audio:false,video:constraints};if(navigator.mediaDevices||window.MediaStreamTrack.getSources){if(navigator.mediaDevices){navigator.mediaDevices.getUserMedia({audio:false,video:mediaDevicesConstraints}).then(success,onError)}else{window.MediaStreamTrack.getSources(function(sources){var facingDir=mediaDevicesConstraints.facingMode;if(facing&&facing.exact){facingDir=facing.exact}for(var i=0;i-1){writeStringToFS(filename,url,writeCallback)}else{ajax(url,filename,writeCallback,errorCallback)}}function writeStringToFS(target,string,callback){var byteArray=new Uint8Array(string.length);for(var i=0;i1){thisProgram=process["argv"][1].replace(/\\/g,"/")}arguments_=process["argv"].slice(2);if(typeof module!=="undefined"){module["exports"]=Module}process["on"]("uncaughtException",function(ex){if(!(ex instanceof ExitStatus)){throw ex}});process["on"]("unhandledRejection",abort);quit_=function(status){process["exit"](status)};Module["inspect"]=function(){return"[Emscripten Module object]"}}else if(ENVIRONMENT_IS_SHELL){if(typeof read!="undefined"){read_=function shell_read(f){return read(f)}}readBinary=function readBinary(f){var data;if(typeof readbuffer==="function"){return new Uint8Array(readbuffer(f))}data=read(f,"binary");assert(typeof data==="object");return data};if(typeof scriptArgs!="undefined"){arguments_=scriptArgs}else if(typeof arguments!="undefined"){arguments_=arguments}if(typeof quit==="function"){quit_=function(status){quit(status)}}if(typeof print!=="undefined"){if(typeof console==="undefined")console={};console.log=print;console.warn=console.error=typeof printErr!=="undefined"?printErr:print}}else if(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER){if(ENVIRONMENT_IS_WORKER){scriptDirectory=self.location.href}else if(document.currentScript){scriptDirectory=document.currentScript.src}if(scriptDirectory.indexOf("blob:")!==0){scriptDirectory=scriptDirectory.substr(0,scriptDirectory.lastIndexOf("/")+1)}else{scriptDirectory=""}{read_=function shell_read(url){var xhr=new XMLHttpRequest;xhr.open("GET",url,false);xhr.send(null);return xhr.responseText};if(ENVIRONMENT_IS_WORKER){readBinary=function readBinary(url){var xhr=new XMLHttpRequest;xhr.open("GET",url,false);xhr.responseType="arraybuffer";xhr.send(null);return new Uint8Array(xhr.response)}}readAsync=function readAsync(url,onload,onerror){var xhr=new XMLHttpRequest;xhr.open("GET",url,true);xhr.responseType="arraybuffer";xhr.onload=function xhr_onload(){if(xhr.status==200||xhr.status==0&&xhr.response){onload(xhr.response);return}onerror()};xhr.onerror=onerror;xhr.send(null)}}setWindowTitle=function(title){document.title=title}}else{}var out=Module["print"]||console.log.bind(console);var err=Module["printErr"]||console.warn.bind(console);for(key in moduleOverrides){if(moduleOverrides.hasOwnProperty(key)){Module[key]=moduleOverrides[key]}}moduleOverrides=null;if(Module["arguments"])arguments_=Module["arguments"];if(Module["thisProgram"])thisProgram=Module["thisProgram"];if(Module["quit"])quit_=Module["quit"];function dynamicAlloc(size){var ret=HEAP32[DYNAMICTOP_PTR>>2];var end=ret+size+15&-16;if(end>_emscripten_get_heap_size()){abort()}HEAP32[DYNAMICTOP_PTR>>2]=end;return ret}function getNativeTypeSize(type){switch(type){case"i1":case"i8":return 1;case"i16":return 2;case"i32":return 4;case"i64":return 8;case"float":return 4;case"double":return 8;default:{if(type[type.length-1]==="*"){return 4}else if(type[0]==="i"){var bits=parseInt(type.substr(1));assert(bits%8===0,"getNativeTypeSize invalid bits "+bits+", type "+type);return bits/8}else{return 0}}}}var asm2wasmImports={"f64-rem":function(x,y){return x%y},"debugger":function(){}};var functionPointers=new Array(0);var tempRet0=0;var setTempRet0=function(value){tempRet0=value};var getTempRet0=function(){return tempRet0};var wasmBinary;if(Module["wasmBinary"])wasmBinary=Module["wasmBinary"];var noExitRuntime;if(Module["noExitRuntime"])noExitRuntime=Module["noExitRuntime"];if(typeof WebAssembly!=="object"){err("no native wasm support detected")}function setValue(ptr,value,type,noSafe){type=type||"i8";if(type.charAt(type.length-1)==="*")type="i32";switch(type){case"i1":HEAP8[ptr>>0]=value;break;case"i8":HEAP8[ptr>>0]=value;break;case"i16":HEAP16[ptr>>1]=value;break;case"i32":HEAP32[ptr>>2]=value;break;case"i64":tempI64=[value>>>0,(tempDouble=value,+Math_abs(tempDouble)>=1?tempDouble>0?(Math_min(+Math_floor(tempDouble/4294967296),4294967295)|0)>>>0:~~+Math_ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[ptr>>2]=tempI64[0],HEAP32[ptr+4>>2]=tempI64[1];break;case"float":HEAPF32[ptr>>2]=value;break;case"double":HEAPF64[ptr>>3]=value;break;default:abort("invalid type for setValue: "+type)}}var wasmMemory;var wasmTable=new WebAssembly.Table({"initial":878,"maximum":878,"element":"anyfunc"});var ABORT=false;var EXITSTATUS=0;function assert(condition,text){if(!condition){abort("Assertion failed: "+text)}}var ALLOC_NORMAL=0;var ALLOC_NONE=3;function allocate(slab,types,allocator,ptr){var zeroinit,size;if(typeof slab==="number"){zeroinit=true;size=slab}else{zeroinit=false;size=slab.length}var singleType=typeof types==="string"?types:null;var ret;if(allocator==ALLOC_NONE){ret=ptr}else{ret=[_malloc,stackAlloc,dynamicAlloc][allocator](Math.max(size,singleType?1:types.length))}if(zeroinit){var stop;ptr=ret;assert((ret&3)==0);stop=ret+(size&~3);for(;ptr>2]=0}stop=ret+size;while(ptr>0]=0}return ret}if(singleType==="i8"){if(slab.subarray||slab.slice){HEAPU8.set(slab,ret)}else{HEAPU8.set(new Uint8Array(slab),ret)}return ret}var i=0,type,typeSize,previousType;while(i=endIdx))++endPtr;if(endPtr-idx>16&&u8Array.subarray&&UTF8Decoder){return UTF8Decoder.decode(u8Array.subarray(idx,endPtr))}else{var str="";while(idx>10,56320|ch&1023)}}}return str}function UTF8ToString(ptr,maxBytesToRead){return ptr?UTF8ArrayToString(HEAPU8,ptr,maxBytesToRead):""}function stringToUTF8Array(str,outU8Array,outIdx,maxBytesToWrite){if(!(maxBytesToWrite>0))return 0;var startIdx=outIdx;var endIdx=outIdx+maxBytesToWrite-1;for(var i=0;i=55296&&u<=57343){var u1=str.charCodeAt(++i);u=65536+((u&1023)<<10)|u1&1023}if(u<=127){if(outIdx>=endIdx)break;outU8Array[outIdx++]=u}else if(u<=2047){if(outIdx+1>=endIdx)break;outU8Array[outIdx++]=192|u>>6;outU8Array[outIdx++]=128|u&63}else if(u<=65535){if(outIdx+2>=endIdx)break;outU8Array[outIdx++]=224|u>>12;outU8Array[outIdx++]=128|u>>6&63;outU8Array[outIdx++]=128|u&63}else{if(outIdx+3>=endIdx)break;outU8Array[outIdx++]=240|u>>18;outU8Array[outIdx++]=128|u>>12&63;outU8Array[outIdx++]=128|u>>6&63;outU8Array[outIdx++]=128|u&63}}outU8Array[outIdx]=0;return outIdx-startIdx}function stringToUTF8(str,outPtr,maxBytesToWrite){return stringToUTF8Array(str,HEAPU8,outPtr,maxBytesToWrite)}function lengthBytesUTF8(str){var len=0;for(var i=0;i=55296&&u<=57343)u=65536+((u&1023)<<10)|str.charCodeAt(++i)&1023;if(u<=127)++len;else if(u<=2047)len+=2;else if(u<=65535)len+=3;else len+=4}return len}var UTF16Decoder=typeof TextDecoder!=="undefined"?new TextDecoder("utf-16le"):undefined;function allocateUTF8(str){var size=lengthBytesUTF8(str)+1;var ret=_malloc(size);if(ret)stringToUTF8Array(str,HEAP8,ret,size);return ret}function writeArrayToMemory(array,buffer){HEAP8.set(array,buffer)}function writeAsciiToMemory(str,buffer,dontAddNull){for(var i=0;i>0]=str.charCodeAt(i)}if(!dontAddNull)HEAP8[buffer>>0]=0}var WASM_PAGE_SIZE=65536;var buffer,HEAP8,HEAPU8,HEAP16,HEAPU16,HEAP32,HEAPU32,HEAPF32,HEAPF64;function updateGlobalBufferAndViews(buf){buffer=buf;Module["HEAP8"]=HEAP8=new Int8Array(buf);Module["HEAP16"]=HEAP16=new Int16Array(buf);Module["HEAP32"]=HEAP32=new Int32Array(buf);Module["HEAPU8"]=HEAPU8=new Uint8Array(buf);Module["HEAPU16"]=HEAPU16=new Uint16Array(buf);Module["HEAPU32"]=HEAPU32=new Uint32Array(buf);Module["HEAPF32"]=HEAPF32=new Float32Array(buf);Module["HEAPF64"]=HEAPF64=new Float64Array(buf)}var DYNAMIC_BASE=5303200,DYNAMICTOP_PTR=60128;var INITIAL_TOTAL_MEMORY=Module["TOTAL_MEMORY"]||268435456;if(Module["wasmMemory"]){wasmMemory=Module["wasmMemory"]}else{wasmMemory=new WebAssembly.Memory({"initial":INITIAL_TOTAL_MEMORY/WASM_PAGE_SIZE,"maximum":INITIAL_TOTAL_MEMORY/WASM_PAGE_SIZE})}if(wasmMemory){buffer=wasmMemory.buffer}INITIAL_TOTAL_MEMORY=buffer.byteLength;updateGlobalBufferAndViews(buffer);HEAP32[DYNAMICTOP_PTR>>2]=DYNAMIC_BASE;function callRuntimeCallbacks(callbacks){while(callbacks.length>0){var callback=callbacks.shift();if(typeof callback=="function"){callback();continue}var func=callback.func;if(typeof func==="number"){if(callback.arg===undefined){Module["dynCall_v"](func)}else{Module["dynCall_vi"](func,callback.arg)}}else{func(callback.arg===undefined?null:callback.arg)}}}var __ATPRERUN__=[];var __ATINIT__=[];var __ATMAIN__=[];var __ATPOSTRUN__=[];var runtimeInitialized=false;var runtimeExited=false;function preRun(){if(Module["preRun"]){if(typeof Module["preRun"]=="function")Module["preRun"]=[Module["preRun"]];while(Module["preRun"].length){addOnPreRun(Module["preRun"].shift())}}callRuntimeCallbacks(__ATPRERUN__)}function initRuntime(){runtimeInitialized=true;if(!Module["noFSInit"]&&!FS.init.initialized)FS.init();TTY.init();callRuntimeCallbacks(__ATINIT__)}function preMain(){FS.ignorePermissions=false;callRuntimeCallbacks(__ATMAIN__)}function exitRuntime(){runtimeExited=true}function postRun(){if(Module["postRun"]){if(typeof Module["postRun"]=="function")Module["postRun"]=[Module["postRun"]];while(Module["postRun"].length){addOnPostRun(Module["postRun"].shift())}}callRuntimeCallbacks(__ATPOSTRUN__)}function addOnPreRun(cb){__ATPRERUN__.unshift(cb)}function addOnPostRun(cb){__ATPOSTRUN__.unshift(cb)}var Math_abs=Math.abs;var Math_ceil=Math.ceil;var Math_floor=Math.floor;var Math_min=Math.min;var runDependencies=0;var runDependencyWatcher=null;var dependenciesFulfilled=null;function getUniqueRunDependency(id){return id}function addRunDependency(id){runDependencies++;if(Module["monitorRunDependencies"]){Module["monitorRunDependencies"](runDependencies)}}function removeRunDependency(id){runDependencies--;if(Module["monitorRunDependencies"]){Module["monitorRunDependencies"](runDependencies)}if(runDependencies==0){if(runDependencyWatcher!==null){clearInterval(runDependencyWatcher);runDependencyWatcher=null}if(dependenciesFulfilled){var callback=dependenciesFulfilled;dependenciesFulfilled=null;callback()}}}Module["preloadedImages"]={};Module["preloadedAudios"]={};function abort(what){if(Module["onAbort"]){Module["onAbort"](what)}what+="";out(what);err(what);ABORT=true;EXITSTATUS=1;what="abort("+what+"). Build with -s ASSERTIONS=1 for more info.";throw new WebAssembly.RuntimeError(what)}var dataURIPrefix="data:application/octet-stream;base64,";function isDataURI(filename){return String.prototype.startsWith?filename.startsWith(dataURIPrefix):filename.indexOf(dataURIPrefix)===0}var wasmBinaryFile="artoolkit_wasm.wasm";if(!isDataURI(wasmBinaryFile)){wasmBinaryFile=locateFile(wasmBinaryFile)}function getBinary(){try{if(wasmBinary){return new Uint8Array(wasmBinary)}if(readBinary){return readBinary(wasmBinaryFile)}else{throw"both async and sync fetching of the wasm failed"}}catch(err){abort(err)}}function getBinaryPromise(){if(!wasmBinary&&(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER)&&typeof fetch==="function"){return fetch(wasmBinaryFile,{credentials:"same-origin"}).then(function(response){if(!response["ok"]){throw"failed to load wasm binary file at '"+wasmBinaryFile+"'"}return response["arrayBuffer"]()}).catch(function(){return getBinary()})}return new Promise(function(resolve,reject){resolve(getBinary())})}function createWasm(){var info={"env":asmLibraryArg,"wasi_unstable":asmLibraryArg,"global":{"NaN":NaN,Infinity:Infinity},"global.Math":Math,"asm2wasm":asm2wasmImports};function receiveInstance(instance,module){var exports=instance.exports;Module["asm"]=exports;removeRunDependency("wasm-instantiate")}addRunDependency("wasm-instantiate");function receiveInstantiatedSource(output){receiveInstance(output["instance"])}function instantiateArrayBuffer(receiver){return getBinaryPromise().then(function(binary){return WebAssembly.instantiate(binary,info)}).then(receiver,function(reason){err("failed to asynchronously prepare wasm: "+reason);abort(reason)})}function instantiateAsync(){if(!wasmBinary&&typeof WebAssembly.instantiateStreaming==="function"&&!isDataURI(wasmBinaryFile)&&typeof fetch==="function"){fetch(wasmBinaryFile,{credentials:"same-origin"}).then(function(response){var result=WebAssembly.instantiateStreaming(response,info);return result.then(receiveInstantiatedSource,function(reason){err("wasm streaming compile failed: "+reason);err("falling back to ArrayBuffer instantiation");instantiateArrayBuffer(receiveInstantiatedSource)})})}else{return instantiateArrayBuffer(receiveInstantiatedSource)}}if(Module["instantiateWasm"]){try{var exports=Module["instantiateWasm"](info,receiveInstance);return exports}catch(e){err("Module.instantiateWasm callback failed with error: "+e);return false}}instantiateAsync();return{}}Module["asm"]=createWasm;var tempDouble;var tempI64;var ASM_CONSTS=[function($0,$1,$2,$3,$4,$5){if(!artoolkit["frameMalloc"]){artoolkit["frameMalloc"]={}}var frameMalloc=artoolkit["frameMalloc"];frameMalloc["framepointer"]=$1;frameMalloc["framesize"]=$2;frameMalloc["camera"]=$3;frameMalloc["transform"]=$4;frameMalloc["videoLumaPointer"]=$5},function($0,$1,$2,$3){if(!artoolkit["multiEachMarkerInfo"]){artoolkit["multiEachMarkerInfo"]={}}var multiEachMarker=artoolkit["multiEachMarkerInfo"];multiEachMarker["visible"]=$0;multiEachMarker["pattId"]=$1;multiEachMarker["pattType"]=$2;multiEachMarker["width"]=$3},function($0,$1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12,$13,$14,$15,$16,$17,$18,$19,$20,$21,$22,$23,$24,$25,$26,$27,$28,$29,$30,$31,$32){var $a=arguments;var i=12;if(!artoolkit["markerInfo"]){artoolkit["markerInfo"]={pos:[0,0],line:[[0,0,0],[0,0,0],[0,0,0],[0,0,0]],vertex:[[0,0],[0,0],[0,0],[0,0]]}}var markerInfo=artoolkit["markerInfo"];markerInfo["area"]=$0;markerInfo["id"]=$1;markerInfo["idPatt"]=$2;markerInfo["idMatrix"]=$3;markerInfo["dir"]=$4;markerInfo["dirPatt"]=$5;markerInfo["dirMatrix"]=$6;markerInfo["cf"]=$7;markerInfo["cfPatt"]=$8;markerInfo["cfMatrix"]=$9;markerInfo["pos"][0]=$10;markerInfo["pos"][1]=$11;markerInfo["line"][0][0]=$a[i++];markerInfo["line"][0][1]=$a[i++];markerInfo["line"][0][2]=$a[i++];markerInfo["line"][1][0]=$a[i++];markerInfo["line"][1][1]=$a[i++];markerInfo["line"][1][2]=$a[i++];markerInfo["line"][2][0]=$a[i++];markerInfo["line"][2][1]=$a[i++];markerInfo["line"][2][2]=$a[i++];markerInfo["line"][3][0]=$a[i++];markerInfo["line"][3][1]=$a[i++];markerInfo["line"][3][2]=$a[i++];markerInfo["vertex"][0][0]=$a[i++];markerInfo["vertex"][0][1]=$a[i++];markerInfo["vertex"][1][0]=$a[i++];markerInfo["vertex"][1][1]=$a[i++];markerInfo["vertex"][2][0]=$a[i++];markerInfo["vertex"][2][1]=$a[i++];markerInfo["vertex"][3][0]=$a[i++];markerInfo["vertex"][3][1]=$a[i++];markerInfo["errorCorrected"]=$a[i++]},function($0,$1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12,$13){var $a=arguments;var i=0;if(!artoolkit["NFTMarkerInfo"]){artoolkit["NFTMarkerInfo"]={id:0,error:-1,found:0,pose:[0,0,0,0,0,0,0,0,0,0,0,0]}}var markerInfo=artoolkit["NFTMarkerInfo"];markerInfo["id"]=$a[i++];markerInfo["error"]=$a[i++];markerInfo["found"]=1;markerInfo["pose"][0]=$a[i++];markerInfo["pose"][1]=$a[i++];markerInfo["pose"][2]=$a[i++];markerInfo["pose"][3]=$a[i++];markerInfo["pose"][4]=$a[i++];markerInfo["pose"][5]=$a[i++];markerInfo["pose"][6]=$a[i++];markerInfo["pose"][7]=$a[i++];markerInfo["pose"][8]=$a[i++];markerInfo["pose"][9]=$a[i++];markerInfo["pose"][10]=$a[i++];markerInfo["pose"][11]=$a[i++]},function($0){var $a=arguments;var i=0;if(!artoolkit["NFTMarkerInfo"]){artoolkit["NFTMarkerInfo"]={id:0,error:-1,found:0,pose:[0,0,0,0,0,0,0,0,0,0,0,0]}}var markerInfo=artoolkit["NFTMarkerInfo"];markerInfo["id"]=$a[i++];markerInfo["error"]=-1;markerInfo["found"]=0;markerInfo["pose"][0]=0;markerInfo["pose"][1]=0;markerInfo["pose"][2]=0;markerInfo["pose"][3]=0;markerInfo["pose"][4]=0;markerInfo["pose"][5]=0;markerInfo["pose"][6]=0;markerInfo["pose"][7]=0;markerInfo["pose"][8]=0;markerInfo["pose"][9]=0;markerInfo["pose"][10]=0;markerInfo["pose"][11]=0}];function _emscripten_asm_const_iiiiiii(code,a0,a1,a2,a3,a4,a5){return ASM_CONSTS[code](a0,a1,a2,a3,a4,a5)}function _emscripten_asm_const_iiiid(code,a0,a1,a2,a3){return ASM_CONSTS[code](a0,a1,a2,a3)}function _emscripten_asm_const_iiddddddddddddd(code,a0,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13){return ASM_CONSTS[code](a0,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13)}function _emscripten_asm_const_ii(code,a0){return ASM_CONSTS[code](a0)}function _emscripten_asm_const_iiiiiiiidddddddddddddddddddddddddi(code,a0,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21,a22,a23,a24,a25,a26,a27,a28,a29,a30,a31,a32){return ASM_CONSTS[code](a0,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21,a22,a23,a24,a25,a26,a27,a28,a29,a30,a31,a32)}__ATINIT__.push({func:function(){__GLOBAL__sub_I_ARToolKitJS_cpp()}},{func:function(){___emscripten_environ_constructor()}},{func:function(){__GLOBAL__sub_I_bind_cpp()}},{func:function(){__GLOBAL__sub_I_iostream_cpp()}});function demangle(func){return func}function demangleAll(text){var regex=/\b__Z[\w\d_]+/g;return text.replace(regex,function(x){var y=demangle(x);return x===y?x:y+" ["+x+"]"})}function jsStackTrace(){var err=new Error;if(!err.stack){try{throw new Error(0)}catch(e){err=e}if(!err.stack){return"(no stack trace available)"}}return err.stack.toString()}function stackTrace(){var js=jsStackTrace();if(Module["extraStackTrace"])js+="\n"+Module["extraStackTrace"]();return demangleAll(js)}var ENV={};function ___buildEnvironment(environ){var MAX_ENV_VALUES=64;var TOTAL_ENV_SIZE=1024;var poolPtr;var envPtr;if(!___buildEnvironment.called){___buildEnvironment.called=true;ENV["USER"]="web_user";ENV["LOGNAME"]="web_user";ENV["PATH"]="/";ENV["PWD"]="/";ENV["HOME"]="/home/web_user";ENV["LANG"]=(typeof navigator==="object"&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8";ENV["_"]=thisProgram;poolPtr=getMemory(TOTAL_ENV_SIZE);envPtr=getMemory(MAX_ENV_VALUES*4);HEAP32[envPtr>>2]=poolPtr;HEAP32[environ>>2]=envPtr}else{envPtr=HEAP32[environ>>2];poolPtr=HEAP32[envPtr>>2]}var strings=[];var totalSize=0;for(var key in ENV){if(typeof ENV[key]==="string"){var line=key+"="+ENV[key];strings.push(line);totalSize+=line.length}}if(totalSize>TOTAL_ENV_SIZE){throw new Error("Environment size exceeded TOTAL_ENV_SIZE!")}var ptrSize=4;for(var i=0;i>2]=poolPtr;poolPtr+=line.length+1}HEAP32[envPtr+strings.length*ptrSize>>2]=0}function ___cxa_allocate_exception(size){return _malloc(size)}var ___exception_infos={};var ___exception_last=0;function ___cxa_throw(ptr,type,destructor){___exception_infos[ptr]={ptr:ptr,adjusted:[ptr],type:type,destructor:destructor,refcount:0,caught:false,rethrown:false};___exception_last=ptr;if(!("uncaught_exception"in __ZSt18uncaught_exceptionv)){__ZSt18uncaught_exceptionv.uncaught_exceptions=1}else{__ZSt18uncaught_exceptionv.uncaught_exceptions++}throw ptr}function ___lock(){}function ___setErrNo(value){if(Module["___errno_location"])HEAP32[Module["___errno_location"]()>>2]=value;return value}function ___map_file(pathname,size){___setErrNo(63);return-1}var PATH={splitPath:function(filename){var splitPathRe=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/;return splitPathRe.exec(filename).slice(1)},normalizeArray:function(parts,allowAboveRoot){var up=0;for(var i=parts.length-1;i>=0;i--){var last=parts[i];if(last==="."){parts.splice(i,1)}else if(last===".."){parts.splice(i,1);up++}else if(up){parts.splice(i,1);up--}}if(allowAboveRoot){for(;up;up--){parts.unshift("..")}}return parts},normalize:function(path){var isAbsolute=path.charAt(0)==="/",trailingSlash=path.substr(-1)==="/";path=PATH.normalizeArray(path.split("/").filter(function(p){return!!p}),!isAbsolute).join("/");if(!path&&!isAbsolute){path="."}if(path&&trailingSlash){path+="/"}return(isAbsolute?"/":"")+path},dirname:function(path){var result=PATH.splitPath(path),root=result[0],dir=result[1];if(!root&&!dir){return"."}if(dir){dir=dir.substr(0,dir.length-1)}return root+dir},basename:function(path){if(path==="/")return"/";var lastSlash=path.lastIndexOf("/");if(lastSlash===-1)return path;return path.substr(lastSlash+1)},extname:function(path){return PATH.splitPath(path)[3]},join:function(){var paths=Array.prototype.slice.call(arguments,0);return PATH.normalize(paths.join("/"))},join2:function(l,r){return PATH.normalize(l+"/"+r)}};var PATH_FS={resolve:function(){var resolvedPath="",resolvedAbsolute=false;for(var i=arguments.length-1;i>=-1&&!resolvedAbsolute;i--){var path=i>=0?arguments[i]:FS.cwd();if(typeof path!=="string"){throw new TypeError("Arguments to path.resolve must be strings")}else if(!path){return""}resolvedPath=path+"/"+resolvedPath;resolvedAbsolute=path.charAt(0)==="/"}resolvedPath=PATH.normalizeArray(resolvedPath.split("/").filter(function(p){return!!p}),!resolvedAbsolute).join("/");return(resolvedAbsolute?"/":"")+resolvedPath||"."},relative:function(from,to){from=PATH_FS.resolve(from).substr(1);to=PATH_FS.resolve(to).substr(1);function trim(arr){var start=0;for(;start=0;end--){if(arr[end]!=="")break}if(start>end)return[];return arr.slice(start,end-start+1)}var fromParts=trim(from.split("/"));var toParts=trim(to.split("/"));var length=Math.min(fromParts.length,toParts.length);var samePartsLength=length;for(var i=0;i0){result=buf.slice(0,bytesRead).toString("utf-8")}else{result=null}}else if(typeof window!="undefined"&&typeof window.prompt=="function"){result=window.prompt("Input: ");if(result!==null){result+="\n"}}else if(typeof readline=="function"){result=readline();if(result!==null){result+="\n"}}if(!result){return null}tty.input=intArrayFromString(result,true)}return tty.input.shift()},put_char:function(tty,val){if(val===null||val===10){out(UTF8ArrayToString(tty.output,0));tty.output=[]}else{if(val!=0)tty.output.push(val)}},flush:function(tty){if(tty.output&&tty.output.length>0){out(UTF8ArrayToString(tty.output,0));tty.output=[]}}},default_tty1_ops:{put_char:function(tty,val){if(val===null||val===10){err(UTF8ArrayToString(tty.output,0));tty.output=[]}else{if(val!=0)tty.output.push(val)}},flush:function(tty){if(tty.output&&tty.output.length>0){err(UTF8ArrayToString(tty.output,0));tty.output=[]}}}};var MEMFS={ops_table:null,mount:function(mount){return MEMFS.createNode(null,"/",16384|511,0)},createNode:function(parent,name,mode,dev){if(FS.isBlkdev(mode)||FS.isFIFO(mode)){throw new FS.ErrnoError(63)}if(!MEMFS.ops_table){MEMFS.ops_table={dir:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr,lookup:MEMFS.node_ops.lookup,mknod:MEMFS.node_ops.mknod,rename:MEMFS.node_ops.rename,unlink:MEMFS.node_ops.unlink,rmdir:MEMFS.node_ops.rmdir,readdir:MEMFS.node_ops.readdir,symlink:MEMFS.node_ops.symlink},stream:{llseek:MEMFS.stream_ops.llseek}},file:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr},stream:{llseek:MEMFS.stream_ops.llseek,read:MEMFS.stream_ops.read,write:MEMFS.stream_ops.write,allocate:MEMFS.stream_ops.allocate,mmap:MEMFS.stream_ops.mmap,msync:MEMFS.stream_ops.msync}},link:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr,readlink:MEMFS.node_ops.readlink},stream:{}},chrdev:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr},stream:FS.chrdev_stream_ops}}}var node=FS.createNode(parent,name,mode,dev);if(FS.isDir(node.mode)){node.node_ops=MEMFS.ops_table.dir.node;node.stream_ops=MEMFS.ops_table.dir.stream;node.contents={}}else if(FS.isFile(node.mode)){node.node_ops=MEMFS.ops_table.file.node;node.stream_ops=MEMFS.ops_table.file.stream;node.usedBytes=0;node.contents=null}else if(FS.isLink(node.mode)){node.node_ops=MEMFS.ops_table.link.node;node.stream_ops=MEMFS.ops_table.link.stream}else if(FS.isChrdev(node.mode)){node.node_ops=MEMFS.ops_table.chrdev.node;node.stream_ops=MEMFS.ops_table.chrdev.stream}node.timestamp=Date.now();if(parent){parent.contents[name]=node}return node},getFileDataAsRegularArray:function(node){if(node.contents&&node.contents.subarray){var arr=[];for(var i=0;i=newCapacity)return;var CAPACITY_DOUBLING_MAX=1024*1024;newCapacity=Math.max(newCapacity,prevCapacity*(prevCapacity0)node.contents.set(oldContents.subarray(0,node.usedBytes),0);return},resizeFileStorage:function(node,newSize){if(node.usedBytes==newSize)return;if(newSize==0){node.contents=null;node.usedBytes=0;return}if(!node.contents||node.contents.subarray){var oldContents=node.contents;node.contents=new Uint8Array(new ArrayBuffer(newSize));if(oldContents){node.contents.set(oldContents.subarray(0,Math.min(newSize,node.usedBytes)))}node.usedBytes=newSize;return}if(!node.contents)node.contents=[];if(node.contents.length>newSize)node.contents.length=newSize;else while(node.contents.length=stream.node.usedBytes)return 0;var size=Math.min(stream.node.usedBytes-position,length);if(size>8&&contents.subarray){buffer.set(contents.subarray(position,position+size),offset)}else{for(var i=0;i0||position+length8){throw new FS.ErrnoError(32)}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(32)}}}}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 2}else if(perms.indexOf("w")!==-1&&!(node.mode&146)){return 2}else if(perms.indexOf("x")!==-1&&!(node.mode&73)){return 2}return 0},mayLookup:function(dir){var err=FS.nodePermissions(dir,"x");if(err)return err;if(!dir.node_ops.lookup)return 2;return 0},mayCreate:function(dir,name){try{var node=FS.lookupNode(dir,name);return 20}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 54}if(FS.isRoot(node)||FS.getPath(node)===FS.cwd()){return 10}}else{if(FS.isDir(node.mode)){return 31}}return 0},mayOpen:function(node,flags){if(!node){return 44}if(FS.isLink(node.mode)){return 32}else if(FS.isDir(node.mode)){if(FS.flagsToPermissionString(flags)!=="r"||flags&512){return 31}}return FS.nodePermissions(node,FS.flagsToPermissionString(flags))},MAX_OPEN_FDS:4096,nextfd: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(33)},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(70)}},major:function(dev){return dev>>8},minor:function(dev){return dev&255},makedev:function(ma,mi){return ma<<8|mi},registerDevice:function(dev,ops){FS.devices[dev]={stream_ops:ops}},getDevice:function(dev){return FS.devices[dev]},getMounts:function(mount){var mounts=[];var check=[mount];while(check.length){var m=check.pop();mounts.push(m);check.push.apply(check,m.mounts)}return mounts},syncfs:function(populate,callback){if(typeof populate==="function"){callback=populate;populate=false}FS.syncFSRequests++;if(FS.syncFSRequests>1){console.log("warning: "+FS.syncFSRequests+" FS.syncfs operations in flight at once, probably just doing extra work")}var mounts=FS.getMounts(FS.root.mount);var completed=0;function doCallback(err){FS.syncFSRequests--;return callback(err)}function done(err){if(err){if(!done.errored){done.errored=true;return doCallback(err)}return}if(++completed>=mounts.length){doCallback(null)}}mounts.forEach(function(mount){if(!mount.type.syncfs){return done(null)}mount.type.syncfs(mount,populate,done)})},mount:function(type,opts,mountpoint){var root=mountpoint==="/";var pseudo=!mountpoint;var node;if(root&&FS.root){throw new FS.ErrnoError(10)}else if(!root&&!pseudo){var lookup=FS.lookupPath(mountpoint,{follow_mount:false});mountpoint=lookup.path;node=lookup.node;if(FS.isMountpoint(node)){throw new FS.ErrnoError(10)}if(!FS.isDir(node.mode)){throw new FS.ErrnoError(54)}}var mount={type:type,opts:opts,mountpoint:mountpoint,mounts:[]};var mountRoot=type.mount(mount);mountRoot.mount=mount;mount.root=mountRoot;if(root){FS.root=mountRoot}else if(node){node.mounted=mount;if(node.mount){node.mount.mounts.push(mount)}}return mountRoot},unmount:function(mountpoint){var lookup=FS.lookupPath(mountpoint,{follow_mount:false});if(!FS.isMountpoint(lookup.node)){throw new FS.ErrnoError(28)}var node=lookup.node;var mount=node.mounted;var mounts=FS.getMounts(mount);Object.keys(FS.nameTable).forEach(function(hash){var current=FS.nameTable[hash];while(current){var next=current.name_next;if(mounts.indexOf(current.mount)!==-1){FS.destroyNode(current)}current=next}});node.mounted=null;var idx=node.mount.mounts.indexOf(mount);node.mount.mounts.splice(idx,1)},lookup:function(parent,name){return parent.node_ops.lookup(parent,name)},mknod:function(path,mode,dev){var lookup=FS.lookupPath(path,{parent:true});var parent=lookup.node;var name=PATH.basename(path);if(!name||name==="."||name===".."){throw new FS.ErrnoError(28)}var err=FS.mayCreate(parent,name);if(err){throw new FS.ErrnoError(err)}if(!parent.node_ops.mknod){throw new FS.ErrnoError(63)}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(29)}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(29)}var contents=stream.node.contents;if(position>=contents.length)return 0;var size=Math.min(contents.length-position,length);if(contents.slice){for(var i=0;i>2]=stat.dev;HEAP32[buf+4>>2]=0;HEAP32[buf+8>>2]=stat.ino;HEAP32[buf+12>>2]=stat.mode;HEAP32[buf+16>>2]=stat.nlink;HEAP32[buf+20>>2]=stat.uid;HEAP32[buf+24>>2]=stat.gid;HEAP32[buf+28>>2]=stat.rdev;HEAP32[buf+32>>2]=0;tempI64=[stat.size>>>0,(tempDouble=stat.size,+Math_abs(tempDouble)>=1?tempDouble>0?(Math_min(+Math_floor(tempDouble/4294967296),4294967295)|0)>>>0:~~+Math_ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[buf+40>>2]=tempI64[0],HEAP32[buf+44>>2]=tempI64[1];HEAP32[buf+48>>2]=4096;HEAP32[buf+52>>2]=stat.blocks;HEAP32[buf+56>>2]=stat.atime.getTime()/1e3|0;HEAP32[buf+60>>2]=0;HEAP32[buf+64>>2]=stat.mtime.getTime()/1e3|0;HEAP32[buf+68>>2]=0;HEAP32[buf+72>>2]=stat.ctime.getTime()/1e3|0;HEAP32[buf+76>>2]=0;tempI64=[stat.ino>>>0,(tempDouble=stat.ino,+Math_abs(tempDouble)>=1?tempDouble>0?(Math_min(+Math_floor(tempDouble/4294967296),4294967295)|0)>>>0:~~+Math_ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[buf+80>>2]=tempI64[0],HEAP32[buf+84>>2]=tempI64[1];return 0},doMsync:function(addr,stream,len,flags){var buffer=new Uint8Array(HEAPU8.subarray(addr,addr+len));FS.msync(stream,buffer,0,len,flags)},doMkdir:function(path,mode){path=PATH.normalize(path);if(path[path.length-1]==="/")path=path.substr(0,path.length-1);FS.mkdir(path,mode,0);return 0},doMknod:function(path,mode,dev){switch(mode&61440){case 32768:case 8192:case 24576:case 4096:case 49152:break;default:return-28}FS.mknod(path,mode,dev);return 0},doReadlink:function(path,buf,bufsize){if(bufsize<=0)return-28;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-28}var node;var lookup=FS.lookupPath(path,{follow:true});node=lookup.node;if(!node){return-44}var perms="";if(amode&4)perms+="r";if(amode&2)perms+="w";if(amode&1)perms+="x";if(perms&&FS.nodePermissions(node,perms)){return-2}return 0},doDup:function(path,flags,suggestFD){var suggest=FS.getStream(suggestFD);if(suggest)FS.close(suggest);return FS.open(path,flags,0,suggestFD,suggestFD).fd},doReadv:function(stream,iov,iovcnt,offset){var ret=0;for(var i=0;i>2];var len=HEAP32[iov+(i*8+4)>>2];var curr=FS.read(stream,HEAP8,ptr,len,offset);if(curr<0)return-1;ret+=curr;if(curr>2];var len=HEAP32[iov+(i*8+4)>>2];var curr=FS.write(stream,HEAP8,ptr,len,offset);if(curr<0)return-1;ret+=curr}return ret},varargs:0,get:function(varargs){SYSCALLS.varargs+=4;var ret=HEAP32[SYSCALLS.varargs-4>>2];return ret},getStr:function(){var ret=UTF8ToString(SYSCALLS.get());return ret},getStreamFromFD:function(fd){if(fd===undefined)fd=SYSCALLS.get();var stream=FS.getStream(fd);if(!stream)throw new FS.ErrnoError(8);return stream},get64:function(){var low=SYSCALLS.get(),high=SYSCALLS.get();return low},getZero:function(){SYSCALLS.get()}};function ___syscall221(which,varargs){SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.getStreamFromFD(),cmd=SYSCALLS.get();switch(cmd){case 0:{var arg=SYSCALLS.get();if(arg<0){return-28}var newStream;newStream=FS.open(stream.path,stream.flags,0,arg);return newStream.fd}case 1:case 2:return 0;case 3:return stream.flags;case 4:{var arg=SYSCALLS.get();stream.flags|=arg;return 0}case 12:{var arg=SYSCALLS.get();var offset=0;HEAP16[arg+offset>>1]=2;return 0}case 13:case 14:return 0;case 16:case 8:return-28;case 9:___setErrNo(28);return-1;default:{return-28}}}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___syscall5(which,varargs){SYSCALLS.varargs=varargs;try{var pathname=SYSCALLS.getStr(),flags=SYSCALLS.get(),mode=SYSCALLS.get();var stream=FS.open(pathname,flags,mode);return stream.fd}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___syscall54(which,varargs){SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.getStreamFromFD(),op=SYSCALLS.get();switch(op){case 21509:case 21505:{if(!stream.tty)return-59;return 0}case 21510:case 21511:case 21512:case 21506:case 21507:case 21508:{if(!stream.tty)return-59;return 0}case 21519:{if(!stream.tty)return-59;var argp=SYSCALLS.get();HEAP32[argp>>2]=0;return 0}case 21520:{if(!stream.tty)return-59;return-28}case 21531:{var argp=SYSCALLS.get();return FS.ioctl(stream,op,argp)}case 21523:{if(!stream.tty)return-59;return 0}case 21524:{if(!stream.tty)return-59;return 0}default:abort("bad ioctl syscall "+op)}}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function __emscripten_syscall_munmap(addr,len){if(addr===-1||len===0){return-28}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}function ___syscall91(which,varargs){SYSCALLS.varargs=varargs;try{var addr=SYSCALLS.get(),len=SYSCALLS.get();return __emscripten_syscall_munmap(addr,len)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___unlock(){}function _fd_close(fd){try{var stream=SYSCALLS.getStreamFromFD(fd);FS.close(stream);return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return e.errno}}function ___wasi_fd_close(){return _fd_close.apply(null,arguments)}function _fd_read(fd,iov,iovcnt,pnum){try{var stream=SYSCALLS.getStreamFromFD(fd);var num=SYSCALLS.doReadv(stream,iov,iovcnt);HEAP32[pnum>>2]=num;return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return e.errno}}function ___wasi_fd_read(){return _fd_read.apply(null,arguments)}function _fd_seek(fd,offset_low,offset_high,whence,newOffset){try{var stream=SYSCALLS.getStreamFromFD(fd);var HIGH_OFFSET=4294967296;var offset=offset_high*HIGH_OFFSET+(offset_low>>>0);var DOUBLE_LIMIT=9007199254740992;if(offset<=-DOUBLE_LIMIT||offset>=DOUBLE_LIMIT){return-61}FS.llseek(stream,offset,whence);tempI64=[stream.position>>>0,(tempDouble=stream.position,+Math_abs(tempDouble)>=1?tempDouble>0?(Math_min(+Math_floor(tempDouble/4294967296),4294967295)|0)>>>0:~~+Math_ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[newOffset>>2]=tempI64[0],HEAP32[newOffset+4>>2]=tempI64[1];if(stream.getdents&&offset===0&&whence===0)stream.getdents=null;return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return e.errno}}function ___wasi_fd_seek(){return _fd_seek.apply(null,arguments)}function _fd_write(fd,iov,iovcnt,pnum){try{var stream=SYSCALLS.getStreamFromFD(fd);var num=SYSCALLS.doWritev(stream,iov,iovcnt);HEAP32[pnum>>2]=num;return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return e.errno}}function ___wasi_fd_write(){return _fd_write.apply(null,arguments)}function getShiftFromSize(size){switch(size){case 1:return 0;case 2:return 1;case 4:return 2;case 8:return 3;default:throw new TypeError("Unknown type size: "+size)}}function embind_init_charCodes(){var codes=new Array(256);for(var i=0;i<256;++i){codes[i]=String.fromCharCode(i)}embind_charCodes=codes}var embind_charCodes=undefined;function readLatin1String(ptr){var ret="";var c=ptr;while(HEAPU8[c]){ret+=embind_charCodes[HEAPU8[c++]]}return ret}var awaitingDependencies={};var registeredTypes={};var typeDependencies={};var char_0=48;var char_9=57;function makeLegalFunctionName(name){if(undefined===name){return"_unknown"}name=name.replace(/[^a-zA-Z0-9_]/g,"$");var f=name.charCodeAt(0);if(f>=char_0&&f<=char_9){return"_"+name}else{return name}}function createNamedFunction(name,body){name=makeLegalFunctionName(name);return new Function("body","return function "+name+"() {\n"+' "use strict";'+" return body.apply(this, arguments);\n"+"};\n")(body)}function extendError(baseErrorType,errorName){var errorClass=createNamedFunction(errorName,function(message){this.name=errorName;this.message=message;var stack=new Error(message).stack;if(stack!==undefined){this.stack=this.toString()+"\n"+stack.replace(/^Error(:[^\n]*)?\n/,"")}});errorClass.prototype=Object.create(baseErrorType.prototype);errorClass.prototype.constructor=errorClass;errorClass.prototype.toString=function(){if(this.message===undefined){return this.name}else{return this.name+": "+this.message}};return errorClass}var BindingError=undefined;function throwBindingError(message){throw new BindingError(message)}var InternalError=undefined;function throwInternalError(message){throw new InternalError(message)}function whenDependentTypesAreResolved(myTypes,dependentTypes,getTypeConverters){myTypes.forEach(function(type){typeDependencies[type]=dependentTypes});function onComplete(typeConverters){var myTypeConverters=getTypeConverters(typeConverters);if(myTypeConverters.length!==myTypes.length){throwInternalError("Mismatched type converter count")}for(var i=0;i>shift])},destructorFunction:null})}function __embind_register_constant(name,type,value){name=readLatin1String(name);whenDependentTypesAreResolved([],[type],function(type){type=type[0];Module[name]=type["fromWireType"](value);return[]})}var emval_free_list=[];var emval_handle_array=[{},{value:undefined},{value:null},{value:true},{value:false}];function __emval_decref(handle){if(handle>4&&0===--emval_handle_array[handle].refcount){emval_handle_array[handle]=undefined;emval_free_list.push(handle)}}function count_emval_handles(){var count=0;for(var i=5;i>2])}function __embind_register_emval(rawType,name){name=readLatin1String(name);registerType(rawType,{name:name,"fromWireType":function(handle){var rv=emval_handle_array[handle].value;__emval_decref(handle);return rv},"toWireType":function(destructors,value){return __emval_register(value)},"argPackAdvance":8,"readValueFromPointer":simpleReadValueFromPointer,destructorFunction:null})}function _embind_repr(v){if(v===null){return"null"}var t=typeof v;if(t==="object"||t==="array"||t==="function"){return v.toString()}else{return""+v}}function floatReadValueFromPointer(name,shift){switch(shift){case 2:return function(pointer){return this["fromWireType"](HEAPF32[pointer>>2])};case 3:return function(pointer){return this["fromWireType"](HEAPF64[pointer>>3])};default:throw new TypeError("Unknown float type: "+name)}}function __embind_register_float(rawType,name,size){var shift=getShiftFromSize(size);name=readLatin1String(name);registerType(rawType,{name:name,"fromWireType":function(value){return value},"toWireType":function(destructors,value){if(typeof value!=="number"&&typeof value!=="boolean"){throw new TypeError('Cannot convert "'+_embind_repr(value)+'" to '+this.name)}return value},"argPackAdvance":8,"readValueFromPointer":floatReadValueFromPointer(name,shift),destructorFunction:null})}function new_(constructor,argumentList){if(!(constructor instanceof Function)){throw new TypeError("new_ called with constructor type "+typeof constructor+" which is not a function")}var dummy=createNamedFunction(constructor.name||"unknownFunctionName",function(){});dummy.prototype=constructor.prototype;var obj=new dummy;var r=constructor.apply(obj,argumentList);return r instanceof Object?r:obj}function runDestructors(destructors){while(destructors.length){var ptr=destructors.pop();var del=destructors.pop();del(ptr)}}function craftInvokerFunction(humanName,argTypes,classType,cppInvokerFunc,cppTargetFunc){var argCount=argTypes.length;if(argCount<2){throwBindingError("argTypes array size mismatch! Must at least get return value and 'this' types!")}var isClassMethodFunc=argTypes[1]!==null&&classType!==null;var needsDestructorStack=false;for(var i=1;i0?", ":"")+argsListWired}invokerFnBody+=(returns?"var rv = ":"")+"invoker(fn"+(argsListWired.length>0?", ":"")+argsListWired+");\n";if(needsDestructorStack){invokerFnBody+="runDestructors(destructors);\n"}else{for(var i=isClassMethodFunc?1:2;i>2)+i])}return array}function replacePublicSymbol(name,value,numArguments){if(!Module.hasOwnProperty(name)){throwInternalError("Replacing nonexistant public symbol")}if(undefined!==Module[name].overloadTable&&undefined!==numArguments){Module[name].overloadTable[numArguments]=value}else{Module[name]=value;Module[name].argCount=numArguments}}function embind__requireFunction(signature,rawFunction){signature=readLatin1String(signature);function makeDynCaller(dynCall){var args=[];for(var i=1;i>1]}:function readU16FromPointer(pointer){return HEAPU16[pointer>>1]};case 2:return signed?function readS32FromPointer(pointer){return HEAP32[pointer>>2]}:function readU32FromPointer(pointer){return HEAPU32[pointer>>2]};default:throw new TypeError("Unknown integer type: "+name)}}function __embind_register_integer(primitiveType,name,size,minRange,maxRange){name=readLatin1String(name);if(maxRange===-1){maxRange=4294967295}var shift=getShiftFromSize(size);var fromWireType=function(value){return value};if(minRange===0){var bitshift=32-8*size;fromWireType=function(value){return value<>>bitshift}}var isUnsignedType=name.indexOf("unsigned")!=-1;registerType(primitiveType,{name:name,"fromWireType":fromWireType,"toWireType":function(destructors,value){if(typeof value!=="number"&&typeof value!=="boolean"){throw new TypeError('Cannot convert "'+_embind_repr(value)+'" to '+this.name)}if(valuemaxRange){throw new TypeError('Passing a number "'+_embind_repr(value)+'" from JS side to C/C++ side to an argument of type "'+name+'", which is outside the valid range ['+minRange+", "+maxRange+"]!")}return isUnsignedType?value>>>0:value|0},"argPackAdvance":8,"readValueFromPointer":integerReadValueFromPointer(name,shift,minRange!==0),destructorFunction:null})}function __embind_register_memory_view(rawType,dataTypeIndex,name){var typeMapping=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array];var TA=typeMapping[dataTypeIndex];function decodeMemoryView(handle){handle=handle>>2;var heap=HEAPU32;var size=heap[handle];var data=heap[handle+1];return new TA(heap["buffer"],data,size)}name=readLatin1String(name);registerType(rawType,{name:name,"fromWireType":decodeMemoryView,"argPackAdvance":8,"readValueFromPointer":decodeMemoryView},{ignoreDuplicateRegistrations:true})}function __embind_register_std_string(rawType,name){name=readLatin1String(name);var stdStringIsUTF8=name==="std::string";registerType(rawType,{name:name,"fromWireType":function(value){var length=HEAPU32[value>>2];var str;if(stdStringIsUTF8){var endChar=HEAPU8[value+4+length];var endCharSwap=0;if(endChar!=0){endCharSwap=endChar;HEAPU8[value+4+length]=0}var decodeStartPtr=value+4;for(var i=0;i<=length;++i){var currentBytePtr=value+4+i;if(HEAPU8[currentBytePtr]==0){var stringSegment=UTF8ToString(decodeStartPtr);if(str===undefined)str=stringSegment;else{str+=String.fromCharCode(0);str+=stringSegment}decodeStartPtr=currentBytePtr+1}}if(endCharSwap!=0)HEAPU8[value+4+length]=endCharSwap}else{var a=new Array(length);for(var i=0;i>2]=length;if(stdStringIsUTF8&&valueIsOfTypeString){stringToUTF8(value,ptr+4,length+1)}else{if(valueIsOfTypeString){for(var i=0;i255){_free(ptr);throwBindingError("String has UTF-16 code units that do not fit in 8 bits")}HEAPU8[ptr+4+i]=charCode}}else{for(var i=0;i>2];var a=new Array(length);var start=value+4>>shift;for(var i=0;i>2]=length;var start=ptr+4>>shift;for(var i=0;i>2]=now/1e3|0;HEAP32[ptr+4>>2]=now%1e3*1e3|0;return 0}function _llvm_exp2_f32(x){return Math.pow(2,x)}function _llvm_stackrestore(p){var self=_llvm_stacksave;var ret=self.LLVM_SAVEDSTACKS[p];self.LLVM_SAVEDSTACKS.splice(p,1);stackRestore(ret)}function _llvm_stacksave(){var self=_llvm_stacksave;if(!self.LLVM_SAVEDSTACKS){self.LLVM_SAVEDSTACKS=[]}self.LLVM_SAVEDSTACKS.push(stackSave());return self.LLVM_SAVEDSTACKS.length-1}var ___tm_current=60160;var ___tm_timezone=(stringToUTF8("GMT",60208,4),60208);function _tzset(){if(_tzset.called)return;_tzset.called=true;HEAP32[__get_timezone()>>2]=(new Date).getTimezoneOffset()*60;var currentYear=(new Date).getFullYear();var winter=new Date(currentYear,0,1);var summer=new Date(currentYear,6,1);HEAP32[__get_daylight()>>2]=Number(winter.getTimezoneOffset()!=summer.getTimezoneOffset());function extractZone(date){var match=date.toTimeString().match(/\(([A-Za-z ]+)\)$/);return match?match[1]:"GMT"}var winterName=extractZone(winter);var summerName=extractZone(summer);var winterNamePtr=allocate(intArrayFromString(winterName),"i8",ALLOC_NORMAL);var summerNamePtr=allocate(intArrayFromString(summerName),"i8",ALLOC_NORMAL);if(summer.getTimezoneOffset()>2]=winterNamePtr;HEAP32[__get_tzname()+4>>2]=summerNamePtr}else{HEAP32[__get_tzname()>>2]=summerNamePtr;HEAP32[__get_tzname()+4>>2]=winterNamePtr}}function _localtime_r(time,tmPtr){_tzset();var date=new Date(HEAP32[time>>2]*1e3);HEAP32[tmPtr>>2]=date.getSeconds();HEAP32[tmPtr+4>>2]=date.getMinutes();HEAP32[tmPtr+8>>2]=date.getHours();HEAP32[tmPtr+12>>2]=date.getDate();HEAP32[tmPtr+16>>2]=date.getMonth();HEAP32[tmPtr+20>>2]=date.getFullYear()-1900;HEAP32[tmPtr+24>>2]=date.getDay();var start=new Date(date.getFullYear(),0,1);var yday=(date.getTime()-start.getTime())/(1e3*60*60*24)|0;HEAP32[tmPtr+28>>2]=yday;HEAP32[tmPtr+36>>2]=-(date.getTimezoneOffset()*60);var summerOffset=new Date(date.getFullYear(),6,1).getTimezoneOffset();var winterOffset=start.getTimezoneOffset();var dst=(summerOffset!=winterOffset&&date.getTimezoneOffset()==Math.min(winterOffset,summerOffset))|0;HEAP32[tmPtr+32>>2]=dst;var zonePtr=HEAP32[__get_tzname()+(dst?4:0)>>2];HEAP32[tmPtr+40>>2]=zonePtr;return tmPtr}function _localtime(time){return _localtime_r(time,___tm_current)}function _longjmp(env,value){_setThrew(env,value||1);throw"longjmp"}function _emscripten_memcpy_big(dest,src,num){HEAPU8.set(HEAPU8.subarray(src,src+num),dest)}function __isLeapYear(year){return year%4===0&&(year%100!==0||year%400===0)}function __arraySum(array,index){var sum=0;for(var i=0;i<=index;sum+=array[i++]);return sum}var __MONTH_DAYS_LEAP=[31,29,31,30,31,30,31,31,30,31,30,31];var __MONTH_DAYS_REGULAR=[31,28,31,30,31,30,31,31,30,31,30,31];function __addDays(date,days){var newDate=new Date(date.getTime());while(days>0){var leap=__isLeapYear(newDate.getFullYear());var currentMonth=newDate.getMonth();var daysInCurrentMonth=(leap?__MONTH_DAYS_LEAP:__MONTH_DAYS_REGULAR)[currentMonth];if(days>daysInCurrentMonth-newDate.getDate()){days-=daysInCurrentMonth-newDate.getDate()+1;newDate.setDate(1);if(currentMonth<11){newDate.setMonth(currentMonth+1)}else{newDate.setMonth(0);newDate.setFullYear(newDate.getFullYear()+1)}}else{newDate.setDate(newDate.getDate()+days);return newDate}}return newDate}function _strftime(s,maxsize,format,tm){var tm_zone=HEAP32[tm+40>>2];var date={tm_sec:HEAP32[tm>>2],tm_min:HEAP32[tm+4>>2],tm_hour:HEAP32[tm+8>>2],tm_mday:HEAP32[tm+12>>2],tm_mon:HEAP32[tm+16>>2],tm_year:HEAP32[tm+20>>2],tm_wday:HEAP32[tm+24>>2],tm_yday:HEAP32[tm+28>>2],tm_isdst:HEAP32[tm+32>>2],tm_gmtoff:HEAP32[tm+36>>2],tm_zone:tm_zone?UTF8ToString(tm_zone):""};var pattern=UTF8ToString(format);var EXPANSION_RULES_1={"%c":"%a %b %d %H:%M:%S %Y","%D":"%m/%d/%y","%F":"%Y-%m-%d","%h":"%b","%r":"%I:%M:%S %p","%R":"%H:%M","%T":"%H:%M:%S","%x":"%m/%d/%y","%X":"%H:%M:%S","%Ec":"%c","%EC":"%C","%Ex":"%m/%d/%y","%EX":"%H:%M:%S","%Ey":"%y","%EY":"%Y","%Od":"%d","%Oe":"%e","%OH":"%H","%OI":"%I","%Om":"%m","%OM":"%M","%OS":"%S","%Ou":"%u","%OU":"%U","%OV":"%V","%Ow":"%w","%OW":"%W","%Oy":"%y"};for(var rule in EXPANSION_RULES_1){pattern=pattern.replace(new RegExp(rule,"g"),EXPANSION_RULES_1[rule])}var WEEKDAYS=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"];var MONTHS=["January","February","March","April","May","June","July","August","September","October","November","December"];function leadingSomething(value,digits,character){var str=typeof value==="number"?value.toString():value||"";while(str.length0?1:0}var compare;if((compare=sgn(date1.getFullYear()-date2.getFullYear()))===0){if((compare=sgn(date1.getMonth()-date2.getMonth()))===0){compare=sgn(date1.getDate()-date2.getDate())}}return compare}function getFirstWeekStartDate(janFourth){switch(janFourth.getDay()){case 0:return new Date(janFourth.getFullYear()-1,11,29);case 1:return janFourth;case 2:return new Date(janFourth.getFullYear(),0,3);case 3:return new Date(janFourth.getFullYear(),0,2);case 4:return new Date(janFourth.getFullYear(),0,1);case 5:return new Date(janFourth.getFullYear()-1,11,31);case 6:return new Date(janFourth.getFullYear()-1,11,30)}}function getWeekBasedYear(date){var thisDate=__addDays(new Date(date.tm_year+1900,0,1),date.tm_yday);var janFourthThisYear=new Date(thisDate.getFullYear(),0,4);var janFourthNextYear=new Date(thisDate.getFullYear()+1,0,4);var firstWeekStartThisYear=getFirstWeekStartDate(janFourthThisYear);var firstWeekStartNextYear=getFirstWeekStartDate(janFourthNextYear);if(compareByDay(firstWeekStartThisYear,thisDate)<=0){if(compareByDay(firstWeekStartNextYear,thisDate)<=0){return thisDate.getFullYear()+1}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){return date.tm_wday||7},"%U":function(date){var janFirst=new Date(date.tm_year+1900,0,1);var firstSunday=janFirst.getDay()===0?janFirst:__addDays(janFirst,7-janFirst.getDay());var endDate=new Date(date.tm_year+1900,date.tm_mon,date.tm_mday);if(compareByDay(firstSunday,endDate)<0){var februaryFirstUntilEndMonth=__arraySum(__isLeapYear(endDate.getFullYear())?__MONTH_DAYS_LEAP:__MONTH_DAYS_REGULAR,endDate.getMonth()-1)-31;var firstSundayUntilEndJanuary=31-firstSunday.getDate();var days=firstSundayUntilEndJanuary+februaryFirstUntilEndMonth+endDate.getDate();return leadingNulls(Math.ceil(days/7),2)}return compareByDay(firstSunday,janFirst)===0?"01":"00"},"%V":function(date){var janFourthThisYear=new Date(date.tm_year+1900,0,4);var janFourthNextYear=new Date(date.tm_year+1901,0,4);var firstWeekStartThisYear=getFirstWeekStartDate(janFourthThisYear);var firstWeekStartNextYear=getFirstWeekStartDate(janFourthNextYear);var endDate=__addDays(new Date(date.tm_year+1900,0,1),date.tm_yday);if(compareByDay(endDate,firstWeekStartThisYear)<0){return"53"}if(compareByDay(firstWeekStartNextYear,endDate)<=0){return"01"}var daysDifference;if(firstWeekStartThisYear.getFullYear()=0;off=Math.abs(off)/60;off=off/60*100+off%60;return(ahead?"+":"-")+String("0000"+off).slice(-4)},"%Z":function(date){return date.tm_zone},"%%":function(){return"%"}};for(var rule in EXPANSION_RULES_2){if(pattern.indexOf(rule)>=0){pattern=pattern.replace(new RegExp(rule,"g"),EXPANSION_RULES_2[rule](date))}}var bytes=intArrayFromString(pattern,false);if(bytes.length>maxsize){return 0}writeArrayToMemory(bytes,s);return bytes.length-1}function _strftime_l(s,maxsize,format,tm){return _strftime(s,maxsize,format,tm)}function _time(ptr){var ret=Date.now()/1e3|0;if(ptr){HEAP32[ptr>>2]=ret}return ret}FS.staticInit();embind_init_charCodes();BindingError=Module["BindingError"]=extendError(Error,"BindingError");InternalError=Module["InternalError"]=extendError(Error,"InternalError");init_emval();UnboundTypeError=Module["UnboundTypeError"]=extendError(Error,"UnboundTypeError");function intArrayFromString(stringy,dontAddNull,length){var len=length>0?length:lengthBytesUTF8(stringy)+1;var u8array=new Array(len);var numBytesWritten=stringToUTF8Array(stringy,u8array,0,u8array.length);if(dontAddNull)u8array.length=numBytesWritten;return u8array}function invoke_ii(index,a1){var sp=stackSave();try{return dynCall_ii(index,a1)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_iii(index,a1,a2){var sp=stackSave();try{return dynCall_iii(index,a1,a2)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_iiii(index,a1,a2,a3){var sp=stackSave();try{return dynCall_iiii(index,a1,a2,a3)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_vi(index,a1){var sp=stackSave();try{dynCall_vi(index,a1)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_vii(index,a1,a2){var sp=stackSave();try{dynCall_vii(index,a1,a2)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viii(index,a1,a2,a3){var sp=stackSave();try{dynCall_viii(index,a1,a2,a3)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viiii(index,a1,a2,a3,a4){var sp=stackSave();try{dynCall_viiii(index,a1,a2,a3,a4)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}var asmGlobalArg={};var asmLibraryArg={"$":___buildEnvironment,"f":___cxa_allocate_exception,"e":___cxa_throw,"z":___lock,"_":___map_file,"y":___syscall221,"Z":___syscall5,"Y":___syscall54,"X":___syscall91,"o":___unlock,"x":___wasi_fd_close,"W":___wasi_fd_read,"C":___wasi_fd_seek,"V":___wasi_fd_write,"U":__embind_register_bool,"w":__embind_register_constant,"T":__embind_register_emval,"v":__embind_register_float,"j":__embind_register_function,"k":__embind_register_integer,"i":__embind_register_memory_view,"u":__embind_register_std_string,"S":__embind_register_std_wstring,"R":__embind_register_void,"__memory_base":1024,"__table_base":0,"a":_abort,"Q":_emscripten_asm_const_ii,"P":_emscripten_asm_const_iiddddddddddddd,"O":_emscripten_asm_const_iiiid,"N":_emscripten_asm_const_iiiiiii,"M":_emscripten_asm_const_iiiiiiiidddddddddddddddddddddddddi,"L":_emscripten_get_heap_size,"J":_emscripten_memcpy_big,"I":_emscripten_resize_heap,"b":_exit,"n":_getenv,"t":_gettimeofday,"H":_llvm_exp2_f32,"m":_llvm_stackrestore,"l":_llvm_stacksave,"G":_localtime,"g":_longjmp,"E":_strftime,"D":_strftime_l,"s":_time,"c":abort,"h":getTempRet0,"q":invoke_ii,"K":invoke_iii,"F":invoke_iiii,"p":invoke_vi,"B":invoke_vii,"A":invoke_viii,"r":invoke_viiii,"memory":wasmMemory,"d":setTempRet0,"table":wasmTable};var asm=Module["asm"](asmGlobalArg,asmLibraryArg,buffer);Module["asm"]=asm;var __GLOBAL__sub_I_ARToolKitJS_cpp=Module["__GLOBAL__sub_I_ARToolKitJS_cpp"]=function(){return Module["asm"]["aa"].apply(null,arguments)};var __GLOBAL__sub_I_bind_cpp=Module["__GLOBAL__sub_I_bind_cpp"]=function(){return Module["asm"]["ba"].apply(null,arguments)};var __GLOBAL__sub_I_iostream_cpp=Module["__GLOBAL__sub_I_iostream_cpp"]=function(){return Module["asm"]["ca"].apply(null,arguments)};var __ZSt18uncaught_exceptionv=Module["__ZSt18uncaught_exceptionv"]=function(){return Module["asm"]["da"].apply(null,arguments)};var ___embind_register_native_and_builtin_types=Module["___embind_register_native_and_builtin_types"]=function(){return Module["asm"]["ea"].apply(null,arguments)};var ___emscripten_environ_constructor=Module["___emscripten_environ_constructor"]=function(){return Module["asm"]["fa"].apply(null,arguments)};var ___errno_location=Module["___errno_location"]=function(){return Module["asm"]["ga"].apply(null,arguments)};var ___getTypeName=Module["___getTypeName"]=function(){return Module["asm"]["ha"].apply(null,arguments)};var __get_daylight=Module["__get_daylight"]=function(){return Module["asm"]["ia"].apply(null,arguments)};var __get_timezone=Module["__get_timezone"]=function(){return Module["asm"]["ja"].apply(null,arguments)};var __get_tzname=Module["__get_tzname"]=function(){return Module["asm"]["ka"].apply(null,arguments)};var _free=Module["_free"]=function(){return Module["asm"]["la"].apply(null,arguments)};var _malloc=Module["_malloc"]=function(){return Module["asm"]["ma"].apply(null,arguments)};var _setThrew=Module["_setThrew"]=function(){return Module["asm"]["na"].apply(null,arguments)};var stackAlloc=Module["stackAlloc"]=function(){return Module["asm"]["Ra"].apply(null,arguments)};var stackRestore=Module["stackRestore"]=function(){return Module["asm"]["Sa"].apply(null,arguments)};var stackSave=Module["stackSave"]=function(){return Module["asm"]["Ta"].apply(null,arguments)};var dynCall_di=Module["dynCall_di"]=function(){return Module["asm"]["oa"].apply(null,arguments)};var dynCall_dii=Module["dynCall_dii"]=function(){return Module["asm"]["pa"].apply(null,arguments)};var dynCall_i=Module["dynCall_i"]=function(){return Module["asm"]["qa"].apply(null,arguments)};var dynCall_ii=Module["dynCall_ii"]=function(){return Module["asm"]["ra"].apply(null,arguments)};var dynCall_iidiiii=Module["dynCall_iidiiii"]=function(){return Module["asm"]["sa"].apply(null,arguments)};var dynCall_iii=Module["dynCall_iii"]=function(){return Module["asm"]["ta"].apply(null,arguments)};var dynCall_iiii=Module["dynCall_iiii"]=function(){return Module["asm"]["ua"].apply(null,arguments)};var dynCall_iiiii=Module["dynCall_iiiii"]=function(){return Module["asm"]["va"].apply(null,arguments)};var dynCall_iiiiid=Module["dynCall_iiiiid"]=function(){return Module["asm"]["wa"].apply(null,arguments)};var dynCall_iiiiii=Module["dynCall_iiiiii"]=function(){return Module["asm"]["xa"].apply(null,arguments)};var dynCall_iiiiiid=Module["dynCall_iiiiiid"]=function(){return Module["asm"]["ya"].apply(null,arguments)};var dynCall_iiiiiii=Module["dynCall_iiiiiii"]=function(){return Module["asm"]["za"].apply(null,arguments)};var dynCall_iiiiiiii=Module["dynCall_iiiiiiii"]=function(){return Module["asm"]["Aa"].apply(null,arguments)};var dynCall_iiiiiiiii=Module["dynCall_iiiiiiiii"]=function(){return Module["asm"]["Ba"].apply(null,arguments)};var dynCall_iiiiij=Module["dynCall_iiiiij"]=function(){return Module["asm"]["Ca"].apply(null,arguments)};var dynCall_jiji=Module["dynCall_jiji"]=function(){return Module["asm"]["Da"].apply(null,arguments)};var dynCall_v=Module["dynCall_v"]=function(){return Module["asm"]["Ea"].apply(null,arguments)};var dynCall_vi=Module["dynCall_vi"]=function(){return Module["asm"]["Fa"].apply(null,arguments)};var dynCall_vid=Module["dynCall_vid"]=function(){return Module["asm"]["Ga"].apply(null,arguments)};var dynCall_vif=Module["dynCall_vif"]=function(){return Module["asm"]["Ha"].apply(null,arguments)};var dynCall_vii=Module["dynCall_vii"]=function(){return Module["asm"]["Ia"].apply(null,arguments)};var dynCall_viid=Module["dynCall_viid"]=function(){return Module["asm"]["Ja"].apply(null,arguments)};var dynCall_viif=Module["dynCall_viif"]=function(){return Module["asm"]["Ka"].apply(null,arguments)};var dynCall_viii=Module["dynCall_viii"]=function(){return Module["asm"]["La"].apply(null,arguments)};var dynCall_viiii=Module["dynCall_viiii"]=function(){return Module["asm"]["Ma"].apply(null,arguments)};var dynCall_viiiii=Module["dynCall_viiiii"]=function(){return Module["asm"]["Na"].apply(null,arguments)};var dynCall_viiiiii=Module["dynCall_viiiiii"]=function(){return Module["asm"]["Oa"].apply(null,arguments)};var dynCall_viiiiiii=Module["dynCall_viiiiiii"]=function(){return Module["asm"]["Pa"].apply(null,arguments)};var dynCall_viijii=Module["dynCall_viijii"]=function(){return Module["asm"]["Qa"].apply(null,arguments)};Module["asm"]=asm;var calledRun;function ExitStatus(status){this.name="ExitStatus";this.message="Program terminated with exit("+status+")";this.status=status}dependenciesFulfilled=function runCaller(){if(!calledRun)run();if(!calledRun)dependenciesFulfilled=runCaller};function run(args){args=args||arguments_;if(runDependencies>0){return}preRun();if(runDependencies>0)return;function doRun(){if(calledRun)return;calledRun=true;if(ABORT)return;initRuntime();preMain();if(Module["onRuntimeInitialized"])Module["onRuntimeInitialized"]();postRun()}if(Module["setStatus"]){Module["setStatus"]("Running...");setTimeout(function(){setTimeout(function(){Module["setStatus"]("")},1);doRun()},1)}else{doRun()}}Module["run"]=run;function exit(status,implicit){if(implicit&&noExitRuntime&&status===0){return}if(noExitRuntime){}else{ABORT=true;EXITSTATUS=status;exitRuntime();if(Module["onExit"])Module["onExit"](status)}quit_(status,new ExitStatus(status))}if(Module["preInit"]){if(typeof Module["preInit"]=="function")Module["preInit"]=[Module["preInit"]];while(Module["preInit"].length>0){Module["preInit"].pop()()}}noExitRuntime=true;run(); +var Module=typeof Module!=="undefined"?Module:{};(function(){"use strict";var scope;if(typeof window!=="undefined"){scope=window}else{scope=self}if(scope.artoolkit_wasm_url){var downloadWasm=function(url){return new Promise(function(resolve,reject){var wasmXHR=new XMLHttpRequest;wasmXHR.open("GET",url,true);wasmXHR.responseType="arraybuffer";wasmXHR.onload=function(){resolve(wasmXHR.response)};wasmXHR.onerror=function(){reject("error "+wasmXHR.status)};wasmXHR.send(null)})};var wasm=downloadWasm(scope.artoolkit_wasm_url);Module.instantiateWasm=function(imports,successCallback){console.log("instantiateWasm: instantiating synchronously");wasm.then(function(wasmBinary){console.log("wasm download finished, begin instantiating");var wasmInstantiate=WebAssembly.instantiate(new Uint8Array(wasmBinary),imports).then(function(output){console.log("wasm instantiation succeeded");successCallback(output.instance)}).catch(function(e){console.log("wasm instantiation failed! "+e)})});return{}}}var ARController=function(width,height,cameraPara){this.id=undefined;var w=width,h=height;this.orientation="landscape";this.listeners={};if(typeof width!=="number"){var image=width;cameraPara=height;w=image.videoWidth||image.width;h=image.videoHeight||image.height;this.image=image}this.width=w;this.height=h;this.nftMarkerCount=0;this.defaultMarkerWidth=1;this.patternMarkers={};this.barcodeMarkers={};this.nftMarkers={};this.transform_mat=new Float32Array(16);this.transformGL_RH=new Float64Array(16);if(typeof document!=="undefined"){this.canvas=document.createElement("canvas");this.canvas.width=w;this.canvas.height=h;this.ctx=this.canvas.getContext("2d")}this.videoWidth=w;this.videoHeight=h;this.videoSize=this.videoWidth*this.videoHeight;this.framepointer=null;this.framesize=null;this.dataHeap=null;this.videoLuma=null;this.camera_mat=null;this.marker_transform_mat=null;this.videoLumaPointer=null;this._bwpointer=undefined;this._lumaCtx=undefined;if(typeof cameraPara==="string"){this.cameraParam=new ARCameraParam(cameraPara,function(){this._initialize()}.bind(this),function(err){console.error("ARController: Failed to load ARCameraParam",err);this.onload(err)}.bind(this))}else{this.cameraParam=cameraPara;this._initialize()}};ARController.prototype.dispose=function(){if(this.id>-1){artoolkit.teardown(this.id)}if(this.image&&this.image.srcObject){ARController._teardownVideo(this.image)}for(var t in this){this[t]=null}};ARController.prototype.process=function(image){var result=this.detectMarker(image);if(result!=0){console.error("detectMarker error: "+result)}var markerNum=this.getMarkerNum();var k,o;for(k in this.patternMarkers){o=this.patternMarkers[k];o.inPrevious=o.inCurrent;o.inCurrent=false}for(k in this.barcodeMarkers){o=this.barcodeMarkers[k];o.inPrevious=o.inCurrent;o.inCurrent=false}for(k in this.nftMarkers){o=this.nftMarkers[k];o.inPrevious=o.inCurrent;o.inCurrent=false}for(var i=0;i-1&&(markerInfo.id===markerInfo.idPatt||markerInfo.idMatrix===-1)){visible=this.trackPatternMarkerId(markerInfo.idPatt);markerType=artoolkit.PATTERN_MARKER;if(markerInfo.dir!==markerInfo.dirPatt){this.setMarkerInfoDir(i,markerInfo.dirPatt)}}else if(markerInfo.idMatrix>-1){visible=this.trackBarcodeMarkerId(markerInfo.idMatrix);markerType=artoolkit.BARCODE_MARKER;if(markerInfo.dir!==markerInfo.dirMatrix){this.setMarkerInfoDir(i,markerInfo.dirMatrix)}}if(markerType!==artoolkit.UNKNOWN_MARKER&&visible.inPrevious){this.getTransMatSquareCont(i,visible.markerWidth,visible.matrix,visible.matrix)}else{this.getTransMatSquare(i,visible.markerWidth,visible.matrix)}visible.inCurrent=true;this.transMatToGLMat(visible.matrix,this.transform_mat);this.transformGL_RH=this.arglCameraViewRHf(this.transform_mat);this.dispatchEvent({name:"getMarker",target:this,data:{index:i,type:markerType,marker:markerInfo,matrix:this.transform_mat,matrixGL_RH:this.transformGL_RH}})}var nftMarkerCount=this.nftMarkerCount;this.detectNFTMarker();var MARKER_LOST_TIME=200;for(var i=0;i=0){visible=true;this.dispatchEvent({name:"getMultiMarker",target:this,data:{multiMarkerId:i,matrix:this.transform_mat,matrixGL_RH:this.transformGL_RH}});break}}if(visible){for(var j=0;j-1){this.listeners[name].splice(index,1)}}};ARController.prototype.dispatchEvent=function(event){var listeners=this.listeners[event.name];if(listeners){for(var i=0;i>3;q+=4}}if(this.dataHeap){this.dataHeap.set(data);return true}return false};ARController.prototype._debugMarker=function(marker){var vertex,pos;vertex=marker.vertex;var ctx=this.ctx;ctx.strokeStyle="red";ctx.beginPath();ctx.moveTo(vertex[0][0],vertex[0][1]);ctx.lineTo(vertex[1][0],vertex[1][1]);ctx.stroke();ctx.beginPath();ctx.moveTo(vertex[2][0],vertex[2][1]);ctx.lineTo(vertex[3][0],vertex[3][1]);ctx.stroke();ctx.strokeStyle="green";ctx.beginPath();ctx.lineTo(vertex[1][0],vertex[1][1]);ctx.lineTo(vertex[2][0],vertex[2][1]);ctx.stroke();ctx.beginPath();ctx.moveTo(vertex[3][0],vertex[3][1]);ctx.lineTo(vertex[0][0],vertex[0][1]);ctx.stroke();pos=marker.pos;ctx.beginPath();ctx.arc(pos[0],pos[1],8,0,Math.PI*2);ctx.fillStyle="red";ctx.fill()};ARController.getUserMedia=function(configuration){var facing=configuration.facingMode||"environment";var onSuccess=configuration.onSuccess;var onError=configuration.onError||function(err){console.error("ARController.getUserMedia",err)};var video=document.createElement("video");var readyToPlay=false;var eventNames=["touchstart","touchend","touchmove","touchcancel","click","mousedown","mouseup","mousemove","keydown","keyup","keypress","scroll"];var play=function(){if(readyToPlay){video.play().then(function(){onSuccess(video)}).catch(function(error){onError(error);ARController._teardownVideo(video)});if(!video.paused){eventNames.forEach(function(eventName){window.removeEventListener(eventName,play,true)})}}};eventNames.forEach(function(eventName){window.addEventListener(eventName,play,true)});var success=function(stream){if(window.URL.createObjectURL){try{video.srcObject=stream}catch(ex){}}video.srcObject=stream;readyToPlay=true;video.autoplay=true;video.playsInline=true;play()};var constraints={};var mediaDevicesConstraints={};if(configuration.width){mediaDevicesConstraints.width=configuration.width;if(typeof configuration.width==="object"){if(configuration.width.max){constraints.maxWidth=configuration.width.max}if(configuration.width.min){constraints.minWidth=configuration.width.min}}else{constraints.maxWidth=configuration.width}}if(configuration.height){mediaDevicesConstraints.height=configuration.height;if(typeof configuration.height==="object"){if(configuration.height.max){constraints.maxHeight=configuration.height.max}if(configuration.height.min){constraints.minHeight=configuration.height.min}}else{constraints.maxHeight=configuration.height}}mediaDevicesConstraints.facingMode=facing;mediaDevicesConstraints.deviceId=configuration.deviceId;navigator.getUserMedia=navigator.getUserMedia||navigator.webkitGetUserMedia||navigator.mozGetUserMedia||navigator.msGetUserMedia;var hdConstraints={audio:false,video:constraints};if(navigator.mediaDevices||window.MediaStreamTrack.getSources){if(navigator.mediaDevices){navigator.mediaDevices.getUserMedia({audio:false,video:mediaDevicesConstraints}).then(success,onError)}else{window.MediaStreamTrack.getSources(function(sources){var facingDir=mediaDevicesConstraints.facingMode;if(facing&&facing.exact){facingDir=facing.exact}for(var i=0;i-1){writeStringToFS(filename,url,writeCallback)}else{ajax(url,filename,writeCallback,errorCallback)}}function writeStringToFS(target,string,callback){var byteArray=new Uint8Array(string.length);for(var i=0;i1){thisProgram=process["argv"][1].replace(/\\/g,"/")}arguments_=process["argv"].slice(2);if(typeof module!=="undefined"){module["exports"]=Module}process["on"]("uncaughtException",function(ex){if(!(ex instanceof ExitStatus)){throw ex}});process["on"]("unhandledRejection",abort);quit_=function(status){process["exit"](status)};Module["inspect"]=function(){return"[Emscripten Module object]"}}else if(ENVIRONMENT_IS_SHELL){if(typeof read!="undefined"){read_=function shell_read(f){return read(f)}}readBinary=function readBinary(f){var data;if(typeof readbuffer==="function"){return new Uint8Array(readbuffer(f))}data=read(f,"binary");assert(typeof data==="object");return data};if(typeof scriptArgs!="undefined"){arguments_=scriptArgs}else if(typeof arguments!="undefined"){arguments_=arguments}if(typeof quit==="function"){quit_=function(status){quit(status)}}if(typeof print!=="undefined"){if(typeof console==="undefined")console={};console.log=print;console.warn=console.error=typeof printErr!=="undefined"?printErr:print}}else if(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER){if(ENVIRONMENT_IS_WORKER){scriptDirectory=self.location.href}else if(document.currentScript){scriptDirectory=document.currentScript.src}if(scriptDirectory.indexOf("blob:")!==0){scriptDirectory=scriptDirectory.substr(0,scriptDirectory.lastIndexOf("/")+1)}else{scriptDirectory=""}{read_=function shell_read(url){var xhr=new XMLHttpRequest;xhr.open("GET",url,false);xhr.send(null);return xhr.responseText};if(ENVIRONMENT_IS_WORKER){readBinary=function readBinary(url){var xhr=new XMLHttpRequest;xhr.open("GET",url,false);xhr.responseType="arraybuffer";xhr.send(null);return new Uint8Array(xhr.response)}}readAsync=function readAsync(url,onload,onerror){var xhr=new XMLHttpRequest;xhr.open("GET",url,true);xhr.responseType="arraybuffer";xhr.onload=function xhr_onload(){if(xhr.status==200||xhr.status==0&&xhr.response){onload(xhr.response);return}onerror()};xhr.onerror=onerror;xhr.send(null)}}setWindowTitle=function(title){document.title=title}}else{}var out=Module["print"]||console.log.bind(console);var err=Module["printErr"]||console.warn.bind(console);for(key in moduleOverrides){if(moduleOverrides.hasOwnProperty(key)){Module[key]=moduleOverrides[key]}}moduleOverrides=null;if(Module["arguments"])arguments_=Module["arguments"];if(Module["thisProgram"])thisProgram=Module["thisProgram"];if(Module["quit"])quit_=Module["quit"];function dynamicAlloc(size){var ret=HEAP32[DYNAMICTOP_PTR>>2];var end=ret+size+15&-16;if(end>_emscripten_get_heap_size()){abort()}HEAP32[DYNAMICTOP_PTR>>2]=end;return ret}function getNativeTypeSize(type){switch(type){case"i1":case"i8":return 1;case"i16":return 2;case"i32":return 4;case"i64":return 8;case"float":return 4;case"double":return 8;default:{if(type[type.length-1]==="*"){return 4}else if(type[0]==="i"){var bits=parseInt(type.substr(1));assert(bits%8===0,"getNativeTypeSize invalid bits "+bits+", type "+type);return bits/8}else{return 0}}}}var asm2wasmImports={"f64-rem":function(x,y){return x%y},"debugger":function(){}};var functionPointers=new Array(0);var tempRet0=0;var setTempRet0=function(value){tempRet0=value};var getTempRet0=function(){return tempRet0};var wasmBinary;if(Module["wasmBinary"])wasmBinary=Module["wasmBinary"];var noExitRuntime;if(Module["noExitRuntime"])noExitRuntime=Module["noExitRuntime"];if(typeof WebAssembly!=="object"){err("no native wasm support detected")}function setValue(ptr,value,type,noSafe){type=type||"i8";if(type.charAt(type.length-1)==="*")type="i32";switch(type){case"i1":HEAP8[ptr>>0]=value;break;case"i8":HEAP8[ptr>>0]=value;break;case"i16":HEAP16[ptr>>1]=value;break;case"i32":HEAP32[ptr>>2]=value;break;case"i64":tempI64=[value>>>0,(tempDouble=value,+Math_abs(tempDouble)>=1?tempDouble>0?(Math_min(+Math_floor(tempDouble/4294967296),4294967295)|0)>>>0:~~+Math_ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[ptr>>2]=tempI64[0],HEAP32[ptr+4>>2]=tempI64[1];break;case"float":HEAPF32[ptr>>2]=value;break;case"double":HEAPF64[ptr>>3]=value;break;default:abort("invalid type for setValue: "+type)}}var wasmMemory;var wasmTable=new WebAssembly.Table({"initial":878,"maximum":878,"element":"anyfunc"});var ABORT=false;var EXITSTATUS=0;function assert(condition,text){if(!condition){abort("Assertion failed: "+text)}}var ALLOC_NORMAL=0;var ALLOC_NONE=3;function allocate(slab,types,allocator,ptr){var zeroinit,size;if(typeof slab==="number"){zeroinit=true;size=slab}else{zeroinit=false;size=slab.length}var singleType=typeof types==="string"?types:null;var ret;if(allocator==ALLOC_NONE){ret=ptr}else{ret=[_malloc,stackAlloc,dynamicAlloc][allocator](Math.max(size,singleType?1:types.length))}if(zeroinit){var stop;ptr=ret;assert((ret&3)==0);stop=ret+(size&~3);for(;ptr>2]=0}stop=ret+size;while(ptr>0]=0}return ret}if(singleType==="i8"){if(slab.subarray||slab.slice){HEAPU8.set(slab,ret)}else{HEAPU8.set(new Uint8Array(slab),ret)}return ret}var i=0,type,typeSize,previousType;while(i=endIdx))++endPtr;if(endPtr-idx>16&&u8Array.subarray&&UTF8Decoder){return UTF8Decoder.decode(u8Array.subarray(idx,endPtr))}else{var str="";while(idx>10,56320|ch&1023)}}}return str}function UTF8ToString(ptr,maxBytesToRead){return ptr?UTF8ArrayToString(HEAPU8,ptr,maxBytesToRead):""}function stringToUTF8Array(str,outU8Array,outIdx,maxBytesToWrite){if(!(maxBytesToWrite>0))return 0;var startIdx=outIdx;var endIdx=outIdx+maxBytesToWrite-1;for(var i=0;i=55296&&u<=57343){var u1=str.charCodeAt(++i);u=65536+((u&1023)<<10)|u1&1023}if(u<=127){if(outIdx>=endIdx)break;outU8Array[outIdx++]=u}else if(u<=2047){if(outIdx+1>=endIdx)break;outU8Array[outIdx++]=192|u>>6;outU8Array[outIdx++]=128|u&63}else if(u<=65535){if(outIdx+2>=endIdx)break;outU8Array[outIdx++]=224|u>>12;outU8Array[outIdx++]=128|u>>6&63;outU8Array[outIdx++]=128|u&63}else{if(outIdx+3>=endIdx)break;outU8Array[outIdx++]=240|u>>18;outU8Array[outIdx++]=128|u>>12&63;outU8Array[outIdx++]=128|u>>6&63;outU8Array[outIdx++]=128|u&63}}outU8Array[outIdx]=0;return outIdx-startIdx}function stringToUTF8(str,outPtr,maxBytesToWrite){return stringToUTF8Array(str,HEAPU8,outPtr,maxBytesToWrite)}function lengthBytesUTF8(str){var len=0;for(var i=0;i=55296&&u<=57343)u=65536+((u&1023)<<10)|str.charCodeAt(++i)&1023;if(u<=127)++len;else if(u<=2047)len+=2;else if(u<=65535)len+=3;else len+=4}return len}var UTF16Decoder=typeof TextDecoder!=="undefined"?new TextDecoder("utf-16le"):undefined;function allocateUTF8(str){var size=lengthBytesUTF8(str)+1;var ret=_malloc(size);if(ret)stringToUTF8Array(str,HEAP8,ret,size);return ret}function writeArrayToMemory(array,buffer){HEAP8.set(array,buffer)}function writeAsciiToMemory(str,buffer,dontAddNull){for(var i=0;i>0]=str.charCodeAt(i)}if(!dontAddNull)HEAP8[buffer>>0]=0}var WASM_PAGE_SIZE=65536;var buffer,HEAP8,HEAPU8,HEAP16,HEAPU16,HEAP32,HEAPU32,HEAPF32,HEAPF64;function updateGlobalBufferAndViews(buf){buffer=buf;Module["HEAP8"]=HEAP8=new Int8Array(buf);Module["HEAP16"]=HEAP16=new Int16Array(buf);Module["HEAP32"]=HEAP32=new Int32Array(buf);Module["HEAPU8"]=HEAPU8=new Uint8Array(buf);Module["HEAPU16"]=HEAPU16=new Uint16Array(buf);Module["HEAPU32"]=HEAPU32=new Uint32Array(buf);Module["HEAPF32"]=HEAPF32=new Float32Array(buf);Module["HEAPF64"]=HEAPF64=new Float64Array(buf)}var DYNAMIC_BASE=5304048,DYNAMICTOP_PTR=60976;var INITIAL_TOTAL_MEMORY=Module["TOTAL_MEMORY"]||268435456;if(Module["wasmMemory"]){wasmMemory=Module["wasmMemory"]}else{wasmMemory=new WebAssembly.Memory({"initial":INITIAL_TOTAL_MEMORY/WASM_PAGE_SIZE,"maximum":INITIAL_TOTAL_MEMORY/WASM_PAGE_SIZE})}if(wasmMemory){buffer=wasmMemory.buffer}INITIAL_TOTAL_MEMORY=buffer.byteLength;updateGlobalBufferAndViews(buffer);HEAP32[DYNAMICTOP_PTR>>2]=DYNAMIC_BASE;function callRuntimeCallbacks(callbacks){while(callbacks.length>0){var callback=callbacks.shift();if(typeof callback=="function"){callback();continue}var func=callback.func;if(typeof func==="number"){if(callback.arg===undefined){Module["dynCall_v"](func)}else{Module["dynCall_vi"](func,callback.arg)}}else{func(callback.arg===undefined?null:callback.arg)}}}var __ATPRERUN__=[];var __ATINIT__=[];var __ATMAIN__=[];var __ATPOSTRUN__=[];var runtimeInitialized=false;var runtimeExited=false;function preRun(){if(Module["preRun"]){if(typeof Module["preRun"]=="function")Module["preRun"]=[Module["preRun"]];while(Module["preRun"].length){addOnPreRun(Module["preRun"].shift())}}callRuntimeCallbacks(__ATPRERUN__)}function initRuntime(){runtimeInitialized=true;if(!Module["noFSInit"]&&!FS.init.initialized)FS.init();TTY.init();callRuntimeCallbacks(__ATINIT__)}function preMain(){FS.ignorePermissions=false;callRuntimeCallbacks(__ATMAIN__)}function exitRuntime(){runtimeExited=true}function postRun(){if(Module["postRun"]){if(typeof Module["postRun"]=="function")Module["postRun"]=[Module["postRun"]];while(Module["postRun"].length){addOnPostRun(Module["postRun"].shift())}}callRuntimeCallbacks(__ATPOSTRUN__)}function addOnPreRun(cb){__ATPRERUN__.unshift(cb)}function addOnPostRun(cb){__ATPOSTRUN__.unshift(cb)}var Math_abs=Math.abs;var Math_ceil=Math.ceil;var Math_floor=Math.floor;var Math_min=Math.min;var runDependencies=0;var runDependencyWatcher=null;var dependenciesFulfilled=null;function getUniqueRunDependency(id){return id}function addRunDependency(id){runDependencies++;if(Module["monitorRunDependencies"]){Module["monitorRunDependencies"](runDependencies)}}function removeRunDependency(id){runDependencies--;if(Module["monitorRunDependencies"]){Module["monitorRunDependencies"](runDependencies)}if(runDependencies==0){if(runDependencyWatcher!==null){clearInterval(runDependencyWatcher);runDependencyWatcher=null}if(dependenciesFulfilled){var callback=dependenciesFulfilled;dependenciesFulfilled=null;callback()}}}Module["preloadedImages"]={};Module["preloadedAudios"]={};function abort(what){if(Module["onAbort"]){Module["onAbort"](what)}what+="";out(what);err(what);ABORT=true;EXITSTATUS=1;what="abort("+what+"). Build with -s ASSERTIONS=1 for more info.";throw new WebAssembly.RuntimeError(what)}var dataURIPrefix="data:application/octet-stream;base64,";function isDataURI(filename){return String.prototype.startsWith?filename.startsWith(dataURIPrefix):filename.indexOf(dataURIPrefix)===0}var wasmBinaryFile="artoolkit_wasm.wasm";if(!isDataURI(wasmBinaryFile)){wasmBinaryFile=locateFile(wasmBinaryFile)}function getBinary(){try{if(wasmBinary){return new Uint8Array(wasmBinary)}if(readBinary){return readBinary(wasmBinaryFile)}else{throw"both async and sync fetching of the wasm failed"}}catch(err){abort(err)}}function getBinaryPromise(){if(!wasmBinary&&(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER)&&typeof fetch==="function"){return fetch(wasmBinaryFile,{credentials:"same-origin"}).then(function(response){if(!response["ok"]){throw"failed to load wasm binary file at '"+wasmBinaryFile+"'"}return response["arrayBuffer"]()}).catch(function(){return getBinary()})}return new Promise(function(resolve,reject){resolve(getBinary())})}function createWasm(){var info={"env":asmLibraryArg,"wasi_unstable":asmLibraryArg,"global":{"NaN":NaN,Infinity:Infinity},"global.Math":Math,"asm2wasm":asm2wasmImports};function receiveInstance(instance,module){var exports=instance.exports;Module["asm"]=exports;removeRunDependency("wasm-instantiate")}addRunDependency("wasm-instantiate");function receiveInstantiatedSource(output){receiveInstance(output["instance"])}function instantiateArrayBuffer(receiver){return getBinaryPromise().then(function(binary){return WebAssembly.instantiate(binary,info)}).then(receiver,function(reason){err("failed to asynchronously prepare wasm: "+reason);abort(reason)})}function instantiateAsync(){if(!wasmBinary&&typeof WebAssembly.instantiateStreaming==="function"&&!isDataURI(wasmBinaryFile)&&typeof fetch==="function"){fetch(wasmBinaryFile,{credentials:"same-origin"}).then(function(response){var result=WebAssembly.instantiateStreaming(response,info);return result.then(receiveInstantiatedSource,function(reason){err("wasm streaming compile failed: "+reason);err("falling back to ArrayBuffer instantiation");instantiateArrayBuffer(receiveInstantiatedSource)})})}else{return instantiateArrayBuffer(receiveInstantiatedSource)}}if(Module["instantiateWasm"]){try{var exports=Module["instantiateWasm"](info,receiveInstance);return exports}catch(e){err("Module.instantiateWasm callback failed with error: "+e);return false}}instantiateAsync();return{}}Module["asm"]=createWasm;var tempDouble;var tempI64;var ASM_CONSTS=[function($0,$1,$2,$3,$4,$5){if(!artoolkit["frameMalloc"]){artoolkit["frameMalloc"]={}}var frameMalloc=artoolkit["frameMalloc"];frameMalloc["framepointer"]=$1;frameMalloc["framesize"]=$2;frameMalloc["camera"]=$3;frameMalloc["transform"]=$4;frameMalloc["videoLumaPointer"]=$5},function($0,$1,$2,$3){if(!artoolkit["multiEachMarkerInfo"]){artoolkit["multiEachMarkerInfo"]={}}var multiEachMarker=artoolkit["multiEachMarkerInfo"];multiEachMarker["visible"]=$0;multiEachMarker["pattId"]=$1;multiEachMarker["pattType"]=$2;multiEachMarker["width"]=$3},function($0,$1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12,$13,$14,$15,$16,$17,$18,$19,$20,$21,$22,$23,$24,$25,$26,$27,$28,$29,$30,$31,$32){var $a=arguments;var i=12;if(!artoolkit["markerInfo"]){artoolkit["markerInfo"]={pos:[0,0],line:[[0,0,0],[0,0,0],[0,0,0],[0,0,0]],vertex:[[0,0],[0,0],[0,0],[0,0]]}}var markerInfo=artoolkit["markerInfo"];markerInfo["area"]=$0;markerInfo["id"]=$1;markerInfo["idPatt"]=$2;markerInfo["idMatrix"]=$3;markerInfo["dir"]=$4;markerInfo["dirPatt"]=$5;markerInfo["dirMatrix"]=$6;markerInfo["cf"]=$7;markerInfo["cfPatt"]=$8;markerInfo["cfMatrix"]=$9;markerInfo["pos"][0]=$10;markerInfo["pos"][1]=$11;markerInfo["line"][0][0]=$a[i++];markerInfo["line"][0][1]=$a[i++];markerInfo["line"][0][2]=$a[i++];markerInfo["line"][1][0]=$a[i++];markerInfo["line"][1][1]=$a[i++];markerInfo["line"][1][2]=$a[i++];markerInfo["line"][2][0]=$a[i++];markerInfo["line"][2][1]=$a[i++];markerInfo["line"][2][2]=$a[i++];markerInfo["line"][3][0]=$a[i++];markerInfo["line"][3][1]=$a[i++];markerInfo["line"][3][2]=$a[i++];markerInfo["vertex"][0][0]=$a[i++];markerInfo["vertex"][0][1]=$a[i++];markerInfo["vertex"][1][0]=$a[i++];markerInfo["vertex"][1][1]=$a[i++];markerInfo["vertex"][2][0]=$a[i++];markerInfo["vertex"][2][1]=$a[i++];markerInfo["vertex"][3][0]=$a[i++];markerInfo["vertex"][3][1]=$a[i++];markerInfo["errorCorrected"]=$a[i++]},function($0,$1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12,$13){var $a=arguments;var i=0;if(!artoolkit["NFTMarkerInfo"]){artoolkit["NFTMarkerInfo"]={id:0,error:-1,found:0,pose:[0,0,0,0,0,0,0,0,0,0,0,0]}}var markerInfo=artoolkit["NFTMarkerInfo"];markerInfo["id"]=$a[i++];markerInfo["error"]=$a[i++];markerInfo["found"]=1;markerInfo["pose"][0]=$a[i++];markerInfo["pose"][1]=$a[i++];markerInfo["pose"][2]=$a[i++];markerInfo["pose"][3]=$a[i++];markerInfo["pose"][4]=$a[i++];markerInfo["pose"][5]=$a[i++];markerInfo["pose"][6]=$a[i++];markerInfo["pose"][7]=$a[i++];markerInfo["pose"][8]=$a[i++];markerInfo["pose"][9]=$a[i++];markerInfo["pose"][10]=$a[i++];markerInfo["pose"][11]=$a[i++]},function($0){var $a=arguments;var i=0;if(!artoolkit["NFTMarkerInfo"]){artoolkit["NFTMarkerInfo"]={id:0,error:-1,found:0,pose:[0,0,0,0,0,0,0,0,0,0,0,0]}}var markerInfo=artoolkit["NFTMarkerInfo"];markerInfo["id"]=$a[i++];markerInfo["error"]=-1;markerInfo["found"]=0;markerInfo["pose"][0]=0;markerInfo["pose"][1]=0;markerInfo["pose"][2]=0;markerInfo["pose"][3]=0;markerInfo["pose"][4]=0;markerInfo["pose"][5]=0;markerInfo["pose"][6]=0;markerInfo["pose"][7]=0;markerInfo["pose"][8]=0;markerInfo["pose"][9]=0;markerInfo["pose"][10]=0;markerInfo["pose"][11]=0}];function _emscripten_asm_const_iiiiiii(code,a0,a1,a2,a3,a4,a5){return ASM_CONSTS[code](a0,a1,a2,a3,a4,a5)}function _emscripten_asm_const_iiiid(code,a0,a1,a2,a3){return ASM_CONSTS[code](a0,a1,a2,a3)}function _emscripten_asm_const_iiddddddddddddd(code,a0,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13){return ASM_CONSTS[code](a0,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13)}function _emscripten_asm_const_ii(code,a0){return ASM_CONSTS[code](a0)}function _emscripten_asm_const_iiiiiiiidddddddddddddddddddddddddi(code,a0,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21,a22,a23,a24,a25,a26,a27,a28,a29,a30,a31,a32){return ASM_CONSTS[code](a0,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21,a22,a23,a24,a25,a26,a27,a28,a29,a30,a31,a32)}__ATINIT__.push({func:function(){__GLOBAL__sub_I_ARToolKitJS_cpp()}},{func:function(){___emscripten_environ_constructor()}},{func:function(){__GLOBAL__sub_I_bind_cpp()}},{func:function(){__GLOBAL__sub_I_iostream_cpp()}});function demangle(func){return func}function demangleAll(text){var regex=/\b__Z[\w\d_]+/g;return text.replace(regex,function(x){var y=demangle(x);return x===y?x:y+" ["+x+"]"})}function jsStackTrace(){var err=new Error;if(!err.stack){try{throw new Error(0)}catch(e){err=e}if(!err.stack){return"(no stack trace available)"}}return err.stack.toString()}function stackTrace(){var js=jsStackTrace();if(Module["extraStackTrace"])js+="\n"+Module["extraStackTrace"]();return demangleAll(js)}var ENV={};function ___buildEnvironment(environ){var MAX_ENV_VALUES=64;var TOTAL_ENV_SIZE=1024;var poolPtr;var envPtr;if(!___buildEnvironment.called){___buildEnvironment.called=true;ENV["USER"]="web_user";ENV["LOGNAME"]="web_user";ENV["PATH"]="/";ENV["PWD"]="/";ENV["HOME"]="/home/web_user";ENV["LANG"]=(typeof navigator==="object"&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8";ENV["_"]=thisProgram;poolPtr=getMemory(TOTAL_ENV_SIZE);envPtr=getMemory(MAX_ENV_VALUES*4);HEAP32[envPtr>>2]=poolPtr;HEAP32[environ>>2]=envPtr}else{envPtr=HEAP32[environ>>2];poolPtr=HEAP32[envPtr>>2]}var strings=[];var totalSize=0;for(var key in ENV){if(typeof ENV[key]==="string"){var line=key+"="+ENV[key];strings.push(line);totalSize+=line.length}}if(totalSize>TOTAL_ENV_SIZE){throw new Error("Environment size exceeded TOTAL_ENV_SIZE!")}var ptrSize=4;for(var i=0;i>2]=poolPtr;poolPtr+=line.length+1}HEAP32[envPtr+strings.length*ptrSize>>2]=0}function ___cxa_allocate_exception(size){return _malloc(size)}var ___exception_infos={};var ___exception_last=0;function ___cxa_throw(ptr,type,destructor){___exception_infos[ptr]={ptr:ptr,adjusted:[ptr],type:type,destructor:destructor,refcount:0,caught:false,rethrown:false};___exception_last=ptr;if(!("uncaught_exception"in __ZSt18uncaught_exceptionv)){__ZSt18uncaught_exceptionv.uncaught_exceptions=1}else{__ZSt18uncaught_exceptionv.uncaught_exceptions++}throw ptr}function ___lock(){}function ___setErrNo(value){if(Module["___errno_location"])HEAP32[Module["___errno_location"]()>>2]=value;return value}function ___map_file(pathname,size){___setErrNo(63);return-1}var PATH={splitPath:function(filename){var splitPathRe=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/;return splitPathRe.exec(filename).slice(1)},normalizeArray:function(parts,allowAboveRoot){var up=0;for(var i=parts.length-1;i>=0;i--){var last=parts[i];if(last==="."){parts.splice(i,1)}else if(last===".."){parts.splice(i,1);up++}else if(up){parts.splice(i,1);up--}}if(allowAboveRoot){for(;up;up--){parts.unshift("..")}}return parts},normalize:function(path){var isAbsolute=path.charAt(0)==="/",trailingSlash=path.substr(-1)==="/";path=PATH.normalizeArray(path.split("/").filter(function(p){return!!p}),!isAbsolute).join("/");if(!path&&!isAbsolute){path="."}if(path&&trailingSlash){path+="/"}return(isAbsolute?"/":"")+path},dirname:function(path){var result=PATH.splitPath(path),root=result[0],dir=result[1];if(!root&&!dir){return"."}if(dir){dir=dir.substr(0,dir.length-1)}return root+dir},basename:function(path){if(path==="/")return"/";var lastSlash=path.lastIndexOf("/");if(lastSlash===-1)return path;return path.substr(lastSlash+1)},extname:function(path){return PATH.splitPath(path)[3]},join:function(){var paths=Array.prototype.slice.call(arguments,0);return PATH.normalize(paths.join("/"))},join2:function(l,r){return PATH.normalize(l+"/"+r)}};var PATH_FS={resolve:function(){var resolvedPath="",resolvedAbsolute=false;for(var i=arguments.length-1;i>=-1&&!resolvedAbsolute;i--){var path=i>=0?arguments[i]:FS.cwd();if(typeof path!=="string"){throw new TypeError("Arguments to path.resolve must be strings")}else if(!path){return""}resolvedPath=path+"/"+resolvedPath;resolvedAbsolute=path.charAt(0)==="/"}resolvedPath=PATH.normalizeArray(resolvedPath.split("/").filter(function(p){return!!p}),!resolvedAbsolute).join("/");return(resolvedAbsolute?"/":"")+resolvedPath||"."},relative:function(from,to){from=PATH_FS.resolve(from).substr(1);to=PATH_FS.resolve(to).substr(1);function trim(arr){var start=0;for(;start=0;end--){if(arr[end]!=="")break}if(start>end)return[];return arr.slice(start,end-start+1)}var fromParts=trim(from.split("/"));var toParts=trim(to.split("/"));var length=Math.min(fromParts.length,toParts.length);var samePartsLength=length;for(var i=0;i0){result=buf.slice(0,bytesRead).toString("utf-8")}else{result=null}}else if(typeof window!="undefined"&&typeof window.prompt=="function"){result=window.prompt("Input: ");if(result!==null){result+="\n"}}else if(typeof readline=="function"){result=readline();if(result!==null){result+="\n"}}if(!result){return null}tty.input=intArrayFromString(result,true)}return tty.input.shift()},put_char:function(tty,val){if(val===null||val===10){out(UTF8ArrayToString(tty.output,0));tty.output=[]}else{if(val!=0)tty.output.push(val)}},flush:function(tty){if(tty.output&&tty.output.length>0){out(UTF8ArrayToString(tty.output,0));tty.output=[]}}},default_tty1_ops:{put_char:function(tty,val){if(val===null||val===10){err(UTF8ArrayToString(tty.output,0));tty.output=[]}else{if(val!=0)tty.output.push(val)}},flush:function(tty){if(tty.output&&tty.output.length>0){err(UTF8ArrayToString(tty.output,0));tty.output=[]}}}};var MEMFS={ops_table:null,mount:function(mount){return MEMFS.createNode(null,"/",16384|511,0)},createNode:function(parent,name,mode,dev){if(FS.isBlkdev(mode)||FS.isFIFO(mode)){throw new FS.ErrnoError(63)}if(!MEMFS.ops_table){MEMFS.ops_table={dir:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr,lookup:MEMFS.node_ops.lookup,mknod:MEMFS.node_ops.mknod,rename:MEMFS.node_ops.rename,unlink:MEMFS.node_ops.unlink,rmdir:MEMFS.node_ops.rmdir,readdir:MEMFS.node_ops.readdir,symlink:MEMFS.node_ops.symlink},stream:{llseek:MEMFS.stream_ops.llseek}},file:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr},stream:{llseek:MEMFS.stream_ops.llseek,read:MEMFS.stream_ops.read,write:MEMFS.stream_ops.write,allocate:MEMFS.stream_ops.allocate,mmap:MEMFS.stream_ops.mmap,msync:MEMFS.stream_ops.msync}},link:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr,readlink:MEMFS.node_ops.readlink},stream:{}},chrdev:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr},stream:FS.chrdev_stream_ops}}}var node=FS.createNode(parent,name,mode,dev);if(FS.isDir(node.mode)){node.node_ops=MEMFS.ops_table.dir.node;node.stream_ops=MEMFS.ops_table.dir.stream;node.contents={}}else if(FS.isFile(node.mode)){node.node_ops=MEMFS.ops_table.file.node;node.stream_ops=MEMFS.ops_table.file.stream;node.usedBytes=0;node.contents=null}else if(FS.isLink(node.mode)){node.node_ops=MEMFS.ops_table.link.node;node.stream_ops=MEMFS.ops_table.link.stream}else if(FS.isChrdev(node.mode)){node.node_ops=MEMFS.ops_table.chrdev.node;node.stream_ops=MEMFS.ops_table.chrdev.stream}node.timestamp=Date.now();if(parent){parent.contents[name]=node}return node},getFileDataAsRegularArray:function(node){if(node.contents&&node.contents.subarray){var arr=[];for(var i=0;i=newCapacity)return;var CAPACITY_DOUBLING_MAX=1024*1024;newCapacity=Math.max(newCapacity,prevCapacity*(prevCapacity0)node.contents.set(oldContents.subarray(0,node.usedBytes),0);return},resizeFileStorage:function(node,newSize){if(node.usedBytes==newSize)return;if(newSize==0){node.contents=null;node.usedBytes=0;return}if(!node.contents||node.contents.subarray){var oldContents=node.contents;node.contents=new Uint8Array(new ArrayBuffer(newSize));if(oldContents){node.contents.set(oldContents.subarray(0,Math.min(newSize,node.usedBytes)))}node.usedBytes=newSize;return}if(!node.contents)node.contents=[];if(node.contents.length>newSize)node.contents.length=newSize;else while(node.contents.length=stream.node.usedBytes)return 0;var size=Math.min(stream.node.usedBytes-position,length);if(size>8&&contents.subarray){buffer.set(contents.subarray(position,position+size),offset)}else{for(var i=0;i0||position+length8){throw new FS.ErrnoError(32)}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(32)}}}}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 2}else if(perms.indexOf("w")!==-1&&!(node.mode&146)){return 2}else if(perms.indexOf("x")!==-1&&!(node.mode&73)){return 2}return 0},mayLookup:function(dir){var err=FS.nodePermissions(dir,"x");if(err)return err;if(!dir.node_ops.lookup)return 2;return 0},mayCreate:function(dir,name){try{var node=FS.lookupNode(dir,name);return 20}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 54}if(FS.isRoot(node)||FS.getPath(node)===FS.cwd()){return 10}}else{if(FS.isDir(node.mode)){return 31}}return 0},mayOpen:function(node,flags){if(!node){return 44}if(FS.isLink(node.mode)){return 32}else if(FS.isDir(node.mode)){if(FS.flagsToPermissionString(flags)!=="r"||flags&512){return 31}}return FS.nodePermissions(node,FS.flagsToPermissionString(flags))},MAX_OPEN_FDS:4096,nextfd: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(33)},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(70)}},major:function(dev){return dev>>8},minor:function(dev){return dev&255},makedev:function(ma,mi){return ma<<8|mi},registerDevice:function(dev,ops){FS.devices[dev]={stream_ops:ops}},getDevice:function(dev){return FS.devices[dev]},getMounts:function(mount){var mounts=[];var check=[mount];while(check.length){var m=check.pop();mounts.push(m);check.push.apply(check,m.mounts)}return mounts},syncfs:function(populate,callback){if(typeof populate==="function"){callback=populate;populate=false}FS.syncFSRequests++;if(FS.syncFSRequests>1){console.log("warning: "+FS.syncFSRequests+" FS.syncfs operations in flight at once, probably just doing extra work")}var mounts=FS.getMounts(FS.root.mount);var completed=0;function doCallback(err){FS.syncFSRequests--;return callback(err)}function done(err){if(err){if(!done.errored){done.errored=true;return doCallback(err)}return}if(++completed>=mounts.length){doCallback(null)}}mounts.forEach(function(mount){if(!mount.type.syncfs){return done(null)}mount.type.syncfs(mount,populate,done)})},mount:function(type,opts,mountpoint){var root=mountpoint==="/";var pseudo=!mountpoint;var node;if(root&&FS.root){throw new FS.ErrnoError(10)}else if(!root&&!pseudo){var lookup=FS.lookupPath(mountpoint,{follow_mount:false});mountpoint=lookup.path;node=lookup.node;if(FS.isMountpoint(node)){throw new FS.ErrnoError(10)}if(!FS.isDir(node.mode)){throw new FS.ErrnoError(54)}}var mount={type:type,opts:opts,mountpoint:mountpoint,mounts:[]};var mountRoot=type.mount(mount);mountRoot.mount=mount;mount.root=mountRoot;if(root){FS.root=mountRoot}else if(node){node.mounted=mount;if(node.mount){node.mount.mounts.push(mount)}}return mountRoot},unmount:function(mountpoint){var lookup=FS.lookupPath(mountpoint,{follow_mount:false});if(!FS.isMountpoint(lookup.node)){throw new FS.ErrnoError(28)}var node=lookup.node;var mount=node.mounted;var mounts=FS.getMounts(mount);Object.keys(FS.nameTable).forEach(function(hash){var current=FS.nameTable[hash];while(current){var next=current.name_next;if(mounts.indexOf(current.mount)!==-1){FS.destroyNode(current)}current=next}});node.mounted=null;var idx=node.mount.mounts.indexOf(mount);node.mount.mounts.splice(idx,1)},lookup:function(parent,name){return parent.node_ops.lookup(parent,name)},mknod:function(path,mode,dev){var lookup=FS.lookupPath(path,{parent:true});var parent=lookup.node;var name=PATH.basename(path);if(!name||name==="."||name===".."){throw new FS.ErrnoError(28)}var err=FS.mayCreate(parent,name);if(err){throw new FS.ErrnoError(err)}if(!parent.node_ops.mknod){throw new FS.ErrnoError(63)}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(29)}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(29)}var contents=stream.node.contents;if(position>=contents.length)return 0;var size=Math.min(contents.length-position,length);if(contents.slice){for(var i=0;i>2]=stat.dev;HEAP32[buf+4>>2]=0;HEAP32[buf+8>>2]=stat.ino;HEAP32[buf+12>>2]=stat.mode;HEAP32[buf+16>>2]=stat.nlink;HEAP32[buf+20>>2]=stat.uid;HEAP32[buf+24>>2]=stat.gid;HEAP32[buf+28>>2]=stat.rdev;HEAP32[buf+32>>2]=0;tempI64=[stat.size>>>0,(tempDouble=stat.size,+Math_abs(tempDouble)>=1?tempDouble>0?(Math_min(+Math_floor(tempDouble/4294967296),4294967295)|0)>>>0:~~+Math_ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[buf+40>>2]=tempI64[0],HEAP32[buf+44>>2]=tempI64[1];HEAP32[buf+48>>2]=4096;HEAP32[buf+52>>2]=stat.blocks;HEAP32[buf+56>>2]=stat.atime.getTime()/1e3|0;HEAP32[buf+60>>2]=0;HEAP32[buf+64>>2]=stat.mtime.getTime()/1e3|0;HEAP32[buf+68>>2]=0;HEAP32[buf+72>>2]=stat.ctime.getTime()/1e3|0;HEAP32[buf+76>>2]=0;tempI64=[stat.ino>>>0,(tempDouble=stat.ino,+Math_abs(tempDouble)>=1?tempDouble>0?(Math_min(+Math_floor(tempDouble/4294967296),4294967295)|0)>>>0:~~+Math_ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[buf+80>>2]=tempI64[0],HEAP32[buf+84>>2]=tempI64[1];return 0},doMsync:function(addr,stream,len,flags){var buffer=new Uint8Array(HEAPU8.subarray(addr,addr+len));FS.msync(stream,buffer,0,len,flags)},doMkdir:function(path,mode){path=PATH.normalize(path);if(path[path.length-1]==="/")path=path.substr(0,path.length-1);FS.mkdir(path,mode,0);return 0},doMknod:function(path,mode,dev){switch(mode&61440){case 32768:case 8192:case 24576:case 4096:case 49152:break;default:return-28}FS.mknod(path,mode,dev);return 0},doReadlink:function(path,buf,bufsize){if(bufsize<=0)return-28;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-28}var node;var lookup=FS.lookupPath(path,{follow:true});node=lookup.node;if(!node){return-44}var perms="";if(amode&4)perms+="r";if(amode&2)perms+="w";if(amode&1)perms+="x";if(perms&&FS.nodePermissions(node,perms)){return-2}return 0},doDup:function(path,flags,suggestFD){var suggest=FS.getStream(suggestFD);if(suggest)FS.close(suggest);return FS.open(path,flags,0,suggestFD,suggestFD).fd},doReadv:function(stream,iov,iovcnt,offset){var ret=0;for(var i=0;i>2];var len=HEAP32[iov+(i*8+4)>>2];var curr=FS.read(stream,HEAP8,ptr,len,offset);if(curr<0)return-1;ret+=curr;if(curr>2];var len=HEAP32[iov+(i*8+4)>>2];var curr=FS.write(stream,HEAP8,ptr,len,offset);if(curr<0)return-1;ret+=curr}return ret},varargs:0,get:function(varargs){SYSCALLS.varargs+=4;var ret=HEAP32[SYSCALLS.varargs-4>>2];return ret},getStr:function(){var ret=UTF8ToString(SYSCALLS.get());return ret},getStreamFromFD:function(fd){if(fd===undefined)fd=SYSCALLS.get();var stream=FS.getStream(fd);if(!stream)throw new FS.ErrnoError(8);return stream},get64:function(){var low=SYSCALLS.get(),high=SYSCALLS.get();return low},getZero:function(){SYSCALLS.get()}};function ___syscall221(which,varargs){SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.getStreamFromFD(),cmd=SYSCALLS.get();switch(cmd){case 0:{var arg=SYSCALLS.get();if(arg<0){return-28}var newStream;newStream=FS.open(stream.path,stream.flags,0,arg);return newStream.fd}case 1:case 2:return 0;case 3:return stream.flags;case 4:{var arg=SYSCALLS.get();stream.flags|=arg;return 0}case 12:{var arg=SYSCALLS.get();var offset=0;HEAP16[arg+offset>>1]=2;return 0}case 13:case 14:return 0;case 16:case 8:return-28;case 9:___setErrNo(28);return-1;default:{return-28}}}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___syscall5(which,varargs){SYSCALLS.varargs=varargs;try{var pathname=SYSCALLS.getStr(),flags=SYSCALLS.get(),mode=SYSCALLS.get();var stream=FS.open(pathname,flags,mode);return stream.fd}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___syscall54(which,varargs){SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.getStreamFromFD(),op=SYSCALLS.get();switch(op){case 21509:case 21505:{if(!stream.tty)return-59;return 0}case 21510:case 21511:case 21512:case 21506:case 21507:case 21508:{if(!stream.tty)return-59;return 0}case 21519:{if(!stream.tty)return-59;var argp=SYSCALLS.get();HEAP32[argp>>2]=0;return 0}case 21520:{if(!stream.tty)return-59;return-28}case 21531:{var argp=SYSCALLS.get();return FS.ioctl(stream,op,argp)}case 21523:{if(!stream.tty)return-59;return 0}case 21524:{if(!stream.tty)return-59;return 0}default:abort("bad ioctl syscall "+op)}}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function __emscripten_syscall_munmap(addr,len){if(addr===-1||len===0){return-28}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}function ___syscall91(which,varargs){SYSCALLS.varargs=varargs;try{var addr=SYSCALLS.get(),len=SYSCALLS.get();return __emscripten_syscall_munmap(addr,len)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___unlock(){}function _fd_close(fd){try{var stream=SYSCALLS.getStreamFromFD(fd);FS.close(stream);return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return e.errno}}function ___wasi_fd_close(){return _fd_close.apply(null,arguments)}function _fd_read(fd,iov,iovcnt,pnum){try{var stream=SYSCALLS.getStreamFromFD(fd);var num=SYSCALLS.doReadv(stream,iov,iovcnt);HEAP32[pnum>>2]=num;return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return e.errno}}function ___wasi_fd_read(){return _fd_read.apply(null,arguments)}function _fd_seek(fd,offset_low,offset_high,whence,newOffset){try{var stream=SYSCALLS.getStreamFromFD(fd);var HIGH_OFFSET=4294967296;var offset=offset_high*HIGH_OFFSET+(offset_low>>>0);var DOUBLE_LIMIT=9007199254740992;if(offset<=-DOUBLE_LIMIT||offset>=DOUBLE_LIMIT){return-61}FS.llseek(stream,offset,whence);tempI64=[stream.position>>>0,(tempDouble=stream.position,+Math_abs(tempDouble)>=1?tempDouble>0?(Math_min(+Math_floor(tempDouble/4294967296),4294967295)|0)>>>0:~~+Math_ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[newOffset>>2]=tempI64[0],HEAP32[newOffset+4>>2]=tempI64[1];if(stream.getdents&&offset===0&&whence===0)stream.getdents=null;return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return e.errno}}function ___wasi_fd_seek(){return _fd_seek.apply(null,arguments)}function _fd_write(fd,iov,iovcnt,pnum){try{var stream=SYSCALLS.getStreamFromFD(fd);var num=SYSCALLS.doWritev(stream,iov,iovcnt);HEAP32[pnum>>2]=num;return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return e.errno}}function ___wasi_fd_write(){return _fd_write.apply(null,arguments)}function getShiftFromSize(size){switch(size){case 1:return 0;case 2:return 1;case 4:return 2;case 8:return 3;default:throw new TypeError("Unknown type size: "+size)}}function embind_init_charCodes(){var codes=new Array(256);for(var i=0;i<256;++i){codes[i]=String.fromCharCode(i)}embind_charCodes=codes}var embind_charCodes=undefined;function readLatin1String(ptr){var ret="";var c=ptr;while(HEAPU8[c]){ret+=embind_charCodes[HEAPU8[c++]]}return ret}var awaitingDependencies={};var registeredTypes={};var typeDependencies={};var char_0=48;var char_9=57;function makeLegalFunctionName(name){if(undefined===name){return"_unknown"}name=name.replace(/[^a-zA-Z0-9_]/g,"$");var f=name.charCodeAt(0);if(f>=char_0&&f<=char_9){return"_"+name}else{return name}}function createNamedFunction(name,body){name=makeLegalFunctionName(name);return new Function("body","return function "+name+"() {\n"+' "use strict";'+" return body.apply(this, arguments);\n"+"};\n")(body)}function extendError(baseErrorType,errorName){var errorClass=createNamedFunction(errorName,function(message){this.name=errorName;this.message=message;var stack=new Error(message).stack;if(stack!==undefined){this.stack=this.toString()+"\n"+stack.replace(/^Error(:[^\n]*)?\n/,"")}});errorClass.prototype=Object.create(baseErrorType.prototype);errorClass.prototype.constructor=errorClass;errorClass.prototype.toString=function(){if(this.message===undefined){return this.name}else{return this.name+": "+this.message}};return errorClass}var BindingError=undefined;function throwBindingError(message){throw new BindingError(message)}var InternalError=undefined;function throwInternalError(message){throw new InternalError(message)}function whenDependentTypesAreResolved(myTypes,dependentTypes,getTypeConverters){myTypes.forEach(function(type){typeDependencies[type]=dependentTypes});function onComplete(typeConverters){var myTypeConverters=getTypeConverters(typeConverters);if(myTypeConverters.length!==myTypes.length){throwInternalError("Mismatched type converter count")}for(var i=0;i>shift])},destructorFunction:null})}function __embind_register_constant(name,type,value){name=readLatin1String(name);whenDependentTypesAreResolved([],[type],function(type){type=type[0];Module[name]=type["fromWireType"](value);return[]})}var emval_free_list=[];var emval_handle_array=[{},{value:undefined},{value:null},{value:true},{value:false}];function __emval_decref(handle){if(handle>4&&0===--emval_handle_array[handle].refcount){emval_handle_array[handle]=undefined;emval_free_list.push(handle)}}function count_emval_handles(){var count=0;for(var i=5;i>2])}function __embind_register_emval(rawType,name){name=readLatin1String(name);registerType(rawType,{name:name,"fromWireType":function(handle){var rv=emval_handle_array[handle].value;__emval_decref(handle);return rv},"toWireType":function(destructors,value){return __emval_register(value)},"argPackAdvance":8,"readValueFromPointer":simpleReadValueFromPointer,destructorFunction:null})}function _embind_repr(v){if(v===null){return"null"}var t=typeof v;if(t==="object"||t==="array"||t==="function"){return v.toString()}else{return""+v}}function floatReadValueFromPointer(name,shift){switch(shift){case 2:return function(pointer){return this["fromWireType"](HEAPF32[pointer>>2])};case 3:return function(pointer){return this["fromWireType"](HEAPF64[pointer>>3])};default:throw new TypeError("Unknown float type: "+name)}}function __embind_register_float(rawType,name,size){var shift=getShiftFromSize(size);name=readLatin1String(name);registerType(rawType,{name:name,"fromWireType":function(value){return value},"toWireType":function(destructors,value){if(typeof value!=="number"&&typeof value!=="boolean"){throw new TypeError('Cannot convert "'+_embind_repr(value)+'" to '+this.name)}return value},"argPackAdvance":8,"readValueFromPointer":floatReadValueFromPointer(name,shift),destructorFunction:null})}function new_(constructor,argumentList){if(!(constructor instanceof Function)){throw new TypeError("new_ called with constructor type "+typeof constructor+" which is not a function")}var dummy=createNamedFunction(constructor.name||"unknownFunctionName",function(){});dummy.prototype=constructor.prototype;var obj=new dummy;var r=constructor.apply(obj,argumentList);return r instanceof Object?r:obj}function runDestructors(destructors){while(destructors.length){var ptr=destructors.pop();var del=destructors.pop();del(ptr)}}function craftInvokerFunction(humanName,argTypes,classType,cppInvokerFunc,cppTargetFunc){var argCount=argTypes.length;if(argCount<2){throwBindingError("argTypes array size mismatch! Must at least get return value and 'this' types!")}var isClassMethodFunc=argTypes[1]!==null&&classType!==null;var needsDestructorStack=false;for(var i=1;i0?", ":"")+argsListWired}invokerFnBody+=(returns?"var rv = ":"")+"invoker(fn"+(argsListWired.length>0?", ":"")+argsListWired+");\n";if(needsDestructorStack){invokerFnBody+="runDestructors(destructors);\n"}else{for(var i=isClassMethodFunc?1:2;i>2)+i])}return array}function replacePublicSymbol(name,value,numArguments){if(!Module.hasOwnProperty(name)){throwInternalError("Replacing nonexistant public symbol")}if(undefined!==Module[name].overloadTable&&undefined!==numArguments){Module[name].overloadTable[numArguments]=value}else{Module[name]=value;Module[name].argCount=numArguments}}function embind__requireFunction(signature,rawFunction){signature=readLatin1String(signature);function makeDynCaller(dynCall){var args=[];for(var i=1;i>1]}:function readU16FromPointer(pointer){return HEAPU16[pointer>>1]};case 2:return signed?function readS32FromPointer(pointer){return HEAP32[pointer>>2]}:function readU32FromPointer(pointer){return HEAPU32[pointer>>2]};default:throw new TypeError("Unknown integer type: "+name)}}function __embind_register_integer(primitiveType,name,size,minRange,maxRange){name=readLatin1String(name);if(maxRange===-1){maxRange=4294967295}var shift=getShiftFromSize(size);var fromWireType=function(value){return value};if(minRange===0){var bitshift=32-8*size;fromWireType=function(value){return value<>>bitshift}}var isUnsignedType=name.indexOf("unsigned")!=-1;registerType(primitiveType,{name:name,"fromWireType":fromWireType,"toWireType":function(destructors,value){if(typeof value!=="number"&&typeof value!=="boolean"){throw new TypeError('Cannot convert "'+_embind_repr(value)+'" to '+this.name)}if(valuemaxRange){throw new TypeError('Passing a number "'+_embind_repr(value)+'" from JS side to C/C++ side to an argument of type "'+name+'", which is outside the valid range ['+minRange+", "+maxRange+"]!")}return isUnsignedType?value>>>0:value|0},"argPackAdvance":8,"readValueFromPointer":integerReadValueFromPointer(name,shift,minRange!==0),destructorFunction:null})}function __embind_register_memory_view(rawType,dataTypeIndex,name){var typeMapping=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array];var TA=typeMapping[dataTypeIndex];function decodeMemoryView(handle){handle=handle>>2;var heap=HEAPU32;var size=heap[handle];var data=heap[handle+1];return new TA(heap["buffer"],data,size)}name=readLatin1String(name);registerType(rawType,{name:name,"fromWireType":decodeMemoryView,"argPackAdvance":8,"readValueFromPointer":decodeMemoryView},{ignoreDuplicateRegistrations:true})}function __embind_register_std_string(rawType,name){name=readLatin1String(name);var stdStringIsUTF8=name==="std::string";registerType(rawType,{name:name,"fromWireType":function(value){var length=HEAPU32[value>>2];var str;if(stdStringIsUTF8){var endChar=HEAPU8[value+4+length];var endCharSwap=0;if(endChar!=0){endCharSwap=endChar;HEAPU8[value+4+length]=0}var decodeStartPtr=value+4;for(var i=0;i<=length;++i){var currentBytePtr=value+4+i;if(HEAPU8[currentBytePtr]==0){var stringSegment=UTF8ToString(decodeStartPtr);if(str===undefined)str=stringSegment;else{str+=String.fromCharCode(0);str+=stringSegment}decodeStartPtr=currentBytePtr+1}}if(endCharSwap!=0)HEAPU8[value+4+length]=endCharSwap}else{var a=new Array(length);for(var i=0;i>2]=length;if(stdStringIsUTF8&&valueIsOfTypeString){stringToUTF8(value,ptr+4,length+1)}else{if(valueIsOfTypeString){for(var i=0;i255){_free(ptr);throwBindingError("String has UTF-16 code units that do not fit in 8 bits")}HEAPU8[ptr+4+i]=charCode}}else{for(var i=0;i>2];var a=new Array(length);var start=value+4>>shift;for(var i=0;i>2]=length;var start=ptr+4>>shift;for(var i=0;i>2]=now/1e3|0;HEAP32[ptr+4>>2]=now%1e3*1e3|0;return 0}function _llvm_exp2_f32(x){return Math.pow(2,x)}function _llvm_stackrestore(p){var self=_llvm_stacksave;var ret=self.LLVM_SAVEDSTACKS[p];self.LLVM_SAVEDSTACKS.splice(p,1);stackRestore(ret)}function _llvm_stacksave(){var self=_llvm_stacksave;if(!self.LLVM_SAVEDSTACKS){self.LLVM_SAVEDSTACKS=[]}self.LLVM_SAVEDSTACKS.push(stackSave());return self.LLVM_SAVEDSTACKS.length-1}var ___tm_current=61008;var ___tm_timezone=(stringToUTF8("GMT",61056,4),61056);function _tzset(){if(_tzset.called)return;_tzset.called=true;HEAP32[__get_timezone()>>2]=(new Date).getTimezoneOffset()*60;var currentYear=(new Date).getFullYear();var winter=new Date(currentYear,0,1);var summer=new Date(currentYear,6,1);HEAP32[__get_daylight()>>2]=Number(winter.getTimezoneOffset()!=summer.getTimezoneOffset());function extractZone(date){var match=date.toTimeString().match(/\(([A-Za-z ]+)\)$/);return match?match[1]:"GMT"}var winterName=extractZone(winter);var summerName=extractZone(summer);var winterNamePtr=allocate(intArrayFromString(winterName),"i8",ALLOC_NORMAL);var summerNamePtr=allocate(intArrayFromString(summerName),"i8",ALLOC_NORMAL);if(summer.getTimezoneOffset()>2]=winterNamePtr;HEAP32[__get_tzname()+4>>2]=summerNamePtr}else{HEAP32[__get_tzname()>>2]=summerNamePtr;HEAP32[__get_tzname()+4>>2]=winterNamePtr}}function _localtime_r(time,tmPtr){_tzset();var date=new Date(HEAP32[time>>2]*1e3);HEAP32[tmPtr>>2]=date.getSeconds();HEAP32[tmPtr+4>>2]=date.getMinutes();HEAP32[tmPtr+8>>2]=date.getHours();HEAP32[tmPtr+12>>2]=date.getDate();HEAP32[tmPtr+16>>2]=date.getMonth();HEAP32[tmPtr+20>>2]=date.getFullYear()-1900;HEAP32[tmPtr+24>>2]=date.getDay();var start=new Date(date.getFullYear(),0,1);var yday=(date.getTime()-start.getTime())/(1e3*60*60*24)|0;HEAP32[tmPtr+28>>2]=yday;HEAP32[tmPtr+36>>2]=-(date.getTimezoneOffset()*60);var summerOffset=new Date(date.getFullYear(),6,1).getTimezoneOffset();var winterOffset=start.getTimezoneOffset();var dst=(summerOffset!=winterOffset&&date.getTimezoneOffset()==Math.min(winterOffset,summerOffset))|0;HEAP32[tmPtr+32>>2]=dst;var zonePtr=HEAP32[__get_tzname()+(dst?4:0)>>2];HEAP32[tmPtr+40>>2]=zonePtr;return tmPtr}function _localtime(time){return _localtime_r(time,___tm_current)}function _longjmp(env,value){_setThrew(env,value||1);throw"longjmp"}function _emscripten_memcpy_big(dest,src,num){HEAPU8.set(HEAPU8.subarray(src,src+num),dest)}function __isLeapYear(year){return year%4===0&&(year%100!==0||year%400===0)}function __arraySum(array,index){var sum=0;for(var i=0;i<=index;sum+=array[i++]);return sum}var __MONTH_DAYS_LEAP=[31,29,31,30,31,30,31,31,30,31,30,31];var __MONTH_DAYS_REGULAR=[31,28,31,30,31,30,31,31,30,31,30,31];function __addDays(date,days){var newDate=new Date(date.getTime());while(days>0){var leap=__isLeapYear(newDate.getFullYear());var currentMonth=newDate.getMonth();var daysInCurrentMonth=(leap?__MONTH_DAYS_LEAP:__MONTH_DAYS_REGULAR)[currentMonth];if(days>daysInCurrentMonth-newDate.getDate()){days-=daysInCurrentMonth-newDate.getDate()+1;newDate.setDate(1);if(currentMonth<11){newDate.setMonth(currentMonth+1)}else{newDate.setMonth(0);newDate.setFullYear(newDate.getFullYear()+1)}}else{newDate.setDate(newDate.getDate()+days);return newDate}}return newDate}function _strftime(s,maxsize,format,tm){var tm_zone=HEAP32[tm+40>>2];var date={tm_sec:HEAP32[tm>>2],tm_min:HEAP32[tm+4>>2],tm_hour:HEAP32[tm+8>>2],tm_mday:HEAP32[tm+12>>2],tm_mon:HEAP32[tm+16>>2],tm_year:HEAP32[tm+20>>2],tm_wday:HEAP32[tm+24>>2],tm_yday:HEAP32[tm+28>>2],tm_isdst:HEAP32[tm+32>>2],tm_gmtoff:HEAP32[tm+36>>2],tm_zone:tm_zone?UTF8ToString(tm_zone):""};var pattern=UTF8ToString(format);var EXPANSION_RULES_1={"%c":"%a %b %d %H:%M:%S %Y","%D":"%m/%d/%y","%F":"%Y-%m-%d","%h":"%b","%r":"%I:%M:%S %p","%R":"%H:%M","%T":"%H:%M:%S","%x":"%m/%d/%y","%X":"%H:%M:%S","%Ec":"%c","%EC":"%C","%Ex":"%m/%d/%y","%EX":"%H:%M:%S","%Ey":"%y","%EY":"%Y","%Od":"%d","%Oe":"%e","%OH":"%H","%OI":"%I","%Om":"%m","%OM":"%M","%OS":"%S","%Ou":"%u","%OU":"%U","%OV":"%V","%Ow":"%w","%OW":"%W","%Oy":"%y"};for(var rule in EXPANSION_RULES_1){pattern=pattern.replace(new RegExp(rule,"g"),EXPANSION_RULES_1[rule])}var WEEKDAYS=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"];var MONTHS=["January","February","March","April","May","June","July","August","September","October","November","December"];function leadingSomething(value,digits,character){var str=typeof value==="number"?value.toString():value||"";while(str.length0?1:0}var compare;if((compare=sgn(date1.getFullYear()-date2.getFullYear()))===0){if((compare=sgn(date1.getMonth()-date2.getMonth()))===0){compare=sgn(date1.getDate()-date2.getDate())}}return compare}function getFirstWeekStartDate(janFourth){switch(janFourth.getDay()){case 0:return new Date(janFourth.getFullYear()-1,11,29);case 1:return janFourth;case 2:return new Date(janFourth.getFullYear(),0,3);case 3:return new Date(janFourth.getFullYear(),0,2);case 4:return new Date(janFourth.getFullYear(),0,1);case 5:return new Date(janFourth.getFullYear()-1,11,31);case 6:return new Date(janFourth.getFullYear()-1,11,30)}}function getWeekBasedYear(date){var thisDate=__addDays(new Date(date.tm_year+1900,0,1),date.tm_yday);var janFourthThisYear=new Date(thisDate.getFullYear(),0,4);var janFourthNextYear=new Date(thisDate.getFullYear()+1,0,4);var firstWeekStartThisYear=getFirstWeekStartDate(janFourthThisYear);var firstWeekStartNextYear=getFirstWeekStartDate(janFourthNextYear);if(compareByDay(firstWeekStartThisYear,thisDate)<=0){if(compareByDay(firstWeekStartNextYear,thisDate)<=0){return thisDate.getFullYear()+1}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){return date.tm_wday||7},"%U":function(date){var janFirst=new Date(date.tm_year+1900,0,1);var firstSunday=janFirst.getDay()===0?janFirst:__addDays(janFirst,7-janFirst.getDay());var endDate=new Date(date.tm_year+1900,date.tm_mon,date.tm_mday);if(compareByDay(firstSunday,endDate)<0){var februaryFirstUntilEndMonth=__arraySum(__isLeapYear(endDate.getFullYear())?__MONTH_DAYS_LEAP:__MONTH_DAYS_REGULAR,endDate.getMonth()-1)-31;var firstSundayUntilEndJanuary=31-firstSunday.getDate();var days=firstSundayUntilEndJanuary+februaryFirstUntilEndMonth+endDate.getDate();return leadingNulls(Math.ceil(days/7),2)}return compareByDay(firstSunday,janFirst)===0?"01":"00"},"%V":function(date){var janFourthThisYear=new Date(date.tm_year+1900,0,4);var janFourthNextYear=new Date(date.tm_year+1901,0,4);var firstWeekStartThisYear=getFirstWeekStartDate(janFourthThisYear);var firstWeekStartNextYear=getFirstWeekStartDate(janFourthNextYear);var endDate=__addDays(new Date(date.tm_year+1900,0,1),date.tm_yday);if(compareByDay(endDate,firstWeekStartThisYear)<0){return"53"}if(compareByDay(firstWeekStartNextYear,endDate)<=0){return"01"}var daysDifference;if(firstWeekStartThisYear.getFullYear()=0;off=Math.abs(off)/60;off=off/60*100+off%60;return(ahead?"+":"-")+String("0000"+off).slice(-4)},"%Z":function(date){return date.tm_zone},"%%":function(){return"%"}};for(var rule in EXPANSION_RULES_2){if(pattern.indexOf(rule)>=0){pattern=pattern.replace(new RegExp(rule,"g"),EXPANSION_RULES_2[rule](date))}}var bytes=intArrayFromString(pattern,false);if(bytes.length>maxsize){return 0}writeArrayToMemory(bytes,s);return bytes.length-1}function _strftime_l(s,maxsize,format,tm){return _strftime(s,maxsize,format,tm)}function _time(ptr){var ret=Date.now()/1e3|0;if(ptr){HEAP32[ptr>>2]=ret}return ret}FS.staticInit();embind_init_charCodes();BindingError=Module["BindingError"]=extendError(Error,"BindingError");InternalError=Module["InternalError"]=extendError(Error,"InternalError");init_emval();UnboundTypeError=Module["UnboundTypeError"]=extendError(Error,"UnboundTypeError");function intArrayFromString(stringy,dontAddNull,length){var len=length>0?length:lengthBytesUTF8(stringy)+1;var u8array=new Array(len);var numBytesWritten=stringToUTF8Array(stringy,u8array,0,u8array.length);if(dontAddNull)u8array.length=numBytesWritten;return u8array}function invoke_ii(index,a1){var sp=stackSave();try{return dynCall_ii(index,a1)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_iii(index,a1,a2){var sp=stackSave();try{return dynCall_iii(index,a1,a2)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_iiii(index,a1,a2,a3){var sp=stackSave();try{return dynCall_iiii(index,a1,a2,a3)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_vi(index,a1){var sp=stackSave();try{dynCall_vi(index,a1)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_vii(index,a1,a2){var sp=stackSave();try{dynCall_vii(index,a1,a2)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viii(index,a1,a2,a3){var sp=stackSave();try{dynCall_viii(index,a1,a2,a3)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viiii(index,a1,a2,a3,a4){var sp=stackSave();try{dynCall_viiii(index,a1,a2,a3,a4)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}var asmGlobalArg={};var asmLibraryArg={"$":___buildEnvironment,"f":___cxa_allocate_exception,"e":___cxa_throw,"z":___lock,"_":___map_file,"y":___syscall221,"Z":___syscall5,"Y":___syscall54,"X":___syscall91,"o":___unlock,"x":___wasi_fd_close,"W":___wasi_fd_read,"C":___wasi_fd_seek,"V":___wasi_fd_write,"U":__embind_register_bool,"w":__embind_register_constant,"T":__embind_register_emval,"v":__embind_register_float,"j":__embind_register_function,"k":__embind_register_integer,"i":__embind_register_memory_view,"u":__embind_register_std_string,"S":__embind_register_std_wstring,"R":__embind_register_void,"__memory_base":1024,"__table_base":0,"a":_abort,"Q":_emscripten_asm_const_ii,"P":_emscripten_asm_const_iiddddddddddddd,"O":_emscripten_asm_const_iiiid,"N":_emscripten_asm_const_iiiiiii,"M":_emscripten_asm_const_iiiiiiiidddddddddddddddddddddddddi,"L":_emscripten_get_heap_size,"J":_emscripten_memcpy_big,"I":_emscripten_resize_heap,"b":_exit,"n":_getenv,"t":_gettimeofday,"H":_llvm_exp2_f32,"m":_llvm_stackrestore,"l":_llvm_stacksave,"G":_localtime,"g":_longjmp,"E":_strftime,"D":_strftime_l,"s":_time,"c":abort,"h":getTempRet0,"q":invoke_ii,"K":invoke_iii,"F":invoke_iiii,"p":invoke_vi,"B":invoke_vii,"A":invoke_viii,"r":invoke_viiii,"memory":wasmMemory,"d":setTempRet0,"table":wasmTable};var asm=Module["asm"](asmGlobalArg,asmLibraryArg,buffer);Module["asm"]=asm;var __GLOBAL__sub_I_ARToolKitJS_cpp=Module["__GLOBAL__sub_I_ARToolKitJS_cpp"]=function(){return Module["asm"]["aa"].apply(null,arguments)};var __GLOBAL__sub_I_bind_cpp=Module["__GLOBAL__sub_I_bind_cpp"]=function(){return Module["asm"]["ba"].apply(null,arguments)};var __GLOBAL__sub_I_iostream_cpp=Module["__GLOBAL__sub_I_iostream_cpp"]=function(){return Module["asm"]["ca"].apply(null,arguments)};var __ZSt18uncaught_exceptionv=Module["__ZSt18uncaught_exceptionv"]=function(){return Module["asm"]["da"].apply(null,arguments)};var ___embind_register_native_and_builtin_types=Module["___embind_register_native_and_builtin_types"]=function(){return Module["asm"]["ea"].apply(null,arguments)};var ___emscripten_environ_constructor=Module["___emscripten_environ_constructor"]=function(){return Module["asm"]["fa"].apply(null,arguments)};var ___errno_location=Module["___errno_location"]=function(){return Module["asm"]["ga"].apply(null,arguments)};var ___getTypeName=Module["___getTypeName"]=function(){return Module["asm"]["ha"].apply(null,arguments)};var __get_daylight=Module["__get_daylight"]=function(){return Module["asm"]["ia"].apply(null,arguments)};var __get_timezone=Module["__get_timezone"]=function(){return Module["asm"]["ja"].apply(null,arguments)};var __get_tzname=Module["__get_tzname"]=function(){return Module["asm"]["ka"].apply(null,arguments)};var _free=Module["_free"]=function(){return Module["asm"]["la"].apply(null,arguments)};var _malloc=Module["_malloc"]=function(){return Module["asm"]["ma"].apply(null,arguments)};var _setThrew=Module["_setThrew"]=function(){return Module["asm"]["na"].apply(null,arguments)};var stackAlloc=Module["stackAlloc"]=function(){return Module["asm"]["Ra"].apply(null,arguments)};var stackRestore=Module["stackRestore"]=function(){return Module["asm"]["Sa"].apply(null,arguments)};var stackSave=Module["stackSave"]=function(){return Module["asm"]["Ta"].apply(null,arguments)};var dynCall_di=Module["dynCall_di"]=function(){return Module["asm"]["oa"].apply(null,arguments)};var dynCall_dii=Module["dynCall_dii"]=function(){return Module["asm"]["pa"].apply(null,arguments)};var dynCall_i=Module["dynCall_i"]=function(){return Module["asm"]["qa"].apply(null,arguments)};var dynCall_ii=Module["dynCall_ii"]=function(){return Module["asm"]["ra"].apply(null,arguments)};var dynCall_iidiiii=Module["dynCall_iidiiii"]=function(){return Module["asm"]["sa"].apply(null,arguments)};var dynCall_iii=Module["dynCall_iii"]=function(){return Module["asm"]["ta"].apply(null,arguments)};var dynCall_iiii=Module["dynCall_iiii"]=function(){return Module["asm"]["ua"].apply(null,arguments)};var dynCall_iiiii=Module["dynCall_iiiii"]=function(){return Module["asm"]["va"].apply(null,arguments)};var dynCall_iiiiid=Module["dynCall_iiiiid"]=function(){return Module["asm"]["wa"].apply(null,arguments)};var dynCall_iiiiii=Module["dynCall_iiiiii"]=function(){return Module["asm"]["xa"].apply(null,arguments)};var dynCall_iiiiiid=Module["dynCall_iiiiiid"]=function(){return Module["asm"]["ya"].apply(null,arguments)};var dynCall_iiiiiii=Module["dynCall_iiiiiii"]=function(){return Module["asm"]["za"].apply(null,arguments)};var dynCall_iiiiiiii=Module["dynCall_iiiiiiii"]=function(){return Module["asm"]["Aa"].apply(null,arguments)};var dynCall_iiiiiiiii=Module["dynCall_iiiiiiiii"]=function(){return Module["asm"]["Ba"].apply(null,arguments)};var dynCall_iiiiij=Module["dynCall_iiiiij"]=function(){return Module["asm"]["Ca"].apply(null,arguments)};var dynCall_jiji=Module["dynCall_jiji"]=function(){return Module["asm"]["Da"].apply(null,arguments)};var dynCall_v=Module["dynCall_v"]=function(){return Module["asm"]["Ea"].apply(null,arguments)};var dynCall_vi=Module["dynCall_vi"]=function(){return Module["asm"]["Fa"].apply(null,arguments)};var dynCall_vid=Module["dynCall_vid"]=function(){return Module["asm"]["Ga"].apply(null,arguments)};var dynCall_vif=Module["dynCall_vif"]=function(){return Module["asm"]["Ha"].apply(null,arguments)};var dynCall_vii=Module["dynCall_vii"]=function(){return Module["asm"]["Ia"].apply(null,arguments)};var dynCall_viid=Module["dynCall_viid"]=function(){return Module["asm"]["Ja"].apply(null,arguments)};var dynCall_viif=Module["dynCall_viif"]=function(){return Module["asm"]["Ka"].apply(null,arguments)};var dynCall_viii=Module["dynCall_viii"]=function(){return Module["asm"]["La"].apply(null,arguments)};var dynCall_viiii=Module["dynCall_viiii"]=function(){return Module["asm"]["Ma"].apply(null,arguments)};var dynCall_viiiii=Module["dynCall_viiiii"]=function(){return Module["asm"]["Na"].apply(null,arguments)};var dynCall_viiiiii=Module["dynCall_viiiiii"]=function(){return Module["asm"]["Oa"].apply(null,arguments)};var dynCall_viiiiiii=Module["dynCall_viiiiiii"]=function(){return Module["asm"]["Pa"].apply(null,arguments)};var dynCall_viijii=Module["dynCall_viijii"]=function(){return Module["asm"]["Qa"].apply(null,arguments)};Module["asm"]=asm;var calledRun;function ExitStatus(status){this.name="ExitStatus";this.message="Program terminated with exit("+status+")";this.status=status}dependenciesFulfilled=function runCaller(){if(!calledRun)run();if(!calledRun)dependenciesFulfilled=runCaller};function run(args){args=args||arguments_;if(runDependencies>0){return}preRun();if(runDependencies>0)return;function doRun(){if(calledRun)return;calledRun=true;if(ABORT)return;initRuntime();preMain();if(Module["onRuntimeInitialized"])Module["onRuntimeInitialized"]();postRun()}if(Module["setStatus"]){Module["setStatus"]("Running...");setTimeout(function(){setTimeout(function(){Module["setStatus"]("")},1);doRun()},1)}else{doRun()}}Module["run"]=run;function exit(status,implicit){if(implicit&&noExitRuntime&&status===0){return}if(noExitRuntime){}else{ABORT=true;EXITSTATUS=status;exitRuntime();if(Module["onExit"])Module["onExit"](status)}quit_(status,new ExitStatus(status))}if(Module["preInit"]){if(typeof Module["preInit"]=="function")Module["preInit"]=[Module["preInit"]];while(Module["preInit"].length>0){Module["preInit"].pop()()}}noExitRuntime=true;run(); diff --git a/build/artoolkit_wasm.wasm b/build/artoolkit_wasm.wasm index 2bdb8527..d0b39b15 100644 Binary files a/build/artoolkit_wasm.wasm and b/build/artoolkit_wasm.wasm differ diff --git a/emscripten/ARBindEM.cpp b/emscripten/ARBindEM.cpp index 1dd53415..027e5e81 100644 --- a/emscripten/ARBindEM.cpp +++ b/emscripten/ARBindEM.cpp @@ -144,4 +144,9 @@ EMSCRIPTEN_BINDINGS(constant_bindings) { constant("AR_MARKER_INFO_CUTOFF_PHASE_POSE_ERROR", AR_MARKER_INFO_CUTOFF_PHASE_POSE_ERROR + 0); constant("AR_MARKER_INFO_CUTOFF_PHASE_POSE_ERROR_MULTI", AR_MARKER_INFO_CUTOFF_PHASE_POSE_ERROR_MULTI + 0); constant("AR_MARKER_INFO_CUTOFF_PHASE_HEURISTIC_TROUBLESOME_MATRIX_CODES", AR_MARKER_INFO_CUTOFF_PHASE_HEURISTIC_TROUBLESOME_MATRIX_CODES + 0); + + /* Filter Trans Mat defaults for arFilterTransMatInit */ + constant("AR_FILTER_TRANS_MAT_SAMPLE_RATE_DEFAULT", AR_FILTER_TRANS_MAT_SAMPLE_RATE_DEFAULT); + constant("AR_FILTER_TRANS_MAT_CUTOFF_FREQ_DEFAULT", AR_FILTER_TRANS_MAT_CUTOFF_FREQ_DEFAULT); + } diff --git a/emscripten/ARToolKitJS.cpp b/emscripten/ARToolKitJS.cpp index 7d5bb406..f33329dd 100644 --- a/emscripten/ARToolKitJS.cpp +++ b/emscripten/ARToolKitJS.cpp @@ -54,6 +54,12 @@ struct arController { KpmHandle* kpmHandle; AR2HandleT* ar2Handle; + #if WITH_FILTERING + ARFilterTransMatInfo *ftmi; + ARdouble filterCutoffFrequency = 60.0; + ARdouble filterSampleRate = 120.0; + #endif + int detectedPage = -2; // -2 Tracking not inited, -1 tracking inited OK, >= 0 tracking online on page. int surfaceSetCount = 0; // Running NFT marker id @@ -96,6 +102,22 @@ extern "C" { NFT API bindings */ + void matrixLerp(ARdouble src[3][4], ARdouble dst[3][4], float interpolationFactor) { + for (int i=0; i<3; i++) { + for (int j=0; j<4; j++) { + dst[i][j] = (1 - interpolationFactor) * src[i][j] + interpolationFactor * dst[i][j]; + } + } + } + + void matrixLerp2(ARdouble src[3][4], ARdouble dst[3][4], float interpolationFactor) { + for (int i=0; i<3; i++) { + for (int j=0; j<4; j++) { + dst[i][j] = dst[i][j] + (src[i][j] - dst[i][j]) / interpolationFactor; + } + } + } + int getNFTMarkerInfo(int id, int markerIndex) { if (arControllers.find(id) == arControllers.end()) { return ARCONTROLLER_NOT_FOUND; } arController *arc = &(arControllers[id]); @@ -108,10 +130,22 @@ extern "C" { int kpmResultNum = -1; float trans[3][4]; + + #if WITH_FILTERING + ARdouble transF[3][4]; + ARdouble transFLerp[3][4]; + memset( transFLerp, 0, 3 * 4 * sizeof(ARdouble) ); + #endif + float err = -1; if (arc->detectedPage == -2) { kpmMatching( arc->kpmHandle, arc->videoLuma ); kpmGetResult( arc->kpmHandle, &kpmResult, &kpmResultNum ); + + #if WITH_FILTERING + arc->ftmi = arFilterTransMatInit(arc->filterSampleRate, arc->filterCutoffFrequency); + #endif + int i, j, k; int flag = -1; for( i = 0; i < kpmResultNum; i++ ) { @@ -139,6 +173,28 @@ extern "C" { if (arc->detectedPage >= 0) { int trackResult = ar2TrackingMod(arc->ar2Handle, arc->surfaceSet[arc->detectedPage], arc->videoFrame, trans, &err); + + #if WITH_FILTERING + for (int j = 0; j < 3; j++) { + for (int k = 0; k < 4; k++) { + transF[j][k] = trans[j][k]; + } + } + + bool reset; + if (trackResult < 0) { + reset = 1; + } else { + reset = 0; + } + + if (arFilterTransMat(arc->ftmi, transF, reset) < 0) { + ARLOGe("arFilterTransMat error with marker %d.\n", markerIndex); + } + + matrixLerp2(transF, transFLerp, 0.95); + #endif + if( trackResult < 0 ) { ARLOGi("Tracking lost. %d\n", trackResult); arc->detectedPage = -2; @@ -179,6 +235,25 @@ extern "C" { markerIndex, err, + #if WITH_FILTERING + + transFLerp[0][0], + transFLerp[0][1], + transFLerp[0][2], + transFLerp[0][3], + + transFLerp[1][0], + transFLerp[1][1], + transFLerp[1][2], + transFLerp[1][3], + + transFLerp[2][0], + transFLerp[2][1], + transFLerp[2][2], + transFLerp[2][3] + + #else + trans[0][0], trans[0][1], trans[0][2], @@ -193,6 +268,8 @@ extern "C" { trans[2][1], trans[2][2], trans[2][3] + + #endif ); } else { EM_ASM_({ @@ -347,6 +424,13 @@ extern "C" { arPattDetach(arc->arhandle); arDeleteHandle(arc->arhandle); arc->arhandle = NULL; + + #if WITH_FILTERING + if (arc->ftmi) { + arFilterTransMatFinal(arc->ftmi); + arc->ftmi = NULL; + } + #endif } if (arc->ar3DHandle != NULL) { ar3DDeleteHandle(&(arc->ar3DHandle)); diff --git a/emscripten/NaiveFilter.h b/emscripten/NaiveFilter.h new file mode 100644 index 00000000..5cfb9a3f --- /dev/null +++ b/emscripten/NaiveFilter.h @@ -0,0 +1,32 @@ +#pragma once + +// This implementation "inspired" by a questionable interpretation of a Kalman Filter. +template +class NaiveFilter +{ +public: + NaiveFilter(PointT initialEstimate, double lambda) + : m_lastEstimate{ initialEstimate } + , m_lambda{ lambda } + {} + + void Update(PointT& measurement, double deltaT) + { + auto measurementDelta = measurement - m_lastEstimate; + double measurementError = measurementDelta.dot(measurementDelta); + + double gain = (m_lastEstimateError + EPSILON) / (m_lastEstimateError + measurementError + EPSILON); + + m_lastEstimate += gain * measurementDelta; + m_lastEstimateError = std::max((1.f - gain) * m_lastEstimateError, m_lambda * deltaT * measurementError); + + measurement = m_lastEstimate; + } + +private: + static constexpr double EPSILON = 0.00001; // To prevent gain from becoming NaN. + const double m_lambda{}; + + PointT m_lastEstimate{}; + double m_lastEstimateError{ 10.f }; +}; diff --git a/examples/nft_improved_worker/index.html b/examples/nft_improved_worker/index.html index 1dd90b25..01301906 100644 --- a/examples/nft_improved_worker/index.html +++ b/examples/nft_improved_worker/index.html @@ -10,9 +10,12 @@

jsartoolkit5 demos with ar2Tracking

Examples:

diff --git a/examples/nft_improved_worker/main_threejs_filter_wasm_worker.html b/examples/nft_improved_worker/main_threejs_filter_wasm_worker.html new file mode 100644 index 00000000..d462bcc2 --- /dev/null +++ b/examples/nft_improved_worker/main_threejs_filter_wasm_worker.html @@ -0,0 +1,140 @@ + + + + + NFT marker example with a WebWorker, WASM and with Three.js + + + + +
+ + Loading, please wait +
+ + +
+ +
+

+ Main +

+
+ +
+

+ Worker +

+
+ +
+ + + +
+ + + +
+ + + 🖼 Marker Image + + + + + + + + + diff --git a/examples/nft_improved_worker/main_threejs_filter_worker.html b/examples/nft_improved_worker/main_threejs_filter_worker.html new file mode 100644 index 00000000..bc39d526 --- /dev/null +++ b/examples/nft_improved_worker/main_threejs_filter_worker.html @@ -0,0 +1,141 @@ + + + + + NFT marker example with a WebWorker and Three.js + + + + +
+ + Loading, please wait +
+ + +
+ +
+

+ Main +

+
+ +
+

+ Worker +

+
+ +
+ + + +
+ + + +
+ + + 🖼 Marker Image + + + + + + + + + + diff --git a/examples/nft_improved_worker/main_threejs_filter_worker_gltf.html b/examples/nft_improved_worker/main_threejs_filter_worker_gltf.html new file mode 100644 index 00000000..ee7e9f12 --- /dev/null +++ b/examples/nft_improved_worker/main_threejs_filter_worker_gltf.html @@ -0,0 +1,134 @@ + + + + + NFT marker example with a WebWorker and Three.js + + + + +
+ + Loading, please wait +
+ + +
+ +
+

+ Main +

+
+ +
+

+ Worker +

+
+ +
+ + + +
+ + + +
+ + + 🖼 Marker Image + + + + + + + + + + + diff --git a/examples/nft_improved_worker/threejs_filter_worker.js b/examples/nft_improved_worker/threejs_filter_worker.js new file mode 100644 index 00000000..5ae340e1 --- /dev/null +++ b/examples/nft_improved_worker/threejs_filter_worker.js @@ -0,0 +1,186 @@ +function isMobile() { + return /Android|mobile|iPad|iPhone/i.test(navigator.userAgent); +} + +var markers = { + "pinball": { + width: 1637, + height: 2048, + dpi: 250, + url: "./examples/DataNFT/pinball", + }, +}; + +var setMatrix = function (matrix, value) { + var array = []; + for (var key in value) { + array[key] = value[key]; + } + if (typeof matrix.elements.set === "function") { + matrix.elements.set(array); + } else { + matrix.elements = [].slice.call(array); + } +}; + +function start(container, marker, video, input_width, input_height, canvas_draw, render_update, track_update, greyCover) { + var vw, vh; + var sw, sh; + var pscale, sscale; + var w, h; + var pw, ph; + var ox, oy; + var worker; + var camera_para = './../examples/Data/camera_para-iPhone 5 rear 640x480 1.0m.dat' + + var canvas_process = document.createElement('canvas'); + var context_process = canvas_process.getContext('2d'); + + var renderer = new THREE.WebGLRenderer({ canvas: canvas_draw, alpha: true, antialias: true }); + renderer.setPixelRatio(window.devicePixelRatio); + + var scene = new THREE.Scene(); + + var camera = new THREE.Camera(); + camera.matrixAutoUpdate = false; + + scene.add(camera); + + var sphere = new THREE.Mesh( + new THREE.SphereGeometry(0.5, 8, 8), + new THREE.MeshNormalMaterial() + ); + + var root = new THREE.Object3D(); + scene.add(root); + + sphere.material.flatShading; + sphere.position.z = 0; + sphere.position.x = 100; + sphere.position.y = 100; + sphere.scale.set(200, 200, 200); + + root.matrixAutoUpdate = false; + root.add(sphere); + + var load = function() { + vw = input_width; + vh = input_height; + + pscale = 320 / Math.max(vw, vh / 3 * 4); + sscale = isMobile() ? window.outerWidth / input_width : 1; + + sw = vw * sscale; + sh = vh * sscale; + video.style.width = sw + "px"; + video.style.height = sh + "px"; + container.style.width = sw + "px"; + container.style.height = sh + "px"; + canvas_draw.style.clientWidth = sw + "px"; + canvas_draw.style.clientHeight = sh + "px"; + canvas_draw.width = sw; + canvas_draw.height = sh; + w = vw * pscale; + h = vh * pscale; + pw = Math.max(w, h / 3 * 4); + ph = Math.max(h, w / 4 * 3); + ox = (pw - w) / 2; + oy = (ph - h) / 2; + canvas_process.style.clientWidth = pw + "px"; + canvas_process.style.clientHeight = ph + "px"; + canvas_process.width = pw; + canvas_process.height = ph; + + renderer.setSize(sw, sh); + + worker = new Worker('../../js/artoolkit.worker.js'); + + worker.postMessage({ type: "load", pw: pw, ph: ph, camera_para: camera_para, marker: '../' + marker.url }); + + worker.onmessage = function(ev) { + var msg = ev.data; + switch (msg.type) { + case "loaded": { + var proj = JSON.parse(msg.proj); + var ratioW = pw / w; + var ratioH = ph / h; + proj[0] *= ratioW; + proj[4] *= ratioW; + proj[8] *= ratioW; + proj[12] *= ratioW; + proj[1] *= ratioH; + proj[5] *= ratioH; + proj[9] *= ratioH; + proj[13] *= ratioH; + setMatrix(camera.projectionMatrix, proj); + break; + } + case "endLoading": { + if (msg.end == true) + // removing loader page if present + document.body.classList.remove("loading"); + document.getElementById("loading").remove(); + break; + } + case "found": { + found(msg); + break; + } + case "not found": { + found(null); + break; + } + } + track_update(); + process(); + }; + }; + + var world; + + var found = function(msg) { + if (!msg) { + world = null; + } else { + world = JSON.parse(msg.matrixGL_RH); + } + }; + + var lasttime = Date.now(); + var time = 0; + + + var draw = function() { + render_update(); + var now = Date.now(); + var dt = now - lasttime; + time += dt; + lasttime = now; + + if (!world) { + sphere.visible = false; + } else { + sphere.visible = true; + // set matrix of 'root' by detected 'world' matrix + setMatrix(root.matrix, world); + } + renderer.render(scene, camera); + }; + + function process() { + context_process.fillStyle = "black"; + context_process.fillRect(0, 0, pw, ph); + context_process.drawImage(video, 0, 0, vw, vh, ox, oy, w, h); + + var imageData = context_process.getImageData(0, 0, pw, ph); + worker.postMessage({ type: "process", imagedata: imageData }, [imageData.data.buffer]); + } + var tick = function() { + draw(); + requestAnimationFrame(tick); + }; + + load(); + tick(); + process(); +} diff --git a/examples/nft_improved_worker/threejs_filter_worker_gltf.js b/examples/nft_improved_worker/threejs_filter_worker_gltf.js new file mode 100644 index 00000000..4e0dff73 --- /dev/null +++ b/examples/nft_improved_worker/threejs_filter_worker_gltf.js @@ -0,0 +1,236 @@ +var model; +var clock = new THREE.Clock(); +var mixers = []; + +function isMobile() { + return /Android|mobile|iPad|iPhone/i.test(navigator.userAgent); +} + +var markers = { + pinball: { + width: 1637, + height: 2048, + dpi: 215, + url: "../examples/DataNFT/pinball" + } +}; + +var setMatrix = function (matrix, value) { + var array = []; + for (var key in value) { + array[key] = value[key]; + } + if (typeof matrix.elements.set === "function") { + matrix.elements.set(array); + } else { + matrix.elements = [].slice.call(array); + } +}; + +function start( container, marker, video, input_width, input_height, canvas_draw, render_update, track_update) { + var vw, vh; + var sw, sh; + var pscale, sscale; + var w, h; + var pw, ph; + var ox, oy; + var worker; + var camera_para = "./../examples/Data/camera_para-iPhone 5 rear 640x480 1.0m.dat"; + + var canvas_process = document.createElement("canvas"); + var context_process = canvas_process.getContext("2d"); + + // var context_draw = canvas_draw.getContext('2d'); + var renderer = new THREE.WebGLRenderer({ + canvas: canvas_draw, + alpha: true, + antialias: true, + precision: 'mediump', + }); + renderer.setPixelRatio(window.devicePixelRatio); + + var scene = new THREE.Scene(); + + var camera = new THREE.Camera(); + camera.matrixAutoUpdate = false; + // var camera = new THREE.PerspectiveCamera(70, window.innerWidth / window.innerHeight, 1, 1000); + // camera.position.z = 400; + + scene.add(camera); + + var light = new THREE.AmbientLight(0xffffff); + scene.add(light); + + var sphere = new THREE.Mesh( + new THREE.SphereGeometry(0.5, 8, 8), + new THREE.MeshNormalMaterial() + ); + + var root = new THREE.Object3D(); + scene.add(root); + + /* Load Model */ + var threeGLTFLoader = new THREE.GLTFLoader(); + + threeGLTFLoader.load("../Data/models/Flamingo.glb", function (gltf) { + model = gltf.scene.children[0]; + model.position.z = 0; + model.position.x = 100; + model.position.y = 100; + + var animation = gltf.animations[0]; + var mixer = new THREE.AnimationMixer(model); + mixers.push(mixer); + var action = mixer.clipAction(animation); + action.play(); + + root.matrixAutoUpdate = false; + root.add(model); + } + ); + + var load = function() { + vw = input_width; + vh = input_height; + + pscale = 320 / Math.max(vw, (vh / 3) * 4); + sscale = isMobile() ? window.outerWidth / input_width : 1; + + sw = vw * sscale; + sh = vh * sscale; + video.style.width = sw + "px"; + video.style.height = sh + "px"; + container.style.width = sw + "px"; + container.style.height = sh + "px"; + canvas_draw.style.clientWidth = sw + "px"; + canvas_draw.style.clientHeight = sh + "px"; + canvas_draw.width = sw; + canvas_draw.height = sh; + w = vw * pscale; + h = vh * pscale; + pw = Math.max(w, (h / 3) * 4); + ph = Math.max(h, (w / 4) * 3); + ox = (pw - w) / 2; + oy = (ph - h) / 2; + canvas_process.style.clientWidth = pw + "px"; + canvas_process.style.clientHeight = ph + "px"; + canvas_process.width = pw; + canvas_process.height = ph; + + renderer.setSize(sw, sh); + + worker = new Worker("../../js/artoolkit.worker.js"); + + worker.postMessage({ + type: "load", + pw: pw, + ph: ph, + camera_para: camera_para, + marker: marker.url + }); + + worker.onmessage = function(ev) { + var msg = ev.data; + switch (msg.type) { + case "loaded": { + var proj = JSON.parse(msg.proj); + var ratioW = pw / w; + var ratioH = ph / h; + proj[0] *= ratioW; + proj[4] *= ratioW; + proj[8] *= ratioW; + proj[12] *= ratioW; + proj[1] *= ratioH; + proj[5] *= ratioH; + proj[9] *= ratioH; + proj[13] *= ratioH; + setMatrix(camera.projectionMatrix, proj); + break; + } + + case "endLoading": { + if (msg.end == true) { + // removing loader page if present + var loader = document.getElementById('loading'); + if (loader) { + loader.querySelector('.loading-text').innerText = 'Start the tracking!'; + setTimeout(function(){ + loader.parentElement.removeChild(loader); + }, 2000); + } + } + break; + } + + case "found": { + found(msg); + break; + } + case "not found": { + found(null); + break; + } + } + track_update(); + process(); + }; + }; + + var world; + + var found = function(msg) { + if (!msg) { + world = null; + } else { + world = JSON.parse(msg.matrixGL_RH); + } + }; + + var lasttime = Date.now(); + var time = 0; + + function process() { + context_process.fillStyle = "black"; + context_process.fillRect(0, 0, pw, ph); + context_process.drawImage(video, 0, 0, vw, vh, ox, oy, w, h); + + var imageData = context_process.getImageData(0, 0, pw, ph); + worker.postMessage({ type: "process", imagedata: imageData }, [ + imageData.data.buffer + ]); + } + + var tick = function() { + draw(); + requestAnimationFrame(tick); + + if (mixers.length > 0) { + for (var i = 0; i < mixers.length; i++) { + mixers[i].update(clock.getDelta()); + } + } + }; + + var draw = function() { + render_update(); + var now = Date.now(); + var dt = now - lasttime; + time += dt; + lasttime = now; + + if (!world) { + root.visible = false; + } else { + root.visible = true; + + // set matrix of 'root' by detected 'world' matrix + setMatrix(root.matrix, world); + } + + renderer.render(scene, camera); + }; + + load(); + tick(); + process(); +} diff --git a/examples/nft_improved_worker/threejs_wasm_filter_worker.js b/examples/nft_improved_worker/threejs_wasm_filter_worker.js new file mode 100644 index 00000000..2d92141d --- /dev/null +++ b/examples/nft_improved_worker/threejs_wasm_filter_worker.js @@ -0,0 +1,196 @@ +function isMobile() { + return /Android|mobile|iPad|iPhone/i.test(navigator.userAgent); +} + +var markers = { + "pinball": { + width: 1637, + height: 2048, + dpi: 250, + url: "../DataNFT/pinball", + }, +}; + +var setMatrix = function (matrix, value) { + var array = []; + for (var key in value) { + array[key] = value[key]; + } + if (typeof matrix.elements.set === "function") { + matrix.elements.set(array); + } else { + matrix.elements = [].slice.call(array); + } +}; + +//var worker; +function start(container, marker, video, input_width, input_height, canvas_draw, render_update, track_update) { + worker = new Worker('wasm_worker/artoolkit.wasm_worker.js'); + worker.onmessage = function(ev) { + start2(container, marker, video, input_width, input_height, canvas_draw, render_update, track_update); + } +} + +function start2(container, marker, video, input_width, input_height, canvas_draw, render_update, track_update) { + var vw, vh; + var sw, sh; + var pscale, sscale; + var w, h; + var pw, ph; + var ox, oy; + var camera_para = './../../Data/camera_para-iPhone 5 rear 640x480 1.0m.dat' + + var canvas_process = document.createElement('canvas'); + var context_process = canvas_process.getContext('2d'); + + var renderer = new THREE.WebGLRenderer({canvas: canvas_draw, alpha: true, antialias: true}); + renderer.setPixelRatio(window.devicePixelRatio); + + var scene = new THREE.Scene(); + + var camera = new THREE.Camera(); + camera.matrixAutoUpdate = false; + + scene.add(camera); + + var sphere = new THREE.Mesh( + new THREE.SphereGeometry(0.5, 8, 8), + new THREE.MeshNormalMaterial() + ); + + var root = new THREE.Object3D(); + scene.add(root); + + sphere.material.flatShading; + sphere.position.z = 0; + sphere.position.x = 100; + sphere.position.y = 100; + sphere.scale.set(200, 200, 200); + + root.matrixAutoUpdate = false; + root.add(sphere); + + var load = function() { + vw = input_width; + vh = input_height; + + pscale = 320 / Math.max(vw, vh / 3 * 4); + sscale = isMobile() ? window.outerWidth / input_width : 1; + + sw = vw * sscale; + sh = vh * sscale; + video.style.width = sw + "px"; + video.style.height = sh + "px"; + container.style.width = sw + "px"; + container.style.height = sh + "px"; + canvas_draw.style.clientWidth = sw + "px"; + canvas_draw.style.clientHeight = sh + "px"; + canvas_draw.width = sw; + canvas_draw.height = sh; + w = vw * pscale; + h = vh * pscale; + pw = Math.max(w, h / 3 * 4); + ph = Math.max(h, w / 4 * 3); + ox = (pw - w) / 2; + oy = (ph - h) / 2; + canvas_process.style.clientWidth = pw + "px"; + canvas_process.style.clientHeight = ph + "px"; + canvas_process.width = pw; + canvas_process.height = ph; + + renderer.setSize(sw, sh); + + worker.postMessage({type: "load", pw: pw, ph: ph, camera_para: camera_para, marker: '../' + marker.url}); + + worker.onmessage = function(ev) { + var msg = ev.data; + switch (msg.type) { + case "loaded": { + var proj = JSON.parse(msg.proj); + var ratioW = pw / w; + var ratioH = ph / h; + proj[0] *= ratioW; + proj[4] *= ratioW; + proj[8] *= ratioW; + proj[12] *= ratioW; + proj[1] *= ratioH; + proj[5] *= ratioH; + proj[9] *= ratioH; + proj[13] *= ratioH; + setMatrix(camera.projectionMatrix, proj); + break; + } + + case "endLoading": { + if (msg.end == true) + // removing loader page if present + document.body.classList.remove("loading"); + document.getElementById("loading").remove(); + break; + } + + case "found": { + found(msg); + break; + } + + case "not found": { + found(null); + break; + } + } + + track_update(); + process(); + }; + }; + + var world; + + var found = function(msg) { + if (!msg) { + world = null; + } else { + world = JSON.parse(msg.matrixGL_RH); + } + }; + + var lasttime = Date.now(); + var time = 0; + + var draw = function() { + render_update(); + var now = Date.now(); + var dt = now - lasttime; + time += dt; + lasttime = now; + + if (!world) { + sphere.visible = false; + } else { + sphere.visible = true; + // set matrix of 'root' by detected 'world' matrix + setMatrix(root.matrix, world); + } + renderer.render(scene, camera); + }; + + function process() { + context_process.fillStyle = "black"; + context_process.fillRect(0, 0, pw, ph); + context_process.drawImage(video, 0, 0, vw, vh, ox, oy, w, h); + + var imageData = context_process.getImageData(0, 0, pw, ph); + worker.postMessage({ type: "process", imagedata: imageData }, [ + imageData.data.buffer + ]); + } + var tick = function() { + draw(); + requestAnimationFrame(tick); + }; + + load(); + tick(); + process(); +} diff --git a/examples/test_constants.html b/examples/test_constants.html index 823486c1..5c40c592 100644 --- a/examples/test_constants.html +++ b/examples/test_constants.html @@ -61,6 +61,8 @@ console.log("AR_MARKER_INFO_CUTOFF_PHASE_POSE_ERROR_MULTI", Module.AR_MARKER_INFO_CUTOFF_PHASE_POSE_ERROR_MULTI); console.log("AR_MARKER_INFO_CUTOFF_PHASE_HEURISTIC_TROUBLESOME_MATRIX_CODES", Module.AR_MARKER_INFO_CUTOFF_PHASE_HEURISTIC_TROUBLESOME_MATRIX_CODES); + console.log("AR_FILTER_TRANS_MAT_SAMPLE_RATE_DEFAULT", Module.AR_FILTER_TRANS_MAT_SAMPLE_RATE_DEFAULT); + console.log("AR_FILTER_TRANS_MAT_CUTOFF_FREQ_DEFAULT", Module.AR_FILTER_TRANS_MAT_CUTOFF_FREQ_DEFAULT); })(); diff --git a/tools/makem.js b/tools/makem.js index d8c72f34..bb5fc39e 100644 --- a/tools/makem.js +++ b/tools/makem.js @@ -15,6 +15,7 @@ var const platform = os.platform(); var HAVE_NFT = 1; +var WITH_FILTERING = 1; var EMSCRIPTEN_ROOT = process.env.EMSCRIPTEN; var ARTOOLKIT5_ROOT = process.env.ARTOOLKIT5_ROOT || path.resolve(__dirname, "../emscripten/artoolkit5"); @@ -150,6 +151,7 @@ if (HAVE_NFT) { var DEFINES = ' '; if (HAVE_NFT) DEFINES += ' -D HAVE_NFT '; +if (WITH_FILTERING) DEFINES += ' -D WITH_FILTERING '; var FLAGS = '' + OPTIMIZE_FLAGS; FLAGS += ' -Wno-warn-absolute-paths ';

>>0&((t|0)!=(-1|0)&(p|0)!=(-1|0))^1)):0){h=s?r:b;g=t;q=145}if((q|0)==145){b=(c[14399]|0)+h|0;c[14399]=b;if(b>>>0>(c[14400]|0)>>>0)c[14400]=b;j=c[14297]|0;f:do if(j){b=57612;while(1){a=c[b>>2]|0;d=c[b+4>>2]|0;if((g|0)==(a+d|0)){q=154;break}e=c[b+8>>2]|0;if(!e)break;else b=e}if(((q|0)==154?(u=b+4|0,(c[b+12>>2]&8|0)==0):0)?g>>>0>j>>>0&a>>>0<=j>>>0:0){c[u>>2]=d+h;v=(c[14294]|0)+h|0;t=j+8|0;t=(t&7|0)==0?0:0-t&7;u=j+t|0;t=v-t|0;c[14297]=u;c[14294]=t;c[u+4>>2]=t|1;c[j+v+4>>2]=40;c[14298]=c[14413];break}if(g>>>0<(c[14295]|0)>>>0)c[14295]=g;d=g+h|0;b=57612;while(1){if((c[b>>2]|0)==(d|0)){q=162;break}a=c[b+8>>2]|0;if(!a)break;else b=a}if((q|0)==162?(c[b+12>>2]&8|0)==0:0){c[b>>2]=g;l=b+4|0;c[l>>2]=(c[l>>2]|0)+h;l=g+8|0;l=g+((l&7|0)==0?0:0-l&7)|0;b=d+8|0;b=d+((b&7|0)==0?0:0-b&7)|0;k=l+m|0;i=b-l-m|0;c[l+4>>2]=m|3;g:do if((j|0)==(b|0)){v=(c[14294]|0)+i|0;c[14294]=v;c[14297]=k;c[k+4>>2]=v|1}else{if((c[14296]|0)==(b|0)){v=(c[14293]|0)+i|0;c[14293]=v;c[14296]=k;c[k+4>>2]=v|1;c[k+v>>2]=v;break}a=c[b+4>>2]|0;if((a&3|0)==1){h=a&-8;e=a>>>3;h:do if(a>>>0<256){a=c[b+8>>2]|0;d=c[b+12>>2]|0;if((d|0)==(a|0)){c[14291]=c[14291]&~(1<>2]=d;c[d+8>>2]=a;break}}else{g=c[b+24>>2]|0;a=c[b+12>>2]|0;do if((a|0)==(b|0)){d=b+16|0;e=d+4|0;a=c[e>>2]|0;if(!a){a=c[d>>2]|0;if(!a){a=0;break}}else d=e;while(1){f=a+20|0;e=c[f>>2]|0;if(!e){f=a+16|0;e=c[f>>2]|0;if(!e)break;else{a=e;d=f}}else{a=e;d=f}}c[d>>2]=0}else{v=c[b+8>>2]|0;c[v+12>>2]=a;c[a+8>>2]=v}while(0);if(!g)break;d=c[b+28>>2]|0;e=57468+(d<<2)|0;do if((c[e>>2]|0)!=(b|0)){v=g+16|0;c[((c[v>>2]|0)==(b|0)?v:g+20|0)>>2]=a;if(!a)break h}else{c[e>>2]=a;if(a|0)break;c[14292]=c[14292]&~(1<>2]=g;d=b+16|0;e=c[d>>2]|0;if(e|0){c[a+16>>2]=e;c[e+24>>2]=a}d=c[d+4>>2]|0;if(!d)break;c[a+20>>2]=d;c[d+24>>2]=a}while(0);b=b+h|0;f=h+i|0}else f=i;b=b+4|0;c[b>>2]=c[b>>2]&-2;c[k+4>>2]=f|1;c[k+f>>2]=f;b=f>>>3;if(f>>>0<256){d=57204+(b<<1<<2)|0;a=c[14291]|0;b=1<>2]|0}c[a>>2]=k;c[b+12>>2]=k;c[k+8>>2]=b;c[k+12>>2]=d;break}b=f>>>8;do if(!b)e=0;else{if(f>>>0>16777215){e=31;break}u=(b+1048320|0)>>>16&8;v=b<>>16&4;v=v<>>16&2;e=14-(t|u|e)+(v<>>15)|0;e=f>>>(e+7|0)&1|e<<1}while(0);b=57468+(e<<2)|0;c[k+28>>2]=e;a=k+16|0;c[a+4>>2]=0;c[a>>2]=0;a=c[14292]|0;d=1<>2]=k;c[k+24>>2]=b;c[k+12>>2]=k;c[k+8>>2]=k;break}b=c[b>>2]|0;i:do if((c[b+4>>2]&-8|0)!=(f|0)){e=f<<((e|0)==31?0:25-(e>>>1)|0);while(1){d=b+16+(e>>>31<<2)|0;a=c[d>>2]|0;if(!a)break;if((c[a+4>>2]&-8|0)==(f|0)){b=a;break i}else{e=e<<1;b=a}}c[d>>2]=k;c[k+24>>2]=b;c[k+12>>2]=k;c[k+8>>2]=k;break g}while(0);u=b+8|0;v=c[u>>2]|0;c[v+12>>2]=k;c[u>>2]=k;c[k+8>>2]=v;c[k+12>>2]=b;c[k+24>>2]=0}while(0);v=l+8|0;yb=w;return v|0}b=57612;while(1){a=c[b>>2]|0;if(a>>>0<=j>>>0?(v=a+(c[b+4>>2]|0)|0,v>>>0>j>>>0):0)break;b=c[b+8>>2]|0}f=v+-47|0;a=f+8|0;a=f+((a&7|0)==0?0:0-a&7)|0;f=j+16|0;a=a>>>0>>0?j:a;b=a+8|0;d=h+-40|0;t=g+8|0;t=(t&7|0)==0?0:0-t&7;u=g+t|0;t=d-t|0;c[14297]=u;c[14294]=t;c[u+4>>2]=t|1;c[g+d+4>>2]=40;c[14298]=c[14413];d=a+4|0;c[d>>2]=27;c[b>>2]=c[14403];c[b+4>>2]=c[14404];c[b+8>>2]=c[14405];c[b+12>>2]=c[14406];c[14403]=g;c[14404]=h;c[14406]=0;c[14405]=b;b=a+24|0;do{u=b;b=b+4|0;c[b>>2]=7}while((u+8|0)>>>0>>0);if((a|0)!=(j|0)){g=a-j|0;c[d>>2]=c[d>>2]&-2;c[j+4>>2]=g|1;c[a>>2]=g;b=g>>>3;if(g>>>0<256){d=57204+(b<<1<<2)|0;a=c[14291]|0;b=1<>2]|0}c[a>>2]=j;c[b+12>>2]=j;c[j+8>>2]=b;c[j+12>>2]=d;break}b=g>>>8;if(b)if(g>>>0>16777215)e=31;else{u=(b+1048320|0)>>>16&8;v=b<>>16&4;v=v<>>16&2;e=14-(t|u|e)+(v<>>15)|0;e=g>>>(e+7|0)&1|e<<1}else e=0;d=57468+(e<<2)|0;c[j+28>>2]=e;c[j+20>>2]=0;c[f>>2]=0;b=c[14292]|0;a=1<>2]=j;c[j+24>>2]=d;c[j+12>>2]=j;c[j+8>>2]=j;break}b=c[d>>2]|0;j:do if((c[b+4>>2]&-8|0)!=(g|0)){e=g<<((e|0)==31?0:25-(e>>>1)|0);while(1){d=b+16+(e>>>31<<2)|0;a=c[d>>2]|0;if(!a)break;if((c[a+4>>2]&-8|0)==(g|0)){b=a;break j}else{e=e<<1;b=a}}c[d>>2]=j;c[j+24>>2]=b;c[j+12>>2]=j;c[j+8>>2]=j;break f}while(0);u=b+8|0;v=c[u>>2]|0;c[v+12>>2]=j;c[u>>2]=j;c[j+8>>2]=v;c[j+12>>2]=b;c[j+24>>2]=0}}else{v=c[14295]|0;if((v|0)==0|g>>>0>>0)c[14295]=g;c[14403]=g;c[14404]=h;c[14406]=0;c[14300]=c[14409];c[14299]=-1;c[14304]=57204;c[14303]=57204;c[14306]=57212;c[14305]=57212;c[14308]=57220;c[14307]=57220;c[14310]=57228;c[14309]=57228;c[14312]=57236;c[14311]=57236;c[14314]=57244;c[14313]=57244;c[14316]=57252;c[14315]=57252;c[14318]=57260;c[14317]=57260;c[14320]=57268;c[14319]=57268;c[14322]=57276;c[14321]=57276;c[14324]=57284;c[14323]=57284;c[14326]=57292;c[14325]=57292;c[14328]=57300;c[14327]=57300;c[14330]=57308;c[14329]=57308;c[14332]=57316;c[14331]=57316;c[14334]=57324;c[14333]=57324;c[14336]=57332;c[14335]=57332;c[14338]=57340;c[14337]=57340;c[14340]=57348;c[14339]=57348;c[14342]=57356;c[14341]=57356;c[14344]=57364;c[14343]=57364;c[14346]=57372;c[14345]=57372;c[14348]=57380;c[14347]=57380;c[14350]=57388;c[14349]=57388;c[14352]=57396;c[14351]=57396;c[14354]=57404;c[14353]=57404;c[14356]=57412;c[14355]=57412;c[14358]=57420;c[14357]=57420;c[14360]=57428;c[14359]=57428;c[14362]=57436;c[14361]=57436;c[14364]=57444;c[14363]=57444;c[14366]=57452;c[14365]=57452;v=h+-40|0;t=g+8|0;t=(t&7|0)==0?0:0-t&7;u=g+t|0;t=v-t|0;c[14297]=u;c[14294]=t;c[u+4>>2]=t|1;c[g+v+4>>2]=40;c[14298]=c[14413]}while(0);b=c[14294]|0;if(b>>>0>m>>>0){t=b-m|0;c[14294]=t;v=c[14297]|0;u=v+m|0;c[14297]=u;c[u+4>>2]=t|1;c[v+4>>2]=m|3;v=v+8|0;yb=w;return v|0}}c[(mx()|0)>>2]=48;v=0;yb=w;return v|0}function EO(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;if(!a)return;d=a+-8|0;f=c[14295]|0;a=c[a+-4>>2]|0;b=a&-8;j=d+b|0;do if(!(a&1)){e=c[d>>2]|0;if(!(a&3))return;h=d+(0-e)|0;g=e+b|0;if(h>>>0>>0)return;if((c[14296]|0)==(h|0)){a=j+4|0;b=c[a>>2]|0;if((b&3|0)!=3){i=h;b=g;break}c[14293]=g;c[a>>2]=b&-2;c[h+4>>2]=g|1;c[h+g>>2]=g;return}d=e>>>3;if(e>>>0<256){a=c[h+8>>2]|0;b=c[h+12>>2]|0;if((b|0)==(a|0)){c[14291]=c[14291]&~(1<>2]=b;c[b+8>>2]=a;i=h;b=g;break}}f=c[h+24>>2]|0;a=c[h+12>>2]|0;do if((a|0)==(h|0)){b=h+16|0;d=b+4|0;a=c[d>>2]|0;if(!a){a=c[b>>2]|0;if(!a){a=0;break}}else b=d;while(1){e=a+20|0;d=c[e>>2]|0;if(!d){e=a+16|0;d=c[e>>2]|0;if(!d)break;else{a=d;b=e}}else{a=d;b=e}}c[b>>2]=0}else{i=c[h+8>>2]|0;c[i+12>>2]=a;c[a+8>>2]=i}while(0);if(f){b=c[h+28>>2]|0;d=57468+(b<<2)|0;if((c[d>>2]|0)==(h|0)){c[d>>2]=a;if(!a){c[14292]=c[14292]&~(1<>2]|0)==(h|0)?i:f+20|0)>>2]=a;if(!a){i=h;b=g;break}}c[a+24>>2]=f;b=h+16|0;d=c[b>>2]|0;if(d|0){c[a+16>>2]=d;c[d+24>>2]=a}b=c[b+4>>2]|0;if(b){c[a+20>>2]=b;c[b+24>>2]=a;i=h;b=g}else{i=h;b=g}}else{i=h;b=g}}else{i=d;h=d}while(0);if(h>>>0>=j>>>0)return;a=j+4|0;e=c[a>>2]|0;if(!(e&1))return;if(!(e&2)){if((c[14297]|0)==(j|0)){j=(c[14294]|0)+b|0;c[14294]=j;c[14297]=i;c[i+4>>2]=j|1;if((i|0)!=(c[14296]|0))return;c[14296]=0;c[14293]=0;return}if((c[14296]|0)==(j|0)){j=(c[14293]|0)+b|0;c[14293]=j;c[14296]=h;c[i+4>>2]=j|1;c[h+j>>2]=j;return}f=(e&-8)+b|0;d=e>>>3;do if(e>>>0<256){b=c[j+8>>2]|0;a=c[j+12>>2]|0;if((a|0)==(b|0)){c[14291]=c[14291]&~(1<>2]=a;c[a+8>>2]=b;break}}else{g=c[j+24>>2]|0;a=c[j+12>>2]|0;do if((a|0)==(j|0)){b=j+16|0;d=b+4|0;a=c[d>>2]|0;if(!a){a=c[b>>2]|0;if(!a){d=0;break}}else b=d;while(1){e=a+20|0;d=c[e>>2]|0;if(!d){e=a+16|0;d=c[e>>2]|0;if(!d)break;else{a=d;b=e}}else{a=d;b=e}}c[b>>2]=0;d=a}else{d=c[j+8>>2]|0;c[d+12>>2]=a;c[a+8>>2]=d;d=a}while(0);if(g|0){a=c[j+28>>2]|0;b=57468+(a<<2)|0;if((c[b>>2]|0)==(j|0)){c[b>>2]=d;if(!d){c[14292]=c[14292]&~(1<>2]|0)==(j|0)?e:g+20|0)>>2]=d;if(!d)break}c[d+24>>2]=g;a=j+16|0;b=c[a>>2]|0;if(b|0){c[d+16>>2]=b;c[b+24>>2]=d}a=c[a+4>>2]|0;if(a|0){c[d+20>>2]=a;c[a+24>>2]=d}}}while(0);c[i+4>>2]=f|1;c[h+f>>2]=f;if((i|0)==(c[14296]|0)){c[14293]=f;return}}else{c[a>>2]=e&-2;c[i+4>>2]=b|1;c[h+b>>2]=b;f=b}a=f>>>3;if(f>>>0<256){d=57204+(a<<1<<2)|0;b=c[14291]|0;a=1<>2]|0}c[b>>2]=i;c[a+12>>2]=i;c[i+8>>2]=a;c[i+12>>2]=d;return}a=f>>>8;if(a)if(f>>>0>16777215)e=31;else{h=(a+1048320|0)>>>16&8;j=a<>>16&4;j=j<>>16&2;e=14-(g|h|e)+(j<>>15)|0;e=f>>>(e+7|0)&1|e<<1}else e=0;a=57468+(e<<2)|0;c[i+28>>2]=e;c[i+20>>2]=0;c[i+16>>2]=0;b=c[14292]|0;d=1<>2]=i;c[i+24>>2]=a;c[i+12>>2]=i;c[i+8>>2]=i}else{a=c[a>>2]|0;b:do if((c[a+4>>2]&-8|0)!=(f|0)){e=f<<((e|0)==31?0:25-(e>>>1)|0);while(1){d=a+16+(e>>>31<<2)|0;b=c[d>>2]|0;if(!b)break;if((c[b+4>>2]&-8|0)==(f|0)){a=b;break b}else{e=e<<1;a=b}}c[d>>2]=i;c[i+24>>2]=a;c[i+12>>2]=i;c[i+8>>2]=i;break a}while(0);h=a+8|0;j=c[h>>2]|0;c[j+12>>2]=i;c[h>>2]=i;c[i+8>>2]=j;c[i+12>>2]=a;c[i+24>>2]=0}while(0);j=(c[14299]|0)+-1|0;c[14299]=j;if(j|0)return;a=57620;while(1){a=c[a>>2]|0;if(!a)break;else a=a+8|0}c[14299]=-1;return}function FO(a,b){a=a|0;b=b|0;var d=0;if(a){d=B(b,a)|0;if((b|a)>>>0>65535)d=((d>>>0)/(a>>>0)|0|0)==(b|0)?d:-1}else d=0;a=DO(d)|0;if(!a)return a|0;if(!(c[a+-4>>2]&3))return a|0;_O(a|0,0,d|0)|0;return a|0}function GO(a,b){a=a|0;b=b|0;var d=0,e=0;if(!a){b=DO(b)|0;return b|0}if(b>>>0>4294967231){c[(mx()|0)>>2]=48;b=0;return b|0}d=HO(a+-8|0,b>>>0<11?16:b+11&-8)|0;if(d|0){b=d+8|0;return b|0}d=DO(b)|0;if(!d){b=0;return b|0}e=c[a+-4>>2]|0;e=(e&-8)-((e&3|0)==0?8:4)|0;YO(d|0,a|0,(e>>>0>>0?e:b)|0)|0;EO(a);b=d;return b|0}function HO(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;l=a+4|0;m=c[l>>2]|0;d=m&-8;i=a+d|0;if(!(m&3)){if(b>>>0<256){a=0;return a|0}if(d>>>0>=(b+4|0)>>>0?(d-b|0)>>>0<=c[14411]<<1>>>0:0)return a|0;a=0;return a|0}if(d>>>0>=b>>>0){d=d-b|0;if(d>>>0<=15)return a|0;k=a+b|0;c[l>>2]=m&1|b|2;c[k+4>>2]=d|3;m=i+4|0;c[m>>2]=c[m>>2]|1;IO(k,d);return a|0}if((c[14297]|0)==(i|0)){k=(c[14294]|0)+d|0;d=k-b|0;e=a+b|0;if(k>>>0<=b>>>0){a=0;return a|0}c[l>>2]=m&1|b|2;c[e+4>>2]=d|1;c[14297]=e;c[14294]=d;return a|0}if((c[14296]|0)==(i|0)){e=(c[14293]|0)+d|0;if(e>>>0>>0){a=0;return a|0}d=e-b|0;if(d>>>0>15){k=a+b|0;e=a+e|0;c[l>>2]=m&1|b|2;c[k+4>>2]=d|1;c[e>>2]=d;e=e+4|0;c[e>>2]=c[e>>2]&-2;e=k}else{c[l>>2]=m&1|e|2;e=a+e+4|0;c[e>>2]=c[e>>2]|1;e=0;d=0}c[14293]=d;c[14296]=e;return a|0}e=c[i+4>>2]|0;if(e&2|0){a=0;return a|0}j=(e&-8)+d|0;if(j>>>0>>0){a=0;return a|0}k=j-b|0;f=e>>>3;do if(e>>>0<256){e=c[i+8>>2]|0;d=c[i+12>>2]|0;if((d|0)==(e|0)){c[14291]=c[14291]&~(1<>2]=d;c[d+8>>2]=e;break}}else{h=c[i+24>>2]|0;d=c[i+12>>2]|0;do if((d|0)==(i|0)){e=i+16|0;f=e+4|0;d=c[f>>2]|0;if(!d){d=c[e>>2]|0;if(!d){f=0;break}}else e=f;while(1){g=d+20|0;f=c[g>>2]|0;if(!f){g=d+16|0;f=c[g>>2]|0;if(!f)break;else{d=f;e=g}}else{d=f;e=g}}c[e>>2]=0;f=d}else{f=c[i+8>>2]|0;c[f+12>>2]=d;c[d+8>>2]=f;f=d}while(0);if(h|0){d=c[i+28>>2]|0;e=57468+(d<<2)|0;if((c[e>>2]|0)==(i|0)){c[e>>2]=f;if(!f){c[14292]=c[14292]&~(1<>2]|0)==(i|0)?g:h+20|0)>>2]=f;if(!f)break}c[f+24>>2]=h;d=i+16|0;e=c[d>>2]|0;if(e|0){c[f+16>>2]=e;c[e+24>>2]=f}d=c[d+4>>2]|0;if(d|0){c[f+20>>2]=d;c[d+24>>2]=f}}}while(0);if(k>>>0<16){c[l>>2]=m&1|j|2;m=a+j+4|0;c[m>>2]=c[m>>2]|1;return a|0}else{i=a+b|0;c[l>>2]=m&1|b|2;c[i+4>>2]=k|3;m=a+j+4|0;c[m>>2]=c[m>>2]|1;IO(i,k);return a|0}return 0}function IO(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;i=a+b|0;d=c[a+4>>2]|0;do if(!(d&1)){f=c[a>>2]|0;if(!(d&3))return;h=a+(0-f)|0;b=f+b|0;if((c[14296]|0)==(h|0)){a=i+4|0;d=c[a>>2]|0;if((d&3|0)!=3)break;c[14293]=b;c[a>>2]=d&-2;c[h+4>>2]=b|1;c[i>>2]=b;return}e=f>>>3;if(f>>>0<256){a=c[h+8>>2]|0;d=c[h+12>>2]|0;if((d|0)==(a|0)){c[14291]=c[14291]&~(1<>2]=d;c[d+8>>2]=a;break}}g=c[h+24>>2]|0;a=c[h+12>>2]|0;do if((a|0)==(h|0)){d=h+16|0;e=d+4|0;a=c[e>>2]|0;if(!a){a=c[d>>2]|0;if(!a){a=0;break}}else d=e;while(1){f=a+20|0;e=c[f>>2]|0;if(!e){f=a+16|0;e=c[f>>2]|0;if(!e)break;else{a=e;d=f}}else{a=e;d=f}}c[d>>2]=0}else{f=c[h+8>>2]|0;c[f+12>>2]=a;c[a+8>>2]=f}while(0);if(g){d=c[h+28>>2]|0;e=57468+(d<<2)|0;if((c[e>>2]|0)==(h|0)){c[e>>2]=a;if(!a){c[14292]=c[14292]&~(1<>2]|0)==(h|0)?f:g+20|0)>>2]=a;if(!a)break}c[a+24>>2]=g;d=h+16|0;e=c[d>>2]|0;if(e|0){c[a+16>>2]=e;c[e+24>>2]=a}d=c[d+4>>2]|0;if(d){c[a+20>>2]=d;c[d+24>>2]=a}}}else h=a;while(0);a=i+4|0;e=c[a>>2]|0;if(!(e&2)){if((c[14297]|0)==(i|0)){i=(c[14294]|0)+b|0;c[14294]=i;c[14297]=h;c[h+4>>2]=i|1;if((h|0)!=(c[14296]|0))return;c[14296]=0;c[14293]=0;return}if((c[14296]|0)==(i|0)){i=(c[14293]|0)+b|0;c[14293]=i;c[14296]=h;c[h+4>>2]=i|1;c[h+i>>2]=i;return}f=(e&-8)+b|0;d=e>>>3;do if(e>>>0<256){a=c[i+8>>2]|0;b=c[i+12>>2]|0;if((b|0)==(a|0)){c[14291]=c[14291]&~(1<>2]=b;c[b+8>>2]=a;break}}else{g=c[i+24>>2]|0;b=c[i+12>>2]|0;do if((b|0)==(i|0)){a=i+16|0;d=a+4|0;b=c[d>>2]|0;if(!b){b=c[a>>2]|0;if(!b){d=0;break}}else a=d;while(1){e=b+20|0;d=c[e>>2]|0;if(!d){e=b+16|0;d=c[e>>2]|0;if(!d)break;else{b=d;a=e}}else{b=d;a=e}}c[a>>2]=0;d=b}else{d=c[i+8>>2]|0;c[d+12>>2]=b;c[b+8>>2]=d;d=b}while(0);if(g|0){b=c[i+28>>2]|0;a=57468+(b<<2)|0;if((c[a>>2]|0)==(i|0)){c[a>>2]=d;if(!d){c[14292]=c[14292]&~(1<>2]|0)==(i|0)?e:g+20|0)>>2]=d;if(!d)break}c[d+24>>2]=g;b=i+16|0;a=c[b>>2]|0;if(a|0){c[d+16>>2]=a;c[a+24>>2]=d}b=c[b+4>>2]|0;if(b|0){c[d+20>>2]=b;c[b+24>>2]=d}}}while(0);c[h+4>>2]=f|1;c[h+f>>2]=f;if((h|0)==(c[14296]|0)){c[14293]=f;return}}else{c[a>>2]=e&-2;c[h+4>>2]=b|1;c[h+b>>2]=b;f=b}b=f>>>3;if(f>>>0<256){d=57204+(b<<1<<2)|0;a=c[14291]|0;b=1<>2]|0}c[a>>2]=h;c[b+12>>2]=h;c[h+8>>2]=b;c[h+12>>2]=d;return}b=f>>>8;if(b)if(f>>>0>16777215)e=31;else{g=(b+1048320|0)>>>16&8;i=b<>>16&4;i=i<>>16&2;e=14-(d|g|e)+(i<>>15)|0;e=f>>>(e+7|0)&1|e<<1}else e=0;b=57468+(e<<2)|0;c[h+28>>2]=e;c[h+20>>2]=0;c[h+16>>2]=0;a=c[14292]|0;d=1<>2]=h;c[h+24>>2]=b;c[h+12>>2]=h;c[h+8>>2]=h;return}b=c[b>>2]|0;a:do if((c[b+4>>2]&-8|0)!=(f|0)){e=f<<((e|0)==31?0:25-(e>>>1)|0);while(1){d=b+16+(e>>>31<<2)|0;a=c[d>>2]|0;if(!a)break;if((c[a+4>>2]&-8|0)==(f|0)){b=a;break a}else{e=e<<1;b=a}}c[d>>2]=h;c[h+24>>2]=b;c[h+12>>2]=h;c[h+8>>2]=h;return}while(0);g=b+8|0;i=c[g>>2]|0;c[i+12>>2]=h;c[g>>2]=h;c[h+8>>2]=i;c[h+12>>2]=b;c[h+24>>2]=0;return}function JO(a){a=a|0;var b=0,d=0;b=TO()|0;d=c[b>>2]|0;a=d+a|0;if((a|0)<0){c[(mx()|0)>>2]=48;d=-1;return d|0}if(a>>>0>(Ba()|0)>>>0?(Da(a|0)|0)==0:0){c[(mx()|0)>>2]=48;d=-1;return d|0}c[b>>2]=a;return d|0}function KO(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=a&65535;e=b&65535;c=B(e,f)|0;d=a>>>16;a=(c>>>16)+(B(e,d)|0)|0;e=b>>>16;b=B(e,f)|0;return (E((a>>>16)+(B(e,d)|0)+(((a&65535)+b|0)>>>16)|0),a+b<<16|c&65535|0)|0}function LO(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=a;f=c;c=KO(e,f)|0;a=F()|0;return (E((B(b,f)|0)+(B(d,e)|0)+a|a&0|0),c|0|0)|0}function MO(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;c=a+c>>>0;return (E(b+d+(c>>>0>>0|0)>>>0|0),c|0)|0}function NO(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;d=b-d-(c>>>0>a>>>0|0)>>>0;return (E(d|0),a-c>>>0|0)|0}function OO(a){a=a|0;return (a?31-(C(a^a-1)|0)|0:32)|0}function PO(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;l=a;j=b;k=j;h=d;n=e;i=n;if(!k){g=(f|0)!=0;if(!i){if(g){c[f>>2]=(l>>>0)%(h>>>0);c[f+4>>2]=0}n=0;f=(l>>>0)/(h>>>0)>>>0;return (E(n|0),f)|0}else{if(!g){n=0;f=0;return (E(n|0),f)|0}c[f>>2]=a|0;c[f+4>>2]=b&0;n=0;f=0;return (E(n|0),f)|0}}g=(i|0)==0;do if(h){if(!g){g=(C(i|0)|0)-(C(k|0)|0)|0;if(g>>>0<=31){m=g+1|0;i=31-g|0;b=g-31>>31;h=m;a=l>>>(m>>>0)&b|k<>>(m>>>0)&b;g=0;i=l<>2]=a|0;c[f+4>>2]=j|b&0;n=0;f=0;return (E(n|0),f)|0}g=h-1|0;if(g&h|0){i=(C(h|0)|0)+33-(C(k|0)|0)|0;p=64-i|0;m=32-i|0;j=m>>31;o=i-32|0;b=o>>31;h=i;a=m-1>>31&k>>>(o>>>0)|(k<>>(i>>>0))&b;b=b&k>>>(i>>>0);g=l<>>(o>>>0))&j|l<>31;break}if(f|0){c[f>>2]=g&l;c[f+4>>2]=0}if((h|0)==1){o=j|b&0;p=a|0|0;return (E(o|0),p)|0}else{p=OO(h|0)|0;o=k>>>(p>>>0)|0;p=k<<32-p|l>>>(p>>>0)|0;return (E(o|0),p)|0}}else{if(g){if(f|0){c[f>>2]=(k>>>0)%(h>>>0);c[f+4>>2]=0}o=0;p=(k>>>0)/(h>>>0)>>>0;return (E(o|0),p)|0}if(!l){if(f|0){c[f>>2]=0;c[f+4>>2]=(k>>>0)%(i>>>0)}o=0;p=(k>>>0)/(i>>>0)>>>0;return (E(o|0),p)|0}g=i-1|0;if(!(g&i)){if(f|0){c[f>>2]=a|0;c[f+4>>2]=g&k|b&0}o=0;p=k>>>((OO(i|0)|0)>>>0);return (E(o|0),p)|0}g=(C(i|0)|0)-(C(k|0)|0)|0;if(g>>>0<=30){b=g+1|0;i=31-g|0;h=b;a=k<>>(b>>>0);b=k>>>(b>>>0);g=0;i=l<>2]=a|0;c[f+4>>2]=j|b&0;o=0;p=0;return (E(o|0),p)|0}while(0);if(!h){k=i;j=0;i=0}else{m=d|0|0;l=n|e&0;k=MO(m|0,l|0,-1,-1)|0;d=F()|0;j=i;i=0;do{e=j;j=g>>>31|j<<1;g=i|g<<1;e=a<<1|e>>>31|0;n=a>>>31|b<<1|0;NO(k|0,d|0,e|0,n|0)|0;p=F()|0;o=p>>31|((p|0)<0?-1:0)<<1;i=o&1;a=NO(e|0,n|0,o&m|0,(((p|0)<0?-1:0)>>31|((p|0)<0?-1:0)<<1)&l|0)|0;b=F()|0;h=h-1|0}while((h|0)!=0);k=j;j=0}h=0;if(f|0){c[f>>2]=a;c[f+4>>2]=b}o=(g|0)>>>31|(k|h)<<1|(h<<1|g>>>31)&0|j;p=(g<<1|0>>>31)&-2|i;return (E(o|0),p)|0}function QO(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return PO(a,b,c,d,0)|0}function RO(a,b,c){a=a|0;b=b|0;c=c|0;if((c|0)<32){E(b>>>c|0);return a>>>c|(b&(1<>>c-32|0}function SO(a,b,c){a=a|0;b=b|0;c=c|0;if((c|0)<32){E(b<>>32-c|0);return a<>8&255)<<16|(a>>16&255)<<8|a>>>24|0}function VO(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;k=k+1|0;c[a>>2]=k;while((f|0)<(e|0)){if(!(c[d+(f<<3)>>2]|0)){c[d+(f<<3)>>2]=k;c[d+((f<<3)+4)>>2]=b;c[d+((f<<3)+8)>>2]=0;E(e|0);return d|0}f=f+1|0}e=e*2|0;d=GO(d|0,8*(e+1|0)|0)|0;d=VO(a|0,b|0,d|0,e|0)|0;E(e|0);return d|0}function WO(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;while((f|0)<(d|0)){e=c[b+(f<<3)>>2]|0;if(!e)break;if((e|0)==(a|0))return c[b+((f<<3)+4)>>2]|0;f=f+1|0}return 0}function XO(a,b){a=a|0;b=b|0;if(!i){i=a;j=b}}function YO(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;if((e|0)>=8192){Ca(b|0,d|0,e|0)|0;return b|0}h=b|0;g=b+e|0;if((b&3)==(d&3)){while(b&3){if(!e)return h|0;a[b>>0]=a[d>>0]|0;b=b+1|0;d=d+1|0;e=e-1|0}e=g&-4|0;f=e-64|0;while((b|0)<=(f|0)){c[b>>2]=c[d>>2];c[b+4>>2]=c[d+4>>2];c[b+8>>2]=c[d+8>>2];c[b+12>>2]=c[d+12>>2];c[b+16>>2]=c[d+16>>2];c[b+20>>2]=c[d+20>>2];c[b+24>>2]=c[d+24>>2];c[b+28>>2]=c[d+28>>2];c[b+32>>2]=c[d+32>>2];c[b+36>>2]=c[d+36>>2];c[b+40>>2]=c[d+40>>2];c[b+44>>2]=c[d+44>>2];c[b+48>>2]=c[d+48>>2];c[b+52>>2]=c[d+52>>2];c[b+56>>2]=c[d+56>>2];c[b+60>>2]=c[d+60>>2];b=b+64|0;d=d+64|0}while((b|0)<(e|0)){c[b>>2]=c[d>>2];b=b+4|0;d=d+4|0}}else{e=g-4|0;while((b|0)<(e|0)){a[b>>0]=a[d>>0]|0;a[b+1>>0]=a[d+1>>0]|0;a[b+2>>0]=a[d+2>>0]|0;a[b+3>>0]=a[d+3>>0]|0;b=b+4|0;d=d+4|0}}while((b|0)<(g|0)){a[b>>0]=a[d>>0]|0;b=b+1|0;d=d+1|0}return h|0}function ZO(b,c,d){b=b|0;c=c|0;d=d|0;var e=0;if((c|0)<(b|0)&(b|0)<(c+d|0)){e=b;c=c+d|0;b=b+d|0;while((d|0)>0){b=b-1|0;c=c-1|0;d=d-1|0;a[b>>0]=a[c>>0]|0}b=e}else YO(b,c,d)|0;return b|0}function _O(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;h=b+e|0;d=d&255;if((e|0)>=67){while(b&3){a[b>>0]=d;b=b+1|0}f=h&-4|0;i=d|d<<8|d<<16|d<<24;g=f-64|0;while((b|0)<=(g|0)){c[b>>2]=i;c[b+4>>2]=i;c[b+8>>2]=i;c[b+12>>2]=i;c[b+16>>2]=i;c[b+20>>2]=i;c[b+24>>2]=i;c[b+28>>2]=i;c[b+32>>2]=i;c[b+36>>2]=i;c[b+40>>2]=i;c[b+44>>2]=i;c[b+48>>2]=i;c[b+52>>2]=i;c[b+56>>2]=i;c[b+60>>2]=i;b=b+64|0}while((b|0)<(f|0)){c[b>>2]=i;b=b+4|0}}while((b|0)<(h|0)){a[b>>0]=d;b=b+1|0}return h-e|0}function $O(a){a=+a;return a>=0.0?+s(a+.5):+A(a-.5)}function aP(a,b){a=a|0;b=b|0;return +Bb[a&3](b|0)}function bP(a,b,c){a=a|0;b=b|0;c=c|0;return +Cb[a&1](b|0,c|0)}function cP(a){a=a|0;return Db[a&1]()|0}function dP(a,b){a=a|0;b=b|0;return Eb[a&127](b|0)|0}function eP(a,b,c,d,e,f,g){a=a|0;b=b|0;c=+c;d=d|0;e=e|0;f=f|0;g=g|0;return Fb[a&1](b|0,+c,d|0,e|0,f|0,g|0)|0}function fP(a,b,c){a=a|0;b=b|0;c=c|0;return Gb[a&63](b|0,c|0)|0}function gP(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Hb[a&63](b|0,c|0,d|0)|0}function hP(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return Ib[a&15](b|0,c|0,d|0,e|0)|0}function iP(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=+f;return Jb[a&7](b|0,c|0,d|0,e|0,+f)|0}function jP(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return Kb[a&31](b|0,c|0,d|0,e|0,f|0)|0}function kP(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=+g;return Lb[a&3](b|0,c|0,d|0,e|0,f|0,+g)|0}function lP(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;return Mb[a&63](b|0,c|0,d|0,e|0,f|0,g|0)|0}function mP(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;return Nb[a&7](b|0,c|0,d|0,e|0,f|0,g|0,h|0)|0}function nP(a,b,c,d,e,f,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;return Ob[a&15](b|0,c|0,d|0,e|0,f|0,g|0,h|0,i|0)|0}function oP(a){a=a|0;Pb[a&1]()}function pP(a,b){a=a|0;b=b|0;Qb[a&255](b|0)}function qP(a,b,c){a=a|0;b=b|0;c=+c;Rb[a&3](b|0,+c)}function rP(a,b,c){a=a|0;b=b|0;c=c|0;Sb[a&63](b|0,c|0)}function sP(a,b,c,d){a=a|0;b=b|0;c=c|0;d=+d;Tb[a&3](b|0,c|0,+d)}function tP(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Ub[a&3](b|0,c|0,d|0)}function uP(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;Vb[a&31](b|0,c|0,d|0,e|0)}function vP(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;Wb[a&63](b|0,c|0,d|0,e|0,f|0)}function wP(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;Xb[a&7](b|0,c|0,d|0,e|0,f|0,g|0)}function xP(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;Yb[a&7](b|0,c|0,d|0,e|0,f|0,g|0,h|0)}function yP(a){a=a|0;D(0);return 0.0}function zP(a,b){a=a|0;b=b|0;D(1);return 0.0}function AP(){D(2);return 0}function BP(a){a=a|0;D(3);return 0}function CP(a,b,c,d,e,f){a=a|0;b=+b;c=c|0;d=d|0;e=e|0;f=f|0;D(4);return 0}function DP(a,b){a=a|0;b=b|0;D(5);return 0}function EP(a,b,c){a=a|0;b=b|0;c=c|0;D(6);return 0}function FP(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;D(7);return 0}function GP(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=+e;D(8);return 0}function HP(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;D(9);return 0}function IP(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=+f;D(10);return 0}function JP(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;D(11);return 0}function KP(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;D(12);return 0}function LP(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;D(13);return 0}function MP(){D(14)}function NP(a){a=a|0;D(15)}function OP(a,b){a=a|0;b=+b;D(16)}function PP(a,b){a=a|0;b=b|0;D(17)}function QP(a,b,c){a=a|0;b=b|0;c=+c;D(18)}function RP(a,b,c){a=a|0;b=b|0;c=c|0;D(19)}function SP(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;D(20)}function TP(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;D(21)}function UP(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;D(22)}function VP(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;D(23)} +function hx(e,f,g,h){e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0;N=zb;zb=zb+1408|0;K=N+384|0;L=N+128|0;i=N;M=c[(c[e+484>>2]|0)+24>>2]|0;p=f>>>2<<5;H=p|4;q=g>>>3<<5;I=q|2;r=h>>>2<<5;J=r|4;w=c[e+132>>2]|0;p=p|28;t=p+H>>1;q=q|30;u=q+I>>1;r=r|28;v=r+J>>1;if((w|0)>0){o=c[e+136>>2]|0;m=c[o>>2]|0;n=c[o+4>>2]|0;o=c[o+8>>2]|0;s=0;x=2147483647;do{j=d[m+s>>0]|0;do if((H|0)<=(j|0)){if((p|0)<(j|0)){k=j-p<<1;l=j-H<<1;l=C(l,l)|0;k=C(k,k)|0;break}if((t|0)<(j|0)){l=j-H<<1;l=C(l,l)|0;k=0;break}else{l=j-p<<1;l=C(l,l)|0;k=0;break}}else{k=j-H<<1;l=j-p<<1;l=C(l,l)|0;k=C(k,k)|0}while(0);j=d[n+s>>0]|0;do if((I|0)<=(j|0)){if((q|0)<(j|0)){G=(j-q|0)*3|0;j=(j-I|0)*3|0;k=(C(G,G)|0)+k|0;j=C(j,j)|0;break}if((u|0)<(j|0)){j=(j-I|0)*3|0;j=C(j,j)|0;break}else{j=(j-q|0)*3|0;j=C(j,j)|0;break}}else{G=(j-I|0)*3|0;j=(j-q|0)*3|0;k=(C(G,G)|0)+k|0;j=C(j,j)|0}while(0);l=j+l|0;j=d[o+s>>0]|0;do if((J|0)<=(j|0)){if((r|0)<(j|0)){G=j-r|0;j=j-J|0;k=(C(G,G)|0)+k|0;j=C(j,j)|0;break}if((v|0)<(j|0)){j=j-J|0;j=C(j,j)|0;break}else{j=j-r|0;j=C(j,j)|0;break}}else{G=j-J|0;j=j-r|0;k=(C(G,G)|0)+k|0;j=C(j,j)|0}while(0);G=l+j|0;c[K+(s<<2)>>2]=k;x=(G|0)<(x|0)?G:x;s=s+1|0}while((s|0)!=(w|0));k=0;j=0;do{if((c[K+(k<<2)>>2]|0)<=(x|0)){a[L+j>>0]=k;j=j+1|0}k=k+1|0}while((k|0)!=(w|0))}else j=0;c[K>>2]=2147483647;c[K+4>>2]=2147483647;c[K+8>>2]=2147483647;c[K+12>>2]=2147483647;c[K+16>>2]=2147483647;c[K+20>>2]=2147483647;c[K+24>>2]=2147483647;c[K+28>>2]=2147483647;c[K+32>>2]=2147483647;c[K+36>>2]=2147483647;c[K+40>>2]=2147483647;c[K+44>>2]=2147483647;c[K+48>>2]=2147483647;c[K+52>>2]=2147483647;c[K+56>>2]=2147483647;c[K+60>>2]=2147483647;c[K+64>>2]=2147483647;c[K+68>>2]=2147483647;c[K+72>>2]=2147483647;c[K+76>>2]=2147483647;c[K+80>>2]=2147483647;c[K+84>>2]=2147483647;c[K+88>>2]=2147483647;c[K+92>>2]=2147483647;c[K+96>>2]=2147483647;c[K+100>>2]=2147483647;c[K+104>>2]=2147483647;c[K+108>>2]=2147483647;c[K+112>>2]=2147483647;c[K+116>>2]=2147483647;c[K+120>>2]=2147483647;c[K+124>>2]=2147483647;c[K+128>>2]=2147483647;c[K+132>>2]=2147483647;c[K+136>>2]=2147483647;c[K+140>>2]=2147483647;c[K+144>>2]=2147483647;c[K+148>>2]=2147483647;c[K+152>>2]=2147483647;c[K+156>>2]=2147483647;c[K+160>>2]=2147483647;c[K+164>>2]=2147483647;c[K+168>>2]=2147483647;c[K+172>>2]=2147483647;c[K+176>>2]=2147483647;c[K+180>>2]=2147483647;c[K+184>>2]=2147483647;c[K+188>>2]=2147483647;c[K+192>>2]=2147483647;c[K+196>>2]=2147483647;c[K+200>>2]=2147483647;c[K+204>>2]=2147483647;c[K+208>>2]=2147483647;c[K+212>>2]=2147483647;c[K+216>>2]=2147483647;c[K+220>>2]=2147483647;c[K+224>>2]=2147483647;c[K+228>>2]=2147483647;c[K+232>>2]=2147483647;c[K+236>>2]=2147483647;c[K+240>>2]=2147483647;c[K+244>>2]=2147483647;c[K+248>>2]=2147483647;c[K+252>>2]=2147483647;c[K+256>>2]=2147483647;c[K+260>>2]=2147483647;c[K+264>>2]=2147483647;c[K+268>>2]=2147483647;c[K+272>>2]=2147483647;c[K+276>>2]=2147483647;c[K+280>>2]=2147483647;c[K+284>>2]=2147483647;c[K+288>>2]=2147483647;c[K+292>>2]=2147483647;c[K+296>>2]=2147483647;c[K+300>>2]=2147483647;c[K+304>>2]=2147483647;c[K+308>>2]=2147483647;c[K+312>>2]=2147483647;c[K+316>>2]=2147483647;c[K+320>>2]=2147483647;c[K+324>>2]=2147483647;c[K+328>>2]=2147483647;c[K+332>>2]=2147483647;c[K+336>>2]=2147483647;c[K+340>>2]=2147483647;c[K+344>>2]=2147483647;c[K+348>>2]=2147483647;c[K+352>>2]=2147483647;c[K+356>>2]=2147483647;c[K+360>>2]=2147483647;c[K+364>>2]=2147483647;c[K+368>>2]=2147483647;c[K+372>>2]=2147483647;c[K+376>>2]=2147483647;c[K+380>>2]=2147483647;c[K+384>>2]=2147483647;c[K+388>>2]=2147483647;c[K+392>>2]=2147483647;c[K+396>>2]=2147483647;c[K+400>>2]=2147483647;c[K+404>>2]=2147483647;c[K+408>>2]=2147483647;c[K+412>>2]=2147483647;c[K+416>>2]=2147483647;c[K+420>>2]=2147483647;c[K+424>>2]=2147483647;c[K+428>>2]=2147483647;c[K+432>>2]=2147483647;c[K+436>>2]=2147483647;c[K+440>>2]=2147483647;c[K+444>>2]=2147483647;c[K+448>>2]=2147483647;c[K+452>>2]=2147483647;c[K+456>>2]=2147483647;c[K+460>>2]=2147483647;c[K+464>>2]=2147483647;c[K+468>>2]=2147483647;c[K+472>>2]=2147483647;c[K+476>>2]=2147483647;c[K+480>>2]=2147483647;c[K+484>>2]=2147483647;c[K+488>>2]=2147483647;c[K+492>>2]=2147483647;c[K+496>>2]=2147483647;c[K+500>>2]=2147483647;c[K+504>>2]=2147483647;c[K+508>>2]=2147483647;if((j|0)>0){A=e+136|0;E=0;do{p=a[L+E>>0]|0;D=p&255;q=c[A>>2]|0;G=H-(d[(c[q>>2]|0)+D>>0]|0)|0;F=G<<1;F=C(F,F)|0;e=I-(d[(c[q+4>>2]|0)+D>>0]|0)|0;s=e*3|0;F=(C(s,s)|0)+F|0;D=J-(d[(c[q+8>>2]|0)+D>>0]|0)|0;e=e*72|0;q=e+144|0;s=D<<4;r=s+64|0;t=s+192|0;s=s+320|0;y=e+432|0;u=e+720|0;v=e+1008|0;w=e+1296|0;x=e+1584|0;e=e+1872|0;z=K;B=i;D=F+(C(D,D)|0)|0;F=3;G=(G<<6)+256|0;while(1){n=z+16|0;if((D|0)<(c[z>>2]|0)){c[z>>2]=D;a[B>>0]=p}k=D+r|0;l=z+4|0;if((k|0)<(c[l>>2]|0)){c[l>>2]=k;a[B+1>>0]=p}k=k+t|0;l=z+8|0;if((k|0)<(c[l>>2]|0)){c[l>>2]=k;a[B+2>>0]=p}k=k+s|0;l=z+12|0;if((k|0)<(c[l>>2]|0)){c[l>>2]=k;a[B+3>>0]=p}m=q+D|0;o=z+32|0;if((m|0)<(c[n>>2]|0)){c[n>>2]=m;a[B+4>>0]=p}k=m+r|0;l=z+20|0;if((k|0)<(c[l>>2]|0)){c[l>>2]=k;a[B+5>>0]=p}k=k+t|0;l=z+24|0;if((k|0)<(c[l>>2]|0)){c[l>>2]=k;a[B+6>>0]=p}k=k+s|0;l=z+28|0;if((k|0)<(c[l>>2]|0)){c[l>>2]=k;a[B+7>>0]=p}m=y+m|0;n=z+48|0;if((m|0)<(c[o>>2]|0)){c[o>>2]=m;a[B+8>>0]=p}k=m+r|0;l=z+36|0;if((k|0)<(c[l>>2]|0)){c[l>>2]=k;a[B+9>>0]=p}k=k+t|0;l=z+40|0;if((k|0)<(c[l>>2]|0)){c[l>>2]=k;a[B+10>>0]=p}k=k+s|0;l=z+44|0;if((k|0)<(c[l>>2]|0)){c[l>>2]=k;a[B+11>>0]=p}m=u+m|0;o=z+64|0;if((m|0)<(c[n>>2]|0)){c[n>>2]=m;a[B+12>>0]=p}k=m+r|0;l=z+52|0;if((k|0)<(c[l>>2]|0)){c[l>>2]=k;a[B+13>>0]=p}k=k+t|0;l=z+56|0;if((k|0)<(c[l>>2]|0)){c[l>>2]=k;a[B+14>>0]=p}k=k+s|0;l=z+60|0;if((k|0)<(c[l>>2]|0)){c[l>>2]=k;a[B+15>>0]=p}m=v+m|0;n=z+80|0;if((m|0)<(c[o>>2]|0)){c[o>>2]=m;a[B+16>>0]=p}k=m+r|0;l=z+68|0;if((k|0)<(c[l>>2]|0)){c[l>>2]=k;a[B+17>>0]=p}k=k+t|0;l=z+72|0;if((k|0)<(c[l>>2]|0)){c[l>>2]=k;a[B+18>>0]=p}k=k+s|0;l=z+76|0;if((k|0)<(c[l>>2]|0)){c[l>>2]=k;a[B+19>>0]=p}m=w+m|0;o=z+96|0;if((m|0)<(c[n>>2]|0)){c[n>>2]=m;a[B+20>>0]=p}k=m+r|0;l=z+84|0;if((k|0)<(c[l>>2]|0)){c[l>>2]=k;a[B+21>>0]=p}k=k+t|0;l=z+88|0;if((k|0)<(c[l>>2]|0)){c[l>>2]=k;a[B+22>>0]=p}k=k+s|0;l=z+92|0;if((k|0)<(c[l>>2]|0)){c[l>>2]=k;a[B+23>>0]=p}m=x+m|0;n=z+112|0;if((m|0)<(c[o>>2]|0)){c[o>>2]=m;a[B+24>>0]=p}k=m+r|0;l=z+100|0;if((k|0)<(c[l>>2]|0)){c[l>>2]=k;a[B+25>>0]=p}k=k+t|0;l=z+104|0;if((k|0)<(c[l>>2]|0)){c[l>>2]=k;a[B+26>>0]=p}k=k+s|0;l=z+108|0;if((k|0)<(c[l>>2]|0)){c[l>>2]=k;a[B+27>>0]=p}k=e+m|0;if((k|0)<(c[n>>2]|0)){c[n>>2]=k;a[B+28>>0]=p}k=k+r|0;l=z+116|0;if((k|0)<(c[l>>2]|0)){c[l>>2]=k;a[B+29>>0]=p}k=k+t|0;l=z+120|0;if((k|0)<(c[l>>2]|0)){c[l>>2]=k;a[B+30>>0]=p}k=k+s|0;l=z+124|0;if((k|0)<(c[l>>2]|0)){c[l>>2]=k;a[B+31>>0]=p}if(!F)break;else{z=z+128|0;B=B+32|0;D=D+G|0;F=F+-1|0;G=G+512|0}}E=E+1|0}while((E|0)!=(j|0))}s=f&-4;t=g&-8;r=h&-4;l=t|1;m=t|2;n=t|3;o=t|4;p=t|5;q=t|6;k=g|7;j=0;while(1){g=M+(j+s<<2)|0;h=c[g>>2]|0;L=h+(t<<6)+(r<<1)|0;b[L>>1]=(d[i>>0]|0)+1;b[L+2>>1]=(d[i+1>>0]|0)+1;b[L+4>>1]=(d[i+2>>0]|0)+1;b[L+6>>1]=(d[i+3>>0]|0)+1;L=h+(l<<6)+(r<<1)|0;b[L>>1]=(d[i+4>>0]|0)+1;b[L+2>>1]=(d[i+5>>0]|0)+1;b[L+4>>1]=(d[i+6>>0]|0)+1;b[L+6>>1]=(d[i+7>>0]|0)+1;L=h+(m<<6)+(r<<1)|0;b[L>>1]=(d[i+8>>0]|0)+1;b[L+2>>1]=(d[i+9>>0]|0)+1;b[L+4>>1]=(d[i+10>>0]|0)+1;b[L+6>>1]=(d[i+11>>0]|0)+1;h=h+(n<<6)+(r<<1)|0;b[h>>1]=(d[i+12>>0]|0)+1;b[h+2>>1]=(d[i+13>>0]|0)+1;b[h+4>>1]=(d[i+14>>0]|0)+1;b[h+6>>1]=(d[i+15>>0]|0)+1;g=c[g>>2]|0;h=g+(o<<6)+(r<<1)|0;b[h>>1]=(d[i+16>>0]|0)+1;b[h+2>>1]=(d[i+17>>0]|0)+1;b[h+4>>1]=(d[i+18>>0]|0)+1;b[h+6>>1]=(d[i+19>>0]|0)+1;h=g+(p<<6)+(r<<1)|0;b[h>>1]=(d[i+20>>0]|0)+1;b[h+2>>1]=(d[i+21>>0]|0)+1;b[h+4>>1]=(d[i+22>>0]|0)+1;b[h+6>>1]=(d[i+23>>0]|0)+1;h=g+(q<<6)+(r<<1)|0;b[h>>1]=(d[i+24>>0]|0)+1;b[h+2>>1]=(d[i+25>>0]|0)+1;b[h+4>>1]=(d[i+26>>0]|0)+1;b[h+6>>1]=(d[i+27>>0]|0)+1;g=g+(k<<6)+(r<<1)|0;b[g>>1]=(d[i+28>>0]|0)+1;b[g+2>>1]=(d[i+29>>0]|0)+1;b[g+4>>1]=(d[i+30>>0]|0)+1;b[g+6>>1]=(d[i+31>>0]|0)+1;j=j+1|0;if((j|0)==4)break;else i=i+32|0}zb=N;return}function ix(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;u=c[(c[a+484>>2]|0)+24>>2]|0;i=c[d>>2]|0;l=d+4|0;j=c[l>>2]|0;n=d+8|0;m=c[n>>2]|0;p=d+12|0;o=c[p>>2]|0;q=d+16|0;k=c[q>>2]|0;t=d+20|0;s=c[t>>2]|0;a:do if(!((j|0)<=(i|0)|(m|0)>(o|0)|(k|0)>(s|0))){e=i;b:while(1){a=c[u+(e<<2)>>2]|0;f=m;while(1){g=k;h=a+(f<<6)+(k<<1)|0;while(1){if(b[h>>1]|0)break b;if((g|0)<(s|0)){g=g+1|0;h=h+2|0}else break}if((f|0)<(o|0))f=f+1|0;else break}if((e|0)<(j|0))e=e+1|0;else break a}c[d>>2]=e;i=e}while(0);c:do if((j|0)<=(i|0)|(m|0)>(o|0)|(k|0)>(s|0))r=j;else{e=j;d:while(1){a=c[u+(e<<2)>>2]|0;f=m;while(1){g=k;h=a+(f<<6)+(k<<1)|0;while(1){if(b[h>>1]|0)break d;if((g|0)<(s|0)){g=g+1|0;h=h+2|0}else break}if((f|0)<(o|0))f=f+1|0;else break}if((e|0)>(i|0))e=e+-1|0;else{r=j;break c}}c[l>>2]=e;r=e}while(0);e:do if(!((o|0)<=(m|0)|(r|0)<(i|0)|(k|0)>(s|0))){e=m;f:while(1){a=i;while(1){f=k;g=(c[u+(a<<2)>>2]|0)+(e<<6)+(k<<1)|0;while(1){if(b[g>>1]|0)break f;if((f|0)<(s|0)){f=f+1|0;g=g+2|0}else break}if((a|0)<(r|0))a=a+1|0;else break}if((e|0)<(o|0))e=e+1|0;else break e}c[n>>2]=e;m=e}while(0);g:do if((o|0)<=(m|0)|(r|0)<(i|0)|(k|0)>(s|0))l=o;else{e=o;h:while(1){a=i;while(1){f=k;g=(c[u+(a<<2)>>2]|0)+(e<<6)+(k<<1)|0;while(1){if(b[g>>1]|0)break h;if((f|0)<(s|0)){f=f+1|0;g=g+2|0}else break}if((a|0)<(r|0))a=a+1|0;else break}if((e|0)>(m|0))e=e+-1|0;else{l=o;break g}}c[p>>2]=e;l=e}while(0);i:do if(!((s|0)<=(k|0)|(r|0)<(i|0)|(l|0)<(m|0))){f=k;j:while(1){a=i;while(1){e=m;g=(c[u+(a<<2)>>2]|0)+(m<<6)+(f<<1)|0;while(1){if(b[g>>1]|0)break j;if((e|0)<(l|0)){e=e+1|0;g=g+64|0}else break}if((a|0)<(r|0))a=a+1|0;else break}if((f|0)<(s|0))f=f+1|0;else break i}c[q>>2]=f;k=f}while(0);k:do if((s|0)<=(k|0)|(r|0)<(i|0)|(l|0)<(m|0))f=s;else{f=s;l:while(1){a=i;while(1){e=m;g=(c[u+(a<<2)>>2]|0)+(m<<6)+(f<<1)|0;while(1){if(b[g>>1]|0)break l;if((e|0)<(l|0)){e=e+1|0;g=g+64|0}else break}if((a|0)<(r|0))a=a+1|0;else break}if((f|0)>(k|0))f=f+-1|0;else{f=s;break k}}c[t>>2]=f}while(0);s=r-i<<4;q=(l-m|0)*12|0;t=f-k<<3;c[d+24>>2]=(C(q,q)|0)+(C(s,s)|0)+(C(t,t)|0);if((r|0)<(i|0)|(l|0)<(m|0)|(f|0)<(k|0)){u=0;d=d+28|0;c[d>>2]=u;return}a=0;while(1){h=c[u+(i<<2)>>2]|0;j=m;while(1){g=k;e=h+(j<<6)+(k<<1)|0;while(1){a=a+((b[e>>1]|0)!=0&1)|0;if((g|0)>=(f|0))break;else{g=g+1|0;e=e+2|0}}if((j|0)<(l|0))j=j+1|0;else break}if((i|0)<(r|0))i=i+1|0;else break}d=d+28|0;c[d>>2]=a;return}function jx(a){a=a|0;c[a>>2]=140;c[a+4>>2]=53;c[a+8>>2]=141;c[a+12>>2]=54;c[a+16>>2]=142;c[a+104>>2]=0;c[a+108>>2]=0;c[a+20>>2]=0;c[a+112>>2]=3824;c[a+116>>2]=126;c[a+120>>2]=0;c[a+124>>2]=0;c[a+128>>2]=0;return a|0}function kx(a){a=a|0;Rb[c[(c[a>>2]|0)+8>>2]&255](a);lv(a);Fa(1)}function lx(a,b){a=a|0;b=b|0;var d=0,e=0;d=c[a>>2]|0;if((b|0)>=0){if((c[d+104>>2]|0)<(b|0))return;Rb[c[d+8>>2]&255](a);return}e=d+108|0;b=c[e>>2]|0;if(!((b|0)!=0?(c[d+104>>2]|0)<=2:0)){Rb[c[d+8>>2]&255](a);b=c[e>>2]|0}c[e>>2]=b+1;return}function mx(a){a=a|0;var b=0,d=0,e=0;b=zb;zb=zb+208|0;d=b+200|0;e=b;Tb[c[(c[a>>2]|0)+12>>2]&63](a,e);a=c[4004]|0;c[d>>2]=e;Cz(a,47497,d)|0;zb=b;return}function nx(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;k=zb;zb=zb+48|0;j=k+8|0;i=k;h=c[b>>2]|0;f=c[h+20>>2]|0;if((f|0)>0?(f|0)<=(c[h+116>>2]|0):0){b=(c[h+112>>2]|0)+(f<<2)|0;g=8}else{b=c[h+120>>2]|0;if(((b|0)!=0?(e=c[h+124>>2]|0,(f|0)>=(e|0)):0)?(f|0)<=(c[h+128>>2]|0):0){b=b+(f-e<<2)|0;g=8}else g=9}if((g|0)==8){b=c[b>>2]|0;if(!b)g=9}if((g|0)==9){c[h+24>>2]=f;b=c[c[h+112>>2]>>2]|0}f=b;a:while(1){e=f+1|0;switch(a[f>>0]|0){case 0:break a;case 37:{g=12;break a}default:f=e}}if((g|0)==12?(a[e>>0]|0)==115:0){c[i>>2]=h+24;Xy(d,b,i)|0;zb=k;return}n=c[h+28>>2]|0;m=c[h+32>>2]|0;l=c[h+36>>2]|0;e=c[h+40>>2]|0;f=c[h+44>>2]|0;g=c[h+48>>2]|0;i=c[h+52>>2]|0;c[j>>2]=c[h+24>>2];c[j+4>>2]=n;c[j+8>>2]=m;c[j+12>>2]=l;c[j+16>>2]=e;c[j+20>>2]=f;c[j+24>>2]=g;c[j+28>>2]=i;Xy(d,b,j)|0;zb=k;return}function ox(a){a=a|0;a=c[a>>2]|0;c[a+108>>2]=0;c[a+20>>2]=0;return}function px(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;k=a+20|0;b=c[k>>2]|0;a:do switch(b|0){case 202:{Ow(a);if(!(c[a+64>>2]|0)){c[k>>2]=203;d=6;break a}c[k>>2]=207;k=1;return k|0}case 203:{d=6;break}case 204:{b=a+444|0;break}default:{d=c[a>>2]|0;c[d+20>>2]=21;c[d+24>>2]=b;Rb[c[c[a>>2]>>2]&255](a);d=17}}while(0);if((d|0)==6){e=a+460|0;b:do if(c[(c[e>>2]|0)+16>>2]|0){f=a+8|0;g=a+332|0;b=c[f>>2]|0;c:while(1){if(b|0)Rb[c[b>>2]&255](a);b=Fb[c[c[e>>2]>>2]&127](a)|0;switch(b|0){case 2:break b;case 0:break c;default:{}}d=c[f>>2]|0;if((b|2|0)==3&(d|0)!=0?(i=d+4|0,j=(c[i>>2]|0)+1|0,c[i>>2]=j,i=d+8|0,h=c[i>>2]|0,(j|0)>=(h|0)):0)c[i>>2]=(c[g>>2]|0)+h;b=d}return b|0}while(0);c[a+152>>2]=c[a+144>>2];d=17}if((d|0)==17){b=a+444|0;if((c[k>>2]|0)!=204){Rb[c[c[b>>2]>>2]&255](a);c[a+140>>2]=0;c[k>>2]=204}}d=c[b>>2]|0;d:do if(c[d+8>>2]|0){i=a+140|0;h=a+116|0;j=a+8|0;g=a+448|0;f=c[i>>2]|0;e:while(1){e=c[h>>2]|0;if(f>>>0>>0){do{d=c[j>>2]|0;if(!d)d=f;else{c[d+4>>2]=f;c[d+8>>2]=e;Rb[c[d>>2]&255](a);d=c[i>>2]|0}Wb[c[(c[g>>2]|0)+4>>2]&31](a,0,i,0);f=c[i>>2]|0;if((f|0)==(d|0)){b=0;break e}e=c[h>>2]|0}while(f>>>0>>0);d=c[b>>2]|0}Rb[c[d+4>>2]&255](a);Rb[c[c[b>>2]>>2]&255](a);c[i>>2]=0;d=c[b>>2]|0;if(!(c[d+8>>2]|0))break d;else f=0}return b|0}while(0);c[k>>2]=(c[a+68>>2]|0)==0?205:206;k=1;return k|0}function qx(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;j=zb;zb=zb+16|0;i=j;e=c[a+20>>2]|0;if((e|0)!=205){h=c[a>>2]|0;c[h+20>>2]=21;c[h+24>>2]=e;Rb[c[c[a>>2]>>2]&255](a)}h=a+140|0;e=c[h>>2]|0;f=c[a+116>>2]|0;if(e>>>0>=f>>>0){b=c[a>>2]|0;c[b+20>>2]=126;Tb[c[b+4>>2]&63](a,-1);b=0;zb=j;return b|0}g=c[a+8>>2]|0;if(g|0){c[g+4>>2]=e;c[g+8>>2]=f;Rb[c[g>>2]&255](a)}c[i>>2]=0;Wb[c[(c[a+448>>2]|0)+4>>2]&31](a,b,i,d);b=c[i>>2]|0;c[h>>2]=(c[h>>2]|0)+b;zb=j;return b|0}function rx(a){a=a|0;return (ba(wx(c[a+60>>2]|0)|0)|0)&65535|0}function sx(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;l=zb;zb=zb+32|0;i=l;f=l+16|0;c[i>>2]=d;g=i+4|0;j=b+48|0;m=c[j>>2]|0;c[g>>2]=e-((m|0)!=0&1);h=b+44|0;c[i+8>>2]=c[h>>2];c[i+12>>2]=m;if(!(ux(ca(c[b+60>>2]|0,i|0,2,f|0)|0)|0)){f=c[f>>2]|0;if((f|0)>=1){i=c[g>>2]|0;if(f>>>0>i>>>0){g=c[h>>2]|0;h=b+4|0;c[h>>2]=g;c[b+8>>2]=g+(f-i);if(!(c[j>>2]|0))f=e;else{c[h>>2]=g+1;a[d+(e+-1)>>0]=a[g>>0]|0;f=e}}}else k=4}else{c[f>>2]=-1;f=-1;k=4}if((k|0)==4)c[b>>2]=f&48^16|c[b>>2];zb=l;return f|0}function tx(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;g=zb;zb=zb+16|0;f=g;if(!(ux(da(c[a+60>>2]|0,b|0,d|0,e&255|0,f|0)|0)|0)){d=f;b=c[d+4>>2]|0;d=c[d>>2]|0}else{b=f;c[b>>2]=-1;c[b+4>>2]=-1;b=-1;d=-1}F(b|0);zb=g;return d|0}function ux(a){a=a|0;if(!(a<<16>>16))a=0;else{c[(vx()|0)>>2]=a&65535;a=-1}return a|0}function vx(){return 56468}function wx(a){a=a|0;return a|0}function xx(a){a=a|0;return 0}function yx(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;l=zb;zb=zb+32|0;g=l;i=l+16|0;j=a+28|0;f=c[j>>2]|0;c[g>>2]=f;k=a+20|0;f=(c[k>>2]|0)-f|0;c[g+4>>2]=f;c[g+8>>2]=b;c[g+12>>2]=d;e=a+60|0;h=2;f=f+d|0;while(1){if(!(ux(ea(c[e>>2]|0,g|0,h|0,i|0)|0)|0))b=c[i>>2]|0;else{c[i>>2]=-1;b=-1}if((f|0)==(b|0)){b=6;break}if((b|0)<0){b=8;break}p=c[g+4>>2]|0;m=b>>>0>p>>>0;n=m?g+8|0:g;p=b-(m?p:0)|0;c[n>>2]=(c[n>>2]|0)+p;o=n+4|0;c[o>>2]=(c[o>>2]|0)-p;g=n;h=h+(m<<31>>31)|0;f=f-b|0}if((b|0)==6){p=c[a+44>>2]|0;c[a+16>>2]=p+(c[a+48>>2]|0);c[j>>2]=p;c[k>>2]=p}else if((b|0)==8){c[a+16>>2]=0;c[j>>2]=0;c[k>>2]=0;c[a>>2]=c[a>>2]|32;if((h|0)==2)d=0;else d=d-(c[g+4>>2]|0)|0}zb=l;return d|0}function zx(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;F(0);return 0}function Ax(b,e){b=b|0;e=e|0;var f=0,g=0;f=0;while(1){if((d[5936+f>>0]|0)==(b|0)){b=4;break}f=f+1|0;if((f|0)==87){f=87;b=5;break}}if((b|0)==4)if(!f)f=6032;else b=5;if((b|0)==5){b=6032;do{do{g=b;b=b+1|0}while((a[g>>0]|0)!=0);f=f+-1|0}while((f|0)!=0);f=b}return Bx(f,c[e+20>>2]|0)|0}function Bx(a,b){a=a|0;b=b|0;return Cx(a,b)|0}function Cx(a,b){a=a|0;b=b|0;if(!b)b=0;else b=Dx(c[b>>2]|0,c[b+4>>2]|0,a)|0;return ((b|0)==0?a:b)|0}function Dx(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;o=(c[b>>2]|0)+1794895138|0;h=Ex(c[b+8>>2]|0,o)|0;f=Ex(c[b+12>>2]|0,o)|0;g=Ex(c[b+16>>2]|0,o)|0;a:do if((h>>>0>>2>>>0?(n=d-(h<<2)|0,f>>>0>>0&g>>>0>>0):0)?((g|f)&3|0)==0:0){n=f>>>2;m=g>>>2;l=0;while(1){k=h>>>1;j=l+k|0;i=j<<1;g=i+n|0;f=Ex(c[b+(g<<2)>>2]|0,o)|0;g=Ex(c[b+(g+1<<2)>>2]|0,o)|0;if(!(g>>>0>>0&f>>>0<(d-g|0)>>>0)){f=0;break a}if(a[b+(g+f)>>0]|0){f=0;break a}f=Fx(e,b+g|0)|0;if(!f)break;f=(f|0)<0;if((h|0)==1){f=0;break a}l=f?l:j;h=f?k:h-k|0}f=i+m|0;g=Ex(c[b+(f<<2)>>2]|0,o)|0;f=Ex(c[b+(f+1<<2)>>2]|0,o)|0;if(f>>>0>>0&g>>>0<(d-f|0)>>>0)f=(a[b+(f+g)>>0]|0)==0?b+f|0:0;else f=0}else f=0;while(0);return f|0}function Ex(a,b){a=a|0;b=b|0;var c=0;c=bP(a|0)|0;return ((b|0)==0?a:c)|0}function Fx(b,c){b=b|0;c=c|0;var d=0,e=0;d=a[b>>0]|0;e=a[c>>0]|0;if(!(d<<24>>24==0?1:d<<24>>24!=e<<24>>24))do{b=b+1|0;c=c+1|0;d=a[b>>0]|0;e=a[c>>0]|0}while(!(d<<24>>24==0?1:d<<24>>24!=e<<24>>24));return (d&255)-(e&255)|0}function Gx(a){a=a|0;return Ax(a,c[(Hx()|0)+188>>2]|0)|0}function Hx(){return Ix()|0}function Ix(){return 16020}function Jx(a,b){a=a|0;b=b|0;return Kx(a)|0}function Kx(a){a=a|0;return (a+-48|0)>>>0<10|0}function Lx(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;o=zb;zb=zb+272|0;m=o;n=o+256|0;do if(!(a[d>>0]|0)){d=Ka(47501)|0;if(d|0?a[d>>0]|0:0)break;d=Ka(7840+(b*12|0)|0)|0;if(d|0?a[d>>0]|0:0)break;d=Ka(47508)|0;if(d|0?a[d>>0]|0:0)break;d=47513}while(0);e=0;a:while(1){switch(a[d+e>>0]|0){case 47:case 0:break a;default:{}}e=e+1|0;if(e>>>0>=15){e=15;break}}f=a[d>>0]|0;if(f<<24>>24!=46?(a[d+e>>0]|0)==0:0)if(f<<24>>24==67)l=15;else{k=d;l=16}else{d=47513;l=15}if((l|0)==15)if(!(a[d+1>>0]|0))l=18;else{k=d;l=16}b:do if((l|0)==16)if((Fx(k,47513)|0)!=0?(Fx(k,47521)|0)!=0:0){d=c[14118]|0;if(d|0)do{if(!(Fx(k,d+8|0)|0))break b;d=c[d+24>>2]|0}while((d|0)!=0);V(56476);d=c[14118]|0;c:do if(d|0){while(1){if(!(Fx(k,d+8|0)|0))break;d=c[d+24>>2]|0;if(!d)break c}aa(56476);break b}while(0);d:do if(((c[14103]|0)==0?(g=Ka(47527)|0,(g|0)!=0):0)?(a[g>>0]|0)!=0:0){j=254-e|0;i=e+1|0;f=g;while(1){h=Mx(f,58)|0;d=a[h>>0]|0;g=h-f+((d<<24>>24!=0)<<31>>31)|0;if(g>>>0>>0){fP(m|0,f|0,g|0)|0;f=m+g|0;a[f>>0]=47;fP(f+1|0,k|0,e|0)|0;a[m+(i+g)>>0]=0;f=W(m|0,n|0)|0;if(f|0)break;d=a[h>>0]|0}f=h+(d<<24>>24!=0&1)|0;if(!(a[f>>0]|0)){l=41;break d}}d=MO(28)|0;if(!d){Nx(f,c[n>>2]|0)|0;l=41;break}else{c[d>>2]=f;c[d+4>>2]=c[n>>2];n=d+8|0;fP(n|0,k|0,e|0)|0;a[n+e>>0]=0;c[d+24>>2]=c[14118];c[14118]=d;break}}else l=41;while(0);if((l|0)==41){d=MO(28)|0;if(d){c[d>>2]=c[3988];c[d+4>>2]=c[3989];n=d+8|0;fP(n|0,k|0,e|0)|0;a[n+e>>0]=0;c[d+24>>2]=c[14118];c[14118]=d}}aa(56476);d=(b|0)==0&(d|0)==0?15952:d}else{d=k;l=18}while(0);do if((l|0)==18){if((b|0)==0?(a[d+1>>0]|0)==46:0){d=15952;break}d=0}while(0);zb=o;return d|0}function Mx(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;f=d&255;a:do if(!f)b=b+(Qx(b)|0)|0;else{if(b&3){e=d&255;do{g=a[b>>0]|0;if(g<<24>>24==0?1:g<<24>>24==e<<24>>24)break a;b=b+1|0}while((b&3|0)!=0)}f=C(f,16843009)|0;e=c[b>>2]|0;b:do if(!((e&-2139062144^-2139062144)&e+-16843009))do{g=e^f;if((g&-2139062144^-2139062144)&g+-16843009|0)break b;b=b+4|0;e=c[b>>2]|0}while(!((e&-2139062144^-2139062144)&e+-16843009|0));while(0);e=d&255;while(1){g=a[b>>0]|0;if(g<<24>>24==0?1:g<<24>>24==e<<24>>24)break;else b=b+1|0}}while(0);return b|0}function Nx(a,b){a=a|0;b=b|0;var d=0,e=0;d=zb;zb=zb+16|0;e=d;c[e>>2]=a;c[e+4>>2]=b;a=Ox($(91,e|0)|0)|0;zb=d;return a|0}function Ox(a){a=a|0;if(a>>>0>4294963200){c[(vx()|0)>>2]=0-a;a=-1}return a|0}function Px(){return}function Qx(b){b=b|0;var d=0,e=0,f=0;f=b;a:do if(!(f&3)){d=b;e=5}else{d=f;while(1){if(!(a[b>>0]|0))break a;b=b+1|0;d=b;if(!(d&3)){d=b;e=5;break}}}while(0);if((e|0)==5){while(1){b=c[d>>2]|0;if(!((b&-2139062144^-2139062144)&b+-16843009))d=d+4|0;else break}if((b&255)<<24>>24)do d=d+1|0;while((a[d>>0]|0)!=0)}return d-f|0}function Rx(a,b){a=a|0;b=b|0;Sx(a,b)|0;return a|0}function Sx(b,d){b=b|0;d=d|0;var e=0,f=0;e=d;a:do if(!((e^b)&3)){if(!(e&3))e=d;else while(1){e=a[d>>0]|0;a[b>>0]=e;if(!(e<<24>>24))break a;d=d+1|0;b=b+1|0;if(!(d&3)){e=d;break}}d=c[e>>2]|0;if(!((d&-2139062144^-2139062144)&d+-16843009)){f=b;b=e;while(1){e=b+4|0;b=f+4|0;c[f>>2]=d;d=c[e>>2]|0;if((d&-2139062144^-2139062144)&d+-16843009|0){d=e;break}else{f=b;b=e}}}else d=e;f=10}else f=10;while(0);if((f|0)==10){f=a[d>>0]|0;a[b>>0]=f;if(f<<24>>24)do{d=d+1|0;b=b+1|0;f=a[d>>0]|0;a[b>>0]=f}while(f<<24>>24!=0)}return b|0}function Tx(a,b){a=a|0;b=b|0;return Ux(a)|0}function Ux(a){a=a|0;return (((a|32)+-97|0)>>>0<6|(Kx(a)|0)!=0)&1|0}function Vx(a){a=a|0;return ((a|0)==32|(a+-9|0)>>>0<5)&1|0}function Wx(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0;j=zb;zb=zb+144|0;h=j;c[h>>2]=0;i=h+4|0;c[i>>2]=a;c[h+44>>2]=a;g=h+8|0;c[g>>2]=(a|0)<0?-1:a+2147483647|0;c[h+76>>2]=-1;Xx(h,0,0);e=Yx(h,d,1,e,f)|0;f=G()|0;if(b|0)c[b>>2]=a+((c[i>>2]|0)+(c[h+120>>2]|0)-(c[g>>2]|0));F(f|0);zb=j;return e|0}function Xx(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+112|0;c[e>>2]=b;c[e+4>>2]=d;e=c[a+8>>2]|0;f=c[a+4>>2]|0;g=e-f|0;h=((g|0)<0)<<31>>31;i=a+120|0;c[i>>2]=g;c[i+4>>2]=h;if(((b|0)!=0|(d|0)!=0)&((h|0)>(d|0)|(h|0)==(d|0)&g>>>0>b>>>0))c[a+104>>2]=f+b;else c[a+104>>2]=e;return}function Yx(b,e,f,g,h){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;a:do if(e>>>0>36){c[(vx()|0)>>2]=28;h=0;g=0}else{r=b+4|0;q=b+104|0;do{i=c[r>>2]|0;if(i>>>0<(c[q>>2]|0)>>>0){c[r>>2]=i+1;i=d[i>>0]|0}else i=Zx(b)|0}while((Vx(i)|0)!=0);b:do switch(i|0){case 43:case 45:{j=((i|0)==45)<<31>>31;i=c[r>>2]|0;if(i>>>0<(c[q>>2]|0)>>>0){c[r>>2]=i+1;i=d[i>>0]|0;p=j;break b}else{i=Zx(b)|0;p=j;break b}}default:p=0}while(0);j=(e|0)==0;do if((e|16|0)==16&(i|0)==48){i=c[r>>2]|0;if(i>>>0<(c[q>>2]|0)>>>0){c[r>>2]=i+1;i=d[i>>0]|0}else i=Zx(b)|0;if((i|32|0)!=120)if(j){e=8;n=47;break}else{n=32;break}i=c[r>>2]|0;if(i>>>0<(c[q>>2]|0)>>>0){c[r>>2]=i+1;i=d[i>>0]|0}else i=Zx(b)|0;if((d[7921+i>>0]|0)>15){g=(c[q>>2]|0)==0;if(!g)c[r>>2]=(c[r>>2]|0)+-1;if(!f){Xx(b,0,0);h=0;g=0;break a}if(g){h=0;g=0;break a}c[r>>2]=(c[r>>2]|0)+-1;h=0;g=0;break a}else{e=16;n=47}}else{e=j?10:e;if(e>>>0>(d[7921+i>>0]|0)>>>0)n=32;else{if(c[q>>2]|0)c[r>>2]=(c[r>>2]|0)+-1;Xx(b,0,0);c[(vx()|0)>>2]=28;h=0;g=0;break a}}while(0);c:do if((n|0)==32)if((e|0)==10){i=i+-48|0;if(i>>>0<10){f=i;e=0;do{e=(e*10|0)+f|0;i=c[r>>2]|0;if(i>>>0<(c[q>>2]|0)>>>0){c[r>>2]=i+1;i=d[i>>0]|0}else i=Zx(b)|0;f=i+-48|0}while(f>>>0<10&e>>>0<429496729);if(f>>>0<10){j=0;do{k=UO(e|0,j|0,10,0)|0;l=G()|0;m=((f|0)<0)<<31>>31;o=~m;if(l>>>0>o>>>0|(l|0)==(o|0)&k>>>0>~f>>>0){k=e;e=10;n=76;break c}e=VO(k|0,l|0,f|0,m|0)|0;j=G()|0;i=c[r>>2]|0;if(i>>>0<(c[q>>2]|0)>>>0){c[r>>2]=i+1;i=d[i>>0]|0}else i=Zx(b)|0;f=i+-48|0}while(f>>>0<10&(j>>>0<429496729|(j|0)==429496729&e>>>0<2576980378));if(f>>>0>9)i=p;else{k=e;e=10;n=76}}else{j=0;i=p}}else{j=0;e=0;i=p}}else n=47;while(0);d:do if((n|0)==47){if(!(e+-1&e)){o=a[47540+((e*23|0)>>>5&7)>>0]|0;j=a[7921+i>>0]|0;f=j&255;if(e>>>0>f>>>0){k=0;do{k=f|k<>2]|0;if(i>>>0<(c[q>>2]|0)>>>0){c[r>>2]=i+1;i=d[i>>0]|0}else i=Zx(b)|0;j=a[7921+i>>0]|0;f=j&255}while(k>>>0<134217728&e>>>0>f>>>0);n=0}else{n=0;k=0}l=_O(-1,-1,o|0)|0;m=G()|0;if(e>>>0<=f>>>0|(m>>>0>>0|(m|0)==(n|0)&l>>>0>>0)){j=n;n=76;break}i=n;while(1){k=$O(k|0,i|0,o|0)|0;f=G()|0;k=k|j&255;i=c[r>>2]|0;if(i>>>0<(c[q>>2]|0)>>>0){c[r>>2]=i+1;i=d[i>>0]|0}else i=Zx(b)|0;j=a[7921+i>>0]|0;if(e>>>0<=(j&255)>>>0|(f>>>0>m>>>0|(f|0)==(m|0)&k>>>0>l>>>0)){j=f;n=76;break d}else i=f}}j=a[7921+i>>0]|0;f=j&255;if(e>>>0>f>>>0){k=0;do{k=f+(C(k,e)|0)|0;i=c[r>>2]|0;if(i>>>0<(c[q>>2]|0)>>>0){c[r>>2]=i+1;i=d[i>>0]|0}else i=Zx(b)|0;j=a[7921+i>>0]|0;f=j&255}while(k>>>0<119304647&e>>>0>f>>>0);l=0}else{k=0;l=0}if(e>>>0>f>>>0){n=ZO(-1,-1,e|0,0)|0;o=G()|0;f=l;while(1){if(f>>>0>o>>>0|(f|0)==(o|0)&k>>>0>n>>>0){j=f;n=76;break d}l=UO(k|0,f|0,e|0,0)|0;m=G()|0;j=j&255;if(m>>>0>4294967295|(m|0)==-1&l>>>0>~j>>>0){j=f;n=76;break d}k=VO(l|0,m|0,j|0,0)|0;f=G()|0;i=c[r>>2]|0;if(i>>>0<(c[q>>2]|0)>>>0){c[r>>2]=i+1;i=d[i>>0]|0}else i=Zx(b)|0;j=a[7921+i>>0]|0;if(e>>>0<=(j&255)>>>0){j=f;n=76;break}}}else{j=l;n=76}}while(0);if((n|0)==76)if(e>>>0>(d[7921+i>>0]|0)>>>0){do{i=c[r>>2]|0;if(i>>>0<(c[q>>2]|0)>>>0){c[r>>2]=i+1;i=d[i>>0]|0}else i=Zx(b)|0}while(e>>>0>(d[7921+i>>0]|0)>>>0);c[(vx()|0)>>2]=68;j=h;e=g;i=(g&1|0)==0&0==0?p:0}else{e=k;i=p}if(c[q>>2]|0)c[r>>2]=(c[r>>2]|0)+-1;if(!(j>>>0>>0|(j|0)==(h|0)&e>>>0>>0)){if(!((g&1|0)!=0|0!=0|(i|0)!=0)){c[(vx()|0)>>2]=68;g=VO(g|0,h|0,-1,-1)|0;h=G()|0;break}if(j>>>0>h>>>0|(j|0)==(h|0)&e>>>0>g>>>0){c[(vx()|0)>>2]=68;break}}g=((i|0)<0)<<31>>31;g=WO(e^i|0,j^g|0,i|0,g|0)|0;h=G()|0}while(0);F(h|0);return g|0}function Zx(b){b=b|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=b+112|0;f=g;e=c[f>>2]|0;f=c[f+4>>2]|0;if(!((e|0)==0&(f|0)==0)?(i=b+120|0,h=c[i+4>>2]|0,!((h|0)<(f|0)|((h|0)==(f|0)?(c[i>>2]|0)>>>0>>0:0))):0)j=4;else{e=_x(b)|0;if((e|0)>=0){f=c[g>>2]|0;g=c[g+4>>2]|0;i=c[b+8>>2]|0;if(!((f|0)==0&(g|0)==0)){h=c[b+4>>2]|0;k=i-h|0;l=((k|0)<0)<<31>>31;m=b+120|0;g=WO(f|0,g|0,c[m>>2]|0,c[m+4>>2]|0)|0;m=G()|0;f=i;if((m|0)>(l|0)|(m|0)==(l|0)&g>>>0>k>>>0)j=9;else c[b+104>>2]=h+(g+-1)}else{f=i;j=9}if((j|0)==9)c[b+104>>2]=i;g=b+4|0;if(!f)f=c[g>>2]|0;else{m=c[g>>2]|0;k=f+1-m|0;f=b+120|0;l=f;k=VO(c[l>>2]|0,c[l+4>>2]|0,k|0,((k|0)<0)<<31>>31|0)|0;l=G()|0;c[f>>2]=k;c[f+4>>2]=l;f=m}f=f+-1|0;if((e|0)!=(d[f>>0]|0|0))a[f>>0]=e}else j=4}if((j|0)==4){c[b+104>>2]=0;e=-1}return e|0}function _x(a){a=a|0;var b=0,e=0;e=zb;zb=zb+16|0;b=e;if(($x(a)|0)==0?(Ib[c[a+32>>2]&63](a,b,1)|0)==1:0)b=d[b>>0]|0;else b=-1;zb=e;return b|0}function $x(b){b=b|0;var d=0,e=0;e=b+74|0;d=a[e>>0]|0;a[e>>0]=d+255|d;e=b+20|0;d=b+28|0;if((c[e>>2]|0)>>>0>(c[d>>2]|0)>>>0)Ib[c[b+36>>2]&63](b,0,0)|0;c[b+16>>2]=0;c[d>>2]=0;c[e>>2]=0;d=c[b>>2]|0;if(!(d&4)){e=(c[b+44>>2]|0)+(c[b+48>>2]|0)|0;c[b+8>>2]=e;c[b+4>>2]=e;d=d<<27>>31}else{c[b>>2]=d|32;d=-1}return d|0}function ay(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 by(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;if(d|0){e=a;while(1){d=d+-1|0;c[e>>2]=c[b>>2];if(!d)break;else{e=e+4|0;b=b+4|0}}}return a|0}function cy(a){a=a|0;var b=0,d=0;d=(dy()|0)+188|0;b=c[d>>2]|0;if(a|0)c[d>>2]=(a|0)==(-1|0)?56444:a;return ((b|0)==56444?-1:b)|0}function dy(){return Ix()|0}function ey(b,c){b=b|0;c=c|0;b=Mx(b,c)|0;return ((a[b>>0]|0)==(c&255)<<24>>24?b:0)|0}function fy(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;h=d&255;f=(e|0)!=0;a:do if(f&(b&3|0)!=0){g=d&255;while(1){if((a[b>>0]|0)==g<<24>>24){i=6;break a}b=b+1|0;e=e+-1|0;f=(e|0)!=0;if(!(f&(b&3|0)!=0)){i=5;break}}}else i=5;while(0);if((i|0)==5)if(f)i=6;else i=16;b:do if((i|0)==6){g=d&255;if((a[b>>0]|0)==g<<24>>24)if(!e){i=16;break}else break;f=C(h,16843009)|0;c:do if(e>>>0>3)while(1){h=c[b>>2]^f;if((h&-2139062144^-2139062144)&h+-16843009|0)break c;b=b+4|0;e=e+-4|0;if(e>>>0<=3){i=11;break}}else i=11;while(0);if((i|0)==11)if(!e){i=16;break}while(1){if((a[b>>0]|0)==g<<24>>24)break b;e=e+-1|0;if(!e){i=16;break}else b=b+1|0}}while(0);if((i|0)==16)b=0;return b|0}function gy(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;f=zb;zb=zb+16|0;g=f;c[g>>2]=e;e=hy(a,b,d,g)|0;zb=f;return e|0}function hy(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0;j=zb;zb=zb+160|0;g=j+144|0;i=j;fP(i|0,13736,144)|0;if((d+-1|0)>>>0>2147483646)if(!d){d=1;h=4}else{c[(vx()|0)>>2]=61;d=-1}else{g=b;h=4}if((h|0)==4){h=-2-g|0;h=d>>>0>h>>>0?h:d;c[i+48>>2]=h;b=i+20|0;c[b>>2]=g;c[i+44>>2]=g;d=g+h|0;g=i+16|0;c[g>>2]=d;c[i+28>>2]=d;d=iy(i,e,f)|0;if(h){e=c[b>>2]|0;a[e+(((e|0)==(c[g>>2]|0))<<31>>31)>>0]=0}}zb=j;return d|0}function iy(a,b,c){a=a|0;b=b|0;c=c|0;return ly(a,b,c,1,55)|0}function jy(b,e,f,g,h,i){b=b|0;e=+e;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0.0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,H=0;H=zb;zb=zb+560|0;m=H+32|0;t=H+536|0;F=H;E=F;l=H+540|0;c[t>>2]=0;D=l+12|0;By(e)|0;j=G()|0;if((j|0)<0){e=-e;By(e)|0;j=G()|0;B=1;z=47566}else{B=(h&2049|0)!=0&1;z=(h&2048|0)==0?((h&1|0)==0?47567:47572):47569}do if(0==0&(j&2146435072|0)==2146435072){F=(i&32|0)!=0;j=B+3|0;vy(b,32,f,j,h&-65537);py(b,z,B);py(b,e!=e|0.0!=0.0?(F?47608:47593):F?47585:47589,3);vy(b,32,f,j,h^8192)}else{r=+Cy(e,t)*2.0;j=r!=0.0;if(j)c[t>>2]=(c[t>>2]|0)+-1;v=i|32;if((v|0)==97){o=i&32;q=(o|0)==0?z:z+9|0;p=B|2;j=12-g|0;do if(!(g>>>0>11|(j|0)==0)){e=8.0;do{j=j+-1|0;e=e*16.0}while((j|0)!=0);if((a[q>>0]|0)==45){e=-(e+(-r-e));break}else{e=r+e-e;break}}else e=r;while(0);k=c[t>>2]|0;j=(k|0)<0?0-k|0:k;j=uy(j,((j|0)<0)<<31>>31,D)|0;if((j|0)==(D|0)){j=l+11|0;a[j>>0]=48}a[j+-1>>0]=(k>>31&2)+43;n=j+-2|0;a[n>>0]=i+15;k=(g|0)<1;l=(h&8|0)==0;j=F;while(1){B=~~e;m=j+1|0;a[j>>0]=o|d[8656+B>>0];e=(e-+(B|0))*16.0;if((m-E|0)==1?!(l&(k&e==0.0)):0){a[m>>0]=46;m=j+2|0}if(!(e!=0.0))break;else j=m}if((g|0)!=0?(-2-E+m|0)<(g|0):0){k=D;l=n;j=g+2+k-l|0}else{k=D;l=n;j=k-E-l+m|0}D=j+p|0;vy(b,32,f,D,h);py(b,q,p);vy(b,48,f,D,h^65536);E=m-E|0;py(b,F,E);F=k-l|0;vy(b,48,j-(E+F)|0,0,0);py(b,n,F);vy(b,32,f,D,h^8192);j=D;break}k=(g|0)<0?6:g;if(j){l=(c[t>>2]|0)+-28|0;c[t>>2]=l;e=r*268435456.0}else{l=c[t>>2]|0;e=r}A=(l|0)<0?m:m+288|0;m=A;do{x=~~e>>>0;c[m>>2]=x;m=m+4|0;e=(e-+(x>>>0))*1.0e9}while(e!=0.0);x=A;if((l|0)>0){j=A;do{o=(l|0)<29?l:29;l=m+-4|0;if(l>>>0>=j>>>0){n=0;do{s=$O(c[l>>2]|0,0,o|0)|0;s=VO(s|0,G()|0,n|0,0)|0;u=G()|0;n=ZO(s|0,u|0,1e9,0)|0;w=UO(n|0,G()|0,1e9,0)|0;w=WO(s|0,u|0,w|0,G()|0)|0;G()|0;c[l>>2]=w;l=l+-4|0}while(l>>>0>=j>>>0);if(n){j=j+-4|0;c[j>>2]=n}}a:do if(m>>>0>j>>>0)while(1){l=m+-4|0;if(c[l>>2]|0)break a;if(l>>>0>j>>>0)m=l;else{m=l;break}}while(0);l=(c[t>>2]|0)-o|0;c[t>>2]=l}while((l|0)>0)}else j=A;if((l|0)<0){g=((k+25|0)/9|0)+1|0;s=(v|0)==102;do{q=0-l|0;q=(q|0)<9?q:9;if(j>>>0>>0){o=(1<>>q;p=0;l=j;do{w=c[l>>2]|0;c[l>>2]=(w>>>q)+p;p=C(w&o,n)|0;l=l+4|0}while(l>>>0>>0);j=(c[j>>2]|0)==0?j+4|0:j;if(p){c[m>>2]=p;m=m+4|0}}else j=(c[j>>2]|0)==0?j+4|0:j;l=s?A:j;m=(m-l>>2|0)>(g|0)?l+(g<<2)|0:m;l=(c[t>>2]|0)+q|0;c[t>>2]=l}while((l|0)<0);s=m}else s=m;if(j>>>0>>0){l=(x-j>>2)*9|0;n=c[j>>2]|0;if(n>>>0>=10){m=10;do{m=m*10|0;l=l+1|0}while(n>>>0>=m>>>0)}}else l=0;t=(v|0)==103;u=(k|0)!=0;m=k-((v|0)==102?0:l)+((u&t)<<31>>31)|0;if((m|0)<(((s-x>>2)*9|0)+-9|0)){w=m+9216|0;m=(w|0)/9|0;g=A+4+(m+-1024<<2)|0;m=w-(m*9|0)|0;if((m|0)<8){n=10;while(1){n=n*10|0;if((m|0)<7)m=m+1|0;else break}}else n=10;p=c[g>>2]|0;m=(p>>>0)/(n>>>0)|0;q=p-(C(m,n)|0)|0;o=(g+4|0)==(s|0);if(!(o&(q|0)==0)){r=(m&1|0)==0?9007199254740992.0:9007199254740994.0;w=n>>>1;e=q>>>0>>0?.5:o&(q|0)==(w|0)?1.0:1.5;if(B){w=(a[z>>0]|0)==45;r=w?-r:r;e=w?-e:e}m=p-q|0;c[g>>2]=m;if(r+e!=r){w=m+n|0;c[g>>2]=w;if(w>>>0>999999999){l=g;while(1){m=l+-4|0;c[l>>2]=0;if(m>>>0>>0){j=j+-4|0;c[j>>2]=0}w=(c[m>>2]|0)+1|0;c[m>>2]=w;if(w>>>0>999999999)l=m;else break}}else m=g;l=(x-j>>2)*9|0;o=c[j>>2]|0;if(o>>>0>=10){n=10;do{n=n*10|0;l=l+1|0}while(o>>>0>=n>>>0)}}else m=g}else m=g;v=m+4|0;w=j;j=s>>>0>v>>>0?v:s}else{w=j;j=s}q=0-l|0;b:do if(j>>>0>w>>>0)while(1){m=j+-4|0;if(c[m>>2]|0){s=1;v=j;break b}if(m>>>0>w>>>0)j=m;else{s=0;v=m;break}}else{s=0;v=j}while(0);do if(t){j=k+((u^1)&1)|0;if((j|0)>(l|0)&(l|0)>-5){k=j+-1-l|0;n=i+-1|0}else{k=j+-1|0;n=i+-2|0}if(!(h&8)){if(s?(y=c[v+-4>>2]|0,(y|0)!=0):0)if(!((y>>>0)%10|0)){j=10;m=0;do{j=j*10|0;m=m+1|0}while(!((y>>>0)%(j>>>0)|0|0))}else m=0;else m=9;j=((v-x>>2)*9|0)+-9|0;if((n|32|0)==102){i=j-m|0;i=(i|0)>0?i:0;k=(k|0)<(i|0)?k:i;break}else{i=j+l-m|0;i=(i|0)>0?i:0;k=(k|0)<(i|0)?k:i;break}}}else n=i;while(0);g=(k|0)!=0;o=g?1:h>>>3&1;p=(n|32|0)==102;if(p){u=0;j=(l|0)>0?l:0}else{j=(l|0)<0?q:l;j=uy(j,((j|0)<0)<<31>>31,D)|0;m=D;if((m-j|0)<2)do{j=j+-1|0;a[j>>0]=48}while((m-j|0)<2);a[j+-1>>0]=(l>>31&2)+43;j=j+-2|0;a[j>>0]=n;u=j;j=m-j|0}j=B+1+k+o+j|0;vy(b,32,f,j,h);py(b,z,B);vy(b,48,f,j,h^65536);if(p){o=w>>>0>A>>>0?A:w;q=F+9|0;p=q;n=F+8|0;m=o;do{l=uy(c[m>>2]|0,0,q)|0;if((m|0)==(o|0)){if((l|0)==(q|0)){a[n>>0]=48;l=n}}else if(l>>>0>F>>>0){hP(F|0,48,l-E|0)|0;do l=l+-1|0;while(l>>>0>F>>>0)}py(b,l,p-l|0);m=m+4|0}while(m>>>0<=A>>>0);if(!((h&8|0)==0&(g^1)))py(b,47597,1);if(m>>>0>>0&(k|0)>0)while(1){l=uy(c[m>>2]|0,0,q)|0;if(l>>>0>F>>>0){hP(F|0,48,l-E|0)|0;do l=l+-1|0;while(l>>>0>F>>>0)}py(b,l,(k|0)<9?k:9);m=m+4|0;l=k+-9|0;if(!(m>>>0>>0&(k|0)>9)){k=l;break}else k=l}vy(b,48,k+9|0,9,0)}else{g=s?v:w+4|0;if(w>>>0>>0&(k|0)>-1){q=F+9|0;t=(h&8|0)==0;s=q;n=0-E|0;p=F+8|0;o=w;do{l=uy(c[o>>2]|0,0,q)|0;if((l|0)==(q|0)){a[p>>0]=48;l=p}do if((o|0)==(w|0)){m=l+1|0;py(b,l,1);if(t&(k|0)<1){l=m;break}py(b,47597,1);l=m}else{if(l>>>0<=F>>>0)break;hP(F|0,48,l+n|0)|0;do l=l+-1|0;while(l>>>0>F>>>0)}while(0);E=s-l|0;py(b,l,(k|0)>(E|0)?E:k);k=k-E|0;o=o+4|0}while(o>>>0>>0&(k|0)>-1)}vy(b,48,k+18|0,18,0);py(b,u,D-u|0)}vy(b,32,f,j,h^8192)}while(0);zb=H;return ((j|0)<(f|0)?f:j)|0}function ky(a,b){a=a|0;b=b|0;var d=0.0,e=0;e=(c[b>>2]|0)+(8-1)&~(8-1);d=+g[e>>3];c[b>>2]=e+8;g[a>>3]=d;return}function ly(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;t=zb;zb=zb+224|0;o=t+208|0;s=t+160|0;r=t+80|0;q=t;h=s;i=h+40|0;do{c[h>>2]=0;h=h+4|0}while((h|0)<(i|0));c[o>>2]=c[e>>2];if((my(0,d,o,r,s,f,g)|0)<0)e=-1;else{if((c[b+76>>2]|0)>-1)p=ny(b)|0;else p=0;e=c[b>>2]|0;n=e&32;if((a[b+74>>0]|0)<1)c[b>>2]=e&-33;j=b+48|0;if(!(c[j>>2]|0)){i=b+44|0;e=c[i>>2]|0;c[i>>2]=q;k=b+28|0;c[k>>2]=q;m=b+20|0;c[m>>2]=q;c[j>>2]=80;l=b+16|0;c[l>>2]=q+80;h=my(b,d,o,r,s,f,g)|0;if(e){Ib[c[b+36>>2]&63](b,0,0)|0;h=(c[m>>2]|0)==0?-1:h;c[i>>2]=e;c[j>>2]=0;c[l>>2]=0;c[k>>2]=0;c[m>>2]=0}}else h=my(b,d,o,r,s,f,g)|0;e=c[b>>2]|0;c[b>>2]=e|n;if(p|0)oy(b);e=(e&32|0)==0?h:-1}zb=t;return e|0}function my(d,e,f,h,i,j,k){d=d|0;e=e|0;f=f|0;h=h|0;i=i|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,H=0,I=0,J=0,K=0;J=zb;zb=zb+64|0;H=J+56|0;E=J+40|0;y=J;I=J+48|0;F=J+60|0;c[H>>2]=e;B=(d|0)!=0;x=y+40|0;A=x;y=y+39|0;z=I+4|0;e=0;l=0;o=0;a:while(1){do{do if((e|0)>-1)if((l|0)>(2147483647-e|0)){c[(vx()|0)>>2]=61;e=-1;break}else{e=l+e|0;break}while(0);s=c[H>>2]|0;l=a[s>>0]|0;if(!(l<<24>>24)){w=92;break a}m=s;b:while(1){switch(l<<24>>24){case 37:{w=10;break b}case 0:{l=m;break b}default:{}}v=m+1|0;c[H>>2]=v;l=a[v>>0]|0;m=v}c:do if((w|0)==10){w=0;n=m;l=m;do{if((a[n+1>>0]|0)!=37)break c;l=l+1|0;n=n+2|0;c[H>>2]=n}while((a[n>>0]|0)==37)}while(0);l=l-s|0;if(B)py(d,s,l)}while((l|0)!=0);v=(Kx(a[(c[H>>2]|0)+1>>0]|0)|0)==0;l=c[H>>2]|0;if(!v?(a[l+2>>0]|0)==36:0){m=3;q=(a[l+1>>0]|0)+-48|0;p=1}else{m=1;q=-1;p=o}m=l+m|0;c[H>>2]=m;l=a[m>>0]|0;n=(l<<24>>24)+-32|0;if(n>>>0>31|(1<>2]=m;l=a[m>>0]|0;n=(l<<24>>24)+-32|0;if(n>>>0>31|(1<>24==42){if((Kx(a[m+1>>0]|0)|0)!=0?(C=c[H>>2]|0,(a[C+2>>0]|0)==36):0){l=C+1|0;c[i+((a[l>>0]|0)+-48<<2)>>2]=10;n=1;m=C+3|0;l=c[h+((a[l>>0]|0)+-48<<3)>>2]|0}else{if(p|0){e=-1;break}if(B){v=(c[f>>2]|0)+(4-1)&~(4-1);l=c[v>>2]|0;c[f>>2]=v+4}else l=0;n=0;m=(c[H>>2]|0)+1|0}c[H>>2]=m;u=(l|0)<0;o=u?o|8192:o;v=n;u=u?0-l|0:l}else{l=qy(H)|0;if((l|0)<0){e=-1;break}m=c[H>>2]|0;v=p;u=l}do if((a[m>>0]|0)==46){l=m+1|0;if((a[l>>0]|0)!=42){c[H>>2]=l;t=qy(H)|0;l=c[H>>2]|0;break}if(Kx(a[m+2>>0]|0)|0?(D=c[H>>2]|0,(a[D+3>>0]|0)==36):0){t=D+2|0;c[i+((a[t>>0]|0)+-48<<2)>>2]=10;t=c[h+((a[t>>0]|0)+-48<<3)>>2]|0;l=D+4|0;c[H>>2]=l;break}if(v|0){e=-1;break a}if(B){t=(c[f>>2]|0)+(4-1)&~(4-1);m=c[t>>2]|0;c[f>>2]=t+4}else m=0;l=(c[H>>2]|0)+2|0;c[H>>2]=l;t=m}else{l=m;t=-1}while(0);r=0;while(1){if(((a[l>>0]|0)+-65|0)>>>0>57){e=-1;break a}m=l;l=l+1|0;c[H>>2]=l;m=a[(a[m>>0]|0)+-65+(8192+(r*58|0))>>0]|0;p=m&255;if((p+-1|0)>>>0>=8)break;else r=p}if(!(m<<24>>24)){e=-1;break}n=(q|0)>-1;do if(m<<24>>24==19)if(n){e=-1;break a}else w=54;else{if(n){c[i+(q<<2)>>2]=p;p=h+(q<<3)|0;q=c[p+4>>2]|0;w=E;c[w>>2]=c[p>>2];c[w+4>>2]=q;w=54;break}if(!B){e=0;break a}ry(E,p,f,k);l=c[H>>2]|0;w=55}while(0);if((w|0)==54){w=0;if(B)w=55;else l=0}d:do if((w|0)==55){w=0;n=a[l+-1>>0]|0;n=(r|0)!=0&(n&15|0)==3?n&-33:n;l=o&-65537;q=(o&8192|0)==0?o:l;e:do switch(n|0){case 110:switch((r&255)<<24>>24){case 0:{c[c[E>>2]>>2]=e;l=0;break d}case 1:{c[c[E>>2]>>2]=e;l=0;break d}case 2:{l=c[E>>2]|0;c[l>>2]=e;c[l+4>>2]=((e|0)<0)<<31>>31;l=0;break d}case 3:{b[c[E>>2]>>1]=e;l=0;break d}case 4:{a[c[E>>2]>>0]=e;l=0;break d}case 6:{c[c[E>>2]>>2]=e;l=0;break d}case 7:{l=c[E>>2]|0;c[l>>2]=e;c[l+4>>2]=((e|0)<0)<<31>>31;l=0;break d}default:{l=0;break d}}case 112:{l=q|8;m=t>>>0>8?t:8;n=120;w=67;break}case 88:case 120:{l=q;m=t;w=67;break}case 111:{o=E;o=ty(c[o>>2]|0,c[o+4>>2]|0,x)|0;m=A-o|0;l=q;m=(q&8|0)==0|(t|0)>(m|0)?t:m+1|0;r=0;p=47549;w=73;break}case 105:case 100:{m=E;l=c[m>>2]|0;m=c[m+4>>2]|0;if((m|0)<0){l=WO(0,0,l|0,m|0)|0;m=G()|0;n=E;c[n>>2]=l;c[n+4>>2]=m;n=1;p=47549;w=72;break e}else{n=(q&2049|0)!=0&1;p=(q&2048|0)==0?((q&1|0)==0?47549:47551):47550;w=72;break e}}case 117:{m=E;l=c[m>>2]|0;m=c[m+4>>2]|0;n=0;p=47549;w=72;break}case 99:{a[y>>0]=c[E>>2];s=y;q=l;o=1;n=0;m=47549;l=A;break}case 115:{p=c[E>>2]|0;p=(p|0)==0?47559:p;r=fy(p,0,t)|0;K=(r|0)==0;s=p;q=l;o=K?t:r-p|0;n=0;m=47549;l=K?p+t|0:r;break}case 67:{c[I>>2]=c[E>>2];c[z>>2]=0;c[E>>2]=I;o=-1;w=79;break}case 83:{if(!t){vy(d,32,u,0,q);l=0;w=89}else{o=t;w=79}break}case 65:case 71:case 70:case 69:case 97:case 103:case 102:case 101:{l=Gb[j&1](d,+g[E>>3],u,t,q,n)|0;break d}default:{o=t;n=0;m=47549;l=A}}while(0);f:do if((w|0)==67){o=E;o=sy(c[o>>2]|0,c[o+4>>2]|0,x,n&32)|0;p=E;p=(l&8|0)==0|(c[p>>2]|0)==0&(c[p+4>>2]|0)==0;r=p?0:2;p=p?47549:47549+(n>>>4)|0;w=73}else if((w|0)==72){o=uy(l,m,x)|0;l=q;m=t;r=n;w=73}else if((w|0)==79){w=0;l=0;p=c[E>>2]|0;while(1){m=c[p>>2]|0;if(!m)break;m=wy(F,m)|0;n=(m|0)<0;if(n|m>>>0>(o-l|0)>>>0){w=83;break}l=m+l|0;if(o>>>0>l>>>0)p=p+4|0;else break}if((w|0)==83){w=0;if(n){e=-1;break a}}vy(d,32,u,l,q);if(!l){l=0;w=89}else{n=0;o=c[E>>2]|0;while(1){m=c[o>>2]|0;if(!m){w=89;break f}m=wy(F,m)|0;n=m+n|0;if((n|0)>(l|0)){w=89;break f}py(d,F,m);if(n>>>0>=l>>>0){w=89;break}else o=o+4|0}}}while(0);if((w|0)==73){w=0;n=E;n=(c[n>>2]|0)!=0|(c[n+4>>2]|0)!=0;K=(m|0)!=0|n;n=A-o+((n^1)&1)|0;s=K?o:x;q=(m|0)>-1?l&-65537:l;o=K?((m|0)>(n|0)?m:n):0;n=r;m=p;l=A}else if((w|0)==89){w=0;vy(d,32,u,l,q^8192);l=(u|0)>(l|0)?u:l;break}t=l-s|0;r=(o|0)<(t|0)?t:o;K=r+n|0;l=(u|0)<(K|0)?K:u;vy(d,32,l,K,q);py(d,m,n);vy(d,48,l,K,q^65536);vy(d,48,r,t,0);py(d,s,t);vy(d,32,l,K,q^8192)}while(0);o=v}g:do if((w|0)==92)if(!d)if(!o)e=0;else{e=1;while(1){l=c[i+(e<<2)>>2]|0;if(!l)break;ry(h+(e<<3)|0,l,f,k);e=e+1|0;if(e>>>0>=10){e=1;break g}}while(1){if(c[i+(e<<2)>>2]|0){e=-1;break g}e=e+1|0;if(e>>>0>=10){e=1;break}}}while(0);zb=J;return e|0}function ny(a){a=a|0;return 1}function oy(a){a=a|0;return}function py(a,b,d){a=a|0;b=b|0;d=d|0;if(!(c[a>>2]&32))zy(b,d,a)|0;return}function qy(b){b=b|0;var d=0,e=0;if(!(Kx(a[c[b>>2]>>0]|0)|0))d=0;else{d=0;do{e=c[b>>2]|0;d=(d*10|0)+-48+(a[e>>0]|0)|0;e=e+1|0;c[b>>2]=e}while((Kx(a[e>>0]|0)|0)!=0)}return d|0}function ry(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,h=0.0;a:do if(b>>>0<=20)do switch(b|0){case 9:{e=(c[d>>2]|0)+(4-1)&~(4-1);b=c[e>>2]|0;c[d>>2]=e+4;c[a>>2]=b;break a}case 10:{b=(c[d>>2]|0)+(4-1)&~(4-1);e=c[b>>2]|0;c[d>>2]=b+4;b=a;c[b>>2]=e;c[b+4>>2]=((e|0)<0)<<31>>31;break a}case 11:{b=(c[d>>2]|0)+(4-1)&~(4-1);e=c[b>>2]|0;c[d>>2]=b+4;b=a;c[b>>2]=e;c[b+4>>2]=0;break a}case 12:{b=(c[d>>2]|0)+(8-1)&~(8-1);e=b;f=c[e>>2]|0;e=c[e+4>>2]|0;c[d>>2]=b+8;b=a;c[b>>2]=f;c[b+4>>2]=e;break a}case 13:{f=(c[d>>2]|0)+(4-1)&~(4-1);b=c[f>>2]|0;c[d>>2]=f+4;b=(b&65535)<<16>>16;f=a;c[f>>2]=b;c[f+4>>2]=((b|0)<0)<<31>>31;break a}case 14:{f=(c[d>>2]|0)+(4-1)&~(4-1);b=c[f>>2]|0;c[d>>2]=f+4;f=a;c[f>>2]=b&65535;c[f+4>>2]=0;break a}case 15:{f=(c[d>>2]|0)+(4-1)&~(4-1);b=c[f>>2]|0;c[d>>2]=f+4;b=(b&255)<<24>>24;f=a;c[f>>2]=b;c[f+4>>2]=((b|0)<0)<<31>>31;break a}case 16:{f=(c[d>>2]|0)+(4-1)&~(4-1);b=c[f>>2]|0;c[d>>2]=f+4;f=a;c[f>>2]=b&255;c[f+4>>2]=0;break a}case 17:{f=(c[d>>2]|0)+(8-1)&~(8-1);h=+g[f>>3];c[d>>2]=f+8;g[a>>3]=h;break a}case 18:{Tb[e&63](a,d);break a}default:break a}while(0);while(0);return}function sy(b,c,e,f){b=b|0;c=c|0;e=e|0;f=f|0;if(!((b|0)==0&(c|0)==0))do{e=e+-1|0;a[e>>0]=d[8656+(b&15)>>0]|0|f;b=_O(b|0,c|0,4)|0;c=G()|0}while(!((b|0)==0&(c|0)==0));return e|0}function ty(b,c,d){b=b|0;c=c|0;d=d|0;if(!((b|0)==0&(c|0)==0))do{d=d+-1|0;a[d>>0]=b&7|48;b=_O(b|0,c|0,3)|0;c=G()|0}while(!((b|0)==0&(c|0)==0));return d|0}function uy(b,c,d){b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;if(c>>>0>0|(c|0)==0&b>>>0>4294967295)do{e=b;b=ZO(b|0,c|0,10,0)|0;f=c;c=G()|0;g=UO(b|0,c|0,10,0)|0;g=WO(e|0,f|0,g|0,G()|0)|0;G()|0;d=d+-1|0;a[d>>0]=g&255|48}while(f>>>0>9|(f|0)==9&e>>>0>4294967295);if(b)do{g=b;b=(b>>>0)/10|0;d=d+-1|0;a[d>>0]=g-(b*10|0)|48}while(g>>>0>=10);return d|0}function vy(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;g=zb;zb=zb+256|0;f=g;if((c|0)>(d|0)&(e&73728|0)==0){e=c-d|0;hP(f|0,b<<24>>24|0,(e>>>0<256?e:256)|0)|0;if(e>>>0>255){b=c-d|0;do{py(a,f,256);e=e+-256|0}while(e>>>0>255);e=b&255}py(a,f,e)}zb=g;return}function wy(a,b){a=a|0;b=b|0;if(!a)a=0;else a=xy(a,b,0)|0;return a|0}function xy(b,d,e){b=b|0;d=d|0;e=e|0;do if(b){if(d>>>0<128){a[b>>0]=d;b=1;break}if(!(c[c[(yy()|0)+188>>2]>>2]|0))if((d&-128|0)==57216){a[b>>0]=d;b=1;break}else{c[(vx()|0)>>2]=25;b=-1;break}if(d>>>0<2048){a[b>>0]=d>>>6|192;a[b+1>>0]=d&63|128;b=2;break}if(d>>>0<55296|(d&-8192|0)==57344){a[b>>0]=d>>>12|224;a[b+1>>0]=d>>>6&63|128;a[b+2>>0]=d&63|128;b=3;break}if((d+-65536|0)>>>0<1048576){a[b>>0]=d>>>18|240;a[b+1>>0]=d>>>12&63|128;a[b+2>>0]=d>>>6&63|128;a[b+3>>0]=d&63|128;b=4;break}else{c[(vx()|0)>>2]=25;b=-1;break}}else b=1;while(0);return b|0}function yy(){return Ix()|0}function zy(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;g=e+16|0;f=c[g>>2]|0;if(!f)if(!(Ay(e)|0)){f=c[g>>2]|0;h=5}else f=0;else h=5;a:do if((h|0)==5){j=e+20|0;i=c[j>>2]|0;g=i;if((f-i|0)>>>0>>0){f=Ib[c[e+36>>2]&63](e,b,d)|0;break}b:do if((a[e+75>>0]|0)<0|(d|0)==0){h=g;e=0;g=d;f=b}else{i=d;while(1){f=i+-1|0;if((a[b+f>>0]|0)==10)break;if(!f){h=g;e=0;g=d;f=b;break b}else i=f}f=Ib[c[e+36>>2]&63](e,b,i)|0;if(f>>>0>>0)break a;h=c[j>>2]|0;e=i;g=d-i|0;f=b+i|0}while(0);fP(h|0,f|0,g|0)|0;c[j>>2]=(c[j>>2]|0)+g;f=e+g|0}while(0);return f|0}function Ay(b){b=b|0;var d=0,e=0;d=b+74|0;e=a[d>>0]|0;a[d>>0]=e+255|e;d=c[b>>2]|0;if(!(d&8)){c[b+8>>2]=0;c[b+4>>2]=0;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);d=0}else{c[b>>2]=d|32;d=-1}return d|0}function By(a){a=+a;var b=0;g[h>>3]=a;b=c[h>>2]|0;F(c[h+4>>2]|0);return b|0}function Cy(a,b){a=+a;b=b|0;var d=0,e=0,f=0;g[h>>3]=a;d=c[h>>2]|0;e=c[h+4>>2]|0;f=_O(d|0,e|0,52)|0;G()|0;switch(f&2047){case 0:{if(a!=0.0){a=+Cy(a*18446744073709551616.0,b);d=(c[b>>2]|0)+-64|0}else d=0;c[b>>2]=d;break}case 2047:break;default:{c[b>>2]=(f&2047)+-1022;c[h>>2]=d;c[h+4>>2]=e&-2146435073|1071644672;a=+g[h>>3]}}return +a}function Dy(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=a+20|0;f=c[e>>2]|0;a=(c[a+16>>2]|0)-f|0;a=a>>>0>d>>>0?d:a;fP(f|0,b|0,a|0)|0;c[e>>2]=(c[e>>2]|0)+a;return d|0}function Ey(a){a=a|0;if(Fy(a)|0)NO(a);return}function Fy(a){a=a|0;return (a|0)!=15980&((a|0)!=0&(a|0)!=56380)&1|0}function Gy(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;j=zb;zb=zb+32|0;h=j;a:do if(!(Fy(d)|0)){i=(d|0)!=0;f=0;g=0;do{e=1<>2]|0;else e=Lx(f,(e|0)==0?58519:b)|0;g=g+((e|0)!=0&1)|0;c[h+(f<<2)>>2]=e;f=f+1|0}while((f|0)!=6);switch(g&2147483647|0){case 0:{d=56380;break a}case 1:{if((c[h>>2]|0)==15952){d=15980;break a}break}default:{}}}else{e=0;do{if(1<>2]=Lx(e,b)|0;e=e+1|0}while((e|0)!=6)}while(0);zb=j;return d|0}function Hy(b,e,f,g){b=b|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0;l=zb;zb=zb+16|0;h=l;j=(g|0)==0?56484:g;g=c[j>>2]|0;a:do if(!e)if(!g)g=0;else k=19;else{i=(b|0)==0?h:b;if(!f)g=-2;else{if(!g){g=a[e>>0]|0;if(g<<24>>24>-1){c[i>>2]=g&255;g=g<<24>>24!=0&1;break}b=(c[c[(Iy()|0)+188>>2]>>2]|0)==0;g=a[e>>0]|0;if(b){c[i>>2]=g<<24>>24&57343;g=1;break}g=(g&255)+-194|0;if(g>>>0>50){k=19;break}g=c[5728+(g<<2)>>2]|0;h=f+-1|0;if(h){b=h;e=e+1|0;k=11}}else{b=f;k=11}b:do if((k|0)==11){h=d[e>>0]|0;m=h>>>3;if((m+-16|m+(g>>26))>>>0>7){k=19;break a}g=h+-128|g<<6;h=b+-1|0;if((g|0)<0)do{e=e+1|0;if(!h)break b;b=a[e>>0]|0;if((b&-64)<<24>>24!=-128){k=19;break a}g=(b&255)+-128|g<<6;h=h+-1|0}while((g|0)<0);c[j>>2]=0;c[i>>2]=g;g=f-h|0;break a}while(0);c[j>>2]=g;g=-2}}while(0);if((k|0)==19){c[j>>2]=0;c[(vx()|0)>>2]=25;g=-1}zb=l;return g|0}function Iy(){return Ix()|0}function Jy(a){a=a|0;return 0}function Ky(a,b){a=a|0;b=b|0;return -1|0}function Ly(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return d|0}function My(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0;j=zb;zb=zb+16|0;g=j;a:do if(!e)g=0;else{do if(f|0){i=(b|0)==0?g:b;g=a[e>>0]|0;if(g<<24>>24>-1){c[i>>2]=g&255;g=g<<24>>24!=0&1;break a}h=(c[c[(Ny()|0)+188>>2]>>2]|0)==0;g=a[e>>0]|0;if(h){c[i>>2]=g<<24>>24&57343;g=1;break a}g=(g&255)+-194|0;if(g>>>0<=50){h=e+1|0;b=c[5728+(g<<2)>>2]|0;if(f>>>0<4?b&-2147483648>>>((f*6|0)+-6|0)|0:0)break;g=d[h>>0]|0;f=g>>>3;if((f+-16|f+(b>>26))>>>0<=7){g=g+-128|b<<6;if((g|0)>=0){c[i>>2]=g;g=2;break a}b=(d[e+2>>0]|0)+-128|0;if(b>>>0<=63){b=b|g<<6;if((b|0)>=0){c[i>>2]=b;g=3;break a}g=(d[e+3>>0]|0)+-128|0;if(g>>>0<=63){c[i>>2]=g|b<<6;g=4;break a}}}}}while(0);c[(vx()|0)>>2]=25;g=-1}while(0);zb=j;return g|0}function Ny(){return Ix()|0}function Oy(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;n=zb;zb=zb+208|0;k=n;l=n+192|0;h=C(d,b)|0;j=l;c[j>>2]=1;c[j+4>>2]=0;a:do if(h|0){j=0-d|0;c[k+4>>2]=d;c[k>>2]=d;b=d;f=d;g=2;while(1){b=b+d+f|0;c[k+(g<<2)>>2]=b;if(b>>>0>>0){i=f;f=b;g=g+1|0;b=i}else break}h=a+h+j|0;if(h>>>0>a>>>0){i=h;b=1;f=a;g=1;do{do if((b&3|0)!=3){b=g+-1|0;if((c[k+(b<<2)>>2]|0)>>>0<(i-f|0)>>>0)Py(f,d,e,g,k);else Ry(f,d,e,l,g,0,k);if((g|0)==1){Sy(l,1);g=0;break}else{Sy(l,b);g=1;break}}else{Py(f,d,e,g,k);Qy(l,2);g=g+2|0}while(0);b=c[l>>2]|1;c[l>>2]=b;f=f+d|0}while(f>>>0>>0)}else{b=1;f=a;g=1}Ry(f,d,e,l,g,0,k);h=l+4|0;while(1){if((g|0)==1&(b|0)==1)if(!(c[h>>2]|0))break a;else m=19;else if((g|0)<2)m=19;else{Sy(l,2);a=g+-2|0;c[l>>2]=c[l>>2]^7;Qy(l,1);Ry(f+(0-(c[k+(a<<2)>>2]|0))+j|0,d,e,l,g+-1|0,1,k);Sy(l,1);b=c[l>>2]|1;c[l>>2]=b;f=f+j|0;Ry(f,d,e,l,a,1,k);g=a}if((m|0)==19){m=0;a=Ty(l)|0;Qy(l,a);b=c[l>>2]|0;f=f+j|0;g=a+g|0}}}while(0);zb=n;return}function Py(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0;m=zb;zb=zb+240|0;l=m;c[l>>2]=a;a:do if((e|0)>1){k=0-b|0;g=a;h=a;a=1;while(1){h=h+k|0;j=e+-2|0;i=h+(0-(c[f+(j<<2)>>2]|0))|0;if((Hb[d&63](g,i)|0)>-1?(Hb[d&63](g,h)|0)>-1:0)break a;g=l+(a<<2)|0;if((Hb[d&63](i,h)|0)>-1){c[g>>2]=i;h=i;e=e+-1|0}else{c[g>>2]=h;e=j}a=a+1|0;if((e|0)<=1)break a;g=c[l>>2]|0}}else a=1;while(0);Vy(b,l,a);zb=m;return}function Qy(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=a+4|0;if(b>>>0>31){d=c[f>>2]|0;c[a>>2]=d;c[f>>2]=0;e=0;b=b+-32|0}else{d=c[a>>2]|0;e=c[f>>2]|0}c[a>>2]=e<<32-b|d>>>b;c[f>>2]=e>>>b;return}function Ry(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;o=zb;zb=zb+240|0;m=o+232|0;n=o;p=c[e>>2]|0;c[m>>2]=p;j=c[e+4>>2]|0;k=m+4|0;c[k>>2]=j;c[n>>2]=a;a:do if((p|0)!=1|(j|0)!=0?(l=0-b|0,i=a+(0-(c[h+(f<<2)>>2]|0))|0,(Hb[d&63](i,a)|0)>=1):0){j=1;g=(g|0)==0;while(1){if(g&(f|0)>1){e=a+l|0;g=c[h+(f+-2<<2)>>2]|0;if((Hb[d&63](e,i)|0)>-1){i=a;g=j;e=10;break a}if((Hb[d&63](e+(0-g)|0,i)|0)>-1){i=a;g=j;e=10;break a}}a=j+1|0;c[n+(j<<2)>>2]=i;p=Ty(m)|0;Qy(m,p);f=p+f|0;if(!((c[m>>2]|0)!=1|(c[k>>2]|0)!=0)){g=a;e=10;break a}g=i+(0-(c[h+(f<<2)>>2]|0))|0;if((Hb[d&63](g,c[n>>2]|0)|0)<1){g=0;e=9;break}else{p=i;i=g;j=a;g=1;a=p}}}else{i=a;a=1;e=9}while(0);if((e|0)==9?(g|0)==0:0){g=a;e=10}if((e|0)==10){Vy(b,n,g);Py(i,b,d,f,h)}zb=o;return}function Sy(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=a+4|0;if(b>>>0>31){d=c[a>>2]|0;c[f>>2]=d;c[a>>2]=0;e=0;b=b+-32|0}else{d=c[f>>2]|0;e=c[a>>2]|0}c[f>>2]=e>>>(32-b|0)|d<>2]=e<>2]|0)+-1|0)|0;if(!b){a=Uy(c[a+4>>2]|0)|0;return ((a|0)==0?0:a+32|0)|0}else return b|0;return 0}function Uy(a){a=a|0;var b=0;if(a)if(!(a&1)){b=0;while(1){b=b+1|0;if(!(a&2))a=a>>>1;else break}}else b=0;else b=32;return b|0}function Vy(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;h=zb;zb=zb+256|0;e=h;a:do if((d|0)>=2?(g=b+(d<<2)|0,c[g>>2]=e,a|0):0)while(1){f=a>>>0<256?a:256;fP(e|0,c[b>>2]|0,f|0)|0;e=0;do{i=b+(e<<2)|0;e=e+1|0;fP(c[i>>2]|0,c[b+(e<<2)>>2]|0,f|0)|0;c[i>>2]=(c[i>>2]|0)+f}while((e|0)!=(d|0));a=a-f|0;if(!a)break a;e=c[g>>2]|0}while(0);zb=h;return}function Wy(a,b){a=a|0;b=b|0;Rx(a+(Qx(a)|0)|0,b)|0;return a|0}function Xy(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=zb;zb=zb+16|0;f=e;c[f>>2]=d;d=Yy(a,b,f)|0;zb=e;return d|0}function Yy(a,b,c){a=a|0;b=b|0;c=c|0;return hy(a,2147483647,b,c)|0}function Zy(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;if(d|0){e=a;while(1){d=d+-1|0;c[e>>2]=b;if(!d)break;else e=e+4|0}}return a|0}function _y(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;g=zb;zb=zb+32|0;f=g;c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=0;c[f+12>>2]=0;c[f+16>>2]=0;c[f+20>>2]=0;c[f+24>>2]=0;c[f+28>>2]=0;e=a[d>>0]|0;do if(!(e<<24>>24))d=0;else{if(!(a[d+1>>0]|0)){d=b;while(1)if((a[d>>0]|0)==e<<24>>24)d=d+1|0;else break;d=d-b|0;break}do{i=e&255;h=f+(i>>>5<<2)|0;c[h>>2]=c[h>>2]|1<<(i&31);d=d+1|0;e=a[d>>0]|0}while(e<<24>>24!=0);d=a[b>>0]|0;a:do if(!(d<<24>>24))d=b;else{e=d;d=b;do{i=e&255;if(!(c[f+(i>>>5<<2)>>2]&1<<(i&31)))break a;d=d+1|0;e=a[d>>0]|0}while(e<<24>>24!=0)}while(0);d=d-b|0}while(0);zb=g;return d|0}function $y(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;h=zb;zb=zb+32|0;f=h;e=a[d>>0]|0;a:do if(e<<24>>24!=0?(a[d+1>>0]|0)!=0:0){hP(f|0,0,32)|0;e=a[d>>0]|0;if(e<<24>>24)do{j=e&255;i=f+(j>>>5<<2)|0;c[i>>2]=c[i>>2]|1<<(j&31);d=d+1|0;e=a[d>>0]|0}while(e<<24>>24!=0);e=a[b>>0]|0;if(!(e<<24>>24))e=b;else{d=e;e=b;do{j=d&255;if(c[f+(j>>>5<<2)>>2]&1<<(j&31)|0)break a;e=e+1|0;d=a[e>>0]|0}while(d<<24>>24!=0)}}else g=3;while(0);if((g|0)==3)e=Mx(b,e<<24>>24)|0;zb=h;return e-b|0}function az(a){a=a|0;var b=0,c=0;b=(Qx(a)|0)+1|0;c=MO(b)|0;if(!c)b=0;else b=fP(c|0,a|0,b|0)|0;return b|0}function bz(a,b){a=a|0;b=b|0;return cz(a,b,(Qx(a)|0)+1|0)|0}function cz(b,c,d){b=b|0;c=c|0;d=d|0;var e=0;a:do if(!d)c=0;else{e=c&255;c=d;while(1){c=c+-1|0;if((a[b+c>>0]|0)==e<<24>>24)break;if(!c){c=0;break a}}c=b+c|0}while(0);return c|0}function dz(b,d){b=b|0;d=d|0;var e=0;if(!b){b=c[14122]|0;if(!b)b=0;else e=3}else e=3;do if((e|0)==3){e=b+(_y(b,d)|0)|0;if(!(a[e>>0]|0)){c[14122]=0;b=0;break}b=e+($y(e,d)|0)|0;c[14122]=b;if(!(a[b>>0]|0)){c[14122]=0;b=e;break}else{c[14122]=b+1;a[b>>0]=0;b=e;break}}while(0);return b|0}function ez(a,b,c){a=a|0;b=b|0;c=c|0;fz(a,b,c)|0;return a|0}function fz(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;g=d;a:do if(!((g^b)&3)){f=(e|0)!=0;if(f&(g&3|0)!=0)do{g=a[d>>0]|0;a[b>>0]=g;if(!(g<<24>>24))break a;e=e+-1|0;d=d+1|0;b=b+1|0;f=(e|0)!=0}while(f&(d&3|0)!=0);if(f){if(a[d>>0]|0){b:do if(e>>>0>3){f=d;while(1){d=c[f>>2]|0;if((d&-2139062144^-2139062144)&d+-16843009|0){d=f;break b}c[b>>2]=d;e=e+-4|0;d=f+4|0;b=b+4|0;if(e>>>0>3)f=d;else break}}while(0);h=13}}else e=0}else h=13;while(0);c:do if((h|0)==13)if(!e)e=0;else while(1){h=a[d>>0]|0;a[b>>0]=h;if(!(h<<24>>24))break c;e=e+-1|0;b=b+1|0;if(!e){e=0;break}else d=d+1|0}while(0);hP(b|0,0,e|0)|0;return b|0}function gz(b,c,d){b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=b+(Qx(b)|0)|0;a:do if(d){g=c;while(1){c=a[g>>0]|0;if(!(c<<24>>24))break a;d=d+-1|0;f=e+1|0;a[e>>0]=c;if(!d){e=f;break}else{e=f;g=g+1|0}}}while(0);a[e>>0]=0;return b|0}function hz(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;if(a-b>>2>>>0>=d>>>0){if(d|0){e=a;while(1){d=d+-1|0;c[e>>2]=c[b>>2];if(!d)break;else{e=e+4|0;b=b+4|0}}}}else do{d=d+-1|0;c[a+(d<<2)>>2]=c[b+(d<<2)>>2]}while((d|0)!=0);return a|0}function iz(){return 16264}function jz(){var a=0;a=(c[c[(kz()|0)+188>>2]>>2]|0)==0;return (a?1:4)|0}function kz(){return Ix()|0}function lz(){return 16268}function mz(){return 16272}function nz(a,b){a=+a;b=+b;var d=0,e=0;g[h>>3]=a;e=c[h>>2]|0;d=c[h+4>>2]|0;g[h>>3]=b;d=c[h+4>>2]&-2147483648|d&2147483647;c[h>>2]=e;c[h+4>>2]=d;return +(+g[h>>3])}function oz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=pz(a,b,c)|0;F(G()|0);return a|0}function pz(a,b,c){a=a|0;b=b|0;c=c|0;a=Wx(a,b,c,-1,-1)|0;F(G()|0);return a|0}function qz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=rz(a,b,c)|0;F(G()|0);return a|0}function rz(a,b,c){a=a|0;b=b|0;c=c|0;a=Wx(a,b,c,0,-2147483648)|0;F(G()|0);return a|0}function sz(a,b){a=+a;b=b|0;var d=0,e=0;if((b|0)<=1023){if((b|0)<-1022){a=a*2.2250738585072014e-308;d=(b|0)<-2044;e=b+2044|0;b=d?((e|0)>-1022?e:-1022):b+1022|0;a=d?a*2.2250738585072014e-308:a}}else{a=a*8988465674311579538646525.0e283;e=(b|0)>2046;d=b+-2046|0;b=e?((d|0)<1023?d:1023):b+-1023|0;a=e?a*8988465674311579538646525.0e283:a}d=$O(b+1023|0,0,52)|0;e=G()|0;c[h>>2]=d;c[h+4>>2]=e;return +(a*+g[h>>3])}function tz(a){a=+a;return ~~+iP(+a)|0}function uz(a,b){a=+a;b=b|0;return +(+sz(a,b))}function vz(a,b){a=+a;b=+b;return +(+nz(a,b))}function wz(a,b){a=+a;b=b|0;return +(+sz(a,b))}function xz(a,b){a=+a;b=+b;var d=0,e=0,f=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;g[h>>3]=a;d=c[h>>2]|0;m=c[h+4>>2]|0;g[h>>3]=b;n=c[h>>2]|0;o=c[h+4>>2]|0;e=_O(d|0,m|0,52)|0;G()|0;e=e&2047;j=_O(n|0,o|0,52)|0;G()|0;j=j&2047;p=m&-2147483648;l=$O(n|0,o|0,1)|0;k=G()|0;a:do if(!((l|0)==0&(k|0)==0)?(i=yz(b)|0,f=(G()|0)&2147483647,!((e|0)==2047|(f>>>0>2146435072|(f|0)==2146435072&i>>>0>0))):0){f=$O(d|0,m|0,1)|0;i=G()|0;if(!(i>>>0>k>>>0|(i|0)==(k|0)&f>>>0>l>>>0))return +((f|0)==(l|0)&(i|0)==(k|0)?a*0.0:a);if(!e){e=$O(d|0,m|0,12)|0;f=G()|0;if((f|0)>-1|(f|0)==-1&e>>>0>4294967295){i=e;e=0;do{e=e+-1|0;i=$O(i|0,f|0,1)|0;f=G()|0}while((f|0)>-1|(f|0)==-1&i>>>0>4294967295)}else e=0;d=$O(d|0,m|0,1-e|0)|0;k=G()|0}else k=m&1048575|1048576;if(!j){f=$O(n|0,o|0,12)|0;i=G()|0;if((i|0)>-1|(i|0)==-1&f>>>0>4294967295){j=0;do{j=j+-1|0;f=$O(f|0,i|0,1)|0;i=G()|0}while((i|0)>-1|(i|0)==-1&f>>>0>4294967295)}else j=0;n=$O(n|0,o|0,1-j|0)|0;m=G()|0}else m=o&1048575|1048576;l=WO(d|0,k|0,n|0,m|0)|0;f=G()|0;i=(f|0)>-1|(f|0)==-1&l>>>0>4294967295;b:do if((e|0)>(j|0)){while(1){if(i)if((l|0)==0&(f|0)==0)break;else d=l;else f=k;d=$O(d|0,f|0,1)|0;k=G()|0;e=e+-1|0;l=WO(d|0,k|0,n|0,m|0)|0;f=G()|0;i=(f|0)>-1|(f|0)==-1&l>>>0>4294967295;if((e|0)<=(j|0)){j=l;break b}}b=a*0.0;break a}else j=l;while(0);if(i)if((j|0)==0&(f|0)==0){b=a*0.0;break}else d=j;else f=k;if(f>>>0<1048576|(f|0)==1048576&d>>>0<0)do{d=$O(d|0,f|0,1)|0;f=G()|0;e=e+-1|0}while(f>>>0<1048576|(f|0)==1048576&d>>>0<0);if((e|0)>0){o=VO(d|0,f|0,0,-1048576)|0;d=G()|0;e=$O(e|0,0,52)|0;d=d|(G()|0);e=o|e}else{e=_O(d|0,f|0,1-e|0)|0;d=G()|0}c[h>>2]=e;c[h+4>>2]=d|p;b=+g[h>>3]}else q=3;while(0);if((q|0)==3){b=a*b;b=b/b}return +b}function yz(a){a=+a;var b=0;g[h>>3]=a;b=c[h>>2]|0;F(c[h+4>>2]|0);return b|0}function zz(a,b){a=+a;b=+b;return +(+xz(a,b))}function Az(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;if((c[f+76>>2]|0)>-1)m=ny(f)|0;else m=0;g=e+-1|0;if((e|0)<2){n=f+74|0;l=a[n>>0]|0;a[n>>0]=l+255|l;if(m|0)oy(f);if(!g)a[b>>0]=0;else b=0}else{a:do if(g){l=f+4|0;k=f+8|0;e=b;while(1){h=c[l>>2]|0;o=h;p=(c[k>>2]|0)-o|0;j=fy(h,10,p)|0;i=(j|0)==0;j=i?p:1-o+j|0;j=j>>>0>>0?j:g;fP(e|0,h|0,j|0)|0;h=(c[l>>2]|0)+j|0;c[l>>2]=h;e=e+j|0;j=g-j|0;if(!(i&(j|0)!=0)){n=17;break a}if(h>>>0>=(c[k>>2]|0)>>>0){g=_x(f)|0;if((g|0)<0)break;else h=g}else{c[l>>2]=h+1;h=d[h>>0]|0}i=e+1|0;a[e>>0]=h;g=j+-1|0;if((h&255|0)==10|(g|0)==0){e=i;n=17;break a}else e=i}if((e|0)!=(b|0)?(c[f>>2]&16|0)!=0:0)n=17;else b=0}else{e=b;n=17}while(0);if((n|0)==17)if(!b)b=0;else a[e>>0]=0;if(m)oy(f)}return b|0}function Bz(a){a=a|0;var b=0,e=0,f=0;if((c[a+76>>2]|0)>=0?(ny(a)|0)!=0:0){e=a+4|0;b=c[e>>2]|0;if(b>>>0<(c[a+8>>2]|0)>>>0){c[e>>2]=b+1;b=d[b>>0]|0}else b=_x(a)|0}else f=3;do if((f|0)==3){e=a+4|0;b=c[e>>2]|0;if(b>>>0<(c[a+8>>2]|0)>>>0){c[e>>2]=b+1;b=d[b>>0]|0;break}else{b=_x(a)|0;break}}while(0);return b|0}function Cz(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=zb;zb=zb+16|0;f=e;c[f>>2]=d;d=iy(a,b,f)|0;zb=e;return d|0}function Dz(b,e,f,g){b=b|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0;h=c[e>>2]|0;if((g|0)!=0?(i=c[g>>2]|0,(i|0)!=0):0)if(!b){j=h;g=f;l=26}else{c[g>>2]=0;k=h;g=f;l=48}else l=5;a:do if((l|0)==5){i=(b|0)!=0;if(c[c[(Ez()|0)+188>>2]>>2]|0)if(i){g=f;l=33;break}else{i=f;l=15;break}if(!i){f=Qx(h)|0;l=63;break}b:do if(f){i=f;while(1){g=a[h>>0]|0;if(!(g<<24>>24))break;h=h+1|0;c[b>>2]=g<<24>>24&57343;i=i+-1|0;if(!i)break b;else b=b+4|0}c[b>>2]=0;c[e>>2]=0;f=f-i|0;l=63;break a}while(0);c[e>>2]=h;l=63}while(0);c:while(1){d:do if((l|0)==15){g=i;while(1){i=a[h>>0]|0;if(((i&255)+-1|0)>>>0<127?(h&3|0)==0:0){l=c[h>>2]|0;i=l&255;if(!((l+-16843009|l)&-2139062144)){do{h=h+4|0;g=g+-4|0;i=c[h>>2]|0}while(!((i+-16843009|i)&-2139062144|0));i=i&255}}i=i&255;if((i+-1|0)>>>0>=127)break;h=h+1|0;g=g+-1|0}i=i+-194|0;if(i>>>0>50){i=b;l=57}else{i=c[5728+(i<<2)>>2]|0;j=h+1|0;l=26;continue c}}else if((l|0)==26){l=(d[j>>0]|0)>>>3;if((l+-16|l+(i>>26))>>>0>7)l=56;else{h=j+1|0;if(i&33554432){if((a[h>>0]&-64)<<24>>24!=-128){l=56;break}h=j+2|0;if(i&524288){if((a[h>>0]&-64)<<24>>24!=-128){l=56;break}h=j+3|0}}i=g+-1|0;l=15;continue c}}else if((l|0)==33){l=0;e:do if(g){while(1){i=d[h>>0]|0;j=i+-1|0;if(j>>>0<127){if((h&3|0)==0&g>>>0>4){while(1){i=c[h>>2]|0;if((i+-16843009|i)&-2139062144|0){l=42;break}c[b>>2]=i&255;c[b+4>>2]=d[h+1>>0];c[b+8>>2]=d[h+2>>0];i=h+4|0;j=b+16|0;c[b+12>>2]=d[h+3>>0];g=g+-4|0;if(g>>>0>4){h=i;b=j}else{l=41;break}}if((l|0)==41){k=a[i>>0]|0;h=i;b=j}else if((l|0)==42)k=i&255;j=k&255;i=j;j=j+-1|0;l=44}}else l=44;if((l|0)==44){l=0;if(j>>>0>=127)break}h=h+1|0;c[b>>2]=i;g=g+-1|0;if(!g)break e;else b=b+4|0}i=i+-194|0;if(i>>>0>50){i=b;l=57;break d}i=c[5728+(i<<2)>>2]|0;k=h+1|0;l=48;continue c}while(0);c[e>>2]=h;l=63;continue c}else if((l|0)==48){l=0;j=d[k>>0]|0;h=j>>>3;if((h+-16|h+(i>>26))>>>0>7){j=k;l=56}else{h=k+1|0;i=j+-128|i<<6;do if((i|0)<0){j=(d[h>>0]|0)+-128|0;if(j>>>0<=63){h=k+2|0;i=j|i<<6;if((i|0)>=0)break;h=(d[h>>0]|0)+-128|0;if(h>>>0<=63){i=h|i<<6;h=k+3|0;break}}c[(vx()|0)>>2]=25;h=k+-1|0;break d}while(0);c[b>>2]=i;g=g+-1|0;b=b+4|0;l=33;continue c}}else if((l|0)==63)return f|0;while(0);if((l|0)==56){h=j+-1|0;if(!i){i=b;l=57}else{f=b;l=61}}if((l|0)==57)if(!(a[h>>0]|0)){if(i|0){c[i>>2]=0;c[e>>2]=0}f=f-g|0;l=63;continue}else{f=i;l=61}if((l|0)==61){c[(vx()|0)>>2]=25;if(!f){f=-1;l=63;continue}}c[e>>2]=h;f=-1;l=63}return 0}function Ez(){return Ix()|0}function Fz(a){a=a|0;var b=0;b=55640;c[b>>2]=a+-1;c[b+4>>2]=0;return}function Gz(){var a=0,b=0,d=0;b=55640;b=UO(c[b>>2]|0,c[b+4>>2]|0,1284865837,1481765933)|0;b=VO(b|0,G()|0,1,0)|0;a=G()|0;d=55640;c[d>>2]=b;c[d+4>>2]=a;a=_O(b|0,a|0,33)|0;G()|0;return a|0}function Hz(b,e,f){b=b|0;e=e|0;f=f|0;var g=0.0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;switch(e|0){case 0:{l=24;m=-149;i=4;break}case 1:{l=53;m=-1074;i=4;break}case 2:{l=53;m=-1074;i=4;break}default:g=0.0}a:do if((i|0)==4){o=b+4|0;n=b+104|0;do{e=c[o>>2]|0;if(e>>>0<(c[n>>2]|0)>>>0){c[o>>2]=e+1;e=d[e>>0]|0}else e=Zx(b)|0}while((Vx(e)|0)!=0);b:do switch(e|0){case 43:case 45:{h=1-(((e|0)==45&1)<<1)|0;e=c[o>>2]|0;if(e>>>0<(c[n>>2]|0)>>>0){c[o>>2]=e+1;e=d[e>>0]|0;k=h;break b}else{e=Zx(b)|0;k=h;break b}}default:k=1}while(0);h=e;e=0;while(1){if((h|32|0)!=(a[47599+e>>0]|0))break;do if(e>>>0<7){h=c[o>>2]|0;if(h>>>0<(c[n>>2]|0)>>>0){c[o>>2]=h+1;h=d[h>>0]|0;break}else{h=Zx(b)|0;break}}while(0);e=e+1|0;if(e>>>0>=8){e=8;break}}c:do switch(e&2147483647|0){case 8:break;case 3:{i=23;break}default:{j=(f|0)!=0;if(j&e>>>0>3)if((e|0)==8)break c;else{i=23;break c}d:do if(!e){e=0;while(1){if((h|32|0)!=(a[47608+e>>0]|0))break d;do if(e>>>0<2){h=c[o>>2]|0;if(h>>>0<(c[n>>2]|0)>>>0){c[o>>2]=h+1;h=d[h>>0]|0;break}else{h=Zx(b)|0;break}}while(0);e=e+1|0;if(e>>>0>=3){e=3;break}}}while(0);switch(e|0){case 3:{e=c[o>>2]|0;if(e>>>0<(c[n>>2]|0)>>>0){c[o>>2]=e+1;e=d[e>>0]|0}else e=Zx(b)|0;if((e|0)!=40){if(!(c[n>>2]|0)){g=q;break a}c[o>>2]=(c[o>>2]|0)+-1;g=q;break a}e=1;while(1){h=c[o>>2]|0;if(h>>>0<(c[n>>2]|0)>>>0){c[o>>2]=h+1;h=d[h>>0]|0}else h=Zx(b)|0;if(!((h+-48|0)>>>0<10|(h+-65|0)>>>0<26)?!((h|0)==95|(h+-97|0)>>>0<26):0)break;e=e+1|0}if((h|0)==41){g=q;break a}h=(c[n>>2]|0)==0;if(!h)c[o>>2]=(c[o>>2]|0)+-1;if(!j){c[(vx()|0)>>2]=28;Xx(b,0,0);g=0.0;break a}if(!e){g=q;break a}while(1){e=e+-1|0;if(!h)c[o>>2]=(c[o>>2]|0)+-1;if(!e){g=q;break a}}}case 0:{if((h|0)==48){e=c[o>>2]|0;if(e>>>0<(c[n>>2]|0)>>>0){c[o>>2]=e+1;e=d[e>>0]|0}else e=Zx(b)|0;if((e|32|0)==120){g=+Iz(b,l,m,k,f);break a}if(!(c[n>>2]|0))e=48;else{c[o>>2]=(c[o>>2]|0)+-1;e=48}}else e=h;g=+Jz(b,e,l,m,k,f);break a}default:{if(c[n>>2]|0)c[o>>2]=(c[o>>2]|0)+-1;c[(vx()|0)>>2]=28;Xx(b,0,0);g=0.0;break a}}}}while(0);if((i|0)==23){h=(c[n>>2]|0)==0;if(!h)c[o>>2]=(c[o>>2]|0)+-1;if((f|0)!=0&e>>>0>3)do{if(!h)c[o>>2]=(c[o>>2]|0)+-1;e=e+-1|0}while(e>>>0>3)}g=+(k|0)*r}while(0);return +g}function Iz(a,b,e,f,g){a=a|0;b=b|0;e=e|0;f=f|0;g=g|0;var h=0.0,i=0,j=0,k=0,l=0.0,m=0,n=0.0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;y=a+4|0;i=c[y>>2]|0;x=a+104|0;if(i>>>0<(c[x>>2]|0)>>>0){c[y>>2]=i+1;i=d[i>>0]|0}else i=Zx(a)|0;m=0;a:while(1){switch(i|0){case 46:{w=10;break a}case 48:break;default:{j=0;k=0;o=0;break a}}i=c[y>>2]|0;if(i>>>0<(c[x>>2]|0)>>>0){c[y>>2]=i+1;i=d[i>>0]|0}else i=Zx(a)|0;m=1}if((w|0)==10){i=c[y>>2]|0;if(i>>>0<(c[x>>2]|0)>>>0){c[y>>2]=i+1;i=d[i>>0]|0}else i=Zx(a)|0;if((i|0)==48){j=0;k=0;do{i=c[y>>2]|0;if(i>>>0<(c[x>>2]|0)>>>0){c[y>>2]=i+1;i=d[i>>0]|0}else i=Zx(a)|0;j=VO(j|0,k|0,-1,-1)|0;k=G()|0}while((i|0)==48);m=1;o=1}else{j=0;k=0;o=1}}v=0;u=0;t=k;s=0;n=1.0;k=0;h=0.0;while(1){r=i+-48|0;p=i|32;if(r>>>0>=10){q=(i|0)==46;if(!(q|(p+-97|0)>>>0<6))break;if(q)if(!o){j=u;t=v;r=u;q=v;o=1;p=s;l=n}else{i=46;break}else w=24}else w=24;if((w|0)==24){w=0;i=(i|0)>57?p+-87|0:r;do if(!((v|0)<0|(v|0)==0&u>>>0<8))if((v|0)<0|(v|0)==0&u>>>0<14){n=n*.0625;p=s;l=n;h=h+n*+(i|0);break}else{r=(s|0)!=0|(i|0)==0;p=r?s:1;l=n;h=r?h:h+n*.5;break}else{p=s;l=n;k=i+(k<<4)|0}while(0);r=VO(u|0,v|0,1,0)|0;q=G()|0;m=1}i=c[y>>2]|0;if(i>>>0<(c[x>>2]|0)>>>0){c[y>>2]=i+1;i=d[i>>0]|0}else i=Zx(a)|0;v=q;u=r;s=p;n=l}do if(!m){i=(c[x>>2]|0)==0;if(!i)c[y>>2]=(c[y>>2]|0)+-1;if(g){if(!i?(c[y>>2]=(c[y>>2]|0)+-1,!((o|0)==0|i)):0)c[y>>2]=(c[y>>2]|0)+-1}else Xx(a,0,0);h=+(f|0)*0.0}else{o=(o|0)==0;p=o?u:j;o=o?v:t;if((v|0)<0|(v|0)==0&u>>>0<8){m=u;j=v;do{k=k<<4;w=m;m=VO(m|0,j|0,1,0)|0;v=j;j=G()|0}while((v|0)<0|(v|0)==0&w>>>0<7)}if((i|32|0)==112){j=Kz(a,g)|0;i=G()|0;if((j|0)==0&(i|0)==-2147483648){if(!g){Xx(a,0,0);h=0.0;break}if(!(c[x>>2]|0)){j=0;i=0}else{c[y>>2]=(c[y>>2]|0)+-1;j=0;i=0}}}else if(!(c[x>>2]|0)){j=0;i=0}else{c[y>>2]=(c[y>>2]|0)+-1;j=0;i=0}y=$O(p|0,o|0,2)|0;y=VO(y|0,G()|0,-32,-1)|0;i=VO(y|0,G()|0,j|0,i|0)|0;j=G()|0;if(!k){h=+(f|0)*0.0;break}y=0-e|0;g=((y|0)<0)<<31>>31;if((j|0)>(g|0)|(j|0)==(g|0)&i>>>0>y>>>0){c[(vx()|0)>>2]=68;h=+(f|0)*1797693134862315708145274.0e284*1797693134862315708145274.0e284;break}y=e+-106|0;g=((y|0)<0)<<31>>31;if((j|0)<(g|0)|(j|0)==(g|0)&i>>>0>>0){c[(vx()|0)>>2]=68;h=+(f|0)*2.2250738585072014e-308*2.2250738585072014e-308;break}if((k|0)>-1){do{y=!(h>=.5);k=k<<1|(y^1)&1;h=h+(y?h:h+-1.0);i=VO(i|0,j|0,-1,-1)|0;j=G()|0}while((k|0)>-1);m=i;n=h}else{m=i;n=h}y=((b|0)<0)<<31>>31;i=WO(32,0,e|0,((e|0)<0)<<31>>31|0)|0;i=VO(i|0,G()|0,m|0,j|0)|0;e=G()|0;if((e|0)<(y|0)|(e|0)==(y|0)&i>>>0>>0)if((i|0)>0)w=65;else{j=0;i=84;w=67}else{i=b;w=65}if((w|0)==65)if((i|0)<53){j=i;i=84-i|0;w=67}else{l=0.0;h=+(f|0)}if((w|0)==67){h=+(f|0);l=+vz(+sz(1.0,i),h);i=j}f=(k&1|0)==0&(n!=0.0&(i|0)<32);h=(f?0.0:n)*h+(l+h*+((k+(f&1)|0)>>>0))-l;if(!(h!=0.0))c[(vx()|0)>>2]=68;h=+wz(h,m)}while(0);return +h}function Jz(a,b,e,f,g,h){a=a|0;b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0.0,j=0,k=0.0,l=0,m=0,n=0,o=0,p=0,q=0.0,r=0.0,s=0,u=0.0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,H=0,I=0,J=0.0;I=zb;zb=zb+512|0;E=I;F=f+e|0;H=0-F|0;B=a+4|0;D=a+104|0;j=b;m=0;a:while(1){switch(j|0){case 46:{z=7;break a}case 48:break;default:{l=0;b=0;p=0;break a}}b=c[B>>2]|0;if(b>>>0<(c[D>>2]|0)>>>0){c[B>>2]=b+1;b=d[b>>0]|0}else b=Zx(a)|0;j=b;m=1}if((z|0)==7){b=c[B>>2]|0;if(b>>>0<(c[D>>2]|0)>>>0){c[B>>2]=b+1;j=d[b>>0]|0}else j=Zx(a)|0;if((j|0)==48){j=0;b=0;while(1){l=VO(j|0,b|0,-1,-1)|0;b=G()|0;j=c[B>>2]|0;if(j>>>0<(c[D>>2]|0)>>>0){c[B>>2]=j+1;j=d[j>>0]|0}else j=Zx(a)|0;if((j|0)==48)j=l;else{m=1;p=1;break}}}else{l=0;b=0;p=1}}c[E>>2]=0;v=j+-48|0;n=(j|0)==46;b:do if(n|v>>>0<10){A=E+496|0;y=l;z=0;s=0;w=n;o=0;l=0;n=0;c:while(1){do if(w)if(!p){y=z;b=s;p=1}else break c;else{w=VO(z|0,s|0,1,0)|0;s=G()|0;x=(j|0)!=48;if((l|0)>=125){if(!x){z=w;break}c[A>>2]=c[A>>2]|1;z=w;break}m=E+(l<<2)|0;if(!o)j=v;else j=j+-48+((c[m>>2]|0)*10|0)|0;c[m>>2]=j;o=o+1|0;v=(o|0)==9;z=w;m=1;o=v?0:o;l=l+(v&1)|0;n=x?w:n}while(0);j=c[B>>2]|0;if(j>>>0<(c[D>>2]|0)>>>0){c[B>>2]=j+1;j=d[j>>0]|0}else j=Zx(a)|0;v=j+-48|0;w=(j|0)==46;if(!(w|v>>>0<10)){w=y;v=z;z=31;break b}}v=z;p=y;j=(m|0)!=0;z=39}else{w=l;v=0;s=0;o=0;l=0;n=0;z=31}while(0);do if((z|0)==31){A=(p|0)==0;p=A?v:w;b=A?s:b;w=(m|0)!=0;if(!(w&(j|32|0)==101))if((j|0)>-1){j=w;z=39;break}else{m=s;j=w;z=41;break}m=Kz(a,h)|0;j=G()|0;if((m|0)==0&(j|0)==-2147483648){if(!h){Xx(a,0,0);i=0.0;break}if(!(c[D>>2]|0)){m=0;j=0}else{c[B>>2]=(c[B>>2]|0)+-1;m=0;j=0}}w=VO(m|0,j|0,p|0,b|0)|0;p=v;b=G()|0;m=s;z=43}while(0);if((z|0)==39)if(c[D>>2]|0){c[B>>2]=(c[B>>2]|0)+-1;if(j){w=p;p=v;m=s;z=43}else z=42}else{m=s;z=41}if((z|0)==41)if(j){w=p;p=v;z=43}else z=42;do if((z|0)==42){c[(vx()|0)>>2]=28;Xx(a,0,0);i=0.0}else if((z|0)==43){j=c[E>>2]|0;if(!j){i=+(g|0)*0.0;break}if(((m|0)<0|(m|0)==0&p>>>0<10)&((w|0)==(p|0)&(b|0)==(m|0))?(e|0)>30|(j>>>e|0)==0:0){i=+(g|0)*+(j>>>0);break}a=(f|0)/-2|0;D=((a|0)<0)<<31>>31;if((b|0)>(D|0)|(b|0)==(D|0)&w>>>0>a>>>0){c[(vx()|0)>>2]=68;i=+(g|0)*1797693134862315708145274.0e284*1797693134862315708145274.0e284;break}a=f+-106|0;D=((a|0)<0)<<31>>31;if((b|0)<(D|0)|(b|0)==(D|0)&w>>>0>>0){c[(vx()|0)>>2]=68;i=+(g|0)*2.2250738585072014e-308*2.2250738585072014e-308;break}if(o){if((o|0)<9){m=E+(l<<2)|0;b=o;j=c[m>>2]|0;while(1){j=j*10|0;if((b|0)>=8)break;else b=b+1|0}c[m>>2]=j}l=l+1|0}if((n|0)<9?(n|0)<=(w|0)&(w|0)<18:0){if((w|0)==9){i=+(g|0)*+((c[E>>2]|0)>>>0);break}if((w|0)<9){i=+(g|0)*+((c[E>>2]|0)>>>0)/+(c[12512+(8-w<<2)>>2]|0);break}a=e+27+(C(w,-3)|0)|0;b=c[E>>2]|0;if((a|0)>30|(b>>>a|0)==0){i=+(g|0)*+(b>>>0)*+(c[12512+(w+-10<<2)>>2]|0);break}}b=(w|0)%9|0;if(!b){m=0;j=w}else{s=(w|0)>-1?b:b+9|0;m=c[12512+(8-s<<2)>>2]|0;if(l){o=1e9/(m|0)|0;j=0;n=0;p=0;b=w;do{B=E+(p<<2)|0;D=c[B>>2]|0;a=(D>>>0)/(m>>>0)|0;D=D-(C(a,m)|0)|0;a=a+n|0;c[B>>2]=a;n=C(o,D)|0;a=(p|0)==(j|0)&(a|0)==0;b=a?b+-9|0:b;j=a?j+1&127:j;p=p+1|0}while((p|0)!=(l|0));if(n){c[E+(l<<2)>>2]=n;l=l+1|0}}else{j=0;b=w;l=0}m=j;j=9-s+b|0}b=0;d:while(1){x=(j|0)<18;y=(j|0)==18;w=E+(m<<2)|0;do{if(!x){if(!y)break d;if((c[w>>2]|0)>>>0>=9007199){j=18;break d}}o=0;n=l+127|0;while(1){s=n&127;p=E+(s<<2)|0;n=$O(c[p>>2]|0,0,29)|0;n=VO(n|0,G()|0,o|0,0)|0;o=G()|0;if(o>>>0>0|(o|0)==0&n>>>0>1e9){v=ZO(n|0,o|0,1e9,0)|0;a=UO(v|0,G()|0,1e9,0)|0;n=WO(n|0,o|0,a|0,G()|0)|0;G()|0}else v=0;c[p>>2]=n;a=(s|0)==(m|0);p=(s|0)!=(l+127&127|0)|a?l:(n|0)==0?s:l;if(a)break;else{o=v;n=s+-1|0;l=p}}b=b+-29|0}while((v|0)==0);m=m+127&127;n=p+127&127;o=E+((p+126&127)<<2)|0;if((m|0)==(p|0)){c[o>>2]=c[o>>2]|c[E+(n<<2)>>2];l=n}c[E+(m<<2)>>2]=v;j=j+9|0}e:while(1){w=l+1&127;x=E+((l+127&127)<<2)|0;while(1){p=(j|0)==18;v=(j|0)>27?9:1;y=m;while(1){o=0;while(1){m=o+y&127;if((m|0)==(l|0)){z=92;break}m=c[E+(m<<2)>>2]|0;n=c[16276+(o<<2)>>2]|0;if(m>>>0>>0){z=92;break}if(m>>>0>n>>>0)break;if((o+1|0)>>>0<2)o=1;else{z=92;break}}if((z|0)==92?(z=0,p):0)break e;b=v+b|0;if((y|0)==(l|0))y=l;else break}s=(1<>>v;m=y;o=0;n=y;do{B=E+(n<<2)|0;D=c[B>>2]|0;a=(D>>>v)+o|0;c[B>>2]=a;o=C(D&s,p)|0;a=(n|0)==(m|0)&(a|0)==0;j=a?j+-9|0:j;m=a?m+1&127:m;n=n+1&127}while((n|0)!=(l|0));if(o|0){if((w|0)!=(m|0))break;c[x>>2]=c[x>>2]|1}}c[E+(l<<2)>>2]=o;l=w}n=0;i=0.0;while(1){m=n+y&127;j=l+1&127;if((m|0)==(l|0))c[E+(j+-1<<2)>>2]=0;else j=l;i=i*1.0e9+ +((c[E+(m<<2)>>2]|0)>>>0);n=n+1|0;if((n|0)==2)break;else l=j}u=+(g|0);k=i*u;m=b+53|0;p=m-f|0;o=(p|0)<(e|0);n=o?((p|0)>0?p:0):e;if((n|0)<53){J=+vz(+sz(1.0,105-n|0),k);q=+zz(k,+sz(1.0,53-n|0));r=J;i=q;q=J+(k-q)}else{r=0.0;i=0.0;q=k}l=y+2&127;if((l|0)!=(j|0)){l=c[E+(l<<2)>>2]|0;do if(l>>>0>=5e8){if((l|0)!=5e8){i=u*.75+i;break}if((y+3&127|0)==(j|0)){i=u*.5+i;break}else{i=u*.75+i;break}}else{if((l|0)==0?(y+3&127|0)==(j|0):0)break;i=u*.25+i}while(0);if((53-n|0)>1?!(+zz(i,1.0)!=0.0):0)k=i+1.0;else k=i}else k=i;i=q+k-r;do if((m&2147483647|0)>(-2-F|0)){F=!(+t(+i)>=9007199254740992.0);b=b+((F^1)&1)|0;i=F?i:i*.5;if((b+50|0)<=(H|0)?!(k!=0.0&(o&((n|0)!=(p|0)|F))):0)break;c[(vx()|0)>>2]=68}while(0);i=+wz(i,b)}while(0);zb=I;return +i}function Kz(a,b){a=a|0;b=b|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;i=a+4|0;e=c[i>>2]|0;j=a+104|0;if(e>>>0<(c[j>>2]|0)>>>0){c[i>>2]=e+1;f=d[e>>0]|0}else f=Zx(a)|0;switch(f|0){case 43:case 45:{g=(f|0)==45&1;e=c[i>>2]|0;if(e>>>0<(c[j>>2]|0)>>>0){c[i>>2]=e+1;e=d[e>>0]|0}else e=Zx(a)|0;f=e+-48|0;if((b|0)!=0&f>>>0>9)if(!(c[j>>2]|0)){f=-2147483648;e=0}else{c[i>>2]=(c[i>>2]|0)+-1;k=14}else{h=g;k=12}break}default:{e=f;h=0;f=f+-48|0;k=12}}if((k|0)==12)if(f>>>0>9)k=14;else{g=0;while(1){g=e+-48+(g*10|0)|0;e=c[i>>2]|0;if(e>>>0<(c[j>>2]|0)>>>0){c[i>>2]=e+1;f=d[e>>0]|0}else f=Zx(a)|0;b=f+-48|0;if(!(b>>>0<10&(g|0)<214748364))break;else e=f}e=((g|0)<0)<<31>>31;if(b>>>0<10){do{l=UO(g|0,e|0,10,0)|0;b=G()|0;f=VO(f|0,((f|0)<0)<<31>>31|0,-48,-1)|0;g=VO(f|0,G()|0,l|0,b|0)|0;e=G()|0;f=c[i>>2]|0;if(f>>>0<(c[j>>2]|0)>>>0){c[i>>2]=f+1;f=d[f>>0]|0}else f=Zx(a)|0;b=f+-48|0}while(b>>>0<10&((e|0)<21474836|(e|0)==21474836&g>>>0<2061584302));if(b>>>0<10)do{f=c[i>>2]|0;if(f>>>0<(c[j>>2]|0)>>>0){c[i>>2]=f+1;f=d[f>>0]|0}else f=Zx(a)|0}while((f+-48|0)>>>0<10)}if(c[j>>2]|0)c[i>>2]=(c[i>>2]|0)+-1;j=(h|0)==0;l=WO(0,0,g|0,e|0)|0;f=G()|0;f=j?e:f;e=j?g:l}if((k|0)==14)if(!(c[j>>2]|0)){f=-2147483648;e=0}else{c[i>>2]=(c[i>>2]|0)+-1;f=-2147483648;e=0}F(f|0);return e|0}function Lz(a,b){a=a|0;b=b|0;var c=0;c=Qx(a)|0;return ((Mz(a,1,c,b)|0)!=(c|0))<<31>>31|0}function Mz(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;f=C(d,b)|0;d=(b|0)==0?0:d;if((c[e+76>>2]|0)>-1){g=(ny(e)|0)==0;a=zy(a,f,e)|0;if(!g)oy(e)}else a=zy(a,f,e)|0;if((a|0)!=(f|0))d=(a>>>0)/(b>>>0)|0;return d|0}function Nz(a){a=a|0;var b=0;if(c[a+68>>2]|0){b=c[a+132>>2]|0;a=a+128|0;if(b|0)c[b+128>>2]=c[a>>2];a=c[a>>2]|0;if(!a)a=(Oz()|0)+232|0;else a=a+132|0;c[a>>2]=b}return}function Oz(){return Ix()|0}function Pz(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0;l=zb;zb=zb+16|0;j=l;k=e&255;a[j>>0]=k;h=b+16|0;g=c[h>>2]|0;if(!g)if(!(Ay(b)|0)){g=c[h>>2]|0;i=4}else f=-1;else i=4;do if((i|0)==4){i=b+20|0;h=c[i>>2]|0;if(h>>>0>>0?(f=e&255,(f|0)!=(a[b+75>>0]|0)):0){c[i>>2]=h+1;a[h>>0]=k;break}if((Ib[c[b+36>>2]&63](b,j,1)|0)==1)f=d[j>>0]|0;else f=-1}while(0);zb=l;return f|0}function Qz(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;f=zb;zb=zb+16|0;e=f;if(ey(47612,a[d>>0]|0)|0){g=Rz(d)|0|32768;c[e>>2]=b;c[e+4>>2]=g;c[e+8>>2]=438;e=Ox(Z(5,e|0)|0)|0;if((e|0)>=0){b=Sz(e,d)|0;if(!b){ba(e|0)|0;b=0}}else b=0}else{c[(vx()|0)>>2]=28;b=0}zb=f;return b|0}function Rz(b){b=b|0;var c=0,d=0,e=0;d=(ey(b,43)|0)==0;c=a[b>>0]|0;d=d?c<<24>>24!=114&1:2;e=(ey(b,120)|0)==0;d=e?d:d|128;b=(ey(b,101)|0)==0;b=b?d:d|524288;b=c<<24>>24==114?b:b|64;b=c<<24>>24==119?b|512:b;return (c<<24>>24==97?b|1024:b)|0}function Sz(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;j=zb;zb=zb+48|0;h=j+24|0;g=j+8|0;f=j;i=j+40|0;if(ey(47612,a[d>>0]|0)|0){e=MO(1176)|0;if(!e)e=0;else{hP(e|0,0,144)|0;k=(ey(d,43)|0)==0;d=a[d>>0]|0;if(k)c[e>>2]=d<<24>>24==114?8:4;if(d<<24>>24==97){c[f>>2]=b;c[f+4>>2]=3;d=Y(221,f|0)|0;if(!(d&1024)){c[g>>2]=b;c[g+4>>2]=4;c[g+8>>2]=d|1024;Y(221,g|0)|0}f=c[e>>2]|128;c[e>>2]=f}else f=c[e>>2]|0;c[e+60>>2]=b;c[e+44>>2]=e+152;c[e+48>>2]=1024;d=e+75|0;a[d>>0]=-1;if((f&8|0)==0?(c[h>>2]=b,c[h+4>>2]=21523,c[h+8>>2]=i,(_(54,h|0)|0)==0):0)a[d>>0]=10;c[e+32>>2]=1;c[e+36>>2]=2;c[e+40>>2]=1;c[e+12>>2]=2;if(!(c[14102]|0))c[e+76>>2]=-1;Tz(e)|0}}else{c[(vx()|0)>>2]=28;e=0}zb=j;return e|0}function Tz(a){a=a|0;var b=0,d=0;d=Uz()|0;c[a+56>>2]=c[d>>2];b=c[d>>2]|0;if(b|0)c[b+52>>2]=a;c[d>>2]=a;Vz();return a|0}function Uz(){V(56492);return 56500}function Vz(){aa(56492);return}function Wz(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;if((c[a+76>>2]|0)>-1)f=ny(a)|0;else f=0;Nz(a);g=(c[a>>2]&1|0)!=0;if(!g){e=Uz()|0;d=c[a+52>>2]|0;b=a+56|0;if(d|0)c[d+56>>2]=c[b>>2];b=c[b>>2]|0;if(b|0)c[b+52>>2]=d;if((c[e>>2]|0)==(a|0))c[e>>2]=b;Vz()}d=Xz(a)|0;d=Fb[c[a+12>>2]&127](a)|0|d;b=c[a+96>>2]|0;if(b|0)NO(b);if(g){if(f|0)oy(a)}else NO(a);return d|0}function Xz(a){a=a|0;var b=0,d=0;do if(a){if((c[a+76>>2]|0)<=-1){b=Yz(a)|0;break}d=(ny(a)|0)==0;b=Yz(a)|0;if(!d)oy(a)}else{if(!(c[4003]|0))b=0;else b=Xz(c[4003]|0)|0;a=c[(Uz()|0)>>2]|0;if(a)do{if((c[a+76>>2]|0)>-1)d=ny(a)|0;else d=0;if((c[a+20>>2]|0)>>>0>(c[a+28>>2]|0)>>>0)b=Yz(a)|0|b;if(d|0)oy(a);a=c[a+56>>2]|0}while((a|0)!=0);Vz()}while(0);return b|0}function Yz(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;h=a+20|0;g=a+28|0;if((c[h>>2]|0)>>>0>(c[g>>2]|0)>>>0?(Ib[c[a+36>>2]&63](a,0,0)|0,(c[h>>2]|0)==0):0)b=-1;else{f=a+4|0;b=c[f>>2]|0;e=a+8|0;d=c[e>>2]|0;if(b>>>0>>0){d=b-d|0;Jb[c[a+40>>2]&15](a,d,((d|0)<0)<<31>>31,1)|0;G()|0}c[a+16>>2]=0;c[g>>2]=0;c[h>>2]=0;c[e>>2]=0;c[f>>2]=0;b=0}return b|0}function Zz(a){a=a|0;var b=0;if((c[a+76>>2]|0)>-1){b=(ny(a)|0)==0;a=(c[a>>2]|0)>>>5&1}else a=(c[a>>2]|0)>>>5&1;return a|0}function _z(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=zb;zb=zb+16|0;f=e;c[f>>2]=d;d=$z(a,b,f)|0;zb=e;return d|0}function $z(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=zb;zb=zb+144|0;f=e;hP(f|0,0,144)|0;c[f+32>>2]=35;c[f+44>>2]=a;c[f+76>>2]=-1;c[f+84>>2]=a;a=bA(f,b,d)|0;zb=e;return a|0}function aA(a,b,c){a=a|0;b=b|0;c=c|0;return fA(a,b,c)|0}function bA(e,h,i){e=e|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0.0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0;Q=zb;zb=zb+288|0;M=Q+264|0;J=Q;N=Q+260|0;B=Q+272|0;if((c[e+76>>2]|0)>-1)P=ny(e)|0;else P=0;j=a[h>>0]|0;a:do if(j<<24>>24){I=e+4|0;L=e+104|0;K=e+120|0;H=e+8|0;C=J+10|0;D=J+33|0;E=J+46|0;F=J+94|0;A=M+4|0;k=0;l=j;u=0;v=0;j=0;p=h;h=0;b:while(1){c:do if(!(Vx(l&255)|0)){n=(a[p>>0]|0)==37;d:do if(n){l=p+1|0;m=a[l>>0]|0;e:do switch(m<<24>>24){case 37:break d;case 42:{z=0;l=p+2|0;break}default:{if(Kx(m&255)|0?(a[p+2>>0]|0)==36:0){z=cA(i,(d[l>>0]|0)+-48|0)|0;l=p+3|0;break e}y=(c[i>>2]|0)+(4-1)&~(4-1);z=c[y>>2]|0;c[i>>2]=y+4}}while(0);if(!(Kx(d[l>>0]|0)|0)){r=l;m=0}else{m=0;do{m=(m*10|0)+-48+(d[l>>0]|0)|0;l=l+1|0}while((Kx(d[l>>0]|0)|0)!=0);r=l}l=a[r>>0]|0;n=r+1|0;if(l<<24>>24==109){k=0;p=a[n>>0]|0;l=(z|0)!=0&1;q=r+2|0;h=0}else{p=l;l=0;q=n;n=r}switch(p<<24>>24){case 104:{y=(a[q>>0]|0)==104;q=y?n+2|0:q;n=y?-2:-1;break}case 108:{y=(a[q>>0]|0)==108;q=y?n+2|0:q;n=y?3:1;break}case 106:{n=3;break}case 116:case 122:{n=1;break}case 76:{n=2;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:{q=n;n=0;break}default:{O=143;break b}}s=d[q>>0]|0;t=(s&47|0)==3;s=t?s|32:s;t=t?1:n;r=s&255;switch(r<<24>>24){case 99:{y=u;m=(m|0)>1?m:1;break}case 91:{y=u;break}case 110:{dA(z,t,u,v);n=u;r=v;l=q;break c}default:{Xx(e,0,0);do{n=c[I>>2]|0;if(n>>>0<(c[L>>2]|0)>>>0){c[I>>2]=n+1;n=d[n>>0]|0}else n=Zx(e)|0}while((Vx(n)|0)!=0);if(!(c[L>>2]|0))n=c[I>>2]|0;else{n=(c[I>>2]|0)+-1|0;c[I>>2]=n}x=K;y=n-(c[H>>2]|0)|0;v=VO(c[x>>2]|0,c[x+4>>2]|0,u|0,v|0)|0;y=VO(v|0,G()|0,y|0,((y|0)<0)<<31>>31|0)|0;v=G()|0}}x=((m|0)<0)<<31>>31;Xx(e,m,x);p=c[I>>2]|0;n=c[L>>2]|0;if(p>>>0>>0)c[I>>2]=p+1;else{if((Zx(e)|0)<0){O=143;break b}n=c[L>>2]|0}if(n|0)c[I>>2]=(c[I>>2]|0)+-1;f:do switch(r<<24>>24){case 91:case 99:case 115:{w=(s|0)==99;g:do if((s|16|0)==115){hP(J|0,-1,257)|0;a[J>>0]=0;if((s|0)==115){a[D>>0]=0;b[C>>1]=0;b[C+2>>1]=0;a[C+4>>0]=0;n=q}else n=q}else{n=q+1|0;u=(a[n>>0]|0)==94;p=u&1;n=u?q+2|0:n;hP(J|0,p|0,257)|0;a[J>>0]=0;switch(a[n>>0]|0){case 45:{r=(p^1)&255;a[E>>0]=r;n=n+1|0;break}case 93:{r=(p^1)&255;a[F>>0]=r;n=n+1|0;break}default:r=(p^1)&255}while(1){p=a[n>>0]|0;h:do switch(p<<24>>24){case 0:{O=143;break b}case 93:break g;case 45:{q=n+1|0;p=a[q>>0]|0;switch(p<<24>>24){case 93:case 0:{p=45;break h}default:{}}n=a[n+-1>>0]|0;if((n&255)<(p&255)){n=n&255;do{n=n+1|0;a[J+n>>0]=r;p=a[q>>0]|0}while(n>>>0<(p&255)>>>0);n=q}else n=q;break}default:{}}while(0);a[J+((p&255)+1)>>0]=r;n=n+1|0}}while(0);q=w?m+1|0:31;t=(t|0)==1;u=(l|0)!=0;i:do if(t){if(u){k=MO(q<<2)|0;if(!k){k=0;h=0;O=143;break b}}else k=z;c[M>>2]=0;c[A>>2]=0;h=0;j:while(1){r=(k|0)==0;p=h;do{k:while(1){h=c[I>>2]|0;if(h>>>0<(c[L>>2]|0)>>>0){c[I>>2]=h+1;h=d[h>>0]|0}else h=Zx(e)|0;if(!(a[J+(h+1)>>0]|0))break j;a[B>>0]=h;switch(Hy(N,B,1,M)|0){case -1:{h=0;O=143;break b}case -2:break;default:break k}}if(!r){c[k+(p<<2)>>2]=c[N>>2];p=p+1|0}}while(!(u&(p|0)==(q|0)));q=q<<1|1;h=PO(k,q<<2)|0;if(!h){h=0;O=143;break b}else{k=h;h=p}}if(!(eA(M)|0)){h=0;O=143;break b}else{s=k;h=0;r=k}}else{if(u){h=MO(q)|0;if(!h){k=0;h=0;O=143;break b}p=0;while(1){do{k=c[I>>2]|0;if(k>>>0<(c[L>>2]|0)>>>0){c[I>>2]=k+1;k=d[k>>0]|0}else k=Zx(e)|0;if(!(a[J+(k+1)>>0]|0)){s=0;r=0;break i}s=p;p=p+1|0;a[h+s>>0]=k}while((p|0)!=(q|0));q=q<<1|1;k=PO(h,q)|0;if(!k){k=0;O=143;break b}else h=k}}if(!z)while(1){h=c[I>>2]|0;if(h>>>0<(c[L>>2]|0)>>>0){c[I>>2]=h+1;h=d[h>>0]|0}else h=Zx(e)|0;if(!(a[J+(h+1)>>0]|0)){s=0;p=0;h=0;r=0;break i}}k=0;while(1){h=c[I>>2]|0;if(h>>>0<(c[L>>2]|0)>>>0){c[I>>2]=h+1;h=d[h>>0]|0}else h=Zx(e)|0;if(!(a[J+(h+1)>>0]|0)){s=0;p=k;h=z;r=0;break i}a[z+k>>0]=h;k=k+1|0}}while(0);if(!(c[L>>2]|0))k=c[I>>2]|0;else{k=(c[I>>2]|0)+-1|0;c[I>>2]=k}q=K;k=k-(c[H>>2]|0)|0;k=VO(c[q>>2]|0,c[q+4>>2]|0,k|0,((k|0)<0)<<31>>31|0)|0;q=G()|0;if((k|0)==0&(q|0)==0){k=s;break b}if(!((k|0)==(m|0)&(q|0)==(x|0)|w^1)){k=s;break b}do if(u)if(t){c[z>>2]=r;break}else{c[z>>2]=h;break}while(0);if(w){k=s;l=n}else{if(r|0)c[r+(p<<2)>>2]=0;if(!h){k=s;l=n;h=0;break f}a[h+p>>0]=0;k=s;l=n}break}case 120:case 88:case 112:{m=16;O=131;break}case 111:{m=8;O=131;break}case 117:case 100:{m=10;O=131;break}case 105:{m=0;O=131;break}case 71:case 103:case 70:case 102:case 69:case 101:case 65:case 97:{o=+Hz(e,t,0);x=K;u=c[x>>2]|0;x=c[x+4>>2]|0;w=(c[I>>2]|0)-(c[H>>2]|0)|0;w=WO(0,0,w|0,((w|0)<0)<<31>>31|0)|0;if((u|0)==(w|0)&(x|0)==(G()|0))break b;if(!z)l=q;else switch(t|0){case 0:{f[z>>2]=o;l=q;break f}case 1:{g[z>>3]=o;l=q;break f}case 2:{g[z>>3]=o;l=q;break f}default:{l=q;break f}}break}default:l=q}while(0);do if((O|0)==131){O=0;m=Yx(e,m,0,-1,-1)|0;n=G()|0;x=K;u=c[x>>2]|0;x=c[x+4>>2]|0;w=(c[I>>2]|0)-(c[H>>2]|0)|0;w=WO(0,0,w|0,((w|0)<0)<<31>>31|0)|0;if((u|0)==(w|0)&(x|0)==(G()|0))break b;if((z|0)!=0&(s|0)==112){c[z>>2]=m;l=q;break}else{dA(z,t,m,n);l=q;break}}while(0);r=K;n=(c[I>>2]|0)-(c[H>>2]|0)|0;r=VO(c[r>>2]|0,c[r+4>>2]|0,y|0,v|0)|0;n=VO(r|0,G()|0,n|0,((n|0)<0)<<31>>31|0)|0;r=G()|0;j=j+((z|0)!=0&1)|0;break c}while(0);m=p+(n&1)|0;Xx(e,0,0);l=c[I>>2]|0;if(l>>>0<(c[L>>2]|0)>>>0){c[I>>2]=l+1;l=d[l>>0]|0}else l=Zx(e)|0;if((l|0)!=(d[m>>0]|0)){O=23;break b}n=VO(u|0,v|0,1,0)|0;r=G()|0;l=m}else{m=p;while(1){l=m+1|0;if(!(Vx(d[l>>0]|0)|0))break;else m=l}Xx(e,0,0);do{l=c[I>>2]|0;if(l>>>0<(c[L>>2]|0)>>>0){c[I>>2]=l+1;l=d[l>>0]|0}else l=Zx(e)|0}while((Vx(l)|0)!=0);if(!(c[L>>2]|0))l=c[I>>2]|0;else{l=(c[I>>2]|0)+-1|0;c[I>>2]=l}r=K;n=l-(c[H>>2]|0)|0;r=VO(c[r>>2]|0,c[r+4>>2]|0,u|0,v|0)|0;n=VO(r|0,G()|0,n|0,((n|0)<0)<<31>>31|0)|0;r=G()|0;l=m}while(0);p=l+1|0;l=a[p>>0]|0;if(!(l<<24>>24))break a;else{u=n;v=r}}if((O|0)==23){if(c[L>>2]|0)c[I>>2]=(c[I>>2]|0)+-1;if((j|0)!=0|(l|0)>-1)break;else{j=k;l=0;O=144}}else if((O|0)==143)if(!j){j=k;O=144}if((O|0)==144){k=j;j=-1}if(l){NO(h);NO(k)}}else j=0;while(0);if(P|0)oy(e);zb=Q;return j|0}function cA(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;e=zb;zb=zb+16|0;d=e;c[d>>2]=c[a>>2];while(1){f=(c[d>>2]|0)+(4-1)&~(4-1);a=c[f>>2]|0;c[d>>2]=f+4;if(b>>>0>1)b=b+-1|0;else break}zb=e;return a|0}function dA(d,e,f,g){d=d|0;e=e|0;f=f|0;g=g|0;a:do if(d|0)switch(e|0){case -2:{a[d>>0]=f;break a}case -1:{b[d>>1]=f;break a}case 0:{c[d>>2]=f;break a}case 1:{c[d>>2]=f;break a}case 3:{e=d;c[e>>2]=f;c[e+4>>2]=g;break a}default:break a}while(0);return}function eA(a){a=a|0;if(!a)a=1;else a=(c[a>>2]|0)==0&1;return a|0}function fA(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;e=a+84|0;g=c[e>>2]|0;h=d+256|0;f=fy(g,0,h)|0;f=(f|0)==0?h:f-g|0;d=f>>>0>>0?f:d;fP(b|0,g|0,d|0)|0;c[a+4>>2]=g+d;b=g+f|0;c[a+8>>2]=b;c[e>>2]=b;return d|0}function gA(a,b,c){a=a|0;b=b|0;c=c|0;return hA(a,b,((b|0)<0)<<31>>31,c)|0}function hA(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;if((c[a+76>>2]|0)>-1){f=(ny(a)|0)==0;b=iA(a,b,d,e)|0;if(!f)oy(a)}else b=iA(a,b,d,e)|0;return b|0}function iA(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;if((e|0)==1){g=(c[a+8>>2]|0)-(c[a+4>>2]|0)|0;b=WO(b|0,d|0,g|0,((g|0)<0)<<31>>31|0)|0;d=G()|0}g=a+20|0;f=a+28|0;if((c[g>>2]|0)>>>0>(c[f>>2]|0)>>>0?(Ib[c[a+36>>2]&63](a,0,0)|0,(c[g>>2]|0)==0):0)b=-1;else{c[a+16>>2]=0;c[f>>2]=0;c[g>>2]=0;Jb[c[a+40>>2]&15](a,b,d,e)|0;if((G()|0)<0)b=-1;else{c[a+8>>2]=0;c[a+4>>2]=0;c[a>>2]=c[a>>2]&-17;b=0}}return b|0}function jA(a,b){a=a|0;b=b|0;return +(+kA(a,b,1))}function kA(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0.0,g=0,h=0,i=0;g=zb;zb=zb+144|0;e=g;hP(e|0,0,144)|0;i=e+4|0;c[i>>2]=a;h=e+8|0;c[h>>2]=-1;c[e+44>>2]=a;c[e+76>>2]=-1;Xx(e,0,0);f=+Hz(e,d,1);e=e+120|0;d=(c[i>>2]|0)-(c[h>>2]|0)|0;d=VO(c[e>>2]|0,c[e+4>>2]|0,d|0,((d|0)<0)<<31>>31|0)|0;e=G()|0;if(b|0)c[b>>2]=(d|0)==0&(e|0)==0?a:a+d|0;zb=g;return +f}function lA(b){b=b|0;var c=0,d=0,e=0,f=0;while(1){d=b+1|0;if(!(Vx(a[b>>0]|0)|0))break;else b=d}c=a[b>>0]|0;switch(c|0){case 45:{b=1;e=5;break}case 43:{b=0;e=5;break}default:{f=0;d=b}}if((e|0)==5){c=a[d>>0]|0;f=b}if(!(Kx(c)|0))b=0;else{b=0;c=d;do{b=(b*10|0)+48-(a[c>>0]|0)|0;c=c+1|0}while((Kx(a[c>>0]|0)|0)!=0)}return ((f|0)==0?0-b|0:b)|0}function mA(a,b){a=a|0;b=b|0;return +(+kA(a,b,0))}function nA(a,b){a=a|0;b=b|0;return +(+kA(a,b,2))}function oA(a,b,c){a=a|0;b=b|0;c=c|0;return +(+mA(a,b))}function pA(a,b,c){a=a|0;b=b|0;c=c|0;return +(+jA(a,b))}function qA(a,b,c){a=a|0;b=b|0;c=c|0;return +(+nA(a,b))}function rA(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0;j=zb;zb=zb+16|0;i=j;a:do if(!b){f=c[d>>2]|0;e=c[f>>2]|0;if(!e)e=0;else{g=e;e=0;b=f;do{if(g>>>0>127){f=xy(i,g,0)|0;if((f|0)==-1){e=-1;break a}}else f=1;e=f+e|0;b=b+4|0;g=c[b>>2]|0}while((g|0)!=0)}}else{b:do if(e>>>0>3){h=c[d>>2]|0;g=e;while(1){f=c[h>>2]|0;if((f+-1|0)>>>0>126){if(!f)break;f=xy(b,f,0)|0;if((f|0)==-1){e=-1;break a}g=g-f|0;f=b+f|0}else{a[b>>0]=f;h=c[d>>2]|0;g=g+-1|0;f=b+1|0}h=h+4|0;c[d>>2]=h;if(g>>>0<=3)break b;else b=f}a[b>>0]=0;c[d>>2]=0;e=e-g|0;break a}else{g=e;f=b}while(0);if(g){b=c[d>>2]|0;h=f;while(1){f=c[b>>2]|0;if((f+-1|0)>>>0>126){if(!f){f=20;break}f=xy(i,f,0)|0;if((f|0)==-1){e=-1;break a}if(g>>>0>>0){f=23;break}xy(h,c[b>>2]|0,0)|0;g=g-f|0;f=h+f|0}else{a[h>>0]=f;b=c[d>>2]|0;g=g+-1|0;f=h+1|0}b=b+4|0;c[d>>2]=b;if(!g)break a;else h=f}if((f|0)==20){a[h>>0]=0;c[d>>2]=0;e=e-g|0;break}else if((f|0)==23){e=e-g|0;break}}}while(0);zb=j;return e|0}function sA(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;n=zb;zb=zb+1040|0;k=n;l=n+1024|0;j=c[b>>2]|0;c[l>>2]=j;m=(a|0)!=0;h=m?e:256;g=m?a:k;e=j;a:do if((h|0)!=0&(j|0)!=0){a=e;e=0;j=h;while(1){i=d>>>2;h=i>>>0>=j>>>0;if(!(d>>>0>131|h)){h=j;break a}a=h?j:i;d=d-a|0;a=Dz(g,l,a,f)|0;if((a|0)==-1)break;i=(g|0)==(k|0);h=j-(i?0:a)|0;g=i?g:g+(a<<2)|0;e=a+e|0;a=c[l>>2]|0;if((h|0)!=0&(a|0)!=0)j=h;else break a}a=c[l>>2]|0;e=-1;h=0}else{a=e;e=0}while(0);b:do if((a|0)!=0?(h|0)!=0&(d|0)!=0:0){i=e;while(1){e=Hy(g,a,d,f)|0;if((e+2|0)>>>0<3)break;a=(c[l>>2]|0)+e|0;c[l>>2]=a;d=d-e|0;h=h+-1|0;e=i+1|0;if(!((h|0)!=0&(d|0)!=0))break b;else{i=e;g=g+4|0}}switch(e|0){case -1:break b;case 0:{c[l>>2]=0;e=i;break b}default:{c[f>>2]=0;e=i;break b}}}while(0);if(m)c[b>>2]=c[l>>2];zb=n;return e|0}function tA(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;l=zb;zb=zb+272|0;i=l;k=l+256|0;m=c[b>>2]|0;c[k>>2]=m;j=(a|0)!=0;h=j?e:256;g=j?a:i;f=m;a:do if((h|0)!=0&(m|0)!=0){e=f;f=0;while(1){a=d>>>0>=h>>>0;if(!(a|d>>>0>32))break a;e=a?h:d;d=d-e|0;e=rA(g,k,e,0)|0;if((e|0)==-1)break;m=(g|0)==(i|0);h=h-(m?0:e)|0;g=m?g:g+e|0;f=e+f|0;e=c[k>>2]|0;if(!((h|0)!=0&(e|0)!=0))break a}e=c[k>>2]|0;f=-1;h=0}else{e=f;f=0}while(0);b:do if((e|0)!=0?(h|0)!=0&(d|0)!=0:0){while(1){a=xy(g,c[e>>2]|0,0)|0;if((a+1|0)>>>0<2)break;e=(c[k>>2]|0)+4|0;c[k>>2]=e;d=d+-1|0;h=h-a|0;f=a+f|0;if(!((h|0)!=0&(d|0)!=0))break b;else g=g+a|0}if(!a)c[k>>2]=0;else f=-1}while(0);if(j)c[b>>2]=c[k>>2];zb=l;return f|0}function uA(a,b,c){a=a|0;b=b|0;c=c|0;return Hy(0,a,b,(c|0)==0?56504:c)|0}function vA(a){a=a|0;var b=0,d=0,e=0;if(!(c[a>>2]&128))b=1;else b=(c[a+20>>2]|0)>>>0>(c[a+28>>2]|0)>>>0?2:1;b=Jb[c[a+40>>2]&15](a,0,0,b)|0;d=G()|0;if((d|0)>=0){e=(c[a+8>>2]|0)-(c[a+4>>2]|0)|0;e=WO(b|0,d|0,e|0,((e|0)<0)<<31>>31|0)|0;d=G()|0;b=(c[a+20>>2]|0)-(c[a+28>>2]|0)|0;b=VO(e|0,d|0,b|0,((b|0)<0)<<31>>31|0)|0;d=G()|0}F(d|0);return b|0}function wA(a){a=a|0;var b=0,d=0,e=0;if((c[a+76>>2]|0)>-1){e=(ny(a)|0)==0;b=vA(a)|0;d=G()|0;if(!e)oy(a)}else{b=vA(a)|0;d=G()|0}F(d|0);return b|0}function xA(a){a=a|0;var b=0;a=wA(a)|0;b=G()|0;if((b|0)>0|(b|0)==0&a>>>0>2147483647){c[(vx()|0)>>2]=61;a=-1}return a|0}function yA(a){a=a|0;var b=0;if((c[a+76>>2]|0)>-1){b=(ny(a)|0)==0;iA(a,0,0,0)|0;c[a>>2]=c[a>>2]&-33;if(!b)oy(a)}else{iA(a,0,0,0)|0;c[a>>2]=c[a>>2]&-33}return}function zA(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;h=zb;zb=zb+16|0;f=h;c[f>>2]=c[d>>2];f=hy(0,0,b,f)|0;if((f|0)>=0?(e=f+1|0,g=MO(e)|0,c[a>>2]=g,(g|0)!=0):0)e=hy(g,e,b,d)|0;else e=-1;zb=h;return e|0}function AA(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0;k=C(e,d)|0;e=(d|0)==0?0:e;if((c[f+76>>2]|0)>-1)j=ny(f)|0;else j=0;h=f+74|0;g=a[h>>0]|0;a[h>>0]=g+255|g;h=f+4|0;g=c[h>>2]|0;i=(c[f+8>>2]|0)-g|0;if((i|0)>0){i=i>>>0>>0?i:k;fP(b|0,g|0,i|0)|0;c[h>>2]=(c[h>>2]|0)+i;b=b+i|0;g=k-i|0}else g=k;a:do if(!g)l=13;else{i=f+32|0;while(1){if($x(f)|0)break;h=Ib[c[i>>2]&63](f,b,g)|0;if((h+1|0)>>>0<2)break;g=g-h|0;if(!g){l=13;break a}else b=b+h|0}if(j|0)oy(f);e=((k-g|0)>>>0)/(d>>>0)|0}while(0);if((l|0)==13)if(j)oy(f);return e|0}function BA(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;if((c[d+76>>2]|0)>=0?(ny(d)|0)!=0:0){f=b&255;e=b&255;if((e|0)!=(a[d+75>>0]|0)?(j=d+20|0,h=c[j>>2]|0,h>>>0<(c[d+16>>2]|0)>>>0):0){c[j>>2]=h+1;a[h>>0]=f}else e=Pz(d,b)|0;oy(d)}else k=3;do if((k|0)==3){f=b&255;e=b&255;if((e|0)!=(a[d+75>>0]|0)?(i=d+20|0,g=c[i>>2]|0,g>>>0<(c[d+16>>2]|0)>>>0):0){c[i>>2]=g+1;a[g>>0]=f;break}e=Pz(d,b)|0}while(0);return e|0}function CA(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;do if((b|0)!=-1){if((c[d+76>>2]|0)>-1)g=ny(d)|0;else g=0;h=d+4|0;e=c[h>>2]|0;if(!e){$x(d)|0;e=c[h>>2]|0;if(e|0){f=e;i=6}}else{f=e;i=6}if((i|0)==6?f>>>0>((c[d+44>>2]|0)+-8|0)>>>0:0){i=f+-1|0;c[h>>2]=i;a[i>>0]=b;c[d>>2]=c[d>>2]&-17;if(!g)break;oy(d);break}if(g){oy(d);b=-1}else b=-1}else b=-1;while(0);return b|0}function DA(){var a=0,b=0,d=0,e=0,f=0,g=0,h=0;e=zb;zb=zb+48|0;g=e+32|0;b=e+24|0;h=e+16|0;f=e;e=e+36|0;a=EA()|0;if(a|0?(d=c[a>>2]|0,d|0):0){a=d+48|0;if(!(FA(a)|0)){c[b>>2]=47752;HA(47702,b)}b=GA(a)|0;if((b|0)==1126902529&(G()|0)==1129074247)a=c[d+44>>2]|0;else a=d+80|0;c[e>>2]=a;d=c[d>>2]|0;a=c[d+4>>2]|0;if(Ib[c[(c[3470]|0)+16>>2]&63](13880,d,e)|0){h=c[e>>2]|0;h=Fb[c[(c[h>>2]|0)+8>>2]&127](h)|0;c[f>>2]=47752;c[f+4>>2]=a;c[f+8>>2]=h;HA(47616,f)}else{c[h>>2]=47752;c[h+4>>2]=a;HA(47661,h)}}HA(47740,g)}function EA(){return 56508}function FA(a){a=a|0;return 0}function GA(a){a=a|0;F(0);return 0}function HA(a,b){a=a|0;b=b|0;var d=0;d=zb;zb=zb+16|0;c[d>>2]=b;b=c[4004]|0;iy(b,a,d)|0;BA(10,b)|0;va()}function IA(a){a=a|0;return}function JA(a){a=a|0;IA(a);ZA(a);return}function KA(a){a=a|0;return}function LA(a){a=a|0;return}function MA(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;l=zb;zb=zb+64|0;k=l;if(!(QA(d,e,0)|0))if((e|0)!=0?(j=UA(e,13904,13888,0)|0,(j|0)!=0):0){c[k>>2]=j;c[k+4>>2]=0;c[k+8>>2]=d;c[k+12>>2]=-1;d=k+16|0;g=k+24|0;e=k+48|0;h=d;i=h+36|0;do{c[h>>2]=0;h=h+4|0}while((h|0)<(i|0));b[d+36>>1]=0;a[d+38>>0]=0;c[e>>2]=1;Wb[c[(c[j>>2]|0)+28>>2]&31](j,k,c[f>>2]|0,1);if((c[g>>2]|0)==1){c[f>>2]=c[d>>2];d=1}else d=0}else d=0;else d=1;zb=l;return d|0}function NA(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(QA(a,c[b+8>>2]|0,g)|0)TA(0,b,d,e,f);return}function OA(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;do if(!(QA(b,c[d+8>>2]|0,g)|0)){if(QA(b,c[d>>2]|0,g)|0){if((c[d+16>>2]|0)!=(e|0)?(h=d+20|0,(c[h>>2]|0)!=(e|0)):0){c[d+32>>2]=f;c[h>>2]=e;g=d+40|0;c[g>>2]=(c[g>>2]|0)+1;if((c[d+36>>2]|0)==1?(c[d+24>>2]|0)==2:0)a[d+54>>0]=1;c[d+44>>2]=4;break}if((f|0)==1)c[d+32>>2]=1}}else SA(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;if(QA(a,c[b+8>>2]|0,0)|0)RA(0,b,d,e);return}function QA(a,b,d){a=a|0;b=b|0;d=d|0;if(d)d=(Fx(c[a+4>>2]|0,c[b+4>>2]|0)|0)==0;else d=(a|0)==(b|0);return d|0}function RA(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0;g=d+16|0;b=c[g>>2]|0;do if(b){if((b|0)!=(e|0)){f=d+36|0;c[f>>2]=(c[f>>2]|0)+1;c[d+24>>2]=2;a[d+54>>0]=1;break}b=d+24|0;if((c[b>>2]|0)==2)c[b>>2]=f}else{c[g>>2]=e;c[d+24>>2]=f;c[d+36>>2]=1}while(0);return}function SA(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;if((c[b+4>>2]|0)==(d|0)?(f=b+28|0,(c[f>>2]|0)!=1):0)c[f>>2]=e;return}function TA(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;a[d+53>>0]=1;do if((c[d+4>>2]|0)==(f|0)){a[d+52>>0]=1;b=d+16|0;f=c[b>>2]|0;if(!f){c[b>>2]=e;c[d+24>>2]=g;c[d+36>>2]=1;if(!((g|0)==1?(c[d+48>>2]|0)==1:0))break;a[d+54>>0]=1;break}if((f|0)!=(e|0)){g=d+36|0;c[g>>2]=(c[g>>2]|0)+1;a[d+54>>0]=1;break}b=d+24|0;f=c[b>>2]|0;if((f|0)==2){c[b>>2]=g;f=g}if((f|0)==1?(c[d+48>>2]|0)==1:0)a[d+54>>0]=1}while(0);return}function UA(d,e,f,g){d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;p=zb;zb=zb+64|0;o=p;m=c[d>>2]|0;n=d+(c[m+-8>>2]|0)|0;m=c[m+-4>>2]|0;c[o>>2]=f;c[o+4>>2]=d;c[o+8>>2]=e;c[o+12>>2]=g;g=o+16|0;d=o+20|0;h=o+24|0;j=o+28|0;i=o+32|0;e=o+40|0;k=g;l=k+36|0;do{c[k>>2]=0;k=k+4|0}while((k|0)<(l|0));b[g+36>>1]=0;a[g+38>>0]=0;a:do if(QA(m,f,0)|0){c[o+48>>2]=1;Yb[c[(c[m>>2]|0)+20>>2]&7](m,o,n,n,1,0);g=(c[h>>2]|0)==1?n:0}else{Xb[c[(c[m>>2]|0)+24>>2]&63](m,o,n,1,0);switch(c[o+36>>2]|0){case 0:{g=(c[e>>2]|0)==1&(c[j>>2]|0)==1&(c[i>>2]|0)==1?c[d>>2]|0:0;break a}case 1:break;default:{g=0;break a}}if((c[h>>2]|0)!=1?!((c[e>>2]|0)==0&(c[j>>2]|0)==1&(c[i>>2]|0)==1):0){g=0;break}g=c[g>>2]|0}while(0);zb=p;return g|0}function VA(a){a=a|0;IA(a);ZA(a);return}function WA(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(QA(a,c[b+8>>2]|0,g)|0)TA(0,b,d,e,f);else{a=c[a+8>>2]|0;Yb[c[(c[a>>2]|0)+20>>2]&7](a,b,d,e,f,g)}return}function XA(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;a:do if(!(QA(b,c[d+8>>2]|0,g)|0)){if(!(QA(b,c[d>>2]|0,g)|0)){b=c[b+8>>2]|0;Xb[c[(c[b>>2]|0)+24>>2]&63](b,d,e,f,g);break}if((c[d+16>>2]|0)!=(e|0)?(i=d+20|0,(c[i>>2]|0)!=(e|0)):0){c[d+32>>2]=f;h=d+44|0;do if((c[h>>2]|0)!=4){f=d+52|0;a[f>>0]=0;j=d+53|0;a[j>>0]=0;b=c[b+8>>2]|0;Yb[c[(c[b>>2]|0)+20>>2]&7](b,d,e,e,1,g);if(a[j>>0]|0){j=(a[f>>0]|0)==0;c[h>>2]=3;if(j)break;else break a}else{c[h>>2]=4;break}}while(0);c[i>>2]=e;j=d+40|0;c[j>>2]=(c[j>>2]|0)+1;if((c[d+36>>2]|0)!=1)break;if((c[d+24>>2]|0)!=2)break;a[d+54>>0]=1;break}if((f|0)==1)c[d+32>>2]=1}else SA(0,d,e,f);while(0);return}function YA(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;if(QA(a,c[b+8>>2]|0,0)|0)RA(0,b,d,e);else{a=c[a+8>>2]|0;Wb[c[(c[a>>2]|0)+28>>2]&31](a,b,d,e)}return}function ZA(a){a=a|0;NO(a);return}function _A(a){a=a|0;return}function $A(){var a=0,b=0;b=EA()|0;if((b|0?(a=c[b>>2]|0,a|0):0)?FA(a+48|0)|0:0)aB(c[a+12>>2]|0);aB(bB()|0)}function aB(a){a=a|0;var b=0;b=zb;zb=zb+16|0;Qb[a&1]();HA(47891,b)}function bB(){return 1}function cB(a){a=a|0;return}function dB(a){a=a|0;c[a>>2]=16372;hB(a+4|0);return}function eB(a){a=a|0;dB(a);ZA(a);return}function fB(a){a=a|0;return gB(a+4|0)|0}function gB(a){a=a|0;return c[a>>2]|0}function hB(a){a=a|0;var b=0,d=0;if(iB(a)|0?(b=jB(c[a>>2]|0)|0,d=b+8|0,a=c[d>>2]|0,c[d>>2]=a+-1,(a|0)<1):0)ZA(b);return}function iB(a){a=a|0;return 1}function jB(a){a=a|0;return a+-12|0}function kB(a){a=a|0;dB(a);ZA(a);return}function lB(a){a=a|0;IA(a);ZA(a);return}function mB(a,b,c){a=a|0;b=b|0;c=c|0;return QA(a,b,0)|0}function nB(a){a=a|0;IA(a);ZA(a);return}function oB(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(QA(b,c[d+8>>2]|0,h)|0)TA(0,d,e,f,g);else{r=d+52|0;i=a[r>>0]|0;q=d+53|0;j=a[q>>0]|0;p=c[b+12>>2]|0;n=b+16+(p<<3)|0;a[r>>0]=0;a[q>>0]=0;sB(b+16|0,d,e,f,g,h);l=a[r>>0]|0;i=l|i;k=a[q>>0]|0;j=k|j;a:do if((p|0)>1){o=d+24|0;m=b+8|0;p=d+54|0;b=b+24|0;do{j=j&1;i=i&1;if(a[p>>0]|0)break a;if(!(l<<24>>24)){if(k<<24>>24?(c[m>>2]&1|0)==0:0)break a}else{if((c[o>>2]|0)==1)break a;if(!(c[m>>2]&2))break a}a[r>>0]=0;a[q>>0]=0;sB(b,d,e,f,g,h);l=a[r>>0]|0;i=l|i;k=a[q>>0]|0;j=k|j;b=b+8|0}while(b>>>0>>0)}while(0);a[r>>0]=i<<24>>24!=0&1;a[q>>0]=j<<24>>24!=0&1}return} +function pB(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;a:do if(!(QA(b,c[d+8>>2]|0,g)|0)){if(!(QA(b,c[d>>2]|0,g)|0)){p=c[b+12>>2]|0;k=b+16+(p<<3)|0;tB(b+16|0,d,e,f,g);h=b+24|0;if((p|0)<=1)break;i=c[b+8>>2]|0;if((i&2|0)==0?(j=d+36|0,(c[j>>2]|0)!=1):0){if(!(i&1)){i=d+54|0;while(1){if(a[i>>0]|0)break a;if((c[j>>2]|0)==1)break a;tB(h,d,e,f,g);h=h+8|0;if(h>>>0>=k>>>0)break a}}i=d+24|0;b=d+54|0;while(1){if(a[b>>0]|0)break a;if((c[j>>2]|0)==1?(c[i>>2]|0)==1:0)break a;tB(h,d,e,f,g);h=h+8|0;if(h>>>0>=k>>>0)break a}}i=d+54|0;while(1){if(a[i>>0]|0)break a;tB(h,d,e,f,g);h=h+8|0;if(h>>>0>=k>>>0)break a}}if((c[d+16>>2]|0)!=(e|0)?(p=d+20|0,(c[p>>2]|0)!=(e|0)):0){c[d+32>>2]=f;o=d+44|0;if((c[o>>2]|0)!=4){k=b+16+(c[b+12>>2]<<3)|0;l=d+52|0;f=d+53|0;n=d+54|0;j=b+8|0;m=d+24|0;h=0;i=0;b=b+16|0;b:while(1){if(b>>>0>=k>>>0){b=18;break}a[l>>0]=0;a[f>>0]=0;sB(b,d,e,e,1,g);if(a[n>>0]|0){b=18;break}do if(a[f>>0]|0){if(!(a[l>>0]|0))if(!(c[j>>2]&1)){b=19;break b}else{i=1;break}if((c[m>>2]|0)==1){h=1;b=19;break b}if(!(c[j>>2]&2)){h=1;b=19;break b}else{h=1;i=1}}while(0);b=b+8|0}if((b|0)==18)if(i)b=19;else i=4;if((b|0)==19)i=3;c[o>>2]=i;if(h&1)break}c[p>>2]=e;e=d+40|0;c[e>>2]=(c[e>>2]|0)+1;if((c[d+36>>2]|0)!=1)break;if((c[d+24>>2]|0)!=2)break;a[d+54>>0]=1;break}if((f|0)==1)c[d+32>>2]=1}else SA(0,d,e,f);while(0);return}function qB(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;a:do if(!(QA(b,c[d+8>>2]|0,0)|0)){h=c[b+12>>2]|0;g=b+16+(h<<3)|0;rB(b+16|0,d,e,f);if((h|0)>1){h=d+54|0;b=b+24|0;do{rB(b,d,e,f);if(a[h>>0]|0)break a;b=b+8|0}while(b>>>0>>0)}}else RA(0,d,e,f);while(0);return}function rB(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;g=c[a+4>>2]|0;if(d){f=g>>8;if(g&1)f=c[(c[d>>2]|0)+f>>2]|0}else f=0;a=c[a>>2]|0;Wb[c[(c[a>>2]|0)+28>>2]&31](a,b,d+f|0,(g&2|0)==0?2:e);return}function sB(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0;i=c[a+4>>2]|0;h=i>>8;if(i&1)h=c[(c[e>>2]|0)+h>>2]|0;a=c[a>>2]|0;Yb[c[(c[a>>2]|0)+20>>2]&7](a,b,d,e+h|0,(i&2|0)==0?2:f,g);return}function tB(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;h=c[a+4>>2]|0;g=h>>8;if(h&1)g=c[(c[d>>2]|0)+g>>2]|0;a=c[a>>2]|0;Xb[c[(c[a>>2]|0)+24>>2]&63](a,b,d+g|0,(h&2|0)==0?2:e,f);return}function uB(a){a=a|0;return ((vB(a)|0)^1)&1|0}function vB(b){b=b|0;return (a[b>>0]|0)!=0|0}function wB(a){a=a|0;c[a>>2]=0;xB(a);return}function xB(a){a=a|0;c[a>>2]=c[a>>2]|1;return}function yB(a){a=a|0;c[a>>2]=0;return}function zB(){return 0}function AB(a){a=a|0;var b=0;b=(a|0)==0?1:a;while(1){a=MO(b)|0;if(a|0)break;a=zB()|0;if(!a){a=0;break}Qb[a&1]()}return a|0}function BB(a){a=a|0;return AB(a)|0}function CB(a){a=a|0;ZA(a);return}function DB(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=zb;zb=zb+16|0;e=f;c[e>>2]=c[d>>2];a=Ib[c[(c[a>>2]|0)+16>>2]&63](a,b,e)|0;if(a)c[d>>2]=c[e>>2];zb=f;return a&1|0}function EB(a){a=a|0;if(!a)a=0;else a=(UA(a,13904,13992,0)|0)!=0&1;return a|0}function FB(){return 0}function GB(){O(56532);return}function HB(){return 56516}function IB(){return 56524}function JB(){return 56528}function KB(){return 56532}function LB(){MB();return}function MB(){NB(58518);return}function NB(a){a=a|0;var b=0;b=zb;zb=zb+16|0;c[b>>2]=a;OB();zb=b;return}function OB(){qa(PB()|0,48136);ha(QB()|0,48141,1,1,0);RB(48146);SB(48151);TB(48163);UB(48177);VB(48183);WB(48198);XB(48202);YB(48215);ZB(48220);_B(48234);$B(48240);oa(aC()|0,48247);oa(bC()|0,48259);pa(cC()|0,4,48292);ja(dC()|0,48305);eC(48321);fC(48351);gC(48388);hC(48427);iC(48458);jC(48498);kC(48527);lC(48565);mC(48595);fC(48634);gC(48666);hC(48699);iC(48732);jC(48766);kC(48799);nC(48833);oC(48864);pC(48896);return}function PB(){return zD()|0}function QB(){return yD()|0}function RB(a){a=a|0;var b=0,d=0;b=zb;zb=zb+16|0;d=b;c[d>>2]=a;a=wD()|0;ma(a|0,c[d>>2]|0,1,-128<<24>>24|0,127<<24>>24|0);zb=b;return}function SB(a){a=a|0;var b=0,d=0;b=zb;zb=zb+16|0;d=b;c[d>>2]=a;a=uD()|0;ma(a|0,c[d>>2]|0,1,-128<<24>>24|0,127<<24>>24|0);zb=b;return}function TB(a){a=a|0;var b=0,d=0;b=zb;zb=zb+16|0;d=b;c[d>>2]=a;a=sD()|0;ma(a|0,c[d>>2]|0,1,0,255);zb=b;return}function UB(a){a=a|0;var b=0,d=0;b=zb;zb=zb+16|0;d=b;c[d>>2]=a;a=qD()|0;ma(a|0,c[d>>2]|0,2,-32768<<16>>16|0,32767<<16>>16|0);zb=b;return}function VB(a){a=a|0;var b=0,d=0;b=zb;zb=zb+16|0;d=b;c[d>>2]=a;a=oD()|0;ma(a|0,c[d>>2]|0,2,0,65535);zb=b;return}function WB(a){a=a|0;var b=0,d=0;b=zb;zb=zb+16|0;d=b;c[d>>2]=a;a=mD()|0;ma(a|0,c[d>>2]|0,4,-2147483648,2147483647);zb=b;return}function XB(a){a=a|0;var b=0,d=0;b=zb;zb=zb+16|0;d=b;c[d>>2]=a;a=kD()|0;ma(a|0,c[d>>2]|0,4,0,-1);zb=b;return}function YB(a){a=a|0;var b=0,d=0;b=zb;zb=zb+16|0;d=b;c[d>>2]=a;a=iD()|0;ma(a|0,c[d>>2]|0,4,-2147483648,2147483647);zb=b;return}function ZB(a){a=a|0;var b=0,d=0;b=zb;zb=zb+16|0;d=b;c[d>>2]=a;a=gD()|0;ma(a|0,c[d>>2]|0,4,0,-1);zb=b;return}function _B(a){a=a|0;var b=0,d=0;b=zb;zb=zb+16|0;d=b;c[d>>2]=a;a=eD()|0;ka(a|0,c[d>>2]|0,4);zb=b;return}function $B(a){a=a|0;var b=0,d=0;b=zb;zb=zb+16|0;d=b;c[d>>2]=a;a=cD()|0;ka(a|0,c[d>>2]|0,8);zb=b;return}function aC(){return bD()|0}function bC(){return aD()|0}function cC(){return $C()|0}function dC(){return _C()|0}function eC(a){a=a|0;var b=0,d=0,e=0;b=zb;zb=zb+16|0;d=b;c[d>>2]=a;e=XC()|0;a=YC()|0;na(e|0,a|0,c[d>>2]|0);zb=b;return}function fC(a){a=a|0;var b=0,d=0,e=0;b=zb;zb=zb+16|0;d=b;c[d>>2]=a;e=UC()|0;a=VC()|0;na(e|0,a|0,c[d>>2]|0);zb=b;return}function gC(a){a=a|0;var b=0,d=0,e=0;b=zb;zb=zb+16|0;d=b;c[d>>2]=a;e=RC()|0;a=SC()|0;na(e|0,a|0,c[d>>2]|0);zb=b;return}function hC(a){a=a|0;var b=0,d=0,e=0;b=zb;zb=zb+16|0;d=b;c[d>>2]=a;e=OC()|0;a=PC()|0;na(e|0,a|0,c[d>>2]|0);zb=b;return}function iC(a){a=a|0;var b=0,d=0,e=0;b=zb;zb=zb+16|0;d=b;c[d>>2]=a;e=LC()|0;a=MC()|0;na(e|0,a|0,c[d>>2]|0);zb=b;return}function jC(a){a=a|0;var b=0,d=0,e=0;b=zb;zb=zb+16|0;d=b;c[d>>2]=a;e=IC()|0;a=JC()|0;na(e|0,a|0,c[d>>2]|0);zb=b;return}function kC(a){a=a|0;var b=0,d=0,e=0;b=zb;zb=zb+16|0;d=b;c[d>>2]=a;e=FC()|0;a=GC()|0;na(e|0,a|0,c[d>>2]|0);zb=b;return}function lC(a){a=a|0;var b=0,d=0,e=0;b=zb;zb=zb+16|0;d=b;c[d>>2]=a;e=CC()|0;a=DC()|0;na(e|0,a|0,c[d>>2]|0);zb=b;return}function mC(a){a=a|0;var b=0,d=0,e=0;b=zb;zb=zb+16|0;d=b;c[d>>2]=a;e=zC()|0;a=AC()|0;na(e|0,a|0,c[d>>2]|0);zb=b;return}function nC(a){a=a|0;var b=0,d=0,e=0;b=zb;zb=zb+16|0;d=b;c[d>>2]=a;e=wC()|0;a=xC()|0;na(e|0,a|0,c[d>>2]|0);zb=b;return}function oC(a){a=a|0;var b=0,d=0,e=0;b=zb;zb=zb+16|0;d=b;c[d>>2]=a;e=tC()|0;a=uC()|0;na(e|0,a|0,c[d>>2]|0);zb=b;return}function pC(a){a=a|0;var b=0,d=0,e=0;b=zb;zb=zb+16|0;d=b;c[d>>2]=a;e=qC()|0;a=rC()|0;na(e|0,a|0,c[d>>2]|0);zb=b;return}function qC(){return sC()|0}function rC(){return 7}function sC(){return 14144}function tC(){return vC()|0}function uC(){return 7}function vC(){return 14152}function wC(){return yC()|0}function xC(){return 6}function yC(){return 14160}function zC(){return BC()|0}function AC(){return 5}function BC(){return 14168}function CC(){return EC()|0}function DC(){return 4}function EC(){return 14176}function FC(){return HC()|0}function GC(){return 5}function HC(){return 14184}function IC(){return KC()|0}function JC(){return 4}function KC(){return 14192}function LC(){return NC()|0}function MC(){return 3}function NC(){return 14200}function OC(){return QC()|0}function PC(){return 2}function QC(){return 14208}function RC(){return TC()|0}function SC(){return 1}function TC(){return 14216}function UC(){return WC()|0}function VC(){return 0}function WC(){return 14224}function XC(){return ZC()|0}function YC(){return 0}function ZC(){return 14232}function _C(){return 14240}function $C(){return 14248}function aD(){return 14272}function bD(){return 13272}function cD(){return dD()|0}function dD(){return 14120}function eD(){return fD()|0}function fD(){return 14112}function gD(){return hD()|0}function hD(){return 14104}function iD(){return jD()|0}function jD(){return 14096}function kD(){return lD()|0}function lD(){return 14088}function mD(){return nD()|0}function nD(){return 14080}function oD(){return pD()|0}function pD(){return 14072}function qD(){return rD()|0}function rD(){return 14064}function sD(){return tD()|0}function tD(){return 14048}function uD(){return vD()|0}function vD(){return 14056}function wD(){return xD()|0}function xD(){return 14040}function yD(){return 14032}function zD(){return 14024}function AD(a){a=a|0;var b=0,d=0,e=0;b=zb;zb=zb+16|0;d=b+4|0;e=b;c[e>>2]=a;c[d>>2]=c[e>>2];a=az(c[(c[d>>2]|0)+4>>2]|0)|0;zb=b;return a|0}function BD(a){a=a|0;return 0}function CD(a){a=a|0;return 0}function DD(a,b){a=a|0;b=b|0;return 0}function ED(a){a=a|0;return 0}function FD(){return (GD()|0)>0|0}function GD(){return FB()|0}function HD(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;l=zb;zb=zb+16|0;b=l;j=l+8|0;d=l+4|0;c[j>>2]=a;do if(a>>>0>=212){i=(a>>>0)/210|0;e=i*210|0;c[d>>2]=a-e;f=0;h=(ID(12736,12928,d,b)|0)-12736>>2;a:while(1){a=(c[12736+(h<<2)>>2]|0)+e|0;e=5;while(1){if(e>>>0>=47){k=6;break}b=c[12544+(e<<2)>>2]|0;d=(a>>>0)/(b>>>0)|0;if(d>>>0>>0){k=107;break a}if((a|0)==(C(d,b)|0)){a=f;break}else e=e+1|0}b:do if((k|0)==6){k=0;g=211;d=f;c:while(1){b=(a>>>0)/(g>>>0)|0;do if(b>>>0>=g>>>0)if((a|0)!=(C(b,g)|0)){e=g+10|0;b=(a>>>0)/(e>>>0)|0;if(b>>>0>=e>>>0)if((a|0)!=(C(b,e)|0)){e=g+12|0;b=(a>>>0)/(e>>>0)|0;if(b>>>0>=e>>>0)if((a|0)!=(C(b,e)|0)){e=g+16|0;b=(a>>>0)/(e>>>0)|0;if(b>>>0>=e>>>0)if((a|0)!=(C(b,e)|0)){e=g+18|0;b=(a>>>0)/(e>>>0)|0;if(b>>>0>=e>>>0)if((a|0)!=(C(b,e)|0)){e=g+22|0;b=(a>>>0)/(e>>>0)|0;if(b>>>0>=e>>>0)if((a|0)!=(C(b,e)|0)){e=g+28|0;b=(a>>>0)/(e>>>0)|0;if(b>>>0>=e>>>0)if((a|0)==(C(b,e)|0)){f=9;b=e}else{e=g+30|0;b=(a>>>0)/(e>>>0)|0;if(b>>>0>>0){f=1;b=e;d=a;break}if((a|0)==(C(b,e)|0)){f=9;b=e;break}e=g+36|0;b=(a>>>0)/(e>>>0)|0;if(b>>>0>>0){f=1;b=e;d=a;break}if((a|0)==(C(b,e)|0)){f=9;b=e;break}e=g+40|0;b=(a>>>0)/(e>>>0)|0;if(b>>>0>>0){f=1;b=e;d=a;break}if((a|0)==(C(b,e)|0)){f=9;b=e;break}e=g+42|0;b=(a>>>0)/(e>>>0)|0;if(b>>>0>>0){f=1;b=e;d=a;break}if((a|0)==(C(b,e)|0)){f=9;b=e;break}e=g+46|0;b=(a>>>0)/(e>>>0)|0;if(b>>>0>>0){f=1;b=e;d=a;break}if((a|0)==(C(b,e)|0)){f=9;b=e;break}e=g+52|0;b=(a>>>0)/(e>>>0)|0;if(b>>>0>>0){f=1;b=e;d=a;break}if((a|0)==(C(b,e)|0)){f=9;b=e;break}e=g+58|0;b=(a>>>0)/(e>>>0)|0;if(b>>>0>>0){f=1;b=e;d=a;break}if((a|0)==(C(b,e)|0)){f=9;b=e;break}e=g+60|0;b=(a>>>0)/(e>>>0)|0;if(b>>>0>>0){f=1;b=e;d=a;break}if((a|0)==(C(b,e)|0)){f=9;b=e;break}e=g+66|0;b=(a>>>0)/(e>>>0)|0;if(b>>>0>>0){f=1;b=e;d=a;break}if((a|0)==(C(b,e)|0)){f=9;b=e;break}e=g+70|0;b=(a>>>0)/(e>>>0)|0;if(b>>>0>>0){f=1;b=e;d=a;break}if((a|0)==(C(b,e)|0)){f=9;b=e;break}e=g+72|0;b=(a>>>0)/(e>>>0)|0;if(b>>>0>>0){f=1;b=e;d=a;break}if((a|0)==(C(b,e)|0)){f=9;b=e;break}e=g+78|0;b=(a>>>0)/(e>>>0)|0;if(b>>>0>>0){f=1;b=e;d=a;break}if((a|0)==(C(b,e)|0)){f=9;b=e;break}e=g+82|0;b=(a>>>0)/(e>>>0)|0;if(b>>>0>>0){f=1;b=e;d=a;break}if((a|0)==(C(b,e)|0)){f=9;b=e;break}e=g+88|0;b=(a>>>0)/(e>>>0)|0;if(b>>>0>>0){f=1;b=e;d=a;break}if((a|0)==(C(b,e)|0)){f=9;b=e;break}e=g+96|0;b=(a>>>0)/(e>>>0)|0;if(b>>>0>>0){f=1;b=e;d=a;break}if((a|0)==(C(b,e)|0)){f=9;b=e;break}e=g+100|0;b=(a>>>0)/(e>>>0)|0;if(b>>>0>>0){f=1;b=e;d=a;break}if((a|0)==(C(b,e)|0)){f=9;b=e;break}e=g+102|0;b=(a>>>0)/(e>>>0)|0;if(b>>>0>>0){f=1;b=e;d=a;break}if((a|0)==(C(b,e)|0)){f=9;b=e;break}e=g+106|0;b=(a>>>0)/(e>>>0)|0;if(b>>>0>>0){f=1;b=e;d=a;break}if((a|0)==(C(b,e)|0)){f=9;b=e;break}e=g+108|0;b=(a>>>0)/(e>>>0)|0;if(b>>>0>>0){f=1;b=e;d=a;break}if((a|0)==(C(b,e)|0)){f=9;b=e;break}e=g+112|0;b=(a>>>0)/(e>>>0)|0;if(b>>>0>>0){f=1;b=e;d=a;break}if((a|0)==(C(b,e)|0)){f=9;b=e;break}e=g+120|0;b=(a>>>0)/(e>>>0)|0;if(b>>>0>>0){f=1;b=e;d=a;break}if((a|0)==(C(b,e)|0)){f=9;b=e;break}e=g+126|0;b=(a>>>0)/(e>>>0)|0;if(b>>>0>>0){f=1;b=e;d=a;break}if((a|0)==(C(b,e)|0)){f=9;b=e;break}e=g+130|0;b=(a>>>0)/(e>>>0)|0;if(b>>>0>>0){f=1;b=e;d=a;break}if((a|0)==(C(b,e)|0)){f=9;b=e;break}e=g+136|0;b=(a>>>0)/(e>>>0)|0;if(b>>>0>>0){f=1;b=e;d=a;break}if((a|0)==(C(b,e)|0)){f=9;b=e;break}e=g+138|0;b=(a>>>0)/(e>>>0)|0;if(b>>>0>>0){f=1;b=e;d=a;break}if((a|0)==(C(b,e)|0)){f=9;b=e;break}e=g+142|0;b=(a>>>0)/(e>>>0)|0;if(b>>>0>>0){f=1;b=e;d=a;break}if((a|0)==(C(b,e)|0)){f=9;b=e;break}e=g+148|0;b=(a>>>0)/(e>>>0)|0;if(b>>>0>>0){f=1;b=e;d=a;break}if((a|0)==(C(b,e)|0)){f=9;b=e;break}e=g+150|0;b=(a>>>0)/(e>>>0)|0;if(b>>>0>>0){f=1;b=e;d=a;break}if((a|0)==(C(b,e)|0)){f=9;b=e;break}e=g+156|0;b=(a>>>0)/(e>>>0)|0;if(b>>>0>>0){f=1;b=e;d=a;break}if((a|0)==(C(b,e)|0)){f=9;b=e;break}e=g+162|0;b=(a>>>0)/(e>>>0)|0;if(b>>>0>>0){f=1;b=e;d=a;break}if((a|0)==(C(b,e)|0)){f=9;b=e;break}e=g+166|0;b=(a>>>0)/(e>>>0)|0;if(b>>>0>>0){f=1;b=e;d=a;break}if((a|0)==(C(b,e)|0)){f=9;b=e;break}e=g+168|0;b=(a>>>0)/(e>>>0)|0;if(b>>>0>>0){f=1;b=e;d=a;break}if((a|0)==(C(b,e)|0)){f=9;b=e;break}e=g+172|0;b=(a>>>0)/(e>>>0)|0;if(b>>>0>>0){f=1;b=e;d=a;break}if((a|0)==(C(b,e)|0)){f=9;b=e;break}e=g+178|0;b=(a>>>0)/(e>>>0)|0;if(b>>>0>>0){f=1;b=e;d=a;break}if((a|0)==(C(b,e)|0)){f=9;b=e;break}e=g+180|0;b=(a>>>0)/(e>>>0)|0;if(b>>>0>>0){f=1;b=e;d=a;break}if((a|0)==(C(b,e)|0)){f=9;b=e;break}e=g+186|0;b=(a>>>0)/(e>>>0)|0;if(b>>>0>>0){f=1;b=e;d=a;break}if((a|0)==(C(b,e)|0)){f=9;b=e;break}e=g+190|0;b=(a>>>0)/(e>>>0)|0;if(b>>>0>>0){f=1;b=e;d=a;break}if((a|0)==(C(b,e)|0)){f=9;b=e;break}e=g+192|0;b=(a>>>0)/(e>>>0)|0;if(b>>>0>>0){f=1;b=e;d=a;break}if((a|0)==(C(b,e)|0)){f=9;b=e;break}e=g+196|0;b=(a>>>0)/(e>>>0)|0;if(b>>>0>>0){f=1;b=e;d=a;break}if((a|0)==(C(b,e)|0)){f=9;b=e;break}e=g+198|0;b=(a>>>0)/(e>>>0)|0;if(b>>>0>>0){f=1;b=e;d=a;break}if((a|0)==(C(b,e)|0)){f=9;b=e;break}b=g+208|0;m=(a>>>0)/(b>>>0)|0;e=m>>>0>>0;m=(a|0)==(C(m,b)|0);f=e?1:m?9:0;b=e|m?b:g+210|0;d=e?a:d}else{f=1;b=e;d=a}}else{f=9;b=e}else{f=1;b=e;d=a}}else{f=9;b=e}else{f=1;b=e;d=a}}else{f=9;b=e}else{f=1;b=e;d=a}}else{f=9;b=e}else{f=1;b=e;d=a}}else{f=9;b=e}else{f=1;b=e;d=a}}else{f=9;b=g}else{f=1;b=g;d=a}while(0);switch(f&15){case 9:{a=d;break b}case 0:{g=b;break}default:break c}}if(!f)a=d;else{k=108;break a}}while(0);m=h+1|0;g=(m|0)==48;e=i+(g&1)|0;i=e;e=e*210|0;f=a;h=g?0:m}if((k|0)==107){c[j>>2]=a;break}else if((k|0)==108){c[j>>2]=a;a=d;break}}else a=c[(ID(12544,12736,j,b)|0)>>2]|0;while(0);zb=l;return a|0}function ID(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;d=c[d>>2]|0;f=a;e=b-a>>2;while(1){if(!e)break;b=e>>>1;g=f+(b<<2)|0;a=(c[g>>2]|0)>>>0>>0;f=a?g+4|0:f;e=a?e+-1-b|0:b}return f|0}function JD(a){a=a|0;KD(a);return}function KD(a){a=a|0;c[a>>2]=16480;LD(a,0);dG(a+28|0);NO(c[a+32>>2]|0);NO(c[a+36>>2]|0);NO(c[a+48>>2]|0);NO(c[a+60>>2]|0);return}function LD(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;Vb[c[(c[d>>2]|0)+(g<<2)>>2]&3](b,a,c[(c[e>>2]|0)+(g<<2)>>2]|0);f=g}return}function MD(a){a=a|0;KD(a);ZA(a);return}function ND(a){a=a|0;KD(a);return}function OD(a){a=a|0;c[a>>2]=16496;dG(a+4|0);return}function PD(a){a=a|0;OD(a);ZA(a);return}function QD(a,b){a=a|0;b=b|0;return}function RD(a,b,c){a=a|0;b=b|0;c=c|0;return a|0}function SD(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;b=a;c[b>>2]=0;c[b+4>>2]=0;b=a+8|0;c[b>>2]=-1;c[b+4>>2]=-1;return}function TD(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;b=a;c[b>>2]=0;c[b+4>>2]=0;b=a+8|0;c[b>>2]=-1;c[b+4>>2]=-1;return}function UD(a){a=a|0;return 0}function VD(a){a=a|0;return 0}function WD(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;ag()|0;j=b+12|0;h=b+16|0;i=0;while(1){if((i|0)>=(e|0))break;f=c[j>>2]|0;g=c[h>>2]|0;if(f>>>0>>0){g=g-f|0;k=e-i|0;g=(k|0)<(g|0)?k:g;aE(d,f,g)|0;c[j>>2]=(c[j>>2]|0)+g;f=g;d=d+g|0}else{f=Fb[c[(c[b>>2]|0)+40>>2]&127](b)|0;if((f|0)==-1)break;a[d>>0]=kg(f)|0;f=1;d=d+1|0}i=f+i|0}return i|0}function XD(a){a=a|0;return ag()|0}function YD(b){b=b|0;var d=0;d=Fb[c[(c[b>>2]|0)+36>>2]&127](b)|0;if((d|0)==(ag()|0))b=ag()|0;else{d=b+12|0;b=c[d>>2]|0;c[d>>2]=b+1;b=ig(a[b>>0]|0)|0}return b|0}function ZD(a,b){a=a|0;b=b|0;return ag()|0}function _D(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0;k=ag()|0;j=b+24|0;i=b+28|0;f=0;while(1){if((f|0)>=(e|0))break;g=c[j>>2]|0;h=c[i>>2]|0;if(g>>>0>>0){h=h-g|0;l=e-f|0;h=(l|0)<(h|0)?l:h;aE(g,d,h)|0;c[j>>2]=(c[j>>2]|0)+h;f=h+f|0;d=d+h|0}else{h=c[(c[b>>2]|0)+52>>2]|0;l=ig(a[d>>0]|0)|0;if((Hb[h&63](b,l)|0)==(k|0))break;f=f+1|0;d=d+1|0}}return f|0}function $D(a,b){a=a|0;b=b|0;return ag()|0}function aE(a,b,c){a=a|0;b=b|0;c=c|0;if(c|0)fP(a|0,b|0,c|0)|0;return a|0}function bE(a){a=a|0;c[a>>2]=16560;dG(a+4|0);return}function cE(a){a=a|0;bE(a);ZA(a);return}function dE(a,b){a=a|0;b=b|0;return}function eE(a,b,c){a=a|0;b=b|0;c=c|0;return a|0}function fE(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;b=a;c[b>>2]=0;c[b+4>>2]=0;b=a+8|0;c[b>>2]=-1;c[b+4>>2]=-1;return}function gE(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;b=a;c[b>>2]=0;c[b+4>>2]=0;b=a+8|0;c[b>>2]=-1;c[b+4>>2]=-1;return}function hE(a){a=a|0;return 0}function iE(a){a=a|0;return 0}function jE(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;pE()|0;i=a+12|0;g=a+16|0;h=0;while(1){if((h|0)>=(d|0))break;e=c[i>>2]|0;f=c[g>>2]|0;if(e>>>0>>0){f=f-e>>2;j=d-h|0;f=(j|0)<(f|0)?j:f;rE(b,e,f)|0;c[i>>2]=(c[i>>2]|0)+(f<<2);e=f;b=b+(f<<2)|0}else{e=Fb[c[(c[a>>2]|0)+40>>2]&127](a)|0;if((e|0)==-1)break;c[b>>2]=sE(e)|0;e=1;b=b+4|0}h=e+h|0}return h|0}function kE(a){a=a|0;return pE()|0}function lE(a){a=a|0;var b=0;b=Fb[c[(c[a>>2]|0)+36>>2]&127](a)|0;if((b|0)==(pE()|0))a=pE()|0;else{b=a+12|0;a=c[b>>2]|0;c[b>>2]=a+4;a=qE(c[a>>2]|0)|0}return a|0}function mE(a,b){a=a|0;b=b|0;return pE()|0}function nE(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;j=pE()|0;i=a+24|0;h=a+28|0;e=0;while(1){if((e|0)>=(d|0))break;f=c[i>>2]|0;g=c[h>>2]|0;if(f>>>0>>0){g=g-f>>2;k=d-e|0;g=(k|0)<(g|0)?k:g;rE(f,b,g)|0;c[i>>2]=(c[i>>2]|0)+(g<<2);e=g+e|0;b=b+(g<<2)|0}else{g=c[(c[a>>2]|0)+52>>2]|0;k=qE(c[b>>2]|0)|0;if((Hb[g&63](a,k)|0)==(j|0))break;e=e+1|0;b=b+4|0}}return e|0}function oE(a,b){a=a|0;b=b|0;return pE()|0}function pE(){return -1}function qE(a){a=a|0;return a|0}function rE(a,b,c){a=a|0;b=b|0;c=c|0;if(c)by(a,b,c)|0;return a|0}function sE(a){a=a|0;return a|0}function tE(a){a=a|0;xE(a,16656);JD(a+8|0);return}function uE(a){a=a|0;tE(a);ZA(a);return}function vE(a){a=a|0;tE(a+(c[(c[a>>2]|0)+-12>>2]|0)|0);return}function wE(a){a=a|0;uE(a+(c[(c[a>>2]|0)+-12>>2]|0)|0);return}function xE(a,b){a=a|0;b=b|0;return}function yE(a){a=a|0;CE(a,16704);ND(a+8|0);return}function zE(a){a=a|0;yE(a);ZA(a);return}function AE(a){a=a|0;yE(a+(c[(c[a>>2]|0)+-12>>2]|0)|0);return}function BE(a){a=a|0;zE(a+(c[(c[a>>2]|0)+-12>>2]|0)|0);return}function CE(a,b){a=a|0;b=b|0;return}function DE(a){a=a|0;HE(a,16752);JD(a+4|0);return}function EE(a){a=a|0;DE(a);ZA(a);return}function FE(a){a=a|0;DE(a+(c[(c[a>>2]|0)+-12>>2]|0)|0);return}function GE(a){a=a|0;EE(a+(c[(c[a>>2]|0)+-12>>2]|0)|0);return}function HE(a,b){a=a|0;b=b|0;return}function IE(a){a=a|0;ME(a,16800);ND(a+4|0);return}function JE(a){a=a|0;IE(a);ZA(a);return}function KE(a){a=a|0;IE(a+(c[(c[a>>2]|0)+-12>>2]|0)|0);return}function LE(a){a=a|0;JE(a+(c[(c[a>>2]|0)+-12>>2]|0)|0);return}function ME(a,b){a=a|0;b=b|0;return}function NE(a,b){a=a|0;b=b|0;c[a+16>>2]=(c[a+24>>2]|0)==0|b;return}function OE(a,b){a=a|0;b=b|0;var d=0;c[a+24>>2]=b;c[a+16>>2]=(b|0)==0&1;c[a+20>>2]=0;c[a+4>>2]=4098;c[a+12>>2]=0;c[a+8>>2]=6;d=a+28|0;b=a+32|0;a=b+40|0;do{c[b>>2]=0;b=b+4|0}while((b|0)<(a|0));dO(d);return}function PE(a,b){a=a|0;b=b|0;bO(a,b+28|0);return}function QE(a,b){a=a|0;b=b|0;return (a|0)==(b|0)|0}function RE(a){a=a|0;c[a>>2]=16496;dO(a+4|0);a=a+8|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;c[a+20>>2]=0;return}function SE(a){a=a|0;c[a>>2]=16560;dO(a+4|0);a=a+8|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;c[a+20>>2]=0;return}function TE(b){b=b|0;var d=0,e=0,f=0;e=zb;zb=zb+16|0;d=e;if(c[b+(c[(c[b>>2]|0)+-12>>2]|0)+24>>2]|0){UE(d,b);if(a[d>>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;NE(f,c[f+16>>2]|1)}VE(d)}zb=e;return b|0}function UE(b,d){b=b|0;d=d|0;a[b>>0]=0;c[b+4>>2]=d;d=d+(c[(c[d>>2]|0)+-12>>2]|0)|0;if(!(c[d+16>>2]|0)){d=c[d+72>>2]|0;if(d|0)TE(d)|0;a[b>>0]=1}return}function VE(a){a=a|0;var b=0;a=a+4|0;b=c[a>>2]|0;b=b+(c[(c[b>>2]|0)+-12>>2]|0)|0;if((((c[b+24>>2]|0?(c[b+16>>2]|0)==0:0)?c[b+4>>2]&8192|0:0)?!(FD()|0):0)?(b=c[a>>2]|0,b=c[b+(c[(c[b>>2]|0)+-12>>2]|0)+24>>2]|0,(Fb[c[(c[b>>2]|0)+24>>2]&127](b)|0)==-1):0){b=c[a>>2]|0;b=b+(c[(c[b>>2]|0)+-12>>2]|0)|0;NE(b,c[b+16>>2]|1)}return}function WE(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;l=zb;zb=zb+16|0;j=l+12|0;i=l+8|0;g=l;UE(g,b);if(a[g>>0]|0){PE(j,b+(c[(c[b>>2]|0)+-12>>2]|0)|0);k=cG(j,57640)|0;dG(j);h=b+(c[(c[b>>2]|0)+-12>>2]|0)|0;f=c[h+24>>2]|0;m=ag()|0;e=h+76|0;if(eg(m,c[e>>2]|0)|0){PE(j,h);m=cG(j,57584)|0;m=Hb[c[(c[m>>2]|0)+28>>2]&63](m,32)|0;dG(j);m=m<<24>>24;c[e>>2]=m;e=m}else e=c[e>>2]|0;m=c[(c[k>>2]|0)+16>>2]|0;c[i>>2]=f;c[j>>2]=c[i>>2];if(!(Lb[m&31](k,j,h,e&255,d)|0)){m=b+(c[(c[b>>2]|0)+-12>>2]|0)|0;NE(m,c[m+16>>2]|5)}}VE(g);zb=l;return b|0}function XE(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;j=zb;zb=zb+16|0;i=j;UE(i,b);do if(a[i>>0]|0){e=c[b+(c[(c[b>>2]|0)+-12>>2]|0)+24>>2]|0;f=e;if(e|0){h=f+24|0;g=c[h>>2]|0;if((g|0)==(c[f+28>>2]|0)){h=c[(c[e>>2]|0)+52>>2]|0;e=ig(d)|0;e=Hb[h&63](f,e)|0}else{c[h>>2]=g+1;a[g>>0]=d;e=ig(d)|0}if(!(eg(e,ag()|0)|0))break}h=b+(c[(c[b>>2]|0)+-12>>2]|0)|0;NE(h,c[h+16>>2]|1)}while(0);VE(i);zb=j;return b|0}function YE(a){a=a|0;a=a+16|0;c[a>>2]=c[a>>2]|1;return}function ZE(){$E();return}function _E(){return}function $E(){aF(0);return}function aF(a){a=a|0;var b=0,d=0;b=c[4001]|0;bF(57216,b,57272);c[14134]=16628;c[14136]=16648;c[14135]=0;OE(56544,57216);c[14154]=0;c[14155]=ag()|0;cF(57280,b,57336);c[14156]=16676;c[14158]=16696;c[14157]=0;OE(56632,57280);c[14176]=0;c[14177]=pE()|0;b=c[4002]|0;dF(57344,b,57392);c[14178]=16724;c[14179]=16744;OE(56716,57344);c[14197]=0;c[14198]=ag()|0;eF(57400,b,57448);c[14199]=16772;c[14200]=16792;OE(56800,57400);c[14218]=0;c[14219]=pE()|0;b=c[4004]|0;dF(57456,b,57504);c[14220]=16724;c[14221]=16744;OE(56884,57456);c[14239]=0;c[14240]=ag()|0;a=c[56880+(c[(c[14220]|0)+-12>>2]|0)+24>>2]|0;c[14262]=16724;c[14263]=16744;OE(57052,a);c[14281]=0;c[14282]=ag()|0;eF(57512,b,57560);c[14241]=16772;c[14242]=16792;OE(56968,57512);c[14260]=0;c[14261]=pE()|0;b=c[56964+(c[(c[14241]|0)+-12>>2]|0)+24>>2]|0;c[14283]=16772;c[14284]=16792;OE(57136,b);c[14302]=0;c[14303]=pE()|0;c[56536+(c[(c[14134]|0)+-12>>2]|0)+72>>2]=56712;c[56624+(c[(c[14156]|0)+-12>>2]|0)+72>>2]=56796;b=(c[14220]|0)+-12|0;a=56880+(c[b>>2]|0)+4|0;c[a>>2]=c[a>>2]|8192;a=(c[14241]|0)+-12|0;d=56964+(c[a>>2]|0)+4|0;c[d>>2]=c[d>>2]|8192;c[56880+(c[b>>2]|0)+72>>2]=56712;c[56964+(c[a>>2]|0)+72>>2]=56796;return}function bF(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;f=zb;zb=zb+16|0;g=f;RE(b);c[b>>2]=17008;c[b+32>>2]=d;c[b+40>>2]=e;c[b+48>>2]=ag()|0;a[b+52>>0]=0;e=c[(c[b>>2]|0)+8>>2]|0;bO(g,b+4|0);Tb[e&63](b,g);dG(g);zb=f;return}function cF(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;f=zb;zb=zb+16|0;g=f;SE(b);c[b>>2]=16944;c[b+32>>2]=d;c[b+40>>2]=e;c[b+48>>2]=pE()|0;a[b+52>>0]=0;e=c[(c[b>>2]|0)+8>>2]|0;bO(g,b+4|0);Tb[e&63](b,g);dG(g);zb=f;return}function dF(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;f=zb;zb=zb+16|0;g=f;RE(b);c[b>>2]=16880;c[b+32>>2]=d;bO(g,b+4|0);d=cG(g,57888)|0;dG(g);c[b+36>>2]=d;c[b+40>>2]=e;a[b+44>>0]=(Fb[c[(c[d>>2]|0)+28>>2]&127](d)|0)&1;zb=f;return}function eF(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;f=zb;zb=zb+16|0;g=f;SE(b);c[b>>2]=16816;c[b+32>>2]=d;bO(g,b+4|0);d=cG(g,57896)|0;dG(g);c[b+36>>2]=d;c[b+40>>2]=e;a[b+44>>0]=(Fb[c[(c[d>>2]|0)+28>>2]&127](d)|0)&1;zb=f;return}function fF(a){a=a|0;bE(a);ZA(a);return}function gF(b,d){b=b|0;d=d|0;Fb[c[(c[b>>2]|0)+24>>2]&127](b)|0;d=cG(d,57896)|0;c[b+36>>2]=d;a[b+44>>0]=(Fb[c[(c[d>>2]|0)+28>>2]&127](d)|0)&1;return}function hF(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;k=zb;zb=zb+16|0;f=k+8|0;e=k;d=a+36|0;g=a+40|0;h=f+8|0;i=f;a=a+32|0;a:while(1){b=c[d>>2]|0;b=Lb[c[(c[b>>2]|0)+20>>2]&31](b,c[g>>2]|0,f,h,e)|0;l=(c[e>>2]|0)-i|0;if((Mz(f,1,l,c[a>>2]|0)|0)!=(l|0)){a=-1;break}switch(b|0){case 1:break;case 2:{a=-1;break a}default:{j=4;break a}}}if((j|0)==4)a=((Xz(c[a>>2]|0)|0)!=0)<<31>>31;zb=k;return a|0}function iF(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;a:do if(!(a[b+44>>0]|0)){f=0;while(1){if((f|0)>=(e|0))break a;h=c[(c[b>>2]|0)+52>>2]|0;g=qE(c[d>>2]|0)|0;g=Hb[h&63](b,g)|0;if((g|0)==(pE()|0))break a;f=f+1|0;d=d+4|0}}else f=Mz(d,4,e,c[b+32>>2]|0)|0;while(0);return f|0}function jF(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;o=zb;zb=zb+32|0;n=o+16|0;f=o+8|0;m=o+4|0;l=o;do if(!(QE(d,pE()|0)|0)){c[f>>2]=sE(d)|0;if(a[b+44>>0]|0){if((Mz(f,4,1,c[b+32>>2]|0)|0)==1){e=15;break}b=pE()|0;break}c[m>>2]=n;i=f+4|0;e=b+36|0;h=b+40|0;j=n+8|0;k=n;g=b+32|0;while(1){b=c[e>>2]|0;b=Pb[c[(c[b>>2]|0)+12>>2]&15](b,c[h>>2]|0,f,i,l,n,j,m)|0;if((c[l>>2]|0)==(f|0)){e=14;break}if((b|0)==3){e=8;break}if(b>>>0>=2){e=14;break}f=(c[m>>2]|0)-k|0;if((Mz(n,1,f,c[g>>2]|0)|0)!=(f|0)){e=14;break}if((b|0)==1)f=c[l>>2]|0;else{e=13;break}}if((e|0)==8)if((Mz(f,1,1,c[g>>2]|0)|0)==1)e=13;else e=14;if((e|0)==13){e=15;break}else if((e|0)==14){b=pE()|0;break}}else e=15;while(0);if((e|0)==15)b=kF(d)|0;zb=o;return b|0}function kF(a){a=a|0;if(QE(a,pE()|0)|0)a=~(pE()|0);return a|0}function lF(a){a=a|0;OD(a);ZA(a);return}function mF(b,d){b=b|0;d=d|0;Fb[c[(c[b>>2]|0)+24>>2]&127](b)|0;d=cG(d,57888)|0;c[b+36>>2]=d;a[b+44>>0]=(Fb[c[(c[d>>2]|0)+28>>2]&127](d)|0)&1;return}function nF(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;k=zb;zb=zb+16|0;f=k+8|0;e=k;d=a+36|0;g=a+40|0;h=f+8|0;i=f;a=a+32|0;a:while(1){b=c[d>>2]|0;b=Lb[c[(c[b>>2]|0)+20>>2]&31](b,c[g>>2]|0,f,h,e)|0;l=(c[e>>2]|0)-i|0;if((Mz(f,1,l,c[a>>2]|0)|0)!=(l|0)){a=-1;break}switch(b|0){case 1:break;case 2:{a=-1;break a}default:{j=4;break a}}}if((j|0)==4)a=((Xz(c[a>>2]|0)|0)!=0)<<31>>31;zb=k;return a|0}function oF(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;a:do if(!(a[b+44>>0]|0)){f=0;while(1){if((f|0)>=(e|0))break a;h=c[(c[b>>2]|0)+52>>2]|0;g=ig(a[d>>0]|0)|0;g=Hb[h&63](b,g)|0;if((g|0)==(ag()|0))break a;f=f+1|0;d=d+1|0}}else f=Mz(d,1,e,c[b+32>>2]|0)|0;while(0);return f|0}function pF(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;o=zb;zb=zb+32|0;n=o+16|0;f=o+8|0;m=o+4|0;l=o;do if(!(eg(d,ag()|0)|0)){a[f>>0]=kg(d)|0;if(a[b+44>>0]|0){if((Mz(f,1,1,c[b+32>>2]|0)|0)==1){e=15;break}b=ag()|0;break}c[m>>2]=n;i=f+1|0;e=b+36|0;h=b+40|0;j=n+8|0;k=n;g=b+32|0;while(1){b=c[e>>2]|0;b=Pb[c[(c[b>>2]|0)+12>>2]&15](b,c[h>>2]|0,f,i,l,n,j,m)|0;if((c[l>>2]|0)==(f|0)){e=14;break}if((b|0)==3){e=8;break}if(b>>>0>=2){e=14;break}f=(c[m>>2]|0)-k|0;if((Mz(n,1,f,c[g>>2]|0)|0)!=(f|0)){e=14;break}if((b|0)==1)f=c[l>>2]|0;else{e=13;break}}if((e|0)==8)if((Mz(f,1,1,c[g>>2]|0)|0)==1)e=13;else e=14;if((e|0)==13){e=15;break}else if((e|0)==14){b=ag()|0;break}}else e=15;while(0);if((e|0)==15)b=jg(d)|0;zb=o;return b|0}function qF(a){a=a|0;bE(a);ZA(a);return}function rF(b,d){b=b|0;d=d|0;var e=0,f=0;f=cG(d,57896)|0;e=b+36|0;c[e>>2]=f;d=b+44|0;c[d>>2]=Fb[c[(c[f>>2]|0)+24>>2]&127](f)|0;e=c[e>>2]|0;a[b+53>>0]=(Fb[c[(c[e>>2]|0)+28>>2]&127](e)|0)&1;if((c[d>>2]|0)>8)uJ(49888);else return}function sF(a){a=a|0;return vF(a,0)|0}function tF(a){a=a|0;return vF(a,1)|0}function uF(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;l=zb;zb=zb+32|0;j=l+16|0;i=l+8|0;f=l+4|0;g=l;h=QE(d,pE()|0)|0;k=b+52|0;e=(a[k>>0]|0)!=0;do if(h){if(!e){d=c[b+48>>2]|0;a[k>>0]=((QE(d,pE()|0)|0)^1)&1}}else{if(e){e=b+48|0;c[f>>2]=sE(c[e>>2]|0)|0;h=c[b+36>>2]|0;switch(Pb[c[(c[h>>2]|0)+12>>2]&15](h,c[b+40>>2]|0,f,f+4|0,g,j,j+8|0,i)|0){case 1:case 2:{h=11;break}case 3:{a[j>>0]=c[e>>2];c[i>>2]=j+1;h=8;break}default:h=8}a:do if((h|0)==8){g=b+32|0;while(1){f=c[i>>2]|0;if(f>>>0<=j>>>0){f=1;g=0;break a}b=f+-1|0;c[i>>2]=b;if((CA(a[b>>0]|0,c[g>>2]|0)|0)==-1){h=11;break}}}while(0);if((h|0)==11){f=0;g=pE()|0}if(!f){d=g;break}}else e=b+48|0;c[e>>2]=d;a[k>>0]=1}while(0);zb=l;return d|0}function vF(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;r=zb;zb=zb+32|0;q=r+16|0;p=r+8|0;l=r+4|0;m=r;g=b+52|0;if(a[g>>0]|0){f=b+48|0;e=c[f>>2]|0;if(d){c[f>>2]=pE()|0;a[g>>0]=0}}else{e=c[b+44>>2]|0;e=(e|0)>1?e:1;o=b+32|0;f=0;while(1){if(f>>>0>=e>>>0){n=9;break}g=Bz(c[o>>2]|0)|0;if((g|0)==-1){n=8;break}a[q+f>>0]=g;f=f+1|0}if((n|0)==8)e=pE()|0;else if((n|0)==9){do if(!(a[b+53>>0]|0)){j=b+40|0;i=b+36|0;k=p+4|0;a:while(1){s=c[j>>2]|0;f=s;g=c[f>>2]|0;f=c[f+4>>2]|0;t=c[i>>2]|0;h=q+e|0;switch(Pb[c[(c[t>>2]|0)+16>>2]&15](t,s,q,h,l,p,k,m)|0){case 3:{n=15;break a}case 2:{n=17;break a}case 1:break;default:break a}t=c[j>>2]|0;c[t>>2]=g;c[t+4>>2]=f;if((e|0)==8){n=17;break}f=Bz(c[o>>2]|0)|0;if((f|0)==-1){n=17;break}a[h>>0]=f;e=e+1|0}if((n|0)==15)c[p>>2]=a[q>>0];else if((n|0)==17){e=pE()|0;break}n=19}else{c[p>>2]=a[q>>0];n=19}while(0);b:do if((n|0)==19){c:do if(d)c[b+48>>2]=qE(c[p>>2]|0)|0;else{do{if((e|0)<=0)break c;e=e+-1|0;t=qE(a[q+e>>0]|0)|0}while((CA(t,c[o>>2]|0)|0)!=-1);e=pE()|0;break b}while(0);e=qE(c[p>>2]|0)|0}while(0)}}zb=r;return e|0}function wF(a){a=a|0;OD(a);ZA(a);return}function xF(b,d){b=b|0;d=d|0;var e=0,f=0;f=cG(d,57888)|0;e=b+36|0;c[e>>2]=f;d=b+44|0;c[d>>2]=Fb[c[(c[f>>2]|0)+24>>2]&127](f)|0;e=c[e>>2]|0;a[b+53>>0]=(Fb[c[(c[e>>2]|0)+28>>2]&127](e)|0)&1;if((c[d>>2]|0)>8)uJ(49888);else return}function yF(a){a=a|0;return BF(a,0)|0}function zF(a){a=a|0;return BF(a,1)|0}function AF(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;l=zb;zb=zb+32|0;j=l+16|0;i=l+4|0;f=l+8|0;g=l;h=eg(d,ag()|0)|0;k=b+52|0;e=(a[k>>0]|0)!=0;do if(h){if(!e){d=c[b+48>>2]|0;a[k>>0]=((eg(d,ag()|0)|0)^1)&1}}else{if(e){e=b+48|0;a[f>>0]=kg(c[e>>2]|0)|0;h=c[b+36>>2]|0;switch(Pb[c[(c[h>>2]|0)+12>>2]&15](h,c[b+40>>2]|0,f,f+1|0,g,j,j+8|0,i)|0){case 1:case 2:{h=11;break}case 3:{a[j>>0]=c[e>>2];c[i>>2]=j+1;h=8;break}default:h=8}a:do if((h|0)==8){g=b+32|0;while(1){f=c[i>>2]|0;if(f>>>0<=j>>>0){f=1;g=0;break a}b=f+-1|0;c[i>>2]=b;if((CA(a[b>>0]|0,c[g>>2]|0)|0)==-1){h=11;break}}}while(0);if((h|0)==11){f=0;g=ag()|0}if(!f){d=g;break}}else e=b+48|0;c[e>>2]=d;a[k>>0]=1}while(0);zb=l;return d|0}function BF(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;r=zb;zb=zb+32|0;q=r+16|0;p=r+8|0;l=r+4|0;m=r;g=b+52|0;if(a[g>>0]|0){f=b+48|0;e=c[f>>2]|0;if(d){c[f>>2]=ag()|0;a[g>>0]=0}}else{e=c[b+44>>2]|0;e=(e|0)>1?e:1;o=b+32|0;f=0;while(1){if(f>>>0>=e>>>0){n=9;break}g=Bz(c[o>>2]|0)|0;if((g|0)==-1){n=8;break}a[q+f>>0]=g;f=f+1|0}if((n|0)==8)e=ag()|0;else if((n|0)==9){do if(!(a[b+53>>0]|0)){j=b+40|0;i=b+36|0;k=p+1|0;a:while(1){s=c[j>>2]|0;f=s;g=c[f>>2]|0;f=c[f+4>>2]|0;t=c[i>>2]|0;h=q+e|0;switch(Pb[c[(c[t>>2]|0)+16>>2]&15](t,s,q,h,l,p,k,m)|0){case 3:{n=15;break a}case 2:{n=17;break a}case 1:break;default:break a}t=c[j>>2]|0;c[t>>2]=g;c[t+4>>2]=f;if((e|0)==8){n=17;break}f=Bz(c[o>>2]|0)|0;if((f|0)==-1){n=17;break}a[h>>0]=f;e=e+1|0}if((n|0)==15)a[p>>0]=a[q>>0]|0;else if((n|0)==17){e=ag()|0;break}n=19}else{a[p>>0]=a[q>>0]|0;n=19}while(0);b:do if((n|0)==19){c:do if(d)c[b+48>>2]=ig(a[p>>0]|0)|0;else{do{if((e|0)<=0)break c;e=e+-1|0;t=ig(a[q+e>>0]|0)|0}while((CA(t,c[o>>2]|0)|0)!=-1);e=ag()|0;break b}while(0);e=ig(a[p>>0]|0)|0}while(0)}}zb=r;return e|0}function CF(a){a=a|0;JF(a);return}function DF(a){a=a|0;CF(a);ZA(a);return}function EF(a){a=a|0;if(a|0)Rb[c[(c[a>>2]|0)+4>>2]&255](a);return}function FF(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;g=e;while(1){if((g|0)==(f|0)){h=7;break}if((c|0)==(d|0)){c=-1;break}b=a[c>>0]|0;e=a[g>>0]|0;if(b<<24>>24>24){c=-1;break}if(e<<24>>24>24){c=1;break}c=c+1|0;g=g+1|0}if((h|0)==7)c=(c|0)!=(d|0)&1;return c|0}function GF(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;IF(a,d,e);return}function HF(b,c,d){b=b|0;c=c|0;d=d|0;var e=0,f=0;b=0;while(1){if((c|0)==(d|0))break;e=(b<<4)+(a[c>>0]|0)|0;f=e&-268435456;b=(f>>>24|f)^e;c=c+1|0}return b|0}function IF(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;i=zb;zb=zb+16|0;g=d;h=i;f=e-g|0;if(f>>>0>4294967279)lO(b);if(f>>>0<11)a[b+11>>0]=f;else{k=f+16&-16;j=AB(k)|0;c[b>>2]=j;c[b+8>>2]=k|-2147483648;c[b+4>>2]=f;b=j}g=e-g|0;f=b;while(1){if((d|0)==(e|0))break;hg(f,d);d=d+1|0;f=f+1|0}a[h>>0]=0;hg(b+g|0,h);zb=i;return}function JF(a){a=a|0;return}function KF(a){a=a|0;JF(a);return}function LF(a){a=a|0;KF(a);ZA(a);return}function MF(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=e;while(1){if((g|0)==(f|0)){h=7;break}if((b|0)==(d|0)){b=-1;break}a=c[b>>2]|0;e=c[g>>2]|0;if((a|0)<(e|0)){b=-1;break}if((e|0)<(a|0)){b=1;break}b=b+4|0;g=g+4|0}if((h|0)==7)b=(b|0)!=(d|0)&1;return b|0}function NF(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;PF(a,d,e);return}function OF(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;a=0;while(1){if((b|0)==(d|0))break;e=(c[b>>2]|0)+(a<<4)|0;f=e&-268435456;a=(f>>>24|f)^e;b=b+4|0}return a|0}function PF(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;j=zb;zb=zb+16|0;i=j;h=e-d>>2;if(h>>>0>1073741807)lO(b);do if(h>>>0>=2){g=h+4&-4;if(g>>>0>1073741823)va();else{f=AB(g<<2)|0;c[b>>2]=f;c[b+8>>2]=g|-2147483648;c[b+4>>2]=h;break}}else{a[b+8+3>>0]=h;f=b}while(0);while(1){if((d|0)==(e|0))break;QF(f,d);d=d+4|0;f=f+4|0}c[i>>2]=0;QF(f,i);zb=j;return}function QF(a,b){a=a|0;b=b|0;c[a>>2]=c[b>>2];return}function RF(a){a=a|0;JF(a);return}function SF(a){a=a|0;JF(a);ZA(a);return}function TF(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0;o=zb;zb=zb+48|0;m=o+40|0;n=o;i=o+32|0;j=o+36|0;k=o+28|0;l=o+24|0;if(!(c[f+4>>2]&1)){c[i>>2]=-1;l=c[(c[b>>2]|0)+16>>2]|0;c[j>>2]=c[d>>2];c[k>>2]=c[e>>2];c[n>>2]=c[j>>2];c[m>>2]=c[k>>2];c[d>>2]=Nb[l&63](b,n,m,f,g,i)|0;switch(c[i>>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}}d=c[d>>2]|0}else{PE(m,f);b=cG(m,57584)|0;dG(m);PE(m,f);k=cG(m,57600)|0;dG(m);Tb[c[(c[k>>2]|0)+24>>2]&63](n,k);Tb[c[(c[k>>2]|0)+28>>2]&63](n+12|0,k);c[l>>2]=c[e>>2];e=n+24|0;c[m>>2]=c[l>>2];a[h>>0]=(MG(d,m,n,e,b,g,1)|0)==(n|0)&1;d=c[d>>2]|0;do{e=e+-12|0;qO(e)}while((e|0)!=(n|0))}zb=o;return d|0}function UF(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0;h=zb;zb=zb+16|0;i=h+12|0;j=h+8|0;l=h+4|0;k=h;c[l>>2]=c[b>>2];c[k>>2]=c[d>>2];c[j>>2]=c[l>>2];c[i>>2]=c[k>>2];a=KG(a,j,i,e,f,g)|0;zb=h;return a|0}function VF(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0;h=zb;zb=zb+16|0;i=h+12|0;j=h+8|0;l=h+4|0;k=h;c[l>>2]=c[b>>2];c[k>>2]=c[d>>2];c[j>>2]=c[l>>2];c[i>>2]=c[k>>2];a=IG(a,j,i,e,f,g)|0;zb=h;return a|0}function WF(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0;h=zb;zb=zb+16|0;i=h+12|0;j=h+8|0;l=h+4|0;k=h;c[l>>2]=c[b>>2];c[k>>2]=c[d>>2];c[j>>2]=c[l>>2];c[i>>2]=c[k>>2];a=GG(a,j,i,e,f,g)|0;zb=h;return a|0}function XF(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0;h=zb;zb=zb+16|0;i=h+12|0;j=h+8|0;l=h+4|0;k=h;c[l>>2]=c[b>>2];c[k>>2]=c[d>>2];c[j>>2]=c[l>>2];c[i>>2]=c[k>>2];a=EG(a,j,i,e,f,g)|0;zb=h;return a|0}function YF(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0;h=zb;zb=zb+16|0;i=h+12|0;j=h+8|0;l=h+4|0;k=h;c[l>>2]=c[b>>2];c[k>>2]=c[d>>2];c[j>>2]=c[l>>2];c[i>>2]=c[k>>2];a=CG(a,j,i,e,f,g)|0;zb=h;return a|0}function ZF(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0;h=zb;zb=zb+16|0;i=h+12|0;j=h+8|0;l=h+4|0;k=h;c[l>>2]=c[b>>2];c[k>>2]=c[d>>2];c[j>>2]=c[l>>2];c[i>>2]=c[k>>2];a=wG(a,j,i,e,f,g)|0;zb=h;return a|0}function _F(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0;h=zb;zb=zb+16|0;i=h+12|0;j=h+8|0;l=h+4|0;k=h;c[l>>2]=c[b>>2];c[k>>2]=c[d>>2];c[j>>2]=c[l>>2];c[i>>2]=c[k>>2];a=uG(a,j,i,e,f,g)|0;zb=h;return a|0}function $F(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0;h=zb;zb=zb+16|0;i=h+12|0;j=h+8|0;l=h+4|0;k=h;c[l>>2]=c[b>>2];c[k>>2]=c[d>>2];c[j>>2]=c[l>>2];c[i>>2]=c[k>>2];a=sG(a,j,i,e,f,g)|0;zb=h;return a|0}function aG(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0;h=zb;zb=zb+16|0;i=h+12|0;j=h+8|0;l=h+4|0;k=h;c[l>>2]=c[b>>2];c[k>>2]=c[d>>2];c[j>>2]=c[l>>2];c[i>>2]=c[k>>2];a=nG(a,j,i,e,f,g)|0;zb=h;return a|0}function bG(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;y=zb;zb=zb+240|0;v=y+192|0;q=y+160|0;w=y+220|0;x=y+208|0;u=y+204|0;s=y;t=y+200|0;r=y+196|0;c[w>>2]=0;c[w+4>>2]=0;c[w+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[w+(b<<2)>>2]=0;b=b+1|0}PE(x,f);b=cG(x,57584)|0;Jb[c[(c[b>>2]|0)+32>>2]&15](b,12928,12954,q)|0;dG(x);c[x>>2]=0;c[x+4>>2]=0;c[x+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[x+(b<<2)>>2]=0;b=b+1|0}p=x+11|0;o=x+8|0;if((a[p>>0]|0)<0)b=(c[o>>2]&2147483647)+-1|0;else b=10;vO(x,b,0);b=(a[p>>0]|0)<0?c[x>>2]|0:x;c[u>>2]=b;c[t>>2]=s;c[r>>2]=0;n=x+4|0;i=c[d>>2]|0;j=i;a:while(1){if(i){f=c[i+12>>2]|0;if((f|0)==(c[i+16>>2]|0))f=Fb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else f=ig(a[f>>0]|0)|0;if(eg(f,ag()|0)|0){c[d>>2]=0;m=0;j=0;k=1}else{m=i;k=0}}else{m=0;j=0;k=1}i=c[e>>2]|0;do if(i){f=c[i+12>>2]|0;if((f|0)==(c[i+16>>2]|0))f=Fb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else f=ig(a[f>>0]|0)|0;if(!(eg(f,ag()|0)|0))if(k)break;else break a;else{c[e>>2]=0;z=22;break}}else z=22;while(0);if((z|0)==22){z=0;if(k){i=0;break}else i=0}f=a[p>>0]|0;f=f<<24>>24<0?c[n>>2]|0:f&255;if((c[u>>2]|0)==(b+f|0)){vO(x,f<<1,0);if((a[p>>0]|0)<0)b=(c[o>>2]&2147483647)+-1|0;else b=10;vO(x,b,0);b=(a[p>>0]|0)<0?c[x>>2]|0:x;c[u>>2]=b+f}l=m+12|0;f=c[l>>2]|0;k=m+16|0;if((f|0)==(c[k>>2]|0))f=Fb[c[(c[m>>2]|0)+36>>2]&127](m)|0;else f=ig(a[f>>0]|0)|0;if(eG(f&255,16,b,u,r,0,w,s,t,q)|0)break;f=c[l>>2]|0;if((f|0)==(c[k>>2]|0))Fb[c[(c[m>>2]|0)+40>>2]&127](m)|0;else{c[l>>2]=f+1;ig(a[f>>0]|0)|0}i=m}vO(x,(c[u>>2]|0)-b|0,0);t=(a[p>>0]|0)<0?c[x>>2]|0:x;u=fG()|0;c[v>>2]=h;if((gG(t,u,50036,v)|0)!=1)c[g>>2]=4;if(m){b=c[m+12>>2]|0;if((b|0)==(c[m+16>>2]|0))b=Fb[c[(c[j>>2]|0)+36>>2]&127](m)|0;else b=ig(a[b>>0]|0)|0;if(eg(b,ag()|0)|0){c[d>>2]=0;f=1}else f=0}else f=1;do if(i){b=c[i+12>>2]|0;if((b|0)==(c[i+16>>2]|0))b=Fb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else b=ig(a[b>>0]|0)|0;if(!(eg(b,ag()|0)|0))if(f)break;else{z=52;break}else{c[e>>2]=0;z=50;break}}else z=50;while(0);if((z|0)==50?f:0)z=52;if((z|0)==52)c[g>>2]=c[g>>2]|2;z=c[d>>2]|0;qO(x);qO(w);zb=y;return z|0}function cG(a,b){a=a|0;b=b|0;a=c[a>>2]|0;return iG(a,hG(b)|0)|0}function dG(a){a=a|0;var b=0,d=0;a=c[a>>2]|0;d=a+4|0;b=c[d>>2]|0;c[d>>2]=b+-1;if(!b)Rb[c[(c[a>>2]|0)+8>>2]&255](a);return}function eG(b,d,e,f,g,h,i,j,k,l){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;var m=0,n=0,o=0,p=0;o=c[f>>2]|0;p=(o|0)==(e|0);do if(p){m=(a[l+24>>0]|0)==b<<24>>24;if(!m?(a[l+25>>0]|0)!=b<<24>>24:0){n=5;break}c[f>>2]=e+1;a[e>>0]=m?43:45;c[g>>2]=0;i=0}else n=5;while(0);a:do if((n|0)==5){n=a[i+11>>0]|0;if(b<<24>>24==h<<24>>24?((n<<24>>24<0?c[i+4>>2]|0:n&255)|0)!=0:0){i=c[k>>2]|0;if((i-j|0)>=160){i=0;break}p=c[g>>2]|0;c[k>>2]=i+4;c[i>>2]=p;c[g>>2]=0;i=0;break}m=l+26|0;h=0;while(1){i=l+h|0;if((h|0)==26){i=m;break}if((a[i>>0]|0)==b<<24>>24)break;else h=h+1|0}i=i-l|0;if((i|0)>23)i=-1;else{switch(d|0){case 10:case 8:{if((i|0)>=(d|0)){i=-1;break a}break}case 16:{if((i|0)>=22){if(p){i=-1;break a}if((o-e|0)>=3){i=-1;break a}if((a[o+-1>>0]|0)!=48){i=-1;break a}c[g>>2]=0;i=a[12928+i>>0]|0;c[f>>2]=o+1;a[o>>0]=i;i=0;break a}break}default:{}}i=a[12928+i>>0]|0;c[f>>2]=o+1;a[o>>0]=i;c[g>>2]=(c[g>>2]|0)+1;i=0}}while(0);return i|0}function fG(){if((a[55648]|0)==0?uB(55648)|0:0){c[14398]=Gy(2147483647,50039,0)|0;wB(55648)}return c[14398]|0}function gG(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;f=zb;zb=zb+16|0;g=f;c[g>>2]=e;e=cy(b)|0;b=$z(a,d,g)|0;if(e|0)cy(e)|0;zb=f;return b|0}function hG(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;f=zb;zb=zb+48|0;d=f+32|0;b=f+24|0;e=f;g=f+16|0;c[g>>2]=143;c[g+4>>2]=0;c[d>>2]=c[g>>2];c[d+4>>2]=c[g+4>>2];kG(e,d,a);if((c[a>>2]|0)!=-1){c[d>>2]=e;c[b>>2]=d;gO(a,b,144)}zb=f;return (c[a+4>>2]|0)+-1|0}function iG(a,b){a=a|0;b=b|0;return c[(c[a+8>>2]|0)+(b<<2)>>2]|0}function jG(a){a=a|0;var b=0;b=c[14399]|0;c[14399]=b+1;c[a+4>>2]=b+1;return}function kG(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=c[b>>2]|0;b=c[b+4>>2]|0;c[a>>2]=d;c[a+4>>2]=e;c[a+8>>2]=b;return}function lG(a){a=a|0;mG(c[c[a>>2]>>2]|0);return}function mG(a){a=a|0;var b=0,d=0;b=c[a+4>>2]|0;d=c[a+8>>2]|0;a=(c[a>>2]|0)+(d>>1)|0;if(d&1)b=c[(c[a>>2]|0)+b>>2]|0;Rb[b&255](a);return}function nG(b,d,e,f,h,i){b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;D=zb;zb=zb+240|0;r=D+160|0;s=D+231|0;u=D+230|0;C=D+216|0;B=D+204|0;v=D+200|0;x=D;y=D+196|0;w=D+192|0;z=D+229|0;t=D+228|0;oG(C,f,r,s,u);c[B>>2]=0;c[B+4>>2]=0;c[B+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[B+(b<<2)>>2]=0;b=b+1|0}q=B+11|0;p=B+8|0;if((a[q>>0]|0)<0)b=(c[p>>2]&2147483647)+-1|0;else b=10;vO(B,b,0);b=(a[q>>0]|0)<0?c[B>>2]|0:B;c[v>>2]=b;c[y>>2]=x;c[w>>2]=0;a[z>>0]=1;a[t>>0]=69;o=B+4|0;k=c[d>>2]|0;j=k;a:while(1){if(j){f=c[j+12>>2]|0;if((f|0)==(c[j+16>>2]|0))f=Fb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else f=ig(a[f>>0]|0)|0;if(eg(f,ag()|0)|0){c[d>>2]=0;n=0;k=0;l=1}else{n=j;l=0}}else{n=0;k=0;l=1}j=c[e>>2]|0;do if(j){f=c[j+12>>2]|0;if((f|0)==(c[j+16>>2]|0))f=Fb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else f=ig(a[f>>0]|0)|0;if(!(eg(f,ag()|0)|0))if(l)break;else break a;else{c[e>>2]=0;E=19;break}}else E=19;while(0);if((E|0)==19){E=0;if(l){j=0;break}else j=0}f=a[q>>0]|0;f=f<<24>>24<0?c[o>>2]|0:f&255;if((c[v>>2]|0)==(b+f|0)){vO(B,f<<1,0);if((a[q>>0]|0)<0)b=(c[p>>2]&2147483647)+-1|0;else b=10;vO(B,b,0);b=(a[q>>0]|0)<0?c[B>>2]|0:B;c[v>>2]=b+f}m=n+12|0;f=c[m>>2]|0;l=n+16|0;if((f|0)==(c[l>>2]|0))f=Fb[c[(c[n>>2]|0)+36>>2]&127](n)|0;else f=ig(a[f>>0]|0)|0;if(pG(f&255,z,t,b,v,a[s>>0]|0,a[u>>0]|0,C,x,y,w,r)|0)break;f=c[m>>2]|0;if((f|0)==(c[l>>2]|0))Fb[c[(c[n>>2]|0)+40>>2]&127](n)|0;else{c[m>>2]=f+1;ig(a[f>>0]|0)|0}j=n}u=a[C+11>>0]|0;if(!((a[z>>0]|0)==0?1:((u<<24>>24<0?c[C+4>>2]|0:u&255)|0)==0)?(A=c[y>>2]|0,(A-x|0)<160):0){z=c[w>>2]|0;c[y>>2]=A+4;c[A>>2]=z}g[i>>3]=+qG(b,c[v>>2]|0,h);rG(C,x,c[y>>2]|0,h);if(n){b=c[n+12>>2]|0;if((b|0)==(c[n+16>>2]|0))b=Fb[c[(c[k>>2]|0)+36>>2]&127](n)|0;else b=ig(a[b>>0]|0)|0;if(eg(b,ag()|0)|0){c[d>>2]=0;f=1}else f=0}else f=1;do if(j){b=c[j+12>>2]|0;if((b|0)==(c[j+16>>2]|0))b=Fb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else b=ig(a[b>>0]|0)|0;if(!(eg(b,ag()|0)|0))if(f)break;else{E=50;break}else{c[e>>2]=0;E=48;break}}else E=48;while(0);if((E|0)==48?f:0)E=50;if((E|0)==50)c[h>>2]=c[h>>2]|2;E=c[d>>2]|0;qO(B);qO(C);zb=D;return E|0}function oG(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=zb;zb=zb+16|0;i=h;PE(i,d);d=cG(i,57584)|0;Jb[c[(c[d>>2]|0)+32>>2]&15](d,12928,12960,e)|0;d=cG(i,57600)|0;a[f>>0]=Fb[c[(c[d>>2]|0)+12>>2]&127](d)|0;a[g>>0]=Fb[c[(c[d>>2]|0)+16>>2]&127](d)|0;Tb[c[(c[d>>2]|0)+20>>2]&63](b,d);dG(i);zb=h;return}function pG(b,d,e,f,g,h,i,j,k,l,m,n){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;m=m|0;n=n|0;var o=0,p=0;a:do if(b<<24>>24==h<<24>>24)if(a[d>>0]|0){a[d>>0]=0;e=c[g>>2]|0;c[g>>2]=e+1;a[e>>0]=46;e=a[j+11>>0]|0;if(((e<<24>>24<0?c[j+4>>2]|0:e&255)|0)!=0?(o=c[l>>2]|0,(o-k|0)<160):0){k=c[m>>2]|0;c[l>>2]=o+4;c[o>>2]=k;o=0}else o=0}else o=-1;else{if(b<<24>>24==i<<24>>24?(i=a[j+11>>0]|0,(i<<24>>24<0?c[j+4>>2]|0:i&255)|0):0){if(!(a[d>>0]|0)){o=-1;break}o=c[l>>2]|0;if((o-k|0)>=160){o=0;break}k=c[m>>2]|0;c[l>>2]=o+4;c[o>>2]=k;c[m>>2]=0;o=0;break}i=n+32|0;h=0;while(1){o=n+h|0;if((h|0)==32){o=i;break}if((a[o>>0]|0)==b<<24>>24)break;else h=h+1|0}h=o-n|0;if((h|0)>31)o=-1;else{i=a[12928+h>>0]|0;switch(h|0){case 24:case 25:{o=c[g>>2]|0;if((o|0)!=(f|0)?(a[o+-1>>0]&95)!=(a[e>>0]&127):0){o=-1;break a}c[g>>2]=o+1;a[o>>0]=i;o=0;break a}case 23:case 22:{a[e>>0]=80;o=c[g>>2]|0;c[g>>2]=o+1;a[o>>0]=i;o=0;break a}default:{o=i&95;if((((o|0)==(a[e>>0]|0)?(a[e>>0]=o|128,a[d>>0]|0):0)?(a[d>>0]=0,e=a[j+11>>0]|0,(e<<24>>24<0?c[j+4>>2]|0:e&255)|0):0)?(p=c[l>>2]|0,(p-k|0)<160):0){k=c[m>>2]|0;c[l>>2]=p+4;c[p>>2]=k}l=c[g>>2]|0;c[g>>2]=l+1;a[l>>0]=i;if((h|0)>21){o=0;break a}c[m>>2]=(c[m>>2]|0)+1;o=0;break a}}}}while(0);return o|0}function qG(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0,f=0,g=0,h=0,i=0;i=zb;zb=zb+16|0;g=i;if((a|0)==(b|0)){c[d>>2]=4;e=0.0}else{f=c[(vx()|0)>>2]|0;c[(vx()|0)>>2]=0;e=+qA(a,g,fG()|0);a=c[(vx()|0)>>2]|0;if(!a)c[(vx()|0)>>2]=f;if((c[g>>2]|0)==(b|0)){if((a|0)==68)h=6}else{e=0.0;h=6}if((h|0)==6)c[d>>2]=4}zb=i;return +e}function rG(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0;j=b+11|0;h=a[j>>0]|0;k=b+4|0;i=c[k>>2]|0;g=h&255;do if((h<<24>>24<0?i:g)|0){if((d|0)!=(e|0)){h=d;g=e;while(1){g=g+-4|0;if(h>>>0>=g>>>0)break;i=c[h>>2]|0;c[h>>2]=c[g>>2];c[g>>2]=i;h=h+4|0}g=a[j>>0]|0;h=g;i=c[k>>2]|0;g=g&255}j=h<<24>>24<0;b=j?c[b>>2]|0:b;k=e+-4|0;j=b+(j?i:g)|0;i=b;while(1){g=a[i>>0]|0;h=g<<24>>24>0&g<<24>>24!=127;if(d>>>0>=k>>>0)break;if(h?(c[d>>2]|0)!=(g<<24>>24|0):0){l=11;break}i=(j-i|0)>1?i+1|0:i;d=d+4|0}if((l|0)==11){c[f>>2]=4;break}if(h?((c[k>>2]|0)+-1|0)>>>0>=g<<24>>24>>>0:0)c[f>>2]=4}while(0);return}function sG(b,d,e,f,h,i){b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;D=zb;zb=zb+240|0;r=D+160|0;s=D+231|0;u=D+230|0;C=D+216|0;B=D+204|0;v=D+200|0;x=D;y=D+196|0;w=D+192|0;z=D+229|0;t=D+228|0;oG(C,f,r,s,u);c[B>>2]=0;c[B+4>>2]=0;c[B+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[B+(b<<2)>>2]=0;b=b+1|0}q=B+11|0;p=B+8|0;if((a[q>>0]|0)<0)b=(c[p>>2]&2147483647)+-1|0;else b=10;vO(B,b,0);b=(a[q>>0]|0)<0?c[B>>2]|0:B;c[v>>2]=b;c[y>>2]=x;c[w>>2]=0;a[z>>0]=1;a[t>>0]=69;o=B+4|0;k=c[d>>2]|0;j=k;a:while(1){if(j){f=c[j+12>>2]|0;if((f|0)==(c[j+16>>2]|0))f=Fb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else f=ig(a[f>>0]|0)|0;if(eg(f,ag()|0)|0){c[d>>2]=0;n=0;k=0;l=1}else{n=j;l=0}}else{n=0;k=0;l=1}j=c[e>>2]|0;do if(j){f=c[j+12>>2]|0;if((f|0)==(c[j+16>>2]|0))f=Fb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else f=ig(a[f>>0]|0)|0;if(!(eg(f,ag()|0)|0))if(l)break;else break a;else{c[e>>2]=0;E=19;break}}else E=19;while(0);if((E|0)==19){E=0;if(l){j=0;break}else j=0}f=a[q>>0]|0;f=f<<24>>24<0?c[o>>2]|0:f&255;if((c[v>>2]|0)==(b+f|0)){vO(B,f<<1,0);if((a[q>>0]|0)<0)b=(c[p>>2]&2147483647)+-1|0;else b=10;vO(B,b,0);b=(a[q>>0]|0)<0?c[B>>2]|0:B;c[v>>2]=b+f}m=n+12|0;f=c[m>>2]|0;l=n+16|0;if((f|0)==(c[l>>2]|0))f=Fb[c[(c[n>>2]|0)+36>>2]&127](n)|0;else f=ig(a[f>>0]|0)|0;if(pG(f&255,z,t,b,v,a[s>>0]|0,a[u>>0]|0,C,x,y,w,r)|0)break;f=c[m>>2]|0;if((f|0)==(c[l>>2]|0))Fb[c[(c[n>>2]|0)+40>>2]&127](n)|0;else{c[m>>2]=f+1;ig(a[f>>0]|0)|0}j=n}u=a[C+11>>0]|0;if(!((a[z>>0]|0)==0?1:((u<<24>>24<0?c[C+4>>2]|0:u&255)|0)==0)?(A=c[y>>2]|0,(A-x|0)<160):0){z=c[w>>2]|0;c[y>>2]=A+4;c[A>>2]=z}g[i>>3]=+tG(b,c[v>>2]|0,h);rG(C,x,c[y>>2]|0,h);if(n){b=c[n+12>>2]|0;if((b|0)==(c[n+16>>2]|0))b=Fb[c[(c[k>>2]|0)+36>>2]&127](n)|0;else b=ig(a[b>>0]|0)|0;if(eg(b,ag()|0)|0){c[d>>2]=0;f=1}else f=0}else f=1;do if(j){b=c[j+12>>2]|0;if((b|0)==(c[j+16>>2]|0))b=Fb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else b=ig(a[b>>0]|0)|0;if(!(eg(b,ag()|0)|0))if(f)break;else{E=50;break}else{c[e>>2]=0;E=48;break}}else E=48;while(0);if((E|0)==48?f:0)E=50;if((E|0)==50)c[h>>2]=c[h>>2]|2;E=c[d>>2]|0;qO(B);qO(C);zb=D;return E|0}function tG(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0,f=0,g=0,h=0,i=0;i=zb;zb=zb+16|0;g=i;if((a|0)==(b|0)){c[d>>2]=4;e=0.0}else{f=c[(vx()|0)>>2]|0;c[(vx()|0)>>2]=0;e=+pA(a,g,fG()|0);a=c[(vx()|0)>>2]|0;if(!a)c[(vx()|0)>>2]=f;if((c[g>>2]|0)==(b|0)){if((a|0)==68)h=6}else{e=0.0;h=6}if((h|0)==6)c[d>>2]=4}zb=i;return +e}function uG(b,d,e,g,h,i){b=b|0;d=d|0;e=e|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;D=zb;zb=zb+240|0;r=D+160|0;s=D+231|0;u=D+230|0;C=D+216|0;B=D+204|0;v=D+200|0;x=D;y=D+196|0;w=D+192|0;z=D+229|0;t=D+228|0;oG(C,g,r,s,u);c[B>>2]=0;c[B+4>>2]=0;c[B+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[B+(b<<2)>>2]=0;b=b+1|0}q=B+11|0;p=B+8|0;if((a[q>>0]|0)<0)b=(c[p>>2]&2147483647)+-1|0;else b=10;vO(B,b,0);b=(a[q>>0]|0)<0?c[B>>2]|0:B;c[v>>2]=b;c[y>>2]=x;c[w>>2]=0;a[z>>0]=1;a[t>>0]=69;o=B+4|0;k=c[d>>2]|0;j=k;a:while(1){if(j){g=c[j+12>>2]|0;if((g|0)==(c[j+16>>2]|0))g=Fb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else g=ig(a[g>>0]|0)|0;if(eg(g,ag()|0)|0){c[d>>2]=0;n=0;k=0;l=1}else{n=j;l=0}}else{n=0;k=0;l=1}j=c[e>>2]|0;do if(j){g=c[j+12>>2]|0;if((g|0)==(c[j+16>>2]|0))g=Fb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else g=ig(a[g>>0]|0)|0;if(!(eg(g,ag()|0)|0))if(l)break;else break a;else{c[e>>2]=0;E=19;break}}else E=19;while(0);if((E|0)==19){E=0;if(l){j=0;break}else j=0}g=a[q>>0]|0;g=g<<24>>24<0?c[o>>2]|0:g&255;if((c[v>>2]|0)==(b+g|0)){vO(B,g<<1,0);if((a[q>>0]|0)<0)b=(c[p>>2]&2147483647)+-1|0;else b=10;vO(B,b,0);b=(a[q>>0]|0)<0?c[B>>2]|0:B;c[v>>2]=b+g}m=n+12|0;g=c[m>>2]|0;l=n+16|0;if((g|0)==(c[l>>2]|0))g=Fb[c[(c[n>>2]|0)+36>>2]&127](n)|0;else g=ig(a[g>>0]|0)|0;if(pG(g&255,z,t,b,v,a[s>>0]|0,a[u>>0]|0,C,x,y,w,r)|0)break;g=c[m>>2]|0;if((g|0)==(c[l>>2]|0))Fb[c[(c[n>>2]|0)+40>>2]&127](n)|0;else{c[m>>2]=g+1;ig(a[g>>0]|0)|0}j=n}u=a[C+11>>0]|0;if(!((a[z>>0]|0)==0?1:((u<<24>>24<0?c[C+4>>2]|0:u&255)|0)==0)?(A=c[y>>2]|0,(A-x|0)<160):0){z=c[w>>2]|0;c[y>>2]=A+4;c[A>>2]=z}f[i>>2]=+vG(b,c[v>>2]|0,h);rG(C,x,c[y>>2]|0,h);if(n){b=c[n+12>>2]|0;if((b|0)==(c[n+16>>2]|0))b=Fb[c[(c[k>>2]|0)+36>>2]&127](n)|0;else b=ig(a[b>>0]|0)|0;if(eg(b,ag()|0)|0){c[d>>2]=0;g=1}else g=0}else g=1;do if(j){b=c[j+12>>2]|0;if((b|0)==(c[j+16>>2]|0))b=Fb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else b=ig(a[b>>0]|0)|0;if(!(eg(b,ag()|0)|0))if(g)break;else{E=50;break}else{c[e>>2]=0;E=48;break}}else E=48;while(0);if((E|0)==48?g:0)E=50;if((E|0)==50)c[h>>2]=c[h>>2]|2;E=c[d>>2]|0;qO(B);qO(C);zb=D;return E|0}function vG(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0,f=0,g=0,h=0,i=0;i=zb;zb=zb+16|0;g=i;if((a|0)==(b|0)){c[d>>2]=4;e=0.0}else{f=c[(vx()|0)>>2]|0;c[(vx()|0)>>2]=0;e=+oA(a,g,fG()|0);a=c[(vx()|0)>>2]|0;if(!a)c[(vx()|0)>>2]=f;if((c[g>>2]|0)==(b|0)){if((a|0)==68)h=6}else{e=0.0;h=6}if((h|0)==6)c[d>>2]=4}zb=i;return +e}function wG(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,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=zb;zb=zb+240|0;r=B+224|0;z=B+212|0;y=B+200|0;t=B+196|0;v=B;w=B+192|0;u=B+188|0;x=xG(f)|0;q=yG(b,f,B+160|0)|0;zG(z,f,r);c[y>>2]=0;c[y+4>>2]=0;c[y+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[y+(b<<2)>>2]=0;b=b+1|0}p=y+11|0;o=y+8|0;if((a[p>>0]|0)<0)b=(c[o>>2]&2147483647)+-1|0;else b=10;vO(y,b,0);b=(a[p>>0]|0)<0?c[y>>2]|0:y;c[t>>2]=b;c[w>>2]=v;c[u>>2]=0;n=y+4|0;j=c[d>>2]|0;i=j;a:while(1){if(i){f=c[i+12>>2]|0;if((f|0)==(c[i+16>>2]|0))f=Fb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else f=ig(a[f>>0]|0)|0;if(eg(f,ag()|0)|0){c[d>>2]=0;m=0;j=0;k=1}else{m=i;k=0}}else{m=0;j=0;k=1}i=c[e>>2]|0;do if(i){f=c[i+12>>2]|0;if((f|0)==(c[i+16>>2]|0))f=Fb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else f=ig(a[f>>0]|0)|0;if(!(eg(f,ag()|0)|0))if(k)break;else break a;else{c[e>>2]=0;A=19;break}}else A=19;while(0);if((A|0)==19){A=0;if(k){i=0;break}else i=0}f=a[p>>0]|0;f=f<<24>>24<0?c[n>>2]|0:f&255;if((c[t>>2]|0)==(b+f|0)){vO(y,f<<1,0);if((a[p>>0]|0)<0)b=(c[o>>2]&2147483647)+-1|0;else b=10;vO(y,b,0);b=(a[p>>0]|0)<0?c[y>>2]|0:y;c[t>>2]=b+f}l=m+12|0;f=c[l>>2]|0;k=m+16|0;if((f|0)==(c[k>>2]|0))f=Fb[c[(c[m>>2]|0)+36>>2]&127](m)|0;else f=ig(a[f>>0]|0)|0;if(eG(f&255,x,b,t,u,a[r>>0]|0,z,v,w,q)|0)break;f=c[l>>2]|0;if((f|0)==(c[k>>2]|0))Fb[c[(c[m>>2]|0)+40>>2]&127](m)|0;else{c[l>>2]=f+1;ig(a[f>>0]|0)|0}i=m}r=a[z+11>>0]|0;if((r<<24>>24<0?c[z+4>>2]|0:r&255)|0?(s=c[w>>2]|0,(s-v|0)<160):0){u=c[u>>2]|0;c[w>>2]=s+4;c[s>>2]=u}t=AG(b,c[t>>2]|0,g,x)|0;u=G()|0;x=h;c[x>>2]=t;c[x+4>>2]=u;rG(z,v,c[w>>2]|0,g);if(m){b=c[m+12>>2]|0;if((b|0)==(c[m+16>>2]|0))b=Fb[c[(c[j>>2]|0)+36>>2]&127](m)|0;else b=ig(a[b>>0]|0)|0;if(eg(b,ag()|0)|0){c[d>>2]=0;f=1}else f=0}else f=1;do if(i){b=c[i+12>>2]|0;if((b|0)==(c[i+16>>2]|0))b=Fb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else b=ig(a[b>>0]|0)|0;if(!(eg(b,ag()|0)|0))if(f)break;else{A=50;break}else{c[e>>2]=0;A=48;break}}else A=48;while(0);if((A|0)==48?f:0)A=50;if((A|0)==50)c[g>>2]=c[g>>2]|2;A=c[d>>2]|0;qO(y);qO(z);zb=B;return A|0}function xG(a){a=a|0;switch(c[a+4>>2]&74){case 64:{a=8;break}case 8:{a=16;break}case 0:{a=0;break}default:a=10}return a|0}function yG(a,b,c){a=a|0;b=b|0;c=c|0;return BG(a,b,c)|0}function zG(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;f=zb;zb=zb+16|0;g=f;PE(g,d);d=cG(g,57600)|0;a[e>>0]=Fb[c[(c[d>>2]|0)+16>>2]&127](d)|0;Tb[c[(c[d>>2]|0)+20>>2]&63](b,d);dG(g);zb=f;return}function AG(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0;k=zb;zb=zb+16|0;i=k;do if((b|0)==(d|0)){c[e>>2]=4;f=0;b=0}else{j=(a[b>>0]|0)==45;if(j){b=b+1|0;if((b|0)==(d|0)){c[e>>2]=4;f=0;b=0;break}}h=c[(vx()|0)>>2]|0;c[(vx()|0)>>2]=0;b=oz(b,i,f,fG()|0)|0;g=G()|0;f=c[(vx()|0)>>2]|0;if(!f)c[(vx()|0)>>2]=h;do if((c[i>>2]|0)==(d|0))if((f|0)==68){c[e>>2]=4;b=-1;f=-1;break}else{i=WO(0,0,b|0,g|0)|0;f=G()|0;b=j?i:b;f=j?f:g;break}else{c[e>>2]=4;b=0;f=0}while(0)}while(0);F(f|0);zb=k;return b|0}function BG(a,b,c){a=a|0;b=b|0;c=c|0;return 12928}function CG(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;B=zb;zb=zb+240|0;r=B+224|0;z=B+212|0;y=B+200|0;t=B+196|0;v=B;w=B+192|0;u=B+188|0;x=xG(f)|0;q=yG(b,f,B+160|0)|0;zG(z,f,r);c[y>>2]=0;c[y+4>>2]=0;c[y+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[y+(b<<2)>>2]=0;b=b+1|0}p=y+11|0;o=y+8|0;if((a[p>>0]|0)<0)b=(c[o>>2]&2147483647)+-1|0;else b=10;vO(y,b,0);b=(a[p>>0]|0)<0?c[y>>2]|0:y;c[t>>2]=b;c[w>>2]=v;c[u>>2]=0;n=y+4|0;j=c[d>>2]|0;i=j;a:while(1){if(i){f=c[i+12>>2]|0;if((f|0)==(c[i+16>>2]|0))f=Fb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else f=ig(a[f>>0]|0)|0;if(eg(f,ag()|0)|0){c[d>>2]=0;m=0;j=0;k=1}else{m=i;k=0}}else{m=0;j=0;k=1}i=c[e>>2]|0;do if(i){f=c[i+12>>2]|0;if((f|0)==(c[i+16>>2]|0))f=Fb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else f=ig(a[f>>0]|0)|0;if(!(eg(f,ag()|0)|0))if(k)break;else break a;else{c[e>>2]=0;A=19;break}}else A=19;while(0);if((A|0)==19){A=0;if(k){i=0;break}else i=0}f=a[p>>0]|0;f=f<<24>>24<0?c[n>>2]|0:f&255;if((c[t>>2]|0)==(b+f|0)){vO(y,f<<1,0);if((a[p>>0]|0)<0)b=(c[o>>2]&2147483647)+-1|0;else b=10;vO(y,b,0);b=(a[p>>0]|0)<0?c[y>>2]|0:y;c[t>>2]=b+f}l=m+12|0;f=c[l>>2]|0;k=m+16|0;if((f|0)==(c[k>>2]|0))f=Fb[c[(c[m>>2]|0)+36>>2]&127](m)|0;else f=ig(a[f>>0]|0)|0;if(eG(f&255,x,b,t,u,a[r>>0]|0,z,v,w,q)|0)break;f=c[l>>2]|0;if((f|0)==(c[k>>2]|0))Fb[c[(c[m>>2]|0)+40>>2]&127](m)|0;else{c[l>>2]=f+1;ig(a[f>>0]|0)|0}i=m}r=a[z+11>>0]|0;if((r<<24>>24<0?c[z+4>>2]|0:r&255)|0?(s=c[w>>2]|0,(s-v|0)<160):0){u=c[u>>2]|0;c[w>>2]=s+4;c[s>>2]=u}c[h>>2]=DG(b,c[t>>2]|0,g,x)|0;rG(z,v,c[w>>2]|0,g);if(m){b=c[m+12>>2]|0;if((b|0)==(c[m+16>>2]|0))b=Fb[c[(c[j>>2]|0)+36>>2]&127](m)|0;else b=ig(a[b>>0]|0)|0;if(eg(b,ag()|0)|0){c[d>>2]=0;f=1}else f=0}else f=1;do if(i){b=c[i+12>>2]|0;if((b|0)==(c[i+16>>2]|0))b=Fb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else b=ig(a[b>>0]|0)|0;if(!(eg(b,ag()|0)|0))if(f)break;else{A=50;break}else{c[e>>2]=0;A=48;break}}else A=48;while(0);if((A|0)==48?f:0)A=50;if((A|0)==50)c[g>>2]=c[g>>2]|2;A=c[d>>2]|0;qO(y);qO(z);zb=B;return A|0}function DG(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0;k=zb;zb=zb+16|0;i=k;do if((b|0)==(d|0)){c[e>>2]=4;b=0}else{j=(a[b>>0]|0)==45;if(j){b=b+1|0;if((b|0)==(d|0)){c[e>>2]=4;b=0;break}}h=c[(vx()|0)>>2]|0;c[(vx()|0)>>2]=0;b=oz(b,i,f,fG()|0)|0;f=G()|0;g=c[(vx()|0)>>2]|0;if(!g)c[(vx()|0)>>2]=h;do if((c[i>>2]|0)==(d|0))if(f>>>0>0|(f|0)==0&b>>>0>4294967295|(g|0)==68){c[e>>2]=4;b=-1;break}else{b=j?0-b|0:b;break}else{c[e>>2]=4;b=0}while(0)}while(0);zb=k;return b|0}function EG(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;B=zb;zb=zb+240|0;r=B+224|0;z=B+212|0;y=B+200|0;t=B+196|0;v=B;w=B+192|0;u=B+188|0;x=xG(f)|0;q=yG(b,f,B+160|0)|0;zG(z,f,r);c[y>>2]=0;c[y+4>>2]=0;c[y+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[y+(b<<2)>>2]=0;b=b+1|0}p=y+11|0;o=y+8|0;if((a[p>>0]|0)<0)b=(c[o>>2]&2147483647)+-1|0;else b=10;vO(y,b,0);b=(a[p>>0]|0)<0?c[y>>2]|0:y;c[t>>2]=b;c[w>>2]=v;c[u>>2]=0;n=y+4|0;j=c[d>>2]|0;i=j;a:while(1){if(i){f=c[i+12>>2]|0;if((f|0)==(c[i+16>>2]|0))f=Fb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else f=ig(a[f>>0]|0)|0;if(eg(f,ag()|0)|0){c[d>>2]=0;m=0;j=0;k=1}else{m=i;k=0}}else{m=0;j=0;k=1}i=c[e>>2]|0;do if(i){f=c[i+12>>2]|0;if((f|0)==(c[i+16>>2]|0))f=Fb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else f=ig(a[f>>0]|0)|0;if(!(eg(f,ag()|0)|0))if(k)break;else break a;else{c[e>>2]=0;A=19;break}}else A=19;while(0);if((A|0)==19){A=0;if(k){i=0;break}else i=0}f=a[p>>0]|0;f=f<<24>>24<0?c[n>>2]|0:f&255;if((c[t>>2]|0)==(b+f|0)){vO(y,f<<1,0);if((a[p>>0]|0)<0)b=(c[o>>2]&2147483647)+-1|0;else b=10;vO(y,b,0);b=(a[p>>0]|0)<0?c[y>>2]|0:y;c[t>>2]=b+f}l=m+12|0;f=c[l>>2]|0;k=m+16|0;if((f|0)==(c[k>>2]|0))f=Fb[c[(c[m>>2]|0)+36>>2]&127](m)|0;else f=ig(a[f>>0]|0)|0;if(eG(f&255,x,b,t,u,a[r>>0]|0,z,v,w,q)|0)break;f=c[l>>2]|0;if((f|0)==(c[k>>2]|0))Fb[c[(c[m>>2]|0)+40>>2]&127](m)|0;else{c[l>>2]=f+1;ig(a[f>>0]|0)|0}i=m}r=a[z+11>>0]|0;if((r<<24>>24<0?c[z+4>>2]|0:r&255)|0?(s=c[w>>2]|0,(s-v|0)<160):0){u=c[u>>2]|0;c[w>>2]=s+4;c[s>>2]=u}c[h>>2]=FG(b,c[t>>2]|0,g,x)|0;rG(z,v,c[w>>2]|0,g);if(m){b=c[m+12>>2]|0;if((b|0)==(c[m+16>>2]|0))b=Fb[c[(c[j>>2]|0)+36>>2]&127](m)|0;else b=ig(a[b>>0]|0)|0;if(eg(b,ag()|0)|0){c[d>>2]=0;f=1}else f=0}else f=1;do if(i){b=c[i+12>>2]|0;if((b|0)==(c[i+16>>2]|0))b=Fb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else b=ig(a[b>>0]|0)|0;if(!(eg(b,ag()|0)|0))if(f)break;else{A=50;break}else{c[e>>2]=0;A=48;break}}else A=48;while(0);if((A|0)==48?f:0)A=50;if((A|0)==50)c[g>>2]=c[g>>2]|2;A=c[d>>2]|0;qO(y);qO(z);zb=B;return A|0}function FG(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0;k=zb;zb=zb+16|0;i=k;do if((b|0)==(d|0)){c[e>>2]=4;b=0}else{j=(a[b>>0]|0)==45;if(j){b=b+1|0;if((b|0)==(d|0)){c[e>>2]=4;b=0;break}}h=c[(vx()|0)>>2]|0;c[(vx()|0)>>2]=0;b=oz(b,i,f,fG()|0)|0;f=G()|0;g=c[(vx()|0)>>2]|0;if(!g)c[(vx()|0)>>2]=h;do if((c[i>>2]|0)==(d|0))if(f>>>0>0|(f|0)==0&b>>>0>4294967295|(g|0)==68){c[e>>2]=4;b=-1;break}else{b=j?0-b|0:b;break}else{c[e>>2]=4;b=0}while(0)}while(0);zb=k;return b|0}function GG(d,e,f,g,h,i){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;C=zb;zb=zb+240|0;s=C+224|0;A=C+212|0;z=C+200|0;u=C+196|0;w=C;x=C+192|0;v=C+188|0;y=xG(g)|0;r=yG(d,g,C+160|0)|0;zG(A,g,s);c[z>>2]=0;c[z+4>>2]=0;c[z+8>>2]=0;d=0;while(1){if((d|0)==3)break;c[z+(d<<2)>>2]=0;d=d+1|0}q=z+11|0;p=z+8|0;if((a[q>>0]|0)<0)d=(c[p>>2]&2147483647)+-1|0;else d=10;vO(z,d,0);d=(a[q>>0]|0)<0?c[z>>2]|0:z;c[u>>2]=d;c[x>>2]=w;c[v>>2]=0;o=z+4|0;k=c[e>>2]|0;j=k;a:while(1){if(j){g=c[j+12>>2]|0;if((g|0)==(c[j+16>>2]|0))g=Fb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else g=ig(a[g>>0]|0)|0;if(eg(g,ag()|0)|0){c[e>>2]=0;n=0;k=0;l=1}else{n=j;l=0}}else{n=0;k=0;l=1}j=c[f>>2]|0;do if(j){g=c[j+12>>2]|0;if((g|0)==(c[j+16>>2]|0))g=Fb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else g=ig(a[g>>0]|0)|0;if(!(eg(g,ag()|0)|0))if(l)break;else break a;else{c[f>>2]=0;B=19;break}}else B=19;while(0);if((B|0)==19){B=0;if(l){j=0;break}else j=0}g=a[q>>0]|0;g=g<<24>>24<0?c[o>>2]|0:g&255;if((c[u>>2]|0)==(d+g|0)){vO(z,g<<1,0);if((a[q>>0]|0)<0)d=(c[p>>2]&2147483647)+-1|0;else d=10;vO(z,d,0);d=(a[q>>0]|0)<0?c[z>>2]|0:z;c[u>>2]=d+g}m=n+12|0;g=c[m>>2]|0;l=n+16|0;if((g|0)==(c[l>>2]|0))g=Fb[c[(c[n>>2]|0)+36>>2]&127](n)|0;else g=ig(a[g>>0]|0)|0;if(eG(g&255,y,d,u,v,a[s>>0]|0,A,w,x,r)|0)break;g=c[m>>2]|0;if((g|0)==(c[l>>2]|0))Fb[c[(c[n>>2]|0)+40>>2]&127](n)|0;else{c[m>>2]=g+1;ig(a[g>>0]|0)|0}j=n}s=a[A+11>>0]|0;if((s<<24>>24<0?c[A+4>>2]|0:s&255)|0?(t=c[x>>2]|0,(t-w|0)<160):0){v=c[v>>2]|0;c[x>>2]=t+4;c[t>>2]=v}b[i>>1]=HG(d,c[u>>2]|0,h,y)|0;rG(A,w,c[x>>2]|0,h);if(n){d=c[n+12>>2]|0;if((d|0)==(c[n+16>>2]|0))d=Fb[c[(c[k>>2]|0)+36>>2]&127](n)|0;else d=ig(a[d>>0]|0)|0;if(eg(d,ag()|0)|0){c[e>>2]=0;g=1}else g=0}else g=1;do if(j){d=c[j+12>>2]|0;if((d|0)==(c[j+16>>2]|0))d=Fb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else d=ig(a[d>>0]|0)|0;if(!(eg(d,ag()|0)|0))if(g)break;else{B=50;break}else{c[f>>2]=0;B=48;break}}else B=48;while(0);if((B|0)==48?g:0)B=50;if((B|0)==50)c[h>>2]=c[h>>2]|2;B=c[e>>2]|0;qO(z);qO(A);zb=C;return B|0}function HG(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0;k=zb;zb=zb+16|0;i=k;do if((b|0)==(d|0)){c[e>>2]=4;b=0}else{j=(a[b>>0]|0)==45;if(j){b=b+1|0;if((b|0)==(d|0)){c[e>>2]=4;b=0;break}}h=c[(vx()|0)>>2]|0;c[(vx()|0)>>2]=0;b=oz(b,i,f,fG()|0)|0;f=G()|0;g=c[(vx()|0)>>2]|0;if(!g)c[(vx()|0)>>2]=h;do if((c[i>>2]|0)==(d|0)){if(f>>>0>0|(f|0)==0&b>>>0>65535|(g|0)==68){c[e>>2]=4;b=-1;break}if(j)b=0-b&65535;else b=b&65535}else{c[e>>2]=4;b=0}while(0)}while(0);zb=k;return b|0}function IG(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;B=zb;zb=zb+240|0;r=B+224|0;z=B+212|0;y=B+200|0;t=B+196|0;v=B;w=B+192|0;u=B+188|0;x=xG(f)|0;q=yG(b,f,B+160|0)|0;zG(z,f,r);c[y>>2]=0;c[y+4>>2]=0;c[y+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[y+(b<<2)>>2]=0;b=b+1|0}p=y+11|0;o=y+8|0;if((a[p>>0]|0)<0)b=(c[o>>2]&2147483647)+-1|0;else b=10;vO(y,b,0);b=(a[p>>0]|0)<0?c[y>>2]|0:y;c[t>>2]=b;c[w>>2]=v;c[u>>2]=0;n=y+4|0;j=c[d>>2]|0;i=j;a:while(1){if(i){f=c[i+12>>2]|0;if((f|0)==(c[i+16>>2]|0))f=Fb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else f=ig(a[f>>0]|0)|0;if(eg(f,ag()|0)|0){c[d>>2]=0;m=0;j=0;k=1}else{m=i;k=0}}else{m=0;j=0;k=1}i=c[e>>2]|0;do if(i){f=c[i+12>>2]|0;if((f|0)==(c[i+16>>2]|0))f=Fb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else f=ig(a[f>>0]|0)|0;if(!(eg(f,ag()|0)|0))if(k)break;else break a;else{c[e>>2]=0;A=19;break}}else A=19;while(0);if((A|0)==19){A=0;if(k){i=0;break}else i=0}f=a[p>>0]|0;f=f<<24>>24<0?c[n>>2]|0:f&255;if((c[t>>2]|0)==(b+f|0)){vO(y,f<<1,0);if((a[p>>0]|0)<0)b=(c[o>>2]&2147483647)+-1|0;else b=10;vO(y,b,0);b=(a[p>>0]|0)<0?c[y>>2]|0:y;c[t>>2]=b+f}l=m+12|0;f=c[l>>2]|0;k=m+16|0;if((f|0)==(c[k>>2]|0))f=Fb[c[(c[m>>2]|0)+36>>2]&127](m)|0;else f=ig(a[f>>0]|0)|0;if(eG(f&255,x,b,t,u,a[r>>0]|0,z,v,w,q)|0)break;f=c[l>>2]|0;if((f|0)==(c[k>>2]|0))Fb[c[(c[m>>2]|0)+40>>2]&127](m)|0;else{c[l>>2]=f+1;ig(a[f>>0]|0)|0}i=m}r=a[z+11>>0]|0;if((r<<24>>24<0?c[z+4>>2]|0:r&255)|0?(s=c[w>>2]|0,(s-v|0)<160):0){u=c[u>>2]|0;c[w>>2]=s+4;c[s>>2]=u}t=JG(b,c[t>>2]|0,g,x)|0;u=G()|0;x=h;c[x>>2]=t;c[x+4>>2]=u;rG(z,v,c[w>>2]|0,g);if(m){b=c[m+12>>2]|0;if((b|0)==(c[m+16>>2]|0))b=Fb[c[(c[j>>2]|0)+36>>2]&127](m)|0;else b=ig(a[b>>0]|0)|0;if(eg(b,ag()|0)|0){c[d>>2]=0;f=1}else f=0}else f=1;do if(i){b=c[i+12>>2]|0;if((b|0)==(c[i+16>>2]|0))b=Fb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else b=ig(a[b>>0]|0)|0;if(!(eg(b,ag()|0)|0))if(f)break;else{A=50;break}else{c[e>>2]=0;A=48;break}}else A=48;while(0);if((A|0)==48?f:0)A=50;if((A|0)==50)c[g>>2]=c[g>>2]|2;A=c[d>>2]|0;qO(y);qO(z);zb=B;return A|0}function JG(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;i=zb;zb=zb+16|0;h=i;if((a|0)==(b|0)){c[d>>2]=4;e=0;a=0}else{g=c[(vx()|0)>>2]|0;c[(vx()|0)>>2]=0;a=qz(a,h,e,fG()|0)|0;e=G()|0;f=c[(vx()|0)>>2]|0;if(!f)c[(vx()|0)>>2]=g;if((c[h>>2]|0)==(b|0)){if((f|0)==68){c[d>>2]=4;e=(e|0)>0|(e|0)==0&a>>>0>0;a=e?-1:0;e=e?2147483647:-2147483648}}else{c[d>>2]=4;a=0;e=0}}F(e|0);zb=i;return a|0}function KG(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;B=zb;zb=zb+240|0;r=B+224|0;z=B+212|0;y=B+200|0;t=B+196|0;v=B;w=B+192|0;u=B+188|0;x=xG(f)|0;q=yG(b,f,B+160|0)|0;zG(z,f,r);c[y>>2]=0;c[y+4>>2]=0;c[y+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[y+(b<<2)>>2]=0;b=b+1|0}p=y+11|0;o=y+8|0;if((a[p>>0]|0)<0)b=(c[o>>2]&2147483647)+-1|0;else b=10;vO(y,b,0);b=(a[p>>0]|0)<0?c[y>>2]|0:y;c[t>>2]=b;c[w>>2]=v;c[u>>2]=0;n=y+4|0;j=c[d>>2]|0;i=j;a:while(1){if(i){f=c[i+12>>2]|0;if((f|0)==(c[i+16>>2]|0))f=Fb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else f=ig(a[f>>0]|0)|0;if(eg(f,ag()|0)|0){c[d>>2]=0;m=0;j=0;k=1}else{m=i;k=0}}else{m=0;j=0;k=1}i=c[e>>2]|0;do if(i){f=c[i+12>>2]|0;if((f|0)==(c[i+16>>2]|0))f=Fb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else f=ig(a[f>>0]|0)|0;if(!(eg(f,ag()|0)|0))if(k)break;else break a;else{c[e>>2]=0;A=19;break}}else A=19;while(0);if((A|0)==19){A=0;if(k){i=0;break}else i=0}f=a[p>>0]|0;f=f<<24>>24<0?c[n>>2]|0:f&255;if((c[t>>2]|0)==(b+f|0)){vO(y,f<<1,0);if((a[p>>0]|0)<0)b=(c[o>>2]&2147483647)+-1|0;else b=10;vO(y,b,0);b=(a[p>>0]|0)<0?c[y>>2]|0:y;c[t>>2]=b+f}l=m+12|0;f=c[l>>2]|0;k=m+16|0;if((f|0)==(c[k>>2]|0))f=Fb[c[(c[m>>2]|0)+36>>2]&127](m)|0;else f=ig(a[f>>0]|0)|0;if(eG(f&255,x,b,t,u,a[r>>0]|0,z,v,w,q)|0)break;f=c[l>>2]|0;if((f|0)==(c[k>>2]|0))Fb[c[(c[m>>2]|0)+40>>2]&127](m)|0;else{c[l>>2]=f+1;ig(a[f>>0]|0)|0}i=m}r=a[z+11>>0]|0;if((r<<24>>24<0?c[z+4>>2]|0:r&255)|0?(s=c[w>>2]|0,(s-v|0)<160):0){u=c[u>>2]|0;c[w>>2]=s+4;c[s>>2]=u}c[h>>2]=LG(b,c[t>>2]|0,g,x)|0;rG(z,v,c[w>>2]|0,g);if(m){b=c[m+12>>2]|0;if((b|0)==(c[m+16>>2]|0))b=Fb[c[(c[j>>2]|0)+36>>2]&127](m)|0;else b=ig(a[b>>0]|0)|0;if(eg(b,ag()|0)|0){c[d>>2]=0;f=1}else f=0}else f=1;do if(i){b=c[i+12>>2]|0;if((b|0)==(c[i+16>>2]|0))b=Fb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else b=ig(a[b>>0]|0)|0;if(!(eg(b,ag()|0)|0))if(f)break;else{A=50;break}else{c[e>>2]=0;A=48;break}}else A=48;while(0);if((A|0)==48?f:0)A=50;if((A|0)==50)c[g>>2]=c[g>>2]|2;A=c[d>>2]|0;qO(y);qO(z);zb=B;return A|0}function LG(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;i=zb;zb=zb+16|0;h=i;if((a|0)==(b|0)){c[d>>2]=4;a=0}else{g=c[(vx()|0)>>2]|0;c[(vx()|0)>>2]=0;a=qz(a,h,e,fG()|0)|0;e=G()|0;f=c[(vx()|0)>>2]|0;if(!f)c[(vx()|0)>>2]=g;a:do if((c[h>>2]|0)==(b|0)){do if((f|0)==68){c[d>>2]=4;if((e|0)>0|(e|0)==0&a>>>0>0){a=2147483647;break a}}else{if((e|0)<-1|(e|0)==-1&a>>>0<2147483648){c[d>>2]=4;break}if((e|0)>0|(e|0)==0&a>>>0>2147483647){c[d>>2]=4;a=2147483647;break a}else break a}while(0);a=-2147483648}else{c[d>>2]=4;a=0}while(0)}zb=i;return a|0}function MG(b,d,e,f,g,h,i){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;w=zb;zb=zb+112|0;k=w;l=(f-e|0)/12|0;if(l>>>0>100){k=MO(l)|0;if(!k)hO();else{u=k;j=k}}else{u=0;j=k}n=e;k=0;o=l;m=j;while(1){if((n|0)==(f|0))break;l=a[n+11>>0]|0;if(l<<24>>24<0)l=c[n+4>>2]|0;else l=l&255;if(!l){a[m>>0]=2;k=k+1|0;l=o+-1|0}else{a[m>>0]=1;l=o}n=n+12|0;o=l;m=m+1|0}t=0;while(1){l=c[b>>2]|0;do if(l){m=c[l+12>>2]|0;if((m|0)==(c[l+16>>2]|0))l=Fb[c[(c[l>>2]|0)+36>>2]&127](l)|0;else l=ig(a[m>>0]|0)|0;if(eg(l,ag()|0)|0){c[b>>2]=0;p=1;break}else{p=(c[b>>2]|0)==0;break}}else p=1;while(0);m=c[d>>2]|0;if(m){l=c[m+12>>2]|0;if((l|0)==(c[m+16>>2]|0))l=Fb[c[(c[m>>2]|0)+36>>2]&127](m)|0;else l=ig(a[l>>0]|0)|0;if(eg(l,ag()|0)|0){c[d>>2]=0;l=1;m=0}else l=0}else{l=1;m=0}n=c[b>>2]|0;if(!((o|0)!=0&(p^l)))break;l=c[n+12>>2]|0;if((l|0)==(c[n+16>>2]|0))l=Fb[c[(c[n>>2]|0)+36>>2]&127](n)|0;else l=ig(a[l>>0]|0)|0;l=l&255;if(!i)l=Hb[c[(c[g>>2]|0)+12>>2]&63](g,l)|0;s=t+1|0;p=0;r=e;q=j;while(1){if((r|0)==(f|0))break;do if((a[q>>0]|0)==1){n=r+11|0;if((a[n>>0]|0)<0)m=c[r>>2]|0;else m=r;m=a[m+t>>0]|0;if(!i)m=Hb[c[(c[g>>2]|0)+12>>2]&63](g,m)|0;if(l<<24>>24!=m<<24>>24){a[q>>0]=0;m=p;o=o+-1|0;break}m=a[n>>0]|0;if(m<<24>>24<0)m=c[r+4>>2]|0;else m=m&255;if((m|0)==(s|0)){a[q>>0]=2;m=1;k=k+1|0;o=o+-1|0}else m=1}else m=p;while(0);p=m;r=r+12|0;q=q+1|0}a:do if(p){l=c[b>>2]|0;n=l+12|0;m=c[n>>2]|0;if((m|0)==(c[l+16>>2]|0))Fb[c[(c[l>>2]|0)+40>>2]&127](l)|0;else{c[n>>2]=m+1;ig(a[m>>0]|0)|0}if((k+o|0)>>>0>1){n=e;m=j;while(1){if((n|0)==(f|0))break a;if((a[m>>0]|0)==2){l=a[n+11>>0]|0;if(l<<24>>24<0)l=c[n+4>>2]|0;else l=l&255;if((l|0)!=(s|0)){a[m>>0]=0;k=k+-1|0}}n=n+12|0;m=m+1|0}}}while(0);t=s}do if(n){k=c[n+12>>2]|0;if((k|0)==(c[n+16>>2]|0))k=Fb[c[(c[n>>2]|0)+36>>2]&127](n)|0;else k=ig(a[k>>0]|0)|0;if(eg(k,ag()|0)|0){c[b>>2]=0;l=1;break}else{l=(c[b>>2]|0)==0;break}}else l=1;while(0);do if(m){k=c[m+12>>2]|0;if((k|0)==(c[m+16>>2]|0))k=Fb[c[(c[m>>2]|0)+36>>2]&127](m)|0;else k=ig(a[k>>0]|0)|0;if(!(eg(k,ag()|0)|0))if(l)break;else{v=79;break}else{c[d>>2]=0;v=41;break}}else v=41;while(0);if((v|0)==41?l:0)v=79;if((v|0)==79)c[h>>2]=c[h>>2]|2;while(1){if((e|0)==(f|0)){v=84;break}if((a[j>>0]|0)==2)break;e=e+12|0;j=j+1|0}if((v|0)==84){c[h>>2]=c[h>>2]|4;e=f}NO(u);zb=w;return e|0}function NG(a){a=a|0;JF(a);return}function OG(a){a=a|0;JF(a);ZA(a);return}function PG(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0;o=zb;zb=zb+48|0;m=o+40|0;n=o;i=o+32|0;j=o+36|0;k=o+28|0;l=o+24|0;if(!(c[f+4>>2]&1)){c[i>>2]=-1;l=c[(c[b>>2]|0)+16>>2]|0;c[j>>2]=c[d>>2];c[k>>2]=c[e>>2];c[n>>2]=c[j>>2];c[m>>2]=c[k>>2];c[d>>2]=Nb[l&63](b,n,m,f,g,i)|0;switch(c[i>>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}}d=c[d>>2]|0}else{PE(m,f);b=cG(m,57616)|0;dG(m);PE(m,f);k=cG(m,57624)|0;dG(m);Tb[c[(c[k>>2]|0)+24>>2]&63](n,k);Tb[c[(c[k>>2]|0)+28>>2]&63](n+12|0,k);c[l>>2]=c[e>>2];e=n+24|0;c[m>>2]=c[l>>2];a[h>>0]=(nH(d,m,n,e,b,g,1)|0)==(n|0)&1;d=c[d>>2]|0;do{e=e+-12|0;DO(e)}while((e|0)!=(n|0))}zb=o;return d|0}function QG(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0;h=zb;zb=zb+16|0;i=h+12|0;j=h+8|0;l=h+4|0;k=h;c[l>>2]=c[b>>2];c[k>>2]=c[d>>2];c[j>>2]=c[l>>2];c[i>>2]=c[k>>2];a=mH(a,j,i,e,f,g)|0;zb=h;return a|0}function RG(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0;h=zb;zb=zb+16|0;i=h+12|0;j=h+8|0;l=h+4|0;k=h;c[l>>2]=c[b>>2];c[k>>2]=c[d>>2];c[j>>2]=c[l>>2];c[i>>2]=c[k>>2];a=lH(a,j,i,e,f,g)|0;zb=h;return a|0}function SG(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0;h=zb;zb=zb+16|0;i=h+12|0;j=h+8|0;l=h+4|0;k=h;c[l>>2]=c[b>>2];c[k>>2]=c[d>>2];c[j>>2]=c[l>>2];c[i>>2]=c[k>>2];a=kH(a,j,i,e,f,g)|0;zb=h;return a|0}function TG(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0;h=zb;zb=zb+16|0;i=h+12|0;j=h+8|0;l=h+4|0;k=h;c[l>>2]=c[b>>2];c[k>>2]=c[d>>2];c[j>>2]=c[l>>2];c[i>>2]=c[k>>2];a=jH(a,j,i,e,f,g)|0;zb=h;return a|0}function UG(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0;h=zb;zb=zb+16|0;i=h+12|0;j=h+8|0;l=h+4|0;k=h;c[l>>2]=c[b>>2];c[k>>2]=c[d>>2];c[j>>2]=c[l>>2];c[i>>2]=c[k>>2];a=iH(a,j,i,e,f,g)|0;zb=h;return a|0}function VG(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0;h=zb;zb=zb+16|0;i=h+12|0;j=h+8|0;l=h+4|0;k=h;c[l>>2]=c[b>>2];c[k>>2]=c[d>>2];c[j>>2]=c[l>>2];c[i>>2]=c[k>>2];a=eH(a,j,i,e,f,g)|0;zb=h;return a|0}function WG(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0;h=zb;zb=zb+16|0;i=h+12|0;j=h+8|0;l=h+4|0;k=h;c[l>>2]=c[b>>2];c[k>>2]=c[d>>2];c[j>>2]=c[l>>2];c[i>>2]=c[k>>2];a=dH(a,j,i,e,f,g)|0;zb=h;return a|0}function XG(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0;h=zb;zb=zb+16|0;i=h+12|0;j=h+8|0;l=h+4|0;k=h;c[l>>2]=c[b>>2];c[k>>2]=c[d>>2];c[j>>2]=c[l>>2];c[i>>2]=c[k>>2];a=cH(a,j,i,e,f,g)|0;zb=h;return a|0}function YG(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0;h=zb;zb=zb+16|0;i=h+12|0;j=h+8|0;l=h+4|0;k=h;c[l>>2]=c[b>>2];c[k>>2]=c[d>>2];c[j>>2]=c[l>>2];c[i>>2]=c[k>>2];a=$G(a,j,i,e,f,g)|0;zb=h;return a|0}function ZG(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;y=zb;zb=zb+304|0;v=y+264|0;q=y+160|0;w=y+292|0;x=y+280|0;u=y+276|0;s=y;t=y+272|0;r=y+268|0;c[w>>2]=0;c[w+4>>2]=0;c[w+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[w+(b<<2)>>2]=0;b=b+1|0}PE(x,f);b=cG(x,57616)|0;Jb[c[(c[b>>2]|0)+48>>2]&15](b,12928,12954,q)|0;dG(x);c[x>>2]=0;c[x+4>>2]=0;c[x+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[x+(b<<2)>>2]=0;b=b+1|0}p=x+11|0;o=x+8|0;if((a[p>>0]|0)<0)b=(c[o>>2]&2147483647)+-1|0;else b=10;vO(x,b,0);b=(a[p>>0]|0)<0?c[x>>2]|0:x;c[u>>2]=b;c[t>>2]=s;c[r>>2]=0;n=x+4|0;i=c[d>>2]|0;j=i;a:while(1){if(i){f=c[i+12>>2]|0;if((f|0)==(c[i+16>>2]|0))f=Fb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else f=qE(c[f>>2]|0)|0;if(QE(f,pE()|0)|0){c[d>>2]=0;m=0;j=0;k=1}else{m=i;k=0}}else{m=0;j=0;k=1}i=c[e>>2]|0;do if(i){f=c[i+12>>2]|0;if((f|0)==(c[i+16>>2]|0))f=Fb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else f=qE(c[f>>2]|0)|0;if(!(QE(f,pE()|0)|0))if(k)break;else break a;else{c[e>>2]=0;z=22;break}}else z=22;while(0);if((z|0)==22){z=0;if(k){i=0;break}else i=0}f=a[p>>0]|0;f=f<<24>>24<0?c[n>>2]|0:f&255;if((c[u>>2]|0)==(b+f|0)){vO(x,f<<1,0);if((a[p>>0]|0)<0)b=(c[o>>2]&2147483647)+-1|0;else b=10;vO(x,b,0);b=(a[p>>0]|0)<0?c[x>>2]|0:x;c[u>>2]=b+f}l=m+12|0;f=c[l>>2]|0;k=m+16|0;if((f|0)==(c[k>>2]|0))f=Fb[c[(c[m>>2]|0)+36>>2]&127](m)|0;else f=qE(c[f>>2]|0)|0;if(_G(f,16,b,u,r,0,w,s,t,q)|0)break;f=c[l>>2]|0;if((f|0)==(c[k>>2]|0))Fb[c[(c[m>>2]|0)+40>>2]&127](m)|0;else{c[l>>2]=f+4;qE(c[f>>2]|0)|0}i=m}vO(x,(c[u>>2]|0)-b|0,0);t=(a[p>>0]|0)<0?c[x>>2]|0:x;u=fG()|0;c[v>>2]=h;if((gG(t,u,50036,v)|0)!=1)c[g>>2]=4;if(m){b=c[m+12>>2]|0;if((b|0)==(c[m+16>>2]|0))b=Fb[c[(c[j>>2]|0)+36>>2]&127](m)|0;else b=qE(c[b>>2]|0)|0;if(QE(b,pE()|0)|0){c[d>>2]=0;f=1}else f=0}else f=1;do if(i){b=c[i+12>>2]|0;if((b|0)==(c[i+16>>2]|0))b=Fb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else b=qE(c[b>>2]|0)|0;if(!(QE(b,pE()|0)|0))if(f)break;else{z=52;break}else{c[e>>2]=0;z=50;break}}else z=50;while(0);if((z|0)==50?f:0)z=52;if((z|0)==52)c[g>>2]=c[g>>2]|2;z=c[d>>2]|0;qO(x);qO(w);zb=y;return z|0}function _G(b,d,e,f,g,h,i,j,k,l){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;var m=0,n=0,o=0,p=0;o=c[f>>2]|0;p=(o|0)==(e|0);do if(p){m=(c[l+96>>2]|0)==(b|0);if(!m?(c[l+100>>2]|0)!=(b|0):0){n=5;break}c[f>>2]=e+1;a[e>>0]=m?43:45;c[g>>2]=0;i=0}else n=5;while(0);a:do if((n|0)==5){n=a[i+11>>0]|0;if((b|0)==(h|0)?((n<<24>>24<0?c[i+4>>2]|0:n&255)|0)!=0:0){i=c[k>>2]|0;if((i-j|0)>=160){i=0;break}p=c[g>>2]|0;c[k>>2]=i+4;c[i>>2]=p;c[g>>2]=0;i=0;break}m=l+104|0;h=0;while(1){i=l+(h<<2)|0;if((h|0)==26){i=m;break}if((c[i>>2]|0)==(b|0))break;else h=h+1|0}h=i-l|0;i=h>>2;if((h|0)>92)i=-1;else{switch(d|0){case 10:case 8:{if((i|0)>=(d|0)){i=-1;break a}break}case 16:{if((h|0)>=88){if(p){i=-1;break a}if((o-e|0)>=3){i=-1;break a}if((a[o+-1>>0]|0)!=48){i=-1;break a}c[g>>2]=0;i=a[12928+i>>0]|0;c[f>>2]=o+1;a[o>>0]=i;i=0;break a}break}default:{}}i=a[12928+i>>0]|0;c[f>>2]=o+1;a[o>>0]=i;c[g>>2]=(c[g>>2]|0)+1;i=0}}while(0);return i|0}function $G(b,d,e,f,h,i){b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;D=zb;zb=zb+336|0;r=D+160|0;s=D+328|0;u=D+324|0;C=D+312|0;B=D+300|0;v=D+296|0;x=D;y=D+292|0;w=D+288|0;z=D+333|0;t=D+332|0;aH(C,f,r,s,u);c[B>>2]=0;c[B+4>>2]=0;c[B+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[B+(b<<2)>>2]=0;b=b+1|0}q=B+11|0;p=B+8|0;if((a[q>>0]|0)<0)b=(c[p>>2]&2147483647)+-1|0;else b=10;vO(B,b,0);b=(a[q>>0]|0)<0?c[B>>2]|0:B;c[v>>2]=b;c[y>>2]=x;c[w>>2]=0;a[z>>0]=1;a[t>>0]=69;o=B+4|0;k=c[d>>2]|0;j=k;a:while(1){if(j){f=c[j+12>>2]|0;if((f|0)==(c[j+16>>2]|0))f=Fb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else f=qE(c[f>>2]|0)|0;if(QE(f,pE()|0)|0){c[d>>2]=0;n=0;k=0;l=1}else{n=j;l=0}}else{n=0;k=0;l=1}j=c[e>>2]|0;do if(j){f=c[j+12>>2]|0;if((f|0)==(c[j+16>>2]|0))f=Fb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else f=qE(c[f>>2]|0)|0;if(!(QE(f,pE()|0)|0))if(l)break;else break a;else{c[e>>2]=0;E=19;break}}else E=19;while(0);if((E|0)==19){E=0;if(l){j=0;break}else j=0}f=a[q>>0]|0;f=f<<24>>24<0?c[o>>2]|0:f&255;if((c[v>>2]|0)==(b+f|0)){vO(B,f<<1,0);if((a[q>>0]|0)<0)b=(c[p>>2]&2147483647)+-1|0;else b=10;vO(B,b,0);b=(a[q>>0]|0)<0?c[B>>2]|0:B;c[v>>2]=b+f}m=n+12|0;f=c[m>>2]|0;l=n+16|0;if((f|0)==(c[l>>2]|0))f=Fb[c[(c[n>>2]|0)+36>>2]&127](n)|0;else f=qE(c[f>>2]|0)|0;if(bH(f,z,t,b,v,c[s>>2]|0,c[u>>2]|0,C,x,y,w,r)|0)break;f=c[m>>2]|0;if((f|0)==(c[l>>2]|0))Fb[c[(c[n>>2]|0)+40>>2]&127](n)|0;else{c[m>>2]=f+4;qE(c[f>>2]|0)|0}j=n}u=a[C+11>>0]|0;if(!((a[z>>0]|0)==0?1:((u<<24>>24<0?c[C+4>>2]|0:u&255)|0)==0)?(A=c[y>>2]|0,(A-x|0)<160):0){z=c[w>>2]|0;c[y>>2]=A+4;c[A>>2]=z}g[i>>3]=+qG(b,c[v>>2]|0,h);rG(C,x,c[y>>2]|0,h);if(n){b=c[n+12>>2]|0;if((b|0)==(c[n+16>>2]|0))b=Fb[c[(c[k>>2]|0)+36>>2]&127](n)|0;else b=qE(c[b>>2]|0)|0;if(QE(b,pE()|0)|0){c[d>>2]=0;f=1}else f=0}else f=1;do if(j){b=c[j+12>>2]|0;if((b|0)==(c[j+16>>2]|0))b=Fb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else b=qE(c[b>>2]|0)|0;if(!(QE(b,pE()|0)|0))if(f)break;else{E=50;break}else{c[e>>2]=0;E=48;break}}else E=48;while(0);if((E|0)==48?f:0)E=50;if((E|0)==50)c[h>>2]=c[h>>2]|2;E=c[d>>2]|0;qO(B);qO(C);zb=D;return E|0}function aH(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;g=zb;zb=zb+16|0;h=g;PE(h,b);b=cG(h,57616)|0;Jb[c[(c[b>>2]|0)+48>>2]&15](b,12928,12960,d)|0;b=cG(h,57624)|0;c[e>>2]=Fb[c[(c[b>>2]|0)+12>>2]&127](b)|0;c[f>>2]=Fb[c[(c[b>>2]|0)+16>>2]&127](b)|0;Tb[c[(c[b>>2]|0)+20>>2]&63](a,b);dG(h);zb=g;return}function bH(b,d,e,f,g,h,i,j,k,l,m,n){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;m=m|0;n=n|0;var o=0,p=0;a:do if((b|0)==(h|0))if(a[d>>0]|0){a[d>>0]=0;e=c[g>>2]|0;c[g>>2]=e+1;a[e>>0]=46;e=a[j+11>>0]|0;if(((e<<24>>24<0?c[j+4>>2]|0:e&255)|0)!=0?(o=c[l>>2]|0,(o-k|0)<160):0){k=c[m>>2]|0;c[l>>2]=o+4;c[o>>2]=k;o=0}else o=0}else o=-1;else{if((b|0)==(i|0)?(i=a[j+11>>0]|0,(i<<24>>24<0?c[j+4>>2]|0:i&255)|0):0){if(!(a[d>>0]|0)){o=-1;break}o=c[l>>2]|0;if((o-k|0)>=160){o=0;break}k=c[m>>2]|0;c[l>>2]=o+4;c[o>>2]=k;c[m>>2]=0;o=0;break}i=n+128|0;h=0;while(1){o=n+(h<<2)|0;if((h|0)==32){o=i;break}if((c[o>>2]|0)==(b|0))break;else h=h+1|0}h=o-n|0;if((h|0)<=124){i=a[12928+(h>>2)>>0]|0;n=h+-88|0;switch(n>>>2|n<<30|0){case 2:case 3:{o=c[g>>2]|0;if((o|0)!=(f|0)?(a[o+-1>>0]&95)!=(a[e>>0]&127):0){o=-1;break a}c[g>>2]=o+1;a[o>>0]=i;o=0;break a}case 1:case 0:{a[e>>0]=80;break}default:{o=i&95;if((((o|0)==(a[e>>0]|0)?(a[e>>0]=o|128,a[d>>0]|0):0)?(a[d>>0]=0,e=a[j+11>>0]|0,(e<<24>>24<0?c[j+4>>2]|0:e&255)|0):0)?(p=c[l>>2]|0,(p-k|0)<160):0){k=c[m>>2]|0;c[l>>2]=p+4;c[p>>2]=k}}}l=c[g>>2]|0;c[g>>2]=l+1;a[l>>0]=i;if((h|0)>84)o=0;else{c[m>>2]=(c[m>>2]|0)+1;o=0}}else o=-1}while(0);return o|0}function cH(b,d,e,f,h,i){b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;D=zb;zb=zb+336|0;r=D+160|0;s=D+328|0;u=D+324|0;C=D+312|0;B=D+300|0;v=D+296|0;x=D;y=D+292|0;w=D+288|0;z=D+333|0;t=D+332|0;aH(C,f,r,s,u);c[B>>2]=0;c[B+4>>2]=0;c[B+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[B+(b<<2)>>2]=0;b=b+1|0}q=B+11|0;p=B+8|0;if((a[q>>0]|0)<0)b=(c[p>>2]&2147483647)+-1|0;else b=10;vO(B,b,0);b=(a[q>>0]|0)<0?c[B>>2]|0:B;c[v>>2]=b;c[y>>2]=x;c[w>>2]=0;a[z>>0]=1;a[t>>0]=69;o=B+4|0;k=c[d>>2]|0;j=k;a:while(1){if(j){f=c[j+12>>2]|0;if((f|0)==(c[j+16>>2]|0))f=Fb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else f=qE(c[f>>2]|0)|0;if(QE(f,pE()|0)|0){c[d>>2]=0;n=0;k=0;l=1}else{n=j;l=0}}else{n=0;k=0;l=1}j=c[e>>2]|0;do if(j){f=c[j+12>>2]|0;if((f|0)==(c[j+16>>2]|0))f=Fb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else f=qE(c[f>>2]|0)|0;if(!(QE(f,pE()|0)|0))if(l)break;else break a;else{c[e>>2]=0;E=19;break}}else E=19;while(0);if((E|0)==19){E=0;if(l){j=0;break}else j=0}f=a[q>>0]|0;f=f<<24>>24<0?c[o>>2]|0:f&255;if((c[v>>2]|0)==(b+f|0)){vO(B,f<<1,0);if((a[q>>0]|0)<0)b=(c[p>>2]&2147483647)+-1|0;else b=10;vO(B,b,0);b=(a[q>>0]|0)<0?c[B>>2]|0:B;c[v>>2]=b+f}m=n+12|0;f=c[m>>2]|0;l=n+16|0;if((f|0)==(c[l>>2]|0))f=Fb[c[(c[n>>2]|0)+36>>2]&127](n)|0;else f=qE(c[f>>2]|0)|0;if(bH(f,z,t,b,v,c[s>>2]|0,c[u>>2]|0,C,x,y,w,r)|0)break;f=c[m>>2]|0;if((f|0)==(c[l>>2]|0))Fb[c[(c[n>>2]|0)+40>>2]&127](n)|0;else{c[m>>2]=f+4;qE(c[f>>2]|0)|0}j=n}u=a[C+11>>0]|0;if(!((a[z>>0]|0)==0?1:((u<<24>>24<0?c[C+4>>2]|0:u&255)|0)==0)?(A=c[y>>2]|0,(A-x|0)<160):0){z=c[w>>2]|0;c[y>>2]=A+4;c[A>>2]=z}g[i>>3]=+tG(b,c[v>>2]|0,h);rG(C,x,c[y>>2]|0,h);if(n){b=c[n+12>>2]|0;if((b|0)==(c[n+16>>2]|0))b=Fb[c[(c[k>>2]|0)+36>>2]&127](n)|0;else b=qE(c[b>>2]|0)|0;if(QE(b,pE()|0)|0){c[d>>2]=0;f=1}else f=0}else f=1;do if(j){b=c[j+12>>2]|0;if((b|0)==(c[j+16>>2]|0))b=Fb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else b=qE(c[b>>2]|0)|0;if(!(QE(b,pE()|0)|0))if(f)break;else{E=50;break}else{c[e>>2]=0;E=48;break}}else E=48;while(0);if((E|0)==48?f:0)E=50;if((E|0)==50)c[h>>2]=c[h>>2]|2;E=c[d>>2]|0;qO(B);qO(C);zb=D;return E|0}function dH(b,d,e,g,h,i){b=b|0;d=d|0;e=e|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;D=zb;zb=zb+336|0;r=D+160|0;s=D+328|0;u=D+324|0;C=D+312|0;B=D+300|0;v=D+296|0;x=D;y=D+292|0;w=D+288|0;z=D+333|0;t=D+332|0;aH(C,g,r,s,u);c[B>>2]=0;c[B+4>>2]=0;c[B+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[B+(b<<2)>>2]=0;b=b+1|0}q=B+11|0;p=B+8|0;if((a[q>>0]|0)<0)b=(c[p>>2]&2147483647)+-1|0;else b=10;vO(B,b,0);b=(a[q>>0]|0)<0?c[B>>2]|0:B;c[v>>2]=b;c[y>>2]=x;c[w>>2]=0;a[z>>0]=1;a[t>>0]=69;o=B+4|0;k=c[d>>2]|0;j=k;a:while(1){if(j){g=c[j+12>>2]|0;if((g|0)==(c[j+16>>2]|0))g=Fb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else g=qE(c[g>>2]|0)|0;if(QE(g,pE()|0)|0){c[d>>2]=0;n=0;k=0;l=1}else{n=j;l=0}}else{n=0;k=0;l=1}j=c[e>>2]|0;do if(j){g=c[j+12>>2]|0;if((g|0)==(c[j+16>>2]|0))g=Fb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else g=qE(c[g>>2]|0)|0;if(!(QE(g,pE()|0)|0))if(l)break;else break a;else{c[e>>2]=0;E=19;break}}else E=19;while(0);if((E|0)==19){E=0;if(l){j=0;break}else j=0}g=a[q>>0]|0;g=g<<24>>24<0?c[o>>2]|0:g&255;if((c[v>>2]|0)==(b+g|0)){vO(B,g<<1,0);if((a[q>>0]|0)<0)b=(c[p>>2]&2147483647)+-1|0;else b=10;vO(B,b,0);b=(a[q>>0]|0)<0?c[B>>2]|0:B;c[v>>2]=b+g}m=n+12|0;g=c[m>>2]|0;l=n+16|0;if((g|0)==(c[l>>2]|0))g=Fb[c[(c[n>>2]|0)+36>>2]&127](n)|0;else g=qE(c[g>>2]|0)|0;if(bH(g,z,t,b,v,c[s>>2]|0,c[u>>2]|0,C,x,y,w,r)|0)break;g=c[m>>2]|0;if((g|0)==(c[l>>2]|0))Fb[c[(c[n>>2]|0)+40>>2]&127](n)|0;else{c[m>>2]=g+4;qE(c[g>>2]|0)|0}j=n}u=a[C+11>>0]|0;if(!((a[z>>0]|0)==0?1:((u<<24>>24<0?c[C+4>>2]|0:u&255)|0)==0)?(A=c[y>>2]|0,(A-x|0)<160):0){z=c[w>>2]|0;c[y>>2]=A+4;c[A>>2]=z}f[i>>2]=+vG(b,c[v>>2]|0,h);rG(C,x,c[y>>2]|0,h);if(n){b=c[n+12>>2]|0;if((b|0)==(c[n+16>>2]|0))b=Fb[c[(c[k>>2]|0)+36>>2]&127](n)|0;else b=qE(c[b>>2]|0)|0;if(QE(b,pE()|0)|0){c[d>>2]=0;g=1}else g=0}else g=1;do if(j){b=c[j+12>>2]|0;if((b|0)==(c[j+16>>2]|0))b=Fb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else b=qE(c[b>>2]|0)|0;if(!(QE(b,pE()|0)|0))if(g)break;else{E=50;break}else{c[e>>2]=0;E=48;break}}else E=48;while(0);if((E|0)==48?g:0)E=50;if((E|0)==50)c[h>>2]=c[h>>2]|2;E=c[d>>2]|0;qO(B);qO(C);zb=D;return E|0}function eH(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,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=zb;zb=zb+304|0;r=B+300|0;z=B+288|0;y=B+276|0;t=B+272|0;v=B;w=B+268|0;u=B+264|0;x=xG(f)|0;q=fH(b,f,B+160|0)|0;gH(z,f,r);c[y>>2]=0;c[y+4>>2]=0;c[y+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[y+(b<<2)>>2]=0;b=b+1|0}p=y+11|0;o=y+8|0;if((a[p>>0]|0)<0)b=(c[o>>2]&2147483647)+-1|0;else b=10;vO(y,b,0);b=(a[p>>0]|0)<0?c[y>>2]|0:y;c[t>>2]=b;c[w>>2]=v;c[u>>2]=0;n=y+4|0;j=c[d>>2]|0;i=j;a:while(1){if(i){f=c[i+12>>2]|0;if((f|0)==(c[i+16>>2]|0))f=Fb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else f=qE(c[f>>2]|0)|0;if(QE(f,pE()|0)|0){c[d>>2]=0;m=0;j=0;k=1}else{m=i;k=0}}else{m=0;j=0;k=1}i=c[e>>2]|0;do if(i){f=c[i+12>>2]|0;if((f|0)==(c[i+16>>2]|0))f=Fb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else f=qE(c[f>>2]|0)|0;if(!(QE(f,pE()|0)|0))if(k)break;else break a;else{c[e>>2]=0;A=19;break}}else A=19;while(0);if((A|0)==19){A=0;if(k){i=0;break}else i=0}f=a[p>>0]|0;f=f<<24>>24<0?c[n>>2]|0:f&255;if((c[t>>2]|0)==(b+f|0)){vO(y,f<<1,0);if((a[p>>0]|0)<0)b=(c[o>>2]&2147483647)+-1|0;else b=10;vO(y,b,0);b=(a[p>>0]|0)<0?c[y>>2]|0:y;c[t>>2]=b+f}l=m+12|0;f=c[l>>2]|0;k=m+16|0;if((f|0)==(c[k>>2]|0))f=Fb[c[(c[m>>2]|0)+36>>2]&127](m)|0;else f=qE(c[f>>2]|0)|0;if(_G(f,x,b,t,u,c[r>>2]|0,z,v,w,q)|0)break;f=c[l>>2]|0;if((f|0)==(c[k>>2]|0))Fb[c[(c[m>>2]|0)+40>>2]&127](m)|0;else{c[l>>2]=f+4;qE(c[f>>2]|0)|0}i=m}r=a[z+11>>0]|0;if((r<<24>>24<0?c[z+4>>2]|0:r&255)|0?(s=c[w>>2]|0,(s-v|0)<160):0){u=c[u>>2]|0;c[w>>2]=s+4;c[s>>2]=u}t=AG(b,c[t>>2]|0,g,x)|0;u=G()|0;x=h;c[x>>2]=t;c[x+4>>2]=u;rG(z,v,c[w>>2]|0,g);if(m){b=c[m+12>>2]|0;if((b|0)==(c[m+16>>2]|0))b=Fb[c[(c[j>>2]|0)+36>>2]&127](m)|0;else b=qE(c[b>>2]|0)|0;if(QE(b,pE()|0)|0){c[d>>2]=0;f=1}else f=0}else f=1;do if(i){b=c[i+12>>2]|0;if((b|0)==(c[i+16>>2]|0))b=Fb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else b=qE(c[b>>2]|0)|0;if(!(QE(b,pE()|0)|0))if(f)break;else{A=50;break}else{c[e>>2]=0;A=48;break}}else A=48;while(0);if((A|0)==48?f:0)A=50;if((A|0)==50)c[g>>2]=c[g>>2]|2;A=c[d>>2]|0;qO(y);qO(z);zb=B;return A|0}function fH(a,b,c){a=a|0;b=b|0;c=c|0;return hH(a,b,c)|0}function gH(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=zb;zb=zb+16|0;f=e;PE(f,b);b=cG(f,57624)|0;c[d>>2]=Fb[c[(c[b>>2]|0)+16>>2]&127](b)|0;Tb[c[(c[b>>2]|0)+20>>2]&63](a,b);dG(f);zb=e;return}function hH(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;a=zb;zb=zb+16|0;e=a;PE(e,b);b=cG(e,57616)|0;Jb[c[(c[b>>2]|0)+48>>2]&15](b,12928,12954,d)|0;dG(e);zb=a;return d|0}function iH(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;B=zb;zb=zb+304|0;r=B+300|0;z=B+288|0;y=B+276|0;t=B+272|0;v=B;w=B+268|0;u=B+264|0;x=xG(f)|0;q=fH(b,f,B+160|0)|0;gH(z,f,r);c[y>>2]=0;c[y+4>>2]=0;c[y+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[y+(b<<2)>>2]=0;b=b+1|0}p=y+11|0;o=y+8|0;if((a[p>>0]|0)<0)b=(c[o>>2]&2147483647)+-1|0;else b=10;vO(y,b,0);b=(a[p>>0]|0)<0?c[y>>2]|0:y;c[t>>2]=b;c[w>>2]=v;c[u>>2]=0;n=y+4|0;j=c[d>>2]|0;i=j;a:while(1){if(i){f=c[i+12>>2]|0;if((f|0)==(c[i+16>>2]|0))f=Fb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else f=qE(c[f>>2]|0)|0;if(QE(f,pE()|0)|0){c[d>>2]=0;m=0;j=0;k=1}else{m=i;k=0}}else{m=0;j=0;k=1}i=c[e>>2]|0;do if(i){f=c[i+12>>2]|0;if((f|0)==(c[i+16>>2]|0))f=Fb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else f=qE(c[f>>2]|0)|0;if(!(QE(f,pE()|0)|0))if(k)break;else break a;else{c[e>>2]=0;A=19;break}}else A=19;while(0);if((A|0)==19){A=0;if(k){i=0;break}else i=0}f=a[p>>0]|0;f=f<<24>>24<0?c[n>>2]|0:f&255;if((c[t>>2]|0)==(b+f|0)){vO(y,f<<1,0);if((a[p>>0]|0)<0)b=(c[o>>2]&2147483647)+-1|0;else b=10;vO(y,b,0);b=(a[p>>0]|0)<0?c[y>>2]|0:y;c[t>>2]=b+f}l=m+12|0;f=c[l>>2]|0;k=m+16|0;if((f|0)==(c[k>>2]|0))f=Fb[c[(c[m>>2]|0)+36>>2]&127](m)|0;else f=qE(c[f>>2]|0)|0;if(_G(f,x,b,t,u,c[r>>2]|0,z,v,w,q)|0)break;f=c[l>>2]|0;if((f|0)==(c[k>>2]|0))Fb[c[(c[m>>2]|0)+40>>2]&127](m)|0;else{c[l>>2]=f+4;qE(c[f>>2]|0)|0}i=m}r=a[z+11>>0]|0;if((r<<24>>24<0?c[z+4>>2]|0:r&255)|0?(s=c[w>>2]|0,(s-v|0)<160):0){u=c[u>>2]|0;c[w>>2]=s+4;c[s>>2]=u}c[h>>2]=DG(b,c[t>>2]|0,g,x)|0;rG(z,v,c[w>>2]|0,g);if(m){b=c[m+12>>2]|0;if((b|0)==(c[m+16>>2]|0))b=Fb[c[(c[j>>2]|0)+36>>2]&127](m)|0;else b=qE(c[b>>2]|0)|0;if(QE(b,pE()|0)|0){c[d>>2]=0;f=1}else f=0}else f=1;do if(i){b=c[i+12>>2]|0;if((b|0)==(c[i+16>>2]|0))b=Fb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else b=qE(c[b>>2]|0)|0;if(!(QE(b,pE()|0)|0))if(f)break;else{A=50;break}else{c[e>>2]=0;A=48;break}}else A=48;while(0);if((A|0)==48?f:0)A=50;if((A|0)==50)c[g>>2]=c[g>>2]|2;A=c[d>>2]|0;qO(y);qO(z);zb=B;return A|0}function jH(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;B=zb;zb=zb+304|0;r=B+300|0;z=B+288|0;y=B+276|0;t=B+272|0;v=B;w=B+268|0;u=B+264|0;x=xG(f)|0;q=fH(b,f,B+160|0)|0;gH(z,f,r);c[y>>2]=0;c[y+4>>2]=0;c[y+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[y+(b<<2)>>2]=0;b=b+1|0}p=y+11|0;o=y+8|0;if((a[p>>0]|0)<0)b=(c[o>>2]&2147483647)+-1|0;else b=10;vO(y,b,0);b=(a[p>>0]|0)<0?c[y>>2]|0:y;c[t>>2]=b;c[w>>2]=v;c[u>>2]=0;n=y+4|0;j=c[d>>2]|0;i=j;a:while(1){if(i){f=c[i+12>>2]|0;if((f|0)==(c[i+16>>2]|0))f=Fb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else f=qE(c[f>>2]|0)|0;if(QE(f,pE()|0)|0){c[d>>2]=0;m=0;j=0;k=1}else{m=i;k=0}}else{m=0;j=0;k=1}i=c[e>>2]|0;do if(i){f=c[i+12>>2]|0;if((f|0)==(c[i+16>>2]|0))f=Fb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else f=qE(c[f>>2]|0)|0;if(!(QE(f,pE()|0)|0))if(k)break;else break a;else{c[e>>2]=0;A=19;break}}else A=19;while(0);if((A|0)==19){A=0;if(k){i=0;break}else i=0}f=a[p>>0]|0;f=f<<24>>24<0?c[n>>2]|0:f&255;if((c[t>>2]|0)==(b+f|0)){vO(y,f<<1,0);if((a[p>>0]|0)<0)b=(c[o>>2]&2147483647)+-1|0;else b=10;vO(y,b,0);b=(a[p>>0]|0)<0?c[y>>2]|0:y;c[t>>2]=b+f}l=m+12|0;f=c[l>>2]|0;k=m+16|0;if((f|0)==(c[k>>2]|0))f=Fb[c[(c[m>>2]|0)+36>>2]&127](m)|0;else f=qE(c[f>>2]|0)|0;if(_G(f,x,b,t,u,c[r>>2]|0,z,v,w,q)|0)break;f=c[l>>2]|0;if((f|0)==(c[k>>2]|0))Fb[c[(c[m>>2]|0)+40>>2]&127](m)|0;else{c[l>>2]=f+4;qE(c[f>>2]|0)|0}i=m}r=a[z+11>>0]|0;if((r<<24>>24<0?c[z+4>>2]|0:r&255)|0?(s=c[w>>2]|0,(s-v|0)<160):0){u=c[u>>2]|0;c[w>>2]=s+4;c[s>>2]=u}c[h>>2]=FG(b,c[t>>2]|0,g,x)|0;rG(z,v,c[w>>2]|0,g);if(m){b=c[m+12>>2]|0;if((b|0)==(c[m+16>>2]|0))b=Fb[c[(c[j>>2]|0)+36>>2]&127](m)|0;else b=qE(c[b>>2]|0)|0;if(QE(b,pE()|0)|0){c[d>>2]=0;f=1}else f=0}else f=1;do if(i){b=c[i+12>>2]|0;if((b|0)==(c[i+16>>2]|0))b=Fb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else b=qE(c[b>>2]|0)|0;if(!(QE(b,pE()|0)|0))if(f)break;else{A=50;break}else{c[e>>2]=0;A=48;break}}else A=48;while(0);if((A|0)==48?f:0)A=50;if((A|0)==50)c[g>>2]=c[g>>2]|2;A=c[d>>2]|0;qO(y);qO(z);zb=B;return A|0}function kH(d,e,f,g,h,i){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;C=zb;zb=zb+304|0;s=C+300|0;A=C+288|0;z=C+276|0;u=C+272|0;w=C;x=C+268|0;v=C+264|0;y=xG(g)|0;r=fH(d,g,C+160|0)|0;gH(A,g,s);c[z>>2]=0;c[z+4>>2]=0;c[z+8>>2]=0;d=0;while(1){if((d|0)==3)break;c[z+(d<<2)>>2]=0;d=d+1|0}q=z+11|0;p=z+8|0;if((a[q>>0]|0)<0)d=(c[p>>2]&2147483647)+-1|0;else d=10;vO(z,d,0);d=(a[q>>0]|0)<0?c[z>>2]|0:z;c[u>>2]=d;c[x>>2]=w;c[v>>2]=0;o=z+4|0;k=c[e>>2]|0;j=k;a:while(1){if(j){g=c[j+12>>2]|0;if((g|0)==(c[j+16>>2]|0))g=Fb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else g=qE(c[g>>2]|0)|0;if(QE(g,pE()|0)|0){c[e>>2]=0;n=0;k=0;l=1}else{n=j;l=0}}else{n=0;k=0;l=1}j=c[f>>2]|0;do if(j){g=c[j+12>>2]|0;if((g|0)==(c[j+16>>2]|0))g=Fb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else g=qE(c[g>>2]|0)|0;if(!(QE(g,pE()|0)|0))if(l)break;else break a;else{c[f>>2]=0;B=19;break}}else B=19;while(0);if((B|0)==19){B=0;if(l){j=0;break}else j=0}g=a[q>>0]|0;g=g<<24>>24<0?c[o>>2]|0:g&255;if((c[u>>2]|0)==(d+g|0)){vO(z,g<<1,0);if((a[q>>0]|0)<0)d=(c[p>>2]&2147483647)+-1|0;else d=10;vO(z,d,0);d=(a[q>>0]|0)<0?c[z>>2]|0:z;c[u>>2]=d+g}m=n+12|0;g=c[m>>2]|0;l=n+16|0;if((g|0)==(c[l>>2]|0))g=Fb[c[(c[n>>2]|0)+36>>2]&127](n)|0;else g=qE(c[g>>2]|0)|0;if(_G(g,y,d,u,v,c[s>>2]|0,A,w,x,r)|0)break;g=c[m>>2]|0;if((g|0)==(c[l>>2]|0))Fb[c[(c[n>>2]|0)+40>>2]&127](n)|0;else{c[m>>2]=g+4;qE(c[g>>2]|0)|0}j=n}s=a[A+11>>0]|0;if((s<<24>>24<0?c[A+4>>2]|0:s&255)|0?(t=c[x>>2]|0,(t-w|0)<160):0){v=c[v>>2]|0;c[x>>2]=t+4;c[t>>2]=v}b[i>>1]=HG(d,c[u>>2]|0,h,y)|0;rG(A,w,c[x>>2]|0,h);if(n){d=c[n+12>>2]|0;if((d|0)==(c[n+16>>2]|0))d=Fb[c[(c[k>>2]|0)+36>>2]&127](n)|0;else d=qE(c[d>>2]|0)|0;if(QE(d,pE()|0)|0){c[e>>2]=0;g=1}else g=0}else g=1;do if(j){d=c[j+12>>2]|0;if((d|0)==(c[j+16>>2]|0))d=Fb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else d=qE(c[d>>2]|0)|0;if(!(QE(d,pE()|0)|0))if(g)break;else{B=50;break}else{c[f>>2]=0;B=48;break}}else B=48;while(0);if((B|0)==48?g:0)B=50;if((B|0)==50)c[h>>2]=c[h>>2]|2;B=c[e>>2]|0;qO(z);qO(A);zb=C;return B|0}function lH(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;B=zb;zb=zb+304|0;r=B+300|0;z=B+288|0;y=B+276|0;t=B+272|0;v=B;w=B+268|0;u=B+264|0;x=xG(f)|0;q=fH(b,f,B+160|0)|0;gH(z,f,r);c[y>>2]=0;c[y+4>>2]=0;c[y+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[y+(b<<2)>>2]=0;b=b+1|0}p=y+11|0;o=y+8|0;if((a[p>>0]|0)<0)b=(c[o>>2]&2147483647)+-1|0;else b=10;vO(y,b,0);b=(a[p>>0]|0)<0?c[y>>2]|0:y;c[t>>2]=b;c[w>>2]=v;c[u>>2]=0;n=y+4|0;j=c[d>>2]|0;i=j;a:while(1){if(i){f=c[i+12>>2]|0;if((f|0)==(c[i+16>>2]|0))f=Fb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else f=qE(c[f>>2]|0)|0;if(QE(f,pE()|0)|0){c[d>>2]=0;m=0;j=0;k=1}else{m=i;k=0}}else{m=0;j=0;k=1}i=c[e>>2]|0;do if(i){f=c[i+12>>2]|0;if((f|0)==(c[i+16>>2]|0))f=Fb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else f=qE(c[f>>2]|0)|0;if(!(QE(f,pE()|0)|0))if(k)break;else break a;else{c[e>>2]=0;A=19;break}}else A=19;while(0);if((A|0)==19){A=0;if(k){i=0;break}else i=0}f=a[p>>0]|0;f=f<<24>>24<0?c[n>>2]|0:f&255;if((c[t>>2]|0)==(b+f|0)){vO(y,f<<1,0);if((a[p>>0]|0)<0)b=(c[o>>2]&2147483647)+-1|0;else b=10;vO(y,b,0);b=(a[p>>0]|0)<0?c[y>>2]|0:y;c[t>>2]=b+f}l=m+12|0;f=c[l>>2]|0;k=m+16|0;if((f|0)==(c[k>>2]|0))f=Fb[c[(c[m>>2]|0)+36>>2]&127](m)|0;else f=qE(c[f>>2]|0)|0;if(_G(f,x,b,t,u,c[r>>2]|0,z,v,w,q)|0)break;f=c[l>>2]|0;if((f|0)==(c[k>>2]|0))Fb[c[(c[m>>2]|0)+40>>2]&127](m)|0;else{c[l>>2]=f+4;qE(c[f>>2]|0)|0}i=m}r=a[z+11>>0]|0;if((r<<24>>24<0?c[z+4>>2]|0:r&255)|0?(s=c[w>>2]|0,(s-v|0)<160):0){u=c[u>>2]|0;c[w>>2]=s+4;c[s>>2]=u}t=JG(b,c[t>>2]|0,g,x)|0;u=G()|0;x=h;c[x>>2]=t;c[x+4>>2]=u;rG(z,v,c[w>>2]|0,g);if(m){b=c[m+12>>2]|0;if((b|0)==(c[m+16>>2]|0))b=Fb[c[(c[j>>2]|0)+36>>2]&127](m)|0;else b=qE(c[b>>2]|0)|0;if(QE(b,pE()|0)|0){c[d>>2]=0;f=1}else f=0}else f=1;do if(i){b=c[i+12>>2]|0;if((b|0)==(c[i+16>>2]|0))b=Fb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else b=qE(c[b>>2]|0)|0;if(!(QE(b,pE()|0)|0))if(f)break;else{A=50;break}else{c[e>>2]=0;A=48;break}}else A=48;while(0);if((A|0)==48?f:0)A=50;if((A|0)==50)c[g>>2]=c[g>>2]|2;A=c[d>>2]|0;qO(y);qO(z);zb=B;return A|0} +function _b(a){a=a|0;var b=0;b=zb;zb=zb+a|0;zb=zb+15&-16;return b|0}function $b(){return zb|0}function ac(a){a=a|0;zb=a}function bc(a,b){a=a|0;b=b|0;zb=a;Ab=b}function cc(a,e,f,h,i){a=a|0;e=e|0;f=f|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0.0;y=zb;zb=zb+16|0;v=y;x=(e|0)/2|0;w=(f|0)/2|0;l=c[i>>2]|0;u=w+-1|0;f=0;j=l;k=l+((C(u,x)|0)<<1)|0;while(1){if((f|0)>=(x|0))break;b[k>>1]=0;b[j>>1]=0;f=f+1|0;j=j+2|0;k=k+2|0}t=x+-1|0;f=0;j=l;k=l+(t<<1)|0;while(1){if((f|0)>=(w|0))break;b[k>>1]=0;b[j>>1]=0;f=f+1|0;j=j+(x<<1)|0;k=k+(x<<1)|0}k=i+1179664|0;s=0-x|0;r=1;j=a+((e<<1)+2)|0;f=l+(x+1<<1)|0;o=0;a:while(1){if((r|0)>=(u|0)){j=59;break}q=1;n=j;p=f;while(1){if((q|0)>=(t|0))break;do if((d[n>>0]|0|0)>(h|0)){b[p>>1]=0;f=o}else{j=p+(s<<1)|0;f=b[j>>1]|0;if(f<<16>>16>0){b[p>>1]=f;f=(f<<16>>16)*7|0;m=i+1310736+(f+-7<<2)|0;c[m>>2]=(c[m>>2]|0)+1;m=i+1310736+(f+-6<<2)|0;c[m>>2]=(c[m>>2]|0)+q;m=i+1310736+(f+-5<<2)|0;c[m>>2]=(c[m>>2]|0)+r;c[i+1310736+(f+-1<<2)>>2]=r;f=o;break}a=b[j+2>>1]|0;m=a<<16>>16;f=b[j+-2>>1]|0;l=f<<16>>16;j=f<<16>>16>0;if(a<<16>>16<=0){if(j){b[p>>1]=f;f=l*7|0;j=i+1310736+(f+-7<<2)|0;c[j>>2]=(c[j>>2]|0)+1;j=i+1310736+(f+-6<<2)|0;c[j>>2]=(c[j>>2]|0)+q;j=i+1310736+(f+-5<<2)|0;c[j>>2]=(c[j>>2]|0)+r;j=i+1310736+(f+-3<<2)|0;if((c[j>>2]|0)<(q|0))c[j>>2]=q;c[i+1310736+(f+-1<<2)>>2]=r;f=o;break}f=b[p+-2>>1]|0;if(f<<16>>16>0){b[p>>1]=f;f=(f<<16>>16)*7|0;m=i+1310736+(f+-7<<2)|0;c[m>>2]=(c[m>>2]|0)+1;m=i+1310736+(f+-6<<2)|0;c[m>>2]=(c[m>>2]|0)+q;m=i+1310736+(f+-5<<2)|0;c[m>>2]=(c[m>>2]|0)+r;f=i+1310736+(f+-3<<2)|0;if((c[f>>2]|0)>=(q|0)){f=o;break}c[f>>2]=q;f=o;break}else{f=o+1|0;if((o|0)>32767){j=54;break a}b[p>>1]=f;c[i+1179664+(o<<2)>>2]=f<<16>>16;o=o*7|0;c[i+1310736+(o<<2)>>2]=1;c[i+1310736+(o+1<<2)>>2]=q;c[i+1310736+(o+2<<2)>>2]=r;c[i+1310736+(o+3<<2)>>2]=q;c[i+1310736+(o+4<<2)>>2]=q;c[i+1310736+(o+5<<2)>>2]=r;c[i+1310736+(o+6<<2)>>2]=r;break}}if(j){a=c[i+1179664+(m+-1<<2)>>2]|0;f=c[i+1179664+(l+-1<<2)>>2]|0;b:do if((a|0)<=(f|0)){b[p>>1]=a;if((a|0)<(f|0)){j=0;l=k;while(1){if((j|0)>=(o|0)){f=a;break b}if((c[l>>2]|0)==(f|0))c[l>>2]=a;j=j+1|0;l=l+4|0}}else f=a}else{b[p>>1]=f;j=0;l=k;while(1){if((j|0)>=(o|0))break b;if((c[l>>2]|0)==(a|0))c[l>>2]=f;j=j+1|0;l=l+4|0}}while(0);f=(f<<16>>16)*7|0;m=i+1310736+(f+-7<<2)|0;c[m>>2]=(c[m>>2]|0)+1;m=i+1310736+(f+-6<<2)|0;c[m>>2]=(c[m>>2]|0)+q;m=i+1310736+(f+-5<<2)|0;c[m>>2]=(c[m>>2]|0)+r;c[i+1310736+(f+-1<<2)>>2]=r;f=o;break}j=b[p+-2>>1]|0;if(j<<16>>16<=0){b[p>>1]=a;f=m*7|0;j=i+1310736+(f+-7<<2)|0;c[j>>2]=(c[j>>2]|0)+1;j=i+1310736+(f+-6<<2)|0;c[j>>2]=(c[j>>2]|0)+q;j=i+1310736+(f+-5<<2)|0;c[j>>2]=(c[j>>2]|0)+r;j=i+1310736+(f+-4<<2)|0;if((c[j>>2]|0)>(q|0))c[j>>2]=q;c[i+1310736+(f+-1<<2)>>2]=r;f=o;break}f=c[i+1179664+(m+-1<<2)>>2]|0;a=c[i+1179664+((j<<16>>16)+-1<<2)>>2]|0;c:do if((f|0)<=(a|0)){b[p>>1]=f;if((f|0)<(a|0)){j=0;l=k;while(1){if((j|0)>=(o|0))break c;if((c[l>>2]|0)==(a|0))c[l>>2]=f;j=j+1|0;l=l+4|0}}}else{b[p>>1]=a;j=0;l=k;while(1){if((j|0)>=(o|0)){f=a;break c}if((c[l>>2]|0)==(f|0))c[l>>2]=a;j=j+1|0;l=l+4|0}}while(0);f=(f<<16>>16)*7|0;m=i+1310736+(f+-7<<2)|0;c[m>>2]=(c[m>>2]|0)+1;m=i+1310736+(f+-6<<2)|0;c[m>>2]=(c[m>>2]|0)+q;f=i+1310736+(f+-5<<2)|0;c[f>>2]=(c[f>>2]|0)+r;f=o}while(0);q=q+1|0;n=n+2|0;p=p+2|0;o=f}r=r+1|0;j=n+e+4|0;f=p+4|0}d:do if((j|0)==54){_e(0,3,19708,v);f=-1}else if((j|0)==59){m=i+12|0;l=1;a=1;while(1){if((l|0)>(o|0))break;f=c[k>>2]|0;if((f|0)==(l|0)){j=a;f=a+1|0}else{j=c[i+1179664+(f+-1<<2)>>2]|0;f=a}c[k>>2]=j;l=l+1|0;a=f;k=k+4|0}n=i+8|0;j=a+-1|0;c[n>>2]=j;if(!j)f=0;else{hP(m|0,0,j<<2|0)|0;hP(i+655376|0,0,j<<4|0)|0;f=0;while(1){if((f|0)>=(j|0))break;v=f<<2;c[i+131084+(v<<2)>>2]=x;c[i+131084+((v|1)<<2)>>2]=0;c[i+131084+((v|2)<<2)>>2]=w;c[i+131084+((v|3)<<2)>>2]=0;f=f+1|0}a=0;while(1){if((a|0)>=(o|0))break;k=(c[i+1179664+(a<<2)>>2]|0)+-1|0;l=a*7|0;j=i+12+(k<<2)|0;c[j>>2]=(c[j>>2]|0)+(c[i+1310736+(l<<2)>>2]|0);j=k<<1;f=i+655376+(j<<3)|0;g[f>>3]=+g[f>>3]+ +(c[i+1310736+(l+1<<2)>>2]|0);j=i+655376+((j|1)<<3)|0;g[j>>3]=+g[j>>3]+ +(c[i+1310736+(l+2<<2)>>2]|0);k=k<<2;j=i+131084+(k<<2)|0;f=c[i+1310736+(l+3<<2)>>2]|0;if((c[j>>2]|0)>(f|0))c[j>>2]=f;j=i+131084+((k|1)<<2)|0;f=c[i+1310736+(l+4<<2)>>2]|0;if((c[j>>2]|0)<(f|0))c[j>>2]=f;j=i+131084+((k|2)<<2)|0;f=c[i+1310736+(l+5<<2)>>2]|0;if((c[j>>2]|0)>(f|0))c[j>>2]=f;j=i+131084+((k|3)<<2)|0;f=c[i+1310736+(l+6<<2)>>2]|0;if((c[j>>2]|0)<(f|0))c[j>>2]=f;a=a+1|0}f=c[n>>2]|0;j=0;while(1){if((j|0)>=(f|0)){f=0;break d}z=+(c[i+12+(j<<2)>>2]|0);x=j<<1;w=i+655376+(x<<3)|0;g[w>>3]=+g[w>>3]/z;x=i+655376+((x|1)<<3)|0;g[x>>3]=+g[x>>3]/z;j=j+1|0}}}while(0);zb=y;return f|0}function dc(a,e,f,h,i){a=a|0;e=e|0;f=f|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0.0;x=zb;zb=zb+16|0;w=x;m=c[i>>2]|0;v=f+-1|0;j=0;k=m;l=m+((C(v,e)|0)<<1)|0;while(1){if((j|0)>=(e|0))break;b[l>>1]=0;b[k>>1]=0;j=j+1|0;k=k+2|0;l=l+2|0}u=e+-1|0;j=0;k=m;l=m+(u<<1)|0;while(1){if((j|0)>=(f|0))break;b[l>>1]=0;b[k>>1]=0;j=j+1|0;k=k+(e<<1)|0;l=l+(e<<1)|0}l=i+1179664|0;j=e+1|0;t=0-e|0;s=1;k=a+j|0;j=m+(j<<1)|0;p=0;a:while(1){if((s|0)>=(v|0)){k=59;break}r=1;o=k;q=j;while(1){if((r|0)>=(u|0))break;do if((d[o>>0]|0|0)>(h|0)){b[q>>1]=0;j=p}else{k=q+(t<<1)|0;j=b[k>>1]|0;if(j<<16>>16>0){b[q>>1]=j;j=(j<<16>>16)*7|0;n=i+1310736+(j+-7<<2)|0;c[n>>2]=(c[n>>2]|0)+1;n=i+1310736+(j+-6<<2)|0;c[n>>2]=(c[n>>2]|0)+r;n=i+1310736+(j+-5<<2)|0;c[n>>2]=(c[n>>2]|0)+s;c[i+1310736+(j+-1<<2)>>2]=s;j=p;break}m=b[k+2>>1]|0;n=m<<16>>16;j=b[k+-2>>1]|0;a=j<<16>>16;k=j<<16>>16>0;if(m<<16>>16<=0){if(k){b[q>>1]=j;j=a*7|0;k=i+1310736+(j+-7<<2)|0;c[k>>2]=(c[k>>2]|0)+1;k=i+1310736+(j+-6<<2)|0;c[k>>2]=(c[k>>2]|0)+r;k=i+1310736+(j+-5<<2)|0;c[k>>2]=(c[k>>2]|0)+s;k=i+1310736+(j+-3<<2)|0;if((c[k>>2]|0)<(r|0))c[k>>2]=r;c[i+1310736+(j+-1<<2)>>2]=s;j=p;break}j=b[q+-2>>1]|0;if(j<<16>>16>0){b[q>>1]=j;j=(j<<16>>16)*7|0;n=i+1310736+(j+-7<<2)|0;c[n>>2]=(c[n>>2]|0)+1;n=i+1310736+(j+-6<<2)|0;c[n>>2]=(c[n>>2]|0)+r;n=i+1310736+(j+-5<<2)|0;c[n>>2]=(c[n>>2]|0)+s;j=i+1310736+(j+-3<<2)|0;if((c[j>>2]|0)>=(r|0)){j=p;break}c[j>>2]=r;j=p;break}else{j=p+1|0;if((p|0)>32767){k=54;break a}b[q>>1]=j;c[i+1179664+(p<<2)>>2]=j<<16>>16;p=p*7|0;c[i+1310736+(p<<2)>>2]=1;c[i+1310736+(p+1<<2)>>2]=r;c[i+1310736+(p+2<<2)>>2]=s;c[i+1310736+(p+3<<2)>>2]=r;c[i+1310736+(p+4<<2)>>2]=r;c[i+1310736+(p+5<<2)>>2]=s;c[i+1310736+(p+6<<2)>>2]=s;break}}if(k){m=c[i+1179664+(n+-1<<2)>>2]|0;j=c[i+1179664+(a+-1<<2)>>2]|0;b:do if((m|0)<=(j|0)){b[q>>1]=m;if((m|0)<(j|0)){k=0;a=l;while(1){if((k|0)>=(p|0)){j=m;break b}if((c[a>>2]|0)==(j|0))c[a>>2]=m;k=k+1|0;a=a+4|0}}else j=m}else{b[q>>1]=j;k=0;a=l;while(1){if((k|0)>=(p|0))break b;if((c[a>>2]|0)==(m|0))c[a>>2]=j;k=k+1|0;a=a+4|0}}while(0);j=(j<<16>>16)*7|0;n=i+1310736+(j+-7<<2)|0;c[n>>2]=(c[n>>2]|0)+1;n=i+1310736+(j+-6<<2)|0;c[n>>2]=(c[n>>2]|0)+r;n=i+1310736+(j+-5<<2)|0;c[n>>2]=(c[n>>2]|0)+s;c[i+1310736+(j+-1<<2)>>2]=s;j=p;break}k=b[q+-2>>1]|0;if(k<<16>>16<=0){b[q>>1]=m;j=n*7|0;k=i+1310736+(j+-7<<2)|0;c[k>>2]=(c[k>>2]|0)+1;k=i+1310736+(j+-6<<2)|0;c[k>>2]=(c[k>>2]|0)+r;k=i+1310736+(j+-5<<2)|0;c[k>>2]=(c[k>>2]|0)+s;k=i+1310736+(j+-4<<2)|0;if((c[k>>2]|0)>(r|0))c[k>>2]=r;c[i+1310736+(j+-1<<2)>>2]=s;j=p;break}j=c[i+1179664+(n+-1<<2)>>2]|0;m=c[i+1179664+((k<<16>>16)+-1<<2)>>2]|0;c:do if((j|0)<=(m|0)){b[q>>1]=j;if((j|0)<(m|0)){k=0;a=l;while(1){if((k|0)>=(p|0))break c;if((c[a>>2]|0)==(m|0))c[a>>2]=j;k=k+1|0;a=a+4|0}}}else{b[q>>1]=m;k=0;a=l;while(1){if((k|0)>=(p|0)){j=m;break c}if((c[a>>2]|0)==(j|0))c[a>>2]=m;k=k+1|0;a=a+4|0}}while(0);j=(j<<16>>16)*7|0;n=i+1310736+(j+-7<<2)|0;c[n>>2]=(c[n>>2]|0)+1;n=i+1310736+(j+-6<<2)|0;c[n>>2]=(c[n>>2]|0)+r;j=i+1310736+(j+-5<<2)|0;c[j>>2]=(c[j>>2]|0)+s;j=p}while(0);r=r+1|0;o=o+1|0;q=q+2|0;p=j}s=s+1|0;k=o+2|0;j=q+4|0}d:do if((k|0)==54){_e(0,3,19708,w);j=-1}else if((k|0)==59){n=i+12|0;a=1;m=1;while(1){if((a|0)>(p|0))break;j=c[l>>2]|0;if((j|0)==(a|0)){k=m;j=m+1|0}else{k=c[i+1179664+(j+-1<<2)>>2]|0;j=m}c[l>>2]=k;a=a+1|0;m=j;l=l+4|0}o=i+8|0;k=m+-1|0;c[o>>2]=k;if(!k)j=0;else{hP(n|0,0,k<<2|0)|0;hP(i+655376|0,0,k<<4|0)|0;j=0;while(1){if((j|0)>=(k|0))break;w=j<<2;c[i+131084+(w<<2)>>2]=e;c[i+131084+((w|1)<<2)>>2]=0;c[i+131084+((w|2)<<2)>>2]=f;c[i+131084+((w|3)<<2)>>2]=0;j=j+1|0}m=0;while(1){if((m|0)>=(p|0))break;l=(c[i+1179664+(m<<2)>>2]|0)+-1|0;a=m*7|0;k=i+12+(l<<2)|0;c[k>>2]=(c[k>>2]|0)+(c[i+1310736+(a<<2)>>2]|0);k=l<<1;j=i+655376+(k<<3)|0;g[j>>3]=+g[j>>3]+ +(c[i+1310736+(a+1<<2)>>2]|0);k=i+655376+((k|1)<<3)|0;g[k>>3]=+g[k>>3]+ +(c[i+1310736+(a+2<<2)>>2]|0);l=l<<2;k=i+131084+(l<<2)|0;j=c[i+1310736+(a+3<<2)>>2]|0;if((c[k>>2]|0)>(j|0))c[k>>2]=j;k=i+131084+((l|1)<<2)|0;j=c[i+1310736+(a+4<<2)>>2]|0;if((c[k>>2]|0)<(j|0))c[k>>2]=j;k=i+131084+((l|2)<<2)|0;j=c[i+1310736+(a+5<<2)>>2]|0;if((c[k>>2]|0)>(j|0))c[k>>2]=j;k=i+131084+((l|3)<<2)|0;j=c[i+1310736+(a+6<<2)>>2]|0;if((c[k>>2]|0)<(j|0))c[k>>2]=j;m=m+1|0}j=c[o>>2]|0;k=0;while(1){if((k|0)>=(j|0)){j=0;break d}y=+(c[i+12+(k<<2)>>2]|0);f=k<<1;e=i+655376+(f<<3)|0;g[e>>3]=+g[e>>3]/y;f=i+655376+((f|1)<<3)|0;g[f>>3]=+g[f>>3]/y;k=k+1|0}}}while(0);zb=x;return j|0}function ec(a,e,f,h,i){a=a|0;e=e|0;f=f|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0.0;x=zb;zb=zb+16|0;w=x;m=c[i>>2]|0;v=f+-1|0;j=0;k=m;l=m+((C(v,e)|0)<<1)|0;while(1){if((j|0)>=(e|0))break;b[l>>1]=0;b[k>>1]=0;j=j+1|0;k=k+2|0;l=l+2|0}u=e+-1|0;j=0;k=m;l=m+(u<<1)|0;while(1){if((j|0)>=(f|0))break;b[l>>1]=0;b[k>>1]=0;j=j+1|0;k=k+(e<<1)|0;l=l+(e<<1)|0}l=i+1179664|0;j=e+1|0;t=0-e|0;s=1;a=a+j|0;k=m+(j<<1)|0;j=h+j|0;o=0;a:while(1){if((s|0)>=(v|0)){k=59;break}r=1;n=a;p=k;q=j;while(1){if((r|0)>=(u|0))break;do if((d[n>>0]|0)>(d[q>>0]|0)){b[p>>1]=0;j=o}else{k=p+(t<<1)|0;j=b[k>>1]|0;if(j<<16>>16>0){b[p>>1]=j;j=(j<<16>>16)*7|0;h=i+1310736+(j+-7<<2)|0;c[h>>2]=(c[h>>2]|0)+1;h=i+1310736+(j+-6<<2)|0;c[h>>2]=(c[h>>2]|0)+r;h=i+1310736+(j+-5<<2)|0;c[h>>2]=(c[h>>2]|0)+s;c[i+1310736+(j+-1<<2)>>2]=s;j=o;break}m=b[k+2>>1]|0;h=m<<16>>16;j=b[k+-2>>1]|0;a=j<<16>>16;k=j<<16>>16>0;if(m<<16>>16<=0){if(k){b[p>>1]=j;j=a*7|0;k=i+1310736+(j+-7<<2)|0;c[k>>2]=(c[k>>2]|0)+1;k=i+1310736+(j+-6<<2)|0;c[k>>2]=(c[k>>2]|0)+r;k=i+1310736+(j+-5<<2)|0;c[k>>2]=(c[k>>2]|0)+s;k=i+1310736+(j+-3<<2)|0;if((c[k>>2]|0)<(r|0))c[k>>2]=r;c[i+1310736+(j+-1<<2)>>2]=s;j=o;break}j=b[p+-2>>1]|0;if(j<<16>>16>0){b[p>>1]=j;j=(j<<16>>16)*7|0;h=i+1310736+(j+-7<<2)|0;c[h>>2]=(c[h>>2]|0)+1;h=i+1310736+(j+-6<<2)|0;c[h>>2]=(c[h>>2]|0)+r;h=i+1310736+(j+-5<<2)|0;c[h>>2]=(c[h>>2]|0)+s;j=i+1310736+(j+-3<<2)|0;if((c[j>>2]|0)>=(r|0)){j=o;break}c[j>>2]=r;j=o;break}else{j=o+1|0;if((o|0)>32767){k=54;break a}b[p>>1]=j;c[i+1179664+(o<<2)>>2]=j<<16>>16;o=o*7|0;c[i+1310736+(o<<2)>>2]=1;c[i+1310736+(o+1<<2)>>2]=r;c[i+1310736+(o+2<<2)>>2]=s;c[i+1310736+(o+3<<2)>>2]=r;c[i+1310736+(o+4<<2)>>2]=r;c[i+1310736+(o+5<<2)>>2]=s;c[i+1310736+(o+6<<2)>>2]=s;break}}if(k){j=c[i+1179664+(h+-1<<2)>>2]|0;m=c[i+1179664+(a+-1<<2)>>2]|0;b:do if((j|0)<=(m|0)){b[p>>1]=j;if((j|0)<(m|0)){k=0;a=l;while(1){if((k|0)>=(o|0))break b;if((c[a>>2]|0)==(m|0))c[a>>2]=j;k=k+1|0;a=a+4|0}}}else{b[p>>1]=m;k=0;a=l;while(1){if((k|0)>=(o|0)){j=m;break b}if((c[a>>2]|0)==(j|0))c[a>>2]=m;k=k+1|0;a=a+4|0}}while(0);j=(j<<16>>16)*7|0;h=i+1310736+(j+-7<<2)|0;c[h>>2]=(c[h>>2]|0)+1;h=i+1310736+(j+-6<<2)|0;c[h>>2]=(c[h>>2]|0)+r;h=i+1310736+(j+-5<<2)|0;c[h>>2]=(c[h>>2]|0)+s;c[i+1310736+(j+-1<<2)>>2]=s;j=o;break}k=b[p+-2>>1]|0;if(k<<16>>16<=0){b[p>>1]=m;j=h*7|0;k=i+1310736+(j+-7<<2)|0;c[k>>2]=(c[k>>2]|0)+1;k=i+1310736+(j+-6<<2)|0;c[k>>2]=(c[k>>2]|0)+r;k=i+1310736+(j+-5<<2)|0;c[k>>2]=(c[k>>2]|0)+s;k=i+1310736+(j+-4<<2)|0;if((c[k>>2]|0)>(r|0))c[k>>2]=r;c[i+1310736+(j+-1<<2)>>2]=s;j=o;break}j=c[i+1179664+(h+-1<<2)>>2]|0;m=c[i+1179664+((k<<16>>16)+-1<<2)>>2]|0;c:do if((j|0)<=(m|0)){b[p>>1]=j;if((j|0)<(m|0)){k=0;a=l;while(1){if((k|0)>=(o|0))break c;if((c[a>>2]|0)==(m|0))c[a>>2]=j;k=k+1|0;a=a+4|0}}}else{b[p>>1]=m;k=0;a=l;while(1){if((k|0)>=(o|0)){j=m;break c}if((c[a>>2]|0)==(j|0))c[a>>2]=m;k=k+1|0;a=a+4|0}}while(0);j=(j<<16>>16)*7|0;h=i+1310736+(j+-7<<2)|0;c[h>>2]=(c[h>>2]|0)+1;h=i+1310736+(j+-6<<2)|0;c[h>>2]=(c[h>>2]|0)+r;j=i+1310736+(j+-5<<2)|0;c[j>>2]=(c[j>>2]|0)+s;j=o}while(0);r=r+1|0;n=n+1|0;p=p+2|0;q=q+1|0;o=j}s=s+1|0;a=n+2|0;k=p+4|0;j=q+2|0}d:do if((k|0)==54){_e(0,3,19708,w);j=-1}else if((k|0)==59){h=i+12|0;a=1;m=1;while(1){if((a|0)>(o|0))break;j=c[l>>2]|0;if((j|0)==(a|0)){k=m;j=m+1|0}else{k=c[i+1179664+(j+-1<<2)>>2]|0;j=m}c[l>>2]=k;a=a+1|0;m=j;l=l+4|0}n=i+8|0;k=m+-1|0;c[n>>2]=k;if(!k)j=0;else{hP(h|0,0,k<<2|0)|0;hP(i+655376|0,0,k<<4|0)|0;j=0;while(1){if((j|0)>=(k|0))break;w=j<<2;c[i+131084+(w<<2)>>2]=e;c[i+131084+((w|1)<<2)>>2]=0;c[i+131084+((w|2)<<2)>>2]=f;c[i+131084+((w|3)<<2)>>2]=0;j=j+1|0}m=0;while(1){if((m|0)>=(o|0))break;l=(c[i+1179664+(m<<2)>>2]|0)+-1|0;a=m*7|0;k=i+12+(l<<2)|0;c[k>>2]=(c[k>>2]|0)+(c[i+1310736+(a<<2)>>2]|0);k=l<<1;j=i+655376+(k<<3)|0;g[j>>3]=+g[j>>3]+ +(c[i+1310736+(a+1<<2)>>2]|0);k=i+655376+((k|1)<<3)|0;g[k>>3]=+g[k>>3]+ +(c[i+1310736+(a+2<<2)>>2]|0);l=l<<2;k=i+131084+(l<<2)|0;j=c[i+1310736+(a+3<<2)>>2]|0;if((c[k>>2]|0)>(j|0))c[k>>2]=j;k=i+131084+((l|1)<<2)|0;j=c[i+1310736+(a+4<<2)>>2]|0;if((c[k>>2]|0)<(j|0))c[k>>2]=j;k=i+131084+((l|2)<<2)|0;j=c[i+1310736+(a+5<<2)>>2]|0;if((c[k>>2]|0)>(j|0))c[k>>2]=j;k=i+131084+((l|3)<<2)|0;j=c[i+1310736+(a+6<<2)>>2]|0;if((c[k>>2]|0)<(j|0))c[k>>2]=j;m=m+1|0}j=c[n>>2]|0;k=0;while(1){if((k|0)>=(j|0)){j=0;break d}y=+(c[i+12+(k<<2)>>2]|0);f=k<<1;e=i+655376+(f<<3)|0;g[e>>3]=+g[e>>3]/y;f=i+655376+((f|1)<<3)|0;g[f>>3]=+g[f>>3]/y;k=k+1|0}}}while(0);zb=x;return j|0}function fc(a,e,f,h,i){a=a|0;e=e|0;f=f|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0.0;y=zb;zb=zb+16|0;v=y;x=(e|0)/2|0;w=(f|0)/2|0;l=c[i>>2]|0;u=w+-1|0;f=0;j=l;k=l+((C(u,x)|0)<<1)|0;while(1){if((f|0)>=(x|0))break;b[k>>1]=0;b[j>>1]=0;f=f+1|0;j=j+2|0;k=k+2|0}t=x+-1|0;f=0;j=l;k=l+(t<<1)|0;while(1){if((f|0)>=(w|0))break;b[k>>1]=0;b[j>>1]=0;f=f+1|0;j=j+(x<<1)|0;k=k+(x<<1)|0}k=i+1179664|0;s=0-x|0;r=1;j=a+((e<<1)+2)|0;f=l+(x+1<<1)|0;o=0;a:while(1){if((r|0)>=(u|0)){j=59;break}q=1;n=j;p=f;while(1){if((q|0)>=(t|0))break;do if((d[n>>0]|0|0)>(h|0)){j=p+(s<<1)|0;f=b[j>>1]|0;if(f<<16>>16>0){b[p>>1]=f;f=(f<<16>>16)*7|0;m=i+1310736+(f+-7<<2)|0;c[m>>2]=(c[m>>2]|0)+1;m=i+1310736+(f+-6<<2)|0;c[m>>2]=(c[m>>2]|0)+q;m=i+1310736+(f+-5<<2)|0;c[m>>2]=(c[m>>2]|0)+r;c[i+1310736+(f+-1<<2)>>2]=r;f=o;break}a=b[j+2>>1]|0;m=a<<16>>16;f=b[j+-2>>1]|0;l=f<<16>>16;j=f<<16>>16>0;if(a<<16>>16<=0){if(j){b[p>>1]=f;f=l*7|0;j=i+1310736+(f+-7<<2)|0;c[j>>2]=(c[j>>2]|0)+1;j=i+1310736+(f+-6<<2)|0;c[j>>2]=(c[j>>2]|0)+q;j=i+1310736+(f+-5<<2)|0;c[j>>2]=(c[j>>2]|0)+r;j=i+1310736+(f+-3<<2)|0;if((c[j>>2]|0)<(q|0))c[j>>2]=q;c[i+1310736+(f+-1<<2)>>2]=r;f=o;break}f=b[p+-2>>1]|0;if(f<<16>>16>0){b[p>>1]=f;f=(f<<16>>16)*7|0;m=i+1310736+(f+-7<<2)|0;c[m>>2]=(c[m>>2]|0)+1;m=i+1310736+(f+-6<<2)|0;c[m>>2]=(c[m>>2]|0)+q;m=i+1310736+(f+-5<<2)|0;c[m>>2]=(c[m>>2]|0)+r;f=i+1310736+(f+-3<<2)|0;if((c[f>>2]|0)>=(q|0)){f=o;break}c[f>>2]=q;f=o;break}else{f=o+1|0;if((o|0)>32767){j=54;break a}b[p>>1]=f;c[i+1179664+(o<<2)>>2]=f<<16>>16;o=o*7|0;c[i+1310736+(o<<2)>>2]=1;c[i+1310736+(o+1<<2)>>2]=q;c[i+1310736+(o+2<<2)>>2]=r;c[i+1310736+(o+3<<2)>>2]=q;c[i+1310736+(o+4<<2)>>2]=q;c[i+1310736+(o+5<<2)>>2]=r;c[i+1310736+(o+6<<2)>>2]=r;break}}if(j){a=c[i+1179664+(m+-1<<2)>>2]|0;f=c[i+1179664+(l+-1<<2)>>2]|0;b:do if((a|0)<=(f|0)){b[p>>1]=a;if((a|0)<(f|0)){j=0;l=k;while(1){if((j|0)>=(o|0)){f=a;break b}if((c[l>>2]|0)==(f|0))c[l>>2]=a;j=j+1|0;l=l+4|0}}else f=a}else{b[p>>1]=f;j=0;l=k;while(1){if((j|0)>=(o|0))break b;if((c[l>>2]|0)==(a|0))c[l>>2]=f;j=j+1|0;l=l+4|0}}while(0);f=(f<<16>>16)*7|0;m=i+1310736+(f+-7<<2)|0;c[m>>2]=(c[m>>2]|0)+1;m=i+1310736+(f+-6<<2)|0;c[m>>2]=(c[m>>2]|0)+q;m=i+1310736+(f+-5<<2)|0;c[m>>2]=(c[m>>2]|0)+r;c[i+1310736+(f+-1<<2)>>2]=r;f=o;break}j=b[p+-2>>1]|0;if(j<<16>>16<=0){b[p>>1]=a;f=m*7|0;j=i+1310736+(f+-7<<2)|0;c[j>>2]=(c[j>>2]|0)+1;j=i+1310736+(f+-6<<2)|0;c[j>>2]=(c[j>>2]|0)+q;j=i+1310736+(f+-5<<2)|0;c[j>>2]=(c[j>>2]|0)+r;j=i+1310736+(f+-4<<2)|0;if((c[j>>2]|0)>(q|0))c[j>>2]=q;c[i+1310736+(f+-1<<2)>>2]=r;f=o;break}f=c[i+1179664+(m+-1<<2)>>2]|0;a=c[i+1179664+((j<<16>>16)+-1<<2)>>2]|0;c:do if((f|0)<=(a|0)){b[p>>1]=f;if((f|0)<(a|0)){j=0;l=k;while(1){if((j|0)>=(o|0))break c;if((c[l>>2]|0)==(a|0))c[l>>2]=f;j=j+1|0;l=l+4|0}}}else{b[p>>1]=a;j=0;l=k;while(1){if((j|0)>=(o|0)){f=a;break c}if((c[l>>2]|0)==(f|0))c[l>>2]=a;j=j+1|0;l=l+4|0}}while(0);f=(f<<16>>16)*7|0;m=i+1310736+(f+-7<<2)|0;c[m>>2]=(c[m>>2]|0)+1;m=i+1310736+(f+-6<<2)|0;c[m>>2]=(c[m>>2]|0)+q;f=i+1310736+(f+-5<<2)|0;c[f>>2]=(c[f>>2]|0)+r;f=o}else{b[p>>1]=0;f=o}while(0);q=q+1|0;n=n+2|0;p=p+2|0;o=f}r=r+1|0;j=n+e+4|0;f=p+4|0}d:do if((j|0)==54){_e(0,3,19708,v);f=-1}else if((j|0)==59){m=i+12|0;l=1;a=1;while(1){if((l|0)>(o|0))break;f=c[k>>2]|0;if((f|0)==(l|0)){j=a;f=a+1|0}else{j=c[i+1179664+(f+-1<<2)>>2]|0;f=a}c[k>>2]=j;l=l+1|0;a=f;k=k+4|0}n=i+8|0;j=a+-1|0;c[n>>2]=j;if(!j)f=0;else{hP(m|0,0,j<<2|0)|0;hP(i+655376|0,0,j<<4|0)|0;f=0;while(1){if((f|0)>=(j|0))break;v=f<<2;c[i+131084+(v<<2)>>2]=x;c[i+131084+((v|1)<<2)>>2]=0;c[i+131084+((v|2)<<2)>>2]=w;c[i+131084+((v|3)<<2)>>2]=0;f=f+1|0}a=0;while(1){if((a|0)>=(o|0))break;k=(c[i+1179664+(a<<2)>>2]|0)+-1|0;l=a*7|0;j=i+12+(k<<2)|0;c[j>>2]=(c[j>>2]|0)+(c[i+1310736+(l<<2)>>2]|0);j=k<<1;f=i+655376+(j<<3)|0;g[f>>3]=+g[f>>3]+ +(c[i+1310736+(l+1<<2)>>2]|0);j=i+655376+((j|1)<<3)|0;g[j>>3]=+g[j>>3]+ +(c[i+1310736+(l+2<<2)>>2]|0);k=k<<2;j=i+131084+(k<<2)|0;f=c[i+1310736+(l+3<<2)>>2]|0;if((c[j>>2]|0)>(f|0))c[j>>2]=f;j=i+131084+((k|1)<<2)|0;f=c[i+1310736+(l+4<<2)>>2]|0;if((c[j>>2]|0)<(f|0))c[j>>2]=f;j=i+131084+((k|2)<<2)|0;f=c[i+1310736+(l+5<<2)>>2]|0;if((c[j>>2]|0)>(f|0))c[j>>2]=f;j=i+131084+((k|3)<<2)|0;f=c[i+1310736+(l+6<<2)>>2]|0;if((c[j>>2]|0)<(f|0))c[j>>2]=f;a=a+1|0}f=c[n>>2]|0;j=0;while(1){if((j|0)>=(f|0)){f=0;break d}z=+(c[i+12+(j<<2)>>2]|0);x=j<<1;w=i+655376+(x<<3)|0;g[w>>3]=+g[w>>3]/z;x=i+655376+((x|1)<<3)|0;g[x>>3]=+g[x>>3]/z;j=j+1|0}}}while(0);zb=y;return f|0}function gc(a,e,f,h,i){a=a|0;e=e|0;f=f|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0.0;x=zb;zb=zb+16|0;w=x;m=c[i>>2]|0;v=f+-1|0;j=0;k=m;l=m+((C(v,e)|0)<<1)|0;while(1){if((j|0)>=(e|0))break;b[l>>1]=0;b[k>>1]=0;j=j+1|0;k=k+2|0;l=l+2|0}u=e+-1|0;j=0;k=m;l=m+(u<<1)|0;while(1){if((j|0)>=(f|0))break;b[l>>1]=0;b[k>>1]=0;j=j+1|0;k=k+(e<<1)|0;l=l+(e<<1)|0}l=i+1179664|0;j=e+1|0;t=0-e|0;s=1;k=a+j|0;j=m+(j<<1)|0;p=0;a:while(1){if((s|0)>=(v|0)){k=59;break}r=1;o=k;q=j;while(1){if((r|0)>=(u|0))break;do if((d[o>>0]|0|0)>(h|0)){k=q+(t<<1)|0;j=b[k>>1]|0;if(j<<16>>16>0){b[q>>1]=j;j=(j<<16>>16)*7|0;n=i+1310736+(j+-7<<2)|0;c[n>>2]=(c[n>>2]|0)+1;n=i+1310736+(j+-6<<2)|0;c[n>>2]=(c[n>>2]|0)+r;n=i+1310736+(j+-5<<2)|0;c[n>>2]=(c[n>>2]|0)+s;c[i+1310736+(j+-1<<2)>>2]=s;j=p;break}m=b[k+2>>1]|0;n=m<<16>>16;j=b[k+-2>>1]|0;a=j<<16>>16;k=j<<16>>16>0;if(m<<16>>16<=0){if(k){b[q>>1]=j;j=a*7|0;k=i+1310736+(j+-7<<2)|0;c[k>>2]=(c[k>>2]|0)+1;k=i+1310736+(j+-6<<2)|0;c[k>>2]=(c[k>>2]|0)+r;k=i+1310736+(j+-5<<2)|0;c[k>>2]=(c[k>>2]|0)+s;k=i+1310736+(j+-3<<2)|0;if((c[k>>2]|0)<(r|0))c[k>>2]=r;c[i+1310736+(j+-1<<2)>>2]=s;j=p;break}j=b[q+-2>>1]|0;if(j<<16>>16>0){b[q>>1]=j;j=(j<<16>>16)*7|0;n=i+1310736+(j+-7<<2)|0;c[n>>2]=(c[n>>2]|0)+1;n=i+1310736+(j+-6<<2)|0;c[n>>2]=(c[n>>2]|0)+r;n=i+1310736+(j+-5<<2)|0;c[n>>2]=(c[n>>2]|0)+s;j=i+1310736+(j+-3<<2)|0;if((c[j>>2]|0)>=(r|0)){j=p;break}c[j>>2]=r;j=p;break}else{j=p+1|0;if((p|0)>32767){k=54;break a}b[q>>1]=j;c[i+1179664+(p<<2)>>2]=j<<16>>16;p=p*7|0;c[i+1310736+(p<<2)>>2]=1;c[i+1310736+(p+1<<2)>>2]=r;c[i+1310736+(p+2<<2)>>2]=s;c[i+1310736+(p+3<<2)>>2]=r;c[i+1310736+(p+4<<2)>>2]=r;c[i+1310736+(p+5<<2)>>2]=s;c[i+1310736+(p+6<<2)>>2]=s;break}}if(k){m=c[i+1179664+(n+-1<<2)>>2]|0;j=c[i+1179664+(a+-1<<2)>>2]|0;b:do if((m|0)<=(j|0)){b[q>>1]=m;if((m|0)<(j|0)){k=0;a=l;while(1){if((k|0)>=(p|0)){j=m;break b}if((c[a>>2]|0)==(j|0))c[a>>2]=m;k=k+1|0;a=a+4|0}}else j=m}else{b[q>>1]=j;k=0;a=l;while(1){if((k|0)>=(p|0))break b;if((c[a>>2]|0)==(m|0))c[a>>2]=j;k=k+1|0;a=a+4|0}}while(0);j=(j<<16>>16)*7|0;n=i+1310736+(j+-7<<2)|0;c[n>>2]=(c[n>>2]|0)+1;n=i+1310736+(j+-6<<2)|0;c[n>>2]=(c[n>>2]|0)+r;n=i+1310736+(j+-5<<2)|0;c[n>>2]=(c[n>>2]|0)+s;c[i+1310736+(j+-1<<2)>>2]=s;j=p;break}k=b[q+-2>>1]|0;if(k<<16>>16<=0){b[q>>1]=m;j=n*7|0;k=i+1310736+(j+-7<<2)|0;c[k>>2]=(c[k>>2]|0)+1;k=i+1310736+(j+-6<<2)|0;c[k>>2]=(c[k>>2]|0)+r;k=i+1310736+(j+-5<<2)|0;c[k>>2]=(c[k>>2]|0)+s;k=i+1310736+(j+-4<<2)|0;if((c[k>>2]|0)>(r|0))c[k>>2]=r;c[i+1310736+(j+-1<<2)>>2]=s;j=p;break}j=c[i+1179664+(n+-1<<2)>>2]|0;m=c[i+1179664+((k<<16>>16)+-1<<2)>>2]|0;c:do if((j|0)<=(m|0)){b[q>>1]=j;if((j|0)<(m|0)){k=0;a=l;while(1){if((k|0)>=(p|0))break c;if((c[a>>2]|0)==(m|0))c[a>>2]=j;k=k+1|0;a=a+4|0}}}else{b[q>>1]=m;k=0;a=l;while(1){if((k|0)>=(p|0)){j=m;break c}if((c[a>>2]|0)==(j|0))c[a>>2]=m;k=k+1|0;a=a+4|0}}while(0);j=(j<<16>>16)*7|0;n=i+1310736+(j+-7<<2)|0;c[n>>2]=(c[n>>2]|0)+1;n=i+1310736+(j+-6<<2)|0;c[n>>2]=(c[n>>2]|0)+r;j=i+1310736+(j+-5<<2)|0;c[j>>2]=(c[j>>2]|0)+s;j=p}else{b[q>>1]=0;j=p}while(0);r=r+1|0;o=o+1|0;q=q+2|0;p=j}s=s+1|0;k=o+2|0;j=q+4|0}d:do if((k|0)==54){_e(0,3,19708,w);j=-1}else if((k|0)==59){n=i+12|0;a=1;m=1;while(1){if((a|0)>(p|0))break;j=c[l>>2]|0;if((j|0)==(a|0)){k=m;j=m+1|0}else{k=c[i+1179664+(j+-1<<2)>>2]|0;j=m}c[l>>2]=k;a=a+1|0;m=j;l=l+4|0}o=i+8|0;k=m+-1|0;c[o>>2]=k;if(!k)j=0;else{hP(n|0,0,k<<2|0)|0;hP(i+655376|0,0,k<<4|0)|0;j=0;while(1){if((j|0)>=(k|0))break;w=j<<2;c[i+131084+(w<<2)>>2]=e;c[i+131084+((w|1)<<2)>>2]=0;c[i+131084+((w|2)<<2)>>2]=f;c[i+131084+((w|3)<<2)>>2]=0;j=j+1|0}m=0;while(1){if((m|0)>=(p|0))break;l=(c[i+1179664+(m<<2)>>2]|0)+-1|0;a=m*7|0;k=i+12+(l<<2)|0;c[k>>2]=(c[k>>2]|0)+(c[i+1310736+(a<<2)>>2]|0);k=l<<1;j=i+655376+(k<<3)|0;g[j>>3]=+g[j>>3]+ +(c[i+1310736+(a+1<<2)>>2]|0);k=i+655376+((k|1)<<3)|0;g[k>>3]=+g[k>>3]+ +(c[i+1310736+(a+2<<2)>>2]|0);l=l<<2;k=i+131084+(l<<2)|0;j=c[i+1310736+(a+3<<2)>>2]|0;if((c[k>>2]|0)>(j|0))c[k>>2]=j;k=i+131084+((l|1)<<2)|0;j=c[i+1310736+(a+4<<2)>>2]|0;if((c[k>>2]|0)<(j|0))c[k>>2]=j;k=i+131084+((l|2)<<2)|0;j=c[i+1310736+(a+5<<2)>>2]|0;if((c[k>>2]|0)>(j|0))c[k>>2]=j;k=i+131084+((l|3)<<2)|0;j=c[i+1310736+(a+6<<2)>>2]|0;if((c[k>>2]|0)<(j|0))c[k>>2]=j;m=m+1|0}j=c[o>>2]|0;k=0;while(1){if((k|0)>=(j|0)){j=0;break d}y=+(c[i+12+(k<<2)>>2]|0);f=k<<1;e=i+655376+(f<<3)|0;g[e>>3]=+g[e>>3]/y;f=i+655376+((f|1)<<3)|0;g[f>>3]=+g[f>>3]/y;k=k+1|0}}}while(0);zb=x;return j|0}function hc(a,e,f,h,i){a=a|0;e=e|0;f=f|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0.0;x=zb;zb=zb+16|0;w=x;m=c[i>>2]|0;v=f+-1|0;j=0;k=m;l=m+((C(v,e)|0)<<1)|0;while(1){if((j|0)>=(e|0))break;b[l>>1]=0;b[k>>1]=0;j=j+1|0;k=k+2|0;l=l+2|0}u=e+-1|0;j=0;k=m;l=m+(u<<1)|0;while(1){if((j|0)>=(f|0))break;b[l>>1]=0;b[k>>1]=0;j=j+1|0;k=k+(e<<1)|0;l=l+(e<<1)|0}l=i+1179664|0;j=e+1|0;t=0-e|0;s=1;a=a+j|0;k=m+(j<<1)|0;j=h+j|0;o=0;a:while(1){if((s|0)>=(v|0)){k=59;break}r=1;n=a;p=k;q=j;while(1){if((r|0)>=(u|0))break;do if((d[n>>0]|0)>(d[q>>0]|0)){k=p+(t<<1)|0;j=b[k>>1]|0;if(j<<16>>16>0){b[p>>1]=j;j=(j<<16>>16)*7|0;h=i+1310736+(j+-7<<2)|0;c[h>>2]=(c[h>>2]|0)+1;h=i+1310736+(j+-6<<2)|0;c[h>>2]=(c[h>>2]|0)+r;h=i+1310736+(j+-5<<2)|0;c[h>>2]=(c[h>>2]|0)+s;c[i+1310736+(j+-1<<2)>>2]=s;j=o;break}m=b[k+2>>1]|0;h=m<<16>>16;j=b[k+-2>>1]|0;a=j<<16>>16;k=j<<16>>16>0;if(m<<16>>16<=0){if(k){b[p>>1]=j;j=a*7|0;k=i+1310736+(j+-7<<2)|0;c[k>>2]=(c[k>>2]|0)+1;k=i+1310736+(j+-6<<2)|0;c[k>>2]=(c[k>>2]|0)+r;k=i+1310736+(j+-5<<2)|0;c[k>>2]=(c[k>>2]|0)+s;k=i+1310736+(j+-3<<2)|0;if((c[k>>2]|0)<(r|0))c[k>>2]=r;c[i+1310736+(j+-1<<2)>>2]=s;j=o;break}j=b[p+-2>>1]|0;if(j<<16>>16>0){b[p>>1]=j;j=(j<<16>>16)*7|0;h=i+1310736+(j+-7<<2)|0;c[h>>2]=(c[h>>2]|0)+1;h=i+1310736+(j+-6<<2)|0;c[h>>2]=(c[h>>2]|0)+r;h=i+1310736+(j+-5<<2)|0;c[h>>2]=(c[h>>2]|0)+s;j=i+1310736+(j+-3<<2)|0;if((c[j>>2]|0)>=(r|0)){j=o;break}c[j>>2]=r;j=o;break}else{j=o+1|0;if((o|0)>32767){k=54;break a}b[p>>1]=j;c[i+1179664+(o<<2)>>2]=j<<16>>16;o=o*7|0;c[i+1310736+(o<<2)>>2]=1;c[i+1310736+(o+1<<2)>>2]=r;c[i+1310736+(o+2<<2)>>2]=s;c[i+1310736+(o+3<<2)>>2]=r;c[i+1310736+(o+4<<2)>>2]=r;c[i+1310736+(o+5<<2)>>2]=s;c[i+1310736+(o+6<<2)>>2]=s;break}}if(k){j=c[i+1179664+(h+-1<<2)>>2]|0;m=c[i+1179664+(a+-1<<2)>>2]|0;b:do if((j|0)<=(m|0)){b[p>>1]=j;if((j|0)<(m|0)){k=0;a=l;while(1){if((k|0)>=(o|0))break b;if((c[a>>2]|0)==(m|0))c[a>>2]=j;k=k+1|0;a=a+4|0}}}else{b[p>>1]=m;k=0;a=l;while(1){if((k|0)>=(o|0)){j=m;break b}if((c[a>>2]|0)==(j|0))c[a>>2]=m;k=k+1|0;a=a+4|0}}while(0);j=(j<<16>>16)*7|0;h=i+1310736+(j+-7<<2)|0;c[h>>2]=(c[h>>2]|0)+1;h=i+1310736+(j+-6<<2)|0;c[h>>2]=(c[h>>2]|0)+r;h=i+1310736+(j+-5<<2)|0;c[h>>2]=(c[h>>2]|0)+s;c[i+1310736+(j+-1<<2)>>2]=s;j=o;break}k=b[p+-2>>1]|0;if(k<<16>>16<=0){b[p>>1]=m;j=h*7|0;k=i+1310736+(j+-7<<2)|0;c[k>>2]=(c[k>>2]|0)+1;k=i+1310736+(j+-6<<2)|0;c[k>>2]=(c[k>>2]|0)+r;k=i+1310736+(j+-5<<2)|0;c[k>>2]=(c[k>>2]|0)+s;k=i+1310736+(j+-4<<2)|0;if((c[k>>2]|0)>(r|0))c[k>>2]=r;c[i+1310736+(j+-1<<2)>>2]=s;j=o;break}j=c[i+1179664+(h+-1<<2)>>2]|0;m=c[i+1179664+((k<<16>>16)+-1<<2)>>2]|0;c:do if((j|0)<=(m|0)){b[p>>1]=j;if((j|0)<(m|0)){k=0;a=l;while(1){if((k|0)>=(o|0))break c;if((c[a>>2]|0)==(m|0))c[a>>2]=j;k=k+1|0;a=a+4|0}}}else{b[p>>1]=m;k=0;a=l;while(1){if((k|0)>=(o|0)){j=m;break c}if((c[a>>2]|0)==(j|0))c[a>>2]=m;k=k+1|0;a=a+4|0}}while(0);j=(j<<16>>16)*7|0;h=i+1310736+(j+-7<<2)|0;c[h>>2]=(c[h>>2]|0)+1;h=i+1310736+(j+-6<<2)|0;c[h>>2]=(c[h>>2]|0)+r;j=i+1310736+(j+-5<<2)|0;c[j>>2]=(c[j>>2]|0)+s;j=o}else{b[p>>1]=0;j=o}while(0);r=r+1|0;n=n+1|0;p=p+2|0;q=q+1|0;o=j}s=s+1|0;a=n+2|0;k=p+4|0;j=q+2|0}d:do if((k|0)==54){_e(0,3,19708,w);j=-1}else if((k|0)==59){h=i+12|0;a=1;m=1;while(1){if((a|0)>(o|0))break;j=c[l>>2]|0;if((j|0)==(a|0)){k=m;j=m+1|0}else{k=c[i+1179664+(j+-1<<2)>>2]|0;j=m}c[l>>2]=k;a=a+1|0;m=j;l=l+4|0}n=i+8|0;k=m+-1|0;c[n>>2]=k;if(!k)j=0;else{hP(h|0,0,k<<2|0)|0;hP(i+655376|0,0,k<<4|0)|0;j=0;while(1){if((j|0)>=(k|0))break;w=j<<2;c[i+131084+(w<<2)>>2]=e;c[i+131084+((w|1)<<2)>>2]=0;c[i+131084+((w|2)<<2)>>2]=f;c[i+131084+((w|3)<<2)>>2]=0;j=j+1|0}m=0;while(1){if((m|0)>=(o|0))break;l=(c[i+1179664+(m<<2)>>2]|0)+-1|0;a=m*7|0;k=i+12+(l<<2)|0;c[k>>2]=(c[k>>2]|0)+(c[i+1310736+(a<<2)>>2]|0);k=l<<1;j=i+655376+(k<<3)|0;g[j>>3]=+g[j>>3]+ +(c[i+1310736+(a+1<<2)>>2]|0);k=i+655376+((k|1)<<3)|0;g[k>>3]=+g[k>>3]+ +(c[i+1310736+(a+2<<2)>>2]|0);l=l<<2;k=i+131084+(l<<2)|0;j=c[i+1310736+(a+3<<2)>>2]|0;if((c[k>>2]|0)>(j|0))c[k>>2]=j;k=i+131084+((l|1)<<2)|0;j=c[i+1310736+(a+4<<2)>>2]|0;if((c[k>>2]|0)<(j|0))c[k>>2]=j;k=i+131084+((l|2)<<2)|0;j=c[i+1310736+(a+5<<2)>>2]|0;if((c[k>>2]|0)>(j|0))c[k>>2]=j;k=i+131084+((l|3)<<2)|0;j=c[i+1310736+(a+6<<2)>>2]|0;if((c[k>>2]|0)<(j|0))c[k>>2]=j;m=m+1|0}j=c[n>>2]|0;k=0;while(1){if((k|0)>=(j|0)){j=0;break d}y=+(c[i+12+(k<<2)>>2]|0);f=k<<1;e=i+655376+(f<<3)|0;g[e>>3]=+g[e>>3]/y;f=i+655376+((f|1)<<3)|0;g[f>>3]=+g[f>>3]/y;k=k+1|0}}}while(0);zb=x;return j|0}function ic(e,f,h,i,j){e=e|0;f=f|0;h=h|0;i=i|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0.0;A=zb;zb=zb+16|0;x=A;z=(f|0)/2|0;y=(h|0)/2|0;m=c[j>>2]|0;w=y+-1|0;h=0;k=m;l=m+((C(w,z)|0)<<1)|0;while(1){if((h|0)>=(z|0))break;b[l>>1]=0;b[k>>1]=0;h=h+1|0;k=k+2|0;l=l+2|0}v=z+-1|0;h=0;k=m;l=m+(v<<1)|0;while(1){if((h|0)>=(y|0))break;b[l>>1]=0;b[k>>1]=0;h=h+1|0;k=k+(z<<1)|0;l=l+(z<<1)|0}l=j+1179664|0;h=z+1|0;u=0-z|0;k=(c[j+4>>2]|0)+h|0;t=1;e=e+((f<<1)+2)|0;h=m+(h<<1)|0;p=0;a:while(1){if((t|0)>=(w|0)){k=59;break}q=k;r=1;s=h;while(1){if((r|0)>=(v|0))break;do if((d[e>>0]|0|0)>(i|0)){b[s>>1]=0;a[q>>0]=0;h=p}else{a[q>>0]=-1;k=s+(u<<1)|0;h=b[k>>1]|0;if(h<<16>>16>0){b[s>>1]=h;h=(h<<16>>16)*7|0;o=j+1310736+(h+-7<<2)|0;c[o>>2]=(c[o>>2]|0)+1;o=j+1310736+(h+-6<<2)|0;c[o>>2]=(c[o>>2]|0)+r;o=j+1310736+(h+-5<<2)|0;c[o>>2]=(c[o>>2]|0)+t;c[j+1310736+(h+-1<<2)>>2]=t;h=p;break}n=b[k+2>>1]|0;o=n<<16>>16;h=b[k+-2>>1]|0;m=h<<16>>16;k=h<<16>>16>0;if(n<<16>>16<=0){if(k){b[s>>1]=h;h=m*7|0;k=j+1310736+(h+-7<<2)|0;c[k>>2]=(c[k>>2]|0)+1;k=j+1310736+(h+-6<<2)|0;c[k>>2]=(c[k>>2]|0)+r;k=j+1310736+(h+-5<<2)|0;c[k>>2]=(c[k>>2]|0)+t;k=j+1310736+(h+-3<<2)|0;if((c[k>>2]|0)<(r|0))c[k>>2]=r;c[j+1310736+(h+-1<<2)>>2]=t;h=p;break}h=b[s+-2>>1]|0;if(h<<16>>16>0){b[s>>1]=h;h=(h<<16>>16)*7|0;o=j+1310736+(h+-7<<2)|0;c[o>>2]=(c[o>>2]|0)+1;o=j+1310736+(h+-6<<2)|0;c[o>>2]=(c[o>>2]|0)+r;o=j+1310736+(h+-5<<2)|0;c[o>>2]=(c[o>>2]|0)+t;h=j+1310736+(h+-3<<2)|0;if((c[h>>2]|0)>=(r|0)){h=p;break}c[h>>2]=r;h=p;break}else{h=p+1|0;if((p|0)>32767){k=54;break a}b[s>>1]=h;c[j+1179664+(p<<2)>>2]=h<<16>>16;p=p*7|0;c[j+1310736+(p<<2)>>2]=1;c[j+1310736+(p+1<<2)>>2]=r;c[j+1310736+(p+2<<2)>>2]=t;c[j+1310736+(p+3<<2)>>2]=r;c[j+1310736+(p+4<<2)>>2]=r;c[j+1310736+(p+5<<2)>>2]=t;c[j+1310736+(p+6<<2)>>2]=t;break}}if(k){h=c[j+1179664+(o+-1<<2)>>2]|0;n=c[j+1179664+(m+-1<<2)>>2]|0;b:do if((h|0)<=(n|0)){b[s>>1]=h;if((h|0)<(n|0)){k=0;m=l;while(1){if((k|0)>=(p|0))break b;if((c[m>>2]|0)==(n|0))c[m>>2]=h;k=k+1|0;m=m+4|0}}}else{b[s>>1]=n;k=0;m=l;while(1){if((k|0)>=(p|0)){h=n;break b}if((c[m>>2]|0)==(h|0))c[m>>2]=n;k=k+1|0;m=m+4|0}}while(0);h=(h<<16>>16)*7|0;o=j+1310736+(h+-7<<2)|0;c[o>>2]=(c[o>>2]|0)+1;o=j+1310736+(h+-6<<2)|0;c[o>>2]=(c[o>>2]|0)+r;o=j+1310736+(h+-5<<2)|0;c[o>>2]=(c[o>>2]|0)+t;c[j+1310736+(h+-1<<2)>>2]=t;h=p;break}k=b[s+-2>>1]|0;if(k<<16>>16<=0){b[s>>1]=n;h=o*7|0;k=j+1310736+(h+-7<<2)|0;c[k>>2]=(c[k>>2]|0)+1;k=j+1310736+(h+-6<<2)|0;c[k>>2]=(c[k>>2]|0)+r;k=j+1310736+(h+-5<<2)|0;c[k>>2]=(c[k>>2]|0)+t;k=j+1310736+(h+-4<<2)|0;if((c[k>>2]|0)>(r|0))c[k>>2]=r;c[j+1310736+(h+-1<<2)>>2]=t;h=p;break}h=c[j+1179664+(o+-1<<2)>>2]|0;n=c[j+1179664+((k<<16>>16)+-1<<2)>>2]|0;c:do if((h|0)<=(n|0)){b[s>>1]=h;if((h|0)<(n|0)){k=0;m=l;while(1){if((k|0)>=(p|0))break c;if((c[m>>2]|0)==(n|0))c[m>>2]=h;k=k+1|0;m=m+4|0}}}else{b[s>>1]=n;k=0;m=l;while(1){if((k|0)>=(p|0)){h=n;break c}if((c[m>>2]|0)==(h|0))c[m>>2]=n;k=k+1|0;m=m+4|0}}while(0);h=(h<<16>>16)*7|0;o=j+1310736+(h+-7<<2)|0;c[o>>2]=(c[o>>2]|0)+1;o=j+1310736+(h+-6<<2)|0;c[o>>2]=(c[o>>2]|0)+r;h=j+1310736+(h+-5<<2)|0;c[h>>2]=(c[h>>2]|0)+t;h=p}while(0);q=q+1|0;r=r+1|0;e=e+2|0;s=s+2|0;p=h}k=q+2|0;t=t+1|0;e=e+f+4|0;h=s+4|0}d:do if((k|0)==54){_e(0,3,19708,x);h=-1}else if((k|0)==59){n=j+12|0;e=1;m=1;while(1){if((e|0)>(p|0))break;h=c[l>>2]|0;if((h|0)==(e|0)){k=m;h=m+1|0}else{k=c[j+1179664+(h+-1<<2)>>2]|0;h=m}c[l>>2]=k;e=e+1|0;m=h;l=l+4|0}o=j+8|0;k=m+-1|0;c[o>>2]=k;if(!k)h=0;else{hP(n|0,0,k<<2|0)|0;hP(j+655376|0,0,k<<4|0)|0;h=0;while(1){if((h|0)>=(k|0))break;x=h<<2;c[j+131084+(x<<2)>>2]=z;c[j+131084+((x|1)<<2)>>2]=0;c[j+131084+((x|2)<<2)>>2]=y;c[j+131084+((x|3)<<2)>>2]=0;h=h+1|0}m=0;while(1){if((m|0)>=(p|0))break;l=(c[j+1179664+(m<<2)>>2]|0)+-1|0;e=m*7|0;k=j+12+(l<<2)|0;c[k>>2]=(c[k>>2]|0)+(c[j+1310736+(e<<2)>>2]|0);k=l<<1;h=j+655376+(k<<3)|0;g[h>>3]=+g[h>>3]+ +(c[j+1310736+(e+1<<2)>>2]|0);k=j+655376+((k|1)<<3)|0;g[k>>3]=+g[k>>3]+ +(c[j+1310736+(e+2<<2)>>2]|0);l=l<<2;k=j+131084+(l<<2)|0;h=c[j+1310736+(e+3<<2)>>2]|0;if((c[k>>2]|0)>(h|0))c[k>>2]=h;k=j+131084+((l|1)<<2)|0;h=c[j+1310736+(e+4<<2)>>2]|0;if((c[k>>2]|0)<(h|0))c[k>>2]=h;k=j+131084+((l|2)<<2)|0;h=c[j+1310736+(e+5<<2)>>2]|0;if((c[k>>2]|0)>(h|0))c[k>>2]=h;k=j+131084+((l|3)<<2)|0;h=c[j+1310736+(e+6<<2)>>2]|0;if((c[k>>2]|0)<(h|0))c[k>>2]=h;m=m+1|0}h=c[o>>2]|0;k=0;while(1){if((k|0)>=(h|0)){h=0;break d}B=+(c[j+12+(k<<2)>>2]|0);z=k<<1;y=j+655376+(z<<3)|0;g[y>>3]=+g[y>>3]/B;z=j+655376+((z|1)<<3)|0;g[z>>3]=+g[z>>3]/B;k=k+1|0}}}while(0);zb=A;return h|0}function jc(e,f,h,i,j){e=e|0;f=f|0;h=h|0;i=i|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0.0;z=zb;zb=zb+16|0;y=z;n=c[j>>2]|0;x=h+-1|0;k=0;l=n;m=n+((C(x,f)|0)<<1)|0;while(1){if((k|0)>=(f|0))break;b[m>>1]=0;b[l>>1]=0;k=k+1|0;l=l+2|0;m=m+2|0}w=f+-1|0;k=0;l=n;m=n+(w<<1)|0;while(1){if((k|0)>=(h|0))break;b[m>>1]=0;b[l>>1]=0;k=k+1|0;l=l+(f<<1)|0;m=m+(f<<1)|0}m=j+1179664|0;k=f+1|0;v=0-f|0;l=(c[j+4>>2]|0)+k|0;u=1;e=e+k|0;k=n+(k<<1)|0;q=0;a:while(1){if((u|0)>=(x|0)){l=59;break}r=l;s=1;t=k;while(1){if((s|0)>=(w|0))break;do if((d[e>>0]|0|0)>(i|0)){b[t>>1]=0;a[r>>0]=0;k=q}else{a[r>>0]=-1;l=t+(v<<1)|0;k=b[l>>1]|0;if(k<<16>>16>0){b[t>>1]=k;k=(k<<16>>16)*7|0;p=j+1310736+(k+-7<<2)|0;c[p>>2]=(c[p>>2]|0)+1;p=j+1310736+(k+-6<<2)|0;c[p>>2]=(c[p>>2]|0)+s;p=j+1310736+(k+-5<<2)|0;c[p>>2]=(c[p>>2]|0)+u;c[j+1310736+(k+-1<<2)>>2]=u;k=q;break}o=b[l+2>>1]|0;p=o<<16>>16;k=b[l+-2>>1]|0;n=k<<16>>16;l=k<<16>>16>0;if(o<<16>>16<=0){if(l){b[t>>1]=k;k=n*7|0;l=j+1310736+(k+-7<<2)|0;c[l>>2]=(c[l>>2]|0)+1;l=j+1310736+(k+-6<<2)|0;c[l>>2]=(c[l>>2]|0)+s;l=j+1310736+(k+-5<<2)|0;c[l>>2]=(c[l>>2]|0)+u;l=j+1310736+(k+-3<<2)|0;if((c[l>>2]|0)<(s|0))c[l>>2]=s;c[j+1310736+(k+-1<<2)>>2]=u;k=q;break}k=b[t+-2>>1]|0;if(k<<16>>16>0){b[t>>1]=k;k=(k<<16>>16)*7|0;p=j+1310736+(k+-7<<2)|0;c[p>>2]=(c[p>>2]|0)+1;p=j+1310736+(k+-6<<2)|0;c[p>>2]=(c[p>>2]|0)+s;p=j+1310736+(k+-5<<2)|0;c[p>>2]=(c[p>>2]|0)+u;k=j+1310736+(k+-3<<2)|0;if((c[k>>2]|0)>=(s|0)){k=q;break}c[k>>2]=s;k=q;break}else{k=q+1|0;if((q|0)>32767){l=54;break a}b[t>>1]=k;c[j+1179664+(q<<2)>>2]=k<<16>>16;q=q*7|0;c[j+1310736+(q<<2)>>2]=1;c[j+1310736+(q+1<<2)>>2]=s;c[j+1310736+(q+2<<2)>>2]=u;c[j+1310736+(q+3<<2)>>2]=s;c[j+1310736+(q+4<<2)>>2]=s;c[j+1310736+(q+5<<2)>>2]=u;c[j+1310736+(q+6<<2)>>2]=u;break}}if(l){k=c[j+1179664+(p+-1<<2)>>2]|0;o=c[j+1179664+(n+-1<<2)>>2]|0;b:do if((k|0)<=(o|0)){b[t>>1]=k;if((k|0)<(o|0)){l=0;n=m;while(1){if((l|0)>=(q|0))break b;if((c[n>>2]|0)==(o|0))c[n>>2]=k;l=l+1|0;n=n+4|0}}}else{b[t>>1]=o;l=0;n=m;while(1){if((l|0)>=(q|0)){k=o;break b}if((c[n>>2]|0)==(k|0))c[n>>2]=o;l=l+1|0;n=n+4|0}}while(0);k=(k<<16>>16)*7|0;p=j+1310736+(k+-7<<2)|0;c[p>>2]=(c[p>>2]|0)+1;p=j+1310736+(k+-6<<2)|0;c[p>>2]=(c[p>>2]|0)+s;p=j+1310736+(k+-5<<2)|0;c[p>>2]=(c[p>>2]|0)+u;c[j+1310736+(k+-1<<2)>>2]=u;k=q;break}l=b[t+-2>>1]|0;if(l<<16>>16<=0){b[t>>1]=o;k=p*7|0;l=j+1310736+(k+-7<<2)|0;c[l>>2]=(c[l>>2]|0)+1;l=j+1310736+(k+-6<<2)|0;c[l>>2]=(c[l>>2]|0)+s;l=j+1310736+(k+-5<<2)|0;c[l>>2]=(c[l>>2]|0)+u;l=j+1310736+(k+-4<<2)|0;if((c[l>>2]|0)>(s|0))c[l>>2]=s;c[j+1310736+(k+-1<<2)>>2]=u;k=q;break}k=c[j+1179664+(p+-1<<2)>>2]|0;o=c[j+1179664+((l<<16>>16)+-1<<2)>>2]|0;c:do if((k|0)<=(o|0)){b[t>>1]=k;if((k|0)<(o|0)){l=0;n=m;while(1){if((l|0)>=(q|0))break c;if((c[n>>2]|0)==(o|0))c[n>>2]=k;l=l+1|0;n=n+4|0}}}else{b[t>>1]=o;l=0;n=m;while(1){if((l|0)>=(q|0)){k=o;break c}if((c[n>>2]|0)==(k|0))c[n>>2]=o;l=l+1|0;n=n+4|0}}while(0);k=(k<<16>>16)*7|0;p=j+1310736+(k+-7<<2)|0;c[p>>2]=(c[p>>2]|0)+1;p=j+1310736+(k+-6<<2)|0;c[p>>2]=(c[p>>2]|0)+s;k=j+1310736+(k+-5<<2)|0;c[k>>2]=(c[k>>2]|0)+u;k=q}while(0);r=r+1|0;s=s+1|0;e=e+1|0;t=t+2|0;q=k}l=r+2|0;u=u+1|0;e=e+2|0;k=t+4|0}d:do if((l|0)==54){_e(0,3,19708,y);k=-1}else if((l|0)==59){o=j+12|0;e=1;n=1;while(1){if((e|0)>(q|0))break;k=c[m>>2]|0;if((k|0)==(e|0)){l=n;k=n+1|0}else{l=c[j+1179664+(k+-1<<2)>>2]|0;k=n}c[m>>2]=l;e=e+1|0;n=k;m=m+4|0}p=j+8|0;l=n+-1|0;c[p>>2]=l;if(!l)k=0;else{hP(o|0,0,l<<2|0)|0;hP(j+655376|0,0,l<<4|0)|0;k=0;while(1){if((k|0)>=(l|0))break;y=k<<2;c[j+131084+(y<<2)>>2]=f;c[j+131084+((y|1)<<2)>>2]=0;c[j+131084+((y|2)<<2)>>2]=h;c[j+131084+((y|3)<<2)>>2]=0;k=k+1|0}n=0;while(1){if((n|0)>=(q|0))break;m=(c[j+1179664+(n<<2)>>2]|0)+-1|0;e=n*7|0;l=j+12+(m<<2)|0;c[l>>2]=(c[l>>2]|0)+(c[j+1310736+(e<<2)>>2]|0);l=m<<1;k=j+655376+(l<<3)|0;g[k>>3]=+g[k>>3]+ +(c[j+1310736+(e+1<<2)>>2]|0);l=j+655376+((l|1)<<3)|0;g[l>>3]=+g[l>>3]+ +(c[j+1310736+(e+2<<2)>>2]|0);m=m<<2;l=j+131084+(m<<2)|0;k=c[j+1310736+(e+3<<2)>>2]|0;if((c[l>>2]|0)>(k|0))c[l>>2]=k;l=j+131084+((m|1)<<2)|0;k=c[j+1310736+(e+4<<2)>>2]|0;if((c[l>>2]|0)<(k|0))c[l>>2]=k;l=j+131084+((m|2)<<2)|0;k=c[j+1310736+(e+5<<2)>>2]|0;if((c[l>>2]|0)>(k|0))c[l>>2]=k;l=j+131084+((m|3)<<2)|0;k=c[j+1310736+(e+6<<2)>>2]|0;if((c[l>>2]|0)<(k|0))c[l>>2]=k;n=n+1|0}k=c[p>>2]|0;l=0;while(1){if((l|0)>=(k|0)){k=0;break d}A=+(c[j+12+(l<<2)>>2]|0);h=l<<1;f=j+655376+(h<<3)|0;g[f>>3]=+g[f>>3]/A;h=j+655376+((h|1)<<3)|0;g[h>>3]=+g[h>>3]/A;l=l+1|0}}}while(0);zb=z;return k|0}function kc(e,f,h,i,j){e=e|0;f=f|0;h=h|0;i=i|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0.0;z=zb;zb=zb+16|0;y=z;n=c[j>>2]|0;x=h+-1|0;k=0;l=n;m=n+((C(x,f)|0)<<1)|0;while(1){if((k|0)>=(f|0))break;b[m>>1]=0;b[l>>1]=0;k=k+1|0;l=l+2|0;m=m+2|0}w=f+-1|0;k=0;l=n;m=n+(w<<1)|0;while(1){if((k|0)>=(h|0))break;b[m>>1]=0;b[l>>1]=0;k=k+1|0;l=l+(f<<1)|0;m=m+(f<<1)|0}m=j+1179664|0;k=f+1|0;v=0-f|0;o=(c[j+4>>2]|0)+k|0;u=1;e=e+k|0;l=n+(k<<1)|0;k=i+k|0;p=0;a:while(1){if((u|0)>=(x|0)){l=59;break}q=1;r=e;s=l;t=k;while(1){if((q|0)>=(w|0))break;do if((d[r>>0]|0)>(d[t>>0]|0)){b[s>>1]=0;a[o>>0]=0;k=p}else{a[o>>0]=-1;l=s+(v<<1)|0;k=b[l>>1]|0;if(k<<16>>16>0){b[s>>1]=k;k=(k<<16>>16)*7|0;i=j+1310736+(k+-7<<2)|0;c[i>>2]=(c[i>>2]|0)+1;i=j+1310736+(k+-6<<2)|0;c[i>>2]=(c[i>>2]|0)+q;i=j+1310736+(k+-5<<2)|0;c[i>>2]=(c[i>>2]|0)+u;c[j+1310736+(k+-1<<2)>>2]=u;k=p;break}n=b[l+2>>1]|0;i=n<<16>>16;k=b[l+-2>>1]|0;e=k<<16>>16;l=k<<16>>16>0;if(n<<16>>16<=0){if(l){b[s>>1]=k;k=e*7|0;l=j+1310736+(k+-7<<2)|0;c[l>>2]=(c[l>>2]|0)+1;l=j+1310736+(k+-6<<2)|0;c[l>>2]=(c[l>>2]|0)+q;l=j+1310736+(k+-5<<2)|0;c[l>>2]=(c[l>>2]|0)+u;l=j+1310736+(k+-3<<2)|0;if((c[l>>2]|0)<(q|0))c[l>>2]=q;c[j+1310736+(k+-1<<2)>>2]=u;k=p;break}k=b[s+-2>>1]|0;if(k<<16>>16>0){b[s>>1]=k;k=(k<<16>>16)*7|0;i=j+1310736+(k+-7<<2)|0;c[i>>2]=(c[i>>2]|0)+1;i=j+1310736+(k+-6<<2)|0;c[i>>2]=(c[i>>2]|0)+q;i=j+1310736+(k+-5<<2)|0;c[i>>2]=(c[i>>2]|0)+u;k=j+1310736+(k+-3<<2)|0;if((c[k>>2]|0)>=(q|0)){k=p;break}c[k>>2]=q;k=p;break}else{k=p+1|0;if((p|0)>32767){l=54;break a}b[s>>1]=k;c[j+1179664+(p<<2)>>2]=k<<16>>16;p=p*7|0;c[j+1310736+(p<<2)>>2]=1;c[j+1310736+(p+1<<2)>>2]=q;c[j+1310736+(p+2<<2)>>2]=u;c[j+1310736+(p+3<<2)>>2]=q;c[j+1310736+(p+4<<2)>>2]=q;c[j+1310736+(p+5<<2)>>2]=u;c[j+1310736+(p+6<<2)>>2]=u;break}}if(l){k=c[j+1179664+(i+-1<<2)>>2]|0;n=c[j+1179664+(e+-1<<2)>>2]|0;b:do if((k|0)<=(n|0)){b[s>>1]=k;if((k|0)<(n|0)){l=0;e=m;while(1){if((l|0)>=(p|0))break b;if((c[e>>2]|0)==(n|0))c[e>>2]=k;l=l+1|0;e=e+4|0}}}else{b[s>>1]=n;l=0;e=m;while(1){if((l|0)>=(p|0)){k=n;break b}if((c[e>>2]|0)==(k|0))c[e>>2]=n;l=l+1|0;e=e+4|0}}while(0);k=(k<<16>>16)*7|0;i=j+1310736+(k+-7<<2)|0;c[i>>2]=(c[i>>2]|0)+1;i=j+1310736+(k+-6<<2)|0;c[i>>2]=(c[i>>2]|0)+q;i=j+1310736+(k+-5<<2)|0;c[i>>2]=(c[i>>2]|0)+u;c[j+1310736+(k+-1<<2)>>2]=u;k=p;break}l=b[s+-2>>1]|0;if(l<<16>>16<=0){b[s>>1]=n;k=i*7|0;l=j+1310736+(k+-7<<2)|0;c[l>>2]=(c[l>>2]|0)+1;l=j+1310736+(k+-6<<2)|0;c[l>>2]=(c[l>>2]|0)+q;l=j+1310736+(k+-5<<2)|0;c[l>>2]=(c[l>>2]|0)+u;l=j+1310736+(k+-4<<2)|0;if((c[l>>2]|0)>(q|0))c[l>>2]=q;c[j+1310736+(k+-1<<2)>>2]=u;k=p;break}k=c[j+1179664+(i+-1<<2)>>2]|0;n=c[j+1179664+((l<<16>>16)+-1<<2)>>2]|0;c:do if((k|0)<=(n|0)){b[s>>1]=k;if((k|0)<(n|0)){l=0;e=m;while(1){if((l|0)>=(p|0))break c;if((c[e>>2]|0)==(n|0))c[e>>2]=k;l=l+1|0;e=e+4|0}}}else{b[s>>1]=n;l=0;e=m;while(1){if((l|0)>=(p|0)){k=n;break c}if((c[e>>2]|0)==(k|0))c[e>>2]=n;l=l+1|0;e=e+4|0}}while(0);k=(k<<16>>16)*7|0;i=j+1310736+(k+-7<<2)|0;c[i>>2]=(c[i>>2]|0)+1;i=j+1310736+(k+-6<<2)|0;c[i>>2]=(c[i>>2]|0)+q;k=j+1310736+(k+-5<<2)|0;c[k>>2]=(c[k>>2]|0)+u;k=p}while(0);o=o+1|0;q=q+1|0;r=r+1|0;s=s+2|0;t=t+1|0;p=k}o=o+2|0;u=u+1|0;e=r+2|0;l=s+4|0;k=t+2|0}d:do if((l|0)==54){_e(0,3,19708,y);k=-1}else if((l|0)==59){o=j+12|0;e=1;n=1;while(1){if((e|0)>(p|0))break;k=c[m>>2]|0;if((k|0)==(e|0)){l=n;k=n+1|0}else{l=c[j+1179664+(k+-1<<2)>>2]|0;k=n}c[m>>2]=l;e=e+1|0;n=k;m=m+4|0}i=j+8|0;l=n+-1|0;c[i>>2]=l;if(!l)k=0;else{hP(o|0,0,l<<2|0)|0;hP(j+655376|0,0,l<<4|0)|0;k=0;while(1){if((k|0)>=(l|0))break;y=k<<2;c[j+131084+(y<<2)>>2]=f;c[j+131084+((y|1)<<2)>>2]=0;c[j+131084+((y|2)<<2)>>2]=h;c[j+131084+((y|3)<<2)>>2]=0;k=k+1|0}n=0;while(1){if((n|0)>=(p|0))break;m=(c[j+1179664+(n<<2)>>2]|0)+-1|0;e=n*7|0;l=j+12+(m<<2)|0;c[l>>2]=(c[l>>2]|0)+(c[j+1310736+(e<<2)>>2]|0);l=m<<1;k=j+655376+(l<<3)|0;g[k>>3]=+g[k>>3]+ +(c[j+1310736+(e+1<<2)>>2]|0);l=j+655376+((l|1)<<3)|0;g[l>>3]=+g[l>>3]+ +(c[j+1310736+(e+2<<2)>>2]|0);m=m<<2;l=j+131084+(m<<2)|0;k=c[j+1310736+(e+3<<2)>>2]|0;if((c[l>>2]|0)>(k|0))c[l>>2]=k;l=j+131084+((m|1)<<2)|0;k=c[j+1310736+(e+4<<2)>>2]|0;if((c[l>>2]|0)<(k|0))c[l>>2]=k;l=j+131084+((m|2)<<2)|0;k=c[j+1310736+(e+5<<2)>>2]|0;if((c[l>>2]|0)>(k|0))c[l>>2]=k;l=j+131084+((m|3)<<2)|0;k=c[j+1310736+(e+6<<2)>>2]|0;if((c[l>>2]|0)<(k|0))c[l>>2]=k;n=n+1|0}k=c[i>>2]|0;l=0;while(1){if((l|0)>=(k|0)){k=0;break d}A=+(c[j+12+(l<<2)>>2]|0);h=l<<1;f=j+655376+(h<<3)|0;g[f>>3]=+g[f>>3]/A;h=j+655376+((h|1)<<3)|0;g[h>>3]=+g[h>>3]/A;l=l+1|0}}}while(0);zb=z;return k|0}function lc(e,f,h,i,j){e=e|0;f=f|0;h=h|0;i=i|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0.0;A=zb;zb=zb+16|0;x=A;z=(f|0)/2|0;y=(h|0)/2|0;m=c[j>>2]|0;w=y+-1|0;h=0;k=m;l=m+((C(w,z)|0)<<1)|0;while(1){if((h|0)>=(z|0))break;b[l>>1]=0;b[k>>1]=0;h=h+1|0;k=k+2|0;l=l+2|0}v=z+-1|0;h=0;k=m;l=m+(v<<1)|0;while(1){if((h|0)>=(y|0))break;b[l>>1]=0;b[k>>1]=0;h=h+1|0;k=k+(z<<1)|0;l=l+(z<<1)|0}l=j+1179664|0;h=z+1|0;u=0-z|0;k=(c[j+4>>2]|0)+h|0;t=1;e=e+((f<<1)+2)|0;h=m+(h<<1)|0;p=0;a:while(1){if((t|0)>=(w|0)){k=59;break}q=k;r=1;s=h;while(1){if((r|0)>=(v|0))break;do if((d[e>>0]|0|0)>(i|0)){a[q>>0]=-1;k=s+(u<<1)|0;h=b[k>>1]|0;if(h<<16>>16>0){b[s>>1]=h;h=(h<<16>>16)*7|0;o=j+1310736+(h+-7<<2)|0;c[o>>2]=(c[o>>2]|0)+1;o=j+1310736+(h+-6<<2)|0;c[o>>2]=(c[o>>2]|0)+r;o=j+1310736+(h+-5<<2)|0;c[o>>2]=(c[o>>2]|0)+t;c[j+1310736+(h+-1<<2)>>2]=t;h=p;break}n=b[k+2>>1]|0;o=n<<16>>16;h=b[k+-2>>1]|0;m=h<<16>>16;k=h<<16>>16>0;if(n<<16>>16<=0){if(k){b[s>>1]=h;h=m*7|0;k=j+1310736+(h+-7<<2)|0;c[k>>2]=(c[k>>2]|0)+1;k=j+1310736+(h+-6<<2)|0;c[k>>2]=(c[k>>2]|0)+r;k=j+1310736+(h+-5<<2)|0;c[k>>2]=(c[k>>2]|0)+t;k=j+1310736+(h+-3<<2)|0;if((c[k>>2]|0)<(r|0))c[k>>2]=r;c[j+1310736+(h+-1<<2)>>2]=t;h=p;break}h=b[s+-2>>1]|0;if(h<<16>>16>0){b[s>>1]=h;h=(h<<16>>16)*7|0;o=j+1310736+(h+-7<<2)|0;c[o>>2]=(c[o>>2]|0)+1;o=j+1310736+(h+-6<<2)|0;c[o>>2]=(c[o>>2]|0)+r;o=j+1310736+(h+-5<<2)|0;c[o>>2]=(c[o>>2]|0)+t;h=j+1310736+(h+-3<<2)|0;if((c[h>>2]|0)>=(r|0)){h=p;break}c[h>>2]=r;h=p;break}else{h=p+1|0;if((p|0)>32767){k=54;break a}b[s>>1]=h;c[j+1179664+(p<<2)>>2]=h<<16>>16;p=p*7|0;c[j+1310736+(p<<2)>>2]=1;c[j+1310736+(p+1<<2)>>2]=r;c[j+1310736+(p+2<<2)>>2]=t;c[j+1310736+(p+3<<2)>>2]=r;c[j+1310736+(p+4<<2)>>2]=r;c[j+1310736+(p+5<<2)>>2]=t;c[j+1310736+(p+6<<2)>>2]=t;break}}if(k){h=c[j+1179664+(o+-1<<2)>>2]|0;n=c[j+1179664+(m+-1<<2)>>2]|0;b:do if((h|0)<=(n|0)){b[s>>1]=h;if((h|0)<(n|0)){k=0;m=l;while(1){if((k|0)>=(p|0))break b;if((c[m>>2]|0)==(n|0))c[m>>2]=h;k=k+1|0;m=m+4|0}}}else{b[s>>1]=n;k=0;m=l;while(1){if((k|0)>=(p|0)){h=n;break b}if((c[m>>2]|0)==(h|0))c[m>>2]=n;k=k+1|0;m=m+4|0}}while(0);h=(h<<16>>16)*7|0;o=j+1310736+(h+-7<<2)|0;c[o>>2]=(c[o>>2]|0)+1;o=j+1310736+(h+-6<<2)|0;c[o>>2]=(c[o>>2]|0)+r;o=j+1310736+(h+-5<<2)|0;c[o>>2]=(c[o>>2]|0)+t;c[j+1310736+(h+-1<<2)>>2]=t;h=p;break}k=b[s+-2>>1]|0;if(k<<16>>16<=0){b[s>>1]=n;h=o*7|0;k=j+1310736+(h+-7<<2)|0;c[k>>2]=(c[k>>2]|0)+1;k=j+1310736+(h+-6<<2)|0;c[k>>2]=(c[k>>2]|0)+r;k=j+1310736+(h+-5<<2)|0;c[k>>2]=(c[k>>2]|0)+t;k=j+1310736+(h+-4<<2)|0;if((c[k>>2]|0)>(r|0))c[k>>2]=r;c[j+1310736+(h+-1<<2)>>2]=t;h=p;break}h=c[j+1179664+(o+-1<<2)>>2]|0;n=c[j+1179664+((k<<16>>16)+-1<<2)>>2]|0;c:do if((h|0)<=(n|0)){b[s>>1]=h;if((h|0)<(n|0)){k=0;m=l;while(1){if((k|0)>=(p|0))break c;if((c[m>>2]|0)==(n|0))c[m>>2]=h;k=k+1|0;m=m+4|0}}}else{b[s>>1]=n;k=0;m=l;while(1){if((k|0)>=(p|0)){h=n;break c}if((c[m>>2]|0)==(h|0))c[m>>2]=n;k=k+1|0;m=m+4|0}}while(0);h=(h<<16>>16)*7|0;o=j+1310736+(h+-7<<2)|0;c[o>>2]=(c[o>>2]|0)+1;o=j+1310736+(h+-6<<2)|0;c[o>>2]=(c[o>>2]|0)+r;h=j+1310736+(h+-5<<2)|0;c[h>>2]=(c[h>>2]|0)+t;h=p}else{b[s>>1]=0;a[q>>0]=0;h=p}while(0);q=q+1|0;r=r+1|0;e=e+2|0;s=s+2|0;p=h}k=q+2|0;t=t+1|0;e=e+f+4|0;h=s+4|0}d:do if((k|0)==54){_e(0,3,19708,x);h=-1}else if((k|0)==59){n=j+12|0;e=1;m=1;while(1){if((e|0)>(p|0))break;h=c[l>>2]|0;if((h|0)==(e|0)){k=m;h=m+1|0}else{k=c[j+1179664+(h+-1<<2)>>2]|0;h=m}c[l>>2]=k;e=e+1|0;m=h;l=l+4|0}o=j+8|0;k=m+-1|0;c[o>>2]=k;if(!k)h=0;else{hP(n|0,0,k<<2|0)|0;hP(j+655376|0,0,k<<4|0)|0;h=0;while(1){if((h|0)>=(k|0))break;x=h<<2;c[j+131084+(x<<2)>>2]=z;c[j+131084+((x|1)<<2)>>2]=0;c[j+131084+((x|2)<<2)>>2]=y;c[j+131084+((x|3)<<2)>>2]=0;h=h+1|0}m=0;while(1){if((m|0)>=(p|0))break;l=(c[j+1179664+(m<<2)>>2]|0)+-1|0;e=m*7|0;k=j+12+(l<<2)|0;c[k>>2]=(c[k>>2]|0)+(c[j+1310736+(e<<2)>>2]|0);k=l<<1;h=j+655376+(k<<3)|0;g[h>>3]=+g[h>>3]+ +(c[j+1310736+(e+1<<2)>>2]|0);k=j+655376+((k|1)<<3)|0;g[k>>3]=+g[k>>3]+ +(c[j+1310736+(e+2<<2)>>2]|0);l=l<<2;k=j+131084+(l<<2)|0;h=c[j+1310736+(e+3<<2)>>2]|0;if((c[k>>2]|0)>(h|0))c[k>>2]=h;k=j+131084+((l|1)<<2)|0;h=c[j+1310736+(e+4<<2)>>2]|0;if((c[k>>2]|0)<(h|0))c[k>>2]=h;k=j+131084+((l|2)<<2)|0;h=c[j+1310736+(e+5<<2)>>2]|0;if((c[k>>2]|0)>(h|0))c[k>>2]=h;k=j+131084+((l|3)<<2)|0;h=c[j+1310736+(e+6<<2)>>2]|0;if((c[k>>2]|0)<(h|0))c[k>>2]=h;m=m+1|0}h=c[o>>2]|0;k=0;while(1){if((k|0)>=(h|0)){h=0;break d}B=+(c[j+12+(k<<2)>>2]|0);z=k<<1;y=j+655376+(z<<3)|0;g[y>>3]=+g[y>>3]/B;z=j+655376+((z|1)<<3)|0;g[z>>3]=+g[z>>3]/B;k=k+1|0}}}while(0);zb=A;return h|0}function mc(e,f,h,i,j){e=e|0;f=f|0;h=h|0;i=i|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0.0;z=zb;zb=zb+16|0;y=z;n=c[j>>2]|0;x=h+-1|0;k=0;l=n;m=n+((C(x,f)|0)<<1)|0;while(1){if((k|0)>=(f|0))break;b[m>>1]=0;b[l>>1]=0;k=k+1|0;l=l+2|0;m=m+2|0}w=f+-1|0;k=0;l=n;m=n+(w<<1)|0;while(1){if((k|0)>=(h|0))break;b[m>>1]=0;b[l>>1]=0;k=k+1|0;l=l+(f<<1)|0;m=m+(f<<1)|0}m=j+1179664|0;k=f+1|0;v=0-f|0;l=(c[j+4>>2]|0)+k|0;u=1;e=e+k|0;k=n+(k<<1)|0;q=0;a:while(1){if((u|0)>=(x|0)){l=59;break}r=l;s=1;t=k;while(1){if((s|0)>=(w|0))break;do if((d[e>>0]|0|0)>(i|0)){a[r>>0]=-1;l=t+(v<<1)|0;k=b[l>>1]|0;if(k<<16>>16>0){b[t>>1]=k;k=(k<<16>>16)*7|0;p=j+1310736+(k+-7<<2)|0;c[p>>2]=(c[p>>2]|0)+1;p=j+1310736+(k+-6<<2)|0;c[p>>2]=(c[p>>2]|0)+s;p=j+1310736+(k+-5<<2)|0;c[p>>2]=(c[p>>2]|0)+u;c[j+1310736+(k+-1<<2)>>2]=u;k=q;break}o=b[l+2>>1]|0;p=o<<16>>16;k=b[l+-2>>1]|0;n=k<<16>>16;l=k<<16>>16>0;if(o<<16>>16<=0){if(l){b[t>>1]=k;k=n*7|0;l=j+1310736+(k+-7<<2)|0;c[l>>2]=(c[l>>2]|0)+1;l=j+1310736+(k+-6<<2)|0;c[l>>2]=(c[l>>2]|0)+s;l=j+1310736+(k+-5<<2)|0;c[l>>2]=(c[l>>2]|0)+u;l=j+1310736+(k+-3<<2)|0;if((c[l>>2]|0)<(s|0))c[l>>2]=s;c[j+1310736+(k+-1<<2)>>2]=u;k=q;break}k=b[t+-2>>1]|0;if(k<<16>>16>0){b[t>>1]=k;k=(k<<16>>16)*7|0;p=j+1310736+(k+-7<<2)|0;c[p>>2]=(c[p>>2]|0)+1;p=j+1310736+(k+-6<<2)|0;c[p>>2]=(c[p>>2]|0)+s;p=j+1310736+(k+-5<<2)|0;c[p>>2]=(c[p>>2]|0)+u;k=j+1310736+(k+-3<<2)|0;if((c[k>>2]|0)>=(s|0)){k=q;break}c[k>>2]=s;k=q;break}else{k=q+1|0;if((q|0)>32767){l=54;break a}b[t>>1]=k;c[j+1179664+(q<<2)>>2]=k<<16>>16;q=q*7|0;c[j+1310736+(q<<2)>>2]=1;c[j+1310736+(q+1<<2)>>2]=s;c[j+1310736+(q+2<<2)>>2]=u;c[j+1310736+(q+3<<2)>>2]=s;c[j+1310736+(q+4<<2)>>2]=s;c[j+1310736+(q+5<<2)>>2]=u;c[j+1310736+(q+6<<2)>>2]=u;break}}if(l){k=c[j+1179664+(p+-1<<2)>>2]|0;o=c[j+1179664+(n+-1<<2)>>2]|0;b:do if((k|0)<=(o|0)){b[t>>1]=k;if((k|0)<(o|0)){l=0;n=m;while(1){if((l|0)>=(q|0))break b;if((c[n>>2]|0)==(o|0))c[n>>2]=k;l=l+1|0;n=n+4|0}}}else{b[t>>1]=o;l=0;n=m;while(1){if((l|0)>=(q|0)){k=o;break b}if((c[n>>2]|0)==(k|0))c[n>>2]=o;l=l+1|0;n=n+4|0}}while(0);k=(k<<16>>16)*7|0;p=j+1310736+(k+-7<<2)|0;c[p>>2]=(c[p>>2]|0)+1;p=j+1310736+(k+-6<<2)|0;c[p>>2]=(c[p>>2]|0)+s;p=j+1310736+(k+-5<<2)|0;c[p>>2]=(c[p>>2]|0)+u;c[j+1310736+(k+-1<<2)>>2]=u;k=q;break}l=b[t+-2>>1]|0;if(l<<16>>16<=0){b[t>>1]=o;k=p*7|0;l=j+1310736+(k+-7<<2)|0;c[l>>2]=(c[l>>2]|0)+1;l=j+1310736+(k+-6<<2)|0;c[l>>2]=(c[l>>2]|0)+s;l=j+1310736+(k+-5<<2)|0;c[l>>2]=(c[l>>2]|0)+u;l=j+1310736+(k+-4<<2)|0;if((c[l>>2]|0)>(s|0))c[l>>2]=s;c[j+1310736+(k+-1<<2)>>2]=u;k=q;break}k=c[j+1179664+(p+-1<<2)>>2]|0;o=c[j+1179664+((l<<16>>16)+-1<<2)>>2]|0;c:do if((k|0)<=(o|0)){b[t>>1]=k;if((k|0)<(o|0)){l=0;n=m;while(1){if((l|0)>=(q|0))break c;if((c[n>>2]|0)==(o|0))c[n>>2]=k;l=l+1|0;n=n+4|0}}}else{b[t>>1]=o;l=0;n=m;while(1){if((l|0)>=(q|0)){k=o;break c}if((c[n>>2]|0)==(k|0))c[n>>2]=o;l=l+1|0;n=n+4|0}}while(0);k=(k<<16>>16)*7|0;p=j+1310736+(k+-7<<2)|0;c[p>>2]=(c[p>>2]|0)+1;p=j+1310736+(k+-6<<2)|0;c[p>>2]=(c[p>>2]|0)+s;k=j+1310736+(k+-5<<2)|0;c[k>>2]=(c[k>>2]|0)+u;k=q}else{b[t>>1]=0;a[r>>0]=0;k=q}while(0);r=r+1|0;s=s+1|0;e=e+1|0;t=t+2|0;q=k}l=r+2|0;u=u+1|0;e=e+2|0;k=t+4|0}d:do if((l|0)==54){_e(0,3,19708,y);k=-1}else if((l|0)==59){o=j+12|0;e=1;n=1;while(1){if((e|0)>(q|0))break;k=c[m>>2]|0;if((k|0)==(e|0)){l=n;k=n+1|0}else{l=c[j+1179664+(k+-1<<2)>>2]|0;k=n}c[m>>2]=l;e=e+1|0;n=k;m=m+4|0}p=j+8|0;l=n+-1|0;c[p>>2]=l;if(!l)k=0;else{hP(o|0,0,l<<2|0)|0;hP(j+655376|0,0,l<<4|0)|0;k=0;while(1){if((k|0)>=(l|0))break;y=k<<2;c[j+131084+(y<<2)>>2]=f;c[j+131084+((y|1)<<2)>>2]=0;c[j+131084+((y|2)<<2)>>2]=h;c[j+131084+((y|3)<<2)>>2]=0;k=k+1|0}n=0;while(1){if((n|0)>=(q|0))break;m=(c[j+1179664+(n<<2)>>2]|0)+-1|0;e=n*7|0;l=j+12+(m<<2)|0;c[l>>2]=(c[l>>2]|0)+(c[j+1310736+(e<<2)>>2]|0);l=m<<1;k=j+655376+(l<<3)|0;g[k>>3]=+g[k>>3]+ +(c[j+1310736+(e+1<<2)>>2]|0);l=j+655376+((l|1)<<3)|0;g[l>>3]=+g[l>>3]+ +(c[j+1310736+(e+2<<2)>>2]|0);m=m<<2;l=j+131084+(m<<2)|0;k=c[j+1310736+(e+3<<2)>>2]|0;if((c[l>>2]|0)>(k|0))c[l>>2]=k;l=j+131084+((m|1)<<2)|0;k=c[j+1310736+(e+4<<2)>>2]|0;if((c[l>>2]|0)<(k|0))c[l>>2]=k;l=j+131084+((m|2)<<2)|0;k=c[j+1310736+(e+5<<2)>>2]|0;if((c[l>>2]|0)>(k|0))c[l>>2]=k;l=j+131084+((m|3)<<2)|0;k=c[j+1310736+(e+6<<2)>>2]|0;if((c[l>>2]|0)<(k|0))c[l>>2]=k;n=n+1|0}k=c[p>>2]|0;l=0;while(1){if((l|0)>=(k|0)){k=0;break d}A=+(c[j+12+(l<<2)>>2]|0);h=l<<1;f=j+655376+(h<<3)|0;g[f>>3]=+g[f>>3]/A;h=j+655376+((h|1)<<3)|0;g[h>>3]=+g[h>>3]/A;l=l+1|0}}}while(0);zb=z;return k|0}function nc(e,f,h,i,j){e=e|0;f=f|0;h=h|0;i=i|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0.0;z=zb;zb=zb+16|0;y=z;n=c[j>>2]|0;x=h+-1|0;k=0;l=n;m=n+((C(x,f)|0)<<1)|0;while(1){if((k|0)>=(f|0))break;b[m>>1]=0;b[l>>1]=0;k=k+1|0;l=l+2|0;m=m+2|0}w=f+-1|0;k=0;l=n;m=n+(w<<1)|0;while(1){if((k|0)>=(h|0))break;b[m>>1]=0;b[l>>1]=0;k=k+1|0;l=l+(f<<1)|0;m=m+(f<<1)|0}m=j+1179664|0;k=f+1|0;v=0-f|0;o=(c[j+4>>2]|0)+k|0;u=1;e=e+k|0;l=n+(k<<1)|0;k=i+k|0;p=0;a:while(1){if((u|0)>=(x|0)){l=59;break}q=1;r=e;s=l;t=k;while(1){if((q|0)>=(w|0))break;do if((d[r>>0]|0)>(d[t>>0]|0)){a[o>>0]=-1;l=s+(v<<1)|0;k=b[l>>1]|0;if(k<<16>>16>0){b[s>>1]=k;k=(k<<16>>16)*7|0;i=j+1310736+(k+-7<<2)|0;c[i>>2]=(c[i>>2]|0)+1;i=j+1310736+(k+-6<<2)|0;c[i>>2]=(c[i>>2]|0)+q;i=j+1310736+(k+-5<<2)|0;c[i>>2]=(c[i>>2]|0)+u;c[j+1310736+(k+-1<<2)>>2]=u;k=p;break}n=b[l+2>>1]|0;i=n<<16>>16;k=b[l+-2>>1]|0;e=k<<16>>16;l=k<<16>>16>0;if(n<<16>>16<=0){if(l){b[s>>1]=k;k=e*7|0;l=j+1310736+(k+-7<<2)|0;c[l>>2]=(c[l>>2]|0)+1;l=j+1310736+(k+-6<<2)|0;c[l>>2]=(c[l>>2]|0)+q;l=j+1310736+(k+-5<<2)|0;c[l>>2]=(c[l>>2]|0)+u;l=j+1310736+(k+-3<<2)|0;if((c[l>>2]|0)<(q|0))c[l>>2]=q;c[j+1310736+(k+-1<<2)>>2]=u;k=p;break}k=b[s+-2>>1]|0;if(k<<16>>16>0){b[s>>1]=k;k=(k<<16>>16)*7|0;i=j+1310736+(k+-7<<2)|0;c[i>>2]=(c[i>>2]|0)+1;i=j+1310736+(k+-6<<2)|0;c[i>>2]=(c[i>>2]|0)+q;i=j+1310736+(k+-5<<2)|0;c[i>>2]=(c[i>>2]|0)+u;k=j+1310736+(k+-3<<2)|0;if((c[k>>2]|0)>=(q|0)){k=p;break}c[k>>2]=q;k=p;break}else{k=p+1|0;if((p|0)>32767){l=54;break a}b[s>>1]=k;c[j+1179664+(p<<2)>>2]=k<<16>>16;p=p*7|0;c[j+1310736+(p<<2)>>2]=1;c[j+1310736+(p+1<<2)>>2]=q;c[j+1310736+(p+2<<2)>>2]=u;c[j+1310736+(p+3<<2)>>2]=q;c[j+1310736+(p+4<<2)>>2]=q;c[j+1310736+(p+5<<2)>>2]=u;c[j+1310736+(p+6<<2)>>2]=u;break}}if(l){k=c[j+1179664+(i+-1<<2)>>2]|0;n=c[j+1179664+(e+-1<<2)>>2]|0;b:do if((k|0)<=(n|0)){b[s>>1]=k;if((k|0)<(n|0)){l=0;e=m;while(1){if((l|0)>=(p|0))break b;if((c[e>>2]|0)==(n|0))c[e>>2]=k;l=l+1|0;e=e+4|0}}}else{b[s>>1]=n;l=0;e=m;while(1){if((l|0)>=(p|0)){k=n;break b}if((c[e>>2]|0)==(k|0))c[e>>2]=n;l=l+1|0;e=e+4|0}}while(0);k=(k<<16>>16)*7|0;i=j+1310736+(k+-7<<2)|0;c[i>>2]=(c[i>>2]|0)+1;i=j+1310736+(k+-6<<2)|0;c[i>>2]=(c[i>>2]|0)+q;i=j+1310736+(k+-5<<2)|0;c[i>>2]=(c[i>>2]|0)+u;c[j+1310736+(k+-1<<2)>>2]=u;k=p;break}l=b[s+-2>>1]|0;if(l<<16>>16<=0){b[s>>1]=n;k=i*7|0;l=j+1310736+(k+-7<<2)|0;c[l>>2]=(c[l>>2]|0)+1;l=j+1310736+(k+-6<<2)|0;c[l>>2]=(c[l>>2]|0)+q;l=j+1310736+(k+-5<<2)|0;c[l>>2]=(c[l>>2]|0)+u;l=j+1310736+(k+-4<<2)|0;if((c[l>>2]|0)>(q|0))c[l>>2]=q;c[j+1310736+(k+-1<<2)>>2]=u;k=p;break}k=c[j+1179664+(i+-1<<2)>>2]|0;n=c[j+1179664+((l<<16>>16)+-1<<2)>>2]|0;c:do if((k|0)<=(n|0)){b[s>>1]=k;if((k|0)<(n|0)){l=0;e=m;while(1){if((l|0)>=(p|0))break c;if((c[e>>2]|0)==(n|0))c[e>>2]=k;l=l+1|0;e=e+4|0}}}else{b[s>>1]=n;l=0;e=m;while(1){if((l|0)>=(p|0)){k=n;break c}if((c[e>>2]|0)==(k|0))c[e>>2]=n;l=l+1|0;e=e+4|0}}while(0);k=(k<<16>>16)*7|0;i=j+1310736+(k+-7<<2)|0;c[i>>2]=(c[i>>2]|0)+1;i=j+1310736+(k+-6<<2)|0;c[i>>2]=(c[i>>2]|0)+q;k=j+1310736+(k+-5<<2)|0;c[k>>2]=(c[k>>2]|0)+u;k=p}else{b[s>>1]=0;a[o>>0]=0;k=p}while(0);o=o+1|0;q=q+1|0;r=r+1|0;s=s+2|0;t=t+1|0;p=k}o=o+2|0;u=u+1|0;e=r+2|0;l=s+4|0;k=t+2|0}d:do if((l|0)==54){_e(0,3,19708,y);k=-1}else if((l|0)==59){o=j+12|0;e=1;n=1;while(1){if((e|0)>(p|0))break;k=c[m>>2]|0;if((k|0)==(e|0)){l=n;k=n+1|0}else{l=c[j+1179664+(k+-1<<2)>>2]|0;k=n}c[m>>2]=l;e=e+1|0;n=k;m=m+4|0}i=j+8|0;l=n+-1|0;c[i>>2]=l;if(!l)k=0;else{hP(o|0,0,l<<2|0)|0;hP(j+655376|0,0,l<<4|0)|0;k=0;while(1){if((k|0)>=(l|0))break;y=k<<2;c[j+131084+(y<<2)>>2]=f;c[j+131084+((y|1)<<2)>>2]=0;c[j+131084+((y|2)<<2)>>2]=h;c[j+131084+((y|3)<<2)>>2]=0;k=k+1|0}n=0;while(1){if((n|0)>=(p|0))break;m=(c[j+1179664+(n<<2)>>2]|0)+-1|0;e=n*7|0;l=j+12+(m<<2)|0;c[l>>2]=(c[l>>2]|0)+(c[j+1310736+(e<<2)>>2]|0);l=m<<1;k=j+655376+(l<<3)|0;g[k>>3]=+g[k>>3]+ +(c[j+1310736+(e+1<<2)>>2]|0);l=j+655376+((l|1)<<3)|0;g[l>>3]=+g[l>>3]+ +(c[j+1310736+(e+2<<2)>>2]|0);m=m<<2;l=j+131084+(m<<2)|0;k=c[j+1310736+(e+3<<2)>>2]|0;if((c[l>>2]|0)>(k|0))c[l>>2]=k;l=j+131084+((m|1)<<2)|0;k=c[j+1310736+(e+4<<2)>>2]|0;if((c[l>>2]|0)<(k|0))c[l>>2]=k;l=j+131084+((m|2)<<2)|0;k=c[j+1310736+(e+5<<2)>>2]|0;if((c[l>>2]|0)>(k|0))c[l>>2]=k;l=j+131084+((m|3)<<2)|0;k=c[j+1310736+(e+6<<2)>>2]|0;if((c[l>>2]|0)<(k|0))c[l>>2]=k;n=n+1|0}k=c[i>>2]|0;l=0;while(1){if((l|0)>=(k|0)){k=0;break d}A=+(c[j+12+(l<<2)>>2]|0);h=l<<1;f=j+655376+(h<<3)|0;g[f>>3]=+g[f>>3]/A;h=j+655376+((h|1)<<3)|0;g[h>>3]=+g[h>>3]/A;l=l+1|0}}}while(0);zb=z;return k|0}function oc(a){a=a|0;return pc(a+8|0)|0}function pc(a){a=a|0;var b=0,d=0;d=zb;zb=zb+16|0;b=MO(4)|0;if(!b){_e(0,3,42700,d);Fa(1)}a=Ke(a)|0;c[b>>2]=a;if(!a){NO(b);b=0}zb=d;return b|0}function qc(a){a=a|0;var b=0;b=c[a>>2]|0;if(!b)b=-1;else{Le(b)|0;NO(c[a>>2]|0);c[a>>2]=0;b=0}return b|0}function rc(a){a=a|0;var b=0,d=0,e=0;d=zb;zb=zb+16|0;b=MO(7062432)|0;if(!b){_e(0,3,42700,d);Fa(1)}c[b>>2]=0;c[b+4834148>>2]=0;c[b+7062408>>2]=0;c[b+4>>2]=-1;c[b+8>>2]=0;c[b+12>>2]=1;c[b+16>>2]=100;c[b+20>>2]=0;c[b+24>>2]=0;c[b+28>>2]=2;g[b+7062416>>3]=.5;c[b+7062424>>2]=3;c[b+32>>2]=a;e=c[a>>2]|0;c[b+36>>2]=e;a=c[a+4>>2]|0;c[b+40>>2]=a;c[b+44>>2]=0;c[b+15408>>2]=0;c[b+4834152>>2]=0;c[b+4818296>>2]=0;a=MO(C(e<<1,a)|0)|0;c[b+4834144>>2]=a;if(!a){_e(0,3,42700,d+8|0);Fa(1)}else{c[b+7062384>>2]=0;sc(b,0)|0;c[b+7062388>>2]=-1;tc(b,0)|0;uc(b,7)|0;zb=d;return b|0}return 0}function sc(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=zb;zb=zb+16|0;e=f;do if(a)if((c[a>>2]|0)!=(b|0)){c[a>>2]=b;if(!b){d=a+4834148|0;NO(c[d>>2]|0);c[d>>2]=0;d=0;break}b=MO(C(c[a+40>>2]|0,c[a+36>>2]|0)|0)|0;c[a+4834148>>2]=b;if(!b){_e(0,3,42700,e);Fa(1)}else d=0}else d=0;else d=-1;while(0);zb=f;return d|0}function tc(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;i=zb;zb=zb+16|0;h=i+8|0;f=i;if(a){g=a+7062388|0;if((c[g>>2]|0)!=(b|0)){e=a+7062408|0;d=c[e>>2]|0;if(d|0){ad(d);c[e>>2]=0}switch(b|0){case 3:case 2:case 1:{c[e>>2]=$c(c[a+36>>2]|0,c[a+40>>2]|0)|0;break}case 4:{c[a+7062404>>2]=1;c[a+7062400>>2]=1;b=4;break}case 0:break;default:{_e(0,3,19740,f);b=0}}c[g>>2]=b;if((c[a>>2]|0)==1){c[h>>2]=c[16+(b<<2)>>2];_e(0,3,19814,h);b=0}else b=0}else b=0}else b=-1;zb=i;return b|0}function uc(a,b){a=a|0;b=b|0;if(!a)a=-1;else{c[a+7062392>>2]=b;c[a+7062396>>2]=0;a=0}return a|0}function vc(a){a=a|0;var b=0,d=0;if(!a)b=-1;else{d=a+7062408|0;b=c[d>>2]|0;if(b|0){ad(b);c[d>>2]=0}NO(c[a+4834144>>2]|0);NO(c[a+4834148>>2]|0);NO(a);b=0}return b|0}function wc(a,b){a=a|0;b=b|0;if((a|0)!=0&(b|0)!=0){c[b>>2]=c[a>>2];a=0}else a=-1;return a|0}function xc(a,b){a=a|0;b=b|0;if((a|0)!=0&b>>>0<2){c[a+12>>2]=b;a=0}else a=-1;return a|0}function yc(a,b){a=a|0;b=b|0;if((a|0)!=0&(b|0)!=0){c[b>>2]=c[a+12>>2];a=0}else a=-1;return a|0}function zc(a,b){a=a|0;b=b|0;if((a|0)==0|b>>>0>255)a=-1;else{c[a+16>>2]=b;a=0}return a|0}function Ac(a,b){a=a|0;b=b|0;if((a|0)!=0&(b|0)!=0){c[b>>2]=c[a+16>>2];a=0}else a=-1;return a|0}function Bc(a,b){a=a|0;b=b|0;if((a|0)!=0&(b|0)!=0){c[b>>2]=c[a+7062388>>2];a=0}else a=-1;return a|0}function Cc(a,b){a=a|0;b=b|0;if((a|0)!=0&b>>>0<2){c[a+20>>2]=b;a=0}else a=-1;return a|0}function Dc(a,b){a=a|0;b=b|0;if(!a)a=-1;else{c[b>>2]=c[a+20>>2];a=0}return a|0}function Ec(a,b){a=a|0;b=b|0;if((a|0)!=0&b>>>0<5){c[a+24>>2]=b;a=0}else a=-1;return a|0}function Fc(a,b){a=a|0;b=b|0;if(!a)a=-1;else{c[a+7062424>>2]=b;a=0}return a|0}function Gc(a,b){a=a|0;b=b|0;if((a|0)!=0&(b|0)!=0){c[b>>2]=c[a+7062424>>2];a=0}else a=-1;return a|0}function Hc(a,b){a=a|0;b=b|0;if(!a)a=-1;else{c[b>>2]=c[a+24>>2];a=0}return a|0}function Ic(a,b){a=a|0;b=+b;if((a|0)!=0?!(b<=0.0|b>=1.0):0){g[a+7062416>>3]=b;a=0}else a=-1;return a|0}function Jc(a,b){a=a|0;b=b|0;if(!a)a=-1;else{g[b>>3]=+g[a+7062416>>3];a=0}return a|0}function Kc(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=zb;zb=zb+16|0;e=f;a:do if(a){d=a+4|0;if((c[d>>2]|0)!=(b|0)){if(b>>>0>=15){c[e>>2]=b;_e(0,3,19909,e);d=-1;break}c[d>>2]=b;c[a+8>>2]=Fd(b)|0;a=a+24|0;d=c[a>>2]|0;if(!(28704>>>(b&32767)&1))switch(d|0){case 1:{c[a>>2]=4;d=0;break a}case 4:{c[a>>2]=3;d=0;break a}default:{d=0;break a}}else switch(d|0){case 0:{c[a>>2]=1;d=0;break a}case 3:{c[a>>2]=4;d=0;break a}default:{d=0;break a}}}else d=0}else d=-1;while(0);zb=f;return d|0}function Lc(a,b){a=a|0;b=b|0;var e=0,f=0,h=0,i=0,j=0,k=0.0,l=0,m=0,n=0.0,o=0.0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0.0,O=0,P=0,Q=0.0,R=0.0;P=zb;zb=zb+64|0;L=P+32|0;F=P+24|0;y=P;K=P+52|0;C=P+40|0;a:do if((a|0)!=0&(b|0)!=0){O=a+44|0;c[O>>2]=0;I=a+7062388|0;e=c[I>>2]|0;b:do if((e|0)==4){H=a+7062396|0;e=c[H>>2]|0;do if((e|0)>0)c[H>>2]=e+-1;else{B=a+16|0;D=c[B>>2]|0;E=a+7062400|0;z=(c[E>>2]|0)+D|0;z=(z|0)<255?z:255;c[K>>2]=z;G=a+7062404|0;A=D-(c[G>>2]|0)|0;A=(A|0)>0?A:0;c[K+4>>2]=A;c[K+8>>2]=D;p=b+12|0;w=a+36|0;x=a+40|0;f=a+12|0;e=a+20|0;r=a+4834144|0;l=a+15416|0;s=a+15408|0;j=a+4|0;u=a+7062384|0;i=a+24|0;h=a+32|0;v=a+7062416|0;m=a+48|0;t=a+7062424|0;q=0;while(1){if(q>>>0>=3)break;if((hd(c[p>>2]|0,c[w>>2]|0,c[x>>2]|0,c[a>>2]|0,c[f>>2]|0,c[K+(q<<2)>>2]|0,c[e>>2]|0,r,0)|0)<0){M=29;break}if((Nc(c[w>>2]|0,c[x>>2]|0,r,c[e>>2]|0,1e6,70,1.0,l,s)|0)<0){M=29;break}if((Wc(c[b>>2]|0,c[w>>2]|0,c[x>>2]|0,c[j>>2]|0,l,c[s>>2]|0,c[u>>2]|0,c[e>>2]|0,c[i>>2]|0,(c[h>>2]|0)+184|0,+g[v>>3],m,O,c[t>>2]|0)|0)<0){M=29;break}c[C+(q<<2)>>2]=c[O>>2];q=q+1|0}if((M|0)==29){e=-1;break a}if((c[a>>2]|0)==1){x=c[C+4>>2]|0;h=c[C+8>>2]|0;f=c[C>>2]|0;c[y>>2]=A;c[y+4>>2]=x;c[y+8>>2]=D;c[y+12>>2]=h;c[y+16>>2]=z;c[y+20>>2]=f;_e(0,3,19958,y)}else{f=c[C>>2]|0;h=c[C+8>>2]|0}e=c[C+4>>2]|0;if((f|0)>(h|0)|(e|0)>(h|0)){f=(f|0)<(e|0)?A:z;c[B>>2]=f;e=f-D|0;if((e|0)>0){c[E>>2]=e;e=1}else{c[E>>2]=1;e=0-e|0}c[G>>2]=e;if((c[a>>2]|0)==1){c[F>>2]=f;_e(0,3,20034,F);c[H>>2]=c[a+7062392>>2];break}else{c[H>>2]=c[a+7062392>>2];break}}e=c[E>>2]|0;f=c[G>>2]|0;do if((e|0)>=(f|0))if((e|0)>(f|0)){c[G>>2]=f+1;break}else{e=e+1|0;c[E>>2]=e;c[G>>2]=f+1;break}else{e=e+1|0;c[E>>2]=e}while(0);if((e+D|0)>254){c[E>>2]=1;e=1}if((D|0)<=(e|0))c[G>>2]=1;c[H>>2]=c[a+7062392>>2];break b}while(0);h=c[I>>2]|0;M=33}else{h=e;M=33}while(0);if((M|0)==33){c:do switch(h|0){case 3:{f=a+7062408|0;h=b+12|0;e=gd(c[f>>2]|0,c[h>>2]|0,9,-7)|0;if((e|0)<0)break a;e=c[f>>2]|0;f=a+4834144|0;e=hd(c[h>>2]|0,c[e+4>>2]|0,c[e+8>>2]|0,c[a>>2]|0,c[a+12>>2]|0,0,0,f,c[e>>2]|0)|0;if((e|0)<0)break a;e=a+20|0;l=a+36|0;j=a+40|0;break}case 2:case 1:{i=a+7062396|0;e=c[i>>2]|0;if((e|0)>0){c[i>>2]=e+-1;M=48;break c}e=c[a+7062408>>2]|0;f=c[b+12>>2]|0;if((h|0)==1)e=ed(e,f,K)|0;else e=fd(e,f,K)|0;if((e|0)<0)break a;e=a+16|0;if((c[a>>2]|0)==1?(J=d[K>>0]|0,(c[e>>2]|0)!=(J|0)):0){c[L>>2]=(c[I>>2]|0)==1?20086:20093;c[L+4>>2]=J;_e(0,3,20098,L)}c[e>>2]=d[K>>0];c[i>>2]=c[a+7062392>>2];M=48;break}default:M=48}while(0);if((M|0)==48){h=a+36|0;i=a+40|0;e=a+20|0;f=a+4834144|0;if((hd(c[b+12>>2]|0,c[h>>2]|0,c[i>>2]|0,c[a>>2]|0,c[a+12>>2]|0,c[a+16>>2]|0,c[e>>2]|0,f,0)|0)<0){e=-1;break}else{l=h;j=i}}h=a+15416|0;i=a+15408|0;if((Nc(c[l>>2]|0,c[j>>2]|0,f,c[e>>2]|0,1e6,70,1.0,h,i)|0)<0){e=-1;break}if((Wc(c[b>>2]|0,c[l>>2]|0,c[j>>2]|0,c[a+4>>2]|0,h,c[i>>2]|0,c[a+7062384>>2]|0,c[e>>2]|0,c[a+24>>2]|0,(c[a+32>>2]|0)+184|0,+g[a+7062416>>3],a+48|0,O,c[a+7062424>>2]|0)|0)<0){e=-1;break}}s=a+28|0;if((c[s>>2]|0)==1){Mc(a);e=0;break}t=a+4818296|0;p=c[t>>2]|0;q=a+24|0;r=0;while(1){if((r|0)>=(p|0))break;f=c[O>>2]|0;h=a+4818304+(r*264|0)|0;i=a+4818304+(r*264|0)+56|0;j=a+4818304+(r*264|0)+64|0;m=-1;l=0;n=.5;while(1){if((l|0)>=(f|0))break;k=+(c[a+48+(l<<8)>>2]|0);o=+(c[h>>2]|0)/k;if(!(o<.7|o>1.43)?(o=+g[a+48+(l<<8)+56>>3]-+g[i>>3],N=+g[a+48+(l<<8)+64>>3]-+g[j>>3],N=(o*o+N*N)/k,N-1){l=c[q>>2]|0;switch(l|0){case 2:case 1:case 0:break;case 4:case 3:{f=a+48+(m<<8)+40|0;n=+g[a+4818304+(r*264|0)+40>>3];if(!(+g[f>>3]>3];if(!(+g[e>>3]>3];e=a+48+(m<<8)+48|0}g[f>>3]=n;c[a+48+(m<<8)+8>>2]=c[a+4818304+(r*264|0)+8>>2];g[e>>3]=k;c[a+48+(m<<8)+12>>2]=c[a+4818304+(r*264|0)+12>>2];e=-1;n=1.0e8;f=0;while(1){if((f|0)==4)break;k=0.0;h=0;while(1){if((h|0)==4)break;b=h+f&3;Q=+g[a+4818304+(r*264|0)+168+(h<<4)>>3]-+g[a+48+(m<<8)+168+(b<<4)>>3];o=+g[a+4818304+(r*264|0)+168+(h<<4)+8>>3]-+g[a+48+(m<<8)+168+(b<<4)+8>>3];k=k+(Q*Q+o*o);h=h+1|0}b=k>2]=(b+(c[a+4818304+(r*264|0)+20>>2]|0)|0)%4|0;c[a+48+(m<<8)+24>>2]=(b+(c[a+4818304+(r*264|0)+24>>2]|0)|0)%4|0;break d}default:{e=-1;break a}}e=a+48+(m<<8)+32|0;o=+g[a+4818304+(r*264|0)+32>>3];if(+g[e>>3]>3]=o;h=c[a+4818304+(r*264|0)+4>>2]|0;c[a+48+(m<<8)+4>>2]=h;i=a+4818304+(r*264|0)+16|0;e=-1;n=1.0e8;j=0;while(1){if((j|0)==4)break;k=0.0;f=0;while(1){if((f|0)==4)break;b=f+j&3;R=+g[a+4818304+(r*264|0)+168+(f<<4)>>3]-+g[a+48+(m<<8)+168+(b<<4)>>3];Q=+g[a+4818304+(r*264|0)+168+(f<<4)+8>>3]-+g[a+48+(m<<8)+168+(b<<4)+8>>3];k=k+(R*R+Q*Q);f=f+1|0}if(k>2]|0)|0)%4|0;else k=n;n=k;j=j+1|0}c[a+48+(m<<8)+16>>2]=e;if(l>>>0<2){c[a+48+(m<<8)+8>>2]=h;g[a+48+(m<<8)+40>>3]=o;c[a+48+(m<<8)+20>>2]=e;break}else{c[a+48+(m<<8)+12>>2]=h;g[a+48+(m<<8)+48>>3]=o;c[a+48+(m<<8)+24>>2]=e;break}}}while(0);r=r+1|0}Mc(a);f=0;e=0;while(1){if((f|0)>=(c[t>>2]|0))break;M=a+4818304+(f*264|0)+256|0;b=c[M>>2]|0;c[M>>2]=b+1;if((b|0)<3){if((f|0)!=(e|0))fP(a+4818304+(e*264|0)|0,a+4818304+(f*264|0)|0,264)|0;e=e+1|0}f=f+1|0}c[t>>2]=e;f=c[O>>2]|0;l=0;while(1){if((l|0)>=(f|0))break;i=a+48+(l<<8)|0;h=c[a+48+(l<<8)+4>>2]|0;if((h|0)>=0){j=0;while(1){if((j|0)>=(e|0))break;if((c[a+4818304+(j*264|0)+4>>2]|0)==(h|0))break;j=j+1|0}if((j|0)==(e|0)){if((e|0)==60)break;e=e+1|0;c[t>>2]=e}fP(a+4818304+(j*264|0)|0,i|0,256)|0;c[a+4818304+(j*264|0)+256>>2]=1}l=l+1|0}if((c[s>>2]|0)==2)e=0;else{m=0;while(1){if((m|0)>=(e|0)){e=0;break a}h=a+4818304+(m*264|0)|0;i=a+4818304+(m*264|0)+56|0;j=a+4818304+(m*264|0)+64|0;l=0;while(1){if((l|0)>=(f|0))break;k=+(c[a+48+(l<<8)>>2]|0);R=+(c[h>>2]|0)/k;if(!(R<.7|R>1.43)?(Q=+g[a+48+(l<<8)+56>>3]-+g[i>>3],R=+g[a+48+(l<<8)+64>>3]-+g[j>>3],(Q*Q+R*R)/k<.5):0)break;l=l+1|0}if((l|0)==(f|0)){fP(a+48+(f<<8)|0,a+4818304+(m*264|0)|0,256)|0;f=f+1|0;c[O>>2]=f;e=c[t>>2]|0}m=m+1|0}}}else e=-1;while(0);zb=P;return e|0}function Mc(a){a=a|0;var b=0,d=0,e=0,f=0;a:do switch(c[a+24>>2]|0){case 1:case 0:{b=c[a+44>>2]|0;d=0;while(1){if((d|0)>=(b|0))break a;e=a+48+(d<<8)+4|0;if((c[e>>2]|0)>-1?+g[a+48+(d<<8)+32>>3]<.5:0){c[a+48+(d<<8)+8>>2]=-1;c[e>>2]=-1;c[a+48+(d<<8)+236>>2]=6}d=d+1|0}}case 2:{b=c[a+44>>2]|0;d=0;while(1){if((d|0)>=(b|0))break a;e=a+48+(d<<8)+4|0;if((c[e>>2]|0)>-1?+g[a+48+(d<<8)+32>>3]<.5:0){c[a+48+(d<<8)+12>>2]=-1;c[e>>2]=-1;c[a+48+(d<<8)+236>>2]=6}d=d+1|0}}default:{e=c[a+44>>2]|0;f=0;while(1){if((f|0)>=(e|0))break a;b=a+48+(f<<8)+8|0;if((c[b>>2]|0)>-1?+g[a+48+(f<<8)+40>>3]<.5:0){c[b>>2]=-1;b=0}else b=1;d=a+48+(f<<8)+12|0;if(((c[d>>2]|0)>-1?+g[a+48+(f<<8)+48>>3]<.5:0)?(c[d>>2]=-1,(b|0)==0):0)c[a+48+(f<<8)+236>>2]=6;f=f+1|0}}}while(0);return}function Nc(a,b,d,e,f,h,i,j,k){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;i=+i;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0.0;r=(e|0)==1;if(r){f=(f|0)/4|0;h=(h|0)/4|0;a=(a|0)/2|0;e=(b|0)/2|0}else e=b;c[k>>2]=0;n=d+8|0;o=a+-2|0;m=e+-2|0;e=d+1179664|0;l=0;while(1){if((l|0)>=(c[n>>2]|0)){q=5;break}b=d+12+(l<<2)|0;s=c[b>>2]|0;if(((((((!((s|0)<(h|0)|(s|0)>(f|0))?(p=d+131084+(l<<4)|0,(c[p>>2]|0)!=1):0)?(c[d+131084+(l<<4)+4>>2]|0)!=(o|0):0)?(c[d+131084+(l<<4)+8>>2]|0)!=1:0)?(c[d+131084+(l<<4)+12>>2]|0)!=(m|0):0)?(Oc(c[d>>2]|0,a,0,e,l+1|0,p,j+((c[k>>2]|0)*80048|0)|0)|0)>=0:0)?(Pc(c[b>>2]|0,j+((c[k>>2]|0)*80048|0)|0,i)|0)>=0:0)?(c[j+((c[k>>2]|0)*80048|0)>>2]=c[b>>2],s=c[k>>2]|0,g[j+(s*80048|0)+8>>3]=+g[d+655376+(l<<4)>>3],g[j+(s*80048|0)+16>>3]=+g[d+655376+(l<<4)+8>>3],s=s+1|0,c[k>>2]=s,(s|0)==60):0){e=60;break}l=l+1|0}if((q|0)==5)e=c[k>>2]|0;f=0;while(1){if((f|0)>=(e|0))break;l=f+1|0;m=j+(f*80048|0)+8|0;n=j+(f*80048|0)+16|0;b=j+(f*80048|0)|0;a=l;while(1){if((a|0)>=(e|0))break;t=+g[m>>3]-+g[j+(a*80048|0)+8>>3];i=+g[n>>3]-+g[j+(a*80048|0)+16>>3];i=t*t+i*i;e=c[b>>2]|0;h=j+(a*80048|0)|0;f=c[h>>2]|0;if((e|0)>(f|0)){if(i<+((e|0)/4|0|0))c[h>>2]=0}else if(i<+((f|0)/4|0|0))c[b>>2]=0;e=c[k>>2]|0;a=a+1|0}f=l}a=0;while(1){if((a|0)>=(e|0))break;if(!(c[j+(a*80048|0)>>2]|0)){h=a;while(1){f=h+1|0;if((f|0)>=(e|0))break;fP(j+(h*80048|0)|0,j+(f*80048|0)|0,80048)|0;e=c[k>>2]|0;h=f}e=e+-1|0;c[k>>2]=e}a=a+1|0}a:do if(r){h=0;while(1){if((h|0)>=(e|0))break a;c[j>>2]=c[j>>2]<<2;e=j+8|0;g[e>>3]=+g[e>>3]*2.0;e=j+16|0;g[e>>3]=+g[e>>3]*2.0;e=c[j+24>>2]|0;f=0;while(1){if((f|0)>=(e|0))break;s=j+28+(f<<2)|0;c[s>>2]=c[s>>2]<<1;s=j+40028+(f<<2)|0;c[s>>2]=c[s>>2]<<1;f=f+1|0}e=c[k>>2]|0;h=h+1|0;j=j+80048|0}}while(0);return 0}function Oc(a,d,e,f,g,h,i){a=a|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;w=zb;zb=zb+80032|0;n=w+80016|0;m=w+80008|0;j=w+8e4|0;u=w+4e4|0;v=w;s=c[h+8>>2]|0;q=C(s,d)|0;t=c[h>>2]|0;e=c[h+4>>2]|0;r=t;h=a+(q+t<<1)|0;while(1){if((r|0)>(e|0)){t=7;break}t=b[h>>1]|0;if(t<<16>>16>0?(c[f+((t<<16>>16)+-1<<2)>>2]|0)==(g|0):0){t=6;break}r=r+1|0;h=h+2|0}do if((t|0)==6)if((r|0)!=-1){q=i+24|0;c[q>>2]=1;o=i+28|0;c[o>>2]=r;p=i+40028|0;c[p>>2]=s;h=1;g=s;k=r;e=5;while(1){j=a+((C(g,d)|0)+k<<1)|0;e=e+5|0;f=0;while(1){l=(e|0)%8|0;if(f>>>0>=8){t=13;break}e=c[48+(l<<2)>>2]|0;x=C(e,d)|0;g=c[80+(l<<2)>>2]|0;if((b[j+(x+g<<1)>>1]|0)>0)break;e=l+1|0;f=f+1|0}if((t|0)==13){t=0;if((f|0)==8){t=15;break}g=c[80+(l<<2)>>2]|0;e=c[48+(l<<2)>>2]|0}c[i+28+(h<<2)>>2]=g+k;f=c[q>>2]|0;c[i+40028+(f<<2)>>2]=e+(c[i+40028+(f+-1<<2)>>2]|0);e=c[q>>2]|0;f=i+28+(e<<2)|0;if((c[f>>2]|0)==(r|0)?(c[i+40028+(e<<2)>>2]|0)==(s|0):0){t=18;break}h=e+1|0;c[q>>2]=h;if((h|0)==9999){t=21;break}g=c[i+40028+(e<<2)>>2]|0;k=c[f>>2]|0;e=l}if((t|0)==15){_e(0,3,20152,m);e=-1;break}else if((t|0)==18){h=0;g=1;f=0;while(1){if((g|0)>=(e|0))break;d=(c[i+28+(g<<2)>>2]|0)-r|0;d=C(d,d)|0;a=(c[i+40028+(g<<2)>>2]|0)-s|0;d=(C(a,a)|0)+d|0;a=(d|0)>(h|0);x=a?g:f;h=a?d:h;g=g+1|0;f=x}h=0;while(1){if((h|0)>=(f|0))break;c[u+(h<<2)>>2]=c[i+28+(h<<2)>>2];c[v+(h<<2)>>2]=c[i+40028+(h<<2)>>2];h=h+1|0}h=f;while(1){if((h|0)>=(e|0))break;e=h-f|0;c[i+28+(e<<2)>>2]=c[i+28+(h<<2)>>2];c[i+40028+(e<<2)>>2]=c[i+40028+(h<<2)>>2];e=c[q>>2]|0;h=h+1|0}e=0;while(1){if((e|0)>=(f|0))break;x=e-f|0;c[i+28+((c[q>>2]|0)+x<<2)>>2]=c[u+(e<<2)>>2];c[i+40028+((c[q>>2]|0)+x<<2)>>2]=c[v+(e<<2)>>2];e=e+1|0}c[i+28+(c[q>>2]<<2)>>2]=c[o>>2];c[i+40028+(c[q>>2]<<2)>>2]=c[p>>2];c[q>>2]=(c[q>>2]|0)+1;e=0;break}else if((t|0)==21){_e(0,3,20159,n);e=-1;break}}else t=7;while(0);if((t|0)==7){_e(0,3,20145,j);e=-1}zb=w;return e|0}function Pc(a,b,d){a=a|0;b=b|0;d=+d;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;r=zb;zb=zb+96|0;o=r+48|0;m=r+92|0;p=r;n=r+88|0;k=b+28|0;f=c[k>>2]|0;l=b+40028|0;g=c[l>>2]|0;q=b+24|0;j=(c[q>>2]|0)+-1|0;h=0;i=1;e=0;while(1){if((i|0)>=(j|0))break;t=(c[b+28+(i<<2)>>2]|0)-f|0;t=C(t,t)|0;u=(c[b+40028+(i<<2)>>2]|0)-g|0;t=(C(u,u)|0)+t|0;u=(t|0)>(h|0);s=u?i:e;h=u?t:h;i=i+1|0;e=s}d=+(a|0)/.75*.01*d;c[m>>2]=0;c[n>>2]=0;a:do if((Qc(k,l,0,e,d,o,m)|0)>=0?(Qc(k,l,e,(c[q>>2]|0)+-1|0,d,p,n)|0)>=0:0){f=c[m>>2]|0;g=c[n>>2]|0;do if((f|0)==1&(g|0)==1){f=c[p>>2]|0;g=c[o>>2]|0}else{if((f|0)>1&(g|0)==0){f=(e|0)/2|0;c[n>>2]=0;c[m>>2]=0;if((Qc(k,l,0,f,d,o,m)|0)<0){e=-1;break a}if((Qc(k,l,f,e,d,p,n)|0)<0){e=-1;break a}if(!((c[m>>2]|0)==1&(c[n>>2]|0)==1)){e=-1;break a}f=e;g=c[o>>2]|0;e=c[p>>2]|0;break}if(!((f|0)==0&(g|0)>1)){e=-1;break a}f=(e+-1+(c[q>>2]|0)|0)/2|0;c[n>>2]=0;c[m>>2]=0;if((Qc(k,l,e,f,d,o,m)|0)<0){e=-1;break a}if((Qc(k,l,f,(c[q>>2]|0)+-1|0,d,p,n)|0)<0){e=-1;break a}if(!((c[m>>2]|0)==1&(c[n>>2]|0)==1)){e=-1;break a}f=c[p>>2]|0;g=e;e=c[o>>2]|0}while(0);c[b+80028>>2]=0;c[b+80032>>2]=g;c[b+80036>>2]=e;c[b+80040>>2]=f;c[b+80044>>2]=(c[q>>2]|0)+-1;e=0}else e=-1;while(0);zb=r;return e|0}function Qc(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=+f;g=g|0;h=h|0;var i=0,j=0.0,k=0.0,l=0.0,m=0.0,n=0,o=0,p=0,q=0,r=0,s=0.0;o=c[b+(e<<2)>>2]|0;q=c[b+(d<<2)>>2]|0;j=+(o-q|0);n=c[a+(d<<2)>>2]|0;r=c[a+(e<<2)>>2]|0;l=+(n-r|0);k=+((C(r,q)|0)-(C(n,o)|0)|0);o=d+1|0;m=0.0;n=o;while(1){if((n|0)>=(e|0))break;s=j*+(c[a+(n<<2)>>2]|0)+l*+(c[b+(n<<2)>>2]|0)+k;s=s*s;q=s>m;r=q?n:o;m=q?s:m;n=n+1|0;o=r}if(m/(j*j+l*l)>f)if(((Qc(a,b,d,o,f,g,h)|0)>=0?(i=c[h>>2]|0,(i|0)<=5):0)?(c[g+(i<<2)>>2]=o,c[h>>2]=(c[h>>2]|0)+1,(Qc(a,b,o,e,f,g,h)|0)>=0):0)p=8;else i=-1;else p=8;if((p|0)==8)i=0;return i|0}function Rc(a,b){a=+a;b=+b;var d=0,e=0;d=MO(64)|0;if((d|0)!=0?(e=d+8|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,g[d+32>>3]=1.0,e=d+40|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,(Sc(d,a,b)|0)<0):0){NO(d);d=0}return d|0}function Sc(a,b,c){a=a|0;b=+b;c=+c;if(a)if(b!=0.0&c!=0.0){b=1.0/b;g[a>>3]=b/(b+1.0/c);a=0}else a=-2;else a=-1;return a|0}function Tc(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0.0,f=0.0,h=0.0,i=0.0,j=0,k=0,l=0.0,m=0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0,u=0,v=0,w=0.0,z=0,A=0,B=0.0;A=zb;zb=zb+64|0;m=A+32|0;z=A;if(a)if((Cd(b,m,z)|0)<0)c=-2;else{Ed(m)|0;if(!c){r=+g[a>>3];w=1.0-r;f=+g[m>>3];c=a+8|0;s=+g[c>>3];d=m+8|0;l=+g[d>>3];t=a+16|0;o=+g[t>>3];j=m+16|0;i=+g[j>>3];u=a+24|0;p=+g[u>>3];k=m+24|0;h=+g[k>>3];v=a+32|0;q=+g[v>>3];e=f*s+l*o+i*p+h*q;if(e<0.0){h=-h;i=-i;l=-l;n=-f;g[m>>3]=n;g[d>>3]=l;g[j>>3]=i;g[k>>3]=h;e=-e}else n=f;if(e>.9995){e=w;f=r}else{B=+y(+e);f=+x(+B);e=+x(+(w*B))/f;f=+x(+(r*B))/f}g[c>>3]=s*e+f*n;g[t>>3]=o*e+f*l;g[u>>3]=p*e+f*i;g[v>>3]=q*e+f*h;Ed(c)|0;d=a+40|0;g[d>>3]=r*+g[z>>3]+w*+g[d>>3];v=a+48|0;g[v>>3]=r*+g[z+8>>3]+w*+g[v>>3];a=a+56|0;g[a>>3]=r*+g[z+16>>3]+w*+g[a>>3]}else{c=a+8|0;g[c>>3]=+g[m>>3];g[a+16>>3]=+g[m+8>>3];g[a+24>>3]=+g[m+16>>3];g[a+32>>3]=+g[m+24>>3];d=a+40|0;g[d>>3]=+g[z>>3];g[a+48>>3]=+g[z+8>>3];g[a+56>>3]=+g[z+16>>3]}c=(Dd(c,d,b)|0)>>31&-2}else c=-1;zb=A;return c|0}function Uc(a){a=a|0;if(a|0)NO(a);return}function Vc(a,b,d,e,h,i,j){a=a|0;b=b|0;d=d|0;e=e|0;h=h|0;i=i|0;j=j|0;var k=0.0,l=0.0,m=0,n=0,o=0,p=0.0,q=0,r=0,s=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;y=zb;zb=zb+16|0;q=y+4|0;r=y;u=we(2)|0;v=we(2)|0;x=Jd(2,2)|0;n=0;a:while(1){if(n>>>0>=4){q=10;break}d=n+1|0;s=c[e+(d<<2)>>2]|0;m=c[e+(n<<2)>>2]|0;p=+(s+1-m|0)*.05+.5;m=~~(p+ +(m|0));s=~~(+(s|0)-p)-m|0;w=Jd(s+1|0,2)|0;o=0;while(1){if((o|0)>(s|0))break;z=o+m|0;if((ve(h,+(c[a+(z<<2)>>2]|0),+(c[b+(z<<2)>>2]|0),q,r)|0)<0){q=6;break a}A=c[w>>2]|0;z=o<<1;g[A+(z<<3)>>3]=+f[q>>2];g[A+((z|1)<<3)>>3]=+f[r>>2];o=o+1|0}if((Vd(w,x,u,v)|0)<0){q=14;break}A=c[x>>2]|0;l=+g[A+8>>3];g[i+(n*24|0)>>3]=l;p=-+g[A>>3];g[i+(n*24|0)+8>>3]=p;A=c[v>>2]|0;g[i+(n*24|0)+16>>3]=-(l*+g[A>>3]+ +g[A+8>>3]*p);Rd(w)|0;n=d}b:do if((q|0)==6)q=14;else if((q|0)==10){Rd(x)|0;xe(v)|0;xe(u)|0;n=0;while(1){if(n>>>0>=4){d=0;break b}o=n+3&3;d=i+(o*24|0)|0;k=+g[i+(n*24|0)+8>>3];m=i+(n*24|0)|0;l=+g[i+(o*24|0)+8>>3];p=+g[d>>3]*k-+g[m>>3]*l;if(+t(+p)<.0001){d=-1;break b}A=i+(n*24|0)+16|0;z=i+(o*24|0)+16|0;g[j+(n<<4)>>3]=(l*+g[A>>3]-k*+g[z>>3])/p;g[j+(n<<4)+8>>3]=(+g[m>>3]*+g[z>>3]-+g[d>>3]*+g[A>>3])/p;n=n+1|0}}while(0);if((q|0)==14){Rd(w)|0;Rd(x)|0;xe(v)|0;xe(u)|0;d=-1}zb=y;return d|0}function Wc(a,b,d,e,h,i,j,k,l,m,n,o,p,q){a=a|0;b=b|0;d=d|0;e=e|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;m=m|0;n=+n;o=o|0;p=p|0;q=q|0;var r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0;G=zb;zb=zb+16|0;D=G+4|0;E=G;z=l>>>0<2;B=(l|0)==2;C=0;r=0;while(1){if((C|0)>=(i|0))break;c[o+(r<<8)>>2]=c[h+(C*80048|0)>>2];if((ve(m,+g[h+(C*80048|0)+8>>3],+g[h+(C*80048|0)+16>>3],D,E)|0)>=0?(g[o+(r<<8)+56>>3]=+f[D>>2],g[o+(r<<8)+64>>3]=+f[E>>2],A=o+(r<<8)+168|0,(Vc(h+(C*80048|0)+28|0,h+(C*80048|0)+40028|0,c[h+(C*80048|0)+24>>2]|0,h+(C*80048|0)+80028|0,m,o+(r<<8)+72|0,A)|0)>=0):0){x=o+(r<<8)+8|0;v=o+(r<<8)+20|0;y=o+(r<<8)+40|0;w=o+(r<<8)+12|0;t=o+(r<<8)+24|0;s=o+(r<<8)+48|0;u=rd(j,k,l,a,b,d,e,m,A,n,x,v,y,w,t,s,q,o+(r<<8)+240|0,o+(r<<8)+248|0)|0;switch(u|0){case 0:{F=12;break}case -1:{u=2;F=12;break}case -2:{u=3;F=12;break}case -3:{u=4;F=12;break}case -4:{u=5;F=12;break}case -5:{u=9;F=12;break}case -6:{u=1;F=12;break}default:{}}if((F|0)==12){F=0;c[o+(r<<8)+236>>2]=u}if(!z){if(B){c[o+(r<<8)+4>>2]=c[w>>2];F=17}}else{c[o+(r<<8)+4>>2]=c[x>>2];t=v;s=y;F=17}if((F|0)==17){F=0;c[o+(r<<8)+16>>2]=c[t>>2];g[o+(r<<8)+32>>3]=+g[s>>3]}r=r+1|0}C=C+1|0}c[p>>2]=r;zb=G;return 0}function Xc(a,b,d,e){a=a|0;b=b|0;d=+d;e=e|0;var f=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0.0,o=0;m=zb;zb=zb+288|0;k=m+192|0;l=m+96|0;f=m+264|0;j=m;i=m+256|0;do if((c[b+12>>2]|0)>=0)if((c[b+8>>2]|0)<0){h=b+24|0;break}else{h=b+16|0;break}else h=b+20|0;while(0);h=c[h>>2]|0;o=(4-h|0)%4|0;g[k>>3]=+g[b+168+(o<<4)>>3];g[k+8>>3]=+g[b+168+(o<<4)+8>>3];o=(5-h|0)%4|0;g[k+16>>3]=+g[b+168+(o<<4)>>3];g[k+24>>3]=+g[b+168+(o<<4)+8>>3];o=(6-h|0)%4|0;g[k+32>>3]=+g[b+168+(o<<4)>>3];g[k+40>>3]=+g[b+168+(o<<4)+8>>3];h=(7-h|0)%4|0;g[k+48>>3]=+g[b+168+(h<<4)>>3];g[k+56>>3]=+g[b+168+(h<<4)+8>>3];n=d*-.5;g[l>>3]=n;d=d*.5;g[l+8>>3]=d;g[l+16>>3]=0.0;g[l+24>>3]=d;g[l+32>>3]=d;g[l+40>>3]=0.0;g[l+48>>3]=d;g[l+56>>3]=n;g[l+64>>3]=0.0;g[l+72>>3]=n;g[l+80>>3]=n;g[l+88>>3]=0.0;c[f>>2]=k;c[f+4>>2]=l;c[f+8>>2]=4;if((Se(c[a>>2]|0,k,l,4,j)|0)<0)d=1.0e8;else{o=(Ne(c[a>>2]|0,f,j,e,i)|0)<0;d=o?1.0e8:+g[i>>3]}zb=m;return +d}function Yc(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=+e;f=f|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0.0,o=0;m=zb;zb=zb+192|0;k=m+96|0;l=m;h=m+168|0;j=m+160|0;do if((c[b+12>>2]|0)>=0)if((c[b+8>>2]|0)<0){i=b+24|0;break}else{i=b+16|0;break}else i=b+20|0;while(0);i=c[i>>2]|0;o=(4-i|0)%4|0;g[k>>3]=+g[b+168+(o<<4)>>3];g[k+8>>3]=+g[b+168+(o<<4)+8>>3];o=(5-i|0)%4|0;g[k+16>>3]=+g[b+168+(o<<4)>>3];g[k+24>>3]=+g[b+168+(o<<4)+8>>3];o=(6-i|0)%4|0;g[k+32>>3]=+g[b+168+(o<<4)>>3];g[k+40>>3]=+g[b+168+(o<<4)+8>>3];i=(7-i|0)%4|0;g[k+48>>3]=+g[b+168+(i<<4)>>3];g[k+56>>3]=+g[b+168+(i<<4)+8>>3];n=e*-.5;g[l>>3]=n;e=e*.5;g[l+8>>3]=e;g[l+16>>3]=0.0;g[l+24>>3]=e;g[l+32>>3]=e;g[l+40>>3]=0.0;g[l+48>>3]=e;g[l+56>>3]=n;g[l+64>>3]=0.0;g[l+72>>3]=n;g[l+80>>3]=n;g[l+88>>3]=0.0;c[h>>2]=k;c[h+4>>2]=l;c[h+8>>2]=4;l=(Ne(c[a>>2]|0,h,d,f,j)|0)<0;zb=m;return +(l?1.0e8:+g[j>>3])}function Zc(a,b,d,e,f,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0;o=zb;zb=zb+32|0;k=o+20|0;l=o;i=MO(f<<4)|0;c[k>>2]=i;if(!i){_e(0,3,42700,o+8|0);Fa(1)}j=MO(f*24|0)|0;n=k+4|0;c[n>>2]=j;if(!j){_e(0,3,42700,o+16|0);Fa(1)}m=0;while(1){if((m|0)>=(f|0))break;g[i+(m<<4)>>3]=+g[d+(m<<4)>>3];g[i+(m<<4)+8>>3]=+g[d+(m<<4)+8>>3];g[j+(m*24|0)>>3]=+g[e+(m*24|0)>>3];g[j+(m*24|0)+8>>3]=+g[e+(m*24|0)+8>>3];g[j+(m*24|0)+16>>3]=+g[e+(m*24|0)+16>>3];m=m+1|0}c[k+8>>2]=f;if((Ne(c[a>>2]|0,k,b,h,l)|0)<0)g[l>>3]=1.0e8;NO(c[k>>2]|0);NO(c[n>>2]|0);zb=o;return +(+g[l>>3])}function _c(a,b,d,e,f,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0;o=zb;zb=zb+32|0;k=o+20|0;l=o;i=MO(f<<4)|0;c[k>>2]=i;if(!i){_e(0,3,42700,o+8|0);Fa(1)}j=MO(f*24|0)|0;n=k+4|0;c[n>>2]=j;if(!j){_e(0,3,42700,o+16|0);Fa(1)}m=0;while(1){if((m|0)>=(f|0))break;g[i+(m<<4)>>3]=+g[d+(m<<4)>>3];g[i+(m<<4)+8>>3]=+g[d+(m<<4)+8>>3];g[j+(m*24|0)>>3]=+g[e+(m*24|0)>>3];g[j+(m*24|0)+8>>3]=+g[e+(m*24|0)+8>>3];g[j+(m*24|0)+16>>3]=+g[e+(m*24|0)+16>>3];m=m+1|0}c[k+8>>2]=f;if((Pe(c[a>>2]|0,k,b,h,l)|0)<0)g[l>>3]=1.0e8;NO(c[k>>2]|0);NO(c[n>>2]|0);zb=o;return +(+g[l>>3])}function $c(a,b){a=a|0;b=b|0;var d=0;d=MO(2064)|0;if(d|0){c[d>>2]=0;c[d+4>>2]=a;c[d+8>>2]=b}return d|0}function ad(a){a=a|0;if(a|0){NO(c[a>>2]|0);NO(a)}return}function bd(a,b){a=a|0;b=b|0;var e=0,f=0;a:do if((a|0)!=0&(b|0)!=0){hP(a+12|0,0,1024)|0;e=b+(C(c[a+8>>2]|0,c[a+4>>2]|0)|0)|0;while(1){if(b>>>0>=e>>>0){b=0;break a}f=a+12+((d[b>>0]|0)<<2)|0;c[f>>2]=(c[f>>2]|0)+1;b=b+1|0}}else b=-1;while(0);return b|0}function cd(a,b){a=a|0;b=b|0;var d=0;b=bd(a,b)|0;if((b|0)>=0){b=0;d=0;do{b=(c[a+12+(d<<2)>>2]|0)+b|0;c[a+1036+(d<<2)>>2]=b;d=d+1|0}while((d|0)!=256);b=0}return b|0}function dd(b,d,e,f){b=b|0;d=d|0;e=+e;f=f|0;var g=0,h=0,i=0,j=0;if(!(e<0.0|e>1.0)){d=cd(b,d)|0;if((d|0)>=0){i=~~(+(C(c[b+8>>2]|0,c[b+4>>2]|0)|0)*e)>>>0;g=0;while(1){j=g&255;d=c[b+1036+(j<<2)>>2]|0;if(d>>>0>>0)g=g+1<<24>>24;else break}while(1){h=g+1<<24>>24;if((d|0)!=(i|0))break;d=c[b+1036+((h&255)<<2)>>2]|0;g=h}a[f>>0]=((g&255)+j|0)>>>1;d=0}}else d=-1;return d|0}function ed(a,b,c){a=a|0;b=b|0;c=c|0;return dd(a,b,.5,c)|0}function fd(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0.0,h=0.0,i=0.0,j=0.0,k=0,l=0.0,m=0.0,n=0,o=0,p=0.0;d=bd(b,d)|0;if((d|0)>=0){d=1;m=0.0;do{m=m+ +((C(c[b+12+(d<<2)>>2]|0,d)|0)>>>0);d=d+1|0}while((d|0)!=256);j=+(C(c[b+8>>2]|0,c[b+4>>2]|0)|0);k=0;i=0.0;d=0;h=0.0;l=0.0;while(1){f=c[b+12+(k<<2)>>2]|0;l=l+ +(f>>>0);if(l!=0.0){g=j-l;if(g==0.0)break;p=i+ +((C(f,k)|0)>>>0);i=p/l-(m-p)/g;i=i*(l*g*i);n=i>h;o=k&255;f=o;g=p;d=n?o:d;h=n?i:h}else{f=k&255;g=i}if(f<<24>>24==-1)break;else{k=k+1|0;i=g}}a[e>>0]=d;d=0}return d|0}function gd(b,e,f,g){b=b|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;h=bd(b,e)|0;a:do if((h|0)>=0){if(!(c[b>>2]|0)){h=b+4|0;i=b+8|0;s=MO(C(c[i>>2]|0,c[h>>2]|0)|0)|0;c[b>>2]=s;if(!s){h=-1;break}else{s=h;r=i}}else{s=b+4|0;r=b+8|0}p=f>>1;q=0-p|0;o=0;while(1){h=c[r>>2]|0;if((o|0)>=(h|0))break;m=0;while(1){l=c[s>>2]|0;if((m|0)>=(l|0))break;i=0;n=q;f=0;while(1){if((n|0)>(p|0))break;h=n+o|0;b:do if((h|0)>=0?(h|0)<(c[r>>2]|0):0){k=C(h,l)|0;j=q;h=f;while(1){if((j|0)>(p|0))break b;f=j+m|0;if((f|0)>-1&(f|0)<(l|0)){i=i+1|0;h=h+(d[e+(f+k)>>0]|0)|0}j=j+1|0}}else h=f;while(0);n=n+1|0;f=h}a[(c[b>>2]|0)+((C(l,o)|0)+m)>>0]=(f|0)/(i|0)|0;m=m+1|0}o=o+1|0}if(!g)h=0;else{i=0;while(1){if((i|0)>=(C(h,c[s>>2]|0)|0)){h=0;break a}h=(c[b>>2]|0)+i|0;a[h>>0]=(d[h>>0]|0)+g;h=c[r>>2]|0;i=i+1|0}}}while(0);return h|0}function hd(a,b,c,d,e,f,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0;e=(e|0)==1;j=(i|0)!=0;do if(!d)if(e){if(j){e=ec(a,b,c,i,h)|0;break}if(!g){e=dc(a,b,c,f,h)|0;break}else{e=cc(a,b,c,f,h)|0;break}}else{if(j){e=hc(a,b,c,i,h)|0;break}if(!g){e=gc(a,b,c,f,h)|0;break}else{e=fc(a,b,c,f,h)|0;break}}else if(e){if(j){e=kc(a,b,c,i,h)|0;break}if(!g){e=jc(a,b,c,f,h)|0;break}else{e=ic(a,b,c,f,h)|0;break}}else{if(j){e=nc(a,b,c,i,h)|0;break}if(!g){e=mc(a,b,c,f,h)|0;break}else{e=lc(a,b,c,f,h)|0;break}}while(0);return e|0}function id(a,b){a=a|0;b=b|0;var d=0;if((a|0)!=0?(d=a+7062384|0,(c[d>>2]|0)==0):0){c[d>>2]=b;a=0}else a=-1;return a|0}function jd(a){a=a|0;var b=0;if((a|0)!=0?(b=a+7062384|0,(c[b>>2]|0)!=0):0){c[b>>2]=0;a=0}else a=-1;return a|0}function kd(){return ld(16,50)|0}function ld(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;q=zb;zb=zb+64|0;p=q+56|0;o=q+48|0;i=q+40|0;h=q+32|0;g=q+24|0;f=q+16|0;e=q+8|0;d=q;a:do if(!((a+-16|0)>>>0>48|(b|0)<1)){m=MO(32)|0;if(!m){_e(0,3,42700,d);Fa(1)}c[m>>2]=0;c[m+4>>2]=b;c[m+28>>2]=a;l=MO(b<<2)|0;c[m+8>>2]=l;if(!l){_e(0,3,42700,e);Fa(1)}d=b<<4;k=MO(d)|0;c[m+12>>2]=k;if(!k){_e(0,3,42700,f);Fa(1)}f=MO(d)|0;j=m+20|0;c[j>>2]=f;if(!f){_e(0,3,42700,g);Fa(1)}d=b<<5;g=MO(d)|0;c[m+16>>2]=g;if(!g){_e(0,3,42700,h);Fa(1)}h=MO(d)|0;c[m+24>>2]=h;if(!h){_e(0,3,42700,i);Fa(1)}h=C(a,a)|0;g=h*12|0;h=h<<2;e=0;b:while(1){if((e|0)>=(b|0)){n=m;break a}c[l+(e<<2)>>2]=0;a=e<<2;f=0;while(1){if(f>>>0>=4)break;i=MO(g)|0;d=f+a|0;c[k+(d<<2)>>2]=i;if(!i){d=19;break b}i=MO(h)|0;c[(c[j>>2]|0)+(d<<2)>>2]=i;if(!i){d=21;break b}else f=f+1|0}e=e+1|0}if((d|0)==19){_e(0,3,42700,o);Fa(1)}else if((d|0)==21){_e(0,3,42700,p);Fa(1)}}else n=0;while(0);zb=q;return n|0}function md(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;if(!a)b=-1;else{h=a+4|0;i=a+8|0;f=a+12|0;g=a+20|0;b=0;while(1){if((b|0)>=(c[h>>2]|0))break;if(c[(c[i>>2]|0)+(b<<2)>>2]|0)wd(a,b)|0;e=b<<2;d=0;while(1){if((d|0)==4)break;j=d+e|0;NO(c[(c[f>>2]|0)+(j<<2)>>2]|0);NO(c[(c[g>>2]|0)+(j<<2)>>2]|0);d=d+1|0}b=b+1|0}NO(c[f>>2]|0);NO(c[g>>2]|0);NO(c[i>>2]|0);NO(c[a+16>>2]|0);NO(c[a+24>>2]|0);NO(a);b=0}return b|0}function nd(b,e,f,h,i,j,k){b=b|0;e=e|0;f=f|0;h=h|0;i=i|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;u=zb;zb=zb+32|0;p=u+24|0;o=u;t=u+16|0;a:do if((e+-3|0)>>>0>5){c[f>>2]=-1;c[h>>2]=0;g[i>>3]=-1.0;l=-1}else{c[o>>2]=0;s=e+-1|0;c[o+4>>2]=C(s,e)|0;q=C(e,e)|0;c[o+8>>2]=q+-1;c[o+12>>2]=s;l=0;m=0;n=-1;while(1){if((l|0)==4)break;r=a[b+(c[o+(l<<2)>>2]|0)>>0]|0;l=l+1|0;m=(r&255)>(m&255)?r:m;n=(r&255)<(n&255)?r:n}m=m&255;l=n&255;if((m-l|0)<30){c[f>>2]=-1;c[h>>2]=0;g[i>>3]=-1.0;l=-2;break}n=(m+l|0)>>>1;l=0;while(1){if((l|0)==4)break;a[p+l>>0]=n>>>0>(d[b+(c[o+(l<<2)>>2]|0)>>0]|0)>>>0&1;l=l+1|0}m=0;while(1){if(m>>>0>=4){l=18;break}l=m+1|0;if(((a[p+m>>0]|0)==1?(a[p+(l&3)>>0]|0)==1:0)?(a[p+(m+2&3)>>0]|0)==0:0){l=17;break}m=l}if((l|0)==17)c[h>>2]=m;else if((l|0)==18?(m|0)==4:0){c[f>>2]=-1;c[h>>2]=0;g[i>>3]=-1.0;l=-3;break}r=255;l=0;while(1){if((l|0)==(q|0))break;o=b+l|0;m=d[o>>0]|0;p=m-n|0;p=(p|0)<0?0-p|0:p;a[o>>0]=n>>>0>m>>>0&1;r=(p|0)<(r|0)?p:r;l=l+1|0}m=c[h>>2]|0;b:do switch(m|0){case 0:{n=0;l=0;while(1){if((m|0)>=(e|0)){m=n;break b}p=(m|0)==(s|0);h=C(m,e)|0;o=0;while(1){if((o|0)==(e|0))break;if((o|m|0)!=0?!(p&((o|0)==0|(o|0)==(s|0))):0){n=$O(n|0,l|0,1)|0;l=G()|0;n=n|(a[b+(o+h)>>0]|0)!=0}o=o+1|0}m=m+1|0}}case 1:{m=0;l=0;h=0;while(1){if((h|0)>=(e|0))break b;o=(h|0)==0;p=(h|0)==(s|0);n=s;while(1){if((n|0)<=-1)break;q=(n|0)==(s|0);if(!(o&q)?!(p&(q|(n|0)==0)):0){m=$O(m|0,l|0,1)|0;l=G()|0;m=m|(a[b+((C(n,e)|0)+h)>>0]|0)!=0}n=n+-1|0}h=h+1|0}}case 2:{m=0;l=0;o=s;while(1){if((o|0)<=-1)break b;h=(o|0)==(s|0)|(o|0)==0;p=C(o,e)|0;n=s;while(1){if((n|0)<=-1)break;if(!(h&(n|0)==(s|0)|(n|o|0)==0)){m=$O(m|0,l|0,1)|0;l=G()|0;m=m|(a[b+(n+p)>>0]|0)!=0}n=n+-1|0}o=o+-1|0}}case 3:{m=0;l=0;h=s;while(1){if((h|0)<=-1)break b;o=(h|0)==(s|0);p=(h|0)==0;n=0;while(1){if((n|0)>=(e|0))break;if(!(o&(n|0)==0|(n|h|0)==0|p&(n|0)==(s|0))){m=$O(m|0,l|0,1)|0;l=G()|0;m=m|(a[b+((C(n,e)|0)+h)>>0]|0)!=0}n=n+1|0}h=h+-1|0}}default:{m=0;l=0}}while(0);g[i>>3]=(r|0)>30?1.0:+(r|0)/30.0;switch(j|0){case 259:{k=a[240+m>>0]|0;s=k<<24>>24;j=t;c[j>>2]=s;c[j+4>>2]=((s|0)<0)<<31>>31;if(k<<24>>24<0){c[f>>2]=-1;g[i>>3]=-1.0;l=-4;break a}break}case 515:{l=a[112+m>>0]|0;s=l<<24>>24;j=t;c[j>>2]=s;c[j+4>>2]=((s|0)<0)<<31>>31;if(k|0)c[k>>2]=d[176+m>>0];if(l<<24>>24<0){c[f>>2]=-1;g[i>>3]=-1.0;l=-4;break a}break}case 772:case 1028:case 1029:case 1285:{l=pd(j,m,l,0,t)|0;if((l|0)<0){c[f>>2]=-1;g[i>>3]=-1.0;l=-4;break a}if((k|0)!=0&(l|0)!=0)c[k>>2]=l;break}default:{k=t;c[k>>2]=m;c[k+4>>2]=l}}c[f>>2]=c[t>>2];l=0}while(0);zb=u;return l|0}function od(b,d,e,f,h,i,j){b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;i=i|0;j=j|0;var k=0,l=0,m=0.0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,v=0.0,w=0,x=0,y=0,z=0,A=0,B=0.0;z=zb;zb=zb+16|0;l=z+8|0;k=z;a:do if((b|0)==0|(f|0)<1){c[h>>2]=0;c[i>>2]=0;g[j>>3]=-1.0;d=-1}else switch(d|0){case 0:{w=C(f,f)|0;x=w*3|0;w=MO(w*12|0)|0;if(!w){_e(0,3,42700,k);Fa(1)}d=0;k=0;while(1){if((k|0)==(x|0))break;d=d+(~a[e+k>>0]&255)|0;k=k+1|0}d=(d>>>0)/(x>>>0)|0;k=0;l=0;while(1){if((k|0)==(x|0))break;t=(~a[e+k>>0]&255)-d|0;c[w+(k<<2)>>2]=t;k=k+1|0;l=(C(t,t)|0)+l|0}v=+u(+(+(l|0)));if(v/(+(f|0)*1.7320508)<15.0){c[h>>2]=0;c[i>>2]=0;g[j>>3]=-1.0;NO(w);d=-2;break a}r=c[b>>2]|0;t=b+8|0;s=b+12|0;q=b+16|0;d=-1;p=0;m=0.0;l=-1;e=-1;while(1){if((p|0)>=(r|0))break;k=c[t>>2]|0;b:while(1){d=d+1|0;switch(c[k+(d<<2)>>2]|0){case 0:break;case 2:{k=e;break b}default:{y=18;break b}}}c:do if((y|0)==18){y=0;o=d<<2;n=0;k=e;while(1){if((n|0)==4)break c;e=n+o|0;f=0;b=0;while(1){if((f|0)==(x|0))break;A=(C(c[(c[(c[s>>2]|0)+(e<<2)>>2]|0)+(f<<2)>>2]|0,c[w+(f<<2)>>2]|0)|0)+b|0;f=f+1|0;b=A}B=+(b|0)/+g[(c[q>>2]|0)+(e<<3)>>3]/v;A=B>m;b=A?n:l;n=n+1|0;m=A?B:m;l=b;k=A?d:k}}while(0);p=p+1|0;e=k}c[i>>2]=l;c[h>>2]=e;g[j>>3]=m;NO(w);d=0;break a}case 1:{x=C(f,f)|0;w=MO(x<<2)|0;if(!w){_e(0,3,42700,l);Fa(1)}d=0;k=0;while(1){if((k|0)==(x|0))break;d=d+(~a[e+k>>0]&255)|0;k=k+1|0}d=(d>>>0)/(x>>>0)|0;k=0;l=0;while(1){if((k|0)==(x|0))break;A=(~a[e+k>>0]&255)-d|0;c[w+(k<<2)>>2]=A;k=k+1|0;l=(C(A,A)|0)+l|0}v=+u(+(+(l|0)));if(v/+(f|0)<15.0){c[h>>2]=0;c[i>>2]=0;g[j>>3]=-1.0;NO(w);d=-2;break a}r=c[b>>2]|0;t=b+8|0;s=b+20|0;q=b+24|0;d=-1;p=0;m=0.0;l=-1;e=-1;while(1){if((p|0)>=(r|0))break;k=c[t>>2]|0;d:while(1){d=d+1|0;switch(c[k+(d<<2)>>2]|0){case 0:break;case 2:{k=e;break d}default:{y=40;break d}}}e:do if((y|0)==40){y=0;o=d<<2;n=0;k=e;while(1){if((n|0)==4)break e;e=n+o|0;f=0;b=0;while(1){if((f|0)==(x|0))break;A=(C(c[(c[(c[s>>2]|0)+(e<<2)>>2]|0)+(f<<2)>>2]|0,c[w+(f<<2)>>2]|0)|0)+b|0;f=f+1|0;b=A}B=+(b|0)/+g[(c[q>>2]|0)+(e<<3)>>3]/v;A=B>m;b=A?n:l;n=n+1|0;m=A?B:m;l=b;k=A?d:k}}while(0);p=p+1|0;e=k}c[i>>2]=l;c[h>>2]=e;g[j>>3]=m;NO(w);d=0;break a}default:{d=-1;break a}}while(0);zb=z;return d|0}function pd(b,e,f,g,h){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,H=0,I=0;I=zb;zb=zb+2384|0;n=I+2320|0;A=I+880|0;w=I+800|0;H=I+720|0;y=I+640|0;x=I+560|0;F=I+48|0;E=I;switch(b|0){case 2830:{z=688;t=1200;B=64;D=120;l=127;n=g;m=9;o=8;break}case 772:{i=432;j=624;b=9;k=13;l=15;m=1;o=5;break}case 1028:{i=432;j=624;b=5;k=13;l=15;m=2;o=5;break}case 1029:{b=12;g=2;o=4;break}case 1285:{b=7;g=3;o=4;break}default:b=-1}if((o|0)==4){i=304;j=496;k=22;l=31;m=g;o=5}a:do if((o|0)==5){g=0;while(1){if((g|0)==(k|0)){z=i;t=j;B=b;D=k;o=8;break a}a[n+g>>0]=e&1;D=_O(e|0,f|0,1)|0;e=D;f=G()|0;g=g+1|0}}while(0);b:do if((o|0)==8){s=m<<1;g=1;i=0;while(1){if((g|0)>(s|0))break;f=x+(g<<2)|0;c[f>>2]=0;b=0;e=0;while(1){if((e|0)>=(D|0))break;if(a[n+e>>0]|0){b=b^c[z+(((C(e,g)|0)%(l|0)|0)<<2)>>2];c[f>>2]=b}e=e+1|0}c[f>>2]=c[t+(b<<2)>>2];g=g+1|0;i=(b|0)==0?i:1}u=(i|0)!=0;c:do if(u){c[w>>2]=0;b=c[x+4>>2]|0;c[w+4>>2]=b;c[A>>2]=0;c[A+72>>2]=1;f=1;while(1){if((f|0)>=(s|0))break;c[A+(f<<2)>>2]=-1;c[A+72+(f<<2)>>2]=0;f=f+1|0}c[H>>2]=0;c[H+4>>2]=0;c[y>>2]=-1;c[y+4>>2]=0;q=0;r=0;while(1){i=r;r=r+1|0;d:do if((b|0)==-1){j=i+2|0;c[H+(j<<2)>>2]=q;b=0;while(1){if((b|0)>(q|0)){o=q;break d}p=A+(r*72|0)+(b<<2)|0;o=c[p>>2]|0;c[A+(j*72|0)+(b<<2)>>2]=o;c[p>>2]=c[t+(o<<2)>>2];b=b+1|0}}else{g=i;while(1){f=(g|0)>0;if(f&(c[w+(g<<2)>>2]|0)==-1)g=g+-1|0;else break}if(f){e=g;do{f=e;e=e+-1|0;if((c[w+(e<<2)>>2]|0)!=-1)g=(c[y+(g<<2)>>2]|0)<(c[y+(e<<2)>>2]|0)?e:g}while((f|0)>1)}e=H+(g<<2)|0;p=r-g|0;o=p+(c[e>>2]|0)|0;j=i+2|0;o=(q|0)>(o|0)?q:o;c[H+(j<<2)>>2]=o;f=0;while(1){if((f|0)>=(s|0))break;c[A+(j*72|0)+(f<<2)>>2]=0;f=f+1|0}i=b+l|0;k=w+(g<<2)|0;b=c[e>>2]|0;e=0;while(1){if((e|0)>(b|0))break;f=c[A+(g*72|0)+(e<<2)>>2]|0;if((f|0)!=-1)c[A+(j*72|0)+(p+e<<2)>>2]=c[z+(((i+f-(c[k>>2]|0)|0)%(l|0)|0)<<2)>>2];e=e+1|0}b=0;while(1){if((b|0)>(q|0))break d;p=A+(r*72|0)+(b<<2)|0;k=c[p>>2]|0;i=A+(j*72|0)+(b<<2)|0;c[i>>2]=c[i>>2]^k;c[p>>2]=c[t+(k<<2)>>2];b=b+1|0}}while(0);c[y+(j<<2)>>2]=r-o;if((r|0)>=(s|0))break;b=c[x+(j<<2)>>2]|0;if((b|0)==-1)b=0;else b=c[z+(b<<2)>>2]|0;e=w+(j<<2)|0;c[e>>2]=b;g=1;while(1){if((g|0)>(o|0))break;f=c[x+(j-g<<2)>>2]|0;if((f|0)!=-1?(v=c[A+(j*72|0)+(g<<2)>>2]|0,(v|0)!=0):0){b=b^c[z+((((c[t+(v<<2)>>2]|0)+f|0)%(l|0)|0)<<2)>>2];c[e>>2]=b}g=g+1|0}b=c[t+(b<<2)>>2]|0;c[e>>2]=b;if((o|0)>(m|0))break;else q=o}if((o|0)>(m|0)){b=-1;break b}b=0;while(1){if((b|0)>(o|0))break;y=A+(j*72|0)+(b<<2)|0;c[y>>2]=c[t+(c[y>>2]<<2)>>2];b=b+1|0}b=1;while(1){if((b|0)>(o|0))break;c[E+(b<<2)>>2]=c[A+(j*72|0)+(b<<2)>>2];b=b+1|0}b=0;k=1;while(1){if((l|0)<(k|0))break;i=1;f=1;while(1){if((i|0)>(o|0))break;e=E+(i<<2)|0;g=c[e>>2]|0;if((g|0)!=-1){A=(g+i|0)%(l|0)|0;c[e>>2]=A;f=c[z+(A<<2)>>2]^f}i=i+1|0}if(!f){c[F+(b<<2)>>2]=l-k;b=b+1|0}k=k+1|0}if((b|0)!=(o|0)){b=-1;break b}b=0;while(1){if((b|0)>=(o|0))break c;E=n+(c[F+(b<<2)>>2]|0)|0;a[E>>0]=a[E>>0]^1;b=b+1|0}}else j=0;while(0);f=h;c[f>>2]=0;c[f+4>>2]=0;f=1;g=0;e=0;i=0;b=D-B|0;while(1){if((b|0)>=(D|0))break;E=UO(f|0,g|0,d[n+b>>0]|0,0)|0;E=VO(E|0,G()|0,e|0,i|0)|0;F=G()|0;B=h;c[B>>2]=E;c[B+4>>2]=F;B=$O(f|0,g|0,1)|0;f=B;g=G()|0;e=E;i=F;b=b+1|0}if(u)b=c[H+(j<<2)>>2]|0;else b=0}while(0);zb=I;return b|0}function qd(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;f=Jd(8,8)|0;h=Jd(8,1)|0;i=Jd(8,1)|0;e=0;while(1){if((e|0)==4)break;o=a+(e<<4)|0;j=c[f>>2]|0;k=e<<4;g[j+(k<<3)>>3]=+g[o>>3];n=a+(e<<4)+8|0;g[j+((k|1)<<3)>>3]=+g[n>>3];g[j+((k|2)<<3)>>3]=1.0;g[j+((k|3)<<3)>>3]=0.0;g[j+((k|4)<<3)>>3]=0.0;g[j+((k|5)<<3)>>3]=0.0;m=b+(e<<4)|0;g[j+((k|6)<<3)>>3]=-(+g[o>>3]*+g[m>>3]);g[j+((k|7)<<3)>>3]=-(+g[n>>3]*+g[m>>3]);g[j+((k|8)<<3)>>3]=0.0;g[j+((k|9)<<3)>>3]=0.0;g[j+((k|10)<<3)>>3]=0.0;g[j+((k|11)<<3)>>3]=+g[o>>3];g[j+((k|12)<<3)>>3]=+g[n>>3];g[j+((k|13)<<3)>>3]=1.0;l=b+(e<<4)+8|0;g[j+((k|14)<<3)>>3]=-(+g[o>>3]*+g[l>>3]);g[j+((k|15)<<3)>>3]=-(+g[n>>3]*+g[l>>3]);k=c[h>>2]|0;j=e<<1;g[k+(j<<3)>>3]=+g[m>>3];g[k+((j|1)<<3)>>3]=+g[l>>3];e=e+1|0}be(f)|0;Td(i,f,h)|0;e=c[i>>2]|0;b=0;while(1){if((b|0)==2)break;o=b*3|0;g[d+(b*24|0)>>3]=+g[e+(o<<3)>>3];g[d+(b*24|0)+8>>3]=+g[e+(o+1<<3)>>3];g[d+(b*24|0)+16>>3]=+g[e+(o+2<<3)>>3];b=b+1|0}g[d+48>>3]=+g[e+48>>3];g[d+56>>3]=+g[e+56>>3];g[d+64>>3]=1.0;Rd(f)|0;Rd(h)|0;Rd(i)|0;return}function rd(a,b,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=+k;l=l|0;m=m|0;n=n|0;o=o|0;p=p|0;q=q|0;r=r|0;s=s|0;t=t|0;var u=0,v=0,w=0;w=zb;zb=zb+12304|0;v=w;u=w+12288|0;do if((d+-2|0)>>>0<3){if((r|0)!=2830){u=r&255;if((sd(b,2,u,u*3|0,e,f,g,h,i,j,k,v)|0)<0){c[o>>2]=-1;s=-6;break}u=nd(v,u,o,p,q,r,s)|0;if(!t){s=u;break}s=t;c[s>>2]=0;c[s+4>>2]=0;s=u;break}if((sd(b,2,14,42,e,f,g,h,i,j,.875,v)|0)<0){c[o>>2]=-1;s=-6;break}s=td(v,u,p,q,s)|0;if((s|0)<0){c[o>>2]=-1;break}q=u;u=c[q>>2]|0;q=c[q+4>>2]|0;if((u|0)==-1&(q|0)==-1){c[o>>2]=-1;s=-5;break}c[o>>2]=(u&-32768|0)==0&0==0?u&32767:0;if(t){c[t>>2]=u;c[t+4>>2]=q}}else s=1;while(0);a:do switch(d|0){case 0:case 1:case 3:case 4:{if(!a){c[l>>2]=-1;u=-1;break a}p=a+28|0;u=c[p>>2]|0;q=u<<2;switch(d|0){case 0:case 3:if((sd(b,0,u,q,e,f,g,h,i,j,k,v)|0)<0){c[l>>2]=-1;u=-6;break a}else{u=od(a,0,v,c[p>>2]|0,l,m,n)|0;break a}default:if((sd(b,1,u,q,e,f,g,h,i,j,k,v)|0)<0){c[l>>2]=-1;u=-6;break a}else{u=od(a,1,v,c[p>>2]|0,l,m,n)|0;break a}}}default:u=1}while(0);if((s|0)!=1)u=(u|0)==1?s:(u&s|0)<0?u:0;zb=w;return u|0} +function sd(b,e,h,i,j,k,l,m,n,o,p,q){b=b|0;e=e|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;m=m|0;n=n|0;o=o|0;p=+p;q=q|0;var r=0,s=0,t=0,u=0.0,v=0.0,w=0.0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0.0,G=0.0,H=0,I=0.0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0.0,T=0.0,U=0.0,V=0.0,W=0,X=0;R=zb;zb=zb+256|0;y=R+232|0;x=R+224|0;A=R+216|0;z=R+208|0;t=R+144|0;s=R+80|0;N=R;O=R+240|0;P=R+236|0;g[t>>3]=100.0;g[t+8>>3]=100.0;g[t+16>>3]=110.0;g[t+24>>3]=100.0;g[t+32>>3]=110.0;g[t+40>>3]=110.0;g[t+48>>3]=100.0;g[t+56>>3]=110.0;r=0;while(1){if((r|0)==4)break;g[s+(r<<4)>>3]=+g[o+(r<<4)>>3];g[s+(r<<4)+8>>3]=+g[o+(r<<4)+8>>3];r=r+1|0}qd(t,s,N);G=+g[s>>3];T=+g[s+16>>3];w=G-T;I=+g[s+8>>3];S=+g[s+24>>3];u=I-S;r=~~(w*w+u*u);u=+g[s+32>>3];w=+g[s+48>>3];V=u-w;v=+g[s+40>>3];F=+g[s+56>>3];U=v-F;L=~~(V*V+U*U);u=T-u;v=S-v;o=~~(u*u+v*v);G=w-G;I=F-I;M=~~(G*G+I*I);r=~~(+(((L|0)>(r|0)?L:r)|0)*p*p);o=~~(+(((M|0)>(o|0)?M:o)|0)*p*p);if(!b){s=h;while(1)if((s|0)<(i|0)&(C(s,s)|0)<(r|0))s=s<<1;else break;r=h;while(1)if((r|0)<(i|0)&(C(r,r)|0)<(o|0))r=r<<1;else break}else{s=h;while(1)if((s|0)<(i|0)&(C(s<<2,s)|0)<(r|0))s=s<<1;else break;r=h;while(1)if((r|0)<(i|0)&(C(r<<2,r)|0)<(o|0))r=r<<1;else break}M=(s|0)>(i|0)?i:s;L=(r|0)>(i|0)?i:r;J=(M|0)/(h|0)|0;K=(L|0)/(h|0)|0;u=(1.0-p)*.5*10.0;I=p*10.0;H=C(h,h)|0;a:do if(!e){H=H*3|0;r=OO(H,4)|0;if(!r){_e(0,3,42700,z);Fa(1)}b:do switch(m|0){case 0:{w=u+100.0;F=+(L|0);G=+(M|0);x=N+48|0;y=N+56|0;z=N+64|0;A=N+8|0;m=N+16|0;B=N+24|0;D=N+32|0;E=N+40|0;t=(b|0)==1;e=0;while(1){if((e|0)>=(L|0))break b;v=w+I*(+(e|0)+.5)/F;i=0;while(1){if((i|0)>=(M|0))break;u=w+I*(+(i|0)+.5)/G;p=+g[z>>3]+(u*+g[x>>3]+v*+g[y>>3]);if(p==0.0){Q=306;break a}V=(+g[m>>3]+(u*+g[N>>3]+v*+g[A>>3]))/p;f[O>>2]=V;u=(+g[E>>3]+(u*+g[B>>3]+v*+g[D>>3]))/p;f[P>>2]=u;ue(n,V,u,O,P)|0;u=+f[O>>2];if(t){s=((~~(u+1.0)|0)/2|0)<<1;o=((~~(+f[P>>2]+1.0)|0)/2|0)<<1}else{s=~~(u+.5);o=~~(+f[P>>2]+.5)}if((s|0)>-1?(o|0)<(l|0)&((o|0)>-1&(s|0)<(k|0)):0){o=((C(o,k)|0)+s|0)*3|0;b=((C((e|0)/(K|0)|0,h)|0)+((i|0)/(J|0)|0)|0)*3|0;s=r+(b<<2)|0;c[s>>2]=(c[s>>2]|0)+(d[j+(o+2)>>0]|0);s=r+(b+1<<2)|0;c[s>>2]=(c[s>>2]|0)+(d[j+(o+1)>>0]|0);b=r+(b+2<<2)|0;c[b>>2]=(c[b>>2]|0)+(d[j+o>>0]|0)}i=i+1|0}e=e+1|0}}case 1:{w=u+100.0;F=+(L|0);G=+(M|0);x=N+48|0;y=N+56|0;z=N+64|0;A=N+8|0;m=N+16|0;B=N+24|0;D=N+32|0;E=N+40|0;t=(b|0)==1;e=0;while(1){if((e|0)>=(L|0))break b;v=w+I*(+(e|0)+.5)/F;i=0;while(1){if((i|0)>=(M|0))break;u=w+I*(+(i|0)+.5)/G;p=+g[z>>3]+(u*+g[x>>3]+v*+g[y>>3]);if(p==0.0){Q=306;break a}V=(+g[m>>3]+(u*+g[N>>3]+v*+g[A>>3]))/p;f[O>>2]=V;u=(+g[E>>3]+(u*+g[B>>3]+v*+g[D>>3]))/p;f[P>>2]=u;ue(n,V,u,O,P)|0;u=+f[O>>2];if(t){s=((~~(u+1.0)|0)/2|0)<<1;o=((~~(+f[P>>2]+1.0)|0)/2|0)<<1}else{s=~~(u+.5);o=~~(+f[P>>2]+.5)}if((s|0)>-1?(o|0)<(l|0)&((o|0)>-1&(s|0)<(k|0)):0){o=((C(o,k)|0)+s|0)*3|0;b=((C((e|0)/(K|0)|0,h)|0)+((i|0)/(J|0)|0)|0)*3|0;s=r+(b<<2)|0;c[s>>2]=(c[s>>2]|0)+(d[j+o>>0]|0);s=r+(b+1<<2)|0;c[s>>2]=(c[s>>2]|0)+(d[j+(o+1)>>0]|0);b=r+(b+2<<2)|0;c[b>>2]=(c[b>>2]|0)+(d[j+(o+2)>>0]|0)}i=i+1|0}e=e+1|0}}case 2:{w=u+100.0;F=+(L|0);G=+(M|0);x=N+48|0;y=N+56|0;z=N+64|0;A=N+8|0;m=N+16|0;B=N+24|0;D=N+32|0;E=N+40|0;t=(b|0)==1;e=0;while(1){if((e|0)>=(L|0))break b;v=w+I*(+(e|0)+.5)/F;i=0;while(1){if((i|0)>=(M|0))break;u=w+I*(+(i|0)+.5)/G;p=+g[z>>3]+(u*+g[x>>3]+v*+g[y>>3]);if(p==0.0){Q=306;break a}V=(+g[m>>3]+(u*+g[N>>3]+v*+g[A>>3]))/p;f[O>>2]=V;u=(+g[E>>3]+(u*+g[B>>3]+v*+g[D>>3]))/p;f[P>>2]=u;ue(n,V,u,O,P)|0;u=+f[O>>2];if(t){s=((~~(u+1.0)|0)/2|0)<<1;o=((~~(+f[P>>2]+1.0)|0)/2|0)<<1}else{s=~~(u+.5);o=~~(+f[P>>2]+.5)}if((s|0)>-1?(o|0)<(l|0)&((o|0)>-1&(s|0)<(k|0)):0){o=(C(o,k)|0)+s<<2;b=((C((e|0)/(K|0)|0,h)|0)+((i|0)/(J|0)|0)|0)*3|0;s=r+(b<<2)|0;c[s>>2]=(c[s>>2]|0)+(d[j+(o|2)>>0]|0);s=r+(b+1<<2)|0;c[s>>2]=(c[s>>2]|0)+(d[j+(o|1)>>0]|0);b=r+(b+2<<2)|0;c[b>>2]=(c[b>>2]|0)+(d[j+o>>0]|0)}i=i+1|0}e=e+1|0}}case 3:{w=u+100.0;F=+(L|0);G=+(M|0);x=N+48|0;y=N+56|0;z=N+64|0;A=N+8|0;m=N+16|0;B=N+24|0;D=N+32|0;E=N+40|0;t=(b|0)==1;e=0;while(1){if((e|0)>=(L|0))break b;v=w+I*(+(e|0)+.5)/F;i=0;while(1){if((i|0)>=(M|0))break;u=w+I*(+(i|0)+.5)/G;p=+g[z>>3]+(u*+g[x>>3]+v*+g[y>>3]);if(p==0.0){Q=306;break a}V=(+g[m>>3]+(u*+g[N>>3]+v*+g[A>>3]))/p;f[O>>2]=V;u=(+g[E>>3]+(u*+g[B>>3]+v*+g[D>>3]))/p;f[P>>2]=u;ue(n,V,u,O,P)|0;u=+f[O>>2];if(t){s=((~~(u+1.0)|0)/2|0)<<1;o=((~~(+f[P>>2]+1.0)|0)/2|0)<<1}else{s=~~(u+.5);o=~~(+f[P>>2]+.5)}if((s|0)>-1?(o|0)<(l|0)&((o|0)>-1&(s|0)<(k|0)):0){o=(C(o,k)|0)+s<<2;b=((C((e|0)/(K|0)|0,h)|0)+((i|0)/(J|0)|0)|0)*3|0;s=r+(b<<2)|0;c[s>>2]=(c[s>>2]|0)+(d[j+o>>0]|0);s=r+(b+1<<2)|0;c[s>>2]=(c[s>>2]|0)+(d[j+(o|1)>>0]|0);b=r+(b+2<<2)|0;c[b>>2]=(c[b>>2]|0)+(d[j+(o|2)>>0]|0)}i=i+1|0}e=e+1|0}}case 4:{w=u+100.0;F=+(L|0);G=+(M|0);x=N+48|0;y=N+56|0;z=N+64|0;A=N+8|0;m=N+16|0;B=N+24|0;D=N+32|0;E=N+40|0;t=(b|0)==1;e=0;while(1){if((e|0)>=(L|0))break b;v=w+I*(+(e|0)+.5)/F;i=0;while(1){if((i|0)>=(M|0))break;u=w+I*(+(i|0)+.5)/G;p=+g[z>>3]+(u*+g[x>>3]+v*+g[y>>3]);if(p==0.0){Q=306;break a}V=(+g[m>>3]+(u*+g[N>>3]+v*+g[A>>3]))/p;f[O>>2]=V;u=(+g[E>>3]+(u*+g[B>>3]+v*+g[D>>3]))/p;f[P>>2]=u;ue(n,V,u,O,P)|0;u=+f[O>>2];if(t){s=((~~(u+1.0)|0)/2|0)<<1;o=((~~(+f[P>>2]+1.0)|0)/2|0)<<1}else{s=~~(u+.5);o=~~(+f[P>>2]+.5)}if((s|0)>-1?(o|0)<(l|0)&((o|0)>-1&(s|0)<(k|0)):0){o=(C(o,k)|0)+s<<2;b=((C((e|0)/(K|0)|0,h)|0)+((i|0)/(J|0)|0)|0)*3|0;s=r+(b<<2)|0;c[s>>2]=(c[s>>2]|0)+(d[j+(o|1)>>0]|0);s=r+(b+1<<2)|0;c[s>>2]=(c[s>>2]|0)+(d[j+(o|2)>>0]|0);b=r+(b+2<<2)|0;c[b>>2]=(c[b>>2]|0)+(d[j+(o|3)>>0]|0)}i=i+1|0}e=e+1|0}}case 5:case 12:case 13:case 14:{w=u+100.0;F=+(L|0);G=+(M|0);x=N+48|0;y=N+56|0;z=N+64|0;A=N+8|0;m=N+16|0;B=N+24|0;D=N+32|0;E=N+40|0;t=(b|0)==1;e=0;while(1){if((e|0)>=(L|0))break b;v=w+I*(+(e|0)+.5)/F;i=0;while(1){if((i|0)>=(M|0))break;u=w+I*(+(i|0)+.5)/G;p=+g[z>>3]+(u*+g[x>>3]+v*+g[y>>3]);if(p==0.0){Q=306;break a}V=(+g[m>>3]+(u*+g[N>>3]+v*+g[A>>3]))/p;f[O>>2]=V;u=(+g[E>>3]+(u*+g[B>>3]+v*+g[D>>3]))/p;f[P>>2]=u;ue(n,V,u,O,P)|0;u=+f[O>>2];if(t){s=((~~(u+1.0)|0)/2|0)<<1;o=((~~(+f[P>>2]+1.0)|0)/2|0)<<1}else{s=~~(u+.5);o=~~(+f[P>>2]+.5)}if((s|0)>-1?(o|0)<(l|0)&((o|0)>-1&(s|0)<(k|0)):0){o=d[j+((C(o,k)|0)+s)>>0]|0;b=((C((e|0)/(K|0)|0,h)|0)+((i|0)/(J|0)|0)|0)*3|0;s=r+(b<<2)|0;c[s>>2]=(c[s>>2]|0)+o;s=r+(b+1<<2)|0;c[s>>2]=(c[s>>2]|0)+o;b=r+(b+2<<2)|0;c[b>>2]=(c[b>>2]|0)+o}i=i+1|0}e=e+1|0}}case 6:{w=u+100.0;F=+(L|0);G=+(M|0);x=N+48|0;y=N+56|0;z=N+64|0;A=N+8|0;m=N+16|0;B=N+24|0;D=N+32|0;E=N+40|0;t=(b|0)==1;e=0;while(1){if((e|0)>=(L|0))break b;v=w+I*(+(e|0)+.5)/F;i=0;while(1){if((i|0)>=(M|0))break;u=w+I*(+(i|0)+.5)/G;p=+g[z>>3]+(u*+g[x>>3]+v*+g[y>>3]);if(p==0.0){Q=306;break a}V=(+g[m>>3]+(u*+g[N>>3]+v*+g[A>>3]))/p;f[O>>2]=V;u=(+g[E>>3]+(u*+g[B>>3]+v*+g[D>>3]))/p;f[P>>2]=u;ue(n,V,u,O,P)|0;u=+f[O>>2];if(t){s=((~~(u+1.0)|0)/2|0)<<1;o=((~~(+f[P>>2]+1.0)|0)/2|0)<<1}else{s=~~(u+.5);o=~~(+f[P>>2]+.5)}if((s|0)>-1?(o|0)<(l|0)&((o|0)>-1&(s|0)<(k|0)):0){o=(C(o,k)|0)+s<<2;b=((C((e|0)/(K|0)|0,h)|0)+((i|0)/(J|0)|0)|0)*3|0;s=r+(b<<2)|0;c[s>>2]=(c[s>>2]|0)+(d[j+(o|3)>>0]|0);s=r+(b+1<<2)|0;c[s>>2]=(c[s>>2]|0)+(d[j+(o|2)>>0]|0);b=r+(b+2<<2)|0;c[b>>2]=(c[b>>2]|0)+(d[j+(o|1)>>0]|0)}i=i+1|0}e=e+1|0}}case 7:{w=u+100.0;F=+(L|0);G=+(M|0);x=N+48|0;y=N+56|0;z=N+64|0;A=N+8|0;m=N+16|0;B=N+24|0;D=N+32|0;E=N+40|0;t=(b|0)==1;e=0;while(1){if((e|0)>=(L|0))break b;v=w+I*(+(e|0)+.5)/F;i=0;while(1){if((i|0)>=(M|0))break;u=w+I*(+(i|0)+.5)/G;p=+g[z>>3]+(u*+g[x>>3]+v*+g[y>>3]);if(p==0.0){Q=306;break a}V=(+g[m>>3]+(u*+g[N>>3]+v*+g[A>>3]))/p;f[O>>2]=V;u=(+g[E>>3]+(u*+g[B>>3]+v*+g[D>>3]))/p;f[P>>2]=u;ue(n,V,u,O,P)|0;u=+f[O>>2];if(t){s=((~~(u+1.0)|0)/2|0)<<1;o=((~~(+f[P>>2]+1.0)|0)/2|0)<<1}else{s=~~(u+.5);o=~~(+f[P>>2]+.5)}if((s|0)>-1?(o|0)<(l|0)&((o|0)>-1&(s|0)<(k|0)):0){X=C(o,k)|0;W=(s&65534)+X<<1;T=+((d[j+W>>0]|0)+-128|0);V=+((d[j+(W+2)>>0]|0)+-128|0);U=+((d[j+(X+s<<1|1)>>0]|0)+-16|0)*298.0820007324219;X=~~(T*516.4110107421875+U)>>8;W=~~(U-T*100.29100036621094-V*208.1199951171875)>>8;o=~~(U+V*408.5830078125)>>8;X=(X|0)>0?X:0;b=((C((e|0)/(K|0)|0,h)|0)+((i|0)/(J|0)|0)|0)*3|0;s=r+(b<<2)|0;c[s>>2]=((X|0)<255?X:255)+(c[s>>2]|0);W=(W|0)>0?W:0;s=r+(b+1<<2)|0;c[s>>2]=((W|0)<255?W:255)+(c[s>>2]|0);o=(o|0)>0?o:0;b=r+(b+2<<2)|0;c[b>>2]=((o|0)<255?o:255)+(c[b>>2]|0)}i=i+1|0}e=e+1|0}}case 8:{w=u+100.0;F=+(L|0);G=+(M|0);x=N+48|0;y=N+56|0;z=N+64|0;A=N+8|0;m=N+16|0;B=N+24|0;D=N+32|0;E=N+40|0;t=(b|0)==1;e=0;while(1){if((e|0)>=(L|0))break b;v=w+I*(+(e|0)+.5)/F;i=0;while(1){if((i|0)>=(M|0))break;u=w+I*(+(i|0)+.5)/G;p=+g[z>>3]+(u*+g[x>>3]+v*+g[y>>3]);if(p==0.0){Q=306;break a}V=(+g[m>>3]+(u*+g[N>>3]+v*+g[A>>3]))/p;f[O>>2]=V;u=(+g[E>>3]+(u*+g[B>>3]+v*+g[D>>3]))/p;f[P>>2]=u;ue(n,V,u,O,P)|0;u=+f[O>>2];if(t){s=((~~(u+1.0)|0)/2|0)<<1;o=((~~(+f[P>>2]+1.0)|0)/2|0)<<1}else{s=~~(u+.5);o=~~(+f[P>>2]+.5)}if((s|0)>-1?(o|0)<(l|0)&((o|0)>-1&(s|0)<(k|0)):0){o=C(o,k)|0;W=(s&65534)+o<<1;T=+((d[j+(W|1)>>0]|0)+-128|0);V=+((d[j+(W+3)>>0]|0)+-128|0);U=+((d[j+(o+s<<1)>>0]|0)+-16|0)*298.0820007324219;s=~~(U+T*516.4110107421875)>>8;o=~~(U-T*100.29100036621094-V*208.1199951171875)>>8;W=~~(U+V*408.5830078125)>>8;s=(s|0)>0?s:0;X=((C((e|0)/(K|0)|0,h)|0)+((i|0)/(J|0)|0)|0)*3|0;b=r+(X<<2)|0;c[b>>2]=((s|0)<255?s:255)+(c[b>>2]|0);o=(o|0)>0?o:0;b=r+(X+1<<2)|0;c[b>>2]=((o|0)<255?o:255)+(c[b>>2]|0);W=(W|0)>0?W:0;X=r+(X+2<<2)|0;c[X>>2]=((W|0)<255?W:255)+(c[X>>2]|0)}i=i+1|0}e=e+1|0}}case 9:{w=u+100.0;F=+(L|0);G=+(M|0);x=N+48|0;y=N+56|0;z=N+64|0;A=N+8|0;m=N+16|0;B=N+24|0;D=N+32|0;E=N+40|0;t=(b|0)==1;e=0;while(1){if((e|0)>=(L|0))break b;v=w+I*(+(e|0)+.5)/F;i=0;while(1){if((i|0)>=(M|0))break;u=w+I*(+(i|0)+.5)/G;p=+g[z>>3]+(u*+g[x>>3]+v*+g[y>>3]);if(p==0.0){Q=306;break a}V=(+g[m>>3]+(u*+g[N>>3]+v*+g[A>>3]))/p;f[O>>2]=V;u=(+g[E>>3]+(u*+g[B>>3]+v*+g[D>>3]))/p;f[P>>2]=u;ue(n,V,u,O,P)|0;u=+f[O>>2];if(t){s=((~~(u+1.0)|0)/2|0)<<1;o=((~~(+f[P>>2]+1.0)|0)/2|0)<<1}else{s=~~(u+.5);o=~~(+f[P>>2]+.5)}if((s|0)>-1?(o|0)<(l|0)&((o|0)>-1&(s|0)<(k|0)):0){W=(C(o,k)|0)+s<<1;o=a[j+(W|1)>>0]|0;X=((C((e|0)/(K|0)|0,h)|0)+((i|0)/(J|0)|0)|0)*3|0;b=r+(X<<2)|0;c[b>>2]=(c[b>>2]|0)+((o<<3&255|4)&255);W=a[j+W>>0]|0;b=r+(X+1<<2)|0;c[b>>2]=((o&-32&255)>>>3|W<<5&255|2)+(c[b>>2]|0);X=r+(X+2<<2)|0;c[X>>2]=(c[X>>2]|0)+((W&-8|4)&255)}i=i+1|0}e=e+1|0}}case 10:{w=u+100.0;F=+(L|0);G=+(M|0);x=N+48|0;y=N+56|0;z=N+64|0;A=N+8|0;m=N+16|0;B=N+24|0;D=N+32|0;E=N+40|0;t=(b|0)==1;e=0;while(1){if((e|0)>=(L|0))break b;v=w+I*(+(e|0)+.5)/F;i=0;while(1){if((i|0)>=(M|0))break;u=w+I*(+(i|0)+.5)/G;p=+g[z>>3]+(u*+g[x>>3]+v*+g[y>>3]);if(p==0.0){Q=306;break a}V=(+g[m>>3]+(u*+g[N>>3]+v*+g[A>>3]))/p;f[O>>2]=V;u=(+g[E>>3]+(u*+g[B>>3]+v*+g[D>>3]))/p;f[P>>2]=u;ue(n,V,u,O,P)|0;u=+f[O>>2];if(t){s=((~~(u+1.0)|0)/2|0)<<1;o=((~~(+f[P>>2]+1.0)|0)/2|0)<<1}else{s=~~(u+.5);o=~~(+f[P>>2]+.5)}if((s|0)>-1?(o|0)<(l|0)&((o|0)>-1&(s|0)<(k|0)):0){W=(C(o,k)|0)+s<<1;o=a[j+(W|1)>>0]|0;X=((C((e|0)/(K|0)|0,h)|0)+((i|0)/(J|0)|0)|0)*3|0;b=r+(X<<2)|0;c[b>>2]=(c[b>>2]|0)+((o<<2&255|4)&255);W=a[j+W>>0]|0;b=r+(X+1<<2)|0;c[b>>2]=((o&-64&255)>>>3|W<<5&255|4)+(c[b>>2]|0);X=r+(X+2<<2)|0;c[X>>2]=(c[X>>2]|0)+((W&-8|4)&255)}i=i+1|0}e=e+1|0}}case 11:{w=u+100.0;F=+(L|0);G=+(M|0);x=N+48|0;y=N+56|0;z=N+64|0;A=N+8|0;m=N+16|0;B=N+24|0;D=N+32|0;E=N+40|0;t=(b|0)==1;e=0;while(1){if((e|0)>=(L|0))break b;v=w+I*(+(e|0)+.5)/F;i=0;while(1){if((i|0)>=(M|0))break;u=w+I*(+(i|0)+.5)/G;p=+g[z>>3]+(u*+g[x>>3]+v*+g[y>>3]);if(p==0.0){Q=306;break a}V=(+g[m>>3]+(u*+g[N>>3]+v*+g[A>>3]))/p;f[O>>2]=V;u=(+g[E>>3]+(u*+g[B>>3]+v*+g[D>>3]))/p;f[P>>2]=u;ue(n,V,u,O,P)|0;u=+f[O>>2];if(t){s=((~~(u+1.0)|0)/2|0)<<1;o=((~~(+f[P>>2]+1.0)|0)/2|0)<<1}else{s=~~(u+.5);o=~~(+f[P>>2]+.5)}if((s|0)>-1?(o|0)<(l|0)&((o|0)>-1&(s|0)<(k|0)):0){W=(C(o,k)|0)+s<<1;X=((C((e|0)/(K|0)|0,h)|0)+((i|0)/(J|0)|0)|0)*3|0;b=r+(X<<2)|0;c[b>>2]=(c[b>>2]|0)+((a[j+(W|1)>>0]&-16|8)&255);W=a[j+W>>0]|0;b=r+(X+1<<2)|0;c[b>>2]=(c[b>>2]|0)+((W<<4&255|8)&255);X=r+(X+2<<2)|0;c[X>>2]=(c[X>>2]|0)+((W&-16|8)&255)}i=i+1|0}e=e+1|0}}default:{_e(0,3,20166,A);Q=306;break a}}while(0);o=C(K,J)|0;s=0;while(1){if((s|0)==(H|0))break;a[q+s>>0]=((c[r+(s<<2)>>2]|0)>>>0)/(o>>>0)|0;s=s+1|0}NO(r);r=0}else{r=OO(H,4)|0;if(!r){_e(0,3,42700,x);Fa(1)}c:do if(m>>>0<2){w=u+100.0;F=+(L|0);G=+(M|0);x=N+48|0;y=N+56|0;z=N+64|0;A=N+8|0;m=N+16|0;B=N+24|0;D=N+32|0;E=N+40|0;t=(b|0)==1;e=0;while(1){if((e|0)>=(L|0))break c;v=w+I*(+(e|0)+.5)/F;i=0;while(1){if((i|0)>=(M|0))break;u=w+I*(+(i|0)+.5)/G;p=+g[z>>3]+(u*+g[x>>3]+v*+g[y>>3]);if(p==0.0){Q=306;break a}V=(+g[m>>3]+(u*+g[N>>3]+v*+g[A>>3]))/p;f[O>>2]=V;u=(+g[E>>3]+(u*+g[B>>3]+v*+g[D>>3]))/p;f[P>>2]=u;ue(n,V,u,O,P)|0;u=+f[O>>2];if(t){s=((~~(u+1.0)|0)/2|0)<<1;o=((~~(+f[P>>2]+1.0)|0)/2|0)<<1}else{s=~~(u+.5);o=~~(+f[P>>2]+.5)}if((s|0)>-1?(o|0)<(l|0)&((o|0)>-1&(s|0)<(k|0)):0){W=((C(o,k)|0)+s|0)*3|0;X=r+((C((e|0)/(K|0)|0,h)|0)+((i|0)/(J|0)|0)<<2)|0;c[X>>2]=(c[X>>2]|0)+((((d[j+(W+1)>>0]|0)+(d[j+W>>0]|0)+(d[j+(W+2)>>0]|0)|0)>>>0)/3|0)}i=i+1|0}e=e+1|0}}else{if((m|1|0)==3){w=u+100.0;F=+(L|0);G=+(M|0);x=N+48|0;y=N+56|0;z=N+64|0;A=N+8|0;m=N+16|0;B=N+24|0;D=N+32|0;E=N+40|0;t=(b|0)==1;e=0;while(1){if((e|0)>=(L|0))break c;v=w+I*(+(e|0)+.5)/F;i=0;while(1){if((i|0)>=(M|0))break;u=w+I*(+(i|0)+.5)/G;p=+g[z>>3]+(u*+g[x>>3]+v*+g[y>>3]);if(p==0.0){Q=306;break a}V=(+g[m>>3]+(u*+g[N>>3]+v*+g[A>>3]))/p;f[O>>2]=V;u=(+g[E>>3]+(u*+g[B>>3]+v*+g[D>>3]))/p;f[P>>2]=u;ue(n,V,u,O,P)|0;u=+f[O>>2];if(t){s=((~~(u+1.0)|0)/2|0)<<1;o=((~~(+f[P>>2]+1.0)|0)/2|0)<<1}else{s=~~(u+.5);o=~~(+f[P>>2]+.5)}if((s|0)>-1?(o|0)<(l|0)&((o|0)>-1&(s|0)<(k|0)):0){W=(C(o,k)|0)+s<<2;X=r+((C((e|0)/(K|0)|0,h)|0)+((i|0)/(J|0)|0)<<2)|0;c[X>>2]=(c[X>>2]|0)+((((d[j+(W|1)>>0]|0)+(d[j+W>>0]|0)+(d[j+(W|2)>>0]|0)|0)>>>0)/3|0)}i=i+1|0}e=e+1|0}}if((m|2|0)==6){w=u+100.0;F=+(L|0);G=+(M|0);x=N+48|0;y=N+56|0;z=N+64|0;A=N+8|0;m=N+16|0;B=N+24|0;D=N+32|0;E=N+40|0;t=(b|0)==1;e=0;while(1){if((e|0)>=(L|0))break c;v=w+I*(+(e|0)+.5)/F;i=0;while(1){if((i|0)>=(M|0))break;u=w+I*(+(i|0)+.5)/G;p=+g[z>>3]+(u*+g[x>>3]+v*+g[y>>3]);if(p==0.0){Q=306;break a}V=(+g[m>>3]+(u*+g[N>>3]+v*+g[A>>3]))/p;f[O>>2]=V;u=(+g[E>>3]+(u*+g[B>>3]+v*+g[D>>3]))/p;f[P>>2]=u;ue(n,V,u,O,P)|0;u=+f[O>>2];if(t){s=((~~(u+1.0)|0)/2|0)<<1;o=((~~(+f[P>>2]+1.0)|0)/2|0)<<1}else{s=~~(u+.5);o=~~(+f[P>>2]+.5)}if((s|0)>-1?(o|0)<(l|0)&((o|0)>-1&(s|0)<(k|0)):0){W=(C(o,k)|0)+s<<2;X=r+((C((e|0)/(K|0)|0,h)|0)+((i|0)/(J|0)|0)<<2)|0;c[X>>2]=(c[X>>2]|0)+((((d[j+(W|2)>>0]|0)+(d[j+(W|1)>>0]|0)+(d[j+(W|3)>>0]|0)|0)>>>0)/3|0)}i=i+1|0}e=e+1|0}}switch(m|0){case 5:case 12:case 13:case 14:{w=u+100.0;F=+(L|0);G=+(M|0);x=N+48|0;y=N+56|0;z=N+64|0;A=N+8|0;m=N+16|0;B=N+24|0;D=N+32|0;E=N+40|0;t=(b|0)==1;e=0;while(1){if((e|0)>=(L|0))break c;v=w+I*(+(e|0)+.5)/F;i=0;while(1){if((i|0)>=(M|0))break;u=w+I*(+(i|0)+.5)/G;p=+g[z>>3]+(u*+g[x>>3]+v*+g[y>>3]);if(p==0.0){Q=306;break a}V=(+g[m>>3]+(u*+g[N>>3]+v*+g[A>>3]))/p;f[O>>2]=V;u=(+g[E>>3]+(u*+g[B>>3]+v*+g[D>>3]))/p;f[P>>2]=u;ue(n,V,u,O,P)|0;u=+f[O>>2];if(t){s=((~~(u+1.0)|0)/2|0)<<1;o=((~~(+f[P>>2]+1.0)|0)/2|0)<<1}else{s=~~(u+.5);o=~~(+f[P>>2]+.5)}if((s|0)>-1?(o|0)<(l|0)&((o|0)>-1&(s|0)<(k|0)):0){W=d[j+((C(o,k)|0)+s)>>0]|0;X=r+((C((e|0)/(K|0)|0,h)|0)+((i|0)/(J|0)|0)<<2)|0;c[X>>2]=(c[X>>2]|0)+W}i=i+1|0}e=e+1|0}}case 7:{w=u+100.0;F=+(L|0);G=+(M|0);x=N+48|0;y=N+56|0;z=N+64|0;A=N+8|0;m=N+16|0;B=N+24|0;D=N+32|0;E=N+40|0;t=(b|0)==1;e=0;while(1){if((e|0)>=(L|0))break c;v=w+I*(+(e|0)+.5)/F;i=0;while(1){if((i|0)>=(M|0))break;u=w+I*(+(i|0)+.5)/G;p=+g[z>>3]+(u*+g[x>>3]+v*+g[y>>3]);if(p==0.0){Q=306;break a}V=(+g[m>>3]+(u*+g[N>>3]+v*+g[A>>3]))/p;f[O>>2]=V;u=(+g[E>>3]+(u*+g[B>>3]+v*+g[D>>3]))/p;f[P>>2]=u;ue(n,V,u,O,P)|0;u=+f[O>>2];if(t){s=((~~(u+1.0)|0)/2|0)<<1;o=((~~(+f[P>>2]+1.0)|0)/2|0)<<1}else{s=~~(u+.5);o=~~(+f[P>>2]+.5)}if((s|0)>-1?(o|0)<(l|0)&((o|0)>-1&(s|0)<(k|0)):0){W=d[j+((C(o,k)|0)+s<<1|1)>>0]|0;X=r+((C((e|0)/(K|0)|0,h)|0)+((i|0)/(J|0)|0)<<2)|0;c[X>>2]=(c[X>>2]|0)+W}i=i+1|0}e=e+1|0}}case 8:{w=u+100.0;F=+(L|0);G=+(M|0);x=N+48|0;y=N+56|0;z=N+64|0;A=N+8|0;m=N+16|0;B=N+24|0;D=N+32|0;E=N+40|0;t=(b|0)==1;e=0;while(1){if((e|0)>=(L|0))break c;v=w+I*(+(e|0)+.5)/F;i=0;while(1){if((i|0)>=(M|0))break;u=w+I*(+(i|0)+.5)/G;p=+g[z>>3]+(u*+g[x>>3]+v*+g[y>>3]);if(p==0.0){Q=306;break a}V=(+g[m>>3]+(u*+g[N>>3]+v*+g[A>>3]))/p;f[O>>2]=V;u=(+g[E>>3]+(u*+g[B>>3]+v*+g[D>>3]))/p;f[P>>2]=u;ue(n,V,u,O,P)|0;u=+f[O>>2];if(t){s=((~~(u+1.0)|0)/2|0)<<1;o=((~~(+f[P>>2]+1.0)|0)/2|0)<<1}else{s=~~(u+.5);o=~~(+f[P>>2]+.5)}if((s|0)>-1?(o|0)<(l|0)&((o|0)>-1&(s|0)<(k|0)):0){W=d[j+((C(o,k)|0)+s<<1)>>0]|0;X=r+((C((e|0)/(K|0)|0,h)|0)+((i|0)/(J|0)|0)<<2)|0;c[X>>2]=(c[X>>2]|0)+W}i=i+1|0}e=e+1|0}}case 9:{w=u+100.0;F=+(L|0);G=+(M|0);x=N+48|0;y=N+56|0;z=N+64|0;A=N+8|0;m=N+16|0;B=N+24|0;D=N+32|0;E=N+40|0;t=(b|0)==1;e=0;while(1){if((e|0)>=(L|0))break c;v=w+I*(+(e|0)+.5)/F;i=0;while(1){if((i|0)>=(M|0))break;u=w+I*(+(i|0)+.5)/G;p=+g[z>>3]+(u*+g[x>>3]+v*+g[y>>3]);if(p==0.0){Q=306;break a}V=(+g[m>>3]+(u*+g[N>>3]+v*+g[A>>3]))/p;f[O>>2]=V;u=(+g[E>>3]+(u*+g[B>>3]+v*+g[D>>3]))/p;f[P>>2]=u;ue(n,V,u,O,P)|0;u=+f[O>>2];if(t){s=((~~(u+1.0)|0)/2|0)<<1;o=((~~(+f[P>>2]+1.0)|0)/2|0)<<1}else{s=~~(u+.5);o=~~(+f[P>>2]+.5)}if((s|0)>-1?(o|0)<(l|0)&((o|0)>-1&(s|0)<(k|0)):0){W=(C(o,k)|0)+s<<1;b=d[j+W>>0]|0;W=d[j+(W|1)>>0]|0;X=r+((C((e|0)/(K|0)|0,h)|0)+((i|0)/(J|0)|0)<<2)|0;c[X>>2]=((((b<<5&224|W>>>3&28|2)+(b&248|4)+(W<<3&248|4)|0)>>>0)/3|0)+(c[X>>2]|0)}i=i+1|0}e=e+1|0}}case 10:{w=u+100.0;F=+(L|0);G=+(M|0);x=N+48|0;y=N+56|0;z=N+64|0;A=N+8|0;m=N+16|0;B=N+24|0;D=N+32|0;E=N+40|0;t=(b|0)==1;e=0;while(1){if((e|0)>=(L|0))break c;v=w+I*(+(e|0)+.5)/F;i=0;while(1){if((i|0)>=(M|0))break;u=w+I*(+(i|0)+.5)/G;p=+g[z>>3]+(u*+g[x>>3]+v*+g[y>>3]);if(p==0.0){Q=306;break a}V=(+g[m>>3]+(u*+g[N>>3]+v*+g[A>>3]))/p;f[O>>2]=V;u=(+g[E>>3]+(u*+g[B>>3]+v*+g[D>>3]))/p;f[P>>2]=u;ue(n,V,u,O,P)|0;u=+f[O>>2];if(t){s=((~~(u+1.0)|0)/2|0)<<1;o=((~~(+f[P>>2]+1.0)|0)/2|0)<<1}else{s=~~(u+.5);o=~~(+f[P>>2]+.5)}if((s|0)>-1?(o|0)<(l|0)&((o|0)>-1&(s|0)<(k|0)):0){W=(C(o,k)|0)+s<<1;b=d[j+W>>0]|0;W=d[j+(W|1)>>0]|0;X=r+((C((e|0)/(K|0)|0,h)|0)+((i|0)/(J|0)|0)<<2)|0;c[X>>2]=((((b<<5&224|W>>>3&24|4)+(b&248|4)+(W<<2&248|4)|0)>>>0)/3|0)+(c[X>>2]|0)}i=i+1|0}e=e+1|0}}case 11:{w=u+100.0;F=+(L|0);G=+(M|0);x=N+48|0;y=N+56|0;z=N+64|0;A=N+8|0;m=N+16|0;B=N+24|0;D=N+32|0;E=N+40|0;t=(b|0)==1;e=0;while(1){if((e|0)>=(L|0))break c;v=w+I*(+(e|0)+.5)/F;i=0;while(1){if((i|0)>=(M|0))break;u=w+I*(+(i|0)+.5)/G;p=+g[z>>3]+(u*+g[x>>3]+v*+g[y>>3]);if(p==0.0){Q=306;break a}V=(+g[m>>3]+(u*+g[N>>3]+v*+g[A>>3]))/p;f[O>>2]=V;u=(+g[E>>3]+(u*+g[B>>3]+v*+g[D>>3]))/p;f[P>>2]=u;ue(n,V,u,O,P)|0;u=+f[O>>2];if(t){s=((~~(u+1.0)|0)/2|0)<<1;o=((~~(+f[P>>2]+1.0)|0)/2|0)<<1}else{s=~~(u+.5);o=~~(+f[P>>2]+.5)}if((s|0)>-1?(o|0)<(l|0)&((o|0)>-1&(s|0)<(k|0)):0){W=(C(o,k)|0)+s<<1;b=d[j+W>>0]|0;X=r+((C((e|0)/(K|0)|0,h)|0)+((i|0)/(J|0)|0)<<2)|0;c[X>>2]=((((b<<4&240|8)+(b&240|8)+((a[j+(W|1)>>0]&-16|8)&255)|0)>>>0)/3|0)+(c[X>>2]|0)}i=i+1|0}e=e+1|0}}default:{_e(0,3,20166,y);Q=306;break a}}}while(0);o=C(K,J)|0;s=0;while(1){if((s|0)==(H|0))break;a[q+s>>0]=((c[r+(s<<2)>>2]|0)>>>0)/(o>>>0)|0;s=s+1|0}NO(r);r=0}while(0);if((Q|0)==306){NO(r);r=-1}zb=R;return r|0}function td(b,e,f,h,i){b=b|0;e=e|0;f=f|0;h=h|0;i=i|0;var j=0,k=0.0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;y=zb;zb=zb+160|0;o=y+152|0;n=y+128|0;x=y+144|0;w=y;c[n>>2]=0;c[n+4>>2]=182;c[n+8>>2]=195;c[n+12>>2]=13;j=0;l=0;m=-1;while(1){if((j|0)==4)break;v=a[b+(c[n+(j<<2)>>2]|0)>>0]|0;j=j+1|0;l=(v&255)>(l&255)?v:l;m=(v&255)<(m&255)?v:m}l=l&255;j=m&255;a:do if((l-j|0)>=30){v=(l+j|0)>>>1;j=0;while(1){if((j|0)==4)break;a[o+j>>0]=v>>>0>(d[b+(c[n+(j<<2)>>2]|0)>>0]|0)>>>0&1;j=j+1|0}u=0;while(1){if(u>>>0>=4)break;j=u+1|0;if(((a[o+u>>0]|0)==1?(a[o+(j&3)>>0]|0)==1:0)?(a[o+(u+2&3)>>0]|0)==0:0)break;u=j}b:do switch(u&2147483647|0){case 4:{c[f>>2]=0;g[h>>3]=-1.0;j=-3;break a}case 0:{l=119;j=255;o=0;while(1){if((o|0)==14){p=57;break b}p=o+-3|0;n=(o&2147483646|0)==12;q=o*14|0;m=0;while(1){if((m|0)==14)break;if(((m+-3|p)>>>0>=8?(r=m&2147483646,((m|o)&2147483646|0)!=0):0)?!(n&((r|0)==0|(r|0)==12)):0){t=(d[b+(m+q)>>0]|0)-v|0;a[w+l>>0]=t>>>31;t=(t|0)>-1?t:0-t|0;l=l+-1|0;j=(t|0)<(j|0)?t:j}m=m+1|0}o=o+1|0}}case 1:{l=119;j=255;p=0;while(1){if((p|0)==14){p=57;break b}q=p+-3|0;o=p&2147483646;n=(o|0)==0;o=(o|0)==12;m=13;while(1){if((m|0)<=-1)break;if(((m+-3|q)>>>0>=8?(s=(m&-2|0)==12,!(n&s)):0)?!(o&(m>>>0<2|s)):0){t=(d[b+((m*14|0)+p)>>0]|0)-v|0;a[w+l>>0]=t>>>31;t=(t|0)>-1?t:0-t|0;l=l+-1|0;j=(t|0)<(j|0)?t:j}m=m+-1|0}p=p+1|0}}case 2:{l=119;j=255;n=13;while(1){if((n|0)<=-1){p=57;break b}o=n+-3|0;q=n>>>0<2|(n&-2|0)==12;p=n*14|0;m=13;while(1){if((m|0)<=-1)break;if((m+-3|o)>>>0>=8?!((m|n)>>>0<2|q&(m&-2|0)==12):0){t=(d[b+(m+p)>>0]|0)-v|0;a[w+l>>0]=t>>>31;t=(t|0)>-1?t:0-t|0;l=l+-1|0;j=(t|0)<(j|0)?t:j}m=m+-1|0}n=n+-1|0}}case 3:{l=119;j=255;q=13;while(1){if((q|0)<=-1){p=57;break b}r=q+-3|0;n=q&-2;o=(n|0)==12;p=(n|0)==0;m=0;while(1){if((m|0)==14)break;if(((m+-3|r)>>>0>=8?(t=m&2147483646,!(o&(t|0)==0)):0)?!((t|n|0)==0|p&(t|0)==12):0){s=(d[b+((m*14|0)+q)>>0]|0)-v|0;a[w+l>>0]=s>>>31;s=(s|0)>-1?s:0-s|0;l=l+-1|0;j=(s|0)<(j|0)?s:j}m=m+1|0}q=q+-1|0}}default:{c[f>>2]=u;k=1.0}}while(0);if((p|0)==57){c[f>>2]=u;k=(j|0)>30?1.0:+(j|0)/30.0}g[h>>3]=k;j=pd(2830,0,0,w,x)|0;if((j|0)<0)j=-4;else{if(i|0)c[i>>2]=j;i=c[x+4>>2]|0;j=e;c[j>>2]=c[x>>2];c[j+4>>2]=i;j=0}}else{c[f>>2]=0;g[h>>3]=-1.0;j=-2}while(0);zb=y;return j|0}function ud(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0.0;A=zb;zb=zb+32|0;z=A+24|0;f=A+16|0;d=A+8|0;do if(a){if(!b){_e(0,3,20225,d);d=-1;break}y=a+8|0;e=c[a+4>>2]|0;d=0;while(1){if((d|0)>=(e|0))break;if(!(c[(c[y>>2]|0)+(d<<2)>>2]|0))break;d=d+1|0}if((d|0)!=(e|0)){x=az(b)|0;if(!x){_e(0,3,20270,f);d=-1;break}t=a+28|0;r=a+12|0;q=d<<2;s=a+20|0;v=a+16|0;w=a+24|0;e=dz(x,20293)|0;p=0;a:while(1){if(p>>>0>=4){e=36;break}o=p+q|0;n=0;b=0;while(1){if(n>>>0>=3)break;l=(n|0)==0;m=(n|0)==2;f=c[t>>2]|0;k=0;while(1){if((k|0)>=(f|0))break;j=0;while(1){if((j|0)>=(f|0))break;if(!e){e=21;break a}i=lA(e)|0;e=dz(0,20293)|0;i=255-i|0;c[(c[(c[r>>2]|0)+(o<<2)>>2]|0)+((((C(c[t>>2]|0,k)|0)+j|0)*3|0)+n<<2)>>2]=i;f=c[(c[s>>2]|0)+(o<<2)>>2]|0;h=f+((C(c[t>>2]|0,k)|0)+j<<2)|0;if(!l){c[h>>2]=(c[h>>2]|0)+i;if(m){h=f+((C(c[t>>2]|0,k)|0)+j<<2)|0;c[h>>2]=(c[h>>2]|0)/3|0}}else c[h>>2]=i;f=c[t>>2]|0;j=j+1|0;b=i+b|0}k=k+1|0}n=n+1|0}f=c[t>>2]|0;i=(b|0)/(C(f*3|0,f)|0)|0;b=f;f=0;h=0;while(1){if(f>>>0>=(C(b*3|0,b)|0)>>>0)break;b=(c[(c[r>>2]|0)+(o<<2)>>2]|0)+(f<<2)|0;n=(c[b>>2]|0)-i|0;c[b>>2]=n;n=(C(n,n)|0)+h|0;b=c[t>>2]|0;f=f+1|0;h=n}B=+u(+(+(h|0)));g[(c[v>>2]|0)+(o<<3)>>3]=B==0.0?1.0e-07:B;f=0;h=0;while(1){if(f>>>0>=(C(b,b)|0)>>>0)break;b=(c[(c[s>>2]|0)+(o<<2)>>2]|0)+(f<<2)|0;n=(c[b>>2]|0)-i|0;c[b>>2]=n;n=(C(n,n)|0)+h|0;b=c[t>>2]|0;f=f+1|0;h=n}B=+u(+(+(h|0)));g[(c[w>>2]|0)+(o<<3)>>3]=B==0.0?1.0e-07:B;p=p+1|0}if((e|0)==21){_e(0,3,20298,z);NO(x);d=-1;break}else if((e|0)==36){NO(x);c[(c[y>>2]|0)+(d<<2)>>2]=1;c[a>>2]=(c[a>>2]|0)+1;break}}else d=-1}else{_e(0,3,20200,A);d=-1}while(0);zb=A;return d|0}function vd(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;g=zb;zb=zb+16|0;f=g+8|0;e=g;d=af(b,0)|0;if(!d){c[e>>2]=b;_e(0,3,20325,e);d=Gx(c[(vx()|0)>>2]|0)|0;c[f>>2]=58519;c[f+4>>2]=d;_e(0,3,21881,f);d=-1}else{f=ud(a,d)|0;NO(d);d=f}zb=g;return d|0}function wd(a,b){a=a|0;b=b|0;b=(c[a+8>>2]|0)+(b<<2)|0;if(!(c[b>>2]|0))b=-1;else{c[b>>2]=0;c[a>>2]=(c[a>>2]|0)+-1;b=1}return b|0}function xd(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,h=0,i=0;i=0;while(1){if((i|0)==3)break;e=a+(i<<5)|0;f=a+(i<<5)+8|0;d=a+(i<<5)+16|0;h=0;while(1){if((h|0)==4)break;g[c+(i<<5)+(h<<3)>>3]=+g[e>>3]*+g[b+(h<<3)>>3]+ +g[f>>3]*+g[b+32+(h<<3)>>3]+ +g[d>>3]*+g[b+64+(h<<3)>>3];h=h+1|0}h=c+(i<<5)+24|0;g[h>>3]=+g[a+(i<<5)+24>>3]+ +g[h>>3];i=i+1|0}return 0}function yd(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,h=0,i=0,j=0;j=0;while(1){if((j|0)==3)break;e=a+(j<<5)|0;h=a+(j<<5)+8|0;d=a+(j<<5)+16|0;i=0;while(1){if((i|0)==4)break;f[c+(j<<4)+(i<<2)>>2]=+f[b+(i<<2)>>2]*+g[e>>3]+ +f[b+16+(i<<2)>>2]*+g[h>>3]+ +f[b+32+(i<<2)>>2]*+g[d>>3];i=i+1|0}i=c+(j<<4)+12|0;f[i>>2]=+f[i>>2]+ +g[a+(j<<5)+24>>3];j=j+1|0}return 0}function zd(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,g=0,h=0,i=0;i=0;while(1){if((i|0)==3)break;e=a+(i<<4)|0;g=a+(i<<4)+4|0;d=a+(i<<4)+8|0;h=0;while(1){if((h|0)==4)break;f[c+(i<<4)+(h<<2)>>2]=+f[e>>2]*+f[b+(h<<2)>>2]+ +f[g>>2]*+f[b+16+(h<<2)>>2]+ +f[d>>2]*+f[b+32+(h<<2)>>2];h=h+1|0}h=c+(i<<4)+12|0;f[h>>2]=+f[a+(i<<4)+12>>2]+ +f[h>>2];i=i+1|0}return 0}function Ad(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,h=0;h=Jd(4,4)|0;e=0;while(1){if((e|0)==3)break;f=e<<2;d=0;while(1){if((d|0)==4)break;g[(c[h>>2]|0)+(d+f<<3)>>3]=+g[a+(e<<5)+(d<<3)>>3];d=d+1|0}e=e+1|0}e=c[h>>2]|0;a=e+96|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;g[e+120>>3]=1.0;be(h)|0;e=0;while(1){if((e|0)==3)break;f=e<<2;d=0;while(1){if((d|0)==4)break;g[b+(e<<5)+(d<<3)>>3]=+g[(c[h>>2]|0)+(d+f<<3)>>3];d=d+1|0}e=e+1|0}Rd(h)|0;return 0}function Bd(a,b){a=a|0;b=b|0;var d=0,e=0,h=0,i=0;i=Jd(4,4)|0;e=0;while(1){if((e|0)==3)break;h=e<<2;d=0;while(1){if((d|0)==4)break;g[(c[i>>2]|0)+(d+h<<3)>>3]=+f[a+(e<<4)+(d<<2)>>2];d=d+1|0}e=e+1|0}e=c[i>>2]|0;a=e+96|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;g[e+120>>3]=1.0;be(i)|0;e=0;while(1){if((e|0)==3)break;h=e<<2;d=0;while(1){if((d|0)==4)break;f[b+(e<<4)+(d<<2)>>2]=+g[(c[i>>2]|0)+(d+h<<3)>>3];d=d+1|0}e=e+1|0}Rd(i)|0;return 0}function Cd(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0,e=0.0,f=0.0,h=0.0,i=0,j=0;d=+g[a>>3];i=a+32|0;e=+g[a+40>>3];j=a+64|0;f=+g[a+80>>3];h=d+e+f+1.0;do if(!(h>.0001)){if(d>e&d>f){d=+u(+(d+1.0-e-f))*2.0;g[b>>3]=d*.25;g[b+8>>3]=(+g[a+8>>3]+ +g[i>>3])/d;g[b+16>>3]=(+g[j>>3]+ +g[a+16>>3])/d;d=(+g[a+48>>3]-+g[a+72>>3])/d;break}if(e>f){d=+u(+(e+1.0-d-f))*2.0;g[b>>3]=(+g[a+8>>3]+ +g[i>>3])/d;g[b+8>>3]=d*.25;g[b+16>>3]=(+g[a+48>>3]+ +g[a+72>>3])/d;d=(+g[j>>3]-+g[a+16>>3])/d;break}else{d=+u(+(f+1.0-d-e))*2.0;g[b>>3]=(+g[j>>3]+ +g[a+16>>3])/d;g[b+8>>3]=(+g[a+48>>3]+ +g[a+72>>3])/d;g[b+16>>3]=d*.25;d=(+g[a+8>>3]-+g[i>>3])/d;break}}else{d=+u(+h)*2.0;g[b>>3]=(+g[a+48>>3]-+g[a+72>>3])/d;g[b+8>>3]=(+g[j>>3]-+g[a+16>>3])/d;g[b+16>>3]=(+g[a+8>>3]-+g[i>>3])/d;d=d*.25}while(0);g[b+24>>3]=d;g[c>>3]=+g[a+24>>3];g[c+8>>3]=+g[a+56>>3];g[c+16>>3]=+g[a+88>>3];return 0}function Dd(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0,e=0.0,f=0.0,h=0.0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0,n=0.0;h=+g[a>>3];d=h*2.0;e=+g[a+8>>3];f=e*2.0;m=+g[a+16>>3];i=m*2.0;l=h*d;j=h*f;h=h*i;k=e*f;e=e*i;m=m*i;n=+g[a+24>>3];d=d*n;f=f*n;i=n*i;g[c>>3]=1.0-(k+m);g[c+40>>3]=1.0-(l+m);g[c+80>>3]=1.0-(l+k);g[c+32>>3]=j-i;g[c+8>>3]=j+i;g[c+64>>3]=h+f;g[c+16>>3]=h-f;g[c+72>>3]=e-d;g[c+48>>3]=e+d;g[c+24>>3]=+g[b>>3];g[c+56>>3]=+g[b+8>>3];g[c+88>>3]=+g[b+16>>3];return 0}function Ed(a){a=a|0;var b=0,c=0.0,d=0.0,e=0.0,f=0.0,h=0.0,i=0,j=0;c=+g[a>>3];b=a+8|0;d=+g[b>>3];i=a+16|0;e=+g[i>>3];j=a+24|0;f=+g[j>>3];h=c*c+d*d+e*e+f*f;if(h!=0.0){h=+u(+h);g[a>>3]=c/h;g[b>>3]=d/h;g[i>>3]=e/h;g[j>>3]=f/h;b=0}else b=-1;return b|0}function Fd(a){a=a|0;switch(a|0){case 1:case 0:{a=3;break}case 6:case 4:case 3:case 2:{a=4;break}case 14:case 13:case 12:case 5:{a=1;break}case 11:case 10:case 9:case 8:case 7:{a=2;break}default:a=0}return a|0}function Gd(b,c,d,e){b=b|0;c=c|0;d=d|0;e=e|0;var f=0;do if((b|0)!=0&(c|0)!=0&(d|0)!=0){f=bz(c,47)|0;if(!f){a[b>>0]=0;break}e=f+((e|0)!=0&1)-c|0;if((e+1|0)>>>0<=d>>>0){ez(b,c,e)|0;a[b+e>>0]=0}else b=0}else b=0;while(0);return b|0}function Hd(b,c,d){b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;e=0;f=0;a:while(1){switch(a[b+e>>0]|0){case 0:break a;case 46:{f=e;break}default:{}}e=e+1|0}h=b+e|0;g=(Qx(d)|0)+2|0;if(!f)if((g+e|0)>(c|0))e=-1;else{a[h>>0]=46;i=9}else if((g+f|0)>(c|0))e=-1;else{e=f;i=9}if((i|0)==9){a[b+(e+1)>>0]=0;Wy(b,d)|0;e=0}return e|0}function Id(b){b=b|0;var c=0,d=0;d=0;c=-1;a:while(1){switch(a[b+d>>0]|0){case 0:break a;case 46:{c=d;break}default:{}}d=d+1|0}if((c|0)!=-1)a[b+c>>0]=0;return 0}function Jd(a,b){a=a|0;b=b|0;var d=0,e=0;d=MO(12)|0;do if(d){e=MO(C(a<<3,b)|0)|0;c[d>>2]=e;if(!e){NO(d);d=0;break}else{c[d+4>>2]=a;c[d+8>>2]=b;break}}else d=0;while(0);return d|0}function Kd(a,b){a=a|0;b=b|0;var d=0,e=0;d=MO(12)|0;do if(d){e=MO(C(a<<2,b)|0)|0;c[d>>2]=e;if(!e){NO(d);d=0;break}else{c[d+4>>2]=a;c[d+8>>2]=b;break}}else d=0;while(0);return d|0}function Ld(a){a=a|0;var b=0;b=Jd(c[a+4>>2]|0,c[a+8>>2]|0)|0;if(b){if((Qd(b,a)|0)<0){Rd(b)|0;b=0}}else b=0;return b|0}function Md(a,b){a=a|0;b=b|0;var d=0;d=Jd(c[a+4>>2]|0,c[b+8>>2]|0)|0;if(d){if((Td(d,a,b)|0)<0){Rd(d)|0;d=0}}else d=0;return d|0}function Nd(a,b){a=a|0;b=b|0;var d=0;d=Kd(c[a+4>>2]|0,c[b+8>>2]|0)|0;if(d){if((Ud(d,a,b)|0)<0){Sd(d)|0;d=0}}else d=0;return d|0}function Od(a){a=a|0;var b=0;b=Jd(c[a+8>>2]|0,c[a+4>>2]|0)|0;if(b){if((fe(b,a)|0)<0){Rd(b)|0;b=0}}else b=0;return b|0}function Pd(a){a=a|0;var b=0;b=Kd(c[a+8>>2]|0,c[a+4>>2]|0)|0;if(b){if((ge(b,a)|0)<0){Sd(b)|0;b=0}}else b=0;return b|0}function Qd(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,h=0,i=0,j=0;d=c[a+4>>2]|0;a:do if((d|0)==(c[b+4>>2]|0)?(e=c[a+8>>2]|0,(e|0)==(c[b+8>>2]|0)):0){i=0;while(1){if((i|0)>=(d|0)){d=0;break a}h=C(i,e)|0;f=0;while(1){if((f|0)>=(e|0))break;j=f+h|0;g[(c[a>>2]|0)+(j<<3)>>3]=+g[(c[b>>2]|0)+(j<<3)>>3];f=f+1|0}i=i+1|0}}else d=-1;while(0);return d|0}function Rd(a){a=a|0;if(a|0){NO(c[a>>2]|0);NO(a)}return 0}function Sd(a){a=a|0;if(a|0){NO(c[a>>2]|0);NO(a)}return 0}function Td(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0,f=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0.0;m=c[b+8>>2]|0;a:do if(((m|0)==(c[d+4>>2]|0)?(n=c[a+4>>2]|0,(n|0)==(c[b+4>>2]|0)):0)?(o=c[a+8>>2]|0,(o|0)==(c[d+8>>2]|0)):0){a=c[a>>2]|0;l=0;while(1){if((l|0)>=(n|0)){a=0;break a}k=C(l,m)|0;j=0;while(1){if((j|0)>=(o|0))break;g[a>>3]=0.0;e=0.0;f=0;h=(c[b>>2]|0)+(k<<3)|0;i=(c[d>>2]|0)+(j<<3)|0;while(1){if((f|0)>=(m|0))break;p=e+ +g[h>>3]*+g[i>>3];g[a>>3]=p;e=p;f=f+1|0;h=h+8|0;i=i+(o<<3)|0}j=j+1|0;a=a+8|0}l=l+1|0}}else a=-1;while(0);return a|0}function Ud(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0.0;m=c[b+8>>2]|0;a:do if(((m|0)==(c[d+4>>2]|0)?(n=c[a+4>>2]|0,(n|0)==(c[b+4>>2]|0)):0)?(o=c[a+8>>2]|0,(o|0)==(c[d+8>>2]|0)):0){a=c[a>>2]|0;l=0;while(1){if((l|0)>=(n|0)){a=0;break a}k=C(l,m)|0;j=0;while(1){if((j|0)>=(o|0))break;f[a>>2]=0.0;e=0.0;g=0;h=(c[b>>2]|0)+(k<<2)|0;i=(c[d>>2]|0)+(j<<2)|0;while(1){if((g|0)>=(m|0))break;p=e+ +f[h>>2]*+f[i>>2];f[a>>2]=p;e=p;g=g+1|0;h=h+4|0;i=i+(o<<2)|0}j=j+1|0;a=a+4|0}l=l+1|0}}else a=-1;while(0);return a|0}function Vd(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,h=0,i=0.0,j=0,k=0,l=0,m=0.0;h=c[a+4>>2]|0;j=c[a+8>>2]|0;f=(h|0)<(j|0)?h:j;a:do if(((((!((h|0)<2|(j|0)<2)?(c[b+8>>2]|0)==(j|0):0)?(c[b+4>>2]|0)==(f|0):0)?(l=d+4|0,(c[l>>2]|0)==(f|0)):0)?(c[e+4>>2]|0)==(j|0):0)?(k=Ld(a)|0,(k|0)!=0):0){i=+u(+(+(h|0)));if((Wd(k,e)|0)<0){Rd(k)|0;f=-1;break}if((Xd(k,e)|0)<0){Rd(k)|0;f=-1;break}a=C(j,h)|0;f=0;while(1){if((f|0)>=(a|0))break;e=(c[k>>2]|0)+(f<<3)|0;g[e>>3]=+g[e>>3]/i;f=f+1|0}f=Yd(k,b,d)|0;Rd(k)|0;h=c[l>>2]|0;a=0;i=0.0;while(1){if((a|0)>=(h|0))break;m=i+ +g[(c[d>>2]|0)+(a<<3)>>3];a=a+1|0;i=m}a=0;while(1){if((a|0)>=(h|0))break a;l=(c[d>>2]|0)+(a<<3)|0;g[l>>3]=+g[l>>3]/i;a=a+1|0}}else f=-1;while(0);return f|0}function Wd(a,b){a=a|0;b=b|0;var d=0,e=0.0,f=0,h=0,i=0,j=0,k=0;j=c[a+4>>2]|0;k=c[a+8>>2]|0;a:do if(!((j|0)<1|(k|0)<1)?(c[b+4>>2]|0)==(k|0):0){d=0;while(1){if((d|0)==(k|0))break;g[(c[b>>2]|0)+(d<<3)>>3]=0.0;d=d+1|0}i=0;a=c[a>>2]|0;while(1){if((i|0)==(j|0))break;d=0;f=a;h=c[b>>2]|0;while(1){if((d|0)==(k|0))break;g[h>>3]=+g[f>>3]+ +g[h>>3];d=d+1|0;f=f+8|0;h=h+8|0}i=i+1|0;a=a+(k<<3)|0}e=+(j|0);d=0;while(1){if((d|0)==(k|0)){d=0;break a}j=(c[b>>2]|0)+(d<<3)|0;g[j>>3]=+g[j>>3]/e;d=d+1|0}}else d=-1;while(0);return d|0}function Xd(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,h=0,i=0;f=c[a+4>>2]|0;h=c[a+8>>2]|0;a:do if((c[b+4>>2]|0)==(h|0)){i=0;a=c[a>>2]|0;while(1){if((i|0)>=(f|0)){a=0;break a}e=0;d=c[b>>2]|0;while(1){if((e|0)>=(h|0))break;g[a>>3]=+g[a>>3]-+g[d>>3];e=e+1|0;a=a+8|0;d=d+8|0}i=i+1|0}}else a=-1;while(0);return a|0}function Yd(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,h=0,i=0;e=c[a+4>>2]|0;f=c[a+8>>2]|0;i=(f|0)<(e|0)?f:e;a:do if(((!((e|0)<2|(f|0)<2)?(c[b+8>>2]|0)==(f|0):0)?(c[b+4>>2]|0)==(i|0):0)?(c[d+4>>2]|0)==(i|0):0){h=Jd(i,i)|0;if((c[h+4>>2]|0)==(i|0)?(c[h+8>>2]|0)==(i|0):0){e=(e|0)<(f|0);if(e){if((Zd(a,h)|0)<0){Rd(h)|0;e=-1;break}}else if((_d(a,h)|0)<0){Rd(h)|0;e=-1;break}if(($d(h,d)|0)<0){Rd(h)|0;e=-1;break}b:do if(e){if((ae(a,h,b,d)|0)<0){Rd(h)|0;e=-1;break a}}else{a=0;f=c[h>>2]|0;e=c[b>>2]|0;while(1){if((a|0)>=(i|0))break;if(+g[(c[d>>2]|0)+(a<<3)>>3]<1.0e-16)break;b=0;while(1){if((b|0)>=(i|0))break;g[e>>3]=+g[f>>3];b=b+1|0;f=f+8|0;e=e+8|0}a=a+1|0}while(1){if((a|0)>=(i|0))break b;g[(c[d>>2]|0)+(a<<3)>>3]=0.0;f=0;while(1){if((f|0)>=(i|0))break;g[e>>3]=0.0;f=f+1|0;e=e+8|0}a=a+1|0}}while(0);Rd(h)|0;e=0;break}Rd(h)|0;e=-1}else e=-1;while(0);return e|0}function Zd(a,b){a=a|0;b=b|0;var d=0.0,e=0,f=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0.0;n=c[a+4>>2]|0;o=c[a+8>>2]|0;a:do if((c[b+4>>2]|0)==(n|0)?(c[b+8>>2]|0)==(n|0):0){b=c[b>>2]|0;e=0;l=b;while(1){if((e|0)>=(n|0)){b=0;break a}k=C(e,o)|0;i=0;m=l;while(1){if((i|0)==(n|0))break;b:do if(i>>>0>>0)g[m>>3]=+g[b+((C(i,n)|0)+e<<3)>>3];else{f=c[a>>2]|0;h=f+((C(i,o)|0)<<3)|0;g[m>>3]=0.0;d=0.0;f=f+(k<<3)|0;j=0;while(1){if((j|0)>=(o|0))break b;p=d+ +g[f>>3]*+g[h>>3];g[m>>3]=p;d=p;f=f+8|0;h=h+8|0;j=j+1|0}}while(0);i=i+1|0;m=m+8|0}e=e+1|0;l=l+(n<<3)|0}}else b=-1;while(0);return b|0}function _d(a,b){a=a|0;b=b|0;var d=0.0,e=0,f=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0.0;m=c[a+4>>2]|0;n=c[a+8>>2]|0;a:do if((c[b+4>>2]|0)==(n|0)?(c[b+8>>2]|0)==(n|0):0){b=c[b>>2]|0;e=0;k=b;while(1){if((e|0)>=(n|0)){b=0;break a}i=0;l=k;while(1){if((i|0)==(n|0))break;b:do if(i>>>0>>0)g[l>>3]=+g[b+((C(i,n)|0)+e<<3)>>3];else{h=c[a>>2]|0;g[l>>3]=0.0;d=0.0;f=h+(e<<3)|0;h=h+(i<<3)|0;j=0;while(1){if((j|0)>=(m|0))break b;o=d+ +g[f>>3]*+g[h>>3];g[l>>3]=o;d=o;f=f+(n<<3)|0;h=h+(n<<3)|0;j=j+1|0}}while(0);i=i+1|0;l=l+8|0}e=e+1|0;k=k+(n<<3)|0}}else b=-1;while(0);return b|0}function $d(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,h=0.0,i=0.0,j=0,k=0,l=0,m=0.0,n=0.0,o=0.0,p=0,q=0,r=0,s=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0.0,H=0.0,I=0.0,J=0,K=0;F=zb;zb=zb+16|0;d=F;B=c[a+4>>2]|0;do if((!((B|0)<2?1:(B|0)!=(c[a+8>>2]|0))?(c[b+4>>2]|0)==(B|0):0)?(D=we(B)|0,(D|0)!=0):0){E=B+-1|0;c[d+4>>2]=E;c[d>>2]=(c[D>>2]|0)+8;if((Ae(a,b,d)|0)<0){xe(D)|0;d=-1;break}y=c[D>>2]|0;g[y>>3]=0.0;z=E;while(1){if((z|0)<=0)break;A=z;while(1){if((A|0)<=0)break;n=+t(+(+g[y+(A<<3)>>3]));x=c[b>>2]|0;d=A+-1|0;o=+t(+(+g[x+(d<<3)>>3]));if(n>(o+ +t(+(+g[x+(A<<3)>>3])))*1.0e-06)A=d;else break}l=z+-1|0;a:do if((A|0)!=(z|0)){s=y+(z<<3)|0;v=y+(A+1<<3)|0;w=0;do{if(w>>>0>99)break a;w=w+1|0;p=c[b>>2]|0;q=p+(l<<3)|0;r=p+(z<<3)|0;m=+g[r>>3];n=(+g[q>>3]-m)*.5;o=+g[s>>3];o=o*o;i=+u(+(o+n*n));x=A;i=+g[p+(A<<3)>>3]-m+o/(n+(n<0.0?-i:i));n=+g[v>>3];while(1){if((x|0)>=(z|0))break;h=+t(+i);if(h>=+t(+n))if(h>1.0e-16){h=-n/i;o=1.0/+u(+(h*h+1.0));m=o;o=h*o}else{m=1.0;o=0.0}else{m=-i/n;o=1.0/+u(+(m*m+1.0));m=m*o}f=p+(x<<3)|0;I=+g[f>>3];k=x+1|0;d=p+(k<<3)|0;H=+g[d>>3];h=I-H;j=y+(k<<3)|0;G=o*(o*h+m*2.0*+g[j>>3]);g[f>>3]=I-G;g[d>>3]=H+G;d=y+(x<<3)|0;if((x|0)>(A|0))g[d>>3]=m*+g[d>>3]-n*o;I=+g[j>>3];g[j>>3]=I+o*(m*h-o*2.0*I);e=C(x,B)|0;f=C(k,B)|0;d=0;h=n;while(1){if((d|0)==(B|0))break;J=c[a>>2]|0;K=J+(d+e<<3)|0;i=+g[K>>3];J=J+(d+f<<3)|0;h=+g[J>>3];g[K>>3]=m*i-o*h;g[J>>3]=o*i+m*h;d=d+1|0}if((x|0)<(l|0)){i=+g[j>>3];K=y+(x+2<<3)|0;h=+g[K>>3];g[K>>3]=m*h;h=-(o*h)}x=k;n=h}H=+t(+(+g[s>>3]));I=+t(+(+g[q>>3]))}while(H>(I+ +t(+(+g[r>>3])))*1.0e-06)}while(0);z=l}k=0;while(1){if((k|0)==(E|0))break;d=c[b>>2]|0;e=d+(k<<3)|0;h=+g[e>>3];l=k+1|0;j=k;f=l;i=h;while(1){if((f|0)>=(B|0))break;I=+g[d+(f<<3)>>3];K=I>i;j=K?f:j;f=f+1|0;i=K?I:i}g[d+(j<<3)>>3]=h;g[e>>3]=i;d=c[a>>2]|0;f=0;e=d+((C(j,B)|0)<<3)|0;d=d+((C(k,B)|0)<<3)|0;while(1){if((f|0)==(B|0))break;I=+g[e>>3];g[e>>3]=+g[d>>3];g[d>>3]=I;f=f+1|0;e=e+8|0;d=d+8|0}k=l}xe(D)|0;d=0}else d=-1;while(0);zb=F;return d|0}function ae(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,h=0.0,i=0,j=0,k=0,l=0,m=0,n=0,o=0.0,p=0,q=0,r=0.0;p=c[a+4>>2]|0;q=c[a+8>>2]|0;a:do if(((((!((p|0)<1|(q|0)<1)?(c[b+4>>2]|0)==(p|0):0)?(c[b+8>>2]|0)==(p|0):0)?(c[d+4>>2]|0)==(p|0):0)?(c[d+8>>2]|0)==(q|0):0)?(c[e+4>>2]|0)==(p|0):0){i=0;d=c[d>>2]|0;while(1){if((i|0)>=(p|0))break;h=+g[(c[e>>2]|0)+(i<<3)>>3];if(h<1.0e-16)break;h=1.0/+u(+(+t(+h)));n=C(i,p)|0;f=0;k=d;while(1){if((f|0)==(q|0))break;j=0;l=(c[b>>2]|0)+(n<<3)|0;m=(c[a>>2]|0)+(f<<3)|0;o=0.0;while(1){if((j|0)==(p|0))break;r=o+ +g[l>>3]*+g[m>>3];j=j+1|0;l=l+8|0;m=m+(q<<3)|0;o=r}g[k>>3]=h*o;f=f+1|0;k=k+8|0}i=i+1|0;d=d+(q<<3)|0}while(1){if((i|0)>=(p|0)){d=0;break a}g[(c[e>>2]|0)+(i<<3)>>3]=0.0;f=0;while(1){if((f|0)>=(q|0))break;g[d>>3]=0.0;f=f+1|0;d=d+8|0}i=i+1|0}}else d=-1;while(0);return d|0}function be(a){a=a|0;var b=0;b=c[a+4>>2]|0;return ((ce(c[a>>2]|0,b,b)|0)==0)<<31>>31|0}function ce(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,h=0,i=0,j=0.0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0.0,s=0;q=zb;zb=zb+2e3|0;p=q;a:do if((b|0)>500)a=0;else{switch(b|0){case 0:{a=0;break a}case 1:{g[a>>3]=1.0/+g[a>>3];break a}default:{}}e=0;while(1){if((e|0)>=(b|0))break;c[p+(e<<2)>>2]=e;e=e+1|0}o=a+(b+-1<<3)|0;m=o;n=0;while(1){if((n|0)>=(b|0))break;l=a+((C(n,d)|0)<<3)|0;e=n;i=-1;j=0.0;f=l;while(1){if((e|0)==(b|0))break;r=+t(+(+g[f>>3]));k=j>2]|0;h=p+(n<<2)|0;c[f>>2]=c[h>>2];c[h>>2]=e;h=0;e=a+((C(i,d)|0)<<3)|0;f=l;while(1){if((h|0)==(b|0))break;r=+g[e>>3];g[e>>3]=+g[f>>3];g[f>>3]=r;h=h+1|0;e=e+8|0;f=f+8|0}j=+g[l>>3];e=1;f=l;while(1){if((e|0)==(b|0))break;k=f+8|0;g[f>>3]=+g[k>>3]/j;e=e+1|0;f=k}g[m>>3]=1.0/j;e=0;f=o;while(1){if((e|0)==(b|0))break;if((e|0)!=(n|0)){i=a+((C(e,d)|0)<<3)|0;j=+g[i>>3];h=1;k=l;while(1){if((h|0)==(b|0))break;s=i+8|0;g[i>>3]=+g[s>>3]-j*+g[k>>3];h=h+1|0;i=s;k=k+8|0}g[f>>3]=-(j*+g[m>>3])}e=e+1|0;f=f+(d<<3)|0}m=m+(d<<3)|0;n=n+1|0}i=0;while(1){if((i|0)>=(b|0))break a;f=i;while(1){e=p+(f<<2)|0;if((f|0)>=(b|0))break;if((c[e>>2]|0)==(i|0))break;f=f+1|0}c[e>>2]=c[p+(i<<2)>>2];h=0;e=a+(f<<3)|0;f=a+(i<<3)|0;while(1){if((h|0)>=(b|0))break;r=+g[e>>3];g[e>>3]=+g[f>>3];g[f>>3]=r;h=h+1|0;e=e+(d<<3)|0;f=f+(d<<3)|0}i=i+1|0}}while(0);zb=q;return a|0}function de(a){a=a|0;var b=0;b=c[a+4>>2]|0;return ((ee(c[a>>2]|0,b,b)|0)==0)<<31>>31|0}function ee(a,b,d){a=a|0;b=b|0;d=d|0;var e=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.0,s=0;q=zb;zb=zb+2e3|0;p=q;a:do if((b|0)>500)a=0;else{switch(b|0){case 0:{a=0;break a}case 1:{f[a>>2]=1.0/+f[a>>2];break a}default:{}}e=0;while(1){if((e|0)>=(b|0))break;c[p+(e<<2)>>2]=e;e=e+1|0}o=a+(b+-1<<2)|0;m=o;n=0;while(1){if((n|0)>=(b|0))break;l=a+((C(n,d)|0)<<2)|0;e=n;i=-1;j=0.0;g=l;while(1){if((e|0)==(b|0))break;r=+t(+(+f[g>>2]));k=j>2]|0;h=p+(n<<2)|0;c[g>>2]=c[h>>2];c[h>>2]=e;h=0;e=a+((C(i,d)|0)<<2)|0;g=l;while(1){if((h|0)==(b|0))break;k=c[e>>2]|0;c[e>>2]=c[g>>2];c[g>>2]=k;h=h+1|0;e=e+4|0;g=g+4|0}j=+f[l>>2];e=1;g=l;while(1){if((e|0)==(b|0))break;k=g+4|0;f[g>>2]=+f[k>>2]/j;e=e+1|0;g=k}f[m>>2]=1.0/j;e=0;g=o;while(1){if((e|0)==(b|0))break;if((e|0)!=(n|0)){i=a+((C(e,d)|0)<<2)|0;j=+f[i>>2];h=1;k=l;while(1){if((h|0)==(b|0))break;s=i+4|0;f[i>>2]=+f[s>>2]-j*+f[k>>2];h=h+1|0;i=s;k=k+4|0}f[g>>2]=-(j*+f[m>>2])}e=e+1|0;g=g+(d<<2)|0}m=m+(d<<2)|0;n=n+1|0}i=0;while(1){if((i|0)>=(b|0))break a;g=i;while(1){e=p+(g<<2)|0;if((g|0)>=(b|0))break;if((c[e>>2]|0)==(i|0))break;g=g+1|0}c[e>>2]=c[p+(i<<2)>>2];h=0;e=a+(g<<2)|0;g=a+(i<<2)|0;while(1){if((h|0)>=(b|0))break;s=c[e>>2]|0;c[e>>2]=c[g>>2];c[g>>2]=s;h=h+1|0;e=e+(d<<2)|0;g=g+(d<<2)|0}i=i+1|0}}while(0);zb=q;return a|0}function fe(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,h=0,i=0;h=c[a+4>>2]|0;a:do if((h|0)==(c[b+8>>2]|0)?(i=c[a+8>>2]|0,(i|0)==(c[b+4>>2]|0)):0){a=c[a>>2]|0;f=0;while(1){if((f|0)>=(h|0)){a=0;break a}d=0;e=(c[b>>2]|0)+(f<<3)|0;while(1){if((d|0)>=(i|0))break;g[a>>3]=+g[e>>3];d=d+1|0;e=e+(h<<3)|0;a=a+8|0}f=f+1|0}}else a=-1;while(0);return a|0}function ge(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;g=c[a+4>>2]|0;a:do if((g|0)==(c[b+8>>2]|0)?(h=c[a+8>>2]|0,(h|0)==(c[b+4>>2]|0)):0){a=c[a>>2]|0;f=0;while(1){if((f|0)>=(g|0)){a=0;break a}d=0;e=(c[b>>2]|0)+(f<<2)|0;while(1){if((d|0)>=(h|0))break;c[a>>2]=c[e>>2];d=d+1|0;e=e+(g<<2)|0;a=a+4|0}f=f+1|0}}else a=-1;while(0);return a|0}function he(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0.0,h=0.0,i=0;f=+(b|0)/+(c[a>>2]|0);h=+(d|0)/+(c[a+4>>2]|0);c[e>>2]=b;c[e+4>>2]=d;b=0;while(1){if((b|0)==4)break;g[e+8+(b<<3)>>3]=f*+g[a+8+(b<<3)>>3];g[e+40+(b<<3)>>3]=h*+g[a+40+(b<<3)>>3];g[e+72+(b<<3)>>3]=+g[a+72+(b<<3)>>3];b=b+1|0}b=c[a+176>>2]|0;switch(b|0){case 4:{g[e+104>>3]=+g[a+104>>3];g[e+112>>3]=+g[a+112>>3];g[e+120>>3]=+g[a+120>>3];g[e+128>>3]=+g[a+128>>3];g[e+136>>3]=f*+g[a+136>>3];g[e+144>>3]=h*+g[a+144>>3];g[e+152>>3]=f*+g[a+152>>3];g[e+160>>3]=h*+g[a+160>>3];g[e+168>>3]=+g[a+168>>3];i=9;break}case 3:{g[e+104>>3]=f*+g[a+104>>3];g[e+112>>3]=h*+g[a+112>>3];g[e+120>>3]=+g[a+120>>3];g[e+128>>3]=+g[a+128>>3];g[e+136>>3]=+g[a+136>>3]/(f*h);g[e+144>>3]=+g[a+144>>3]/(h*(f*f*h));i=9;break}case 2:{g[e+104>>3]=f*+g[a+104>>3];g[e+112>>3]=h*+g[a+112>>3];g[e+120>>3]=+g[a+120>>3];g[e+128>>3]=+g[a+128>>3]/(f*h);g[e+136>>3]=+g[a+136>>3]/(h*(f*f*h));i=9;break}case 1:{g[e+104>>3]=f*+g[a+104>>3];g[e+112>>3]=h*+g[a+112>>3];g[e+120>>3]=+g[a+120>>3];g[e+128>>3]=+g[a+128>>3]/(f*h);i=9;break}default:b=-1}if((i|0)==9){c[e+176>>2]=b;b=0}return b|0}function ie(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,h=0,i=0.0,j=0.0,k=0,l=0,m=0,n=0.0,o=0.0,p=0,q=0,r=0.0,s=0,t=0,u=0,v=0,w=0.0;h=zb;zb=zb+96|0;f=h;a:do if(!(+g[a+88>>3]>=0.0)){e=0;while(1){if((e|0)==3)break a;d=0;while(1){if((d|0)==4)break;g[f+(e<<5)+(d<<3)>>3]=-+g[a+(e<<5)+(d<<3)>>3];d=d+1|0}e=e+1|0}}else{e=0;while(1){if((e|0)==3)break a;d=0;while(1){if((d|0)==4)break;g[f+(e<<5)+(d<<3)>>3]=+g[a+(e<<5)+(d<<3)>>3];d=d+1|0}e=e+1|0}}while(0);e=0;while(1){if((e|0)==3)break;d=0;while(1){if((d|0)==4)break;g[b+(e<<5)+(d<<3)>>3]=0.0;d=d+1|0}e=e+1|0}i=+g[f+64>>3];n=+g[f+72>>3];o=+g[f+80>>3];w=+je(i,n,o);a=b+80|0;g[a>>3]=w;w=i/w;u=c+64|0;g[u>>3]=w;n=n/+g[a>>3];s=c+72|0;g[s>>3]=n;o=o/+g[a>>3];p=c+80|0;g[p>>3]=o;m=c+88|0;g[m>>3]=+g[f+88>>3]/+g[a>>3];i=+g[f+32>>3];j=+g[f+40>>3];r=+g[f+48>>3];o=+ke(w,n,o,i,j,r);l=b+48|0;g[l>>3]=o;i=i-o*+g[u>>3];j=j-o*+g[s>>3];o=r-o*+g[p>>3];r=+je(i,j,o);k=b+40|0;g[k>>3]=r;v=c+32|0;g[v>>3]=i/r;t=c+40|0;g[t>>3]=j/+g[k>>3];q=c+48|0;g[q>>3]=o/+g[k>>3];o=+g[f>>3];j=+g[f+8>>3];r=+g[f+16>>3];i=+ke(+g[u>>3],+g[s>>3],+g[p>>3],o,j,r);e=b+16|0;g[e>>3]=i;n=+ke(+g[v>>3],+g[t>>3],+g[q>>3],o,j,r);d=b+8|0;g[d>>3]=n;o=o-n*+g[v>>3]-i*+g[u>>3];j=j-n*+g[t>>3]-i*+g[s>>3];i=r-n*+g[q>>3]-i*+g[p>>3];n=+je(o,j,i);g[b>>3]=n;g[c>>3]=o/n;g[c+8>>3]=j/+g[b>>3];g[c+16>>3]=i/+g[b>>3];i=+g[m>>3];j=(+g[f+56>>3]-+g[l>>3]*i)/+g[k>>3];g[c+56>>3]=j;g[c+24>>3]=(+g[f+24>>3]-j*+g[d>>3]-i*+g[e>>3])/+g[b>>3];e=0;while(1){if((e|0)==3)break;d=0;while(1){if((d|0)==3)break;v=b+(e<<5)+(d<<3)|0;g[v>>3]=+g[v>>3]/+g[a>>3];d=d+1|0}e=e+1|0}zb=h;return 0}function je(a,b,c){a=+a;b=+b;c=+c;return +(+u(+(a*a+b*b+c*c)))}function ke(a,b,c,d,e,f){a=+a;b=+b;c=+c;d=+d;e=+e;f=+f;return +(a*d+b*e+c*f)}function le(a,b,c,d,e,f){a=a|0;b=+b;c=+c;d=d|0;e=e|0;f=f|0;var h=0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0.0,A=0.0,B=0.0,C=0.0,D=0.0;switch(f|0){case 4:{r=+g[a>>3];s=+g[a+8>>3];t=+g[a+16>>3];v=+g[a+24>>3];x=+g[a+32>>3];y=+g[a+40>>3];z=+g[a+48>>3];A=+g[a+56>>3];w=+g[a+64>>3];q=(b-z)/x;i=(c-A)/y;j=t*2.0;k=v*6.0;l=v*2.0;m=t*6.0;f=1;n=q;o=i;p=q*q;b=i*i;while(1){if(!(b!=0.0|p!=0.0)){c=0.0;b=0.0;break}D=b+p;C=r*D+1.0+D*(s*D);c=p*3.0;B=b*c;c=n-(v*(D+p*2.0)+(o*(j*n)+n*C)-q)/(k*n+(j*o+(r*(b+c)+1.0+s*(b*b+(p*(p*5.0)+B)))));n=l*c;b=o-(t*(b*2.0+D)+o*C+o*n-i)/(m*o+(r*(p+b*3.0)+1.0+s*(b*(b*5.0)+(p*p+B)))+n);if((f|0)==4)break;f=f+1|0;n=c;o=b;p=c*c;b=b*b}g[d>>3]=z+x*c/w;b=A+y*b/w;h=22;break}case 3:{p=+g[a>>3];j=(b-p)/+g[a+24>>3];h=a+8|0;b=c-+g[h>>3];l=+g[a+32>>3]/1.0e8;m=+g[a+40>>3]/1.0e8/1.0e5;i=j*j+b*b;k=+u(+i);n=l*3.0;o=m*5.0;f=1;c=j;j=k;while(1){if(!(j!=0.0)){c=0.0;b=0.0;break}D=j-(j*(1.0-l*i-i*(m*i))-k)/(1.0-n*i-i*(o*i));c=c*D/j;b=b*D/j;if((f|0)==3)break;i=c*c+b*b;f=f+1|0;j=+u(+i)}a=a+16|0;g[d>>3]=p+c/+g[a>>3];b=b/+g[a>>3]+ +g[h>>3];h=22;break}case 2:{p=+g[a>>3];j=b-p;h=a+8|0;b=c-+g[h>>3];l=+g[a+24>>3]/1.0e8;m=+g[a+32>>3]/1.0e8/1.0e5;i=j*j+b*b;k=+u(+i);n=l*3.0;o=m*5.0;f=1;c=j;j=k;while(1){if(!(j!=0.0)){c=0.0;b=0.0;break}D=j-(j*(1.0-l*i-i*(m*i))-k)/(1.0-n*i-i*(o*i));c=c*D/j;b=b*D/j;if((f|0)==3)break;i=c*c+b*b;f=f+1|0;j=+u(+i)}a=a+16|0;g[d>>3]=p+c/+g[a>>3];b=b/+g[a>>3]+ +g[h>>3];h=22;break}case 1:{n=+g[a>>3];j=b-n;h=a+8|0;b=c-+g[h>>3];l=+g[a+24>>3]/1.0e8;i=j*j+b*b;k=+u(+i);m=l*3.0;f=1;c=j;j=k;while(1){if(!(j!=0.0)){c=0.0;b=0.0;break}D=j-(j*(1.0-l*i)-k)/(1.0-m*i);c=c*D/j;b=b*D/j;if((f|0)==3)break;j=c*c+b*b;f=f+1|0;i=j;j=+u(+j)}a=a+16|0;g[d>>3]=n+c/+g[a>>3];b=b/+g[a>>3]+ +g[h>>3];h=22;break}default:f=-1}if((h|0)==22){g[e>>3]=b;f=0}return f|0}function me(a,b,c,d,e,f){a=a|0;b=+b;c=+c;d=d|0;e=e|0;f=f|0;var h=0.0,i=0.0,j=0,k=0.0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.0;a:do switch(f|0){case 4:{h=+g[a+16>>3];l=+g[a+24>>3];o=+g[a+32>>3];m=+g[a+40>>3];p=+g[a+48>>3];n=+g[a+56>>3];i=+g[a+64>>3];k=(b-p)*i/o;c=(c-n)*i/m;i=k*k+c*c;b=+g[a>>3]*i+1.0+i*(+g[a+8>>3]*i);g[d>>3]=p+o*(l*(i+k*(k*2.0))+(c*(h*2.0*k)+k*b));b=n+m*(c*(l*2.0*k)+(h*(i+c*(c*2.0))+c*b));j=12;break}case 3:{i=+g[a>>3];p=+g[a+16>>3];h=(b-i)*p;f=a+8|0;b=p*(c-+g[f>>3]);if(h==0.0&b==0.0){g[d>>3]=i;b=+g[f>>3];j=12;break a}else{p=h*h+b*b;p=1.0-p*(+g[a+32>>3]/1.0e8)-p*(p*(+g[a+40>>3]/1.0e8/1.0e5));g[d>>3]=i+ +g[a+24>>3]*(h*p);b=+g[f>>3]+b*p;j=12;break a}}case 2:{i=+g[a>>3];p=+g[a+16>>3];h=(b-i)*p;f=a+8|0;b=p*(c-+g[f>>3]);if(h==0.0&b==0.0){g[d>>3]=i;b=+g[f>>3];j=12;break a}else{p=h*h+b*b;p=1.0-p*(+g[a+24>>3]/1.0e8)-p*(p*(+g[a+32>>3]/1.0e8/1.0e5));g[d>>3]=i+h*p;b=+g[f>>3]+b*p;j=12;break a}}case 1:{i=+g[a>>3];p=+g[a+16>>3];h=(b-i)*p;f=a+8|0;b=p*(c-+g[f>>3]);if(h==0.0&b==0.0){g[d>>3]=i;b=+g[f>>3];j=12;break a}else{p=1.0-(h*h+b*b)*(+g[a+24>>3]/1.0e8);g[d>>3]=i+h*p;b=+g[f>>3]+b*p;j=12;break a}}default:f=-1}while(0);if((j|0)==12){g[e>>3]=b;f=0}return f|0}function ne(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;g=zb;zb=zb+192|0;f=g;oe(a,f);oe(a+4|0,f+4|0);d=0;while(1){if((d|0)==3)break;b=0;while(1){if((b|0)==4)break;pe(a+8+(d<<5)+(b<<3)|0,f+8+(d<<5)+(b<<3)|0);b=b+1|0}d=d+1|0}d=a+176|0;e=0;while(1){b=c[d>>2]|0;if((e|0)>=(c[1712+(b+-1<<3)>>2]|0))break;pe(a+104+(e<<3)|0,f+104+(e<<3)|0);e=e+1|0}c[f+176>>2]=b;fP(a|0,f|0,184)|0;zb=g;return}function oe(b,c){b=b|0;c=c|0;var d=0;d=0;while(1){if((d|0)==4)break;a[c+d>>0]=a[b+(3-d)>>0]|0;d=d+1|0}return}function pe(b,c){b=b|0;c=c|0;var d=0;d=0;while(1){if((d|0)==8)break;a[c+d>>0]=a[b+(7-d)>>0]|0;d=d+1|0}return}function qe(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0.0;s=zb;zb=zb+256|0;n=s+248|0;l=s+240|0;k=s+232|0;j=s+224|0;i=s+216|0;h=s+208|0;f=s+200|0;p=s;q=s+16|0;do if((a|0)!=0&(b|0)>0&(d|0)!=0){r=Qz(a,22236)|0;if(!r){c[f>>2]=c[(vx()|0)>>2];c[f+4>>2]=a;_e(0,3,20359,f);a=Gx(c[(vx()|0)>>2]|0)|0;c[h>>2]=58519;c[h+4>>2]=a;_e(0,3,21881,h);a=-1;break}gA(r,0,2)|0;a:do if(!(Zz(r)|0)){h=xA(r)|0;yA(r);f=0;while(1){if(f>>>0>=4){o=9;break}a=c[1712+(f<<3)+4>>2]|0;f=f+1|0;if(!((h|0)%(a|0)|0)){m=f;break}}do if((o|0)==9)if((f|0)==4){_e(0,3,20473,k);a=-1;break a}else{a=c[1712+(0<<3)+4>>2]|0;m=0;break}while(0);if((AA(q,a,1,r)|0)!=1){c[l>>2]=c[(vx()|0)>>2];_e(0,3,20553,l);a=Gx(c[(vx()|0)>>2]|0)|0;c[n>>2]=58519;c[n+4>>2]=a;_e(0,3,21881,n);a=-1;break}l=q+176|0;c[l>>2]=m;ne(q);k=(m|0)==1;i=q+120|0;if(k){t=+g[i>>3];j=q+128|0;g[i>>3]=+g[j>>3];g[j>>3]=t}else j=q+128|0;fP(d|0,q|0,184)|0;c[p>>2]=e;f=d+176|0;h=1;while(1){if((h|0)>=(b|0)){a=0;break a}e=(c[p>>2]|0)+(4-1)&~(4-1);a=c[e>>2]|0;c[p>>2]=e+4;c[a+176>>2]=c[f>>2];if((AA(q,c[1712+((c[f>>2]|0)+-1<<3)+4>>2]|0,1,r)|0)!=1){a=-1;break a}c[l>>2]=m;ne(q);if(k){t=+g[i>>3];g[i>>3]=+g[j>>3];g[j>>3]=t}fP(a|0,q|0,184)|0;h=h+1|0}}else{c[i>>2]=c[(vx()|0)>>2];_e(0,3,20428,i);a=Gx(c[(vx()|0)>>2]|0)|0;c[j>>2]=58519;c[j+4>>2]=a;_e(0,3,21881,j);a=-1}while(0);Wz(r)|0}else a=-1;while(0);zb=s;return a|0}function re(a,b,d,e){a=a|0;b=+b;d=+d;e=e|0;var f=0,h=0.0,i=0.0,j=0,k=0,l=0,m=0,n=0,o=0;o=zb;zb=zb+416|0;k=o+304|0;n=o+208|0;l=o+128|0;m=o;j=c[a>>2]|0;f=c[a+4>>2]|0;a:do if((ie(a+8|0,k,n)|0)<0)_e(0,3,20591,o+400|0);else{i=+(f+-1|0);f=0;while(1){if((f|0)==4)break;a=k+32+(f<<3)|0;g[a>>3]=+g[k+64+(f<<3)>>3]*i-+g[a>>3];f=f+1|0}h=+g[k+80>>3];f=0;while(1){if((f|0)==3)break;a=0;while(1){if((a|0)==3)break;g[l+(f*24|0)+(a<<3)>>3]=+g[k+(f<<5)+(a<<3)>>3]/h;a=a+1|0}f=f+1|0}h=+(j+-1|0);g[m>>3]=+g[l>>3]*2.0/h;g[m+8>>3]=+g[l+8>>3]*2.0/h;g[m+16>>3]=-(+g[l+16>>3]*2.0/h+-1.0);j=m+24|0;c[j>>2]=0;c[j+4>>2]=0;c[j+8>>2]=0;c[j+12>>2]=0;g[m+40>>3]=-(+g[l+32>>3]*2.0/i);g[m+48>>3]=-(+g[l+40>>3]*2.0/i+-1.0);j=m+56|0;h=b-d;c[j>>2]=0;c[j+4>>2]=0;c[j+8>>2]=0;c[j+12>>2]=0;c[j+16>>2]=0;c[j+20>>2]=0;g[m+80>>3]=(b+d)/h;g[m+88>>3]=d*2.0*b/h;j=m+96|0;c[j>>2]=0;c[j+4>>2]=0;c[j+8>>2]=0;c[j+12>>2]=0;g[m+112>>3]=-1.0;g[m+120>>3]=0.0;h=+g[n+24>>3];i=+g[n+56>>3];d=+g[n+88>>3];j=0;while(1){if((j|0)==4)break a;b=+g[m+(j<<5)>>3];f=m+(j<<5)+8|0;a=m+(j<<5)+16|0;k=0;while(1){if((k|0)==3)break;g[e+((k<<2)+j<<3)>>3]=b*+g[n+(k<<3)>>3]+ +g[f>>3]*+g[n+32+(k<<3)>>3]+ +g[a>>3]*+g[n+64+(k<<3)>>3];k=k+1|0}g[e+(j+12<<3)>>3]=+g[m+(j<<5)+24>>3]+(b*h+ +g[f>>3]*i+ +g[a>>3]*d);j=j+1|0}}while(0);zb=o;return}function se(a,b){a=a|0;b=b|0;var d=0,e=0,h=0.0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0.0;s=zb;zb=zb+64|0;o=s+24|0;p=s+16|0;q=s+8|0;r=s;n=MO(208)|0;if(!n){_e(0,3,42700,s+32|0);Fa(1)}fP(n|0,a|0,184)|0;m=b<<1;l=(c[a>>2]|0)+m|0;c[n+192>>2]=l;m=(c[a+4>>2]|0)+m|0;c[n+196>>2]=m;c[n+200>>2]=b;c[n+204>>2]=b;d=C(l<<3,m)|0;e=MO(d)|0;c[n+184>>2]=e;if(!e){_e(0,3,42700,s+40|0);Fa(1)}d=MO(d)|0;c[n+188>>2]=d;if(!d){_e(0,3,42700,s+48|0);Fa(1)}k=a+104|0;j=c[a+176>>2]|0;i=0;while(1){if((i|0)>=(m|0))break;h=+(i-b|0);a=0;while(1){if((a|0)>=(l|0))break;t=+(a-b|0);me(k,t,h,q,r,j)|0;f[e>>2]=+g[q>>3];f[e+4>>2]=+g[r>>3];le(k,t,h,o,p,j)|0;f[d>>2]=+g[o>>3];f[d+4>>2]=+g[p>>3];a=a+1|0;e=e+8|0;d=d+8|0}i=i+1|0}zb=s;return n|0}function te(a){a=a|0;var b=0;if((a|0)!=0?(b=c[a>>2]|0,(b|0)!=0):0){NO(c[b+184>>2]|0);NO(c[(c[a>>2]|0)+188>>2]|0);NO(c[a>>2]|0);c[a>>2]=0;b=0}else b=-1;return b|0}function ue(a,b,d,e,f){a=a|0;b=+b;d=+d;e=e|0;f=f|0;var g=0,h=0,i=0;h=(c[a+16>>2]|0)+~~(b+.5)|0;g=(c[a+20>>2]|0)+~~(d+.5)|0;if(((h|0)>=0?(i=c[a+8>>2]|0,!((g|0)<0|(h|0)>=(i|0))):0)?(g|0)<(c[a+12>>2]|0):0){g=(c[a>>2]|0)+((C(i,g)|0)+h<<1<<2)|0;c[e>>2]=c[g>>2];c[f>>2]=c[g+4>>2];g=0}else g=-1;return g|0}function ve(a,b,d,e,f){a=a|0;b=+b;d=+d;e=e|0;f=f|0;var g=0,h=0,i=0;h=(c[a+16>>2]|0)+~~(b+.5)|0;g=(c[a+20>>2]|0)+~~(d+.5)|0;if(((h|0)>=0?(i=c[a+8>>2]|0,!((g|0)<0|(h|0)>=(i|0))):0)?(g|0)<(c[a+12>>2]|0):0){g=(c[a+4>>2]|0)+((C(i,g)|0)+h<<1<<2)|0;c[e>>2]=c[g>>2];c[f>>2]=c[g+4>>2];g=0}else g=-1;return g|0}function we(a){a=a|0;var b=0,d=0;b=MO(8)|0;do if(b){d=MO(a<<3)|0;c[b>>2]=d;if(!d){NO(b);b=0;break}else{c[b+4>>2]=a;break}}else b=0;while(0);return b|0}function xe(a){a=a|0;NO(c[a>>2]|0);NO(a);return 0}function ye(a){a=a|0;var b=0.0,d=0,e=0.0,f=0,h=0;b=+u(+(+ze(a,a)));a:do if(b!=0.0){f=c[a>>2]|0;e=+g[f>>3];b=e<0.0?-b:b;e=e+b;g[f>>3]=e;e=1.0/+u(+(b*e));a=c[a+4>>2]|0;d=0;while(1){if((d|0)>=(a|0))break a;h=f+(d<<3)|0;g[h>>3]=e*+g[h>>3];d=d+1|0}}while(0);return +-b}function ze(a,b){a=a|0;b=b|0;var d=0,e=0,f=0.0,h=0.0;d=c[a+4>>2]|0;if((d|0)!=(c[b+4>>2]|0))Fa(0);e=0;f=0.0;while(1){if((e|0)>=(d|0))break;h=f+ +g[(c[a>>2]|0)+(e<<3)>>3]*+g[(c[b>>2]|0)+(e<<3)>>3];e=e+1|0;f=h}return +f}function Ae(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,h=0,i=0.0,j=0,k=0,l=0,m=0,n=0.0,o=0.0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;x=zb;zb=zb+16|0;v=x+8|0;w=x;r=c[a+8>>2]|0;a:do if(((r|0)==(c[a+4>>2]|0)?(r|0)==(c[b+4>>2]|0):0)?(r|0)==((c[d+4>>2]|0)+1|0):0){u=r+-2|0;s=v+4|0;t=w+4|0;p=0;while(1){if((p|0)>=(u|0))break;m=(c[a>>2]|0)+((C(p,r)|0)<<3)|0;g[(c[b>>2]|0)+(p<<3)>>3]=+g[m+(p<<3)>>3];k=r-p+-1|0;c[s>>2]=k;l=p+1|0;h=m+(l<<3)|0;c[v>>2]=h;o=+ye(v);g[(c[d>>2]|0)+(p<<3)>>3]=o;b:do if(!(o==0.0)){j=l;while(1){if((j|0)>=(r|0))break;e=l;i=0.0;while(1){if(e>>>0>=j>>>0)break;o=+g[(c[a>>2]|0)+((C(e,r)|0)+j<<3)>>3];o=i+o*+g[m+(e<<3)>>3];e=e+1|0;i=o}f=C(j,r)|0;e=j;while(1){if((e|0)>=(r|0))break;o=i+ +g[(c[a>>2]|0)+(e+f<<3)>>3]*+g[m+(e<<3)>>3];e=e+1|0;i=o}g[(c[b>>2]|0)+(j<<3)>>3]=i;j=j+1|0}c[t>>2]=k;c[s>>2]=k;c[v>>2]=h;c[w>>2]=(c[b>>2]|0)+(l<<3);o=+ze(v,w)*.5;e=r;while(1){e=e+-1|0;if((e|0)<=(p|0))break b;i=+g[m+(e<<3)>>3];f=c[b>>2]|0;j=f+(e<<3)|0;n=+g[j>>3]-o*i;g[j>>3]=n;j=C(e,r)|0;h=e;while(1){if((h|0)>=(r|0))break;k=(c[a>>2]|0)+(h+j<<3)|0;g[k>>3]=+g[k>>3]-(i*+g[f+(h<<3)>>3]+n*+g[m+(h<<3)>>3]);h=h+1|0}}}while(0);p=l}if((r|0)<=1)if((r|0)==1){e=c[a>>2]|0;f=c[b>>2]|0;h=0;q=27}else e=r;else{e=c[a>>2]|0;q=C(u,r)|0;f=c[b>>2]|0;g[f+(u<<3)>>3]=+g[e+(q+u<<3)>>3];h=r+-1|0;g[(c[d>>2]|0)+(u<<3)>>3]=+g[e+(h+q<<3)>>3];q=27}if((q|0)==27){i=+g[e+((C(h,r)|0)+h<<3)>>3];f=f+(h<<3)|0;e=r;q=28}while(1){if((q|0)==28)g[f>>3]=i;d=e+-1|0;if((e|0)<=0){e=0;break a}m=(c[a>>2]|0)+((C(d,r)|0)<<3)|0;c:do if((e|0)<=(u|0)){l=r-d+-1|0;f=m+(e<<3)|0;h=e;while(1){if((h|0)>=(r|0))break c;c[t>>2]=l;c[s>>2]=l;c[v>>2]=f;k=C(h,r)|0;c[w>>2]=(c[a>>2]|0)+(k+e<<3);i=+ze(v,w);j=e;while(1){if((j|0)>=(r|0))break;q=(c[a>>2]|0)+(j+k<<3)|0;g[q>>3]=+g[q>>3]-i*+g[m+(j<<3)>>3];j=j+1|0}h=h+1|0}}while(0);e=0;while(1){if((e|0)>=(r|0))break;g[m+(e<<3)>>3]=0.0;e=e+1|0}i=1.0;f=m+(d<<3)|0;e=d;q=28}}else e=-1;while(0);zb=x;return e|0}function Be(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0,e=0.0,f=0.0,h=0.0,i=0.0;f=+g[c>>3];h=+g[c+8>>3];d=+g[c+16>>3];e=+g[b+88>>3]+(f*+g[b+64>>3]+h*+g[b+72>>3]+d*+g[b+80>>3]);if(e==0.0)c=-1;else{i=+g[b+56>>3]+(f*+g[b+32>>3]+h*+g[b+40>>3]+d*+g[b+48>>3]);g[a>>3]=(+g[b+24>>3]+(f*+g[b>>3]+h*+g[b+8>>3]+d*+g[b+16>>3]))/e;g[a+8>>3]=i/e;c=0}return c|0}function Ce(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0.0,f=0,h=0,i=0,j=0,k=0.0;j=zb;zb=zb+224|0;i=j+48|0;h=j;f=j+192|0;De(i,f,c,d);a:do if((Ee(h,b,f)|0)<0){_e(0,3,20661,j+216|0);b=-1}else{d=0;while(1){if((d|0)==2){b=0;break a}c=0;while(1){if((c|0)==6)break;b=a+(d*48|0)+(c<<3)|0;g[b>>3]=0.0;e=0.0;f=0;while(1){if((f|0)==3)break;k=e+ +g[h+(d*24|0)+(f<<3)>>3]*+g[i+(f*48|0)+(c<<3)>>3];g[b>>3]=k;e=k;f=f+1|0}c=c+1|0}d=d+1|0}}while(0);zb=j;return b|0}function De(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0.0,f=0,h=0,i=0,j=0,k=0.0,l=0.0,m=0.0,n=0.0,o=0.0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;j=zb;zb=zb+864|0;i=j+576|0;h=j;u=c+8|0;w=d+8|0;n=+g[w>>3];t=c+16|0;v=d+16|0;l=+g[v>>3];g[b>>3]=+g[c+24>>3]+(+g[c>>3]*+g[d>>3]+ +g[u>>3]*n+ +g[t>>3]*l);s=c+32|0;o=+g[d>>3];r=c+40|0;q=c+48|0;g[b+8>>3]=+g[c+56>>3]+(+g[s>>3]*o+n*+g[r>>3]+l*+g[q>>3]);p=c+64|0;f=c+72|0;n=+g[w>>3];d=c+80|0;g[b+16>>3]=+g[c+88>>3]+(o*+g[p>>3]+ +g[f>>3]*n+l*+g[d>>3]);l=+g[c>>3];g[i>>3]=o*l;g[i+8>>3]=n*l;m=+g[v>>3];g[i+16>>3]=l*m;k=+g[u>>3];g[i+24>>3]=o*k;g[i+32>>3]=n*k;g[i+40>>3]=m*k;e=+g[t>>3];g[i+48>>3]=o*e;g[i+56>>3]=n*e;g[i+64>>3]=m*e;g[i+72>>3]=l;g[i+80>>3]=k;g[i+88>>3]=e;e=+g[s>>3];g[i+96>>3]=o*e;g[i+104>>3]=n*e;g[i+112>>3]=m*e;k=+g[r>>3];g[i+120>>3]=o*k;g[i+128>>3]=n*k;g[i+136>>3]=m*k;l=+g[q>>3];g[i+144>>3]=o*l;g[i+152>>3]=n*l;g[i+160>>3]=m*l;g[i+168>>3]=e;g[i+176>>3]=k;g[i+184>>3]=l;l=+g[p>>3];g[i+192>>3]=o*l;g[i+200>>3]=n*l;g[i+208>>3]=m*l;k=+g[f>>3];g[i+216>>3]=o*k;g[i+224>>3]=n*k;g[i+232>>3]=m*k;e=+g[d>>3];g[i+240>>3]=o*e;g[i+248>>3]=n*e;g[i+256>>3]=m*e;g[i+264>>3]=l;g[i+272>>3]=k;g[i+280>>3]=e;Fe(h);d=0;while(1){if((d|0)==3)break;b=0;while(1){if((b|0)==6)break;c=a+(d*48|0)+(b<<3)|0;g[c>>3]=0.0;e=0.0;f=0;while(1){if((f|0)==12)break;o=e+ +g[i+(d*96|0)+(f<<3)>>3]*+g[h+(f*48|0)+(b<<3)>>3];g[c>>3]=o;e=o;f=f+1|0}b=b+1|0}d=d+1|0}zb=j;return}function Ee(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0,e=0.0,f=0.0,h=0.0,i=0,j=0,k=0,l=0,m=0,n=0.0,o=0,p=0,q=0.0,r=0.0;n=+g[b>>3];r=+g[c>>3];o=b+8|0;q=+g[c+8>>3];p=b+16|0;d=+g[c+16>>3];f=+g[b+24>>3]+(n*r+ +g[o>>3]*q+ +g[p>>3]*d);c=b+32|0;i=b+40|0;j=b+48|0;h=+g[b+56>>3]+(r*+g[c>>3]+q*+g[i>>3]+d*+g[j>>3]);k=b+64|0;e=+g[k>>3];l=b+72|0;m=b+80|0;d=+g[b+88>>3]+(r*e+q*+g[l>>3]+d*+g[m>>3]);if(d==0.0)c=-1;else{r=d*d;g[a>>3]=(n*d-f*e)/r;g[a+8>>3]=(d*+g[o>>3]-f*+g[l>>3])/r;g[a+16>>3]=(d*+g[p>>3]-f*+g[m>>3])/r;g[a+24>>3]=(d*+g[c>>3]-h*+g[k>>3])/r;g[a+32>>3]=(d*+g[i>>3]-h*+g[l>>3])/r;g[a+40>>3]=(d*+g[j>>3]-h*+g[m>>3])/r;c=0}return c|0}function Fe(a){a=a|0;var b=0,d=0,e=0;b=a+64|0;d=a;e=d+64|0;do{c[d>>2]=0;d=d+4|0}while((d|0)<(e|0));g[b>>3]=-1.0;b=a+72|0;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;c[b+12>>2]=0;c[b+16>>2]=0;c[b+20>>2]=0;c[b+24>>2]=0;c[b+28>>2]=0;g[a+104>>3]=1.0;b=a+160|0;d=a+112|0;e=d+48|0;do{c[d>>2]=0;d=d+4|0}while((d|0)<(e|0));g[b>>3]=1.0;b=a+240|0;d=a+168|0;e=d+72|0;do{c[d>>2]=0;d=d+4|0}while((d|0)<(e|0));g[b>>3]=-1.0;b=a+296|0;d=a+248|0;e=d+48|0;do{c[d>>2]=0;d=d+4|0}while((d|0)<(e|0));g[b>>3]=-1.0;b=a+304|0;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;c[b+12>>2]=0;c[b+16>>2]=0;c[b+20>>2]=0;c[b+24>>2]=0;c[b+28>>2]=0;g[a+336>>3]=1.0;b=a+456|0;d=a+344|0;e=d+112|0;do{c[d>>2]=0;d=d+4|0}while((d|0)<(e|0));g[b>>3]=1.0;b=a+512|0;d=a+464|0;e=d+48|0;do{c[d>>2]=0;d=d+4|0}while((d|0)<(e|0));g[b>>3]=1.0;b=a+568|0;d=a+520|0;e=d+48|0;do{c[d>>2]=0;d=d+4|0}while((d|0)<(e|0));g[b>>3]=1.0;return}function Ge(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;i=zb;zb=zb+48|0;h=i+24|0;g=i+12|0;f=i;c[h+4>>2]=6;c[h+8>>2]=1;c[h>>2]=a;c[g+4>>2]=e;c[g+8>>2]=1;c[g>>2]=b;c[f+4>>2]=e;c[f+8>>2]=6;c[f>>2]=d;b=Od(f)|0;do if(b){a=Md(b,f)|0;if(!a){Rd(b)|0;d=-1;break}d=Md(b,g)|0;if(!d){Rd(b)|0;Rd(a)|0;d=-1;break}if((be(a)|0)<0){Rd(b)|0;Rd(a)|0;Rd(d)|0;d=-1;break}else{Td(h,a,d)|0;Rd(b)|0;Rd(a)|0;Rd(d)|0;d=0;break}}else d=-1;while(0);zb=i;return d|0}function He(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,h=0,i=0,j=0;j=zb;zb=zb+256|0;f=j+192|0;h=j+96|0;i=j;Ie(f,b);Je(h,f);f=0;while(1){if((f|0)==3)break;b=a+(f<<5)|0;c=a+(f<<5)+8|0;d=a+(f<<5)+16|0;e=0;while(1){if((e|0)==4)break;g[i+(f<<5)+(e<<3)>>3]=+g[b>>3]*+g[h+(e<<3)>>3]+ +g[c>>3]*+g[h+32+(e<<3)>>3]+ +g[d>>3]*+g[h+64+(e<<3)>>3];e=e+1|0}e=i+(f<<5)+24|0;g[e>>3]=+g[a+(f<<5)+24>>3]+ +g[e>>3];f=f+1|0}c=0;while(1){if((c|0)==3)break;b=0;while(1){if((b|0)==4)break;g[a+(c<<5)+(b<<3)>>3]=+g[i+(c<<5)+(b<<3)>>3];b=b+1|0}c=c+1|0}zb=j;return 0}function Ie(a,b){a=a|0;b=b|0;var c=0.0,d=0.0,e=0,f=0,h=0.0;c=+g[b>>3];e=b+8|0;h=+g[e>>3];f=b+16|0;d=+g[f>>3];d=c*c+h*h+d*d;if(d==0.0){g[a>>3]=1.0;g[a+8>>3]=0.0;d=0.0;c=0.0}else{h=+u(+d);g[a>>3]=c/h;g[a+8>>3]=+g[e>>3]/h;d=h;c=+g[f>>3]/h}g[a+16>>3]=c;g[a+24>>3]=d;g[a+32>>3]=+g[b+24>>3];g[a+40>>3]=+g[b+32>>3];g[a+48>>3]=+g[b+40>>3];return}function Je(a,b){a=a|0;b=b|0;var c=0.0,d=0.0,e=0.0,f=0,h=0,i=0.0;c=+g[b+24>>3];e=+w(+c);d=1.0-e;c=+x(+c);i=+g[b>>3];g[a>>3]=e+i*i*d;h=b+8|0;f=b+16|0;g[a+8>>3]=d*(+g[b>>3]*+g[h>>3])-c*+g[f>>3];g[a+16>>3]=d*(+g[b>>3]*+g[f>>3])+c*+g[h>>3];g[a+24>>3]=+g[b+32>>3];g[a+32>>3]=d*(+g[h>>3]*+g[b>>3])+c*+g[f>>3];i=+g[h>>3];g[a+40>>3]=e+d*(i*i);g[a+48>>3]=d*(+g[h>>3]*+g[f>>3])-c*+g[b>>3];g[a+56>>3]=+g[b+40>>3];g[a+64>>3]=d*(+g[f>>3]*+g[b>>3])-c*+g[h>>3];g[a+72>>3]=d*(+g[f>>3]*+g[h>>3])+c*+g[b>>3];c=+g[f>>3];g[a+80>>3]=e+d*(c*c);g[a+88>>3]=+g[b+48>>3];return}function Ke(a){a=a|0;var b=0,d=0,e=0;b=MO(136)|0;if(!b)b=0;else{e=0;while(1){if((e|0)==3)break;d=0;while(1){if((d|0)==4)break;g[b+(e<<5)+(d<<3)>>3]=+g[a+(e<<5)+(d<<3)>>3];d=d+1|0}e=e+1|0}c[b+96>>2]=10;g[b+104>>3]=.10000000149011612;g[b+112>>3]=.9900000095367432;g[b+120>>3]=4.0;g[b+128>>3]=.5}return b|0}function Le(a){a=a|0;var b=0;b=c[a>>2]|0;if(!b)b=-1;else{NO(b);c[a>>2]=0;b=0}return b|0}function Me(a,b){a=a|0;b=+b;if(!a)a=-1;else{g[a+128>>3]=b;a=0}return a|0}function Ne(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var h=0,i=0,j=0,k=0.0,l=0.0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0.0,z=0.0;x=zb;zb=zb+176|0;j=x+168|0;i=x+160|0;s=x+144|0;u=x+48|0;t=x;v=b+8|0;h=c[v>>2]|0;do if((h|0)>=3){w=MO(h*96|0)|0;if(!w){_e(0,3,42717,i);h=-1;break}r=MO(h<<4)|0;if(!r){_e(0,3,42717,j);NO(w);h=-1;break}i=0;while(1){if((i|0)==3)break;h=0;while(1){if((h|0)==4)break;g[e+(i<<5)+(h<<3)>>3]=+g[d+(i<<5)+(h<<3)>>3];h=h+1|0}i=i+1|0}p=b+4|0;q=s+8|0;d=a+104|0;o=a+96|0;m=a+120|0;j=a+112|0;l=0.0;n=0;a:while(1){xd(a,e,u)|0;k=0.0;i=0;while(1){h=c[v>>2]|0;if((i|0)>=(h|0))break;if((Be(s,u,(c[p>>2]|0)+(i*24|0)|0)|0)<0){i=16;break a}h=c[b>>2]|0;z=+g[h+(i<<4)>>3]-+g[s>>3];y=+g[h+(i<<4)+8>>3]-+g[q>>3];h=i<<1;g[r+(h<<3)>>3]=z;g[r+((h|1)<<3)>>3]=y;k=k+(z*z+y*y);i=i+1|0}k=k/+(h|0);if(k<+g[d>>3]){i=31;break}if((n|0?k<+g[m>>3]:0)?k/l>+g[j>>3]:0){i=31;break}if((n|0)==(c[o>>2]|0)){i=31;break}i=0;while(1){if((i|0)>=(h|0))break;if((Ce(w+(i*12<<3)|0,a,e,(c[p>>2]|0)+(i*24|0)|0)|0)<0){i=27;break a}h=c[v>>2]|0;i=i+1|0}if((Ge(t,r,w,h<<1)|0)<0){i=29;break}He(e,t)|0;l=k;n=n+1|0}if((i|0)==16){Oe(w,r);h=-1;break}else if((i|0)==27){Oe(w,r);h=-1;break}else if((i|0)==29){Oe(w,r);h=-1;break}else if((i|0)==31){g[f>>3]=k;NO(w);NO(r);h=0;break}}else h=-1;while(0);zb=x;return h|0}function Oe(a,b){a=a|0;b=b|0;NO(a);NO(b);return}function Pe(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0;F=zb;zb=zb+192|0;l=F+184|0;k=F+176|0;j=F+168|0;h=F+160|0;z=F+144|0;C=F+48|0;B=F;D=b+8|0;i=c[D>>2]|0;do if((i|0)>=4){m=~~(+g[a+128>>3]*+(i|0))+-1|0;m=(m|0)>3?m:3;E=MO(i*96|0)|0;if(!E){_e(0,3,42717,h);h=-1;break}A=MO(i<<4)|0;if(!A){_e(0,3,42717,j);NO(E);h=-1;break}h=i<<3;y=MO(h)|0;if(!y){_e(0,3,42717,k);NO(E);NO(A);h=-1;break}x=MO(h)|0;if(!x){_e(0,3,42717,l);NO(E);NO(A);NO(y);h=-1;break}i=0;while(1){if((i|0)==3)break;h=0;while(1){if((h|0)==4)break;g[e+(i<<5)+(h<<3)>>3]=+g[d+(i<<5)+(h<<3)>>3];h=h+1|0}i=i+1|0}v=b+4|0;w=z+8|0;l=x+(m<<3)|0;m=a+104|0;u=a+96|0;s=a+120|0;d=a+112|0;q=0.0;t=0;a:while(1){xd(a,e,C)|0;i=0;while(1){h=c[D>>2]|0;if((i|0)>=(h|0))break;if((Be(z,C,(c[v>>2]|0)+(i*24|0)|0)|0)<0){i=20;break a}k=c[b>>2]|0;p=+g[k+(i<<4)>>3]-+g[z>>3];r=+g[k+(i<<4)+8>>3]-+g[w>>3];k=i<<1;g[A+(k<<3)>>3]=p;g[A+((k|1)<<3)>>3]=r;r=p*p+r*r;g[x+(i<<3)>>3]=r;g[y+(i<<3)>>3]=r;i=i+1|0}Oy(x,h,8,18);r=+g[l>>3]*4.0;r=r<16.0?16.0:r;h=c[D>>2]|0;o=r/6.0;p=0.0;i=0;while(1){if((i|0)>=(h|0))break;n=+g[x+(i<<3)>>3];if(n>r)n=o;else{n=1.0-n/r;n=o*(1.0-n*(n*n))}p=p+n;i=i+1|0}o=p/+(h|0);if(o<+g[m>>3]){i=44;break}if((t|0?o<+g[s>>3]:0)?o/q>+g[d>>3]:0){i=44;break}if((t|0)==(c[u>>2]|0)){i=44;break}k=0;i=0;while(1){if((k|0)>=(h|0))break;n=+g[y+(k<<3)>>3];if(n<=r){j=i*6|0;h=E+(j<<3)|0;if((Ce(h,a,e,(c[v>>2]|0)+(k*24|0)|0)|0)<0){i=36;break a}q=1.0-n/r;q=q*q;g[h>>3]=q*+g[h>>3];h=E+((j|1)<<3)|0;g[h>>3]=q*+g[h>>3];h=E+(j+2<<3)|0;g[h>>3]=q*+g[h>>3];h=E+(j+3<<3)|0;g[h>>3]=q*+g[h>>3];h=E+(j+4<<3)|0;g[h>>3]=q*+g[h>>3];h=E+(j+5<<3)|0;g[h>>3]=q*+g[h>>3];h=E+(j+6<<3)|0;g[h>>3]=q*+g[h>>3];h=E+(j+7<<3)|0;g[h>>3]=q*+g[h>>3];h=E+(j+8<<3)|0;g[h>>3]=q*+g[h>>3];h=E+(j+9<<3)|0;g[h>>3]=q*+g[h>>3];h=E+(j+10<<3)|0;g[h>>3]=q*+g[h>>3];h=E+(j+11<<3)|0;g[h>>3]=q*+g[h>>3];h=k<<1;g[A+(i<<3)>>3]=q*+g[A+(h<<3)>>3];g[A+(i+1<<3)>>3]=q*+g[A+((h|1)<<3)>>3];h=c[D>>2]|0;i=i+2|0}k=k+1|0}if((i|0)<6){i=40;break}if((Ge(B,A,E,i)|0)<0){i=42;break}He(e,B)|0;q=o;t=t+1|0}if((i|0)==20){Qe(E,A,y,x);h=-1;break}else if((i|0)==36){Qe(E,A,y,x);h=-1;break}else if((i|0)==40){Qe(E,A,y,x);h=-1;break}else if((i|0)==42){Qe(E,A,y,x);h=-1;break}else if((i|0)==44){g[f>>3]=o;NO(E);NO(A);NO(y);NO(x);h=0;break}}else h=-1;while(0);zb=F;return h|0}function Qe(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;NO(a);NO(b);NO(c);NO(d);return}function Re(a,b){a=a|0;b=b|0;var c=0.0;c=+g[a>>3]-+g[b>>3];return (c<0.0?-1:c>0.0&1)|0}function Se(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,v=0,w=0,x=0,y=0,z=0.0,A=0.0,B=0.0,C=0.0,D=0.0,E=0.0,F=0.0,G=0.0,H=0.0,I=0.0,J=0.0,K=0.0,L=0.0,M=0.0,N=0.0,O=0.0;t=zb;zb=zb+128|0;s=t+120|0;p=t+112|0;o=t+104|0;m=t+96|0;l=t+88|0;j=t+80|0;i=t+72|0;r=t;a:do if((e|0)>=4){h=0;while(1){if((h|0)>=(e|0))break;if(+g[d+(h*24|0)+16>>3]!=0.0){h=-1;break a}else h=h+1|0}if((((((((!(+g[a>>3]==0.0)?!(+g[a+32>>3]!=0.0):0)?(q=a+40|0,!(+g[q>>3]==0.0)):0)?!(+g[a+64>>3]!=0.0):0)?!(+g[a+72>>3]!=0.0):0)?!(+g[a+80>>3]!=1.0):0)?!(+g[a+24>>3]!=0.0):0)?!(+g[a+56>>3]!=0.0):0)?!(+g[a+88>>3]!=0.0):0){h=e<<1;n=Jd(h,8)|0;if(!n){_e(0,3,20681,i);h=-1;break}k=Jd(h,1)|0;if(!k){Rd(n)|0;_e(0,3,20707,j);h=-1;break}h=0;while(1){if((h|0)==(e|0))break;y=d+(h*24|0)|0;j=c[n>>2]|0;i=h<<4;g[j+(i<<3)>>3]=+g[y>>3];x=d+(h*24|0)+8|0;g[j+((i|1)<<3)>>3]=+g[x>>3];g[j+((i|2)<<3)>>3]=1.0;g[j+((i|3)<<3)>>3]=0.0;g[j+((i|4)<<3)>>3]=0.0;g[j+((i|5)<<3)>>3]=0.0;w=b+(h<<4)|0;g[j+((i|6)<<3)>>3]=-(+g[y>>3]*+g[w>>3]);g[j+((i|7)<<3)>>3]=-(+g[x>>3]*+g[w>>3]);g[j+((i|8)<<3)>>3]=0.0;g[j+((i|9)<<3)>>3]=0.0;g[j+((i|10)<<3)>>3]=0.0;g[j+((i|11)<<3)>>3]=+g[y>>3];g[j+((i|12)<<3)>>3]=+g[x>>3];g[j+((i|13)<<3)>>3]=1.0;v=b+(h<<4)+8|0;g[j+((i|14)<<3)>>3]=-(+g[y>>3]*+g[v>>3]);g[j+((i|15)<<3)>>3]=-(+g[x>>3]*+g[v>>3]);i=c[k>>2]|0;j=h<<1;g[i+(j<<3)>>3]=+g[w>>3];g[i+((j|1)<<3)>>3]=+g[v>>3];h=h+1|0}e=Od(n)|0;if(!e){Rd(n)|0;Rd(k)|0;_e(0,3,20733,l);h=-1;break}j=Md(e,n)|0;if(!j){Rd(n)|0;Rd(k)|0;Rd(e)|0;_e(0,3,20759,m);h=-1;break}i=Md(e,k)|0;if(!i){Rd(n)|0;Rd(k)|0;Rd(e)|0;Rd(j)|0;_e(0,3,20785,o);h=-1;break}if((be(j)|0)<0){Rd(n)|0;Rd(k)|0;Rd(e)|0;Rd(j)|0;Rd(i)|0;_e(0,3,20811,p);h=-1;break}h=Md(j,i)|0;if(!h){Rd(n)|0;Rd(k)|0;Rd(e)|0;Rd(j)|0;Rd(i)|0;_e(0,3,20837,s);h=-1;break}else{p=c[h>>2]|0;H=+g[p+48>>3];w=r+16|0;E=+g[a+48>>3];A=+g[q>>3];K=(+g[p+24>>3]-H*E)/A;s=r+8|0;D=+g[a+16>>3];C=+g[a+8>>3];B=+g[a>>3];N=(+g[p>>3]-H*D-K*C)/B;I=+g[p+56>>3];v=r+40|0;L=(+g[p+32>>3]-E*I)/A;x=r+32|0;J=(+g[p+8>>3]-D*I-C*L)/B;y=r+24|0;A=(+g[p+40>>3]-E)/A;E=+g[p+16>>3];Rd(n)|0;Rd(k)|0;Rd(e)|0;Rd(j)|0;Rd(i)|0;Rd(h)|0;M=+u(+(H*H+(K*K+N*N)));z=+u(+(I*I+(L*L+J*J)));g[r>>3]=N/M;g[s>>3]=K/M;g[w>>3]=H/M;g[y>>3]=J/z;g[x>>3]=L/z;g[v>>3]=I/z;z=(M+z)*.5;Te(r);M=+g[s>>3];I=+g[v>>3];L=+g[w>>3];J=+g[x>>3];H=M*I-L*J;K=+g[y>>3];N=+g[r>>3];G=L*K-I*N;O=J*N-M*K;F=+u(+(O*O+(H*H+G*G)));H=H/F;g[r+48>>3]=H;G=G/F;g[r+56>>3]=G;F=O/F;g[r+64>>3]=F;g[f>>3]=N;g[f+32>>3]=M;g[f+64>>3]=L;g[f+8>>3]=K;g[f+40>>3]=J;g[f+72>>3]=I;g[f+16>>3]=H;g[f+48>>3]=G;g[f+80>>3]=F;g[f+24>>3]=(E-D-C*A)/B/z;g[f+56>>3]=A/z;g[f+88>>3]=1.0/z;h=0;break}}else h=-1}else h=-1;while(0);zb=t;return h|0}function Te(a){a=a|0;var b=0.0,c=0.0,d=0.0,e=0.0,f=0.0,h=0.0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0,n=0.0,o=0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0.0,A=0.0,B=0.0,C=0.0,D=0.0,E=0.0,F=0.0,G=0.0,H=0.0,I=0.0,J=0,K=0,L=0,M=0,N=0,O=0;l=+g[a>>3];M=a+8|0;m=+g[M>>3];N=a+16|0;n=+g[N>>3];J=a+24|0;z=+g[J>>3];K=a+32|0;A=+g[K>>3];L=a+40|0;f=+g[L>>3];b=m*f-n*A;c=n*z-l*f;e=l*A-m*z;d=+u(+(e*e+(b*b+c*c)));do if(!(d==0.0)){q=b/d;p=c/d;k=e/d;B=l*z+m*A+n*f;B=B<0.0?-B:B;B=(+u(+(B+1.0))+ +u(+(1.0-B)))*.5;b=l*p;c=m*q;d=b-c;if(d!=0.0){o=0;h=d;i=l;j=m;e=n;d=q;n=p}else{O=l*k-n*q!=0.0;j=O?n:m;i=O?l:n;n=O?k:p;d=O?q:k;e=i*n;h=j*d;b=e;c=h;o=O?1:2;h=e-h;e=O?m:l;k=O?p:q}if(!(h==0.0)?(v=(j*k-e*n)/h,w=B*n/h,y=c-b,x=(i*k-e*d)/y,y=B*d/y,s=v*v+x*x+1.0,t=v*w+x*y,r=t*t-s*(w*w+y*y+-1.0),!(r<0.0)):0){e=+u(+r);j=(e-t)/s;h=w+v*j;i=y+x*j;e=(-t-e)/s;c=w+v*e;b=y+x*e;switch(o&3){case 1:{r=h;s=c;t=j;v=e;q=i;p=b;l=d;m=k;d=n;break}case 2:{r=j;s=e;t=i;v=b;q=h;p=c;l=k;m=n;break}default:{r=h;s=c;t=i;v=b;q=j;p=e;l=d;m=n;d=k}}b=z*m;c=A*l;e=b-c;if(e!=0.0){o=0;j=z;k=A;h=l;i=m}else{O=z*d-f*l!=0.0;k=O?f:A;j=O?z:f;i=O?d:m;h=O?l:d;f=j*i;e=k*h;b=f;c=e;o=O?1:2;e=f-e;f=O?A:z;d=O?m:l}if(!(e==0.0)?(F=(k*d-f*i)/e,G=B*i/e,I=c-b,H=(j*d-f*h)/I,I=B*h/I,D=F*F+H*H+1.0,E=F*G+H*I,C=E*E-D*(G*G+I*I+-1.0),!(C<0.0)):0){c=+u(+C);e=(c-E)/D;h=G+F*e;d=I+H*e;c=(-E-c)/D;f=G+F*c;b=I+H*c;switch(o&3){case 1:{i=h;j=f;k=e;l=c;h=d;f=b;break}case 2:{i=e;j=c;k=d;l=b;break}default:{i=h;j=f;k=d;l=b;h=e;f=c}}b=r*i+t*k+q*h;b=b<0.0?-b:b;c=r*j+t*l+q*f;c=c<0.0?-c:c;d=s*i+v*k+p*h;d=d<0.0?-d:d;e=s*j+v*l+p*f;e=e<0.0?-e:e;if(b>3]=r;g[M>>3]=t;g[N>>3]=q;g[J>>3]=i;g[K>>3]=k;g[L>>3]=h;break}else{g[a>>3]=s;g[M>>3]=v;g[N>>3]=p;g[J>>3]=j;g[K>>3]=l;g[L>>3]=f;break}else{g[a>>3]=s;g[M>>3]=v;g[N>>3]=p;if(d>3]=i;g[K>>3]=k;g[L>>3]=h;break}else{g[J>>3]=j;g[K>>3]=l;g[L>>3]=f;break}}else if(c>3]=r;g[M>>3]=t;g[N>>3]=q;g[J>>3]=j;g[K>>3]=l;g[L>>3]=f;break}else{g[a>>3]=s;g[M>>3]=v;g[N>>3]=p;g[J>>3]=j;g[K>>3]=l;g[L>>3]=f;break}else{g[a>>3]=s;g[M>>3]=v;g[N>>3]=p;if(d>3]=i;g[K>>3]=k;g[L>>3]=h;break}else{g[J>>3]=j;g[K>>3]=l;g[L>>3]=f;break}}}}}while(0);return}function Ue(a){a=a|0;NO(c[a>>2]|0);NO(a);return 0}function Ve(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return +(+We(a,b,c,d,0))}function We(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var h=0.0,i=0,j=0,k=0,l=0.0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;C=zb;zb=zb+208|0;w=C+200|0;v=C+192|0;y=C+96|0;x=C;z=e+4|0;m=c[z>>2]|0;s=e+112|0;r=e+120|0;t=0;while(1){if((t|0)>=(m|0))break;o=c[e>>2]|0;u=o+(t*320|0)|0;if(!(c[o+(t*320|0)+4>>2]|0)){j=0;i=-1;while(1){if((j|0)>=(d|0))break;if((c[b+(j<<8)+8>>2]|0)==(c[u>>2]|0)?(l=+g[b+(j<<8)+40>>3],!(l<+g[s>>3])):0)if(!((i|0)!=-1?!(+g[b+(i<<8)+40>>3]>2]=i;if((i|0)>-1)c[b+(i<<8)+16>>2]=c[b+(i<<8)+20>>2]}else{k=o+(t*320|0)+312|0;n=0;i=-1;while(1){if((n|0)>=(d|0))break;j=c[b+(n<<8)+12>>2]|0;if((j|0)==0?(q=b+(n<<8)+248|0,p=c[q>>2]|0,q=c[q+4>>2]|0,!((p|0)==0&(q|0)==0)):0){j=k;if((p|0)==(c[j>>2]|0)?(q|0)==(c[j+4>>2]|0):0)B=20}else if((j|0)==(c[u>>2]|0))B=20;if((B|0)==20){B=0;h=+g[b+(n<<8)+48>>3];if(!(h<+g[r>>3]))if(!((i|0)!=-1?!(+g[b+(i<<8)+48>>3]>2]=i;if((i|0)>-1)c[b+(i<<8)+16>>2]=c[b+(i<<8)+24>>2]}t=t+1|0}o=0;j=0;n=0;p=0;while(1){if((o|0)>=(m|0))break;i=c[e>>2]|0;k=c[i+(o*320|0)+304>>2]|0;do if((k|0)<0){i=n;k=p}else{m=b+(k<<8)|0;if(+Xc(a,m,+g[i+(o*320|0)+8>>3],x)>4.0){c[(c[e>>2]|0)+(o*320|0)+304>>2]=-1;i=b+(k<<8)+236|0;if(c[i>>2]|0){i=n;k=p;break}c[i>>2]=7;i=n;k=p;break}k=c[m>>2]|0;a:do if((p|0)==0|(n|0)<(k|0)){i=0;while(1){if((i|0)==3){j=o;i=k;break a}j=0;while(1){if((j|0)==4)break;g[y+(i<<5)+(j<<3)>>3]=+g[x+(i<<5)+(j<<3)>>3];j=j+1|0}i=i+1|0}}else i=n;while(0);k=p+1|0}while(0);m=c[z>>2]|0;o=o+1|0;n=i;p=k}b:do if((p|0)!=0?(p|0)>=(c[e+128>>2]|0):0){xd(y,(c[e>>2]|0)+(j*320|0)+112|0,x)|0;o=p<<2;q=MO(p<<6)|0;if(!q){_e(0,3,42700,v);Fa(1)}p=MO(p*96|0)|0;if(!p){_e(0,3,42700,w);Fa(1)}m=c[z>>2]|0;n=0;i=0;while(1){if((n|0)>=(m|0))break;j=c[e>>2]|0;k=c[j+(n*320|0)+304>>2]|0;if((k|0)>=0){v=c[b+(k<<8)+16>>2]|0;u=(4-v|0)%4|0;w=i<<3;g[q+(w<<3)>>3]=+g[b+(k<<8)+168+(u<<4)>>3];g[q+((w|1)<<3)>>3]=+g[b+(k<<8)+168+(u<<4)+8>>3];u=(5-v|0)%4|0;g[q+((w|2)<<3)>>3]=+g[b+(k<<8)+168+(u<<4)>>3];g[q+((w|3)<<3)>>3]=+g[b+(k<<8)+168+(u<<4)+8>>3];u=(6-v|0)%4|0;g[q+((w|4)<<3)>>3]=+g[b+(k<<8)+168+(u<<4)>>3];g[q+((w|5)<<3)>>3]=+g[b+(k<<8)+168+(u<<4)+8>>3];v=(7-v|0)%4|0;g[q+((w|6)<<3)>>3]=+g[b+(k<<8)+168+(v<<4)>>3];g[q+((w|7)<<3)>>3]=+g[b+(k<<8)+168+(v<<4)+8>>3];w=i*12|0;g[p+(w<<3)>>3]=+g[j+(n*320|0)+208>>3];g[p+((w|1)<<3)>>3]=+g[j+(n*320|0)+216>>3];g[p+((w|2)<<3)>>3]=+g[j+(n*320|0)+224>>3];g[p+((w|3)<<3)>>3]=+g[j+(n*320|0)+232>>3];g[p+(w+4<<3)>>3]=+g[j+(n*320|0)+240>>3];g[p+(w+5<<3)>>3]=+g[j+(n*320|0)+248>>3];g[p+(w+6<<3)>>3]=+g[j+(n*320|0)+256>>3];g[p+(w+7<<3)>>3]=+g[j+(n*320|0)+264>>3];g[p+(w+8<<3)>>3]=+g[j+(n*320|0)+272>>3];g[p+(w+9<<3)>>3]=+g[j+(n*320|0)+280>>3];g[p+(w+10<<3)>>3]=+g[j+(n*320|0)+288>>3];g[p+(w+11<<3)>>3]=+g[j+(n*320|0)+296>>3];i=i+1|0}n=n+1|0}m=e+104|0;j=(f|0)!=0;if(!(c[m>>2]|0)){i=e+8|0;h=+Zc(a,x,q,p,o,i);if(j&h>=20.0){Me(c[a>>2]|0,.8)|0;h=+_c(a,x,q,p,o,i);if(h>=20.0){Me(c[a>>2]|0,.6)|0;h=+_c(a,x,q,p,o,i);if(h>=20.0){Me(c[a>>2]|0,.4)|0;h=+_c(a,x,q,p,o,i);if(h>=20.0){Me(c[a>>2]|0,0.0)|0;h=+_c(a,x,q,p,o,i)}}}}NO(p);NO(q)}else{h=+Zc(a,x,q,p,o,y);k=e+8|0;l=+Zc(a,k,q,p,o,k);i=h>3]=+g[y+(j<<5)+(i<<3)>>3];i=i+1|0}j=j+1|0}}else h=l;while(0);if(h>=20.0){Me(c[a>>2]|0,.8)|0;h=+_c(a,x,q,p,o,y);l=+_c(a,k,q,p,o,k);e:do if(h>3]=+g[y+(j<<5)+(i<<3)>>3];i=i+1|0}j=j+1|0}}else h=l;while(0);if(h>=20.0){Me(c[a>>2]|0,.6)|0;h=+_c(a,x,q,p,o,y);l=+_c(a,k,q,p,o,k);f:do if(h>3]=+g[y+(j<<5)+(i<<3)>>3];i=i+1|0}j=j+1|0}}else h=l;while(0);if(h>=20.0){Me(c[a>>2]|0,.4)|0;h=+_c(a,x,q,p,o,y);l=+_c(a,k,q,p,o,k);g:do if(h>3]=+g[y+(j<<5)+(i<<3)>>3];i=i+1|0}j=j+1|0}}else h=l;while(0);if(h>=20.0){Me(c[a>>2]|0,0.0)|0;h=+_c(a,x,q,p,o,y);l=+_c(a,k,q,p,o,k);if(h>3]=+g[y+(j<<5)+(i<<3)>>3];i=i+1|0}j=j+1|0}}else h=l}}}}}else if(i){j=0;while(1){if((j|0)==3)break c;i=0;while(1){if((i|0)==4)break;g[e+8+(j<<5)+(i<<3)>>3]=+g[y+(j<<5)+(i<<3)>>3];i=i+1|0}j=j+1|0}}else h=l;while(0);NO(p);NO(q)}if(h<20.0){c[m>>2]=1;break}c[m>>2]=0;i=c[z>>2]|0;k=0;while(1){if((k|0)>=(i|0))break b;j=c[(c[e>>2]|0)+(k*320|0)+304>>2]|0;if((j|0)>=0?(A=b+(j<<8)+236|0,(c[A>>2]|0)==0):0)c[A>>2]=8;k=k+1|0}}else B=45;while(0);if((B|0)==45){c[e+104>>2]=0;h=-1.0}zb=C;return +h}function Xe(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return +(+We(a,b,c,d,1))}function Ye(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0.0,V=0.0;T=zb;zb=zb+2528|0;S=T+2512|0;Q=T+2504|0;F=T+2488|0;P=T+2480|0;E=T+2472|0;D=T+2456|0;O=T+2448|0;C=T+2440|0;N=T+2432|0;M=T+2424|0;L=T+2416|0;B=T+2408|0;h=T+2400|0;f=T+2392|0;G=T+2384|0;e=T+2376|0;d=T+2368|0;H=T+2304|0;I=T+2048|0;K=T;z=T+2524|0;R=T+2520|0;A=T+2516|0;J=Qz(a,21853)|0;do if(!J){c[d>>2]=a;_e(0,3,20863,d);d=Gx(c[(vx()|0)>>2]|0)|0;c[e>>2]=58519;c[e+4>>2]=d;_e(0,3,21881,e);d=0}else{Ze(I,J);c[G>>2]=R;if((_z(I,21887,G)|0)!=1){c[f>>2]=a;_e(0,3,20916,f);Wz(J)|0;d=0;break}d=c[R>>2]|0;y=MO(d*320|0)|0;if(!y){_e(0,3,42700,h);Fa(1)}x=(b|0)==0;p=H+8|0;q=H+16|0;r=H+24|0;s=H+32|0;t=H+40|0;u=H+48|0;v=H+56|0;w=0;f=0;a:while(1){if((w|0)>=(d|0)){d=31;break}Ze(I,J);d=y+(w*320|0)|0;e=y+(w*320|0)+312|0;c[B>>2]=e;c[B+4>>2]=z;if((_z(I,21017,B)|0)!=1){if(x){d=11;break}if(!(Gd(K,a,2048,1)|0)){d=13;break}gz(K,I,2047-(Qx(K)|0)|0)|0;o=vd(b,K)|0;c[d>>2]=o;if((o|0)<0){d=15;break}else{d=1;e=0}}else{e=c[e>>2]|0;c[d>>2]=(e&-32768|0)==0&0==0?e&32767:0;d=2;e=1}c[y+(w*320|0)+4>>2]=e;f=f|d;Ze(I,J);e=y+(w*320|0)+8|0;c[C>>2]=e;if((_z(I,21313,C)|0)!=1){d=18;break}Ze(I,J);o=y+(w*320|0)+16|0;m=y+(w*320|0)+24|0;n=y+(w*320|0)+40|0;c[D>>2]=o;c[D+4>>2]=m;c[D+8>>2]=y+(w*320|0)+32;c[D+12>>2]=n;if((_z(I,21422,D)|0)==4)d=1;else{c[E>>2]=G;c[E+4>>2]=A;if((_z(I,21438,E)|0)!=2){d=23;break}d=0}do{Ze(I,J);c[F>>2]=y+(w*320|0)+16+(d<<5);c[F+4>>2]=y+(w*320|0)+16+(d<<5)+8;c[F+8>>2]=y+(w*320|0)+16+(d<<5)+16;c[F+12>>2]=y+(w*320|0)+16+(d<<5)+24;if((_z(I,21422,F)|0)!=4){d=25;break a}d=d+1|0}while(d>>>0<3);Ad(o,y+(w*320|0)+112|0)|0;V=+g[e>>3];U=V*-.5;g[H>>3]=U;V=V*.5;g[p>>3]=V;g[q>>3]=V;g[r>>3]=V;g[s>>3]=V;g[t>>3]=U;g[u>>3]=U;g[v>>3]=U;d=y+(w*320|0)+48|0;e=y+(w*320|0)+56|0;h=y+(w*320|0)+72|0;i=y+(w*320|0)+80|0;j=y+(w*320|0)+88|0;k=y+(w*320|0)+104|0;l=0;while(1){if((l|0)==4)break;U=+g[H+(l<<4)>>3];V=+g[H+(l<<4)+8>>3];g[y+(w*320|0)+208+(l*24|0)>>3]=+g[n>>3]+(+g[o>>3]*U+ +g[m>>3]*V);g[y+(w*320|0)+208+(l*24|0)+8>>3]=+g[h>>3]+(U*+g[d>>3]+V*+g[e>>3]);g[y+(w*320|0)+208+(l*24|0)+16>>3]=+g[k>>3]+(U*+g[i>>3]+V*+g[j>>3]);l=l+1|0}d=c[R>>2]|0;w=w+1|0}if((d|0)==11){c[L>>2]=a;c[L+4>>2]=I;_e(0,3,21024,L)}else if((d|0)==13){c[M>>2]=a;_e(0,3,21152,M)}else if((d|0)==15){c[N>>2]=a;c[N+4>>2]=K;_e(0,3,21236,N)}else if((d|0)==18){c[O>>2]=a;c[O+4>>2]=w+1;_e(0,3,21317,O)}else if((d|0)==23){c[P>>2]=a;c[P+4>>2]=w+1;_e(0,3,21444,P)}else if((d|0)==25){c[Q>>2]=a;c[Q+4>>2]=w+1;_e(0,3,21444,Q)}else if((d|0)==31){Wz(J)|0;d=MO(136)|0;if(!d){_e(0,3,42700,S);Fa(1)}c[d>>2]=y;c[d+4>>2]=c[R>>2];c[d+128>>2]=0;c[d+104>>2]=0;do if((f&3|0)!=3){e=d+108|0;if(!(f&1)){c[e>>2]=1;break}else{c[e>>2]=0;break}}else c[d+108>>2]=2;while(0);g[d+112>>3]=.5;g[d+120>>3]=.5;break}Wz(J)|0;NO(y);d=0}while(0);zb=T;return d|0}function Ze(b,c){b=b|0;c=c|0;var d=0,e=0;a:while(1){if(!(Az(b,256,c)|0))break;d=Qx(b)|0;b:while(1){if(!d)break;d=d+-1|0;e=b+d|0;switch(a[e>>0]|0){case 13:case 10:break;default:break b}a[e>>0]=0}switch(a[b>>0]|0){case 0:case 35:break;default:break a}}return}function _e(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0;g=zb;zb=zb+16|0;b=g;if((e|0)!=0&(c[3916]|0)<=(d|0)?a[e>>0]|0:0){c[b>>2]=f;$e(0,d,e,b)}zb=g;return}function $e(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0;l=zb;zb=zb+32|0;j=l+16|0;b=l;if((!((e|0)==0|(c[3916]|0)>(d|0))?a[e>>0]|0:0)?(c[b>>2]=c[f>>2],k=hy(0,0,e,b)|0,k|0):0){if(d>>>0<4)b=(Qx(c[1744+(d<<2)>>2]|0)|0)+3|0;else b=0;g=b+k|0;h=g+1|0;i=MO(h)|0;if(b|0){c[j>>2]=c[1744+(d<<2)>>2];gy(i,b+1|0,21553,j)|0}hy(i+b|0,k+1|0,e,f)|0;do if(0){if(0?(m=c[14076]|0,m>>>0<0):0){b=0+m|0;if(g>>>0>(-4-m+0|0)>>>0){a[b>>0]=46;a[b+1>>0]=46;a[b+2>>0]=46;a[b+3>>0]=0;c[14076]=0;break}else{ez(b,i,h)|0;c[14076]=(c[14076]|0)+g;break}}}else Lz(i,c[4004]|0)|0;while(0);NO(i)}zb=l;return}function af(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;do if(b){f=Qz(b,22236)|0;if(f){gA(f,0,2)|0;g=xA(f)|0;gA(f,0,0)|0;e=g+1|0;b=MO(e)|0;if(!b){Wz(f)|0;c[(vx()|0)>>2]=48;b=0;break}if(!(AA(b,g,1,f)|0)){NO(b);Wz(f)|0;b=0;break}a[b+g>>0]=0;Wz(f)|0;if(d)c[d>>2]=e}else b=0}else{c[(vx()|0)>>2]=28;b=0}while(0);return b|0}function bf(a,b){a=a|0;b=+b;if(!a)a=-1;else{f[a+40>>2]=b;a=0}return a|0}function cf(a,b){a=a|0;b=+b;if(!a)a=-1;else{f[a+44>>2]=b;a=0}return a|0}function df(a,b){a=a|0;b=b|0;if(!a)a=-1;else{c[a+24>>2]=b;a=0}return a|0}function ef(a,b){a=a|0;b=b|0;b=(b|0)<40?b:40;if(!a)b=-1;else{c[a+36>>2]=(b|0)>3?b:3;b=0}return b|0}function ff(a,b){a=a|0;b=b|0;if(!a)a=-1;else{c[a+28>>2]=b;a=0}return a|0}function gf(a,b){a=a|0;b=b|0;if(!a)a=-1;else{c[a+32>>2]=b;a=0}return a|0}function hf(b,e){b=b|0;e=+e;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0.0,B=0;z=zb;zb=zb+16|0;x=b+4|0;w=b+12|0;A=+f[w>>2];t=tz(+(c[x>>2]|0)*e/A)|0;y=b+8|0;u=tz(+(c[y>>2]|0)*e/A)|0;v=MO(16)|0;if(!v){_e(0,3,42700,z);Fa(1)}c[v+4>>2]=t;c[v+8>>2]=u;f[v+12>>2]=e;g=MO(C(u,t)|0)|0;c[v>>2]=g;if(!g){_e(0,3,42700,z+8|0);Fa(1)}h=0;while(1){if((h|0)>=(u|0))break;A=+f[w>>2];s=tz(A*+(h|0)/e)|0;h=h+1|0;r=tz(A*+(h|0)/e)|0;i=c[y>>2]|0;r=(r|0)>(i|0)?i:r;i=0;while(1){if((i|0)>=(t|0))break;A=+f[w>>2];q=tz(A*+(i|0)/e)|0;i=i+1|0;p=tz(A*+(i|0)/e)|0;n=c[x>>2]|0;p=(p|0)>(n|0)?n:p;j=0;o=s;m=0;while(1){if((o|0)>=(r|0))break;k=q;l=(c[b>>2]|0)+((C(o,n)|0)+q)|0;while(1){if((k|0)>=(p|0))break;B=m+(d[l>>0]|0)|0;j=j+1|0;k=k+1|0;l=l+1|0;m=B}o=o+1|0}a[g>>0]=(m|0)/(j|0)|0;g=g+1|0}}zb=z;return v|0}function jf(a){a=a|0;var b=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;q=zb;zb=zb+96|0;m=q+72|0;l=q+64|0;k=q+56|0;j=q+48|0;i=q+40|0;h=q+32|0;g=q+24|0;e=q+16|0;b=q+8|0;o=q+80|0;d=MO((Qx(a)|0)+6|0)|0;if(!d){_e(0,3,42700,q);Fa(1)}c[b>>2]=a;c[b+4>>2]=21589;Xy(d,21584,b)|0;p=Qz(d,22236)|0;NO(d);a:do if(!p){c[e>>2]=a;c[e+4>>2]=21589;_e(0,3,21595,e);b=0}else{b=MO(8)|0;if(!b){_e(0,3,42700,g);Fa(1)}d=b+4|0;if((AA(d,4,1,p)|0)==1?(n=c[d>>2]|0,(n|0)>=1):0){c[i>>2]=n;_e(0,1,21668,i);e=n<<2;g=MO(e)|0;c[b>>2]=g;if(!g){_e(0,3,42700,j);Fa(1)}j=MO(16)|0;c[g>>2]=j;if(!j){_e(0,3,42700,k);Fa(1)}d=mf(p)|0;if(!d){c[l>>2]=a;c[l+4>>2]=21589;_e(0,2,21698,l);NO(c[g>>2]|0);NO(g);NO(b);yA(p);b=kf(p)|0;break}if((c[d+4>>2]|0)!=1){c[m>>2]=a;c[m+4>>2]=21589;_e(0,2,21698,m);NO(c[g>>2]|0);NO(g);NO(b);NO(d);Wz(p)|0;b=0;break}m=c[g>>2]|0;c[m+4>>2]=c[d+8>>2];c[m+8>>2]=c[d+12>>2];c[m+12>>2]=c[d+16>>2];c[m>>2]=c[d>>2];NO(d);gA(p,4-e|0,2)|0;e=1;while(1){if((e|0)>=(n|0)){d=29;break}if((AA(o,4,1,p)|0)!=1){d=21;break}m=hf(c[g>>2]|0,+f[o>>2])|0;c[g+(e<<2)>>2]=m;if(!m){d=25;break}e=e+1|0}b:do if((d|0)==21){d=0;while(1){if((d|0)==(e|0))break b;o=g+(d<<2)|0;NO(c[c[o>>2]>>2]|0);NO(c[o>>2]|0);d=d+1|0}}else if((d|0)==25){d=0;while(1){if((d|0)==(e|0))break b;o=g+(d<<2)|0;NO(c[c[o>>2]>>2]|0);NO(c[o>>2]|0);d=d+1|0}}else if((d|0)==29){Wz(p)|0;break a}while(0);NO(g)}else _e(0,3,21643,h);NO(b);Wz(p)|0;b=0}while(0);zb=q;return b|0}function kf(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;l=zb;zb=zb+48|0;h=l+32|0;g=l+24|0;f=l+16|0;e=l+8|0;b=MO(8)|0;if(!b){_e(0,3,42700,l);Fa(1)}d=b+4|0;a:do if((AA(d,4,1,a)|0)==1?(k=c[d>>2]|0,(k|0)>=1):0){j=MO(k<<2)|0;c[b>>2]=j;if(!j){_e(0,3,42700,f);Fa(1)}d=0;while(1){if((d|0)>=(k|0))break;f=MO(16)|0;c[j+(d<<2)>>2]=f;if(!f){i=12;break}else d=d+1|0}if((i|0)==12){_e(0,3,42700,g);Fa(1)}e=0;while(1){if((e|0)>=(k|0)){i=44;break}d=j+(e<<2)|0;if((AA((c[d>>2]|0)+4|0,4,1,a)|0)!=1){i=15;break}if((AA((c[d>>2]|0)+8|0,4,1,a)|0)!=1){i=22;break}if((AA((c[d>>2]|0)+12|0,4,1,a)|0)!=1){i=29;break}i=c[d>>2]|0;i=MO(C(c[i+8>>2]|0,c[i+4>>2]|0)|0)|0;c[c[d>>2]>>2]=i;if(!i){i=36;break}g=c[d>>2]|0;g=AA(c[g>>2]|0,1,C(c[g+8>>2]|0,c[g+4>>2]|0)|0,a)|0;i=c[d>>2]|0;e=e+1|0;if((g|0)!=(C(c[i+8>>2]|0,c[i+4>>2]|0)|0)){i=38;break}}b:do if((i|0)==15){d=0;while(1){if((d|0)==(e|0))break;NO(c[c[j+(d<<2)>>2]>>2]|0);d=d+1|0}d=0;while(1){if((d|0)==(k|0))break b;NO(c[j+(d<<2)>>2]|0);d=d+1|0}}else if((i|0)==22){d=0;while(1){if((d|0)==(e|0))break;NO(c[c[j+(d<<2)>>2]>>2]|0);d=d+1|0}d=0;while(1){if((d|0)==(k|0))break b;NO(c[j+(d<<2)>>2]|0);d=d+1|0}}else if((i|0)==29){d=0;while(1){if((d|0)==(e|0))break;NO(c[c[j+(d<<2)>>2]>>2]|0);d=d+1|0}d=0;while(1){if((d|0)==(k|0))break b;NO(c[j+(d<<2)>>2]|0);d=d+1|0}}else if((i|0)==36){_e(0,3,42700,h);Fa(1)}else if((i|0)==38){d=0;while(1){if((d|0)==(e|0))break;NO(c[c[j+(d<<2)>>2]>>2]|0);d=d+1|0}d=0;while(1){if((d|0)==(k|0))break b;NO(c[j+(d<<2)>>2]|0);d=d+1|0}}else if((i|0)==44){Wz(a)|0;break a}while(0);NO(j);i=46}else i=5;while(0);if((i|0)==5){_e(0,3,21643,e);i=46}if((i|0)==46){NO(b);Wz(a)|0;b=0}zb=l;return b|0}function lf(a){a=a|0;var b=0,d=0,e=0;if((a|0)!=0?(b=c[a>>2]|0,(b|0)!=0):0){e=0;while(1){d=c[b>>2]|0;if((e|0)>=(c[b+4>>2]|0))break;NO(c[c[d+(e<<2)>>2]>>2]|0);NO(c[(c[c[a>>2]>>2]|0)+(e<<2)>>2]|0);b=c[a>>2]|0;e=e+1|0}NO(d);NO(c[a>>2]|0);c[a>>2]=0;b=0}else b=-1;return b|0}function mf(a){a=a|0;var b=0,d=0;d=zb;zb=zb+16|0;b=MO(20)|0;if(!b){_e(0,3,42700,d);Fa(1)}a=nf(a,b+8|0,b+12|0,b+4|0,b+16|0)|0;c[b>>2]=a;if(!a){NO(b);b=0}zb=d;return b|0}function nf(d,e,g,h,k){d=d|0;e=e|0;g=g|0;h=h|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0;E=zb;zb=zb+832|0;z=E+528|0;y=E+520|0;x=E+512|0;A=4;D=MO(40)|0;c[D>>2]=0;B=E+24|0;o=E+536|0;w=E;hP(B|0,0,488)|0;i=0;n=H(63,o|0)|0;l=i;i=0;if((l|0)!=0&(j|0)!=0){m=dP(c[l>>2]|0,D|0,A|0)|0;if(!m)Ra(l|0,j|0);F(j|0)}else m=-1;l=G()|0;if((m|0)!=1){c[B>>2]=n;c[o>>2]=112;D=cP(o+132|0,1,D|0,A|0)|0;A=G()|0;i=0;l=i;i=0;if((l|0)!=0&(j|0)!=0){m=dP(c[l>>2]|0,D|0,A|0)|0;if(!m)Ra(l|0,j|0);F(j|0)}else m=-1;l=G()|0;if((m|0)==1)m=l;else m=0}else m=l;a:while(1){if(m|0){i=0;K(113,B|0);l=i;i=0;if((l|0)!=0&(j|0)!=0){m=dP(c[l>>2]|0,D|0,A|0)|0;if(!m)Ra(l|0,j|0);F(j|0)}else m=-1;l=G()|0;if((m|0)==1){m=l;continue}i=0;N(8,0,3,21756,x|0);l=i;i=0;if((l|0)!=0&(j|0)!=0){m=dP(c[l>>2]|0,D|0,A|0)|0;if(!m)Ra(l|0,j|0);F(j|0)}else m=-1;l=G()|0;if((m|0)==1){m=l;continue}else{m=7;break}}i=0;M(1,B|0,90,488);l=i;i=0;if((l|0)!=0&(j|0)!=0){m=dP(c[l>>2]|0,D|0,A|0)|0;if(!m)Ra(l|0,j|0);F(j|0)}else m=-1;l=G()|0;if((m|0)==1){m=l;continue}i=0;L(39,B|0,d|0);l=i;i=0;if((l|0)!=0&(j|0)!=0){m=dP(c[l>>2]|0,D|0,A|0)|0;if(!m)Ra(l|0,j|0);F(j|0)}else m=-1;l=G()|0;if((m|0)==1){m=l;continue}i=0;n=I(19,B|0,1)|0;l=i;i=0;if((l|0)!=0&(j|0)!=0){m=dP(c[l>>2]|0,D|0,A|0)|0;if(!m)Ra(l|0,j|0);F(j|0)}else m=-1;l=G()|0;if((m|0)==1){m=l;continue}if((n|0)!=1){i=0;N(8,0,3,21782,y|0);l=i;i=0;if((l|0)!=0&(j|0)!=0){m=dP(c[l>>2]|0,D|0,A|0)|0;if(!m)Ra(l|0,j|0);F(j|0)}else m=-1;l=G()|0;if((m|0)==1){m=l;continue}i=0;K(113,B|0);l=i;i=0;if((l|0)!=0&(j|0)!=0){m=dP(c[l>>2]|0,D|0,A|0)|0;if(!m)Ra(l|0,j|0);F(j|0)}else m=-1;l=G()|0;if((m|0)==1){m=l;continue}else{m=14;break}}i=0;H(64,B|0)|0;l=i;i=0;if((l|0)!=0&(j|0)!=0){m=dP(c[l>>2]|0,D|0,A|0)|0;if(!m)Ra(l|0,j|0);F(j|0)}else m=-1;l=G()|0;if((m|0)==1){m=l;continue}v=B+36|0;u=B+28|0;s=C(c[u>>2]|0,c[v>>2]|0)|0;t=B+32|0;l=C(s,c[t>>2]|0)|0;i=0;l=H(65,l|0)|0;m=i;i=0;if((m|0)!=0&(j|0)!=0){n=dP(c[m>>2]|0,D|0,A|0)|0;if(!n)Ra(m|0,j|0);F(j|0)}else n=-1;m=G()|0;if((n|0)==1)continue;if(!l){i=0;N(8,0,3,42700,z|0);l=i;i=0;if((l|0)!=0&(j|0)!=0){m=dP(c[l>>2]|0,D|0,A|0)|0;if(!m)Ra(l|0,j|0);F(j|0)}else m=-1;l=G()|0;if((m|0)==1){m=l;continue}i=0;K(113,B|0);l=i;i=0;if((l|0)!=0&(j|0)!=0){m=dP(c[l>>2]|0,D|0,A|0)|0;if(!m)Ra(l|0,j|0);F(j|0)}else m=-1;l=G()|0;if((m|0)==1){m=l;continue}else{m=20;break}}q=B+140|0;p=B+116|0;r=0;while(1){if((c[q>>2]|0)>>>0>=(c[p>>2]|0)>>>0)break;m=0;while(1){if((m|0)==5)break;c[w+(m<<2)>>2]=l+(C(m+r|0,s)|0);m=m+1|0}i=0;o=J(25,B|0,w|0,5)|0;m=i;i=0;if((m|0)!=0&(j|0)!=0){n=dP(c[m>>2]|0,D|0,A|0)|0;if(!n)Ra(m|0,j|0);F(j|0)}else n=-1;m=G()|0;if((n|0)==1)continue a;r=o+r|0}i=0;H(66,B|0)|0;m=i;i=0;if((m|0)!=0&(j|0)!=0){n=dP(c[m>>2]|0,D|0,A|0)|0;if(!n)Ra(m|0,j|0);F(j|0)}else n=-1;m=G()|0;if((n|0)==1)continue;i=0;K(113,B|0);m=i;i=0;if((m|0)!=0&(j|0)!=0){n=dP(c[m>>2]|0,D|0,A|0)|0;if(!n)Ra(m|0,j|0);F(j|0)}else n=-1;m=G()|0;if((n|0)!=1){m=30;break}}b:do if((m|0)==7)l=0;else if((m|0)==14)l=0;else if((m|0)==20)l=0;else if((m|0)==30){if(e|0)c[e>>2]=c[u>>2];if(g|0)c[g>>2]=c[t>>2];if(h|0)c[h>>2]=c[v>>2];if(k){m=a[B+290>>0]|0;switch(m<<24>>24){case 1:{m=b[B+292>>1]|0;if(m<<16>>16==(b[B+294>>1]|0)){f[k>>2]=+(m&65535);break b}break}case 2:{m=b[B+292>>1]|0;if(m<<16>>16==(b[B+294>>1]|0)){f[k>>2]=+(m&65535)*2.5399999618530273;break b}break}default:if(((m&255)>2?(b[B+292>>1]|0)==0:0)?(b[B+294>>1]|0)==0:0){f[k>>2]=+(m&255);break b}}f[k>>2]=0.0}}while(0);NO(D|0);zb=E;return l|0}function of(a){a=a|0;Ra((c[a>>2]|0)+132|0,1)}function pf(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;o=zb;zb=zb+1088|0;m=o+1072|0;l=o+1064|0;n=o+1056|0;g=o+1048|0;f=o+1040|0;e=o+1032|0;h=o+1024|0;i=o+768|0;j=o+512|0;k=o;c[h>>2]=a;c[h+4>>2]=b;Xy(k,22627,h)|0;k=Qz(k,21853)|0;if(!k)b=0;else{b=MO(8)|0;if(!b){_e(0,3,42700,e);Fa(1)}a:do if(qf(i,k)|0){h=b+4|0;c[f>>2]=h;if((_z(i,21887,f)|0)!=1){NO(b);b=0;break}a=c[h>>2]|0;if((a|0)<1){NO(b);b=0;break}f=MO(a*56|0)|0;c[b>>2]=f;if(!f){_e(0,3,42700,g);Fa(1)}f=0;b:while(1){if((f|0)>=(a|0))break a;if(!(qf(i,k)|0)){a=15;break}c[n>>2]=j;if((_z(i,21914,n)|0)!=1){a=17;break}g=vd(d,j)|0;e=c[b>>2]|0;c[e+(f*56|0)+4>>2]=g;if((g|0)<0){a=19;break}if(!(qf(i,k)|0)){a=21;break}c[l>>2]=(c[b>>2]|0)+(f*56|0);if((_z(i,21815,l)|0)!=1){a=24;break}a=0;while(1){if(a>>>0>=3)break;if(!(qf(i,k)|0)){a=27;break b}g=c[b>>2]|0;c[m>>2]=g+(f*56|0)+8+(a<<4);c[m+4>>2]=g+(f*56|0)+8+(a<<4)+4;c[m+8>>2]=g+(f*56|0)+8+(a<<4)+8;c[m+12>>2]=g+(f*56|0)+8+(a<<4)+12;if((_z(i,22080,m)|0)==4)a=a+1|0;else{a=29;break b}}a=c[h>>2]|0;f=f+1|0}if((a|0)==15){NO(c[b>>2]|0);NO(b);b=0;break}else if((a|0)==17){NO(c[b>>2]|0);NO(b);b=0;break}else if((a|0)==19){NO(e);NO(b);b=0;break}else if((a|0)==21){NO(c[b>>2]|0);NO(b);b=0;break}else if((a|0)==24){NO(c[b>>2]|0);NO(b);b=0;break}else if((a|0)==27){NO(c[b>>2]|0);NO(b);b=0;break}else if((a|0)==29){NO(c[b>>2]|0);NO(b);b=0;break}}else{NO(b);b=0}while(0);Wz(k)|0}zb=o;return b|0}function qf(b,c){b=b|0;c=c|0;var d=0;a:while(1){d=Az(b,256,c)|0;if(!d){d=0;break}switch(a[b>>0]|0){case 35:case 10:break;default:break a}}return d|0}function rf(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;v=zb;zb=zb+640|0;s=v+624|0;r=v+616|0;q=v+608|0;p=v+600|0;o=v+592|0;n=v+584|0;m=v+576|0;l=v+568|0;k=v+560|0;j=v+552|0;h=v+544|0;f=v+536|0;e=v+528|0;d=v+520|0;i=v+512|0;t=v;c[i>>2]=a;c[i+4>>2]=b;Xy(t,22627,i)|0;t=Qz(t,22236)|0;if(!t){c[d>>2]=a;_e(0,3,21818,d);b=0}else{b=MO(8)|0;if(!b){_e(0,3,42700,e);Fa(1)}a=b+4|0;a:do if((AA(a,4,1,t)|0)==1){g=c[a>>2]|0;i=MO(g*20|0)|0;c[b>>2]=i;if(!i){_e(0,3,42700,h);Fa(1)}h=0;b:while(1){if((h|0)>=(g|0))break a;if((AA(i+(h*20|0)+8|0,4,1,t)|0)!=1){u=12;break}if((AA(i+(h*20|0)+12|0,4,1,t)|0)!=1){u=15;break}if((AA(i+(h*20|0)+16|0,4,1,t)|0)!=1){u=17;break}f=i+(h*20|0)+4|0;if((AA(f,4,1,t)|0)!=1){u=19;break}a=c[f>>2]|0;d=MO(a*20|0)|0;e=i+(h*20|0)|0;c[e>>2]=d;if(!d){u=22;break}d=0;while(1){if((d|0)>=(a|0))break;if((AA((c[e>>2]|0)+(d*20|0)|0,4,1,t)|0)!=1){u=25;break b}if((AA((c[e>>2]|0)+(d*20|0)+4|0,4,1,t)|0)!=1){u=27;break b}if((AA((c[e>>2]|0)+(d*20|0)+8|0,4,1,t)|0)!=1){u=29;break b}if((AA((c[e>>2]|0)+(d*20|0)+12|0,4,1,t)|0)!=1){u=31;break b}if((AA((c[e>>2]|0)+(d*20|0)+16|0,4,1,t)|0)!=1){u=34;break b}a=c[f>>2]|0;d=d+1|0}h=h+1|0}switch(u|0){case 12:{_e(0,3,21839,j);break}case 15:{_e(0,3,21839,k);break}case 17:{_e(0,3,21839,l);break}case 19:{_e(0,3,21839,m);break}case 22:{_e(0,3,42700,n);Fa(1);break}case 25:{_e(0,3,21839,o);break}case 27:{_e(0,3,21839,p);break}case 29:{_e(0,3,21839,q);break}case 31:{_e(0,3,21839,r);break}case 34:{_e(0,3,21839,s);break}}a=0;while(1){if((a|0)==(h|0))break;NO(c[i+(a*20|0)>>2]|0);a=a+1|0}NO(i);u=39}else{_e(0,3,21839,f);u=39}while(0);if((u|0)==39){NO(b);b=0}Wz(t)|0}zb=v;return b|0}function sf(a){a=a|0;var b=0,d=0,e=0;b=c[a>>2]|0;if(!b)b=-1;else{e=0;while(1){d=c[b>>2]|0;if((e|0)>=(c[b+4>>2]|0))break;NO(c[d+(e*20|0)>>2]|0);b=c[a>>2]|0;e=e+1|0}NO(d);NO(c[a>>2]|0);c[a>>2]=0;b=0}return b|0}function tf(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(!a)uf(0,b,c,d)|0;else uf(a,b,c,d)|0;return 0}function uf(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,g=0.0,h=0.0,i=0.0,j=0.0,k=0.0,l=0.0,m=0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0.0;m=zb;zb=zb+48|0;e=m;if(!a){t=+f[c>>2];o=+f[c+4>>2];x=+f[b>>2];v=t*x;i=+f[b+4>>2];h=o*i;w=+f[b+12>>2];s=+f[b+16>>2];p=t*s;n=+f[b+20>>2];r=o*n;q=+f[b+28>>2];z=+f[b+32>>2];g=t*z;l=+f[b+36>>2];k=o*l;y=+f[b+44>>2];j=y+(g+k);t=t+10.0;k=y+(t*z+k);o=o+10.0;l=y+(g+o*l);g=(w+(v+h))/j;h=(w+(t*x+h))/k;i=(w+(v+o*i))/l;j=(q+(p+r))/j;k=(q+(t*s+r))/k;l=(q+(p+o*n))/l}else{yd(a+8|0,b,e)|0;s=+f[c>>2];y=+f[c+4>>2];p=+f[e>>2];r=s*p;i=+f[e+4>>2];h=y*i;q=+f[e+12>>2];t=+f[e+16>>2];x=s*t;z=+f[e+20>>2];v=y*z;w=+f[e+28>>2];n=+f[e+32>>2];g=s*n;l=+f[e+36>>2];k=y*l;o=+f[e+44>>2];j=o+(g+k);s=s+10.0;k=o+(s*n+k);y=y+10.0;l=o+(g+y*l);g=(q+(r+h))/j;h=(q+(s*p+h))/k;i=(q+(r+y*i))/l;j=(w+(x+v))/j;k=(w+(s*t+v))/k;l=(w+(x+y*z))/l}x=h-g;y=k-j;y=x*x+y*y;x=i-g;z=l-j;z=x*x+z*z;b=y>2]=+u(+(b?z:y))*2.5399999618530273;f[d+4>>2]=+u(+(b?y:z))*2.5399999618530273;zb=m;return 0} +function AK(b,e,f,g,h,i,j,k,l,m,n){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;m=m|0;n=n|0;var o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0;X=zb;zb=zb+512|0;M=X+496|0;N=X;W=X+488|0;P=X+480|0;J=X+476|0;K=X+500|0;H=X+472|0;L=X+468|0;R=X+456|0;V=X+444|0;T=X+432|0;S=X+420|0;U=X+408|0;I=X+404|0;Q=X+400|0;c[M>>2]=n;c[W>>2]=N;c[W+4>>2]=145;c[P>>2]=N;c[J>>2]=N+400;c[R>>2]=0;c[R+4>>2]=0;c[R+8>>2]=0;n=0;while(1){if((n|0)==3)break;c[R+(n<<2)>>2]=0;n=n+1|0}c[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}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[S>>2]=0;c[S+4>>2]=0;c[S+8>>2]=0;n=0;while(1){if((n|0)==3)break;c[S+(n<<2)>>2]=0;n=n+1|0}c[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}EK(f,g,K,H,L,R,V,T,S,I);c[m>>2]=c[l>>2];B=T+8+3|0;E=T+4|0;C=S+8+3|0;F=S+4|0;D=R+11|0;G=R+4|0;A=(h&512|0)!=0;v=V+8+3|0;z=K+3|0;x=V+4|0;w=U+8+3|0;y=U+4|0;u=0;N=0;a:while(1){if(u>>>0>=4){O=239;break}n=c[b>>2]|0;do if(n){f=c[n+12>>2]|0;if((f|0)==(c[n+16>>2]|0))n=Fb[c[(c[n>>2]|0)+36>>2]&127](n)|0;else n=qE(c[f>>2]|0)|0;if(QE(n,pE()|0)|0){c[b>>2]=0;g=1;break}else{g=(c[b>>2]|0)==0;break}}else g=1;while(0);f=c[e>>2]|0;do if(f){n=c[f+12>>2]|0;if((n|0)==(c[f+16>>2]|0))n=Fb[c[(c[f>>2]|0)+36>>2]&127](f)|0;else n=qE(c[n>>2]|0)|0;if(!(QE(n,pE()|0)|0))if(g){t=f;break}else{O=239;break a}else{c[e>>2]=0;O=31;break}}else O=31;while(0);if((O|0)==31){O=0;if(g){O=239;break}else t=0}b:do switch(a[K+u>>0]|0){case 1:{if((u|0)==3)n=N;else{n=c[b>>2]|0;f=c[n+12>>2]|0;if((f|0)==(c[n+16>>2]|0))n=Fb[c[(c[n>>2]|0)+36>>2]&127](n)|0;else n=qE(c[f>>2]|0)|0;if(!(Ib[c[(c[k>>2]|0)+12>>2]&63](k,8192,n)|0)){O=44;break a}n=c[b>>2]|0;g=n+12|0;f=c[g>>2]|0;if((f|0)==(c[n+16>>2]|0))n=Fb[c[(c[n>>2]|0)+40>>2]&127](n)|0;else{c[g>>2]=f+4;n=qE(c[f>>2]|0)|0}KO(U,n);O=46}break}case 0:{if((u|0)==3)n=N;else O=46;break}case 3:{n=a[B>>0]|0;n=n<<24>>24<0?c[E>>2]|0:n&255;o=a[C>>0]|0;o=o<<24>>24<0?c[F>>2]|0:o&255;if((n|0)==(0-o|0))n=N;else{h=(n|0)==0;n=c[b>>2]|0;f=c[n+12>>2]|0;g=(f|0)==(c[n+16>>2]|0);if(h|(o|0)==0){if(g)n=Fb[c[(c[n>>2]|0)+36>>2]&127](n)|0;else n=qE(c[f>>2]|0)|0;if(h){if((n|0)!=(c[((a[C>>0]|0)<0?c[S>>2]|0:S)>>2]|0)){n=N;break b}n=c[b>>2]|0;g=n+12|0;f=c[g>>2]|0;if((f|0)==(c[n+16>>2]|0))Fb[c[(c[n>>2]|0)+40>>2]&127](n)|0;else{c[g>>2]=f+4;qE(c[f>>2]|0)|0}a[j>>0]=1;n=a[C>>0]|0;n=(n<<24>>24<0?c[F>>2]|0:n&255)>>>0>1?S:N;break b}if((n|0)!=(c[((a[B>>0]|0)<0?c[T>>2]|0:T)>>2]|0)){a[j>>0]=1;n=N;break b}n=c[b>>2]|0;g=n+12|0;f=c[g>>2]|0;if((f|0)==(c[n+16>>2]|0))Fb[c[(c[n>>2]|0)+40>>2]&127](n)|0;else{c[g>>2]=f+4;qE(c[f>>2]|0)|0}n=a[B>>0]|0;n=(n<<24>>24<0?c[E>>2]|0:n&255)>>>0>1?T:N;break b}if(g)o=Fb[c[(c[n>>2]|0)+36>>2]&127](n)|0;else o=qE(c[f>>2]|0)|0;n=c[b>>2]|0;g=n+12|0;f=c[g>>2]|0;h=(f|0)==(c[n+16>>2]|0);if((o|0)==(c[((a[B>>0]|0)<0?c[T>>2]|0:T)>>2]|0)){if(h)Fb[c[(c[n>>2]|0)+40>>2]&127](n)|0;else{c[g>>2]=f+4;qE(c[f>>2]|0)|0}n=a[B>>0]|0;n=(n<<24>>24<0?c[E>>2]|0:n&255)>>>0>1?T:N;break b}if(h)n=Fb[c[(c[n>>2]|0)+36>>2]&127](n)|0;else n=qE(c[f>>2]|0)|0;if((n|0)!=(c[((a[C>>0]|0)<0?c[S>>2]|0:S)>>2]|0)){O=103;break a}n=c[b>>2]|0;g=n+12|0;f=c[g>>2]|0;if((f|0)==(c[n+16>>2]|0))Fb[c[(c[n>>2]|0)+40>>2]&127](n)|0;else{c[g>>2]=f+4;qE(c[f>>2]|0)|0}a[j>>0]=1;n=a[C>>0]|0;n=(n<<24>>24<0?c[F>>2]|0:n&255)>>>0>1?S:N}break}case 2:{if(u>>>0<2|(N|0)!=0){f=a[v>>0]|0;n=c[V>>2]|0;g=f<<24>>24<0?n:V;if(u)O=108}else{if(!(A|(u|0)==2&(a[z>>0]|0)!=0)){n=0;break b}f=a[v>>0]|0;n=c[V>>2]|0;g=f<<24>>24<0?n:V;O=108}c:do if((O|0)==108){O=0;if((d[K+(u+-1)>>0]|0)<2){h=f;while(1){s=h<<24>>24<0;f=g;if(((s?n:V)+((s?c[x>>2]|0:h&255)<<2)|0)==(f|0)){f=h;break}if(!(Ib[c[(c[k>>2]|0)+12>>2]&63](k,8192,c[f>>2]|0)|0)){O=112;break}h=a[v>>0]|0;n=c[V>>2]|0;g=f+4|0}if((O|0)==112){O=0;f=a[v>>0]|0;n=c[V>>2]|0}h=f<<24>>24<0?n:V;s=h;q=g-s>>2;p=a[w>>0]|0;r=p<<24>>24<0;o=c[y>>2]|0;p=p&255;if(q>>>0>(r?o:p)>>>0)g=s;else{Y=(c[U>>2]|0)+(o<<2)|0;o=U+(p<<2)|0;p=r?Y:o;o=(r?Y:o)+(0-q<<2)|0;while(1){if((o|0)==(p|0))break c;if((c[o>>2]|0)!=(c[h>>2]|0)){g=s;break c}o=o+4|0;h=h+4|0}}}}while(0);h=t;o=g;d:while(1){Y=f<<24>>24<0;if((o|0)==((Y?n:V)+((Y?c[x>>2]|0:f&255)<<2)|0))break;n=c[b>>2]|0;do if(n){f=c[n+12>>2]|0;if((f|0)==(c[n+16>>2]|0))n=Fb[c[(c[n>>2]|0)+36>>2]&127](n)|0;else n=qE(c[f>>2]|0)|0;if(QE(n,pE()|0)|0){c[b>>2]=0;f=1;break}else{f=(c[b>>2]|0)==0;break}}else f=1;while(0);do if(h){n=c[h+12>>2]|0;if((n|0)==(c[h+16>>2]|0))n=Fb[c[(c[h>>2]|0)+36>>2]&127](h)|0;else n=qE(c[n>>2]|0)|0;if(!(QE(n,pE()|0)|0))if(f)break;else break d;else{c[e>>2]=0;O=134;break}}else O=134;while(0);if((O|0)==134){O=0;if(f)break;else h=0}n=c[b>>2]|0;f=c[n+12>>2]|0;if((f|0)==(c[n+16>>2]|0))n=Fb[c[(c[n>>2]|0)+36>>2]&127](n)|0;else n=qE(c[f>>2]|0)|0;if((n|0)!=(c[o>>2]|0))break;n=c[b>>2]|0;g=n+12|0;f=c[g>>2]|0;if((f|0)==(c[n+16>>2]|0))Fb[c[(c[n>>2]|0)+40>>2]&127](n)|0;else{c[g>>2]=f+4;qE(c[f>>2]|0)|0}f=a[v>>0]|0;n=c[V>>2]|0;o=o+4|0}if(A?(Y=a[v>>0]|0,t=Y<<24>>24<0,(o|0)!=((t?c[V>>2]|0:V)+((t?c[x>>2]|0:Y&255)<<2)|0)):0){O=146;break a}else n=N;break}case 4:{h=t;n=t;o=0;e:while(1){f=c[b>>2]|0;do if(f){g=c[f+12>>2]|0;if((g|0)==(c[f+16>>2]|0))f=Fb[c[(c[f>>2]|0)+36>>2]&127](f)|0;else f=qE(c[g>>2]|0)|0;if(QE(f,pE()|0)|0){c[b>>2]=0;g=1;break}else{g=(c[b>>2]|0)==0;break}}else g=1;while(0);do if(h){f=c[h+12>>2]|0;if((f|0)==(c[h+16>>2]|0))f=Fb[c[(c[h>>2]|0)+36>>2]&127](h)|0;else f=qE(c[f>>2]|0)|0;if(!(QE(f,pE()|0)|0))if(g){p=h;break}else{h=n;break e}else{c[e>>2]=0;n=0;O=160;break}}else O=160;while(0);if((O|0)==160){O=0;if(g){h=n;break}else p=0}f=c[b>>2]|0;g=c[f+12>>2]|0;if((g|0)==(c[f+16>>2]|0))g=Fb[c[(c[f>>2]|0)+36>>2]&127](f)|0;else g=qE(c[g>>2]|0)|0;if(Ib[c[(c[k>>2]|0)+12>>2]&63](k,2048,g)|0){f=c[m>>2]|0;if((f|0)==(c[M>>2]|0)){FK(l,m,M);f=c[m>>2]|0}c[m>>2]=f+4;c[f>>2]=g;o=o+1|0}else{Y=a[D>>0]|0;if(!((g|0)==(c[L>>2]|0)&(o|0?((Y<<24>>24<0?c[G>>2]|0:Y&255)|0)!=0:0))){h=n;break}f=c[P>>2]|0;if((f|0)==(c[J>>2]|0)){vK(W,P,J);f=c[P>>2]|0}c[P>>2]=f+4;c[f>>2]=o;o=0}f=c[b>>2]|0;h=f+12|0;g=c[h>>2]|0;if((g|0)==(c[f+16>>2]|0))Fb[c[(c[f>>2]|0)+40>>2]&127](f)|0;else{c[h>>2]=g+4;qE(c[g>>2]|0)|0}h=p}n=c[P>>2]|0;if(o|0?(c[W>>2]|0)!=(n|0):0){if((n|0)==(c[J>>2]|0)){vK(W,P,J);n=c[P>>2]|0}c[P>>2]=n+4;c[n>>2]=o}f:do if((c[I>>2]|0)>0){n=c[b>>2]|0;do if(n){f=c[n+12>>2]|0;if((f|0)==(c[n+16>>2]|0))n=Fb[c[(c[n>>2]|0)+36>>2]&127](n)|0;else n=qE(c[f>>2]|0)|0;if(QE(n,pE()|0)|0){c[b>>2]=0;f=1;break}else{f=(c[b>>2]|0)==0;break}}else f=1;while(0);do if(h){n=c[h+12>>2]|0;if((n|0)==(c[h+16>>2]|0))n=Fb[c[(c[h>>2]|0)+36>>2]&127](h)|0;else n=qE(c[n>>2]|0)|0;if(!(QE(n,pE()|0)|0))if(f)break;else{O=201;break a}else{c[e>>2]=0;O=195;break}}else O=195;while(0);if((O|0)==195){O=0;if(f){O=201;break a}else h=0}n=c[b>>2]|0;f=c[n+12>>2]|0;if((f|0)==(c[n+16>>2]|0))n=Fb[c[(c[n>>2]|0)+36>>2]&127](n)|0;else n=qE(c[f>>2]|0)|0;if((n|0)!=(c[H>>2]|0)){O=201;break a}n=c[b>>2]|0;g=n+12|0;f=c[g>>2]|0;if((f|0)==(c[n+16>>2]|0))Fb[c[(c[n>>2]|0)+40>>2]&127](n)|0;else{c[g>>2]=f+4;qE(c[f>>2]|0)|0}g=h;while(1){if((c[I>>2]|0)<=0)break f;n=c[b>>2]|0;do if(n){f=c[n+12>>2]|0;if((f|0)==(c[n+16>>2]|0))n=Fb[c[(c[n>>2]|0)+36>>2]&127](n)|0;else n=qE(c[f>>2]|0)|0;if(QE(n,pE()|0)|0){c[b>>2]=0;f=1;break}else{f=(c[b>>2]|0)==0;break}}else f=1;while(0);do if(g){n=c[g+12>>2]|0;if((n|0)==(c[g+16>>2]|0))n=Fb[c[(c[g>>2]|0)+36>>2]&127](g)|0;else n=qE(c[n>>2]|0)|0;if(!(QE(n,pE()|0)|0))if(f){h=g;break}else{O=226;break a}else{c[e>>2]=0;O=220;break}}else O=220;while(0);if((O|0)==220){O=0;if(f){O=226;break a}else h=0}n=c[b>>2]|0;f=c[n+12>>2]|0;if((f|0)==(c[n+16>>2]|0))n=Fb[c[(c[n>>2]|0)+36>>2]&127](n)|0;else n=qE(c[f>>2]|0)|0;if(!(Ib[c[(c[k>>2]|0)+12>>2]&63](k,2048,n)|0)){O=226;break a}if((c[m>>2]|0)==(c[M>>2]|0))FK(l,m,M);n=c[b>>2]|0;f=c[n+12>>2]|0;if((f|0)==(c[n+16>>2]|0))n=Fb[c[(c[n>>2]|0)+36>>2]&127](n)|0;else n=qE(c[f>>2]|0)|0;g=c[m>>2]|0;c[m>>2]=g+4;c[g>>2]=n;c[I>>2]=(c[I>>2]|0)+-1;n=c[b>>2]|0;g=n+12|0;f=c[g>>2]|0;if((f|0)==(c[n+16>>2]|0))Fb[c[(c[n>>2]|0)+40>>2]&127](n)|0;else{c[g>>2]=f+4;qE(c[f>>2]|0)|0}g=h}}while(0);if((c[m>>2]|0)==(c[l>>2]|0)){O=237;break a}else n=N;break}default:n=N}while(0);g:do if((O|0)==46){O=0;g=t;while(1){n=c[b>>2]|0;do if(n){f=c[n+12>>2]|0;if((f|0)==(c[n+16>>2]|0))n=Fb[c[(c[n>>2]|0)+36>>2]&127](n)|0;else n=qE(c[f>>2]|0)|0;if(QE(n,pE()|0)|0){c[b>>2]=0;f=1;break}else{f=(c[b>>2]|0)==0;break}}else f=1;while(0);do if(g){n=c[g+12>>2]|0;if((n|0)==(c[g+16>>2]|0))n=Fb[c[(c[g>>2]|0)+36>>2]&127](g)|0;else n=qE(c[n>>2]|0)|0;if(!(QE(n,pE()|0)|0))if(f){h=g;break}else{n=N;break g}else{c[e>>2]=0;O=60;break}}else O=60;while(0);if((O|0)==60){O=0;if(f){n=N;break g}else h=0}n=c[b>>2]|0;f=c[n+12>>2]|0;if((f|0)==(c[n+16>>2]|0))n=Fb[c[(c[n>>2]|0)+36>>2]&127](n)|0;else n=qE(c[f>>2]|0)|0;if(!(Ib[c[(c[k>>2]|0)+12>>2]&63](k,8192,n)|0)){n=N;break g}n=c[b>>2]|0;g=n+12|0;f=c[g>>2]|0;if((f|0)==(c[n+16>>2]|0))n=Fb[c[(c[n>>2]|0)+40>>2]&127](n)|0;else{c[g>>2]=f+4;n=qE(c[f>>2]|0)|0}KO(U,n);g=h}}while(0);u=u+1|0;N=n}h:do if((O|0)==44){c[i>>2]=c[i>>2]|4;f=0}else if((O|0)==103){c[i>>2]=c[i>>2]|4;f=0}else if((O|0)==146){c[i>>2]=c[i>>2]|4;f=0}else if((O|0)==201){c[i>>2]=c[i>>2]|4;f=0}else if((O|0)==226){c[i>>2]=c[i>>2]|4;f=0}else if((O|0)==237){c[i>>2]=c[i>>2]|4;f=0}else if((O|0)==239){i:do if(N|0){o=N+8+3|0;p=N+4|0;h=1;j:while(1){n=a[o>>0]|0;if(n<<24>>24<0)n=c[p>>2]|0;else n=n&255;if(h>>>0>=n>>>0)break i;n=c[b>>2]|0;do if(n){f=c[n+12>>2]|0;if((f|0)==(c[n+16>>2]|0))n=Fb[c[(c[n>>2]|0)+36>>2]&127](n)|0;else n=qE(c[f>>2]|0)|0;if(QE(n,pE()|0)|0){c[b>>2]=0;g=1;break}else{g=(c[b>>2]|0)==0;break}}else g=1;while(0);n=c[e>>2]|0;do if(n){f=c[n+12>>2]|0;if((f|0)==(c[n+16>>2]|0))n=Fb[c[(c[n>>2]|0)+36>>2]&127](n)|0;else n=qE(c[f>>2]|0)|0;if(!(QE(n,pE()|0)|0))if(g)break;else break j;else{c[e>>2]=0;O=258;break}}else O=258;while(0);if((O|0)==258?(O=0,g):0)break;n=c[b>>2]|0;f=c[n+12>>2]|0;if((f|0)==(c[n+16>>2]|0))f=Fb[c[(c[n>>2]|0)+36>>2]&127](n)|0;else f=qE(c[f>>2]|0)|0;if((a[o>>0]|0)<0)n=c[N>>2]|0;else n=N;if((f|0)!=(c[n+(h<<2)>>2]|0))break;n=c[b>>2]|0;g=n+12|0;f=c[g>>2]|0;if((f|0)==(c[n+16>>2]|0))Fb[c[(c[n>>2]|0)+40>>2]&127](n)|0;else{c[g>>2]=f+4;qE(c[f>>2]|0)|0}h=h+1|0}c[i>>2]=c[i>>2]|4;f=0;break h}while(0);f=c[W>>2]|0;n=c[P>>2]|0;if((f|0)!=(n|0)){c[Q>>2]=0;rG(R,f,n,Q);if(!(c[Q>>2]|0)){f=1;break}else{c[i>>2]=c[i>>2]|4;f=0;break}}else f=1}while(0);DO(U);DO(S);DO(T);DO(V);qO(R);n=c[W>>2]|0;c[W>>2]=0;if(n|0)Rb[c[W+4>>2]&255](n);zb=X;return f|0}function BK(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;n=zb;zb=zb+16|0;l=n;f=b+8|0;m=f+3|0;h=a[m>>0]|0;g=h<<24>>24<0;if(g){i=(c[f>>2]&2147483647)+-1|0;j=c[b+4>>2]|0}else{i=1;j=h&255}f=e-d|0;k=f>>2;do if(f|0){if(g){g=c[b>>2]|0;f=c[b+4>>2]|0}else{g=b;f=h&255}if(CK(d,g,g+(f<<2)|0)|0){c[l>>2]=0;c[l+4>>2]=0;c[l+8>>2]=0;DK(l,d,e);m=a[l+8+3>>0]|0;e=m<<24>>24<0;JO(b,e?c[l>>2]|0:l,e?c[l+4>>2]|0:m&255)|0;DO(l);break}if((i-j|0)>>>0>>0)IO(b,i,j+k-i|0,j,j,0,0);if((a[m>>0]|0)<0)f=c[b>>2]|0;else f=b;f=f+(j<<2)|0;while(1){if((d|0)==(e|0))break;QF(f,d);d=d+4|0;f=f+4|0}c[l>>2]=0;QF(f,l);f=j+k|0;if((a[m>>0]|0)<0){c[b+4>>2]=f;break}else{a[m>>0]=f;break}}while(0);zb=n;return b|0}function CK(a,b,c){a=a|0;b=b|0;c=c|0;return b>>>0<=a>>>0&a>>>0>>0|0}function DK(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;j=zb;zb=zb+16|0;i=j;h=e-d>>2;if(h>>>0>1073741807)lO(b);do if(h>>>0>=2){g=h+4&-4;if(g>>>0>1073741823)va();else{f=AB(g<<2)|0;c[b>>2]=f;c[b+8>>2]=g|-2147483648;c[b+4>>2]=h;break}}else{a[b+8+3>>0]=h;f=b}while(0);while(1){if((d|0)==(e|0))break;QF(f,d);d=d+4|0;f=f+4|0}c[i>>2]=0;QF(f,i);zb=j;return}function EK(b,d,e,f,g,h,i,j,k,l){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;var m=0,n=0,o=0,p=0;p=zb;zb=zb+16|0;n=p+12|0;o=p;if(b){m=cG(d,57832)|0;Tb[c[(c[m>>2]|0)+44>>2]&63](n,m);b=c[n>>2]|0;a[e>>0]=b;a[e+1>>0]=b>>8;a[e+2>>0]=b>>16;a[e+3>>0]=b>>24;Tb[c[(c[m>>2]|0)+32>>2]&63](o,m);b=k+8|0;d=b+3|0;if((a[d>>0]|0)<0){e=c[k>>2]|0;c[n>>2]=0;QF(e,n);c[k+4>>2]=0;if((a[d>>0]|0)<0){Vf(c[k>>2]|0,c[b>>2]<<2);c[b>>2]=0}}else{c[n>>2]=0;QF(k,n);a[d>>0]=0};c[k>>2]=c[o>>2];c[k+4>>2]=c[o+4>>2];c[k+8>>2]=c[o+8>>2];b=0;while(1){if((b|0)==3)break;c[o+(b<<2)>>2]=0;b=b+1|0}DO(o);Tb[c[(c[m>>2]|0)+28>>2]&63](o,m);b=j+8|0;d=b+3|0;if((a[d>>0]|0)<0){k=c[j>>2]|0;c[n>>2]=0;QF(k,n);c[j+4>>2]=0;if((a[d>>0]|0)<0){Vf(c[j>>2]|0,c[b>>2]<<2);c[b>>2]=0}}else{c[n>>2]=0;QF(j,n);a[d>>0]=0};c[j>>2]=c[o>>2];c[j+4>>2]=c[o+4>>2];c[j+8>>2]=c[o+8>>2];b=0;while(1){if((b|0)==3)break;c[o+(b<<2)>>2]=0;b=b+1|0}DO(o);c[f>>2]=Fb[c[(c[m>>2]|0)+12>>2]&127](m)|0;c[g>>2]=Fb[c[(c[m>>2]|0)+16>>2]&127](m)|0;Tb[c[(c[m>>2]|0)+20>>2]&63](o,m);b=h+11|0;if((a[b>>0]|0)<0){g=c[h>>2]|0;a[n>>0]=0;hg(g,n);c[h+4>>2]=0;if((a[b>>0]|0)<0){g=h+8|0;Vf(c[h>>2]|0,c[g>>2]&2147483647);c[g>>2]=0}}else{a[n>>0]=0;hg(h,n);a[b>>0]=0};c[h>>2]=c[o>>2];c[h+4>>2]=c[o+4>>2];c[h+8>>2]=c[o+8>>2];b=0;while(1){if((b|0)==3)break;c[o+(b<<2)>>2]=0;b=b+1|0}qO(o);Tb[c[(c[m>>2]|0)+24>>2]&63](o,m);b=i+8|0;d=b+3|0;if((a[d>>0]|0)<0){h=c[i>>2]|0;c[n>>2]=0;QF(h,n);c[i+4>>2]=0;if((a[d>>0]|0)<0){Vf(c[i>>2]|0,c[b>>2]<<2);c[b>>2]=0}}else{c[n>>2]=0;QF(i,n);a[d>>0]=0};c[i>>2]=c[o>>2];c[i+4>>2]=c[o+4>>2];c[i+8>>2]=c[o+8>>2];b=0;while(1){if((b|0)==3)break;c[o+(b<<2)>>2]=0;b=b+1|0}DO(o);b=Fb[c[(c[m>>2]|0)+36>>2]&127](m)|0}else{m=cG(d,57824)|0;Tb[c[(c[m>>2]|0)+44>>2]&63](n,m);b=c[n>>2]|0;a[e>>0]=b;a[e+1>>0]=b>>8;a[e+2>>0]=b>>16;a[e+3>>0]=b>>24;Tb[c[(c[m>>2]|0)+32>>2]&63](o,m);b=k+8|0;d=b+3|0;if((a[d>>0]|0)<0){e=c[k>>2]|0;c[n>>2]=0;QF(e,n);c[k+4>>2]=0;if((a[d>>0]|0)<0){Vf(c[k>>2]|0,c[b>>2]<<2);c[b>>2]=0}}else{c[n>>2]=0;QF(k,n);a[d>>0]=0};c[k>>2]=c[o>>2];c[k+4>>2]=c[o+4>>2];c[k+8>>2]=c[o+8>>2];b=0;while(1){if((b|0)==3)break;c[o+(b<<2)>>2]=0;b=b+1|0}DO(o);Tb[c[(c[m>>2]|0)+28>>2]&63](o,m);b=j+8|0;d=b+3|0;if((a[d>>0]|0)<0){k=c[j>>2]|0;c[n>>2]=0;QF(k,n);c[j+4>>2]=0;if((a[d>>0]|0)<0){Vf(c[j>>2]|0,c[b>>2]<<2);c[b>>2]=0}}else{c[n>>2]=0;QF(j,n);a[d>>0]=0};c[j>>2]=c[o>>2];c[j+4>>2]=c[o+4>>2];c[j+8>>2]=c[o+8>>2];b=0;while(1){if((b|0)==3)break;c[o+(b<<2)>>2]=0;b=b+1|0}DO(o);c[f>>2]=Fb[c[(c[m>>2]|0)+12>>2]&127](m)|0;c[g>>2]=Fb[c[(c[m>>2]|0)+16>>2]&127](m)|0;Tb[c[(c[m>>2]|0)+20>>2]&63](o,m);b=h+11|0;if((a[b>>0]|0)<0){g=c[h>>2]|0;a[n>>0]=0;hg(g,n);c[h+4>>2]=0;if((a[b>>0]|0)<0){g=h+8|0;Vf(c[h>>2]|0,c[g>>2]&2147483647);c[g>>2]=0}}else{a[n>>0]=0;hg(h,n);a[b>>0]=0};c[h>>2]=c[o>>2];c[h+4>>2]=c[o+4>>2];c[h+8>>2]=c[o+8>>2];b=0;while(1){if((b|0)==3)break;c[o+(b<<2)>>2]=0;b=b+1|0}qO(o);Tb[c[(c[m>>2]|0)+24>>2]&63](o,m);b=i+8|0;d=b+3|0;if((a[d>>0]|0)<0){h=c[i>>2]|0;c[n>>2]=0;QF(h,n);c[i+4>>2]=0;if((a[d>>0]|0)<0){Vf(c[i>>2]|0,c[b>>2]<<2);c[b>>2]=0}}else{c[n>>2]=0;QF(i,n);a[d>>0]=0};c[i>>2]=c[o>>2];c[i+4>>2]=c[o+4>>2];c[i+8>>2]=c[o+8>>2];b=0;while(1){if((b|0)==3)break;c[o+(b<<2)>>2]=0;b=b+1|0}DO(o);b=Fb[c[(c[m>>2]|0)+36>>2]&127](m)|0}c[l>>2]=b;zb=p;return}function FK(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;h=a+4|0;f=(c[h>>2]|0)!=145;e=c[a>>2]|0;i=e;j=(c[d>>2]|0)-i|0;g=j<<1;g=j>>>0<2147483647?((g|0)==0?4:g):-1;i=(c[b>>2]|0)-i>>2;e=PO(f?e:0,g)|0;if(!e)hO();if(!f){f=c[a>>2]|0;c[a>>2]=e;if(f){Rb[c[h>>2]&255](f);e=c[a>>2]|0}}else c[a>>2]=e;c[h>>2]=146;c[b>>2]=e+(i<<2);c[d>>2]=(c[a>>2]|0)+(g>>>2<<2);return}function GK(a){a=a|0;JF(a);return}function HK(a){a=a|0;JF(a);ZA(a);return}function IK(b,d,e,f,h,i){b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;i=+i;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0;E=zb;zb=zb+416|0;w=E+336|0;k=E+328|0;j=E+224|0;l=E+400|0;b=E+112|0;z=E+396|0;t=E+408|0;q=E+405|0;u=E+404|0;y=E+384|0;D=E+372|0;C=E+360|0;o=E+356|0;p=E;s=E+352|0;r=E+344|0;v=E+348|0;c[l>>2]=j;g[w>>3]=i;j=gy(j,100,51523,w)|0;if(j>>>0>99){j=fG()|0;g[k>>3]=i;j=BH(l,j,51523,k)|0;b=c[l>>2]|0;if(!b)hO();k=MO(j)|0;if(!k)hO();else{x=k;F=k;G=b;B=j}}else{x=b;F=0;G=0;B=j}PE(z,f);n=cG(z,57584)|0;m=c[l>>2]|0;Jb[c[(c[n>>2]|0)+32>>2]&15](n,m,m+B|0,x)|0;if(!B)m=0;else m=(a[c[l>>2]>>0]|0)==45;c[y>>2]=0;c[y+4>>2]=0;c[y+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[y+(b<<2)>>2]=0;b=b+1|0}c[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}c[C>>2]=0;c[C+4>>2]=0;c[C+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[C+(b<<2)>>2]=0;b=b+1|0}KK(e,m,z,t,q,u,y,D,C,o);l=c[o>>2]|0;if((B|0)>(l|0)){j=a[C+11>>0]|0;k=a[D+11>>0]|0;b=l+1+(B-l<<1)|0;j=j<<24>>24<0?c[C+4>>2]|0:j&255;k=k<<24>>24<0?c[D+4>>2]|0:k&255}else{j=a[C+11>>0]|0;k=a[D+11>>0]|0;b=l+2|0;j=j<<24>>24<0?c[C+4>>2]|0:j&255;k=k<<24>>24<0?c[D+4>>2]|0:k&255}b=b+j+k|0;if(b>>>0>100){b=MO(b)|0;if(!b)hO();else{H=b;A=b}}else{H=0;A=p}LK(A,s,r,c[f+4>>2]|0,x,x+B|0,n,m,t,a[q>>0]|0,a[u>>0]|0,y,D,C,l);c[v>>2]=c[d>>2];d=c[s>>2]|0;b=c[r>>2]|0;c[w>>2]=c[v>>2];b=fg(w,A,d,b,f,h)|0;if(H|0)NO(H);qO(C);qO(D);qO(y);dG(z);if(F|0)NO(F);if(G|0)NO(G);zb=E;return b|0}function JK(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;C=zb;zb=zb+176|0;v=C+156|0;y=C+152|0;s=C+164|0;p=C+161|0;t=C+160|0;x=C+140|0;B=C+128|0;A=C+116|0;l=C+112|0;o=C;r=C+108|0;q=C+104|0;u=C+100|0;PE(y,f);w=cG(y,57584)|0;i=h+11|0;n=a[i>>0]|0;b=n<<24>>24<0;j=h+4|0;if(!((b?c[j>>2]|0:n&255)|0))n=0;else{n=a[(b?c[h>>2]|0:h)>>0]|0;n=n<<24>>24==(Hb[c[(c[w>>2]|0)+28>>2]&63](w,45)|0)<<24>>24};c[x>>2]=0;c[x+4>>2]=0;c[x+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[x+(b<<2)>>2]=0;b=b+1|0}c[B>>2]=0;c[B+4>>2]=0;c[B+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[B+(b<<2)>>2]=0;b=b+1|0}c[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}KK(e,n,y,s,p,t,x,B,A,l);k=a[i>>0]|0;m=k<<24>>24<0;k=m?c[j>>2]|0:k&255;j=c[l>>2]|0;if((k|0)>(j|0)){e=a[A+11>>0]|0;i=a[B+11>>0]|0;b=j+1+(k-j<<1)|0;i=i<<24>>24<0?c[B+4>>2]|0:i&255;e=e<<24>>24<0?c[A+4>>2]|0:e&255}else{e=a[A+11>>0]|0;i=a[B+11>>0]|0;b=j+2|0;i=i<<24>>24<0?c[B+4>>2]|0:i&255;e=e<<24>>24<0?c[A+4>>2]|0:e&255}b=b+e+i|0;if(b>>>0>100){b=MO(b)|0;if(!b)hO();else{D=b;z=b}}else{D=0;z=o}b=m?c[h>>2]|0:h;LK(z,r,q,c[f+4>>2]|0,b,b+k|0,w,n,s,a[p>>0]|0,a[t>>0]|0,x,B,A,j);c[u>>2]=c[d>>2];d=c[r>>2]|0;b=c[q>>2]|0;c[v>>2]=c[u>>2];b=fg(v,z,d,b,f,g)|0;if(D|0)NO(D);qO(A);qO(B);qO(x);dG(y);zb=C;return b|0}function KK(b,d,e,f,g,h,i,j,k,l){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;var m=0,n=0,o=0,p=0;p=zb;zb=zb+16|0;n=p+12|0;o=p;if(b){m=cG(e,57816)|0;if(d){Tb[c[(c[m>>2]|0)+44>>2]&63](n,m);b=c[n>>2]|0;a[f>>0]=b;a[f+1>>0]=b>>8;a[f+2>>0]=b>>16;a[f+3>>0]=b>>24;Tb[c[(c[m>>2]|0)+32>>2]&63](o,m);b=k+11|0;if((a[b>>0]|0)<0){f=c[k>>2]|0;a[n>>0]=0;hg(f,n);c[k+4>>2]=0;if((a[b>>0]|0)<0){f=k+8|0;Vf(c[k>>2]|0,c[f>>2]&2147483647);c[f>>2]=0}}else{a[n>>0]=0;hg(k,n);a[b>>0]=0};c[k>>2]=c[o>>2];c[k+4>>2]=c[o+4>>2];c[k+8>>2]=c[o+8>>2];b=0;while(1){if((b|0)==3)break;c[o+(b<<2)>>2]=0;b=b+1|0}qO(o);e=m}else{Tb[c[(c[m>>2]|0)+40>>2]&63](n,m);b=c[n>>2]|0;a[f>>0]=b;a[f+1>>0]=b>>8;a[f+2>>0]=b>>16;a[f+3>>0]=b>>24;Tb[c[(c[m>>2]|0)+28>>2]&63](o,m);b=k+11|0;if((a[b>>0]|0)<0){f=c[k>>2]|0;a[n>>0]=0;hg(f,n);c[k+4>>2]=0;if((a[b>>0]|0)<0){f=k+8|0;Vf(c[k>>2]|0,c[f>>2]&2147483647);c[f>>2]=0}}else{a[n>>0]=0;hg(k,n);a[b>>0]=0};c[k>>2]=c[o>>2];c[k+4>>2]=c[o+4>>2];c[k+8>>2]=c[o+8>>2];b=0;while(1){if((b|0)==3)break;c[o+(b<<2)>>2]=0;b=b+1|0}qO(o);e=m}a[g>>0]=Fb[c[(c[m>>2]|0)+12>>2]&127](m)|0;a[h>>0]=Fb[c[(c[m>>2]|0)+16>>2]&127](m)|0;Tb[c[(c[e>>2]|0)+20>>2]&63](o,m);b=i+11|0;if((a[b>>0]|0)<0){h=c[i>>2]|0;a[n>>0]=0;hg(h,n);c[i+4>>2]=0;if((a[b>>0]|0)<0){h=i+8|0;Vf(c[i>>2]|0,c[h>>2]&2147483647);c[h>>2]=0}}else{a[n>>0]=0;hg(i,n);a[b>>0]=0};c[i>>2]=c[o>>2];c[i+4>>2]=c[o+4>>2];c[i+8>>2]=c[o+8>>2];b=0;while(1){if((b|0)==3)break;c[o+(b<<2)>>2]=0;b=b+1|0}qO(o);Tb[c[(c[e>>2]|0)+24>>2]&63](o,m);b=j+11|0;if((a[b>>0]|0)<0){i=c[j>>2]|0;a[n>>0]=0;hg(i,n);c[j+4>>2]=0;if((a[b>>0]|0)<0){n=j+8|0;Vf(c[j>>2]|0,c[n>>2]&2147483647);c[n>>2]=0}}else{a[n>>0]=0;hg(j,n);a[b>>0]=0};c[j>>2]=c[o>>2];c[j+4>>2]=c[o+4>>2];c[j+8>>2]=c[o+8>>2];b=0;while(1){if((b|0)==3)break;c[o+(b<<2)>>2]=0;b=b+1|0}qO(o);b=Fb[c[(c[m>>2]|0)+36>>2]&127](m)|0}else{m=cG(e,57808)|0;if(d){Tb[c[(c[m>>2]|0)+44>>2]&63](n,m);b=c[n>>2]|0;a[f>>0]=b;a[f+1>>0]=b>>8;a[f+2>>0]=b>>16;a[f+3>>0]=b>>24;Tb[c[(c[m>>2]|0)+32>>2]&63](o,m);b=k+11|0;if((a[b>>0]|0)<0){f=c[k>>2]|0;a[n>>0]=0;hg(f,n);c[k+4>>2]=0;if((a[b>>0]|0)<0){f=k+8|0;Vf(c[k>>2]|0,c[f>>2]&2147483647);c[f>>2]=0}}else{a[n>>0]=0;hg(k,n);a[b>>0]=0};c[k>>2]=c[o>>2];c[k+4>>2]=c[o+4>>2];c[k+8>>2]=c[o+8>>2];b=0;while(1){if((b|0)==3)break;c[o+(b<<2)>>2]=0;b=b+1|0}qO(o);e=m}else{Tb[c[(c[m>>2]|0)+40>>2]&63](n,m);b=c[n>>2]|0;a[f>>0]=b;a[f+1>>0]=b>>8;a[f+2>>0]=b>>16;a[f+3>>0]=b>>24;Tb[c[(c[m>>2]|0)+28>>2]&63](o,m);b=k+11|0;if((a[b>>0]|0)<0){f=c[k>>2]|0;a[n>>0]=0;hg(f,n);c[k+4>>2]=0;if((a[b>>0]|0)<0){f=k+8|0;Vf(c[k>>2]|0,c[f>>2]&2147483647);c[f>>2]=0}}else{a[n>>0]=0;hg(k,n);a[b>>0]=0};c[k>>2]=c[o>>2];c[k+4>>2]=c[o+4>>2];c[k+8>>2]=c[o+8>>2];b=0;while(1){if((b|0)==3)break;c[o+(b<<2)>>2]=0;b=b+1|0}qO(o);e=m}a[g>>0]=Fb[c[(c[m>>2]|0)+12>>2]&127](m)|0;a[h>>0]=Fb[c[(c[m>>2]|0)+16>>2]&127](m)|0;Tb[c[(c[e>>2]|0)+20>>2]&63](o,m);b=i+11|0;if((a[b>>0]|0)<0){h=c[i>>2]|0;a[n>>0]=0;hg(h,n);c[i+4>>2]=0;if((a[b>>0]|0)<0){h=i+8|0;Vf(c[i>>2]|0,c[h>>2]&2147483647);c[h>>2]=0}}else{a[n>>0]=0;hg(i,n);a[b>>0]=0};c[i>>2]=c[o>>2];c[i+4>>2]=c[o+4>>2];c[i+8>>2]=c[o+8>>2];b=0;while(1){if((b|0)==3)break;c[o+(b<<2)>>2]=0;b=b+1|0}qO(o);Tb[c[(c[e>>2]|0)+24>>2]&63](o,m);b=j+11|0;if((a[b>>0]|0)<0){i=c[j>>2]|0;a[n>>0]=0;hg(i,n);c[j+4>>2]=0;if((a[b>>0]|0)<0){n=j+8|0;Vf(c[j>>2]|0,c[n>>2]&2147483647);c[n>>2]=0}}else{a[n>>0]=0;hg(j,n);a[b>>0]=0};c[j>>2]=c[o>>2];c[j+4>>2]=c[o+4>>2];c[j+8>>2]=c[o+8>>2];b=0;while(1){if((b|0)==3)break;c[o+(b<<2)>>2]=0;b=b+1|0}qO(o);b=Fb[c[(c[m>>2]|0)+36>>2]&127](m)|0}c[l>>2]=b;zb=p;return}function LK(d,e,f,g,h,i,j,k,l,m,n,o,p,q,r){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;m=m|0;n=n|0;o=o|0;p=p|0;q=q|0;r=r|0;var s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0;c[f>>2]=d;z=q+11|0;G=q+4|0;A=p+11|0;C=p+4|0;F=(g&512|0)==0;D=j+8|0;E=(r|0)>0;y=o+11|0;B=o+4|0;x=0;while(1){if((x|0)==4)break;a:do switch(a[l+x>>0]|0){case 0:{c[e>>2]=c[f>>2];break}case 1:{c[e>>2]=c[f>>2];v=Hb[c[(c[j>>2]|0)+28>>2]&63](j,32)|0;w=c[f>>2]|0;c[f>>2]=w+1;a[w>>0]=v;break}case 3:{w=a[z>>0]|0;s=w<<24>>24<0;if((s?c[G>>2]|0:w&255)|0){v=a[(s?c[q>>2]|0:q)>>0]|0;w=c[f>>2]|0;c[f>>2]=w+1;a[w>>0]=v}break}case 2:{s=a[A>>0]|0;t=s<<24>>24<0;s=t?c[C>>2]|0:s&255;if(!(F|(s|0)==0)){u=t?c[p>>2]|0:p;t=u+s|0;s=c[f>>2]|0;while(1){if((u|0)==(t|0))break;a[s>>0]=a[u>>0]|0;s=s+1|0;u=u+1|0}c[f>>2]=s}break}case 4:{w=c[f>>2]|0;h=k?h+1|0:h;t=h;while(1){if(t>>>0>=i>>>0)break;s=a[t>>0]|0;if(s<<24>>24<=-1)break;if(!(b[(c[D>>2]|0)+(s<<24>>24<<1)>>1]&2048))break;t=t+1|0}if(E){u=r;while(1){s=(u|0)>0;if(!(t>>>0>h>>>0&s))break;v=t+-1|0;H=a[v>>0]|0;s=c[f>>2]|0;c[f>>2]=s+1;a[s>>0]=H;t=v;u=u+-1|0}if(s)v=Hb[c[(c[j>>2]|0)+28>>2]&63](j,48)|0;else v=0;while(1){s=c[f>>2]|0;c[f>>2]=s+1;if((u|0)<=0)break;a[s>>0]=v;u=u+-1|0}a[s>>0]=m}b:do if((t|0)==(h|0)){v=Hb[c[(c[j>>2]|0)+28>>2]&63](j,48)|0;H=c[f>>2]|0;c[f>>2]=H+1;a[H>>0]=v}else{H=a[y>>0]|0;s=H<<24>>24<0;if(!((s?c[B>>2]|0:H&255)|0))s=-1;else s=a[(s?c[o>>2]|0:o)>>0]|0;u=0;v=0;while(1){if((t|0)==(h|0))break b;if((v|0)==(s|0)){H=c[f>>2]|0;c[f>>2]=H+1;a[H>>0]=n;u=u+1|0;H=a[y>>0]|0;s=H<<24>>24<0;if(u>>>0<(s?c[B>>2]|0:H&255)>>>0){s=a[(s?c[o>>2]|0:o)+u>>0]|0;s=s<<24>>24==127?-1:s<<24>>24;v=0}else{s=v;v=0}}H=t+-1|0;J=a[H>>0]|0;I=c[f>>2]|0;c[f>>2]=I+1;a[I>>0]=J;t=H;v=v+1|0}}while(0);s=c[f>>2]|0;if((w|0)!=(s|0)){t=w;while(1){s=s+-1|0;if(t>>>0>=s>>>0)break a;J=a[t>>0]|0;a[t>>0]=a[s>>0]|0;a[s>>0]=J;t=t+1|0}}break}default:{}}while(0);x=x+1|0}h=a[z>>0]|0;s=h<<24>>24<0;h=s?c[G>>2]|0:h&255;if(h>>>0>1){s=s?c[q>>2]|0:q;t=s+h|0;h=s;s=c[f>>2]|0;while(1){h=h+1|0;if((h|0)==(t|0))break;a[s>>0]=a[h>>0]|0;s=s+1|0}c[f>>2]=s}switch((g&176)<<24>>24){case 32:{c[e>>2]=c[f>>2];break}case 16:break;default:c[e>>2]=d}return}function MK(a){a=a|0;JF(a);return}function NK(a){a=a|0;JF(a);ZA(a);return}function OK(b,d,e,f,h,i){b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;i=+i;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0;E=zb;zb=zb+992|0;w=E+912|0;k=E+904|0;j=E+800|0;l=E+984|0;b=E+400|0;z=E+980|0;t=E+988|0;q=E+976|0;u=E+972|0;y=E+960|0;D=E+948|0;C=E+936|0;o=E+932|0;p=E;s=E+928|0;r=E+920|0;v=E+924|0;c[l>>2]=j;g[w>>3]=i;j=gy(j,100,51523,w)|0;if(j>>>0>99){j=fG()|0;g[k>>3]=i;j=BH(l,j,51523,k)|0;b=c[l>>2]|0;if(!b)hO();k=MO(j<<2)|0;if(!k)hO();else{x=k;F=k;G=b;B=j}}else{x=b;F=0;G=0;B=j}PE(z,f);n=cG(z,57616)|0;m=c[l>>2]|0;Jb[c[(c[n>>2]|0)+48>>2]&15](n,m,m+B|0,x)|0;if(!B)m=0;else m=(a[c[l>>2]>>0]|0)==45;c[y>>2]=0;c[y+4>>2]=0;c[y+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[y+(b<<2)>>2]=0;b=b+1|0}c[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}c[C>>2]=0;c[C+4>>2]=0;c[C+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[C+(b<<2)>>2]=0;b=b+1|0}QK(e,m,z,t,q,u,y,D,C,o);l=c[o>>2]|0;if((B|0)>(l|0)){j=a[C+8+3>>0]|0;k=a[D+8+3>>0]|0;b=l+1+(B-l<<1)|0;j=j<<24>>24<0?c[C+4>>2]|0:j&255;k=k<<24>>24<0?c[D+4>>2]|0:k&255}else{j=a[C+8+3>>0]|0;k=a[D+8+3>>0]|0;b=l+2|0;j=j<<24>>24<0?c[C+4>>2]|0:j&255;k=k<<24>>24<0?c[D+4>>2]|0:k&255}b=b+j+k|0;if(b>>>0>100){b=MO(b<<2)|0;if(!b)hO();else{H=b;A=b}}else{H=0;A=p}RK(A,s,r,c[f+4>>2]|0,x,x+(B<<2)|0,n,m,t,c[q>>2]|0,c[u>>2]|0,y,D,C,l);c[v>>2]=c[d>>2];d=c[s>>2]|0;b=c[r>>2]|0;c[w>>2]=c[v>>2];b=PH(w,A,d,b,f,h)|0;if(H|0)NO(H);DO(C);DO(D);qO(y);dG(z);if(F|0)NO(F);if(G|0)NO(G);zb=E;return b|0}function PK(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;C=zb;zb=zb+480|0;v=C+464|0;y=C+460|0;s=C+468|0;p=C+456|0;t=C+452|0;x=C+440|0;B=C+428|0;A=C+416|0;l=C+412|0;o=C;r=C+408|0;q=C+404|0;u=C+400|0;PE(y,f);w=cG(y,57616)|0;i=h+8+3|0;n=a[i>>0]|0;b=n<<24>>24<0;j=h+4|0;if(!((b?c[j>>2]|0:n&255)|0))n=0;else{n=c[(b?c[h>>2]|0:h)>>2]|0;n=(n|0)==(Hb[c[(c[w>>2]|0)+44>>2]&63](w,45)|0)};c[x>>2]=0;c[x+4>>2]=0;c[x+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[x+(b<<2)>>2]=0;b=b+1|0}c[B>>2]=0;c[B+4>>2]=0;c[B+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[B+(b<<2)>>2]=0;b=b+1|0}c[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}QK(e,n,y,s,p,t,x,B,A,l);k=a[i>>0]|0;m=k<<24>>24<0;k=m?c[j>>2]|0:k&255;j=c[l>>2]|0;if((k|0)>(j|0)){e=a[A+8+3>>0]|0;i=a[B+8+3>>0]|0;b=j+1+(k-j<<1)|0;i=i<<24>>24<0?c[B+4>>2]|0:i&255;e=e<<24>>24<0?c[A+4>>2]|0:e&255}else{e=a[A+8+3>>0]|0;i=a[B+8+3>>0]|0;b=j+2|0;i=i<<24>>24<0?c[B+4>>2]|0:i&255;e=e<<24>>24<0?c[A+4>>2]|0:e&255}b=b+e+i|0;if(b>>>0>100){b=MO(b<<2)|0;if(!b)hO();else{D=b;z=b}}else{D=0;z=o}b=m?c[h>>2]|0:h;RK(z,r,q,c[f+4>>2]|0,b,b+(k<<2)|0,w,n,s,c[p>>2]|0,c[t>>2]|0,x,B,A,j);c[u>>2]=c[d>>2];d=c[r>>2]|0;b=c[q>>2]|0;c[v>>2]=c[u>>2];b=PH(v,z,d,b,f,g)|0;if(D|0)NO(D);DO(A);DO(B);qO(x);dG(y);zb=C;return b|0}function QK(b,d,e,f,g,h,i,j,k,l){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;var m=0,n=0,o=0,p=0;p=zb;zb=zb+16|0;n=p+12|0;o=p;if(b){m=cG(e,57832)|0;if(d){Tb[c[(c[m>>2]|0)+44>>2]&63](n,m);b=c[n>>2]|0;a[f>>0]=b;a[f+1>>0]=b>>8;a[f+2>>0]=b>>16;a[f+3>>0]=b>>24;Tb[c[(c[m>>2]|0)+32>>2]&63](o,m);b=k+8|0;e=b+3|0;if((a[e>>0]|0)<0){f=c[k>>2]|0;c[n>>2]=0;QF(f,n);c[k+4>>2]=0;if((a[e>>0]|0)<0){Vf(c[k>>2]|0,c[b>>2]<<2);c[b>>2]=0}}else{c[n>>2]=0;QF(k,n);a[e>>0]=0};c[k>>2]=c[o>>2];c[k+4>>2]=c[o+4>>2];c[k+8>>2]=c[o+8>>2];b=0;while(1){if((b|0)==3)break;c[o+(b<<2)>>2]=0;b=b+1|0}DO(o)}else{Tb[c[(c[m>>2]|0)+40>>2]&63](n,m);b=c[n>>2]|0;a[f>>0]=b;a[f+1>>0]=b>>8;a[f+2>>0]=b>>16;a[f+3>>0]=b>>24;Tb[c[(c[m>>2]|0)+28>>2]&63](o,m);b=k+8|0;e=b+3|0;if((a[e>>0]|0)<0){f=c[k>>2]|0;c[n>>2]=0;QF(f,n);c[k+4>>2]=0;if((a[e>>0]|0)<0){Vf(c[k>>2]|0,c[b>>2]<<2);c[b>>2]=0}}else{c[n>>2]=0;QF(k,n);a[e>>0]=0};c[k>>2]=c[o>>2];c[k+4>>2]=c[o+4>>2];c[k+8>>2]=c[o+8>>2];b=0;while(1){if((b|0)==3)break;c[o+(b<<2)>>2]=0;b=b+1|0}DO(o)}c[g>>2]=Fb[c[(c[m>>2]|0)+12>>2]&127](m)|0;c[h>>2]=Fb[c[(c[m>>2]|0)+16>>2]&127](m)|0;Tb[c[(c[m>>2]|0)+20>>2]&63](o,m);b=i+11|0;if((a[b>>0]|0)<0){h=c[i>>2]|0;a[n>>0]=0;hg(h,n);c[i+4>>2]=0;if((a[b>>0]|0)<0){h=i+8|0;Vf(c[i>>2]|0,c[h>>2]&2147483647);c[h>>2]=0}}else{a[n>>0]=0;hg(i,n);a[b>>0]=0};c[i>>2]=c[o>>2];c[i+4>>2]=c[o+4>>2];c[i+8>>2]=c[o+8>>2];b=0;while(1){if((b|0)==3)break;c[o+(b<<2)>>2]=0;b=b+1|0}qO(o);Tb[c[(c[m>>2]|0)+24>>2]&63](o,m);b=j+8|0;e=b+3|0;if((a[e>>0]|0)<0){i=c[j>>2]|0;c[n>>2]=0;QF(i,n);c[j+4>>2]=0;if((a[e>>0]|0)<0){Vf(c[j>>2]|0,c[b>>2]<<2);c[b>>2]=0}}else{c[n>>2]=0;QF(j,n);a[e>>0]=0};c[j>>2]=c[o>>2];c[j+4>>2]=c[o+4>>2];c[j+8>>2]=c[o+8>>2];b=0;while(1){if((b|0)==3)break;c[o+(b<<2)>>2]=0;b=b+1|0}DO(o);b=Fb[c[(c[m>>2]|0)+36>>2]&127](m)|0}else{m=cG(e,57824)|0;if(d){Tb[c[(c[m>>2]|0)+44>>2]&63](n,m);b=c[n>>2]|0;a[f>>0]=b;a[f+1>>0]=b>>8;a[f+2>>0]=b>>16;a[f+3>>0]=b>>24;Tb[c[(c[m>>2]|0)+32>>2]&63](o,m);b=k+8|0;e=b+3|0;if((a[e>>0]|0)<0){f=c[k>>2]|0;c[n>>2]=0;QF(f,n);c[k+4>>2]=0;if((a[e>>0]|0)<0){Vf(c[k>>2]|0,c[b>>2]<<2);c[b>>2]=0}}else{c[n>>2]=0;QF(k,n);a[e>>0]=0};c[k>>2]=c[o>>2];c[k+4>>2]=c[o+4>>2];c[k+8>>2]=c[o+8>>2];b=0;while(1){if((b|0)==3)break;c[o+(b<<2)>>2]=0;b=b+1|0}DO(o)}else{Tb[c[(c[m>>2]|0)+40>>2]&63](n,m);b=c[n>>2]|0;a[f>>0]=b;a[f+1>>0]=b>>8;a[f+2>>0]=b>>16;a[f+3>>0]=b>>24;Tb[c[(c[m>>2]|0)+28>>2]&63](o,m);b=k+8|0;e=b+3|0;if((a[e>>0]|0)<0){f=c[k>>2]|0;c[n>>2]=0;QF(f,n);c[k+4>>2]=0;if((a[e>>0]|0)<0){Vf(c[k>>2]|0,c[b>>2]<<2);c[b>>2]=0}}else{c[n>>2]=0;QF(k,n);a[e>>0]=0};c[k>>2]=c[o>>2];c[k+4>>2]=c[o+4>>2];c[k+8>>2]=c[o+8>>2];b=0;while(1){if((b|0)==3)break;c[o+(b<<2)>>2]=0;b=b+1|0}DO(o)}c[g>>2]=Fb[c[(c[m>>2]|0)+12>>2]&127](m)|0;c[h>>2]=Fb[c[(c[m>>2]|0)+16>>2]&127](m)|0;Tb[c[(c[m>>2]|0)+20>>2]&63](o,m);b=i+11|0;if((a[b>>0]|0)<0){h=c[i>>2]|0;a[n>>0]=0;hg(h,n);c[i+4>>2]=0;if((a[b>>0]|0)<0){h=i+8|0;Vf(c[i>>2]|0,c[h>>2]&2147483647);c[h>>2]=0}}else{a[n>>0]=0;hg(i,n);a[b>>0]=0};c[i>>2]=c[o>>2];c[i+4>>2]=c[o+4>>2];c[i+8>>2]=c[o+8>>2];b=0;while(1){if((b|0)==3)break;c[o+(b<<2)>>2]=0;b=b+1|0}qO(o);Tb[c[(c[m>>2]|0)+24>>2]&63](o,m);b=j+8|0;e=b+3|0;if((a[e>>0]|0)<0){i=c[j>>2]|0;c[n>>2]=0;QF(i,n);c[j+4>>2]=0;if((a[e>>0]|0)<0){Vf(c[j>>2]|0,c[b>>2]<<2);c[b>>2]=0}}else{c[n>>2]=0;QF(j,n);a[e>>0]=0};c[j>>2]=c[o>>2];c[j+4>>2]=c[o+4>>2];c[j+8>>2]=c[o+8>>2];b=0;while(1){if((b|0)==3)break;c[o+(b<<2)>>2]=0;b=b+1|0}DO(o);b=Fb[c[(c[m>>2]|0)+36>>2]&127](m)|0}c[l>>2]=b;zb=p;return}function RK(b,d,e,f,g,h,i,j,k,l,m,n,o,p,q){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;m=m|0;n=n|0;o=o|0;p=p|0;q=q|0;var r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0;c[e>>2]=b;A=p+8+3|0;G=p+4|0;B=o+8+3|0;C=o+4|0;F=(f&512|0)==0;E=(q|0)>0;z=n+11|0;D=n+4|0;y=0;while(1){if((y|0)==4)break;a:do switch(a[k+y>>0]|0){case 0:{c[d>>2]=c[e>>2];break}case 1:{c[d>>2]=c[e>>2];w=Hb[c[(c[i>>2]|0)+44>>2]&63](i,32)|0;x=c[e>>2]|0;c[e>>2]=x+4;c[x>>2]=w;break}case 3:{x=a[A>>0]|0;r=x<<24>>24<0;if((r?c[G>>2]|0:x&255)|0){w=c[(r?c[p>>2]|0:p)>>2]|0;x=c[e>>2]|0;c[e>>2]=x+4;c[x>>2]=w}break}case 2:{v=a[B>>0]|0;r=v<<24>>24<0;v=r?c[C>>2]|0:v&255;if(!(F|(v|0)==0)){s=r?c[o>>2]|0:o;u=s+(v<<2)|0;r=c[e>>2]|0;t=r;while(1){if((s|0)==(u|0))break;c[t>>2]=c[s>>2];s=s+4|0;t=t+4|0}c[e>>2]=r+(v<<2)}break}case 4:{x=c[e>>2]|0;g=j?g+4|0:g;r=g;while(1){if(r>>>0>=h>>>0)break;if(!(Ib[c[(c[i>>2]|0)+12>>2]&63](i,2048,c[r>>2]|0)|0))break;r=r+4|0}if(E){t=q;while(1){s=(t|0)>0;if(!(r>>>0>g>>>0&s))break;w=r+-4|0;u=c[w>>2]|0;v=c[e>>2]|0;c[e>>2]=v+4;c[v>>2]=u;r=w;t=t+-1|0}if(s)v=Hb[c[(c[i>>2]|0)+44>>2]&63](i,48)|0;else v=0;u=c[e>>2]|0;while(1){s=u+4|0;if((t|0)<=0)break;c[u>>2]=v;t=t+-1|0;u=s}c[e>>2]=s;c[u>>2]=l}if((r|0)==(g|0)){v=Hb[c[(c[i>>2]|0)+44>>2]&63](i,48)|0;w=c[e>>2]|0;r=w+4|0;c[e>>2]=r;c[w>>2]=v}else{w=a[z>>0]|0;s=w<<24>>24<0;if(!((s?c[D>>2]|0:w&255)|0))s=-1;else s=a[(s?c[n>>2]|0:n)>>0]|0;u=0;v=0;while(1){if((r|0)==(g|0))break;t=c[e>>2]|0;if((v|0)==(s|0)){w=t+4|0;c[e>>2]=w;c[t>>2]=m;u=u+1|0;t=a[z>>0]|0;s=t<<24>>24<0;if(u>>>0<(s?c[D>>2]|0:t&255)>>>0){s=a[(s?c[n>>2]|0:n)+u>>0]|0;t=w;s=s<<24>>24==127?-1:s<<24>>24;v=0}else{t=w;s=v;v=0}}w=r+-4|0;H=c[w>>2]|0;c[e>>2]=t+4;c[t>>2]=H;r=w;v=v+1|0}r=c[e>>2]|0}if((x|0)!=(r|0)){s=x;while(1){r=r+-4|0;if(s>>>0>=r>>>0)break a;H=c[s>>2]|0;c[s>>2]=c[r>>2];c[r>>2]=H;s=s+4|0}}break}default:{}}while(0);y=y+1|0}g=a[A>>0]|0;r=g<<24>>24<0;g=r?c[G>>2]|0:g&255;if(g>>>0>1){u=c[p>>2]|0;s=r?u+4|0:G;u=(r?u:p)+(g<<2)|0;g=c[e>>2]|0;r=u-s|0;t=g;while(1){if((s|0)==(u|0))break;c[t>>2]=c[s>>2];s=s+4|0;t=t+4|0}c[e>>2]=g+(r>>>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 SK(a){a=a|0;JF(a);return}function TK(a){a=a|0;JF(a);ZA(a);return}function UK(b,d,e){b=b|0;d=d|0;e=e|0;b=Ky((a[d+11>>0]|0)<0?c[d>>2]|0:d,1)|0;return b>>>((b|0)!=(-1|0)&1)|0}function VK(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0;j=zb;zb=zb+16|0;i=j;c[i>>2]=0;c[i+4>>2]=0;c[i+8>>2]=0;d=0;while(1){if((d|0)==3)break;c[i+(d<<2)>>2]=0;d=d+1|0}k=a[h+11>>0]|0;l=k<<24>>24<0;d=l?c[h>>2]|0:h;h=d+(l?c[h+4>>2]|0:k&255)|0;while(1){if(d>>>0>=h>>>0)break;zO(i,a[d>>0]|0);d=d+1|0}d=(a[i+11>>0]|0)<0?c[i>>2]|0:i;e=Ly((e|0)==-1?-1:e<<1,f,g,d)|0;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;h=0;while(1){if((h|0)==3)break;c[b+(h<<2)>>2]=0;h=h+1|0}h=d+(Qx(e)|0)|0;while(1){if(d>>>0>=h>>>0)break;zO(b,a[d>>0]|0);d=d+1|0}qO(i);zb=j;return}function WK(a,b){a=a|0;b=b|0;return}function XK(a){a=a|0;JF(a);return}function YK(a){a=a|0;JF(a);ZA(a);return}function ZK(b,d,e){b=b|0;d=d|0;e=e|0;b=Ky((a[d+11>>0]|0)<0?c[d>>2]|0:d,1)|0;return b>>>((b|0)!=(-1|0)&1)|0}function _K(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;t=zb;zb=zb+176|0;p=t+168|0;o=t;n=t+164|0;r=t+160|0;q=t+128|0;l=t+152|0;s=t+144|0;c[q>>2]=0;c[q+4>>2]=0;c[q+8>>2]=0;d=0;while(1){if((d|0)==3)break;c[q+(d<<2)>>2]=0;d=d+1|0}c[l+4>>2]=0;c[l>>2]=19072;j=a[h+8+3>>0]|0;k=j<<24>>24<0;i=k?c[h>>2]|0:h;j=i+((k?c[h+4>>2]|0:j&255)<<2)|0;k=o+32|0;d=0;h=i;while(1){if(!((d|0)!=2&h>>>0>>0))break;c[r>>2]=h;i=Pb[c[(c[l>>2]|0)+12>>2]&15](l,p,h,j,r,o,k,n)|0;if((i|0)==2?1:(c[r>>2]|0)==(h|0)){m=8;break}d=o;while(1){if(d>>>0>=(c[n>>2]|0)>>>0)break;zO(q,a[d>>0]|0);d=d+1|0}d=i;h=c[r>>2]|0}if((m|0)==8)uJ(0);JF(l);i=(a[q+11>>0]|0)<0?c[q>>2]|0:q;h=Ly((e|0)==-1?-1:e<<1,f,g,i)|0;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;d=0;while(1){if((d|0)==3)break;c[b+(d<<2)>>2]=0;d=d+1|0}c[s+4>>2]=0;c[s>>2]=19120;j=i+(Qx(h)|0)|0;l=j;k=o+128|0;h=i;d=0;while(1){if(!((d|0)!=2&h>>>0>>0)){m=23;break}c[r>>2]=h;i=Pb[c[(c[s>>2]|0)+16>>2]&15](s,p,h,(l-h|0)>32?h+32|0:j,r,o,k,n)|0;if((i|0)==2?1:(c[r>>2]|0)==(h|0)){m=19;break}d=o;while(1){if(d>>>0>=(c[n>>2]|0)>>>0)break;KO(b,c[d>>2]|0);d=d+4|0}h=c[r>>2]|0;d=i}if((m|0)==19)uJ(0);else if((m|0)==23){JF(s);qO(q);zb=t;return}}function $K(a,b){a=a|0;b=b|0;return}function aL(a){a=a|0;JF(a);ZA(a);return}function bL(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;a=zb;zb=zb+16|0;j=a+4|0;b=a;c[j>>2]=d;c[b>>2]=g;h=kL(d,e,j,g,h,b,1114111,0)|0;c[f>>2]=c[j>>2];c[i>>2]=c[b>>2];zb=a;return h|0}function cL(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;a=zb;zb=zb+16|0;j=a+4|0;b=a;c[j>>2]=d;c[b>>2]=g;h=jL(d,e,j,g,h,b,1114111,0)|0;c[f>>2]=c[j>>2];c[i>>2]=c[b>>2];zb=a;return h|0}function dL(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 eL(a){a=a|0;return 0}function fL(a){a=a|0;return 0}function gL(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return iL(c,d,e,1114111,0)|0}function hL(a){a=a|0;return 4}function iL(b,c,e,f,g){b=b|0;c=c|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;o=c;if((((g&4|0)!=0?(o-b|0)>2:0)?(a[b>>0]|0)==-17:0)?(a[b+1>>0]|0)==-69:0)g=(a[b+2>>0]|0)==-65?b+3|0:b;else g=b;n=0;a:while(1){if(!(n>>>0>>0&g>>>0>>0))break;l=a[g>>0]|0;m=l&255;do if(l<<24>>24<=-1){if((l&255)<194)break a;if((l&255)<224){if((o-g|0)<2)break a;h=d[g+1>>0]|0;if((h&192|0)!=128)break a;if((h&63|m<<6&1984)>>>0>f>>>0)break a;g=g+2|0;break}if((l&255)<240){if((o-g|0)<3)break a;i=a[g+1>>0]|0;h=a[g+2>>0]|0;switch(l<<24>>24){case -32:{if((i&-32)<<24>>24!=-96)break a;break}case -19:{if((i&-32)<<24>>24!=-128)break a;break}default:if((i&-64)<<24>>24!=-128)break a}h=h&255;if((h&192|0)!=128)break a;if(((i&63)<<6|m<<12&61440|h&63)>>>0>f>>>0)break a;else{g=g+3|0;break}}if((l&255)>=245)break a;if((o-g|0)<4)break a;k=a[g+1>>0]|0;h=a[g+2>>0]|0;j=a[g+3>>0]|0;switch(l<<24>>24){case -16:{if((k+112&255)>=48)break a;break}case -12:{if((k&-16)<<24>>24!=-128)break a;break}default:if((k&-64)<<24>>24!=-128)break a}i=h&255;if((i&192|0)!=128)break a;h=j&255;if((h&192|0)!=128)break a;if(((k&63)<<12|m<<18&1835008|i<<6&4032|h&63)>>>0>f>>>0)break a;else g=g+4|0}else{if(m>>>0>f>>>0)break a;g=g+1|0}while(0);n=n+1|0}return g-b|0}function jL(b,e,f,g,h,i,j,k){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0;c[f>>2]=b;c[i>>2]=g;if(k&4){b=c[f>>2]|0;k=e;if((((k-b|0)>2?(a[b>>0]|0)==-17:0)?(a[b+1>>0]|0)==-69:0)?(a[b+2>>0]|0)==-65:0)c[f>>2]=b+3}else k=e;a:while(1){p=c[f>>2]|0;if(p>>>0>=e>>>0){b=0;break}q=c[i>>2]|0;if(q>>>0>=h>>>0){b=1;break}n=a[p>>0]|0;o=n&255;do if(n<<24>>24>-1)if(o>>>0>j>>>0){b=2;break a}else{g=1;b=o}else{if((n&255)<194){b=2;break a}if((n&255)<224){if((k-p|0)<2){b=1;break a}b=d[p+1>>0]|0;if((b&192|0)!=128){b=2;break a}b=b&63|o<<6&1984;if(b>>>0>j>>>0){b=2;break a}else{g=2;break}}if((n&255)<240){if((k-p|0)<3){b=1;break a}g=a[p+1>>0]|0;b=a[p+2>>0]|0;switch(n<<24>>24){case -32:{if((g&-32)<<24>>24!=-96){b=2;break a}break}case -19:{if((g&-32)<<24>>24!=-128){b=2;break a}break}default:if((g&-64)<<24>>24!=-128){b=2;break a}}b=b&255;if((b&192|0)!=128){b=2;break a}b=(g&63)<<6|o<<12&61440|b&63;if(b>>>0>j>>>0){b=2;break a}else{g=3;break}}if((n&255)>=245){b=2;break a}if((k-p|0)<4){b=1;break a}m=a[p+1>>0]|0;b=a[p+2>>0]|0;l=a[p+3>>0]|0;switch(n<<24>>24){case -16:{if((m+112&255)>=48){b=2;break a}break}case -12:{if((m&-16)<<24>>24!=-128){b=2;break a}break}default:if((m&-64)<<24>>24!=-128){b=2;break a}}g=b&255;if((g&192|0)!=128){b=2;break a}b=l&255;if((b&192|0)!=128){b=2;break a}b=(m&63)<<12|o<<18&1835008|g<<6&4032|b&63;if(b>>>0>j>>>0){b=2;break a}else g=4}while(0);c[q>>2]=b;c[f>>2]=p+g;c[i>>2]=(c[i>>2]|0)+4}return b|0}function kL(b,d,e,f,g,h,i,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,l=0;c[e>>2]=b;c[h>>2]=f;l=g;if(j&2)if((l-f|0)<3)b=1;else{c[h>>2]=f+1;a[f>>0]=-17;k=c[h>>2]|0;c[h>>2]=k+1;a[k>>0]=-69;k=c[h>>2]|0;c[h>>2]=k+1;a[k>>0]=-65;k=4}else k=4;a:do if((k|0)==4){b=c[e>>2]|0;while(1){if(b>>>0>=d>>>0){b=0;break a}j=c[b>>2]|0;if(j>>>0>i>>>0|(j&-2048|0)==55296){b=2;break a}do if(j>>>0>=128){if(j>>>0<2048){b=c[h>>2]|0;if((l-b|0)<2){b=1;break a}c[h>>2]=b+1;a[b>>0]=j>>>6|192;k=c[h>>2]|0;c[h>>2]=k+1;a[k>>0]=j&63|128;break}b=c[h>>2]|0;g=l-b|0;if(j>>>0<65536){if((g|0)<3){b=1;break a}c[h>>2]=b+1;a[b>>0]=j>>>12|224;k=c[h>>2]|0;c[h>>2]=k+1;a[k>>0]=j>>>6&63|128;k=c[h>>2]|0;c[h>>2]=k+1;a[k>>0]=j&63|128;break}else{if((g|0)<4){b=1;break a}c[h>>2]=b+1;a[b>>0]=j>>>18|240;k=c[h>>2]|0;c[h>>2]=k+1;a[k>>0]=j>>>12&63|128;k=c[h>>2]|0;c[h>>2]=k+1;a[k>>0]=j>>>6&63|128;k=c[h>>2]|0;c[h>>2]=k+1;a[k>>0]=j&63|128;break}}else{b=c[h>>2]|0;if((l-b|0)<1){b=1;break a}c[h>>2]=b+1;a[b>>0]=j}while(0);b=(c[e>>2]|0)+4|0;c[e>>2]=b}}while(0);return b|0}function lL(a){a=a|0;JF(a);ZA(a);return}function mL(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 nL(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 oL(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 pL(a){a=a|0;return 1}function qL(a){a=a|0;return 1}function rL(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a=d-c|0;return (a>>>0>>0?a:e)|0}function sL(a){a=a|0;return 1}function tL(b,d,e,f,g,h,i,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;q=zb;zb=zb+16|0;p=q;n=q+8|0;k=e;while(1){if((k|0)==(f|0)){k=f;break}if(!(c[k>>2]|0))break;k=k+4|0}c[j>>2]=h;c[g>>2]=e;m=i;o=b+8|0;a:while(1){if((h|0)==(i|0)|(e|0)==(f|0)){k=36;break}r=d;b=c[r+4>>2]|0;l=p;c[l>>2]=c[r>>2];c[l+4>>2]=b;l=cy(c[o>>2]|0)|0;b=tA(h,g,k-e>>2,m-h|0,d)|0;if(l|0)cy(l)|0;switch(b|0){case -1:{k=10;break a}case 0:{e=1;k=33;break a}default:{}}h=(c[j>>2]|0)+b|0;c[j>>2]=h;if((h|0)==(i|0)){k=34;break}if((k|0)==(f|0)){e=c[g>>2]|0;k=f}else{e=cy(c[o>>2]|0)|0;h=xy(n,0,d)|0;if(e|0)cy(e)|0;if((h|0)==-1){e=2;k=32;break}if(h>>>0>(m-(c[j>>2]|0)|0)>>>0){e=1;k=32;break}e=n;while(1){if(!h)break;l=a[e>>0]|0;r=c[j>>2]|0;c[j>>2]=r+1;a[r>>0]=l;h=h+-1|0;e=e+1|0}e=(c[g>>2]|0)+4|0;c[g>>2]=e;k=e;while(1){if((k|0)==(f|0)){k=f;break}if(!(c[k>>2]|0))break;k=k+4|0}h=c[j>>2]|0}}if((k|0)==10){c[j>>2]=h;while(1){if((e|0)==(c[g>>2]|0))break;r=c[e>>2]|0;k=cy(c[o>>2]|0)|0;h=xy(h,r,p)|0;if(k|0)cy(k)|0;if((h|0)==-1)break;h=(c[j>>2]|0)+h|0;c[j>>2]=h;e=e+4|0}c[g>>2]=e;e=2;k=33}else if((k|0)==32)k=33;else if((k|0)==34){e=c[g>>2]|0;k=36}if((k|0)!=33)if((k|0)==36)e=(e|0)!=(f|0)&1;zb=q;return e|0}function uL(b,d,e,f,g,h,i,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0;p=zb;zb=zb+16|0;o=p;k=e;while(1){if((k|0)==(f|0)){k=f;break}if(!(a[k>>0]|0))break;k=k+1|0}c[j>>2]=h;c[g>>2]=e;m=i;n=b+8|0;while(1){if((h|0)==(i|0)|(e|0)==(f|0)){b=33;break}q=d;b=c[q+4>>2]|0;l=o;c[l>>2]=c[q>>2];c[l+4>>2]=b;l=cy(c[n>>2]|0)|0;b=sA(h,g,k-e|0,m-h>>2,d)|0;if(l|0)cy(l)|0;if((b|0)==-1){b=10;break}h=(c[j>>2]|0)+(b<<2)|0;c[j>>2]=h;if((h|0)==(i|0)){b=30;break}e=c[g>>2]|0;if((k|0)==(f|0))k=f;else{k=cy(c[n>>2]|0)|0;e=Hy(h,e,1,d)|0;if(k|0)cy(k)|0;if(e|0){e=2;b=29;break}c[j>>2]=(c[j>>2]|0)+4;e=(c[g>>2]|0)+1|0;c[g>>2]=e;k=e;while(1){if((k|0)==(f|0)){k=f;break}if(!(a[k>>0]|0))break;k=k+1|0}h=c[j>>2]|0}}do if((b|0)==10){b=k;a:while(1){c[j>>2]=h;if((e|0)==(c[g>>2]|0)){b=19;break}k=cy(c[n>>2]|0)|0;h=Hy(h,e,b-e|0,o)|0;if(k|0)cy(k)|0;switch(h|0){case -1:{b=15;break a}case -2:{b=16;break a}case 0:{h=1;break}default:{}}e=e+h|0;h=(c[j>>2]|0)+4|0}if((b|0)==15){c[g>>2]=e;e=2;b=29;break}else if((b|0)==16){c[g>>2]=e;e=1;b=29;break}else if((b|0)==19){c[g>>2]=e;e=(e|0)!=(f|0)&1;b=29;break}}else if((b|0)==30){e=c[g>>2]|0;b=33}while(0);if((b|0)!=29)if((b|0)==33)e=(e|0)!=(f|0)&1;zb=p;return e|0}function vL(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0;i=zb;zb=zb+16|0;h=i;c[g>>2]=e;e=cy(c[b+8>>2]|0)|0;b=xy(h,0,d)|0;if(e|0)cy(e)|0;a:do if((b+1|0)>>>0>=2){b=b+-1|0;if(b>>>0>(f-(c[g>>2]|0)|0)>>>0)h=1;else while(1){if(!b){h=0;break a}d=a[h>>0]|0;f=c[g>>2]|0;c[g>>2]=f+1;a[f>>0]=d;b=b+-1|0;h=h+1|0}}else h=2;while(0);zb=i;return h|0}function wL(a){a=a|0;var b=0,d=0;a=a+8|0;d=cy(c[a>>2]|0)|0;b=My(0,0,4)|0;if(d|0)cy(d)|0;if(!b){a=c[a>>2]|0;if(!a)a=1;else{a=cy(a)|0;b=jz()|0;if(a|0)cy(a)|0;return (b|0)==1|0}}else a=-1;return a|0}function xL(a){a=a|0;return 0}function yL(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0;k=e;j=a+8|0;h=0;i=0;a:while(1){if((d|0)==(e|0)|i>>>0>=f>>>0)break;g=cy(c[j>>2]|0)|0;a=uA(d,k-d|0,b)|0;if(g|0)cy(g)|0;switch(a|0){case -2:case -1:break a;case 0:{a=1;break}default:{}}d=d+a|0;h=a+h|0;i=i+1|0}return h|0}function zL(a){a=a|0;var b=0;a=c[a+8>>2]|0;if(a){b=cy(a)|0;a=jz()|0;if(b)cy(b)|0}else a=1;return a|0}function AL(a){a=a|0;var b=0,d=0;c[a>>2]=19168;b=a+8|0;d=c[b>>2]|0;if((d|0)!=(fG()|0))Ey(c[b>>2]|0);JF(a);return}function BL(a){a=a|0;AL(a);ZA(a);return}function CL(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;a=zb;zb=zb+16|0;j=a+4|0;b=a;c[j>>2]=d;c[b>>2]=g;h=LL(d,e,j,g,h,b,1114111,0)|0;c[f>>2]=c[j>>2];c[i>>2]=c[b>>2];zb=a;return h|0}function DL(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;a=zb;zb=zb+16|0;j=a+4|0;b=a;c[j>>2]=d;c[b>>2]=g;h=KL(d,e,j,g,h,b,1114111,0)|0;c[f>>2]=c[j>>2];c[i>>2]=c[b>>2];zb=a;return h|0}function EL(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 FL(a){a=a|0;return 0}function GL(a){a=a|0;return 0}function HL(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return JL(c,d,e,1114111,0)|0}function IL(a){a=a|0;return 4}function JL(b,c,e,f,g){b=b|0;c=c|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;o=c;if((((g&4|0)!=0?(o-b|0)>2:0)?(a[b>>0]|0)==-17:0)?(a[b+1>>0]|0)==-69:0)g=(a[b+2>>0]|0)==-65?b+3|0:b;else g=b;h=0;a:while(1){if(!(h>>>0>>0&g>>>0>>0))break;m=a[g>>0]|0;n=m&255;if(n>>>0>f>>>0)break;do if(m<<24>>24<=-1){if((m&255)<194)break a;if((m&255)<224){if((o-g|0)<2)break a;i=d[g+1>>0]|0;if((i&192|0)!=128)break a;if((i&63|n<<6&1984)>>>0>f>>>0)break a;else{g=g+2|0;break}}if((m&255)<240){if((o-g|0)<3)break a;j=a[g+1>>0]|0;i=a[g+2>>0]|0;switch(m<<24>>24){case -32:{if((j&-32)<<24>>24!=-96)break a;break}case -19:{if((j&-32)<<24>>24!=-128)break a;break}default:if((j&-64)<<24>>24!=-128)break a}i=i&255;if((i&192|0)!=128)break a;if(((j&63)<<6|n<<12&61440|i&63)>>>0>f>>>0)break a;else{g=g+3|0;break}}if((m&255)>=245)break a;if((e-h|0)>>>0<2|(o-g|0)<4)break a;l=a[g+1>>0]|0;i=a[g+2>>0]|0;k=a[g+3>>0]|0;switch(m<<24>>24){case -16:{if((l+112&255)>=48)break a;break}case -12:{if((l&-16)<<24>>24!=-128)break a;break}default:if((l&-64)<<24>>24!=-128)break a}j=i&255;if((j&192|0)!=128)break a;i=k&255;if((i&192|0)!=128)break a;if(((l&63)<<12|n<<18&1835008|j<<6&4032|i&63)>>>0>f>>>0)break a;else{g=g+4|0;h=h+1|0}}else g=g+1|0;while(0);h=h+1|0}return g-b|0}function KL(e,f,g,h,i,j,k,l){e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;var m=0,n=0,o=0,p=0,q=0,r=0,s=0;c[g>>2]=e;c[j>>2]=h;if(l&4){e=c[g>>2]|0;l=f;if((((l-e|0)>2?(a[e>>0]|0)==-17:0)?(a[e+1>>0]|0)==-69:0)?(a[e+2>>0]|0)==-65:0)c[g>>2]=e+3}else l=f;s=i;a:while(1){n=c[g>>2]|0;if(n>>>0>=f>>>0){e=0;break}r=c[j>>2]|0;if(r>>>0>=i>>>0){e=1;break}m=a[n>>0]|0;q=m&255;if(q>>>0>k>>>0){e=2;break}do if(m<<24>>24>-1){b[r>>1]=m&255;e=n+1|0}else{if((m&255)<194){e=2;break a}if((m&255)<224){if((l-n|0)<2){e=1;break a}e=d[n+1>>0]|0;if((e&192|0)!=128){e=2;break a}e=e&63|q<<6&1984;if(e>>>0>k>>>0){e=2;break a}b[r>>1]=e;e=n+2|0;break}if((m&255)<240){if((l-n|0)<3){e=1;break a}h=a[n+1>>0]|0;e=a[n+2>>0]|0;switch(m<<24>>24){case -32:{if((h&-32)<<24>>24!=-96){e=2;break a}break}case -19:{if((h&-32)<<24>>24!=-128){e=2;break a}break}default:if((h&-64)<<24>>24!=-128){e=2;break a}}e=e&255;if((e&192|0)!=128){e=2;break a}e=(h&63)<<6|q<<12|e&63;if((e&65535)>>>0>k>>>0){e=2;break a}b[r>>1]=e;e=n+3|0;break}if((m&255)>=245){e=2;break a}if((l-n|0)<4){e=1;break a}o=a[n+1>>0]|0;e=a[n+2>>0]|0;h=a[n+3>>0]|0;switch(m<<24>>24){case -16:{if((o+112&255)>=48){e=2;break a}break}case -12:{if((o&-16)<<24>>24!=-128){e=2;break a}break}default:if((o&-64)<<24>>24!=-128){e=2;break a}}p=e&255;if((p&192|0)!=128){e=2;break a}e=h&255;if((e&192|0)!=128){e=2;break a}if((s-r|0)<4){e=1;break a}n=q&7;m=o&255;h=p<<6;e=e&63;if((m<<12&258048|n<<18|h&4032|e)>>>0>k>>>0){e=2;break a}b[r>>1]=m<<2&60|p>>>4&3|((m>>>4&3|n<<2)<<6)+16320|55296;r=r+2|0;c[j>>2]=r;b[r>>1]=e|h&960|56320;e=(c[g>>2]|0)+4|0}while(0);c[g>>2]=e;c[j>>2]=(c[j>>2]|0)+2}return e|0}function LL(d,f,g,h,i,j,k,l){d=d|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;var m=0,n=0;c[g>>2]=d;c[j>>2]=h;if(l&2)if((i-h|0)<3)d=1;else{c[j>>2]=h+1;a[h>>0]=-17;m=c[j>>2]|0;c[j>>2]=m+1;a[m>>0]=-69;m=c[j>>2]|0;c[j>>2]=m+1;a[m>>0]=-65;m=4}else m=4;a:do if((m|0)==4){n=f;d=c[g>>2]|0;while(1){if(d>>>0>=f>>>0){d=0;break a}l=b[d>>1]|0;m=l&65535;if(m>>>0>k>>>0){d=2;break a}do if((l&65535)<128){d=c[j>>2]|0;if((i-d|0)<1){d=1;break a}c[j>>2]=d+1;a[d>>0]=l}else{if((l&65535)<2048){d=c[j>>2]|0;if((i-d|0)<2){d=1;break a}c[j>>2]=d+1;a[d>>0]=m>>>6|192;h=c[j>>2]|0;c[j>>2]=h+1;a[h>>0]=m&63|128;break}if((l&65535)<55296){d=c[j>>2]|0;if((i-d|0)<3){d=1;break a}c[j>>2]=d+1;a[d>>0]=m>>>12|224;h=c[j>>2]|0;c[j>>2]=h+1;a[h>>0]=m>>>6&63|128;h=c[j>>2]|0;c[j>>2]=h+1;a[h>>0]=m&63|128;break}if((l&65535)>=56320){if((l&65535)<57344){d=2;break a}d=c[j>>2]|0;if((i-d|0)<3){d=1;break a}c[j>>2]=d+1;a[d>>0]=m>>>12|224;h=c[j>>2]|0;c[j>>2]=h+1;a[h>>0]=m>>>6&63|128;h=c[j>>2]|0;c[j>>2]=h+1;a[h>>0]=m&63|128;break}if((n-d|0)<4){d=1;break a}l=d+2|0;h=e[l>>1]|0;if((h&64512|0)!=56320){d=2;break a}if((i-(c[j>>2]|0)|0)<4){d=1;break a}d=m&960;if(((d<<10)+65536|m<<10&64512|h&1023)>>>0>k>>>0){d=2;break a}c[g>>2]=l;d=(d>>>6)+1|0;l=c[j>>2]|0;c[j>>2]=l+1;a[l>>0]=d>>>2|240;l=c[j>>2]|0;c[j>>2]=l+1;a[l>>0]=m>>>2&15|d<<4&48|128;l=c[j>>2]|0;c[j>>2]=l+1;a[l>>0]=m<<4&48|h>>>6&15|128;m=c[j>>2]|0;c[j>>2]=m+1;a[m>>0]=h&63|128}while(0);d=(c[g>>2]|0)+2|0;c[g>>2]=d}}while(0);return d|0}function ML(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;c[a>>2]=19216;e=a+8|0;d=a+12|0;f=0;while(1){b=c[e>>2]|0;if(f>>>0>=(c[d>>2]|0)-b>>2>>>0)break;b=c[b+(f<<2)>>2]|0;if(b|0?(h=b+4|0,g=c[h>>2]|0,c[h>>2]=g+-1,(g|0)==0):0)Rb[c[(c[b>>2]|0)+8>>2]&255](b);f=f+1|0}qO(a+144|0);OL(e);JF(a);return}function NL(a){a=a|0;ML(a);ZA(a);return}function OL(b){b=b|0;var d=0,e=0;d=c[b>>2]|0;e=d;do if(d|0){c[b+4>>2]=e;if((d|0)==(b+16|0)){a[b+128>>0]=0;break}else{Vf(d,(c[b+8>>2]|0)-e|0);break}}while(0);return}function PL(b){b=b|0;var d=0;c[b>>2]=19236;d=c[b+8>>2]|0;if(d|0?a[b+12>>0]|0:0)CB(d);JF(b);return}function QL(a){a=a|0;PL(a);ZA(a);return}function RL(a,b){a=a|0;b=b|0;if(b<<24>>24>-1)b=c[(_L()|0)+((b&255)<<2)>>2]&255;return b|0}function SL(b,d,e){b=b|0;d=d|0;e=e|0;b=d;while(1){if((b|0)==(e|0))break;d=a[b>>0]|0;if(d<<24>>24>-1){d=_L()|0;d=c[d+(a[b>>0]<<2)>>2]&255}a[b>>0]=d;b=b+1|0}return e|0}function TL(a,b){a=a|0;b=b|0;if(b<<24>>24>-1)b=c[(ZL()|0)+(b<<24>>24<<2)>>2]&255;return b|0}function UL(b,d,e){b=b|0;d=d|0;e=e|0;b=d;while(1){if((b|0)==(e|0))break;d=a[b>>0]|0;if(d<<24>>24>-1){d=ZL()|0;d=c[d+(a[b>>0]<<2)>>2]&255}a[b>>0]=d;b=b+1|0}return e|0}function VL(a,b){a=a|0;b=b|0;return b|0}function WL(b,c,d,e){b=b|0;c=c|0;d=d|0;e=e|0;while(1){if((c|0)==(d|0))break;a[e>>0]=a[c>>0]|0;e=e+1|0;c=c+1|0}return d|0}function XL(a,b,c){a=a|0;b=b|0;c=c|0;return (b<<24>>24>-1?b:c)|0}function YL(b,c,d,e,f){b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;while(1){if((c|0)==(d|0))break;b=a[c>>0]|0;a[f>>0]=b<<24>>24>-1?b:e;f=f+1|0;c=c+1|0}return d|0}function ZL(){return c[(lz()|0)>>2]|0}function _L(){return c[(mz()|0)>>2]|0}function $L(){return c[(iz()|0)>>2]|0}function aM(a){a=a|0;c[a>>2]=19288;qO(a+12|0);JF(a);return}function bM(a){a=a|0;aM(a);ZA(a);return}function cM(b){b=b|0;return a[b+8>>0]|0}function dM(b){b=b|0;return a[b+9>>0]|0}function eM(a,b){a=a|0;b=b|0;mO(a,b+12|0);return}function fM(a,b){a=a|0;b=b|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;nO(a,52100,cg(52100)|0);return}function gM(a,b){a=a|0;b=b|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;nO(a,52094,cg(52094)|0);return}function hM(a){a=a|0;c[a>>2]=19328;qO(a+16|0);JF(a);return}function iM(a){a=a|0;hM(a);ZA(a);return}function jM(a){a=a|0;return c[a+8>>2]|0}function kM(a){a=a|0;return c[a+12>>2]|0}function lM(a,b){a=a|0;b=b|0;mO(a,b+16|0);return}function mM(a,b){a=a|0;b=b|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;AO(a,19384,QI(19384)|0);return}function nM(a,b){a=a|0;b=b|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;AO(a,19360,QI(19360)|0);return}function oM(a){a=a|0;JF(a);ZA(a);return}function pM(a){a=a|0;JF(a);ZA(a);return}function qM(a,c,d){a=a|0;c=c|0;d=d|0;if(d>>>0<128)d=(b[($L()|0)+(d<<1)>>1]&c)<<16>>16!=0;else d=0;return d|0}function rM(a,d,f,g){a=a|0;d=d|0;f=f|0;g=g|0;var h=0;h=d;a=g;while(1){if((h|0)==(f|0))break;if((c[h>>2]|0)>>>0<128){d=$L()|0;d=e[d+(c[h>>2]<<1)>>1]|0}else d=0;b[a>>1]=d;h=h+4|0;a=a+2|0}return f|0}function sM(a,d,e,f){a=a|0;d=d|0;e=e|0;f=f|0;while(1){if((e|0)==(f|0))break;if((c[e>>2]|0)>>>0<128?(a=$L()|0,(b[a+(c[e>>2]<<1)>>1]&d)<<16>>16):0){f=e;break}e=e+4|0}return f|0}function tM(a,d,e,f){a=a|0;d=d|0;e=e|0;f=f|0;while(1){if((e|0)==(f|0))break;if((c[e>>2]|0)>>>0>=128){f=e;break}a=$L()|0;if(!((b[a+(c[e>>2]<<1)>>1]&d)<<16>>16)){f=e;break}e=e+4|0}return f|0}function uM(a,b){a=a|0;b=b|0;if(b>>>0<128)b=c[(_L()|0)+(b<<2)>>2]|0;return b|0}function vM(a,b,d){a=a|0;b=b|0;d=d|0;a=b;while(1){if((a|0)==(d|0))break;b=c[a>>2]|0;if(b>>>0<128){b=_L()|0;b=c[b+(c[a>>2]<<2)>>2]|0}c[a>>2]=b;a=a+4|0}return d|0}function wM(a,b){a=a|0;b=b|0;if(b>>>0<128)b=c[(ZL()|0)+(b<<2)>>2]|0;return b|0}function xM(a,b,d){a=a|0;b=b|0;d=d|0;a=b;while(1){if((a|0)==(d|0))break;b=c[a>>2]|0;if(b>>>0<128){b=ZL()|0;b=c[b+(c[a>>2]<<2)>>2]|0}c[a>>2]=b;a=a+4|0}return d|0}function yM(a,b){a=a|0;b=b|0;return b<<24>>24|0}function zM(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;while(1){if((d|0)==(e|0))break;c[f>>2]=a[d>>0];f=f+4|0;d=d+1|0}return e|0}function AM(a,b,c){a=a|0;b=b|0;c=c|0;return (b>>>0<128?b&255:c)|0}function BM(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0;h=(e-d|0)>>>2;b=d;while(1){if((b|0)==(e|0))break;i=c[b>>2]|0;a[g>>0]=i>>>0<128?i&255:f;g=g+1|0;b=b+4|0}return d+(h<<2)|0}function CM(a){a=a|0;JF(a);ZA(a);return}function DM(a){a=a|0;JF(a);ZA(a);return}function EM(a){a=a|0;JF(a);ZA(a);return}function FM(a){a=a|0;c[a>>2]=19644;return}function GM(a){a=a|0;c[a>>2]=19680;return}function HM(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]=19236;f=b+8|0;c[f>>2]=d;a[b+12>>0]=e&1;if(!d)c[f>>2]=$L()|0;return}function IM(a,b){a=a|0;b=b|0;var d=0;c[a+4>>2]=b+-1;c[a>>2]=19216;b=a+8|0;JM(b,28);d=a+144|0;c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;nO(d,50039,cg(50039)|0);c[a+12>>2]=c[b>>2];KM();LM(a,55816);MM();NM(a,55824);OM();PM(a,55832);QM();RM(a,55848);SM();TM(a,55856);UM();VM(a,55864);WM();XM(a,55880);YM();ZM(a,55888);_M();$M(a,55896);aN();bN(a,55920);cN();dN(a,55952);eN();fN(a,55960);gN();hN(a,55968);iN();jN(a,55976);kN();lN(a,55984);mN();nN(a,55992);oN();pN(a,56e3);qN();rN(a,56008);sN();tN(a,56016);uN();vN(a,56024);wN();xN(a,56032);yN();zN(a,56040);AN();BN(a,56048);CN();DN(a,56064);EN();FN(a,56080);GN();HN(a,56096);IN();JN(a,56112);KN();LN(a,56120);return}function JM(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){YN(b,d);PN(b,d)}return}function KM(){c[13955]=0;c[13954]=17072;return}function LM(a,b){a=a|0;b=b|0;MN(a,b,hG(57568)|0);return}function MM(){c[13957]=0;c[13956]=17104;return}function NM(a,b){a=a|0;b=b|0;MN(a,b,hG(57576)|0);return}function OM(){HM(55832,0,0,1);return}function PM(a,b){a=a|0;b=b|0;MN(a,b,hG(57584)|0);return}function QM(){c[13963]=0;c[13962]=19432;return}function RM(a,b){a=a|0;b=b|0;MN(a,b,hG(57616)|0);return}function SM(){c[13965]=0;c[13964]=19500;return}function TM(a,b){a=a|0;b=b|0;MN(a,b,hG(57888)|0);return}function UM(){XN(55864,1);return}function VM(a,b){a=a|0;b=b|0;MN(a,b,hG(57896)|0);return}function WM(){c[13971]=0;c[13970]=19548;return}function XM(a,b){a=a|0;b=b|0;MN(a,b,hG(57904)|0);return}function YM(){c[13973]=0;c[13972]=19596;return}function ZM(a,b){a=a|0;b=b|0;MN(a,b,hG(57912)|0);return}function _M(){WN(55896,1);return}function $M(a,b){a=a|0;b=b|0;MN(a,b,hG(57600)|0);return}function aN(){VN(55920,1);return}function bN(a,b){a=a|0;b=b|0;MN(a,b,hG(57624)|0);return}function cN(){c[13989]=0;c[13988]=17136;return}function dN(a,b){a=a|0;b=b|0;MN(a,b,hG(57608)|0);return}function eN(){c[13991]=0;c[13990]=17200;return}function fN(a,b){a=a|0;b=b|0;MN(a,b,hG(57632)|0);return}function gN(){c[13993]=0;c[13992]=17264;return}function hN(a,b){a=a|0;b=b|0;MN(a,b,hG(57640)|0);return}function iN(){c[13995]=0;c[13994]=17316;return}function jN(a,b){a=a|0;b=b|0;MN(a,b,hG(57648)|0);return}function kN(){c[13997]=0;c[13996]=18672;return}function lN(a,b){a=a|0;b=b|0;MN(a,b,hG(57808)|0);return}function mN(){c[13999]=0;c[13998]=18728;return}function nN(a,b){a=a|0;b=b|0;MN(a,b,hG(57816)|0);return}function oN(){c[14001]=0;c[14e3]=18784;return}function pN(a,b){a=a|0;b=b|0;MN(a,b,hG(57824)|0);return}function qN(){c[14003]=0;c[14002]=18840;return}function rN(a,b){a=a|0;b=b|0;MN(a,b,hG(57832)|0);return}function sN(){c[14005]=0;c[14004]=18896;return}function tN(a,b){a=a|0;b=b|0;MN(a,b,hG(57840)|0);return}function uN(){c[14007]=0;c[14006]=18924;return}function vN(a,b){a=a|0;b=b|0;MN(a,b,hG(57848)|0);return}function wN(){c[14009]=0;c[14008]=18952;return}function xN(a,b){a=a|0;b=b|0;MN(a,b,hG(57856)|0);return}function yN(){c[14011]=0;c[14010]=18980;return}function zN(a,b){a=a|0;b=b|0;MN(a,b,hG(57864)|0);return}function AN(){c[14013]=0;c[14012]=19412;FM(56056);c[14012]=17368;c[14014]=17416;return}function BN(a,b){a=a|0;b=b|0;MN(a,b,hG(57716)|0);return}function CN(){c[14017]=0;c[14016]=19412;GM(56072);c[14016]=17452;c[14018]=17500;return}function DN(a,b){a=a|0;b=b|0;MN(a,b,hG(57784)|0);return}function EN(){c[14021]=0;c[14020]=19412;c[14022]=fG()|0;c[14020]=18624;return}function FN(a,b){a=a|0;b=b|0;MN(a,b,hG(57792)|0);return}function GN(){c[14025]=0;c[14024]=19412;c[14026]=fG()|0;c[14024]=18648;return}function HN(a,b){a=a|0;b=b|0;MN(a,b,hG(57800)|0);return}function IN(){c[14029]=0;c[14028]=19008;return}function JN(a,b){a=a|0;b=b|0;MN(a,b,hG(57872)|0);return}function KN(){c[14031]=0;c[14030]=19040;return}function LN(a,b){a=a|0;b=b|0;MN(a,b,hG(57880)|0);return}function MN(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;f=b+4|0;c[f>>2]=(c[f>>2]|0)+1;f=a+8|0;e=c[f>>2]|0;if((c[a+12>>2]|0)-e>>2>>>0<=d>>>0){NN(f,d+1|0);e=c[f>>2]|0}e=c[e+(d<<2)>>2]|0;if(e|0?(g=e+4|0,a=c[g>>2]|0,c[g>>2]=a+-1,(a|0)==0):0)Rb[c[(c[e>>2]|0)+8>>2]&255](e);c[(c[f>>2]|0)+(d<<2)>>2]=b;return}function NN(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;e=a+4|0;d=c[a>>2]|0;f=(c[e>>2]|0)-d>>2;if(f>>>0>=b>>>0){if(f>>>0>b>>>0)c[e>>2]=d+(b<<2)}else ON(a,b-f|0);return}function ON(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;i=zb;zb=zb+32|0;g=i;h=a+8|0;f=a+4|0;d=c[f>>2]|0;do if((c[h>>2]|0)-d>>2>>>0>>0){d=(d-(c[a>>2]|0)>>2)+b|0;e=QN(a)|0;if(e>>>0>>0)LO(a);else{j=c[a>>2]|0;k=(c[h>>2]|0)-j|0;h=k>>1;RN(g,k>>2>>>0>>1>>>0?(h>>>0>>0?d:h):e,(c[f>>2]|0)-j>>2,a+16|0);SN(g,b);TN(a,g);UN(g);break}}else PN(a,b);while(0);zb=i;return}function PN(a,b){a=a|0;b=b|0;var d=0,e=0;e=a+4|0;d=c[e>>2]|0;a=b;do{c[d>>2]=0;d=(c[e>>2]|0)+4|0;c[e>>2]=d;a=a+-1|0}while((a|0)!=0);return}function QN(a){a=a|0;return 1073741823}function RN(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;h=b+12|0;c[h>>2]=0;c[b+16>>2]=f;do if(d){g=f+112|0;if(d>>>0<29&(a[g>>0]|0)==0){a[g>>0]=1;break}else{f=AB(d<<2)|0;break}}else f=0;while(0);c[b>>2]=f;e=f+(e<<2)|0;c[b+8>>2]=e;c[b+4>>2]=e;c[h>>2]=f+(d<<2);return}function SN(a,b){a=a|0;b=b|0;var d=0,e=0;e=a+8|0;d=c[e>>2]|0;a=b;do{c[d>>2]=0;d=(c[e>>2]|0)+4|0;c[e>>2]=d;a=a+-1|0}while((a|0)!=0);return}function TN(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;e=c[a>>2]|0;h=a+4|0;g=b+4|0;f=(c[h>>2]|0)-e|0;d=(c[g>>2]|0)+(0-(f>>2)<<2)|0;c[g>>2]=d;if((f|0)>0){fP(d|0,e|0,f|0)|0;e=g;d=c[g>>2]|0}else e=g;g=c[a>>2]|0;c[a>>2]=d;c[e>>2]=g;g=b+8|0;f=c[h>>2]|0;c[h>>2]=c[g>>2];c[g>>2]=f;g=a+8|0;a=b+12|0;h=c[g>>2]|0;c[g>>2]=c[a>>2];c[a>>2]=h;c[b>>2]=c[e>>2];return}function UN(b){b=b|0;var d=0,e=0,f=0,g=0;d=c[b+4>>2]|0;f=b+8|0;e=c[f>>2]|0;while(1){if((e|0)==(d|0))break;g=e+-4|0;c[f>>2]=g;e=g}d=c[b>>2]|0;e=d;do if(d|0){f=c[b+16>>2]|0;if((d|0)==(f|0)){a[f+112>>0]=0;break}else{Vf(d,(c[b+12>>2]|0)-e|0);break}}while(0);return}function VN(a,b){a=a|0;b=b|0;c[a+4>>2]=b+-1;c[a>>2]=19328;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 WN(b,d){b=b|0;d=d|0;c[b+4>>2]=d+-1;c[b>>2]=19288;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 XN(a,b){a=a|0;b=b|0;c[a+4>>2]=b+-1;c[a>>2]=19168;c[a+8>>2]=fG()|0;return}function YN(b,d){b=b|0;d=d|0;var e=0;if((QN(b)|0)>>>0>>0)LO(b);e=b+128|0;if(d>>>0<29&(a[e>>0]|0)==0){a[e>>0]=1;e=b+16|0}else e=AB(d<<2)|0;c[b+4>>2]=e;c[b>>2]=e;c[b+8>>2]=e+(d<<2);return}function ZN(){if((a[56128]|0)==0?uB(56128)|0:0){_N()|0;c[14481]=57920;wB(56128)}return c[14481]|0}function _N(){$N();c[14480]=56136;return 57920}function $N(){IM(56136,1);return}function aO(){bO(57928,ZN()|0);return 57928}function bO(a,b){a=a|0;b=b|0;b=c[b>>2]|0;c[a>>2]=b;a=b+4|0;c[a>>2]=(c[a>>2]|0)+1;return}function cO(){if((a[56296]|0)==0?uB(56296)|0:0){aO()|0;c[14483]=57928;wB(56296)}return c[14483]|0}function dO(a){a=a|0;var b=0;b=c[(cO()|0)>>2]|0;c[a>>2]=b;a=b+4|0;c[a>>2]=(c[a>>2]|0)+1;return}function eO(a){a=a|0;return}function fO(a){a=a|0;var b=0,d=0;b=a+8|0;if(!((c[b>>2]|0)!=0?(d=c[b>>2]|0,c[b>>2]=d+-1,(d|0)!=0):0))Rb[c[(c[a>>2]|0)+16>>2]&255](a);return}function gO(a,b,d){a=a|0;b=b|0;d=d|0;do{}while((c[a>>2]|0)==1);if(!(c[a>>2]|0)){c[a>>2]=1;Rb[d&255](b);c[a>>2]=-1}return}function hO(){va()}function iO(a,b){a=a|0;b=b|0;var d=0,e=0;e=Qx(b)|0;d=AB(e+13|0)|0;c[d>>2]=e;c[d+4>>2]=e;c[d+8>>2]=0;d=jO(d)|0;fP(d|0,b|0,e+1|0)|0;c[a>>2]=d;return}function jO(a){a=a|0;return a+12|0}function kO(a,b){a=a|0;b=b|0;c[a>>2]=16372;iO(a+4|0,b);return}function lO(a){a=a|0;va()}function mO(b,d){b=b|0;d=d|0;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;if((a[d+11>>0]|0)<0)nO(b,c[d>>2]|0,c[d+4>>2]|0);else{c[b>>2]=c[d>>2];c[b+4>>2]=c[d+4>>2];c[b+8>>2]=c[d+8>>2]}return}function nO(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;g=zb;zb=zb+16|0;f=g;if(e>>>0>4294967279)lO(b);if(e>>>0<11)a[b+11>>0]=e;else{i=e+16&-16;h=AB(i)|0;c[b>>2]=h;c[b+8>>2]=i|-2147483648;c[b+4>>2]=e;b=h}aE(b,d,e)|0;a[f>>0]=0;hg(b+e|0,f);zb=g;return}function oO(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;g=zb;zb=zb+16|0;f=g;if(d>>>0>4294967279)lO(b);if(d>>>0<11)a[b+11>>0]=d;else{i=d+16&-16;h=AB(i)|0;c[b>>2]=h;c[b+8>>2]=i|-2147483648;c[b+4>>2]=d;b=h}pO(b,d,e)|0;a[f>>0]=0;hg(b+d|0,f);zb=g;return}function pO(a,b,c){a=a|0;b=b|0;c=c|0;if(b|0)hP(a|0,(ig(c)|0)&255|0,b|0)|0;return a|0}function qO(b){b=b|0;if((a[b+11>>0]|0)<0)Vf(c[b>>2]|0,c[b+8>>2]&2147483647);return}function rO(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;k=zb;zb=zb+16|0;j=k;h=b+11|0;f=a[h>>0]|0;g=f<<24>>24<0;if(g)i=(c[b+8>>2]&2147483647)+-1|0;else i=10;do if(i>>>0>=e>>>0){if(g)f=c[b>>2]|0;else f=b;sO(f,d,e)|0;a[j>>0]=0;hg(f+e|0,j);if((a[h>>0]|0)<0){c[b+4>>2]=e;break}else{a[h>>0]=e;break}}else{if(g)f=c[b+4>>2]|0;else f=f&255;tO(b,i,e-i|0,f,0,f,e,d)}while(0);zb=k;return b|0}function sO(a,b,c){a=a|0;b=b|0;c=c|0;if(c|0)gP(a|0,b|0,c|0)|0;return a|0}function tO(b,d,e,f,g,h,i,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,l=0,m=0,n=0,o=0;o=zb;zb=zb+16|0;n=o;if((-18-d|0)>>>0>>0)lO(b);if((a[b+11>>0]|0)<0)m=c[b>>2]|0;else m=b;if(d>>>0<2147483623){l=e+d|0;k=d<<1;l=l>>>0>>0?k:l;l=l>>>0<11?11:l+16&-16}else l=-17;k=AB(l)|0;if(g|0)aE(k,m,g)|0;if(i|0)aE(k+g|0,j,i)|0;f=f-h|0;e=f-g|0;if(e|0)aE(k+g+i|0,m+g+h|0,e)|0;e=d+1|0;if((e|0)!=11)Vf(m,e);c[b>>2]=k;c[b+8>>2]=l|-2147483648;m=f+i|0;c[b+4>>2]=m;a[n>>0]=0;hg(k+m|0,n);zb=o;return}function uO(a,b){a=a|0;b=b|0;return rO(a,b,cg(b)|0)|0}function vO(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;j=zb;zb=zb+16|0;h=j;g=b+11|0;f=a[g>>0]|0;i=f<<24>>24<0;if(i)f=c[b+4>>2]|0;else f=f&255;do if(f>>>0>=d>>>0)if(i){i=(c[b>>2]|0)+d|0;a[h>>0]=0;hg(i,h);c[b+4>>2]=d;break}else{a[h>>0]=0;hg(b+d|0,h);a[g>>0]=d;break}else wO(b,d-f|0,e)|0;while(0);zb=j;return}function wO(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;k=zb;zb=zb+16|0;j=k;if(d|0){i=b+11|0;f=a[i>>0]|0;if(f<<24>>24<0){h=c[b+4>>2]|0;g=(c[b+8>>2]&2147483647)+-1|0}else{h=f&255;g=10}if((g-h|0)>>>0>>0){xO(b,g,h+d-g|0,h,h,0,0);f=a[i>>0]|0}if(f<<24>>24<0)g=c[b>>2]|0;else g=b;pO(g+h|0,d,e)|0;f=h+d|0;if((a[i>>0]|0)<0)c[b+4>>2]=f;else a[i>>0]=f;a[j>>0]=0;hg(g+f|0,j)}zb=k;return b|0}function xO(b,d,e,f,g,h,i){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0;if((-17-d|0)>>>0>>0)lO(b);if((a[b+11>>0]|0)<0)l=c[b>>2]|0;else l=b;if(d>>>0<2147483623){k=e+d|0;j=d<<1;k=k>>>0>>0?j:k;k=k>>>0<11?11:k+16&-16}else k=-17;j=AB(k)|0;if(g|0)aE(j,l,g)|0;e=f-h-g|0;if(e|0)aE(j+g+i|0,l+g+h|0,e)|0;e=d+1|0;if((e|0)!=11)Vf(l,e);c[b>>2]=j;c[b+8>>2]=k|-2147483648;return}function yO(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;k=zb;zb=zb+16|0;j=k;i=b+11|0;f=a[i>>0]|0;g=f<<24>>24<0;if(g){h=c[b+4>>2]|0;f=(c[b+8>>2]&2147483647)+-1|0}else{h=f&255;f=10}if((f-h|0)>>>0>=e>>>0){if(e|0){if(g)g=c[b>>2]|0;else g=b;aE(g+h|0,d,e)|0;f=h+e|0;if((a[i>>0]|0)<0)c[b+4>>2]=f;else a[i>>0]=f;a[j>>0]=0;hg(g+f|0,j)}}else tO(b,f,h+e-f|0,h,h,0,e,d);zb=k;return b|0}function zO(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;k=zb;zb=zb+16|0;i=k;j=k+1|0;a[i>>0]=d;g=b+11|0;d=a[g>>0]|0;f=d<<24>>24<0;if(f){e=(c[b+8>>2]&2147483647)+-1|0;h=c[b+4>>2]|0}else{e=10;h=d&255}if((h|0)==(e|0)){xO(b,e,1,e,e,0,0);if((a[g>>0]|0)<0)e=8;else e=7}else if(f)e=8;else e=7;if((e|0)==7){a[g>>0]=h+1;d=b}else if((e|0)==8){d=c[b>>2]|0;c[b+4>>2]=h+1}b=d+h|0;hg(b,i);a[j>>0]=0;hg(b+1|0,j);zb=k;return}function AO(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;i=zb;zb=zb+16|0;h=i;if(e>>>0>1073741807)lO(b);do if(e>>>0>=2){g=e+4&-4;if(g>>>0>1073741823)va();else{f=AB(g<<2)|0;c[b>>2]=f;c[b+8>>2]=g|-2147483648;c[b+4>>2]=e;break}}else{a[b+8+3>>0]=e;f=b}while(0);rE(f,d,e)|0;c[h>>2]=0;QF(f+(e<<2)|0,h);zb=i;return}function BO(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;i=zb;zb=zb+16|0;h=i;if(d>>>0>1073741807)lO(b);do if(d>>>0>=2){g=d+4&-4;if(g>>>0>1073741823)va();else{f=AB(g<<2)|0;c[b>>2]=f;c[b+8>>2]=g|-2147483648;c[b+4>>2]=d;break}}else{a[b+8+3>>0]=d;f=b}while(0);CO(f,d,e)|0;c[h>>2]=0;QF(f+(d<<2)|0,h);zb=i;return}function CO(a,b,c){a=a|0;b=b|0;c=c|0;if(b)Zy(a,c,b)|0;return a|0}function DO(b){b=b|0;var d=0;d=b+8|0;if((a[d+3>>0]|0)<0)Vf(c[b>>2]|0,c[d>>2]<<2);return}function EO(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0;l=zb;zb=zb+16|0;k=l;f=b+8|0;j=f+3|0;g=a[j>>0]|0;i=g<<24>>24<0;if(i)h=(c[f>>2]&2147483647)+-1|0;else h=1;do if(h>>>0>=e>>>0){if(i)f=c[b>>2]|0;else f=b;FO(f,d,e)|0;c[k>>2]=0;QF(f+(e<<2)|0,k);if((a[j>>0]|0)<0){c[b+4>>2]=e;break}else{a[j>>0]=e;break}}else{if(i)f=c[b+4>>2]|0;else f=g&255;GO(b,h,e-h|0,f,0,f,e,d)}while(0);zb=l;return b|0}function FO(a,b,c){a=a|0;b=b|0;c=c|0;if(c)hz(a,b,c)|0;return a|0}function GO(b,d,e,f,g,h,i,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0;p=zb;zb=zb+16|0;o=p;if((1073741806-d|0)>>>0>>0)lO(b);l=b+8|0;if((a[l+3>>0]|0)<0)n=c[b>>2]|0;else n=b;if(d>>>0<536870887){e=e+d|0;k=d<<1;e=e>>>0>>0?k:e;e=e>>>0<2?2:e+4&-4;if(e>>>0>1073741823)va();else m=e}else m=1073741807;k=AB(m<<2)|0;if(g|0)rE(k,n,g)|0;if(i|0)rE(k+(g<<2)|0,j,i)|0;f=f-h|0;e=f-g|0;if(e|0)rE(k+(g<<2)+(i<<2)|0,n+(g<<2)+(h<<2)|0,e)|0;e=d+1|0;if((e|0)!=2)Vf(n,e<<2);c[b>>2]=k;c[l>>2]=m|-2147483648;n=f+i|0;c[b+4>>2]=n;c[o>>2]=0;QF(k+(n<<2)|0,o);zb=p;return}function HO(a,b){a=a|0;b=b|0;return EO(a,b,QI(b)|0)|0}function IO(b,d,e,f,g,h,i){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0;if((1073741807-d|0)>>>0>>0)lO(b);k=b+8|0;if((a[k+3>>0]|0)<0)m=c[b>>2]|0;else m=b;if(d>>>0<536870887){e=e+d|0;j=d<<1;e=e>>>0>>0?j:e;e=e>>>0<2?2:e+4&-4;if(e>>>0>1073741823)va();else l=e}else l=1073741807;j=AB(l<<2)|0;if(g|0)rE(j,m,g)|0;e=f-h-g|0;if(e|0)rE(j+(g<<2)+(i<<2)|0,m+(g<<2)+(h<<2)|0,e)|0;e=d+1|0;if((e|0)!=2)Vf(m,e<<2);c[b>>2]=j;c[k>>2]=l|-2147483648;return}function JO(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0;l=zb;zb=zb+16|0;k=l;g=b+8|0;j=g+3|0;f=a[j>>0]|0;i=f<<24>>24<0;if(i){h=c[b+4>>2]|0;f=(c[g>>2]&2147483647)+-1|0}else{h=f&255;f=1}if((f-h|0)>>>0>=e>>>0){if(e|0){if(i)g=c[b>>2]|0;else g=b;rE(g+(h<<2)|0,d,e)|0;f=h+e|0;if((a[j>>0]|0)<0)c[b+4>>2]=f;else a[j>>0]=f;c[k>>2]=0;QF(g+(f<<2)|0,k)}}else GO(b,f,h+e-f|0,h,h,0,e,d);zb=l;return b|0}function KO(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;k=zb;zb=zb+16|0;i=k;j=k+4|0;c[i>>2]=d;d=b+8|0;h=d+3|0;e=a[h>>0]|0;g=e<<24>>24<0;if(g){d=(c[d>>2]&2147483647)+-1|0;f=c[b+4>>2]|0}else{d=1;f=e&255}if((f|0)==(d|0)){IO(b,d,1,d,d,0,0);if((a[h>>0]|0)<0)e=8;else e=7}else if(g)e=8;else e=7;if((e|0)==7){a[h>>0]=f+1;d=b}else if((e|0)==8){d=c[b>>2]|0;c[b+4>>2]=f+1}b=d+(f<<2)|0;QF(b,i);c[j>>2]=0;QF(b+4|0,j);zb=k;return}function LO(a){a=a|0;va()}function MO(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;w=zb;zb=zb+16|0;n=w;do if(a>>>0<245){k=a>>>0<11?16:a+11&-8;a=k>>>3;m=c[14503]|0;d=m>>>a;if(d&3|0){e=(d&1^1)+a|0;f=58052+(e<<1<<2)|0;b=f+8|0;a=c[b>>2]|0;g=a+8|0;d=c[g>>2]|0;if((d|0)==(f|0))c[14503]=m&~(1<>2]=f;c[b>>2]=d}v=e<<3;c[a+4>>2]=v|3;v=a+v+4|0;c[v>>2]=c[v>>2]|1;v=g;zb=w;return v|0}l=c[14505]|0;if(k>>>0>l>>>0){if(d|0){i=2<>>12&16;d=d>>>i;a=d>>>5&8;d=d>>>a;g=d>>>2&4;d=d>>>g;b=d>>>1&2;d=d>>>b;e=d>>>1&1;e=(a|i|g|b|e)+(d>>>e)|0;d=58052+(e<<1<<2)|0;b=d+8|0;g=c[b>>2]|0;i=g+8|0;a=c[i>>2]|0;if((a|0)==(d|0)){a=m&~(1<>2]=d;c[b>>2]=a;a=m}v=e<<3;h=v-k|0;c[g+4>>2]=k|3;f=g+k|0;c[f+4>>2]=h|1;c[g+v>>2]=h;if(l|0){e=c[14508]|0;b=l>>>3;d=58052+(b<<1<<2)|0;b=1<>2]|0}c[b>>2]=e;c[a+12>>2]=e;c[e+8>>2]=a;c[e+12>>2]=d}c[14505]=h;c[14508]=f;v=i;zb=w;return v|0}g=c[14504]|0;if(g){i=(g&0-g)+-1|0;f=i>>>12&16;i=i>>>f;e=i>>>5&8;i=i>>>e;h=i>>>2&4;i=i>>>h;d=i>>>1&2;i=i>>>d;j=i>>>1&1;j=c[58316+((e|f|h|d|j)+(i>>>j)<<2)>>2]|0;i=(c[j+4>>2]&-8)-k|0;d=j;while(1){a=c[d+16>>2]|0;if(!a){a=c[d+20>>2]|0;if(!a)break}d=(c[a+4>>2]&-8)-k|0;h=d>>>0>>0;i=h?d:i;d=a;j=h?a:j}h=j+k|0;if(h>>>0>j>>>0){f=c[j+24>>2]|0;b=c[j+12>>2]|0;do if((b|0)==(j|0)){a=j+20|0;b=c[a>>2]|0;if(!b){a=j+16|0;b=c[a>>2]|0;if(!b){d=0;break}}while(1){e=b+20|0;d=c[e>>2]|0;if(!d){e=b+16|0;d=c[e>>2]|0;if(!d)break;else{b=d;a=e}}else{b=d;a=e}}c[a>>2]=0;d=b}else{d=c[j+8>>2]|0;c[d+12>>2]=b;c[b+8>>2]=d;d=b}while(0);do if(f|0){b=c[j+28>>2]|0;a=58316+(b<<2)|0;if((j|0)==(c[a>>2]|0)){c[a>>2]=d;if(!d){c[14504]=g&~(1<>2]|0)==(j|0)?v:f+20|0)>>2]=d;if(!d)break}c[d+24>>2]=f;b=c[j+16>>2]|0;if(b|0){c[d+16>>2]=b;c[b+24>>2]=d}b=c[j+20>>2]|0;if(b|0){c[d+20>>2]=b;c[b+24>>2]=d}}while(0);if(i>>>0<16){v=i+k|0;c[j+4>>2]=v|3;v=j+v+4|0;c[v>>2]=c[v>>2]|1}else{c[j+4>>2]=k|3;c[h+4>>2]=i|1;c[h+i>>2]=i;if(l|0){e=c[14508]|0;b=l>>>3;d=58052+(b<<1<<2)|0;b=1<>2]|0}c[b>>2]=e;c[a+12>>2]=e;c[e+8>>2]=a;c[e+12>>2]=d}c[14505]=i;c[14508]=h}v=j+8|0;zb=w;return v|0}else m=k}else m=k}else m=k}else if(a>>>0<=4294967231){a=a+11|0;k=a&-8;e=c[14504]|0;if(e){d=0-k|0;a=a>>>8;if(a)if(k>>>0>16777215)j=31;else{m=(a+1048320|0)>>>16&8;q=a<>>16&4;q=q<>>16&2;j=14-(i|m|j)+(q<>>15)|0;j=k>>>(j+7|0)&1|j<<1}else j=0;a=c[58316+(j<<2)>>2]|0;a:do if(!a){f=0;a=0;q=61}else{f=0;h=k<<((j|0)==31?0:25-(j>>>1)|0);i=a;a=0;while(1){g=(c[i+4>>2]&-8)-k|0;if(g>>>0>>0)if(!g){d=0;f=i;a=i;q=65;break a}else{d=g;a=i}q=c[i+20>>2]|0;i=c[i+16+(h>>>31<<2)>>2]|0;f=(q|0)==0|(q|0)==(i|0)?f:q;if(!i){q=61;break}else h=h<<1}}while(0);if((q|0)==61){if((f|0)==0&(a|0)==0){a=2<>>12&16;a=a>>>i;h=a>>>5&8;a=a>>>h;j=a>>>2&4;a=a>>>j;m=a>>>1&2;a=a>>>m;f=a>>>1&1;f=c[58316+((h|i|j|m|f)+(a>>>f)<<2)>>2]|0;a=0}if(!f){i=d;g=a}else q=65}if((q|0)==65)while(1){m=(c[f+4>>2]&-8)-k|0;g=m>>>0>>0;d=g?m:d;g=g?f:a;a=c[f+16>>2]|0;if(!a)a=c[f+20>>2]|0;if(!a){i=d;break}else{f=a;a=g}}if(((g|0)!=0?i>>>0<((c[14505]|0)-k|0)>>>0:0)?(l=g+k|0,l>>>0>g>>>0):0){h=c[g+24>>2]|0;b=c[g+12>>2]|0;do if((b|0)==(g|0)){a=g+20|0;b=c[a>>2]|0;if(!b){a=g+16|0;b=c[a>>2]|0;if(!b){b=0;break}}while(1){f=b+20|0;d=c[f>>2]|0;if(!d){f=b+16|0;d=c[f>>2]|0;if(!d)break;else{b=d;a=f}}else{b=d;a=f}}c[a>>2]=0}else{v=c[g+8>>2]|0;c[v+12>>2]=b;c[b+8>>2]=v}while(0);do if(h){a=c[g+28>>2]|0;d=58316+(a<<2)|0;if((g|0)==(c[d>>2]|0)){c[d>>2]=b;if(!b){e=e&~(1<>2]|0)==(g|0)?v:h+20|0)>>2]=b;if(!b)break}c[b+24>>2]=h;a=c[g+16>>2]|0;if(a|0){c[b+16>>2]=a;c[a+24>>2]=b}a=c[g+20>>2]|0;if(a){c[b+20>>2]=a;c[a+24>>2]=b}}while(0);b:do if(i>>>0<16){v=i+k|0;c[g+4>>2]=v|3;v=g+v+4|0;c[v>>2]=c[v>>2]|1}else{c[g+4>>2]=k|3;c[l+4>>2]=i|1;c[l+i>>2]=i;b=i>>>3;if(i>>>0<256){d=58052+(b<<1<<2)|0;a=c[14503]|0;b=1<>2]|0}c[b>>2]=l;c[a+12>>2]=l;c[l+8>>2]=a;c[l+12>>2]=d;break}b=i>>>8;if(b)if(i>>>0>16777215)d=31;else{u=(b+1048320|0)>>>16&8;v=b<>>16&4;v=v<>>16&2;d=14-(t|u|d)+(v<>>15)|0;d=i>>>(d+7|0)&1|d<<1}else d=0;b=58316+(d<<2)|0;c[l+28>>2]=d;a=l+16|0;c[a+4>>2]=0;c[a>>2]=0;a=1<>2]=l;c[l+24>>2]=b;c[l+12>>2]=l;c[l+8>>2]=l;break}b=c[b>>2]|0;c:do if((c[b+4>>2]&-8|0)!=(i|0)){e=i<<((d|0)==31?0:25-(d>>>1)|0);while(1){d=b+16+(e>>>31<<2)|0;a=c[d>>2]|0;if(!a)break;if((c[a+4>>2]&-8|0)==(i|0)){b=a;break c}else{e=e<<1;b=a}}c[d>>2]=l;c[l+24>>2]=b;c[l+12>>2]=l;c[l+8>>2]=l;break b}while(0);u=b+8|0;v=c[u>>2]|0;c[v+12>>2]=l;c[u>>2]=l;c[l+8>>2]=v;c[l+12>>2]=b;c[l+24>>2]=0}while(0);v=g+8|0;zb=w;return v|0}else m=k}else m=k}else m=-1;while(0);d=c[14505]|0;if(d>>>0>=m>>>0){a=d-m|0;b=c[14508]|0;if(a>>>0>15){v=b+m|0;c[14508]=v;c[14505]=a;c[v+4>>2]=a|1;c[b+d>>2]=a;c[b+4>>2]=m|3}else{c[14505]=0;c[14508]=0;c[b+4>>2]=d|3;v=b+d+4|0;c[v>>2]=c[v>>2]|1}v=b+8|0;zb=w;return v|0}h=c[14506]|0;if(h>>>0>m>>>0){t=h-m|0;c[14506]=t;v=c[14509]|0;u=v+m|0;c[14509]=u;c[u+4>>2]=t|1;c[v+4>>2]=m|3;v=v+8|0;zb=w;return v|0}if(!(c[14621]|0)){c[14623]=4096;c[14622]=4096;c[14624]=-1;c[14625]=-1;c[14626]=0;c[14614]=0;c[14621]=n&-16^1431655768;a=4096}else a=c[14623]|0;i=m+48|0;j=m+47|0;g=a+j|0;e=0-a|0;k=g&e;if(k>>>0<=m>>>0){v=0;zb=w;return v|0}a=c[14613]|0;if(a|0?(l=c[14611]|0,n=l+k|0,n>>>0<=l>>>0|n>>>0>a>>>0):0){v=0;zb=w;return v|0}d:do if(!(c[14614]&4)){d=c[14509]|0;e:do if(d){f=58460;while(1){n=c[f>>2]|0;if(n>>>0<=d>>>0?(n+(c[f+4>>2]|0)|0)>>>0>d>>>0:0)break;a=c[f+8>>2]|0;if(!a){q=128;break e}else f=a}b=g-h&e;if(b>>>0<2147483647){a=SO(b)|0;if((a|0)==((c[f>>2]|0)+(c[f+4>>2]|0)|0)){if((a|0)!=(-1|0)){h=a;g=b;q=145;break d}}else{e=a;q=136}}else b=0}else q=128;while(0);do if((q|0)==128){d=SO(0)|0;if((d|0)!=(-1|0)?(b=d,o=c[14622]|0,p=o+-1|0,b=((p&b|0)==0?0:(p+b&0-o)-b|0)+k|0,o=c[14611]|0,p=b+o|0,b>>>0>m>>>0&b>>>0<2147483647):0){n=c[14613]|0;if(n|0?p>>>0<=o>>>0|p>>>0>n>>>0:0){b=0;break}a=SO(b)|0;if((a|0)==(d|0)){h=d;g=b;q=145;break d}else{e=a;q=136}}else b=0}while(0);do if((q|0)==136){d=0-b|0;if(!(i>>>0>b>>>0&(b>>>0<2147483647&(e|0)!=(-1|0))))if((e|0)==(-1|0)){b=0;break}else{h=e;g=b;q=145;break d}a=c[14623]|0;a=j-b+a&0-a;if(a>>>0>=2147483647){h=e;g=b;q=145;break d}if((SO(a)|0)==(-1|0)){SO(d)|0;b=0;break}else{h=e;g=a+b|0;q=145;break d}}while(0);c[14614]=c[14614]|4;q=143}else{b=0;q=143}while(0);if(((q|0)==143?k>>>0<2147483647:0)?(r=SO(k)|0,p=SO(0)|0,t=p-r|0,s=t>>>0>(m+40|0)>>>0,!((r|0)==(-1|0)|s^1|r>>>0